aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-base
diff options
context:
space:
mode:
authorM.Gergo2019-03-08 21:20:34 +0100
committerM.Gergo2019-03-08 21:20:34 +0100
commitf51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 (patch)
treee13e60e4b94a3b58f1e2bfbe271102c8f04b67bd /mayor-orig/mayor-base
parentc76a004b0135786f2742283f8d5f917106f58bd8 (diff)
downloadmayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.tar.gz
mayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.zip
további rendrakás
Diffstat (limited to 'mayor-orig/mayor-base')
-rw-r--r--mayor-orig/mayor-base/bin/backup.sh192
-rw-r--r--mayor-orig/mayor-base/bin/crypt-backup.sh144
-rw-r--r--mayor-orig/mayor-base/bin/decrypt-backup.sh138
-rw-r--r--mayor-orig/mayor-base/bin/help.sh47
-rw-r--r--mayor-orig/mayor-base/bin/lock.sh46
-rw-r--r--mayor-orig/mayor-base/bin/mayor66
-rw-r--r--mayor-orig/mayor-base/bin/remote-backup.sh170
-rw-r--r--mayor-orig/mayor-base/bin/restore.sh257
-rw-r--r--mayor-orig/mayor-base/bin/unlock.sh52
-rw-r--r--mayor-orig/mayor-base/bin/update.sh227
-rw-r--r--mayor-orig/mayor-base/config/main-config.php.example70
-rw-r--r--mayor-orig/mayor-base/config/main.conf.example75
-rw-r--r--mayor-orig/mayor-base/config/menu/public/menu-hu_HU.php.example16
-rw-r--r--mayor-orig/mayor-base/config/parent-conf.php.example22
-rw-r--r--mayor-orig/mayor-base/config/private-conf.php.example76
-rw-r--r--mayor-orig/mayor-base/config/private-conf.php.ldap-ng.example66
-rw-r--r--mayor-orig/mayor-base/config/public-conf.php.example24
-rw-r--r--mayor-orig/mayor-base/config/skin-blue/config.php.example8
-rw-r--r--mayor-orig/mayor-base/config/skin-classic/config.php.example7
-rw-r--r--mayor-orig/mayor-base/config/skin-sulix/config.php.example6
-rw-r--r--mayor-orig/mayor-base/config/skin-winter/config.php.example6
-rwxr-xr-xmayor-orig/mayor-base/download/galleries/sample/01.jpgbin0 -> 82788 bytes
-rw-r--r--mayor-orig/mayor-base/install/base/apache2/mayor.conf46
-rw-r--r--mayor-orig/mayor-base/install/base/ldap/access-control/mayor.acl97
-rw-r--r--mayor-orig/mayor-base/install/base/ldap/ldif/groups.ldif59
-rw-r--r--mayor-orig/mayor-base/install/base/ldap/ldif/o.ldif9
-rw-r--r--mayor-orig/mayor-base/install/base/ldap/ldif/ou.ldif62
-rw-r--r--mayor-orig/mayor-base/install/base/ldap/ldif/user.ldif23
-rw-r--r--mayor-orig/mayor-base/install/base/ldap/mayor-slapd.conf42
-rw-r--r--mayor-orig/mayor-base/install/base/ldap/schema/mayor.schema101
-rw-r--r--mayor-orig/mayor-base/install/base/ldap/schema/mayor.schema.orig307
-rw-r--r--mayor-orig/mayor-base/install/base/ldap/slapd.inc7
-rw-r--r--mayor-orig/mayor-base/install/base/mysql/mayor-auth.sql54
-rw-r--r--mayor-orig/mayor-base/install/base/mysql/mayor-login.sql199
-rw-r--r--mayor-orig/mayor-base/install/base/mysql/private-users.sql12
-rw-r--r--mayor-orig/mayor-base/install/base/mysql/utf8.cnf5
-rw-r--r--mayor-orig/mayor-base/log/mayor-base.rev1
-rw-r--r--mayor-orig/mayor-base/print/share/huhyphn.tex62784
-rw-r--r--mayor-orig/mayor-base/update/linkme.sh10
-rw-r--r--mayor-orig/mayor-base/update/post002038-1.sh5
-rw-r--r--mayor-orig/mayor-base/update/pre002038-1.sh5
-rw-r--r--mayor-orig/mayor-base/update/pre002989-0.sh13
-rw-r--r--mayor-orig/mayor-base/update/pre003042-1-mayor_login.sql12
-rw-r--r--mayor-orig/mayor-base/update/pre003079-0.sh13
-rw-r--r--mayor-orig/mayor-base/update/pre003396-1-mayor_login.sql41
-rw-r--r--mayor-orig/mayor-base/update/pre003738-1-mayor_login.sql25
-rw-r--r--mayor-orig/mayor-base/update/pre003760-1-mayor_login.sql34
-rw-r--r--mayor-orig/mayor-base/update/pre003763-1-mayor_login.sql36
-rw-r--r--mayor-orig/mayor-base/update/pre003856-1-mayor_login.sql16
-rw-r--r--mayor-orig/mayor-base/update/pre003858-1-mayor_login.sql12
-rw-r--r--mayor-orig/mayor-base/update/pre003860-1-mayor_login.sql12
-rw-r--r--mayor-orig/mayor-base/update/pre003950-1-mayor_login.sql33
-rw-r--r--mayor-orig/mayor-base/update/pre003950-2.sh20
-rw-r--r--mayor-orig/mayor-base/update/pre003958-1-mayor_login.sql3
-rw-r--r--mayor-orig/mayor-base/update/pre004179-1-mayor_login.sql22
-rw-r--r--mayor-orig/mayor-base/update/pre004356-1-mayor_login.sql21
-rw-r--r--mayor-orig/mayor-base/update/pre004388-1-mayor_login.sql12
-rw-r--r--mayor-orig/mayor-base/update/pre004412-1-mayor_login.sql27
-rw-r--r--mayor-orig/mayor-base/update/processUpdateScripts.sh269
-rw-r--r--mayor-orig/mayor-base/update/rev001167-1.sh8
-rw-r--r--mayor-orig/mayor-base/update/rev001174-1.sh167
-rw-r--r--mayor-orig/mayor-base/update/rev001177-1.sh58
-rw-r--r--mayor-orig/mayor-base/update/rev001181-1.sh5
-rw-r--r--mayor-orig/mayor-base/update/rev001341-1-auth.sql4
-rw-r--r--mayor-orig/mayor-base/update/rev001351-1-auth.sql3
-rw-r--r--mayor-orig/mayor-base/update/rev001368-1.sh10
-rw-r--r--mayor-orig/mayor-base/update/rev001387-1-mayor_login.sql1
-rw-r--r--mayor-orig/mayor-base/update/rev001391-1-mayor_login.sql1
-rw-r--r--mayor-orig/mayor-base/update/rev001393-1-mayor_login.sql1
-rw-r--r--mayor-orig/mayor-base/update/rev001582-1.sh66
-rw-r--r--mayor-orig/mayor-base/update/rev001745-1.sh13
-rw-r--r--mayor-orig/mayor-base/update/rev001751-1.sh13
-rw-r--r--mayor-orig/mayor-base/update/rev001986-1-mayor_login.sql4
-rw-r--r--mayor-orig/mayor-base/update/rev002008-1-auth.sql3
-rw-r--r--mayor-orig/mayor-base/update/rev002038-1.sh5
-rw-r--r--mayor-orig/mayor-base/update/rev002400-1-mayor_login.sql19
-rw-r--r--mayor-orig/mayor-base/update/rev002422-1-mayor_login.sql41
-rw-r--r--mayor-orig/mayor-base/wiki/dok.php28
-rw-r--r--mayor-orig/mayor-base/www/LICENSE.txt674
-rw-r--r--mayor-orig/mayor-base/www/include/alert/base.php38
-rw-r--r--mayor-orig/mayor-base/www/include/alert/hu_HU/base.php52
-rw-r--r--mayor-orig/mayor-base/www/include/alert/hu_HU/file.php9
-rw-r--r--mayor-orig/mayor-base/www/include/alert/hu_HU/ldap.php11
-rw-r--r--mayor-orig/mayor-base/www/include/alert/hu_HU/module-auth.php11
-rw-r--r--mayor-orig/mayor-base/www/include/alert/hu_HU/module-password.php18
-rw-r--r--mayor-orig/mayor-base/www/include/alert/hu_HU/module-session.php10
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ads/auth/login.php358
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ads/base/attrs.php160
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ads/password/changePassword.php165
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ads/session/accountInfo.php416
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ads/session/base.php188
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ads/session/createAccount.php157
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ads/session/createGroup.php82
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ads/session/search/searchAccount.php277
-rw-r--r--mayor-orig/mayor-base/www/include/backend/file/auth/login.php121
-rw-r--r--mayor-orig/mayor-base/www/include/backend/file/session/base.php6
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap-ng/auth/login.php163
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap-ng/base/attrs.php146
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap-ng/password/changePassword.php161
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap-ng/session/accountInfo.php401
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap-ng/session/base.php184
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap-ng/session/createAccount.php157
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap-ng/session/createGroup.php82
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap-ng/session/search/searchAccount.php271
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap/auth/login.php144
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap/base/attrs.php120
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap/base/attrs.php.orig175
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap/base/str.php53
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap/password/changePassword.php102
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap/session/accountInfo.php401
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap/session/base.php255
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap/session/createAccount.php204
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap/session/createGroup.php103
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldap/session/search/searchAccount.php311
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldapng/auth/login.php163
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldapng/base/attrs.php137
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldapng/password/changePassword.php160
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldapng/session/accountInfo.php399
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldapng/session/base.php190
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldapng/session/createAccount.php157
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldapng/session/createGroup.php82
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ldapng/session/search/searchAccount.php271
-rw-r--r--mayor-orig/mayor-base/www/include/backend/mysql/auth/login.php144
-rw-r--r--mayor-orig/mayor-base/www/include/backend/mysql/base/attrs.php48
-rw-r--r--mayor-orig/mayor-base/www/include/backend/mysql/password/changePassword.php75
-rw-r--r--mayor-orig/mayor-base/www/include/backend/mysql/session/accountInfo.php258
-rw-r--r--mayor-orig/mayor-base/www/include/backend/mysql/session/base.php52
-rw-r--r--mayor-orig/mayor-base/www/include/backend/mysql/session/createAccount.php106
-rw-r--r--mayor-orig/mayor-base/www/include/backend/mysql/session/createGroup.php37
-rw-r--r--mayor-orig/mayor-base/www/include/backend/mysql/session/search/searchAccount.php169
-rw-r--r--mayor-orig/mayor-base/www/include/base/base.php233
-rw-r--r--mayor-orig/mayor-base/www/include/base/cache.php33
-rw-r--r--mayor-orig/mayor-base/www/include/base/config.php62
-rw-r--r--mayor-orig/mayor-base/www/include/base/error.php44
-rw-r--r--mayor-orig/mayor-base/www/include/base/log.php33
-rw-r--r--mayor-orig/mayor-base/www/include/base/login.php139
-rw-r--r--mayor-orig/mayor-base/www/include/base/mysql.php396
-rw-r--r--mayor-orig/mayor-base/www/include/base/rights.php397
-rw-r--r--mayor-orig/mayor-base/www/include/base/str.php230
-rw-r--r--mayor-orig/mayor-base/www/include/base/var.php134
-rw-r--r--mayor-orig/mayor-base/www/include/menu/base.php107
-rw-r--r--mayor-orig/mayor-base/www/include/menu/parent/hu_HU/base.php44
-rw-r--r--mayor-orig/mayor-base/www/include/menu/private/hu_HU/base.php67
-rw-r--r--mayor-orig/mayor-base/www/include/menu/public/hu_HU/base.php34
-rw-r--r--mayor-orig/mayor-base/www/include/modules/auth/base/forgotten.php53
-rw-r--r--mayor-orig/mayor-base/www/include/modules/auth/base/login.php37
-rw-r--r--mayor-orig/mayor-base/www/include/modules/auth/base/token.php116
-rw-r--r--mayor-orig/mayor-base/www/include/modules/password/base/changePassword.php13
-rw-r--r--mayor-orig/mayor-base/www/include/modules/session/accountInfo.php94
-rw-r--r--mayor-orig/mayor-base/www/include/modules/session/base/base.php19
-rw-r--r--mayor-orig/mayor-base/www/include/modules/session/createAccount.php19
-rw-r--r--mayor-orig/mayor-base/www/include/modules/session/createGroup.php16
-rw-r--r--mayor-orig/mayor-base/www/include/modules/session/download.php108
-rw-r--r--mayor-orig/mayor-base/www/include/modules/session/groupInfo.php38
-rw-r--r--mayor-orig/mayor-base/www/include/modules/session/search/searchAccount.php37
-rw-r--r--mayor-orig/mayor-base/www/include/modules/session/search/searchGroup.php34
-rw-r--r--mayor-orig/mayor-base/www/include/modules/session/sessionAdmin.php24
-rw-r--r--mayor-orig/mayor-base/www/include/share/auth/base.php118
-rw-r--r--mayor-orig/mayor-base/www/include/share/date/names.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Authentication/AccessToken.php160
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Authentication/AccessTokenMetadata.php390
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Authentication/OAuth2Client.php292
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookAuthenticationException.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookAuthorizationException.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookClientException.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookOtherException.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookResponseException.php216
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookResumableUploadException.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookSDKException.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookServerException.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookThrottleException.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Facebook.php635
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/FacebookApp.php110
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/FacebookBatchRequest.php322
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/FacebookBatchResponse.php174
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/FacebookClient.php250
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/FacebookRequest.php534
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/FacebookResponse.php410
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/FileUpload/FacebookFile.php169
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/FileUpload/FacebookResumableUploader.php167
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/FileUpload/FacebookTransferChunk.php133
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/FileUpload/FacebookVideo.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/FileUpload/Mimetypes.php988
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/Birthday.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/Collection.php242
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphAchievement.php112
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphAlbum.php183
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphApplication.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphCoverPhoto.php72
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphEdge.php252
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphEvent.php242
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphGroup.php170
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphList.php36
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphLocation.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphNode.php198
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphNodeFactory.php392
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphObject.php36
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphObjectFactory.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphPage.php157
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphPicture.php72
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphSessionInfo.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphUser.php172
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookCanvasHelper.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookJavaScriptHelper.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookPageTabHelper.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookRedirectLoginHelper.php333
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookSignedRequestFromInputHelper.php166
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Http/GraphRawResponse.php137
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Http/RequestBodyInterface.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Http/RequestBodyMultipart.php170
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Http/RequestBodyUrlEncoded.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookCurl.php129
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookCurlHttpClient.php163
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookGuzzleHttpClient.php97
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookHttpClientInterface.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookStream.php80
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookStreamHttpClient.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/HttpClients/HttpClientsFactory.php99
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/HttpClients/certs/DigiCertHighAssuranceEVRootCA.pem23
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/PersistentData/FacebookMemoryPersistentDataHandler.php53
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/PersistentData/FacebookSessionPersistentDataHandler.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/PersistentData/PersistentDataFactory.php65
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/PersistentData/PersistentDataInterface.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/McryptPseudoRandomStringGenerator.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/OpenSslPseudoRandomStringGenerator.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorFactory.php101
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorInterface.php45
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorTrait.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/RandomBytesPseudoRandomStringGenerator.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/UrandomPseudoRandomStringGenerator.php89
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/SignedRequest.php326
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Url/FacebookUrlDetectionHandler.php182
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Url/FacebookUrlManipulator.php167
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/Url/UrlDetectionInterface.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/autoload.php81
-rw-r--r--mayor-orig/mayor-base/www/include/share/facebook/polyfills.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/gd/imagefilter.php252
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/autoload.php7
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/composer/ClassLoader.php445
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/composer/LICENSE21
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_classmap.php35
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_files.php13
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_namespaces.php11
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_psr4.php19
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_real.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_static.php140
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/composer/installed.json707
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/LICENSE30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/README.md119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/composer.json27
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/composer.lock19
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/package.xml77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/src/BeforeValidException.php7
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/src/ExpiredException.php7
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/src/JWT.php370
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/src/SignatureInvalidException.php7
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/.gitignore4
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/.travis.yml15
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/CONTRIBUTING.md22
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/LICENSE203
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/README.md30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/composer.json19
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/phpunit.xml11
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/AmpUrl.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/AmpUrlError.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/BatchGetAmpUrlsRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/BatchGetAmpUrlsResponse.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/Resource/AmpUrls.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer.php679
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Account.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AccountBidderLocation.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AccountsList.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderDealsRequest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderDealsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderNotesRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderNotesResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/BillingInfo.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/BillingInfoList.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Budget.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Buyer.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/ContactInformation.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreateOrdersRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreateOrdersResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Creative.php281
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeCorrections.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeCorrectionsContexts.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeDealIds.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeDealIdsDealStatuses.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeFilteringReasons.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeFilteringReasonsReasons.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAd.php151
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdAppIcon.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdImage.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdLogo.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictions.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictionsContexts.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictionsDisapprovalReasons.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativesList.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealServingMetadata.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealServingMetadataDealPauseStatus.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTerms.php116
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsGuaranteedFixedPriceTerms.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsGuaranteedFixedPriceTermsBillingInfo.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsNonGuaranteedAuctionTerms.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsNonGuaranteedFixedPriceTerms.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsRubiconNonGuaranteedTerms.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeleteOrderDealsRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeleteOrderDealsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeliveryControl.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeliveryControlFrequencyCap.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Dimension.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DimensionDimensionValue.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/EditAllOrderDealsRequest.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/EditAllOrderDealsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOffersResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrderDealsResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrderNotesResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrdersResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetPublisherProfilesByAccountIdResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceDeal.php244
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceDealParty.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceLabel.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceNote.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PerformanceReport.php220
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PerformanceReportList.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfig.php260
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigDimensions.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigExcludedPlacements.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigList.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigPlacements.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigVideoPlayerSizes.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Price.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PricePerBuyer.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PrivateData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Product.php245
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Proposal.php236
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PublisherProfileApiProto.php231
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PublisherProvidedForecast.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Accounts.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/BillingInfo.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Budget.php81
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Creatives.php127
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplacedeals.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplacenotes.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplaceprivateauction.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/PerformanceReport.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/PretargetingConfig.php118
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Products.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Proposals.php122
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Pubprofiles.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Seller.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/SharedTargeting.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValue.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueCreativeSize.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueDayPartTargeting.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueDayPartTargetingDayPart.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueSize.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/UpdatePrivateAuctionProposalRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII.php441
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AddDealAssociationRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Adexchangebuyer2Empty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AppContext.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AuctionContext.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Client.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ClientUser.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ClientUserInvitation.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Correction.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Creative.php253
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/CreativeDealAssociation.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Date.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Disapproval.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/FilteringStats.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/HtmlContent.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Image.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientUserInvitationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientUsersResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListCreativesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListDealAssociationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/LocationContext.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/NativeContent.php141
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/PlatformContext.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Reason.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/RemoveDealAssociationRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/Accounts.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClients.php101
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsInvitations.php90
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsUsers.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreatives.php151
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreativesDealAssociations.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/SecurityContext.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ServingContext.php80
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ServingRestriction.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/StopWatchingCreativeRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/VideoContent.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/WatchCreativeRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller.php428
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Account.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Accounts.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/AdClient.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/AdClients.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Alert.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Alerts.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannel.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannelTargetingInfo.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannels.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Metadata.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/PreferredDeal.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/PreferredDeals.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Report.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/ReportHeaders.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/ReportingMetadataEntry.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/Accounts.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsAdclients.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsAlerts.php45
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsCustomchannels.php65
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadata.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadataDimensions.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadataMetrics.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsPreferreddeals.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsReports.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsReportsSaved.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsUrlchannels.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReport.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReports.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/UrlChannel.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/UrlChannels.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense.php1060
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Account.php89
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Accounts.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdClient.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdClients.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdCode.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyle.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyleColors.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyleFont.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnit.php115
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettings.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettingsBackupOption.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitFeedAdsSettings.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitMobileContentAdsSettings.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnits.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponse.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponseHeaders.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Alert.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Alerts.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannel.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannelTargetingInfo.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannels.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Metadata.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Payment.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Payments.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/ReportingMetadataEntry.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Accounts.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdclients.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunits.php82
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunitsCustomchannels.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAlerts.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannels.php65
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannelsAdunits.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsPayments.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReports.php64
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReportsSaved.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsSavedadstyles.php62
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsUrlchannels.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Adclients.php46
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Adunits.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AdunitsCustomchannels.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Alerts.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Customchannels.php63
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/CustomchannelsAdunits.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Metadata.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataDimensions.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataMetrics.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Payments.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Reports.php64
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/ReportsSaved.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Savedadstyles.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Urlchannels.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyle.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyles.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedReport.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedReports.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/UrlChannel.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/UrlChannels.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost.php630
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Account.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Accounts.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdClient.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdClients.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdCode.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyle.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyleColors.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyleFont.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnit.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitContentAdsSettings.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitContentAdsSettingsBackupOption.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitMobileContentAdsSettings.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnits.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AssociationSession.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/CustomChannel.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/CustomChannels.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Report.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/ReportHeaders.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Accounts.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsAdclients.php63
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsAdunits.php150
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsReports.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Adclients.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Associationsessions.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Customchannels.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Reports.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Urlchannels.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/UrlChannel.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/UrlChannels.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics.php2103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Account.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountChildLink.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountPermissions.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountRef.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountSummaries.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountSummary.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountTicket.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Accounts.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AdWordsAccount.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AnalyticsDataimportDeleteUploadDataRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Column.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Columns.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSource.php159
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSourceChildLink.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSourceParentLink.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSources.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimension.php130
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimensionParentLink.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimensions.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetric.php161
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetricParentLink.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetrics.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLink.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLinkEntity.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLinks.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLink.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinkEntity.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinkPermissions.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinks.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Experiment.php276
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ExperimentParentLink.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ExperimentVariations.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Experiments.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Filter.php163
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterAdvancedDetails.php138
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterExpression.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterLowercaseDetails.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterParentLink.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterRef.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterSearchAndReplaceDetails.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterUppercaseDetails.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Filters.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaData.php179
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataColumnHeaders.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTable.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableCols.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableRows.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableRowsC.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataProfileInfo.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataQuery.php127
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Goal.php188
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalEventDetails.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalEventDetailsEventConditions.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalParentLink.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalUrlDestinationDetails.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalUrlDestinationDetailsSteps.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalVisitNumPagesDetails.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalVisitTimeOnSiteDetails.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Goals.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/IncludeConditions.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/LinkedForeignAccount.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfData.php161
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataColumnHeaders.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataProfileInfo.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataQuery.php127
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataRows.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataRowsConversionPathValue.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Profile.php258
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileChildLink.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileFilterLink.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileFilterLinks.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileParentLink.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfilePermissions.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileRef.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileSummary.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Profiles.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeData.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataColumnHeaders.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataProfileInfo.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataQuery.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudience.php151
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceAudienceDefinition.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceStateBasedAudienceDefinition.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudiences.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Data.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataGa.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataMcf.php63
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataRealtime.php53
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Management.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccountSummaries.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccountUserLinks.php91
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccounts.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomDataSources.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomDimensions.php126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomMetrics.php124
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementExperiments.php132
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementFilters.php119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementGoals.php120
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfileFilterLinks.php140
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfileUserLinks.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfiles.php135
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementRemarketingAudience.php126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementSegments.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementUnsampledReports.php105
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementUploads.php100
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebPropertyAdWordsLinks.php138
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebproperties.php110
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebpropertyUserLinks.php98
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Metadata.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/MetadataColumns.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Provisioning.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Segment.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Segments.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReport.php198
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReportCloudStorageDownloadDetails.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReportDriveDownloadDetails.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReports.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Upload.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Uploads.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UserRef.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebPropertyRef.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebPropertySummary.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Webproperties.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Webproperty.php177
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyChildLink.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyParentLink.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyPermissions.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Cohort.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/CohortGroup.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ColumnHeader.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DateRange.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DateRangeValues.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Dimension.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DimensionFilter.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DimensionFilterClause.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DynamicSegment.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/GetReportsRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/GetReportsResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Metric.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricFilter.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricFilterClause.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricHeader.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricHeaderEntry.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/OrFiltersForSegment.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/OrderBy.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Pivot.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotHeader.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotHeaderEntry.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotValueRegion.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Report.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportData.php107
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportRequest.php184
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportRow.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Resource/Reports.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Segment.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentDefinition.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentDimensionFilter.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentFilter.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentFilterClause.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentMetricFilter.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentSequenceStep.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SequenceSegment.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SimpleSegment.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise.php1454
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Administrator.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AdministratorWebToken.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AdministratorWebTokenSpec.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchema.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaChangeEvent.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaRestriction.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaRestrictionRestrictionValue.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppUpdateEvent.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppVersion.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ApprovalUrlInfo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AuthenticationToken.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Collection.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/CollectionViewersListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/CollectionsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Device.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/DeviceState.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/DevicesListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Enterprise.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterpriseAccount.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterprisesListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterprisesSendTestPushNotificationResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Entitlement.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EntitlementsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicense.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicenseUsersListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicensesListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Install.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/InstallFailureEvent.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/InstallsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/LocalizedText.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfiguration.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfigurationsForDeviceListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfigurationsForUserListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedProperty.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedPropertyBundle.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NewDeviceEvent.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NewPermissionsEvent.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Notification.php109
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NotificationSet.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/PageInfo.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Permission.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Product.php131
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductApprovalEvent.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductAvailabilityChangeEvent.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductPermission.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductPermissions.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductSet.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsApproveRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsGenerateApprovalUrlResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsListResponse.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Collections.php114
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Collectionviewers.php115
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Devices.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Enterprises.php317
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Entitlements.php119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Grouplicenses.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Grouplicenseusers.php44
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Installs.php119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Managedconfigurationsfordevice.php119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Managedconfigurationsforuser.php114
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Permissions.php45
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Products.php175
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Serviceaccountkeys.php82
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Storelayoutclusters.php120
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Storelayoutpages.php114
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Users.php215
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccount.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccountKey.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccountKeysListResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/SignupInfo.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreCluster.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayout.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayoutClustersListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayoutPagesListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StorePage.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/TokenPagination.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/User.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/UserToken.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/UsersListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher.php1347
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Apk.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkBinary.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkListing.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkListingsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksAddExternallyHostedRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksAddExternallyHostedResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/AppDetails.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/AppEdit.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Comment.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeobfuscationFile.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeobfuscationFilesUploadResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeveloperComment.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeviceMetadata.php120
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Entitlement.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/EntitlementsListResponse.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExpansionFile.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExpansionFilesUploadResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExternallyHostedApk.php158
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExternallyHostedApkUsesPermission.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Image.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesDeleteAllResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesListResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesUploadResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InAppProduct.php124
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InAppProductListing.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchRequestEntry.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchResponseEntry.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsInsertRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsInsertResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsListResponse.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsUpdateRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsUpdateResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Listing.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ListingsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/MonthDay.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/PageInfo.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Price.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ProductPurchase.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Prorate.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Edits.php107
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsApklistings.php148
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsApks.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsDeobfuscationfiles.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsDetails.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsExpansionfiles.php108
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsImages.php108
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsListings.php132
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsTesters.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsTracks.php99
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Entitlements.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Inappproducts.php151
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Purchases.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesProducts.php46
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesSubscriptions.php123
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesVoidedpurchases.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Reviews.php81
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Review.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewReplyResult.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsListResponse.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsReplyRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsReplyResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Season.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionDeferralInfo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchase.php120
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchasesDeferRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchasesDeferResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Testers.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Timestamp.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/TokenPagination.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Track.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/TracksListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/UserComment.php131
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/VoidedPurchase.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/VoidedPurchasesListResponse.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState.php120
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/GetResponse.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/ListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/Resource/States.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/UpdateRequest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/WriteResult.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine.php520
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ApiConfigHandler.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ApiEndpointHandler.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Application.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/AutomaticScaling.php133
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/BasicScaling.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ContainerInfo.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/CpuUtilization.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/DebugInstanceRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Deployment.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/DiskUtilization.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/EndpointsApiService.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ErrorHandler.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/FileInfo.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/HealthCheck.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Instance.php165
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Library.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListInstancesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListLocationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListOperationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListServicesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListVersionsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Location.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/LocationMetadata.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ManualScaling.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Network.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/NetworkUtilization.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Operation.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadata.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataExperimental.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataV1.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataV1Beta5.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/RepairApplicationRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/RequestUtilization.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/Apps.php101
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsLocations.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsOperations.php65
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServices.php109
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServicesVersions.php138
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServicesVersionsInstances.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/Experimental.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/ExperimentalApps.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/ExperimentalAppsOperations.php65
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resources.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ScriptHandler.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Service.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/SourceReference.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/StaticFilesHandler.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/TrafficSplit.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/UrlDispatchRule.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/UrlMap.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Version.php295
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Volume.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ZipInfo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity.php108
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Activity.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/AppsactivityParent.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Event.php108
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/ListActivitiesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Move.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Permission.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/PermissionChange.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Photo.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Rename.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Resource/Activities.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Target.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/User.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler.php299
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Autoscaler.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalerListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicy.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyCpuUtilization.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyCustomMetricUtilization.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyLoadBalancingUtilization.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/DeprecationStatus.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Operation.php231
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationError.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationErrorErrors.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationWarnings.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationWarningsData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/Autoscalers.php124
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/ZoneOperations.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/Zones.php45
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Zone.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/ZoneList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery.php520
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableColumn.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableColumnFamily.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableOptions.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/CsvOptions.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Dataset.php141
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetAccess.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetListDatasets.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetReference.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ErrorProto.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExplainQueryStage.php149
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExplainQueryStep.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExternalDataConfiguration.php116
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/GetQueryResultsResponse.php134
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/GoogleSheetsOptions.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Job.php109
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobCancelResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfiguration.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationExtract.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationLoad.php204
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationQuery.php189
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationTableCopy.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobListJobs.php110
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobReference.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics2.php116
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics3.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics4.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatus.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectListProjects.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectReference.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameter.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterType.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterTypeStructTypes.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterValue.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryRequest.php123
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryResponse.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Datasets.php134
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Jobs.php140
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Projects.php45
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Tabledata.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Tables.php131
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Streamingbuffer.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Table.php216
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableCell.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllRequest.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllRequestRows.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllResponseInsertErrors.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableFieldSchema.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableListTables.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableListTablesView.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableReference.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableRow.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableSchema.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TimePartitioning.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/UserDefinedFunctionResource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ViewDefinition.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger.php930
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Blog.php141
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogList.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogLocale.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPages.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPerUserInfo.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPosts.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogUserInfo.php53
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Comment.php124
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentAuthor.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentAuthorImage.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentBlog.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentInReplyTo.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentPost.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Page.php131
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageAuthor.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageAuthorImage.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageBlog.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Pageviews.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageviewsCounts.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Post.php198
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostAuthor.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostAuthorImage.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostBlog.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostImages.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostLocation.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostPerUserInfo.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostReplies.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostUserInfo.php53
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostUserInfosList.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/BlogUserInfos.php46
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Blogs.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Comments.php159
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/PageViews.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Pages.php163
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/PostUserInfos.php83
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Posts.php241
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Users.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/User.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/UserBlogs.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/UserLocale.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books.php1508
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotation.php178
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationClientVersionRanges.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationCurrentVersionRanges.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationLayerSummary.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotationdata.php105
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotations.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationsSummary.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationsSummaryLayers.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotationsdata.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksAnnotationsRange.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksCloudloadingResource.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksVolumesRecommendedRateResponse.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Bookshelf.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Bookshelves.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Category.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/CategoryItems.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ConcurrentAccessRestriction.php120
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Dictlayerdata.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataCommon.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDict.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictSource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWords.php62
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsDerivatives.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsDerivativesSource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsExamples.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsExamplesSource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSenses.php98
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesConjugations.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitions.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitionsExamples.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitionsExamplesSource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSynonyms.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSynonymsSource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Discoveryclusters.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DiscoveryclustersClusters.php81
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DiscoveryclustersClustersBannerWithContentContainer.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DownloadAccessRestriction.php129
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DownloadAccesses.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Geolayerdata.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataCommon.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeo.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoBoundary.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewport.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewportHi.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewportLo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Layersummaries.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Layersummary.php139
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Metadata.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/MetadataItems.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Notification.php156
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Offers.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/OffersItems.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/OffersItemsItems.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReadingPosition.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/RequestAccess.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Bookshelves.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/BookshelvesVolumes.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Cloudloading.php73
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Dictionary.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Layers.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/LayersAnnotationData.php90
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/LayersVolumeAnnotations.php83
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Myconfig.php126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Mylibrary.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryAnnotations.php119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryBookshelves.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryBookshelvesVolumes.php53
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryReadingpositions.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Notification.php45
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Onboarding.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Personalizedstream.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Promooffer.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Series.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/SeriesMembership.php46
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Volumes.php83
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesAssociated.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesMybooks.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesRecommended.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesUseruploaded.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Review.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReviewAuthor.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReviewSource.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Series.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/SeriesSeries.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Seriesmembership.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Usersettings.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotesExport.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotification.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotificationMoreFromAuthors.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotificationMoreFromSeries.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volume.php127
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volume2.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfo.php150
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfoEpub.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfoPdf.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeLayerInfo.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeLayerInfoLayers.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeRecommendedInfo.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfo.php97
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoListPrice.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffers.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersListPrice.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersRentalDuration.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersRetailPrice.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoRetailPrice.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSearchInfo.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfo.php198
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoCopy.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoFamilySharing.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoRentalPeriod.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoUserUploadedVolumeInfo.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfo.php270
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoDimensions.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoImageLinks.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoIndustryIdentifiers.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoPanelizationSummary.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeannotation.php149
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeannotationContentRanges.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeannotations.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumes.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeseriesinfo.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeseriesinfoVolumeSeries.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeseriesinfoVolumeSeriesIssue.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar.php888
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Acl.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/AclRule.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/AclRuleScope.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Calendar.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarListEntry.php186
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarListEntryNotificationSettings.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarNotification.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Channel.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/ColorDefinition.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Colors.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Error.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Event.php366
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventAttachment.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventAttendee.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventCreator.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventDateTime.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventExtendedProperties.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventGadget.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventOrganizer.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventReminder.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventReminders.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventSource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Events.php123
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyCalendar.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyGroup.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyRequest.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyRequestItem.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyResponse.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Acl.php177
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/CalendarList.php191
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Calendars.php119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Channels.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Colors.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Events.php440
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Freebusy.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Settings.php92
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Setting.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Settings.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/TimePeriod.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo.php166
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/AdministrationRegion.php73
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/AdministrativeBody.php154
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Candidate.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Channel.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Contest.php241
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ContextParams.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionRepresentativeInfoRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchResult.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Election.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionOfficial.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionsQueryRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionsQueryResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectoralDistrict.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/GeographicDivision.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Office.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Official.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/PollingLocation.php105
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/PostalAddress.php301
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoData.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoResponse.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Divisions.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Elections.php64
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Representatives.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/SimpleAddressType.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Source.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoResponse.php129
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoSegmentResult.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom.php869
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Assignment.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/AssignmentSubmission.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Attachment.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ClassroomEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Course.php177
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseAlias.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseMaterial.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseMaterialSet.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseWork.php180
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Date.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/DriveFile.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/DriveFolder.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Form.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/GlobalPermission.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Guardian.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/GuardianInvitation.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Invitation.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Link.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCourseAliasesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCourseWorkResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCoursesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListGuardianInvitationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListGuardiansResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListInvitationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListStudentSubmissionsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListStudentsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListTeachersResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Material.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ModifyAttachmentsRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/MultipleChoiceQuestion.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/MultipleChoiceSubmission.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Name.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ReclaimStudentSubmissionRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/Courses.php163
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesAliases.php91
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesCourseWork.php170
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesCourseWorkStudentSubmissions.php240
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesStudents.php123
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesTeachers.php119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/Invitations.php131
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfiles.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfilesGuardianInvitations.php166
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfilesGuardians.php124
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ReturnStudentSubmissionRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/SharedDriveFile.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ShortAnswerSubmission.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Student.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/StudentSubmission.php168
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Teacher.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/TimeOfDay.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/TurnInStudentSubmissionRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/UserProfile.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/YouTubeVideo.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild.php254
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Build.php189
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildOperationMetadata.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildOptions.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildStep.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildTrigger.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuiltImage.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CancelBuildRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CancelOperationRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CloudbuildEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/FileHashes.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Hash.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListBuildTriggersResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListBuildsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListOperationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Operation.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/RepoSource.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/Operations.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/Projects.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/ProjectsBuilds.php99
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/ProjectsTriggers.php109
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Results.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Source.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/SourceProvenance.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/StorageSource.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger.php240
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/AliasContext.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Breakpoint.php171
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudRepoSourceContext.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudWorkspaceId.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudWorkspaceSourceContext.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ClouddebuggerEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Debuggee.php124
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ExtendedSourceContext.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/FormatMessage.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GerritSourceContext.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GetBreakpointResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GitSourceContext.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListActiveBreakpointsResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListBreakpointsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListDebuggeesResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ProjectRepoId.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RegisterDebuggeeRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RegisterDebuggeeResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RepoId.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/Controller.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/ControllerDebuggees.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/ControllerDebuggeesBreakpoints.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/Debugger.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/DebuggerDebuggees.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/DebuggerDebuggeesBreakpoints.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SetBreakpointResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SourceContext.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SourceLocation.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/StackFrame.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/StatusMessage.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/UpdateActiveBreakpointRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/UpdateActiveBreakpointResponse.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Variable.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions.php207
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CallFunctionRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CallFunctionResponse.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CloudFunction.php132
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/EventTrigger.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/HTTPSTrigger.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListFunctionsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListLocationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListOperationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Location.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Operation.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/OperationMetadataV1Beta2.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/Operations.php65
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/Projects.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/ProjectsLocations.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/ProjectsLocationsFunctions.php126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/SourceRepository.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS.php389
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/AuditConfig.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/AuditLogConfig.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Binding.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CloudAuditOptions.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Condition.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CounterOptions.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CryptoKey.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CryptoKeyVersion.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DataAccessOptions.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DecryptRequest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DecryptResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DestroyCryptoKeyVersionRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/EncryptRequest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/EncryptResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/KeyRing.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListCryptoKeyVersionsResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListCryptoKeysResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListKeyRingsResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListLocationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Location.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/LogConfig.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Policy.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/Projects.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocations.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRings.php135
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRingsCryptoKeys.php204
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions.php143
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/RestoreCryptoKeyVersionRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Rule.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/SetIamPolicyRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/TestIamPermissionsRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/TestIamPermissionsResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/UpdateCryptoKeyPrimaryVersionRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning.php337
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleApiHttpBody.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1CancelJobRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1GetConfigResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterOutput.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterSpec.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Job.php115
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListJobsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListModelsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListVersionsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Model.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1OperationMetadata.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ParameterSpec.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictionInput.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictionOutput.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1SetDefaultVersionRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1TrainingInput.php122
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1TrainingOutput.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Version.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleLongrunningListOperationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleLongrunningOperation.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleProtobufEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleRpcStatus.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/Projects.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsJobs.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsModels.php114
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsModelsVersions.php152
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsOperations.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine.php338
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleApiHttpBody.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1CancelJobRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1GetConfigResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterOutput.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterOutputHyperparameterMetric.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterSpec.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Job.php115
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListJobsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListModelsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListVersionsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ManualScaling.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Model.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1OperationMetadata.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ParameterSpec.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictionInput.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictionOutput.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1SetDefaultVersionRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1TrainingInput.php140
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1TrainingOutput.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Version.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1ManualScaling.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1OperationMetadata.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1Version.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleLongrunningListOperationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleLongrunningOperation.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleProtobufEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleRpcStatus.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/Projects.php64
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsJobs.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsModels.php114
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsModelsVersions.php152
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsOperations.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring.php243
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/DeleteMetricDescriptorResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListMetricDescriptorsRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListMetricDescriptorsResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesDescriptorsRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesDescriptorsResponse.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesResponse.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptor.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptorLabelDescriptor.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptorTypeDescriptor.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Point.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistribution.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionBucket.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionOverflowBucket.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionUnderflowBucket.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/MetricDescriptors.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/Timeseries.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/TimeseriesDescriptors.php83
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Timeseries.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesDescriptor.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesDescriptorLabel.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesPoint.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/WriteTimeseriesRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/WriteTimeseriesResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage.php81
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeEntitiesRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeEntitiesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSentimentRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSentimentResponse.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSyntaxRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSyntaxResponse.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnnotateTextRequest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnnotateTextResponse.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/DependencyEdge.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Document.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Entity.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/EntityMention.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Features.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/PartOfSpeech.php129
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Resource/Documents.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Sentence.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Sentiment.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/TextSpan.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Token.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeEntitiesRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeEntitiesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeSentimentRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeSentimentResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnnotateTextRequest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnnotateTextResponse.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/DependencyEdge.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Document.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Entity.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/EntityMention.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Features.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/PartOfSpeech.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Resource/Documents.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Sentence.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Sentiment.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/TextSpan.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Token.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager.php286
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Ancestor.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/AuditConfig.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/AuditLogConfig.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Binding.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/CloudresourcemanagerEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/FolderOperation.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/FolderOperationError.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetAncestryRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetAncestryResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetIamPolicyRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Lien.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ListLiensResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ListProjectsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Operation.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Organization.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/OrganizationOwner.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Policy.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Project.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ProjectCreationStatus.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Liens.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Operations.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Organizations.php114
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Projects.php286
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ResourceId.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SearchOrganizationsRequest.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SearchOrganizationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SetIamPolicyRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/TestIamPermissionsRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/TestIamPermissionsResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/UndeleteProjectRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig.php109
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/CancelOperationRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Cardinality.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/EndCondition.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListConfigsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListOperationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListVariablesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListWaitersResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Operation.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/Operations.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/Projects.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigs.php123
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsOperations.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsVariables.php170
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsWaiters.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/RuntimeConfig.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/RuntimeconfigEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Variable.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Waiter.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/WatchVariableRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories.php134
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/AuditConfig.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/AuditLogConfig.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Binding.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/CloudAuditOptions.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Condition.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/CounterOptions.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/DataAccessOptions.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/ListReposResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/LogConfig.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/MirrorConfig.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Policy.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Repo.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Resource/Projects.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Resource/ProjectsRepos.php139
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Rule.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/SetIamPolicyRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/SourcerepoEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/TestIamPermissionsRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/TestIamPermissionsResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI.php133
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/AsyncRecognizeRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/CancelOperationRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/ListOperationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Operation.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/RecognitionAudio.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/RecognitionConfig.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Resource/Operations.php100
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Resource/Speech.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechContext.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechRecognitionAlternative.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechRecognitionResult.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SyncRecognizeRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SyncRecognizeResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace.php146
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/CloudtraceEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/ListTracesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Resource/Projects.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Resource/ProjectsTraces.php83
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Trace.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/TraceSpan.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Traces.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts.php514
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/AuditConfig.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/AuthorizedKeysView.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Binding.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Condition.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Group.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupsAddMemberRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupsRemoveMemberRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxAccountViews.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGetAuthorizedKeysViewResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGetLinuxAccountViewsResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGroupView.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxUserView.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LogConfig.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LogConfigCounterOptions.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Operation.php231
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationError.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationErrorErrors.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationWarnings.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationWarningsData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Policy.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/PublicKey.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/GlobalAccountsOperations.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Groups.php206
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Linux.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Users.php209
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Rule.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/TestPermissionsRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/TestPermissionsResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/User.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/UserList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling.php147
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/BillingAccount.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ListBillingAccountsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ListProjectBillingInfoResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ProjectBillingInfo.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/BillingAccounts.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/BillingAccountsProjects.php53
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/Projects.php89
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting.php231
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/DeleteEventsResponse.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorContext.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorEvent.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorGroup.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorGroupStats.php107
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/HttpRequestContext.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ListEventsResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ListGroupStatsResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ReportErrorEventResponse.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ReportedErrorEvent.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/Projects.php44
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsEvents.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsGroupStats.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsGroups.php62
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ServiceContext.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/SourceLocation.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/TimedCount.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/TrackingIssue.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/AggregatedStats.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/AggregatedStatsReply.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/DoubleValue.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/IntValue.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/Stats.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StatsReply.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StatscollectionResource.php54
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StringValue.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute.php5692
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AccessConfig.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Address.php112
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AttachedDisk.php132
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AttachedDiskInitializeParams.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Autoscaler.php112
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalerAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalerList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicy.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyCpuUtilization.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyCustomMetricUtilization.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyLoadBalancingUtilization.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Backend.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendBucket.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendBucketList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendService.php195
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceGroupHealth.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CacheInvalidationRule.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ConnectionDraining.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CustomerEncryptionKey.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CustomerEncryptionKeyProtectedDisk.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DeprecationStatus.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Disk.php223
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskMoveRequest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskType.php112
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypeAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypeList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksResizeRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Firewall.php122
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/FirewallAllowed.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/FirewallList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRule.php170
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRuleAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRuleList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/GuestOsFeature.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HTTP2HealthCheck.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheck.php160
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheckList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheckReference.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthStatus.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HostRule.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpHealthCheck.php138
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpHealthCheckList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpsHealthCheck.php138
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpsHealthCheckList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Image.php198
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ImageList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ImageRawDisk.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Instance.php190
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroup.php140
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManager.php168
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerActionsSummary.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersAbandonInstancesRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersDeleteInstancesRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersListManagedInstancesResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersRecreateInstancesRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersSetInstanceTemplateRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersSetTargetPoolsRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsAddInstancesRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsListInstances.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsListInstancesRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsRemoveInstancesRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsSetNamedPortsRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceMoveRequest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceProperties.php109
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceReference.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceTemplate.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceTemplateList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceWithNamedPorts.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesSetMachineTypeRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesSetServiceAccountRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesStartWithEncryptionKeyRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/License.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineType.php159
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeScratchDisks.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstance.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttempt.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttemptErrors.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttemptErrorsErrors.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Metadata.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MetadataItems.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NamedPort.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Network.php115
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NetworkInterface.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NetworkList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Operation.php231
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationError.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationErrorErrors.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationWarnings.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationWarningsData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/PathMatcher.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/PathRule.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Project.php124
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Quota.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Region.php114
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionAutoscalerList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagerList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersAbandonInstancesRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersDeleteInstancesRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersListInstancesResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersRecreateRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersSetTargetPoolsRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersSetTemplateRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsListInstances.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsListInstancesRequest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsSetNamedPortsRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Addresses.php188
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Autoscalers.php224
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/BackendBuckets.php161
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/BackendServices.php241
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/DiskTypes.php158
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Disks.php231
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Firewalls.php160
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/ForwardingRules.php207
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalAddresses.php128
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalForwardingRules.php146
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalOperations.php170
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HealthChecks.php162
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HttpHealthChecks.php166
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HttpsHealthChecks.php166
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Images.php166
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceGroupManagers.php369
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceGroups.php309
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceTemplates.php136
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Instances.php455
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Licenses.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/MachineTypes.php158
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Networks.php144
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Projects.php101
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionAutoscalers.php167
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionBackendServices.php194
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionInstanceGroupManagers.php294
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionInstanceGroups.php182
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionOperations.php117
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Regions.php100
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Routers.php256
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Routes.php129
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Snapshots.php119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/SslCertificates.php129
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Subnetworks.php206
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetHttpProxies.php147
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetHttpsProxies.php164
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetInstances.php190
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetPools.php293
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetSslProxies.php180
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetVpnGateways.php190
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/UrlMaps.php194
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/VpnTunnels.php189
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/ZoneOperations.php117
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Zones.php100
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ResourceGroupReference.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Route.php167
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteWarnings.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteWarningsData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Router.php124
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterBgp.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterBgpPeer.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterInterface.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatus.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatusBgpPeerStatus.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatusResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersPreviewResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SSLHealthCheck.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Scheduling.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SerialPortOutput.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ServiceAccount.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Snapshot.php159
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SnapshotList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SslCertificate.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SslCertificateList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Subnetwork.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworkAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworkList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksExpandIpCidrRangeRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TCPHealthCheck.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Tags.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpProxy.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpProxyList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxiesSetSslCertificatesRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxy.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxyList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstance.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstanceAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstanceList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPool.php130
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolInstanceHealth.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsAddHealthCheckRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsAddInstanceRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsRemoveHealthCheckRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsRemoveInstanceRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetReference.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetBackendServiceRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetProxyHeaderRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetSslCertificatesRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxy.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxyList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGateway.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewayAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewayList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TestFailure.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMap.php124
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapReference.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapTest.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapValidationResult.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapsValidateRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapsValidateResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UsageExportLocation.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnel.php175
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelAggregatedList.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedList.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedListWarning.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedListWarningData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Zone.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ZoneList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys.php210
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/FieldMask.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/MobileAppPanel.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/MobileAppPanelsListResponse.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/PageInfo.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Mobileapppanels.php74
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Results.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Surveys.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/ResultsGetRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/ResultsMask.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Survey.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyAudience.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyCost.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyQuestion.php185
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyQuestionImage.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyRejection.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyResults.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysDeleteResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysListResponse.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStartRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStartResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStopResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/TokenPagination.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container.php397
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/AddonsConfig.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/AutoUpgradeOptions.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CancelOperationRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Cluster.php278
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ClusterUpdate.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ContainerEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CreateClusterRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CreateNodePoolRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/HorizontalPodAutoscaling.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/HttpLoadBalancing.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListClustersResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListNodePoolsResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListOperationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/MasterAuth.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodeConfig.php112
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodeManagement.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodePool.php115
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodePoolAutoscaling.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Operation.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/Projects.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZones.php45
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesClusters.php126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesClustersNodePools.php139
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesOperations.php81
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/RollbackNodePoolUpgradeRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ServerConfig.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/SetNodePoolManagementRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/UpdateClusterRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate.php467
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomField.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFieldDef.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFieldDefListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFields.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/EnumItemDef.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Job.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobChange.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobState.php105
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Location.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/LocationListResponse.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/LocationRecord.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/CustomFieldDef.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Jobs.php159
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Location.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Schedule.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Team.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Worker.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Schedule.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Team.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/TeamListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/TokenPagination.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Worker.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/WorkerListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch.php195
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Context.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ContextFacets.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Promotion.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/PromotionBodyLines.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/PromotionImage.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Query.php354
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Resource/Cse.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Result.php159
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ResultImage.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ResultLabels.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Search.php101
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchSearchInformation.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchSpelling.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchUrl.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer.php147
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Application.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationDataTransfer.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationTransferParam.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationsListResponse.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfer.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfersListResponse.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Applications.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Transfers.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow.php628
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateProgress.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateReportedProgress.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateSplitRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/AutoscalingSettings.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CPUTime.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComponentSource.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComponentTransform.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComputationTopology.php89
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ConcatPosition.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterMetadata.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterStructuredName.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterStructuredNameAndMetadata.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterUpdate.php156
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CreateJobFromTemplateRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CustomSourceLocation.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DataDiskAssignment.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DerivedSource.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Disk.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DisplayData.php129
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DistributionUpdate.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DynamicSourceSplit.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Environment.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ExecutionStageSummary.php89
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FailedLocation.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FlattenInstruction.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FloatingPointList.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FloatingPointMean.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetDebugConfigRequest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetDebugConfigResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetTemplateResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/InstructionInput.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/InstructionOutput.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/IntegerList.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/IntegerMean.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Job.php197
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobExecutionInfo.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobExecutionStageInfo.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobMessage.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobMetrics.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/KeyRangeDataDiskAssignment.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/KeyRangeLocation.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LaunchTemplateParameters.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LaunchTemplateResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LeaseWorkItemRequest.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LeaseWorkItemResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ListJobMessagesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ListJobsResponse.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MapTask.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricShortId.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricStructuredName.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricUpdate.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MountedDataDisk.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MultiOutputInfo.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/NameAndKind.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Package.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParDoInstruction.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParallelInstruction.php109
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParameterMetadata.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PartialGroupByKeyInstruction.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PipelineDescription.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Position.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PubsubLocation.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReadInstruction.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportWorkItemStatusRequest.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportWorkItemStatusResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportedParallelism.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/Projects.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobs.php127
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsDebug.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsMessages.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsWorkItems.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocations.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobs.php126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsMessages.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsWorkItems.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsTemplates.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ResourceUtilizationReport.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ResourceUtilizationReportResponse.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/RuntimeEnvironment.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendDebugCaptureRequest.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendDebugCaptureResponse.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendWorkerMessagesRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendWorkerMessagesResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SeqMapTask.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SeqMapTaskOutputInfo.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ShellTask.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SideInputInfo.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Sink.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Source.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceFork.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceGetMetadataRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceGetMetadataResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceMetadata.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceOperationRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceOperationResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitOptions.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitResponse.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitShard.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SplitInt64.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StageSource.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StateFamilyConfig.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Step.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamLocation.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationConfig.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationRanges.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationTask.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingConfigTask.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingSetupTask.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingSideInputLocation.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingStageLocation.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StringList.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TaskRunnerSettings.php194
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TemplateMetadata.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TopologyConfig.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TransformSummary.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItem.php165
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItemServiceState.php98
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItemStatus.php148
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerHealthReport.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerHealthReportResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessage.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessageCode.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessageResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerPool.php215
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerSettings.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WriteInstruction.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc.php397
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/AcceleratorConfig.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/CancelJobRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Cluster.php98
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterConfig.php91
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterMetrics.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterOperationMetadata.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterOperationStatus.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterStatus.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DataprocEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterOutputLocation.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterResults.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiskConfig.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/GceClusterConfig.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/HadoopJob.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/HiveJob.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/InstanceGroupConfig.php97
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Job.php169
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobPlacement.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobReference.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobScheduling.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobStatus.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListClustersResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListJobsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListOperationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/LoggingConfig.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ManagedGroupConfig.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/NodeInitializationAction.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Operation.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/OperationMetadata.php141
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/OperationStatus.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/PigJob.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/PySparkJob.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/QueryList.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/Projects.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegions.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsClusters.php162
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsJobs.php156
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsOperations.php101
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SoftwareConfig.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SparkJob.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SparkSqlJob.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SubmitJobRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/YarnApplication.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore.php127
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/AllocateIdsRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/AllocateIdsResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/ArrayValue.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/BeginTransactionRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/BeginTransactionResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CommitRequest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CommitResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CompositeFilter.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Entity.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/EntityResult.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Filter.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/GqlQuery.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/GqlQueryParameter.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Key.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/KindExpression.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LatLng.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LookupRequest.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LookupResponse.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Mutation.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/MutationResult.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PartitionId.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PathElement.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Projection.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyFilter.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyOrder.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyReference.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Query.php108
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/QueryResultBatch.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/ReadOptions.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Resource/Projects.php120
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RollbackRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RollbackResponse.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RunQueryRequest.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RunQueryResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Value.php142
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager.php488
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/AuditConfig.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/AuditLogConfig.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Binding.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Condition.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ConfigFile.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Deployment.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentLabelEntry.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentUpdate.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentUpdateLabelEntry.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResource.php133
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResourceWarnings.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResourceWarningsData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsCancelPreviewRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsStopRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ImportFile.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/LogConfig.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/LogConfigCounterOptions.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Manifest.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ManifestsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Operation.php231
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationError.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationErrorErrors.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationWarnings.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationWarningsData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Policy.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Deployments.php279
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Manifests.php100
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Operations.php98
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Resources.php100
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Types.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceAccessControl.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdate.php97
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateError.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateErrorErrors.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateWarnings.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateWarningsData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourcesListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Rule.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TargetConfiguration.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TestPermissionsRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TestPermissionsResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Type.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TypesListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting.php4816
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Account.php194
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountActiveAdSummary.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermission.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionGroup.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionGroupsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountUserProfile.php169
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountUserProfilesListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Activities.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Ad.php393
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdSlot.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Advertiser.php158
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertiserGroup.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertiserGroupsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertisersListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AudienceSegment.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AudienceSegmentGroup.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Browser.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/BrowsersListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Campaign.php276
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignCreativeAssociation.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignCreativeAssociationsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ChangeLog.php147
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ChangeLogsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CitiesListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/City.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickTag.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickThroughUrl.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickThroughUrlSuffixProperties.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompanionClickThroughOverride.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompanionSetting.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompatibleFields.php80
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConnectionType.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConnectionTypesListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ContentCategoriesListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ContentCategory.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Conversion.php140
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionError.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionStatus.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionsBatchInsertRequest.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionsBatchInsertResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CountriesListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Country.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Creative.php599
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAsset.php426
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetId.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetMetadata.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetSelection.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssignment.php144
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeCustomEvent.php112
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeField.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldAssignment.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldValue.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldValuesListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroup.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroupAssignment.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroupsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeOptimizationConfiguration.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeRotation.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeSettings.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativesListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CrossDimensionReachReportCompatibleFields.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CustomFloodlightVariable.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CustomRichMediaEvents.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DateRange.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DayPartTargeting.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DefaultClickThroughEventTagProperties.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DeliverySchedule.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfareportingFile.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfareportingFileUrls.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfpSettings.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Dimension.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionFilter.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValue.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValueList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValueRequest.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySite.php151
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContact.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContactAssignment.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContactsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteSettings.php89
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySitesListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DynamicTargetingKey.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DynamicTargetingKeysListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EncryptionInfo.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTag.php186
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTagOverride.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTagsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FileList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Flight.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivitiesGenerateTagResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivitiesListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivity.php279
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityDynamicTag.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityGroup.php132
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityGroupsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityPublisherDynamicTag.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightConfiguration.php191
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightConfigurationsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightReportCompatibleFields.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FrequencyCap.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FsCommand.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/GeoTargeting.php81
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/InventoryItem.php205
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/InventoryItemsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/KeyValueTargetingExpression.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LandingPage.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LandingPagesListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Language.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LanguageTargeting.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LanguagesListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LastModifiedInfo.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationClause.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationRule.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationTerm.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListTargetingExpression.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LookbackConfiguration.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Metric.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Metro.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MetrosListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MobileCarrier.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MobileCarriersListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ObjectFilter.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OffsetPosition.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OmnitureSettings.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystem.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemVersion.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemVersionsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OptimizationActivity.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Order.php204
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderContact.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderDocument.php176
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderDocumentsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrdersListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PathToConversionReportCompatibleFields.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Placement.php387
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementAssignment.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementGroup.php265
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementGroupsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementStrategiesListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementStrategy.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementTag.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementsGenerateTagsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlatformType.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlatformTypesListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PopupWindowProperties.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PostalCode.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PostalCodesListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Pricing.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PricingSchedule.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PricingSchedulePricingPeriod.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Project.php220
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ProjectsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReachReportCompatibleFields.php81
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Recipient.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Region.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RegionsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingList.php140
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingListShare.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingListsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Report.php190
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCompatibleFields.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCriteria.php81
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCrossDimensionReachCriteria.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportDelivery.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportFloodlightCriteria.php91
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportFloodlightCriteriaReportProperties.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportPathToConversionCriteria.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportPathToConversionCriteriaReportProperties.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportReachCriteria.php99
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportSchedule.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportsConfiguration.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountActiveAdSummaries.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountPermissionGroups.php56
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountPermissions.php56
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountUserProfiles.php119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Accounts.php101
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Ads.php143
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AdvertiserGroups.php127
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Advertisers.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Browsers.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CampaignCreativeAssociations.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Campaigns.php131
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ChangeLogs.php81
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Cities.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ConnectionTypes.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ContentCategories.php127
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Conversions.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Countries.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeAssets.php44
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeFieldValues.php134
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeFields.php130
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeGroups.php119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Creatives.php130
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DimensionValues.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DirectorySiteContacts.php73
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DirectorySites.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DynamicTargetingKeys.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/EventTags.php146
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Files.php63
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightActivities.php162
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightActivityGroups.php128
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightConfigurations.php90
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/InventoryItems.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/LandingPages.php119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Languages.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Metros.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/MobileCarriers.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OperatingSystemVersions.php56
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OperatingSystems.php56
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OrderDocuments.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Orders.php73
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlacementGroups.php148
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlacementStrategies.php128
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Placements.php172
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlatformTypes.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PostalCodes.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Projects.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Regions.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/RemarketingListShares.php73
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/RemarketingLists.php118
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Reports.php137
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ReportsCompatibleFields.php44
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ReportsFiles.php63
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Sites.php126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Sizes.php74
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Subaccounts.php114
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/TargetableRemarketingLists.php74
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/TargetingTemplates.php116
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserProfiles.php53
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRolePermissionGroups.php56
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRolePermissions.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRoles.php131
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/VideoFormats.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RichMediaExitOverride.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Rule.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Site.php134
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SiteContact.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SiteSettings.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SitesListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Size.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SizesListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SkippableSetting.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SortedDimension.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Subaccount.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SubaccountsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagData.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagSetting.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagSettings.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetWindow.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetableRemarketingList.php130
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetableRemarketingListsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetingTemplate.php145
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetingTemplatesListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TechnologyTargeting.php82
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ThirdPartyAuthenticationToken.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ThirdPartyTrackingUrl.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TranscodeSetting.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserDefinedVariableConfiguration.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserProfile.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserProfileList.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRole.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermission.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionGroup.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionGroupsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolesListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoFormat.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoFormatsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoOffset.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoSettings.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory.php1788
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Alias.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Aliases.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Asp.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Asps.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CalendarResource.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CalendarResources.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Channel.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDevice.php249
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceAction.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceActiveTimeRanges.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceRecentUsers.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDevices.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Customer.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CustomerPostalAddress.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/DomainAlias.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/DomainAliases.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Domains.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Domains2.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Group.php112
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Groups.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Member.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Members.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDevice.php383
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDeviceAction.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDeviceApplications.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDevices.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Notification.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Notifications.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/OrgUnit.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/OrgUnits.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Privilege.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Privileges.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Asps.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Channels.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Chromeosdevices.php120
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Customers.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/DomainAliases.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Domains.php82
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Groups.php120
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/GroupsAliases.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Members.php122
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Mobiledevices.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Notifications.php108
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Orgunits.php118
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Privileges.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Resources.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/ResourcesCalendars.php133
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/RoleAssignments.php91
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Roles.php115
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Schemas.php112
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Tokens.php74
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Users.php207
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/UsersAliases.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/UsersPhotos.php82
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/VerificationCodes.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Role.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleAssignment.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleAssignments.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleRolePrivileges.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Roles.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Schema.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/SchemaFieldSpec.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/SchemaFieldSpecNumericIndexingSpec.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Schemas.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Token.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Tokens.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/User.php356
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserAbout.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserAddress.php138
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserEmail.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserExternalId.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserIm.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserMakeAdmin.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserName.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserOrganization.php120
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserPhone.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserPhoto.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserRelation.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserUndelete.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserWebsite.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Users.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/VerificationCode.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/VerificationCodes.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns.php274
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Change.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ChangesListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ManagedZone.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ManagedZonesListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Project.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Quota.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/Changes.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/ManagedZones.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/Projects.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/ResourceRecordSets.php54
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ResourceRecordSet.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ResourceRecordSetsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager.php155
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadLineItemsRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadLineItemsResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadResponse.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/FilterPair.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ListQueriesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ListReportsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Note.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/NotifyProposalChangeRequest.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Parameters.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Query.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QueryMetadata.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QuerySchedule.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Report.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportFailure.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportKey.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportMetadata.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportStatus.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Lineitems.php54
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Queries.php92
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Reports.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Rubicon.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Sdf.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/RowStatus.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/RunQueryRequest.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadLineItemsRequest.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadLineItemsResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadStatus.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch.php242
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Availability.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Conversion.php321
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ConversionList.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/CustomDimension.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/CustomMetric.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Report.php105
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportApiColumnSpec.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportFiles.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequest.php153
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestFilters.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestOrderBy.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestReportScope.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestTimeRange.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Conversion.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Reports.php80
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/SavedColumns.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/SavedColumn.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/SavedColumnList.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/UpdateAvailabilityRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/UpdateAvailabilityResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive.php914
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/About.php105
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/AboutStorageQuota.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Change.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/ChangeList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Channel.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Comment.php133
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/CommentList.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/CommentQuotedFileContent.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFile.php490
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileCapabilities.php165
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileContentHints.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileContentHintsThumbnail.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileImageMediaMetadata.php211
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileImageMediaMetadataLocation.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileVideoMediaMetadata.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/FileList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/GeneratedIds.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Permission.php122
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/PermissionList.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/PermissionTeamDrivePermissionDetails.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Reply.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/ReplyList.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/About.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Changes.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Channels.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Comments.php109
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Files.php251
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Permissions.php132
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Replies.php112
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Revisions.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Teamdrives.php101
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Revision.php130
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/RevisionList.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/StartPageToken.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDrive.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDriveCapabilities.php138
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDriveList.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/User.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/AnalyticsInfo.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/AndroidInfo.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/CreateShortDynamicLinkRequest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/CreateShortDynamicLinkResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/DynamicLinkInfo.php89
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/DynamicLinkWarning.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/GooglePlayAnalytics.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/ITunesConnectAnalytics.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/IosInfo.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/NavigationInfo.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/Resource/ShortLinks.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/SocialMetaTagInfo.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/Suffix.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/AnalyticsInfo.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/AndroidInfo.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/CreateShortDynamicLinkRequest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/CreateShortDynamicLinkResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/DynamicLinkInfo.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/DynamicLinkWarning.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/GooglePlayAnalytics.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/ITunesConnectAnalytics.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/IosInfo.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/Resource/ShortDynamicLinks.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/SocialMetaTagInfo.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/Suffix.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI.php212
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/FirebaserulesEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/FirebaserulesFile.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Issue.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/ListReleasesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/ListRulesetsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Release.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/Projects.php62
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/ProjectsReleases.php186
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/ProjectsRulesets.php108
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Ruleset.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Source.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/SourcePosition.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/TestRulesetRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/TestRulesetResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness.php386
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateBucket.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateBy.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateRequest.php99
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Application.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByActivity.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketBySession.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByTime.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByTimePeriod.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataPoint.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataSource.php97
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataType.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataTypeField.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Dataset.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Device.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ListDataSourcesResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ListSessionsResponse.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/MapValue.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/Users.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataSources.php143
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataSourcesDatasets.php119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataset.php46
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersSessions.php89
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Session.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Value.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ValueMapValEntry.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase.php258
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileCandidate.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileCandidateNotable.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGet.php62
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGetCosts.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGetWarning.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables.php630
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Bucket.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Column.php131
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/ColumnBaseColumn.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/ColumnList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Geometry.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Import.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Line.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/LineStyle.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Point.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/PointStyle.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Polygon.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/PolygonStyle.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Column.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Query.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Style.php118
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Table.php212
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Task.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Template.php119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Sqlresponse.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunction.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunctionGradient.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunctionGradientColors.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleSetting.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleSettingList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Table.php140
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TableList.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Task.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TaskList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Template.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TemplateList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games.php1278
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementDefinition.php138
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementDefinitionsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementIncrementResponse.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementRevealResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementSetStepsAtLeastResponse.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUnlockResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateMultipleRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateMultipleResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateRequest.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateResponse.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AggregateStats.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AnonymousPlayer.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Application.php146
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ApplicationCategory.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ApplicationVerifyResponse.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Category.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/CategoryListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventBatchRecordFailure.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventChild.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventDefinition.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventDefinitionListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventPeriodRange.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventPeriodUpdate.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventRecordFailure.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventRecordRequest.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventUpdateRequest.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventUpdateResponse.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/GamesAchievementIncrement.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/GamesAchievementSetStepsAtLeast.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ImageAsset.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Instance.php105
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceAndroidDetails.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceIosDetails.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceWebDetails.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Leaderboard.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardEntry.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardScoreRank.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardScores.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/MetagameConfig.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/NetworkDiagnostics.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ParticipantResult.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PeerChannelDiagnostics.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PeerSessionDiagnostics.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Played.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Player.php133
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerAchievement.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerAchievementListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerEvent.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerEventListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerExperienceInfo.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLeaderboardScore.php107
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLeaderboardScoreListResponse.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLevel.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerName.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScore.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreResponse.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreSubmissionList.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ProfileSettings.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushToken.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushTokenId.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushTokenIdIos.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Quest.php167
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestContribution.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestCriterion.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestMilestone.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/AchievementDefinitions.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Achievements.php141
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Applications.php82
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Events.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Leaderboards.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Metagame.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Players.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Pushtokens.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/QuestMilestones.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Quests.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Revisions.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Rooms.php174
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Scores.php158
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Snapshots.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/TurnBasedMatches.php289
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RevisionCheckResponse.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Room.php144
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomAutoMatchStatus.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomAutoMatchingCriteria.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomClientAddress.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomCreateRequest.php97
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomJoinRequest.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomLeaveDiagnostics.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomLeaveRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomList.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomModification.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomP2PStatus.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomP2PStatuses.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomParticipant.php115
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomStatus.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ScoreSubmission.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Snapshot.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/SnapshotImage.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/SnapshotListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedAutoMatchingCriteria.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatch.php209
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchCreateRequest.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchData.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchDataRequest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchList.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchModification.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchParticipant.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchRematch.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchResults.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchSync.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchTurn.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration.php236
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfiguration.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfigurationDetail.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfigurationListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/GamesNumberAffixConfiguration.php81
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/GamesNumberFormatConfiguration.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/ImageConfiguration.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfiguration.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfigurationDetail.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfigurationListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedString.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedStringBundle.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/AchievementConfigurations.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/ImageConfigurations.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/LeaderboardConfigurations.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement.php335
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetAllResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetMultipleForAllRequest.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetResponse.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/EventsResetMultipleForAllRequest.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayedResource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayerExperienceInfoResource.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayerLevelResource.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/HiddenPlayer.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/HiddenPlayerList.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Player.php133
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerName.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerScoreResetAllResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerScoreResetResponse.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/ProfileSettings.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/QuestsResetMultipleForAllRequest.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Achievements.php98
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Applications.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Events.php100
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Players.php62
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Quests.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Rooms.php54
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Scores.php98
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/TurnBasedMatches.php54
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/ScoresResetMultipleForAllRequest.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics.php720
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Annotation.php131
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/AnnotationSet.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/BatchCreateAnnotationsRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/BatchCreateAnnotationsResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Binding.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CallSet.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CancelOperationRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CigarUnit.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ClinicalCondition.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CodingSequence.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ComputeEngine.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CoverageBucket.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Dataset.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Entry.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Exon.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Experiment.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExportReadGroupSetRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExportVariantSetRequest.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExternalId.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/GenomicsEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/GetIamPolicyRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportReadGroupSetsRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportReadGroupSetsResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportVariantsRequest.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportVariantsResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/LinearAlignment.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListBasesResponse.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListCoverageBucketsResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListDatasetsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListOperationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/MergeVariantsRequest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Operation.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/OperationEvent.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/OperationMetadata.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Policy.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Position.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Program.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Range.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Read.php177
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReadGroup.php114
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReadGroupSet.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Reference.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReferenceBound.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReferenceSet.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Annotations.php149
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Annotationsets.php116
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Callsets.php124
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Datasets.php214
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Operations.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Readgroupsets.php166
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/ReadgroupsetsCoveragebuckets.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Reads.php64
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/References.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/ReferencesBases.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Referencesets.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Variants.php213
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Variantsets.php151
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/RuntimeMetadata.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationSetsRequest.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationSetsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationsRequest.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchCallSetsRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchCallSetsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadGroupSetsRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadGroupSetsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadsRequest.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferenceSetsRequest.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferenceSetsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferencesRequest.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferencesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantSetsRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantSetsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantsRequest.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SetIamPolicyRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamReadsRequest.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamReadsResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamVariantsRequest.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamVariantsResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/TestIamPermissionsRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/TestIamPermissionsResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Transcript.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/UndeleteDatasetRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Variant.php140
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantAnnotation.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantCall.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantSet.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantSetMetadata.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail.php1136
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/AutoForwarding.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/BatchDeleteMessagesRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/BatchModifyMessagesRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Draft.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Filter.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/FilterAction.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/FilterCriteria.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ForwardingAddress.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/History.php81
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelAdded.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelRemoved.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageAdded.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageDeleted.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ImapSettings.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Label.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListDraftsResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListFiltersResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListForwardingAddressesResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListHistoryResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListLabelsResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListMessagesResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListSendAsResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListSmimeInfoResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListThreadsResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Message.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePart.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePartBody.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePartHeader.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ModifyMessageRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ModifyThreadRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/PopSettings.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Profile.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/Users.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersDrafts.php130
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersHistory.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersLabels.php120
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessages.php229
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessagesAttachments.php44
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettings.php149
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsFilters.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsForwardingAddresses.php97
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAs.php162
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAsSmimeInfo.php115
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersThreads.php135
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SendAs.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SmimeInfo.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SmtpMsa.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Thread.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/VacationSettings.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/WatchRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/WatchResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration.php73
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration/Groups.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration/Resource/Archive.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings/Groups.php300
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings/Resource/Groups.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam.php248
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/AuditData.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Binding.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/BindingDelta.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CloudAuditOptions.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Condition.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CounterOptions.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CreateServiceAccountKeyRequest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CreateServiceAccountRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/DataAccessOptions.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/IamEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ListServiceAccountKeysResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ListServiceAccountsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/LogConfig.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Policy.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/PolicyDelta.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/QueryGrantableRolesRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/QueryGrantableRolesResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/Projects.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsServiceAccounts.php215
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsServiceAccountsKeys.php108
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/Roles.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Role.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Rule.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ServiceAccount.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ServiceAccountKey.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SetIamPolicyRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignBlobRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignBlobResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignJwtRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignJwtResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/TestIamPermissionsRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/TestIamPermissionsResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit.php143
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/CreateAuthUriResponse.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/DeleteAccountResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/DownloadAccountResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/EmailTemplate.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetAccountInfoResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetOobConfirmationCodeResponse.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetRecaptchaParamResponse.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyCreateAuthUriRequest.php147
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyCreateAuthUriRequestCustomParameter.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyDeleteAccountRequest.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyDownloadAccountRequest.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyGetAccountInfoRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyGetProjectConfigResponse.php135
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyResetPasswordRequest.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetAccountInfoRequest.php211
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetProjectConfigRequest.php126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetProjectConfigResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignOutUserRequest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignOutUserResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignupNewUserRequest.php120
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyUploadAccountRequest.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyAssertionRequest.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyPasswordRequest.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdpConfig.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/Relyingparty.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/ResetPasswordResponse.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/Resource/Relyingparty.php252
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SetAccountInfoResponse.php131
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SetAccountInfoResponseProviderUserInfo.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SignupNewUserResponse.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UploadAccountResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UploadAccountResponseError.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UserInfo.php176
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UserInfoProviderUserInfo.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyAssertionResponse.php373
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyCustomTokenResponse.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyPasswordResponse.php129
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch.php97
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch/Resource/Entities.php56
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch/SearchResponse.php53
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing.php209
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignment.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignmentInsert.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignmentList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/Resource/LicenseAssignments.php149
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging.php640
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/HttpRequest.php147
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LabelDescriptor.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogEntriesRequest.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogEntriesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogMetricsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogsResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListMonitoredResourceDescriptorsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListSinksResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntry.php142
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntryOperation.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntrySourceLocation.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogLine.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogMetric.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogSink.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LoggingEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/MonitoredResource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/MonitoredResourceDescriptor.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/RequestLog.php312
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccounts.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsLogs.php74
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsSinks.php155
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Entries.php56
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Folders.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersLogs.php74
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersSinks.php155
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/MonitoredResourceDescriptors.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Organizations.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsLogs.php74
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsSinks.php155
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Projects.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsLogs.php74
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsMetrics.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsSinks.php155
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/SourceLocation.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/SourceReference.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/WriteLogEntriesRequest.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/WriteLogEntriesResponse.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager.php229
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AccessConfig.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Action.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AllowedRule.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AutoscalingModule.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AutoscalingModuleStatus.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeployState.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Deployment.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeploymentsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeploymentsResource.php92
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DiskAttachment.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/EnvVariable.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ExistingDisk.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/FirewallModule.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/FirewallModuleStatus.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/HealthCheckModule.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/HealthCheckModuleStatus.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/LbModule.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/LbModuleStatus.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Metadata.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/MetadataItem.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Module.php90
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ModuleStatus.php100
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkInterface.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkModule.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkModuleStatus.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NewDisk.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NewDiskInitializeParams.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ParamOverride.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolModule.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolModuleStatus.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolParams.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolParamsV1Beta1.php154
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ServiceAccount.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Tag.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Template.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/TemplatesListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/TemplatesResource.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Attributes.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Issue.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/ListProductsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Product.php116
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Resource/Accounts.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Resource/AccountsProducts.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror.php379
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Account.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Attachment.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/AttachmentsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/AuthToken.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Command.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Contact.php131
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/ContactsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Location.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/LocationsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/MenuItem.php80
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/MenuValue.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Notification.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/NotificationConfig.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Accounts.php46
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Contacts.php108
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Locations.php54
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Settings.php45
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Subscriptions.php80
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Timeline.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/TimelineAttachments.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Setting.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Subscription.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/SubscriptionsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/TimelineItem.php262
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/TimelineListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/UserAction.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/UserData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring.php396
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/BucketOptions.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CollectdPayload.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CollectdValue.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CreateCollectdTimeSeriesRequest.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CreateTimeSeriesRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Distribution.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Explicit.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Exponential.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Field.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Group.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/LabelDescriptor.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Linear.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListGroupMembersResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListGroupsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListMetricDescriptorsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListMonitoredResourceDescriptorsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListTimeSeriesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Metric.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MetricDescriptor.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResourceDescriptor.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoringEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Option.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Point.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Range.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/Projects.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsCollectdTimeSeries.php45
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroups.php130
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroupsMembers.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsMetricDescriptors.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsMonitoredResourceDescriptors.php72
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsTimeSeries.php119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/SourceContext.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TimeInterval.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TimeSeries.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Type.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TypedValue.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2.php150
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Jwk.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/JwkKeys.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/Userinfo.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2Me.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Tokeninfo.php110
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Userinfoplus.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2Args.php72
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2ArgsRects.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2ArgsSecondaryRects.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiImageV2.php80
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiImageV2PageRect.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/Resource/Pagespeedapi.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/Result.php117
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResults.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElement.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElementUrlBlocks.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElementUrlBlocksUrls.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultPageStats.php138
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultRuleGroupsElement.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultVersion.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners.php877
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AdWordsManagerAccountInfo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Analytics.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AnalyticsDataPoint.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AnalyticsSummary.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AvailableOffer.php132
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Certification.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CertificationExamStatus.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CertificationStatus.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Company.php220
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CompanyRelation.php158
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CountryOfferInfo.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CreateLeadRequest.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CreateLeadResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Date.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/DebugInfo.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/EventData.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ExamStatus.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ExamToken.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/GetCompanyResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/GetPartnersStatusResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/HistoricalOffer.php129
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LatLng.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Lead.php158
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListAnalyticsResponse.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListCompaniesResponse.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListLeadsResponse.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListOffersHistoryResponse.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListOffersResponse.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListUserStatesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LocalizedCompanyInfo.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Location.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogMessageRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogMessageResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogUserEventRequest.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogUserEventResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Money.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/OfferCustomer.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/OptIns.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/PartnersEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/PublicProfile.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Rank.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/RecaptchaChallenge.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/RequestMetadata.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Analytics.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/ClientMessages.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Companies.php150
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/CompaniesLeads.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Exams.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Leads.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Offers.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/OffersHistory.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/UserEvents.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/UserStates.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Users.php157
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/V2.php124
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ResponseMetadata.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/SpecializationStatus.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/TrafficSource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/User.php118
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/UserOverrides.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/UserProfile.php150
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People.php160
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Address.php130
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/AgeRangeType.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Biography.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Birthday.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/BraggingRights.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ContactGroupMembership.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/CoverPhoto.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Date.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/DomainMembership.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/EmailAddress.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Event.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/FieldMetadata.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Gender.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/GetPeopleResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ImClient.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Interest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ListConnectionsResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Locale.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Membership.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Name.php148
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Nickname.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Occupation.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Organization.php150
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Person.php319
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PersonMetadata.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PersonResponse.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PhoneNumber.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Photo.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ProfileMetadata.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Relation.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/RelationshipInterest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/RelationshipStatus.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Residence.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Resource/People.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Resource/PeopleConnections.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Skill.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Source.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Tagline.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Url.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies.php299
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Avail.php319
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Component.php220
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ExperienceLocale.php229
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListAvailsResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListComponentsResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListExperienceLocalesResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListOrdersResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListStoreInfosResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Order.php229
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/Accounts.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsAvails.php82
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsComponents.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsComponentsType.php44
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsExperienceLocales.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsOrders.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsStoreInfos.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsStoreInfosCountry.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/StoreInfo.php247
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner.php339
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsAvailsResource.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsExperienceLocalesResource.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsOrdersResource.php73
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsResource.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsStoreInfosCountryResource.php46
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsStoreInfosResource.php62
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/Avail.php310
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ExperienceLocale.php229
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListAvailsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListExperienceLocalesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListOrdersResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListStoreInfosResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/Order.php229
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/StoreInfo.php247
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus.php267
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Acl.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Activity.php206
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActor.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorClientSpecificActorInfo.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorClientSpecificActorInfoYoutubeActorInfo.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorImage.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorName.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorVerification.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityFeed.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObject.php117
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActor.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorClientSpecificActorInfo.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorImage.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorVerification.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachments.php107
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsEmbed.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsFullImage.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsImage.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsThumbnails.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsThumbnailsImage.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectPlusoners.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectReplies.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectResharers.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityProvider.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Comment.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActor.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorClientSpecificActorInfo.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorClientSpecificActorInfoYoutubeActorInfo.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorImage.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorVerification.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentFeed.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentInReplyTo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentObject.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentPlusoners.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PeopleFeed.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Person.php300
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonAgeRange.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCover.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCoverCoverInfo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCoverCoverPhoto.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonEmails.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonImage.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonName.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonOrganizations.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonPlacesLived.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonUrls.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Place.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlaceAddress.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlacePosition.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlusAclentryResource.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/Activities.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/Comments.php62
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/People.php114
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains.php453
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Acl.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Activity.php206
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActor.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorClientSpecificActorInfo.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorClientSpecificActorInfoYoutubeActorInfo.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorImage.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorName.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorVerification.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityFeed.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObject.php127
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActor.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorClientSpecificActorInfo.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorImage.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorVerification.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachments.php117
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsEmbed.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsFullImage.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsImage.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsPreviewThumbnails.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsThumbnails.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsThumbnailsImage.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectPlusoners.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectReplies.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectResharers.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectStatusForViewer.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityProvider.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Audience.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/AudiencesFeed.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Circle.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CircleFeed.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CirclePeople.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Comment.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActor.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorClientSpecificActorInfo.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorClientSpecificActorInfoYoutubeActorInfo.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorImage.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorVerification.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentFeed.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentInReplyTo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentObject.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentPlusoners.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Media.php187
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaAuthor.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaAuthorImage.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaExif.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PeopleFeed.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Person.php281
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCover.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCoverCoverInfo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCoverCoverPhoto.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonEmails.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonImage.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonName.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonOrganizations.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonPlacesLived.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonUrls.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Place.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlaceAddress.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlacePosition.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlusDomainsAclentryResource.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Activities.php83
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Audiences.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Circles.php154
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Comments.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Media.php46
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/People.php108
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Videostream.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction.php205
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Analyze.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescription.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeatures.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesCategorical.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesCategoricalValues.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesNumeric.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesText.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeature.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeatureNumeric.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeatureText.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeModelDescription.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Input.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/InputInput.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert2.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert2ModelInfo.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/InsertTrainingInstances.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Output.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/OutputOutputMulti.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/PredictionList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Resource/Hostedmodels.php44
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Resource/Trainedmodels.php130
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Update.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon.php353
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/AdvertisedId.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/AttachmentInfo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Beacon.php124
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/BeaconAttachment.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/BeaconInfo.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Date.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/DeleteAttachmentsResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Diagnostics.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/EphemeralIdRegistration.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/EphemeralIdRegistrationParams.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/GetInfoForObservedBeaconsRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/GetInfoForObservedBeaconsResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/IndoorLevel.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/LatLng.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListBeaconAttachmentsResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListBeaconsResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListDiagnosticsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListNamespacesResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Observation.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ProximitybeaconEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ProximitybeaconNamespace.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Beaconinfo.php44
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Beacons.php316
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/BeaconsAttachments.php170
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/BeaconsDiagnostics.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Namespaces.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/V1beta1.php46
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub.php353
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/AcknowledgeRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Binding.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListSubscriptionsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListTopicSubscriptionsResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListTopicsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ModifyAckDeadlineRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ModifyPushConfigRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Policy.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PublishRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PublishResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PubsubEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PubsubMessage.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PullRequest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PullResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PushConfig.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ReceivedMessage.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/Projects.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsSnapshots.php83
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsSubscriptions.php243
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsTopics.php170
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsTopicsSubscriptions.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/SetIamPolicyRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Subscription.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/TestIamPermissionsRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/TestIamPermissionsResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Topic.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress.php65
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/AircraftData.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/AirportData.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/BagDescriptor.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/CarrierData.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/CityData.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/Data.php81
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FareInfo.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FlightInfo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FreeBaggageAllowance.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/LegInfo.php174
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/PassengerCounts.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/PricingInfo.php143
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/Resource/Trips.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SegmentInfo.php123
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SegmentPricing.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SliceInfo.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SliceInput.php122
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TaxData.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TaxInfo.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TimeOfDayRange.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOption.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOptionsRequest.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOptionsResponse.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripsSearchRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripsSearchResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool.php343
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManager.php149
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagerList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersAbandonInstancesRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersDeleteInstancesRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersRecreateInstancesRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersSetInstanceTemplateRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersSetTargetPoolsRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Operation.php222
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationError.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationErrorErrors.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationWarnings.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationWarningsData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/ReplicaPoolAutoHealingPolicy.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Resource/InstanceGroupManagers.php223
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Resource/ZoneOperations.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater.php306
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdate.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateError.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateErrorErrors.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Operation.php222
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationError.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationErrorErrors.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationWarnings.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationWarningsData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Resource/RollingUpdates.php177
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Resource/ZoneOperations.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdate.php167
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateError.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateErrorErrors.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdatePolicy.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports.php255
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Activities.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Activity.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityActor.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityEvents.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityEventsParameters.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityId.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Channel.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/Activities.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/Channels.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/CustomerUsageReports.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/UserUsageReport.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReport.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportEntity.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportParameters.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReports.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportsWarnings.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportsWarningsData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller.php313
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Address.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ChangePlanRequest.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Customer.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/RenewalSettings.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyGetwatchdetailsResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyResource.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Customers.php99
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Resellernotify.php72
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Subscriptions.php265
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Seats.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Subscription.php189
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlan.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlanCommitmentInterval.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTransferInfo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTrialSettings.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Subscriptions.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews.php339
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Label.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ListResourceResponseItem.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Operation.php222
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationError.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationErrorErrors.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationList.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationWarnings.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationWarningsData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Resource/ZoneOperations.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Resource/ZoneViews.php190
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ResourceView.php132
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ServiceEndpoint.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsAddResourcesRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsGetServiceResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsList.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsListResourcesResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsRemoveResourcesRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsSetServiceRequest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin.php811
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/AclEntry.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupConfiguration.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupRun.php130
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupRunsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BinLogCoordinates.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/CloneContext.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Database.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseFlags.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseInstance.php244
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseInstanceFailoverReplica.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabasesListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContext.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContextCsvExportOptions.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContextSqlExportOptions.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/FailoverContext.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Flag.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/FlagsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ImportContext.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ImportContextCsvImportOptions.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesCloneRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesExportRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesFailoverRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesImportRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesRestoreBackupRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesTruncateLogRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/IpConfiguration.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/IpMapping.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Labels.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/LocationPreference.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/MaintenanceWindow.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/MySqlReplicaConfiguration.php120
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OnPremisesConfiguration.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Operation.php159
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationError.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationErrors.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ReplicaConfiguration.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/BackupRuns.php100
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Databases.php131
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Flags.php44
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Instances.php311
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Operations.php64
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/SslCerts.php119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Tiers.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Users.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/RestoreBackupContext.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Settings.php208
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCert.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertDetail.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsCreateEphemeralRequest.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsInsertRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsInsertResponse.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Tier.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/TiersListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/TruncateLogContext.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/User.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/UsersListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing.php171
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Checksum.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ClientInfo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Constraints.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FetchThreatListUpdatesRequest.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FetchThreatListUpdatesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindFullHashesRequest.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindFullHashesResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindThreatMatchesRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindThreatMatchesResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListThreatListsResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListUpdateRequest.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListUpdateResponse.php97
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/MetadataEntry.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RawHashes.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RawIndices.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/EncodedFullHashes.php45
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/EncodedUpdates.php46
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/FullHashes.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatListUpdates.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatLists.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatMatches.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RiceDeltaEncoding.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntry.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntryMetadata.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntrySet.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatInfo.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatListDescriptor.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatMatch.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionError.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Operation.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Resource/Scripts.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ScriptStackTraceElement.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole.php65
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/BlockedResource.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Image.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/MobileFriendlyIssue.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Resource/UrlTestingTools.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Resource/UrlTestingToolsMobileFriendlyTest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/ResourceIssue.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/RunMobileFriendlyTestRequest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/RunMobileFriendlyTestResponse.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/TestStatus.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl.php127
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AllocateQuotaRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AllocateQuotaResponse.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuditLog.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuthenticationInfo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuthorizationInfo.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckError.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckInfo.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckResponse.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Distribution.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/EndReconciliationRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/EndReconciliationResponse.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ExplicitBuckets.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ExponentialBuckets.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/LinearBuckets.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/LogEntry.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/MetricValue.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/MetricValueSet.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Money.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Operation.php133
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaError.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaInfo.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaOperation.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaProperties.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReleaseQuotaRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReleaseQuotaResponse.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportError.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportInfo.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportResponse.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/RequestMetadata.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Resource/Services.php191
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/StartReconciliationRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/StartReconciliationResponse.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement.php366
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Advice.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Analytics.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AnalyticsDestination.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Api.php89
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuditConfig.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuditLogConfig.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthProvider.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthRequirement.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Authentication.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthenticationRule.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthorizationConfig.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Backend.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/BackendRule.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Binding.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ChangeReport.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CloudAuditOptions.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Condition.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigChange.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigFile.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigOptions.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigRef.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigSource.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Context.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ContextRule.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Control.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CounterOptions.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomError.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomErrorRule.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomHttpPattern.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DataAccessOptions.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DeleteServiceStrategy.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Diagnostic.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DisableServiceRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Documentation.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DocumentationRule.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/EnableServiceRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Endpoint.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Enum.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/EnumValue.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Experimental.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Field.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GenerateConfigReportRequest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GenerateConfigReportResponse.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GetIamPolicyRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Http.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/HttpRule.php134
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LabelDescriptor.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListOperationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServiceConfigsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServiceRolloutsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServicesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LogConfig.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LogDescriptor.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Logging.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LoggingDestination.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ManagedService.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MediaDownload.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MediaUpload.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Method.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MetricDescriptor.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Mixin.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MonitoredResourceDescriptor.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Monitoring.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MonitoringDestination.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/OAuthRequirements.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Operation.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/OperationMetadata.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Option.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Page.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Policy.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/Operations.php65
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/Services.php265
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/ServicesConfigs.php108
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/ServicesRollouts.php89
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Rollout.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Rule.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Service.php287
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SetIamPolicyRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SourceContext.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SourceInfo.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Step.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SubmitConfigSourceRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SubmitConfigSourceResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameter.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameterRule.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameters.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TestIamPermissionsRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TestIamPermissionsResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TrafficPercentStrategy.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Type.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/UndeleteServiceResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Usage.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/UsageRule.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Visibility.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/VisibilityRule.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry.php221
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Endpoint.php112
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/EndpointEndpointVisibility.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/EndpointsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Operation.php231
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationError.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationErrorErrors.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationWarnings.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationWarningsData.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationsListResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Resource/Endpoints.php157
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Resource/Operations.php99
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser.php133
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Api.php89
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthProvider.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthRequirement.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Authentication.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthenticationRule.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthorizationConfig.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Backend.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/BackendRule.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Context.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/ContextRule.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Control.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomError.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomErrorRule.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomHttpPattern.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/DisableServiceRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Documentation.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/DocumentationRule.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/EnableServiceRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Endpoint.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Enum.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/EnumValue.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Experimental.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Field.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Http.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/HttpRule.php134
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LabelDescriptor.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/ListEnabledServicesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LogDescriptor.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Logging.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LoggingDestination.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MediaDownload.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MediaUpload.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Method.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MetricDescriptor.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Mixin.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MonitoredResourceDescriptor.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Monitoring.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MonitoringDestination.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/OAuthRequirements.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Operation.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/OperationMetadata.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Option.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Page.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/PublishedService.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/Projects.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/ProjectsServices.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/Services.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SearchServicesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Service.php287
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SourceContext.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SourceInfo.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Step.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameter.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameterRule.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameters.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Type.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Usage.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/UsageRule.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Visibility.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/VisibilityRule.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets.php297
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddBandingRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddBandingResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddChartRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddChartResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddConditionalFormatRuleRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddFilterViewRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddFilterViewResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddNamedRangeRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddNamedRangeResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddProtectedRangeRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddProtectedRangeResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddSheetRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddSheetResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendCellsRequest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendDimensionRequest.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendValuesResponse.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AutoFillRequest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AutoResizeDimensionsRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BandedRange.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BandingProperties.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartAxis.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartDomain.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartSeries.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartSpec.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicFilter.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchClearValuesRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchClearValuesResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchGetValuesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateSpreadsheetRequest.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateSpreadsheetResponse.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateValuesRequest.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateValuesResponse.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BooleanCondition.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BooleanRule.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Border.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Borders.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CellData.php119
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CellFormat.php126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartData.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartSourceRange.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartSpec.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearBasicFilterRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearValuesRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearValuesResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Color.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ConditionValue.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ConditionalFormatRule.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CopyPasteRequest.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CopySheetToAnotherSpreadsheetRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CutPasteRequest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DataValidationRule.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteBandingRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteConditionalFormatRuleRequest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteConditionalFormatRuleResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteDimensionRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteEmbeddedObjectRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteFilterViewRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteNamedRangeRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteProtectedRangeRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteRangeRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteSheetRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DimensionProperties.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DimensionRange.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateFilterViewRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateFilterViewResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateSheetRequest.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateSheetResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Editors.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/EmbeddedChart.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/EmbeddedObjectPosition.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ErrorValue.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ExtendedValue.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FilterCriteria.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FilterView.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FindReplaceRequest.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FindReplaceResponse.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GradientRule.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridCoordinate.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridData.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridProperties.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridRange.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InsertDimensionRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InsertRangeRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InterpolationPoint.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/IterativeCalculationSettings.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/MergeCellsRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/MoveDimensionRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/NamedRange.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/NumberFormat.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/OverlayPosition.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Padding.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PasteDataRequest.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PieChartSpec.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotFilterCriteria.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroup.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroupSortValueBucket.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroupValueMetadata.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotTable.php81
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotValue.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ProtectedRange.php97
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/RepeatCellRequest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Request.php511
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/Spreadsheets.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/SpreadsheetsSheets.php45
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/SpreadsheetsValues.php203
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Response.php141
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/RowData.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SetBasicFilterRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SetDataValidationRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Sheet.php112
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SheetProperties.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SortRangeRequest.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SortSpec.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SourceAndDestination.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Spreadsheet.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SpreadsheetProperties.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextFormat.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextFormatRun.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextRotation.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextToColumnsRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UnmergeCellsRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateBandingRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateBordersRequest.php91
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateCellsRequest.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateChartSpecRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateConditionalFormatRuleRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateConditionalFormatRuleResponse.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateDimensionPropertiesRequest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateEmbeddedObjectPositionRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateEmbeddedObjectPositionResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateFilterViewRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateNamedRangeRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateProtectedRangeRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateSheetPropertiesRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateSpreadsheetPropertiesRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateValuesResponse.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ValueRange.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent.php1114
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Account.php105
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountAdwordsLink.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountIdentifier.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShipping.php80
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingCarrierRate.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingCondition.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingLocationGroup.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingPostalCodeRange.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingRateTable.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingRateTableCell.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingService.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingServiceCalculationMethod.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingServiceCostRule.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatus.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusDataQualityIssue.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusExampleItem.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountTax.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountTaxTaxRule.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountUser.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsAuthInfoResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchRequestEntry.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchResponseEntry.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchRequestEntry.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchResponseEntry.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchRequestEntry.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchResponseEntry.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchRequestEntry.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchResponseEntry.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/CarrierRate.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/CarriersCarrier.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Datafeed.php123
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedFetchSchedule.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedFormat.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatus.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatusError.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatusExample.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchRequestEntry.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchResponseEntry.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchRequestEntry.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchResponseEntry.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DeliveryTime.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Error.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Errors.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Headers.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Installment.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Inventory.php116
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchRequestEntry.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchResponseEntry.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryPickup.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventorySetRequest.php107
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventorySetResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/LocationIdSet.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/LoyaltyPoints.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Order.php212
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderAddress.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderCancellation.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderCustomer.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderDeliveryDetails.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItem.php155
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemProduct.php159
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemProductVariantAttribute.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemReturnInfo.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemShippingDetails.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemShippingDetailsMethod.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPaymentMethod.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPromotion.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPromotionBenefit.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderRefund.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderReturn.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipment.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipmentLineItemShipment.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAcknowledgeRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAcknowledgeResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAdvanceTestOrderResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelLineItemRequest.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelLineItemResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelRequest.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCreateTestOrderRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCreateTestOrderResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntry.php135
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryCancel.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryCancelLineItem.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryRefund.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryReturnLineItem.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryShipLineItems.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryUpdateShipment.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchResponseEntry.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersGetByMerchantOrderIdResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersGetTestOrderTemplateResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersRefundRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersRefundResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersReturnLineItemRequest.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersReturnLineItemResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersShipLineItemsRequest.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersShipLineItemsResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateMerchantOrderIdRequest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateMerchantOrderIdResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateShipmentRequest.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateShipmentResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/PostalCodeGroup.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/PostalCodeRange.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Price.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Product.php687
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductAspect.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductCustomAttribute.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductCustomGroup.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductDestination.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShipping.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShippingDimension.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShippingWeight.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatus.php105
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatusDataQualityIssue.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatusDestinationStatus.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductTax.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductUnitPricingBaseMeasure.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductUnitPricingMeasure.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchRequestEntry.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchResponseEntry.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchRequestEntry.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchResponseEntry.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/RateGroup.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accounts.php164
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accountshipping.php123
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accountstatuses.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accounttax.php123
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Datafeeds.php146
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Datafeedstatuses.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Inventory.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Orders.php287
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Products.php116
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Productstatuses.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Shippingsettings.php138
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Row.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Service.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingSettings.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchRequestEntry.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchResponseEntry.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsGetSupportedCarriersResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Table.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrder.php109
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderCustomer.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderLineItem.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderLineItemProduct.php141
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderPaymentMethod.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Value.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Weight.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification.php124
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/Resource/WebResource.php124
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenRequestSite.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenResponse.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceListResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceResource.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceResourceSite.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides.php128
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/AffineTransform.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/AutoText.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/BatchUpdatePresentationRequest.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/BatchUpdatePresentationResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Bullet.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ColorScheme.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ColorStop.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateImageRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateImageResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateLineRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateLineResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateParagraphBulletsRequest.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateShapeRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateShapeResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSheetsChartRequest.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSheetsChartResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSlideRequest.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSlideResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateTableRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateTableResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateVideoRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateVideoResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CropProperties.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteObjectRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteParagraphBulletsRequest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTableColumnRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTableRowRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTextRequest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Dimension.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DuplicateObjectRequest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DuplicateObjectResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Group.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Image.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ImageProperties.php98
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTableColumnsRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTableRowsRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTextRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutPlaceholderIdMapping.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutProperties.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutReference.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Line.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LineFill.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LineProperties.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Link.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/NestingLevel.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/NotesProperties.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OpaqueColor.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OptionalColor.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Outline.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OutlineFill.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Page.php99
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageBackgroundFill.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageElement.php148
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageElementProperties.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageProperties.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ParagraphMarker.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ParagraphStyle.php107
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Placeholder.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Presentation.php108
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Range.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Recolor.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/RefreshSheetsChartRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithImageRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithImageResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithSheetsChartRequest.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithSheetsChartResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllTextRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllTextResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Request.php331
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Resource/Presentations.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Resource/PresentationsPages.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Response.php131
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/RgbColor.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Shadow.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Shape.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ShapeBackgroundFill.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ShapeProperties.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SheetsChart.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SheetsChartProperties.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Size.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SlideProperties.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SlidesList.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SolidFill.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/StretchedPictureFill.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SubstringMatchCriteria.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Table.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCell.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellBackgroundFill.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellLocation.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellProperties.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableColumnProperties.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableRange.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableRow.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextContent.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextElement.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextRun.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextStyle.php134
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ThemeColorPair.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateImagePropertiesRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateLinePropertiesRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdatePageElementTransformRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdatePagePropertiesRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateParagraphStyleRequest.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateShapePropertiesRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateSlidesPositionRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateTableCellPropertiesRequest.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateTextStyleRequest.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateVideoPropertiesRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Video.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/VideoProperties.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WeightedFontFamily.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WordArt.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WriteControl.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner.php541
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/AuditConfig.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/AuditLogConfig.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/BeginTransactionRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Binding.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ChildLink.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CloudAuditOptions.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CommitRequest.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CommitResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Condition.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CounterOptions.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateDatabaseMetadata.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateDatabaseRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateInstanceMetadata.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateInstanceRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/DataAccessOptions.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Database.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Delete.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ExecuteSqlRequest.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Field.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/GetDatabaseDdlResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/GetIamPolicyRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Instance.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/InstanceConfig.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/KeyRange.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/KeySet.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListDatabasesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListInstanceConfigsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListInstancesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListOperationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/LogConfig.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Mutation.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Operation.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/PartialResultSet.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/PlanNode.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Policy.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/QueryPlan.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadOnly.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadRequest.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadWrite.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/Projects.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstanceConfigs.php65
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstances.php253
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabases.php188
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesOperations.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesSessions.php231
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesOperations.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSet.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSetMetadata.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSetStats.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/RollbackRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Rule.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Session.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/SetIamPolicyRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ShortRepresentation.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/SpannerEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/StructType.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TestIamPermissionsRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TestIamPermissionsResponse.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Transaction.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TransactionOptions.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TransactionSelector.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Type.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateDatabaseDdlMetadata.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateDatabaseDdlRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateInstanceMetadata.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateInstanceRequest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Write.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/AntennaCharacteristics.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DatabaseSpec.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DbUpdateSpec.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceCapabilities.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceDescriptor.php112
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceOwner.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceValidity.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/EventTime.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/FrequencyRange.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocation.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationEllipse.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationPoint.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationPolygon.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoSpectrumSchedule.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumBatchRequest.php109
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumBatchResponse.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumRequest.php108
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumResponse.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsInitRequest.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsInitResponse.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsNotifySpectrumUseRequest.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsNotifySpectrumUseResponse.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsRegisterRequest.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsRegisterResponse.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsVerifyDeviceRequest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsVerifyDeviceResponse.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/Resource/Paws.php117
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/RulesetInfo.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/SpectrumMessage.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/SpectrumSchedule.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/Vcard.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardAddress.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardTelephone.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardTypedText.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech.php133
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/AsyncRecognizeRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/CancelOperationRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/ListOperationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Operation.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/RecognitionAudio.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/RecognitionConfig.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Resource/Operations.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Resource/Speech.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechContext.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechRecognitionAlternative.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechRecognitionResult.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SyncRecognizeRequest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SyncRecognizeResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage.php1126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Bucket.php201
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControl.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControlProjectTeam.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControls.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketCors.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketEncryption.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycle.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRule.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRuleAction.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRuleCondition.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLogging.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketOwner.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketVersioning.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketWebsite.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Buckets.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Channel.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequest.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequestSourceObjects.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequestSourceObjectsObjectPreconditions.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControl.php139
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControlProjectTeam.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControls.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Objects.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Policy.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/PolicyBindings.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/BucketAccessControls.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Buckets.php208
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Channels.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/DefaultObjectAccessControls.php132
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/ObjectAccessControls.php155
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Objects.php444
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/RewriteResponse.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObject.php268
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObjectCustomerEncryption.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObjectOwner.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/TestIamPermissionsResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer.php233
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/AwsAccessKey.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/AwsS3Data.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Date.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorLogEntry.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorSummary.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/GcsData.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/GoogleServiceAccount.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/HttpData.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ListOperationsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ListTransferJobsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ObjectConditions.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Operation.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/PauseTransferOperationRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/GoogleServiceAccounts.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferJobs.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferOperations.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/V1.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ResumeTransferOperationRequest.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Schedule.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/StoragetransferEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TimeOfDay.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferCounters.php165
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferJob.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOperation.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOptions.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferSpec.php81
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/UpdateTransferJobRequest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys.php210
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/FieldMask.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/MobileAppPanel.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/MobileAppPanelsListResponse.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/PageInfo.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Mobileapppanels.php74
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Results.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Surveys.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/ResultsGetRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/ResultsMask.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Survey.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyAudience.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyCost.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyQuestion.php185
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyQuestionImage.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyRejection.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyResults.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysDeleteResponse.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysListResponse.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStartRequest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStartResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStopResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/TokenPagination.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager.php1099
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Account.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/AccountAccess.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Condition.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Container.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerAccess.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerVersion.php155
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerVersionHeader.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/CreateContainerVersionRequestVersionOptions.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/CreateContainerVersionResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Environment.php129
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Folder.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/FolderEntities.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListAccountUsersResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListAccountsResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListContainerVersionsResponse.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListContainersResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListEnvironmentsResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListFoldersResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListTagsResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListTriggersResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListVariablesResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Macro.php140
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Parameter.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/PublishContainerVersionResponse.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/Accounts.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainers.php101
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersEnvironments.php126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersFolders.php105
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersFoldersEntities.php44
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersMoveFolders.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersReauthorizeEnvironments.php45
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersTags.php105
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersTriggers.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersVariables.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersVersions.php162
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsPermissions.php101
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Rule.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/SetupTag.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Tag.php206
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/TeardownTag.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Trigger.php205
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/UserAccess.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Variable.php140
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue.php249
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Resource/Taskqueues.php44
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Resource/Tasks.php144
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Task.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueue.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueueAcl.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueueStats.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Tasks.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Tasks2.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks.php295
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Resource/Tasklists.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Resource/Tasks.php179
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Task.php158
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskLinks.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskList.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskLists.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Tasks.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults.php664
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Any.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BasicPerfSampleSeries.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BatchCreatePerfSamplesRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BatchCreatePerfSamplesResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/CPUInfo.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Duration.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Execution.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/FailureDetail.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/FileReference.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/History.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Image.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/InconclusiveDetail.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListExecutionsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListHistoriesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListPerfSampleSeriesResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListPerfSamplesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListStepThumbnailsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListStepsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/MemoryInfo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Outcome.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfEnvironment.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfMetricsSummary.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfSample.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfSampleSeries.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ProjectSettings.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PublishXunitXmlFilesRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/Projects.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistories.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutions.php155
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsSteps.php228
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfMetricsSummary.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfSampleSeries.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsThumbnails.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/SkippedDetail.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StackTrace.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Status.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Step.php157
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StepDimensionValueEntry.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StepLabelsEntry.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/SuccessDetail.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestCaseReference.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestExecutionStep.php62
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestIssue.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestSuiteOverview.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestTiming.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Thumbnail.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Timestamp.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExecution.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExecutionStep.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExitCode.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolOutputReference.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing.php137
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Annotation.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/AttributeValue.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/BatchUpdateSpansRequest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Link.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/ListSpansResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/ListTracesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Module.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/NetworkEvent.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Resource/Projects.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Resource/ProjectsTraces.php116
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Span.php126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/SpanUpdates.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/StackFrame.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/StackTrace.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/TimeEvent.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Trace.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/TracingEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate.php132
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/DetectionsListResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/DetectionsResourceItems.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/LanguagesListResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/LanguagesResource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Detections.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Languages.php44
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Translations.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/TranslationsListResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/TranslationsResource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/AnalyticsSnapshot.php80
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/AnalyticsSummary.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/Resource/Url.php72
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/StringCount.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/Url.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/UrlHistory.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/AnnotateImageRequest.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/AnnotateImageResponse.php132
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BatchAnnotateImagesRequest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BatchAnnotateImagesResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Block.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BoundingPoly.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Color.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ColorInfo.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHint.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHintsAnnotation.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHintsParams.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DetectedBreak.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DetectedLanguage.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DominantColorsAnnotation.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/EntityAnnotation.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/FaceAnnotation.php160
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Feature.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Image.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageContext.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageProperties.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageSource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Landmark.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LatLng.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LatLongRect.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LocationInfo.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Page.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Paragraph.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Position.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Property.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Resource/Images.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/SafeSearchAnnotation.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Status.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Symbol.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/TextAnnotation.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/TextProperty.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Vertex.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebDetection.php62
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebEntity.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebImage.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebPage.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Word.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts.php72
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/Resource/Webfonts.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/Webfont.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/WebfontList.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters.php305
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDataRow.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDimensionFilter.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDimensionFilterGroup.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Searchanalytics.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Sitemaps.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Sites.php80
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Urlcrawlerrorscounts.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Urlcrawlerrorssamples.php92
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SearchAnalyticsQueryRequest.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SearchAnalyticsQueryResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SitemapsListResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SitesListResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorCount.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorCountsPerType.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsCountsQueryResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsSample.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsSamplesListResponse.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlSampleDetails.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSite.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSitemap.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSitemapContent.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube.php1944
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/AccessPolicy.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Activity.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetails.php131
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsBulletin.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsChannelItem.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsComment.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsFavorite.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsLike.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsPlaylistItem.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsPromotedItem.php112
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsRecommendation.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsSocial.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsSubscription.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsUpload.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityListResponse.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivitySnippet.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Caption.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CaptionListResponse.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CaptionSnippet.php138
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CdnSettings.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Channel.php158
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelAuditDetails.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelBannerResource.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelBrandingSettings.php62
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentDetails.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentDetailsRelatedPlaylists.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentOwnerDetails.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelConversionPing.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelConversionPings.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelListResponse.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelLocalization.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelProfileDetails.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSection.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionContentDetails.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionListResponse.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionLocalization.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionSnippet.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionTargeting.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSettings.php148
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSnippet.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelStatistics.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelStatus.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelTopicDetails.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Comment.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentListResponse.php97
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentSnippet.php156
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThread.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadListResponse.php97
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadReplies.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadSnippet.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ContentRating.php634
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEvent.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEventListResponse.php97
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEventSnippet.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GeoPoint.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategory.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategoryListResponse.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategorySnippet.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguage.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguageListResponse.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguageSnippet.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegion.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegionListResponse.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegionSnippet.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ImageSettings.php224
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/IngestionInfo.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoBranding.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoPosition.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoPromotion.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoTiming.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LanguageTag.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcast.php98
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastContentDetails.php130
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastListResponse.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastSnippet.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastStatistics.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastStatus.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopic.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopicDetails.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopicSnippet.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatBan.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatBanSnippet.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatFanFundingEventDetails.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessage.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageAuthorDetails.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageDeletedDetails.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageListResponse.php115
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageRetractedDetails.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageSnippet.php175
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModerator.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModeratorListResponse.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModeratorSnippet.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollClosedDetails.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollEditedDetails.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollItem.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollOpenedDetails.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollVotedDetails.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatSuperChatDetails.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatTextMessageDetails.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatUserBannedMessageDetails.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStream.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamConfigurationIssue.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamContentDetails.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamHealthStatus.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamListResponse.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamSnippet.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamStatus.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LocalizedProperty.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LocalizedString.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/MonitorStreamInfo.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PageInfo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Playlist.php98
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistContentDetails.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItem.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemContentDetails.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemListResponse.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemSnippet.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemStatus.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistListResponse.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistLocalization.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistPlayer.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistSnippet.php105
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistStatus.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PromotedItem.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PromotedItemId.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PropertyValue.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Activities.php109
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Captions.php215
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/ChannelBanners.php62
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/ChannelSections.php190
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Channels.php126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/CommentThreads.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Comments.php151
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/FanFundingEvents.php60
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/GuideCategories.php54
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/I18nLanguages.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/I18nRegions.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveBroadcasts.php438
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatBans.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatMessages.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatModerators.php81
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveStreams.php244
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/PlaylistItems.php178
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Playlists.php211
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Search.php185
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Sponsors.php51
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Subscriptions.php136
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/SuperChatEvents.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Thumbnails.php56
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoAbuseReportReasons.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoCategories.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Videos.php315
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Watermarks.php82
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ResourceId.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchListResponse.php115
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchResult.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchResultSnippet.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Sponsor.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SponsorListResponse.php97
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SponsorSnippet.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Subscription.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionContentDetails.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionListResponse.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionSnippet.php86
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionSubscriberSnippet.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEvent.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEventListResponse.php97
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEventSnippet.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Thumbnail.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ThumbnailDetails.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ThumbnailSetResponse.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/TokenPagination.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Video.php198
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReport.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReason.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReasonListResponse.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReasonSnippet.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportSecondaryReason.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAgeGating.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategory.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategoryListResponse.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategorySnippet.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoContentDetails.php114
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoContentDetailsRegionRestriction.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetails.php105
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetailsAudioStream.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetailsVideoStream.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoGetRatingResponse.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoListResponse.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoLiveStreamingDetails.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoLocalization.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoMonetizationDetails.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoPlayer.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProcessingDetails.php94
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProcessingDetailsProcessingProgress.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProjectDetails.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoRating.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoRecordingDetails.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSnippet.php132
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoStatistics.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoStatus.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSuggestions.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSuggestionsTagSuggestion.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoTopicDetails.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/WatchSettings.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics.php240
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReport.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportDefinition.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportDefinitionList.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportList.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportOutputs.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportTimeSpan.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Group.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupContentDetails.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItem.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItemListResponse.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItemResource.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupListResponse.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupSnippet.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/BatchReportDefinitions.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/BatchReports.php45
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/GroupItems.php108
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/Groups.php142
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/Reports.php83
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/ResultTable.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/ResultTableColumnHeaders.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting.php242
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Job.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListJobsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListReportTypesResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListReportsResponse.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Media.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Report.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ReportType.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/Jobs.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/JobsReports.php77
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/Media.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/ReportTypes.php54
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/YoutubereportingEmpty.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/tests/ServiceTest.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/tests/bootstrap.php3
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/.gitattributes9
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/LICENSE203
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/README.md366
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/composer.json41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AccessToken/Revoke.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AccessToken/Verify.php269
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/AuthHandlerFactory.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/Guzzle5AuthHandler.php99
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/Guzzle6AuthHandler.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Client.php1118
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Collection.php101
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Exception.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Http/Batch.php249
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Http/MediaFileUpload.php348
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Http/REST.php182
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Model.php307
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Service.php56
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Service/Exception.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Service/README.md5
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Service/Resource.php296
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Task/Exception.php20
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Task/Retryable.php24
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Task/Runner.php281
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Utils/UriTemplate.php333
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/autoload.php21
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/.editorconfig18
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/.gitignore3
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/.php_cs54
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/.travis.yml31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/CHANGELOG.md8
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/CONTRIBUTING.md73
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/COPYING202
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/LICENSE203
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/README.md150
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/autoload.php34
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/composer.json28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/phpunit.xml.dist16
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/ApplicationDefaultCredentials.php173
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Cache/InvalidArgumentException.php24
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Cache/Item.php185
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Cache/MemoryCacheItemPool.php155
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/CacheTrait.php72
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/AppIdentityCredentials.php149
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/GCECredentials.php219
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/IAMCredentials.php89
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/ServiceAccountCredentials.php177
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php131
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/UserRefreshCredentials.php110
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/CredentialsLoader.php163
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/FetchAuthTokenCache.php108
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/FetchAuthTokenInterface.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/HttpHandler/Guzzle5HttpHandler.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/HttpHandler/Guzzle6HttpHandler.php36
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/HttpHandler/HttpHandlerFactory.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Middleware/AuthTokenMiddleware.php126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php175
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Middleware/SimpleMiddleware.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/OAuth2.php1306
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Subscriber/AuthTokenSubscriber.php118
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Subscriber/ScopedAccessTokenSubscriber.php177
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Subscriber/SimpleSubscriber.php90
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/ApplicationDefaultCredentialsTest.php299
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/BaseTest.php32
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Cache/ItemTest.php125
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Cache/MemoryCacheItemPoolTest.php189
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/CacheTraitTest.php151
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/AppIndentityCredentialsTest.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/GCECredentialsTest.php124
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/IAMCredentialsTest.php83
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/ServiceAccountCredentialsTest.php508
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/UserRefreshCredentialsTest.php228
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/FetchAuthTokenCacheTest.php146
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/FetchAuthTokenTest.php170
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/HttpHandler/Guzzle5HttpHandlerTest.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/HttpHandler/Guzzle6HttpHandlerTest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/HttpHandler/HttpHandlerFactoryTest.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Middleware/AuthTokenMiddlewareTest.php336
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Middleware/ScopedAccessTokenMiddlewareTest.php245
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Middleware/SimpleMiddlewareTest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/OAuth2Test.php858
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Subscriber/AuthTokenSubscriberTest.php325
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Subscriber/ScopedAccessTokenSubscriberTest.php238
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Subscriber/SimpleSubscriberTest.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/bootstrap.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures/.config/gcloud/application_default_credentials.json7
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures/private.json7
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures/private.pem15
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures/public.pem6
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures2/.config/gcloud/application_default_credentials.json6
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures2/private.json6
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/mocks/AppIdentityService.php19
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/CHANGELOG.md1264
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/LICENSE19
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/README.md89
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/UPGRADING.md1203
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/composer.json44
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Client.php414
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/ClientInterface.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/CookieJar.php314
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php90
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php71
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/SetCookie.php404
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/BadResponseException.php27
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ClientException.php7
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ConnectException.php37
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/GuzzleException.php4
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/RequestException.php217
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/SeekException.php27
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ServerException.php7
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php4
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/TransferException.php4
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlFactory.php559
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php27
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlHandler.php45
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php197
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/EasyHandle.php92
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/MockHandler.php189
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/Proxy.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/StreamHandler.php533
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/HandlerStack.php273
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/MessageFormatter.php182
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Middleware.php254
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Pool.php123
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php106
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/RedirectMiddleware.php237
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/RequestOptions.php255
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/RetryMiddleware.php112
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/TransferStats.php126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/UriTemplate.php241
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/functions.php331
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/functions_include.php6
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/CHANGELOG.md65
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/LICENSE19
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/Makefile13
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/README.md504
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/composer.json34
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/AggregateException.php16
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/CancellationException.php9
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/Coroutine.php151
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/EachPromise.php229
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/FulfilledPromise.php82
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/Promise.php280
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/PromiseInterface.php93
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/PromisorInterface.php15
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/RejectedPromise.php87
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/RejectionException.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/TaskQueue.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/TaskQueueInterface.php25
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/functions.php457
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/functions_include.php6
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/CHANGELOG.md110
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/LICENSE19
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/README.md739
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/composer.json39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/AppendStream.php233
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/BufferStream.php137
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/CachingStream.php138
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/DroppingStream.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/FnStream.php149
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/InflateStream.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/LazyOpenStream.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/LimitStream.php155
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/MessageTrait.php183
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/MultipartStream.php153
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/NoSeekStream.php22
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/PumpStream.php165
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/Request.php142
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/Response.php132
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/ServerRequest.php358
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/Stream.php257
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/StreamDecoratorTrait.php149
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/StreamWrapper.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/UploadedFile.php316
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/Uri.php702
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/UriNormalizer.php216
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/UriResolver.php219
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/functions.php828
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/functions_include.php6
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/.php_cs59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/CHANGELOG.md342
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/LICENSE19
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/README.md95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/composer.json66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/01-usage.md231
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/02-handlers-formatters-processors.md157
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/03-utilities.md13
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/04-extending.md76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/sockets.md39
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/phpunit.xml.dist19
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/ErrorHandler.php230
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ChromePHPFormatter.php78
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ElasticaFormatter.php89
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FlowdockFormatter.php116
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FluentdFormatter.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FormatterInterface.php36
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/GelfMessageFormatter.php138
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/HtmlFormatter.php141
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php208
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LineFormatter.php179
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LogglyFormatter.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LogstashFormatter.php166
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/MongoDBFormatter.php105
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php297
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ScalarFormatter.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/WildfireFormatter.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractHandler.php186
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractSyslogHandler.php101
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AmqpHandler.php148
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php230
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/BufferHandler.php117
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ChromePHPHandler.php211
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/CouchDBHandler.php72
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/CubeHandler.php151
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/Curl/Util.php57
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DeduplicationHandler.php169
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php45
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DynamoDbHandler.php107
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ElasticSearchHandler.php128
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php82
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FilterHandler.php140
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php34
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php163
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FirePHPHandler.php195
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FleepHookHandler.php126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FlowdockHandler.php127
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/GelfHandler.php73
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/GroupHandler.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HandlerInterface.php90
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HandlerWrapper.php108
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HipChatHandler.php350
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/IFTTTHandler.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/LogEntriesHandler.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/LogglyHandler.php102
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MailHandler.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MandrillHandler.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MissingExtensionException.php21
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MongoDBHandler.php59
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php185
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php202
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NullHandler.php45
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PHPConsoleHandler.php242
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PsrHandler.php56
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PushoverHandler.php185
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RavenHandler.php232
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RedisHandler.php97
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RollbarHandler.php132
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php178
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SamplingHandler.php82
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/Slack/SlackRecord.php294
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackHandler.php215
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackWebhookHandler.php115
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackbotHandler.php80
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SocketHandler.php346
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/StreamHandler.php176
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SwiftMailerHandler.php99
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogHandler.php67
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php56
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogUdpHandler.php103
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/TestHandler.php154
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/WhatFailureGroupHandler.php61
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ZendMonitorHandler.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Logger.php700
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/GitProcessor.php64
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php112
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php35
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryProcessor.php63
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.php35
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MercurialProcessor.php63
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/PsrLogMessageProcessor.php48
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/TagProcessor.php44
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/UidProcessor.php46
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/WebProcessor.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Registry.php134
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/ErrorHandlerTest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ChromePHPFormatterTest.php158
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ElasticaFormatterTest.php79
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/FlowdockFormatterTest.php55
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/FluentdFormatterTest.php62
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/GelfMessageFormatterTest.php258
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/JsonFormatterTest.php183
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LineFormatterTest.php222
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LogglyFormatterTest.php40
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LogstashFormatterTest.php333
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/MongoDBFormatterTest.php262
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/NormalizerFormatterTest.php423
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ScalarFormatterTest.php110
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/WildfireFormatterTest.php142
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AbstractHandlerTest.php115
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AbstractProcessingHandlerTest.php80
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AmqpHandlerTest.php136
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/BrowserConsoleHandlerTest.php130
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/BufferHandlerTest.php158
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ChromePHPHandlerTest.php156
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/CouchDBHandlerTest.php31
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DeduplicationHandlerTest.php165
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php52
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DynamoDbHandlerTest.php82
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ElasticSearchHandlerTest.php239
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ErrorLogHandlerTest.php66
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FilterHandlerTest.php170
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FingersCrossedHandlerTest.php279
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FirePHPHandlerTest.php96
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/Fixtures/.gitkeep0
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FleepHookHandlerTest.php85
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FlowdockHandlerTest.php88
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfHandlerLegacyTest.php95
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfHandlerTest.php117
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfMockMessagePublisher.php25
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GroupHandlerTest.php112
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/HandlerWrapperTest.php130
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/HipChatHandlerTest.php279
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/LogEntriesHandlerTest.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MailHandlerTest.php75
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MockRavenClient.php27
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MongoDBHandlerTest.php65
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NativeMailerHandlerTest.php111
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NewRelicHandlerTest.php200
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NullHandlerTest.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PHPConsoleHandlerTest.php273
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PsrHandlerTest.php50
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PushoverHandlerTest.php141
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RavenHandlerTest.php255
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RedisHandlerTest.php127
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RollbarHandlerTest.php84
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RotatingFileHandlerTest.php211
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SamplingHandlerTest.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/Slack/SlackRecordTest.php387
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackHandlerTest.php155
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackWebhookHandlerTest.php107
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackbotHandlerTest.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SocketHandlerTest.php309
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/StreamHandlerTest.php184
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SwiftMailerHandlerTest.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SyslogHandlerTest.php44
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SyslogUdpHandlerTest.php76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/TestHandlerTest.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/UdpSocketTest.php64
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/WhatFailureGroupHandlerTest.php121
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ZendMonitorHandlerTest.php69
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/LoggerTest.php548
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/GitProcessorTest.php29
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/IntrospectionProcessorTest.php123
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MemoryPeakUsageProcessorTest.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MemoryUsageProcessorTest.php42
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MercurialProcessorTest.php41
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/ProcessIdProcessorTest.php30
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/PsrLogMessageProcessorTest.php43
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/TagProcessorTest.php49
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/UidProcessorTest.php33
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/WebProcessorTest.php113
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/PsrLogCompatTest.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/RegistryTest.php153
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/TestCase.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/AUTHORS6
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/LICENSE21
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/README.md74
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/composer.json76
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/composer.lock1819
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/AES.php126
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Base.php2553
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php577
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/DES.php1443
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Hash.php824
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RC2.php688
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RC4.php342
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RSA.php3053
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Random.php270
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Rijndael.php936
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/TripleDES.php460
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php808
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ANSI.php574
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ASN1.php1323
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ASN1/Element.php47
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/X509.php4823
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Math/BigInteger.php3755
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SCP.php337
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SFTP.php3063
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SFTP/Stream.php795
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SSH1.php1642
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SSH2.php4397
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/System/SSH/Agent.php308
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/System/SSH/Agent/Identity.php158
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/bootstrap.php16
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/openssl.cnf6
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/CHANGELOG.md16
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/LICENSE.txt19
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/README.md9
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/composer.json25
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/src/CacheException.php10
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/src/CacheItemInterface.php105
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/src/CacheItemPoolInterface.php138
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/src/InvalidArgumentException.php13
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/CHANGELOG.md36
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/LICENSE19
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/README.md13
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/composer.json26
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/MessageInterface.php187
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/RequestInterface.php129
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/ResponseInterface.php68
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/ServerRequestInterface.php261
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/StreamInterface.php158
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/UploadedFileInterface.php123
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/UriInterface.php323
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/log/.gitignore1
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/log/LICENSE19
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/AbstractLogger.php128
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/InvalidArgumentException.php7
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LogLevel.php18
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LoggerAwareInterface.php18
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LoggerAwareTrait.php26
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LoggerInterface.php123
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LoggerTrait.php140
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/NullLogger.php28
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/Test/LoggerInterfaceTest.php140
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/log/README.md45
-rw-r--r--mayor-orig/mayor-base/www/include/share/googleapi/psr/log/composer.json26
-rw-r--r--mayor-orig/mayor-base/www/include/share/net/class.smtp.php1152
-rw-r--r--mayor-orig/mayor-base/www/include/share/net/facebook.php70
-rw-r--r--mayor-orig/mayor-base/www/include/share/net/googleapi.php65
-rw-r--r--mayor-orig/mayor-base/www/include/share/net/phpmailer.php3552
-rw-r--r--mayor-orig/mayor-base/www/include/share/net/rest.php188
-rw-r--r--mayor-orig/mayor-base/www/include/share/net/upload.php58
-rw-r--r--mayor-orig/mayor-base/www/include/share/print/pdf.php270
-rw-r--r--mayor-orig/mayor-base/www/include/share/session/accountInfo.php39
-rw-r--r--mayor-orig/mayor-base/www/include/share/session/attrs.php63
-rw-r--r--mayor-orig/mayor-base/www/include/share/session/base.php173
-rw-r--r--mayor-orig/mayor-base/www/include/share/session/close.php98
-rw-r--r--mayor-orig/mayor-base/www/include/share/ssl/ssl.php461
-rw-r--r--mayor-orig/mayor-base/www/include/share/str/hyphen.php104
-rw-r--r--mayor-orig/mayor-base/www/include/share/str/tex.php51
-rw-r--r--mayor-orig/mayor-base/www/index.php33
-rw-r--r--mayor-orig/mayor-base/www/lang/de_DE/backend/ldap/attrs.php58
-rw-r--r--mayor-orig/mayor-base/www/lang/de_DE/module-auth/login.php5
-rw-r--r--mayor-orig/mayor-base/www/lang/de_DE/module-password/changeMyPassword.php7
-rw-r--r--mayor-orig/mayor-base/www/lang/de_DE/module-password/changePassword.php7
-rw-r--r--mayor-orig/mayor-base/www/lang/de_DE/module-session/accountInfo.php3
-rw-r--r--mayor-orig/mayor-base/www/lang/de_DE/module-session/createAccount.php7
-rw-r--r--mayor-orig/mayor-base/www/lang/de_DE/module-session/createGroup.php6
-rw-r--r--mayor-orig/mayor-base/www/lang/de_DE/module-session/download.php7
-rw-r--r--mayor-orig/mayor-base/www/lang/de_DE/module-session/groupInfo.php4
-rw-r--r--mayor-orig/mayor-base/www/lang/de_DE/module-session/search/searchAccount.php19
-rw-r--r--mayor-orig/mayor-base/www/lang/de_DE/module-session/search/searchGroup.php19
-rw-r--r--mayor-orig/mayor-base/www/lang/de_DE/share/session/attrs.php17
-rw-r--r--mayor-orig/mayor-base/www/lang/en_US/backend/ldap/attrs.php58
-rw-r--r--mayor-orig/mayor-base/www/lang/en_US/base/base.php18
-rw-r--r--mayor-orig/mayor-base/www/lang/en_US/date/names.php21
-rwxr-xr-xmayor-orig/mayor-base/www/lang/en_US/module-auth/login.php5
-rw-r--r--mayor-orig/mayor-base/www/lang/en_US/module-password/changeMyPassword.php7
-rw-r--r--mayor-orig/mayor-base/www/lang/en_US/module-password/changePassword.php7
-rw-r--r--mayor-orig/mayor-base/www/lang/en_US/module-session/accountInfo.php3
-rw-r--r--mayor-orig/mayor-base/www/lang/en_US/module-session/createAccount.php7
-rw-r--r--mayor-orig/mayor-base/www/lang/en_US/module-session/createGroup.php6
-rw-r--r--mayor-orig/mayor-base/www/lang/en_US/module-session/download.php7
-rw-r--r--mayor-orig/mayor-base/www/lang/en_US/module-session/groupInfo.php4
-rw-r--r--mayor-orig/mayor-base/www/lang/en_US/module-session/search/searchAccount.php19
-rw-r--r--mayor-orig/mayor-base/www/lang/en_US/module-session/search/searchGroup.php19
-rw-r--r--mayor-orig/mayor-base/www/lang/en_US/share/session/attrs.php17
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/backend/ads/attrs.php82
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/backend/ldap/attrs.php66
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/backend/ldapng/attrs.php63
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/backend/mysql/attrs.php22
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/base/base.php51
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/date/names.php29
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/module-auth/forgotten.php24
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/module-auth/login.php19
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/module-password/changeMyPassword.php16
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/module-password/changePassword.php16
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/module-password/resetPassword.php17
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/module-session/accountInfo.php10
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/module-session/admin/knownNodes.php16
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/module-session/admin/registration.php38
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/module-session/createAccount.php15
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/module-session/createGroup.php13
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/module-session/download.php9
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/module-session/groupInfo.php10
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/module-session/search/searchAccount.php28
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/module-session/search/searchGroup.php28
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/module-session/sessionAdmin.php13
-rw-r--r--mayor-orig/mayor-base/www/lang/hu_HU/share/session/attrs.php24
-rw-r--r--mayor-orig/mayor-base/www/lang/jp_JP/date/names.php21
-rw-r--r--mayor-orig/mayor-base/www/lang/jp_JP/module-auth/login.php5
-rw-r--r--mayor-orig/mayor-base/www/lang/jp_JP/module-password/changeMyPassword.php7
-rw-r--r--mayor-orig/mayor-base/www/lang/jp_JP/module-password/changePassword.php7
-rw-r--r--mayor-orig/mayor-base/www/lang/jp_JP/module-session/accountInfo.php3
-rw-r--r--mayor-orig/mayor-base/www/lang/jp_JP/share/session/attrs.php17
-rw-r--r--mayor-orig/mayor-base/www/policy/private/password/changePassword-pre.php60
-rw-r--r--mayor-orig/mayor-base/www/policy/private/password/changePassword.php9
-rw-r--r--mayor-orig/mayor-base/www/policy/private/portal/start.php0
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/accountInfo-pre.php75
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/accountInfo.php19
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/admin/knownNodes-pre.php39
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/admin/knownNodes.php10
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/admin/registration-pre.php123
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/admin/registration.php16
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/createAccount-pre.php110
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/createAccount.php12
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/createGroup-pre.php49
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/createGroup.php12
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/download-pre.php66
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/download.php9
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/eduroam-pre.php5
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/eduroam.php0
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/facebookConnect-pre.php91
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/facebookConnect.php7
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/googleapi-pre.php100
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/googleapi.php28
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/groupInfo-pre.php43
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/groupInfo.php12
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/search/searchAccount-pre.php29
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/search/searchAccount.php16
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/search/searchGroup-pre.php25
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/search/searchGroup.php16
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/session-pre.php5
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/session.php0
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/sessionAdmin-pre.php24
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/sessionAdmin.php9
-rw-r--r--mayor-orig/mayor-base/www/policy/public/auth/forgotten-pre.php92
-rw-r--r--mayor-orig/mayor-base/www/policy/public/auth/forgotten.php16
-rw-r--r--mayor-orig/mayor-base/www/policy/public/auth/login-pre.php86
-rw-r--r--mayor-orig/mayor-base/www/policy/public/auth/login.php17
-rw-r--r--mayor-orig/mayor-base/www/policy/public/password/changeMyPassword-pre.php72
-rw-r--r--mayor-orig/mayor-base/www/policy/public/password/changeMyPassword.php9
-rw-r--r--mayor-orig/mayor-base/www/policy/public/password/resetPassword-pre.php68
-rw-r--r--mayor-orig/mayor-base/www/policy/public/password/resetPassword.php9
-rw-r--r--mayor-orig/mayor-base/www/policy/public/portal/rpc/rpc-pre.php104
-rw-r--r--mayor-orig/mayor-base/www/policy/public/portal/start.php0
-rw-r--r--mayor-orig/mayor-base/www/policy/public/rpc/rpc-pre.php43
-rw-r--r--mayor-orig/mayor-base/www/policy/public/session/logout-pre.php29
-rw-r--r--mayor-orig/mayor-base/www/policy/public/session/set-pre.php10
-rw-r--r--mayor-orig/mayor-base/www/skin/ajax/base/html/alert.phtml25
-rw-r--r--mayor-orig/mayor-base/www/skin/ajax/base/html/base.phtml101
-rw-r--r--mayor-orig/mayor-base/www/skin/api/base/html/alert.phtml13
-rw-r--r--mayor-orig/mayor-base/www/skin/api/base/html/base.phtml11
-rw-r--r--mayor-orig/mayor-base/www/skin/blue/base/color_schemes.php93
-rw-r--r--mayor-orig/mayor-base/www/skin/blue/base/css/base.css209
-rw-r--r--mayor-orig/mayor-base/www/skin/blue/base/css/base.php212
-rw-r--r--mayor-orig/mayor-base/www/skin/blue/base/html/base.phtml401
-rw-r--r--mayor-orig/mayor-base/www/skin/blue/base/img/favicon.icobin0 -> 1406 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/blue/base/img/mayor_small_ssl.pngbin0 -> 6178 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/blue/base/img/mayor_small_ssl.png.origbin0 -> 8648 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/blue/module-auth/css/login.css46
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/css/base.css753
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/html/alert.phtml85
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/html/base.phtml618
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/Eduroam_Logo.svg2063
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/ajaxLoad.gifbin0 -> 847 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/alert.pngbin0 -> 3425 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/favicon.icobin0 -> 318 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/flags/de_DE.gifbin0 -> 124 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/flags/en_US.gifbin0 -> 170 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/flags/hu_HU.gifbin0 -> 106 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/flags/jp_JP.gifbin0 -> 573 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/gradient.jpgbin0 -> 1419 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/gradient.pngbin0 -> 515 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl-flip.pngbin0 -> 4536 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl-marc15.pngbin0 -> 5324 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl-santa.pngbin0 -> 4765 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl.gifbin0 -> 1703 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl.jpgbin0 -> 1084 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl.pngbin0 -> 6178 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/policy/parent.gifbin0 -> 977 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/policy/parent100.gifbin0 -> 4235 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/policy/parent100.pngbin0 -> 4182 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/policy/private.gifbin0 -> 923 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/policy/private100.gifbin0 -> 1807 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/policy/private100.pngbin0 -> 13017 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/policy/public.gifbin0 -> 269 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/policy/public100.gifbin0 -> 6321 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/img/policy/public100.pngbin0 -> 6305 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/javascript/base.jquery.min.js977
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/javascript/jquery-1.8.3.min.js2
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/javascript/jquery.min.js5
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/base/javascript/noiframe.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-auth/css/forgotten.css66
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-auth/css/login.css108
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-auth/html/forgotten.phtml103
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-auth/html/login.phtml77
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-auth/img/login.gifbin0 -> 1807 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-auth/javascript/forgotten.jquery.min.js19
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-auth/javascript/login.jquery.min.js24
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-password/css/password.css19
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-password/html/changeMyPassword.phtml76
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-password/html/changePassword.phtml89
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-password/html/resetPassword.phtml79
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-password/javascript/changeMyPassword.jquery.min.js27
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/css/accountInfo.css112
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/css/admin/knownNodes.css14
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/css/admin/registration.css54
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/css/createAccount.css24
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/css/createGroup.css13
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/css/download.css9
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/css/facebookConnect.css25
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/css/googleapi.css24
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/css/groupInfo.css96
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/css/search/searchAccount.css31
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/css/search/searchGroup.css44
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/css/sessionAdmin.css12
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/html/accountInfo.phtml339
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/html/admin/knownNodes.phtml70
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/html/admin/registration.phtml270
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/html/createAccount.phtml107
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/html/createGroup.phtml90
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/html/download.phtml32
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/html/facebookConnect.phtml53
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/html/googleapi.phtml45
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/html/groupInfo.phtml5
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/html/search/searchAccount.phtml126
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/html/search/searchGroup.phtml103
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/html/sessionAdmin.phtml58
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/img/download.gifbin0 -> 1516 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/javascript/createAccount.jquery.min.js13
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/javascript/facebookConnect.jquery.min.js31
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/module-session/javascript/googleapi.jquery.min.js30
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/aac.pngbin0 -> 1318 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ai.pngbin0 -> 1063 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/aiff.pngbin0 -> 1221 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/avi.pngbin0 -> 1184 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/bmp.pngbin0 -> 1162 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/c.pngbin0 -> 592 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/css.pngbin0 -> 1198 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dat.pngbin0 -> 782 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dmg.pngbin0 -> 1152 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/doc.pngbin0 -> 1285 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dotx.pngbin0 -> 1195 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dwg.pngbin0 -> 1466 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dxf.pngbin0 -> 1419 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/eps.pngbin0 -> 1167 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/exe.pngbin0 -> 1227 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/flv.pngbin0 -> 1208 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/gif.pngbin0 -> 1147 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/h.pngbin0 -> 550 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/hpp.pngbin0 -> 671 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/html.pngbin0 -> 1001 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ics.pngbin0 -> 1360 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/iso.pngbin0 -> 1271 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/java.pngbin0 -> 1173 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/jpg.pngbin0 -> 1151 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/key.pngbin0 -> 1048 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/mid.pngbin0 -> 1214 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/mp3.pngbin0 -> 1291 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/mp4.pngbin0 -> 1249 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/mpg.pngbin0 -> 1254 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/odf.pngbin0 -> 924 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/odt.pngbin0 -> 1011 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/otp.pngbin0 -> 925 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ots.pngbin0 -> 1034 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ott.pngbin0 -> 1009 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/pdf.pngbin0 -> 1208 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/php.pngbin0 -> 1056 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/png.pngbin0 -> 1263 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ppt.pngbin0 -> 942 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/psd.pngbin0 -> 1236 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/py.pngbin0 -> 995 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/qt.pngbin0 -> 1164 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/rar.pngbin0 -> 1161 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/rb.pngbin0 -> 1052 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/rtf.pngbin0 -> 755 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/sql.pngbin0 -> 1235 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/tga.pngbin0 -> 1192 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/tgz.pngbin0 -> 1128 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/tiff.pngbin0 -> 1107 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/txt.pngbin0 -> 747 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/wav.pngbin0 -> 1326 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/xls.pngbin0 -> 1185 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/xlsx.pngbin0 -> 1217 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/xml.pngbin0 -> 1165 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/yml.pngbin0 -> 758 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/zip.pngbin0 -> 1077 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/MIT-LICENSE20
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/README10
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/blank_iframe.html2
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/images/calendar_date_select/calendar.gifbin0 -> 581 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/calendar_date_select.js430
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_american.js34
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_db.js27
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_euro_24hr.js7
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_finnish.js24
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_hyphen_ampm.js36
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_iso_date.js46
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_italian.js24
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_mayor.js42
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/fi.js10
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/hu.js10
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/jp.js10
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/pl.js10
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/blue.css130
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/default.css135
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/plain.css128
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/red.css135
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/silver.css133
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/ColReorder.min.js33
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/css/ColReorder.css21
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/css/jquery.dataTables.css221
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/back_disabled.pngbin0 -> 1361 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/back_enabled.pngbin0 -> 1379 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/back_enabled_hover.pngbin0 -> 1375 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/forward_disabled.pngbin0 -> 1363 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/forward_enabled.pngbin0 -> 1380 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/forward_enabled_hover.pngbin0 -> 1379 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/insert.pngbin0 -> 1885 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_asc.pngbin0 -> 1118 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_asc_disabled.pngbin0 -> 1050 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_both.pngbin0 -> 1136 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_desc.pngbin0 -> 1127 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_desc_disabled.pngbin0 -> 1045 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/unchecked.gifbin0 -> 223 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/jquery.dataTables.columnFilter.js365
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/jquery.dataTables.min.js155
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/animated-overlay.gifbin0 -> 1738 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_flat_0_aaaaaa_40x100.pngbin0 -> 180 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_flat_75_ffffff_40x100.pngbin0 -> 178 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_55_fbf9ee_1x400.pngbin0 -> 120 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_65_ffffff_1x400.pngbin0 -> 105 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_75_dadada_1x400.pngbin0 -> 111 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_75_e6e6e6_1x400.pngbin0 -> 110 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_95_fef1ec_1x400.pngbin0 -> 119 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_highlight-soft_75_cccccc_1x100.pngbin0 -> 101 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_222222_256x240.pngbin0 -> 4369 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_2e83ff_256x240.pngbin0 -> 4369 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_454545_256x240.pngbin0 -> 4369 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_888888_256x240.pngbin0 -> 4369 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_cd0a0a_256x240.pngbin0 -> 4369 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/jquery-ui-timepicker-addon.css10
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/jquery-ui.min.css4
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/i18n/jquery-ui-i18n.min.js6
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/i18n/jquery-ui-timepicker-hu.js21
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/i18n/jquery.ui.datepicker-hu.min.js4
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/jquery-ui-timepicker-addon.js2128
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/jquery-ui.min.js12
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/changelog.txt81
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/custom1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_arrow.php101
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_back.pngbin0 -> 827 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_cellid.php62
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_checkpw.php169
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_deleteimage.php43
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_download.php32
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_explorer.php301
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_flip.php52
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_fullimg.php231
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_getcustomsettings.php25
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_getsetsettings.php161
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_getuploadinfo.php76
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_basic.php635
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_changeorder.php593
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_delete.php425
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_explorer.php349
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_framework.php1070
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_managefolders.php266
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_settings.php530
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_upload.php611
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_view.php1789
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_koschtit.php404
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_loading.gifbin0 -> 477 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_makepic.php317
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_managefolders.php122
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_mouse_help.pngbin0 -> 1463 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_close.pngbin0 -> 478 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_download.pngbin0 -> 499 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_full.pngbin0 -> 450 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_globe.pngbin0 -> 593 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_info.pngbin0 -> 398 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_link.pngbin0 -> 524 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_next.pngbin0 -> 328 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_play.pngbin0 -> 338 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_prev.pngbin0 -> 328 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_stop.pngbin0 -> 239 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_vcomm.pngbin0 -> 377 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_next.pngbin0 -> 861 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_noimage.gifbin0 -> 43 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nojs.php447
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nojsdisplayimage.php427
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_online_docu.jpgbin0 -> 21653 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_preview.php240
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_savecomment.php65
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_saveneworder.php129
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_savesquarethumb.php101
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_shade.php41
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_upload.php243
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_vcomm.php221
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/kos-epulet_dir2
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/kos-epulet_lastmodified4
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/mayor logo_dir2
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/mayor logo_lastmodified4
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_config/ki_setup.php96
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_config/kos-epulet_ki_setup.php96
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_include.php306
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/readme.txt61
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/MIT-LICENSE20
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/builder.js136
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/controls.js965
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/dragdrop.js974
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/effects.js1123
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/scriptaculous.js68
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/slider.js275
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/sound.js59
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/unittest.js568
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/langs/de.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/langs/en.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/langs/hu.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/langs/ja.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/license.txt504
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/css/advhr.css5
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/editor_plugin_src.js57
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/js/rule.js43
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/de_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/en_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/hu_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/ja_dlg.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/rule.htm58
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/css/advimage.css13
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/editor_plugin_src.js50
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/image.htm235
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/img/sample.gifbin0 -> 1624 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/js/image.js464
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/de_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/en_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/hu_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/ja_dlg.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/css/advlink.css8
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/editor_plugin_src.js61
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/js/advlink.js543
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/de_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/en_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/hu_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/ja_dlg.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/link.htm338
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlist/editor_plugin.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlist/editor_plugin_src.js176
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autolink/editor_plugin.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autolink/editor_plugin_src.js184
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autoresize/editor_plugin.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autoresize/editor_plugin_src.js119
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/editor_plugin_src.js433
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/langs/en.js4
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/bbcode/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/bbcode/editor_plugin_src.js120
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/contextmenu/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/contextmenu/editor_plugin_src.js163
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/directionality/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/directionality/editor_plugin_src.js85
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/editor_plugin_src.js43
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/emotions.htm42
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-cool.gifbin0 -> 354 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-cry.gifbin0 -> 329 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-embarassed.gifbin0 -> 331 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gifbin0 -> 342 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-frown.gifbin0 -> 340 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-innocent.gifbin0 -> 336 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-kiss.gifbin0 -> 338 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-laughing.gifbin0 -> 343 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-money-mouth.gifbin0 -> 321 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-sealed.gifbin0 -> 323 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-smile.gifbin0 -> 344 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-surprised.gifbin0 -> 338 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-tongue-out.gifbin0 -> 328 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-undecided.gifbin0 -> 337 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-wink.gifbin0 -> 350 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-yell.gifbin0 -> 336 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/js/emotions.js43
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/de_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/en_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/hu_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/ja_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/dialog.htm22
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/editor_plugin.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/editor_plugin_src.js84
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/img/example.gifbin0 -> 87 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/js/dialog.js19
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/langs/en.js3
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/langs/en_dlg.js3
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example_dependency/editor_plugin.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example_dependency/editor_plugin_src.js50
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/css/fullpage.css143
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/editor_plugin_src.js405
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/fullpage.htm259
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/js/fullpage.js232
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/de_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/en_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/hu_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/ja_dlg.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/editor_plugin_src.js159
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/fullscreen.htm110
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/iespell/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/iespell/editor_plugin_src.js54
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/editor_plugin_src.js699
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gifbin0 -> 810 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gifbin0 -> 272 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gifbin0 -> 1195 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gifbin0 -> 907 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gifbin0 -> 909 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gifbin0 -> 769 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gifbin0 -> 84 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css90
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/template.htm387
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/insertdatetime/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/insertdatetime/editor_plugin_src.js83
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/layer/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/layer/editor_plugin_src.js262
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/legacyoutput/editor_plugin.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/legacyoutput/editor_plugin_src.js139
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/lists/editor_plugin.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/lists/editor_plugin_src.js955
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/css/media.css17
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/editor_plugin_src.js898
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/js/embed.js73
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/js/media.js503
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/de_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/en_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/hu_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/ja_dlg.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/media.htm922
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/moxieplayer.swfbin0 -> 19980 bytes
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/nonbreaking/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/nonbreaking/editor_plugin_src.js54
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/noneditable/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/noneditable/editor_plugin_src.js537
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/pagebreak/editor_plugin.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/pagebreak/editor_plugin_src.js74
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/editor_plugin_src.js885
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/js/pastetext.js36
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/js/pasteword.js51
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/de_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/en_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/hu_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/ja_dlg.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/pastetext.htm27
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/pasteword.htm21
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/editor_plugin_src.js53
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/example.html28
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/jscripts/embed.js73
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/preview.html17
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/print/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/print/editor_plugin_src.js34
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/save/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/save/editor_plugin_src.js101
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/css/searchreplace.css6
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/editor_plugin_src.js61
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/js/searchreplace.js142
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/de_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/en_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/hu_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/ja_dlg.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/searchreplace.htm100
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/css/content.css1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/editor_plugin.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/editor_plugin_src.js436
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/img/wline.gifbin0 -> 46 bytes
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/css/props.css14
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/editor_plugin_src.js71
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/js/props.js709
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/de_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/en_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/hu_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/ja_dlg.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/props.htm845
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/readme.txt19
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/tabfocus/editor_plugin.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/tabfocus/editor_plugin_src.js122
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/cell.htm180
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/cell.css17
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/row.css25
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/table.css13
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/editor_plugin_src.js1452
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/cell.js319
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/merge_cells.js27
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/row.js237
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/table.js501
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/de_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/en_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/hu_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/ja_dlg.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/merge_cells.htm32
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/row.htm158
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/table.htm188
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/blank.htm12
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/css/template.css23
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/editor_plugin_src.js159
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/js/template.js106
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/de_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/en_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/hu_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/ja_dlg.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/template.htm31
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/css/visualblocks.css21
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/editor_plugin.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/editor_plugin_src.js63
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualchars/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualchars/editor_plugin_src.js83
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/wordcount/editor_plugin.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/wordcount/editor_plugin_src.js122
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/abbr.htm142
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/acronym.htm142
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/attributes.htm149
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/cite.htm142
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/css/attributes.css11
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/css/popup.css9
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/del.htm162
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js132
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/ins.htm162
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/abbr.js28
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/acronym.js28
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/attributes.js111
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/cite.js28
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/del.js53
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/element_common.js229
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/ins.js53
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/hu_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/ja_dlg.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/about.htm52
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/anchor.htm26
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/charmap.htm55
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/color_picker.htm70
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/editor_template.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/editor_template_src.js1490
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/image.htm80
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/colorpicker.jpgbin0 -> 2584 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/flash.gifbin0 -> 239 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/icons.gifbin0 -> 11982 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/iframe.gifbin0 -> 600 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/pagebreak.gifbin0 -> 325 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/quicktime.gifbin0 -> 301 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/realmedia.gifbin0 -> 439 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/shockwave.gifbin0 -> 384 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/trans.gifbin0 -> 43 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/video.gifbin0 -> 597 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/windowsmedia.gifbin0 -> 415 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/about.js73
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/anchor.js56
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/charmap.js363
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/color_picker.js345
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/image.js253
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/link.js159
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/source_editor.js78
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/de.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/de_dlg.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/en.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/en_dlg.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/hu.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/hu_dlg.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/ja.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/ja_dlg.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/link.htm57
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/shortcuts.htm47
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/content.css50
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/dialog.css118
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/buttons.pngbin0 -> 3133 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/items.gifbin0 -> 64 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gifbin0 -> 68 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/menu_check.gifbin0 -> 70 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/progress.gifbin0 -> 1787 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/tabs.gifbin0 -> 1322 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/ui.css219
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/content.css24
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/dialog.css106
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/ui.css106
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/content.css48
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/dialog.css118
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.pngbin0 -> 2766 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.pngbin0 -> 651 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.pngbin0 -> 2084 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui.css222
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui_black.css8
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css5
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/source_editor.htm25
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/editor_template.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/editor_template_src.js84
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/img/icons.gifbin0 -> 806 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/de.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/en.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/hu.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/ja.js1
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/default/content.css25
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/default/ui.css32
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/content.css17
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/img/button_bg.pngbin0 -> 5102 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/ui.css35
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/tiny_mce.js1
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/tiny_mce_popup.js5
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/tiny_mce_src.js18988
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/utils/editable_selects.js70
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/utils/form_utils.js210
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/utils/mctabs.js162
-rwxr-xr-xmayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/utils/validate.js252
-rw-r--r--mayor-orig/mayor-base/www/skin/cron/base/html/alert.phtml6
-rw-r--r--mayor-orig/mayor-base/www/skin/cron/base/html/base.phtml56
-rw-r--r--mayor-orig/mayor-base/www/skin/default/base/css/Elusive-Icons.eotbin0 -> 41988 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/default/base/css/Elusive-Icons.svg298
-rw-r--r--mayor-orig/mayor-base/www/skin/default/base/css/Elusive-Icons.ttfbin0 -> 41804 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/default/base/css/Elusive-Icons.woffbin0 -> 76072 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/default/base/css/elusive-webfont.css891
-rw-r--r--mayor-orig/mayor-base/www/skin/default/base/html/base.phtml464
-rw-r--r--mayor-orig/mayor-base/www/skin/gray/base/css/base.css678
-rw-r--r--mayor-orig/mayor-base/www/skin/oldschool/base/css/base.css86
-rw-r--r--mayor-orig/mayor-base/www/skin/oldschool/base/css/head.css149
-rw-r--r--mayor-orig/mayor-base/www/skin/oldschool/base/html/base.phtml337
-rw-r--r--mayor-orig/mayor-base/www/skin/oldschool/base/img/mayor_small_ssl.pngbin0 -> 3779 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/oldschool/module-auth/css/login.css45
-rw-r--r--mayor-orig/mayor-base/www/skin/pda/base/css/base.css182
-rw-r--r--mayor-orig/mayor-base/www/skin/pda/base/html/alert.phtml85
-rw-r--r--mayor-orig/mayor-base/www/skin/pda/base/html/base.phtml240
-rw-r--r--mayor-orig/mayor-base/www/skin/pda/module-auth/css/login.css4
-rw-r--r--mayor-orig/mayor-base/www/skin/pda/module-auth/html/login.phtml60
-rw-r--r--mayor-orig/mayor-base/www/skin/rpc/base/html/alert.phtml56
-rw-r--r--mayor-orig/mayor-base/www/skin/rpc/base/html/base.phtml23
-rw-r--r--mayor-orig/mayor-base/www/skin/sulix/base/css/base.css268
-rw-r--r--mayor-orig/mayor-base/www/skin/sulix/base/html/base.phtml332
-rw-r--r--mayor-orig/mayor-base/www/skin/sulix/base/img/bejelentkezes_gomb_140x26.pngbin0 -> 3447 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/sulix/base/img/bejelentkezes_gomb_66x28.pngbin0 -> 3712 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/sulix/base/img/favicon.icobin0 -> 1150 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/sulix/base/img/fur.pngbin0 -> 167469 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/sulix/base/img/mayor_small_ssl.pngbin0 -> 38044 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/sulix/base/img/powered_by_mayor.pngbin0 -> 3874 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/sulix/base/img/powered_by_mayor_small.pngbin0 -> 4361 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/sulix/module-auth/css/login.css89
-rw-r--r--mayor-orig/mayor-base/www/skin/sulix/module-auth/html/login.phtml79
-rw-r--r--mayor-orig/mayor-base/www/skin/sulix/module-naplo/css/admin/tanevek.css17
-rw-r--r--mayor-orig/mayor-base/www/skin/sulix/module-naplo/css/naplo.css84
-rw-r--r--mayor-orig/mayor-base/www/skin/sulix/module-naplo/css/orarend/orarendTeremModositas.css8
-rw-r--r--mayor-orig/mayor-base/www/skin/sulix/module-password/css/password.css43
-rw-r--r--mayor-orig/mayor-base/www/skin/sulix/share/css/calendar_date_select.css139
-rw-r--r--mayor-orig/mayor-base/www/skin/sza2010/base/css/base.css85
-rw-r--r--mayor-orig/mayor-base/www/skin/sza2010/base/css/head.css153
-rw-r--r--mayor-orig/mayor-base/www/skin/sza2010/base/html/alert.phtml68
-rw-r--r--mayor-orig/mayor-base/www/skin/sza2010/base/html/base.phtml310
-rw-r--r--mayor-orig/mayor-base/www/skin/sza2010/base/img/bg.pngbin0 -> 83991 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/sza2010/base/img/foot.orig.pngbin0 -> 104928 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/sza2010/base/img/foot.pngbin0 -> 59467 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/sza2010/base/img/mayor_small_ssl.pngbin0 -> 4815 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/sza2010/base/img/meghivo.pngbin0 -> 212148 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/teszt/base/css/base.css288
-rw-r--r--mayor-orig/mayor-base/www/skin/teszt/base/html/base.phtml407
-rw-r--r--mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR-star_medium.pngbin0 -> 1548 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR-star_small.pngbin0 -> 832 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR_elektronikus_naplo.pngbin0 -> 6623 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR_rypple.pngbin0 -> 1184 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR_star.pngbin0 -> 907 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/teszt/base/img/mayor_small_ssl.pngbin0 -> 6178 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/teszt/base/img/school_logo.php91
-rw-r--r--mayor-orig/mayor-base/www/skin/teszt/base/img/settings.pngbin0 -> 4335 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/teszt/module-auth/css/login.css46
-rw-r--r--mayor-orig/mayor-base/www/skin/vakbarat/base/css/base.css175
-rw-r--r--mayor-orig/mayor-base/www/skin/vakbarat/base/html/base.phtml231
-rw-r--r--mayor-orig/mayor-base/www/skin/vakbarat/module-auth/css/login.css9
-rw-r--r--mayor-orig/mayor-base/www/skin/vakbarat/module-auth/html/login.phtml55
-rw-r--r--mayor-orig/mayor-base/www/skin/winter/base/css/base.css85
-rw-r--r--mayor-orig/mayor-base/www/skin/winter/base/css/head.css154
-rw-r--r--mayor-orig/mayor-base/www/skin/winter/base/html/base.phtml314
-rw-r--r--mayor-orig/mayor-base/www/skin/winter/base/img/bg.gifbin0 -> 3195 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/winter/base/img/bg2.gifbin0 -> 3871 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/winter/base/img/bg2.jpgbin0 -> 8596 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/winter/base/img/mayor_small_ssl.gifbin0 -> 1703 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/winter/base/img/mayor_small_winter.gifbin0 -> 2761 bytes
-rw-r--r--mayor-orig/mayor-base/www/skin/winter/module-auth/css/login.css39
-rw-r--r--mayor-orig/mayor-base/www/static/hu_HU/legal/pp.html22
-rw-r--r--mayor-orig/mayor-base/www/static/hu_HU/session/admin/registration/readme.html47
-rw-r--r--mayor-orig/mayor-base/www/update.php47
6533 files changed, 660515 insertions, 0 deletions
diff --git a/mayor-orig/mayor-base/bin/backup.sh b/mayor-orig/mayor-base/bin/backup.sh
new file mode 100644
index 00000000..46a11f4b
--- /dev/null
+++ b/mayor-orig/mayor-base/bin/backup.sh
@@ -0,0 +1,192 @@
+#!/bin/bash
+
+OPT_SPEC="hf:d::"
+LONG_OPT_SPEC="help,file:,backup-file:,dir:,backup-dir::"
+PARSED_OPTIONS=$(getopt -n "$0" -a -o $OPT_SPEC --long $LONG_OPT_SPEC -- "$@")
+OPTIONS_RET=$?
+eval set -- "$PARSED_OPTIONS"
+
+help_usage() {
+cat <<EOF
+
+Backup használata: mayor backup [opciók]
+
+A parancs segítségével menthetjük a MaYoR rendszer adatbázisait, aktuális forrását és
+beállításait. A mentés alapértelmezetten az aktuális dátum alapján lesz elnevezve
+"YYYYmmdd.tgz" alakban (pl. $DATE.tgz).
+
+A mentési könyvtár, a szükséges jelszavak és egyéb mentési paraméterek beállításait a
+/etc/mayor/main.conf állományban kell megadni.
+
+Opciók:
+ -h, --help: A parancs leírása (amit most olvasol...)
+ -f, --file, --backup-file: A mentési állomány neve
+ -d, --dir, --backup-dir: A mentési könyvtár elérési útja
+
+EOF
+}
+
+#if [ $OPTIONS_RET -ne 0 ] || [ $# -le 1 ]; then help_usage; exit; fi
+if [ $OPTIONS_RET -ne 0 ]; then help_usage; exit; fi
+
+BACKUPFILE="$DATE"
+while [ $# -ge 1 ]; do
+ case $1 in
+ --help | -h ) help_usage
+ exit
+ ;;
+
+ --backup-file | --file | -f ) shift
+ BACKUPFILE="$1"
+ echo "Backup fájl: $BACKUPFILE"
+ ;;
+
+ --backup-dir | --dir | -d ) shift
+ BACKUPDIR="$1"
+ echo "Backup könyvtár: $BACKUPDIR"
+ ;;
+
+ -- ) shift
+ break
+ ;;
+
+ * ) echo "HIBA: ismeretlen opció: $1" # ide elvileg sose jutunk, mert a getopts már kiszűrte a hibás paramétereket...
+ exit
+ ;;
+ esac
+ shift
+done
+
+###########################
+
+if [ -z $BACKUPDIR ]; then
+ if [ -f ../config/backup.conf ]; then
+ echo "WARNING: elavult konfigurációs állomány! (backup.conf)"
+ echo " A frissítési rendszer a korábbi backup.conf és update.conf állományok helyett"
+ echo " egy új, rögzített helyen lévő állományt használ: /etc/mayor/main.conf"
+ echo " Most - ennek hiányában - a régebbi állományt használjuk"
+ . ../config/backup.conf
+ else
+ echo -e "\n\nERROR: Hiányzó konfigurációs file: ../config/backup.conf"
+ pwd
+ exit 11
+ fi
+fi
+
+##
+# A könyvtárak létrehozása
+##
+
+if [ ! -e $BACKUPDIR ]; then
+ mkdir $BACKUPDIR > /dev/null 2>&1
+ if [ $? -ne 0 ]; then
+ echo "Nem sikerült a ${BACKUPDIR} könyvtárat létrehozni!"
+ echo "MaYoR Backup failure!"
+ exit 1
+ fi
+fi
+chown $WEB_SERVER_USER $BACKUPDIR
+chmod 700 $BACKUPDIR
+
+if [ -e $BACKUPDIR/$BACKUPFILE.tgz ]; then
+ echo -e "\n\nERROR: már volt mentés: $BACKUPDIR/$BACKUPFILE.tgz\n"
+ exit 1
+fi
+mkdir $BACKUPDIR/$BACKUPFILE
+chown $WEB_SERVER_USER $BACKUPDIR/$BACKUPFILE
+chmod 700 $BACKUPDIR/$BACKUPFILE
+
+##
+# mysql adatbázis mentése
+##
+
+if [ "$MYSQL_HOST" == "" ]; then
+ MYSQL_HOST="localhost"
+fi
+
+if [ -f $MYSQL ]; then
+ DATABASES=''
+ for DB in `echo 'SHOW DATABASES' | mysql -h$MYSQL_HOST -p$MYSQL_PW -u$MYSQL_USER`; do
+ if [[ ! $EXCLUDED_DBS =~ .*$DB.* ]] && { [[ $DB =~ ^mayor.* ]] || [[ $DB =~ ^naplo.* ]] || [[ $DB =~ ^intezmeny.* ]]; } then
+ DATABASES="$DATABASES $DB"
+ fi
+ done
+
+else
+ echo -e "\n\nERROR: A mysql kliens nem található: $MYSQL\n"
+ exit 2
+fi
+
+for DATABASE in $DATABASES; do
+ mysqldump -R -h$MYSQL_HOST -p$MYSQL_PW -u$MYSQL_USER $DATABASE >> $BACKUPDIR/$BACKUPFILE/$DATABASE.sql
+done
+
+##
+# A honlap mentése
+##
+
+mkdir $BACKUPDIR/$BACKUPFILE/log
+cp -a $BASEDIR/log/revision $BACKUPDIR/$BACKUPFILE/log/revision
+cp -a $BASEDIR/www $BACKUPDIR/$BACKUPFILE/www
+cp -a $BASEDIR/config $BACKUPDIR/$BACKUPFILE/config
+
+
+if [ "$SAVELDAP" == 1 ]; then
+
+ ##
+ # Az LDAP adatbázis
+ ##
+
+ /etc/init.d/slapd stop
+ sleep 1
+
+ slapcat -b $BASEDN -l $BACKUPDIR/$BACKUPFILE/ldap.ldif
+
+ cp -a $LDAPDBDIR $BACKUPDIR/$BACKUPFILE/ldap
+
+ /etc/init.d/slapd start
+
+ ##
+ # LDAP konfig file-ok mentése (schema)
+ ##
+
+ mkdir $BACKUPDIR/$BACKUPFILE/etc
+ cp -a $LDAPCONFDIR $BACKUPDIR/$BACKUPFILE/etc/
+
+fi
+
+##
+# Becsomagolás
+##
+
+cd $BACKUPDIR
+## Ez a korábbi szerintem hibás:
+## tar cfz ${BACKUPFILE}.tgz ${DATE}
+tar cfz ${BACKUPFILE}.tgz ${BACKUPFILE}
+rm -rf $BACKUPFILE
+#Debian6 inkompatibilis: tar cfz ${BACKUPFILE}.tgz --remove-files ${BACKUPFILE}
+
+##
+# Mentés átmásolása másik szerverre
+# rsync # Losonci János kiegészítése (losy@agymk.sulinet.hu)
+##
+
+if [ "$RSYNC" == 1 ]; then
+ RSYNCBIN=`which rsync`
+ if [ "$RSYNCBIN" != "" ]; then
+ echo $RSYNCBIN -auvE $BACKUPDIR/ $RUSER@$RHOST:$RPATH/
+ $RSYNCBIN -auvE $BACKUPDIR/ $RUSER@$RHOST:$RPATH/
+ if [ $? -ne 0 ]; then
+ echo "rsync error!"
+ fi
+ fi
+fi
+
+##
+# Elavult mentés törlése
+##
+
+declare -i BDAYS=BACKUPDAYS
+if [ $BDAYS -gt 0 ]; then
+ find $BACKUPDIR -mtime +$BDAYS -exec rm {} \;
+fi
diff --git a/mayor-orig/mayor-base/bin/crypt-backup.sh b/mayor-orig/mayor-base/bin/crypt-backup.sh
new file mode 100644
index 00000000..11e10a27
--- /dev/null
+++ b/mayor-orig/mayor-base/bin/crypt-backup.sh
@@ -0,0 +1,144 @@
+#!/bin/bash
+#
+# Example: mayor crypt-backup --backup-file=/tmp/wiki.tgz
+# Az eredmény a $BACKUPDIR/$DATE-crypt.tgz állományba kerül
+# (Vagy jobb lenne, ha a file nevéből venné a nevét?)
+#
+# TODO: ellenőrizni kell még, hogy van-e openssl és aespipe
+#
+
+OPT_SPEC="hf:d::"
+LONG_OPT_SPEC="help,file:,backup-file:,dir:,backup-dir::"
+PARSED_OPTIONS=$(getopt -n "$0" -a -o $OPT_SPEC --long $LONG_OPT_SPEC -- "$@")
+OPTIONS_RET=$?
+eval set -- "$PARSED_OPTIONS"
+
+help_usage() {
+cat <<EOF
+
+Crypt-backup használata: mayor crypt-backup [opciók]
+
+A parancs segítségével titkosíthatjuk meglévő mentési állományunkat. Az így kapott
+állomány akár nyilvános tárhelyen is tárolható, kibontásához az intézmény privát
+kulcsa szükséges.
+A script alapértelmezetten az aktuális dátum alapján elnevezett mentési állományt
+keres: "YYYYmmdd.tgz" alakban (pl. $DATE.tgz), ebből készít "YYYYmmdd-crypt.tgz"
+nevű állományt (pl. ${DATE}-crypt.tgz).
+
+A mentési könyvtár, a szükséges jelszavak és egyéb mentési paraméterek beállításait a
+/etc/mayor/main.conf állományban kell megadni.
+
+Opciók:
+ -h, --help: A parancs leírása (amit most olvasol...)
+ -f, --file, --backup-file: A mentési állomány neve
+ -d, --dir, --backup-dir: A mentési könyvtár elérési útja
+
+EOF
+}
+
+#if [ $OPTIONS_RET -ne 0 ] || [ $# -le 1 ]; then help_usage; exit; fi
+if [ $OPTIONS_RET -ne 0 ]; then help_usage; exit; fi
+
+BACKUPFILE="$DATE"
+while [ $# -ge 1 ]; do
+ case $1 in
+ --help | -h ) help_usage
+ exit
+ ;;
+
+ --backup-file | --file | -f ) shift
+ BACKUPFILE="$1"
+ echo "Backup fájl: $BACKUPFILE"
+ ;;
+
+ --backup-dir | --dir | -d ) shift
+ BACKUPDIR="$1"
+ echo "Backup könyvtár: $BACKUPDIR"
+ ;;
+
+ -- ) shift
+ break
+ ;;
+
+ * ) echo "HIBA: ismeretlen opció: $1" # ide elvileg sose jutunk, mert a getopts már kiszűrte a hibás paraméterek
+ exit
+ ;;
+ esac
+ shift
+done
+
+############################
+
+# mysql bináris ellenőrzése
+if [ ! -f $MYSQL ]; then
+ echo -e "\n\nERROR: A mysql kliens nem található: $MYSQL\n"
+ exit 1
+fi
+
+# Login adatbázis eléréséhez szükséges paraméterek lekérdezése a konfig-ból...
+DB=`grep db $BASEDIR/config/main-config.php | sed -e "s/$.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+USER=`grep user $BASEDIR/config/main-config.php | sed -e "s/$.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+PW=`grep pw $BASEDIR/config/main-config.php | sed -e "s/$.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+
+# Ellenőrizzük, hogy van-e publikus kulcs - regisztrált intézmény-e
+COUNT=`$MYSQL -e 'SELECT count(publicKey) FROM mayorSsl' -p$PW -u$USER $DB | grep -i -v count`
+if [ "$COUNT" -ne "1" ]; then
+ echo "Publikus kulcsok száma: $COUNT"
+ echo "Nem regisztrált intézmény? A mentés titkosítása csak regisztrált intézmények számára érhető el!"
+ exit 2
+fi
+
+# Backup könyvtár létrehozása
+if [ ! -e $BACKUPDIR ]; then
+ mkdir $BACKUPDIR > /dev/null 2>&1
+ if [ $? -ne 0 ]; then
+ echo "Nem sikerült a ${BACKUPDIR} könyvtárat létrehozni!"
+ echo "MaYoR Backup failure!"
+ exit 3
+ fi
+fi
+CRYPTDIR=$BACKUPDIR/$DATE
+if [ ! -e $CRYPTDIR ]; then
+ mkdir $CRYPTDIR
+fi
+chown $WEB_SERVER_USER $BACKUPDIR
+chmod 700 $BACKUPDIR
+
+if [ ! -f $BACKUPFILE ]; then
+ # Próbáljuk meg a mai dátum szerinti backup-ot (alapértelmezés)
+ echo -e " HIBA: Hiányzik a kódolandó mentési állomámny: (${BACKUPFILE})\n"
+ BACKUPFILE=$BACKUPDIR/${BACKUPFILE}
+ echo "Próbáljuk a mentéi könyvtáron belül: ${BACKUPFILE}"
+ if [ ! -f $BACKUPFILE ]; then
+ echo -e " HIBA: Hiányzik a kódolandó mentési állomámny: (${BACKUPFILE})\n"
+ BACKUPFILE=$BACKUPDIR/${PREFIX}${DATE}.tgz
+ echo "Próbáljuk az alapértelmezett állománynevet: ${BACKUPFILE}"
+ if [ ! -e $BACKUPFILE ]; then
+ echo -e " HIBA: Hiányzik a kódolandó mentési állomámny: (${BACKUPFILE})\n"
+ exit 3
+ fi
+ fi
+fi
+BASENAME=`basename $BACKUPFILE`
+
+# Publikus kulcs lekérdezése
+echo 'SELECT publicKey FROM mayorSsl' | $MYSQL -p$PW -u$USER $DB | grep -v publicKey | sed -e 's/\\n/\n/g' > $CRYPTDIR/id_rsa.pub
+
+# Véletlen kulcs generálás a szimmetrikus AES kódoláshoz
+pwgen -nc 50 1 > $CRYPTDIR/key.txt
+
+# AES kódolás
+aespipe -P $CRYPTDIR/key.txt -e aes256 < $BACKUPFILE > $CRYPTDIR/$BASENAME.aes
+
+# A kulcsok RSA kódolása a publikus kulccsal
+openssl rsautl -encrypt -inkey $CRYPTDIR/id_rsa.pub -pubin -in $CRYPTDIR/key.txt -out $CRYPTDIR/key.rsa
+
+# Kulcsok törlése
+rm $CRYPTDIR/id_rsa.pub
+rm $CRYPTDIR/key.txt
+
+cd $BACKUPDIR
+tar cfz ${DATE}-crypt.tgz ${DATE}
+rm -rf $DATE
+
+echo -e "\nBecsomagolva: $BACKUPDIR/${DATE}-crypt.tgz\n\n"
diff --git a/mayor-orig/mayor-base/bin/decrypt-backup.sh b/mayor-orig/mayor-base/bin/decrypt-backup.sh
new file mode 100644
index 00000000..9eca4375
--- /dev/null
+++ b/mayor-orig/mayor-base/bin/decrypt-backup.sh
@@ -0,0 +1,138 @@
+#!/bin/bash
+#
+# Example: mayor decrypt-backup --crypted-file=/home/backup/20110515-crypt.tgz
+# Az eredmény a $BACKUPDIR alá kerül az eredetileg elkódolt állomány nevéből
+# származtatott néven: file.kit --> file-decrypt.kit
+#
+# TODO: ellenőrizni kell még az openssl és az aespipe meglétét
+#
+
+OPT_SPEC="hf:d::"
+LONG_OPT_SPEC="help,file:,crypted-file:,dir:,backup-dir::"
+PARSED_OPTIONS=$(getopt -n "$0" -a -o $OPT_SPEC --long $LONG_OPT_SPEC -- "$@")
+OPTIONS_RET=$?
+eval set -- "$PARSED_OPTIONS"
+
+help_usage() {
+cat <<EOF
+
+Decrypt-backup használata: mayor decrypt-backup [opciók]
+
+A parancs segítségével a korábban titkosított (ld. mayor help crypt-backup) mentést
+csomagolhatjuk ki. A kicsomagoláshoz szükséges az intézmény privát kulcsa, amit a
+program alapesetben az adatbázisban keres. Ha nincs más megadva, akkor a szkript
+"YYYYmmdd-crypt.tgz" néven keresi a kicsomagolandó állományt (pl. ${DATE}-crypt.tgz)
+
+A mentési könyvtár, a szükséges jelszavak és egyéb paraméterek beállításait a
+/etc/mayor/main.conf állományban kell megadni.
+
+Opciók:
+ -h, --help: A parancs leírása (amit most olvasol...)
+ -f, --file, --crypted-file: A kódolt állomány neve
+ -d, --dir, --backup-dir: A mentési könyvtár elérési útja
+
+EOF
+}
+
+if [ $OPTIONS_RET -ne 0 ]; then help_usage; exit; fi
+
+FILE="${DATE}-crypt.tgz"
+while [ $# -ge 1 ]; do
+ case $1 in
+ --help | -h ) help_usage
+ exit
+ ;;
+
+ --crypted-file | --file | -f ) shift
+ FILE="$1"
+ echo "Kódolt állomány: $FILE"
+ ;;
+
+ --backup-dir | --dir | -d ) shift
+ BACKUPDIR="$1"
+ echo "Backup könyvtár: $BACKUPDIR"
+ ;;
+
+ -- ) shift
+ break
+ ;;
+
+ * ) echo "HIBA: ismeretlen opció: $1" # ide elvileg sose jutunk, mert a getopts már kiszűrte a hibás paraméterek
+ exit
+ ;;
+ esac
+ shift
+done
+
+
+
+
+# A mysql bináris ellenőrzése
+if [ ! -f $MYSQL ]; then
+ echo -e "\n\nERROR: A mysql kliens nem található: $MYSQL\n"
+ exit 1
+fi
+
+# A login adatbázis eléréséhez szükséges adatok a konfig-ból
+DB=`grep db $BASEDIR/config/main-config.php | sed -e "s/$.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+USER=`grep user $BASEDIR/config/main-config.php | sed -e "s/$.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+PW=`grep pw $BASEDIR/config/main-config.php | sed -e "s/$.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+
+# Ellenőrizzük, hogy van-e privát kulcs - regisztrált intézmény-e
+COUNT=`$MYSQL -e 'SELECT count(privateKey) FROM mayorSsl' -p$PW -u$USER $DB | grep -i -v count`
+if [ "$COUNT" -ne "1" ]; then
+ echo "Privát kulcsok száma: $COUNT"
+ echo "Nem regisztrált intézmény? A titkosított mentések kezelése csak regisztrált intézmények számára érhető el!"
+ exit 2
+fi
+
+# Backup könyvtár létrehozása
+if [ ! -e $BACKUPDIR ]; then
+ mkdir $BACKUPDIR > /dev/null 2>&1
+ if [ $? -ne 0 ]; then
+ echo "Nem sikerült a ${BACKUPDIR} könyvtárat létrehozni!"
+ echo "MaYoR Backup failure!"
+ exit 3
+ fi
+fi
+chown $WEB_SERVER_USER $BACKUPDIR
+chmod 700 $BACKUPDIR
+
+# bejövő paraméterek feldolgozása (crypted-file)
+if [ ! -f $FILE ]; then
+ echo -e " HIBA: Hiányzik a dekódolandó mentési állomámny: ${FILE}\n"
+ FILE=$BACKUPDIR/${FILE}
+ echo "Próbáljuk a mentési könyvtárban (${FILE})"
+ if [ ! -f $FILE ]; then
+ echo -e " HIBA: Hiányzik a dekódolandó mentési állomámny: ${FILE}\n"
+ FILE=$BACKUPDIR/${PREFIX}${DATE}-crypt.tgz
+ echo "Próbáljuk az alapértelmezett állományt (${FILE})"
+ if [ ! -e $FILE ]; then
+ echo " HIBA: Hiányzik a dekódolandó mentési állomámny: ${FILE}"
+ exit 4
+ fi
+ fi
+fi
+BASENAME=`basename $FILE`
+
+cd $BACKUPDIR
+tar xfz $FILE
+TARFILES=`tar tf $FILE`
+SUBDIR=`for f in $TARFILES; do echo $f; break; done`
+AESFILE=`echo $TARFILES | sed -e 's/ /\n/g' | grep '.aes'`
+AESBASE=`basename $AESFILE | sed -e 's/.aes//g'`
+DECRYPTFILE=`echo $AESBASE | sed -e 's/\.\([a-z]*\)$/-decrypt\.\1/'`
+
+# A privát kulcs lekérdezése
+echo 'SELECT privateKey FROM mayorSsl' | $MYSQL -p$PW -u$USER $DB | grep -v privateKey | sed -e 's/\\n/\n/g' > $BACKUPDIR/$SUBDIR/id_rsa
+
+# AES kulcs dekódolása
+openssl rsautl -decrypt -inkey $BACKUPDIR/$SUBDIR/id_rsa -in $BACKUPDIR/$SUBDIR/key.rsa -out $BACKUPDIR/$SUBDIR/key.txt
+
+# AES dekódolás (feltételezzük, hogy az eredmény tgz
+aespipe -P $BACKUPDIR/$SUBDIR/key.txt -d -e aes256 < $BACKUPDIR/$AESFILE > $BACKUPDIR/$DECRYPTFILE
+
+# Törlés
+rm -rf $BACKUPDIR/$SUBDIR
+
+echo -e "\nKicsomagolva: $BACKUPDIR/$DECRYPTFILE\n\n"
diff --git a/mayor-orig/mayor-base/bin/help.sh b/mayor-orig/mayor-base/bin/help.sh
new file mode 100644
index 00000000..e983ccd3
--- /dev/null
+++ b/mayor-orig/mayor-base/bin/help.sh
@@ -0,0 +1,47 @@
+#!/bin/bash
+
+OPT_SPEC="hf::"
+LONG_OPT_SPEC="help,file:,f::"
+PARSED_OPTIONS=$(getopt -n "$0" -a -o $OPT_SPEC --long $LONG_OPT_SPEC -- "$@")
+OPTIONS_RET=$?
+eval set -- "$PARSED_OPTIONS"
+
+help_usage() {
+ print_help;
+ echo -e "\nHELP használata: mayor help [parancs]\n\n"
+}
+
+if [ $OPTIONS_RET -ne 0 ] || [ $# -le 1 ]; then help_usage; exit; fi
+
+while [ $# -ge 1 ]; do
+ case $1 in
+ --help | -h ) help_usage
+ exit
+ ;;
+
+ --file | -f ) shift
+ FILE="$1"
+ echo "FILE: $FILE"
+ ;;
+
+ -- ) shift
+ break
+ ;;
+
+ * ) echo "HIBA: ismeretlen opció: $1" # ide elvileg sose jutunk, mert a getopts már kiszűrte a hibás paramétereket...
+ exit
+ ;;
+ esac
+ shift
+done
+
+while [ $# -ge 1 ]; do
+ echo -e "\n---------- HELP: $1 ----------\n"
+ if [[ ! "${CMDS[*]}" =~ .*$1.* ]]; then
+ echo -e "Ismeretlen parancs: $1"
+ #print_help
+ else
+ . ./$1.sh --help
+ fi
+ shift
+done
diff --git a/mayor-orig/mayor-base/bin/lock.sh b/mayor-orig/mayor-base/bin/lock.sh
new file mode 100644
index 00000000..77c4422a
--- /dev/null
+++ b/mayor-orig/mayor-base/bin/lock.sh
@@ -0,0 +1,46 @@
+#!/bin/bash
+
+help_usage() {
+cat <<EOF
+
+LOCK használata: mayor lock [options]
+
+A parancs segítségével zárolhatjuk a MaYoR rendszert, ilyenkor a webes elérés le van tiltva.
+Hasznos lehet különböző Rendszergazdai műveletek elvégzésekor.
+
+ --help: ^Ez a help szöveg.
+
+AUTHOR: Miklós Gergő <gergo@bmrg.hu> - Baár-Madas Református Gimnázium
+
+EOF
+}
+
+if [ $? -ne 0 ]; then help_usage; exit; fi
+
+while [ $# -ge 1 ]; do
+ case $1 in
+ --help | -h ) help_usage
+ exit
+ ;;
+
+ -- ) shift
+ break
+ ;;
+
+ * ) echo "HIBA: ismeretlen opció: $1"
+ exit
+ ;;
+ esac
+ shift
+done
+
+if [ "x$LOCKFILE" == "x" ]; then echo -e "Üres a LOCKFILE változó :("; exit 1; fi
+
+if [ ! -z $LOCKFILE ]; then
+ if [ $VERBOSE -gt 0 ]; then echo -e "* A web-es elérés letiltása:"; fi
+ if [ $VERBOSE -gt 1 ]; then echo -e "- Lock-file létrehozása... "; fi
+
+ echo "$DATE: Rendszergazda dolgozik" > $LOCKFILE
+ if [ $VERBOSE -gt 0 ]; then echo -e "kész.\n"; fi
+fi
+
diff --git a/mayor-orig/mayor-base/bin/mayor b/mayor-orig/mayor-base/bin/mayor
new file mode 100644
index 00000000..7c5906bc
--- /dev/null
+++ b/mayor-orig/mayor-base/bin/mayor
@@ -0,0 +1,66 @@
+#!/bin/bash
+
+VERSION="2.0.1"
+echo -e "\nmayor szkript - verzió: $VERSION (" $(date '+%Y-%m-%d') ")\n"
+
+CMDS=(backup update lock unlock crypt-backup decrypt-backup remote-backup restore help)
+MODS=(mayor-base mayor-portal mayor-naplo mayor-naplo-sni mayor-wiki mayor-felveteli mayor-installer mayor-installer-sulix mayor-jatek mayor-locales-de_DE mayor-locales-en_US mayor-local-jp_JP)
+DESC=('a rendszer mentése' 'a rendszer frissítése' 'a rendszer zárolása (lockfile)' 'a rendszer feloldása' 'a mentés titkosítása (ß)' 'a titkosított mentés visszakódolása (ß)' 'mentés a központi (távoli) szerverre' 'mentés visszatöltése' 'A parancs működésének leírása')
+#OPTS=('--skip-lock')
+#OPTDESC=('a rendszer zárolásának kihagyása')
+DATE=$(date "+%Y%m%d")
+DATETIME=$(date "+%Y-%m-%d %H:%M:%S")
+
+print_help() {
+ echo -e "\nHasználat: mayor [parancs] [opciók]\n\nParancs"
+ for ((i=0; i<${#CMDS[@]}; i=i+1)); do
+ echo " - ${CMDS[$i]}: ${DESC[$i]}"
+ done
+# echo -e "\nOpciók"
+# for ((i=0; i<${#OPTS[@]}; i=i+1)); do
+# echo " ${OPTS[$i]}: ${OPTDESC[$i]}"
+# done
+ echo ""
+}
+
+# Ellenőrizzük, hogy van-e configurációs állomány
+if [ -f /etc/mayor/main.conf ]; then
+ . /etc/mayor/main.conf
+else
+ echo -e "\nHIBA: hiányzó konfigurációs file: /etc/mayor/main.conf\n"
+ exit 1
+fi
+
+# Ha nincs paraméter, akkor írjuk ki a tennivalót
+if [ -z $1 ]; then
+ print_help
+ exit 1
+fi
+
+# A paraméter ellenőrzése
+for ((i=0; i<${#CMDS[@]}; i=i+1)); do
+ if [ ${CMDS[$i]} == "$1" ]; then
+ CMD=${CMDS[$i]}
+ break
+ fi
+done
+
+if [ -z $CMD ]; then
+ echo -e "\nHIBA: ismeretlen parancs: $1\n"
+ print_help
+ exit 1
+fi
+
+# Alapértelmezés
+if [ "$MYSQL_HOST" == "" ]; then
+ MYSQL_HOST="localhost"
+fi
+
+shift
+# A parancs végrehajtása
+cd $BASEDIR/bin
+if [ -z $UPDATELOG ]; then
+ . ./$CMD.sh
+else
+ . ./$CMD.sh 2>&1 | tee -a $UPDATELOG
+fi
diff --git a/mayor-orig/mayor-base/bin/remote-backup.sh b/mayor-orig/mayor-base/bin/remote-backup.sh
new file mode 100644
index 00000000..71e241d5
--- /dev/null
+++ b/mayor-orig/mayor-base/bin/remote-backup.sh
@@ -0,0 +1,170 @@
+#!/bin/bash
+#
+# Example: mayor remote-backup --backup-file=/tmp/wiki.tgz
+# Az eredmény a $BACKUPDIR/$DATE-crypt.tgz állományba kerül
+# (Vagy jobb lenne, ha a file nevéből venné a nevét?)
+#
+# TODO: ellenőrizni kell még, hogy van-e openssl és aespipe
+#
+
+OPT_SPEC="hf:d::"
+LONG_OPT_SPEC="help,file:,backup-file:,dir:,backup-dir::"
+PARSED_OPTIONS=$(getopt -n "$0" -a -o $OPT_SPEC --long $LONG_OPT_SPEC -- "$@")
+OPTIONS_RET=$?
+eval set -- "$PARSED_OPTIONS"
+
+help_usage() {
+cat <<EOF
+
+Remote-backup használata: mayor remote-backup [opciók]
+
+A parancs segítségével menthetjük egy központi szerverre a MaYoR rendszer adatbázisait,
+aktuális forrását és beállításait titkosított formában. A távoli szerverre való bejele-
+lentkezéshez szükséges az intézmény privát kulcsa, amit a program alapesetben az adat-
+bázisban keres.
+A szkript, ha nincs más megadva, akkor az aktuális dátumnak megelelő,
+"YYYYmmdd-crypt.tgz" alkú néven keresi a feltöltendő mentési állományt.
+
+A mentési könyvtár, a szükséges jelszavak és egyéb mentési paraméterek beállításait a
+/etc/mayor/main.conf állományban kell megadni.
+
+Opciók:
+ -h, --help: A parancs leírása (amit most olvasol...)
+ -f, --file, --backup-file: A mentési állomány neve
+ -d, --dir, --backup-dir: A mentési könyvtár elérési útja
+
+EOF
+}
+
+if [ $OPTIONS_RET -ne 0 ]; then help_usage; exit; fi
+
+FILE="${DATE}-crypt.tgz"
+while [ $# -ge 1 ]; do
+ case $1 in
+ --help | -h ) help_usage
+ exit
+ ;;
+
+ --backup-file | --file | -f ) shift
+ FILE="$1"
+ echo "Backup fájl: $FILE"
+ ;;
+
+ --backup-dir | --dir | -d ) shift
+ BACKUPDIR="$1"
+ echo "Backup könyvtár: $BACKUPDIR"
+ ;;
+
+ -- ) shift
+ break
+ ;;
+
+ * ) echo "HIBA: ismeretlen opció: $1" # ide elvileg sose jutunk, mert a getopts már kiszűrte a hibás paraméterek
+ exit
+ ;;
+ esac
+ shift
+done
+
+
+
+SSH_PORT="8023"
+SSH_HOST="backup.mayor.hu"
+
+# mysql bináris ellenőrzése
+if [ ! -f $MYSQL ]; then
+ echo -e "\n\nERROR: A mysql kliens nem található: $MYSQL\n"
+ exit 1
+fi
+
+# Login adatbázis eléréséhez szükséges paraméterek lekérdezése a konfig-ból...
+DB=`grep db $BASEDIR/config/main-config.php | sed -e "s/$.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+USER=`grep user $BASEDIR/config/main-config.php | sed -e "s/$.*=\ *['|\"]//g" -e "s/['|\"];//g" | sed 's/^ *//g'`
+PW=`grep pw $BASEDIR/config/main-config.php | sed -e "s/$.*=\ *['|\"]//g" -e "s/['|\"];//g" | sed 's/^ *//g'`
+
+# Ellenőrizzük, hogy van-e publikus kulcs - regisztrált intézmény-e
+COUNT=`$MYSQL -e 'SELECT count(publicKey) FROM mayorSsl' -p$PW -u$USER $DB | grep -i -v count`
+if [ "$COUNT" -ne "1" ]; then
+ echo "Publikus kulcsok száma: $COUNT"
+ echo "Nem regisztrált intézmény? A mentés titkosítása csak regisztrált intézmények számára érhető el!"
+ exit 2
+fi
+
+# Backup könyvtár létrehozása
+if [ ! -e $BACKUPDIR ]; then
+ mkdir $BACKUPDIR > /dev/null 2>&1
+ if [ $? -ne 0 ]; then
+ echo "Nem sikerült a ${BACKUPDIR} könyvtárat létrehozni!"
+ echo "MaYoR Backup failure!"
+ exit 3
+ fi
+fi
+CRYPTDIR=$BACKUPDIR/$DATE
+if [ ! -e $CRYPTDIR ]; then
+ mkdir $CRYPTDIR
+fi
+chown $WEB_SERVER_USER $BACKUPDIR
+chmod 700 $BACKUPDIR
+
+if [ ! -f $FILE ]; then
+ echo -e " HIBA: Hiányzik a kódolandó mentési állomámny: ${FILE}"
+ FILE=$BACKUPDIR/${FILE}
+ echo "Próbáljuk a mentési könyvtárban! (${FILE})"
+ if [ ! -f $FILE ]; then
+ echo -e " HIBA: Hiányzik a kódolandó mentési állomámny: ${FILE}"
+ FILE=$BACKUPDIR/${PREFIX}${DATE}.tgz
+ echo "Próbáljuk az alapértelmezett állományt! (${FILE})"
+ if [ ! -e $FILE ]; then
+ echo -e " HIBA: Hiányzik a kódolandó mentési állomámny: ${FILE}"
+ exit 3
+ fi
+ fi
+fi
+BASENAME=`basename $FILE`
+
+# Publikus kulcs lekérdezése
+echo 'SELECT publicKey FROM mayorSsl' | $MYSQL -p$PW -u$USER $DB | grep -v publicKey | sed -e 's/\\n/\n/g' > $CRYPTDIR/id_rsa.pub
+
+# Véletlen kulcs generálás a szimmetrikus AES kódoláshoz
+pwgen -nc 50 1 > $CRYPTDIR/key.txt
+
+# AES kódolás
+aespipe -P $CRYPTDIR/key.txt -e aes256 < $FILE > $CRYPTDIR/$BASENAME.aes
+
+# A kulcsok RSA kódolása a publikus kulccsal
+openssl rsautl -encrypt -inkey $CRYPTDIR/id_rsa.pub -pubin -in $CRYPTDIR/key.txt -out $CRYPTDIR/key.rsa
+
+# Kulcsok törlése
+rm $CRYPTDIR/id_rsa.pub
+rm $CRYPTDIR/key.txt
+
+cd $BACKUPDIR
+tar cfz ${DATE}-crypt.tgz ${DATE}
+rm -rf $DATE
+
+echo -e "\nBecsomagolva: $BACKUPDIR/${DATE}-crypt.tgz\n\n"
+
+# A privát kulcs lekérdezése, elhelyezése
+if [ ! -d $BASEDIR/ssh ]; then
+ echo "Létrehozzuk a $BASEDIR/ssh könyvtárat, amibe belerakjuk a privát kulcsot..."
+ mkdir $BASEDIR/ssh
+ chmod 700 $BASEDIR/ssh
+fi
+if [ ! -f $BASEDIR/ssh/id_rsa ]; then
+ echo 'SELECT privateKey FROM mayorSsl' | $MYSQL -p$PW -u$USER $DB | grep -v privateKey | sed -e 's/\\n/\n/g' > $BASEDIR/ssh/id_rsa
+ chmod 700 $BASEDIR/ssh/id_rsa
+fi
+
+# Az intézmény OM kódjának lekérdezése
+
+# A mayor_naplo adatbázis eléréséhez szükséges paraméterek lekérdezése a konfig-ból...
+DB=`grep db $BASEDIR/config/module-naplo/config.php | sed -e "s/$.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+USER=`grep userRead $BASEDIR/config/module-naplo/config.php | sed -e "s/$.*=\ *['|\"]//g" -e "s/['|\"];//g" | sed 's/^ *//g'`
+PW=`grep pwRead $BASEDIR/config/module-naplo/config.php | sed -e "s/$.*=\ *['|\"]//g" -e "s/['|\"];//g" | sed 's/^ *//g'`
+
+OMKOD=`echo 'SELECT SUBSTR(OMKod,-6) FROM intezmeny WHERE alapertelmezett = 1' | $MYSQL -p$PW -u$USER $DB | grep -v OMKod`
+SSH_USER="om$OMKOD"
+echo $SSH_USER
+
+# A kódolt adatállomány másolása
+scp -i $BASEDIR/ssh/id_rsa -P $SSH_PORT $BACKUPDIR/${DATE}-crypt.tgz $SSH_USER@$SSH_HOST:/home/$SSH_USER/
diff --git a/mayor-orig/mayor-base/bin/restore.sh b/mayor-orig/mayor-base/bin/restore.sh
new file mode 100644
index 00000000..8283effa
--- /dev/null
+++ b/mayor-orig/mayor-base/bin/restore.sh
@@ -0,0 +1,257 @@
+#!/bin/bash
+
+OPT_SPEC="hkprf:d:t::"
+LONG_OPT_SPEC="help,keep-old-passwords,restore-parent,restore-private,tmp-dir:,file:,backup-file:,dir:,base-dir::"
+PARSED_OPTIONS=$(getopt -n "$0" -a -o $OPT_SPEC --long $LONG_OPT_SPEC -- "$@")
+OPTIONS_RET=$?
+eval set -- "$PARSED_OPTIONS"
+
+help_usage() {
+cat <<EOF
+
+Restore használata: mayor restore [opciók]
+
+A parancs segítségével korábbi mentésből állíthatjuk helyre a napló adaokat. A helyreállítás előtt
+telepíteni kell egy új, lehetőleg a mentettel megegyező, vagy újabb verziójú rendszert, amibe a régi
+adatokat betöltjük.
+A mentést alapértelmezetten az aktuális dátum alapján keresi, "YYYYmmdd.tgz" alakban (pl. $DATE.tgz).
+
+Amennyiben a paraméterként megadott alapkönyvtárban léteznek a configurációs állományok, úgy a program
+ezeket használja, különben a mentésből állítja őket helyre. A jelszavak alapértelmezetten mindig az
+új telepítés szerintiek maradnak.
+
+Opciók:
+ -h, --help: A parancs leírása (amit most olvasol...)
+ -f, --file, --backup-file: A visszatöltendő mentési állomány neve
+ -d, --dir, --base-dir: Az alapkönyvtár elérési útja
+ -t, --tmp-dir: Az ideiglenes könyvtár
+ -k, --keep-old-passwords: A mentett adatbázis-jelszavak megtartása akkor is, ha léteznek újak
+ -p, --restore-parent: A szülők felhasználói azonosítóinak helyreállítása
+ -r, --restore-private: A tanár/diák felhasználói azonosítóinak helyreállítása (csak MySQL-ből!)
+
+EOF
+}
+
+cleartmp() {
+ echo -e -n "\n\nAz ideiglenes könyvátrat töröljük: ${RTMPDIR}/restore/${DT}..."
+ rm -rf ${RTMPDIR}/restore/${DT}
+ echo "ok"
+}
+
+#if [ $OPTIONS_RET -ne 0 ] || [ $# -le 1 ]; then help_usage; exit; fi
+if [ $OPTIONS_RET -ne 0 ]; then help_usage; exit; fi
+
+# Alapéretelmezett értékek:
+RBACKUPFILE="${DATE}.tgz"
+RBASEDIR="/var/mayor"
+KEEP_OLD_PASSWORDS=0
+
+while [ $# -ge 1 ]; do
+ case $1 in
+ --help | -h ) help_usage
+ exit
+ ;;
+
+ --keep-old-passwords | -k ) KEEP_OLD_PASSWORDS=1
+ echo "A mentett adatbázis-jelszavak használata..."
+ ;;
+
+ --restore-parent | -p ) RESTORE_PARENT=1
+ echo "Szülői azonosítók betöltése..."
+ ;;
+
+ --restore-private | -r ) RESTORE_PRIVATE=1
+ echo "Tanár/diák azonosítók betöltése..."
+ ;;
+
+ --backup-file | --file | -f ) shift
+ RBACKUPFILE="$1"
+ echo "Backup fájl: $RBACKUPFILE"
+ ;;
+
+ --base-dir | --dir | -d ) shift
+ RBASEDIR="$1"
+ echo "Alapkönyvtár: $RBASEDIR"
+ ;;
+
+ --tmp-dir | -t ) shift
+ RTMPDIR="$1"
+ echo "Ideiglenes könyvtár: $RTMPDIR"
+ ;;
+
+ -- ) shift
+ break
+ ;;
+
+ * ) echo "HIBA: ismeretlen opció: $1" # ide elvileg sose jutunk, mert a getopts már kiszűrte a hibás paramétereket...
+ exit
+ ;;
+ esac
+ shift
+done
+
+##
+# A könyvtárak létrehozása
+##
+
+RREVISIONFILE="${RBASEDIR}/log/revision"
+declare -i INST_REV
+if [ ! -e "${RREVISIONFILE}" ]; then
+ echo "Hiba: A megadott alapkönyvtárban (${RBASEDIR}) nem található telepített MaYoR rendszer!"
+ echo -e " A helyreállításhoz először telepíteni kell egy azonos, vagy újabb verziójú rendszert.\n"
+ exit 1
+fi
+INST_REV=`cat $RREVISIONFILE`
+echo "A telepített rendszer revision száma: ${INST_REV}"
+
+if [ ! -e "${RBACKUPFILE}" ]; then
+ echo "Hiba: A backup állomány nem található (${RBACKUPFILE})"
+ echo -e " A backup állományt teljes elérési úttal kell megadni!\n"
+ exit 2
+fi
+
+[ -z "${RTMPDIR:-}" ] && RTMPDIR="/tmp"
+if [ ! -e "${RTMPDIR}" ]; then
+ echo "Az ideiglenes könyvtár (${RTMPDIR}) nem létezik."
+ echo -n "Létrehozás ... "
+ if mkdir -p "${RTMPDIR}" 2>/dev/null; then
+ echo "ok."
+ else
+ echo "hiba."
+ exit 3
+ fi
+fi
+
+if [ ! -d "${RTMPDIR}/restore" ]; then
+ if ! mkdir "${RTMPDIR}/restore" 2>/dev/null; then
+ echo "Hiba: Az ideiglenes könyvtár nem írható (${RTMPDIR})!"
+ exit 4
+ fi
+fi
+chmod 700 "${RTMPDIR}/restore"
+cd "${RTMPDIR}/restore"
+tar xvfz $RBACKUPFILE
+DT=$(ls)
+echo "A mentés dátuma: ${DT}"
+cd ${DT}
+
+RREVISIONFILE="${RTMPDIR}/restore/${DT}/log/revision"
+declare -i BAK_REV
+if [ ! -e "${RREVISIONFILE}" ]; then
+ echo "Hiba: A mentési állomány nem tartalmaz verzió információt!"
+ echo -e " A mentési állományon belül, a ${DT}/log/revision állományba írja be a revision számot (pl: 2512)!\n"
+ cleartmp
+ exit 5
+fi
+BAK_REV=`cat $RREVISIONFILE`
+echo "A mentett rendszer revision száma: ${BAK_REV}"
+
+if [ ${BAK_REV} -gt ${INST_REV} ]; then
+ echo "Hiba: A mentett rendszer újabb, mint a telepített!"
+ echo -e " A telepített rendszer revision száma nagyobb vagy egyenlő kell legyen a mentett rendszer revision számánál!\n Telepítsen frissíebb rendszert!\n"
+ cleartmp
+ exit 6
+fi
+
+# A telepített rendszer beállításainsak betöltése
+if [ -f "${RBASEDIR}/config/main.conf" ]; then
+ . "${RBASEDIR}/config/main.conf"
+else
+ echo "Hiba: A telepített rendszer nincs beállítva!"
+ echo -e " Hiányzik a konfigurációs állomány: ${RBASEDIR}/config/main.conf\n"
+ cleartmp
+ exit 7
+fi
+
+# Az adatbázisok betöltése
+NAPLOUSER=`egrep 'userWrite.*=' $BASEDIR/config/module-naplo/config.php | sed -e "s/^.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+NAPLOUSERREAD=`egrep 'userRead.*=' $BASEDIR/config/module-naplo/config.php | sed -e "s/^.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+DBS=`$MYSQL -h$MYSQL_HOST -u $MYSQL_USER -p$MYSQL_PW -e"SHOW DATABASES"`
+if [ "$RESTORE_PARENT" == "1" ]; then
+ FILES="mayor_naplo.sql mayor_parent.sql intezmeny_*.sql naplo_*.sql"
+else
+ FILES="mayor_naplo.sql intezmeny_*.sql naplo_*.sql"
+fi
+if [ "$RESTORE_PRIVATE" == "1" ]; then
+ FILES="$FILES mayor_private.sql"
+fi
+for SQLFILE in $FILES; do
+ if [ -e "${SQLFILE}" ]; then
+ DB=${SQLFILE%.sql}
+ echo -n "${DB} ... "
+ if [[ ! ${DBS} =~ .*$DB.* ]]; then
+ echo -n "... "
+ (cat <<EOF
+ create database ${DB} character set utf8 collate utf8_hungarian_ci;
+ grant select,execute on ${DB}.* to '$NAPLOUSERREAD'@'localhost';
+ grant all on ${DB}.* to '$NAPLOUSER'@'localhost';
+EOF
+) | $MYSQL -h$MYSQL_HOST -u $MYSQL_USER -p$MYSQL_PW
+ fi
+ echo -n '... '
+ cat ${SQLFILE} | mysql -p${MYSQL_PW} --user=${MYSQL_USER} --default-character-set=utf8 ${DB}
+ echo ok
+ fi
+done
+
+# A mentésben szereplő user és jelszó adatok
+bNCDIR="${RTMPDIR}/restore/${DT}/config/module-naplo"
+iNCDIR="${BASEDIR}/config/module-naplo"
+cd ${bNCDIR}
+bDB=`grep db ${bNCDIR}/config.php | egrep -v '^[[:space:]]*(//|/\*.*\*/$)' | grep naplo_base | sed -e "s/^.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+bUSER=`egrep 'userWrite.*=' ${bNCDIR}/config.php | egrep -v '^[[:space:]]*(//|/\*.*\*/$)' | sed -e "s/^.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+bUSERREAD=`egrep 'userRead.*=' ${bNCDIR}/config.php | egrep -v '^[[:space:]]*(//|/\*.*\*/$)' | sed -e "s/^.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+bPW=`egrep 'pwWrite.*=' ${bNCDIR}/config.php | egrep -v '^[[:space:]]*(//|/\*.*\*/$)' | sed -e "s/^.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+bPWREAD=`egrep 'pwRead.*=' ${bNCDIR}/config.php | egrep -v '^[[:space:]]*(//|/\*.*\*/$)' | sed -e "s/^.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+#echo "mentett: $bDB : $bUSER : $bUSERREAD : $bPW : $bPWREAD"
+# Az új telepítés user és jelszó adatai
+if [ -e "${iNCDIR}/config.php" ] && [ "${KEEP_OLD_PASSWORDS}" != "1" ]; then
+ iDB=`grep db ${iNCDIR}/config.php | egrep -v '^[[:space:]]*(//|/\*.*\*/$)' | grep naplo_base | sed -e "s/^.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+ iUSER=`egrep 'userWrite.*=' ${iNCDIR}/config.php | egrep -v '^[[:space:]]*(//|/\*.*\*/$)' | sed -e "s/^.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+ iUSERREAD=`egrep 'userRead.*=' ${iNCDIR}/config.php | egrep -v '^[[:space:]]*(//|/\*.*\*/$)' | sed -e "s/^.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+ iPW=`egrep 'pwWrite.*=' ${iNCDIR}/config.php | egrep -v '^[[:space:]]*(//|/\*.*\*/$)' | sed -e "s/^.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+ iPWREAD=`egrep 'pwRead.*=' ${iNCDIR}/config.php | egrep -v '^[[:space:]]*(//|/\*.*\*/$)' | sed -e "s/^.*=\ *['|\"]//g" -e "s/['|\"];//g"`
+else
+ iDB=$bDB
+ iUSER=$bUSER
+ iUSERREAD=$bUSERREAD
+ iPW=$bPW
+ iPWREAD=$bPWREAD
+fi
+#echo "installált: $iDB : $iUSER : $iUSERREAD : $iPW : $iPWREAD"
+if [ -e "${iNCDIR}/config.php" ]; then
+ if [ ! -e "${iNCDIR}/config.php.backup" ]; then
+ echo "${iNCDIR}/config.php --> ${iNCDIR}/config.php.backup"
+ mv "${iNCDIR}/config.php" "${iNCDIR}/config.php.backup"
+ fi
+fi
+
+cat "${bNCDIR}/config.php" | sed \
+ -e "s/db\(.*\)$bDB\(.*\)/db\1$iDB\2/g" \
+ -e "s/userWrite\(.*\)$bUSER\(.*\)/userWrite\1$iUSER\2/g" \
+ -e "s/userRead\(.*\)$bUSERREAD\(.*\)/userRead\1$iUSERREAD\2/g" \
+ -e "s/$bPW/$iPW/g" -e "s/$bPWREAD/$iPWREAD/g" > "${iNCDIR}/config.php"
+
+for FILE in config-*.php; do
+ echo -n "$FILE ... "
+ # mentés
+ if [ -e "${iNCDIR}/$FILE" ]; then
+ if [ ! -e "${iNCDIR}/$FILE.backup" ]; then
+ echo -n "... "
+ mv "${iNCDIR}/$FILE" "${iNCDIR}/$FILE.backup"
+ fi
+ fi
+ cp $FILE "${iNCDIR}/$FILE"
+ echo ok
+done
+
+cd ${BASEDIR}/bin
+if [ -z $UPDATELOG ]; then
+ . update.sh -e -r$BAK_REV -b${BASEDIR}
+else
+ . update.sh -e -r$BAK_REV -b${BASEDIR} 2>&1 | tee -a $UPDATELOG
+fi
+
+# Az ideiglenes könyvtár törlése
+cleartmp
+
diff --git a/mayor-orig/mayor-base/bin/unlock.sh b/mayor-orig/mayor-base/bin/unlock.sh
new file mode 100644
index 00000000..b39ea0cf
--- /dev/null
+++ b/mayor-orig/mayor-base/bin/unlock.sh
@@ -0,0 +1,52 @@
+#!/bin/bash
+
+help_usage() {
+cat <<EOF
+
+LOCK használata: mayor lock [options]
+
+A parancs segítségével feloldhatjuk a MaYoR rendszert, ilyenkor a webes engedélyezésre kerül.
+Hasznos lehet különböző Rendszergazdai műveletek elvégzésekor.
+
+*** FIGYELEM! ***
+ Veszélyes lehet, ha a feloldás, a frissítés, vagy a mentés vége előtt történik!!
+
+ --help: ^Ez a help szöveg.
+
+AUTHOR: Miklós Gergő <gergo@bmrg.hu> - Baár-Madas Református Gimnázium
+
+EOF
+}
+
+if [ $? -ne 0 ]; then help_usage; exit; fi
+
+while [ $# -ge 1 ]; do
+ case $1 in
+ --help | -h ) help_usage
+ exit
+ ;;
+
+ -- ) shift
+ break
+ ;;
+
+ * ) echo "HIBA: ismeretlen opció: $1"
+ exit
+ ;;
+ esac
+ shift
+done
+
+if [ "x$LOCKFILE" == "x" ]; then echo -e "Üres a LOCKFILE változó :("; exit 1; fi
+
+if [ -e $LOCKFILE ]; then
+ if [ ! -z $LOCKFILE ]; then
+ if [ $VERBOSE -gt 0 ]; then echo -e "* A web-es hozzáférés engedélyezése:"; fi
+ if [ $VERBOSE -gt 1 ]; then echo -e "- A Lock-file törlése..."; fi
+ rm $LOCKFILE
+ if [ $VERBOSE -gt 0 ]; then echo -e "kész.\n"; fi
+ fi
+else
+ if [ $VERBOSE -gt 0 ]; then echo -e "* Már engedélyezett.\n"; fi
+fi
+
diff --git a/mayor-orig/mayor-base/bin/update.sh b/mayor-orig/mayor-base/bin/update.sh
new file mode 100644
index 00000000..39338119
--- /dev/null
+++ b/mayor-orig/mayor-base/bin/update.sh
@@ -0,0 +1,227 @@
+#!/bin/bash
+
+OPT_SPEC="hes:lb:r::"
+LONG_OPT_SPEC="http-server:,skip-lock,basedir:,backup-dir:,from-revision:,exec-only,help:"
+PARSED_OPTIONS=$(getopt -n "$0" -a -o $OPT_SPEC --long $LONG_OPT_SPEC -- "$@")
+OPTIONS_RET=$?
+
+eval set -- "$PARSED_OPTIONS"
+
+help_usage() {
+cat <<EOF
+
+UPDATE használata: mayor update [opciók] [modulok]
+
+A parancs segítségével frissíthetjük a MaYoR rendszert, a program forrását és
+az adatbázis-szerkezetet. A frissítések letöltése és kicsomagolása mellett
+a szkript egyéb módosításokat is végrehajthat, ezért alapértelmezett működés
+esetén a frissítés idejére letiltjuk a napló elérését. A zárolás a
+/var/run/mayor.lock állomány létrehozásával történik.
+
+A HTTP szervert, a frissítendő modulokat, a szükséges jelszavak és egyéb beál-
+lításokat a /etc/mayor/main.conf állományban kell megadni.
+
+Opciók:
+ -h, --help: A parancs leírása (amit most olvasol...)
+ -s, --http-server: A szerver ahonnan a frissítéseket letöltjük
+ -b, --basedir: A telepítési könyvtár
+ -l, --skip-lock: A frissítés idejére se zároljuk a program működését
+ -r, --from-revision: A frissítés indítása a megadott revision számtól - függetlenül a
+ jelenleg eltárolt aktuális számtól
+ -e, --exec-only: A frissítő szkriptek futtatása új állományok letöltése nélkül.
+ Csak a --from-revision opcióval együtt használható!
+
+Modulok:
+ A frissítendő modulok listája, pl: mayor-base mayor-naplo mayor-portal
+
+EOF
+}
+
+if [ $OPTIONS_RET -ne 0 ]; then help_usage; exit; fi
+
+declare -i REV
+while [ $# -ge 1 ]; do
+ case $1 in
+ --help | -h ) help_usage
+ exit
+ ;;
+
+ --skip-lock | -l ) SKIPLOCK=1
+ export SKIPLOCK
+ ;;
+
+ --exec-only | -e ) EXECONLY=1
+ export EXECONLY
+ ;;
+
+ --http-server | -s ) shift
+ HTTP_SERVER="$1"
+ echo "HTTP szerver: $HTTP_SERVER"
+ ;;
+
+ --basedir | -b ) shift
+ BASEDIR="$1"
+ echo "Alapkönyvtár: $BASEDIR"
+ ;;
+
+ --from-revision | -r ) shift
+ REV="$1"
+ echo "Revision: $REV"
+ ;;
+
+ -- ) shift
+ break
+ ;;
+
+ * ) echo "HIBA: ismeretlen opció: $1" # ide elvileg sose jutunk, mert a getopts már kiszűrte a hibás paraméterek
+ exit
+ ;;
+ esac
+ shift
+done
+
+TMPMODS=""
+while [ $# -ge 1 ]; do
+ if [[ ! "${MODS[*]}" =~ .*$1.* ]]; then
+ echo -e "Ismeretlen modul: $1"
+ else
+ TMPMODS="$1 $TMPMODS"
+ fi
+ shift
+done
+if [ "$TMPMODS" != '' ]; then
+ MODULES=$TMPMODS
+fi
+
+###########################
+
+
+if [ -z $UPDATEDIR ]; then
+ if [ -f ../config/update.conf ]; then
+ echo -e "\n\nWARNING: elavult konfigurációs állomány! (update.conf)"
+ echo " A frissítési rendszer a korábbi backup.conf és update.conf állományok helyett"
+ echo " egy új, rögzített helyen lévő állományt használ: /etc/mayor/main.conf"
+ echo " Most - ennek hiányában - a régebbi állományt használjuk"
+ . ../config/update.conf
+ else
+ echo -e "\n\nERROR: Hiányzó konfigurációs file: ../config/update.conf"
+ pwd
+ exit 10
+ fi
+fi
+
+# Ha paraméterknént nem volt megadva revision
+if [ -z "${REV:-}" ]; then
+ if [ "$EXECONLY" == "1" ]; then
+ echo "Hiba: Az --exec-only kapcsoló csak a --from-revision paraméterrel együtt használható!"
+ exit 9
+ fi
+ if [ -f $REVISION_FILE ]; then
+ REV=`cat $REVISION_FILE`
+ else
+ REV=0
+ fi
+fi
+
+echo -e "\n%%%%%%%%%%%%%%%%% $DATETIME %%%%%%%%%%%%%%%%%"
+echo -e "\nFrissítés $REV számú változatról."
+
+if [ "$EXECONLY" != "1" ]; then
+ echo -e "\n * Az frissítéshez szükséges állományok letöltése (eltarthat pár percig)... "
+
+ if [ "$MODULES" == '' ]; then
+ echo -e "\n\nERROR: Nincs megadva a frissítendő modulok listája (/etc/mayor/main.conf)!\n"
+ exit 1
+ else
+ declare -i UJ_REV
+ if [ "$HTTP_SERVER" == '' ]; then
+ if [ -f $SVN ]; then
+ # frissítés SVN-ből
+ $SVN --force export svn+ssh://svn.mayor.hu/var/svn/trunk/mayor-base/bin "$BASEDIR/bin" > /dev/null
+ for MODULE in $MODULES; do
+ echo -n " $MODULE... "
+ chmod +x $BASEDIR/bin/mayor
+ if [ $? != 0 ]; then exit 2; fi
+ UJ_REV=`$SVN --force export svn+ssh://svn.mayor.hu/var/svn/trunk/$MODULE/update "$BASEDIR/update" | grep revision | cut -d ' ' -f 3 | uniq | sed -e 's/\.//g'`
+ if [ $? != 0 ]; then exit 3; fi
+ echo "kész."
+ done
+ else
+ echo -e "\n\nERROR: A subversion kliens nem található: $SVN"
+ exit 4
+ fi
+ else
+ # Munkakönyvtár létrehozása
+ if [ ! -d $TMPDIR ]; then
+ mkdir $TMPDIR
+ chown -R 0:0 $TMPDIR
+ chmod -R 700 $TMPDIR
+ else
+ rm -rf $TMPDIR/*
+ fi
+ cd $TMPDIR
+ # Az md5sum állomány leszedáse
+ if [ -z $VERSION ]; then
+ wget "http://www.mayor.hu/download/md5sum"
+ else
+ wget "http://www.mayor.hu/download/$VERSION/md5sum"
+ if [[ ! $HTTP_SERVER =~ .*$VERSION.* ]]; then HTTP_SERVER="$HTTP_SERVER/$VERSION"; fi
+ fi
+ if [ $? != 0 ]; then exit 5; fi
+ UJ_REV=`grep Revision md5sum | cut -d ' ' -f 2`
+ if [ "$REV" -lt "$UJ_REV" ]; then
+ # csomagok leszedése
+ for MODULE in $MODULES; do
+ echo -n " $MODULE... "
+ MOD=`echo $MODULE | sed "s#/#-#"`
+ FILE=`grep "$MOD-rev" md5sum | cut -d ' ' -f 3`
+ if [ "$FILE" != '' ]; then
+ wget "$HTTP_SERVER/$FILE"
+ if [ $? != 0 ]; then
+ echo -e "\n\n ERROR: Az frissítés nem tölthető le: $FILE!\n"
+ exit 6
+ fi
+ grep $FILE md5sum | md5sum -c --status
+ if [ $? == 0 ]; then
+ tar xfz $FILE -C $BASEDIR ./update
+ else
+ echo -e "\n\n ERROR: Az ellenörző összeg nem egyezik!\n"
+ exit 7
+ fi
+ else
+ echo 'Nincs ilyen modul!'
+ exit 8 # nem szabad hiányzó csomagok mellett frissíteni!!
+ fi
+ done
+ fi
+ cd $BASEDIR/bin
+ fi
+ fi
+else # exec-only
+ if [ -f $REVISION_FILE ]; then
+ UJ_REV=`cat $REVISION_FILE`
+ else
+ UJ_REV=0 # nem frissítünk semmit
+ fi
+fi
+
+if [ "$REV" -ge "$UJ_REV" ]; then
+ echo -e "\nNincs újabb változat.\n"
+ echo -e "\n * A szükséges jogosultságok beállítása:"
+ chmod +x $BASEDIR/bin/mayor
+ echo 'kész.'
+else
+ echo 'kész.'
+ . $BASEDIR/update/processUpdateScripts.sh
+fi
+
+PWDTEX=`pwd`
+echo -e "\nMaYoR TeX formátum állomány újragenerálása... "
+cd $BASEDIR/print/module-naplo/tex/ && fmtutil-sys --cnffile $BASEDIR/print/module-naplo/tex/mayor.cnf --fmtdir $BASEDIR/print/module-naplo/ --byfmt mayor > /dev/null 2>&1
+echo -e "\nMaYoR XeTeX formátum állomány újragenerálása... "
+cd $BASEDIR/print/module-naplo/xetex/ && fmtutil-sys --cnffile $BASEDIR/print/module-naplo/xetex/mayor-xetex.cnf --fmtdir $BASEDIR/print/module-naplo/ --byfmt mayor-xetex > /dev/null 2>&1
+cd $PWDTEX
+echo 'kész.'
+
+echo -e "\nFrissítés vége.\n"
+exit 0
diff --git a/mayor-orig/mayor-base/config/main-config.php.example b/mayor-orig/mayor-base/config/main-config.php.example
new file mode 100644
index 00000000..5a9ad2ec
--- /dev/null
+++ b/mayor-orig/mayor-base/config/main-config.php.example
@@ -0,0 +1,70 @@
+<?php
+
+#
+# MaYoR keretrendszer - konfigurációs file
+#
+
+define('_SITE','MaYoR');
+//define('__SUPPORT_EMAIL_ADDRESS','support@iskola.hu');
+//define('__SUPPORT_EMAIL_NAME',_SITE.' Support');
+
+//define('__TESTERRORREPORTER',true);
+//define('__TESTERRORREPORTERWARN',true);
+
+define('_MAYOR_DIR','/var/mayor/');
+define('_BASEDIR',_MAYOR_DIR.'/www');
+define('_CONFIGDIR',_MAYOR_DIR.'/config');
+define('_LOGDIR',_MAYOR_DIR.'/log');
+define('_LOCKFILE','/var/run/mayor.lock');
+define('_DATADIR',_MAYOR_DIR.'/data');
+define('_DOWNLOADDIR',_MAYOR_DIR.'/download');
+
+define("MYSQLI_ENABLED",true);
+define('_MYSQL_ENCODE_STR','aaaa');
+
+//$MYSQL_DATA['login']['host'] ='localhost';
+$MYSQL_DATA['login']['db'] ='mayor_login';
+$MYSQL_DATA['login']['user']='mayor_login';
+$MYSQL_DATA['login']['pw'] ='%SQLPW%';
+
+$POLICIES = array('private','parent','public');
+$LANGUAGES = array('hu_HU');
+$SKINS = array('classic','pda','vakbarat');
+$SKINSSHOW = array('classic','pda','vakbarat');
+
+define('_SECURECOOKIE',true);
+define('_ALLOWPDAIDENTIFICATION',true);
+define('_DEFAULT_POLICY','public');
+define('_DEFAULT_LANG','hu_HU');
+define('_DEFAULT_SKIN','classic');
+define('_DEFAULT_JS_LEVEL',2);
+
+// Egy session maximális időtartama órában. Korlátlan: 0
+define('_SESSION_MAX_TIME', 24);
+// Egy session maximális inaktiv időtartama órában. Korlátlan: 0
+define('_SESSION_MAX_IDLE_TIME', 1);
+// Javascript figyelmeztető üzenet ennyi perccel a session lejárta előtt:
+define('_SESSION_ALERT_TIME', 5);
+
+// Ezt a tömböt hasznűlhatjuk a modulok közti kapcsolatra!
+// pl: $INCLUDES['deleteUser'][0] = 'include/modules/naplo/incDeleteUser.php';
+$INCLUDES = array(
+ 'html_mayor_head' => array(),
+ 'startColumn' => array(),
+ 'startMain' => array(),
+ 'startToolBar' => array(),
+ 'html_head' => array()
+);
+
+// A telepített modulok
+$INSTALLED_MODULES = array();
+/*
+if ($dh = opendir('include/config/')) {
+ while (($file = readdir($dh)) !== false) {
+ if (substr($file,0,6)=='module') require('include/config/'.$file);
+ }
+ closedir($dh);
+}
+*/
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/config/main.conf.example b/mayor-orig/mayor-base/config/main.conf.example
new file mode 100644
index 00000000..53fb28a5
--- /dev/null
+++ b/mayor-orig/mayor-base/config/main.conf.example
@@ -0,0 +1,75 @@
+#======================#
+# Main #
+#======================#
+
+BASEDIR="/var/mayor"
+WEB_SERVER_USER="www-data"
+MYSQL_HOST="localhost"
+MYSQL_USER="root"
+MYSQL_PW="%SQLPW%"
+
+MYSQL=/usr/bin/mysql
+SHELL=/bin/sh
+
+#======================#
+# Update #
+#======================#
+
+UPDATELOG="$BASEDIR/log/update.log"
+SQLLOG="$BASEDIR/log/sql-update.log"
+REVISION_FILE="$BASEDIR/log/revision"
+UPDATEDIR="$BASEDIR/update"
+TMPDIR=/tmp/update
+LOCKFILE=/var/run/mayor.lock
+
+MODULES="mayor-base mayor-naplo"
+# A wget megléte szükséges a http/tgz alapú frissítés használatához!
+HTTP_SERVER=http://mirror.mayor.hu/download
+
+# Ha a verzió egyedi nevét írjuk be (bubbly, radyx, rypple...),
+# akkor saját hatáskörben dől el, hogy mikor váltunk verziót.
+# Ha a "current" értéket adjuk meg, akkor a verzióváltás automatikus
+VERSION=current
+
+# Egyes oldalak letiltása
+# publicDeny="naplo/tanev/orarend naplo/tanev/masikoldal"
+
+# Saját update scritp teljes elérési útja
+# A szkript a rendes update folyamat végén fut le. A szkriptnek léteznie kell és futtatási joggal kell rendelkeznie.
+# LOCAL_UPDATE_SCRIPT=/usr/local/sbin/mayor-localupdate.sh
+
+
+#======================#
+# Backup #
+#======================#
+
+BACKUPDIR=/home/backup
+
+EXCLUDED_DBS=''
+
+SAVELDAP=0
+BASEDN='o=mayor,c=hu'
+LDAPCONFDIR=/etc/ldap
+LDAPDBDIR=/var/lib/ldap
+
+# Hány napig tartsuk meg a mentéseket? 0 esetén mindet megtartjuk (ajánlott)
+BACKUPDAYS=0
+
+# Ha a backup file-névben YYYYMMDDHHMM órát és percet is tárolnánk, kommentezzük ki a DATE= változót!
+#DATE=`date "+%Y%m%d%H%M"`
+
+
+# Losonci János kiegészítése (losy@agymk.sulinet.hu)
+# PREFIX a mentés tgz előtagja
+
+PREFIX=''
+
+# RSYNC ha értéke nem 1, nincs rsync
+# RHOST rsync távoli gép
+# RUSER rsync távoli gép felhasználó
+# RPATH rsync távoli gépen levő útvonal a mentéshez
+
+RSYNC=0
+RUSER=''
+RHOST=''
+RPATH=''
diff --git a/mayor-orig/mayor-base/config/menu/public/menu-hu_HU.php.example b/mayor-orig/mayor-base/config/menu/public/menu-hu_HU.php.example
new file mode 100644
index 00000000..877a7758
--- /dev/null
+++ b/mayor-orig/mayor-base/config/menu/public/menu-hu_HU.php.example
@@ -0,0 +1,16 @@
+<?php
+
+ // Órarend, helyettesítés eltűntetése
+ unset($MENU['naplo']);
+ unset($MENU['modules']['naplo']['tanev']);
+
+ // A bejelentkezés oldal almenüjének törlése
+ unset($MENU['modules']['auth']);
+
+ // Külső hivatkozás: Sulinet portál
+ $MENU['sulinet'] = array(
+ array('txt' => 'SuliNet', 'url' => 'http://www.sulinet.hu', 'target' => '_blank'),
+ );
+
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/config/parent-conf.php.example b/mayor-orig/mayor-base/config/parent-conf.php.example
new file mode 100644
index 00000000..75249139
--- /dev/null
+++ b/mayor-orig/mayor-base/config/parent-conf.php.example
@@ -0,0 +1,22 @@
+<?php
+
+$DEFAULT_PSF['parent'] = array('page'=>'naplo', 'f' => 'diakValaszto');
+//$DEFAULT_PSF['parent'] = array('page'=>'portal', 'f' => 'start');
+$AUTH['parent'] = array(
+ 'backend' => 'mysql',
+ 'authentication' => 'required',
+ 'onExpired' => 'warning',
+ 'onDisabled' => 'none',
+ 'enableSelfPasswordChange' => true,
+ 'enablePasswordReset' => true,
+# 'createAccount' => 'byRegistration',
+ 'createAccount' => 'byAdmin',
+ 'accountAttrs' => array('mail','telephoneNumber'),
+
+ 'mysql host' => 'localhost',
+ 'mysql db' => 'mayor_parent',
+ 'mysql user' => 'mayor_parent',
+ 'mysql pw' => '%SQLPW%',
+);
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/config/private-conf.php.example b/mayor-orig/mayor-base/config/private-conf.php.example
new file mode 100644
index 00000000..f241e358
--- /dev/null
+++ b/mayor-orig/mayor-base/config/private-conf.php.example
@@ -0,0 +1,76 @@
+<?php
+
+// A kezdőlap beállítása
+// Ha a portál modult telepítjük:
+// $DEFAULT_PSF['private'] = array('page'=>'portal', 'sub'=>'portal', 'f' => 'portal');
+// Illetve nélküle, csak napló modullal:
+ $DEFAULT_PSF['private'] = array('page'=>'naplo', 'sub'=>'', 'f' => 'naplo');
+
+/*
+ 'onExpired = 'none' | 'warning' | 'force update'
+ Ha lejár a jelszó érvényessége (de még nincs letiltva), akkor
+ none - ne történjen semmi, azaz nem vesszük figyelembe, beengedjük
+ warning - beengedjük figyelmeztető üzenettel
+ force update - jelszóváltoztatásra kényszerítjük => enableSelfPasswordChange
+ 'onDisabled = 'none' | 'refuse'
+ none - nem vesszük figyelembe, azaz beengedjük
+ refuse - visszautasítjuk
+ 'enableSelfPasswordChange' = true | false
+ 'accountCreateMode' => 'registration' | 'create by admin' => admingroup
+
+*/
+
+
+ $AUTH['private'] = array(
+// 'backend' => 'ldap',
+// 'backend' => 'ads',
+ 'backend' => 'mysql',
+
+ 'authentication' => 'required',
+ 'onExpired' => 'force update',
+ 'onDisabled' => 'none',
+ 'enableSelfPasswordChange' => true,
+ 'createAccount' => 'byAdmin',
+ 'adminGroup' => 'useradmin',
+ 'categories' => array('tanár','diák','titkárság','egyéb'),
+ 'accountAttrs' => array('studyId','mail','telephoneNumber'),
+ 'unixStyleAccounts' => false,
+
+ 'shadowLastChange' => intval(time()/(60*60*24)),
+ 'shadowMin' => 2,
+ 'shadowMax' => 80,
+ 'shadowWarning' => 10,
+ 'shadowInactive' => 0,
+
+ 'mysql host' => 'localhost',
+ 'mysql db' => 'mayor_private',
+ 'mysql user' => 'mayor_private',
+ 'mysql pw' => '%SQLPW%',
+
+ //OpenLdap + MaYoR schema
+ //'ldap hostname' => 'localhost',
+ //'ldap protocol version' => 3,
+ //'ldap base dn' => 'o=mayor,c=hu',
+ //'createAccountScript' => 'accounts.sh'
+
+ #Active Directory Test
+ #'backend' => 'ads',
+ #'adsHostname' => 'ldaps://your.domain:636', // Jelszóváltoztatáshoz kötelező az ldaps
+ #'adsBaseDn' => 'DC=your,DC=domain',
+ #'adsUser' => 'CN=User,OU=Users,DC=your,DC=domain', // Olvasási jog az AD-ben - Normál user
+ #'adsPw' => 'jelszó',
+ #'adsAccountOperatorUser' => 'CN=Op,OU=Users,DC=your,DC=domain', // Account Operators (Fiókfelelősök) csoport tag pl (jelszóváltoztatás)
+ #'adsAccountOperatorPw' => 'jelszó',
+ #'adsUserObjectClass' => 'person', // Userek objectum osztálya (volt posixAccount)
+ #'adsGroupObjectClass' => 'group', // Csoportok objectum osztálya (volt nayorGroup)
+ #'adsStudyIdAttr' => 'serialnumber', // Az oktatási azonosítót tároló attribútum (studyId)
+ #'adsContainers' => array(
+ # 'ou=IT,dc=vmg,dc=local',
+ # 'ou=diak,dc=vmg,dc=local'
+ #),
+ #'adminGroup' => 'Fiókfelelősök',
+ #'cacheable' => true,
+ );
+ $AUTH['private']['shadowExpire'] = $AUTH['private']['shadowLastChange'] + $AUTH['private']['shadowMax'] + $AUTH['private']['shadowInactive'];
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/config/private-conf.php.ldap-ng.example b/mayor-orig/mayor-base/config/private-conf.php.ldap-ng.example
new file mode 100644
index 00000000..63643bc2
--- /dev/null
+++ b/mayor-orig/mayor-base/config/private-conf.php.ldap-ng.example
@@ -0,0 +1,66 @@
+<?php
+
+// A kezdőlap beállítása
+// Ha a portál modult telepítjük:
+// $DEFAULT_PSF['private'] = array('page'=>'portal', 'sub'=>'portal', 'f' => 'portal');
+// Illetve nélküle, csak napló modullal:
+ $DEFAULT_PSF['private'] = array('page'=>'naplo', 'sub'=>'', 'f' => 'naplo');
+
+/*
+ 'onExpired = 'none' | 'warning' | 'force update'
+ Ha lejár a jelszó érvényessége (de még nincs letiltva), akkor
+ none - ne történjen semmi, azaz nem vesszük figyelembe, beengedjük
+ warning - beengedjük figyelmeztető üzenettel
+ force update - jelszóváltoztatásra kényszerítjük => enableSelfPasswordChange
+ 'onDisabled = 'none' | 'refuse'
+ none - nem vesszük figyelembe, azaz beengedjük
+ refuse - visszautasítjuk
+ 'enableSelfPasswordChange' = true | false
+ 'accountCreateMode' => 'registration' | 'create by admin' => admingroup
+
+*/
+
+
+ $AUTH['private'] = array(
+
+ 'authentication' => 'required',
+ 'onExpired' => 'force update',
+ 'onDisabled' => 'none',
+ 'enableSelfPasswordChange' => true,
+ 'createAccount' => 'byAdmin',
+ 'adminGroup' => 'useradmin',
+ 'categories' => array('tanár','diák','titkárság','egyéb'),
+ 'accountAttrs' => array('studyId','mail','telephoneNumber'),
+ 'unixStyleAccounts' => false,
+
+ 'shadowLastChange' => intval(time()/(60*60*24)),
+ 'shadowMin' => 2,
+ 'shadowMax' => 80,
+ 'shadowWarning' => 10,
+ 'shadowInactive' => 0,
+
+ # LDAP-NG
+ 'backend' => 'ldap-ng',
+ 'ldapHostname' => 'ldaps://your.domain:636', // Jelszóváltoztatáshoz kötelező az ldaps
+ 'ldapBaseDn' => 'DC=your,DC=domain',
+ 'ldapUser' => 'CN=User,OU=Users,DC=your,DC=domain', // Olvasási jog az AD-ben - Normál user
+ 'ldapPw' => 'jelszó',
+ #'ldapAccountOperatorUser' => 'CN=Op,OU=Users,DC=your,DC=domain', // Account Operators (Fiókfelelősök) csoport tag pl (jelszóváltoztatás)
+ #'ldapAccountOperatorPw' => 'jelszó',
+ 'ldapUserObjectClass' => 'person', // Userek objectum osztálya (volt posixAccount)
+ 'ldapStudyIdAttr' => 'serialnumber', // Az oktatási azonosítót tároló attribútum (studyId)
+ 'ldapUserAccountAttr' => 'uid', // A felhasználói azonosítót tároló attribútum (uid)
+ 'ldapCnAttr' => 'cn', // A felhasználói teljes neve (cn)
+ 'ldapGroupObjectClass' => 'group', // Csoportok objectum osztálya (volt nayorGroup)
+ 'ldapGroupCnAttr' => 'cn', // A csoport teljes neve (cn)
+
+ 'ldapContainers' => array(
+ 'ou=IT,dc=vmg,dc=local',
+ 'ou=diak,dc=vmg,dc=local'
+ ),
+ #'adminGroup' => 'Fiókfelelősök',
+ #'cacheable' => true,
+ );
+ $AUTH['private']['shadowExpire'] = $AUTH['private']['shadowLastChange'] + $AUTH['private']['shadowMax'] + $AUTH['private']['shadowInactive'];
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/config/public-conf.php.example b/mayor-orig/mayor-base/config/public-conf.php.example
new file mode 100644
index 00000000..a366aefa
--- /dev/null
+++ b/mayor-orig/mayor-base/config/public-conf.php.example
@@ -0,0 +1,24 @@
+<?php
+
+// A kezdőlap beállítása
+// Ha a portál modult telepítjük:
+// $DEFAULT_PSF['public'] = array('page'=>'portal', 'sub'=>'portal', 'f' => 'portal');
+// Illetve nélküle, csak napló modullal:
+ $DEFAULT_PSF['public'] = array('page'=>'auth', 'sub'=>'', 'f' => 'login');
+
+$AUTH['public'] = array(
+ 'backend' => 'file',
+ 'authentication' => 'optional',
+ 'onExpired' => 'force update',
+ 'onDisabled' => 'refuse',
+ 'accountAttrs' => array('mail'),
+
+ 'file account file' => '/tmp/passwd',
+ 'file group file' => '/tmp/group',
+);
+
+// authentication:
+// - optional: nem próbálunk authentikálni [default]
+// - try: megpróbálhatunk belépni (globalLogin használja)
+// - required: kötelező
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/config/skin-blue/config.php.example b/mayor-orig/mayor-base/config/skin-blue/config.php.example
new file mode 100644
index 00000000..ff576e78
--- /dev/null
+++ b/mayor-orig/mayor-base/config/skin-blue/config.php.example
@@ -0,0 +1,8 @@
+<?php
+
+// define('_HOME_LOGO','skin/sulix/base/img/build-w.png');
+// define('_SCHOOL_NAME','MaYoR elektronikus napló');
+// define('__MAX_MENU',5);
+// define('__COLOR_SCHEME','red'); // blue, red, yellow
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/config/skin-classic/config.php.example b/mayor-orig/mayor-base/config/skin-classic/config.php.example
new file mode 100644
index 00000000..46422cf8
--- /dev/null
+++ b/mayor-orig/mayor-base/config/skin-classic/config.php.example
@@ -0,0 +1,7 @@
+<?php
+ // site skin specific html head
+ $SSSHH = '';
+ //$SSSHH .= '<meta name="robots" content="index,follow" />'."\n";
+ //$SSSHH .= '<link rel="shortcut icon" href="/favicon.ico" />'."\n";
+ //define('_ENABLE_IFRAME_EMBEDDING',true); // IFRAME-be ágyazás engedélyezése - !! Biztonsági kockázat !!
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/config/skin-sulix/config.php.example b/mayor-orig/mayor-base/config/skin-sulix/config.php.example
new file mode 100644
index 00000000..b2afcacb
--- /dev/null
+++ b/mayor-orig/mayor-base/config/skin-sulix/config.php.example
@@ -0,0 +1,6 @@
+<?php
+
+ // IFRAME-be ágyazás engedélyezése - !! Biztonsági kockázat !!
+ // DEPRECATED define('_ENABLE_IFRAME_EMBEDDING',true);
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/config/skin-winter/config.php.example b/mayor-orig/mayor-base/config/skin-winter/config.php.example
new file mode 100644
index 00000000..d106ade5
--- /dev/null
+++ b/mayor-orig/mayor-base/config/skin-winter/config.php.example
@@ -0,0 +1,6 @@
+?php
+ // site skin specific html head
+ $SSSHH = '';
+ //$SSSHH .= '<meta name="robots" content="index,follow" />'."\n";
+ //$SSSHH .= '<link rel="shortcut icon" href="/favicon.ico" />'."\n";
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/download/galleries/sample/01.jpg b/mayor-orig/mayor-base/download/galleries/sample/01.jpg
new file mode 100755
index 00000000..26759caa
--- /dev/null
+++ b/mayor-orig/mayor-base/download/galleries/sample/01.jpg
Binary files differ
diff --git a/mayor-orig/mayor-base/install/base/apache2/mayor.conf b/mayor-orig/mayor-base/install/base/apache2/mayor.conf
new file mode 100644
index 00000000..d50b25a5
--- /dev/null
+++ b/mayor-orig/mayor-base/install/base/apache2/mayor.conf
@@ -0,0 +1,46 @@
+<VirtualHost *:443>
+ ServerName your.mayor.server.hu
+
+ ServerAdmin webmaster@localhost
+
+ SSLEngine On
+ SSLCertificateFile /etc/apache2/ssl/apache.pem
+# # SSLCertificateFile /etc/apache2/ssl/crt/name-cert.pem
+# # SSLCertificateKeyFile /etc/apache2/ssl/key/name-key.pem
+
+ DocumentRoot /var/mayor/www/
+ <Directory />
+ Options FollowSymLinks
+ AllowOverride None
+ </Directory>
+ <Directory /var/mayor/www/>
+ Options -Indexes +FollowSymLinks +MultiViews
+ AllowOverride None
+ # Apache 2.2 # Order allow,deny
+ # Apache 2.2 # allow from all
+ # Apache 2.4 # Require all granted
+ <IfVersion >= 2.3>
+ Require all granted
+ </IfVersion>
+ <IfVersion < 2.3>
+ order allow,deny
+ allow from all
+ </IfVersion>
+ RewriteEngine on
+ RewriteBase /
+ RewriteCond %{SERVER_PORT} ^80$
+ RewriteCond %{THE_REQUEST} .*(policy=private|page=auth|page=password).*
+ RewriteRule (.*)$ https://%{SERVER_NAME}/$1 [L]
+
+ </Directory>
+
+ ErrorLog /var/log/apache2/error.log
+
+ # Possible values include: debug, info, notice, warn, error, crit,
+ # alert, emerg.
+ LogLevel warn
+
+ CustomLog /var/log/apache2/access.log combined
+ ServerSignature On
+
+</VirtualHost>
diff --git a/mayor-orig/mayor-base/install/base/ldap/access-control/mayor.acl b/mayor-orig/mayor-base/install/base/ldap/access-control/mayor.acl
new file mode 100644
index 00000000..abc5b4d5
--- /dev/null
+++ b/mayor-orig/mayor-base/install/base/ldap/access-control/mayor.acl
@@ -0,0 +1,97 @@
+#
+# Jelszó változtatás
+#
+
+access to dn.subtree="ou=diak,%BASEDN%"
+ attrs=userPassword
+ by anonymous auth
+ by self write
+ by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write
+ by group/mayorGroup/member="cn=diakadmin,ou=Groups,%BASEDN%" write
+ by * none
+
+access to attrs=userPassword
+ by anonymous auth
+ by self write
+ by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write
+ by * none
+
+
+access to dn.subtree="ou=diak,%BASEDN%"
+ attrs=shadowLastChange,shadowExpire
+ by anonymous read
+ by self write
+ by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write
+ by group/mayorGroup/member="cn=diakadmin,ou=Groups,%BASEDN%" write
+ by * read
+
+access to attrs=shadowLastChange,shadowExpire
+ by anonymous read
+ by self write
+ by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write
+ by * read
+
+#
+# Személyes adatok
+#
+
+# A session nyitáshoz szükséges adatoknak publikusan olvashatónak kell lennie (shadow, studyId)
+
+access to dn.subtree="ou=diak,%BASEDN%"
+ attrs=mail
+ by self write
+ by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write
+ by group/mayorGroup/member="cn=diakadmin,ou=Groups,%BASEDN%" write
+ by * read
+
+access to dn.subtree="ou=diak,%BASEDN%"
+ attrs=telephonenumber,mobile
+ by self write
+ by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write
+ by group/mayorGroup/member="cn=diakadmin,ou=Groups,%BASEDN%" write
+ by users read
+ by * none
+
+access to dn.subtree="ou=diak,%BASEDN%"
+ attrs=cn,studyId
+ by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write
+ by group/mayorGroup/member="cn=diakadmin,ou=Groups,%BASEDN%" write
+ by * read
+
+access to dn.subtree="ou=diak,%BASEDN%"
+ attrs=l,street,postaladdress,postalcode
+ by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write
+ by group/mayorGroup/member="cn=diakadmin,ou=Groups,%BASEDN%" write
+ by users read
+ by * none
+
+# ******************************************************************* #
+
+access to attrs=mail
+ by self write
+ by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write
+ by * read
+
+access to attrs=telephonenumber,mobile
+ by self write
+ by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write
+ by users read
+ by * none
+
+access to attrs=cn,studyId
+ by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write
+ by * read
+
+access to attrs=l,street,postaladdress,postalcode
+ by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write
+ by users read
+ by * none
+
+#
+# Alapértelmezett
+#
+
+access to *
+ by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write
+ by anonymous read
+ by * read
diff --git a/mayor-orig/mayor-base/install/base/ldap/ldif/groups.ldif b/mayor-orig/mayor-base/install/base/ldap/ldif/groups.ldif
new file mode 100644
index 00000000..8b029ef3
--- /dev/null
+++ b/mayor-orig/mayor-base/install/base/ldap/ldif/groups.ldif
@@ -0,0 +1,59 @@
+# -------------------------------------------
+# MaYoR keretrendszer - alapvető csoportok
+# -------------------------------------------
+
+dn: cn=useradmin,ou=Groups,%BASEDN%
+cn: useradmin
+gidNumber: 6001
+description:: VXNlciBhZG1pbmlzenRyw6FjacOz
+member: uid=mayoradmin,ou=egyeb,%BASEDN%
+memberUid: mayoradmin
+objectClass: mayorGroup
+
+dn: cn=tanar,ou=Groups,ou=tanar,%BASEDN%
+cn: tanar
+gidNumber: 6002
+description:: QSB0YW7DoXJvaw==
+member: uid=mayoradmin,ou=egyeb,%BASEDN%
+memberUid: mayoradmin
+objectClass: mayorGroup
+
+dn: cn=titkarsag,ou=Groups,ou=titkarsag,%BASEDN%
+cn: titkarsag
+gidNumber: 6003
+description:: VGl0a8OhcnPDoWc=
+member: uid=mayoradmin,ou=egyeb,%BASEDN%
+memberUid: mayoradmin
+objectClass: mayorGroup
+
+dn: cn=gazdasagi,ou=Groups,ou=gazdasagi,%BASEDN%
+cn: gazdasagi
+gidNumber: 6004
+description:: R2F6ZGFzw6FnaQ==
+member: uid=mayoradmin,ou=egyeb,%BASEDN%
+memberUid: mayoradmin
+objectClass: mayorGroup
+
+dn: cn=egyeb,ou=Groups,ou=egyeb,%BASEDN%
+cn: egyeb
+gidNumber: 6005
+description: Egyeb
+member: uid=mayoradmin,ou=egyeb,%BASEDN%
+memberUid: mayoradmin
+objectClass: mayorGroup
+
+dn: cn=vezetoseg,ou=Groups,%BASEDN%
+cn: vezetoseg
+gidNumber: 6006
+description:: VmV6ZXTFkXPDqWc=
+member: uid=mayoradmin,ou=egyeb,%BASEDN%
+memberUid: mayoradmin
+objectClass: mayorGroup
+
+dn: cn=diakadmin,ou=Groups,%BASEDN%
+cn: diakadmin
+gidNumber: 6007
+description: Diak admin
+member: uid=mayoradmin,ou=egyeb,%BASEDN%
+memberUid: mayoradmin
+objectClass: mayorGroup
diff --git a/mayor-orig/mayor-base/install/base/ldap/ldif/o.ldif b/mayor-orig/mayor-base/install/base/ldap/ldif/o.ldif
new file mode 100644
index 00000000..c13b12c5
--- /dev/null
+++ b/mayor-orig/mayor-base/install/base/ldap/ldif/o.ldif
@@ -0,0 +1,9 @@
+# ------------------------------------------
+# MaYoR keretrendszer - organization object
+# ------------------------------------------
+dn: %BASEDN%
+o: %ORGANIZATION%
+objectClass: organization
+objectClass: mayorOrganization
+nextuid: 3100
+nextgid: 6100
diff --git a/mayor-orig/mayor-base/install/base/ldap/ldif/ou.ldif b/mayor-orig/mayor-base/install/base/ldap/ldif/ou.ldif
new file mode 100644
index 00000000..3c4609c3
--- /dev/null
+++ b/mayor-orig/mayor-base/install/base/ldap/ldif/ou.ldif
@@ -0,0 +1,62 @@
+# ------------------------------------------------
+# MaYoR keretrendszer - organizational unit-ok
+# ------------------------------------------------
+
+dn: ou=Groups,%BASEDN%
+ou: Groups
+objectClass: organizationalUnit
+description: MaYoR csoportok
+
+# ------------------------------------------------
+
+dn: ou=diak,%BASEDN%
+ou: diak
+objectClass: organizationalUnit
+description:: RGnDoWtvaw==
+
+dn: ou=egyeb,%BASEDN%
+ou: egyeb
+objectClass: organizationalUnit
+description:: RWd5w6liIGZlbGhhc3puw6Fsw7Nr
+
+dn: ou=gazdasagi,%BASEDN%
+ou: gazdasagi
+objectClass: organizationalUnit
+description:: R2F6ZGFzw6FnaSBpcm9kYQ==
+
+dn: ou=tanar,%BASEDN%
+ou: tanar
+objectClass: organizationalUnit
+description:: VGFuw6Fyb2s=
+
+dn: ou=titkarsag,%BASEDN%
+ou: titkarsag
+objectClass: organizationalUnit
+description:: VGl0a8OhcnPDoWc=
+
+# ------------------------------------------------
+
+dn: ou=Groups,ou=diak,%BASEDN%
+ou: Groups
+objectClass: organizationalUnit
+description:: RGnDoWsgY3NvcG9ydG9r
+
+dn: ou=Groups,ou=egyeb,%BASEDN%
+ou: Groups
+objectClass: organizationalUnit
+description:: RWd5w6liIGNzb3BvcnRvaw==
+
+dn: ou=Groups,ou=gazdasagi,%BASEDN%
+ou: Groups
+objectClass: organizationalUnit
+description:: R2F6ZGFzw6FnaSBpcm9kYSBjc29wb3J0amFp
+
+dn: ou=Groups,ou=tanar,%BASEDN%
+ou: Groups
+objectClass: organizationalUnit
+description:: VGFuw6FyIGNzb3BvcnRvaw==
+
+dn: ou=Groups,ou=titkarsag,%BASEDN%
+ou: Groups
+objectClass: organizationalUnit
+description:: VGl0a8OhcnPDoWdpIGNzb3BvcnRvaw==
diff --git a/mayor-orig/mayor-base/install/base/ldap/ldif/user.ldif b/mayor-orig/mayor-base/install/base/ldap/ldif/user.ldif
new file mode 100644
index 00000000..b4c747c7
--- /dev/null
+++ b/mayor-orig/mayor-base/install/base/ldap/ldif/user.ldif
@@ -0,0 +1,23 @@
+# ----------------------------------------
+# MaYoR keretrendszer - mayoradmin
+# ----------------------------------------
+
+dn: uid=mayoradmin,ou=egyeb,%BASEDN%
+uid: mayoradmin
+sn: MaYoR
+givenName: Admin
+cn: MaYoR Admin
+gecos: MaYoR Admin
+uidNumber: 3001
+gidNumber: 3001
+homeDirectory: /tmp
+userPassword: MayorJelszo
+objectClass: mayorPerson
+objectClass: person
+
+dn: cn=mayoradmin,ou=Groups,ou=egyeb,%BASEDN%
+cn: mayoradmin
+gidNumber: 3001
+memberUid: mayoradmin
+description:: QSBmZWxoYXN6bsOhbMOzIHNhasOhdCBjc29wb3J0amE=
+objectClass: posixGroup
diff --git a/mayor-orig/mayor-base/install/base/ldap/mayor-slapd.conf b/mayor-orig/mayor-base/install/base/ldap/mayor-slapd.conf
new file mode 100644
index 00000000..d64f6623
--- /dev/null
+++ b/mayor-orig/mayor-base/install/base/ldap/mayor-slapd.conf
@@ -0,0 +1,42 @@
+#
+# Slapd Config File (example)
+# Fontosabb beállítások
+#
+
+# mayor objectum schemák
+include "/etc/ldap/mayor/schema/mayor.schema"
+
+# Backend típusa (alapértelmezett az ldbm)
+database bdb
+
+# Az alap könyvtár (az iskola egyedi azonosítója)
+suffix "%BASEDN%"
+
+# Az adatbázis file-ok fizikai helye
+directory "/var/lib/ldap/%ORGANIZATION%"
+
+# Az eltárolt entry-k száma és az index-file-onkénti tár terület
+# Olvasd el: http://k12linux.mesd.k12.or.us/ldap/performance.html
+cachesize 10000
+
+# dbcachesize <integer>
+# Specify the size in bytes of the in-memory cache associated with
+# each open index file. If not supported by the underlying
+# database method, this option is ignored without comment. The
+# default is 100000 bytes.
+#dbcachesize 1048576
+
+# Indexek
+index objectClass,uid pres,eq
+index cn pres,eq,sub
+index uidNumber,gidNumber eq
+
+# Jogosultságok
+include "/etc/ldap/mayor/access-control/mayor.acl"
+
+# Adminisztrátori jogok
+access to *
+ by dn="uid=admin,%BASEDN%" write
+ by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write
+ by * read
+ \ No newline at end of file
diff --git a/mayor-orig/mayor-base/install/base/ldap/schema/mayor.schema b/mayor-orig/mayor-base/install/base/ldap/schema/mayor.schema
new file mode 100644
index 00000000..147187fe
--- /dev/null
+++ b/mayor-orig/mayor-base/install/base/ldap/schema/mayor.schema
@@ -0,0 +1,101 @@
+# -------------------------------------------------------------------------
+#
+# MaYoR keretrendszer LDAP backend schema definíciói
+#
+# -------------------------------------------------------------------------
+
+objectIdentifier mayorOID 1.3.6.1.4.1.13308
+objectIdentifier mayorAttributeType mayorOID:1
+objectIdentifier mayorObjectClass mayorOID:2
+
+# -------------------------------------------------------------------------
+# Attribútumok
+# -------------------------------------------------------------------------
+
+attributeType ( mayorAttributeType:5
+ NAME 'leader'
+ DESC 'A csoport főnöke - pl. osztályfőnök'
+ SUP owner )
+
+attributeType ( mayorAttributeType:6
+ NAME 'nextUid'
+ DESC 'A következő uidNumber'
+ SUP uidNumber )
+
+attributeType ( mayorAttributeType:7
+ NAME 'nextGid'
+ DESC 'A következő gidNumber'
+ SUP gidNumber )
+
+attributeType ( mayorAttributeType:8
+ NAME 'freeUid'
+ DESC 'Szabad uidNumber'
+ SUP uidNumber )
+
+attributeType ( mayorAttributeType:9
+ NAME 'freeGid'
+ DESC 'Szabad gidNumber'
+ SUP gidNumber )
+
+attributetype ( mayorAttributeType:31
+ NAME 'studyId'
+ DESC 'Oktatási azonosító'
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.36
+ EQUALITY numericStringMatch
+ SUBSTR numericStringSubstringsMatch )
+
+# ================================================================
+# Objektum osztályok
+# ================================================================
+
+objectClass ( mayorObjectClass:1
+ NAME 'mayorOrganization'
+ DESC 'MaYoR Organizational Object'
+ SUP organization
+ MUST ( nextUid $ nextGid )
+ MAY ( freeUid $ freeGid ) )
+
+objectClass ( mayorObjectClass:2
+ NAME 'mayorPerson'
+ DESC 'MaYoR Person'
+ SUP (posixAccount $ shadowAccount) AUXILIARY
+ MAY ( sn $ givenName $ l $ street $ mail $ postalAddress $ postalCode $ telephoneNumber $
+ mobile $ roomNumber $ studyId ) )
+# SUP ( posixAccount $ shadowAccount )
+
+objectClass ( mayorObjectClass:3
+ NAME 'mayorGroup'
+ DESC 'MaYoR Group'
+ SUP ( posixGroup $ groupOfNames )
+ MAY ( leader $ mail ) )
+
+# =======================================================================================
+#
+# objectclass ( 1.3.6.1.1.1.2.0 NAME 'posixAccount'
+# DESC 'Abstraction of an account with POSIX attributes'
+# SUP top AUXILIARY
+# MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
+# MAY ( userPassword $ loginShell $ gecos $ description ) )
+#
+# objectclass ( 1.3.6.1.1.1.2.1 NAME 'shadowAccount'
+# DESC 'Additional attributes for shadow passwords'
+# SUP top AUXILIARY
+# MUST uid
+# MAY ( userPassword $ shadowLastChange $ shadowMin $
+# shadowMax $ shadowWarning $ shadowInactive $
+# shadowExpire $ shadowFlag $ description ) )
+#
+# objectclass ( 1.3.6.1.1.1.2.2 NAME 'posixGroup'
+# DESC 'Abstraction of a group of accounts'
+# SUP top STRUCTURAL
+# MUST ( cn $ gidNumber )
+# MAY ( userPassword $ memberUid $ description ) )
+#
+# objectclass ( 2.5.6.6 NAME 'person'
+# DESC 'RFC2256: a person'
+# SUP top STRUCTURAL
+# MUST ( sn $ cn )
+# MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )
+#
+# =======================================================================================
+
diff --git a/mayor-orig/mayor-base/install/base/ldap/schema/mayor.schema.orig b/mayor-orig/mayor-base/install/base/ldap/schema/mayor.schema.orig
new file mode 100644
index 00000000..0d1a6547
--- /dev/null
+++ b/mayor-orig/mayor-base/install/base/ldap/schema/mayor.schema.orig
@@ -0,0 +1,307 @@
+# $OpenLDAP: pkg/ldap/servers/slapd/schema/openldap.schema,v 1.10.2.6 2000/10/11 02:36:50 kurt Exp $
+#
+# OpenLDAP Project's directory schema items
+#
+# depends upon:
+# core.schema
+# cosine.schema
+# inetorgperson.schema
+#
+# These are provided for informational purposes only.
+#
+# Prefix: iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
+# The IANA has assigned the following Private Enterprise Number 13308.
+# 13308 Vrosmajori Gimnzium Bence Brnkopf barnkopf@debyl.vmg.sulinet.hu
+#
+# -------------------------------------------------------------------------
+#
+# MaYoR elektronikus napl schema defincii
+# 1.3.6.1.4.1.13308.1 - attributumok
+# 1.3.6.1.4.1.13308.2 - objectumok
+#
+# -------------------------------------------------------------------------
+
+
+attributeType ( 1.3.6.1.4.1.13308.1.1
+ NAME 'url'
+ DESC 'A csoport oldalhoz tartoz URL'
+ EQUALITY caseExactMatch
+ SUBSTR caseExactSubstringsMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
+
+attributeType ( 1.3.6.1.4.1.13308.1.2
+ NAME 'homePage'
+ DESC 'A user vagy csoport honlapja'
+ EQUALITY caseExactMatch
+ SUBSTR caseExactSubstringsMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
+
+attributeType ( 1.3.6.1.4.1.13308.1.3
+ NAME 'class'
+ DESC 'Az osztly betjele (A-D)'
+ EQUALITY caseIgnoreMatch
+ SUBSTR caseIgnoreSubstringsMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
+
+attributeType ( 1.3.6.1.4.1.13308.1.4
+ NAME 'year'
+ DESC 'vfolyam 7-tl 12-ig'
+ EQUALITY integerMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.27{32768} )
+
+attributeType ( 1.3.6.1.4.1.13308.1.5
+ NAME 'leader'
+ DESC 'A csoport fnke - pl. osztlyfnk'
+ SUP owner )
+
+attributeType ( 1.3.6.1.4.1.13308.1.6
+ NAME 'nextUid'
+ DESC 'A kvetkez uidNumber'
+ SUP uidNumber )
+
+attributeType ( 1.3.6.1.4.1.13308.1.7
+ NAME 'nextGid'
+ DESC 'A kvetkez gidNumber'
+ SUP gidNumber )
+
+attributeType ( 1.3.6.1.4.1.13308.1.8
+ NAME 'freeUid'
+ DESC 'Szabad uidNumber'
+ SUP uidNumber )
+
+attributeType ( 1.3.6.1.4.1.13308.1.9
+ NAME 'freeGid'
+ DESC 'Szabad gidNumber'
+ SUP gidNumber )
+
+attributeType ( 1.3.6.1.4.1.13308.1.10
+ NAME 'subject'
+ DESC 'Tantrgy neve'
+ SUP name )
+
+attributeType ( 1.3.6.1.4.1.13308.1.11
+ NAME 'level'
+ DESC 'Tantrgy szintje (fakultci,alap,tagozat)'
+ SUP name )
+
+attributetype ( 1.3.6.1.4.1.13308.1.12
+ NAME 'registerTimestamp'
+ EQUALITY generalizedTimeMatch
+ ORDERING generalizedTimeOrderingMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
+ DESC 'Beiratkozs dtuma' )
+
+attributetype ( 1.3.6.1.4.1.13308.1.13
+ NAME 'classTimestamp'
+ EQUALITY generalizedTimeMatch
+ ORDERING generalizedTimeOrderingMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
+ DESC 'Osztlyba kerls dtuma' )
+
+attributetype ( 1.3.6.1.4.1.13308.1.14
+ NAME 'studentCardTimestamp'
+ EQUALITY generalizedTimeMatch
+ ORDERING generalizedTimeOrderingMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
+ DESC 'Dikigazolvny killtsnak dtuma' )
+
+attributetype ( 1.3.6.1.4.1.13308.1.15
+ NAME 'birthTimestamp'
+ EQUALITY generalizedTimeMatch
+ ORDERING generalizedTimeOrderingMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
+ DESC 'Szletsi dtum' )
+
+attributetype ( 1.3.6.1.4.1.13308.1.16
+ NAME 'localityTimestamp'
+ EQUALITY generalizedTimeMatch
+ ORDERING generalizedTimeOrderingMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
+ DESC 'Lakcm dtuma' )
+
+attributetype ( 1.3.6.1.4.1.13308.1.17
+ NAME 'guardianCn'
+ DESC 'Gondvisel (apa) neve'
+ SUP cn )'
+
+attributetype ( 1.3.6.1.4.1.13308.1.18
+ NAME 'motherCn'
+ DESC 'Anya neve'
+ SUP cn )'
+
+attributetype ( 1.3.6.1.4.1.13308.1.19
+ NAME 'birthLocality'
+ DESC 'Szletsi hely'
+ SUP l )'
+
+##
+# OM kd (8 db (?) szm)
+##
+attributetype ( 1.3.6.1.4.1.13308.1.20
+ NAME 'primarySchoolOMCode'
+ DESC 'ltalnos iskola azonostja'
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.36
+ EQUALITY numericStringMatch
+ SUBSTR numericStringSubstringsMatch )
+
+##
+# 10 jegy szm
+##
+attributetype ( 1.3.6.1.4.1.13308.1.21
+ NAME 'studentCardNumber'
+ DESC 'Dikigazolvny szma'
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.36
+ EQUALITY numericStringMatch
+ SUBSTR numericStringSubstringsMatch )
+
+##
+# 10 jegy szm
+##
+attributetype ( 1.3.6.1.4.1.13308.1.22
+ NAME 'taxId'
+ DESC 'Adazonost jel'
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.36
+ EQUALITY numericStringMatch
+ SUBSTR numericStringSubstringsMatch )
+
+
+
+##
+# Anyaknyvbe vtel ve, osztly betjele s anyaknyvi sorszm
+##
+attributetype ( 1.3.6.1.4.1.13308.1.23
+ NAME 'registerNumber'
+ DESC 'Trzslapszm'
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
+ EQUALITY caseIgnoreIA5Match
+ SUBSTR caseIgnoreIA5SubstringsMatch )
+
+##
+# Napl azonost s naplbeli sorszm (lehet osztly betjel benne)
+##
+attributetype ( 1.3.6.1.4.1.13308.1.24
+ NAME 'diaryNumber'
+ DESC 'Napl sorszm'
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
+ EQUALITY caseIgnoreIA5Match
+ SUBSTR caseIgnoreIA5SubstringsMatch )
+
+##
+# fi/lny
+##
+attributeType ( 1.3.6.1.4.1.13308.1.25
+ NAME 'sex'
+ DESC 'Nem (fi/lny)'
+ EQUALITY caseIgnoreMatch
+ SUBSTR caseIgnoreSubstringsMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
+
+##
+# 9 jegy szm
+##
+attributetype ( 1.3.6.1.4.1.13308.1.26
+ NAME 'TAJNumber'
+ DESC 'Napl sorszm'
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
+ EQUALITY caseIgnoreIA5Match
+ SUBSTR caseIgnoreIA5SubstringsMatch )
+
+##
+# Szl/meghatalmazott jelszava
+##
+attributetype ( 1.3.6.1.4.1.13308.1.27
+ NAME 'parentPassword'
+ DESC 'Szl/meghatalmazott jelszava'
+ SUP userPassword )
+
+attributeType ( 1.3.6.1.4.1.13308.1.28
+ NAME 'studentMember'
+ DESC 'Tanul - rra jr s jegyet kap'
+ SUP member )
+
+attributeType ( 1.3.6.1.4.1.13308.1.29
+ NAME 'exemptMember'
+ DESC 'Felmentett tanul - rra jr s nem kap jegyet'
+ SUP member )
+
+attributeType ( 1.3.6.1.4.1.13308.1.30
+ NAME 'examerMember'
+ DESC 'Vizsgz tanul - nem jr rra s jegyet kap'
+ SUP member )
+
+attributetype ( 1.3.6.1.4.1.13308.1.31
+ NAME 'studyId'
+ DESC 'Oktatsi azonost'
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.36
+ EQUALITY numericStringMatch
+ SUBSTR numericStringSubstringsMatch )
+# SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
+# EQUALITY caseIgnoreIA5Match
+# SUBSTR caseIgnoreIA5SubstringsMatch )
+
+# ================================================================
+# ObjectClass-ok
+# ================================================================
+
+objectClass ( 1.3.6.1.4.1.13308.2.1
+ NAME 'mayorOrganization'
+ DESC 'MaYoR Organizational Object'
+ SUP organization
+ MUST ( nextUid $ nextGid )
+ MAY ( freeUid $ freeGid ) )
+
+objectClass ( 1.3.6.1.4.1.13308.2.2
+ NAME 'mayorPerson'
+ DESC 'MaYoR Person'
+ MUST ( uid $ cn $ uidNumber $ gidNumber $ homeDirectory )
+ MAY ( sn $ givenName $ class $ year $ l $ street $ mail $ postalAddress $ postalCode $ telephoneNumber $
+ mobile $ roomNumber $ homePage $ registerTimestamp $ primarySchoolOMCode $
+ classTimestamp $ studentCardNumber $ studentCardTimestamp $ taxId $ birthTimestamp $ TAJNumber $ studyId $
+ birthLocality $ registerNumber $ diaryNumber $ sex $ guardianCn $ motherCn $ localityTimestamp $ parentPassword ) )
+# SUP ( inetOrgPerson )
+
+objectClass ( 1.3.6.1.4.1.13308.2.3
+ NAME 'mayorGroup'
+ DESC 'MaYorR Group'
+ SUP ( posixGroup $ groupOfNames )
+ MAY ( leader $ mail $ homePage $ url $ roomNumber $ studentMember ) )
+
+objectClass ( 1.3.6.1.4.1.13308.2.4
+ NAME 'mayorStudyGroup'
+ DESC 'MaYoR Study Group - Tankr'
+ SUP ( mayorGroup )
+ MAY ( year $ class $ level $ subject $
+ studentMember $ exemptMember $ examerMember ) )
+
+objectClass ( 1.3.6.1.4.1.13308.2.5
+ NAME 'mayorSubjectGroup'
+ DESC 'MaYoR Subject Group - Szakkr'
+ SUP ( mayorGroup )
+ MAY ( year $ class $ level $ subject $ exemptMember ) )
+
+objectClass ( 1.3.6.1.4.1.13308.2.6
+ NAME 'mayorPrivateStudentsGroup'
+ DESC 'MaYoR Private Students Group - Magntanulk'
+ SUP ( mayorGroup )
+ MAY ( year $ class $ level $ subject $ examerMember ) )
+
+# =======================================================================================
+#
+# rdemes a felhasznlkat/csoportokat az albbi objectClass-okba is besorolni, hogy
+# rendes unix felhasznlknt/csoportknt is funkcionljanak
+#
+# ------------------------------------------------------------------------
+#
+# objectclass ( 1.3.6.1.1.1.2.0 NAME 'posixAccount' SUP top AUXILIARY
+# DESC 'Abstraction of an account with POSIX attributes'
+# MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
+# MAY ( userPassword $ loginShell $ gecos $ description ) )
+#
+# objectclass ( 1.3.6.1.1.1.2.1 NAME 'shadowAccount' SUP top AUXILIARY
+# DESC 'Additional attributes for shadow passwords'
+# MUST uid
+# MAY ( userPassword $ shadowLastChange $ shadowMin $
+# shadowMax $ shadowWarning $ shadowInactive $
+# shadowExpire $ shadowFlag $ description ) )
+# =======================================================================================
+
diff --git a/mayor-orig/mayor-base/install/base/ldap/slapd.inc b/mayor-orig/mayor-base/install/base/ldap/slapd.inc
new file mode 100644
index 00000000..7ede3e38
--- /dev/null
+++ b/mayor-orig/mayor-base/install/base/ldap/slapd.inc
@@ -0,0 +1,7 @@
+
+# -----------------------------------------------
+# MaYoR elektronikus napló
+# -----------------------------------------------
+
+include %LDAP_CONF_DIR%/mayor/mayor-slapd.conf
+
diff --git a/mayor-orig/mayor-base/install/base/mysql/mayor-auth.sql b/mayor-orig/mayor-base/install/base/mysql/mayor-auth.sql
new file mode 100644
index 00000000..7e0b1731
--- /dev/null
+++ b/mayor-orig/mayor-base/install/base/mysql/mayor-auth.sql
@@ -0,0 +1,54 @@
+
+DROP DATABASE IF EXISTS %MYSQL_AUTH_DB%;
+CREATE DATABASE %MYSQL_AUTH_DB% CHARACTER SET utf8 DEFAULT COLLATE utf8_hungarian_ci;
+
+GRANT ALL ON %MYSQL_AUTH_DB%.* TO '%MYSQL_AUTH_USER%'@'localhost' IDENTIFIED BY '%MYSQL_AUTH_PW%';
+
+USE %MYSQL_AUTH_DB%;
+
+CREATE TABLE `mayorUpdateLog` (
+ `scriptFile` varchar(255) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '',
+ `dt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ PRIMARY KEY (`scriptFile`,`dt`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
+
+CREATE TABLE accounts (
+ uid INT UNSIGNED PRIMARY KEY AUTO_INCREMENT NOT NULL,
+ policy ENUM('private','parent','public') NOT NULL,
+ userAccount VARCHAR(32) NOT NULL,
+ userCn VARCHAR(64),
+ userPassword VARBINARY(40) DEFAULT NULL,
+ studyId VARCHAR(12),
+ mail VARCHAR(64),
+ telephoneNumber VARCHAR(16),
+ shadowLastChange INT UNSIGNED,
+ shadowMin TINYINT UNSIGNED,
+ shadowMax TINYINT UNSIGNED,
+ shadowWarning TINYINT UNSIGNED,
+ shadowInactive TINYINT UNSIGNED,
+ shadowExpire INT UNSIGNED,
+ UNIQUE KEY (userAccount,policy)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci;
+
+CREATE TABLE groups (
+ gid INT UNSIGNED PRIMARY KEY AUTO_INCREMENT NOT NULL,
+ groupCn VARCHAR(32),
+ groupDesc VARCHAR(64),
+ policy VARCHAR(10)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci;
+
+CREATE TABLE members (
+ uid INT UNSIGNED NOT NULL,
+ gid INT UNSIGNED NOT NULL,
+ INDEX members_uid(uid),
+ INDEX members_gid(gid),
+ FOREIGN KEY(uid)
+ REFERENCES accounts(uid)
+ ON DELETE CASCADE
+ ON UPDATE CASCADE,
+ FOREIGN KEY(gid)
+ REFERENCES groups(gid)
+ ON DELETE CASCADE
+ ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
diff --git a/mayor-orig/mayor-base/install/base/mysql/mayor-login.sql b/mayor-orig/mayor-base/install/base/mysql/mayor-login.sql
new file mode 100644
index 00000000..d61e3404
--- /dev/null
+++ b/mayor-orig/mayor-base/install/base/mysql/mayor-login.sql
@@ -0,0 +1,199 @@
+
+DROP DATABASE IF EXISTS %MYSQL_LOGIN_DB%;
+CREATE DATABASE %MYSQL_LOGIN_DB% CHARACTER SET utf8 DEFAULT COLLATE utf8_hungarian_ci;
+GRANT ALL ON %MYSQL_LOGIN_DB%.* TO '%MYSQL_LOGIN_USER%'@'localhost' IDENTIFIED BY '%MYSQL_LOGIN_PW%';
+USE %MYSQL_LOGIN_DB%;
+
+--
+-- Table structure for table 'login_log'
+--
+
+CREATE TABLE `mayorUpdateLog` (
+ `scriptFile` varchar(255) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '',
+ `dt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ PRIMARY KEY (`scriptFile`,`dt`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
+
+CREATE TABLE loginLog (
+ logId int(10) unsigned NOT NULL auto_increment,
+ policy varchar(10) NOT NULL default 'private',
+ userAccount varchar(50) default NULL,
+ ip varchar(15) default NULL,
+ dt datetime default NULL,
+ flag tinyint(3) unsigned default NULL,
+ PRIMARY KEY (logId)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci;
+
+--
+-- Table structure for table 'session'
+--
+
+CREATE TABLE session (
+ sessionID char(40) COLLATE utf8_hungarian_ci NOT NULL,
+ userPassword varchar(32) character set latin1 default NULL,
+ userAccount varchar(50) default NULL,
+ userCn varchar(50) default NULL,
+ studyId BIGINT UNSIGNED NULL,
+ dt datetime default NULL,
+ policy varchar(10) COLLATE utf8_hungarian_ci NOT NULL default 'private',
+ skin varchar(16) default NULL,
+ lang varchar(5) default NULL,
+ jsLevel tinyint(3) unsigned default 2,
+ activity datetime default NULL,
+ sessionCookie char(40) NOT NULL,
+ PRIMARY KEY (sessionID,policy)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci;
+
+--
+-- Table structure for table 'settings'
+--
+
+CREATE TABLE settings (
+ userAccount varchar(50) NOT NULL,
+ policy varchar(10) NOT NULL default 'private',
+ skin varchar(20) default 'default',
+ lang varchar(5) default 'hu_HU',
+ jsLevel tinyint(3) unsigned default 2,
+ lastlogin datetime NOT NULL default '0000-00-00 00:00:00',
+ PRIMARY KEY (userAccount,policy)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci;
+
+--
+-- Table structure for table 'start'
+--
+
+CREATE TABLE start (
+ userAccount varchar(50) NOT NULL,
+ type varchar(10) NOT NULL default 'column',
+ name varchar(20) default NULL,
+ idx tinyint unsigned default 0,
+ PRIMARY KEY (userAccount,type,name),
+ KEY (userAccount)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci;
+
+--
+-- Table structure for table 'stat'
+--
+
+CREATE TABLE stat (
+ dt datetime default NULL,
+ policy varchar(20) default NULL,
+ page varchar(20) default NULL
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci;
+
+CREATE TABLE `cache` (
+ `sessionID` char(40),
+ `policy` varchar(10),
+ `kulcs` varchar(32) NOT NULL,
+ `ertek` varchar(100), dt DATETIME,
+ PRIMARY KEY (sessionID,policy,kulcs)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci;
+
+CREATE TABLE `mayorSsl` (
+ `sslId` tinyint(1) unsigned NOT NULL AUTO_INCREMENT,
+ `nodeId` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000',
+ `privateKey` text COLLATE utf8_hungarian_ci NOT NULL,
+ `publicKey` text COLLATE utf8_hungarian_ci NOT NULL,
+ `secret` varchar(40) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ PRIMARY KEY (`sslId`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
+
+CREATE TABLE `mayorKeychain` (
+ `nodeId` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000',
+ `nodeTipus` enum('intézmény','fenntartó','backup','fejlesztői','controller') COLLATE utf8_hungarian_ci DEFAULT 'intézmény',
+ `dt` date DEFAULT NULL,
+ `OMKod` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000',
+ `publicKey` text COLLATE utf8_hungarian_ci NOT NULL,
+ `valid` tinyint(1) unsigned NOT NULL DEFAULT '1',
+ `url` varchar(255) COLLATE utf8_hungarian_ci NOT NULL,
+ `nev` varchar(128) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `rovidNev` varchar(16) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `cimHelyseg` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `cimIrsz` varchar(8) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `cimKozteruletNev` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `cimKozteruletJelleg` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `cimHazszam` varchar(20) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `telefon` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `fax` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `email` varchar(96) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `honlap` varchar(96) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `kapcsolatNev` varchar(128) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `kapcsolatEmail` varchar(96) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `kapcsolatTelefon` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ PRIMARY KEY (`nodeId`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
+
+INSERT IGNORE INTO mayorKeychain (dt,nodeId,nodeTipus,publicKey,url,valid)
+VALUES (CURDATE(), '09862967','controller','-----BEGIN PUBLIC KEY-----
+MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbMFUWy0Juy/7uHROaLOMPSHMI
+Vw/jSmEAKW6lCeIOH2oUVsAQkgsZCFiKqQhH3WbtLrAzSmOA7+rEU3RtgXtPZpHN
+2UUPQqoHWoMOkumfIS5oM0sQgSQ738TC0X9yxZlNqZtdpdCa0zjVnGLxqVVhS3KD
++O8uuA7jQwczlSqWJwIDAQAB
+-----END PUBLIC KEY-----','https://www.mayor.hu',1);
+
+CREATE TABLE `accountRecovery` (
+ `recoveryId` int(11) unsigned NOT NULL AUTO_INCREMENT,
+ `policy` enum('private','parent','public') COLLATE utf8_hungarian_ci NOT NULL,
+ `userAccount` varchar(32) COLLATE utf8_hungarian_ci NOT NULL,
+ `selector` char(16) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `token` char(64) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `expires` datetime DEFAULT NULL,
+ PRIMARY KEY (`recoveryId`),
+ KEY `selector` (`selector`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
+
+CREATE TABLE `facebookConnect` (
+ `fbUserId` bigint(20) NOT NULL,
+ `userAccount` varchar(64) COLLATE utf8_hungarian_ci NOT NULL,
+ `policy` enum('public','parent','private') COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `fbUserCn` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `fbUserEmail` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `studyId` varchar(11) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ UNIQUE KEY `fbUserId` (`fbUserId`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
+
+CREATE TABLE `googleConnect` (
+ `googleSub` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `userAccount` varchar(64) COLLATE utf8_hungarian_ci NOT NULL,
+ `policy` enum('public','parent','private') COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `googleUserCn` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `googleUserEmail` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `studyId` varchar(12) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ UNIQUE KEY `googleSub` (`googleSub`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
+
+CREATE TABLE loginLog_a (
+ logId int(10) unsigned NOT NULL,
+ policy varchar(10) NOT NULL default 'private',
+ userAccount varchar(50) default NULL,
+ ip varchar(15) default NULL,
+ dt datetime default NULL,
+ flag tinyint(3) unsigned default NULL
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci;
+
+CREATE TABLE `eduroam` (
+ `userAccount` varchar(64) COLLATE utf8_hungarian_ci NOT NULL,
+ `policy` enum('public','parent','private') COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `eduroamUID` varchar(32) COLLATE utf8_hungarian_ci NOT NULL,
+ `eduroamPASSWORD` varchar(128) COLLATE utf8_hungarian_ci NOT NULL,
+ `eduroamAFFILIATION` ENUM ('staff','faculty','student','') DEFAULT '',
+ `eduroamDOMAIN` varchar(128) COLLATE utf8_hungarian_ci NOT NULL,
+ `modositasDt` datetime DEFAULT NULL,
+ UNIQUE KEY `eduroamUID` (`eduroamUID`),
+ UNIQUE KEY `userAccount` (`userAccount`,`policy`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
+
+CREATE TABLE `authToken` (
+ `tokenId` int(11) unsigned NOT NULL AUTO_INCREMENT,
+ `policy` enum('private','parent','public') COLLATE utf8_hungarian_ci NOT NULL,
+ `userAccount` varchar(32) COLLATE utf8_hungarian_ci NOT NULL,
+ `userCn` varchar(64) COLLATE utf8_hungarian_ci NOT NULL,
+ `studyId` bigint(20) unsigned DEFAULT NULL,
+ `selector` char(16) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `token` char(64) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `expires` datetime DEFAULT NULL,
+ `ipAddress` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `activity` datetime DEFAULT NULL,
+ PRIMARY KEY (`tokenId`),
+ UNIQUE KEY `selector` (`selector`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
diff --git a/mayor-orig/mayor-base/install/base/mysql/private-users.sql b/mayor-orig/mayor-base/install/base/mysql/private-users.sql
new file mode 100644
index 00000000..101188f5
--- /dev/null
+++ b/mayor-orig/mayor-base/install/base/mysql/private-users.sql
@@ -0,0 +1,12 @@
+USE %MYSQL_PRIVATE_DB%;
+
+INSERT INTO accounts
+ (policy, userAccount, userCn, userPassword, shadowLastChange, shadowMin, shadowMax, shadowWarning, shadowInactive, shadowExpire)
+ VALUES ('private','mayoradmin','MaYoR Adminisztrátor',SHA('jelszo'),(TO_DAYS(now())-TO_DAYS("1970-01-01"))-80,2,80,10,0,NULL);
+SET @uid = (SELECT uid FROM accounts WHERE userAccount='mayoradmin');
+INSERT INTO groups (groupCn,groupDesc,policy) VALUES ('useradmin','Adminisztrátor','private'),('tanar','Tanárok','private'),
+ ('diak','Diákok','private'),('titkarsag','Titkárság','private'),('egyeb','Egyéb','private');
+SET @gid = (SELECT gid FROM groups WHERE groupCn='useradmin');
+INSERT INTO members (uid,gid) VALUES (@uid,@gid);
+SET @gid = (SELECT gid FROM groups WHERE groupCn='egyeb');
+INSERT INTO members (uid,gid) VALUES (@uid,@gid);
diff --git a/mayor-orig/mayor-base/install/base/mysql/utf8.cnf b/mayor-orig/mayor-base/install/base/mysql/utf8.cnf
new file mode 100644
index 00000000..e5927257
--- /dev/null
+++ b/mayor-orig/mayor-base/install/base/mysql/utf8.cnf
@@ -0,0 +1,5 @@
+
+[mysqld]
+ character-set-server = utf8
+ collation-server = utf8_hungarian_ci
+ skip-character-set-client-handshake
diff --git a/mayor-orig/mayor-base/log/mayor-base.rev b/mayor-orig/mayor-base/log/mayor-base.rev
new file mode 100644
index 00000000..ab5135de
--- /dev/null
+++ b/mayor-orig/mayor-base/log/mayor-base.rev
@@ -0,0 +1 @@
+4455
diff --git a/mayor-orig/mayor-base/print/share/huhyphn.tex b/mayor-orig/mayor-base/print/share/huhyphn.tex
new file mode 100644
index 00000000..4a5fd1b1
--- /dev/null
+++ b/mayor-orig/mayor-base/print/share/huhyphn.tex
@@ -0,0 +1,62784 @@
+% Huhyphn - hungarian hyphenation patterns v20070907
+%
+% Copyright (C) 2003-2004, NAGY Bence <nagybence@tipogral.hu>
+% This file can be distributed under the terms of the
+% GNU General Public License version 2.
+%
+% Encoding: Cork/T1/EC
+%
+\message{Huhyphn - hungarian hyphenation patterns v20070907}
+\begingroup
+\catcode`\^^e1=11\uccode`\^^e1=`\^^c1\lccode`\^^e1=`\^^e1
+\catcode`\^^c1=11\uccode`\^^c1=`\^^c1\lccode`\^^c1=`\^^e1
+\catcode`\^^e9=11\uccode`\^^e9=`\^^c9\lccode`\^^e9=`\^^e9
+\catcode`\^^c9=11\uccode`\^^c9=`\^^c9\lccode`\^^c9=`\^^e9
+\catcode`\^^f3=11\uccode`\^^f3=`\^^d3\lccode`\^^f3=`\^^f3
+\catcode`\^^d3=11\uccode`\^^d3=`\^^d3\lccode`\^^d3=`\^^f3
+\catcode`\^^f6=11\uccode`\^^f6=`\^^d6\lccode`\^^f6=`\^^f6
+\catcode`\^^d6=11\uccode`\^^d6=`\^^d6\lccode`\^^d6=`\^^f6
+\catcode`\^^ae=11\uccode`\^^ae=`\^^8e\lccode`\^^ae=`\^^ae
+\catcode`\^^8e=11\uccode`\^^8e=`\^^8e\lccode`\^^8e=`\^^ae
+\catcode`\^^fc=11\uccode`\^^fc=`\^^dc\lccode`\^^fc=`\^^fc
+\catcode`\^^dc=11\uccode`\^^dc=`\^^dc\lccode`\^^dc=`\^^fc
+\catcode`\^^fa=11\uccode`\^^fa=`\^^da\lccode`\^^fa=`\^^fa
+\catcode`\^^da=11\uccode`\^^da=`\^^da\lccode`\^^da=`\^^fa
+\catcode`\^^b6=11\uccode`\^^b6=`\^^96\lccode`\^^b6=`\^^b6
+\catcode`\^^96=11\uccode`\^^96=`\^^96\lccode`\^^96=`\^^b6
+\catcode`\^^ed=11\uccode`\^^ed=`\^^cd\lccode`\^^ed=`\^^ed
+\catcode`\^^cd=11\uccode`\^^cd=`\^^cd\lccode`\^^cd=`\^^ed
+\catcode`\^^e4=11\uccode`\^^e4=`\^^c4\lccode`\^^e4=`\^^e4
+\catcode`\^^c4=11\uccode`\^^c4=`\^^c4\lccode`\^^c4=`\^^e4
+\patterns{%
+.a2
+.adatt1a2
+.ada2t1e2
+.ads1s
+.ad2s3z
+.ad1y
+.ad1yi
+.ag1os
+.ag2ra
+.agyag1g
+.agy12ram
+.agy1rt
+.agy1e2
+.agyo2
+.agyon1
+.agy12
+.agy12
+.akc1c
+.ak2cs
+.ak2h
+.ako2
+.ak2t1r.
+.ak2t1orr
+.ak2t12
+.aku1p2
+.ala2g1
+.alak1a2
+.ala2k12
+.ala2k12
+.ala2pa
+.ala2p1
+.al1eg
+.al1is
+.al2jrn
+.alje2
+.al2j1el
+.aljel12
+.alo2m1
+.al1os
+.al2t1a2k
+.al2t1erj
+.al2tn
+.al2trn
+.al2trt
+.al2tin
+.am1ak
+.ango2l12
+.anti1s
+.apa1p2
+.ap2ly12z
+.ara2ny1e2
+.ara2sze
+.ar12c
+.ar2cal
+.arc3c
+.ar2c1e2
+.ar2cl
+.ar2c3h
+.ar2c3hoz
+.ar2cin
+.ar2cio
+.ar2col
+.ar2c
+.ar2c3s
+.ar1kh
+.at2h
+.az1a2
+.az1m
+.aze2
+.az12
+.2
+.cs1k
+.g1rn
+.g1rt
+.g12
+.gy1ala
+.gy1asz
+.gy1rt
+.gy12z
+.l1a2
+.l1
+.l1i2
+.ligaz1
+.l2l1alj
+.l2l1alt
+.l2lin
+.l1o2k
+.l1
+.r1aj
+.r1akt
+.r1a2l
+.ra2m1e
+.r1a2p
+.ra2sz
+.r1asz
+.r1c
+.r1l
+.r12z
+.r1d2
+.re2
+.r1em
+.r2
+.r1ir
+.r2nyel
+.r1ol
+.r1om
+.r1os
+.rrs1s
+.r1s2
+.r1t2r
+.sz1l
+.sz1rb
+.sz12r
+.sz12ri
+.sz12ro
+.t1a2d
+.t1a2k
+.t1alt
+.t1a2n
+.t1ar
+.t1a2s
+.t1av
+.t12
+.t1e2
+.t12
+.t1i2
+.t1ol
+.t1o2r
+.t1o2s
+.t2
+.t1h
+.t1v
+.t12
+.t1u
+.t12
+.t1
+.b2
+.ba2b1a2r
+.ba2bl
+.ba2b1e2
+.ba2bol
+.ba2j12rat
+.ba2j1e
+.bak1aszt
+.ba2kl
+.ba2k12ro
+.bak2
+.ba2k12
+.ba2kur
+.ba2l1e2g
+.ba1ts
+.ba2u
+.b2l12
+.br1a
+.b1th
+.be2at.
+.be1d2
+.bei2
+.be1kr
+.be1str
+.be1szk
+.bet2t1e2l
+.be1tr
+.br2c3s
+.b2r1o
+.bi2ke
+.bi2os
+.bi2ot
+.bita2
+.bi2tag
+.bi2t12
+.bi2tel
+.bi2t1er
+.bi2t1orr
+.bi2tur
+.bo2g12
+.bol2ta
+.bo2ly12
+.bo2nav
+.bo2raj
+.bo2ran
+.bo2ras
+.bo2rat
+.bo2rc
+.bo2rl
+.bo2r1odv
+.bor2st
+.bort2
+.bo2t
+.bra2i
+.bu2sz1e
+.c2
+.cen2t1
+.cen2t12
+.ce2t1e2l
+.ce2t1
+.c2l1e2
+.ci2n12
+.cito1
+.cs2
+.csa2k1
+.csa2p12g
+.csa2t12
+.cse2l12r
+.d2
+.dac1c
+.da2c3s
+.da2i
+.dal1an
+.da2ls
+.da2l1e2
+.da2l1k
+.da2ln
+.da2l12
+.da3lol
+.da2l12
+.dan1n
+.da2u
+.den2g1
+.d2la
+.dre2
+.d2res
+.d2sa
+.di2afo
+.di2aka
+.di2al
+.di2cs
+.di2m
+.d2mor
+.d2ra
+.e2
+.eb1eg
+.eb1ir
+.eb1
+.eb1u2
+.eg2
+.egres1s
+.egy1a2
+.egy12
+.egy1e2lr
+.egy1ev
+.egy1in
+.egy12
+.egy12l
+.el1a2k
+.el1an
+.el1ap
+.ela2s
+.el1ass
+.el1aszn
+.el1aszo
+.el1aszv
+.el12
+.el1e2c
+.el1eger
+.ele2gy
+.el1e2h
+.el1ejt
+.el1e2l
+.ele2ma
+.ele2m
+.ele2meg
+.ele2mel
+.el1emele
+.el1emels
+.el1emelt
+.el1e2ms
+.el1e2n
+.el1e2p
+.el1e2r
+.el1e2se
+.el1e2ss
+.el1esh
+.el1e2si
+.el1esn
+.el1e2s
+.el1ess
+.el1este
+.el1estl
+.el1est
+.el1e2s
+.el1esv
+.el1e2sz
+.el1e2t
+.el1e2vet
+.el1e2vez
+.el1evi
+.el2d
+.el1de
+.el12gek
+.el1h
+.el1kez
+.el12le
+.el2n
+.el1ne
+.el12p
+.el12r
+.el12tet.
+.el12v
+.el1id
+.el1ig
+.el1i2h
+.el1ik
+.el1i2mit
+.el1in
+.el1ir
+.el1i2s
+.eli2t1o
+.el1itta.
+.el1ittk
+.el1izz
+.el1
+.ellege2
+.elo2
+.el1okk
+.el1oko
+.el1or
+.el12
+.el2
+.el1k
+.el1le
+.el1l
+.el1lh
+.el1li
+.el1lj.
+.el1lje
+.el1lj
+.el1lj
+.el1lne
+.el1ln.
+.el1lnm
+.el1lni
+.el1l
+.el1lt.
+.el1lte
+.el1lt
+.el1ltn
+.el1lt
+.el1ln
+.el1lv
+.el1v
+.el2
+.el1s2
+.el1t2
+.el1u
+.el2
+.el1l.
+.el1lh
+.el1li
+.el1lj
+.el1ln
+.el1lte
+.el1lv
+.el2v1el
+.el2v1g.
+.es1er
+.ese2tel
+.es2t1a
+.es2t1
+.es2t12ke.
+.es2t12kek
+.et2h
+.etiln1g2
+.evs1s
+.ex1el
+.ez1
+.ez1e2l
+.2
+.des3s
+.g1a2
+.g1eg
+.g1e2rei
+.ge2s
+.g1esz
+.g1r.
+.g12r
+.g1rn
+.gs3s
+.g2sz
+.g1szb
+.g1sze
+.g1sz
+.g1szn
+.g1szr
+.g12
+.g1u2
+.h1v
+.j1a2
+.j12
+.j1el
+.j1u
+.k1a2
+.k1
+.kes1s
+.k1ir
+.k1o
+.l1a2
+.l2c1i
+.li2k
+.l1ike
+.l2v12
+.p1es
+.p2pa
+.p2p1el
+.p2p
+.p2po
+.r1a2n
+.r2c1e2l
+.r2c12j
+.r2ck
+.r2c3s
+.r1e2l
+.r1e2s
+.r2sz
+.r1sz
+.r12t
+.r2
+.r1l
+.r2vad
+.r2val
+.r2v1g.
+.sz1a2l
+.sz1
+.sze2
+.sz1el
+.sz1em
+.sz1es
+.sz12k
+.szigaz1
+.sz1o
+.sz12
+.sz2t1rv
+.sz2
+.sz1l
+.v12g
+.v1essz
+.v12g
+.v12k
+.f2
+.fa2it.
+.fa2leg
+.fa2n1v
+.fa2r1ont
+.fas2
+.fa1st
+.fat2
+.fa1tr
+.fe2leme
+.fe2l1essz
+.fe2lev
+.f2k1e2l
+.f2m1a2
+.f2m12
+.fil2mr
+.fin2ge
+.fog2s3z
+.fol2t1a2
+.f2l
+.f2ll.
+.fll1e2
+.g2
+.ga2zan
+.gt1al
+.g2te
+.g2z12
+.gzs2
+.g2zsu
+.gz1z
+.gene2a
+.ge2od
+.ge2os
+.gesz2t1
+.g2d1
+.g2na
+.g2n
+.gn3n
+.g2pe2lem
+.g2p1i2p
+.giga1s
+.gonor1
+.gonorr2
+.g2ce
+.g2la
+.g2l
+.g2lel
+.g2l1e2s
+.gli2g
+.g2l1iga
+.g2lis
+.g2z12
+.g2zen
+.g2z1
+.g2zs
+.gu2i
+.h2
+.ha2b1e2
+.ha2b1ol
+.ha2bor
+.ha2b1
+.ha2b1u
+.ha2dal
+.ha2d1e2
+.ha2dz
+.ha2ik
+.ha2j1e2
+.ha2jom
+.ha2lc
+.hal2l12
+.ha2lrv
+.ha2leg
+.ha2l1el
+.ha2lep
+.ha2let
+.ha2l1e2v
+.ha2lis
+.han2gad
+.han2g1e
+.ha2sor
+.has3sz
+.ha2tag
+.ha2t1at
+.ha2t1e2
+.ha2told
+.h2m1a
+.h2ny1in
+.hro2m1e
+.h2t1alj
+.h2tus
+.h2zol
+.h2z
+.he2i
+.h2t1ez
+.h2t1o
+.hit1a
+.hi2tis
+.hods1
+.hol1l
+.hol2t1e
+.ho2ne
+.h2s
+.i2
+.ike2r1i
+.iker2
+.ike2r1l
+.ikon1s
+.ima1s
+.im1p2la
+.in1akt
+.in2gin
+.inte2r1a
+.io2n1a2
+.io2n1
+.io2ne
+.ion3n
+.ipa2re
+.izo2m1rt
+.2
+.j2t
+.j1to
+.n1e
+.r2s1g
+.r2s3z
+.v1a2
+.v12r
+.v1ell
+.z1a
+.z1in
+.j2
+.jak2
+.ja2kr
+.ja2kov
+.jrmk2
+.j2sz
+.j2sz
+.je2gy1a2
+.je2gy12
+.je2l1a
+.je2leg
+.je2lev
+.job2b1ol
+.j2dal
+.j2s1e2
+.j2t1
+.k2
+.kale2i
+.ka2nar
+.ka2n1e
+.kapolc1
+.ka2rala
+.ka2ras
+.ka2r12s
+.kar2c3se
+.kare2
+.ka2rem
+.ka2rk
+.ka2ring
+.ka2r
+.ka2r2ra
+.ka2r12rk
+.ka2r1
+.ka1th
+.ka1tz
+.kr1a2d
+.ks2
+.ksa3l
+.ke2cs
+.ke2l12
+.ke2l1e2g
+.ke2l1e2ve
+.kel1
+.ker2ta
+.k2nt
+.k2p1s
+.kta2
+.k2tab
+.k2tad
+.k2t1ag
+.k2taka
+.k2tal
+.k2tan
+.k2tap
+.k2tas
+.k2tat
+.k2tau
+.k2t12
+.k2t1ele
+.k2t1ez
+.k2t1o2
+.kze2
+.k2z1el
+.k2zem
+.k2zs
+.kz1z
+.ki2
+.ki1g2
+.ki1kr
+.ki2
+.ki2sg
+.ki2
+.kla2uz
+.kl2re
+.ko2rc
+.ko2r
+.ko2sis
+.k2d1a2
+.k2r1e
+.k2r12s
+.k2b1l
+.k2d1
+.k2zis
+.k2z1
+.kz1z
+.kr2
+.kun1a
+.kvar3k.
+.l2
+.lak1a2d
+.la2kal
+.la2k1an
+.la2kp
+.la2kor
+.la2k
+.lan2t1e
+.lan2t12
+.la2pal
+.la2p1c
+.la2p12r
+.la2p1e2
+.la2p1or
+.la2p1osz
+.la2p
+.l2b1e2
+.l2bil
+.l2bor
+.ln2c3s
+.l2nyan
+.l2ny1e2
+.l2p1e
+.l2p1il
+.l2z12
+.l2z3s
+.le3d
+.le2g1
+.le3g2ali
+.le3g2els
+.le3g2esle2g1
+.le3g2esle3g2esle2g1
+.lege2t
+.le4gne
+.leg3g
+.le3gy
+.lei2d
+.le2ro
+.le2rd
+.le2ru
+.le1kl
+.le1k2r
+.lemez1z
+.le1p2r
+.le1s2m
+.le1t2r
+.le2
+.l2c3s
+.l2g1a2
+.l2g1
+.lge2
+.l2g1el
+.l2gr
+.l2go
+.l2gy12
+.l2p1a2
+.lp2
+.lp1l
+.l2t1a2
+.l2t12
+.l2t1e2l
+.l2t1rd
+.l2tr
+.lisz2ta
+.lisz2t12
+.lisz2ter
+.lito1s
+.lob1e
+.lobi2
+.lo2bin
+.lo2mag
+.lo2mal
+.lo2m1
+.lom2b1e2
+.lo2me
+.lo2m12t
+.lon2csi
+.lfo2g1a2d
+.l2cs12v
+.lrs3s
+.ly1o
+.m2
+.ma2e
+.ma2gal
+.ma2gar
+.ma2gl
+.ma2g1e2
+.mag1g
+.mag2
+.ma2gr
+.ma2in.
+.ma2r1c
+.ma2r1ing
+.masz2k1or
+.masz2k1
+.ma1th
+.ma2uz
+.m2r1is
+.me2g1e2
+.me2g12
+.meg1if
+.mego2
+.me2g12
+.me2i
+.mel2l
+.me2ny1u2
+.me2z
+.mdi2af
+.m2n
+.m2no
+.m2sza
+.m2szet
+.m2szi
+.m2szo
+.m2zis
+.mi3r
+.mo2lyan
+.mi2
+.m1kr
+.m1s
+.n2
+.na2gya
+.na2gy
+.na2gye
+.na2gy
+.na2pap
+.na2p1ar
+.na2pl
+.na2p1e
+.na2ps
+.na2p1o2r
+.na2p
+.ne2ma
+.ne2meg
+.ne2m1el
+.ne2min
+.ne2ol
+.ne2sz
+.net2t1a2
+.ne2um
+.n2gy
+.n2pa
+.n2v1l
+.n2vel
+.no2r1
+.nya2k12ro
+.nya2k1e2
+.nya2k12
+.o2
+.oda1
+.ok1a2d
+.ok1a2l
+.okka2
+.ola2j1e2
+.ola2sz12
+.olda2l1t
+.or2r1aj
+.or2r1alt
+.or2ran
+.or2r1e2
+.orr2
+.or2r1s
+.or2v1a2
+.or2v
+.or2v1
+.orvi2
+.or2vis
+.ot1tr
+.2
+.lo2m1a
+.me3g2
+.n1a2
+.n12
+.n1e2
+.n1v
+.v2s1rt
+.2
+.n1d2
+.n1e2
+.ni2
+.n1
+.n1k2
+.n3n
+.n1o
+.n1
+.n1s
+.n1
+.ssz1a
+.ssz1
+.te2
+.t1eg
+.t1el
+.t1t2
+.v1e2g
+.v1e2l
+.v12
+.2
+.a3l
+.i3r
+.r1ab
+.r1an
+.r1e2g
+.r12g
+.r12s
+.r1ist
+.r1o
+.r1u2
+.r1g
+.s1a2
+.s12
+.s1eg
+.s1e2l
+.s1e2r
+.s1e2s
+.s12g
+.s1rt
+.s12
+.s1o
+.s12
+.s1p
+.s1tr
+.s1u2
+.s1
+.sz1a2
+.sz1
+.sz1e2g
+.sz1el
+.sz1em
+.s3zene
+.s3zen
+.z1a2
+.z1eg
+.z1e2l
+.ze2t
+.z1ete
+.z1k
+.z1re
+.z1
+.z3s
+.z1u
+.p2
+.pa2da
+.pa2d12
+.pa2din
+.pa2d12
+.pa2i
+.pa2par
+.pa2pl
+.pa2pe
+.para1f2r
+.parke2
+.par2ker
+.par2ta
+.par2tel
+.par2ter
+.p2c3s
+.pn2ta
+.pr2t1
+.pen3ny
+.pe2r1a2
+.pe2r1
+.pe2r1enc
+.pe2rok
+.pe2rl
+.pe2s
+.pia2c3s
+.pina1
+.pin2t1
+.ple2i
+.ponta2
+.pon2te
+.po2rad
+.po2ral
+.po2ran
+.po2rc
+.po2rl
+.po2re
+.po2r1us
+.p2kis
+.p2k1
+.p2rs
+.p2t1e
+.p2t1
+.pre1k2
+.prs3s
+.proto1p2
+.q2
+.r2
+.ra2b1as
+.ra2b1
+.ra2be
+.rabic1
+.ra2b1il
+.ra2b1i2z
+.ra2b
+.ra2bor
+.ra2b
+.ra2b12
+.ra2b
+.ra2gal
+.ra2j12
+.rajt2
+.raj2t1r
+.r2cs12z
+.r1dr
+.r1fr
+.r1gr
+.ri2
+.rn2c1e
+.rny2
+.r1spr
+.r1s2t
+.rt2
+.r1tk
+.r1tr
+.re1k2re
+.ren2d1a2
+.ren2d12
+.re1p2ri
+.rep2ro
+.re1prod
+.rete2k1
+.r2m1emb
+.r2mu
+.r3p2a
+.r2sa
+.rs3szer
+.r2sza
+.r2sz2
+.r2sz1e2le
+.r2szell
+.r2szer
+.r2sz
+.r2szo
+.r2sz
+.r2t1a2
+.r2t12
+.r2v1
+.r2z
+.r2zel
+.r2zet
+.r2zis
+.r2z1o
+.rz1z
+.ri2zso
+.rizs3z
+.r2m
+.ro1c2kos
+.rom2
+.ro2m1t
+.ro2min
+.ro2mis
+.ros2t1e2
+.rug1g
+.ru2m1a
+.ru2mil
+.r2de
+.s2
+.sa2h1a
+.saj2te
+.sa2s1or
+.sa2vad
+.sa2v1ara
+.sa2v1l
+.sa2vri
+.sa2v1e2
+.sa2v12
+.s2r1
+.s2r
+.ss1s
+.s2s3z
+.s2v1a
+.s2v
+.s2v
+.sc2
+.se2bal
+.se2b1
+.se2bel
+.se2besz
+.se2b1o
+.s2fi
+.s3gr
+.si2em
+.si2k
+.sn3n
+.s2p12
+.s2r1a2
+.s2rt
+.sk2
+.so2kl
+.so2kil
+.so2kis
+.so2kol
+.so2m1ag
+.so2mat
+.so1ny2
+.so2ral
+.so2rl
+.sr1e2g
+.sp2
+.spor2t12
+.st2
+.star2t1a2
+.sz2
+.szaba2d1e
+.sza2k1at
+.sza2k1s
+.sza2k1e
+.sza2k
+.sza2k1
+.sz2l12
+.szz1z
+.szeg1r.
+.sze2g
+.sze2i
+.sze2m1
+.sze2m1r.
+.sze2m12ri
+.sze2r1g
+.szer2v1a2d
+.szer2v1e2v
+.sze2sz
+.sze2szeg
+.sze2sz12
+.sz2fa
+.szn1n
+.sz2t1
+.szte2
+.szn3n
+.szk2
+.szo2l1
+.szksz1
+.sz2szak
+.szsz2
+.sz2sz1v
+.szt2
+.t2
+.ta2gal
+.ta2g1a2r
+.ta2g1
+.ta2g1e
+.ta2gp
+.tag1g
+.ta2g1i2n
+.ta2g
+.ta2nag
+.ta2n1as
+.ta2nl
+.tan1d2
+.ta2n1e2
+.ta2n1v
+.tan2ve
+.ta2nis
+.tan1n
+.ta2n12
+.tant2
+.ta2n1u2s
+.ta3r
+.ta2t1l
+.ta2t1rai
+.ta2t1e2
+.ta2t1
+.ta2tor
+.ta2tur
+.t2l12
+.tn2cse
+.t2p1ol
+.tr2sor
+.tr2s12
+.tr2t1es
+.tr2t1lt
+.t2v1a
+.tvi2
+.t2v1ir
+.tbc1
+.te2aka
+.te2ar
+.te2j12
+.te2j1eg
+.terape2
+.ter2v1a2
+.ter2v12
+.tes2tk
+.tes2t1l
+.tetra2
+.teza2
+.t3k
+.t2nyem
+.t2ny
+.t2ra
+.t2r
+.t2ret
+.tr1int
+.t2z12
+.t2zs
+.tz2
+.to2kro
+.tol2le
+.topa3u2
+.to2r12l
+.to2r1odv
+.tor2z3se
+.t1st
+.t2t1r.
+.tn2k1a
+.ta2
+.te2
+.t2gya
+.t2r1ss
+.t2r12sz
+.tra2u
+.turnus1s
+.tus3s
+.tu2sz
+.tus3z
+.t2r1att
+.t2z1rt
+.t2z12r
+.t2zse
+.ty2ka
+.u2
+.ugrs1s
+.un1in
+.uni2o
+.utas1s
+.uts4
+.uto2
+.ut2d1
+.2
+.j1as
+.j1e
+.r1a2
+.r12
+.r1e
+.szs2
+.sz1sp
+.t1a2
+.t12
+.t1e2
+.t1ol
+.t1
+.t12
+.2
+.gy1r.
+.k1a2
+.st2l
+.s2t1l
+.tksz1
+.ve2g1e2l
+.2
+.r1a2
+.r12
+.r1e2
+.r12s
+.r1te
+.ri2
+.r1ita
+.r1ss
+.r1s
+.rt2
+.v2
+.va2d1al
+.va2dr
+.va2dt
+.va2d1o2r
+.va2dv
+.va2d1
+.va2d3z
+.va2gy1i
+.va2j1e
+.va2k1ak
+.va2kal
+.va2k1an
+.va2kap
+.va2k1r
+.va2k1e2
+.va2k1
+.va2rak
+.va2r12s
+.va2r1e2
+.va2r1ing
+.va2sab
+.va2sar
+.va2s1a2tom
+.va2s12g
+.va2srk
+.va2ss
+.va2s1e
+.va2sk
+.va2s1i2r
+.va2sol
+.va2s1or
+.va2s
+.vas3s
+.vas1tr
+.va2s1
+.va2s3z
+.vcs1
+.v2d
+.v2d1e
+.v2ma
+.vr1a2d
+.v2r1i2s
+.v2r1ol
+.vers1s
+.ver2s1g
+.ver2s1o
+.ver2sz
+.v2g12k
+.v2g1o
+.v2nyel
+.v2r1a2
+.v2r
+.v2r1eb
+.v2r1eg
+.v2rik
+.v2r1o
+.v2r
+.vr2t1k
+.v2ru
+.v2sza
+.v2sz
+.v2szer
+.v2sz
+.v2szo
+.v2sz12
+.vi1g2n
+.v2zed
+.v2zem
+.vona2t1t
+.von2z1e2
+.w2
+.x2
+.y2
+.z2
+.za2be
+.za2b1i2n
+.zai2
+.za2j1e2
+.za2j1
+.za2jut
+.z2r1a2d
+.z2r1e
+.z2r12ra
+.zrta2n
+.zr2t1any
+.zr2t1
+.zr2t12v
+.ze2i
+.z2t1
+.zs2
+.z2r1
+2a.
+a1a
+aa2be
+aa2c
+aa2ch
+aa2da
+aads1s
+aa2dssz
+aa2d
+aa2du
+aa2fo
+aa2ga
+aa2gi
+aa2g
+aa2gy
+aa2j
+aa2ka
+aa2k
+aa2ko
+aa2ku
+a2al.
+aa2la
+aala2g1
+aa2l
+aal1eg
+aa2l
+aalmana2
+aalmanac3
+aa2lo
+aal1os
+aa2lu
+aa2ma
+aa2na
+aa2ne
+aa2ni
+aa2no
+a2ans
+aa2ny
+aa2pa
+aa2p
+aa2po
+aa2pu
+aa2ra
+aa2r
+aa2r
+aa2ri
+a2arl
+aa2ro
+aa2sz
+aa2to
+aa2ty
+aa2ur
+aa2ut
+aa2va
+a2avo
+aa2zo
+a1
+a2b
+a2cs
+a2f
+a2ga
+a2g
+a2g
+a2gi
+a2go
+a2gu
+a2gy
+a2h
+a2ju
+a2l.
+a2la
+a2lo
+a2po
+a2ra
+a2r
+a2r1e2
+a2r
+a2ri
+a2ro
+a2ru
+a2r
+a2sa
+a2s
+a2so
+a2s
+a2ta
+a2t12
+a2t1e2
+a2t
+a2t1i2
+a2t
+a2to
+a2t1
+a2tu
+a2t
+a2t
+a2z
+a2z
+2abab
+ab1ad
+aba2dz
+1a2bajg
+ab1akk
+2abal
+2aban
+aba2nal
+aba1pr
+2abar
+aba2rat
+a2b1a2rb
+a2b1au
+2abb
+ab2b1u2r
+2abd
+2abn
+a2b1p
+ab2rak
+ab12ron
+ab12r
+2abz
+abb2a
+1abbah
+2abea
+abe2
+a2b1e2b
+2abec
+ab1ed
+2abe
+2abef
+2abeh
+2abei
+2abej
+ab1ejt
+ab1ela
+ab1e2l
+2abele
+abe2lem
+2abels
+ab1elsz
+a2b1elt
+ab1elv
+2abem
+ab1emb
+a2b1erd
+2abet
+2abete
+2abet
+2abeto
+2abet
+2abev
+a2b1ex
+2abk
+2abl
+2abn
+a2b12ne
+a2b1p
+2abr
+a2b1rz
+2abt
+a2b1ve
+ab1fl
+ab1fr
+2abic
+ab1i2do
+2abie
+ab1i2ke
+ab1iks
+a2b1i2nai
+abi2nb
+a2b1ing
+2abir
+ab1irki
+ab1ism
+2abit
+a2b1i2ta
+2abiz
+a2b1j
+ab1rn
+ab1kr
+1ablak
+1ablakh
+1ablakk
+1ablakos
+1ablakr
+2ablo
+a1b2l
+2abog
+2aboh
+2abok
+2abolt
+ab1olt
+2abom
+abo2rak
+abo2r1as
+abo2rin
+2abot
+a2b1b
+ab2l
+ab1l
+ab1lt
+a2b1s
+a2b1t
+a2b12z
+ab1rl
+ab1pr
+ab2rek
+2abri
+a1b2rike
+ab2rin
+a1b2rit
+2abr
+ab2rk
+ab1st
+a2b1urd
+ab1r.
+ab1rt
+ab2s1
+ab1sz
+ab12l
+ab1s
+ab1v
+a2b1z
+aca2la
+aca2l
+aca2l1e2
+aca2lt
+a2c1a2n
+aca2t
+a2c1g
+a2c1l
+acci2
+ac2c
+ac3cse
+ac3cs
+ac3cs
+acc3sz
+a2ce.
+ac1eb
+a2c1eg
+ace2l
+a2c1ele
+a2c1el
+a2c1elh
+ac1elle
+a2c1elm
+a2c1elo
+a2c1elv
+ac1emb
+2acen
+ace2ta
+a2c1e2v
+a2c1ex
+a2cl
+acl1e2
+a2cl
+a2c1p
+a2c12re
+a2c1rte
+ac1fr
+a2ch
+ac3hj
+ac3h
+a2c3hoz
+ac3h
+a2c3h
+a2c3h
+ac1ide
+a2c1i2g
+a2c1i2g
+a2c1ike
+2acin.
+a2c1ind
+ac1inf
+a2c1ist
+a2c1r
+ac1v
+ack1aro
+ac2kl
+ac2k1e2v
+ack2r
+ac2k1re
+ack1te
+ac2kil
+ac2k1osz
+ac2ks
+ac2k
+ac2lu
+a2c1op
+ac1s
+ac1r
+ac1pl
+ac1pr
+2acsal
+acs1alj.
+acsa2p12g
+a2cs1atk
+acs1ll
+a2csru
+acse2c
+acs1egy
+ac3seml
+1a2csb
+a2cs1k
+2acsi
+2acs
+2acson
+acs1orm
+a2cs1c
+acs1s
+ac3str
+a2csl
+a2cs1r
+acs2l
+a2cst
+ac3sz
+ac3sze
+ac3sz
+ac1tr
+a2c1ud
+2acula
+a2c1ut
+ac1j
+ac1g
+ac1r
+ac1z
+ac3za
+ac3z
+ac3ze
+ac3zs
+ac3zu
+a2d1a2da
+a2d1a2d
+1a2dag.
+ada2g
+1a2dagb
+a2dagg
+1a2dagh
+1adagi
+1a2dagj
+1a2dagn
+1a2dago
+1a2dagr
+1a2dagt
+1adagu
+1a2dag
+a2d1akt
+ada2lap
+ada2l1es
+1adal
+ada2ln
+ada2l1osz
+ada2l12
+ada2l1t
+a2d1ana
+a2d1ann
+1adapt
+2adar
+ada2ral
+ada2re
+ada2r1s
+ada2r1in
+ada2rut
+ada2tab
+ada2tal
+ada2t1a2n
+ada2t1r.
+ada2t12rak
+ada2t12ram
+ada2t12rat
+ada2t12r
+ada2t1rb
+ada2t1rr
+ada2t12ru
+1a2datu
+ada2t1e2g
+ada2tel
+ada2t1es
+adat2r
+ada2t1rd
+ada2t1r
+1a2datin
+ada2tint
+ada2tis
+ada2tv
+a2datm
+ada2t1old
+ada2t1l
+ada2t1
+a2datv
+ad1azo
+a2d1g
+adra2
+ad2rak
+ad2ris
+ad2del
+ade2g
+ad1ege
+ad1eg
+ad1egy
+ade2i
+a2d1ej
+adel1ej
+ad1elh
+ad1elm
+ad1eln
+a2d1e2l
+ad1elr
+ad1elt
+a2d1emb
+ad1e2m
+a2d1eml
+a2d1emu
+ad1eng
+ad1e2pe
+ad1epr
+a2derd
+ad1er
+ade2ti
+a2deu
+a2d1e2v
+a2d1ex
+ad2kat
+ad2k1e2
+ad2ks
+ad2kis
+ad2k
+ad2k
+ad1le
+2admont
+a2d1p
+a2d1rz
+ad2s
+ad2te
+a2d12ve
+ad1fl
+adfo2k1t
+ad1gr
+1adh
+2adia
+adia2n
+ad1i2bo
+2adid
+adi2kut
+2adin
+ad1i2na.
+ad1i2nai
+ad1ind
+a2d1ing
+adi2o1g2ra
+2adip
+2adis
+2adiv
+a2d12z
+ad2ji
+adka2na
+ad1kr
+2adob
+2adoc
+a2d1okke
+2adol
+ad1ola
+1a2dom
+2adomb
+2adomi
+1a2dop
+a2d1orc
+a2d1org
+2adorh
+2adorian
+2adorig
+ad1orv
+a2d1orz
+a2d1osz
+a2dgu
+1a2dku
+a2dm
+a2dr
+1a2dsat
+2adsi.
+ad12vs
+1a2dz
+a2d12k
+a2d12l
+ad1rd
+a2d1s
+adr1a
+ad2rel
+ad12s
+ad1pl
+ad1pr
+a1d2rac
+ad2ram
+ad2raz
+2adr
+ad2rm
+2adro
+ad2rog
+a1d2rt
+ad2ruk
+ad1sp
+ad1st
+2adug
+2adum
+2adup
+ad1u2r
+ad1sz
+ad2t
+a2d1to
+a2d1g
+ad12l
+a2d1t
+ad1z
+a2d1r
+ad1z
+ad1yh
+ad1yr
+ad1yt
+ad3zab
+ad3zav
+ad3zr
+ad3zel
+ad3zn
+a2d3z
+ad3zs
+a1e
+ae2b
+ae2ce
+ae2cs
+ae2d
+ae2dz
+ae2ge
+ae2g
+ae2gy
+ae2he
+ae2ke
+ae2k
+ae2la
+ae2l12
+ae2le
+ael1ej
+ae3len
+ael1rh
+ae2l12
+ae2lo
+ae2l12
+ae2l
+ae2lu
+ae2me
+ae2m
+ae2mi
+ae2mu
+ae2ne
+ae2pe
+ae2p
+ae2pi
+ae2po
+ae2red
+ae2r
+aero1s
+ae2r
+ae2r
+ae2se
+aes1er
+ae2s
+ae2si
+ae2s
+ae2s
+ae2sz
+ae2ta
+ae2t
+ae2te
+ae2ti
+ae2t
+ae2va
+ae2ve
+ae2v
+ae2vi
+ae2vo
+ae2v
+ae2xe
+ae2z
+a1
+a2derv
+a2ge
+a2g
+a2g
+a2he
+a2je
+a2ke
+a2k
+a2le
+a2l
+a2li
+a2l
+a2l
+a2l
+a2ne
+a2p
+a2p
+arde2m1
+a2ri
+a2te
+a2va
+a2ve
+a2v
+a2vi
+a2v
+2afa.
+2afaj.
+2afaja
+2afaj
+2afajb
+2afa2j1e2
+2afajj
+2afajn
+2afajo
+2afajt.
+2afaju
+2afajz
+2afak
+2afal
+2afam
+2afao
+2afar
+2afas
+afe2l1e2m
+2afk
+2afli
+2afl
+2aflt
+2afn
+2afr
+2afs
+1aff
+afi2ap
+afi2asz
+afi2ke
+afi2t1a2
+afi2t1e2
+af2le
+a1f2lo
+a1f2l
+a1f2l
+a1f2lu
+2afoc
+2afog
+2afok
+2afol
+2afon
+2aford
+2aforg
+2aformc
+2aforml
+2aformtu
+2aformz
+2aformu
+2aforr
+2afos
+2afot
+af2rak
+2a1f2re
+af2riz
+af2r
+2afro
+af2ron
+2a1f2r
+af3t
+afus3s
+a2g1abl
+ag1abr
+ag1a2c
+ag1aga
+a2g1a2ka
+a2g1akk
+a2g1akt
+2agal
+a2g1a2lak
+a2g1a2lap
+a2g1a2l
+a2g1alj
+a2g1alm
+aga2lom
+a2g1alt
+ag1ang
+ag1a2no
+ag1ant
+a2gany
+a2gap
+ag1apa
+ag1ap
+a2g1arc
+a2g1ar
+a2g1a2ro
+a2g1art
+aga2tom
+ag1a2t
+a2g1a2ur
+ag1aut
+a2g1ava
+2agaz
+ag1a2zon
+ag2c
+a2g1cs.
+a2g1csi
+ag12ga
+1a2gk
+a3gla
+a2g1lm
+ag2lyan
+a2g1p
+a2gr.
+a2g1rad
+a2g12rai
+a2g12rak
+a2g1ras
+a2g1rat
+a2g2r
+a2grb
+a2g1rc
+a2gre
+a2gr
+ag2rv
+a2grf
+a2grh
+a2g2ri
+a2grj
+a2grk
+a2grm
+a2grn
+ag1rn
+a2gro
+a2grr
+a2grs
+a2grt
+a2g12ru
+a2g12r
+ag1sv
+a2g1t
+a2g12t1e2
+ag1tfe
+a2g1th
+a2g1tk
+a2g1tm
+ag2tol
+a2g1ts
+ag1t
+a2g1tv
+ag1bl
+ag2del
+agd2j1a2da
+a2ge.
+ag1e2cs
+a2g1e2d
+a2g1e2g
+age2l
+a2g1ela
+ag1elb
+ag1eld
+ag1ele
+ag1el
+ag1elf
+ag1elh
+ag1eli
+ag1elm
+ag1eln
+a2g1elo
+a2g1el
+ag1elr
+ag1els
+ag1elt
+ag1el
+ag1elv
+ag1elz
+a2g1e2m
+ag1eng
+a2g1eny
+a2g1e2p
+a2g1erd
+age2red
+a2g1erk
+a2g1er
+age2s
+a2g1e2v
+a2g1ex
+a2g1ez
+a2g12j
+a2g1k.
+a2g1kn
+a2g12l
+ag2n
+ag2p1i2p
+a2g12pl
+a2g1r.
+a2g12re
+a2g12r
+a2g1rh
+a2g12ri
+a2g1rk
+ag1rl
+ag1rm
+ag1rte
+ag1rt
+ag1rth
+a2g1rt
+ag1sz
+a2g1te
+a2g1ve
+ag1fl
+ag1fr
+1agg.
+ag2g1a2ty
+ag2g1em
+ag2git
+1aggl
+1aggod
+1aggok
+ag3gyar
+ag3gye
+ag3gyi
+ag3gyo
+ag3gy
+agi3a
+ag1ide
+a2g1i2ga
+a2g1ige
+a2g1ig
+ag1ike
+a2gill
+ag1inf
+a2g1ing
+a2g1int
+a2g1i2oni
+agi2
+a2g1ip
+ag1iro
+a2g1ist
+agi2sz
+a2gita
+ag1iz
+ag1izm
+a2g1j
+ag1n
+a2g1r
+ag1v
+a2g1z
+agk2rok
+ag1kl
+ag1kr
+ag2ne.
+a1g2non
+a2g1ob
+ag1olt
+ago2ly1a2
+2agom
+2agona
+agon3n
+ago2n1osz
+a2g1op
+a2g1org
+ag1orj
+a2g1orn
+a2g1orr
+a2g1ors
+a2g1orv
+a2g1otth
+ag2ri
+a2g12l
+ag1nk
+ag1nt
+a2g1r
+ag1rv
+a2g1s
+a2g1t
+a2g12v
+a2g12z
+a2g1r
+a2g12s
+ag1pl
+ag1pr
+2agrammj
+a1g2rav
+2agr
+a1g2rf
+ag1sk
+ag1sp
+ag1sr
+ag1st
+agsz2
+ag1szt
+ag1tr
+a2g1und
+a2guram
+agu2rat
+ag1u2r
+ag1urn
+ag1u2t
+a2g1j
+ag1ta
+a2g1ti
+ag1tt
+a2g12l
+a2g1r
+a2g1s
+a2g1t
+a2g1v
+a2g1z
+ag1r
+ag1z
+a2gy1a2c
+a2gyad
+agy1a2d
+agy1a2gya
+a2gyaj
+1a2gyak.
+a2gyakb
+agya2la
+agy1alap
+agy1alg
+a2gyalj
+agy1alko
+agy1alm
+1a2gyam
+agy1ana
+a2gy1any
+a2gy1apa
+agy1apja
+agy1apj
+a2gy1a2p
+a2gy1apr
+agya2sz
+a2gy1asz
+a2gyl
+agy1rv
+a2gy1e2c
+agy1e2g
+a2gy1el
+agy1em
+agy1est
+agy1esz
+a2gyev
+a2gy1ez
+agy1k.
+agy1ke
+agy1kk
+agy1r.
+a2gy12re
+agy1rn
+agy1rr
+agy1rs
+a2gyima
+agy2ny
+agyo2r
+a2gy1oro
+a2gyorr
+a2gy12l
+a2gy12r
+agyu2r
+agy1ur
+1a2gy.
+1a2gya
+a2gyn
+agy1r.
+agy12sz
+a2gyt
+2agy
+aha2l1e
+aha2sbr
+ahely2k
+ahert2
+aher1tze
+ah2j1t
+ahitkz1
+ah1o2vi
+ah2sr
+ahs3s
+a1i
+ai2bo
+2ai2de
+ai2dom
+2ai2d
+a2ik
+ai2ga
+ai2g
+ai2ge
+ai2g
+ai2gy
+ai2ia
+ai2ib
+ai2ih
+ai2ij
+ai2in
+ai2ir
+ai2it
+ai2je
+aika2
+ai2kab
+ai2k1ad
+ai2k1al
+ai2k1ar
+ai2k1as
+ai2k1
+ai2ke2
+aik1el
+aiki2
+ai2kik
+ai2kis
+ai2k1ol
+ai2k1osz
+ai2k
+ai2k
+a2ilb
+a2ile
+2aill
+ail2le.
+ail2lo
+ai2ma.
+2ai2m
+2aimi
+ai2mit
+2aimp
+ai2na.
+ai2na2l
+ain1ala
+2ai2nas
+ain2
+ai2n1lo
+ai2nr
+2aind
+ai2ne
+ai2nl
+2ainf
+2aing
+ai2n1in
+ai2nol
+2ainp
+2ains
+2aint
+ai2n
+ai2onb
+ai2onn
+ai2ono
+ai2onr
+ai2ont
+ai2pa
+a2ir.
+ai2ram
+2ai2rat
+2ai2r
+ai2re.
+ai2r
+ai2ri
+2airo
+ai2rod
+a2i2se
+ai2si
+2aisk
+2aism
+2aist
+2aisz
+ai2sza
+ai2szo
+2ai2ta
+ai2vad
+ai2var
+ai2vs
+2ai2v
+ai2z
+ai2zom
+a1
+a2g
+a2ja
+a2j
+a2ju
+a2ra
+a2r
+a2ro
+a2r
+a2ru
+a2t
+a2v
+a2ve
+a2v
+a2vi
+a2v
+a2v
+a2v
+a2ze
+a2z
+a2z
+a2z
+a2j1a2d
+a2j1adu
+aj1aga
+aj1agr
+aja2kol
+a2j1ak
+aja2k
+a2j1ana
+a2j1ant
+a2j1any
+aj1apr
+a2j1a
+aj2c
+aj12go
+1a2jnd
+1ajnl
+a2j1p
+2ajr
+a2j1rb
+a2j1rc
+a2j1re
+a2j1r
+a2j1rr
+aj1s
+aj1sv
+a2j12t1e2
+aj2z
+aj1z
+aj1bl
+aj1br
+aj2d1alm
+aj2d1a2lom.
+aj2d1a2lomm
+aj2d1a2lomn
+aj2d1a2lomr
+aj2d1a2lomt
+a2j1e2c
+a2j1ef
+a2j1eg
+a2j1ela
+aje2leme
+a2j1elf
+aj1ell
+a2j1elo
+aj1el
+aj1elv
+aj1elvo
+a2j1e2m
+aj1ene
+aj1enz
+a2j1e2r
+aj1e2se
+a2j1ex
+a2j1ez
+a2j1ge
+a2j1g
+aj1g
+a2j12k
+a2j1l
+a2j1p
+aj2r
+a2j1re
+a2j1te
+aj1fl
+aj1fr
+aj1g2r
+a2j1i2d
+a2j1ij
+a2j1ik
+a2j1im
+a2j1int
+a2j1io
+a2j1ip
+a2j1iz
+aj1r
+aj1z
+aj1kl
+1ajk.
+ajobb1o
+ajo2g12sza
+a2j1ola
+aj1old
+a2j1o2v
+a2j1csks
+aj2sr
+aj1b
+a2j1k
+a2j1r
+a2j1z
+aj1r
+aj12s
+aj1pl
+aj1pr
+aj1sh
+aj1sk
+aj1sp
+aj2tg
+aj2teg
+aj2t12t
+ajt1org
+aju2hi
+a2j1j
+aj1sz
+a2j1to
+a2j1tr
+aj1g
+aj1l
+aj1s
+aj1z
+aj1z
+ajz1aka
+ajz1atl
+aj2zer
+aj2z
+aj2z
+2akab
+aka2cse
+a2kadag
+a2k1a2data
+a2k1a2datb
+a2k1a2datn
+a2k1a2dato
+a2k1a2datr
+a2k1a2datt
+1akadl
+1a2kadm
+a2k1adm
+a2k1aga
+2akal
+ak1a2lag
+a2k1a2lak
+aka2lap
+a2k1aleg
+ak1alko
+2akam
+2akan
+2akao
+2akap
+aka2pd
+ak1app
+ak1a2rai
+ak1arasz
+a2k1a2rb
+a2k1a2rk
+2akarc
+a2karch
+2akard
+ak1a2rn
+2akari
+2akarr
+2akas
+2akast
+aka2szaj
+ak1a2szat
+aka2szel
+aka2sz
+a2k1asztr
+2akata
+aka2tab
+2akate
+aka2tel
+aka2ter
+akati2
+aka2tik
+aka2tim
+aka2tin
+2akau
+a2k1aut
+2akav
+2akaz
+1akc.
+a2k1f
+a2k1g
+ak2l1a
+ak2lis
+a2k1ll
+ak1rad
+a2k1rb
+a2k1rj
+a2krk
+ak2rokn
+a2k1rt
+a2k12ru
+ak2sad
+ak2saj
+ak2sal
+ak2sar
+ak2sav
+ak2sst
+aks3s
+ak12szn
+ak2szu
+a2k1szun
+akt1a
+a2k1tla
+ak1bl
+akci2s12
+a2ke.
+ake2cs
+a2k1e2dz
+ak1e2ge
+ak1e2g
+a2k1ela
+a2k1el
+ake2lem
+ak1elh
+a2k1elj
+a2k1elo
+ake2lk
+a2k1elr
+a2k1elv
+a2k1emb
+ak1e2mel
+a2kerd
+ak1e2rei
+a2k1e2r
+a2k1e2r
+a2kesp
+a2k1est
+ak1eszk
+ak1eszm
+a2k1e2te
+ak1e2ti
+a2k1e2vez
+ak12kem
+ak12kes
+a2k12k
+a2k1kh
+ak1kr
+2akm
+2akny
+2akp.
+2akpb
+2akpe
+2akp
+2akph
+2akpk
+2akpl
+2akpn
+2akppel
+2akpp
+2akpr
+2akpt
+2akp
+2akpz
+a2k1rc
+2akrd
+a2krdek
+2akre
+2akr
+a2k1rm
+2akr
+a2k12ri
+a2k12rj
+a2k1rr
+a2krteke
+a2k1rtel
+a2k1rtet
+a2k1rt
+2akrv
+a2k1rz
+2aks
+a2k1sza
+a2k12te
+2akts
+a2k1tt
+2akz
+ak1fl
+ak1fr
+akgerinc1
+ak1gr
+2akia
+2akib
+2akic
+2akid
+a2k1i2d
+ak1idi
+2akie2
+2aki
+2akif
+ak1iga
+a2k1ig
+2akigy
+2akih
+2aki
+2akij
+2akil
+a2k1ill
+ak1ily
+2akim
+a2k1i2m
+a2k1imi
+2akin
+ak1ind
+a2k1ing
+a2k1ins
+a2k1ion
+2akir
+aki2rom
+2akis
+a2k1isi
+a2k1isk
+ak1ism
+a2k1ist
+2akit
+2akiv
+2akiz
+a2k1izm
+a2kt
+a2k12z
+ak2k1a2d
+ak2kaj
+ak2k1a2la
+akk1alk
+ak2k1arc
+ak2kl
+ak2k12p
+ak2k1ed
+akk1ell
+ak2kelm
+akk1elt
+ak2kem
+ak2k1er
+akke2s
+akk1ese
+ak2ket
+ak2kola
+1akkord
+akk1lt
+ak2k1s
+ak2kr
+1akku.
+1akkum
+ak2lau
+ak2lav
+ak2lor
+ak2ln
+ak2lr
+1aknai
+1aknb
+1aknh
+1akni
+1aknka
+1aknko
+1akns
+1aknt.
+1aknv
+1aknz
+2akoa
+ak1obj
+2akoc
+2akof
+2akokt
+akols3s
+a2k1olda
+a2k1o2ly
+2akom
+2akonc
+2akond
+2akonf
+2akong
+2akonk
+2akons
+2akont
+2akonv
+2akony
+2akonz
+2akoo
+2akop
+a2k1o2pe
+ak1o2rat
+2akorb
+2akord
+a2k1org
+2akori
+a2k1orj
+2akorl
+2akorm
+2akoro
+2akorp
+2akorr
+2akors
+2akort
+2akoru
+2akor
+a2k1orv
+2akos
+2akni
+2ak1p2
+a2k12r
+ak12rd
+1a2kz
+ak1ssz
+ak2z12l
+akzrea3
+ak1r.
+ak1s.
+ak1pl
+ak1pr
+ak1ps
+akrdi2
+ak2rt
+2akre
+ak2rea
+2akr
+a1k2rme
+ak2rta
+ak2rt
+2akri
+a1k2rit
+2akr
+ak2rz
+1akrob
+2akrnik
+ak1sp
+ak1sz2t
+ak2t1au
+aktr2s1a2d
+1akti.
+ak2tim
+1aktvb
+akt2ve
+ak2t1ve.
+1aktvk
+1aktvo
+1aktvs
+1aktvt
+akto2r1l
+akt1osz
+ak1tr
+1aktua
+1akt.
+a2k1udv
+a2k1ujj
+2akun
+1akupu
+a2k1g
+a2k1j
+a2k1rr
+a2k1g
+a2k12le
+a2k12l
+a2k1ln
+a2k12t
+a2k12v
+ak1ya
+a2l1abl
+alac1c
+alace2
+alaci2
+ala2cit
+ala2cor
+a2lacs
+ala2c3s
+ala2cs
+a2ladag
+a2l1a2dat
+ala2gl
+ala2g1e
+ala2gp
+ala2gol
+ala2gya
+ala2j1a2d
+ala2jas
+ala2j1e2
+a2lakad
+ala2k1an
+a2l1a2kas
+ala2kl
+ala2k1p
+ala2kes
+1a2lak
+a2l1akna.
+a2laknk
+a2laknt
+ala2kol
+a2l1a2kd
+ala2k1l
+a2l1aktu
+1alaku
+a2lakul.
+a2lakult
+al1alg
+a2l1alj
+a2l1alk
+al1all
+al1alm
+al1a2lo
+al1alt
+ala2n1e
+1a2lanny
+a2lany
+ala2nyal
+ala2ny1e2
+ala2p1a2d
+ala2pak
+ala2pal
+a2lapan
+ala2p12r
+ala2p1e2
+ala2pill
+ala2pin
+ala2pir
+1a2laptv
+ala2p1ol
+ala2por
+ala2p1osz
+alap12
+alap1p
+al1a2ra
+al1a2r
+al1arg
+ala1s2p
+a2l1aszp
+alaszta2l
+alat1any
+alatt1a2
+ala2t1e2v
+ala2t1inf
+ala2tv
+ala2t1ol
+alat2
+ala2tr
+a2l1attak
+1a2latti
+ala2t12
+al1ava
+ala2zr
+1a2la
+1a2l
+alba2d
+al2b1ada
+al1br
+1a2lbj
+al2dal
+al2d1ap
+1a2lf
+a2l1g.
+a2lga
+al12g
+al1gb
+a2l1gg
+al1gh
+al12gi
+al1gk
+al1gn
+al12go
+a2l1gr
+al1gt
+al12g
+al1gya
+1a2l
+1a2lmo
+a2l1rad
+a2lrak
+a2lr
+al2rr
+a2l1rk
+alste2
+als2tel
+als2t1r.
+a2l1td
+a2lte
+a2lt
+al1tp
+a2l1tf
+al2ti
+a2l1tl
+a2l1tm
+a2lt
+a2ltr
+a2lt
+al1bl
+al1br
+1album
+al1d2r
+a2le.
+2alea
+2aleb
+al1eb
+2alec
+al1ece
+ale2g1e2l
+al1egs
+alegsz1
+al1egys
+a2legy
+2aleh
+2ale2
+2alej
+ale2k1a
+a2l1ela
+a2l1elg
+a2l1eld
+al1e2led
+ale2lem.
+ale2lemb
+ale2leme
+ale2lemk
+ale2lemm
+ale2lemt
+a2l1elg
+a2l1elh
+al1elm
+a2l1eln
+ale2lk
+ale2lt
+a2l1elr
+a2l1els
+al1elt
+a2l1elv
+2alem
+a2l1emb
+a2l1e2mel
+al1e2m
+a2l1eml
+2alen
+a2l1ene
+2alep
+ale2pe.
+a2lerd
+a2l1e2re
+a2l1erk
+a2l1ern
+2ales
+al1esem
+a2lesi
+ale2sik
+ale2tet
+alet2t1est
+ale2
+2alev
+ale2vol
+ale2vi
+2alex
+a2l1exp
+2alc
+2alg
+al1g
+al2kal
+al2k1an
+al2kat
+al2k1em
+al2ker
+al2kes
+al2kor
+a2ll.
+al12len
+a2l12let
+a2l1l
+a2l1ll
+al12l
+a2l1l
+2aln
+a2lneke
+a2l1rd
+al1rs
+a2l1rte
+a2l1rt
+a2l1rt
+a2l1rz
+2alt
+al2tek
+a2l12tel
+al1tl
+a2l1vi
+1alfs
+1algsat
+1algor
+al1gr
+2alic
+al1ide
+a2lid
+al1i2do
+al1ifj
+a2l1ig
+2alik
+al1ill
+2alim
+a2l1i2m
+a2linas
+ali2nin
+ali2ra
+al1i2pa
+a2l1ir
+a2l1iro
+a2l1i2si
+a2lism
+ali1s2po
+al1iste
+2alite
+al1izma
+al1j
+a2l12v
+alja2ik
+1aljaka
+1aljakb
+1aljak
+1aljakk
+1aljako
+1aljas
+1alji
+alj1rna
+al2j12ro
+1aljb
+1aljc
+1aljd
+1aljer
+1aljf
+1aljg
+1aljh
+1aljia
+al2j
+1aljj
+1aljk
+1aljl
+1aljm
+1aljn
+1aljr
+1aljs
+1aljt
+1alj
+1al2j
+1aljv
+1aljz
+al2k1a2p
+alkele2
+1alkm
+1alkoh
+1alkot
+1alkotm
+1alkot
+al1kre
+al1kro
+1alku.
+1alkud
+1alkun
+al2l1aj
+al2l1akt
+al2l1akv
+alla2l
+al2l1ala
+al2lalk
+al2lau
+all1ll
+all1zs
+al2led
+all1egy
+all1emb
+1allerg
+all1ese
+all1est
+all1e2v
+all12j
+al2l1id
+al2lim
+all1int
+al2lip
+al2l1isk
+al2l
+all1ri
+al2ls
+al2l12
+al2l
+1all
+1almd
+2alob
+al1obe
+alogos1s
+alo2g12
+a2l1okta
+al2old.
+aloma2
+alo2mad
+alo2mak
+alo2m1al
+alo2m1an
+alo2map
+alo2mar
+alo2mas
+alo2mc
+alo2mr
+alo2m1t
+alo2mer
+alo2min
+alo2mis
+alo2mit
+alom1p2
+alo2m1
+alo2n1
+alon1d2
+alon3n
+2alop
+al1opc
+a2l1ope
+al1o2ra
+al1orc
+al1orn
+al1o2ro
+a2l1orr
+alos3s
+a2l1ost
+a2l1oszl
+2alov
+al2c3se
+3alguses
+aligaz1
+ali2ko
+al12lo
+al1nn
+al2
+al2rj
+al2rk
+al2zan
+al2zis
+a2l1b
+a2l12l
+a2l1n
+a2l1r
+a2l1s
+a2l12z
+alpe2l
+alp1ele
+al2piz
+al1sh
+al1sk
+al1sl
+al1sm
+al1sp
+alsz2
+al1szt
+al2tada
+al2t1alap
+alt1anya
+alt1elv
+alt1emb
+al2t1e2p
+al2t1e2v
+al2t12k
+alt2n
+alt1ne
+alt1rne
+al2t12r
+al2t1rr
+alt1rt
+al2t1i2m
+alti2n
+alt1ina
+alti2p
+alt1ipa
+al2t1ir
+al2t1old
+1altonk
+al2t1osz
+al2tc
+al2tn
+al1trak
+al1tran
+al1trav
+al2tur
+al2t1t
+al2tr
+1altv
+al1ty
+alu1p
+1a2luss
+alu1str
+a2l1j
+al1r.
+al1rb
+al1rh
+al1ri
+al1rk
+al1rn
+al1rr
+a2l1t
+a2l1th
+a2l1tj
+a2l1tn
+a2l1tt
+al1g
+al1l
+al1n
+al1r
+al1s
+al1t
+al1v
+a2l1z
+al1r
+al1z
+1alveo
+1alv
+a2ly1ap
+a2lyar
+a2lyl
+a2ly1e2
+a2lyv
+a2ly1id
+a2lyim
+a2lyis
+a2ly
+a2lyug
+a2ly12
+am1abb
+am1abl
+2amad
+a2m1a2dat
+ama2ds
+am1adm
+a2m1a2d
+a2m1a2du
+2amag
+ama2gt
+2amaj
+am1ajt
+ama2kar
+a2m1akt
+am1akv
+a2m1a2lak
+am1a2lap
+a2m1a2l1e
+ama2nya
+ama2
+2amap
+2amas
+ama2sz1a2k
+ama2szeg
+ama2sz1em
+ama2szl
+ama2sz
+ama2tad
+amata2n
+ama2tr
+ama2tel
+am2ati
+ama2told
+ama2t1osz
+ama2t12
+a2m1a2u
+a2m1lm
+a2m12rai
+a2m12rak
+am2r
+amt1a2d.
+a2m1tk
+a2m1tl
+a2m1tt
+am2b1ag
+am2bal
+am2b1at
+am2b1sz
+am2b1e2g
+am2b1e2le
+am2bep
+am2b1e2te
+am2b1r.
+1ambula
+am1dr
+a2me.
+am1e2ce
+2ameg
+am1el
+am1e2lem
+a2m1e2l1i
+am1elj
+am1elk
+a2m1eln
+a2m1elo
+a2m1e2l
+a2m1els
+a2m1elt
+a2m1elv
+a2m1e2me
+a2m1eng
+2amenn
+amens1s
+amen2t12ro
+a2m1erd
+a2m1e2r
+a2mesk
+2amest
+a2m1e2v
+a2m1ex
+am1ezr
+am2hes
+am2k
+am1k
+am2let
+a2m1p
+a2m1rd
+a2m1rtek
+a2mrtel
+a2m1tk
+a2m1v
+1amfor
+am1fr
+am1gr
+amid1i2
+ami2g
+a2m1iga
+a2m1ig
+a2m1ig
+a2mim
+am1imi
+am1imp
+ami2na.
+ami2nan
+ami2nin
+a2m1int
+ami2
+a2m1ir
+a2m1iro
+amise2
+ami2sel
+ami2sep
+ami2sz
+1amitbo
+1a2mitha
+1a2mitm
+1a2mit
+1amitro
+1amitr
+1a2mits
+1a2mitt
+1a2mitt
+a2mg
+am1kl
+am1kr
+amme2g
+am2m1egy
+am2meta
+am2m12t
+2amod
+a2m1oke
+a2m1okm
+a2m1o2koz
+am1ola
+a2m1old
+a2m1olt
+a2m1op
+a2m1ors
+1a2mort
+a2m1orv
+2amos
+amos3s
+2amot
+2amoz
+am12ri
+am12r
+am1s
+am1t
+am12z
+am12r
+am1s
+am1pla
+am1p2r
+1amput
+am1sk
+am1sp
+am1sr
+am1st
+am1t2r
+2amun
+a2muni
+amu2riz
+amu1sl
+a2m1u2tas
+a2m1j
+am1g
+am12l
+am1t
+am1z
+2anad
+a2n1a2dat
+a2n1adu
+a2n1aga
+a2n1ag
+an1a2gya
+a2n1ah
+2anai
+1a2nakr
+ana2lap
+1anal
+an1alk
+an1alm
+1a2nal
+an1a2mo
+a2n1ana
+1a2nan
+an1ann
+an1a2ny
+2anap
+ana2pa2
+an1apa.
+a2n1ap
+a2n1a2p
+an1appo
+an1a2rab
+an1a2r
+a2narc
+an1arr
+ana2sz1e2
+ana2szn
+ana2szin
+ana2sz12
+ana2sz
+ana2sz
+ana2t1e
+ana2t
+2anav
+a2n1a2va
+a2n1az
+a2n1g
+a2n1lmi
+a2n12lom
+a2n12p
+a2nsat
+2ant
+a2n1ta
+a2n1tk
+a2n1tr
+an1br
+anca3u
+an2c1l
+ance2
+an2ce.
+an2c1r.
+an2c3hit
+an2cho
+anci2al
+an2c12
+an2csaj
+an2csar
+ancs1ell
+ancs1emb
+an2cs1en
+ancs1e2p
+ancs1et
+an2csr
+an2cs1ill
+an2csiz
+an2cs12z
+an2cs1or
+an2cs
+ancs2
+ancs1t
+an2csut
+an2cs1
+an2d1alk
+anda1s
+and1atl
+and1e2le
+and1elk
+an2d1el
+and1els
+an2derd
+an2d1es
+1andez
+an2dl
+an2dil
+an2d1
+an2d12
+an2ds
+an2dn
+an2d
+an1dy
+an2dz
+a2n1eb
+an1edd
+an1e2g
+1a2nekd
+ane2la
+ane2l1
+ane2l1e2l
+ane2l1emb
+ane2ll
+ane2l
+2anem
+an1emu
+an1e2re
+an1ern
+an1err
+2aneu
+2anev
+a2n1ex
+ane2z
+an1ez.
+a2n1eze
+an1ez
+an1ezt
+an1ezz
+a2n12k
+a2n1le
+an1p
+a2n1ri
+a2n1rv
+a2n1tk
+a2n1tt
+a2n1vc
+an1vem
+an1ves
+an1vet
+an2vb
+an2vn
+an2vt
+an2vv
+an1vha
+an2vig
+an1vke
+an1vk
+a2n1v
+a2nvz
+anf2l12v
+an1fl
+an1f2r
+anga2d
+an2g1ada
+an2g1ado
+an2g1ala
+an2g1a2ra
+an2g1ass
+ang1azo
+an2g1c
+an2g1ll
+angr1a2d
+ang1ta
+an2g1tj
+an2g1tt
+an2g1ed
+an2g1eg
+an2g1elf
+an2g1elh
+an2g1elj
+an2g1ell
+an2g1eln
+an2g1el
+an2g1elt
+an2g1elv
+an2gem
+ang1emb
+ang1eng
+an2g1e2r
+ang1ese
+ang1le
+ang1lv
+an2g12ne
+an2g1r.
+ang1r
+an2g1s
+an2gim
+an2giz
+an2g
+an2g1osz
+an2g1ri
+an2g1l
+an2g1s
+an2g12
+ang1sz
+an2g
+an2g
+angye2
+angy1el
+an2gyk
+an1ide
+ani2g
+a2n1iga
+a2n1ig
+a2n1i2ko
+an1ind
+a2n1inf
+an1i2on
+2anip
+a2n1i2pa
+an1i2r
+a2n1iro
+a2n1isi
+a2n1isk
+a2n1ism
+a2nita
+an1itt
+a2n1g
+a2n1j
+2anv
+a2n1z
+ank1abl
+an2kaj
+an2k1a2k
+ank1ale
+an2k1a2n
+ank1arc
+ank1ari
+an2k1atl
+an2k1au
+an2kaz
+an2k1l
+an2k1e2g
+an2k1ek
+an2k1e2l
+an2k1e2m
+an2k1e2reit
+an2k1erj
+an2k1es
+ank1rde
+ank1rem
+an2krte
+an2k1rt
+an2k1i2d
+an2k1i2p
+an1klu
+an2k1old
+ank1oszt
+an2k12rmb
+an2ks
+an2k12v
+an2kr
+ank1t2
+an2k1
+an2ne.
+an3ny.
+an3nye
+an3nyo
+a2n1oj
+a2n1okta
+a2n1old
+1a2nom
+2anor
+a2n1o2ro
+a2n1orr
+a2n1ors
+2anos
+a2n1ott
+a2ndd
+a2ndo
+an1g2
+a2n1ni
+a2n1no
+a2n12r
+an1ri
+a2n1l
+a2n1n
+a2n1r
+a2n1s
+a2n12t
+an1pl
+an1pr
+an2s1e2l
+an1ska
+an2s
+an1s2p
+ans3sze
+an1sta
+an2szal
+an2sz12b
+an2sz12h
+an2szr
+ansz1es
+an2szl
+an2sz1n
+an2sz12p
+an2szil
+an2szin
+an2sz
+ansz1t2
+ansz12l
+an2t1abl
+ant1aga
+an2t1eg
+1anten
+an2t1e2se
+ant1esz
+anti1llt
+an2t1ing
+an1t2re
+a2n1ud
+a2n1ug
+a2n1uj
+2anuk
+a2n1u2r
+anu2szi
+a2n1u2t
+a2n1g
+an12g
+an12l
+an12z
+an1r
+an1z
+any1a2d
+anyag1r.
+anyag1rr
+1anyagb
+1a2nyag
+anyag1g
+1anyagh
+1anyagk
+1anyagm
+1anyagr
+1anyagt
+1anyag
+a2nyakad
+a2ny1a2kas
+a2ny1alk
+a2ny1all
+a2ny1ass
+any1aszt
+a2ny1a2tom
+a2nyaz
+1anydt
+1anyk
+any1lo
+a2ny1r
+a2ny1rb
+a2ny1rf
+any1rk
+a2ny1rn
+a2ny12ro
+a2ny1rr
+any12sz
+any1d
+2anye
+a2ny1e2c
+a2ny1ed
+a2nyeg
+any1eg
+any1egy
+a2ny1e2k
+a2nyela
+anye2leme
+any1elev
+a2ny1ell
+a2ny1elo
+a2ny1em
+a2ny1en
+any1e2re.
+any1e2rei
+any1e2ret
+any1e2rn
+any1e2rr
+any1e2rt
+any1e2rv
+any1e2rm
+any1e2rr
+any1e2rt
+a2ny1g
+a2nyhe
+a2ny12j
+a2ny1k
+any1lv
+a2ny1r.
+a2ny1rb
+a2ny1rc
+a2ny1rd
+a2ny1re
+a2ny1rg
+a2ny1rh
+a2ny12ri
+a2ny1rk
+a2ny1rm
+a2ny1rn
+a2nyr
+a2ny1rp
+a2ny1rr
+a2ny1rs
+a2ny1rte
+a2nyrt
+a2ny1rt
+a2ny1rv
+a2nyve
+a2nyv
+anyha2j1n
+anyha2j12r
+2anyi
+anyigaz1
+any1ing
+a2ny1io
+2any
+2anyo
+any1old
+a2ny1o2r
+any1r
+any1k
+any12r
+any1z
+a2ny12
+any1s
+anyt2
+any1tr
+a2nyur
+2any
+2any
+any1l
+a1o
+ao2z
+ao2be
+ao2cs
+ao2da
+ao2d
+ao2ka
+ao2k
+ao2la
+aolaja2d
+aola2j1ada
+ao2mo
+ao2p
+ao2pe
+ao2ra
+ao2ro
+ao2so
+ao2ut
+ao2ve
+ao2vi
+ao2xi
+a1
+a2r
+a2bar
+a2b
+a2bi
+a2bo
+a2ce
+a2d
+a2di
+a2f
+a2fe
+a2fo
+a2f
+a2f
+a2h
+a2hi
+a2h
+a2il
+a2is
+a2i2v
+a2k
+a2ke
+a1kr
+a2ku
+a2la
+a2le
+a2l
+a2li
+a2lo
+a2lu
+a2mag
+a2mar
+a2mas
+a2me
+a2mi
+a2mo
+a2n
+a2n
+a2n
+a2r
+a2r
+a2ri
+a2s
+a2s
+a2ta
+a2te
+a2t
+a2vo
+a2v
+a1
+a2b
+a2cs
+a2d
+a2ko
+a2k
+a2le
+a2l
+a2l
+a2n
+a2r
+a2ve
+a2vi
+a2v
+a2z
+a1
+a2re
+a2r
+a2ri
+a2r
+a2r
+a2se
+a2s
+a2sz
+apa2cs1a2v
+apa2cs1i
+a2p1a2da
+a2p1aga
+a2p1aj
+a2p1akc
+2apal
+apa2lag
+apa2lak
+a2p1alb
+a2p1alj
+a2p1alt
+apa2mas
+a2p1ant
+2apap
+apa2pn
+ap1a2rn
+1apas
+a2p1asp
+apa2tad
+apa2t1ala
+apata2n
+apa2t1as
+apa2tl
+apa2t1
+ap1aut
+2apav
+a2pava
+ap1a2zo
+a2pj
+ap1llap
+a2p1ll
+a2p1llo
+apn1n
+a2p12rad
+ap12rai
+a2p12rak
+ap12ram
+ap12ras
+ap12rat
+ap2r
+ap2rh
+ap2rn
+ap2rr
+ap2rv
+aprba2
+a2p1re
+a2p12r
+a2p1rf
+ap1rka
+ap1rko
+a2p1rny
+ap1rt
+a2p1ru
+a2p12r
+apsk2
+ap2tr
+1a2pu
+ap1bl
+ap1dr
+a2pe.
+ap1e2d
+a2p1e2g
+ap1e2l1a
+ap1elb
+ap1e2l
+a2p1elf
+ap1elg
+a2p1elh
+ap1elj
+ap1elk
+a2pell
+ap1elm
+ap1eln
+ap1elo
+ap1e2l
+ap1elr
+a2p1elt
+a2p1elv
+ape2m
+ap1emb
+ap1eme
+ap1ene
+ap1eni
+ap1e2ny
+ap1e2r
+ape2s
+ap1ese
+ap1es
+ap1es
+a2p1e2v
+a2p1ex
+a2p12he
+a2p1je
+a2p12le
+a2p1ll
+ap1lm
+a2p12ne
+ap1p
+a2p1r.
+ap1szl
+a2p1te
+a2p1ve
+ap1fl
+ap1f2r
+ap1gr
+a2p1ide
+a2pid
+apigaz1
+ap1i2ko
+ap1ikr
+a2p1i2nr
+ap1ind
+ap1inj
+a2p1ins
+ap1i2rat
+a2p1i2r
+a2p1irk
+a2p1ism
+a2p1g
+a2p1n
+a2pt
+ap1v
+a2p1z
+ap1kl
+ap1kr
+ap1kv
+ap2laz
+ap2ld
+apmeg1
+apm1
+apmt2
+a2p1ob
+ap1o2laj
+ap1oltr
+ap1opc
+ap1ope
+ap1opt
+apo2rad
+ap1orc
+ap1ors
+apor2t12
+apo2t1l
+a2p1ov
+1a2pk
+ap1lo
+ap1ri
+a2p1b
+ap1l
+ap1n
+ap1rv
+a2p1s
+ap1v
+a2p12z
+ap12r
+1appar
+ap2p1rn
+ap1ph
+app1ing
+ap1pla
+ap1pri
+ap1pr
+ap1p2s
+ap1py
+ap2res
+ap2rd
+a1p2rm
+ap2rs.
+a1p2rm
+2apro
+ap2roc
+a1p2rod
+1aprd
+1aprz
+ap2s1i2kon
+ap2sz
+aps1ork
+apsz1ert
+ap1szf
+apsz2t
+aptra2d
+apt2r1ada
+ap1t2r
+apu2
+a2p1udv
+apu1p2
+apus3s
+a2p1u2tas
+a2p1utn
+a2putc
+a2p1j
+a2p1d
+a2p1g
+a2p12l
+a2p1n
+a2p1t
+a2p1v
+a2p1z
+ap1r
+ap1wh
+ara2b1r
+ara2b12
+ar1abla
+2arad
+ar1a2data
+ar1a2dato
+ar1a2datr
+2arag
+ara2g1e
+2araj
+ar1ajkr
+2arak
+a2r1a2kol
+ara2kh
+ara2ki
+ara2ks
+ara2kt
+a2r1akt.
+ar1alk
+a2r1alm
+a2r1ana
+1a2rann
+arany1a2g
+ara2nyal
+1aranyb
+1aranyh
+ara2ny
+1aranyk
+1aranyn
+1aranyr
+1aranys
+ara2pa.
+ar1arc
+1arasz.
+arasz2t1e
+ar1asz
+ara2tal
+ara2tel
+ara2tin
+ara2t12
+arat2
+ara2tr
+ar1aul
+aravasz1
+1a2raw
+ara2zon
+2arc
+a2r1c.
+a2r12csi
+a2rcsom
+a2r1g.
+a2r12ga.
+a2r12gai
+a2r12gak
+a2rgan
+a2r12gat
+ar2gb
+ar2gh
+ar2gn
+ar2gr
+ar2gt
+ar2gv
+a2r1gb
+a2r1ge
+a2r12g
+a2r1gf
+a2r1gg
+a2r1gh
+a2r12gi
+a2r1gk
+a2r1gl
+ar2gon
+a2r1gr
+a2r1gs
+a2r1gt
+a2r12guk
+a2r12gun
+a2r12g
+a2r12gy
+ar1lc
+a2r1ll
+a2r1llo
+2arm
+ar2m1e2
+ar2nye
+a2r12rak
+a2r12r
+a2r1rk
+a2r1rr
+ar12ru
+ar1r
+ar1rv
+ar2sze
+a2r12szoki
+ar2tal
+ar2t1
+ar2zsl
+arzsi2
+arzs3z
+ar2c1a2d
+arc1agy
+arc1ala
+arca2n
+arc1any
+ar2car
+ar2cat
+ar2ceg
+ar2c1es
+ar2cev
+ar2c12h
+arc1l.
+arc1lb
+arc1ll
+arc1lt
+ar2c12n
+ar2cs
+1arch
+arc1ing
+ar2c1int
+ar2ciz
+arcols1s
+ar2c
+ar2c
+arcs1ala
+ar2csl
+arc3sere
+ar2csip
+ar2c3sor
+ar2c
+ar2c
+ard1ac
+ar2d1alj
+ar2d1ll
+arde2l
+ard1ele
+ard1el
+ard1elt
+ar2d1e2m
+ar2d12l
+ar2d1ina
+ar2d1ing
+ar2dor
+ar2d
+ar2d1ur
+ar2d
+a2r1e2dz
+ar1egs
+a2r1e2gy
+are2i
+areil2
+a2r1e2le
+ar1elh
+ar1elm
+ar1eln
+ar1elr
+ar1elt
+ar1el
+ar1el
+ar1elv
+a2r1emb
+ar1emel
+ar1e2ms
+a2remu
+a2r1e2r
+ar1e2se
+ar1e2s
+a2r1eszek
+a2r1esz
+a2r1esz
+ar1et
+ar1e2ve
+ar1e2v
+a2rew
+ar2
+ar1g.
+ar12ge
+ar2k1a2l
+ar2kek
+ar1l.
+ar1lt
+2arm
+ar2nek
+ar1p
+a2r1p
+a2r12ri
+a2r1r
+ar1szj
+ar1sz2t
+ar1tra
+ar1f2r
+ar1gha
+2ari.
+2aria
+ar1i2de
+a2rid
+a2r1i2ga
+a2rimd
+ar1i2mi
+a2r1i2na.
+a2r1i2nak
+a2r1i2nas
+a2r1i2nat
+a2r1i2nb
+a2r1i2nh
+a2r1i2nn
+a2r1i2nr
+a2r1i2nt
+a2r1i2nv
+a2r1ing
+ari2nit
+arink2
+a2r1int
+ari2n
+ar1i2ono
+a2r1i2n
+2arip
+a2r1isp
+a2r1iste
+ari1szf
+2ariz
+ari2zom
+ar12t
+ar2j1z
+ar2j1er
+arkas3s
+ark2p
+ark2s
+ar2k1eg
+ark1el
+ar2kj
+ar2kp
+ar2k1rd
+ar2k1in.
+ar2k1i2ont
+ar2kiz
+ar2k1orm
+ar2k1ovi
+ar2kud
+ar2k1u2s
+ar2les
+ar2m1a2gy
+arma2te
+arm1ll
+ar2me.
+ar2meo
+arme2s
+arm1ing
+ar2m1is
+ar2m1osz
+ar2m1
+ar2m
+arnis3s
+aro2k12
+aro2k1e
+aro2kin
+a2r1olda
+1a2romt
+aro2mis
+a2r1opt
+ar1org
+ar1o2ro
+ar1ors
+a2r1ovi
+ar1p
+a2r12rak
+a2r12rj
+a2r12rm
+ar2s3zr
+ar2vr
+ar1zd
+a2r12b
+a2r1k
+a2r12l
+ar1ng
+a2r1r
+a2r1s
+a2r12z
+ar1r
+ar1s
+ar1pl
+ar1pr
+ar1ry
+ar1ska
+ar1sr
+ar1sta
+ar1sto
+ar1str
+2art.
+art1abl
+ar2t1a2lap
+arta2n12s
+art1aszt
+ar2t1a2u
+ar2t1lla
+ar2t1e2g
+art1e2l
+art1emb
+art1e2rei
+ar2tg
+ar2t12l
+ar2t1rp
+ar2t1i2na.
+ar2t1i2nt
+ar2t1i2nv
+art1orz
+ar2t12v
+ar2t1ut
+artvis1s
+ar1ty2
+a2r1uml
+a2runi
+aru2tas
+a2r1j
+a2r1sz
+ar1tj
+ar1tr
+a2r1t
+ar1z
+ar12z
+ar2vala
+arvas1s
+arv1gy
+ar2v1rh
+ar2v12ri
+2asabl
+as1abr
+a2sadag
+asag2
+as1aga
+as1agg
+as1a2gy
+2asaj
+a2s1a2kar
+2asal
+as1alab
+a2s1a2lap
+as1alf
+a2s1aljn
+a2s1alji
+a2s1alk
+as1alm
+a2s1an
+a2s1ant
+a2s1a2ny
+2asap
+as1apr
+2asar
+as1aran
+a2s1a2r
+asa2t12
+as1a2ty
+2asav
+asa2vo
+a2s12c
+as2g1ikr
+as1ll
+2asm
+a2s1rnak
+a2s12ro
+a2s1rr
+a2s1rt
+a2s12ru
+ass1s
+as1sv
+as1th
+2asto
+2asv
+as1bl
+as1d2r
+a2s1e2d
+as1ege
+a2s1e2gy
+ase2k
+as1eke
+as1ek
+as1ell
+a2s1emb
+a2s1e2n
+a2serd
+as1e2r
+as1er
+a2s1es
+ase2t
+as1eti
+a2s1ez
+a2s1he
+a2s1ke
+a2s12l
+2asm
+a2s1p
+2asr
+a2s1r.
+as1rb
+as1rc
+a2s1rd
+as1s2
+as1tv
+as12ve
+as1fr
+as1gl
+as1gr
+as1ide
+as1ido
+as1i2ga
+as1i2g
+as1inj
+a2s1i2o
+2asiv
+as1iz
+as1i2zo
+a2s1j
+2ask
+2asn
+2asr
+asrta2
+asr2tal
+a2s12v
+as1z
+2ask
+as1kl
+asko2s1a2r
+asko2s1
+as2koz
+as1k2r
+as2luk
+as2mr
+2asodr
+a2s1of
+as1okke
+as1okl
+as1okos
+2asoks
+as1okta
+aso2n
+2asor
+a2s1ord
+a2s1orm
+as1osz
+a2s1ox
+as1p2
+as12r
+a2s12k
+a2s12l
+as1rd
+as1rv
+a2s1s
+as12ve
+as1r
+as1p2l
+as2pot
+asp2r
+a1s2pu
+as1s2p
+as3szab
+assz2ve
+assz1ve.
+assz1vek
+assz1vne
+1asszoc
+1asszony
+as3sz
+as3sz
+2asta
+a1stand
+2ast
+a1s2td
+2asti
+astil2
+as2tim
+2ast
+2asto
+as2top
+2astr
+as1trag
+as1trav
+a1st2ru
+2ast
+a2s1ud
+2asug
+a2s1uj
+2asuly
+asu2r
+as1ura
+as1urn
+a2s1u2sz
+as1u2tak
+a2s1u2tas
+a2s1u2t
+as1u2tu
+a2s12s
+a2s12t
+ast1a2
+a2s1d
+a2s12l
+as1st
+a2s1z
+as1z
+2aszab
+a2sz1a2d
+2aszak
+a2sz1akc
+asza2k1e
+a2sz1akt
+asza2k1
+a2sz1alk
+1aszal
+asz1asp
+asz1ass
+asza2t1a2
+asza2t1e
+a2szath
+a2szati
+2aszav
+a2sz1g.
+asz12ga
+asz12g
+asz1gb
+asz1gg
+asz12gi
+asz1gk
+asz12go
+asz1gr
+asz1gt
+a2szlc
+a2szlm
+2aszm
+asz2rada
+a2szram
+asz1rny
+a2szrp
+a2szta
+a2szth
+asz1tl
+a2sz12to
+asz1ts
+2aszed
+2aszeg
+aszegsz1
+asz1eh
+2aszek
+2aszel
+asz1e2lem
+asz1elj
+2aszemc
+2aszeme
+2aszem
+2aszemp
+a2szemu
+2aszem
+2aszem
+2aszen
+a2sz1eng
+asz1e2pi
+2aszer.
+2aszere
+a2sz1erej
+2aszer
+2aszerk
+2aszern
+a2sz1ero
+a2szer
+2aszerr
+2aszers
+2aszert
+2aszerv
+2aszerz
+asze2s
+a2sz1ese
+asz1est
+2aszez
+2aszk
+asz2k1el
+asz12let
+asz1ls
+asz2n1g
+aszn1n
+a2sz12re
+asz1r
+2aszt
+asz2fr
+a2sz1ill
+2aszin
+a2sz1inf
+asz1ing
+2aszir
+a2sz1ism
+asz1ist
+2asziv
+a2sz1iz
+2asz
+a2sz1r
+asz12vi
+asz2karc
+asz2k1p
+asz2kell
+asz2kes
+2aszob
+2aszoc
+2aszof
+aszon1n
+aszo2n1o
+a2sz1orr
+asz1ors
+a2sz1osz
+1asza
+asz12d
+2aszt
+2aszk
+asz1lt
+a2sz1n
+2aszr
+asz1ss
+a2szt
+2aszv
+2asz
+aszl2
+asz3su
+asz2tab
+asz2t1apo
+asz2tc
+asz2tll
+asz2t1emb
+asz2tne
+asz2t1s
+asz2t1ing
+asz2t1olt
+asz2t1oro
+asz2t1orr
+asz2tors
+asz2t1osz
+asz2tv
+asz2ts
+asz2t1l
+asztvz1
+2aszur
+1aszs
+asz1tr
+2asz
+asz2g
+asz1gg
+a2sz12z
+2asz
+asz2vit
+asz1z
+2atab
+at1abla
+a2t1a2c
+ata2dat
+at1a2d
+2atag
+a2t1agya
+a2tajn
+2atak
+a2t1akara
+ata2kr
+ata2kel
+ata2k12pes
+ata2k12v
+a2t1aktu
+at1a2lag
+ata2lap.
+ata2lapb
+ata2lapj
+ata2lapo
+ata2lapp
+ata2lapr
+ata2lap
+ata2lat
+a2t1aleg
+ata2lik
+a2t1alle
+a2t1alms
+2atan
+a2t1anal
+ata2n
+at1a2nyag
+at1a2nys
+2atap
+at1app
+ata2puk
+ata2pun
+2atar
+a2t1a2rab
+ata2ran
+a2t1a2rn
+ata1st
+atau2r
+a2t1a2ut
+a2t1azo
+2atb
+at1br
+2atg
+at1g.
+a2t12ga
+at1gr
+2atj
+2atl
+a2t1ll
+a2t1ll
+a2t1lm
+2atm
+at2nal
+a2t12pol
+2atr
+at2rada
+at2rado
+at2ramh
+a2tramk
+at2ramn
+at2r1az
+at2rt
+at2ris
+at1rkr
+atrs2g
+atr2s1g
+at1rts
+2ats
+at2s12g
+at2sz
+at2tal
+att2
+at2tr
+a2t1tb
+a2t1tf
+a2t1th
+a2t1ti
+a2t1tj
+a2t1tk
+a2t1tl
+a2t1tr
+a2t1ts
+a2t1tt
+a2t1tu
+a2t1tv
+2atv
+at1bl
+at1br
+at1cl
+at1dr
+at1e2g
+ate2jel
+atek2r
+ate2kre
+ate2k
+a2t1e2l1a
+a2t1elb
+at1elc
+a2t1eld
+at1e2led
+at1eleg
+at1e2lem
+at1e2l1en
+a2t1elf
+a2t1elh
+at1elj
+at1elk
+at1elk
+a2t1elm
+at1eln
+a2t1e2lo
+at1e2ln
+ate2lt
+a2t1elr
+a2t1els
+at1elta
+at1elt
+at1elt
+at1elt
+a2t1elu
+a2t1el
+a2t1elv
+a2t1elz
+a2t1emb
+at1e2mel
+a2t1em
+a2t1eml
+a2t1em
+a2t1enc
+a2t1ene
+at1epi
+at1epo
+a2t1erd
+at1e2rec
+ate2r1k
+a2t1er
+a2t1e2se
+a2t1es
+a2tesk
+ates2t1
+ates2t
+at1eszm
+at1esz
+ate2tol
+a2t1e2z
+2atg
+at2get
+a2t1he
+at2k1a2l
+at2ke2
+a2t1ke.
+atk1el
+2atl
+a2t12le
+a2t12l
+a2t1lm
+a2t1lv
+2atm
+at2ne
+a2t1ps
+2atr
+at2r
+a2t1rdek
+a2t1rin
+a2t1rl
+a2t1rm
+a2t1rtel
+at1rvek
+a2t1rz
+at1sza
+at1szl
+2att
+at2tt
+a2t1tv
+at1fj
+at1fl
+at1fr
+at1gl
+at1gr
+a1t2hus
+2ati.
+a2t1iat
+a2t1i2de
+a2t1ido
+ati2g
+a2t1ige
+a2t1ig
+a2t1igy
+a2till
+at1ille
+at1i2m
+at2i3md
+at1i2mi
+a2t1imp
+2atin
+a2t1ing.
+a2t1inga
+a2t1ingb
+a2t1inge
+atin2
+ati2n1r
+at1int
+at1into
+2atip
+a2t1i2pa
+2atir
+a2t1ir
+a2t1iro
+2atis
+a2t1isk
+a2t1ism
+ati2sz
+a2t1iszo
+2atit
+a2t1i2ta
+a2t1iz
+a2t1izg
+a2tizmo
+a2t1i2zo
+a2t1g
+a2t1j
+2atp
+2atr
+a2t12t
+at12vek
+atv1e2l
+at12vet
+at2vt
+a2t1z
+2atki
+2at1kl
+2atko
+2atk
+2atku
+at1kv
+at1ojt
+atoka2
+a2t1o2k1al
+ato2koss
+a2t1o2koz
+a2t1okta
+a2t1o2ku
+at1old
+a2t1old
+ato2m1
+1atombe
+ato2mer
+1a2tomj
+a2toml
+1a2tomok
+1a2tomos
+1a2toms
+1atom
+at1opc
+at1ope
+a2t1opt
+2ator
+ato2rl
+a2t1ord
+a2t1org
+ato2r
+a2t1orv
+a2t1orz
+atos3s
+ato1sz2f
+a2t1oszl
+at1p2
+a2t12rk
+at2rn
+at2ri
+at1st
+at1sz
+at2s3zr
+at2s3zen
+at1tr
+at1ko
+at2l
+a2t1le
+a2t1l
+a2t1l
+at1n
+atn2k1a
+at12rm
+a2t1s
+a2t1t
+at2vi.
+a2t12z
+at2ra
+at1rl
+a2t12s
+atpen1
+at1pl
+at1pr
+at1ps
+atrac1c
+a1t2rad
+2atraj
+2atrak
+at2ramb
+a1trap
+a1trau
+a1t2rav
+2atr
+a1t2rf
+at2rn
+atr2szel
+a1t2ril
+at2roj
+a1t2rg
+2atrn
+a1t2r
+at2sn
+at1sh
+at1sk
+at1sl
+at1sp
+at1st
+at1s2v
+atsz2m1
+atszraz1
+att1ad
+1attakok
+1attas
+at2t1e2g
+at2tez
+att1ing
+att2
+at2t1r
+at1t2re
+2atud
+a2t1udv
+a2t1ug
+2atul
+a2t1und
+a2tuni
+2atur
+at1ut
+at1ut
+a2t1j
+2atl
+at12sz
+a2t1g
+2atk
+at12l
+at1lt
+2atn
+at1st
+a2t12v
+2atz
+at1zem
+at1ri.
+at1rl
+2atz
+a1u
+au2b1in
+au2bor
+a2ud
+au2de
+au2ga
+a2ug2h
+au2go
+1a2ukc
+aul2l
+aul2t1a
+aul2ti
+a2umae
+a2umaf
+a2umak
+a2umam
+a2umar
+a2umav
+a2umb
+a2umd
+a2um
+a2umh
+a2umi
+a2umm
+a2umn
+a2umr
+a2umv
+au1ph
+au2rad
+au2r1ikr
+au2r
+au2sz1e
+a2ut.
+au2tad
+au2tal
+au2tam
+au2tas
+au2tat
+2aut
+au2tl
+a2uti
+1a2uton
+a2ut
+1autb
+1aut
+1auth
+1auti
+1autm
+1autn
+1autr
+1auts
+1autt
+1autv
+a2utr
+a2utt
+au2tu
+au2z
+au2zs
+a2uz
+au2z1
+a1
+a2j
+a2jo
+a2r
+a2r1i
+a2sz
+a2ti
+a2to
+a1
+a2d
+a2d
+a2ge
+a2gy
+a2le
+a2l
+a2li
+a2l
+a2l
+a2l
+a2n
+a2re
+a2r
+a2r
+a2r
+a2sz
+a2te
+a2t
+a2ti
+a2ve
+a2v
+a2zem.
+a2zemb
+a2zemen
+a2zemet
+a2zem
+a2zemh
+a2zemm
+a2zemn
+a2zemr
+a2zen
+a2z
+a1
+a2ri
+a2r
+a2ze
+a2z
+a2zi
+a2z
+a2z
+2avad
+2avak
+av1akti
+a2v1anh
+1a2vant
+a2v1a2nya
+a2vanz
+ava2rac
+ava2r1ag
+ava2r1e2
+ava2rk
+ava2sze
+ava2sz
+1a2vat
+1a2vat
+2avd
+av2nan
+2avr
+av2r1al
+av2ria.
+av2riai
+a2v12ri
+a2v1ta
+a2v1tt
+av2zal
+av1bl
+av1e2le
+av1elv
+2aves
+av1est
+2avet
+2avez
+avi2cse
+av1ing
+av1kr
+a2v1old
+av1olt
+avo1s
+a2v1ox
+a2v1m
+a2v1s
+av1s
+av1z
+av1pr
+av1sp
+av1st
+a2v1ut
+av12l
+av1r
+av12z
+a2wag
+aw2hi
+awhisky2
+awhiskyk2
+a2x1ab
+a2x1ad
+a2x1ak
+a2x1al
+a2x1an
+a2x1av
+ax1bl
+ax1eg
+ax1el
+ax1inf
+ax1ing
+ax1int
+axi2r
+axi2se
+ax1r
+ax1s
+ax1z
+ax1pr
+a2x1ut
+ax1j
+ax1z
+ax1r
+a1ye.
+a1yed
+a1yei
+a1yek
+ay1e2l
+a1yen
+a1yes
+ayet2
+ay1fl
+a1yi.
+ay1il
+ay1ing
+a1yit
+ayma2
+aza2ch
+aza2cik
+azai2ko
+azal2t1a
+aza1p2
+aza1s2
+az1ll
+az1lt
+az2n
+az2r12ra
+az2s1e
+azsi2k
+az2siko
+azs3s
+az2du
+a2z1e2g
+az1e2le
+az1elj
+az1elm
+az1el
+a2z1em
+a2z1ex
+a2z1g
+az2k1e2
+az2kol
+a2z1rt
+a2z1ing
+a2z1i2o
+az1ir
+az1irt
+azma1g
+a2z1ob
+2azol
+azo2nal
+azo2n1
+azont2
+a2z1op
+a2z1or
+a2z1osz
+azt2
+az1tr
+a1z2r
+az4s
+a2z3sike
+az3sor
+az3sp
+a2z3s
+az3sz
+az1ut
+a2z1j
+az2r1
+az1z
+2.
+1a
+a2da
+a2d
+ads1s
+a2do
+a2d
+a2du
+a2j
+a2ka
+a2la
+a2lu
+a2ra
+a2sz
+a2ut
+a2va
+1
+2cs
+2ga
+2gy
+2ju
+2mu
+2ra
+2ru
+2s
+2s
+2so
+2s
+2su
+2zo
+2zu
+2b1adu
+b1akc
+2b1a2la
+2b1alk
+2b1ambu
+2b1a2ny
+ba1p
+b1art
+ba3se
+2b12g
+b1ll
+b1lm
+2b1p
+2b1r
+2b1rn
+2b12ru
+2b1tj
+2b1tl
+2b1tm
+2b1tv
+2b1z
+b2b1a2d
+bba2l
+b2b1ala
+b2b1and
+b2b1r
+b2ben
+b2b1e2r
+b2b12l
+b2bid
+b2bim
+b2b1i2s
+b2b1ita
+bb1o2so
+bb1oss
+b2br
+b2b1l
+b2b
+b1dr
+2b1ed
+2b1e2g
+be2l1a
+be2l1
+be2l1eg
+be2l1el
+be2l1e2r
+be2lg
+be2l1in
+2beln
+2b1e2m
+2b1e2n
+b1e2ro
+b1er
+12bc
+2b12g
+b12ke
+2b1ks
+2b12les
+2b1lt
+2b1p
+2b1r.
+2b12ri
+2b1rs
+2b1rte
+2b1rt
+b1fr
+2b1i2d
+bi2g
+b1iga
+b1ig
+2b1ikr
+b1illa
+2b1im
+bi2nai
+2binas
+2b1ind
+2b1ing
+2b1int
+2b1is
+b1izm
+b1izz
+2b1v
+b1kl
+b1kr
+bla1kr
+bla1p
+2b1olda
+2b1op
+bo2raj
+bo2ran
+bo2rl
+bo2ris
+2b1osz
+2b1o2v
+b1b
+b12d
+b1l
+b1n
+b12r
+b1s
+b1v
+b1r
+b1pr
+1bri
+b2rek
+b1sp
+b1st
+b1sz2
+b1tr
+2b1ujjal
+bu1sz2
+b1r.
+b1g
+b12l
+b1s
+b1t
+b1v
+2c1a2g
+c1ajt
+ca1k2l
+c1akn
+2c1a2la
+c1alm
+2c1a2ny
+2c1g
+2c1l
+c3cse
+c3cso
+c1e2l1
+cele2
+c1en
+c1er
+2c1p
+2c1re
+2c3ha
+2c3h
+c3he
+2c3h
+c3hon
+2c3hu
+ci2as
+2c1il
+c1inc
+c1ing
+cin2til
+ci2s
+2c1i2s
+c1v
+2c1or
+2c1osz
+c1r
+c12l
+cs1abl
+2cs1a2g
+2cs1ajt
+2csaka
+2cs1akn
+cs1alap
+cs1alj
+cs1alom
+cs1app
+cs1atk
+2csatom
+2cs12c
+2cs1l
+c3srg
+2cs1rk
+2cs1rn
+2csru
+2cs12ta
+csboz1
+2csef
+2cs1e2g
+2cs1e2l
+2csene
+2csent
+2cser
+cse2t
+2cs1ev
+cs12g
+cs2k
+cs1ki
+cs1kk
+cs1kn
+2csl
+2csp
+cs12te
+csi2g
+2cs1iga
+2cs1ille
+2csimi
+cs1int
+csi2p
+2cs1ipa
+cs1isk
+cs2
+cs1r
+2csokta
+12csolat
+12csomk
+cs1orr
+2csosz
+2cs1ov
+c3s.
+cs12r
+c3st
+c3sv
+cs12k
+2cs12l
+2cs1s
+2cst
+cs12s
+cs1s
+2csuj
+2csut
+2cs1r
+cs12l
+2cs12t
+1csy
+cs3zen
+2c1ut
+c1r
+c1l
+c1r
+d1abl
+2d1a2do
+2d1akc
+d1a2lap
+2d1alb
+2d1alj
+2d1alk
+d1a2nya
+d1a2ny
+da1p
+2d1a2p
+d1arc
+2d1aty
+2d1g
+2d1l
+d12sz
+d1tl
+d1dr
+d3dz
+d1e2c
+2d1e2g
+2d1ej
+2d1e2l
+dele2
+del1ej
+del1eme
+2d1e2m
+2d1ep
+de2r1
+d1er
+d1e2ti
+dd2
+d1dr
+d1g2
+2d12ge
+d1kr
+d1ne
+2d1rte
+2d1rz
+d1st
+di2cse
+2d1i2d
+2d1i2ga
+d1i2ko
+d1ill
+d1imi
+d1ind
+2d1int
+di2dar
+di2r
+di2ra
+di2i2v
+di2ko
+di21k2ra
+2d1i2p
+d1ist
+d1v
+d1kl
+d1kr
+do2ga
+do2g
+do2ge
+do2rak
+2d1osz
+ds2
+d2b
+2d1s
+d1v
+d12z
+d12r
+d1pr
+d1ps
+1d2rt
+d1st
+d1tr
+d1udv
+2d12s
+2d1g
+d12l
+2d1z
+d3za
+2d3z
+2d3ze
+d3z
+1e
+e2cs
+e2dz
+e2ge
+e2g
+e2gy
+e2le
+e2l
+e2me
+e2re
+e2r
+e2se
+e2s
+e2si
+e2s
+e2s
+e2te
+e2ve
+e2v
+e2v
+1
+2de
+2ge
+2g
+2g
+2he
+2ke
+2le
+2ne
+2p
+2p
+2re
+2r
+2ri
+2r
+2r
+2te
+2f1a2gya
+2f1alg
+2fb
+2f1g
+12fk
+2f1p
+12fs
+2ft
+f1dr
+f1elm
+2f1e2m
+2f1e2t
+f12ne
+fi2ad
+fi2am
+2f1i2d
+2f1im
+2f1ing.
+2f1ord
+2f1osz
+f2rec
+1f2r
+fus3s
+2f1n
+2g1abl
+g1abr
+ga2c
+g1ac
+1gacska
+2gad
+g1a2d
+1gadd
+g1a2d
+2g1a2j
+2gaka
+g1a2kar
+g1a2kas
+12gakb
+12gakh
+12gaki
+12gakk
+12gakn
+12gakr
+2gakt
+2g1a2la
+2g1alj
+2g1all
+g1alt
+12gam
+ga2n
+g1ana
+2g1ang
+12gank
+g1ant
+2g1any
+2g1a2p
+2g1a2r
+g1asp
+2g1asz
+ga2tol
+2g1au
+12gaza
+ga2zon
+2g12g
+2g1ld
+g1lm
+g12mu
+g2nyal
+2g1p
+2g1rad
+2g1rb
+2g12r
+2g1rh
+2g12ria
+g2rokb
+2g1rv
+2g1s
+gs3s
+g2sz
+2g1t1a2
+2g1t
+2g1t
+2g1tf
+2g1th
+2g1ti
+2g1tl
+2g1tm
+2g1tn
+g2tokk
+2g1tr
+2g1ts
+2g1tt
+g1t
+2g1tv
+g1bl
+g1br
+g1d2r
+2g1e2c
+2g1e2d
+g1ef
+2g1e2g
+2g1e2l
+2g1e2m
+2ge2n
+g1enc
+g1ene
+2g1e2p
+ge2ra
+ge2r
+ge2r1el
+2g1e2s
+2g1e2t
+2g1e2v
+2g1ex
+2g12g
+2g12he
+2g1j
+2g12k
+2g12l
+2g12ne
+2g1p
+g12p
+2g1r.
+2g1r
+2g12r
+2g1ri
+g1rm
+2g12r
+g1rte
+g1rt
+2g1rv
+2g1s
+2g1te
+2g1ve
+2g1v
+g1fl
+g1fr
+g1g2l
+g1gr
+g3gyar
+g3gye
+g3gy
+gh2nyi
+gi2al
+gi2asz
+gi2d
+2g1ide
+2g1if
+gi2g
+2g1iga
+2g1ign
+2gill
+g1ima
+2g1i2mi
+2g1i2na.
+g1inf
+2g1ing
+g1ins
+2g1int
+2g1iri
+g1iro
+2g1ist
+2g1isz
+2g1i2ta
+2g1iz
+2g1g
+2g1n
+2g1r
+2gt
+2g1z
+gk2rok
+g1kl
+g1kr
+g1kv
+2g1o
+2g1okl
+2g1o2li
+g1olt
+2g1op
+2g1or
+2g1osko
+gos3s
+2g1oszl
+g1dr
+2g12r
+2g12k
+2g12l
+g1nt
+g2r
+g1r
+g1rv
+2g1s
+2g1t
+2g1v
+2g12z
+g12r
+g12s
+g1pl
+gport2
+gpor1tr
+g1pr
+g1ps
+g1sh
+g1sk
+g1sl
+g1sp
+g1st
+gsz2
+g1tr
+2g1ud
+2g1uj
+gu2n
+2g1una
+2g1und
+2g1u2ra
+2g1u2r
+2g1u2t
+2g1j
+2g1s
+g1tt
+g1d
+g12g
+g12l
+g1n
+g1v
+g1z
+g12r
+g1z
+gya1g
+gy1alj
+gy1alk
+gy1alm
+12gyasn
+2gyassa
+2gy12l
+2gy12ram
+gys1s
+2gy1e2
+2gyl
+gy1r.
+1gygy
+2gyid
+2gyil
+2gyivad
+2gyob
+2gyosz
+gy1otth
+2gy12s
+gy12l
+gy1s
+2gyur
+2gyh
+2gyt
+2gy12
+h1ajk
+h1ass
+12ht
+2h1ors
+1i
+i2dom
+i2d
+i2ga
+i2g
+i2gy
+i2ha
+i2je
+i2m
+i2ram
+i2r
+i2sz
+i2ta
+i2v
+i2vo
+i2z
+1
+2g
+2r
+2ve
+2vo
+2j1ad
+2j1akc
+2j1akv
+2j1a2la
+j1ambu
+2j1ana
+j1ant
+2j1any
+2j1ar
+2j1atl
+2j1ax
+j1azo
+2j1g
+2j1l
+2j1p
+js3s
+2j1t1a
+2j1t
+2j1tt
+j1bl
+j1br
+j2ch
+2j1e2c
+j1eg
+j1elm
+j1eln
+j1el
+j1elv
+2j1em
+2j1e2n
+2j1es
+j1e2t
+2j1e2v
+j1ex
+2j12g
+2j1l
+2j1p
+j2r
+2j1re
+2j1te
+j1fl
+j1fr
+2j1i2d
+2j1il
+2j1im
+2j1iz
+j1j
+j1r
+j1v
+j1z
+jk1ell
+j2k12
+j2k
+j2lad
+jl1akt
+j2l1an
+j2l1as
+j2l1at
+j2lik
+j2lob
+j2nr
+j2nin
+j2n
+2j1ob
+2j1op
+2j1or
+2j1b
+j1k
+j1l
+2j1r
+j1r
+j1s
+j1pl
+j1pr
+j1sn
+j1sp
+j1st2
+j1t2r
+2j1ud
+j1sz
+j1g
+j1l
+j1r
+j12t
+j1v
+j1z
+j1r
+j2zab
+j2zaj
+j2z3sa
+k1abr
+2k1a2d
+2k1aj
+k1aka
+2k1a2lap
+k1ale
+k1alj
+k1ant
+k1ara
+2k1a2r
+k1arm
+k1arz
+2k1ass
+2k1atl
+2k1a2u
+2k12c
+2k12l
+k1ta
+k1tk
+k1bl
+k1eb
+2k1e2g
+k1e2le
+2k1elk
+2kellene
+2k1elm
+2k1e2l
+k1emb
+k1e2r
+2k1e2v
+2k1e2vo
+2k12l
+2k12ne
+2k1rm
+2k1rte
+2k1rt
+2k1rv
+2k1rz
+k1ss
+2k12te
+2k1tk
+2k1tt
+2k12ve
+k1fl
+k1fr
+2k1i2d
+2k1if
+ki2g
+k1iga
+2k1ig
+k1ill
+2k1i2m
+k1ing
+2k1int
+k1iro
+2k1i2s
+ki2t
+k1ita
+2k1i2v
+k1r
+k1k2l
+k1k2r
+k2lar
+2k1oks
+2k1o2la
+2k1old
+2k1o2li
+2k1oll
+2k1o2pe
+2k1orv
+kos3s
+2k1ott
+k1ni
+k2l
+2k1l
+k12r
+k12r
+k1pr
+k2rk
+1k2re
+1k2ris
+k1sp
+k1sr
+k1st
+k1sz2
+k1t2r
+2k1uj
+2kuni
+ku2r
+k1ura
+k1ut
+k1j
+k2t
+2k1to
+k1d
+2k1g
+k2l
+k1n
+k1r
+k12t
+k1r
+1k2vat
+2la.
+l1abl
+l1ac
+2l1adag
+2l1a2d
+l1a2j
+l1ajt
+la2kar
+2l1akna.
+2lal
+l1alak
+2l1alt
+l1alg
+2l1alk
+2l1alm
+2l1ane
+2l1ang
+2l1ant
+2l1a2nya
+l1a2nyi
+l1a2nyn
+2l1a2nyt
+l1a2nyv
+2l1a2pos
+l1ap
+l1a2ra
+la2szek
+la2szel
+la2sz1k
+la2sz
+la2sz
+la2tat
+la2tet
+la2t1r.
+la2tikr
+la2tint
+l1atl
+la2told
+la2t12
+2l1atti
+2l1a2ty
+l1aut
+2l1br
+l1g.
+l12gi
+2l12g
+l1ll
+2l12rak
+l1rf
+l1rk
+2l1rn
+2l12ro
+l2s3z
+2l1tc
+2l1tk
+2l1tm
+2l1t
+2l1tv
+l1bl
+l1br
+lcai2
+1lds
+1ldoz
+l1d2r
+l1dy
+2l1e2c
+2l1e2d
+2l1ef
+l1elk
+l1elm
+l1elo
+l1e2l
+l1elr
+l1emu
+2l1e2r
+l1esem
+2l1e2s
+2l1esz
+2l1e2t
+l1ez
+2l1g
+2l12he
+l2kal
+l2k1an
+l2k1e2l
+l2k
+l12le
+l12l
+2l12ne
+2l1r.
+2l1rb
+2l1rd
+2l1rf
+2l1rg
+2l1rh
+2l12ri
+2l1rm
+2l1rr
+2l1rs
+2l1rt
+2l1rte
+2l1rt
+2l1rz
+2l1v.
+2l12v
+l1fl
+l1fr
+l1gr
+1lhaja
+li2as
+l1i2bo
+li2d
+l1ide
+l1id
+li2g
+2l1iga
+2l1ige
+2l1ig
+l1ill
+l1imp
+2l1ind
+l1inf
+2l1i2onb
+2l1i2ont
+2l1i2p
+l1ir
+2l1iro
+li2s1e
+li2s1k
+li2sis
+lis3s
+l1iste
+2l1iz
+l1n
+l12r
+l1t
+l12v
+lk2rok
+l1k2l
+l1k2r
+l2l1a2d
+1llag
+l2laj
+l2l1a2lak
+1llam
+lla2m1e
+1llamot
+l2l1a2p
+l2l1a2r
+1llata
+lla2tas
+lla2t1e2
+lla2t1or
+lla2t12
+1llatu
+l2l12g
+l2l12l
+l2l1rr
+lls1s
+l2l1th
+l2l1tm
+l2led
+l2l1e2h
+l2l1ej
+ll1k
+l2l1iz
+1llom
+l2l
+1lmaim
+1lmok.
+1lmom
+1lmot.
+1lmuk
+1lmunkb
+l1obj
+2l1o2ka.
+2l1o2kai
+1lokaih
+1lokain
+1lokair
+2l1o2k
+1lokn
+1lokt
+1loku
+lo2kok
+1lokonk
+lo2kos
+2l1okta
+12l1o2ku
+2l1ol
+loma2
+lo2mad
+lo2m1al
+lo2m1an
+lo2mar
+lo2mas
+lo2m1
+lo2m1e
+lo2m1it
+lo2mot
+2loms
+lo2m1
+2l1ont
+l1opc
+2l1ope
+2l1or
+2l1osz
+2l1ox
+la2
+l2
+l2
+l2rj
+l2s12
+lt2
+l1b
+2l1d
+2l12l
+2l1s
+l1z
+2l1r
+l1p2l
+l1p2r
+l1p2s
+l1sk
+l1sl
+l1st
+l1trad
+l1t2rak
+l1t2ran
+l1t2re
+l1tr
+2l1ug
+lu2n
+2l1una
+2l1u2r
+2l1u2t
+2l1uz
+2l1j
+2l1r
+l2t
+l1tj
+l1tk
+l1tn
+2l1to
+2l1tr
+2l1tt
+l1g
+l1n
+l1r
+l1t
+l1v
+l1z
+l1r
+l1z
+ly1ada
+lya1g2
+ly1ant
+ly1anya
+lya1p
+ly1ass
+2lyl
+2ly1e2
+2lyj
+2lyl
+2ly12ne
+2lyre
+2lyve
+2lyide
+2ly
+ly1k2
+ly1odv
+2lyol
+2ly12
+2ly1
+2ly
+ly1s
+2lyug
+2ly12
+2ly12
+2m1abl
+2m1abr
+m1a2c
+m1adm
+m1agg
+2m1ajt
+2m1akt
+m1a2lap
+m1all
+m1alt
+ma2
+2m1app
+2m1arc
+ma2sz1l
+ma2szel
+ma2szv
+ma2sz1odv
+ma2sz12
+m1atl
+2m1att
+2m1aty
+m1aud
+m1a2zo
+m2c
+m1f
+2m1g
+m1lla
+m1llo
+mn1n
+mn1tr
+2m12rak
+m12ram
+2m1ras
+2m12r
+2m1rb
+2m12ri
+2m1rn
+2m12ro
+2m1rr
+2m12ru
+m1sv
+2m1tb
+m12t1e
+2m1ti
+2m1tm
+m12z
+m1bl
+m1dr
+2m1e2b
+2m1ej
+2m1ela
+m1el
+m1e2lem
+m1el
+2m1elh
+m1el
+2m1elj
+m1elk
+2m1elm
+m1elo
+2m1e2l
+m1els
+m1elt
+m1el
+m1elv
+2m1e2m
+2m1erd
+m1e2rek
+2m1erk
+2m1e2ro
+me2rk
+me2rt
+me2rv
+m1e2se
+m1ess
+m1esz
+me2t
+2m1eti
+2m1et
+2m1ev
+2m1ex
+2m1ez
+m1ke
+2m12le
+2m1p
+2m1rc
+2m1rd
+2m1rtel
+2m1tk
+m1fr
+m1gr
+mi2ab
+mi2al
+mi2am
+2mide
+2m1id
+m1i2d
+2m1iga
+2m1ig
+2m1ig
+2m1ill
+2mim
+2mimm
+2m1imp
+2m1ind
+2m1inf
+2m1ing
+2m1inte
+2m1int
+2m1inv
+2m1i2pa
+2m1ir
+2m1iro
+2m1irt
+2m1isk
+2m1ism
+m1i2sz
+2m1i2z
+m1g
+2m1j
+2m1r
+2m12v
+m1z
+m1kl
+m1kr
+m1kv
+mla3t2
+2m1ob
+2m1of
+2m1ok
+2m1okl
+2m1okm
+2m1okta
+mo2lyas
+2m1op
+mo2r12l
+mo2ris
+mo2r1odv
+mo2sas
+mos3s
+m1osto
+2m1osz
+2m1ov
+2m1ox
+m12r
+m12k
+m1l
+m1n
+m1r
+m1s
+m1t
+m1v
+m12z
+m12r
+m12s
+m1z
+mpa1p2
+m1p2l
+m1p2r
+m1p2s
+m1sk
+m1sm
+m1sn
+m1sp
+m1st
+m1sz2
+m1t2r
+2m1ud
+2m1ug
+2m1uj
+2m1und
+2muni
+2m1u2r
+2m1ut
+2m1j
+m1d
+m1g
+m12l
+m1r
+m1t
+m1v
+m1z
+3mt
+m12z
+mva2s1u2
+2n1abl
+2n1a2c
+n1ach
+n1ada
+nae2
+n1afr
+n1agya
+n1ajt
+2n1ak
+2n1akc
+2n1akr
+2n1a2la
+n1alk
+2n1all
+2n1an
+n1anya
+2n1a2o
+na2p
+n1apa
+nap1i
+n1ara
+2n1arc
+n1assz
+na2t1r.
+na2tol
+na2tor
+na2t1
+2n1a2u
+n1ava
+n1br
+2n1g
+2n1ll
+n1r.
+n1rad
+n12ri
+n1rm
+n1rn
+n1ro
+n1ru
+n1sv
+n2t1a
+n2t1
+2n12z
+n1bl
+n1br
+n2cac
+n2c1ad
+n2caj
+n2cal
+n2c1a2n
+n2car
+n2c1as
+n2cat
+n2c1au
+n2c1l
+n2c12ro
+n2cs
+n2c1ed
+n2c1e2g
+nce2l
+nc1ele
+n2c1elt
+n2c1er
+n2c1e2s
+n2c1et
+n2cez
+nc1he
+nc12ne
+n2c1r.
+n2c3h
+n2c1ill
+n2cim
+n2c1ir
+n2c1i2s
+n2c12
+n2c12
+n2c
+ncs1an
+nc3ss
+n2c3seb
+ncs1es
+nc3spo
+nc3sza
+n2c
+n2cz
+ne2d
+n1ed
+2n1ef
+2n1e2g
+2n1e2l
+n1emb
+n1e2mi
+n1eml
+n1e2mu
+2n1en
+2n1e2p
+n1es
+2n1e2t
+n1e2u
+2n1ex
+n1ez
+2n12d
+2n12g
+2n1k.
+2n1kn
+n1ks
+2n12l
+2n12ne
+n1p
+n1p
+2n1r.
+2n1rc
+2nrd
+2n1r
+2n1rl
+n1te
+2nvad
+2n1ve
+2n12v
+n1f2r
+n2gab
+n2g1a2r
+n2g1ra
+ngs1s
+n2g1t
+n2ged
+n2g1el
+nge2s
+n2g1r.
+n2g12s
+ng3g
+n2g1it
+n2g1iv
+n2g
+n2g1osz
+n2gr
+n2g1us
+n2g
+1ngy.
+n2gyas
+2n1i2d
+2n1if
+2n1i2ga
+n1ig
+ni2k1a
+ni2k1
+ni2ke
+n1ill
+2n1im
+n1ind
+n1inn
+2n1i2p
+2nirr
+n1irt
+n1isk
+n1ism
+2n1i2sz
+ni2t
+ni2t1e2
+ni2t1
+ni2tol
+ni2t1or
+n1izo
+n1g
+n1v
+n1z
+n2kaj
+nk1aro
+n2kern
+n1k2li
+n1k2lo
+n1klu
+n1k2r
+n3nye
+n3ny
+n3nyo
+n3nyu
+2n1o2b
+2n1okir
+2n1okta
+2n1o2ku
+n1old
+n1oli
+3nom
+no2n1i2m
+2n1o2r
+n1oszl
+n1ott
+2n1ox
+n1ri
+n1k
+2n1l
+n1m
+2n1n
+2n1r
+2n1s
+2n1t
+n1v
+2n1r
+n12s
+2n12z
+n1pl
+n1pr
+n2ses
+n2s1r
+n2sis
+n2siz
+n1s2pe
+n1s2pi
+nst2
+n1str
+ns1ld
+n1szl
+nt1ac
+nt1a2ny
+n2taz
+n2t12g
+nt2p
+n2t1rb
+n2t1ri
+n2t1ed
+nt1ek
+nt1elh
+n2tez
+nt1ke
+n2trte
+n2tid
+n2t1ipa
+nt1ist
+n2t1iz
+n2t1v
+n2tk
+n2t1s
+n1t2rak
+n1tran
+n2t12l
+2n1ud
+2n1ug
+2n1uj
+2n1u2r
+2n1u2t
+n1r
+n2t
+n1tj
+2n1to
+n1tt
+n12g
+n12l
+n12t
+n12v
+n12z
+n1z
+ny1ads
+ny1a2d
+ny1agg
+ny1akc
+ny1alap
+ny1alk
+ny1all
+ny1anya
+ny1any
+ny1ap
+ny1ara
+ny1ar
+ny1art
+ny1assz
+ny1aszt
+2ny12l
+ny12ras
+2ny12r
+2ny1rb
+ny1rc
+2ny1rf
+ny1rh
+ny1rk
+2ny1rn
+2ny12ro
+2ny1rr
+2ny1rs
+2ny1rt
+ny1ru
+ny1r
+2ny1tl
+2ny12z
+ny1ed
+2ny1e2g
+nyegyez1
+ny1el
+nye2le
+2ny1e2m
+ny1en
+2ny1ep
+ny1es
+ny1et
+ny1e2v
+2ny1d
+2ny1g
+2nyhe
+2ny12j
+2ny12k
+2ny1l
+2ny12ne
+ny1rc.
+ny1rre
+2ny1rte
+2ny1rt
+ny2r1
+ny1rv
+2ny1s
+2nyte
+2nytk
+2ny1tt
+2nyve
+nyf2l12v
+2ny1id
+2nyig
+2nyike
+2ny1ikr
+2nyirat
+2nyiro
+2nyisk
+2ny1isz
+2nyita
+ny12r
+2ny1oml
+2ny1ont
+2ny1o2r
+2nyosz
+ny1k
+ny12r
+2ny1s
+ny1z
+2ny12
+ny1tr
+2nyug
+2ny1ur
+ny1ut
+2nyto
+2ny12
+2ny12
+n2zl
+1o
+o2cs
+o2k
+o2ko
+o2mo
+o2pe
+o2so
+o2szan
+o2sz1e
+o2szis
+o2sziv
+o2sz
+1
+2ha
+2va
+1
+2le
+2m
+2re
+2r
+1
+2sz
+2p1a2dot
+pa1tr
+pa3u2
+2p1g
+p1ll
+p1ta
+p1dr
+p1eg
+p1e2l
+p1e2m
+pe2n
+2p1e2s
+p1e2t
+2p1g
+p12te
+pi2ac
+pi2av
+2p1im
+p1inj
+p1int
+pi2t
+2p1ita
+2p1n
+2poll
+po2r1e
+p1r
+p2ro
+p1t2r
+2p1ug
+2p1u2t
+2p1r
+p1g
+p1z
+2r1abl
+2r1abr
+2r1abs
+r1adag
+2radata
+2radat
+2radatb
+1radat
+2radatn
+2radato
+12radatr
+2radatt
+r1a2g
+2r1ajk
+2r1a2kad
+2r1a2kas
+2r1akc
+2r1akna.
+2raknt
+2r1akt.
+r1akti
+r1akt
+r1al
+2r1alj.
+2r1alja.
+2raljak
+2r1alj
+r1alk
+r1all
+2r1alm
+r1alt
+2r1alv
+12rama.
+1ramai
+12ram
+ra2ml
+ra2m1el
+ra2m1rt
+12rami
+ra2m1in
+12ramk
+12ramok
+12ramol
+12ramot
+12rams
+12ramu
+12ram
+r1ana
+r1ang
+r1a2no
+2r1ant
+r1a2p
+r1a2p
+r1aps
+2r1a2r
+2r1arc
+r1a2ri
+2r1asp
+ra2taj
+ra2tal
+ra2tav
+ra2tl
+ra2t1inf
+r1atl
+ra2t12
+r1aty
+2r1br
+r2c
+r2g
+r1ga
+r1gr
+r1gy
+r12lo
+2r12p
+r1r.
+2r12rak
+2r12r
+2r1rb
+2r1rf
+2r12ri
+2r1rk
+2r12ro
+2r1rr
+2r1rt
+r12ru
+r1r
+r1rv
+2r1ss
+r2sz
+2r12ta
+rt1a2d
+2r1t
+r1tb
+2r1tc
+2r1td
+r12t1e2
+2r1t
+2r1tf
+2r1th
+2r12ti
+2r1tj
+2r1tk
+2r1tm
+2r12t
+2r1tr
+2r1ts
+2r1tt
+2r1t
+2r1tv
+r1bl
+1rboc
+r1br
+r2d1l
+rd1ell
+rd1eme
+r2d12n
+r2d1r
+r1dr
+r2dud
+re2
+r1e2d
+2r1e2g
+r1ej
+2r1e2l
+reli3r
+re2ma
+re2ml
+re2n
+r1ene
+r1eng
+2r1e2r
+r1e2s
+r1e2s
+r1ev
+2r1ex
+r1br
+r1de
+2r12g
+r1j.
+r12je
+r1js
+2r12ke
+2r12k
+2r1ks
+2r12l
+2r12ne
+2r1p
+2r1r
+2r12ri
+r1ss
+r1sz
+2rtk
+2r1tr
+2r1tt
+2r1tv
+2r1v.
+r2vek
+2r1vk
+2r1vr
+r1fl
+r1f2r
+rgs1s
+r1gl
+r1g2r
+r2gyrv
+r2gyir
+r2gyol
+r2gy
+2r1i2de
+2r1i2d
+3r2i3dtl
+r1ifj
+ri2g
+2r1iga
+2r1ig
+2r1ige
+2r1ill
+2r1i2m
+r1imb
+2r1i2mi
+2rinas
+2r1inc
+2r1ind
+2r1inf
+2r1ing
+r1inn
+2r1int
+2r1inv
+2rio
+2r1i2paro
+ri2s1e
+r1isko
+r1iste
+r1i2sza
+2r1i2ta
+r1i2zo
+2r1r
+r1v
+2r12z
+rka1k2
+1rkdo
+r1k2l
+1rkok
+r1kr
+r1k2v
+rns3s
+rnya2n
+r2ny1any
+rnye2l
+r2ny1ele
+r2nyel
+r2nyem
+r2nyes
+r2nyok
+r2ny1ol
+r2nyos
+r2ny
+r2ny
+r1odv
+2ro2k
+ro2k1e
+2rokha
+2rokm
+ro2kol
+2r1o2koz
+2rokre
+12roks
+2rokta
+2r1olda
+roma2
+ro2maj
+ro2mak
+ro2m1al
+ro2m1as
+ro2mr
+ro2m1ok
+ro2m1os
+r1opt
+2r1o2r
+ro2sas
+ro2sl
+ros3s
+2r1ostr
+2r1osty
+r1otth
+2r1o2v
+r2r
+r12nt
+r12nv
+r1p2
+2r12rak
+r2rk
+2r1ri
+r1sk
+r1s2p
+r12b
+r1c
+r1k
+2r12l
+2r1n
+r1r
+2r1s
+r1v
+2r12z
+r12r
+r12s
+1rpa.
+r1pl
+r1p2r
+r1p2s
+r2s1ala
+rs1asz
+r2s1l
+r2sed
+r2s1e2l
+r2sem
+r2s1en
+r2ses
+r2s12g
+r2sip
+r2sir
+rs1okt
+r2s1ol
+r2sv
+r2s1n
+rs3s
+r1s2tab
+r2sut
+rsza2k
+r2s3zene
+r2tado
+r2t1aj
+1rtalo
+rta2n12s
+rt1ar
+rt1a2ris
+rta3u2
+rt1ll
+r2t1rn
+r2t12ru
+r2t1e2g
+rt1elh
+rt1eli
+rt1ell
+rt1eln
+r2t1el
+rt1emb
+r2t1erk
+rte2s
+rt1ese
+rt1esth
+rt1eti
+rt1le
+r2t1rd
+r2t1rte
+r2tid
+r2tif
+r2t1ins
+r2t1int
+rt1izg
+r2tt
+r2t1okta
+r2top
+rt1otth
+r2t1n
+r2t1s
+r2t1ura
+rt1u2sz
+r2t1ut
+12ru.
+12rua
+ru2
+12ru1b2
+12ruc
+2rud
+1ruda
+1rud
+12rue
+12ru
+12ruf
+1rugy
+12rui
+2ruj
+1ruj
+12rum
+12run.
+12runa
+12run
+2r1und
+2runi
+12ruo
+12ru1p2
+2rur
+1rura.
+r1ur
+12rus
+rus3s
+2rut
+1rut.
+ru2tal
+ru2tas
+1rute
+ru1tr
+ru2tun
+12ru
+12ruv
+r1u2z
+12r
+12rk
+r1r
+r1rf
+r1sz
+2r1ta
+2r1tb
+2r1t
+2r1th
+2r12ti
+2r1tj
+r1tl
+2r1tn
+2r12to
+2r1tr
+r1ts
+2r1tt
+r12g
+r12l
+r1n
+r1r
+r12s
+r1t
+r12v
+r1z
+r1r
+r12z
+1rvc
+sa2b
+2s1abl
+s1abo
+s1a2dat
+2s1a2d
+s1a2do
+2s1a2d
+2s1a2j
+s1ajt
+2s1a2kar
+2s1akc
+2s1akv
+s1a2la
+s1alg
+s1a2li
+s1alj
+s1alk
+s1all
+s1alm
+2s1alt
+2s1amb
+sa2n
+2s1ana
+2s1an
+2s1ant
+2s1any
+s1a2p
+s1app
+s1apu
+s1a2ra
+s1a2rn
+2s1arc
+2s1ar
+2s1a2ri
+s1art
+s1arz
+s1asp
+2sass
+12sat
+2s1atl
+2sato
+s1aty
+2s1a2u
+2s1azo
+2sb
+2s1br
+s2gai
+2s1gb
+2s12gig
+2s1gk
+s1gn
+2s12g
+2s1l
+2s12p
+s1ras
+s2rt
+sr2
+s2rn
+12ssb
+12ssi
+1ssk
+s1sv
+s12ta
+2s1t
+s1t
+s1th
+s1ti
+s1tj
+s1tk
+2s1tl
+2s1tr
+s1ts
+s1tt
+s1tv
+2s12z
+s1bl
+s1br
+scsa2p12
+s1d2r
+s1e2b
+2s1e2d
+2s1ef
+s1e2gy
+2s1e2l
+2s1e2m
+2s1e2n
+s1epi
+s1erk
+s1er
+2s1e2s
+2s1e2t
+s1e2v
+s1ex
+s1ez
+2s12g
+2s1he
+2s1j
+2s12k
+2s12l
+2s12ne
+2s1p
+2s1r.
+2s1rd
+2s12re
+2s12r
+2s12ri
+2s1rl
+2s1rs
+2s1rte
+2s1rt
+2s1rt
+2s1rv
+2s12s
+2s12te
+s1tk
+s1tt
+2s12ve
+s1fl
+s1fr
+s1gl
+s1gr
+2s1i2d
+2s1if
+si2g
+s1iga
+s1ige
+si2k1e
+2s1ill
+2s1im
+s1imp
+s1ind
+s1inf
+2s1ing
+2s1ini
+2s1int
+s1inv
+2s1i2p
+2s1i2rat
+2s1i2r
+s1iro
+s1irt
+2s1isk
+2s1ism
+s1ist
+s1i2sz
+s1ita
+2s1iz
+s1g
+2s1j
+s1ns
+s2r
+s1r
+s1r
+2s12v
+2s12z
+s1kl
+s1k2r
+s1kv
+1snu
+2s1ob
+soda2
+so2d1al
+so2d1an
+so2d1as
+so2dau
+so2d1l
+s1okl
+s1okm
+s1okta
+s1old
+s1oli
+2s1ont
+2s1op
+s1o2r
+2s1org
+2sori
+2s1ork
+s1orr
+2s1ors
+2s1orv
+s1osz
+2s1o2v
+12sb
+12s
+12sg
+12si
+12sj
+12sk
+12sn
+s1p2
+2sr
+s12r
+s1ri
+1sr
+2ss
+s12s
+12st
+2sv
+2s12k
+s12l
+s1n
+2s12r
+2s1s
+s12v
+2s12z
+s12r
+s12s
+1spic
+s1p2l
+1s2pr
+sp2r
+s1ps
+s1s2k
+s1s2p
+s1sr
+s1s2t
+ssz2
+s3szab
+s3szag
+s3szaka
+s3szak
+s3szj
+s3szm
+s3szz
+s3sze
+s3szl
+s3szf
+s3szi
+s3sz
+s3szk
+s3szoc
+s3szok
+s3szol
+s3szor
+s3sz
+s3sz
+s3szt
+s3sz
+s3sz
+s2teg
+st1elem
+s2tir
+s2t1s
+s1t2re
+s1tri
+s1trf
+2s1ud
+2s1uj
+2s1u2r
+2s1u2s
+su2t
+s1uta
+2s1ut
+s1ut
+2s1u2z
+s1r.
+s1rn
+s12sz
+s1ti
+s1to
+s1d
+2s1g
+s1ld
+s1le
+2s1n
+2s1r
+s12ve
+2s1z
+s1r
+s12z
+2s3zac
+2sz1a2d
+sz1aga
+sz1ag
+2sz1agy
+2szaj
+2sz1akc
+sz1a2kol
+2sz1akt
+sz1ale
+2sz1alk
+sza2n
+2szana
+2sz1ant
+2sz1any
+2sz1ap
+sza2s
+sz1asz
+sza2t1e
+2sz1au
+s3zavar
+sz1gg
+sz1gy
+sz12lo
+s3zp
+sz2r1as
+sz12rih
+2sz12r
+szs1s
+2szta
+2sz1z
+sz1e2b
+szeb2
+szeb1de
+sz1e2g
+sz1e2gy
+sz1eln
+sz1elv
+sz1emb
+s3zene
+s3zen
+sz1eng
+sz1e2p
+2sz1erd
+2sz1e2r
+2sz1e2s
+sz1e2t
+sz1e2v
+sz1ex
+2sz1j
+2sz1kb
+2sz12l
+2sz12ne
+2sz1p
+sz1r
+2sz1te
+2sz1tt
+2sz1ve
+2szid
+2szif
+2sz1ill
+2szind
+sz1ing
+szi2p
+2sz1ipa
+2sziro
+2sz1isk
+2sz1ism
+sz1ist
+sz1ita
+2sziz
+2szr
+sz1k2
+1szki
+2szokl
+2sz1okm
+sz1ors
+2sz1osz
+sz1s2p
+2sz12b
+sz2l
+sz1lt
+2sz12r
+2sz1s
+sz1v
+sz1r
+sz12s
+sz3sa
+s3zsu
+szt2
+sz1tr
+2szuni
+2szur
+2szut
+sz12s
+2sz12g
+2sz1n
+2sz12z
+sz1z
+t1abr
+t1a2j
+t1ajk
+t1ajt
+ta1kr
+2t1akt.
+2t1akto
+t1alh
+2t1alja
+2t1alm
+t1als
+t1a2lu
+t1alv
+2t1a2ra
+2t1ar
+2t1arc
+t1arz
+ta2s
+t1aut
+t1azo
+t2c
+t1g.
+t1l
+t2p
+t1po
+2t12rad
+2t12rai
+t1ram
+2t12r
+2t1rb
+2t1rn
+2t12ro
+2t1rt
+2t12ru
+12t1ss
+t2s3z
+2t1tf
+2t1tu
+t1tv
+t1bl
+t1br
+1tbu
+t1dr
+t1e2c
+t1ej
+t1ell
+t1eln
+t1elv
+2t1emb
+t1eml
+t1eng
+te2r
+teri2
+te2rik
+t1er
+t1ex
+t12d
+te2
+t2g
+t1ge
+t1g
+t2kaj
+t2k1a2l
+t2kas
+t2ke
+tk1em
+tk1es
+t2kol
+t2k1
+t12l
+t2p
+2t1rb
+2t12ri
+2t1rr
+2t1rz
+t2t12
+1tfs
+t1fr
+t1gr
+t2hi.
+t2hia
+1thid
+ti2ag
+ti2al
+ti2d
+ti2g
+2t1ig
+t1ill
+2t1ing
+t1i2pa
+2t1ir
+t1isk
+t1ist
+2t1i2ta
+2t1iz
+2t1izm
+2t1i2zo
+t1g
+2t12r
+t12v
+1tkel
+t1kl
+t1k2r
+tle2g1
+tlege2
+tmt2r
+t1oj
+to2kol
+t1okol.
+t1o2koz
+t1okta
+2tolj
+2tolt
+t1oml
+t1ont
+t1op
+to2ran
+to2ras
+to2rc
+to2rl
+to2re
+to2ris
+to2r1ol
+t1orz
+2t1o2x
+ti2ko
+t1p2
+t1ri
+t1b
+t2l
+t1l
+t1ml
+t1n
+t1t
+2t12v
+t12z
+t12r
+t1pl
+t1pr
+t1ps
+t2ril
+t1sk
+t1sl
+t1sm
+t1sp
+t1sr
+t1st
+1tsz
+1tteki
+t3t2
+t1t2r
+2t1udv
+2t1ug
+2t1uh
+2t1uj
+tu2min
+tu2n
+2t1u2r
+tu2sze
+2t1u2t
+t1j
+2t1r.
+2t1rb
+2t1rh
+t1ri
+2t1rn
+2t12ro
+2t1rr
+2t12s
+2t1g
+t1l
+2t1t
+2t12v
+t1r
+1tvr
+1tvev
+1u
+u2ga
+u2go
+u2n
+u2no
+u2n
+u2nu
+u2sz
+u2ta
+u2t
+1
+2sz
+1
+2ge
+2gy
+2le
+2l
+2l
+2l
+2l
+2r
+2t
+2ti
+2t
+2t
+2t
+2v
+1
+v1adm
+2v1ajk
+v1akt
+v1alk
+v1alt
+v1asp
+va1st
+va1sz2
+va1t2
+2v1au
+v1azo
+v1ls
+v1te
+v1tf
+2v1th
+2v1tj
+2v1tk
+2v1tu
+vegsz1
+2v1e2l
+vel1
+v12de
+v1dr
+2v12ri
+2v1rte
+2v1rt
+v1fr
+2v1iga
+2v1ig
+v1ind
+2v1inf
+2v1ing
+2v1int
+2v1i2r
+2v1iro
+2v1i2si
+v1isk
+v1ism
+v1izm
+v1izo
+v1r
+2v1ob
+2v1olv
+2v1op
+2v1osz
+v1r
+v1r
+v1s
+v1v
+v1r
+v1pr
+v1sk
+v1sp
+v1st
+v1tr
+2v1ug
+2v1ur
+2v12sz
+v2t
+2v1ti
+2v1to
+v1g
+v12z
+2z1abl
+z1abs
+za2dal
+za2d1e2
+za2dott
+za2d
+z1ajt
+z1akc
+2z1a2k
+2z1akt.
+2z1akta
+z1akt
+2z1aktu
+z1a2lap
+2z1a2le
+2z1alk
+za2n
+2z1ana
+2z1ano
+2z1any
+2z1a2p
+z1a2r
+z1arc
+z1arm
+2z1assz
+2z1aszt
+za2t1a2l
+za2tan
+zate2
+za2t1el
+za2t1r.
+za2t1rv
+za2ts
+za2tik
+za2t
+z1aty
+2z1a2u
+2z12g
+2z12l
+2z12rai
+2z12rak
+2z12ram
+2z12ras
+2z12rat
+z2rr
+z2rt
+2z1rb
+2z1rc
+2z1rd
+2z12r
+z1rf
+2z12ri
+2z1rjb
+2z1rjv
+2z1rka
+2z12rokk
+2z12rokr
+2z1rp
+2z1rr
+z12runkn
+z12runkr
+z3rus.
+zs3s
+2z12ta
+2z12t1
+z1tb
+2z12t1e2
+2z1t
+z1th
+2z1tr
+z1ts
+2z1t
+2z1z
+z1bl
+z1d2r
+z1ef
+z1e2g
+z1e2m
+z1ep
+z1e2r
+z1e2s
+z1e2t
+z1ex
+z1e2z
+2z1g
+2z12l
+2z12p
+2z1r.
+2z1r
+2z1rte
+2z1rt
+2z1rt
+2z1rz
+2z12te
+2z1ve
+z1vi
+z1fl
+z1fr
+z1g2r
+2z1i2d
+2z1ig
+2z1i2kon
+2z1ill
+2z1im
+2z1imi
+z1imp
+2z1inf
+2z1ing
+2z1inj
+2z1int
+2z1i2par
+z1ir
+z1iro
+zi2s1e
+zi2sir
+zi2s12
+zis3s
+zi2s1
+zi2sz
+zi2z
+z1izm
+z1izo
+z1j
+z12v
+z1k2l
+z1k2r
+2z1olda
+2zoltal
+2z1olt
+z1oml
+2z1ont
+2z1o2r
+2z1osz
+zi2ko
+z1l.
+z12r
+2z1ri
+z1s2p
+z1sz
+z1b
+z1d
+z12l
+z1m
+z1n
+z1s
+z12t
+z12v
+z1z
+z12r
+z1pl
+z1p2r
+2zsab
+2zs1a2d
+2zs1a2g
+zs1ajt
+2zs1akn
+zs1ala
+zs1alk
+zs1all
+2zs1amu
+zs1any
+2zsar
+zs1ar
+2zsat
+2zs1au
+2zs1ll
+2z3sr.
+2zse
+z3seb
+zs1e2c
+zs1ef
+zs1eg
+zs1e2l
+zs1e2m
+zs1es
+2zsj
+2zs12k
+zs1ne
+2zs1re
+2zs1ri
+zs2t
+zs1te
+2zsia
+2zsi
+2zside
+zsi2g
+2zs1iga
+zs1ig
+2zsige
+2zsimm
+2zs1ing
+2zs1int
+2zsinv
+2zsi
+2zsip
+zs1isk
+2zs1ita
+2zsiz
+2zs12
+z3sor
+z3sh
+zs12r
+2zs
+2zs12
+zs1s
+2zs1uj
+2zs1ut
+2zsto
+2zs
+zs12v
+2z3s
+z3sz
+z1t2r
+2z1ud
+2z1ug
+2z1uj
+2z1u2r
+2z1ut
+2z1j
+2z1r
+2z12g
+z2l
+z1r
+z12z
+zy1i
+z3zse
+2b.
+1ba
+baa2d
+ba2b1a2dat
+ba2b1ajk
+baba1k2
+ba2b1ara
+ba2b1arc
+ba2b1aszt
+ba2b1br
+bab2c
+ba2b1csi
+ba2b1g
+bab1ll
+ba2b12ro
+ba2btv
+ba2b1rc
+bab2t
+bab1te
+ba2bv
+ba2bik
+ba2b1i2na.
+ba2bola
+bab1old
+ba2b12r
+ba2b1ult
+ba2b
+ba2c3hu
+ba2csor
+2b1a2dag
+ba2das
+2b1a2dato
+ba2d1r
+ba2deg
+ba2d1e2s
+ba2dog
+2badom
+ba2dd
+ba2di
+ba2dj
+ba2dk
+ba2dt
+ba2duj
+ba2ds
+baegsz1
+bae2r
+ba2r
+ba1fl
+ba1f2r
+ba2gai
+ba1g2n
+ba1g2r
+2b1agy.
+bai2z
+ba2jag
+ba2j12ru
+ba2j12to
+2bajk
+ba2j12r
+ba2j
+ba2j
+ba2k1a2p
+2bakas
+ba2kaszt
+2ba2kc
+bak12cs
+bak1ll
+2bakc
+ba2keg
+ba2k1r.
+ba2k1ri
+bak1k
+ba1k2li
+ba1klu
+ba2k1o2v
+ba1k2ri
+bak1t2
+2b1aktu
+baku2r
+bak1ura
+bak1ur
+ba2ky
+2b1alany
+2b1a2ll
+ba2l1e2s
+ba2l1
+bal2lak
+bal2lan
+bal2ll
+bal2l1s
+bal2lz
+balle2
+bal2leg
+bal2l1el
+bal2lem
+bal2les
+bal2l12l
+bal2lin
+bal2lr
+bal2t
+bal2tiz
+ba2lud
+2b1amp
+2banal
+2b1a2nat
+bans3s
+ban2c1e
+banc3s
+2b1angy
+ban2kab
+ban2k1a2d
+ban2k1a2l
+ban2kar
+banke2
+ban2ker
+ban2kp
+ban2krd
+ban2kir
+ban2kol
+banku2
+ban2kut
+ba2ny
+bao2k
+bao2l
+ba2r
+ba1p2l
+ba1pro
+2b1arc.
+2b1arc
+2b1arcn
+2b1arco
+2b1arcr
+bar2csad
+bar2csal
+bar2csan
+bar2cs
+2b1arc
+2b1argu
+baro2ma
+2b1art
+basg1g
+ba2seb
+ba1sl
+ba1s2m
+ba1sni
+2b1aspe
+ba1s2p
+bas3sze
+ba1s2ta
+ba1s2t
+ba2t1esti
+ba1t2r
+ba1tre
+ba1tr
+ba2ud
+2b1a2ul
+bau2r
+2b1a2vat
+ba1yi
+1b
+b2bal
+b2b1ass
+b2bl
+b2b1es
+b2bik
+b2b
+b2b1
+b2csor
+b2cs
+2b12ga
+b12g
+b2gyal
+b2gyar
+b2gyott
+b2gy
+b2gy
+b2j1e2
+bj2n1
+b2j12
+b2j12
+bj2t1a2k
+b2j
+bkos1
+b2laj
+b2l1ap
+b2l1e2
+bl2
+b2l1j
+b2lid
+b2l1ing
+b2l1i2o
+bl2is
+2b1ll
+2b1llo
+2b1llv
+2blm
+b2l
+b2l
+b2lyad
+b2ly1al
+b2ly1a2n
+b2ly12z
+bni2as
+bn2r
+bnya2i
+b2po
+2b12rad
+2b12rai
+b2r1aj
+2b12ram
+b2rap
+b2ras
+2b2ra2t
+2b12rb
+b2rg
+b2rr
+b2r1s
+2b12rt
+br2das
+br2d1
+br2de
+b2r1e
+b2rn
+2b12ri
+br1i2o
+b2r1i2p
+b2r
+2b1rny
+b2r12n.
+2bru.
+2bruf
+2b12rug
+2b12ruh
+2b1ruj
+2b12ruk
+2b1rur
+br1u2ra.
+2brus
+2b1rut
+2bruv
+2br
+b2rr
+b2r
+b2s12r
+b2se
+b2sis
+b2sz1ak
+b2szan
+b2szas
+b2sz1l
+b2sz12ru
+b2sze
+b2szil
+b2szip
+b2sz
+b2sz
+b2sz
+b2t1a2k
+b2t1al
+b2t12
+2b12t1e2
+b2t
+b2t
+bb1a2da
+bb1add
+bb1a2kas
+b2b1alk
+b2b1als
+b2b1alu
+b2b1alv
+b2b1a2ny
+b2b1ap
+b2b1a2ra
+bba2t
+b2b1au
+bb2gyas
+b2b1ll
+bb1lm
+b2b1p
+bb1rn
+bb12ru
+b2b12s
+b2b1t
+bb1dr
+bbe2g
+b2b1e2kn
+b2b1elv
+b2b1emb
+bb1eng
+bb1erj
+bb1ern
+bb1er
+bb1e2r
+bb1est
+b2b1etn
+b2b1ex
+b2b1g
+bb1l.
+bb1le
+bb1lh
+bb1lj
+bb1ln
+bb1lt
+bb12l
+bb1lv
+b2b1p
+bb1rl
+b2b1rm
+b2b1rte
+b2b1rt
+bb1rv
+b2b1vi
+bb1fr
+bb1i2de
+b2b1iga
+bbigaz1
+bb1illa
+b2b1ind
+b2b1int
+b2b1inv
+bbi2tat
+b2b1itt
+b2b12r
+b2b1v
+bb1kl
+bb1kr
+b2b1okt
+bb1olt
+b2b1olv
+b2b1op
+bb1ott
+b2b1b
+bb12r
+b2b12m
+bb2r
+bb1r
+b2b1s
+bb1ri
+bb1rz
+b2b12s
+bb1pl
+bb1pr
+bb1sk
+bb1sp
+bb1st2
+bb1t2r
+b2b1ud
+b2b1u2g
+b2b1uj
+bbu2r
+bb1ura
+b2b1u2t
+bbgs1
+b2b1j
+b2b12s
+b2b1g
+b2b1r
+b2b1z
+bb12z
+bb2v
+bc3sz
+bda2cs1a2p
+bda1d2
+bda1p2
+bda1s2
+bdasz2
+bda1t2
+bd2n
+bd2r
+bd2ro
+bd2r
+1be
+be2ac
+bea2d
+bea2j
+bea2k
+bea2l
+bea2n
+bea2r
+bea2s
+bea2t1e
+be2ati
+bea2tin
+be2atk
+be2atl
+bea2v
+be2j
+be2s
+be2z
+be1bl
+be1b2r
+be2csar
+be2csr
+be2csrt
+be2cs12te
+be2dn
+be2dz
+bee2l
+bee2s
+be2r
+be1fl
+be1fr
+begs3s
+begsz1
+be1g2r
+be2gyel
+b1egyl
+bei2g
+bei2s
+be2r
+be2j1elt
+2bejt
+2b1e2ke.
+beke2csa
+2b1e2kt
+be1k2r
+be1kri
+be1kr
+be1k2v
+be2ll
+bele2
+bel1els
+be2lemz
+bele1p2r
+belet2
+bele1tr
+be2l12k
+be2l1r.
+be2l12ren
+be2l1rr
+be2l
+be2lof
+be2ll
+2b1e2la
+be2lr
+bel1p2
+2bemel
+2b1eml
+b1e2mus
+be2n1l
+be2n1k
+ben2n1a2
+ben2n
+ben2n1e2r
+ben2ng
+be2ny1e2g
+beo2k
+beo2l
+beo2m
+be2v
+be2r
+be2pe.
+be2ped
+2b1e2p
+be1p2l
+be1p2r
+be2r1ad
+ber1al
+ber1all
+bera2n
+ber1any
+be2r1a2p
+be2r1a2r
+ber1ass
+be2r1a2t
+be2r1av
+be2raz
+be3rg
+ber1ll
+b1erdei
+2berd
+ber1eg
+ber1egy
+be2r1e2ke.
+bere2k1eg
+be2r1ekk
+be2r1ell
+be2r1elm
+be2reld
+be2r1eln
+be2r1e2m
+be2r1eml
+be2r1e2p
+be2r1e2r
+ber1e2sz
+be2r1e2tet
+be2rg
+be2r1kk
+ber1ss
+ber1ing
+be2rism
+be2r1ist
+ber1iszo
+ber1old
+be2ror
+ber1osz
+be2rl
+be2r12r
+be2r
+2b1erd
+ber1s.
+ber12se
+ber12si
+ber12s
+ber3s2
+berta2n12s
+be2r1ub
+be2r1un
+be2rur
+be2r1ut
+be2r12g
+ber2l
+be2r1ld
+be2r1l
+be2r1lt
+be2sem
+2b1esl
+2b1e2ss
+be1ska
+be1sk
+be1s2l
+be1s2m
+2b1e2s
+be1s2p2
+bessz1a
+bessz1
+be1s2ta
+2beste
+2best
+be1s2til
+be1sto
+2b1e2szet
+2b1e2szt
+b1eszm
+besz2t1a2
+besz2t1
+beteg1r.
+bet2t1elb
+bet2telk
+be1t2hi
+be1t2ra
+be1tr
+be1t2r
+be1t2ro
+beu2g
+beu2t
+be2t
+be2vez
+2b1e2vol
+2b1e2v
+2b1ezr
+1b
+2b1br
+b2cs
+b2d1as
+b2d1
+2bd
+2bdh
+2bdj
+2bdl
+b2d1o
+b2d
+2bdr
+2bd
+2bdv
+b2g
+bk1alk
+2b1ksz
+b2l1akt
+b2l1a2n
+b2l1a2p
+b2l1a2r
+b2ll
+b2l1to
+b2l12z
+b2l1ed
+b2l1e2g
+b2lek
+b2l1e2r
+2b12let
+b2l12j
+b2liz
+b2l
+2blj
+b2l1o
+b2l
+b2l
+2b12l
+blt2
+bl1tr
+b2lul
+b2l
+b2ly1ec
+b2l3yen
+b2lyin
+b2ly
+b2p
+b2p
+2b12rai
+b2r1aj
+b2ral
+b2r1a2n
+b2rap
+b2rar
+b2r
+2b1rb
+2b1rh
+2b1rv
+2b1rde
+b2reb
+b2r1eleme
+b2r1e2lem
+b2r1e2lemh
+b2r1e2lemk
+b2r1e2lemn
+b2r1e2lemr
+b2r1ell
+b2relm
+b2r1eli
+b2r1eng
+br1essz
+b2r1esz
+b2r1id
+b2rir
+b2r
+b1rni
+b2r
+br1s
+brt2
+2brtel
+2b1rts
+br1tr
+b2rut
+b2r
+b2sz1a2
+b2sz
+b2sz1o
+bta1s
+2btel
+b1t2h
+2b1tk
+2b1tt
+2b1v.
+b2vek
+2b12ven
+2b12ves
+b2vet
+b2vi.
+2b1vn
+b2zs
+bfej1els
+bfe2len
+bf2n
+bf2la
+bf2r
+bf2re
+bf2ri
+bf2ro
+bg2ra
+bg2r
+bgyk2
+bgy2k1l
+1bi
+bia2d
+bi2ae
+bi2ag
+bia2la
+bia2v
+bi1br
+bi1by
+bic3sz
+bida2
+bi2d1ad
+bi2d1al
+bi2deg
+bi2del
+2b1i2d
+bi2ed
+bie2l
+bi1fr
+bi2gaz
+2b1i2gj
+2bign
+2b1i2hat
+bik1ala
+bi2k1l
+bi2k1em
+bi2kik
+bi1klu
+bi2k12
+bi1k2ro
+bik1s
+bil1ima
+bil1int
+bilis3s
+2bill
+2b1ill
+2billu
+bi2l
+bi2ma.
+2b1i2mi
+2b1imp
+bi2nab
+2b1i2nad
+bi2naj
+2b1i2nat.
+bi2n1rb
+2b1ind
+bi2n1te
+2b1ink
+bin3n
+bi2n
+bi1ny
+bi2oa
+bi2o
+bi2ob
+bi2oc
+bi2od
+bi2oe
+bi2o
+bi2of
+bi2oge
+bi2ok
+bi2ol
+bi2om
+2b1i2on
+bi2or
+bi2r
+bi2par
+bi1p2l
+bi1pr
+2b1i2ram
+2b1i2rat
+2b1i2rn
+2birki
+2birod
+2b1irr
+2b1irt
+2b1irt
+bis2hi
+2b1i2si
+2bism
+bi2s
+bi1s2p
+bis3s
+bi1s2to
+bit1ar
+bi2t1e2g
+bit1elh
+bit1elr
+bit1elt
+bite2r1a
+bi2t1ing
+bi2t1int
+bi2t1i2o
+bi2t1on
+bit1t2
+bit1ura
+bi2t1ut
+bi2s
+bi2var
+2b1i2vs
+1b
+b2ja
+br2r
+b2ve
+b2v
+b2v
+2b12z
+bks3s
+bk2li
+bk2lu
+bk2ra
+bk2r
+bk2re
+bk2r
+bk2ri
+bk2r
+bk2ro
+bk2r
+1b2labl
+blai2k
+blak1a2d
+bla2kal
+bla2k1an
+bla2k1tm
+bla2k1tt
+bla2kem
+bla2kik
+bla2k1ol
+bla2k
+blap1e
+bla1p2l
+bla1s2t
+bls1s
+bl2be
+ble2r1i
+bles2
+ble2t1ak
+ble2t1a2n
+ble2t12
+ble2t1e2l
+ble2ter
+ble2tesz
+ble2tl
+ble2t1rd
+ble2t1tk
+bletigaz1
+ble2t1o
+ble2t12
+ble2tu
+ble2tz
+ble2
+bleves1s
+bl2he
+bli2af
+bli2as
+bli2of
+b1ljana
+bl2ne
+1b2lok
+blok2k12
+blo2n1
+blon3n
+b2l1z
+bl2re
+bl2r
+bl2t
+blu2esz
+1bo
+bo2a
+bo2ab
+bo2ad
+bo2ae
+bo2af
+bo2ah
+bo2aj
+bo2am
+bo2ar
+bo2at
+bo2av
+bo2c1ak
+bo2ce
+bo2c
+bo2c3h
+bo2cs
+bo1dy
+bo2ei
+bo1fl
+bo2g1a2k
+bo2g1a2t
+bo2g12c
+bogs1s
+bo2g1e
+bo2g1osz
+bog2sz
+bo2gyo
+boka1p
+2b1o2k
+b1o2koz
+bok2szak
+bok2szal
+bok2sz1l
+bok2szel
+boksz2
+bok2szl
+bok2sz1in
+bok2sz
+bok2sz1
+2b1okta
+2bolaj.
+bols1s
+2b1old
+2b1o2lim
+bolo1g2
+bol2t1e
+bol2t12
+bol2t12
+2bolvas
+bona1
+bon1ava
+bon2can
+bon2c1e
+bon2ch
+2bond
+bo2n1e2
+bo2n1r.
+bo2n1or
+bon2t1i
+bo2n
+bo2og
+bo2ok
+bo2om
+bo2ot
+bo2pe
+bo2r1a2d
+bo2r1aka
+bor1akk
+bo2r1akv
+bo2r1a2l
+bora2n
+bor1any
+bo2rar
+bor1asz
+bor1atr
+bo2r1au
+bo2r1av
+bo2raz
+bor1cs
+bo2r1ll
+bo2r1z
+bor1d2
+bo2re
+bor1e2c
+bor1el
+bor1e2r
+bor1es
+bor1f2
+borfi2k
+bo2r1i2ko
+bo2r1il
+bo2r1ing
+bo2r1int
+bo2r1isk
+bo2r1iss
+bo2r1ist
+bo2r1itt
+bo2r1iz
+bor1k2
+2b1ornam
+bo2r1ond
+bo2r12r
+bo2r
+bo2r
+2b1orr.
+2b1orr
+bor2s1epr
+bor2sors
+bor1str
+bor2sl
+bor2st
+bor1tre
+bor1tr
+bo2r
+borvz1
+bor2z12rak
+bor2zsa
+bor2z3se
+2b1oszt
+bo2t1a2g
+bo2t1al
+bo2tar
+bo2tas
+bo2t1a2u
+bo2t1c
+bo2tr
+bo2t1e2
+bo2t1il
+bot1inf
+bot1int
+bo2t1i2p
+bo2t
+bo2t12
+bo2t
+bo2tur
+bot2
+bo2tr
+bo2t
+bo2t
+bo2ui
+bo2ul
+bo2ur
+bo1ya
+bo1y
+bo1y
+bo1yi
+bo1yo
+bo1yu
+bo2zar
+bo2zl
+bo2z1e2
+bo2zid
+bo2z1i2p
+bo2z1ir
+bo2z
+bo2z1old
+bo2z3s
+bo2z
+bo2z
+1b
+ba2d
+b2g
+b2r
+b2b
+b2cal
+b2ch
+b2c
+b1fl
+b1kr
+bli2a
+b1lm
+b1p2l
+b1p2r
+b2r1ad
+b2r1an
+b2rat
+2br
+b2rs
+br1sv
+b2reg
+b2rel
+b2r1in
+b2riz
+b2r1ol
+br2
+b2rs
+b2r
+brt2
+b2r
+b1s2p
+b1sz
+1b
+b2ch
+b2l
+2blb
+bl2cs
+2b12lr
+2blh
+2blig
+2blk
+b1lk
+2blr
+2b1lt
+2blt
+b2l
+b2lyk
+b1ml
+b2n
+2b1nt
+b2ra
+b2r1e
+b2ro
+2b1ssz
+2b1tl
+2b1ts
+b2ve
+1b
+b2r1a2
+b2r12
+b2r1e2g
+b2r1e2l
+b2r1em
+b2r1en
+b2r1e2r
+b2r12g
+b2rk
+b2r1s
+b2ril
+b2r1ing
+b2rip
+b2r1i2s
+b2riz
+br1izg
+2brl
+b2r1o2
+br1l
+b2r
+brren2
+br1s2
+b2r1u
+b2r
+b2r12g
+b2r12l
+2bsi
+bp2la
+bp2l
+bp2le
+bp2re
+bp2r
+bp2r
+bp2ro
+b1proj
+bp2r
+bra2k12
+bra2ks
+bra1p2
+1braty
+br2nag
+br2nas
+br2n1t
+brnt2
+br2sz1l
+br2sze
+b2ric
+bri2da
+bri2d
+bri2der
+1b2rig
+bri2no
+bri2d
+bri2f
+bri2m
+bri2tel
+b2ros
+br2m1a
+br2me
+1b2rum
+bs2g1el
+b1s2k
+bs2l
+bs2pe
+bs2pi
+bs2po
+bs2ta
+bs2t
+bs2ti
+bs2t
+bs2t
+bsz2r1a2da
+bsz2f
+b1sz2k
+bsz2t
+btermo1
+btermosz2
+bt2r
+b1t2re
+bt2r
+b1t2ri
+b1t2ro
+b1t2r
+1bu
+bu2ch
+2b1udv
+bu2r
+bu2g1i2
+bu2il
+2b1ujj.
+2bujja.
+2bujjad
+buj2j1a2da
+2bujjai
+2bujjak
+2bujjam
+2bujjas
+2bujjat
+2b1ujj
+2bujjb
+2bujjc
+2bujjd
+2bujje
+2bujj
+2bujjf
+2bujjg
+2bujjh
+2bujji
+2bujjk
+2bujjl
+2bujjm
+2bujjn
+2b1ujjo
+2bujjp
+2bujjr
+2bujjs
+2bujjt
+2bujju
+2bujj
+2bujjv
+buk2j1e
+bu2maj
+bu2mel
+bu2m1i2k
+bu2m1ina
+bu2mis
+bu2mol
+2b1ural
+b1urb
+2burn
+2b1u2r
+bu2se
+bu2sin
+bu2sol
+bu1s2p
+bus3sze
+bu2szab
+busz1aj
+bu2szal
+bu2szas
+bu2sz1l
+bu2sz12rak
+bu2sz1rn
+busz1en
+bu2sz1l
+bu2sz12p
+bu2szid
+bu2sz1il
+bu2szim
+bu2szin
+bu2szip
+bu2sziz
+busz2
+busz1j
+busz3s
+bu2sz
+1b
+b2j
+2br.
+2b12ri
+2brt
+2bsz
+b2sz
+b12ti
+b1tm
+1b
+b2d
+b2ge
+b2gy
+b2ku
+2b1ld
+b2l12n
+b2ne
+2br
+2b12te
+2b12t
+b12t
+2b12ve
+b2ze
+1b
+b2na
+b2n
+b2nel
+b2nem
+b2nes
+b2n1e2t
+bn1n
+b2no
+b2n
+b2n12
+b2nu
+b2n
+b2ri
+b2v1e2
+b2z1a2
+b2z1
+b2zo
+b2z1
+b2z3s
+bv2nyad
+bv2ny
+by2te
+2c.
+1ca
+2c1abl
+ca1b2r
+ca2cl
+ca2ch
+ca2ds
+2c1a2d
+ca2es
+cane2
+ca1fro
+2c1agg
+ca2gya
+cagy1a2d
+ca2gyu
+2c1ajk
+2c1a2kad
+ca2kc
+ca2k1z
+2c1akc
+cak2kol
+cak2k1
+ca1kri
+cala2g1
+ca2lan
+ca2l1a2s
+2c1albu
+ca2l1este
+ca2l12l
+cal2t
+cal1te
+ca2lim
+ca2l1ip
+cal1osz
+cal1p
+cal1s
+ca2l
+ca1ly
+ca2nal
+ca2nar
+2c1a2ni
+can2ne
+ca2r
+ca2p
+ca1p2r
+ca1p2s
+ca2ran
+ca2rn
+2c1arc
+ca2ris
+ca1s2p
+2c1assz
+cast2
+ca1sto
+ca1str
+2c1aszt
+ca2tau
+ca2tem
+2c1atl
+c1a2uk
+cau2n
+ca2vat
+2c1a2zo
+1c
+2c1br
+c2ga
+c2g
+c2gy
+c2la
+c1ll
+2c1lm
+c2ne
+c2nt
+c2nir
+c3p2a3
+2c12po
+2c12rad
+2c12rak
+c2r1as
+c2ria
+c2ri
+c2r1i2n
+2crk
+2c1rp
+2cru.
+2c12ruh
+2crus
+c2ss
+2c12s
+2c1sv
+2c12szai
+2c12szo
+2c12t1a2
+c1th
+2c12t1i2
+2c1tm
+2c1tr
+2c1tt
+2c12t
+2c1tv
+cb2lo
+cb2ra
+c2c1a2j
+c2c1ak
+cc1alb
+cc1a2ny
+c2c1a2r
+c2c1au
+c2c1g
+c2c1l
+cc1bl
+cc1ef
+c2c1elm
+c2c1ember
+c2c1p
+c2c1r.
+c2c1rte
+cc3he
+cc3h
+c2c3ho
+cc3h
+cc3h
+c2c1i2m
+cci2na.
+cc1ing
+cci2v
+cc1i2pa
+cc1iro
+c2c1i2z
+cc1r
+cc1kl
+cc1k2r
+cc1o
+c2c1ov
+cc1n
+cc1s
+cc1z
+cc1pl
+cc1pr
+c2cs
+c3csap
+c3csar
+ccs1as
+c3csat
+ccs1l
+c3csp
+ccs1s
+ccs1tl
+ccs1eg
+ccs1elem
+ccs1ell
+ccs1elv
+ccs1embe
+ccs1eml
+c3csep
+ccs1l
+ccs1rt
+ccs1iv
+c3csop
+ccs1ork
+cc3soro
+ccs12l
+ccs1nt
+ccs1s
+ccs1ut
+c3cs
+c3cs
+cc3sza
+cc3sz
+ccs3zen
+cc3sz
+cc1j
+c2c1g
+cc1r
+cc3z
+cc3ze
+cc3zs
+cda2l12
+cda2l1i
+cde2m1e2k
+cde2m1el
+cd2ra
+cd2r
+1ce
+cea2l
+ce2at
+ce2au
+ce2r
+ce2bd
+ce1bl
+ce2ch
+cec3he
+2c1e2dz
+ce2gas
+ce2g12k
+cegs3s
+ce2gina
+ce2gor
+ce1g2r
+ce2gu
+ce2g
+c1egy.
+c1egyb
+ce2gyen
+c1e2gyi
+c1egym
+c1egyr
+2c1egys
+2c1e2ke.
+ce1kl
+2c1elad
+2c1e2lg
+cel1r
+2c1elf
+2c1elha
+2c1elj
+2c1e2los
+c1e2la
+2celdt.
+2c1e2lf
+2c1e2l
+c1e2l
+2c1els
+2c1elt
+c1elto
+2c1elv
+2c1e2mel
+2c1eml
+cenc1c
+cen2c1eg
+cen2c3s
+2c1eng
+cen2s1g
+cen2tau
+ceo2l
+ceo2r
+2c1e2pe.
+2c1e2pi
+ce1p2r
+cep2sz1a2
+cep2sz12p
+cep2szi
+cep2t1a2
+cep2t1r.
+cep2tim
+cep2t1ol
+2c1e2rej
+ce2rz
+2c1e2r
+cer2t1a2
+cert2
+cer2tr
+cer2teg
+cer2t1e2l
+cer2t1emb
+cer2t1est
+cer2tl
+cer2t1n
+cer2t1ol
+cer2t1
+cer2tu
+cert2
+cer2t1z
+ce2sem
+2c1e2ss
+2c1e2s
+ces2t12j
+ces2t1k
+ce1stra
+ce2t1e2g
+ce2t1essz
+ce2t1esz
+ce2t12t
+2ceth
+cet1ill
+ce2t1i2n
+ce2tiz
+2cetn
+2ceton
+ce1t2ra
+ce2t1us
+ce2td
+cet2z
+ce2t
+ce2vs
+ce2v
+2c1e2zer
+2cezrede
+1c
+2c1br
+c2dl
+c2g1a2
+c2g12
+c2g1eg
+c2g1e2l
+c2ge2r
+cg1ere
+cg1er
+c2g1esem
+c2get
+c2get
+c2g1k
+c2gp
+2c12gs
+cg1g
+c2g1i2d
+cg1iga
+c2gig
+c2gim
+c2gir
+c2g1iz
+cgo2
+c2g1ok
+c2gol
+c2g
+c2g
+c2g1u2
+c2g
+cha2
+c2hal
+c2han
+c2har
+c2hed
+c2h1e2g
+c2hir
+c2hu
+c2h
+2c1ks
+c2la
+cl1a2n
+c3lap
+cl1a2r
+c2lb
+c2ll
+c2l12r
+c2l12t
+c2le.
+c2led
+c2leg
+c2lei
+c2lek
+c2l1e2l
+c2lem
+cl1emb
+c2len
+c2l1er
+c2l1e2s
+2c12let
+2c12lez
+c2lb
+c2l12k
+c2lnk
+c2lp
+c2lre
+c2ls
+c2lim
+c2lin
+c2lir
+c2l1is
+c2liz
+c2l
+c2l
+c2l12
+c2l12
+clt2
+cl1tr
+clu2
+c2l1ut
+c2l
+2c12l
+c2p
+c2p
+c2rag
+2c1rd
+2c12rs
+c2rin
+2c1rint
+c2ris
+cr1s
+2c1rt
+2c1rt.
+c2r
+2c1rz
+cs3s
+2c1szh
+2c1tk
+2c1tt
+2c1v.
+2c1vad
+2c12ve.
+2cvei
+2c12vek
+2c12ven
+2c12ves
+2c12vet
+2c12vt
+c2vi.
+2c1vn
+2c12v
+cf2l
+cf2ra
+cf2ri
+cf2ro
+cg2ra
+cg2ri
+c2h
+1cha
+c3had
+2c3haj
+2cham
+2chang
+2c3harc
+2charm
+2chat
+2c3hav
+1ch
+2c3hm
+c3hny
+c3hz
+ch1bl
+1che
+2c3heg
+2chev
+2c3hez
+1ch
+1chi
+2c3hib
+2c3hi
+2chitel
+2chitet
+c3hi
+1ch
+1cho
+cho1d2
+2c3hor
+2c3hoss
+1ch
+1ch
+1ch
+ch1pr
+ch1sc
+ch1sp
+1chu
+chu2r
+2c3huz
+1ch
+1ch
+1ch
+1ci
+ci2aa
+ci2a
+cia1b2
+ci2aba
+ci2abo
+ci2abr
+ci2ac
+ci2a1d2
+ci2ae
+ci2a
+cia1f
+cia2fag
+ci2afr
+ci2a1g2
+ci2ah
+ci2aik
+ci2a
+ci2aj
+ci2akar
+ci2akas
+ci2akn.
+ci2ak
+ci2ala
+ci2al
+ci2ale
+ci2al
+ci2alo
+ci2am
+ci2any
+ci2ao
+ci2a
+ci2a
+ci2a
+ci2a1p2
+ci2ar
+ci2asza
+ci2asz
+ci2asz
+ci2aszo
+ci2asz
+cia1t2
+ci2ata
+ci2at
+ci2at
+ci2ato
+ci2at
+ci2au2
+ci2a
+ci2a
+ci2a
+ci2av
+ci2az
+ci2lan
+ci2nr
+ci2
+2c1i2deg
+ci2deo
+2c1i2d
+2c1i2dom
+2c1i2d
+cie2r
+2c1ifj
+2c1i2ga.
+2c1i2gaz
+ci2ge.
+ci1g2r
+ci2ker
+cikka2
+cik2kaj
+cik2kan
+cik2k1o
+ci1k2la
+2c1ikr
+ci2l12t
+2cillu
+ci2mit
+2cimpu
+ci2n1al
+ci2n1rt
+cin1d2
+ci2n1e2re
+2cinf
+2c1inge
+2c1ingr
+ci2nim
+cin2kac
+cin2k1a2l
+cin2krt
+cin2kol
+cin2kors
+cin2k
+ci2n
+cin2tar
+cin2t1es
+cinus1s
+ci2n
+2c1inv
+ci2od
+ci2of
+ci2og
+cio1gra
+ci2oi
+ci2ol
+ci3olo
+2c1i2onn
+ci2op
+cio2v
+ci2a
+ci2
+ci2c
+ci2dar
+ci2e
+ci2g
+ci2
+ci2kal
+ci2kam
+ci2k
+ci2ke
+ci21kl
+ci2kom
+ci2kos
+ci2ku
+ci2l
+ci2mag
+ci2m
+ci2n
+ci2o
+ci2
+ci2
+ci2
+ci21p
+ci2s
+ci2se
+ci2s1r
+ci21s2k
+ci2szo
+ci2t
+ci2
+ci2
+ci2zn
+ci2r
+ci2rat
+2c1i2rn
+2c1i2rod
+2c1irt
+ci2si.
+2c1isko
+2c1ism
+2c1isp
+ci1stad
+ci2sz1i
+ci2t1aj
+cit2r
+cit1r.
+cit1ra
+cit1r
+cit1ro
+cit1rr
+ci2tik
+ci2t1ol
+ci1ty
+ciumi2
+ciu2min
+ciu2m1io
+ciumkz1
+ciu2t
+2c1i2vad
+2c1i2vs
+1c
+c2ja
+c2j
+c2m1a2
+c2m1
+c2m1e2l
+c2m12l
+c2m
+c2mo
+c2m
+c2m
+c2mu
+c2r
+c2r
+c2v
+c2ve
+c2v
+c2zs
+c2z
+ckaka2
+c2k1alj
+c2k1arc
+cka2rom
+c2k1g
+ck1ll
+c2k1rn
+c2k1e2g
+cke1p
+1cker.
+1ckerk
+1ckern
+ck2p1e2l
+c2k12r
+c2k1rl
+c2k1rt
+ck1fl
+ck1fr
+ck1ill
+c2k1z
+ck1kl
+ck1k2r
+ck2lu
+c2k1o2la
+ck1o2pe
+c2k1orro
+c2korru
+c2korr
+1c2kosak
+c2k1ou
+c2k1b
+ck1ss
+ck2re
+c1k2ri
+c1k2r
+ck1sp
+c2k1g
+ck1lt
+c2k1t
+c2k12v
+ck1r
+ck2va
+cli2s
+clu2b1a
+cmelo1
+cnya2k
+1co
+co2at
+co2z
+co2be
+co2eu
+co2kar
+co2k
+co2ke
+co2kl
+co2kp
+2c1o2k
+2c1o2laj
+co2l1ro
+2c1olda
+2c1old
+2c1old
+co2le
+co2l1ibr
+co2li2m
+col1ima
+co2l1i2na.
+co2l1ind
+co2l1ing
+co2l1inu
+co2l1o2r
+2colvad
+2colvas
+comba2
+com2bal
+com2b1e2
+com2biz
+com2bol
+com2br
+com2b
+2c1oml
+co2ol
+2c1o2pe
+cop2f1
+co1py
+2c1orc
+2c1o2ri
+2c1orm
+c1o2rom
+2c1orro
+2c1orr
+2corv
+2c1oskol
+co2s1o2ku
+cos3s
+cos3zs
+2c1oszt
+co2ul
+co2un
+co2uv
+co2vi
+1c
+c12ni
+2c12r
+c12ri
+c2v
+1c
+c1lt
+c1sv
+c1sz
+c1tb
+c12t1e
+c12t
+c1tf
+c1th
+c12ti
+c1tk
+c1tm
+c1tn
+c1tr
+c1ts
+c1tt
+c12t
+c1v.
+c2z
+1c
+c2r
+cp2la
+cp2ra
+cp2re
+cp2r
+cp2ri
+cp2ro
+cp2r
+c2s
+1csa
+2csabl
+2cs1a2dat
+2cs1a2d
+2cs1a2d
+2cs1akc
+csa2lakj
+csa2lap
+2csal
+2csalt
+2csalb
+2cs1alg
+2cs1alk
+cs1alle
+2cs1alm
+csa2lomb
+cs1amb
+2csant
+csa2pl
+2csapka
+2csapk
+csa2por
+2csapk
+2csapkr
+2csapsab
+2cs1arc
+2csarg
+2csark
+2cs1arz
+2cs1ass
+csa2t12r
+csavar1a2
+cs1azo
+1cs
+cs2be
+2csf
+2csg
+cs12gak
+cs12gu
+2cs1rad
+2cs12rak
+2csram
+2csrat
+cs2rt
+2cs1rny
+cs12ruk
+2cs1s
+2c3ssi
+2cs1s
+2cstss
+2cstf
+2cstm
+2cstr
+2csv.
+2c3svo
+cs1bl
+cs1br
+cs1d2r
+1cse
+2cseb
+cs1e2ce
+cse2csa
+2cs1e2d
+2cs1edz
+cs1eff
+cs1e2ges
+2cseg
+2cs1e2ke.
+2cself
+2csell
+2csel
+2cselta
+2cselt
+2cselv.
+2c3sely
+2cs1ember
+2cs1e2mel
+2cseml
+2csemu
+csen2d12
+cse2nis
+cse2n3yen
+2csenz
+cse1p2r
+cse2rl
+cse2r1e2ped
+2cser
+2cser
+2cses
+2cseszm
+cse2tz
+2csev
+2cs1ex
+1cs
+2csg
+c3sg.
+c3sgb
+c3sgg
+c3sgh
+c3sgi
+c3sgn
+c3sgr
+2cshes
+2cshs
+2cs12ka
+2csks
+2cs1le
+cs2m1a
+2csnekb
+2csneke
+2csnek
+2csnekk
+2csnekr
+2csneks
+2csnekt
+2csnek
+2csp
+2csp
+2csrde
+cs2rsk
+2c3srv.
+2csrvb
+2csrvh
+2csrvr
+2csrvv
+2csrz
+cs2sza
+cs2tab
+2csv.
+2csvek
+2csvn
+2csvr
+2csvv
+cs1fr
+cs1gl
+cs1gr
+1csi
+csi2
+2csid
+2csig
+2csim
+2csimog
+2csimpo
+2cs1i2na.
+2csinas
+2cs1ind
+2cs1inp
+2cs1inv
+2csiono
+2csip
+2csiv
+2csiv
+1cs
+2cski
+2c3srb
+2c3srj
+cs12r
+2cs12v
+2csze
+2cszl
+cs1zn
+2cszt
+cs1z
+cska1s
+cskasz2
+cs1kl
+cs1kv
+c3slg
+1cso
+2cs1o2
+2csobj
+cso2k1
+2csokk.
+2csokoz
+2csolaj
+2csolda
+2csold
+2csold.
+2csoldk
+2csoldm
+2csoldn
+2csoldr
+2csoldt
+2csoldv
+2cs1oli
+2csoll
+2csolvas
+cson2t1a2
+2csopc
+2cs1orc
+2csori
+2csork
+2c3sorv
+2csoszl
+2csoszt
+1cs
+cs1d
+cs2kes
+cs2k12
+2cs1n
+1cs
+2cskr
+cs1ml
+csn3n
+2csr.
+c3sre
+2csssz
+2csv.
+2cszn
+1cs
+3cs.
+3csb
+cs2h
+2csrz
+cs2sz12ra
+cs2szk
+cs2sz
+3csv
+c3s2pek
+cs1p2l
+csp2r
+cs1ps
+cs1sl
+cs1s2p
+cs1s2t
+cs3sz2
+cssza2k
+c3s2tab
+cs2top
+cst2r
+c3stru
+1csu
+2csudv
+2csug
+2c3suho
+cs1ujj
+2cs1una
+2csuni
+2cs1ura
+2cs1u2r
+cs1u2tas
+2cs1ut
+cs1ut
+1cs
+cs1p2
+2cstn
+1cs
+2csd
+2csg
+2csgy
+2cs1nn
+cs12te
+2c3sv
+2cs1z
+1cs
+c4s3zac
+cs3zaj
+csza2k
+cs3zam
+c3szl
+c3szm
+cs3zp
+cs3zt
+c3szz
+c3sz2c
+c3szer
+c3sz
+c3sz2f
+c3szi
+c3sz
+c3sz2l
+c3szob
+cs3zokn
+c3szol
+cs3zon
+c3szor
+cs3zn
+c3sz
+cs3zs
+csz2t
+cs3zug
+cs3z
+c3sz
+c3sz
+c3sz2v
+ct2ra
+ct2re
+ct2r
+ct2ri
+ct2ro
+ct2r
+1cu
+cucci2
+cuc2cin
+cuko2r1a
+cula2te
+cu2l
+2c1und
+2c1u2no
+2c1u2ra
+2c1u2t
+1c
+c2j
+c1r.
+c1rr
+c12ti
+c2to
+1c
+c2ge
+c2gy
+2c12l
+c2l
+c1nn
+c2re
+c2r
+c2r
+c2te
+c2t
+c2t
+c2ve
+c2ze
+1c
+c2z
+cva2nem
+cva2nv
+cve2nv
+cven3n
+c2z
+1cza
+cza2ib
+cza2i
+cza2ih
+cza2ik
+cza2in
+cza2ir
+cza2it
+cza2iv
+1cz
+1cze
+2c3zen
+1cz
+c3zh
+1czi
+1cz
+1czo
+1cz
+1cz
+1cz
+1czu
+1cz
+1cz
+1cz
+1czy
+2d.
+1da
+daa2d
+dat1
+2d1abla
+da2c1ir
+da2cz
+da2dag
+dad1ala
+2dadato
+2d1a2d
+da1dr
+da1dro
+dae2r
+da2d
+da2r
+da1f2l
+da1f2r
+da2g1el
+dag3g
+2d1ahh
+da2ire
+2d1a2jn
+2d1ajt
+2d1a2kad
+dak2r
+2d1akkora
+d1akku
+da1kl
+da1k2r
+da1k2ri
+2d1aktu
+dal1a2ga
+dal1ajt
+da2lakj
+da2l1akta
+da2l1akt
+da2laku
+da2lak
+2d1alakz
+da2l1a2l
+da2lapc
+da2lapk
+da2lapn
+da2lapr
+da2l1aps
+da2lapt
+2d1a2lap
+da2lar
+da2l1asz
+da2latt
+da2l12g
+da2l1l
+dal12rak
+dal1r
+da2l1rb
+da2l1rn
+da2l1rr
+dal12sz
+da2l1ti
+dale2l
+dal1el
+dal1ele
+dal1ell
+dal1e2s
+dal2ke2
+dal1l.
+da2l12ne
+da2l1r.
+dal1f2
+da2lid
+da2l1i2ko
+da2l1ikr
+da2l1i2m
+da2l1i2nt
+da2lind
+da2l1inf
+da2l1ing
+da2l1inj
+da2l1int
+da2l1i2nu
+da2l1itt
+dali2z
+dal1izo
+2d1alji
+dal3l
+2d1allo
+dalo2m1e
+dalomo2
+da2l1or
+da2lr
+dal1p2
+dal1ud
+da2l1ur
+da2l1u2s
+da2l1u2t
+dal2t
+da2l1to
+dal1tr
+da2l
+2d1amc
+2d1amf
+2d1a2nal
+2d1ang
+d1a2nyag
+2d1a2ny
+dao2k
+da2r
+da2v
+2d1a2pa.
+2d1a2pai
+da2pak
+da2pb
+da2pd
+da2p
+da2ph
+da2pi
+da2pk
+da2pm
+da2pt
+da2pv
+2d1apj
+da1p2l
+da2p.
+2d1app
+da1pro
+da1p2s
+2dapt
+dara2be
+da2r1a2d
+dar1ala
+da2rant
+da2r1azo
+da2r1ta
+da2r1tf
+dar2c1e2
+dar2c3h
+dar2cso
+2d1arc
+dar2d1a2l
+dar2d1
+dar2del
+dar2d1es
+dar2d12
+da2r1el
+da2r1il
+darus3s
+dar1uta
+da2r1
+da2sl
+da1s2l
+da1spe
+2d1assz
+da1s2ta
+da1szl
+daszt2
+dasz2t
+2dasz
+da2t1akt
+da2t1akv
+da2t1a2la
+da2t1alk
+dat1apu
+dat1ar
+dat1ass
+da2t1att
+da2taz
+da2t1ll
+da2t1rad
+dat2ramm
+dat2ramr
+da2t1ta
+da2t1t
+da2telem
+dat1e2l1
+dat1el
+da2t1elk
+dat1ell
+da2t1el
+dat1elt
+da2t12g
+da2trte
+da2t1rt
+da2t1rth
+da2t1rv
+da2tid
+dati2k
+da2t1iko
+da2tim
+da2t1inf
+dat1inte
+dat1ist
+da2tiz
+da2t1r
+dat1ve
+dat1k2
+2d1atlas
+da2t1osz
+da2tc
+2datm
+da2t12r
+dat2s
+dat1s
+dat1t2
+da2t1u2t
+da2tt
+da2tr
+da2tya
+da2ty
+2d1a2uk
+da2up
+2d1a2ur
+dau2s
+dau2ta
+da3u2tp
+da2t
+da2z
+2d1a2vat
+2d1avv
+da1ye
+da1y
+2d1az.
+da2zl
+2d1a2z
+da2zok
+da2zon
+1d
+2d12b
+2d1br
+d2c3ho
+d2f
+d2ga
+d2g
+d2g
+2d12gy
+d2ll
+d2lr
+d2l1e
+2d1ll
+d2l
+d2ly1a2n
+dly2
+d2ly1s
+dmu2
+d2m1ut
+d2m1
+d2ny1a2d
+d2ny1al
+d2ny1a2n
+d2nyaz
+d2ny
+d2po
+2d12rad
+d2r1ag
+2d12rai
+d2r1a2j
+d2ral
+2d12ram
+d2r1a2n
+d2r1a2p
+d2rar
+d2ras
+dr1ass
+d2rat
+dr1atk
+d2r
+dr1l
+d2r1e2
+d2rb
+2d12ria.
+d2rij
+d2ril
+d2r1i2p
+dr1isk
+dr1ism
+d2r
+d2rod
+d2r1ond
+d2r1ot
+d2r
+d2r
+dr1s2
+drt2
+dr1tr
+2dru.
+d2ruk
+dru2s1g.
+dru2s12ga
+d2r2
+2d1r.
+d2r
+d2r
+d2s1a2d
+d2sal
+d2sar
+d2s12g
+d2s1rad
+d2s1rh
+d2s12ru
+d12ss
+dst1a2
+d2s1e2
+dsf2l12v
+d2sim
+d2sis
+d2sol
+d2sor
+d2s2
+ds1r
+d2s
+d2s
+dst2
+ds1tr
+d2sut
+d2s12
+d2szag
+d2szaka
+d2szal
+d2szar
+d2szav
+d2sz1l
+d2szrk
+d2sz12ro
+d2sze
+dsz1el
+dsz1em
+dsz1er
+d2szb
+d2szip
+d2szir
+d2szis
+d2sz12
+2dszki
+d2sz1
+d2sz
+dsz3s
+d2sz1us
+d2sz1
+d2sz12
+d2sz1
+2d12ta
+dt1al
+2d12t
+2d1td
+d2t1e2
+2d12t
+2d1tf
+2d12t
+2d1tj
+2d1tk
+2d1tm
+2d1tr
+3dtu
+2d12t
+2d1tv
+dba2l1
+db2lo
+db2l
+db2ro
+db2r
+dc2lu
+dcsa2p12g
+dd1elh
+d2d1i2d
+dd2s
+d2d1o2d
+dd2r
+dd2r
+d2dz
+d3dzs
+1de
+de2aa
+de2a
+de2ac
+dea2d
+de2ae
+de2a
+de2agy
+de2ah
+de2a
+de2ala
+de2al
+de2alo
+de2am
+dea2n
+de2ao
+de2ap
+dea1sz2
+de2aszf
+de2at
+2d1e2b
+ded1ell
+2d1e2dn
+de2d12v
+de1dra
+de2d12
+2d1e2dz
+de2ep
+dee2s
+de2r
+2d1eff
+de1fr
+de2g1a2l
+de2g1a2n
+de2g1l
+de2g1e2l
+degen3n
+de2ger
+de2g1k
+deg1ri
+de2gs
+deg1ss
+degsz1
+deg3g
+de2giz
+2dego
+de2gor
+deg2
+de2g1l
+de2gr
+de2g1s
+2de2g
+2d1e2gye
+degyez1
+2degz
+2d1ehh
+deho2g
+de2if
+dei2g
+de2r
+de2k1a2k
+de2kaz
+de2k1e2g
+de2kellen
+de2kep
+dek1e2r
+de2k1esz
+dek1kb
+dek12ke
+de2k1l
+de2k1ri
+de2krte
+de2k1rt
+de2k1rv
+de2k1rz
+de1klu
+dek1old
+dek1s
+deksz2
+2d1elad
+de2lef
+2d1e2legy
+dele2m1a
+dele2m
+dele2meg
+de2lemek
+dele2mel
+delem1ele
+dele2mu
+2d1e2lem
+2d1e2lemz
+dele2t1a2
+2d1eletet
+2d1e2l12k
+2d1e2ll
+dels3s
+2d1elha
+2d1elho
+2delkezd
+2delkezd
+del2lal
+del2l1an
+del2l1e2g
+delle2l
+del2l1ele
+del2lelk
+2dellen
+2d1ellene
+del2l1ent
+del2ler
+del2l12j
+del2l12k
+del2l1in
+del2l1is
+del2los
+del2lr
+del2lr
+2d1elma
+2d1eln
+de2los
+2del
+de2ll
+de2lad
+2d1e2lka
+2delrej
+2d1elsa
+2d1eltett.
+2d1eltr
+2d1elv.
+2d1elv
+2d1elves
+2d1elvo
+2d1elv.
+2d1elve
+2d1elvk
+2d1elvn
+2d1elvr
+2d1elvs
+2d1elvt
+2d1elvv
+de2mad
+de2m1a2l
+de2maz
+de2m1l
+de2mez
+de2m12rem
+de2m1rm
+de2mim
+dem1ing
+2demoi
+dem1p
+de2mus
+dem2l
+de2nal
+2d1e2ner
+denki2ne
+de2nol
+de2n12
+dens1s
+de2od
+de2of
+de2o1g2
+de2oj
+de2olo
+de2om
+de2ot
+de2pe.
+2d1e2p
+de1p2re
+de1pro
+de1p2s
+de2rad
+der1aka
+de2rala
+de2r1a2n
+de2r1ar
+de2r12g
+de2r12r
+de2rs
+der1zt
+2derd
+dere2c
+2deredm
+2d1e2reje
+2derejn
+2derejr
+2d1e2rejt
+de2r1e2kei
+der1e2le
+der1ell
+der1e2l
+der1elt
+de2rer
+de2r1e2s
+de2r1l
+de2rid
+de2r1il
+de2r1i2m
+de2r1in
+de2r1i2p
+de2r1i2s
+der2nk
+de2r1osz
+de2r12r
+de2r
+d1er.
+der1s.
+d1ert
+d1erv
+der1sp
+deru2
+de2rut
+de2r12g
+de2r1ld
+der1le
+der1ltet
+dervis1s
+2de2s1a2
+2desg
+de2sip
+2desk
+2destes
+de1sto
+de2sur
+des2
+de2s1r
+2d1eszm
+de1sz2ta
+de2sz.
+de2t1k
+de2tika
+de2tik
+2d1e2v
+2d1evv
+de2xa
+dexi2
+de2xin
+de2xiz
+de2x
+de2x1o
+de2x
+2deza
+de2zak
+de2zr
+de2zil
+de2zin
+de2z1or
+deze2
+dezksz1
+2d1ezr
+1d
+2d1br
+d2dap
+d2d1
+d2du
+d1fl
+d2g1a2
+d2g12
+d2g1e2b
+d2g1eg
+d2gp
+d2g1rk
+d2gs
+dg1sz
+dg3g
+dg1iga
+d2gig
+d2gin
+d2g
+d2g1ok
+d2got
+d2g
+dg1s
+d2g1u2
+d2g
+d2g
+2d12hes
+2d1hs
+2d1j.
+2d1jb
+d2k1ab
+d2kac
+d2k1a2d
+d2k1a2l
+d2k1a2n
+d2k1ap
+d2k1as
+d2k1au
+d2kaz
+d2k1g
+d2k1rt
+d2ks
+dkt1a2
+d2k1e2g
+dke2l
+d2k1ele
+dk1ell
+dk1el
+d2k1elt
+d2k1er
+d2k1esz
+d2k1eti
+d2kez
+d2k12j
+d2k12k
+d2k12l
+d2k1r.
+d2k1te
+dk1isz
+d2kiv
+d2k
+dkkulcs1
+d2k1old
+d2kop
+d2k1or
+d2k1osz
+dk2
+d2kr
+d2k12v
+d2kz
+d2k
+dk2rm
+d2k1ut
+d2lad
+d2lam
+d2l12
+d2leg
+d2le2l
+dl1el
+d2les
+dl1est
+2d12let
+d2lim
+d2lio
+dlk2z1n
+d2lo
+d2l12
+2d12l
+d2l1u2
+d2lk
+d2ly
+d2m1e2l
+d2m1e2m
+dna2
+dn1ac
+dnr1a2
+2d12neke
+d2ny1el
+d2nyid
+d2nyo
+d2ny
+dp2i
+2d12p
+2d12p
+d2rag
+d2ral
+d2r1an
+d2rar
+d2ras
+d2r
+dr1d2
+d2reg
+dr1eml
+dr1es
+d2r1est
+d2rez
+d2rs
+d2rif
+d2r1ik
+d2r
+d2rot
+dr2
+d2rr
+d2r
+2d1rt
+2d1rth
+d2r1t
+d1ry
+2d1rz
+dsa2
+d2s1aj
+d2sal
+d2sap
+d2sar
+d2s1az
+ds2
+d2s1r
+d2seg
+d2s1e2l
+d2s1eti
+d2s1g
+d2s
+d2s
+d2s12t
+dsz1ak
+d2s3z
+d2sz1k
+d2szv
+d2sz1o
+d2sz
+d2t1as
+d2t1e2g
+d2t1is
+2d1tke
+d2tr
+2d1v.
+2d1vb
+2d12ve.
+2dvei
+2d12vek
+2d12vem
+2d12ven
+2d12ves.
+2dvesb
+2d12vesek
+2d12vesen
+2d12vesh
+2dvesi
+2dvesk
+2d12vesn
+2dvesr
+2d12vess
+2d12vet
+2d1vez
+2d12vb
+2d12vi
+2dvn
+2dvr
+2d12vt
+2d12vv
+2d1vf
+2d1vh
+2d12vi
+2d1vk
+2d1vn
+2d1vr
+2d1vs
+2d1vt
+2d12vu
+2d12v
+2d1vv
+2d1vz
+df2nyem
+df2lo
+df2l
+df2r
+df2re
+df2ri
+df2ro
+df2r
+dg2zr
+dgzt1
+dg2zi
+dg2z
+d2ge.
+dg2le
+dg2li
+dg2l
+dg2ra
+dg2r
+dg2r
+d2gyu
+d2hali
+dhan2g1e
+dh2t1
+d2hi.
+d2hi
+d2hih
+d2hii
+d2hij
+d2hik
+d2hir
+dh2s12
+1di
+di2aa
+di2a
+dia1b
+di2ab
+di2abi
+di2abr
+di2ac
+dia1d2
+dia3da
+di2adi
+di2ado
+di2ae
+di2a
+di2afa
+di2agy
+di2ah
+di2ai2k
+di2a
+di2aj
+di2akp
+di2akol
+di2ala
+di2al
+di2ali
+di2am
+di2ana
+di2an
+di2ani
+di2an
+di2ao
+di2a
+di2a
+di2a
+di2a1p2
+di2ara
+di2asza
+di2aszk
+di2asz
+di2a1t2
+di2au2
+di2a
+di2a
+di2a
+di2av
+di2az
+di2k1e
+di2kol
+din3n
+di1c2k
+di2cs1aj
+di2cs1e2r
+2d1i2deg
+2didej
+di2deo
+2d1i2dn
+di2d1i2o
+2d1i2d
+di2eu
+di1fl
+di2ga.
+2d1i2gn
+di2ge.
+di2g1e2l
+2d1i2gn
+di2gt
+2dijes
+di2kp
+di1k2l
+2d1i2konh
+di1k2ro
+dik1u2ta
+di1k2v
+di2lan
+dile2m
+dilig2
+di2l
+di2l1
+di2l
+di1ly
+di2ma.
+2d1i2m
+di2mit
+2d1imp
+2d1i2naka
+2dind
+2d1inf
+dinga2
+din2gal
+2d1ing
+2d1inger
+2d1i2nic
+di2n1ing
+2d1inj
+di2nd
+di2n1m
+di2n12n
+di2n12r
+2d1inp
+2d1int
+2d1inv
+di2oa
+di2oi
+di2ok
+di2ol
+di2ome
+di2ov
+di2a
+di2
+di2e
+di2g
+di2
+di2kam
+di2k
+di21kl
+di2kok
+di2ku
+di2m
+di2o
+di2
+di2
+di2
+di21p2
+di2r
+di2ri
+di2si2
+dis1ik
+di3sor.
+di2spe
+di2sz
+di2u
+di2
+di2
+2dipar.
+2d1i2par
+2diparb
+2d1i2pari
+2d1i2paro
+2d1i2rat
+2d1i2r
+2d1i2rod
+2d1irt
+di2saj
+2d1i2si.
+2d1isko
+2d1ism
+2d1iste
+di2tal
+dit1a2la
+dit1ar
+di2t1e2g
+dit1t2
+di2t
+dium2
+diu2m1n
+diu2mil
+di2t
+di2vad
+2d1i2var
+diva2t1a
+2d1i2z
+1d
+d2g
+d2j1to
+d2je
+d2j
+d2j
+d2j
+2d12r
+dri2
+d2rik
+2d12r
+d2sz1a
+d2szer
+d2sz
+dts3s
+2d1v.
+2d12ve
+2dvn
+2d12v
+2d12v
+d2zi
+d2zs
+d2z
+d2z
+dj2eg
+dje2gya
+dj1is
+djo2n1
+dka2n12
+dkia2
+dkie2
+dk2la
+dk2li
+dk2lo
+dk2lu
+dk2r
+dk2r
+dk2ri
+dk2ro
+dk2r
+dk2va
+dk2vi
+dls3s
+dl2s3z
+dle2
+dl1g2
+dlt2
+dl1kr
+dme2g1r
+dna2pe
+dn2v1
+dn2k12l
+1do
+do2z
+do2b1ag
+do2b1a2l
+doba2n
+do2b1any
+do2b1r
+do2bt
+dobe2
+do2b1el
+do2b1ill
+do2b
+2dobje
+do2bo
+do2b1old
+do2b1or
+do2b
+do2b
+do2b
+2d1o2d
+do2gar
+do2gr
+dogs1s
+do2g1ol
+do2gor
+dogos3s
+do1g2r
+do2g
+do2kal
+do2kas
+do2kj
+do2k1l
+do2k1e
+do2k12l
+do2kp
+dokk2
+dok2k1b
+dok2k
+do2k1ott
+2d1o2koz
+do2k
+dok2t
+dok1to
+do2k
+2d1o2laj
+dola2tar
+dola2t1e
+dola2t1r
+2d1olda
+2d1old
+2d1oldo
+2d1old
+2d1oltr
+2d1olts
+2dolvas
+dom1a2c
+do2m1rb
+do2m1r
+do2m1rh
+do2m1rj
+do2m1rk
+do2m1rl
+do2m1rn
+do2m12ron
+do2m1rr
+do2m1rt
+dom2ba2l
+dom2bel
+dom2bol
+dom2bn
+do2mel
+2dom
+2doml
+do2m1ond
+do2m
+2dom
+do2m
+do2n1ad
+dona2l
+don1ala
+do2n1a2r
+do2n1as
+do2n1l
+do2n1ta
+do2n1tj
+do2n1ts
+do2n1tv
+don1d2
+do2n1e
+donos1s
+do2n1osz
+do2n
+don1s
+dont2
+don1tr
+do2n
+do2nyal
+do2nyar
+do2nye
+do2ny
+2d1o2pe
+do1p2l
+dor1akn
+do2r1a2l1
+do2r1a2p
+do2r1as
+do2rat
+dor1ll
+do2r12lo
+dord2
+dor1dr
+do2r1e2
+do2rid
+do2r1il
+do2r1is
+do2r1ita
+dor1k2
+do2r1okl
+dor1oszt
+do2r
+do2r
+2d1orr
+dors2
+dor1sp
+dor1tr
+dor2t
+do2r
+2dorvos
+do2ug
+do2ut
+do2vi
+do1ye
+1d
+da2d
+d2g
+d2r
+d1bl
+2dez
+d1fl
+d1f2r
+2dg
+d1g2r
+di2g
+d2v
+d1k2l
+d1kr
+d1k2v
+d2mab
+d2mak
+dm1org
+d2m
+d2r
+d1p2l
+d1p2r
+d2rd
+d12rk
+d2ri
+d2sam
+d2sas
+d2sel
+3dsi.
+d2sip
+d2sis
+d2sr
+d1s2k
+d1spe
+d1spi
+d1s2r
+ds3s
+d1stb
+d1str
+d2s12
+dsz2
+d1szf
+d1szp
+d1t2r
+2d12v
+1d
+d1bl
+d2ga
+d2g
+d2g1el
+d2gev
+dg3g
+dgna2
+d2go
+d2g
+dg12l
+d2g1
+d2gu
+d2ka
+d2k
+d2k1el
+d2k1e2r
+d2kk
+d2k1r.
+d2k
+2dntz
+d2ra
+d2r
+d2ro
+2d12rks
+2d1sz
+d1tl
+dt2trt
+d2ve
+d2vi
+1d
+da2n
+d2g
+d1bl
+d1cl
+d1dra
+de2l
+de2r
+d2l
+d2te
+d1fl
+d1f2r
+dg2p1e2k
+d1gr
+dir2
+di2ta
+d1kl
+d1kv
+d2ny1a
+d2nyele
+d1pl
+d1pr
+2drb
+2d1rl
+2d12reb
+dr1egy
+dr1ele
+dr1el
+2d12rem
+2d12r.
+2d12rh
+2drk
+2d1rl
+2drn
+2d1rh
+2d1rif
+2d12ril
+2d12r1in
+2d12rip
+d2r1is
+2drok
+2d1ror
+2dros
+d2rd
+d2r1z
+2drr
+2drun
+2drur
+2d12rut
+2d12r2
+dr1g
+dr1l
+2d1rz
+d2s1rv
+d1sk
+d1s2m
+d1sni
+dso2d
+ds1odo
+d1spe
+d1s2pi
+d1sp
+d1s2ta
+d1st
+d1str
+d1sv
+d1sz2
+dt1ll
+d1t2r
+dp2la
+dp2le
+dp2l
+dp2ra
+dp2re
+dp2r
+dp2ri
+dp2r
+dp2ro
+dp2r
+dp2sz
+dra1ps
+dravasz1
+drg1g
+dr2sz1l
+dr2sze
+drta2
+dr2tal
+dr2t1e2
+dr2t1r
+dren2d12
+1d2ressz.
+1d2resszb
+1d2ressze
+1d2resszh
+1d2resszk
+1d2resszr
+1d2ressz
+dr2sz
+dro2g1a
+dro2g
+dro2gen
+drog2n1i2
+drog3g
+dro2g12
+dro2n1a2
+dro2nyi
+drosz2
+dro1szf
+dro1t2r
+dr2baj
+dr2t1a2
+dr2t12
+dr2tis
+dr2t12
+d2rui
+dru2se
+dru2si
+dsg1g
+ds2g1el
+ds2gl
+ds2k
+ds2li
+ds2pe
+ds2pi
+ds2po
+ds2r
+ds2ta
+ds2t
+ds2t
+dst2r
+dsza2k
+dsz2las
+dszraz1
+dsz2e
+dsze2ra
+dsze2r1
+dsze2r1elv
+dsze2r1o
+dszert2
+d1sz2l
+d1szn
+d1sz2p
+d1sz2t2
+d1sz2v
+dta2g1a2
+dtalpa2d
+dtal2p1ada
+dtal2p1al
+dta2n12s
+d2t1kn
+d1t2r
+d1t2r
+d1t2ri
+d1t2ro
+d1t2rf
+d2t1l
+1du
+du2cem
+du2c3h
+du2c
+du2c
+due2l
+du2gal
+du2g1r
+2d1ugr
+2duit
+2d1ujj
+dula1k2
+dula2t1
+du2l1e
+du2lp
+duli2
+du2l1im
+du2l1in
+du2lis
+du2l
+du2l
+du2l
+2d1u2ni
+2d1u2no
+2d1unt
+du2a
+du2
+du2d
+du2f
+du2l
+du2p
+du2rai
+du2rak
+du2ral
+2d1u2rat
+du2rb
+du2rh
+du2rt
+du2ruk
+du2sal
+du2san
+du2sar
+du2s1as
+du2sl
+du2seg
+du2s1rt
+du2sin
+du2s1iv
+du2sol
+du2s
+du2s1
+2duszo
+dus3zs
+du2t1i
+2d1u2to
+du2t.
+du2tr
+du2tu
+1d
+d2ce
+d2ch
+d2cse
+d2c3so
+dc3sz
+d1dr
+d2j12
+d2j
+d2r1a2c
+d2ral
+d2r1e2
+d2rn
+2d12ron
+d2r
+d2sz
+d2sz
+d2t1a2
+d2t
+2d1tj
+d1tl
+2d1tn
+d2ton
+2d1tr
+1d
+d2d
+d2gy
+dgy1rn
+d2ha
+d2h
+d2hel
+d2ho
+d2h
+d2kt
+d2l
+2d1ld
+d2lep
+dls2
+2d1nne
+d2r
+d2te
+d2t
+d2t
+d2ve
+d2ze
+d2z
+1d
+d1pr
+d1rl
+d1sz
+d1tr
+d2z
+d2z
+dva2raj
+dva2r1e
+dva2r12
+dv2nyan
+dv2ny
+dv1ta
+dv1te
+dv1ece
+dv1e2leg
+dv1elk
+dven2t1
+dve2ral
+dve2rr
+dve2rip
+dver1s
+d2v1e2ss
+d2v1e2tet
+dv1lm
+d2v1p
+d2v1rd
+d2v12ri
+d2v1rt
+d2v1rz
+dv1fr
+dvi2csa
+dvi2cs
+d2v1iga
+dvigaz1
+dvitz1
+dv1or
+dv2l
+dv1l
+dv1s
+dv1z
+dv1pr
+dv1un
+dv12t
+d2v1g
+d2v12z
+d2v1z
+dwa1yi
+dy1as
+d1yb
+d1yn
+dy1t
+d1yv
+dy2j
+dy2ke
+dyk2k
+dyk2n
+dyk2t
+dy2v
+d2z
+1dza
+dza2
+2d3zaj
+dzak2
+dza1kr
+1dz
+dz2r12ra
+dzs1s
+d3zsz
+1dze
+1dz
+dz2sa
+1dzi
+2d3zil
+1dz
+1dzo
+1dz
+1dz
+1dz
+dza2
+2dzb
+2dzd
+2dzj
+2dzn
+2dzr
+1dzsa
+1dzs
+1dzse
+2dzs1e2g
+2dzs1esz
+1dzs
+1dzsi
+2dzsir
+2dzs1is
+d3zsiv
+1dzs
+2dzso2
+dzs1ok
+1dzs
+1dzs
+1dzs
+dzs1s
+1dzsu
+1dzs
+2dzsj
+1dzs
+1dzs
+1dzu
+1dz
+1dz
+1dz
+2e.
+e1a
+ea2bl
+e2abo
+e2ab
+ea2da
+ea2d
+eads1s
+ea2d
+ea1d2r
+ea2du
+ea2d
+e2af
+e2afe
+e2afi
+e2afo
+e2af
+e2af
+e2af
+e2af
+ea2gi
+e2ag
+e2aid
+e2ail
+e2aim
+e2aip
+e2ais
+ea2ja
+e2ak.
+ea2kas
+e2akat
+e2ak
+e2akb
+e2ake
+e2akp
+e2akh
+e2aki
+e2ak
+e2a1kl
+e2ako
+e2ak
+e2ak
+e2a1k2r
+e2ak
+e2ak
+e2aln
+eal1eg
+ea2lu
+e2am.
+e2ama
+e2am
+e2amel
+e2amer
+e2am
+e2amin
+ea2mo
+e2amu
+e2am
+e2am
+e2ane
+e2an
+e2an
+e2ans
+ea2nya
+e2api
+e2apo
+e2ap
+ea1p2ro
+e2ar.
+ea2ran
+ea2ras
+ea2rat
+ea2r
+e2arb
+e2are
+e2arh
+e2arj
+e2arn
+e2ar
+e2arr
+e2aru
+e2ar
+e2aso
+e2a1st2
+e2as
+e2as
+e2aszem
+e2asz
+e2ata
+e2at
+e2atc
+e2ate
+ea2t1eg
+e2at2
+ea2tl
+ea2t1ne
+e2atf
+e2atg
+e2ath
+ea2tid
+eat1ing
+ea2tip
+ea2tir
+e2atm
+eatmo1s
+eatmosz2
+e2atn
+e2ato
+ea2t1or
+e2at
+e2at
+ea1t2rak
+eat2rn
+e2ats
+e2atu
+e2a2t
+e2at
+e2atz
+e2au.
+ea2ut
+e2a2ux
+e2avi
+ea1vy
+ea2zo
+e1
+e2b
+e2cs
+e2ga
+e2g
+e2gi
+e2go
+e2gu
+e2gy
+e2h
+e2k1e
+e2k1osk
+ela2
+e2lad
+e2l1ak
+e2ll
+e2l12r
+e2l1e2
+el2
+e2ll
+elfe2
+e2lid
+e2l1in
+e2lir
+e2lism
+e2lop
+e2l1r
+e2l
+e2mu
+e2nac
+e2nal
+e2n1at
+en2
+e2nr
+e2n1t
+e2n1e2
+e2ny1a2l
+e2ny1a2n
+e2nyap
+e2nyar
+e2ny1as
+e2nyav
+e2ny1e2
+e2nyn
+e2ny1r.
+e2nyif
+e2ny1ing
+e2nyis
+e2ny1o2ku
+e2ny
+e2po
+e2rad
+e2ram
+e2ras
+e2raz
+e2ru
+e2r
+e2sa
+e2s
+e2s
+e2s
+e2su
+e2sz
+eta2
+e2t1e2
+e2t
+e2t
+e2tu
+e2t
+e2ba2d
+eb1ad
+eb1adta
+eb1aga
+e2b1ajk
+e2b1a2la
+e2b1alk
+eb1ant
+eb1a2ny
+eb1atl
+e2b1au
+eb1a2zo
+eb1gg
+e2b1p
+eb1ra
+ebe2
+e2b1e2he
+eb1ejt
+ebe2l1
+e2b1e2lef
+ebe2l1eme
+e2b1elhel
+e2b1enc
+eb1este
+eb1est
+ebe2szek
+e2b1ex
+e2b1g
+eb1p
+e2b1rd
+e2b1rt
+e2b1rz
+eb1gr
+e2b1id
+e2b1i2na
+e2b1inf
+e2b1ing
+e2b1ir
+e2b1i2s
+e2b1izz
+eb1kl
+eb1kr
+eb2lat
+e1b2l
+eb1okt
+eb1o2la
+eb1orv
+eb1b
+eb1s
+eb2rus
+eb1st2
+eb1tr
+e2b1g
+eb2l
+eb1l
+e2b1r
+eb1z
+ec1ajt
+ec1alk
+e2c1a2n
+e2c1az
+ec1g
+e2c1l
+ec1r
+ec1bl
+ec2c1a2
+ec2c1r
+ec2c3h
+ec2c1i
+eccs1t
+ec3cso
+ec2c
+e2c1eg
+e2c1elo
+e2c1elv
+2ecento
+e2cetb
+ece2t1o
+1e2cets
+1e2cett
+e2cet
+ece2tz
+e2c1ev
+ec3har
+ec3hen
+ec3hi.
+ech1in
+1e2ch
+ech1u
+ec2le
+ec2lu
+e2csad
+e2cs1a2la
+e2cs1a2n
+ecsa2p12g
+e2cs1a2pk
+ecs1ar
+ecs2r
+ecs1r
+ecs1rb
+ecs1ro
+e2cs12t
+e2cs12l
+e2cs1r.
+ecs1rt
+e2cs1ol
+e2cs1l
+ecs1s
+ecsszs1
+e2c3skb
+e2c3st
+ec3sze
+e2c1ud
+ec3z
+ec3ze
+e2d1ab
+e2d1a2d
+ed1a2ny
+e2d1a2z
+e2d12c
+e2d1g
+e2d1p
+ed1egy
+edeleme2
+e2d1elo
+e2d1eml
+ede2rak
+ede2r1l
+ede2rel
+ede2r1k
+ede2r1o
+ede2r12l
+ede2s1o
+ede2t
+ede2tel
+ede2t1r.
+e2d12j
+ed2k
+ed2kis
+ed2k1o
+ed2ly
+ed2lyo
+1e2dnn
+1e2dny
+e2d1p
+e2d1rd
+ed2sa
+ed2so
+eds3s
+ed2s3z
+ed12vn
+ed12vr
+ed1gr
+2edic
+e2dide
+e2d1i2ga
+edigaz1
+ed1ill
+e2d1int
+e2d1ira
+ed1iro
+e2d1r
+ed1vn
+e2d1z
+ed1old
+ed1orv
+e2d1os
+e2d1s
+e2d1rs
+ed2s1
+ed1pl
+ed1pr
+ed2ram
+e1d2rog
+e1d2r
+e2d1g
+e2d1t
+e2d1z
+ed2v1a2
+edv2
+ed2v1r
+ed2vt
+edv1r.
+ed2v1z
+edy1i
+e2d3z
+1e2dzi
+1edzj
+1edzr
+1e2dzv
+1edzv
+e1e
+ee2b
+ee2cs
+ee2dz
+ee2ge
+ee2g
+eegsz1
+ee2gy
+ee2he
+ee2ke
+e2el.
+ee2la
+ee2le
+e2elb
+ee2ld
+e2elg
+ee2lo
+ee2l
+ee2me
+ee3men
+ee2m
+ee2mu
+e2en.
+e2enb
+e2enj
+e2ent
+e2enw
+ee2ny
+ee2pe
+ee2p
+ee2po
+ee2re
+ee2ro
+ee2r
+ee2r
+ee2s
+ee2s
+ee2sz
+ee2te
+e2e1t2h
+ee2to
+ee2ve
+ee2v
+ee2vi
+ee2vo
+ee2v
+ee2z
+e1
+e2de
+e2ge
+e2g
+e2g
+e2g
+e2he
+e2je
+e2j
+e2ke
+e2k
+e2le
+e2l
+e2li
+e2l
+elksz1
+e2l
+e2l
+e2me
+e2ne
+e2p
+epts1s
+e2p
+e2r
+e2ri
+e2r
+e2r
+e2sz
+e2te
+e2ve
+e2v
+e2vi
+e2v
+efa2x1i
+efek2t
+efek2t12
+efeny2
+ef2f1in
+ef2f1o
+e1f2la
+efle2x1i2k
+ef2lu
+efo2n1alk
+efo2nik
+eforma2
+efor2m1al
+ef1pl
+e1f2r
+ef2r
+e2g1a2b
+ega2be
+eg1abl
+eg1abr
+e2g1a2c
+ega2cs
+e2g1a2d
+e2g1a2g
+ega2i
+e2g1a2j
+e2g1a2k
+e3gak
+ega2lac
+ega2lak
+ega2lan
+eg1a2lap
+e2g1a2l
+e2g1alh
+e2g1alj
+e2g1alm
+e2g1als
+e2g1alt
+e2g1a2m
+eg1ang
+eg1ann
+eg1ant
+eg1a2ny
+e2g1a2pa
+eg1ap
+ega2po
+eg1a2p
+e2g1apr
+eg1arc
+ega2ri
+eg1a2ro
+eg1art
+e2g1ass
+e2g1a2sza
+e2g1a2szo
+e2gasz
+eg1atk
+ega1t2r
+e3g2aty
+e2g1a2u
+eg1a2va
+e3gazol
+ega2zon
+e3gba
+e3gb
+eg12cs
+e2g1f
+e2g12g
+eg1h
+e3g2i
+e3gja
+e3gj
+eg2ju
+eg2m
+e3g2n
+e2g1p
+e2g12r
+e2g1rb
+e3g2rg
+e2g1rn
+eg2ro
+eg1rt
+eg2ru
+eg2r
+eg2sa
+e3gt.
+e3g2tu
+e3gva
+eg2z
+eg2zi
+eg2zu
+eg1bl
+eg1br
+eg1d2r
+e2g1e2b
+ege2cs12
+eg1edz
+eg1e2ge
+eg1ehe
+e2g1e2ks
+e2gela
+e3geled
+ege2leg
+ege2lej
+e2gelekt
+eg1e2lemb
+e2g1e2leme
+e2g1e2lemn
+e2g1e2lemr
+e2g1e2lemt
+ege2l1e2s
+eg1elg
+eg1e2lr
+e2g1elf
+e3g2elg
+e2g1elha
+e3g2elit
+e2g1elj
+e2g1elm
+e3g2elne
+e2g1elo
+e3g2el
+ege2lbbe
+e3g2eld
+e3g2elf
+e3g2eli
+e3g2elm
+e3gelnye
+e2g1elt
+e3g2eltet
+e3g2elt
+e2g1elv
+e2g1elz
+e2gemel
+e3gend
+e3genye
+eg1epe
+eg1epr
+e3ger
+e2gerd
+1egere.
+e2gered
+1e2gerek
+e2ger
+ege2rny
+eg1erk
+e3gerl
+e2g1er
+e2g1er
+eg2esek
+e2g1esete
+e2g1eszk
+e2getal
+eg1e2ve
+e2g1ex
+e2g12g
+e3gmb
+e2g12neke
+e2g12nekk
+eg2ny1e2l
+e2g1p
+eg1ps
+e2gr.
+e2grb
+eg2r1es
+eg2re2t
+egr1ete
+eg2rez
+e2gr
+eg2rs
+e2grg
+e2gri
+eg2ri.
+e2grk
+e2grn
+eg12r.
+e2grr
+e2grs
+eg1rt
+eg1rth
+e2grt
+e2grv
+e2gsz
+eg1szl
+1egszs
+eg1te
+eg1fl
+eg2gim
+eg3gyal
+eg3gyan
+eg3gys
+eg3gy
+e3gi.
+eg1ibr
+eg1idd
+eg1i2de
+e3gie
+egi2g
+e3gig.
+e2g1iga
+e2g1ig
+eg1ij
+e2g1i2ko
+eg1ikr
+e2gill
+eg1imb
+e2gimm
+eg1inf
+e2g1ing
+eg1ino
+eg1ins
+e3g2io
+eg1ira
+eg1i2ro
+eg1iss
+eg1ist
+egi2sz
+e2g1i2ta
+e3git
+e2g1iva
+e2g1iv
+e3give
+eg1iz
+eg1izg
+eg1izm
+eg1izz
+e2g1g
+e2g1n
+e2g12r
+e2g1v
+e2g1z
+eg1kl
+eg1kr
+eg1kv
+e2g1ob
+e2goc
+e2g1o2d
+e2goi
+e2g1o2k
+eg1o2la
+e2g1old
+eg1olv
+e3goly
+2egom
+ego2mi
+e2gont
+e2g1op
+eg1org
+e3g2orom
+ego2ros
+e2g1orr
+e2g1orv
+e2g1o2s
+e2g1ot
+e3g.
+e3g2b
+eg2do
+eg12ra
+eg1r
+eg1v
+e2g1b
+eg1k
+eg1nt
+eg1r
+e3grg
+eg2rm
+eg1t
+eg1v
+e2g12z
+egksz1
+e3gre
+eg1ri
+eg1r
+eg2szi
+e3g2z
+eg1pl
+eg1pr
+eg1ps
+e1g2rat
+e1g2rf
+eg1sk
+eg1sl
+eg1sm
+eg1sp
+eg1s2t
+egsz2
+eg1szt
+eg1tr
+e3g2ub
+eg1ud
+e3g2um
+eg1u2n
+e2g1u2ra.
+e2g1u2rai
+e2g1u2rak
+e2g1u2ras
+e2g1u2rat
+e2g1u2r
+e3guru
+e2g1u2s
+e2g1u2t
+eg1u2z
+eg1j
+e3g2n
+eg1r
+eg1s
+eg1t
+e2g1d
+eg2gye
+e2g12le
+eg12li
+e2g1s
+e2g1t
+e2g1v
+e2g1z
+e2g1z
+egvrosi2
+e2gy1a2d
+egy1a2g
+e2gy1aj
+egy1akt
+egy1a2la
+e2gy1ar
+e2gy1as
+egy1a2t
+e2gy1au
+egy1az
+e2gy1l
+egy12r
+egy1rf
+e2gyt
+egy1eleg
+egy1elf
+egy1ell
+egy1elo
+egy1e2lj
+egy1e2lv
+egy1elz
+e2gyeni
+1e2gyenl
+1e2gyens
+egy1eszt
+1egyezm
+egy1ks
+1egyni
+egy1r.
+e2gyip
+e2gyis
+e2gy1iz
+egy1ok
+e2gy1ol
+egyo2r
+e2gy1os
+egy1ot
+e2gy12r
+egy12l
+e2gy1s
+e2gy1z
+egy12r
+egyu2
+egy1ur
+egy1ut
+1egyt
+1egzis
+eha2de
+eh2zal
+eh1ell
+ehe2lyes
+ehe2rl
+ehe2rt
+ehere2
+ehe2r1el
+ehe2r1em
+ehe2ren
+ehe2res
+ehe2rin
+ehe2rol
+e2h12je
+eh2n
+eh2nv
+eh2z
+eh2zo
+e2h1ors
+eh1sz
+e1i
+ei2b
+ei2h
+ei2j
+ei2n
+ei2r
+ei2t
+ei2v
+e2ibn
+ei2de
+ei2dei
+ei2deo
+ei2dn
+ei2dom
+ei2d
+e2idp
+e2ier
+ei2g
+ei2g
+e2i1g2n
+ei2gy
+ei2ha
+eil2le.
+ei2ma
+ei2m
+ei2mit
+e2imk
+e2ims
+e2imz
+ei2na2
+ein1ad
+ei2n12
+ei2neg
+e2inr
+e2int
+ei2n1ita
+ei2nol
+ei2n
+ein1t2r
+ei2n
+ei2on
+ei2pa
+ei2ram
+ei2rat
+ei2ri
+ei2rod
+e2ir
+ei2ta
+e2itb
+e2itj
+e2itn
+e2itr
+ei2va
+ei2v
+ei2vo
+ei2v
+ei2z
+e2izmi
+ei2zo
+e1
+e2g
+e2j
+e2j
+e2ra
+e2r
+e3rsbe
+e3rsil
+e3rsoc
+e3rsonk
+e2r.
+e2ra
+e2r
+e2rb
+e2rdn
+e2rf
+e2rg
+e2rh
+e2ri.
+e2rik
+e2rin
+e2rit
+er2
+e2rja
+e2rj
+e2rje
+e2rju
+e2rk
+e2rm
+e2rn.
+e2rna
+e2rn
+e2rny
+e2rr
+e2rt
+e2rv
+e2t
+e2v
+e2ve
+e2v
+e2vi
+e2vo
+e2v
+e2ze
+e2z
+e2z
+ej1ab
+e2j1a2d
+ej1a2g
+e2jak
+ej1akk
+ej1a2l
+ej1a2n
+ej1ar
+ej1au
+ej1a2z
+ej1b
+e2j12g
+ej1l
+e2j1rt
+ej12t1e2
+ej1tv
+ej1bl
+ej1br
+ejcsa2p1
+ej1dr
+eje2c
+e2j1ecse
+e2j1ef
+ej1e2ged
+e2j1e2g
+e2jekc
+e2j1ela
+e2j1elc
+e2jelede
+e2j1e2lemb
+e2j1e2leme
+ej1e2lem
+e2j1e2lemn
+e2j1elf
+e2j1elha
+e2j1elhel
+e2j1elo
+ej1elsz
+ej1eltr
+e2j1elu
+e2j1eng
+e2j1enz
+e2j1essz
+eje2sz
+e2j1ex
+e2j12j
+e2j12k
+e2j1l
+e2j1p
+e2j1te
+ej1fr
+ej1g2r
+e2j1i2d
+e2j1im
+ej1ina
+e2j1int
+e2j1ip
+e2j1iz
+ej1g
+ej1v
+ej1kl
+ej1kv
+ej2mok
+ej1ol
+ej1op
+ej1c
+ej1n
+ej2s
+ej1t
+ej1v
+e2j1b
+e2j1l
+ej12ve.
+e2j1z
+ej1pl
+ej1pr
+ej1sp
+ej1st2
+ej2tad
+ej2tau
+ej2tl
+ej2tt
+ej2t1elk
+ej2t1este
+ej2tev
+ejt2r
+ejt1r
+ej2tin
+ej2tiz
+ej2tos
+ej2t12r
+ej2td
+ej2t12l
+ej2tn
+ej2ts
+ej1tra
+ej1tr
+ej2tr
+ej1j
+ej1r
+ej12t
+e2j1g
+e2j1r
+e2j12t
+e2j1v
+e2j1z
+e2k1abl
+ek1a2c
+ek1a2d
+e2k1a2d
+eka2gy
+ek1a2ja
+e2k1ajt.
+e2k1ajti
+e2k1ajtk
+e2k1ajtn
+e2k1ajtr
+e2k1ajtt
+ek1a2kar
+e2k1alj
+e2k1a2lo
+ek1alt
+ek1ang
+e2k1ani
+ek1a2ny
+ek1arc.
+ek1arca
+ek1arcr
+ek1arc
+eka2sip
+e2k1au
+ek1azo
+e2k1g
+ek1llo
+ek1lm
+ek1rad
+ek2rai
+ek12rak
+ek1ras
+e2k12r
+e2k1rd
+e2k1rf
+e2k1rh
+e2k1rk
+e2k1rm
+e2k1rn
+e2k12ron
+e2k1rr
+e2k12ru
+e2k12r
+e2k1rv
+ek1s
+ek1ta
+ek1td
+e2k1th
+ek1tj
+e2k1tm
+ek12to
+e2k1tt
+ek1bl
+ek1br
+1ekcm
+ekci2f
+ek1cl
+ek1dr
+e2k1eb
+e2k1e2dz
+e2k1egg
+e2k1e2gye
+e2k1e2kb
+e2k1e2ks
+e2kela
+e2k1e2leg
+eke2leme
+ek1elha
+e2k1elk
+e2kell
+e2k1elm
+e2k1elo
+e2k1eln
+e2k1elr
+ek1elta
+ekel2t12r
+e2k1e2ma
+e2k1e2mel
+ek1e2ms
+ek1e2pi
+e2k1estr
+eke2szele
+eke2szo
+e2k1e2v
+e2k1evi
+1e2kh
+e2k1g
+1e2kik
+ek1kek
+e2k1kt
+ek12le
+ek1ln
+ek1l
+e2k1p
+e2k1rin
+ek1rtkb
+ek2rl
+e2k1sz.
+e2k1szh
+e2k1szn
+ek2tel
+e2k1tk
+e2k1tl
+e2k1tt
+e2k12ve.
+e2k12vek
+ek12vet
+e2k1vi
+ek1fr
+ek1gn
+ek1gr
+eki2
+ek1i2ga
+ekigaz1
+ek1i2ge
+e2k1ig
+ekii2
+ek1ill
+e2k1ima
+eki2mr
+e2k1in
+ek1ind
+e2k1isk
+ek1ism
+e2k1isp
+ek1i2zo
+e2k1j
+ek1r
+ek1z
+ekka2r2
+ek2k1ele
+ek2k1elf
+ekk1osz
+ek1kri
+ek2k
+ekls3s
+ek2lim
+ek3n
+e2k1o
+ek1obj
+e2k1odv
+e2k1o2la
+ek1oll
+e2k1olv
+e2k1o2pe
+ekor2da
+ekor2d12
+ek1o2rom
+ek1orra
+e2k1orv
+ek1otth
+e2k12h
+ek12ra
+ek12r
+ek2k
+e2k1k
+e2k12l
+ek12l
+e2k1m
+e2k1nk
+e2k1nt
+ek2ri
+e2k1rv
+ek1pl
+ek1pr
+ek1ps
+e1k2ram
+e1krt
+ek2ris
+e1k2r
+ek2rm
+ek1sl
+ek1sm
+ek1sp
+ek1st
+eksz1al
+ek2szip
+ek2tau
+ek2taz
+ekt1elk
+ek2t1esz
+ek2t1rd
+ek2til
+ek2tim
+ek2t1i2o
+ek2t1ok
+ektus1s
+e2k1ud
+e2k1u2ra
+ek1uro
+e2k1ut
+e2k1ut
+e2k1uz
+e2k1j
+e2k1r.
+ek2t
+ek1to
+ek1tv
+e2k1nn
+ek2t
+ek1t
+ek1zl
+e1k2v
+el1a2ba
+el1abl
+el1a2bort
+e2l1a2c
+e2l1a2d
+el1agg
+el1a2gy
+el1a2j
+e2l1akad
+e2l1a2kas
+el1akc
+e2l1a2l
+el1a2m
+el1ana
+elan2di
+el1a2ne
+el1a2ni
+el1ann
+ela2ny
+el1a2pa
+ela2r
+el1ara
+el1ar
+el1ar
+el1asza
+el1aszi
+el1asz
+el1aszu
+e2l1a2u
+el1a2va
+el1a2ve
+el1azo
+el2b
+el1g.
+e2l12ga
+el1gg
+el12gi
+el1gn
+el12go
+el12j
+el1ld
+el1ll
+el12lo
+el2m
+el1m
+el2n
+el2n
+el2ne
+el2n
+el12p
+el1r.
+el12r
+el1rb
+el1rc
+el12re
+el12r
+el1rf
+el1rh
+el1rk
+el1rn
+el12ro
+el1r
+el1rr
+el1rt
+el12ru
+el12r
+el2s
+elta2
+el1t1e2
+el1tf
+el1tk
+el1tl
+el1tm
+el1tr
+el1zi
+el1zo
+el1zt
+el1bl
+el1br
+2eld.
+el1d2r
+ele1bre
+2eled.
+1e2ledel
+el1eff
+ele2g1e2l
+el1e2gyene
+e2legy
+el1egz
+ele3ran
+ele1k2l
+ele2k1os
+ele1kr
+1elektr
+e2l1elb
+e2l1e2lemb
+e2l1elm
+e2lelz
+el1elr
+ele2mad
+e2l1ember
+1eleme.
+1e2lemei
+1elemek
+ele2mell
+1e2lemem.
+1e2lememm
+1e2lemes.
+1e2lemesn
+ele2mesz
+ele2mlt
+ele2mrd
+1e2lemk
+1e2lemnk
+1e2lemz
+1e2lemz
+2elend
+e2lener
+ele2nl
+ele2
+ele2pal
+ele2pap
+ele2pele
+ele2pell
+ele2p12r
+e2lerd
+el1e2red
+el1e2rei
+el1erj
+e2l1ern
+ele2rz
+ele2sege
+ele2ssb
+ele2sse
+ele2ss
+ele2ssh
+ele2ssi
+ele2ssk
+ele2ssn
+ele2ssr
+ele2sss
+ele2sst
+ele2ss
+ele2sik.
+e2l1esnn
+ele2sb
+ele2ss
+e2l1essl
+ele1sta
+ele2szek
+ele2t1e2kt
+ele2teti
+ele2tetn
+ele2tet
+ele2t1k
+ele2tl
+e2l1ettk
+ele2
+1e2l1e2vk
+el1e2xi
+e2lbb
+el2du
+el12ges
+el12get
+el1gj
+el1gtek
+el1gv
+el12het
+elka2
+el2kak
+el2k1an
+el2k1
+el2k1e2le
+el2kev
+el2keze
+el2kezi
+el2kezt
+el1k
+el2k
+el2ku
+el1l.
+el1ld
+el2led
+el12let
+el12l
+el1lh
+el12li
+el1lj
+el1ln
+el1ls
+e2l1lt
+el12l
+e2l1lv
+e2l12neke
+e2l12nekh
+e2l12red
+e2l12rem
+el2rend
+e2l12rez
+el2rt.
+el2ri.
+e2l1rp
+e2l1rr
+e2lrtel
+e2l1rt
+el1rth
+e2l1rt
+e2l12r
+e2l1rz
+2elst
+el2so
+2elsz.
+2elszel
+2elszem
+2elszne
+2elszn
+2elsz
+2elsz
+2elszv
+el2tel
+e2l12tes
+el2tete
+e2l1tk
+e2l1tt
+e2l1v.
+el1fl
+el1f2r
+el1gl
+1elhap
+el2ib
+el1ideg
+el1id
+el1i2do
+el1iga
+e2l1ig
+el1ill
+e2l1i2ma
+e2lim
+e2l1imp
+e2l1i2na
+e2l1into
+el1i2on
+eli2
+e2l1i2p
+e2l1ira
+e2l1i2ro
+e2l1i2si
+e2lism
+el1iss
+el1iste
+eli2tin
+eli2tol
+elitu2
+el1i2v
+e2l2ix
+el1i2zo
+e2l1g
+el12r
+el12v
+elka2r1
+1elkezd
+1elkezd
+el3ki
+el1k2l
+el1k2r
+el1kv
+el2l1a2d
+el2l1a2d
+ell1alk
+el2l1amb
+el2lamp
+ella1t
+el2lau
+el2l1br
+el2l1ll
+1elltso
+1ellts
+1elltm
+el2lef
+elle2g12
+ell1elk
+el2lelm
+1ellen
+1ellenes
+1ellenf
+1ellen
+1ellens
+1ellenz
+el2lid
+ell1inf
+ell1ing.
+ell1int
+el2l1or
+ell1osz
+ell1r
+el2ln
+el2ls
+el2l1r
+1elmh
+1elml
+1elmte
+1elnp
+1elnk
+el1obj
+el1off
+el1oj
+e2l1o2k
+el1okm
+e2l1o2l
+el1oml
+el1omo
+el1ont
+el1opc
+e2l1ope
+el1oro
+el1orr
+el1os
+e2losz
+e2l1ox
+el2ig
+el2in
+e2l12ri
+el1b
+el12m
+e2l1n
+e2l1r
+e2l1s
+e2l12z
+2elp
+2elr
+2elb
+2elbi
+2elbo
+1eldei
+el2d12
+1eldje.
+2eldo
+1eldt.
+ele2r
+1e2lf
+2elf
+2elf
+1e2lhv
+1elh
+2elib
+2elik
+2elim
+2eliv
+2elja
+2elk.
+2elkrt
+1elkse
+1e2lkst
+2elkl
+2elk
+2elkt
+2elku
+2elk
+2elm
+2elm
+2elna
+1elnn
+2eln
+1elny.
+1elnyb
+2elnyer
+1elnyh
+2elnyi
+1elnyk
+1elnyn
+1elny
+1elnyr
+1elnyt
+1elny
+2el
+el1r.
+1e2lreg
+1elreh
+1elrej
+el1riz
+el1rl
+2elro
+e2l1r
+2els
+2elso
+2els
+el1s2p
+2elsze
+2elsz
+2elszi
+2elsz
+2elt
+2el
+2elvis
+2elviz
+1e2lz.
+e2lze
+2e3lzene
+1elzm
+el1p2l
+el1pr
+el1sk
+el1sl
+el1sm
+el1sz2t
+el2t1aj
+eltra2d
+eltr1ada
+2elte.
+el2t1e2rei
+2eltes
+2eltet.
+2eltete
+2eltet
+2elteth
+2elteti
+2eltetj
+2eltetn
+2eltets
+1eltettk
+2eltet
+2eltetv
+2eltb
+2eltl
+2eltt
+el1t2ra
+el1tr
+el1tr
+2eltk
+e2l1ud
+el1u2g
+elu2n
+el1und
+el1u2r
+e2l1u2t
+e2l1uz
+el1j
+el1s
+el12t
+el1c
+e2l1d
+e2l1g
+elgy1r.
+elgy1rn
+el2kn
+e2l1ltet
+e2l1r
+e2l1s
+e2l1t
+e2l1v
+e2l1z
+el1rt
+e2l1z
+elv1ada
+elv1a2d
+el2v1at
+el2v1rai
+el2v1ras
+el2v1rr
+elv1sz
+el2vt
+el2v1enc
+el2v1g
+elv1le
+el2v1r.
+el2v1ri
+el2vik
+elv1olt
+el2v12
+el2vd
+el2v
+el2v
+e2ly1a2
+e2ly12
+e2ly1e2kn.
+e2ly1el
+e2lyer
+ely1eszt
+ely12j
+ely12k
+e2ly1l
+e2lys
+e2ly1i2ko
+e2ly1ira
+ely2kj
+e2ly1o
+e2ly1
+e2lym
+e2lyn
+e2lys
+e2ly
+ely1ul
+ely2l
+e2ly1l
+e2m1ab
+em1a2dat
+em1a2ds
+e2m1a2do
+e2m1a2d
+e2m1adt
+e2m1a2gi
+em1a2ja
+e2m1aj
+em1ajk
+e2m1ajt
+em1a2ka
+em1ak
+e2m1aku
+em1a2lap
+e2m1all
+em1alm
+em1alv
+e2m1ana
+1eman
+e2m1a2ny
+ema2p
+em1ap
+em1apr
+em1a2rn
+em1asszo
+e2m1atl
+e2m1a2u
+e2m1a2v
+e2m1a2zo
+e2m1b
+em2l
+em1la
+em1ld
+em1li
+e2m1p
+em2r
+e2m1ra
+e2m1rn
+e2m1ro
+e2m1ru
+em1rv
+e2m1s
+emt1a2
+e2m1te
+e2m1tl
+em1tm
+e2m1tt
+e2m1tu
+1embarg
+1embered
+1emberf
+ember12
+1embers
+emb2len
+1embl
+em1bre
+1embri
+em1bro
+em1dr
+e2m1ef
+eme3ger
+eme3gi
+em1egyet
+em1egy
+e2m1egz
+e2m1e2ks
+e2m1ela
+em1elb
+1emelet
+1emelke
+e2m1ell
+e2m1elm
+2e2m1elo
+1emelb
+1emele
+em1elny
+1emels
+1emelv
+1emelty
+e2m1ember
+e2m1e2mel
+e2m1emu
+e2mener
+e2m1e2p
+e2m1e2rny
+e2m1e2r
+eme2sa
+em1e2set
+e2m1e2ss
+em1e2szem
+e2m1e2szet
+e2m1eszk
+e2m1eszm
+e2m1eu
+e2m1e2v
+eme2z1a
+eme2z12
+eme2z1o
+eme2z3s
+e2m1g
+e2m12he.
+e2m12hen
+e2m12hes
+e2mhs
+e2m12j
+em2k
+e2m1ke
+em1kr
+em12let
+e2mneke
+e2m1p
+e2mrtel
+e2m1rtke
+e2m1rtk
+e2m1rtkn
+em1szl
+em2t1a2
+em2tr
+e2m12tek
+em2tel
+e2m1tel.
+emt1elh
+emt1els
+em1fl
+emfoga2d
+emfo2gada
+em1f2r
+em1gr
+e2mid
+em1i2d
+emi2g
+e2m1iga
+e2m1ige
+e2m1ig
+em1iks
+emi2m
+em1ima
+e2mim
+e2m1inf
+e2m1ins
+e2m1inte
+e2m1i2p
+e2m1ira
+e2mir
+e2m1iro
+e2m1irt
+e2m1isk
+e2m1ism
+e2m1iste
+emi2sza
+emi2sz
+emi2szo
+em1iz
+em1izg
+e2m1i2zo
+e2mg
+e2m1j
+e2mr
+e2m12v
+em1kl
+em1kr
+1emlkm
+1emlkv
+emo2k
+e2m1okl
+em1oko
+e2m1okt
+em1ola
+e2m1old
+em1oll
+e2m1olt
+e2m1o2p
+e2m1ork
+e2m1ors
+e2m1orv
+emo1t2
+em2ra
+em12r
+e2m1b
+em2k
+e2m1k
+em2l
+e2m1ld
+em1l
+e2m1n
+e2m12r
+e2m1s
+em1v
+e2m12z
+em1r.
+em1rk
+em1rn
+em12r
+em1rr
+em1rt
+1empt
+em1pc
+em1p2re
+em1pr
+em1pro
+em1pr
+em1p2s
+em1sk
+em1sm
+em1sp
+em1s2t
+em1t2r
+1e2mu.
+e2mud
+e2mug
+e2muj
+1e2muk
+1emulz
+1e2mum
+em1uno
+e2mur
+e2musz
+em1utal
+e2m1u2t
+e2mutc
+e2m1ut
+e2m1j
+em1r
+e2m1t
+e2m1d
+e2m1g
+e2m12l
+e2m1nn
+e2m1r
+e2m1t
+e2m1v
+e2m1z
+e2m1z
+em1zr
+e2n1ab
+en1a2do
+en1agi
+e2n1a2j
+e2n1a2k
+en1a2la
+en1alk
+en1all
+en1alm
+e2n1a2n
+en1a2p
+ena2p1e
+en1a2r
+en1arc
+en1asz
+en1atk
+en1aut
+en1br
+en1g
+en1ld
+en1lm
+e2n1ra
+en1rn
+en12ro
+e2n1ru
+en1tk
+en1tm
+en1tv
+e2n1z
+en1bl
+en2c1a2
+en2c1r
+en2c3h
+en2cip
+en2c
+en2c1ol
+en2c1os
+en2c12
+enc3sg
+en2c3sor
+enc3s2p
+enc3sz
+en2cu
+en2d1ad
+en2d1alk
+en2dano
+en2d1ll
+en2d1rn
+en2d1tl
+end12j
+en2d1r.
+en2d1rr
+en2d1rt
+en2d1rz
+en2d1or
+en2d1n
+en2d12r
+en2ds
+en1d2r
+en2d
+en2dza
+ene2
+e2n1egr
+e2n1egg
+en1e2lek
+en1elj
+en1elk
+e2n1ell
+en1elm
+en1elny
+en1el
+en1elv
+e2n1eml
+ene2
+ene1p2
+2ener
+1e2nerg
+e2n1ern
+e2nerv
+2enes
+ene1szt
+ene2tal
+ene2tos
+e2n1ex
+en2k1a
+en2kel
+enki2
+en2kis
+en1p
+en1p
+e2n1r.
+e2nrd
+e2n1r
+e2n1ri
+e2n1rte
+e2n1rv
+en2sza
+en2szer
+en2sz1in
+e2n1tk
+e2n1ves
+en2vig
+en1f2l
+enfluo2
+enga2
+en2gan
+1enged
+enger12
+engs3s
+eng1g
+e2nid
+enidi2o
+e2n1i2ga
+e2n1ige
+e2n1ig
+en1ill
+e2nim
+e2n1ina
+en1ind
+e2n1inf
+e2n1inte
+e2n1inv
+e2n1ira
+en1i2r
+en1isk
+e2n1ism
+eni2sza
+eni2szer
+eni2szo
+eni2sz12
+e2n1v
+en1k2j
+en2n1eme
+en2nes
+enn1ge
+enn2k
+en2n1ke
+en2nr
+en2nir
+en2n1ol
+en2n
+en2n1l
+enny1a2d
+enny1as
+enny1
+en3nyer
+enny12
+en3nyu
+e2n1ob
+e2n1of
+e2n1oi
+en1old
+e2n1olv
+eno2ni
+en1opt
+eno2r12
+e2n1ost
+en1oszt
+e2n1ox
+enta2
+en2tal
+en2t1e2
+e2n1b
+e2n1l
+en1n
+e2n1s
+e2n12t
+e3nv
+en2r
+en1pr
+en1ry
+en2s1ab
+en2s1a2l
+en2s1a2n
+en2sas
+en2s1el
+en2s1rt
+ens3sz
+en2s3zon
+en2t1a2c
+en2tada
+ent1agy
+enta1k2
+en2t1a2la
+ent1alj
+en2t1alk
+ent1a2lo
+ent1and
+en2t1a2ny
+ent1ass
+en2t12rak
+en2t12rat
+en2t1r
+en2t12r
+en2t1elm
+ente2r1a
+en2t1este
+en2t1est
+en2t1esti
+ente1t2r
+en2t12g
+en2tp
+en2trm
+en2t12ve.
+en2tig
+en2t1i2o
+enti2p
+ent1ipa
+enti2sz
+en2t1okt
+en2tn
+en1trad
+ent2ran
+en2tun
+en2t1u2r
+en2t12z
+en1uta
+en1r
+en1t
+e2n1z
+e2nyab
+e2ny1a2d
+e2ny1ae
+enya2g
+eny1aga
+eny1ag
+e2ny1aj
+eny1alk
+e2ny1a2n
+eny1ar
+e2ny1as
+e2ny1at
+e2ny1au
+eny1d2
+eny1e2dz
+e2nyelm
+eny1eln
+eny1elvo
+eny1elv
+e2ny1e2r
+eny1eve
+e2nyva
+1enyhi.
+eny2h1s
+e2ny1id
+e2nying
+e2ny1ira
+e2nyiz
+eny12r
+e2nyok
+e2ny1o2l
+e2ny1or
+e2ny1os
+e2ny12
+eny2k
+e2ny1k
+e2nyt
+eny1s
+enyt2
+eny1tr
+eny1t
+enyva2
+eny2van
+1enyve.
+eny2v1e2l
+enyves1s
+en2zal
+1enzim
+e1o
+eo2z
+e2obo
+e2ode
+eo2d
+eog2rafi
+e2oka
+eo2kd
+e2okr
+e2ok
+e2o1k2l
+e2okon
+eo2kos
+eo2k
+eo2laj
+e2ol
+eo2ly
+e2ome
+e2om
+e2omi
+eo2n1al
+eo2nan
+eon1any
+eo2natom
+eo2n1au
+eo2n1l
+eo2nr
+eon1d2
+eo2ner
+eon1f2
+eo2niz
+eo2n
+eon1t2r
+eo2n1
+eo2n
+e2opa
+eo2pe
+e2o1p2l
+eo1pro
+eo2r1a2
+eo2r12
+eo2res
+eo2r1s
+eorgi2a
+e2orgi2b
+eori2t
+eor1k2
+eo2r
+eor1s2
+eo2so
+e2ost
+e2osza
+eo1sz2f
+e2ot
+e2oto
+eo1t2r
+eo2vi
+e1
+ea2d
+e2b
+e2ce
+e2d
+e2fa
+e2he
+e2je
+e2kap
+e2kp
+e2kor
+e2mi
+e2m
+e2n
+e2no
+e1pr
+e2r
+e2re
+e2su
+e2szo
+e2ta
+e2t
+e2te
+e2t
+e2ti
+e2t
+e1tr
+e2vak
+e2ve
+e2v
+e2v
+e2vo
+e2v
+e1
+e2b
+e2d
+e2k
+e2le
+e2l
+e2li
+e2l
+e2l
+e2l
+e2m
+e2n
+e2r
+e2r
+e2s.
+e2ve
+e2vi
+e2v
+e2z
+e1
+e2re
+e2r
+e2r
+e2sz
+e2p1ab
+e2p1a2da
+e2p1a2d
+e2p1a2d
+ep1a2gy
+e2p1aka
+e2p1akk
+e2p1akn
+ep1a2lak
+ep1a2lap
+e2p1alj
+e2p1alk
+epa2lom
+e2p1a2ny
+epa2rn
+ep1atr
+ep1aut
+ep1a2zo
+e2p1b
+e2p12g
+ep1ll
+e2p12ra
+ep2s
+e2p1sa
+ep1ta
+ep1tc
+e2p12t1
+ep1tf
+e2p1tm
+ep12t1o
+ep1tt
+ep1t
+e2p1tv
+ep1bl
+ep1br
+ep1dr
+e2p1e2dz
+ep1e2lemr
+e2p1e2let
+e2p1ell
+e2p1elo
+e2p1ene
+epe2ral
+epe2r1e2c
+epe2rev
+epe2rin
+epe2rl
+e2p1esti
+epe2sz
+e2peszm
+e2p1ex
+1e2pd
+1epb
+1epi
+1epn
+e2p1g
+1e2pit
+e2pj
+ep1kh
+ep1le
+ep1lm
+1e2pnk
+e2p1r.
+ep1fl
+ep1ido
+e2p1i2ko
+ep1ind
+e2p1inga
+e2p1i2r
+e2p1irt
+e2p1ism
+e2piz
+e2p1g
+e2p1j
+e2p1n
+e2p1v
+ep1kl
+ep1kr
+ep2lag
+e1p2lak
+e1p2lan
+e1p2ln
+e2p1ob
+e2poch
+ep1okt
+e2p1olv
+ep1ope
+e2p1orn
+ep1ors
+1eposz.
+1eposza
+1eposz
+1eposzt.
+ep1oszt
+e2p12l
+ep1nt
+e2p1s
+e2p1v
+e2p1ri
+ep2pan
+ep2pt
+ep2p1e2le
+ep2p1elh
+epp1er
+epp2
+ep2pr
+ep2p
+ep1pro
+ep1pr
+ep3ret
+e1p2rd
+e1p2rin
+e1proj
+e1p2rot
+ep1s2k
+ep1sp
+ep1st
+ep2tad
+ep2t1aj
+ep2t12v
+ep2t1op
+e2p1ug
+e2p1u2ta
+e2p1ut
+ep1j
+ep1t
+e2p1g
+e2p1t
+e2p1z
+e2p1z
+er1abla
+er1a2bor
+e2r1abr
+er1abs
+era2dat
+e2r1a2d
+er1adm
+er1a2do
+e2r1a2d
+era1dr
+er1a2ge
+er1agr
+e2r1a2ja
+e2r1ajk
+er1ajt
+e2r1a2kad
+e2r1a2kas
+e2r1akc
+e2r1akti
+er1a2la
+e2r1alg
+e2r1alj
+er1alk
+e2r1a2lo
+er1als
+e2r1alt
+er1alv
+er1amb
+er1amp
+er1angy
+er1ann
+er1a2nya
+er1a2pa.
+er1app
+er1aps
+e2r1a2ro
+e2r1asp
+era2sz1a2l
+era2szav
+era2szrn
+era2szel
+era2sz12p
+e2r1atk
+e2r1atl
+era1t2r
+er1att
+er1aut
+e2r1a2zo
+e2r1br
+er2f
+er1ge
+er12g
+e2r12gy
+er1ll
+er1ll
+er1llo
+er1ll
+er1llv
+er1po
+e2r1r.
+er12rak
+er12r
+e2r1rb
+er1re
+er1r
+er1rf
+er1rk
+e2r12ro
+e2r1rr
+er1rs
+er12ru
+er1r
+er1rv
+er1s
+e2r12sz
+er12t1e2
+e2r1th
+er12ti
+e2r1t
+e2r1tj
+e2r1tk
+er1tl
+e2r1tm
+e2r1tn
+e2r1tr
+e2r1tt
+e2r1tv
+erb1i2na
+er2c1a2l
+er2car
+er2c1r
+er2c1t
+erc1ell
+er2c3ho
+er2cid
+er2c1ina
+er2c1in
+er2c1i2p
+er2cis
+erc1k2
+erco2
+er2c
+er2csad
+er2cs1an
+ercs1l
+er2c
+er2cz
+1erdej
+1erd
+ere2
+1eredet
+e2redn
+1e2redm
+eree2
+er1eff
+ere2gl
+ere2gel
+e2r1e2ger
+erei2g
+1e2rejn
+1e2rejr
+ere2k1el
+erek1e2sz
+erek12j
+ere2kot
+erek1t
+ere2k12s
+e2r1e2leg
+er1elr
+e2r1ellen
+er1elli
+e2r1el
+e2r1elr
+erem1egy
+ere2m1emb
+erem1rt
+ere2m1ut
+e2r1enz
+ereo1gra
+ere2pan
+ere2pas
+erep2
+ere2p1l
+ere2p1e2s
+ere2pin
+ere2pos
+er1erk
+er1ern
+er1er
+e2r1esti
+e2r1estj
+e2r1estr
+e2resze.
+ere2sz
+e2resz
+ere2tl
+ere2tt
+ere2t1eg
+ere2t1erj
+ere2t12r.
+ere2t12ve.
+eret2
+er1e2vs
+e2r1ex
+1e2rezet.
+1e2rezete
+1erezkh
+erbe2
+er2bes
+er1g.
+er12ge
+er1g
+e2r1j.
+e2r1jb
+er1jf
+e2r1jn
+e2r1js
+er2k1a2
+er2k
+er2kol
+er2k1
+e2rneke
+e2r12nek
+er2p1a
+er2p
+e2r12ren
+e2r12r
+e2r12ri
+er2sa
+er2s1elv
+er2sza
+er2sz
+er2szo
+er2sz
+er12ter
+e2r1tk
+e2r1v.
+er12ve.
+e2r12vek
+e2rven
+e2r12ves
+e2r12vet
+e2r12vn
+er12vt
+er1vf
+er1vh
+e2r12vi
+e2r1vn
+e2r1vr
+er1vt
+er1vv
+erf2l12v
+er1fl
+er1f2r
+er1gl
+e2r1i2deg
+e2rid
+e2r1ido
+er1idu
+eri2ga
+e2r1i2g
+eri2kon
+e2r1i2mi
+eri2no
+erint2
+e2rinteg
+erin1tr
+e2r1i2on
+eri2os
+e2r1i2par
+e2r1ira
+er1ir
+e2r1isk
+er1ism
+eri2szo
+e2r1ita
+e2r1i2z
+e2r1izg
+er1g
+er1j.
+er1j
+e2r1r
+e2r12z
+er1k2r
+er1k2v
+erme2k1a2
+erme2k
+erme2kesz
+erme2ko
+erme2kl
+erme2sz1
+er2mind
+erm1isi
+ern1ala
+ern1kn
+ern3n
+er2n12d
+1erny
+er1okl
+e2r1okm
+er1olda
+e2r1o2li
+ero2nal
+er1ope
+e2r1opt
+er1orc
+er1ord
+er1orm
+er1orn
+er1o2ro
+er1ors
+e2r1orv
+erosz2f
+e2r1o2ve
+e2r1ovi
+e2r1c
+er12d
+er1lo
+er12r
+er1ri
+e2r12c
+er2k
+er1kl
+er1ko
+e2r1k
+e2r12l
+e2r1r
+e2r1s
+e2r1t
+e2r12z
+e2rdd
+er2n
+1erlt
+1e2rm
+1ermh
+1e2rn
+1e2r
+e2r1ri
+er1r
+er1p2l
+er1p2s
+er2rv
+er1ry
+er2s1a2d
+ers1alk
+er2s1an
+er2sat
+er2s12gi
+ers1ra
+ers1eml
+er2srte
+er2s1rt
+er2s1rt
+er2sid
+er2s1im
+er2s1i2n
+er1sk
+er2s1od
+er2s1ol
+er2s1n
+er1spor
+er1sr
+er1stra
+er2sut
+ersz2to
+er2t1ai
+ert2p
+ert1po
+ertra2d
+ertr1ada
+er2t1elk
+ert1estj
+ert1esze
+er2t12j
+er2t1kn
+er2t1vn
+er2t12vv
+er2tid
+er2t1i2m
+er2t1z
+er2tos
+ert1r
+er2t1s
+er2t1z
+er1t2ran
+er1trn
+ert1s
+er2t1t
+erubi2
+1e2rup
+e2r1u2ra
+er1ur
+er1uru
+er1u2sz
+er1u2t
+e2r1j
+e2r1r
+e2r12s
+er1tj
+er1tl
+er12to
+er1tr
+e2r1d
+e2r1gg
+er1gyb
+er1gyn
+er1gyr
+e2r1led
+e2r1r
+e2r1s
+e2r1t
+e2r12v
+e2r1z
+e2r12z
+er2v1ala
+er2v1alt
+erva2n
+erv1any
+er2v12ru
+er2vsa
+er2v1tk
+erv1e2lk
+er2vereze
+er2v1e2sze
+er2vk
+er2vrte
+er2v1rz
+er2vos
+er2vs
+er2v
+er1ya
+2esa.
+e2s1a2b
+e2s1a2d
+2esait
+e2s1alja
+es1alm
+esa2n
+es1any
+esa2p
+es1ap
+es1arc
+es1ass
+es1asz
+es1a2ty
+e2s1au
+2esb
+e2s12g
+2esn
+es1ra
+es12ru
+2est
+es1bl
+es1br
+es2ch
+1esd
+es1dr
+1esedez
+ese1fr
+ese2gye
+e2s1elm
+e2seng
+es1epri
+e2s1erd
+eseren2
+1e2sett
+2es.
+es2g1el
+1esll
+1esly
+e2s1p
+es1rc
+ess3s
+e2s1i2d
+esike2t1
+e2s1ina
+es1i2pa
+e2s1isk
+1estst
+es12z
+e1s2kat
+e1s2kl
+es2kic
+1esk
+es2lat
+eslege2l
+esle2t1o
+es2lin
+e1s2lu
+e1s2mac
+esn2
+2esok.
+2esoka
+2esokb
+2esokk
+2esokr
+2eson
+e2s1op
+2esos.
+2esosa
+es1osz
+es1ott
+e2s12r
+esk2
+e2sz
+es2pan
+es2pec
+es1p2l
+e1s2p
+e1s2r
+es1st
+es3szab
+essz1aga
+essz1a2r
+1esszenc
+es3szer
+essz1let
+essz1lt
+essz1int
+essz1ok
+es3sz
+e1s2tab
+es2taf
+es2t1a2l
+es2tana
+es2t1a2ny
+estapolc1
+es2t1a2ra
+est1ar
+e1s2tat
+es2taz
+es2t12p
+est1ram
+es2t1ri
+es2t1rn
+es2t1t
+1esteko
+es2tenz
+este2r1a
+es2t1este
+es2t1esti
+1estih
+1estj
+1estm
+1estnk
+es2t1r.
+es2t1ri
+es2t1rr
+es2trte
+es2t12r
+es2t1ill
+es2t1ina
+es2t1int
+es2tip
+es2t1isz
+es2tiz
+es2t1ol
+e1s2top
+esto2r
+es2t1os
+es2t12r
+est2
+es2t1s
+es2t1r.
+es2t1rk
+es2t1r
+es2t1rr
+es2t1rt
+es2tun
+es2t
+es2tr
+es2t12z
+e2s1ud
+esu2r
+es1ura
+es1ur
+e2s1ut
+es1r.
+es1rb
+es1r
+es1rh
+es1ri
+es1rk
+es1rn
+es1rp
+es1rr
+es1rt
+e2s12t
+e2s1z
+e2sza2c
+esz1ac
+e2szad
+e2sz1a2e
+esz1ajt
+esza2k1
+esz1akn
+esz1alj
+esz1any
+e2sz1ara
+e2sz1au
+e2szru
+e2sz1s
+esz2t
+esz1ts
+e2szece
+eszeg1r
+e2sz1egy
+esz1eks
+e2sz1ela
+e2sz1e2mel
+1eszenc
+e2sz1erd
+e2szev
+e2sz1ex
+esz2do
+esz12p
+e2sz12ri
+esz1g2
+esz1i2pa
+esz1isk
+esz1ist
+e2sz1ita
+e2sz1iz
+eszke2l
+1eszme.
+1eszmb
+1eszmi
+1eszmj
+1eszmk
+1eszmn
+1eszmt
+1eszmv
+e2sz1old
+esz2l
+esz1l
+e2sz1n
+es3zs
+esz3se
+esz2tab
+esz2tad
+esz2t1a2g
+esz2taj
+esz2t1ala
+esz2t1alj
+esz2t1ap
+eszt1rf
+esz2t1rn
+esz2t1e2v
+esz2t1r.
+eszts3s
+1esztti
+esz2tid
+esz2t1ol
+esz2t12r
+eszt2
+esz2t1l
+esz2t1r.
+esz2tut
+esz2t1t
+esz2tz
+e2sz12g
+e2sz12z
+1e2szs
+1e2szt
+esz1z
+et1abr
+eta2c
+et1ac
+e2t1a2d
+e2t1a2g
+e2t1a2gy
+e2t1a2j
+et1a2kas
+e2t1akc
+et1ak
+e2t1aku
+eta2lag
+eta2lak
+et1a2ls
+e2t1alb
+et1ald
+et1alf
+e2t1alg
+et1alj
+e2t1alk
+1e2talo
+eta2n1
+eta2nyag
+e2tapr
+et1a2ra
+e2t1ar
+e2t1arc
+e2t1arz
+et1asp
+e2t1ass
+et1a2sz
+e2t1atk
+e2t1a2to
+e2t1aty
+e2t1a2u
+e2t1a2z
+et1br
+e2t12cs
+e2t1f
+et1g.
+e2t12ga
+et1gb
+et1gg
+et1gn
+et1gr
+e2t1h
+et1ju
+et1ll
+e2t1lm
+e2t12rad
+et1re
+et1rny
+et2ron
+et12r
+e2t12ta
+ett1a2d
+e2t1th
+et1tl
+et1ts
+et1tu
+e2t1tv
+et1bl
+et1br
+et2ch
+et1dr
+etea2
+eteg1
+ete2g1e2l
+ete2g
+e2t1e2ke.
+e2t1e2kei
+e2t1e2kek
+ete2k1k
+e2t1e2knk
+e2t1e2ks
+e2t1elc
+et1eldo
+ete2lege
+ete2legy
+et1e2lej
+e2telemz
+e2t1e2les
+e2t1elr
+etels1s
+e2t1elha
+e2t1elh
+et1elhel
+e2t1eliga
+e2t1elj
+e2t1ell
+e2tellen
+e2t1elme
+e2t1elmn.
+e2t1elmne
+e2t1elmt
+e2t1elnev
+e2teln
+e2t1elny
+e2t1e2lo
+ete2lad
+et1elsz
+e2t1elt
+e2t1elter
+et1eltr
+e2t1elv
+e2t1elvez
+e2t1elvo
+e2t1elz
+ete2mal
+e2t1ember
+ete2mel
+e2t1enz
+ete1p2
+e2t1erd
+ete2rn
+etero1
+e2t1er
+ete2s1a
+e2t1este.
+e2t1eszt
+ete2tet
+ete2t1r.
+1e2tetsen
+1e2tetsn
+ete2tos
+ete2t1
+ete1tra
+e2t1ezr
+et2
+et1g.
+et1gb
+et12g
+et1gg
+e2t12gi
+et1gn
+et2k1a2
+et2k12
+et2k1e2l
+et1k
+et2kos
+e2t1lm
+e2t1rc
+e2t12r.
+e2t12rn
+e2t12rr
+e2t12rt
+et2rie
+e2t1rke
+e2t1rm
+e2t12rs
+e2t1rtel
+e2t1rz
+et2sa
+et2s1g
+et2so
+ets3s
+et2sza
+et1szl
+et1szr
+et2t1a2
+et2ter.
+et2tere
+et1tra
+e2t12ven
+et2ves.
+e2t12vet
+e2t12vh
+et2vig
+e2t12vne
+et2vt
+et1vh
+et1vt
+et1fr
+et1gl
+et1gr
+et2hei
+eti2d
+et1ide
+et1ido
+eti2g
+e2t1ige
+e2t1ig
+e2t1igy
+e2till
+et1i2ma
+e2t1im
+e2t1i2mi
+1e2timo
+e2t1imp
+etina1
+e2t1ind
+e2t1inf
+e2t1ins
+e2t1inte
+e2t1inv
+e2tinz
+e2t1i2pa
+e2t1i2ra
+e2t1iri
+e2t1iro
+e2t1ir
+e2t1ism
+e2t1iste
+e2t1i2sza
+e2t1i2szon
+e2t1i2ta
+et1iz
+e2t1izg
+e2t1izo
+e2t1izz
+e2t1g
+e2t1j
+e2t1n
+e2t12r
+e2t12v
+e2t1z
+et1kl
+et1k2r
+et1kv
+1etnol
+et1oda
+e2t1okm
+e2t1okt
+e2t1oml
+eto2n1a2
+eto2nl
+eto2n1is
+eton1n
+et1opc
+et1ope
+e2t1opt
+2etor
+et1ord
+e2t1org
+e2t1orm
+et1orom
+e2t1ors
+e2t1orv
+et1ost
+etosz2f
+et1oszl
+et1oszt
+e2t1ou
+e2t12c
+et12ra
+et12r
+e2t12v
+et1ko
+et2l
+e2t1l.
+et1l
+e2t1l
+e2t1n
+e2t1s
+e2t1t
+et12v
+e2t12z
+eta2
+ete2l
+et2b
+etf2l12v
+e2t1r.
+e2t1rb
+et1rc
+et12rh
+et2ri.
+et1rk
+et1rl
+e2t1rn
+et2rk
+et1rp
+e2t1rr
+e2t1rs
+et12r
+et1s2p
+et1pl
+et1pr
+et1ps
+e1trap
+e1trau
+e1t2rg
+e1trf
+e1t2ril
+et1sk
+et1sn
+et1sp
+et1st
+et3tad
+ettai2
+etta2n12
+et2telem
+et2t1ing
+et2tr
+et1t2r
+et1tri
+etty12
+e2t1ug
+et1una
+et1und
+et1u2ra
+etu2sz
+et1ut
+et1ut
+et1utu
+e2t1j
+e2t12ri
+e2t1t
+e2t1d
+e2t1g
+e2t1ld
+e2t1t
+e2t12v
+et12zem
+et3ya
+e1u
+eu2bo
+eu2ga
+eu2mal
+eu2m1e
+eu2mim
+eu2m1i2p
+eu2mis
+eu2m1iz
+eu2m
+eu2mr
+eu2m
+eum1p2
+eu2m
+eu2na
+eu2n
+eu2ni
+eu2no
+eu2n
+e2ur.
+eu2r
+eur1z
+eu2ri.
+eu2rig
+e2urt
+eu2sz
+e2utai
+eu2tal
+e2utan
+eu2taz
+e2uti
+e2utj
+e2utka
+e2utkk
+e2utkn
+e2utkr
+e2utnk
+e2utr
+eu2t
+e2uts
+eu2zs
+e1
+e2j
+e2sz
+e2ti
+e2to
+e1
+e2d
+e2ge
+e2gy
+e2le
+e2l
+e2li
+e2l
+e2l
+e2l
+e2re
+e2r
+e2r
+e2sz
+e2te
+e2t
+e2t
+e2ve
+e2v
+e2ze
+e1
+e2ri
+e2ze
+e2z
+e2zi
+e2z
+e2z
+ev2r1al
+eve2sz
+ev2l
+ev2l1e2l
+ev2nyel
+ev2r1emb
+ev2r
+ev2so
+ev2sza
+ev2sz
+evzi2t
+ex1ab
+ex1al
+ex1ap
+ex1b
+ex12r
+e2x1t
+ex1bl
+ex1br
+ex1dr
+e2xeg
+e2x1elm
+e2x1elv
+e2x1er
+e2x1k
+e2x1l
+e2x1p
+ex1id
+e2x1ig
+ex1inf
+e2x1ing
+e2x1int
+ex1izz
+e2x1j
+e2x1r
+e2x1ob
+ex1op
+ex1n
+ex1r
+ex1s
+1expan
+ex1sk
+ex1sp
+ex1st
+ex1j
+e2x1g
+e2x1v
+e2x1z
+eza2c
+ez1ac
+e2z1a2d
+e2z1af
+ez1ajt
+e2z1a2l
+e2z1a2n
+ez1arz
+e2z1as
+ez1aut
+ez1ll
+ez2ma
+ez1rb
+ez1rr
+ez12r
+e2z1t
+ez1bl
+ez2dl
+ez1e2gy
+ez1e2kk
+e2z1ela
+e2z1e2leme
+e2z1elr
+e2z1elm
+e2z1el1
+e2z1e2mel
+ezen2t1e2
+eze2r1a
+eze2r
+eze2red
+eze2r1el
+eze2r1em
+eze2r1es
+eze2r1o
+ez1er
+ez1este
+e2z1e2sz
+eze2t1a2
+eze2t1
+eze2t1eg
+eze2t1e2l
+eze2t1esz
+eze2t1r.
+eze2t12r.
+eze2t12ve.
+eze2t1o
+eze2tu
+e2z1g
+e2z12j
+ez2k
+ez2k1o
+e2z1l
+ezr1emb
+ez2rett
+ez2ru
+ez2sa
+ezsksz1
+e2z12te
+ez1fr
+ez1gr
+ez1i2do
+ezi2g
+e2z1ig
+e2z1i2ko
+e2z1ill
+ez1imp
+ez1in
+ez1ind
+ez1inf
+ez1int
+ezi2o
+ez1ion
+e2z1i2p
+ez1i2r
+ezis2g
+ezi2s1g
+e2z1ism
+ezi2ta
+e2z12v
+ez1k2r
+ezkupac1
+ez1kv
+e2z1ob
+ez1old
+ezo2nr
+ezon3n
+ez1opt
+e2z1ox
+e2z12l
+e2z12r
+ez12t
+ez12b
+ez1s
+ez12v
+eze2l
+e2z12ri
+ez1rl
+e2z1rs
+ez12r
+ez1rz
+ezs1orra
+ez1pl
+ez1p2r
+1ezrede
+1ezreds
+1ezrel
+1ezrem
+1ezresn
+1ezr
+ez3saj
+ez3sap
+ez3st
+ez3sv
+e2z3s
+ezsi2
+ez3sl
+ez3sor
+ez3s2p
+ez3s2ta
+ez3str
+e2z3s
+ez3sz
+ez1t2r
+ez1u2r
+ez1ut
+ez1j
+ez12t
+e2z1g
+1e2zs
+e2z1t
+e2z12z
+2.
+1a
+a2da
+a2d
+a2do
+a2d
+a2ga
+a2gi
+a2j
+a2ka
+a2la
+a2l1e
+a2na
+a2ny
+a2r
+a2ri
+a2ro
+a2uk
+1
+2f
+2gy
+2ju
+2ra
+2ro
+2ru
+2r
+2b1ag
+2b1a2j
+2b1a2k
+2b1a2l
+ba2n
+2b1any
+2b1a2v
+b1l
+b2r
+b2b1
+b1esz
+2b12k
+2b1l
+2b1p
+bi2
+b1isk
+b1i2va
+b1z
+b1kr
+b1pl
+b1pr
+1bres
+2b1ug
+b1g
+c1a2d
+c1aj
+c1a2k
+c1a2l
+c1a2n
+c1l
+c1r
+2c1e2lem
+2c1elv
+2c1ember
+2c1e2mel
+c1gr
+c3ha
+c3h
+c3h
+c3ho
+2c1i2d
+2c1il
+c1ima
+c1ob
+c1os
+c1r
+c1pr
+c3sab
+cs1ol
+c3sz
+2c1u2t
+2c1l
+c3zs
+2d1ab
+2d1a2c
+2d1a2d
+2d1a2g
+2d1a2j
+d1akc
+d1akt
+d1a2ku
+d1alk
+2d1a2n
+d1apa
+d1a2p
+2d1arc
+d1asp
+d1ass
+d1a2ti
+d1att
+2d1g
+d1p
+d1dr
+2d1e2g
+2d1ej
+2d1e2ke.
+de2kt
+2d1e2l1a
+2d1elk
+2d1ell
+2d1elo
+d1ember
+2d1eml
+2d1enz
+2d1ep
+d1erd
+2derei
+2derem
+2derg
+2derl
+2dern
+2d1er
+2derr
+2derr
+2ders
+2dert
+1desa
+2desem
+1desg
+12des
+2d1g
+2d12j
+2d1kb
+2d12k
+2d1kk
+d2l
+2d1le
+2d1lm
+2d1p
+2d1r.
+2d12ri
+2d1rs
+2d1rte
+2d1rt
+2d1rv
+2d1rz
+d1fr
+di2ad
+di2aka
+di2al
+di2ar
+di2a1s
+diasz2
+2d1i2d
+di2g
+2d1iga
+2d1ige
+2d1ig
+d1i2ko
+d1ill
+2d1i2m
+d1i2na
+d1ind
+2d1ini
+d1ins
+2d1int
+2d1i2p
+2d1iro
+2d1i2z
+2d1n
+2d1r
+d1v
+d1kl
+d1okta
+2d1op
+2d1or
+2d1osz
+d1ott
+d12r
+d1l
+d1n
+2d12r
+d1t
+d1v
+d1z
+2d1rm
+2d1rn
+ds2
+d1sp
+d1pl
+d1pr
+1d2ram
+d2raz
+1d2rm
+d1sk
+d1sp
+d1sr
+d1st
+d1t2r
+2d1ud
+d1uj
+d1ura
+2d1u2t
+2d1j
+d1r
+d12t
+2d1d
+2d1g
+2d1t
+2d1z
+d3za
+d3z
+d3ze
+d3z
+d3z
+1e
+e2b
+e2la
+e2le
+e2l
+e2me
+e2pi
+e2r
+e2se
+e2s
+e2si
+e2s
+e2sz1a2
+e2sz1
+e2szel
+e2szp
+e2szir
+e2szis
+eszt2
+esz1tr
+e2uf
+e2v
+e2v
+1
+2ge
+2le
+2p
+2ra
+2te
+f1ai
+f1ajt
+f1ing
+2f1is
+f1kl
+2f1os
+g1abl
+g1abr
+g1a2d
+g1aka
+g1akk
+g1akn
+g1alj
+g1am
+g1a2ny
+g1a2p
+2g1a2r
+g1aut
+g1a2v
+ga2z
+2g12g
+2g1l
+g1p
+g1rt
+gt1a2d
+g1t
+g12t1e2
+g1tf
+g1tj
+g1tm
+g1ts
+g1tt
+g1tv
+g1bl
+g1br
+g1d2r
+g1ece
+2gedn
+2g1edz
+g1e2ge
+2g1ej
+2g1e2ks
+2g1ela
+2g1elb
+ge2leg
+g2elek
+ge2lemb
+2ge2leme
+ge2lemn
+ge2lemt
+2g1elr
+2g1elf
+2g1elha
+g1elh
+ge2lin
+2g1elis
+2g1elj
+2g1elk
+2g1ell
+2g1ellen
+2g1elm
+2geln
+g1elny
+2g1el
+2g1e2la
+ge2lm
+2g1e2ln
+g1e2lt
+2g1elp
+2g1elr
+2g1elsa
+2g1elsz
+g1elta
+2g1elt
+2g1elv
+2g1elz
+2g1enc
+2g1e2ne
+2g1eng
+ge1p
+g1epi
+ge2rl
+2g1erede
+ge2r1el
+geri2
+ge2rim
+ge2rin
+2g1er
+g1er
+ge2rl
+12gesd
+2g1essz
+ge2sze
+2g1eszk
+2g1eszt
+12getj
+12geth
+12getn
+12gett
+g1eva
+g1e2ve
+g1e2v
+g1evo
+2g1ex
+2g12g
+2g12l
+2g12neke
+2g12nek
+2gnekk
+2g12nekn
+g1p
+2g1p
+g12ret
+2g12rez
+g2r.
+2g1rh
+2g12ri
+g1rl
+g1rm
+g12r.
+g12rk
+grt2
+g1rte
+g1rt
+12gs
+12gsn
+2gst
+2g1va
+g1fl
+g1fr
+g1g2l
+g1g2r
+g3gyo
+1ghes
+1gh
+gi2as
+g1i2den
+gi2g
+2g1iga.
+gig1ap
+gig1as
+g1igaz
+gig1
+2gill
+2g1im
+g1ina
+g1inf
+2g1ing
+2g1inj
+g1ins
+2g1int
+2g1ira
+g1iro
+2g1i2ta
+2g1iva
+2g1i2zsn
+2g1izg
+g1g
+g1j
+g1n
+g1r
+g1v
+g1z
+1gj.
+gkia2
+g1kl
+g1kr
+g1kv
+1gne.
+1gnk
+1gnn
+1gnt
+1gni
+2g1ob
+g1oki
+g1ola
+g1old
+g1oli
+g1oll
+g1olt
+2g1op
+2g1o2r
+2g1os
+g1ott
+2g1o2v
+2g1ox
+2g1c
+g12r
+g1b
+2g12d
+2g12l
+g1n
+g2r
+g1r
+2g1s
+2g1t
+2gv
+2g12z
+1g.
+1gk
+2gr
+g1ri
+g1r
+g1si
+1gt
+1gv
+g1pl
+g1pr
+g1ps
+g1sk
+g1sp
+g1s2t
+gsz2
+1gsz.
+gszraz1
+g1tr
+2g1ud
+g1un
+2g1u2t
+g1g
+g1j
+g1r
+g1s
+g12t
+2g1d
+2g12g
+2g1r
+2g1s
+2g1t
+2g1v
+2g1z
+2g1z
+gvez2
+2gy1a2
+2gyl
+2gyed
+2gy1eg
+2gyelek
+2gyeleme
+gye2m
+2gy1emb
+2gy1eme
+gye2sek
+2gy1esz
+2gy1e2v
+2gyeze
+2gy1k
+2gyl
+gy12ne
+gyi2
+2gyin
+2gyir
+2gy1is
+2gy1iv
+2gy
+gyo2
+gy1ok
+gy1os
+gy1ot
+2gy12
+gy12l
+2gy1u2
+2gy1
+2gy12l
+2gyr
+ha2l
+h1ala
+h1any
+2h1arc
+h1art
+2h1au
+2h1a2v
+h1ed
+2heg
+h1e2g
+h1e2le
+h1el
+h1elf
+h1elh
+h1ell
+h1e2l
+h1elt
+h1elv
+2h1enz
+2h1e2r
+2h1esem
+2h1e2to
+h1ev
+2h1ex
+2heze
+12hez
+1hez
+12hezt
+2hez
+2hezv
+h1g
+h12k
+2h12l
+2h1p
+h1rb
+h1fl
+2h1ic
+2h1if
+2h1i2n
+2h1ip
+hi2r
+h1ira
+h1irt
+2hit
+h1ita
+2h1iz
+h1n
+h1kr
+2h1od
+h1old
+h1b
+h12d
+h1s
+h1pl
+h1pr
+1hs
+h1sk
+h1sp
+h1ud
+h1j
+2h1g
+2h1r
+2h1t
+2h1r
+1i
+i2d
+i2ga
+i2g
+i2m
+i2pa
+i2r
+i2ro
+i2ta
+i2vs
+i2v
+1
+2r
+2ro
+2r
+2v
+2ze
+2j1ab
+2j1a2da
+2j1a2l
+2j1any
+2j1a2r
+2j12l
+2j1p
+2j1rn
+j1eb
+2j1e2lem
+2j1elh
+j1elm
+2j1elv
+j1emb
+2j1esz
+2j1e2v
+2j12g
+j2j
+2j12k
+2j1l
+2j1p
+2j12te
+12ji.
+2j1il
+2j1im
+j1i2n
+2j1ip
+2j1iz
+2j1o2l
+j12r
+j1d
+j1n
+j1r
+j1pl
+j1pr
+j1sp
+j1sz
+j1ud
+j1u2r
+ju2t
+j1uta
+2j1r
+2jl
+2j1z
+k1abl
+k1a2c
+ka2dat
+k1a2d
+k1a2d
+k1ajt
+ka2kad
+2k1ak
+2k1akk
+2k1akn
+ka2lag
+k1a2lak
+2k1alg
+2k1alj
+k1alko
+2k1all
+2k1alt
+k1alu
+k1amb
+k1ang
+k1app
+2k1a2r
+k1arc
+k1a2r
+k1arz
+2k1asp
+2k1ass
+k1aszt
+k1a2tom
+k1a2ve
+k1azo
+2k1l
+2k12p
+k1rad
+2k12rak
+2k12r
+k1rb
+2k12r
+k1rh
+2k1rk
+2k1rn
+2k12ro
+k1rr
+2k12ru
+k12r
+k1s
+k1sv
+2k1ta
+2k1t
+2k1tc
+2k1td
+2k1te
+k1t
+2k1tf
+2k1th
+2k1ti
+2k1t
+2k1tk
+2k1tl
+2k1tm
+2k1t
+2k1tr
+2k1ts
+k1tt
+2k1tu
+2k1tv
+2k1z
+k1bl
+k1br
+k1dr
+k1eg
+2k1e2ks
+2k1elb
+2k1e2leg
+k1e2leme
+k1e2lem
+ke2lemm
+k1e2lr
+2k1elf
+2k1elk
+2kell
+2k1ellen
+2k1elm
+2k1elo
+k1elp
+2k1elta
+k1elt
+2k1eltr
+k1ell
+k1elvi
+2k1e2mel
+k1eng
+ke1p2
+2k1erd
+2k1e2rec
+2kered
+2k1e2rei
+2k1e2rez
+2k1erg
+2k1e2r
+2k1e2r
+2k1e2sete
+k1eszk
+ke1szl
+2k1e2tet
+ke2tik
+ke2vs
+2k1e2vo
+2k1ex
+2k1g
+k1js
+2k1p
+2k1p
+2k1rc
+2k12rem
+2k12ren
+2k12r
+2k12ri
+2k1rk
+2k1rl
+2k1rm
+2k12r.
+2k12ri
+2k12rk
+2k1rp
+2k1rr
+2k1rte
+2k1rt
+2k1rt
+2k12r
+2k1rv
+2k1rz
+2ks
+ks3s
+k1szl
+2k1tk
+k1tv
+2k12ve.
+2k12vek
+k12vet
+2k12vb
+2k12vn
+2k12vt
+2k12vv
+2k1vi
+k1fj
+k1fl
+k1fr
+k1g2r
+kia2
+ki2d
+2k1ide
+k1id
+k1ido
+2k1id
+ki2g
+k1iga
+k1ige
+2k1ig
+k1i2ko
+k1ikr
+2k1ill
+2k1ima
+2k1im
+k1imi
+k1ind
+2k1ing
+2k1inh
+2k1inn
+2k1int
+2k1inv
+2k1i2o
+2k1i2p
+2kirn
+2k1iro
+2k1isk
+k1ism
+2k1ist
+ki2sza
+2k1i2ta
+2k1i2z
+k1j
+2k1r
+2k12v
+2k12z
+k2kl
+k1k2l
+k1k2r
+k1kv
+1k2lu
+2k1ob
+k1of
+2k1ok
+2k1o2laj
+2k1olda
+k1olts
+2k1oml
+k1opc
+k1o2pe
+2k1org
+2k1orm
+2k1orr
+2k1orz
+2k1osto
+2k1ott
+2k1ou
+2k1ox
+2k1c
+k12l
+2k1n
+k12ra
+k12r
+2k12v
+2k12z
+2k12b
+k2l
+2k1m
+k1nt
+k12r
+2k1s
+2k1tl
+k12v
+k12z
+k12r
+k1s
+k1pl
+k1pr
+k1ps
+1k2re
+k2rim
+k1sh
+k1sk
+k1sl
+k1sp
+k1s2r
+k1st
+k1sz2
+k1t2r
+2k1ud
+2k1ug
+2k1uj
+2k1und
+2kuni
+2k1u2tac
+2k1u2tak
+k1u2tal
+2k1u2tas
+2k1ut
+2k1j
+k1r.
+k1rn
+k2t
+2k1th
+2k1ti
+2k1tj
+2k1tn
+2k1to
+2k1tr
+2k1tt
+2ktv
+2k1d
+2k1g
+k12le
+2k1nn
+2k1r
+2k12s
+2k12t
+2k12v
+2k1z
+k1r.
+k1rb
+k12r
+2k1z
+l1abl
+l1abr
+l1a2c
+l1a2da
+l1a2do
+l1a2d
+l1a2g
+2l1a2j
+l1a2ka
+l1akc
+l1akn
+l1ako
+2l1a2l
+l1amc
+l1a2me
+l1and
+l1ap
+l1arm
+l1asp
+l1ass
+l1asz
+l1a2to
+l1a2u
+2l1a2va
+l1azo
+l1br
+2l12g
+l2l
+2l1ll
+2l1lm
+2llmot
+2l1lo
+2l12p
+l1r.
+l12r
+l1rb
+l1rf
+l12ri
+l1rk
+2l1rn
+l12ro
+l1rr
+l12ru
+l12r
+l1rv
+l1t1a2
+l1tc
+lt1e2
+2l1tf
+l1th
+l12ti
+l1tj
+2l1tm
+l2tok
+l1tr
+l1ts
+l1tt
+l1t
+l1tv
+l1bl
+l1br
+lc3sz
+l1d2r
+le2b
+2l1eb
+2l1e2dz
+l1eff
+l1e2g
+legsz1
+l1e2gy
+le2k1a2
+le2k1
+le2k1e2l
+le2kem
+le2ker
+le2k1es
+2l1e2ks
+le2kis
+le2kol
+le2k1on
+le2kot
+le2k
+le2k12
+le2ku
+le2k1
+l1e2l1a
+2l1e2leg
+l1elf
+2l1elo
+2l1ele
+le2lj
+2l1e2lk
+le2lt
+2lemb
+2l1e2mi
+2l1emp
+le2n
+2l1ene
+2l1eng
+2lenj
+2l1enn
+2l1eny
+2l1enz
+l1e2r
+2l1e2ss
+le2sz
+le2sz
+le2t1a2
+le2t12
+le2t1eg
+le2t1e2l
+le2t1e2r
+le2tesz
+le2t1k
+le2tl
+le2t1r.
+le2t1rd
+le2t12r.
+le2tr
+le2ts
+le2tte
+le2tt
+le2t1tn
+le2t12ve.
+le2t12ved
+le2t12vn
+le2tik
+le2tisz
+le2t1o
+let2
+le2t1l
+le2t1r
+le2t1u2
+le2tz
+le2t12z
+2l1e2v
+2l1ex
+l2d
+2l1de
+2l12g
+l12hes
+l1kek
+l1k
+2l12l
+l1p
+2l1r.
+2l1rb
+2l1rd
+l12rem
+2l12ret
+2l12r
+2l1rm
+2l1rn
+2l1rte
+2l1rt
+2l12r
+2l1rz
+l2sa
+ls3s
+2l12te
+2l1tk
+2l1v.
+2l12v1
+2l12ves
+2l12vet
+2l1vez
+l12vn
+2l12vr
+2l12vi
+l1v
+l1f2l
+l1f2r
+l1g2r
+2l1i2d
+2l1iga
+li2g
+2l1i2ge
+2l1ig
+2l1i2ko
+l1ill
+li2m
+l1ima
+l1imi
+l1imp
+2l1ind
+2l1inf
+2l1ing
+l1int
+l1inv
+l1inz
+l1i2on
+2l1i2p
+2l1ir
+l1iro
+2lism
+li1s2p
+2l1i2sz
+l1i2va
+2l1i2v
+l1izg
+2l1izm
+2l1i2zo
+l1j
+l12r
+l12v
+l1z
+l1k2l
+l1k2r
+l3lyu
+l2mat
+1lmn
+2l1ob
+2l1okm
+2l1oks
+2l1ol
+2l1o2r
+los3s
+2l1osz
+2l1c
+l12n
+2l12r
+l1b
+l1c1
+l2k
+l12l
+l1n
+l1r
+l1s
+2l12z
+le2
+l1r
+12lsk
+l1p2l
+l1p2r
+lrdi2
+lre1pr
+l1sk
+l1sp
+l1st
+l2sz1rnn
+l1szt
+ltal2p1al
+l1tr
+l1tr
+l1tri
+l1tr
+2l1ud
+2l1ug
+2l1uj
+l1ult
+l1u2r
+2l1u2tas
+l1ut
+2l1j
+l1r
+2l1g
+l1ll
+l1lt
+2l1r
+2l1s
+2l1t
+2l1v
+2l1z
+l1z
+1lvez
+2ly1ab
+2ly1a2d
+2lyaj
+2ly1a2l
+ly1a2n
+2ly1ap
+ly1a2r
+2ly1as
+ly1au
+2ly1av
+ly1az
+2ly12l
+lye2c
+2lyef
+ly1egy
+2lyeks
+2ly1el
+2lyeml
+2lyene
+2ly1ent
+2lyer
+2lyeti
+2ly12j
+2ly1k
+2lyl
+2lys
+ly1f2
+2ly1ira
+ly1k2
+2lyol
+2ly1
+2lys
+2ly1z
+2ly
+ly1s
+ly2
+2lyltet
+2lyt
+m1abr
+ma1d2
+m1a2da
+m1a2d
+mae2
+mai2k
+m1ajt
+m1akk
+m1all
+m1alm
+m1app
+m1arc
+m1arm
+mas2
+ma1sp
+mat2
+ma1tr
+m1aut
+m1a2zo
+m2c
+m2l
+m1lm
+m1lo
+2m1p
+m1rn
+2m1ru
+mt1a
+2m1tt
+m1b2l
+m1b2r
+m1dr
+me2c
+me2g
+2m1e2ke.
+2m1e2ks
+m1ela
+me2led
+2m1elh
+2m1ell
+m1e2l
+m1els
+2m1elv
+m1e2re
+m1ern
+m1e2r
+me2s1
+2m1esem
+2m1esz
+me2ta
+me2tel
+me2t1k
+me2to
+2m1e2v
+2m1ex
+m1ks
+2m12l
+2m1p
+2m1rc
+m1rd
+2m1ri
+2m1rm
+2m1rt
+2m1s
+2m12te
+m1fl
+m1fr
+m1gr
+mi2al
+2m1i2d
+mi2g
+2m1ig
+m1iks
+m1ill
+m1ind
+m1inf
+2m1inv
+2m1i2o
+2m1i2p
+m1ir
+m1irh
+2m1iro
+m1isk
+m1ism
+mi2sz
+m1i2ta
+m1izo
+2m1r
+m12v
+m1z
+m1kl
+m1kr
+mo2nac
+mo2ne
+mon1n
+mont2
+m1o2p
+m1ost
+m1ox
+m12l
+m12r
+m1b
+m12l
+m1n
+m1s
+m1t
+m1v
+m12r
+m1p2l
+m1p2r
+m1sk
+m1sl
+m1sp
+m1s2r
+m1s2t
+m1sz2
+m1t2r
+m1uj
+mu2n
+m1una
+2m1u2r
+2m1r
+2m1g
+2m1r
+2m1t
+2m1v
+2m1z
+m1wh
+n1abb
+2n1abl
+2na2dal
+n1ad
+n1a2do
+n1ag
+n1agr
+n1akc
+2n1akn
+n1akt
+n1alk
+n1ana
+n1ano
+n1ant
+na1pr
+n1arc
+nas2
+na1sp
+2n1ass
+n1atm
+2n1a2tom
+na1t2r
+2n1au
+2n1g
+n2l
+n1la
+n1lc
+n1ld
+2n1ll
+2n12p
+2n12rak
+ns1s
+n1sv
+n1ta
+n1tb
+n1te
+n1tk
+n1t
+2n1tr
+n1tt
+n1t
+2n1tv
+nba2
+n1bl
+n1br
+n1d2r
+2n1ef
+n1e2gy
+12ne2k1a2
+12nekd
+2neke.
+12nekei
+12nekek
+12nekem
+ne2ker
+12nekes
+ne2k12j
+12nekf
+12nekg
+ne2kiz
+12nek
+1nekj
+1nekka
+12nekl
+ne2k
+ne2k1
+12neks
+n1ela
+n1elg
+n1elh
+n1elj
+n1ell
+n1eln
+n1e2l
+n1elp
+n1els
+n1elt
+n1elv
+n1eml
+ne2n
+2n1ene
+ne2r1a
+ne2r12
+ne2reme
+n1er
+2n1e2sz
+ne2t1a2
+ne2t12
+ne2t1e2l
+ne2test
+ne2to
+2n1e2v
+2n1ex
+n1jb
+n1kb
+n12k
+n12ki
+n12k
+n2l
+2n1le
+2n1l
+n2m1a
+n1neke
+2n1r.
+2n1rc
+2n1r
+n2ter
+2nz
+n1f2r
+nfst2
+nfs2t1l
+n1g2r
+n1ido
+ni2g
+2n1ig
+n1iko
+n1ill
+n1imi
+n1ina
+n1ind
+n1inf
+n1inh
+n1int
+2n1i2p
+n1ism
+2n1ita
+2n1iva
+2n1i2z
+n1j
+n1n
+2n1v
+n1k2l
+n1k2r
+n1k2r
+n1kri
+nm1
+n3nyo
+2n1ol
+n1oml
+n1ond
+2n1or
+2n1osz
+n1ot
+2n1ox
+n1c
+2n12r
+n1k
+n1l
+n1n
+n1r
+n1t
+2nv
+2n12z
+n12s
+npe2
+n1pl
+n1pr
+n2sas
+n1s2p
+n1s2t2
+n2s
+n1tra
+n1tr
+n1t2ri
+n1tr
+2n1u2t
+n1t
+2n12g
+2n1le
+2n1r
+2n1s
+2n12v
+2n12z
+2ny1a2
+2ny12
+nye2c
+2ny1ece
+2nyecse
+2ny1e2dz
+2nyef
+2ny1egy
+2nyeks
+2nyela
+2nyel
+2ny1ell
+2ny1elo
+2ny1elv
+ny1elv
+ny1elvv
+2nyema
+ny1enc
+2ny1ep
+2nyerd
+ny1ered
+2ny1e2r
+2ny1e2sett
+2ny1e2ss
+2ny1e2s
+2ny1essz
+2ny1est
+2ny1e2sz
+2nyeta
+2nyeti
+2nyet
+2ny1ev
+2ny1g
+2ny12j
+ny2k
+ny1ke
+ny1kh
+ny1kn
+ny1kt
+2ny12l
+2ny1r.
+2ny1rd
+2nyr
+2ny12ri
+2ny1rn
+2nyrte
+2ny1rt
+2ny12r
+2ny1rv
+2ny1rz
+2ny1s
+2ny12te
+2ny1tt
+2nyva
+2ny1if
+nyi2g
+2ny1ig
+2ny1i2ko
+2ny1ing
+2ny1ira
+2nyiro
+2nyisk
+2nyita
+2nyiz
+ny2r
+ny1r
+ny1r
+2ny1ok
+2ny1o2l
+2ny1o2r
+2ny1os
+2ny12
+ny2
+2nyn
+ny1r
+2ny1s
+ny1z
+2ny12
+ny1s
+nyt2
+ny1tr
+2nyu
+ny1u2r
+ny1us
+2nyj
+ny1t
+2ny12l
+2ny1s
+2ny1v
+2nyz
+nza2
+n2z1ad
+n2zag
+n2zak
+n2z1al
+n2zar
+n2zau
+n2z1l
+n2z1s
+n2z1t
+n2z1e2r
+n2z1im
+n2z1in
+n2zis
+n2z
+nzo2
+n2z1ol
+n2zor
+n2zos
+n2zr
+n2z1
+n2zsa
+n2zse
+n2zur
+n2z
+nz1z
+1o
+o2la
+o2pe
+o2sz
+1
+2ra
+2ri
+1
+1
+p1ado
+2p1a2j
+p1alk
+pa2ny
+p1apo
+pa1pr
+p1arc
+p1ar
+p1ass
+p1atl
+pau2s
+p1aut
+p1a2va
+2p12g
+2p1lla
+2p1llo
+p1p
+p1r.
+p1rb
+p1rf
+p1ri
+p12ro
+p12ru
+p12r
+p1tb
+p1tj
+p1tl
+p1tm
+p1ts
+p1t
+p1tv
+p1bl
+p1br
+p1dr
+2peb
+p1e2g
+p1e2gy
+2p1e2ks
+2pel
+2p1ela
+2p1el
+2p1elb
+2p1elc
+p1e2lemb
+2p1e2leme
+p1e2lemr
+2p1elr
+2p1elf
+2p1e2lin
+p1elj
+2p1elk
+p1ell
+2p1ellen
+2p1elm
+2p1elo
+2p1e2lke
+2p1elr
+2p1eltr
+p1elu
+pe2n
+2p1ene
+2p1e2p
+2p1er
+pe2r
+2p1esem
+2p1e2ser
+2p1e2sett
+2p1e2ss
+2p1e2s
+2p1este
+2p1est
+2p1esti
+2p1estj
+pe2sz
+2p1esze
+2p1eszk
+2p1eta
+p1e2tete
+pe2tet
+2p1et
+p1eva
+2p1ex
+2p1g
+2p12k
+2p12l
+2p12neke
+2p1r.
+2p1ri
+p2sa
+2p1te
+p1fl
+p1gr
+2p1i2d
+2p1i2ko
+2p1imp
+p1ind
+p1ing
+2p1ins
+2p1int
+p1i2pai
+2p1i2ra
+2p1i2r
+2p1i2ro
+2p1irt
+p1isk
+2p1ism
+2p1ist
+2p1i2ta
+2p1iz
+p1n
+2p12r
+1ptm
+2p1v
+pk2r
+p1kl
+p1kr
+p1kv
+ple2t1
+p1ob
+2p1ok
+p1old
+p1olv
+p1on
+p1op
+p1orm
+p1ors
+p1osz
+2p1c
+2p12h
+p12r
+p1l
+p1m
+p1n
+p2r
+p1s
+p12z
+p2p1ek
+p2p
+p1p2l
+p2p1od
+p1p2r
+1prog
+p2rz
+p1sh
+p1sk
+p1s2n
+p1sp
+p1s2t
+psz2
+p1t2r
+p1udv
+p1ug
+2p1uj
+pu2n
+p1uno
+2p1u2r
+pu2s
+2p1u2t
+p1j
+p1s
+p1t
+2p1d
+2p1g
+2p1ld
+1ple
+2p1r
+p1s
+2p1v
+2p1z
+r1abl
+r1abs
+2r1a2d
+r1a2g
+r1agg
+r1agy
+r1a2ja
+r1ajt
+2r1a2ka
+2r1akc
+2r1a2la
+r1al
+r1alg
+r1alk
+r1alm
+r1alv
+r1amb
+r1amp
+r1ane
+r1ani
+r1a2no
+r1ant
+r1a2p
+r1a2p
+r1app
+r1apr
+r1a2ra
+r1a2r
+r1arc
+r1asp
+r1ass
+r1a2ti
+r1atk
+r1atl
+r1a2to
+ra1t2r
+r1att
+r1aty
+2r1a2u
+r1a2va
+2r1a2x
+r1a2zo
+2r1br
+r1g.
+2r12ga
+r1gb
+r1gg
+r1gy
+2r12l
+r12p
+r1r
+r1rk
+r12ro
+r1rp
+r1rr
+r12ru
+r12t1a2
+r12t12
+r1tc
+r12t1e2
+r1t
+r1tf
+r1th
+r1tj
+r1tl
+r1tm
+r12t
+r1tr
+r1t
+r1t
+r1tv
+2r1z
+1rbn
+r1bl
+r1br
+r2caj
+r2c1a2l
+r2c1a2n
+r2c1as
+rc3c
+1rcd
+r2ced
+r2c1emb
+r2c1esz
+r2c3h
+r2cil
+r2c1im
+r2ciz
+r2c1o
+r2c
+r2c1
+r2c
+r2c3seb
+r2c3sis
+r2c
+r2cz
+r2d1am
+r2d12
+1rdekb
+1rdeke.
+1rdekei
+1rdekel
+1rdekl
+1rdekt
+1rdek
+1rdek
+1rdem
+r2d1er
+rd1este
+rds3s
+r2d1i2n
+r2d1iz
+r1dra
+rd2l
+r2d1l
+r2d1l
+r2d3z
+re2b
+r1eba
+2r1ebe
+2r1eb
+2r1ebr
+r1eff
+re2g1a2
+re2g1
+re2ged
+re2gel
+re2g1em
+re2gen
+re2g1e2r
+re2gev
+re2g1l
+reg1g
+re2gin
+re2go
+re2g12
+2r1e2gy
+regyez1
+2r1ej
+2r1e2kn.
+2r1el
+2r1e2leg
+2relemz
+r1e2lg
+2r1elis
+2r1elk
+2r1elo
+2r1e2la
+re2lir
+2r1e2ll
+2r1e2lme
+2r1e2ln
+r1elr
+r1elt
+re2m1a
+re2m
+2rember
+re2m1eg
+2r1emel
+re2mes
+2r1e2ms
+r1e2mis
+2reml
+re2m1o
+re2m1
+2re2mu
+re2n
+2r1ene
+2r1e2r
+re2s
+2r1es.
+2r1esb
+2r1esj
+2r1esn
+res12r
+2r1est
+2r1est
+re2t1a
+re2t
+re2t1eg
+re2t1el
+re2t1r.
+re2t12ve.
+r1e2ve
+2r1e2v
+2r12d
+2r12g
+2r1j.
+2r12jt
+2r12k
+2r12l
+2r12neke
+2r1p
+2r12ri
+r2s1el
+r2sza
+r2sz
+r2ter
+2r1tk
+r12ve.
+2r1vn
+r1vv
+rfi2
+r1fl
+rfo2g1n.
+rfo2g1s
+rfoto1
+r1f2r
+r1g2r
+ri2al
+ri2csi
+2r1ido
+ri2n
+r1ifj
+ri2g
+2r1iga
+2r1ige
+2r1i2ko
+2r1ill
+2r1i2ma
+2r1i2m
+2r1i2mi
+2r1i2na
+2r1ind
+2r1inf
+2r1ing
+2r1inj
+2r1ins
+2rint
+r1inv
+2rinz
+2r1i2o
+2r1i2pa
+r1ira
+2r1isk
+r1ism
+2r1ist
+2r1i2sz
+2r1i2ta
+2r1iva
+2r1iv
+2r1i2z
+r1g
+r1j
+2r1n
+2r1r
+2r12v
+2r12z
+r2jan
+r1k2l
+rk2z1e2p
+r1k2r
+r1k2v
+rle2t1l
+1rm
+1rmj
+1rmk
+1rmi.
+2r1o2l
+r1ont
+ro2p
+r1ope
+2r1o2r
+r1ott
+r1ovi
+2r1o2x
+r2l
+r1lo
+r1ri
+2r12b
+2r12c
+r1ko
+2r12l
+2r1m
+2r1n
+2r1r
+2r1s
+r1t
+r1v
+2r12z
+r1f2
+r1pl
+r1p2r
+1rsek
+r1s2k
+r1sl
+r1s2p
+r1s2r
+r1s2t
+rsz2
+r1szk
+r2tat
+1rtekez
+r2t1ela
+1rtelm
+1rtes
+1rtkil
+1rtkm
+rts3s
+rt12ve
+1rtc
+1rtg
+1rt
+r1t2ran
+r1tr
+r1t2ren
+r1t2r
+1r1t2ro
+r1tr
+r1uga
+2r1uj
+ru2m1e
+ru2n
+r1una
+2r1u2r
+ru2s1r
+r1u2sz
+r1uta
+r1ut
+r1u2to
+2r1u2z
+2r1j
+r12r
+r12s
+r2t
+2r12g
+r2k.
+2r1r
+2r1s
+2r1t
+2r12v
+2r1z
+2r12z
+rv1a2d
+rv1ala
+r2v1a2n
+r2v12gy
+1rvel
+r2v1elem
+r2v1gb
+r2v1gh
+r2vk
+r2vl
+r2vu
+2rz
+1rzk.
+1rzkb
+1rzk
+1rzkh
+1rzkk
+1rzkn
+1rzkr
+1rzkt
+1rzk
+1rzk
+1rzsil
+s1abl
+2s1a2d
+s1agy
+s1ajt
+s1a2ka
+s1akl
+s1akn
+s1ako
+s1akt
+s1a2la
+s1alg
+s1alk
+s1all
+s1alt
+s1alv
+2s1am
+s1ana
+s1ant
+s1a2ny
+s1apa
+s1apr
+s1ara
+s1a2r
+s1arc
+s1ar
+s1arm
+s1arz
+s1asp
+s1ass
+2s1a2u
+s2c
+2s1l
+s1rt
+s2s
+s1ta
+s1th
+s1tl
+s1bl
+s1d2r
+se2b
+2s1eb
+2s1ef
+s1e2ge
+s1e2gy
+2s1e2ke.
+2s1e2kei
+2s1e2ks
+2s1eks
+2s1ekv
+s1ela
+s1el
+s1elb
+s1elk
+2s1elm
+s1elo
+s1elr
+2s1elv
+s1elz
+s1ember
+2s1e2mel
+2s1eml
+se2n
+2s1ene
+2s1eng
+2s1eny
+2s1e2p
+s1er
+2s1esz
+2s1eto
+2s1ev
+2s1ex
+s1gb
+2s12gb
+2s12g
+s12gh
+s12gn
+2s12gv
+2s1gh
+2s12gi
+2s1gn
+2s1gv
+2s12hen
+2s12j
+2s12k
+2s12l
+2s1p
+2s1r.
+s1rb
+s1rc
+2s1rd
+2s12rem
+2s12ren
+2s12r
+2s1rh
+2s1rl
+2s1rn
+2s12r.
+2s12rk
+2s12rv
+s1rr
+2s1rte
+2s1rt
+2s1rt
+2s12r
+2s1rv
+s1sz
+2s12te
+s12ve.
+s12vet
+s12vb
+s12vt
+s12vv
+s1fl
+s1fr
+s1gr
+2s1ic
+2s1id
+3sidet
+si2
+si2g
+s1iga
+s1ige
+2s1ikt
+2s1ill
+2s1imi
+s1imp
+s1ind
+s1inf
+2s1ing
+2s1int
+s1inv
+2s1i2p
+2s1ira
+2s1i2r
+s1iro
+2s1i2s
+2s1i2ta
+2s1i2v
+2s12r
+2s1v
+s2katu
+s1kl
+s1k2r
+s1kv
+1slg
+2s1ob
+s1oko
+s1okt
+2s1o2l
+2s1om
+2s1op
+2sor
+s1org
+s1orn
+s1orv
+2s1os
+2s1ot
+s1o2v
+s1c
+s12l
+s1n
+s12r
+2s12l
+2s1n
+2s1s
+2s1t
+2s12v
+2s12z
+s1p2l
+s1p2r
+s2pri
+s1ps
+s1s2k
+s1s2p
+s1s2t
+ssz2
+s3szab
+s3szag
+s3szak
+s3szap
+s3sz
+s4szel.
+s3szere
+s3szle
+s3szf
+s3szi
+s3sz
+s3szo
+s3sz
+s3sz
+s3sz
+s3szt
+s3sz
+s3szl
+s3sz
+st2r
+s1tra
+s1tr
+s1tr
+1stru
+s1ud
+s1u2r
+2s1u2t
+2s12t
+2s1g
+2s1nn
+2s1r
+s12t
+2s1z
+sz1abl
+2sz1a2d
+sz1agy
+2szaj
+szak2
+sza2k1z
+2szakc
+sza2k1
+sz1ale
+sz1alg
+sz1all
+sza2n
+sz1ant
+sz1any
+sza2p
+sz1apo
+2sz1a2r
+2sz1as
+sz1a2to
+2sz1au
+2szaz
+2sz
+2szb
+2sz12g
+sz2l
+sz1ll
+s3zp
+sz1ram
+2szr
+sz1rn
+sz1rf
+sz1rk
+2sz1rn
+sz12ru
+2szs
+2sz12t
+sz12z
+2sz1e2ge.
+2sz1e2gei
+2sz1e2gy
+2sz1ej
+sze2k1a2
+sze2k
+sz1eks
+szek2
+sze2kv
+2sz1ela
+2sz1e2leg
+sz1e2lemb
+sz1e2leme
+sz1e2lem
+sz1e2lemm
+sz1e2lemn
+2sz1elk
+sz1eld
+2sz1elr
+2szelz
+sz1ember
+2sz1emi
+2s3zen
+2sz1eng
+2sz1ep
+sz1e2rez
+sz1e2rn
+sz1erk
+2szer
+sz1e2sete
+sz1eszt
+szeta2
+sze2t1ak
+sze2t1e2l
+sze2t1r.
+sze2t1o
+sze2t1r
+sz1e2ve
+2sz1ex
+2szg
+2sz1kt
+2sz12l
+2sz12p
+sz1r
+2szr
+2szsz
+2sz12te
+2sz1tk
+2sz1i2d
+2szif
+sz1i2ko
+2sz1ikt
+2sz1ill
+2sz1im
+2szina
+2sz1ind
+2sz1inf
+sz1ing
+2sz1int
+sz1io
+2sz1i2p
+2szira
+2sziro
+2szirt
+2sz1i2s
+2sz1ita
+2sz1iz
+sz12j
+2szr
+sz12v
+sz12v
+sz12v
+sz1k2
+sz1okt
+szo2l
+sz1old
+sz1olt
+2szop
+sz1ors
+2sz1os
+2sz1ot
+2s3zn
+2sz
+s3zld
+sz1lt
+2sz1n
+2sz1s
+2szt
+sz1rs
+sz1p2
+sz3su
+sz3s
+szts1s
+sz2tors
+sztorz1
+sz1tra
+s3zul
+sz1ut
+sz1rn
+2sz1t
+2sz12g
+2sznn
+2szt
+2sz12z
+2szz
+sz1z
+t1abla
+t1a2do
+t1a2d
+t1adt
+t1agg
+ta1gr
+tai2k
+2t1ajk
+2t1ajt
+t1akc
+ta1kr
+t1akt
+2t1alj
+2t1alk
+t1als
+2t1alt
+2t1ani
+2t1ann
+2t1ant
+t1anya
+t1any
+2t1aps
+2t1arc
+2t1arg
+t1aszt
+tat2
+t1atom
+ta2
+t1azo
+t1br
+2t12g
+2t1ll
+t12rad
+t12ram
+t12r
+2t12ri
+2t12r
+t1rv
+t1ti
+2t1tr
+2t1tv
+t1bl
+t1dr
+tea2
+2tedn
+te2g1a2
+te2gele
+te2g1elv
+te2ger
+te2go
+2t1e2ke.
+2t1e2kei
+te2la
+te2l1
+te2l1e2l
+te2l1er
+te2l1k
+te2l1r.
+te2l12ren
+te2lr
+2telfog
+2tellen
+te2lo
+2t1e2ll
+te2l12r
+2t1e2mel
+tera2
+te2rad
+te2r1ag
+te2r12
+te2reg
+te2rel
+termo1
+2t1er
+te2sik
+2t1estn
+2t1esv
+2t1eszm
+t1e2vi
+t2g
+t1g.
+t1ge
+t1g
+t1gn
+t1gt
+2t12j
+2t12l
+2t12ren
+2t12r
+2t12ri
+2t12rt
+2t1rte
+2t1rt
+2t12r
+2t1rv
+2t1rz
+t1szl
+2t1tb
+2t12t
+2t1tn
+2t1tr
+2t12ves
+t1fl
+t1fr
+t1gr
+2t1i2d
+ti2g
+2t1ige
+2t1ig
+2t1i2ko
+2t1i2m
+2t1ind
+2t1inf
+2t1int
+ti2p
+2t1ipa
+2t1ir
+t1iro
+tis3s
+ti2sz
+2t1i2v
+t1iz
+2t12r
+2t12v
+t1kl
+t1kr
+1tk
+t1kv
+tmeg1g
+t1o2k
+t1o2ki
+t1okm
+t1o2l
+2tola
+2tolv
+t1oml
+2t1op
+t1ord
+t1org
+to2ris
+t1orm
+t1ors
+2t1c
+t12ha
+t1n.
+t1r
+t2k
+t2l
+2t1m
+2t1n
+t2rl
+2t1s
+t12t
+t12v
+2t12z
+t1r.
+t1rb
+t1ri
+t1rm
+t1r
+t1r
+2t12s
+2t12z
+tpen1
+t1pf
+t1pl
+t1pr
+1t2raf
+t2rf
+tro2m12
+t1sl
+t1sm
+t1sp
+t1st
+t1t2r
+t1udv
+2t1ug
+2t1uj
+tu2n
+t1una
+t1und
+2t1u2r
+2t1u2t
+t12s
+2t1g
+2t1r
+t1s
+2t1t
+2t12v
+2t12z
+t2z
+2t3ye
+1u
+u2ni
+u2ta
+u2t
+u2zs
+1
+1
+2gy
+2le
+2l
+2l
+2l
+2r
+2t
+2t
+2t
+2ze
+1
+2vad
+1vad.
+v1ad
+1vadr
+v1agy
+v1aj
+2v1a2la
+2val
+2v1alk
+2v1am
+2v1a2n
+v1arc
+v1au
+v1ava
+2v1a2z
+2v1llo
+2v1ta
+v1th
+v1tk
+2v1tr
+v2z
+v1z
+1vbeo
+2v1e2g
+12vei
+12vekt
+v1ela
+1velf
+12v1eli
+2v1ell
+v1eln
+2v1elo
+2vel
+2v1els
+2v1elt
+2v1elv
+2v1eng
+12venk
+12vent
+v1e2ri
+2v1e2r
+12vesb
+1ves
+v1e2ss
+1vesf
+12vesi
+12vesk
+12vesr
+v1est
+v1eve
+v12ge
+v12g
+v1gr
+v1gt
+v1r.
+v12r
+v2ri.
+v1rr
+2v1rte
+2v1rt
+v1ska
+v1s2p
+v1st
+v1gr
+vi2g
+v1iga
+2v1ig
+12vih
+12vik
+12vim
+2vin
+v1ind
+1vine
+1vin
+v1ing
+v1int
+v1ism
+12vit
+12viv
+2v1r
+1vks
+v1kr
+1vny
+v1ok
+v1os
+v12r
+v12r
+v1s
+v1t
+12vd
+v1pr
+v1sk
+v1st
+v1sz
+vsza2k1as
+vt2r1a2d
+1vt.
+v1ur
+v1j
+v12t
+2v1g
+2vk.
+2vkb
+2vke
+2vkh
+2vki
+2vkn
+2vkt
+2vlj
+2v1t
+2v1z
+1vz
+z1a2d
+za2gal
+za2ge
+z1a2j
+z1akr
+2z1a2l
+za2n
+z1any
+z1a2r
+z1as
+2z1a2t
+z1az
+2z12g
+2z12l
+z1sv
+z1z
+z1bl
+z1d2r
+ze2c
+z1ece
+2z1e2d
+z1e2g
+z1e2gy
+2z1ela
+2z1eld
+2z1e2le
+zel1en
+2z1elf
+2z1elh
+2z1ell
+z1elb
+z1el
+z1elg
+z1eli
+z1elj
+2z1e2lk
+z1eln
+z1elp
+z1els
+z1elt
+z1elv
+2z1els
+2z1elv
+2z1emb
+z2en.
+ze2n1
+z1enz
+2z1e2p
+ze2r1a
+ze2r1
+ze2r1in
+ze2rip
+ze2ro
+z1er
+z1e2r
+z1esz
+ze2ta
+ze2t1
+ze2t1eg
+ze2t1e2kh
+ze2t1el
+2z1e2v
+2z1ex
+2z12d
+2z1g
+2z1k
+2z12l
+2z1r.
+2z1rc
+2z12ri
+2z1rm
+2z1rp
+2z1rt
+2z1rz
+z1fr
+zg2
+z1g2r
+zi2d
+z1ido
+2z1ig
+2z1ill
+z1imp
+z1ind
+z1ing
+2z1int
+zi2o
+z1ion
+2z1i2pa
+2z1ip
+2z1i2r
+3zire
+3zir
+zis3s
+zi2s1
+zi2sza
+zi2s3z
+z1i2ta
+2z1i2v
+z1izm
+z1izo
+2z1izz
+z12j
+z1r
+z12v
+z1z
+zkar2c3h
+z1k2l
+z1k2r
+z1ola
+z1old
+z1op
+2z1or
+z1osz
+2z1ox
+z1b
+z12k
+z1n
+z1r
+z1s
+z1t
+z12v
+za2
+z1r.
+z1pl
+z1p2r
+z3saj
+z3sar
+z3seb
+z3ser
+z3sik
+z3sn
+z3sod
+zs2
+2z3sk
+zs1r
+z3s
+z3spi
+zs1s
+z3sug
+zs12r
+2z3s
+z3sz
+z1t2r
+z1ug
+z1uj
+2z1u2r
+z1ut
+2z12g
+2z1r
+2z1s
+2z1t
+2z12z
+z1r
+z3zsa
+2f.
+1fa
+fat1
+fa1b2ro
+fa2chi
+fac3hi.
+fa2c3ho
+fa1d2r
+faegyez1
+fae3lek
+fae2r
+fa2d
+fa1f2r
+fa1g2r
+fagy2
+fa2gyk
+fa2gyol
+fa2gy
+fa2gyr
+fai2d
+fai2s
+fa2j1a2l
+fa2j1az
+fa2j1g
+fa2j12ru
+fa2j1egys
+fa2jelem
+fa2j1elk
+fa2jelm
+fa2j1eln
+fa2j1elv
+fa2j1es
+fa2j1
+fa2j
+fajt2
+faj1tr
+faju2r
+faj1ura
+fa2j
+fa1k2l
+fa1k2r
+fa1k2v
+fa2l1a2d
+fa2l1a2d
+fa2laj
+fa2l1a2k
+fa2l1a2l
+fala2n
+fal1any
+fa2lav
+fa2l1az
+fa2l1br
+fa2l1l
+fa2l12ro
+fa2l1th
+fa2l1tv
+fal1e2gy
+fa2l1elem
+fa2l1el
+fal1ese
+fa2l1ri
+fal1f2
+fa2lid
+fa2l1inj
+fa2l1iz
+fa2l12
+fa2l1ol
+fa2l1oml
+fa2lor
+fa2l1os
+fal1r
+fal2
+fa2lk
+fa2l1v
+fa2l1r
+fal1p2
+fal2s1n.
+falta2n
+fal2tem
+fal2tip
+fal2tz
+fa2l
+fa2n1e2vet
+fan1vb
+fan1vr
+2f1a2nya.
+fa2r
+fa1p2l
+fa1p2r
+fa2r1a2d
+fa2ragy
+fa2r1a2k
+fa2r1a2l
+fa2r1at
+fa2r1a2v
+fa2r1cc
+fa2r1l
+fa2r12z
+fa2r1em
+fa2r1e2pe
+fa2r1id
+fa2r1in
+fa2r1ing
+fa2r1izm
+fa2r1izo
+far2k1al
+far2kol
+far2ml
+far2min
+far2m1unk
+fa2r1okke
+fa2r1osz
+fa2r1ut
+fa1s2k
+fa1s2p
+fa1sta
+fa1st
+fa2sz1v.
+fa1tri
+fau2r
+fau2s
+fau2t
+fa2t
+fa2z
+fa2xe
+faxi2
+fa2x1ik
+fa2xin
+fa2x
+fa2x
+fa2x
+fa2x
+fa2x
+fa1ya
+fa1ye
+1f
+f1br
+f2c3h
+f2gp
+fj2lak
+fj2l
+fj2l1e2
+fj2l12
+f2n
+fnka2
+fn2kar
+fn2k
+fn2tad
+fn2t1a2g
+fn2tan
+fn2t12
+fn2t1e2
+fn2tis
+fn2tor
+fn2t
+f2po
+f2ram
+f12r
+fs3s
+f2t1a2
+f2t1
+f2te
+f2t1rd
+f2t1i2s
+ftm1
+f2t1ol
+f2t12
+fzi2s1g
+fzi2s3z
+fba2l1
+fc2lu
+fd2r
+1fe
+fe2aa
+fe2a
+fe2ab
+fe2ac
+fe2ad
+fe2ae
+fe2a
+fe2af
+fe2ag
+fe2ah
+fe2ai
+fe2aj
+fe2am
+fe2an
+fe2a1p2
+fe2ar
+fe2as
+fe2at
+fe2a
+fe2av
+2f1e2dz
+fe2ed
+fe2el
+fe1f2r
+fe2gy1i
+fe2gy
+fei2n1i
+fe2ja
+fe2j12
+fe2j1egy
+fe2j1elm
+fe2j1e2r
+fe2j1esz
+fe2j1e2v
+fe2j1o
+fe2j1s
+fej1tr
+fe2j1u
+fe2j
+fek2t1emb
+fe2l1a2
+fe2l12
+fele2c
+fe2l1e2dz
+fe2l1e2g
+fe2l1e2h
+fe2l1elev
+fe2l1e2mel
+fe3lemen
+fe3lemet
+fe2l1e2ms
+fe2l1eml
+fe2l1eng
+fe2l1enn
+fe2l1e2re
+fe2l1esd
+fe2lesed
+fel1eseg
+fe2l1e2sett
+fe2l1ess
+fe2l1esik
+fe2l1esk
+fe2l1esni
+fe2l1e2s
+fe2l1essen
+fe2l1este
+fe2l1est
+fe2l1e2sz
+fe2l1e2tes
+fe2l1e2tet
+fe2l1ettek
+fe2l1ettl
+fel1e2ve
+fel1e2v
+fel1evi
+fel2d
+fe2l1de
+fe2l12g
+fe2l12k
+fe2l12l
+fe2l12p
+fe2l1r.
+fe2l12rek
+fe2l1ren
+fe2l1rh
+fe2l1ri
+fe2l1rj
+fe2l1rk
+fe2l1rn
+fe2l1rs
+fe2l1rt
+fe2l1rv
+fe2l1tet
+fe2l1i2
+fe3lib
+fe2l12
+fel3l
+fe2l1o2
+fe2l12
+fe2l12
+fe2l1g
+fe2l1r
+fel1p2
+felt2
+fe2l1u2
+fe2l
+2f1e2ner
+fen2n1a2
+fen2n
+fenne2
+fen2nev
+fen1sc
+fer1abl
+fe2rak
+fe2r1ll
+fe2r12r
+fere2g
+fer1egy
+fe2r1old
+fe2r1olj
+fe2r1oln
+fe2r1olt
+fe2sem
+fe2s1er
+2f1e2s
+feu2m12
+fe2v
+fe2z1r.
+fe2z
+fe2zs
+1f
+fka2
+f2k1ad
+f2k1ag
+f2k1al
+f2kas
+f2k1au
+f2k12
+f2k1e2g
+fk1ell
+f2k1er
+f2k1k
+f2k12l
+f2k1r.
+f2k1o2l
+f2k1or
+f2kn
+f2k1u2
+f2k1
+f2l1a2
+f2l12j
+f2l12r
+f2leg
+f2l1ekk
+fl1el
+f2l1ell
+f2l1el
+fle2m
+fl1emb
+f2l1eme
+f2l1e2r
+f2l1ese
+f2l1esz
+2f12let
+f2l1ez
+f2l1va
+fligaz1
+f2lin
+f2lir
+f2l1is
+f2liv
+f2l
+f2l1ok
+f2los
+f2l
+f2l1
+f2lr
+flpen1
+fl1t2r
+f2l12
+f2mab
+f2mad
+f2m1a2g
+f2m1a2j
+f2m1a2n
+f2m1ap
+f2mau
+f2maz
+f2m1c
+f2m1l
+f2m1ec
+f2med
+f2me2kt.
+f2m1e2l
+f2m1emb
+f2mer
+f2mez
+f2m12k
+fm2r
+f2m1r
+f2m1i2n
+f2m1ir
+f2m1is
+f2mit
+f2m1iz
+f2m
+f2m1o
+f2m
+f2m
+f2m1u
+fm2
+f2m1l
+f2ny1e2g
+f2ny1e2l
+f2ny1e2r
+f2ny1is
+f2ny1
+f2nyo
+f2ny
+f2ny
+f2p
+f2p
+2fra
+2fraf
+2frai
+2fral
+2frar
+2frd
+2fr
+2frm
+fr2cem
+fre2g1e2
+f2s1orr
+fsz1al
+fsz2
+fsz1r
+f2szeg
+f2sz1el
+fta3u2
+2f1vk
+f2zs
+fzs1e2
+fzs1o
+ffe3li
+ffi2ac
+ffi2ag
+ffi2aka
+ffi2am
+ffi2at
+ffli2
+ff1sh
+1f2fy
+fg2l
+1fi
+fi2aa
+fi2a
+fi2ae
+fi2a
+fi2af
+fi2ah
+fi2a
+fia2la
+fi2ao
+fi2a
+fi2a
+fia1p
+fi2apa
+fia2ra
+fia2r
+fi2ar
+fi2asz
+fi2aszo
+fi2au
+fi2a
+fi2av
+fi2ave
+fi2l
+fi2c3h
+fici2t1
+fi2dan
+fi2d1
+fi1dr
+fie2l
+fie2n
+fie2r
+fie2s
+fies1e
+fie2t
+fi1fl
+fi1fr
+2f1i2gaz
+fi1k2l
+fi1kr
+fi1kr
+fi1kri
+fi1k2v
+fi2lac
+fil1ada
+fil1akn
+fil1akt
+fi2lal
+fi2lam
+fi2l1l
+fi2lr
+fil1elt
+fi2l1en
+fi2les
+fil1esz
+fil1rt
+fi2l1i2d
+fi2l1i2m
+fi2l1in
+fil2mad
+fil2mak
+fil2man
+fil2m1as
+fil2mat
+fil2m12
+fil2mos
+fil2mu
+fi2l
+fi2l
+2f1i2m
+fimeg1
+2f1i2nas
+2find
+fin1osz
+fi2n1
+fint2
+fin1tr
+fi2n1u2
+fi2n
+2finx
+fio2v
+fi3k
+fi2k1a2l
+fi2kar
+fi2k1e2
+fi2kp
+fi2kol
+fi2k
+fi2r
+fi2r
+fi1p2l
+fi1p2r
+fi2rod
+fis1arc
+fi1s2p
+fist2
+fi1str
+fi2t1ad
+fit1a2la
+fit1alj
+fi2tg
+fit1rak
+fit2t
+fi2t1ta
+fi2t1h
+fi2t1rd
+fi2tik
+fi2t1in
+fi2tir
+fi2t1i2z
+fito1p2
+fi2t1osz
+fi2tn
+fi2t1r
+fi2t1ur
+fiu2min
+fiu2t
+fi2a
+fi2
+fi2e
+fi2f
+fi2g
+fi2
+fi2l
+fi2o
+fi2
+fi2
+fi2p
+fi2sz
+fi2ti
+fi2u
+fi2
+fi2
+fi2x1r
+fi2x1el
+fi2x
+1f
+f2r
+frcsa2
+f2r1in
+f12r
+fr1tr
+f2r
+fj1sz
+fki2s1
+fk2li
+fk2lu
+fk2r
+f2lak
+f2lan
+f2lep
+f2lip
+fli2s1
+flo2n1
+flo2n
+f2lot
+f2luk
+1fo
+fo2am
+fo2g1a2r
+fo2g12c
+fo2gl
+fo2g1rk
+fo2g1ro
+fo2g1e
+fog3g
+fo2g
+fo2g1or
+fo2g1os
+fo2g
+fo2gur
+fo2g
+foh2szat
+fo2kal
+fok1ll
+fo2k1rr
+fo2k1e2
+fok1ing
+fo2k
+fok1k2
+fo2kola
+fo2k1or
+folta2n
+fol2t1e
+fol2t1
+fo2n1ada
+fo2nado
+fo2nak
+fon1alap
+fona2l1e2
+fon1alja
+fon1aljo
+fona2n
+fon1any
+fo2n1asz
+fo2n1au
+fo2n12r
+fons1s
+fo2n1t
+fond2
+fon1dr
+fo2neg
+fo2n1el1
+fo2ner
+fo2n1es
+fo2nk
+fon1f2
+fon1i2ko
+fo2n1i2m
+fo2nin
+fo2n1is
+fo2niz
+fo2n
+fon1k
+fo2n1or
+fo2n1osz
+fo2n
+fo2n2
+fons2
+fon1st
+fon2t1i2n
+font2
+fon2tn
+fo2n
+fonya1
+fo2r1ad
+foraksz1
+fo2r1ala
+fo2r1a2n
+for1ato
+fo2reg
+fo2r1el
+fo2r1er
+forgs1s
+fo2r1il
+fo2r1i2o
+for2m1e2l
+for2m1em
+for2mer
+for2mes
+for2m1rt
+for2mil
+for2m1in
+fo2r1ol
+fo2r
+2f1orr
+fors2
+for1sp
+for2t1l
+for2t1e2l
+for2t1rd
+for2t
+fo2r
+foto1s
+fo2vi
+1f
+f2r
+fsza2
+1f
+f2la
+f2l
+fl2dk
+f2l1e2
+f3le.
+2f12lsbel
+f2liv
+f2l
+fl1k2
+f2lo
+f2l
+f2ln
+flt2
+fl1tr
+f2lu
+f2l
+fn2n1
+fnne2
+f2s
+1f
+fa2n
+f2g
+f1bl
+f1br
+f1dra
+fe2l
+fe2r
+fe2s
+f2h
+f2te
+f1fl
+f1f2r
+f1gl
+f1gn
+f1gr
+fi2d
+figaz1
+fi2ta
+f2t
+f1kl
+f1kv
+f2n1ag
+f2n1apj
+f1pl
+f1pr
+f2r1aj
+f2rem
+fre2s
+f2r1k
+fri2
+f2r1is
+f2rl
+fr1l
+f1sl
+2fs
+f1sta
+f1str
+fsz2
+f1szl
+f1szp
+f1szt
+f1t2r
+f2l
+fz2
+fp2la
+fp2ro
+fra1s
+fr2ma
+fr2m
+fr2m1e2
+fr2nye
+f2rs
+f2resk
+fr2n
+fr2nn
+1f2ric
+f3rich
+f2rig
+f3rip
+1f2ris
+fron2t1a2
+fron2t1e2
+f2rc
+f2rus
+fs2ho
+fs2po
+fs2t
+fst2r
+ft1aj
+fta1kr
+ft1alj
+ft1bl
+f2t1ef
+fte2m
+f2t1eme
+f2t1r.
+fti2g
+f2t1ige
+f2t1ing
+ft1s
+ft1t
+f2t1g
+ft1t
+f2t12z
+1fu
+fuga1
+fura2t1e
+fu2s1as
+fu2seg
+fu2sis
+fu2sz12
+fu2sz1ol
+fu2sz
+futksz1
+fut1s2p
+1f
+fj2tal
+2f12r
+2f1rr
+f2zs
+1f
+2f12gy
+f2la
+f2l
+fle2c
+f2l1eml
+f2l1e2p
+f2l1e2v
+f2l12j
+f2l12k
+f2l
+fl3l
+f2lo
+2fl
+f2lt
+fl3t2
+f2ma
+f2m
+f2m1e
+f2mo
+f2m
+f2m
+2f1nn
+fr2t1
+fst2
+fs2t1l
+2f12t
+2f12t
+2f1zl
+1f
+f1dr
+f1fr
+f1pr
+f1sr
+fsze2r1el
+f1t2r
+f2z
+f2zis
+f2zo
+f2z1lt
+fvros2
+1fy
+2g.
+1ga
+2g1abc
+2gabr
+2g1abs
+ga1by
+2g1a2dag
+g1adap
+2g1a2data
+2g1a2datb
+gads1s
+2g1adm
+ga2dog
+2gadom
+gadi2ko
+2gadsat
+2g1a2du.
+2g1a2duk
+gae2r
+2g1aff
+ga1fl
+ga2ga.
+2g1agg
+ga1g2r
+g1agy.
+ga2gyu
+g1a2gy
+2g1ajn
+2g1ajk
+2g1ajt
+2g1a2kad
+ga2kc
+2g1akc
+g2a3k
+2gakv
+ga1kl
+2gaknai
+g1aktu
+g1akv
+gala2g1
+ga2lat
+2galf
+2gal
+ga2lv
+2g1alb
+2g1alc
+gale2g1e2
+2g1alk
+galo2m1e
+3galop
+g1a2los
+2g1a2lud
+ga2lul
+ga2lusz
+2galv
+ga2m1a2g
+2g1amc
+2g1amp
+ga2nab
+2g1a2nal
+2gancs
+gan2csal
+gancs1g
+gan2cse
+gan1d2
+3g2an
+gan2ga
+g1a2nim
+ga2nyag
+ga2ny1at
+ganye2l
+ga2nyr
+g1a2ny
+ga2ny
+ga2r
+ga2pa.
+ga2pa
+ga2pac
+ga2pas
+ga2pn
+ga2pt
+ga1p2l
+ga2pok
+ga2p.
+ga2pb
+ga2pk
+ga2pn
+ga2pv
+2g1app
+ga1p2r
+ga1pro
+gara2t1
+2g1a2rk
+2g1a2rny
+ga2rn
+gar1k2
+ga2r
+ga2seg
+ga2s1is
+ga2s1n
+ga1s2pi
+ga1spr
+gas3sze
+gas3sz
+gast2
+ga1s2ta
+ga1sto
+ga1str
+gasz1agg
+ga2sz1an
+ga2szg
+ga2szs
+ga2sz1es
+gasz2tr
+ga2t1a2d
+gat1ar
+ga2tav
+ga2t1l
+ga2t12ram
+ga2t1eg
+ga2tep
+gat2s
+ga1thi
+ga2tim
+gat1old
+ga2tomi
+g1a2uk
+ga2ul
+ga2us
+ga2van
+ga2var
+ga2vat
+2g1a2vu
+gaza2n
+gaz1any
+gaza2te
+ga2zl
+3g2azd
+3g2aze
+ga2zer
+2gazg
+2gazt
+gazmus1s
+2gazod
+2gazon
+ga2z
+1g
+g2ba
+2g12b
+g2b
+2g1br
+3g2ci
+gcs1a2va
+g2cse
+g2cs1il
+g2cs
+gda2
+g2d1al
+g2d
+g2d1l
+g2d1ia
+g2dis
+g2d
+g2d1
+g2fo
+2g1g.
+g2gak
+g2gat
+g2gaz
+2g1gg
+2g12gi
+2g12g
+2g12gy
+ggy1asz
+2g12h
+g2ja
+g2j
+g2j1e2
+g2j
+gla1p
+2g1lc
+2g1ldo
+g2l1es
+g2li
+3glis
+2g1ll.
+2g1ll
+2g1llu
+2g1lmo
+3g2ly
+g2m.
+g2mal
+g2m1e2
+2g12m
+g2m
+gna2
+g2nac
+g2nal
+g2nap
+g2n1at
+g2ns
+gn2cse
+gn2csi
+gn2cs12
+gn1d2
+g2n1e
+2gngy.
+g2nig
+g2n1io
+g2nis
+2g12niz
+g2nol
+g2n12
+gn1sz2
+gnt2
+gn1tr
+g2n1
+g2n
+g2ny1a2n
+g2nyar
+g2ny1as
+g2ny1e2
+g2nyrd
+g2nyrz
+g2nyij
+gnyk2
+g2ny
+g2po
+g2rad
+g2r1ag
+g2r1aj
+2g12ram
+g2r1a2n
+g2rar
+g2ras
+g2ra2t
+gr1ato
+gr1att
+g2r1av
+2g12raz
+g2rg
+g2r1l
+g2r12z
+g2re2
+gr1em
+gr1es
+gr1et
+gr1te
+g2rif
+g2r1i2p
+g2r1isk
+g2r1ism
+g2r1iz
+g2r
+2g1rny
+g2r1ol
+g2rop
+gr1ost
+g2r1osz
+gr2
+g2r1r
+g2r
+g2r
+gr1s2
+gr1tr
+2gru.
+2g1rud
+g2rug
+2g12ruh
+2g12rul
+2g12rul
+2g1rur
+2grus
+gr1uta
+gr1utu
+g2rr
+g2rt
+g2r
+g2r
+g2s.
+g2s1a2d
+g2sal
+2gsat
+g2s12g
+g2s1rad
+g2s1rn
+2g12ss
+g2s12to
+g2s1e2
+g2s1im
+g2sis
+g2s
+g2sor
+g2s
+gs12r
+g2s
+g2s
+gs3sz
+gs3sz
+gst2
+gs1tr
+g2sut
+g2s12
+g2s
+g2szal
+g2szas
+g2szatl
+g2s3zav
+g2sz1l
+g2sz1e2
+g2szis
+g2szit
+g2sz
+2g1szk
+gszksz1
+g2sz1okta
+g2sz1l
+g2s3zn
+g2szv
+g2sz
+g2t.
+2gtad
+g2taj
+2g2tal
+gt1a2la
+gt1alj
+gt2
+g2tl
+g2t1r
+g2tt
+2g1tbo
+g2t1eg
+g2t1e2l
+g2t1e2m
+g2ten
+g2tl
+gt2r
+g2t1r.
+g2t1re
+2gtfe
+2g1tg
+2g1tha
+g2til
+g2tis
+g2tiz
+2g12t
+g1tm
+g2t1olda
+gt2
+g2tr
+2g12t1
+g2t
+2g1tt
+2g2t2
+g1tvi
+g2va
+g12v
+g2z1a2d
+gz1akn
+gz1akt
+g2z1a2l
+g2zar
+g2z1a2t
+g2z1av
+g2z1r.
+g2z1r
+gz1re
+g2z1rh
+g2z1rk
+g2z1rn
+g2z12ro
+g2z1rr
+g2z1rt
+g2zru
+2g12zsos
+g2z1e2
+gzi2g
+g2z1iga
+g2zim
+g2z1i2p
+g2z1i2s
+g2z1iz
+g2z
+g2z
+g2z
+gz3sp
+gz3sta
+gz3ste
+gz3sug
+g2zs
+gz3s
+gz3sz
+g2z
+gbe2
+gb2l
+gb2rem
+gb2la
+gb2le
+gb2lo
+gb2l
+gb2ra
+gb2ri
+gb2ro
+gb2ru
+gcsap2
+gcsa2p1g
+gda2u
+gd1ell
+gde1p2
+g2d12k
+g2d1r.
+gd1ina.
+gd1inb
+gd1inh
+gd1inr
+gd1int
+gd1inv
+g1d2r
+gd2re
+gd2ro
+gd1t2r
+g2d3z
+1ge
+gea2c
+gea2g
+gea2l
+ge2r
+g2ebe
+g1e2cet
+3g2eci
+g1eddz
+2gednn
+2gedny
+ge2dze
+ge2dz
+ge2dzi
+ge2dz
+2g1eff
+2gege
+2g1e2g
+3gegom
+ge2gye
+ge2gy
+ge2gyo
+2g1e2gy
+ge2hes
+ge2het
+2g1e2h
+2g1ejt
+2g1e2ke.
+2g1e2kei
+2g1e2kek
+2g1e2k
+ge2kj
+ge2kk
+2g1e2ks.
+ge1k2li
+2g1eks
+3g2el.
+g1elad
+ge2lag
+3g2elap
+ge2las
+ge2ll
+ge2l1r
+2g1elcs
+3geld.
+2g1eldo
+2g1eld
+ge2lef
+ge2legi
+g1elegy
+3g2elek.
+2ge2lem
+ge2lemi
+2ge2lemk
+2g1e2lemm
+2g1e2lemz
+gele2n
+3gelend
+ge2l1eng
+ge2l1eny
+gel1este
+ge2lev
+ge2lg
+3g2elsb
+3g2elsek
+3g2elsen
+3g2elsn
+3g2elsr
+3g2elsh
+3g2elsi.
+3g2elsk
+3g2elsr
+3g2elss
+3g2elst
+3g2els
+2g1elsz
+3gelsz.
+3gelsz
+3gelsz
+3gelszv
+2g1elhel
+3g2elhes
+3g2elhet
+3g2eli.
+3g2elik
+gel1int
+3g2elj.
+3g2elje
+3g2elj
+3g2elj
+2g1elk
+2gellen
+2g1elm
+2g1elnev
+3g2elnn
+3g2elni
+2g1e2los
+ge2l
+3g2el.
+ge2lbbr
+3g2elbe
+3gelb
+3gelbi
+3gelbo
+3g2elb
+3g2elc
+3g2ele
+3g2el
+3g2elg
+3g2elh
+3gelja
+3g2elj
+3g2eljo
+3g2elj
+3g2elj
+3g2elk.
+3g2elka
+3g2elkb
+ge2lkel
+3g2elker
+3g2elket
+3g2elkez
+3gelk.
+3g2elkn
+2g1elks
+3g2elkh
+3g2elki
+3g2elkk
+3gelkl
+3g2elkn
+3g2elk
+3gelk
+3g2elkr
+3gelkt
+3gelku
+3gelk
+2g1e2ll
+2g1elm
+3g2eln.
+3gelna
+3g2elne
+3g2eln
+3g2elnk
+3geln
+3gelnyi
+3g2elo
+3gel
+3g2el
+3g2elp
+g2elre.
+3g2elrs
+3gelro
+3g2elr
+3g2els.
+3gels
+3gelso
+3gels
+3g2elsza
+3gelsze
+3gelsz
+3gelszi
+3gelsz
+ge2lsz
+3g2elt.
+3g2elt
+2g1elt
+3g2elt
+3gelt
+3gel
+3g2elv
+3g2elve
+3g2elv
+3gelvis
+3gelviz
+2g1e2lz
+g1els
+3g2elsz.
+2g1elsz
+2g1elszo
+3g2elt.
+3gelte.
+3g2eltek
+3g2eltem
+3geltes
+2g1eltett.
+2g1eltettn
+3geltb
+3g2eltk
+3geltl
+2g1eltr
+3geltt
+2g1elto
+2g1elt
+ge2ll
+3g2eln
+2g1elv.
+2g1elvb
+2g1elven
+2g1elvt
+2g1elvh
+2g1elvn
+2g1elvo
+2g1elvr
+2g1elv
+2g1elvv
+ge2ly1e2g
+ge2lyid
+ge2man
+2g1ember
+2g1embl
+g1e2mel
+2gemel
+2gemelk
+ge3mell
+2gemel
+2g1e2ms
+2g1eml
+ge2moc
+2g1emp
+gena2
+ge2n1ad
+ge2nar
+ge2n1as
+ge2nau
+ge2n1l
+ge2nr
+ge2nt
+g2end
+ge2n1eg
+3gener
+ge2nere
+2generg
+ge2n1esz
+ge2n1e2vet
+ge2n1e2vez
+gen2k
+ge2n1k
+ge2n1kn
+ge2n1kt
+geni2d1
+ge2n1in
+ge2n1is
+gen1k2
+g1enni
+g1enn
+gen3nya
+ge2nop
+ge2n1or
+ge2n1os
+gen2srt
+gens3s
+gent2
+gen1tr
+ge2n1ur
+g2enye
+2g1enyh
+g1enyv
+2g1enz
+ge2ob
+ge2oc
+ge2of
+ge2ok
+ge2om
+ge2orgia
+ge2ot
+ge2r
+ge2ped
+ge2per
+ge2ps
+2gepi
+ge2pos
+ge2rab
+ge2r1ad
+ge2r1aj
+ge2ral
+ge2r1a2n
+ge2r1a2p
+ge2r1as
+ge2rau
+ge2rb
+ge2r12g
+ger1ll
+ger2r
+ge2r1ra
+ge2rt
+g1erde
+3g2ereb
+2geredm
+ge2reg
+g1erege
+ger1egy
+2g1e2rej
+ge2r1e2lk
+ge2r1eml
+ge2r1eny
+ge2r1er
+ge2resz
+ge2r1e2v
+ge2rj
+ge2r1k
+ge2rl
+ger1le
+ger12l
+ge2r1p
+ge2r1tt
+ge2r1i2na
+ge2r1ing
+ge2r1i2p
+ger2is
+ge2r1iz
+ge2rog
+ge2ror
+ger1osz
+ge2rot
+ge2r
+ge2rk
+ge2r1n
+ge2r
+g1er.
+g1erk
+g1erv
+ger1z
+geru2
+ge2rur
+ge2r12g
+ger1ld
+ge2r12l
+g2es.
+ge2s1
+ge1sc
+gesd2
+g2eseb
+3g2esei
+ge2s1e2l
+ge2s1emb
+g2esen.
+ge2send
+2g1e2s1er
+2g1e2setb
+2g1e2setet
+2g1e2set
+ge2setl
+2g1e2setr
+2g1e2sett
+2g1esl
+2g1e2ss
+g1e2sik
+2gesk
+gesleg1
+g1esni
+2g1e2s
+g2esr
+gess2
+3g2ess.
+3g2essg
+g2est.
+2g1este
+2g1est
+2g1esti
+2g1estj
+g1esv
+2g1e2szek
+ge2szes
+ge2szet
+g1eszl
+2g1eszm
+ge2t1ak
+ge2tal
+ge2t1a2ny
+get1ap
+ge2t1as
+get1e2gy
+2g1e2tetn
+ge2t12k
+get2l
+get1le
+ge2t1r.
+ge2t12r
+ge2t12ve.
+get2
+ge2t1r
+getksz1
+get1rt
+ge1t2r
+get2t1ebb
+ge2tut
+ge2t12z
+ge2ur
+geu2s
+ge2vic
+2gevo
+ge2vol
+2g1e2v
+ge1y
+ge2zo
+geza2
+2g1ezr
+1g
+g2ber
+2g1br
+gc3c
+g2d1a2
+g2d12
+g2d1e2l
+g2d1e2r
+g2d1esz
+g2dik
+g2din
+g2dir
+g2d
+g2d1o
+g2d
+g2d12
+g2d1u2
+g2d12
+gd2
+g2d1l
+g2d
+g2d3z
+g2gi
+g2g
+g2g
+2g12he.
+2g12hek
+2g12hen
+2g12hes
+2g12het
+2g1hh
+2g1hs
+2g1j.
+g2jrt
+2g1jh
+2g1jj
+2g1js
+g2kei
+g12kel
+g12kes
+gkes1s
+g12kez
+2g1ks
+g2ll
+g2lel
+2gles
+2g12let
+2g12lez
+g2ln
+2g1lm
+glvv2
+g2lya
+g2ly
+g2lyeg
+g2lyo
+g2ly
+g2m1a2
+g2m1
+g2mb
+g2m1eg
+g2mel
+g2mer
+g2mr
+g2m1o
+gna2
+g2nab
+g2n1ad
+g2nag
+g2n1al
+g2n1an
+g2n1ar
+g2n1at
+gn2
+g2n1r
+g2nt
+3g2nd
+g2neg
+2gnekes
+2gnekl
+g2n1e2l
+g2n1e2r
+g2n1e2t
+g2n12g
+g2n1in
+g2n
+g2nn
+g2n
+g2n1
+gnt2
+g2n
+gn2
+g2ny
+g2ny1e2g
+g2nyid
+g2nyis
+g2nyr
+g2nyo
+g2ny
+g2ny
+3gp.
+g2p1a2
+g2p12
+g2p1e2g
+3gpel
+g2p1ell
+g2p1es
+g2p1esz
+g2pik
+g2p
+2g1pt
+g2p1o2
+g2p
+g2p
+g2p
+3g2pp
+gpt2v
+g2p1u
+g2p
+g2pl
+gra2
+g2rag
+g2rak
+g2ral
+g2r1an
+g2rap
+g2rar
+g2ras
+g2r
+2g1rc.
+2g1rd
+g2r1el
+gr1eml
+2gret
+2gr.
+g2rie
+2g12rin
+g2ris
+grk2
+2grl
+2grm
+g2ro
+g2r
+2gr.
+2grk
+2grte
+2grt
+2grth
+g1rti
+g1rtj
+g1rtl
+g1rt.
+g1rte
+g1rtk
+g1rtv
+g1rts
+g1rtv
+g2r1u2
+g2r1
+2g1rv.
+2grv
+2g1rz
+3grz
+g2sar
+g2seg
+g2s1e2l
+g2s12g
+g2sim
+g2s1o
+g2s
+gs3sza
+g2sza
+gs3zav
+g2sz
+3gszt
+g2sz1o
+g2sz
+2g12tel
+g2ter
+g2tet
+2g1tk
+2g12to
+2g1tr
+2g1tt
+2g1v.
+2g1vb
+2g12ve.
+2g12ved
+2gvei
+2g12vek
+2g12ven
+2g12vet
+g2vb
+2g12vn
+2g12vt
+2g12vv
+2g1vf
+2g12vi
+2g1vj
+2g1vk
+2g1vn
+2g1vr
+2g1vs
+2g1vt
+2g1vv
+g2zan
+g2zr
+gz3s2
+gfala2d
+gfa2l1ada
+gfa2le
+gfi2k
+gf2la
+gf2lo
+gf2l
+gf2lu
+gf2l1le
+g1f2ra
+gf2r
+g1f2re
+gf2r
+g1f2ro
+g1f2r
+gf2ru
+g2g1a2p
+gg1arc
+gga2s
+g2g1asz
+g2g1asz
+gge2lest
+ggs3s
+gg1i2ta
+g2g1iz
+gg1orv
+gg2n
+g2g1ni
+ggs2
+g1g2raf
+g1g2ran
+g2gre
+gg2ro
+gg1sp
+g2g12g
+g2gy
+g3gyak
+g3gyal
+g3gyap
+g3gyara
+ggy1aro
+g3gyat
+g3gyr
+g3gyv
+ggy12z
+ggy1e2l
+g3gyeng
+g3gyep
+g3gyer
+g3gyr
+g3gyil
+ggy1ol
+g3gyom
+g3gyor
+g3gy
+g3gy
+g3gy
+g3gyu
+g4gyt
+ggy1lt
+g3gyr
+g3gy
+gha2d1e2
+ghaji2ko
+g2ham.
+g2hamb
+g2hame
+g2hamh
+g2hamm
+g2hamn
+g2hamr
+g2hamt
+gha2sbr
+g2hia
+1ghy
+1gi
+gi2aa
+gi2a
+gia1b2
+gi2aba
+gi2ab
+gi2abi
+gi2abo
+gi2ac
+gi2a1d2
+gi2ae
+gi2a
+gia1f
+gi2afr
+gi2a1g2
+gi2ah
+gi2aim
+gi2a
+gi2aj
+gi2akar
+gi2akas
+gi2ala
+gi2al
+gi2al
+gi2am
+gi2an
+gi2any
+gi2ao
+gi2a
+gi2a
+gi2a
+gi2a1p2
+gi2ar
+gia1sz2
+gi2asza
+gi2asz
+gi2aszem
+gi2asz
+gi2aszf
+gi2aszi
+gi2aszo
+gi2asz
+gi2at
+gia1t2r
+gi2au2
+gi2a
+gi2a
+gi2a
+gi2av
+gi2az
+2gibr
+2g1i2dea
+2g1i2de
+2g1i2deg
+gi2dei
+2gidej
+2g1i2deo
+2g1i2d
+gi2di
+2g1i2do
+2g1i2d
+gi1fl
+gig1ad
+gig1ara
+gig1ass
+gig1au
+2gigaz
+gig1l
+2g1i2ge.
+gig1e2c
+gig1eg
+gig1eh
+gig1eng
+gig1enn
+gige2r
+gig1ere
+gig1e2s
+gig1et
+gig1e2v
+gi2g
+gig1h
+gig12l
+gig1m
+gig12ne
+gig12r
+2g1igz
+gig3g
+gi2g1i2
+gi2g
+gi2g1o2
+gi2g12
+gi2g1
+gi2g1u
+gi2g
+gi2g1
+gi2g
+g1i2gy
+2g1i2ha
+2g1ihl
+2gijes
+gi2ker
+gi2kes
+3gile
+g1ill
+gi2ma.
+gi2man
+gi2mb
+2gimd
+gi2mr
+2g1i2mz
+gi2me.
+2g1imp
+gina1p2
+gi2nas
+gi2n12z
+2g1ind
+3gin
+2ginf
+2g1inkv
+g1inn
+g1inni
+g1inno
+g1innu
+2g1inp
+2gins
+2g1inta
+3gintc
+2g1inte
+2g1int
+g1inth
+g1inti
+g1intj
+g1int.
+g1ints
+g1intu
+g1intv
+2g1inv
+2g1inz
+gi2one
+2g1ion
+gi2ono
+gi2ot
+gi2a
+gi2
+gi2c
+gi2e
+gi2f
+gi2g
+gi2k
+gi2kom
+gi2l
+gi21p
+gi2r
+gi21sp
+gi2ta
+gi2t
+gi2
+gi2
+gi2z
+2g1i2pa
+3g2ips
+gip2sza
+gip2sz
+gip2szo
+gi2ram
+2g1i2rat
+2g1i2r
+gi2rig
+2giro
+gi2rod
+2g1i2rn
+2g1irt
+g1isc
+2g1i2si
+2g1isk
+2g1isl
+2g1ism
+2g1isp
+2g1istl
+2g1iste
+2g1i2sz
+2g1i2szo
+gi2szu
+gi2tas
+g2it
+2gitc
+3g2iti
+3gitte
+g1ittu
+2g1i2vad
+2g1i2vs
+g1i2vo
+2g1i2v
+2g1i2z.
+gi2zv
+2g1i2zo
+1g
+g2g
+g2ja
+g2j
+g2m1a2
+g2m
+g2n
+g2ny
+g2ra
+g2r
+g2re
+g2ri
+g2ro
+g2r
+g12tsz
+g2v
+g2ve
+g2v
+g2vo
+g2v
+g2v
+g2ze
+g2z
+g2z
+gka2r2r
+gk2p1e2l
+gkia3dn
+gki2
+gkis1s
+gk2la
+gk2li
+gk2l
+gk2lo
+gk2l
+gk2lu
+gk2zn
+gk2z1r
+gkv2
+gk2ra
+gk2r
+gk2re
+gk2r
+gk2ri
+gk2r
+gk2ro
+gk2r
+gk2va
+gk2v
+gla1p2l
+gla1s2t
+gla3t
+gl2sza
+gle2g1a2
+glege2l
+gle2g1el
+gle2
+gle2t1a2
+gle2t
+gle2t1el
+gle2t12rt
+gle2t1tn
+gle2tos
+gle2
+gl2nyel
+g2lor
+1g2los
+gl2
+gls2
+glre2
+gl2reg
+gl2rel
+gl2ro
+gme2g1a2
+gme2g1e
+gme2g1
+gmens1s
+gmen2sz
+gmus3s
+gna2d
+gn1ada
+g2n1a2j
+g2n1alk
+gna2pe
+g2n1a2r
+1g2nb
+1g2nh
+1g2ni
+g2nn.
+g2nn
+g2nra
+gn2s3z
+g2nt.
+g2nt
+1g2nv
+gn1br
+gne2i
+g2n1e2l
+gne2m1e2l
+gne2sir
+gnes3s
+gne2sz
+gneto1
+gn2l
+g2n1le
+gnv1a
+gn2v1
+gni2g
+g2n1iga
+g2n1ing
+g2n1i2p
+g2n1i2r
+g2n1is
+gnit1a2
+gni2tel
+g2n1okt
+g2nol
+gn1olt
+1g2nora
+1g2nore
+1g2nor
+gn1k
+gn1s
+gn1pr
+gn1s2k
+gn1st
+gn1t2r
+g2nj
+gn1g
+gn1z
+1go
+go2z
+go2be
+2g1obj
+2g1o2d
+go2et
+g1o2ka.
+gok1a2d
+g1o2kai
+2g1o2k1a2l
+2g1o2k
+goki2
+gok1ir
+gokl2
+2g1okm
+g1o2kok
+2g1o2kos
+g1o2kot
+2g1o2koz
+2g1okta
+2g1o2laj
+go2l1a2l
+2g1olda
+2g1old
+2g1old
+gol2f1a
+gol2f1e
+gol2fin
+go2lim
+go2l12r
+2goltalo
+2g1oltr
+2g1olts
+2g1olt.
+2g1oltv
+2golvad
+2golvas
+go2m1as
+3g2omb
+gom2b1rn
+gom2b1rt
+gom2b1e2
+3g2ome
+2g1oml
+go2n1a2to
+go2n1ll
+gonc3c
+gon2d12
+gon2d1r.
+gondi2
+gon2dik
+gon2doks
+gon2d1or
+gon2d
+go2n1e2
+gon2g1a
+gon2gl
+g2ono
+go2nol
+2g1onto
+go2n
+go2nye
+go2od
+go2p
+2g1o2pe
+gor1ass
+gorasz2
+gora1t2
+gor1ll
+2g1orc
+go2r1el
+2gorie
+2g1orm
+go2roz
+go2r
+2gorz
+go2se
+go2s
+2gosto
+2g1ostr
+g1osty
+go2s
+go2s3za
+go2s3z
+go2sz
+go2ua
+go2ub
+go2ud
+go2ur
+go2ut
+go2vc
+2g1o2ve
+go2xi
+go1ya
+go1y
+1g
+ga2d
+g2g
+g2r
+g1bl
+g2c3h
+g2c1ol
+gcsap2
+gcsa2p1g
+g2c
+2g12dn
+g2div
+g1dru
+g1f2r
+g2v
+g1kl
+g1kr
+g2lar
+gle2l
+gl1el
+g2l12h
+g2l
+g2l
+2g12nu
+g2r
+g1p2l
+g1p2r
+g12rad
+g12ras
+g2rka
+g2rr
+3g2ro
+3g2sa
+g2s1aj
+g1s2k
+g1s2p
+g1s2r
+gs3s
+g1s2ta
+g1st
+g1str
+g1sz2
+g2s3zm
+g2s3zras
+g2s3zr
+gs3zr
+g2tau
+g2t1is
+g1tr
+g1tri
+3g2val
+2gvod
+2g12v
+g2vu
+3g2z
+3g2zi
+3g2zo
+3g2zu
+1g
+2g1bl
+2g12ko
+g2ku
+2g12l
+2g1lb
+g12le
+2g1lr
+3g2mb
+gm2b1a
+gmbe2
+gm2bel
+gm2b1er
+2g1ml
+2g12na
+g12n
+g2ne
+g2n
+2gnt
+g2ra
+3g2rb
+3g2rc
+gr2csa
+gr2cs
+gr2csel
+gr2cs
+3grd
+3grd
+2g12re
+3g2rg
+3g2rn
+g2rk
+g12r
+2grv
+gs2
+g2s1n
+2g1ssz
+2g1sz
+2g1tl
+g1v.
+g1vb
+g12ve
+g12v
+g1vh
+g1vn
+g12v
+g1vr
+g1vt
+g12v
+g12v
+g1vv
+1g
+ga2n
+g2g
+g1br
+ge2l
+ge2r
+g2b
+g1fr
+g1gl
+g2g12
+gi2ta
+g1kl
+g1kv
+gny2
+g1pl
+g1pr
+2g1r.
+g1rb
+g1rh
+g2rit
+g2riz
+2g1rj
+g1rk
+2g1rl
+g1rn
+g2rk
+2g1rr
+g1rs
+g1rt
+2g12r
+2g1rz
+3grzs
+g2s1ep
+g2sib
+g1spi
+g1sta
+g2s12v
+g1tr
+gu2t
+g2l
+g2zt
+g2zeg
+g2z1e2k
+g2z1e2l
+g2z1o
+gz2s
+g2zs
+g2z3su
+g2z3s
+g2z
+gpe2c3h
+gp1e2lu
+gpia2c1i2o
+gp2la
+gp2l
+gp2le
+gp2lu
+gpon2ga
+gpo2re
+gp2ra
+gp2r
+gp2re
+gp2r
+gp2ri
+gp2r
+gp2ro
+gp2r
+gp2r
+gp2sz
+1graff
+grafo1
+gra2m1a
+grama2r
+grama2z
+gra2m12
+gra2m1e2
+gra2m1rt
+gra2mik
+gra2m1in
+gra2m1is
+1grammj
+gramu2
+gra2mut
+1g2ra1p
+1g2rav
+gr2cs1i
+grfa2
+1g2r2f1an
+1g2rfb
+gr2f1e2
+1g2rffe
+1grfid
+1g2rfl
+1g2rft
+gr2lt
+gr2l1e2
+g2rn
+grn1d
+g2rni
+gr2r
+gr2r1i2p
+gr2s3za
+gre2e
+gren2d12
+g2ril
+gril2l1a
+gri2s1
+gris3s
+gris2
+gri2st
+g2rz
+gra2
+gr2
+gr2f1a
+gr2f
+gr1p
+1g2rup
+gsg1g
+gs2gel
+gs2ho
+gs2ka
+gs2k
+gs2ko
+gsk2r
+gs2la
+gs2l
+gs2li
+gs2m
+gs2mi
+gs2mu
+gs2n
+gso2k1o
+gsors3s
+gs2pa
+gs2p
+gs2pe
+gs2p
+gs2pi
+gs2po
+gs2p
+gsp2r
+gs2r
+g1s2ta
+gs2t
+gs2te
+gs2t
+g1s2ti
+g1s2t
+gsto2
+gst2r
+g1stra
+g1stru
+gs2tu
+g1s2t
+gsug2
+gs2v
+gsza2k
+gsza2k1
+gszla2d
+gsz2l1ada
+gsz2li
+gsz2r1a2da
+g1sz2c
+gsz2t
+g1sz2f
+g1sz2k
+g1sz2l
+gsz2m
+g1sz2p
+gszt2
+g1sz2t
+gta2g1ar
+gtag1g
+gta2n12
+gtra2d
+gt2r1ada
+gtermo1
+gtermosz2
+gt2r
+gti2m
+gt2ra
+gt2r
+gt2re
+gt2r
+gt2ri
+gt2ro
+gt2r
+gt2r
+gt2ru
+gt2r
+gt2z12r
+1gu
+gu2at
+gu2ay
+2g1u2bo
+gu2el
+gu2er2
+g1u2ga
+3g2ugg
+g1u2go
+2g1ugr
+gu2id
+gu2in
+gu2ir
+2g1ujj
+gula2te
+gula2t1
+gu2n
+2g1u2ni
+gu2n
+gu2nu
+3g2ur
+gus1abl
+gu2sad
+gu2s1a2n
+gu2sas
+gu2sat
+gu2s1av
+gu2sl
+gu2s1e2
+gu2s1rt
+gu2sil
+gu2sis
+gu2s1
+gu2sol
+gu2sor
+gu2s12
+gu2s
+gu2s
+gus3s2
+gussz2
+gust2
+gu2s
+gu2sz
+gus3zs
+gu2tac
+gu2tak
+gu2tal
+gu2tam
+gu2tan
+gu2tas
+gu2tat
+gu2taz
+2g1utc
+2g1u2t
+gut2d1o2ku
+2g1u2tu
+gu1ya
+1g
+g2ja
+g2j
+g2ju
+g2ny1e
+g2ny12
+2g1r.
+g2r
+g2ri
+2g1rn
+g2ro
+2g12sz
+2g2t1a2
+2g12t12
+2g1tb
+2g1tc
+2g1td
+2g12t1e2
+2g12t
+2g1tf
+2g1tg
+2g1th
+2g12ti.
+2g12tia
+2g12tig
+2g12tih
+2gtij
+2gtiko
+2g12tina
+2gtin
+2gtir
+g2tis
+2g12tit
+2g12tiv
+2gtiz
+2g1tj
+2g1tk
+2g1tl
+2g1tm
+2g1tn
+2g12to
+2g1tp
+2g1tr
+2g1ts
+2gtt
+2g1tv
+2g1tz
+g2zi
+1g
+g2cs
+g2d
+g2d
+g2d
+g2ge
+ggy1r.
+2g12gyi
+2g1gyl
+2g1gyv
+2g1ld
+g2len
+g2lep
+g2lik
+g2lm
+2g1nn
+3g2rc
+2g12re
+3g2ri
+2g12r
+2g12r
+g2te
+g2t
+g2ti
+g2t
+g2t
+g2t
+g2ve
+g2v
+g2ze
+g2z
+1g
+2g1r.
+2g1rb
+gre2
+g1rh
+g2ri
+2g1rj
+2g1rl
+2g1rm
+2g1rn
+2g12r
+2g1rt
+g2ru
+g2r
+g2ze
+g2z
+g2zi
+g2z
+g2z
+gva2s1u2
+gv2gy1a2da
+gv2nyan
+gvs1s
+gvers3s
+gvez2rel
+gv2nyel
+gvi2na
+gv1s2
+g2y
+1gya
+gy1abl
+2gy1a2c
+2gyadag
+gya2dal
+2gyadatb
+gy1a2dt
+2gyag.
+2gyagb
+gya2ge
+gya2gp
+2gyagg
+2gyagh
+gya2gis
+2gyagk
+2gyagn
+gya2g1ol
+2gyagt
+2gyagya
+gy1a2gyu
+2gy1aja
+2gy1akc
+2gyaknk
+2gyakt.
+2gyaktu
+gya2laj
+gyal1akt
+gya2lapo
+gya2lapp
+gy1alat
+2gyal
+gya2lel
+gya2lik
+gyan1ab
+gya2n1e
+2gy1a2nya
+gy1a2ny
+gya2pak
+gy1a2ph
+2gyapi
+2gyapk
+2gyapm
+2gy1a2pn
+gy1a2ps
+2gyapt
+2gyapj
+gya2pn
+gya2pr
+2gyapp
+gy1aps
+gy1aran
+2gyaraw
+gyard2
+2gyardom
+gya2rel
+gy1arg
+3gyari
+gya2r1n
+gya2r12r
+gya2rv
+2gyar
+2gyasak
+2gyasat
+2gyasra
+2gyaty
+2gyaz
+1gy
+2gybr
+2gy1g
+gy1lc
+gy1ll
+gy1lm
+3gym
+2gy1p
+2gyre
+2gyrf
+2gy12rok
+2gyrus
+2gy1r
+gy2sz
+2gyta
+2gytk
+gy1tl
+2gytv
+gy1bl
+gy1br
+gy1dr
+1gye
+gye2d1s
+2gy1e2dz
+gy1e2ge
+gy1e2g
+gy1e2gye
+2gyeke.
+2gy1e2ks
+2gyeleg
+gye2legy
+2gyelem
+2gyeln
+2gyeltr
+2gy1elv
+gy1elv
+2gyembl
+2gy1e2mel
+gy1eml
+2gyenget
+2gy1e2ny
+2gyenz
+gye2pal
+2gy1erd
+gy1e2red
+2gyerej
+gy1e2res
+gye2rn
+2gy1ern
+2gyero
+2gy1e2r
+2gy1ers
+gye2seg
+2gyesl
+2gyesg
+gy1e2s
+2gy1este
+2gyests
+2gy1esti
+2gyest
+gye2sz
+2gyetem
+2gyetet
+2gyezm
+2gyezrede
+2gyezrel
+2gyezs
+1gy
+2gybr
+2gy1g
+2gyhes
+2gyhs
+2gyji
+gy12ke.
+gy12kes
+2gy12le
+2gy1lt
+gy1lv
+3gym
+2gyneke
+2gyni
+2gy1p
+2gyr.
+2gy1rd
+2gy1rem
+2gyrez
+gy2rt
+gy1rg
+2gy1rh
+2gy12ri
+3gyr
+gy1rke
+2gy1rm
+2gyrn
+2gyrr
+2gy1rte
+2gy1rt
+gy1rt
+2gy1rv
+2gy1rz
+2gy1t
+2gytk
+2gyv.
+2gyvad
+2gyvb
+2gyve.
+2gyvei
+2gyvek
+2gyven
+2gyves
+2gyvet
+2gyvh
+2gyvi
+2gyvn
+2gyvr
+2gyvt
+2gyv
+2gyvv
+gy1fl
+gy1f2r
+gy1gl
+gy1gr
+1gyi
+2gy1ide
+2gyid
+2gyid
+2gyiga
+2gyig
+2gy1ige
+2gy1i2g
+2gyigm
+gy1iha
+2gyiker
+2gy1ill
+2gyim
+2gyind
+2gyinf
+2gy1ing
+2gy1ipa
+2gy1i2rat
+2gyir
+2gy1iro
+2gyirt
+2gyish
+gy1isk
+2gyism
+2gy1isn
+2gy1ita
+2gyiv
+2gyizg
+2gy1i2zo
+1gy
+2gy1g
+2gy12r
+2gy1v
+gy1z
+gy1kl
+gy1k2r
+gy1kv
+gyms1s
+1gyo
+2gyokos
+2gy1old
+2gyolvas
+gyo2m1as
+gyo2mi
+2gyope
+2gy1orc
+gy1orm
+2gyors
+2gy1orv
+gy1ou
+1gy
+2gydr
+2gydsak
+gy12r
+2gyri
+1gy
+2gy1b
+gy1d
+2gy1kl
+2gytd.
+2gytdd
+2gytde
+2gytd
+2gytdne
+2gytdt
+2gytdr
+2gytd
+2gytt
+2gytv
+2gyv
+2gyzn
+1gy
+gy1re
+gy1r
+2gy12s
+3gyz
+gyprba2
+gypen1
+gy1pl
+gy1pr
+gy1ps
+gyrvid1
+gy1sc
+gy1sk
+gy1sl
+gy1sm
+gy1sn
+gy1sp
+gy1sr
+gy1s2t
+gy2sur
+gy1t2r
+1gyu
+2gy1ud
+2gy1ug
+2gy1uj
+2gyund
+2gyuni
+2gy1u2ra
+2gyur
+2gyuru
+1gy
+2gyd
+2gy
+2gyi
+2gyj
+2gyjr
+2gyjs
+2gym
+2gyrb
+2gyr
+2gyri
+2gyrk
+2gyrr
+gy1ti
+2gy
+1gy
+2gy1d
+2gyg
+3gyle
+3gym
+2gynn
+2gyre
+2gyr
+2gys
+gy1st
+2gyt
+2gyv
+gy1ve
+2gy1z
+1gy
+3gyl
+2gyr.
+2gy12z
+gy1zr
+gza2tp
+gza2t1e
+gza2t
+gza2t12
+gz2r12r
+gz2se
+gzs3s
+gze2t1a2
+gze2t12
+gze2t1el
+gze2tin
+gze2t1o
+gze2t12
+gza2
+2h.
+1ha
+haa2d
+3hab.
+ha2bak
+ha2b1a2l
+ha2b1a2n
+ha2b1g
+ha2b1rb
+ha2bed
+ha2b1r.
+ha2bid
+hab1ill
+ha2b1im
+ha2b1i2na.
+ha2b1int
+3habo
+hab1old
+hab1o2ra
+hab1orr
+ha2b1ost
+hab1sz
+habu2r
+ha2b
+ha2d1ag
+had1alk
+ha2d1ap
+hada2s
+ha2d1asz
+ha2d12c
+ha2d1l
+hads1s
+ha2d1sv
+ha2d12szo
+ha2deg
+ha2d1el
+ha2dem
+ha2dl
+hadia2
+hadi2
+hadi2n
+ha2d1ina
+ha2dor
+ha2dos
+ha2d1u2r
+ha2d1r.
+ha2d12r
+ha2d1rh
+ha2d12ri
+ha2d1rk
+ha2d1rn
+ha2d1rr
+ha2d1rt
+ha2ds
+ha2d
+ha2dza
+ha2d3z
+hae2r
+ha1fl
+ha1f2r
+2hagore
+ha2if
+ha2j12s
+ha2j12to
+ha2jz
+ha2j1in
+haj1k2
+haj1oml
+ha2j
+ha2j
+haj1s
+haj1t2r
+ha2j
+ha2k1l
+ha1k2li
+ha1k2r
+h1akt
+ha1k2v
+ha2l1ach
+ha2l1a2g
+ha2l1aj
+ha2l1a2l
+hala2n
+hal1any
+ha2l1a2r
+hala2sz
+ha2l1asza
+ha2l1asz
+ha2l1asz
+ha2l1atk
+ha2l1a2tom
+ha2l1att
+3hal
+hal12cs
+ha2l12g
+hal2l1e2
+hal12rak
+hal12r
+ha2l1rb
+ha2l12ro
+ha2l1rr
+hal1rve
+hal1te
+ha2leb
+ha2lec
+hal1e2gy
+hale2l
+hal1ele
+hal1el
+ha2lem
+ha2l1en
+hal1epe
+ha2l1ese
+ha2l1e2s
+hal1ete
+hal1e2to
+hal1evo
+hal1e2v
+ha2lez
+ha2l12l
+ha2l1r.
+ha2l1te
+ha2l1tk
+ha2l1tt
+ha2lid
+ha2l1ik
+ha2l1i2m
+ha2l1ing
+ha2l1inv
+ha2l1i2ono
+ha2l1i2ont
+ha2lip
+hali2s
+hal1isz
+ha2l1iv
+ha2l1i2z
+ha2l
+hal2k1a2pu
+halke2l1
+hal2k1ele
+hal2l1aszt
+halls1s
+hal2l12t
+hal2lj
+hal3ly
+3halm
+halma2z12
+ha2l1ol
+ha2l12ri
+ha2l1
+ha2l12
+hal1p2
+ha2l1ug
+ha2l1u2s
+ha2l1u2t
+ha2l
+ha2l
+ha2l3ya
+ha2m1l
+ha2m1rb
+hamb2
+hame2l
+ham1ele
+ham1esz
+ha2mez
+ham1ism
+hamksz1
+ha2m1osz
+3hamu
+ha2m
+hans1s
+han2ch
+2hansz
+3hang
+han2gal
+hange2
+han2gen
+han2g1es
+han2gl
+hang3g
+han2g12
+han2g
+han2gut
+han2t12
+ha2nyl
+ha2r
+ha1p2r
+hara2g12
+harang1g
+ha2r1l
+har2c1al
+har2can
+harc3c
+har2c1e2
+har2c3h
+ha2rel
+ha2ret
+3harm
+ha2r1ol
+ha2r1osz
+ha2r1r
+ha2r
+3hasa
+hasg1g
+ha2s1iz
+ha2s1ol
+has1ors
+ha1s2pe
+ha1s2po
+ha3s2t
+ha2sr
+ha2s12
+ha1szp
+ha2t1ab
+hat1agy
+ha2t1aj
+3hat
+hatra2d
+hatr1ada
+ha2t1e2v
+ha2t1n
+ha2t12v
+ha2t12v
+hat1olda
+ha2t1osz
+ha2t1r
+ha2t12v
+ha1t2r
+hatt2
+hat1tr
+ha2tl
+ha2ue
+hau2n
+hau2s
+ha2ut
+ha2z
+1h
+3hbo
+h2gy
+h2js
+hma2
+h2m1al
+h2m1
+h2m1e2
+hmi2
+h2m1is
+h2m1ol
+h2m
+hn2cs1e
+hn2csi
+h2ny1a2l
+hnya2n
+h2ny1ar
+hnys1s
+h2ny1e2
+h2ny
+hra2
+h2r1ad
+h2r1al
+h2r1au
+hri2
+h2r1iv
+3hr
+hr1k2
+hrmas1s
+hro2m1a
+hro2mo
+hr2s1al
+hr2se
+3hrt
+h2r
+h1ry
+h2s
+hsz1a2tom
+h2sz1e
+h2sziv
+2h1szka.
+h2sz
+ht1a2d
+h2t1a2la
+h2t1a2n
+h2tar
+h2tp
+h2t1e2
+ht2
+h2tl
+h2t1r.
+h2t1re
+h2t1rn
+h2t1i2s
+h2t
+h2t1ol
+h2t1o2r
+ht2
+h2t1s
+h2t
+h2t
+ht1u2sz
+h2t1
+h2t
+htv2d1el
+h2z1a2d
+h2zaj
+h2z1ala
+h2z1asz
+h2z1av
+h2z12p
+h2z1rn
+h2z12ru
+h2z1e2
+h2z1isk
+h2z1ism
+h2z1ist
+h2z1
+hz1okt
+hz1old
+h2zos
+hz1otth
+h2z
+h2z
+hzs2
+h2z3sa
+hz3se
+h2z3s
+h2z3si
+hz3sp
+hz3st
+hz3s
+hz3sz
+h2z1
+h1zy
+hb2le
+1he
+he2ad
+he2av
+hec2c1emb
+hecc3s
+2hecu
+he2dn
+he2e2s
+he2f1i
+he2f1u2
+he2g1a2
+hegsz1
+he2gy1a
+he2gy
+he2gyeg
+hegyes1s
+he2gy1o
+he2gy
+he2gy
+he2gy
+2heidp
+2h1e2kk
+3hekt
+he2lg
+hels1s
+2helf
+hel2fr
+2hell
+2hellen
+he2lyeg
+he2lyeml
+he2lyesz
+he2ly12j
+2hema
+2h1embl
+2h1eml
+hens1s
+3heng
+he2ny1e2ge.
+he2nyo
+he2ol
+he2rab
+he2r1a2d
+he2r1aj
+he2r1a2r
+he2rau
+her1ll
+her1t1a2
+her1t
+her1eng
+here1p
+her1ese
+herevz1
+her1int
+he2r
+her1s2
+he2rut
+he2r
+he2s1a
+he2s1
+h1e2ss
+hes2t1o
+3hety
+2heusz
+2hev
+he2vs
+3hev
+he2z1
+2hezh
+2hezi
+2hezn
+2hez
+2hezz
+1h
+h2h
+3hi.
+3hit
+hje2
+h2j1eg
+h2j1el
+h2j
+3hkn
+h2nal
+h2nan
+h2nar
+h2nt
+hne2
+h2n1el
+h2nem
+h2n1et
+hn1v.
+h2nid
+h2nil
+h2n1is
+hn3n
+h2n
+hnt2
+h2nu
+h2n
+h1ph
+h2p
+hra2
+h2rar
+h2r1as
+h2rat
+h2rin
+2h1rz
+h2sz
+h2szeg
+h2szesz
+h2sz1
+hta2
+h2t1ab
+h2t1aj
+h2tal
+h2tar
+h2tl
+h2t1e2l
+h2t1e2m
+h2t1es
+h2t1ezres
+h2t12v
+h2t
+h2tol
+h2tor
+h2t1os
+ht2
+h2t1r
+h2t1
+h2tu
+h2t12
+h2v1
+h2ve.
+h2vg
+h2v1rz
+hze2
+h2z1ek
+h2zio
+h2zip
+hzo2
+h2z3s
+hf2l
+1hi
+2hia.
+hi2aa
+hi2a
+hi2abelie
+hi2ac
+hi2ad
+hi2ae
+hi2a
+hi2ag
+hi2ah
+hi2aj
+hi2al
+hi2am
+hi2ant
+hi2ap
+hi2ar
+hi2at
+3hida
+hidro1s
+2hiv
+higa2nye
+3higi
+2hila
+2him.
+2hime
+2him
+2h1i2nn
+3hins
+2hing
+h1ing.
+2hink
+h1insp
+hi2om
+hi2pa
+2h1ips
+2hise
+hi2se.
+2hisn
+2hiso
+hi2ta
+hit1ak
+hita2l
+hit1a2n
+hi2t12
+hi2t1e2gy
+3hitel
+hite2l1e2l
+hi2t1eles
+hi2t1el
+hi2t1elve.
+hi2t1eng
+hi2t1er
+hi2t1esz
+3hitet
+hi2tl
+hi2t1r.
+hi2t1rte
+hi2t1rv
+hi2t12te
+hi2t12ve.
+hi2t1im
+hi2t1int
+hitksz1
+hi2t1o
+hit2
+hi2t1n
+hi2t1r
+hit2
+hi2t1r
+hi2t1r
+hi2t1u2
+hi2t
+hi2tl
+hi2zo
+1h
+h2da
+h2d
+h2de
+h2d
+h2d
+h2d
+h2d
+h2d
+h2dz
+h2g1e
+h2j
+h2m1a2
+h2m
+h2m1el
+h2m1emb
+h2mer
+h2mo
+h2m
+h2mu
+h2r1a2
+h2r12
+h2r1ing
+h2r
+h2r1o
+h2r12
+h2r
+hr1s
+h2r1u
+h2r
+hkas3s
+hk2r
+hk2ri
+hle2g1e2l
+hle2t1el
+hle2t
+1ho
+ho2d
+2ho2e
+ho2ef
+ho2ii
+ho2it
+2hokl
+hola2
+ho2l1ad
+ho2l1al
+ho2lam
+ho2l1at
+ho2l1au
+ho2l1l
+ho2l12r
+hol2d
+hol2dem
+hol2d12r
+ho2l1e2
+ho2lig
+ho2l1in
+ho2lip
+ho2l1i2v
+hol1k2
+hol2mes
+hol2nik
+ho2lor
+ho2l1osz
+ho2lot
+ho2l12r
+ho2l
+holta2n
+holt1any
+holte2
+hol2t1el
+ho2l
+ho2ly1al
+3homb
+3homo
+homo1s
+ho2n1a2g
+ho2n1a2l
+ho2n1a2n
+ho2n1a2p
+ho2n1au
+ho2n1a2v
+ho2n1l
+ho2n1t1a2
+ho2n12to
+hone2
+ho2neg
+ho2n1el
+ho2n1ik
+ho2n1i2m
+ho2n
+ho2n1orj
+ho2n1o2ro
+ho2n1orr
+ho2n12
+ho2n
+ho2n
+ho2n
+hor2d1e2
+ho2re
+2ho1ry
+hossz1e2
+hossz2
+hossz1k
+hossz12
+2hosz
+ho1th
+ho2us
+ho2we
+ho2zl
+ho2z1e
+hozi2
+ho2z
+1h
+ha2k
+h2g
+h1bl
+h2cal
+h2cat
+hc3c
+h2cel
+h2c12g
+h2c3h
+h2cim
+h2c
+h2c1
+h2cs
+h2cz
+h2d1a2ra.
+h2d1a2r
+h2d12
+h2dem
+h2d1
+h2d12
+h2d
+h2d
+h2d3z
+h2l1ej
+h2l1e2ped
+h2l1e2vet
+h2nal
+hn1apa
+2hr
+h2rr
+h1sh
+hv2
+hza2t1e
+1h
+hk1
+hl2gya
+hl2gy1
+hl2gyel
+1h
+ha2n
+h1br
+he2l
+he2m
+he2r
+h2n
+h1fl
+h1gl
+h1gr
+h1kv
+h1pr
+hsa2
+h2s1al
+h2sas
+h2s1av
+h2s1el
+h2sep
+h2ses
+h2sim
+h2sis
+h1s2pi
+hs3s
+h1s2tab
+hs1tr
+h2sut
+h2s1
+h2s1lt
+h2s12v
+hs2
+h2s1r
+h1tr
+h2l
+hp2la
+hp2ra
+hp2r
+hp2ri
+hp2ro
+hp2r
+hru1s2
+hs2ch
+hs2gel
+hs2ka
+hs2pi
+hs2po
+hs1s2t
+hsza2k
+hsz2j1a2da
+hsz2l
+ht1cl
+ht1kl
+h2t1ol
+ht2r
+h1tref
+h2t1u2t
+1hu
+hu1hy
+2hur
+hur2t1e
+hur2tit
+2husi
+huszon1
+1h
+h2gy1a2
+h2gye
+h2gyi
+h2gy
+h2r1a2
+h2r1
+h2re
+hrt2
+hr1tr
+h2s1ak
+h2sal
+h2san
+h2sap
+h2sar
+h2s12g
+h2s1l
+h2s1e2
+h2sim
+h2s
+h2sor
+h2s
+h2s
+hs3szak
+hs3sz
+hs3sz
+h2s
+h2s3zab
+h2sz1l
+h2sz1e2
+h2sz12
+h2szol
+h2szos
+h2sz12
+h2sz12
+1h
+h2gy
+2h1nn
+h2re
+h2r
+h2t
+h12v
+1h
+h2r
+h2ri
+h2r
+hy1r
+hy1v
+hy1ig
+2i.
+i1a
+iaa2d
+iat1
+iata2
+i2abaj
+i2aber
+i2abes
+i2ab
+i2abon
+i2abor
+i2ab
+i2ab
+i2abu
+i2ab
+i2ab
+i2ab
+ia2c1al
+iac3c
+i2acet
+iac1l
+ia2c1r.
+ia2c3h
+ia2cid
+iac1i2ko
+ia2c1im
+ia2c1int
+i2ac
+ia2c1or
+ia2c
+ia2c
+ia2c
+ia2c3s
+iac3sp
+iac3st
+iac3sz
+ia2c
+ia2cz
+iads1s
+i2ade
+i2ad
+ia2dot
+ia2de
+iad1st
+i2ad
+i2ad
+i2ad
+iae2l
+iae2r
+iae2t
+ia2r
+i2af
+i2afe
+i2afi
+i2a1fl
+i2af
+i2af
+i2af
+i2afri
+ia1fro
+i2afu
+i2af
+i2af
+i2af
+i2ag
+i2age
+i2ag
+i2agi
+i2ag
+i2ag
+i2agu
+ia2gyu
+i2aig
+i2aip
+i2ai2z
+ia2jn
+i2aje
+i2ajo
+ia2kad
+i2ak
+i2ake
+i2ak
+i2a1k2l
+i2akd
+i2akr
+i2ak
+i2ak
+ia1k2re
+ia1k2r
+ia1k2ri
+ia1kr
+i2aku
+i2ak
+i2ak
+i2a1kv
+ia3lan
+ia2lat
+i2aleg
+i2alib
+i2al
+ia2lom
+i2al
+ia2lud
+ia2lus
+i2aly
+i2am
+i2ame
+i2am
+ia2m1ur
+i2am
+i2am
+ia2nek
+i2an
+i2an
+i2an
+iao2k
+ia2r
+ia2pt
+i2ape
+i2ap
+ia1p2l
+i2apo
+ia1p2s
+iardi2
+i2are
+ia2rn
+i2aro
+i2ar
+i2ar
+i2aru
+i2ar
+i2ase
+i2a1sh
+i2asi
+ia1s2k
+i2a1s2l
+i2a1s2m
+i2as
+i2as
+i2a1s2p
+iast2
+ia1s2ta
+ia1s2t
+ia1sti
+ia1sto
+ia1str
+i2as
+i2as
+i2as
+ia2sz1an
+i3aszer
+ia2szes
+ia2szp
+iasz2k1e2r
+ia2szop
+i2asz
+i2ate
+i2at
+i2at
+i2at
+ia1tr
+ia2ty
+i2aud
+i2au2r
+iau2s
+ia2z
+ia2vat
+i2av
+i2avi
+i2av
+i2avo
+i2az
+i2aze
+ia2zo
+i2azs
+i2az
+i1
+i2cs
+i2ga
+i2g
+i2ge
+i2gi
+i2go
+i2gy
+i2h
+ika2
+i2kab
+i2kak
+i2k1al
+i2k1an
+i2k1ap
+i2k1ar
+i2k1as
+i2k12
+i2keb
+i2k1el
+i2kem
+i2k1en
+i2k1e2s
+i2k1r.
+i2k1rd
+i2ks
+iki2
+i2kin
+i2kir
+i2kit
+i2k
+i2kop
+i2k1or
+i2k1osz
+i2k12
+i2k1
+i2k
+i2kur
+i2k1ut
+i2k12
+i2k1
+i2k
+ila2
+il1ana
+i2ll
+i2l1r
+i2l1e2
+i2lim
+i2l1in
+i2lop
+i2nar
+i2n1as
+i2nem
+i2nir
+i2nis
+i2n
+int2
+in1tr
+i2n
+i2ny1ad
+i2ny1a2l
+i2nyan
+i2nyar
+i2ny1e2
+i2nyrz
+i2ny
+i2i
+i2po
+i2rad
+i2rak
+i2ram
+ir2das
+ir2d1e
+ir2d3z
+i2re
+i2rim
+ir1s2
+i2ru
+i3run
+i2r
+i2sal
+i2sar
+i2s1as
+i2s12g
+i2s1m
+i2ss
+i2s1e2
+i2sikr
+i2s
+i2sor
+i2s
+i2s
+i2s
+is3szo
+ist2
+is1tr
+i2s12
+i2s
+isv2
+i2szs
+i2s3ze
+is3zs
+i2ta
+i2t1e2l
+iti2
+i2t1ir
+iba1d2
+ibas2
+ibat2
+ibau2
+iba2
+ib2l1a
+ibe2lr
+ibe2r1in
+ibe1s
+ibi2o
+ib2lo
+ib2r
+ib2ru
+ica1f2
+ica1g2
+ica1kl
+ica1k2r
+ica2los
+ica1pr
+ica1t2
+icca2l
+ic2can
+ic2c12
+ic2c3h
+ic2cin
+ic2cir
+ic2c
+ic2c1o
+ic2c1
+iccse2l
+iccs1ol
+iccs12
+ic2c
+ic2cz
+ic3ha.
+ic3hek
+i2chin
+ic3hoz
+i2c3h
+ici2t1a2
+ici2tr
+ici2tel
+ici2ter
+i1c2lu
+i2c1ol
+i2cs1a2d
+ics1a2la
+icsa2p12g
+i2cs1au
+ics1g
+ics1ll
+i2cs1eb
+i2cs1e2g
+icse2t
+i2cs1ete
+i2cs1ev
+ics12g
+i2cs12r.
+ics1ipa
+ics1s
+ics1t
+i2cs1l
+i2cs12t
+ic3sze
+ic1z
+i2d1a2j
+id1ana
+id1a2ny
+i2d1au
+id1ll
+id1ru
+i2d1sv
+id1br
+1iddo
+id3dz
+ide2av
+ide2g1
+ide2g1l
+ideg1r.
+1i2dej
+ide1k2v
+2idel
+id1elj
+id1elm
+id1elo
+id1elt
+i2d1emb
+ide1p2
+ide2red
+i2dero
+ide3sa
+ideu2
+i2d12g
+id2kel
+i2dny
+idr2c3s
+2idsz
+1i2dz
+id2ge
+idi2as
+1i2dil
+id1ionj
+id1ionn
+i2d1i2ono
+i2d1i2ont
+idi2os
+idi2d
+i2d1ita
+idja2d
+id2j1ada
+id1kr
+id1old
+i2d1olv
+ido2mac
+ido2m1an
+1i2dom
+1i2domo
+1idom
+id1s
+1i2d.
+1i2db
+1i2dd
+1i2d
+1i2dh
+1i2di
+1i2dk
+1i2dm
+i2dne
+i2dn
+i2dnk
+1i2dp
+1i2dr
+1i2ds
+id2sod
+id1s2p
+1i2dt
+id2tl
+1i2dv
+i2dz
+id1pr
+id2rt
+i1d2ru
+id1st
+id1t2r
+id1u2t
+id1g
+i2d1z
+i2d3z
+i2d3ze
+i2d3z
+i2dzs1a
+i2dzs1
+i2dzsen
+i2dzsl
+i2dzs12
+i1e
+ie2be
+ie2cs
+ie2dz
+ie2f1a2
+ie2f
+ie2f1i
+ie2f12
+ie2g
+ie2gy
+ie2he
+i2eld
+ie2lo
+ie2la
+ie2ma
+ien2s
+ien2s1o
+iens3s
+ie2ny
+ie2pe
+ie2r1a2d
+ie2rag
+ie2r1aj
+ie2r1a2k
+ie2ral
+ie2ram
+ie2r1an
+ie2ras
+ie2r1
+ier1d2
+ie2reg
+ier1egy
+ie2r1el
+ie2r1ember
+ie2r1est
+ie2r1iga
+ie2r1in
+ie2r1iste
+ie2r
+ie2r1ol
+ie2ror
+ie2r
+ie2r
+iersz2
+iert2
+ier1tr
+ie2r1u2
+ie2r1
+ie2r12g
+ie2sel
+ie2sem
+ie2sett
+ie2ss
+ie2sik
+ie2s
+ie2sz
+iet1sz2
+ietz1
+ie2ur
+ie2ve
+ie2v
+ie2vi
+ie2v
+i1
+i2do
+i2fe
+i2ge
+i2g
+i2g
+i2g
+i2ha
+i2hes
+i2hi
+i2il
+i2le
+i2l
+i2li
+i2l
+i2me
+i2m
+i2mo
+i2neke
+i2nekh
+i2nekk
+i2nek
+i2p
+i2p
+i2rek
+i2ren
+i2rez
+i2r
+i2ri
+i2r.
+i2rk
+i2rt
+i2r
+i2szi
+ita1s
+i2tel
+i2t
+i2ve.
+i2vek
+ifa1st
+ifa1t2
+i2fe.
+ifeny2h
+ifio2
+if1r
+1ifj
+1ifju
+1ifj.
+1ifjb
+1ifj
+1ifji
+1ifjk
+1ifjn
+1ifjr
+1ifjs
+1ifjt
+1ifjv
+i1f2la
+if2le
+if2lo
+if2l
+if2lu
+ifogo2
+ifon1n
+i1f2ri
+i1f2ro
+i1f2r
+if2ru
+if2t1a
+if2t12
+if2t1e2l
+if2tin
+if2t
+if2t
+ig1a2git
+ig1a2ka
+ig1als
+ig1alv
+ig1and
+iga2nyal
+iganye2
+iga2ny1es
+iga2ras
+1i2garz
+iga1sl
+iga2szag
+igasz1al
+igau2r
+1i2gaz.
+1igaz
+ig12cs
+ig1lm
+ig1sh
+i3gsz
+ig12t1e2
+ig1br
+ig1d2r
+ig1edz
+i2geg
+igek2
+ige1kl
+ig1e2le
+ig1ell
+ig1elm
+1i2genl
+ige2r
+ig1er
+ig1e2se
+ig1esi
+ige2tl
+ige2teg
+ige2tl
+ige2t1o
+ige2tr
+ig1evi
+i2g1ex
+1i2gd
+ig12g
+ig12li
+ig12l
+ig12l
+ig1lv
+i2gm
+ig2na
+ig2n
+1i2gny
+i3gpe
+ig1p
+ig1r.
+ig1rj
+ig1rl
+ig1rn
+ig12r
+ig1rv
+ig1sz
+1i2g
+ig1fl
+ig1g2r
+ig1v
+ig1z
+ig1kl
+ig1kr
+ig2lac
+ig2nad
+ig2n1e2g
+igne2r
+ig2n1osz
+ig2n
+ig2n
+igo2rl
+ig1o2s
+ig2
+ig1b
+ig12k
+ig1l
+ig12z
+ig1pr
+i1g2raf
+ig1sk
+ig1sl
+ig1sm
+ig1sp
+ig1st
+ig1sz
+ig1tr
+ig1ug
+igu2n
+igu2t
+ig1s
+ig1c
+ig1d
+ig12g
+ig2l
+ig1t
+ig1v
+ig1z
+i2gya.
+i2gyam
+i2gyk
+i2gyl
+i2gy1eg
+i2gy1e2kh
+i2gy1kt
+igy1r.
+i2gy1rt
+iha2re
+i1i
+ii2de
+ii2d
+ii2d
+ii2ga
+ii2g
+ii2g
+ii2gy
+ii2ha
+ii2je
+ii2m
+ii2mi
+ii2pa
+ii2ram
+ii2rat
+ii2r
+ii2ro
+ii2sz
+ii2ta
+ii2v
+ii2vo
+ii2v
+ii2z
+ii2zo
+i1
+i2g
+i2ra
+i2r
+i2ro
+i2r
+i2ru
+i2t
+i2ve
+i2ze
+1i2jed
+ije2gy12
+1i2jes
+ikabe2j1
+ikabej2
+i2k1abl
+ik1ajt
+ika2lak
+ik1ang
+ika2
+ika1p2l
+ika1p2r
+ika2r2r
+ikas2
+ika1sp
+ika1t2r
+i2k1rk
+i2k1ru
+iks1s
+ik2tol
+ik1dr
+ik1eb
+i2k1eg
+ik1elo
+ik1eng
+ike2r1a2
+ike2r12
+ike2r1e2dz
+ike2r1e2l
+ike2r1ev
+ike2ris
+ike2r1o
+ik1e2r
+iker1s
+ike2ru
+ike2t1lt
+ik1evo
+ik2kekk
+i2k1p
+i2k1p
+i2k1rz
+ik1fl
+ik1fr
+i2k1id
+ik1i2ko
+ik1ikr
+ik1ind
+ik1ins
+i2k1int
+i2k1i2o
+ik1isk
+ikka2l
+ik2k1ala
+ikk1any
+ik2k1a2r
+ikk1ra
+ik2kz
+ik2kev
+ikk1rde
+ik2kin
+ik2k1i2p
+ik2k1ol
+ik2k1
+ik2k1s
+ik2kt
+ik2k12z
+ik2k1u2
+ik2kz
+ikla1tr
+ik2ler
+ik2lor
+i1klub
+ik2lum
+i1knd
+ikoma2
+iko2m1ar
+1ikonb
+1ikonn
+1i2konl
+1i2konta
+1ikont
+1i2kont
+1ikonzs
+ik1p
+ik12r
+ik2s3z
+ik2res
+ik1pl
+ik1pr
+1ikrei
+1ikrek
+ik2rm
+i1k2rm
+i1k2ru
+ik1st
+ikszind2
+iksz2t
+iktus1s
+iktu2sz
+2iku.
+2ikub
+ik1udv
+2ikuf
+2ikuh
+2ikui
+2iku
+2ikuj
+2ikuk
+2ikur
+iku2sav
+2ikut
+2ikuv
+ik12v
+il1abr
+il1a2ce
+il1a2c
+il1a2d
+il1a2la
+il1ald
+i2l1alk
+il1amb
+ila2n
+i2l1ana
+i2l1any
+ila2pin
+ila2pol
+i2l1a2r
+il2g1e2
+ilg3g
+il2g
+il12gyo
+ilnyf2
+i2l12p
+i2l1rn
+il12ro
+il1ru
+il12r
+il2sz
+i2l1szo
+il1tf
+il1tm
+il1tr
+il1bl
+il2c1a2
+ilc3c
+il2ch
+il2c3sap
+il2c3sik
+ilc3sz
+il2cz
+il1e2lem
+i2l1emb
+i2l1eml
+il1exp
+il2n1
+i2l12nekh
+i2l12nekn
+il1sp
+il1f2l
+il1fr
+il1g2r
+i2l1icc
+il1ide
+i2l1igh
+i2l1igj
+i2l1igs
+i2l1igt
+ili1gra
+i2l1i2kon.
+i2l1i2konb
+i2likon
+i2l1i2konh
+i2l1i2konj
+i2l1i2konn
+i2l1i2kono
+i2l1i2konr
+i2l1i2kont
+i2likonz
+il1ill
+ili2ma.
+il1i2mi
+il1imp
+ilin1n
+ili2p1
+il1ir
+il1k2l
+il1k2r
+illa2g12
+1illatb
+1illatr
+1illatt
+il2l1este
+il2l1est
+1ills
+ill2t
+ill1te
+ill1tt
+il2l1id
+illig2
+illi1gr
+il2l1
+1illu
+1ill
+ilm1ada
+il2m1agy
+il2m1aj
+ilm1aka
+il2m1a2l
+ilm1ank
+ilm1any
+il2m1ap
+il2m1arc
+ilm1atl
+il2m1a2z
+il2m1l
+ilme2g
+il2m1eg
+il2m1egy
+il2m1e2l
+il2m1ep
+il2m1e2r
+il2m1esz
+il2m12j
+il2m1k
+ilm2l
+il2m1le
+il2m1r.
+il2m1rd
+ilm12rst
+il2mrte
+il2m1rt
+il2m1s
+il2mid
+il2m1i2k
+il2mim
+il2mir
+il2m1is
+il2miz
+il2m12
+il2m1ok
+il2mol
+il2m1or
+ilm1osz
+il2m12r
+il2m
+il2m
+ilmu2
+il2m1ut
+ilo1g2
+i2l1or
+ilt2
+il1tr
+il1b
+il1s
+il1p2l
+il1p2r
+il1sh
+il1sp
+il1s2t
+2ilte
+ilumi2
+ilumin1
+ilus3s
+i2l1g
+il1r
+il1v
+i2l1z
+ilva1k2
+ima1gl
+im1akk
+ima2
+ima1p
+1i2md
+i2mkt
+im1dr
+imeg1g
+im1elem
+ime2m
+i2m1eme
+ime2ra
+ime2rin
+i2m1rd
+im1inh
+im1int
+imi2t1a2
+imi2t12r
+imi2tin
+1immu
+i2m1old
+i2m1om
+im12r
+imt2
+im1s
+1imp
+1impu
+1imrei
+i2m1r
+imt2r
+i2n1abl
+i2n1a2c
+i2n1ad
+in1ade
+i2nado
+in1a2j
+in1ajt
+inaka2r
+1i2nakat.
+i2n1akc
+i2nakk
+i2nakn
+i2nakt
+i2n1akv
+in1ald
+i2n1alk
+in1all
+1i2nam.
+i2n1a2mit.
+in1ana
+ina1pla
+ina2rn
+1i2nas.
+ina2sis
+1i2nasn
+ina2tell
+i2n1g
+in2lad
+in12rak
+in1rh
+i2nru
+i2n1sv
+in1bl
+in1br
+in2c1a2g
+in2cal
+inca2n
+inc1elt
+in2c1l
+in2chi
+in2c3ho
+in2c1is
+in2c1os
+in2c
+in2c1
+in2c
+incs1an
+in2cs1e2r
+in2cs12j
+in2cs1r.
+inc3srv
+in2csor
+inc3sor.
+in2cs
+inc3st
+inc3sza
+in2c
+in2d1ab
+1indai
+in2d1az
+in2deb
+in2d1ed
+in2d1e2g
+ind1ek
+in2d1e2m
+in2d1ett
+1index
+in2d1e2z
+in2d1g
+in2d1n
+in2ds
+ind1ink
+1indiv
+1indt
+ind2
+in2d1r
+in2ds
+in1dra
+1indul
+2ine.
+i2n1e2d
+i2n1ef
+ineg1g
+in1e2gy
+ine2ku
+i2n1e2l
+in1emu
+i2n1eny
+2iner
+i2n1erd
+i2n1erj
+ine2t1a
+ine2t1r
+ine2tl
+i2n1ex
+2inb
+in12ge
+in1kr
+in2l
+i2n1le
+i2n1lt
+i2n1lv
+in1p
+i2n1r.
+i2nrd
+i2n1r
+in1rte
+in2t
+in2te
+2inv
+1infek
+1infl
+in2gad
+in2g1ala
+ing1ll
+ing1r
+ing1r
+ing12ro
+ing1rt
+ing1ru
+ings3s
+1ingec
+in2g1eg
+1ingei
+ing1elj
+ing1elk
+in2g1ell
+ing1els
+in2g1enc
+1ingerb
+1ingerc
+1inger
+inge2r1s
+1ingerg
+1ingerh
+1ingeri
+1ingerk
+1ingerm
+1ingern
+1ingerp
+1ingerr
+1ingers
+1ingert
+1inger
+in2g1e2v
+in2g12j
+in2g1k
+in2g1l
+ings3s
+ing3g
+ing1i2na
+in2g
+in1glo
+in2gor
+in2g1l
+in2g1s
+ing2rd.
+ing2rdb
+ing2rdd
+ing2rdn
+ing2rdo
+ing2rdt
+1inguj
+in2g1u2t
+in2g
+ing1lt
+2inie
+2ini
+i2nigar
+i2n1ige
+in1ikra
+ini1kro
+i2n1ill
+i2n1i2ma.
+in1i2mi
+in1ind
+2ining
+i2n1inh
+i2n1i2o
+2inir
+ini2s1g
+i2n1isk
+i2n1ism
+i2n1ital
+2iniu
+i2n1z
+1injekc
+ink1ac
+in2k1a2d
+in2k1ato
+in2k1rn
+in2k1esz
+ink1rt
+in2kio
+ink1old
+ink1ors
+in2ks
+1inkub
+1inna.
+in2nor
+i2n1ob
+i2n1okl
+i2n1old
+i2n1olt
+i2n1olv
+in1org
+i2n1ox
+in1da
+in12d
+in2r
+i2n1l
+in1n
+in1z
+in1pl
+in1pr
+in1s2k
+in1s2m
+1inspi
+in1spr
+1insta
+in1s2to
+in2t1aktu
+int1ann
+int1rai
+int1rak
+int1rat
+in2t12r
+in2t1rf
+in2t1ri
+int1ron
+in2t1rr
+int1rsz
+in2t1ru
+int12ta
+1intege
+1integr
+in2t1e2gy
+int1elt
+int1elt
+in2t1enn
+in2t1e2ny
+1intenz
+in2t1e2rez
+1interf
+int1essz
+inte2t1s
+in2t12j
+in2t1sz
+1intz
+1intzk
+1intzm
+1intz
+2intzc
+in1t2hos
+in2tid
+in2tig
+int1illa
+in2t1ing
+in2t1ip
+in2t1iv
+in2t1i2z
+int1oml
+in2t1osz
+in2t1s
+intksz1
+int1r.
+int1ura
+intus1s
+in2t1ut
+in2ts
+in2t1t
+i2n1ug
+i2n1uj
+in1j
+in12s
+i2n12t
+i2n12g
+in1lt
+in1nn
+in1r
+in1s
+i2n12t
+i2n12v
+i2n12z
+in1r
+1inven
+in2xa
+1inzu
+i1o
+io2r
+io1b2r
+io2cs
+io1d2r
+io2d
+i2og
+iog2raf
+io1g2rf.
+io1g2rff
+i2ogy
+io2ik
+io2k
+io2k
+io2ko
+io2ku
+i3old
+io2l1i2v
+iol1k2
+iol1okk
+i2ol
+i3olv
+io2mar
+io2m1rt
+io2mil
+io2m
+io2nad
+io2n1a2g
+io2nak
+io2n1a2n
+io2n1a2r
+io2n1as
+io2n1a2t
+io2n1av
+io2n1t
+io2neg
+io2n1el
+io2nen
+ionim1
+io2nin
+ion1k2
+io2nop
+io2n1oszt
+io2n
+ions2
+ion1st
+ion1t2r
+io2pe
+io1p2r
+io2r1a
+io2r1i2ko
+io2so
+io1sz2f
+i2ote
+io2xidj
+io2xidt
+i1
+ia2d
+i2ap
+i2g
+i2r
+it1a2
+i2b
+i2bes
+i2b
+i2b
+i21bl
+i2bo
+i2b
+i2b
+i21b2r
+i2bu
+i2b
+i2b
+i2b
+i2ce
+i2c
+i2ci
+i3csk
+i2cu
+i2de
+i2d
+i2di
+i2d
+i2d
+i2d
+i1dr
+i2d
+i2d
+i2dz
+i2g
+i2k
+i2l
+i2p
+i2s
+i2v.
+i2f
+i2fe
+i2fi
+i21fl
+i2f
+i2f
+i2f
+i21f2r
+i2fu
+i2f
+i2f
+i1g2r
+i2ha
+i2h
+i2he
+i2h
+i2hi
+i2h
+i2h
+i2h
+i2h
+i2hu
+i2h
+i2h
+ii2g
+i2ip
+i2is
+i2iz
+i2v
+i2je
+i2jo
+i2j
+i2kad
+i2kaj
+ik1arc
+i2k1aszt
+i2kl
+i2k1e2g
+i2k1i2d
+i2k
+ikkz1
+ik1old
+i2kort
+i2k
+i2k
+i2kz
+i2la
+i2l
+i2le
+i2l
+i2li
+i2lo
+i2me
+i2m
+i2mu
+i2m
+i2m
+i2ne
+i2n
+i2n
+io2k
+i2r
+i1p2s
+i2rab
+i2rag
+i2rak
+i2ran
+i2rap
+i2ras
+i2rd
+i2re
+i2r
+i2ria
+i2ro
+i2r
+i2ru
+i2s1aj
+i2sel
+i2si.
+i1sl
+i2s
+is3s
+i1s2t
+i1str
+i2s
+i1sz2
+i2te
+i2t
+i2ti
+i2t
+i2t
+i2t
+i21t2r
+i2tu
+i2t
+i2t
+i2t
+i2ug
+i2un
+i2ur
+i2ut
+i2vr
+i2vs
+i2ve
+i2v
+i2vi
+i2v
+i2v
+i2zr
+i2ze
+i2zs
+i1
+i2k
+i2le
+i2l
+i2li
+i2l
+i2l
+i2m
+i2re
+i2r
+i2r
+i2t
+i2ve
+i2z
+i1
+i1dr
+i2ha
+i2k
+i2ku
+i2ra
+i2ri2
+i21s2p
+i21st
+i2te
+i2t
+i2va
+i2v
+ipa2cse
+1i2par.
+1ipara.
+ipa2ral
+ipa2rl
+1i2parn
+1i2part
+1iparb
+ipa2r1en
+ipa2r1es
+1i2par
+1i2parh
+1iparil
+1i2parin
+ipa2ris
+1i2parm
+1i2parn
+i2parok
+i2paron
+1iparr
+1i2pars
+i2parta
+1i2part
+1i2parte
+1i2part
+1i2paru
+ipau2
+ipnk2
+ipn1n
+ip1tm
+i2p1ef
+ip1e2gy
+ip1e2lu
+i2p1es
+i2p1ev
+ip1fl
+ip2fu
+ip1kl
+ip1kr
+ipo1kl
+ipor2tel
+ipor2t1
+ip12l
+ip1s
+ip2p1a2d
+ip2paj
+ip2par
+ip2pr
+ipp1ing
+ip2p
+i1prof
+i1prog
+i1proj
+ip2rop
+i1p2rot
+ipsz1a2l
+ipsz1l
+ip2sz1emb
+ip2szip
+ip2sz12
+ipsz1or
+i2p1ug
+iralo2
+1i2rama
+1i2ram
+iramis1s
+ira2tal
+irata2n
+ira2t1any
+ira2t1as
+ira2t1at
+ira2tl
+1i2ratb
+1i2ratc
+1i2ratd
+ira2tel
+1i2rat
+1i2ratf
+1i2rati
+2i3ratill
+1i2ratm
+ira2t1ol
+1iratoz.
+ira2t12
+1i2ratp
+1i2ratr
+1i2rat
+irdi2k
+irdi2t
+ir2f1a2
+ir2g1al
+ir2g1l
+ir2g12rak
+ir2g12ro
+ir2g1to
+ir2gz
+ir2g1e
+irg1g
+ir2g1ol
+ir2g12r
+ir2g
+ir2l1a
+ir2l1e2
+1i2rnn
+1i2rny
+ir2nyal
+ir2nye2
+ir2ch
+i2rei
+1irga
+irin2c
+iri2zo
+irka1s
+irkasz2
+irke1
+2iro.
+2irob
+1i2roda.
+1i2rod
+iro1g2r
+iro2ka
+iro2k
+iro2k1e
+iro2kr
+iro2l1a
+iro2m1a
+iros3s
+ir2ke
+i2rno
+1irri
+ir2s1a2
+ir2s12
+ir2sil
+irs3s
+ir2s1
+ir2sz
+irt2
+ir2t1l
+ir2tiz
+ir2t1o2r
+ir2t12
+ir2tr
+iru2sze
+i2s1abl
+is1a2da
+is1a2d
+is1a2do
+i2s1a2g
+is1aja
+is1ajk
+isa2k1e
+isa2kol
+is1a2la
+is1alf
+i2s1alj
+is1alk
+is1alm
+is1amb
+isa2n
+i2s1ana
+i2s1ano
+i2s1ant
+i2s1any
+isa2p
+is1ap
+is1apo
+is1a2r
+is1ass
+is1aut
+i2s1a2z
+i2s1br
+is1ggy
+isgy1t
+is1ll
+is12po
+i2s12rak
+i2s12r
+i2s1rb
+i2s1rf
+i2s1rh
+i2s1rk
+i2s1rn
+is2ron
+i2s1rr
+i2s1rt
+i2s12ru
+isrus1
+is12t1a2
+is1tk
+i2s1tl
+is1tv
+is1bl
+is1br
+is1dr
+is1edz
+is1eff
+i2s1ege
+is1e2gr
+i2s1e2ke.
+is1elf
+is1elm
+i2s1elo
+i2s1eml
+i2s1enc
+i2s1ene
+is1eng
+i2s1e2pi
+is1epri
+is1er
+is1e2set
+is1es
+is2ge2l
+is2gs
+is2gid
+isgksz1
+is1lv
+i2s1r.
+i2s12ri
+i2s1rt
+is12ve.
+is12vet
+is12vn
+is12vt
+is1vh
+is2vi.
+isfl2
+is1fr
+is2hin
+is2his
+is1ido
+isi2g
+is1iga
+is1ind
+is1inf
+is1int
+is1inv
+isi2
+i2sipa
+isi2par
+is1iro
+i2s1isten
+is1ita
+is1i2zo
+i1s2katu
+is1kl
+is1k2r
+is1kv
+is2lag
+i1s2lat
+1isme.
+1ismek
+1ismere
+1ismrv
+2ismo
+2ism
+i2s1ob
+i2s1o2l
+i2s1orc
+i2s1ord
+iso2rosz
+i2s1orra
+i2s1orr
+is1orv
+i2s1osko
+is1osz
+i2s1ott
+is12r
+i2s1b
+i2s12c
+is1l
+is1n
+is2r
+is1rd
+is1re
+is1s
+is12v
+is12r
+i1s2pan
+i1s2pek
+isp2r
+i1s2pur
+is1s2p
+is1sta
+is1st
+issz1e2rei
+issz1e2rek
+issz1erem
+issz1e2res
+is3szig
+is3szil
+is3sz
+is3sz
+is3sz
+is3sz
+is3sz
+is3sz
+ista1s
+istasz2
+1istp
+1istenh
+iste2n1o
+i1s2til
+is1trez
+is1tr
+is1tri
+is1tro
+1istv
+i2s1ud
+is1ujj
+isu2t
+is1uta
+is1ut
+i2s1j
+i2s1g
+is1st
+i2s12tt
+i2s1z
+isva2d1ss
+i1svin
+isvz1
+isza2k1o
+isza2p12
+isza2p1e
+is3zr
+isz1rk
+is3zrl
+is3zr
+isz1e2gy
+i2sz1elv
+is3zene
+isz1esem
+i2szj
+isz2fr
+i2szimi
+isz1ing
+isz1isk
+isz1ist
+isz1kl
+isz2k12v
+isz2k1
+isz1l
+isz1s
+isz3s
+isz2tati
+iszt1ras
+isz2t1rb
+isz2trt
+isz2t1kn
+isz2t1r.
+isz2t1ill
+iszt1i2nai
+isz2t1l
+isz2t1r.
+isz2tz
+i2sz12g
+i2szt
+is3zrdn
+it1a2c
+ita1d2
+it1a2d
+ita1g2r
+it1agya
+i2t1akk
+i2t1akn
+1i2tal.
+ita2lad
+ita2l12r
+i2talb
+ita2l1el
+ital2
+i2talh
+itali2n
+ita2lina
+i2talj
+i2talk
+it1allo
+1i2talm
+1i2taln
+i2talo
+ita2l12
+1i2talr
+i2talt2
+i2talu
+it1an
+it1ant
+i2t1ara
+i2t1au
+it1cs.
+it1g.
+it12ga
+itna2
+it2n1at
+it2rak
+i2t12ram
+it12ras
+it12rat
+it2rr
+it2rt
+i2t12ria
+it2rig
+it2ris
+itr2
+it2r1r
+it2ruk
+it2r
+itsksz1
+it2s3z
+it2tal
+it1tf
+it1bl
+it1br
+it1dr
+ite2l1a
+ite2l1
+ite2leg
+i2telemz
+ite2leng
+ite2les
+ite2lex
+ite2ll
+ite2l1r.
+ite2linj
+it1elj
+i2t1ellen
+it2elmly
+ite2lo
+ite2lz
+i2t1e2mel
+i2t1eml
+i2t1e2p
+2iter
+i2t1e2rez
+i2t1er
+i2t1e2sete
+it1ezr
+it2g
+i2t1ge
+it12le
+it1lm
+i2t12ret
+i2t1rz
+it2tek
+i2t1tt
+it1fl
+it1fr
+it1gl
+it1gn
+it1gr
+i2t1id
+iti2g
+itigaz1
+i2t1ig
+it1i2ko
+it1ikr
+itikus1s
+it1ill
+it1imp
+i2t1ind
+i2t1inf
+it1i2pa
+i2t1ir
+i2t1iro
+it1ir
+it1isk
+i2t1ism
+it1isza
+it1i2szo
+i2t1g
+i2t1z
+it1kl
+itkos1s
+it1kr
+ito2b
+it1obe
+ito2k1aj
+ito2kak
+ito2k1ol
+ito2n12
+itop2la
+ito2r1as
+ito2rl
+ito2ril
+2itosz
+ito1sz2f
+i2t1ov
+ita2
+it1f2
+1i2tkn
+i2t12n
+i2t1nn
+i2t1nt
+it1p2
+it1r
+its2
+it1sp
+it1st
+it1nt
+i2t1s
+it1rl
+it1pl
+it1pr
+it1sp
+1ittad
+1ittam
+itta2n12s
+itta2n1
+itta2n12
+2itte
+it2t1eg
+it2t1i2na
+it2t1ing
+it1tra
+it1tr
+1ittuk
+1ittun
+itty1i
+i2t1ug
+i2t1und
+itu2n1i
+itu2ral
+it1u2rn
+it1j
+i2t1g
+it1ld
+it1st
+i2t1t
+i1t2z
+i1t2zi
+i1u
+iu2ga
+iu2go
+iu2mab
+iu2mac
+iu2m1ad
+iu2maf
+iu2m1ag
+iu2mal
+iu2m1am
+iu2m1a2n
+iu2m1a2r
+iu2m1as
+iu2m1a2t
+iu2m1av
+iu2maz
+iu2m12l
+iu2meg
+iu2m1el
+iu2m1en
+iu2mer
+iu2m1es
+iu2mez
+iu2ml
+iu2m1r
+iu2m1i2d
+ium1ill
+iu2m1im
+ium1inj
+iu2m1i2p
+iu2m1is
+iu2m1iz
+iu2m
+iu2mol
+iu2m1or
+iu2m12
+iu2m
+iu2m
+ium1p2
+iu2m
+iu2na
+iu2no
+iu2ra
+iu2r
+iu2ru
+ius3sze
+iu2ta
+iu2t
+iu2tu
+iu2zs
+i1
+i2b
+i2be
+i2b
+i2bi
+i2bo
+i2b
+i21br
+i2ci
+i2c
+i2d
+i2de
+i2do
+i2dz
+i2l
+i1fr
+i2ha
+i2h
+i2he
+i2hi
+i2h
+i2h
+i2hu
+i2h
+i2if
+i2je
+i2j
+i2j
+i2ke
+i2k
+i21kl
+i2k
+i2k
+i2ku
+i2me
+i2m
+i2mu
+i2m
+i2ne
+i2n
+i2n
+i2re
+i2ri
+i2ro
+i2ru
+i2se
+i2so
+i21sp
+i2ta
+i2t
+i2te
+i2t
+i2t
+i2t
+i2t
+i2ve
+i2v
+i2vi
+i2vo
+i2ze
+i1
+i2cs
+i2ge
+i2gy
+i2le
+i2l
+i2li
+i2l
+i2l
+i2l
+i2re
+i2r
+i2r
+i2te
+i2t
+i2ti
+i2t
+i2t
+i2t
+i2ve
+i2v
+i2ze
+i1
+i2ze
+i2z
+i2z
+iva2csal
+iva2cs1e
+1i2vad
+iva2r1ai
+iva2raj
+iva2re
+iva2rin
+iva2rol
+iva2r
+ivar1s
+iva2t1a2n
+iva2t1e2
+iva2tin
+iva2tol
+iva2t12
+iva2t1
+1i2vs.
+1i2vsb
+1i2vs
+1i2vsn
+1i2vsr
+1i2vss
+i2ve.
+1ivot
+ivksz1
+ivs2
+iv2
+iv2r
+i2x1ab
+i2x1ad
+i2x1an
+i2x1ar
+ix1as
+i2x1g
+ix1bl
+i2x1ef
+i2x1eg
+i2x1ex
+i2x1p
+ix1fr
+i2x1im
+i2x1in
+i2x1io
+i2x1ir
+i2x1is
+ixi2t
+i2x1ob
+i2x1op
+ix1d
+ix1s
+ix1r
+ix1s
+ix1pl
+ix1pr
+i2x1j
+i2x1l
+iz1akn
+izala2g1
+iz1alk
+izas2
+iza1sp
+iz1rny
+iz1bl
+ize2d12
+ize2d1k
+iz1egy
+i2z1e2lem
+izele2tel
+i2z1e2lr
+i2z1e2l
+iz1ember
+izene2g
+izen3n
+ize2s12
+i2z1esem
+i2z1ev
+i2zd
+i2z1g
+1i2zj
+1i2zk
+i2zl
+i2z12p
+1i2zs
+iz1fl
+1izgal
+1izgatot
+i2z1iga
+i2z1ig
+iz1inf
+iz1int
+iz1iro
+i2z1isk
+i2z1ism
+izi1s2p
+1izmok
+1izmuk
+izmus1s
+1izm
+iz1okt
+1i2zol
+izo2m1a
+izo2ml
+1i2zomb
+1izom
+1izomf
+1i2zomm
+1i2zomn
+1i2zomr
+1izoms
+1i2zomt
+1izomz
+izo1p2
+i2zos
+izo1szta
+1izot
+iz2d1a2
+iz1r
+iz1pl
+iz1pr
+i2zs1ad
+izsa2ik
+i2zsakn
+i2zs1all
+izs1ara
+izsa3u2tk
+iz4s1g
+i2zs1l
+i2zsec
+i2zs1embe
+i2zsev
+izs2t
+izs1te
+i2zsil
+i2zs1imp
+izs1ist
+i2zsita
+i2zsiz
+iz3sor
+i2zs1
+izs1s
+iz3str
+i2zs1l
+iz3sze
+iztos1s
+iz1udv
+izura1
+iz12t
+i2z12g
+i2z1t
+i2z12z
+1izzi
+1izz
+1izzot
+2.
+1a
+1
+ba2l1
+2bis
+bo2r1as
+cius1s
+d1a2c
+d1a2d
+d1a2l
+dala2g1
+d1a2n
+d1a2v
+d1a2z
+d1g
+d1l
+d12r
+d1t
+d1bl
+d1e2g
+d1e2l
+d1e2m
+2d12g
+2d1l
+2d1p
+2d1r.
+2d1rz
+di2g
+2d1iga
+2d1ig
+2d1in
+2d1i2r
+d1v
+2d1ol
+2d1om
+2d1os
+d1s
+d12r
+d1pr
+d1st
+2d1ud
+2d1ug
+d1j
+d1g
+d1n
+d1z
+d3z
+d3zs
+1e
+1
+2le
+2g1a2g
+g1e2p
+ge2s
+2g2r
+2g1op
+g1tr
+gy2
+1i
+i2ro
+1
+2j1a2d
+2j1a2d
+2j1a2j
+2j1akc
+2j1a2l
+j1any
+2j1a2r
+2j1a2u
+2j12c
+2j12g
+2j1r
+2j1re
+2j1rt
+2j1ru
+12js
+j2sze
+j1szka
+2j1ta
+2j12te
+2j1th
+2j1tl
+j2tos
+2j1tt
+2j1tu
+2j1tv
+2j12z
+j1e2g
+j1e2l
+jel2i
+j1e2m
+j1en
+j1e2r
+j1e2s
+j1p
+j2r
+2j1re
+j1fr
+2j1i2d
+2j1im
+2j1int
+2j1ir
+jir2
+j1g
+j1n
+j1kr
+2j1o2d
+2j1ok
+2j1ol
+2j1os
+2j1ot
+j1n
+j1s
+j12v
+j1z
+j1pl
+j1pr
+j1sk
+j1sp
+j1st2
+2j1ug
+2j1u2t
+2j1t
+j1g
+j12t
+2k1abl
+2k1a2c
+2k1a2g
+2k1a2l
+2k1an
+k1ar
+ka2s
+k1asz
+k1a2v
+2k1b
+2k1g
+k1l
+2k12r
+2k1eg
+2k1e2l
+k1em
+2k1es
+k1ev
+2k12k
+2k1r.
+2k1rb
+2k12r
+k1fr
+2k1i2d
+2k1ing
+2k1i2r
+k1n
+k1r
+k1k2r
+1k2lu
+k1oll
+2k1op
+2k1orn
+2k1orr
+2k1ors
+k2l
+2k12v
+k1pl
+k1pr
+k1sp
+k1sz2
+2k1ug
+2kuni
+2k1u2r
+2k1u2t
+2k12t
+k12v
+l1aj
+l1a2k
+l1a2l
+2l12g
+lsi2
+l2s1ik
+ls3s
+l2s3z
+2l1t
+l1bl
+l1br
+l1e2g
+2l1rz
+li2as
+2l1i2m
+2l1i2r
+2l1is
+l12r
+l12v
+l1kr
+l1s
+l12z
+l1st
+lt2
+l2t1rk
+l2t1ro
+l2t1rt
+l2t1e
+l2t12
+2l1u2r
+lu2sab
+lu2se
+lus3s
+lu2s3z
+ma2n
+ma1p
+2m12l
+m2ris
+ms1s
+m1bl
+m1b2r
+m1dr
+2m1e2g
+m1el
+2m1elm
+me2r1a2
+me2r1
+me2reg
+m1e2r
+2m1esem
+2m1e2v
+2m12het
+2m12k
+2m1p
+2m1r.
+2m12r
+2m12r.
+2m12ri
+2m1rr
+2m1rte
+2m1rt
+2m1i2d
+mi2g
+2m1iga
+2m1ig
+2m1ill
+2m1ind
+2m1inf
+2m1ira
+2m1is
+2m1i2v
+m1r
+m1kr
+m1o2k1
+m1ol
+m1on
+m1o2p
+m1os
+m1k
+m12l
+m1s
+m1t
+m12r
+m1p2r
+m1sp
+m1st
+m1u2r
+m1u2t
+2m1g
+2m1nn
+2m1t
+2n1ab
+n1a2c
+na2d
+n1ada
+n1ad
+n1ado
+2n1a2g
+2n1a2j
+2n1aka
+2n1akk
+n1a2la
+n1alj
+n1alk
+n1ana
+n1a2ny
+2n1a2p
+2n1a2r
+2n1arc
+n1ass
+n1atl
+n1att
+2n1au
+2n1az
+n1br
+2n12c
+2n1g
+2nlhaj
+2n1lm
+2n12p
+n12t1a2
+n1tc
+n1te
+n1tf
+n1th
+n1tl
+n1tm
+n1tt
+n1tv
+2n12z
+n1bl
+n1br
+n1d2r
+2n1ef
+2n1e2g
+2n1e2ke.
+2n1elc
+2n1e2le
+2n1elh
+2n1elj
+2n1elk
+2n1ell
+2n1elm
+2n1elny
+2n1e2lo
+2n1el
+2n1e2lh
+2n1elr
+2n1elt
+2n1elto
+2n1elv
+2n1e2mel
+2n1eml
+2n1e2mu
+ne2n
+2n1ene
+2nesd
+2n1e2sz
+2n1e2v
+n1g
+n2l
+2n1le
+n1l
+n1l
+n1lt
+2n12p
+2n1r.
+2nrd
+2n1ri
+2n1rl
+2n1rm
+2n1r
+n2sza
+n2szer
+n2szint
+n2szo
+2n1te
+2n12ven
+n1f2r
+n1g2r
+ni2g
+2n1iga
+2n1ig
+2n1i2ko
+2n1ill
+n1ind
+2n1inf
+2n1ing
+2n1int
+12nio
+n1i2r
+2n1iro
+2n1ism
+2n1i2z
+n1z
+n1k2l
+n1k2r
+n1k2v
+n3ny
+2n1ob
+2n1ol
+2n1op
+2n1or
+2n1osz
+n12l
+n1n
+n1r
+n1s
+n1t
+n12v
+n12z
+n1pl
+n1pr
+n1ps
+n1s2k
+nso2k1
+n1s2p
+n1s2t2
+n1sz2
+n1t2r
+n1ug
+n1j
+2n1d
+2n12g
+2n1lt
+2n12t
+2n12v
+ny1e2c
+ny1e2g
+ny1el
+ny1e2r
+ny1ing
+1o
+1
+2vo
+1
+1
+2p1a2g
+2p1a2n
+2p1lc
+2p1l
+ps3s
+2p1i2z
+p3ro
+2p1uj
+pu2san
+pus3s
+pus3z
+r1a2d
+r1akc
+r1akn
+r1akt
+r1a2la
+r1alj
+r1alk
+ra1pl
+ra1pr
+r1arc
+2r1a2u
+2r1br
+2r12g
+2r12p
+r1r.
+r1rak
+2r12ro
+r12ru
+2r1ss
+r2se
+rsksz1
+rs3s
+2rsz
+r12t1a
+r12t1e2
+2r1th
+r1ts
+r1tv
+r1za
+r1bl
+r1br
+r1d2r
+r1e2d
+2r1e2g
+2r1e2ks
+2r1e2l
+rel1a
+2r1ember
+r1eml
+r1emu
+re2n
+r1ene
+2r1e2r
+2r1esem
+2r1e2s
+2r1eszk
+2r1ev
+2r12g
+2r1j
+2r12k
+2r12l
+2r1p
+2r12ri
+2r1s
+2r12te
+r1vh
+r1f2r
+r1gl
+r1g2r
+ri2g
+2r1iga
+r1iko
+2r1ill
+2r1im
+r1ind
+2r1inf
+2r1inj
+r1ins
+2r1int
+2r1i2p
+r1ira
+2ris
+ri2sz1
+2r1i2z
+r1n
+r1r
+r1v
+r12z
+r1k2l
+r1k2r
+r1kv
+1rnok
+2r1o2b
+1rog
+2r1okl
+2r1okm
+ro2l
+2r1ola
+2r1old
+2r1olv
+2r1o2r
+2r1osz
+2r1o2v
+2r1o2x
+r2
+2rdj
+2rdo
+2rd
+2rdt
+2r
+r1p2
+r1s2p
+r1sz
+rt2
+r1tr
+r1n
+r1r
+2r1s
+2r12z
+2r12r
+r12s
+r1p2l
+r1p2r
+r1sh
+r1s2k
+r1s2p
+r1s2r
+r1s2t
+rsz2
+rszt2
+r2t1ag
+rt1alap
+rt12te
+rtha2
+r1tran
+r1tro
+r2t1u2r
+ru2n
+2r1und
+2r1uni
+2r1u2r
+ru2s1e2
+rus3s
+2r1u2t
+2r1j
+2r1r
+2r12s
+2r1tj
+2r1tn
+2r12to
+2r1tr
+2r1tt
+2r12g
+r2l
+r1r
+r12v
+2r1z
+r12z
+s2po
+s2t
+sz1aj
+sza2k
+szak1o
+sz1a2l
+sz1as
+sz1at
+sz1au
+2sz12
+2sz1eb
+2szed
+2sz1e2g
+2sz1e2lem
+2sz1ell
+2szeln
+2sz1e2l
+2sz1elv
+2sz1emb
+2sz1e2mel
+2sz1eml
+2sz1erk
+2szg
+2sz12l
+2sz12p
+sz1rem
+2sz1rt
+2sz1tk
+sz1g2
+szi2
+2sz1id
+2sz1in
+2szr
+2sz1v
+sz1k2
+2sz1o2
+2sz12
+sz1l
+sz1n
+2sz12
+sz1p2
+sz3s
+sz1tr
+2sz1u
+2sz1
+sz2l
+2sz1l
+2sznn
+2szt
+sz1z
+ta3u2
+t2s12g
+t2k1a2l
+t2k1e2l
+12tl
+t2sa
+t2s1g.
+t2s12g
+t2s1gr
+t2sza
+t2sz
+t2szo
+tsz3s
+ta2
+t1f
+tg2p12s
+t1p2
+t1sp
+t1sta
+tt2
+t1tr
+t2r
+tus3s
+1u
+1
+1
+2d
+1
+2v1a2d
+v1a2j
+v1ajk
+v1ajt
+2v1a2la
+2v1alj
+2v1a2na
+v1ang
+2v1an
+2v1a2ny
+v1arc
+v1a2ri
+2v1aszt
+v1br
+2v12g
+2v1l
+v12rad
+2v12ram
+2v1rk
+2v1rn
+2v1rt
+2vru
+vs3s
+v2s3z
+v1ta
+v1bl
+v1dr
+ve2c
+2v1e2dz
+2v1e2g
+2v1ej
+2velek
+v1e2lemb
+v1e2leme
+v1e2lem
+v1e2lemr
+2velg
+v1e2ll
+2v1ember
+ve2n
+2v1end
+2v1ene
+ve2r
+v1ere
+v1er
+v1er
+2v1esem
+2v1esz
+2v1e2tet
+2v12g
+2v12k
+2v12le
+2v1lm
+2v12l
+v1lt
+2v1p
+2v1r.
+2v1rd
+2v12ri
+2v1rr
+v1rt
+2v1rv
+2v1rz
+2v12te
+v1fr
+2v1i2d
+vi2g
+2v1iga
+vi2k
+v1ike
+2v1ill
+2v1im
+2v1in
+2v1i2p
+v1iro
+vi2s1el
+vi2ses
+vis1s
+v1iva
+2v1i2z
+v1kl
+v1kr
+2v1ol
+2v1op
+2v1or
+2v1osz
+2v1ox
+v1s2p
+2v1b
+2v12r
+2v1s
+v1v
+2v12z
+v1pl
+v1pr
+vren2de
+v1sk
+v1sp
+v1st
+vsz2
+v1szk
+v1tr
+2v1ug
+v1ult
+2v1ur
+2v1u2t
+v1j
+v1t
+2v1g
+2v1r
+2v1t
+2v12v
+2v1z
+z1ab
+z1a2d
+z1a2g
+z1aj
+z1a2k
+z1a2l
+za2n
+z1ar
+z1a2u
+z12g
+z1l
+z12p
+z12r
+zr12
+zs1s
+z12t
+zt1a2d
+zt1
+zt1e2
+z1bl
+z1d2r
+2z1ef
+2z1e2g
+2z1ej
+3zel
+ze2l1el
+ze2l
+ze2l
+2z1emel
+2zem
+ze2n
+2z1ene
+2z1e2r
+12zes
+2z1e2sz
+2z1e2ti
+2z1eu
+2z1e2v
+2z1ex
+2z1e2z
+2z1g
+z1kk
+2z12l
+2z12p
+2z1r.
+2z1rb
+2z1rd
+2z1rel
+2z12ren
+2z1rh
+2z12r1i
+2z1rk
+2z1rm
+2z1rn
+2z1rr
+2z1rs
+2z1rte
+2z1rt
+2z1rt
+2z1rv
+2z1rz
+z2sa
+z1sz
+z1vi
+z1fr
+z1gl
+z1icc
+zi2g
+2z1ig
+z1iko
+2z1ill
+2zim
+2z1imi
+2z1imp
+2z1ind
+2z1inf
+2z1int
+zi2r
+zi2ra
+zi2to
+2z1i2pa
+2z1ira
+z1ir
+zi2so
+zi2sza
+zi2szo
+zi2sz
+2z1i2ta
+2z1i2v
+z12v
+z1z
+z1kl
+z1k2r
+zo2k
+z1on
+z1or
+z1os
+z12r
+z1b
+z1d
+z1k
+z12l
+z1m
+z1n
+z1r
+z1s
+z12v
+z1z
+zpen1
+z1pf
+z1pl
+z1p2r
+2zsa2
+zs1al
+zs1as
+zs1au
+z4s1g
+zs2r
+zs1ro
+z3sv
+z3seb
+2zs1e2l
+zse2s
+zs1ese
+2zs1in
+2zs1it
+z3s
+2zso
+zs1ok
+z3sor
+2zs12
+2zs
+zs1s
+z3str
+2z3su
+2zs
+z3sz
+z1t2r
+2z1ug
+2z1uj
+zu2me
+zu2m1i
+z1und
+2z1u2r
+2z1ut
+z1r
+z12t
+2z12g
+2zle
+2z1r
+2z1s
+2z1t
+2z1v
+2z12z
+2ze
+2zn
+12zr
+2zv
+2j.
+1ja
+j1a2c
+2j1a2dag
+2j1a2dal
+ja2dat
+2j1a2dato
+2j1adm
+2j1a2dom
+2j1a2dot
+ja2dh
+ja2ds
+ja2dt
+ja2dv
+ja2dz
+ja2dus
+ja1f2r
+ja2ga.
+2j1agg
+2j1a2gi
+2jakad
+ja2kad
+ja2k1l
+ja2k12p
+ja2k1rn
+2j1akci
+ja2k1ec
+ja2k1el
+ja2k1e2m
+ja2kes
+jak1re
+ja2k1ri
+2jakf
+ja2k1im.
+ja2k1iz
+ja2k12r
+jak1k2
+2j1akku
+jako2v
+jak1ovi
+ja2kk
+ja2k1lts
+ja2k1s
+2j1akro
+jakt2
+2j1akt.
+2j1akti
+2j1aktu
+2j1alg
+2j1alk
+2j1all
+2j1alm
+jam2be
+2jambu
+ja2mes
+2jana.
+2jana2i
+ja2nal
+ja2nat
+2j1a2no
+jan2sze
+jan2sz
+ja2nya
+ja2ran
+2j1a2r
+2j1arc
+ja2rom
+2j1a2szs
+2j1atk
+2j1atr
+ja2ur
+ja2uto
+2javat
+ja2xi
+ja2zon
+1j
+j2ar
+2j12b
+2j1br
+2j1g.
+2j12ga.
+2j1g1a2d
+2j12gai
+2j12gak
+2j12gas
+2j12gat
+2j12gaz
+2j12g
+2j1gb
+2j1gf
+2j1gg
+2j12gi
+2j1gk
+2j1gr
+2j12gy
+j2r
+2j1ll
+j2n1e
+j2nk
+2jnl
+j2po
+2j12rada
+2j12rai
+2j12rak
+2j12ram
+j2rar
+j2r1av
+2j12rn
+jrs3s
+jr2s3z
+2j12rt
+2j12rv
+jre2
+j2r1em
+j2res
+j2rr
+2j12rig
+j2r1is
+2j1rki
+2j1rko
+2j1rny
+2j12ron
+j2r1ot
+j3r
+j2r
+2j1rtal
+2j1rts
+2j12ruk
+2jrus
+j1rut
+2j1rvl
+2j1rz
+j2s1ad
+j2sal
+j2san
+j2s1g
+j2s12rai
+j2s1rak
+j2ss
+j2s1e2
+j2sit
+j2s1
+j2s1ol
+2j12s
+j2s
+jst2
+j2s12
+j2sz1al
+jsze2
+j2szis
+j2sz1okta
+jsz1i
+jsz1n
+jsz12r
+jt1a2d.
+jt1a2dk.
+jt1a2dn.
+jt1a2dt
+2j12tal
+j2t12
+2j1tz
+jtk1e2
+2j1tfe
+2j1th
+2j12ti
+2j1tr
+2j1tl
+2j1tm
+jt1osz
+2j12t1
+2jtsz
+2j12t
+2j1tv
+2j1tvi
+j3zs
+jba2l1
+jb2lo
+jb2ri
+jb2r
+jb2n12
+jc3ho
+jcsap2
+jcs1s
+jdo2nal
+j1d2r
+j1d2ro
+j1d2ru
+jdkz1
+1je
+jea2l
+jea2n
+je2b
+2j1e2dn
+2j1e2dz
+jee2n
+je1f2r
+2jeged
+je2gs
+jegsz1
+je2gyeg
+je2gyel
+jegy1els
+jegy1elv
+2j1e2gyes
+je2gy12k
+je2gy1in
+je2gy1o
+je2gy
+je2gyu
+je2gy1
+je2gy12r
+j1ekc
+je1kri
+jek2t1a2
+jek2t12r
+jek2t1e2l
+jek2ter
+je2laj
+je2l1an
+je2l1ap
+je2lar
+je2lav
+je2laz
+jel2
+je2l1b
+je2lg
+je2ll
+je2l1r
+je2l1t1
+je2lz
+jel1e2gy
+je2l1e2l1e2v
+je2l1elk
+je2l1ell
+je2l1e2l
+je2l1e2lb
+je2l1els
+je2l1emel
+2jelem
+je2l1eml
+2j1e2lemz
+je2l1eng
+je2l1e2r
+jel1ess
+jel1esik
+je2l1esni
+je2l1e2s
+jel1este
+je2l1esz
+je2l1etet
+jel1evo
+je2lg
+je2l1j
+je2ll
+je2l1p
+je2lrte
+je2l1ige
+je2lim
+je2l1inf
+je2l1ing
+je2l1int
+je2l12
+2j1ellen
+je2l1o2
+je2l1v
+je2la
+2j1e2lfe
+je2l
+2j1e2ltu
+jel1p2
+2jelsz
+2jelszo
+2j1eltett.
+2jeltr
+je2lu
+je2l
+2j1emba
+2j1ember
+2j1e2mel
+je2mu
+je2n1
+jen1d2
+je2n1e2ke.
+je2n1el
+je2ner
+jene2s
+je2n1esz
+je2n1in
+je2n1o
+je2n12re
+je2n1s
+je2n1
+je1p2r
+2j1erd
+je2red
+je2r
+2j1e2r
+je2s1a
+je2s1emb
+2j1e2setb
+2j1e2sett
+je2s1r
+je2s
+jest2
+je1sta
+je1str
+je2su
+je2s12v
+jes3zac
+je2t1am
+je2tl
+jet1ell
+je2t1em
+je2t1k
+je2t1o
+je1tra
+je2tun
+je2tut
+jeu2r
+2j1e2v
+jezksz1
+1j
+2j1br
+j2g1a2
+j2g12
+jgr1a2d
+j2gec
+j2ged
+j2g1e2k
+j2g1el
+j2g1em
+j2g1erk
+j2g1es
+j2get
+j2gp
+j2g1r.
+j2gs
+jg3g
+jgi2
+j2g1id
+j2gig
+j2gim
+j2g1is
+j2g1o
+j2g
+j2g
+2j2g
+j2g1u2
+j2g
+2j12hen
+2j12hes
+2j1hs
+j2k1os
+j2k
+2j12le
+j2l
+2j1lt
+j2nad
+j2n1ess
+j2n12g
+j2nil
+j2no
+j2n
+j2p
+j2p
+2j1r.
+2j1rb
+2j1rd
+j2reg
+2j12ren
+2j12r
+2j1rh
+2j12ri
+2j1rk
+2j1rl
+2j1rm
+2j1rn
+2j1rr
+2j1rte
+2j1rt
+2j1rt
+2j12r
+2j1rv
+2j1rz
+j2tel
+2j1tk
+2j1tt
+2j1v.
+2j1vb
+j2ve.
+2j12vek
+2j12vet
+j2vn
+j2vr
+j2vt
+j1vh
+j12vi
+j1vk
+2j1vn
+2j1vr
+j1vt
+2j12v
+j1vv
+jfeles1s
+jf2le
+jf2lo
+jf2l
+jfls1s
+jf2ra
+jf2re
+jf2ri
+jf2r
+jf2ro
+jf2r
+jfu2na
+j1g2le
+j1g2l
+jg2ru
+jh2r1e
+1ji
+ji2do
+j1i2d
+2j1i2ga
+2j1i2g
+ji2je
+2j1ikr
+2j1ill
+ji2ma
+ji2m
+ji2mi
+2j1i2na.
+ji2nb
+2j1ind
+2j1inf
+2j1ing
+2j1inj
+2j1ins
+2j1inte
+2j1int
+ji2on
+ji2pa
+2j1i2rat
+2j1i2r
+2j1i2ro
+2j1irr
+2j1irt
+2j1isk
+2j1ism
+2j1ist
+2j1i2ta
+2j1i2v
+2j1i2v
+ji2z
+ji2zo
+1j
+j2g
+j2r
+j2r
+jtksz1
+j2ve
+j2v
+j2v
+j2ze
+j2z
+j2z
+j2z
+j2j1alj
+j2j1a2z
+jj1s
+jje2les
+jje2lesi
+jje2lest
+jje2l1l
+jj1e2r
+j2j1im
+j2j1iz
+jj1v
+jj1z
+j2j1ol
+j2j1os
+jj1pr
+jj1g
+jka1pr
+jk1ard
+jkau2
+j2k1e2g
+j2k1e2l
+j2k1e2s
+jk2p1e2k
+jkia2
+jki2
+j2k1id
+jkie2
+jk2la
+jk2l
+j1k2li
+j1k2lo
+jkme2
+j2k1old
+jko2r12s
+jko2r1in
+jk1r
+jk1pl
+jk1pr
+j1k2r
+j1k2ri
+j1k2r
+jk1st
+j2k1u2s
+jk1g
+jk2va
+j1k2v
+j2l1abl
+jl1a2da
+j2l1a2lap
+j2l1all
+j2l1ar
+jla2t1e2
+j2l1azo
+jls3s
+jl12t1a
+jl1tn
+jl1bl
+jl1e2gy
+jle2
+jl1el
+jl1ell
+jl1eln
+jle2t12te
+jl2cel
+jl2c3s
+j2l1v.
+jli2k
+jl1iko
+j2l1ind
+j2l1inf
+j2l1int
+jl1obj
+j2l1ol
+jlo2n1
+jlo2ni
+j2l1s
+jl1pr
+jl1sp
+jl1st
+jl1t2r
+jme2g
+jm1ok
+j2m1old
+jna2l1e
+jna2lg
+jna2lis
+jn12r
+jn12ru
+jnv1a
+jn1ing
+jn1st
+jn12g
+1jo
+jo2g1a2d
+jo2g1aka
+jo2gal
+jo2g1an
+jo2g1a2z
+jo2g12c
+jo2g12l
+jo2g1e2
+jog3g
+jo2g1
+jo2g1ol
+jo2g1or
+jo2g1osz
+jog2
+jo2g1v
+jo2g
+jo2g
+jo2gur
+jo2g
+2j1o2koz
+2j1oks
+2j1okta
+jo2laj
+jo2lim
+joma2
+jo2m1ag
+jo2m1an
+jo2mar
+jo2m1as
+jo2m1
+jo2m1e2
+jo2m12t
+jo2mv
+jom1f2
+jo2mij
+jo2m1ik
+jo2m1is
+jo2m1iv
+jo2m1ol
+jo2m1or
+jo2m
+jo2m
+jom1p2
+jo2m
+jo2m
+jonc1c
+jon2ch
+jon2cil
+jon2c3s
+2j1ond
+jo2b
+jo2p
+jo2pe
+jo2r1ing
+2j1orr.
+jo2r
+2j1osto
+2j1osz
+jo2ui
+jo2uk
+jo2ul
+jo2ur
+jo2ut
+jo2va
+1j
+ja2k
+j2g
+j2r
+j1bl
+j1b2r
+j2ce
+j2dad
+j2dak
+jd1all
+j2d1a2n
+jda2t
+j2d1ato
+jde2
+j2del
+j2dig
+j2diz
+j2d1ol
+jd2
+j2dr
+j2d
+j2d3z
+j1fl
+j1kl
+j1kro
+j2l1e2s
+2j1nn
+j1p2r
+j2rk
+2j12ri
+j2sal
+j2sas
+j2sl
+js1rk
+j2seg
+j2sem
+j2sn
+j2sip
+j2sis
+j2s1o2do
+j2s
+js3s
+js1ld
+j2s1n
+j2s3zr
+j1t2r
+1j
+j2d
+j2ko
+j2l
+2j1nt
+j2re
+j2r
+j1sv
+j1tv
+2j1v.
+2jve.
+j12vez
+2j12vn
+j2z
+1j
+j1rl
+j2r
+2j1rt
+j2r
+j2ze
+jprba2
+jp2la
+jp2le
+jp2re
+jp2r
+jp2ri
+jp2ro
+jp2r
+jra3d2
+jra1f
+jrai2
+jra1p2
+jra1s2
+jrau2
+jr2sz1e2l
+jr2sz
+jsa2v1e
+jsa2v1
+jsa2vo
+jsa2v1n.
+jsa2v12r
+jsg1g
+js2ho
+js2k
+js2ki
+js2ni
+js2pe
+js2pi
+js2po
+js2p
+jsp2r
+j1s2ta
+js2ti
+j1s2t
+j1s2to
+j1st2ra
+j1st2ru
+j1s2t
+jszabs1s
+jsz2l1a2da
+jszraz1
+jszn3n
+jsz2k
+jszt2
+j2t1a2da
+jt1a2do
+jt1a2d
+jt1akn
+jt1a2lap
+jt1alk
+j2t1all
+j2t1alv
+jt1a2nyag
+jta1p2
+j2t1a2p
+jt1a2rom
+j2t1arz
+jta1sp
+j2t1atk
+j2t1a2ut
+j2t1c
+jt1ga
+j2t1ll
+jt2rai
+j2t12rak
+j2t1rka
+jt2s3z
+jt12t1a
+j2t1e2gy
+j2t1e2ke.
+j2t1e2leg
+j2t1e2leme
+j2telemz
+j2t1elf
+j2t1elh
+jt1elj
+j2t1ell
+j2telml
+j2t1e2lo
+j2t1e2l
+j2t1elp
+j2t1elr
+j2t1els
+j2t1elv
+j2t1eml
+j2tener
+j2t1enz
+jt1e2red
+jt1e2rez
+j2t1er
+j2t1e2tete
+jt1e2vs
+jt1evo
+j2t1e2v
+j2t12le
+jt1lm
+j2t1rl
+j2t1rm
+jts3s
+jt1fl
+jt1fr
+j2t1i2d
+jti2m
+j2tim
+j2t1imi
+j2t1imp
+jt1inf
+j2t1ing
+jt1int
+j2t1i2pa
+j2t1ir
+jti2s
+jt1isi
+j2t1izg
+jt1i2zo
+j2t12v
+j2t12z
+jt1kl
+jt1kr
+j2t1olda
+j2t1orjb
+j2t1ors
+jt1osz
+j2t1o2x
+jta2
+jt2ra
+jt1p2
+jt1s2po
+jt1sta
+jt1str
+jt1sz
+jt1tr
+jt1d
+jt1ng
+jt1ss
+jta2
+jte2
+jt2
+jt1s2p
+jt1pl
+jt1pr
+j1t2ran
+jtrdi2
+j1t2rg
+jt2ri
+j1t2roj
+jt2rf
+jt1sp
+jt1st
+jt1t2r
+j2t1udv
+j2t1und
+jt1ut
+j2t1j
+j2t1g
+j2t12l
+j2t1t
+1ju
+ju2ga
+jugo1
+ju2had
+ju2h1a2k
+ju2hal
+ju2h1a2n
+juha2ra
+ju2hat
+ju2hl
+ju2h1e2
+ju2h1j
+ju2h1is
+ju2hor
+ju2h
+ju2h
+2jula
+2juls
+2jural
+ju2ru
+ju2sz1a2v
+ju2szim
+ju2sz12
+ju2tak
+2j1u2tl
+1j
+j1fr
+j2j
+jjj3
+j1pl
+j1p2r
+j1s2p
+j1s2t
+j2sz
+j1szv
+2j1tb
+j2ton
+2j1tv
+1j
+j2ge
+j2gy
+j2le
+j2l
+j12l
+j1lt
+j2re
+j2r
+j2r
+j2ta
+j12t
+j2ve
+j2ze
+1j
+j2ri
+j2z
+j2z1abl
+j2z1a2d
+jza2j
+j2z1aj
+jz1ajt
+jza2kad
+jz1akc
+j2z1a2l
+j2z1a2ny
+j2z1ar
+j2z1as
+jza2tan
+j2z1l
+j2z12rad
+j2z12rn
+j2z1e2l
+j2z1em
+jze2r
+jz1er
+j2z1es
+j2z1l
+j2z1rt
+jz1fr
+jzi2g
+j2z1ig
+j2zill
+j2z1int
+j2z1i2r
+j2z1isk
+j2z1ism
+jz1k2l
+jz1k2r
+j2z1ob
+jz1okta
+j2z1olda
+j2zolvas
+j2z1osz
+j2z12d
+j2z12r
+jz1s2
+j2z1s
+j2z1t
+jz1pl
+jz1p2r
+jz3sab
+j2zs1a2l
+j2zs1l
+jzscsa2p1
+j2zs1eg
+j2zsen
+j2zs1er
+j2zs1in
+jz3sn
+jz3sor
+j2zs12
+j2zs1
+jzs1s
+j2zs1u2t
+jz3sza
+jz3sz
+jz3sze
+j2z1ut
+jz12g
+2k.
+1ka
+kaa2d
+kat1
+kata2
+kab2a
+2kabbah
+2k1abh
+kabi2n
+2k1ablak.
+2k1ablaka
+2kablak
+2k1ablakb
+2kablakh
+2kablakk
+2k1ablakok
+2k1ablakon
+2kablakos
+2k1ablakot
+2kablakr
+ka1b2le
+ka1bre
+2k1abs
+ka2cl.
+ka2c3h
+kacs12g
+ka2cs1s
+ka2c
+ka2cz
+k1adap
+2kadl
+kads1s
+2k1a2dot
+ka2di
+ka2dj
+2k1a2dso
+ka2du
+ka2dz
+ka1d2r
+kaegsz1
+kae2l
+kae2r
+ka2r
+ka1f2r
+ka2gan
+2k1agg
+ka1g2r
+2k1agy.
+ka2gyu
+kai2z
+2kajnl
+2k1ajk
+2k1ajth
+ka2kad
+ka2kad
+kakas3s
+ka2kc
+2k1akc
+ka1k2l
+ka2k.
+ka1k2r
+ka1kri
+2k1akt.
+2k1akti
+ka1k2va
+ka2lapa
+2kalaptv
+2k1alb
+kal1egy
+2k1alf
+2k1alj.
+2k1alji
+2k1alka
+2kalko
+2k1alle
+2k1alti
+kama2te
+2k1ambu
+kana2g
+ka2nal
+2k1a2nam
+k1a2nat
+ka2n1e2g
+ka2n1el
+2kang
+ka2nim
+ka2nio
+ka2n1iv
+ka2nol
+ka2nd
+2kante
+ka2n
+ka2n
+2k1a2nya.
+2k1a2nyag
+2k1a2nyai
+ka2nyb
+ka2ny
+ka2a
+ka2
+ka2c
+ka2e
+ka2g
+ka2ha
+ka2
+ka2ko
+ka2kr
+ka2p
+ka2
+ka2z
+2kapd
+ka2pto
+2kapp
+ka1p2re
+ka1p2r
+2k1apr
+ka1prof
+ka2r1a2d
+ka2rakk
+ka2r1a2k
+kar1a2lap
+2k1arank
+ka2r1a2r
+kara2s
+2ka2rasz
+2karat.
+2karatn
+2karato
+ka2rau
+ka2r1csh
+ka2r1csn
+ka2r1cst
+ka2r1l
+2k1a2rny
+kar2c1el
+kar2dac
+kar2dl
+kar2dz
+ka2rel
+ka2rev
+kar1ke
+kar2kor
+ka2rl
+ka2r1ne
+karfe2l1
+ka2rid
+ka2r1i2ko
+ka2r1ikr
+ka2rind
+ka2r1ing.
+kar1ingb
+kar1inge
+kar1ingg
+kar1ingr
+ka2r1isk
+ka2r1ism
+kari2z
+ka2r1izo
+2k1a2roma.
+2karom
+ka2ror
+kars2
+2k1arti
+ka2sag
+kasg1g
+ka2sl
+ka2sid
+kasi2p
+kas1ipa
+ka2siz
+ka2s1ol
+ka2s12r
+ka1s2po
+kas3sze
+kas3sz
+2k1asszi
+2kasszony
+kas3sz
+kast2
+ka1str
+ka2sr
+kasz1ajt
+2kaszat
+ka2szg
+kat1ar
+ka2tl
+kat1iko
+kat1int
+ka2t1i2o
+2k1atk
+ka2tolda
+katrdi2
+ka1t2ri
+ka2ty
+ka2ud
+2k1a2ul
+kau2n
+kau2r
+kau2s
+kau2ta
+2k1a2uto
+2k1aut.
+2kautb
+ka3utc
+2kaut
+2kauth
+2kauti
+2k1autj
+2k1autk
+2kautm
+2kautn
+2kauts
+2kautt
+2kautv
+ka2t
+ka2z
+2k1a2vat
+2k1a2zon
+1k
+2kb
+2k1br
+k2cak
+k2ce
+2k2c3h
+k2c
+k2c3sar
+k2csat
+k2cse
+k2cs1k
+k2csip
+k2csis
+k2c3sor
+k2cs
+k2cs
+k2c
+k2dab
+k2dar
+k2d1c
+k2dt
+k2dil
+k2d
+k2d1
+k2d12
+k2d3z
+k2f
+2k1g.
+k2ga
+2k1ga.
+2kgacska
+k3gacsk
+2k1gai
+2k1gak
+2k1gat
+2k1gaz
+2k12g
+2k1gb
+2k12ge
+k12g
+2k1gg
+2k1gh
+2k12gi
+2k1gk
+2k1gn
+2k12go
+2k1gr
+2k1gs
+2k1gt
+2k12gu
+2k12g
+2k12gy
+2k12h
+k2j
+k2j
+k2lg
+2kli
+2klk
+2kln
+2klv
+2klz
+2k1lc
+k1ldo
+k2l1e2
+k2ln
+2k1llap
+2k1lls
+kl2l1e2
+kll2
+kl2lk
+2k1ll
+2k1llom
+k2l
+k2lyod
+2k12m
+2k12mu
+k2n1ag
+k2n1a2n
+k2n1as
+k2nem
+k2n1is
+k2n12
+k2ny1ag
+k2ny1a2l
+k2ny1a2n
+k2nyap
+k2nyar
+k2ny12to
+k2ny1e2
+k2nyis
+k2nyiv
+k2ny
+2k12pol
+k2pol
+2k2rad
+k2r1a2g
+2k12rakr
+k2rakt
+kr1akta
+kr1akt
+k2r1a2l
+2k12ram
+k2r1a2p
+k2rar
+k2ras
+kr1ass
+2k12rat
+k2raz
+kr1azo
+kr1ll
+k2r12z
+kr1d2
+k2r1e2
+kr1te
+2k12ri
+k1rk
+krki2h
+k2r1old
+k2r1osz
+k2r
+k2r
+krpszi2
+krpszic3
+kr1s2
+krt2
+kr1tr
+k2ruh
+k2r
+ks1ajt
+ks1ass
+k2s12go
+k2s12rai
+k2s1rak
+k2s12r
+k2s1rb
+k2s12ro
+k2s1rr
+k2s1rv
+k2s1rz
+2k12ss
+2ksst
+k2s1e2
+k2s1i2k
+k2sim
+k2sis
+k2sr
+ksk2r
+k2s1ol
+k2s1ott
+k2s
+k2s
+k2s
+ks1p
+kst2
+ks1tr
+k2sut
+k2s12
+2k12szb
+k2szr
+ks3zr.
+2k12szt
+k2sze
+k2sz
+k2szis
+k2sziv
+2k12szom
+k2s3z
+k2tab
+2k1tad
+k2taj
+k2tal
+kt1a2la
+k2t1a2n
+k2tar
+k2tau
+k2t12
+2k1tbe
+k2t1e2
+k2tg
+k1tfo
+k2tip
+k2t1ir
+k2tis
+k2t
+k1tl
+2k1tme
+k2t1osz
+kt2
+k2tr
+k2t1
+k2t
+k1tv
+kba2l1
+kb2rel
+kb2la
+kb2le
+kb2lo
+kb2r
+kb2ri
+kb2ro
+kb2r
+kci2fa
+kci2si
+kci2spe
+kc2lu
+kcsa2p12g
+kdi2al
+kd2ra
+kd2r
+kd2re
+kd2ro
+kd2r
+kd2ru
+1ke
+kea2j
+kea2k
+kea2l
+kea2n
+kea2r
+kea2s
+ke2l
+ke2r
+ke2t1
+2k1eb.
+ke2bei
+ke2bek
+ke2bd
+kecs1alj
+kecs1n
+kecs12r
+ke1d2ra
+keegyez1
+kee2n
+ke2ep
+kee2s
+2k1eff
+ke1fl
+ke1f2r
+2k1e2gr
+kegsz1
+2kegyb
+ke2gyk
+ke2gy1in
+2k1egyl
+2kegyn
+ke2gy
+2kegyr
+2kegys
+ke2gyu
+ke2gy1
+2kegy
+2k1e2ke.
+2k1e2kei
+2k1e2kek
+2k1e2k
+2k1e2kk
+ke1k2l
+ke1k2r
+kek2sza
+2k1ekv
+2k1elad
+ke2l1an
+ke2l1a2t
+2k1elav
+ke2l12g
+2k1e2lef
+ke2lekc
+2k1e2lekt
+ke2l1e2l
+k1e2lemb
+2keleme
+2kelem
+k1e2lemh
+2kelemm
+2k1e2lemn
+k1e2lemr
+2k1e2lemz
+ke2l1e2pe.
+ke2l1e2pei
+kele2p12
+ke2l1e2s
+ke2l1esze
+kele2t1el
+kele2t1o
+2keley
+ke2l12k
+2k1e2ll
+kel1rh
+kels3s
+kel2s3z
+2k1elhel
+2k1elho
+kel1id
+kel2ig
+2k1e2lim
+ke2lio
+2k1elism
+2k1e2l12
+2k1elj
+k1ell
+2kellt
+2kellen
+2kellen
+2k1ellent
+2k1elnev
+2k1elny
+2k1e2los
+2ke2l2l
+2k1e2la
+kel2
+2kelf
+ke2lh
+2k1e2l
+2k1e2lkpz
+2k1e2lks
+2k1e2ll
+ke2lny
+2k1e2lo
+ke2lt
+2k1e2ltt
+k1e2lz
+k1elra
+2k1elsa
+2k1els
+2k1elsz
+kel2t12r.
+2k1elto
+2kelt
+2kell
+ke2lr
+2k1elv.
+2k1elv
+2k1elvei
+2k1elvek
+2k1elven
+2kelvi
+k1elvk
+2k1elvo
+2k1elvt
+2k1elv
+ke2lyemb
+ke2ly1kn
+kelykz1
+2k1elz
+2k1ember
+2k1embl
+2k1embr
+2k1eml
+2k1emul
+ke2nal
+2k1enci
+kende2rl
+ken2d1k
+2k1endo
+2k1e2ner
+2k1enge
+ke2n1ip
+ke2nis
+ke2n1o
+kens3s
+kensz2
+2k1enyv
+keo2l
+keo2r
+ke2d
+ke2h
+ke2l
+ke2r
+ke2pik
+ke2ral
+ke2rap
+ke2r1a2r
+ke2r1as
+ke2rau
+ke2r1l
+ke2r1r
+ke2rs
+ker2cs
+ker2csell
+kercs2
+ker2csr
+2kerde
+2kerd
+2k1e2rege
+2k1e2rej
+kere2k1eg
+kerekes3s
+ker1ell
+ker1elv
+ke2r1ember
+ke2r1er
+kere2ta
+kere2t1e2l
+kere2t1
+ke2rg
+ke2r12l
+ke2r1p
+ker1te
+ke2r1id
+ker1iga
+ke2r1ill
+ke2rim
+ke2r1ind
+ke2r1int
+ke2r1inv
+ke2rio
+ker1ist
+ke2r1iz
+ker1k2
+2kernel.
+ke2r1ol
+ke2ror
+ke2rd
+ke2r12r
+ke2rde
+ke2re
+ke2rk
+ke2ro
+ke2rs
+ke2rte
+kers2
+ker1sp
+ker1st
+kersz2
+ker2taj
+ker2tp
+ker2ts
+ker2t1ebb
+ker2teg
+ker2t1este
+ker2t1esz
+ker2tlv
+ker2t12vt
+ker2tn
+ker2tv
+ker2t1r
+ker2t1s
+ker1tr
+ke2rt
+ker2g
+2k1esem
+ke2set
+2k1e2sett
+2k1esl
+2k1e2ss
+ke2sis
+2kestst
+2kesk
+2k1e2s
+ke1s2po
+kes3szke
+kes3sz
+ke1sta
+2k1este
+2k1est
+2k1esti
+2k1estj
+2k1estk
+2k1estn
+ke1stra
+2k1estre
+2k1estt
+2k1estn
+ke2szaj
+ke2szp
+2keszmn
+ke2tl
+ke1tc
+ke2t1e2kh
+2k1e2tet
+ke2tid
+ke1t2ra
+ke1t2r
+ke1t2ri
+kettes1s
+ke2td
+keu2r
+keu2s
+kevs3s
+ke2vid
+2k1e2v
+keze2ts
+keza2
+keze2
+kezksz1
+2k1ezr
+1k
+2k12ber
+2k1br
+k2ge
+k2g
+k2g
+2k12hem
+2k12hen
+2k12hes
+2khez
+2khezt
+2k1hs
+k2j1ak
+k2j1el
+k2j
+k2jut
+2k12ke.
+2k12kei
+2kkekk
+2kkem
+k2k1e2r
+kkes3s
+kke2s3z
+k2kn
+k2k1o2
+2k12kk
+2k12k
+k2lel
+2kles
+2k12letek
+2k12letet
+2k1lm
+k2ld
+2k12ll
+2k1lr
+2k12l
+k2lya
+k2ly1esz
+k2lyid
+k2ly12l
+kma2
+k2mad
+k2m1al
+k2m1an
+k2map
+k2m1as
+k2m1
+kmi2as
+k2min
+k2mis
+k2m
+k2mo
+k2m
+k2m
+k2m1u2
+kna2
+k2n1al
+k2nan
+k2n1ar
+k2n1at
+kndio2
+2k12neke
+2k12nekh
+2k12neki
+2k12nekk
+2knekl
+k2n1e2l
+k2n1em
+k2n1er
+kn1te
+k2nig
+k2nil
+k2n1ing
+k2no
+k2ny1e2g
+k2ny1elv
+k2ny
+k2p1a2
+k2p1
+kp2r
+k2peg
+k2p1e2l
+k2p1elt
+k2p1elv
+kpe2r
+k2p1ill
+k2pim
+k2p1i2p
+k2p
+2k1pt
+k2p1o
+k2p
+k2p1
+k2p
+kp1s
+k2pu
+k2p
+k2p12l
+k2p12l
+kra2
+k2rab
+k2ral
+k2ram
+k2r1an
+k2rar
+k2r1as
+k2rat
+k2r12
+2k1rdeke
+kr1dr
+2k12retts
+k2ro
+k2r
+2krtelm
+2krtkb
+2k1rtke
+2k1rtkh
+2k1rtkn
+2k1rtkr
+2k1rts
+krt2ik
+k2r1u2
+k2r1
+kr2
+kr1l
+2k1rvek
+2k1rz
+ksa2
+k2san
+k2s12
+k2s12g
+k2s1o
+k2s
+ks3sza
+ks3szer
+ks3szl
+k2su
+k2st
+k2sza2
+ksz1al
+k2sz12
+k2szeg
+ksze2l
+k2szeml
+k2szesz
+k2szd
+k2sz1kn
+k2szin
+k2szir
+k2szo
+k2sz12
+k2sz
+k2szr
+kszt2
+k2szu
+k2sz1
+kt1akar
+k2takn
+k2t1ak
+kt1ala
+kt1asp
+k2tl
+k2t1ed
+k2t1eg
+k2tel.
+k2teln
+k2t1e2m
+k2t1ep
+2k2te2r
+kt1ere
+kt1erk
+kt1er
+k2tes
+k2t1est
+k2t1esz
+k2t1e2v
+k2t12
+k2t1i2
+k2t
+k2tol
+k2t1or
+kt2
+k2t1r
+k2t1
+k2tud
+k2t12
+2ktv
+2k1v.
+2k1vad
+2k1vb
+2kvei
+2k12vem
+2k12ven
+2kvet
+2k1vf
+2k1vh
+2k12vi.
+k2vig
+2k1vin
+2k1vk
+2k1vn
+2k1vr
+2k1vs
+2k1vt
+2k12v
+2k1vv
+k2z1a
+k2z12
+k2zeg
+kz1elt
+kze2m
+kz1eme
+k2z1e2r
+k2z1ism
+k2z
+k2z1o
+k2z
+kzs2
+k2z3s
+kz3st
+k2zsu
+k2z1u2
+kfe2l1em
+kfil2mr
+kfi2sar
+kf2jo
+kf2la
+kf2le
+kf2li
+kf2lo
+kf2l
+kfolyi2k
+kfo2n12
+kf2ra
+kf2r
+kf2re
+kf2ri
+kf2r
+kf2ro
+kf2r
+kf2ru
+kg2la
+kg2n
+kg2ra
+k1g2rf.
+kg2ri
+kg2r
+kg2ru
+kh2t1al
+khelykz1
+1k2hia
+khi2b
+k2hil
+kh2me
+1ki
+kia2d
+ki2a
+ki2af
+kia2g
+kia2j
+kia2kar
+kia2kas
+kia2lap
+kia2l
+kia2n
+kia2p
+kia2ra
+kia2sz
+ki2a
+kia2v
+ki2z
+ki1b2l
+ki1b2r
+2k1i2de
+2k1i2deg
+2kidej
+2k1i2dt
+2kidz
+2kidi
+ki2dio
+2kidb
+2kidk
+2kidm
+2k1i2dn
+2kidt
+ki1dr
+kie2l
+kie2m
+kie2r
+ki2eset.
+kie2t
+ki2ew
+ki2d
+ki2k
+2k1ifj
+ki1f2r
+2kiga
+ki2ga.
+2kig
+ki2gt
+2kige
+ki2gn
+ki2gz
+ki1g2r
+ki1k2l
+ki2konn
+ki2kono
+ki1k2r
+ki1k2ri
+ki1k2v
+2k1ille
+2kily
+ki2lye
+2k1i2ma.
+2k1i2mai
+ki2mak
+ki2mb
+2kimd
+ki2mi
+ki2mj
+ki2mk
+2k1i2mm
+ki2mn
+2kimr
+ki2mt
+ki2mv
+ki2mit
+2k1imp
+2k1i2na.
+2k1i2nai
+2k1i2nb
+2k1i2nr
+kin2csa
+kin2cs
+kin2csel
+kin2cso
+2kind
+2k1inf
+kin2gas
+2k1inj
+2k1integ
+kio2l
+kio2m
+2k1i2onn
+2k1i2ono
+2kiont.
+ki3h
+2k1i2n.
+2kipar
+ki1pf
+ki1p2la
+ki1ple
+ki1p2r
+2k1ips
+2k1i2rat
+2kirnn
+2kirny
+2kirg
+2k1irh
+2k1irk
+2k1i2rod
+2kirom
+2k1irr
+2k1irt
+ki2sad
+ki2s1ajt
+ki2s1akn
+ki2sal
+ki2sap
+ki2sas
+ki2sl
+ki2s1e2c
+ki2s1el
+ki2s1emb
+ki2s1es
+ki2s12k
+ki2si.
+ki2s1in
+kis1ipa
+ki2s1i2ra
+ki2s1isk
+ki1skl
+2kism
+ki1smr
+ki1s2min
+kis2ny
+kis1oko
+ki2s1oros
+ki2sr
+ki2s
+kisp2
+kis1pl
+ki1s2por
+ki1s2p
+kis3sz
+kist2
+ki1s2tar
+ki1steri
+ki1st
+ki1stop
+ki1str
+ki1stu
+ki1t2r
+kit2t1er
+kit2t1
+kiu2s
+kiu2t
+ki2s
+ki2t
+kivz1
+2k1i2v
+1k
+2k12g
+k1gy.
+k2ja
+k2nal
+k2n1rb
+k2n1e
+k2nl
+k2n12
+k2r
+2k12re
+2k12r
+2ktm
+kta2
+kte2
+2k1v.
+2k1vb
+2k12ve
+2k12v
+2k12v
+k2z
+k2z
+k2z
+kk1abl
+k2k1a2da
+kk1ajt
+k2k1a2kad
+k2k1akk
+k2kal
+k2k1alj
+k2k1alm
+kka2r2ra
+k2k1a2u
+k2k1azo
+k2k1ll
+kk1rf
+kk2rok
+k2k12ru
+kk2s
+k2k1s
+k2k1th
+k2k1tl
+kk1tu
+k2k1tv
+kk12z
+kk1br
+kke2c
+kk1ecse
+kk1e2dz
+kk1e2g
+kke2l1e2g
+k2k1e2lem
+k2k1ell
+kke2l
+kk1emu
+kke2ra
+kk1erd
+kke2r
+k2k1e2r
+kk1e2ti
+kk1e2v
+k2k1g
+k2k12l
+k2k1p
+k2k1rt
+k2k1rz
+kk1fr
+kk1gr
+kki2
+kk1i2do
+kkie2
+kk1i2ga
+k2k1ig
+k2kill
+kk1ind
+k2k1ing
+k2k1ink
+k2k1int
+kk1i2par
+k2k1i2ro
+kk1isko
+kk1ism
+k2k12r
+k2k1z
+k1k2l
+kk2l.
+k1k2lu
+kko2laj
+kk1oll
+k2k1o2pe
+kkor2d
+k2k1org
+kko2r1os
+kko2r1t
+k2k1orz
+k2k1oszl
+kk1p2
+kk12r
+kk2l
+kk1l
+k2k1nt
+kk1tl
+kk12ri
+kk12r
+kk1rs
+kk1r
+kk1pr
+kk2ris
+kk2rit
+kk2r
+kk1sm
+kk1sp
+kk1st
+kk1t2r
+kk1udv
+kk1urt
+k2k1ut
+k2k1j
+k2k1g
+kk12l
+k2k12t
+k2k12v
+kk1zl
+kk1r
+kk2v
+kla1g
+kla3ko
+kla1kri
+kla2p1ta
+kla1pla
+kla1s2k
+kla2uz
+klma2
+kl2mal
+kl2m1an
+kl2mas
+kl2m12
+klmr1a2d
+kl2m1e2g
+kl2m1eh
+kl2mel
+kl2mer
+kl2m1r.
+kl2m1rt
+kl2m1i2k
+kl2min
+kl2mis
+kl2mol
+kle2
+kle2t1a2n
+kle2tl
+kle2t1elv
+kle2t1e2r
+kle2t1e2v
+kle2t1r.
+kle2t1tbe
+kle2t12t
+kle2t12ve.
+kle2tin
+k2lini
+kli2
+kli2pel
+k2lis
+kli2s
+1k2lm
+k2lo
+k2lopf
+k2loty
+kl2rad
+kl2raj
+kl2ran
+kl2rat
+kl2ris
+kl2rol
+k2lub
+klu2b1a
+klu2b
+klu2b1e
+klu2bir
+klu2bol
+klu2se
+klus3s
+klu2s3z
+kma1b
+kmai2ko
+kmas2
+km2nyan
+knag2
+knak2
+kna1kr
+kni2a2
+knika2
+kni2k1al
+kni2k1as
+kni1sz2
+knc1c
+kn23r
+1ko
+ko2z
+ko2be
+2k1obs
+ko2cho
+2k1o2dav
+2k1o2d
+kogs1s
+ko1g2ra
+ko2kd
+2koke2
+ko2k1er
+2k1o2k1ir
+2k1o2k
+2k1okl
+2k1okm
+2k1o2kol
+2k1o2koz
+kok2sze
+2k1okta
+kol1ajt
+kol1ro
+2k1oldal
+2k1old
+2k1old
+ko2lid
+ko2l1ig
+ko2limp
+ko2l1i2na.
+ko2lita
+kol2l1ad
+kol2ll
+kol2lel
+kol2les
+kol2l1t
+ko2l
+2k1oltr
+2kolvas
+2k1ombu
+ko2mil
+kom2p1r.
+kom2p1ol
+ko2n1a2d
+ko2naj
+ko2n1a2l
+ko2n1a2n
+ko2n1ar
+ko2n1as
+ko2n1au
+ko2n1l
+2konb
+2konbet
+konc1c
+konc2
+kon2ch
+kon2cs
+kon2c3sor.
+kon2c3soro
+ko2n1e
+2konn
+ko2n1r.
+2kongu
+2konhab
+ko2nir
+2konog
+ko2n1ol
+2konola
+ko2nor
+2konosn
+2konosr
+2konost
+2konpa
+2konpr
+2konrt
+2kont
+ko2n
+ko2nyag
+ko2nyal
+ko2nye
+ko2ny
+konz2
+2konzs
+ko2n
+kop2s
+2kopc
+ko1pro
+2kopti
+ko2r1a2d
+ko2rag
+ko2r1aj
+ko2r1a2n
+kor1ass
+ko2r1aszt
+ko2r1tl
+2k1orch
+kor2csal
+kor2dad
+kor2d1ag
+kor2d1a2s
+kor2dc
+kord1d
+kor2d1e2l
+kor2dem
+kor2des
+k1ordt
+kor2d1
+kor2d3z
+ko2r1e2c
+ko2reg
+ko2r1el
+ko2r1er
+ko2r1es
+kor1f2
+korgs1s
+2korie
+kor1ill
+ko2r1ing
+ko2r1inte
+kor1isk
+ko2r1i2zom
+ko2rosz
+ko2r1o2v
+ko2r1i
+ko2rn
+ko2r
+ko2r
+2k1orr.
+2korrk
+2k1orrt
+kor1s2
+kor1t2r
+ko2r1to
+ko2r
+ko2s1as
+ko2sl
+ko2se
+kos3sze
+kos3szo
+kos3sz
+2k1ostr
+ko2s
+ko2szal
+ko2szer
+ko2szir
+ko2sz
+k2oszo
+ko2sz
+2koszt
+kotksz1
+kot1st
+ko2ut
+ko2vi
+ko2xi
+koza2tal
+kozksz1
+kozkz1
+2koz
+1k
+ka2d
+k1bl
+kc3c
+k2cem
+k2ch
+k2d1ab
+k2dak
+k2d1a2l
+k2d1a2n
+k2daz
+kd1d
+k2d1e2l
+k2dem
+k2d1e2r
+k2d1es
+k2d1s
+k2din
+k2d
+k2d
+k2dz
+k2r
+k1f2r
+ki2g
+k2v
+k1kr
+k1kv
+2k12n.
+k2nt
+2k12ni.
+2k12no
+k2pan
+k2p1as
+k2p1e2l
+k2pir
+kp2
+k2p1r
+k2p
+2k12raa
+k2r1a2c
+2k12rai
+k2r1a2n
+k2ras
+k2rb
+k2rd
+k2rg
+k2ri
+k12rj
+k2rm
+k2rn
+k2rr
+k2rt
+k2rv
+k2rel
+kre2s
+k2rj
+k2r1ve
+k2r1ir
+k2r1ok
+kro2ka
+kro2ko
+kr1osto
+2krd
+k2r1d
+k2r
+2k12sg
+k1sl
+k2s1os
+k1s2pe
+k1spi
+k1s2po
+k1str
+k2s12
+k2s3zra
+2k12v
+k2z1a2m
+1k
+k2ba
+kb1ll
+kb1ln
+kb1lr
+kb1lt
+k2da
+k2d
+k2del
+k2der
+k2dev
+k2do
+k2d
+k2du
+k2d
+k2dz
+2k12ko
+2k1kr
+kl2csal
+kl2cs
+kl2csel
+kl2cs12
+2k1lel
+kles3s
+2k12lssz
+k2l
+k2le
+klta2
+kl2tal
+kl2t1e2v
+2k1ng
+k1nt
+k1nt
+k1ntv
+kny2v1a
+kny2v
+k2ra
+k2r
+k1rd
+k2red
+k2r1e2g
+k2rk
+k2r1tt
+kr1f2
+k2rik
+k2r1iz
+k2ro
+k2r
+k2r12l
+k2r12
+kr1p2
+kr1s2
+krt2
+kr1tr
+k2ru
+k2r
+kr2l1et
+kr2l
+k2r1ls
+kr2l
+k2r1l.
+2krv.
+2krvb
+2krvh
+2krvn
+2k1rv
+2krvr
+2krvt
+2krv
+2krv
+2krvv
+k1szt
+2ktl
+k1tv
+2k1v.
+2k1vb
+2k1vh
+2k12vig
+2k1vr
+2k1vv
+k2za
+k2z
+k2zen
+k2z12k
+k2z1
+k2zo
+k2z
+kze2
+k2z3s
+k2zu
+k2z
+k2z12l
+k2z12l
+1k
+ka2n
+k1bl
+k2ch
+k1dra
+ke2k
+ke2l
+ke2r
+k2l
+k2ne
+k1f2r
+k1gn
+k1gr
+ki2t
+k1kr
+k1pl
+k1pr
+kr1an
+k12rei
+kre2s
+kr1esz
+k12ri.
+k2ril
+k2rip
+k2riv
+k1rl
+kr1s2
+k2rl
+2k1rz
+k1s2k
+k2s
+k1s2t
+k1tr
+ku2t
+kpra2
+kp2rad
+kp2r1at
+kp2r1l
+kp2r1t
+kp2la
+kp2le
+kp2l
+kp2lu
+kp2t
+kp2ra
+kp2re
+kp2r
+kp2ri
+kp2r
+kp2ro
+kp2r
+kp2sz
+k2rach
+kra2chi
+1k2rajc
+k2rakk
+kra1p
+kr2sz1e
+kren2d12
+k2reo
+k2rep
+1k2rmh
+1k2rml
+1k2rmr
+kr3p2
+1k2rist
+1k2riti
+kro1g2
+1krokett.
+1krokod
+kro2n1a2
+kro2n
+kron1d2
+kro2n1e
+kro1p2
+kro1str
+kro1sz2f
+kr2mar
+kr2m1e
+kr2mis
+k2rmo
+1k2rnik
+k2rup
+k2s1a2r
+ks1elo
+ks2gele
+ks2gis
+ksg2l
+ks2g1l
+k1s2k
+ks2ko
+k1s2la
+ks2l
+ks2lu
+ks2mi
+k1s2ni
+ks2pa
+ks2pe
+ks2pi
+ks2po
+ks2p
+ksp2r
+ks2r
+k1s2ta
+k1s2t
+ks2ti
+k1s2t
+ks2to
+k1st2r
+k1s2tu
+k1s2t
+k2sz1a2d
+kszae2
+k2szagy
+k2sz1aj
+ksza2ke
+ksza2k
+ksza2k1
+k2sz1am
+ksz1any
+ksz1ar
+k2sz1g
+kszraz1
+k2sz1e2gy
+k2sz1ela
+k2szemu
+k2sz1eng
+k2szev
+ksz1let
+ksz2t1
+k2sz1id
+kszil2
+kszi2p
+ksz1ipa
+ksz1isk
+k2szr
+k2sz1old
+k2szolt
+k2sz1osz
+ksz2g1ell
+ksz2g1elv
+kszt2
+k2szuni
+k2szut
+k2sz1g
+k2szt
+k2sz12z
+ksz1z
+kt1a2da
+kt1aj
+kt1a2lap
+k2t1alb
+k2t1all
+kta2n12s
+kta2n12
+kta1p2
+k2t1arm
+kt1a2ud
+kt1azo
+kt1br
+kt2lal
+kt1ll
+k2t1lm
+ktra2d
+kt2r1ada
+ktr1ad
+kt2raj
+kt2r1az
+k2t1tf
+k2t1tv
+k2t1e2g
+k2t1elg
+k2t1elh
+kt1elj
+k2t1ell
+k2t1els
+k2t1elv
+k2t1enz
+kte2rad
+kte2ral
+kte2rr
+kte2rt
+kte2reg
+kte2r1e2l
+kte2r1in
+kte2rosz
+k2t1esem
+kt2l
+k2t1rl
+k2trmi
+k2t1rte
+k2t1ss
+k2t12vet
+kt1fr
+kt1gr
+k2t1id
+kti2g
+k2t1ig
+kt1ill
+kti2m
+kt1ima
+k2t1ind
+k2t1inf
+k2t1i2r
+k2t1isk
+k2t1ism
+k2t1i2vs
+k2t1g
+k2t12r
+ktv1e2l
+kto1g2ra
+kto2n1
+kt1ope
+kto2ras
+kto2r1e
+kto2rol
+k2t1s
+k2t1t
+kt1pr
+k1t2ran
+k1trau
+k1trf
+k1t2rn
+k1t2ri
+ktro2n
+k1t2rn
+kt1sp
+kt1st
+kt1sz
+kt1t2r
+ktu2m1e
+ktu2min
+ktu2sab
+ktu2s1an
+ktu2szr
+ktu2sze
+ktu2sz
+kt2l
+k2t1l
+k2t1t
+k2t12v
+1ku
+ku2r
+2k1ucc
+kue2l
+kue2r
+kue2s
+ku1f2r
+2k1u2go
+2k1ugr
+ku2gya
+2k1ujj.
+2kujja.
+2kujjad
+kuj2j1a2da
+2kujjai
+2kujjak
+2k1ujjal
+2kujjam
+2kujjas
+2kujjat
+2k1ujj
+2kujjb
+2kujjg
+2kujjh
+2kujji
+2kujjk
+2kujjn
+2k1ujjo
+2kujjp
+2kujjr
+2kujjs
+2kujjt
+2kujju
+2kujj
+kuk2k12
+kula1k
+kul2csal
+kul2cse
+kulus1s
+ku2m1a2d
+ku2mal
+ku2m
+ku2nad
+ku2nal
+ku2n1s
+ku2ne
+ku2n1in
+kun3n
+ku2nor
+ku2n12
+ku2n
+2k1up.
+2kupr
+2kupu
+ku2rad
+2k1u2rai
+ku2rak
+2kural
+ku2ram
+ku2ru
+2k1urn
+ku2rol
+kuru2c3s
+ku2sal
+ku2sas
+ku2sl
+ku2s1e2
+ku2sis
+ku2s1i2z
+ku2s12
+ku2s
+kus3sze
+ku2s1
+ku2s
+ku2szal
+ku2szar
+kusz1es
+ku2sz12l
+ku2sz12p
+ku2szt
+ku2sz1il
+ku2szis
+ku2sz
+2kutal
+2k1u2tas
+2k1u2taz
+ku2tl
+2k1u2tn
+2k1utc
+2k1u2tol
+2k1u2td
+ku2tp
+ku2zs
+1k
+k2j
+2k1js
+k2p1a2
+k2p1
+k2p1e
+k2t1a2
+k2t12
+k2t1e
+ktf2
+ktfl1
+k2tos
+k2t1
+2k2tu
+k2t12
+1k
+k2ge
+k2gy
+2k12lep
+k2lo
+kl2t1
+2kreg
+2k12r
+k2r
+2k1st
+k2sz
+k2sz
+2k1tk
+kvs3s
+2k12v
+2k12ze
+1k
+2k1rh
+2k1rm
+k2ro
+k2r1s
+k2z
+k2z
+1k2van
+k2varc
+1k2vark
+kv2nyol
+kvrosi2
+kv2sel
+kv2so
+kvs3s
+1k2vin
+1k2vitt
+k2vc
+k2vta
+k2vt
+kvcsa2
+1ky
+kyd2n
+ky2fajtn
+ky2fajtr
+ky2fajtt
+ky1i2s
+ky1i2v
+kyk2k
+kyk2ne
+ky2se
+ky2s12
+ky1z
+kza2tal
+kza2t1e2
+kza2t12
+2l.
+1la
+laa2d
+lat1
+lata2
+2labr
+3labd
+2labr
+2l1abs
+la2c1ag
+la2c1aj
+la2c1al
+la2cem
+la2c1ete
+la2c3ha
+la2ch
+lac1ita
+lac2k1orr
+lac1orr
+la2c12
+la2c
+la2csalj
+lac3sg
+la2c3sor
+lac3sl
+lac3st
+lac3sz
+la2c
+la2c
+2l1a2data
+2l1a2datb
+2l1a2datk
+2l1a2datn
+2l1a2dato
+2l1a2datr
+2l1a2datt
+2l1a2datu
+lads1s
+2l1adl
+2l1a2dog
+2ladom
+3l2a3don
+ladi2ko
+2l1a2duk
+la1dy2
+lae2d
+lae2l
+lae2r
+la2d
+la2r
+2laff
+la1fl
+la2gac
+lag1a2d
+la2g1a2n
+lag1ass
+la2g1a2t
+la2gau
+la2gav
+la2gg
+lag1ll
+lag1r.
+lag1r
+lag1rb
+lag1re
+lag12r
+lag1rf
+lag1rh
+lag1rk
+lag1rm
+lag1rn
+lag12ro
+lag1rr
+lag1rs
+lag1rt
+la2g1ere
+la2gs
+la2gid
+la2g1i2k
+la2gim
+la2gis
+la2g
+la2g1ont
+la2g1osz
+la2gc
+la2g12r
+la2gv
+la2gn
+la2g1ud
+la2g1ur
+la2g1ut
+la2g1
+la2g
+la2gy
+la2ire
+la2jag
+la2j1a2l
+la2jap
+la2j1ar
+laj1ass
+laj1a2sz
+la2j1az
+la2j1l
+2lajnl
+la2j1r.
+la2j1rh
+la2j1rn
+la2j1rs
+la2j1rt
+la2js
+la2j1th
+la2j1ts
+la2j1elt
+la2jen
+la2j1es
+laji2
+la2jin
+la2j1is
+la2j
+la2j1ol
+la2j1oml
+la2j1or
+2lajoz
+la2j1r
+la2j1s
+la2j
+l2ajs
+laj1sz
+la2j1u2t
+la2j12
+la2kad
+lak1alj
+la2k1alm
+la2k1a2lo
+laka2t1a2n
+la2k1c
+la2k1lk
+lak1ll
+la2k1rn
+lak1ss
+2lakci
+la2k1eg
+la2k1e2l
+la2k1r.
+la2krte
+la2k1iko
+la2k1r
+lak2k1as
+lak2kec
+lak2kel
+lak2kol
+2l1akkor
+lak2kl
+la1klu
+2laknb
+2laknh
+2lakns
+la2kob
+la2k1op
+la2k1orm
+la2k1osz
+la2k1ov
+2lakz
+la2k1s
+la1k2rm
+lak2rip
+la1k2ru
+lakt2
+2l1akt.
+2l1aktiv
+la2kuj
+2lakul
+2lakulg
+2lakulh
+2lakulj
+2lakuln
+2lakulo
+2lakul
+2lakuls
+2lakulu
+2lakulv
+2laks
+la2k12to
+2lakv
+2lakza
+la2la2g1
+la2laku
+2lal
+lals1s
+2l1alb
+2l1alc
+2l1alf
+2laljn
+2l1alka
+2l1alkot
+2l1alku
+2l1alle
+lal2tr
+lal2te
+2l1alti.
+2laltonk
+lal2t12
+lal2t12
+2laltv
+2l1alvi
+lam1ada
+la2m1aka
+la2m1any
+la2m1a2p
+la2m1ar
+la2m1a2z
+lame2g
+la2m1egy
+la2m1ele
+lam1emb
+la2m1esz
+la2mk
+lam1le
+la2mne
+la2m1rv
+la2minv
+la2m1ism
+la2m1ist
+la2m12
+2l1amm
+la2m1ol
+lam1org
+la2m1osz
+la2m12r
+la2m
+la2m1ur
+la2m1
+la2n1a2d
+lana2g
+la2n1aj
+la2nal
+lan1ala
+la2nam
+la2nar
+la2n1ll
+la2n1r.
+la2n12rai
+la2n12rak
+la2n12r
+la2n1rr
+la2n1rv
+lans1s
+lan2csel
+lan2csem
+lan2csi
+lan2csol
+lan2d1l
+lan2d1el
+lan2d1r.
+lan2diz
+la2ner
+la2nes
+la2n1p
+lan2g1as
+lan2gen
+lang3g
+2l1angin
+la2nil
+la2nip
+la2nis
+2l1ankt
+lan1kr
+la2n1osz
+lans2
+lan2tag
+2lantc
+la2n
+la2nyag
+lany1a2la
+la2nyau
+2lanyi
+la2ny1l
+2lanyn
+la2nys
+2lanyv
+la2ny1e2lem
+lany1e2r
+la2ny12r
+la2ny1ol
+la2ny
+la2ny
+la2r
+2l1a2pa.
+lap1akk
+lap1akt
+lap1a2la
+lap1alk
+la2p1atm
+la2p1att
+la2p1a2u
+la2paz
+la2pb
+la2p12g
+la2pk
+la2pn
+lap12r
+lap1rh
+la2p1rr
+la2pe2l
+lap1ele
+la2pem
+la2p1en
+la2p1es
+la2pik
+lap1illa
+lap1ille
+la2p1im
+la2p1i2na.
+la2p1ing
+la2p1int
+la2p1i2p
+la2p1i2s
+la2p1ita
+la2p1iz
+lap2lat
+la2p1o2ku
+lap1org
+lap1orn
+lap1orz
+lapos1s
+la2p.
+la2pb
+la2pn
+la2pr
+la2p
+la2p
+2lappar
+2lapr
+lap1s2
+2lapn
+2lapv
+la2p
+la2ra.
+la2ran
+2l1arc
+larc3c
+2l1a2rn
+lar2m1e
+lar2min
+2l1art
+2l1arz
+la1s2pa
+la1s2pi
+la1stra
+la2sz1abl
+lasz1alt.
+la2szas
+2l1a2szat
+la2szs
+la2sz1n
+la2szd
+lasz3s
+lasz2t1alj
+l1asztam
+la2sz1t
+la2t1a2d
+la2t1aj
+lat1alak
+la2t1alk
+la2t1alt
+lat1ar
+la2t1a2ro
+lat1arti
+lat1aszt
+lat1att
+la2tau
+la2taz
+la2t1j
+lat1ll
+la2t1rad
+la2t12rai
+la2t12rak
+la2t12ram
+la2t12rat
+la2t12rb
+la2t12rh
+la2t12rn
+la2t12r
+la2t1rh
+la2t1rn
+la2t12rok
+la2t1rr
+lat1rt
+la2t1rt
+la2t12r
+la2t1rv
+lat1sz
+la2t1ta
+latdi2al
+la2t1e2g
+la2telem
+la2t1ell
+la2tep
+la2t1erk
+late2s
+la2t1ess
+la2tesze
+la2t1eti
+la2t1eto
+la2t1e2v
+la2t1ke
+lat12k
+lat1kk
+la2t12r
+la2t12r
+la2trte
+la2t1rv
+lat1ss
+la2t1i2ko
+lat1ikra
+lat1inte
+la2t1inv
+la2t1ist
+la2t1iz
+la2t1r
+lat1v
+lat1k2
+la2toj
+la2t1okm
+lat1olda
+la2toll
+lat1oml
+la2t1osz
+la2t1otth
+la2t1r
+la2t1ri
+la2t1vi
+la2t12v
+la2t1r
+2l1attako
+latta2n12
+2lattv
+la2tut
+la2tl
+lat1ze
+lat2z
+la2t1z
+la2ty
+la2ub
+la2uk
+la2us
+la2uto
+la2z
+la2vat
+2l1a2vu
+la1y
+la1yig
+2layr
+lazac1c
+laza2c3s
+lazma1
+2lazm
+2l1a2zon
+1l
+l2bar
+lbas1s
+l2bl
+l2b1e2l
+l2b1ina
+l2b1i2z
+lb1org
+lb1orr
+l2b
+l2b
+2lbr
+l2b1u2s
+l2b
+lcs2
+l2cst
+l2cs1il
+l2csip
+l2cs
+lda1s
+l2d1az
+l2d1e2r
+l2det
+l2dim
+l2d1or
+l2d1ott
+l2d1
+l2dl
+l2dz
+l2gab
+l2gac
+lg1a2da
+l2g1a2g
+l2g1al
+l2gan
+l2gas
+lg1ass
+lga2t
+l2g1atl
+l2g1ato
+l2g1att
+l2gl
+lg1ll
+l2gm
+l2g12rak
+l2g12ro
+l2g12to
+l2gp
+l2gid
+l2gig
+l2gim
+l2g1ott
+l2g12
+l2g
+lg1s
+l2g
+l2g
+2lgy
+2lgyo
+l2has
+2lhe
+l2r
+l2lad
+l2l1aka
+l2l1al
+lla2n
+l2l1any
+l2l1ar
+l2lau
+l2l1g
+l2l12l
+lls1s
+l2l1tj
+2llds
+2lldoz
+l2lel
+l2l1est
+l2l1e2v
+l2ll
+l2lim
+l2l1is
+l2l
+2l1llam
+2l1llat
+2l1lls
+2l1llk
+2l1llom
+2l1llv
+2llmaim
+2llmok.
+2llmom
+2l1lmos
+2llmuk
+2llmunkb
+2llokaih
+2llokain
+2llokair
+2llokn
+2llokt
+2lloku
+l2l1o2ko
+2llokonk
+2lloku
+ll1r
+ll2
+l2l1v
+2l1lut
+l2l1t
+l2l
+l2l
+l2m1a2d
+l2m1aj
+lm1ass
+l2m1au
+l2m1l
+l2m12z
+lm1b2
+lm1ell
+lm1er
+l2mes
+l2mk
+l2m1rv
+l2m1int
+lm1ist
+l2m
+l2m1or
+l2m
+l2m
+l2m
+l2m1t.
+l2m
+l2m
+lna2
+l2n1ag
+l2nal
+l2n1an
+l2nar
+l2n1as
+ln2
+l2nr
+lnc3c
+ln2cel
+ln2c1g
+ln2cs
+l2nem
+l2n1er
+l2np
+ln2g1at
+ln2gl
+ln2g1e
+l2nil
+l2n1is
+ln2k1e2l
+ln2k12ra
+ln2k12v
+l3nok
+l2nol
+ln1sp
+ln1sz
+lnt2
+ln1tr
+l2n
+l2nyaj
+l2nyala
+l2nyam
+lnya2n
+l2nyar
+l2ny1as
+l2nyav
+l2nyel
+l2ny1r.
+l2ny
+l2ny
+l2pt
+lpi2
+2l12pol
+l2rad
+2l12rai
+l2raka
+l12rakb
+l12rakk
+l12rakr
+l2r1a2l
+2l12ram
+2l12rat
+l2r1av
+l12raz
+2lren
+l2res
+l1rkot
+2l1rnya
+lr1s2
+lrt2
+lr1tr
+2lru.
+l2rug
+2l12ruh
+2l12ruk
+2l12rul
+2lrus
+2l1rut
+2lruv
+l2ra
+l2r
+l2s1a2d
+l2s1aj
+l2sal
+l2s1a2r
+l2saz
+l2s12g
+l2s12rai
+l2s1rak
+l2s12r
+l2s1rb
+l2s12r
+l2s1rh
+l2s1rr
+l2s1rt
+2l12ss
+l2s12to
+l2se
+lsegyez1
+l2sr
+l2sott
+ls1otth
+ls2
+2l12s.
+ls1r
+l2s
+ls3sz
+l2sut
+l2s
+l2szas
+ls3zav
+2lszed
+l2szeg
+l2sz1e2m
+l2szen
+l2szip
+lszksz1
+lsz2
+l2szl
+l2szv
+lsz3s
+l2sz
+l2taj
+l2t1e2re
+lt2tel
+2l1the
+l2t1i2o
+2l12t
+2ltk
+l2t1osz
+l1t2r
+l1tri
+2l1tte
+2l1tt
+2l1tt
+l1ts
+2l1tv
+l1tvi
+2lvi
+l2viz
+2l12v
+2lvu
+l2z1adot
+l2z1al
+l2z1rh
+lz2rus
+3lzb
+l2z1el
+l2z1i2s
+lzo2
+l2z1olt
+l2zsal
+l2zsan
+l2zs
+lz3sz
+l2b1is
+lb2li
+lb2lo
+lb2l
+lb2ra
+lb2re
+lb2ri
+lb2ro
+lb2r
+lb2ru
+lc1ajt
+lc1alk
+lc1an.
+l2c1a2to
+l2c1g
+l2c1l
+lc3csi
+lc3cso
+lc3cs
+l2c1e2le
+lc1elr
+l2c1emb
+lc1emel
+lc1esz
+l2c1e2v
+lce2z
+l2c1eze
+l2c1p
+lc1vi
+lc1fr
+lc3ha
+lc3h
+lc3ho
+lc3hu
+lc3h
+lc3h
+l2c1i2d
+lci2tr
+lc1v
+lc1k2r
+l1c2lu
+l2c1ost
+l2c1osz
+lc12r
+lc1k
+lc1s
+lc1pr
+l2cs1a2d
+l2csakt
+lcs1alap
+l2cs1a2n
+lcsa2p12g
+lcs1apr
+lcsa2r
+lcs1ara
+lcs1aro
+l2cs1a2s
+l2csaz
+lcs1g
+l2cs1l
+l2cs12t1a2
+l2cst
+l2cs1th
+l2cs1tj
+l2cstv
+l2csec
+l2cs1e2g
+l2c3sej
+lcs1elf
+l2cs1elt
+l2cs1elv
+lcs1emb
+lcs1eml
+l2cserd
+lcse2r1e2l
+lcs1er
+lcs1ese
+lcse2t
+l2cs1ete
+l2csl
+l2cs12rs
+l2csrle
+l2csrte
+l2cs1rt
+lcs1rve
+l2cs1rv
+lcs2sz1k
+l2cs12te
+l2cs1tk
+l2cs12vt
+l2csid
+l2csimi
+l2cs1inf
+l2cs1ing
+l2cs1int
+l2cs1i2pa
+l2cs1irt
+l2cs1isk
+l2cs1ism
+l2csita
+l2cs12z
+lcs1k2
+l2cs1okm
+lcs1ors
+l2cs12l
+lcs12s
+lcs1s
+lc3str
+lc3sug
+lcs1lt
+lc3szo
+lc3sz
+lc1tr
+l2c1uj
+lc1l
+lc1t
+lc3z
+lc3zo
+ld1abl
+ld1abr
+l2d1a2c
+ld1a2dato
+l2d1a2d
+ldai2
+lda2lag
+lda2laj
+lda2l1e2g
+lda2lel
+lda2les
+lda2l12l
+lda2liz
+lda2l12
+lda2los
+ldalt2
+l2d1ant
+lda2nya
+lda2ny
+ld1ap
+l2d1aran
+l2d1arc
+l2d1ark
+lda2t1as
+lda2t1eg
+lda2t1in
+lda2ts
+ld1g
+ld1ll
+ld1lm
+ld1rn
+lds3s
+ld1br
+ld1egy
+l2d1e2kk
+l2d1e2kn
+l2d1e2kt
+l2d1e2l1a
+l2d1e2leme
+l2d1e2lemi
+l2d1e2lemn
+l2d1elr
+l2d1elk
+l2d1ell
+l2d1elo
+l2d1e2lh
+l2d1e2lvez
+l2d1els
+l2d1elt
+l2d1elv
+l2d1ember
+l2d1e2mel
+l2d1eml
+lde1p2
+ld1epe
+l2d1er
+ld1e2v
+l2d1ex
+l2d12g
+l2d12jr
+ld1lm
+l2d1p
+l2d1rc
+l2d1r
+l2d12ri
+l2d1rte
+l2d1rz
+l2d1sz
+ld2ves
+ld1fl
+ld1fr
+ld1gl
+ld1gr
+l2d1i2ga
+l2d1ig
+l2d1ill
+l2d1imi
+ld1ind
+l2d1int
+ldi2p
+ld1ipa
+l2d1isza
+l2d1n
+l2d1r
+l2d1z
+ld1kr
+ld1kv
+ldo2g1as
+l2d1ola
+l2d1old
+l2d1olt
+ld1oml
+ld1orc
+ld1org
+l2d1osz
+l2d12r
+l2d1ri
+l2d1b
+ld1kle
+l2d1rk
+l2d1v
+ld1ri
+ld1sk
+ld1pl
+ld1pr
+ld2rt
+ld1sp
+ld1st
+ld1udv
+ldu2r
+ld1ura
+ldus3s
+l2d1u2t
+l2d1j
+l2d1r
+l2d12t
+l2d1g
+l2d1le
+l2d1r
+l2d1z
+l2d1r
+ld3z
+ld3z
+ld3zu
+1le
+lea2b
+lea2d
+lea2g
+lea2k
+lea2l
+lea2n
+lea2p
+le2ar
+lea2sz
+lea2v
+le2j
+le2s
+le2z
+2l1e2bd
+le2bin
+le1bla
+le1bra
+leb2rek
+leb2s
+2lecc
+2l1e2cet
+2l1ecset
+l1eddi
+le1d2res
+le1dro
+lee2s
+le2r
+lefona2
+lefo2nal
+le1fr
+2l1eft
+le2gala
+lega2r
+le2g1a2s
+le2g1ll
+le3g2to
+le3g2z
+le3geb
+le2g1e2g
+le3g2elem.
+leg1ell
+le3g2ela
+le3g2elj
+le3g2elk
+le3g2elt
+le3gelze
+le3g2elve.
+le3g2elv
+le2gene
+le3g2erj
+le3ges.
+le3geseb
+le3gesek
+le3gesen.
+le3g2esn
+le3gesr
+le3gest
+le2g1e2sz
+leg2d
+leg2l
+le3gn
+legg2
+le2gid
+le2g1is
+legmeg1
+le3g2on
+le2gv
+le3gng
+le2g1s
+legpec1
+legvz1
+legy2
+2legyb
+2legyed
+l1e2gyel
+legy1e2lr
+l1e2gyenge
+l1e2gyk
+le3gyi
+2legy
+2l1egyl
+le3gyo
+2legys
+l1egys
+le3gy
+le3gy
+2l1egyv
+le2ic
+lei2g
+lei2r
+lei2s
+lej2ta
+lej2t1
+le2kad
+le2k1a2pu.
+le2k1l
+lek2p
+le2k1r.
+le2k1ra
+le2k1rb
+2l1e2ke.
+le2k1eg
+lek1els
+lek1emb
+lek1eme
+lek1erj
+lek1e2r
+le2k1rt
+2l1e2ks.
+le2k1id
+le2kij
+le2k1ik
+lek1ist
+le2kiz
+lekksz1
+le1kli
+lek1olt
+le2k1orz
+le2k12r
+le2k12
+2lektro
+2lektr
+le2k1t
+le2kd
+2l1elad
+l1eldo
+2l1e2lekt
+lele2ma
+2lelemei
+2le2lemek
+2l1e2lemes
+2lelemz
+lele2t1a2
+lele2tel
+lele2to
+2lelg
+2l1e2l1r
+lels1s
+lel2s3z
+2l1elgo
+2l1elha
+2l1elh
+2l1elhel
+l1elho
+le2lim
+lel1ing
+le2l1iz
+2l1elj
+2l1ell
+2l1ell
+2l1ell
+2l1elmj
+2l1elms
+2l1elnev
+2l1eln
+2l1elny
+2l1e2los
+2l1e2l12l
+2l1e2ll
+2l1e2lfo
+le2l
+le2lsz
+l1elso
+l1els
+2l1elsz
+2l1elta
+l1eltv
+2l1eltr
+2l1elto
+l1elt
+2l1elv.
+2l1elv
+2l1elvt
+2l1elvh
+l1elvn
+2l1elvs
+2l1elz
+2l1e2mel.
+2l1e2meld
+l1emeled
+l1emelek
+2le2mel
+l1emels
+2l1e2melg
+le2melh
+l1emelhe
+2l1e2meli
+2l1e2melj
+l1emellek
+2l1e2meln
+le2mel
+2l1emel.
+2lemels
+le2mels
+le2melt
+l1emelt.
+l1emelt
+l1emelt
+2l1e2mel
+le2melv
+l1emelve
+lem1erk
+le2m1essz
+lem1eszt
+le2m1e2ti
+le2m1k
+le2m1le
+lem1lte
+le2m1lv
+lem1rde
+2l1e2mss
+le2m1ill
+le2mind
+le2m1ing
+le2m1isz
+le2mita
+le2m1itt
+l1emlege
+le2mok
+le2mol
+le2m1org
+le2m1osz
+le2m12r
+le2ml
+le2m12
+lem1p2
+lem1u2r
+le2n1a2d
+le2nal
+le2n1l
+le2nt
+lenc1c
+len2cel
+len2ceme
+l2end
+le2n1e2g
+le2n1e2l
+le2ner
+lene2tel
+len2k
+le2n1ke
+le2n1kk
+le2n1kt
+len2l
+len1l
+lens3s
+le2n1sz
+le2n1v.
+len2g1e2l
+le2nid
+le2n1ip
+le2n1o2k
+le2nol
+le2n1or
+le2n1v
+len1r
+len1s2p
+len1sta
+len1tra
+len1t2ren
+lenu2
+le2n1ur
+le2n1ut
+le2n1g
+le2n1t
+2l1enyv
+le2oa
+le2oc
+leo2k
+le2oli
+leo2m
+le2oz
+le2c
+le2r
+le2p1aj
+lepa2p
+lep1apa
+lep1lla
+le2p1eg
+lepe2le
+le2pk
+le2pl
+lep1ill
+lep1iz
+le1p2lo
+le2p1osz
+le2p12d
+lep2p1elv
+le1p2rse
+le1p2ri
+le1pro
+le1pr
+le2p12lh
+2lerd
+2leredm
+le2rej
+le2r1k
+ler1te
+le2r1il
+le2rir
+2lerz
+2l1e2r
+le2s1al
+le2s1l
+l1esd
+2lesege
+le2s1e2kh
+2l1esem
+l1e2setb
+2l1e2setei
+lese2tel
+2l1e2set
+l1e2seth
+l1e2seti
+l1e2setk
+l1e2setn
+lese2t1o2
+l1e2setr
+le2ss
+le1s2ka
+le1ski
+2lesk
+le1sla
+le1s2li
+le1sma
+le1s2mi
+le1s2p2
+les3sza
+les3sz
+le1s2tar
+le1stemp
+2l1esten
+l1estbe
+2lesti.
+le1s2til
+2l1estj
+les2t1or
+2lestr
+l1estt
+2l1eszk
+le1szto
+le2t1ab
+le2tac
+let1a2la
+let1all
+le2t1am
+le2t1ana
+let1apr
+le2t1e2kb
+le2t1e2la
+le2t1elb
+let1eleg
+le2t1elf
+let1elk
+let1ela
+le2t1e2lk
+let1elr
+let1emel
+le2t1eml
+le2tene
+le2t1ent
+let1ered
+le2t1er
+le2t1erk
+le2test
+let1eszk
+2l1e2tet
+2l1e2teth
+2l1e2tetj
+2l1e2tetv
+le2t1d
+le2t12j
+let2l
+let1le
+let1l
+let1lv
+le2t12nekn
+le2t1rb
+le2t12ren
+le2t12ri
+le2t1rr
+le2t1rt
+let12rl
+let2sz
+let1ter
+let12t.
+let2vede
+let1ves
+le2t12vb
+le2t1vi
+le2t12vr
+le2t12vt
+le2t12vv
+le2tid
+let1ikr
+let1ill
+le2tim
+le2t1ing
+le2t1ist
+leti2sz
+let1iszo
+le2tiv
+le2tod
+le2t1o2k
+le2t1on
+let1ora
+le2t1ox
+le2t12r
+le2t12v
+lete3d
+le2t1ri
+le1traf
+let2teg
+let2l
+le2t1l
+let1z
+2lety
+leu2g
+le2uk
+leu2r
+leu2t
+2levene
+2leven
+2leven
+l1e2vez.
+l1e2vezg
+l1e2vezh
+l1e2vezn
+l1e2vezt
+le2vez
+l1e2vezv
+levl1l
+le2vol
+le2x
+le2x1el
+le2x1e2p
+lexksz1
+le2x
+le1y
+le2zer
+leza2
+leze2r
+lez2n
+lez1s2p
+2l1ezr
+1l
+2l1br
+l2ca
+l2c
+lc3c
+l2c1k
+l2c3h
+lci2
+l2cim
+l2co
+lcs2
+lc3sk
+l2d1as
+l2d1el
+l2d1emb
+l2dl
+l2d1s
+l2dil
+l2dos
+l2dot
+l2d
+l2d12
+le2r
+l2r
+l1f2r
+l2gal
+l2g1e2c
+2lged
+l2g1eg
+lg1ell
+lg1els
+l2g1em
+l2g1e2r
+lg1r.
+2l12gs
+l1ghet
+l2gil
+2lg
+l2g1
+2l2g
+l1g2rf
+l1gtem
+l1gtet
+l1gtl
+l2g
+2lg
+l12gn
+l2gyel
+l2gyes
+l2gyi
+l2gyo
+l2gy
+3lgz
+lh1asz
+2l12he.
+l2hed
+l2h1em
+2lhes
+2lhet
+2lhez
+l2h1
+l2hol
+2lhs
+2l1j.
+2l12ji
+2l1jj
+2l1js
+l2kab
+l2k1a2d
+l2k1a2g
+l2k1aj
+lk1aka
+l2k1a2la
+lka2p
+l2k1apo
+l2k1as
+lka2t
+lk1ato
+l2k1au
+l2k1av
+l2kaz
+l2k1e2g
+l2k1ep
+l2kes
+l2k1e2sz
+lk1ev
+l2k12k
+lk2l
+l2k1le
+l2k1lv
+l2k12te
+l2kid
+l2kt
+lkkz1
+lk1ors
+l2k1osz
+l2k1l
+l2kr
+l2kz
+l2k
+l2k1u2r
+lk2l
+l2k1l
+l2k1lt
+lkve2g
+l1lc
+2l12le.
+2l12lei
+2l12les
+l2lb
+l2ln
+l2lr
+2l1lm
+llksz1
+2l1lr
+l2lk
+2l12l
+2l12mel
+l2nag
+ln2
+l2neg
+l2nekb
+2lnekl
+l2nel
+2lnk
+l2no
+l2ny
+l2p1a2l
+l2p1el
+lps3s
+2l12p
+l2p
+2lpl
+l2pl
+l3rad
+l2ral
+l2rap
+l2ras
+l2rat
+l2rav
+l2r1
+2l1rc.
+2l1rcb
+2l1rde
+l2reg
+l2r1e2l
+l2r1es
+2l12rez.
+2l12rezv
+l2r12j
+2l12rs
+2l12rik
+l2ris
+l2rit
+l2r
+2l1rni
+2l1rn
+l2r1osz
+l2r
+2l12r.
+l2rd
+2l12re
+l2ri
+2l12rj
+2l12rk
+l2rn
+2l12rt
+2l12rv
+2lrtelm
+2l1rtk
+2l1rtj
+2l1rt.
+l2rut
+2lrvel
+2l1rvn
+2l1rze
+2l1rz
+lsa2
+l2s1aj
+l2sak
+l2sal
+l2sar
+l2s1az
+l2s12
+l2seg
+l2s1e2l
+l2s1eti
+l2s12g
+l2ss
+l2s1ikr
+l2s
+l2s1
+ls3sza
+ls3szer
+ls2l
+l2s1l
+l2s1l
+l2s1t
+lsz1k
+2lszst
+2l1szl
+ls3zse
+l2tag
+l2taz
+l2t1eg
+l2tel.
+lt1elo
+lt1el
+lt1elv
+l2tene
+l2tes
+2l12teth
+l2teti
+2l12tetn
+l2tev
+l2t1r.
+l2t12te
+l2t1is
+l2tt
+2ltl
+l2t1o2k
+3l2t
+l2th
+l3tl
+l2t12r
+lt2
+lt1r
+lt2rg
+l2tun
+2l1vad
+2l1vb
+2l12ve.
+2l12ved
+2lvei
+2l12vek
+2lvelf
+2lveli
+2l12vem
+2l12ven
+2l12vet.
+2l12vb
+2l12vh
+2l12vi
+2lvn
+lv1rt
+2l12vt
+2l12vv
+2l1vf
+2l1vh
+2l12vi.
+2l12vig
+l2vir
+l2vis
+2l1vk
+2l1vl
+2l1vm
+2l1vn
+2l12v
+2l1vr
+2l1vs
+2l1vt
+2lv
+l2vk
+l2vn
+2l12v
+2l1vv
+2l1vz
+lfa2l1e2
+lfat2
+lfa1tr
+lf1aut
+lf2t1i2
+lf1cl
+lf1ese
+lfe2t
+lf1eti
+lf2l12v
+l2f1lm
+lf2m1e2k
+lfi2d1
+lfin3n
+lfi2nos
+lf1iro
+lf1isk
+lf1kl
+lf2lo
+lf2l
+lf2l
+lf2lu
+l2f1okta
+l2f12r
+lf1pr
+lf2ri
+l1f2r
+l1f2ro
+lf2r
+lf2r
+lf1sp
+lf1sz2
+lf1l
+lga1p2
+lgati2ko
+lgau2
+lgr1as
+lgs3s
+lgi2as
+lg2la
+lg2lo
+lg2l
+lgr2cso
+l1g2ra
+lg2ru
+l2gy1ad
+l2gy1ag
+l2gyaj
+lgy1ala
+lgy1alj
+lgy1any
+l2gy1a2s
+l2gy1au
+l2gyb
+l2gyl
+l2gyt
+l2gy1e2g
+l2gyel
+l2gy1e2le
+l2gy1elz
+l2gyembe
+lgy1er
+l2gy1esem
+l2gy1e2v
+l2gyl
+lgy1r.
+l2gy1s
+l2gyid
+l2gyikr
+l2gyip
+l2gyis
+l2gy1ok
+l2gy1ol
+l2gyop
+l2gy1os
+l2gy12r
+l2gy12r
+l2gy1s
+l2gy1u2t
+l2gy1t
+lhai2
+lhn1al
+1li
+li2aa
+li2a
+li2abi
+li2abo
+lia2c
+li2aci
+li2acs
+li2acu
+li2a1d2
+li2ae
+li2a
+li2ag
+li2ah
+li2aid
+li2a
+li2aj
+li2akp
+li2ala
+li2ale
+li2ali
+li2am
+li2amo
+li2ao
+li2a
+li2a
+li2ap
+li2ara
+li2ar
+li2as
+li2aso
+lia1sz
+li2asza
+li2asz
+li2asz
+li2aszf
+li2aszi
+li2a1t2
+li2a
+li2av
+li2az
+li3be
+lic3sz
+li2c
+li1cy
+li2de
+2li2deg
+li2dn
+li2dt
+2l1i2di
+2l1i2d
+li2ec
+lie2d
+2lien
+li2d
+li2k
+li2n
+li2v
+lif2l12v
+li2f
+li1fl
+li1f2r
+l2ig.
+2l1i2gaz
+lign1n
+li2ge.
+2l1i2geb
+2l1i2gek
+2l1i2gep
+li2gb
+li2gh
+li2gi
+li2gj
+li2gk
+li2gn
+li2gr
+li2gs
+li2gt
+li2gv
+li2gz
+li2hat
+2l1ihl
+2l1i2ker.
+2l1i2kerb
+lik2k1ell
+lik2k1elv
+lik2k1e2r
+lik2krd
+li1k2l
+2l1i2konc
+2l1i2konf
+2l1i2kong
+2l1i2konig
+2l1i2konk
+2likonl
+2l1i2konm
+2l1i2konp
+2l1i2kons
+li1kr
+2lill
+2lima.
+2limd
+li2mk
+li2mv
+l1imbo
+li2me.
+lime2r
+lim1p2
+2limpo
+lim1
+li2nakr
+li2nal
+lin1any
+lin1ar
+2linas.
+lin2cs12
+2l1indu
+li2ne.
+li2neg
+link2
+2l1inger
+lin1gr
+ling2rdi
+2l1ingr
+lin1ing
+lin1inj
+lin1kl
+lin3ny
+li2nor
+2l1integ
+2l1intz
+li2n1u2s
+li2n1ut
+2l1i2n
+li2oc
+lio2l
+li2oni
+li2ke
+li2raj
+li2
+li2d
+li2e
+li2f
+li2g
+li2m
+li2p
+li2pa.
+li2pai
+li2p1aj
+li2p12r
+li2pt
+li2peg
+lip1ele
+li2p1elv
+li2p1esz
+li2p
+li2p12
+li1pro
+2l1i2ram
+2l1i2rat
+2l1i2rn
+2l1irh
+li2rig
+li2rod
+2l1irr
+2l1irt
+li2sl
+li2s1el
+lise2s
+li2sid
+lis1isk
+2l1iskol
+l1ism
+lis1p2
+2l1isp
+2l1isten
+2l1istr
+li2s12t
+lis12v
+2l1iszl
+lisz2t12z
+li1sztir
+li2t1a2g
+2lital.
+li2tala
+lit1alk
+li2t1ta
+li2t1e2g
+li2t1e2l
+li2t1emb
+li2tez
+li2t1rd
+li2trte
+li2til
+lit1int
+li2t1i2o
+li2t1is
+li2t1okt
+li2t1old
+li2tn
+lit2
+li2t1r
+l1ittak
+l1ittas
+l1ittat
+li2t1ura
+li2t
+2l1i2vad
+li2vot
+l1i2v
+3lix.
+l1izl
+2l1i2zn
+2lizs
+l1izgu
+2l1izmo
+2lizz
+2l1izz
+1l
+l2g
+l2ja
+l2ju
+lma1
+2l1ns
+l12ny
+lnyenc1
+l1rd
+l1rh
+l1rj
+l1rl
+l2rod
+l2rog
+l2rok
+l2rom
+2l12r
+l1rs
+l12ru
+lts3s
+lta2
+lt2p3r
+2lv.
+lva1
+lvak2
+2l1z.
+2l12ze
+l2zi
+lzis3s
+2l1zl
+2l12z
+l12z
+l2j1a2da
+l2j1e2l
+l2j1er
+ljes1s
+ljharc1
+l2j1ip
+l2j1ir
+l2j1iz
+lj1r
+l2j1or
+l2j1os
+lj1pr
+lj1sp
+lj1z
+lka1sl
+lka2tel
+lka2t1
+lka2tin
+lka2t12
+lk2p1ell
+lk2szel
+lkia2k
+lki2
+l1k2lin
+lk2l
+l1k2lu
+lk2z1n.
+l1k2r
+lk2re
+l1k2rmb
+l1k2ri
+l1k2r
+lk2rom
+l1k2r
+lk1sh
+lkuksz1
+lk2va
+lk2v
+lk2v
+lla2dj
+lla1f2
+lla2g1ad
+lla2gal
+lla2g1a2s
+lla2gl
+lla2gen
+lla2gp
+llag3g
+lla2gol
+ll1a2ja
+ll1akad
+l2l1akc
+ll1a2kz
+l2l1akti
+l2l1a2lap
+l2l1alm
+lla2mad
+lla2mal
+lla2mem
+lla2ml
+lla2mor
+l2l1anal
+lla2nyer
+llany12
+lla2pal
+ll1aszf
+llata2l
+lla2tala
+llat1any
+lla2t1l
+lla2t1r.
+llatr1a2d
+lla2t1rb
+lla2ts
+lla2tint
+lla2t1olt
+l2latomo
+lla2tors
+lla2t1
+l2l1aty
+l2l1aut
+l2l12ga
+l2l1gb
+l2l1gg
+ll1gy.
+ll1gy
+l2l1llo
+l2l1lm
+ll2mag
+ll2m1al
+ll2m1e2
+ll2m1rt
+ll2mik
+ll2mis
+ll2m1ut
+lln2k1e2
+l2l12p
+llra2
+llr1ad
+ll2rak
+ll2r12
+ll2s1ikr
+ll2s
+ll2sza
+l2l1td
+l2l1tf
+l2l12ti
+l2l1tk
+ll1bl
+ll1br
+ll1cl
+ll1d2r
+l2l1e2dz
+ll1eff
+lle2ger
+lleg1g
+lle2gy
+lle2
+l2l1e2ks
+lle2l1a
+lle2lin
+l2l1ell
+l2l1e2la
+l2l1e2ld
+lle2m1a2
+lle2m1
+lle2m1e2g
+lle2mel
+ll1emel
+llem1ell
+lle2mer
+lle2m1l
+lle2m1r.
+lle2m1rt
+lle2m1o2
+lle2mu
+lle2na
+llen3n
+lle2n12r
+llens2
+lle2r1in
+l2l1e2r
+l2l1e2st
+ll1estr
+lle2tos
+l2l1e2vet
+l2l1ex
+ll12het
+l2l12jek
+ll2k1aps
+llk2
+ll2kr
+ll2k1ol
+ll2kos
+ll2k
+ll2k1t
+l2l12let.
+l2l12letb
+l2l12lete
+l2l12letn
+l2l12lett
+l2l12letk
+l2l1lt
+l2l1lv
+ll3nya
+ll1sp
+l2l12ter
+llt2o
+l2l1v.
+ll12vn
+ll1f2l
+ll1fr
+ll1g2r
+ll1ide
+l2l1i2ga
+l2l1ig
+ll1ill
+l2l1i2ma
+l2l1imp
+ll1ina.
+l2l1ind
+ll1inga
+l2l1ingf
+l2l1ingm
+l2l1ings
+lli2nin
+l2l1inv
+lli2p
+l2l1ipa2
+l2l1ir
+l2l1iro
+l2l1isi
+ll1isko
+l2lism
+l2l1iste
+lli2ta
+l2l1ita.
+l2lital
+l2l1iz
+ll1izma
+ll1izm
+l2l1i2zo
+l2l1g
+l2l1j
+l2l12v
+ll1k2l
+ll1k2r
+ll1kv
+l2l1o
+ll1obj
+l2l1off
+l2l1o2l
+ll1ope
+llos3s
+ll2
+ll1gr
+ll2
+ll2rk
+ll2rt
+ll2ri
+l2lvo
+l2l1b
+l2l1l
+ll1nt
+l2l1r
+ll1ss
+ll1sz
+l2l12z
+l2l1r.
+ll12rei
+l2l12r
+l2l1rt
+l2l12si
+l2l12ze.
+ll1p2l
+ll1p2r
+ll2si.
+ll1sk
+ll1sp
+lls3s
+llsz2
+ll1szt
+ll1tr
+ll1tri
+ll1tr
+ll1u2bo
+l2l1ug
+ll1ult
+llus1s
+l2l1u2t
+l2l1s
+l2l12to
+l2l1d
+l2l1g
+l2l1r
+l2l1t
+l2l1z
+l2l1z
+llv2d1e2l
+l2ly
+lly1
+l3lyw
+lma2kad
+lma1kr
+l2m1ant
+lma1tr
+l2m1att
+lm2l
+lm1lm
+lm1lo
+lm2nyan
+lm2ny1t
+lm2ris
+lm1tk
+lm1tt
+lm1bl
+lm1b2r
+lm1cl
+lm1dr
+lme3gon
+lme1kl
+lm1elb
+lm1e2li
+lm1elm
+lm1e2l
+l2m1ember
+l2m1enc
+l2m1eng
+lme2
+lm1epi
+lm1e2set
+l2m1essz
+l2m1etn
+l2m1et
+l2m1ex
+l2m1g
+l2m1lv
+l2m12neke
+l2m1p
+l2m1rt
+l2m1va
+lm1gl
+lm1gr
+lm1i2d
+lmi2g
+l2m1iga
+lmigaz1
+l2m1ind
+l2m1inf
+l2m1ing
+l2m1ins
+l2m1inte
+l2m1int
+l2m1inv
+l2m1i2p
+lm1ir
+lm1iro
+lm1isk
+lm1izz
+lm1g
+lm1r
+lm1z
+lm1kl
+lm1kr
+lm1old
+lm1olv
+l2m1o2p
+lm1ors
+l2m1ov
+l2m1d
+lm12r
+lm12k
+lm1n
+lm12r
+lm1s
+lm1t
+lm12z
+lm12r
+lm1p2l
+lm1p2r
+lm1sk
+lm1sl
+lm1sn
+lm1sp
+lm1st
+lm1sz2
+lm1t2r
+l2m1u2g
+l2m1u2r
+lm1ut
+l2m1j
+l2m1g
+l2m1nn
+l2m1z
+lnak2
+lna2p1e
+ln2ris
+ln2v1
+lni2ker
+lni2s1
+1lo
+lo2z
+lo2b1a2r
+2lob
+lo2b12c
+2lo2be
+lo2b1iv
+lo2b12
+2lobu
+lo1by
+lo2ch
+lo1cy
+lo2c
+lo2o
+lo2p
+lo2z
+lo2g1a2d
+lo2gal
+lo2g1l
+logs1s
+lo2ger
+lo2g
+lo2g1or
+lo2g
+lo1g2rf.
+lo1g2rff
+lo2g1
+lo2g
+lo2ir
+lo2kab
+lo2k1a2d
+lo2k1aj
+2l1o2kak
+lo2krb
+lo2k12ro
+lo2k1rr
+lo2k1ru
+lo2k1tj
+lo2ku
+lo2k1e2
+lo2kk
+lo2kid
+lok1is
+lo2k1i2z
+lo2k
+lokka2l
+lok2k1ala
+lok2k1el
+lok2k12
+lok2ks
+lok2k1ut
+lo2k1ol
+lo2konk
+lo2kor
+2l1o2koz
+lo2k
+lo2laj
+2l1old
+2l1o2li
+2l1oll
+2l1oltr
+lom1ad
+lom1aga
+lo2m1ajt
+lom1aka
+lom1a2lap
+lom1a2lo
+lom1ar
+lom1ass
+lo2m1att
+lo2maz
+lom1cs
+lo2mg
+lo2m1l
+lo2m1r
+lom1ri
+lom1rk
+lo2m1rn
+lo2m12ro
+lomba2l
+lom2bala
+lom2bav
+lo2med
+lo2meg
+lo2men
+lom1erk
+lom1er
+lo2m1es
+lo2md
+lo2mk
+lo2ml
+lom12ne
+lo2m1ri
+lo2m1i2d
+lo2m1i2k
+lo2m1im
+lo2mink
+lom1int
+lomi2s
+lom1isz
+lo2miz
+lo2m12
+l1oml
+lo2m1okoz
+lo2mol
+lo2m1o2r
+lo2m1osz
+lom1ott
+lo2m12
+lo2m
+lo2m
+lom1p2l
+lo2m
+lo2m
+lo2nab
+lo2n1a2d
+lo2n1a2g
+lo2naj
+lo2nak
+lo2n1a2l
+lo2n1ar
+lo2n1as
+lo2n1au
+lo2n1av
+lo2n12z
+lon2ch
+lon2cil
+lon2d12
+lo2n1e
+lo2n1ir
+lon1k2
+lo2nol
+lo2n12
+lo2n
+lon1s2
+lon1tr
+lo2n
+lo2oi
+lo2oj
+lo2or
+lo2s
+lo2pap
+lop1l
+lo2pe
+lop1e2l
+lo2piz
+lo2p
+lo2p1o2r
+lo2p1osz
+lo2p
+lop2p1in
+lop1t2
+2l1opti
+lo2p
+lor2din
+lore2t
+2l1org
+2l1orm
+2lorn
+2l1ors
+2l1orv
+2l1orz
+l2os.
+l2osa
+l2osb
+lo2se
+lo2s
+2lottl
+lo2x
+lo2xi
+1l
+la2d
+l2r
+l1bl
+l1br
+lc3c
+l2cem
+l2ch
+lcsa2p12g
+2l12dt
+l1dro
+lf2l12v
+lfi2k
+l1fl
+lg1g
+l2g
+l1gr
+l2v
+l1k2l
+l1kr
+l2nar
+2l12ni.
+2lnn
+2lno
+2lnr
+2lnt
+lprba2
+l1p2l
+l1p2r
+l2rac
+lr1ada
+lr1a2la
+lra2n
+lr1any
+l2rar
+2lri
+2lrj
+l2rmr
+2lrr
+2lrt
+l2rem
+l2r1e2s
+l2r1r
+l2r1ing
+lr1ism
+l2r
+lr1old
+l2r
+l2s1aj
+lsa2n
+ls1any
+l1ski
+l1sla
+l1spe
+l1s2po
+l1s2r
+ls3s
+l1s2ta
+l1str
+l1sz
+l1t2r
+l1tre
+l1tr
+l1tri
+l1tro
+2lvod
+l12v
+l2zad
+l2z1a2k
+l2zal
+lza2n
+lz1any
+lza2t1e
+l2zl
+l2z1es
+l2zim
+l2z1ir
+lz1isk
+lz1ism
+l2zolv
+l2z
+l2z
+l2z1
+1l
+l2b
+l2ca
+lc3c
+l2ch
+l2c
+2l12d
+l2ka
+l2k
+l2ko
+l1ld
+ll2t1a
+ll2t
+2l1lts
+l1lthe
+ll2to
+l1ltt
+l1ltz
+l1lt
+2l1ml
+l2ml
+l2na
+l2n
+ln2b1kt
+l2ne
+l2n
+l2n1o
+l2n
+l2nu
+l2n
+l2pa
+l2p
+l2pe
+l2pl
+lp2
+l2p1l
+l2p1l
+l2re
+l2r
+ls3sz
+2lssze
+l2s
+l2sze
+l2szis
+2l1tl
+lt2ter
+2l1tv
+2l1v.
+2l1vb
+l12ve.
+l12vez
+2l1vh
+2l1vn
+l12vn
+2l1vr
+l12vk
+2l1vv
+1l
+la2c
+la2n
+l2g
+l1bl
+l1br
+l2dad
+l2d
+2lde.
+2ldei
+l2del
+l2d1k
+l2din
+l2d1iv
+2ldje.
+2ldjt
+ldkz1
+2ldke
+2ldkn
+2ldkr
+2ldt.
+l2d3ze
+le2l
+le2s
+2les
+l1fl
+l1f2r
+lgpi2
+lg2p1ip
+l1gyel
+2lh
+li2ta
+2lt
+2lkse
+l1kl
+lko2r1t
+l1kv
+2llege
+2lnn
+2lny.
+l2nyal
+l2nyr
+2lnyb
+2lnye.
+2lnyei
+l2ny1elvi
+2lnyb
+2lnyn
+2lnyr
+2lnyt
+2lnyv
+2lnyh
+2lnyk
+2lnyn
+2lny
+2lnyr
+2lnyt
+2lny
+lr2s12g
+2lpn
+l1pl
+l1pr
+l1ps
+2lreh
+2lrej
+lre3m
+2lret
+2lrb
+l2r1is
+l2rl
+2l1rz
+l2sl
+l2sin
+l1s2ka
+l1sk
+l1sla
+ls2
+l2sr
+l2s1t
+l2s
+l1s2pi
+l1spr
+l1sr
+ls3s
+ls2tar
+l1str
+l1sy
+lsz2
+ls3zra
+ls3zrr
+l1szf
+l12szt
+l1szt
+2ltt.
+2ltol
+l1tre
+lu2t
+l2l
+2lvig
+2l12zt
+2lzi
+2lzl
+2lzm
+2l12zk
+lp1a2lag
+l2p1a2lap
+l2p1alt
+l2p1a2lv
+l2p1alk
+lpanto1
+l2p1any
+l2p1ll
+l2p1tm
+l2p1ts
+lpcsa2p1
+l2p1eg
+lp1e2lu
+l2p1e2m
+lpen1n
+l2p1e2r
+l2p1g
+lp2l
+l2p1le
+lp2r
+l2p1ri
+l2p1i2d
+l2p1i2na
+lp1izm
+lp1i2zo
+l2p1v
+l1p2l
+l2p1old
+lpo2n
+lpon1
+lp1p2r
+l1prd
+l1p2ri
+l1p2ro
+l1p2rb
+lpu2s
+lp1uszo
+lr2k1e
+lrei2
+lre1p2r
+lre1sz
+lre2
+lsa2v1a2m
+lsg3g
+ls1eprik
+ls2ho
+ls2ka
+ls2k
+ls2ki
+ls2la
+ls2l
+ls2li
+ls2ma
+ls2mi
+lsors1s
+ls2r
+ls1sz2
+l1s2pa
+l1s2pe
+l1s2p
+l1s2pi
+l1s2po
+l1s2p
+l1sp2r
+l1s2r
+l1s2r
+l1s2ta
+ls2t
+lste2i
+l1s2ti
+l1s2t
+l1s2to
+l1st2r
+l1s2tu
+l1s2t
+lsza2k
+lsza2k1
+lsz2r
+l2sz1e2g
+l1sz2f
+l1sz2l
+l1sz2p
+lszt2
+lsz2t
+l1sztr
+l1sz2v
+lta2gy
+lt1aj
+lta2lapb
+lta2l12s
+lta2l12z
+lta2len
+lta2l1ev
+lta2l12
+lta2liz
+ltal1l
+lta2l
+l2t1amp
+l2t1apr
+lt1ar
+l2t1arc
+lta2ri
+lt1assz
+lt1aszt
+l2t1a2u
+lt1azo
+lt1g.
+lt12ga
+lt1gb
+lt1gg
+lt1gn
+lt1gr
+l2t1ll
+ltna2
+lt2nan
+lt2rada
+ltr2s1g
+lt1rur
+lt2s12g
+lt2tal
+l2t1tr
+lt1bl
+lt1br
+l2t1ell
+l2t1el
+l2t1emu
+lte2rad
+l2t1e2reik
+l2t1er
+l2teru
+lte2t1a2
+lte2tk
+l2t1kn
+lt2l
+lt1le
+lt1lm
+lt1rc
+l2t1rz
+lt2sa
+lt2s12g
+lts3s
+lt2t12
+lt2ves.
+lt1fl
+lt1gl
+lt1gr
+lt1ide
+ltig2
+l2t1i2g
+lti1kl
+l2t1ill
+lt1imp
+l2t1ind
+l2t1ing
+l2t1i2o
+l2t1isi
+lt1ism
+l2t1ist
+l2t1i2ta
+l2t1n
+l2t12r
+lt1t
+l2t12v
+ltv1e2l
+l2t12z
+lt1kr
+l2t1oml
+l2t1ord
+l2t1org
+l2t1orj
+l2t1orr
+lt1ors
+ltos3s
+l2t1o2x
+lt1p
+lt1s2p
+lt1sz
+ltt2
+lt2l
+l2t1l
+lt1nt
+lt1ss
+lta2
+lte2l
+lt12r
+lt1pl
+lt1pr
+ltra1s
+lt2rg
+lt2rn
+lt2rik
+lt2ril
+lt2rf
+l1t2rn
+lt2rp
+lts2g1el
+lt1sl
+lt1sp
+lt1st
+lt1t2r
+l2t1udv
+l2t1una
+ltu2n1i
+lt1ura
+ltu2sze
+l2t1u2t
+lt2ri
+l2t1g
+lt12l
+lt1st
+l2t12v
+lt12zem
+1lu
+lua2g
+lu2r
+lu2b1a2d
+lu2bal
+luba2n
+lu2b1as
+lu2br
+lu2b1e2g
+lube2r
+lu2bes
+lu2bl
+lu2b1in
+lub2
+lu2br
+lu2b
+lub1t2
+lu2b
+2ludj
+2ludv
+lu1dy
+lue2l
+lu2es
+lugas1s
+lu2gat
+lu1g2l
+2l1u2gor
+2l1ugr
+lui2r
+2l1ujj
+lu1kl
+lu2k1os
+lu2k1o2v
+lu2l1inf
+lu2l
+2lulr
+lu2mad
+lu2maz
+lu2ml
+lumen1n
+lu2mer
+lu2mes
+lu2m1i2k
+lu2m1ip
+2lum
+lum2pel
+2lund
+l1unh
+2l1u2ni
+l1unj
+l1unl
+l1unn
+l1u2no
+l1u2n
+l1unv
+lu2rak
+lu2ram
+lu2rat
+2l1u2ru
+2l1u2r
+lu2sad
+lu2s1aka
+lu2sakr
+lu2sal
+lu2s1a2n
+lu2s1g
+lu2sl
+lu2s1e2r
+lu2s1rt
+lu2sim
+lu2sis
+lu2sr
+lusksz1
+lu2s12
+lus2
+lu2sr
+lu2s
+lus3sze
+lus3szi
+lust2
+2lutnz
+2l1utc
+lu1t2h
+lu2td
+lu1tra
+lu2zs
+1l
+l2d1a
+l2d
+l2de
+l2dt
+l2d3z
+l2ga
+l2g1
+l2ge
+lg3g
+l2gi
+l2gol
+2l1jd
+2l12j
+l2ju
+l2ri
+l2ru
+l2r
+2l12sz
+l2t.
+2l1tv
+l2z1a2n
+1l
+l2cs
+l2d
+l2d
+l2ge
+l2gy
+l2l
+l1ld
+l2lel
+l2l1e2m
+l1lep
+l2l
+ll1r
+2l1ls
+2l1lhet.
+2l1lhetne
+2l1lhets
+l2l
+2l1ljek
+2l1lnek
+2l1lnk
+2l1lni
+2l12l
+2l12l
+2l1lsz.
+2l1lt.
+l1lte.
+2l1ltek
+2l1ltem
+2l1ltes
+2l1ltet.
+2l1ltete
+2l1lteti
+2l1ltetj
+2lltetl
+2l1ltetn
+2lltets
+2l1ltett
+2l1ltet
+2l1ltetv
+2llt
+l1lti
+l1ltk
+l1ltl
+l1ltn
+l1ltr
+l1ltt
+l1ltn
+2l1lt
+l2l
+l2l
+2l1ln
+2l1lve.
+2l1nn
+l2re
+l2r
+l2r
+l2sz
+l2te
+l2t
+l2ti
+l2t
+l2t
+l2t
+l2ve
+l2v
+l2ze
+l2z
+1l
+l2r
+2l1rb
+2l12ri
+l1rl
+l2ze
+l2z
+l2zi
+l2z
+l2z
+l2z
+lva2dat
+l2v1adm
+lvaj1ak
+lva2j1e
+lv1akad
+l2v1akc
+l2v1a2la
+l2v1alg
+l2v1alk
+l2v1ant
+l2v1a2ny
+l2v1a2rs
+l2v1a2z
+lv2gy1n
+l2v1llat
+l2v1llt
+l2v1p
+lv2rain
+l2v12rak.
+lv2ras
+lv2rr
+l2v1rny
+lv2rol
+l2v12rul
+lvs3s
+lv2szi
+lv1ta
+lv1th
+lv1tk
+lv1br
+l2v1e2dz
+lv1egys
+lv1egyv
+lv1e2kb
+l2ve2leme
+l2v1elk
+l2v1ell
+l2v1er
+l2v1ex
+l2v12gs
+lv2gl
+l2v1lm
+l2v12neke
+l2v1p
+lv2ri.
+l2vrtel
+l2v1rt
+l2v12r
+l2vrzsi
+lv2sza
+lv1fr
+l2v1i2de
+l2v1i2do
+l2v1iga
+lv1iko
+l2v1i2m
+lv1int
+lv1i2pa
+l2v1iro
+l2v1irt
+l2v1isko
+l2v1ism
+l2v1izm
+l2v1izo
+l2v12ve
+lvze2
+lvz1es
+lv1kl
+lv1kr
+l2v1ok
+l2v1old
+l2v1olv
+l2v1onto
+l2v1op
+l2v1or
+l2v1os
+lv1d
+lv2l
+l2v1l
+l2v1lt
+l2v1n
+l2v1s
+l2v1v
+l2v12z
+lv12r
+lv1s
+lv1pr
+lv1ps
+lv1sp
+lv1st
+l2v1ut
+lv1j
+l2v1g
+l2v1t
+l2y
+1lya
+lya2dat
+2ly1adm
+2ly1a2d
+2lyagy.
+2lyagyr
+2lyajt
+2ly1a2kas
+ly1akc
+2ly1akn
+2lyaks
+2lyakt
+ly1a2lat
+2ly1alb
+2ly1alk
+2ly1alm
+ly1a2lom
+ly1alt
+lya2maj
+lya2mar
+lya2m1el
+lya2mem
+lya2m1rt
+2lyang
+2lyani
+lya2nyag
+ly1a2ny
+ly1a2pn
+lya1p2r
+2ly1arc
+lya2sal
+ly1aspe
+ly1assz
+2ly1atl
+lya1t2r
+2lyaty
+2lyazo
+1ly
+2lyb
+2lybr
+2ly1g
+ly1ld
+ly1ll
+2ly1p
+2ly12rad
+2ly12rak
+2ly12ram
+2ly12rat
+ly1rk
+2ly1rn
+2ly1rr
+2ly12ru
+lys3s
+ly2sz
+2lyta
+2lytf
+2lyth
+2lytl
+2lytl
+2lytm
+2lyts
+2lytt
+2lytv
+ly1bl
+ly1br
+ly1dr
+1lye
+lye2ga
+ly1e2gye
+lyegyez1
+ly1ej
+2lyeke.
+2lyekek
+2ly1e2kb
+2ly1e2kr
+ly1e2le
+ly1elf
+ly1elh
+ly1ell
+ly1elm
+ly1e2l
+ly1elr
+ly1els
+ly1elt
+ly1el
+ly1elv
+ly1elz
+lye2m1a
+2lyember
+2ly1e2mel
+lye2min
+2lyeml
+2ly1eng
+ly1erk
+ly1e2r
+2ly1esd
+2ly1esem
+2ly1e2sete
+2lyeset
+2ly1e2sett
+2lyesl
+2ly1e2ss
+2ly1este
+2lyeszk
+2lyeszm
+2lyesz
+2lyetet
+2lyev
+2ly1ex
+1ly
+2ly1g
+2lyhe.
+2lyhen
+2lyhet
+ly2l
+ly1le
+ly1lm
+2lyneke
+2ly1p
+2ly1r.
+2ly1rc
+2ly1rd
+2ly12r
+2ly1rm
+2lyr.
+2lyri
+2lyrk
+2ly1rr
+2ly1rte
+2ly1rt
+2ly12r
+2ly1rv
+2ly1rz
+ly1sz
+2ly1tt
+2lyv.
+2lyve.
+2lyvei
+2lyvek
+2lyven
+2lyvet
+2lyvv
+2lyvi
+2lyvr
+2lyvv
+ly1fl
+lyf1lt
+ly1gl
+ly1gr
+1lyi
+2lyibo
+2lyide
+2lyideg
+2lyiden
+2lyidi
+2ly1ido
+2lyid
+lyi2h
+lyi2g
+2lyiga
+2lyig
+2ly1ige
+2ly1ig
+2ly1iha
+2ly1ill
+ly1ima
+2lyim
+2lyimp
+2lyind
+2lyinf
+2ly1ing
+2ly1ini
+2ly1int
+2lyinv
+2ly1i2p
+ly1i2rat
+2lyir
+2lyiri
+2ly1iro
+2lyirr
+2lyirt
+2ly1isk
+2lyism
+2lyisp
+2lyist
+2ly1ita
+2lyivad
+2ly1i2z
+1ly
+2ly1g
+2ly1n
+2ly12r
+ly1v
+ly2kiz
+ly1kl
+ly1kr
+1lyn.
+1lyo
+2ly1ob
+2lyod
+2ly1of
+2lyokal
+2ly1okl
+2lyokm
+2lyokoz
+2lyokta
+lyo2l
+ly1ola
+ly1old
+ly1oll
+ly1olt
+ly1olv
+lyo2m1as
+2ly1op
+2ly1o2r
+2ly1osz
+2ly1ott
+1ly
+ly1d
+ly2s1
+1ly
+2ly1b
+2ly12l
+2ly12r
+ly1ss
+2ly1v
+1ly
+ly12r
+ly1pl
+ly1pr
+lyrdi2
+lyre1p
+1lys.
+ly1sk
+ly1sp
+lys2t
+lysz2m1
+ly2tac
+ly1t2r
+1lyu
+2ly1ud
+2lyugr
+2ly1uh
+2ly1uj
+lyu2ks
+2lyuni
+2ly1u2r
+2ly1u2t
+1ly
+2lyjs
+2ly1r.
+2lyth
+2lytr
+2lytt
+2lytv
+1ly
+2ly1d
+2ly1g
+2lynn
+2ly1r
+2ly12v
+2ly1z
+1ly
+2ly1r.
+2ly1rh
+2ly1rl
+1lywo
+lyze2t1el
+lzs1s
+lze2ta
+lze2t1e2l
+lze2t1r.
+lz2sa
+lza2
+lze2
+lz2s1orr
+lzus3s
+lzu2s3z
+2m.
+1ma
+maa2d
+ma1bra
+2m1abs
+ma2cl.
+ma2clb
+ma2clt
+2madag
+2m1adap
+ma2datb
+ma2dato
+ma2datt
+mads1s
+ma2d12v
+madksz1
+ma2dz
+3m2a3dz
+mae2r
+ma2r
+ma1f2ra
+ma1fri
+ma2gac
+ma2g1a2dato
+ma2g1a2d
+ma2g1a2d
+ma2g1a2du
+maga2l
+mag1ala
+ma2ga2n
+mag1any
+maga2r
+mag1ara
+ma2g1asza
+mag1azo
+ma2gg
+mag1ll
+mag12r
+mag1rn
+mag1rr
+mag1rt
+mag1ta
+ma2g1to
+ma2geb
+ma2g1el
+2m1aggr
+ma2gid
+ma2g1i2k
+ma2g1
+magkia3d
+ma2g1or
+ma2g1osz
+mag1ra
+ma2g1v
+ma2g1u2r
+ma2g12
+2m1agy.
+2m1agyb
+2m1a2gyu
+m1ahh
+ma2il.
+ma2ilt
+mai2z
+2m1ajta
+maj2ti
+ma2kar
+ma2kc
+2m1akc
+mak2k1e2
+2m1akku
+ma1klu
+2m1a2kol.
+ma1k2rm
+ma1k2ri
+2makro
+m1akti
+ma2kus
+malac3h
+mala2c3s
+2malag
+mala2g1
+ma2laku
+2m1alakz
+2m1a2lan
+2m1a2lap
+malasz2t1a
+2m1alb
+2m1alc
+2m1ald
+2malg
+m1algo
+2m1alj
+2m1alk
+malo2m1e
+mal1os
+m1alr
+m1alt.
+mal1th
+2m1a2lu
+2malv
+2m1amp
+2m1a2nal
+ma2nat
+2man
+ma2n1eg
+2m1angi
+2m1anto
+2m1antr
+2m1a2nya.
+ma2nyag
+2m1a2ny
+2m1a2ny
+mao2k
+ma2pa.
+ma2pas
+2m1a2pt
+ma1p2l
+ma1p2re
+ma1p2r
+ma1p2ri
+ma1p2ro
+2m1aps
+2m1a2rny
+2m1arb
+2m1arc.
+2m1arcc
+2m1arch
+mar1cko
+2m1arcu
+2m1arc
+2m1a2rn
+ma2r1i2si
+mar2k1al
+mar2k1in
+mar2k1n
+mar2k12r
+2marm
+maro2k1
+ma2rom
+maros1s
+mark2
+mar1kh
+mar1kk
+mar1kn
+mar1kr
+ma1ry
+2m1arz
+ma1s2k
+ma1s2pe
+ma1spr
+ma1s2r
+mast2
+ma1s2ta
+ma1ste
+ma1str
+masz1egy
+masz1e2me
+ma2sz1t
+ma2szv
+ma2szis
+masz2v
+masz1ve
+masz1s
+mat1ada
+mat1alap
+mat1anya
+ma2taz
+ma2tg
+mat2raka
+ma2t12ras
+mat12rr
+ma2t1rn
+ma2t12r
+ma2t1z
+ma2t1e2g
+mat1eli
+ma2t1ell
+mat1el
+mat1elt
+ma2t1eme
+mate2s
+ma2tl
+ma2t1rte
+matf2
+matfl1
+matfl2
+ma2tid
+ma2t1ind
+ma2t1inf
+ma2t1ing
+ma2t1int
+ma2t1r
+ma1t2ran
+mat2rg
+mat2tin
+ma2t1ut
+2m1a2tya
+ma2ty
+2m1a2uk
+mau2ra
+ma2uri
+ma2us
+mau2ta
+2m1a2uto
+2m1a2vat
+ma2z1a2l
+ma2zl
+ma2z1tl
+ma2zel
+mazksz1
+ma2z3s
+1m
+2m12b
+2m1br
+m2cs1as
+m2cs1e2
+m2csin
+m2csir
+m2csis
+m2cs
+m2cs
+m2f
+2m1g.
+2m12ga
+2m12g
+2m1gb
+2m12g
+2m1gg
+m2gi.
+2m12gig
+2m1gk
+m1gna
+2mgo
+2mg
+2m1gr
+m2guk
+m2gun
+2m12g
+2m12gy
+mgya2d
+mgy1ada
+m2h
+m2jan
+m2j1rt
+m2j1e2
+mjo2
+m2j1ol
+mjren2
+m2j1ul
+m2j
+mka2
+m2k1al
+m2kar
+m2k1e2
+m2k1r.
+m2kil
+m2k1
+m2k
+m2k1
+m2l1a2l
+2m1lar
+m2ll
+2m1lc
+m2l1e2
+ml1rt
+2m1llam
+m1llap
+m1llat
+2m1ll
+m1llom
+2m1lma
+2m1lmo
+m2los
+m2m1as
+2m12m
+mna2
+m2n1as
+m2nav
+m2nr
+mnc1c
+mn2ce
+mn2c1g
+mn2cs
+m2n1e
+m2n1in
+m2nis
+m2n1it
+m2n12
+m2n
+mns3s
+mn2tac
+mn2tag
+mn2t1al
+mn2t1as
+mnt2
+mn2t1k
+mn2t1l
+m2n
+m2n
+m2ny1a2d
+m2ny1a2g
+m2nyaj
+m2ny1aka
+m2ny1a2l
+mnya2n
+m2nyany
+m2nyap
+m2nyar
+m2nyau
+m2nyav
+m2nyaz
+m2ny1e2
+m2ny1r.
+m2nyrd
+m2nyrz
+m2ny12
+m2ny12
+m2ny
+m2po
+2m12rad
+m2r1a2g
+2mram
+m2r1a2n
+m2ras
+mr1ass
+2m12rat
+m2r1au
+m2r1l
+m2re2
+mr1em
+m2rs
+m2r1id
+m2r1ik
+m2r1i2p
+m2r1i2si
+mr1isk
+mr1ist
+m2r
+2mrkok
+2mrol
+m2r
+m2r
+m2rug
+m12ruh
+m2ruk
+m1rur
+m2r
+m2s1a2d
+m2sal
+m2sap
+m2s1a2r
+m2s1av
+m2saz
+m2s12r
+m2s1rn
+m2ss
+2m1ss
+2m1ssn
+2m1ssr
+msbe2j1
+msbej2
+m2s1e2
+m2sr
+m2sor
+2m12s
+m2s
+m2s
+mst2
+ms1tr
+m2s12
+ms3zav
+2m12ta
+mt1a2k
+2m12t
+2m1tc
+2m1td
+mte2
+m2ten
+2mt
+2m1tf
+2m1tg
+2m1th
+2m12tir
+2m12t
+m1tj
+2m1tl
+2m1tn
+m2t1ol
+2m12t1
+2m1tp
+2m1tre
+2m1ts
+2m1tte
+2m12t
+2m12t
+2m1tv
+m2zal
+m2ze
+mzi2a
+mzi2
+m2z1i2s
+m2z
+m2zsal
+mzs1e
+mz3sz
+mb1akc
+m2b1akk
+mba1k2r
+mb1akv
+m2b1a2lag
+m2b1alj
+m2b1alk
+m2b1a2na
+m2b1a2nya
+mba1p
+mb1a2var
+mb1a2zo
+mb12gy
+m2b1ll
+m2b12ron
+m2b1rr
+mb2szv
+m2b1szn
+m2b12szoka
+m2b12szokk
+m2b12szoko
+m2b12szokr
+m2b1ta
+m2b1th
+mbe2
+mb1e2ce
+mbe1k2
+mbe2led
+mb1e2leg
+m2b1ell
+mb1elr
+mb1elsz
+mb1epe
+mbe2r1a2g
+mbe2ral
+mbe2ran
+mbe2ras
+mbe2r
+mbe2reg
+mbere2sz
+mber1esz
+mbe2rev
+mbe2r1l
+mbe2r12s
+mbe2rim
+mbe2ring
+mbe2risz
+mbe2rol
+mbe2ros
+mbert2
+mbe2r1
+m2b12g
+mb12ke
+m2b1k
+m2b1p
+mb2ress
+m2b1rt
+m2b1rz
+mb1gr
+m2b1ide
+mbi2k1al
+mbi2ke
+m2b1illa
+m2b1i2na.
+m2b1i2nai
+m2binam
+mb1ind
+m2b1inf
+m2b1ing.
+mb1inv
+m2b1ipa
+m2b1izm
+mb1i2zom
+m2b1izz
+m2b1v
+mb1z
+mb1kl
+m1b2l
+mb1ly
+m2b1ob
+mb1olda
+mbo2lyak
+mb1ond
+m2b1op
+m2b1orm
+m2b1orm
+m2b1o2roz
+m2b1oszl
+mb1le
+m2b1v
+mb12si
+m2b12sz
+mb1pl
+mb1pr
+mbrdi2
+mb2rev
+mb2rok
+mb2ron
+mb1sp
+mb1st2
+mb1sz
+mb1tr
+mbu2sze
+mbu2sz
+m2b1u2t
+mb1j
+m2b1g
+m2b1l
+m2b1s
+m2b1t
+m2b1z
+mbvez2
+mc2lu
+mcsa2p12g
+mda1b2
+mda1g2
+mda1p2
+mdi2ale
+mdi3ap
+md2ra
+md2r
+md2ro
+md2r
+1me
+mea2l
+mea2n
+me2av
+me2bd
+mede2r1e2
+2medny
+me1d2r
+2m1e2dz
+mee2s
+me2et
+2m1eff
+me2gaba
+me2g1ala
+me2g1alu
+me2g1alv
+me2g1an
+me2g1a2r
+mega1sz2
+me2gav
+me2g1
+me3gm
+meg2s
+meg2t
+meg2z
+me2g1eg
+me2g1el
+mege2le
+mege2l
+me2ger
+me2g1esem
+meg1eszt
+me2geta
+me2g1e2te
+me2gez
+me2g12l
+megs3s
+megsz1
+meg1f
+megg2
+meg1gr
+me2gi
+meg1ig
+meg1inn
+meg1ir
+meg1is
+meg1itt
+me2g1
+me2g1o
+me2g12
+me2g12
+me2gr
+me2g1u2
+me2g
+me2g12g
+me2g12l
+2megyez
+2m1egyh
+2m1egyl
+2m1egys
+2megyt
+me2het
+mei2r
+me2k1ad
+me2k1ag
+mek1alk
+me2k1am
+mek1arc
+me2k1a2s
+me2k1att
+me2k12l
+me2k12p
+me2k1r.
+me2k1ra
+me2kt
+mek1egy
+mek1ell
+me2kep
+me2k1ers
+meke2sz
+me2k1esze
+me2keszm
+mek1eszte
+me2kev
+me2k1k
+me2kl
+me2k1r.
+mek1rde
+me2k1rk
+me2k1rte
+me2k1rt
+me2k1ss
+me2k1te
+me2kido
+me2kij
+mek1im
+me2k1ing
+me2k1int
+me2k1i2p
+me2k1ist
+me2k1ita
+me2kr
+me2kt
+mek1k2
+mek3lu
+me2kob
+me2k1ok
+me2k1old
+me2k1olt
+me2k1onk
+me2kop
+meko2r
+mek1ora
+mek1oro
+mek1ort
+me2k1os
+mek1ott
+me2k12v
+mek1lt
+me2kn
+mek1rm
+me2k1t
+me2k1
+mek1s
+meksz2
+mek1t2
+me2kuj
+me2kun
+me2kur
+me2k12
+me2kd
+me2k1g
+me2k1ld
+me2k12l
+me2k12l
+me2kz
+m1elad
+mel1ak
+me2lg
+me2ll
+2melb
+2m1e2lef
+me2lekt
+mel1e2l
+2m1e2leme
+2m1e2lemz
+2m1e2les
+2melet
+mele2t1r.
+2m1e2lg
+2m1e2l12l
+2m1e2l1r
+mels3s
+2m1elf
+2m1elgo
+m1elha
+2m1elh
+2m1elhel
+me2lit.
+2me2l12
+2m1elj
+2melk
+m1elk
+m1elk
+m1elk
+mel2ll
+m1ellene
+mel2ler
+mel2l1r.
+mel2ling
+mel2l1iz
+mel2lo
+mel2l
+mel2l1u2
+2m1elm
+2m1eln
+me2los
+m1elde
+2m1e2l
+m1e2lle
+m1e2ltt
+2melz
+me2lz
+2m1elr
+2m1elsz
+2m1elta
+2m1elt
+m1elter
+2m1eltett.
+2m1eltettn
+2m1eltr
+2m1elti
+2melty
+2m1elv.
+2m1elv
+2m1elves
+2m1elvn
+2m1elvo
+me2ly1k
+2m1elz
+2m1eml
+2m1e2mul
+me2n1a2d
+me2nal
+me2nar
+me2nau
+me2nt
+me2n1e2g
+me2n1el
+me2ner
+mene2t12
+mene2t
+mens3s
+2m1enges
+me2nil
+me2n1ip
+me2n
+me2n
+men2s12g
+men2t1ell
+men2tip
+men2t1is
+me2n1u
+me2n
+me2nya
+menye2ma
+me2om
+me2e
+me1p2h
+me2pik
+me2pos
+me1p2r
+mera1p2
+mer1ass
+2merd
+2m1e2rec
+2meredm
+mer1egy
+2m1e2rej
+me2r1e2l
+me2r1eml
+mere2t1a
+mere2t1e2l
+mere2t1r.
+2merezkh
+me2r1p
+me2r1il
+me2rim
+mer1inf
+mer1ing
+me2r1ip
+2merny
+me2r1ol
+me2ror
+me2r1os
+me2rov
+2merl
+2mers
+mers2
+mer1st
+mer1tr
+me2r12g
+me2sas
+me2s1emb
+2m1esemn
+mese1s
+2meset
+2m1e2sett
+2mesly
+2m1e2ss
+2m1e2ssh
+2messk
+2messr
+2messs
+2messt
+2m1e2s
+me1s2po
+2m1estb
+2m1este.
+2m1estek
+2m1est
+2m1estf
+me1s2t
+2m1estr
+2m1estn
+me2szan
+2meszem
+me1sz2t
+met1anya
+meta1s
+metasz2
+me2t1e2gy
+met1ell
+2m1e2tet
+met1ing
+me2tr
+me2t
+me2td
+2m1e2ug
+me2uk
+meus3s
+meu2t
+me2v
+me2zac
+me2z1aj
+meza2k
+me2zau
+me2zl
+me2zed
+me2zeg
+me2z1elj
+me2z1ell
+me2zelh
+me2zer
+mez1ere
+me2z1k
+me2z1r.
+me2z1rd
+mez1ret
+me2z12ri
+me2z1id
+me2zim
+me2zin
+me2zio
+me2zr
+me2z1ol
+me2z1or
+me2z1
+meze2
+me2z12r
+me2z1ss
+2mezrem
+m1ezrese
+m1ezresr
+m1ezrest
+me2z3sa
+me2zs
+me2zs
+me2zu
+me2z
+1m
+m2ber
+2m1br
+m2cs1a2
+m2cso
+m2g1a
+m2ge
+mg1eg
+m2g
+m2gi
+mg1is
+m2g1o2
+m2g
+m2g
+m2h1a2
+m2h1
+m2heg
+m2hel
+m2hir
+m2h1is
+m2h1or
+m2h
+mhren2
+2mhs
+2m1j.
+2m1jb
+m2jes
+2m1js
+mka2
+m2k1ad
+m2k1aj
+m2k1ak
+m2k1al
+m2k1an
+m2kar
+m2kaz
+m2k12
+m2k1e2g
+mk1elh
+mk1ell
+mk1e2l
+m2k1ese
+m2kev
+m2kez
+m2k12k
+m2k12l
+m2kid
+m2kir
+m2k
+m2k1o
+m2k1
+m2k
+m2k1u2
+m2k1
+m2le.
+2m12lel
+m2les
+m2lez
+2m12ln
+2m1lm
+m2lya
+m2ly
+m2lyeg
+m2ly1
+m2n1a2r
+m2n1a2t
+2mnekb
+2mnekh
+2mnekl
+m2n1el
+m2n12k
+m2n1s
+m2nid
+m2nin
+m2n1is
+m2niv
+mnt2
+m2ny1e2g
+m2ny1e2l
+m2nyer
+m2nyk
+m2nyim
+m2nyr
+m2ny1o
+m2ny
+m2ny
+mny2l
+m2ny1l
+m2p
+m2p
+2m1rc.
+2m12retts
+2m12rn
+m2rr
+mrs1s
+2m12rv
+2m12rie
+2m12rin
+2m1rk
+2m1rlel
+m2r1n
+2mrteke
+2m1rtes
+2m1rtr
+2m1rts
+2m12rl
+mr2v1a2
+2m1rz
+m2s1a2
+m2s12
+m2s1e2l
+m2s1er
+m2sez
+m2sin
+m2s
+ms3sza
+msza2
+msz1al
+m2sz1l
+m2sz12ra
+m2szed
+m2sz1el
+2mszl
+m2sz1
+msz3s
+2mszt
+2mszth
+2mszti
+2msztj
+2msztl
+2mszt
+2msztv
+m2sz12
+m2t1ad
+m2t1ak
+m2t1a2n
+mt1rt
+mt1elho
+mt1elta
+m2t1e2v
+m2tg
+2m1tje
+2m1tjr
+2m1tjv
+2m1tj
+2m1tke.
+m2t1o
+m2t
+mt2
+m2tr
+m2t1u
+m2t1
+2m1v.
+2m1vb
+2m12ve.
+2mvei
+2m12vek
+m2ven
+m2ves
+2m12vet
+2m12vb
+m2vn
+2m1vf
+2m1vh
+2m12vi
+2m1vk
+2m1vn
+2m1vr
+2m1vs
+2m1vt
+2m1vv
+m2z1a
+m2z12
+m2zeg
+m2zil
+m2zim
+m2zin
+mz1ism
+m2zit
+m2z
+m2z1o
+m2z3s
+m2zu
+m2z
+mfa2l1e2
+mfa2lom
+mfa1s2
+mf2m1a2
+mfit2
+mfi1tr
+mf2la
+m1f2lo
+mf2l
+mf2lu
+mfog1adat
+m1f2rak
+m1f2ran
+mf2r
+m1f2re
+m1f2ri
+m1f2r
+m1f2ro
+m1f2r
+mg2p1e2l
+mgpi2
+mg2p1ip
+mg2li
+mg2l
+mgr2cso
+mg2ra
+mg2r
+mha2sbr
+mhossz1t
+1mi
+mi2aa
+mi2a
+mi2abo
+mi2ac
+mi2ae
+mi2a
+mia1f2
+mi2afr
+mi2ag
+mi2ah
+mi2a
+mi2ale
+mi2am
+mi2ao
+mi2a
+mi2a
+mi2a
+mi2a1p
+mi2ar
+mias2
+mi2asz
+mi2asz
+mi2aszi
+mi2asz
+mi2at
+mi2ati
+mi2ato
+mi2a
+mi2av
+2m1i2z
+mi1bl
+micsa2p1
+2m1i2de
+2m1i2deg
+2m1i2dei
+2midej
+2miden
+mi2dent
+2m1i2deo
+mi2dn
+mi2dio
+mi2di
+mi2dol
+2mid
+m1idz
+mie2l
+mi2f
+mi1fl
+mi1fr
+2m1i2gaz
+2m1i2gn
+mi1gri
+2m1ihl
+mii2d
+mi1k2li
+mi1klu
+mi2kono
+mi2kont
+2miks
+mi2lal
+2mille
+2millu
+2mill
+mi2ma.
+mi2mh
+mi2mit
+mi2mr
+mi2naj
+2m1i2nam
+mina2n
+min1any
+2m1i2nas
+mi2n1ra
+min2c1e2
+min2ch
+min2d1a2
+2m1ind
+min2dek
+min2d1er
+min2din
+2m1ind
+2mindu
+mi2neg
+mine2s
+2minfl
+2m1inf
+min2g1
+2m1ing
+min1g2h
+min1inj
+min2k1a2l
+min2k1an
+min2k1as
+min2kec
+min2k
+min2k
+2m1insp
+2m1i2nuk
+mi2n
+2m1inz
+mio2n1a
+mio2n1
+mio2r
+mi2r
+mi1p2l
+mi1p2r
+mi2ram
+2m1i2rat
+2mi2rn
+2mirg
+2mirh
+miri2gyel
+2m1irk
+2m1i2rod
+2m1i2rom
+mi2rn
+2m1irr
+mi2sal
+mis1elv
+mis1epe
+mis1ing
+2misit
+mi2s12r
+mi1s2pi
+mis3szab
+mis3szer
+mi2s12t
+mi2s12v
+mi2s1
+mi2szr
+mis3zr.
+mi1sz2f
+mi2tac
+mita2n
+mit1any
+2m1i2tat
+2mitc
+mit1r.
+mit1r
+mit1rh
+mit1ri
+mit1rk
+mit1rn
+mit1rr
+mit1rt
+mit1r
+2mitbo
+mit1ing
+miti2s
+2mitl
+mi2tk
+mi1tri
+2mitro
+2mitr
+mi2tr
+mium2
+miu2min
+miu2s
+2m1i2vad
+2m1i2v
+mi2x1i
+mi2x
+mi2x
+mi2z.
+mi2zt
+1m
+m12g
+m2ja
+m2j
+m1ns
+2m12r
+2m12r
+m1v.
+m2v
+m1vb
+m2v
+m1vh
+m1vr
+m1vv
+m2z
+m2z
+mj2n
+mjobb1o
+mjo2g12s
+m2j1ol
+mj1s
+mj1s
+mkar2
+mka2r1r
+mke1p
+mkia2
+mki2
+mkie2
+mk2la
+mk2li
+mk2l
+mk2lo
+mk2lu
+mk2rost
+mk2ra
+mk2r
+mk2re
+mk2r
+mk2ri
+mk2r
+mk2ro
+mk2r
+mk2va
+mk2v
+mla1f
+mlap2r
+mla2p1ro
+mla2p1e2
+mla2pin
+mla1s2t
+mls3s
+ml2s3z
+mle1g2
+mle2
+mle1kn
+mle1pla
+ml2k1a2
+ml2k1
+ml2k1el
+ml2k1est.
+ml2k1r.
+ml2k1ol
+ml2kos
+ml2k
+ml2k12
+ml2sz
+mlo2k1l
+mlo2k
+ml2s1a2
+ml2s12
+mmag1g
+mma1gl
+mmai2
+mmas2
+m2m1atk
+m2me.
+mme2g1
+mmif2l12v
+1mo
+mo2be
+2m1obj
+moci1
+2m1off
+mo1g2rf.
+mo1g2rff
+mo1g2rfk
+mo1g2rfn
+mo2gy1a2
+mohu2
+mo2is
+mo2kab
+mo2k1ad
+mo2k1a2k
+mo2k1a2l
+mo2k1a2n
+mo2kar
+mo2kd
+mo2k1l
+mo2k12s
+mo2k1e2
+mo2k1il
+mok1k2
+mo2k1ol
+mo2k1or
+mo2k12
+mo2k
+mok1t
+2m1oktat
+moku2
+mo2kur
+mok2
+mo2ks
+mo2k1to
+mo2k
+2m1o2laj
+2m1olda
+m1old
+2m1o2lim
+molli2
+mol2l1in
+2m1oll
+moli2ko
+2m1oltr
+2m1olts
+2molvad
+2molvas
+2m1oml
+mon1ac
+mo2n1a2d
+mo2n1a2l
+mo2n1an
+mo2n1a2p
+mona2r
+mo2n1as
+mo2n1ll
+mo2neg
+mo2n1er
+mo2n1is
+mon2or
+mo2n
+mons2
+mon1sp
+mon1tr
+mo2n
+mo2n
+mony2
+mo2nyz
+mo2or
+2m1opc
+2mope
+mo2per
+mo1p2l
+2m1opt
+mo2r1ad
+mora2n
+mor1any
+mor2la
+2m1ord
+mo2r1el
+mo2ren
+mo2r1e2r
+mo2r1est
+mo2rid
+2morie
+mori2s
+mo2r1isk
+mo2r1iszo
+mor1izg
+mo2r1ol
+mo2r1ont
+mo2r1n
+mo2r12r
+mo2rs
+mo2r
+2m1orr.
+mor1s2
+mort2
+mor3t
+mor1tr
+mo2r
+mo2r
+mo2sl
+mo2s1e
+2mosto
+2m1ostr
+2m1osty
+mo2s
+mo2szal
+mo2szis
+2m1oszlo
+mo1t2h
+2m1ottha
+mot2to
+mo2un
+mo2us2
+mo2vi
+mo2xi
+mo3zso
+1m
+m2g
+m1bl
+m2ch
+mcsa2p1
+mcsap2
+m2d1a2l
+m2dau
+m2dk
+m2dr
+m2d1e2
+m2dip
+m2d1o2r
+md2
+m2d1r
+mdu2
+mdus1
+m1fl
+mi2ko
+m1k2l
+mkus1s
+m2lar
+m1p2r
+m2rak
+m2rar
+m2rg
+m2ri
+m2rj
+m2rm
+mri2as
+mr2
+m2r1n
+m2r
+m1s2k
+m1the
+1m
+m2b
+m2ko
+ml2cs1a
+ml2cs
+ml2csel
+ml2cs1es
+ml2cs1r.
+ml2cs1il
+ml2cs1o
+ml2cs1
+m2le
+m2nu
+m2r1
+m1tl
+m2ve
+m2v
+m2v
+m2v
+1m
+ma2n
+m2g
+me2l
+me2r
+m2l
+m2te
+m1kl
+m1ps
+m2r12r
+2m1rh
+2m12ri
+m2si
+m2s
+ms3zr
+m2l
+m2zi
+mpa1dr
+m2p1akc
+m2p1akt
+m2p1ll
+m2p1rko
+m2p1tj
+m2p1tk
+mp2ci
+mp1elt
+mp1fr
+mp1ind
+mpi2re
+mp2lak
+mplo2mal
+m1p2lu
+mpon1d2
+m2p1ord
+mporta2
+mpor2t1al
+mpor2t12r
+mpor2t1e2
+m2p1oszts
+m2p1s
+m1p2ref
+m1p2rep
+m1p2rs
+m1prib
+m1p2ric
+mp2rio
+m1p2rod
+m1prof
+m1prog
+m1proj
+m1p2ro1p
+m1p2rot
+m1p2rb
+m1p2ru
+m1p2szi
+m2p1u2ta
+m2p1ut
+m2p1z
+mra1p
+mren2d12
+mr2m1
+msa2vo
+ms2ka
+ms2k
+ms2ki
+ms2ko
+ms2l
+ms2mi
+ms2ni
+ms1ond
+ms2pa
+ms2pe
+ms2pi
+ms2po
+ms2p
+ms2r
+ms2ta
+ms2t
+ms2te
+ms2ti
+ms2t
+ms2to
+mst2r
+ms2t
+msza2k
+msza2k1
+mszraz1
+msz2c
+msz2dem
+m1sz2f
+mszn3n
+msz2l
+msz2m
+m1sz2p
+msz2t
+m1sz2v
+mta2n12
+mtra2d
+mt2r1ada
+mts3s
+mtksz1
+mtran2s
+mtransz1
+mt2r
+mt2re
+mt2r
+mt2ri
+m1t2r
+mt2r
+mt2r
+1mu
+2m1udv
+2m1ugr
+m1ujj
+2mulet
+2mulz
+mu2m1ad
+mu2m1el
+mu2ml
+mu2m1s
+mu2min
+mu2m1ir
+mu2mis
+mu2m1iv
+mumksz1
+mu2m12
+mu2m
+mu2m
+mumus1s
+mun1g
+mu2nok
+2mur.
+mu2ral
+mu2ram
+mu2rat
+mu2rl
+mur1izm
+mu2r1u2
+mu2sal
+mu2san
+mu2sar
+mu2sas
+mu2sat
+mu2s12g
+mu2sl
+mu2s1e
+mu2s1rt
+mu2sir
+mu2sor
+mu2s12
+mu2s
+muss2
+mus3sze
+mus2tr
+mus2t1erj
+mu2szal
+mus3zav
+mu2szl
+mu2szs
+mu2t1a2g
+mu2tal
+mut1a2la
+2m1utal
+2mutalv
+muta2n
+mu2t1any
+mu2tas
+m1u2taz
+mu2t12ra
+mu2t1rb
+mu2t12ru
+2m1u2ts
+2mutca
+mu2t1el
+mu2til
+mu2t1in
+2m1u2tol
+2m1u2td
+2m1u2tp
+mu2t1
+mu2t
+1m
+m2j
+ml2t1e2
+ml2tol
+2m1r.
+m2ri
+2m1rn
+2m12sz
+2m1tb
+m1th
+2m12ti
+2m1tj
+2m1tk
+2m1tm
+2m1tn
+2m12to
+2m1tr
+2m1tt
+2m1tv
+1m
+m2d
+m2d
+m2gy
+m2n
+m2re
+m2r
+m2r
+m2te
+m2t
+m2t
+m1tz
+m2ve
+m2v
+m2ze
+1m
+m1bl
+m1br
+m1fl
+m1fr
+m1gr
+m1kl
+m1pl
+m1pn
+m1pr
+2m1rl
+m1sp
+ms2
+m1sz
+mtksz1
+mves3s
+m2z
+m2zi
+m2z
+m2z
+m2z
+m2v1a2dot
+mvgya2d
+mv2gy1ada
+mvers3s
+mw2hi
+mza2t1e
+mzs3s
+mze2r1o
+mze2t1a2
+mze2t12
+mze2t1e2g
+mze2t1el
+mze2ter
+mze2tesz
+mze2t12k
+mze2t1rd
+mze2to
+mze2t12
+mze2t12
+mz2s1a
+mz2so
+mzksz1
+mze2r
+mz2r
+2n.
+1na
+naa2d
+n1abb
+2n1abr
+2n1abs
+na1cl
+2n1a2dag
+2n1a2ds
+2n1add
+na2dek
+2n1adm
+2n1a2d
+na1d2re
+2n1adt
+na2du.
+na2dus
+na2ei
+na2r
+2n1aff
+na2ga.
+na2gr
+na2git
+na2gn
+na1gr
+nagy1agg
+na2gy1a2l
+na2gyapj
+na2gy1as
+na2gyav
+na2gy12k
+nagy2
+nagy1r
+nagy1t
+na2ire
+na2ji
+2n1ajk
+2n1a2kad
+nakar2
+nak12sz
+na2k1t
+n1akko
+na1kli
+na1klu
+nako2l
+nak1ola
+2n1a2k.
+na1k2r
+n1akti
+2n1a2kus
+na2k1tn
+na2l1a2d
+2n1a2la2g1
+na2l1aj
+na2l1a2l
+na2lana
+2n1a2lapa
+2n1a2lapd
+na2lapr
+na2lapt
+na2lar
+na2lav
+na2l1br
+na2lg
+na2l12l
+na2l12ro
+nal12t1
+na2l1ts
+na2l1el
+na2l1ell
+nal1eng
+nal1ent
+nal1g.
+na2l1k
+na2l1ri
+na2lid
+na2l1ing
+na2l1i2o
+na2l12r
+2nalzisb
+2nalzise
+2nalzis
+2nalzish
+2nalzisi
+2nalzisk
+2nalzisn
+2nalzisr
+2nalzist
+2nalzis
+2nalj.
+n1alja.
+3naljac
+n1aljad
+n1aljai
+2naljak
+n1aljam
+n1aljat
+n1alji
+2naljon
+2nalju
+2naljz
+2n1alkat
+na2l1ob
+na2l1ol
+na2lop
+nal1osz
+na2l12r
+na2l1
+nalt2
+nal1tr
+na2lulj
+na2l1ut
+na2l
+na2mer
+2namitbo
+2n1a2mite
+2n1a2mitg
+2namitha
+2n1a2mitk
+2n1amitl
+2namitm
+2namit
+2n1a2mitp
+2namitro
+2namitr
+2namits
+2namitt
+2namitt
+2n1am
+2n1amp
+2n1a2nal
+2n1ang
+2n1anh
+nano1
+nanog2
+na2nd
+2n1a2nyag
+nao2l
+na2r
+2napa.
+nap1ad
+na2p1a2g
+na2p1ala
+na2p1alk
+nap1a2pa
+nap1ap
+nap1ar
+na2p1as
+na2pd
+na2p12g
+na2pk
+nap1ll
+na2pm
+na2p1rb
+na2p1tm
+nape2l
+nap1ell
+na2pem
+nap1est
+na2p1ill
+na2p1ing
+na2p1int
+nap1isk
+na2p
+nap2lat
+na2p1ola
+nap1orm
+napos1s
+na2p1ost
+na2p1ott
+na2p.
+na2p12r
+napp2
+2nappo
+nap1pr
+n1apr
+2naprz
+na2p1u2t
+na2p1r
+2n1a2rai
+2narann
+2n1arany.
+2n1a2ranya.
+2n1a2rany
+2naranyb
+2naranyh
+2naranyk
+2naranyn
+2naranyr
+2naranys
+2n1aranyt
+2n1arc.
+2n1arc
+narchi2ab
+2n1arco
+2n1arcu
+2n1arc
+2narr
+2n1arz
+na2sv
+nas1isk
+2nask
+na1s2ka
+na1s2r
+nast2
+na1s2ta
+na1s2t
+na1str
+na2sz1an
+na2sz1rad
+naszksz1
+nasz1g
+na2t1ab
+na2t1aj
+na2t1alk
+na2t1alt
+nat1ar
+nat1ll
+na2t12r
+na2t1rn
+na2t1eg
+nate3le
+na2t1el
+nat1elle
+na2tl
+nat1rke
+na2t1rv
+na2t1i2m
+na2t1ing
+na2t1old
+nat1ors
+na2t1osz
+na2t1u2t
+na2tl
+nat2z
+2n1a2ty
+na2uc
+na2ul
+nau2ra
+na2ur
+nau2s
+na2uto
+na2z
+na2vart
+na2vat
+2n1avv
+na1wh
+2n1azb
+na2z
+2n1a2zo
+1n
+2n12b
+2nbr
+n2caj
+n2c3h
+n2c
+n2csal
+n2csap
+n2cs1as
+n2cse
+nc3sik
+n2csis
+2ncsolat
+nc3sor
+n2cs
+n2cs
+nc3sz
+n2d1ala
+n2dap
+n2d1a2r
+n2d1asz
+n2d1a2v
+n2d
+nd1d
+n2d1e2
+n2d1
+n2dud
+n2d12
+n2d3z
+n2ga
+n2g
+n2gi
+n2gu
+n2g
+n2gy
+2n12h
+n2k1r.
+n2kol
+n2k
+n2lab
+n2l1a2l
+n2lana
+n1lar
+nla2te
+n2l1az
+n2l1t
+nle2
+n2l1eg
+n2l1el
+n2lem
+n2les
+n2l
+n2l1p
+n2l1in
+n2lir
+nl2is
+n2l
+2n1ll.
+2n1lla.
+2n1llap
+2n1llat
+2n1ll
+2n1llom
+nllkz1
+n2l
+n2m
+n2mu
+n2nad
+n2n1al
+n2nar
+n2n12r
+nn2c1e
+n2n1e2
+nn2
+n2nt
+n2nin
+n2n
+nn2se
+n2n
+n2rad
+2n12raka
+2n12rakb
+2n12rakh
+2n12rakk
+2n12rakn
+2n12rako
+2n12rakr
+2n12rakt
+2n12ram
+n2r1a2n
+n2rap
+n2ras
+nr1ass
+2n12rat.
+n2r1att
+n2r1av
+n2r1c
+n2r1l
+n2r1e2
+n2r1ve
+2n12riai
+2n12ri
+n2r1i2p
+n2r
+nr2
+n2r1r
+n2r
+nr1s2
+nrt2
+nr1tr
+2n1rud
+n2rug
+2nrun.
+nr1ur
+2nrus
+nru2t
+nr1ut
+n2rt
+n2r
+n2s1as
+ns1r
+n2s12ru
+2n12ss
+n2s1e2
+n2s1i2k
+nst2
+ns1tr
+n2szan
+n2szas
+n2szg
+n2szl
+n2sze
+n2szn
+n2szil
+n2szin
+n2szis
+2n1szka.
+2n1szoks
+n2sz1
+n2sz1
+n2sz1
+n2tala
+n2t1a2n
+n2tl
+nt1sv
+n2t1e2
+2n1thi
+n2t1i2o
+2n12t1ir
+2n12t
+2n1tl
+n2t1
+2n1tru
+2n1tug
+2n1tut
+2n12t
+n2t
+2n1tvi
+nba2k
+nba2k1e2
+n2b12kb
+n2b12kn
+n2b12kr
+n2b12kv
+nb2la
+nb2lo
+nb2l
+nbo2n1a2
+nb2ra
+n1b2ri
+nb2ro
+nb2r
+nburg2hi
+nc1ac
+n2c1aj
+nc1ajt
+n2c1akn
+n2c1akt
+nc1a2la
+nc1alj
+n2c1alk
+nc1alt
+nc1alv
+nc1ana
+nc1ant
+nc1a2nya
+nc1ari
+nc1att
+nca2u
+n2c1ava
+n2c1g
+nc1rb
+nc1rk
+n2c1rn
+nc1rt
+nc12sa
+nc1s
+nc1bl
+nc1br
+nc3csi
+nc3cso
+nc3cs
+nc3csu
+nc1dr
+ncea2
+nc1egg
+n2c1eld
+nc1e2lek
+nc1e2lem
+nc1elm
+n2c1elv
+nc1e2red
+nc1er
+n2c1eszt
+nc1etn
+n2c1ex
+nc2g1r
+nc2hes
+n2c1p
+n2c1vi
+nc1fl
+nc1fr
+nc1gr
+n2c3ha
+n2c3h
+n2che.
+nc3hel
+nc3het
+n2c3h
+nc3hi
+nc3h
+nc3hol
+nc3hon
+n2c3hoz
+n2c3h
+nc3h
+n2c3hu
+n2c3h
+nci2alis
+nci2aso
+n2c1ige
+n2c1i2g
+n2c1i2ko
+nc1i2m
+n2c1i2na.
+n2c1ind
+nc1inf
+n2c1ing
+n2c1int
+n2c1i2pa
+n2c1ir
+nc1iro
+n2c1ist
+n2c1i2ta
+n2c1i2z
+nc1j
+n2c1r
+n2c1v
+n2c1z
+nc1kl
+nc1kre
+n2c1ob
+n2c1okta
+n2c1o2li
+nc1orv
+n2c1ott
+n2c1lt.
+nc1ss
+nc2t
+nc1r
+nc1pl
+nc1pr
+n2cs1ab
+n2csac
+n2csad
+n2cs1ag
+n2cs1ajt
+n2csakt
+ncs1alap
+n2cs1alj
+n2csam
+n2csan
+ncsa2p12g
+ncsa2r
+ncs1ara
+ncs1arg
+ncs1aro
+n2cs1au
+n2csaz
+ncs1gr
+n2cs1l
+n2c3sr.
+n2cs12r
+ncs1rb
+n2cs1rn
+ncs1rr
+n2csru
+n2csta
+n2cst
+n2cstv
+ncs1elf
+ncs12rs
+n2csrte
+n2cs1rt
+n2c3sr
+n2c3sta
+ncs1i2kon
+ncs1int
+n2cs1io
+n2csipa
+n2csir
+ncs1irt
+n2cs1ism
+n2csita
+ncs1izz
+nc3ski
+n2cs12r
+ncs1zt
+n2csob
+n2cs1oks
+n2csokta
+n2csosz
+n2cs12l
+n2cs1s
+n2cs1z
+n2cs1r.
+ncs1r
+ncs1s
+n2csur
+ncsu2t
+ncs1uta
+n2cst
+n2csg
+n2cst
+ncs3zr
+nc3sze
+nc3sz
+nc3sz
+nc1tr
+n2c1ud
+n2c1ug
+nc1uj
+n2c1ur
+n2c1j
+nc1t
+n2c1g
+n2c1t
+nc1v
+n2c1z
+n2c1r
+nc1ya
+n2c3z
+nc3ze
+n2c3z
+nc3z
+nc3zs
+nc3z
+nczy1i
+nd1abl
+nda1br
+nd1a2dat
+nda2ds
+nd1add
+n2d1aj
+n2d1akc
+n2d1akk
+nd1akt
+n2d1alj
+n2d1alr
+nd1ann
+nd1ap
+nd1a2rn
+nd1arr
+ndat1any
+nda2tap
+nda2t1eg
+nda2tin
+nda2tir
+nd1azo
+nd1azt
+nd1azz
+nd12rak
+nds1s
+nd1bl
+nd1cl
+nd1dr
+nd1ebb
+n2d1e2kb
+n2d1e2kin
+nde2kz
+n2d1elf
+n2d1ellen
+n2d1elm
+nd1el
+nde2mer
+nde2mu
+nde2m1
+nde2n
+n2dennek
+nde1p2
+nde2r1a
+nde2rl
+nde2rz
+nde2rel
+nde2ro
+n2d1er
+n2d1e2sett
+n2d1e2ss
+n2d1e2s
+nde2sza
+n2d1e2sz
+nd1eza
+nd2go
+nd2kel
+nd1kez
+nd2k
+n2d1le
+nd1lm
+n2d1p
+nd2raj
+n2d1ssz
+n2d1szh
+n2d1szl
+n2d1szr
+n2d12te
+n2d1tt
+nd1fr
+nd1gr
+n2d1iga
+n2d1ige
+n2d1ill
+n2d1i2na.
+n2d1ing
+n2d1ins
+n2d1i2onj
+ndi22
+ndi2f
+ndi2m
+n2d1isza
+nd2j1a2da
+nd1kl
+n2d1o
+ndo2k1t
+ndo2rl
+n2d1orni
+ndo2r1
+n2d1ou
+n2d1ov
+nd2r
+nd12ni
+n2d12r
+nd2b
+nd1ss
+n2d12z
+n2d1r.
+n2d12r1a2
+n2d1rb
+n2d1rc
+n2d1rd
+nd12reg
+nd12rei
+nd12rek
+nd12rel
+nd12rk
+nd12rn
+nd12rr
+nd12rt
+nd12rv
+n2d1rf
+n2d1rg
+nd12rig
+nd1ris
+nd12rit
+n2d1rj
+n2d1rk
+n2d1rl
+n2d1rm
+n2d1rn
+nd1rok
+nd1ros
+n2d12r
+nd1rs
+n2d1rp
+n2d1rr
+n2d1rs
+n2d1rt
+n2d1r
+n2d1rv
+nd1pr
+nd2raz
+n1d2ruk
+nd1sl
+nd1sp
+nd1st
+ndsz2m1t
+ndsze2r1e2l
+ndtr2s1a2d
+nd1u2szo
+ndu2t
+n2d1uta
+nd1j
+nd2r
+nd1sz
+n2d1g
+nd1nn
+n2d1z
+n2d1r.
+n2d1rr
+n2d1rt
+n2d1z
+ndy2b
+ndy2h
+ndy2n
+ndy2r
+ndy2t
+ndy2v
+nd3zav
+nd3zr
+n2d3ze
+n2d3z
+n2d3zu
+1ne
+nea2j
+nea2k
+nea2la
+ne2alo
+nea2n
+nea2r
+ne2b
+ne1bl
+ne1dra
+ne1d2r
+ned2v1el
+ne1dy
+2n1e2dz
+2neff
+2n1e2ger
+2n1egr.
+ne2g1
+n1egy.
+n1egyb
+ne2gyek
+ne2gyen
+ne2gyes
+ne2gyet
+ne2gyez
+2n1e2gy
+n1egyf
+n1egyh
+ne2gyig
+n1egyk
+n1egym
+n1egyn
+n1egyr
+2n1egys
+n1egyt
+ne2gyn
+nehz1
+2n1ehh
+nei2g
+ne2r
+ne2k1aj
+ne2k1a2n
+ne2kt
+ne2k1e2g
+nek1er
+nek12j
+ne2kk
+nek1kn
+nekie2
+2nekj
+nek1k2
+2nekka
+2nekki
+ne1klu
+ne2k1ok
+nek2r
+ne1kre
+nek1t2
+ne2k1g
+nek1ld
+ne2lag
+ne2laj
+ne2l1an
+ne2ll
+nel2r
+ne2lef
+ne2leg
+n1elegy.
+nel1e2le
+nele2ma
+nelem1el
+nel1e2ms
+nel1eng
+ne2ler
+ne2l1p
+nelf2
+nel1g2
+2n1elha
+ne2l1id
+ne2lim
+ne2l1in
+n1ell
+2n1elnev
+ne2l1ot
+ne2l12
+ne2l12
+2n1e2la
+2n1e2l
+ne2ld
+ne2lf
+ne2lh
+2n1e2l
+2n1e2lk
+ne2ll
+2n1elny
+2nelrej
+2n1e2lt
+2n1eltr
+ne2l1l
+2n1elz
+ne2mak
+2nemba
+2n1ember
+neme2g
+nem1egy
+2nemele
+2n1emelk
+ne2m1esz
+ne2m1r.
+ne2m1id
+nem1isz
+2nems
+2nemul
+2n1eng
+2n1enn
+nen2sa
+nense2s
+nen2s1ese
+nens3s
+nen2s3z
+2n1enyv
+2n1enz
+ne2ob
+ne2od
+ne2of
+ne2og
+ne2oh
+ne2oko
+ne2ola
+ne2oli
+ne2oro
+ne2pad
+ne2pelm
+ne2p1est
+ne2pid
+ne2p12r
+ne2p1ut
+ne2r1a2d
+ne2r1a2k
+ne2r1a2n
+ne2r1a2r
+ne2r1as
+ne2raz
+ne2rb
+ner2co
+ne2r1e2g
+n1e2rej
+ne2r1e2ke.
+ne2r1e2l
+ner1emel
+ne2r1er
+ne2rez
+ne2rg
+ne2r1l
+ne2r1p
+ne2r1tt
+ne2r1id
+ne2r1iga
+ne2r1il
+ne2r1i2m
+ne2r1inf
+ne2r1ing
+ne2r1int
+ne2ris
+ner1k2
+ne2r1ol
+ne2ror
+ne2r1os
+ne2r
+ne2r1n
+2n1e2r
+3n2e3rk
+ner1s
+ner1tr
+ne2r1u2
+ne2r1g
+ne2s1alj
+ne2sas
+ne2s1l
+ne2sr
+2n1e2setb
+2n1e2setr
+2n1e2ss
+2n1e2s
+nes3sza
+nes3sz
+2n1est
+2n1esti
+ne2s12v
+nesz1l
+ne2s3zr
+ne2sz1l
+ne2sz12
+ne2t1ab
+net1a2la
+ne2t1a2ny
+ne2tl
+ne2t1t1
+ne2t1e2g
+net1el
+net1elm
+ne2t1ela
+ne2t1eml
+net1este
+ne2t1esz
+ne2t1etet
+ne2t1eti
+ne2t12k
+ne2t12l
+ne2t1r.
+ne2t1rd
+ne2t1r
+ne2t12r.
+ne2t12rk
+ne2t1rr
+ne2trte
+ne2t1rt
+ne2t12r
+ne2t1sz
+ne2t12ve.
+ne2tid
+ne2t1i2ko
+ne2t1int
+ne2tip
+netk2sz1
+ne2t1o2k
+ne2tol
+net1old
+ne2t12
+net2tv
+ne2tun
+ne2t1ut
+net2l
+net1l
+ne2t12z
+2n1e2v
+2n1evv
+nexpor2t12
+ne1y
+2n1e2zer
+2n1ezred
+2nezs
+1n
+2n1br
+2ndl
+n1f2r
+2n1g.
+2n12gek
+2n12get
+2n12get.
+2ngeth
+2n12getk
+2ngetn
+2ngett
+2n12g
+2n1gj
+2n1gn
+2n12g
+2n1gs
+2n1gt
+2n12g
+n2gyer
+n2gyn
+n2gy1o
+n2gyk
+2n12hes
+2n1hs
+n2kaj
+n2kak
+n2k1a2n
+n2kar
+n2k1
+nke2l
+nk1ele
+n2ker
+n2kv
+n2kid
+nk1isz
+2n12k
+n2k
+nk2
+n2kl
+n12les
+2n12let
+2n1lm
+n2li
+n2ln
+2nneke
+2n12nek
+npa2
+n2pad
+n2p1ak
+n2p1al
+n2p1an
+n2pap
+n2p1as
+n2pau
+np2
+n2p1l
+n2p1r
+n2pt
+n2p1z
+n2peg
+n2p1e2l
+npe2r
+np1etet
+n2p1etn
+n2pev
+n2p1s
+np1f2
+2n2p
+n2p1o
+n2p1
+n2p
+np1s
+n2p1us
+n2p
+2npl
+nra2
+n2raj
+n2r1an
+n1rd
+2nrde
+2n12rem
+n2r.
+n2rs
+n2ri.
+n2rin
+n2rip
+n2r
+2n12r.
+2n1rt
+n2r
+2n1rz
+n2s1e2l
+n2s1g
+ns3szer
+nsz1ak
+nsz1al
+n2sz1
+n2szeg
+n2sz1e2l
+n2sz1emb
+n2sz1e2sz
+n2sz1k
+n2szik
+n2sz1
+nszksz1
+n2sz
+n2sz12
+n2szu
+n2sz1
+n2szl
+n2t1eg
+2n12tel
+n2t1es
+2n12tet
+nti2
+n2tir
+n2t
+n1t2r
+nva2
+nv1ada
+nv1ad
+n2vaj
+n2var
+n2vav
+n2v1g
+2n1vb
+2n12ve.
+2nvei
+2n12vek
+nve2l
+n2v1ele
+nv1el
+2n2vem
+2nvenk
+2nvent
+n2v1e2r
+n2ves
+nv1esz
+2n2vet
+2nvb
+n2v12l
+n2v1ri
+n2vr
+n2v1rz
+n2vis
+2nvny
+n2v1o
+n2v
+n2v
+n2v1u2
+n2v
+n2vn
+n2za
+nziu2m1i2
+nfe2lem
+n1f2la
+n1f2lo
+nfluor1e
+nfol2ta
+n1f2rak
+n1f2r
+n1f2rek
+n1f2ri
+n1f2r
+n1f2r
+n1f2ru
+nfs2t1l
+n2g1abl
+n2g1a2dat
+n2g1a2d
+ng1a2d
+n2gad.
+n2gada
+n2gadb
+n2gadi
+n2gadj
+n2gadk
+n2gadr
+n2gads
+n2gadt
+n2gadv
+ng1akn
+n2g1akr
+n2g1akt
+nga2lag
+nga2lak
+nga2lap
+ng1alt
+ng1alel
+n2g1alg
+n2g1alj
+n2g1a2ny
+nga1p2
+n2g1a2rn
+n2g1arc
+n2g1art
+n2g1arz
+n2g1asp
+ng1assz
+n2g1aszt
+nga1tr
+n2g1a2u
+n2g1ava
+nga2zon
+ng2c
+n2g12g
+ng1ll
+ng1llo
+ng1ll
+n2g1p
+ng12rak
+ng1ras
+ng1rat
+ng2rt
+ng2rv
+ng2r
+n2g1rnya
+n2g1rta
+ng2ruk
+n2g12r
+n2g12szaib
+n2g12szair
+n2g12szait
+n2g12szv
+n2g12sz
+n2g12szi.
+n2g12szig
+n2g12szok
+n2g12szos
+n2g1t
+ng1tc
+n2g12t1e2
+n2g12ti
+n2g1tk
+n2g1tl
+n2g1tm
+n2g1ts
+n2g1tv
+n2g12zj
+n2g12zs
+n2g1ztato
+ng1bl
+ng1br
+ng1d2r
+ng1edz
+ngegsz1
+n2g1ela
+nge2lis
+nge2r1a
+nge2rl
+nger1e2sz
+nger2im
+nge2ro
+n2g1esem
+n2g1eszk
+nge2tika
+n2g1ex
+n2g12g
+ng2les
+n2g1p
+n2g1rc
+ng1rl
+ng12r.
+ng1rt
+ng2sa
+n2g1te
+ng1fr
+ng1g2r
+ng3gyi
+ng3gyo
+n2g1i2d
+ngi2g
+n2g1iga
+n2g1ige
+n2g1ig
+ng1i2ko
+n2g1ikr
+n2gill
+ngi2m
+ng1imi
+ng1inf
+n2g1ing
+ng1ins
+ng1iro
+n2g1izg
+ng1g
+ng1r
+ng1v
+ng1z
+ng1kl
+ng1kr
+ng1kv
+n1glec
+ngmeg1
+n1g2n
+n2g1of
+n2g1op
+ngora1
+n2g1ord
+n2g1org
+n2g1ork
+ng1osto
+ng1oszt
+n2g1otth
+ng2ri
+n2g1b
+ng1nt
+ng2r
+ng1r
+ng1rv
+n2g1v
+n2g12z
+ng1r
+ng2z1s
+ng1pr
+ng1ps
+n1g2ram
+ng2rdih
+ng2rdj
+n1g2rf
+ng2run
+ng1sh
+ng1sk
+ng1sp
+ng1tr
+n2g1ud
+n2g1ug
+n2g1uj
+n2g1und
+ng1u2ra
+n2g1uta
+n2g1j
+ng1tt
+n2g1d
+n2g12g
+ng1r
+ng1t
+n2g1z
+ng1r
+ngy1a2gya
+ngya2l12
+ngy1ass
+n2gy12l
+n2gy1em
+n2gy1es
+n2gyez
+n2gy12d
+ngy1ks
+ngy1kt
+ngy1r.
+n2gyid
+n2gyim
+n2gy1ut
+n2gy12l
+nha2b1i
+nhal1k2
+nha2sbr
+nh2z1alt
+nh2zip
+nh2zol
+nh2z
+nh2z3s
+nhe2d3z
+nhe2i
+nh2s
+nhs3s
+1ni
+ni2aa
+ni2a
+ni2abo
+ni2ac
+ni2ad
+ni2ae
+ni2a
+ni2afo
+nia1g2
+ni2agy
+ni2ah
+ni2a
+ni2aj
+ni2ala
+ni2al
+ni2am
+ni2ao
+ni2a
+ni2a
+ni2a
+ni2a1p
+ni2ar
+ni2asza
+ni2asz
+nia1t2
+ni2ato
+ni2atr
+nia3u
+ni2a
+ni2av
+ni2az
+nit1a2
+2n1i2bo
+ni1br
+ni2c1e2l
+ni2cha
+ni2c3he
+ni2c3h
+ni2c3ho
+ni2de.
+2n1i2deg
+2n1i2d
+ni2d
+ni2et
+2n1ifj
+2n1i2gal
+2nigaz.
+2n1i2g
+ni2ge.
+ni2gj
+2n1i2gn
+ni2gz
+2nigm
+2n1ihl
+ni2keb
+ni2k1el
+ni2k1em
+ni2k1rt
+nikk2
+ni1klu
+ni2konr
+2n1ikrit.
+ni2kud
+n1ille
+2nillu
+2n1i2ly
+2nimd
+n1i2m
+2n1imp
+2n1i2na.
+ni2nas
+ni2n1ll
+2nind
+2n1info
+2n1inf
+nin2gas
+nin2g
+2n1inge.
+2ningei
+nin2g1e2l
+nin2g12
+nin1g2r
+nin2gu
+2n1ingk
+ni2n1i2p
+ni2nol
+2n1int
+2n1i2onb
+ni2onc
+ni2onh
+ni2onj
+ni2onk
+2n1i2onn
+2n1i2ono
+2n1i2onr
+2n1i2ont
+ni2a
+ni2d
+ni2e
+ni2p
+ni2ta
+ni2t
+ni2
+niv2
+nip2p1i
+ni1pr
+ni2rat
+2nir
+nirsz1
+2n1irg
+2n1irh
+2n1irk
+2n1i2rod
+ni2rn
+ni2si.
+ni2s1in
+nis2v
+nisz1ak
+ni2szeg
+ni2szeml
+ni2szese
+ni2sz12l
+ni2szip
+ni2szis
+nisz1okt
+nisz1ol
+2n1iszon
+ni2sz
+ni2sz1
+ni2szu
+ni2t1a2d
+ni2t1ag
+ni2t1aj
+ni2tal
+nit1a2la
+ni2t1as
+2n1i2tat
+nit1ell
+ni2t1p
+ni2t1r
+ni2tim
+ni2t1in
+ni2tir
+ni2tob
+nit1old
+nit1olt
+ni2t1osz
+ni2tr
+niu2m1i2o
+2n1i2vad
+2n1i2var
+2n1i2v
+ni2xa
+ni2x
+ni2zn
+2n1izg
+2n1izm
+n1izom
+ni2zsol
+1n
+n2g
+n2ja
+n2ju
+nli2a
+n2ra2
+2n12r
+n2r12
+n2r1ot
+2n12r
+n2r1
+2ntl
+nta2
+n2ve
+2n12vi
+n2ze
+n2z
+nk1a2ds
+nkai2k
+nk1ajt
+n2k1akk
+n2k1alv
+n2k1an
+nka2ny
+nka2
+nka1p2l
+nk1app
+nka2ris
+nka1s2k
+nka1sp
+nka2tom
+nka1t2r
+nk1azo
+n2k1g
+nk1rad
+nk2rl
+nk2rol
+nk2ruk
+nk2sad
+nk2sal
+nk2sav
+nks3s
+nk2s3z
+nkta2
+n2k1tj
+n2k1tm
+n2k1ts
+n2k1tu
+nk1br
+nkci2s
+nk1dr
+nk1e2cse
+nk1e2dz
+nk1ela
+n2kell
+n2k1elt
+nke2r1a
+nk1ered
+n2k1e2r
+n2k1e2ti
+n2k1e2v
+n2k12l
+nk2p1el
+nk2p1s
+n2k1p
+n2k1rc
+nk12sz
+nk1g2r
+nkia2
+nki2
+nk1i2ga
+n2k1ig
+n2k1imi
+nk1ind
+n2k1ing
+n2k1int
+n2kinz
+nk1i2on
+nki2s1i2
+nk1ism
+nkk2
+nk1k2r
+nk2lar
+n1k2l
+n2k1ob
+nk1oke
+nkos3s
+n2k1oszl
+n2k1ox
+n2k1n
+n2k1ni
+nk1p2
+n2k12ri
+n2k12l
+n2k12l
+nk1ss
+nk1tl
+nk1rs
+nk1pl
+nk1pr
+nk2rac
+n1k2ris
+n1k2r
+nk2roma
+nkron1n
+nk1sp
+nk1st
+nk1sz2
+n2k1ud
+n2k1u2ra
+n2k1u2s
+nk1utal
+n2k1ut
+n2k1uz
+n2k1j
+n2k1s
+n2k1g
+nlac1
+nla2pa
+nlap1e
+nla2p1osz
+nla2tal
+nla2t1a2n
+nla2t1e2
+nla2t12te
+nls3s
+nle2g1
+nle2
+nle2t1o
+nlet2
+nle2tz
+nl2ts
+nl2t12ve.
+nme2g1a2
+nme2g1
+nm2n
+nmt2
+nna2i
+nnak2
+nna1kr
+nn1alv
+nna1p2r
+nna1s2
+nn1ll
+n2n1eml
+nne2p1a2
+nne2se
+nn1ess
+nn1esz
+n2n1e2tet
+n2n1ett
+nn1evez
+nn2get
+nn1ri
+n2n1id
+nn1irt
+nn1ors
+nn2h
+nn2n
+nn1sy
+n2n1ug
+nn12s
+n2n12c
+nn2l
+nn1l
+nn1lt
+nn1lv
+n2ny
+n3nyak
+n3nyal
+nny1a2n
+n3nyar
+nny2r
+nny1z
+n3nydr
+nny1ell
+n3nyel
+nny1elt
+nny1elv
+nny1elvez
+nny1e2sett
+nny1e2ss
+nny1e2s
+nny1g
+nny12k
+nny12ki
+nnyi2h
+nnyi2ne
+nnyi2g
+nny1ig
+n3nyj
+nny1old
+nny1on
+nny1z
+n3nyst
+1no
+no1d2r
+2n1o2d
+2nog.
+2nogh
+2nogj
+2nogn
+2nogo
+2nogs
+2nogt
+2nogv
+no2ir
+2nokal
+nok1ala
+no2k1a2r
+no2kau
+no2k1l
+no2k12l
+no2kp
+no2k1ing
+nok1ist
+nok1k2
+2n1okke
+2n1o2koz
+no2k
+no2k
+no1k2ro
+nok1s
+noksz2
+no2kur
+no2kr
+no2k
+2n1o2la
+nol1f2
+2n1o2lim
+2n1oll
+2n1o2ly
+no2m1a2c
+nom1p
+nona2
+no2n1al
+nonc3c
+non2ch
+nonc3sz
+no2n1e
+non1k2
+no2n
+no2n
+non1s2
+no1ny
+no2ok
+2n1o2pe
+no1p2la
+no2r1al
+no2r1a2t
+no2raz
+no2r1el
+no2r1iv
+no2r
+2n1ormo
+2n1orr
+nor1s2
+no2r
+2n1orvo
+no2sl
+no2se
+nossz2
+nos3sze
+nos3szf
+nos3szi
+no1s2tab
+nosza2u
+no1sz2f
+2noszl
+no1t2r
+2n1otth
+no1ty
+no2ui
+2n1o2vi.
+no2xi
+1n
+na2k
+n2r
+n2ce
+n2ch
+n2da.
+n2d1a2n
+n2dk
+n2d1e2s
+n2d1is
+n1fl
+n1fr
+n1k2l
+n2mac
+n2m1em
+n2mik
+n2m1u2t
+n2m
+n2nib
+n2non
+n1p2r
+n12rac
+n2r1ad
+n12raf
+2n12rai
+n2r1a2l
+n12rar
+n12ras
+n12rat
+nrdi2
+n2rs
+n2ri
+n2r
+ns1akk
+n2seg
+n1sl
+n1s2p
+n1s2r
+ns3s
+n1s2ta
+n1sz2
+ns3zene
+ns3zen
+nt1ala
+n2til
+n1tr
+n2v
+1n
+n2ka
+n2k
+n2k1el
+nke2t
+nk1eti
+n2k12j
+n2k1k
+n2k12l
+n2k1r.
+n2k1ri
+n2k1rt
+n2ko
+n2k
+n2ku
+n2k
+n12le
+n12l
+n2l
+n1ml
+2n12n
+2n1nz
+n2r
+2n1ssz
+2n12sz
+n2te
+n2t
+n2ti
+n1tl
+nt1t2
+n2t
+2n1v.
+n1vb
+n12ve.
+n2vn
+2n1vr
+2n12zn
+1n
+na2l
+na2n
+n2g
+n1br
+n2ca
+n2ch
+n2csr
+n2css
+n2cs
+ne2r
+n2l
+nf2l12
+n1kl
+n1pl
+n1pr
+2n1r.
+2n12r1an
+2n1ras
+2n1rb
+2n1rc
+2n12rei
+2n12rh
+2n12rn
+n2rt.
+n2rt
+2n12rv
+2n1rg
+2n1rh
+2n12ri
+2n1rk
+2n1rl
+2n1rn
+2n12r
+2n1rr
+n1rs
+2n1rt
+2n1r
+n2rl
+n2rn
+2n1rv
+2n1rz
+n2s1a2l
+n2s1e2l
+n2ses
+n2s12r
+n2sok
+n1spe
+ns3s
+n1sz2t
+n1t2r
+nt2tin
+nu2t
+n2l
+npa2dal
+npe2s
+npesz1
+np2la
+np2l
+np2le
+np2l
+np2lo
+np2l
+npon2t1a2
+npo2r1a
+np2ra
+np2re
+np2r
+np2ri
+np2ro
+np2r
+np2sz
+npu2t1a
+npu2t12
+npu2t1e2
+npu2t1i
+nrefle2x12
+nren2da
+n2s1a2d
+n2s1akc
+ns1alk
+ns1a2r
+ns1ass
+n2s1au
+nsa2vr
+nsa2v1e2
+nsa2vil
+nsa2vol
+n2s1a2z
+nsg1g
+ns1ll
+n2s12rak
+ns1ta
+ns1tv
+ns2ch
+nsc3he.
+nsc3hei
+nsc3h
+ns1dr
+ns1e2l
+ns1elm
+ns1eln
+ns1elo
+ns1els
+ns1elv
+n2s1ene
+n2s1esz
+ns2gel
+ns2g1j
+nsg2kt
+n2s1k
+n2s12l
+n2s1p
+ns12ve.
+ns1fr
+n2s1i2d
+ns1imp
+ns1inf
+n2s1ing
+n2s1ir
+ns1isk
+nsi2z
+ns1izo
+n2s12r
+n2s12v
+n1s2kl
+ns1kl
+n2s1ob
+n2s1ol
+n2s1op
+ns1osz
+n2s1ott
+n2s12r
+n2s1s
+ns2pec
+ns1p2l
+ns2por
+n1s2r
+ns1st
+ns1sy
+ns3szer
+ns3szi
+ns3szo
+ns3sz
+n1s2tab
+n1s2tc
+nste2i
+n1s2tim
+ns2top
+nsu2r
+ns1ura
+n2s1u2t
+ns1r
+n2sz1a2d
+nsza2k1
+nsz1alk
+n2sz1a2n
+ns3zar
+n2sz12ba.
+ns3zr
+nsz12ru
+n2sz1it
+n2sziz
+n2sz1omm
+nsz1p2
+n2szut
+n2sz12z
+nsz1z
+nt1abla
+n2t1abr
+nta2cl
+ntad2
+nt1a2d
+nt1a2ga.
+n2t1agg
+nta2gyu
+nta2gy
+ntai2k
+n2t1ajk
+n2t1ajt
+n2t1akc
+n2t1akt
+nt1alt
+nt1alel
+n2t1alf
+nt1anta
+nt1a2ra.
+nta2ran
+n2t1a2r
+n2t1arc
+n2t1ark
+nta1s2p
+nt1assz
+n2t1aty
+nt1a2ura
+nta2
+n2t1azo
+nt1br
+nt2cs
+nt1csi
+nt1cso
+nt2r1a2d
+n2tram
+nt2rv
+nt1rny
+nt2ruk
+n2t1s
+n2t1sv
+n2t1ti
+n2t1tl
+n2t1tr
+n2t1ts
+n2t1tv
+nt2zsi
+nt1bl
+nt1br
+nt1dr
+nt1ebe
+n2tedn
+nt1edi
+nte3g
+n2t1ela
+n2t1elb
+ntele2m
+nt1elf
+n2t1elj
+n2t1elk
+n2t1ellen
+n2telml
+n2teln
+n2t1e2lo
+nte2l
+n2t1elr
+n2t1elto
+n2t1elv
+n2t1elz
+n2t1ember
+n2t1e2mel
+n2t1eml
+n2t1emu
+n2t1endr
+n2t1ent
+nte2rl
+nte2rele
+nte2r1in
+nter2v1e2l
+n2t1erz
+n2t1esth
+n2t1eszk
+n2t1eva
+nt1e2vet
+nt1e2vez
+nt1g.
+nt12g
+n2t12kek
+nt2kes
+nt2k
+n2t1ks
+n2t12le
+n2t12ls
+n2t1lm
+n2t1lt
+nt1l
+n2t12neke
+n2t1p
+n2t1rin
+n2t1rm
+n2t1rt
+n2t1rz
+nts3s
+nt2ter
+n2t12ven
+n2t12vet
+n2t12vb
+n2t12vn
+n2t12vr
+n2t12vt
+nt1vh
+nt1vk
+nt1vt
+nt1fl
+nt1fr
+nt1gr
+ntia2n
+ntia2t
+nt1ido
+n2t1ige
+nti1k2l
+ntil2lt.
+n2t1ille
+n2t1imp
+n2t1info
+n2t1ing.
+n2t1inga
+nti1nk.
+n2t1int
+nti1
+nti2par
+n2t1ir
+n2t1iro
+n2t1isk
+n2t1ism
+n2t1iste
+nti2vs
+nt1izo
+n2t1g
+n2t1j
+nt1r
+n2t1vb
+n2t12z
+nt1kl
+nt1kr
+n2t1of
+ntoka2
+n2t1o2k1al
+n2t1okl
+n2t1olda
+n2t1old
+n2t1o2ly
+nto2m1e2
+nt1opc
+nto2ras
+nto2rk
+nto2rin
+nt1orm
+nt1orro
+n2t1oszl
+n2t1oszt
+n2t1otth
+nt1p
+n2t12r
+n2t12ri
+ntt2
+nt1tr
+nt1kl
+nt12k
+nt12l
+nt1nt
+n2t1rd
+nta2
+nt2n
+nt1rb
+nt1rl
+nt1rn
+n2t1z
+nt1pl
+nt1pr
+nt2rans
+ntransz1
+ntranszk2
+n1t2rf
+n1t2rf
+nt1ry
+nt1sh
+nt1sk
+nt1sp
+nt1st
+ntsz2
+ntsz2m1
+nt1szv
+nt1t2r
+n2t1udv
+n2t1ug
+n2t1uj
+ntu2mor
+ntu2n
+n2t1una
+nt1und
+ntun1i
+nt1u2r
+ntu2sza
+nt1ut
+n2t1g
+n2t1j
+nt2ral
+nt2ran
+nt12sz
+n2t1g
+n2t12l
+nt1lt
+n2t1t
+n2t12v
+n2ty1a2l
+n2ty1a2n
+n2tyl
+n2ty1e2l
+n2ty1l
+n2ty1ik
+n2ty1int
+n2ty1iv
+n2ty
+n2ty12r
+n2tyut
+1nu
+n1ucc
+nu2ga
+nu2go
+2n1ujj
+nu1k2la
+nu1klu
+nu2m
+2n1und
+2n1u2ni
+2n1u2no
+2n1unt
+nu2ram
+nu2r
+nu2sal
+nu2sas
+nu2s1av
+nu2s1e
+nu2s1rt
+nu2sik
+nu2sol
+nu1s2po
+nuss2
+nus3szi
+nu2szab
+nu2s3zav
+nu2szir
+nu2sz
+nu2sz1ol
+nu2tal
+nu2tat
+nu2taz
+nu2tl
+nu2te
+1n
+n1jd
+n2j
+2n1js
+nksz1
+n1pr
+2n1r.
+2n1rb
+2n1rh
+2n1rn
+2n1rr
+2n1rt
+2n12sz
+2ntb
+2nth
+2ntj
+2n1tk
+2n1tn
+2ntr
+2n1ts
+2ntt
+2n1tv
+1n
+n1bl
+2n12d
+2n1dv
+n1fr
+2n1gg
+n1gr
+2n1gy.
+2n1gyb
+2n1gyc
+2n12gye.
+2n12gyei
+2n12gyek
+2n12gyes
+2n12gyet
+2n12gy
+ngy1s
+2n1gyh
+2n12gyi
+2n1gyk
+2n1gyl
+2n1gyn
+2n1gyr
+2n1ld
+n1pr
+n2r
+nst2
+n1str
+2n12tem
+n2ts
+n2ti
+n2t.
+n2tk
+n2ts
+n2t
+n2v
+n2z
+2n1zl
+1n
+n2z
+n2z
+nva2su
+nvgya2d
+nv2gy1ada
+nv2gy1n
+nv2r1al
+n2v1t
+nven2ta
+nv2d1a
+nv2d12r
+nv1ind
+nvona2l1t
+n2v1os
+nv1sk
+nx1ar
+n2y
+1nya
+2ny1abl
+2ny1abr
+nya2cl
+2ny1adag
+2nyads
+2nyad
+nya2dz
+2nyaff
+nya2gar
+2nyagh
+2nyagr
+2nyagv
+2nyagc
+nya2gen
+2nyagi
+2nyagj
+2nyagm
+2nyagos
+2nyagta
+2nyaguk
+2nyag
+2nyajn
+2nyajk
+2nyajt
+3nyak.
+nya2k1ala
+nya2kara
+2nyakc
+nya2kel
+nya2k12k
+nya2kiz
+2nyakt.
+2nyakt
+2nyaktb
+2nyakti
+2nyaktj
+2nyakto
+2nyaktu
+2ny1a2lag
+2ny1a2lak.
+2nyalakj
+2nyalakk
+2ny1a2lakr
+2nyalany
+nya2lapb
+nya2laph
+nya2lapo
+nya2lapp
+nya2laps
+2ny1alsz
+2ny1alb
+ny1alp
+2ny1alm
+ny1alte
+2nyalt
+2nyamal
+2nyanal
+2nyang
+2ny1ant
+2nyaot
+ny1a2pad
+nya2pt
+2nyapp
+nya2rn
+2ny1arma
+2ny1arz
+nya1sp
+2nyassz
+2nyaszt
+2nyatk
+nya1tr
+2nyaty
+2nyauk
+2nyavat
+1ny
+2nybr
+2nydn
+2nydt
+2nyk
+2ny1g
+2nyld
+2nyll
+ny2lom
+2nymk
+2nymn
+2nyp
+2ny12rad
+2ny12rai
+2ny12rak
+2ny12ram
+2nyras
+2ny12rat
+ny2rb
+ny2rn
+ny2rt
+ny2rv
+2nyrc
+2nyre
+2nyrh
+2ny1rj
+2nyrk
+2nyrp
+3nyrt.
+2ny2ru
+2nyr
+2nyrv
+2nys
+ny2szak
+ny2szr
+2nyta
+2nyt
+2nyt
+2nytf
+2nyth
+2nytk
+2nytm
+2nytn
+2nyt
+2nytr
+2nyts
+2nytt
+2nyt
+2nytv
+ny1bl
+ny1br
+ny1cv
+1nydre.
+1nye
+2nyedn
+2nyedz
+2nyeff
+2nyegyl
+2nyegys
+2nyeke.
+2nyekei
+2nyek
+2ny1elb
+2nyelc
+2nyelef
+2nyelemz
+2ny1elf
+ny1elha
+2nyelj
+ny1elk
+2ny1ell
+ny1elma
+2nyeln
+2nyel
+2ny1e2l
+2nyelz
+2ny1elr
+2nyels
+2ny1elt
+2nyeltr
+2nyelto
+2ny1ell
+nyel2vesz
+2nyelvev
+2nyember
+2nyembl
+2nyembr
+2nyemel
+2ny1emit
+2ny1eml
+2nyenc
+2nyene
+2ny1eng
+nye1p
+2nyerd
+2nyerej
+nye2rekl
+2ny1erk
+2nyerny
+2nyerm
+2ny1esem
+ny1eser
+2nyeset
+2nyesl
+2nyestj
+2nyeszk
+2nyetik
+2nyeve
+nye2vez
+2nyev
+2nyevo
+2nyev
+2ny1ex
+2nyezr
+2nyezs
+1ny
+2ny1br
+2nyhen
+2nyhes
+2nyhs
+ny12jek
+2nylet
+2nylm
+2nyneke
+2ny12nek
+2ny12nekn
+2ny1p
+2nyrc.
+2nyrem.
+ny2r1e2s
+2nyrin
+2nyr.
+2nyri
+2nyrt
+2nyrtk
+nyr2
+2nyrv.
+2nyrz
+2nytel
+2nytke
+2nytl
+2nyv.
+2nyvb
+2nyve.
+2nyvei
+2nyvek
+2nyvem
+2nyven
+2nyves
+2nyvet
+2nyvez
+2nyvb
+2nyvr
+2nyvt
+2nyvv
+2nyvf
+2nyvi
+2nyvk
+2nyvm
+2nyvn
+2nyvr
+2nyvs
+2nyvt
+2nyv
+2nyv
+2nyvv
+ny1fl
+ny1f2r
+ny1gl
+ny1gr
+1nyi
+2nyibo
+2nyideg
+2nyidej
+2nyid
+nyi2b
+2nyifj.
+2nyifjb
+2nyifj
+2nyifji
+2nyifjk
+2nyifjn
+2nyifjr
+2nyifjs
+2nyifjt
+2nyifjv
+2nyiga
+2nyiha
+2nyihl
+2ny1ill
+2ny1ima
+2nyim
+2ny1imb
+2nyimp
+2nyinas
+2nyinc
+2nyind
+2nyinf
+ny1ing.
+2nyinj
+2nyins
+2ny1int
+2nyinv
+2ny1i2p
+2nyir
+2nyiri
+2nyirod
+2nyirt
+2nyisko
+2nyism
+2nyisp
+2nyist
+2nyivad
+2nyivs
+2nyiv
+2ny1izn
+2ny1izt
+1ny
+2ny1g
+2ny1j
+3nyl
+2ny1n
+2ny1v
+2ny1z
+1nyjb
+3nyk.
+nykar1ra
+1nyket.
+1nykk
+ny1kl
+1nykn
+ny1k2r
+ny1k2v
+1nym.
+1nymet.
+1nymt
+1nyn.
+1nyo
+2ny1ob
+2nyod
+2ny1of
+2ny1okke
+2ny1okl
+2nyokos
+2nyokoz
+2nyokta
+2ny1o2laj
+nyolc1c
+2ny1olda
+2nyold
+2nyold
+ny1oll
+2ny1oltr
+2nyolts
+2nyolvas
+3nyom.
+3nyomat.
+3nyomatk
+3nyomatom
+3nyomo
+3nyomt
+2ny1op
+ny1orc
+ny1orm
+ny1ors
+ny1orv
+2ny1osko
+2nyosto
+2nyoszl
+2nyoszt
+2ny1ott
+2ny1ov
+2ny1ox
+1ny
+ny12ni
+ny2rc
+ny2rn
+2nyri
+ny2s1
+1ny
+2ny1b
+2ny1c
+2ny12l
+ny1nt
+2ny1v
+1ny
+2nyrs
+ny1pl
+ny1pr
+ny1ps
+3nys.
+ny1sc
+3nysek
+ny1sh
+ny1sk
+ny1sl
+ny1sp
+nys2t
+1nyst.
+ny1sta
+ny1st
+1nyu
+2nyud
+2nyuj
+2nyuk
+2ny1ukr
+3nyul
+2nyuni
+2nyuno
+ny1ur
+2nyut
+ny1u2ta
+ny1u2t
+1ny
+2nyjd
+2nyj
+2nyj
+2nyjs
+3nyl
+ny2l
+2ny1r.
+2nyrb
+2ny1rh
+2nyri
+2nyrk
+2ny1rn
+2ny12ro
+2nyrr
+2ny12sz
+2nytb
+2ny1t
+2nyth
+2ny1ti
+2nytj
+2nytk
+ny1tl
+2nytm
+2nytn
+2nytp
+2nytr
+2nytt
+2nytv
+1ny
+2ny1d
+2ny12g
+2ny1ld
+ny1le
+2nynn
+2ny1r
+2ny1t
+2nyze
+1ny
+2ny1r.
+2nyrb
+2ny1r
+2ny1rh
+2ny12ri
+2ny1rj
+2ny1rl
+2ny1rn
+2ny12r
+2nyrr
+2ny1rt
+2ny12z
+2ny12z.
+2nyzb
+2nyzen
+2nyz
+2nyzh
+2nyzk
+2nyzn
+2nyzr
+2nyzt
+2nyzv
+ny2vk
+ny2v1isk
+ny2v
+ny2vs
+ny2v
+ny2v
+nyz2ke
+nza2c
+n2z1ac
+nz1ad
+nz1ado
+nz1ad
+nz1a2ga
+nz1agg
+nz1ajta
+nz1akc
+nz1akk
+nzak2o
+n2z1akt
+nz1ald
+n2z1alk
+nz1ang
+n2z1a2ny
+nz1app
+nz1ara
+nz1ar
+nz1arc
+nz1ari
+nz1aut
+nz12gy
+nz1ll
+n2z12rad
+nz1rny
+nz2r12ra
+n2z12ru
+nz2s1e2
+nz1s
+nzs3s
+nz1t1a2
+nz1d2r
+n2z1e2g
+n2z1elb
+n2ze2leme
+n2z1e2lr
+n2z1elf
+n2z1elha
+n2z1elis
+n2z1elk
+n2z1ell
+nz1ellen
+n2z1elm
+n2z1elny
+n2z1elo
+n2z1e2l
+n2z1e2ll
+n2z1e2lt
+n2zelz
+n2z1els
+n2z1elta
+n2z1elt
+n2z1elver
+n2z1elv
+n2z1elvo
+nz1ember
+n2z1e2mel
+nz1e2ms
+n2z1emi
+nz1eml
+n2zener
+nz1er
+nzer2t1a2
+nzer2v1a2d
+nzerv2t
+nzer2v1te
+nzer2vi
+nze2su
+nz1eszk
+n2z1ez
+n2z1g
+nz2k1el
+n2z12l
+n2z1r.
+n2z1rd
+n2z12rem
+n2z1rk
+n2z1rm
+n2z1rt
+n2z1rv
+n2z1rz
+nz1tv
+nz1gr
+nzi2a
+n2z1i2ga
+n2z1ig
+n2z1ill
+nzi2m1a2
+nzi2m
+nzi2mi
+nzi2n12
+nzi2n1o
+nzi2n12
+n2z1i2p
+nz1ir
+nz1ism
+n2z1ist
+nzi2tr
+nzite2
+nzi2t1el
+nzi2ten
+nzi2t12ve.
+n2z1b
+nz1g
+nz1n
+nz1kl
+nz1kr
+n2z1okl
+nzo2lin
+nzo2l
+nzo2n1a
+nzo2n
+nzo2rin
+n2z1osz
+nzksz1
+n2z1n
+nz2r
+nz1r
+n2z1s
+n2z12v
+n2z1z
+nz1pl
+nz1pr
+nz3saj
+n2z3sr
+n2z3st
+n2zsv
+nz3seg
+n2z3ser
+nz3sik
+n2z3sis
+n2z3sod
+nz3sor
+n2z3s
+nz3s2p
+nz3s2t
+nz3sz
+nzt2r1a2d
+nz1t2r
+n2z1uj
+nzu2l1a
+nzu2m
+nz1u2ra
+nzu2san
+nzus3s
+n2z1u2t
+nz1j
+nz12t
+n2z1d
+n2z12g
+nz1s
+nz1v
+n2z12z
+nz3zs
+2o.
+o1a
+oa2c
+oa1fr
+o2aki
+o2a1k2v
+o2ami
+oa2nali
+o2asi
+o2asz
+o1
+o2ga
+o2r1a2n
+o2ril
+o2r
+o2r1ol
+o2zs
+oba1b2
+oba1d2
+o2b1alj
+obal2t1a2
+oba1p
+ob1a2ra
+obau2
+obs3s
+ob1tm
+ob2b1eg
+ob2b
+o2b1eg
+ob1ele
+o2b1e2m
+o2b1er
+o2b1ez
+o2b12g
+o2b1rz
+obi2ki
+obi2k12
+obi2lin
+obi2lip
+obina2
+ob1ina.
+obi2n1al
+o2b1ing
+o2b1i2s
+ob1v
+1objek
+ob1kl
+1o2boa
+o2b1oll
+obo2r1a
+obo2rin
+obo2r1os
+obo2t12
+obo2tin
+obksz1
+o2b12n
+ob12r
+ob1t
+ob1pr
+1obst
+o2b1ut
+o2b12s
+ob1g
+ob1r
+ob1t
+ob1r
+oca2k
+o2c1g
+o2c1l
+oc1er
+oc12k
+o2c3hi.
+oc3hok
+oc3hot
+oci3a
+ocie2
+oci1k2r
+oci2
+oci1p
+oci1sz2
+o1c2kef
+oc2k12l
+ock2n
+ock1ne
+o1c2kr
+o1c2kt
+o1c2ki.
+oc2kia
+o1c2kig
+o1c2kin
+o1c2kit
+o1c2kiv
+oc2kop
+o1c2kosn
+o1c2koso
+o1c2kosr
+o1c2koss
+oc1pr
+o2c3sap
+o2cs1l
+ocs2s
+o2cs1sz
+o2cs12z
+o2cs1e2
+oc3sr
+ocsi2ra
+o2cs1ing
+ocs1izm
+o2cs2
+oc3sn
+o2csop
+ocs1s
+ocs1t
+o2csuj
+o2cs12
+oc3sza
+ocs3z
+oc3sze
+oc3zs
+o2daad
+oda1b2
+o2d1adj
+oda1dr
+o2d1akk
+o2d1alj
+oda1p2
+odas2
+o2d1ass
+od1aszt
+odat2
+oda1tr
+od1aut
+odb2
+od1ll
+o2dru
+odsksz1
+ods3s
+od2s3z
+1o2dz
+od1ed
+ode2l
+odel2l1a
+ode2min
+od1e2v
+o2d12g
+od12ne
+o2d1p
+o2d1rd
+o2d12te
+o2d12ve
+od12v
+2odz
+od1ide
+odi2g
+o2d1iga
+o2d1ikre
+odi2l1e
+odi2lid
+odi2lik
+odi2l1is
+o2d1int
+o2d1iro
+od1isp
+od12z
+od1kl
+od1obo
+o2d1okt
+o2d1op
+odo2rak
+odo2rosz
+od12l
+od12r
+od12r
+od1pr
+o1d2ram
+o1d2rma
+od1st
+odu2l1a2l
+o2d1u2r
+1odn
+od1g
+od1n
+od1z
+1odvb
+od3ze
+od3zo
+o1e
+oe2ir
+oe2le
+oe2mu
+oe2ne
+oe1t2he
+oe2ur
+oe2uv
+o1
+o2fa
+o2f
+o2fo
+o2ke
+o2ki
+ona2
+o2n1al
+o2n1an
+o2n1ar
+on2
+o2n1r
+o2nis
+o2sz
+o2vi
+ofi2lad
+ofi2lak
+ofi2l1
+ofi2lel
+ofi2lr
+ofili2
+ofi2l1iga
+ofi2l1ig
+ofi2lis
+ofi2l1osz
+ofi2tal
+ofi2t1e2
+of2la
+of2l
+ofona2
+ofo2n1al
+ofo2nan
+ofo2n1
+ofo2n1r.
+ofon3n
+ofo2n12
+ofor2m12
+of2r1e
+ofr2
+of2r
+og1abr
+o2g1a2g
+oga2kar
+o2g1ak
+o2g1a2la
+o2g1a2l
+o2g1alj
+og1all
+og1alt
+og1alu
+o2g1a2ny
+o2g1ap
+og1arc
+o2g1a2sz
+oga2t1a2g
+oga2t1e2
+oga2t1i2n
+og1a2ty
+2ogaz
+o2g12g
+og1ll
+og1lm
+o2g1p
+o2g12rak
+o2g1re
+o2g1rja
+o2g1rjt
+o2g12rok
+og2ros
+o2g12ru
+ogsksz1
+o2gs
+o2g1ta
+o2g1te
+o2g1tj
+o2g1tk
+o2g1tl
+o2g1tn
+o2g12to
+o2g1tr
+o2g1ts
+o2g1tt
+og1t
+o2g1tv
+og1bl
+ogd2j1a2d
+og1dr
+o2g1e2d
+o2g1e2g
+ogegsz1
+o2g1e2l
+o2g1em
+o2g1e2p
+oge2r
+og1ere
+og1ern
+og1er
+oge2s
+o2g1ese
+o2g1e2v
+o2g1ez
+o2g12g
+o2g12l
+ogn1n
+o2g12p
+o2g1r.
+og1rte
+og1rt
+o2g1rt
+o2g1rv
+o2g1s
+og1fl
+og1fr
+og1g2l
+o2g1ic
+o2g1i2d
+o2g1if
+ogi2g
+o2g1iga
+o2g1ig
+o2gill
+og1inf
+o2g1ing
+og1ins
+o2g1int
+o2g1ip
+og1i2ro
+og1ita
+o2g1j
+og1n
+og1r
+og1v
+og1kl
+og1kr
+o1g2lic
+o1g2nai
+o2g1odv
+og1org
+og1orr
+og1orz
+o2g1oszl
+o2g1oszt
+o2g1o2v
+og12b
+og12l
+og12r
+og1s
+og12r
+og1pl
+og1pr
+2ografi
+2ograp
+2ogrf.
+2ogrff
+o1g2rffa
+o1g2rfh
+o1g2rfj
+o1g2rfr
+o1g2rl
+og1sk
+og1sp
+og1s2t
+og1tr
+og1u2ra
+og1u2ru
+o2g1u2s
+o2g1u2t
+o2g1j
+og12g
+og1l
+og1r
+og1t
+og1z
+og1z
+ogy1a2c
+ogy1a2p
+ogy1is.
+ogy1os
+ogy2
+oha2mal
+oha2mel
+oha2mes
+oha2mis
+ohas2
+oha1sp
+o2h1g
+o2h1l
+oh2nyad
+oh2nyan
+oh2r1e
+oh2szi
+oh2sz1odv
+o2h12z
+oh1e2c
+oh1ing
+oh2ni
+o2h1orr
+oh2csi
+oh1r
+oh12v
+oh1ur
+o1i
+oi2ae
+oi2af
+oi2an
+oi2av
+oi2ba
+oida1
+oi2d1ad
+oi2dan
+oi2dl
+oi2d1e2
+oi2dol
+oi2d3z
+oilet2
+oina2
+oi2n1ad
+oi2ne
+oi2re
+oisel2
+oi2zo
+o1
+oj2r1as
+ojs3s
+ojs3z
+ojek2t12
+ojek2t12
+ojek2t1o2
+oj1in
+oj2t1ra
+oj2t1orjk
+ojt2
+ok1abl
+ok1a2c
+o2k1a2dat
+o2k1a2d
+o2k1a2d
+o2k1a2kar
+ok1akv
+o2k1alj
+o2k1alk
+ok1alm
+ok1alt
+ok1ang
+ok1ani
+ok1ant
+oka1p2l
+ok1app
+ok1a2ra
+ok1arc
+oka2ris
+o2k1asp
+o2k1ass
+ok1aszf
+ok1aszt
+o2k1att
+o2k1aty
+oka2u
+ok1aut
+o2k1ava
+o2k1g
+ok1jt
+ok1rad
+o2k12rak
+ok2rul
+o2k1rv
+ok2sal
+ok1s
+oks3s
+ok1sz
+o2k1te
+ok1bl
+ok1br
+ok1dr
+o2ke.
+ok1e2b
+o2k1e2c
+oke2d
+ok1ed
+o2k1e2g
+o2k1e2l
+o2k1e2m
+ok1er
+ok1erk
+ok1ernel.
+ok1e2r
+o2ke2s
+ok1es
+o2k1e2v
+ok1e2z
+o2k1g
+ok12ke
+ok12k
+o2k1l.
+ok12les
+ok12let
+ok12l
+ok1ln
+ok1lt
+o2k12ne
+ok2p
+ok3p
+ok1p
+o2k1p
+o2k1r.
+o2k1rb
+o2k1rc
+o2k1rd
+o2k1rg
+o2k1rh
+o2k12ri
+o2k1rm
+o2k1rr
+ok1rt
+o2k1rte
+o2k1rt
+ok1rt
+o2k1rz
+ok1s2
+oksz2
+o2k1tk
+o2k1tt
+o2k12ve
+ok1fl
+ok1fr
+ok1gr
+o2k1i2de
+o2k1i2do
+ok1i2ga
+okigaz1
+ok1ig
+o2k1ig
+ok1ind
+o2k1int
+o2k1i2r
+o2k1i2ro
+o2k1isk
+ok1ism
+o2k1isp
+ok1iste
+o2k1i2ta
+o2k1izm
+ok1j
+ok1r
+ok1v
+ok1z
+ok2kab
+ok2k1a2d
+ok2k1aj
+ok2k1ale
+okk1alk
+ok2k1as
+ok2kaz
+okk1elh
+okk1el
+okk1el
+okk1elr
+1okker
+ok2k1es
+ok2kp
+ok2kid
+ok1kl
+ok2kob
+okk1ss
+okk12v
+ok1kri
+ok2kud
+ok2k1ur
+o1k2l
+ok2lor
+o2k1ob
+okola2
+oko2lr
+o2k1olts
+okon1n
+oko2n1oks
+oko2ra
+oko2r1
+oko2ril
+oko2ris
+o2k1orm
+ok1o2ro
+o2k1osz
+o2k1o2v
+o2k1b
+o2k12d
+ok12k
+o2k1l
+o2k1n
+ok2r
+o2k1s
+o2k12v
+ok12z
+ok12r
+ok1pl
+ok1pr
+o1k2ris
+o1k2rm
+ok2sel
+ok1sp
+oksz1alm
+ok2szan
+ok2sz1es
+ok2sz1is
+1oktn
+o2k1ud
+o2k1ug
+o2k1uj
+ok1u2ra
+o2k1u2t
+ok1r.
+ok1rb
+ok1rh
+ok1rr
+ok1sz
+o2k1tb
+o2k1th
+o2k12ti
+o2k1tj
+o2k1tk
+o2k1tn
+o2k1tr
+o2k1tt
+ok1tu
+o2ktv
+ok1g
+ok12l
+ok1n
+ok1r
+ok12t
+ok12v
+ok1z
+ok1z
+o3la.
+ol1abl
+ola1d2
+ola1f2
+1o2laj.
+1o2lajb
+1o2lajf
+1o2lajg
+1o2lajh
+1o2laji
+1o2lajj
+1o2lajk
+1o2lajm
+1o2lajn
+1o2lajp
+1o2lajr
+1o2lajs
+o2lajt
+o2laju
+1o2laj
+o2lajv
+ola1k2r
+o2l1alg
+ol1alk
+ol1amn
+ol1anya
+ola1p2
+ola1s2p
+ola1s2t
+ola2t1ala
+olat1any
+ola2tl
+ola2tp
+ola2tk
+ola2t1inf
+ola2t12v
+ola2t1ol
+ola2t1orn
+ola2t1l
+ola2tz
+olau2r
+ol1br
+o2l12g
+ol2ha
+ol1ll
+o2l1rb
+o2l1rh
+o2l12ria
+ol2ri
+o2l1rk
+o2l1rn
+ol2rok
+ol2ron
+o2l1rr
+o2l1rt
+o2l12ru
+ol2sza
+o2l12ti
+o2l1tv
+ol2caj
+ol2cal
+ol2c1a2n
+ol2c1e2k
+ol2cel
+ol2ces
+ol2c1v
+ol2c3h
+olc1iko
+ol2c
+ol2c
+ol2c
+ol2c3sor
+ol2cs
+olc3sz
+ol2c
+ol2cz
+ol2dab
+1oldal.
+1oldal
+1oldalb
+olda2le
+1oldalh
+1oldalk
+1oldall
+1oldaln
+1oldalo
+1oldalr
+1oldalt
+1oldalu
+1oldal
+ol2d1any
+ol2dap
+olda2tel
+ol2d1au
+ol2dl
+ol2deg
+ol2d1el
+ol2d1ell
+ol2d1elv
+old1emb
+ol2d1e2r
+ol2d1e2s
+ol2dev
+ol2dez
+ol2ds
+ol2d1ve
+ol2dip
+ol2d1is
+ol2dor
+1olds
+ol2d12
+ol2dud
+ol2d1u2g
+ol2d1
+ol2d
+ol1e2g
+o2l1e2l
+o2l12d
+o2l12g
+o2l1l
+ol1r.
+ol1rd
+ol12re
+ol1r
+ol1rh
+ol12ri
+ol1rj
+ol1rl
+ol1rn
+ol1r
+ol1rs
+o2l1rt
+ol12r
+ol1rv
+o2l1rz
+olfa2k
+ol2fau
+ol2f1r
+ol2fes
+ol2fet
+olf1ing
+ol2fir
+ol2fis
+olfu2
+ol2f1ut
+ol2fj
+ol1gl
+ol1g2r
+2olib
+o2l1i2du
+1o2liga
+oli2gz
+o2l1ig
+ol1ill
+ol1i2ma.
+o2l1i2m
+1olimp
+oli2nu
+o2l1i2pa
+olipe2
+oli2p1et
+o2l1isk
+oli2szl
+ol1v.
+oll1a2gy
+ol2l1aj
+olla2l
+ol2l1ala
+ol2l1alj
+ollan2d12
+oll1any
+ol2l1atk
+oll1att
+ol2l12g
+ol2l1e2c
+oll1ege
+oll1eg
+ol2l1e2gy
+ol2l1e2h
+olle2l
+oll1ele
+ol2l1emb
+oll1ese
+ol2l12k
+ol2l1ri
+ol2l1inf
+oll1inge
+oll1ing
+oll1ingi
+oll1ingj
+oll1ingn
+oll1ingr
+oll1inj
+ol2lins
+ol2l1int
+oll1isk
+ol2lob
+ol2lor
+ol2l1osz
+ol2l1
+ol2l12
+oll1s
+ol2lub
+ol2lul
+ol2l1u2s
+ol2l
+ol3lyu
+oln1ike
+o2l1o2l
+o2l1op
+olo2r1e
+ol1ott
+o2l1ox
+ole3dnn
+ol1f2
+o2l12n
+ol1nn
+ol12no
+ol1nr
+ol1nt
+ol2ri
+ol2rj
+ol2rk
+ol2rn
+ol2rr
+ol2rt
+ol12ri
+olt2
+ol1tr
+ol12l
+ol1r
+ol1s
+ol1p2l
+ol1p2r
+ol1sk
+ol2t1aj
+1oltalm
+1oltalo
+ol2t1ari
+ol2t1g
+ol2t1ta
+ol2t1eg
+ol2t1em
+olte2r
+ol2t1ere
+olte2s
+ol2t1e2v
+ol2t1p
+ol2t1r.
+ol2t1rr
+ol2t1s
+ol2tid
+ol2tim
+ol2tis
+ol2tiz
+ol2t1old
+1olt
+1olth
+1oltk
+1oltlo
+1oltm
+1oltn
+olt2r
+ol2t1r
+ol2tr
+o2l1ug
+o2l1ur
+o2l1u2t
+ol1s
+ol1g
+ol1l
+ol1v
+ol1z
+1olvad
+1olvas
+o2lyabr
+oly1ada
+oly1aggy
+olyame2
+olya2mes
+oly1aszt
+o2lyl
+o2ly1e2
+1o2lyb
+1o2lyh
+1o2lyi
+o2lyl
+1o2lyn.
+1o2lyir
+o2lyim
+2oly
+o2ly1
+o2ly
+o2lyug
+o2ly12
+o2ly12
+o2m1abl
+om1a2dat
+o2m1adm
+o2m1a2d
+o2m1adt
+oma1f
+omaga2
+oma2ga.
+oma2g1ad
+oma2gal
+oma2g12
+oma2ge
+omagi2
+oma2g1in
+o2m1a2gya
+om1agy
+o2m1aj
+o2m1ajk
+oma1kr
+o2m1akt
+om1a2lag
+oma2lapo
+oma2lapr
+o2m1alm
+om1alt
+om1alv
+o2m1amb
+om1ang
+o2m1ann
+om1apad
+o2m1app
+oma1pr
+o2m1a2ra
+o2m1arc
+o2m1arg
+oma2t1rak
+o2m1atk
+o2m1aty
+o2m1au
+om1a2zo
+om2cs
+om2g
+om1gi
+om1go
+om2nyan
+omnyk2
+o2m1p
+o2m12rai
+om12rak
+om12ram
+om1ras
+o2m12r
+o2m1rd
+o2m1re
+om2r.
+om2rt
+o2m1rg
+om2ria
+om2ri
+o2m1rm
+o2m12ru
+om2s
+oms3s
+om2sz
+oms3z
+o2m12t1e
+om12t1
+o2m1tk
+o2m1tm
+om1tol
+o2m1tr
+om2b1a2lo
+om2bg
+om2b1eg
+omb1elh
+om2b1elt
+omb1ne
+om2b1ri
+omb1n.
+omb2r
+omb1ra
+om1bro
+om2buj
+omdio2
+om1dr
+o2m1e2b
+o2m1e2ce
+o2m1e2d
+om1ef
+ome2g
+ome3g
+om1ege
+om1eg
+o2m1egy
+ome2l
+o2m1ela
+om1el
+om1elb
+o2m1ele
+o2m1el
+om1elk
+om1ell
+o2m1elm
+o2m1eln
+o2m1elo
+o2m1el
+o2m1els
+om1elte
+o2m1elu
+o2m1elv
+o2m1e2m
+om1ene
+om1eng
+om1eny
+om1enz
+ome2o
+o2mep
+om1erd
+o2m1e2red
+o2m1e2rei
+o2m1erny
+om1e2ro
+ome2r
+o2m1er.
+o2m1erb
+o2m1erh
+o2m1ern
+o2m1err
+om1ers
+omer1ss
+o2m1ert
+o2m1erv
+om1e2r
+ome2s
+om1ese
+om1es
+om1ess
+om1est
+o2m1e2ti
+o2m1etn
+o2m1et
+o2m1e2v
+o2m1ex
+ome2z
+o2m1eze
+o2m1ezred
+o2m1be
+om12de
+o2m1g
+o2m12he
+o2mhs
+om1je
+o2m12ke
+o2m12le
+om1l
+om12l
+o2m1p
+o2m1r.
+o2m1rb
+o2m1rc
+o2m12re
+o2m12r
+om2ri.
+o2m1rm
+o2m12r
+o2m1rr
+o2m1rte
+o2m1rt
+o2m1rt
+o2m1rv
+o2m12s
+om2tel
+o2m1tt
+o2m1ve
+om1v
+om1f2l
+om1gl
+om1gr
+om1ide
+omid1i2
+om1i2d
+omi2g
+o2m1iga
+o2m1ig
+om1iks
+o2m1ill
+om1im
+omime2
+omi2mel
+omi2m1
+om1i2na.
+omi2nb
+omi2nv
+o2m1ind
+om1inf
+o2m1ing
+om1inv
+o2m1i2ono
+o2m1i2p
+o2m1ir
+o2m1i2ri
+o2m1iro
+o2m1irt
+o2m1isk
+o2m1ism
+o2m1iste
+omi2sz1
+om1i2tal
+omi2tan
+omi2t1s
+omi2t1e
+omi2tis
+om1iz
+om1izo
+om1izz
+om1j
+o2m1r
+om12v
+om12z
+omj2
+om2j
+omk2rok.
+om1kl
+om1kr
+oml2b1t
+omo2dor
+omo2kas
+2omoly
+o2m1ont
+om1ope
+omo2ras
+omo2re
+omo2riz
+o2m1orj
+om1osto
+omosz2f
+o2m1oszt
+o2m1ox
+om1k
+om12l
+om1n
+om12r
+om1s
+om12t
+om1v
+om12z
+om12r
+om12s
+om2pel
+om1pla
+om2p1ors
+om2p
+om2p1u2t
+om1sk
+om1sl
+om1sp
+om1st
+om2te.
+omtes2s
+om1t2r
+o2m1ud
+o2m1ug
+o2m1uj
+omu2n
+o2m1uno
+o2m1ur
+o2m1u2t
+o2m1u2z
+o2m1j
+om1d
+om1g
+om12l
+om1r
+om1s
+om1t
+om1v
+om1z
+om1r
+om1z
+om1ya
+o2n1abl
+ona2cl
+ona2dat
+ona1dr
+on1ads
+onae2
+on1agg
+on1agi
+on1ag
+on1agyh
+on1ajn
+o2n1ajt
+2onak
+on1akc
+o2n1akk
+on1akn
+o2n1akt
+ona2len
+ona2l1e2s
+ona2lint
+on1alj.
+on1alju
+ona2lok
+ona2los
+1onani
+o2n1a2no
+o2n1ant
+on1app
+ona1pr
+ona1ps
+ona2rc
+onardi2
+ona1s2p
+ona2tl
+onat2
+ona2tz
+on1br
+2onc
+o2n1g
+o2n1llo
+o2n1llv
+o2n12p
+on1rad
+o2n12rak
+on12rat
+on1rb
+o2n1rk
+o2n1rn
+o2n12ro
+o2n1rt
+o2n12ru
+o2n12r
+on1rv
+o2n12sza
+o2n12szokr
+o2n1tl
+on2ts
+o2n1tc
+o2n1te
+on2t1r
+o2n1tf
+o2n1the
+o2n1tm
+o2n1tre
+on1bl
+on1br
+on2cal
+on2c1l
+on2c1e2g
+once2s
+on2c1ez
+on2c1k
+on2c1r.
+on2c1r
+on2che
+on2cid
+on2c1ikr
+onc1ill
+on2cs
+onc3sg
+on2cseg
+oncs1emb
+oncs1g
+on2cs1r.
+onc3sikk
+on2cs1im
+on2c
+on2c
+on2de.
+ond1iko
+on2d1o2kos
+ond1oks
+on2d1osz
+2ondoz
+on2d1l
+on1e2b
+o2n1e2d
+on1e2ge
+on1egg
+o2n1e2gy
+on1e2h
+one2l
+o2n1ela
+o2n1ele
+on1el1
+o2n1elh
+on1elj
+o2n1elm
+o2n1eln
+o2n1elo
+on1el
+o2n1elr
+on1els
+on1elt
+o2n1elv
+o2n1e2m
+one2n
+on1ene
+on1erj
+on1erk
+on1ers
+one2s
+o2n1ese
+ones2s
+on1est
+o2n1e2v
+o2n1ex
+2onb
+on2d
+on1de
+o2n12g
+o2n12he
+on12ke
+on1ks
+o2n12l
+on12ne
+o2n12p
+o2n1rbe
+o2n1rc
+o2nrd
+o2n1ri
+o2n1rl
+o2n1rm
+o2n1rp
+o2n1rs
+o2n1rte
+o2n1rv
+o2n1v.
+o2nvad
+o2n1vb
+o2n12ve
+on12vi
+o2n1vk
+o2n1vn
+on1vr
+on2g1ll
+ongs1s
+on2g1e2c
+on2ged
+on2g1eg
+on2g1e2l
+on2gik
+on1g2l
+on2g
+on2gyad
+on2gy
+onhro2
+onhrom1
+o2n1i2d
+oni2g
+o2n1iga
+o2n1ige
+o2n1ig
+o2n1ij
+on1i2ke
+o2n1ill
+o2n1inb
+on1ind
+o2n1inf
+o2n1ing
+o2n1inj
+o2n1inn
+o2n1inr
+o2n1ins
+o2n1int
+o2n1i2p
+on1i2r
+o2n1iro
+o2n1irt
+o2n1isk
+o2n1ism
+on1iste
+onita2
+o2n1i2z
+on1izo
+o2n1izz
+on1g
+o2n1n
+o2n1v
+on1z
+onk1ll
+onk2rok.
+onk2t1
+on2ne.
+on3nyr
+on3nye
+on3nyo
+on3ny
+on3ny
+o2n1ob
+ono1g2rf.
+ono1g2rfn
+onoka2
+on1o2kal
+on1o2kos
+o2n1okta
+o2n1old
+on1oll
+on1opt
+on1oszl
+ono1sztr
+o2n1o2v
+o2n1ox
+o2n1ri
+on2sak
+on2si
+on2szen
+on1b
+on1l
+on1n
+on1r
+on1s
+on12t
+on12v
+on12z
+on12s
+on1pl
+on1pr
+on1ps
+2ons.
+onsa2v1a2m
+on1s2k
+on1sl
+on1s2m
+on1spe
+on1spo
+on1spr
+on1sr
+on1sto
+onsz2
+on1szf
+on1szt
+ont1agy
+on2t1aj
+on2t1alk
+on2t1ara
+on2t1atr
+on2taz
+on2t1ll
+ont1rv
+on2teb
+on2t1ed
+on2t1e2g
+ont1el
+ont1eld
+ont1elh
+ont1ell
+ont1elm
+on2teln
+on2t1el
+ont1elt
+ont1elv
+ont1emb
+onte2s
+on2t1ese
+ont1k
+on2tl
+on2tig
+on2t1i2ko
+ont1ikr
+on2t1i2m
+on2t1inf
+on2t1int
+onti2sz
+ont1iszo
+on2t1iz
+on2t12v
+on2t1oml
+on2t1ors
+ont1ni
+1ontst
+on2t1s
+on2t1z
+on2tl
+on2tr
+on2t1z
+on2tye
+o2n1ud
+o2n1ug
+o2n1uj
+onu2n
+o2n1una
+o2n1u2r
+o2n1u2t
+o2n1j
+o2n12s
+on2t
+on1tb
+on1t
+on1th
+on1ti
+on1tj
+on1to
+on1tr
+on1tt
+on12c
+o2n12g
+on12l
+o2n1n
+o2n1r
+o2n12t
+on12v
+o2n12z
+on1r
+on1z
+o2ny1ac
+ony1a2d
+ony1akc
+ony1alj
+o2ny1alk
+ony1alt
+ony1anya
+onya1p2
+o2ny1ap
+o2ny1l
+ony1rk
+o2ny1rn
+ony1z
+ony1e2c
+ony1e2g
+o2ny1e2l
+o2ny1e2m
+o2nyen
+o2ny1e2r
+ony1e2s
+o2ny1g
+o2ny12j
+o2ny12k
+o2ny1l
+o2ny12ne
+o2ny1r.
+o2nyr
+onygc1
+o2nyig
+ony1iko
+ony1ing
+o2nyita
+o2nyitk
+o2ny12r
+ony1old
+ony1oml
+o2ny1o2r
+o2nyosz
+ony12r
+o2ny1
+o2ny12
+o2nyug
+o2ny1ur
+o2ny12
+onz1abl
+on2zag
+onz1ajt
+on2zar
+on2zg
+on2z12l
+on2z1ed
+on2z1e2l
+on2z1e2m
+on2z1es
+on2z1k
+on2z1re
+on2z1im
+onz1ing
+onz3sel
+on2z
+o1o
+oo2ib
+oo2in
+oo2pe
+oo2re
+oo2xi
+o1
+o1
+o1
+o2p1a2b
+o2p1a2d
+o2pal
+op1a2la
+o2p1any
+op1a2po
+op1a2r
+opa2u
+o2p1a2z
+o2pl
+o2p1m
+o2p12rat
+opsksz1
+o2p1th
+o2p1tl
+o2p1tm
+op1bl
+op1e2d
+op1e2g
+op1ejt
+op1el
+op1em
+opera1s
+operasz2
+op1erd
+op1erk
+op1er
+op1es
+op1e2t
+o2p12l
+o2p12n
+op1gr
+op1i2ko
+op1ikr
+o2p1im
+op1ind
+o2p1ing
+o2p1i2p
+o2piram
+o2p1i2r
+op1isi
+op1ist
+o2p1i2ta
+opi2z
+op1izo
+op1izz
+op1v
+op1kl
+op1kr
+o2p1ob
+2opol
+o2p1orj
+o2p1orr
+opor2t1a2
+opor2t12
+opor2t1e2
+opor2t1rd
+opor2t
+o2p1orz
+oposz2f
+o2p1ov
+op1s
+op2p
+op2p1is
+op1py
+2opro
+op2roc
+op2rod
+op1sl
+op1sp
+op1sr
+op1s2t
+o2p1ud
+o2p1u2r
+o2p1u2t
+op1j
+o2p1s
+op1d
+op1g
+op1t
+op1z
+o2r1abl
+o2r1abr
+ora2dat
+o2r1a2d
+or1adm
+o2r1a2d
+or1aff
+or1agg
+or1a2g
+ora2kad
+ora2kas
+o2r1akc
+ora1kl
+ora2kol
+o2r1akt
+or1alg
+o2r1alj
+or1alk
+o2r1alm
+o2r1alt
+o2r1alv
+or1amp
+o2r1ana
+o2r1ane
+o2r1ank
+o2r1a2no
+o2r1ant
+or1a2nya
+ora2
+or1app
+o2r1a2r
+o2r1arc
+or1a2ri
+or1aszk
+o2r1atk
+o2r1atl
+or1att
+or1aty
+o2r1a2zo
+o2r1br
+or2cs
+or1cs.
+or1csa
+or1cso
+o2r12g
+or2le
+or1ll
+o2r1llv
+or2l
+o2r12p
+o2r1r.
+o2r12rak
+o2r1r
+o2r1rb
+o2r1rk
+o2r12ro
+o2r1rp
+o2r1rr
+o2r1rt
+or12ru
+or1r
+o2r1rv
+o2r1sv
+or2sze
+o2r1ta
+o2r12t1e2
+o2r1tf
+o2r1th
+o2r1tj
+o2r1tk
+o2r1tm
+o2r1tr
+o2r1ts
+o2r1tt
+o2r1tv
+or1bl
+or1br
+or2c1a2l
+or2car
+1orcd
+or2ch
+or2c3h
+or2c3ho
+orc3sg
+or2c3seb
+or2c3s
+or2c
+or2cz
+or2d1au
+ord1eme
+ord1e2s
+or2dex
+or2d1ing
+2orea
+o3re
+o2r1e2b
+or1ecs
+o2r1e2d
+o2r1ef
+or1e2ge
+or1e2g
+o2r1e2gy
+2ore2k
+or1eke
+or1ek
+ore2l
+or1ela
+or1ele
+or1elh
+or1elj
+or1elm
+or1eln
+or1elo
+or1el
+or1elr
+or1els
+or1elt
+or1elv
+o2r1e2m
+ore2n
+or1ene
+o2r1eng
+or1eny
+o2r1ep
+or1er
+ore2s
+or1ese
+or1es
+or1es
+o2r1ess
+o2r1esze
+o2r1e2v
+or1ez
+o2r12d
+o2r12g
+o2r12j
+or2ks
+or2k1e2
+or1kn
+o2r12l
+o2r12m
+o2r12ne
+o2r1p
+o2r1r
+o2r12te
+o2r1tk
+o2r1v.
+o2r12ve
+o2r12v
+o2r12vi
+o2r1vn
+o2r1vr
+orf2l12v
+orfi2r
+2orgiai
+or1gl
+o2r1ibo
+o2r1i2de
+o2r1i2d
+oridi2
+ori2d1io
+1o2rie
+o2r1ifj
+o2r1i2ga
+o2r1i2g
+o2r1i2gy
+or1iha
+o2r1i2ma.
+o2r1i2m
+o2r1i2na.
+o2rinas
+o2r1i2nn
+o2r1i2nt
+or1i2nv
+o2r1ind
+o2r1inf
+o2r1ing.
+o2r1ingc
+o2r1ing
+o2r1ingi
+o2r1ingn
+o2r1ingr
+o2r1ings
+or1inh
+o2r1inj
+o2r1ins
+orin2t1a2
+orin2tel
+orin2t1
+ori2og
+o2r1i2p
+o2r1i2si
+o2r1ism
+or1isp
+o2r1iste
+o2r1i2sz
+ori2tan
+o2r1i2z
+o2r1g
+o2r12j
+o2r12n
+o2r1r
+o2r12v
+o2r12z
+or3j
+or1k2l
+ork2z1e2p
+or1k2v
+or2m1app
+orma1t2re
+or2m1att
+or2m1azo
+or2m1eb
+orme2g
+or2m1egy
+orm1eli
+orm1elv
+orm1erk
+orm1esz
+orm2t
+or2m1te
+or2m1osz
+or2mv
+or2m1
+or2m1
+or2m
+or2ne.
+ornis1s
+o2r1o2
+orogksz1
+oro2k12
+oro2kor
+o2r1olda
+o2r1o2li
+o2roltl
+o2r1ont.
+o2r1ontb
+or1ont
+or1ontig
+o2r1ontj
+o2r1ontn
+o2r1ontr
+o2r1ontt
+o2r1ontv
+oro2nya
+oro2nyo
+or1ope
+or1opt
+o2r1o2r
+o2r1osko
+o2r1osto
+1o2roszi
+1o2roszr
+o2roszt
+o2r1o2x
+or12ia
+or12ni
+or12r
+or1ri
+or12s
+orso2r
+or2soro
+or12b
+or12c
+or12l
+or1n
+or1r
+or1s
+or1t
+or1v
+or12z
+or12r
+or12s
+or1ph
+or1pl
+or1p2n
+or1p2r
+orr1abl
+or2r1a2r
+or2r1ta
+1orrb
+1orri.
+or2rin
+or2riz
+1orrk
+1orruk
+1orr.
+1orrc
+or2s1a2d
+or2s1ajtk
+ors1alk
+ors1ass
+or2s1l
+or2sed
+or2s1e2s
+or2s12ne
+or2srte
+ors12tt
+or2s12r
+or2sn
+or2s
+or1sr
+or1s2tab
+ors1lt
+ors12t
+1orszg
+orszi2l1
+ors3zn
+or1sz2t
+or2t1agg
+or2t1alm
+or2tana
+orta2n12c
+or2t1ar
+or2tg
+ort1rad
+ort12ram
+ort12rn
+ort12rr
+ort1rbe
+ort1rn
+ort12ruk
+or2t12r
+or2t1e2g
+ort1ejt
+or2t1ela
+ort1e2lem
+or2t1el
+or2t1ell
+or2t1elm
+or2t1eln
+or2t1elo
+or2t1el
+or2t1elt
+ort1elv
+ort1emb
+or2tene
+orte2r1a
+or2t1ess
+ort1eti
+ort1le
+ort1l
+ort1lt
+ort1lv
+or2t1rm
+or2tid
+ort1i2ku
+or2t1int
+or2t1ist
+or2t1ita
+or2tt
+or2t1okm
+or2t1o2kol
+or2t1okta
+or2t1old
+or2t1orm
+or2t1ott
+or2t12r
+or2t1n
+or2t1s
+or2t12v
+ort1ura
+or2t1u2t
+ort1r.
+or2t12zr
+o2r1ud
+o2r1u2g
+o2r1u2r
+o2r1u2t
+o2r1tb
+o2r1th
+o2r12ti
+o2r1tj
+o2r1tn
+o2r12ton
+o2r1tr
+or1ts
+o2r1tt
+or1d
+or12g
+or12l
+or1n
+or1r
+or12s
+or1t
+or12v
+or1z
+or1r
+1orv.
+or2v1a2n
+2orv
+orv1isi
+1orvos
+or2v
+1orvv
+or2z1a2var.
+or2z1e2c
+or2zes
+or2zsan
+orz1z
+o2s1abl
+o2s1a2da
+o2s1a2d
+o2s1akc
+o2s1a2l
+osa2n
+o2s1ang
+o2s1ant
+o2s1any
+o2s1a2p
+os1arc
+os1assz
+os1a2ty
+o2s1au
+o2s1br
+o2s12g
+os1ld
+o2s1ll
+os12lom
+osra2
+os2rak
+osri2
+os2rik
+os2rok
+o2s1ru
+oss1s
+os12t1a
+os1t
+os1tj
+os1tk
+o2s1tr
+os1e2d
+o2s1e2g
+o2s1e2l
+os1emb
+os1e2n
+o2s1er
+o2s1es
+os1e2t
+os1ex
+os1ez
+o2s12g
+o2s12l
+o2s1p
+o2s1rd
+o2s1rte
+o2s1rt
+osg2
+o2s1ide
+o2s1if
+osi2g
+os1iga
+os1ikr
+os1inf
+o2s1int
+o2s1i2p
+o2s1i2r
+os1iro
+os1irt
+o2s1ism
+os1isp
+os1iste
+o2s1i2sz
+o2s1j
+o2s12r
+o2s12z
+os1kl
+os1kr
+2osok
+o2sonh
+o2sonn
+o2sono
+1o2sont
+o2sonu
+1osonv
+o2s1o2r
+os1osz
+os1p
+os1k
+os12l
+os1n
+os12v
+os12r
+os1p2l
+os1p2r
+os1ps
+os1sta
+ossu2
+os2s1ur
+ossz1ll
+ossz12ro
+ossz1es
+ossz1j
+ossz2
+os3sz
+ost1e2te
+os2tip
+os2tir
+os2tiz
+1ostob
+ost1old
+os2t1s
+2ostu
+os2t12
+1ostya
+o2s1ud
+o2s1uj
+o2s1u2r
+o2s1u2t
+os1r.
+o2s12s
+o2s1g
+o2s1n
+o2s12v
+o2s1z
+os3zab
+o2szaj
+osz1al
+osz1alk
+osz1alt
+osza2n
+osz1any
+o2szar
+osz1ar
+osza2t1e2
+o2sz1l
+o2sz1ed
+o2sz1e2g
+o2sz1e2l
+o2s3zen
+osz1ep
+osz1es
+o2szg
+o2szj
+o2sz12l
+o2sz12p
+o2sz1s
+o2szige
+osz1ing
+osz1ism
+osz1ist
+osz2
+osz1v
+o1szkl
+o2sz1o2ro
+osz1ors
+o2sz1orz
+os3zn
+osz12r
+o2sz
+os3zl
+osz2t1alm
+oszt1any
+osz2t1apo
+osz2tr.
+osz2t1rn
+osz2ted
+osz2tell
+osz2t1em
+oszt2r
+osz2t1r
+osz2t1v
+osz2t1osz
+o2szur
+osz1r
+o2sz
+osz1g
+os3zl
+ot1abl
+ot1a2da
+otag2
+ota1gr
+ota1k
+ot1ana
+o2t1ant
+ot1a2ny
+ota1p2
+ot1arc
+ot1arz
+ot1ass
+o2t1a2z
+ot1br
+o2t12g
+ot12rak
+o2t12r
+o2t1rb
+o2t12r
+ot1rn
+ot1bl
+o2teb
+o2t1e2g
+otel1a
+ote2l1
+ote2lel
+ote2l
+ote2m1
+ote2m1o
+ot1e2v
+o2t12l
+o2t1p
+o2t1r.
+o2t1rt
+o2t1rz
+ot1fr
+ot1gr
+oth2r
+o2t1id
+o2t1im
+otina2
+ot1i2na.
+oti2nar
+oti2nr
+o2t1ind
+otink2
+2otipa
+2otipi
+2otipn
+2otipt
+o2t1ir
+o2t1is
+o2t1iz
+ot1j
+ot1n
+ot1kl
+ot1k2r
+o2t1ob
+oto1gram
+ot1ola
+otona2
+oto2n1
+oto2n1in.
+oto2nis
+oton3n
+oto2rak
+oto2rl
+oto2rr
+oto2re
+oto2rim
+oto2rin
+oto2rol
+otosz2f
+ot1f2
+2otp
+ot2pan
+ot2pas
+ot2pin
+ot2p1osz
+ot2st
+ots3s
+ot1sta
+ot1sz
+ot2s3zr
+ott2
+ot1tr
+ot12l
+ot1s
+ot1pl
+ot1pr
+ot1ps
+o1t2rag
+ot1sp
+ot1sr
+ot1st
+otta1g2
+ot2t12g
+1ottl
+ot1ura
+ot1u2sz
+o2t1j
+ot1ri
+ot12l
+ot1t
+ot12z
+ot1r
+otva1k2
+otya1
+o1u
+ou2ag
+ou2il
+ou2le
+o1
+o1
+o1
+ova2ga
+ova2g1i2n
+ova2r1an
+ova2rt
+ova2r1el
+ova2rk
+ova2rs
+ova2ris
+ovas3s
+ovau2
+ovb2b1o
+ov2s12r
+ov2sik
+ovio2
+ow1el
+1oxidb
+1oxidr
+o2xig
+1oxilc
+oy2ce
+oza2g
+ozag1a
+oz1agi
+o2z1a2l
+oza2mal
+oza2m1e2
+oza2m1rt
+oza2min
+oza2n
+o2z1any
+oza2r
+oz1ara
+oza2tat
+oza2tl
+oza2t1e2
+oza2ts
+oza2t12te
+ozat1ill
+oza2t12
+oza2t1ol
+o2z1au
+o2z12g
+oz2ke
+oz1ll
+o2z12ro
+o2z1ru
+oz2s1e
+ozs3s
+oz2s3z
+o2z1tl
+oz1e2g
+oz1e2m
+oz1en
+oz2k1e2
+o2z12l
+o2z12p
+o2z12r
+oz1i2do
+o2z1i2par
+oz1iro
+ozi2s1aj
+ozi1sl
+ozi1st
+ozi1sz2
+ozi2t1a2
+oz12n
+o2zor
+oz1ors
+o2z1osz
+ozegyez1
+2ozfia
+2ozfib
+2ozfih
+2ozfija
+2ozfin.
+2ozfina
+2ozfir
+2ozfit.
+2ozfit
+2ozfiva
+oz2tan
+oz1p2r
+o2zs1a2l
+ozsa2n
+ozs1any
+o2zs1
+ozs1s
+o2zs
+oz1n
+oz12z
+oz1r
+ozz1s2
+2.
+1a
+a2c
+a2dag
+a2d
+a2do
+a2d
+a2ga
+a2gi
+a2gy
+a2j
+ajti2
+a2kad
+a2kar
+a2k
+a2ku
+a2la
+ala2g1
+a2l
+a2l1e
+almana2
+almanac3
+a2lo
+al1os
+a2lu
+a2ma
+a2na
+a2n
+a2ny
+a2p
+a2po
+a2p
+a2pu
+a2ra
+a2r
+a2r
+a2ri
+a2ro
+a2to2
+atom1
+a2ty
+a2uk
+a2ur
+a2ut
+a2va
+a2xi
+a2zo
+1
+2b
+2cs
+2ga
+2gi
+2go
+2gy
+2h
+2la
+2lo
+2po
+2r
+2ru
+2r
+2sa
+2s
+2sz
+2ta
+t1a2d.
+2t
+2t1e2
+2t
+2t1i2
+2t
+2to
+2t1
+2tu
+2t
+2t
+2bab
+2baj
+2bak
+2bal
+2band
+2bank
+ba1p2
+2bar
+2bark
+2barna
+bas2
+ba1t2r
+bau2
+2bec
+2bef
+2beg
+2beh
+2bej
+2bek
+2bele
+2bel
+2bels
+2bem
+2beo
+2ber
+2bet
+2bev
+2bez
+2bg
+2bil
+2bio
+2bir
+2bit
+2biz
+1b2le
+1b2lo
+2bj
+2bl
+b2r
+1b2ro
+b2rk
+1b2ru
+buda2ik
+buszt2
+bu2sz1
+2c1aj
+2c1akr
+c1a2la
+c1alk
+2c1ar
+2c1ass
+c1att
+2c1l
+12ce
+2c1e2g
+ce2l
+c1ele
+c1elm
+c1el
+c1emb
+2c1e2v
+2c1p
+2c1t
+c3h
+c3he
+c3ho
+ci2m
+c1imi
+c1ing
+2c1i2pa
+2c1is
+c2lu
+2c1or
+2c1osz
+c12r
+c1pr
+2csa
+c3sg
+2cs1ru
+2cse
+2cs
+2csi
+2csit
+2cs
+2cso
+2cs
+2cs
+cs1p
+c3s2p
+c3sz
+c1tr
+2c1ud
+c1n
+c1z
+c3za
+c3ze
+c3zu
+d1ada
+d1a2d
+da2j
+d1aj
+d1akt
+2dal.
+2dala
+d1alg
+2d1am
+d1ana
+2darabk
+2dar
+d1aut
+d1azo
+2d1f
+2d1g
+2d1l
+2d1p
+2d1rn
+d12ru
+ds3s
+d1bl
+d1br
+2d1e2d
+2d1e2g
+d1e2lem
+2d1elh
+d1elj
+2d1ell
+2d1elm
+2d1elo
+d1el
+d1elr
+2d1elv
+d1emb
+d1eme
+d1ep
+de2ra
+d1er
+de2ss
+2d1e2v
+2d1ez
+2d12g
+2d1p
+2d1rte
+2d1rz
+d1fr
+d1gl
+2d1i2d
+2d1ig
+2d1int
+di2p
+2d1ipa
+2d1iro
+di2sz
+d1izo
+2d1r
+d1kl
+d1kr
+d1kv
+2dob
+2dok
+2dol
+2dom
+2d1op
+2d1osz
+2d1o2x
+dksz1
+d1r
+2d12l
+d1s
+2d1t
+2d1v
+d1r
+d1pr
+21d2ram
+2dr
+d2rm
+1d2rog
+1d2rt
+d2ruk
+d1sp
+d1st
+2dug
+du2r
+2d1ura
+dus3s
+du2s3z
+2d1u2t
+2d1j
+d1r.
+d1g
+2d1r
+d1v
+d1z
+d3zr
+2d3ze
+d3zso
+1e
+e2b
+e2ch
+e2cs
+e2d
+e2dz
+e2ge
+e2g
+egsz1
+e2gy
+e2ke
+e2k
+e2l1a2
+e2l12
+e2le
+el1en
+e2l
+el1r
+e2l2i
+e2l12
+e2lo
+e2l
+e2l
+embe2r1k
+e2me
+e2m
+e2mu
+e2ne
+e2p
+e2pi
+e2po
+e2re
+e2r
+e2r
+e2r
+e2se
+e2s
+e2s
+e2sz
+e2te
+e2ti
+e2t
+e2ve
+e2v
+e2v
+e2z
+1
+2be
+2ge
+2g
+2g
+22he
+2hs
+2ke
+2k
+2k
+2le
+2l
+2l
+22ne
+2p
+2p
+2r.
+2rd
+22re
+22r
+2ri
+2r
+2rte
+2rt
+2rz
+2te
+2tk
+2ve
+2v
+2vi
+2v
+2fa.
+2faa
+2fa
+2fab
+2fac
+2fad
+2fae
+2faf
+2fag
+2fah
+2fak
+2fal
+2fao
+2fap
+2far
+2fas
+fa1st
+2fa1t2
+2fa
+2fav
+2faz
+fe2l1em
+fe2len
+2f1ev
+2fk
+2fl
+2flt
+2fn
+2f1r.
+fi2ab
+fi2ad
+fi2ag
+1f2la
+1f2lo
+f2l
+f2l
+f2lu
+2foc
+2fog
+2fok
+2fol
+2ford
+2forg
+2formc
+2formj
+2forml
+2forr
+2fos
+2fot
+2f1ov
+1f2rak
+1f2ri
+1f2r
+1f2ro
+1f2r
+2f1ud
+fu2r
+f1ura
+f1r.
+f1rn
+ga1p
+g1dr
+ge2o
+g2p1i2p
+g3gy
+gi2al
+g1r
+g2la
+g2le
+go2ras
+1g2raf
+g2rn
+gu2sab
+gu2s3z
+2gy1el
+2gy1es
+3gyi.
+gy1int
+gy2k1rb
+gyta2n12
+gyte2a
+gy1s
+ha2de
+2hal
+2han
+2has
+2hat
+hza2d
+h2z1ada
+2hon
+2hor
+2hos
+hs1s
+1i
+2i2de
+2id
+i2dn
+i2di
+2i2dom
+2i2d
+2i2ga
+2i2ge
+2ig
+i2gb
+i2gi
+i2gj
+i2gk
+i2gn
+i2gr
+i2gt
+i2gv
+i2konb
+2i2konj
+2i2konn
+2i2kono
+i2konr
+i2kont
+ile2
+2ill
+i2ma.
+2i2m
+i2mi
+2imp
+2i2na.
+i2nai
+i2naka
+i2nas
+i2nat
+i2nn
+i2nr
+i2nt
+2ind
+2inf
+2ing
+2i2ni
+2inj
+2inp
+2int
+2inv
+i2pa
+2i2rat
+2i2r
+2i2ro
+i2sz
+2i2ta
+i2tk
+i2vad
+i2z
+i2zo
+1
+2r
+2ri
+2ro
+2r
+2t
+2v
+2v
+2v
+2ze
+2z
+2zi
+2z
+2z
+ja1g2
+2jakn.
+jak2r
+2jam
+ja1p2
+2jav
+2jr
+2jrm
+2jr.
+2jru
+2jrv
+2jt
+2jts
+je2gy12
+2jut
+2kab
+k1a2da
+k1ajt
+2k1ak
+2k1alj
+k1alko
+2kal
+2kamp
+2kamr
+2kapa
+2kapc
+2kaps
+2kar.
+2kara
+2karr
+2kart
+2kata
+2kate
+ka1t2r
+k1aut
+2kav
+2kaz
+2k1ll
+k1rad
+2k12ri
+2k1rn
+2k1ru
+2ke2d
+2k1edz
+k1eg
+2kem
+2k1emb
+2ker
+ker1este
+ke2r1kn
+ke2rig
+2k1e2r
+ke2r1g
+ke2sz
+k1esze
+ke2t
+k1ete
+2kev
+2kez
+2k12l
+2km
+2kny
+2kp.
+2kpb
+2kpe
+k2p1e2l
+2kp
+2kpl
+2kpn
+2kppel
+2kpr
+2kpt
+2kpz
+2k1r.
+2krd
+2kre
+2kr
+2kr
+2ks
+2k1tt
+k1tv
+k1gr
+k2hi
+2kia
+2ki
+2kic
+2kie2
+2ki
+2kif
+ki2g
+k1iga
+2k1ig
+2ki
+2kij
+k1ill
+2kim
+k1imi
+2kinc
+2kine
+2k1int
+2kiny
+2kio
+2k1isk
+2k1ist
+2kisz
+2kit
+2kiv
+k1i2va
+k1k2r
+k2lim
+1k2l
+21k2l
+21k2lu
+2kock
+2koco
+2koe
+2koh
+2koll
+2kom
+2komf
+2komp
+2konc
+2konf
+2konj
+2kons
+2kont
+2kony
+2konz
+2koo
+2kop
+2kor
+ko2r12s
+2korb
+2kore
+2k1org
+2kori
+2korl
+2korm
+2korn
+2koro
+2korr
+2kors
+2koru
+2k1oszl
+2kd
+k12l
+2kr
+2k1v
+2kl
+k12l
+k12l
+k1rd
+k1tl
+k1pl
+k1pr
+1k2r
+k2re
+21k2rm
+k2rt
+21k2ri
+1k2r
+k2ron
+k2ros
+21k2rn
+k1sk
+k1st
+2k1ug
+2kum
+2kup
+2kur
+ku2sz1l
+ku2sze
+2kut
+2kr
+2k1g
+2kl
+2ks
+k1zl
+21k2v
+l1ajt
+la2man
+la2pa
+2l1a2pl
+la2pol
+la2p1osz
+l1a2r
+l1azo
+l2b1t
+12ll
+ls3s
+l2s
+l1tl
+le2
+l1e2se
+l1e2s
+l1esh
+l1esn
+l1ess
+l1est
+le2ta
+lete2
+le2t1ev
+2l1rz
+l2tel
+l2ts
+li2ako
+li2am
+li2s
+l1iszo
+l1n
+loma2
+lo2m1al
+lo2m1
+lo2m1e
+lo2mis
+12lomr
+2l1osz
+l2
+l1sl
+l1sp
+lt2
+2l1l
+2l1r
+2l1s
+2l12z
+l1p2r
+lu2m1e
+lus3s
+lu2sz
+l1t
+l1v
+lya2ga
+lyag1g
+ly2
+m1abl
+2m1a2c
+2magn
+m1akn
+m1all
+2man
+2mara
+2marc
+maren2
+2marh
+2mark
+mas2
+ma1sp
+2mass
+2mate
+m1a2to
+2m1au
+2max
+2mg
+m1ll
+2mrk
+2mrt
+2mz
+m1b2r
+m1e2gy
+2men.
+2md
+2ml
+m1le
+2m1p
+2mre
+2mr
+2mrg
+2mrk
+2mrn
+2mr
+2mrs
+2mrt
+miac1
+mi2as
+2m1i2b
+mi2g
+2m1ig
+2mi2k
+m1iko
+2min
+2m1i2ono
+2m1i2ont
+2m1i2p
+2mis
+2m1isk
+2m1ist
+mi2sz
+2m1i2z
+2mod
+2mog
+2moh
+2m1ola
+2m1old
+2mond
+2moni
+2mono
+2mont
+2mor
+2mos
+2m1osz
+2mot
+2m1ox
+2moz
+m1t
+m1r
+m1pr
+m1t
+m1z
+mt2
+2nad
+2nag
+na2ks
+na2k1e2
+na2kol
+n1alj.
+n1aljak
+n1alj
+n1aljo
+n1alju
+2nap
+na2pa.
+na2p
+2n1apba
+na2pe
+n1arc
+2n1asp
+n1aszt
+na1t2
+2nav
+n2l
+2n1ll
+2n1lo
+ns1s
+n1br
+ne2d
+n1ez
+12n
+2nm
+n1p
+12nra
+n1rc
+2nrd
+12nr
+n2v1
+2nz
+ni2g
+2n1ig
+2n1ist
+n1odv
+12nokul
+2nor
+n1ox
+n1n
+2n1r
+n1t
+n2h
+n1pr
+2n1u2t
+n1r
+2nya
+2nye
+2nyil
+2nyit
+2nyit.
+2ny
+2nyo
+2nyu
+2ny
+1o
+o2d
+o2ka
+o2k
+o2k1i2
+o2ku
+o2la
+o2li
+o2pe
+o2ra
+o2ri
+o2ro
+o2vi
+o2xi
+1
+2la
+2l
+2li
+2lo
+2ra
+2ri
+2s
+2v
+2vo
+2v
+1
+2b
+2ko
+2k
+2l
+2l
+2r
+2ve
+2z
+1
+2re
+2r
+2ri
+2r
+2r
+2s
+2s
+2p1a2da
+2p1alk
+p1anal
+2p1a2no
+p1ant
+2p1any
+p1a2rn
+p1ll
+pcsa2p1
+2p1ef
+2p1e2g
+p1elo
+2p1id
+p1ind
+2p1i2o
+p1i2r
+1p2lak
+1p2las
+1p2lu
+2p1ob
+2p1o2la
+po2rad
+p1ra
+1p2ri
+p2rod
+p2rop
+1prb
+p1t2r
+pus3s
+2p1j
+p1v
+2rab
+r1ace
+2rada
+ra2dat
+2raib
+2rai
+ra2ir
+2raih
+2raii
+2raij
+2raik
+ra2ik
+ra2iko
+2raim
+2rain
+2raip
+2rais
+2rait
+2raiv
+12raje
+2rajo
+2rajz
+ra1kv
+2rala
+r1alk
+2ramo
+2r1ani
+r1ant
+ra1p2l
+r1arc
+1rare
+ra1s2p
+2r1a2tom
+12ra
+1rn
+r1gg
+r12gy
+1rkh
+12rki
+2r1l
+12rm
+12rmo
+1rmr
+2r12p
+r2se
+2rta
+r1tv
+r1br
+r1ege
+2r1e2gy
+2r1e2le
+r1ell
+r1elm
+2r1elo
+2r1e2l
+r1elv
+r1emb
+r1eml
+2r1e2r
+2r1e2set
+2r1e2t
+2r1e2t
+2rez
+r12je
+2r12l
+r12ri
+r2vek
+r1fl
+rh2zot
+ri2aka
+ri2al
+2risi
+ris3s
+ri2ch
+2r1id
+2r1int
+r1i2onn
+r1i2ono
+2rip
+2r1i2pa
+2r1i2si
+2r1isme
+2rit
+ri2z
+r1izo
+r12j
+2r1r
+r12z
+r1kl
+rm2s
+r1o2k
+3rok
+r1o2ki
+ro2kok
+ro2koz
+r1o2ku
+r1ok
+2r1osz
+2r1o2x
+2r1da
+r2dj
+ri2ko
+r1p
+r1s
+2rz
+2r12l
+2r1ml
+2r1s
+2r1t
+r1r
+r1p2r
+r1tr
+ru2mag
+ru2me
+2r1u2r
+ru2sab
+ru2san
+ru2se
+rus3s
+ru2s
+ru2s3z
+2r1uta
+2r12s
+2r1t
+r1n
+r12v
+r1z
+2sabl
+2s1a2d
+2s1a2g
+2s1alj
+s1alt
+s1amn
+2s1apr
+2sar
+2s1arcot
+2s1asp
+s1ass
+2s1atl
+2s1au
+sa2vo
+2s1br
+2s1f
+sg1g
+2s1ll
+s12lo
+2s12ro
+s1ti
+2sto
+s1bl
+s1br
+scsap12
+2seb
+s1e2gy
+2sej
+s1elj
+s1elm
+s1e2l
+s1els
+s1elv
+se2m
+s1emb
+s1emi
+2s1en
+se2p
+s1epo
+s1er
+2s1es
+2s1e2t
+2s1ez
+2s12l
+2sm
+s12ne
+2s1p
+2s1r.
+2s1rte
+2st
+s2tka
+2s12te
+s1tk
+s1tt
+s1fr
+2s1i2d
+si2g
+s1ige
+si2kerb
+2sikl
+s1ind
+s1inf
+si2p
+s1ipa
+s1iro
+2s1isk
+s1ist
+2sk
+2s1nh
+s12r
+s12r
+1s2kat
+s2kic
+ski2s
+s1kl
+s1kv
+s2lag
+2sl
+1s2ni
+2sokas
+2sokko
+2soks
+s1oli
+2sor
+2s1org
+2s1orj
+2s1orm
+2s1ott
+2s1ov
+2s12r
+2s12l
+2s1s
+2s1t
+s1r
+1s2pec
+21s2pek
+21s2pir
+s1pl
+1s2pu
+s1s2k
+s1s2p
+s3sze
+s3sz
+21s2tab
+1s2tad
+1s2taf
+21stand
+21s2tat
+2st
+s2tbb
+1s2td
+1s2tt
+1s2tg
+2st
+s2topo
+2st2r
+s1tr
+s1tri
+1stru
+2st
+2sug
+2s1u2r
+2s1u2t
+s1r.
+s12ri
+s1rn
+2sl
+2sr
+2s1s
+2s1z
+2sr
+2sza
+2s3zac
+sza2k1
+2sz1a2lap
+2sz
+sz2gol
+2szed
+2szeg
+2sz1e2g
+2szek
+2szel
+2szem
+2szen
+2szer.
+2szere
+sze2r1e2p
+2szerk
+2szerv
+2szerz
+2szez
+2sz
+sz2n12
+2szi
+2szima
+2sz
+2szk
+sz2l
+2szob
+2szoc
+2szof
+2szol
+2szon
+2sz
+2sz
+2sz1s
+2sz
+2szp
+s3zs
+2szt
+1sz2t
+szt2r
+2sz
+2sz
+2sz1g
+2szk
+2szr
+2szr
+2s3zrt
+sz2v
+t1ad
+2tag.
+2taga
+ta2gal
+2tagb
+2tag1g
+2tagi
+2tagj
+2tagk
+2tagn
+2tago
+2tags
+2tagu
+t1ajk
+2talap
+2tal
+t1alk
+2t1alm
+2tan
+t1anti
+2tap
+2tar
+tas2
+2t1ass
+2tat
+t1a2ur
+2tax
+2tg
+t12ga
+t1gg
+2tp
+tra2d
+t2r1ada
+2tro
+2trs
+2tvc
+2tvi2
+t2v1ir
+2tv
+2tvk
+2t1e2g
+2t1elh
+2t1e2l
+2t1emb
+2terd
+t1g
+2t12k
+t2t12
+t1fr
+2t1i2d
+ti2g
+2t1ig
+t1ill
+2t1im
+2t1ing
+t1i2pa
+ti2sz
+2t12r
+2t12v
+2t1z
+t1kr
+tl2ke
+2toj
+2tol
+tol2l1a2d
+t1oml
+2ton
+2tor
+2t1ors
+2tov
+2t.
+2tn
+t1ko
+te2
+t2rad
+t2raf
+t2rak
+t2ran
+t2rn
+t2rik
+t2ril
+t2ri
+t2rom
+t1sl
+t1sp
+tsze2r1ep
+tu2sze
+t1l
+t12l
+t1st
+2t12v
+t2z3s
+1u
+u2bo
+u2ga
+ugrs1s
+uj2j1a2da
+u2ni
+u2no
+u2ra
+u2sz
+u2ta
+u2t
+u2to
+u2t
+u2tu
+1
+2j
+2r
+2sz
+2ti
+2to
+1
+2gy
+2le
+2l
+2l
+2n
+2re
+2r
+2r
+2sz
+2te
+2t
+2t
+2ve
+2ze
+1
+2z
+2vad
+2vag
+2vaj
+2vak.
+2vaks
+2vaku
+2val
+2var
+2vas
+2vat
+2vg
+2vk
+2vl
+2vn
+v2r1al
+vrosi2h
+2vsa
+12vsi
+2vso
+12vsr
+12vss
+12vst
+2vz
+ve2r1a
+veri2
+ve2rip
+v1in
+12vod
+2vom
+2von
+za1d2
+z1a2d
+z1a2d
+2zaj
+z1akc
+za1kr
+z1akt
+z1a2la
+z1arc
+za1s
+za2t1a2l
+za2tan
+za2tl
+za2ts
+za2told
+za2t12
+2zav
+2z12g
+z1ll
+2z12ru
+2z12r
+z1bl
+1zdi
+2z1e2g
+2z1el
+z1em
+z1er
+2z1ex
+z1ez
+2z12l
+2z12te
+z1fl
+z1fr
+zhaji2
+z1imp
+z1ing
+2z1i2p
+zi2s1e2
+zi2sir
+zis3s
+zi2s3z
+2z1old
+zo2n1a2
+zo2n1
+zo2ni
+zs2
+z1sp
+z1r
+z1pr
+zsa1k2
+2z3ser
+z3sor
+z3sz
+z1t2r
+2zuh
+2z1u2r
+2z1u2t
+z12s
+2z1t
+z12g
+z1l
+z12z
+2.
+1a
+1
+b1a2n
+b1l
+b12r
+b1t
+b2b1a2
+b2b12
+b2b1eg
+bbe2l
+b2b1ele
+bbe2m
+bb1eme
+b2b1e2r
+b2b1esz
+bb1eve
+b2bl
+b2bid
+b2b1is
+b2b
+b2b1ol
+b2b1os
+b2bot
+b2b
+b2b
+bb2
+b2b1l
+2b1ef
+2b1eg
+2b1e2l
+2b1e2m
+2b1e2n
+2b1er
+2b1l
+2b1r.
+2b1rt
+2b1rz
+b1fr
+2b1i2d
+2b1ing
+2b1int
+1bli
+1bl
+b1or
+b1n
+2bll
+1blt
+c1aj
+ccs1a2
+ccs1i
+2c1p
+2c1ve
+c3he
+c3h
+ci2
+c1r
+2cs1a
+cs1j
+cs1k
+2cs12te
+2csiz
+cs1izz
+cs1
+2cs12l
+cs12r
+c3sz
+d1a2l
+d1a2n
+d1ar
+d12l
+d1r
+2d1ef
+d1ell
+2d1em
+d1e2v
+d2m1o
+d2sa
+ds3s
+d2s3z
+2d12ves
+d12vn
+d12vr
+d1gr
+d1z
+d1os
+d1c
+d12r
+d1sp
+d1u2s
+d1j
+d12s
+2d1v
+2d1z
+d3z
+dzr2
+d3zu
+1e
+1
+fs3s
+g1ab
+g1a2c
+g1a2d
+g1ag
+g1a2k
+g1a2l
+g1a2n
+g1ap
+g1ar
+g1as
+g1a2t
+g1b
+g1g
+g12l
+g12r
+g1t
+g1dr
+2g1e2g
+2g1e2ki
+g1elb
+2ge2leme
+2g1elf
+2g1elha
+2g1elm
+2g1elo
+2gemel
+2g1er
+2g1esz
+g1e2v
+2g12g
+g1kt
+2g12p
+2g1r.
+2g1rs
+g1rt
+gs3s
+g1fr
+2g1id
+2g1i2m
+g1inf
+2g1ist
+2g1iva
+2g1i2z
+g1n
+g1r
+g1v
+g1kr
+g1o2l
+g1op
+g1o2r
+g1os
+g12r
+g1li
+g1l
+2g1v
+g1pr
+gre1p2
+g1sk
+g1sp
+g1tr
+g1ud
+g1u2n
+g1u2t
+2g1g
+2g1s
+2g1t
+2g1v
+2g1z
+2g1z
+g3ya
+1i
+1
+j2tl
+j2t1o
+k1ab
+k1a2g
+k1a2k
+k1a2l
+k1a2n
+k1a2p
+k1ar
+k1as
+k1a2t
+k1au
+k1a2v
+k1g
+k1l
+k12p
+k12r
+k1t
+k1z
+k1dr
+2k1e2d
+2k1e2g
+2k1eke
+ke2l
+k1ela
+k1ele
+k1elh
+k1elm
+k1eln
+k1el
+k1elv
+2k1e2m
+ke2n
+ken1s
+k1erd
+2k1e2resz
+2k1e2r
+2k1es
+ke2vs
+2k1ez
+2k1g
+2k1kn
+k1ks
+k12les
+2k1p
+k2r1e2l
+k2r1em
+2k12rez
+2k12rs
+ks3s
+2k12te
+2k12ve.
+2k12vek
+k12vet
+k1fr
+k1gl
+ki2d
+k1ide
+k1ido
+ki2g
+k1iga
+2k1ig
+2k1ikt
+2k1i2na
+k1ind
+2k1ing
+2k1int
+2k1i2o
+2k1i2p
+2k1iro
+2k1is
+2k1iz
+k1j
+2k1r
+k1v
+k1z
+k1kl
+k1k2r
+1kl
+k1ok
+k1old
+1kol
+1kon
+k1o2p
+k1o2ro
+k1orr
+k1ors
+k1o2v
+k12r
+k1v
+1kr.
+k2r
+kr1a2d
+k2
+k1pr
+1krs
+1kr
+1kr
+k1sp
+k1sr
+kszi2l1
+k1t2r
+k1u2n
+k1u2r
+k1us
+k1u2t
+k1j
+k1r
+k1t
+2k1g
+k2l
+2k1l
+2k1lt
+2k12t
+2k12v
+2k1z
+l1a2d
+l1ag
+l1a2j
+l1a2k
+l1al
+l1ap
+l1a2r
+l1au
+l1a2v
+l12g
+l1l
+l12m
+l12p
+l12r
+l12s
+l1t
+l12z
+l1br
+lcsa2l
+lcs12p
+lcs12r
+lcs1ell
+l2csev
+l2csid
+l2csiz
+l2cs1ok
+lcs1ol
+l2csos
+l2csg
+l2csl
+l2dab
+l2d1a2d
+l2d1a2k
+l2d1a2la
+l2d1alj
+l2d1alk
+l2d1a2n
+l2dap
+l2d1as
+l2d12
+l2deg
+l2dep
+l2dev
+l2d1d
+l2dl
+l2d1ing
+l2dip
+l2d1o2r
+l2dos
+l2d12
+ld2
+l2dr
+l2ds
+l1dr
+l2dur
+l2d3z
+12l1e2b
+le2gel
+leg1g
+2lel
+2l1e2r
+3l2e3s
+le2t12
+le2t1el
+le2to
+le2t1u
+2l1e2v
+l2d
+2l1de
+12l
+2l12g
+2l12kes
+2l1k
+2l1l.
+2l12le
+2l12l
+2l1lh
+2l12li
+2l1lj
+2l1ln
+2l1ls
+2l1lt
+2l1lv
+2l1me
+2l12neke
+2l12p
+2l1r.
+2l12red
+2l12rek
+2l12rezn
+2l1r
+2l1rh
+2l12ri
+2l1rj
+2l1rk
+2l1rl
+2l1rn
+2l1rs
+2l1rte
+2l1rt
+2l1rt
+2l12r
+2l1rv
+2l1rz
+ls3s
+2l12tet
+l1fr
+lgy2
+l2gyer
+2l1i2d
+li2g
+2l1iga
+2l1ig
+2l1igy
+2l1ij
+2l1il
+2l1im
+2l1i2n
+2l1i2p
+2l1i2r
+2l1i2s
+2l1i2ta
+2l1itt
+2l1iz
+l12r
+l12v
+l1o2c
+l1o2k
+l1ol
+l1or
+l1o2s
+l12v
+l2ki
+2l1kl
+2l1l
+l1nt
+2l1r
+2l12v
+l1rl
+l1r
+lprba2
+l1p2r
+l1sk
+l1sr
+l1st
+l2t1ad
+l2taj
+lt1ala
+lt1alj
+lta2n
+l2tid
+l2til
+l2t
+l1tro
+l2tur
+l1u2g
+l1uj
+l1u2s
+l1u2t
+l1j
+l1s
+2l1d
+2l1g
+l2le
+l1lt
+2l1lt
+2l1lve
+2l1s
+2l1t
+2l1v
+2l1z
+2l1z
+2ly1a2
+2ly1
+ly1e2g
+2lyel
+ly2fl
+m1a2d
+m1a2g
+m1al
+m1a2n
+m1a2p
+m1ar
+m1au
+m1b
+m1g
+m1h
+m1l
+m1p
+m12r
+m12t
+m1z
+m2b1a2c
+m2b1ak
+mba2l
+m2b1a2n
+m2baz
+m2b1
+m2bec
+mb1ele
+m2b1e2m
+m2b1es
+m2bk
+m2b1i2d
+m2bin
+m2b
+m2b1os
+m2b12
+m2b
+m2br
+2m1e2b
+me2g1a2
+meg1e2r
+me2gesz
+me2g1k
+me2gp
+meg3g
+m1egy
+2m1e2l
+2m1ember
+2m1emel
+2m1e2r
+me2s
+2m1ese
+2m1este
+2m1g
+2mhs
+2m12l
+m12nekb
+2m12neke
+2m12nek
+m12nekh
+2m12nekk
+2m12nekr
+m2ny1
+2m1p
+2m1r.
+2m1rte
+2m1rt
+ms3s
+m1gr
+mi2g
+2m1ig
+2m1in
+2m1i2p
+2m1i2ta
+2m1itt
+2m1izm
+2m1i2zo
+m12z
+mksz1
+m1kl
+m1kr
+mls3s
+1mlt
+m1o2k
+m1o2l
+m1or
+m1os
+m12d
+m12r
+2m1nt
+m1p2r
+m1sp
+m1st
+m1tr
+m1u2g
+m1uj
+m1u2t
+2m1g
+2m1nn
+2m1v
+2m1z
+2m1z
+n1ab
+n1a2d
+n1a2g
+n1a2j
+n1a2k
+n1a2l
+n1am
+n1a2n
+n1a2p
+n1ar
+n1as
+n1at
+n1au
+n1a2v
+n1az
+n1b
+n1g
+n1l
+n1m
+n12p
+n12r
+n12t
+nt1a2d.
+nt1
+n1z
+nb2kt.
+n1bl
+n2c1l
+n2ch
+n2c
+nc3sg
+nc3sz
+n2cz
+n2dab
+n2dap
+nde2m
+n2d1r.
+n2d1rn
+n2d1rr
+n2d1rt
+n2d1or
+n2d1
+n2dz
+2n1eb
+2n1e2d
+2n1ef
+2n1e2g
+2n1e2l
+2n1e2m
+ne2n
+n1ene
+2n1e2r
+2n1es
+n1e2v
+n1ex
+n12g
+2n1j
+2n12k
+2n12l
+2n12p
+2nrd
+n1ri
+n1rl
+n1rte
+n1rv
+ns3s
+n1sz
+2n1te
+2n1tt
+2n1v.
+2n1ves
+n1vet
+2n12vr
+2n12vt
+2n1vv
+nfe2lem
+n1f2r
+n1g2l
+n1g2r
+ngy1as
+n2gyk
+ngy12r
+2ngy
+n2gy
+2n1i2d
+n1if
+ni2g
+2n1iga
+n1ige
+2n1ig
+n1ill
+2n1im
+2n1in
+2n1i2p
+2n1i2r
+2n1is
+n1ita
+2n1i2z
+n1j
+2n1r
+2n1z
+n2k1ag
+n2k1any
+nk1ru
+n2kt
+nk1olt
+n2k1
+nk2
+nmeg1g
+nna2k
+n2n1
+nny1a2d
+nny1
+nny1e2dz
+n3ny
+n1o2d
+n1o2k
+n1op
+n1or
+n1os
+n1ox
+n12c
+n12r
+n1v
+n1b
+2n1r
+2n12v
+n1r
+n2re
+n1z
+n1pl
+n1pr
+n1ps
+nsg2k
+n1s2p
+n1s2t2
+nsz2
+n2t1ell
+ntgen1n
+nts3s
+1ntz
+n1t2ra
+n1t2r
+n1t2r
+n1ud
+n1un
+n1u2r
+n1u2s
+n1u2t
+n1j
+n12s
+n1t
+n1d
+2n12g
+2n1r
+2n12t
+2n1z
+2ny1a2
+2ny1
+ny1d
+2ny1el
+2ny1id
+2ny1in
+2ny
+2ny1o
+2nyz
+ny2vaj
+ny2v1a2l
+ny2van
+ny2v12r
+ny2v1e2g
+ny2v1er
+ny2v1esz
+ny2vev
+ny2v1g
+ny2vl
+ny2v1r.
+ny2v1ill
+ny2v1
+ny2v1o
+1o
+1
+1
+1
+p1aj
+p1a2l
+p1l
+p1e2l
+pe2ny
+p1e2r
+2p1p
+p12l
+r1ab
+r1a2c
+r1a2d
+r1a2g
+r1aj
+r1a2k
+r1a2l
+r1a2n
+r1a2r
+r1as
+r1a2t
+r1a2u
+r1a2x
+r1a2z
+r1b
+r12c
+r12g
+r12l
+r12r
+r12s
+r12t
+r1br
+rcs1l
+rcs1ell
+rcsksz1
+r2csos
+2rd
+r1d2r
+2rd
+2r1e2c
+r1e2dz
+2r1ef
+re2ga
+re2g1k
+r1e2gy
+re2j1
+re2k1e2sz
+rek2
+2r1e2l
+2r1em
+r1enc
+2r1e2p
+2r1e2r
+r1e2se
+2r1e2tet
+2r1e2v
+2r1ex
+2r1ez
+2r12de
+2r12g
+2r1j.
+r1ks
+2r12l
+2r1neke
+2r1p
+2r1r
+2r12ri
+r2sel
+r2t1e2g
+2r1tv
+r12ve.
+2r1vk
+r2f
+r2f1v
+r2f1i2p
+r2fis
+r2f1os
+r2fr
+r1g2r
+2r1i2d
+ri2g
+2r1iga
+2r1ig
+ri2k
+r1iko
+2r1ill
+2r1im
+2r1ind
+2r1ing
+2r1inj
+2r1ink
+2r1int
+2r1inv
+2r1i2p
+2r1ira
+2r1i2s
+2r1i2ta
+r1itt
+2r1iv
+r1i2zo
+2r1r
+2r12v
+2r12z
+r1k2l
+r2k1lt
+r1k2r
+rle2ta
+r2l1in
+rny1a2l
+rny1a2n
+rny1as
+rnye2l
+rny1ele
+r2ny1er
+r2nyj
+r2nys
+rny12r
+r2ny
+r1ob
+r1o2k
+r1o2l
+r1op
+r1o2r
+r1os
+r12r
+2rg
+r3g2e
+1rm
+2r1nt
+2r1r
+2rssze
+2r1sz
+rpe1t2
+r1s2p
+r1s2v
+rta2r
+rt2v1
+r2t1ks
+rt2l
+r2t1l
+r2t1l
+rt1rne
+rt2sz
+r2tv
+r2t1ok
+r2top
+r1ud
+r1uj
+r1u2n
+r1u2r
+r1u2s
+r1u2t
+r1j
+r1r
+r12t
+2r1d
+2r12g
+r2l1k
+2r1r
+2r1s
+2r1t
+2r12v
+2r1z
+1rv.
+rva2s
+1rvb
+1rvek
+1rvem
+1rvet
+1rvb
+1rvh
+1rvv
+1rvh
+1rvn
+1rvr
+1rvt
+1rv
+1rv
+1rvv
+rz4s
+r2zs12
+r2zs1e2l
+r2zsid
+r2zsin
+r2zsir
+r2zs12
+r2zs1o
+r2zs
+r2zsu
+r2zs
+s1a2g
+s1al
+s1r
+2s1el
+ses3s
+2s1ez
+si2
+2s1i2p
+s1k2r
+s1o2l
+s1o2r
+ssz2r
+1sszeg
+ssz1emb
+1sszes
+s3sz
+st1arc
+2s12v
+2sz1a2
+sz1e2r
+szi2s
+sz1isz
+2sz1o2
+2sz1
+sz2t1ell
+t1ab
+t1aj
+t1a2k
+t1a2l
+t1am
+t1as
+t1a2t
+t1b
+t1g
+t1l
+t1r
+t12s
+t1ek
+t1e2m
+t1ep
+t1es
+te2t1a2
+te2tel
+te2u
+t1e2v
+t1e2z
+tl2
+t2lk
+t2l1o
+t1rt
+t1rz
+ts3s
+t12ves
+t1fl
+t1fr
+t1gr
+t1i2r
+t12v
+t1kr
+1tlet
+tle2t1
+1tl
+t1ok
+t1ol
+t1or
+t1os
+t12r
+2tdb
+12tdd
+12tdne
+1tdt
+12tdr
+1td
+2ts
+ta2
+te2
+t2
+t1pr
+t1sc
+t1st
+t2t1a2c
+t2tar
+t2t1as
+t2t1l
+tt2r
+tt1erk
+tt1rte
+t2t1ut
+t1uj
+t1un
+t1u2t
+t12l
+tve2n1ez
+1u
+1
+1
+1
+v1ab
+v1ak
+v12r
+v1e2dz
+ve2g1a2
+veg1s
+veg1g
+ve2go
+v1e2r
+ve2t1a2
+ve2teg
+ve2t12l
+ve2to
+ve2t1
+vet2l
+ve2t1l
+2v.
+v1g
+v12j
+v2nyel
+v2nyer
+v2ny
+v2sza
+v2sz
+v2szer
+v2szo
+v2sz
+v2szl
+vi2d
+2vih
+vis3s
+2viv
+v1or
+v12d
+v1lt
+vrs3s
+v1ut
+z1ab
+z1a2c
+z1a2d
+z1a2j
+z1a2k
+z1a2l
+z1a2m
+z1a2n
+z1a2p
+z1a2r
+z1at
+z1au
+z1az
+z12g
+z1l
+z12m
+z12p
+z12r
+z12t
+zt1
+z1d2r
+2z1e2b
+2z1e2d
+ze2gel
+2z1egs
+zegsz1
+2z1e2gy
+2z1ela
+ze2leme
+2z1e2m
+z1eng
+z1ent
+z1epr
+2z1er
+2z1es
+ze2t12k
+zet2
+ze2t1r
+2z1e2v
+2z1g
+2z12je
+z2k1e2l
+z1lel
+z12let.
+z12l
+z1lm
+z1lt
+z2m
+z1me
+z2p1a
+z2p1el
+z2p1em
+z2p
+z1pt
+z2p1o
+2z1r.
+2z1rb
+2z1rd
+2z1rh
+2z12ri
+zr2t1e2h
+2z1rtele
+2z1rt
+2z1rt
+2z1rv
+2z1rz
+z1tk
+z1fr
+zi2g
+2z1iga
+zigaz1
+2z1ig
+2z1ig
+2z1igy
+2z1i2ko
+2z1ikt
+2z1ill
+2z1i2m
+2z1inf
+2z1ing
+2z1inp
+2z1int
+2z1in
+2z1inv
+2z1ira
+z1ir
+2z1i2ri
+z1iro
+2z1ir
+z1isko
+2z1ism
+2z1isp
+2z1i2sz
+2z1iz
+z1r
+z1z
+zmeg1g
+z1ob
+z1o2k
+z1ol
+z1op
+z1os
+z1ov
+z12h
+z1n
+1znt
+2z12r
+z1ssz
+2z1v
+za2
+ze2r
+z1r.
+z1rk
+z12r
+z1pl
+z1p2r
+z3sa
+z3s
+z3se
+z3s
+z3s2k
+z3so
+z3s2p
+z3s
+z3sz
+z1t2r
+z1ug
+z1u2n
+z1ur
+z1ut
+z12r
+z1t
+2z1d
+2z12g
+z1nn
+2z1t
+2z1v
+2z12z
+z3zs
+2.
+1a
+a2da
+a2d
+ads1s
+ad2sz
+a2do
+a2d
+a2du
+a2ga
+a2g
+a2gi
+a2gy
+agyag1
+a2ja
+a2j
+a2ka
+a2k
+a2k
+a2la
+ala2g1
+a2l1e
+a2lo
+a2m
+a2na
+a2no
+a2n
+a2ny
+a2pa
+2apar
+a2p
+a2po
+a2p
+a2pu
+a2ra
+a2r
+a2ri
+a2ro
+a2sz
+a2to
+a2ty
+a2ul
+a2ur
+a2ut
+auti2k
+a2va
+a2xi
+a2zo
+1
+2cs
+2gai
+2gak
+2gas
+2gat
+2g
+2g
+2gi
+2go
+2g
+2gy
+2h
+2la
+2lo
+2m
+2po
+2ra
+2r
+2re2
+r1em
+2ri
+2ro
+2ru
+2r
+2sa
+2s
+2so
+2s
+2su
+2sz
+2ta
+2t12
+2t1e2
+2t
+2t
+2t
+2v
+ba1p
+b2le
+b2lo
+b2ri
+b2ro
+b2r
+b2ru
+c1ap
+c3cso
+c1gr
+c3h
+c3h
+c3h
+c2lu
+2cs1ala
+csa2p12g
+2cs12j
+2cs12r
+cs1st
+cs1s
+c3sz
+d1a2da
+d1a2d
+2d1a2lap
+2d1au
+d1l
+d12z
+dea2
+2d1e2g
+d1eld
+d1elj
+d1elk
+d1e2l
+d1els
+2d1p
+2d1rte
+2d1rz
+d2sa
+d2so
+ds3s
+d2s3z
+2d1id
+di2g
+2d1iga
+d1ind
+d1int
+2d1isk
+2d1op
+d1ost
+2d12l
+2d1v
+d1r.
+d12r
+d1rn
+d1rr
+d1rt
+2d1st
+d1pr
+d2ram
+d2rap
+1d2r
+1d2res
+1d2rog
+1d2r
+1d2ru
+d1st
+d1t2r
+2d1g
+2d1z
+2d3z
+1e
+e2ce
+e2cs
+e2d
+e2dz
+e2ge
+e2g
+e2gy
+e2ke.
+e2kk
+e2la
+e2l12
+e2lek
+e2lem
+e2lemg
+e2lemh
+e2lemm
+e2lemn
+e2lemr
+e2lem
+e2li
+e2lo
+e2l
+e2ld
+e2l
+e2ma
+e2me
+e2m
+e2mu
+e2ne
+e2pi
+e2po
+e2re
+e2r
+e2rd
+e2r
+e2rh
+e2ri.
+e2rk
+e2rm
+e2rr
+e2r
+e2s
+e2si
+e2s
+e2ta
+e2te
+e2ti
+e2un
+e2v
+e2vi
+e2vo
+e2v
+e2ze
+1
+2de
+2et
+2ge
+2g
+2gi
+2g
+2hem
+2hes
+2ji
+2ke
+2k
+2k
+2l
+2l
+2l
+2nekb
+2neke
+ne2kest
+2nek
+2nekk
+2nekr
+2p
+2p
+2rem
+2ren
+2rez
+2r
+2ri
+2tek
+2va
+2ve.
+2vek
+2ves
+2vet
+2vb
+2vn
+2vr
+2vt
+2vi
+fa2l1a2d
+f2la
+f2le
+f2lo
+f2l
+f2l
+f2lu
+fo2kl
+fo2kr
+fo2kin
+f2ra
+f2r
+f2ri
+1f2ro
+f2r
+g2p1e2l
+gp2l
+gp1l
+gs3s
+g2le
+g2l
+g2n
+2g12l
+g2ra
+g2r
+g2ri
+g2r
+guba2
+gy1a2la
+gy1art
+2gyeg
+2gyel
+gy1e2l
+gy1elv
+gy1elz
+2gyin
+2gy1r
+hang2
+han2g1ra
+1i
+i2dea
+i2de
+i2deg
+i2deo
+i2dn
+i2do
+i2d
+i2ga
+i2ge
+i2g
+i2gy
+i2ko
+i2ma
+i2m
+i2mi
+im1p2l
+i2nas
+i2on
+i2pa
+i2ra
+i2r
+i2ri
+i2ro
+2iru
+i2si
+i2sz
+i2tala
+i2tal
+i2tal
+i2tali
+i2tall
+i2va
+i2v
+i2v
+i2z
+i2zo
+1
+2g
+2ja
+2ra
+2r
+2ro
+2r
+2ru
+2v
+2ve
+2v
+2vi
+2vkb
+2vke
+2vn
+2v
+2ze
+2z
+2z
+je2gy12
+job2b1ol
+job2b1
+jog2szi
+ke1k2
+ke1p2
+kes2
+ke1sp
+ke1st
+k2p1el
+k2s1el
+ki2
+kie2
+k2la
+k2le
+k2li
+k2l
+k2l
+k2lu
+kro2
+1k2ra
+1k2r
+1k2re
+k2red
+1k2r
+1k2ri
+1k2r
+1k2ro
+1k2r
+k2va
+le2
+ls3s
+l2r
+lt2
+l1tr
+ma2gr
+mag1g
+ma2g12
+m2h
+m2n
+mt2
+2n1e2ke
+n1ems
+nve2
+nv1es
+2ny1a2d
+nya2g
+2ny1aga
+ny1a2la
+ny1ra
+ny12ro
+2nyt
+2nyef
+nye2lem
+2ny1elh
+2ny1ell
+2ny1elo
+2ny1em
+2ny1lv
+2ny1
+2nyz
+1o
+o2z
+o2be
+o2d
+o2k
+o2k1i2
+o2k
+o2ko
+o2la
+ola2j12r
+ola2je
+o2pe
+o2r
+o2ri
+o2ro
+o2so
+o2ve
+o2xi
+1
+2ce
+2ha
+2no
+2nu
+2ra
+2r
+2ri
+2va
+2v
+1
+2b
+2d
+2ko
+2k
+2l
+2l
+2na
+2re
+2r
+2ve
+2v
+2vi
+2v
+2z
+1
+2re
+2r
+2ri
+2r
+r2s1gb
+r2s1gn
+2se
+2si
+prba2jo
+p2la
+p2le
+p2l
+p2ne
+ponc1
+po2ral
+p2re
+p2r
+prs1s
+p2ri
+p2ro
+p2r
+p2sz
+r1a2d
+r1a2g
+r1agg
+r1ajk
+raj2t1l
+r1akc
+2r1a2l
+ral1e
+ra2n
+r1any
+r1ap
+2r1a2r
+2r1a2s
+2r1at
+2r1au
+2r1a2z
+12r1b
+rdi2k
+r1gy
+r2k1e
+2r12l
+2r12p
+r12ru
+1rb
+1r1bl
+1r1br
+2rea
+re2li
+ree2
+re2get
+r1e2gye
+rei2g
+2r1ekc
+2r1ekh
+re2lem
+r1elh
+2r1ell
+r1e2la
+r1els
+r1elt
+2r1elv
+2r1emb
+r1eml
+ren2d12
+r1enz
+reo2
+re1prog
+2r1e2s
+reu2
+re2
+2r1ex
+1rezr
+12r1g.
+1rgn
+1r1gt
+12r1kh
+r1kn
+r1ks
+2r12l
+r1p
+2r12ri
+r2sa
+r2sza
+12r
+r12ve.
+r12vek
+r1fl
+1rf
+r1fr
+r1g2r
+2r1i2d
+2r1if
+2r1i2ga
+2r1i2g
+r1iha
+r1ill
+2rim
+r1imi
+r1i2na
+r1ind
+2r1inf
+2r1int
+r1i2pa
+ri2s1
+r1iv
+r1i2z.
+2rizg
+r1izm
+r1i2zo
+r1r
+1rj
+r1k2l
+r1k2r
+1rl
+2r1okt
+r1old
+12r1o2li
+r1oll
+2r1or
+2r1osz
+2r12r
+3rg
+12rk
+2rl
+1rm
+r1ng
+2r1r
+2r1ssze
+12r1r
+2r12s
+1rsr
+2r12z
+r1pl
+r1p2r
+1r1p2s
+1rs.
+r2s1g
+r2s1l
+1rs
+1rs
+r1s2pe
+r1spi
+r1sr
+rs3s
+r1sz2
+r2s3zm
+1r1t2r
+12r1un
+12r1u2r
+r1ut
+2r1j
+r1r
+2r1t
+2r1d
+r1ld
+12rle
+2r1s
+2r1t
+2r1z
+2rzs
+2s1ad
+2s1a2g
+s1ajtb
+2s1ajtk
+sa2n
+s1ana
+sa2p
+s1arc
+s1ass
+s1au
+2s1b
+2s12g
+s2l
+s1ll
+s1ra
+s1rv
+s1dr
+s1e2d
+2s1e2ge
+2s1e2gy
+s1elm
+s1e2l
+s1elv
+2s1e2m
+se2n
+s1ene
+se2p
+s1epi
+s1epo
+s1e2rej
+s1er
+s1ess
+s1esz
+s1etn
+2s1e2v
+2s1ez
+s2g1e2l
+2s1ger
+s2gs
+2s1k
+2s12l
+s1p
+s1fl
+s1fr
+s1gn
+s1gr
+2s1i2d
+2s1if
+si2g
+s1iga
+s1i2ma
+s1i2m
+s1imi
+s1inf
+s1ing
+s1int
+2s1i2pa
+s1i2ra
+s1ist
+s1i2sz
+2s1i2z
+s2ka
+s12r
+s12z
+s2kl
+s1kl
+s1k2r
+s1kv
+s2lat
+s2nit
+s1ob
+so2k
+s1oko
+2s1o2l
+2s1op
+2s1org
+2s1os
+s1c
+s1ri
+2s12l
+s1nz
+s2r
+s1rd
+s1re
+s1r
+s1rv
+2s12z
+s1r
+s12s
+s2pec
+s2pek
+s1p2l
+s2pr
+sp2r
+s2rc
+s1sk
+s1s2p
+s1s2t
+ssz2
+s3sza
+s3sz
+s3szeg
+s3szek
+s3szell
+s3szem
+s3szen
+s3szer
+s3szes
+s3szk
+s3szn
+s3szf
+s3szi
+s3sz
+s3szl
+s3szo
+s3sz
+s3sz
+s3sz
+s3szu
+s3sz
+s2tad
+s2tat
+1s2tt
+1s2teri
+s2tg
+s2til
+st2r
+s1tre
+s1un
+su2t
+s1uta
+s1r.
+s12s
+sza2k1e
+sza2k1
+sz1e2l
+2szerk
+2szer
+sz1est
+szi2l1i2
+sz1ill
+sz1ist
+sz2l
+sz1l
+sz1l
+sz1lt
+s3zse
+sz3sir
+szt2
+2s3zr
+termo1
+termosz2
+tes2t1
+tol2l1a2d
+1t2ra
+1t2r
+1t2ri
+t2ro
+1t2r
+ttes3s
+t2ts
+tt1int
+t2t1o2
+t2t1u2
+tf2
+tfl1
+1u
+u2go
+u2ni
+u2ra
+u2r
+u2ru
+u2ta
+u2t
+u2tu
+1
+2jo
+2r
+2ri
+2ro
+2sz
+2t
+2ti
+2to
+1
+2d
+2ge
+2gy
+2le
+2re
+2r
+2sz
+2te
+2t
+2ti
+2t
+2t
+2ve
+2v
+2ze
+2z
+1
+2r
+2ri
+2r
+2z
+2z
+vasf2
+vasfl1
+vr1al
+ve2r1a
+2vet
+v2res
+v2ret
+z1abs
+2z1a2d
+z1a2g
+2z1ak
+2z1a2l
+2z1a2t
+2z1au
+2z1l
+z12t1e2
+z1bl
+zeg1g
+ze2g1i
+z1e2gy
+12zekn
+z1elo
+z1els
+z1elv
+2zem
+z1emb
+z1e2mel
+2z1e2r
+ze2t1a2
+ze2t1eg
+ze2t1el
+ze2ter
+ze2t1o
+2z1r.
+z2rem
+2z12ri
+2z1rl
+z1rt
+12zi
+2zi2g
+z1ig
+2z1in
+2z1iz
+z1k2r
+z1o2k
+z1ol
+z1os
+z1ssz
+za2
+ze2l
+ze2r
+z1p2r
+z3saj
+z3sap
+z3st
+z3sik
+z3sis
+z3s2t
+2z3s
+z3sz
+z1t2r
+z1t
+z1g
+2z1s
+2z12z
+z12z
+2p.
+1pa
+2p1abl
+pa2cem
+pa2ch
+pa1cl
+pa2cs
+p1a2dag
+pad1ala
+pa2d1as
+pa2d12l
+pade2
+pa2d1el
+pa2d1em
+pa2d1id
+pa2d1iga
+p1a2dott
+pa2du.
+pa2dut
+pa2dl
+pae2r
+pa2r
+pa1fl
+pa1f2r
+pa2ga.
+pai2d
+2p1ajt
+pa2kad
+paka2r1
+pa2k1e2m
+pa2k1r.
+2pakku
+pa1klu
+pa2k12
+pa1k2r
+2p1akta.
+pak2tal
+pak2t1e2l
+pak2t1es
+pak2t1e2v
+2p1akti
+pak2t1or.
+pak2t1orr
+pak2tos
+2palag
+pala2g1
+pa2lap
+palza2d
+pal2z1ad
+pa2l12l
+2p1alf
+2p1alg
+2p1alle
+2p1alm
+pal1ud
+pam1ass
+pa2m1ur
+pamu2ta
+pana2d
+pa2n1ag
+pa2nal
+pan1ala
+pa2n12r
+pans1s
+pan1d2
+pang1g
+pa2n1il
+pan1kro
+p1anny
+pa2nol
+pans2
+pansz2
+pan1szt
+pa2n
+2p1a2nya
+p1a2nyu
+pa2p1ad
+pa2p1a2pa
+papa2r
+pap1ara
+pa2p1aszt
+pap1ll
+pa2p1il
+pa2p1i2na.
+pa2p1i2p
+pa2p1o2ku
+pa2p
+pap1p2
+pa2p1ur
+pa2p1u2t
+pa2p
+2para.
+para2je
+par1a2la
+2parann
+2p1a2rany
+2pa2r1a2r
+pa2r1g
+pa2r1gn
+pa2r1go
+pa2r1gv
+2parh
+2p1a2rj
+par1ll
+2parr
+2parv
+2parb
+2p1arc.
+2p1arca
+2p1arcc
+2p1arch
+2parci
+2p1arco
+2p1arct
+2p1arcu
+2p1arc
+pa2r1el
+pa2r12l
+2parig
+2paril
+pa2r1ill
+par1isk
+par2k1a2l
+par2k1
+par2kel
+par2k1ing
+par2kov
+par2k
+par2kn
+par2k12v
+par2k12
+par2k1
+2paros.
+2parosi
+2paroso
+pa2r
+pa2r
+2parr
+pars2
+par2tem
+par2t1ol
+par2t12
+pa2r12
+pa2r
+past2
+pasz1alj
+pasz1alt
+pa2szas
+pat1ada
+patak2
+pa2t1alk
+pat1anya
+pa2t1ara
+pat1lc
+pa2t1rk
+pa2t1e2g
+pa2t1ell
+pate2s
+pa2tl
+pa2t1r.
+pa2t1rd
+pa2t1re
+pa2t1rte
+pa2tid
+pa2t1int
+pa2tir
+2p1atka.
+2p1atknk
+pa2t1old
+pa2t1olt
+2patombe
+pa2t1osz
+pa2t1otth
+pa2t1ut
+pa2ts
+pat2
+pa2t1z
+2p1a2tya
+2p1a2ty
+2paur
+pau2ra
+p1a2vat
+pa1wh
+2p1a2xi
+1p
+2p12b
+2p1br
+2pca
+2pc
+p2c1e
+pc2
+p2c3h
+p2c3s
+p2cs
+p2cs
+2p1g.
+2p12ga
+2p1gg
+2p1gy.
+2p12gya.
+2p12gyac
+2p12gyad
+p2gyaib
+p2gyaid
+p2gyaih
+p2gyaik
+p2gyaim
+2p12gyain
+p2gyair
+p12gyakb
+p2gyak
+p2gyaki
+p12gyako
+2p12gyakr
+p2gyakt
+2p12gyal
+2p12gyam
+2p12gyan
+p2gyast
+2p1gyaz
+2p12gyb
+2p1gyl
+2p12gyn
+p2gyt
+2p12gyv
+2p1gyb
+2p1gyc
+2p1gye
+2p12gy
+2p1gyf
+2p1gyga
+2p1gygo
+2p1gyh
+2p12gyi
+2p1gyj
+2p1gyk
+2p1gyl
+2p1gym
+2p1gyn
+2p12gyos
+2p12gy
+2p1gyp
+2p1gyr
+2p1gys
+2p1gyt
+2p12gyu
+p2gy
+2p1gy
+2p1gyv
+2p1gyz
+2p1jt
+pla2
+p2lab
+p2lac
+2p1lar
+2p1ldo
+p2le
+p1lla.
+2pllap
+2p1ll
+2p1llom
+2p1llv
+2plmo
+p2l
+p2ly
+plya1s
+2pmi
+2p12m
+p2mu
+pna2
+p2naf
+p2n1am
+p2n1an
+p2nar
+p2n1as
+p2nr
+p2n1e2
+p2nk
+p2nil
+p2nir
+p2nis
+p2n
+pn1kr
+2pnkt
+p2n12
+p2n
+p2n
+pn1sz
+pnte2
+pn2tek
+pn2t1el
+p2n
+p2ny1ad
+p2ny1a2l
+p2ny1a2n
+p2nyar
+p2nyat
+p2nyau
+p2nyaz
+p2ny1e2
+p2nyrd
+p2nyim
+p2ny
+2p12po
+pr1ad
+2pras
+2pr
+pr2d1a2
+pr2del
+p2r1e2
+p2r1i2p
+p2r
+pr1s2
+pr2t1ag
+2prtal
+prt1any
+pr2tari
+pr2tl
+prte2
+pr2t1el
+pr2tem
+pr2tes
+pr2tet
+pr2tl
+pr2t1r.
+pr2t12te
+pr2tiz
+pr2tott
+prt2
+pr2tk
+pr2t1
+pr2tus
+prt2
+pr2t1z
+p2ruh
+p2ruk
+pru2t
+pr1utu
+p2rn
+p2r
+2p12ss
+p2s1e
+p2sir
+p2s
+ps3s
+p2s12
+2p1svn
+p2t1a2
+p2t
+p2tel
+p2t1e2m
+p2tis
+2p1tka.
+2p1tkt
+2p1tkv
+p1tlag
+2p1tl
+p2t1or
+2p1trak
+2p1tt
+p2t1uk
+pt1rt
+p2t
+2p1tvt
+pba2l1
+pb2r1e2l
+pb2lo
+pb2ra
+pb2ri
+pb2ro
+pci2fo
+pcsa2p12g
+pcs2s1orr
+pda2l1ad
+pdal1an
+pda2leg
+pda2lel
+pda2l1es
+pda2ln
+pda2l12
+pd2ra
+pd2r
+pd2ro
+pd2r
+1pe
+pea2p
+pea2r
+peca1
+pec3c
+pe2cz
+pe2ed
+2p1eff
+pe1fl
+2p1e2gese
+pegsz1
+pe1g2r
+2p1egz
+2p1e2ke.
+2p1e2kei
+pe1k2r
+2pektr
+pe2ll
+pe2lr
+pe2lekt
+2pelemb
+2pe2lemek
+pe2lemet
+2p1e2lem
+2p1e2lemg
+2p1e2lemh
+2p1e2lemi
+2p1e2lemk
+2p1e2lemm
+2p1e2lemn
+2pelemr
+2p1e2lemz
+pel1er
+pele2t
+pel1ete
+2p1elgo
+2p1elha
+2p1elhel
+2pelj
+2p1elleb
+2p1elnev
+2p1elny
+pe2los
+2p1e2l
+2p1e2la
+2p1e2l
+2p1e2le
+pe2lg
+2p1e2lh
+pe2l
+2p1e2lj
+2p1e2ljeg
+2p1e2ll
+2p1e2lz
+2p1elren
+2p1els
+2p1elt
+2p1elto
+2pelu
+2p1elv.
+2p1elv
+pel2v1el
+2p1elven
+2p1elvh
+2p1elvi
+2p1elvo
+2p1elv
+3pely
+2p1elz
+2p1ember
+2p1e2mel
+2p1e2ms
+2p1eml
+2p1ems
+2p1e2mu
+2p1e2ner
+2penged
+pen3ny.
+pen3nyb
+penny1r
+pen3nyh
+2p1ennyi.
+pen3nyj
+pen3nyk
+pen3nym
+pen3nyn
+pen3nyr
+pen3nyt
+pen3nyv
+pe2nya
+peny2
+pe2ny1e2l
+pe2ny1e2r
+peo2l
+peo2p
+pe2r
+pe2pe.
+2p1e2p
+pe1p2r
+pe2r1akt
+per1all
+pera1p2
+perc1c
+per2c1el
+per2c1in
+2perd
+perec1c
+peregyez1
+p1e2rej
+pe2r1elk
+pe2r1e2lf
+pe2r1e2lk
+pere2mrt
+per1ev
+2perfa
+pe2rid
+pe2r1iko
+pe2r1il
+pe2r1i2na
+pe2r1i2n
+pe2r1ind
+pe2r1ing
+pe2r
+per1k2
+p2erl
+per1okt
+pe2r1os
+pe2r1o2x
+pe2r12r
+pe2rd
+pe2rf
+pe2ri
+pe2rm
+pe2rn
+pe2rr
+2p1e2rs
+pe2rt
+pe2rv
+per1st
+persz2
+pe2r
+pe2r12g
+per2l
+per1l
+per1lt
+p2erz
+pe2s1ebbel
+pe2s1ebb
+pe2ssig
+2p1e2ss
+pe2si
+pe1s2p
+2p1esszv
+pes2t1a2
+pes2t1er
+pe2szak
+pe2sz1l
+pesz1ell
+pe2sz1elv
+pesze2m
+pe2szeme
+pe2szu
+pe2sz12l
+pe2tal
+pe2t1a2n
+pet2
+petet2
+2petete
+2petet
+2p1e2tet
+2p1e2tika
+2petim
+2p1e2to
+pet2t1i
+pe2td
+pe2ug
+pe2v
+2p1ezr
+1p
+p2csu
+pd2
+p2d1l
+2pb
+2pi
+2pn
+2p12ge
+2p12g
+pgs3s
+2p12hen
+2p12hes
+2p12het
+2p1hs
+2p1j.
+pje2
+p2j1eg
+2p12ji
+2p1jj
+p2k1as
+p2k1au
+p2k12
+p2k1er
+p2k1k
+p2k12l
+pk2t
+p2k1te
+p2k1i2n
+p2kis
+2p1l.
+2p1lb
+p2le.
+p2lei
+p2lek
+ple2l
+pl1ele
+pl1elmei
+p2len
+p2let
+2p12l
+2plm
+2p1ln
+2p12l
+2p1lt
+2p12l
+2p1lv
+2pneka
+2p12nekb
+2pnekd
+2p12nek
+2pnekf
+2pnekg
+2p12neki
+2pnek
+2pnekj
+2p12nekk
+2p12nekn
+2p12nekr
+2p12nekt
+2p12nek
+p2ny1el
+pn2z1a
+pn2z12
+pn2zs
+p2p1i2p
+2p12p
+2pp
+2p1rc
+2p1rd
+2p12r
+2p1rh
+p2rig
+2p12rin
+2p1rm
+2p1rn
+2p12r.
+2p1rr
+2p1rte
+2p1rt
+2p1rt
+2p1rv
+2p1rz
+p2s1aj
+p2sal
+p2s1e2l
+p2ss
+psksz1
+p2so
+ps3sza
+p2s12t
+p2sza
+ps3zaj
+psz1ak
+ps3zav
+p2sz12
+p2sz1emb
+2p12szn
+p2szin
+p2sz1o
+p2sz1
+psz3s
+p2szu
+p2sz
+p2sz1
+pta1
+p2tel
+2p1tk
+2ptl
+p1tla
+2p1tr
+2p1tv
+2p1v.
+2p1vb
+2p12ve.
+2pvei
+2p12vek
+p2ven
+p2ves
+2p12vet
+2p1vf
+2p1vh
+p1vk
+2p1vn
+2p1vr
+2p1vs
+2p1vt
+2p1vv
+p2zak
+p2z1r
+p2zel
+p2z1e2m
+pzi2
+p2zid
+p2zin
+p2ziz
+p2zol
+p2zsa
+p2zu
+p2f1p
+pfi2
+pfi2kr
+pf2lo
+pf2l
+pf2lu
+pf2r
+p1f2re
+p1f2ri
+p1f2r
+p1f2ro
+pf2ru
+pf1st
+pg2ra
+pg2ru
+pg2r
+pha2de
+p2ha2i
+1phansz
+1p2hed
+phely2k
+1p2hia2
+p2hic
+1phila
+1p2hoi
+ph2i
+1pi
+pi2aa
+pi2a
+pi2aba
+pia2cel
+pia2cl
+pia2cik
+pia2c3se
+pi2ad
+pi2ae
+pi2a
+pi2ag
+pi2ah
+pi2aj
+pi2akn.
+pi2al
+pi2am
+pi2ao
+pi2a
+pi2ap
+pi2ar
+pi2asza
+pi2at
+pi2a
+pi2a
+pi2ave
+pi2az
+2picc
+pi2ce.
+2picl
+pida2
+pi2dan
+pi2dea
+pi2de
+pi2dei
+pi2den
+pi2deo
+2p1i2dom
+2p1i2d
+2p1i2du
+pi2eg
+pi2er
+pi2g
+pi1fr
+2p1i2ga
+2p1i2ge
+2p1i2g
+2pigo
+2p1ihl
+pi2k1
+pil2i
+pilis3s
+2pilles
+2p1illet
+2pills
+2pillu
+2p1i2ly
+2p1i2m
+2p1i2mi
+2p1imm
+pinak2
+pina1p
+2pind
+2p1inf
+pin2gas
+pin2g12r
+pin2gelj
+pin2gp
+pin2gos
+2p1ing
+2pinj
+2p1inp
+pin2tc
+pin2t1or
+pin2tr
+pintu2
+pin2tur
+pi2n
+2p1inv
+2p1inz
+pion1n
+pi2a
+pi2
+pi2e
+pi2f
+pi2g
+pi2ki
+pi2l
+pi2ma
+pi2m
+pi2o
+pi2p
+2pipai
+2pipar.
+2p1i2par
+2piparb
+2piparh
+2piparn
+2piparr
+2p1irh
+2p1i2rod
+pisau2
+2pisko
+pi2s1op
+2p1iste
+2p1isza
+piszkos1s
+pi2t1aj
+pi2tala
+pi2tall
+pi2t1a2n
+pi2t12p
+pi1t
+pi1the
+pitos1s
+pi2t12
+pi2vs
+2p1i2z
+1p
+p2g
+p2j
+p2n
+p2r1a2
+p2r
+pr1l
+pr12r
+2p1rs
+p2r1e2
+p2r1in
+pr1i2s
+p2r
+p2rol
+2p12r
+p2r12
+pr1s
+prt2
+pr1tr
+p2r
+p2r
+2ptl
+2ptm
+pta2
+pte2l
+p2ve
+p2ze
+p2z
+p2z
+p2z
+pke1p2
+pke1s2
+pks1s
+pkia2
+pki2
+pkie2
+pk2la
+pk2li
+pk2l
+pk2lu
+pk2r
+pk2re
+pk2r
+pk2ri
+pk2ro
+pk2r
+pk2va
+pk2v
+p2lacc
+pla1k2l
+pla2pal
+plap1ll
+pla2p1osz
+p2latf
+1plazm
+ple2
+ple2t1a2n
+ple2t1e2l
+pl2
+pl2has
+pli2s3z
+plo2m1e
+plo2mn
+plom1ol
+plt2
+pl1tr
+pl2sa
+pl1st
+pl2szr
+plu2m1e
+p2lur
+pms1s
+pmeg1g
+1po
+po2be
+pocsi2
+po2cs1iz
+po2da.
+po2dz
+pogs1s
+po2in
+poki2
+2p1o2k1ir
+po2k
+2p1okle
+po1k2l
+2p1okm
+poko2la
+pokol1l
+2p1okta
+2p1okt
+pols1s
+polc3c
+pol2c3s
+2p1olda
+pol2
+2poltr
+2p1olts
+2p1olti
+2p1olt
+2polvas
+po2n1a
+pon2c3so
+po2nel
+pon2g1e
+poni2
+po2niz
+pon3n
+po2n1osz
+pon2t1a2d
+pon2tag
+pon2t1a2l
+pont1any
+pon2tl
+pon2tr
+ponte2
+pon2t1el
+pon2tem
+pon2ten
+pon2tes
+pon2tk
+pon2t1r.
+pon2t1te
+pon2tisz
+pon2t
+pon2t12
+2ponz
+po2ol
+po2p1a2
+po2p12
+2popc
+2po2pe
+pop1el
+popi2
+po2pik
+po2p1in
+po2p1ir
+po2pis
+po2p1o2l
+pop1p2
+pop1s
+popsz2
+2pop1t2
+po2p
+po2p
+po2r1a2c
+po2r1ag
+po2rakk
+por1ala
+por1all
+po2ram
+pora2n
+por1any
+po2r1a2r
+po2rat
+por1cs
+por1ll
+por2can
+por2c3h
+por2c3s
+pore2
+po2rec
+po2res
+por1f2
+por1g2
+po2rid
+2porie
+po2rih
+po2r1il
+po2r1i2m
+po2r1in
+por1k2
+po2r
+po2r
+por2tamb
+por2t1au
+por2t12r
+por2trb
+por2trn
+por2tej
+por2t1em
+por2tet
+por2tl
+por2t1r.
+por2t1rk
+por2t1i2k
+por2tiz
+por2t1v
+por2tur
+por2t1usz
+por2tr
+por2t
+po2r
+2p1orvo
+pos3szo
+pos3sz
+2postol
+2p1osty
+po2s
+po2sze
+po2sz
+2p1oszl
+posz2t
+po2tab
+po2tad
+po2t1a2l
+po2tan
+po2t1a2u
+po2t1e2l
+po2t1inf
+po2t1ip
+po2t12
+po2tol
+po2t
+po2tus
+po2t
+po2vi
+1p
+p2ce
+p1fr
+pi2g
+p2k1ass
+p2kau
+p2k1e2l
+p2kem
+p2ket
+p2k1id
+p2kim
+pki2s
+pk1isz
+p2kiv
+p2k1s
+p2k1
+p2l1an
+p2l1
+p2lom
+2p12n.
+p1p2r
+p12rad
+pr12sz
+pre2
+p2reg
+p2rem
+p12ri
+p2r
+p2s1or
+ps3s
+p2s12v
+pta2
+p2t1ad
+p2tal
+p2t1an
+pt2r
+p2til
+pt2
+p2tl
+2pn
+2p12v
+p2ze
+p2z3s
+1p
+p2ka
+p2k
+p2kel
+p2ker
+p2kid
+p12ko
+p2ku
+p2k
+p2lye
+2pnt
+p2ra
+p1rd
+p2res
+3prg
+p2ro
+p2r1
+p2r
+2p1ss
+p1tl
+ptty1in
+2p1tv
+p2ve
+1p
+pa2n
+p2g
+p1bl
+p1dro
+pe2r
+p2h
+p2l
+p1kl
+p1pl
+p1pr
+2p1r.
+p2ri.
+p1rj
+p1rl
+2p1rn
+p1rs
+2p1rt
+p12r
+2p1rz
+p1sz
+pp1ada
+ppai2
+ppa2j
+pp1aj
+pp1akk
+ppa2nad
+ppa2n1ell
+ppan1k2
+pp1any
+pp1arc
+ppa1s
+pp1ll
+p2p1rj
+p2p12rok
+pp1tm
+p2p12to
+pp1tv
+p2p1e2gy
+p2p1e2kh
+p2p1elo
+p2p1elr
+ppe2r1a
+ppe2r
+p2p1g
+p2p1ks
+pp2h
+ppin2g1e2
+pp1g
+pp1kl
+pp2las
+pp2lat
+pp1o2ly
+p2p1o2rom
+ppor2t12r
+ppor2t1e2
+ppor2t12
+p2p12l
+pp1r
+pp1n
+pp1v
+pp12z
+p1p2ref
+p1p2rem
+p1p2rez
+p1p2rm
+pp2rin
+pp2rio
+p1p2roc
+p1p2rod
+p1prof
+p1prog
+p1proj
+p1p2ros
+p1p2rot
+pp2rb
+pp1sp
+p2p1g
+p2p1r.
+ppv2
+ppvz1
+1p2rax
+p2remi
+1p2repa
+pressz2b
+2pret
+pret2
+1p2rdi
+p2rp
+pr2sa
+pr2s3z
+p2riccs
+p2rius
+p2rizm
+pr2m1e2l
+pr2mem
+1probl
+1p2roce
+p2rof
+1profe
+p2rog
+p2roj
+1proje
+pro2mo
+p2ropa
+1p2rote
+1prot
+1p2roto
+1p2rovo
+1prb
+pr2d1e
+pr2dz
+1p2rza
+pru2s1g
+pru2se
+1p2rs
+p2s1a2d
+ps2gel
+ps1i2ha
+ps12ze
+p1s2k
+p1s2mi
+p2s1n
+p2s12z
+p1s2pe
+ps2pi
+p1s2po
+ps1pr
+ps2r
+ps3sz
+p1s2t
+ps2ti
+p1s2t
+ps2to
+p1st2r
+ps2tu
+p1s2t
+psza2k1
+psz1any
+p2sz1as
+psz1atl
+p2sz1g
+ps3zp
+p2szg
+psz2f
+1p2szic
+p2sz1ill
+pszis3s
+psz1k2
+psz1old
+psz1orn
+p2sz1n
+p2sz1s
+psz3s
+pta2d
+pt1ada
+pta2n12s
+pta2ne
+pt2raj
+ptr2
+pt2rr
+p2t1eg
+p2t1e2ke.
+p2t1e2l
+p2t1els
+pte2rl
+pt2k
+pt2k1el
+p2t1rd
+pt1i2ma.
+p2t1i2n
+p2t1i2o
+p2t1i2r
+p2t12r
+pt1kl
+p2t1t
+p1t2rag
+p1t2ran
+p1t2r
+pt2r
+ptu2sze
+ptu2szi
+p2t1rr
+p2t1t
+1pu
+pua2d
+pu2csor
+pue2l
+2p1ugr
+2puk
+pul2tas
+2p1u2ni
+2puno
+2p1u2n
+puo2r
+pu1pr
+pu2rak
+pu2ral
+pu2sad
+pu2sal
+pusa2n
+pus1any
+pu2sap
+pu2sl
+pu2s1tl
+pu2s1e2
+pu2s1rt
+pu2sik
+pu2sis
+pu2s
+pu2sol
+pu2s
+pu2s
+puss2
+pussz2
+pust2
+pu2s
+pu2szag
+pu2szal
+pu2s3zr.
+pusz12p
+pu2sz
+pu2tab
+pu2t1a2d
+pu2tak
+puta2n
+2p1u2taz
+put1ing
+pu2tol
+pu2td
+2p1u2tp
+pu1tr
+1p
+2p1rf
+p2sz
+2p1tb
+p2t
+2p12ti
+2p1tj
+2p1tk
+2p1tn
+2p12to
+2p1tp
+2p1tr
+2p1tt
+2p1tv
+1p
+p2ge
+p2gy
+p2k
+2ple
+ple2t1o
+2p1nn
+p2re
+2p12r
+2p1st
+2p12te
+p2t
+2p1tk
+2p12t
+p2ve
+p2ze
+1p
+p2z
+pv2r1al
+pw2hi
+pwhisky2
+py2ba
+py2b
+py2do
+py2ho
+py2ja
+py2j
+py2ka
+py2k
+py2ki
+py2ko
+py2ma
+py2na
+py2n
+py2ra
+py2r
+py1t2h
+py2t
+py2va
+py2v
+pze2t1a2
+pze2t12
+pze2t1e2r
+pza2
+pze2
+pz2
+2q.
+1qa
+1q
+1qe
+1q
+1qi
+1q
+1qo
+1q
+1q
+1q
+1qu
+qu2ae
+qu2at
+qu2er
+qu2ez
+que2zi
+qu2b
+qu2ie
+qu2ij
+qu2il
+qu2in
+qu2is
+qu2od
+1q
+1q
+1q
+2r.
+1ra
+raa2d
+rata2d
+ra2bad
+rab1asz
+rab12ra
+rab1rb
+rab1rr
+ra2b1t
+ra2b1ele
+ra2b1ell
+ra2bid
+rabi2g
+ra2b1iga
+ra2b1ig
+ra2b1im
+ra2b1i2na.
+ra2b1i2n
+ra2bind
+ra2b1int
+2rabla
+ra1bri
+ra2buj
+ra2c1aj
+rac3csa
+ra2cet
+ra2cha
+rac3hig
+ra2c3hok
+ra2c3hos
+ra2c3hot
+2r1a2cid
+rac2kar
+rac2kit
+rac2k12
+rac2k
+ra2dag
+ra2dal
+rada2rad
+2radat
+rads1s
+ra2de.
+r2a3d
+2radc
+2radm
+3radsi.
+2r1a2dz
+ra1dr
+ra1dru
+2r1a2du.
+ra2dus
+rae2r
+ra2derb
+ra2dere
+ra2derh
+ra2dern
+ra2derr
+ra2dert
+ra2r
+rafikus1s
+ra1fl
+2r1a2ga.
+ra2gak
+rag1alo
+ra2g1c
+ra2g
+2r1a2gn
+rag2de
+ragdi2
+rag2din
+ra2gel
+ra2g1i2na.
+2r1agy.
+ra2gyat
+2r1agyn
+ra2gyon
+2r1agyr
+rai2o
+2raiz
+2raizi
+2raizn
+2raiz
+2raizu
+ra2j1a2d
+ra2j1au
+ra2j12ru
+ra2j1es
+ra2jin
+2rajkr
+2r1ajk
+rajob2
+raj2t1e2l
+raj2t1en
+raj2zat
+raj2z1e
+raj2z1n
+raj2z3s
+2r1a2kara
+rak2kp
+rak2kis
+ra1k2li
+ra1klo
+ra1kl
+ra1klu
+2raknb
+2rakni
+r1a2kz
+rak2re
+ra1k2r
+ra1k2ri
+rak2rom
+raktus1s
+2r1a2kus
+r2alab
+2r1a2la2g1
+2ra2laku
+ra2lapa
+r1a2lap
+ra2lz
+ra2lz
+2r1alb
+2r1aljai.
+2r1alji
+2ralk
+ralla2k
+ral2l1ak
+ral2l1at
+rall2
+ral2lg
+ral2ll
+ral2lev
+ralo2m1e
+ra2mab
+2ramai
+rama2l
+ra3mat
+ram1ll
+ra2m1r
+ra2m1rb
+ra2m1re
+ra2m1rh
+ra2m1rn
+ra2m1rr
+ram1b
+ra2m1he
+ram1ide
+ram1i2ko
+ram1ill
+ra2m1im
+ram1ina
+ram1inf
+ram1ing
+ram1inj
+ra2m1i2p
+2rammb
+2rammet
+2rammi
+2rammj
+2rammn
+2rammr
+2rammt
+ra2m1osz
+ra2m12r
+ra2m
+ra2m
+ra2m
+2r1a2nal
+2r1a2nat
+rans1s
+ran2csal
+rancs1g
+ran2cse
+ran2csik
+ran2cs
+rancs3z
+2rand.
+ran2dat
+ran2d1au
+2randj
+ran2dz
+ra2nek
+ran2g1a2
+ran2g1
+ran2ge
+rang1e2l
+ran2g12
+ran2gye
+ra2nil
+ra2nim
+2ranka
+ran2szl
+ran2sze
+ransz1omb
+2rany.
+ra2nyag
+rany1a2la
+ra2ny1a2n
+ra2nyap
+ra2ny1ar
+r1a2nyit
+r1a2nyka
+r1a2nykh
+r1a2nykk
+ra2ny1l
+ra2nys
+r1anys.
+2ranyb
+ra2ny1e2s
+2rany
+ra2nyl
+2ranyh
+ra2nyid
+ra2nyin
+ra2nyir
+rany12r
+2ranyk
+2ranyn
+ra2ny1ol
+2ra2ny
+rany12r
+ra2ny
+2ranyr
+2ranys
+2ranyt
+ra2ny1
+2ranza
+ra2a
+ra2
+ra2f
+ra2l
+ra2m
+ra2p
+ra2sz
+2rapa.
+ra2pk
+2rapp
+rap2pin
+ra1p2re
+ra1pr
+ra1p2ri
+ra1p2ro
+2rarann
+2r1arany.
+2r1a2ranya.
+2r1a2rany
+2raranyb
+2raranyn
+2raranyr
+2r1aranyt
+ra2rat
+2r1arco
+ra2rn
+2r1art
+2r1arz
+ra1s2k
+ra1s2l
+ra1s2pe
+ra1s2po
+rassz1e
+2rasszoc
+rast2
+ra1s2ta
+ra1st
+ra1str
+ra2sz1abl
+ra2sz1aj
+ra2szas
+ra2szat
+ra2szg
+ra2sz1rr
+rasz1emb
+ra2sz1tt
+ra2szb
+ra2szi
+ra2szn
+ra2szs
+rasz2t1a2ny
+rasz2t1el
+rasz2t12te
+rasz2t
+rasz2t
+ra2t1a2d
+rat1ajt
+rat1a2la
+rat1alt
+rat1ar
+2r1a2td
+rat1ll
+ra2t1rad
+ra2t12rai
+ra2t12rak
+ra2t1rb
+ra2t1rv
+ratt1a2
+rat2vi
+ra2t1e2g
+ra2t1elk
+ra2t1ell
+2ratg
+rat1ge
+ra2t1rd
+rat1rke
+ra2trte
+ra2t1rv
+rat1ing
+ra2t1r
+ra2t1ve
+2r1atk
+2ratl
+2ratoz.
+ra1t2ran
+2r1attr
+ra2tr
+2raty
+ra2tya
+ra2ty
+ra2tyu
+ra2udi
+2r1a2uk
+ra2ul
+2raum
+rau2n
+rau2ta
+rau2t
+ra2uto
+2r1aut
+raut2
+ra2t
+ra2z
+2ravat
+2rav
+ra2x
+ra1ye
+ra1y
+raz1ajt
+raza2n
+ra2z1any
+ra2zel
+ra2z1olt
+ra2zono
+1r
+r1bre
+r2cal
+r2c1e
+r2c3h
+r2c1i2n
+rci2f
+r2c
+r2csala
+rc3sg
+r2cst
+r2csir
+r2cs1is
+r2c
+r2c
+r2d1any
+2rdh
+2rdd
+2rdju
+2rfha
+2rfhe
+2rfhi
+2rfid
+2rfre
+rg1ad
+2rgam
+2r12gaz
+rg12z
+r2gia
+r2gil
+r2gim
+r2gis
+2rg
+r2g1osz
+rgus4
+r2g
+2rgya
+2rgyb
+2rgy
+2rgyh
+2rgyi
+2rgyj
+2rgyk
+2rgyn
+2rgyr
+2rgys
+2rgyt
+2rgyv
+r2gyu
+r2r
+rj2k1a2
+rj2kel
+rj2k12
+r2j
+r2kt
+r2k1ered
+r2k1e2s
+r1kla
+2rkog
+r2k1osz
+r2k1n
+r2k12r
+r1kr
+r1krt
+r2l1ak
+r2l1a2l
+r2lana
+2r1lar
+rla2t1e
+r2ll
+rl1tl
+r1lc
+2r1ld
+r2lid
+r2lim
+r2l
+2r1llam
+2r1llap
+2r1llat
+2r1ll
+2r1llom
+2r1lma
+r2l
+r2lyal
+r2ly1a2n
+r2lyap
+r2ly1as
+r2lyav
+r2lys
+r2lyt
+r2m
+r2nal
+r2n1a2n
+r2n1a2t
+r2n1r
+r2ns
+rnc1c
+r2nk
+rn2gl
+r2niz
+r2n
+rn1kl
+r2nol
+r2not
+r2n12
+rn2sav
+rns3s
+rn2t1ak
+r2n
+r2ny1a2d
+r2nyag
+r2nyako
+rny1alt
+r2ny1a2n
+r2ny1ap
+r2nyar
+r2nyaz
+r2ny1r.
+r2nyrm
+r2nyrz
+r2ny12r
+r2nyol
+r2ny
+r1p2l
+2rpo
+r2pol
+r1p2r
+2r12rad
+rr1a2d
+2r12rai
+2r12ram
+2r12ras
+2r12rat
+r2raz
+r2rb
+r2rh
+r2r1l
+r2rr
+r2rt
+r2rv
+r2r1em
+r2rr
+2r1rh
+r2riai
+2r12ri
+r2rin
+2r1rj
+2r1rl
+2r1rn
+r2r1ol
+r1rt
+2rru
+r2rul
+r2run
+2rr
+r2r.
+r2rt
+r2rv
+r2s1a2d
+r2s1akn
+r2sal
+rsa2r
+rs1ar
+r2s1as
+2rsat
+rs1a2to
+r2saz
+rs12ga
+r2s1rad
+r2s1rak
+r2s12r
+r2s12r
+r2ss
+r2ser
+r2sis
+r2s1ol
+2r12s.
+2rsb
+2rs
+2rsg
+2r12sh
+2rsi
+2rsj
+2rsk
+2rsn
+rs12ra
+2rsr
+2r1ss
+2rst
+2r1sv
+r2s
+rst2
+rs1tr
+r2sut
+r2szan
+r2szas
+r2sz12ru
+r2sziv
+rs3zn
+r2tad
+rt1a2da
+rt1ala
+r12tl
+r2tg
+r2tl
+2rtp
+r2t1i2o
+r2t
+2r1tl
+r1tri
+r1tro
+rtus1s
+rt2
+r2tr
+2r12tl
+r2zal
+2rzisb
+2rzis
+2rzish
+2rzisk
+2rzisn
+2rzisr
+2rziss
+2rzist
+rzi2sz
+r2zsal
+rz4s
+rzs1e2
+rzs2
+r2zsn
+rzsi2a
+r2zsis
+r2zs
+rzs12
+rba2j1e
+rba2jokt
+rba2n1
+rbty2t
+rb2ty1to
+r2b1ell
+r1b2la
+r1b2lo
+rb2l
+rboc1c
+r2b1olda
+rbo2n1a2
+r1b2ra
+r1b2r
+rb2ri
+rb2ro
+r1b2r
+rb2ru
+rbu2t1e
+rc1ad
+rc1ajt
+rca2lak
+r2c1alk
+r2c1ana
+rc1anya
+rca1p
+rc1ara
+rc1ar
+rc1ass
+rc1a2to
+r2c1g
+r2c12l
+rc1r.
+r2c1ri
+r2c1rn
+r2c12ro
+r2c1rr
+r2c1rt
+r2c12ru
+rc3csi
+rc3cs
+rc3cso
+rc3cs
+rc3cs
+rce2g1a2
+rceg1g
+rc1egy
+rc1e2leg
+rc1elk
+rc1e2ld
+r2c1els
+r2c1ember
+r2c1epe
+rc1e2ve
+r2c1ex
+r2c1ez
+rc12kt
+r2c1le
+r2c12l
+r2c12li
+r2c1lm
+r2c1l
+r2c1p
+r2c1r.
+r2c1rb
+r2c12ri
+r2c1rr
+rc1sz
+rc1fr
+rc1gr
+r2c3has
+rc3hel
+r2chen
+r2chig
+r2chom
+rc3hu
+r2c3h
+r2c3h
+rci2d
+r2c1ide
+r2c1i2ko
+r2c1ikr
+rc1ill
+r2cim
+r2c1imi
+rc1i2na.
+rci2nb
+rci2n
+rc1i2nr
+r2c1i2nt
+r2c1ind
+rc1i2oni
+r2c1i2pa
+r2c1isi
+r2c1isk
+r2c1ist
+rc1izm
+rc1i2zo
+r2c1j
+r2c1v
+r1c2k.
+r1c2kh
+r1c2ki
+r1c2kt
+r1c2ki.
+r1c2kia
+r1c2kig
+r1c2kok
+rc1k2r
+rc1kv
+r1c2lu
+r2c1op
+r2c1o2r
+r2c1osz
+rc1n
+rc12r
+rc1v
+r2c1b
+r2c1n
+r2c1r
+r2c1s
+rc1r
+rc1pl
+rc1pr
+rcs1abl
+rcs1alak
+rcsa2p12g
+r2c3sara
+r2csarl
+r2c3sp
+r2c3sr.
+rcs1ru
+r2c3sej
+r2cseleme
+r2cs1elr
+r2cs1rb
+r2csikr
+rcs1rs
+rc3s2k
+r2c3sora
+r2c3soro
+rcsna2k12
+rcs1s.
+rcs1p
+rc3s2pi
+rcs1s
+rc3sto
+rc3sz
+rc1tr
+r2c1ud
+r2c1ur
+r2c1ut
+r2c1j
+rc1g
+r2c1r
+r2c1s
+r2c1t
+rc1v
+rc1z
+rc1z
+r2c3z
+rc3z
+rc3zs
+rc3zu
+rc3z
+rda2cl
+rd1a2dat
+r2d1akc
+rda2l12
+rd1alka
+rd1alko
+r2d1a2nya
+rda1p
+rd1a2rn
+r2d1arc
+rd1aszt
+r2d1azo
+rd1cs.
+rd12rak
+rd1rat
+rd12ron
+r2d1rv
+rds1s
+rd1bl
+rd3dz
+r2d1e2g
+rde2k1a2
+rde2ker
+rde2kk
+rde2kol
+rde2k12
+r2d1ela
+rde2st
+rd1exp
+rdez2p3
+r2d12g
+rd12l
+rd1lr
+rd1lt
+rd12l
+r2d1p
+r2d1r.
+r2d1rd
+r2d12ri
+rd2sa
+rd2sza
+r2d12v
+rd1fr
+r2d1i2d
+r2d1i2ga
+r2d1ig
+r2d1ima
+r2d1i2na.
+r2d1i2nai
+r2d1i2nt.
+rdio2x
+rd1izo
+r2d1g
+r2d1z
+rd1kl
+r2d1okta
+r2d1old
+rd1orr
+r2d1osz
+r2d1ou
+rda2
+rd12r
+rd2g1l
+r2d1l
+r2d1s
+rd1v
+rd2s1orr
+rd1pr
+r1d2ram
+rd2rap
+r1d2raz
+rd2rog
+r1d2rt
+rd1sk
+rd1sp
+rd1st
+rdsza2k1
+rd1t2r
+rd1udv
+r2d1ur
+rd1g
+r2d1t
+r2d3za
+r2d3z
+rd3zo
+rd3z
+r2d3z
+rd3zs
+r2d3z
+1re
+rea2d
+rea2j
+rea2ka
+rea2la
+rea2r
+2rel
+2rel
+2r1eb.
+2r1ebb
+reb1egy
+2r1e2bd
+2r1ebh
+2r1ebk
+2r1ebm
+2r1ebn
+2r1ebs
+2r1ebv
+re2caj
+re2cal
+re2c
+2recets
+re2ch
+rec3sar
+2r1e2cset
+rec3sor
+re2cz
+re2dan
+red1elv
+2redend
+re2d1e2r
+2redeti
+2redet
+2redny
+re2d12ves
+re2dir
+re2dor
+2r1edzb
+2redzj
+2r1e2dzk
+2redzr
+2r1e2dzt
+2redzv
+re2et
+re2ew
+2reff
+re2gap
+re2gas
+reg1ll
+re2gr
+reg1e2le
+reg1elh
+reg1ell
+re2g1elr
+reg1elv
+reg1eng
+reg1e2tet
+reg1e2v
+regsz1
+re2gid
+reg1inj
+re2giz
+re2gc
+reg2v
+re2g
+reg2l
+re2g1l
+2r1egy.
+2r1egyb
+re2gye.
+re2gyed
+re2gyen
+2r1e2gyes
+re2gyet
+2r1e2gyez
+2r1e2gy
+2r1egyh
+2r1egyk
+2r1egyl
+2r1egyn
+2r1egyr
+2r1egys
+2r1egyt
+re2gyn
+r1egyv
+rei2r
+re2ja
+2rej
+2reje
+2rejn
+2rejr
+2rejt
+re2k1ag
+re2k1ar
+re2k1asz
+re2k12l
+re2k12p
+re2k1r.
+re2ks
+rek1elh
+rek1elt
+rek1el
+rek1erd
+re2k1e2r
+reke2sz1
+2rekh
+re2kj
+re2kk
+2r1ekk.
+rek1kh
+re2kl
+2r1e2knk
+re2k1r.
+re2k1rd
+re2k1rte
+2r1e2ks.
+re2k1ss
+re2k1id
+re2kij
+re2kil
+re2k1ing
+re2k1int
+re2k1ip
+re2kr
+rek1k2
+re1klu
+re2k1ok
+re2k1old
+rek1opt
+re2k1os
+rek1ott
+re2kr
+re2kk
+re2ktl
+re2k
+rek1s
+reksz2
+re2k1u2s
+re2kd
+re2k1g
+rek2l
+re2k1l
+re2k1l
+re2kt
+2r1elad
+2r1e2lg
+2r1elb
+2r1elbo
+2r1elc
+2r1eldo
+2r1e2lef
+2relektr
+rele2ma
+2re2leme.
+2r1e2lemed
+rele2meg
+2relemei
+2re2lemek
+2relemem.
+2r1e2lememe
+2relememm
+2r1e2lemen
+rele2m1er
+2relemes.
+2r1e2lemese
+2relemesn
+2r1e2lemet
+re2lemez
+rele2m1r.
+2r1e2lemtel
+2relemk
+2relemnk
+2relemz
+2relemz
+2r1e2l1eng
+2relr
+2r1elf
+2r1elha
+2r1elh
+2r1elhel
+2r1elh
+2r1elj
+2r1elk
+rella2
+rel2l1an
+2r1ell
+2r1ell
+2r1elma
+2r1elm
+2relmh
+2r1elmi.
+2relml
+2relmte
+2r1elnev
+2r1eln
+2r1elny
+2r1e2los
+2r1e2lad
+2reldei
+2r1e2ldk
+2relnn
+2r1elnye
+2relzm
+2r1elso
+2r1elsz
+2r1elta
+rel2tr
+2r1eltv
+2r1eltett.
+2reltettk
+2r1eltr
+2r1eltv
+2rel
+2r1e2l1l
+2rel
+2r1elv.
+2r1elv
+2r1elvb
+2relved
+2r1elvei
+2r1elvek
+2r1elvem
+2r1elven
+2r1elves
+2r1elv.
+2r1elvne
+2r1elvr
+2r1elv
+2r1elvv
+2r1elvh
+2r1elvi
+2r1elvk
+2r1elvn
+2r1elvo
+2r1elvr
+2r1elvs
+2r1elvt
+2r1elv
+2r1elv
+2r1elvv
+2r1elz
+re2m1a2d
+re2m1asz
+re2maz
+re2m1l
+re2mt
+2rembar
+2r1ember.
+2r1emberb
+2r1embere.
+2rembered
+2r1emberei
+2r1emberek
+2r1emberes
+2r1ember
+2r1emberh
+2r1emberi
+2r1emberk
+2r1embern
+2r1emberr
+2rembers
+2r1embert
+2r1ember
+rem1ble
+r1emb
+2rembr
+re2mel
+rem1e2lem
+2r1emel
+2r1emelg
+r1emelk
+rem1eld
+rem1els
+re2m1eng
+re2m1esz
+re2m1r.
+re2m1rm
+re2m12te
+re2migr
+re2m1r
+re2m
+re2m12r
+rem1p2
+2remuk
+2r1e2mul
+rem1ur
+2r1e2mus
+2r1encik
+ren2d1e2r
+ren2d1g
+ren2dj
+ren2dk
+ren2d1o
+ren2d1
+ren2d12s
+2r1e2ner
+rens3s
+2r1enged
+2ren
+ren2s1g
+rens3s
+re2of
+re2a
+re2c
+re2e
+re2
+re2f
+re2ka
+re2l
+re2o
+re2p
+re2s
+re2sz
+re2p1aj
+rep1ana
+rep1asz
+re2pau
+re2paz
+rep1ll
+rep1lm
+re2ps
+re2pt
+re2p1e2g
+re2p1elf
+re2p1elk
+re2p1ell
+re2pelm
+re2p1eng
+re2p1ep
+2r1e2per.
+re2p1erk
+2repd
+rep12j
+2repnk
+2r1e2ps
+re2p1i2d
+rep1ille
+rep1int
+re2pok
+2reposz.
+2reposzt.
+rep1oszt
+rep2
+re2p1r
+rep1pl
+rep1pr
+re2p
+2r1erd
+re2rei
+re2rej
+re2res
+re2rez
+2r1erg
+re2rz
+2r1e2r
+2r1ers
+re2sas
+re1s2c
+2r1esem
+res1epr
+rese2t1e2l
+2r1esl
+2resk
+r1essi
+re2szaj
+2r1e2szet
+resz1v
+2reszk
+2reszm
+reszta2
+resz2t1an
+resz2tl
+resz2t1r
+resz2t12v
+resz2t1o2r
+resz2t1os
+2resz.
+2r1e2sze
+re2t1ab
+re2t1akt
+re2tal
+ret1a2la
+re2tant
+re2t1a2ny
+re2tg
+re2t1ra
+re2t1ro
+ret1tf
+re2t1elb
+re2t1ell
+re2telm
+ret1emel
+re2t1erk
+rete2sz1
+2r1e2tets.
+2r1e2tets
+2retetsn
+re2t12k
+re2t1l
+re2t1rb
+re2t1rd
+re2tid
+2r1e2tika
+re2tik
+ret1ill
+r1e2tilt
+re2t1ing
+re2t1int
+re2tis
+r1etnik
+re2t1ok
+re2t1old
+re2t1os
+re2tr
+re2t1r
+re2t12v
+ret2t1est
+ret2tne
+ret2t1in
+re2t1ut
+re2t1lt
+re2td
+re2ud
+re2ute
+re2vez
+2r1e2v
+2r1exp
+2rezetn
+2rezet
+2rezor
+2rezkh
+2r1ezr
+2rezs
+1r
+r2b
+r2bis
+r2biv
+r2b
+2rbres
+r2b
+2r12des
+2rf
+2r1gb
+r2gt
+2r1gn
+r2g12
+r2g
+2rgt
+2r1h.
+2r12hen
+2r12hes
+2r12het
+2r1hs
+2r1ht
+r2jen
+2r12jet
+2r12jn
+r2k1ab
+r2kac
+r2k1a2g
+r2k1a2n
+r2k1au
+rk12s
+r2k1e2b
+r2k1eg
+r2kel
+rk1ele
+rk1el
+rk1elr
+rk1els
+r2k1esz
+r2k1te
+r2kik
+r2kin
+r2kit
+rk1ola
+rk1old
+r2kr
+r2k12v
+r2kz
+r2k
+rku2
+r2k1ut
+r2k1
+r2let.
+r2letb
+2r12lete
+r2let
+r2leth
+r2letn
+r2letr
+r2lett
+r2let
+2r1lf
+2r1lm
+2rly
+r2mad
+r2m1a2l
+r2m1an
+r2mar
+r2mau
+r2m1l
+r2mr
+r2mel
+rm1e2le
+r2mer
+r2m12r
+r2mil
+r2m1ist
+r2mos
+r2m
+r2m
+2rmtu
+rna1p2
+2r12nekh
+2r12neki
+2rnekl
+2r12nek
+r2nel
+2rner
+r2n12j
+r2n
+r2ny1e2l
+r2p1ed
+r2peg
+r2pes
+rpi2
+r2p1ip
+2r12p
+r2pol
+r2p
+r2p
+2r1pl
+2r1r.
+2r1rb
+2r1rc
+2r1rd
+2r12ret
+2r12rez
+r2r.
+r2rb
+r2rn
+r2rr
+r2rs.
+r2rse
+r2rs
+r2rsh
+r2rsi
+r2rsk
+r2rsn
+r2rsr
+r2rss
+r2rst
+r2rs
+r2rt
+2r1rf
+2r1rh
+r2rie
+r2rig
+2r1rk
+2r1rl
+2r1rm
+2r1rn
+2r12r.
+r2rk
+2r1rr
+2r1rt
+2r1rte
+2r1rt
+2r1rt
+2r1rt
+2r12r
+2r1rv
+2r1rz
+rsa2
+r2sal
+r2sar
+r2s1r
+r2st
+r2seg
+rs1ell
+r2s1er
+r2ss
+r2s12
+rs3sza
+r2s
+r2s12t
+r2s12v
+rsz1a2l
+r2szan
+rs3zav
+rsz1l
+r2sz1eml
+r2sz1e2sz
+r2sz12k
+r2szinte
+rsz12v
+r2szok
+r2szol
+r2sz
+rsz12r
+r2szr
+rsz3s
+rsz1t2r
+r2szu
+r2sz
+rsz2l
+r2sz1l
+2rtz
+r2t1egy
+2r2tel
+rt1elm
+2rter
+r2t1e2sz
+2r12tet
+r2t12k
+r2tiz
+r2tol
+r2t1os
+r1tr
+r2tud
+rv2
+r2vt
+2rve.
+2rvei
+rv1ek
+r2v12l
+r2v1ri
+2rv2t
+r2v1te
+2r12vv
+2rvf
+2rvh
+2rvt
+r2v
+2rvv
+r2z1a2
+rz2
+r2z1r
+r2z1e2g
+rze2l
+rz1el
+r2zer
+r2zes
+rze2t
+rz1ete
+r2zid
+r2zin
+r2zio
+r2zip
+rz1isz
+r2zos
+rz2
+r2z1r
+r2z
+r2zsa
+r2z3s
+r2z3se
+r2z3si
+r2zs
+r2zso
+r2zsu
+rf1l
+r2f1p
+rf2sza
+rf2sz
+rf1fl
+rfia2n
+rfi1b2
+rfid2
+rfii2
+rfik2
+rfi1kr
+rf1ind
+rf1isk
+rfi1sz2
+rfit2
+rfi1tr
+rf1kl
+rf1kr
+rf2la
+rf2lo
+rf2l
+rf2lu
+rf1okt
+rf1r
+rf1pr
+r1f2r
+rf2r
+r1f2r
+rf1sp
+rf1st
+r2f1t
+rga1k2
+rg2csal
+rg2csan
+rg2csav
+rg2z1
+rge2o
+rge2r1a
+rgs3s
+rg2ha.
+rgi2aia
+rgi2ako
+rgi2al
+rgi2aso
+rg2il
+rg2la
+rg2le
+rg2lo
+rg2l
+r1g2n
+rg2l
+rg3le
+rgcsa2
+rg2z1lt
+rg2z1s
+r1g2r
+r1g2ru
+r2gyado
+r2gy1aj
+r2gyalak
+r2gy1alap
+r2gy1alg
+r2gy1alk
+r2gy1any
+r2gyap
+r2gyarc
+r2gy1asz
+r2gyau
+r2gy1az
+r2gyl
+r2gy12z
+r2gy1eg
+r2gy1e2l
+r2gy1enc
+r2gy1e2s
+r2gy1s
+r2gyv
+r2gyim
+r2gy1int
+r2gyip
+rgy1ira
+r2gy1ok
+r2gy1z
+r2gyr
+rhaj2r
+rhat2s1t
+rhza2d
+rh2z1ada
+rh2zal
+rh2zip
+rh2z3s
+rhitkz1
+1rhoe
+1ri
+ri2aa
+ri2a
+ria1b
+ri2aba
+ri2ab
+ri2abo
+ri2ac
+ri2ae
+ri2a
+ria1f
+ri2afag
+ri2afr
+ri2a1g2
+ri2ah
+ri2ai2k
+ri2a
+ri2aj
+ri2akn.
+ri2ak
+ri2ala
+ri2al
+ri2alu
+ri2am
+ri2ana
+ri2ao
+ri2a
+ri2a
+ri2a
+ri2a1p2
+ri2ar
+ri2ar
+ri2asza
+ri2asz
+ri2aszi
+ri2aszo
+ri2at
+ri2ato
+ri2a1t2r
+ri2au
+ri2a
+ri2a
+ri2av
+ri2az
+2risz
+r1i2zs
+2rib
+ri2bol
+2r1ibr
+2rib
+ri2c1e2l
+rics1il
+ri2d1a2l
+ri2dl
+rid1d
+ri2de.
+2r1i2de
+ri2dei
+2ridej
+ri2del
+ri2deo
+rid1ere
+ri2d1esz
+2ridil
+2r1i2dom
+2r1i2d
+ri2du
+ri2ed
+3rie2l
+3rier
+ri1fl
+ri1f2r
+2r1i2ge.
+2r1i2g
+2rigi
+ri1gla
+2r1igr
+ri2har
+2r1ihl
+rih2
+rihn1
+2rijes
+ri1klo
+ri1k2l
+ri1k2ri
+ri2lal
+ril2l1e2h
+ril2lt
+ril2l1in
+ril2l1
+2rillu
+2rill
+2ril
+2rimda
+2rimd
+2r1imp
+ri2n1a2d
+2r1i2nai
+ri2naj
+ri2n1a2l
+ri2n1a2n
+ri2n1a2r
+2rinas.
+2r1i2nas
+2rinasn
+2r1i2naso
+ri2nass
+2r1i2nast
+rina1sz2
+ri2nat.
+rin2c1a
+rin2c
+rinc3c
+rin2c1eg
+rin2cel
+rin2cer
+rin2co
+rin2csr
+rin2csi
+2r1inde
+2r1indu
+ri2neg
+2rinfl
+rin2gl
+rin2gel
+2r1ingt
+rin2gl
+2r1inha
+2r1i2nic
+ri2nil
+ri2n1ip
+2r1injek
+rin1kr
+rin3n
+2r1insp
+2r1inst
+rin2t1ad
+rint2r
+rin2tra
+rin2tro
+rin2trs
+2rinten
+2rinterf
+rint2r
+rin2t1r.
+rin2t1r
+rin2t1ri
+2rint.
+2rintk
+ri2nl
+ri2o1k2
+rio2lok
+ri2om
+2rionn
+2riono
+2riox
+ri2a
+ri2
+ri2c
+ri2dar
+ri2e
+ri2g
+ri2ke
+ri2l
+ri2m
+ri2m
+ri2o
+ri21p
+ri2
+2r1i2pai
+2ripar.
+2r1ipara
+2r1i2par
+2riparb
+2ripar
+2riparh
+2riparil
+2riparin
+2riparn
+2riparr
+2ripars
+2riparte
+2ripart
+2riparu
+2ripl
+ripor2ta
+2r1i2ram
+2r1i2rat
+2r1i2r
+2r1irh
+2r1i2ri
+2r1i2ro
+2r1i2rn
+2r1irr
+2r1irt
+ri2s1ar
+ri2s1as
+ri2s1l
+ri2sp
+ri2s1e2l
+ri2s1emb
+ri2s1e2r
+ri2sid
+ri2sii
+ri2sil
+ri2s1is
+2rismrv
+ri2s1or.
+ri2s1ort
+2r1isp
+2ristl
+ri2sut
+ris1t
+ri2s12t.
+ri2s12v
+2r1i2szk
+ri2t1a2d
+ri2tal
+2rital.
+2r1italb
+rit1alk
+2r1itall
+2ritaln
+2r1italo
+2ritalr
+2r1italt
+rit1a2ny
+ri2tg
+rit1ell
+ri2t1i2o
+ri2t1
+riu2mne
+riumhid2
+riumhidr1
+riu2m1i2o
+2r1i2vad
+ri2var
+2r1i2vs
+2rivo
+2r1i2v
+rixe2
+ri2x1el
+ri2x
+ri2x
+2riza
+r1i2zt
+2r1izmi
+2r1izmo
+2rizmuk
+2rizm
+ri2zsar
+ri2zseb
+ri2zsel
+2r1izza
+2r1izz
+1r
+r2g
+2rj.
+r2jai
+r2jak
+r2jam
+r2jas
+2rj
+r2jn
+r2jt
+r2jv
+2r1jh
+2r1jj
+2r1jl
+2r1jr
+2r1jv
+r2m1a2l
+2rm
+rm1emb
+r2mo
+r2m
+r2n
+2r1ns
+r2ra
+r12r
+r12r
+2rtl
+rts3s
+rta2
+rte2
+rtksz1
+2r1v.
+rva2
+2r1vb
+2r12ve
+2r12v
+2r1vh
+r2vi
+r12v
+r2v
+2r1vv
+r2za
+r2z1el
+rzis3s
+r2zo
+r2j1ado
+rj1any
+r2j1g
+r2j1p
+rjet2
+r2j1id
+r2j1s
+r2j1u2r
+rka1b
+rk1ang
+rka1pr
+rkaros3
+rka2r2r
+rka2s12v
+rka1t2r
+r2k1cs.
+rk2cs
+rk2ne
+r2k12ri
+rkr1om
+r2k12ru
+r2k1e2dz
+rk1e2lem
+rk2elm
+r2k1elt
+rke1p
+r2k1erd
+rk1ered
+r2k1e2rei
+r2k1e2rez
+r2k1e2r
+rke2sz
+r2k1ex
+rk2p1e2l
+rk2p1ss
+r2k1r.
+r2k1rt
+r2k1tt
+r1k2h
+rk2hn
+rkia2
+rkie2
+rki2g
+rk1iga
+rkigaz1
+rkilenc1
+r2k1imi
+rk1inga
+rki2ont.
+rki2sem
+rki2z1a
+rk1izo
+rk1kl
+r1klie
+r1k2l
+r1k2lo
+r1k2l
+rk1o2laj
+rko2nya
+rko2vi.
+rko2vit
+r2k1n
+rk12r
+rk12ri
+r2k1ltsi
+r2k1tl
+rk2z
+rk1r.
+rk12r
+rk1rk
+rk1rn
+rk12r
+rk1rr
+rk1rs
+rk1rt
+rk2rm
+r1k2ri
+r1k2r
+r1k2rom
+rktus1s
+rk1udv
+r2k1ug
+rku2sze
+r2k12sz
+r2k1d
+r2k1g
+rk2v
+rlag1g
+rla2g1ol
+rla2p1a
+rla2pl
+rlap1e
+rla2pol
+rla2p1osz
+rla1pro
+rla1s2t
+rla2t1a2n
+rla2t12
+rl2pe
+rls3s
+rl2s1t
+rl2t1e2
+rl2t1
+rl2tor
+rle2g1a2
+rle2g1
+rle2ger
+rleg1g
+rlegigaz1
+rle2
+rle2t12
+rle2t1eg
+rle2tell
+rle2t1el
+rle2t1k
+rle2tl
+rle2t1r.
+rle2t1rv
+rle2
+rlst1
+rlsta2
+rls3s
+rl1gr
+rl1g2
+rl2
+rlt2
+rle2
+rl1sta
+r2m1akad
+rmak2sz1
+r2m1a2k
+rma1kr
+r2m1alt
+r2m1a2nya
+rma2
+rma2t12ru
+rma2t1ur
+rma2zon
+rm2lr
+rm2nyan
+rm12ram
+r2m12ro
+r2mru
+rm1cl
+rmege2
+rmeg1er
+rme2g1es
+rme2g1
+rme3g2
+rme2k1an
+rme2kar
+rmek2
+rme2k1eg
+rme2k1e2l
+rme2krd
+rme2kor
+rme2kot
+rme2k12
+rmek2r
+rme2kr
+rm1elk
+r2m1elm
+rme2ran
+rme2ras
+rme2rin
+r2m1e2ri
+rme2rk.
+rme2rke
+rme2rkn
+r2m1e2rm
+rmert2
+rmer1tr
+rm1esem
+rme2t1l
+rme2tin
+rm2k1e2l
+rm2ker
+r2m12le
+r2m1p
+r2m1r.
+r2m1rte
+r2m1tk
+r2m1tr
+r2m1tt
+rmi2g
+r2m1iga
+r2m1ig
+rm1illa
+rminc3s
+rm1inte
+r2m1ir
+rmi2si
+r2m1isko
+r2m1ism
+rmite2
+rmi2t1el
+r2m1g
+rmjob2
+rm1kl
+rmo2n1a
+rmo2nr
+rmo2n1e
+rmon1n
+rm1ope
+r2m1ors
+rmo1sz2fr
+rm2sz
+rm1p2l
+rm1p2r
+rm1sk
+rm1st
+rm1sz2
+rm1tr
+rm1g
+rm1z
+rm1s
+rm1ya
+rna1b
+rna1f2
+rna2gy
+rnai2k
+rna1k2r
+rna2pes
+rna1pro
+rnas2
+rna1sp
+rna1sz2
+rna1t2
+rn2cs
+r2n1el.
+r2n1elb
+r2n1elf
+r2n1elh
+r2n1elj
+r2n1ell
+r2n1eln
+r2n1elr
+r2n1elt
+rne2m1is
+r2n1est
+rne2t1a2
+rne2t1e2l1
+rnet1o
+rns2
+rn1st
+r2n1i2d
+rni2g
+r2n1iga
+rno2kis
+rn1d2
+rn2ket
+rnus3sze
+rny1a2d
+r2nyakad
+r2nyalako
+r2ny1alk
+r2nyarc
+rny1lm
+r2ny1ell
+r2nyelm
+r2ny1eln
+r2ny1elo
+rny1elvo
+rny1emb
+r2nyerd
+r2ny1e2rez
+rny1e2s
+rny1kn
+rny1sz
+r2ny1id
+r2nyiz
+rnyolc1
+rny1old
+r2ny1or
+rny1k
+r2nyt
+rny1s
+r2ny1ur
+1ro
+ro2ad
+roa2n
+2r1obj
+2robl
+r1obs
+roc2ke
+ro1cker
+roc2kn
+ro1c2kok
+ro1c2kon
+roc2kos.
+2r1o2d
+rofi2tr
+ro1fl
+ro1fr
+ro2g1ad
+ro2g1ak
+ro2gal
+ro2g1am
+ro2gar
+ro2g12r
+ro2g1z
+rog1enc
+ro2ger
+ro1g2l
+ro2g1o2l
+ro2gor
+ro2g1osz
+ro2g
+3rogr
+ro1g2rf.
+ro1g2rff
+rogu2
+ro2gur
+ro2g
+3rogy
+ro2he
+ro2h
+ro2is
+3rojt
+ro2ka.
+ro2kab
+ro2kac
+ro2k1a2d
+ro2kait
+ro2k1aj
+ro2kak
+ro2k1al
+ro2k1a2n
+ro2k1a2s
+ro2kb
+r1o2kd
+ro2k1l
+ro2kn
+ro2k12s
+roke2
+ro2ked
+ro2k1en
+2rokett.
+r2ok
+ro2kk
+ro2k12l
+ro2kp
+ro2kid
+ro2k1ing
+ro2k1
+2rokod
+rok1old
+ro2k
+2r1oksg
+rok1t2
+2r1oktat
+2roktn
+ro2k1u2s
+rok2
+ro2k.
+ro2ks
+ro2k
+2r1o2laj
+rola2n
+rols1s
+2r1old
+2r1old
+ro2l1i2d
+roligar2
+roligarc3
+rol2l1a2d
+rol2lag
+rol2l1akn
+rol2lan
+rol2lat
+rol2leg
+rol2lel
+rol2lis
+2r1oll
+2r1olts
+2r1olt.
+2r1oltb
+2rolt
+2rolth
+2r1olti
+2roltk
+2roltm
+2roltn
+2r1oltt
+2r1oltv
+2r1oltv
+ro2l
+2rolvad
+2rolvas
+2r1o2lyai
+2r1o2lyh
+2r1o2lyn
+2r1o2lyr
+2rolyb
+2rolyh
+2rolyi
+2rolyn.
+2rolyir
+2r1o2lyuk
+rom1ajt
+rom1akk
+rom1ak
+ro2m1a2ro
+ro2m1l
+2romm
+ro2m12ri
+ro2m1rk
+ro2m1rn
+ro2m12ro
+romb2
+rom2bn
+ro2meg
+ro2m1el
+ro2m1e2r
+ro2m1es
+ro2mj
+ro2m12ne
+rom2f1os
+ro2mim
+rom1in
+rom1ist
+ro2mita
+ro2miz
+ro2m
+romkz1
+2r1omni
+ro2m1o2r
+ro2m12r
+ro2m
+ro2m
+rom1pr
+ro2m
+ron1alj
+ron1alt
+ron1alu
+ron1any
+rona1t2
+rona2ut
+ro2n1ta
+ro2n1tr
+ron2csel
+ron2csem
+ro2nen
+ron1esz
+ro2n1r.
+ron2gal
+ro2n1i2ko
+ro2n1i2m
+ro2n
+ro2nop
+ro2nc
+ro2n12r
+ro2n
+ro2n
+ron1s2
+ron2tab
+ron2tem
+ron2tev
+ron2t1n
+ron2tin
+ron2t
+2ront
+2r1onth
+2rontig
+2ronts
+ro2n
+ro2nyac
+rony1a2l
+ro2nyid
+ro2nyik
+ro2nyir
+ro2ny
+ron2zab
+ron2z1al
+ron2zer
+ron2zin
+ron2z1ol
+ron2z1or
+ron2z12
+ronz1z
+ro2om
+ro2os
+2r1opc
+2rope
+ro2per
+ro1p2l
+ropo1s
+rop2s
+ro2rak
+ro2r1a2l
+ro2rat
+ror1ll
+rore2
+ro2reg
+ro2r1el
+ro2r1es
+ro2r1in
+ro2rosz
+rort2
+ror1tr
+ro2r
+ro2sar
+ros1ass
+ro2s1atl
+ro2s1av
+ro2s1rk
+ro2s1ro
+ro2sem
+ro2s1ist
+ro2s1ol
+ro2s12
+ro2s
+ro2s
+ros3sze
+ros3szk
+ros2tet
+2rostob
+ros2tol
+2rostya
+ro2s1t
+ro2szal
+ro2szan
+ro2szs
+2r1oszlo
+ro2sz
+r1oszt
+2rot
+ro1t2he
+roto2na
+ro1t2r
+2rotth
+ro2un
+ro2us
+rova2re
+rovs1s
+2r1o2vi.
+2r1o2vib
+2r1o2vik
+ro2vis
+2ro2xidb
+2ro2xidr
+2roxilc
+ro1xy
+ro1ya
+roza2tal
+ro2zsan
+1r
+ra2d
+rb1ajt
+2rb
+rc3c
+r2c3h
+r2cin
+r2c1
+r2c3s
+r2cz
+r2dai
+r2dep
+rdi2ad
+r2d
+r2d
+2r1v.
+2rve
+2r1v
+r2f1ag
+2rfea
+2rfe
+r2f1iv
+2rfs
+r2fur
+r1g2r
+ri2g
+rke2rest
+rke2r1in
+r1k2l
+r1kr
+2r1lm
+r12lom
+r2m1a2l
+rma2r
+rm1ara
+r2ml
+rme2l
+r2ml
+rm1isz
+r2m
+2rmk
+r2m
+r2m
+rne2m
+2r12nb
+2rn
+2r12nh
+2r12nn
+2rnr
+2rnt
+2rnv
+2rnj
+2rnn
+2rnr
+rnus3s
+2rn
+r2n
+ro2k
+r2r
+r1p2l
+r1pro
+2r12raa
+2r12rac
+2r12rad
+2r12rae
+2r12raf
+2r12rag
+2rraje
+2r12ram
+2r12ran
+2r12rap
+2r12rar
+2r12ras
+2r12rat
+2rra
+2r12rav
+2r12rb
+2r12rd
+2r12r.
+2r2rn
+2r12rv
+2r12rh
+2r12ri
+r2rja
+2r12rka
+2r12rkb
+2r12rk
+2r2rkh
+2rrki
+2r12rkk
+2r12rkn
+2r12rko
+2r12rkr
+2r12rkt
+2r12rn.
+2r12rna
+2r12rn
+2r12rnk
+2r12rny
+2r12rr
+2r12rs
+2r12rt
+2r12rv
+2r12ri
+rs1orom
+r1spi
+2rtb
+2rth
+r2tip
+rt1ist
+2rtj
+2rtk
+2rtm
+2rtn
+r2t12v
+r1tri
+r2tl
+2r12v
+rza1t2
+r2z1e
+r2z1in
+r2z
+r2z
+1r
+2r1bl
+2r12bl.
+2r1blb
+2r1blh
+2r1bli
+2r1bll
+2r12bln
+2r1blr
+2rblt
+r2ga
+r2go
+r2g
+r2k12l
+r2k1rv
+2rk
+2rkl
+r2ko
+2r12kr
+2rks
+2rks
+2r1kr
+r2ls
+r2ly
+r2ma
+r2m
+2rme.
+2rmed
+r2meg
+2rmei
+2rmn
+2rmt
+2rmv
+r2m
+2rmm
+r2mo
+r2m
+2rmd
+2rmk
+2rmt
+r2mu
+2rm
+2rm
+rn2d1e
+rn2k1a2
+rn2k1e2
+rn2kp
+rn2kol
+rn2kos
+rn2k1l
+rn2k1
+r2p1i2
+r2re
+r2r
+r2sa
+r2s
+r2so
+rs3sza
+2r1v.
+2r1vb
+2r12ve
+r12v
+2r1vh
+2r1vn
+2r12v
+2r1vr
+r12v
+2r1vv
+1r
+ra2n
+rt1
+rta2
+r1bl
+r1br
+r2d
+r2d1e2l
+r2dos
+r2d12r
+re2l
+re2r
+re2s
+r2h
+r2l
+r2r
+r2te
+r2f1as
+r1fl
+r2f1
+rg2p1s
+ri2ta
+r1kl
+r1kv
+2rlt
+r1pl
+r1pr
+2r1r.
+rr1ak
+rr1eg
+r12rei
+r1rh
+rr1in
+r2riz
+rrkz1
+2r1rl
+2r1rm
+2r1rn
+r2r
+2r1rp
+2r1rr
+2r1rs
+2r1rt
+2r12r
+2r1rz
+rs2
+r2sr
+r2sr
+r1sk
+r2s
+r1spe
+r1s2pi
+r1sta
+r1str
+rs2l
+r2s1l
+r2s1lt
+r2s12t
+r2s12
+rsza2kl
+ru2t
+r2l
+rva2s1
+r2zi.
+r2zn
+rpei2
+rpe2szel
+rp2he
+r2p1ig
+rpis12
+rpi2t1a
+rpi2t1e2
+r2p1iv
+r1p2la
+rp2le
+rp2l
+rp2lu
+rp2l
+rprecz1
+r1p2r
+r1p2ri
+r1p2r
+r1p2ro
+r1p2r
+rpu2sz
+r2p1z
+r2r1a2lap
+rra2sza
+rra2szi
+rrata2n
+rrat1any
+rra2t12r
+rra2t1e
+r2r1br
+rrdik2
+rrdi1kb
+r2r12ga
+r2r12gy
+r2r1rb
+rr2saj
+rr2sar
+rr2sg
+rr2se
+rrs3s
+rr2s
+rr2s3z
+rr2tal
+r2r1ts
+rre2l1i
+rr1emb
+rren2d12
+r2r1k
+rr2r
+r2r1ri
+rr2sem
+rr1fl
+rr1fr
+r2r1i2de
+rr1in.
+rr1ing
+r2r1ir
+rri2ta
+rr1i2z
+rr1izg
+rr1izm
+rr1k2r
+rr1ope
+rro2rl
+rror1osz
+rr1dr
+rr1p
+r2r1b
+r2r1s
+rr1pl
+rr1pr
+rr1sp
+rr1t2r
+r2r1u2r
+r2r1r
+r2r1t
+rry2n
+r2s1a2d
+r2s1a2g
+rsa2il2
+rs1akku
+rs1alan
+rsa2lap
+r2s1ale
+rs1alm
+r2s1a2lomb
+r2s1ana
+rs1a2ny
+r2s1a2p
+r2s1a2po
+rs1a2ra.
+r2s1arc
+rs1arom
+rs1arz
+rs1att
+rsa2v1ar
+rsa2v12
+rsa2v1i
+r2s1ax
+r2s1a2z
+r2s1br
+rsg1g
+rs1ld
+r2s12r
+r2s1rn
+r2s1rr
+r2s12ru
+rs1t
+rs1ti
+rs1bl
+rs1br
+rs2ch2
+r1sche
+rsc3h
+rs1d2r
+rs1edz
+r2s1ef
+rs1e2gt
+r2s1e2gy
+rse2il
+rse2k1a2
+rse2keg
+r2s1e2leme
+rs1elf
+r2s1elk
+r2s1e2la
+r2s1e2ll
+rs1e2mi
+r2s1e2mu
+rse2ny1a2
+rse2nyeg
+rse2ny1e2l
+rse2nyer
+rse2ny
+rse2ny
+r2s1erd
+r2s1erk
+rs1er
+r2s1ess
+r2s1esz
+rs2g1el
+r2s1l
+r2s1p
+r2s1r.
+r2s1rd
+r2s1rl
+r2s1rtk
+r2s1s
+rs12te
+rs1tk
+rs1tt
+rs1fr
+rs1gl
+rs1gr
+rsi2d
+rs1ide
+rs1ido
+rsi2g
+rs1iga
+r2s1ikr
+r2s1ill
+r2simm
+rs1ind
+r2s1ing
+r2s1int
+r2s1i2o
+rs1i2pa
+rs1iro
+r2s1i2si
+r2s1isk
+r2s1ism
+r2s1ist
+rs1rn
+r2s12r
+r2s1rt
+r1s2kl
+r1skj
+rs1kl
+rs1k2r
+r1s2lu
+rs2mink
+rs2ni
+rs1ond
+rsonya2
+rso2nyal
+rso2nyan
+rso2nyat
+rso2ny
+r2s1op
+r2s1ord
+r2s1org
+rs1osz
+rscsa2
+rscsap1
+r2s1d
+r2s1n
+rs2s3zrr
+r2s1b
+rs1nt
+rs1rv
+r2s1s
+r2s12z
+rs1r
+rs1pl
+rsp2r
+r1s2rc
+rs1s2t
+rs3szag
+rs3szak
+rs3sz
+rs3szem.
+rs3szemet
+rs3szer.
+rs3szer.
+rs3szerb
+rs3szere
+rs3szern
+rs3szers
+rs3szert
+rs3szerv
+rs3szi
+rs3sz
+rs3sz
+rs3sz
+r1stand
+r1s2tat
+r1s2tc
+r1s2tt
+rs2top
+rst2r
+r1strat
+rs1tre
+rs1tr
+r1str
+r1stru
+r1s2t
+rsu2r
+rs1ura
+rsu2t
+r2s1uta
+rs1ut
+rs1r.
+rs12ri
+r2s12s
+rs1to
+r2s1d
+rs1ld
+r2s1z
+rsza2k1a2l
+rsza2k1e
+rsza2k
+rsza2k1
+r2szal
+r2s3zam
+rszg1g
+rszraz1
+rs3zrl
+rszem1e2r
+r2s3zen
+r1sz2f
+rsz2lo
+rsz2m
+rszom2j1a2d
+rs3zse
+rs3zsi
+rsz2ta
+rszt1al
+rszt1rv
+rszt2r
+r2s3zr.
+r1sz2v
+r2t1abla
+r2t1abr
+r2t1a2dat
+rt1a2d
+r2t1a2ga.
+rt1agit
+r2t1aj
+rt1ajt
+r2t1a2kara
+r2t1akc
+rta1kre
+rta1k2r
+rt1alapj
+rt1a2lb
+r2t1alr
+r2t1alb
+r2t1alel
+r2t1alg
+r2t1alj
+r2t1alk
+r2t1alt
+r2t1alv
+rta2m1r
+rt1anim
+rta2n12r
+r2t1anto
+r2t1antr
+rt1a2nyag
+rt1app
+rt1arn
+r2t1arc
+rta2rn
+rt1a2ty
+rt1a2uto
+r2t1azo
+rt1br
+r2t1f
+rt1g.
+rt12ga
+rt1gb
+rt1gg
+rt1gj
+rt1gn
+rt1gr
+rt1gs
+rt2lad
+rt2lala
+rt2rada
+rt2raj
+rt2ramr
+rt1ria
+rt1ri
+r2t1rin
+rt1rszi
+rt1rsz
+r2t1rta
+rt2ruk
+rt2rukk
+rt2rukn
+rt2rukr
+rt2rukt
+r2t1rur
+r2t1rut
+rt2s1g
+r2t1ss
+rt2s3z
+r2t12t1a
+r2t1tl
+r2t1ts
+r2t1tv
+rt2v1
+rtvi2
+rt1bl
+rt1br
+rt1cl
+rt1cr
+rt1dr
+rtea2
+rt1e2g
+rt1e2gye
+rtei2
+r2t1eks
+r2t1elad
+r2t1elb
+r2t1elf
+rt1elj
+rt1elker
+rt1elk
+rt1elk
+rtel2la
+rtel2l12
+rt1elma
+rt1e2la
+rte2ll
+r2t1elr
+r2t1ember
+r2t1eml
+r2t1enc
+r2t1ent
+rte1p
+rte2rac
+rte2rl
+rte2r1in
+rtermo1
+rtermosz2
+rte2r1os
+r2t1e2r
+r2t1er
+rte1sp
+rt1estk
+rt1estn
+r2t1estn
+rte2sze.
+rte2szei
+rte2szek
+rte2szem
+rte2szet
+r2t1eszk
+r2t1eszm
+r2t1e2sz
+r2t12d
+rt12gi
+rt2kaj
+rt2k1a2l
+rtkt1a2
+rtk1
+rt2kos
+rt2ku
+r2t12let
+rt2ln
+rt12li
+r2t1lm
+r2t12neke
+r2t12nekk
+r2t12nekr
+r2t1p
+r2t1rdem
+r2t1rem
+r2t12r
+r2t1rin
+r2t12rit
+r2t1rtek
+r2t1rt
+r2t1rv
+r2t1rz
+rt2s1g
+rtsksz1
+rts3sza
+rt2sl
+rt2sz
+rt2szo
+rt2sz
+rts3zs
+r2t1tk
+r2t1tl
+r2t1tt
+r2t1tv
+r2t12ve.
+r2t12vet
+rt2vn
+r2t12vr
+rt1vk
+rt1fl
+rt1fr
+rt1gr
+r1t2hg
+r2t1i2de
+rt1id
+rt1idi
+rt1ifj
+r2t1i2g
+r2t1ill
+r2tim
+r2t1i2mi
+r2t1imp
+r2t1i2nb
+r2t1i2n
+r2t1i2nh
+r2t1i2nn
+r2t1ind
+r2t1inf
+r2t1ing
+rti2nik
+r2t1i2pa
+r2t1ir
+r2t1iro
+r2t1isi
+r2t1isk
+r2t1ism
+r2t1isza
+rt1i2tal
+r2t1iz
+rt1izm
+r2t1izz
+r2t1g
+r2t1j
+r2t1n
+rt2ra
+rt2r
+rt12ve
+rt12v
+rt2z
+rt1zl
+rt1kl
+rt1kr
+rt1kv
+rtm1
+rtmt2
+r2t1of
+rto2kad
+rto2k1a2l
+rto2k1ar
+r2t1o2li
+r2t1oml
+rto2n1a2
+rto2n12
+rt1op
+rt1ope
+rt1opt
+r2t1org
+r2t1o2rom
+r2t1orr
+r2t1ors
+r2t1orv
+r2t1osz
+rte3rej
+rt1p
+rt2rk
+rt2s1n.
+rt1sp
+rt2s3zr
+r2t1kl
+rt1kl
+r2t12lse
+rtn3n
+rt12rk
+rt1rm
+r2t1ssz
+rt12vez
+rt2h
+rtksz1
+r2t1rkd
+rt1rl
+r2trl
+rt1pl
+rt1pr
+rt1ps
+rt2rad
+r1t2raf
+r1t2ranz
+r1t2rg
+r1t2ri
+r1t2rik
+r1t2ril
+r1t2ri
+r1t2rn
+r1t2r
+rt1sk
+rt1sl
+rt1sp
+rt1st
+rtsz2
+rt1t2r
+r2t1udv
+rtu2k
+rt1uk
+r2tunik
+rtu2rai
+rtu2ral
+rt1u2r
+rtu2sze
+rt1ut
+r2t1j
+r2t12s
+r2t1g
+r2t1ld
+r2t12l
+rt1l
+r2t1t
+r2t12v
+rt12z
+r2tying
+rty2j
+rty2s
+r1t2z
+r1t2zi
+rt2z
+1ru
+ru2ac
+ru2b1i2k
+ru2c3h
+ru2cz
+2r1udv
+rue2l
+rue2r
+ru1fr
+2rugar
+2r1u2gat
+rug3gy
+2r1ugr
+ruhs1s
+2r1ujj
+ru1k2l
+2ruktu
+2rukt
+rum1agr
+ru2maj
+ru2mal
+ru2maz
+ru2m1eng
+ru2mer
+ru2mes
+ru2ml
+ru2m1i2k
+rum1ill
+ru2m1i2p
+ru2mis
+ru2m1iv
+ru2miz
+ru2m
+ru2mol
+ru2m1o2r
+ru2m
+ru2m
+ru2m
+2r1unc
+run2da
+ru2nit
+r1u2nok
+ru2pad
+ru2pe
+ru2p1il
+ru2p
+ru2rad
+ru2rai
+r1u2ral
+ru2ras
+ru2rat
+r1u2raz
+ru2rn
+ru2rt
+2r1urb
+ru2ruk
+rus1abl
+ru2sad
+ru2sal
+rusa2n
+rus1any
+rusa2r
+rus1aro
+ru2sas
+ru2sl
+ru2s1iz
+ru2sr
+ru2s1ol
+ru2s12
+ru2s
+russ2
+russz2
+rust2
+rus1tra
+ru2s12
+ru2sz12p
+ru2szip
+r1u2tac
+r1u2tak
+r1u2tat
+r1u2taz
+2r1utc
+r1u2t.
+r1u2tb
+r1u2td
+r1u2ti
+r1u2tj
+r1u2tk
+r1u2tn
+ru2tp
+r1u2tr
+r1u2ts
+r1u2tt
+r1u2tv
+1r
+rda2
+r2dad
+r2d1al
+r2d1ar
+r2d1
+r2del
+r2din
+r2du
+r2d
+r1dy
+r2d3z
+r1gr
+2r1jd
+r2j
+2r1jk
+2r1js
+2r1r.
+2r1rb
+2r1rh
+2r12ri
+2r1rk
+2r1rn
+r2ro
+2r1rr
+2r1rt
+r2sz
+r2t1a2l
+2r12t1e2
+2r12t.
+r2tr
+r2tit
+2r1tk
+2r1tle
+2r1tm
+rto2
+2rts
+2r12t
+2r1tv
+r2zsad
+r2zse
+1r
+r2d
+r2d
+r2gyel
+2rgyn
+r2ha
+r2la
+r2l
+r2led
+r2les
+r2lp
+r2lr
+r2l
+r2l1o
+r2l
+rl2
+r2l1n
+r2l1z
+r2l1g
+r2lu
+r2l
+r2l1l
+2r1nn
+2r12n
+r2r
+r2r
+r2te
+r2t
+r2t
+r2t
+r2v
+r2ze
+r2z
+1r
+r1gr
+r1kl
+r1pr
+2r1r.
+2r1rh
+2r1rm
+r2r
+2r1rt
+r2s1orr
+rs1ors
+r1sp
+r1str
+r2v1ag
+r2v1akc
+rva2lap
+r2v1alj
+r2v1alk
+r2v1a2rn
+rva2sb
+rva2sk
+rvasu2
+r2v1a2sz
+rva1t2r
+rvav2
+r2v1ga
+rv2gyi
+r2vllam
+r2v1llo
+rv1llv
+rv2nyad
+rv2nyan
+rv2ny
+r2v1p
+rv2r1al
+r2v12ram
+rvro2s1os
+rv12r
+r2v12ss
+r2v1ta
+rv2tors
+r2v1e2b
+r2v1e2dz
+r2v1e2gye
+rv1ela
+rv1e2led
+rve2lemb
+r2ve2leme
+rv1e2les
+r2v1elk
+r2v1ell
+r2v1elo
+r2v1e2la
+rv1e2l
+r2v1e2lkp
+r2v1elr
+r2velz
+r2v1eng
+r2v1ep
+rve2r1a
+rve2r12
+r2v1e2retn
+rvers3s
+rve2rip
+rve2r1o
+r2v1e2ri
+r2v1e2sete
+r2v1e2ss
+r2v1ex
+rv1ke
+rv1kk
+rv1kn
+rv1k
+rv12lel
+r2v12l
+rv2ny1el
+r2v1p
+r2v12rem
+r2v12r.
+r2v1rs
+r2v1rp
+r2v1rt
+r2v1rv
+r2v12vet
+r2v1vi
+rv1fr
+r2v1ido
+r2v1iga
+rvigaz1
+r2v1ig
+r2v1ik
+r2v1inf
+rv1inte
+rv1int
+r2v1i2p
+r2virn
+r2v1isme
+rvis3sze
+rv1ital
+rvi2z1a2
+rvi2z12
+rvi2z1elv
+rviz1o
+rvi2z
+rvze2
+rvz1es
+rv1kl
+rv1kr
+r2v1ob
+r2v1olv
+r2v1op
+r2v1or
+rv1osz
+r2v1ov
+r2v12h
+r2v1r
+rv1ss
+rv1s
+rv1pr
+rv1sk
+rv1sp
+rv1st
+rv1tr
+r2v1ub
+r2v1u2t
+r2v1g
+rv2l
+r2v1l
+r2v1l
+r2v1lt
+r2v1t
+r2v12v
+r2v12z
+ry2be
+ry2b
+ry2b
+ry12n
+ry2ho
+ry2na
+ry2ne
+ry2ra
+ry2re
+rys2n
+ry2t
+ry2t
+ry2va
+ry2ve
+r2z1a2dot
+r2z1a2la
+r2z1alj
+r2z1alk
+rz1alms
+rza2sz
+r2z1asz
+rza2tal
+rza2t1e2
+rza2tol
+r2z1ll
+rz2r12r
+rz2se
+rzs1s
+rz1e2be
+rze1p2
+rz1est
+rze2tal
+rze2t1eg
+rze2t1e2l
+rzetes3s
+rze2t1o
+rzet2kt
+rzna2
+rz2n1al
+rz2nat
+rz2n
+r2z1rm
+rz2so
+rzi2ab
+rzis3s
+r2z1n
+rzo2r1l
+rz2s3zr
+rza2
+rze2
+rz1p2r
+rzs1ala
+rzs1any
+rzs1apa
+r2zsaz
+r2z3sr.
+rz3seben
+r2zs1e2g
+r2zs1e2r
+r2zsg
+r2zs1k
+r2zs1r.
+r2zsva
+r2zs1iga
+rzs1inj
+rzs1int
+r2zsip
+r2zsita
+rzs1or
+r2zs12r
+r2zs12
+rzs1s
+rzs1u2t
+rzs1r
+rzs1lt
+rzu2sak
+rzu2san
+rzus3s
+rzu2s3z
+r2z1ut
+2s.
+1sa
+2sabo
+2sabr
+2s1abs
+2s1a2c
+sa2dal
+2s1adap
+2s1a2data
+2s1a2dato
+2s1adat
+sads1s
+2s1adm
+sa2dog
+sa2dc
+sa2dd
+sa2d
+sa2dh
+sa2di
+sa2dj
+sa2dm
+sa2dn
+sa2dr
+sa2du
+sa2dz
+sae2r
+sa1f2r
+2saga
+sa2gan
+sa2g1l
+2sagg
+sa1gne
+2s1a2g
+sa2g
+sa1gr
+s1agy.
+s1agyb
+s1a2gyo
+sa2gy
+3sah.
+saha2r
+sa2hov
+sa2ig
+2saja
+sa2jak
+sa2jg
+2sajn
+sa2j1
+saj2tal
+saj2t1a2n
+saj2tar
+sajt2r
+saj2t1r
+saj2tor
+saj2t1
+saj2t12
+sa2k1ab
+2s1a2kad
+sa2k1an
+sa2kas
+2s1akci
+sak2k1a2r
+sak2k1as
+sakke2
+sak2k1eg
+sak2ker
+sak2kes
+sak2kis
+sak2kol
+sak2k1orr
+sak2k12
+2sakku
+sa1klu
+2s1akna.
+2saknb
+2sakni
+2s1aknk
+sak1ola
+sa2k1orm
+sa2k1s
+sa1k2ru
+2s1akt.
+2s1akti
+2s1aktu
+sa2k1ug
+2s1a2kus
+sa1k2va
+2salab
+sala2g1
+sala2ka
+sa2laku
+2s1a2lapa
+sa2lap
+sa2lapl
+sa2lapoz
+s1a2lapr
+sa2lapt
+sal2da
+2sal
+saln1n
+sals1s
+2s1alt
+2s1alb
+s1a2lel
+s1alp
+sal2t
+sa2l1te
+2salf
+2s1algh
+2s1algi
+2s1algn
+2salgsat
+2s1aljai
+2s1aljh
+2s1aljr
+2s1aljt.
+2s1alka
+2s1alkot
+s1alku
+2salm
+2s1a2lomn
+2s1a2lomr
+sal2tag
+2s1alte
+2s1alth
+2s1altit
+sa2l1
+sa2m1any
+sa2mec
+sa2m1il
+sa2m1
+sa2mol
+sa2m1osz
+2s1a2m
+sa2nal
+sa2nat
+s2and
+2sane
+sa2nek
+2s1angy
+sa2nd
+sa3n
+s1ante
+sa2nya.
+s1a2nyag
+sa3nyar
+2sany
+sa2r
+sa2p1a2d
+sa2p1a2g
+sapa2te
+sa2pc
+sap12cs
+sap1ll
+sa2p1tm
+sa2pto
+sa2p1el
+sa2p1k
+3sapka
+3sapkb
+3sapkn
+3sapks
+3sapkt
+3sapkv
+sa2p1osz
+s1a2pkr
+s1a2psab
+2sapp
+s1apr
+sa1pro
+2sapu
+sa2rat
+sa2rat
+sa2rny
+sar2c3ho
+sar2cin
+sa2rn
+sa2rit
+sar2j1e
+sar2k1e2
+3sarki
+sar2kin
+sar2kir
+sar2k12
+3sark
+3sarl
+2sarm
+2sarom
+2sarz
+sase2
+sa2s1eb
+sa1s2m
+sa1s2po
+sas3sza
+sas3sz
+sas3sze
+2s1asszo
+3sast
+sa2s1u2t
+sa2s
+s1aszf
+2saszt
+sata2ks
+sa2t1alj
+sa2t1alt
+sa2t1a2ny
+sat1apu
+sa2t12rak.
+sa2t1rka
+sa2t1rk
+sa2t1rr
+sa2t1i2k
+sa2t1ing
+s1atl
+satmo1
+satmosz2
+2s1a2tomb
+2s1a2tomo
+sa2t1orm
+sa2t12d
+sa2t12n
+sa1t2r
+2saty
+sa2ty
+sa2ul
+sa2ur
+2saut
+sa2uto
+s1aut.
+saut2r
+sauti2ko
+sa2uv
+3sav.
+3sava.
+sa2v1a2da
+sa2v1a2l
+3savn
+sav1ra
+sav1ria
+sa2v1rt
+sa2v1el
+sa2v1r
+sav1ill
+sa2v1i2n
+sa2v
+sa2v
+sa2xi
+sa2zon
+1s
+s2b1ak
+s2b1e2l
+s2b1e2r
+s2big
+s2b1il
+s2b
+s2buj
+s2b1ut
+s2b
+s2cs
+s2gab
+sga2d
+sg1ada
+2sgadd
+s2gal
+s2gan
+s2gas
+2s1gas.
+sg1ass
+s2gat
+2s12gaz
+s2g1l
+s2g12rak
+s2g1rn
+s2g12ru
+s2g1e2
+s2gp
+s2g1i2ko
+s2g
+s2g1osz
+s2g12
+s2g1
+s2g
+sg1s
+s2g
+s2g
+4s12gy
+sgy1a2d
+ska2
+s2kal
+s2k1an
+s2kar
+s2kt
+s2k1e2
+skkz1
+s2k1
+s2k
+s1lc
+s2l1in
+2s1lm
+s12lomb
+3sm
+sn2c1
+sn2c3so
+sn1k2r
+s2n
+s2p1ost
+s2rad
+sr1ad
+sr1a2d
+s2r1ag
+s2raj
+2s12rak.
+s2raka
+2s12rakb
+2s12rakh
+2s12rakk
+2s12rakn
+2s12rako
+2s12rakr
+s2rakt
+s2r1a2l
+2s12ram
+s2r1a2n
+2s2ras
+sr1ass
+sr1asz
+2s12rat
+s2rg
+s2r1l
+sr1d2
+s2r1e2
+2srt
+s2r1v
+s2ria.
+2s12ri
+sr1iko
+s2r1i2p
+s2r1i2s
+s2r
+sr1k2
+s2r1osz
+sr1ott
+sr1ni
+s2r
+s2r
+2srro
+sr1s2
+srt2
+sr1tr
+s2rug
+2s12ruh
+2s12rul
+2srus
+sr2
+2s12r.
+s2r
+s2s1ad
+s2sar
+s2ss
+s2s1e2
+s2sis
+ssksz1
+s2s
+2s1s.
+ss12r
+2s1sv
+s2s
+s2s
+ss3sz
+s2s3za
+ssz2r1a2d
+2s12szo
+2sta
+s1tad
+s2t1alj
+s12tl
+s12t12z
+2s1tb
+2s1tc
+2s1td
+2s12t1e2
+2st
+s2tl
+2s1tf
+2sth
+2sti
+s2t1ir
+2s12t
+2stj
+2stk
+2s1tm
+s12tokt
+3stor
+stksz1
+2s12t1
+3stra
+3str
+s1tre
+2sts
+2stt
+s1tt
+2stu
+2s12t
+2stv
+s1tve
+s1tv
+s1tvi
+3sv.
+s2v1a2d
+sva2l
+s2v1a2r
+s2v1l
+s2v12r
+3svb
+s2v1e2
+s2v1rz
+s2vis
+s2viz
+3svj
+s2v1or
+s2v
+3svr
+3sv
+3svv
+sba2l1
+sbe2
+sbr2cs
+sb2lo
+sb2l
+sb2ra
+sb2ri
+sb2ro
+sb2r
+scar2
+1scheie
+sc3hek
+sc3hen
+sc3het
+sc3h.
+1schbe.
+sc3hd
+1schre
+1schre
+sc3hs
+sc3hi.
+sc3hig
+1schil
+sc2ri
+sda2dal
+sdai2
+sde2
+sde1b2
+sde2del
+sde1kr
+sdes2
+sde1sp
+sde1st
+sdesz2t
+sdi2ale
+sd2ra
+sd2r
+sd2ro
+sd2ru
+1se
+sea2d
+sea2l
+sea2n
+se2l
+se2r
+se2bag
+se2b1ak
+seb1alt
+seb2
+se2b1g
+se2br
+se2b1e2g
+seb1ell
+seb1elz
+se2b1esh
+seb1esze
+s1e2bd
+3sebs
+se2b12
+se2b
+se2b12
+seb1p
+seb1s
+se2b1u
+se2b
+se2bl
+3sebz
+secs1a2p
+se2csev
+se2cs1k
+2sedez
+sedl1
+2sedny
+se1dra
+se1d2r
+se2dz
+se2dz
+see2l
+see2n
+2seff
+se1f2ra
+2s1e2ger
+3segd
+2segr
+segs3s
+s1egsz1
+2segt
+3segg
+seg2ga
+seg2go
+3seg
+se2gyed
+segy1e2l
+s1e2gy
+2s1egyh
+2s1egy
+seh2
+se2h1v
+se2r
+sej2t1a2
+sej2t1e2ny
+sej2ter
+sej2tr
+sej2t1o
+sej2t
+seka2r
+se2k1l
+2s1e2ks.
+sek2k1
+sek2kos
+sek2k1
+se1klu
+se1k2ra
+se1k2r
+se2kur
+se2kr
+sel1ak
+se2ll
+2selb
+s1eld
+2s1e2lef
+s1e2legy
+se2l1e2h
+se2l1ek
+se2lemek
+2s1e2lem
+se2lemk
+se2lemm
+2s1e2lemz
+se2l1ere
+s1e2les
+sele2sz
+se2l1esz
+sele2t1a2
+sele2t1e2l
+se2l1e2v
+se2l1e2v
+sels3s
+2self
+2s1elha
+2s1elhel
+s1elho
+sel1id
+se2lis
+2s1elj
+s1ell
+2selml
+seln2k1l
+2s1elny
+s1e2los
+2s1e2l
+se2lad
+s1e2l
+2s1e2lz
+2selr
+s1elta
+s1elt
+2s1elt
+2s1elv.
+2s1elvek
+s1elv
+2s1elvv
+2selz
+2sember
+s1ember.
+s1emberb
+s1embern
+2s1embr
+2semn
+2seml
+se2nat
+se2n1l
+sen2d1a
+sen2d1
+s1e2ner
+sens3s
+2s1enged
+sen1ist
+se2n1or
+s1enta
+seny1ag
+seny1ak
+se2ny12
+seny1ell
+seny1ere
+se2ny1l
+se2ny1r.
+se2nyrd
+se2nyrte
+2senyhi.
+se2nyig
+se2nys
+se2nyu
+se2ny
+se2ny12l
+2senyve.
+s1enz
+se2r
+se2pid
+s1epiz
+sep2pa
+sep2p12
+sep2per
+2sepri
+se1p2ro
+se1p2r
+se2r1agy
+se2ral
+se2ram
+se2r1a2n
+se2r1a2r
+se2r1as
+se2rau
+se2r12g
+ser1ll
+se2rr
+s1erde
+2serd
+sereg1g
+3seregs
+2serej
+se2r1e2lem.
+se2r1e2l
+se2r1elt
+se2r1elv
+sere1p
+sere2ped
+ser1e2sze.
+ser1eszk
+sere1t
+se2r1szb
+se2r1iga
+se2r1il
+seri2n
+se2r1ina
+ser1inf
+ser1ing
+ser1int
+se2ris
+se2riz
+ser1k
+se2r1ol
+se2r
+s1erz
+2se2r
+s1er.
+s1erb
+s1erd
+s1er
+s1erf
+s1erk
+s1erm
+s1ern
+ser1s.
+s1ert
+s1erv
+ser1s
+sert2
+ser1tr
+se2r12g
+serv2
+2s1esem
+2s1e2set
+2s1esl
+2s1e2ss
+2sesk
+2s1e2s
+se1s2p
+sessz1a2
+sessz2l
+sessz1o
+2s1este
+se1sti
+s1eszen
+2seszk
+s1eszk
+2s1eszm
+se2sz
+se2t1a2la
+se2tana
+se2t1a2ny
+se2tt
+se2t1e2g
+set1eleg
+se2t1elk
+se2t1elm
+2setenk
+2setes.
+2setese
+2s1e2tet
+2s1e2tet
+set2k
+se2t1kb
+se2t1k
+se2t12l
+se2t1nk
+se2t1r.
+se2t12ri
+se2t1rt
+se2tika
+se2tik
+se2tike
+se2t1ing
+se2tol
+set1old
+se1tran
+se1tri
+se1t2ro
+2settk
+se2t
+2s1e2vs
+2s1e2v
+se1ye
+se1y
+se1yi
+s1ezr
+1s
+2s1br
+s2f1a
+s2f1
+s2g1a2
+s2g12
+3sge.
+s2g1eg
+3sgei
+3sgek
+sg1ele
+sge2lem
+s2g1ell
+3sgem
+s2g1ent
+s2ger
+sg1erk
+s2g1esz
+s2get
+s2g1e2ti
+s2gev
+sg12je
+s2g12k
+s2gp
+s2g1r.
+s2g12r
+s2g1rn
+s2g1rr
+s2g1rt
+s2g12r
+s2g1rv
+sg1sz
+sg3g
+sg1iga
+s2g1ig
+sg1ist
+s2g
+3sgk
+sgo2
+s2g1ok
+s2gol
+s2g12
+s2gr
+s2g2
+sg1r
+sg1s
+sg1s
+s2gu
+s2g
+3sg
+s2g12l
+sg1lt
+2s1h.
+2s12he.
+2s12hek
+2s12hes
+2s12het
+2s12h
+2s1hh
+2s1hr
+2s1hs
+s2jem
+s12ji
+s1js
+s2kek
+s1kho
+2s1km
+2s1ks
+s2k1
+s2lel
+s12let
+2sll
+2s1lm
+slksz1
+s2l
+2sly
+s2lya
+s2lyeg
+3sm
+s2mu
+s12nekb
+2s12neke
+s12nek
+2s12nekh
+2s12neki
+s12nekk
+2snekl
+2s12nekn
+s12nekr
+s12nekt
+s12nek
+2s12p
+2s12p
+s2ral
+s2ran
+s2rt
+2srb
+2src
+s1rde
+s2r
+s2rie
+s2rig
+s1rlel
+2srm
+s3r
+2srr
+s1rtke
+3srvb
+s1rvei
+3srvem
+3srves
+3srvh
+3srvr
+3srvv
+4s1ry
+2s1rz
+2ssdi
+2sseki
+s2s1el
+2sssz
+2sst
+ssz1ak
+s2sz1
+s2sz1emb
+s2szir
+s2sz1o
+ssz3s
+st1abl
+s2t1a2d
+2stk
+s2t1o
+st2
+s2t1r
+2str
+2stt
+2stv
+2s1v.
+2s1vad
+2s1vb
+2sve.
+2s12ved
+2svei
+2s12vek
+2s12ven
+2svet
+2svb
+2s12vi
+2svn
+2svt
+2svv
+2s1vf
+2svh
+2svi.
+2s1vk
+2s1vn
+2s1vr
+2s1vt
+2s12v
+2s1vv
+sfa3gac
+sfa2gy1al
+sfeny2
+sf2m
+sf2m1e2kh
+sf2m1
+sf2mi
+sfi2
+sfi2ra
+sfi2t
+sf2le
+sf2lo
+sf2l
+sf2lu
+sfo2k1t
+sf2ra
+sf2r
+sf2re
+sf2ri
+sf2r
+sf2ro
+sf2r
+sga1b
+sga1d2
+sga1p
+sga1tr
+sge2o
+sg2le
+sg2l
+sg2n
+s1g2ra
+sg2r
+sg2ri
+sg2r
+shely2k
+1s2hi.
+1s2hih
+1s2hij
+1s2hik
+shitkz1
+s2horr
+3s2how
+sh2sr
+shs1s
+1si
+si2ac
+sia2d
+si2a
+si3ak
+sia2l
+sia2ny
+si2ro
+si2b12
+sibilis1
+sids1s
+si2dea
+si2de
+si2deg
+si2dei
+si2den
+si2deo
+s2idet
+2sid
+s1i2dn
+si2dom
+2s1i2d
+si2du
+si2eg
+sie2l
+si2en
+si2eu
+2s1ifj
+2siga
+s1i2gazo
+2sig
+2sige
+s1i2ge.
+s1i2gek
+s1i2ges
+2s1i2g
+sig2n1e
+sig2n12
+2siha
+3sihed
+2s1ihl
+si2k1a2n
+sike2r1esz
+sike2s
+si2k1in
+si2k1ir
+si2k1old
+s1i2konh
+s1i2konj
+2s1i2konk
+s1i2konn
+2s1i2kono
+s1i2konr
+2s1i2kont
+s1i2konu
+sik1orr
+si1kr
+sikus1s
+2simd
+si2m1el
+s1i2mit
+3sim
+3simog
+2simp
+s1impor
+si2m1u2t
+2s1i2nas
+2sind
+s1indu
+si2ner
+2sinf
+2singa
+s1ing
+s1inget
+s1ing
+s1ingk
+si2nic
+2sinj
+2s1inku
+2s1ins
+s1inte
+2sinv
+s1inv
+2s1inz
+si2onn
+s1i2ono
+si2a
+si2
+si2c
+si2da
+si2e
+si2g
+si2i2k
+si2o
+si2p
+si2
+2sipar.
+2sipara
+2sipar
+2siparb
+2s1iparc
+2siparh
+2siparm
+2siparn
+2s1i2paro
+2siparr
+2sipart
+2sipart
+2siparu
+3sip
+3sipka
+3sipk
+3sipol
+2s1i2ram
+s1irg
+2s1irh
+2siro
+s1i2rod
+2s1i2rn
+2sirt
+s1irt
+si2sad
+si2sl
+si2s1is
+si2s12
+sis3s
+sist2
+si2s12
+si2s3zab
+s1i2tal
+sita2li
+si2te.
+si2t1i
+si2t1
+sit2tin
+3sity
+si2t
+2s1i2vad
+2s1i2var
+2sivs
+3siv
+2s1i2v
+2siz
+si2z.
+si2zb
+s1izmo
+1s
+s2g
+s2ja
+s2ju
+s2kas
+ske2
+s2k1er
+s2k
+s2k
+sna2
+s2nac
+s2nal
+s2nan
+s2n12
+s2nel
+s2n
+2sns
+s2n1
+s2r1ad
+s2r1l
+sr2s3z
+sr12to
+s2red
+s2r1e2m
+s2ren
+s2res
+s2r1e2t
+s2r1n
+s2rir
+s2r
+s12ra
+s2rf
+s2rl
+s2rp
+s2r
+sr2t1e2v
+s2r1
+s1sp
+s1st
+st2kol
+2stl
+sts3s
+sta2
+ste2
+s1tr
+2s1v.
+s2v
+2s1vb
+s12vek
+s12ven
+s12vet
+s2v
+s2v
+s2za
+s2ze.
+2s1zl
+s1zr
+2sz
+s2zl
+sje2gy12
+skao2
+skapocs1
+ska2r1i2m
+skaros3
+ska2r2r
+ska1sm
+skat2
+ska1tr
+skau2
+1sklk
+1sklr
+ske1p2
+ske1s2p
+sk2p1el
+ski2
+1s2kicc
+skie2
+sk2j
+sk2la
+sk2li
+sk2l
+sk2lo
+sk2l
+sk2lu
+skols1s
+s2korpi
+sko2s1a2rai
+sk1p
+s1k2r
+s1k2r
+s1k2rit
+sk2r
+sk2rn
+sk2ru
+sk2va
+sk2vi
+sk2v
+sky1r
+sky1i
+sla1d2
+sla2g1e2
+sla1s2p
+sla2t1a2l
+sla2t1a2n
+sla2tel
+sla2tev
+sla2ts
+sla2t12t
+s2lg
+1slgerei
+sl2nyal
+sls3s
+slega2
+sleg1g
+sle2
+sle2tal
+sle2t1el
+sle2t1em
+sle2tl
+sleves1s
+sli2
+slke2
+sl2kev
+sl2k1ol
+sls3s
+slic2c1elv
+sli2d
+sli2k
+1s2liss
+sls2
+s2lus
+sma2
+smarc2
+smas2
+sma1sp
+3s2mr.
+3s2mru
+sme2g1a2
+sme2g1
+smen2tel
+1smirg
+sna2pal
+sna2p1e
+sna2p1or
+snap2sz1e2
+sne1yi
+snit2t1elv
+sn2h
+1so
+s1obj
+so1c2k
+sodane2
+soda1g2
+so2d1e
+so2dn
+so2dv
+so2did
+so2dis
+so2d
+so2dob
+so2d1org
+so2d1os
+so2d
+so2d
+sodrs1s
+so2d
+sod1t
+so2d
+so2d3z
+so2kab
+so2kai
+so2k1aj
+so2k1a2la
+so2k1ap
+so2kar
+soka2t
+so2k1ato
+so2k1l
+so2k1rn
+so2k1e2
+sok1ill
+so2k
+3sokk.
+sokka2l
+sok2k1ala
+sok2k1a2p
+2sokke
+sok2k1el
+sok2kir
+sok2k12v
+sok2k1
+2sokl
+2sokm
+so2kok
+sok1old
+2so2kos
+2s1o2koz
+so2k12
+2sokta
+s1oktat
+so2k12
+so2k
+2s1o2laj
+sola2j12r
+sola2je
+sola2tel
+sols1s
+2s1olda
+2s1old
+2sold
+s1old.
+s1oldk
+s1oldm
+s1oldn
+s1oldr
+s1oldt
+s1oldv
+so2lim
+2s1oll
+sol2
+s1olts
+2solvas
+so2lyan
+so2ly
+so2m1ad
+somag1g
+so2m1a2l
+soma2t
+som1ato
+so2m1e2
+so2ml
+so2m1te
+so2mil
+so2m1ita
+so2m
+so2m1odo
+so2m1or
+so2m1osz
+som1p
+so2m
+so2m
+son2ch
+2sond
+so2n1e
+son2kl
+son2k1e2
+2son
+son2tab
+son2t1a2l
+son2t1a2n
+son2tar
+son2t12r
+son2t1e2
+sont2r
+son2t1r
+son2tik
+son2tip
+son2t
+son2t
+2sonv
+so2nye
+so2nyis
+so2s
+s1opc
+s1o2pe
+sor1ada
+sor1ala
+sor1ll
+so2r1tl
+3so2r1e2
+sor1f2
+s1orgi
+so2rid
+2sorie
+so2rif
+so2rim
+so2r1ing
+so2ris
+3sork
+sorm1
+sormt2
+sor1oszt
+3soroza
+so2r12
+so2r
+so2r
+2s1orr.
+s1orrt
+2sorrb
+2s1orrn
+2s1orro
+2s1orr
+3sors.
+sor2sal
+sor2sar
+sor2sas
+sor2s1e2
+sor2sir
+2sors
+sor2s
+sor1sz
+sor2szn
+sor1tre
+sor2t
+so2r1to
+so2r
+so2r
+2s1osto
+2s1ostr
+s1osty
+2sosz
+s1oszl
+s1oszt
+so2ul
+so2ur
+so2ve
+so2vis
+so2xi
+1s
+s2g
+s2r
+scsap2
+s2di
+s2dk
+s2dv
+sg2p1e2k
+s1g2r
+si2g
+s2v
+s2k1a2d
+s2kil
+s2kim
+s2k
+s1kr
+sm1
+s2n.
+s2ni
+s2r
+s2rai
+s2rb
+s2ri
+s2rj
+s2rm
+s2rn
+s2rr
+s2rt
+s2ri
+s2s12
+s1sz
+st2ny1r
+s1t2r
+2s1tv
+2s12v
+1s
+s2b
+s2ga
+s2g
+s2g1e2l
+s2g1em
+s2g1k
+sg3g
+s2go
+s2g12l
+s2g1lt
+s2g
+s2ka
+s2k1el
+s2kid
+2s12ko
+s12kr
+s2k
+s2lj
+s12lz
+s1ly
+s2na
+s2n
+sn2d1a2
+s2no
+s2n1l
+s2n1
+s1ntv
+s2n
+3sr.
+s2ra
+s2r
+3srb
+2srd
+s2r1ed
+s2reg
+s2ren
+sr1f2
+s2r1iz
+3srk
+s2ro
+s2r
+s2r12l
+s2r1
+sr1s
+s2ru
+2srv
+s1ssz
+s1sv
+s1sz
+2s1tl
+2s1tv
+2s1v.
+2sve
+s1vv
+s12zn
+1s
+sa2c
+sa2l
+sa2n
+2s2g
+s1bl
+2sbok
+s2dad
+s2dalk
+s2d
+s2del
+s2din
+s2d12r
+s1dro
+se2l
+se2r
+se2s
+s1gr
+s1kl
+s1pl
+s1pn
+s1pr
+s2r1aj
+s2r12csot
+s2riz
+s2rol
+sr12l
+s1rti
+s1rz
+s2s1av
+s2sim
+ss1orra.
+s2s1orr
+s2s1orr
+s1s2p
+s1sta
+s1str
+ss2
+s2s1l
+s2s1t
+s2szap
+s2sz1ll
+ssz2k
+ssz1k
+s2sz1
+spa2d1a2
+s2patu
+s2pj
+sp2n1a
+1s2prg
+3s2peci
+1spektr
+1s2peku
+1s2pk
+s2p1r
+1spirl
+spis3s
+sp2le2
+s1p2l
+sp2lu
+sp2ne
+1s2pong
+sporta2
+spor2t1al
+1s2portg
+spor2tr
+3s2portb
+spor2t1e2
+1s2port
+spor2t1rd
+1s2porth
+spor2t1i2n
+1s2portj
+1s2portn
+1s2portoka
+1s2portol
+1s2porton
+1s2portos
+3s2portot
+spor2t1
+spor2t
+1s2portra
+1s2portr
+1s2portt
+1s2portu
+spor2t12
+1sprk.
+1sprol
+sp2ra
+s1prak
+3spray
+s1p2re
+s1p2r
+1spric
+s1p2ro
+s1p2r
+sp2sz
+1s2raf
+srau2
+1s2rco
+sren2d12
+3s2rf
+sr2de
+ssab2b1i
+ssa2vo
+ssg3g
+ss2g1e2l
+ss2g12j
+ss2gid
+s2s1kt
+s2s1i2z
+ss2kl
+ss2ko
+ss1k2r
+ss2l
+ss2p
+s1s2r
+ss3sz
+ss2tad
+ss2tar
+ss2tat
+s1s2t
+ss2to
+s1st2r
+ss2t
+ss1ura
+ssy1r
+ssy1t
+s2sz
+sszae2
+ssza1p2r
+sszat2
+ssza1tr
+ssz12g
+ssz12ram
+ssz12ruk
+ssz12sz
+s3szza
+s3szed
+sszeg1r.
+sszeg2l
+ssze2g1l
+ssz1egye
+s3szekv
+ssz1e2la
+s3szeml
+s3szemm
+ssze1p2
+ssze2reib
+ssze2reid
+ssze2rein
+ssze2rek
+ssze2rekt
+ssze2rem.
+ssze2remm
+ssze2rese
+sszer2t12r
+ssze1t2r
+s3szki
+ssz12l
+sszr1in
+s3szto
+s3szige
+ssz1ing
+sszis1s
+ssz2vel
+ssz1k2
+sszksz1
+s3szob
+ssz1osz
+ssz1s
+s3szc
+s3szr
+ssz1s
+s3szv
+ssz1p2
+ss3zsi
+sszt2
+ssz1tro
+s3szur
+sszus1s
+ssz1r.
+1stabil
+1stadio
+st1a2d
+1staf
+s2t1alj
+s2t1alk
+s2tand
+1standa
+sta2n12r
+stan2s1
+st1a2nyag
+s2tarc
+1s2tart.
+star2tas
+1startos
+1s2tartot
+1startt
+sta1sl
+sta1s2t
+sta1t2r
+sta3u
+stau2t
+s2t1a2x
+st1azo
+3stb.
+1stbj
+1stbk
+1stbn
+1stbot
+st1g.
+st1ld
+stn2c1ol
+stn2s12
+st2ri
+s2t1rka
+s2t1rk
+st12t1a2
+st1ts
+1s2ttu
+st1tv
+st1br
+st1dr
+ste2a
+1s2teak
+s2t1eb
+s2tedn
+s2t1e2gy
+s2t1e2ke.
+s2t1elf
+s2t1elh
+s2t1ellen
+s2t1elm
+s2t1e2lo
+s2t1el
+s2t1e2l
+s2t1elr
+s2t1elt
+s2t1elv
+s2t1ember
+s2t1e2mel
+s2t1eml
+ste2n1a
+ste2n1
+ste2neg
+ste2n1s
+sten3n
+ste2nos
+ste2n12
+1stepp
+ste2rad
+ste2raj
+ste2ral
+ste2rav
+ste2rc
+ste2rl
+ste2r1e2le
+1sterili
+ste2r1int
+ste2ris
+ste2r1o
+s2t1er
+ste2sz
+s2t1eszm
+ste2u
+1stgek
+1stget
+1stgg
+1stgr
+st2k1a2
+st2k
+stkt1
+stkta2
+st2k1el
+st12kes
+st1k
+st2k1o
+st2ku
+s2t12le
+st12l
+s2t1lm
+s2t1lt
+st1lv
+s2t1rc
+s2t1rem
+s2t12r
+s2t12rt
+s2t1rt
+s2t1rz
+sts3s
+s2t1szl
+s2t1tk
+s2t12ve.
+st1fl
+st1fr
+st1gr
+s2t1i2d
+sti2g
+s2t1ige
+s2t1ig
+s2t1i2ma
+s2t1i2m
+1s2timm
+s2t1imp
+sti2na.
+s2t1ind
+s2tinf
+s2t1ing
+s2t1inv
+s2t1i2o
+st1i2pa
+st1ir
+st1ir
+stis3s
+sti2sz
+s2t1isza
+s2t1i2v
+st1i2zo
+s2t1j
+3s2tl
+s2tr
+st1r
+st12v
+st12z
+stk2ro
+st1kr
+st1kv
+stola2t
+sto2lato
+sto2p1a
+1s2topb
+1s2toph
+1s2topr
+1s2topt
+sto2rl
+sto2rs
+sto2re
+sto2ris
+st1o2x
+3s2tla
+3s2tl
+st12r
+1s2ts
+st2k1lt
+s2t1nt
+s2t1r
+s2t1ssz
+sta2
+ste2
+stksz1
+s2t1ra
+s2t1rb
+s2t1rc
+s2t1reg
+s2t1rei
+s2t1r.
+s2t1rn
+s2t1rr
+s2t1rv
+s2t1rf
+s2t1rg
+s2t1rh
+s2t12ri
+st1rl
+s2t1rm
+s2t1rn
+st1rp
+s2t1rs
+s2t12r
+s2t1rv
+st1pf
+st1pl
+st1pr
+1strando
+1st2rap
+1strat
+s1trg
+1st2rb
+s1t2rn
+st2ri
+st2rf
+1strf
+1st2ruc
+1strukt
+st1sc
+st1st
+st1sz
+st1t2r
+s2t1udv
+1stukk
+st1uni
+st1u2ral
+3s2td
+st1r.
+st1t
+s2t1g
+s2t12l
+st1st
+s2t1t
+s2t12v
+s2t1r.
+s2t12ri
+s2t1rn
+s2t1rt
+1su
+su2r
+subi1
+s1udm
+2s1udv
+3sugr.
+3sugrr
+2s1ugr
+3suhi
+2sujj
+suj2j1a2da
+su2k1ar
+su2ke
+su2k1
+su2k1
+3summ
+su2nal
+2s1und
+2s1u2ni
+su2no
+supe2
+2sura
+s1u2rad
+su2rai
+su2rak
+su2ral
+su2rat
+su2rt
+2surn
+2s1u2ru
+su2szo
+2s1u2tac
+2s1u2tad
+2sutak
+s1u2tal
+2s1u2tam
+2s1u2tan
+sutas1s
+2s1u2tat
+2su2tazi
+s1u2taz
+2s1utc
+2sut
+su2td
+2sutu
+1s
+s2csal
+s2csat
+s2csem
+s2cser
+s2csip
+scsk2
+s2cs1
+s2cs12
+scs3z
+sdi2
+si2m
+s1jh
+2s12j
+2s1js
+3sly
+2sr.
+2srb
+2sr
+2srh
+2sri
+2srk
+3srl
+2srn
+2srp
+2srr
+2srt
+s2sn
+s2s
+2ssz
+ssz2s3z
+2s1tb
+st1en
+2st
+s1th
+2sti
+s2tig
+2s1tj
+2s1tk
+s1tn
+2sto
+s12ton
+s2t1
+2s1tr
+2s1tt
+st2
+st1z
+2s1tv
+1s
+s2d1e
+s2d
+s2d
+3s3g
+s1ggy
+2s12gy
+3s2k1a
+s2k
+2sld
+s2led
+3sltr
+slye2
+s2lyes
+s2n
+sne2
+s2nev
+s2n1
+2s12n
+s2r
+2s12r
+2sst
+2s12sz
+2stk
+3stb
+s2ze
+s2z
+1s
+s1pr
+s2r1a
+3sr
+s12ru
+s2z
+sva2s1u2
+sv2gy1n.
+sv2nyan
+sv2r1al
+svrosi2
+sven1
+svezet2
+sv2nyel
+sv2tes
+svze2
+svz1es
+s2vun
+sw2hi
+swhisky2
+sy2b
+sy1ig
+s2z
+1sza
+szaa2
+3szabz
+3szabd
+sz1a2ds
+2sz1a2d
+sza2
+3szaft
+3szag.
+3szagb
+3szag
+2szagy.
+2szagya
+2szaj.
+2szaj
+2szajj
+2szaj
+2szakci
+3szakm
+sza2k12r
+sza2kz
+2szals
+2sz1alb
+2sz1alf
+2szalg
+2szalj
+sz1alj.
+sz1aljak
+sz1aljo
+2szall
+2szaln
+2sz1alp
+2sz1als
+2szalt.
+2sz1alte
+2szalto
+2szaltu
+2szane
+sz1antr
+2szanya
+2szany
+2szap.
+2szap
+2szapb
+sza2pel
+2szap
+2szaph
+2szapi
+2szapj
+2szapn
+2szapr
+2szapt
+2szarn
+3szarb
+2szarc
+2szar
+3szart
+3szarv
+2szasp
+sz1assz
+sz1aszt
+sza2tala
+3szaty
+2szaut
+szau2ta
+3szax
+2szazo
+1sz
+2szbr
+2szg
+2szgy
+sz2gy
+sz2gyo
+sz2j1e
+sz2ke
+2szldo
+sz2lin
+3szl
+sz2man
+sz2mar
+3szm
+sz2ml
+3szmc
+sz2m1e2
+3szm
+sz2m1rt
+3szm
+3szmk
+3szml
+3szmm
+3szmn
+sz2mor
+3szmt
+3szm
+3sznd
+3sznt
+2szp
+2szradd
+2szrs
+sz2r1e
+2szri
+3szr
+3szrm
+sz2r12ra
+szrt2
+2szru.
+2szruh
+2szrus
+2szs.
+2sztd
+2sz12t1
+2szti
+2sztl
+2sztm
+2sz2t1
+2szts
+2sz1tu
+2sz12t
+2sztv
+sz1bl
+sz1br
+1szcna
+sz1cl
+sz1d2r
+1sze
+2szeb.
+2szeb
+2szech
+2szecse
+2szedz
+2szeger
+3szegf
+2szegz
+2szeh
+sze2keg
+2szekit
+2szeks
+sze2ks.
+3szekrn
+3szekto
+3szele.
+2szelef
+2szelemb
+2szelemek
+2szelem
+2sz1e2lemk
+2szelemm
+2sz1e2lemr
+2szelem
+2szelemz
+2szelere
+3szelet
+3szeln
+2sz1elf
+2sz1elgo
+2sz1elha
+2szelh
+2sz1elj
+2szelk
+2sz1ell
+3szell
+2sz1elm
+2szelnev
+2szeln
+2szelo
+2szel
+2sz1e2l
+sze2ld
+2sz1e2lf
+sze2lr
+2szels
+2sz1elsz
+2sz1elta
+2szelt
+2szelt
+2szelu
+2sz1ell
+2szelv.
+2sz1elv
+2szelvek
+2szelves
+2szelvez
+sz1elvi
+2szelvn
+2szelvt
+2sz1elz
+2szember
+3szemek
+3szeml
+3szem1p2
+3szem.
+2szenc
+2szener
+3szenny
+3szenz
+szeo2
+2szepi
+sze2r12l
+2szeredm
+szer1e2ge
+sze2rej
+3szerel
+szer1eszt
+3szerke
+3szers
+3szerta
+szer2tlo
+3szerv
+szervz1
+3szerz
+2sz1esd
+2sz1esem
+2szesetb
+2szesete
+2szeset
+2szeseti
+2szesetr
+2sz1e2ss
+2szesk
+2szes
+sze1sp
+2szeste
+2szest
+2szesti
+2szestj
+2szestr
+sze2t1e2l
+sze2t12k
+2szetika
+sze2ton
+sze2tr
+2szeve
+2szev
+2szexp
+3szezo
+2szezr
+1sz
+2szber
+2szbr
+2szg.
+2szge
+2szg
+2szgr
+2szhe.
+2szhen
+2szhet
+2szhs
+2szji
+3szke.
+3szked
+3szkei
+3szkek
+3szkem
+3szkes
+2szkez
+3szkb
+3szkv
+sz2k1ol
+sz2kos
+3szks
+3szk
+3szlek
+2szneke
+2sznekn
+sz1pr
+3szps
+2sz1r.
+2sz1rb
+2sz1rc
+2sz1rd
+sz12rel
+2szrem
+sz2rem.
+sz2remm
+2sz12ren
+2szr
+sz2r.
+sz2rn
+sz2rr
+sz2rt
+sz2rv
+sz1rf
+sz1rg
+sz1rh
+2sz1rin
+sz1rj
+2sz1rk
+2sz1rl
+2sz1rm
+sz1rn
+2szr.
+2szri
+2szrk
+2szrt
+sz1rp
+2sz1rr
+sz1rs
+sz1rt
+2sz1rte
+2sz1rt
+sz1rt
+2sz1rt
+3szru
+2sz12r
+2sz1rv
+2sz1rz
+sz2tel
+szte2s
+2szv.
+2szvad
+2szvb
+2szve.
+2szvei
+2szvek
+2sz12vet
+2szvn
+2szvt
+2szvv
+2szvf
+2szvi
+2szvk
+2szvn
+2szvr
+2szvs
+2szvt
+2szv
+1szfrai
+1szfr
+1szfrso
+sz1fl
+sz1fr
+sz1gl
+1szi
+szi2ab
+2szide
+2sz1id
+2szid
+2szifj
+2sz1i2ga
+2sz1ig
+3szign
+szi2k1a2s
+szi2k1e2r
+szi2k12
+sz1imak
+2sz1i2m
+3szimb
+sz1impr
+2szimpu
+2szinas
+2szinde
+2szind
+2szindu
+sz1info
+2szing
+sz1inko
+2szinteg
+2szio
+2szirat
+2szir
+2sz1i2ri
+2szirod
+szi2s
+2sz1i2sza
+szi2sz
+3szitu
+2szivad
+2szivs
+2sziv
+sz1izg
+2sz1izz
+1sz
+2sz1g
+3szne
+2sznna
+sz2vr
+2szvi
+3szv
+2sz1z
+szka1pr
+1szkarab
+szk1arch
+1szkenn
+1szlvh
+1szlvok
+1szleng.
+1szlengn
+1szlengr
+szle2t1e2l
+szle2t1o
+1szloge
+1sz2mok
+1sznob
+1szo
+2szobj
+2szoda.
+2szodai
+2szodak
+2szod
+3szof
+3szok
+2szokke
+2szokoz
+2szoks
+2szolaj
+szo2l1l
+2szolda
+sz1old
+2szold
+2szo2lim
+2szoll
+2sz1oltr
+2szolts
+2szolvad
+2szolvas
+2szombor.
+3szoms
+szo2nas
+szo2nr
+3szond
+2szora
+szo2r1l
+2szorm
+2szorn
+2szors
+2szorv
+2szost
+2szosto
+2sz1otth
+3szov
+2sz1ox
+1sz
+2szlm
+3szl
+2sznd
+2szni
+2szni
+2sznod
+2sz12rn
+2szrt
+2szri
+sz2sk
+3szsz.
+szsza2k
+sz2szll
+sz2szn
+sz2szl
+sz1tr
+1sz
+2szbli
+3szge
+2szldes
+2sz1le
+2szre
+2szv.
+2szvei
+2sz1z
+1sz
+sza2
+sze2r
+sz2
+3szl
+sz2ra
+sz1si
+2szz
+sz1ze
+1sz2p
+sz1pl
+1szponz
+szrdi2
+sz3saj
+sz3sap
+sz3sas
+sz3sav
+s3zsk
+sz3sn
+sz3sr
+sz3ss
+sz3st
+sz3sv
+sz3seg
+s3zsem
+s3zsen
+sz3sep
+sz3ser
+sz3s
+sz3sh
+sz3sik
+s3zsin
+sz3sis
+sz3siv
+sz3sn
+sz3s2k
+sz3sl
+sz3sod
+sz3sok
+s3zsol
+sz3sor
+sz3s
+sz3sr
+sz3sv
+sz3s2p
+sz3s2r
+sz3s2t
+s3zsll
+sz3s
+sz3sz
+sz2t1lla
+szt2r1a2d
+szt12ram
+sz2t2ras
+szt2rat
+sz2tre
+sz2trf
+sz2trh
+1sz2trj
+sz2trny
+sztr2
+sz2tru
+szt12ruk
+sz2trv
+szte2r1el
+1sztereo
+szt2g
+szt1ge
+sz2trte
+sz2t1rv
+sz2t1t
+szt1rk
+sz2t1rn
+1sztrd
+1sztrjk
+sz2tr
+1sztye
+1szu
+szu2b
+szub1o
+szuc1
+2szud
+sz1udv
+2szugo
+2sz1ugr
+2szuh
+2sz1uj
+3szuk
+sz1u2ra
+2sz1u2r
+2szuta
+sz1ut
+2szutu
+2s3zuz
+1sz
+2szg
+2szj
+sz1ron
+2sz1rr
+sz1rt
+2szs
+2szt
+2szth
+2szti
+2sztj
+2sztn
+2szto
+2sztr
+2sztt
+2sztv
+2szz
+1sz
+2sz1d
+2szgg
+3szks
+2szld
+2sz12led
+2szlse
+3szne
+3szrke
+3szrks
+2sz1s
+2sz1v
+1sz
+3szk
+2szrdn
+1szvit.
+1szvitet
+1szvitj
+1szvitn
+1szvitt
+sz3zs
+2t.
+1ta
+taa2d
+taa2l
+tat1
+tata2
+taboz1
+ta1bra
+2t1abro
+ta1br
+2t1abs
+ta1cl
+ta2dal
+2t1adap
+ta2das
+t1a2data
+2t1a2datb
+2t1a2dato
+ta2datu
+2t1a2d
+2tadio
+t1adj
+t1adl
+2t1adm
+ta2dod
+2t1a2dog
+2t1a2dot
+2tad
+t1a2da
+ta2d
+ta2db
+ta2dd
+ta2df
+ta2dg
+t1a2dh
+t1a2dig
+t1a2dik
+t1a2din
+t1a2dit
+ta2d
+t1a2dj
+t1a2dka
+t1a2dk
+t1a2dko
+t1a2dkra
+ta2dl
+t1a2dna
+t1a2dn
+ta2dp
+t1a2dr
+t1a2dt
+ta2d
+t1a2dv
+ta1dr
+ta1d2re
+ta1dro
+t1ads
+ta2dun
+t1adv
+tae2l
+tae2r
+ta2ero
+ta2r
+2taf
+ta1f2r
+taf2ta
+ta2g1aj
+ta2gav
+taga2z
+tag1azo
+ta2gg
+ta2g1l
+ta2gec
+ta2g1el
+ta2g1e2r
+ta2g12g
+2taggo
+2t1aggr
+ta2gid
+ta2giz
+ta2g1osz
+ta2g1ott
+ta2gc
+2t1a2gn
+ta2g12r
+ta2gv
+ta1g2raf
+ta1g2ram
+tagrdi2
+ta2g1u2s
+ta2gut
+ta2g12
+2t1agy.
+ta2gya.
+ta2gyb
+ta2gyh
+2t1agyb
+2t1agyn
+2t1agyr
+2t1agyv
+ta2ire
+tai2rn
+tai2z
+ta2j
+ta2j1u2s
+ta2js
+2t1a2kad
+ta2k1l
+tak2r
+tak1ro
+ta2ks
+ta2ktk
+2t1akce
+2t1akci
+take2l
+tak1ele
+ta2k1r.
+tak12sze
+2t1akkora
+2takkord
+2t1akku
+ta1k2la
+ta1klu
+t1akna.
+ta2k.
+ta2k1b
+ta2k1rm
+ta2k1s
+ta1kr
+tak2re
+ta1kr
+2t1akro
+ta1k2rn
+2t1akta.
+2takti.
+2t1aktiv
+2t1akt
+2t1aktj
+taktus1s
+ta2kus
+ta1k2va
+ta2l1a2da
+ta2l1a2d
+ta2l1adh
+ta2l1adj
+ta2l1adn
+ta2l1a2do
+ta2l1a2d
+ta2l1adt
+ta2l1a2du
+ta2l1adv
+2tala2g1
+t1a2lagu
+ta2lag
+2t1a2lakb
+tal1akc
+2talak
+2t1a2lakj
+2ta2laku
+2t1alakz
+ta2l1a2l
+2t1alany
+2t1a2lapa
+2t1a2lap
+ta2lapk
+t1a2lapl
+2t1a2lapsz
+ta2l1a2r
+ta2l1as
+tala2te
+2talatti
+ta2l1au
+2tal
+ta2l12g
+2tal
+ta2l1llo
+tal12rak
+tals1s
+ta2l1ta
+tal1tr
+tal1ell
+ta2l1el
+ta2l1eng
+tal1esi
+tal2g
+tal2k1e2
+ta2l1r.
+2t1alge
+ta2l1i2ko
+tal1ikr
+tal1imp
+tal1ina.
+ta2lip
+ta2l1isk
+ta2l12r
+2taljas
+2t1alji
+2taljz
+2t1alkal
+2talkm
+2talkoh
+2talkot
+2taller
+tal3ly
+ta2l1ol
+talo2m1e
+ta2l1osz
+ta2l1r
+tal2p12ro
+tal2pel
+tal2p1il
+tal2pus
+tal1t2re
+ta2lud
+2t1a2lulj
+ta2l1u2r
+ta2l1u2t
+ta2lr
+ta2l1t.
+ta2l
+ta2l
+2talveo
+ta2mal
+tam1alm
+ta2maz
+ta2m1i2d
+2t1a2m
+t1ampa
+2t1ampu
+2t1amur
+ta2m
+ta2n1aj
+ta2nal
+ta2nan
+ta2n1ar
+2t1a2nat
+tan1ll
+tan1lo
+tans1s
+tan2del
+2tandr
+ta2n1el
+ta2ner
+2ta2n1es
+ta2n1ez
+ta2n1j
+ta2n1r.
+ta2n1rk
+tan1vb
+tan12v
+tan12vi
+tan1vm
+ta2nid
+2ta2nim
+tan1ist
+tank2r
+tan2kre
+tan2ks
+tank2
+tan2k1ra
+2tanny
+ta2n1osz
+ta2nd
+tan2te.
+tan2t1el
+tan2tors
+tan1tr
+ta2n
+ta2n
+2tanyag
+2tanyd
+2t1a2ny
+tao2l
+ta2r
+2t1a2pa.
+2t1a2pai
+ta2pak
+ta2pas
+2t1a2pb
+2t1a2pd
+2t1a2p
+2t1a2ph
+2t1a2pi
+2t1a2pj
+2t1a2pk
+2t1a2pm
+ta2pra
+ta2pr
+2tapu
+2t1a2pv
+ta1p2la
+ta1pl
+t1a2p.
+2tapp
+ta1p2r
+2t1apr
+ta1p2ro
+tap2sor
+taps3s
+tap2s12
+2tapun
+ta2rabe
+ta2rai
+2t1a2ras
+2t1a2rat
+2t1a2rb
+tardi2
+2t1a2rh
+2ta2rn
+2t1a2rt
+2t1a2rv
+2t1arbi
+2t1arc.
+2t1arch
+2t1arco
+t1arcu
+2t1arc
+ta2r1i2k
+ta2rom
+tar1s2
+tar2tab
+tar2t1e2l
+tar2t1em
+tar2t1en
+tar2t1r.
+tar2tit
+tar2told
+2tartos
+2tartr
+2tartt
+2tasc
+ta2sem
+2tasf
+ta1s2k
+ta1slu
+ta1s2m
+2tasn
+ta2s1ol
+2t1aspi
+ta1spr
+2tasru
+2tassz
+tas3sz
+tas3szt
+tast2
+ta1s2ta
+2taste
+ta1str
+2tasv
+ta1sy
+2t1aszk
+ta1szl
+ta2t1alj
+ta2t1alm
+ta2t1aszt
+tat2rai.
+2t1a2tei
+tate2s
+2tatika
+2tatik
+ta2t1i2na.
+ta2t1i2n
+ta2t1ing
+t1atlas
+t1a2tomo
+tat1orj
+ta2t1r
+ta1t2ri
+2t1atti
+tat1u2ra
+ta2tya
+ta2ty
+2t1a2uk
+tau2ta
+tau2t
+2tauto
+ta2z
+2tavan
+2tavat
+2tavat
+ta1wh
+ta2zon
+1t
+2tb.
+t2b1
+tbe2sz12l
+2tb
+t2big
+t2bin
+2tbj
+2tbk
+2tbn
+2tbok
+2tbon
+2tbot
+t2b
+2tbr
+t1br
+t2b
+2tciu
+t2fa
+t2f
+2tg.
+t2ga.
+tga2d
+tg1ada
+2t12gai
+t2gaz
+2t12g
+2tgb
+2t1gc
+2t12ge
+2t12g
+2t1gf
+2tgg
+2t1gh
+2t12gi
+2tgj
+2t1gk
+2t1gm
+2tgn
+2t12go
+2tgr
+2t1gt
+2t12guk
+2t12gun
+2t12g
+2t1gv
+2t12gy
+t2h
+t2jal
+t2jaz
+t2j1e2g
+t2j1e2l
+t2j
+t2j1ok
+t2j12
+t2j
+t12jul
+t2lab
+tla2d
+tl1ada
+t2laj
+tl1a2lap
+t2lap
+2t1lar
+t2l1l
+t2l1th
+2t1ld
+2t1ldo
+t2l1e2
+t2ll
+2t1ll.
+2t1llam
+2t1llan
+2t1llat
+2t1lls
+2t1llh
+2t1ll
+2t1llj
+2t1lln
+2t1llo
+2t1lls
+2t1llt
+2t1llu
+t1ll
+2t1llv
+2t1lma
+2t1lmi
+2t1lmok
+2t12lomr
+t2lomt
+t2l
+2t1lru
+t2l
+t2lyab
+t2ly1a2c
+t2lyad
+t2ly1a2g
+t2ly1a2l
+t2ly1a2n
+t2lyap
+t2ly1at
+t2lyau
+t2lytl
+t2ly12z
+t2lyid
+t2lyir
+t2lyis
+tma2sze
+t2m
+t2mos
+2t12mu
+tn1alm
+t2nr
+tnc3c
+tn2c1e
+tn2ch
+tn2cl
+tn2cn
+tncksz1
+tncs2
+tn2cs
+tn2csor
+tn1d2
+t2n1e2
+t2n
+t2n12
+t2n
+2tnp
+tn2s1e
+t2n
+t2n
+t2nyal
+t2ny1as
+t2nye
+2tnz
+t2p1a2
+tp2
+t2pl
+t2p1r
+t2pt
+t2p1e2
+t2p1il
+t2p1in
+tp1oll
+t2p1osz
+t2p
+t2p
+2t12rad
+tr1a2dot
+t2rad
+t2r1a2g
+tr1ajt
+t2r1a2l
+2trama.
+2tram
+2trami
+2t12raml
+2tramok
+2tramol
+2tramot
+2t12ramt
+2tramu
+2tram
+tra2n
+t2r1any
+t2rap
+t2r1asz
+t2r1att
+t2r1au
+t2r1av
+t2rg
+t2r1l
+t2r12sz
+t2r1tl
+2trboc
+t2r1e2
+t2rd
+t2rs
+tr2gy
+t2r1i2k
+t2r1i2p
+tr1isk
+t2r1ism
+t2r
+tr1k2
+2t1rkd
+2t1rkna
+2trkr
+2t1rny
+tr1okm
+t2r1osz
+t2rc
+tr1r
+t2r
+t2r
+tr2s1alt
+2trts
+trt1lt
+tr1tro
+2tru.
+2trua
+2trub
+2truc
+2t12rug
+2t12ruh
+2trui
+2t1ruj
+2truna
+2trus
+2trut.
+tr1uta
+2tru
+2truv
+2tr
+t2rj
+2trk
+t2rs
+t2r
+t2r
+t2s1a2d
+t2s1aj
+t2sal
+t2s1a2r
+t2saz
+ts12ga
+t2s12rai
+t2s12r
+t2s12r
+t2s1rh
+t2s1rn
+t2s12ro
+t2s1rr
+t2s1rt
+t2ss
+2t1sso
+t2s12to
+t2s1e2
+t2sis
+t2sodv
+t2s1ol
+t2sor
+t2s
+2tsk
+ts12r
+t2s
+t2s
+ts3s
+tst2
+ts1tr
+t2sut
+t2s12
+t2s
+t1svn
+t2sz1ak
+t2szal
+ts3zav
+t2s3z
+t2sze
+ts3zen
+2tszi
+2tszo
+t2szos
+t2s3z
+2tszt
+2t1tad
+2t12tl
+2t1tc
+2t1td
+2t12t1e2
+2t12t1
+2t1tfo
+2t1tg
+2t1the
+2t1thi
+t2t1ir
+2t12t
+2t1tje
+2t1tk
+2t1tlag
+2t1tm
+2t12t1ol
+2t12t1
+2t12t
+2t1tp
+2t1tre
+2t1tru
+2t1tsz
+2t1tte
+2t1tt
+2t1tt
+2t1tt
+2t1tut
+2t12t
+2t1tvi
+2t1tvo
+t2v1a2d
+t2vak
+tva2l
+t2v1a2n
+t2vas
+t2vaz
+t2v1l
+t2v1e2
+t2vd
+t2v1rz
+t2v1s
+t2vin
+t2vis
+t2v
+t2v1or
+2t12v
+t2v
+t2v
+t2v
+t2zsal
+t2zsl
+t2zs
+tzs1p
+tbal2le
+tbe2
+tb2la
+tb2le
+tb2li
+tb2lo
+tb2l
+tb2ra
+tb2re
+t1b2ri
+tb2ro
+tb2r
+tb2ru
+tca1k
+tca1s
+tca1t2
+tc2lu
+tc2re
+tcsap12g
+tdja2d
+td2j1ada
+td2ra
+td2r
+td2re
+td2ro
+td2r
+td2ru
+1te
+te2aa
+te2a
+te2ab
+te2ac
+te2a3d
+te2ae
+te2a
+te2ag
+te2ah
+teai2
+te2aiv
+te2a
+te2aj
+te2aku
+te2alap
+te2alz
+te2ali
+te2ana
+te2ao
+te2a
+te2a
+te2apa
+te2ap
+teas2
+te2a1sp
+te2asza
+te2asz
+te2aszo
+tea1tr
+te2a
+te2a
+te2av
+te2az
+te2ber
+te2bd
+2tech
+te2cs
+te2dit
+te2d
+2t1e2dz
+2t1eff
+te1f2r
+te2gan
+te2g1a2r
+tega2z
+teg1azo
+te2g
+teg1l
+teg1r
+te2g1eg
+teg1e2lem
+te2g1ell
+te2g1elr
+te2gene
+2tegere.
+teg1ered
+te2g1l
+te2g12p
+tegsz1
+teg3g
+te2gid
+te2gis
+te2giz
+te2g1on
+te2g1
+te2g
+te2g12g
+teg2l
+te2g1l
+te2g1l
+2t1egy.
+2t1e2gyes
+t1e2gyez
+t1egyn
+2t1egyh
+2t1egyl
+2t1egys
+2tegyt
+tei2g
+tein1s
+te2j1a
+teje2g
+te2j1ell
+te2j1elv
+te2j1er
+te2jin
+te2j
+te2jo
+te2j1
+te2j1s
+te2j
+te2j1u2
+te2j
+te2k1ag
+te2k1l
+te2k1el
+tek1ret
+te2k1i2p
+te2k
+te1klu
+te2k1ok
+te2k1s
+te2k1und
+te2k1t
+te2lab
+te2lag
+te2laj
+te2l1an
+te2lap
+te2lar
+te2las
+te2lav
+te2l12g
+te2ll
+tel2r
+te2l1t
+2telb
+tele3r
+2telej
+tel1ejt
+2telektr
+tel1e2len
+te2l1elk
+te2l1ell
+te2lemba
+te2leme.
+2telemei
+2te2lemek
+te2lemes
+te2lemn
+2t1e2lem
+tel1ess
+te2l1e2s
+te2l1este
+tel1esti
+tele2t1r.
+t1e2lg
+tel1rt
+te2l1te
+t1elfoga
+teli2h
+te2l1imi
+te2lind
+te2l1inf
+te2l1ing
+2t1elix
+te2lr
+tel2l1eg
+2tellenf
+2tellen
+2tellenz
+2t1ellniv
+2telmle
+te2l12
+te2l1l
+2telad
+2t1e2l
+2telnn
+2t1e2lny
+te2ltt
+2t1e2ltu
+te2lvt
+tel1zi.
+tel1p2
+2t1elsa
+2t1els
+2t1eltel
+2t1eltett.
+2t1eltr
+te2l
+tel2k.
+2t1elv.
+2t1elvb
+2t1elvei
+2t1elvek
+2t1elvet
+2t1elvv
+2t1elvh
+2t1elvi.
+2t1elvil
+2t1elvk
+2t1elvn
+2t1elvr
+2t1elvt
+2t1elv
+2t1elv
+2t1elvv
+te2map
+te2m1as
+2t1embl
+2t1embr
+te2m1e2g
+tem1e2leg
+2t1emel
+2t1emelk
+2te2mel
+te2melv
+te2m1l
+te2m1r.
+te2m12r.
+tem1rt
+2t1e2ms
+te2m1te
+te2m1tk
+te2mid
+te2migr
+tem1ill
+te2mim
+tem1ing
+te2m1int
+te2mc
+te2m12r
+te2m12
+2temp
+2templi
+2t1e2mul
+te2mus
+te2mut
+tem2l
+te2m1l
+te2nad
+te2n1a2g
+te2nal
+te2n1a2r
+te2n1as
+te2nat
+te2nau
+te2n12t
+ten1d2h
+tene2g
+ten1egy
+te2n1el
+te2ner
+2tenerg
+te2n1esz
+te2n1kt
+te2n1v.
+te2n1vi
+2t1enged
+te2n1i2p
+te2n1ol
+te2n12
+te2n
+ten2tin
+ten2t12v
+ten1tri
+te2n1u2
+te2n
+te2n1g
+te2nnn
+2t1enyh
+t1enyv
+te2oc
+te2of
+teo2s
+2t1epiz
+2t1e2pos
+2tepp
+tep2p12k
+ter1abl
+ter1a2c
+te2r1ada
+ter1aka
+te2r1a2n
+te2r1a2r
+te2rau
+ter12cs
+te2rf
+te2r1ll
+ter1lm
+te2r12ri
+ter1ta
+ter2ch
+ter1d2
+2terd
+2teredm
+te2r1e2dz
+ter1eg
+ter1egy
+2t1e2rej
+te2r1e2ke.
+2t1e2rekl
+te2r1elm
+tereme2
+te2r1ent
+2tereo
+tere2pa
+tere2p1e2l
+tere2p12l
+te2r1er
+te2r1e2s
+te2r1este
+te2r1est
+te2reta
+te2r1eti
+te2retn
+te2rg
+te2r12j
+ter1ka
+te2r2l
+ter1le
+ter1lv
+ter1g2
+ter1iko
+2terili
+ter1illa
+teri2na
+te2r1i2p
+te2rism
+ter1ist
+ter1izm
+ter1k2
+t1erklc
+terms1s
+te2r1old
+te2ror
+te2r1ox
+te2r12r
+te2rk
+te2r1n
+te2r
+2t1er.
+2t1erb
+2t1erf
+2t1ers
+t1ert
+t1erv
+ter1s2
+tersz2
+tert2
+ter1tr
+te2rur
+te2r1ut
+te2r1t
+te2r1g
+te2r1ld
+ter2vaj
+ter2van
+te2sar
+te2sr
+te2sel
+tes1ell
+2t1esem
+2t1e2setb
+2t1e2sete.
+2t1e2setei
+2t1e2seten
+2t1e2setet
+2t1e2set
+2t1e2seth
+2t1e2seti
+2t1e2setn
+2t1e2setr
+2t1e2sett
+te2sl
+2tesll
+2tesly
+2t1e2ss
+te2s1int
+tes2r
+te2srn
+te2s1r
+te2sz
+2tesk
+t1esni
+te2sot
+2t1e2s
+tesp2
+2t1esszen
+tes2tak
+tes2t1ll
+test2r
+tes2tra
+tes2t1elk
+tes2t1ell
+tes2t1er
+2testj
+2testk
+tes2t1kn
+tes2t1ks
+2testm
+tes2tism
+tes2t1o
+test2
+tes2t1re
+tes2t1r
+tes2tur
+te2s1
+te2s12v
+2teszet
+2t1eszm
+tesz2t1a2
+teszte2r
+tesz2t1ere
+tesz2t12te
+tesz2tor
+te2t1a2k
+te2t1a2l
+te2tana
+te2t1a2p
+te2tg
+te2t1l
+tet2r
+te2t1ra
+te2tt
+te2t1e2g
+te2t1ell
+tet1e2l
+tet1elr
+te2t1elv
+te2tene
+tete2r
+te2t1er
+te2t1esz
+te2t1j
+tet1kk
+te2t12l
+te2t1ri
+te2t1rv
+te2tid
+2t1e2tika
+2t1e2tik
+te2tim
+te2t1int
+tetksz1
+te2t1olt
+te2t1ot
+te2tr
+te2tur
+te2t1z
+2t1e2td
+te2t12z
+tevs3s
+te2vol
+te2w1a
+2t1exp
+2t1e2zer
+teza2
+t1ezred
+1t
+2t1br
+t2c
+t2des
+2tg.
+2tgb
+2tget
+2tg
+t2gp
+t2gs
+2tgg
+2tgj
+2t1gk
+tgla1
+2tgn
+2t12g
+2t12g
+2tgr
+2tgt
+tg2
+t2g1l
+2t1h.
+2t12hek
+2t12hen
+2t12hes
+2t12het
+2t12h
+2t1hs
+2t12jen
+t2jes
+2t1jr
+2t1js
+2t1jt
+t2kab
+t2kad
+tk1ada
+t2k1aka
+tk1alk
+t2kam
+t2k1a2n
+t2k1ar
+tka2t
+t2k1att
+t2kaz
+t2k1g
+t2k1e2c
+t2ked
+t2k1e2g
+t2k1e2kh
+t2k1e2l
+t2k1elr
+t2k1er
+t2k1esz
+t2k1eti
+t2k12k
+t2k12l
+t2kp
+t2k1r.
+t2k1s
+tkfl2
+tkf2l1v
+t2kid
+t2kik
+t2kim
+t2kir
+t2k1i2s
+t2k2
+t2k1o2r
+t2k1osz
+tk2
+t2kr
+t2k12
+t2k
+t2k1u2t
+tk2l
+tla2
+t2lak
+t2l1an
+t2lap
+t2las
+t2l
+t2lb
+t2ll
+t2lr
+t2l12t
+t2lei
+t2le2l
+tl1ele
+tl1ell
+tl1el
+tl1elv
+t2l1e2r
+t2les
+tl1est
+t2lez
+tl1kb
+tl1k
+t2l
+t2l
+t2l12
+tlksz1
+tlu2
+t2lut
+2t2l
+t2lyeg
+tlyigaz1
+tma1p
+t2m
+t2mil
+tna2
+t2n1an
+2t12nekb
+2t1neke.
+2tnekek
+2t12nek
+2tnekl
+t2n1in
+t2n12
+t2ny1e2g
+t2ny1e2l
+t2nyk
+tnyigaz1
+t2nyim
+t2nyo
+t2ny
+tps3s
+2t12p
+t1p2la
+2t12pl
+t2rab
+t2raj
+tr1akt
+t2r1a2n
+t2rar
+t2ras
+t2rav
+t2r12r
+2trdekb
+2trdekl
+2trdekn
+2trdek
+2trdek
+tr2d1e2mel
+tr2d12j
+t2reg
+t2r1e2l
+t2rem
+tr1eml
+t2r1eng
+t2r1es
+t2r1essz
+t2r1esz
+2t12rett
+trs1s
+t2r1sz
+tr1te
+tri2d
+t2r1ide
+t2ril
+t2rip
+t2ris
+2trkez
+2t1rm
+t2r1os
+t2r
+2t1rtes
+2t1rtk
+2trt.
+2t1rtk
+tr1t2r
+2t1rtv
+t2r1u2
+2t1rv.
+2t1rvei
+2trvek
+2t1rvny
+tsa2
+t2sab
+t2sag
+t2s1aj
+t2sak
+t2s1al
+t2san
+t2sap
+t2s1as
+t2s1az
+t2s12
+tst1a2
+t2s1eg
+t2s1e2l
+t2s1e2r
+t2ss
+ts1iko
+t2s1or
+t2s
+t2s12
+t2su
+ts2l
+t2s1l
+ts1l
+t2s1t
+ts3zav
+tsz1l
+ts3zr
+t2szeg
+t2sz1emb
+ts3zene
+t2szesz
+t2sz1k
+ts3zsi
+t2t1a2l
+ttcsa2
+t2t1e2g
+tt1e2lemt
+tt1elks
+t2t1elve
+2t1teri
+t2t1ers
+t2t1e2v
+t2t12te
+t2tok
+t2tol
+t2t1os
+tt2
+t2tn
+t2t1r
+2t1v.
+2t1vad
+2t1vb
+2t1vc
+2t12vedb
+2tvei
+2t12vek
+2t12vem
+2tves.
+tv1sz2
+2t1vf
+2tvh
+2t12vi
+2tvk
+2t1vn
+2t1vr
+2t1vs
+2tvt
+t2v
+2t1v
+t2vk
+t2vn
+2t12v
+2t1vv
+t2zs
+tfa2l1aj
+tfa2lan
+tfa2le
+tfa2lom
+tf2jo
+tf2la
+tf2le
+tf2li
+tf2lo
+tf2l
+tf2ra
+tf2r
+tf2re
+tf2ri
+tf2r
+tf2ro
+tf2r
+tf2ru
+tg2zak
+tg2zr
+tg2z
+tge2n1el
+tge2n
+tgen1s
+tg2lo
+tg2l
+tg2ne
+tg2ra
+tg2r
+tg2ri
+tg2r
+tg2ru
+tg2r
+tha2de
+1thagore
+t2har.
+1t2hau
+1t2he.
+the2i2d1
+1theidp
+1theusz
+t2holi
+thon1n
+1thosz
+th1sc
+1thy
+1ti
+ti2aa
+ti2ae
+ti2a
+ti2af
+ti2ah
+ti2aj
+tiaksz1
+ti2ala
+ti2am
+ti2a1p
+ti2ata
+ti2atl
+ti2a
+ti2av
+ti2chi
+ti2dea
+2t1i2de
+2t1i2deg
+ti2dei
+2tidej
+2t1i2deo
+ti2dn
+2tidz
+ti2dio
+2t1i2dom
+2t1i2d
+tie2le
+tie2n
+ti2b
+ti1fl
+2t1i2ga
+2t1i2g
+2t1i2ge.
+2t1i2gk
+ti1g2lo
+ti1g2ra
+2t1ihl
+ti3ki
+ti1kle
+ti1klu
+ti2konb
+ti2kono
+ti2konr
+tiko1sz2
+ti1k2ri
+ti2lac
+ti2lad
+ti2lan
+ti2l1g
+tile2g
+til1egy
+ti2lex
+ti2lim
+til1ing
+ti2l1i2p
+ti2lir
+til1isk
+2t1illato
+2till
+ti2l12
+2t1i2ly
+ti2mak
+ti2mb
+2timd
+ti2mj
+ti2mr
+ti2mz
+2timmu
+2timrei
+2tinakat.
+2t1inakk
+tin1akt
+ti2n1a2n
+tin1ar
+tina1t2
+ti2n1au
+ti2n1ll
+tin1rt
+2t1ind
+2t1inde
+2t1ind
+2t1indu
+ti2ne.
+ti2neg
+ti2n1ek
+ti2nem
+2t1infar
+2tinfl
+2t1infr
+tin2gal
+tin2gas
+tin2g1r
+tin2g1e2l
+2t1ingeni
+tin2g1eti
+tin2gos
+tin2g12
+2t1i2nic
+tini2g
+tin1iga
+ti2n1i2m
+tini1sz2
+2t1inku
+2t1inkv
+tin3n
+tin1r
+ti2n
+2t1insp
+2t1integ
+2t1intz
+ti2n1ut
+ti2n
+ti2ol
+ti2onb
+ti2onh
+ti2oni
+ti2onj
+2t1i2onn
+2t1i2ono
+2t1i2onr
+2t1i2ont
+tio2x
+ti2pad
+ti1p2la
+tip2pin
+tip2po
+2t1i2rat
+2t1i2rn
+2t1irg
+ti2rig
+2t1irk
+2t1i2rod
+2tirol
+ti2rom
+ti2rn
+2t1irr
+2t1irt
+tis2as
+ti2s1a2u
+ti2s1el
+2t1i2si.
+ti2sim
+ti2sin
+ti2s1i2r
+2t1i2sis
+2t1isko
+ti2sor
+2tistv
+tisz2tina
+ti2t1i2o
+ti1t2ri
+ti1t2ro
+tiu2m
+tiu2m1i2
+2tivad
+2t1i2var
+2t1i2vn
+2t1i2v
+ti2xa
+tize2n1
+ti2z.
+2tizj
+2tizk
+ti2zr
+ti2zt
+ti2zv
+tizo2m
+1t
+t2g
+t2ja
+t2j
+t2j
+t2la
+t2l12
+2tnio
+2t12no
+2t1nr
+2t1ns
+2t12ny
+t2ra2n
+t2rar
+t2r1l
+2t12rs
+t2r1e
+2t12r
+t2r
+t2r
+tts3s
+tta2
+tte2
+t2v1ec
+2t12vei
+t2vel
+t2ver
+2t12vi
+tvi2
+t2vik
+t2vir
+t2viv
+t2v12
+t2v
+t2v
+tv1s
+t2za
+t2z
+t2zel
+tz1ele
+t2z1emb
+tzi2
+t2zik
+t2z1is
+t2z
+2tzl
+t2z1o
+t2z
+t2zs
+t2zu
+t2zl
+tz1l
+2t12z
+tje2gy12
+tj2t1
+tka1pr
+tka2r2r
+tkende2
+tk2p1e2kh
+tkia2l
+tki2
+tkie2
+tki2
+tk2la
+tk2li
+tk2l
+tk2l
+tk2lu
+tk2z1l
+tk2h
+tk2ra
+tk2r
+t1k2rec
+t1k2r
+t1k2ri
+tk2r
+t1k2ro
+t1k2r
+tk2ru
+tk2va
+tk2vi
+tk2v
+tla2c3
+tla2g1a2d
+tla2g1ar
+tla2gas
+tla2gl
+tla2g1e
+tlag3g
+tla2g1
+tla2n1e2
+tlank2
+tla2n
+tla2pr
+tle2
+tlen3n
+tle2t1a2n
+tle2tas
+tle2tele
+tle2t1elv
+tle2t1r.
+tle2tos
+tle2t
+tle2
+tl2kal
+tl2kem
+tl3pe
+tls3s
+tl1tr
+tl1dr
+tma2gl
+tma1k
+tm2nyir
+tme2g1e2
+tme2g1
+tme3gif
+tmu2s
+tmus3s
+tmu2sz
+tna2gya
+tn2d1
+tne2k1el
+tne2kld
+tne2m1e2r
+tne2r1a
+tne2r1
+tne2sz1a
+tne2szi
+tne2sz12
+tnv1a
+tnmen1
+tnmenk2
+tn2k1l
+tn2n
+1to
+2t1obj
+2t1obl
+2t1obs
+to1cki
+to2daa
+to2das
+to2d
+2t1o2d
+2t1odv
+2t1off
+togs1s
+to1g2rf.
+to1g2rff
+to2il
+to2k1aka
+to2k1a2n
+to2k1ap
+tok1ari
+to2k1l
+tok12rok
+to2k1tl
+to2k1tm
+to2k1tr
+to2k1ts
+to2k1tt
+to2k1tv
+to2ker
+to2k12l
+to2kp
+to2kid
+to2k1im
+to2k1in
+to2k1ip
+to2k1iv
+to2k
+t1o2koz
+to2k1
+to2k
+to1k2ro
+tok1s
+toksz2
+to2k1ur
+to2kr
+to2k
+to2k
+to2l1a2d
+2t1o2laj
+to2l1akt
+tola2n
+to2l1any
+to2l1a2r
+tol1atom
+tol1br
+2toldalo
+2toldalt
+2t1o2lim
+tol1k2
+tol2l1rb
+tol2l12r
+tol2l1rh
+tol2l1rr
+tol2leg
+tol2l1in
+tol2l12
+to2l1o2r
+2t1olts
+to2l1ut
+2tolvas
+to2m1ag
+to2m1ak
+to2m1a2l
+to2m1a2n
+to2m1ap
+to2m1l
+to2m12r
+tom1b
+2tombe
+to2m1el
+to2men
+tom1er
+to2m1es
+to2m
+to2m1osz
+to2m12
+to2m
+tom1p2
+tom1s
+2tomt
+2tom
+to2m
+to2m
+to2nalm
+tona1t2
+tonau2
+ton1ll
+ton1lm
+to2n12z
+to2n1el
+to2n1en
+to2ner
+ton1gr
+to2nil
+ton1k2
+to2nol
+to2n1or
+to2n1osz
+to2nc
+to2nr
+to2n
+to2n
+ton1s2
+tont2
+ton1tr
+to2n1t
+to2n
+to2n
+to2nyal
+to2nye
+to2p1at
+2topc
+2to2pe
+to2pik
+to2piz
+2topp.
+2toppo
+2toppr
+top1t2
+to2p
+to2r1a2d
+to2r1ag
+to2r1aj
+to2r1aka
+to2r1akn
+to2r1ako
+to2r1a2l
+tora2n
+to2r1any
+to2r1a2p
+to2r1ar
+tor1ass
+to2rat
+to2r1au
+to2r1av
+tor1cs
+to2r1ll
+to2r1lm
+tor1t
+to2r1tl
+to2r12z
+2t1orc
+tord2
+tor1dr
+tore2
+to2rec
+to2rek
+to2r1el
+to2ren
+to2r1er
+tor1f2
+tor1g2
+2t1organ
+2torie
+to2r1ill
+to2r1int
+to2r1isk
+tor1k2
+2torn
+to2rop
+to2rosz
+tor1oszt
+to2r1ov
+tor2
+to2rn
+to2r1r
+to2r
+to2r
+2t1orr.
+2t1orrv
+2t1orri
+tors2
+tor1sc
+tor1sk
+2t1ors
+tor1sp
+tor1st
+tort2
+tor1tr
+to2r
+3torv
+2torvos
+2torvv
+to1ry
+to2s1as
+to2s1e
+to2sik
+to2s1in
+to2sis
+tos3sze
+t1osto
+2t1osty
+to2s
+to2szal
+to2szan
+to2sz1e
+tosz1k
+2t1oszlop.
+tosz1tr
+3t2ot.
+2t1otthon
+to2ut
+tova1
+2t1o2ve
+2t1o2vi
+2t1o2vu
+2t1oxid
+2t1o2xig
+to1yo
+toza2t1al
+1t
+t2gy
+t2r
+tt1
+tta2
+t1bl
+t1bra
+t1br
+t1cl
+tcsa2p12g
+t2daj
+t2d1a2n
+t2d1es
+t1dro
+t2dr
+t1fl
+t1gl
+t1g2r
+ti2g
+t2v
+tk2rok
+t1k2l
+t1kre
+t1kr
+t1kro
+tnus3s
+to2k
+t2r
+tp1ass
+t2p1e2l
+tp1int
+t1pro
+t2ras
+t2rb
+t2rh
+2t12ri
+t2rr
+2t12rs
+t2rt
+t12rv
+t2sep
+ts1tk
+ts12tt
+t2sr
+t1s2kan
+t1skl
+t2s1ol
+t1s2porto
+t1s2portt
+t1s2rc
+t2s12l
+t2s3zene
+t1sz2f
+t1szk
+t2taj
+t2tg
+t2tom
+t1t2r
+t1t2re
+t1tro
+2tvod
+2t12v
+1t
+tb2bev
+tb2b1o
+2t1bl
+2td
+t2dm
+t2d
+2tdn
+t2do
+2tdt
+2td
+t2ka
+t2k
+t2k1e2v
+t2k1r.
+t2k1rd
+t2kid
+t2k
+2t2ko
+2t12kr
+tks3s
+t2k1
+2tkrs
+t2ku
+2t1lb
+2t1lci
+tl2gya
+tl2t12
+t1ltn
+2t1ltz
+tm2b1a
+tmbe2
+tm2bel
+tm2b1o
+t1mle
+2t1ml
+t1mli
+t2ml
+t2na
+t2n
+tn1d2
+t2nen
+t2n1
+tn2kr
+tnksz1
+t2no
+t2n1
+tn1s
+t2nu
+t2n
+2t12reg
+trs3s
+2trks
+tr2t1a2
+tr2teg
+tr2t1e2lem
+tr2ter
+tr2trn
+tr2t1s
+tr2t1o2
+tr2t1l
+tr2ts
+tr2zsa
+tr2zs12l
+2t1sv
+2t1sz
+2t1tl
+tt2t1
+2t1tv
+2t1v.
+2t1vb
+2t1vh
+2t12vie
+2tvig
+2t1vj
+2t1vk
+2t1vn
+2t1vr
+2t1vv
+2t12zn
+tze2
+1t
+ta2c
+ta2l
+t2g
+t1bl
+t1br
+te2k
+te2r
+t2l
+t1fl
+t1gr
+t2t
+t2v
+t1kl
+t1kv
+t1pl
+t1pr
+t1ps
+t2rag
+t1ral
+2t12r1an
+tr1egy
+2t1rez
+2t12rk
+2tr
+t2rin
+t2r1is
+2t12r
+2t1rj
+2t1rjel
+2trj
+2trka
+2trl
+2tr1l
+2trp
+2t1rti
+2trtr
+2t1rz
+t2s1a2l
+2t1sny
+t1spe
+t1s2pi
+t1spr
+t1sr
+t1sta
+t1s2t
+t1st
+t1str
+2ts
+t2s.
+tsz2
+t1szt
+t1tr
+t2l
+tz2
+tzr1
+tpen3n
+tp2fe
+tp2la
+tp2l
+tp2l
+tp2lu
+tp2ra
+tp2re
+tp2r
+tp2ri
+tp2ro
+tp2r
+tp2ru
+tp2sz
+tpu2tin
+t2raf
+1t2rag
+1tragi
+tra1k2l
+tra1kro
+tran2d1a2
+tran2d
+trans1s
+tran2sz1ai
+tran2sz1o2m
+tra1s2p
+trat2
+t2rati
+tra1tr
+1trgya
+1trgyb
+1trgy
+1trgyh
+1trgyi
+1trgyj
+1trgyk
+1trgyn
+1trgyr
+1trgys
+1trgyt
+1trgyv
+t2rjk
+trn2sz
+tr2nyal
+tr2t1r
+tre2csa
+tre2cso
+t2rego
+tren2da
+tren2d12
+1tren
+tr2
+1t2rni
+tr1p2
+tr2sz12
+tri1g2
+trii2
+t2rik
+t2rill
+1t2ri.
+t2rij
+t2rik
+trol2l1in
+tro2mad
+tro2maj
+trona2
+tro2n1ag
+tro2nal
+tro2nan
+tro2nes
+tron3n
+tron1tr
+tr2os
+tro1sz2f
+tro1sz2ta
+t2r1o2x
+tr2de
+tr2nas
+tr2n1e
+1trnj
+1t2rno
+t2rnt
+tr1sz
+tr2zsi
+t3rm
+1t2rs
+1t2rub
+tru2mad
+1t2rup
+tsa2vo
+ts2ch
+1tsche
+ts2g1j
+ts2k
+ts2ko
+ts2la
+ts2l
+ts2le
+ts2li
+ts2m
+ts2mi
+ts2ni
+tsi2
+ts2pa
+ts2pe
+ts2pi
+ts2po
+ts2p
+tsp2r
+ts2r
+t1s2ta
+t1s2t
+ts2te
+ts2t
+ts2ti
+ts2t
+ts2to
+tst2r
+ts2tu
+ts2t
+1t2sub
+tsza2k
+tsza2k1
+tsza2t1e2
+tsza2t
+tsz2t
+t1sz2f
+t1sz2k
+t1sz2l
+tsz2g1e2le
+t1sz2p
+t1sz2t2
+ttad2
+tta2d.
+ttag1g
+tta2g1o2ku
+tta2n1r
+t2t1ar
+t2t1aszt
+tta1t2r
+tta2
+t2t1a2z
+ttn2s12g
+tt2v1i2
+tte2leme
+t2t1e2la
+tte2r1in
+t2t1er
+tte2s1a2
+tt1g.
+t2t12le
+tt2rak
+ttr1em
+tt2r1es
+tt2r12ne
+tt2rid
+ttr1in
+tt1ss
+tt12vr
+t2t1i2o
+t2t1iro
+t2t1isk
+t2tizz
+ttr1a
+tt1r
+tt1kr
+ttornc1
+t2t1ors
+tt1dr
+tt1p2
+t2t12r
+tt1s2r
+tt2l
+tt1l
+tt1pr
+t1t2raf
+t1t2rag
+t1t2ran
+ttransz1
+ttranszk2
+t1t2rav
+t1t2rf
+tt2rn
+tts2gel
+tt2si
+t2t1ug
+t2t1d
+t2t1t
+t2t12v
+ttwe2
+t2ty
+tty1or
+tty12l
+tty2
+tty1l
+ttyls1
+1tu
+tu2r
+tubus1s
+tu1ck
+tuda2te
+tuda2t1
+2tud
+tu2ga
+tu2go
+2t1ugr
+tu2hu
+tu2in
+2t1ujj
+2tuk
+tulo2
+2t1ulti
+2t1ultr
+tu2l
+tu2mab
+tu2m1a2d
+tu2maj
+tu2mal
+tu2man
+tu2mar
+tu2maz
+tu2ml
+tu2meg
+tu2m1el
+tu2mer
+tu2mes
+tu2m1i2k
+tu2mim
+tu2m1inf
+tu2m1int
+tu2m1ir
+tu2mis
+tu2miz
+tu2m
+tu2mol
+tu2m
+tu2m
+tum1p2
+tu2m
+tu2nal
+2t1unc
+2tuni
+tu2nit
+2t1u2no
+2t1u2n
+2t1unt
+tu1p2r
+tu2rac
+2turai
+2t1u2rak
+tu2ralo
+tu2ram
+2t1u2ras
+tu2rh
+2turn
+tu2rr
+tur2g1a
+tu2run
+tus1abl
+tu2sar
+tu2sg
+tu2se
+tu2s1rt
+tu2sis
+tu2s1
+tu2sor
+tu2s12
+tu2s1
+tu2s
+tuss2
+tus3sze
+tus3szi
+tus3szo
+tu2s
+tu2szab
+tu2sz1a2d
+tu2szag
+tu2szal
+tu2szap
+tu2szar
+tus3zav
+tu2szl
+tusz1em
+tu2sz12l
+tu2sz12p
+tuszi2
+tu2sz1il
+tu2szin
+tu2sz1ip
+tu2szir
+tu2szis
+tu2sz1it
+tu2sz
+tusz1k2
+tu2szol
+tu2s3z
+tu2sz
+tu2sz
+tusz3sa
+tus3zse
+tuszt2
+tusz1tr
+tu2sz
+2t1u2tad
+2t1u2tak
+2t1u2tal
+2t1u2tam
+2t1u2tas
+2t1u2taz
+2tut
+tu2tn
+2t1utc
+2t1u2to
+tu2td
+tu2tp
+tu2tt
+tu2tun
+tu2um
+2t1uzso
+1t
+t2ja
+t2j
+t2jo
+t2ju
+t2l1a2
+t2l12
+t2l1e2
+t2l12
+t2list
+t2l
+t2lok
+t2lop
+t2l12
+t2l
+t2l1
+tl1s
+tlt2
+t2l
+t2l
+t2l
+tra1sz
+t2rl
+t2r1e2
+t2r1r
+t2r1s
+t2r1ol
+t2rot
+t2r
+t2r
+t2sze
+t2sz
+t2sz
+t2t
+2t1tb
+t2t1e2
+2t12t
+2t1th
+2t12ti
+2t1tj
+2t1tl
+2t1tn
+2t12to
+2t1tr
+2t1tt
+2t1tv
+1t
+2t12d
+2t12d
+2t1dv
+t2ge
+t2gy
+t2l1a
+t2l
+2t12led
+t2l1e2m
+t2len
+t2lep
+t2l1e2s
+t2l1e2v
+t2l1r
+t2lir
+t2l
+t2l1o2
+t2l1kl
+t2lm
+t2l1n
+t2l1z
+t2lk
+t2lr
+t2lu
+t2l
+t2ma
+t2mk
+t2m1
+tne2tel
+2t1nn
+2treg
+2tres
+2t12r
+2t12r
+2tst
+2t12te
+2t12t
+t2ti
+2t1tk
+t2t
+2t12t
+t2v
+2t12zen
+2t1zl
+1t
+tcsa2p1
+t2d1al
+t2d
+te2kt
+t2h
+tfl2
+t1gr
+t1kv
+tle2
+t1pl
+t1pr
+trs1s
+t1sp
+t2z1a2
+tz2r
+t2z1ra
+t2zt
+t2zene
+t2zis
+t2z
+t2zo
+t2z1s
+tz3seb
+t2z
+tva2n1e
+tva2nv
+tva2raj
+tv2nyad
+tv2ny
+tv2z1al
+tv2zip
+tve2n1e2v
+tven3n
+tven3t
+tven2
+tve2nl
+tve2n3y
+tve2raj
+tve2ral
+tve2r12
+tve2reg
+tve2r12sz
+tve2rint
+tve2rip
+tve2r1o
+tvers2
+tver1st
+tve3se
+tv2nyel
+tvr1int
+tv2r1o
+tvisel2
+tvis3sz
+t2vve
+t2y
+1tya
+tyai2ko
+tya1kl
+tya1p2
+tya1sz2
+tyat2
+tya1tr
+tyau2
+1ty
+2ty1g
+ty1ld
+ty1ll
+ty2ran
+tyr1s
+tys3s
+1tye
+ty1e2gy
+ty1ela
+ty1ell
+ty1emb
+ty1e2r
+2ty1ex
+1ty
+2ty1te
+1tyi
+1ty
+ty12r
+ty1v
+tynk2
+1tyo
+tyo2lan
+tyo2r1os
+1ty
+1ty
+1ty
+ty1s
+ty2pe
+ty1pr
+ty2sa
+ty1sp
+1tyu
+2ty1ug
+ty1u2t
+1ty
+ty2k
+1ty
+1ty
+1t2zekn
+1tzekr
+1t2zen.
+t2zenj
+1t2zer
+1t2zes
+tz12r
+tz3sc
+2u.
+u1a
+ua2ch
+ua2da
+ua2d
+u2ador.
+u2adorb
+u2ador
+u2adorn
+u2adoro
+u2adorr
+u2adort
+ua2d
+ua2es
+ua2g
+ua2ja
+ua2j
+ua2la
+ua2l
+ua2ny
+ua2sz
+ua2ty
+ua2ut
+ua1y
+ua1y
+ua1yi
+ua1yo
+ua2zo
+u1
+u2ga
+u2gy
+u2po
+u2r1
+u2r1e
+u2rj
+u2r1is
+u2sz
+u2t1a2
+u2t1e
+ub1a2la
+ub1alk
+u2b1ang
+ub1arc
+ub1a2ri
+ub1r.
+ub12ro
+ub1dr
+u2b1e2b
+u2b1ed
+ube2l
+ube2lel
+ub1el
+ub1e2se
+ub1est
+u2b1j
+ub1le
+u2b12n
+u2b1p
+u2b1rd
+u2b12re
+u2b1rm
+u2b1rte
+u2b1ve
+ubi2g
+u2b1iga
+u2b1ige
+ubi2ke
+u2b1ina.
+ub1ism
+ub1kr
+ub1olda
+u2bork
+u2b1orv
+u2b1osz
+ub1ri
+ub1l
+ub1s
+ub1v
+ub1pl
+ub1pr
+ub1sl
+ub1sp
+u2b1ud
+ubu2sz
+u2b1j
+ub1d
+ub1g
+ub12l
+ub1z
+uca2t12
+uc2c1e
+uc2c3h
+uc2c1ina
+uc2cip
+uc2c
+ucc3sz
+uc2c
+uc2c
+uc2cz
+uc1emb
+uc3h
+u2c3h
+u2c3ho
+uci2r
+uci1p
+u1c2kig
+u1c2kon
+u1c2kot
+uc2ky
+uc12l
+uc1pr
+ucsa2p12
+uc3sg
+u2cs1l
+u2csru
+u2cs1e2l
+u2cs1id
+ucs1s
+u2c3s
+uc3sz
+u2c1ug
+uc1g
+uc3z
+uc3ze
+uda2tal
+uda2tl
+uda2t12ram
+uda2t1eg
+uda2ter
+udsksz1
+uds3s
+udi2o
+u2d1isk
+udo1kr
+ud2se
+ud2sor
+u1d2r
+u1d2ro
+u1e
+ue2b
+ue2dz
+ue2g
+uegsz1
+ue2gy
+uel1r
+ue2l
+ue2me
+ue2r
+uervz1
+u2es.
+u2esb
+ue2s1e
+u2esh
+u2esi
+u2esk
+u2esn
+ue2s
+u2esr
+u2est
+u2esu
+ue2s3zen
+ue2te
+ue2ve
+u1
+u2ge
+u2g
+u2k
+u2le
+u2p
+u2p
+u2te
+uf2nye
+u1f2le
+uf2ri
+uf2ru
+uf2t
+ug1agy
+ug1alj
+uga1p
+ug1apa
+1u2garo
+uga2t1el
+uga2ts
+uga2tol
+uga2t12r
+ug1g
+ugra2
+ugr1ad
+ug2r
+ug2ros
+ug2ru
+ugr1
+ugs3s
+ug12sz
+ug1el
+ug1e2v
+ug12l
+ugg2l
+ugi2e
+ug1ing
+ug1int
+ug1iro
+ugi2t
+ug1ita
+ug1iv
+ug1r
+ug1kl
+ugo2r12
+ug1sv
+ug2s3z
+ug1s
+ug1pr
+ug1sk
+2ugui
+u2g1ut
+u2g1j
+ug1g
+ug1z
+ug1r
+ugya2n
+uh1a2d
+uh1alk
+uha2r1as
+uha1t2r
+uh1att
+u2h12g
+uh1ll
+u2h1r.
+u2h1rb
+u2h1rf
+u2h1rh
+u2h1rn
+u2h1rr
+u2h1rv
+uh2szak
+uh1em
+uh1ex
+uh1ind
+uh1ing
+uh1orz
+uh1r
+uh1pr
+uh1tr
+u2hu.
+u2huj
+uh1ujj
+uh1z
+u1i
+ui2de
+ui2d
+ui2eu
+ui2ga
+ui2g
+u2i1gn
+ui2pa
+ui2r
+ui2z
+u1
+u2ja
+u2ju
+u2ve
+u2v
+u2j1an
+1ujja.
+1ujjad
+1ujjai
+1ujjak
+1ujjam
+1ujjas
+1ujjat
+uj2j12ru
+1ujjb
+1ujjc
+1ujjd
+1uj2j1e2
+1ujj
+1ujjf
+1ujjg
+1ujjh
+1ujji
+uj2j
+1ujjk
+1ujjl
+1ujjm
+1ujjn
+1ujjp
+1ujjr
+1ujjs
+1ujjt
+1ujju
+1ujj
+uj2j
+1ujjv
+u2j1op
+uk1abl
+uka2c3se
+u2k1a2lap
+uka1pl
+uka2rn
+u2k1arc
+uka2szs
+uka1t2r
+uk1ll
+uk2sar
+u2k1s
+uks3s
+u2k1tm
+uk1bl
+uke2l
+uk1e2m
+uk1ex
+u2k1g
+u2k1rz
+u2k1i2p
+uk2k1alt
+uk2k1eg
+uk2k1em
+uk2k1ola
+uk2kl
+ukls1s
+ukl2s3z
+u2k1old
+ukora2
+uko2ras
+uko2r12
+uko2ril
+uko2rin
+uko2r1o
+uks2
+uk1b
+uk1pr
+u1k2rn
+uk12t
+uk1r
+ula2cs12
+ula1g2
+ula2jas
+ul1aleg
+u2l1alj
+ula1s2p
+ulata2l
+ula2t1ala
+ula2t1a2n
+ula2tl
+ula2tem
+ula2tik
+ula2tol
+u2l1br
+ul2k1e
+ul2k1
+u2l12ria
+ul2s1i2k
+ulsksz1
+uls3s
+ul2sza
+ul2sze
+ul1bl
+ulcs1e2l
+ulcs1es
+ul2cs1r.
+ul2csrv
+ul2cs12v
+ul2csiga
+ul2csip
+ul2cs12
+ul2csor
+ul2cs12
+ul2cs1
+ul2csut
+ul2cs
+ulcs3z
+ule2i
+ule2
+ule2l
+ul1el
+ulet2ta
+u2l1ex
+ul2kal
+ul2k1e2
+ul2k1ol
+ul2kut
+ul1p
+u2l1rt
+uli2nar
+uli2nin
+ul12r
+ul1k2r
+ul2lef
+ul2l1e2l
+ul2l1em
+ul2l1en
+ul2l1r
+ulot2
+ul1f2
+uli2kon
+ulksz1
+ul2
+ult2
+ul2zan
+ul2z12ra
+ul2z3s
+ul1t
+ul1pr
+ul1st
+ul2t1aj
+ulta2r
+ult1asz
+ul2taz
+ul2tl
+ul1r
+ul1t
+ul1r
+u2lyi
+u2m1abl
+um1abr
+um1a2c
+um1ach
+um1a2dat
+u2m1adm
+um1a2do
+um1a2d
+2uma
+um1aj
+u2m1a2ka
+umaksz1
+u2m1akk
+u2m1akt
+u2m1a2la
+um1alg
+um1all
+um1alt
+u2m1ana
+u2m1ank
+u2m1a2no
+u2m1a2ny
+2umao
+2uma1p2
+u2m1a2r
+um1arc
+um1arg
+u2m1a2ri
+um1a2ro
+um1asp
+u2m1atl
+u2m1au
+um1a2zo
+u2m1g
+u2m1ll
+um1lm
+u2m12rak
+um12ram
+u2m1ras
+u2m12r
+u2m1rf
+u2m1rk
+u2m1rn
+u2m12ro
+u2m1rr
+u2m1rt
+u2m12ru
+u2m1rv
+umt1a
+u2m12t1e
+u2m1tm
+u2m1tu
+um1bl
+um1b2r
+um1dr
+u2m1e2d
+u2m1ef
+ume2g
+um1egy
+um1ela
+um1elb
+u2m1e2le
+um1el
+um1elh
+um1el
+um1elj
+um1elm
+u2m1eln
+um1elo
+um1e2l
+u2m1elt
+um1elv
+u2m1e2m
+ume2n1
+ume2n12
+um1e2re
+um1erk
+um1e2r
+um1e2se
+um1ess
+um1e2sz
+u2m1e2t
+u2m1e2v
+u2m1ex
+um1ezr
+u2m1g
+u2mhs
+um12le
+um1lv
+u2m1p
+u2m1r.
+u2m1rc
+u2m1rm
+u2m1rte
+u2m1rt
+u2m1rv
+u2m12te
+um1fl
+um1f2r
+um1gl
+um1gr
+umia2
+um1i2d
+umig2
+umi1gr
+um1imp
+umi2na.
+u2m1ind
+u2m1ing
+u2m1inv
+um1i2onb
+um1i2on
+um1i2onh
+u2m1i2onj
+um1i2onk
+u2m1i2onn
+u2m1i2ono
+um1i2onr
+um1i2ont
+u2m1irt
+um1isk
+umi1sl
+um1ism
+umi1sp
+umi2sz
+umit2
+umi1tr
+um1iz
+um1v
+um1z
+umksz1e
+um1kl
+um1kr
+um1kv
+umna2
+u2m1o2koz
+um1ola
+um1old
+um1oll
+um1olt
+um1olv
+u2m1o2p
+umo2ran
+um1o2rat
+umo2rl
+umo2rin
+um1osto
+u2m1osz
+u2m1ox
+um12r
+um12l
+um1m
+um1n
+um12r
+um1s
+um1t
+um1v
+um12z
+um12r
+um1s
+umpe2l
+ump1ele
+um2p1ing
+um1p2r
+um1sk
+um1sp
+um1st
+um1sz
+um1t2r
+u2m1ud
+u2m1ug
+u2muni
+umu2r
+um1ura
+u2m1u2t
+um1g
+um12l
+um1r
+um1s
+um1t
+um1v
+um1z
+umva2s
+una1b
+un1adu
+un1akt
+u2n1arc
+u2n12g
+un2cs1e
+un2csiv
+un2dz
+un1e2r
+un1e2t
+un1g
+un2g1a2g
+un2g1eg
+un2g1er
+ung3g
+un2g1ol
+u2n1i2d
+1u2nif
+1u2niku
+u2n1il
+u2n1ingo
+1u2ni
+1u2niv
+unka1p2
+unka1s
+un2k1eg
+u2nod
+u2n1orr
+un1ors
+u2not
+un1pr
+un1s2t2
+unta2i
+u2nun
+un1tj
+un12l
+u1o
+uo2la
+uo2li
+uo2r1a2
+uore2
+uo2r1et
+uo2r1i2o
+uo2xi
+u1
+u2bu
+u2ne
+u1p2r
+u2r
+u2ri
+u2so
+u2sz
+u2ve
+u1
+u2ko
+u2k
+u2r
+u2z
+u1
+u2re
+u2r
+u2ri
+u2r
+u2r
+upa1b2
+up1ada
+upa1pr
+upas2
+upa1sp
+upa1t2r
+upda2
+upe2r1a
+upe2rel
+upe2r1in
+uper1s
+up1e2s
+up1p2
+up2hi
+upli2n
+up1z
+1u2raim
+1u2rak.
+1u2rakh
+1u2rakk
+1u2rakn
+1u2rakr
+u2ralh
+1uralk
+1u2ralm
+1u2ram.
+ura2m1is
+1u2rasa
+ura1s2p
+ur1ll
+urt1a
+ur2dar
+ur2d1e
+u2r1ef
+ur2f
+ur2f1
+1urn
+ur2ne
+urn2
+uro1b2
+uro2k1
+uro2ke
+uro2ne
+uro1p
+uro1t2
+ur1l
+urpi2
+ur2t1ag
+ur2t1e2t
+ur2t1e2v
+urti2t
+urt1ita
+ur2t1okta
+uru2c1e
+2urul
+uru1p2
+uru2szl
+u2r.
+us1abla
+us1a2da
+us1a2d
+u2s1a2d
+u2s1a2g
+u2s1a2j
+usa2kar
+u2s1akc
+u2s1a2la
+us1alg
+us1alj
+us1alk
+u2s1alt
+us1alv
+u2s1ana
+us1ane
+us1ant
+us1ap
+u2s1a2ra
+u2s1a2r
+u2s1arc
+us1arz
+u2s1ass
+u2s1att
+us1a2ty
+u2s1au
+u2s1a2z
+u2s1br
+u2s12g
+us1gb
+u2s1gg
+us1gh
+u2s1gr
+us1ld
+us1ll
+u2s12p
+u2s1rad
+u2s12rai
+u2s12rak
+u2s12r
+u2s1rb
+u2s1rh
+u2s12ri
+u2s1rk
+u2s1rn
+u2s12ro
+u2s1rr
+u2s1rt
+u2s12ru
+us1ta
+us1th
+us1ti
+us1tk
+us1tt
+us1tu
+us1tv
+us1bl
+us1br
+us1dr
+us1e2c
+us1e2d
+u2s1ef
+us1e2gy
+u2s1e2l
+u2s1e2m
+u2s1e2n
+us1erd
+u2s1e2s
+use1t
+u2s1e2v
+u2s1ex
+us1ez
+u2s1g
+u2s1he
+u2s12k
+u2s12l
+u2s12ne
+u2s1p
+u2s1rd
+u2s1rte
+u2s1rv
+u2s1s
+u2s12te
+us1tk
+us1tt
+u2s1ve
+us1fr
+us1gr
+u2s1i2d
+usi2g
+us1iga
+u2s1i2ko
+u2s1ill
+u2s1i2ma
+u2s1i2m
+us1imi
+u2simm
+us1imp
+u2s1inc
+us1ind
+us1inf
+u2s1ing
+u2s1ink
+u2s1int
+us1inv
+u2s1i2p
+u2s1i2rat
+u2s1i2r
+us1iro
+us1irt
+u2s1isk
+u2s1ism
+us1ita
+us1iz
+us1g
+u2s1j
+us2r
+us1r
+us1r
+u2s12v
+u1s2kl
+us1kl
+uski2k
+us1k2r
+us1kv
+u2sod
+u2s1of
+us1okl
+us1okm
+us1okta
+us1ola
+u2s1old
+us1oli
+u2s1oml
+us1ond
+u2s1op
+u2s1org
+u2sori
+u2s1orr
+u2s1ors
+us1osz
+u2s1ott
+us1c
+us12s
+u2s12l
+u2s1n
+us1rd
+us12r
+u2s1s
+u2s1t
+us12v
+u2s12z
+us12r
+u1s2pec
+us1pl
+us1pn
+us1pr
+us1ps
+2uss.
+us2se.
+us1sk
+us1spe
+us1spi
+us1sta
+us1sy
+us3szab
+us3szag
+us3szak
+us3szl
+us3szm
+us3szen
+us3sz
+us3szig
+us3sz
+us3sz
+us3sz
+us3sz
+ussz2
+ussz1l
+us3sz
+ust12rr
+us2teg
+us2t1il
+us1trad
+us1tre
+us1tr
+us1tro
+u1stru
+us2t1l
+u2s1uj
+usu2s
+us1usz
+u2s1u2t
+u2s1j
+us1t
+us1d
+u2s1g
+us2l
+us1l
+u2s1n
+u2s1r
+us1z
+usz1abl
+u2szaj
+usz1a2la
+usz1alk
+usz1alv
+u2sz1a2n
+usz1app
+usza2r
+usz1ar
+usz1ar
+usz1aro
+usz1asz
+u2sz1au
+u2sz12g
+usz1ll
+usz12p
+u2sz12rad
+u2s3zrako
+u2sz12ram
+usz1rje
+usz1sv
+u2szth
+usz1t
+u2sz1e2c
+u2szef
+usz1e2ge
+usz1e2gy
+usze2k
+usz1eke
+u2sz1e2l
+usz1emb
+usz1eml
+us3zene
+usz1eng
+u2sz1erd
+usz1e2r
+usze2s
+u2sz1e2v
+u2sz1ex
+u2szne
+usz1te
+usz1to
+usz1imp
+usz1ind
+usz1inj
+usz1isk
+usz1ism
+u2sz1isz
+usz2j1a2d
+u2sz1r
+1u2szod
+u2szola
+u2sz1old
+u2szony
+u2szop
+u2szosz
+u2sz12b
+usz1l
+usz1n
+u2sz1s
+usz1p2
+uszte2r1a
+usz1t2ran
+u2sz1u2s
+u2szut
+usz1tr
+usz2
+usz1g
+u2sz1l
+u2sz1z
+usz1z
+ut1abl
+uta2csel
+ut1a2d
+2utakp
+1u2tal
+1u2talv
+utame2
+uta2mel
+uta2mer
+uta1p
+ut1ar
+1utasc
+uta2se
+1utasf
+1u2tasl
+1utasv
+uta2
+2utav
+1utazi
+2utb
+2ut
+2utib
+2utin
+2utju
+2utkb
+2utkt
+2utm
+2utn
+utn1n
+1utnz
+2utr
+ut2r
+ut1bl
+1utca
+1utc
+u2t1e2g
+ute2r1a
+ute2r
+ute2reg
+ute2rim
+ute2ru
+utn3n
+ut1fr
+uti2k12r
+uti2ke
+ut1ill
+uti2m
+uti2n1e2
+uti2nr
+utini2
+uti2nig
+uti2n1ik
+uti2n1
+utin1s
+u2t1i2pa
+u2t1isk
+ut1kl
+ut1okke
+u2t1old
+uto2l1
+u2tols
+2utomata
+uto2rim
+2utos
+2utot
+ut2dal
+u2td
+ut2del
+ut1p2
+ut2s1aj
+uts3s
+ut1s2to
+ut1sz
+ut1tr
+uttz1
+ut1pr
+ut2rak
+ut2ran
+ut2rk
+ut1sp
+ut1st
+ut1t2r
+ut1g
+ut12z
+utya1s2
+u1u
+uu2m1ag
+uu2mal
+uu2m1as
+uu2ml
+uu2m1e2
+uu2m12r
+uu2mim
+uu2min
+uu2m
+uum1p2
+uu2m
+uu2ta
+uu2t
+uu2zs
+u1
+u1
+u2gy
+u2r
+u2t
+u2ve
+u2ze
+u1
+uva2r1a
+uva2r12
+uva2r1e
+uva2rin
+uva2szl
+uvata2
+uva2t1ag
+uvi1g2
+uv2re
+uxi2t1a
+uxi2t1
+uxi2t1e
+uzala2
+uza2lac
+uza2lad
+uza2lan
+uza2lg
+uza2l1t
+uza2lel
+uza2l1k
+uza1p2
+uza1s2
+2uzl.
+2uzlb
+2uzll
+2uzlr
+u2z1id
+uz1i2gye
+uz1r
+uzki2
+uzi2
+uz3sap
+uz3sz
+uz1t2r
+uz12g
+uz2l
+2.
+1a
+a2da
+a2d
+a2d
+a2gy
+a2j
+a2kar
+a2kas
+a2la
+a2l
+a2ny
+a2sz
+a2ud
+a2va
+1
+2ga
+2g
+2gi
+2go
+2gy
+2h
+2lo
+2po
+2ra
+2ri
+2ru
+2bab
+2band
+2bar
+b2lo
+2bd
+b2ri
+b2ro
+2c1aj
+2c1a2l
+2c1a2n
+2c1a2v
+c1e2t
+c3he
+c3ho
+2c1i2d
+ci2kp
+c1pr
+2csa
+2csab
+2csad
+2cs1ag
+2cs1aj
+2csakt
+cs1ala
+2cs1a2n
+csa2p12
+2cs1a2s
+2cs1au
+2csaz
+cs12g
+2cs1l
+2cs1r
+2cs1rf
+2cs1ri
+2cs1rv
+2cstv
+2cse
+2cs1eb
+2cs1e2g
+c3sej
+2cs1e2l
+cs1emb
+2cs1en
+cs1er
+2cs1e2s
+2cs1l
+2cs1r.
+2csrd
+2cs1rte
+2cs1rt
+2cs12v
+2cs1id
+2csigaz
+2cs1il
+2csim
+2cs1inf
+2cs1int
+cs1i2pa
+2csir
+2cs1is
+2cs1iz
+2cso
+2csokta
+2csosz
+2cs
+2cs12r
+cs1l
+cs1s
+cs1p
+cs1s
+cs1t
+css1s
+cs12t
+cs3za
+2d1a2c
+da2d
+d1ada
+2d1a2k
+2d1a2n
+d1g
+d1l
+d12r
+2d1e2g
+2d1ej
+de2l
+d1ele
+d1elh
+d1el
+2d1e2m
+de2ra
+de2r1ec
+d1er
+d1e2v
+2d1k
+2d1r.
+2d1rc
+d2t
+d1te
+2d1i2d
+di2g
+2d1ig
+d1ing
+di2dar
+di2z
+2d1os
+d1pr
+d2r
+d2ro
+d1v
+dy1h
+dy1t
+dy1i
+dy2s
+d3z
+1e
+e2b
+e2g
+egsz1
+e2gy
+e2la
+e2le
+e2lo
+e2l
+e2l
+e2me
+e2pi
+e2re
+e2r
+e2r
+e2r
+e2sz
+e2ta
+e2te
+e2ve
+e2v
+1
+2he
+2le
+2l
+22ne
+2p
+2r.
+2r1
+2re
+2ri
+2rz
+2te
+2ve
+fl2
+f2l1v
+f2l
+f2r
+f2ri
+f2r
+f2ro
+g1a2d
+gs1s
+g1el
+g1i2v
+g1old
+gs2
+g2r
+gy1ag
+gy1el
+gy1r.
+gyi2
+gy1is
+gy1iv
+2gy1u2
+gy1t
+1i
+2i2de
+i2d
+i2ga
+i2g
+2i2ke
+2ikre
+2ill
+2i2m
+i2mi
+2ing
+2int
+i2pa
+i2rat
+i2r
+2isk
+2ism
+2ist
+i2ta
+2i2vad
+i2vs
+1
+2r
+2ve
+2vi
+2v
+2jt
+j1es
+j1ez
+j1ve
+j1v
+j1k2r
+12jon
+j1or
+j1pl
+jra1
+1js
+j1ud
+2jul
+2kab
+2k1a2g
+2k1a2j
+k1a2lak
+2kalan
+2k1alk
+2k1any
+2kap
+2k1a2p
+2kar
+2kate
+2k1atk
+2k1l
+2kru
+ke2l
+k1ele
+k1ell
+2k1em
+ke2s
+ke2t
+k1ete
+k1e2v
+2krd
+2kr
+2ks
+2k1ss
+2k1szr
+2k12te
+2kz
+kia2
+2k1i2d
+2kin
+2k1is
+2k1i2t
+1k2li
+k2lu
+2kol
+2k1olt
+2kom
+2konf
+2kong
+2kor
+2koro
+2kos
+k12l
+k2l
+k1l
+k1pr
+1k2re
+k1t2r
+2k1ud
+2k1r
+k2l
+k1l
+k1lt
+2k1r
+2k12t
+2k1z
+l1a2d
+l1a2ja
+l1a2l
+l1a2m
+la2n
+2l1any
+l1a2ro
+2l12g
+2l1l
+l1rn
+2l12sz
+l1tv
+l1br
+l1d2r
+l1e2d
+le2l
+l1ele
+l1ell
+2l1emb
+l1en
+2l1e2re
+l1e2s
+2l1e2v
+l1ex
+3l.
+l12d
+l2g
+3l23va
+l1fr
+l1gl
+2l1i2d
+2l1ig
+2l1ij
+2l1il
+2lim
+2l1ind
+2l1inf
+2l1ing
+2l1inj
+2l1int
+2l1inv
+2l1i2p
+2l1ir
+2l1isk
+2l1i2sz
+2l1i2ta
+2l1itt
+2livs
+2livo
+2lizgato
+2l1izz
+l1g
+l12v
+l1k2l
+l1kv
+lo2k
+l1oko
+2l1ol
+l1ope
+2l1or
+2l1os
+2l1ox
+l1b
+l1l
+l12m
+l12n
+l1r
+2l1s
+lvs1s
+l1r
+l1p2l
+l1p2r
+l1p2s
+l1sk
+l1sm
+l1sp
+l1s2t
+lsz2
+lszt2
+lt1agg
+lt1agy
+l2t1aj
+l2t1al
+l2t1rn
+l2tl
+l2trte
+l2t1s
+lt1ves
+lti2
+l2tid
+l2t1im
+l2t1in
+l2t1ip
+l2tis
+l2t
+lt1old
+l2ts
+l2t12r
+l1tr
+2l1ud
+2l1u2g
+2l1ur
+2l1u2t
+2l1r
+l1s
+l1g
+l1l
+l1n
+l1r
+l1t
+l1v
+l1z
+l1z
+2ly1a2d
+2ly1a2l
+2ly1an
+2ly1a2r
+2ly1au
+2lyl
+2ly1tl
+2ly1e2
+2lyl
+2lys
+2lyol
+2ly1
+2ly
+ly1s
+2lyug
+2mac
+2mad
+2mag
+2maj
+2mar
+2matr
+mi2al
+2moz
+2nac
+2nap
+nau2
+2ny1a2n
+2ny1i2r
+ny1tr
+1o
+o2ko
+o2ve
+1
+2ra
+2r
+2s
+2vo
+1
+2le
+2l
+2l
+2r
+2ve
+1
+2r
+p1eg
+pe2l
+p1es
+2p1in
+p2la
+p2l
+2p1or
+p1p2l
+p2r
+p2ro
+rat1
+2rab
+2raj
+r1akk
+r1alu
+2r1ant
+r1a2nya
+ra1p2
+ra1szp
+2rattas
+rau2r
+2r1br
+r1ll
+2r12ri
+rs1s
+2r1tm
+r1br
+r1d2r
+r1e2c
+r1e2l
+r1ez
+2rk
+r1kk
+2r12l
+r12ne
+2rs
+rf2l12v
+ri2al
+2r1i2d
+2rie
+r1ifj
+ri2g
+2r1iga
+ri3gny
+r1i2m
+2r1inf
+r1ing
+2r1int
+2ris
+r1ist
+r1k2r
+1rnr
+r1ott
+r1p2
+r1sp
+r12c
+r12l
+r1n
+r1t
+r1s
+r1pr
+r1s2k
+r1sn
+r1s2r
+r1s2t
+r1szn
+r1u2t
+r12l
+r12v
+2sabl
+s1abr
+2s1a2d
+2s1a2j
+s1a2la
+sa2n
+s1any
+s1apr
+sa2r
+s1ar
+2s1arc
+2sarj
+s2gol
+s1ld
+2s12p
+2s12rai
+2s12rak
+2s1rb
+2s1re
+2s12ro
+2s12ru
+2s12r
+2s1rv
+2st
+s1tl
+2s12z
+s1dr
+s1e2c
+s1e2l
+s1e2v
+s1ex
+2s12g
+2s12l
+s12ne
+2s12r
+s1rm
+2s1rt
+2s12t
+2s12te
+s1tr
+s1fr
+si2g
+s1iga
+2s1il
+s1imp
+2s1in
+2s1i2p
+2s1i2r
+2s1is
+s12z
+s1kl
+s1kv
+2s1ola
+2s1old
+s1org
+2s1orr
+s1osz
+s12h
+s1s
+s1r
+s2pe
+s1pr
+s1s2p
+s3szag
+ssza2k1
+s3szav
+s3sze
+s3szi
+s3sz
+s3sz
+s3sz
+s3sz
+s3sz
+s2tat
+s1t2r
+2s1u2ga
+2s1u2t
+s1g
+s1n
+s12t
+s1z
+sv2t1e
+2sz1a2d
+2sz1akc
+2sz12g
+szs1s
+2sze
+sz1ej
+sz1e2s
+sz1e2v
+2sz
+2sz1v
+2szig
+2sz
+sz1k2
+sz1old
+sz1osz
+2sze
+2sz
+sz1s
+sz1p
+s3zse
+2s3z
+2sz
+sz12g
+sz2ve
+t1a2d
+t1a2i
+2t1a2j
+t1a2v
+2t1l
+t12ro
+t12s
+2t12t1
+t2v1i2
+t1bl
+t1ef
+2t1e2g
+t1el
+t1ell
+t1elz
+2th
+t12l
+2tn
+2t1p
+t1rd
+2t12ri
+t1rz
+tfl2
+t1gr
+2tiakh
+2tiakn
+t1id
+tie2
+2ti
+ti2g
+t1ig
+12tij
+12t1i2ko
+t1ill
+12tin
+t1ind
+t1inf
+t1ing
+t1int
+t1i2pa
+12tir
+t1ir
+t1ism
+t1ist
+12t1i2z
+t1g
+t1j
+t1v
+t1okm
+2t1ola
+t1old
+t1oml
+to2n1
+t1ont
+t1op
+2tor
+to2ran
+to2r1as
+to2rl
+to2re
+t1ost
+t1osz
+t1s
+t2r
+t1pl
+t1pr
+1t2rag
+21t2ri
+ts2gi
+t1st
+tu2m1
+tu2r
+t1ur
+2t1t
+2t1g
+1tvo
+1u
+u2no
+u2ra
+1
+1
+2gy
+2l
+2re
+2te
+2ve
+2v
+2ze
+1
+2z
+2vl
+v2r
+v2rad
+v2ral
+v2ris
+v2rosz
+v2r12
+vru2
+zae2
+za2
+zak2
+za1p2
+z1arc
+za1t2r
+2z1l
+2zru
+zs1s
+z1i2d
+zido2
+zt2
+z1tr
+z1p2r
+2zs1a2l
+2zsl
+2zse
+zs1e2c
+2zsi
+z3sz
+z1t2r
+2.
+1a
+a2j
+a2la
+1
+2ga
+2go
+2gu
+2ra
+2sz
+b2lo
+cs2k1
+2des
+12dt
+d1z
+2d1r
+ds3s
+d2
+12dl
+d2v1a2
+d2v1el
+d2v1e2s
+d2vl
+d2vid
+d2v1
+d2vo
+1dv
+d2vl
+d2v
+d2vu
+d2v
+1e
+e2b
+e2ge
+e2g
+e2le
+e2l12
+e2me
+1
+2ke
+2p
+f2f12
+f3le
+f2ro
+ge1k2
+ge3l
+g2ra
+2gy1a2
+2gy1
+2gyef
+gy1e2lemb
+gy1e2lemm
+gy1elf
+2gy1ell
+gy1elm
+gy1elo
+gy1j
+gy1kb
+gy1r
+gy1rr
+2gys
+2gyil
+12gyin
+gy1int
+gy1ira
+3gy
+1gyn
+gy1os
+2gy12
+h1af
+h1at
+h1s
+2h1e2le
+h1elf
+h1ellen
+2h1e2l
+h1elv
+2h1h
+2h1r.
+2h1in
+2h1it
+h1or
+h1s
+1i
+i2g
+i2ko
+1
+2r
+k1a2n
+ka2p
+k2kal
+k2k
+kke2
+kkel1
+k2ker
+kko2
+k2kop
+k1u2n
+l1ab
+l1a2d
+l1ag
+l1aj
+l1a2k
+2l1a2l
+l1a2r
+l1at
+l1au
+l12c
+l12g
+l1l
+l12p
+l12r
+l12s
+l1br
+l1d2r
+2l1ecse
+l1e2dz
+2l1e2g
+2lek
+l1ell
+2l1e2lte
+l1eng
+l1enn
+2l1e2r
+l1e2s
+leta2
+le2tal
+le2t1an
+le2t1as
+le2tav
+le2t12
+le2t1eg
+le2t1e2l
+le2t1k
+le2t1r.
+le2t1rn
+le2t12r.
+le2tr
+le2t12ve.
+leto2
+le2t1or
+le2tos
+le2t12
+let1t2
+l1ette.
+l1etted
+le2t1u
+le2tz
+2l1ex
+2l12g
+l2k1a2
+l2k12
+l2k1e2l
+l2kev
+l2kir
+l2k1o
+l2ku
+2l1l
+l12p
+2l1r.
+2l12r
+l1ri
+l1rj
+l1rn
+l1rs
+2l12r
+l1rv
+2l1rz
+l2sa
+l2so
+ls3s
+l2s3z
+l1fr
+2l1i2d
+li2g
+2l1iga
+l1ill
+2l1im
+2l1int
+l1ira
+2l1itt
+2l1iz
+l1g
+l12r
+l12v
+l2l1a2n
+l2l1in
+l2l12v
+l2l1u2
+l3lyu
+ln2k1l
+l1o2d
+l1o2l
+l1om
+l1op
+l1or
+l12v
+2l1b
+2l12l
+2l1m
+2l1r
+2l12v
+le2
+l2l
+l1sl
+l1s2p
+l1sta
+lt2
+l1p2l
+l1p2r
+l1sl
+l1sp
+l1st
+l2t1ad
+lt2r
+1ltetl
+1ltets
+l2t1e2v
+l1tra
+l1ud
+l1u2g
+l1u2t
+l1s
+2l1g
+l2l
+l1l
+l1lh
+l1li
+l1lj
+l1ln
+l1lt
+l1lv
+2l1r
+2l1t
+2l1v
+2lyel
+ly1ess
+ly1esz
+m1a2l
+m1a2n
+m1a2r
+m12r
+me3gi
+m1ks
+2m1p
+2m1rd
+m1fl
+m1fr
+mi2g
+2m1iga
+2m1il
+2m1im
+2m1i2p
+2m1is
+2m1iz
+m1kl
+m1kr
+m1o2l
+m1or
+m1os
+2m1ss
+m1r
+m1p2r
+m1tr
+m1j
+2m12l
+2m1v
+2m1z
+n1l
+n12r
+n1e2l
+ne2t1elet
+ne2ts
+n1ev
+2n12p
+n1id
+2n1ing
+2n1irt
+1nnep
+1o
+o2k1i2
+1
+2r
+1
+1
+2re
+p2ri
+p2ro
+rds1s
+12reg
+re2g1a
+re2g
+reg1g
+12res
+re2t
+2rm
+r2t1a
+r2t1
+r2t1e2
+r2tis
+r2t1o2
+rtok1
+rt2
+r2tl
+12rl
+s2s1a2
+s2s1
+s2s1eg
+s2s1o2
+ss1s
+ss2
+s2s1l
+s2t1a2
+s2t2
+st1g
+st1l
+st1r
+s2t1e2
+st1g
+s2t1k
+s2tl
+s2t1r.
+s2t1re
+s2t1rm
+s2t1il
+s2tim
+s2tir
+s2t1is
+s2t
+s2t1o2
+s2t12
+s2t1r
+s2t12v
+s2t1r
+s2t1s
+s2t1u2
+s2t
+st2
+s2t1z
+sz1l
+szi2
+2sz1iv
+sz12v
+2sz1nt
+2szr
+t1ab
+t1aj
+12teg
+12tem.
+te2m1a2
+2temb
+12teme
+te2m1el
+2temb
+te2mrt
+te2min
+tsi2
+t2sik
+ts3s
+t2s3z
+1tk
+t1s2p
+t2t1
+t2t12
+tty1e2g
+t2zi
+1u
+u2ta
+1
+1
+1
+ve2g1a2
+veg3g
+vez2r
+1ze2m1a2
+ze2m1
+ze2meg
+ze2m1rt
+ze2m1tk
+12zemi
+ze2m1o
+2zemt
+ze2m1u2
+2zem
+ze2t1a
+ze2t1o
+z2ra
+z2r1e2l
+1zlet.
+1zletn
+2.
+1a
+a2da
+a2d
+a2gy
+a2ka
+a2la
+ala2g1
+a2lo
+a2na
+a2ny
+a3nyagoc
+a2or
+a2pa
+a2p
+a2ra
+a2r
+a2to
+a2ut
+a2va
+a2xi
+a2zo
+1
+2b
+2ga
+2g
+2gy
+2h
+2je
+2lo
+2po
+2ra
+2ri
+2ro
+2ru
+2s
+2t
+2t
+ba2l1
+b2rel
+b2lo
+b2r
+csap2
+csa2p1g
+cs1as
+2cs1k
+cs1i2pa
+d1l
+2d1e2l
+1d2r
+d2ro
+1d2r
+d1sk
+1e
+e2cs
+e2ge
+e2g
+e2gy
+e2kre
+e2la
+e2le
+e2l
+e2l12
+e2l
+e2l
+e2me
+e2pi
+e2po
+e2re
+e2r
+e2se
+e2s
+e2s
+e2te
+e2ti
+e2v
+e2v
+1
+2le
+2l
+2nekb
+2neke
+ne2kest
+2nek
+2nekr
+2p
+2te
+fa2j1e2
+f2lo
+fo2g1a2l
+f2ra
+f2ri
+f2ro
+2g12l
+2g12l.
+g1s
+g2z
+g2ra
+g2r
+holda2d
+hol2d1ada
+1i
+i2do
+i2ga
+i2g
+i2m
+i2mi
+i2pa
+i2r
+i2ro
+i2sz
+i2ta
+i2z
+i2zo
+1
+2r
+2ri
+2r
+2t
+2ve
+2z
+2z
+kia2
+k2la
+k2li
+k2l
+k2lo
+k2rep
+1k2r
+1k2ri
+1k2ro
+1k2r
+k2va
+me2g1
+n1al
+n1ar
+n1l
+n12r
+n1e2le
+n1elh
+n1e2li
+n1elk
+n1e2l
+n1elr
+n1elt
+n1eml
+n1e2se
+n1est
+ne1t2
+2n1r.
+2n1rte
+ni2g
+2n1iga
+2n1in
+2n1i2p
+2n1i2r
+2n1is
+nme2
+n3ny
+n1o2k
+n1ol
+n1os
+n12r
+n1pr
+n1s2k
+n1s2t
+n1u2n
+n1u2t
+2n1s
+2n1z
+n1z
+1o
+o2d
+o2k
+o2ko
+o2la
+o2r
+o2ro
+1
+2ce
+2ra
+2r
+2ri
+1
+2l
+2r
+2ve
+2z
+1
+2r
+p2la
+p2l
+p2ne
+p2r
+p2ri
+p2r
+p2ro
+p2r
+r1ad
+r1a2l
+r1a2m
+r1a2n
+r1au
+r1a2v
+r1b
+r1l
+r1s
+r1z
+r1egy
+r1e2l
+re2n
+2r1e2r
+r1ex
+2r12j
+r12l
+r1p
+rs3szer
+r2sza
+r2sz
+r2sz
+r2szo
+r1fl
+r1id
+ri2g
+r1iga
+2r1i2m
+r1int
+r1i2p
+r1ist
+2r1r
+r1o2d
+2r1ol
+r1o2p
+r1or
+ros2t1a2
+r1ot
+r1n
+2r12l
+r1r
+r1f2
+r1pl
+r1pr
+r1p2s
+r1s2p
+r1s2t
+rszt2
+r1tra
+r1uj
+r1un
+r1u2t
+r1t
+r1g
+r1z
+2s1ajt
+s1l
+s2g1el
+2s1n.
+2s12r
+1s2ka
+1s2k
+so2rad
+so2raj
+so2ral
+so2ran
+so2rl
+so2rosz
+sor1s
+sort2
+s2pe
+s2pi
+s2po
+sp2r
+s2r
+s3sz
+1s2ta
+1s2t
+1s2to
+st2r
+s1tro
+2s1uj
+2s12t
+sze2r1
+sze2r1e2le
+szere2p
+sze2r1ep
+sze2r1lt
+sz2k
+sz2t
+ts3s
+ta2
+te2
+1t2ra
+1t2rg
+1t2re
+t2ri
+1t2ro
+1u
+u2ga
+u2ra
+u2sz
+u2ta
+u2t
+u2tu
+1
+2ri
+2sz
+2ti
+2to
+1
+2gy
+2l
+2r
+2te
+2t
+2t
+2ve
+2v
+2ze
+1
+2z
+v2sz1a
+v2sz1
+v2sz1e2l
+v2szer
+v2szint
+v2szo
+v2sz12
+v2sz
+v2sz
+v2z1
+vze2
+2z1a2b
+z1a2d
+z1a2g
+z1ak
+z1a2l
+zal1e
+z1a2p
+z1a2r
+z1a2s
+z1a2t
+z1a2u
+z12g
+2z1l
+2z1rb
+2z1rj
+z1tl
+z1tu
+2z1ed
+2z1ef
+2z1e2l
+2z1em
+2z1e2r
+ze2s
+2z1ese
+2z1es
+2z1est
+2z1esz
+ze2teg
+ze2tel
+2z1e2v
+2z1g
+2z12l
+2z1rm
+2z1rt
+2z1rz
+2z1sz
+z1fr
+z1gl
+z1g2r
+zi2g
+2z1iga
+zigaz1
+2z1ig
+2z1i2m
+2z1i2r
+z1isk
+z1ism
+z1ist
+z1i2sz
+2z1iz
+z1n
+z1r
+z12v
+z1kl
+z1kr
+z1o2k
+z1o2l
+3zom
+z1on
+z1op
+z1or
+z1os
+2z1c
+2z12r
+2z12k
+zl2d1el
+2z12v
+2z1z
+za2
+ze2
+2z1r.
+z12rei
+2z12ri
+z1rk
+z1rm
+2z1rn
+2z12r
+2z1rr
+2z1rs
+2z1rt
+z1rz
+z1p2r
+z3sa
+2zsm
+2z3sr
+2z3sv
+2z3ser
+2z3s
+2z3s
+2z3s
+z3s2p
+2z3suga
+z3s
+2z3s
+z3sz
+z1t2r
+2z1ug
+z1r
+z1t
+2z12g
+2z1l
+z1nn
+2z1t
+z3zs
+2v.
+1va
+vaa2d
+vat1
+vata2
+2v1abl
+va1bra
+v1abs
+vacs1ala
+va2cs1an
+va2csap
+va2csl
+va2cs12
+vacs3z
+2v1a2dag
+va2d1aj
+va2dal
+2v1adap
+va2d1asz
+v1a2data
+v1a2datb
+v1a2datk
+v1a2dato
+v1a2datr
+va2daz
+va2d1l
+va2deg
+va2d1e2l
+va2den
+va2dep
+va2d1e2r
+va2d1e2t
+va2dl
+vad1te
+va2dib
+va2d1id
+va2d1ir
+va2d1i2t
+va2d1r
+va2d1ol
+2vadom
+va2dh
+va2di
+v1a2dj
+va2dr
+v1a2du
+va2d1r
+va2d12
+va2d1
+va2d
+va2dza
+va2dz
+va2dze
+va2r
+va2g1as
+va2gav
+va2gs
+va2g1e2
+va2g12n
+vag1g
+va2gid
+va1gle
+va2g1o2ku
+va2goli
+vag1ost
+va2g1osz
+va2g1ura
+va2g
+2v1a2gy
+va2j1ar
+va2j1c
+va2j12ro
+va2j1e2g
+va2j
+va2j1ol
+va2j12s
+va2j
+va2j
+2va2kad
+vak1a2d
+va2k1aj
+vak1akn
+vak1ap
+vak1rn
+va2k1s
+va2k1t
+va2keg
+va2kem
+va2k1rt
+va2kis
+va2k1r
+va2k12s
+va1kr
+vak1t2
+2vakti
+2v1aktu
+2vakup
+va2k1t
+va2lac
+va2laku
+va2lap.
+va2lap
+va2lap
+valls1s
+2v1amp
+2v1a2nal
+va2n1e2g
+vane2m
+van1eme
+va2n1es
+van2v
+van1ve
+van1vi
+2vang
+van3n
+va2nol
+va2n
+2v1a2ny
+2v1a2ny
+va1p2l
+va2pos
+va1p2r
+2v1a2pu
+va2r1ab
+vara2c
+var1ac
+va2r1a2d
+var1ajt
+var1akt
+va2r1al
+va2rany
+var1a2nya
+va2r1a2p
+va2r1a2r
+va2r1assz
+va2r1at
+va2r1av
+va2rg
+va2r1l
+2v1a2rny
+va2r1szn
+var1ta
+va2r1tf
+va2r1tm
+va2r12to
+va2r12z
+varca2
+var2cag
+var2cal
+var2can
+varc1c
+var2c3ho
+va2r1es
+va2r1e2t
+va2rev
+va2rg
+var1k.
+var1ks
+va2r12l
+va2rp
+va2r1r
+va2rid
+va2r1i2ko
+va2r1ikr
+va2r1ill
+va2rim
+var1inf
+var1ink
+va2r1inv
+va2r1i2p
+var1isk
+var1ism
+va2r
+var2k1an
+var1k2b
+var1k2j
+var1k2k
+var1kl
+va2r1okm
+var1old
+va2rop
+va2ror
+va2rn
+va2r
+vars2
+varsz2
+var2t1i2n
+var2tor
+vart2
+var2t1r
+va2r1ut
+va2r1t
+va2r12
+va2r
+vas1abl
+va2sag
+va2s1aj
+vas1arc
+vas1asz
+va2s1br
+va2s1l
+va2s1rl
+va2sek
+va2s1e2l
+va2sem
+va2s1e2r
+va2set
+va2s1k.
+vas1kk
+va2s1kn
+vas1kt
+vas2r
+va2s1re
+va2s1rt
+va2s1rv
+vasfl2v
+va2sid
+va2s1i2na.
+va2s1ing
+va2s1i2s
+va2s1iz
+va2s1n
+va2s
+vas3sze
+vas3szi
+vas3sz
+vast2
+vas1tr
+va2sus
+va2s12t
+va2s
+vasz1e2l
+va2szis
+va2t1a2d
+va2t1aj
+va2tau
+va2t1l
+va2t12ru
+va2t1e2v
+va2t1k
+va2tl
+va2t1rte
+va2t12te
+va2t1id
+va2tim
+vat1inf
+vat1ing
+va2t1is
+va2t1r
+vatmo1
+vatmosz2
+va2t1okm
+va2t1old
+va2t12v
+vat2
+va2t1r
+vatt2
+2vattako
+va2t1ur
+2v1a2uk
+vau2n
+vaza2t1e
+2v1a2zon
+1v
+vb2baj
+vb2b1as
+vb2b1e2
+vb2b1
+vb2bil
+vb2bol
+vb2bos
+vb2b
+vb2bu
+2vbr
+v2c3h
+v2cs1a2p
+v2cse
+v2cs1k
+v2csip
+v2cs1is
+v2cs
+v2cs
+v2cs
+vcs3z
+v2d1al
+v2d1a2n
+vde2
+v2des
+vd2
+v2dn
+v2dik
+v2d1ir
+v2d1or
+v2d
+v2d
+2v12gaz
+2v1gr
+v2g
+v2gyal
+v2gyan
+v2gy
+v2gy
+v2k1e
+v2k1
+v2laj
+v2l1a2l
+vla2n
+v2l1any
+v2l1ap
+v2lar
+vla2szin
+v2l12r
+v2l1t
+v2l1e2
+v2ll
+v2lid
+v2lin
+v2lir
+v2lism
+2v1lls
+vl2l1e2
+2v1llom
+2v1ll
+vl2l12
+v2l
+v2l
+vma2
+v2m1ad
+v2m1aj
+v2m1ak
+v2m1al
+v2m1as
+v2mau
+v2m12
+vm1b2
+v2m1e2
+v2m1r.
+v2m1rt
+v2mil
+v2m1in
+v2m1ir
+v2mis
+v2m
+v2m1or
+v2m
+v2m
+vmu2
+v2m1ut
+v2m
+v2naj
+vna2n
+vn1any
+v2n1e
+v2nis
+vns3s
+v2n1
+v2n
+vnya2d
+v2nyaj
+v2ny1a2l
+vnya2n
+v2nyany
+v2ny1ap
+v2nyar
+v2ny1as
+v2nyau
+v2nyaz
+v2ny1e2
+v2ny1r.
+v2nyrd
+v2nyrr
+v2nyrv
+v2nyrz
+v2ny1ing
+v2nyis
+vny12r
+v2ny12
+v2ny
+v2po
+vr1a2dato
+v2rad
+v2r1a2d
+v2r1a2du
+vra2l
+v2r1ala
+vr1ale
+v2raml
+vra2n
+v2r1any
+v2r1ar
+v2r1assz
+v2r1a2sz
+v2rg
+v2r1l
+vrd2
+v2r1e2
+vr1isk
+vr1ism
+vr1ist
+v2r
+vr1old
+v2r1oml
+v2r1ont
+vro2sz
+vr1oszt
+v2r12n
+v2r
+v2r
+vrs2
+vr1sp
+vr1sr
+vr2t1es
+vr2t1r.
+2vru.
+v2ruh
+vr1u2r
+vr1usz
+vr1ut
+vr2
+v2rs
+v2r
+v2s1a2d
+v2sam
+v2saz
+vsr1a2d
+v2s1e
+vsi2k
+vs1iko
+v2sis
+v2sr
+vsksz1
+vs2
+vst2
+vs1tr
+v2s1
+v2s
+v2szan
+v2s3zav
+v2sz1e
+v2szin
+vta2
+v2t1al
+2v1td
+2v12t1e2r
+2v1tfe
+v2t1ir
+2v12t
+v1tl
+2v1tm
+2v12t1
+2v1tp
+2v12t
+2v1tv
+v2z1alj
+v2z1alt
+v2z1a2tom
+v2z1a2v
+v2z1e2
+vzi1s2
+v2ziz
+v2z
+v2zos
+v2z
+v2z
+v2z3sa
+v2z3s
+vz3se
+v2z3s
+vz3s
+v2z3su
+vz3sz
+v2z
+vb2lo
+vb2ra
+vcs2ne
+vd2r
+1ve
+vea2g
+vea2l
+vea2n
+vea2r
+ve2l
+2vece
+ve2cet
+ve1cl
+ve2cseg
+2vedny
+ve2gab
+ve2gac
+ve2gar
+ve2g1as
+vega2z
+ve2g12
+ve2g1eg
+ve2g1e2kh
+ve2g1ell
+vege2lk
+ve2g1elr
+ve2g1e2r
+ve2g1esem
+ve2g1esz
+ve2g1e2tet
+ve2g1k
+ve2g1l
+ve2g1p
+veg1r
+veg1rte
+veg1rv
+vegs3s
+veg2sz
+vegg2
+veg1gr
+ve2gid
+ve2gik
+ve2gim
+ve2g
+ve2gol
+ve2gor
+ve2g12
+ve2g12
+ve2g1u
+ve2g
+ve2gyelem
+ve2gyemb
+ve2gyez
+2v1egyl
+2vegyv
+ve2k1ak
+2v1e2ke.
+2v1e2kei
+2vekb
+ve2kb
+2v1e2kk
+2v1e2ks
+ve1klu
+2vela
+2v1e2lef
+2v1e2lemz
+vele2t1e2l
+2v1e2lg
+vels3s
+2v1elf
+v1elgy
+2v1elha
+2v1elhel
+ve2lis
+2v1e2l12
+v1elj
+2v1elm
+ve2los
+2v1e2lir
+2v1e2l
+2velks
+2v1elleg
+2v1elr
+2v1elsa
+2v1elsz
+2v1elszo
+2v1elt
+2v1elter
+2v1eltr
+2v1elto
+2v1elv.
+2v1elv
+2v1elvek
+ve2ly
+ve2lyu
+2v1elz
+2v1emb
+2v1e2mel
+2v1eml
+2v1e2mu
+ve2n1ad
+ve2nau
+ve2n1
+ve2n1e2g
+ve2n1e2l
+ve2n1esz
+ve2n12vi
+ven1f2
+ven1g2
+ven3k2
+ve2n1o
+ve2n12
+ve2n
+vent2
+ven2t1l
+ven1l
+ve2ny
+2v1enz
+ve2r
+ve2r
+ve2pe
+ve1p2r
+ve2rab
+ve2r1a2c
+ve2r1a2d
+ve2r1a2g
+ve2raj
+vera2l
+vera2n
+ve2r1a2r
+ve2r1au
+ve2raz
+ve2r1g
+ve2r1l
+2verd
+ver1egy
+ve2r1e2h
+ve2r1e2ke.
+ve2rekl
+ve2r1e2l
+ve2r1eng
+ve2r1er
+ve2r1e2s
+ve2r1esz
+ve2r12l
+ver1g2
+ve2r1iga
+ve2r1ill
+ve2rim
+ve2r1inc
+ve2rind
+ve2r1inf
+ve2r1ing
+ver1inte
+ver1ipa
+ve2ris
+ve2r1ol
+ve2ror
+ve2r
+ver12r
+ve2r
+ver1p2
+ver2s1al
+ver2sr
+vers2g
+ver2s1g
+ver2s1gg
+ver2s1gn
+ver2s1gt
+ver2sir
+ver2s12
+ver2s
+vers3s
+ver2s1t
+vers3zr
+vers3zen
+ver1tra
+ve2rur
+ve2r1ut
+ve2rt
+ve2r12g
+ve2san
+ve2sas
+ve2s1l
+ve2s1e2kt
+veset2
+2v1e2sett
+ve2sip
+ve2sis
+ve2s1z
+ve1sk
+2v1e2s
+ve1s2pe
+ves3sza
+ves3szer
+vest2
+ve2s1u2
+2v1e2sze.
+2v1e2szekn
+2v1eszm
+2v1e2sz
+veta2l
+ve2tas
+ve2tl
+ve2t12r
+vet1egy
+ve2t1e2ll
+ve2tg
+ve2t12k
+ve2tid
+2v1e2tika
+v1e2tim
+ve2t1ing
+ve2t1ol
+ve2t1l
+ve2tv
+vet2
+ve2tur
+ve2t1ut
+ve2t12z
+ve2vet
+2v1e2vo
+veze2r
+vezksz1
+vez2sorr
+vezs1s
+2v1ezr
+1v
+v2g
+2v1br
+v2dak
+vda2l
+v2d1as
+v2d
+v2d1emb
+v2dos
+v2dv
+v2d
+v2d
+v2dz
+v1f2r
+vga2
+v2gab
+v2gak
+v2gal
+v2g12
+v2g1eg
+v2g1e2le
+v2g1elg
+v2g1elh
+v2g1eli
+v2g1ell
+v2g1els
+v2g1elv
+vg2em
+vge2n
+v2g1eny
+v2g1ep
+v2g1er
+v2g1esem
+v2g1e2sete
+v2get
+v2get
+v2g1r.
+v2g12ren
+v2g12r
+v2g1rr
+vg1rv
+vg3g
+2vgh
+v2g1id
+vgigaz1
+v2gim
+v2giz
+v2g1
+vgkts1
+v2gol
+v2g12
+v2g
+v2g
+2v1h.
+2v12he.
+2v12hen
+2v12hes
+2v1hs
+v2kei
+v2kt
+v1k2l
+v1k2r
+v1k2ri
+2v1ks
+v2kk
+v2l1a2
+v2lb
+v2ll
+v2l1r
+v2leg
+vl1ell
+vl1els
+vl1elt
+vl1emb
+v2l1eme
+v2l1e2r
+v2les
+vl1ess
+vl1est
+v2lev
+v2lez
+v2l12k
+v2lin
+v2lir
+v2l
+v2los
+v2li
+v2ls
+vlt2v
+v2l1u
+v2l
+v2l
+vna1p
+2vnekl
+v2n1emb
+v2ny1eg
+vnye2l
+vny1ele
+vny1els
+v2nyid
+v2nyis
+v2ny1
+v2ny
+vny2l
+v2ny1l
+v2ny1lt
+2v12p
+v1p2l
+v1p2r
+2v12p
+v2ral
+v2r1a2n
+v2rap
+v2rar
+v2raz
+v2r1r
+v2rt
+vr1d2
+v2r1e2l
+vr1eml
+vres3s
+vr1eti
+v2rs
+vr1sz
+vr1te
+vr1ikr
+v2rir
+v2r1o2k
+v2rot
+v2rv
+vr1s
+vrtes1s
+vr2t1n.
+vr2tv
+vru2
+v2rug
+v2rut
+v2r1
+vr2k
+2v1rzet.
+v2sak
+v2sal
+v2seg
+vse2l
+vs1ele
+vs1elt
+v2s1er
+v2s
+v1s2pe
+vs3szer
+vs2tb
+v2s12v
+vs3zav
+vsz12r
+v2szeg
+vsz1ell
+v2sz1kn
+v2sz12
+vsz3s
+v2szu
+vsz2
+vsz1r
+vsz2l
+vsz1l
+vt1est
+2v1v.
+v3va
+2v1vb
+2vvei
+2v12vek
+2v12ven
+2v12v
+2v12vr
+v2vi.
+2v1vr
+2v1vt
+2v12v
+vfe2l1em
+vf2ra
+vf2re
+vf2ri
+vf2ro
+vge2o
+vg2ra
+vg2r
+vhang2a3
+vhez1
+1vi
+vi2aa
+vi2ab
+vi2ac
+vi2a
+vi2ag
+via2p
+via2szal
+via2sz1l
+via2sz1rn
+via2sz1em
+viasz2
+via2szl
+via2sz
+vira2
+vir1ad
+vic2c1a
+2vick
+vi2csag
+vi2csal
+vi2cs1an
+vi2cs1as
+vi2csl
+vi2cs1e2l
+vi2cs1r.
+vi2csrt
+vicsi2
+vi2csim
+vi2csip
+vi2cs12
+vi2cs
+vics3z
+vi2deg
+vi2d1esz
+2vidz
+2v1i2d
+vi2dz
+vi2ew
+2v1i2gaz
+2v1i2gn
+vika2
+vi2k1ag
+vi2k1el
+vi2kon
+vi2l1k
+villa1s
+villasz2
+2villu
+vi2m
+2v1imm
+vina1t2
+2vind
+vi2n1emb
+vi2n1
+vin2tess
+vin2tesz
+2vint
+vin2tos
+2v1i2on
+2vipa
+vi1p2s
+2v1i2rat.
+2v1i2ratot
+2viratoz.
+2v1i2rod
+visa2
+vi2sal
+vi2s1au
+vi2s12g
+vi2ser
+vi2s1k
+vi2sim
+vi2s1is
+vi2siz
+vi2s
+vi2szr
+vi2szok
+vit2a
+vi3tad
+vitaksz1
+2vital
+vitel2
+2vitn
+vi2t1
+vi2zeg
+vi2z1ell
+viz12l
+vi2zin
+vi2zok
+vi2zol
+vi2zom
+viz1os
+vi2zs
+viz3sz
+vi2zud
+vi2z
+1v
+vdi2
+v2ge
+v2ny
+vnyenc1
+2v12ra
+2v12r
+2v12r
+2vtlet.
+v23tletb
+2vtlete
+2v1vb
+vvksz1
+v2z1a2
+v2z
+v2zel
+vz1e2le
+vz1elf
+vz1elh
+vz1ell
+vz1eln
+vz1el
+vz1elp
+vz1els
+vz1elt
+vz1elv
+vze2m
+vz1emb
+vz1eme
+vz1em
+v2zk
+v2zs
+v2z1ing
+vzi1sk
+v2z1ist
+v2z1isz
+v2z
+v2z1o
+v2z12
+v2z
+v2z12
+v2z3s2
+v2z
+vz2
+2v12z
+vz3z
+vjra2t1t
+vje2gya
+vje2tel
+vje2tu
+vkia2l
+vki2
+vk2li
+vk2l
+vk2lu
+vk2ri
+vk2r
+vk2r
+vla2te
+vle2
+vle2
+vme2g1
+vna2p1in
+1vo
+vo2il
+vo2ji
+vo2k
+2v1okm
+voks3s
+2v1okta
+vola1t
+2v1old
+2v1old.
+vol2t1a2d
+vome2
+vomec3
+vona2l1e2
+vona2t1e
+vons1s
+von2s3z
+vo2od
+vo2pe
+vo2r1a2
+vo2r1in
+2v1orm
+vo2s1as
+vo2s1av
+vo2s1e
+vos3s2
+vo2s1
+vo2s
+vo2uc
+vo2v
+vo2xi
+1v
+va2k
+v2g
+v2r
+vcsa2p12
+v1d2re
+v1f2r
+v1k2l
+2v1nn
+v2r
+v1p2l
+v1p2r
+v2ran
+v2rk
+v2rn
+v2rt
+v2s1akk
+v2s1a2l
+v2seg
+v2s1iv
+v2sol
+v2s1orr
+v2s
+v2s
+v2s
+v1spi
+vs3s
+vs1tr
+v1sz2
+vsza2k1
+v2s3zr
+v2s3zen
+vta1t2
+v1t2r
+vvros1u
+1v
+v2b
+v2dm
+2v12ko
+vl2gya
+2v12rk
+2v1tl
+v2ve
+v2v
+2v1zn
+vze3
+v2zs
+1v
+va2n
+v2g
+ve2l
+ve2r
+v2j
+v2n
+v1fl
+v1f2r
+vi3dej
+v1kl
+vo2l
+v1pl
+v1pr
+v1rm
+v12r
+v1s2p
+v1sta
+v1str
+v1t2r
+v2l
+v2zi
+vp2la
+vp2ra
+vp2re
+vp2r
+vp2ri
+vp2ro
+vp2r
+vp2sz
+vs2k
+vs2ki
+vs2ko
+vs2l
+vs2pe
+vs2ta
+vs2ti
+vs2t
+vs2to
+vst2r
+vs2t
+vsz2p
+v1sz2t
+vta2n12s
+vta2n12to
+vta2n12
+vt2raj
+vt2r1ass
+vt2ris
+vtr2
+vt2r1r
+vtels1s
+vt2ra
+vt2r
+vt2ri
+vt2ro
+1vu
+vu2bo
+vu2mal
+vu2man
+vu2m1e2
+vu2mis
+vu2m
+2v1u2ni
+vu2ra
+vu2ru
+2v1u2tak
+2v1u2tas
+2v1u2tat
+vu2t
+v1utc
+v1u2t
+1v
+v1fr
+v1jd
+v12j
+v1js
+v2r1ad
+v2re
+vr2
+v2rn
+v2r
+v2sz
+v1tn
+1v
+v2gy
+v2k
+v2l
+2v1ld
+2v1nn
+v1pr
+v2r
+v1st
+v1sz2
+v2te
+v2t
+v2z
+1v
+2v1rl
+v2z
+vvgy1b
+vvers3s
+vz2r12ra
+2w.
+1wa
+wa2ii
+wa2le
+war2d1i
+wa2re
+wa1s2h
+wa1ye
+wa1y
+1w
+1we
+we2b1a2
+we2b12
+we2b1ele
+we2b1
+we2bir
+we2b1o
+we2b1
+we2b
+we2ed
+we2ek
+we2ig
+we2is
+we2le
+we2r
+1w
+whi2t
+1wi
+wi2ch
+wi2cz
+1w
+1wo
+wo2od
+1w
+1w
+1w
+wri2t
+wsto2
+1wu
+1w
+1w
+1w
+wyo2m1
+2x.
+1xa
+x1a2da
+xa2d
+xa2d
+xa1fl
+xa1k2l
+2x1akt
+2x1a2la
+2x1alg
+2x1alj
+2x1alk
+xa2na
+x1a2ny
+x1a2r
+xa2ri
+xa2vi
+1x
+2x1br
+x2gy
+2x1ll
+x2rak
+2x12ram
+x2ras
+2x12ro
+2x1rr
+2x12ru
+2x1tj
+2x1tr
+2x1tv
+xba2l1
+xb2la
+xb2lo
+xb2ra
+xd2r
+1xe
+x1e2gy
+2x1e2ke.
+xe2l1a
+xe2l1
+2x1e2lekt
+xe2lel
+xe2l1emb
+2x1e2lemr
+xe2l1esz
+xe2l1in
+xe2l1o
+2x1emel
+2x1eml
+2x1e2r
+2x1e2s
+2x1e2z
+1x
+2x1hs
+x2p
+2x1r.
+2x1rte
+2x1rt
+2x1rt
+2x1rz
+2xvei
+xf2re
+xha2u
+1xi
+xia2n
+xi2av
+xi2d1a2l
+2xid
+xi2ds
+2xi2de
+2xid
+2xidg
+xi2d1i2
+2xidj
+2xidj
+2xidl
+2xidm
+xi2dol
+xi2d
+2xi2d
+xid1z
+xi1d2ro
+2xidr
+2xids
+2xidu
+2xidv
+2xi2dz
+xi2el
+2x1i2ga
+xign1n
+2xilc
+2x1ill
+xina2
+xi2n1an
+2x1ind
+xine2
+xi2n1et
+xi2n1i2
+xi2n
+xi2on
+xi2c
+xi2e
+xi2g
+xi2m
+xi2o
+xi2
+xi2p
+xi2r
+2x1i2r
+2x1i2ro
+xi2sad
+xi2sal
+xise2
+xi2s1el
+xi2s1es
+xi1s2k
+xis1p
+xis3s
+xi2s1
+xi2t1e2g
+xi2t1e2r
+xi2t1
+xi2t1i2
+xi2t12
+1x
+x2ja
+x2j
+x2jo
+x2ju
+x12r
+x2r
+2x1vn
+2x12v
+2x1vv
+1xo
+2x1old
+xo2n1ai
+xo2n1al
+xo2n1e
+xo2pe
+xo1p2l
+2x1osz
+1x
+1x
+x2d
+x2r
+x2z
+1x
+x2s
+xp2la
+xpor2t1a2
+xpor2t12r
+xpor2t1e2
+xpor2t1rd
+xpor2t12
+xp2ri
+x1p2ro
+x1p2r
+xs2k
+xs2pe
+xs2ta
+xst2r
+x2t1e2d
+xti2la
+xti2l
+xti2leg
+xti2lin
+xti2lis
+xti2l1o
+xt1rt
+1xu
+xu2sad
+xu2sal
+xu2s1a2n
+xu2s1e
+xu2s1rt
+xusi2
+xu2sil
+xu2sim
+xu2sin
+xu2sit
+xu2s1ol
+xu2s12
+xu2s12
+xus3s
+xust2
+xus1tr
+xu2sus
+xus2
+xu2s1t
+xu2s
+xu2s1
+xu2s3z
+xu2ta
+1x
+1x
+x2l
+x2ve
+x2ze
+1x
+2y.
+yaa2d
+y1abla
+y1a2bon
+y1abra
+ya1bri
+y1abs
+ya2cl.
+ya2dako
+ya2dal
+y1adap
+y1a2data
+y1a2datb
+ya2dati
+y1a2dato
+ya2datu
+yad2ki
+ya2d1s
+ya2dv
+y1admi
+ya2dan
+ya2db
+ya2d
+y1a2di
+y1a2dj
+ya2dk
+ya2dkt
+y1a2dm
+ya2dn
+y1a2dr
+y1a2ds
+y1a2du
+yae2r
+ya2ero
+yae2t
+ya2r
+y1aff
+ya1f2r
+ya2g1a2d
+ya2g1ag
+ya2g1am
+ya2gan
+y1aganc
+ya2g1a2s
+ya2g1atl
+ya2g1ato
+ya2gau
+yaga2z
+yag1azo
+ya2g1ll
+yag1r
+yag1rb
+yag12r
+yag1rh
+yag1ri
+yag1rj
+yag1rk
+yag12ro
+yag1rra.
+yag1rs
+yag1rt
+ya2gs
+yag1t1a2
+ya2g1tf
+ya2g1tl
+ya2g1tr
+yag1d2
+ya2gec
+ya2g1el
+ya2g1es
+ya2g12g
+ya2gk
+y1aggr
+yag3gy
+ya2gid
+ya2gim
+ya2g1io
+yag1isz
+ya2giz
+ya2g
+ya2g1osz
+ya2g12r
+ya2g
+yag1s
+ya2gur
+ya2g1ut
+y1agy.
+y1a2gyat
+y1agyb
+y1agyf
+y1agyk
+y1a2gyon
+y1agyr
+y1a2jak
+y1a2jn
+y1ajk
+y1ajt
+y1akad
+ya2k1ll
+ya2k1tk
+ya2k1tm
+yak1elm
+yak1elt
+yak1kn
+ya2k1r.
+ya2k1ri
+yak1i2zo
+ya1klu
+y1akna.
+y1aknk
+ya1kn
+y1a2kol.
+ya2k1ola
+ya2k1old
+ya2k1n
+y1a2ks
+ya2k1rv
+ya1k2rm
+ya1kri
+ya1kr
+y1akt.
+y1aktk
+y1aktb
+y1aktiv
+y1aktj
+y1aktot
+y1aktu
+yala2g1
+ya2l1agy
+yal1ajk
+ya2lakb
+y1a2lakj
+y1a2lakk
+y1a2lakok
+y1a2lakom
+y1a2lakot
+ya2lakt
+ya2laku
+y1alakz
+ya2l1a2l
+y1alany
+ya2lapa
+y1a2lap
+ya2lapj
+y1a2lap
+yala2te
+yal1ga
+ya2l1l
+yals1s
+y1alt
+ya2l12ne
+ya2lif
+yal1i2ko
+ya2l1inv
+y1aljai
+y1alji
+ya2lor
+yalksz1
+ya2l1r
+ya2l12
+y2alta
+yal1t2r
+y1alt
+ya2l
+ya2l
+y1amalg
+ya2m1any
+yam1a2rr
+yama2tal
+ya2m1rb
+ya2m1rn
+yamszs1
+ya2m12to
+yam1b2
+yam1emb
+yam1ess
+yami2k
+ya2m1iko
+ya2mind
+ya2m1i2o
+ya2m1is
+ya2m1osz
+ya2m12r
+ya2m
+ya2m
+ya2m
+y1a2nal
+ya2nan
+ya2nat
+yan1att
+ya2n3e.
+ya2n1e2g
+ya2nek
+ya2ner
+ya2n1et
+ya2nez
+y1a2nm
+y1ang
+ya2nid
+ya2n1in
+ya2n1is
+ya2nit
+y1a2niz
+y1anny
+yano2d
+yan1oda
+yan1onn
+ya2n.
+ya2nyas
+y1anyj
+y1a2ny
+y1a2nyuk
+ya2r
+y1a2pa.
+y1a2pai
+y1a2pas
+y1a2pb
+y1a2pd
+y1a2p
+y1a2pi
+y1a2pk
+y1a2pm
+y1a2pra
+y1a2pr
+y1a2pt.
+y1a2pto
+y1a2pt
+y1a2pv
+y1a2pi.
+y1apjh
+y1apji
+y1apju
+ya1p2l
+ya2post
+yapo2t
+y1a2p.
+y1a2p
+y1a2ph
+y1a2pi
+y1a2pj
+ya2pk
+ya2pna
+y1a2ps
+ya2pt.
+ya2pt
+y1a2pv
+y1app
+ya1pre
+ya1p2ri
+y1apr
+ya1pro
+ya2r1a2d
+ya2r1a2d
+ya2r1a2du
+ya2rasz
+ya2rnn
+y1a2rny
+ya2r1tv
+y1arc.
+y1arca
+y1arc
+y1arcb
+y1arcc
+y1arch
+y1arck
+y1arcn
+y1arco
+y1arcr
+y1arcu
+y1arc
+1yard.
+1yardn
+3yardom
+1yardos
+yar1dr
+yar1ell
+ya2roma
+ya2ror
+yar12r
+yar1v
+ya2rz
+yar1s2
+yas1alj
+ya2sap
+ya2s1as
+yasg1g
+ya1sl
+ya1sne
+ya1s2pi
+ya1s2po
+ya1s2r
+yast2
+ya1s2ta
+ya1sto
+ya1str
+ya1svi
+yasz2tr
+y1a2td
+yatkt1a2
+y1atka.
+y1atk
+ya2tomh
+y1a2tomm
+y1a2tomo
+yat2rg
+ya1tr
+ya1trf
+y1attr
+y1a2ty
+y1a2uk
+y1a2ul
+yau2t
+y1a2uto
+y1aut
+yauti2ko
+ya2t
+ya2z
+y1a2vat
+y1a2zon
+y1a2zr
+y12b
+y1br
+y2ga
+y2g
+y2g
+y2gi
+y2go
+y2gu
+y2g
+y2gy
+y2jal
+y2j1e
+y2j1
+y2j
+yka2
+y2k1an
+y2k1
+y2k1e
+y2k
+ylas3s
+y2ll
+y1ldo
+y2l1e
+y1llam
+y1llat
+y1lls
+y1ll
+y1llo
+y1ll
+y1llv
+y2l
+yma2
+y2m1al
+y2m1an
+y2m1ap
+y2m1as
+ymi2
+y2m1in
+y2m
+y2n1e
+y2nk
+yn3n
+y2n
+ynt2
+yn1tr
+y2n
+y1ny2
+y12po
+y2r1a2l
+y12raml
+y12ramo
+yra2n
+yr1any
+y2rap
+y2rar
+y2r1ass
+y2r1av
+y2raz
+y1raz
+yr1azo
+y2r1l
+y1rbev
+yr1d2
+y2r1e2
+y1rem
+y2rj
+y12ri
+y2rim
+y2r1is
+y1rnya
+yr2
+y2rr
+y2r
+y2r
+y1rp
+yr2s
+y2rt.
+y1rtm
+yr1tr
+y12ruh
+y1rur
+y2r2
+y1r.
+y2r
+y1rva
+y1rver
+y2sal
+y2sas
+y2s12g
+y2s12r
+y2s1rt
+y12ss
+y2se
+ysk2
+y12s
+y2s
+y2szab
+y2szag
+y2szal
+y2szas
+y2sz1l
+y2sze
+ysz1el
+ysz1em
+ys3zen
+y2szt
+y2szv
+y2szim
+y2szin
+y2szis
+y2szit
+ysz12d
+ysz12r
+y2sz12
+y2sz
+y2sz12
+y12ta
+yt1a2l
+y12t
+y1tb
+y12t1e2
+y12t
+y1tf
+y1th
+y12t1i2
+y1tk
+y1tlag
+y1tl
+y1tl
+y1tm
+y1tn
+y12t1
+y1tp
+y1tr
+y1ts
+y1tt
+y12t
+y1tv
+ybe2
+yb2la
+yb2le
+yb2l
+yb2li
+yb2lo
+yb2l
+yb2ra
+yb2ri
+yb2ro
+yb2r
+ycsa2p12g
+ycs2
+yc2vi
+yd2be
+y2desd
+yd2ni
+y1d2ra
+y1d2r
+yd2ro
+yd2r
+y1d2ru
+yea2v
+ye2r
+ye1bl
+y1ecset
+ye2d1
+ye2deg
+ye2d1esz
+ye2dol
+ye2d12
+ye2d1u2
+ye2d1
+ye2d12l
+yed2vr
+yee2s
+y1eff
+yega2
+ye2g1ala
+ye2gan
+ye2g1az
+ye2g12
+ye2g1el
+yeg1e2red
+ye2g1l
+yeg1rbe
+y1egrr
+yegsz1
+yeg1szn
+yeg3g2
+ye2gid
+ye2g
+ye2g
+ye2g1g
+ye2gyed
+y1e2gyen
+y1e2gyes
+ye2gyet
+ye2gyez
+y1e2gy
+y1egyh
+y1egyl
+y1egys
+y1egy
+y1egyv
+yei2g
+y1ejt
+y1e2ke.
+y1e2kei
+y1e2kek
+y1e2k
+ye2kj
+y1e2ks.
+y1e2kse
+ye1k2r
+y1elad
+y1e2lg
+ye2ll
+y1elc
+y1e2lef
+ye2lege
+ye2l1e2h
+ye2lemek
+y1e2lemez
+y1e2lem
+y1e2l1e2re
+ye2lgt
+ye2l12k
+ye2l1r.
+yels3s
+yel2s3z
+y1elhal
+y1elhel
+y1elh
+y1e2l1in
+ye2liv
+y1e2l12
+y1elj
+y1elka
+y1elnev
+y1eln
+y1elny
+ye2los
+y1e2l
+y1e2lad
+y1e2l
+ye2ltt
+y1e2lz
+y1elsa
+y1els
+y1eltr
+y1elto
+y1elt
+yel2vad
+yel2v1ll
+yel2vs
+yel2v1eg
+yel2v1e2r
+yel2vessz
+yelve2sz
+yelv1esze
+y1elvev
+yel2vd
+yel2v1g
+yel2vl
+yel2v1rz
+yel2v1
+yel2vol
+ye2mak
+ye2m1a2l
+ye2map
+yema2r
+ye2m1at
+ye2ml
+y1ember
+y1e2mel
+y1emelk
+ye2m1er
+y1e2ms
+yemi2
+yem1ing
+ye2m1is
+ye2mit
+yem1ita
+ye2miz
+y1emlk
+y1eml
+y1eml
+yem1ost
+ye2m1
+yem1p2
+yemu2s
+yem1usz
+ye2n12
+yen2csa
+yen2c3ser
+ye2n1elj
+ye2n1eln
+ye2n1elv
+y1e2ner
+yenes3s
+ye2n12l
+yenf2l12v
+ye2nid
+ye2n1i2p
+yen1k2
+ye2n1o
+ye2n1g
+yeny2
+y1enz
+ye2pag
+yep1alo
+ye2p1ar
+ye2p1ll
+ye2pt
+ye2p1e2l
+ye2p12k
+y1e2pik
+y1epiz
+ye2pos
+yep2p1e2r
+ye1pro
+yep1t2
+y1erde
+yere2ga
+yere2gete
+yereg1g
+y1e2rej
+yere2k1a
+yere2k
+yere2k1e2sz
+yere2ko
+yere2k12
+y1e2rny
+y1erk
+y1erk
+y1erny
+y1e2ro
+ye2rr
+ye2rig
+ye2rn
+ye2rr
+ye2rs
+ye2rss
+ye2rv
+yer2s1a
+y1ersz
+ye2s
+yes1eg
+yes1egy
+ye2s1ej
+yes1e2kt
+y1esemn
+ye2s1er
+y1e2setb
+y1e2set
+y1e2seti
+y1e2setk
+y1e2setr
+y1e2set
+y1esl
+ye2sip
+ye2s12r
+y1es
+ye2sbe
+y1e2sh
+ye2sje
+ye2sk.
+ye2skh
+ye2skr
+y1e2sn
+y1e2sr
+y1e2ss
+ye2sv
+ye1s2pe
+yes2t1a2
+y1ests
+y1estv
+y1estj
+yes2tr
+y1est
+y1eszk
+y1eszm
+y1esztt
+y1e2sz
+y1e2tal
+yeteg1r.
+y1e2tet
+ye2t1rt
+y1e2tik
+y1etn
+y1e2td
+ye2vet
+ye2vez
+y1e2v
+y1e2vol
+y1e2v
+y1e2zer
+yeze2t1k
+yeza2
+y2b1
+y2b1r.
+y2b1i2
+y2b
+y2des
+y1gb
+y12ge
+y12g
+y12gi
+y12g
+y1gt
+y12he.
+y12hen
+y12hes
+y12het
+y1hs
+y1j.
+y1jb
+y2jei
+y2jen
+y2jrt
+y12ji
+y1jj
+y1js
+y1jt
+y2kab
+y2kad
+y2k1aka
+y2k1a2l
+y12kat
+y2k1el
+y2ker
+y2k12k
+y2k12l
+y2k1r.
+y2kik
+y2k12
+y2k1
+y2k
+y2kr
+y2l1
+y2le.
+y2les
+y12let
+y12ln
+y2lt
+y2lim
+yl3l
+y2ls
+y1lsp
+y12l
+yn2
+y2n1r
+yn1e2ke.
+y2nel
+y2n1ikr
+y2no
+y2p
+y2p
+yra2
+y2r1aj
+y2r1ak
+y2ral
+y2r1an
+y2rar
+y2r12
+y1rch
+yr1d2
+y1rdek
+y2reg
+y2r1e2l
+y2rem
+y1rem.
+yr1eme
+y2r1enc
+yr1es
+y12ret
+y2rev
+y12rez
+y12rs
+y2ril
+y12rin
+y1rm
+y2r1osz
+yr2
+y2r1r
+y12r.
+y12ri
+y12rk
+y12rt
+y1rpa
+y1rtk
+yru2
+y2rut
+y1rv.
+y1rvn
+y1rvv
+y1rzet
+y1rz
+y1rz
+y2sz1
+y2sz1emb
+y2sz1o
+y2sz1
+y2t1a
+y12tel
+y12ter
+y2tn
+y1tke
+y1tl
+y1v.
+y1vad
+y1vb
+y12ve.
+y12vek
+y12vem
+y12ven
+y12ves
+y12vet
+y1vez
+y12vb
+y12vn
+y12vr
+y12vt
+y12vv
+y1vf
+y1vh
+y12vi
+y1vk
+y1vm
+y1vn
+y1vr
+y1vs
+y1vt
+y12v
+y12v
+y1vv
+yfas2
+yf2l
+yf1gl
+yf2la
+yf2le
+yf2li
+yf2lo
+yf2l
+y2fl.
+yf12s
+y1f2ra
+yf2ri
+yf2r
+y1f2ro
+yf2r
+yg2le
+yg2l
+yg1g2
+ygt2
+yg2ra
+yg2r
+yg2ri
+yg2r
+yg2ru
+yg2r
+y2h1a2d
+yha1p2
+yha1t2r
+yh2zal
+y2h1elv
+y1i2bo
+y1i2de
+y1i2deg
+y1i2den
+y1i2deo
+y1i2d
+y1i2dom
+y1i2d
+y1i2ga
+y1i2g
+y1i2gz
+y1igm
+y1i2har
+yi2hat
+y1ihl
+y1i2ker
+yi2k1rn
+yi2kont
+yi1k2ri
+y1i2ma.
+y1i2m
+y1i2mit
+y1imp
+y1i2nas
+y1inc
+y1ind
+y1inf
+y1inga
+yi2nic
+y1inj
+y1ins
+y1inv
+yi2ono
+yi2par
+y1i2ram
+y1i2rat.
+y1i2rata
+yira2t1
+y1i2ratn
+y1i2rato
+yi2ratt
+y1i2r
+y1i2ri
+y1i2rod
+y1irr
+y1irt
+y1ish
+y1isko
+y1ism
+y1isp
+y1ist
+y1i2sza
+yi2szel
+yi2szon
+y1i2tal
+y1i2tat
+y1i2var
+y1i2vs
+y1i2v
+y1i2z
+y1izg
+y1izm
+yi2zom
+y2g
+y2ja
+y2j
+y2ju
+y2ka
+y2k
+y2ke
+y2k
+y2kol
+y2k1
+y2la
+y2l1e2
+y2l
+y2l
+y2ral
+y2rb
+yr12sz
+y2rog
+y2r
+yta2
+y2v
+y2ve
+y2v
+y2v
+y2v
+y2v
+y2z
+y2z
+yje2gy12
+y2jv
+yjob2b1o
+ykai2
+yka1k2
+yka2r2ra
+yk2b
+y2k1e2lem
+yk12jv
+yk2p1el
+yk2ho
+yki2
+ykie2
+yk1izm
+yk2ka
+yk2la
+yk2le
+yk2li
+yk2l
+yk2l
+yk2lu
+yk2n
+ykro2
+yk2ra
+y1k2r
+y1k2ri
+yk2r
+yk2ro
+yk2r
+yk2v
+ylal2ta
+yla2t1a2n
+yla2t12t
+ylei2
+yle2
+yle2tal
+yle2t
+yl2
+ylt2
+yma1d2
+y2mat.
+ym2s1ik
+yme2g1
+ym2ma
+yn2vr
+yn2ka
+ynk2r
+yn2n
+yn2i
+yo2be
+y1obj
+y1o2d
+yo2gal
+yo2gl
+yo2g1r
+yo2ge
+yog3g
+yogi2
+yo2git
+yo2g1iv
+yo2g
+yo2g1osz
+yo2g
+yo2g
+yo2g
+yoka2
+y1o2k1al
+y1o2k
+y1o2k1ir
+y1okm
+y1o2kol
+y1o2kos
+y1o2koz
+y1okta
+yo2l1a2l
+yola2n
+yol1any
+yo2l1ri
+yol2cem
+yolci2
+yol2cik
+y1old
+y1old
+y1o2lim
+y1olts
+yol2ter
+yo2l
+yo2l
+yolv2
+yo2m1a2l
+yoma2n
+yo2m1any
+yoma2s
+yo2m1asz
+yo2maz
+yo2m1l
+yo2m1rk
+yo2m12to
+yo2m12z
+yo2m1e
+yo2m1ik
+yo2mil
+yo2m1is
+yo2m
+yo2m1ol
+yo2m
+yo2m
+yom1p2
+yo2n1a2d
+yo2nag
+yo2naj
+yon1a2ka
+yo2n1a2l
+yo2n1am
+yo2n1a2n
+yo2nap
+yo2n1a2r
+yo2n1a2s
+yo2n1a2t
+yo2n1au
+yo2n1l
+yo2n1t1a2
+yo2n1t
+yo2n1tj
+yon1tk
+yo2n1tr
+yo2n1ts
+yo2n1tv
+yo2n12z
+yon1d2
+yo2n1e2
+yo2nd
+yo2nh
+yo2nk
+yo2nn
+yon1f2
+yo2nim
+yo2n1is
+yon1itt
+yo2niz
+yo2n
+yon1k2
+yon3n
+yo2n1ol
+yo2nop
+yo2n1osz
+yo2n
+yo2n12
+yon1s2
+yont2
+yon1tr
+yo2n1
+y1o2pe
+y1opt
+yo2rad
+yo2r1a2k
+yo2r1a2p
+y1ord
+y1orgi
+y1orr
+yor2sol
+y1ors
+yors3s
+yo2se
+yos3s
+y1osto
+y1oszl
+yos3zs
+y1oszt
+yo2ut
+yo2ve
+yo2xi
+y2g
+y2r
+ycsa2p12
+y2dk
+y12dr
+y12dsak
+y1f2l
+y1g2r
+y2gyr
+y2gyi
+y2gy
+y2v
+yo2k
+y2r
+y1p2r
+y12rac
+y12rad
+y2rag
+y2rai
+y12ras
+y12rb
+y12rd
+y12r
+y12rh
+y12ri
+y12rj
+y12rk
+y12rm
+y12rr
+y12rs
+y12rt
+y12rv
+y12ri
+y2s1aj
+yscsa2
+y2sr
+y2s1ol
+y2s1orr
+ys1ors
+ys3s
+ys2l
+y2s12
+y2b
+y2b
+y2cs
+y2dm
+y2ka
+y2k
+y2kel
+y2k1k
+y2kid
+y2k
+y2ko
+yk1os
+y2k
+y2kr
+y2k1ss
+y2ku
+y2lk
+y1lts
+y1ml
+y12n
+yn2gya
+yn2gy
+yn2gy
+yn2gy1l
+y1nk
+y1nt
+y1nz
+y2ra
+y1rd
+y2rit
+y2ro
+y2ru
+y2so
+y1ssz
+y1sv
+y1szt
+y1tl
+y12td.
+y12tde
+y12td
+y1tp
+y1tt
+y1tv
+y2ve
+y2v
+y2vi
+y12v
+y12zn
+ya2n
+y1bl
+ye2l
+ye2r
+y1fr
+y1pr
+y2ra
+y12rei
+y1rg
+y1rl
+y1rp
+y1rs
+yrsze2
+y12rl
+y1rz
+y2seg
+y1str
+ysz2
+y2s3zr.
+ys3zs
+y1szt
+yzksz1
+ypen1n
+ype2te
+yp2la
+yp2le
+yp2l
+yp2lu
+ypont2
+yp2ra
+yp2re
+yp2r
+yp2ri
+yp2r
+yp2ro
+yp2r
+y2pr
+yp2ru
+yp2sz
+yrdi2n
+yrgs1
+yrea2
+yren2d12
+yreu2
+ysa2van
+ysg1g
+ys2ch
+ys2g1e2l
+ys2gs
+ys2ho
+ys2ka
+ys2k
+ys2ki
+ys2la
+ys2l
+ys2le
+ys2lu
+ys2mi
+ys2na
+ys2ni
+ys2pe
+ys2pi
+ys2po
+ys2p
+ysp2r
+ys2ra
+ys2r
+ys2r
+ys2sa
+ys2s
+ys2se
+y1s2t
+y1s2to
+y1s2t
+y1st2r
+y1s2tu
+y1s2t
+ys2t
+ysza2k1
+y2szal
+y2szld
+yszraz1
+ysze2ra
+yszer2v12
+y1sz2f
+y1sz2k
+y1sz2l
+y1sz2m
+ysz2g1el
+y1sz2p
+y1sz2t
+y1sz2v
+yta2c
+yt1ac
+yta2n1
+yta2n12
+yt2l12
+y2t1ll
+y2t1ll
+yt2raf
+yt2ran
+yt2rap
+y1t2r
+y1t2re
+y1t2r
+y1t2ri
+y1t2ro
+yt2rn
+yt2r
+y1udv
+yu2g1
+yu2ge
+y1ugr
+yu2gy
+yu2hu
+y1ujj
+yuj2j1a2da
+yu2kab
+yu2kar
+yu2k1asz
+yu2k1c
+yu2kl
+yuk2s
+yuk1s
+yu2k1e
+yu2k1
+yu2k
+yuk1t2
+yu2k
+y1und
+y1u2ni
+y1u2no
+yu2rad
+yu2rai
+yu2rak
+yu2ral
+yu2ram
+yu2ras
+yu2rat
+y1u2rn
+y1u2rv
+y1urn
+y1u2ru
+yu2sl
+yus3s
+yu2sz
+y1u2szo
+yu2tak
+yu2tal
+yu2tam
+yu2tat
+yu2taz
+yu2tl
+y1utc
+yu2td
+y1u2tu
+y1u2t
+y1bl
+y1br
+y1gr
+y1jd
+y12j
+y12j
+y1jr
+y1js
+y2kel
+y2k1es
+y2ket
+y2kev
+y2k
+y2kl
+y2l1ag
+y2laj
+y2lar
+y2l12r
+y2lt
+y2l1eg
+y2l1el
+y2l1e2t
+y2lin
+y2l1is
+yl2tag
+y2l
+y2l
+y1pl
+y1p2r
+y1rb
+y12r.
+y1rl
+y12rv
+y1rho
+y12ri
+y1rk
+y1rn
+y1rr
+y1rt
+y1sta
+y2s
+y1szt
+y1tb
+y2t.
+y1th
+yti2
+y2ti.
+y2tig
+y1tj
+y1tk
+y1tm
+y1tn
+y12ton
+y1tp
+y1tr
+y1ts
+y1tt
+y1tv
+y2d
+y12gy
+y2kt
+y2l
+y2led
+y1ltet
+y1nn
+y2r
+y12r
+y12te
+y12t
+y1tk
+y12t
+y12veg
+y2vl
+y12ze
+y12z
+y1zl
+y1bl
+y2n
+y2g1
+y1kl
+y1pl
+y1rb
+y12r.
+y2rb
+y2rn
+y2rn
+y1rr
+y2s
+y2s1orra.
+ys1s
+y12zb
+y12zen
+y12z
+y12zh
+y12zk
+y12zn
+y12zr
+y12zt
+y12zv
+y2v1abr
+y2v1a2d
+yva2d3z
+yvai2
+y2v1akc
+y2v1alb
+y2v1alk
+y2v1ank
+y2v1ant
+yv1a2nya
+y2v1apo
+y2v1arz
+yva2s1u2
+y2v1atk
+y2v1au
+y2v1azo
+yv1br
+yv1llo
+yv1llv
+yv12rai
+yv12rn
+y2v1re
+y2v1rj
+y2v1rl
+yvrosi2b
+yv1rre
+y2v12ru
+y2v1rv
+y2v1ta
+y2v1ti
+y2v1tt
+yv1br
+yv1dr
+yv1e2gye
+yv1egys
+yv1e2kb
+yv1ela
+y2v1e2l
+y2v1ell
+y2v1elo
+y2v1elti
+y2v1ember
+yven3n
+y2v1e2p
+yve2r1a
+yve2r12
+yve2reg
+yve2r1sz
+yve2rip
+yve2r1o
+yvert2
+y2v1essz
+y2v1eva
+y2v1e2v
+yv1e2v.
+y2v1ex
+yvez2rel
+yv2du
+yv1k
+yv12let
+y2v1lm
+y2v1lt
+y2v1p
+y2v1rd
+y2v12ri
+y2v1rr
+y2v1rt
+y2v12r
+y2v1rze
+y2v12ve.
+yv1fr
+yv1gr
+yvigaz1
+y2v1ig
+y2v1i2k
+y2v1ille
+y2v1im
+yv1ind
+y2vint
+y2v1i2p
+y2v1ism
+y2v1ist
+y2v1g
+y2v1n
+yv2zis
+yv2z
+yv1kl
+yv1kr
+y2v1old
+y2v1olv
+y2v1or
+y2v1os
+yv12r
+yv1ss
+y2v12z
+yv1r
+yv1pr
+yv1sk
+yv1sl
+yv1st
+yv1sz2
+yv1tr
+y2v1ub
+y2v1ud
+y2v1ur
+y2v1u2t
+yv1j
+yv1t
+y2v1g
+y2v12z
+yza2t1a2l
+yza2t1e
+yza2t1rd
+yz2r12ra
+yzs3s
+yze2t1a2
+yze2t1
+yze2t1r.
+yze2t12r.
+yze2ts
+yze2tte
+yze2t1o
+yze2t1l
+yz2k1e2l
+yza2
+yz2r
+2z.
+1za
+3zaba.
+zab2b1i2ko
+za2b1i2ga
+za1bre
+za1bri
+z1abro
+2zabs
+za2ce
+za2c1g
+za2cho
+zac1ikr
+za2c1im
+za2cipa
+za2c1iv
+za2c
+zac1k2
+zac3st
+za2dad
+2zadag
+zad1alj
+za2dan
+za2data
+2z1a2dato
+z1a2datr
+zads1s
+zadi2a
+za2d1r
+za2dme
+za2dz
+za1d2r
+za2d1ut
+za2dz
+za1fl
+za1f2r
+za2g1a2d
+za2gak
+za2ga2n
+zag1any
+za2gara
+za2g1a2t
+za2gau
+za2gg
+za2g1l
+zag1rn
+zag1rt
+za2g1z
+za2gel
+za2gs
+z1aggy
+2zagi
+za2gin
+z1a2git
+za2g1osz
+zagren2
+za2g1
+z1agy.
+z1a2gyak
+z1a2gyar
+z1agyb
+za2ij
+zai2z
+3zaj.
+3zaja.
+za2j1a2d
+za2jan
+za2j1tv
+3zajv
+za2jes
+3zajf
+za2jin
+3zajj
+zajk2rok
+3zajol
+za2j1or
+2zajta
+2zajt.
+z1ajtk
+2zajtt
+zaj1tr
+3zaj
+za2j12
+2zakad
+za2k1a2dat.
+zakai2ko
+za2k1aka
+zak1alk
+za2k1alv
+za2kana
+za2k1ant
+za2kara
+z1akarat
+z1a2kars
+z1a2kar
+z1akarv
+za2k1atl
+za2k12p
+za2k1ta
+za2k1tl
+2zakc
+z1akci
+za2k1e2g
+za2k1ele
+za2kelm
+za2k1eln
+za2k1el
+za2ket
+za2k12l
+za2k1int
+za2k1i2p
+zak1iro
+za2k1r
+zak1k2
+za1klu
+2z1aknk
+zak1oszt
+za2k1o2v
+za2ks
+za1kr
+2zakt
+2zakti
+z1aktv
+2zakt
+zaku1p2
+zaku2r
+zak1ura
+za2k1ur
+zak2
+za1kv
+zal1ac
+zala2g
+zalag1g
+2zalak
+za2lakj
+za2laku
+zala2n
+zal1any
+z1a2lapb
+za2lapj
+zal1tk
+zale2l
+zal1ele
+zal1ell
+zal1el
+za2l1e2m
+z1alg
+z1alge
+za2lid
+z1alkal
+z1alkat
+z1alkot
+2zalms
+za2ll
+zalta2n
+zal2tel
+zal2tem
+z1alti
+za2m1a2d
+za2m1aj
+zam1ala
+za2m1a2p
+zama2t12
+za2maz
+2z1ambu
+za2mem
+zam1ing
+za2m1is
+za2m
+za2m1osz
+za2m
+z1a2nal
+z1a2nek
+2zang
+z1angy
+2z1ankt
+zan2tes
+z1antil
+za2nya.
+z1a2nyag
+z1a2ny
+zao2k
+zao2s
+za2h
+za2v
+z1a2pa.
+za2pad
+za2p1a2g
+z1a2pai
+za2p1g
+z1a2pn
+za2p1ra
+z1a2pt
+z1a2pv
+zape2l
+zap1ele
+za2pem
+za2pes
+za2p
+za1p2ln
+z1a2p.
+z1a2p
+z1a2pk
+2zap1p2
+zappa2ne
+zap3rof
+zap1s2
+za2r1a2d
+za2ran
+zar1a2nya
+zar1apa
+za2rar
+z1a2ri
+za2r1l
+z1a2rny
+z1a2rr
+2zarc
+z1arc.
+z1arca
+z1arc
+z1arch
+z1arci
+z1arck
+z1arco
+z1arc
+zare2t
+za2r1ete
+za2rev
+za2rna
+za2rn
+2zarm
+za2r1n
+za2r1
+zar2vg
+2zarz
+za2sem
+za1s2k
+za1s2ko
+za1s2li
+za1s2p
+za1spr
+za2t1ab
+za2t1a2d
+za2t1aj
+zat1alap
+zat1alj
+zat1ana
+za2t1a2ny
+zat1ar
+zat1att
+za2tau
+za2taz
+za2t1ll
+zat1lo
+zat2p
+zat1po
+za2t1rad
+za2t1r
+za2t12ru
+za2t1el
+zat1elk
+za2t1e2r
+za2t1erk
+za2t12g
+za2tl
+zat1i2ko
+za2tim
+za2t1ind
+za2t1ing
+za2tins
+za2t1int
+za2t1ist
+za2tiz
+zat1k2
+2z1atka.
+z1atlas
+zatmo1s
+zatmosz2
+za2t1okos
+zat1olda
+2zatomj
+zat1oml
+za2t1osz
+za2tk
+za2t1n
+zat2rok
+za1trom
+zatt2
+zat1tr
+za2tura
+za2tl
+za2tr
+2zaty
+za2tya
+za2ty
+za2ula
+za2ul
+za2ur
+zau2tak
+z1a2uto
+z1aut
+za2t
+za2z
+za3var
+3zavarb
+2zavat
+z1az.
+z1azh
+z1a2zo
+1z
+2z1br
+z2de
+zg1a2d
+z2gak.
+z2gako
+z2g1al
+z12gas
+z12gat
+z2gaz
+zg1azo
+z2g1l
+z2g12rak
+z2g1ru
+z2g1e
+z2gp
+z2golta
+z12gi
+z2g1t.
+z2g
+z1gy.
+z12gya
+zgy1a2da
+z1gyb
+z1gyh
+z1gyn
+z1gyr
+z12gyu
+z2r
+z2j1k
+z2j
+z2j1ol
+z2j1s
+z2j
+z2j
+z2j
+z2kin
+z2k12v
+zla2n
+z2l1any
+zl1apr
+z1lar
+zl1assz
+z1lca
+z1lc
+z1ld
+z2l1e2g
+z2l1e2l
+z2l1em
+z2lib
+z2lid
+zl1ing
+z2lir
+z1llam
+z1llap
+z1lma
+z1lm
+z1lmo
+z2lob
+zlo2d
+z2l1oda
+z2los
+z2l
+z2ly1a2l
+z2mac
+z2m1a2d
+z2m1aj
+z2m1a2l
+zm1any
+z2m1a2p
+zma2r
+zm1ar
+z2maz
+z2m1tl
+z2m12to
+z2ml
+z2m12r
+z2m1ik
+z2mip
+z2mir
+zm1orm
+zm1ors
+z2m
+z2m
+z2m
+z2m1ut
+z2m
+z2m
+z2naj
+z2n1as
+z2n1at
+z2n1t
+z2nem
+z2nis
+z2n1it
+zn3n
+z2n1osz
+zn1sp
+z2n
+zny2
+z2p1ad
+z2p1ag
+z2p1orz
+z1p2r
+z12radd
+z2r1a2dot
+z2r1a2l
+z12ramk
+z12raml
+zra2n
+z2r1any
+z2r1ap
+z2rar
+z2r1ati
+z2r1a2to
+z2r1att
+z2r1av
+z2r1l
+3zrs.
+3zrsa
+3zrsb
+3zrsi
+zrs1s
+z2r12sz
+z1rbev
+3zrd
+zr2dem
+zr2d3z
+2z2r1em
+z2rb
+2zrf
+2z12ri
+z2rid
+z2r1i2k
+z2rim
+z2r1is
+z2r1iz
+zr1k2
+3zrkk
+2zrk
+3zrlat
+2zrn
+2zrny
+zr2nyl
+z2r1osz
+3zr.
+3zra
+z2r1bo
+3zrd
+zr1v
+z2r12r
+z2r
+2zrr
+zrs2
+zr1sk
+zrt1any
+zr2t1es
+zrt2r
+zr1tro
+z2rug
+z12ruh
+z1ruj
+2zrunkn
+2zrunkr
+z2r
+z1rvah
+z2s1a2d
+z2saj
+z2sal
+z2s1a2r
+z2s1at
+z2saz
+z2s12g
+z2s1rad
+z2s12r
+z2s12r
+z2s1rh
+z2s1rn
+z2s1rt
+z12ss
+z2sep
+zs1ikon
+z2sis
+z2s1
+z2s1ol
+z12s.
+zs12r
+z1sv
+z2sut
+z2s
+z2s3zav
+3zszl
+zsz3se
+z1tad
+zt1a2d.
+zt1a2dk
+zt2r
+2ztb
+2z1tc
+z1td
+zt1e2m
+z2tl
+2z1tf
+2zth
+z1tha
+z1the
+z1t2hi
+z12t1i2
+2z1tj
+2z1tm
+z1tra
+z1tro
+2zts
+2z1tv
+z2z1ala
+zza2t
+z2z1ato
+z2z1e2
+z2zv
+z2z1ol
+z2zos
+zz2
+z2zr
+z2z
+z2zsaj
+z2zsas
+zz4s
+z2zsl
+z2zsol
+zba2ki
+zbe2
+zb2le
+zb2lo
+zb2l
+zb2ri
+zb2r
+zb2r
+zc2lu
+zcsa2p12g
+zda1p2
+zdas2
+z2d1ass
+zd1ll
+zds1s
+zd1s2p
+zd2ri
+zd1u2r
+1ze
+zea2d
+zea2g
+zea2k
+zea2l
+zea2s
+zen2sze
+ze2r
+ze2z
+2z1eb.
+2zebe
+ze2be.
+ze2bei
+ze2bek
+z1e2bd
+z1ebf
+z1ebh
+z1ebk
+2z1ebn
+ze1bru
+2zece
+z1e2cet
+z1e2ch
+z1e2cset
+ze2d1l.
+ze2d1lj
+ze2d1ln
+ze2d1lt
+ze2d1lv
+zede2r1e
+ze2dil
+ze2d12
+2z1e2dz
+zee2s
+z1eff
+ze1fr
+ze2g1a2l
+ze2gap
+ze2gar
+ze2g1l
+ze2g1r
+ze2g1eg
+zeg1ell
+ze2gep
+zeget2t1eb
+zeg1rr
+zeg2sz
+zeg1szb
+zeg1sz
+ze2gid
+ze2gil
+ze2gol
+ze2g
+ze2gyed
+ze2gy1e2l
+ze2gyene
+ze2gyez
+z1egyl
+z1egys
+ze2het
+ze2ia
+zei2g
+zei2s
+ze2r
+zekci2sz
+zek1e2gy
+ze2k1ell
+z1e2kit
+2zekk
+ze2kil
+ze1k2lap
+ze2k1ott
+zek1vek
+ze2k
+ze1k2re
+zek1t2
+ze2k12l
+z1ekviv
+ze2lag
+ze2lar
+ze2ll
+z1elbo
+2zeledel
+z1e2lef
+ze2leji
+2zelekt
+ze2leme.
+ze2lemek
+zelem1el
+zele2m1r.
+ze2lem
+zele2p
+zele2p1el
+zele2po
+zele2p12l
+z1e2l1e2re
+ze2l1esz
+zele2t
+zele2ter
+2z1e2lg
+2z1elr
+zel1rh
+zels1s
+z1elh
+2z1elhel
+2z1elher
+ze2litet
+z1elk
+2z1ellto
+2zellen
+z1ellene
+2z1elnev
+z1eln
+ze2lof
+z1e2los
+z1e2l2l
+z1eln
+2z1e2lha
+zel2saj
+z1e2lz
+z1els
+z1elt
+2z1eltr
+2z1elto
+2z1elt
+z1e2lu
+2z1e2l
+z1elv.
+z1elvek
+z1elves
+2z1elvev
+z1elvez
+z1elvn
+z1elvt
+2z1elv
+z1elz
+2zema
+ze2mak
+ze2m1g
+ze2m1r
+ze2mt
+2zember
+z1ember.
+z1emberb
+z1ember
+z1emberh
+z1emberk
+z1embern
+z1emberr
+z1embert
+z1embl
+2zeme.
+ze2m1eg
+2zemei
+2zemek
+ze2m1ell
+ze2m1eng
+2zemb
+2zemh
+ze2m1k
+ze2m1le
+ze2m12l
+ze2m12l
+ze2m1lt
+ze2m1lv
+ze2m12rt
+2zems
+zem2te
+ze2m1ten
+ze2m1tet
+ze2m1tj
+2zemv
+ze2migr
+ze2m1ing
+ze2m1int
+ze2mis
+ze2m1iz
+ze2m1
+2zemk
+2zeml
+2zemm
+ze2mol
+ze2m1osz
+ze2m12
+ze2m1
+2zems
+z1emul
+zem1ur
+ze2m
+2zem
+2zemv
+zemvz1
+3zeneir
+3zeneka
+zenesz2
+3zen
+3zeni
+3zenj
+ze2np
+zenk2
+zenkt1
+ze2n1o
+zen2tag
+zen2tal
+zen2t1an
+zen2t1as
+zente2g
+zen2t1egy
+zen2telm
+zen2t1ere
+zen2tev
+zen2t12j
+zen2t1imr
+zen2tip
+zen2tis
+zen2t
+zen2tol
+zen2t12
+zen2t1
+zent2s
+zen2t1se
+2zenz
+zeo2k
+zeo2m
+ze2r
+2zepb
+2zepi
+2zepn
+2zepit
+2z1epj
+2z1e2pm
+2z1e2ps
+z1epiz
+ze1pla
+ze1ple
+2zepr
+ze1p2ri
+ze1pr
+ze2r1a2d
+ze2raj
+ze2r1ajt
+ze2rakr
+ze2r1al
+ze2ram
+ze2r1a2n
+ze2r1a2r
+ze2r1as
+ze2r1a2t
+ze2r1au
+ze2raz
+ze2r1ga
+ze2r12r
+ze2rs
+ze2r12t
+zer2bin
+zer1d2
+z1erd
+ze2r1eb
+ze2r1e2ce
+ze2red
+ze2rege
+zer1e2ge.
+ze2r1e2g
+ze2r1egg
+ze2r1egy
+z1e2reje
+zer1ejt
+z1e2rej
+z1e2rej
+ze2r1e2ke.
+z1e2rekl
+ze2reldj
+ze2r1ember
+ze2r1emi
+ze2r1eng
+zere2p1a
+ze2r1e2r
+ze2r1e2ss
+ze2r1essz
+ze2r1este
+zer1e2sze.
+zer1eszk
+ze2reszt
+ze2r1eu
+ze2r1e2v
+ze2rg
+ze2r12j
+ze2r1k
+ze2r12l
+ze2r1p
+zer1g2
+ze2r1i2d
+ze2r1iga
+ze2r1iko
+ze2r1ill
+ze2r1i2m
+ze2r1ina
+ze2rind
+ze2r1inf
+ze2r1ing
+ze2r1inj
+ze2r1ink
+ze2r1intel
+ze2r1int
+zer1int
+ze2rio
+ze2rism
+ze2riz
+ze2r12j
+zer1k2
+zer2nal
+ze2r1okt
+ze2r1old
+ze2rolv
+ze2ror
+ze2r1ost
+ze2r1osz
+ze2roti
+ze2r12r
+ze2rk
+2ze2r
+z1er.
+z1erf
+z1eri
+z1erk
+z1erl
+z1ern
+z1ers
+z1ert
+z1erv
+zer1z
+zer1p2
+zer1s
+zers2k
+zers2p
+zers2t
+zert12lom
+zer2tit
+zer2tr
+zer1tra
+zer1tren
+ze2r1un
+ze2rur
+ze2rus
+ze2r1u2t
+ze2r1t
+ze2r12g
+2zer
+zer2v1a2d
+zer2van
+zer2vel
+zer2vl
+2z1e2sedk
+ze2s1e2kh
+z1e2setb
+z1e2sete.
+z1esetes
+z1e2setet
+z1e2set
+z1e2seti
+z1e2setr
+2z1e2ss.
+2z1e2ssb
+2z1essd
+2z1e2sse.
+2z1e2ssei
+2z1e2ssek
+2z1e2ssem
+2z1e2ssen
+2z1e2sses
+2z1e2ss
+2z1e2ssh
+2z1e2ssi
+2z1e2ssk
+2z1e2ssn
+2z1e2ssr
+2z1e2sss
+2z1e2sst
+ze2s1it
+ze1s2mi
+2z1e2s
+zesp2
+ze1s2pe
+ze1spr
+2zeste
+z1estek
+z1estem
+2z1est
+z1esti.
+ze1s2til
+2z1estj
+ze1sto
+z1estre
+z1estt
+ze2s12v
+ze2szg
+zesz1e2get
+ze2szelle
+ze2szeng
+ze2szh
+ze2sz12le
+ze2sz1im
+ze2szip
+2zeszk
+z1eszk
+ze2szol
+zeszt2
+zesz1tr
+ze2t1ab
+ze2tac
+ze2t1ala
+ze2t1a2ny
+ze2tj
+ze2t12l
+ze2t12p
+ze2t1t
+zet1eg
+zet1el
+ze2t1ell
+ze2telm
+ze2t1e2l
+ze2t1e2ld
+ze2t1elr
+zet1emel
+ze2t1eml
+ze2tene
+zet1erk
+zet1e2r
+zete2s1g
+zetest2
+zetes1tr
+z1e2tet
+ze2t1eti
+ze2tetn
+ze2t1d
+ze2t12j
+ze2t12l
+ze2trte
+ze2t1rt
+zet1rt
+ze2t12r
+zet2sz
+zet1sze
+zet1ter
+ze2tid
+z1e2tika
+ze2t1i2ko
+zet1ill
+ze2t1ing
+ze2tt
+zetksz1e
+ze2tom
+zet1ont
+ze2top
+ze2t12r
+ze2t12v
+zet1ri
+zet1r
+zet1rt
+ze2tut
+ze2tr
+ze2t12z
+ze2ty
+zeu2g
+z1e2ur
+ze2t
+z1e2v
+ze2x1id
+ze2xim
+ze2x1i2p
+z1expe
+zex2t1
+ze2x
+z1e2zer
+z1ezr
+1z
+z12ber
+2z1br
+z2dak
+z2d1a2l
+z2d1a2r
+z2d1as
+z2dat
+z2d12
+z2d1ekt
+z2d1e2lem
+z2delm
+zde2r1
+zd1esem
+z2d1esz
+z2d1eti
+z2d1s
+z2dik
+z2d
+z2d1
+zdren2
+zdu2
+z2dur
+z2d
+z2d3z
+z2f
+z1g.
+z1gb
+z12ge
+z2g
+z12gi
+z1gn
+z12g
+z1gr
+z1gt
+z12he.
+z12hen
+2z12hes
+z12het
+2z1hs
+2zid
+z1j.
+z2jen
+z12ji
+zjje2l1e2
+z1js
+2z1jl
+2z12jn
+z2k1a2d
+z2k1a2l
+z2k1a2n
+z2k1ap
+z2k1as
+z2ks
+z2k1eg
+z2k1e2kt
+z2k1elr
+z2ker
+z12kez
+z2k1k
+z2k12l
+z2k1s
+zk1old
+zk1osz
+z2k12
+z2kr
+z2kr
+zk2l
+z2k1l
+z2k1l
+zla2
+z2lab
+z2lad
+z2lak
+z2l1an
+z2las
+z2l12
+2z2le2l
+zl1ele
+zl1ell
+zl1el
+zl1elt
+z2l1e2r
+2zlet.
+2z12letb
+2z12lete.
+2z12leten
+2z12let
+z2letf
+2z12leth
+2z12leti
+2z12letn
+2z12letp
+2z12letr
+2z12lets
+2z12lett
+2z12let
+2z12let
+2zl
+z2l1kh
+z2lim
+z2l1ist
+z2l
+2zlm
+z2l1o
+z2l12
+2zls
+2zlt
+z2l1u2
+z2l
+z2lya
+z2ly
+z2ly1esh
+z2lyo
+2zme
+z2n1rn
+zndio2
+z2neg
+2z12nekb
+2z12neke
+z12nek
+z2nekk
+2znekl
+z12nekn
+z2nekr
+z2nek
+z2n1e2l
+z2n1e2r
+zni2
+z2nik
+z2nil
+z2nim
+z2n1io
+z2n1is
+z2n
+z2nom
+z2n
+z2n
+znt2
+z2n12l
+z2p1a2g
+z2p1a2l
+z2p1any
+z2p1a2p
+z2p1a2r
+z2pas
+z2pat
+z2pau
+z2pav
+z2p12r
+z2pt
+z2peg
+zp1ell
+z2pez
+zp1f2
+z2pin
+z2p1i2p
+z2pir
+z2p1i2s
+2zpt
+zpo2
+z2pol
+z2pos
+z2p
+z2p
+zp1s
+z2pud
+z2p1us
+z2p
+2zpl
+z2rab
+z2rag
+z2r1a2l
+z12ram
+z2r1a2n
+z2rap
+z2rar
+z2r1as
+z2rat
+z2rav
+z2r12
+zr1d2
+z2r1e2lem
+z2r1e2lemk
+z2r1e2lemn
+z2remb
+zr1eml
+z2r1esz
+2zrett
+z2rev
+z2rs.
+z2rsb
+z2rse
+z2rsi
+z2rsk
+z2rsn
+z2r1id
+z2rim
+z2ris
+z2r1o2k
+z2r1os
+3zrs
+z2r
+2z12r.
+z12ri
+z12rk
+z2rs
+z12rt
+zr1s
+zr2taj
+2zrtekez
+2zrtelm
+2z1rtetl
+2z1rtet
+2z1rtk
+2z1rthet
+z1rto
+z2r
+z2sab
+z2san
+z2sar
+z2s1az
+z2s12
+z2seg
+z2s1e2l
+z2s1e2r
+z2s1eti
+z2s1g
+z2ss
+z2s1i2k
+z2sok
+z2s
+zs3s
+z2s12t
+z2s3za
+z1szb
+z12sz
+z1szl
+z2sz
+zs3zs
+z2t1a2b
+z2t1ad
+z2tag
+z2t1aj
+z2t1a2k
+z2t1a2l
+z2t1ap
+z2t1a2s
+z2t1au
+z2t12
+zte2n
+zte2se
+zte2s
+z2tg
+z2t12n
+z2t1i2
+2ztk
+z2tol
+z2t1o2m
+z2tor
+z2t1o2s
+z2tun
+z2t
+z2t12
+z2t1
+2ztv
+2z1v.
+2z1vad
+z1vb
+2z12ve.
+2z12vek
+2z12ven
+2z12ves
+z12vn
+z12vt
+z12vv
+z1vf
+2zvi
+z12vi.
+z1vk
+2z1vn
+z1vr
+z1vs
+z1vt
+z12v
+2z1vv
+zfa2l1a2da
+zfa2l1aj
+zfa2l1e2l
+zfa2les
+zfe2l1em
+zfe2len
+zfe2reg
+zf2la
+zf2le
+zf2li
+zf2lo
+zf2l
+zfora2
+zfo2rat
+zfo2riz
+zfldi2
+zf2ra
+zf2r
+zf2re
+zf2ri
+zf2r
+zf2ro
+zf2r
+zgs3s
+zg2s3z
+zg2z
+zg2p1e2kt
+zg2sa
+zg2s
+zg2sem
+zgs3s
+zg2la
+zg2l
+zg1g2
+zg2ny
+zg2z12
+zg2zr
+zg2z1
+z1g2ra
+z1g2rf.
+z1g2rff
+z1g2rfh
+z1g2rfj
+z1g2rfk
+z1g2rfn
+z1g2rfr
+zg2r
+z1g2ru
+zhn2
+zh2t1a2d
+zhzkz1
+1zi
+zi2aa
+zi2a
+zi2abo
+zi2ac
+zi2ad
+zi2ae
+zi2a
+zi2ag
+zi2ah
+zi2a
+zi2aj
+zi2akp
+zi2ak
+zi2al
+zi2am
+zi2ao
+zi2a
+zi2a1p2
+zi2ar
+zi2asza
+zi2aszo
+zi2asz
+zi2at
+zi2au2
+zi2a
+zi2a
+zi2av
+2z1ibr
+2zicc
+zi1ch
+z1i2de
+z1i2deg
+z1i2deo
+zi2dn
+2z1i2d
+zie2l
+zie2m
+zi2a
+zi2
+zi2ke
+zi2p
+zi2ta
+zi2t
+zi2
+z1ifj
+z2ig.
+zi2ga.
+2z1igazg
+2z1i2gazo
+z1i2gs
+zi2gj
+2z1i2gn
+zi1g2r
+2zigye
+zi2k1a2n
+zik1kek
+zi2kik
+zi2kim
+zi2k1ing
+zi1klu
+zi2k1u2r
+zikus1s
+zi2ler
+zi2l12j
+zi2l1k
+zi2l1ing
+zi2l1
+z1i2ma.
+zi2mak
+zi2mb
+zi2mj
+zi2mk
+zim1ll
+zi2mr
+zi2mt
+zi2mz
+zim1b
+zi2m1e2g
+zi2m1e2l
+zi2m12r
+zi2m1rt
+zim1ind
+zi2m1ip
+z1i2mit
+zi2m
+zi2n1a2d
+zi2n1a2l
+zi2n1a2n
+zi2n1a2r
+2z1i2nas
+zi2n1au
+zi2ni
+zi2n1ll
+z1indu
+zin1emb
+zi2ng
+zin2gas
+zin2gl
+zi2n1i2m
+zi2n1in
+zi2n
+zin3n
+zi2nol
+zin1s2
+zin2t1a2d
+zin2t1a2l
+zin2t1a2s
+zin2tt
+zin2t12z
+zinte2l
+zin2t1ele
+zin2tel
+zin2telt
+z1interj
+z1interp
+z1interv
+zin2tom
+zin2t1n
+zi2n1u2t
+zi2n
+zi2ol
+2z1i2ono
+2z1i2ons
+zi2ot
+zi2a
+zi2
+zi2c
+zi2e
+zi2g
+zi2
+zi2kam
+zi2kap
+zi2k
+zi2ke
+zi21kl
+zi2l
+zi2m
+zi2m
+zi2n
+zi2ny
+zi2o
+zi21p2
+zi2r
+zi2s
+zi2s
+zi21s2k
+zi21sp
+zi2sz
+zi2ta
+zi2t
+zi2
+zi2
+zi2
+zi2pai
+zi2pari
+zi2pj
+zi1p2l
+zi1p2r
+z1i2rat
+2zir
+z1i2rn
+z2i3re
+2ziro
+z1i2rod
+zi2rn
+z2i3r
+2zirt
+zir2t1a2
+z1irt
+zir2to
+z1irt
+zi2sad
+zi2sal
+zi2sam
+zi2sar
+zi2s1a2s
+zi2sl
+zi2s1ro
+zi2s1e2g
+zi2s1e2l
+zi2s1er
+zise2s
+zi2s1ese
+zi2s1esz
+zi2s1k
+zi2srte
+zis1vi
+zi2s1il
+zi2sin
+zi2s1is
+zi2sit
+zi2s1o2v
+zi2s12
+zi2s
+zi2s
+ziss2
+zis3sza
+zis3sz
+zis3szo
+zist2
+zis1tra
+zis1tre
+zi2sut
+zi2s12v
+zi2s3zaj
+zis3zav
+zis3zn
+zi2t1ll
+zit1ru
+zi2t1e2g
+zi2t1elr
+zit1eng
+zi2tt
+zi2til
+zi2tin
+zi2tip
+zi2tir
+zi2t1or
+zit2
+zi2tr
+zi2t1t
+zi2r
+z1i2vad
+2z1i2v
+2z1i2z
+2zizm
+z1izmo
+z1i2zom
+1z
+z2g
+z2jan
+z2je
+z2j
+z2j
+z2nac
+z2nad
+z2naku
+z2nal
+z2nan
+z2nas
+z2nat
+z2n1ll
+z2n1r
+z2nt
+z2n1e2r
+z2nl
+z2n
+z1nna
+zn3nye
+zno2
+z2n1od
+z2n1ok
+z2nos
+z2n12
+z2n
+z2nu
+z2n
+z12ny
+znyenc1
+z2r1a
+2z12r
+z2rog
+2z12r
+zta2
+zte2
+ztksz1
+z2vaj
+zv1akt
+z2val
+z2var
+z2ver
+z2v1
+z2vul
+z2v
+z2ze
+z2z
+z2z
+zje2gy12
+z2k1abl
+z2k1alak
+z2k1alj
+z2k1alt
+zka1p2l
+z2k1a2rd
+z2k1a2rj
+z2k1a2rn
+zkar2
+zka2rr
+zka1s2k
+z2k1llv
+zk1bl
+zk1dr
+zk1egys
+z2kenn
+zk1eszk
+z2k1et
+z2k1r.
+z2k1rt
+z1k2h
+zkia2
+zki2
+zkie2
+zki2g
+z2k1ig
+zki2s
+zk2la
+z1k2l
+zk2ler
+z1k2l
+zk2l
+z1k2lu
+z2k1olda
+zkon2t1r
+z2k1ont
+zko2r1os
+z2k1oszl
+z3koszt
+z2kkor
+zk1kort
+zk2p
+zk2z3s
+zk2zele
+zkz1ell
+zk2z12l
+zk2h
+zk1pr
+z1k2rak
+zk2r
+z1k2re
+z1k2rm
+z1k2rta
+z1k2rt
+zk2r
+z1k2ro
+z1k2rn
+zkult3
+zkultr2
+z2k1u2rn
+z2k1u2rt.
+z2k1ut
+z1k2val
+zk2v
+zky2b
+zky2h
+zky2j
+zky2k
+zky2n
+zky2r
+zky2t
+zky2v
+zla2tal
+zlata2n
+zlat1any
+zl2m1e
+zl2mis
+zls3s
+z2lv.
+z2lve
+z2lv
+z2lvk
+z2lvn
+z2lvo
+z2lvv
+zleg1g
+zlei2
+zle2
+z2leng.
+zle2tak
+zle2tal
+zle2t1a2n
+zle2tl
+zle2t12r
+zle2t1eg
+zle2t1ell
+zle2tesz
+zle2tl
+zle2t1r.
+zlet1rv
+zle2ts
+zle2t12t
+zle2t12ve.
+zletigaz1
+zle2t1u
+zle2tz
+zl2s
+zl2so
+zls3s
+zlina2
+zli2nan
+zli2nin
+z2loge
+zlo2p1as
+zlo2p
+zl2
+zl2s1orr
+zma1pr
+zmas2
+zma1sp
+zme2
+zme2ge
+zme3gom
+zmi2n1a2
+zmi2n1e
+zmusksz1
+zmu2s
+zmu2s3z
+zmu2tok
+zna2pes
+znie2
+zni2
+z2nob
+zn1str
+znt2
+zn1tr
+1zo
+z1obj
+z1o2d
+zo2es
+z1o2ka.
+z1o2k1a2d
+z1o2kai
+zo2k1l
+zoki2
+zo2k1ip
+z1o2k1ir
+z1okke
+z1okle
+2z1o2koz
+2zokta
+zo2lab
+2z1o2laj
+zolaj2
+zola2j1r
+zola2je
+zo2l1a2l
+zo2l1as
+zol1br
+zo2l1ro
+z1oldal
+2z1oldh
+2z1old
+zo2l1e
+zol1f2
+zol1inf
+zo2l1is
+zo2l1
+z1oll
+zo2l
+z1olts
+z1olt.
+zol1t2re
+zo2l
+2zolvad
+zo2m1a2g
+zo2mak
+zo2m1a2l
+zo2m1a2n
+zo2map
+zo2m1a2s
+zom1ll
+zo2m12r
+zom1b2
+3zombor.
+2zome
+zo2meg
+zo2m1el
+zo2men
+2zom
+zo2ml
+zom2t
+zo2m1te
+2zomf
+2zomg
+zomi2
+zo2min
+zo2miz
+zom2j
+2zoml
+zo2m1ors
+zo2m1os
+2zo2m
+2zom1p2
+2zom1s
+2zomz
+zo2n1aj
+zo2n1ak
+zo2n1a2la
+zo2n1al
+zo2n1alk
+zona2n
+zo2n1any
+zo2n1a2r
+zon1asz
+zo2n1au
+zo2nld
+zo2n1ll
+zo2n1tl
+zone2
+zo2neg
+zo2nel
+zo2n1er
+zo2nes
+zo2nv
+zo2nin
+zo2n1i2o
+zo2n1or
+zono2s
+zo2n12
+zo2n
+zon1s2
+zon2t1es
+zon2tin
+zon1tre
+zo2n
+zo2ny1ad
+zo2ny1a2l
+zo2ny1a2n
+zo2nyar
+zo2nyav
+zo2nye
+zo2nyid
+zo2nyij
+zo2ny
+zo2ol
+zo2om
+z1opl
+z1o2pe
+zo1pho
+zo2r1a2d
+zo2raf
+zo2r1ag
+zo2r1aj
+zo2r1a2l
+zo2ran
+zo2r1as
+z1o2rat
+zo2r1au
+zo2r1e2
+zor1f2
+zo2rid
+zo2r1il
+zor1ing
+z1orm
+zo2r1ol
+zo2rop
+zo2rosz
+zo2r12
+zo2r
+z1orr.
+z1orr
+z1ors
+zor1t2re
+zo2r
+2z1osko
+z1ost
+z1osto
+zo1sz2f
+z1oszl
+zosz2tat
+2zote
+2zot
+zot2pa
+zo2vi
+zo2xi
+1z
+za2d
+z2g
+z2r
+z1bl
+z1b2r
+z1cl
+z2d1e2l
+z1fl
+z1f2r
+z1gl
+zgy2k1r
+zi2g
+z2v
+zja1
+z1k2l
+z1kr
+zkupac1
+2zl.
+z1lm
+z2lomb
+3znd
+3zni
+z12ni
+2z1nj
+2z1nn
+z12nod
+2z1nt
+z2r
+z1p2l
+z1p2r
+z12rad
+z12rar
+z2rasz
+z2ri
+z12rj
+z12rk
+z12rr
+zrs1s
+z12rt
+z12rv
+z12ri
+zs1k.
+z2s1n.
+z1s2k
+z1sl
+z1s2ta
+z1st
+zsz1akad
+zsz1ll
+z2szene
+z2sz12le
+z2sz1j
+zsz12l.
+zta2g1a2
+zt2g
+zt1ge
+z1tr
+z12v
+1z
+z2b
+z2bo
+z2b
+z1cc
+z2d
+z2d
+z2ga
+z2g
+zg3g
+z2gil
+z2g
+z2go
+zg2
+z2g1l
+z2gu
+z2gy
+2z1kl
+2z12ko
+2zkr
+3zldes
+3zlds
+2zleb
+z2les
+2z1lniv
+z1lyv
+2z1ml
+z12na
+z12n
+2znb
+2zne
+2zn
+2zni
+2znl
+2znne
+2zn
+2znr
+2znt
+3zrej
+zr2f1e
+zr2f1o
+zr2nya
+zr2ny
+zr2nyel
+zr2nyesz
+zr2nyk
+zr2ny
+z2rk
+zr2p1a2
+zr2p
+2z1rv
+2zssz
+z1sv
+z1szt
+z2te
+2z1tl
+2z1tv
+z1v.
+z12vei
+z12vek
+zve2t1e2l
+z12vez
+z2z
+1z
+za2c
+za2l
+z2g
+z1bl
+z1br
+z2l
+z1fl
+z1f2r
+zgpi2
+zg2p1ip
+z1gr
+z1kl
+zm1
+zny2
+z2ny1er
+z2ny12k
+z2nyrt
+z1pl
+z1pr
+z2ran
+z2r1e2c
+z2r1ege
+z2rel
+z2r1er
+2zrk
+2zrl
+z1rl
+2zrm
+z2rol
+2zr
+z2r12g
+2zrz
+z1rz
+z1rz
+z2sis
+z1sk
+z1spe
+z1s2pi
+z1sta
+z1sti
+z1str
+zsz2
+z1szf
+z1szt
+z1tr
+z2l
+zpen1n
+zp2fe
+zp2la
+zp2l
+zp2lo
+zpor2t1e2
+zpor2t12
+zpor2t1
+z1p2ra
+z1p2ri
+z1p2ro
+z1p2ru
+zrae3le
+zrdii2t
+zre2d12
+zre2del
+zre2d12k
+zre2d3z
+zren2d12
+3z2r.
+z2s
+1zsa
+zs1abla
+2zs1a2dat
+2zs1a2d
+zsag2
+2zsah.
+2zsajt
+2zs1akc
+2zs1alj
+2zs1alm
+2zs1alt
+zsa2ny
+zsa2pa.
+2z3sapk
+zsa2rn
+z3sarj
+2z3sark
+2z3sarl
+2zs1arz
+2zs1aszt
+zs1atl
+zsa1tr
+2zs1a2ty
+2zsaut.
+2zsautn
+zs1azo
+1zs
+2zs1br
+2z3sf
+2z3sg
+zs1ggy
+zs2k
+2zs1la
+2zslc
+2zslm
+2zs12p
+2zs12rak
+2zsrat
+2z3sri
+2zsru
+2zste
+2zs1tk
+2zsto
+2zst
+2zs1ts
+2zs12zs
+zs1bl
+zs1br
+z3s2ch
+zscsap2
+zsde1s
+zs1dr
+1zse
+zse2ba
+zse2biro
+zse2b1o2
+2zsebz
+zs1e2ce
+zs1e2d
+z3sej
+2zsell
+zs1elm
+2zsel
+zs1e2lf
+zs1e2lr
+2zsember
+2zs1e2mel
+zs1enc
+zs1ene
+zse2raj
+zse2r12
+zse2rel
+zsere2s
+zse2r1esz
+zse2r1k
+zse2rin
+zse2r1o
+2zsese
+zse2sz
+zs1ev
+2zs1ex
+2zsez
+1zs
+z3sg
+zs2ge2l
+2zshs
+2zsl
+zs1le
+2zsp
+2zs1rd
+2zs1rte
+2zs1rt
+3zsry
+2zsrz
+2zste
+2zs1tk
+2zs1tr
+2zs1tt
+2zs12ve.
+zs1fl
+zs1fr
+zs1gr
+1zsi
+2zsid
+2zsig
+2zsig
+zsi2kor
+2zs1ill
+2zs1i2m
+zsi2min
+zsi2m1u
+2zsinas
+zs1i2pa
+z3sipk
+2zsirat
+zs1irato
+2zs1iro
+2zs1irt
+2zs1ism
+2zsist
+zsi2tat
+2zsiv
+zs1iz
+2zs1izm
+2zs1i2zo
+zs1izz
+1zs
+2z3sb
+zs1j
+2z3sk
+2z3sp
+zs2r1a2
+zs2r2
+3zsrb
+3zsr
+3zsros
+3zsrr
+3zsrt2
+2zs12v
+2zs12z
+zs1kl
+zs1k2r
+1zso
+2z3sof
+2zs1okm
+2zs1okta
+2zsolaj
+zs1oli
+3zsom
+2zs1op
+2zsor
+z3soro
+2zsosty
+2zs1osz
+1zs
+zs1n
+zs1r
+1zs
+2zskr
+2zslz
+2zs1s
+zs12ve
+1zs
+zs2pir
+zs1p2l
+zsp2r
+zs1s2k
+zs1s2p
+zs1st
+zs3sz
+zssze2r1e2l
+z3s2tad
+z3s2tat
+z3s2top
+zst2r
+zs1tro
+z3s2t
+1zsu
+2zs1ud
+2zsugr.
+2zsugrr
+2zsugr
+3zsul
+2zsum
+zsu1s
+zsusz2
+1zs
+2zs1j
+2zsl
+zs2r1a
+1zs
+2zsg
+2zslt
+2zsnn
+zs1s
+2zst
+2zs1z
+1zs
+zs1wh
+zs3zac
+z3szag
+zsza2k
+zsza2k1
+z3szav
+zs3zp
+zs3zs
+z3szem
+zs3zen
+z3szer
+z3sz
+zsz2f
+z3szi
+zszind2
+z3sz
+z3sz2k
+zsz2l
+z3szo
+z4s3zon
+z3sz
+z3sz
+zsz2p
+zs3zs
+zsz2t2
+z3sz
+z3sz
+zt1abla
+z2t1a2bor
+z2t1a2c
+z2ta2dal
+zt1a2dat
+zt1a2d
+z2t1agre
+z2t1a2k
+z2t1akc
+z2t1akk
+zt1akn
+ztakz1
+z2t1akv
+zt1a2lap
+ztale2l
+zta2lele
+z2t1anal
+ztan2e
+zt1anes
+zt1ank
+zta2n12
+zt1a2nyag
+zt1anyak
+zt1anyas
+zt1anyd
+zt1anym
+zt1anyu
+z2t1anyu
+zt1a2pn
+zt1a2ps
+zt1a2pt
+z2t1ap
+zt1app
+z2t1aps
+zt1a2puk
+z2t1a2ra.
+zt1arn
+z2t1arc
+zta1sp
+zt1assz
+z2taszt
+zt1aszta
+z2tatig
+z2t1atk
+z2t1aty
+z2t1a2ut
+zt1br
+zt2cs
+zt1cso
+zt1g.
+z2t12ga
+z2tli
+z2t1lm
+zt2raj
+zt2r1ass
+zt1rem
+zt2ris
+z2t1rn
+zt1rnya
+z2troc
+z2trokk
+zt2r1olt
+zt2r1ra
+ztr1sm
+ztr1s2p
+ztrt2
+zt1rv
+zt2sz
+zt1szo
+zt1szt
+z2t1tha
+z2t1ts
+z2t1tv
+ztvi2
+zt2v1ir
+zt1bl
+zt1dr
+z2t1e2b
+z2t1ef
+z2t1e2g
+z2t1egy
+z2t1e2ke.
+z2t1e2ks
+z2t1ela
+z2t1el
+z2t1elb
+z2t1e2legy
+z2t1e2leme
+z2t1e2lemm
+z2telemz
+z2t1elf
+z2t1elj
+z2t1ellt
+z2t1elm
+z2teln
+z2t1e2lo
+zt1e2lad
+z2t1e2lc
+z2t1elr
+z2t1elt
+z2t1elto
+z2t1ember
+z2t1e2mel
+z2t1eml
+z2tent
+zt1ente
+zte2raj
+zte2rak
+zte2rl
+zte2rr
+z2terde
+ztere2ot
+zte2repo
+zte2rill
+zte2ris
+zte2riz
+zte2rosz
+z2t1e2rot
+z2t1e2r
+z2t1er
+zte2r12l
+zte2sz
+z2t1esze
+z2t1esz
+z2t1eszk
+z2t1ezr
+zt1g.
+zt1gb
+zt12g
+zt1gr
+z2t12j
+zt2k1e2l
+z2t1kn
+z2t12le
+z2tl
+zt12ls
+z2t1lm
+z2t12l
+z2t1lt
+zt1l
+z2t1p
+zt2r
+z2t1rd
+z2t1rl
+z2t1rt
+z2t1rz
+zt2sz
+z2t1szh
+z2t1szn
+zt2tt
+z2t1tk
+zt12ves.
+zt1vt
+zt1fl
+zt1fr
+zt1gr
+z1t2hen
+ztia2g
+zt1i2den
+z2t1id
+z2tidi
+z2t1ifj
+z2t1i2g
+z2t1i2kon
+z2t1ille
+z2tim
+z2t1imp
+z2t1ind
+z2tinfe
+z2t1info
+z2t1ing.
+z2t1ing
+z2t1ingb
+z2t1inge
+z2t1ing
+z2t1ingg
+z2tingu
+z2t1inte
+z2t1int
+z2t1inv
+zti2p
+z2t1ipa
+z2t1ir
+z2t1isk
+z2t1ism
+z2t1ist
+z2t1iste
+z2tital
+z2t1i2tat
+z2t1j
+z2t12r
+zt12veke
+zt1kl
+zt1kr
+zt1kv
+z2toi
+z2t1o2koz
+z2t1olt
+zto2lyag
+zt1ope
+zto2ras
+zto2r1e
+z2t1orgi
+ztorksz1
+zt1ornam
+z2torr
+z2torvo
+z2t1oszl
+zt1oszt
+zt2
+ztigaz1
+z2t12ni
+zt1p2
+zt1sp
+zt1tr
+zt1ko
+zt2l
+z2t1le
+ztn3n
+zt2rks
+z2t1ss
+zt12vez
+zt1vig
+z2t1z
+zta2
+zte2l
+zt2b
+z2t1rh
+zt1rl
+z2t1rs
+zt12sei
+z2t12s
+zt1s
+zt1pl
+zt1pr
+zt1ps
+z1tranz
+zt2rd
+z1t2rg
+z1trf
+z1t2rn
+z1t2rik
+z1tril
+z1t2ri
+z1t2r
+zt1sl
+zt1sn
+zt1sp
+zt1st
+zt1sz
+zt1t2r
+z2t1udv
+z2t1ug
+z2t1ura
+z2t1uru
+ztus3s
+zt1u2tat
+z2t1utu
+z2t1j
+z2t1r.
+z2t1rb
+z2t12r
+z2t1rh
+z2t12ri
+z2t1rk
+z2t1rn
+z2t12ro
+z2t1rr
+z2t1rt
+z2t1g
+zt2l
+z2t1ls
+ztl1l
+z2t1t
+z2t12v
+zt12zem
+z2t1r.
+z2t12ri
+z2tye
+1zu
+zu2b1a
+3zubb
+zu2b1i
+zu2bu
+zu2c3s
+3zug.
+zu2gag
+zu2gap
+zu2gru
+zu2g1s
+3zugb
+zu2g1e2
+zu2g
+zu2gin
+zu2git
+zu2giv
+zu2g
+3zugo
+zu2g1or
+zu2g
+zu2g
+zu2g
+3zuha
+zule2
+zu2lel
+zu2l1enc
+zu2l1es
+zuli2n
+zu2l
+zulya2
+zu2ly1ag
+zu2mab
+zu2m1a2d
+zu2maj
+zu2mal
+zu2mar
+zu2m1as
+zume2
+zumegyez1
+zu2mel
+zu2m1en
+zu2ml
+zu2m12n
+zu2m1id
+zu2m1in
+zu2m1i2p
+zu2m
+zumksz1
+zu2mol
+zu2m
+zu2mur
+zu2m
+2zund
+z1undo
+zu2ne
+zu2n1
+2zuni
+zu2n12
+zu2ral
+zu2ram
+zurat2
+2z1urn
+zu2r
+zu2sad
+zus1aka
+zu2sal
+zusa2n
+zus1any
+zu2sas
+zu2s1g
+zu2s1e2
+zu2s1rt
+zu2sis
+zu2s1
+zusksz1
+zu2s1ol
+zu2s12
+zu2s
+zuss2
+zussz2
+zus3sze
+zus3szi
+zust2
+zus1tr
+zu2s12
+zu2sz1i2k
+zu2szon
+zu2s3z
+2z1u2ta
+z1u2t
+2z1utc
+zu2tol
+zu2t.
+zu2tb
+zu2ti
+zu2tj
+zu2tn
+z1u2tu
+1z
+z1dr
+z1fl
+3zg
+z1jd
+z12j
+z12j
+z1js
+z2r1e2
+zr2t
+z12szs
+z2t.
+z12tr
+z1th
+z1ti
+z2ti.
+z2tiak.
+3z2tiaka
+z2tiakr
+z2tib
+z2tig
+z2tih
+z2tin
+z2tiv
+z12t
+z1tj
+z1tn
+z12ton
+z1tr
+z1tt
+z2t
+z1tv
+3zz
+3zzd
+3zz
+1z
+z2d
+zgy1s
+z1gyk
+z1ld
+z12lep
+z12lseb
+z12lset
+z2ni
+2znn
+z2r
+z12r
+z12te
+z12t
+z1tk
+z12t
+z2ve
+z2v
+z2zen
+z1zl
+1z
+z2csa
+z2cs
+z2csip
+z2cs1o
+z2ra
+z2r
+zrs3s
+z2r1i2z
+z1rla
+z2r
+z2ru
+z2z1a2
+z2z1
+z2ze
+zz2r
+z2z1re
+z2zo
+z12z
+z2zs
+z2z
+zva2su
+zvros2
+zvro2s1om
+zve2gya
+zv2nyel
+z2vit.
+zvi2tc
+z2vitj
+zy1ak
+z1yar
+zy2be
+zy2je
+zy2ne
+zy2n
+zy2re
+zy2r
+zy2sa
+zy2so
+zy2t
+zy2ve
+z2z1ll
+zz2r12r
+zzt2
+zz1tr
+zzi2n12
+zz2le
+zz1ly
+z2zs
+z3zsk
+z3zsm
+z3zsi
+z3zs
+z3zso
+}
+\endgroup
diff --git a/mayor-orig/mayor-base/update/linkme.sh b/mayor-orig/mayor-base/update/linkme.sh
new file mode 100644
index 00000000..60a70424
--- /dev/null
+++ b/mayor-orig/mayor-base/update/linkme.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+parentLink="naplo/hibabejelento/hibabejelento naplo//szulinap naplo/haladasi/haladasi naplo/haladasi/stat naplo/osztalyozo/diak
+naplo/osztalyozo/jegy naplo/osztalyozo/dolgozat naplo/osztalyozo/bizonyitvany naplo/osztalyozo/stat
+naplo/bejegyzesek/bejegyzesek naplo/bejegyzesek/info naplo/tanev/fogadoOra naplo/orarend/helyettesites naplo/tanev/munkaterv naplo/orarend/orarend
+naplo/intezmeny/valtas naplo/intezmeny/diak naplo/intezmeny/diakSzulo naplo/hianyzas/diak naplo/hianyzas/diakLista naplo/hianyzas/nap naplo/uzeno/uzeno naplo/ertekeles/ertekeles
+naplo/uzeno/postas naplo//error
+portal/hirek/egyhir
+session/download"
+publicLink="naplo/orarend/orarend naplo/orarend/szabadTerem naplo/orarend/helyettesites naplo//error"
diff --git a/mayor-orig/mayor-base/update/post002038-1.sh b/mayor-orig/mayor-base/update/post002038-1.sh
new file mode 100644
index 00000000..cc91d170
--- /dev/null
+++ b/mayor-orig/mayor-base/update/post002038-1.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+echo 'A post update szkriptek tesztelése'
+echo 'A post fut!!' >> /tmp/mayor-update-test.log
+
diff --git a/mayor-orig/mayor-base/update/pre002038-1.sh b/mayor-orig/mayor-base/update/pre002038-1.sh
new file mode 100644
index 00000000..c798ce9e
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre002038-1.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+echo 'A pre update szkriptek tesztelése'
+echo 'A pre fut!!' >> /tmp/mayor-update-test.log
+
diff --git a/mayor-orig/mayor-base/update/pre002989-0.sh b/mayor-orig/mayor-base/update/pre002989-0.sh
new file mode 100644
index 00000000..7ecb21ee
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre002989-0.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+FILE="update/pre002989-1-intemzeny.sql"
+
+echo " Felesleges állományok törlése:"
+ echo -n " $BASEDIR/$FILE ... "
+ if [ -e "$BASEDIR/$FILE" ]; then
+ rm -f "$BASEDIR/$FILE"
+ echo "törölve."
+ else
+ echo "nincs."
+ fi
+echo " Kész." \ No newline at end of file
diff --git a/mayor-orig/mayor-base/update/pre003042-1-mayor_login.sql b/mayor-orig/mayor-base/update/pre003042-1-mayor_login.sql
new file mode 100644
index 00000000..471b654f
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre003042-1-mayor_login.sql
@@ -0,0 +1,12 @@
+CREATE TABLE `loginLog_a` (
+ `logId` int(10) unsigned NOT NULL,
+ `policy` varchar(10) NOT NULL DEFAULT 'private',
+ `userAccount` varchar(50) DEFAULT NULL,
+ `ip` varchar(15) DEFAULT NULL,
+ `dt` datetime DEFAULT NULL,
+ `flag` tinyint(3) unsigned DEFAULT NULL
+) ENGINE=ARCHIVE DEFAULT CHARSET=utf8;
+INSERT INTO loginLog_a SELECT * FROM loginLog WHERE dt<CURDATE() - INTERVAL 1 DAY;
+DELETE FROM loginLog WHERE dt<CURDATE() - INTERVAL 1 DAY;
+alter table loginLog ADD INDEX IDX_puf (policy,userAccount,flag);
+alter table loginLog ADD INDEX IDX_pudf (policy,userAccount,dt,flag);
diff --git a/mayor-orig/mayor-base/update/pre003079-0.sh b/mayor-orig/mayor-base/update/pre003079-0.sh
new file mode 100644
index 00000000..f2a48bde
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre003079-0.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+FILE="$BASEDIR/www/skin/classic/base/css/head.css"
+
+echo " Felesleges állományok törlése:"
+ echo -n " $BASEDIR/$FILE ... "
+ if [ -e "$BASEDIR/$FILE" ]; then
+ rm -f "$BASEDIR/$FILE"
+ echo "törölve."
+ else
+ echo "nincs."
+ fi
+echo " Kész." \ No newline at end of file
diff --git a/mayor-orig/mayor-base/update/pre003396-1-mayor_login.sql b/mayor-orig/mayor-base/update/pre003396-1-mayor_login.sql
new file mode 100644
index 00000000..3d1899f2
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre003396-1-mayor_login.sql
@@ -0,0 +1,41 @@
+
+DELIMITER $$
+ DROP PROCEDURE IF EXISTS upgrade_database_3396c $$
+ CREATE PROCEDURE upgrade_database_3396c()
+ -- READS SQL DATA
+ BEGIN
+ DECLARE done INT DEFAULT FALSE;
+ DECLARE DB VARCHAR(255);
+ DECLARE statement TEXT;
+ DECLARE cur1
+ CURSOR FOR
+ SELECT DISTINCT TABLE_SCHEMA FROM information_schema.TABLES WHERE TABLE_SCHEMA LIKE 'mayor\_%';
+ DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE;
+
+ OPEN cur1;
+ lo: LOOP
+ IF done = TRUE THEN
+ LEAVE lo;
+ END IF;
+
+ FETCH cur1 INTO DB;
+
+ IF NOT EXISTS (
+ SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DB COLLATE utf8_general_ci AND TABLE_NAME='mayorUpdateLog'
+ ) THEN
+ SET @statement = CONCAT('CREATE TABLE ',DB,'.`mayorUpdateLog` (
+ `scriptFile` varchar(255) COLLATE utf8_hungarian_ci NOT NULL DEFAULT \'\',
+ `dt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ PRIMARY KEY (`scriptFile`,`dt`)
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;');
+ PREPARE command FROM @statement;
+ EXECUTE command;
+ DEALLOCATE PREPARE command;
+ END IF;
+
+ END LOOP;
+ CLOSE cur1;
+ END; $$
+DELIMITER ; $$
+
+CALL upgrade_database_3396c();
diff --git a/mayor-orig/mayor-base/update/pre003738-1-mayor_login.sql b/mayor-orig/mayor-base/update/pre003738-1-mayor_login.sql
new file mode 100644
index 00000000..7b44f6e2
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre003738-1-mayor_login.sql
@@ -0,0 +1,25 @@
+DELIMITER $$
+DROP PROCEDURE IF EXISTS upgrade_database_3738 $$
+CREATE PROCEDURE upgrade_database_3738()
+BEGIN
+
+SET NAMES utf8 COLLATE utf8_hungarian_ci;
+
+CREATE TABLE IF NOT EXISTS accountRecovery (
+ `recoveryId` INTEGER(11) UNSIGNED NOT NULL AUTO_INCREMENT,
+ `policy` enum('private','parent','public') COLLATE utf8_hungarian_ci NOT NULL,
+ `userAccount` varchar(32) COLLATE utf8_hungarian_ci NOT NULL,
+ `selector` CHAR(16),
+ `token` CHAR(64),
+ `expires` DATETIME,
+ PRIMARY KEY(`recoveryId`),
+ KEY(`selector`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
+
+END $$
+DELIMITER ;
+CALL upgrade_database_3738();
+
+
+
+
diff --git a/mayor-orig/mayor-base/update/pre003760-1-mayor_login.sql b/mayor-orig/mayor-base/update/pre003760-1-mayor_login.sql
new file mode 100644
index 00000000..e2fa02fc
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre003760-1-mayor_login.sql
@@ -0,0 +1,34 @@
+DELIMITER $$
+DROP PROCEDURE IF EXISTS upgrade_database_3760 $$
+CREATE PROCEDURE upgrade_database_3760()
+BEGIN
+IF NOT EXISTS (
+ SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='mayorKeychain'
+) THEN
+ CREATE TABLE `mayorKeychain` (
+ `dt` date DEFAULT NULL,
+ `OMKod` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000',
+ `publicKey` text COLLATE utf8_hungarian_ci NOT NULL,
+ `valid` tinyint(1) unsigned NOT NULL DEFAULT '1',
+ `naploUrl` varchar(255) COLLATE utf8_hungarian_ci NOT NULL,
+ PRIMARY KEY (`OMKod`,`valid`)
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
+ELSE
+ IF NOT EXISTS (
+ SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND COLUMN_NAME='naploUrl'
+ ) THEN
+ ALTER TABLE mayorKeychain ADD `naploUrl` varchar(255) NOT NULL;
+ END IF;
+END IF;
+
+END $$
+DELIMITER ; $$
+CALL upgrade_database_3760();
+
+INSERT IGNORE INTO mayorKeychain (dt,OMKod,publicKey,valid,naploUrl)
+VALUES (CURDATE(), '09862967','-----BEGIN PUBLIC KEY-----
+MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbMFUWy0Juy/7uHROaLOMPSHMI
+Vw/jSmEAKW6lCeIOH2oUVsAQkgsZCFiKqQhH3WbtLrAzSmOA7+rEU3RtgXtPZpHN
+2UUPQqoHWoMOkumfIS5oM0sQgSQ738TC0X9yxZlNqZtdpdCa0zjVnGLxqVVhS3KD
++O8uuA7jQwczlSqWJwIDAQAB
+-----END PUBLIC KEY-----',1,'https://www.mayor.hu');
diff --git a/mayor-orig/mayor-base/update/pre003763-1-mayor_login.sql b/mayor-orig/mayor-base/update/pre003763-1-mayor_login.sql
new file mode 100644
index 00000000..7c363519
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre003763-1-mayor_login.sql
@@ -0,0 +1,36 @@
+DELIMITER $$
+DROP PROCEDURE IF EXISTS upgrade_database_3763 $$
+CREATE PROCEDURE upgrade_database_3763()
+BEGIN
+ IF NOT EXISTS (
+ SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND COLUMN_NAME='nev'
+ ) THEN
+ ALTER TABLE mayorKeychain
+ ADD `nev` varchar(128) default NULL,
+ ADD `rovidNev` varchar(16) default NULL,
+ ADD `cimHelyseg` varchar(32) default NULL,
+ ADD `cimIrsz` varchar(8) default NULL,
+ ADD `cimKozteruletNev` varchar(32) default NULL,
+ ADD `cimKozteruletJelleg` varchar(32) default NULL,
+ ADD `cimHazszam` varchar(20) default NULL,
+ ADD `telefon` varchar(64) default NULL,
+ ADD `fax` varchar(64) default NULL,
+ ADD `email` varchar(96) default NULL,
+ ADD `honlap` varchar(96) default NULL,
+ ADD `kapcsolatNev` varchar(128) default NULL,
+ ADD `kapcsolatEmail` varchar(96) default NULL,
+ ADD `kapcsolatTelefon` varchar(64) default NULL,
+ ADD `mayorTipus` ENUM('intézmény','fenntartó','backup','fejlesztői','boss') DEFAULT 'intézmény';
+ END IF;
+END $$
+DELIMITER ; $$
+CALL upgrade_database_3763();
+
+DELETE FROM mayorKeychain WHERE OMKod=9862967;
+INSERT IGNORE INTO mayorKeychain (dt,OMKod,publicKey,valid,naploUrl,mayorTipus)
+VALUES (CURDATE(), '09862967','-----BEGIN PUBLIC KEY-----
+MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbMFUWy0Juy/7uHROaLOMPSHMI
+Vw/jSmEAKW6lCeIOH2oUVsAQkgsZCFiKqQhH3WbtLrAzSmOA7+rEU3RtgXtPZpHN
+2UUPQqoHWoMOkumfIS5oM0sQgSQ738TC0X9yxZlNqZtdpdCa0zjVnGLxqVVhS3KD
++O8uuA7jQwczlSqWJwIDAQAB
+-----END PUBLIC KEY-----',1,'https://www.mayor.hu','boss');
diff --git a/mayor-orig/mayor-base/update/pre003856-1-mayor_login.sql b/mayor-orig/mayor-base/update/pre003856-1-mayor_login.sql
new file mode 100644
index 00000000..3c7a8c25
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre003856-1-mayor_login.sql
@@ -0,0 +1,16 @@
+DELIMITER $$
+DROP PROCEDURE IF EXISTS upgrade_database_3856 $$
+CREATE PROCEDURE upgrade_database_3856()
+BEGIN
+ IF NOT EXISTS (
+ SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='facebookConnect'
+ ) THEN
+ CREATE TABLE `facebookConnect` (
+ `fbUserId` bigint(20) NOT NULL,
+ `userAccount` varchar(64) COLLATE utf8_hungarian_ci NOT NULL,
+ `policy` enum('public','parent','private') COLLATE utf8_hungarian_ci DEFAULT NULL
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
+END IF;
+END $$
+DELIMITER ; $$
+CALL upgrade_database_3856();
diff --git a/mayor-orig/mayor-base/update/pre003858-1-mayor_login.sql b/mayor-orig/mayor-base/update/pre003858-1-mayor_login.sql
new file mode 100644
index 00000000..804ceb46
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre003858-1-mayor_login.sql
@@ -0,0 +1,12 @@
+DELIMITER $$
+DROP PROCEDURE IF EXISTS upgrade_database_3858 $$
+CREATE PROCEDURE upgrade_database_3858()
+BEGIN
+ IF EXISTS (
+ SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='facebookConnect'
+ ) THEN
+ ALTER TABLE facebookConnect ADD UNIQUE INDEX (fbUserId);
+END IF;
+END $$
+DELIMITER ; $$
+CALL upgrade_database_3858();
diff --git a/mayor-orig/mayor-base/update/pre003860-1-mayor_login.sql b/mayor-orig/mayor-base/update/pre003860-1-mayor_login.sql
new file mode 100644
index 00000000..239c81ff
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre003860-1-mayor_login.sql
@@ -0,0 +1,12 @@
+DELIMITER $$
+DROP PROCEDURE IF EXISTS upgrade_database_3860 $$
+CREATE PROCEDURE upgrade_database_3860()
+BEGIN
+ IF NOT EXISTS (
+ SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='facebookConnect' AND COLUMN_NAME='fbUserCn'
+ ) THEN
+ ALTER TABLE facebookConnect ADD fbUserCn varchar(64), ADD fbUserEmail varchar(64), ADD studyId varchar(12);
+END IF;
+END $$
+DELIMITER ; $$
+CALL upgrade_database_3860();
diff --git a/mayor-orig/mayor-base/update/pre003950-1-mayor_login.sql b/mayor-orig/mayor-base/update/pre003950-1-mayor_login.sql
new file mode 100644
index 00000000..66918fb2
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre003950-1-mayor_login.sql
@@ -0,0 +1,33 @@
+
+alter table mayorKeychain change `naploUrl` `url` varchar(255) COLLATE utf8_hungarian_ci NOT NULL;
+alter table mayorKeychain add column `nodeId` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000' first;
+alter table mayorKeychain change column `mayorTipus` `nodeTipus` enum('intézmény','fenntartó','backup','fejlesztői','controller','boss') COLLATE utf8_hungarian_ci DEFAULT 'intézmény' after `nodeId`;
+update mayorKeychain set nodeTipus='controller',url='https://www.mayor.hu' where OMKod='09862967';
+alter table mayorKeychain modify column `nodeTipus` enum('intézmény','fenntartó','backup','fejlesztői','controller') COLLATE utf8_hungarian_ci DEFAULT 'intézmény' after `nodeId`;
+
+update mayorKeychain set `nodeId`=`OMKod` where `OMKod`<>'00000000' and `nodeId`='00000000';
+-- duplikátumok kiszűrése, módosítása... hogyan?
+alter table mayorKeychain drop primary key;
+alter table mayorKeychain add primary key (`nodeId`);
+
+alter table mayorSsl add column `nodeId` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000' after `sslId`;
+-- valahogy be kell állítani a saját nodeId-t... Esetleg publicKey segítségével a reg. szervertől...
+
+
+
+-- -- portal-mayor.regisztracio --
+
+-- alter table regisztracio add column `nodeId` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000' after `regId`;
+-- alter table regisztracio add column `nodeTipus` enum('intézmény','fenntartó','backup','fejlesztői','controller') COLLATE utf8_hungarian_ci DEFAULT 'intézmény' after `nodeId`;
+-- alter table regisztracio change `naploUrl` `url` varchar(255) COLLATE utf8_hungarian_ci NOT NULL;
+
+-- update regisztracio set nodeTipus='controller',url='https://www.mayor.hu' where OMKod='09862967';
+-- -- a valid mező nem tudom mire kell...
+-- update regisztracio set `nodeId`=`OMKod` where `OMKod`<>'00000000' and `nodeId`='00000000';
+-- alter table regisztracio add unique key (`nodeId`);
+-- -- publicKey tördelése --
+-- update regisztracio set publicKey = concat_ws('\n','-----BEGIN PUBLIC KEY-----',mid(publicKey,27,64),mid(publicKey,91,64),mid(publicKey,155,64),
+-- mid(replace(publicKey,'-----END PUBLIC KEY-----',''),219,64),nullif(mid(replace(publicKey,'-----END PUBLIC KEY-----',''),283,64),''),
+-- nullif(mid(replace(publicKey,'-----END PUBLIC KEY-----',''),347,64),''),nullif(mid(replace(publicKey,'-----END PUBLIC KEY-----',''),411,64),''),
+-- '-----END PUBLIC KEY-----') where publicKey not like '%\n%';
+
diff --git a/mayor-orig/mayor-base/update/pre003950-2.sh b/mayor-orig/mayor-base/update/pre003950-2.sh
new file mode 100644
index 00000000..e913c1d4
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre003950-2.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+FILES="mayor-base/www/policy/public/portal/rpc/rpc.php
+mayor-portal-mayor/www/policy/public/portal/regisztracio/regisztracio.php
+mayor-portal-mayor/www/skin/mayor/module-portal/css/regisztracio
+mayor-portal-mayor/www/skin/mayor/module-portal/css/regisztracio/regisztracio.css
+mayor-portal-mayor/www/skin/mayor/module-portal/html/regisztracio
+mayor-portal-mayor/www/skin/mayor/module-portal/html/regisztracio/regisztracio.phtml"
+
+echo " Felesleges állományok törlése:"
+for FILE in $FILES; do
+ echo -n " $BASEDIR/$FILE ... "
+ if [ -e "$BASEDIR/$FILE" ]; then
+ rm -f "$BASEDIR/$FILE"
+ echo "törölve."
+ else
+ echo "nincs."
+ fi
+done
+echo " Kész." \ No newline at end of file
diff --git a/mayor-orig/mayor-base/update/pre003958-1-mayor_login.sql b/mayor-orig/mayor-base/update/pre003958-1-mayor_login.sql
new file mode 100644
index 00000000..9a1c17b5
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre003958-1-mayor_login.sql
@@ -0,0 +1,3 @@
+
+update mayorKeychain set nev='MaYoR HU',cimHelyseg='Budapest' where OMKod='09862967';
+
diff --git a/mayor-orig/mayor-base/update/pre004179-1-mayor_login.sql b/mayor-orig/mayor-base/update/pre004179-1-mayor_login.sql
new file mode 100644
index 00000000..66d18869
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre004179-1-mayor_login.sql
@@ -0,0 +1,22 @@
+DELIMITER $$
+DROP PROCEDURE IF EXISTS upgrade_database_4179 $$
+CREATE PROCEDURE upgrade_database_4179()
+BEGIN
+ IF NOT EXISTS (
+ SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='googleConnect'
+ ) THEN
+
+CREATE TABLE `googleConnect` (
+ `googleSub` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `userAccount` varchar(64) COLLATE utf8_hungarian_ci NOT NULL,
+ `policy` enum('public','parent','private') COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `googleUserCn` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `googleUserEmail` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `studyId` varchar(12) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ UNIQUE KEY `googleSub` (`googleSub`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
+
+END IF;
+END $$
+DELIMITER ; $$
+CALL upgrade_database_4179();
diff --git a/mayor-orig/mayor-base/update/pre004356-1-mayor_login.sql b/mayor-orig/mayor-base/update/pre004356-1-mayor_login.sql
new file mode 100644
index 00000000..8a8a5440
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre004356-1-mayor_login.sql
@@ -0,0 +1,21 @@
+DELIMITER $$
+DROP PROCEDURE IF EXISTS upgrade_database_4356 $$
+CREATE PROCEDURE upgrade_database_4356()
+BEGIN
+ IF NOT EXISTS (
+ SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='eduroam'
+ ) THEN
+
+CREATE TABLE `eduroam` (
+ `userAccount` varchar(64) COLLATE utf8_hungarian_ci NOT NULL,
+ `policy` enum('public','parent','private') COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `eduroamUID` varchar(32) COLLATE utf8_hungarian_ci NOT NULL,
+ `eduroamPASSWORD` varchar(128) COLLATE utf8_hungarian_ci NOT NULL,
+ `eduroamAFFILIATION` ENUM ('staff','faculty','student','') DEFAULT '',
+ `modositasDt` datetime DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
+
+END IF;
+END $$
+DELIMITER ; $$
+CALL upgrade_database_4356();
diff --git a/mayor-orig/mayor-base/update/pre004388-1-mayor_login.sql b/mayor-orig/mayor-base/update/pre004388-1-mayor_login.sql
new file mode 100644
index 00000000..f0d7b148
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre004388-1-mayor_login.sql
@@ -0,0 +1,12 @@
+DELIMITER $$
+DROP PROCEDURE IF EXISTS upgrade_database_4388 $$
+CREATE PROCEDURE upgrade_database_4388()
+BEGIN
+ IF NOT EXISTS (
+ SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='eduroam' AND COLUMN_NAME='eduroamDOMAIN'
+ ) THEN
+ALTER TABLE `eduroam` ADD `eduroamDOMAIN` varchar(128) COLLATE utf8_hungarian_ci NOT NULL;
+END IF;
+END $$
+DELIMITER ; $$
+CALL upgrade_database_4388();
diff --git a/mayor-orig/mayor-base/update/pre004412-1-mayor_login.sql b/mayor-orig/mayor-base/update/pre004412-1-mayor_login.sql
new file mode 100644
index 00000000..b1b414ae
--- /dev/null
+++ b/mayor-orig/mayor-base/update/pre004412-1-mayor_login.sql
@@ -0,0 +1,27 @@
+DELIMITER $$
+DROP PROCEDURE IF EXISTS upgrade_database_4412 $$
+CREATE PROCEDURE upgrade_database_4412()
+BEGIN
+ IF NOT EXISTS (
+ SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='authToken'
+ ) THEN
+
+CREATE TABLE `authToken` (
+ `tokenId` int(11) unsigned NOT NULL AUTO_INCREMENT,
+ `policy` enum('private','parent','public') COLLATE utf8_hungarian_ci NOT NULL,
+ `userAccount` varchar(32) COLLATE utf8_hungarian_ci NOT NULL,
+ `userCn` varchar(64) COLLATE utf8_hungarian_ci NOT NULL,
+ `studyId` bigint(20) unsigned DEFAULT NULL,
+ `selector` char(16) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `token` char(64) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `expires` datetime DEFAULT NULL,
+ `ipAddress` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ `activity` datetime DEFAULT NULL,
+ PRIMARY KEY (`tokenId`),
+ UNIQUE KEY `selector` (`selector`)
+) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
+
+END IF;
+END $$
+DELIMITER ; $$
+CALL upgrade_database_4412();
diff --git a/mayor-orig/mayor-base/update/processUpdateScripts.sh b/mayor-orig/mayor-base/update/processUpdateScripts.sh
new file mode 100644
index 00000000..1a29835f
--- /dev/null
+++ b/mayor-orig/mayor-base/update/processUpdateScripts.sh
@@ -0,0 +1,269 @@
+#!/bin/bash
+
+source $BASEDIR/update/linkme.sh
+
+# Setting Mysql Connection Parameters
+echo -e "[mysqld]
+character-set-server = utf8
+collation-server = utf8_hungarian_ci
+skip-character-set-client-handshake
+[client]
+host=$MYSQL_HOST
+user=$MYSQL_USER
+password=$MYSQL_PW
+" > $BASEDIR/config/my.cnf
+
+PRECHARSET="SET NAMES 'utf8' COLLATE 'utf8_hungarian_ci'; "
+#PRECHARSET="$PRECHARSET SET collation_connection = utf8_hungarian_ci; "
+
+MYSQL_CONFIG="--defaults-extra-file=$BASEDIR/config/my.cnf"
+MYSQL_PARAMETERS=""
+TEST=`$MYSQL -h$MYSQL_HOST -u$MYSQL_USER -p$MYSQL_PW -e exit 2>&1 >/dev/null`
+if [ $? == "0" ]; then
+ echo "SQL-connect test #2 OK"
+ MYSQL_PARAMETERS="-h$MYSQL_HOST -u$MYSQL_USER -p$MYSQL_PW"
+else
+ echo "Hibás SQL csatlakozás(2)"
+fi
+TEST=`$MYSQL $MYSQL_CONFIG -e exit 2>&1 >/dev/null`
+if [ $? == "0" ]; then
+ echo "SQL-connect test #1 OK"
+ MYSQL_PARAMETERS=$MYSQL_CONFIG
+else
+ echo "Hibás SQL csatlakozás(1)"
+fi
+echo "Karakterkódolás ellenőrzése"
+echo "SHOW VARIABLES LIKE 'character%';" | $MYSQL $MYSQL_PARAMETERS
+# patch by Acsai Gabor <acsi@c3.hu> - FreeBSD
+TEST=`echo "SHOW VARIABLES LIKE 'character_set_client'" | $MYSQL $MYSQL_PARAMETERS | grep utf8 | wc -l | tr -d " "`
+if [ "x${TEST}" == "x1" ]; then
+ echo "SQL-UTF8 test OK"
+else
+ echo -e "\n\nERROR: Hibás - nem utf8 - MySQL kliens karakterkódolás!\n"
+ echo -e "Ellenőrizd a beállításokat és kérj segítséget a support@mayor.hu -n!\n"
+ exit 12
+fi
+# --
+
+run_script() {
+ # FILEELEJE=`echo $FILE | cut -f 1 -d '-'`
+ # patch by Acsai Gabor <acsi@c3.hu> - FreeBSD
+ FILEELEJE=$(basename $FILE | cut -f 1 -d '-')
+ FILEREV=${FILEELEJE: -6}
+ LOGSQL=""
+ if [ "$FILEREV" != "" ]; then
+ if [ "$FILEREV" -gt 3399 ]; then
+ LOGSQL="INSERT IGNORE mayorUpdateLog (scriptFile) VALUES ('${FILE}')"
+ fi
+ fi
+ if [ ! "${FILEREV}" \< "${REVSTR}" ]; then
+ # FILEEXT=`echo $FILE | cut -f 2 -d '.'`
+ # patch by Acsai Gabor <acsi@c3.hu> - FreeBSD
+ FILEEXT=$(basename $FILE | cut -f 2 -d '.')
+ if [ "$FILEEXT" == "sh" ]; then
+ echo " - Szkript futtatása ($FILE)..."
+ . $FILE
+ if [ $? != 0 ]; then exit 13; fi
+ elif [ "$FILEEXT" == "sql" ]; then
+ echo " - SQL utasítások végrehajtása ($FILE)..."
+ # FILEDB=`echo $FILE | cut -f 1 -d '.' | cut -f 3 -d '-'`
+ # patch by Acsai Gabor <acsi@c3.hu> - FreeBSD
+ FILEDB=$(basename $FILE | cut -f 1 -d '.' | cut -f 3 -d '-')
+ case "$FILEDB" in
+ naplo)
+ DBS=$DB_NAPLO
+ ;;
+ intezmeny)
+ DBS=$DB_INTEZMENY
+ ;;
+ auth)
+ DBS=$DB_AUTH
+ ;;
+ *)
+ DBS=$FILEDB
+ ;;
+ esac
+ for DB in $DBS; do
+ echo -e "\n $DB..."
+
+ if [ "$FILEREV" != "" ]; then
+ if [ "$FILEREV" -gt 3399 ]; then
+ TEST=`echo "SELECT count(*) as db FROM information_schema.TABLES WHERE TABLE_SCHEMA='${DB}' and TABLE_NAME='mayorUpdateLog'" | $MYSQL $MYSQL_PARAMETERS $DB | grep -v "db"`
+ if [ "$TEST" == "0" ]; then
+ echo " Hiányzik a mayorUpdateLog tábla... tovább..."
+ continue
+ fi
+ fi
+ fi
+
+ case "$FILEDB" in
+ naplo)
+ INTEZMENYDB=`echo $DB | sed -e 's/\(naplo_\)\(.*\)\(_.*\)/intezmeny_\2/'`
+ INTEZMENYROVIDNEV=`echo $DB | cut -f 2 -d '_'`
+ TANEV=`echo $DB | cut -f 3 -d '_'`
+ (cat $FILE && echo "${LOGSQL}") | sed -e "s/%INTEZMENYDB%/$INTEZMENYDB/g" | sed -e "s/%INTEZMENY%/$INTEZMENYROVIDNEV/g" | \
+ sed -e "s/%TANEV%/$TANEV/g" | $MYSQL $MYSQL_PARAMETERS $DB
+ ;;
+ auth)
+ (cat $FILE && echo "${LOGSQL}") | sed -e "s/%MYSQL_ENCODE_STR%/$MYSQL_ENCODE_STR/g" | $MYSQL $MYSQL_PARAMETERS $DB
+ ;;
+ intezmeny)
+ INTEZMENYROVIDNEV=`echo $DB | cut -f 2 -d '_'`
+ (cat $FILE && echo "${LOGSQL}") | sed -e "s/%INTEZMENY%/$INTEZMENYROVIDNEV/g" | $MYSQL $MYSQL_PARAMETERS $DB
+ ;;
+ *)
+ (cat $FILE && echo "${LOGSQL}") | $MYSQL $MYSQL_PARAMETERS $DB
+ ;;
+ esac
+ if [ $? != 0 ]; then
+ exit 13;
+ fi
+ done
+ [ ! -z $SQLLOG ] && echo $FILE >> $SQLLOG;
+ fi
+ fi
+}
+
+echo " Az új változat verziószáma: $UJ_REV"
+
+REVSTR=`printf "%06d" $REV`
+MYSQL_ENCODE_STR=`grep _MYSQL_ENCODE_STR $BASEDIR/config/main-config.php | sed -e "s/define('_MYSQL_ENCODE_STR','\(.*\)');/\\1/"`
+
+# mysql host beállítása
+if [ "$MYSQL_HOST" == "" ]; then
+ MYSQL_HOST="localhost"
+fi
+echo " A MySQL backend a következő lesz: $MYSQL_HOST"
+echo " Figyelem! MySQL Master-Slave architekturát az upgrade script jelenleg nem támogat!!!"
+
+echo -e "\n * Adatbázisok lekérdezése..."
+if [ -f $MYSQL ]
+then
+ DB_MAYOR=`$MYSQL $MYSQL_PARAMETERS -e"SHOW DATABASES LIKE 'mayor\_%'" | grep -e '^mayor\_[^_]*$'`
+ DB_NAPLO=`$MYSQL $MYSQL_PARAMETERS -e"SHOW DATABASES LIKE 'naplo\_%\_%'" | grep -e '^naplo\_[^\_]*\_20[0-9][0-9]$'`
+ DB_INTEZMENY=`$MYSQL $MYSQL_PARAMETERS -e"SELECT CONCAT('intezmeny_',rovidNev) FROM mayor_naplo.intezmeny" | grep -e '^intezmeny\_[^\_]*$'`
+# DB_INTEZMENY=`$MYSQL $MYSQL_PARAMETERS -e"SHOW DATABASES LIKE 'intezmeny\_%'" | grep -e '^intezmeny\_[^\_]*$'`
+ if [ $? != 0 ]; then exit 12; fi
+ DB_AUTH=""
+ for DB in $DB_MAYOR; do
+ if [ "$DB" == "mayor_parent" -o "$DB" == "mayor_private" -o "$DB" == "mayor_public" ]; then
+ DB_AUTH="$DB_AUTH $DB"
+ fi
+ done
+else
+ echo -e "\n\nERROR: A mysql kliens nem található: $MYSQL\n"
+ exit 12
+fi
+
+if [ "$SKIPLOCK" != "1" ]; then
+ if [ ! -z $LOCKFILE ]; then
+ echo -e "\n * A web-es elérés letiltása:"
+ echo -n " - Lock-file létrehozása... "
+ echo "$DATE: Update process runing... " > $LOCKFILE
+ echo "kész."
+
+ echo -n " - Aktív munkamenetek törlése... "
+ $MYSQL $MYSQL_PARAMETERS -e"DELETE FROM mayor_login.session"
+ echo "kész."
+ fi
+else
+ echo -e "\n * A lock-olást a kérésedre kihagyjuk..."
+fi
+
+echo -e "\n * Az előzetes frissítő állományok feldolgozása (pre*, rev*):\n"
+for FILE in `ls $UPDATEDIR/rev* $UPDATEDIR/pre* | sort`; do
+ run_script
+done
+
+if [ "$EXECONLY" != "1" ]; then
+ echo -e "\n * A modulok állományainak frissítése:\n"
+ for MODULE in $MODULES; do
+ echo -e "\n $MODULE... \n"
+ if [ "$HTTP_SERVER" == '' ]; then
+ $SVN --force --quiet export svn+ssh://svn.mayor.hu/var/svn/trunk/$MODULE "$BASEDIR"
+ if [ $? != 0 ]; then exit 13; fi
+ else
+ # Ha rpm csomag futtatja, akkor már ki van csomagolva minden és nincs md5sum
+ if [ -f $TMPDIR/md5sum ]; then
+ MOD=`echo $MODULE | sed "s#/#-#"`
+ FILE=`grep "$MOD-rev" $TMPDIR/md5sum | cut -d ' ' -f 3`
+ if [ -f $TMPDIR/$FILE ]; then
+ tar xfz $TMPDIR/$FILE -C $BASEDIR
+ if [ $? != 0 ]; then exit 13; fi
+ fi
+ fi
+ fi
+ done
+ if [ -d $TMPDIR ]; then rm -rf $TMPDIR; fi
+ echo -e "\nkész.\n"
+fi
+
+echo -e "\n * Az utólagos frissítő állományok feldolgozása (post*):\n"
+for FILE in `ls $UPDATEDIR/post* | sort`; do
+ run_script
+done
+
+
+if [ -e $LOCKFILE ]; then
+ if [ ! -z $LOCKFILE ]; then
+ echo -e "\n * A web-es hozzáférés engedélyezése:"
+ rm $LOCKFILE
+ fi
+fi
+
+if [ "$EXECONLY" != "1" ]; then
+ echo -e "\n * A szükséges jogosultságok beállítása:"
+ chmod +x $BASEDIR/bin/mayor
+ echo -n " ... "
+ chown -R $WEB_SERVER_USER $BASEDIR/download
+ chown -R $WEB_SERVER_USER $BASEDIR/cache
+ if [ -d $BASEDIR/www/wiki/conf ]; then
+ chown -R $WEB_SERVER_USER $BASEDIR/www/wiki/conf $BASEDIR/www/wiki/data
+ fi
+ chown $WEB_SERVER_USER $BASEDIR/config
+ chmod 700 $BASEDIR/config
+ echo -e "... kész.\n"
+
+ echo -e "\n * Szimbolikus linkek ellenőrzése/létrehozása"
+ POLICIES="parent public"
+ for POLICY in $POLICIES; do
+ eval "LIST=\$${POLICY}Link"
+ for f in $LIST; do
+ DIR=`echo $f | cut -d / -f 1-2`
+ if [ ! -d $BASEDIR/www/policy/$POLICY/$DIR ]; then
+ echo " Könyvtár: $BASEDIR/www/policy/$POLICY/$DIR"
+ mkdir -p $BASEDIR/www/policy/$POLICY/$DIR
+ fi
+ FILES="$f-pre.php $f.php"
+ for file in $FILES; do
+ if [ ! -e $BASEDIR/www/policy/$POLICY/$file ]; then
+ if [ -f $BASEDIR/www/policy/private/$file ]; then
+ echo " $BASEDIR/www/policy/private/$file --> $BASEDIR/www/policy/$POLICY/$file"
+ ln -s $BASEDIR/www/policy/private/$file $BASEDIR/www/policy/$POLICY/$file
+ else
+ echo " Hiányzó file: $BASEDIR/www/policy/private/$file"
+ fi
+ fi
+ done
+ done
+ eval "DLIST=\$${POLICY}Deny"
+ for f in $DLIST; do
+ FILES="$f-pre.php $f.php"
+ for file in $FILES; do
+ if [ -e $BASEDIR/www/policy/$POLICY/$file ]; then
+ echo " $BASEDIR/www/policy/$POLICY/$file link(file) törlése"
+ rm "$BASEDIR/www/policy/$POLICY/$file"
+ fi
+ done
+ done
+ done
+fi # execonly
+
+echo -e "\n * Az frissített verziószám rögzítése ($UJ_REV)"
+if [ "$UJ_REV" -gt 0 ]; then
+ echo $UJ_REV > $REVISION_FILE
+else
+ echo " Hibás (nulla) verziószám! Nem rögzítjük."
+fi
+
+[ -x "$LOCAL_UPDATE_SCRIPT" ] && echo -e "\n * Helyi szkript futtatása: $LOCAL_UPDATE_SCRIPT...\n " && . "$LOCAL_UPDATE_SCRIPT"
diff --git a/mayor-orig/mayor-base/update/rev001167-1.sh b/mayor-orig/mayor-base/update/rev001167-1.sh
new file mode 100644
index 00000000..0057aadf
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev001167-1.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+echo -ne "\n Az update.conf file jogosultságainak beállítása ... "
+# nem kell ellenőrizni, mert ilyen állomány biztosan van - ha eljutottunk idáig
+chmod 0600 $BASEDIR/config/update.conf
+chown root.root $BASEDIR/config/update.conf
+echo "kész."
+
diff --git a/mayor-orig/mayor-base/update/rev001174-1.sh b/mayor-orig/mayor-base/update/rev001174-1.sh
new file mode 100644
index 00000000..6cab9e63
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev001174-1.sh
@@ -0,0 +1,167 @@
+#!/bin/bash
+
+echo " - A main-config.php áthelyezése"
+if [ -f $BASEDIR/www/include/config/main-config.php ]; then
+ echo -n " $BASEDIR/www/include/config/main-config.php --> "
+ mv $BASEDIR/www/include/config/main-config.php $BASEDIR/config/main-config.php
+ echo "$BASEDIR/config/main-config.php"
+else
+ echo " $BASEDIR/www/include/config/main-config.php -- nincs!!"
+fi
+
+echo " - Az esetleg létező main-config.php.example törlése"
+if [ -f $BASEDIR/www/include/config/main-config.php.example ]; then
+ echo -n " $BASEDIR/www/include/config/main-config.php.example -- "
+ rm $BASEDIR/www/include/config/main-config.php.example
+ echo "törölve"
+else
+ echo " $BASEDIR/www/include/config/main-config.php.example -- nincs"
+fi
+
+echo " - A config/base könyvtár létrehozása"
+if [ ! -d $BASEDIR/config/base ]; then
+ echo -n " A könyvtár létrehozása: "
+ mkdir $BASEDIR/config/base
+ echo "$BASEDIR/config/base"
+fi
+
+echo " - A modulok konfig álloményainak áthelyezése - ha volnának"
+if [ `ls -l $BASEDIR/www/include/config/module* 2>/dev/null | wc -l` \> 0 ]; then
+ echo -n " A modulok konfigurációs állományainak áthelyezése ... "
+ cp $BASEDIR/www/include/config/module* $BASEDIR/config/base/
+ rm $BASEDIR/www/include/config/module*
+ echo "kész."
+fi
+
+echo " - A _MAYOR_DIR és _CONFIGDIR konstansok bevezetése a main-config.php-ben"
+if [ -f $BASEDIR/config/main-config.php ]; then
+ sed -r -i.rev1174 \
+ -e "s#_BASEDIR','(.*)/www.*#_MAYOR_DIR','\1');\ndefine('_BASEDIR',_MAYOR_DIR.'/www');\ndefine('_CONFIGDIR',_MAYOR_DIR.'/config');#" \
+ -e "s#_DATADIR','.*'#_DATADIR',_MAYOR_DIR.'/data'#" \
+ -e "s#_DOWNLOAD_DIR','.*'#_DOWNLOADDIR',_MAYOR_DIR.'/download'#" \
+ -e "s#'include/config/'#_CONFIGDIR.'/base/'#" $BASEDIR/config/main-config.php
+ echo " kész."
+else
+ echo -e "\n\nERROR: Hiányzó konfigurációs file: $BASEDIR/config/main-config.php\n"
+ exit 1
+fi
+
+echo " - A policy-k konfigurációs állományainak áthelyezése"
+for policy in private parent public; do
+ if [ -f $BASEDIR/www/include/config/$policy-conf.php ]; then
+ echo -n " $BASEDIR/www/include/config/$policy-conf.php --> "
+ mv $BASEDIR/www/include/config/$policy-conf.php $BASEDIR/config/$policy-conf.php
+ echo "$BASEDIR/config/$policy-conf.php"
+ else
+ echo " $BASEDIR/www/include/config/$policy-conf.php -- nincs"
+ fi
+done
+
+echo " - A policy-k konfigurációs állományainak minta állományait töröljük (.example)"
+for policy in private parent public; do
+ if [ -f $BASEDIR/www/include/config/$policy-conf.php.example ]; then
+ echo -n " $BASEDIR/www/include/config/$policy-conf.php.example -- "
+ rm $BASEDIR/www/include/config/$policy-conf.php.example
+ echo "törölve"
+ else
+ echo " $BASEDIR/www/include/config/$policy-conf.php.example -- nincs"
+ fi
+done
+
+echo " - A modulok base/config.php-inek áthelyezése"
+for module in naplo portal forum felveteli honosito; do
+ if [ -f $BASEDIR/www/include/modules/$module/base/config.php ]; then
+ if [ ! -d $BASEDIR/config/module-$module ]; then
+ echo -n " A könyvtár létrehozása: "
+ mkdir $BASEDIR/config/module-$module
+ echo "$BASEDIR/config/module-$module"
+ fi
+ echo -n " $BASEDIR/www/include/modules/$module/base/config.php --> "
+ mv $BASEDIR/www/include/modules/$module/base/config.php $BASEDIR/config/module-$module/config.php
+ echo "$BASEDIR/config/module-$module/config.php"
+ else
+ echo " $BASEDIR/www/include/modules/$module/base/config.php -- nincs"
+ fi
+done
+
+echo " - A modulok base/config.php.example-inek törlése"
+for module in naplo portal forum felveteli honosito; do
+ if [ -f $BASEDIR/www/include/modules/$module/base/config.php.example ]; then
+ echo -n " $BASEDIR/www/include/modules/$module/base/config.php.example -- "
+ rm $BASEDIR/www/include/modules/$module/base/config.php.example
+ echo "törölve"
+ else
+ echo " $BASEDIR/www/include/modules/$module/base/config.php.example -- nincs"
+ fi
+done
+
+echo " - A napló intézményi config file-jainak (és mintáinak) áthelyezése"
+if [ `ls -l $BASEDIR/www/include/modules/naplo/config-* 2>/dev/null | wc -l` \> 0 ]; then
+ echo -n " Az intézményi konfigurációs állományok áthelyezése ... "
+ cp $BASEDIR/www/include/modules/naplo/config-* $BASEDIR/config/module-naplo
+ rm $BASEDIR/www/include/modules/naplo/config-*
+ echo "kész."
+fi
+
+echo " - A classic skin configurációs könyvtárának létrehozása"
+if [ ! -d $BASEDIR/config/skin-classic ]; then
+ echo -n " A könyvtár létrehozása: "
+ mkdir $BASEDIR/config/skin-classic
+ echo "$BASEDIR/config/skin-classic"
+fi
+
+echo "A pda skin configurációs könyvtárának létrehozása"
+if [ ! -d $BASEDIR/config/skin-pda ]; then
+ echo -n " A könyvtár létrehozása: "
+ mkdir $BASEDIR/config/skin-pda
+ echo "$BASEDIR/config/skin-pda"
+fi
+
+echo " - A skin config áthelyezése. Csak a classic skinhez!"
+if [ -f $BASEDIR/www/skin/classic/config.php ]; then
+ echo -n " $BASEDIR/www/skin/classic/config.php --> "
+ mv $BASEDIR/www/skin/classic/config.php $BASEDIR/config/skin-classic/config.php
+ echo "$BASEDIR/config/skin-classic/config.php"
+else
+ echo " $BASEDIR/www/skin/classic/config.php -- nincs"
+fi
+
+echo " - A skin config mintafile törlése"
+if [ -f $BASEDIR/www/skin/classic/config.php.example ]; then
+ echo -n " $BASEDIR/www/skin/classic/config.php.example -- "
+ rm $BASEDIR/www/skin/classic/config.php.example
+ echo "törölve"
+else
+ echo " $BASEDIR/www/skin/classic/config.php.example -- nincs"
+fi
+
+echo " - A modulok skin beállításai - csak classic skin-re!!"
+for module in naplo portal forum; do
+ if [ -f $BASEDIR/www/skin/classic/module-$module/config.php ]; then
+ echo -n " $BASEDIR/www/skin/classic/module-$module/config.php --> "
+ mv $BASEDIR/www/skin/classic/module-$module/config.php $BASEDIR/config/skin-classic/$module-config.php
+ echo "$BASEDIR/config/skin-classic/$module-config.php"
+ else
+ echo " $BASEDIR/www/skin/classic/module-$module/config.php -- nincs"
+ fi
+done
+
+echo " - A modul skin beállítás minta állományok törlése"
+for module in naplo portal forum; do
+ if [ -f $BASEDIR/www/skin/classic/module-$module/config.php.example ]; then
+ echo -n " $BASEDIR/www/skin/classic/module-$module/config.php.example -- "
+ rm $BASEDIR/www/skin/classic/module-$module/config.php.example
+ echo "törölve"
+ else
+ echo " $BASEDIR/www/skin/classic/module-$module/config.php.example -- nincs"
+ fi
+done
+
+echo " - /var/mayor/data/base/huhyphn.tex törlése"
+if [ -f $BASEDIR/data/base/huhyphn.tex ]; then
+ echo -n " $BASEDIR/data/base/huhyphn.tex -- "
+ rm $BASEDIR/data/base/huhyphn.tex
+ echo "törölve"
+else
+ echo " $BASEDIR/data/base/huhyphn.tex -- nincs"
+fi
diff --git a/mayor-orig/mayor-base/update/rev001177-1.sh b/mayor-orig/mayor-base/update/rev001177-1.sh
new file mode 100644
index 00000000..f99fab0e
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev001177-1.sh
@@ -0,0 +1,58 @@
+#!/bin/bash
+
+if [ -f $BASEDIR/config/backup.conf ]; then
+ . $BASEDIR/config/backup.conf
+else
+ echo -e "\n\nERROR: hiányzó konfigurációs file: $BASEDIR/config/backup.conf\n"
+ exit 1
+fi
+
+if [ ! -d $BACKUPDIR ]; then
+ echo -e "\n\nERROR: hibás mentési könyvtár: $BACKUPDIR\n"
+ exit 1
+fi
+
+if [ ! -d $BACKUPDIR/rev-$REV ]; then
+ echo -n " - $REV. változat mentési könyvtára: "
+ mkdir $BACKUPDIR/rev-$REV
+ echo $BACKUPDIR/rev-$REV
+fi
+
+FILES='eNaploBackup.sh eNaploRestore.sh update.sh'
+echo ' - Az elavult /usr/local/sbin elavult scriptjeinek törlése...'
+for FILE in $FILES; do
+ echo -n " /usr/local/sbin/$FILE "
+ if [ -f /usr/local/sbin/$FILE ]; then
+ mv /usr/local/sbin/$FILE $BACKUPDIR/rev-$REV/$FILE
+ echo "--> $BACKUPDIR/rev-$REV/$FILE"
+ else
+ echo "-- nincs"
+ fi
+done
+
+echo -n " - Az új mayor szkript telepítése... "
+if [ ! -f $BASEDIR/bin/mayor ]; then
+ echo -e "\n !! WARNING !!: Az új script még nincs letöltve\n"
+ echo -n " Letöltés ... "
+ $SVN --force export https://svn.mayor.hu/svn/trunk/mayor-base/bin "$BASEDIR/bin" > /dev/null
+ echo -n "mayor-base/bin ... "
+ $SVN --force export https://svn.mayor.hu/svn/trunk/mayor-naplo/bin "$BASEDIR/bin" > /dev/null
+ echo -e "mayor-naplo/bin\n"
+fi
+chmod +x $BASEDIR/bin/mayor
+ln -s $BASEDIR/bin/mayor /usr/local/sbin
+echo "kész."
+
+if [ -f /etc/cron.daily/eNaplo ]; then
+ echo " - Az elavult cron script törlése"
+ echo -n " /etc/cron.daily/eNaplo --"
+ mv /etc/cron.daily/eNaplo $BACKUPDIR/rev-$REV/eNaplo
+ echo "> $BACKUP/rev-$REV/eNaplo"
+fi
+
+if [ -f $BASEDIR/bin/etc/cron.daily/mayor ]; then
+ echo -n " - Az új cron script telepítése ... "
+ cp $BASEDIR/bin/etc/cron.daily/mayor /etc/cron.daily/mayor
+ echo "kész."
+fi
+
diff --git a/mayor-orig/mayor-base/update/rev001181-1.sh b/mayor-orig/mayor-base/update/rev001181-1.sh
new file mode 100644
index 00000000..791ed988
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev001181-1.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+echo -ne " - A WEB_SERVER_USER környezeti változó felvétele az update.conf állományba ... "
+echo -e "WEB_SERVER_USER=www-data\n" >> $BASEDIR/config/update.conf
+echo -e "kész.\n"
diff --git a/mayor-orig/mayor-base/update/rev001341-1-auth.sql b/mayor-orig/mayor-base/update/rev001341-1-auth.sql
new file mode 100644
index 00000000..0affd9ce
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev001341-1-auth.sql
@@ -0,0 +1,4 @@
+-- Auth adatbázis módosítása --
+
+alter table accounts modify userPassword varbinary(40);
+update accounts set userPassword=sha(decode(userPassword,'%MYSQL_ENCODE_STR%'));
diff --git a/mayor-orig/mayor-base/update/rev001351-1-auth.sql b/mayor-orig/mayor-base/update/rev001351-1-auth.sql
new file mode 100644
index 00000000..42665a1f
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev001351-1-auth.sql
@@ -0,0 +1,3 @@
+
+alter table accounts modify policy ENUM('private','parent','public') NOT NULL;
+alter table accounts modify userAccount VARCHAR(32) NOT NULL;
diff --git a/mayor-orig/mayor-base/update/rev001368-1.sh b/mayor-orig/mayor-base/update/rev001368-1.sh
new file mode 100644
index 00000000..9965624a
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev001368-1.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+echo " - Az esetleg létező skin/classic/config* átmozgatása"
+if [ `ls $BASEDIR/www/skin/classic/config* | wc -l` -gt 2 ]; then
+ echo -n " $BASEDIR/www/skin/classic/config* --> "
+ mv "$BASEDIR/www/skin/classic/config*" "$BASEDIR/config/skin-classic/"
+ echo "$BASEDIR/config/skin-classic/"
+else
+ echo " nincs ilyen file"
+fi
diff --git a/mayor-orig/mayor-base/update/rev001387-1-mayor_login.sql b/mayor-orig/mayor-base/update/rev001387-1-mayor_login.sql
new file mode 100644
index 00000000..4262c83f
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev001387-1-mayor_login.sql
@@ -0,0 +1 @@
+alter table session modify sessionID char(40) NOT NULL;
diff --git a/mayor-orig/mayor-base/update/rev001391-1-mayor_login.sql b/mayor-orig/mayor-base/update/rev001391-1-mayor_login.sql
new file mode 100644
index 00000000..9a25fe8f
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev001391-1-mayor_login.sql
@@ -0,0 +1 @@
+--rev1393--alter table session add sessionCookie char(40) not null; \ No newline at end of file
diff --git a/mayor-orig/mayor-base/update/rev001393-1-mayor_login.sql b/mayor-orig/mayor-base/update/rev001393-1-mayor_login.sql
new file mode 100644
index 00000000..fa38c4e8
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev001393-1-mayor_login.sql
@@ -0,0 +1 @@
+alter table session add sessionCookie char(40) not null; \ No newline at end of file
diff --git a/mayor-orig/mayor-base/update/rev001582-1.sh b/mayor-orig/mayor-base/update/rev001582-1.sh
new file mode 100644
index 00000000..a9d79404
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev001582-1.sh
@@ -0,0 +1,66 @@
+#!/bin/bash
+
+if [ -e "/etc/mayor/main.conf" ]; then
+ echo 'OK'
+else
+ echo " - Konfigurációs állományok és naplózási beállítások átszervezése..."
+
+ echo " * Új konfigurációs állomány létrehozása"
+ echo -e "\n#====================#\n# Main paraméterek #\n#====================#\n\n" > $BASEDIR/config/main.conf
+ grep -e '^BASEDIR' -e 'WEB_SERVER_USER' -e '^MYSQL=' -e 'MYSQL_USER' -e 'MYSQL_PW' -e 'SVN' -e 'SHELL' $BASEDIR/config/update.conf >> $BASEDIR/config/main.conf
+ echo -e "\n\n#====================#\n# Update paraméterek #\n#====================#\n\n" >> $BASEDIR/config/main.conf
+ echo -e "UPDATELOG=\"\$BASEDIR/log/update.log\"\nSQLLOG=\"\$BASEDIR/log/sql-update.log\"\nREVISION_FILE=\"\$BASEDIR/log/revision\"\nLOCKFILE=\"/var/run/mayor.lock\"\nVERSION=\"radyx\"" >> $BASEDIR/config/main.conf
+ grep -v -e '^BASEDIR' -e 'WEB_SERVER_USER' -e '^MYSQL=' -e 'MYSQL_USER' -e 'MYSQL_PW' -e 'SVN' -e 'SHELL' -e 'REVISION_FILE' $BASEDIR/config/update.conf >> $BASEDIR/config/main.conf
+ echo -e "\n\n#====================#\n# Backup paraméterek #\n#====================#\n\n" >> $BASEDIR/config/main.conf
+ grep -v -e '^BASEDIR' -e 'WEB_SERVER_USER' -e '^MYSQL=' -e 'MYSQL_USER' -e 'MYSQL_PW' -e 'WWWDIR' -e 'DATE' $BASEDIR/config/backup.conf >> $BASEDIR/config/main.conf
+
+ echo " * Korábbi konfigurációs állományok mentése: "
+ mv $BASEDIR/config/update.conf $BASEDIR/config/update.conf.old
+ echo " update.conf --> update.conf.old"
+ mv $BASEDIR/config/backup.conf $BASEDIR/config/backup.conf.old
+ echo " backup.conf --> backup.conf.old"
+
+ echo " * Naplózás előkészítése"
+ if [ ! -e $BASEDIR/log ]; then mkdir $BASEDIR/log; fi
+ if [ ! -e /var/log/mayor ]; then ln -s $BASEDIR/log /var/log/mayor; fi
+
+ echo " * update.rev áthelyezése"
+ mv $BASEDIR/config/update.rev $BASEDIR/log/revision
+ mv $BASEDIR/config/main-config.php $BASEDIR/config/main-config.php.old
+ cat $BASEDIR/config/main-config.php.old | \
+ sed -e "s/define('_CONFIGDIR',\(.*\));/define('_CONFIGDIR',\\1);\\ndefine('_LOGDIR',_MAYOR_DIR\.'\/log');\\ndefine('_LOCKFILE','\/var\/run\/mayor.lock');/g" \
+ > $BASEDIR/config/main-config.php
+
+ if [ "$HTTP_SERVER" != '' ]; then
+ cd $TMPDIR
+ FILE=`grep mayor-base md5sum | cut -d ' ' -f 3`
+ tar xfz $FILE -C $BASEDIR ./bin
+ cd $BASEDIR/bin
+ fi
+
+ echo " * Konfigurációs könyvtár linkelése a /etc-be"
+ ln -s $BASEDIR/config /etc/mayor
+
+ echo " * Jogosultságok állítása"
+ chmod +x $BASEDIR/bin/mayor
+
+ echo "
+#*****************************************************************#
+# #
+# A konfigurációs beállítások átalakítása befejeződött. #
+# #
+# Ellenőrizze a /etc/mayor/main.conf állomány tartalmát, vala- #
+# mint a /var/log/mayor/revision állományban található számot, #
+# aminek 1582-nél kisebbnek kell még lennie. #
+# #
+# Ha mindent rendben talál futtassa újra a mayor update paran- #
+# csot! Kövesse nyomon az üzeneteket, melyek mostantól a képer- #
+# nyő mellett a /var/log/mayor/update.log állományban is megje- #
+# lennek. #
+# #
+#*****************************************************************#
+"
+
+exit 1
+
+fi \ No newline at end of file
diff --git a/mayor-orig/mayor-base/update/rev001745-1.sh b/mayor-orig/mayor-base/update/rev001745-1.sh
new file mode 100644
index 00000000..18eaf7e9
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev001745-1.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+FILE="install/base/sh/*"
+
+echo " Felesleges állományok törlése:"
+ echo -n " $BASEDIR/$FILE ... "
+ if [ -e "$BASEDIR/$FILE" ]; then
+ rm -f "$BASEDIR/$FILE"
+ echo "törölve."
+ else
+ echo "nincs."
+ fi
+echo " Kész." \ No newline at end of file
diff --git a/mayor-orig/mayor-base/update/rev001751-1.sh b/mayor-orig/mayor-base/update/rev001751-1.sh
new file mode 100644
index 00000000..18eaf7e9
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev001751-1.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+FILE="install/base/sh/*"
+
+echo " Felesleges állományok törlése:"
+ echo -n " $BASEDIR/$FILE ... "
+ if [ -e "$BASEDIR/$FILE" ]; then
+ rm -f "$BASEDIR/$FILE"
+ echo "törölve."
+ else
+ echo "nincs."
+ fi
+echo " Kész." \ No newline at end of file
diff --git a/mayor-orig/mayor-base/update/rev001986-1-mayor_login.sql b/mayor-orig/mayor-base/update/rev001986-1-mayor_login.sql
new file mode 100644
index 00000000..75268f72
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev001986-1-mayor_login.sql
@@ -0,0 +1,4 @@
+DROP TABLE IF EXISTS `cache`;
+CREATE TABLE `cache` (`sessionID` char(40), `policy` varchar(10), `kulcs` varchar(32) NOT NULL, `ertek` varchar(100), dt DATETIME)
+ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci;
+ALTER TABLE `cache` add primary key PK (sessionID,policy,kulcs);
diff --git a/mayor-orig/mayor-base/update/rev002008-1-auth.sql b/mayor-orig/mayor-base/update/rev002008-1-auth.sql
new file mode 100644
index 00000000..2dd51671
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev002008-1-auth.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `groups` CHANGE groupId groupCn varchar(32);
+ALTER TABLE `groups` CHANGE groupName groupDesc varchar(32);
+ALTER TABLE `members` DROP `type`;
diff --git a/mayor-orig/mayor-base/update/rev002038-1.sh b/mayor-orig/mayor-base/update/rev002038-1.sh
new file mode 100644
index 00000000..aa8c2ba4
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev002038-1.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+echo 'A standard update szkriptek tesztelése'
+echo 'A rev fut!!' >> /tmp/mayor-update-test.log
+
diff --git a/mayor-orig/mayor-base/update/rev002400-1-mayor_login.sql b/mayor-orig/mayor-base/update/rev002400-1-mayor_login.sql
new file mode 100644
index 00000000..bcc04e0c
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev002400-1-mayor_login.sql
@@ -0,0 +1,19 @@
+CREATE TABLE IF NOT EXISTS `mayorSsl` (
+ `sslId` tinyint(1) unsigned NOT NULL auto_increment,
+ `privateKey` text COLLATE utf8_hungarian_ci NOT NULL,
+ `publicKey` text COLLATE utf8_hungarian_ci NOT NULL,
+ `secret` varchar(40) COLLATE utf8_hungarian_ci DEFAULT NULL,
+ PRIMARY KEY (`sslId`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
+
+CREATE TABLE IF NOT EXISTS `mayorKeychain` (
+ `dt` date null,
+ `OMKod` mediumint(8) unsigned zerofill,
+ `publicKey` text COLLATE utf8_hungarian_ci NOT NULL,
+ `valid` tinyint(1) unsigned NULL DEFAULT '1',
+ PRIMARY KEY (`OMKod`,`valid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
+
+ALTER TABLE `mayorSsl` modify `sslId` tinyint(1) unsigned NOT NULL auto_increment;
+
+INSERT IGNORE INTO `mayorKeychain` (dt,OMKod,publicKey,valid) VALUES ('2011-04-07',0,'-----BEGIN PUBLIC KEY-----MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbMFUWy0Juy/7uHROaLOMPSHMIVw/jSmEAKW6lCeIOH2oUVsAQkgsZCFiKqQhH3WbtLrAzSmOA7+rEU3RtgXtPZpHN2UUPQqoHWoMOkumfIS5oM0sQgSQ738TC0X9yxZlNqZtdpdCa0zjVnGLxqVVhS3KD+O8uuA7jQwczlSqWJwIDAQAB-----END PUBLIC KEY-----',1);
diff --git a/mayor-orig/mayor-base/update/rev002422-1-mayor_login.sql b/mayor-orig/mayor-base/update/rev002422-1-mayor_login.sql
new file mode 100644
index 00000000..94af5e78
--- /dev/null
+++ b/mayor-orig/mayor-base/update/rev002422-1-mayor_login.sql
@@ -0,0 +1,41 @@
+TRUNCATE TABLE `mayorKeychain`;
+INSERT INTO `mayorKeychain` VALUES
+('2011-04-13',00029299,'-----BEGIN PUBLIC KEY-----
+MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDXSTkz71IEVd3rGg497nBZJNVs
+xTbMUxsXMGupq9jGRmlqUhjIddayOMw2CFW/OR5BB0WD0pxKjEm7IZz6MzfnL27P
+mbPYuSwn3/Oq/gCGLTKiq48I+u0SZCGdLEzOU5rGjXoEqlzXPNvNc8q/sb4KsQZm
+tFr9+VLr+nUkk/v4JQIDAQAB
+-----END PUBLIC KEY-----',1),
+('2011-04-13',00035242,'-----BEGIN PUBLIC KEY-----
+MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDP6P945Egfn30JQrdSXzFaCiON
+m74vDqpn+7sdnrQwmyxn/RJwGb7kp6ICx6EIu494IichesZ8S4jx3acd+JLfEzP7
+UvHYz4CTvFRxSp0NXAK88ss0L6d7EXS5yCwyAhIHogM1JBBO+S4xLjIB9Iv0qQEb
+xrYta2qgqZxyMfCdZQIDAQAB
+-----END PUBLIC KEY-----',1),
+('2011-04-13',00035432,'-----BEGIN PUBLIC KEY-----
+MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwNglEZC06khfqipxCzz14gvfS
+QB5FBJfuiYOpU1HDLJ1tYfXrIIokv+6EhrSNx5It/TUpZ6Sz7sjW39ZJnYRWhYlS
+dcLqRRSNZRaZV/m0LCQAv1HjM8XAZZaiIMpkgGu8DaTE4mbn6cynj9z433hr7h03
+N3kIPMV4scnOHOQ8AQIDAQAB
+-----END PUBLIC KEY-----',1),
+('2011-04-13',00037181,'-----BEGIN PUBLIC KEY-----
+MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC6jcvWxmH7y2p9FukRsZx0mcYz
+127e/Pckvwd/gXdbH3eaH6fMaNrPoku6wrK9TWy2nkH+UB/RFOvIzNGExXJK8QBC
+ygW9uc3G32N0IweSKw7mEwCzbhSLJPepo5lG57NobgOLgiFRIV8k6tSE+AL0csTT
+v+cUpcsDU6x2pKHJDQIDAQAB
+-----END PUBLIC KEY-----',1),
+('2011-04-07',09000000,'-----BEGIN PUBLIC KEY-----
+MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbMFUWy0Juy/7uHROaLOMPSHMI
+Vw/jSmEAKW6lCeIOH2oUVsAQkgsZCFiKqQhH3WbtLrAzSmOA7+rEU3RtgXtPZpHN
+2UUPQqoHWoMOkumfIS5oM0sQgSQ738TC0X9yxZlNqZtdpdCa0zjVnGLxqVVhS3KD
++O8uuA7jQwczlSqWJwIDAQAB
+-----END PUBLIC KEY-----',1),
+('2011-04-13',09000001,'
+-----BEGIN PUBLIC KEY-----
+MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCxxGQdt76++8nZ88RHbSTFt2jQ
+rU3d3wArUwQrVqQEkpkSQmXMgzB4ltFRGfA4gdteVHlj7GOAJX9nYgSg5iBpeUUX
+UTrq1MprV77er35ZIGmDA7OLUCdLX23UhM8JGxW8+v/0DT0xHYQHAtgnBc9Qdgcn
+8sWu7LXvX1j3wIHKHQIDAQAB
+-----END PUBLIC KEY-----',1);
+
+
diff --git a/mayor-orig/mayor-base/wiki/dok.php b/mayor-orig/mayor-base/wiki/dok.php
new file mode 100644
index 00000000..7cbb8ff9
--- /dev/null
+++ b/mayor-orig/mayor-base/wiki/dok.php
@@ -0,0 +1,28 @@
+<?php
+
+ // Ez egy redirector...
+
+
+if (file_exists($_SERVER["DOCUMENT_ROOT"].'/wiki/doku.php')) {
+
+ header('Location:'.str_replace('dok.php','doku.php',$_SERVER['REQUEST_URI']));
+
+} else {
+ header('Refresh: 5,http://wiki.mayor.hu/'.str_replace('/wiki/dok.php','doku.php',$_SERVER['REQUEST_URI']));
+
+ echo '<?xml version="1.0" encoding="utf-8"?>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="hu">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>Átirányítás</title>
+ </head>
+ <body>';
+
+ echo '<h1>Átirányítás</h1>';
+ echo '<p>Nincs helyi Help modul telepítve, ezért másodperceken belül átirányítjuk a http://wiki.mayor.hu központi help oldalra...</p>';
+
+ echo '</body></head>';
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/LICENSE.txt b/mayor-orig/mayor-base/www/LICENSE.txt
new file mode 100644
index 00000000..94a9ed02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/LICENSE.txt
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ <program> Copyright (C) <year> <name of author>
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<http://www.gnu.org/licenses/>.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
diff --git a/mayor-orig/mayor-base/www/include/alert/base.php b/mayor-orig/mayor-base/www/include/alert/base.php
new file mode 100644
index 00000000..3c886dcf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/alert/base.php
@@ -0,0 +1,38 @@
+<?php
+#
+# MaYoR keretrendszer - figyelmeztető üzenetek
+#
+
+// Base
+if (file_exists('include/alert/'.$lang.'/base.php')) {
+ require_once('include/alert/'.$lang.'/base.php');
+} elseif (file_exists('include/alert/'._DEFAULT_LANG.'/base.php')) {
+ require_once('include/alert/'._DEFAULT_LANG.'/base.php');
+}
+
+// Policy - Backend
+if (file_exists('include/alert/'.$lang.'/'.$AUTH[$policy]['backend'].'.php')) {
+ require_once('include/alert/'.$lang.'/'.$AUTH[$policy]['backend'].'.php');
+} elseif (file_exists('include/alert/'._DEFAULT_LANG.'/'.$AUTH[$policy]['backend'].'.php')) {
+ require_once('include/alert/'._DEFAULT_LANG.'/'.$AUTH[$policy]['backend'].'.php');
+}
+
+// Module(s) - 2016
+try {
+ $_dirlist = scandir('include/alert/'.$lang.'/');
+ for ($i=0; $i<count($_dirlist); $i++) {
+ list($_filename,$_ext) = explode('.',$_dirlist[$i]);
+ list($_prefix,$_module) = explode('-',$_filename);
+ if (substr($_filename,0,7)==='module-' && $_ext == 'php' && in_array($_module,$VALID_MODULES)) {
+ if (file_exists('include/alert/'.$lang.'/module-'.$_module.'.php')) {
+ require_once('include/alert/'.$lang.'/module-'.$_module.'.php');
+ } elseif (file_exists('include/alert/'._DEFAULT_LANG.'/module-'.$_module.'.php')) {
+ require_once('include/alert/'._DEFAULT_LANG.'/module-'.$_module.'.php');
+ }
+ }
+ }
+} catch (Exception $e) {
+ $_SESSION['alert'][] = 'info:'.$e->getMessage();
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/alert/hu_HU/base.php b/mayor-orig/mayor-base/www/include/alert/hu_HU/base.php
new file mode 100644
index 00000000..744f40d5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/alert/hu_HU/base.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ Module: base
+*/
+
+//
+// Az $_SESSION['alert'] két részből áll: típus:hiba
+// típus: alert
+// message
+// page
+// info
+//
+
+$ALERT_MSG = array(
+
+ 'default' => '',
+ 'change_success' => 'Az adatmódosítás sikeresen megtörtént!',
+ 'page_missing' => 'A keresett oldal nem található a szerveren.',
+ 'sql_failure' => 'SQL adatbázis hiba!',
+ 'sql_warning' => 'SQL figyelmeztetés!',
+ 'sql_connect_failure'=> 'SQL adatbázis csatlakozási hiba!',
+ 'sql_query_failure' => 'SQL lekérdezési hiba!',
+ 'sql_select_db_failure' => 'A %0% modul %1% SQL adatbázisának kiválasztása nem sikerült!',
+ 'auth_failure' => 'Azonosítatlan felhasználó! Az adott hozzáférési szinten nem hitelesítetted magad!',
+ 'bad_pw' => 'Hibás jelszó!',
+ 'account_expired' => 'A jelszó érvényessége %0% napja lejárt!',
+ 'account_warning' => 'A jelszó %0% nap múlva lejár!',
+ 'warn_account_disable' => 'A felhasználói fiók %0% nap múlva letiltásra kerül!',
+ 'empty_field' => 'Üres adatbeviteli mező! Egy kötelező paraméter nincs megadva!', // login
+ 'session_alter_needed' => 'Nem egyező hash-hossz az adatbázisban! (%0% &rarr; %1%)',
+ 'insufficient_access' => 'Jogosulatlan hozzáférés!',
+ 'wrong_data' => 'Hibás/rossz adat!',
+ 'wrong_page' => 'Hibás oldalhivatkozás!',
+ 'deadline_expired' => 'A módosítási határidő lejárt!',
+ 'pw_change_success' => 'A jelszóváltoztatás sikeresen megtörtént',
+ 'file_not_found' => 'A file nem található!',
+ 'success' => 'A művelet sikeresen befejeződött!',
+ 'not_changed' => 'Nem történt adatváltozás.',
+ 'unknown_type' => 'Ismeretlen tipus',
+ 'config_error' => 'Konfigurációs hiba',
+ 'not_valid_form' => 'Érvénytelen űrlapadatok! A feldolgozás megszakadt.',
+ 'raw' => 'Részletek:',
+);
+
+// + auth
+
+$ALERT_MSG['no_account'] = 'Rossz azonosítót adtál meg!';
+$ALERT_MSG['account_disabled'] = 'A felhasználói fiók letilrásra került, ezzel az azonosítóval nem lehet belépni! További információkért fordulj a rendszergazdához!';
+$ALERT_MSG['force_pw_update'] = 'A jelszó megváltoztatása kötelező!';
+$ALERT_MSG['cookie'] = 'Lejárt a munkamenet vagy nem engedélyezett a sütik használata.';
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/alert/hu_HU/file.php b/mayor-orig/mayor-base/www/include/alert/hu_HU/file.php
new file mode 100644
index 00000000..2696c9f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/alert/hu_HU/file.php
@@ -0,0 +1,9 @@
+<?php
+/*
+ Module: base/file
+*/
+
+// File-auth
+$ALERT_MSG['file_open_failure'] = 'Sikertelen file megnyitás!';
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/alert/hu_HU/ldap.php b/mayor-orig/mayor-base/www/include/alert/hu_HU/ldap.php
new file mode 100644
index 00000000..1a089128
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/alert/hu_HU/ldap.php
@@ -0,0 +1,11 @@
+<?php
+/*
+ Module: base/ldap
+*/
+
+// LDAP-auth
+$ALERT_MSG['ldap_failure'] = 'LDAP adatbázis hiba!';
+$ALERT_MSG['ldap_bind_failure'] = 'LDAP adatbázis csatlakozási hiba!';
+$ALERT_MSG['ldap_search_failure'] = 'Az LDAP adatkeresés nem sikerült! Ellenőrizd a jogosultságaidat!';
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/alert/hu_HU/module-auth.php b/mayor-orig/mayor-base/www/include/alert/hu_HU/module-auth.php
new file mode 100644
index 00000000..b7ad2333
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/alert/hu_HU/module-auth.php
@@ -0,0 +1,11 @@
+<?php
+/*
+ Module: base/password
+*/
+
+$ALERT_MSG['no_account'] = 'Rossz azonosítót adtál meg!';
+$ALERT_MSG['account_disabled'] = 'A felhasználói fiók letilrásra került, ezzel az azonosítóval nem lehet belépni!<br/>További információkért fordulj a rendszergazdához!';
+$ALERT_MSG['force_pw_update'] = 'A jelszó megváltoztatása kötelező!';
+$ALERT_MSG['cookie'] = 'Lejárt a munkamenet vagy nem engedélyezett a sütik használata.';
+$ALERT_MSG['pw_reset_disabled'] = 'Jelszóemlékeztető kérés ezen a hitelesítési szinten nem engedélyezett.';
+?>
diff --git a/mayor-orig/mayor-base/www/include/alert/hu_HU/module-password.php b/mayor-orig/mayor-base/www/include/alert/hu_HU/module-password.php
new file mode 100644
index 00000000..f56a8c85
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/alert/hu_HU/module-password.php
@@ -0,0 +1,18 @@
+<?php
+/*
+ Module: base/password
+*/
+
+$ALERT_MSG['force_pw_update'] = 'A jelszó megváltoztatása kötelező!';
+$ALERT_MSG['pw_change_failed'] = 'A jelszóváltoztatás nem sikerült!';
+$ALERT_MSG['pw_change_disabled'] = 'A jelszóváltoztatás tiltott!';
+$ALERT_MSG['pw_change_success'] = 'A jelszóváltoztatás sikerült!';
+$ALERT_MSG['pw_not_match'] = 'A jelszó és a megerősítés nem egyezik!';
+$ALERT_MSG['pw_not_changed'] = 'A jelszó nem változott. Az új jelszónak különböznie kell a régi jelszótól!';
+
+// Jelszóváltoztatás előtt mindenképp authentikáció van - kellenek a hibaüzenetek
+if (file_exists('include/alert/hu_HU/module-auth.php')) {
+ require('include/alert/hu_HU/module-auth.php');
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/alert/hu_HU/module-session.php b/mayor-orig/mayor-base/www/include/alert/hu_HU/module-session.php
new file mode 100644
index 00000000..75f0b0bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/alert/hu_HU/module-session.php
@@ -0,0 +1,10 @@
+<?php
+/*
+ Module: base/password
+*/
+
+$ALERT_MSG['pw_not_match'] = 'A jelszó és a megerősítés nem egyezik!';
+$ALERT_MSG['multi_uid'] = 'Névütközés!';
+$ALERT_MSG['delete_uid_success'] = 'Az azonosító törlése sikeresen megtörtént.';
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ads/auth/login.php b/mayor-orig/mayor-base/www/include/backend/ads/auth/login.php
new file mode 100644
index 00000000..59cbf3e5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ads/auth/login.php
@@ -0,0 +1,358 @@
+<?php
+/*
+ Auth-ADS
+
+ A név-jelszó pár ellenőrzése Active Directory adatbázis alapján
+*/
+
+/* --------------------------------------------------------------
+
+ Felhasználók azonosítása az AD-ban tárolt person (konfigurálható)
+ osztályok alapján történik.
+
+ A függvény az előre definiált _AUTH_SUCCESS, _AUTH_EXPIRED, _AUTH_FAILURE
+ konstansok valamelyikével tér vissza. (include/modules/auth/base/config.php)
+
+ Sikeres hitelesítés esetén
+ az egyéb account információkat (minimálisan a 'cn', azaz 'common name'
+ attribútumot) a cím szerint átadott $accountInformation tömbbe helyezi el.
+
+ Sikertelen azonosítás esetén a globális $_SESSION['alert'] változóban jelzi az
+ elutasítás okát.
+
+-------------------------------------------------------------- */
+
+######################################################################
+# Az LDAP protocol version 3 kötelező,
+# referals=0 nélkül használhatatlanul lassú
+######################################################################
+
+ ldap_set_option(NULL, LDAP_OPT_PROTOCOL_VERSION, 3);
+ ldap_set_option(NULL, LDAP_OPT_REFERRALS, 0);
+
+ /**
+ * A userAccountControl pár fontos flag-e:
+ *
+ * Forrás: http://msdn.microsoft.com/en-us/library/windows/desktop/ms680832%28v=vs.85%29.aspx
+ *
+ * 512 Enabled Account
+ * 514 Disabled Account
+ * 544 Enabled, Password Not Required
+ * 546 Disabled, Password Not Required
+ * 66048 Enabled, Password Doesn't Expire
+ * 66050 Disabled, Password Doesn't Expire
+ * 66080 Enabled, Password Doesn't Expire & Not Required
+ * 66082 Disabled, Password Doesn't Expire & Not Required
+ * 590336 Enabled, User Cannot Change Password, Password Never Expires
+ *
+ * Ha pwdLastSet=0 és UF_DONT_EXPIRE_PASSWD=0, akkor következő bejelentkezéskor jelszót _kell_ változtatni.
+ **/
+ define('ADS_UF_ACCOUNTDISABLE',0x00000002); // The user account is disabled.
+ define('ADS_UF_PASSWD_NOTREQD',0x00000020); // No password is required.
+ define('ADS_UF_PASSWD_CANT_CHANGE',0x00000040); // The user cannot change the password.
+ define('ADS_UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED',0x00000080); // The user can send an encrypted password.
+ define('ADS_UF_NORMAL_ACCOUNT',0x00000200); // This is a default account type that represents a typical user.
+ define('ADS_UF_DONT_EXPIRE_PASSWD',0x00010000); // The password for this account will never expire.
+ define('ADS_UF_PASSWORD_EXPIRED',0x00800000); // The user password has expired.
+
+ /**
+ * Ha az accountExpires = 0 or 0x7FFFFFFFFFFFFFFF (9223372036854775807), akkor az account sose jár le. (nem a jelszó! az account.)
+ **/
+ define('ADS_ACCOUNTEXPIRES_NEVER','9223372036854775807');
+
+ /**
+ * Forrás: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724284%28v=VS.85%29.aspx
+ * - unixDays - Az eltelt napok száma 1970-01-01-től
+ * - unixTimestamp - Az eltelt másodpercek száma 1970-01-01 00:00:00-től
+ * - msFileTime - A 1601-01-01 00:00:00-tól elteltt 100 nanosecundum-os intervallumok száma (1/10000000 sec)
+ **/
+ function msFileTime2unixDays($pwdLastSet) {
+ return floor((($pwdLastSet / 10000000) - 11644406783) / 86400);
+ }
+ function msFileTime2unixTimestamp($pwdLastSet) {
+ return bcsub(bcdiv($pwdLastSet, '10000000'), '11644473600');
+ }
+
+ function getAccountStatus($userAccount, $toPolicy, $userinfo, $ds) {
+
+ /**
+ * Meghatározza a felhasználói jelszó lejárati dátumát és az account egyéb fontos jellemzőit
+ *
+ * @params: $userAccount - a lekérdezendő account
+ * @params: $userinfo - A user adatait tartalmazó korábbi LDAP lekérdezés eredménye (useraccountcontrol, pwdlastchange)
+ * @params: $ds - LDAP csatlakozás azonosító
+ * @requires: bcmath http://www.php.net/manual/en/book.bc.php
+ * MSDN: http://msdn.microsoft.com/en-us/library/ms974598.aspx - a pwdLastSet 64 bites integer
+ * @return: array
+ * @param book $isGUID Is the username passed a GUID or a samAccountName
+ **/
+ global $AUTH;
+
+ if ($toPolicy == '') $toPolicy = _POLICY;
+ if (!function_exists('bcmod')) {
+ $_SESSION['alert'][] = 'message:system_error:Nem támogatott függvényhívás [bcmod]! http://www.php.net/manual/en/book.bc.php';
+ return false;
+ };
+
+ if (!$ds) {
+ $closeLDAP = true;
+ // Csatlakozzunk az LDAP kiszolgálóhoz!
+ // Kapcsolódás a szerverhez
+ $ds = ldap_connect($AUTH[$toPolicy]['adsHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds,$AUTH[$toPolicy]['adsUser'],$AUTH[$toPolicy]['adsPw']);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ return false;
+ }
+ }
+
+ if (!is_array($userinfo)) {
+ // Kérdezzük le az account adatait!
+ $filter="(&(sAMAccountName=$userAccount)(objectClass=".$AUTH[$toPolicy]['adsUserObjectClass']."))";
+ $justthese = array("sn","cn",$AUTH[$toPolicy]['adsStudyIdAttr'],"shadowexpire","shadowwarning","shadowinactive","shadowlastchange","shadowmax","pwdlastset","accountexpires","useraccountcontrol");
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['adsBaseDn'], $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure";
+ if ($closeLDAP) ldap_close($ds);
+ return false;
+ }
+ $userinfo = ldap_get_entries($ds,$sr);
+ if ( $userinfo['count'] === 0 || is_null($userinfo)) { // http://bugs.php.net/50185 ha nincs megfelelő elem, akkor - hibásan - null-al tér vissza! (~ PHP 5.2.10)
+ // Nincs ilyen userAccount (uid)
+ $_SESSION['alert'][] = "message:no_account:$userAccount";
+ if ($closeLDAP) ldap_close($ds);
+ return false;
+ }
+ if ( $userinfo['count'] > 1 ) {
+ // Több ilyen uid is van
+ $_SESSION['alert'][] = "message:multi_uid";
+ if ($closeLDAP) ldap_close($ds);
+ return false;
+ }
+ }
+ $pwdlastset = $userinfo[0]['pwdlastset'][0];
+ $userAccountControl = $userinfo[0]['useraccountcontrol'][0];
+
+ $status = array();
+
+ $status['pwdLastSet'] = $pwdlastset;
+ $status['pwdLastSetDt'] = date('Y-m-d H:i:s',msFileTime2unixTimestamp($pwdlastset));
+ $status['accountExpires'] = $userinfo[0]['accountexpires'][0];
+ $status['accountNeverExpires'] = (ADS_ACCOUNTEXPIRES_NEVER==$userinfo[0]['accountexpires'][0]) || ($userinfo[0]['accountexpires'][0] == 0);
+ if (!$status['accountNeverExpires']) {
+ $status['accountExpiresDt'] = date('Y-m-d H:i:s',msFileTime2unixTimestamp($userinfo[0]['accountexpires'][0]));
+ $status['accountExpiresTimestamp'] = msFileTime2unixTimestamp($userinfo[0]['accountexpires'][0]);
+ }
+ $status['accountDisabled'] = (bool)($userAccountControl & ADS_UF_ACCOUNTDISABLE);
+ $status['noPasswordRequired'] = (bool)($userAccountControl & ADS_UF_PASSWD_NOTREQD);
+ $status['cannotChangePassword'] = (bool)($userAccountControl & ADS_UF_PASSWD_CANT_CHANGE);
+ $status['normalAccount'] = (bool)($userAccountControl & ADS_UF_NORMAL_ACCOUNT);
+ $status['passwordNeverExpire'] = (bool)($userAccountControl & ADS_UF_DONT_EXPIRE_PASSWD);
+ $status['passwordExpired'] = (bool)($userAccountControl & ADS_UF_PASSWORD_EXPIRED); // Ez mintha nem működne...
+ $status['mustChangePassword'] = ($pwdlastset === '0' && $status['passwordNeverExpire']);
+
+ // A jelszó lejárati dátum az AD-ben két értékből számítható ki:
+ // - A felhasználó saját pwdLastSet atribútuma: ez tárolja a jelszó utolsó módosításának időpontját
+ // - A tartomány maxPwdAge atribútuma: milyen hosszú ideig lehet érvényes a jelszó a tartományban
+ //
+ // A Microsoft persze saját kiindulási időpontot és lépési egységet használ az idő tárolására.
+ // Ez a függvény konvertálja ezt az értéket Unix időbélyeggé
+
+ // Kérdezzük le a tartomány maxPwdAge attribútumát!
+ $sr = ldap_read($ds, $AUTH[$toPolicy]['adsBaseDn'], 'objectclass=domain', array('maxPwdAge'));
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:getAccountStatus (ads backend)";
+ if ($closeLDAP) ldap_close($ds);
+ return false;
+ }
+ $info = ldap_get_entries($ds, $sr);
+ $maxpwdage = $info[0]['maxpwdage'][0];
+
+ // Lásd MSDN: http://msdn.microsoft.com/en-us/library/ms974598.aspx
+ //
+ // pwdLastSet tartalmazza az 1601 (UTC) január 1 óta eltelt 100 nanoszekundumos időintervallumok számát
+ // 64 bit-es integer típusú értékként
+ //
+ // Ettől az időponttól a Unix időszámítás kezdetéig eltelt másodpercek száma 11644473600.
+ //
+ // maxPwdAge szintén large integer, ami a jelszóváltoztatás és a jelszó lejárat közötti 100 nanoszekundumos időintervallumok számát tárolja
+
+ $status['maxPwdAgeInDays'] = bcdiv(bcsub(0,$maxpwdage),'36000000000')/24;
+
+ // Ezt az étéket át kell váltanunk másodpercekre, de ez egy negatív mennyiség!
+ //
+ // Ha a maxPwdAge alsó 32 bites része 0, akkor a jelszavak nem járnak le
+ //
+ // Sajnos ezek a számok túl nagyok a PHP integer típusához, ezért kell a BCMath függvényeit használnunk
+
+ $status['passwordsDoNotExpireInDomain'] = (bcmod($maxpwdage, 4294967296) === '0');
+
+ // Adjuk össze a pwdlastset és maxpwdage értékeket (pontosabban az utóbbi negatív értéket
+ // vonjuk ki az előbbiből), így megkapjuk a jelszó lejáratának időpontját a Microsoft féle
+ // egységekben.
+ $pwdexpire = bcsub($pwdlastset, $maxpwdage);
+
+ // Konvertáljuk az MS féle időt unix időre
+ $status['expiryTimestamp'] = bcsub(bcdiv($pwdexpire, '10000000'), '11644473600');
+ $status['expiryDate'] = date('Y-m-d H:i:s', bcsub(bcdiv($pwdexpire, '10000000'), '11644473600'));
+
+ if ($closeLDAP) ldap_close($ds);
+
+ $status['userAccount'] = $userAccount;
+ $status['usetAccountControl'] = $userAccountControl;
+ $status['shadowLastChange'] = $userinfo[0]['shadowlastchange'][0];
+ $status['shadowWarning'] = $userinfo[0]['shadowwarning'][0];
+ $status['shadowInactive'] = $userinfo[0]['shadowinactive'][0];
+ return array_merge($status);
+
+
+ }
+
+ function adsUserAuthentication($userAccount, $userPassword, &$accountInformation, $toPolicy) {
+
+ global $AUTH;
+
+ if ($toPolicy == '') {
+ if ($accountInformation['policy'] != '') $toPolicy = $accountInformation['policy'];
+// elseif ($_REQUEST['toPolicy'] != '') $toPolicy = $_REQUEST['toPolicy'];
+ else $toPolicy = _POLICY;
+ }
+
+ // Kapcsolódás a szerverhez
+ $ds = ldap_connect($AUTH[$toPolicy]['adsHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return _AUTH_FAILURE;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds,$AUTH[$toPolicy]['adsUser'],$AUTH[$toPolicy]['adsPw']);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ return _AUTH_FAILURE;
+ }
+
+ // Van-e adott azonosítójú felhasználó?
+ $filter="(&(sAMAccountName=$userAccount)(objectClass=".$AUTH[$toPolicy]['adsUserObjectClass']."))";
+ $justthese = array("sn","cn",$AUTH[$toPolicy]['adsStudyIdAttr'],"shadowexpire","shadowwarning","shadowinactive","shadowlastchange","shadowmax","pwdlastset","accountexpires","useraccountcontrol");
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['adsBaseDn'], $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure";
+ ldap_close($ds);
+ return _AUTH_FAILURE;
+ }
+ $info = ldap_get_entries($ds,$sr);
+ if ( $info['count'] === 0 || is_null($info)) { // http://bugs.php.net/50185 ha nincs megfelelő elem, akkor - hibásan - null-al tér vissza! (~ PHP 5.2.10)
+ // Nincs ilyen userAccount (uid)
+ $_SESSION['alert'][] = "message:no_account:$userAccount";
+ ldap_close($ds);
+ return _AUTH_FAILURE_1;
+ }
+
+ if ( $info['count'] > 1 ) {
+ // Több ilyen uid is van
+ $_SESSION['alert'][] = "message:multi_uid";
+ ldap_close($ds);
+ return _AUTH_FAILURE_2;
+ }
+
+ if ($info['count']==1) { // Van - egy - ilyen felhasználó
+
+ $status = getAccountStatus($userAccount, $toPolicy, $info, $ds);
+ // Lejárt-e
+ // A lejárat ideje a shadowExpire és shadowLastChange+shadowMax kötül a kisebbik
+ // Esetünkben
+ if ($info[0]['pwdlastset'][0] != '') { // A pwdLastSet és shadowLastChange közül a kisebbiket használjuk
+ $info[0]['shadowlastchange'][0] = msFileTime2unixDays($info[0]['pwdlastset'][0]);
+ }
+
+ // A globális beállítással kikényszeríthető a nagyobb warning időszak
+ $shadowWarning = ($status['shadowWarning']<$AUTH[$toPolicy]['shadowWarning']) ? $AUTH[$toPolicy]['shadowWarning'] : $status['shadowWarning'];
+
+
+ $disabled = ( // Ha az jelszavak lejárhatnak a domain-ben és a user jellszava is lejárhat és le is járt...
+ !$status['passwordNeverExpire']
+ && !$status['passwordsDoNotExpireInDomain']
+ && $status['expiryTimestamp'] < time()
+ ) || ( // vagy az account lejárhat és le is járt
+ !$status['accountNeverExpires']
+ && $status['accountExpiresTimestamp']<time()
+ ); // Akkor már nem lehet belépni/jelszót változtatni...
+ $expired = ( // Ha a jelszavak lejárhatnak és a user jelszava is lejárhat, és shadowwarning-on belül le fog járni a jelszó
+ !$status['passwordNeverExpire']
+ && !$status['passwordsDoNotExpireInDomain']
+ && $status['expiryTimestamp'] - ($shadowWarning*24*60*60) < time()
+ ) || ( // Ha az account lejárhat és shadow warning-on belül le is fog járni az account
+ !$status['accountNeverExpires']
+ && $status['accountExpiresTimestamp'] - ($shadowWarning*24*60*60) < time()
+ ); // ...
+
+ /**
+ * Más backend-ben csak $AUTH[$toPolicy]['onDisabled'] == 'refuse' esetén utasítanánk el, de itt nincs más lehetőség...
+ **/
+ if ($disabled) {
+ $_SESSION['alert'][] = 'message:account_disabled';
+ ldap_close($ds);
+ return _AUTH_FAILURE_4;
+ }
+
+ $accountInformation['cn'] = $info[0]['cn'][0];
+ $accountInformation['studyId'] = $info[0][ $AUTH[$toPolicy]['adsStudyIdAttr'] ][0];
+ $accountInformation['dn'] = $info[0]['dn'];
+ $accountInformation['account'] = $userAccount;
+ // Jelszó ellenőrzés - lehet-e csatlakozni
+ if (!@ldap_bind($ds, $accountInformation['dn'], $userPassword)) {
+ $_SESSION['alert'][] = 'message:bad_pw';
+ return _AUTH_FAILURE_3;
+ }
+
+ ldap_close($ds);
+ if (!$expired || $AUTH[$toPolicy]['onExpired'] == 'none') {
+ return _AUTH_SUCCESS;
+ } else {
+ $pwLejar = floor(($status['expiryTimestamp'] - time()) / 86400);
+ $_SESSION['alert'][] = 'info:account_warning:'.$pwLejar;
+ $_SESSION['alert'][] = 'info:warn_account_disable:'.$pwLejar; // más backend esetén csak onDisable=refuse esetén szoktuk...
+ if ($AUTH[$toPolicy]['onExpired'] == 'warning') {
+ return _AUTH_SUCCESS;
+ } elseif ($AUTH[$toPolicy]['onExpired'] == 'force update') {
+ return _AUTH_EXPIRED;
+ } else {
+ return _AUTH_FAILURE;
+ }
+ }
+
+/*
+ // Lejárt-e az azonosító
+ if ($AUTH[$toPolicy]['onExpired'] != 'none' && isset($expireTimestamp)) { // onExpired: none | warning | force update
+ // Lejárt-e
+ $pwLejar = $expireTimestamp - floor(time()/(60*60*24));
+ if (0 < $pwLejar && $pwLejar < $info[0]['shadowwarning'][0]) {
+ $_SESSION['alert'][] = 'info:account_warning:'.$pwLejar;
+ return _AUTH_SUCCESS;
+ } elseif ($pwLejar <= 0) {
+ $_SESSION['alert'][] = 'info:account_expired:'.abs($pwLejar);
+ if ($AUTH[$toPolicy]['onDisabled'] == 'refuse') $_SESSION['alert'][] = 'info:warn_account_disable:'.($info[0]['shadowinactive'][0]+$pwLejar);
+ if ($AUTH[$toPolicy]['onExpired'] == 'warning') {
+ return _AUTH_SUCCESS;
+ } elseif ($AUTH[$toPolicy]['onExpired'] == 'force update') {
+ return _AUTH_EXPIRED;
+ } else {
+ return _AUTH_FAILURE;
+ }
+ }
+ } // onExpired
+ // Ha idáig eljut, akkor minden rendben.
+ return _AUTH_SUCCESS;
+*/
+ } // count == 1
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ads/base/attrs.php b/mayor-orig/mayor-base/www/include/backend/ads/base/attrs.php
new file mode 100644
index 00000000..e01aa00c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ads/base/attrs.php
@@ -0,0 +1,160 @@
+<?php
+/*
+ Module: useradmin
+*/
+
+ if (file_exists('lang/'._LANG.'/backend/ads/attrs.php')) {
+ require('lang/'._LANG.'/backend/ads/attrs.php');
+ } elseif (file_exists('lang/'._DEFAULT_LANG.'/backend/ads/attrs.php')) {
+ require('lang/'._DEFAULT_LANG.'/backend/ads/attrs.php');
+ }
+
+######################################################
+# Alapértelmezett jogosultságok
+#
+# w - Írható/olvasható
+# r - olvasható
+# - - egyik sem
+#
+# Három karakter: admin, self, other jogai
+######################################################
+
+ define('_DEFAULT_ADS_RIGHTS','wr-');
+
+######################################################
+# Az LDAP account attribútumok
+######################################################
+
+ global $adsAccountAttrs;
+ $adsAccountAttrs = array(
+ 'cn',
+ 'sn',
+ 'serialnumber',
+ 'givenname',
+ 'displayname',
+ 'name',
+ 'padpwdcount',
+ 'badpasswordtime',
+ 'lastlogon',
+ 'pwdlastset', // ~ shadowLastChane
+ 'accountexpires', // != shadowExpired - henme mi? 1601.01.01-től (60*60*24*1000*1000*10)*napok száma
+ 'samaccountname',
+ 'userprincipalname',
+ 'useraccountcontrol',
+ 'objectcategory',
+ 'uid',
+ 'mssfu30name',
+ 'uidnumber',
+ 'gidnumber',
+ 'unixhomedirectory',
+ 'loginshell',
+
+ 'shadowlastchange',
+ 'shadowexpire',
+ 'shadowwarning',
+ 'shadowmin',
+ 'shadowmax',
+ 'shadowinactive',
+
+/*
+ 'gecos',
+ 'mail',
+ 'telephonenumber',
+ 'mobile',
+ 'l',
+ 'street',
+ 'postaladdress',
+ 'postalcode',
+ 'homedirectory',
+*/
+ );
+
+ global $adsGroupAttrs;
+ $adsGroupAttrs = array(
+ 'cn',
+ 'description',
+ 'member',
+ 'name',
+ 'samaccountname',
+ 'objectcategory',
+ 'gidnumber', // ennek kellene lennie - mitől lesz?
+/* 'memberuid' */
+ );
+
+ global $accountAttrToADS; // Kis és nagybetű számít!!!
+ $accountAttrToADS = array(
+ 'userAccount' => 'sAMAccountName',
+ 'userCn' => 'displayName',
+ 'mail' => 'mail',
+ 'studyId' => 'serialNumber', // Ez konfig-ban külön van állítva, az itteni érték irreleváns
+ 'shadowLastChange' => 'shadowLastChange',
+ 'shadowWarning' => 'shadowWarning',
+ 'shadowMin' => 'shadowMin',
+ 'shadowMax' => 'shadowMax',
+ 'shadowExpire' => 'shadowExpire',
+ 'shadowInactive' => 'shadowInactive',
+ );
+
+ global $groupAttrToADS;
+ $groupAttrToADS = array(
+ 'groupCn' => 'cn',
+ 'groupDesc' => 'description',
+ 'member' => 'member',
+ );
+
+ global $adsAccountAttrDef;
+ $adsAccountAttrDef = array(
+ 'dn' => array('desc' => _ADSDN, 'type' => 'text', 'rights' => 'rrr'),
+ 'cn' => array('desc' => _ADSCN, 'type' => 'text', 'rights' => 'rrr'),
+ 'sn' => array('desc' => _ADSSN, 'type' => 'text', 'rights' => 'wrr'),
+ 'givenname' => array('desc' => _ADSGIVENNAME, 'type' => 'text'),
+ 'serialnumber' => array('desc' => _ADSSERIALNUMBER, 'type' => 'int', 'rights' => 'wrr'),
+ 'displayname' => array('desc' => _ADSCN, 'type' => 'text', 'rights' => 'wrr'),
+ 'name' => array('desc' => _ADSNAME, 'type' => 'text', 'rights' => 'r--'),
+ 'padpwdcount' => array('desc' => _ADSBADPWDCOUNT, 'type' => 'int', 'rights' => 'wrr'),
+ 'badpasswordtime' => array('desc' => _ADSBADPASSWORDTIME, 'type' => 'int', 'rights' => 'r--'),
+ 'lastlogon' => array('desc' => _ADSLASTLOGON, 'type' => 'int', 'rights' => 'r--'),
+ 'pwdlastset' => array('desc' => _ADSPWDLASTSET, 'type' => 'int', 'rights' => 'r--'),
+ 'accountexpires' => array('desc' => _ADSACCOUNTEXPIRES, 'type' => 'int', 'rights' => 'wrr'),
+ 'samaccountname' => array('desc' => _ADSSAMACCOUNTNAME, 'type' => 'text', 'rights' => 'wrr'),
+ 'useraccountcontrol' => array('desc' => _USERACCOUNTCONTROL, 'type' => 'text', 'rights' => 'wrr'),
+ 'userprincipalname' => array('desc' => _ADSUSERPRINCIPALNAME, 'type' => 'text', 'rights' => 'wrr'),
+ 'objectcategory' => array('desc' => _ADSOBJECTCATEGORY, 'type' => 'text', 'rights' => 'r--'),
+ 'uid' => array('desc' => _ADSUID, 'type' => 'text', 'rights' => 'rrr'),
+ 'uidnumber' => array('desc' => _ADSUIDNUMBER, 'type' => 'int', 'rights' => 'w--'),
+ 'gidnumber' => array('desc' => _ADSGIDNUMBER, 'type' => 'int', 'rights' => 'w--'),
+ 'mssfu30name' => array('desc' => _ADSUID, 'type' => 'text', 'rights' => 'r--'),
+ 'unixhomedirectory' => array('desc' => _ADSUNIXHOMEDIRECTORY, 'type' => 'text', 'rights' => 'wrr'),
+ 'loginshell' => array('desc' => _ADSLOGINSHELL, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowlastchange' => array('desc' => _ADSSHADOWLASTCHANGE, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowexpire' => array('desc' => _ADSSHADOWEXPIRE, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowwarning' => array('desc' => _ADSSHADOWWARNING, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowmin' => array('desc' => _ADSSHADOWMIN, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowmax' => array('desc' => _ADSSHADOWMAX, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowinactive' => array('desc' => _ADSSHADOWINACTICE, 'type' => 'text', 'rights' => 'wrr'),
+/*
+ 'gecos' => array('desc' => _ADSGECOS, 'type' => 'text', 'rights' => 'w--'),
+ 'mail' => array('desc' => _ADSMAIL, 'type' => 'text', 'rights' => 'wwr'),
+ 'telephonenumber' => array('desc' => _ADSTELEPHONENUMBER, 'type' => 'text', 'rights' => 'ww-'),
+ 'mobile' => array('desc' => _ADSMOBILE, 'type' => 'text', 'rights' => 'ww-'),
+ 'l' => array('desc' => _ADSL, 'type' => 'text'),
+ 'street' => array('desc' => _ADSSTREET, 'type' => 'text'),
+ 'postaladdress' => array('desc' => _ADSPOSTALADDRESS, 'type' => 'text'),
+ 'postalcode' => array('desc' => _ADSPOSTALCODE, 'type' => 'text'),
+*/
+ );
+
+ global $adsGroupAttrDef;
+ $adsGroupAttrDef = array(
+ 'cn' => array('desc' => _ADSCN, 'type' => 'text','rights' => 'rrr'),
+ 'name' => array('desc' => _ADSNAME, 'type' => 'text','rights' => 'rrr'),
+ 'samaccountname' => array('desc' => _ADSSAMACCOUNTNAME, 'type' => 'text','rights' => 'wrr'),
+ 'description' => array('desc' => _ADSDESCRIPTION, 'type' => 'text'),
+ 'gidnumber' => array('desc' => _ADSGIDNUMBER, 'type' => 'int','rights' => 'w--'),
+ 'member' => array('desc' => _ADSMEMBER, 'type' => 'select'),
+ 'objectcategory' => array('desc' => _ADSOBJECTCATEGORY, 'type' => 'text','rights' => 'rrr'),
+
+ 'memberuid' => array('desc' => _ADSMEMBERUID, 'type' => 'select'),
+ );
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ads/password/changePassword.php b/mayor-orig/mayor-base/www/include/backend/ads/password/changePassword.php
new file mode 100644
index 00000000..6d686b34
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ads/password/changePassword.php
@@ -0,0 +1,165 @@
+<?php
+/*
+
+ Module: base/password
+
+ Active Directory-ban csak ldaps-sel lehet megváltoztatni a jelszót!
+ Az AD a shadow attribútumokat nem kezeli, helyettük más attribútumokat állít automatikusan.
+ De azért beállítjuk őket, abból baj nem lehet...
+
+ function changeMyPassword($userAccount, $userPassword, $newPassword, $verification)
+ A függvény nem vizsgálja, hogy jogosultak vagyunk-e a jelszó megváltoztatására.
+ Ennek eldöntése a függvényt hívó program feladata
+*/
+
+############################################################################
+# Jelszó kódolása az Active Directory számára
+############################################################################
+
+function ADSEncodePassword($password) {
+
+ return mb_convert_encoding("\"".$password."\"", "UTF-16LE", "UTF-8");
+
+}
+
+############################################################################
+# Saját jelszó megváltoztatása
+############################################################################
+
+/* *************************************************************************
+ A leírások szerint a felhasználó maga is megváltoztathatja jelszavát.
+ Ennek módja az unicodePw attribútum törlése (a régi jelszó értéke szerint),
+ és felvétele új értékkel - mindenz elvileg egy lépésben.
+
+ A PHP ldap_mod* függvények ezt az egy lépésben kétféle módosítást nem
+ támogatják. De a helyzet az, hogy a módosítás perl-ből és parancssorból
+ sem működik...
+************************************************************************* */
+
+function changeMyPassword($userAccount, $userPassword, $newPassword, $toPolicy = '') {
+
+ global $AUTH;
+
+ if ($toPolicy == '') $toPolicy = $_REQUEST['toPolicy'];
+ $userDn = ADSuserAccountToDn($userAccount, $toPolicy);
+
+ // Csatlakozzás az AD kiszolgálóhoz (SSL szükséges!)
+ $ds = ldap_connect($AUTH[$toPolicy]['adsHostname']);
+ if (!$ds) {
+ // nem sikerült csatlakozni
+ $_SESSION['alert'][] = 'message:ldap_failure';
+ return false;
+ }
+
+ // Az eredeti jelszó ellenőrzése - csatlakozással
+ $b_ok = ldap_bind($ds,$userDn,$userPassword);
+ if (!$b_ok) {
+ // Talán a régi jelszót elgépelte, vagy le van tiltva...
+ $_SESSION['alert'][] = 'message:ldap_bind_failure:'.$userDn.':changeMyPassword - hibás a régi jelszó?';
+ ldap_close($ds);
+ return false;
+ }
+
+ // A régi és új jelszavak átkódolása
+ $newUnicodePwd = base64_encode(ADSEncodePassword($newPassword));
+ $oldUnicodePwd = base64_encode(ADSEncodePassword($userPassword));
+ // A php ldap_mod* függvényei nem tudnak egy lépésben többféle módosítást elküldeni
+ // ezért a parancssoros ldapmodify-t kell meghívnunk...
+ $ldif=<<<EOT
+dn: $userDn
+changetype: modify
+delete: unicodePwd
+unicodePwd:: $oldUnicodePwd
+-
+add: unicodePwd
+unicodePwd:: $newUnicodePwd
+-
+EOT;
+ $cmd = sprintf("/usr/bin/ldapmodify -H %s -D '%s' -x -w %s", $AUTH[$toPolicy]['adsHostname'], $userDn, $userPassword);
+ // KHM!
+ if (($fh = popen($cmd, 'w')) === false ) {
+ // Nem sikerült megnyitni a csatornát - mikor is lehet ilyen? Ha nincs ldapmodify?
+ $_SESSION['alert'][] = 'message:popen_failure';
+ return false;
+ }
+ fwrite($fh, "$ldif\n");
+ pclose($fh);
+
+ // Sikeres volt-e a jelszóváltoztatás? Próbáljunk újra csatlakozni az új jelszóval!
+ if (!@ldap_bind($ds, $userDn, $newPassword)) {
+ $_SESSION['alert'][] = 'message:bad_pw';
+ return false;
+ }
+
+ // Shadow attribútumok beállítása
+ // Ezekre nincs jogosultsága a felhasználónak, így csak AccountOperator-ként módosítható
+ // Ráadásul Windoes alatt változtatva a jelszót ezek nem változnak, így nem lehet számítani rájuk...
+ if (isset($AUTH[$toPolicy]['adsAccountOperatorUser'])) {
+ $shadowLastChange = floor(time()/(60*60*24));
+ $info['shadowLastChange'][0] = $shadowLastChange;
+ if (isset($AUTH[$toPolicy]['shadowExpire']) and $AUTH[$toPolicy]['shadowExpire'] != '') {
+ $info['shadowExpire'][0] = $AUTH[$toPolicy]['shadowExpire'];
+ } elseif (isset($AUTH[$toPolicy]['shadowMax']) and $AUTH[$toPolicy]['shadowMax'] != '') {
+ $info['shadowExpire'][0] = $shadowLastChange + intval($AUTH[$toPolicy]['shadowMax']);
+ }
+
+ $b_ok = ldap_bind($ds,$AUTH[$toPolicy]['adsAccountOperatorUser'],$AUTH[$toPolicy]['adsAccountOperatorPw']);
+ if (!$b_ok) { $_SESSION['alert'][] = 'message:ldap_bind_failure'; return false; }
+ $r = @ldap_mod_replace($ds, $userDn, $info);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_modify_failure:changeMyPassword';
+ return false;
+ }
+ }
+ ldap_close($ds);
+ $_SESSION['alert'][] = 'info:pw_change_success';
+ return true;
+
+}
+
+############################################################################
+# Adminisztrátori jelszó változtatás
+############################################################################
+
+function changePassword($userAccount, $newPassword, $toPolicy = '') {
+
+ global $AUTH;
+
+ if ($toPolicy == '') $toPolicy = _POLICY;
+ $userDn = ADSuserAccountToDn($userAccount, $toPolicy);
+ $shadowLastChange = floor(time()/(60*60*24));
+
+ $ds = ldap_connect($AUTH[$toPolicy]['adsHostname']);
+ if ($ds) {
+ $b_ok = ldap_bind($ds,BACKEND_CONNECT_DN,BACKEND_CONNECT_PASSWORD);
+ if ($b_ok) {
+ $info['unicodePwd'][0] = ADSEncodePassword($newPassword);
+ // Ezekre nincs jogosultsága a felhasználónak, nem változnak:
+ // _SHADOWMIN, _SHADOWMAX, _SHADOWWARNING, _SHADOWINACTIVE
+ $info['shadowLastChange'][0] = $shadowLastChange;
+ if (isset($AUTH[$toPolicy]['shadowExpire']) and $AUTH[$toPolicy]['shadowExpire'] != '') {
+ $info['shadowExpire'][0] = $AUTH[$toPolicy]['shadowExpire'];
+ } elseif (isset($AUTH[$toPolicy]['shadowMax']) and $AUTH[$toPolicy]['shadowMax'] != '') {
+ $info['shadowExpire'][0] = $shadowLastChange + intval($AUTH[$toPolicy]['shadowMax']);
+ }
+ $r = @ldap_mod_replace($ds,$userDn,$info);
+ ldap_close($ds);
+ if ($r) {
+ $_SESSION['alert'][] = 'info:pw_change_success';
+ return true;
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_modify_failure:changePassword';
+ return false;
+ }
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure:'._USERDN.':changePassword';
+ ldap_close($ds);
+ return false;
+ }
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_failure';
+ return false;
+ }
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ads/session/accountInfo.php b/mayor-orig/mayor-base/www/include/backend/ads/session/accountInfo.php
new file mode 100644
index 00000000..eef90fd4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ads/session/accountInfo.php
@@ -0,0 +1,416 @@
+<?php
+/*
+ Module: base/auth-ads
+ Backend: ads
+
+ function getADSInfo($userDn, $attrList=array('cn'), $toPolicy = '')
+ function adsGetAccountInfo($userAccount, $toPolicy = _POLICY)
+ function adsGetUserInfo($userAccount, $toPolicy = _POLICY)
+ function adsChangeAccountInfo($userAccount, $toPolicy = _POLICY)
+ function adsGetGroupInfo($groupCn, $toPolicy = _POLICY)
+
+*/
+
+######################################################
+# getADSInfo - általános ADS lekérdezés
+######################################################
+
+
+ function getADSInfo($userDn, $attrList=array('cn'), $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // Kapcsolódás az ADS szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, BACKEND_CONNECT_DN,BACKEND_CONNECT_PASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Keresés
+ $filter = '(objectclass=*)';
+ $sr = @ldap_search($ds, $userDn, $filter, $attrList);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$userDn;
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = @ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ return $info;
+
+ }
+
+###########################################################
+# adsGetAccountInfo - felhasználói információk (backend)
+###########################################################
+
+ function adsGetAccountInfo($userAccount, $toPolicy = _POLICY) {
+
+ global $backendAttrs, $backendAttrDef;
+
+ if (!isset($backendAttrs)) list($backendAttrs, $backendAttrDef) = getBackendAttrs('Account', $toPolicy);
+
+ $userDn = ADSuserAccountToDn($userAccount, $toPolicy);
+
+ $result = getADSInfo($userDn, $backendAttrs, $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ // ADS schema --> mayor schema konverzió
+ for ($i = 0; $i < $result['count']; $i++) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ foreach ($backendAttrDef as $attr => $def) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ if ($attr == 'dn') $return[$i]['dn'] = array('count' => 1, 0 => $result[$i]['dn']);
+ elseif (isset($result[$i][$attr])) $return[$i][$attr] = $result[$i][$attr];
+ else $return[$i][$attr] = array('count' => 0);
+ }
+ }
+ return $return[0];
+
+ }
+
+ }
+
+#############################################################
+# adsGetUserInfo - felhasználói információk (keretrendszer)
+#############################################################
+
+ function adsGetUserInfo($userAccount, $toPolicy = _POLICY) {
+
+ global $accountAttrToADS, $adsAttrDef;
+ $userDn = ADSuserAccountToDn($userAccount, $toPolicy);
+
+ $result = getADSInfo($userDn, array_values($accountAttrToADS), $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ $result[0]['dn'] = array('count' => 1, 0 => $result[0]['dn']);
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + ADS --> MaYoR schema
+ foreach ($accountAttrToADS as $attr => $adsAttr) {
+ $adsAttr = kisbetus($adsAttr);
+ if (isset($result[0][$adsAttr])) $return[$attr] = $result[0][$adsAttr];
+ else $return[$attr] = array('count' => 0);
+ }
+ return $return;
+
+ }
+
+ }
+
+###############################################################
+# adsChangeAccountInfo - felhasználói információk módosítása
+###############################################################
+
+ function adsChangeAccountInfo($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH, $backendAttrs, $backendAttrDef;
+ $userDn = ADSuserAccountToDn($userAccount, $toPolicy);
+
+ // Kapcsolódás az ADS szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, BACKEND_CONNECT_DN,BACKEND_CONNECT_PASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $emptyAttrs = explode(':',$_POST['emptyAttrs']);
+ $_alert = array();
+
+ // Attribútumonként módosítunk
+ foreach ($backendAttrs as $attr) {
+
+ if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_ADS_RIGHTS;
+ else $rights = $backendAttrDef[$attr]['rights'];
+
+ if ($rights[_ACCESS_AS] == 'w') {
+ $mod_info = $add_info = $del_info = Array();
+ $values = array();
+
+ if ($backendAttrDef[$attr]['type'] == 'image') {
+ $file = $_FILES[$attr]['tmp_name'];
+ if (file_exists($file)) {
+ $fd = fopen($file,'r');
+ $values[0]=fread($fd,filesize($file));
+ fclose($fd);
+ } else {
+ // Sose töröljük!
+ $emptyAttrs[] = $attr;
+ }
+ } elseif ($backendAttrDef[$attr]['type'] == 'timestamp') {
+ if ($_POST[$attr][0] != '' and $_POST[$attr][1] != '' and $_POST[$attr][2] != '') {
+ $values[0] = $_POST[$attr][0].$_POST[$attr][1].$_POST[$attr][2].'010101Z';
+ }
+ } else {
+ if ($backendAttrDef[$attr]['type'] != '' ) $values[0] = $_POST[$attr];
+ }
+
+ if ($backendAttrDef[$attr]['type'] == 'select') {
+ if ($_POST['new-'.$attr][0] != '') $add_info[$attr] = $_POST['new-'.$attr];
+ if ($_POST['del-'.$attr][0] != '') $del_info[$attr] = $_POST['del-'.$attr];
+ } elseif (in_array($attr,$emptyAttrs)) {
+ if ($values[0] != '') $add_info[$attr] = $values;
+ } else {
+ if ($values[0] != '') {
+ $mod_info[$attr] = $values;
+ } else {
+ $del_info[$attr] = Array();
+ }
+ }
+
+ if (count($add_info)!=0) {
+ if (!@ldap_mod_add($ds,$userDn,$add_info)) {
+ $_alert[] = 'message:insufficient_access:add:'.$attr;
+ }
+ }
+ if (count($mod_info)!=0) {
+ if (!@$r = ldap_mod_replace($ds,$userDn,$mod_info)) {
+ $_alert[] = 'message:insufficient_access:mod:'.$attr;
+ }
+ }
+ if (count($del_info)!=0) {
+ if (!@ldap_mod_del($ds,$userDn,$del_info)) {
+ $_alert[] = 'message:insufficient_access:del:'.$attr;
+ }
+ }
+
+ } else {
+// $_alert[] = 'message:insufficient_access:'.$attr;
+ }
+ } // foreach
+
+ ldap_close($ds);
+ if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success';
+ else for ($i = 0;$i < count($_alert);$i++) $_SESSION['alert'][] = $_alert[$i];
+
+ }
+
+###########################################################
+# adsGetGroupInfo - csoport információk (backend)
+###########################################################
+
+ function adsGetGroupInfo($groupCn, $toPolicy = _POLICY, $SET = array()) {
+
+ global $backendAttrs, $backendAttrDef;
+
+
+ if (!isset($backendAttrs)) list($backendAttrs, $backendAttrDef) = getBackendAttrs('Group', $toPolicy);
+
+ $groupDn = ADSgroupCnToDn($groupCn, $toPolicy);
+
+ $result = getADSInfo($groupDn, $backendAttrs, $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ // Accountok lekérdezése
+ $info = getADSaccounts($toPolicy);
+ for ($i = 0; $i < $info['count']; $i++) {
+ $accountUid[] = array(
+ 'value' => $info[$i]['uid'][0],
+ 'txt' => $info[$i]['displayname'][0]
+ );
+ $accountDn[] = array(
+ 'value' => $info[$i]['dn'],
+ 'txt' => $info[$i]['displayname'][0]
+ );
+ $DN2CN[$info[$i]['dn']] = $info[$i]['displayname'][0];
+ }
+
+ // ADS schema --> mayor schema konverzió
+ for ($i = 0; $i < $result['count']; $i++) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ foreach ($backendAttrDef as $attr => $def) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ if ($attr == 'dn') $return[$i]['dn'] = array('count' => 1, 0 => $result[$i]['dn']);
+ elseif($attr == 'member') {
+ $_TMP = array();
+ for ($j=0; $j<$result[$i][$attr]['count']; $j++) {
+ $_dn = $result[$i][$attr][$j];
+ $_TMP[] = array(
+ 'type'=>'member',
+ 'value'=>$_dn,
+ 'txt'=>($DN2CN[$_dn]==''?str_replace(',',' ',$_dn):$DN2CN[$_dn])
+ );
+ }
+ $return[$i][$attr] = $_TMP;
+ }
+
+ elseif (isset($result[$i][$attr])) $return[$i][$attr] = $result[$i][$attr];
+ else $return[$i][$attr] = array('count' => 0);
+ }
+
+ if ($SET['withNewAccounts']===true) {
+ $return[$i]['member']['new'] = $accountDn;
+ $return[$i]['memberuid']['new'] = $accountUid;
+ }
+ }
+
+ return $return[0];
+
+ }
+
+ }
+
+###############################################################
+# adsChangeGroupInfo - csoport információk módosítása
+###############################################################
+
+ function adsChangeGroupInfo($groupCn, $toPolicy = _POLICY) {
+
+// !!!! A memberuid / member szinkronjára nem figyel!!
+
+ global $AUTH, $backendAttrs, $backendAttrDef;
+ $groupDn = ADSgroupCnToDn($groupCn, $toPolicy);
+
+ // Kapcsolódás az ADS szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, BACKEND_CONNECT_DN,BACKEND_CONNECT_PASSWORD);
+
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $emptyAttrs = explode(':',$_POST['emptyAttrs']);
+ $_alert = array();
+
+ // Attribútumonként módosítunk
+ foreach ($backendAttrs as $attr) {
+
+ if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_ADS_RIGHTS;
+ else $rights = $backendAttrDef[$attr]['rights'];
+
+ if ($rights[_ACCESS_AS] == 'w') {
+
+ $mod_info = $add_info = $del_info = Array();
+ $values = array();
+
+ if ($backendAttrDef[$attr]['type'] == 'image') {
+ $file = $_FILES[$attr]['tmp_name'];
+ if (file_exists($file)) {
+ $fd = fopen($file,'r');
+ $values[0]=fread($fd,filesize($file));
+ fclose($fd);
+ } else {
+ // Sose töröljük!
+ $emptyAttrs[] = $attr;
+ }
+ } elseif ($backendAttrDef[$attr]['type'] == 'timestamp') {
+ if ($_POST[$attr][0] != '' and $_POST[$attr][1] != '' and $_POST[$attr][2] != '') {
+ $values[0] = $_POST[$attr][0].$_POST[$attr][1].$_POST[$attr][2].'010101Z';
+ }
+ } else {
+ if ($backendAttrDef[$attr]['type'] != '')
+ if (isset($_POST[$attr])) $values[0] = $_POST[$attr];
+ else $values[0] = '';
+ }
+
+ if ($backendAttrDef[$attr]['type'] == 'select') {
+ if (isset($_POST['new-'.$attr][0]) && $_POST['new-'.$attr][0] != '') $add_info[$attr] = $_POST['new-'.$attr];
+ if (isset($_POST['del-'.$attr][0]) && $_POST['del-'.$attr][0] != '') $del_info[$attr] = $_POST['del-'.$attr];
+ } elseif (in_array($attr,$emptyAttrs)) {
+ if ($values[0] != '') $add_info[$attr] = $values;
+ } else {
+ if ($values[0] != '') {
+ $mod_info[$attr] = $values;
+ } else {
+ $del_info[$attr] = Array();
+ }
+
+ }
+
+ if (count($add_info)!=0) {
+ if (!@ldap_mod_add($ds,$groupDn,$add_info)) {
+ $_alert[] = 'message:insufficient_access:add:'.$attr;
+ }
+ }
+ if (count($mod_info)!=0) {
+ if (!@ldap_mod_replace($ds,$groupDn,$mod_info)) {
+ $_alert[] = 'message:insufficient_access:mod:'.$attr;
+ }
+ }
+ if (count($del_info)!=0) {
+ if (!@ldap_mod_del($ds,$groupDn,$del_info)) {
+ $_alert[] = 'message:insufficient_access:del:'.$attr;
+ }
+ }
+
+ } else {
+// $_alert[] = 'message:insufficient_access:'.$attr;
+ }
+ } // foreach
+
+ ldap_close($ds);
+ if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success';
+ else for ($i=0;$i<count($_alert);$i++) $_SESSION['alert'][] = $_alert[$i];
+
+ }
+
+ function getADSaccounts($toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // Kapcsolódás az ADS szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, BACKEND_CONNECT_DN,BACKEND_CONNECT_PASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Keresés
+ $attrList = array('cn','uid','displayName','samaccountname');
+ $filter = '(&(objectclass=person)(!(objectclass=computer)))';
+ $sr = @ldap_search($ds, $AUTH[$toPolicy]['adsBaseDn'], $filter, $attrList);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$userDn;
+ ldap_close($ds);
+ return false;
+ }
+
+ ldap_sort($ds, $sr, 'displayname');
+ $info = @ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ return $info;
+
+ }
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ads/session/base.php b/mayor-orig/mayor-base/www/include/backend/ads/session/base.php
new file mode 100644
index 00000000..3a727c3b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ads/session/base.php
@@ -0,0 +1,188 @@
+<?php
+/*
+ Module: base/session
+ Backend: ads (for Active Directory)
+
+ function ADSuserAccountToDn($userAccount = _USERACCOUNT, $toPolicy = _POLICY)
+ function adsMemberOf($userAccount, $group, $toPolicy = _POLICY)
+
+*/
+
+ require('include/backend/ads/base/attrs.php');
+
+ ldap_set_option(NULL, LDAP_OPT_PROTOCOL_VERSION, 3);
+ ldap_set_option(NULL, LDAP_OPT_REFERRALS, 0);
+
+ if ($AUTH[_POLICY]['backend'] == 'ads') {
+ /* why not put into session cache */
+ if ($AUTH[_POLICY]['cacheable']=='yes') {
+ $userDn = _queryCache('RDN',_POLICY,'value');
+ }
+ if (!isset($userDn)) $userDn = ADSuserAccountToDn();
+ define('_USERDN', $userDn); // --TODO DEPRECATED
+ define('BACKEND_CONNECT_DN', $AUTH[_POLICY]['adsUser']);
+ define('BACKEND_CONNECT_PASSWORD', $AUTH[_POLICY]['adsPw']);
+ if ($AUTH[_POLICY]['cacheable']=='yes') _registerToCache('RDN',$userDn,_POLICY);
+ unset($userDn);
+ }
+
+######################################################
+# A _USERACCOUNT(uid)-hoz tartozó dn lekérdezése
+######################################################
+
+ function ADSuserAccountToDn($userAccount = _USERACCOUNT, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // Kapcsolódás a szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds,$AUTH[$toPolicy]['adsUser'],$AUTH[$toPolicy]['adsPw']);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ return false;
+ }
+
+ // Van-e adott azonosítójú felhasználó?
+ $filter="(&(sAMAccountName=$userAccount)(objectClass=".$AUTH[$toPolicy]['adsUserObjectClass']."))";
+ $justthese=array('cn','sn','givenName');
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['adsBaseDn'], $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure";
+ ldap_close($ds);
+ return false;
+ }
+ $info=ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ if ( $info['count'] === 0 ) {
+ // Nincs ilyen userAccount (uid)
+ $_SESSION['alert'][] = "message:no_account:$userAccount";
+ return false;
+ } elseif ( $info['count'] > 1 ) {
+ // Több ilyen uid is van
+ $_SESSION['alert'][] = "message:multi_uid:$userAccount";
+ return false;
+ }
+
+ if ($info['count']==1) { // Van - egy - ilyen felhasználó
+ return $info[0]['dn'];
+ }
+
+ }
+
+
+######################################################
+# A groupCn(cn)-hez tartozó dn lekérdezése
+######################################################
+
+ function ADSgroupCnToDn($groupCn, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // Kapcsolódás a szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds,$AUTH[$toPolicy]['adsUser'],$AUTH[$toPolicy]['adsPw']);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ return false;
+ }
+
+ // Van-e ilyen csoport?
+ $filter="(&(cn=$groupCn)(objectClass=".$AUTH[$toPolicy]['adsGroupObjectClass']."))";
+ $justthese=array('cn');
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['adsBaseDn'], $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure";
+ ldap_close($ds);
+ return false;
+ }
+ $info=ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ if ( $info['count'] === 0 ) {
+ // Nincs ilyen groupCn (cn) - hibaüzenet csak akkor, ha nem kategóriáról van szó...
+ if (!in_array($groupCn, array_map('ekezettelen', $AUTH[$toPolicy]['categories']))) $_SESSION['alert'][] = "message:no_group:$groupCn";
+ return false;
+ } elseif ( $info['count'] > 1 ) {
+ // Több ilyen cn is van
+ $_SESSION['alert'][] = "message:multi_gid:$groupCn";
+ return false;
+ }
+
+ if ($info['count']==1) { // Van - egy - ilyen csoport
+ return $info[0]['dn'];
+ }
+
+ }
+
+######################################################
+# memberOf - csoport tag-e
+######################################################
+
+ function adsMemberOf($userAccount, $group, $toPolicy = _POLICY) {
+
+ global $AUTH;
+ //global $ADS2Mayor;
+
+ $userDn = ADSuserAccountToDn($userAccount, $toPolicy);
+ if (in_array($group, $AUTH[$toPolicy]['categories'])) {
+ if (strpos($userDn, ',ou='.ekezettelen($group).',') !== false) return true;
+# Ha nincs megfelelő ou-ban, akkor nézzük a csoport tagságot - így berakható időszakosan akárki pl a titkárság kategóriába...
+# else return false;
+ }
+
+ if (substr($group,0,3) != 'cn=') {
+ $groupDn = ADSgroupCnToDn(ekezettelen($group));
+ if (!$groupDn) return false; // Ha nincs ilyen csoport az ADS fában
+ } else {
+ $groupDn = $group;
+ }
+
+ // Kapcsolódás az ADS szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds,$AUTH[$toPolicy]['adsUser'],$AUTH[$toPolicy]['adsPw']);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $justthese = array('cn'); // valamit le kell kérdezni...
+ $filter = "(&(objectClass=".$AUTH[$toPolicy]['adsGroupObjectClass'].")(member=$userDn))";
+ $sr = @ldap_search($ds, $groupDn, $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$filter;
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = ldap_get_entries($ds, $sr);
+ ldap_close($ds);
+
+ if ($info['count'] > 0) {
+ return true;
+ } else {
+ return false;
+ }
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ads/session/createAccount.php b/mayor-orig/mayor-base/www/include/backend/ads/session/createAccount.php
new file mode 100644
index 00000000..02809f07
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ads/session/createAccount.php
@@ -0,0 +1,157 @@
+<?php
+/*
+ Modules: base/session
+*/
+
+ require_once('include/backend/ads/password/changePassword.php');
+
+ /*
+ $SET = array(
+ container => a konténer elem - ha nincs, akkor CN=Users alá rakja
+ category => tanár, diák... egy kiemelt fontosságú csoport tagság
+ groups => egyéb csoportok
+ policyAttrs => policy függő attribútumok
+ )
+ */
+ function adsCreateAccount(
+ $userCn, $userAccount, $userPassword, $toPolicy, $SET
+ ) {
+
+ global $AUTH;
+
+ $shadowLastChange = floor(time() / (60*60*24));
+
+ // $toPolicy --> ads backend - ellenőrzés!
+ if ($AUTH[$toPolicy]['backend'] != 'ads') {
+ $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, BACKEND_CONNECT_DN,BACKEND_CONNECT_PASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = $ginfo = Array();
+
+ // uid ütközés ellenőrzése
+ $filter = "(sAMAccountName=$userAccount)";
+ $justthese = array('sAMAccountName');
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['adsBaseDn'], $filter, $justthese);
+ $uinfo = ldap_get_entries($ds, $sr);
+ $uidCount = $uinfo['count'];
+ ldap_free_result($sr);
+ if ($uidCount > 0) {
+ $_SESSION['alert'][] = 'message:multi_uid:'.$userAccount;
+ return false;
+ }
+
+ // Az következő uidNumber megállapítása
+ $filter = "(&(objectclass=".$AUTH[$toPolicy]['adsUserObjectClass'].")(uidNumber=*))";
+ $justthese = array('uidNumber', 'msSFU30UidNumber');
+ $sr = ldap_search($ds,$AUTH[$toPolicy]['adsBaseDn'], $filter, $justthese);
+ ldap_sort($ds, $sr, 'uidNumber');
+ $uinfo = ldap_get_entries($ds, $sr);
+ ldap_free_result($sr);
+ if (isset($uinfo['count']) && $uinfo['count'] > 0) $info['uidNumber'] = array($uinfo[ $uinfo['count']-1 ]['uidnumber'][0]+1);
+ else $info['uidNumber'] = array(1001);
+
+ // shadow attributumok...
+ // A shadowLastChange a mai nap // if (isset($AUTH[$toPolicy]['shadowlastchange']) && $AUTH[$toPolicy]['shadowlastchange'] != '')
+ $info['shadowLastChange'] = array($shadowLastChange);
+ if (isset($AUTH[$toPolicy]['shadowMin']) && $AUTH[$toPolicy]['shadowMin'] != '') $info['shadowMin'] = array($AUTH[$toPolicy]['shadowMin']);
+ if (isset($AUTH[$toPolicy]['shadowMax']) && $AUTH[$toPolicy]['shadowMax'] != '') $info['shadowMax'] = array($AUTH[$toPolicy]['shadowMax']);
+ if (isset($AUTH[$toPolicy]['shadowWarning']) && $AUTH[$toPolicy]['shadowWarning'] != '') $info['shadowWarning'] = array($AUTH[$toPolicy]['shadowWarning']);
+ if (isset($AUTH[$toPolicy]['shadowInactive']) && $AUTH[$toPolicy]['shadowInactive'] != '') $info['shadowInactive'] = array($AUTH[$toPolicy]['shadowInactive']);
+ if (isset($AUTH[$toPolicy]['shadowExpire']) && $AUTH[$toPolicy]['shadowWxpire'] != '') $info['shadowExpire'] = array($AUTH[$toPolicy]['shadowExpire']);
+
+ // A szokásos attribútumok
+ $Name = explode(' ',$userCn);
+ $Dn = ldap_explode_dn($AUTH[$toPolicy]['adsBaseDn'], 1); unset($Dn['count']);
+ $info['userPrincipalName'] = array( $userAccount.'@'.implode('.', $Dn));
+ $info['msSFU30Name'] = $info['sAMAccountName'] = $info['cn'] = array($userAccount);
+ $info['displayName'] = array($userCn);
+ $info['sn'] = array($Name[0]);
+ $info['givenName'] = array($Name[ count($Name)-1 ]);
+ $info['unixUserPassword'] = array('ABCD!efgh12345$67890');
+ $info['unixHomeDirectory'] = array(ekezettelen("/home/$userAccount"));
+ $info['loginShell'] = array('/bin/bash');
+ $info['objectClass'] = array($AUTH[$toPolicy]['adsUserObjectClass'], 'user');
+
+ $policyAccountAttrs = $SET['policyAttrs'];
+ if (isset($policyAccountAttrs['studyId'])) $info[ $AUTH[$toPolicy]['adsStudyIdAttr'] ] = array($policyAccountAttrs['studyId']);
+ foreach ($policyAccountAttrs as $attr => $value)
+ if ($attr != 'studyId' && isset($accountAttrToADS[$attr]))
+ $info[ $accountAttrToADS[$attr] ] = array($value);
+
+ if (isset($SET['container'])) $dn = "CN=$userAccount,".$SET['container'];
+ else $dn = "CN=$userAccount,CN=Users,".$AUTH[$toPolicy]['adsBaseDn'];
+
+ // user felvétel
+ $_r1 = @ldap_add($ds,$dn,$info);
+ if (!$_r1) {
+ $_SESSION['alert'][] = 'message:ldap_error:Add user:'.ldap_error($ds);
+ //echo $dn.'<pre>'; var_dump($info); echo '</pre>';
+ return false;
+ }
+
+ // Jelszó beállítás
+ if (!changePassword($userAccount, $userPassword, $toPolicy)) $_SESSION['alert'][] = 'message:ldap_error:changePassword failed:'.$userAccount;
+
+ // Engedélyezés
+ $einfo = array('userAccountControl' => array(512)); /* Normal account = 512 */
+ $_r1 = @ldap_mod_replace($ds,$dn,$einfo);
+ if (!$_r1) {
+ $_SESSION['alert'][] = 'message:ldap_error:Enable user:'.ldap_error($ds);
+ //echo $dn.'<pre>'; var_dump($info); echo '</pre>';
+ return false;
+ }
+
+ // Kategória csoportba és egyéb csoportokba rakás
+ if (isset($SET['category'])) {
+ if (is_array($SET['groups'])) array_unshift($SET['groups'], $SET['category']);
+ else $SET['groups'] = array($SET['category']);
+
+ $ginfo['member'] = $dn;
+
+ for ($i = 0; $i < count($SET['groups']); $i++) {
+ $groupDn = ADSgroupCnToDn($SET['groups'][$i], $toPolicy);
+ if ($groupDn !== false) {
+ $_r3 = @ldap_mod_add($ds, $groupDn, $ginfo);
+ if (!$_r3) {
+ $_SESSION['alert'][] = 'message:ldap_error:Add to group '.$SET['groups'][$i].':'.ldap_error($ds);
+ //echo $SET['groups'][$i].'<pre>'; var_dump($ginfo); echo '</pre>';
+ }
+ }
+ }
+ }
+
+ ldap_close($ds);
+
+ if (defined('_DATADIR')
+ && isset($AUTH[$toPolicy]['createAccountScript'])
+ && file_exists(_DATADIR)
+ ) {
+ $sfp = fopen(_DATADIR.'/'.$AUTH[$toPolicy]['createAccountScript'],'a+');
+ if ($sfp) {
+ fwrite($sfp,"\n# $userAccount létrehozása: userAccount uidNumber homeDirectory\n");
+ fwrite($sfp,"createAccount.sh '$userAccount' '".$info['uidNumber'][0]."' '".$info['unixHomeDirectory'][0]."'\n");
+ fclose($sfp);
+ }
+ }
+ $_SESSION['alert'][] = 'info:create_uid_success:'.$dn;
+ return true;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ads/session/createGroup.php b/mayor-orig/mayor-base/www/include/backend/ads/session/createGroup.php
new file mode 100644
index 00000000..0a0a8c1d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ads/session/createGroup.php
@@ -0,0 +1,82 @@
+<?php
+/*
+ Modules: base/session
+*/
+
+
+ function adsCreateGroup($groupCn, $groupDesc, $toPolicy = _POLICY, $SET = array()) {
+
+ global $AUTH;
+ $category = ekezettelen($SET['category']);
+
+ // $toPolicy --> ads backend - ellenőrzés!
+ if ($AUTH[$toPolicy]['backend'] != 'ads') {
+ $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, BACKEND_CONNECT_DN,BACKEND_CONNECT_PASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = $ginfo = Array();
+
+ // cn ütközés ellenőrzése
+ $filter = "(&(objectclass=".$AUTH[$toPolicy]['adsGroupObjectClass'].")(cn=$groupCn))";
+ $justthese = array('cn');
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['adsBaseDn'], $filter, $justthese);
+ $ginfo = ldap_get_entries($ds, $sr);
+ $gCount = $ginfo['count'];
+ ldap_free_result($sr);
+ if ($gCount > 0) {
+ $_SESSION['alert'][] = 'message:multi_uid:'.$groupCn;
+ return false;
+ }
+
+ // Az következő gidNumber megállapítása
+ $filter = "(&(objectclass=".$AUTH[$toPolicy]['adsGroupObjectClass'].")(gidNumber=*))";
+ $justthese = array('gidNumber', 'msSFU30GidNumber');
+ $sr = ldap_search($ds,$AUTH[$toPolicy]['adsBaseDn'], $filter, $justthese);
+ ldap_sort($ds, $sr, 'gidNumber');
+ $ginfo = ldap_get_entries($ds, $sr);
+ ldap_free_result($sr);
+ if (isset($ginfo['count']) && $ginfo['count'] > 0) $info['gidNumber'] = array($ginfo[ $ginfo['count']-1 ]['gidnumber'][0]+1);
+ else $info['gidNumber'] = array(1001);
+
+ // A szokásos attribútumok
+ $info['sAMAccountName'] = $info['cn'] = array($groupCn);
+ $info['description'] = array($groupDesc);
+
+ // A kategória függő attribútumok
+ if (isset($SET['container'])) $dn = "CN=$groupCn,".$SET['container'];
+ else $dn = "CN=$groupCn,OU=$category,".$AUTH[$toPolicy]['adsBaseDn'];
+
+ // objectum osztályok
+ $info['objectClass'] = array($AUTH[$toPolicy]['adsGroupObjectClass']);
+
+ // csoport felvétel
+ $_r1 = ldap_add($ds,$dn,$info);
+ if (!$_r1) {
+ printf("ADS-Error: %s<br>\n", ldap_error($ds));
+ var_dump($info);
+ }
+
+ ldap_close($ds);
+
+ $_SESSION['alert'][] = 'info:create_group_success:'.$dn;
+ return true;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ads/session/search/searchAccount.php b/mayor-orig/mayor-base/www/include/backend/ads/session/search/searchAccount.php
new file mode 100644
index 00000000..01298382
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ads/session/search/searchAccount.php
@@ -0,0 +1,277 @@
+<?php
+/*
+ Module: base/session
+ Backend: ads
+
+ ! -- Csak publikus mezőkre lehet keresni! -- !
+ function ADSSearch($attr, $pattern, $searchAttrs=array('cn'), $filter='(objectclass=*)')
+ function adsSearchAccount($attr, $pattern, $searchAttrs = array('userCn'))
+ function adsSearchGroup($attr, $pattern, $searchAttrs = array('groupCn, groupDesc'), $toPolicy = '') {
+
+*/
+
+######################################################
+# Általános ADS kereső függvény
+######################################################
+
+ function ADSSearch($attr, $pattern, $searchAttrs=array('cn'), $filter='(objectclass=*)', $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ if ($pattern == '') {
+ $_SESSION['alert'][] = 'message:empty_field';
+ return false;
+ }
+
+ // Kapcsolódás az ADS szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, BACKEND_CONNECT_DN,BACKEND_CONNECT_PASSWORD);
+
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure:ADSSearch';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Keresés
+ if (
+ strpos(kisbetus($attr),'number') !== false
+ && $attr != 'serialNumber'
+ ) $filter = "(&$filter($attr=$pattern))";
+ else $filter = "(&$filter($attr=*$pattern*))";
+
+ $filter = "(&$filter($attr=*$pattern*))";
+ $sr = @ldap_search($ds, $AUTH[$toPolicy]['adsBaseDn'], $filter, $searchAttrs);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$filter;
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = @ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ return $info;
+
+ }
+
+######################################################
+# adsSearchAccount - felhasználó kereső függvény
+######################################################
+
+ function adsSearchAccount($attr, $pattern, $searchAttrs = array('userCn'), $toPolicy = _POLICY) {
+
+ global $accountAttrToADS;
+
+ // A keresendő attribútum konvertálása ADS attribútummá
+ if ($accountAttrToADS[ $attr ] != '') $attrADS = $accountAttrToADS[ $attr ];
+ else $attrADS = $attr;
+ if ($attrADS == 'dn') $attrADS = 'uid'; // dn-re nem megy a keresés!!
+
+ // A lekérendő attribútumok konvertálása ADS attribútummá
+ for ($i = 0; $i < count($searchAttrs); $i++) {
+ if ($accountAttrToADS[ $searchAttrs[$i] ] != '') $searchAttrsADS[$i] = $accountAttrToADS[ $searchAttrs[$i] ];
+ else $searchAttrsADS[$i] = $searchAttrs[$i];
+ }
+ $result = ADSSearch($attrADS, $pattern, $searchAttrsADS, '(&(objectclass=person)(!(objectclass=computer)))', $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ // ADS schema --> mayor schema konverzió
+ for ($i = 0; $i < $result['count']; $i++) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ $result[$i]['dn'] = $return[$i]['userAccount'] = array('count' => 1, 0 => $result[$i]['dn']);
+ for ($j = 0; $j < count($searchAttrs); $j++) {
+ $a = $searchAttrs[$j];
+ if (isset($result[$i][ kisbetus($accountAttrToADS[$a]) ])) {
+ if ($accountAttrToADS[$a] != '') $return[$i][$a] = $result[$i][ kisbetus($accountAttrToADS[$a]) ];
+ else $return[$i][$a] = $result[$i][$a];
+ } else {
+ $return[$i][$a] = array('count' => 0) ;
+ }
+ }
+ $return[$i]['category'] = getAccountCategories($return[$i]['userAccount'][0], $toPolicy);
+ $return[$i]['category']['count'] = count($return[$i]['category']);
+ }
+ $return['count'] = $result['count'];
+
+ return $return;
+
+ }
+
+ }
+
+######################################################
+# adsSearchGroup - csoport kereső függvény
+######################################################
+
+ function adsSearchGroup($attr, $pattern, $searchAttrs = array('groupCn, groupDesc'), $toPolicy = _POLICY) {
+
+ global $groupAttrToADS;
+
+ // A keresendő attribútum konvertálása ADS attribútummá
+ if ($groupAttrToADS[ $attr ] != '') $attrADS = $groupAttrToADS[ $attr ];
+ else $attrADS = $attr;
+ if ($attrADS == 'dn') $attrADS = 'cn'; // dn-re nem megy a keresés!!
+
+ // A lekérendő adtibútumok konvertálása ADS attribútummá
+ for ($i = 0; $i < count($searchAttrs); $i++) {
+ if ($groupAttrToADS[ $searchAttrs[$i] ] != '') $searchAttrsADS[$i] = $groupAttrToADS[ $searchAttrs[$i] ];
+ else $searchAttrsADS[$i] = $searchAttrs[$i];
+ }
+
+ $result = ADSSearch($attrADS, $pattern, $searchAttrsADS, '(objectclass=group)', $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ // ADS schema --> mayor schema konverzió
+ for ($i = 0; $i < $result['count']; $i++) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ $result[$i]['dn'] = $return[$i]['groupCn'] = array('count' => 1, 0 => $result[$i]['dn']);
+ for ($j = 0; $j < count($searchAttrs); $j++) {
+ $a = $searchAttrs[$j];
+ if (!isset($groupAttrToADS[$a]) || $groupAttrToADS[$a] != '') {
+ if (isset($result[$i][ $groupAttrToADS[$a] ])) $return[$i][$a] = $result[$i][ $groupAttrToADS[$a] ];
+ else $return[$i][$a] = '';
+ } else {
+ $return[$i][$a] = $result[$i][$a];
+ }
+ }
+ }
+ $return['count'] = $result['count'];
+
+ return $return;
+
+ }
+
+ }
+
+######################################################
+# adsDeleteAccount - account törlése
+######################################################
+
+ function adsDeleteAccount($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // $toPolicy --> ads backend - ellenőrzés
+ if ($AUTH[$toPolicy]['backend'] != 'ads') {
+ $_SESSION['alert'][] = 'page:wrong_backend:ads!='.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ $userDn = ADSuserAccountToDn($userAccount, $toPolicy);
+ if ($userDn === false) return false;
+
+ // Kapcsolódás az ADS szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, BACKEND_CONNECT_DN,BACKEND_CONNECT_PASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Az uidNumber, a unixHomeDirectory lekerdezése
+ $filter = "(&(objectclass=".$AUTH[$toPolicy]['adsUserObjectClass'].")(!(objectclass=computer)))";
+ $justthese = array('uidNumber','unixHomedirectory');
+ $sr = @ldap_search($ds,$userDn,$filter,$justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$userDn;
+ ldap_close($ds);
+ return false;
+ } ;
+
+ $info = @ldap_get_entries($ds,$sr);
+ $uidNumber = $info[0]['uidnumber'][0];
+ $homeDirectory = $info[0]['unixhomedirectory'][0];
+ $uid=$userAccount;
+
+ // user törlése
+ if (!@ldap_delete($ds,$userDn)) {
+ $_SESSION['alert'][] = 'message:ldap_delete_failure:user:'.$userAccount;
+ }
+
+ ldap_close($ds);
+
+ /*
+ Ha van megadva deleteAccountScript paraméter, akkor abba bejegyzi a törölt felhasználó adatait.
+ A meghívott deleteAccount.sh nincs definiálva, testreszabható, megkötés egyedül a paraméter
+ lista: userAccount, uidNumber, homeDirectory
+ */
+ if (defined('_DATADIR')
+ && isset($AUTH[$toPolicy]['deleteAccountScript'])
+ && file_exists(_DATADIR)
+ ) {
+ $sfp = fopen(_DATADIR.'/'.$AUTH[$toPolicy]['deleteAccountScript'],'a+');
+ if ($sfp) {
+ fwrite($sfp,"\n# $userAccount törlése: userAccount uidNumber homeDirectory\n");
+ fwrite($sfp,"deleteAccount.sh '$userAccount' '$uidNumber' '$homeDirectory'\n");
+ fclose($sfp);
+ }
+ }
+
+ $_SESSION['alert'][] = 'info:delete_uid_success:'.$userDn;
+ return true;
+
+ }
+
+######################################################
+# adsDeleteGroup - account törlése
+######################################################
+
+ function adsDeleteGroup($groupCn, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // $toPolicy --> ads backend - ellenőrzés
+ if ($AUTH[$toPolicy]['backend'] != 'ads') {
+ $_SESSION['alert'][] = 'page:wrong_backend:ads!='.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ $groupDn = ADSgroupCnToDn($groupCn, $toPolicy);
+ if ($groupDn === false) return false;
+
+ // Kapcsolódás az ADS szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, BACKEND_CONNECT_DN,BACKEND_CONNECT_PASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ if (!@ldap_delete($ds, $groupDn)) {
+ $_SESSION['alert'][] = 'message:ldap_delete_failure:group:'.$groupCn;
+ }
+
+ ldap_close($ds);
+
+ $_SESSION['alert'][] = 'info:delete_group_success:'.$groupCn;
+ return true;
+
+ }
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/file/auth/login.php b/mayor-orig/mayor-base/www/include/backend/file/auth/login.php
new file mode 100644
index 00000000..bc77f9f7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/file/auth/login.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ Auth-File
+
+ A név-jelszó pár ellenőrzése file-ból történik
+*/
+
+/* --------------------------------------------------------------
+
+ Felhasználók azonosítása egyszerű szöveges file-ból
+
+ A file szerkezete:
+ Soronként egy account adatai, egymástól kettősponttal elválasztott mezők:
+ azonosító:név:jelszó:oktAzon:shadowLastChange:shadowMin:shadowMax:shadowWarning:shadowInactive:shadowExpire
+
+ A függvény az előre definiált _AUTH_SUCCESS, _AUTH_EXPIRED, _AUTH_FAILURE
+ konstansok valamelyikével tér vissza.
+
+ Sikeres hitelesítés esetén
+ az egyéb account információkat (minimálisan a 'cn', azaz 'teljes név'
+ attribútumot) a cím szerint átadott $accountInformation tömbbe helyezi el.
+
+ Sikertelen azonosítás esetén a globális $_SESSION['alert'] változóban jelzi az
+ elutasítás okát.
+
+-------------------------------------------------------------- */
+ function fileUserAuthentication($userAccount, $userPassword, &$accountInformation) {
+
+ global $AUTH;
+
+ $toPolicy = $accountInformation['policy'];
+ $fp = @fopen($AUTH[$toPolicy]['file account file'],'r');
+ if (!$fp) {
+ // nem lehet megnyitni a file-t
+ $_SESSION['alert'][] = 'message:file_open_failure:'.$AUTH[$toPolicy]['file account file'];
+ return _AUTH_FAILURE;
+ }
+
+ $valid = false;
+ while (!$valid and $sor = chop(fgets($fp, 1024))) {
+
+ list(
+ $_userAccount,
+ $_userCn,
+ $_userPassword,
+ $_studyId,
+ $shadowLastChange,
+ $shadowMin,
+ $shadowMax,
+ $shadowWarning,
+ $shadowInactive,
+ $shadowExpire
+ ) = explode(':',$sor);
+ $valid = ($_userAccount == $userAccount and $_userPassword == $userPassword); // itt lehetne a kódolt jelszót eltárolni és azzal hasonlítani
+
+ }
+
+ fclose($fp);
+
+ if ($valid) {
+
+ $accountInformation['cn'] = $_userCn;
+ $accountInformation['studyId'] = $_studyId;
+
+ if ( // onDisabled: none | refuse
+ $AUTH[$toPolicy]['onDisabled'] == 'refuse' &&
+ (
+ (
+ $shadowExpire != '' &&
+ $shadowExpire <= floor(time()/(60*60*24))
+ ) ||
+ (
+ $shadowLastChange != '' &&
+ $shadowMax != '' &&
+ $shadowInactive != '' &&
+ ( $shadowLastChange
+ + $shadowMax
+ + $shadowInactive ) <= floor(time()/(60*60*24))
+ )
+ )
+ ) {
+ // Le van tiltva
+ $_SESSION['alert'][] = 'message:account_disabled';
+ return _AUTH_FAILURE_4;
+ } // onDisabled
+
+ // Lejárt-e az azonosító
+ if (
+ $AUTH[$toPolicy]['onExpired'] != 'none' && // onExpired: none | warning | force update
+ $shadowLastChange != '' &&
+ $shadowMax != ''
+ ) {
+ // Lejárt-e
+ $pwLejar = ($shadowLastChange + $shadowMax) - floor(time()/(60*60*24));
+ if (0 < $pwLejar && $shadowWarning != '' && $pwLejar < $shadowWarning) {
+ $_SESSION['alert'][] = 'info:account_warning:'.$pwLejar;
+ return _AUTH_SUCCESS;
+ } elseif ($pwLejar <= 0) {
+ $_SESSION['alert'][] = 'info:account_expired:'.abs($pwLejar);
+ if ($AUTH[$toPolicy]['onDisabled'] == 'refuse')
+ $_SESSION['alert'][] = 'info:warn_account_disable:'.($shadowInactive+$pwLejar);
+ if ($AUTH[$toPolicy]['onExpired'] == 'warning') {
+ return _AUTH_SUCCESS;
+ } elseif ($AUTH[$toPolicy]['onExpired'] == 'force update') {
+ return _AUTH_EXPIRED;
+ }
+ }
+ } // onExpired
+
+ return _AUTH_SUCCESS;
+
+ } else {
+
+ $_SESSION['alert'][] = 'message:bad_pw';
+ return _AUTH_FAILURE_3;
+
+ }
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/file/session/base.php b/mayor-orig/mayor-base/www/include/backend/file/session/base.php
new file mode 100644
index 00000000..4902e9c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/file/session/base.php
@@ -0,0 +1,6 @@
+<?php
+
+ function fileMemberOf() {
+ return false;
+ }
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap-ng/auth/login.php b/mayor-orig/mayor-base/www/include/backend/ldap-ng/auth/login.php
new file mode 100644
index 00000000..3eb9854e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap-ng/auth/login.php
@@ -0,0 +1,163 @@
+<?php
+/*
+ Auth-LDAP-NG
+
+ A név-jelszó pár ellenőrzése LDAP adatbázis alapján
+*/
+
+/* --------------------------------------------------------------
+
+ Felhasználók azonosítása az LDAP-ban tárolt konfigurálható
+ osztályok alapján történik.
+
+ A függvény az előre definiált _AUTH_SUCCESS, _AUTH_EXPIRED, _AUTH_FAILURE
+ konstansok valamelyikével tér vissza. (include/modules/auth/base/config.php)
+
+ Sikeres hitelesítés esetén
+ az egyéb account információkat (minimálisan a 'cn', azaz 'common name'
+ attribútumot) a cím szerint átadott $accountInformation tömbbe helyezi el.
+
+ Sikertelen azonosítás esetén a globális $_SESSION['alert'] változóban jelzi az
+ elutasítás okát (ldap_connect_failure, ldap_bind_failure, ldap_search_failure, no_account, multi_uid,
+ account_disabled, bad_pw, account_warning, account_expired, warn_account_disable.
+
+-------------------------------------------------------------- */
+
+######################################################################
+# Az LDAP protocol version 3 kötelező,
+# referals=0 nélkül használhatatlanul lassú
+######################################################################
+
+ ldap_set_option(NULL, LDAP_OPT_PROTOCOL_VERSION, 3);
+ ldap_set_option(NULL, LDAP_OPT_REFERRALS, 0);
+
+
+ function ldap_ngUserAuthentication($userAccount, $userPassword, &$accountInformation, $toPolicy) {
+
+ global $AUTH;
+
+ if ($toPolicy == '') {
+ if ($accountInformation['policy'] != '') $toPolicy = $accountInformation['policy'];
+// elseif ($_REQUEST['toPolicy'] != '') $toPolicy = $_REQUEST['toPolicy'];
+ else $toPolicy = _POLICY;
+ }
+
+ // Kapcsolódás a szerverhez
+ $ds = ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return _AUTH_FAILURE;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds,$AUTH[$toPolicy]['ldapUser'],$AUTH[$toPolicy]['ldapPw']);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ return _AUTH_FAILURE;
+ }
+
+ // Van-e adott azonosítójú felhasználó?
+ $filter="(&(".$AUTH[$toPolicy]['ldapUserAccountAttr']."=$userAccount)(objectClass=".$AUTH[$toPolicy]['ldapUserObjectClass']."))";
+ $justthese = array("sn",$AUTH[$toPolicy]['ldapCnAttr'],$AUTH[$toPolicy]['ldapStudyIdAttr'],"shadowexpire","shadowwarning","shadowinactive","shadowlastchange","shadowmax");
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure";
+ ldap_close($ds);
+ return _AUTH_FAILURE;
+ }
+ $info = ldap_get_entries($ds,$sr);
+
+ if ( $info['count'] === 0 || is_null($info)) { // http://bugs.php.net/50185 ha nincs megfelelő elem, akkor - hibásan - null-al tér vissza! (~ PHP 5.2.10)
+ // Nincs ilyen userAccount (uid)
+ $_SESSION['alert'][] = "message:no_account:$userAccount";
+ ldap_close($ds);
+ return _AUTH_FAILURE_1;
+ }
+
+ if ( $info['count'] > 1 ) {
+ // Több ilyen uid is van
+ $_SESSION['alert'][] = "message:multi_uid";
+ ldap_close($ds);
+ return _AUTH_FAILURE_2;
+ }
+
+ if ($info['count']==1) { // Van - egy - ilyen felhasználó
+
+
+ $accountInformation['cn'] = $info[0][ $AUTH[$toPolicy]['ldapCnAttr'] ][0];
+ $accountInformation['studyId'] = $info[0][ $AUTH[$toPolicy]['ldapStudyIdAttr'] ][0];
+
+ $accountInformation['dn'] = $info[0]['dn'];
+ $accountInformation['account'] = $userAccount;
+ // Lejárt-e
+ // A lejárat ideje a shadowExpire és shadowLastChange+shadowMax kötül a kisebbik
+ if ($info[0]['pwdlastset'][0] != '') { // A pwdLastSet és shadowLastChange közül a kisebbiket használjuk
+// if ($info[0]['shadowlastchange'][0] != '')
+// $info[0]['shadowlastchange'][0] = min(pwdLastSet2shadowLastChange($info[0]['pwdlastset'][0]), $info[0]['shadowlastchange'][0]);
+// else
+ $info[0]['shadowlastchange'][0] = pwdLastSet2shadowLastChange($info[0]['pwdlastset'][0]);
+ }
+ if ($info[0]['accountexpires'][0] != '') { // Az accountExpires és a shadowExpire közül a kisebbiket használjuk
+// if ($info[0]['shadowexpire'][0] != '')
+// $info[0]['shadowexpire'][0] = min(pwdLastSet2shadowLastChange($info[0]['accountexpires'][0]), $info[0]['shadowexpire'][0]);
+// else
+ $info[0]['shadowexpire'][0] = pwdLastSet2shadowLastChange($info[0]['accountexpires'][0]);
+ }
+ if ($info[0]['shadowexpire'][0] != '') $expireTimestamp = $info[0]['shadowexpire'][0];
+ if (
+ $info[0]['shadowmax'][0] != '' &&
+ (
+ !isset($expireTimestamp) ||
+ $expireTimestamp > $info[0]['shadowlastchange'][0] + $info[0]['shadowmax'][0]
+ )
+ ) $expireTimestamp = $info[0]['shadowlastchange'][0] + $info[0]['shadowmax'][0];
+ // lejárt, ha lejárat ideje már elmúlt
+ $accountExpired = (isset($expireTimestamp) && ($expireTimestamp <= floor(time()/(60*60*24))));
+
+ // Le van-e tiltva
+ // Ha több mint shadowInactive napja lejárt
+ if ( // onDisabled: none | refuse
+ $AUTH[$toPolicy]['onDisabled'] == 'refuse' &&
+ isset($expireTimestamp) &&
+ $expireTimestamp + $info[0]['shadowinactive'][0] <= floor(time()/(60*60*24))
+ ) {
+ // Le van tiltva
+ $_SESSION['alert'][] = 'message:account_disabled';
+ ldap_close($ds);
+ return _AUTH_FAILURE_4;
+ } // onDisabled
+
+ // Jelszó ellenőrzés - lehet-e csatlakozni
+ if (!@ldap_bind($ds, $accountInformation['dn'], $userPassword)) {
+ $_SESSION['alert'][] = 'message:bad_pw';
+ return _AUTH_FAILURE_3;
+ }
+
+ ldap_close($ds);
+ // Lejárt-e az azonosító
+ if ($AUTH[$toPolicy]['onExpired'] != 'none' && isset($expireTimestamp)) { // onExpired: none | warning | force update
+ // Lejárt-e
+ $pwLejar = $expireTimestamp - floor(time()/(60*60*24));
+ if (0 < $pwLejar && $pwLejar < $info[0]['shadowwarning'][0]) {
+ $_SESSION['alert'][] = 'info:account_warning:'.$pwLejar;
+ return _AUTH_SUCCESS;
+ } elseif ($pwLejar <= 0) {
+ $_SESSION['alert'][] = 'info:account_expired:'.abs($pwLejar);
+ if ($AUTH[$toPolicy]['onDisabled'] == 'refuse') $_SESSION['alert'][] = 'info:warn_account_disable:'.($info[0]['shadowinactive'][0]+$pwLejar);
+ if ($AUTH[$toPolicy]['onExpired'] == 'warning') {
+ return _AUTH_SUCCESS;
+ } elseif ($AUTH[$toPolicy]['onExpired'] == 'force update') {
+ return _AUTH_EXPIRED;
+ } else {
+ return _AUTH_FAILURE;
+ }
+ }
+ } // onExpired
+ // Ha idáig eljut, akkor minden rendben.
+ return _AUTH_SUCCESS;
+
+ } // count == 1
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap-ng/base/attrs.php b/mayor-orig/mayor-base/www/include/backend/ldap-ng/base/attrs.php
new file mode 100644
index 00000000..2a2f327a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap-ng/base/attrs.php
@@ -0,0 +1,146 @@
+<?php
+/*
+ Module: useradmin
+*/
+
+ if (file_exists('lang/'._LANG.'/backend/ldap-ng/attrs.php')) {
+ require('lang/'._LANG.'/backend/ldap-ng/attrs.php');
+ } elseif (file_exists('lang/'._DEFAULT_LANG.'/backend/ldap-ng/attrs.php')) {
+ require('lang/'._DEFAULT_LANG.'/backend/ldap-ng/attrs.php');
+ }
+
+######################################################
+# Alapértelmezett jogosultságok
+#
+# w - Írható/olvasható
+# r - olvasható
+# - - egyik sem
+#
+# Három karakter: admin, self, other jogai
+######################################################
+
+ define('_DEFAULT_LDAP_RIGHTS','wr-');
+
+######################################################
+# Az LDAP account attribútumok
+######################################################
+
+ global $ldapAccountAttrs;
+ $ldapAccountAttrs = array(
+ 'cn',
+ 'serialnumber',
+ 'uid',
+ 'uidnumber',
+ 'gidnumber',
+ 'unixhomedirectory',
+ 'loginshell',
+
+ 'shadowlastchange',
+ 'shadowexpire',
+ 'shadowwarning',
+ 'shadowmin',
+ 'shadowmax',
+ 'shadowinactive',
+
+/*
+ 'gecos',
+ 'mail',
+ 'telephonenumber',
+ 'mobile',
+ 'l',
+ 'street',
+ 'postaladdress',
+ 'postalcode',
+ 'homedirectory',
+*/
+ );
+
+ global $ldapGroupAttrs;
+ $ldapGroupAttrs = array(
+ 'cn',
+ 'description',
+ 'member',
+ 'name',
+ 'samaccountname',
+ 'objectcategory',
+ 'gidnumber', // ennek kellene lennie - mitől lesz?
+/* 'memberuid' */
+ );
+
+ global $accountAttrToLDAP; // Kis és nagybetű számít!!!
+ $accountAttrToLDAP = array(
+ 'userAccount' => 'sAMAccountName',
+ 'userCn' => 'displayName',
+ 'mail' => 'mail',
+ 'studyId' => 'serialNumber', // Ez konfig-ban külön van állítva, az itteni érték irreleváns
+ 'shadowLastChange' => 'shadowLastChange',
+ 'shadowWarning' => 'shadowWarning',
+ 'shadowMin' => 'shadowMin',
+ 'shadowMax' => 'shadowMax',
+ 'shadowExpire' => 'shadowExpire',
+ 'shadowInactive' => 'shadowInactive',
+ );
+
+ global $groupAttrToLDAP;
+ $groupAttrToLDAP = array(
+ 'groupCn' => 'cn',
+ 'groupDesc' => 'description',
+ 'member' => 'member',
+ );
+
+ global $ldapAccountAttrDef;
+ $ldapAccountAttrDef = array(
+ 'dn' => array('desc' => _LDAPDN, 'type' => 'text', 'rights' => 'rrr'),
+ 'cn' => array('desc' => _LDAPCN, 'type' => 'text', 'rights' => 'rrr'),
+ 'sn' => array('desc' => _LDAPSN, 'type' => 'text', 'rights' => 'wrr'),
+ 'givenname' => array('desc' => _LDAPGIVENNAME, 'type' => 'text'),
+ 'serialnumber' => array('desc' => _LDAPSERIALNUMBER, 'type' => 'int', 'rights' => 'wrr'),
+ 'displayname' => array('desc' => _LDAPCN, 'type' => 'text', 'rights' => 'wrr'),
+ 'name' => array('desc' => _LDAPNAME, 'type' => 'text', 'rights' => 'r--'),
+ 'padpwdcount' => array('desc' => _LDAPBADPWDCOUNT, 'type' => 'int', 'rights' => 'wrr'),
+ 'badpasswordtime' => array('desc' => _LDAPBADPASSWORDTIME, 'type' => 'int', 'rights' => 'r--'),
+ 'lastlogon' => array('desc' => _LDAPLASTLOGON, 'type' => 'int', 'rights' => 'r--'),
+ 'pwdlastset' => array('desc' => _LDAPPWDLASTSET, 'type' => 'int', 'rights' => 'r--'),
+ 'accountexpires' => array('desc' => _LDAPACCOUNTEXPIRES, 'type' => 'int', 'rights' => 'wrr'),
+ 'samaccountname' => array('desc' => _LDAPSAMACCOUNTNAME, 'type' => 'text', 'rights' => 'wrr'),
+ 'useraccountcontrol' => array('desc' => _USERACCOUNTCONTROL, 'type' => 'text', 'rights' => 'wrr'),
+ 'userprincipalname' => array('desc' => _LDAPUSERPRINCIPALNAME, 'type' => 'text', 'rights' => 'wrr'),
+ 'objectcategory' => array('desc' => _LDAPOBJECTCATEGORY, 'type' => 'text', 'rights' => 'r--'),
+ 'uid' => array('desc' => _LDAPUID, 'type' => 'text', 'rights' => 'rrr'),
+ 'uidnumber' => array('desc' => _LDAPUIDNUMBER, 'type' => 'int', 'rights' => 'w--'),
+ 'gidnumber' => array('desc' => _LDAPGIDNUMBER, 'type' => 'int', 'rights' => 'w--'),
+ 'mssfu30name' => array('desc' => _LDAPUID, 'type' => 'text', 'rights' => 'r--'),
+ 'unixhomedirectory' => array('desc' => _LDAPUNIXHOMEDIRECTORY, 'type' => 'text', 'rights' => 'wrr'),
+ 'loginshell' => array('desc' => _LDAPLOGINSHELL, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowlastchange' => array('desc' => _LDAPSHADOWLASTCHANGE, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowexpire' => array('desc' => _LDAPSHADOWEXPIRE, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowwarning' => array('desc' => _LDAPSHADOWWARNING, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowmin' => array('desc' => _LDAPSHADOWMIN, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowmax' => array('desc' => _LDAPSHADOWMAX, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowinactive' => array('desc' => _LDAPSHADOWINACTICE, 'type' => 'text', 'rights' => 'wrr'),
+/*
+ 'gecos' => array('desc' => _LDAPGECOS, 'type' => 'text', 'rights' => 'w--'),
+ 'mail' => array('desc' => _LDAPMAIL, 'type' => 'text', 'rights' => 'wwr'),
+ 'telephonenumber' => array('desc' => _LDAPTELEPHONENUMBER, 'type' => 'text', 'rights' => 'ww-'),
+ 'mobile' => array('desc' => _LDAPMOBILE, 'type' => 'text', 'rights' => 'ww-'),
+ 'l' => array('desc' => _LDAPL, 'type' => 'text'),
+ 'street' => array('desc' => _LDAPSTREET, 'type' => 'text'),
+ 'postaladdress' => array('desc' => _LDAPPOSTALADDRESS, 'type' => 'text'),
+ 'postalcode' => array('desc' => _LDAPPOSTALCODE, 'type' => 'text'),
+*/
+ );
+
+ global $ldapGroupAttrDef;
+ $ldapGroupAttrDef = array(
+ 'cn' => array('desc' => _LDAPCN, 'type' => 'text','rights' => 'rrr'),
+ 'name' => array('desc' => _LDAPNAME, 'type' => 'text','rights' => 'rrr'),
+ 'samaccountname' => array('desc' => _LDAPSAMACCOUNTNAME, 'type' => 'text','rights' => 'wrr'),
+ 'description' => array('desc' => _LDAPDESCRIPTION, 'type' => 'text'),
+ 'gidnumber' => array('desc' => _LDAPGIDNUMBER, 'type' => 'int','rights' => 'w--'),
+ 'member' => array('desc' => _LDAPMEMBER, 'type' => 'select'),
+ 'objectcategory' => array('desc' => _LDAPOBJECTCATEGORY, 'type' => 'text','rights' => 'rrr'),
+
+ 'memberuid' => array('desc' => _LDAPMEMBERUID, 'type' => 'select'),
+ );
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap-ng/password/changePassword.php b/mayor-orig/mayor-base/www/include/backend/ldap-ng/password/changePassword.php
new file mode 100644
index 00000000..aa4cd91d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap-ng/password/changePassword.php
@@ -0,0 +1,161 @@
+<?php
+/*
+
+ Module: base/password
+
+ function changeMyPassword($userAccount, $userPassword, $newPassword, $verification)
+ A függvény nem vizsgálja, hogy jogosultak vagyunk-e a jelszó megváltoztatására.
+ Ennek eldöntése a függvényt hívó program feladata
+*/
+
+############################################################################
+# Jelszó kódolása (az Active Directory ezt használja....)
+############################################################################
+
+function LDAPEncodePassword($password) {
+
+ return mb_convert_encoding("\"".$password."\"", "UTF-16LE", "UTF-8");
+
+}
+
+############################################################################
+# Saját jelszó megváltoztatása
+############################################################################
+
+/* *************************************************************************
+ A leírások szerint a felhasználó maga is megváltoztathatja jelszavát.
+ Ennek módja az unicodePw attribútum törlése (a régi jelszó értéke szerint),
+ és felvétele új értékkel - mindenz elvileg egy lépésben.
+
+ A PHP ldap_mod* függvények ezt az egy lépésben kétféle módosítást nem
+ támogatják. De a helyzet az, hogy a módosítás perl-ből és parancssorból
+ sem működik...
+************************************************************************* */
+
+function changeMyPassword($userAccount, $userPassword, $newPassword, $toPolicy = '') {
+
+ global $AUTH;
+
+ if ($toPolicy == '') $toPolicy = $_REQUEST['toPolicy'];
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+
+ // Csatlakozzás az AD kiszolgálóhoz (SSL szükséges!)
+ $ds = ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ // nem sikerült csatlakozni
+ $_SESSION['alert'][] = 'message:ldap_failure';
+ return false;
+ }
+
+ // Az eredeti jelszó ellenőrzése - csatlakozással
+ $b_ok = ldap_bind($ds,$userDn,$userPassword);
+ if (!$b_ok) {
+ // Talán a régi jelszót elgépelte, vagy le van tiltva...
+ $_SESSION['alert'][] = 'message:ldap_bind_failure:'.$userDn.':changeMyPassword - hibás a régi jelszó?';
+ ldap_close($ds);
+ return false;
+ }
+
+ // A régi és új jelszavak átkódolása
+ $newUnicodePwd = base64_encode(LDAPEncodePassword($newPassword));
+ $oldUnicodePwd = base64_encode(LDAPEncodePassword($userPassword));
+ // A php ldap_mod* függvényei nem tudnak egy lépésben többféle módosítást elküldeni
+ // ezért a parancssoros ldapmodify-t kell meghívnunk...
+ $ldif=<<<EOT
+dn: $userDn
+changetype: modify
+delete: unicodePwd
+unicodePwd:: $oldUnicodePwd
+-
+add: unicodePwd
+unicodePwd:: $newUnicodePwd
+-
+EOT;
+ $cmd = sprintf("/usr/bin/ldapmodify -H %s -D '%s' -x -w %s", $AUTH[$toPolicy]['ldapHostname'], $userDn, $userPassword);
+
+ if (($fh = popen($cmd, 'w')) === false ) {
+ // Nem sikerült megnyitni a csatornát - mikor is lehet ilyen? Ha nincs ldapmodify?
+ $_SESSION['alert'][] = 'message:popen_failure';
+ return false;
+ }
+ fwrite($fh, "$ldif\n");
+ pclose($fh);
+
+ // Sikeres volt-e a jelszóváltoztatás? Próbáljunk újra csatlakozni az új jelszóval!
+ if (!@ldap_bind($ds, $userDn, $newPassword)) {
+ $_SESSION['alert'][] = 'message:bad_pw';
+ return false;
+ }
+
+ // Shadow attribútumok beállítása
+ // Ezekre nincs jogosultsága a felhasználónak, így csak AccountOperator-ként módosítható
+ // Ráadásul Windoes alatt változtatva a jelszót ezek nem változnak, így nem lehet számítani rájuk...
+ if (isset($AUTH[$toPolicy]['ldapAccountOperatorUser'])) {
+ $shadowLastChange = floor(time()/(60*60*24));
+ $info['shadowLastChange'][0] = $shadowLastChange;
+ if (isset($AUTH[$toPolicy]['shadowExpire']) and $AUTH[$toPolicy]['shadowExpire'] != '') {
+ $info['shadowExpire'][0] = $AUTH[$toPolicy]['shadowExpire'];
+ } elseif (isset($AUTH[$toPolicy]['shadowMax']) and $AUTH[$toPolicy]['shadowMax'] != '') {
+ $info['shadowExpire'][0] = $shadowLastChange + intval($AUTH[$toPolicy]['shadowMax']);
+ }
+
+ $b_ok = ldap_bind($ds,$AUTH[$toPolicy]['ldapAccountOperatorUser'],$AUTH[$toPolicy]['ldapAccountOperatorPw']);
+ if (!$b_ok) { $_SESSION['alert'][] = 'message:ldap_bind_failure'; return false; }
+ $r = @ldap_mod_replace($ds, $userDn, $info);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_modify_failure:changeMyPassword';
+ return false;
+ }
+ }
+ ldap_close($ds);
+ $_SESSION['alert'][] = 'info:pw_change_success';
+ return true;
+
+}
+
+############################################################################
+# Adminisztrátori jelszó változtatás
+############################################################################
+
+function changePassword($userAccount, $newPassword, $toPolicy = '') {
+
+ global $AUTH;
+
+ if ($toPolicy == '') $toPolicy = _POLICY;
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+ $shadowLastChange = floor(time()/(60*60*24));
+
+ $ds = ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if ($ds) {
+ $b_ok = ldap_bind($ds,_USERDN,_USERPASSWORD);
+ if ($b_ok) {
+ $info['unicodePwd'][0] = LDAPEncodePassword($newPassword);
+ // Ezekre nincs jogosultsága a felhasználónak, nem változnak:
+ // _SHADOWMIN, _SHADOWMAX, _SHADOWWARNING, _SHADOWINACTIVE
+ $info['shadowLastChange'][0] = $shadowLastChange;
+ if (isset($AUTH[$toPolicy]['shadowExpire']) and $AUTH[$toPolicy]['shadowExpire'] != '') {
+ $info['shadowExpire'][0] = $AUTH[$toPolicy]['shadowExpire'];
+ } elseif (isset($AUTH[$toPolicy]['shadowMax']) and $AUTH[$toPolicy]['shadowMax'] != '') {
+ $info['shadowExpire'][0] = $shadowLastChange + intval($AUTH[$toPolicy]['shadowMax']);
+ }
+ $r = @ldap_mod_replace($ds,$userDn,$info);
+ ldap_close($ds);
+ if ($r) {
+ $_SESSION['alert'][] = 'info:pw_change_success';
+ return true;
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_modify_failure:changePassword';
+ return false;
+ }
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure:'._USERDN.':changePassword';
+ ldap_close($ds);
+ return false;
+ }
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_failure';
+ return false;
+ }
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap-ng/session/accountInfo.php b/mayor-orig/mayor-base/www/include/backend/ldap-ng/session/accountInfo.php
new file mode 100644
index 00000000..d3733ba2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap-ng/session/accountInfo.php
@@ -0,0 +1,401 @@
+<?php
+/*
+ Module: base/auth-ldap-ng
+ Backend: ldap-ng
+
+ function getLDAPInfo($userDn, $attrList=array('cn'), $toPolicy = '')
+ function ldapGetAccountInfo($userAccount, $toPolicy = _POLICY)
+ function ldapGetUserInfo($userAccount, $toPolicy = _POLICY)
+ function ldapChangeAccountInfo($userAccount, $toPolicy = _POLICY)
+ function ldapGetGroupInfo($groupCn, $toPolicy = _POLICY)
+
+*/
+
+######################################################
+# getLDAPInfo - általános LDAP lekérdezés
+######################################################
+
+
+ function getLDAPInfo($Dn, $attrList=array('cn'), $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Keresés
+ $filter = '(objectclass=*)';
+ $sr = @ldap_search($ds, $Dn, $filter, $attrList);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$Dn;
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = @ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ return $info;
+
+ }
+
+###########################################################
+# ldapGetAccountInfo - felhasználói információk (backend)
+###########################################################
+
+ function ldapGetAccountInfo($userAccount, $toPolicy = _POLICY) {
+
+ global $backendAttrs, $backendAttrDef;
+
+ if (!isset($backendAttrs)) list($backendAttrs, $backendAttrDef) = getBackendAttrs('Account', $toPolicy);
+
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+
+ $result = getLDAPInfo($userDn, $backendAttrs, $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ // LDAP schema --> mayor schema konverzió
+ for ($i = 0; $i < $result['count']; $i++) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ foreach ($backendAttrDef as $attr => $def) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ if ($attr == 'dn') $return[$i]['dn'] = array('count' => 1, 0 => $result[$i]['dn']);
+ elseif (isset($result[$i][$attr])) $return[$i][$attr] = $result[$i][$attr];
+ else $return[$i][$attr] = array('count' => 0);
+ }
+ }
+ return $return[0];
+
+ }
+
+ }
+
+#############################################################
+# ldapGetUserInfo - felhasználói információk (keretrendszer)
+#############################################################
+
+ function ldapGetUserInfo($userAccount, $toPolicy = _POLICY) {
+
+ global $accountAttrToLDAP, $ldapAttrDef;
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+
+ $result = getLDAPInfo($userDn, array_values($accountAttrToLDAP), $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ $result[0]['dn'] = array('count' => 1, 0 => $result[0]['dn']);
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + LDAP --> MaYoR schema
+ foreach ($accountAttrToLDAP as $attr => $ldapAttr) {
+ $ldapAttr = kisbetus($ldapAttr);
+ if (isset($result[0][$ldapAttr])) $return[$attr] = $result[0][$ldapAttr];
+ else $return[$attr] = array('count' => 0);
+ }
+ return $return;
+
+ }
+
+ }
+
+###############################################################
+# ldapChangeAccountInfo - felhasználói információk módosítása
+###############################################################
+
+ function ldapChangeAccountInfo($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH, $backendAttrs, $backendAttrDef;
+
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $emptyAttrs = explode(':',$_POST['emptyAttrs']);
+ $_alert = array();
+
+ // Attribútumonként módosítunk
+ foreach ($backendAttrs as $attr) {
+
+ if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_LDAP_RIGHTS;
+ else $rights = $backendAttrDef[$attr]['rights'];
+
+ if ($rights[_ACCESS_AS] == 'w') {
+ $mod_info = $add_info = $del_info = Array();
+ $values = array();
+
+ if ($backendAttrDef[$attr]['type'] == 'image') {
+ $file = $_FILES[$attr]['tmp_name'];
+ if (file_exists($file)) {
+ $fd = fopen($file,'r');
+ $values[0]=fread($fd,filesize($file));
+ fclose($fd);
+ } else {
+ // Sose töröljük!
+ $emptyAttrs[] = $attr;
+ }
+ } elseif ($backendAttrDef[$attr]['type'] == 'timestamp') {
+ if ($_POST[$attr][0] != '' and $_POST[$attr][1] != '' and $_POST[$attr][2] != '') {
+ $values[0] = $_POST[$attr][0].$_POST[$attr][1].$_POST[$attr][2].'010101Z';
+ }
+ } else {
+ if ($backendAttrDef[$attr]['type'] != '' ) $values[0] = $_POST[$attr];
+ }
+
+ if ($backendAttrDef[$attr]['type'] == 'select') {
+ if ($_POST['new-'.$attr][0] != '') $add_info[$attr] = $_POST['new-'.$attr];
+ if ($_POST['del-'.$attr][0] != '') $del_info[$attr] = $_POST['del-'.$attr];
+ } elseif (in_array($attr,$emptyAttrs)) {
+ if ($values[0] != '') $add_info[$attr] = $values;
+ } else {
+ if ($values[0] != '') {
+ $mod_info[$attr] = $values;
+ } else {
+ $del_info[$attr] = Array();
+ }
+ }
+
+ if (count($add_info)!=0) {
+ if (!@ldap_mod_add($ds,$userDn,$add_info)) {
+ $_alert[] = 'message:insufficient_access:add:'.$attr;
+ }
+ }
+ if (count($mod_info)!=0) {
+ if (!@$r = ldap_mod_replace($ds,$userDn,$mod_info)) {
+ $_alert[] = 'message:insufficient_access:mod:'.$attr;
+ }
+ }
+ if (count($del_info)!=0) {
+ if (!@ldap_mod_del($ds,$userDn,$del_info)) {
+ $_alert[] = 'message:insufficient_access:del:'.$attr;
+ }
+ }
+
+ } else {
+// $_alert[] = 'message:insufficient_access:'.$attr;
+ }
+ } // foreach
+
+ ldap_close($ds);
+ if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success';
+ else for ($i = 0;$i < count($_alert);$i++) $_SESSION['alert'][] = $_alert[$i];
+
+ }
+
+###########################################################
+# ldapGetGroupInfo - csoport információk (backend)
+###########################################################
+
+ function ldapGetGroupInfo($groupCn, $toPolicy = _POLICY) {
+
+ global $backendAttrs, $backendAttrDef;
+
+
+ if (!isset($backendAttrs)) list($backendAttrs, $backendAttrDef) = getBackendAttrs('Group', $toPolicy);
+
+ $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy);
+
+ $result = getLDAPInfo($groupDn, $backendAttrs, $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ // Accountok lekérdezése
+ $info = getLDAPaccounts($toPolicy);
+ for ($i = 0; $i < $info['count']; $i++) {
+ $accountUid[] = array(
+ 'value' => $info[$i]['uid'][0],
+ 'txt' => $info[$i]['displayname'][0]
+ );
+ $accountDn[] = array(
+ 'value' => $info[$i]['dn'],
+ 'txt' => $info[$i]['displayname'][0]
+ );
+ }
+
+ // LDAP schema --> mayor schema konverzió
+ for ($i = 0; $i < $result['count']; $i++) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ foreach ($backendAttrDef as $attr => $def) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ if ($attr == 'dn') $return[$i]['dn'] = array('count' => 1, 0 => $result[$i]['dn']);
+ elseif (isset($result[$i][$attr])) $return[$i][$attr] = $result[$i][$attr];
+ else $return[$i][$attr] = array('count' => 0);
+ }
+ $return[$i]['member']['new'] = $accountDn;
+ $return[$i]['memberuid']['new'] = $accountUid;
+ }
+
+ return $return[0];
+
+ }
+
+ }
+
+###############################################################
+# ldapChangeGroupInfo - csoport információk módosítása
+###############################################################
+
+ function ldapChangeGroupInfo($groupCn, $toPolicy = _POLICY) {
+
+// !!!! A memberuid / member szinkronjára nem figyel!!
+
+ global $AUTH, $backendAttrs, $backendAttrDef;
+
+ $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy);
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $emptyAttrs = explode(':',$_POST['emptyAttrs']);
+ $_alert = array();
+
+ // Attribútumonként módosítunk
+ foreach ($backendAttrs as $attr) {
+
+ if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_LDAP_RIGHTS;
+ else $rights = $backendAttrDef[$attr]['rights'];
+
+ if ($rights[_ACCESS_AS] == 'w') {
+
+ $mod_info = $add_info = $del_info = Array();
+ $values = array();
+
+ if ($backendAttrDef[$attr]['type'] == 'image') {
+ $file = $_FILES[$attr]['tmp_name'];
+ if (file_exists($file)) {
+ $fd = fopen($file,'r');
+ $values[0]=fread($fd,filesize($file));
+ fclose($fd);
+ } else {
+ // Sose töröljük!
+ $emptyAttrs[] = $attr;
+ }
+ } elseif ($backendAttrDef[$attr]['type'] == 'timestamp') {
+ if ($_POST[$attr][0] != '' and $_POST[$attr][1] != '' and $_POST[$attr][2] != '') {
+ $values[0] = $_POST[$attr][0].$_POST[$attr][1].$_POST[$attr][2].'010101Z';
+ }
+ } else {
+ if ($backendAttrDef[$attr]['type'] != '')
+ if (isset($_POST[$attr])) $values[0] = $_POST[$attr];
+ else $values[0] = '';
+ }
+
+ if ($backendAttrDef[$attr]['type'] == 'select') {
+ if (isset($_POST['new-'.$attr][0]) && $_POST['new-'.$attr][0] != '') $add_info[$attr] = $_POST['new-'.$attr];
+ if (isset($_POST['del-'.$attr][0]) && $_POST['del-'.$attr][0] != '') $del_info[$attr] = $_POST['del-'.$attr];
+ } elseif (in_array($attr,$emptyAttrs)) {
+ if ($values[0] != '') $add_info[$attr] = $values;
+ } else {
+ if ($values[0] != '') {
+ $mod_info[$attr] = $values;
+ } else {
+ $del_info[$attr] = Array();
+ }
+
+ }
+
+ if (count($add_info)!=0) {
+ if (!@ldap_mod_add($ds,$groupDn,$add_info)) {
+ $_alert[] = 'message:insufficient_access:add:'.$attr;
+ }
+ }
+ if (count($mod_info)!=0) {
+ if (!@ldap_mod_replace($ds,$groupDn,$mod_info)) {
+ $_alert[] = 'message:insufficient_access:mod:'.$attr;
+ }
+ }
+ if (count($del_info)!=0) {
+ if (!@ldap_mod_del($ds,$groupDn,$del_info)) {
+ $_alert[] = 'message:insufficient_access:del:'.$attr;
+ }
+ }
+
+ } else {
+// $_alert[] = 'message:insufficient_access:'.$attr;
+ }
+ } // foreach
+
+ ldap_close($ds);
+ if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success';
+ else for ($i=0;$i<count($_alert);$i++) $_SESSION['alert'][] = $_alert[$i];
+
+ }
+
+ function getLDAPaccounts($toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Keresés
+ $attrList = array('cn','uid','displayName','samaccountname');
+ $filter = '(&(objectclass=person)(!(objectclass=computer)))';
+ $sr = @ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $attrList);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$userDn;
+ ldap_close($ds);
+ return false;
+ }
+
+ ldap_sort($ds, $sr, 'displayname');
+ $info = @ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ return $info;
+
+ }
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap-ng/session/base.php b/mayor-orig/mayor-base/www/include/backend/ldap-ng/session/base.php
new file mode 100644
index 00000000..196e431c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap-ng/session/base.php
@@ -0,0 +1,184 @@
+<?php
+/*
+ Module: base/session
+ Backend: ldap-ng
+
+ function LDAPuserAccountToDn($userAccount = _USERACCOUNT, $toPolicy = _POLICY)
+ function ldapMemberOf($userAccount, $group, $toPolicy = _POLICY)
+
+*/
+
+ require('include/backend/ldap-ng/base/attrs.php');
+
+ ldap_set_option(NULL, LDAP_OPT_PROTOCOL_VERSION, 3);
+ ldap_set_option(NULL, LDAP_OPT_REFERRALS, 0);
+
+ if ($AUTH[_POLICY]['backend'] == 'ldap-ng') {
+ /* why not put into session cache */
+ if ($AUTH[_POLICY]['cacheable']=='yes') {
+ $userDn = _queryCache('RDN',_POLICY,'value');
+ }
+ if (!isset($userDn)) $userDn = LDAPuserAccountToDn();
+ define('_USERDN', $userDn);
+ if ($AUTH[_POLICY]['cacheable']=='yes') _registerToCache('RDN',$userDn,_POLICY);
+ unset($userDn);
+ }
+
+######################################################
+# A _USERACCOUNT(uid)-hoz tartozó dn lekérdezése
+######################################################
+
+ function LDAPuserAccountToDn($userAccount = _USERACCOUNT, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // Kapcsolódás a szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds,$AUTH[$toPolicy]['ldapUser'],$AUTH[$toPolicy]['ldapPw']);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ return false;
+ }
+
+ // Van-e adott azonosítójú felhasználó?
+ $filter="(&(".$AUTH[$toPolicy]['ldapUserAccountAttr']."=$userAccount)(objectClass=".$AUTH[$toPolicy]['ldapUserObjectClass']."))";
+ $justthese=array($AUTH[$toPolicy]['ldapCnAttr']);
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure";
+ ldap_close($ds);
+ return false;
+ }
+ $info=ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ if ( $info['count'] === 0 ) {
+ // Nincs ilyen userAccount (uid)
+ $_SESSION['alert'][] = "message:no_account:$userAccount";
+ return false;
+ } elseif ( $info['count'] > 1 ) {
+ // Több ilyen uid is van
+ $_SESSION['alert'][] = "message:multi_uid:$userAccount";
+ return false;
+ }
+
+ if ($info['count']==1) { // Van - egy - ilyen felhasználó
+ return $info[0]['dn'];
+ }
+
+ }
+
+
+######################################################
+# A groupCn(cn)-hez tartozó dn lekérdezése
+######################################################
+
+ function LDAPgroupCnToDn($groupCn, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // Kapcsolódás a szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds,$AUTH[$toPolicy]['ldapUser'],$AUTH[$toPolicy]['ldapPw']);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ return false;
+ }
+
+ // Van-e ilyen csoport?
+ $filter="(&(".$AUTH[$toPolicy]['ldapGroupCnAttr']."=$groupCn)(objectClass=".$AUTH[$toPolicy]['ldapGroupObjectClass']."))";
+ $justthese=array($AUTH[$toPolicy]['ldapGroupCnAttr']);
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure";
+ ldap_close($ds);
+ return false;
+ }
+ $info=ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ if ( $info['count'] === 0 ) {
+ // Nincs ilyen groupCn (cn) - hibaüzenet csak akkor, ha nem kategóriáról van szó...
+ if (!in_array($groupCn, array_map('ekezettelen', $AUTH[$toPolicy]['categories']))) $_SESSION['alert'][] = "message:no_group:$groupCn";
+ return false;
+ } elseif ( $info['count'] > 1 ) {
+ // Több ilyen cn is van
+ $_SESSION['alert'][] = "message:multi_gid:$groupCn";
+ return false;
+ }
+
+ if ($info['count']==1) { // Van - egy - ilyen csoport
+ return $info[0]['dn'];
+ }
+
+ }
+
+######################################################
+# memberOf - csoport tag-e
+######################################################
+
+ function ldapMemberOf($userAccount, $group, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+ /* Kis hack: csoport-tagság helyett vizsgáljuk előbb a megfelelő szervezeti egységet... de ezt nem biztos, hogy érdemes... */
+ if (in_array($group, $AUTH[$toPolicy]['categories'])) {
+ if (strpos($userDn, ',ou='.ekezettelen($group).',') !== false) return true;
+ }
+
+ if (substr($group,0,3) != 'cn=') {
+ $groupDn = LDAPgroupCnToDn(ekezettelen($group));
+ if (!$groupDn) return false; // Ha nincs ilyen csoport az LDAP fában
+ } else {
+ $groupDn = $group;
+ }
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds,$AUTH[$toPolicy]['ldapUser'],$AUTH[$toPolicy]['ldapPw']);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $justthese = array('cn'); // valamit le kell kérdezni...
+ $filter = "(&(objectClass=".$AUTH[$toPolicy]['ldapGroupObjectClass'].")(member=$userDn))";
+ $sr = @ldap_search($ds, $groupDn, $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$filter;
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = ldap_get_entries($ds, $sr);
+ ldap_close($ds);
+
+ if ($info['count'] > 0) {
+ return true;
+ } else {
+ return false;
+ }
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap-ng/session/createAccount.php b/mayor-orig/mayor-base/www/include/backend/ldap-ng/session/createAccount.php
new file mode 100644
index 00000000..db62a348
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap-ng/session/createAccount.php
@@ -0,0 +1,157 @@
+<?php
+/*
+ Modules: base/session
+*/
+
+ require_once('include/backend/ldap-ng/password/changePassword.php');
+
+ /*
+ $SET = array(
+ container => a konténer elem - ha nincs, akkor CN=Users alá rakja
+ category => tanár, diák... egy kiemelt fontosságú csoport tagság
+ groups => egyéb csoportok
+ policyAttrs => policy függő attribútumok
+ )
+ */
+ function ldapCreateAccount(
+ $userCn, $userAccount, $userPassword, $toPolicy, $SET
+ ) {
+
+ global $AUTH;
+
+ $shadowLastChange = floor(time() / (60*60*24));
+
+ // $toPolicy --> ldap backend - ellenőrzés!
+ if ($AUTH[$toPolicy]['backend'] != 'ldap-ng') {
+ $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = $ginfo = Array();
+
+ // uid ütközés ellenőrzése
+ $filter = "(sAMAccountName=$userAccount)";
+ $justthese = array('sAMAccountName');
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese);
+ $uinfo = ldap_get_entries($ds, $sr);
+ $uidCount = $uinfo['count'];
+ ldap_free_result($sr);
+ if ($uidCount > 0) {
+ $_SESSION['alert'][] = 'message:multi_uid:'.$userAccount;
+ return false;
+ }
+
+ // Az következő uidNumber megállapítása
+ $filter = "(&(objectclass=".$AUTH[$toPolicy]['ldapUserObjectClass'].")(uidNumber=*))";
+ $justthese = array('uidNumber', 'msSFU30UidNumber');
+ $sr = ldap_search($ds,$AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese);
+ ldap_sort($ds, $sr, 'uidNumber');
+ $uinfo = ldap_get_entries($ds, $sr);
+ ldap_free_result($sr);
+ if (isset($uinfo['count']) && $uinfo['count'] > 0) $info['uidNumber'] = array($uinfo[ $uinfo['count']-1 ]['uidnumber'][0]+1);
+ else $info['uidNumber'] = array(1001);
+
+ // shadow attributumok...
+ // A shadowLastChange a mai nap // if (isset($AUTH[$toPolicy]['shadowlastchange']) && $AUTH[$toPolicy]['shadowlastchange'] != '')
+ $info['shadowLastChange'] = array($shadowLastChange);
+ if (isset($AUTH[$toPolicy]['shadowMin']) && $AUTH[$toPolicy]['shadowMin'] != '') $info['shadowMin'] = array($AUTH[$toPolicy]['shadowMin']);
+ if (isset($AUTH[$toPolicy]['shadowMax']) && $AUTH[$toPolicy]['shadowMax'] != '') $info['shadowMax'] = array($AUTH[$toPolicy]['shadowMax']);
+ if (isset($AUTH[$toPolicy]['shadowWarning']) && $AUTH[$toPolicy]['shadowWarning'] != '') $info['shadowWarning'] = array($AUTH[$toPolicy]['shadowWarning']);
+ if (isset($AUTH[$toPolicy]['shadowInactive']) && $AUTH[$toPolicy]['shadowInactive'] != '') $info['shadowInactive'] = array($AUTH[$toPolicy]['shadowInactive']);
+ if (isset($AUTH[$toPolicy]['shadowExpire']) && $AUTH[$toPolicy]['shadowWxpire'] != '') $info['shadowExpire'] = array($AUTH[$toPolicy]['shadowExpire']);
+
+ // A szokásos attribútumok
+ $Name = explode(' ',$userCn);
+ $Dn = ldap_explode_dn($AUTH[$toPolicy]['ldapBaseDn'], 1); unset($Dn['count']);
+ $info['userPrincipalName'] = array( $userAccount.'@'.implode('.', $Dn));
+ $info['msSFU30Name'] = $info['sAMAccountName'] = $info['cn'] = array($userAccount);
+ $info['displayName'] = array($userCn);
+ $info['sn'] = array($Name[0]);
+ $info['givenName'] = array($Name[ count($Name)-1 ]);
+ $info['unixUserPassword'] = array('ABCD!efgh12345$67890');
+ $info['unixHomeDirectory'] = array(ekezettelen("/home/$userAccount"));
+ $info['loginShell'] = array('/bin/bash');
+ $info['objectClass'] = array($AUTH[$toPolicy]['ldapUserObjectClass'], 'user');
+
+ $policyAccountAttrs = $SET['policyAttrs'];
+ if (isset($policyAccountAttrs['studyId'])) $info[ $AUTH[$toPolicy]['ldapStudyIdAttr'] ] = array($policyAccountAttrs['studyId']);
+ foreach ($policyAccountAttrs as $attr => $value)
+ if ($attr != 'studyId' && isset($accountAttrToLDAP[$attr]))
+ $info[ $accountAttrToLDAP[$attr] ] = array($value);
+
+ if (isset($SET['container'])) $dn = "CN=$userAccount,".$SET['container'];
+ else $dn = "CN=$userAccount,CN=Users,".$AUTH[$toPolicy]['ldapBaseDn'];
+
+ // user felvétel
+ $_r1 = @ldap_add($ds,$dn,$info);
+ if (!$_r1) {
+ $_SESSION['alert'][] = 'message:ldap_error:Add user:'.ldap_error($ds);
+ //echo $dn.'<pre>'; var_dump($info); echo '</pre>';
+ return false;
+ }
+
+ // Jelszó beállítás
+ if (!changePassword($userAccount, $userPassword, $toPolicy)) $_SESSION['alert'][] = 'message:ldap_error:changePassword failed:'.$userAccount;
+
+ // Engedélyezés
+ $einfo = array('userAccountControl' => array(512)); /* Normal account = 512 */
+ $_r1 = @ldap_mod_replace($ds,$dn,$einfo);
+ if (!$_r1) {
+ $_SESSION['alert'][] = 'message:ldap_error:Enable user:'.ldap_error($ds);
+ //echo $dn.'<pre>'; var_dump($info); echo '</pre>';
+ return false;
+ }
+
+ // Kategória csoportba és egyéb csoportokba rakás
+ if (isset($SET['category'])) {
+ if (is_array($SET['groups'])) array_unshift($SET['groups'], $SET['category']);
+ else $SET['groups'] = array($SET['category']);
+
+ $ginfo['member'] = $dn;
+
+ for ($i = 0; $i < count($SET['groups']); $i++) {
+ $groupDn = LDAPgroupCnToDn($SET['groups'][$i], $toPolicy);
+ if ($groupDn !== false) {
+ $_r3 = @ldap_mod_add($ds, $groupDn, $ginfo);
+ if (!$_r3) {
+ $_SESSION['alert'][] = 'message:ldap_error:Add to group '.$SET['groups'][$i].':'.ldap_error($ds);
+ //echo $SET['groups'][$i].'<pre>'; var_dump($ginfo); echo '</pre>';
+ }
+ }
+ }
+ }
+
+ ldap_close($ds);
+
+ if (defined('_DATADIR')
+ && isset($AUTH[$toPolicy]['createAccountScript'])
+ && file_exists(_DATADIR)
+ ) {
+ $sfp = fopen(_DATADIR.'/'.$AUTH[$toPolicy]['createAccountScript'],'a+');
+ if ($sfp) {
+ fwrite($sfp,"\n# $userAccount létrehozása: userAccount uidNumber homeDirectory\n");
+ fwrite($sfp,"createAccount.sh '$userAccount' '".$info['uidNumber'][0]."' '".$info['unixHomeDirectory'][0]."'\n");
+ fclose($sfp);
+ }
+ }
+ $_SESSION['alert'][] = 'info:create_uid_success:'.$dn;
+ return true;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap-ng/session/createGroup.php b/mayor-orig/mayor-base/www/include/backend/ldap-ng/session/createGroup.php
new file mode 100644
index 00000000..59c77c92
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap-ng/session/createGroup.php
@@ -0,0 +1,82 @@
+<?php
+/*
+ Modules: base/session
+*/
+
+
+ function ldapCreateGroup($groupCn, $groupDesc, $toPolicy = _POLICY, $SET = array()) {
+
+ global $AUTH;
+ $category = ekezettelen($SET['category']);
+
+ // $toPolicy --> ldap backend - ellenőrzés!
+ if ($AUTH[$toPolicy]['backend'] != 'ldap-ng') {
+ $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = $ginfo = Array();
+
+ // cn ütközés ellenőrzése
+ $filter = "(&(objectclass=".$AUTH[$toPolicy]['ldapGroupObjectClass'].")(cn=$groupCn))";
+ $justthese = array('cn');
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese);
+ $ginfo = ldap_get_entries($ds, $sr);
+ $gCount = $ginfo['count'];
+ ldap_free_result($sr);
+ if ($gCount > 0) {
+ $_SESSION['alert'][] = 'message:multi_uid:'.$groupCn;
+ return false;
+ }
+
+ // Az következő gidNumber megállapítása
+ $filter = "(&(objectclass=".$AUTH[$toPolicy]['ldapGroupObjectClass'].")(gidNumber=*))";
+ $justthese = array('gidNumber', 'msSFU30GidNumber');
+ $sr = ldap_search($ds,$AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese);
+ ldap_sort($ds, $sr, 'gidNumber');
+ $ginfo = ldap_get_entries($ds, $sr);
+ ldap_free_result($sr);
+ if (isset($ginfo['count']) && $ginfo['count'] > 0) $info['gidNumber'] = array($ginfo[ $ginfo['count']-1 ]['gidnumber'][0]+1);
+ else $info['gidNumber'] = array(1001);
+
+ // A szokásos attribútumok
+ $info['sAMAccountName'] = $info['cn'] = array($groupCn);
+ $info['description'] = array($groupDesc);
+
+ // A kategória függő attribútumok
+ if (isset($SET['container'])) $dn = "CN=$groupCn,".$SET['container'];
+ else $dn = "CN=$groupCn,OU=$category,".$AUTH[$toPolicy]['ldapBaseDn'];
+
+ // objectum osztályok
+ $info['objectClass'] = array($AUTH[$toPolicy]['ldapGroupObjectClass']);
+
+ // csoport felvétel
+ $_r1 = ldap_add($ds,$dn,$info);
+ if (!$_r1) {
+ printf("LDAP-Error: %s<br>\n", ldap_error($ds));
+ var_dump($info);
+ }
+
+ ldap_close($ds);
+
+ $_SESSION['alert'][] = 'info:create_group_success:'.$dn;
+ return true;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap-ng/session/search/searchAccount.php b/mayor-orig/mayor-base/www/include/backend/ldap-ng/session/search/searchAccount.php
new file mode 100644
index 00000000..70be6ed5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap-ng/session/search/searchAccount.php
@@ -0,0 +1,271 @@
+<?php
+/*
+ Module: base/session
+ Backend: ldap-ng
+
+ ! -- Csak publikus mezőkre lehet keresni! -- !
+ function LDAPSearch($attr, $pattern, $searchAttrs=array('cn'), $filter='(objectclass=*)')
+ function ldapSearchAccount($attr, $pattern, $searchAttrs = array('userCn'))
+ function ldapSearchGroup($attr, $pattern, $searchAttrs = array('groupCn, groupDesc'), $toPolicy = '') {
+
+*/
+
+######################################################
+# Általános LDAP kereső függvény
+######################################################
+
+ function LDAPSearch($attr, $pattern, $searchAttrs=array('cn'), $filter='(objectclass=*)', $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ if ($pattern == '') {
+ $_SESSION['alert'][] = 'message:empty_field';
+ return false;
+ }
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Keresés
+ $filter = "(&$filter($attr=*$pattern*))";
+ $sr = @ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $searchAttrs);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$filter;
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = @ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ return $info;
+
+ }
+
+######################################################
+# ldapSearchAccount - felhasználó kereső függvény
+######################################################
+
+ function ldapSearchAccount($attr, $pattern, $searchAttrs = array('userCn'), $toPolicy = _POLICY) {
+
+ global $accountAttrToLDAP;
+
+ // A keresendő attribútum konvertálása LDAP attribútummá
+ if ($accountAttrToLDAP[ $attr ] != '') $attrLDAP = $accountAttrToLDAP[ $attr ];
+ else $attrLDAP = $attr;
+ if ($attrLDAP == 'dn') $attrLDAP = 'uid'; // dn-re nem megy a keresés!!
+
+ // A lekérendő attribútumok konvertálása LDAP attribútummá
+ for ($i = 0; $i < count($searchAttrs); $i++) {
+ if ($accountAttrToLDAP[ $searchAttrs[$i] ] != '') $searchAttrsLDAP[$i] = $accountAttrToLDAP[ $searchAttrs[$i] ];
+ else $searchAttrsLDAP[$i] = $searchAttrs[$i];
+ }
+ $result = LDAPSearch($attrLDAP, $pattern, $searchAttrsLDAP, '(&(objectclass=person)(!(objectclass=computer)))', $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ // LDAP schema --> mayor schema konverzió
+ for ($i = 0; $i < $result['count']; $i++) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ $result[$i]['dn'] = $return[$i]['userAccount'] = array('count' => 1, 0 => $result[$i]['dn']);
+ for ($j = 0; $j < count($searchAttrs); $j++) {
+ $a = $searchAttrs[$j];
+ if (isset($result[$i][ kisbetus($accountAttrToLDAP[$a]) ])) {
+ if ($accountAttrToLDAP[$a] != '') $return[$i][$a] = $result[$i][ kisbetus($accountAttrToLDAP[$a]) ];
+ else $return[$i][$a] = $result[$i][$a];
+ } else {
+ $return[$i][$a] = array('count' => 0) ;
+ }
+ }
+ $return[$i]['category'] = getAccountCategories($return[$i]['userAccount'][0], $toPolicy);
+ $return[$i]['category']['count'] = count($return[$i]['category']);
+ }
+ $return['count'] = $result['count'];
+
+ return $return;
+
+ }
+
+ }
+
+######################################################
+# ldapSearchGroup - csoport kereső függvény
+######################################################
+
+ function ldapSearchGroup($attr, $pattern, $searchAttrs = array('groupCn, groupDesc'), $toPolicy = _POLICY) {
+
+ global $groupAttrToLDAP;
+
+ // A keresendő attribútum konvertálása LDAP attribútummá
+ if ($groupAttrToLDAP[ $attr ] != '') $attrLDAP = $groupAttrToLDAP[ $attr ];
+ else $attrLDAP = $attr;
+ if ($attrLDAP == 'dn') $attrLDAP = 'cn'; // dn-re nem megy a keresés!!
+
+ // A lekérendő adtibútumok konvertálása LDAP attribútummá
+ for ($i = 0; $i < count($searchAttrs); $i++) {
+ if ($groupAttrToLDAP[ $searchAttrs[$i] ] != '') $searchAttrsLDAP[$i] = $groupAttrToLDAP[ $searchAttrs[$i] ];
+ else $searchAttrsLDAP[$i] = $searchAttrs[$i];
+ }
+
+ $result = LDAPSearch($attrLDAP, $pattern, $searchAttrsLDAP, '(objectclass=group)', $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ // LDAP schema --> mayor schema konverzió
+ for ($i = 0; $i < $result['count']; $i++) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ $result[$i]['dn'] = $return[$i]['groupCn'] = array('count' => 1, 0 => $result[$i]['dn']);
+ for ($j = 0; $j < count($searchAttrs); $j++) {
+ $a = $searchAttrs[$j];
+ if (!isset($groupAttrToLDAP[$a]) || $groupAttrToLDAP[$a] != '') {
+ if (isset($result[$i][ $groupAttrToLDAP[$a] ])) $return[$i][$a] = $result[$i][ $groupAttrToLDAP[$a] ];
+ else $return[$i][$a] = '';
+ } else {
+ $return[$i][$a] = $result[$i][$a];
+ }
+ }
+ }
+ $return['count'] = $result['count'];
+
+ return $return;
+
+ }
+
+ }
+
+######################################################
+# ldapDeleteAccount - account törlése
+######################################################
+
+ function ldapDeleteAccount($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // $toPolicy --> ldap-ng backend - ellenőrzés
+ if ($AUTH[$toPolicy]['backend'] != 'ldap-ng') {
+ $_SESSION['alert'][] = 'page:wrong_backend:ldap-ng!='.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+ if ($userDn === false) return false;
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Az uidNumber, a unixHomeDirectory lekerdezése
+ $filter = "(&(objectclass=".$AUTH[$toPolicy]['ldapUserObjectClass'].")(!(objectclass=computer)))";
+ $justthese = array('uidNumber','unixHomedirectory');
+ $sr = @ldap_search($ds,$userDn,$filter,$justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$userDn;
+ ldap_close($ds);
+ return false;
+ } ;
+
+ $info = @ldap_get_entries($ds,$sr);
+ $uidNumber = $info[0]['uidnumber'][0];
+ $homeDirectory = $info[0]['unixhomedirectory'][0];
+ $uid=$userAccount;
+
+ // user törlése
+ if (!@ldap_delete($ds,$userDn)) {
+ $_SESSION['alert'][] = 'message:ldap_delete_failure:user:'.$userAccount;
+ }
+
+ ldap_close($ds);
+
+ /*
+ Ha van megadva deleteAccountScript paraméter, akkor abba bejegyzi a törölt felhasználó adatait.
+ A meghívott deleteAccount.sh nincs definiálva, testreszabható, megkötés egyedül a paraméter
+ lista: userAccount, uidNumber, homeDirectory
+ */
+ if (defined('_DATADIR')
+ && isset($AUTH[$toPolicy]['deleteAccountScript'])
+ && file_exists(_DATADIR)
+ ) {
+ $sfp = fopen(_DATADIR.'/'.$AUTH[$toPolicy]['deleteAccountScript'],'a+');
+ if ($sfp) {
+ fwrite($sfp,"\n# $userAccount törlése: userAccount uidNumber homeDirectory\n");
+ fwrite($sfp,"deleteAccount.sh '$userAccount' '$uidNumber' '$homeDirectory'\n");
+ fclose($sfp);
+ }
+ }
+
+ $_SESSION['alert'][] = 'info:delete_uid_success:'.$userDn;
+ return true;
+
+ }
+
+######################################################
+# ldapDeleteGroup - account törlése
+######################################################
+
+ function ldapDeleteGroup($groupCn, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // $toPolicy --> ldap-ng backend - ellenőrzés
+ if ($AUTH[$toPolicy]['backend'] != 'ldap-ng') {
+ $_SESSION['alert'][] = 'page:wrong_backend:ldap-ng!='.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy);
+ if ($groupDn === false) return false;
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ if (!@ldap_delete($ds, $groupDn)) {
+ $_SESSION['alert'][] = 'message:ldap_delete_failure:group:'.$groupCn;
+ }
+
+ ldap_close($ds);
+
+ $_SESSION['alert'][] = 'info:delete_group_success:'.$groupCn;
+ return true;
+
+ }
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap/auth/login.php b/mayor-orig/mayor-base/www/include/backend/ldap/auth/login.php
new file mode 100644
index 00000000..2165371d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap/auth/login.php
@@ -0,0 +1,144 @@
+<?php
+/*
+ Auth-LDAP
+
+ A név-jelszó pár ellenőrzése LDAP adatbázis alapján
+*/
+
+/* --------------------------------------------------------------
+
+ Felhasználók azonosítása LDAP-ban tárolt posixAccount
+ osztályok alapján történik.
+
+ A függvény az előre definiált _AUTH_SUCCESS, _AUTH_EXPIRED, _AUTH_FAILURE
+ konstansok valamelyikével tér vissza. (include/modules/auth/base/config.php)
+
+ Sikeres hitelesítés esetén
+ az egyéb account információkat (minimálisan a 'cn', azaz 'teljes név'
+ attribútumot) a cím szerint átadott $accountInformation tömbbe helyezi el.
+
+ Sikertelen azonosítás esetén a globális $_SESSION['alert'] változóban jelzi az
+ elutasítás okát.
+
+-------------------------------------------------------------- */
+
+######################################################################
+# Az LDAP protocol version szerinti csatlakozás
+######################################################################
+ ldap_set_option(NULL, LDAP_OPT_PROTOCOL_VERSION, 3);
+
+ function ldapUserAuthentication($userAccount, $userPassword, &$accountInformation, $toPolicy) {
+
+ global $AUTH;
+
+ if ($toPolicy == '') {
+ if ($accountInformation['policy'] != '') $toPolicy = $accountInformation['policy'];
+// elseif ($_REQUEST['toPolicy'] != '') $toPolicy = $_REQUEST['toPolicy'];
+ else $toPolicy = _POLICY;
+ }
+
+ // Kapcsolódás a szerverhez
+ $ds = ldap_connect($AUTH[$toPolicy]['ldap hostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return _AUTH_FAILURE;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = ldap_bind($ds);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ return _AUTH_FAILURE;
+ }
+
+ // Van-e adott azonosítójú felhasználó?
+ $filter="(&(uid=$userAccount)(objectClass=posixAccount))";
+ $justthese = array("sn","cn","studyId","shadowexpire","shadowwarning","shadowinactive","shadowlastchange","shadowmax");
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['ldap base dn'], $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure";
+ ldap_close($ds);
+ return _AUTH_FAILURE;
+ }
+ $info=ldap_get_entries($ds,$sr);
+
+ if ( $info['count'] === 0 ) {
+ // Nincs ilyen userAccount (uid)
+ $_SESSION['alert'][] = "message:no_account:$userAccount";
+ ldap_close($ds);
+ return _AUTH_FAILURE_1;
+ }
+
+ if ( $info['count'] > 1 ) {
+ // Több ilyen uid is van
+ $_SESSION['alert'][] = "message:multi_uid";
+ ldap_close($ds);
+ return _AUTH_FAILURE_2;
+ }
+
+ if ($info['count']==1) { // Van - egy - ilyen felhasználó
+
+ $accountInformation['cn'] = $info[0]['cn'][0];
+ $accountInformation['studyId'] = $info[0]['studyid'][0];
+ $accountInformation['dn'] = $info[0]['dn'];
+ $accountInformation['account'] = $userAccount;
+ // Lejárt-e
+ // A lejárat ideje a shadowExpire és shadowLastChange+shadowMax kötül a kisebbik
+ if ($info[0]['shadowexpire'][0] != '') $expireTimestamp = $info[0]['shadowexpire'][0];
+ if (
+ $info[0]['shadowmax'][0] != '' &&
+ (
+ !isset($expireTimestamp) ||
+ $expireTimestamp > $info[0]['shadowlastchange'][0] + $info[0]['shadowmax'][0]
+ )
+ ) $expireTimestamp = $info[0]['shadowlastchange'][0] + $info[0]['shadowmax'][0];
+ // lejárt, ha lejárat ideje már elmúlt
+ $accountExpired = (isset($expireTimestamp) && ($expireTimestamp <= floor(time()/(60*60*24))));
+
+ // Le van-e tiltva
+ // Ha több mint shadowInactive napja lejárt
+ if ( // onDisabled: none | refuse
+ $AUTH[$toPolicy]['onDisabled'] == 'refuse' &&
+ isset($expireTimestamp) &&
+ $expireTimestamp + $info[0]['shadowinactive'][0] <= floor(time()/(60*60*24))
+ ) {
+ // Le van tiltva
+ $_SESSION['alert'][] = 'message:account_disabled';
+ ldap_close($ds);
+ return _AUTH_FAILURE_4;
+ } // onDisabled
+
+ // Jelszó ellenőrzés - lehet-e csatlakozni
+ if (!@ldap_bind($ds, $accountInformation['dn'], $userPassword)) {
+ $_SESSION['alert'][] = 'message:bad_pw';
+ return _AUTH_FAILURE_3;
+ }
+
+ ldap_close($ds);
+ // Lejárt-e az azonosító
+ if ($AUTH[$toPolicy]['onExpired'] != 'none' && isset($expireTimestamp)) { // onExpired: none | warning | force update
+ // Lejárt-e
+ $pwLejar = $expireTimestamp - floor(time()/(60*60*24));
+ if (0 < $pwLejar && $pwLejar < $info[0]['shadowwarning'][0]) {
+ $_SESSION['alert'][] = 'info:account_warning:'.$pwLejar;
+ return _AUTH_SUCCESS;
+ } elseif ($pwLejar <= 0) {
+ $_SESSION['alert'][] = 'info:account_expired:'.abs($pwLejar);
+ if ($AUTH[$toPolicy]['onDisabled'] == 'refuse')
+ $_SESSION['alert'][] = 'info:warn_account_disable:'.($info[0]['shadowinactive'][0]+$pwLejar);
+ if ($AUTH[$toPolicy]['onExpired'] == 'warning') {
+ return _AUTH_SUCCESS;
+ } elseif ($AUTH[$toPolicy]['onExpired'] == 'force update') {
+ return _AUTH_EXPIRED;
+ }
+ }
+ } // onExpired
+
+ // Ha idáig eljut, akkor minden rendben.
+ return _AUTH_SUCCESS;
+
+ } // count == 1
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap/base/attrs.php b/mayor-orig/mayor-base/www/include/backend/ldap/base/attrs.php
new file mode 100644
index 00000000..bf86d0d2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap/base/attrs.php
@@ -0,0 +1,120 @@
+<?php
+/*
+ Module: useradmin
+*/
+
+ if (file_exists('lang/'._LANG.'/backend/ldap/attrs.php')) {
+ require('lang/'._LANG.'/backend/ldap/attrs.php');
+ } elseif (file_exists('lang/'._DEFAULT_LANG.'/backend/ldap/attrs.php')) {
+ require('lang/'._DEFAULT_LANG.'/backend/ldap/attrs.php');
+ }
+
+######################################################
+# Alapértelmezett jogosultságok
+#
+# w - Írható/olvasható
+# r - olvasható
+# - - egyik sem
+#
+# Három karakter: admin, self, other jogai
+######################################################
+
+ define('_DEFAULT_LDAP_RIGHTS','wr-');
+
+######################################################
+# Az LDAP account attribútumok
+######################################################
+
+ global $ldapAccountAttrs;
+ $ldapAccountAttrs = array(
+ 'uid',
+ 'uidnumber',
+ 'gidnumber',
+ 'gecos',
+ 'cn',
+ 'studyid',
+ 'sn',
+ 'givenname',
+ 'mail',
+ 'telephonenumber',
+ 'mobile',
+ 'l',
+ 'street',
+ 'postaladdress',
+ 'postalcode',
+ 'homedirectory',
+ 'shadowlastchange',
+ 'shadowexpire',
+ 'shadowwarning',
+ 'shadowmin',
+ 'shadowmax',
+ 'shadowinactive',
+ );
+
+ global $ldapGroupAttrs;
+ $ldapGroupAttrs = array(
+ 'gidnumber',
+ 'cn',
+ 'description',
+ 'member',
+ 'memberuid'
+ );
+
+ global $accountAttrToLDAP;
+ $accountAttrToLDAP = array(
+ 'userAccount' => 'uid',
+ 'userCn' => 'cn',
+ 'mail' => 'mail',
+ 'studyId' => 'studyId',
+ 'shadowLastChange' => 'shadowLastChange',
+ 'shadowWarning' => 'shadowWarning',
+ 'shadowMin' => 'shadowMin',
+ 'shadowMax' => 'shadowMax',
+ 'shadowExpire' => 'shadowExpire',
+ 'shadowInactive' => 'shadowInactive',
+ );
+
+ global $groupAttrToLDAP;
+ $groupAttrToLDAP = array(
+ 'groupCn' => 'cn',
+ 'groupDesc' => 'description',
+ 'member' => 'member'
+ );
+
+ global $ldapAccountAttrDef;
+ $ldapAccountAttrDef = array(
+ 'dn' => array('desc' => _LDAPDN, 'type' => 'text', 'rights' => 'rrr'),
+ 'uid' => array('desc' => _LDAPUID, 'type' => 'text', 'rights' => 'rrr'),
+ 'uidnumber' => array('desc' => _LDAPUIDNUMBER, 'type' => 'int', 'rights' => 'w--'),
+ 'gidnumber' => array('desc' => _LDAPGIDNUMBER, 'type' => 'int', 'rights' => 'w--'),
+ 'gecos' => array('desc' => _LDAPGECOS, 'type' => 'text', 'rights' => 'w--'),
+ 'cn' => array('desc' => _LDAPCN, 'type' => 'text', 'rights' => 'wrr'),
+ 'studyid' => array('desc' => _LDAPSTUDYID, 'type' => 'int', 'rights' => 'wrr'),
+ 'sn' => array('desc' => _LDAPSN, 'type' => 'text'),
+ 'givenname' => array('desc' => _LDAPGIVENNAME, 'type' => 'text'),
+ 'mail' => array('desc' => _LDAPMAIL, 'type' => 'text', 'rights' => 'wwr'),
+ 'telephonenumber' => array('desc' => _LDAPTELEPHONENUMBER, 'type' => 'text', 'rights' => 'ww-'),
+ 'mobile' => array('desc' => _LDAPMOBILE, 'type' => 'text', 'rights' => 'ww-'),
+ 'l' => array('desc' => _LDAPL, 'type' => 'text'),
+ 'street' => array('desc' => _LDAPSTREET, 'type' => 'text'),
+ 'postaladdress' => array('desc' => _LDAPPOSTALADDRESS, 'type' => 'text'),
+ 'postalcode' => array('desc' => _LDAPPOSTALCODE, 'type' => 'text'),
+ 'homedirectory' => array('desc' => _LDAPHOMEDIRECTORY, 'type' => 'text'),
+ 'shadowlastchange' => array('desc' => _LDAPSHADOWLASTCHANGE, 'type' => 'text'),
+ 'shadowexpire' => array('desc' => _LDAPSHADOWEXPIRE, 'type' => 'text'),
+ 'shadowwarning' => array('desc' => _LDAPSHADOWWARNING, 'type' => 'text'),
+ 'shadowmin' => array('desc' => _LDAPSHADOWMIN, 'type' => 'text'),
+ 'shadowmax' => array('desc' => _LDAPSHADOWMAX, 'type' => 'text'),
+ 'shadowinactive' => array('desc' => _LDAPSHADOWINACTICE, 'type' => 'text'),
+ );
+
+ global $ldapGroupAttrDef;
+ $ldapGroupAttrDef = array(
+ 'cn' => array('desc' => _LDAPCN, 'type' => 'text','rights' => 'wrr'),
+ 'description' => array('desc' => _LDAPDESCRIPTION, 'type' => 'text'),
+ 'gidnumber' => array('desc' => _LDAPGIDNUMBER, 'type' => 'int','rights' => 'w--'),
+ 'memberuid' => array('desc' => _LDAPMEMBERUID, 'type' => 'select'),
+ 'member' => array('desc' => _LDAPMEMBER, 'type' => 'select'),
+ );
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap/base/attrs.php.orig b/mayor-orig/mayor-base/www/include/backend/ldap/base/attrs.php.orig
new file mode 100644
index 00000000..658dfa1c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap/base/attrs.php.orig
@@ -0,0 +1,175 @@
+<?php
+/*
+ Module: useradmin
+*/
+
+ if (file_exists('lang/'._LANG.'/backend/ldap/attrs.php')) {
+ require('lang/'._LANG.'/backend/ldap/attrs.php');
+ } elseif (file_exists('lang/'._DEFAULT_LANG.'/backend/ldap/attrs.php')) {
+ require('lang/'._DEFAULT_LANG.'/backend/ldap/attrs.php');
+ }
+
+######################################################
+# Alapértelmezett jogosultságok
+#
+# w - Írható/olvasható
+# r - olvasható
+# - - egyik sem
+#
+# Három karakter: admin, self, other jogai
+######################################################
+
+ define('_DEFAULT_LDAP_RIGHTS','wr-');
+
+######################################################
+# Az LDAP account attribútumok
+######################################################
+
+ global $ldapAccountAttrs;
+ $ldapAccountAttrs = array(
+ 'uid',
+ 'uidnumber',
+ 'gidnumber',
+ 'gecos',
+ 'cn',
+ 'sn',
+ 'givenname',
+ 'mail',
+ 'homepage',
+ 'url',
+ 'telephonenumber',
+ 'mobile',
+ 'year',
+ 'class',
+ 'l',
+ 'street',
+ 'postaladdress',
+ 'postalcode',
+ 'homedirectory',
+ 'owner',
+ 'leader',
+ 'description',
+ 'roomnumber',
+ 'registertimestamp',
+ 'primaryschoolomcode',
+ 'classtimestamp',
+ 'studentcardnumber',
+ 'studentcardtimestamp',
+ 'taxid',
+ 'birthtimestamp',
+ 'birthlocality',
+ 'registernumber',
+ 'diarynumber',
+ 'sex',
+ 'guardiancn',
+ 'mothercn',
+ 'localitytimestamp',
+ 'tajnumber',
+ 'member',
+ 'studentmember',
+ 'exemptmember',
+ 'examermember',
+ 'memberuid',
+ 'shadowlastchange',
+ 'shadowexpire',
+ 'shadowwarning',
+ 'shadowmin',
+ 'shadowmax',
+ 'shadowinactive',
+ 'parentpassword'
+ );
+
+ global $ldapGroupAttrs;
+ $ldapGroupAttrs = array(
+ 'gidnumber',
+ 'cn',
+ 'description',
+ 'owner',
+ 'member',
+ 'memberuid'
+ );
+
+ global $accountAttrToLDAP;
+ $accountAttrToLDAP = array(
+ 'userAccount' => 'uid',
+ 'userCn' => 'cn',
+ 'mail' => 'mail',
+ 'studyId' => 'studyId',
+ 'shadowLastChange' => 'shadowLastChange',
+ 'shadowWarning' => 'shadowWarning',
+ 'shadowMin' => 'shadowMin',
+ 'shadowMax' => 'shadowMax',
+ 'shadowExpire' => 'shadowExpire',
+ 'shadowInactive' => 'shadowInactive',
+ );
+
+ global $groupAttrToLDAP;
+ $groupAttrToLDAP = array(
+ 'groupId' => 'cn',
+ 'groupName' => 'description',
+// 'leader' => 'leader',
+ 'owner' => 'owner',
+ 'member' => 'member'
+ );
+
+ global $ldapAccountAttrDef;
+ $ldapAccountAttrDef = array(
+ 'dn' => array('desc' => _LDAPDN, 'type' => 'text','rights' => 'rrr'),
+ 'uid' => array('desc' => _LDAPUID, 'type' => 'text','rights' => 'rrr'),
+ 'uidnumber' => array('desc' => _LDAPUIDNUMBER, 'type' => 'int','rights' => 'w--'),
+ 'gidnumber' => array('desc' => _LDAPGIDNUMBER, 'type' => 'int','rights' => 'w--'),
+ 'gecos' => array('desc' => _LDAPGECOS, 'type' => 'text','rights' => 'w--'),
+ 'cn' => array('desc' => _LDAPCN, 'type' => 'text','rights' => 'wrr'),
+ 'sn' => array('desc' => _LDAPSN, 'type' => 'text'),
+ 'givenname' => array('desc' => _LDAPGIVENNAME, 'type' => 'text'),
+ 'mail' => array('desc' => _LDAPMAIL, 'type' => 'text','rights' => 'wwr'),
+ 'homepage' => array('desc' => _LDAPHOMEPAGE, 'type' => 'text','rights' => 'wwr'),
+ 'url' => array('desc' => _LDAPURL, 'type' => 'text'),
+ 'telephonenumber' => array('desc' => _LDAPTELEPHONENUMBER, 'type' => 'text','rights' => 'ww-'),
+ 'mobile' => array('desc' => _LDAPMOBILE, 'type' => 'text','rights' => 'ww-'),
+ 'year' => array('desc' => _LDAPYEAR, 'type' => 'int'),
+ 'class' => array('desc' => _LDAPCLASS, 'type' => 'text'),
+ 'l' => array('desc' => _LDAPL, 'type' => 'text'),
+ 'street' => array('desc' => _LDAPSTREET, 'type' => 'text'),
+ 'postaladdress' => array('desc' => _LDAPPOSTALADDRESS, 'type' => 'text'),
+ 'postalcode' => array('desc' => _LDAPPOSTALCODE, 'type' => 'text'),
+ 'homedirectory' => array('desc' => _LDAPHOMEDIRECTORY, 'type' => 'text'),
+ 'roomnumber' => array('desc' => _LDAPROOMNUMBER, 'type' => 'int'),
+ 'registertimestamp' => array('desc' => _LDAPREGISTERTIMESTAMP, 'type' => 'timestamp'),
+ 'primaryschoolomcode' => array('desc' => _LDAPPRIMARYSCHOOLOMCODE, 'type' => 'text'),
+ 'classtimestamp' => array('desc' => _LDAPCLASSTIMESTAMP, 'type' => 'timestamp'),
+ 'studentcardnumber' => array('desc' => _LDAPSTUDENTCARDNUMBER, 'type' => 'text'),
+ 'studentcardtimestamp' => array('desc' => _LDAPSTUDENTCARDTIMESTAMP, 'type' => 'timestamp'),
+ 'taxid' => array('desc' => _LDAPTAXID, 'type' => 'text'),
+ 'birthtimestamp' => array('desc' => _LDAPBIRTHTIMESTAMP, 'type' => 'timestamp'),
+ 'birthlocality' => array('desc' => _LDAPBIRTHLOCALITY, 'type' => 'text'),
+ 'registernumber' => array('desc' => _LDAPREGISTERNUMBER, 'type' => 'text'),
+ 'diarynumber' => array('desc' => _LDAPDIARYNUMBER, 'type' => 'text'),
+ 'sex' => array('desc' => _LDAPSEX, 'type' => 'radio', 'options' => array(_FIU, _LANY)),
+ 'guardiancn' => array('desc' => _LDAPGUARDIANCN, 'type' => 'text'),
+ 'mothercn' => array('desc' => _LDAPMOTHERCN, 'type' => 'text'),
+ 'localitytimestamp' => array('desc' => _LDAPLOCALITYTIMESTAMP, 'type' => 'timestamp'),
+ 'tajnumber' => array('desc' => _LDAPTAJNUMBER, 'type' => 'text'),
+ 'shadowlastchange' => array('desc' => _LDAPSHADOWLASTCHANGE, 'type' => 'text'),
+ 'shadowexpire' => array('desc' => _LDAPSHADOWEXPIRE, 'type' => 'text'),
+ 'shadowwarning' => array('desc' => _LDAPSHADOWWARNING, 'type' => 'text'),
+ 'shadowmin' => array('desc' => _LDAPSHADOWMIN, 'type' => 'text'),
+ 'shadowmax' => array('desc' => _LDAPSHADOWMAX, 'type' => 'text'),
+ 'shadowinactive' => array('desc' => _LDAPSHADOWINACTICE, 'type' => 'text'),
+ );
+
+ global $ldapGroupAttrDef;
+ $ldapGroupAttrDef = array(
+ 'cn' => array('desc' => _LDAPCN, 'type' => 'text','rights' => 'wrr'),
+ 'description' => array('desc' => _LDAPDESCRIPTION, 'type' => 'text'),
+ 'gidnumber' => array('desc' => _LDAPGIDNUMBER, 'type' => 'int','rights' => 'w--'),
+ 'memberuid' => array('desc' => _LDAPMEMBERUID, 'type' => 'select'),
+ 'member' => array('desc' => _LDAPMEMBER, 'type' => 'select'),
+ 'owner' => array('desc' => _LDAPOWNER, 'type' => 'select'),
+// 'studentmember' => array('desc' => _LDAPSTUDENTMEMBER, 'type' => 'text'),
+// 'exemptmember' => array('desc' => _LDAPEXEMPTMEMBER, 'type' => 'text'),
+// 'examermember' => array('desc' => _LDAPEXAMERMEMBER, 'type' => 'text'),
+// 'leader' => array('desc' => _LDAPLEADER, 'type' => 'text'),
+ );
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap/base/str.php b/mayor-orig/mayor-base/www/include/backend/ldap/base/str.php
new file mode 100644
index 00000000..2ef3ad1c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap/base/str.php
@@ -0,0 +1,53 @@
+<?php
+/*
+ Module: useradmin
+
+ function date2timestamp($date)
+ function timestamp2date($stamp)
+ !! -- function ldap_cn_cmp($a,$b) -- !! Kell ez?
+ !! -- function tanar_cn_cmp($a,$b) -- !! Használjuk ezt?
+
+ // - fuggoseg - // require_once('include/share/ldap/attrs.php');
+
+*/
+
+// -------------------------------------
+// Date2Timestamp
+// -------------------------------------
+
+ function date2timestamp($date) {
+ $date = str_replace('-','',$date);
+ $date = str_replace('.','',$date).'010101Z';
+ if (strlen($date) == 15) return $date;
+ else return '';
+ }
+
+// -------------------------------------
+// Timestamp2Date
+// -------------------------------------
+
+ function timestamp2date($stamp) {
+ $date = substr($stamp,0,4).'-'.substr($stamp,4,2).'-'.substr($stamp,6,2);
+ if (strlen($date) == 10) return $date;
+ else return '';
+ }
+
+/*
+// ---------------------------------------------------------------------------
+// LDAP eredmény elemeinek összehasonlítása cn-alapján (Már latin2-es kódolású!!!)
+// ---------------------------------------------------------------------------
+
+ function ldap_cn_cmp($a,$b) {
+ return str_cmp($a['cn'][0],$b['cn'][0]);
+ }
+
+// ---------------------------------------------------------------------------
+// $TANAROK tömb rendezéséhez (include/naplo/helyettesít.php) (Már latin2-es kódolású!!!)
+// ---------------------------------------------------------------------------
+
+ function tanar_cn_cmp($a,$b) {
+ return str_cmp($a['cn'],$b['cn']);
+ }
+*/
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap/password/changePassword.php b/mayor-orig/mayor-base/www/include/backend/ldap/password/changePassword.php
new file mode 100644
index 00000000..22ace5ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap/password/changePassword.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ Module: base/password
+
+ function changeMyPassword($userAccount, $userPassword, $newPassword, $verification)
+ A függvény nem vizsgálja, hogy jogosultak vagyunk-e a jelszó megváltoztatására.
+ Ennek eldöntése a függvényt hívó program feladata
+ */
+
+############################################################################
+# Saját jelszó megváltoztatása
+############################################################################
+
+function changeMyPassword($userAccount, $userPassword, $newPassword, $toPolicy = '') {
+
+ global $AUTH;
+
+ if ($toPolicy == '') $toPolicy = $_REQUEST['toPolicy'];
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+ $shadowLastChange = floor(time()/(60*60*24));
+
+ $ds = ldap_connect($AUTH[$toPolicy]['ldap hostname']);
+ if ($ds) {
+ $b_ok = ldap_bind($ds,$userDn,$userPassword);
+ if ($b_ok) {
+ $info['userPassword'][0] = '{crypt}' . crypt($newPassword);
+ // Ezekre nincs jogosultsága a felhasználónak, nem változnak:
+ // _SHADOWMIN, _SHADOWMAX, _SHADOWWARNING, _SHADOWINACTIVE
+ $info['shadowlastchange'][0] = $shadowLastChange;
+ if (isset($AUTH[$toPolicy]['shadowExpire']) and $AUTH[$toPolicy]['shadowExpire'] != '') {
+ $info['shadowexpire'][0] = $AUTH[$toPolicy]['shadowExpire'];
+ } elseif (isset($AUTH[$toPolicy]['shadowMax']) and $AUTH[$toPolicy]['shadowMax'] != '') {
+ $info['shadowexpire'][0] = $shadowLastChange + intval($AUTH[$toPolicy]['shadowMax']);
+ }
+ $r = ldap_mod_replace($ds,$userDn,$info);
+ ldap_close($ds);
+ if ($r) {
+ $_SESSION['alert'][] = 'info:pw_change_success';
+ return true;
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_modify_failure';
+ return false;
+ }
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure:'.$userDn;
+ ldap_close($ds);
+ return false;
+ }
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_failure';
+ return false;
+ }
+
+}
+
+############################################################################
+# Adminisztrátori jelszó változtatás
+############################################################################
+
+function changePassword($userAccount, $newPassword, $toPolicy = '') {
+
+ global $AUTH;
+
+ if ($toPolicy == '') $toPolicy = _POLICY;
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+ $shadowLastChange = floor(time()/(60*60*24));
+
+ $ds = ldap_connect($AUTH[$toPolicy]['ldap hostname']);
+ if ($ds) {
+ $b_ok = ldap_bind($ds,_USERDN,_USERPASSWORD);
+ if ($b_ok) {
+ $info['userPassword'][0] = '{crypt}' . crypt($newPassword);
+ // Ezekre nincs jogosultsága a felhasználónak, nem változnak:
+ // _SHADOWMIN, _SHADOWMAX, _SHADOWWARNING, _SHADOWINACTIVE
+ $info['shadowlastchange'][0] = $shadowLastChange;
+ if (isset($AUTH[$toPolicy]['shadowExpire']) and $AUTH[$toPolicy]['shadowExpire'] != '') {
+ $info['shadowexpire'][0] = $AUTH[$toPolicy]['shadowExpire'];
+ } elseif (isset($AUTH[$toPolicy]['shadowMax']) and $AUTH[$toPolicy]['shadowMax'] != '') {
+ $info['shadowexpire'][0] = $shadowLastChange + intval($AUTH[$toPolicy]['shadowMax']);
+ }
+ $r = @ldap_mod_replace($ds,$userDn,$info);
+ ldap_close($ds);
+ if ($r) {
+ $_SESSION['alert'][] = 'info:pw_change_success';
+ return true;
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_modify_failure';
+ return false;
+ }
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure:'._USERDN;
+ ldap_close($ds);
+ return false;
+ }
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_failure';
+ return false;
+ }
+
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap/session/accountInfo.php b/mayor-orig/mayor-base/www/include/backend/ldap/session/accountInfo.php
new file mode 100644
index 00000000..24f5234b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap/session/accountInfo.php
@@ -0,0 +1,401 @@
+<?php
+/*
+ Module: base/auth-ldap
+ Backend: ldap
+
+ function getLDAPInfo($userDn, $attrList=array('cn'), $toPolicy = '')
+ function ldapGetAccountInfo($userAccount, $toPolicy = _POLICY)
+ function ldapGetUserInfo($userAccount, $toPolicy = _POLICY)
+ function ldapChangeAccountInfo($userAccount, $toPolicy = _POLICY)
+ function ldapGetGroupInfo($groupCn, $toPolicy = _POLICY)
+
+*/
+
+######################################################
+# getLDAPInfo - általános LDAP lekérdezés
+######################################################
+
+ function getLDAPInfo($userDn, $attrList=array('cn'), $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Keresés
+ $filter = '(objectclass=*)';
+ $sr = @ldap_search($ds, $userDn, $filter, $attrList);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$userDn;
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = @ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ return $info;
+
+ }
+
+###########################################################
+# ldapGetAccountInfo - felhasználói információk (backend)
+###########################################################
+
+ function ldapGetAccountInfo($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH, $backendAttrs, $backendAttrDef;
+
+ if (!isset($backendAttrs)) list($backendAttrs, $backendAttrDef) = getBackendAttrs('Account', $toPolicy);
+
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+
+ $result = getLDAPInfo($userDn, $backendAttrs, $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ // LDAP schema --> mayor schema konverzió
+ for ($i = 0; $i < $result['count']; $i++) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ foreach ($backendAttrDef as $attr => $def) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ if ($attr == 'dn') $return[$i]['dn'] = array('count' => 1, 0 => $result[$i]['dn']);
+ elseif (isset($result[$i][$attr])) $return[$i][$attr] = $result[$i][$attr];
+ else $return[$i][$attr] = array('count' => 0);
+ }
+ }
+
+ return $return[0];
+
+ }
+
+ }
+
+#############################################################
+# ldapGetUserInfo - felhasználói információk (keretrendszer)
+#############################################################
+
+ function ldapGetUserInfo($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH, $accountAttrToLDAP, $ldapAttrDef;
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+
+ $result = getLDAPInfo($userDn, array_values($accountAttrToLDAP), $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ $result[0]['dn'] = array('count' => 1, 0 => $result[0]['dn']);
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ foreach ($accountAttrToLDAP as $attr => $ldapAttr) {
+ if (isset($result[0][$ldapAttr])) $return[$attr] = $result[0][$ldapAttr];
+ else $return[$attr] = array('count' => 0);
+ }
+
+ return $return;
+
+ }
+
+ }
+
+###############################################################
+# ldapChangeAccountInfo - felhasználói információk módosítása
+###############################################################
+
+ function ldapChangeAccountInfo($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH, $backendAttrs, $backendAttrDef;
+
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $emptyAttrs = explode(':',$_POST['emptyAttrs']);
+
+ // Attribútumonként módosítunk
+ foreach ($backendAttrs as $attr) {
+
+ if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_LDAP_RIGHTS;
+ else $rights = $backendAttrDef[$attr]['rights'];
+
+ if ($rights[_ACCESS_AS] == 'w') {
+
+ $mod_info = $add_info = $del_info = Array();
+ $values = array();
+
+ if ($backendAttrDef[$attr]['type'] == 'image') {
+ $file = $_FILES[$attr]['tmp_name'];
+ if (file_exists($file)) {
+ $fd = fopen($file,'r');
+ $values[0]=fread($fd,filesize($file));
+ fclose($fd);
+ } else {
+ // Sose töröljük!
+ $emptyAttrs[] = $attr;
+ }
+ } elseif ($backendAttrDef[$attr]['type'] == 'timestamp') {
+ if ($_POST[$attr][0] != '' and $_POST[$attr][1] != '' and $_POST[$attr][2] != '') {
+ $values[0] = $_POST[$attr][0].$_POST[$attr][1].$_POST[$attr][2].'010101Z';
+ }
+ } else {
+ if ($backendAttrDef[$attr]['type'] != '' ) $values[0] = $_POST[$attr];
+ }
+
+ if ($backendAttrDef[$attr]['type'] == 'select') {
+ if ($_POST['new-'.$attr][0] != '') $add_info[$attr] = $_POST['new-'.$attr];
+ if ($_POST['del-'.$attr][0] != '') $del_info[$attr] = $_POST['del-'.$attr];
+ } elseif (in_array($attr,$emptyAttrs)) {
+ if ($values[0] != '') $add_info[$attr] = $values;
+ } else {
+ if ($values[0] != '') {
+ $mod_info[$attr] = $values;
+ } else {
+ $del_info[$attr] = Array();
+ }
+ }
+
+ $_alert = array();
+ if (count($add_info)!=0) {
+ if (!@ldap_mod_add($ds,$userDn,$add_info)) {
+ $_alert[] = 'message:insufficient_access:add:'.$attr;
+ }
+ }
+ if (count($mod_info)!=0) {
+ if (!@ldap_mod_replace($ds,$userDn,$mod_info)) {
+ $_alert[] = 'message:insufficient_access:mod:'.$attr;
+ }
+ }
+ if (count($del_info)!=0) {
+ if (!@ldap_mod_del($ds,$userDn,$del_info)) {
+ $_alert[] = 'message:insufficient_access:del:'.$attr;
+ }
+ }
+
+ } else {
+// $_alert[] = 'message:insufficient_access:'.$attr;
+ }
+ } // foreach
+
+ ldap_close($ds);
+ if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success';
+ else for ($i = 0;$i < count($_alert);$i++) $_SESSION['alert'][] = $_alert[$i];
+
+ }
+
+###########################################################
+# ldapGetGroupInfo - csoport információk (backend)
+###########################################################
+
+ function ldapGetGroupInfo($groupCn, $toPolicy = _POLICY) {
+
+ global $AUTH, $backendAttrs, $backendAttrDef;
+
+
+ if (!isset($backendAttrs)) list($backendAttrs, $backendAttrDef) = getBackendAttrs('Group', $toPolicy);
+
+ $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy);
+
+ $result = getLDAPInfo($groupDn, $backendAttrs, $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ // Accountok lekérdezése
+ $info = getLDAPaccounts($toPolicy);
+ for ($i = 0; $i < $info['count']; $i++) {
+ $accountUid[] = array(
+ 'value' => $info[$i]['uid'][0],
+ 'txt' => $info[$i]['cn'][0]
+ );
+ $accountDn[] = array(
+ 'value' => $info[$i]['dn'],
+ 'txt' => $info[$i]['cn'][0]
+ );
+ }
+
+ // LDAP schema --> mayor schema konverzió
+ for ($i = 0; $i < $result['count']; $i++) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ foreach ($backendAttrDef as $attr => $def) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ if ($attr == 'dn') $return[$i]['dn'] = array('count' => 1, 0 => $result[$i]['dn']);
+ elseif (isset($result[$i][$attr])) $return[$i][$attr] = $result[$i][$attr];
+ else $return[$i][$attr] = array('count' => 0);
+ }
+ $return[$i]['member']['new'] = $accountDn;
+ $return[$i]['memberuid']['new'] = $accountUid;
+ }
+
+ return $return[0];
+
+ }
+
+ }
+
+###############################################################
+# ldapChangeGroupInfo - csoport információk módosítása
+###############################################################
+
+ function ldapChangeGroupInfo($groupCn, $toPolicy = _POLICY) {
+
+// !!!! A memberuid / member szinkronjára nem figyel!!
+
+ global $AUTH, $backendAttrs, $backendAttrDef;
+
+ $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy);
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $emptyAttrs = explode(':',$_POST['emptyAttrs']);
+
+ // Attribútumonként módosítunk
+ foreach ($backendAttrs as $attr) {
+
+ if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_LDAP_RIGHTS;
+ else $rights = $backendAttrDef[$attr]['rights'];
+
+ if ($rights[_ACCESS_AS] == 'w') {
+
+ $mod_info = $add_info = $del_info = Array();
+ $values = array();
+
+ if ($backendAttrDef[$attr]['type'] == 'image') {
+ $file = $_FILES[$attr]['tmp_name'];
+ if (file_exists($file)) {
+ $fd = fopen($file,'r');
+ $values[0]=fread($fd,filesize($file));
+ fclose($fd);
+ } else {
+ // Sose töröljük!
+ $emptyAttrs[] = $attr;
+ }
+ } elseif ($backendAttrDef[$attr]['type'] == 'timestamp') {
+ if ($_POST[$attr][0] != '' and $_POST[$attr][1] != '' and $_POST[$attr][2] != '') {
+ $values[0] = $_POST[$attr][0].$_POST[$attr][1].$_POST[$attr][2].'010101Z';
+ }
+ } else {
+ if ($backendAttrDef[$attr]['type'] != '')
+ if (isset($_POST[$attr])) $values[0] = $_POST[$attr];
+ else $values[0] = '';
+ }
+
+ if ($backendAttrDef[$attr]['type'] == 'select') {
+ if (isset($_POST['new-'.$attr][0]) && $_POST['new-'.$attr][0] != '') $add_info[$attr] = $_POST['new-'.$attr];
+ if (isset($_POST['del-'.$attr][0]) && $_POST['del-'.$attr][0] != '') $del_info[$attr] = $_POST['del-'.$attr];
+ } elseif (in_array($attr,$emptyAttrs)) {
+ if ($values[0] != '') $add_info[$attr] = $values;
+ } else {
+ if ($values[0] != '') {
+ $mod_info[$attr] = $values;
+ } else {
+ $del_info[$attr] = Array();
+ }
+ }
+
+ $_alert = array();
+ if (count($add_info)!=0) {
+ if (!@ldap_mod_add($ds,$groupDn,$add_info)) {
+ $_alert[] = 'message:insufficient_access:add:'.$attr;
+ }
+ }
+ if (count($mod_info)!=0) {
+ if (!@ldap_mod_replace($ds,$groupDn,$mod_info)) {
+ $_alert[] = 'message:insufficient_access:mod:'.$attr;
+ }
+ }
+ if (count($del_info)!=0) {
+ if (!@ldap_mod_del($ds,$groupDn,$del_info)) {
+ $_alert[] = 'message:insufficient_access:del:'.$attr;
+ }
+ }
+
+ } else {
+// $_alert[] = 'message:insufficient_access:'.$attr;
+ }
+ } // foreach
+
+ ldap_close($ds);
+ if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success';
+ else for ($i=0;$i<count($_alert);$i++) $_SESSION['alert'][] = $_alert[$i];
+
+ }
+
+ function getLDAPaccounts($toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Keresés
+ $attrList = array('cn','uid');
+// $filter = '(objectclass=mayorPerson)';
+ $filter = '(objectclass=posixAccount)';
+ $sr = @ldap_search($ds, $AUTH[$toPolicy]['ldap base dn'], $filter, $attrList);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$userDn;
+ ldap_close($ds);
+ return false;
+ }
+
+ ldap_sort($ds, $sr, 'cn');
+ $info = @ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ return $info;
+
+ }
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap/session/base.php b/mayor-orig/mayor-base/www/include/backend/ldap/session/base.php
new file mode 100644
index 00000000..b8529cc2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap/session/base.php
@@ -0,0 +1,255 @@
+<?php
+/*
+ Module: base/session
+ Backend: ldap
+
+ function LDAPuserAccountToDn($userAccount = _USERACCOUNT, $toPolicy = _POLICY)
+ function ldapMemberOf($userAccount, $group, $toPolicy = _POLICY)
+
+*/
+
+ require('include/backend/ldap/base/attrs.php');
+ require('include/backend/ldap/base/str.php');
+
+ ldap_set_option(NULL, LDAP_OPT_PROTOCOL_VERSION, 3);
+
+ if ($AUTH[_POLICY]['backend'] == 'ldap') {
+ /* why not put into session cache */
+ if ($AUTH[_POLICY]['cacheable']=='yes') {
+ $userDn = _queryCache('RDN',_POLICY,'value');
+ }
+ if (!isset($userDn)) $userDn = LDAPuserAccountToDn();
+ define('_USERDN', $userDn);
+ if ($AUTH[_POLICY]['cacheable']=='yes') _registerToCache('RDN',$userDn,_POLICY);
+ unset($userDn);
+ }
+
+######################################################
+# A _USERACCOUNT(uid)-hoz tartozó dn lekérdezése
+######################################################
+
+ function LDAPuserAccountToDn($userAccount = _USERACCOUNT, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // Kapcsolódás a szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ return false;
+ }
+
+ // Van-e adott azonosítójú felhasználó?
+ $filter="(&(uid=$userAccount)(objectClass=posixAccount))";
+ $justthese=array('cn');
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['ldap base dn'], $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure";
+ ldap_close($ds);
+ return false;
+ }
+ $info=ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ if ( $info['count'] === 0 ) {
+ // Nincs ilyen userAccount (uid)
+ $_SESSION['alert'][] = "message:no_account:$userAccount";
+ return false;
+ } elseif ( $info['count'] > 1 ) {
+ // Több ilyen uid is van
+ $_SESSION['alert'][] = "message:multi_uid:$userAccount";
+ return false;
+ }
+
+ if ($info['count']==1) { // Van - egy - ilyen felhasználó
+ return $info[0]['dn'];
+ }
+
+ }
+
+
+######################################################
+# A groupCn(cn)-hez tartozó dn lekérdezése
+######################################################
+
+ function LDAPgroupCnToDn($groupCn, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // Kapcsolódás a szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ return false;
+ }
+
+ // Van-e adott azonosítójú felhasználó?
+ $filter="(&(cn=$groupCn)(objectClass=posixGroup))";
+ $justthese=array('cn');
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['ldap base dn'], $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure";
+ ldap_close($ds);
+ return false;
+ }
+ $info=ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ if ( $info['count'] === 0 ) {
+ // Nincs ilyen groupCn (cn) - hibaüzenet csak akkor, ha nem kategóriáról van szó...
+ if (!in_array($groupCn, array_map('ekezettelen', $AUTH[$toPolicy]['categories']))) $_SESSION['alert'][] = "message:no_group:$groupCn";
+ return false;
+ } elseif ( $info['count'] > 1 ) {
+ // Több ilyen cn is van
+ $_SESSION['alert'][] = "message:multi_gid:$groupCn";
+ return false;
+ }
+
+ if ($info['count']==1) { // Van - egy - ilyen csoport
+ return $info[0]['dn'];
+ }
+
+ }
+
+
+
+######################################################
+# memberOf - csoport tag-e
+######################################################
+
+ function ldapMemberOf($userAccount, $group, $toPolicy = _POLICY) {
+
+ global $AUTH, $LDAP2Mayor;
+
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+ if (in_array($group, $AUTH[$toPolicy]['categories'])) {
+ if (strpos($userDn, ',ou='.ekezettelen($group).',') !== false) return true;
+# Ha nincs megfelelő ou-ban, akkor nézzük a csoport tagságot - így berakható időszakosan akárki pl a titkárság kategóriába...
+# else return false;
+ }
+
+ if (substr($group,0,3) != 'cn=') {
+ $groupDn = LDAPgroupCnToDn(ekezettelen($group));
+ if (!$groupDn) return false; // Ha nincs ilyen csoport az LDAP fában
+ } else {
+ $groupDn = $group;
+ }
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $justthese = array('cn'); // valamit le kell kérdezni...
+/* $filter = "(& (objectClass=mayorGroup)
+ (member=$userDn)
+ )";
+*/
+ $filter = "(& (objectClass=posixGroup)
+ (memberUid=$userAccount)
+ )";
+ $sr = @ldap_search($ds, $groupDn, $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$filter;
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = ldap_get_entries($ds, $sr);
+ ldap_close($ds);
+
+ if ($info['count'] > 0) {
+ return true;
+ } else {
+ return false;
+ }
+
+ }
+
+######################################################
+# LDAPcreateContainer - tároló létrehozása
+######################################################
+
+ function LDAPcreateContainer($containerDn, $toPolicy) {
+
+ global $AUTH;
+
+ $pos = strpos($containerDn, ',ou=');
+ $container = substr($containerDn, 3, $pos-3);
+ $rdn = substr($containerDn, $pos+1);
+ $cat = substr($containerDn, 3, strlen($containerDn)-4-strlen($AUTH[$toPolicy]['ldap base dn']));
+
+ error_reporting(1);
+
+ // Kapcsolódás a szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ return false;
+ }
+
+ // OU létrehozása
+ $info['ou'][0] = $container;
+ $info['objectclass'][0] = 'organizationalUnit';
+ $info['description'][0] = $container;
+
+ $_r1 = ldap_add($ds, $containerDn, $info);
+ if (!$_r1) {
+// $_SESSION['alert'][] = 'message:ldap_add_failure:'.$containerDn;
+ return false;
+// printf("LDAP-Error: %s<br>\n", ldap_error($ds));
+// echo '<pre>'; var_dump($info); echo '</pre>';
+ }
+
+ // az OU-hoz tartozó csoportok OU-ja
+ $info['ou'][0] = 'Groups';
+ $info['objectclass'][0] = 'organizationalUnit';
+ $info['description'][0] = "$container csoportjai";
+
+ $containerDn = "ou=Groups,$containerDn";
+ $_r1 = ldap_add($ds, $containerDn, $info);
+ if (!$_r1) {
+ printf("LDAP-Error: %s<br>\n", ldap_error($ds));
+ echo '<pre>'; var_dump($info); echo '</pre>';
+ }
+
+ // Az osztály csoport létrehozása
+ require_once('include/modules/session/createGroup.php');
+ createGroup($container, "$container csoport", "$cat", $toPolicy);
+
+ ldap_close($ds);
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap/session/createAccount.php b/mayor-orig/mayor-base/www/include/backend/ldap/session/createAccount.php
new file mode 100644
index 00000000..79f40530
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap/session/createAccount.php
@@ -0,0 +1,204 @@
+<?php
+/*
+ Modules: base/session
+
+ UNTESTED!!!!
+*/
+
+ function ldapCreateAccount(
+ $userCn, $userAccount, $userPassword, $toPolicy, $SET
+ ) {
+
+ global $AUTH;
+
+ $category = ekezettelen($SET['category']);
+ $shadowLastChange = floor(time() / (60*60*24));
+
+ // $toPolicy --> ldap backend - ellenőrzés!
+ if ($AUTH[$toPolicy]['backend'] != 'ldap') {
+ $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = $groupinfo = $oinfo = Array();
+
+ // uid ütközés ellenőrzése
+ $filter = "(uid=$userAccount)";
+ $justthese = array('uid');
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['ldap base dn'], $filter, $justthese);
+ $uinfo = ldap_get_entries($ds, $sr);
+ $uidCount = $uinfo['count'];
+ ldap_free_result($sr);
+ if ($uidCount > 0) {
+ $_SESSION['alert'][] = 'message:multi_uid:'.$userAccount;
+ return false;
+ }
+
+ // Az következő uidNumber megállapítása
+ $filter = '(objectClass=mayorOrganization)';
+ $justthese = array('nextuid', 'freeuid');
+ $sr = ldap_search($ds,$AUTH[$toPolicy]['ldap base dn'], $filter, $justthese);
+ $uidinfo = ldap_get_entries($ds,$sr);
+ ldap_free_result($sr);
+ if (isset($uidinfo[0]['freeuid']['count'])) $freeUidCount = $uidinfo[0]['freeuid']['count'];
+ else $freeUidCount = 0;
+ if ($freeUidCount == 0) {
+ $info['uidnumber'] = array($uidinfo[0]['nextuid'][0]);
+ $info['gidnumber'] = $info['uidnumber'];
+ $oinfo['nextuid'] = $info['uidnumber'][0]+1;
+ } else {
+ $info['uidnumber'] = array($uidinfo[0]['freeuid'][$freeUidCount-1]);
+ $info['gidnumber'] = $info['uidnumber'];
+ $oinfo['freeuid'] = $uidinfo[0]['freeuid'][$freeUidCount-1];
+ }
+
+ // shadow attributumok...
+ // A shadowLastChange a mai nap // if (isset($AUTH[$toPolicy]['shadowlastchange']) && $AUTH[$toPolicy]['shadowlastchange'] != '')
+ $info['shadowlastchange'] = $shadowLastChange;
+ if (isset($AUTH[$toPolicy]['shadowmin']) && $AUTH[$toPolicy]['shadowmin'] != '') $info['shadowmin'] = $AUTH[$toPolicy]['shadowmin'];
+ if (isset($AUTH[$toPolicy]['shadowmax']) && $AUTH[$toPolicy]['shadowmax'] != '') $info['shadowmax'] = $AUTH[$toPolicy]['shadowmax'];
+ if (isset($AUTH[$toPolicy]['shadowwarning']) && $AUTH[$toPolicy]['shadowwarning'] != '') $info['shadowwarning'] = $AUTH[$toPolicy]['shadowwarning'];
+ if (isset($AUTH[$toPolicy]['shadowinactive']) && $AUTH[$toPolicy]['shadowinactive'] != '') $info['shadowinactive'] = $AUTH[$toPolicy]['shadowinactive'];
+ if (isset($AUTH[$toPolicy]['shadowexpire']) && $AUTH[$toPolicy]['shadowexpire'] != '') $info['shadowexpire'] = $AUTH[$toPolicy]['shadowexpire'];
+
+ // A szokásos attribútumok
+ $info['uid'] = array($userAccount);
+ $info['cn'] = array($userCn);
+ $info['sn'] = array('-');
+ $info['userpassword'] = array('{crypt}' . crypt($userPassword));
+ if (is_array($SET['policyAttrs'])) foreach ($SET['policyAttrs'] as $attr => $value) $info[kisbetus($attr)] = $value;
+ if (($pos = strpos($category,',')) !== false)
+ $info['homedirectory'] = "/home/diak/".substr($category,0,$pos)."/$userAccount";
+ else
+ $info['homedirectory'] = "/home/$category/$userAccount";
+
+ // A kategória függő attribútumok
+ if (isset($SET['container']) && $SET['container'] != '') {
+ $dn = "uid=$userAccount,".$SET['container'];
+ $group = "cn=$userAccount,ou=Groups,".$SET['container'];
+ $ouDn = $SET['container'];
+ } else {
+ $dn = "uid=$userAccount,ou=".$category.','.$AUTH[$toPolicy]['ldap base dn'];
+ $group = "cn=$userAccount,ou=Groups,ou=".$category.','.$AUTH[$toPolicy]['ldap base dn'];
+ $ouDn = "ou=".$category.",".$AUTH[$toPolicy]['ldap base dn'];
+ }
+
+ if ($SET['createContainer']) { // Létrehozza a tároló elemet, benne az OU=Groups tárolót, benne a megfelelő csoportot
+ LDAPcreateContainer($ouDn, $toPolicy);
+ }
+ // objectum osztályok
+ // a mayorPerson a posixAccount és shadowAccount leszármazottja,
+ // de kell egy structural object is - ez a person - aminek kötelező paramétere az sn!
+ $info['objectclass'] = array('person', 'mayorPerson');
+
+ // user felvétel
+ $info['homedirectory'] = ekezettelen($info['homedirectory']); // Nem lehet ékezetes :o(
+
+ $_r1 = ldap_add($ds,$dn,$info);
+ if (!$_r1) {
+ printf("LDAP-Error: %s<br>\n", ldap_error($ds));
+ echo $dn.'<pre>'; var_dump($info); echo '</pre>';
+ return false;
+ }
+
+ // user csoportja
+ $groupinfo['cn'] = $userAccount;
+ $groupinfo['gidnumber'] = $info['uidnumber'];
+ $groupinfo['memberuid'] = ekezettelen($userAccount); // Nem lehet ékezetes :o(
+ $groupinfo['description'] = 'A felhasználó saját csoportja';
+ $groupinfo['objectclass'] = 'posixGroup';
+ $_r2 = ldap_add($ds, $group, $groupinfo);
+ if (!$_r2) {
+ printf("LDAP-Error (userGroup): %s<br>\n", ldap_error($ds));
+ echo $group.'<pre>'; var_dump($groupinfo); echo '</pre>';
+ return false;
+ }
+
+ // Kategória csoportba rakás vagy tanár csoportba rakás ugye...
+ // És nincs diák csoport!
+ $ginfo['memberuid'] = ekezettelen($userAccount); // Nem lehet ékezetes :o(
+ $ginfo['member'] = $dn;
+
+ // Kategória csoportba és egyéb csoportokba rakás
+ if (isset($SET['category'])) {
+ if (is_array($SET['groups'])) array_unshift($SET['groups'], $category);
+ else $SET['groups'] = array($category);
+
+ for ($i = 0; $i < count($SET['groups']); $i++) {
+
+ $filter = "(&(objectClass=mayorGroup)(cn=".$SET['groups'][$i]."))";
+ $justthese = array('cn');
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['ldap base dn'], $filter, $justthese);
+ if (ldap_count_entries($ds, $sr)) {
+ $grpInfo = ldap_get_entries($ds, $sr);
+ $groupDn = $grpInfo[0]['dn'];
+ $_r3 = ldap_mod_add($ds, $groupDn, $ginfo);
+ if (!$_r3) {
+ printf("LDAP-Error (category): %s<br>\n", ldap_error($ds));
+ echo $groupDn.'<pre>'; var_dump($ginfo); echo '</pre>';
+ }
+ }
+
+ }
+
+ }
+
+
+ // nextuid növelés
+ if ($freeUidCount == 0) {
+ $_r4 = ldap_mod_replace($ds,$AUTH[$toPolicy]['ldap base dn'],$oinfo);
+ } else {
+ $_r4 = ldap_mod_del($ds,$AUTH[$toPolicy]['ldap base dn'],$oinfo);
+ }
+ if (!$_r4) {
+ printf("LDAP-Error (freeUid): %s<br>\n", ldap_error($ds));
+ return false;
+ }
+
+ ldap_close($ds);
+
+ if (defined('_DATADIR')
+ && isset($AUTH[$toPolicy]['createAccountScript'])
+ && file_exists(_DATADIR)
+ ) {
+ $sfp = fopen(_DATADIR.'/'.$AUTH[$toPolicy]['createAccountScript'],'a+');
+ if ($sfp) {
+ fwrite($sfp,"\n# $userAccount l.trehoz.sa\n");
+ fwrite($sfp,'/bin/mkdir -p '.$info['homedirectory']."\n");
+ fwrite($sfp,'/bin/chmod 2755 '.$info['homedirectory']."\n");
+ fwrite($sfp,"/bin/chown $userAccount.$userAccount ".$info['homedirectory']."\n");
+
+ fwrite($sfp,'/bin/mkdir '.$info['homedirectory']."/private\n");
+ fwrite($sfp,"/bin/chown $userAccount.$userAccount ".$info['homedirectory']."/private\n");
+ fwrite($sfp,'/bin/chmod 0770 '.$info['homedirectory']."/private\n");
+
+ fwrite($sfp,'/bin/mkdir '.$info['homedirectory']."/public_html\n");
+ fwrite($sfp,"/bin/chown $userAccount.$userAccount ".$info['homedirectory']."/public_html\n");
+ fwrite($sfp,'/bin/chmod 0755 '.$info['homedirectory']."/public_html\n");
+
+ fwrite($sfp,'/bin/ln -s '.$info['homedirectory']." /home\n");
+// chmod($scriptFile,0770);
+ fclose($sfp);
+ }
+ }
+ $_SESSION['alert'][] = 'info:create_uid_success:'.$dn;
+ return true;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap/session/createGroup.php b/mayor-orig/mayor-base/www/include/backend/ldap/session/createGroup.php
new file mode 100644
index 00000000..df2de812
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap/session/createGroup.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ Modules: base/session
+*/
+
+ function ldapCreateGroup($groupCn, $groupDesc, $toPolicy = _POLICY, $SET) {
+
+ global $AUTH;
+ $category = ekezettelen($SET['category']);
+
+ // $toPolicy --> ldap backend - ellenőrzés!
+ if ($AUTH[$toPolicy]['backend'] != 'ldap') {
+ $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = $groupinfo = $oinfo = Array();
+
+ // cn ütközés ellenőrzése
+ $filter = "(&(objectclass=posixgroup)(cn=$groupCn))";
+ $justthese = array('cn');
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['ldap base dn'], $filter, $justthese);
+ $ginfo = ldap_get_entries($ds, $sr);
+ $gCount = $ginfo['count'];
+ ldap_free_result($sr);
+ if ($gCount > 0) {
+ $_SESSION['alert'][] = 'message:multi_uid:'.$groupCn;
+ return false;
+ }
+
+ // Az következő gidNumber megállapítása
+ $filter = '(objectClass=mayorOrganization)';
+ $justthese = array('nextgid', 'freegid');
+ $sr = ldap_search($ds,$AUTH[$toPolicy]['ldap base dn'], $filter, $justthese);
+ $ginfo = ldap_get_entries($ds,$sr);
+ ldap_free_result($sr);
+ if (isset($ginfo[0]['freegid']['count'])) $freeGidCount = $ginfo[0]['freegid']['count'];
+ else $freeGidCount = 0;
+ if ($freeGidCount == 0) {
+ $info['gidnumber'] = array($ginfo[0]['nextgid'][0]);
+ $oinfo['nextgid'] = $info['gidnumber'][0]+1;
+ } else {
+ $info['gidnumber'] = array($ginfo[0]['freegid'][$freeGidCount-1]);
+ $oinfo['freegid'] = $ginfo[0]['freegid'][$freeGidCount-1];
+ }
+
+ // A szokásos attribútumok
+ $info['cn'] = array($groupCn);
+ $info['description'] = array($groupDesc);
+
+ // A kategória függő attribútumok
+ if (isset($SET['container'])) $dn = "cn=$groupCn,".$SET['container'];
+ else $dn = "cn=$groupCn,ou=Groups,ou=$category,".$AUTH[$toPolicy]['ldap base dn'];
+
+ // objectum osztályok
+ $info['objectclass'] = array('posixGroup', 'mayorGroup');
+
+ // Policy függő attribútumok - LDAP esetén pl a member kötelező
+ if (is_array($SET['policyAttrs'])) foreach ($SET['policyAttrs'] as $attr => $value) $info[kisbetus($attr)] = $value;
+
+ // csoport felvétel
+ $_r1 = ldap_add($ds,$dn,$info);
+ if (!$_r1) {
+ printf("LDAP-Error: %s<br>\n", ldap_error($ds));
+ echo $dn.'<hr>';
+ var_dump($info);
+ echo '<hr>';
+ var_dump($SET);
+ }
+
+ // nextuid növelés
+ if ($freeGidCount == 0) {
+ $_r4 = ldap_mod_replace($ds,$AUTH[$toPolicy]['ldap base dn'],$oinfo);
+ } else {
+ $_r4 = ldap_mod_del($ds,$AUTH[$toPolicy]['ldap base dn'],$oinfo);
+ }
+// if (!$_r4) {
+// printf("LDAP-Error: %s<br>\n", ldap_error($_r4));
+// }
+
+ ldap_close($ds);
+
+ $_SESSION['alert'][] = 'info:create_group_success:'.$dn;
+ return true;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldap/session/search/searchAccount.php b/mayor-orig/mayor-base/www/include/backend/ldap/session/search/searchAccount.php
new file mode 100644
index 00000000..62e19c5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldap/session/search/searchAccount.php
@@ -0,0 +1,311 @@
+<?php
+/*
+ Module: base/session
+ Backend: ldap
+
+ ! -- Csak publikus mezőkre lehet keresni! -- !
+ function LDAPSearch($attr, $pattern, $searchAttrs=array('cn'), $filter='(objectclass=*)')
+ function ldapSearchAccount($attr, $pattern, $searchAttrs = array('userCn'))
+ function ldapSearchGroup($attr, $pattern, $searchAttrs = array('groupCn, groupDesc'), $toPolicy = '') {
+
+*/
+
+######################################################
+# Általános LDAP kereső függvény
+######################################################
+
+ function LDAPSearch($attr, $pattern, $searchAttrs=array('cn'), $filter='(objectclass=*)', $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ if ($pattern == '') {
+ $_SESSION['alert'][] = 'message:empty_field';
+ return false;
+ }
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Keresés
+ $filter = "(&$filter($attr=*$pattern*))";
+ $sr = @ldap_search($ds, $AUTH[$toPolicy]['ldap base dn'], $filter, $searchAttrs);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$filter;
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = @ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ return $info;
+
+ }
+
+######################################################
+# ldapSearchAccount - felhasználó kereső függvény
+######################################################
+
+ function ldapSearchAccount($attr, $pattern, $searchAttrs = array('userCn'), $toPolicy = _POLICY) {
+
+ global $accountAttrToLDAP;
+
+ // A keresendő attribútum konvertálása LDAP attribútummá
+ if ($accountAttrToLDAP[ $attr ] != '') $attrLDAP = $accountAttrToLDAP[ $attr ];
+ else $attrLDAP = $attr;
+ if ($attrLDAP == 'dn') $attrLDAP = 'uid'; // dn-re nem megy a keresés!!
+
+ // A lekérendő attribútumok konvertálása LDAP attribútummá
+ for ($i = 0; $i < count($searchAttrs); $i++) {
+ if ($accountAttrToLDAP[ $searchAttrs[$i] ] != '') $searchAttrsLDAP[$i] = $accountAttrToLDAP[ $searchAttrs[$i] ];
+ else $searchAttrsLDAP[$i] = $searchAttrs[$i];
+ }
+
+ $result = LDAPSearch($attrLDAP, $pattern, $searchAttrsLDAP, '(objectclass=posixaccount)', $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ // LDAP schema --> mayor schema konverzió
+ for ($i = 0; $i < $result['count']; $i++) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ $result[$i]['dn'] = $return[$i]['userAccount'] = array('count' => 1, 0 => $result[$i]['dn']);
+ for ($j = 0; $j < count($searchAttrs); $j++) {
+ $a = $searchAttrs[$j];
+ if (isset($result[$i][ $accountAttrToLDAP[$a] ])) {
+ if ($accountAttrToLDAP[$a] != '') $return[$i][$a] = $result[$i][ $accountAttrToLDAP[$a] ];
+ else $return[$i][$a] = $result[$i][$a];
+ } else {
+ $return[$i][$a] = array('count' => 0) ;
+ }
+ }
+ $return[$i]['category'] = getAccountCategories($result[$i]['uid'][0], $toPolicy);
+ $return[$i]['category']['count'] = count($return[$i]['category']);
+ }
+ $return['count'] = $result['count'];
+
+ return $return;
+
+ }
+
+ }
+
+######################################################
+# ldapSearchGroup - csoport kereső függvény
+######################################################
+
+ function ldapSearchGroup($attr, $pattern, $searchAttrs = array('groupCn, groupDesc'), $toPolicy = _POLICY) {
+
+ global $groupAttrToLDAP;
+
+ // A keresendő attribútum konvertálása LDAP attribútummá
+ if ($groupAttrToLDAP[ $attr ] != '') $attrLDAP = $groupAttrToLDAP[ $attr ];
+ else $attrLDAP = $attr;
+ if ($attrLDAP == 'dn') $attrLDAP = 'cn'; // dn-re nem megy a keresés!!
+
+ // A lekérendő adtibútumok konvertálása LDAP attribútummá
+ for ($i = 0; $i < count($searchAttrs); $i++) {
+ if ($groupAttrToLDAP[ $searchAttrs[$i] ] != '') $searchAttrsLDAP[$i] = $groupAttrToLDAP[ $searchAttrs[$i] ];
+ else $searchAttrsLDAP[$i] = $searchAttrs[$i];
+ }
+
+ $result = LDAPSearch($attrLDAP, $pattern, $searchAttrsLDAP, '(objectclass=posixgroup)', $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ // LDAP schema --> mayor schema konverzió
+ for ($i = 0; $i < $result['count']; $i++) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ $result[$i]['dn'] = $return[$i]['groupCn'] = array('count' => 1, 0 => $result[$i]['dn']);
+ for ($j = 0; $j < count($searchAttrs); $j++) {
+ $a = $searchAttrs[$j];
+ if (!isset($groupAttrToLDAP[$a]) || $groupAttrToLDAP[$a] != '') {
+ if (isset($result[$i][ $groupAttrToLDAP[$a] ])) $return[$i][$a] = $result[$i][ $groupAttrToLDAP[$a] ];
+ else $return[$i][$a] = '';
+ } else {
+ $return[$i][$a] = $result[$i][$a];
+ }
+ }
+ }
+ $return['count'] = $result['count'];
+
+ return $return;
+
+ }
+
+ }
+
+######################################################
+# ldapDeleteAccount - account törlése
+######################################################
+
+ function ldapDeleteAccount($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+
+ // $toPolicy --> ldap backend - ellenőrzés
+ if ($AUTH[$toPolicy]['backend'] != 'ldap') {
+ $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Az uidNumber, a homeDirectory lekerdezése
+ $filter = "(objectclass=posixAccount)";
+ $justthese = array('uidNumber','homedirectory');
+ $sr = @ldap_search($ds,$userDn,$filter,$justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$userDn;
+ ldap_close($ds);
+ return false;
+ } ;
+
+ $uidinfo = @ldap_get_entries($ds,$sr);
+ $uidNumber = $uidinfo[0]['uidnumber'][0];
+ if (isset($uidinfo[0]['homedirectory'][0])) $homeDirectory = $uidinfo[0]['homedirectory'][0];
+ else $homeDirectory = '';
+ $uid=$userAccount;
+
+ // GroupDn, freeuid
+ $groupDn = "cn=$uid,ou=Groups".strstr($userDn,',');
+ $oinfo['freeuid'] = $uidNumber;
+
+ // user törlése
+ if (!@ldap_delete($ds,$userDn)) {
+ $_SESSION['alert'][] = 'message:ldap_delete_failure:user:'.$userAccount;
+ }
+
+ // freeuid felvétele
+ if (!@ldap_mod_add($ds,$AUTH[$toPolicy]['ldap base dn'],$oinfo)) {
+ $_SESSION['alert'][] = 'message:ldap_modify_failure:freeuid:'.$oinfo['freeuid'];
+ }
+
+ // csoport törlése
+ if (!@ldap_delete($ds,$groupDn)) {
+ $_SESSION['alert'][] = 'message:ldap_delete_failure:group:'.$groupDn;
+ }
+
+ // törlés a csoportból
+ $filter = "(memberuid=$uid)";
+ $justthese = array('cn','objectclass','member');
+ $sr = @ldap_search($ds,$AUTH[$toPolicy]['ldap base dn'],$filter,$justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:groups:".$userAccount;
+ ldap_close($ds);
+ return false;
+ } ;
+
+ $groupinfo = ldap_get_entries($ds,$sr);
+
+ for ($i = 0; $i < $groupinfo['count']; $i++) {
+ $grpinfo = array('memberuid' => $uid);
+ if (@in_array($userDn,$groupinfo[$i]['member'])) {
+ $grpinfo['member']=$userDn;
+ }
+ if (!@ldap_mod_del($ds,$groupinfo[$i]['dn'],$grpinfo)) {
+ $_SESSION['alert'][] = 'message:ldap_delete_failure:member:'.$groupinfo[$i]['dn'];
+ }
+ }
+
+ ldap_close($ds);
+
+ $_SESSION['alert'][] = 'info:delete_uid_success:'.$userDn;
+ return true;
+
+ }
+
+######################################################
+# ldapDeleteGroup - account törlése
+######################################################
+
+ function ldapDeleteGroup($groupCn, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy);
+
+ // $toPolicy --> ldap backend - ellenőrzés
+ if ($AUTH[$toPolicy]['backend'] != 'ldap') {
+ $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Az uidNumber, a homeDirectory lekerdezése
+ $filter = '(objectclass=posixGroup)';
+ $justthese = array('gidNumber');
+ $sr = @ldap_search($ds, $groupDn, $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = 'message:ldap_search_failure:'.$userDn;
+ ldap_close($ds);
+ return false;
+ } ;
+
+ $gidinfo = ldap_get_entries($ds, $sr);
+ $gidNumber = $gidinfo[0]['gidnumber'][0];
+
+ // freeGid
+ $oinfo['freegid'] = $gidNumber;
+
+ if (!@ldap_delete($ds, $groupDn)) {
+ $_SESSION['alert'][] = 'message:ldap_delete_failure:group:'.$groupCn;
+ }
+
+ // freeuid felvétele
+ if (!@ldap_mod_add($ds, $AUTH[$toPolicy]['ldap base dn'], $oinfo)) {
+ $_SESSION['alert'][] = 'message:ldap_modify_failure:freeGid:'.$oinfo['freegid'];
+ }
+
+ ldap_close($ds);
+
+ $_SESSION['alert'][] = 'info:delete_group_success:'.$groupCn;
+ return true;
+
+ }
+
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldapng/auth/login.php b/mayor-orig/mayor-base/www/include/backend/ldapng/auth/login.php
new file mode 100644
index 00000000..b24b4b96
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldapng/auth/login.php
@@ -0,0 +1,163 @@
+<?php
+/*
+ Auth-ldapng
+
+ A név-jelszó pár ellenőrzése LDAP adatbázis alapján
+*/
+
+/* --------------------------------------------------------------
+
+ Felhasználók azonosítása az LDAP-ban tárolt konfigurálható
+ osztályok alapján történik.
+
+ A függvény az előre definiált _AUTH_SUCCESS, _AUTH_EXPIRED, _AUTH_FAILURE
+ konstansok valamelyikével tér vissza. (include/modules/auth/base/config.php)
+
+ Sikeres hitelesítés esetén
+ az egyéb account információkat (minimálisan a 'cn', azaz 'common name'
+ attribútumot) a cím szerint átadott $accountInformation tömbbe helyezi el.
+
+ Sikertelen azonosítás esetén a globális $_SESSION['alert'] változóban jelzi az
+ elutasítás okát (ldap_connect_failure, ldap_bind_failure, ldap_search_failure, no_account, multi_uid,
+ account_disabled, bad_pw, account_warning, account_expired, warn_account_disable.
+
+-------------------------------------------------------------- */
+
+######################################################################
+# Az LDAP protocol version 3 kötelező,
+# referals=0 nélkül használhatatlanul lassú
+######################################################################
+
+ ldap_set_option(NULL, LDAP_OPT_PROTOCOL_VERSION, 3);
+ ldap_set_option(NULL, LDAP_OPT_REFERRALS, 0);
+
+
+ function ldapngUserAuthentication($userAccount, $userPassword, &$accountInformation, $toPolicy) {
+
+ global $AUTH;
+
+ if ($toPolicy == '') {
+ if ($accountInformation['policy'] != '') $toPolicy = $accountInformation['policy'];
+// elseif ($_REQUEST['toPolicy'] != '') $toPolicy = $_REQUEST['toPolicy'];
+ else $toPolicy = _POLICY;
+ }
+
+ // Kapcsolódás a szerverhez
+ $ds = ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return _AUTH_FAILURE;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds,$AUTH[$toPolicy]['ldapUser'],$AUTH[$toPolicy]['ldapPw']);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure:userAuthentication:'.$AUTH[$toPolicy]['ldapUser'];
+ return _AUTH_FAILURE;
+ }
+
+ // Van-e adott azonosítójú felhasználó?
+ $filter="(&(".$AUTH[$toPolicy]['ldapUserAccountAttr']."=$userAccount)(objectClass=".$AUTH[$toPolicy]['ldapUserObjectClass']."))";
+ $justthese = array("sn",$AUTH[$toPolicy]['ldapCnAttr'],$AUTH[$toPolicy]['ldapStudyIdAttr'],"shadowexpire","shadowwarning","shadowinactive","shadowlastchange","shadowmax");
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure";
+ ldap_close($ds);
+ return _AUTH_FAILURE;
+ }
+ $info = ldap_get_entries($ds,$sr);
+
+ if ( $info['count'] === 0 || is_null($info)) { // http://bugs.php.net/50185 ha nincs megfelelő elem, akkor - hibásan - null-al tér vissza! (~ PHP 5.2.10)
+ // Nincs ilyen userAccount (uid)
+ $_SESSION['alert'][] = "message:no_account:$userAccount";
+ ldap_close($ds);
+ return _AUTH_FAILURE_1;
+ }
+
+ if ( $info['count'] > 1 ) {
+ // Több ilyen uid is van
+ $_SESSION['alert'][] = "message:multi_uid";
+ ldap_close($ds);
+ return _AUTH_FAILURE_2;
+ }
+
+ if ($info['count']==1) { // Van - egy - ilyen felhasználó
+
+
+ $accountInformation['cn'] = $info[0][ $AUTH[$toPolicy]['ldapCnAttr'] ][0];
+ $accountInformation['studyId'] = $info[0][ $AUTH[$toPolicy]['ldapStudyIdAttr'] ][0];
+
+ $accountInformation['dn'] = $info[0]['dn'];
+ $accountInformation['account'] = $userAccount;
+ // Lejárt-e
+ // A lejárat ideje a shadowExpire és shadowLastChange+shadowMax kötül a kisebbik
+ if ($info[0]['pwdlastset'][0] != '') { // A pwdLastSet és shadowLastChange közül a kisebbiket használjuk
+// if ($info[0]['shadowlastchange'][0] != '')
+// $info[0]['shadowlastchange'][0] = min(pwdLastSet2shadowLastChange($info[0]['pwdlastset'][0]), $info[0]['shadowlastchange'][0]);
+// else
+ $info[0]['shadowlastchange'][0] = pwdLastSet2shadowLastChange($info[0]['pwdlastset'][0]);
+ }
+ if ($info[0]['accountexpires'][0] != '') { // Az accountExpires és a shadowExpire közül a kisebbiket használjuk
+// if ($info[0]['shadowexpire'][0] != '')
+// $info[0]['shadowexpire'][0] = min(pwdLastSet2shadowLastChange($info[0]['accountexpires'][0]), $info[0]['shadowexpire'][0]);
+// else
+ $info[0]['shadowexpire'][0] = pwdLastSet2shadowLastChange($info[0]['accountexpires'][0]);
+ }
+ if ($info[0]['shadowexpire'][0] != '') $expireTimestamp = $info[0]['shadowexpire'][0];
+ if (
+ $info[0]['shadowmax'][0] != '' &&
+ (
+ !isset($expireTimestamp) ||
+ $expireTimestamp > $info[0]['shadowlastchange'][0] + $info[0]['shadowmax'][0]
+ )
+ ) $expireTimestamp = $info[0]['shadowlastchange'][0] + $info[0]['shadowmax'][0];
+ // lejárt, ha lejárat ideje már elmúlt
+ $accountExpired = (isset($expireTimestamp) && ($expireTimestamp <= floor(time()/(60*60*24))));
+
+ // Le van-e tiltva
+ // Ha több mint shadowInactive napja lejárt
+ if ( // onDisabled: none | refuse
+ $AUTH[$toPolicy]['onDisabled'] == 'refuse' &&
+ isset($expireTimestamp) &&
+ $expireTimestamp + $info[0]['shadowinactive'][0] <= floor(time()/(60*60*24))
+ ) {
+ // Le van tiltva
+ $_SESSION['alert'][] = 'message:account_disabled';
+ ldap_close($ds);
+ return _AUTH_FAILURE_4;
+ } // onDisabled
+
+ // Jelszó ellenőrzés - lehet-e csatlakozni
+ if (!@ldap_bind($ds, $accountInformation['dn'], $userPassword)) {
+ $_SESSION['alert'][] = 'message:bad_pw';
+ return _AUTH_FAILURE_3;
+ }
+
+ ldap_close($ds);
+ // Lejárt-e az azonosító
+ if ($AUTH[$toPolicy]['onExpired'] != 'none' && isset($expireTimestamp)) { // onExpired: none | warning | force update
+ // Lejárt-e
+ $pwLejar = $expireTimestamp - floor(time()/(60*60*24));
+ if (0 < $pwLejar && $pwLejar < $info[0]['shadowwarning'][0]) {
+ $_SESSION['alert'][] = 'info:account_warning:'.$pwLejar;
+ return _AUTH_SUCCESS;
+ } elseif ($pwLejar <= 0) {
+ $_SESSION['alert'][] = 'info:account_expired:'.abs($pwLejar);
+ if ($AUTH[$toPolicy]['onDisabled'] == 'refuse') $_SESSION['alert'][] = 'info:warn_account_disable:'.($info[0]['shadowinactive'][0]+$pwLejar);
+ if ($AUTH[$toPolicy]['onExpired'] == 'warning') {
+ return _AUTH_SUCCESS;
+ } elseif ($AUTH[$toPolicy]['onExpired'] == 'force update') {
+ return _AUTH_EXPIRED;
+ } else {
+ return _AUTH_FAILURE;
+ }
+ }
+ } // onExpired
+ // Ha idáig eljut, akkor minden rendben.
+ return _AUTH_SUCCESS;
+
+ } // count == 1
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldapng/base/attrs.php b/mayor-orig/mayor-base/www/include/backend/ldapng/base/attrs.php
new file mode 100644
index 00000000..2ea07778
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldapng/base/attrs.php
@@ -0,0 +1,137 @@
+<?php
+/*
+ Module: useradmin
+*/
+
+ if (file_exists('lang/'._LANG.'/backend/ldapng/attrs.php')) {
+ require('lang/'._LANG.'/backend/ldapng/attrs.php');
+ } elseif (file_exists('lang/'._DEFAULT_LANG.'/backend/ldapng/attrs.php')) {
+ require('lang/'._DEFAULT_LANG.'/backend/ldapng/attrs.php');
+ }
+
+######################################################
+# Alapértelmezett jogosultságok
+#
+# w - Írható/olvasható
+# r - olvasható
+# - - egyik sem
+#
+# Három karakter: admin, self, other jogai
+######################################################
+
+ define('_DEFAULT_LDAP_RIGHTS','wr-');
+
+######################################################
+# Az LDAP account attribútumok
+######################################################
+
+ global $ldapngAccountAttrs;
+ $ldapngAccountAttrs = array(
+ 'cn',
+ 'serialnumber',
+ 'uid',
+ 'uidnumber',
+ 'gidnumber',
+ 'unixhomedirectory',
+ 'loginshell',
+
+ 'shadowlastchange',
+ 'shadowexpire',
+ 'shadowwarning',
+ 'shadowmin',
+ 'shadowmax',
+ 'shadowinactive',
+
+/*
+ 'gecos',
+ 'mail',
+ 'telephonenumber',
+ 'mobile',
+ 'l',
+ 'street',
+ 'postaladdress',
+ 'postalcode',
+ 'homedirectory',
+*/
+ );
+
+ global $ldapngGroupAttrs;
+ $ldapngGroupAttrs = array(
+ 'cn',
+ 'description',
+ 'member',
+ 'name',
+ 'samaccountname',
+ 'objectcategory',
+ 'gidnumber', // ennek kellene lennie - mitől lesz?
+/* 'memberuid' */
+ );
+
+ global $accountAttrToLDAP; // Kis és nagybetű számít!!!
+ $accountAttrToLDAP = array(
+ 'userAccount' => 'uid',
+ 'userCn' => 'displayName',
+ 'mail' => 'mail',
+ 'studyId' => 'employeeNumber', // Ez konfig-ban külön van állítva, az itteni érték irreleváns
+ 'shadowLastChange' => 'shadowLastChange',
+ 'shadowWarning' => 'shadowWarning',
+ 'shadowMin' => 'shadowMin',
+ 'shadowMax' => 'shadowMax',
+ 'shadowExpire' => 'shadowExpire',
+ 'shadowInactive' => 'shadowInactive',
+ );
+
+ global $groupAttrToLDAP;
+ $groupAttrToLDAP = array(
+ 'groupCn' => 'cn',
+ 'groupDesc' => 'description',
+ 'member' => 'member',
+ );
+
+ global $ldapngAccountAttrDef;
+ $ldapngAccountAttrDef = array(
+ 'dn' => array('desc' => _LDAPDN, 'type' => 'text', 'rights' => 'rrr'),
+ 'cn' => array('desc' => _LDAPCN, 'type' => 'text', 'rights' => 'rrr'),
+ 'sn' => array('desc' => _LDAPSN, 'type' => 'text', 'rights' => 'wrr'),
+ 'givenname' => array('desc' => _LDAPGIVENNAME, 'type' => 'text'),
+ 'employeenumber' => array('desc' => _LDAPEMPLOYEENUMBER, 'type' => 'int', 'rights' => 'wrr'),
+ 'displayname' => array('desc' => _LDAPCN, 'type' => 'text', 'rights' => 'wrr'),
+ 'name' => array('desc' => _LDAPNAME, 'type' => 'text', 'rights' => 'r--'),
+ 'uid' => array('desc' => _LDAPUID, 'type' => 'text', 'rights' => 'rrr'),
+ 'uidnumber' => array('desc' => _LDAPUIDNUMBER, 'type' => 'int', 'rights' => 'w--'),
+ 'gidnumber' => array('desc' => _LDAPGIDNUMBER, 'type' => 'int', 'rights' => 'w--'),
+ 'mssfu30name' => array('desc' => _LDAPUID, 'type' => 'text', 'rights' => 'r--'),
+ 'unixhomedirectory' => array('desc' => _LDAPUNIXHOMEDIRECTORY, 'type' => 'text', 'rights' => 'wrr'),
+ 'loginshell' => array('desc' => _LDAPLOGINSHELL, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowlastchange' => array('desc' => _LDAPSHADOWLASTCHANGE, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowexpire' => array('desc' => _LDAPSHADOWEXPIRE, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowwarning' => array('desc' => _LDAPSHADOWWARNING, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowmin' => array('desc' => _LDAPSHADOWMIN, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowmax' => array('desc' => _LDAPSHADOWMAX, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowinactive' => array('desc' => _LDAPSHADOWINACTICE, 'type' => 'text', 'rights' => 'wrr'),
+/*
+ 'gecos' => array('desc' => _LDAPGECOS, 'type' => 'text', 'rights' => 'w--'),
+ 'mail' => array('desc' => _LDAPMAIL, 'type' => 'text', 'rights' => 'wwr'),
+ 'telephonenumber' => array('desc' => _LDAPTELEPHONENUMBER, 'type' => 'text', 'rights' => 'ww-'),
+ 'mobile' => array('desc' => _LDAPMOBILE, 'type' => 'text', 'rights' => 'ww-'),
+ 'l' => array('desc' => _LDAPL, 'type' => 'text'),
+ 'street' => array('desc' => _LDAPSTREET, 'type' => 'text'),
+ 'postaladdress' => array('desc' => _LDAPPOSTALADDRESS, 'type' => 'text'),
+ 'postalcode' => array('desc' => _LDAPPOSTALCODE, 'type' => 'text'),
+*/
+ );
+
+ global $ldapngGroupAttrDef;
+ $ldapngGroupAttrDef = array(
+ 'cn' => array('desc' => _LDAPCN, 'type' => 'text','rights' => 'rrr'),
+ 'name' => array('desc' => _LDAPNAME, 'type' => 'text','rights' => 'rrr'),
+ 'samaccountname' => array('desc' => _LDAPSAMACCOUNTNAME, 'type' => 'text','rights' => 'wrr'),
+ 'description' => array('desc' => _LDAPDESCRIPTION, 'type' => 'text'),
+ 'gidnumber' => array('desc' => _LDAPGIDNUMBER, 'type' => 'int','rights' => 'w--'),
+ 'member' => array('desc' => _LDAPMEMBER, 'type' => 'select'),
+ 'objectcategory' => array('desc' => _LDAPOBJECTCATEGORY, 'type' => 'text','rights' => 'rrr'),
+
+ 'memberuid' => array('desc' => _LDAPMEMBERUID, 'type' => 'select'),
+ );
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldapng/password/changePassword.php b/mayor-orig/mayor-base/www/include/backend/ldapng/password/changePassword.php
new file mode 100644
index 00000000..039dda5d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldapng/password/changePassword.php
@@ -0,0 +1,160 @@
+<?php
+/*
+
+ Module: base/password
+
+ function changeMyPassword($userAccount, $userPassword, $newPassword, $verification)
+ A függvény nem vizsgálja, hogy jogosultak vagyunk-e a jelszó megváltoztatására.
+ Ennek eldöntése a függvényt hívó program feladata
+*/
+
+############################################################################
+# Jelszó kódolása (az Active Directory ezt használja....)
+############################################################################
+
+function LDAPEncodePassword($password) {
+
+ return mb_convert_encoding("\"".$password."\"", "UTF-16LE", "UTF-8");
+
+}
+
+############################################################################
+# Saját jelszó megváltoztatása
+############################################################################
+
+/* *************************************************************************
+ A leírások szerint a felhasználó maga is megváltoztathatja jelszavát.
+ Ennek módja az unicodePw attribútum törlése (a régi jelszó értéke szerint),
+ és felvétele új értékkel - mindenz elvileg egy lépésben.
+
+ A PHP ldap_mod* függvények ezt az egy lépésben kétféle módosítást nem
+ támogatják. De a helyzet az, hogy a módosítás perl-ből és parancssorból
+ sem működik...
+************************************************************************* */
+
+function changeMyPassword($userAccount, $userPassword, $newPassword, $toPolicy = '') {
+
+ global $AUTH;
+
+ if ($toPolicy == '') $toPolicy = $_REQUEST['toPolicy'];
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+ $shadowLastChange = floor(time()/(60*60*24));
+
+ // Csatlakozzás az AD kiszolgálóhoz (SSL szükséges!)
+ $ds = ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ // nem sikerült csatlakozni
+ $_SESSION['alert'][] = 'message:ldap_failure';
+ return false;
+ }
+
+ // Az eredeti jelszó ellenőrzése - csatlakozással
+ $b_ok = ldap_bind($ds,$userDn,$userPassword);
+ if (!$b_ok) {
+ // Talán a régi jelszót elgépelte, vagy le van tiltva...
+ $_SESSION['alert'][] = 'message:ldap_bind_failure:'.$userDn.':changeMyPassword - hibás a régi jelszó?';
+ ldap_close($ds);
+ return false;
+ }
+ $salt = generateSalt(8);
+ $info['userPassword'][0] = "{smd5}".base64_encode(md5($newPassword.$salt, true).$salt); // Az LDAP ezt majd még egyszer base64 encod-olja...
+ // Ezekre nincs jogosultsága a felhasználónak, nem változnak:
+ // _SHADOWMIN, _SHADOWMAX, _SHADOWWARNING, _SHADOWINACTIVE
+ $info['shadowlastchange'][0] = $shadowLastChange;
+ if (isset($AUTH[$toPolicy]['shadowExpire']) and $AUTH[$toPolicy]['shadowExpire'] != '') {
+ $info['shadowexpire'][0] = $AUTH[$toPolicy]['shadowExpire'];
+ } elseif (isset($AUTH[$toPolicy]['shadowMax']) and $AUTH[$toPolicy]['shadowMax'] != '') {
+ $info['shadowexpire'][0] = $shadowLastChange + intval($AUTH[$toPolicy]['shadowMax']);
+ }
+
+ $r = ldap_mod_replace($ds,$userDn,$info);
+ ldap_close($ds);
+ if ($r) {
+ $_SESSION['alert'][] = 'info:pw_change_success';
+ return true;
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_modify_failure';
+ return false;
+ }
+}
+
+############################################################################
+# Adminisztrátori jelszó változtatás
+############################################################################
+
+function generateSalt($len=8) {
+// https://github.com/splitbrain/dokuwiki/blob/master/inc/PassHash.class.php
+// Ez adja vissza a salt-ot (ha nincs benne sortörés...):
+// echo e3NtZDV9U3lNbnNGQ05OUHV6L2J4dHovekpzVVpFUVZGQw== | base64 -d | sed s/{smd5}// | base64 -d | cut -f 15-
+ $salt = '';
+ //$chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
+ //for($i=0;$i<$len;$i++) $salt .= $chars[mt_rand(0,61)];
+ $chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
+ for($i=0;$i<$len;$i++) $salt .= $chars[mt_rand(0,25)];
+ return $salt;
+}
+
+function changePassword($userAccount, $newPassword, $toPolicy = '') {
+
+ global $AUTH;
+
+ if ($toPolicy == '') $toPolicy = _POLICY;
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+ $shadowLastChange = floor(time()/(60*60*24));
+
+ $ds = ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if ($ds) {
+ $b_ok = ldap_bind($ds,_USERDN,_USERPASSWORD);
+ if ($b_ok) {
+ $salt = generateSalt(8);
+ $info['userPassword'][0] = "{smd5}".base64_encode(md5($newPassword.$salt, true).$salt); // Az LDAP ezt majd még egyszer base64 encod-olja...
+ // Ezekre nincs jogosultsága a felhasználónak, nem változnak:
+ // _SHADOWMIN, _SHADOWMAX, _SHADOWWARNING, _SHADOWINACTIVE
+ $info['shadowlastchange'][0] = $shadowLastChange;
+ if (isset($AUTH[$toPolicy]['shadowExpire']) and $AUTH[$toPolicy]['shadowExpire'] != '') {
+ $info['shadowexpire'][0] = $AUTH[$toPolicy]['shadowExpire'];
+ } elseif (isset($AUTH[$toPolicy]['shadowMax']) and $AUTH[$toPolicy]['shadowMax'] != '') {
+ $info['shadowexpire'][0] = $shadowLastChange + intval($AUTH[$toPolicy]['shadowMax']);
+ }
+ $r = @ldap_mod_replace($ds,$userDn,$info);
+ ldap_close($ds);
+ if ($r) {
+ $_SESSION['alert'][] = 'info:pw_change_success';
+ return true;
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_modify_failure';
+ return false;
+ }
+
+ /* *************** */
+/* $info['unicodePwd'][0] = LDAPEncodePassword($newPassword);
+ // Ezekre nincs jogosultsága a felhasználónak, nem változnak:
+ // _SHADOWMIN, _SHADOWMAX, _SHADOWWARNING, _SHADOWINACTIVE
+ $info['shadowLastChange'][0] = $shadowLastChange;
+ if (isset($AUTH[$toPolicy]['shadowExpire']) and $AUTH[$toPolicy]['shadowExpire'] != '') {
+ $info['shadowExpire'][0] = $AUTH[$toPolicy]['shadowExpire'];
+ } elseif (isset($AUTH[$toPolicy]['shadowMax']) and $AUTH[$toPolicy]['shadowMax'] != '') {
+ $info['shadowExpire'][0] = $shadowLastChange + intval($AUTH[$toPolicy]['shadowMax']);
+ }
+ $r = @ldap_mod_replace($ds,$userDn,$info);
+ ldap_close($ds);
+ if ($r) {
+ $_SESSION['alert'][] = 'info:pw_change_success';
+ return true;
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_modify_failure:changePassword';
+ return false;
+ }
+*/
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure:'._USERDN.':changePassword';
+ ldap_close($ds);
+ return false;
+ }
+ } else {
+ $_SESSION['alert'][] = 'message:ldap_failure';
+ return false;
+ }
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldapng/session/accountInfo.php b/mayor-orig/mayor-base/www/include/backend/ldapng/session/accountInfo.php
new file mode 100644
index 00000000..03761dca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldapng/session/accountInfo.php
@@ -0,0 +1,399 @@
+<?php
+/*
+ Module: base/auth-ldapng
+ Backend: ldapng
+
+ function getLDAPInfo($userDn, $attrList=array('cn'), $toPolicy = '')
+ function ldapGetAccountInfo($userAccount, $toPolicy = _POLICY)
+ function ldapGetUserInfo($userAccount, $toPolicy = _POLICY)
+ function ldapChangeAccountInfo($userAccount, $toPolicy = _POLICY)
+ function ldapGetGroupInfo($groupCn, $toPolicy = _POLICY)
+
+*/
+
+######################################################
+# getLDAPInfo - általános LDAP lekérdezés
+######################################################
+
+
+ function getLDAPInfo($Dn, $attrList=array('cn'), $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Keresés
+ $filter = '(objectclass=*)';
+ $sr = @ldap_search($ds, $Dn, $filter, $attrList);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$Dn;
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = @ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ return $info;
+
+ }
+
+###########################################################
+# ldapGetAccountInfo - felhasználói információk (backend)
+###########################################################
+
+ function ldapngGetAccountInfo($userAccount, $toPolicy = _POLICY) {
+
+ global $backendAttrs, $backendAttrDef;
+
+ if (!isset($backendAttrs)) list($backendAttrs, $backendAttrDef) = getBackendAttrs('Account', $toPolicy);
+
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+
+ $result = getLDAPInfo($userDn, $backendAttrs, $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ // LDAP schema --> mayor schema konverzió
+ for ($i = 0; $i < $result['count']; $i++) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ foreach ($backendAttrDef as $attr => $def) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ if ($attr == 'dn') $return[$i]['dn'] = array('count' => 1, 0 => $result[$i]['dn']);
+ elseif (isset($result[$i][$attr])) $return[$i][$attr] = $result[$i][$attr];
+ else $return[$i][$attr] = array('count' => 0);
+ }
+ }
+ return $return[0];
+
+ }
+
+ }
+
+#############################################################
+# ldapGetUserInfo - felhasználói információk (keretrendszer)
+#############################################################
+
+ function ldapngGetUserInfo($userAccount, $toPolicy = _POLICY) {
+
+ global $accountAttrToLDAP, $ldapAttrDef;
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+
+ $result = getLDAPInfo($userDn, array_values($accountAttrToLDAP), $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ $result[0]['dn'] = array('count' => 1, 0 => $result[0]['dn']);
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + LDAP --> MaYoR schema
+ foreach ($accountAttrToLDAP as $attr => $ldapAttr) {
+ $ldapAttr = kisbetus($ldapAttr);
+ if (isset($result[0][$ldapAttr])) $return[$attr] = $result[0][$ldapAttr];
+ else $return[$attr] = array('count' => 0);
+ }
+ return $return;
+
+ }
+
+ }
+
+###############################################################
+# ldapChangeAccountInfo - felhasználói információk módosítása
+###############################################################
+
+ function ldapngChangeAccountInfo($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH, $backendAttrs, $backendAttrDef;
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $emptyAttrs = explode(':',$_POST['emptyAttrs']);
+ $_alert = array();
+
+ // Attribútumonként módosítunk
+ foreach ($backendAttrs as $attr) {
+
+ if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_LDAP_RIGHTS;
+ else $rights = $backendAttrDef[$attr]['rights'];
+
+ if ($rights[_ACCESS_AS] == 'w') {
+ $mod_info = $add_info = $del_info = Array();
+ $values = array();
+
+ if ($backendAttrDef[$attr]['type'] == 'image') {
+ $file = $_FILES[$attr]['tmp_name'];
+ if (file_exists($file)) {
+ $fd = fopen($file,'r');
+ $values[0]=fread($fd,filesize($file));
+ fclose($fd);
+ } else {
+ // Sose töröljük!
+ $emptyAttrs[] = $attr;
+ }
+ } elseif ($backendAttrDef[$attr]['type'] == 'timestamp') {
+ if ($_POST[$attr][0] != '' and $_POST[$attr][1] != '' and $_POST[$attr][2] != '') {
+ $values[0] = $_POST[$attr][0].$_POST[$attr][1].$_POST[$attr][2].'010101Z';
+ }
+ } else {
+ if ($backendAttrDef[$attr]['type'] != '' ) $values[0] = $_POST[$attr];
+ }
+
+ if ($backendAttrDef[$attr]['type'] == 'select') {
+ if ($_POST['new-'.$attr][0] != '') $add_info[$attr] = $_POST['new-'.$attr];
+ if ($_POST['del-'.$attr][0] != '') $del_info[$attr] = $_POST['del-'.$attr];
+ } elseif (in_array($attr,$emptyAttrs)) {
+ if ($values[0] != '') $add_info[$attr] = $values;
+ } else {
+ if ($values[0] != '') {
+ $mod_info[$attr] = $values;
+ } else {
+ $del_info[$attr] = Array();
+ }
+ }
+
+ if (count($add_info)!=0) {
+ if (!@ldap_mod_add($ds,$userDn,$add_info)) {
+ $_alert[] = 'message:insufficient_access:add:'.$attr;
+ }
+ }
+ if (count($mod_info)!=0) {
+ if (!@$r = ldap_mod_replace($ds,$userDn,$mod_info)) {
+ $_alert[] = 'message:insufficient_access:mod:'.$attr;
+ }
+ }
+ if (count($del_info)!=0) {
+ if (!@ldap_mod_del($ds,$userDn,$del_info)) {
+ $_alert[] = 'message:insufficient_access:del:'.$attr;
+ }
+ }
+
+ } else {
+// $_alert[] = 'message:insufficient_access:'.$attr;
+ }
+ } // foreach
+
+ ldap_close($ds);
+ if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success';
+ else for ($i = 0;$i < count($_alert);$i++) $_SESSION['alert'][] = $_alert[$i];
+
+ }
+
+###########################################################
+# ldapGetGroupInfo - csoport információk (backend)
+###########################################################
+
+ function ldapngGetGroupInfo($groupCn, $toPolicy = _POLICY) {
+
+ global $backendAttrs, $backendAttrDef;
+
+
+ if (!isset($backendAttrs)) list($backendAttrs, $backendAttrDef) = getBackendAttrs('Group', $toPolicy);
+
+ $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy);
+
+ $result = getLDAPInfo($groupDn, $backendAttrs, $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ // Accountok lekérdezése
+ $info = getLDAPaccounts($toPolicy);
+ for ($i = 0; $i < $info['count']; $i++) {
+ $accountUid[] = array(
+ 'value' => $info[$i]['uid'][0],
+ 'txt' => $info[$i]['displayname'][0]
+ );
+ $accountDn[] = array(
+ 'value' => $info[$i]['dn'],
+ 'txt' => $info[$i]['displayname'][0]
+ );
+ }
+
+ // LDAP schema --> mayor schema konverzió
+ for ($i = 0; $i < $result['count']; $i++) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ foreach ($backendAttrDef as $attr => $def) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ if ($attr == 'dn') $return[$i]['dn'] = array('count' => 1, 0 => $result[$i]['dn']);
+ elseif (isset($result[$i][$attr])) $return[$i][$attr] = $result[$i][$attr];
+ else $return[$i][$attr] = array('count' => 0);
+ }
+ $return[$i]['member']['new'] = $accountDn;
+ $return[$i]['memberuid']['new'] = $accountUid;
+ }
+
+ return $return[0];
+
+ }
+
+ }
+
+###############################################################
+# ldapChangeGroupInfo - csoport információk módosítása
+###############################################################
+
+ function ldapngChangeGroupInfo($groupCn, $toPolicy = _POLICY) {
+
+// !!!! A memberuid / member szinkronjára nem figyel!!
+
+ global $AUTH, $backendAttrs, $backendAttrDef;
+ $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy);
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $emptyAttrs = explode(':',$_POST['emptyAttrs']);
+ $_alert = array();
+
+ // Attribútumonként módosítunk
+ foreach ($backendAttrs as $attr) {
+
+ if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_LDAP_RIGHTS;
+ else $rights = $backendAttrDef[$attr]['rights'];
+
+ if ($rights[_ACCESS_AS] == 'w') {
+
+ $mod_info = $add_info = $del_info = Array();
+ $values = array();
+
+ if ($backendAttrDef[$attr]['type'] == 'image') {
+ $file = $_FILES[$attr]['tmp_name'];
+ if (file_exists($file)) {
+ $fd = fopen($file,'r');
+ $values[0]=fread($fd,filesize($file));
+ fclose($fd);
+ } else {
+ // Sose töröljük!
+ $emptyAttrs[] = $attr;
+ }
+ } elseif ($backendAttrDef[$attr]['type'] == 'timestamp') {
+ if ($_POST[$attr][0] != '' and $_POST[$attr][1] != '' and $_POST[$attr][2] != '') {
+ $values[0] = $_POST[$attr][0].$_POST[$attr][1].$_POST[$attr][2].'010101Z';
+ }
+ } else {
+ if ($backendAttrDef[$attr]['type'] != '')
+ if (isset($_POST[$attr])) $values[0] = $_POST[$attr];
+ else $values[0] = '';
+ }
+
+ if ($backendAttrDef[$attr]['type'] == 'select') {
+ if (isset($_POST['new-'.$attr][0]) && $_POST['new-'.$attr][0] != '') $add_info[$attr] = $_POST['new-'.$attr];
+ if (isset($_POST['del-'.$attr][0]) && $_POST['del-'.$attr][0] != '') $del_info[$attr] = $_POST['del-'.$attr];
+ } elseif (in_array($attr,$emptyAttrs)) {
+ if ($values[0] != '') $add_info[$attr] = $values;
+ } else {
+ if ($values[0] != '') {
+ $mod_info[$attr] = $values;
+ } else {
+ $del_info[$attr] = Array();
+ }
+
+ }
+
+ if (count($add_info)!=0) {
+ if (!@ldap_mod_add($ds,$groupDn,$add_info)) {
+ $_alert[] = 'message:insufficient_access:add:'.$attr;
+ }
+ }
+ if (count($mod_info)!=0) {
+ if (!@ldap_mod_replace($ds,$groupDn,$mod_info)) {
+ $_alert[] = 'message:insufficient_access:mod:'.$attr;
+ }
+ }
+ if (count($del_info)!=0) {
+ if (!@ldap_mod_del($ds,$groupDn,$del_info)) {
+ $_alert[] = 'message:insufficient_access:del:'.$attr;
+ }
+ }
+
+ } else {
+// $_alert[] = 'message:insufficient_access:'.$attr;
+ }
+ } // foreach
+
+ ldap_close($ds);
+ if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success';
+ else for ($i=0;$i<count($_alert);$i++) $_SESSION['alert'][] = $_alert[$i];
+
+ }
+
+ function getLDAPaccounts($toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Keresés
+ $attrList = array('cn','uid','displayName','samaccountname');
+ $filter = '(&(objectclass=person)(!(objectclass=computer)))';
+ $sr = @ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $attrList);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$userDn;
+ ldap_close($ds);
+ return false;
+ }
+
+ ldap_sort($ds, $sr, 'displayname');
+ $info = @ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ return $info;
+
+ }
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldapng/session/base.php b/mayor-orig/mayor-base/www/include/backend/ldapng/session/base.php
new file mode 100644
index 00000000..a4eff43d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldapng/session/base.php
@@ -0,0 +1,190 @@
+<?php
+/*
+ Module: base/session
+ Backend: ldapng
+
+ function LDAPuserAccountToDn($userAccount = _USERACCOUNT, $toPolicy = _POLICY)
+ function ldapMemberOf($userAccount, $group, $toPolicy = _POLICY)
+
+*/
+
+ require('include/backend/ldapng/base/attrs.php');
+
+ ldap_set_option(NULL, LDAP_OPT_PROTOCOL_VERSION, 3);
+ ldap_set_option(NULL, LDAP_OPT_REFERRALS, 0);
+
+ if ($AUTH[_POLICY]['backend'] == 'ldapng') {
+ /* why not put into session cache */
+ if ($AUTH[_POLICY]['cacheable']=='yes') {
+ $userDn = _queryCache('RDN',_POLICY,'value');
+ }
+ if (!isset($userDn)) $userDn = LDAPuserAccountToDn();
+ define('_USERDN', $userDn);
+ if ($AUTH[_POLICY]['cacheable']=='yes') _registerToCache('RDN',$userDn,_POLICY);
+ unset($userDn);
+ }
+
+######################################################
+# A _USERACCOUNT(uid)-hoz tartozó dn lekérdezése
+######################################################
+
+ function LDAPuserAccountToDn($userAccount = _USERACCOUNT, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // Kapcsolódás a szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds,$AUTH[$toPolicy]['ldapUser'],$AUTH[$toPolicy]['ldapPw']);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ return false;
+ }
+
+ // Van-e adott azonosítójú felhasználó?
+ $filter="(&(".$AUTH[$toPolicy]['ldapUserAccountAttr']."=$userAccount)(objectClass=".$AUTH[$toPolicy]['ldapUserObjectClass']."))";
+ $justthese=array($AUTH[$toPolicy]['ldapCnAttr']);
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure";
+ ldap_close($ds);
+ return false;
+ }
+ $info=ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ if ( $info['count'] === 0 ) {
+ // Nincs ilyen userAccount (uid)
+ $_SESSION['alert'][] = "message:no_account:$userAccount";
+ return false;
+ } elseif ( $info['count'] > 1 ) {
+ // Több ilyen uid is van
+ $_SESSION['alert'][] = "message:multi_uid:$userAccount";
+ return false;
+ }
+
+ if ($info['count']==1) { // Van - egy - ilyen felhasználó
+ return $info[0]['dn'];
+ }
+
+ }
+
+
+######################################################
+# A groupCn(cn)-hez tartozó dn lekérdezése
+######################################################
+
+ function LDAPgroupCnToDn($groupCn, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // Nézzük, hogy van-e át"map"-elt csoport!
+ if (isset($AUTH[$toPolicy]['categoryMap'][ekezettelen($groupCn)])) {
+ return $AUTH[$toPolicy]['categoryMap'][ekezettelen($groupCn)];
+ }
+
+ // Kapcsolódás a szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds,$AUTH[$toPolicy]['ldapUser'],$AUTH[$toPolicy]['ldapPw']);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ return false;
+ }
+
+ // Van-e ilyen csoport?
+ $filter="(&(".$AUTH[$toPolicy]['ldapGroupCnAttr']."=$groupCn)(objectClass=".$AUTH[$toPolicy]['ldapGroupObjectClass']."))";
+ $justthese=array($AUTH[$toPolicy]['ldapGroupCnAttr']);
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure";
+ ldap_close($ds);
+ return false;
+ }
+ $info=ldap_get_entries($ds,$sr);
+ ldap_close($ds);
+
+ if ( $info['count'] === 0 ) {
+ // Nincs ilyen groupCn (cn) - hibaüzenet csak akkor, ha nem kategóriáról van szó...
+ if (!in_array($groupCn, array_map('ekezettelen', $AUTH[$toPolicy]['categories']))) $_SESSION['alert'][] = "message:no_group:$groupCn";
+ return false;
+ } elseif ( $info['count'] > 1 ) {
+ // Több ilyen cn is van
+ $_SESSION['alert'][] = "message:multi_gid:$groupCn";
+ return false;
+ }
+
+ if ($info['count']==1) { // Van - egy - ilyen csoport
+ return $info[0]['dn'];
+ }
+
+ }
+
+######################################################
+# memberOf - csoport tag-e
+######################################################
+
+ function ldapngMemberOf($userAccount, $group, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+ /* Kis hack: csoport-tagság helyett vizsgáljuk előbb a megfelelő szervezeti egységet... de ezt nem biztos, hogy érdemes... */
+ if (in_array($group, $AUTH[$toPolicy]['categories'])) {
+ if (strpos($userDn, ',ou='.ekezettelen($group).',') !== false) return true;
+ }
+
+ if (substr($group,0,3) != 'cn=') {
+ $groupDn = LDAPgroupCnToDn(ekezettelen($group));
+ if (!$groupDn) return false; // Ha nincs ilyen csoport az LDAP fában
+ } else {
+ $groupDn = $group;
+ }
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds,$AUTH[$toPolicy]['ldapUser'],$AUTH[$toPolicy]['ldapPw']);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $justthese = array('cn'); // valamit le kell kérdezni...
+ // OpenLDAP a tagok azonosítóját tárolja el (memberUid), más rendszerek a dn-t (member)
+ $filter = "(&(objectClass=".$AUTH[$toPolicy]['ldapGroupObjectClass'].")(|(member=$userDn)(memberUid=$userAccount)))";
+ $sr = @ldap_search($ds, $groupDn, $filter, $justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:group=$group; filter=".$filter;
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = ldap_get_entries($ds, $sr);
+ ldap_close($ds);
+
+ if ($info['count'] > 0) {
+ return true;
+ } else {
+ return false;
+ }
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldapng/session/createAccount.php b/mayor-orig/mayor-base/www/include/backend/ldapng/session/createAccount.php
new file mode 100644
index 00000000..96a5b557
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldapng/session/createAccount.php
@@ -0,0 +1,157 @@
+<?php
+/*
+ Modules: base/session
+*/
+
+ require_once('include/backend/ldapng/password/changePassword.php');
+
+ /*
+ $SET = array(
+ container => a konténer elem - ha nincs, akkor CN=Users alá rakja
+ category => tanár, diák... egy kiemelt fontosságú csoport tagság
+ groups => egyéb csoportok
+ policyAttrs => policy függő attribútumok
+ )
+ */
+ function ldapngCreateAccount(
+ $userCn, $userAccount, $userPassword, $toPolicy, $SET
+ ) {
+
+ global $AUTH;
+
+ $shadowLastChange = floor(time() / (60*60*24));
+
+ // $toPolicy --> ldap backend - ellenőrzés!
+ if ($AUTH[$toPolicy]['backend'] != 'ldapng') {
+ $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = $ginfo = Array();
+
+ // uid ütközés ellenőrzése
+ $filter = "(sAMAccountName=$userAccount)";
+ $justthese = array('sAMAccountName');
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese);
+ $uinfo = ldap_get_entries($ds, $sr);
+ $uidCount = $uinfo['count'];
+ ldap_free_result($sr);
+ if ($uidCount > 0) {
+ $_SESSION['alert'][] = 'message:multi_uid:'.$userAccount;
+ return false;
+ }
+
+ // Az következő uidNumber megállapítása
+ $filter = "(&(objectclass=".$AUTH[$toPolicy]['ldapUserObjectClass'].")(uidNumber=*))";
+ $justthese = array('uidNumber', 'msSFU30UidNumber');
+ $sr = ldap_search($ds,$AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese);
+ ldap_sort($ds, $sr, 'uidNumber');
+ $uinfo = ldap_get_entries($ds, $sr);
+ ldap_free_result($sr);
+ if (isset($uinfo['count']) && $uinfo['count'] > 0) $info['uidNumber'] = array($uinfo[ $uinfo['count']-1 ]['uidnumber'][0]+1);
+ else $info['uidNumber'] = array(1001);
+
+ // shadow attributumok...
+ // A shadowLastChange a mai nap // if (isset($AUTH[$toPolicy]['shadowlastchange']) && $AUTH[$toPolicy]['shadowlastchange'] != '')
+ $info['shadowLastChange'] = array($shadowLastChange);
+ if (isset($AUTH[$toPolicy]['shadowMin']) && $AUTH[$toPolicy]['shadowMin'] != '') $info['shadowMin'] = array($AUTH[$toPolicy]['shadowMin']);
+ if (isset($AUTH[$toPolicy]['shadowMax']) && $AUTH[$toPolicy]['shadowMax'] != '') $info['shadowMax'] = array($AUTH[$toPolicy]['shadowMax']);
+ if (isset($AUTH[$toPolicy]['shadowWarning']) && $AUTH[$toPolicy]['shadowWarning'] != '') $info['shadowWarning'] = array($AUTH[$toPolicy]['shadowWarning']);
+ if (isset($AUTH[$toPolicy]['shadowInactive']) && $AUTH[$toPolicy]['shadowInactive'] != '') $info['shadowInactive'] = array($AUTH[$toPolicy]['shadowInactive']);
+ if (isset($AUTH[$toPolicy]['shadowExpire']) && $AUTH[$toPolicy]['shadowWxpire'] != '') $info['shadowExpire'] = array($AUTH[$toPolicy]['shadowExpire']);
+
+ // A szokásos attribútumok
+ $Name = explode(' ',$userCn);
+ $Dn = ldap_explode_dn($AUTH[$toPolicy]['ldapBaseDn'], 1); unset($Dn['count']);
+ $info['userPrincipalName'] = array( $userAccount.'@'.implode('.', $Dn));
+ $info['msSFU30Name'] = $info['sAMAccountName'] = $info['cn'] = array($userAccount);
+ $info['displayName'] = array($userCn);
+ $info['sn'] = array($Name[0]);
+ $info['givenName'] = array($Name[ count($Name)-1 ]);
+ $info['unixUserPassword'] = array('ABCD!efgh12345$67890');
+ $info['unixHomeDirectory'] = array(ekezettelen("/home/$userAccount"));
+ $info['loginShell'] = array('/bin/bash');
+ $info['objectClass'] = array($AUTH[$toPolicy]['ldapUserObjectClass'], 'user');
+
+ $policyAccountAttrs = $SET['policyAttrs'];
+ if (isset($policyAccountAttrs['studyId'])) $info[ $AUTH[$toPolicy]['ldapStudyIdAttr'] ] = array($policyAccountAttrs['studyId']);
+ foreach ($policyAccountAttrs as $attr => $value)
+ if ($attr != 'studyId' && isset($accountAttrToLDAP[$attr]))
+ $info[ $accountAttrToLDAP[$attr] ] = array($value);
+
+ if (isset($SET['container'])) $dn = "CN=$userAccount,".$SET['container'];
+ else $dn = "CN=$userAccount,CN=Users,".$AUTH[$toPolicy]['ldapBaseDn'];
+
+ // user felvétel
+ $_r1 = @ldap_add($ds,$dn,$info);
+ if (!$_r1) {
+ $_SESSION['alert'][] = 'message:ldap_error:Add user:'.ldap_error($ds);
+ //echo $dn.'<pre>'; var_dump($info); echo '</pre>';
+ return false;
+ }
+
+ // Jelszó beállítás
+ if (!changePassword($userAccount, $userPassword, $toPolicy)) $_SESSION['alert'][] = 'message:ldap_error:changePassword failed:'.$userAccount;
+
+ // Engedélyezés
+ $einfo = array('userAccountControl' => array(512)); /* Normal account = 512 */
+ $_r1 = @ldap_mod_replace($ds,$dn,$einfo);
+ if (!$_r1) {
+ $_SESSION['alert'][] = 'message:ldap_error:Enable user:'.ldap_error($ds);
+ //echo $dn.'<pre>'; var_dump($info); echo '</pre>';
+ return false;
+ }
+
+ // Kategória csoportba és egyéb csoportokba rakás
+ if (isset($SET['category'])) {
+ if (is_array($SET['groups'])) array_unshift($SET['groups'], $SET['category']);
+ else $SET['groups'] = array($SET['category']);
+
+ $ginfo['member'] = $dn;
+
+ for ($i = 0; $i < count($SET['groups']); $i++) {
+ $groupDn = LDAPgroupCnToDn($SET['groups'][$i], $toPolicy);
+ if ($groupDn !== false) {
+ $_r3 = @ldap_mod_add($ds, $groupDn, $ginfo);
+ if (!$_r3) {
+ $_SESSION['alert'][] = 'message:ldap_error:Add to group '.$SET['groups'][$i].':'.ldap_error($ds);
+ //echo $SET['groups'][$i].'<pre>'; var_dump($ginfo); echo '</pre>';
+ }
+ }
+ }
+ }
+
+ ldap_close($ds);
+
+ if (defined('_DATADIR')
+ && isset($AUTH[$toPolicy]['createAccountScript'])
+ && file_exists(_DATADIR)
+ ) {
+ $sfp = fopen(_DATADIR.'/'.$AUTH[$toPolicy]['createAccountScript'],'a+');
+ if ($sfp) {
+ fwrite($sfp,"\n# $userAccount létrehozása: userAccount uidNumber homeDirectory\n");
+ fwrite($sfp,"createAccount.sh '$userAccount' '".$info['uidNumber'][0]."' '".$info['unixHomeDirectory'][0]."'\n");
+ fclose($sfp);
+ }
+ }
+ $_SESSION['alert'][] = 'info:create_uid_success:'.$dn;
+ return true;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldapng/session/createGroup.php b/mayor-orig/mayor-base/www/include/backend/ldapng/session/createGroup.php
new file mode 100644
index 00000000..78def54d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldapng/session/createGroup.php
@@ -0,0 +1,82 @@
+<?php
+/*
+ Modules: base/session
+*/
+
+
+ function ldapngCreateGroup($groupCn, $groupDesc, $toPolicy = _POLICY, $SET = array()) {
+
+ global $AUTH;
+ $category = ekezettelen($SET['category']);
+
+ // $toPolicy --> ldap backend - ellenőrzés!
+ if ($AUTH[$toPolicy]['backend'] != 'ldapng') {
+ $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = $ginfo = Array();
+
+ // cn ütközés ellenőrzése
+ $filter = "(&(objectclass=".$AUTH[$toPolicy]['ldapGroupObjectClass'].")(cn=$groupCn))";
+ $justthese = array('cn');
+ $sr = ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese);
+ $ginfo = ldap_get_entries($ds, $sr);
+ $gCount = $ginfo['count'];
+ ldap_free_result($sr);
+ if ($gCount > 0) {
+ $_SESSION['alert'][] = 'message:multi_uid:'.$groupCn;
+ return false;
+ }
+
+ // Az következő gidNumber megállapítása
+ $filter = "(&(objectclass=".$AUTH[$toPolicy]['ldapGroupObjectClass'].")(gidNumber=*))";
+ $justthese = array('gidNumber', 'msSFU30GidNumber');
+ $sr = ldap_search($ds,$AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese);
+ ldap_sort($ds, $sr, 'gidNumber');
+ $ginfo = ldap_get_entries($ds, $sr);
+ ldap_free_result($sr);
+ if (isset($ginfo['count']) && $ginfo['count'] > 0) $info['gidNumber'] = array($ginfo[ $ginfo['count']-1 ]['gidnumber'][0]+1);
+ else $info['gidNumber'] = array(1001);
+
+ // A szokásos attribútumok
+ $info['sAMAccountName'] = $info['cn'] = array($groupCn);
+ $info['description'] = array($groupDesc);
+
+ // A kategória függő attribútumok
+ if (isset($SET['container'])) $dn = "CN=$groupCn,".$SET['container'];
+ else $dn = "CN=$groupCn,OU=$category,".$AUTH[$toPolicy]['ldapBaseDn'];
+
+ // objectum osztályok
+ $info['objectClass'] = array($AUTH[$toPolicy]['ldapGroupObjectClass']);
+
+ // csoport felvétel
+ $_r1 = ldap_add($ds,$dn,$info);
+ if (!$_r1) {
+ printf("LDAP-Error: %s<br>\n", ldap_error($ds));
+ var_dump($info);
+ }
+
+ ldap_close($ds);
+
+ $_SESSION['alert'][] = 'info:create_group_success:'.$dn;
+ return true;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/ldapng/session/search/searchAccount.php b/mayor-orig/mayor-base/www/include/backend/ldapng/session/search/searchAccount.php
new file mode 100644
index 00000000..74d285e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/ldapng/session/search/searchAccount.php
@@ -0,0 +1,271 @@
+<?php
+/*
+ Module: base/session
+ Backend: ldapng
+
+ ! -- Csak publikus mezőkre lehet keresni! -- !
+ function LDAPSearch($attr, $pattern, $searchAttrs=array('cn'), $filter='(objectclass=*)')
+ function ldapSearchAccount($attr, $pattern, $searchAttrs = array('userCn'))
+ function ldapSearchGroup($attr, $pattern, $searchAttrs = array('groupCn, groupDesc'), $toPolicy = '') {
+
+*/
+
+######################################################
+# Általános LDAP kereső függvény
+######################################################
+
+ function LDAPSearch($attr, $pattern, $searchAttrs=array('cn'), $filter='(objectclass=*)', $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ if ($pattern == '') {
+ $_SESSION['alert'][] = 'message:empty_field';
+ return false;
+ }
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure:LDAPSearch';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Keresés
+ $filter = "(&$filter($attr=*$pattern*))";
+ $sr = @ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $searchAttrs);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$filter;
+ ldap_close($ds);
+ return false;
+ }
+
+ $info = @ldap_get_entries($ds,$sr);
+
+ ldap_close($ds);
+
+ return $info;
+
+ }
+
+######################################################
+# ldapSearchAccount - felhasználó kereső függvény
+######################################################
+
+ function ldapngSearchAccount($attr, $pattern, $searchAttrs = array('userCn'), $toPolicy = _POLICY) {
+
+ global $accountAttrToLDAP, $AUTH;
+
+ // A keresendő attribútum konvertálása LDAP attribútummá
+ if ($accountAttrToLDAP[ $attr ] != '') $attrLDAP = $accountAttrToLDAP[ $attr ];
+ else $attrLDAP = $attr;
+ if ($attrLDAP == 'dn') $attrLDAP = 'uid'; // dn-re nem megy a keresés!!
+
+ // A lekérendő attribútumok konvertálása LDAP attribútummá
+ for ($i = 0; $i < count($searchAttrs); $i++) {
+ if ($accountAttrToLDAP[ $searchAttrs[$i] ] != '') $searchAttrsLDAP[$i] = $accountAttrToLDAP[ $searchAttrs[$i] ];
+ else $searchAttrsLDAP[$i] = $searchAttrs[$i];
+ }
+ $result = LDAPSearch($attrLDAP, $pattern, $searchAttrsLDAP, '(objectclass='.$AUTH[$toPolicy]['ldapUserObjectClass'].')', $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ // LDAP schema --> mayor schema konverzió
+ for ($i = 0; $i < $result['count']; $i++) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ $result[$i]['dn'] = $return[$i]['userAccount'] = array('count' => 1, 0 => $result[$i]['dn']);
+ for ($j = 0; $j < count($searchAttrs); $j++) {
+ $a = $searchAttrs[$j];
+ if (isset($result[$i][ kisbetus($accountAttrToLDAP[$a]) ])) {
+ if ($accountAttrToLDAP[$a] != '') $return[$i][$a] = $result[$i][ kisbetus($accountAttrToLDAP[$a]) ];
+ else $return[$i][$a] = $result[$i][$a];
+ } else {
+ $return[$i][$a] = array('count' => 0) ;
+ }
+ }
+ $return[$i]['category'] = getAccountCategories($return[$i]['userAccount'][0], $toPolicy);
+ $return[$i]['category']['count'] = count($return[$i]['category']);
+ }
+ $return['count'] = $result['count'];
+
+ return $return;
+
+ }
+
+ }
+
+######################################################
+# ldapSearchGroup - csoport kereső függvény
+######################################################
+
+ function ldapngSearchGroup($attr, $pattern, $searchAttrs = array('groupCn, groupDesc'), $toPolicy = _POLICY) {
+
+ global $groupAttrToLDAP, $AUTH;
+
+ // A keresendő attribútum konvertálása LDAP attribútummá
+ if ($groupAttrToLDAP[ $attr ] != '') $attrLDAP = $groupAttrToLDAP[ $attr ];
+ else $attrLDAP = $attr;
+ if ($attrLDAP == 'dn') $attrLDAP = 'cn'; // dn-re nem megy a keresés!!
+
+ // A lekérendő adtibútumok konvertálása LDAP attribútummá
+ for ($i = 0; $i < count($searchAttrs); $i++) {
+ if ($groupAttrToLDAP[ $searchAttrs[$i] ] != '') $searchAttrsLDAP[$i] = $groupAttrToLDAP[ $searchAttrs[$i] ];
+ else $searchAttrsLDAP[$i] = $searchAttrs[$i];
+ }
+
+ $result = LDAPSearch($attrLDAP, $pattern, $searchAttrsLDAP, '(objectclass='.$AUTH[$toPolicy]['ldapGroupObjectClass'].')', $toPolicy);
+ if ($result === false) {
+ return false;
+ } else {
+
+ // LDAP schema --> mayor schema konverzió
+ for ($i = 0; $i < $result['count']; $i++) {
+ // Egységes szerkezetre alakítjuk, azaz a dn is indexelt
+ $result[$i]['dn'] = $return[$i]['groupCn'] = array('count' => 1, 0 => $result[$i]['dn']);
+ for ($j = 0; $j < count($searchAttrs); $j++) {
+ $a = $searchAttrs[$j];
+ if (!isset($groupAttrToLDAP[$a]) || $groupAttrToLDAP[$a] != '') {
+ if (isset($result[$i][ $groupAttrToLDAP[$a] ])) $return[$i][$a] = $result[$i][ $groupAttrToLDAP[$a] ];
+ else $return[$i][$a] = '';
+ } else {
+ $return[$i][$a] = $result[$i][$a];
+ }
+ }
+ }
+ $return['count'] = $result['count'];
+
+ return $return;
+
+ }
+
+ }
+
+######################################################
+# ldapDeleteAccount - account törlése
+######################################################
+
+ function ldapngDeleteAccount($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // $toPolicy --> ldapng backend - ellenőrzés
+ if ($AUTH[$toPolicy]['backend'] != 'ldapng') {
+ $_SESSION['alert'][] = 'page:wrong_backend:ldapng!='.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ $userDn = LDAPuserAccountToDn($userAccount, $toPolicy);
+ if ($userDn === false) return false;
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ // Az uidNumber, a unixHomeDirectory lekerdezése
+ $filter = "(&(objectclass=".$AUTH[$toPolicy]['ldapUserObjectClass'].")(!(objectclass=computer)))";
+ $justthese = array('uidNumber','unixHomedirectory');
+ $sr = @ldap_search($ds,$userDn,$filter,$justthese);
+ if (!$sr) {
+ $_SESSION['alert'][] = "message:ldap_search_failure:".$userDn;
+ ldap_close($ds);
+ return false;
+ } ;
+
+ $info = @ldap_get_entries($ds,$sr);
+ $uidNumber = $info[0]['uidnumber'][0];
+ $homeDirectory = $info[0]['unixhomedirectory'][0];
+ $uid=$userAccount;
+
+ // user törlése
+ if (!@ldap_delete($ds,$userDn)) {
+ $_SESSION['alert'][] = 'message:ldap_delete_failure:user:'.$userAccount;
+ }
+
+ ldap_close($ds);
+
+ /*
+ Ha van megadva deleteAccountScript paraméter, akkor abba bejegyzi a törölt felhasználó adatait.
+ A meghívott deleteAccount.sh nincs definiálva, testreszabható, megkötés egyedül a paraméter
+ lista: userAccount, uidNumber, homeDirectory
+ */
+ if (defined('_DATADIR')
+ && isset($AUTH[$toPolicy]['deleteAccountScript'])
+ && file_exists(_DATADIR)
+ ) {
+ $sfp = fopen(_DATADIR.'/'.$AUTH[$toPolicy]['deleteAccountScript'],'a+');
+ if ($sfp) {
+ fwrite($sfp,"\n# $userAccount törlése: userAccount uidNumber homeDirectory\n");
+ fwrite($sfp,"deleteAccount.sh '$userAccount' '$uidNumber' '$homeDirectory'\n");
+ fclose($sfp);
+ }
+ }
+
+ $_SESSION['alert'][] = 'info:delete_uid_success:'.$userDn;
+ return true;
+
+ }
+
+######################################################
+# ldapDeleteGroup - account törlése
+######################################################
+
+ function ldapngDeleteGroup($groupCn, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // $toPolicy --> ldapng backend - ellenőrzés
+ if ($AUTH[$toPolicy]['backend'] != 'ldapng') {
+ $_SESSION['alert'][] = 'page:wrong_backend:ldapng!='.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy);
+ if ($groupDn === false) return false;
+
+ // Kapcsolódás az LDAP szerverhez
+ $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']);
+ if (!$ds) {
+ $_SESSION['alert'][] = 'alert:ldap_connect_failure';
+ return false;
+ }
+
+ // Csatlakozás a szerverhez
+ $r = @ldap_bind($ds, _USERDN, _USERPASSWORD);
+ if (!$r) {
+ $_SESSION['alert'][] = 'message:ldap_bind_failure';
+ ldap_close($ds);
+ return false;
+ }
+
+ if (!@ldap_delete($ds, $groupDn)) {
+ $_SESSION['alert'][] = 'message:ldap_delete_failure:group:'.$groupCn;
+ }
+
+ ldap_close($ds);
+
+ $_SESSION['alert'][] = 'info:delete_group_success:'.$groupCn;
+ return true;
+
+ }
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/mysql/auth/login.php b/mayor-orig/mayor-base/www/include/backend/mysql/auth/login.php
new file mode 100644
index 00000000..caa7929d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/mysql/auth/login.php
@@ -0,0 +1,144 @@
+<?php
+/*
+ Auth-MySQL
+
+ A név-jelszó pár ellenőrzése MySQL adattábla alapján
+ */
+
+/* --------------------------------------------------------------
+
+Az adattábla szerkezete:
+
+create table userAccounts (
+userId int unsigned primary key auto_increment not null,
+userAccount varchar(32),
+policy varchar(10),
+userPassword varchar(32),
+userCn varchar(64)
+);
+
+A függvény az előre definiált _AUTH_SUCCESS, _AUTH_EXPIRED, _AUTH_FAILURE
+konstansok valamelyikével tér vissza.
+
+Sikeres hitelesítés esetén
+az egyéb account információkat (minimálisan a 'cn', azaz 'teljes név
+attribútumot) a cím szerint átadott $accountInformation tömbbe helyezi el.
+
+Sikertelen azonosítás esetén a globális $_SESSION['alert'] változóban jelzi az
+elutasítás okát.
+
+Shadow attribútumok:
+
+Login name
+Encrypted password
+shadowLastChanged
+1970. január 1-étől az utolsó jelszó módosításig eltelt napok száma
+Days since Jan 1, 1970 that password was last changed
+shadowMin
+Jelszóváltoztatás után ennyi napig nem lehet ismét jelszót változtatni
+Days before password may be changed
+shadowMax
+Jelszóváltoztatás után ennyi nappal már kötelező a jelszóváltoztatás
+Days after which password must be changed
+shadowWarning
+A jelszó érvényességének lejártát ennyi nappal előbb jelezi a rendsze
+Days before password is to expire that user is warned
+shadowInactive
+A jelszó érvényességének lejárta után ennyi nappal az felhasználói fiók letiltásra kerül
+Days after password expires that account is disabled
+shadowExpire
+Az előzőektől függetlenül a felhasználói fiók letiltásra kerül 1970. január 1-étől számított ennyiedik napo
+Days since Jan 1, 1970 that account is disabled
+
+-------------------------------------------------------------- */
+
+function mysqlUserAuthentication($userAccount, $userPassword, &$accountInformation, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ $modul = "$toPolicy auth";
+ $lr = db_connect($modul, array('fv' => 'userAuthentication/sql'));
+ if (!$lr) return _AUTH_FAILURE;
+
+ // Van-e ilyen azonosító
+ $q = "SELECT COUNT(*) FROM accounts WHERE userAccount='%s' AND policy='%s'";
+ $num = db_query($q, array('fv' => 'userAuthentication', 'modul' => $modul, 'result' => 'value', 'values' => array($userAccount, $toPolicy)), $lr);
+ if ($num == 0) {
+ // Nincs ilyen azonosító
+ $_SESSION['alert'][] = 'message:no_account:'."$userAccount:$toPolicy";
+ db_close($lr);
+ return _AUTH_FAILURE_1;
+ } elseif ($num > 1) {
+ // Több ilyen azonosító is va
+ $_SESSION['alert'][] = 'message:multy_uid';
+ db_close($lr);
+ return _AUTH_FAILURE_2;
+ }
+
+ // Ha csak egy van, akkor jó-e a jelszava
+ $q = "SELECT userCn, studyId, shadowLastChange, shadowMin, shadowMax, shadowWarning, shadowInactive, shadowExpire
+ FROM accounts WHERE userAccount='%s' AND userPassword=sha('%s') AND policy='%s'";
+ $ret = db_query($q, array('fv' => 'userAuthentication', 'modul' => 'login', 'result' => 'record', 'values' => array($userAccount, $userPassword, $toPolicy)), $lr);
+ db_close($lr);
+ if (!is_array($ret) || count($ret) == 0) {
+ // Nincs ilyen rekord => rossz a jelszó
+ $_SESSION['alert'][] = 'message:bad_pw';
+ return _AUTH_FAILURE_3;
+ } else {
+ // Ha van, akkor csak egy ilyen sor lehet
+ $accountInformation['cn'] = $ret['userCn'];
+ $accountInformation['studyId'] = $ret['studyId'];
+ $shadowLastChange = $ret['shadowLastChange'];
+ $shadowMin = $ret['shadowMin'];
+ $shadowMax = $ret['shadowMax'];
+ $shadowWarning = $ret['shadowWarning'];
+ $shadowInactive = $ret['shadowInactive'];
+ $shadowExpire = $ret['shadowExpire'];
+
+ // A lejárat ideje a shadowExpire és shadowLastChange+shadowMax kötül a kisebbik
+ if (intval($shadowExpire) != 0) $expireTimestamp = $shadowExpire;
+ if (
+ intval($shadowMax) != 0 &&
+ (
+ !isset($expireTimestamp) ||
+ $expireTimestamp > $shadowLastChange + $shadowMax
+ )
+ ) $expireTimestamp = $shadowLastChange + $shadowMax;
+ // lejárt, ha lejárat ideje már elmúlt
+ $accountExpired = (isset($expireTimestamp) && ($expireTimestamp <= floor(time()/(60*60*24))));
+
+ // Le van-e tiltva
+ if ( // onDisabled: none | refuse
+ $AUTH[$toPolicy]['onDisabled'] == 'refuse' &&
+ isset($expireTimestamp) &&
+ $expireTimestamp + $shadowInactive <= floor(time()/(60*60*24))
+ ) {
+ // Le van tiltva
+ $_SESSION['alert'][] = 'message:account_disabled:'.strval(floor(time()/(60*60*24)));
+ return _AUTH_FAILURE_4;
+ } // onDisabled
+
+ // Lejárt-e az azonosító
+ if ($AUTH[$toPolicy]['onExpired'] != 'none' && isset($expireTimestamp)) { // onExpired: none | warning | force update
+ // Lejárt-e
+ $pwLejar = $expireTimestamp - floor(time()/(60*60*24));
+ if (0 < $pwLejar && $pwLejar < $shadowWarning) {
+ $_SESSION['alert'][] = 'info:account_warning:'.$pwLejar;
+ return _AUTH_SUCCESS;
+ } elseif ($pwLejar <= 0) {
+ $_SESSION['alert'][] = 'info:account_expired:'.abs($pwLejar);
+ if ($AUTH[$toPolicy]['onDisabled'] == 'refuse')
+ $_SESSION['alert'][] = 'info:warn_account_disable:'.($shadowInactive+$pwLejar);
+ if ($AUTH[$toPolicy]['onExpired'] == 'warning') {
+ return _AUTH_SUCCESS;
+ } elseif ($AUTH[$toPolicy]['onExpired'] == 'force update') {
+ return _AUTH_EXPIRED;
+ }
+ }
+ } // onExpired
+ return _AUTH_SUCCESS;
+
+ }
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/mysql/base/attrs.php b/mayor-orig/mayor-base/www/include/backend/mysql/base/attrs.php
new file mode 100644
index 00000000..b945d764
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/mysql/base/attrs.php
@@ -0,0 +1,48 @@
+<?php
+
+ if (file_exists('lang/'._LANG.'/backend/mysql/attrs.php')) {
+ require('lang/'._LANG.'/backend/mysql/attrs.php');
+ } elseif (file_exists('lang/'._DEFAULT_LANG.'/backend/mysql/attrs.php')) {
+ require('lang/'._DEFAULT_LANG.'/backend/mysql/attrs.php');
+ }
+
+######################################################
+# Alapértelmezett jogosultságok
+#
+# w - Írható/olvasható
+# r - olvasható
+# - - egyik sem
+#
+# Három karakter: admin, self, other jogai
+######################################################
+
+ define('_DEFAULT_MYSQL_RIGHTS','wr-');
+
+ global $mysqlAccountAttrDef;
+ $mysqlAccountAttrDef = array(
+ 'uid' => array('desc' => _MYSQLUID, 'type' => 'text', 'rights' => 'rrr'),
+ 'policy' => array('desc' => _MYSQLPOLICY, 'type' => 'text', 'rights' => 'r--'),
+ 'useraccount' => array('desc' => _MYSQLUIDNUMBER, 'type' => 'text','rights' => 'r--'),
+ 'userCn' => array('desc' => _MYSQLCN, 'type' => 'text', 'rights' => 'wrr'),
+ 'studyId' => array('desc' => _MYSQLSTUDYID, 'type' => 'int', 'rights' => 'wrr'),
+ 'mail' => array('desc' => _MYSQLMAIL, 'type' => 'text', 'rights' => 'wwr'),
+ 'telephoneNumber' => array('desc' => _MYSQLTELEPHONENUMBER, 'type' => 'text', 'rights' => 'ww-'),
+// 'userPassword' => array('desc' => _MYSQLUSERPASSWORD, 'type' => 'text', 'rights' => 'r--'),
+ 'shadowLastChange' => array('desc' => _MYSQLSHADOWLASTCHANGE, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowExpire' => array('desc' => _MYSQLSHADOWEXPIRE, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowWarning' => array('desc' => _MYSQLSHADOWWARNING, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowMin' => array('desc' => _MYSQLSHADOWMIN, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowMax' => array('desc' => _MYSQLSHADOWMAX, 'type' => 'text', 'rights' => 'wrr'),
+ 'shadowInactive' => array('desc' => _MYSQLSHADOWINACTICE, 'type' => 'text', 'rights' => 'wrr'),
+ );
+
+ global $mysqlGroupAttrDef;
+ $mysqlGroupAttrDef = array(
+ 'gid' => array('desc' => _MYSQLGID, 'type' => 'text', 'rights' => 'rrr'),
+ 'groupDesc' => array('desc' => _MYSQLGROUPDESC, 'type' => 'text', 'rights' => 'wrr'),
+ 'policy' => array('desc' => _MYSQLPOLICY, 'type' => 'int', 'rights' => 'r--'),
+ 'member' => array('desc' => _MYSQLMEMBER, 'type' => 'select', 'rights' => 'w--'),
+ );
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/mysql/password/changePassword.php b/mayor-orig/mayor-base/www/include/backend/mysql/password/changePassword.php
new file mode 100644
index 00000000..2875bace
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/mysql/password/changePassword.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ Module: base/password
+
+ function changeMyPassword($userAccount, $userPassword, $newPassword, $verification)
+ A függvény nem vizsgálja, hogy jogosultak vagyunk-e a jelszó megváltoztatására.
+ Ennek eldöntése a függvényt hívó program feladata
+ */
+
+############################################################################
+# Saját jelszó megváltoztatása
+############################################################################
+
+function changeMyPassword($userAccount, $userPassword, $newPassword, $toPolicy = '') {
+
+ global $AUTH;
+
+ if ($toPolicy == '') $toPolicy = $_REQUEST['toPolicy'];
+ $shadowLastChange = floor(time()/(60*60*24));
+
+ $modul = "$toPolicy auth";
+ $lr = db_connect($modul, array('fv' => 'changeMyPassword'));
+
+ if (!$lr) return false;
+
+ // Stimmel-e az azonosító/jelszó/policy hármas
+ $q = "SELECT COUNT(*) FROM accounts WHERE userAccount='%s' AND userPassword=sha('%s') AND policy='%s'";
+ $num = db_query($q, array('fv' => 'changeMyPassword', 'modul' => $modul, 'result' => 'value', 'values' => array($userAccount, $userPassword, $toPolicy)), $lr);
+ if ($num != 1) {
+ $_SESSION['alert'][] = 'message:bad_pw:changeMyPassword';
+ db_close($lr);
+ return false;
+ }
+
+ if (isset($AUTH[$toPolicy]['shadowExpire']) and $AUTH[$toPolicy]['shadowExpire'] != '') {
+ $shadowExpire = $AUTH[$toPolicy]['shadowExpire'];
+ } elseif (isset($AUTH[$toPolicy]['shadowMax']) and $AUTH[$toPolicy]['shadowMax'] != '') {
+ $shadowExpire = $shadowLastChange + intval($AUTH[$toPolicy]['shadowMax']);
+ }
+ $q = "UPDATE accounts SET userPassword=sha('%s'), shadowLastChange=%u, shadowExpire=%u
+ WHERE userAccount='%s' and policy='%s'";
+ $v = array($newPassword, $shadowLastChange, $shadowExpire, $userAccount, $toPolicy);
+ $r = db_query($q, array('fv' => 'changeMyPassword', 'modul' => $modul, 'values' => $v), $lr);
+ db_close($lr);
+ if ($r) $_SESSION['alert'][] = 'info:pw_change_success';
+ return $r;
+
+}
+
+############################################################################
+# Adminisztrátori jelszó változtatás
+############################################################################
+
+function changePassword($userAccount, $newPassword, $toPolicy = '') {
+
+ global $AUTH;
+
+ if ($toPolicy == '') $toPolicy = _POLICY;
+ $shadowLastChange = floor(time()/(60*60*24));
+ if (isset($AUTH[$toPolicy]['shadowExpire']) and $AUTH[$toPolicy]['shadowExpire'] != '') {
+ $shadowExpire = $AUTH[$toPolicy]['shadowExpire'];
+ } elseif (isset($AUTH[$toPolicy]['shadowMax']) and $AUTH[$toPolicy]['shadowMax'] != '') {
+ $shadowExpire = $shadowLastChange + intval($AUTH[$toPolicy]['shadowMax']);
+ }
+ $shadowExpire = intval($shadowExpire);
+ $q = "UPDATE accounts SET userPassword=sha('%s'), shadowLastChange=%u, shadowExpire=%u
+ WHERE userAccount='%s' and policy='%s'";
+ $v = array($newPassword, $shadowLastChange, $shadowExpire, $userAccount, $toPolicy);
+ $r = db_query($q, array('fv' => 'changePassword', 'modul' => "$toPolicy auth", 'values' => $v));
+ if ($r) $_SESSION['alert'][] = 'info:pw_change_success';
+ return $r;
+
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/mysql/session/accountInfo.php b/mayor-orig/mayor-base/www/include/backend/mysql/session/accountInfo.php
new file mode 100644
index 00000000..113e380b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/mysql/session/accountInfo.php
@@ -0,0 +1,258 @@
+<?php
+/*
+ Module: base/auth-mysql
+ Backend: mysql
+
+ function mysqlGetAccountInfo($userAccount, $toPolicy = _POLICY)
+ function mysqlGetUserInfo($userAccount, $toPolicy = _POLICY)
+ function mysqlChangeAccountInfo($userAccount, $toPolicy = _POLICY)
+ function mysqlGetGroupInfo($groupCn, $toPolicy = _POLICY)
+
+*/
+
+###########################################################
+# mysqlGetAccountInfo - felhasználói információk (backend)
+###########################################################
+
+ function mysqlGetAccountInfo($userAccount, $toPolicy = _POLICY, $SET = array()) {
+
+ global $AUTH, $backendAttrs, $backendAttrDef;
+
+ // Keresés
+ if (is_array($SET['justThese']) && count($SET['justThese']) > 0) {
+ $_THESE = '`'.implode('`,`', array_fill(0, count($SET['justThese']), '%s')).'`';
+ $v = $SET['justThese'];
+ } else {
+ $_THESE = '*';
+ $v = array();
+ }
+ $q = "SELECT $_THESE FROM accounts WHERE userAccount='%s' AND policy='%s'";
+ array_push($v, $userAccount, $toPolicy);
+ $A = db_query($q, array('fv' => 'mysqlGetAccountInfo', 'modul' => "$toPolicy auth", 'result' => 'record', 'values' => $v), $lr);
+ if (!is_array($A) || count($A) == 0) return false;
+
+ $data = array();
+ foreach ($A as $attr => $value) $data[$attr][] = $value;
+ foreach ($data as $attr => $array) $data[$attr]['count'] = count($array);
+
+ return $data;
+
+ }
+
+#############################################################
+# mysqlGetUserInfo - felhasználói információk (keretrendszer)
+#############################################################
+
+ function mysqlGetUserInfo($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH, $backendAttrs, $backendAttrDef;
+
+ if (!isset($backendAttrs)) list($backendAttrs, $backendAttrDef) = getBackendAttrs('Account', $toPolicy);
+
+ // Keresés
+ $q = "SELECT userAccount,userCn FROM accounts WHERE userAccount='%s' AND policy='%s'";
+ $A = db_query($q, array('fv' => 'mysqlGetUserInfo', 'modul' => "$toPolicy auth", 'result' => 'record', 'values' => array($userAccount, $toPolicy)));
+ if (!is_array($A) || count($A) == 0) return false;
+ $ret = array();
+ foreach ($A as $attr => $value) $ret[$attr][] = $value;
+ return $ret;
+
+ }
+
+###############################################################
+# mysqlChangeAccountInfo - felhasználói információk módosítása
+###############################################################
+
+ function mysqlChangeAccountInfo($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH, $backendAttrs, $backendAttrDef;
+
+ // Kapcsolódás az MySQL szerverhez
+ $modul = "$toPolicy auth";
+ $lr = db_connect($modul, array('fv' => 'mysqlChangeAccountInfo'));
+ if (!$lr) return false;
+
+ $emptyAttrs = explode(':',$_POST['emptyAttrs']);
+
+ // Attribútumonként módosítunk
+ foreach ($backendAttrs as $attr) {
+
+ if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_MYSQL_RIGHTS;
+ else $rights = $backendAttrDef[$attr]['rights'];
+
+ if ($rights[_ACCESS_AS] == 'w') {
+
+ $value = '';
+
+ if ($backendAttrDef[$attr]['type'] == 'int') {
+ if ($backendAttrDef[$attr]['type'] != '' ) $value = readVariable($_POST[$attr], 'number');
+ } else {
+ if ($backendAttrDef[$attr]['type'] != '' ) $value = readVariable($_POST[$attr], 'string'); // html túl erős: pl email címben a @ fent akad...
+ }
+
+ if (in_array($attr,$emptyAttrs)) {
+ if ($value != '') {
+ $q = "UPDATE accounts SET `%s`='%s' WHERE userAccount='%s' AND policy='%s'";
+ $v = array($attr, $value, $userAccount, $toPolicy);
+ }
+ } else {
+ if ($value != '') {
+ $q = "UPDATE accounts SET `%s`='%s' WHERE userAccount='%s' AND policy='%s'";
+ $v = array($attr, $value, $userAccount, $toPolicy);
+ } else {
+ $q = "UPDATE accounts SET `%s`=NULL WHERE userAccount='%s' AND policy='%s'";
+ $v = array($attr, $userAccount, $toPolicy);
+ }
+ }
+ db_query($q, array('fv' => 'mysqlChangeAccountInfo', 'modul' => $modul, 'values' => $v), $lr);
+
+ } else {
+ // $_alert[] = 'message:insufficient_access:'.$attr;
+ }
+ } // foreach
+
+ db_close($lr);
+ if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success';
+ else for ($i = 0; $i < count($_alert); $i++) $_SESSION['alert'][] = $_alert[$i];
+
+ }
+
+###########################################################
+# mysqlGetGroupInfo - csoport információk (backend)
+###########################################################
+
+ function mysqlGetGroupInfo($groupCn, $toPolicy = _POLICY, $SET = array()) {
+
+ global $AUTH, $backendAttrs, $backendAttrDef;
+
+ if (!isset($backendAttrs)) list($backendAttrs, $backendAttrDef) = getBackendAttrs('Group', $toPolicy);
+
+ // Kapcsolódás az MySQL szerverhez
+ $modul = "$toPolicy auth";
+ $lr = db_connect($modul, array('fv' => 'mysqlGetGroupInfo'));
+ if (!$lr) return false;
+
+ // Keresés
+ if (is_array($SET['justThese']) && count($SET['justThese']) > 0) {
+ $_THESE = '`'.implode('`,`', array_fill(0, count($SET['justThese']), '%s')).'`';
+ $v = $SET['justThese'];
+ } else {
+ $_THESE = '*';
+ $v = array();
+ }
+ $q = "SELECT $_THESE FROM groups WHERE groupCn='%s' AND policy='%s'";
+
+ array_push($v, $groupCn, $toPolicy);
+ $A = db_query($q, array('fv' => 'mysqlGetGroupInfo', 'modul' => $modul, 'result' => 'record', 'values' => $v), $lr);
+ if (!is_array($A) || count($A) == 0) { db_close($lr); return false; }
+ // Megfelelő formátum kialakítása
+ foreach ($A as $attr => $value) $data[$attr][] = $value;
+ foreach ($data as $attr => $array) $data[$attr]['count'] = count($array);
+
+ // tagok lekérdezése
+ $q = "SELECT 'member' AS type, uid AS value, userCn AS txt FROM members LEFT JOIN accounts USING (uid) WHERE gid = '%s'";
+ $v = array($A['gid']);
+ $data2 = db_query($q, array('fv' => 'mysqlGetGroupInfo', 'modul' => $modul, 'result' => 'multiassoc', 'keyfield' => 'type', 'values' => $v), $lr);
+ if ($data2 === false) { db_close($lr); return false; }
+ $data = array_merge($data, $data2);
+
+ // Lehetséges tagok
+ if ($SET['withNewAccounts']===true) {
+ $q = "SELECT userCn AS txt, uid AS value FROM accounts WHERE policy='%s' ORDER BY userCn";
+ $data['member']['new'] = db_query($q, array(
+ 'fv' => 'mysqlGetGroupInfo', 'modul' => $modul, 'result' => 'indexed', 'values' => array($toPolicy)
+ ), $lr);
+ }
+
+ db_close($lr);
+ return $data;
+
+ }
+
+
+###############################################################
+# mysqlChangeGroupInfo - csoport információk módosítása
+###############################################################
+
+ function mysqlChangeGroupInfo($groupCn, $toPolicy = _POLICY) {
+
+// !!!! A memberuid / member szinkronjára nem figyel!!
+
+ global $AUTH, $backendAttrs, $backendAttrDef;
+
+ // Kapcsolódás az MySQL szerverhez
+ $modul = "$toPolicy auth";
+ $lr = db_connect($modul, array('fv' => 'mysqlChangeGroupInfo'));
+ if (!$lr) return false;
+
+ $q = "SELECT gid FROM groups WHERE groupCn='%s' AND policy='%s'";
+ $v = array($groupCn, $toPolicy);
+ $gid = db_query($q, array('fv' => 'mysqlChangeGroupInfo', 'modul' => $modul, 'result' => 'value', 'values' => $v), $lr);
+ if ($gid === false) { db_close($lr); return false; }
+
+ $emptyAttrs = explode(':', $_POST['emptyAttrs']);
+
+ // Attribútumonként módosítunk
+ foreach ($backendAttrs as $attr) {
+
+ if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_LDAP_RIGHTS;
+ else $rights = $backendAttrDef[$attr]['rights'];
+
+ if ($rights[_ACCESS_AS] == 'w') {
+
+ $Mod = $Add = $Del = $V = $v = array();
+ $values = array();
+
+ if ($backendAttrDef[$attr]['type'] != '')
+ if (isset($_POST[$attr])) $values[0] = readVariable($_POST[$attr],'html');
+ else $values[0] = '';
+
+ if ($backendAttrDef[$attr]['type'] == 'select') {
+ if ($attr == 'member') {
+ if (isset($_POST['new-'.$attr][0]) && $_POST['new-'.$attr][0] != '') {
+ for ($i = 0; $i < count($_POST['new-'.$attr]); $i++) {
+ $V[] = "(%u, %u)";
+ array_push($v, $_POST['new-'.$attr][$i], $gid);
+ }
+ $q = "INSERT INTO members (uid, gid) VALUES ".implode(',', $V);
+ db_query($q, array('fv' => 'mysqlChangeGroupInfo', 'modul' => $modul, 'values' => $v), $lr);
+ }
+ if (isset($_POST['del-'.$attr][0]) && $_POST['del-'.$attr][0] != '') {
+ $q = "DELETE FROM members WHERE gid=%u
+ AND uid IN (".implode(',', array_fill(0, count($_POST['del-'.$attr]), '%u')).")";
+ $v = array_merge(array($gid), $_POST['del-'.$attr]);
+ $r = db_query($q, array('fv' => 'mysqlChangeGroupInfo', 'modul' => $modul, 'values' => $v), $lr);
+ }
+ } else {
+ $_SESSION['alert'][] = 'message:invalid_type:select:'.$attr;
+ }
+ } else {
+ if (in_array($attr, $emptyAttrs)) {
+ if ($values[0] != '') {
+ $W = "`%s`='%s'";
+ $v = array($attr, $values[0]);
+ }
+ } else {
+ if ($values[0] != '') {
+ $W = "`%s`='%s'";
+ $v = array($attr, $values[0]);
+ } else {
+ $W = "`%s`=NULL";
+ $v = array($attr);
+ }
+ }
+ $q = "UPDATE groups SET $W WHERE groupCn='%s' AND policy='%s'";
+ array_push($v, $groupCn, $toPolicy);
+ db_query($q, array('fv' => 'mysqlChangeGroupInfo', 'modul' => $modul, 'values' => $v), $lr);
+ }
+ } else {
+ $_alert[] = 'message:insufficient_access:'.$attr;
+ }
+ } // foreach
+
+ db_close($lr);
+ return true;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/mysql/session/base.php b/mayor-orig/mayor-base/www/include/backend/mysql/session/base.php
new file mode 100644
index 00000000..35272ff8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/mysql/session/base.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ Module: base/session
+ Backend: mysql
+
+ function mysqlMemberOf($userAccount, $groupCn, $toPolicy = _POLICY)
+*/
+
+ require_once('include/backend/mysql/base/attrs.php');
+
+
+ function mysqlMemberOf($userAccount, $groupCn, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ $modul = "$toPolicy auth";
+ $lr = db_connect($modul, array('fv' => 'mysqlMemberOf'));
+ if (!$lr) return _AUTH_FAILURE;
+
+ // Az uid lekérdezése
+ if (!defined(('__'.$toPolicy.'_UID')) || _USERACCOUNT != $userAccount) { // egy policy-hez csak egy uid tartozik
+ $q = "SELECT uid FROM accounts WHERE userAccount = '%s' AND policy = '%s'";
+ $v = array($userAccount, $toPolicy);
+ $uid = db_query($q, array('fv' => 'mysqlMemberOf', 'modul' => $modul, 'result' => 'value', 'values' => $v), $lr);
+ if ($uid === false) {
+ $_SESSION['alert'][] = 'message:no_account:'."$userAccount:$toPolicy";
+ db_close($lr); return false;
+ }
+ if (!defined('__'.$toPolicy.'_UID')) define('__'.$toPolicy.'_UID',$uid);
+ } else {
+ $uid=constant('__'.$toPolicy.'_UID');
+ }
+
+ // Az gid lekérdezése
+ $q = "SELECT gid FROM groups WHERE groupCn = '%s' AND policy = '%s'";
+ $v = array($groupCn, $toPolicy);
+ $gid = db_query($q, array('fv' => 'mysqlMemberOf', 'modul' => $modul, 'result' => 'value', 'values' => $v), $lr);
+ if ($gid === false) {
+ $_SESSION['alert'][] = 'message:no_group:'."$groupCn:$toPolicy";
+ db_close($lr); return false;
+ }
+
+ // Benne van-e a csoportban
+ $q = "SELECT COUNT(*) FROM members WHERE uid = %u AND gid = %u";
+ $v = array($uid, $gid);
+ $num = db_query($q, array('fv' => 'mysqlMemberOf', 'modul' => $modul, 'result' => 'value', 'values' => $v), $lr);
+ db_close($lr);
+ return ($num > 0);
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/mysql/session/createAccount.php b/mayor-orig/mayor-base/www/include/backend/mysql/session/createAccount.php
new file mode 100644
index 00000000..25ff9132
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/mysql/session/createAccount.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ Module: base/session
+ Backend: mysql
+
+ function mysqlCreateAccount($userCn, $userAccount, $studyId, $userPassword, $category, $toPolicy = _POLICY) {
+
+*/
+
+ /*
+ $SET = array(
+ container => a konténer elem - MySQL backend esetén nincs értelme
+ category => tanár, diák... egy kiemelt fontosságú csoport tagság
+ groups => egyéb csoportok
+ policyAttrs => policy függő attribútumok
+ createGroup => létrehozza az adott nevű csoportokat, ha nincsenek
+ )
+
+ */
+ function mysqlCreateAccount(
+ $userCn, $userAccount, $userPassword, $toPolicy, $SET
+ ) {
+
+ global $AUTH;
+
+ $shadowlastchange = floor(time() / (60*60*24));
+ $modul = "$toPolicy auth";
+ $lr = db_connect($modul, array('fv' => 'mysqlCreateAccount'));
+ if (!$lr) return _AUTH_FAILURE;
+
+ // ütközés ellenőrzése
+ $q = "SELECT COUNT(userCn) FROM accounts WHERE userAccount = '%s' AND policy = '%s'";
+ $v = array($userAccount, $toPolicy);
+ $num = db_query($q, array('fv' => 'mysqlCreateAccount', 'modul' => $modul, 'result' => 'value', 'values' => $v), $lr);
+ if ($num > 0) {
+ db_close($lr);
+ $_SESSION['alert'][] = 'message:multi_uid'.":$userAccount:$toPolicy";
+ return false;
+ }
+
+ // A shadowLastChange a mai nap // if (isset($AUTH[$toPolicy]['shadowlastchange']) && $AUTH[$toPolicy]['shadowlastchange'] != '') $shadowlastchange = $AUTH[$toPolicy]['shadowlastchange'];
+ $shadowmin = readVariable($AUTH[$toPolicy]['shadowmin'], 'numeric unsigned', 'null'); // null szöveg
+ $shadowmax = readVariable($AUTH[$toPolicy]['shadowmax'], 'numeric unsigned', 'null'); // null szöveg
+ $shadowwarning = readVariable($AUTH[$toPolicy]['shadowwarning'], 'numeric unsigned', 'null'); // null szöveg
+ $shadowinactive = readVariable($AUTH[$toPolicy]['shadowinactive'], 'numeric unsigned', 'null'); // null szöveg
+ $shadowexpire = readVariable($AUTH[$toPolicy]['shadowexpire'], 'numeric unsigned', 'null'); // null szöveg
+
+ // A $SET['policyAttrs'] feldolgozása
+ $attrList = array_keys($SET['policyAttrs']);
+ $valueList = array_values($SET['policyAttrs']);
+
+ // user felvétele
+ if (count($attrList) > 0) {
+ $q = "INSERT INTO accounts (
+ policy, userAccount, userCn, userPassword, shadowLastChange, shadowMin, shadowMax, shadowWarning, shadowInactive, shadowExpire,
+ `".implode('`, `', array_fill(0, count($attrList), '%s'))."`
+ ) VALUES (
+ '%s', '%s', '%s', sha('%s'), %u, %u, %u, %u, %u, %u, '".implode("', '", array_fill(0, count($valueList), '%s'))."'
+ )";
+ } else{
+ $q = "INSERT INTO accounts (
+ policy, userAccount, userCn, userPassword, shadowLastChange, shadowMin, shadowMax, shadowWarning, shadowInactive, shadowExpire
+ ) VALUES ('%s', '%s', '%s', sha('%s'), %u, %u, %u, %u, %u, %u)";
+ }
+ $v = array_merge(
+ $attrList,
+ array($toPolicy, $userAccount, $userCn, $userPassword, $shadowlastchange, $shadowmin, $shadowmax, $shadowwarning, $shadowinactive, $shadowexpire),
+ $valueList
+ );
+ $uid = db_query($q, array('fv' => 'mysqlCreateAccount', 'modul' => $modul, 'result' => 'insert', 'values' => $v), $lr);
+ if ($uid === false) { db_close($lr); return false; }
+ // user berakása a kategóriájának megfelelő csoportokba
+
+ if (isset($SET['category'])) {
+ if (is_array($SET['groups'])) array_unshift($SET['groups'], $SET['category']);
+ else $SET['groups'] = array($SET['category']);
+
+ for ($i = 0; $i < count($SET['groups']); $i++) {
+ $category = $SET['groups'][$i];
+ $groupCn = kisbetus(ekezettelen($category));
+ if ($category == '') continue;
+ $q = "SELECT gid FROM groups WHERE groupCn='%s'";
+ $gid = db_query($q, array('fv' => 'mysqlCreateAccount', 'modul' => $modul, 'result' => 'value', 'values' => array($groupCn)), $lr);
+ if ($gid === false || is_null($gid)) { // --FIXME -- ez jó így BENCE radyx
+ if ($SET['createGroup']) {
+ require_once('include/modules/session/createGroup.php');
+ //createGroup($groupCn, "$category csoport", $category, $toPolicy = _POLICY);
+ createGroup($groupCn, "$category csoport", $toPolicy = _POLICY, array('category'=>$category));
+ $gid = db_query($q, array('fv' => 'mysqlCreateAccount', 'modul' => $modul, 'result' => 'value', 'values' => array($groupCn)), $lr);
+ } else {
+ $_SESSION['alert'][] = 'message:wrong_data:mysqlCreateAccount - nincsmegadva/hibás kategória:'.$category.':'.$groupCn;
+ db_close($lr); return false;
+ }
+ }
+ $q = "INSERT INTO members (uid,gid) VALUES (%u, %u)";
+ $r = db_query($q, array('fv' => 'mysqlCreateAccount', 'modul' => $modul, 'values' => array($uid, $gid)), $lr);
+ if (!$r) { db_close($lr); return false; }
+ }
+ }
+ $_SESSION['alert'][] = 'info:create_account_success:'.$userAccount;
+ db_close($lr);
+ return true;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/mysql/session/createGroup.php b/mayor-orig/mayor-base/www/include/backend/mysql/session/createGroup.php
new file mode 100644
index 00000000..d1bc4f7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/mysql/session/createGroup.php
@@ -0,0 +1,37 @@
+<?php
+
+ function mysqlCreateGroup($groupCn, $groupDesc, $toPolicy = _POLICY, $SET = null) {
+
+ global $AUTH;
+
+ // $toPolicy --> backend - ellenőrzés!
+ if ($AUTH[$toPolicy]['backend'] != 'mysql') {
+ $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ // Kapcsolódás az MySQL szerverhez
+ $modul = "$toPolicy auth";
+ $lr = @db_connect($modul, array('fv' => 'mysqlCreateGroup'));
+ if (!$lr) return false;
+
+ // cn ütközés ellenőrzése
+ $q = "SELECT COUNT(*) FROM groups WHERE policy='%s' AND groupCn='%s'";
+ $v = array($toPolicy, $groupCn);
+ $num = db_query($q, array('fv' => 'mysqlCreateGroup', 'modul' => $modul, 'result' => 'value', 'values' => $v), $lr);
+ if ($num === false) { db_close($lr); return false; }
+ if ($num > 0) { $_SESSION['alert'][] = 'message:multi_uid:'.$groupCn; db_close($lr); return false; }
+
+ // csoport felvétel
+ $q = "INSERT INTO groups (groupCn, groupDesc, policy) VALUES ('%s', '%s','%s')";
+ $v = array($groupCn, $groupDesc, $toPolicy);
+ $gid = db_query($q, array('fv' => 'mysqlCreateGroup', 'modul' => $modul, 'result' => 'insert', 'values' => $v), $lr);
+ if ($gid === false) { db_close($lr); return false; }
+
+ $_SESSION['alert'][] = 'info:create_group_success:'.$dn;
+ db_close($lr);
+ return true;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/backend/mysql/session/search/searchAccount.php b/mayor-orig/mayor-base/www/include/backend/mysql/session/search/searchAccount.php
new file mode 100644
index 00000000..fa4584b0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/backend/mysql/session/search/searchAccount.php
@@ -0,0 +1,169 @@
+<?php
+/*
+ Module: base/session
+ Backend: mysql
+
+*/
+
+######################################################
+# MySQL account kereső függvény
+######################################################
+
+ function mysqlSearchAccount($attr, $pattern, $searchAttrs = array('userCn'), $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ if ($pattern == '') {
+ $_SESSION['alert'][] = 'message:empty_field:mysqlSerachAccount, pattern';
+ return false;
+ }
+
+ // Kapcsolódás az MySQL szerverhez
+ $modul = "$toPolicy auth";
+ $lr = @db_connect($modul, array('fv' => 'mysqlSearchAccount'));
+ if (!$lr) return false;
+
+ // Keresés
+ $q = "SELECT `".implode('`,`', array_fill(0, count($searchAttrs), '%s'))."` FROM accounts WHERE `%s` LIKE '%%%s%%' AND policy='%s'";
+ $v = array_merge($searchAttrs, array($attr, $pattern, $toPolicy));
+ $r = db_query($q, array('fv' => 'mysqlSearchAccount', 'modul' => $modul, 'result' => 'indexed', 'values' => $v), $lr);
+ db_close($lr);
+ if ($r === false) return false;
+ $ret = array('count' => count($r));
+ foreach ($r as $key => $A) {
+ $data = array();
+ foreach ($A as $attr => $value) {
+ $data[$attr] = array($value);
+ $data[$attr]['count']++;
+ }
+ $data['category'] = getAccountCategories($data['userAccount'][0], $toPolicy);
+ $data['category']['count'] = count($data['category']);
+ $ret[] = $data;
+ }
+
+ return $ret;
+
+ }
+
+######################################################
+# MySQL group kereső függvény
+######################################################
+
+ function mysqlSearchGroup($attr, $pattern, $searchAttrs = array('userCn'), $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ if ($pattern == '') {
+ $_SESSION['alert'][] = 'message:empty_field:mysqlSearchGroup, pattern';
+ return false;
+ }
+
+ // Kapcsolódás az MySQL szerverhez
+ $modul = "$toPolicy auth";
+ $lr = db_connect($modul, array('fv' => 'mysqlSearchGroup'));
+ if (!$lr) return false;
+ // Keresés
+ if ($attr == 'member') {
+ $q = "SELECT `".implode('`,`', array_fill(0, count($searchAttrs), '%s'))."` FROM groups LEFT JOIN members
+ ON members.gid=groups.gid
+ LEFT JOIN accounts USING (uid)
+ WHERE gid IN
+ (SELECT DISTINCT gid FROM accounts LEFT JOIN members USING(uid) WHERE userAccount LIKE '%%%s%%' AND policy='%s')
+ AND groups.policy='%s'";
+ $v = array_merge($searchAttrs, array($pattern, $toPolicy, $toPolicy));
+ } else {
+ $q = "SELECT DISTINCT `".implode('`,`', array_fill(0, count($searchAttrs), '%s'))."` FROM groups LEFT JOIN members
+ ON members.gid=groups.gid
+ LEFT JOIN accounts USING (uid)
+ WHERE `%s` LIKE '%%%s%%' AND groups.policy='%s'";
+ $v = array_merge($searchAttrs, array($attr, $pattern, $toPolicy));
+ }
+ $r = db_query($q, array('fv' => 'mysqlSearchGroup', 'modul' => $modul, 'result' => 'indexed', 'values' => $v), $lr);
+ db_close($lr);
+ if ($r === false) return false;
+ $ret = array('count' => count($r));
+ foreach ($r as $key => $A) {
+ $data = array();
+ foreach ($A as $attr => $value) {
+ $data[$attr] = array($value);
+ }
+ $ret[] = $data;
+ }
+
+ return $ret;
+
+ }
+
+######################################################
+# mysqlDeleteAccount - account törlése
+######################################################
+
+ function mysqlDeleteAccount($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // $toPolicy --> mysql backend - ellenőrzés
+ if ($AUTH[$toPolicy]['backend'] != 'mysql') {
+ $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ // Kapcsolódás az MySQL szerverhez
+ $modul = "$toPolicy auth";
+ $lr = @db_connect($modul, array('fv' => 'mysqlDeleteAccount'));
+ if (!$lr) return false;
+
+ // Az uidNumber, a homeDirectory lekerdezése - és mire használjuk, ha szabad kérdeznem???
+ if ($AUTH[$toPolicy]['createHomeDir']) {
+ $q = "SELECT homeDirectory, uid FROM accounts WHERE policy='%s' AND userAccount='%s'";
+ $v = array($toPolicy, $userAccount);
+ $ret = db_query($q, array('fv' => 'mysqlDeleteAccount', 'modul' => $modul, 'result' => 'record', 'values' => $v), $lr);
+ if ($ret === false) { db_close($lr); return false; }
+
+ $homeDirectory = $ret['homeDirectory']; // de nem használjuk semmire...
+ // A user csoport törlése
+ $q = "DELETE FROM groups WHERE gid=%u";
+ $v = array($ret['uid']);
+ $r = db_query($q, array('fv' => 'mysqlDeleteAccount', 'modul' => $modul, 'values' => $v), $lr);
+ if (!$r) { db_close($lr); return false; }
+ }
+
+ // user törlése
+ $q = "DELETE FROM accounts WHERE policy='%s' AND userAccount='%s'";
+ $v = array($toPolicy, $userAccount);
+ $r = db_query($q, array('fv' => 'mysqlDeleteAccount', 'modul' => $modul, 'values' => $v), $lr);
+ db_close($lr);
+ // törlés a csoportból - Ha innoDb - akkor nincs ezzel tennivaló!!
+ if ($r) $_SESSION['alert'][] = 'info:delete_uid_success:'.$userDn;
+
+ return $r;
+
+ }
+
+######################################################
+# mysqlDeleteGroup - group törlése
+######################################################
+
+ function mysqlDeleteGroup($groupCn, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ // $toPolicy --> mysql backend - ellenőrzés
+ if ($AUTH[$toPolicy]['backend'] != 'mysql') {
+ $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend'];
+ return false;
+ }
+
+ // csoport törlése
+ $q = "DELETE FROM groups WHERE policy='%s' AND groupCn='%s'";
+ $v = array($toPolicy, $groupCn);
+ $r = db_query($q, array('fv' => 'mysqlDeleteGroup', 'modul' => "$toPolicy auth", 'values' => $v));
+
+ if ($r) $_SESSION['alert'][] = 'info:delete_uid_success:'.$userDn;
+
+ // tagok törlése a csoportból - Ha innoDb - akkor nincs ezzel tennivaló!!
+ return $r;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/base/base.php b/mayor-orig/mayor-base/www/include/base/base.php
new file mode 100644
index 00000000..378b31fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/base/base.php
@@ -0,0 +1,233 @@
+<?php
+/*
+ Module: base
+*/
+
+function isMobile() {
+ if(preg_match('/(up.browser|up.link|windows ce|iemobile|mmp|symbian|smartphone|midp|wap|phone| vodafone|o2|pocket|mobile|pda|psp)/i',strtolower($_SERVER['HTTP_USER_AGENT'])))
+ return true;
+ //if(((strpos(strtolower($_SERVER['HTTP_ACCEPT']),'text/vnd.wap.wml')>0) or (strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml')>0)) or ((((isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE']) or isset($_SERVER['X-OperaMini-Features']) or isset($_SERVER['UA-pixels']))))))
+ $mobile_ua = strtolower(substr($_SERVER['HTTP_USER_AGENT'],0,4));
+ $mobile_agents = array('acs-','alav','alca','amoi','audi','aste','avan','benq' ,'bird','blac','blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','inno','ipaq','java' ,'jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-','maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-','newt','noki','opwv','palm','pana','pant','pdxg' ,'phil','play','pluc','port','prox','qtek','qwap', 'sage','sams','sany','sch-','sec-','send','seri','sgh-','shar','sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-','tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp','wapr','webc','winw','winw' ,'xda','xda-');
+ if(in_array($mobile_ua,$mobile_agents)) {
+ return true;
+ }
+}
+
+// ------------------------------------------
+// PHP session
+// ------------------------------------------
+
+ session_start();
+
+// ------------------------------------------
+// Böngésző azonosítás
+// ------------------------------------------
+
+ if (defined('_ALLOWPDAIDENTIFICATION') && isMobile()) define('_USER_AGENT','ppc'); // inkább ketté kéne bontani [wap,ppc] tartalomra
+ else
+ if (strpos($_SERVER['HTTP_USER_AGENT'],'Opera') !== false) define('_USER_AGENT','opera');
+ elseif (strpos($_SERVER['HTTP_USER_AGENT'],'Gecko') !== false) define('_USER_AGENT','gecko');
+ elseif (strpos($_SERVER['HTTP_USER_AGENT'],'MSIE') !== false) define('_USER_AGENT','msie');
+ else define('_USER_AGENT','');
+
+ if (strstr($_SERVER['HTTP_USER_AGENT'],'iPhone')!=false) define('_USER_AGENT_PLUS','iPhone');
+ else define('_USER_AGENT_PLUS','');
+
+ if (($_SESSION['isMobile']=isMobile())===true) $_SESSION['pageLayout']=1; // patch
+
+// MaYoR revision konstans definiálása
+
+ if (@file_exists(_LOGDIR.'/revision')) {
+ $_rf = @fopen(_LOGDIR.'/revision', "r");
+ if ($_rf) $rev = @fgets($_rf, 64);
+ @fclose($_rf);
+ } else {
+ //rev missing...
+ }
+ define('_MAYORREV',chop($rev));
+ unset($rev);
+
+// ------------------------------------------
+// Default értékek
+// ------------------------------------------
+ /*
+ $policy - hozzáférési mód - kötelező
+ $page - megjelenítendő oldal - kötelező
+ $sub - aloldal - opcionális
+ $f - file - kötelező
+ $lang - az oldal nyelve - kötelező
+ skin - az oldal témája, "bőre" - kötelező
+ $action - elvégzendő feladat megjelölésére - opcionális
+ $_SESSION['alert'] - figyelmeztető üzenet (tömb) - opcionális
+ */
+
+ if (($__key = array_search('blue', $SKINS)) !== false) unset($SKINS[$__key]);
+ if (($__key = array_search('pda', $SKINS)) !== false) unset($SKINS[$__key]);
+ if ($AUTH['public']['skin'] == 'blue') $AUTH['public']['skin'] = 'classic';
+ if ($AUTH['private']['skin'] == 'blue') $AUTH['private']['skin'] = 'classic';
+ if ($AUTH['parent']['skin'] == 'blue') $AUTH['parent']['skin'] = 'classic';
+ // itt beolvassuk, később még egy szigorítás is van
+
+ if (_RUNLEVEL=='cron') {
+ $policy = 'private';
+ @$page = readVariable($_SERVER['argv'][1],'strictstring');
+ @$sub = readVariable($_SERVER['argv'][2],'strictstring');
+ @$f = readVariable($_SERVER['argv'][3],'strictstring');
+ @$sessionID = "cron";
+ } else {
+ @$policy = readVariable($_REQUEST['policy'],'strictstring',null,$POLICIES);
+ @$page = readVariable($_REQUEST['page'],'strictstring');
+ @$sub = readVariable($_REQUEST['sub'],'strictstring');
+ @$f = readVariable($_REQUEST['f'],'strictstring');
+ @$sessionID = readVariable($_GET['sessionID'],'hexa');
+ }
+ if ($f == '') {
+ if ($sub != '') $f = $sub;
+ elseif ($page != '') $f = $page;
+ }
+ @$lang = readVariable($_GET['lang'],'strictstring',null,$LANGUAGES);
+ if (_RUNLEVEL === 'cron') $skin = 'cron';
+ else @$skin = readVariable($_POST['skin'],'strictstring',readVariable($_GET['skin'],'strictstring',null,$SKINS),$SKINS);
+ @$action = readVariable($_REQUEST['action'],'strictstring',null);
+ // ++ ha még mindig üres a skin, és pocketpc-ről/pda jövünk (de megengedjük a felülírást)
+ // if (_USER_AGENT==='ppc' && $skin=='') $skin='pda';
+ // ++
+ //--
+ if (is_array($POLICIES) && !in_array($policy, $POLICIES)) $policy = _DEFAULT_POLICY;
+
+ define('_POLICY', $policy);
+
+ // Miert ne csatolnánk be az összes policy beállítsait? --> config.php
+
+ if ($f=='' && is_array($DEFAULT_PSF[$policy])) extract($DEFAULT_PSF[$policy], EXTR_OVERWRITE);
+ if (!in_array($lang, $LANGUAGES)) $lang=_DEFAULT_LANG;
+ // ha a skin még mindig üres, akkor az ellenőrzésnél a default-ot állítjuk be...
+ if (!@in_array($skin, $SKINS)) $skin = (isset($AUTH[$policy]['skin'])) ? $AUTH[$policy]['skin'] : _DEFAULT_SKIN;
+
+ if (file_exists("lang/$lang/base/base.php")) {
+ require("lang/$lang/base/base.php");
+ } elseif (file_exists('lang/'._DEFAULT_LANG.'/base/base.php')) {
+ require('lang/'._DEFAULT_LANG.'/base/base.php');
+ }
+
+ // A skin-hez tartozó beállátosok.. ha vannak... - ide való? De még a *-pre elé!
+ if (file_exists(_CONFIGDIR."/skin-$skin/config.php")) {
+ require(_CONFIGDIR."/skin-$skin/config.php");
+ } elseif (file_exists(_CONFIGDIR.'/skin-'._DEFAULT_SKIN.'/config.php')) {
+ require(_CONFIGDIR.'/skin-'._DEFAULT_SKIN.'/config.php');
+ }
+
+// -----------------------------------------------------------------
+// page()
+// -----------------------------------------------------------------
+
+function page($page, $sub, $f, $lang, $skin, $policy = _DEFAULT_POLICY) {
+
+ global $_JSON;
+ if (html_alert($_SESSION['alert'])) { // A figyelmeztető üzenet letilthatja az oldal további megjelenítését.
+ if ($sub != '') {
+ $load = "$sub/$f";
+ } else {
+ $load = $f;
+ }
+
+ // --TEST $API_DICTIONARY['api']['naplo']['orarend']['orarend'] = true;
+ if ($skin=='api') {
+ $_JSON['api']['version'] = '1.0';
+ if (isset($API_DICTIONARY[$skin][$page][$sub][$f])===false) { // --TODO API_DICTIONARY
+ return false;
+ }
+ }
+
+ if (file_exists("policy/$policy/$page/$load.php")) {
+ if (file_exists("lang/$lang/module-$page/base.php")) {
+ require_once("lang/$lang/module-$page/base.php");
+ } elseif (file_exists("lang/"._DEFAULT_LANG."/module-$page/base.php")) {
+ require_once("lang/"._DEFAULT_LANG."/module-$page/base.php");
+ }
+ if (file_exists("lang/$lang/module-$page/$load.php")) {
+ require_once("lang/$lang/module-$page/$load.php");
+ } elseif (file_exists("lang/"._DEFAULT_LANG."/module-$page/$load.php")) {
+ require_once("lang/"._DEFAULT_LANG."/module-$page/$load.php");
+ }
+ if (file_exists("skin/$skin/module-$page/html/base.phtml")) {
+ require_once("skin/$skin/module-$page/html/base.phtml");
+ } elseif ($skin!=='api' && file_exists("skin/"._DEFAULT_SKIN."/module-$page/html/base.phtml")) { // api esetén nem töltjük be a default skin phtml-t
+ require_once("skin/"._DEFAULT_SKIN."/module-$page/html/base.phtml");
+ }
+ if (file_exists("skin/$skin/module-$page/html/$load.phtml")) {
+ require_once("skin/$skin/module-$page/html/$load.phtml");
+ } elseif ($skin!=='api' && file_exists("skin/"._DEFAULT_SKIN."/module-$page/html/$load.phtml")) { // api esetén nem töltjük be a default skin phtml-t
+ require_once("skin/"._DEFAULT_SKIN."/module-$page/html/$load.phtml");
+ }
+ $_JSON['api']['debug'] = serialize($page.$load);
+
+ include("policy/$policy/$page/$load.php");
+ } elseif (file_exists("static/$lang/$page/$load.html")) {
+ include("static/$lang/$page/$load.html");
+ } else {
+ //??? ha már kiírtuk a hibaüzeneteket, újabbat nem írhatunk ki sajnos :( html_alert(array('page:page_missing:'."[$page]:[$sub]:[$f]")); --> rights.php
+ }
+ }
+}
+
+function href($href,$get = array('sessionID','lang','skin','policy')) {
+
+ global $sessionID,$lang,$skin,$policy,$page,$sub,$f,$action;
+ global $SKINS;
+ if ($href!='') {
+ if (strpos($href,'?') === false) {
+ $href .= '?';
+ } else {
+ $href.='&';
+ }
+ for ($i=0;$i<count($get);$i++) {
+ $par = $get[$i];
+ if ($par == 'skin' && $skin == 'ajax') $value = readVariable($_GET['toSkin'],'enum',null,$SKINS);
+ else $value = $$par;
+ if (is_array($value)) { // pl. $_SESSION['alert']
+ for ($j=0;$j<count($value);$j++) {
+ $href .= $par.'[]='.$value[$j].'&';
+ }
+ } else {
+ $href .= "$par=".$value.'&';
+ }
+ }
+ $href = substr($href,0,-1);
+ if ($skin == 'pda') $href .= '&rand='.rand(); // PDA hack - mer' a szemétje nem olvassa újra, hiába a fejlécen a sok okos varázslat... :(
+ $href = str_replace('&','&#38;',str_replace('&#38;','&',$href));
+ }
+ return $href;
+
+}
+
+function location($href,$get = array('sessionID','lang','skin','policy')) {
+
+ global $sessionID,$lang,$skin,$policy,$page,$sub,$f,$action;
+
+ if ($href!='') {
+ if (strpos($href,'?')===false) {
+ $href.='?';
+ } else {
+ $href.='&';
+ }
+ for ($i=0;$i<count($get);$i++) {
+ $par = $get[$i];
+ if (is_array($$par)) { // pl. $_SESSION['alert']
+ for ($j=0;$j<count($$par);$j++) {
+ $href .= $par.'[]='.${$par}[$j].'&';
+ }
+ } else {
+ $href .= "$par=".$$par.'&';
+ }
+ }
+ $href = substr($href,0,-1);
+ $href = str_replace('&#38;','&',$href);
+ }
+
+ return $href;
+
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/base/cache.php b/mayor-orig/mayor-base/www/include/base/cache.php
new file mode 100644
index 00000000..3c630581
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/base/cache.php
@@ -0,0 +1,33 @@
+<?php
+// MaYoR - GPL - author: support@mayor.hu
+class mayorCache {
+ private $DATA = array();
+ private $REGISTRY = array();
+ public function exists($key) {
+ return (!is_null($this->DATA[$key]));
+ }
+ public function get($key) {
+ return $this->DATA[$key];
+ }
+ public function set($key,$data, $dataType=null) {
+ $this->DATA[$key] = $data;
+ if ($dataType!='') $this->REGISTRY[$dataType][] = $key;
+ }
+ public function del($key) {
+ unset($this->DATA[$key]);
+ unset($this->REGISTRY[array_search($key,$this->REGISTRY)]);
+ }
+ public function flushdb() {
+ $this->DATA = array();
+ $this->REGISTRY = array();
+ }
+ public function delType($dataType) {
+ $c = count($this->REGISTRY[$dataType]);
+ for ($i=0; $i<$c; $i++ ) {
+ $this->del($this->REGISTRY[$dataType][$i]);
+ }
+ unset($this->REGISTRY[$dataType]);
+ }
+}
+$mayorCache = new mayorCache();
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/include/base/config.php b/mayor-orig/mayor-base/www/include/base/config.php
new file mode 100644
index 00000000..28f711cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/base/config.php
@@ -0,0 +1,62 @@
+<?php
+
+if (PHP_SAPI!=='cli') define('_RUNLEVEL','www'); else define('_RUNLEVEL','cron');
+
+define('_JSLIB','jquery.min');
+
+if (!defined('_LOGLEVEL')) define('_LOGLEVEL',10);
+
+date_default_timezone_set('Europe/Budapest');
+
+if (_RUNLEVEL === 'cron') {
+ (include("../config/main-config.php")); // csak webrootból futtatható
+} else {
+ if (@file_exists('../config/main-config.php') && @is_readable('../config/main-config.php')==true) {
+ include("../config/main-config.php");
+ } elseif(@file_exists('../config/main-config.php')===false) {
+ die('FATAL ERROR! Missing '.$_SERVER['DOCUMENT_ROOT'].'/../config/main-config.php');
+ } elseif (@is_readable('../config/main-config.php')==false) {
+ die('FATAL ERROR! Forbidden to read "main-config.php"');
+ } else {
+ die('FATAL ERROR! Unknown error! '.$_SERVER['DOCUMENT_ROOT'].'/../config/main-config.php');
+ }
+ if (defined('_LOCKFILE') && @file_exists(_LOCKFILE)) {
+ include(_BASEDIR.'/update.php');
+ die();
+ }
+}
+
+if (!defined('_SECURECOOKIE')) define('_SECURECOOKIE', true);
+
+define('_BASE_URL',( ($_SERVER['HTTPS']=='on')?"https://".$_SERVER['SERVER_NAME']:"http://".$_SERVER['SERVER_NAME'] ));
+
+/* classic, blue, ajax + rpc, + cron kiegészítés */
+$SKINS = @array_unique(array_merge($SKINS,array('classic','blue','ajax','rpc','gray','cron','api')));
+$SKINSSHOW = @array_unique(array_merge($SKINSSHOW,array('classic','vakbarat','gray')));
+
+if (is_array($POLICIES) && defined('_CONFIGDIR')) {
+ foreach ($POLICIES as $key => $_policy) {
+ if (file_exists(_CONFIGDIR."/$_policy-conf.php")) {
+ @require(_CONFIGDIR."/$_policy-conf.php");
+ if (file_exists(_BASEDIR.'/policy/'.$_policy.'/'.$DEFAULT_PSF[$_policy]['page'].'/'.$DEFAULT_PSF[$_policy]['sub'].'/'.$DEFAULT_PSF[$_policy]['f'].'.php')
+ === false) {
+ //nincs meg ez a file
+ $_SESSION['alert'][] = 'info:file_not_found:default page:'.$_policy.':'.implode(' ',$DEFAULT_PSF[$_policy]);
+ }
+ } else {
+ $DEFAULT_PSF[$_policy] = array();
+ $_SESSION['alert'][] = 'page:file_not_found:'._CONFIGDIR."/$_policy-conf.php";
+ }
+ }
+} else {
+ $_SESSION['alert'][] = 'page:config_error:nincs POLICIES tömb vagy _CONFIGDIR konstans!';
+}
+
+if (!defined('__FBCONNECT_ENABLED')) define('__FBCONNECT_ENABLED',false);
+if (!defined('__SHOW_FACES_TYPE')) define('__SHOW_FACES_TYPE','circle'); // circle, square, classic
+
+$VALID_MODULES =array('portal','naplo','auth','jatek','password','session','fenntarto');
+if(is_array($EXTRA_MODULES)) $VALID_MODULES = array_unique(array_merge($VALID_MODULES,$EXTRA_MODULES));
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/base/error.php b/mayor-orig/mayor-base/www/include/base/error.php
new file mode 100644
index 00000000..e790d65a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/base/error.php
@@ -0,0 +1,44 @@
+<?php
+
+ /* Ezen hibákat továbbra is reportoljuk */
+ error_reporting(E_ERROR | E_PARSE);
+
+ /* Saját Error Handler */
+ function mayorErrorHandler($errno, $errmsg, $filename, $linenum, $vars) {
+
+ $dt = date("Y-m-d H:i:s (T)");
+ $errortype = array (
+ E_ERROR => 'Error', //1
+ E_WARNING => 'Warning', //2
+ E_PARSE => 'Parsing Error', //4
+ E_NOTICE => 'Notice', //8
+ E_CORE_ERROR => 'Core Error', //16
+ E_CORE_WARNING => 'Core Warning', //32
+ E_COMPILE_ERROR => 'Compile Error', //64
+ E_COMPILE_WARNING => 'Compile Warning', //128
+ E_USER_ERROR => 'User Error',
+ E_USER_WARNING => 'User Warning',
+ E_USER_NOTICE => 'User Notice', // 1024
+ E_STRICT => 'Runtime Notice', // 2048
+ E_RECOVERABLE_ERROR => 'Catchable Fatal Error', // 4096
+ E_ALL => 'ALL', //binary 1111111111111
+ );
+ $userError = array(E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE);
+ $trackOnly = array(E_USER_ERROR, E_ERROR, E_USER_WARNING, E_USER_NOTICE, E_WARNING);
+ if (defined('__TESTERRORREPORTERWARN')) $trackOnly[] = E_NOTICE;
+ if (in_array($errno,$userError)) {
+ $err = "$dt $errno ".$errtype[$errno]." $errmsg";
+ } elseif (in_array($errno,$trackOnly)) {
+ $err = "$dt $errno ".$errtype[$errno]." $errmsg $filename $linenum";
+ /* if (in_array($errno, $user_errors)) { $err .= " vartrace(" . wddx_serialize_value($vars, "Variables") . ") ";} */
+ // if (defined('_LOGDIR')) error_log($err, 0, _LOGDIR.'/phperror.log');
+ }
+ if ($err!='') $_SESSION['alert'][] = 'alert:raw:'._MAYORREV.':'._USERACCOUNT.':'.':'.$err;
+ return false;
+ }
+
+ /* Írjuk felül a gyárit */
+ $old_error_handler = set_error_handler("mayorErrorHandler");
+ //restore_error_handler();
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/base/log.php b/mayor-orig/mayor-base/www/include/base/log.php
new file mode 100644
index 00000000..14e214a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/base/log.php
@@ -0,0 +1,33 @@
+<?php
+/*
+ Module: base
+
+ function naploz($aCode)
+ function szamlal($policy,$page)
+*/
+ define('CLIENTIPADDRESS',_clientIp());
+ function _clientIp() {
+ return ($_SERVER['HTTP_X_FORWARDED_FOR']!='')?$_SERVER['HTTP_X_FORWARDED_FOR']:$_SERVER['REMOTE_ADDR'];
+ }
+
+ function logLogin($policy, $userAccount, $flag) { //loginLog
+ $q = "INSERT INTO loginLog (dt,ip,userAccount,policy,flag) VALUES (NOW(),'%s','%s','%s', %u)";
+ db_query($q, array('fv' => 'logLogin', 'modul' => 'login', 'values' => array(_clientIp(), $userAccount, $policy, $flag)));
+ }
+
+ function szamlal($policy, $page) {
+ $q = "INSERT INTO stat (dt, policy, page) VALUES (NOW(),'%s','%s')";
+ db_query($q, array('fv' => 'szamlal', 'modul' => 'login', 'values' => array($policy, $page)));
+ }
+
+ function mayorLogger($loglevel, $modul, $message, $userAccount='') {
+ if ($loglevel>_LOGLEVEL) {
+ $fp = fopen(_LOGDIR.'/'.$modul.'.log','a+');
+ if ($fp!=false) {
+ $msg = date('Y-m-d H:i:s').' '.$userAccount.': '.$message."\n";
+ fputs($fp,$msg);
+ fclose($fp);
+ }
+ }
+ }
+?>
diff --git a/mayor-orig/mayor-base/www/include/base/login.php b/mayor-orig/mayor-base/www/include/base/login.php
new file mode 100644
index 00000000..4624a92a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/base/login.php
@@ -0,0 +1,139 @@
+<?php
+
+ if ($sessionMode===2 || $action == 'mayorGlobalLogin' || $action == 'facebooklogin' || $action== 'googleapilogin') {
+
+ $toPolicy = readVariable($_REQUEST['toPolicy'], 'enum', 'private', $POLICIES);
+ $policyOrderIndex = readVariable($_POST['policyOrderIndex'], 'id', 0);
+
+ $__POLICYORDER[0] = array('private','parent','public');
+ $__POLICYORDER[1] = array('private');
+ $__POLICYORDER[2] = array('parent');
+ $__POLICYORDER[3] = array('public');
+
+ $toSkin = readVariable($_POST['toSkin'], 'enum', readVariable($_GET['toSkin'], 'enum', null, $SKINSSHOW), $SKINSSHOW);
+ @list($toPage,$toSub,$toF) = readVariable(explode(':',$_REQUEST['toPSF']), 'strictstring');
+ $toPSF = "$toPage:$toSub:$toF";
+ // Autentikáció - alapok
+ $fbAuth = false;
+ if (file_exists('include/share/auth/base.php')) {
+ require_once('include/share/auth/base.php');
+ }
+ require_once('include/modules/auth/base/login.php');
+
+ // lejart session-ok torlese
+ require_once('include/share/session/close.php');
+ closeOldAndIdleSessions();
+
+ if (__FBCONNECT_ENABLED===true && $action=='facebooklogin') {
+ if (version_compare(PHP_VERSION, '5.4.0', '<')) {
+ $_SESSION['alert'][] = 'info::facebook:szerver konfigurációs hiba, legalább 5.4-es php verzió szükséges';
+ return false;
+ }
+ require_once('include/share/net/facebook.php');
+ $FBDATA = mayorFacebookAuth(); // preAuth
+ if (is_array($FBDATA) && $FBDATA['accessToken']!="") {
+ $userAccount = $FBDATA['userAccount'];
+ $fbAuth = true;
+ }
+ } elseif (__GOOGLEAPI_ENABLED===true && $action=='googleapilogin') {
+ if (version_compare(PHP_VERSION, '5.5.0', '<')) {
+ $_SESSION['alert'][] = 'info::googleapi:szerver konfigurációs hiba, legalább 5.5-ös php verzió szükséges';
+ return false;
+ }
+ require_once('include/share/net/googleapi.php');
+ $GOOGLEAPIDATA = mayorGoogleApiAuth(); // preAuth
+ if (($GOOGLEAPIDATA) && $GOOGLEAPIDATA['userAccount']!="") {
+ $userAccount = $GOOGLEAPIDATA['userAccount'];
+ $googleapiAuth = true;
+ }
+ } elseif ($sessionMode===2) {
+ $MAYORAPIDATA = mayorApiAuth();
+ if ($MAYORAPIDATA!==false && $MAYORAPIDATA['userAccount']!="") {
+ $userAccount = $MAYORAPIDATA['userAccount'];
+ $toPolicy = $MAYORAPIDATA['toPolicy'];
+ $mayorapiAuth = true;
+ } else {
+ unsetTokenCookies(); // + unregister token
+ }
+ } else {
+ $userPassword = readVariable($_POST['userPassword'], 'string');
+ // $userAccount = readVariable($_POST['userAccount'], 'regexp', null, array("^([a-z]|[A-Z]|[0-9]| |\.|,|_|[űáéúőóüöíŰÁÉÚŐÓÜÖÍäÄ]|-|@)*$"));
+ $userAccount = readVariable($_POST['userAccount'], 'userAccount', null);
+ }
+
+ if (defined('_BOLONDOS') && _BOLONDOS===true) $userAccount = visszafele($userAccount);
+ if (is_array($AUTH[$toPolicy]['allowOnly']) && !in_array($userAccount,$AUTH[$toPolicy]['allowOnly'])) $userAccount='';
+
+ if ($sessionID != '') $accountInformation['sessionID'] = $sessionID;
+ if ($userAccount != '' and ($userPassword != '' or $fbAuth===true or $googleapiAuth===true or $mayorapiAuth === true)) {
+
+ for ($i=0; $i<count($__POLICYORDER[$policyOrderIndex]); $i++) {
+ $toPolicy=$__POLICYORDER[$policyOrderIndex][$i];
+ if (!in_array($AUTH[$toPolicy]['authentication'],array('required','try'))) {
+ continue;;
+ }
+ $accountInformation = array('account' => $userAccount, 'password' => $userPassword, 'policy' => $toPolicy, 'skin'=>$toSkin);
+ if ($fbAuth===true) {
+ if ($FBDATA['toPolicy']==$toPolicy) {
+ $result = _AUTH_SUCCESS; // az authentikációt a mayorFacebookAuth() csinálta
+ $accountInformation['cn'] = $FBDATA['fbUserCn'];
+ $accountInformation['mail'] = $FBDATA['fbUserEmail'];
+ $accountInformation['studyId'] = $FBDATA['studyId'];
+ } else {
+ $_SESSION['alert'][] = 'info:A facebook azonosító nincs még összekötve! Először lépj be a MaYoR-ba, és kezdeményezd a facebook connectet!';
+ continue;;
+ }
+ } elseif ($googleapiAuth===true) {
+ if ($GOOGLEAPIDATA['toPolicy']==$toPolicy) {
+ $result = _AUTH_SUCCESS; // az authentikációt a mayorGoogleapiAuth() csinálta
+ $accountInformation['cn'] = $GOOGLEAPIDATA['googleUserCn'];
+ $accountInformation['mail'] = $GOOGLEAPIDATA['googleUserEmail'];
+ $accountInformation['studyId'] = $GOOGLEAPIDATA['studyId'];
+ } else {
+ $_SESSION['alert'][] = 'info:A google azonosító nincs még összekötve! Először lépj be a MaYoR-ba, és kezdeményezd!';
+ continue;;
+ }
+ } elseif ($mayorapiAuth===true) {
+ if ($MAYORAPIDATA['toPolicy'] == $toPolicy) {
+ $result = _AUTH_SUCCESS; // az authentikációt a mayorApiAuth() csinálta
+ $accountInformation['cn'] = $MAYORAPIDATA['userCn'];
+ // $accountInformation['mail'] = $MAYORAPIDATA['userEmail'];
+ $accountInformation['studyId'] = $MAYORAPIDATA['studyId'];
+ } else {
+ continue;;
+ }
+ } else {
+ $result = userAuthentication($userAccount, $userPassword, $accountInformation, $toPolicy); // ??? toPolicy benne van az AccountInformation-ben!!! Ldap backend only?
+ }
+ logLogin($toPolicy, $userAccount, $result);
+
+ define('_MAYORAUTHRESULT',$result);
+ if ($result === _AUTH_SUCCESS) {
+ $_SESSION['alert'] = array();
+ $sessionID = newSession($accountInformation, $toPolicy);
+ if ($mayorapiAuth!==true) generateAuthToken(array('userAccount'=>$userAccount, 'policy'=>$toPolicy, 'userCn'=>$accountInformation['cn'], 'studyId'=>$accountInformation['studyId'])); // --TODO untrusted clients
+ if ($toSkin == '') $toSkin = $skin;
+ header('Location: '.location("index.php?page=$toPage&sub=$toSub&f=$toF&sessionID=$sessionID&policy=$toPolicy&lang=$lang&skin=$toSkin", array('alertOLD')));
+ break;
+ } elseif ($result === _AUTH_EXPIRED) {
+ $_SESSION['alert'][] = 'message:force_pw_update';
+ header('Location: '.location("index.php?policy=public&page=password&f=changeMyPassword&userAccount=".$userAccount."&toPolicy=$toPolicy&skin=$toSkin", array('alertOLD')));
+ break;
+ } elseif ($result === _AUTH_FAILURE_1) {
+ // nincs ilyen user, megpróbáljuk beauthentikálni parent-tel is.
+ } elseif ($result >= _AUTH_FAILURE) {
+ // sikertelen azonosítás - a hibaüzenetet a függvény generálja
+ // megpróbáljuk beauthentikálni parent-tel is.
+ break;
+ } else {
+ // Ilyen csak hibás függvényműködés esetén lehet:
+ $_SESSION['alert'][] = "message:default:hibás visszatérési érték:userAuthentication:(".serialize($result).")";
+ break;
+ }
+ }
+ } else {
+ $_SESSION['alert'][] = 'message:empty_field';
+ }
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/base/mysql.php b/mayor-orig/mayor-base/www/include/base/mysql.php
new file mode 100644
index 00000000..b2e22f82
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/base/mysql.php
@@ -0,0 +1,396 @@
+<?php
+
+ error_reporting(E_ALL && ~E_NOTICE);
+// error_reporting(E_ALL);
+
+ //if (!defined("MYSQLI_ENABLED")) define("MYSQLI_ENABLED",function_exists('mysqli_connect'));
+ if (!defined("MYSQLI_ENABLED")) define("MYSQLI_ENABLED",false); // egyelőre kikapcsoljuk, mert az Illyés-ben pl egfeküdt a szerver ettől
+ if (is_array($AUTH)) foreach ($AUTH as $_policy => $config) {
+ if ($config['backend'] == 'mysql') {
+ $MYSQL_DATA[$_policy . ' auth'] = array(
+ 'user' => $config['mysql user'],
+ 'host' => $config['mysql host'],
+ 'pw' => $config['mysql pw'],
+ 'db' => $config['mysql db'],
+ );
+ if ($MYSQL_DATA[$_policy . ' auth']['host']=='')
+ if ($MYSQL_DATA['host']=='')
+ $MYSQL_DATA[$_policy . ' auth']['host'] = 'localhost';
+ else
+ $MYSQL_DATA[$_policy . ' auth']['host'] = $MYSQL_DATA['host'];
+ }
+ }
+//-----------------------------------------------------------------------//
+
+ function db_selectDb($db,$lr) {
+ if (MYSQLI_ENABLED===true)
+ return mysqli_select_db($lr,$db);
+ else
+ return mysql_select_db($db,$lr);
+ }
+
+ function db_connect($modul, $SET = array('priv' => null, 'force' => true, 'host'=> null, 'username' => null, 'password' => null, 'db' => null, 'fv' => null)) {
+
+ global $MYSQL_DATA;
+
+ $lr = false;
+ extract($SET);
+ if (!isset($force)) $force = true;
+ if (!isset($priv)) $priv = '';
+
+ //if ($MYSQL_DATA['persistent']===true) $mysql_connect = 'mysql_pconnect'; else $mysql_connect = 'mysql_connect';
+ $mysql_connect = 'mysql_connect';
+ /* setting host */
+ if (!isset($host)) {
+ if ($MYSQL_DATA[$modul]['host'.$priv]=='') {
+ if ($MYSQL_DATA[$modul]['host']=='') {
+ if ($MYSQL_DATA['host']=='') {
+ $host = 'localhost';
+ } else {
+ $host = $MYSQL_DATA['host'];
+ }
+ } else {
+ $host = $MYSQL_DATA[$modul]['host'];
+ }
+ } else {
+ $host = $MYSQL_DATA[$modul]['host'.$priv];
+ }
+ }
+ /* --- */
+ if ($priv == 'root') {
+ if (MYSQLI_ENABLED===true)
+ $lr = @mysqli_connect($host, $username, $password); // force new ???
+ else
+ $lr = @$mysql_connect($host, $username, $password, $force);
+ } else {
+ /* --- */
+ if (is_array($MYSQL_DATA[$modul])) {
+ if (isset($priv) && $priv != '' && isset($MYSQL_DATA[$modul]['user'.$priv])) { // Először megpróbálunk $priv szerinti privilégiummal csatlakozni
+ if (MYSQLI_ENABLED===true)
+ $lr = @mysqli_connect($host, $MYSQL_DATA[$modul]['user'.$priv], $MYSQL_DATA[$modul]['pw'.$priv], $MYSQL_DATA[$modul]['db']);
+ else
+ $lr = @$mysql_connect($host, $MYSQL_DATA[$modul]['user'.$priv], $MYSQL_DATA[$modul]['pw'.$priv], $force);
+ }
+ if ($lr === false) {// Ha nem sikerült, vagy nem volt megadva privilégium, akkor próbáljunk anélkül csatlakozni
+ if (MYSQLI_ENABLED===true)
+ $lr = @mysqli_connect($host, $MYSQL_DATA[$modul]['user'], $MYSQL_DATA[$modul]['pw'], $MYSQL_DATA[$modul]['db']);
+ else
+ $lr = @$mysql_connect($host, $MYSQL_DATA[$modul]['user'], $MYSQL_DATA[$modul]['pw'], $force);
+ }
+ } else {
+ $_SESSION['alert'][] = "message:sql_failure/${SET['fv']}:db_connect:modul $modul has no config";
+ }
+ }
+ if ($lr) {
+ // mysql_set_charset('utf8', $lr);
+ if ($priv != 'root') $db = $MYSQL_DATA[$modul]['db'];
+ if ($db != '') {
+ $result = db_selectDb($db , $lr);
+ if ($result === true) {
+ if (MYSQLI_ENABLED===true) {
+ mysqli_set_charset($lr, "utf8");
+ mysqli_query($lr, "SET NAMES utf8");
+ mysqli_query($lr, "SET collation_connection='utf8_hungarian_ci'");
+ } else {
+ mysql_query("SET NAMES utf8", $lr);
+ mysql_query("SET collation_connection='utf8_hungarian_ci'", $lr);
+ }
+ } else {
+ $_SESSION['alert'][] = "message:sql_select_db_failure:db_connect/${SET['fv']}:$modul:".$MYSQL_DATA[$modul]['db'];
+ mysql_close($lr);
+ return false;
+ }
+ } elseif (!isset($MYSQL_DATA[$modul]['db'])) {
+ $_SESSION['alert'][] = "message:sql_warning:db_connect/${SET['fv']}:modul $modul has empty database config value";
+ }
+ } else {
+ if (__DEBUG || (defined('__DETAILED') && __DETAILED)) $_SESSION['alert'][] = "message:sql_connect_failure:db_connect/${SET['fv']}:modul - $modul, priv - $priv, username - $username, db - $db";
+ else $_SESSION['alert'][] = "message:sql_connect_failure:db_connect/${SET['fv']}:$modul modul";
+ }
+ return $lr;
+
+ }
+
+ function db_close($lr) {
+ if ($MYSQL_DATA['persistent']!==true) {
+ if (MYSQLI_ENABLED===true)
+ return mysqli_close($lr);
+ else
+ return mysql_close($lr);
+ } else
+ return true; // not closing;
+ }
+
+//-----------------------------------------------------------------------//
+
+ function db_query($q, $SET, $olr = null) {
+ /*
+ $SET = array(
+ 'modul' => '...'
+ 'fv' => '...'
+ 'result' => 'indexed'|'assoc'|'multiassoc'|'idonly'|'value'|'record'|'keyvaluepair'|'insert'|'affected rows'
+ 'keyfield' => '...' (if result in (assoc,multiassoc))
+ 'detailed' => true | false (default) (echo the query in error messages)
+ 'debug' => true | false (default) (echo the query before quering it)
+ 'rollback' => true | false (default)
+ 'values' => array(...) (if $q is an sprintf format string)
+ );
+ */
+ global $_JSON;
+
+ if (!isset($q) || $q == '') {
+ $_SESSION['alert'][] = 'message:sql_query_failure:db_query/'.$SET['fv'].':query is empty';
+ return false;
+ }
+
+ if (!isset($SET['result'])) $SET['result'] = '';
+
+ // Adatbázis csatlakozás (ha szükséges)
+ if (isset($olr) && $olr != '') {
+ if (MYSQLI_ENABLED===true)
+ $mysql_get_server_info = mysqli_get_server_info($olr);
+ else
+ $mysql_get_server_info = @mysql_get_server_info($olr);
+ }
+ if (isset($olr) && $olr != '' && $mysql_get_server_info !== false) {
+ $lr = $olr;
+ } else {
+ unset($olr);
+ if (in_array(substr(strtolower($q),0,4), array('sele','show','expl','set ','use '))) $lr = @db_connect($SET['modul'], array('priv' => 'Read', 'fv' => $SET['fv']));
+ else $lr = @db_connect($SET['modul'], array('priv' => 'Write', 'fv' => $SET['fv']));
+ }
+ if ($lr === false) {
+ if ($SET['detailed'] === true || __DETAILED) $_SESSION['alert'][] = 'message:sql_connect_failure:db_query/'.$SET['fv'].':'.$SET['modul'].':'.$q;
+ else $_SESSION['alert'][] = 'message:sql_connect_failure:db_query/'.$SET['fv'];
+ return false;
+ }
+
+ // Ha behelyettesítendő paraméterek vannak
+ if (isset($SET['values']) && is_array($SET['values']) && count($SET['values']) > 0) {
+ $SET['values'] = array_map('db_escape_string', $SET['values'], array_fill(0 , count($SET['values']), $lr));
+ array_unshift($SET['values'], $q);
+ $q_pattern = $q;
+ $q = @call_user_func_array('sprintf', $SET['values']);
+ if ($q === false) {
+ $_SESSION['alert'][] = 'message:wrong_data:db_query:behelyettesítés:'.$SET['fv'];
+ return false;
+ }
+ }
+ if ((isset($SET['debug']) && $SET['debug']===true) || (defined('__DEBUG') && __DEBUG === true)) {
+ $_q = str_replace(" ",'',$q);
+ echo '<pre>info:debug:'.htmlspecialchars($SET['modul'].':'.$SET['fv'].':'.date('Y-m-d H:i:s').': '." \n".$_q)."<hr /></pre>";
+ if ($_GET['skin'] == 'ajax') $_JSON['sql log'][] = $SET['modul'].':'.$SET['fv'].':'.date('Y-m-d H:i:s').': '." \n".$_q;
+ if ($_GET['skin'] == 'rpc') {
+ openlog("MaYoR", LOG_PID | LOG_PERROR, LOG_LOCAL0);
+ syslog(LOG_WARNING, '[RPC]MySQL: '.(json_encode($SET)).", query: $_q {$_SERVER['REMOTE_ADDR']} ({$_SERVER['HTTP_USER_AGENT']})");
+ closelog();
+ }
+ }
+ if (
+ ($SET['detailed'] === true || __DETAILED)
+ && strpos($q_pattern, '%s') !== false
+ && (strpos($q_pattern, '`%s`') === false && strpos($q_pattern, "'%s'") === false)
+ ) $_SESSION['alert'][] = 'message:lehet hiba?:db_query/'.$SET['fv'].':'.$SET['modul'].':'.$q_pattern;
+
+ if ($SET['log']===true) mayorLogger(10,'mysql',$q,_USERACCOUNT);
+ if (MYSQLI_ENABLED===true)
+ $r = mysqli_query($lr,$q);
+ else
+ $r = @mysql_query($q, $lr);
+ define(MYSQL_LOGGER,false);
+ if (MYSQL_LOGGER === true) {
+ $filename = '/tmp/mysql.log';
+ $fp = fopen($filename, "a+");
+ fputs ($fp, $q."\n");
+ fclose ($fp);
+ }
+ /* WARNING HANDLER */
+// if ((isset($SET['debug']) && $SET['debug']===true) || (defined('__DEBUG') &&__DEBUG === true) || (defined('__DETAILED') && __DETAILED===true)) {
+ if ((isset($SET['debug']) && $SET['debug']===true) || (defined('__DEBUG') &&__DEBUG === true)) {
+ if (MYSQLI_ENABLED===true)
+ $warningCountResult = mysqli_query($lr,"SELECT @@warning_count");
+ else
+ $warningCountResult = mysql_query("SELECT @@warning_count",$lr);
+ if ($warningCountResult) {
+ if (MYSQLI_ENABLED===true)
+ $warningCount = mysqli_fetch_row($lr,$warningCountResult);
+ else
+ $warningCount = mysql_fetch_row($warningCountResult);
+ if ($warningCount[0] > 0) {
+ //Have warnings
+ if (MYSQLI_ENABLED===true)
+ $warningDetailResult = mysqli_query($lr, "SHOW WARNINGS");
+ else
+ $warningDetailResult = mysql_query("SHOW WARNINGS",$lr);
+ if ($warningDetailResult ) {
+ if (MYSQLI_ENABLED===true)
+ while ($warning = mysqli_fetch_assoc($lr, $warningDetailResult)) {dump($warning); mayorLogger(2,'mysql',$q.' '.$warning,_USERACCOUNT);}
+ else
+ while ($warning = mysql_fetch_assoc($warningDetailResult)) {dump($warning); mayorLogger(2,'mysql',$q.' '.$warning,_USERACCOUNT);}
+ }
+ }//Else no warnings
+ }
+ }
+ /* WARNING HANDLER */
+ if (!$r) {
+ // if ($SET['detailed'] === true || __DETAILED) $_SESSION['alert'][] = 'message:sql_query_failure:'.$SET['fv'].':'.':'.$q;
+ if ($SET['detailed'] === true || __DETAILED) {
+ if (MYSQLI_ENABLED===true) {
+ $_SESSION['alert'][] = 'message:sql_query_failure:mysqli:'.$SET['fv'].':'.mysqli_error($lr).':'.$q;
+ } else {
+ $_SESSION['alert'][] = 'message:sql_query_failure:mysql:'.$SET['fv'].':'.mysql_error($lr).':'.$q;
+ }
+ } else {
+ $_SESSION['alert'][] = 'message:sql_query_failure:'.$SET['fv'];
+ }
+ if ($SET['rollback'] === true) db_rollback($lr, $SET['fv']);
+ if (!isset($olr)) db_close($lr);
+ return false;
+ }
+
+ if (MYSQLI_ENABLED === true) {
+
+ if (in_array(substr(strtolower($q),0,4), array('sele','show','expl','(sel'))) {
+ $RESULT = array();
+ switch($SET['result']) {
+ case 'indexed':
+ while ($A = mysqli_fetch_assoc($r)) $RESULT[] = $A;
+ break;
+ case 'assoc':
+ while ($A = mysqli_fetch_assoc($r)) $RESULT[$A[$SET['keyfield']]] = $A;
+ break;
+ case 'multiassoc':
+ while ($A = mysqli_fetch_assoc($r)) $RESULT[$A[$SET['keyfield']]][] = $A;
+ break;
+ case 'idonly':
+ while ($A = mysqli_fetch_row($r)) $RESULT[] = $A[0];
+ break;
+ case 'value':
+ if (mysqli_num_rows($r) > 0) {
+ $A = mysqli_fetch_row($r); $RESULT = $A[0];
+ } else { $RESULT = null; }
+ break;
+ case 'record':
+ if (mysqli_num_rows($r) > 0) {
+ $A = mysqli_fetch_assoc($r); $RESULT = $A;
+ } else { $RESULT = null; }
+ break;
+ case 'keyvaluepair':
+ while ($A = mysqli_fetch_row($r)) $RESULT[$A[0]] = $A[1];
+ break;
+ case 'keyvalues':
+ while ($A = mysqli_fetch_row($r)) $RESULT[$A[0]][] = $A[1];
+ break;
+ }
+ } elseif ($SET['result'] == 'insert' && (substr(strtolower($q),0,6) == 'insert' || substr(strtolower($q),0,7) == 'replace')) {
+ $RESULT = mysqli_insert_id($lr);
+ mayorLogger(1,'mysql',$q,_USERACCOUNT);
+ } elseif ($SET['result'] == 'affected rows') {
+ $RESULT = mysqli_affected_rows($lr);
+ mayorLogger(1,'mysql',$q,_USERACCOUNT);
+ } else { // create, insert, de nem olyan resulttal...
+ $RESULT = $r;
+ mayorLogger(1,'mysql',$q,_USERACCOUNT);
+ }
+ } else { // OLD DRIVER
+
+ if (in_array(substr(strtolower($q),0,4), array('sele','show','expl','(sel'))) {
+ $RESULT = array();
+ switch($SET['result']) {
+ case 'indexed':
+ while ($A = mysql_fetch_assoc($r)) $RESULT[] = $A;
+ break;
+ case 'assoc':
+ while ($A = mysql_fetch_assoc($r)) $RESULT[$A[$SET['keyfield']]] = $A;
+ break;
+ case 'multiassoc':
+ while ($A = mysql_fetch_assoc($r)) $RESULT[$A[$SET['keyfield']]][] = $A;
+ break;
+ case 'idonly':
+ while ($A = mysql_fetch_row($r)) $RESULT[] = $A[0];
+ break;
+ case 'value':
+ if (mysql_num_rows($r) > 0) {
+ $A = mysql_fetch_row($r); $RESULT = $A[0];
+ } else { $RESULT = null; }
+ break;
+ case 'record':
+ if (mysql_num_rows($r) > 0) {
+ $A = mysql_fetch_assoc($r); $RESULT = $A;
+ } else { $RESULT = null; }
+ break;
+ case 'keyvaluepair':
+ while ($A = mysql_fetch_row($r)) $RESULT[$A[0]] = $A[1];
+ break;
+ case 'keyvalues':
+ while ($A = mysql_fetch_row($r)) $RESULT[$A[0]][] = $A[1];
+ break;
+ }
+ } elseif ($SET['result'] == 'insert' && (substr(strtolower($q),0,6) == 'insert' || substr(strtolower($q),0,7) == 'replace')) {
+ $RESULT = mysql_insert_id($lr);
+ mayorLogger(1,'mysql',$q,_USERACCOUNT);
+ } elseif ($SET['result'] == 'affected rows') {
+ $RESULT = mysql_affected_rows($lr);
+ mayorLogger(1,'mysql',$q,_USERACCOUNT);
+ } else { // create, insert, de nem olyan resulttal...
+ $RESULT = $r;
+ mayorLogger(1,'mysql',$q,_USERACCOUNT);
+ }
+ } // DRIVER
+
+ if (!isset($olr)) db_close($lr);
+ return $RESULT;
+
+ }
+
+//-----------------------------------------------------------------------//
+
+ function db_start_trans($lr) {
+ if ($lr != '')
+ if (MYSQLI_ENABLED === true)
+ mysqli_query($lr, "START TRANSACTION");
+ else
+ mysql_query("START TRANSACTION", $lr);
+ }
+
+ function db_commit($lr) {
+ if ($lr != '')
+ if (MYSQLI_ENABLED === true)
+ mysqli_query($lr, "COMMIT");
+ else
+ mysql_query("COMMIT", $lr);
+ }
+
+ function db_rollback($lr, $msg = '') {
+ if ($lr != '') {
+ $_SESSION['alert'][] = 'message:rollback:'.$msg;
+ if (MYSQLI_ENABLED === true)
+ mysqli_query($lr, "ROLLBACK");
+ else
+ mysql_query("ROLLBACK", $lr);
+ }
+ }
+
+//---------------------------------------------------------------------//
+
+ function db_escape_string($str, $olr = null) {
+
+ if (isset($olr)) $lr = $olr;
+ else $lr = db_connect('login');
+
+ if (!$lr) return false;
+
+ if(get_magic_quotes_gpc()) {
+ $return = mysql_real_escape_string(stripslashes($str), $lr);
+ } else {
+ if (MYSQLI_ENABLED===true)
+ $return = mysqli_real_escape_string($lr, $str);
+ else
+ $return = mysql_real_escape_string($str, $lr);
+ }
+ if (!isset($olr)) db_close($lr);
+
+ return $return;
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/base/rights.php b/mayor-orig/mayor-base/www/include/base/rights.php
new file mode 100644
index 00000000..dc6b7aa7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/base/rights.php
@@ -0,0 +1,397 @@
+<?php
+
+// --TODO-- ez nem ide való!
+require_once('include/modules/auth/base/token.php');
+
+
+/*
+ Module: base
+
+ validUser($sessionID,$policy,$skin='',$lang='')
+
+ - ellenőrizzük a $page, $sub, $f formai helyességét
+ - validUser - ellenőrzi, hogy be vagyunk-e jelentkezve, beállítja a konstansokst, ha kell elküld az auth oldalra
+ - validUser esetén a session kezelő fv-ek csatolása (backend függő)
+ - a module, psf include fájlainak és a pre fájlnak a csatolása
+
+ A validUser fv két funkciót lát el egyszerre (ellenőriz, és konstans beállít).
+ A konstansokat (pl. _SESSIONID) csak az aktuális policy-re állítjuk, a toPolicyra nem.
+ A validUser figyelembe veszi a _SESSION_MAX_IDLE_TIME konstans értékét: ha az activity+_SESSION_MAX_IDLE_TIME már elmúlt - akkor elutasít,
+ különben az aktivity értékét frissíti.
+
+ a '_POLICY'-t a base.php-ben definiáljuk.
+
+*/
+function sessionHash($algo='ripemd160', $hashThis='')
+{
+ if ($hashThis=='') $hashThis = uniqid(rand(), true);
+ if (!in_array($algo,hash_algos())) $algo = 'sha1';
+ $sessionID = substr( hash($algo, $hashThis), 0, 40 ); // 40: sha1, ripem160
+ return $sessionID;
+}
+
+if(!function_exists('hash_equals')) { // lásd még str
+ function hash_equals($str1, $str2) {
+ if(strlen($str1) != strlen($str2)) {
+ return false;
+ } else {
+ $res = $str1 ^ $str2;
+ $ret = 0;
+ for($i = strlen($res) - 1; $i >= 0; $i--) $ret |= ord($res[$i]);
+ return !$ret;
+ }
+ }
+}
+
+
+function sessionCookieEncode($sessionID,$now,$extra='')
+{
+ if ($extra=='') $extra = uniqid(rand(), true);
+ $extraHash=sessionHash('ripemd160',$extra);
+ $pwHash = sessionHash('ripemd160',uniqid(rand(), true));
+ $value = base64_encode(strtotime($now).'g'.$extraHash.'g'.$pwHash);
+ return array('name'=>($sessionID), 'value'=>$value, 'store'=> $extraHash, 'pwHash'=>$pwHash);
+}
+
+function sessionCookieDecode($sessionID)
+{
+ return explode('g',base64_decode($_COOKIE[($sessionID)]));
+}
+
+function pseudoTokenGenerator() {
+
+ if (function_exists('openssl_random_pseudo_bytes'))
+ $token = bin2hex(openssl_random_pseudo_bytes(32));
+ else
+ $token = bin2hex(sessionHash());
+ return $token;
+}
+
+######################################################################
+# Azonosított user ellenőrzése a session tábla alapján
+######################################################################
+
+function validUser($sessionID,$policy,$skin='',$lang='') {
+ global $page;
+ if (_RUNLEVEL === 'cron') {
+ define('_USERPASSWORD','MaYoR-cron');
+ define('_USERACCOUNT','MaYoR-cron');
+ define('_USERCN','MaYoR-cron User');
+ define('_STUDYID','');
+ define('_LANG',$lang);
+ define('_SESSIONID','cron');
+ return true;
+ }
+
+// if ($sessionID == '' || $MAYORAPIAUTH['valid']!==true) {
+ if ($sessionID == '') {
+ $MAYORAPIAUTH = mayorApiAuth(); // van-e hosszulejáratu session-je
+ if ($policy == _POLICY && $MAYORAPIAUTH['valid']!==true) {
+ define('_USERPASSWORD','');
+ define('_USERACCOUNT','');
+ define('_USERCN','');
+ define('_STUDYID','');
+ define('_LANG',$lang);
+ define('_SESSIONID','');
+ }
+ return false;
+ } else {
+
+ $lr = db_connect('login', array('fv' => 'validUser'));
+
+ if ($lr === false) die('A keretrendeszer adatbázisa nem érhető el! (validUser)');
+ // ha nem tudta beállítani a sütit, akkor az $_sc üres lesz így a dt feltétel 1970-01-01, ami nem gond.
+ list($_sessionDt,$_sessionCookie,$_sessionPwHash) = sessionCookieDecode($sessionID);
+ $query = "SELECT userAccount, userCn, studyId, aes_decrypt(userPassword, '%s'), skin, lang, activity, dt
+ FROM session WHERE sessionID='%s' AND policy='%s'"; // [SECURITY-002] quickfix from marton.drotos@sztaki.hu
+
+ if (defined('_SESSION_MAX_IDLE_TIME') and _SESSION_MAX_IDLE_TIME != 0) $query .= " AND activity + INTERVAL "._SESSION_MAX_IDLE_TIME." HOUR > NOW()";
+
+ $query .= " AND dt='".date('Y-m-d H:i:s', (($_sessionDt=="")?null:$_sessionDt) )."'";
+ $query .= " AND sessionCookie='%s'";
+
+ $ret = db_query($query, array('fv' => 'validUser', 'modul' => 'login', 'result' => 'indexed', 'values' => array($_sessionPwHash, $sessionID, $policy, $_sessionCookie)), $lr);
+ $num = count($ret);
+ $sessionMode = 1;
+
+ // ha nincs találat, nézzük meg, van-e a kliensnek hosszú lejáratú tokenje, kivéve, ha ...
+ if ($num !== 1 && $page!='password') {
+ $MAYORAPIAUTH = mayorApiAuth();
+ if ($MAYORAPIAUTH['valid'] === true) {
+ global $sessionMode;
+ $sessionMode = 2;
+ // reauth AS:
+ $toPolicy = $MAYORAPIAUTH['policy'];
+ $userAccount = $MAYORAPIAUTH['userAccount'];
+ $userCn = $MAYORAPIAUTH['userCn'];
+ $studyId = $MAYORAPIAUTH['studyId'];
+ $userPassword = '';
+ $lang = _DEFAULT_LANG;
+ } else {
+ unsetTokenCookies();
+ }
+ } // --token vizsgálat vége
+
+ if ($num == 1) {
+
+ if ($sessionMode == 1) list($userAccount, $userCn, $studyId, $userPassword, $savedSkin, $lang, $activity, $dt) = array_values($ret[0]);
+ global $SKINS;
+ if (_USER_AGENT!=='ppc' && @in_array($savedSkin,$SKINS) ) $skin=$savedSkin;
+ if ($policy == _POLICY) {
+ define('_USERACCOUNT',$userAccount);
+ define('_USERCN',$userCn);
+ define('_STUDYID',$studyId);
+ define('_USERPASSWORD',$userPassword);
+// define('_SKIN',$skin);
+ define('_LANG',$lang);
+ define('_SESSIONID',$sessionID);
+ }
+
+ // Aktivitás figyelése! // hopp, nem biztos, hogy van session!
+ $query = "UPDATE session SET activity = NOW() WHERE sessionID = '%s'";
+ db_query($query, array('fv' => 'validUser', 'modul' => 'login', 'values' => array($sessionID)), $lr);
+ db_close($lr);
+ return true;
+
+ } else {
+
+ if ($policy == _POLICY) {
+ define('_USERPASSWORD','');
+ define('_USERACCOUNT','');
+ define('_USERCN','');
+ define('_STUDYID','');
+// define('_SKIN',$skin);
+ define('_LANG',$lang);
+ define('_SESSIONID','');
+ }
+ db_close($lr);
+ if ($num > 1) $_SESSION['alert'][] = 'message:multi_session';
+ if ($_sessionDt==="") define('_NOCOOKIE',true); // beállítjuk, hogy üzenni tudjunk
+
+ return false;
+
+ }
+
+ }
+
+}
+
+//===================================================================================================================================
+// ------------------------------------------
+// debug üzenetek tárolása - a $_DEBUG változóba kerül midnen
+// ------------------------------------------
+ if (_RUNLEVEL!=='cron') ob_start();
+
+// ------------------------------------------
+// a $page, $sub és $f csak a-z betűvel kezdődhet, utána pedig csak (a-z, /_-). $page és $f nem lehet üres
+// ------------------------------------------
+
+ if (
+ (preg_match('#^([a-z]|[A-Z])([0-9]|[a-z]|[A-Z]|/|_|-)*$#', $page) == false) OR
+ ($sub != '' AND preg_match('#^([a-z]|[A-Z])([0-9]|[a-z]|[A-Z]|/|_|-)*$#', $sub) == false) OR
+ (preg_match('#^([0-9]|[a-z]|[A-Z]|_|-)*$#', $f) == false)
+ ) {
+ $_SESSION['alert'][] = 'page:wrong_page:';
+ $RIGHTS_OK = false;
+ } else {
+ $RIGHTS_OK = true;
+ }
+
+// ------------------------------------------
+// Security Check: $policy szerinti ellenőrzés
+// ------------------------------------------
+
+ // A validUser (session.php) beállítja az alapvető session konstansokat is
+ if ( !validUser($sessionID,$policy,$skin,$lang) ) {
+ if ($AUTH[$policy]['authentication'] == 'required') {
+ if (defined('_NOCOOKIE')) $_SESSION['alert'][] = 'message:cookie';//$extendAlert='alert[]=message:cookie&';
+ $_SESSION['alert'][]='message:auth_failure:'._CONTROL_FLAG_REQUIRED;
+ header('Location: index.php?policy=public&page=auth&f=login&toPolicy='.$policy."&toPSF=$page:$sub:$f&sessionID=$sessionID");
+ die();
+ } else {
+ // Hibás, vagy nem létező sessionID esetének kezelése - ha nem kötelező a sessionID --> nem csinálunk semmit (lehet egy másik policy-ben valid
+ }
+
+ }
+ if (file_exists('include/share/session/base.php')) {
+ // A session kezeléshez szükséges backend függő függvények pl. memberOf
+ require('include/share/session/base.php');
+
+ }
+ // Remote Protocol Call (MaYoR)
+ if ($skin=='rpc') {
+ define('_RPC',true);
+ require_once('include/share/ssl/ssl.php');
+ try
+ {
+ $_RPC['senderNodeId'] = $senderNodeId = readVariable($_POST['senderNodeId'],'strictstring',0);
+ $RPC = new Interconnect();
+ $RPC->setRequestTarget('controller'); // A remoteHost lekérdezéshez kellhet
+ $RPC->setRemoteHostByNodeId($_RPC['senderNodeId']);
+ $RPC->processRequest(); // vélhetően van request
+ $_RPC['request'] = $RPC->getIncomingRequest();
+ }
+ catch (Exception $e)
+ {
+ //$func='';
+ //$DATA = array('error'=>$e->getMessage());
+ }
+ } else { define('_RPC',false); }
+ // Interconnect end
+
+ define('_RIGHTS_OK',$RIGHTS_OK);
+
+ /* XSRF2 */
+ define('__SALTNAME','MS_'.sha1($page.'_'.$sub.'_'.$f));
+ define('__SALTVALUE',sessionHash());
+ // mtoken
+ if (empty($_SESSION['mayorToken'])) {
+ $_SESSION['mayorToken'] = pseudoTokenGenerator();
+ }
+ if (count($_POST)>0) {
+ if (!empty($_POST['mayorToken'])) {
+ if (hash_equals($_SESSION['mayorToken'], $_POST['mayorToken'])) {
+ // OK, token regenerálás + visszakuldjuk az ETAG-ben
+ $_SESSION['mayorToken'] = pseudoTokenGenerator();
+ } else {
+ if ($_POST['action']!='') { /* Ha nincs action formváltozó, nincs szükség hibaüzenetre, a form nem módosít, de most... */
+ $_SESSION['alert'][] = 'message:not_valid_form:pnu2';
+ $_JSON['result'] = false;
+ }
+ unset($_POST['action']);
+ unset($action);
+ }
+ } else { // klasszikus ellenőrzés, fallback
+ echo 'FATAL ERROR 696';
+ die();
+ /*
+ // $_JSON['result'] = false; // ITT gátolhatjuk a működést
+ if ($_COOKIE[__SALTNAME]=='') { // a session átállásig - ez semmitől nem véd, adott nevű sütit generálni bárki tud
+ $_SESSION['alert'][] = 'message:not_valid_form:no cookie'.$_SESSION[__SALTNAME];
+ $_JSON['result'] = false;
+ unset($_POST['action']);
+ unset($action);
+ } elseif (!is_null($_COOKIE[__SALTNAME]) && ($_COOKIE[__SALTNAME] == $_POST[__SALTNAME])) {
+ // rendben
+ } else {
+ if ($_POST['action']!='') { // Ha nincs action formváltozó, nincs szükség hibaüzenetre, a form nem módosít
+ $_SESSION['alert'][] = 'message:not_valid_form';
+ $_JSON['result'] = false;
+ }
+ unset($_POST['action']);
+ unset($action);
+ }
+ */
+ } // END DEPRECATED BLOCK
+ }
+ // eredeti post kezelés + ETAG prevent cache
+ if (($_SERVER['HTTPS']!=='on') || (isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER']!='' && substr($_SERVER['HTTP_REFERER'],4,1)!=='s')) $_ssl = false; else $_ssl=true;
+
+//4400 if (@setcookie('xxxDEPRECATEDxxx_'.__SALTNAME,__SALTVALUE,time()+60*60*_SESSION_MAX_IDLE_TIME,'/','',$_ssl, true) == false) {
+//4400 $_SESSION['alert'][] = 'message:no_cookie:unabletoset';
+//4400 }
+
+
+ /* /XSRF2 previous revision: r4138 */
+
+ // betöltjük az össes config-ot... (lásd még widgets)
+ try {
+ $_dirlist = scandir(_CONFIGDIR);
+ for ($i=0; $i<count($_dirlist); $i++) {
+ $_dir = $_dirlist[$i];
+ if (is_dir(_CONFIGDIR.'/'.$_dir) && substr($_dir,0,7)=='module-') {
+ $_configFile = _CONFIGDIR . "/".$_dir.'/config.php';
+ list($_rest,$_module) = explode('-',$_dir);
+ if (in_array($_module,$VALID_MODULES)) {
+ $_loadModule[] = $_module;
+ if (file_exists($_configFile)) {
+ require_once($_configFile);
+ }
+ }
+ }
+ }
+ } catch (Exception $e) {
+ $_SESSION['alert'][] = 'info:config hiba:'.$e->getMessage();
+ }
+ // ha betöltenénk az ÖSSZES modul include-jait, akkor be kéne mindent tölteni kb. ugyhogy ezt hagyjuk
+ if ($dh_all = @opendir("include/widgets/")) {
+ $includes = array();
+ while (($_file = readdir($dh_all)) !== false) {
+ if (substr($_file,-4) == '.php') $includes[] = $_file;
+ }
+ closedir($dh_all);
+ sort($includes);
+ for ($i = 0; $i < count($includes); $i++) {
+ require_once("include/widgets/".$includes[$i]);
+ }
+ }
+ unset($file);
+ /* ---- */
+ if (!in_array($page,$_loadModule)) $_loadModule[] = $page;
+ for ($i=0; $i<count($_loadModule); $i++) {
+ $_module = $_loadModule[$i];
+ if (in_array($_module,$VALID_MODULES)) {
+ if ($dh = @opendir("include/modules/$_module/base")) {
+ $includes = array();
+ while (($file = readdir($dh)) !== false) {
+ if (substr($file,-4) == '.php') $includes[] = $file;
+ }
+ closedir($dh);
+ sort($includes);
+ for ($j = 0; $j < count($includes); $j++) {
+ require_once("include/modules/$_module/base/".$includes[$j]);
+ }
+ }
+ }
+ }
+ unset($file);
+ /* ---- */
+
+
+ $skinFile = _CONFIGDIR."/skin-$skin/$page-config.php";
+ if ($sub == '') {
+ $includeFile = "include/modules/$page/$f.php";
+ $preFile = "policy/$policy/$page/$f-pre.php";
+ $pageFile = "policy/$policy/$page/$f.php";
+ $staticFile = "static/$lang/$page/$f.html";
+ } else {
+ $includeFile = "include/modules/$page/$sub/$f.php";
+ $preFile = "policy/$policy/$page/$sub/$f-pre.php";
+ $pageFile = "policy/$policy/$page/$sub/$f.php";
+ $staticFile = "static/$lang/$page/$sub/$f.html";
+ }
+ if (!file_exists($preFile) && !file_exists($pageFile) && !file_exists($staticFile))
+ $_SESSION['alert'][] = 'page:page_missing:'.$page.'-'.$sub.'-'.$f;
+ /* DEFAULTS zcheck() */
+ if (defined('_ENABLE_IFRAME_EMBEDING'))
+ define('_ENABLE_IFRAME_EMBEDDING',_ENABLE_IFRAME_EMBEDING);
+ elseif (!defined('_ENABLE_IFRAME_EMBEDDING'))
+ define('_ENABLE_IFRAME_EMBEDDING',false);
+
+ if (!defined('__MAX_MENU')) define('__MAX_MENU',7);
+
+ if (!defined('__SUPPORT_EMAIL_ADDRESS')) {
+ if (!defined('__EMAIL_ENABLED')) define('__EMAIL_ENABLED',false);
+ } elseif (!defined('__SUPPORT_EMAIL_NAME')) {
+ define('__SUPPORT_EMAIL_NAME',_SITE.' support');
+ if (!defined('__EMAIL_ENABLED')) define('__EMAIL_ENABLED',true);
+ } else {
+ if (!defined('__EMAIL_ENABLED')) define('__EMAIL_ENABLED',true);
+ }
+ // ---------
+ //Breadcrumb
+ if (count($_SESSION['breadcrumb'])>10) array_shift($_SESSION['breadcrumb']);
+ $_SESSION['breadcrumb'][] = array('page'=>"$page",'sub'=>"$sub",'f'=>"$f");
+ // ---------
+ if (file_exists($includeFile)) require($includeFile);
+ if (file_exists($skinFile)) require($skinFile);
+ if (file_exists($preFile)) include($preFile);
+
+// ---------------------------------------
+// debug üzenetek tárolásának vége
+// ---------------------------------------
+ $_DEBUG = ob_get_contents();
+ ob_end_clean();
+
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/include/base/str.php b/mayor-orig/mayor-base/www/include/base/str.php
new file mode 100644
index 00000000..5c5a7c07
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/base/str.php
@@ -0,0 +1,230 @@
+<?php
+/*
+ Module: base
+
+ function kisbetus($str)
+ function nagybetus($str)
+ function ekezettelen($str)
+ function utf8_to_iso88592($str)
+ function iso88592_to_utf8($str)
+ function str_cmp($a,$b)
+*/
+
+mb_internal_encoding("UTF-8");
+
+// -------------------------------------------------------------------
+// Kisbetűssé konvertálás (a magyar ékezetes karaktereket is)
+// -------------------------------------------------------------------
+
+function kisbetus($str) {
+ $str = strtolower(mb_convert_encoding($str, 'ISO-8859-2', 'UTF-8'));
+ $str = strtr($str, "", "");
+ $str = mb_convert_encoding($str, 'UTF-8', 'ISO-8859-2');
+ return $str;
+}
+
+// -------------------------------------------------------------------
+// Nagybetűssé konvertálás (a magyar ékezetes karaktereket is)
+// -------------------------------------------------------------------
+
+function nagybetus($str) {
+ $str = strtoupper(mb_convert_encoding($str, 'ISO-8859-2', 'UTF-8'));
+ $str = strtr($str, "", "");
+ $str = mb_convert_encoding($str, 'UTF-8', 'ISO-8859-2');
+ return $str;
+}
+
+// -------------------------------------------------------------------
+// Ékezettelenné konvertálás (UTF-8 --> Lat2 --> ékezettelen)
+// -------------------------------------------------------------------
+
+function ekezettelen($str) {
+ return strtr(mb_convert_encoding($str, 'ISO-8859-2', 'UTF-8'), '', 'aaeiooouuuAAEIOOOUUU');
+}
+
+/*
+// ---------------------------------------------------------------------------
+//
+// UTF8 <--> ISO88592 váltás
+//
+// ---------------------------------------------------------------------------
+
+function UTF8_to_ISO88592($str) {
+
+ return mb_convert_encoding($str,'ISO-8859-2','UTF-8');
+
+}
+
+function ISO88592_to_UTF8($str) {
+
+ return mb_convert_encoding($str,'UTF-8','ISO-8859-2');
+
+}
+*/
+
+// ---------------------------------------------------------------------------
+//
+// Két string összehasonlítása a magyar ABC szerint ($a < $b => -1)
+//
+// ---------------------------------------------------------------------------
+
+function str_cmp($a,$b) {
+
+ $ABC = Array('a'=>1,
+ ''=>1,
+ ''=>1,
+ 'b'=>3,
+ 'c'=>4,
+ 'd'=>5,
+ 'e'=>6,
+ ''=>7,
+ 'f'=>8,
+ 'g'=>9,
+ 'h'=>10,
+ 'i'=>11,
+ ''=>12,
+ 'j'=>13,
+ 'k'=>14,
+ 'l'=>15,
+ 'm'=>16,
+ 'n'=>17,
+ 'o'=>18,
+ ''=>18,
+ ''=>20,
+ ''=>20,
+ 'p'=>22,
+ 'q'=>23,
+ 'q'=>24,
+ 'r'=>25,
+ 's'=>26,
+ 't'=>27,
+ 'u'=>28,
+ ''=>28,
+ ''=>30,
+ ''=>30,
+ 'v'=>32,
+ 'x'=>33,
+ 'w'=>34,
+ 'y'=>35,
+ 'z'=>36
+ );
+
+ $a = kisbetus(mb_convert_encoding($a,'ISO-8859-2','UTF-8'));
+ $b = kisbetus(mb_convert_encoding($b,'ISO-8859-2','UTF-8'));
+
+ if ($a==$b) return 0;
+
+ $i=0;
+ while( $i<strlen($a) && $i<strlen($b) && $a[$i]==$b[$i]) {
+ $i++;
+ }
+
+ if ($i==strlen($a) && $i<strlen($b)) {
+ return 1;
+ } elseif ($i==strlen($b) && $i<strlen($a)) {
+ return -1;
+ } elseif ($ABC[$a[$i]] < $ABC[$b[$i]]) {
+ return -1;
+ } else {
+ return 1;
+ }
+}
+
+ function decimal_to_roman($number) {
+ $roman = '';
+ while ($number >= 1000) { $roman .= "M"; $number = $number -1000; }
+ while ($number >= 900) { $roman .= "CM"; $number = $number -900; }
+ while ($number >= 500) { $roman .= "D"; $number = $number -500; }
+ while ($number >= 400) { $roman .= "CD"; $number = $number -400; }
+ while ($number >= 100) { $roman .= "C"; $number = $number -100; }
+ while ($number >= 90) { $roman .= "XC"; $number = $number -90; }
+ while ($number >= 50) { $roman .= "L"; $number = $number -50; }
+ while ($number >= 40) { $roman .= "XL"; $number = $number -40; }
+ while ($number >= 10) { $roman .= "X"; $number = $number -10; }
+ while ($number >= 9) { $roman .= "IX"; $number = $number -9; }
+ while ($number >= 5) { $roman .= "V"; $number = $number -5; }
+ while ($number >= 4) { $roman .= "IV"; $number = $number -4; }
+ while ($number >= 1) { $roman .= "I"; $number = $number -1; }
+ return $roman;
+ }
+
+ function visszafele($e) {$b='';for($i=0; $i<mb_strlen($e,'utf-8'); $i++) $b = mb_substr($e,$i,1).$b; return $b;}
+
+ function mayor_array_join ($a='') {
+ $ARGS = func_get_args();
+ $x = array();
+ for ($i=0;$i<count($ARGS);$i++) {
+ $a = $ARGS[$i];
+ if (is_array($a)) foreach($a as $v) $x[] = $v; elseif ($a!='') $x[] = $a;
+ }
+ return $x;
+ }
+
+ if(!function_exists('hash_equals')) {
+ function hash_equals($str1, $str2) {
+ if(strlen($str1) != strlen($str2)) {
+ return false;
+ } else {
+ $res = $str1 ^ $str2;
+ $ret = 0;
+ for($i = strlen($res) - 1; $i >= 0; $i--) $ret |= ord($res[$i]);
+ return !$ret;
+ }
+ }
+ }
+
+ if ( !function_exists( 'hex2bin' ) ) {
+ function hex2bin( $str ) {
+ $sbin = "";
+ $len = strlen( $str );
+ for ( $i = 0; $i < $len; $i += 2 ) {
+ $sbin .= pack( "H*", substr( $str, $i, 2 ) );
+ }
+ return $sbin;
+ }
+ }
+
+ function makeLinksClickable($text){
+ $pattern[] = '/(\S+@\S+\.\S+)/';
+ $replace[] = '<a href="mailto:$1">$1</a>';
+ $pattern[] = '!(((f|ht)tp(s)?://)[-a-zA-Zа-яА-Я()0-9@:%_+.~#?&;//=]+)!i';
+// $replace[] = '<a href="$1" target="_blank">$1</a> <a href="$1" target="_blank"><span class="icon-circle-arrow-right"></span></a>';
+ $replace[] = '<a href="$1" target="_blank">[LINK]</a>';
+ return preg_replace($pattern, $replace, $text);
+ }
+ function supertext($txt) {
+ $r = $txt;
+ $r = htmlspecialchars($r);
+ $pattern[]='/@diakId:(\d+)/';
+ $pattern[]='/@tanarId:(\d+)/';
+ $pattern[]='/@tankorId:(\d+)/';
+ //$pattern[]='/@osztalyId:(\d+)/';
+ $replacement[]='<b><span class="diakNev icon-child" data-diakid="${1}"></span></b>';
+ $replacement[]='<b><span class="tanarNev icon-adult" data-tanarid="${1}"></span></b>';
+ $replacement[]='<b><span class="tankorAdat" data-tankorid="${1}">[tankör adatok]</span></b>';
+ //$replacement[]='<b><span class="osztalyAdat" data-osztalyid="${1}">[osztály adatok]</span></b>';
+ $r = preg_replace($pattern,$replacement,$r);
+ return $r;
+ }
+
+
+ require_once('include/share/date/names.php');
+ function superdate($datetime) {
+ global $aHetNapjai;
+ $stamp = strtotime($datetime);
+ $date = date('Y-m-d',$stamp);
+ $dow = date('N',$stamp);
+ $Hi = date('H:i',$stamp);
+ if ($Hi == '00:00') $Hi = '';
+ if ($stamp<=strtotime('-6 day')) {
+ return date('Y.m.d.', $stamp).' '.$Hi;
+ } elseif ($date==date('Y-m-d')) {
+ return 'Ma '.$Hi;
+ } elseif ($dow>date('N')) {
+ return 'Múlt hét '.kisbetus($aHetNapjai[$dow-1]).' '.$Hi;
+ } else {
+ return $aHetNapjai[$dow-1].' '.$Hi;
+ }
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/base/var.php b/mayor-orig/mayor-base/www/include/base/var.php
new file mode 100644
index 00000000..3068fbc6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/base/var.php
@@ -0,0 +1,134 @@
+<?php
+ /*
+ Példa:
+ $szuletesiEv = readVariable($_POST['sze'], 'numeric unsigned', null, array(), '1900<$return && $return<2100');
+ */
+ function readVariable( $IN, $type = '', $default = null, $allowOnly = array(), $condition = null ) {
+
+ if (is_array($IN)) {
+ $return = array();
+ for ($i = 0; $i < count($IN); $i++) {
+ $_var = readVariable($IN[$i], $type, $default, $allowOnly, $condition);
+ if (isset($_var)) $return[] = $_var;
+ }
+ } else {
+ switch ($type) {
+ case 'numeric':
+ $return = (isset($IN) && is_numeric($IN)) ? intval($IN) : $default;
+ break;
+ case 'id':
+ case 'numeric unsigned':
+ $return = (isset($IN) && is_numeric($IN) && $IN >= 0) ? intval($IN) : $default;
+ break;
+ case 'float':
+ $return = (isset($IN) && is_numeric($IN)) ? floatval($IN) : $default;
+ break;
+ case 'float unsigned':
+ $return = (isset($IN) && is_numeric($IN) && $IN >= 0) ? floatval($IN) : $default;
+ break;
+ case 'datetime':
+ $return = (isset($IN) && $IN != '' && strtotime($IN) !== false && strtotime($IN) > 0) ? $IN : $default;
+ break;
+ case 'date':
+ $return = (isset($IN) && $IN != '' && strtotime($IN) !== false && strtotime($IN) > 0) ? date('Y-m-d',strtotime($IN)) : $default;
+ break;
+ case 'enum':
+ case 'emptystringnull':
+ case 'string':
+ if(get_magic_quotes_gpc()) $IN = stripslashes($IN); // -- DEPRECATED (mindig false)
+ $return = (isset($IN) && $IN != '') ? $IN : $default;
+ break;
+ case 'notempty':
+ $return = (isset($IN) && $IN != '') ? true : false;
+ break;
+ case 'bool':
+ // Ha nincs beállítva, akkor mindenképp true lenne így:
+ // $return = (isset($IN) && ($IN === 'false' || !$IN)) ? false : true;
+ $return = (isset($IN)) ? (($IN === 'false' || !$IN)? false : true) : $default;
+ break;
+ case 'strictstring':
+ $return = (isset($IN)) ? preg_replace("/[^a-zA-Z0-9_\-]/i",'',$IN) : $default;
+ break;
+ case 'html':
+ $return = (isset($IN)) ? preg_replace("/[^a-zA-Z0-9\ \.\,?_|:;űáéúőóüöíŰÁÉÚŐÓÜÖÍ\-]/i",'',$IN) : $default;
+ break;
+ case 'hexa':
+ $return = preg_replace("/[^0-9a-fA-F]/i",'',$IN);
+ break;
+ case 'number':
+ $return = preg_replace("/[^0-9]/",'',$IN);
+ break;
+ case 'sql':
+ $return = db_escape_string($IN);
+ if ($return === false) $return = $default;
+ break;
+ case 'path':
+ $return = ( preg_match('#^([a-z]|[A-Z]|[0-9])([0-9]|[a-z]|[A-Z]|/|_|-)*$#', $IN ) != false ) ? $IN : $default;
+ break;
+ case 'regexp':
+ $return = ( preg_match( "#$allowOnly[0]#", $IN ) == 1 ) ? $IN : $default;
+ break;
+ case 'regreplace':
+ $return = preg_replace( '#'.$allowOnly[0].'#i', '', $IN );
+ break;
+ case 'mail':
+ case 'email':
+ $return = filter_var($IN, FILTER_VALIDATE_EMAIL);
+ break;
+ case 'userAccount':
+ $return = (preg_match("#([a-z]|[A-Z]|[0-9]| |\.|,|_|[űáéúőóüöíŰÁÉÚŐÓÜÖÍäÄ]|-|@)*$#", $IN) != false) ? $IN : $default;
+ break;
+ default:
+ $return = $IN;
+ $_SESSION['alert'][] = 'message:unknown_type:'.$type.':readVariable';
+ break;
+ }
+ if ($return !== $default && !in_array($type,array('regexp','regreplace')) && count($allowOnly) > 0) $return = (in_array($return, $allowOnly)) ? $return : $default;
+ if (isset($condition) && $return != $default) $return = (eval("return $condition;")) ? $return : $default;
+ }
+
+ return $return;
+ }
+
+ function in_date_interval($dt,$tolDt,$igDt) {
+ $accept = false;
+ if ($dt == date('Y-m-d', strtotime($tolDt))) // ha a kezdőnapra esik
+ $accept = true;
+ if ($dt == date('Y-m-d', strtotime($igDt))) // ha a végnapra esik
+ $accept = true;
+ return (
+ $accept
+ || (
+ (is_null($tolDt) || strtotime($tolDt)<=strtotime($dt))
+ && (is_null($igDt) || strtotime($dt)<=strtotime($igDt))
+ )
+ );
+ }
+
+ // FIGYELEM! Csak megbízható belső kódban használjuk
+ function reindex($THIS, $HOW) {
+ // ha nincs megadva, hogy hogy, adjuk vissza az eredeti tömböt
+ if (!is_array($HOW) || count($HOW)==0) return $THIS;
+
+ $RET = array();
+ for ($i=0; $i<count($THIS); $i++) {
+ $val = '$RET';
+ foreach ( $HOW as $key ) {
+ $val .= '[$THIS[$i]["'.$key.'"]]';
+ }
+ $val .='[]=$THIS[$i];';
+ $fail = @eval($val); // not used
+ }
+ return $RET;
+ }
+
+ function dump() {
+
+ $ARGS=func_get_args();
+ echo '<pre>';
+ call_user_func_array('var_dump', $ARGS);
+ echo '<hr /></pre>';
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/menu/base.php b/mayor-orig/mayor-base/www/include/menu/base.php
new file mode 100644
index 00000000..c5a7d773
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/menu/base.php
@@ -0,0 +1,107 @@
+<?php
+#
+# MaYoR keretrendszer - konfigurációs file
+# (A telepítő által generálva)
+#
+
+// Base
+if (file_exists('include/menu/'._POLICY.'/'.$lang.'/base.php')) {
+ require('include/menu/'._POLICY.'/'.$lang.'/base.php');
+} else {
+ require('include/menu/'._POLICY.'/'._DEFAULT_LANG.'/base.php');
+}
+// Modules
+ $files = scandir('include/menu/'._POLICY.'/'.$lang);
+ $ff = array();
+ if (is_array($files)) foreach ($files as $file) {
+ list($name,$ext) = explode('.',$file);
+ if ($ext=='php' && substr($file,0,7)=='module-') $ff[] = $name;
+ }
+ sort($ff);
+ foreach ($ff as $name) {
+ require_once('include/menu/'._POLICY.'/'.$lang.'/'.$name.'.php');
+ }
+
+// Custom
+if (file_exists('../config/menu/'._POLICY.'/menu-'.$lang.'.php')) {
+ require('../config/menu/'._POLICY.'/menu-'.$lang.'.php');
+}
+
+/*
+ Egy menüpont (item, tétel) felépítése:
+ txt - a megjelenő szöveg
+ [url] - ha nincs: a $MENU alapján kiolvasható PSF-re mutat
+ - ha &-tel kezdődik: az lőzőhöz fúzzük
+ - ha http-vel kezdődik: a megadott URL-t vesszük egy az egyben (sessionID, lang, skin stb nélkül)
+ - egyéb esetben: az adott linket használjuk átadva a fontos paramétereket (sessionId, policy, lang, skin)
+ [get] - az utolsó esetben az átadandó paraméterek listája ()
+
+ A $MENU tömb felépítése:
+
+ $MENU = array(
+ $page1 => array( // Az első szinten a modulok menüpontjai
+ array('txt1'[,'url1']),
+ [array('txt2'[,'url2']), ...]
+ ),
+ [$page2 => array( ... ), ...]
+ $item1 => array( // Az elsp szinten nem modulhoz tartozó tételek
+ array('txt1'[,'url1']),
+ [array('txt2'[,'url2']), ...]
+ ),
+ [$item2 => array( ... ), ...]
+ 'modules' => array( // 'modules'-en belul csak page-ek vannak
+ $page1 => array(
+ 'sub' => array( // 'sub'-on belül csak sub-ok vannak
+ $sub1 => array(
+ $f1 => array(
+ array('txt1'[,'url1']),
+ [array('txt2'[,'url2']), ...]
+ ),
+ [$f2 => array(
+ array('txt1'[,'url1']),
+ [array('txt2'[,'url2']), ...]
+ ), ...]
+ ),
+ [$sub2 => arrray( ... ), ...]
+ ),
+ [$f1 => array(
+ array('txt1'[,'url1']),
+ [array('txt2'[,'url2']), ...]
+ ), ...]
+ ),
+ [$page2 => array( ... ), ...]
+ )
+ )
+
+Kirajzolva:
+
+$M[$page1][0] | $M[$page1][1] ... | $M[$page2][0] | ... | $M[$item1][0] | $M[$item1][1] ...
+$M['modules'][$page][$f1][0] | $M['modules'][$page][$f1][1] ... | $M['modules'][$page][$f2][0] | $M['modules'][$page][$f1][0] ...
+$M['modules'][$page]['sub'][$sub][$f1][0] ... $M['modules'][$page]['sub'][$sub][$f2][0]
+
+Például:
+
+ $MENU['modules']['login'] = array(
+ 'sub' => array(
+
+ 'sub1' => array(
+ 'f11' => array(
+ array('txt' => 'Kakukk'),
+ array('txt' => 'Tojás', 'url'=>'http://')
+ )
+ ),
+ 'sub2' => array(
+ 'f21' => array(
+ array('txt' => 'Cica'),
+ )
+ )
+
+ ),
+ 'login' => array(
+ array('txt' => 'Szülői bejelentkezés','url' => '&toPolicy=parent'),
+ array('txt' => 'Bejelentkezés','url' => '&toPolicy=private'),
+ )
+ );
+*/
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/menu/parent/hu_HU/base.php b/mayor-orig/mayor-base/www/include/menu/parent/hu_HU/base.php
new file mode 100644
index 00000000..9bb5a5db
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/menu/parent/hu_HU/base.php
@@ -0,0 +1,44 @@
+<?php
+
+ if (defined('_SESSIONID') and _SESSIONID != '') {
+ $MENU['logout'] = array(
+ array(
+ 'txt' => 'Kilépés',
+ 'url' => 'index.php?policy=public&page=session&f=logout',
+ 'get' => array('sessionID','skin','lang')
+ )
+ );
+ $MENU['session'] = array(
+ array(
+ 'txt' => 'Jelszóváltoztatás',
+ 'url' => 'index.php?page=password&sub=&f=changeMyPassword&userAccount='._USERACCOUNT.'&policy=public&toPolicy=parent',
+ 'get' => array('skin','lang','sessionID'),
+ )
+ );
+ }
+ $MENU['modules']['session'] = array(
+ // 'searchAccount' => array(array('txt' => 'Felhasználó keresése','url' => 'index.php?page=session&sub=search&f=searchAccount')),
+// 'searchGroup' => array(array('txt' => 'Csoport keresése','url' => 'index.php?page=session&sub=search&f=searchGroup')),
+ 'changeMyPassword' => array(array('txt' => 'Jelszóváltoztatás','url' => 'index.php?page=password&sub=&f=changeMyPassword&userAccount='._USERACCOUNT.'&policy=public&toPolicy=parent','get' => array('skin','lang','sessionID'))),
+// 'sub' => array(
+// 'search' => array(
+// 'searchAccount' => array(array('txt' => 'Felhasználó keresése')),
+// 'searchGroup' => array(array('txt' => 'Csoport keresése')),
+// )
+// )
+ );
+// $MENU['home'] = array(
+// array('txt' => 'Kezdőlap', 'url' => 'index.php')
+// );
+
+ global $NAV;
+ if ($page=='session') {
+ if (is_array($MENU['modules']['session'])) foreach ($MENU['modules']['session'] as $_sub => $M) {
+ $NAV[2][] = array('page' => 'session', 'f' => $_sub);
+ }
+ }
+ $NAV[1][] = array('page'=>'session','f'=>'changeMyPassword');
+ $NAV[1][] = array('page'=>'logout');
+
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/include/menu/private/hu_HU/base.php b/mayor-orig/mayor-base/www/include/menu/private/hu_HU/base.php
new file mode 100644
index 00000000..c872a4ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/menu/private/hu_HU/base.php
@@ -0,0 +1,67 @@
+<?php
+
+ if (defined('_SESSIONID') and _SESSIONID != '') {
+ $MENU['logout'] = array(
+ array(
+ 'txt' => 'Kilépés',
+ 'url' => 'index.php?policy=public&page=session&f=logout',
+ 'get' => array('sessionID','skin','lang')
+ )
+ );
+ $MENU['session'] = array(
+ array(
+ 'txt' => 'Felhasználók',
+ 'url' => 'index.php?page=session'
+// 'url' => 'index.php?page=session&sub=search&f=searchAccount'
+ )
+ );
+ }
+
+ if (memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup'])) {
+/* $MENU['admin'] = array(
+ array(
+ 'txt' => 'Admin',
+ 'url' => 'index.php?page=session&sub=admin&f=registration',
+ )
+ );
+*/
+ $MENU['modules']['session'] = array(
+ 'createAccount' => array(array('txt' => 'Új felhasználó')),
+ 'createGroup' => array(array('txt' => 'Új csoport')),
+ 'searchAccount' => array(array('txt' => 'Felhasználó keresése','url' => 'index.php?page=session&sub=search&f=searchAccount')),
+ 'searchGroup' => array(array('txt' => 'Csoport keresése','url' => 'index.php?page=session&sub=search&f=searchGroup')),
+ 'changeMyPassword' => array(array('txt' => 'Jelszóváltoztatás','url' => 'index.php?page=password&sub=&f=changeMyPassword&userAccount='._USERACCOUNT.'&policy=public&toPolicy=private','get' => array('skin','lang','sessionID'))),
+ 'sessionAdmin' => array(array('txt' => 'Munkamenetek')),
+ 'facebookConnect' => array(array('txt' => 'Facebook azonosítás')),
+ 'googleapi' => array(array('txt' => 'Google azonosítás')),
+ 'admin' => array(array('txt' => 'Szerver regisztráció','url'=>'index.php?page=session&sub=admin&f=registration')),
+ );
+ $MENU['modules']['session']['sub']['admin'] = array(
+ 'registration' => array(array('txt' => 'Végpont regisztráció a felhőbe','url'=>'index.php?page=session&sub=admin&f=registration')),
+ 'knownNodes' => array(array('txt' => 'Ismert végpontok','url'=>'index.php?page=session&sub=admin&f=knownNodes')),
+ );
+
+ } else {
+ $MENU['modules']['session'] = array(
+ 'searchAccount' => array(array('txt' => 'Felhasználó keresése','url' => 'index.php?page=session&sub=search&f=searchAccount')),
+ 'searchGroup' => array(array('txt' => 'Csoport keresése','url' => 'index.php?page=session&sub=search&f=searchGroup')),
+ 'changeMyPassword' => array(array('txt' => 'Jelszóváltoztatás','url' => 'index.php?page=password&sub=&f=changeMyPassword&userAccount='._USERACCOUNT.'&policy=public&toPolicy=private','get' => array('skin','lang','sessionID'))),
+ 'facebookConnect' => array(array('txt' => 'Facebook belépés')),
+ 'googleapi' => array(array('txt' => 'Google belépés')),
+ );
+ }
+
+ global $NAV;
+ if ($page=='session') {
+ if (is_array($MENU['modules']['session'])) foreach ($MENU['modules']['session'] as $_sub => $M) {
+ $NAV['2'][] = array('page' => 'session', 'f' => $_sub);
+ }
+ } else {
+/* if (memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup'])) {
+ $NAV[1][] = array('page'=>'session');
+ } else {
+ $NAV[1][] = array('page'=>'session','f'=>'changeMyPassword');
+ }
+*/
+ }
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/include/menu/public/hu_HU/base.php b/mayor-orig/mayor-base/www/include/menu/public/hu_HU/base.php
new file mode 100644
index 00000000..66a36701
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/menu/public/hu_HU/base.php
@@ -0,0 +1,34 @@
+<?php
+
+ $MENU = array(
+ 'home'=>array(),
+ 'session'=>array(),
+ 'naplo'=>array(),
+ 'portal'=>array(),
+ 'felveteli'=>array(),
+// 'forum'=>array(),
+// 'auth'=>array(),
+ );
+
+ if (defined('_SESSIONID') and _SESSIONID != '') {
+ $MENU['session'] = array(
+ array('txt' => 'Kilépés', 'url' => 'index.php?page=session&f=logout')
+ );
+ }
+ $MENU['home'] = array(
+ array('txt' => 'Kezdőlap', 'url' => 'index.php')
+ );
+
+ // $NAVI[] = array('txt' => 'Kezdőlap', 'url' => 'index.php', 'icon' => 'icon-home-alt');
+
+// $MENU['modules']['session']['createAccount'] = array(
+// array('txt' => 'Szülői regisztráció', 'url' => 'index.php?page=session&f=createAccount&toPolicy=parent'),
+// array('txt' => 'Fórum regisztráció', 'url' => 'index.php?page=session&f=createAccount&toPolicy=public'),
+// );
+ if ($f == 'changeMyPassword') {
+ $MENU['back'] = array(array('txt'=>'Vissza','url'=>'index.php?policy='.$toPolicy,'get'=>array('sessionID','skin','lang')));
+ $MENU['password'] = array(array('txt'=>'Jelszóváltoztatás','url'=>'index.php?page=password&sub=&f=changeMyPassword'));
+// $NAV[1][] = array('page'=>'back');
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/modules/auth/base/forgotten.php b/mayor-orig/mayor-base/www/include/modules/auth/base/forgotten.php
new file mode 100644
index 00000000..16571855
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/modules/auth/base/forgotten.php
@@ -0,0 +1,53 @@
+<?php
+
+ function generatePasswordRecoveryRequest($accountData) {
+
+ $URL = 'https://'.$_SERVER['SERVER_NAME'].'/index.php?page=password&f=resetPassword&';
+
+ if (version_compare(PHP_VERSION,'5.3.0')>=0) {
+ $selector = bin2hex(openssl_random_pseudo_bytes(8));
+ $token = openssl_random_pseudo_bytes(32);
+ } elseif (version_compare(PHP_VERSION,'7.0.0')>=0) {
+ $selector = bin2hex(random_bytes(8));
+ $token = random_bytes(32);
+ } else {
+ return false; // nem támogatjuk
+ }
+ $urlToEmail = href($URL.http_build_query(array(
+ 'selector' => $selector,
+ 'validator' => bin2hex($token)
+ ),'','&'));
+
+ $expires = new DateTime('NOW');
+ $expires->add(new DateInterval('PT01H')); // 1 hour
+
+ // rate limiting és karbantartás
+ $lr = db_connect('login');
+ db_start_trans($lr);
+
+ $q = "DELETE FROM accountRecovery WHERE expires <= NOW() - INTERVAL 10 DAY";
+ db_query($q, array('debug'=>false,'fv' => 'generatePasswordRecoveryRequest', 'modul'=>'login', 'result'=>'delete'),$lr);
+
+ $q = "SELECT count(*) as db FROM accountRecovery WHERE policy='%s' AND userAccount='%s'";
+ $v = array($accountData['policy'], $accountData['userAccount']);
+ $recoveryRequestDb = db_query($q, array('debug'=>false,'fv' => 'generatePasswordRecoveryRequest', 'modul'=>'login', 'result'=>'value', 'values'=>$v),$lr);
+
+ if ($recoveryRequestDb<5) {
+ $q = "INSERT INTO accountRecovery (policy, userAccount, selector, token, expires) VALUES ('%s', '%s', '%s', '%s', '%s');";
+ $v = array($accountData['policy'], $accountData['userAccount'],
+ $selector,
+ hash('sha256', $token),
+ $expires->format('Y-m-d\TH:i:s'));
+ $recoveryId = db_query($q, array('debug'=>false,'fv' => 'generatePasswordRecoveryRequest', 'modul'=>'login', 'result'=>'insert', 'values'=>$v),$lr);
+ } else {
+ return false;
+ }
+ db_commit($lr);
+ db_close($lr);
+
+ if ($recoveryId !== false) return $urlToEmail;
+ else return false;
+
+ }
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/include/modules/auth/base/login.php b/mayor-orig/mayor-base/www/include/modules/auth/base/login.php
new file mode 100644
index 00000000..f9cb3a2d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/modules/auth/base/login.php
@@ -0,0 +1,37 @@
+<?php
+
+ function userAuthentication($userAccount, $userPassword, &$accountInformation, $toPolicy) {
+ global $AUTH;
+ require_once('include/share/auth/base.php');
+
+ if (file_exists('include/backend/'.$AUTH[$toPolicy]['backend'].'/auth/login.php')) {
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/auth/login.php');
+ } else {
+ throw new Exception('Fatal Error');
+ }
+
+ //$x = call_user_func( str_replace('-','_',$AUTH[$toPolicy]['backend'])."UserAuthentication",$userAccount, $userPassword, $accountInformation, $toPolicy);
+ switch ($AUTH[$toPolicy]['backend']) {
+ case 'mysql':
+ $r = mysqlUserAuthentication($userAccount, $userPassword, $accountInformation, $toPolicy);
+ break;
+ case 'ldap':
+ $r = ldapUserAuthentication($userAccount, $userPassword, $accountInformation, $toPolicy);
+ break;
+ case 'ldap-ng':
+ $r = ldap_ngUserAuthentication($userAccount, $userPassword, $accountInformation, $toPolicy);
+ break;
+ case 'ldapng':
+ $r = ldapngUserAuthentication($userAccount, $userPassword, $accountInformation, $toPolicy);
+ break;
+ case 'ads':
+ $r = adsUserAuthentication($userAccount, $userPassword, $accountInformation, $toPolicy);
+ break;
+ case 'file':
+ $r = fileUserAuthentication($userAccount, $userPassword, $accountInformation, $toPolicy);
+ break;
+ }
+ return $r;
+ }
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/include/modules/auth/base/token.php b/mayor-orig/mayor-base/www/include/modules/auth/base/token.php
new file mode 100644
index 00000000..72cbcffb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/modules/auth/base/token.php
@@ -0,0 +1,116 @@
+<?php
+
+ function generateAuthToken($accountData) {
+
+ if (!defined('AUTHTOKENENABLED') || AUTHTOKENENABLED!==true) return false;
+
+ if (version_compare(PHP_VERSION,'5.3.0')>=0) {
+ $selector = bin2hex(openssl_random_pseudo_bytes(8));
+ $token = openssl_random_pseudo_bytes(32);
+ } elseif (version_compare(PHP_VERSION,'7.0.0')>=0) {
+ $selector = bin2hex(random_bytes(8));
+ $token = random_bytes(32);
+ } else {
+ return false; // nem támogatjuk
+ }
+
+ if (isset($_COOKIE['t_selector'])===true && isset($_COOKIE['t_validator'])===true) return true; // már van selector/validator elmentve
+
+ $lr = db_connect('login');
+ db_start_trans($lr);
+
+ $q = "DELETE FROM authToken WHERE expires <= NOW() - INTERVAL 10 DAY";
+ db_query($q, array('debug'=>false,'fv' => 'na', 'modul'=>'login', 'result'=>'delete'),$lr);
+
+ $q = "INSERT INTO authToken (policy, userAccount,
+ userCn, studyId,
+ selector, token, expires, activity, ipAddress) VALUES ('%s', '%s', '%s', '%s', '%s','%s',NOW() + INTERVAL 30 DAY,NOW(),'%s')";
+ $v = array($accountData['policy'], $accountData['userAccount'],
+ $accountData['userCn'], $accountData['studyId'],
+ $selector,
+ hash('sha256', $token),
+ CLIENTIPADDRESS
+ );
+ $Id = db_query($q, array('debug'=>false,'fv' => 'na', 'modul'=>'login', 'result'=>'insert', 'values'=>$v),$lr);
+ db_commit($lr);
+ db_close($lr);
+
+ if ($Id !== false) {
+ setcookie('t_selector',$selector,time()+604800*5,'/','',TRUE,TRUE);
+ setcookie('t_validator',bin2hex($token),time()+604800*5,'/','',TRUE,TRUE);
+ $_SESSION['mayorapiauth'] = true;
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ function unsetTokenCookies() { // + MS_*
+ $selector = readVariable($_COOKIE['t_selector'], 'string', readVariable($_GET['t_selector'], 'hexa', null));
+ if ($selector!='') {
+ $q = "DELETE FROM authToken WHERE selector='%s'";
+ $values = array($selector);
+ db_query($q, array('debug'=>false,'fv' => 'na', 'modul'=>'login', 'result'=>'delete', 'values'=>$values),$lr);
+ }
+ setcookie('t_selector','',time() - 3600,'/','',TRUE,TRUE);
+ setcookie('t_validator','',time() - 3600,'/','',TRUE,TRUE);
+ if (is_array($_COOKIE)) {
+ foreach($_COOKIE as $key => $value) {
+ if (substr($key,0,3) == 'MS_') {
+ setcookie($key,'',time() - 3600,'/','',TRUE,TRUE);
+ }
+ }
+ }
+ $_SESSION['mayorapiauth'] = false;
+ }
+
+ function mayorApiAuth() {
+
+ // $MAYORAPIDATA tömb feltöltése
+ $selector = readVariable($_COOKIE['t_selector'], 'string', readVariable($_GET['t_selector'], 'hexa', null));
+ $validator = readVariable($_COOKIE['t_validator'], 'string', readVariable($_GET['t_validator'], 'hexa', null));
+ if ($selector!='' && $validator!='') {
+ $q = "SELECT * FROM authToken WHERE selector = '%s' AND expires >= NOW()";
+ $r = db_query($q, array('fv'=>'rights/xltoken','modul'=>'login','result'=>'record','values'=>array($selector)));
+ }
+ if (is_array($r)) {
+ $calc = hash('sha256', hex2bin($validator));
+ if (hash_equals($calc, $r['token'])) { // valid token
+ global $sessionMode;
+ $sessionMode = 2;
+ // reauth AS:
+ $toPolicy = $r['policy'];
+ $userAccount = $r['userAccount'];
+ $userCn = $r['userCn'];
+ $studyId = $r['studyId'];
+ $userPassword = ''; // ???
+ $lang = _DEFAULT_LANG;
+ $data = $r;
+ $_SESSION['mayorapiauth'] = true;
+ $q = "UPDATE authToken SET activity=NOW(), ipAddress='%s' WHERE selector = '%s'";
+ $v = array(CLIENTIPADDRESS,$selector);
+ db_query($q, array('fv'=>'rights/xltoken','modul'=>'login','result'=>'update','values'=>$v));
+ return array('userAccount'=>$data['userAccount'],'toPolicy'=>$data['policy'],'studyId'=>$data['studyId'],'userCn'=>$data['userCn'],'valid'=>true);
+ } else {
+ unsetTokenCookies();
+ }
+ } else {
+ unsetTokenCookies();
+ }
+ return false;
+ }
+
+ function getMyActivity() {
+ $q = "SELECT ipAddress,activity FROM authToken WHERE userAccount ='%s' AND policy='%s'";
+ $v = array(_USERACCOUNT,_POLICY);
+ return db_query($q, array('fv'=>'rights/getMyActivity','modul'=>'login','result'=>'indexed','values'=>$v));
+ }
+
+ function revokeTokens() {
+ unsetTokenCookies();
+ $q = "DELETE FROM authToken WHERE userAccount ='%s' AND policy='%s'";
+ $v = array(_USERACCOUNT,_POLICY);
+ return db_query($q, array('fv'=>'rights/revokeTokens','modul'=>'login','result'=>'delete','values'=>$v));
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/modules/password/base/changePassword.php b/mayor-orig/mayor-base/www/include/modules/password/base/changePassword.php
new file mode 100644
index 00000000..b2233303
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/modules/password/base/changePassword.php
@@ -0,0 +1,13 @@
+<?php
+/*
+ Module: base/password
+*/
+
+// changeMyPassword-pre.php - kikommentezve - mindenképp újra bejelentkezünk
+// function updateSessionPassword($userAccount, $policy, $newPassword) {
+ //$q = "UPDATE session SET userPassword=encode('%s','"._MYSQL_ENCODE_STR."') WHERE userAccount='%s' AND policy='%s'";
+ //$v = array($newPassword, $userAccount, $policy);
+ //return db_query($q, array('fv' => 'updateSessionPassword', 'modul' => 'login', 'values' => $v));
+// }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/modules/session/accountInfo.php b/mayor-orig/mayor-base/www/include/modules/session/accountInfo.php
new file mode 100644
index 00000000..b14a8edb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/modules/session/accountInfo.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ Modules: base/session
+
+ share --> function getAccountInfo($userAccount, $toPolicy = '') {
+ share --> function getUserInfo($userAccount, $toPolicy = '') {
+ function changeAccountInfo($userAccount, $toPolicy = '') {
+*/
+
+ require('include/share/session/accountInfo.php');
+
+###########################################################
+# changeAccountInfo - felhasználói információk módosítása
+###########################################################
+
+ function changeAccountInfo($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/accountInfo.php');
+ $func = $AUTH[$toPolicy]['backend'].'ChangeAccountInfo';
+ return $func($userAccount, $toPolicy);
+
+
+ }
+
+ function getUserSettings($userAccount,$toPolicy = _POLICY) {
+
+ $q = "SELECT * FROM settings WHERE userAccount='%s' AND policy='%s'";
+ $res = db_query($q, array('modul'=>'login','values'=>array($userAccount,$toPolicy), 'result'=>'record'));
+ return $res;
+
+ }
+
+ function setUserSettings($userAccount,$toPolicy,$ADAT) {
+
+ if (!isset($ADAT['skin']) || $ADAT['skin']=='') {
+ $q = "UPDATE settings SET skin=NULL WHERE userAccount='%s' AND policy='%s'";
+ $res = db_query($q, array('modul'=>'login','values'=>array($userAccount,$toPolicy)));
+ } else {
+ $q = "UPDATE settings SET skin='%s' WHERE userAccount='%s' AND policy='%s'";
+ $res = db_query($q, array('modul'=>'login','values'=>array($ADAT['skin'],$userAccount,$toPolicy)));
+ }
+ return $res;
+
+ }
+
+ function setEduroamRecord($ADAT) {
+
+ // ALTER TABLE eduroam ADD UNIQUE INDEX (userAccount,policy);
+ // ALTER TABLE eduroam ADD UNIQUE INDEX (eduroamUID);
+ // https://wiki.niif.hu/index.php?title=Sulinet_felhaszn%C3%A1l%C3%B3k_t%C3%B6meges_felvitele
+
+ $q = "UPDATE eduroam SET eduroamPASSWORD='%s', modositasDt = NOW() WHERE userAccount='%s' AND policy='%s'";
+ $res = db_query($q, array('modul'=>'login','values'=>array($ADAT['eduroamPASSWORD'],$userAccount,$toPolicy)));
+
+ }
+
+ function createEduroamSettings($ADAT) {
+
+ $q = "INSERT INTO eduroam (userAccount,policy,eduroamUID,eduroamPASSWORD,eduroamAFFILIATION,eduroamDOMAIN)
+ VALUES ('%s','%s','%s','%s','%s','%s')";
+ $values = array(
+ $ADAT['userAccount'],
+ $ADAT['policy'],
+ $ADAT['eduroamUID'],
+ $ADAT['eduroamPASSWORD'],
+ $ADAT['eduroamAFFILIATION'],
+ $ADAT['eduroamDOMAIN'],
+ );
+ $res = db_query($q, array('modul'=>'login','values'=>$values));
+ return $res;
+ }
+
+ function getEduroamSettings($userAccount,$toPolicy,$ADAT) {
+
+ $res = false;
+ if (_ACCESS_AS == _ADMIN_ACCESS) {
+ $userAccoungt = ($userAccount);
+ $toPolicy = ($toPolicy);
+ } else {
+ $userAccount = (_USERACCOUNT);
+ $toPolicy = (_POLICY);
+ }
+
+ if ($toPolicy == 'private') {
+ $q = "SELECT * FROM eduroam WHERE userAccount='%s' AND policy='%s'";
+ $res = db_query($q, array('modul'=>'login','values'=>array($userAccount,$toPolicy), 'result'=>'record'));
+ }
+ return $res;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/modules/session/base/base.php b/mayor-orig/mayor-base/www/include/modules/session/base/base.php
new file mode 100644
index 00000000..efc39324
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/modules/session/base/base.php
@@ -0,0 +1,19 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ // Attribútumok nyelvi konstansai
+
+ if (file_exists('lang/'.$lang.'/share/session/attrs.php')) {
+ require('lang/'.$lang.'/share/session/attrs.php');
+ } elseif (file_exists('lang/'._DEFAULT_LANG.'/share/session/attrs.php')) {
+ require('lang/'._DEFAULT_LANG.'/share/session/attrs.php');
+ }
+
+ // Attribútum információk
+ if (file_exists('include/share/session/attrs.php')) {
+ require('include/share/session/attrs.php');
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/modules/session/createAccount.php b/mayor-orig/mayor-base/www/include/modules/session/createAccount.php
new file mode 100644
index 00000000..6222ed76
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/modules/session/createAccount.php
@@ -0,0 +1,19 @@
+<?php
+/*
+ Modules: base/session
+*/
+
+ function createAccount($userCn, $userAccount, $userPassword, $toPolicy = _POLICY, $SET = array('category' => null, 'container' => null, 'groups' => '', 'policyAttrs' => array())) {
+
+ global $AUTH;
+
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/createAccount.php');
+ $func = $AUTH[$toPolicy]['backend'].'CreateAccount';
+ $r = $func($userCn, $userAccount, $userPassword, $toPolicy, $SET);
+ $_SESSION['lastCreatedAccount'] = $userAccount;
+
+ return $r;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/modules/session/createGroup.php b/mayor-orig/mayor-base/www/include/modules/session/createGroup.php
new file mode 100644
index 00000000..69b2bb45
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/modules/session/createGroup.php
@@ -0,0 +1,16 @@
+<?php
+/*
+ Modules: base/session
+*/
+
+ function createGroup($groupCn, $groupDesc, $toPolicy = _POLICY, $SET = array('category' => null, 'container' => null, 'policyAttrs' => array())) {
+
+ global $AUTH;
+
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/createGroup.php');
+ $func = $AUTH[$toPolicy]['backend'].'CreateGroup';
+ return $func($groupCn, $groupDesc, $toPolicy, $SET);
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/modules/session/download.php b/mayor-orig/mayor-base/www/include/modules/session/download.php
new file mode 100644
index 00000000..47d3bdb7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/modules/session/download.php
@@ -0,0 +1,108 @@
+<?php
+
+ $allowedExtensions = array(
+
+ // archives
+ 'zip' => 'application/zip',
+ 'tgz' => 'application/tar',
+
+ // documents
+ 'pdf' => 'application/pdf',
+ 'doc' => 'application/msword',
+ 'xls' => 'application/vnd.ms-excel',
+ 'ppt' => 'application/vnd.ms-powerpoint',
+ 'csv' => 'application/vnd.ms-excel',
+ 'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
+
+ // executables
+ 'exe' => 'application/octet-stream',
+
+ // text
+ 'xml' => 'text/xml',
+
+ // images
+ 'gif' => 'image/gif',
+ 'png' => 'image/png',
+ 'jpg' => 'image/jpeg',
+ 'jpeg' => 'image/jpeg',
+
+ // audio
+ 'mp3' => 'audio/mpeg',
+ 'wav' => 'audio/x-wav',
+
+ // video
+ 'mpeg' => 'video/mpeg',
+ 'mpg' => 'video/mpeg',
+ 'mpe' => 'video/mpeg',
+ 'mov' => 'video/quicktime',
+ 'avi' => 'video/x-msvideo'
+ );
+
+ $allowedMimeTypes = array(
+ 'application/zip',
+ 'application/tar',
+ 'application/pdf',
+ 'application/msword',
+ 'application/vnd.ms-excel',
+ 'application/vnd.ms-powerpoint',
+ 'application/octet-stream',
+ 'text/xml',
+ 'image/gif',
+ 'image/png',
+ 'image/jpeg',
+ 'audio/mpeg',
+ 'audio/x-wav',
+ 'video/mpeg',
+ 'video/quicktime',
+ 'video/x-msvideo',
+ 'application/vnd.oasis.opendocument.spreadsheet'
+ );
+
+ function passFile($ADAT) {
+ if (in_array($ADAT['ext'],array('jpg','jpeg','png'))) passFile_image($ADAT);
+ else passFile_other($ADAT);
+ die();
+ }
+
+ function passFile_image($ADAT) {
+ ob_clean();
+ ignore_user_abort(true);
+ set_time_limit(0);
+ // Getting headers sent by the client.
+ $headers = apache_request_headers();
+ $fn = $ADAT['path'] ;
+ // Checking if the client is validating his cache and if it is current.
+ if (isset($headers['If-Modified-Since']) && (strtotime($headers['If-Modified-Since']) == filemtime($fn))) {
+ // Client's cache IS current, so we just respond '304 Not Modified'.
+ header('Last-Modified: '.gmdate('D, d M Y H:i:s', filemtime($fn)).' GMT', true, 304);
+ header('Expires: '.gmdate('D, d M Y H:i:s', strtotime('+10 day')).' GMT', true);
+ header("Cache-Control: max-age=604800, public", true);
+ header("Pragma: public", true);
+ } else {
+ header("Pragma: public", true);
+ header("Cache-Control: max-age=604800, public", true);
+ header('Last-Modified: '.gmdate('D, d M Y H:i:s', filemtime($fn)).' GMT', true, 200);
+ header('Expires: '.gmdate('D, d M Y H:i:s', strtotime('+10 day')).' GMT', true);
+ header("Content-Length: " . $ADAT['size'], true);
+ header('Content-type: '.$ADAT['mime'], true);
+ echo file_get_contents($fn);
+ }
+ }
+
+ function passFile_other($ADAT) {
+ ob_clean();
+ header('Content-type: '.$ADAT['mime']);
+ header("Pragma: public");
+ header("Expires: 0");
+ header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
+ header("Cache-Control: public");
+ header("Content-Description: File Transfer");
+ header("Content-Type: ".$ADAT['mime']);
+ if (!isset($ADAT['pure'])) // akkor force download as
+ header('Content-Disposition: attachment; filename="'.$ADAT['file'].'"');
+ header("Content-Transfer-Encoding: binary");
+ header("Content-Length: " . $ADAT['size']);
+ echo file_get_contents($ADAT['path']);
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/modules/session/groupInfo.php b/mayor-orig/mayor-base/www/include/modules/session/groupInfo.php
new file mode 100644
index 00000000..fd46afee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/modules/session/groupInfo.php
@@ -0,0 +1,38 @@
+<?php
+/*
+ Modules: base/session
+
+ function getGroupInfo($groupCn, $toPolicy = '') {
+ function changeGroupInfo($userAccount, $toPolicy = '') {
+*/
+
+######################################################
+# getGroupInfo - csoport információk (backend)
+######################################################
+
+ function getGroupInfo($groupCn, $toPolicy = _POLICY, $SET = array('withNewAccounts' => true)) {
+
+ global $AUTH;
+
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/accountInfo.php');
+ $func = $AUTH[$toPolicy]['backend'].'GetGroupInfo';
+ return $func($groupCn, $toPolicy, $SET);
+
+
+ }
+
+###########################################################
+# changeGroupInfo - csoport információk módosítása
+###########################################################
+
+ function changeGroupInfo($groupCn, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/accountInfo.php');
+ $func = $AUTH[$toPolicy]['backend'].'ChangeGroupInfo';
+ return $func($groupCn, $toPolicy);
+
+
+ }
+?>
diff --git a/mayor-orig/mayor-base/www/include/modules/session/search/searchAccount.php b/mayor-orig/mayor-base/www/include/modules/session/search/searchAccount.php
new file mode 100644
index 00000000..796a7423
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/modules/session/search/searchAccount.php
@@ -0,0 +1,37 @@
+<?php
+/*
+ Module: base/session
+*/
+
+##############################################################
+# searchAccount - felhasználó kereső függvény
+##############################################################
+
+
+ function searchAccount($attr, $pattern, $searchAttrs = array('userCn'), $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/search/searchAccount.php');
+ $func = $AUTH[$toPolicy]['backend'].'SearchAccount';
+
+ return $func($attr, $pattern, $searchAttrs, $toPolicy);
+
+ }
+
+##############################################################
+# deleteAccount - felhasználó törlése
+##############################################################
+
+ function deleteAccount($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/search/searchAccount.php');
+ $func = $AUTH[$toPolicy]['backend'].'DeleteAccount';
+ return $func($userAccount, $toPolicy);
+
+ }
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/modules/session/search/searchGroup.php b/mayor-orig/mayor-base/www/include/modules/session/search/searchGroup.php
new file mode 100644
index 00000000..f44f9aa2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/modules/session/search/searchGroup.php
@@ -0,0 +1,34 @@
+<?php
+/*
+ Module: base/session
+*/
+
+##############################################################
+# searchGroup - csoport kereső függvény
+##############################################################
+
+ function searchGroup($attr, $pattern, $searchAttrs = array('groupCn, groupDesc'), $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/search/searchAccount.php');
+ $func = $AUTH[$toPolicy]['backend'].'SearchGroup';
+ return $func($attr, $pattern, $searchAttrs, $toPolicy);
+
+ }
+
+##############################################################
+# deleteGroup - csoport torlese
+##############################################################
+
+ function deleteGroup($groupCn, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/search/searchAccount.php');
+ $func = $AUTH[$toPolicy]['backend'].'DeleteGroup';
+ return $func($groupCn, $toPolicy);
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/modules/session/sessionAdmin.php b/mayor-orig/mayor-base/www/include/modules/session/sessionAdmin.php
new file mode 100644
index 00000000..ff3e99b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/modules/session/sessionAdmin.php
@@ -0,0 +1,24 @@
+<?php
+
+ function getSessions() {
+
+ $W = array();
+ if (intval(_SESSION_MAX_TIME) != 0) $W[] = "dt + INTERVAL ".intval(_SESSION_MAX_TIME)." HOUR > NOW()";
+ if (intval(_SESSION_MAX_IDLE_TIME) != 0) $W[] = "activity + INTERVAL ".intval(_SESSION_MAX_IDLE_TIME)." HOUR > NOW()";
+ $q = "SELECT userAccount,dt,policy,sessionID,userCn,studyId,skin,lang,activity,sessionCookie,ip FROM session LEFT JOIN loginLog USING (policy,userAccount,dt)";
+ if (count($W) > 0) $q .= " WHERE ".implode(' AND ', $W);
+ $q .= " ORDER BY activity DESC";
+
+ $ret = db_query($q, array('fv' => 'getSessions', 'modul' => 'login', 'result' => 'indexed'));
+ return $ret;
+ }
+
+ function deleteSession($sessionID, $policy) {
+
+ $q = "DELETE FROM session WHERE sessionID='%s' AND policy='%s'";
+ $v = array($sessionID, $policy);
+ return db_query($q, array('fv' => 'deleteSession','modul' => 'login', 'values' => $v));
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/share/auth/base.php b/mayor-orig/mayor-base/www/include/share/auth/base.php
new file mode 100644
index 00000000..8ff27f5e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/auth/base.php
@@ -0,0 +1,118 @@
+<?php
+/*
+ module: base/login
+
+ A bejelentkezések kezeléséhez szükséges konstansok, beállítások.
+*/
+
+ define('_AUTH_SUCCESS',0);
+ define('_AUTH_EXPIRED',1);
+ define('_AUTH_FAILURE',2);
+ define('_AUTH_FAILURE_1',21); // nincs ilyen azonosító
+ define('_AUTH_FAILURE_2',22); // több ilyen azonosító is van
+ define('_AUTH_FAILURE_3',23); // rossz jelszó
+ define('_AUTH_FAILURE_4',24); // le van tiltva
+ define('_AUTH_FAILURE_5',25); // a bejelentkezés korlátozva van
+
+######################################################################
+# Új session indítása és regisztrálása (vagy vissza a login-hoz)
+######################################################################
+
+ function newSession($accountInformation, $policy) {
+
+ global $lang, $skin, $sessionID, $SKINS, $AUTH;
+
+ $lr = db_connect('login', array('fv' => 'newSession'));
+
+ if (!$lr) {
+ $_SESSION['alert'][] = 'message:sql_failure:session';
+ return false;
+ }
+
+ $userAccount = db_escape_string($accountInformation['account'], $lr);
+ // nem tárolunk jelszót! //
+ // $userPassword = 'nem tárolunk jelszót!'; // mégis tároljuk - session/search (backend: ads)
+ $userPassword = db_escape_string($accountInformation['password'], $lr);
+ $userCn = db_escape_string($accountInformation['cn'], $lr);
+ $studyId = db_escape_string($accountInformation['studyId'], $lr);
+
+ (bool)$toRegister = true; // be kell jegyezni (lásd alább)
+ if ($sessionID == '') {
+ // A sessionID generálása
+ $sessionID = sessionHash();
+ } else {
+ // A meglevő sessionID használata - csak akkor hagyjuk ha az adott policy-hez még nincs ilyen,
+ // de másik policy-hez van
+ $query = "SELECT policy FROM session WHERE sessionID='%s'";
+ $ret = db_query($query, array('fv' => 'newSession', 'modul' => 'login', 'result' => 'idonly', 'values' => array($sessionID)), $lr);
+ if (is_array($ret) && count($ret) > 0) {
+ reset($ret);
+ while ((list($key, $_policy) = each($ret)) && $toRegister) {
+ //while ((list($_policy) = m_ysql_fetch_row($r)) && $toRegister) {
+ if ($_policy == $policy) $toRegister = false;
+ // mégsem kell bejegyezni, már van; és ez az. $sessionID=$sessionID
+ // else be kell jegyezni, de ezt a $sessionID-t, nem generálunk
+ }
+ } else {
+ $sessionID = sessionHash();
+ }
+ }
+ // fetch predefined lang+skin
+ {
+ $query = "SELECT skin,lang,lastlogin FROM settings WHERE userAccount='%s' AND policy='%s'";
+ $ret = db_query($query, array('fv' => 'newSession', 'modul' => 'login', 'result' => 'record', 'values' => array($userAccount, $policy)), $lr);
+ if (is_array($ret) && count($ret) > 0) {
+ extract($ret);
+ $_SESSION['lastLogin'] = $ret['lastlogin'];
+ if (!in_array($skin,$SKINS))
+ $skin = (in_array($AUTH[$policy]['skin'],$SKINS)) ? $AUTH[$policy]['skin'] : _DEFAULT_SKIN;
+ $q = "UPDATE settings SET lastlogin=now() WHERE userAccount='%s' AND policy='%s'";
+ $v = array($userAccount, $policy);
+ } else {
+ /* Policy szerinti default skin*/
+ $_SESSION['lastLogin'] = '2002-04-19';
+ $skin = (in_array($AUTH[$policy]['skin'],$SKINS)) ? $AUTH[$policy]['skin'] : _DEFAULT_SKIN;
+ $lang = _DEFAULT_LANG;
+ $q = "INSERT INTO settings (userAccount,policy,skin,lang,lastlogin) VALUES ('%s', '%s', '%s', '%s', now())";
+ $v = array($userAccount, $policy, '', $lang);
+ }
+ db_query($q, array('fv' => 'newSession', 'modul' => 'login', 'values' => $v), $lr);
+ }
+ // Ellenőrizzük, hogy hány karaktér fér bele az adatbázisba(!); ha eltérő, mint a generált, csonkoljuk.
+ $_q = "SHOW COLUMNS FROM session WHERE Field='sessionID'";
+ $_a = db_query($_q, array('fv' => 'newSession', 'modul' => 'login', 'result' => 'record'), $lr);
+ $_mezohossz = intval(substr($_a['Type'],strpos($_a['Type'],'(')+1,2));
+ if ($_mezohossz==0) $_SESSION['alert'][] = 'message:session_alter_needed:'.$_mezohossz;
+ if (strlen($sessionID)!=$_mezohossz) {
+ $_SESSION['alert'][] = 'message:session_alter_needed:'.$_mezohossz.':'.strlen($sessionID);
+ $sessionID = substr($sessionID,0,$_mezohossz);
+ }
+ // Felvétel az adatbázisba
+ if ($toRegister===false) {
+ $query = "DELETE FROM session WHERE sessionId='%s' and policy='%s'";
+ db_query($query, array('fv' => 'newSession', 'modul' => 'login', 'values' => array($sessionID, $policy)), $lr);
+ }
+ $now = date('Y-m-d H:i:s');
+ $_SC = sessionCookieEncode($sessionID, $now); // TODO
+ $_studyId = ($studyId=='') ? 'NULL' : $studyId;
+ if ($studyId=='') {
+ $query="INSERT INTO session
+ (sessionID, userPassword, userAccount, userCn, studyId, dt, policy, skin, lang, activity, sessionCookie)
+ VALUES ('%s', aes_encrypt('%s', '%s'), '%s', '%s', NULL, '%s', '%s', '%s', %u, NOW(), '%s')"; // [SECURITY 002]
+ $v = array($sessionID, $userPassword, $_SC['pwHash'], $userAccount, $userCn, $now, $policy, $skin, $lang, $_SC['store']);
+ } else {
+ $query="INSERT INTO session
+ (sessionID, userPassword, userAccount, userCn, studyId, dt, policy, skin, lang, activity, sessionCookie)
+ VALUES ('%s', aes_encrypt('%s', '%s'), '%s', '%s', '%s', '%s', '%s', '%s', %u, NOW(), '%s')"; // [SECURITY 002]
+ $v = array($sessionID, $userPassword, $_SC['pwHash'],$userAccount, $userCn, $_studyId, $now, $policy, $skin, $lang, $_SC['store']);
+ }
+ db_query($query, array('fv' => 'newSession', 'modul' => 'login', 'values' => $v), $lr);
+ db_close($lr);
+
+ // Megjegyzés: a sessionID elhashelése nem jelent semmiféle védelmet, így tökéletesen megfelelő a gyenge hash is, de now alkalmazása hibás
+ setcookie($_SC['name'],$_SC['value'],time()+60*60*_SESSION_MAX_TIME,'/','',_SECURECOOKIE);
+
+ return $sessionID;
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/share/date/names.php b/mayor-orig/mayor-base/www/include/share/date/names.php
new file mode 100644
index 00000000..4b39c79b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/date/names.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ Module: naplo
+*/
+
+ if (file_exists("lang/$lang/date/names.php")) {
+ require("lang/$lang/date/names.php");
+ } elseif (file_exists('lang/'._DEFAULT_LANG.'/date/names.php')) {
+ require('lang/'._DEFAULT_LANG.'/date/names.php');
+ }
+
+ $aHetNapjai = array(
+ _MONDAY,_TUESDAY,_WEDNESDAY,_THURSDAY,_FRIDAY,_SATURDAY,_SUNDAY
+ );
+ define('AHETNAPJAI',json_encode($aHetNapjai));
+
+ $Honapok = array(
+ _JANUARY,_FEBRUARY,_MARCH,_APRIL,_MAY,_JUNE,
+ _JULY,_AUGUSTUS,_SEPTEMBER,_OCTOBER,_NOVEMBER,_DECEMBER
+ );
+ define('AZEVHONAPJAI',json_encode($Honapok));
+
+ function dateToString($dt) {
+
+ global $Honapok;
+
+ list($ev,$ho,$nap) = explode('-', $dt);
+ return $ev.'. '.kisbetus($Honapok[$ho-1]).' '.intval($nap).'.';
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Authentication/AccessToken.php b/mayor-orig/mayor-base/www/include/share/facebook/Authentication/AccessToken.php
new file mode 100644
index 00000000..5d700733
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Authentication/AccessToken.php
@@ -0,0 +1,160 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Authentication;
+
+/**
+ * Class AccessToken
+ *
+ * @package Facebook
+ */
+class AccessToken
+{
+ /**
+ * The access token value.
+ *
+ * @var string
+ */
+ protected $value = '';
+
+ /**
+ * Date when token expires.
+ *
+ * @var \DateTime|null
+ */
+ protected $expiresAt;
+
+ /**
+ * Create a new access token entity.
+ *
+ * @param string $accessToken
+ * @param int $expiresAt
+ */
+ public function __construct($accessToken, $expiresAt = 0)
+ {
+ $this->value = $accessToken;
+ if ($expiresAt) {
+ $this->setExpiresAtFromTimeStamp($expiresAt);
+ }
+ }
+
+ /**
+ * Generate an app secret proof to sign a request to Graph.
+ *
+ * @param string $appSecret The app secret.
+ *
+ * @return string
+ */
+ public function getAppSecretProof($appSecret)
+ {
+ return hash_hmac('sha256', $this->value, $appSecret);
+ }
+
+ /**
+ * Getter for expiresAt.
+ *
+ * @return \DateTime|null
+ */
+ public function getExpiresAt()
+ {
+ return $this->expiresAt;
+ }
+
+ /**
+ * Determines whether or not this is an app access token.
+ *
+ * @return bool
+ */
+ public function isAppAccessToken()
+ {
+ return strpos($this->value, '|') !== false;
+ }
+
+ /**
+ * Determines whether or not this is a long-lived token.
+ *
+ * @return bool
+ */
+ public function isLongLived()
+ {
+ if ($this->expiresAt) {
+ return $this->expiresAt->getTimestamp() > time() + (60 * 60 * 2);
+ }
+
+ if ($this->isAppAccessToken()) {
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Checks the expiration of the access token.
+ *
+ * @return boolean|null
+ */
+ public function isExpired()
+ {
+ if ($this->getExpiresAt() instanceof \DateTime) {
+ return $this->getExpiresAt()->getTimestamp() < time();
+ }
+
+ if ($this->isAppAccessToken()) {
+ return false;
+ }
+
+ return null;
+ }
+
+ /**
+ * Returns the access token as a string.
+ *
+ * @return string
+ */
+ public function getValue()
+ {
+ return $this->value;
+ }
+
+ /**
+ * Returns the access token as a string.
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return $this->getValue();
+ }
+
+ /**
+ * Setter for expires_at.
+ *
+ * @param int $timeStamp
+ */
+ protected function setExpiresAtFromTimeStamp($timeStamp)
+ {
+ $dt = new \DateTime();
+ $dt->setTimestamp($timeStamp);
+ $this->expiresAt = $dt;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Authentication/AccessTokenMetadata.php b/mayor-orig/mayor-base/www/include/share/facebook/Authentication/AccessTokenMetadata.php
new file mode 100644
index 00000000..165433cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Authentication/AccessTokenMetadata.php
@@ -0,0 +1,390 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Authentication;
+
+use Facebook\Exceptions\FacebookSDKException;
+
+/**
+ * Class AccessTokenMetadata
+ *
+ * Represents metadata from an access token.
+ *
+ * @package Facebook
+ * @see https://developers.facebook.com/docs/graph-api/reference/debug_token
+ */
+class AccessTokenMetadata
+{
+ /**
+ * The access token metadata.
+ *
+ * @var array
+ */
+ protected $metadata = [];
+
+ /**
+ * Properties that should be cast as DateTime objects.
+ *
+ * @var array
+ */
+ protected static $dateProperties = ['expires_at', 'issued_at'];
+
+ /**
+ * @param array $metadata
+ *
+ * @throws FacebookSDKException
+ */
+ public function __construct(array $metadata)
+ {
+ if (!isset($metadata['data'])) {
+ throw new FacebookSDKException('Unexpected debug token response data.', 401);
+ }
+
+ $this->metadata = $metadata['data'];
+
+ $this->castTimestampsToDateTime();
+ }
+
+ /**
+ * Returns a value from the metadata.
+ *
+ * @param string $field The property to retrieve.
+ * @param mixed $default The default to return if the property doesn't exist.
+ *
+ * @return mixed
+ */
+ public function getField($field, $default = null)
+ {
+ if (isset($this->metadata[$field])) {
+ return $this->metadata[$field];
+ }
+
+ return $default;
+ }
+
+ /**
+ * Returns a value from the metadata.
+ *
+ * @param string $field The property to retrieve.
+ * @param mixed $default The default to return if the property doesn't exist.
+ *
+ * @return mixed
+ *
+ * @deprecated 5.0.0 getProperty() has been renamed to getField()
+ * @todo v6: Remove this method
+ */
+ public function getProperty($field, $default = null)
+ {
+ return $this->getField($field, $default);
+ }
+
+ /**
+ * Returns a value from a child property in the metadata.
+ *
+ * @param string $parentField The parent property.
+ * @param string $field The property to retrieve.
+ * @param mixed $default The default to return if the property doesn't exist.
+ *
+ * @return mixed
+ */
+ public function getChildProperty($parentField, $field, $default = null)
+ {
+ if (!isset($this->metadata[$parentField])) {
+ return $default;
+ }
+
+ if (!isset($this->metadata[$parentField][$field])) {
+ return $default;
+ }
+
+ return $this->metadata[$parentField][$field];
+ }
+
+ /**
+ * Returns a value from the error metadata.
+ *
+ * @param string $field The property to retrieve.
+ * @param mixed $default The default to return if the property doesn't exist.
+ *
+ * @return mixed
+ */
+ public function getErrorProperty($field, $default = null)
+ {
+ return $this->getChildProperty('error', $field, $default);
+ }
+
+ /**
+ * Returns a value from the "metadata" metadata. *Brain explodes*
+ *
+ * @param string $field The property to retrieve.
+ * @param mixed $default The default to return if the property doesn't exist.
+ *
+ * @return mixed
+ */
+ public function getMetadataProperty($field, $default = null)
+ {
+ return $this->getChildProperty('metadata', $field, $default);
+ }
+
+ /**
+ * The ID of the application this access token is for.
+ *
+ * @return string|null
+ */
+ public function getAppId()
+ {
+ return $this->getField('app_id');
+ }
+
+ /**
+ * Name of the application this access token is for.
+ *
+ * @return string|null
+ */
+ public function getApplication()
+ {
+ return $this->getField('application');
+ }
+
+ /**
+ * Any error that a request to the graph api
+ * would return due to the access token.
+ *
+ * @return bool|null
+ */
+ public function isError()
+ {
+ return $this->getField('error') !== null;
+ }
+
+ /**
+ * The error code for the error.
+ *
+ * @return int|null
+ */
+ public function getErrorCode()
+ {
+ return $this->getErrorProperty('code');
+ }
+
+ /**
+ * The error message for the error.
+ *
+ * @return string|null
+ */
+ public function getErrorMessage()
+ {
+ return $this->getErrorProperty('message');
+ }
+
+ /**
+ * The error subcode for the error.
+ *
+ * @return int|null
+ */
+ public function getErrorSubcode()
+ {
+ return $this->getErrorProperty('subcode');
+ }
+
+ /**
+ * DateTime when this access token expires.
+ *
+ * @return \DateTime|null
+ */
+ public function getExpiresAt()
+ {
+ return $this->getField('expires_at');
+ }
+
+ /**
+ * Whether the access token is still valid or not.
+ *
+ * @return boolean|null
+ */
+ public function getIsValid()
+ {
+ return $this->getField('is_valid');
+ }
+
+ /**
+ * DateTime when this access token was issued.
+ *
+ * Note that the issued_at field is not returned
+ * for short-lived access tokens.
+ *
+ * @see https://developers.facebook.com/docs/facebook-login/access-tokens#debug
+ *
+ * @return \DateTime|null
+ */
+ public function getIssuedAt()
+ {
+ return $this->getField('issued_at');
+ }
+
+ /**
+ * General metadata associated with the access token.
+ * Can contain data like 'sso', 'auth_type', 'auth_nonce'.
+ *
+ * @return array|null
+ */
+ public function getMetadata()
+ {
+ return $this->getField('metadata');
+ }
+
+ /**
+ * The 'sso' child property from the 'metadata' parent property.
+ *
+ * @return string|null
+ */
+ public function getSso()
+ {
+ return $this->getMetadataProperty('sso');
+ }
+
+ /**
+ * The 'auth_type' child property from the 'metadata' parent property.
+ *
+ * @return string|null
+ */
+ public function getAuthType()
+ {
+ return $this->getMetadataProperty('auth_type');
+ }
+
+ /**
+ * The 'auth_nonce' child property from the 'metadata' parent property.
+ *
+ * @return string|null
+ */
+ public function getAuthNonce()
+ {
+ return $this->getMetadataProperty('auth_nonce');
+ }
+
+ /**
+ * For impersonated access tokens, the ID of
+ * the page this token contains.
+ *
+ * @return string|null
+ */
+ public function getProfileId()
+ {
+ return $this->getField('profile_id');
+ }
+
+ /**
+ * List of permissions that the user has granted for
+ * the app in this access token.
+ *
+ * @return array
+ */
+ public function getScopes()
+ {
+ return $this->getField('scopes');
+ }
+
+ /**
+ * The ID of the user this access token is for.
+ *
+ * @return string|null
+ */
+ public function getUserId()
+ {
+ return $this->getField('user_id');
+ }
+
+ /**
+ * Ensures the app ID from the access token
+ * metadata is what we expect.
+ *
+ * @param string $appId
+ *
+ * @throws FacebookSDKException
+ */
+ public function validateAppId($appId)
+ {
+ if ($this->getAppId() !== $appId) {
+ throw new FacebookSDKException('Access token metadata contains unexpected app ID.', 401);
+ }
+ }
+
+ /**
+ * Ensures the user ID from the access token
+ * metadata is what we expect.
+ *
+ * @param string $userId
+ *
+ * @throws FacebookSDKException
+ */
+ public function validateUserId($userId)
+ {
+ if ($this->getUserId() !== $userId) {
+ throw new FacebookSDKException('Access token metadata contains unexpected user ID.', 401);
+ }
+ }
+
+ /**
+ * Ensures the access token has not expired yet.
+ *
+ * @throws FacebookSDKException
+ */
+ public function validateExpiration()
+ {
+ if (!$this->getExpiresAt() instanceof \DateTime) {
+ return;
+ }
+
+ if ($this->getExpiresAt()->getTimestamp() < time()) {
+ throw new FacebookSDKException('Inspection of access token metadata shows that the access token has expired.', 401);
+ }
+ }
+
+ /**
+ * Converts a unix timestamp into a DateTime entity.
+ *
+ * @param int $timestamp
+ *
+ * @return \DateTime
+ */
+ private function convertTimestampToDateTime($timestamp)
+ {
+ $dt = new \DateTime();
+ $dt->setTimestamp($timestamp);
+
+ return $dt;
+ }
+
+ /**
+ * Casts the unix timestamps as DateTime entities.
+ */
+ private function castTimestampsToDateTime()
+ {
+ foreach (static::$dateProperties as $key) {
+ if (isset($this->metadata[$key]) && $this->metadata[$key] !== 0) {
+ $this->metadata[$key] = $this->convertTimestampToDateTime($this->metadata[$key]);
+ }
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Authentication/OAuth2Client.php b/mayor-orig/mayor-base/www/include/share/facebook/Authentication/OAuth2Client.php
new file mode 100644
index 00000000..94df9b7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Authentication/OAuth2Client.php
@@ -0,0 +1,292 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Authentication;
+
+use Facebook\Facebook;
+use Facebook\FacebookApp;
+use Facebook\FacebookRequest;
+use Facebook\FacebookResponse;
+use Facebook\FacebookClient;
+use Facebook\Exceptions\FacebookResponseException;
+use Facebook\Exceptions\FacebookSDKException;
+
+/**
+ * Class OAuth2Client
+ *
+ * @package Facebook
+ */
+class OAuth2Client
+{
+ /**
+ * @const string The base authorization URL.
+ */
+ const BASE_AUTHORIZATION_URL = 'https://www.facebook.com';
+
+ /**
+ * The FacebookApp entity.
+ *
+ * @var FacebookApp
+ */
+ protected $app;
+
+ /**
+ * The Facebook client.
+ *
+ * @var FacebookClient
+ */
+ protected $client;
+
+ /**
+ * The version of the Graph API to use.
+ *
+ * @var string
+ */
+ protected $graphVersion;
+
+ /**
+ * The last request sent to Graph.
+ *
+ * @var FacebookRequest|null
+ */
+ protected $lastRequest;
+
+ /**
+ * @param FacebookApp $app
+ * @param FacebookClient $client
+ * @param string|null $graphVersion The version of the Graph API to use.
+ */
+ public function __construct(FacebookApp $app, FacebookClient $client, $graphVersion = null)
+ {
+ $this->app = $app;
+ $this->client = $client;
+ $this->graphVersion = $graphVersion ?: Facebook::DEFAULT_GRAPH_VERSION;
+ }
+
+ /**
+ * Returns the last FacebookRequest that was sent.
+ * Useful for debugging and testing.
+ *
+ * @return FacebookRequest|null
+ */
+ public function getLastRequest()
+ {
+ return $this->lastRequest;
+ }
+
+ /**
+ * Get the metadata associated with the access token.
+ *
+ * @param AccessToken|string $accessToken The access token to debug.
+ *
+ * @return AccessTokenMetadata
+ */
+ public function debugToken($accessToken)
+ {
+ $accessToken = $accessToken instanceof AccessToken ? $accessToken->getValue() : $accessToken;
+ $params = ['input_token' => $accessToken];
+
+ $this->lastRequest = new FacebookRequest(
+ $this->app,
+ $this->app->getAccessToken(),
+ 'GET',
+ '/debug_token',
+ $params,
+ null,
+ $this->graphVersion
+ );
+ $response = $this->client->sendRequest($this->lastRequest);
+ $metadata = $response->getDecodedBody();
+
+ return new AccessTokenMetadata($metadata);
+ }
+
+ /**
+ * Generates an authorization URL to begin the process of authenticating a user.
+ *
+ * @param string $redirectUrl The callback URL to redirect to.
+ * @param string $state The CSPRNG-generated CSRF value.
+ * @param array $scope An array of permissions to request.
+ * @param array $params An array of parameters to generate URL.
+ * @param string $separator The separator to use in http_build_query().
+ *
+ * @return string
+ */
+ public function getAuthorizationUrl($redirectUrl, $state, array $scope = [], array $params = [], $separator = '&')
+ {
+ $params += [
+ 'client_id' => $this->app->getId(),
+ 'state' => $state,
+ 'response_type' => 'code',
+ 'sdk' => 'php-sdk-' . Facebook::VERSION,
+ 'redirect_uri' => $redirectUrl,
+ 'scope' => implode(',', $scope)
+ ];
+
+ return static::BASE_AUTHORIZATION_URL . '/' . $this->graphVersion . '/dialog/oauth?' . http_build_query($params, null, $separator);
+ }
+
+ /**
+ * Get a valid access token from a code.
+ *
+ * @param string $code
+ * @param string $redirectUri
+ *
+ * @return AccessToken
+ *
+ * @throws FacebookSDKException
+ */
+ public function getAccessTokenFromCode($code, $redirectUri = '')
+ {
+ $params = [
+ 'code' => $code,
+ 'redirect_uri' => $redirectUri,
+ ];
+
+ return $this->requestAnAccessToken($params);
+ }
+
+ /**
+ * Exchanges a short-lived access token with a long-lived access token.
+ *
+ * @param AccessToken|string $accessToken
+ *
+ * @return AccessToken
+ *
+ * @throws FacebookSDKException
+ */
+ public function getLongLivedAccessToken($accessToken)
+ {
+ $accessToken = $accessToken instanceof AccessToken ? $accessToken->getValue() : $accessToken;
+ $params = [
+ 'grant_type' => 'fb_exchange_token',
+ 'fb_exchange_token' => $accessToken,
+ ];
+
+ return $this->requestAnAccessToken($params);
+ }
+
+ /**
+ * Get a valid code from an access token.
+ *
+ * @param AccessToken|string $accessToken
+ * @param string $redirectUri
+ *
+ * @return AccessToken
+ *
+ * @throws FacebookSDKException
+ */
+ public function getCodeFromLongLivedAccessToken($accessToken, $redirectUri = '')
+ {
+ $params = [
+ 'redirect_uri' => $redirectUri,
+ ];
+
+ $response = $this->sendRequestWithClientParams('/oauth/client_code', $params, $accessToken);
+ $data = $response->getDecodedBody();
+
+ if (!isset($data['code'])) {
+ throw new FacebookSDKException('Code was not returned from Graph.', 401);
+ }
+
+ return $data['code'];
+ }
+
+ /**
+ * Send a request to the OAuth endpoint.
+ *
+ * @param array $params
+ *
+ * @return AccessToken
+ *
+ * @throws FacebookSDKException
+ */
+ protected function requestAnAccessToken(array $params)
+ {
+ $response = $this->sendRequestWithClientParams('/oauth/access_token', $params);
+ $data = $response->getDecodedBody();
+
+ if (!isset($data['access_token'])) {
+ throw new FacebookSDKException('Access token was not returned from Graph.', 401);
+ }
+
+ // Graph returns two different key names for expiration time
+ // on the same endpoint. Doh! :/
+ $expiresAt = 0;
+ if (isset($data['expires'])) {
+ // For exchanging a short lived token with a long lived token.
+ // The expiration time in seconds will be returned as "expires".
+ $expiresAt = time() + $data['expires'];
+ } elseif (isset($data['expires_in'])) {
+ // For exchanging a code for a short lived access token.
+ // The expiration time in seconds will be returned as "expires_in".
+ // See: https://developers.facebook.com/docs/facebook-login/access-tokens#long-via-code
+ $expiresAt = time() + $data['expires_in'];
+ }
+
+ return new AccessToken($data['access_token'], $expiresAt);
+ }
+
+ /**
+ * Send a request to Graph with an app access token.
+ *
+ * @param string $endpoint
+ * @param array $params
+ * @param AccessToken|string|null $accessToken
+ *
+ * @return FacebookResponse
+ *
+ * @throws FacebookResponseException
+ */
+ protected function sendRequestWithClientParams($endpoint, array $params, $accessToken = null)
+ {
+ $params += $this->getClientParams();
+
+ $accessToken = $accessToken ?: $this->app->getAccessToken();
+
+ $this->lastRequest = new FacebookRequest(
+ $this->app,
+ $accessToken,
+ 'GET',
+ $endpoint,
+ $params,
+ null,
+ $this->graphVersion
+ );
+
+ return $this->client->sendRequest($this->lastRequest);
+ }
+
+ /**
+ * Returns the client_* params for OAuth requests.
+ *
+ * @return array
+ */
+ protected function getClientParams()
+ {
+ return [
+ 'client_id' => $this->app->getId(),
+ 'client_secret' => $this->app->getSecret(),
+ ];
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookAuthenticationException.php b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookAuthenticationException.php
new file mode 100644
index 00000000..c5e45fa3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookAuthenticationException.php
@@ -0,0 +1,33 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Exceptions;
+
+/**
+ * Class FacebookAuthenticationException
+ *
+ * @package Facebook
+ */
+class FacebookAuthenticationException extends FacebookSDKException
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookAuthorizationException.php b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookAuthorizationException.php
new file mode 100644
index 00000000..3a7f557c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookAuthorizationException.php
@@ -0,0 +1,33 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Exceptions;
+
+/**
+ * Class FacebookAuthorizationException
+ *
+ * @package Facebook
+ */
+class FacebookAuthorizationException extends FacebookSDKException
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookClientException.php b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookClientException.php
new file mode 100644
index 00000000..6a899b77
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookClientException.php
@@ -0,0 +1,33 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Exceptions;
+
+/**
+ * Class FacebookClientException
+ *
+ * @package Facebook
+ */
+class FacebookClientException extends FacebookSDKException
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookOtherException.php b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookOtherException.php
new file mode 100644
index 00000000..06a33ac8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookOtherException.php
@@ -0,0 +1,33 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Exceptions;
+
+/**
+ * Class FacebookOtherException
+ *
+ * @package Facebook
+ */
+class FacebookOtherException extends FacebookSDKException
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookResponseException.php b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookResponseException.php
new file mode 100644
index 00000000..4a135db1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookResponseException.php
@@ -0,0 +1,216 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Exceptions;
+
+use Facebook\FacebookResponse;
+
+/**
+ * Class FacebookResponseException
+ *
+ * @package Facebook
+ */
+class FacebookResponseException extends FacebookSDKException
+{
+ /**
+ * @var FacebookResponse The response that threw the exception.
+ */
+ protected $response;
+
+ /**
+ * @var array Decoded response.
+ */
+ protected $responseData;
+
+ /**
+ * Creates a FacebookResponseException.
+ *
+ * @param FacebookResponse $response The response that threw the exception.
+ * @param FacebookSDKException $previousException The more detailed exception.
+ */
+ public function __construct(FacebookResponse $response, FacebookSDKException $previousException = null)
+ {
+ $this->response = $response;
+ $this->responseData = $response->getDecodedBody();
+
+ $errorMessage = $this->get('message', 'Unknown error from Graph.');
+ $errorCode = $this->get('code', -1);
+
+ parent::__construct($errorMessage, $errorCode, $previousException);
+ }
+
+ /**
+ * A factory for creating the appropriate exception based on the response from Graph.
+ *
+ * @param FacebookResponse $response The response that threw the exception.
+ *
+ * @return FacebookResponseException
+ */
+ public static function create(FacebookResponse $response)
+ {
+ $data = $response->getDecodedBody();
+
+ if (!isset($data['error']['code']) && isset($data['code'])) {
+ $data = ['error' => $data];
+ }
+
+ $code = isset($data['error']['code']) ? $data['error']['code'] : null;
+ $message = isset($data['error']['message']) ? $data['error']['message'] : 'Unknown error from Graph.';
+
+ if (isset($data['error']['error_subcode'])) {
+ switch ($data['error']['error_subcode']) {
+ // Other authentication issues
+ case 458:
+ case 459:
+ case 460:
+ case 463:
+ case 464:
+ case 467:
+ return new static($response, new FacebookAuthenticationException($message, $code));
+ // Video upload resumable error
+ case 1363030:
+ case 1363019:
+ case 1363037:
+ case 1363033:
+ case 1363021:
+ case 1363041:
+ return new static($response, new FacebookResumableUploadException($message, $code));
+ }
+ }
+
+ switch ($code) {
+ // Login status or token expired, revoked, or invalid
+ case 100:
+ case 102:
+ case 190:
+ return new static($response, new FacebookAuthenticationException($message, $code));
+
+ // Server issue, possible downtime
+ case 1:
+ case 2:
+ return new static($response, new FacebookServerException($message, $code));
+
+ // API Throttling
+ case 4:
+ case 17:
+ case 32:
+ case 341:
+ case 613:
+ return new static($response, new FacebookThrottleException($message, $code));
+
+ // Duplicate Post
+ case 506:
+ return new static($response, new FacebookClientException($message, $code));
+ }
+
+ // Missing Permissions
+ if ($code == 10 || ($code >= 200 && $code <= 299)) {
+ return new static($response, new FacebookAuthorizationException($message, $code));
+ }
+
+ // OAuth authentication error
+ if (isset($data['error']['type']) && $data['error']['type'] === 'OAuthException') {
+ return new static($response, new FacebookAuthenticationException($message, $code));
+ }
+
+ // All others
+ return new static($response, new FacebookOtherException($message, $code));
+ }
+
+ /**
+ * Checks isset and returns that or a default value.
+ *
+ * @param string $key
+ * @param mixed $default
+ *
+ * @return mixed
+ */
+ private function get($key, $default = null)
+ {
+ if (isset($this->responseData['error'][$key])) {
+ return $this->responseData['error'][$key];
+ }
+
+ return $default;
+ }
+
+ /**
+ * Returns the HTTP status code
+ *
+ * @return int
+ */
+ public function getHttpStatusCode()
+ {
+ return $this->response->getHttpStatusCode();
+ }
+
+ /**
+ * Returns the sub-error code
+ *
+ * @return int
+ */
+ public function getSubErrorCode()
+ {
+ return $this->get('error_subcode', -1);
+ }
+
+ /**
+ * Returns the error type
+ *
+ * @return string
+ */
+ public function getErrorType()
+ {
+ return $this->get('type', '');
+ }
+
+ /**
+ * Returns the raw response used to create the exception.
+ *
+ * @return string
+ */
+ public function getRawResponse()
+ {
+ return $this->response->getBody();
+ }
+
+ /**
+ * Returns the decoded response used to create the exception.
+ *
+ * @return array
+ */
+ public function getResponseData()
+ {
+ return $this->responseData;
+ }
+
+ /**
+ * Returns the response entity used to create the exception.
+ *
+ * @return FacebookResponse
+ */
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookResumableUploadException.php b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookResumableUploadException.php
new file mode 100644
index 00000000..6f470662
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookResumableUploadException.php
@@ -0,0 +1,33 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Exceptions;
+
+/**
+ * Class FacebookResumableUploadException
+ *
+ * @package Facebook
+ */
+class FacebookResumableUploadException extends FacebookSDKException
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookSDKException.php b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookSDKException.php
new file mode 100644
index 00000000..d8bef1ab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookSDKException.php
@@ -0,0 +1,33 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Exceptions;
+
+/**
+ * Class FacebookSDKException
+ *
+ * @package Facebook
+ */
+class FacebookSDKException extends \Exception
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookServerException.php b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookServerException.php
new file mode 100644
index 00000000..5e0b625c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookServerException.php
@@ -0,0 +1,33 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Exceptions;
+
+/**
+ * Class FacebookServerException
+ *
+ * @package Facebook
+ */
+class FacebookServerException extends FacebookSDKException
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookThrottleException.php b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookThrottleException.php
new file mode 100644
index 00000000..47fec0ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Exceptions/FacebookThrottleException.php
@@ -0,0 +1,33 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Exceptions;
+
+/**
+ * Class FacebookThrottleException
+ *
+ * @package Facebook
+ */
+class FacebookThrottleException extends FacebookSDKException
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Facebook.php b/mayor-orig/mayor-base/www/include/share/facebook/Facebook.php
new file mode 100644
index 00000000..2e789ca2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Facebook.php
@@ -0,0 +1,635 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook;
+
+use Facebook\Authentication\AccessToken;
+use Facebook\Authentication\OAuth2Client;
+use Facebook\FileUpload\FacebookFile;
+use Facebook\FileUpload\FacebookResumableUploader;
+use Facebook\FileUpload\FacebookTransferChunk;
+use Facebook\FileUpload\FacebookVideo;
+use Facebook\GraphNodes\GraphEdge;
+use Facebook\Url\UrlDetectionInterface;
+use Facebook\Url\FacebookUrlDetectionHandler;
+use Facebook\PseudoRandomString\PseudoRandomStringGeneratorFactory;
+use Facebook\PseudoRandomString\PseudoRandomStringGeneratorInterface;
+use Facebook\HttpClients\HttpClientsFactory;
+use Facebook\PersistentData\PersistentDataFactory;
+use Facebook\PersistentData\PersistentDataInterface;
+use Facebook\Helpers\FacebookCanvasHelper;
+use Facebook\Helpers\FacebookJavaScriptHelper;
+use Facebook\Helpers\FacebookPageTabHelper;
+use Facebook\Helpers\FacebookRedirectLoginHelper;
+use Facebook\Exceptions\FacebookSDKException;
+
+/**
+ * Class Facebook
+ *
+ * @package Facebook
+ */
+class Facebook
+{
+ /**
+ * @const string Version number of the Facebook PHP SDK.
+ */
+ const VERSION = '5.6.3';
+
+ /**
+ * @const string Default Graph API version for requests.
+ */
+ const DEFAULT_GRAPH_VERSION = 'v2.10';
+
+ /**
+ * @const string The name of the environment variable that contains the app ID.
+ */
+ const APP_ID_ENV_NAME = 'FACEBOOK_APP_ID';
+
+ /**
+ * @const string The name of the environment variable that contains the app secret.
+ */
+ const APP_SECRET_ENV_NAME = 'FACEBOOK_APP_SECRET';
+
+ /**
+ * @var FacebookApp The FacebookApp entity.
+ */
+ protected $app;
+
+ /**
+ * @var FacebookClient The Facebook client service.
+ */
+ protected $client;
+
+ /**
+ * @var OAuth2Client The OAuth 2.0 client service.
+ */
+ protected $oAuth2Client;
+
+ /**
+ * @var UrlDetectionInterface|null The URL detection handler.
+ */
+ protected $urlDetectionHandler;
+
+ /**
+ * @var PseudoRandomStringGeneratorInterface|null The cryptographically secure pseudo-random string generator.
+ */
+ protected $pseudoRandomStringGenerator;
+
+ /**
+ * @var AccessToken|null The default access token to use with requests.
+ */
+ protected $defaultAccessToken;
+
+ /**
+ * @var string|null The default Graph version we want to use.
+ */
+ protected $defaultGraphVersion;
+
+ /**
+ * @var PersistentDataInterface|null The persistent data handler.
+ */
+ protected $persistentDataHandler;
+
+ /**
+ * @var FacebookResponse|FacebookBatchResponse|null Stores the last request made to Graph.
+ */
+ protected $lastResponse;
+
+ /**
+ * Instantiates a new Facebook super-class object.
+ *
+ * @param array $config
+ *
+ * @throws FacebookSDKException
+ */
+ public function __construct(array $config = [])
+ {
+ $config = array_merge([
+ 'app_id' => getenv(static::APP_ID_ENV_NAME),
+ 'app_secret' => getenv(static::APP_SECRET_ENV_NAME),
+ 'default_graph_version' => static::DEFAULT_GRAPH_VERSION,
+ 'enable_beta_mode' => false,
+ 'http_client_handler' => null,
+ 'persistent_data_handler' => null,
+ 'pseudo_random_string_generator' => null,
+ 'url_detection_handler' => null,
+ ], $config);
+
+ if (!$config['app_id']) {
+ throw new FacebookSDKException('Required "app_id" key not supplied in config and could not find fallback environment variable "' . static::APP_ID_ENV_NAME . '"');
+ }
+ if (!$config['app_secret']) {
+ throw new FacebookSDKException('Required "app_secret" key not supplied in config and could not find fallback environment variable "' . static::APP_SECRET_ENV_NAME . '"');
+ }
+
+ $this->app = new FacebookApp($config['app_id'], $config['app_secret']);
+ $this->client = new FacebookClient(
+ HttpClientsFactory::createHttpClient($config['http_client_handler']),
+ $config['enable_beta_mode']
+ );
+ $this->pseudoRandomStringGenerator = PseudoRandomStringGeneratorFactory::createPseudoRandomStringGenerator(
+ $config['pseudo_random_string_generator']
+ );
+ $this->setUrlDetectionHandler($config['url_detection_handler'] ?: new FacebookUrlDetectionHandler());
+ $this->persistentDataHandler = PersistentDataFactory::createPersistentDataHandler(
+ $config['persistent_data_handler']
+ );
+
+ if (isset($config['default_access_token'])) {
+ $this->setDefaultAccessToken($config['default_access_token']);
+ }
+
+ // @todo v6: Throw an InvalidArgumentException if "default_graph_version" is not set
+ $this->defaultGraphVersion = $config['default_graph_version'];
+ }
+
+ /**
+ * Returns the FacebookApp entity.
+ *
+ * @return FacebookApp
+ */
+ public function getApp()
+ {
+ return $this->app;
+ }
+
+ /**
+ * Returns the FacebookClient service.
+ *
+ * @return FacebookClient
+ */
+ public function getClient()
+ {
+ return $this->client;
+ }
+
+ /**
+ * Returns the OAuth 2.0 client service.
+ *
+ * @return OAuth2Client
+ */
+ public function getOAuth2Client()
+ {
+ if (!$this->oAuth2Client instanceof OAuth2Client) {
+ $app = $this->getApp();
+ $client = $this->getClient();
+ $this->oAuth2Client = new OAuth2Client($app, $client, $this->defaultGraphVersion);
+ }
+
+ return $this->oAuth2Client;
+ }
+
+ /**
+ * Returns the last response returned from Graph.
+ *
+ * @return FacebookResponse|FacebookBatchResponse|null
+ */
+ public function getLastResponse()
+ {
+ return $this->lastResponse;
+ }
+
+ /**
+ * Returns the URL detection handler.
+ *
+ * @return UrlDetectionInterface
+ */
+ public function getUrlDetectionHandler()
+ {
+ return $this->urlDetectionHandler;
+ }
+
+ /**
+ * Changes the URL detection handler.
+ *
+ * @param UrlDetectionInterface $urlDetectionHandler
+ */
+ private function setUrlDetectionHandler(UrlDetectionInterface $urlDetectionHandler)
+ {
+ $this->urlDetectionHandler = $urlDetectionHandler;
+ }
+
+ /**
+ * Returns the default AccessToken entity.
+ *
+ * @return AccessToken|null
+ */
+ public function getDefaultAccessToken()
+ {
+ return $this->defaultAccessToken;
+ }
+
+ /**
+ * Sets the default access token to use with requests.
+ *
+ * @param AccessToken|string $accessToken The access token to save.
+ *
+ * @throws \InvalidArgumentException
+ */
+ public function setDefaultAccessToken($accessToken)
+ {
+ if (is_string($accessToken)) {
+ $this->defaultAccessToken = new AccessToken($accessToken);
+
+ return;
+ }
+
+ if ($accessToken instanceof AccessToken) {
+ $this->defaultAccessToken = $accessToken;
+
+ return;
+ }
+
+ throw new \InvalidArgumentException('The default access token must be of type "string" or Facebook\AccessToken');
+ }
+
+ /**
+ * Returns the default Graph version.
+ *
+ * @return string
+ */
+ public function getDefaultGraphVersion()
+ {
+ return $this->defaultGraphVersion;
+ }
+
+ /**
+ * Returns the redirect login helper.
+ *
+ * @return FacebookRedirectLoginHelper
+ */
+ public function getRedirectLoginHelper()
+ {
+ return new FacebookRedirectLoginHelper(
+ $this->getOAuth2Client(),
+ $this->persistentDataHandler,
+ $this->urlDetectionHandler,
+ $this->pseudoRandomStringGenerator
+ );
+ }
+
+ /**
+ * Returns the JavaScript helper.
+ *
+ * @return FacebookJavaScriptHelper
+ */
+ public function getJavaScriptHelper()
+ {
+ return new FacebookJavaScriptHelper($this->app, $this->client, $this->defaultGraphVersion);
+ }
+
+ /**
+ * Returns the canvas helper.
+ *
+ * @return FacebookCanvasHelper
+ */
+ public function getCanvasHelper()
+ {
+ return new FacebookCanvasHelper($this->app, $this->client, $this->defaultGraphVersion);
+ }
+
+ /**
+ * Returns the page tab helper.
+ *
+ * @return FacebookPageTabHelper
+ */
+ public function getPageTabHelper()
+ {
+ return new FacebookPageTabHelper($this->app, $this->client, $this->defaultGraphVersion);
+ }
+
+ /**
+ * Sends a GET request to Graph and returns the result.
+ *
+ * @param string $endpoint
+ * @param AccessToken|string|null $accessToken
+ * @param string|null $eTag
+ * @param string|null $graphVersion
+ *
+ * @return FacebookResponse
+ *
+ * @throws FacebookSDKException
+ */
+ public function get($endpoint, $accessToken = null, $eTag = null, $graphVersion = null)
+ {
+ return $this->sendRequest(
+ 'GET',
+ $endpoint,
+ $params = [],
+ $accessToken,
+ $eTag,
+ $graphVersion
+ );
+ }
+
+ /**
+ * Sends a POST request to Graph and returns the result.
+ *
+ * @param string $endpoint
+ * @param array $params
+ * @param AccessToken|string|null $accessToken
+ * @param string|null $eTag
+ * @param string|null $graphVersion
+ *
+ * @return FacebookResponse
+ *
+ * @throws FacebookSDKException
+ */
+ public function post($endpoint, array $params = [], $accessToken = null, $eTag = null, $graphVersion = null)
+ {
+ return $this->sendRequest(
+ 'POST',
+ $endpoint,
+ $params,
+ $accessToken,
+ $eTag,
+ $graphVersion
+ );
+ }
+
+ /**
+ * Sends a DELETE request to Graph and returns the result.
+ *
+ * @param string $endpoint
+ * @param array $params
+ * @param AccessToken|string|null $accessToken
+ * @param string|null $eTag
+ * @param string|null $graphVersion
+ *
+ * @return FacebookResponse
+ *
+ * @throws FacebookSDKException
+ */
+ public function delete($endpoint, array $params = [], $accessToken = null, $eTag = null, $graphVersion = null)
+ {
+ return $this->sendRequest(
+ 'DELETE',
+ $endpoint,
+ $params,
+ $accessToken,
+ $eTag,
+ $graphVersion
+ );
+ }
+
+ /**
+ * Sends a request to Graph for the next page of results.
+ *
+ * @param GraphEdge $graphEdge The GraphEdge to paginate over.
+ *
+ * @return GraphEdge|null
+ *
+ * @throws FacebookSDKException
+ */
+ public function next(GraphEdge $graphEdge)
+ {
+ return $this->getPaginationResults($graphEdge, 'next');
+ }
+
+ /**
+ * Sends a request to Graph for the previous page of results.
+ *
+ * @param GraphEdge $graphEdge The GraphEdge to paginate over.
+ *
+ * @return GraphEdge|null
+ *
+ * @throws FacebookSDKException
+ */
+ public function previous(GraphEdge $graphEdge)
+ {
+ return $this->getPaginationResults($graphEdge, 'previous');
+ }
+
+ /**
+ * Sends a request to Graph for the next page of results.
+ *
+ * @param GraphEdge $graphEdge The GraphEdge to paginate over.
+ * @param string $direction The direction of the pagination: next|previous.
+ *
+ * @return GraphEdge|null
+ *
+ * @throws FacebookSDKException
+ */
+ public function getPaginationResults(GraphEdge $graphEdge, $direction)
+ {
+ $paginationRequest = $graphEdge->getPaginationRequest($direction);
+ if (!$paginationRequest) {
+ return null;
+ }
+
+ $this->lastResponse = $this->client->sendRequest($paginationRequest);
+
+ // Keep the same GraphNode subclass
+ $subClassName = $graphEdge->getSubClassName();
+ $graphEdge = $this->lastResponse->getGraphEdge($subClassName, false);
+
+ return count($graphEdge) > 0 ? $graphEdge : null;
+ }
+
+ /**
+ * Sends a request to Graph and returns the result.
+ *
+ * @param string $method
+ * @param string $endpoint
+ * @param array $params
+ * @param AccessToken|string|null $accessToken
+ * @param string|null $eTag
+ * @param string|null $graphVersion
+ *
+ * @return FacebookResponse
+ *
+ * @throws FacebookSDKException
+ */
+ public function sendRequest($method, $endpoint, array $params = [], $accessToken = null, $eTag = null, $graphVersion = null)
+ {
+ $accessToken = $accessToken ?: $this->defaultAccessToken;
+ $graphVersion = $graphVersion ?: $this->defaultGraphVersion;
+ $request = $this->request($method, $endpoint, $params, $accessToken, $eTag, $graphVersion);
+
+ return $this->lastResponse = $this->client->sendRequest($request);
+ }
+
+ /**
+ * Sends a batched request to Graph and returns the result.
+ *
+ * @param array $requests
+ * @param AccessToken|string|null $accessToken
+ * @param string|null $graphVersion
+ *
+ * @return FacebookBatchResponse
+ *
+ * @throws FacebookSDKException
+ */
+ public function sendBatchRequest(array $requests, $accessToken = null, $graphVersion = null)
+ {
+ $accessToken = $accessToken ?: $this->defaultAccessToken;
+ $graphVersion = $graphVersion ?: $this->defaultGraphVersion;
+ $batchRequest = new FacebookBatchRequest(
+ $this->app,
+ $requests,
+ $accessToken,
+ $graphVersion
+ );
+
+ return $this->lastResponse = $this->client->sendBatchRequest($batchRequest);
+ }
+
+ /**
+ * Instantiates an empty FacebookBatchRequest entity.
+ *
+ * @param AccessToken|string|null $accessToken The top-level access token. Requests with no access token
+ * will fallback to this.
+ * @param string|null $graphVersion The Graph API version to use.
+ * @return FacebookBatchRequest
+ */
+ public function newBatchRequest($accessToken = null, $graphVersion = null)
+ {
+ $accessToken = $accessToken ?: $this->defaultAccessToken;
+ $graphVersion = $graphVersion ?: $this->defaultGraphVersion;
+
+ return new FacebookBatchRequest(
+ $this->app,
+ [],
+ $accessToken,
+ $graphVersion
+ );
+ }
+
+ /**
+ * Instantiates a new FacebookRequest entity.
+ *
+ * @param string $method
+ * @param string $endpoint
+ * @param array $params
+ * @param AccessToken|string|null $accessToken
+ * @param string|null $eTag
+ * @param string|null $graphVersion
+ *
+ * @return FacebookRequest
+ *
+ * @throws FacebookSDKException
+ */
+ public function request($method, $endpoint, array $params = [], $accessToken = null, $eTag = null, $graphVersion = null)
+ {
+ $accessToken = $accessToken ?: $this->defaultAccessToken;
+ $graphVersion = $graphVersion ?: $this->defaultGraphVersion;
+
+ return new FacebookRequest(
+ $this->app,
+ $accessToken,
+ $method,
+ $endpoint,
+ $params,
+ $eTag,
+ $graphVersion
+ );
+ }
+
+ /**
+ * Factory to create FacebookFile's.
+ *
+ * @param string $pathToFile
+ *
+ * @return FacebookFile
+ *
+ * @throws FacebookSDKException
+ */
+ public function fileToUpload($pathToFile)
+ {
+ return new FacebookFile($pathToFile);
+ }
+
+ /**
+ * Factory to create FacebookVideo's.
+ *
+ * @param string $pathToFile
+ *
+ * @return FacebookVideo
+ *
+ * @throws FacebookSDKException
+ */
+ public function videoToUpload($pathToFile)
+ {
+ return new FacebookVideo($pathToFile);
+ }
+
+ /**
+ * Upload a video in chunks.
+ *
+ * @param int $target The id of the target node before the /videos edge.
+ * @param string $pathToFile The full path to the file.
+ * @param array $metadata The metadata associated with the video file.
+ * @param string|null $accessToken The access token.
+ * @param int $maxTransferTries The max times to retry a failed upload chunk.
+ * @param string|null $graphVersion The Graph API version to use.
+ *
+ * @return array
+ *
+ * @throws FacebookSDKException
+ */
+ public function uploadVideo($target, $pathToFile, $metadata = [], $accessToken = null, $maxTransferTries = 5, $graphVersion = null)
+ {
+ $accessToken = $accessToken ?: $this->defaultAccessToken;
+ $graphVersion = $graphVersion ?: $this->defaultGraphVersion;
+
+ $uploader = new FacebookResumableUploader($this->app, $this->client, $accessToken, $graphVersion);
+ $endpoint = '/'.$target.'/videos';
+ $file = $this->videoToUpload($pathToFile);
+ $chunk = $uploader->start($endpoint, $file);
+
+ do {
+ $chunk = $this->maxTriesTransfer($uploader, $endpoint, $chunk, $maxTransferTries);
+ } while (!$chunk->isLastChunk());
+
+ return [
+ 'video_id' => $chunk->getVideoId(),
+ 'success' => $uploader->finish($endpoint, $chunk->getUploadSessionId(), $metadata),
+ ];
+ }
+
+ /**
+ * Attempts to upload a chunk of a file in $retryCountdown tries.
+ *
+ * @param FacebookResumableUploader $uploader
+ * @param string $endpoint
+ * @param FacebookTransferChunk $chunk
+ * @param int $retryCountdown
+ *
+ * @return FacebookTransferChunk
+ *
+ * @throws FacebookSDKException
+ */
+ private function maxTriesTransfer(FacebookResumableUploader $uploader, $endpoint, FacebookTransferChunk $chunk, $retryCountdown)
+ {
+ $newChunk = $uploader->transfer($endpoint, $chunk, $retryCountdown < 1);
+
+ if ($newChunk !== $chunk) {
+ return $newChunk;
+ }
+
+ $retryCountdown--;
+
+ // If transfer() returned the same chunk entity, the transfer failed but is resumable.
+ return $this->maxTriesTransfer($uploader, $endpoint, $chunk, $retryCountdown);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/FacebookApp.php b/mayor-orig/mayor-base/www/include/share/facebook/FacebookApp.php
new file mode 100644
index 00000000..804c9bb5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/FacebookApp.php
@@ -0,0 +1,110 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook;
+
+use Facebook\Authentication\AccessToken;
+use Facebook\Exceptions\FacebookSDKException;
+
+class FacebookApp implements \Serializable
+{
+ /**
+ * @var string The app ID.
+ */
+ protected $id;
+
+ /**
+ * @var string The app secret.
+ */
+ protected $secret;
+
+ /**
+ * @param string $id
+ * @param string $secret
+ *
+ * @throws FacebookSDKException
+ */
+ public function __construct($id, $secret)
+ {
+ if (!is_string($id)
+ // Keeping this for BC. Integers greater than PHP_INT_MAX will make is_int() return false
+ && !is_int($id)) {
+ throw new FacebookSDKException('The "app_id" must be formatted as a string since many app ID\'s are greater than PHP_INT_MAX on some systems.');
+ }
+ // We cast as a string in case a valid int was set on a 64-bit system and this is unserialised on a 32-bit system
+ $this->id = (string) $id;
+ $this->secret = $secret;
+ }
+
+ /**
+ * Returns the app ID.
+ *
+ * @return string
+ */
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ /**
+ * Returns the app secret.
+ *
+ * @return string
+ */
+ public function getSecret()
+ {
+ return $this->secret;
+ }
+
+ /**
+ * Returns an app access token.
+ *
+ * @return AccessToken
+ */
+ public function getAccessToken()
+ {
+ return new AccessToken($this->id . '|' . $this->secret);
+ }
+
+ /**
+ * Serializes the FacebookApp entity as a string.
+ *
+ * @return string
+ */
+ public function serialize()
+ {
+ return implode('|', [$this->id, $this->secret]);
+ }
+
+ /**
+ * Unserializes a string as a FacebookApp entity.
+ *
+ * @param string $serialized
+ */
+ public function unserialize($serialized)
+ {
+ list($id, $secret) = explode('|', $serialized);
+
+ $this->__construct($id, $secret);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/FacebookBatchRequest.php b/mayor-orig/mayor-base/www/include/share/facebook/FacebookBatchRequest.php
new file mode 100644
index 00000000..9297e77d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/FacebookBatchRequest.php
@@ -0,0 +1,322 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook;
+
+use ArrayIterator;
+use IteratorAggregate;
+use ArrayAccess;
+use Facebook\Authentication\AccessToken;
+use Facebook\Exceptions\FacebookSDKException;
+
+/**
+ * Class BatchRequest
+ *
+ * @package Facebook
+ */
+class FacebookBatchRequest extends FacebookRequest implements IteratorAggregate, ArrayAccess
+{
+ /**
+ * @var array An array of FacebookRequest entities to send.
+ */
+ protected $requests = [];
+
+ /**
+ * @var array An array of files to upload.
+ */
+ protected $attachedFiles;
+
+ /**
+ * Creates a new Request entity.
+ *
+ * @param FacebookApp|null $app
+ * @param array $requests
+ * @param AccessToken|string|null $accessToken
+ * @param string|null $graphVersion
+ */
+ public function __construct(FacebookApp $app = null, array $requests = [], $accessToken = null, $graphVersion = null)
+ {
+ parent::__construct($app, $accessToken, 'POST', '', [], null, $graphVersion);
+
+ $this->add($requests);
+ }
+
+ /**
+ * Adds a new request to the array.
+ *
+ * @param FacebookRequest|array $request
+ * @param string|null|array $options Array of batch request options e.g. 'name', 'omit_response_on_success'.
+ * If a string is given, it is the value of the 'name' option.
+ *
+ * @return FacebookBatchRequest
+ *
+ * @throws \InvalidArgumentException
+ */
+ public function add($request, $options = null)
+ {
+ if (is_array($request)) {
+ foreach ($request as $key => $req) {
+ $this->add($req, $key);
+ }
+
+ return $this;
+ }
+
+ if (!$request instanceof FacebookRequest) {
+ throw new \InvalidArgumentException('Argument for add() must be of type array or FacebookRequest.');
+ }
+
+ if (null === $options) {
+ $options = [];
+ } elseif (!is_array($options)) {
+ $options = ['name' => $options];
+ }
+
+ $this->addFallbackDefaults($request);
+
+ // File uploads
+ $attachedFiles = $this->extractFileAttachments($request);
+
+ $name = isset($options['name']) ? $options['name'] : null;
+
+ unset($options['name']);
+
+ $requestToAdd = [
+ 'name' => $name,
+ 'request' => $request,
+ 'options' => $options,
+ 'attached_files' => $attachedFiles,
+ ];
+
+ $this->requests[] = $requestToAdd;
+
+ return $this;
+ }
+
+ /**
+ * Ensures that the FacebookApp and access token fall back when missing.
+ *
+ * @param FacebookRequest $request
+ *
+ * @throws FacebookSDKException
+ */
+ public function addFallbackDefaults(FacebookRequest $request)
+ {
+ if (!$request->getApp()) {
+ $app = $this->getApp();
+ if (!$app) {
+ throw new FacebookSDKException('Missing FacebookApp on FacebookRequest and no fallback detected on FacebookBatchRequest.');
+ }
+ $request->setApp($app);
+ }
+
+ if (!$request->getAccessToken()) {
+ $accessToken = $this->getAccessToken();
+ if (!$accessToken) {
+ throw new FacebookSDKException('Missing access token on FacebookRequest and no fallback detected on FacebookBatchRequest.');
+ }
+ $request->setAccessToken($accessToken);
+ }
+ }
+
+ /**
+ * Extracts the files from a request.
+ *
+ * @param FacebookRequest $request
+ *
+ * @return string|null
+ *
+ * @throws FacebookSDKException
+ */
+ public function extractFileAttachments(FacebookRequest $request)
+ {
+ if (!$request->containsFileUploads()) {
+ return null;
+ }
+
+ $files = $request->getFiles();
+ $fileNames = [];
+ foreach ($files as $file) {
+ $fileName = uniqid();
+ $this->addFile($fileName, $file);
+ $fileNames[] = $fileName;
+ }
+
+ $request->resetFiles();
+
+ // @TODO Does Graph support multiple uploads on one endpoint?
+ return implode(',', $fileNames);
+ }
+
+ /**
+ * Return the FacebookRequest entities.
+ *
+ * @return array
+ */
+ public function getRequests()
+ {
+ return $this->requests;
+ }
+
+ /**
+ * Prepares the requests to be sent as a batch request.
+ */
+ public function prepareRequestsForBatch()
+ {
+ $this->validateBatchRequestCount();
+
+ $params = [
+ 'batch' => $this->convertRequestsToJson(),
+ 'include_headers' => true,
+ ];
+ $this->setParams($params);
+ }
+
+ /**
+ * Converts the requests into a JSON(P) string.
+ *
+ * @return string
+ */
+ public function convertRequestsToJson()
+ {
+ $requests = [];
+ foreach ($this->requests as $request) {
+ $options = [];
+
+ if (null !== $request['name']) {
+ $options['name'] = $request['name'];
+ }
+
+ $options += $request['options'];
+
+ $requests[] = $this->requestEntityToBatchArray($request['request'], $options, $request['attached_files']);
+ }
+
+ return json_encode($requests);
+ }
+
+ /**
+ * Validate the request count before sending them as a batch.
+ *
+ * @throws FacebookSDKException
+ */
+ public function validateBatchRequestCount()
+ {
+ $batchCount = count($this->requests);
+ if ($batchCount === 0) {
+ throw new FacebookSDKException('There are no batch requests to send.');
+ } elseif ($batchCount > 50) {
+ // Per: https://developers.facebook.com/docs/graph-api/making-multiple-requests#limits
+ throw new FacebookSDKException('You cannot send more than 50 batch requests at a time.');
+ }
+ }
+
+ /**
+ * Converts a Request entity into an array that is batch-friendly.
+ *
+ * @param FacebookRequest $request The request entity to convert.
+ * @param string|null|array $options Array of batch request options e.g. 'name', 'omit_response_on_success'.
+ * If a string is given, it is the value of the 'name' option.
+ * @param string|null $attachedFiles Names of files associated with the request.
+ *
+ * @return array
+ */
+ public function requestEntityToBatchArray(FacebookRequest $request, $options = null, $attachedFiles = null)
+ {
+
+ if (null === $options) {
+ $options = [];
+ } elseif (!is_array($options)) {
+ $options = ['name' => $options];
+ }
+
+ $compiledHeaders = [];
+ $headers = $request->getHeaders();
+ foreach ($headers as $name => $value) {
+ $compiledHeaders[] = $name . ': ' . $value;
+ }
+
+ $batch = [
+ 'headers' => $compiledHeaders,
+ 'method' => $request->getMethod(),
+ 'relative_url' => $request->getUrl(),
+ ];
+
+ // Since file uploads are moved to the root request of a batch request,
+ // the child requests will always be URL-encoded.
+ $body = $request->getUrlEncodedBody()->getBody();
+ if ($body) {
+ $batch['body'] = $body;
+ }
+
+ $batch += $options;
+
+ if (null !== $attachedFiles) {
+ $batch['attached_files'] = $attachedFiles;
+ }
+
+ return $batch;
+ }
+
+ /**
+ * Get an iterator for the items.
+ *
+ * @return ArrayIterator
+ */
+ public function getIterator()
+ {
+ return new ArrayIterator($this->requests);
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function offsetSet($offset, $value)
+ {
+ $this->add($value, $offset);
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->requests[$offset]);
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->requests[$offset]);
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->requests[$offset]) ? $this->requests[$offset] : null;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/FacebookBatchResponse.php b/mayor-orig/mayor-base/www/include/share/facebook/FacebookBatchResponse.php
new file mode 100644
index 00000000..8e1464c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/FacebookBatchResponse.php
@@ -0,0 +1,174 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook;
+
+use ArrayIterator;
+use IteratorAggregate;
+use ArrayAccess;
+
+/**
+ * Class FacebookBatchResponse
+ *
+ * @package Facebook
+ */
+class FacebookBatchResponse extends FacebookResponse implements IteratorAggregate, ArrayAccess
+{
+ /**
+ * @var FacebookBatchRequest The original entity that made the batch request.
+ */
+ protected $batchRequest;
+
+ /**
+ * @var array An array of FacebookResponse entities.
+ */
+ protected $responses = [];
+
+ /**
+ * Creates a new Response entity.
+ *
+ * @param FacebookBatchRequest $batchRequest
+ * @param FacebookResponse $response
+ */
+ public function __construct(FacebookBatchRequest $batchRequest, FacebookResponse $response)
+ {
+ $this->batchRequest = $batchRequest;
+
+ $request = $response->getRequest();
+ $body = $response->getBody();
+ $httpStatusCode = $response->getHttpStatusCode();
+ $headers = $response->getHeaders();
+ parent::__construct($request, $body, $httpStatusCode, $headers);
+
+ $responses = $response->getDecodedBody();
+ $this->setResponses($responses);
+ }
+
+ /**
+ * Returns an array of FacebookResponse entities.
+ *
+ * @return array
+ */
+ public function getResponses()
+ {
+ return $this->responses;
+ }
+
+ /**
+ * The main batch response will be an array of requests so
+ * we need to iterate over all the responses.
+ *
+ * @param array $responses
+ */
+ public function setResponses(array $responses)
+ {
+ $this->responses = [];
+
+ foreach ($responses as $key => $graphResponse) {
+ $this->addResponse($key, $graphResponse);
+ }
+ }
+
+ /**
+ * Add a response to the list.
+ *
+ * @param int $key
+ * @param array|null $response
+ */
+ public function addResponse($key, $response)
+ {
+ $originalRequestName = isset($this->batchRequest[$key]['name']) ? $this->batchRequest[$key]['name'] : $key;
+ $originalRequest = isset($this->batchRequest[$key]['request']) ? $this->batchRequest[$key]['request'] : null;
+
+ $httpResponseBody = isset($response['body']) ? $response['body'] : null;
+ $httpResponseCode = isset($response['code']) ? $response['code'] : null;
+ // @TODO With PHP 5.5 support, this becomes array_column($response['headers'], 'value', 'name')
+ $httpResponseHeaders = isset($response['headers']) ? $this->normalizeBatchHeaders($response['headers']) : [];
+
+ $this->responses[$originalRequestName] = new FacebookResponse(
+ $originalRequest,
+ $httpResponseBody,
+ $httpResponseCode,
+ $httpResponseHeaders
+ );
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function getIterator()
+ {
+ return new ArrayIterator($this->responses);
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function offsetSet($offset, $value)
+ {
+ $this->addResponse($offset, $value);
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->responses[$offset]);
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->responses[$offset]);
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->responses[$offset]) ? $this->responses[$offset] : null;
+ }
+
+ /**
+ * Converts the batch header array into a standard format.
+ * @TODO replace with array_column() when PHP 5.5 is supported.
+ *
+ * @param array $batchHeaders
+ *
+ * @return array
+ */
+ private function normalizeBatchHeaders(array $batchHeaders)
+ {
+ $headers = [];
+
+ foreach ($batchHeaders as $header) {
+ $headers[$header['name']] = $header['value'];
+ }
+
+ return $headers;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/FacebookClient.php b/mayor-orig/mayor-base/www/include/share/facebook/FacebookClient.php
new file mode 100644
index 00000000..dbf75923
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/FacebookClient.php
@@ -0,0 +1,250 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook;
+
+use Facebook\HttpClients\FacebookHttpClientInterface;
+use Facebook\HttpClients\FacebookCurlHttpClient;
+use Facebook\HttpClients\FacebookStreamHttpClient;
+use Facebook\Exceptions\FacebookSDKException;
+
+/**
+ * Class FacebookClient
+ *
+ * @package Facebook
+ */
+class FacebookClient
+{
+ /**
+ * @const string Production Graph API URL.
+ */
+ const BASE_GRAPH_URL = 'https://graph.facebook.com';
+
+ /**
+ * @const string Graph API URL for video uploads.
+ */
+ const BASE_GRAPH_VIDEO_URL = 'https://graph-video.facebook.com';
+
+ /**
+ * @const string Beta Graph API URL.
+ */
+ const BASE_GRAPH_URL_BETA = 'https://graph.beta.facebook.com';
+
+ /**
+ * @const string Beta Graph API URL for video uploads.
+ */
+ const BASE_GRAPH_VIDEO_URL_BETA = 'https://graph-video.beta.facebook.com';
+
+ /**
+ * @const int The timeout in seconds for a normal request.
+ */
+ const DEFAULT_REQUEST_TIMEOUT = 60;
+
+ /**
+ * @const int The timeout in seconds for a request that contains file uploads.
+ */
+ const DEFAULT_FILE_UPLOAD_REQUEST_TIMEOUT = 3600;
+
+ /**
+ * @const int The timeout in seconds for a request that contains video uploads.
+ */
+ const DEFAULT_VIDEO_UPLOAD_REQUEST_TIMEOUT = 7200;
+
+ /**
+ * @var bool Toggle to use Graph beta url.
+ */
+ protected $enableBetaMode = false;
+
+ /**
+ * @var FacebookHttpClientInterface HTTP client handler.
+ */
+ protected $httpClientHandler;
+
+ /**
+ * @var int The number of calls that have been made to Graph.
+ */
+ public static $requestCount = 0;
+
+ /**
+ * Instantiates a new FacebookClient object.
+ *
+ * @param FacebookHttpClientInterface|null $httpClientHandler
+ * @param boolean $enableBeta
+ */
+ public function __construct(FacebookHttpClientInterface $httpClientHandler = null, $enableBeta = false)
+ {
+ $this->httpClientHandler = $httpClientHandler ?: $this->detectHttpClientHandler();
+ $this->enableBetaMode = $enableBeta;
+ }
+
+ /**
+ * Sets the HTTP client handler.
+ *
+ * @param FacebookHttpClientInterface $httpClientHandler
+ */
+ public function setHttpClientHandler(FacebookHttpClientInterface $httpClientHandler)
+ {
+ $this->httpClientHandler = $httpClientHandler;
+ }
+
+ /**
+ * Returns the HTTP client handler.
+ *
+ * @return FacebookHttpClientInterface
+ */
+ public function getHttpClientHandler()
+ {
+ return $this->httpClientHandler;
+ }
+
+ /**
+ * Detects which HTTP client handler to use.
+ *
+ * @return FacebookHttpClientInterface
+ */
+ public function detectHttpClientHandler()
+ {
+ return extension_loaded('curl') ? new FacebookCurlHttpClient() : new FacebookStreamHttpClient();
+ }
+
+ /**
+ * Toggle beta mode.
+ *
+ * @param boolean $betaMode
+ */
+ public function enableBetaMode($betaMode = true)
+ {
+ $this->enableBetaMode = $betaMode;
+ }
+
+ /**
+ * Returns the base Graph URL.
+ *
+ * @param boolean $postToVideoUrl Post to the video API if videos are being uploaded.
+ *
+ * @return string
+ */
+ public function getBaseGraphUrl($postToVideoUrl = false)
+ {
+ if ($postToVideoUrl) {
+ return $this->enableBetaMode ? static::BASE_GRAPH_VIDEO_URL_BETA : static::BASE_GRAPH_VIDEO_URL;
+ }
+
+ return $this->enableBetaMode ? static::BASE_GRAPH_URL_BETA : static::BASE_GRAPH_URL;
+ }
+
+ /**
+ * Prepares the request for sending to the client handler.
+ *
+ * @param FacebookRequest $request
+ *
+ * @return array
+ */
+ public function prepareRequestMessage(FacebookRequest $request)
+ {
+ $postToVideoUrl = $request->containsVideoUploads();
+ $url = $this->getBaseGraphUrl($postToVideoUrl) . $request->getUrl();
+
+ // If we're sending files they should be sent as multipart/form-data
+ if ($request->containsFileUploads()) {
+ $requestBody = $request->getMultipartBody();
+ $request->setHeaders([
+ 'Content-Type' => 'multipart/form-data; boundary=' . $requestBody->getBoundary(),
+ ]);
+ } else {
+ $requestBody = $request->getUrlEncodedBody();
+ $request->setHeaders([
+ 'Content-Type' => 'application/x-www-form-urlencoded',
+ ]);
+ }
+
+ return [
+ $url,
+ $request->getMethod(),
+ $request->getHeaders(),
+ $requestBody->getBody(),
+ ];
+ }
+
+ /**
+ * Makes the request to Graph and returns the result.
+ *
+ * @param FacebookRequest $request
+ *
+ * @return FacebookResponse
+ *
+ * @throws FacebookSDKException
+ */
+ public function sendRequest(FacebookRequest $request)
+ {
+ if (get_class($request) === 'Facebook\FacebookRequest') {
+ $request->validateAccessToken();
+ }
+
+ list($url, $method, $headers, $body) = $this->prepareRequestMessage($request);
+
+ // Since file uploads can take a while, we need to give more time for uploads
+ $timeOut = static::DEFAULT_REQUEST_TIMEOUT;
+ if ($request->containsFileUploads()) {
+ $timeOut = static::DEFAULT_FILE_UPLOAD_REQUEST_TIMEOUT;
+ } elseif ($request->containsVideoUploads()) {
+ $timeOut = static::DEFAULT_VIDEO_UPLOAD_REQUEST_TIMEOUT;
+ }
+
+ // Should throw `FacebookSDKException` exception on HTTP client error.
+ // Don't catch to allow it to bubble up.
+ $rawResponse = $this->httpClientHandler->send($url, $method, $body, $headers, $timeOut);
+
+ static::$requestCount++;
+
+ $returnResponse = new FacebookResponse(
+ $request,
+ $rawResponse->getBody(),
+ $rawResponse->getHttpResponseCode(),
+ $rawResponse->getHeaders()
+ );
+
+ if ($returnResponse->isError()) {
+ throw $returnResponse->getThrownException();
+ }
+
+ return $returnResponse;
+ }
+
+ /**
+ * Makes a batched request to Graph and returns the result.
+ *
+ * @param FacebookBatchRequest $request
+ *
+ * @return FacebookBatchResponse
+ *
+ * @throws FacebookSDKException
+ */
+ public function sendBatchRequest(FacebookBatchRequest $request)
+ {
+ $request->prepareRequestsForBatch();
+ $facebookResponse = $this->sendRequest($request);
+
+ return new FacebookBatchResponse($request, $facebookResponse);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/FacebookRequest.php b/mayor-orig/mayor-base/www/include/share/facebook/FacebookRequest.php
new file mode 100644
index 00000000..2b100899
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/FacebookRequest.php
@@ -0,0 +1,534 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook;
+
+use Facebook\Authentication\AccessToken;
+use Facebook\Url\FacebookUrlManipulator;
+use Facebook\FileUpload\FacebookFile;
+use Facebook\FileUpload\FacebookVideo;
+use Facebook\Http\RequestBodyMultipart;
+use Facebook\Http\RequestBodyUrlEncoded;
+use Facebook\Exceptions\FacebookSDKException;
+
+/**
+ * Class Request
+ *
+ * @package Facebook
+ */
+class FacebookRequest
+{
+ /**
+ * @var FacebookApp The Facebook app entity.
+ */
+ protected $app;
+
+ /**
+ * @var string|null The access token to use for this request.
+ */
+ protected $accessToken;
+
+ /**
+ * @var string The HTTP method for this request.
+ */
+ protected $method;
+
+ /**
+ * @var string The Graph endpoint for this request.
+ */
+ protected $endpoint;
+
+ /**
+ * @var array The headers to send with this request.
+ */
+ protected $headers = [];
+
+ /**
+ * @var array The parameters to send with this request.
+ */
+ protected $params = [];
+
+ /**
+ * @var array The files to send with this request.
+ */
+ protected $files = [];
+
+ /**
+ * @var string ETag to send with this request.
+ */
+ protected $eTag;
+
+ /**
+ * @var string Graph version to use for this request.
+ */
+ protected $graphVersion;
+
+ /**
+ * Creates a new Request entity.
+ *
+ * @param FacebookApp|null $app
+ * @param AccessToken|string|null $accessToken
+ * @param string|null $method
+ * @param string|null $endpoint
+ * @param array|null $params
+ * @param string|null $eTag
+ * @param string|null $graphVersion
+ */
+ public function __construct(FacebookApp $app = null, $accessToken = null, $method = null, $endpoint = null, array $params = [], $eTag = null, $graphVersion = null)
+ {
+ $this->setApp($app);
+ $this->setAccessToken($accessToken);
+ $this->setMethod($method);
+ $this->setEndpoint($endpoint);
+ $this->setParams($params);
+ $this->setETag($eTag);
+ $this->graphVersion = $graphVersion ?: Facebook::DEFAULT_GRAPH_VERSION;
+ }
+
+ /**
+ * Set the access token for this request.
+ *
+ * @param AccessToken|string|null
+ *
+ * @return FacebookRequest
+ */
+ public function setAccessToken($accessToken)
+ {
+ $this->accessToken = $accessToken;
+ if ($accessToken instanceof AccessToken) {
+ $this->accessToken = $accessToken->getValue();
+ }
+
+ return $this;
+ }
+
+ /**
+ * Sets the access token with one harvested from a URL or POST params.
+ *
+ * @param string $accessToken The access token.
+ *
+ * @return FacebookRequest
+ *
+ * @throws FacebookSDKException
+ */
+ public function setAccessTokenFromParams($accessToken)
+ {
+ $existingAccessToken = $this->getAccessToken();
+ if (!$existingAccessToken) {
+ $this->setAccessToken($accessToken);
+ } elseif ($accessToken !== $existingAccessToken) {
+ throw new FacebookSDKException('Access token mismatch. The access token provided in the FacebookRequest and the one provided in the URL or POST params do not match.');
+ }
+
+ return $this;
+ }
+
+ /**
+ * Return the access token for this request.
+ *
+ * @return string|null
+ */
+ public function getAccessToken()
+ {
+ return $this->accessToken;
+ }
+
+ /**
+ * Return the access token for this request as an AccessToken entity.
+ *
+ * @return AccessToken|null
+ */
+ public function getAccessTokenEntity()
+ {
+ return $this->accessToken ? new AccessToken($this->accessToken) : null;
+ }
+
+ /**
+ * Set the FacebookApp entity used for this request.
+ *
+ * @param FacebookApp|null $app
+ */
+ public function setApp(FacebookApp $app = null)
+ {
+ $this->app = $app;
+ }
+
+ /**
+ * Return the FacebookApp entity used for this request.
+ *
+ * @return FacebookApp
+ */
+ public function getApp()
+ {
+ return $this->app;
+ }
+
+ /**
+ * Generate an app secret proof to sign this request.
+ *
+ * @return string|null
+ */
+ public function getAppSecretProof()
+ {
+ if (!$accessTokenEntity = $this->getAccessTokenEntity()) {
+ return null;
+ }
+
+ return $accessTokenEntity->getAppSecretProof($this->app->getSecret());
+ }
+
+ /**
+ * Validate that an access token exists for this request.
+ *
+ * @throws FacebookSDKException
+ */
+ public function validateAccessToken()
+ {
+ $accessToken = $this->getAccessToken();
+ if (!$accessToken) {
+ throw new FacebookSDKException('You must provide an access token.');
+ }
+ }
+
+ /**
+ * Set the HTTP method for this request.
+ *
+ * @param string
+ */
+ public function setMethod($method)
+ {
+ $this->method = strtoupper($method);
+ }
+
+ /**
+ * Return the HTTP method for this request.
+ *
+ * @return string
+ */
+ public function getMethod()
+ {
+ return $this->method;
+ }
+
+ /**
+ * Validate that the HTTP method is set.
+ *
+ * @throws FacebookSDKException
+ */
+ public function validateMethod()
+ {
+ if (!$this->method) {
+ throw new FacebookSDKException('HTTP method not specified.');
+ }
+
+ if (!in_array($this->method, ['GET', 'POST', 'DELETE'])) {
+ throw new FacebookSDKException('Invalid HTTP method specified.');
+ }
+ }
+
+ /**
+ * Set the endpoint for this request.
+ *
+ * @param string
+ *
+ * @return FacebookRequest
+ *
+ * @throws FacebookSDKException
+ */
+ public function setEndpoint($endpoint)
+ {
+ // Harvest the access token from the endpoint to keep things in sync
+ $params = FacebookUrlManipulator::getParamsAsArray($endpoint);
+ if (isset($params['access_token'])) {
+ $this->setAccessTokenFromParams($params['access_token']);
+ }
+
+ // Clean the token & app secret proof from the endpoint.
+ $filterParams = ['access_token', 'appsecret_proof'];
+ $this->endpoint = FacebookUrlManipulator::removeParamsFromUrl($endpoint, $filterParams);
+
+ return $this;
+ }
+
+ /**
+ * Return the endpoint for this request.
+ *
+ * @return string
+ */
+ public function getEndpoint()
+ {
+ // For batch requests, this will be empty
+ return $this->endpoint;
+ }
+
+ /**
+ * Generate and return the headers for this request.
+ *
+ * @return array
+ */
+ public function getHeaders()
+ {
+ $headers = static::getDefaultHeaders();
+
+ if ($this->eTag) {
+ $headers['If-None-Match'] = $this->eTag;
+ }
+
+ return array_merge($this->headers, $headers);
+ }
+
+ /**
+ * Set the headers for this request.
+ *
+ * @param array $headers
+ */
+ public function setHeaders(array $headers)
+ {
+ $this->headers = array_merge($this->headers, $headers);
+ }
+
+ /**
+ * Sets the eTag value.
+ *
+ * @param string $eTag
+ */
+ public function setETag($eTag)
+ {
+ $this->eTag = $eTag;
+ }
+
+ /**
+ * Set the params for this request.
+ *
+ * @param array $params
+ *
+ * @return FacebookRequest
+ *
+ * @throws FacebookSDKException
+ */
+ public function setParams(array $params = [])
+ {
+ if (isset($params['access_token'])) {
+ $this->setAccessTokenFromParams($params['access_token']);
+ }
+
+ // Don't let these buggers slip in.
+ unset($params['access_token'], $params['appsecret_proof']);
+
+ // @TODO Refactor code above with this
+ //$params = $this->sanitizeAuthenticationParams($params);
+ $params = $this->sanitizeFileParams($params);
+ $this->dangerouslySetParams($params);
+
+ return $this;
+ }
+
+ /**
+ * Set the params for this request without filtering them first.
+ *
+ * @param array $params
+ *
+ * @return FacebookRequest
+ */
+ public function dangerouslySetParams(array $params = [])
+ {
+ $this->params = array_merge($this->params, $params);
+
+ return $this;
+ }
+
+ /**
+ * Iterate over the params and pull out the file uploads.
+ *
+ * @param array $params
+ *
+ * @return array
+ */
+ public function sanitizeFileParams(array $params)
+ {
+ foreach ($params as $key => $value) {
+ if ($value instanceof FacebookFile) {
+ $this->addFile($key, $value);
+ unset($params[$key]);
+ }
+ }
+
+ return $params;
+ }
+
+ /**
+ * Add a file to be uploaded.
+ *
+ * @param string $key
+ * @param FacebookFile $file
+ */
+ public function addFile($key, FacebookFile $file)
+ {
+ $this->files[$key] = $file;
+ }
+
+ /**
+ * Removes all the files from the upload queue.
+ */
+ public function resetFiles()
+ {
+ $this->files = [];
+ }
+
+ /**
+ * Get the list of files to be uploaded.
+ *
+ * @return array
+ */
+ public function getFiles()
+ {
+ return $this->files;
+ }
+
+ /**
+ * Let's us know if there is a file upload with this request.
+ *
+ * @return boolean
+ */
+ public function containsFileUploads()
+ {
+ return !empty($this->files);
+ }
+
+ /**
+ * Let's us know if there is a video upload with this request.
+ *
+ * @return boolean
+ */
+ public function containsVideoUploads()
+ {
+ foreach ($this->files as $file) {
+ if ($file instanceof FacebookVideo) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Returns the body of the request as multipart/form-data.
+ *
+ * @return RequestBodyMultipart
+ */
+ public function getMultipartBody()
+ {
+ $params = $this->getPostParams();
+
+ return new RequestBodyMultipart($params, $this->files);
+ }
+
+ /**
+ * Returns the body of the request as URL-encoded.
+ *
+ * @return RequestBodyUrlEncoded
+ */
+ public function getUrlEncodedBody()
+ {
+ $params = $this->getPostParams();
+
+ return new RequestBodyUrlEncoded($params);
+ }
+
+ /**
+ * Generate and return the params for this request.
+ *
+ * @return array
+ */
+ public function getParams()
+ {
+ $params = $this->params;
+
+ $accessToken = $this->getAccessToken();
+ if ($accessToken) {
+ $params['access_token'] = $accessToken;
+ $params['appsecret_proof'] = $this->getAppSecretProof();
+ }
+
+ return $params;
+ }
+
+ /**
+ * Only return params on POST requests.
+ *
+ * @return array
+ */
+ public function getPostParams()
+ {
+ if ($this->getMethod() === 'POST') {
+ return $this->getParams();
+ }
+
+ return [];
+ }
+
+ /**
+ * The graph version used for this request.
+ *
+ * @return string
+ */
+ public function getGraphVersion()
+ {
+ return $this->graphVersion;
+ }
+
+ /**
+ * Generate and return the URL for this request.
+ *
+ * @return string
+ */
+ public function getUrl()
+ {
+ $this->validateMethod();
+
+ $graphVersion = FacebookUrlManipulator::forceSlashPrefix($this->graphVersion);
+ $endpoint = FacebookUrlManipulator::forceSlashPrefix($this->getEndpoint());
+
+ $url = $graphVersion . $endpoint;
+
+ if ($this->getMethod() !== 'POST') {
+ $params = $this->getParams();
+ $url = FacebookUrlManipulator::appendParamsToUrl($url, $params);
+ }
+
+ return $url;
+ }
+
+ /**
+ * Return the default headers that every request should use.
+ *
+ * @return array
+ */
+ public static function getDefaultHeaders()
+ {
+ return [
+ 'User-Agent' => 'fb-php-' . Facebook::VERSION,
+ 'Accept-Encoding' => '*',
+ ];
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/FacebookResponse.php b/mayor-orig/mayor-base/www/include/share/facebook/FacebookResponse.php
new file mode 100644
index 00000000..251ca2f7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/FacebookResponse.php
@@ -0,0 +1,410 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook;
+
+use Facebook\GraphNodes\GraphNodeFactory;
+use Facebook\Exceptions\FacebookResponseException;
+use Facebook\Exceptions\FacebookSDKException;
+
+/**
+ * Class FacebookResponse
+ *
+ * @package Facebook
+ */
+class FacebookResponse
+{
+ /**
+ * @var int The HTTP status code response from Graph.
+ */
+ protected $httpStatusCode;
+
+ /**
+ * @var array The headers returned from Graph.
+ */
+ protected $headers;
+
+ /**
+ * @var string The raw body of the response from Graph.
+ */
+ protected $body;
+
+ /**
+ * @var array The decoded body of the Graph response.
+ */
+ protected $decodedBody = [];
+
+ /**
+ * @var FacebookRequest The original request that returned this response.
+ */
+ protected $request;
+
+ /**
+ * @var FacebookSDKException The exception thrown by this request.
+ */
+ protected $thrownException;
+
+ /**
+ * Creates a new Response entity.
+ *
+ * @param FacebookRequest $request
+ * @param string|null $body
+ * @param int|null $httpStatusCode
+ * @param array|null $headers
+ */
+ public function __construct(FacebookRequest $request, $body = null, $httpStatusCode = null, array $headers = [])
+ {
+ $this->request = $request;
+ $this->body = $body;
+ $this->httpStatusCode = $httpStatusCode;
+ $this->headers = $headers;
+
+ $this->decodeBody();
+ }
+
+ /**
+ * Return the original request that returned this response.
+ *
+ * @return FacebookRequest
+ */
+ public function getRequest()
+ {
+ return $this->request;
+ }
+
+ /**
+ * Return the FacebookApp entity used for this response.
+ *
+ * @return FacebookApp
+ */
+ public function getApp()
+ {
+ return $this->request->getApp();
+ }
+
+ /**
+ * Return the access token that was used for this response.
+ *
+ * @return string|null
+ */
+ public function getAccessToken()
+ {
+ return $this->request->getAccessToken();
+ }
+
+ /**
+ * Return the HTTP status code for this response.
+ *
+ * @return int
+ */
+ public function getHttpStatusCode()
+ {
+ return $this->httpStatusCode;
+ }
+
+ /**
+ * Return the HTTP headers for this response.
+ *
+ * @return array
+ */
+ public function getHeaders()
+ {
+ return $this->headers;
+ }
+
+ /**
+ * Return the raw body response.
+ *
+ * @return string
+ */
+ public function getBody()
+ {
+ return $this->body;
+ }
+
+ /**
+ * Return the decoded body response.
+ *
+ * @return array
+ */
+ public function getDecodedBody()
+ {
+ return $this->decodedBody;
+ }
+
+ /**
+ * Get the app secret proof that was used for this response.
+ *
+ * @return string|null
+ */
+ public function getAppSecretProof()
+ {
+ return $this->request->getAppSecretProof();
+ }
+
+ /**
+ * Get the ETag associated with the response.
+ *
+ * @return string|null
+ */
+ public function getETag()
+ {
+ return isset($this->headers['ETag']) ? $this->headers['ETag'] : null;
+ }
+
+ /**
+ * Get the version of Graph that returned this response.
+ *
+ * @return string|null
+ */
+ public function getGraphVersion()
+ {
+ return isset($this->headers['Facebook-API-Version']) ? $this->headers['Facebook-API-Version'] : null;
+ }
+
+ /**
+ * Returns true if Graph returned an error message.
+ *
+ * @return boolean
+ */
+ public function isError()
+ {
+ return isset($this->decodedBody['error']);
+ }
+
+ /**
+ * Throws the exception.
+ *
+ * @throws FacebookSDKException
+ */
+ public function throwException()
+ {
+ throw $this->thrownException;
+ }
+
+ /**
+ * Instantiates an exception to be thrown later.
+ */
+ public function makeException()
+ {
+ $this->thrownException = FacebookResponseException::create($this);
+ }
+
+ /**
+ * Returns the exception that was thrown for this request.
+ *
+ * @return FacebookResponseException|null
+ */
+ public function getThrownException()
+ {
+ return $this->thrownException;
+ }
+
+ /**
+ * Convert the raw response into an array if possible.
+ *
+ * Graph will return 2 types of responses:
+ * - JSON(P)
+ * Most responses from Graph are JSON(P)
+ * - application/x-www-form-urlencoded key/value pairs
+ * Happens on the `/oauth/access_token` endpoint when exchanging
+ * a short-lived access token for a long-lived access token
+ * - And sometimes nothing :/ but that'd be a bug.
+ */
+ public function decodeBody()
+ {
+ $this->decodedBody = json_decode($this->body, true);
+
+ if ($this->decodedBody === null) {
+ $this->decodedBody = [];
+ parse_str($this->body, $this->decodedBody);
+ } elseif (is_bool($this->decodedBody)) {
+ // Backwards compatibility for Graph < 2.1.
+ // Mimics 2.1 responses.
+ // @TODO Remove this after Graph 2.0 is no longer supported
+ $this->decodedBody = ['success' => $this->decodedBody];
+ } elseif (is_numeric($this->decodedBody)) {
+ $this->decodedBody = ['id' => $this->decodedBody];
+ }
+
+ if (!is_array($this->decodedBody)) {
+ $this->decodedBody = [];
+ }
+
+ if ($this->isError()) {
+ $this->makeException();
+ }
+ }
+
+ /**
+ * Instantiate a new GraphObject from response.
+ *
+ * @param string|null $subclassName The GraphNode subclass to cast to.
+ *
+ * @return \Facebook\GraphNodes\GraphObject
+ *
+ * @throws FacebookSDKException
+ *
+ * @deprecated 5.0.0 getGraphObject() has been renamed to getGraphNode()
+ * @todo v6: Remove this method
+ */
+ public function getGraphObject($subclassName = null)
+ {
+ return $this->getGraphNode($subclassName);
+ }
+
+ /**
+ * Instantiate a new GraphNode from response.
+ *
+ * @param string|null $subclassName The GraphNode subclass to cast to.
+ *
+ * @return \Facebook\GraphNodes\GraphNode
+ *
+ * @throws FacebookSDKException
+ */
+ public function getGraphNode($subclassName = null)
+ {
+ $factory = new GraphNodeFactory($this);
+
+ return $factory->makeGraphNode($subclassName);
+ }
+
+ /**
+ * Convenience method for creating a GraphAlbum collection.
+ *
+ * @return \Facebook\GraphNodes\GraphAlbum
+ *
+ * @throws FacebookSDKException
+ */
+ public function getGraphAlbum()
+ {
+ $factory = new GraphNodeFactory($this);
+
+ return $factory->makeGraphAlbum();
+ }
+
+ /**
+ * Convenience method for creating a GraphPage collection.
+ *
+ * @return \Facebook\GraphNodes\GraphPage
+ *
+ * @throws FacebookSDKException
+ */
+ public function getGraphPage()
+ {
+ $factory = new GraphNodeFactory($this);
+
+ return $factory->makeGraphPage();
+ }
+
+ /**
+ * Convenience method for creating a GraphSessionInfo collection.
+ *
+ * @return \Facebook\GraphNodes\GraphSessionInfo
+ *
+ * @throws FacebookSDKException
+ */
+ public function getGraphSessionInfo()
+ {
+ $factory = new GraphNodeFactory($this);
+
+ return $factory->makeGraphSessionInfo();
+ }
+
+ /**
+ * Convenience method for creating a GraphUser collection.
+ *
+ * @return \Facebook\GraphNodes\GraphUser
+ *
+ * @throws FacebookSDKException
+ */
+ public function getGraphUser()
+ {
+ $factory = new GraphNodeFactory($this);
+
+ return $factory->makeGraphUser();
+ }
+
+ /**
+ * Convenience method for creating a GraphEvent collection.
+ *
+ * @return \Facebook\GraphNodes\GraphEvent
+ *
+ * @throws FacebookSDKException
+ */
+ public function getGraphEvent()
+ {
+ $factory = new GraphNodeFactory($this);
+
+ return $factory->makeGraphEvent();
+ }
+
+ /**
+ * Convenience method for creating a GraphGroup collection.
+ *
+ * @return \Facebook\GraphNodes\GraphGroup
+ *
+ * @throws FacebookSDKException
+ */
+ public function getGraphGroup()
+ {
+ $factory = new GraphNodeFactory($this);
+
+ return $factory->makeGraphGroup();
+ }
+
+ /**
+ * Instantiate a new GraphList from response.
+ *
+ * @param string|null $subclassName The GraphNode subclass to cast list items to.
+ * @param boolean $auto_prefix Toggle to auto-prefix the subclass name.
+ *
+ * @return \Facebook\GraphNodes\GraphList
+ *
+ * @throws FacebookSDKException
+ *
+ * @deprecated 5.0.0 getGraphList() has been renamed to getGraphEdge()
+ * @todo v6: Remove this method
+ */
+ public function getGraphList($subclassName = null, $auto_prefix = true)
+ {
+ return $this->getGraphEdge($subclassName, $auto_prefix);
+ }
+
+ /**
+ * Instantiate a new GraphEdge from response.
+ *
+ * @param string|null $subclassName The GraphNode subclass to cast list items to.
+ * @param boolean $auto_prefix Toggle to auto-prefix the subclass name.
+ *
+ * @return \Facebook\GraphNodes\GraphEdge
+ *
+ * @throws FacebookSDKException
+ */
+ public function getGraphEdge($subclassName = null, $auto_prefix = true)
+ {
+ $factory = new GraphNodeFactory($this);
+
+ return $factory->makeGraphEdge($subclassName, $auto_prefix);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/FileUpload/FacebookFile.php b/mayor-orig/mayor-base/www/include/share/facebook/FileUpload/FacebookFile.php
new file mode 100644
index 00000000..3c1536d4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/FileUpload/FacebookFile.php
@@ -0,0 +1,169 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\FileUpload;
+
+use Facebook\Exceptions\FacebookSDKException;
+
+/**
+ * Class FacebookFile
+ *
+ * @package Facebook
+ */
+class FacebookFile
+{
+ /**
+ * @var string The path to the file on the system.
+ */
+ protected $path;
+
+ /**
+ * @var int The maximum bytes to read. Defaults to -1 (read all the remaining buffer).
+ */
+ private $maxLength;
+
+ /**
+ * @var int Seek to the specified offset before reading. If this number is negative, no seeking will occur and reading will start from the current position.
+ */
+ private $offset;
+
+ /**
+ * @var resource The stream pointing to the file.
+ */
+ protected $stream;
+
+ /**
+ * Creates a new FacebookFile entity.
+ *
+ * @param string $filePath
+ * @param int $maxLength
+ * @param int $offset
+ *
+ * @throws FacebookSDKException
+ */
+ public function __construct($filePath, $maxLength = -1, $offset = -1)
+ {
+ $this->path = $filePath;
+ $this->maxLength = $maxLength;
+ $this->offset = $offset;
+ $this->open();
+ }
+
+ /**
+ * Closes the stream when destructed.
+ */
+ public function __destruct()
+ {
+ $this->close();
+ }
+
+ /**
+ * Opens a stream for the file.
+ *
+ * @throws FacebookSDKException
+ */
+ public function open()
+ {
+ if (!$this->isRemoteFile($this->path) && !is_readable($this->path)) {
+ throw new FacebookSDKException('Failed to create FacebookFile entity. Unable to read resource: ' . $this->path . '.');
+ }
+
+ $this->stream = fopen($this->path, 'r');
+
+ if (!$this->stream) {
+ throw new FacebookSDKException('Failed to create FacebookFile entity. Unable to open resource: ' . $this->path . '.');
+ }
+ }
+
+ /**
+ * Stops the file stream.
+ */
+ public function close()
+ {
+ if (is_resource($this->stream)) {
+ fclose($this->stream);
+ }
+ }
+
+ /**
+ * Return the contents of the file.
+ *
+ * @return string
+ */
+ public function getContents()
+ {
+ return stream_get_contents($this->stream, $this->maxLength, $this->offset);
+ }
+
+ /**
+ * Return the name of the file.
+ *
+ * @return string
+ */
+ public function getFileName()
+ {
+ return basename($this->path);
+ }
+
+ /**
+ * Return the path of the file.
+ *
+ * @return string
+ */
+ public function getFilePath()
+ {
+ return $this->path;
+ }
+
+ /**
+ * Return the size of the file.
+ *
+ * @return int
+ */
+ public function getSize()
+ {
+ return filesize($this->path);
+ }
+
+ /**
+ * Return the mimetype of the file.
+ *
+ * @return string
+ */
+ public function getMimetype()
+ {
+ return Mimetypes::getInstance()->fromFilename($this->path) ?: 'text/plain';
+ }
+
+ /**
+ * Returns true if the path to the file is remote.
+ *
+ * @param string $pathToFile
+ *
+ * @return boolean
+ */
+ protected function isRemoteFile($pathToFile)
+ {
+ return preg_match('/^(https?|ftp):\/\/.*/', $pathToFile) === 1;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/FileUpload/FacebookResumableUploader.php b/mayor-orig/mayor-base/www/include/share/facebook/FileUpload/FacebookResumableUploader.php
new file mode 100644
index 00000000..92a22f14
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/FileUpload/FacebookResumableUploader.php
@@ -0,0 +1,167 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\FileUpload;
+
+use Facebook\Authentication\AccessToken;
+use Facebook\Exceptions\FacebookResponseException;
+use Facebook\Exceptions\FacebookResumableUploadException;
+use Facebook\Exceptions\FacebookSDKException;
+use Facebook\FacebookApp;
+use Facebook\FacebookClient;
+use Facebook\FacebookRequest;
+
+/**
+ * Class FacebookResumableUploader
+ *
+ * @package Facebook
+ */
+class FacebookResumableUploader
+{
+ /**
+ * @var FacebookApp
+ */
+ protected $app;
+
+ /**
+ * @var string
+ */
+ protected $accessToken;
+
+ /**
+ * @var FacebookClient The Facebook client service.
+ */
+ protected $client;
+
+ /**
+ * @var string Graph version to use for this request.
+ */
+ protected $graphVersion;
+
+ /**
+ * @param FacebookApp $app
+ * @param FacebookClient $client
+ * @param AccessToken|string|null $accessToken
+ * @param string $graphVersion
+ */
+ public function __construct(FacebookApp $app, FacebookClient $client, $accessToken, $graphVersion)
+ {
+ $this->app = $app;
+ $this->client = $client;
+ $this->accessToken = $accessToken;
+ $this->graphVersion = $graphVersion;
+ }
+
+ /**
+ * Upload by chunks - start phase
+ *
+ * @param string $endpoint
+ * @param FacebookFile $file
+ *
+ * @return FacebookTransferChunk
+ *
+ * @throws FacebookSDKException
+ */
+ public function start($endpoint, FacebookFile $file)
+ {
+ $params = [
+ 'upload_phase' => 'start',
+ 'file_size' => $file->getSize(),
+ ];
+ $response = $this->sendUploadRequest($endpoint, $params);
+
+ return new FacebookTransferChunk($file, $response['upload_session_id'], $response['video_id'], $response['start_offset'], $response['end_offset']);
+ }
+
+ /**
+ * Upload by chunks - transfer phase
+ *
+ * @param string $endpoint
+ * @param FacebookTransferChunk $chunk
+ * @param boolean $allowToThrow
+ *
+ * @return FacebookTransferChunk
+ *
+ * @throws FacebookResponseException
+ */
+ public function transfer($endpoint, FacebookTransferChunk $chunk, $allowToThrow = false)
+ {
+ $params = [
+ 'upload_phase' => 'transfer',
+ 'upload_session_id' => $chunk->getUploadSessionId(),
+ 'start_offset' => $chunk->getStartOffset(),
+ 'video_file_chunk' => $chunk->getPartialFile(),
+ ];
+
+ try {
+ $response = $this->sendUploadRequest($endpoint, $params);
+ } catch (FacebookResponseException $e) {
+ $preException = $e->getPrevious();
+ if ($allowToThrow || !$preException instanceof FacebookResumableUploadException) {
+ throw $e;
+ }
+
+ // Return the same chunk entity so it can be retried.
+ return $chunk;
+ }
+
+ return new FacebookTransferChunk($chunk->getFile(), $chunk->getUploadSessionId(), $chunk->getVideoId(), $response['start_offset'], $response['end_offset']);
+ }
+
+ /**
+ * Upload by chunks - finish phase
+ *
+ * @param string $endpoint
+ * @param string $uploadSessionId
+ * @param array $metadata The metadata associated with the file.
+ *
+ * @return boolean
+ *
+ * @throws FacebookSDKException
+ */
+ public function finish($endpoint, $uploadSessionId, $metadata = [])
+ {
+ $params = array_merge($metadata, [
+ 'upload_phase' => 'finish',
+ 'upload_session_id' => $uploadSessionId,
+ ]);
+ $response = $this->sendUploadRequest($endpoint, $params);
+
+ return $response['success'];
+ }
+
+ /**
+ * Helper to make a FacebookRequest and send it.
+ *
+ * @param string $endpoint The endpoint to POST to.
+ * @param array $params The params to send with the request.
+ *
+ * @return array
+ */
+ private function sendUploadRequest($endpoint, $params = [])
+ {
+ $request = new FacebookRequest($this->app, $this->accessToken, 'POST', $endpoint, $params, null, $this->graphVersion);
+
+ return $this->client->sendRequest($request)->getDecodedBody();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/FileUpload/FacebookTransferChunk.php b/mayor-orig/mayor-base/www/include/share/facebook/FileUpload/FacebookTransferChunk.php
new file mode 100644
index 00000000..a909e875
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/FileUpload/FacebookTransferChunk.php
@@ -0,0 +1,133 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\FileUpload;
+
+/**
+ * Class FacebookTransferChunk
+ *
+ * @package Facebook
+ */
+class FacebookTransferChunk
+{
+ /**
+ * @var FacebookFile The file to chunk during upload.
+ */
+ private $file;
+
+ /**
+ * @var int The ID of the upload session.
+ */
+ private $uploadSessionId;
+
+ /**
+ * @var int Start byte position of the next file chunk.
+ */
+ private $startOffset;
+
+ /**
+ * @var int End byte position of the next file chunk.
+ */
+ private $endOffset;
+
+ /**
+ * @var int The ID of the video.
+ */
+ private $videoId;
+
+ /**
+ * @param FacebookFile $file
+ * @param int $uploadSessionId
+ * @param int $videoId
+ * @param int $startOffset
+ * @param int $endOffset
+ */
+ public function __construct(FacebookFile $file, $uploadSessionId, $videoId, $startOffset, $endOffset)
+ {
+ $this->file = $file;
+ $this->uploadSessionId = $uploadSessionId;
+ $this->videoId = $videoId;
+ $this->startOffset = $startOffset;
+ $this->endOffset = $endOffset;
+ }
+
+ /**
+ * Return the file entity.
+ *
+ * @return FacebookFile
+ */
+ public function getFile()
+ {
+ return $this->file;
+ }
+
+ /**
+ * Return a FacebookFile entity with partial content.
+ *
+ * @return FacebookFile
+ */
+ public function getPartialFile()
+ {
+ $maxLength = $this->endOffset - $this->startOffset;
+
+ return new FacebookFile($this->file->getFilePath(), $maxLength, $this->startOffset);
+ }
+
+ /**
+ * Return upload session Id
+ *
+ * @return int
+ */
+ public function getUploadSessionId()
+ {
+ return $this->uploadSessionId;
+ }
+
+ /**
+ * Check whether is the last chunk
+ *
+ * @return bool
+ */
+ public function isLastChunk()
+ {
+ return $this->startOffset === $this->endOffset;
+ }
+
+ /**
+ * @return int
+ */
+ public function getStartOffset()
+ {
+ return $this->startOffset;
+ }
+
+ /**
+ * Get uploaded video Id
+ *
+ * @return int
+ */
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/FileUpload/FacebookVideo.php b/mayor-orig/mayor-base/www/include/share/facebook/FileUpload/FacebookVideo.php
new file mode 100644
index 00000000..ee6dd538
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/FileUpload/FacebookVideo.php
@@ -0,0 +1,33 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\FileUpload;
+
+/**
+ * Class FacebookVideo
+ *
+ * @package Facebook
+ */
+class FacebookVideo extends FacebookFile
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/FileUpload/Mimetypes.php b/mayor-orig/mayor-base/www/include/share/facebook/FileUpload/Mimetypes.php
new file mode 100644
index 00000000..95d39924
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/FileUpload/Mimetypes.php
@@ -0,0 +1,988 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\FileUpload;
+
+/**
+ * Provides mappings of file extensions to mimetypes
+ *
+ * Taken from Guzzle
+ *
+ * @see https://github.com/guzzle/guzzle/blob/master/src/Mimetypes.php
+ *
+ * @link http://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types
+ */
+class Mimetypes
+{
+ /** @var self */
+ protected static $instance;
+
+ /** @var array Mapping of extension to mimetype */
+ protected $mimetypes = [
+ '3dml' => 'text/vnd.in3d.3dml',
+ '3g2' => 'video/3gpp2',
+ '3gp' => 'video/3gpp',
+ '7z' => 'application/x-7z-compressed',
+ 'aab' => 'application/x-authorware-bin',
+ 'aac' => 'audio/x-aac',
+ 'aam' => 'application/x-authorware-map',
+ 'aas' => 'application/x-authorware-seg',
+ 'abw' => 'application/x-abiword',
+ 'ac' => 'application/pkix-attr-cert',
+ 'acc' => 'application/vnd.americandynamics.acc',
+ 'ace' => 'application/x-ace-compressed',
+ 'acu' => 'application/vnd.acucobol',
+ 'acutc' => 'application/vnd.acucorp',
+ 'adp' => 'audio/adpcm',
+ 'aep' => 'application/vnd.audiograph',
+ 'afm' => 'application/x-font-type1',
+ 'afp' => 'application/vnd.ibm.modcap',
+ 'ahead' => 'application/vnd.ahead.space',
+ 'ai' => 'application/postscript',
+ 'aif' => 'audio/x-aiff',
+ 'aifc' => 'audio/x-aiff',
+ 'aiff' => 'audio/x-aiff',
+ 'air' => 'application/vnd.adobe.air-application-installer-package+zip',
+ 'ait' => 'application/vnd.dvb.ait',
+ 'ami' => 'application/vnd.amiga.ami',
+ 'apk' => 'application/vnd.android.package-archive',
+ 'application' => 'application/x-ms-application',
+ 'apr' => 'application/vnd.lotus-approach',
+ 'asa' => 'text/plain',
+ 'asax' => 'application/octet-stream',
+ 'asc' => 'application/pgp-signature',
+ 'ascx' => 'text/plain',
+ 'asf' => 'video/x-ms-asf',
+ 'ashx' => 'text/plain',
+ 'asm' => 'text/x-asm',
+ 'asmx' => 'text/plain',
+ 'aso' => 'application/vnd.accpac.simply.aso',
+ 'asp' => 'text/plain',
+ 'aspx' => 'text/plain',
+ 'asx' => 'video/x-ms-asf',
+ 'atc' => 'application/vnd.acucorp',
+ 'atom' => 'application/atom+xml',
+ 'atomcat' => 'application/atomcat+xml',
+ 'atomsvc' => 'application/atomsvc+xml',
+ 'atx' => 'application/vnd.antix.game-component',
+ 'au' => 'audio/basic',
+ 'avi' => 'video/x-msvideo',
+ 'aw' => 'application/applixware',
+ 'axd' => 'text/plain',
+ 'azf' => 'application/vnd.airzip.filesecure.azf',
+ 'azs' => 'application/vnd.airzip.filesecure.azs',
+ 'azw' => 'application/vnd.amazon.ebook',
+ 'bat' => 'application/x-msdownload',
+ 'bcpio' => 'application/x-bcpio',
+ 'bdf' => 'application/x-font-bdf',
+ 'bdm' => 'application/vnd.syncml.dm+wbxml',
+ 'bed' => 'application/vnd.realvnc.bed',
+ 'bh2' => 'application/vnd.fujitsu.oasysprs',
+ 'bin' => 'application/octet-stream',
+ 'bmi' => 'application/vnd.bmi',
+ 'bmp' => 'image/bmp',
+ 'book' => 'application/vnd.framemaker',
+ 'box' => 'application/vnd.previewsystems.box',
+ 'boz' => 'application/x-bzip2',
+ 'bpk' => 'application/octet-stream',
+ 'btif' => 'image/prs.btif',
+ 'bz' => 'application/x-bzip',
+ 'bz2' => 'application/x-bzip2',
+ 'c' => 'text/x-c',
+ 'c11amc' => 'application/vnd.cluetrust.cartomobile-config',
+ 'c11amz' => 'application/vnd.cluetrust.cartomobile-config-pkg',
+ 'c4d' => 'application/vnd.clonk.c4group',
+ 'c4f' => 'application/vnd.clonk.c4group',
+ 'c4g' => 'application/vnd.clonk.c4group',
+ 'c4p' => 'application/vnd.clonk.c4group',
+ 'c4u' => 'application/vnd.clonk.c4group',
+ 'cab' => 'application/vnd.ms-cab-compressed',
+ 'car' => 'application/vnd.curl.car',
+ 'cat' => 'application/vnd.ms-pki.seccat',
+ 'cc' => 'text/x-c',
+ 'cct' => 'application/x-director',
+ 'ccxml' => 'application/ccxml+xml',
+ 'cdbcmsg' => 'application/vnd.contact.cmsg',
+ 'cdf' => 'application/x-netcdf',
+ 'cdkey' => 'application/vnd.mediastation.cdkey',
+ 'cdmia' => 'application/cdmi-capability',
+ 'cdmic' => 'application/cdmi-container',
+ 'cdmid' => 'application/cdmi-domain',
+ 'cdmio' => 'application/cdmi-object',
+ 'cdmiq' => 'application/cdmi-queue',
+ 'cdx' => 'chemical/x-cdx',
+ 'cdxml' => 'application/vnd.chemdraw+xml',
+ 'cdy' => 'application/vnd.cinderella',
+ 'cer' => 'application/pkix-cert',
+ 'cfc' => 'application/x-coldfusion',
+ 'cfm' => 'application/x-coldfusion',
+ 'cgm' => 'image/cgm',
+ 'chat' => 'application/x-chat',
+ 'chm' => 'application/vnd.ms-htmlhelp',
+ 'chrt' => 'application/vnd.kde.kchart',
+ 'cif' => 'chemical/x-cif',
+ 'cii' => 'application/vnd.anser-web-certificate-issue-initiation',
+ 'cil' => 'application/vnd.ms-artgalry',
+ 'cla' => 'application/vnd.claymore',
+ 'class' => 'application/java-vm',
+ 'clkk' => 'application/vnd.crick.clicker.keyboard',
+ 'clkp' => 'application/vnd.crick.clicker.palette',
+ 'clkt' => 'application/vnd.crick.clicker.template',
+ 'clkw' => 'application/vnd.crick.clicker.wordbank',
+ 'clkx' => 'application/vnd.crick.clicker',
+ 'clp' => 'application/x-msclip',
+ 'cmc' => 'application/vnd.cosmocaller',
+ 'cmdf' => 'chemical/x-cmdf',
+ 'cml' => 'chemical/x-cml',
+ 'cmp' => 'application/vnd.yellowriver-custom-menu',
+ 'cmx' => 'image/x-cmx',
+ 'cod' => 'application/vnd.rim.cod',
+ 'com' => 'application/x-msdownload',
+ 'conf' => 'text/plain',
+ 'cpio' => 'application/x-cpio',
+ 'cpp' => 'text/x-c',
+ 'cpt' => 'application/mac-compactpro',
+ 'crd' => 'application/x-mscardfile',
+ 'crl' => 'application/pkix-crl',
+ 'crt' => 'application/x-x509-ca-cert',
+ 'cryptonote' => 'application/vnd.rig.cryptonote',
+ 'cs' => 'text/plain',
+ 'csh' => 'application/x-csh',
+ 'csml' => 'chemical/x-csml',
+ 'csp' => 'application/vnd.commonspace',
+ 'css' => 'text/css',
+ 'cst' => 'application/x-director',
+ 'csv' => 'text/csv',
+ 'cu' => 'application/cu-seeme',
+ 'curl' => 'text/vnd.curl',
+ 'cww' => 'application/prs.cww',
+ 'cxt' => 'application/x-director',
+ 'cxx' => 'text/x-c',
+ 'dae' => 'model/vnd.collada+xml',
+ 'daf' => 'application/vnd.mobius.daf',
+ 'dataless' => 'application/vnd.fdsn.seed',
+ 'davmount' => 'application/davmount+xml',
+ 'dcr' => 'application/x-director',
+ 'dcurl' => 'text/vnd.curl.dcurl',
+ 'dd2' => 'application/vnd.oma.dd2+xml',
+ 'ddd' => 'application/vnd.fujixerox.ddd',
+ 'deb' => 'application/x-debian-package',
+ 'def' => 'text/plain',
+ 'deploy' => 'application/octet-stream',
+ 'der' => 'application/x-x509-ca-cert',
+ 'dfac' => 'application/vnd.dreamfactory',
+ 'dic' => 'text/x-c',
+ 'dir' => 'application/x-director',
+ 'dis' => 'application/vnd.mobius.dis',
+ 'dist' => 'application/octet-stream',
+ 'distz' => 'application/octet-stream',
+ 'djv' => 'image/vnd.djvu',
+ 'djvu' => 'image/vnd.djvu',
+ 'dll' => 'application/x-msdownload',
+ 'dmg' => 'application/octet-stream',
+ 'dms' => 'application/octet-stream',
+ 'dna' => 'application/vnd.dna',
+ 'doc' => 'application/msword',
+ 'docm' => 'application/vnd.ms-word.document.macroenabled.12',
+ 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
+ 'dot' => 'application/msword',
+ 'dotm' => 'application/vnd.ms-word.template.macroenabled.12',
+ 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
+ 'dp' => 'application/vnd.osgi.dp',
+ 'dpg' => 'application/vnd.dpgraph',
+ 'dra' => 'audio/vnd.dra',
+ 'dsc' => 'text/prs.lines.tag',
+ 'dssc' => 'application/dssc+der',
+ 'dtb' => 'application/x-dtbook+xml',
+ 'dtd' => 'application/xml-dtd',
+ 'dts' => 'audio/vnd.dts',
+ 'dtshd' => 'audio/vnd.dts.hd',
+ 'dump' => 'application/octet-stream',
+ 'dvi' => 'application/x-dvi',
+ 'dwf' => 'model/vnd.dwf',
+ 'dwg' => 'image/vnd.dwg',
+ 'dxf' => 'image/vnd.dxf',
+ 'dxp' => 'application/vnd.spotfire.dxp',
+ 'dxr' => 'application/x-director',
+ 'ecelp4800' => 'audio/vnd.nuera.ecelp4800',
+ 'ecelp7470' => 'audio/vnd.nuera.ecelp7470',
+ 'ecelp9600' => 'audio/vnd.nuera.ecelp9600',
+ 'ecma' => 'application/ecmascript',
+ 'edm' => 'application/vnd.novadigm.edm',
+ 'edx' => 'application/vnd.novadigm.edx',
+ 'efif' => 'application/vnd.picsel',
+ 'ei6' => 'application/vnd.pg.osasli',
+ 'elc' => 'application/octet-stream',
+ 'eml' => 'message/rfc822',
+ 'emma' => 'application/emma+xml',
+ 'eol' => 'audio/vnd.digital-winds',
+ 'eot' => 'application/vnd.ms-fontobject',
+ 'eps' => 'application/postscript',
+ 'epub' => 'application/epub+zip',
+ 'es3' => 'application/vnd.eszigno3+xml',
+ 'esf' => 'application/vnd.epson.esf',
+ 'et3' => 'application/vnd.eszigno3+xml',
+ 'etx' => 'text/x-setext',
+ 'exe' => 'application/x-msdownload',
+ 'exi' => 'application/exi',
+ 'ext' => 'application/vnd.novadigm.ext',
+ 'ez' => 'application/andrew-inset',
+ 'ez2' => 'application/vnd.ezpix-album',
+ 'ez3' => 'application/vnd.ezpix-package',
+ 'f' => 'text/x-fortran',
+ 'f4v' => 'video/x-f4v',
+ 'f77' => 'text/x-fortran',
+ 'f90' => 'text/x-fortran',
+ 'fbs' => 'image/vnd.fastbidsheet',
+ 'fcs' => 'application/vnd.isac.fcs',
+ 'fdf' => 'application/vnd.fdf',
+ 'fe_launch' => 'application/vnd.denovo.fcselayout-link',
+ 'fg5' => 'application/vnd.fujitsu.oasysgp',
+ 'fgd' => 'application/x-director',
+ 'fh' => 'image/x-freehand',
+ 'fh4' => 'image/x-freehand',
+ 'fh5' => 'image/x-freehand',
+ 'fh7' => 'image/x-freehand',
+ 'fhc' => 'image/x-freehand',
+ 'fig' => 'application/x-xfig',
+ 'fli' => 'video/x-fli',
+ 'flo' => 'application/vnd.micrografx.flo',
+ 'flv' => 'video/x-flv',
+ 'flw' => 'application/vnd.kde.kivio',
+ 'flx' => 'text/vnd.fmi.flexstor',
+ 'fly' => 'text/vnd.fly',
+ 'fm' => 'application/vnd.framemaker',
+ 'fnc' => 'application/vnd.frogans.fnc',
+ 'for' => 'text/x-fortran',
+ 'fpx' => 'image/vnd.fpx',
+ 'frame' => 'application/vnd.framemaker',
+ 'fsc' => 'application/vnd.fsc.weblaunch',
+ 'fst' => 'image/vnd.fst',
+ 'ftc' => 'application/vnd.fluxtime.clip',
+ 'fti' => 'application/vnd.anser-web-funds-transfer-initiation',
+ 'fvt' => 'video/vnd.fvt',
+ 'fxp' => 'application/vnd.adobe.fxp',
+ 'fxpl' => 'application/vnd.adobe.fxp',
+ 'fzs' => 'application/vnd.fuzzysheet',
+ 'g2w' => 'application/vnd.geoplan',
+ 'g3' => 'image/g3fax',
+ 'g3w' => 'application/vnd.geospace',
+ 'gac' => 'application/vnd.groove-account',
+ 'gdl' => 'model/vnd.gdl',
+ 'geo' => 'application/vnd.dynageo',
+ 'gex' => 'application/vnd.geometry-explorer',
+ 'ggb' => 'application/vnd.geogebra.file',
+ 'ggt' => 'application/vnd.geogebra.tool',
+ 'ghf' => 'application/vnd.groove-help',
+ 'gif' => 'image/gif',
+ 'gim' => 'application/vnd.groove-identity-message',
+ 'gmx' => 'application/vnd.gmx',
+ 'gnumeric' => 'application/x-gnumeric',
+ 'gph' => 'application/vnd.flographit',
+ 'gqf' => 'application/vnd.grafeq',
+ 'gqs' => 'application/vnd.grafeq',
+ 'gram' => 'application/srgs',
+ 'gre' => 'application/vnd.geometry-explorer',
+ 'grv' => 'application/vnd.groove-injector',
+ 'grxml' => 'application/srgs+xml',
+ 'gsf' => 'application/x-font-ghostscript',
+ 'gtar' => 'application/x-gtar',
+ 'gtm' => 'application/vnd.groove-tool-message',
+ 'gtw' => 'model/vnd.gtw',
+ 'gv' => 'text/vnd.graphviz',
+ 'gxt' => 'application/vnd.geonext',
+ 'h' => 'text/x-c',
+ 'h261' => 'video/h261',
+ 'h263' => 'video/h263',
+ 'h264' => 'video/h264',
+ 'hal' => 'application/vnd.hal+xml',
+ 'hbci' => 'application/vnd.hbci',
+ 'hdf' => 'application/x-hdf',
+ 'hh' => 'text/x-c',
+ 'hlp' => 'application/winhlp',
+ 'hpgl' => 'application/vnd.hp-hpgl',
+ 'hpid' => 'application/vnd.hp-hpid',
+ 'hps' => 'application/vnd.hp-hps',
+ 'hqx' => 'application/mac-binhex40',
+ 'hta' => 'application/octet-stream',
+ 'htc' => 'text/html',
+ 'htke' => 'application/vnd.kenameaapp',
+ 'htm' => 'text/html',
+ 'html' => 'text/html',
+ 'hvd' => 'application/vnd.yamaha.hv-dic',
+ 'hvp' => 'application/vnd.yamaha.hv-voice',
+ 'hvs' => 'application/vnd.yamaha.hv-script',
+ 'i2g' => 'application/vnd.intergeo',
+ 'icc' => 'application/vnd.iccprofile',
+ 'ice' => 'x-conference/x-cooltalk',
+ 'icm' => 'application/vnd.iccprofile',
+ 'ico' => 'image/x-icon',
+ 'ics' => 'text/calendar',
+ 'ief' => 'image/ief',
+ 'ifb' => 'text/calendar',
+ 'ifm' => 'application/vnd.shana.informed.formdata',
+ 'iges' => 'model/iges',
+ 'igl' => 'application/vnd.igloader',
+ 'igm' => 'application/vnd.insors.igm',
+ 'igs' => 'model/iges',
+ 'igx' => 'application/vnd.micrografx.igx',
+ 'iif' => 'application/vnd.shana.informed.interchange',
+ 'imp' => 'application/vnd.accpac.simply.imp',
+ 'ims' => 'application/vnd.ms-ims',
+ 'in' => 'text/plain',
+ 'ini' => 'text/plain',
+ 'ipfix' => 'application/ipfix',
+ 'ipk' => 'application/vnd.shana.informed.package',
+ 'irm' => 'application/vnd.ibm.rights-management',
+ 'irp' => 'application/vnd.irepository.package+xml',
+ 'iso' => 'application/octet-stream',
+ 'itp' => 'application/vnd.shana.informed.formtemplate',
+ 'ivp' => 'application/vnd.immervision-ivp',
+ 'ivu' => 'application/vnd.immervision-ivu',
+ 'jad' => 'text/vnd.sun.j2me.app-descriptor',
+ 'jam' => 'application/vnd.jam',
+ 'jar' => 'application/java-archive',
+ 'java' => 'text/x-java-source',
+ 'jisp' => 'application/vnd.jisp',
+ 'jlt' => 'application/vnd.hp-jlyt',
+ 'jnlp' => 'application/x-java-jnlp-file',
+ 'joda' => 'application/vnd.joost.joda-archive',
+ 'jpe' => 'image/jpeg',
+ 'jpeg' => 'image/jpeg',
+ 'jpg' => 'image/jpeg',
+ 'jpgm' => 'video/jpm',
+ 'jpgv' => 'video/jpeg',
+ 'jpm' => 'video/jpm',
+ 'js' => 'text/javascript',
+ 'json' => 'application/json',
+ 'kar' => 'audio/midi',
+ 'karbon' => 'application/vnd.kde.karbon',
+ 'kfo' => 'application/vnd.kde.kformula',
+ 'kia' => 'application/vnd.kidspiration',
+ 'kml' => 'application/vnd.google-earth.kml+xml',
+ 'kmz' => 'application/vnd.google-earth.kmz',
+ 'kne' => 'application/vnd.kinar',
+ 'knp' => 'application/vnd.kinar',
+ 'kon' => 'application/vnd.kde.kontour',
+ 'kpr' => 'application/vnd.kde.kpresenter',
+ 'kpt' => 'application/vnd.kde.kpresenter',
+ 'ksp' => 'application/vnd.kde.kspread',
+ 'ktr' => 'application/vnd.kahootz',
+ 'ktx' => 'image/ktx',
+ 'ktz' => 'application/vnd.kahootz',
+ 'kwd' => 'application/vnd.kde.kword',
+ 'kwt' => 'application/vnd.kde.kword',
+ 'lasxml' => 'application/vnd.las.las+xml',
+ 'latex' => 'application/x-latex',
+ 'lbd' => 'application/vnd.llamagraphics.life-balance.desktop',
+ 'lbe' => 'application/vnd.llamagraphics.life-balance.exchange+xml',
+ 'les' => 'application/vnd.hhe.lesson-player',
+ 'lha' => 'application/octet-stream',
+ 'link66' => 'application/vnd.route66.link66+xml',
+ 'list' => 'text/plain',
+ 'list3820' => 'application/vnd.ibm.modcap',
+ 'listafp' => 'application/vnd.ibm.modcap',
+ 'log' => 'text/plain',
+ 'lostxml' => 'application/lost+xml',
+ 'lrf' => 'application/octet-stream',
+ 'lrm' => 'application/vnd.ms-lrm',
+ 'ltf' => 'application/vnd.frogans.ltf',
+ 'lvp' => 'audio/vnd.lucent.voice',
+ 'lwp' => 'application/vnd.lotus-wordpro',
+ 'lzh' => 'application/octet-stream',
+ 'm13' => 'application/x-msmediaview',
+ 'm14' => 'application/x-msmediaview',
+ 'm1v' => 'video/mpeg',
+ 'm21' => 'application/mp21',
+ 'm2a' => 'audio/mpeg',
+ 'm2v' => 'video/mpeg',
+ 'm3a' => 'audio/mpeg',
+ 'm3u' => 'audio/x-mpegurl',
+ 'm3u8' => 'application/vnd.apple.mpegurl',
+ 'm4a' => 'audio/mp4',
+ 'm4u' => 'video/vnd.mpegurl',
+ 'm4v' => 'video/mp4',
+ 'ma' => 'application/mathematica',
+ 'mads' => 'application/mads+xml',
+ 'mag' => 'application/vnd.ecowin.chart',
+ 'maker' => 'application/vnd.framemaker',
+ 'man' => 'text/troff',
+ 'mathml' => 'application/mathml+xml',
+ 'mb' => 'application/mathematica',
+ 'mbk' => 'application/vnd.mobius.mbk',
+ 'mbox' => 'application/mbox',
+ 'mc1' => 'application/vnd.medcalcdata',
+ 'mcd' => 'application/vnd.mcd',
+ 'mcurl' => 'text/vnd.curl.mcurl',
+ 'mdb' => 'application/x-msaccess',
+ 'mdi' => 'image/vnd.ms-modi',
+ 'me' => 'text/troff',
+ 'mesh' => 'model/mesh',
+ 'meta4' => 'application/metalink4+xml',
+ 'mets' => 'application/mets+xml',
+ 'mfm' => 'application/vnd.mfmp',
+ 'mgp' => 'application/vnd.osgeo.mapguide.package',
+ 'mgz' => 'application/vnd.proteus.magazine',
+ 'mid' => 'audio/midi',
+ 'midi' => 'audio/midi',
+ 'mif' => 'application/vnd.mif',
+ 'mime' => 'message/rfc822',
+ 'mj2' => 'video/mj2',
+ 'mjp2' => 'video/mj2',
+ 'mlp' => 'application/vnd.dolby.mlp',
+ 'mmd' => 'application/vnd.chipnuts.karaoke-mmd',
+ 'mmf' => 'application/vnd.smaf',
+ 'mmr' => 'image/vnd.fujixerox.edmics-mmr',
+ 'mny' => 'application/x-msmoney',
+ 'mobi' => 'application/x-mobipocket-ebook',
+ 'mods' => 'application/mods+xml',
+ 'mov' => 'video/quicktime',
+ 'movie' => 'video/x-sgi-movie',
+ 'mp2' => 'audio/mpeg',
+ 'mp21' => 'application/mp21',
+ 'mp2a' => 'audio/mpeg',
+ 'mp3' => 'audio/mpeg',
+ 'mp4' => 'video/mp4',
+ 'mp4a' => 'audio/mp4',
+ 'mp4s' => 'application/mp4',
+ 'mp4v' => 'video/mp4',
+ 'mpc' => 'application/vnd.mophun.certificate',
+ 'mpe' => 'video/mpeg',
+ 'mpeg' => 'video/mpeg',
+ 'mpg' => 'video/mpeg',
+ 'mpg4' => 'video/mp4',
+ 'mpga' => 'audio/mpeg',
+ 'mpkg' => 'application/vnd.apple.installer+xml',
+ 'mpm' => 'application/vnd.blueice.multipass',
+ 'mpn' => 'application/vnd.mophun.application',
+ 'mpp' => 'application/vnd.ms-project',
+ 'mpt' => 'application/vnd.ms-project',
+ 'mpy' => 'application/vnd.ibm.minipay',
+ 'mqy' => 'application/vnd.mobius.mqy',
+ 'mrc' => 'application/marc',
+ 'mrcx' => 'application/marcxml+xml',
+ 'ms' => 'text/troff',
+ 'mscml' => 'application/mediaservercontrol+xml',
+ 'mseed' => 'application/vnd.fdsn.mseed',
+ 'mseq' => 'application/vnd.mseq',
+ 'msf' => 'application/vnd.epson.msf',
+ 'msh' => 'model/mesh',
+ 'msi' => 'application/x-msdownload',
+ 'msl' => 'application/vnd.mobius.msl',
+ 'msty' => 'application/vnd.muvee.style',
+ 'mts' => 'model/vnd.mts',
+ 'mus' => 'application/vnd.musician',
+ 'musicxml' => 'application/vnd.recordare.musicxml+xml',
+ 'mvb' => 'application/x-msmediaview',
+ 'mwf' => 'application/vnd.mfer',
+ 'mxf' => 'application/mxf',
+ 'mxl' => 'application/vnd.recordare.musicxml',
+ 'mxml' => 'application/xv+xml',
+ 'mxs' => 'application/vnd.triscape.mxs',
+ 'mxu' => 'video/vnd.mpegurl',
+ 'n-gage' => 'application/vnd.nokia.n-gage.symbian.install',
+ 'n3' => 'text/n3',
+ 'nb' => 'application/mathematica',
+ 'nbp' => 'application/vnd.wolfram.player',
+ 'nc' => 'application/x-netcdf',
+ 'ncx' => 'application/x-dtbncx+xml',
+ 'ngdat' => 'application/vnd.nokia.n-gage.data',
+ 'nlu' => 'application/vnd.neurolanguage.nlu',
+ 'nml' => 'application/vnd.enliven',
+ 'nnd' => 'application/vnd.noblenet-directory',
+ 'nns' => 'application/vnd.noblenet-sealer',
+ 'nnw' => 'application/vnd.noblenet-web',
+ 'npx' => 'image/vnd.net-fpx',
+ 'nsf' => 'application/vnd.lotus-notes',
+ 'oa2' => 'application/vnd.fujitsu.oasys2',
+ 'oa3' => 'application/vnd.fujitsu.oasys3',
+ 'oas' => 'application/vnd.fujitsu.oasys',
+ 'obd' => 'application/x-msbinder',
+ 'oda' => 'application/oda',
+ 'odb' => 'application/vnd.oasis.opendocument.database',
+ 'odc' => 'application/vnd.oasis.opendocument.chart',
+ 'odf' => 'application/vnd.oasis.opendocument.formula',
+ 'odft' => 'application/vnd.oasis.opendocument.formula-template',
+ 'odg' => 'application/vnd.oasis.opendocument.graphics',
+ 'odi' => 'application/vnd.oasis.opendocument.image',
+ 'odm' => 'application/vnd.oasis.opendocument.text-master',
+ 'odp' => 'application/vnd.oasis.opendocument.presentation',
+ 'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
+ 'odt' => 'application/vnd.oasis.opendocument.text',
+ 'oga' => 'audio/ogg',
+ 'ogg' => 'audio/ogg',
+ 'ogv' => 'video/ogg',
+ 'ogx' => 'application/ogg',
+ 'onepkg' => 'application/onenote',
+ 'onetmp' => 'application/onenote',
+ 'onetoc' => 'application/onenote',
+ 'onetoc2' => 'application/onenote',
+ 'opf' => 'application/oebps-package+xml',
+ 'oprc' => 'application/vnd.palm',
+ 'org' => 'application/vnd.lotus-organizer',
+ 'osf' => 'application/vnd.yamaha.openscoreformat',
+ 'osfpvg' => 'application/vnd.yamaha.openscoreformat.osfpvg+xml',
+ 'otc' => 'application/vnd.oasis.opendocument.chart-template',
+ 'otf' => 'application/x-font-otf',
+ 'otg' => 'application/vnd.oasis.opendocument.graphics-template',
+ 'oth' => 'application/vnd.oasis.opendocument.text-web',
+ 'oti' => 'application/vnd.oasis.opendocument.image-template',
+ 'otp' => 'application/vnd.oasis.opendocument.presentation-template',
+ 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template',
+ 'ott' => 'application/vnd.oasis.opendocument.text-template',
+ 'oxt' => 'application/vnd.openofficeorg.extension',
+ 'p' => 'text/x-pascal',
+ 'p10' => 'application/pkcs10',
+ 'p12' => 'application/x-pkcs12',
+ 'p7b' => 'application/x-pkcs7-certificates',
+ 'p7c' => 'application/pkcs7-mime',
+ 'p7m' => 'application/pkcs7-mime',
+ 'p7r' => 'application/x-pkcs7-certreqresp',
+ 'p7s' => 'application/pkcs7-signature',
+ 'p8' => 'application/pkcs8',
+ 'pas' => 'text/x-pascal',
+ 'paw' => 'application/vnd.pawaafile',
+ 'pbd' => 'application/vnd.powerbuilder6',
+ 'pbm' => 'image/x-portable-bitmap',
+ 'pcf' => 'application/x-font-pcf',
+ 'pcl' => 'application/vnd.hp-pcl',
+ 'pclxl' => 'application/vnd.hp-pclxl',
+ 'pct' => 'image/x-pict',
+ 'pcurl' => 'application/vnd.curl.pcurl',
+ 'pcx' => 'image/x-pcx',
+ 'pdb' => 'application/vnd.palm',
+ 'pdf' => 'application/pdf',
+ 'pfa' => 'application/x-font-type1',
+ 'pfb' => 'application/x-font-type1',
+ 'pfm' => 'application/x-font-type1',
+ 'pfr' => 'application/font-tdpfr',
+ 'pfx' => 'application/x-pkcs12',
+ 'pgm' => 'image/x-portable-graymap',
+ 'pgn' => 'application/x-chess-pgn',
+ 'pgp' => 'application/pgp-encrypted',
+ 'php' => 'text/x-php',
+ 'phps' => 'application/x-httpd-phps',
+ 'pic' => 'image/x-pict',
+ 'pkg' => 'application/octet-stream',
+ 'pki' => 'application/pkixcmp',
+ 'pkipath' => 'application/pkix-pkipath',
+ 'plb' => 'application/vnd.3gpp.pic-bw-large',
+ 'plc' => 'application/vnd.mobius.plc',
+ 'plf' => 'application/vnd.pocketlearn',
+ 'pls' => 'application/pls+xml',
+ 'pml' => 'application/vnd.ctc-posml',
+ 'png' => 'image/png',
+ 'pnm' => 'image/x-portable-anymap',
+ 'portpkg' => 'application/vnd.macports.portpkg',
+ 'pot' => 'application/vnd.ms-powerpoint',
+ 'potm' => 'application/vnd.ms-powerpoint.template.macroenabled.12',
+ 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template',
+ 'ppam' => 'application/vnd.ms-powerpoint.addin.macroenabled.12',
+ 'ppd' => 'application/vnd.cups-ppd',
+ 'ppm' => 'image/x-portable-pixmap',
+ 'pps' => 'application/vnd.ms-powerpoint',
+ 'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroenabled.12',
+ 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
+ 'ppt' => 'application/vnd.ms-powerpoint',
+ 'pptm' => 'application/vnd.ms-powerpoint.presentation.macroenabled.12',
+ 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
+ 'pqa' => 'application/vnd.palm',
+ 'prc' => 'application/x-mobipocket-ebook',
+ 'pre' => 'application/vnd.lotus-freelance',
+ 'prf' => 'application/pics-rules',
+ 'ps' => 'application/postscript',
+ 'psb' => 'application/vnd.3gpp.pic-bw-small',
+ 'psd' => 'image/vnd.adobe.photoshop',
+ 'psf' => 'application/x-font-linux-psf',
+ 'pskcxml' => 'application/pskc+xml',
+ 'ptid' => 'application/vnd.pvi.ptid1',
+ 'pub' => 'application/x-mspublisher',
+ 'pvb' => 'application/vnd.3gpp.pic-bw-var',
+ 'pwn' => 'application/vnd.3m.post-it-notes',
+ 'pya' => 'audio/vnd.ms-playready.media.pya',
+ 'pyv' => 'video/vnd.ms-playready.media.pyv',
+ 'qam' => 'application/vnd.epson.quickanime',
+ 'qbo' => 'application/vnd.intu.qbo',
+ 'qfx' => 'application/vnd.intu.qfx',
+ 'qps' => 'application/vnd.publishare-delta-tree',
+ 'qt' => 'video/quicktime',
+ 'qwd' => 'application/vnd.quark.quarkxpress',
+ 'qwt' => 'application/vnd.quark.quarkxpress',
+ 'qxb' => 'application/vnd.quark.quarkxpress',
+ 'qxd' => 'application/vnd.quark.quarkxpress',
+ 'qxl' => 'application/vnd.quark.quarkxpress',
+ 'qxt' => 'application/vnd.quark.quarkxpress',
+ 'ra' => 'audio/x-pn-realaudio',
+ 'ram' => 'audio/x-pn-realaudio',
+ 'rar' => 'application/x-rar-compressed',
+ 'ras' => 'image/x-cmu-raster',
+ 'rb' => 'text/plain',
+ 'rcprofile' => 'application/vnd.ipunplugged.rcprofile',
+ 'rdf' => 'application/rdf+xml',
+ 'rdz' => 'application/vnd.data-vision.rdz',
+ 'rep' => 'application/vnd.businessobjects',
+ 'res' => 'application/x-dtbresource+xml',
+ 'resx' => 'text/xml',
+ 'rgb' => 'image/x-rgb',
+ 'rif' => 'application/reginfo+xml',
+ 'rip' => 'audio/vnd.rip',
+ 'rl' => 'application/resource-lists+xml',
+ 'rlc' => 'image/vnd.fujixerox.edmics-rlc',
+ 'rld' => 'application/resource-lists-diff+xml',
+ 'rm' => 'application/vnd.rn-realmedia',
+ 'rmi' => 'audio/midi',
+ 'rmp' => 'audio/x-pn-realaudio-plugin',
+ 'rms' => 'application/vnd.jcp.javame.midlet-rms',
+ 'rnc' => 'application/relax-ng-compact-syntax',
+ 'roff' => 'text/troff',
+ 'rp9' => 'application/vnd.cloanto.rp9',
+ 'rpss' => 'application/vnd.nokia.radio-presets',
+ 'rpst' => 'application/vnd.nokia.radio-preset',
+ 'rq' => 'application/sparql-query',
+ 'rs' => 'application/rls-services+xml',
+ 'rsd' => 'application/rsd+xml',
+ 'rss' => 'application/rss+xml',
+ 'rtf' => 'application/rtf',
+ 'rtx' => 'text/richtext',
+ 's' => 'text/x-asm',
+ 'saf' => 'application/vnd.yamaha.smaf-audio',
+ 'sbml' => 'application/sbml+xml',
+ 'sc' => 'application/vnd.ibm.secure-container',
+ 'scd' => 'application/x-msschedule',
+ 'scm' => 'application/vnd.lotus-screencam',
+ 'scq' => 'application/scvp-cv-request',
+ 'scs' => 'application/scvp-cv-response',
+ 'scurl' => 'text/vnd.curl.scurl',
+ 'sda' => 'application/vnd.stardivision.draw',
+ 'sdc' => 'application/vnd.stardivision.calc',
+ 'sdd' => 'application/vnd.stardivision.impress',
+ 'sdkd' => 'application/vnd.solent.sdkm+xml',
+ 'sdkm' => 'application/vnd.solent.sdkm+xml',
+ 'sdp' => 'application/sdp',
+ 'sdw' => 'application/vnd.stardivision.writer',
+ 'see' => 'application/vnd.seemail',
+ 'seed' => 'application/vnd.fdsn.seed',
+ 'sema' => 'application/vnd.sema',
+ 'semd' => 'application/vnd.semd',
+ 'semf' => 'application/vnd.semf',
+ 'ser' => 'application/java-serialized-object',
+ 'setpay' => 'application/set-payment-initiation',
+ 'setreg' => 'application/set-registration-initiation',
+ 'sfd-hdstx' => 'application/vnd.hydrostatix.sof-data',
+ 'sfs' => 'application/vnd.spotfire.sfs',
+ 'sgl' => 'application/vnd.stardivision.writer-global',
+ 'sgm' => 'text/sgml',
+ 'sgml' => 'text/sgml',
+ 'sh' => 'application/x-sh',
+ 'shar' => 'application/x-shar',
+ 'shf' => 'application/shf+xml',
+ 'sig' => 'application/pgp-signature',
+ 'silo' => 'model/mesh',
+ 'sis' => 'application/vnd.symbian.install',
+ 'sisx' => 'application/vnd.symbian.install',
+ 'sit' => 'application/x-stuffit',
+ 'sitx' => 'application/x-stuffitx',
+ 'skd' => 'application/vnd.koan',
+ 'skm' => 'application/vnd.koan',
+ 'skp' => 'application/vnd.koan',
+ 'skt' => 'application/vnd.koan',
+ 'sldm' => 'application/vnd.ms-powerpoint.slide.macroenabled.12',
+ 'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide',
+ 'slt' => 'application/vnd.epson.salt',
+ 'sm' => 'application/vnd.stepmania.stepchart',
+ 'smf' => 'application/vnd.stardivision.math',
+ 'smi' => 'application/smil+xml',
+ 'smil' => 'application/smil+xml',
+ 'snd' => 'audio/basic',
+ 'snf' => 'application/x-font-snf',
+ 'so' => 'application/octet-stream',
+ 'spc' => 'application/x-pkcs7-certificates',
+ 'spf' => 'application/vnd.yamaha.smaf-phrase',
+ 'spl' => 'application/x-futuresplash',
+ 'spot' => 'text/vnd.in3d.spot',
+ 'spp' => 'application/scvp-vp-response',
+ 'spq' => 'application/scvp-vp-request',
+ 'spx' => 'audio/ogg',
+ 'src' => 'application/x-wais-source',
+ 'srt' => 'application/octet-stream',
+ 'sru' => 'application/sru+xml',
+ 'srx' => 'application/sparql-results+xml',
+ 'sse' => 'application/vnd.kodak-descriptor',
+ 'ssf' => 'application/vnd.epson.ssf',
+ 'ssml' => 'application/ssml+xml',
+ 'st' => 'application/vnd.sailingtracker.track',
+ 'stc' => 'application/vnd.sun.xml.calc.template',
+ 'std' => 'application/vnd.sun.xml.draw.template',
+ 'stf' => 'application/vnd.wt.stf',
+ 'sti' => 'application/vnd.sun.xml.impress.template',
+ 'stk' => 'application/hyperstudio',
+ 'stl' => 'application/vnd.ms-pki.stl',
+ 'str' => 'application/vnd.pg.format',
+ 'stw' => 'application/vnd.sun.xml.writer.template',
+ 'sub' => 'image/vnd.dvb.subtitle',
+ 'sus' => 'application/vnd.sus-calendar',
+ 'susp' => 'application/vnd.sus-calendar',
+ 'sv4cpio' => 'application/x-sv4cpio',
+ 'sv4crc' => 'application/x-sv4crc',
+ 'svc' => 'application/vnd.dvb.service',
+ 'svd' => 'application/vnd.svd',
+ 'svg' => 'image/svg+xml',
+ 'svgz' => 'image/svg+xml',
+ 'swa' => 'application/x-director',
+ 'swf' => 'application/x-shockwave-flash',
+ 'swi' => 'application/vnd.aristanetworks.swi',
+ 'sxc' => 'application/vnd.sun.xml.calc',
+ 'sxd' => 'application/vnd.sun.xml.draw',
+ 'sxg' => 'application/vnd.sun.xml.writer.global',
+ 'sxi' => 'application/vnd.sun.xml.impress',
+ 'sxm' => 'application/vnd.sun.xml.math',
+ 'sxw' => 'application/vnd.sun.xml.writer',
+ 't' => 'text/troff',
+ 'tao' => 'application/vnd.tao.intent-module-archive',
+ 'tar' => 'application/x-tar',
+ 'tcap' => 'application/vnd.3gpp2.tcap',
+ 'tcl' => 'application/x-tcl',
+ 'teacher' => 'application/vnd.smart.teacher',
+ 'tei' => 'application/tei+xml',
+ 'teicorpus' => 'application/tei+xml',
+ 'tex' => 'application/x-tex',
+ 'texi' => 'application/x-texinfo',
+ 'texinfo' => 'application/x-texinfo',
+ 'text' => 'text/plain',
+ 'tfi' => 'application/thraud+xml',
+ 'tfm' => 'application/x-tex-tfm',
+ 'thmx' => 'application/vnd.ms-officetheme',
+ 'tif' => 'image/tiff',
+ 'tiff' => 'image/tiff',
+ 'tmo' => 'application/vnd.tmobile-livetv',
+ 'torrent' => 'application/x-bittorrent',
+ 'tpl' => 'application/vnd.groove-tool-template',
+ 'tpt' => 'application/vnd.trid.tpt',
+ 'tr' => 'text/troff',
+ 'tra' => 'application/vnd.trueapp',
+ 'trm' => 'application/x-msterminal',
+ 'tsd' => 'application/timestamped-data',
+ 'tsv' => 'text/tab-separated-values',
+ 'ttc' => 'application/x-font-ttf',
+ 'ttf' => 'application/x-font-ttf',
+ 'ttl' => 'text/turtle',
+ 'twd' => 'application/vnd.simtech-mindmapper',
+ 'twds' => 'application/vnd.simtech-mindmapper',
+ 'txd' => 'application/vnd.genomatix.tuxedo',
+ 'txf' => 'application/vnd.mobius.txf',
+ 'txt' => 'text/plain',
+ 'u32' => 'application/x-authorware-bin',
+ 'udeb' => 'application/x-debian-package',
+ 'ufd' => 'application/vnd.ufdl',
+ 'ufdl' => 'application/vnd.ufdl',
+ 'umj' => 'application/vnd.umajin',
+ 'unityweb' => 'application/vnd.unity',
+ 'uoml' => 'application/vnd.uoml+xml',
+ 'uri' => 'text/uri-list',
+ 'uris' => 'text/uri-list',
+ 'urls' => 'text/uri-list',
+ 'ustar' => 'application/x-ustar',
+ 'utz' => 'application/vnd.uiq.theme',
+ 'uu' => 'text/x-uuencode',
+ 'uva' => 'audio/vnd.dece.audio',
+ 'uvd' => 'application/vnd.dece.data',
+ 'uvf' => 'application/vnd.dece.data',
+ 'uvg' => 'image/vnd.dece.graphic',
+ 'uvh' => 'video/vnd.dece.hd',
+ 'uvi' => 'image/vnd.dece.graphic',
+ 'uvm' => 'video/vnd.dece.mobile',
+ 'uvp' => 'video/vnd.dece.pd',
+ 'uvs' => 'video/vnd.dece.sd',
+ 'uvt' => 'application/vnd.dece.ttml+xml',
+ 'uvu' => 'video/vnd.uvvu.mp4',
+ 'uvv' => 'video/vnd.dece.video',
+ 'uvva' => 'audio/vnd.dece.audio',
+ 'uvvd' => 'application/vnd.dece.data',
+ 'uvvf' => 'application/vnd.dece.data',
+ 'uvvg' => 'image/vnd.dece.graphic',
+ 'uvvh' => 'video/vnd.dece.hd',
+ 'uvvi' => 'image/vnd.dece.graphic',
+ 'uvvm' => 'video/vnd.dece.mobile',
+ 'uvvp' => 'video/vnd.dece.pd',
+ 'uvvs' => 'video/vnd.dece.sd',
+ 'uvvt' => 'application/vnd.dece.ttml+xml',
+ 'uvvu' => 'video/vnd.uvvu.mp4',
+ 'uvvv' => 'video/vnd.dece.video',
+ 'uvvx' => 'application/vnd.dece.unspecified',
+ 'uvx' => 'application/vnd.dece.unspecified',
+ 'vcd' => 'application/x-cdlink',
+ 'vcf' => 'text/x-vcard',
+ 'vcg' => 'application/vnd.groove-vcard',
+ 'vcs' => 'text/x-vcalendar',
+ 'vcx' => 'application/vnd.vcx',
+ 'vis' => 'application/vnd.visionary',
+ 'viv' => 'video/vnd.vivo',
+ 'vor' => 'application/vnd.stardivision.writer',
+ 'vox' => 'application/x-authorware-bin',
+ 'vrml' => 'model/vrml',
+ 'vsd' => 'application/vnd.visio',
+ 'vsf' => 'application/vnd.vsf',
+ 'vss' => 'application/vnd.visio',
+ 'vst' => 'application/vnd.visio',
+ 'vsw' => 'application/vnd.visio',
+ 'vtu' => 'model/vnd.vtu',
+ 'vxml' => 'application/voicexml+xml',
+ 'w3d' => 'application/x-director',
+ 'wad' => 'application/x-doom',
+ 'wav' => 'audio/x-wav',
+ 'wax' => 'audio/x-ms-wax',
+ 'wbmp' => 'image/vnd.wap.wbmp',
+ 'wbs' => 'application/vnd.criticaltools.wbs+xml',
+ 'wbxml' => 'application/vnd.wap.wbxml',
+ 'wcm' => 'application/vnd.ms-works',
+ 'wdb' => 'application/vnd.ms-works',
+ 'weba' => 'audio/webm',
+ 'webm' => 'video/webm',
+ 'webp' => 'image/webp',
+ 'wg' => 'application/vnd.pmi.widget',
+ 'wgt' => 'application/widget',
+ 'wks' => 'application/vnd.ms-works',
+ 'wm' => 'video/x-ms-wm',
+ 'wma' => 'audio/x-ms-wma',
+ 'wmd' => 'application/x-ms-wmd',
+ 'wmf' => 'application/x-msmetafile',
+ 'wml' => 'text/vnd.wap.wml',
+ 'wmlc' => 'application/vnd.wap.wmlc',
+ 'wmls' => 'text/vnd.wap.wmlscript',
+ 'wmlsc' => 'application/vnd.wap.wmlscriptc',
+ 'wmv' => 'video/x-ms-wmv',
+ 'wmx' => 'video/x-ms-wmx',
+ 'wmz' => 'application/x-ms-wmz',
+ 'woff' => 'application/x-font-woff',
+ 'wpd' => 'application/vnd.wordperfect',
+ 'wpl' => 'application/vnd.ms-wpl',
+ 'wps' => 'application/vnd.ms-works',
+ 'wqd' => 'application/vnd.wqd',
+ 'wri' => 'application/x-mswrite',
+ 'wrl' => 'model/vrml',
+ 'wsdl' => 'application/wsdl+xml',
+ 'wspolicy' => 'application/wspolicy+xml',
+ 'wtb' => 'application/vnd.webturbo',
+ 'wvx' => 'video/x-ms-wvx',
+ 'x32' => 'application/x-authorware-bin',
+ 'x3d' => 'application/vnd.hzn-3d-crossword',
+ 'xap' => 'application/x-silverlight-app',
+ 'xar' => 'application/vnd.xara',
+ 'xbap' => 'application/x-ms-xbap',
+ 'xbd' => 'application/vnd.fujixerox.docuworks.binder',
+ 'xbm' => 'image/x-xbitmap',
+ 'xdf' => 'application/xcap-diff+xml',
+ 'xdm' => 'application/vnd.syncml.dm+xml',
+ 'xdp' => 'application/vnd.adobe.xdp+xml',
+ 'xdssc' => 'application/dssc+xml',
+ 'xdw' => 'application/vnd.fujixerox.docuworks',
+ 'xenc' => 'application/xenc+xml',
+ 'xer' => 'application/patch-ops-error+xml',
+ 'xfdf' => 'application/vnd.adobe.xfdf',
+ 'xfdl' => 'application/vnd.xfdl',
+ 'xht' => 'application/xhtml+xml',
+ 'xhtml' => 'application/xhtml+xml',
+ 'xhvml' => 'application/xv+xml',
+ 'xif' => 'image/vnd.xiff',
+ 'xla' => 'application/vnd.ms-excel',
+ 'xlam' => 'application/vnd.ms-excel.addin.macroenabled.12',
+ 'xlc' => 'application/vnd.ms-excel',
+ 'xlm' => 'application/vnd.ms-excel',
+ 'xls' => 'application/vnd.ms-excel',
+ 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroenabled.12',
+ 'xlsm' => 'application/vnd.ms-excel.sheet.macroenabled.12',
+ 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
+ 'xlt' => 'application/vnd.ms-excel',
+ 'xltm' => 'application/vnd.ms-excel.template.macroenabled.12',
+ 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
+ 'xlw' => 'application/vnd.ms-excel',
+ 'xml' => 'application/xml',
+ 'xo' => 'application/vnd.olpc-sugar',
+ 'xop' => 'application/xop+xml',
+ 'xpi' => 'application/x-xpinstall',
+ 'xpm' => 'image/x-xpixmap',
+ 'xpr' => 'application/vnd.is-xpr',
+ 'xps' => 'application/vnd.ms-xpsdocument',
+ 'xpw' => 'application/vnd.intercon.formnet',
+ 'xpx' => 'application/vnd.intercon.formnet',
+ 'xsl' => 'application/xml',
+ 'xslt' => 'application/xslt+xml',
+ 'xsm' => 'application/vnd.syncml+xml',
+ 'xspf' => 'application/xspf+xml',
+ 'xul' => 'application/vnd.mozilla.xul+xml',
+ 'xvm' => 'application/xv+xml',
+ 'xvml' => 'application/xv+xml',
+ 'xwd' => 'image/x-xwindowdump',
+ 'xyz' => 'chemical/x-xyz',
+ 'yaml' => 'text/yaml',
+ 'yang' => 'application/yang',
+ 'yin' => 'application/yin+xml',
+ 'yml' => 'text/yaml',
+ 'zaz' => 'application/vnd.zzazz.deck+xml',
+ 'zip' => 'application/zip',
+ 'zir' => 'application/vnd.zul',
+ 'zirz' => 'application/vnd.zul',
+ 'zmm' => 'application/vnd.handheld-entertainment+xml'
+ ];
+
+ /**
+ * Get a singleton instance of the class
+ *
+ * @return self
+ * @codeCoverageIgnore
+ */
+ public static function getInstance()
+ {
+ if (!self::$instance) {
+ self::$instance = new self();
+ }
+
+ return self::$instance;
+ }
+
+ /**
+ * Get a mimetype value from a file extension
+ *
+ * @param string $extension File extension
+ *
+ * @return string|null
+ */
+ public function fromExtension($extension)
+ {
+ $extension = strtolower($extension);
+
+ return isset($this->mimetypes[$extension]) ? $this->mimetypes[$extension] : null;
+ }
+
+ /**
+ * Get a mimetype from a filename
+ *
+ * @param string $filename Filename to generate a mimetype from
+ *
+ * @return string|null
+ */
+ public function fromFilename($filename)
+ {
+ return $this->fromExtension(pathinfo($filename, PATHINFO_EXTENSION));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/Birthday.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/Birthday.php
new file mode 100644
index 00000000..4338b65e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/Birthday.php
@@ -0,0 +1,85 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+use DateTime;
+
+/**
+ * Birthday object to handle various Graph return formats
+ *
+ * @package Facebook
+ */
+class Birthday extends DateTime
+{
+ /**
+ * @var bool
+ */
+ private $hasDate = false;
+
+ /**
+ * @var bool
+ */
+ private $hasYear = false;
+
+ /**
+ * Parses Graph birthday format to set indication flags, possible values:
+ *
+ * MM/DD/YYYY
+ * MM/DD
+ * YYYY
+ *
+ * @link https://developers.facebook.com/docs/graph-api/reference/user
+ *
+ * @param string $date
+ */
+ public function __construct($date)
+ {
+ $parts = explode('/', $date);
+
+ $this->hasYear = count($parts) === 3 || count($parts) === 1;
+ $this->hasDate = count($parts) === 3 || count($parts) === 2;
+
+ parent::__construct($date);
+ }
+
+ /**
+ * Returns whether date object contains birth day and month
+ *
+ * @return bool
+ */
+ public function hasDate()
+ {
+ return $this->hasDate;
+ }
+
+ /**
+ * Returns whether date object contains birth year
+ *
+ * @return bool
+ */
+ public function hasYear()
+ {
+ return $this->hasYear;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/Collection.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/Collection.php
new file mode 100644
index 00000000..424b7cf3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/Collection.php
@@ -0,0 +1,242 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+/**
+ * Class Collection
+ *
+ * Modified version of Collection in "illuminate/support" by Taylor Otwell
+ *
+ * @package Facebook
+ */
+
+use ArrayAccess;
+use ArrayIterator;
+use Countable;
+use IteratorAggregate;
+
+class Collection implements ArrayAccess, Countable, IteratorAggregate
+{
+ /**
+ * The items contained in the collection.
+ *
+ * @var array
+ */
+ protected $items = [];
+
+ /**
+ * Create a new collection.
+ *
+ * @param array $items
+ */
+ public function __construct(array $items = [])
+ {
+ $this->items = $items;
+ }
+
+ /**
+ * Gets the value of a field from the Graph node.
+ *
+ * @param string $name The field to retrieve.
+ * @param mixed $default The default to return if the field doesn't exist.
+ *
+ * @return mixed
+ */
+ public function getField($name, $default = null)
+ {
+ if (isset($this->items[$name])) {
+ return $this->items[$name];
+ }
+
+ return $default;
+ }
+
+ /**
+ * Gets the value of the named property for this graph object.
+ *
+ * @param string $name The property to retrieve.
+ * @param mixed $default The default to return if the property doesn't exist.
+ *
+ * @return mixed
+ *
+ * @deprecated 5.0.0 getProperty() has been renamed to getField()
+ * @todo v6: Remove this method
+ */
+ public function getProperty($name, $default = null)
+ {
+ return $this->getField($name, $default);
+ }
+
+ /**
+ * Returns a list of all fields set on the object.
+ *
+ * @return array
+ */
+ public function getFieldNames()
+ {
+ return array_keys($this->items);
+ }
+
+ /**
+ * Returns a list of all properties set on the object.
+ *
+ * @return array
+ *
+ * @deprecated 5.0.0 getPropertyNames() has been renamed to getFieldNames()
+ * @todo v6: Remove this method
+ */
+ public function getPropertyNames()
+ {
+ return $this->getFieldNames();
+ }
+
+ /**
+ * Get all of the items in the collection.
+ *
+ * @return array
+ */
+ public function all()
+ {
+ return $this->items;
+ }
+
+ /**
+ * Get the collection of items as a plain array.
+ *
+ * @return array
+ */
+ public function asArray()
+ {
+ return array_map(function ($value) {
+ return $value instanceof Collection ? $value->asArray() : $value;
+ }, $this->items);
+ }
+
+ /**
+ * Run a map over each of the items.
+ *
+ * @param \Closure $callback
+ *
+ * @return static
+ */
+ public function map(\Closure $callback)
+ {
+ return new static(array_map($callback, $this->items, array_keys($this->items)));
+ }
+
+ /**
+ * Get the collection of items as JSON.
+ *
+ * @param int $options
+ *
+ * @return string
+ */
+ public function asJson($options = 0)
+ {
+ return json_encode($this->asArray(), $options);
+ }
+
+ /**
+ * Count the number of items in the collection.
+ *
+ * @return int
+ */
+ public function count()
+ {
+ return count($this->items);
+ }
+
+ /**
+ * Get an iterator for the items.
+ *
+ * @return ArrayIterator
+ */
+ public function getIterator()
+ {
+ return new ArrayIterator($this->items);
+ }
+
+ /**
+ * Determine if an item exists at an offset.
+ *
+ * @param mixed $key
+ *
+ * @return bool
+ */
+ public function offsetExists($key)
+ {
+ return array_key_exists($key, $this->items);
+ }
+
+ /**
+ * Get an item at a given offset.
+ *
+ * @param mixed $key
+ *
+ * @return mixed
+ */
+ public function offsetGet($key)
+ {
+ return $this->items[$key];
+ }
+
+ /**
+ * Set the item at a given offset.
+ *
+ * @param mixed $key
+ * @param mixed $value
+ *
+ * @return void
+ */
+ public function offsetSet($key, $value)
+ {
+ if (is_null($key)) {
+ $this->items[] = $value;
+ } else {
+ $this->items[$key] = $value;
+ }
+ }
+
+ /**
+ * Unset the item at a given offset.
+ *
+ * @param string $key
+ *
+ * @return void
+ */
+ public function offsetUnset($key)
+ {
+ unset($this->items[$key]);
+ }
+
+ /**
+ * Convert the collection to its string representation.
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return $this->asJson();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphAchievement.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphAchievement.php
new file mode 100644
index 00000000..31508ee4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphAchievement.php
@@ -0,0 +1,112 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+/**
+ * Class GraphAchievement
+ *
+ * @package Facebook
+ */
+class GraphAchievement extends GraphNode
+{
+ /**
+ * @var array Maps object key names to Graph object types.
+ */
+ protected static $graphObjectMap = [
+ 'from' => '\Facebook\GraphNodes\GraphUser',
+ 'application' => '\Facebook\GraphNodes\GraphApplication',
+ ];
+
+ /**
+ * Returns the ID for the achievement.
+ *
+ * @return string|null
+ */
+ public function getId()
+ {
+ return $this->getField('id');
+ }
+
+ /**
+ * Returns the user who achieved this.
+ *
+ * @return GraphUser|null
+ */
+ public function getFrom()
+ {
+ return $this->getField('from');
+ }
+
+ /**
+ * Returns the time at which this was achieved.
+ *
+ * @return \DateTime|null
+ */
+ public function getPublishTime()
+ {
+ return $this->getField('publish_time');
+ }
+
+ /**
+ * Returns the app in which the user achieved this.
+ *
+ * @return GraphApplication|null
+ */
+ public function getApplication()
+ {
+ return $this->getField('application');
+ }
+
+ /**
+ * Returns information about the achievement type this instance is connected with.
+ *
+ * @return array|null
+ */
+ public function getData()
+ {
+ return $this->getField('data');
+ }
+
+ /**
+ * Returns the type of achievement.
+ *
+ * @see https://developers.facebook.com/docs/graph-api/reference/achievement
+ *
+ * @return string
+ */
+ public function getType()
+ {
+ return 'game.achievement';
+ }
+
+ /**
+ * Indicates whether gaining the achievement published a feed story for the user.
+ *
+ * @return boolean|null
+ */
+ public function isNoFeedStory()
+ {
+ return $this->getField('no_feed_story');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphAlbum.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphAlbum.php
new file mode 100644
index 00000000..52f19b51
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphAlbum.php
@@ -0,0 +1,183 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+/**
+ * Class GraphAlbum
+ *
+ * @package Facebook
+ */
+
+class GraphAlbum extends GraphNode
+{
+ /**
+ * @var array Maps object key names to Graph object types.
+ */
+ protected static $graphObjectMap = [
+ 'from' => '\Facebook\GraphNodes\GraphUser',
+ 'place' => '\Facebook\GraphNodes\GraphPage',
+ ];
+
+ /**
+ * Returns the ID for the album.
+ *
+ * @return string|null
+ */
+ public function getId()
+ {
+ return $this->getField('id');
+ }
+
+ /**
+ * Returns whether the viewer can upload photos to this album.
+ *
+ * @return boolean|null
+ */
+ public function getCanUpload()
+ {
+ return $this->getField('can_upload');
+ }
+
+ /**
+ * Returns the number of photos in this album.
+ *
+ * @return int|null
+ */
+ public function getCount()
+ {
+ return $this->getField('count');
+ }
+
+ /**
+ * Returns the ID of the album's cover photo.
+ *
+ * @return string|null
+ */
+ public function getCoverPhoto()
+ {
+ return $this->getField('cover_photo');
+ }
+
+ /**
+ * Returns the time the album was initially created.
+ *
+ * @return \DateTime|null
+ */
+ public function getCreatedTime()
+ {
+ return $this->getField('created_time');
+ }
+
+ /**
+ * Returns the time the album was updated.
+ *
+ * @return \DateTime|null
+ */
+ public function getUpdatedTime()
+ {
+ return $this->getField('updated_time');
+ }
+
+ /**
+ * Returns the description of the album.
+ *
+ * @return string|null
+ */
+ public function getDescription()
+ {
+ return $this->getField('description');
+ }
+
+ /**
+ * Returns profile that created the album.
+ *
+ * @return GraphUser|null
+ */
+ public function getFrom()
+ {
+ return $this->getField('from');
+ }
+
+ /**
+ * Returns profile that created the album.
+ *
+ * @return GraphPage|null
+ */
+ public function getPlace()
+ {
+ return $this->getField('place');
+ }
+
+ /**
+ * Returns a link to this album on Facebook.
+ *
+ * @return string|null
+ */
+ public function getLink()
+ {
+ return $this->getField('link');
+ }
+
+ /**
+ * Returns the textual location of the album.
+ *
+ * @return string|null
+ */
+ public function getLocation()
+ {
+ return $this->getField('location');
+ }
+
+ /**
+ * Returns the title of the album.
+ *
+ * @return string|null
+ */
+ public function getName()
+ {
+ return $this->getField('name');
+ }
+
+ /**
+ * Returns the privacy settings for the album.
+ *
+ * @return string|null
+ */
+ public function getPrivacy()
+ {
+ return $this->getField('privacy');
+ }
+
+ /**
+ * Returns the type of the album.
+ *
+ * enum{ profile, mobile, wall, normal, album }
+ *
+ * @return string|null
+ */
+ public function getType()
+ {
+ return $this->getField('type');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphApplication.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphApplication.php
new file mode 100644
index 00000000..aa07c825
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphApplication.php
@@ -0,0 +1,43 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+/**
+ * Class GraphApplication
+ *
+ * @package Facebook
+ */
+
+class GraphApplication extends GraphNode
+{
+ /**
+ * Returns the ID for the application.
+ *
+ * @return string|null
+ */
+ public function getId()
+ {
+ return $this->getField('id');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphCoverPhoto.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphCoverPhoto.php
new file mode 100644
index 00000000..824275bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphCoverPhoto.php
@@ -0,0 +1,72 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+/**
+ * Class GraphCoverPhoto
+ *
+ * @package Facebook
+ */
+class GraphCoverPhoto extends GraphNode
+{
+ /**
+ * Returns the id of cover if it exists
+ *
+ * @return int|null
+ */
+ public function getId()
+ {
+ return $this->getField('id');
+ }
+
+ /**
+ * Returns the source of cover if it exists
+ *
+ * @return string|null
+ */
+ public function getSource()
+ {
+ return $this->getField('source');
+ }
+
+ /**
+ * Returns the offset_x of cover if it exists
+ *
+ * @return int|null
+ */
+ public function getOffsetX()
+ {
+ return $this->getField('offset_x');
+ }
+
+ /**
+ * Returns the offset_y of cover if it exists
+ *
+ * @return int|null
+ */
+ public function getOffsetY()
+ {
+ return $this->getField('offset_y');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphEdge.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphEdge.php
new file mode 100644
index 00000000..f6f4970c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphEdge.php
@@ -0,0 +1,252 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+use Facebook\FacebookRequest;
+use Facebook\Url\FacebookUrlManipulator;
+use Facebook\Exceptions\FacebookSDKException;
+
+/**
+ * Class GraphEdge
+ *
+ * @package Facebook
+ */
+class GraphEdge extends Collection
+{
+ /**
+ * @var FacebookRequest The original request that generated this data.
+ */
+ protected $request;
+
+ /**
+ * @var array An array of Graph meta data like pagination, etc.
+ */
+ protected $metaData = [];
+
+ /**
+ * @var string|null The parent Graph edge endpoint that generated the list.
+ */
+ protected $parentEdgeEndpoint;
+
+ /**
+ * @var string|null The subclass of the child GraphNode's.
+ */
+ protected $subclassName;
+
+ /**
+ * Init this collection of GraphNode's.
+ *
+ * @param FacebookRequest $request The original request that generated this data.
+ * @param array $data An array of GraphNode's.
+ * @param array $metaData An array of Graph meta data like pagination, etc.
+ * @param string|null $parentEdgeEndpoint The parent Graph edge endpoint that generated the list.
+ * @param string|null $subclassName The subclass of the child GraphNode's.
+ */
+ public function __construct(FacebookRequest $request, array $data = [], array $metaData = [], $parentEdgeEndpoint = null, $subclassName = null)
+ {
+ $this->request = $request;
+ $this->metaData = $metaData;
+ $this->parentEdgeEndpoint = $parentEdgeEndpoint;
+ $this->subclassName = $subclassName;
+
+ parent::__construct($data);
+ }
+
+ /**
+ * Gets the parent Graph edge endpoint that generated the list.
+ *
+ * @return string|null
+ */
+ public function getParentGraphEdge()
+ {
+ return $this->parentEdgeEndpoint;
+ }
+
+ /**
+ * Gets the subclass name that the child GraphNode's are cast as.
+ *
+ * @return string|null
+ */
+ public function getSubClassName()
+ {
+ return $this->subclassName;
+ }
+
+ /**
+ * Returns the raw meta data associated with this GraphEdge.
+ *
+ * @return array
+ */
+ public function getMetaData()
+ {
+ return $this->metaData;
+ }
+
+ /**
+ * Returns the next cursor if it exists.
+ *
+ * @return string|null
+ */
+ public function getNextCursor()
+ {
+ return $this->getCursor('after');
+ }
+
+ /**
+ * Returns the previous cursor if it exists.
+ *
+ * @return string|null
+ */
+ public function getPreviousCursor()
+ {
+ return $this->getCursor('before');
+ }
+
+ /**
+ * Returns the cursor for a specific direction if it exists.
+ *
+ * @param string $direction The direction of the page: after|before
+ *
+ * @return string|null
+ */
+ public function getCursor($direction)
+ {
+ if (isset($this->metaData['paging']['cursors'][$direction])) {
+ return $this->metaData['paging']['cursors'][$direction];
+ }
+
+ return null;
+ }
+
+ /**
+ * Generates a pagination URL based on a cursor.
+ *
+ * @param string $direction The direction of the page: next|previous
+ *
+ * @return string|null
+ *
+ * @throws FacebookSDKException
+ */
+ public function getPaginationUrl($direction)
+ {
+ $this->validateForPagination();
+
+ // Do we have a paging URL?
+ if (!isset($this->metaData['paging'][$direction])) {
+ return null;
+ }
+
+ $pageUrl = $this->metaData['paging'][$direction];
+
+ return FacebookUrlManipulator::baseGraphUrlEndpoint($pageUrl);
+ }
+
+ /**
+ * Validates whether or not we can paginate on this request.
+ *
+ * @throws FacebookSDKException
+ */
+ public function validateForPagination()
+ {
+ if ($this->request->getMethod() !== 'GET') {
+ throw new FacebookSDKException('You can only paginate on a GET request.', 720);
+ }
+ }
+
+ /**
+ * Gets the request object needed to make a next|previous page request.
+ *
+ * @param string $direction The direction of the page: next|previous
+ *
+ * @return FacebookRequest|null
+ *
+ * @throws FacebookSDKException
+ */
+ public function getPaginationRequest($direction)
+ {
+ $pageUrl = $this->getPaginationUrl($direction);
+ if (!$pageUrl) {
+ return null;
+ }
+
+ $newRequest = clone $this->request;
+ $newRequest->setEndpoint($pageUrl);
+
+ return $newRequest;
+ }
+
+ /**
+ * Gets the request object needed to make a "next" page request.
+ *
+ * @return FacebookRequest|null
+ *
+ * @throws FacebookSDKException
+ */
+ public function getNextPageRequest()
+ {
+ return $this->getPaginationRequest('next');
+ }
+
+ /**
+ * Gets the request object needed to make a "previous" page request.
+ *
+ * @return FacebookRequest|null
+ *
+ * @throws FacebookSDKException
+ */
+ public function getPreviousPageRequest()
+ {
+ return $this->getPaginationRequest('previous');
+ }
+
+ /**
+ * The total number of results according to Graph if it exists.
+ *
+ * This will be returned if the summary=true modifier is present in the request.
+ *
+ * @return int|null
+ */
+ public function getTotalCount()
+ {
+ if (isset($this->metaData['summary']['total_count'])) {
+ return $this->metaData['summary']['total_count'];
+ }
+
+ return null;
+ }
+
+ /**
+ * @inheritDoc
+ */
+ public function map(\Closure $callback)
+ {
+ return new static(
+ $this->request,
+ array_map($callback, $this->items, array_keys($this->items)),
+ $this->metaData,
+ $this->parentEdgeEndpoint,
+ $this->subclassName
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphEvent.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphEvent.php
new file mode 100644
index 00000000..a470d89f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphEvent.php
@@ -0,0 +1,242 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+/**
+ * Class GraphEvent
+ *
+ * @package Facebook
+ */
+class GraphEvent extends GraphNode
+{
+ /**
+ * @var array Maps object key names to GraphNode types.
+ */
+ protected static $graphObjectMap = [
+ 'cover' => '\Facebook\GraphNodes\GraphCoverPhoto',
+ 'place' => '\Facebook\GraphNodes\GraphPage',
+ 'picture' => '\Facebook\GraphNodes\GraphPicture',
+ 'parent_group' => '\Facebook\GraphNodes\GraphGroup',
+ ];
+
+ /**
+ * Returns the `id` (The event ID) as string if present.
+ *
+ * @return string|null
+ */
+ public function getId()
+ {
+ return $this->getField('id');
+ }
+
+ /**
+ * Returns the `cover` (Cover picture) as GraphCoverPhoto if present.
+ *
+ * @return GraphCoverPhoto|null
+ */
+ public function getCover()
+ {
+ return $this->getField('cover');
+ }
+
+ /**
+ * Returns the `description` (Long-form description) as string if present.
+ *
+ * @return string|null
+ */
+ public function getDescription()
+ {
+ return $this->getField('description');
+ }
+
+ /**
+ * Returns the `end_time` (End time, if one has been set) as DateTime if present.
+ *
+ * @return \DateTime|null
+ */
+ public function getEndTime()
+ {
+ return $this->getField('end_time');
+ }
+
+ /**
+ * Returns the `is_date_only` (Whether the event only has a date specified, but no time) as bool if present.
+ *
+ * @return bool|null
+ */
+ public function getIsDateOnly()
+ {
+ return $this->getField('is_date_only');
+ }
+
+ /**
+ * Returns the `name` (Event name) as string if present.
+ *
+ * @return string|null
+ */
+ public function getName()
+ {
+ return $this->getField('name');
+ }
+
+ /**
+ * Returns the `owner` (The profile that created the event) as GraphNode if present.
+ *
+ * @return GraphNode|null
+ */
+ public function getOwner()
+ {
+ return $this->getField('owner');
+ }
+
+ /**
+ * Returns the `parent_group` (The group the event belongs to) as GraphGroup if present.
+ *
+ * @return GraphGroup|null
+ */
+ public function getParentGroup()
+ {
+ return $this->getField('parent_group');
+ }
+
+ /**
+ * Returns the `place` (Event Place information) as GraphPage if present.
+ *
+ * @return GraphPage|null
+ */
+ public function getPlace()
+ {
+ return $this->getField('place');
+ }
+
+ /**
+ * Returns the `privacy` (Who can see the event) as string if present.
+ *
+ * @return string|null
+ */
+ public function getPrivacy()
+ {
+ return $this->getField('privacy');
+ }
+
+ /**
+ * Returns the `start_time` (Start time) as DateTime if present.
+ *
+ * @return \DateTime|null
+ */
+ public function getStartTime()
+ {
+ return $this->getField('start_time');
+ }
+
+ /**
+ * Returns the `ticket_uri` (The link users can visit to buy a ticket to this event) as string if present.
+ *
+ * @return string|null
+ */
+ public function getTicketUri()
+ {
+ return $this->getField('ticket_uri');
+ }
+
+ /**
+ * Returns the `timezone` (Timezone) as string if present.
+ *
+ * @return string|null
+ */
+ public function getTimezone()
+ {
+ return $this->getField('timezone');
+ }
+
+ /**
+ * Returns the `updated_time` (Last update time) as DateTime if present.
+ *
+ * @return \DateTime|null
+ */
+ public function getUpdatedTime()
+ {
+ return $this->getField('updated_time');
+ }
+
+ /**
+ * Returns the `picture` (Event picture) as GraphPicture if present.
+ *
+ * @return GraphPicture|null
+ */
+ public function getPicture()
+ {
+ return $this->getField('picture');
+ }
+
+ /**
+ * Returns the `attending_count` (Number of people attending the event) as int if present.
+ *
+ * @return int|null
+ */
+ public function getAttendingCount()
+ {
+ return $this->getField('attending_count');
+ }
+
+ /**
+ * Returns the `declined_count` (Number of people who declined the event) as int if present.
+ *
+ * @return int|null
+ */
+ public function getDeclinedCount()
+ {
+ return $this->getField('declined_count');
+ }
+
+ /**
+ * Returns the `maybe_count` (Number of people who maybe going to the event) as int if present.
+ *
+ * @return int|null
+ */
+ public function getMaybeCount()
+ {
+ return $this->getField('maybe_count');
+ }
+
+ /**
+ * Returns the `noreply_count` (Number of people who did not reply to the event) as int if present.
+ *
+ * @return int|null
+ */
+ public function getNoreplyCount()
+ {
+ return $this->getField('noreply_count');
+ }
+
+ /**
+ * Returns the `invited_count` (Number of people invited to the event) as int if present.
+ *
+ * @return int|null
+ */
+ public function getInvitedCount()
+ {
+ return $this->getField('invited_count');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphGroup.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphGroup.php
new file mode 100644
index 00000000..6217bd4d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphGroup.php
@@ -0,0 +1,170 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+/**
+ * Class GraphGroup
+ *
+ * @package Facebook
+ */
+class GraphGroup extends GraphNode
+{
+ /**
+ * @var array Maps object key names to GraphNode types.
+ */
+ protected static $graphObjectMap = [
+ 'cover' => '\Facebook\GraphNodes\GraphCoverPhoto',
+ 'venue' => '\Facebook\GraphNodes\GraphLocation',
+ ];
+
+ /**
+ * Returns the `id` (The Group ID) as string if present.
+ *
+ * @return string|null
+ */
+ public function getId()
+ {
+ return $this->getField('id');
+ }
+
+ /**
+ * Returns the `cover` (The cover photo of the Group) as GraphCoverPhoto if present.
+ *
+ * @return GraphCoverPhoto|null
+ */
+ public function getCover()
+ {
+ return $this->getField('cover');
+ }
+
+ /**
+ * Returns the `description` (A brief description of the Group) as string if present.
+ *
+ * @return string|null
+ */
+ public function getDescription()
+ {
+ return $this->getField('description');
+ }
+
+ /**
+ * Returns the `email` (The email address to upload content to the Group. Only current members of the Group can use this) as string if present.
+ *
+ * @return string|null
+ */
+ public function getEmail()
+ {
+ return $this->getField('email');
+ }
+
+ /**
+ * Returns the `icon` (The URL for the Group's icon) as string if present.
+ *
+ * @return string|null
+ */
+ public function getIcon()
+ {
+ return $this->getField('icon');
+ }
+
+ /**
+ * Returns the `link` (The Group's website) as string if present.
+ *
+ * @return string|null
+ */
+ public function getLink()
+ {
+ return $this->getField('link');
+ }
+
+ /**
+ * Returns the `name` (The name of the Group) as string if present.
+ *
+ * @return string|null
+ */
+ public function getName()
+ {
+ return $this->getField('name');
+ }
+
+ /**
+ * Returns the `member_request_count` (Number of people asking to join the group.) as int if present.
+ *
+ * @return int|null
+ */
+ public function getMemberRequestCount()
+ {
+ return $this->getField('member_request_count');
+ }
+
+ /**
+ * Returns the `owner` (The profile that created this Group) as GraphNode if present.
+ *
+ * @return GraphNode|null
+ */
+ public function getOwner()
+ {
+ return $this->getField('owner');
+ }
+
+ /**
+ * Returns the `parent` (The parent Group of this Group, if it exists) as GraphNode if present.
+ *
+ * @return GraphNode|null
+ */
+ public function getParent()
+ {
+ return $this->getField('parent');
+ }
+
+ /**
+ * Returns the `privacy` (The privacy setting of the Group) as string if present.
+ *
+ * @return string|null
+ */
+ public function getPrivacy()
+ {
+ return $this->getField('privacy');
+ }
+
+ /**
+ * Returns the `updated_time` (The last time the Group was updated (this includes changes in the Group's properties and changes in posts and comments if user can see them)) as \DateTime if present.
+ *
+ * @return \DateTime|null
+ */
+ public function getUpdatedTime()
+ {
+ return $this->getField('updated_time');
+ }
+
+ /**
+ * Returns the `venue` (The location for the Group) as GraphLocation if present.
+ *
+ * @return GraphLocation|null
+ */
+ public function getVenue()
+ {
+ return $this->getField('venue');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphList.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphList.php
new file mode 100644
index 00000000..3dfbd497
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphList.php
@@ -0,0 +1,36 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+/**
+ * Class GraphList
+ *
+ * @package Facebook
+ *
+ * @deprecated 5.0.0 GraphList has been renamed to GraphEdge
+ * @todo v6: Remove this class
+ */
+class GraphList extends GraphEdge
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphLocation.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphLocation.php
new file mode 100644
index 00000000..29215aa7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphLocation.php
@@ -0,0 +1,102 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+/**
+ * Class GraphLocation
+ *
+ * @package Facebook
+ */
+class GraphLocation extends GraphNode
+{
+ /**
+ * Returns the street component of the location
+ *
+ * @return string|null
+ */
+ public function getStreet()
+ {
+ return $this->getField('street');
+ }
+
+ /**
+ * Returns the city component of the location
+ *
+ * @return string|null
+ */
+ public function getCity()
+ {
+ return $this->getField('city');
+ }
+
+ /**
+ * Returns the state component of the location
+ *
+ * @return string|null
+ */
+ public function getState()
+ {
+ return $this->getField('state');
+ }
+
+ /**
+ * Returns the country component of the location
+ *
+ * @return string|null
+ */
+ public function getCountry()
+ {
+ return $this->getField('country');
+ }
+
+ /**
+ * Returns the zipcode component of the location
+ *
+ * @return string|null
+ */
+ public function getZip()
+ {
+ return $this->getField('zip');
+ }
+
+ /**
+ * Returns the latitude component of the location
+ *
+ * @return float|null
+ */
+ public function getLatitude()
+ {
+ return $this->getField('latitude');
+ }
+
+ /**
+ * Returns the street component of the location
+ *
+ * @return float|null
+ */
+ public function getLongitude()
+ {
+ return $this->getField('longitude');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphNode.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphNode.php
new file mode 100644
index 00000000..a81c47b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphNode.php
@@ -0,0 +1,198 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+/**
+ * Class GraphNode
+ *
+ * @package Facebook
+ */
+class GraphNode extends Collection
+{
+ /**
+ * @var array Maps object key names to Graph object types.
+ */
+ protected static $graphObjectMap = [];
+
+ /**
+ * Init this Graph object.
+ *
+ * @param array $data
+ */
+ public function __construct(array $data = [])
+ {
+ parent::__construct($this->castItems($data));
+ }
+
+ /**
+ * Iterates over an array and detects the types each node
+ * should be cast to and returns all the items as an array.
+ *
+ * @TODO Add auto-casting to AccessToken entities.
+ *
+ * @param array $data The array to iterate over.
+ *
+ * @return array
+ */
+ public function castItems(array $data)
+ {
+ $items = [];
+
+ foreach ($data as $k => $v) {
+ if ($this->shouldCastAsDateTime($k)
+ && (is_numeric($v)
+ || $this->isIso8601DateString($v))
+ ) {
+ $items[$k] = $this->castToDateTime($v);
+ } elseif ($k === 'birthday') {
+ $items[$k] = $this->castToBirthday($v);
+ } else {
+ $items[$k] = $v;
+ }
+ }
+
+ return $items;
+ }
+
+ /**
+ * Uncasts any auto-casted datatypes.
+ * Basically the reverse of castItems().
+ *
+ * @return array
+ */
+ public function uncastItems()
+ {
+ $items = $this->asArray();
+
+ return array_map(function ($v) {
+ if ($v instanceof \DateTime) {
+ return $v->format(\DateTime::ISO8601);
+ }
+
+ return $v;
+ }, $items);
+ }
+
+ /**
+ * Get the collection of items as JSON.
+ *
+ * @param int $options
+ *
+ * @return string
+ */
+ public function asJson($options = 0)
+ {
+ return json_encode($this->uncastItems(), $options);
+ }
+
+ /**
+ * Detects an ISO 8601 formatted string.
+ *
+ * @param string $string
+ *
+ * @return boolean
+ *
+ * @see https://developers.facebook.com/docs/graph-api/using-graph-api/#readmodifiers
+ * @see http://www.cl.cam.ac.uk/~mgk25/iso-time.html
+ * @see http://en.wikipedia.org/wiki/ISO_8601
+ */
+ public function isIso8601DateString($string)
+ {
+ // This insane regex was yoinked from here:
+ // http://www.pelagodesign.com/blog/2009/05/20/iso-8601-date-validation-that-doesnt-suck/
+ // ...and I'm all like:
+ // http://thecodinglove.com/post/95378251969/when-code-works-and-i-dont-know-why
+ $crazyInsaneRegexThatSomehowDetectsIso8601 = '/^([\+-]?\d{4}(?!\d{2}\b))'
+ . '((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?'
+ . '|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d'
+ . '|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])'
+ . '((:?)[0-5]\d)?|24\:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d'
+ . '([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/';
+
+ return preg_match($crazyInsaneRegexThatSomehowDetectsIso8601, $string) === 1;
+ }
+
+ /**
+ * Determines if a value from Graph should be cast to DateTime.
+ *
+ * @param string $key
+ *
+ * @return boolean
+ */
+ public function shouldCastAsDateTime($key)
+ {
+ return in_array($key, [
+ 'created_time',
+ 'updated_time',
+ 'start_time',
+ 'end_time',
+ 'backdated_time',
+ 'issued_at',
+ 'expires_at',
+ 'publish_time',
+ 'joined'
+ ], true);
+ }
+
+ /**
+ * Casts a date value from Graph to DateTime.
+ *
+ * @param int|string $value
+ *
+ * @return \DateTime
+ */
+ public function castToDateTime($value)
+ {
+ if (is_int($value)) {
+ $dt = new \DateTime();
+ $dt->setTimestamp($value);
+ } else {
+ $dt = new \DateTime($value);
+ }
+
+ return $dt;
+ }
+
+ /**
+ * Casts a birthday value from Graph to Birthday
+ *
+ * @param string $value
+ *
+ * @return Birthday
+ */
+ public function castToBirthday($value)
+ {
+ return new Birthday($value);
+ }
+
+ /**
+ * Getter for $graphObjectMap.
+ *
+ * @return array
+ */
+ public static function getObjectMap()
+ {
+ return static::$graphObjectMap;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphNodeFactory.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphNodeFactory.php
new file mode 100644
index 00000000..6a370919
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphNodeFactory.php
@@ -0,0 +1,392 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+use Facebook\FacebookResponse;
+use Facebook\Exceptions\FacebookSDKException;
+
+/**
+ * Class GraphNodeFactory
+ *
+ * @package Facebook
+ *
+ * ## Assumptions ##
+ * GraphEdge - is ALWAYS a numeric array
+ * GraphEdge - is ALWAYS an array of GraphNode types
+ * GraphNode - is ALWAYS an associative array
+ * GraphNode - MAY contain GraphNode's "recurrable"
+ * GraphNode - MAY contain GraphEdge's "recurrable"
+ * GraphNode - MAY contain DateTime's "primitives"
+ * GraphNode - MAY contain string's "primitives"
+ */
+class GraphNodeFactory
+{
+ /**
+ * @const string The base graph object class.
+ */
+ const BASE_GRAPH_NODE_CLASS = '\Facebook\GraphNodes\GraphNode';
+
+ /**
+ * @const string The base graph edge class.
+ */
+ const BASE_GRAPH_EDGE_CLASS = '\Facebook\GraphNodes\GraphEdge';
+
+ /**
+ * @const string The graph object prefix.
+ */
+ const BASE_GRAPH_OBJECT_PREFIX = '\Facebook\GraphNodes\\';
+
+ /**
+ * @var FacebookResponse The response entity from Graph.
+ */
+ protected $response;
+
+ /**
+ * @var array The decoded body of the FacebookResponse entity from Graph.
+ */
+ protected $decodedBody;
+
+ /**
+ * Init this Graph object.
+ *
+ * @param FacebookResponse $response The response entity from Graph.
+ */
+ public function __construct(FacebookResponse $response)
+ {
+ $this->response = $response;
+ $this->decodedBody = $response->getDecodedBody();
+ }
+
+ /**
+ * Tries to convert a FacebookResponse entity into a GraphNode.
+ *
+ * @param string|null $subclassName The GraphNode sub class to cast to.
+ *
+ * @return GraphNode
+ *
+ * @throws FacebookSDKException
+ */
+ public function makeGraphNode($subclassName = null)
+ {
+ $this->validateResponseAsArray();
+ $this->validateResponseCastableAsGraphNode();
+
+ return $this->castAsGraphNodeOrGraphEdge($this->decodedBody, $subclassName);
+ }
+
+ /**
+ * Convenience method for creating a GraphAchievement collection.
+ *
+ * @return GraphAchievement
+ *
+ * @throws FacebookSDKException
+ */
+ public function makeGraphAchievement()
+ {
+ return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphAchievement');
+ }
+
+ /**
+ * Convenience method for creating a GraphAlbum collection.
+ *
+ * @return GraphAlbum
+ *
+ * @throws FacebookSDKException
+ */
+ public function makeGraphAlbum()
+ {
+ return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphAlbum');
+ }
+
+ /**
+ * Convenience method for creating a GraphPage collection.
+ *
+ * @return GraphPage
+ *
+ * @throws FacebookSDKException
+ */
+ public function makeGraphPage()
+ {
+ return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphPage');
+ }
+
+ /**
+ * Convenience method for creating a GraphSessionInfo collection.
+ *
+ * @return GraphSessionInfo
+ *
+ * @throws FacebookSDKException
+ */
+ public function makeGraphSessionInfo()
+ {
+ return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphSessionInfo');
+ }
+
+ /**
+ * Convenience method for creating a GraphUser collection.
+ *
+ * @return GraphUser
+ *
+ * @throws FacebookSDKException
+ */
+ public function makeGraphUser()
+ {
+ return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphUser');
+ }
+
+ /**
+ * Convenience method for creating a GraphEvent collection.
+ *
+ * @return GraphEvent
+ *
+ * @throws FacebookSDKException
+ */
+ public function makeGraphEvent()
+ {
+ return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphEvent');
+ }
+
+ /**
+ * Convenience method for creating a GraphGroup collection.
+ *
+ * @return GraphGroup
+ *
+ * @throws FacebookSDKException
+ */
+ public function makeGraphGroup()
+ {
+ return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphGroup');
+ }
+
+ /**
+ * Tries to convert a FacebookResponse entity into a GraphEdge.
+ *
+ * @param string|null $subclassName The GraphNode sub class to cast the list items to.
+ * @param boolean $auto_prefix Toggle to auto-prefix the subclass name.
+ *
+ * @return GraphEdge
+ *
+ * @throws FacebookSDKException
+ */
+ public function makeGraphEdge($subclassName = null, $auto_prefix = true)
+ {
+ $this->validateResponseAsArray();
+ $this->validateResponseCastableAsGraphEdge();
+
+ if ($subclassName && $auto_prefix) {
+ $subclassName = static::BASE_GRAPH_OBJECT_PREFIX . $subclassName;
+ }
+
+ return $this->castAsGraphNodeOrGraphEdge($this->decodedBody, $subclassName);
+ }
+
+ /**
+ * Validates the decoded body.
+ *
+ * @throws FacebookSDKException
+ */
+ public function validateResponseAsArray()
+ {
+ if (!is_array($this->decodedBody)) {
+ throw new FacebookSDKException('Unable to get response from Graph as array.', 620);
+ }
+ }
+
+ /**
+ * Validates that the return data can be cast as a GraphNode.
+ *
+ * @throws FacebookSDKException
+ */
+ public function validateResponseCastableAsGraphNode()
+ {
+ if (isset($this->decodedBody['data']) && static::isCastableAsGraphEdge($this->decodedBody['data'])) {
+ throw new FacebookSDKException(
+ 'Unable to convert response from Graph to a GraphNode because the response looks like a GraphEdge. Try using GraphNodeFactory::makeGraphEdge() instead.',
+ 620
+ );
+ }
+ }
+
+ /**
+ * Validates that the return data can be cast as a GraphEdge.
+ *
+ * @throws FacebookSDKException
+ */
+ public function validateResponseCastableAsGraphEdge()
+ {
+ if (!(isset($this->decodedBody['data']) && static::isCastableAsGraphEdge($this->decodedBody['data']))) {
+ throw new FacebookSDKException(
+ 'Unable to convert response from Graph to a GraphEdge because the response does not look like a GraphEdge. Try using GraphNodeFactory::makeGraphNode() instead.',
+ 620
+ );
+ }
+ }
+
+ /**
+ * Safely instantiates a GraphNode of $subclassName.
+ *
+ * @param array $data The array of data to iterate over.
+ * @param string|null $subclassName The subclass to cast this collection to.
+ *
+ * @return GraphNode
+ *
+ * @throws FacebookSDKException
+ */
+ public function safelyMakeGraphNode(array $data, $subclassName = null)
+ {
+ $subclassName = $subclassName ?: static::BASE_GRAPH_NODE_CLASS;
+ static::validateSubclass($subclassName);
+
+ // Remember the parent node ID
+ $parentNodeId = isset($data['id']) ? $data['id'] : null;
+
+ $items = [];
+
+ foreach ($data as $k => $v) {
+ // Array means could be recurable
+ if (is_array($v)) {
+ // Detect any smart-casting from the $graphObjectMap array.
+ // This is always empty on the GraphNode collection, but subclasses can define
+ // their own array of smart-casting types.
+ $graphObjectMap = $subclassName::getObjectMap();
+ $objectSubClass = isset($graphObjectMap[$k])
+ ? $graphObjectMap[$k]
+ : null;
+
+ // Could be a GraphEdge or GraphNode
+ $items[$k] = $this->castAsGraphNodeOrGraphEdge($v, $objectSubClass, $k, $parentNodeId);
+ } else {
+ $items[$k] = $v;
+ }
+ }
+
+ return new $subclassName($items);
+ }
+
+ /**
+ * Takes an array of values and determines how to cast each node.
+ *
+ * @param array $data The array of data to iterate over.
+ * @param string|null $subclassName The subclass to cast this collection to.
+ * @param string|null $parentKey The key of this data (Graph edge).
+ * @param string|null $parentNodeId The parent Graph node ID.
+ *
+ * @return GraphNode|GraphEdge
+ *
+ * @throws FacebookSDKException
+ */
+ public function castAsGraphNodeOrGraphEdge(array $data, $subclassName = null, $parentKey = null, $parentNodeId = null)
+ {
+ if (isset($data['data'])) {
+ // Create GraphEdge
+ if (static::isCastableAsGraphEdge($data['data'])) {
+ return $this->safelyMakeGraphEdge($data, $subclassName, $parentKey, $parentNodeId);
+ }
+ // Sometimes Graph is a weirdo and returns a GraphNode under the "data" key
+ $data = $data['data'];
+ }
+
+ // Create GraphNode
+ return $this->safelyMakeGraphNode($data, $subclassName);
+ }
+
+ /**
+ * Return an array of GraphNode's.
+ *
+ * @param array $data The array of data to iterate over.
+ * @param string|null $subclassName The GraphNode subclass to cast each item in the list to.
+ * @param string|null $parentKey The key of this data (Graph edge).
+ * @param string|null $parentNodeId The parent Graph node ID.
+ *
+ * @return GraphEdge
+ *
+ * @throws FacebookSDKException
+ */
+ public function safelyMakeGraphEdge(array $data, $subclassName = null, $parentKey = null, $parentNodeId = null)
+ {
+ if (!isset($data['data'])) {
+ throw new FacebookSDKException('Cannot cast data to GraphEdge. Expected a "data" key.', 620);
+ }
+
+ $dataList = [];
+ foreach ($data['data'] as $graphNode) {
+ $dataList[] = $this->safelyMakeGraphNode($graphNode, $subclassName);
+ }
+
+ $metaData = $this->getMetaData($data);
+
+ // We'll need to make an edge endpoint for this in case it's a GraphEdge (for cursor pagination)
+ $parentGraphEdgeEndpoint = $parentNodeId && $parentKey ? '/' . $parentNodeId . '/' . $parentKey : null;
+ $className = static::BASE_GRAPH_EDGE_CLASS;
+
+ return new $className($this->response->getRequest(), $dataList, $metaData, $parentGraphEdgeEndpoint, $subclassName);
+ }
+
+ /**
+ * Get the meta data from a list in a Graph response.
+ *
+ * @param array $data The Graph response.
+ *
+ * @return array
+ */
+ public function getMetaData(array $data)
+ {
+ unset($data['data']);
+
+ return $data;
+ }
+
+ /**
+ * Determines whether or not the data should be cast as a GraphEdge.
+ *
+ * @param array $data
+ *
+ * @return boolean
+ */
+ public static function isCastableAsGraphEdge(array $data)
+ {
+ if ($data === []) {
+ return true;
+ }
+
+ // Checks for a sequential numeric array which would be a GraphEdge
+ return array_keys($data) === range(0, count($data) - 1);
+ }
+
+ /**
+ * Ensures that the subclass in question is valid.
+ *
+ * @param string $subclassName The GraphNode subclass to validate.
+ *
+ * @throws FacebookSDKException
+ */
+ public static function validateSubclass($subclassName)
+ {
+ if ($subclassName == static::BASE_GRAPH_NODE_CLASS || is_subclass_of($subclassName, static::BASE_GRAPH_NODE_CLASS)) {
+ return;
+ }
+
+ throw new FacebookSDKException('The given subclass "' . $subclassName . '" is not valid. Cannot cast to an object that is not a GraphNode subclass.', 620);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphObject.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphObject.php
new file mode 100644
index 00000000..0633c405
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphObject.php
@@ -0,0 +1,36 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+/**
+ * Class GraphObject
+ *
+ * @package Facebook
+ *
+ * @deprecated 5.0.0 GraphObject has been renamed to GraphNode
+ * @todo v6: Remove this class
+ */
+class GraphObject extends GraphNode
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphObjectFactory.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphObjectFactory.php
new file mode 100644
index 00000000..c0f6e045
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphObjectFactory.php
@@ -0,0 +1,88 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+use Facebook\Exceptions\FacebookSDKException;
+
+/**
+ * Class GraphObjectFactory
+ *
+ * @package Facebook
+ *
+ * @deprecated 5.0.0 GraphObjectFactory has been renamed to GraphNodeFactory
+ * @todo v6: Remove this class
+ */
+class GraphObjectFactory extends GraphNodeFactory
+{
+ /**
+ * @const string The base graph object class.
+ */
+ const BASE_GRAPH_NODE_CLASS = '\Facebook\GraphNodes\GraphObject';
+
+ /**
+ * @const string The base graph edge class.
+ */
+ const BASE_GRAPH_EDGE_CLASS = '\Facebook\GraphNodes\GraphList';
+
+ /**
+ * Tries to convert a FacebookResponse entity into a GraphNode.
+ *
+ * @param string|null $subclassName The GraphNode sub class to cast to.
+ *
+ * @return GraphNode
+ *
+ * @deprecated 5.0.0 GraphObjectFactory has been renamed to GraphNodeFactory
+ */
+ public function makeGraphObject($subclassName = null)
+ {
+ return $this->makeGraphNode($subclassName);
+ }
+
+ /**
+ * Convenience method for creating a GraphEvent collection.
+ *
+ * @return GraphEvent
+ *
+ * @throws FacebookSDKException
+ */
+ public function makeGraphEvent()
+ {
+ return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphEvent');
+ }
+
+ /**
+ * Tries to convert a FacebookResponse entity into a GraphEdge.
+ *
+ * @param string|null $subclassName The GraphNode sub class to cast the list items to.
+ * @param boolean $auto_prefix Toggle to auto-prefix the subclass name.
+ *
+ * @return GraphEdge
+ *
+ * @deprecated 5.0.0 GraphObjectFactory has been renamed to GraphNodeFactory
+ */
+ public function makeGraphList($subclassName = null, $auto_prefix = true)
+ {
+ return $this->makeGraphEdge($subclassName, $auto_prefix);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphPage.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphPage.php
new file mode 100644
index 00000000..503b96b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphPage.php
@@ -0,0 +1,157 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+/**
+ * Class GraphPage
+ *
+ * @package Facebook
+ */
+class GraphPage extends GraphNode
+{
+ /**
+ * @var array Maps object key names to Graph object types.
+ */
+ protected static $graphObjectMap = [
+ 'best_page' => '\Facebook\GraphNodes\GraphPage',
+ 'global_brand_parent_page' => '\Facebook\GraphNodes\GraphPage',
+ 'location' => '\Facebook\GraphNodes\GraphLocation',
+ 'cover' => '\Facebook\GraphNodes\GraphCoverPhoto',
+ 'picture' => '\Facebook\GraphNodes\GraphPicture',
+ ];
+
+ /**
+ * Returns the ID for the user's page as a string if present.
+ *
+ * @return string|null
+ */
+ public function getId()
+ {
+ return $this->getField('id');
+ }
+
+ /**
+ * Returns the Category for the user's page as a string if present.
+ *
+ * @return string|null
+ */
+ public function getCategory()
+ {
+ return $this->getField('category');
+ }
+
+ /**
+ * Returns the Name of the user's page as a string if present.
+ *
+ * @return string|null
+ */
+ public function getName()
+ {
+ return $this->getField('name');
+ }
+
+ /**
+ * Returns the best available Page on Facebook.
+ *
+ * @return GraphPage|null
+ */
+ public function getBestPage()
+ {
+ return $this->getField('best_page');
+ }
+
+ /**
+ * Returns the brand's global (parent) Page.
+ *
+ * @return GraphPage|null
+ */
+ public function getGlobalBrandParentPage()
+ {
+ return $this->getField('global_brand_parent_page');
+ }
+
+ /**
+ * Returns the location of this place.
+ *
+ * @return GraphLocation|null
+ */
+ public function getLocation()
+ {
+ return $this->getField('location');
+ }
+
+ /**
+ * Returns CoverPhoto of the Page.
+ *
+ * @return GraphCoverPhoto|null
+ */
+ public function getCover()
+ {
+ return $this->getField('cover');
+ }
+
+ /**
+ * Returns Picture of the Page.
+ *
+ * @return GraphPicture|null
+ */
+ public function getPicture()
+ {
+ return $this->getField('picture');
+ }
+
+ /**
+ * Returns the page access token for the admin user.
+ *
+ * Only available in the `/me/accounts` context.
+ *
+ * @return string|null
+ */
+ public function getAccessToken()
+ {
+ return $this->getField('access_token');
+ }
+
+ /**
+ * Returns the roles of the page admin user.
+ *
+ * Only available in the `/me/accounts` context.
+ *
+ * @return array|null
+ */
+ public function getPerms()
+ {
+ return $this->getField('perms');
+ }
+
+ /**
+ * Returns the `fan_count` (Number of people who likes to page) as int if present.
+ *
+ * @return int|null
+ */
+ public function getFanCount()
+ {
+ return $this->getField('fan_count');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphPicture.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphPicture.php
new file mode 100644
index 00000000..10274ec5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphPicture.php
@@ -0,0 +1,72 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+/**
+ * Class GraphPicture
+ *
+ * @package Facebook
+ */
+class GraphPicture extends GraphNode
+{
+ /**
+ * Returns true if user picture is silhouette.
+ *
+ * @return bool|null
+ */
+ public function isSilhouette()
+ {
+ return $this->getField('is_silhouette');
+ }
+
+ /**
+ * Returns the url of user picture if it exists
+ *
+ * @return string|null
+ */
+ public function getUrl()
+ {
+ return $this->getField('url');
+ }
+
+ /**
+ * Returns the width of user picture if it exists
+ *
+ * @return int|null
+ */
+ public function getWidth()
+ {
+ return $this->getField('width');
+ }
+
+ /**
+ * Returns the height of user picture if it exists
+ *
+ * @return int|null
+ */
+ public function getHeight()
+ {
+ return $this->getField('height');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphSessionInfo.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphSessionInfo.php
new file mode 100644
index 00000000..df8dd358
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphSessionInfo.php
@@ -0,0 +1,102 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+/**
+ * Class GraphSessionInfo
+ *
+ * @package Facebook
+ */
+class GraphSessionInfo extends GraphNode
+{
+ /**
+ * Returns the application id the token was issued for.
+ *
+ * @return string|null
+ */
+ public function getAppId()
+ {
+ return $this->getField('app_id');
+ }
+
+ /**
+ * Returns the application name the token was issued for.
+ *
+ * @return string|null
+ */
+ public function getApplication()
+ {
+ return $this->getField('application');
+ }
+
+ /**
+ * Returns the date & time that the token expires.
+ *
+ * @return \DateTime|null
+ */
+ public function getExpiresAt()
+ {
+ return $this->getField('expires_at');
+ }
+
+ /**
+ * Returns whether the token is valid.
+ *
+ * @return boolean
+ */
+ public function getIsValid()
+ {
+ return $this->getField('is_valid');
+ }
+
+ /**
+ * Returns the date & time the token was issued at.
+ *
+ * @return \DateTime|null
+ */
+ public function getIssuedAt()
+ {
+ return $this->getField('issued_at');
+ }
+
+ /**
+ * Returns the scope permissions associated with the token.
+ *
+ * @return array
+ */
+ public function getScopes()
+ {
+ return $this->getField('scopes');
+ }
+
+ /**
+ * Returns the login id of the user associated with the token.
+ *
+ * @return string|null
+ */
+ public function getUserId()
+ {
+ return $this->getField('user_id');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphUser.php b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphUser.php
new file mode 100644
index 00000000..6e1ed8f5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/GraphNodes/GraphUser.php
@@ -0,0 +1,172 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\GraphNodes;
+
+/**
+ * Class GraphUser
+ *
+ * @package Facebook
+ */
+class GraphUser extends GraphNode
+{
+ /**
+ * @var array Maps object key names to Graph object types.
+ */
+ protected static $graphObjectMap = [
+ 'hometown' => '\Facebook\GraphNodes\GraphPage',
+ 'location' => '\Facebook\GraphNodes\GraphPage',
+ 'significant_other' => '\Facebook\GraphNodes\GraphUser',
+ 'picture' => '\Facebook\GraphNodes\GraphPicture',
+ ];
+
+ /**
+ * Returns the ID for the user as a string if present.
+ *
+ * @return string|null
+ */
+ public function getId()
+ {
+ return $this->getField('id');
+ }
+
+ /**
+ * Returns the name for the user as a string if present.
+ *
+ * @return string|null
+ */
+ public function getName()
+ {
+ return $this->getField('name');
+ }
+
+ /**
+ * Returns the first name for the user as a string if present.
+ *
+ * @return string|null
+ */
+ public function getFirstName()
+ {
+ return $this->getField('first_name');
+ }
+
+ /**
+ * Returns the middle name for the user as a string if present.
+ *
+ * @return string|null
+ */
+ public function getMiddleName()
+ {
+ return $this->getField('middle_name');
+ }
+
+ /**
+ * Returns the last name for the user as a string if present.
+ *
+ * @return string|null
+ */
+ public function getLastName()
+ {
+ return $this->getField('last_name');
+ }
+
+ /**
+ * Returns the email for the user as a string if present.
+ *
+ * @return string|null
+ */
+ public function getEmail()
+ {
+ return $this->getField('email');
+ }
+
+ /**
+ * Returns the gender for the user as a string if present.
+ *
+ * @return string|null
+ */
+ public function getGender()
+ {
+ return $this->getField('gender');
+ }
+
+ /**
+ * Returns the Facebook URL for the user as a string if available.
+ *
+ * @return string|null
+ */
+ public function getLink()
+ {
+ return $this->getField('link');
+ }
+
+ /**
+ * Returns the users birthday, if available.
+ *
+ * @return Birthday|null
+ */
+ public function getBirthday()
+ {
+ return $this->getField('birthday');
+ }
+
+ /**
+ * Returns the current location of the user as a GraphPage.
+ *
+ * @return GraphPage|null
+ */
+ public function getLocation()
+ {
+ return $this->getField('location');
+ }
+
+ /**
+ * Returns the current location of the user as a GraphPage.
+ *
+ * @return GraphPage|null
+ */
+ public function getHometown()
+ {
+ return $this->getField('hometown');
+ }
+
+ /**
+ * Returns the current location of the user as a GraphUser.
+ *
+ * @return GraphUser|null
+ */
+ public function getSignificantOther()
+ {
+ return $this->getField('significant_other');
+ }
+
+ /**
+ * Returns the picture of the user as a GraphPicture
+ *
+ * @return GraphPicture|null
+ */
+ public function getPicture()
+ {
+ return $this->getField('picture');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookCanvasHelper.php b/mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookCanvasHelper.php
new file mode 100644
index 00000000..7f3466ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookCanvasHelper.php
@@ -0,0 +1,52 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Helpers;
+
+/**
+ * Class FacebookCanvasLoginHelper
+ *
+ * @package Facebook
+ */
+class FacebookCanvasHelper extends FacebookSignedRequestFromInputHelper
+{
+ /**
+ * Returns the app data value.
+ *
+ * @return mixed|null
+ */
+ public function getAppData()
+ {
+ return $this->signedRequest ? $this->signedRequest->get('app_data') : null;
+ }
+
+ /**
+ * Get raw signed request from POST.
+ *
+ * @return string|null
+ */
+ public function getRawSignedRequest()
+ {
+ return $this->getRawSignedRequestFromPost() ?: null;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookJavaScriptHelper.php b/mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookJavaScriptHelper.php
new file mode 100644
index 00000000..01a76b8b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookJavaScriptHelper.php
@@ -0,0 +1,42 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Helpers;
+
+/**
+ * Class FacebookJavaScriptLoginHelper
+ *
+ * @package Facebook
+ */
+class FacebookJavaScriptHelper extends FacebookSignedRequestFromInputHelper
+{
+ /**
+ * Get raw signed request from the cookie.
+ *
+ * @return string|null
+ */
+ public function getRawSignedRequest()
+ {
+ return $this->getRawSignedRequestFromCookie();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookPageTabHelper.php b/mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookPageTabHelper.php
new file mode 100644
index 00000000..da2c356c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookPageTabHelper.php
@@ -0,0 +1,95 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Helpers;
+
+use Facebook\FacebookApp;
+use Facebook\FacebookClient;
+
+/**
+ * Class FacebookPageTabHelper
+ *
+ * @package Facebook
+ */
+class FacebookPageTabHelper extends FacebookCanvasHelper
+{
+ /**
+ * @var array|null
+ */
+ protected $pageData;
+
+ /**
+ * Initialize the helper and process available signed request data.
+ *
+ * @param FacebookApp $app The FacebookApp entity.
+ * @param FacebookClient $client The client to make HTTP requests.
+ * @param string|null $graphVersion The version of Graph to use.
+ */
+ public function __construct(FacebookApp $app, FacebookClient $client, $graphVersion = null)
+ {
+ parent::__construct($app, $client, $graphVersion);
+
+ if (!$this->signedRequest) {
+ return;
+ }
+
+ $this->pageData = $this->signedRequest->get('page');
+ }
+
+ /**
+ * Returns a value from the page data.
+ *
+ * @param string $key
+ * @param mixed|null $default
+ *
+ * @return mixed|null
+ */
+ public function getPageData($key, $default = null)
+ {
+ if (isset($this->pageData[$key])) {
+ return $this->pageData[$key];
+ }
+
+ return $default;
+ }
+
+ /**
+ * Returns true if the user is an admin.
+ *
+ * @return boolean
+ */
+ public function isAdmin()
+ {
+ return $this->getPageData('admin') === true;
+ }
+
+ /**
+ * Returns the page id if available.
+ *
+ * @return string|null
+ */
+ public function getPageId()
+ {
+ return $this->getPageData('id');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookRedirectLoginHelper.php b/mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookRedirectLoginHelper.php
new file mode 100644
index 00000000..3240ba81
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookRedirectLoginHelper.php
@@ -0,0 +1,333 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Helpers;
+
+use Facebook\Authentication\AccessToken;
+use Facebook\Authentication\OAuth2Client;
+use Facebook\Exceptions\FacebookSDKException;
+use Facebook\PersistentData\FacebookSessionPersistentDataHandler;
+use Facebook\PersistentData\PersistentDataInterface;
+use Facebook\PseudoRandomString\PseudoRandomStringGeneratorFactory;
+use Facebook\PseudoRandomString\PseudoRandomStringGeneratorInterface;
+use Facebook\Url\FacebookUrlDetectionHandler;
+use Facebook\Url\FacebookUrlManipulator;
+use Facebook\Url\UrlDetectionInterface;
+
+/**
+ * Class FacebookRedirectLoginHelper
+ *
+ * @package Facebook
+ */
+class FacebookRedirectLoginHelper
+{
+ /**
+ * @const int The length of CSRF string to validate the login link.
+ */
+ const CSRF_LENGTH = 32;
+
+ /**
+ * @var OAuth2Client The OAuth 2.0 client service.
+ */
+ protected $oAuth2Client;
+
+ /**
+ * @var UrlDetectionInterface The URL detection handler.
+ */
+ protected $urlDetectionHandler;
+
+ /**
+ * @var PersistentDataInterface The persistent data handler.
+ */
+ protected $persistentDataHandler;
+
+ /**
+ * @var PseudoRandomStringGeneratorInterface The cryptographically secure pseudo-random string generator.
+ */
+ protected $pseudoRandomStringGenerator;
+
+ /**
+ * @param OAuth2Client $oAuth2Client The OAuth 2.0 client service.
+ * @param PersistentDataInterface|null $persistentDataHandler The persistent data handler.
+ * @param UrlDetectionInterface|null $urlHandler The URL detection handler.
+ * @param PseudoRandomStringGeneratorInterface|null $prsg The cryptographically secure pseudo-random string generator.
+ */
+ public function __construct(OAuth2Client $oAuth2Client, PersistentDataInterface $persistentDataHandler = null, UrlDetectionInterface $urlHandler = null, PseudoRandomStringGeneratorInterface $prsg = null)
+ {
+ $this->oAuth2Client = $oAuth2Client;
+ $this->persistentDataHandler = $persistentDataHandler ?: new FacebookSessionPersistentDataHandler();
+ $this->urlDetectionHandler = $urlHandler ?: new FacebookUrlDetectionHandler();
+ $this->pseudoRandomStringGenerator = PseudoRandomStringGeneratorFactory::createPseudoRandomStringGenerator($prsg);
+ }
+
+ /**
+ * Returns the persistent data handler.
+ *
+ * @return PersistentDataInterface
+ */
+ public function getPersistentDataHandler()
+ {
+ return $this->persistentDataHandler;
+ }
+
+ /**
+ * Returns the URL detection handler.
+ *
+ * @return UrlDetectionInterface
+ */
+ public function getUrlDetectionHandler()
+ {
+ return $this->urlDetectionHandler;
+ }
+
+ /**
+ * Returns the cryptographically secure pseudo-random string generator.
+ *
+ * @return PseudoRandomStringGeneratorInterface
+ */
+ public function getPseudoRandomStringGenerator()
+ {
+ return $this->pseudoRandomStringGenerator;
+ }
+
+ /**
+ * Stores CSRF state and returns a URL to which the user should be sent to in order to continue the login process with Facebook.
+ *
+ * @param string $redirectUrl The URL Facebook should redirect users to after login.
+ * @param array $scope List of permissions to request during login.
+ * @param array $params An array of parameters to generate URL.
+ * @param string $separator The separator to use in http_build_query().
+ *
+ * @return string
+ */
+ private function makeUrl($redirectUrl, array $scope, array $params = [], $separator = '&')
+ {
+ $state = $this->persistentDataHandler->get('state') ?: $this->pseudoRandomStringGenerator->getPseudoRandomString(static::CSRF_LENGTH);
+ $this->persistentDataHandler->set('state', $state);
+
+ return $this->oAuth2Client->getAuthorizationUrl($redirectUrl, $state, $scope, $params, $separator);
+ }
+
+ /**
+ * Returns the URL to send the user in order to login to Facebook.
+ *
+ * @param string $redirectUrl The URL Facebook should redirect users to after login.
+ * @param array $scope List of permissions to request during login.
+ * @param string $separator The separator to use in http_build_query().
+ *
+ * @return string
+ */
+ public function getLoginUrl($redirectUrl, array $scope = [], $separator = '&')
+ {
+ return $this->makeUrl($redirectUrl, $scope, [], $separator);
+ }
+
+ /**
+ * Returns the URL to send the user in order to log out of Facebook.
+ *
+ * @param AccessToken|string $accessToken The access token that will be logged out.
+ * @param string $next The url Facebook should redirect the user to after a successful logout.
+ * @param string $separator The separator to use in http_build_query().
+ *
+ * @return string
+ *
+ * @throws FacebookSDKException
+ */
+ public function getLogoutUrl($accessToken, $next, $separator = '&')
+ {
+ if (!$accessToken instanceof AccessToken) {
+ $accessToken = new AccessToken($accessToken);
+ }
+
+ if ($accessToken->isAppAccessToken()) {
+ throw new FacebookSDKException('Cannot generate a logout URL with an app access token.', 722);
+ }
+
+ $params = [
+ 'next' => $next,
+ 'access_token' => $accessToken->getValue(),
+ ];
+
+ return 'https://www.facebook.com/logout.php?' . http_build_query($params, null, $separator);
+ }
+
+ /**
+ * Returns the URL to send the user in order to login to Facebook with permission(s) to be re-asked.
+ *
+ * @param string $redirectUrl The URL Facebook should redirect users to after login.
+ * @param array $scope List of permissions to request during login.
+ * @param string $separator The separator to use in http_build_query().
+ *
+ * @return string
+ */
+ public function getReRequestUrl($redirectUrl, array $scope = [], $separator = '&')
+ {
+ $params = ['auth_type' => 'rerequest'];
+
+ return $this->makeUrl($redirectUrl, $scope, $params, $separator);
+ }
+
+ /**
+ * Returns the URL to send the user in order to login to Facebook with user to be re-authenticated.
+ *
+ * @param string $redirectUrl The URL Facebook should redirect users to after login.
+ * @param array $scope List of permissions to request during login.
+ * @param string $separator The separator to use in http_build_query().
+ *
+ * @return string
+ */
+ public function getReAuthenticationUrl($redirectUrl, array $scope = [], $separator = '&')
+ {
+ $params = ['auth_type' => 'reauthenticate'];
+
+ return $this->makeUrl($redirectUrl, $scope, $params, $separator);
+ }
+
+ /**
+ * Takes a valid code from a login redirect, and returns an AccessToken entity.
+ *
+ * @param string|null $redirectUrl The redirect URL.
+ *
+ * @return AccessToken|null
+ *
+ * @throws FacebookSDKException
+ */
+ public function getAccessToken($redirectUrl = null)
+ {
+ if (!$code = $this->getCode()) {
+ return null;
+ }
+
+ $this->validateCsrf();
+ $this->resetCsrf();
+
+ $redirectUrl = $redirectUrl ?: $this->urlDetectionHandler->getCurrentUrl();
+ // At minimum we need to remove the 'state' and 'code' params
+ $redirectUrl = FacebookUrlManipulator::removeParamsFromUrl($redirectUrl, ['code', 'state']);
+
+ return $this->oAuth2Client->getAccessTokenFromCode($code, $redirectUrl);
+ }
+
+ /**
+ * Validate the request against a cross-site request forgery.
+ *
+ * @throws FacebookSDKException
+ */
+ protected function validateCsrf()
+ {
+ $state = $this->getState();
+ if (!$state) {
+ throw new FacebookSDKException('Cross-site request forgery validation failed. Required GET param "state" missing.');
+ }
+ $savedState = $this->persistentDataHandler->get('state');
+ if (!$savedState) {
+ throw new FacebookSDKException('Cross-site request forgery validation failed. Required param "state" missing from persistent data.');
+ }
+
+ if (\hash_equals($savedState, $state)) {
+ return;
+ }
+
+ throw new FacebookSDKException('Cross-site request forgery validation failed. The "state" param from the URL and session do not match.');
+ }
+
+ /**
+ * Resets the CSRF so that it doesn't get reused.
+ */
+ private function resetCsrf()
+ {
+ $this->persistentDataHandler->set('state', null);
+ }
+
+ /**
+ * Return the code.
+ *
+ * @return string|null
+ */
+ protected function getCode()
+ {
+ return $this->getInput('code');
+ }
+
+ /**
+ * Return the state.
+ *
+ * @return string|null
+ */
+ protected function getState()
+ {
+ return $this->getInput('state');
+ }
+
+ /**
+ * Return the error code.
+ *
+ * @return string|null
+ */
+ public function getErrorCode()
+ {
+ return $this->getInput('error_code');
+ }
+
+ /**
+ * Returns the error.
+ *
+ * @return string|null
+ */
+ public function getError()
+ {
+ return $this->getInput('error');
+ }
+
+ /**
+ * Returns the error reason.
+ *
+ * @return string|null
+ */
+ public function getErrorReason()
+ {
+ return $this->getInput('error_reason');
+ }
+
+ /**
+ * Returns the error description.
+ *
+ * @return string|null
+ */
+ public function getErrorDescription()
+ {
+ return $this->getInput('error_description');
+ }
+
+ /**
+ * Returns a value from a GET param.
+ *
+ * @param string $key
+ *
+ * @return string|null
+ */
+ private function getInput($key)
+ {
+ return isset($_GET[$key]) ? $_GET[$key] : null;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookSignedRequestFromInputHelper.php b/mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookSignedRequestFromInputHelper.php
new file mode 100644
index 00000000..4044da10
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Helpers/FacebookSignedRequestFromInputHelper.php
@@ -0,0 +1,166 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Helpers;
+
+use Facebook\Facebook;
+use Facebook\FacebookApp;
+use Facebook\FacebookClient;
+use Facebook\SignedRequest;
+use Facebook\Authentication\AccessToken;
+use Facebook\Authentication\OAuth2Client;
+
+/**
+ * Class FacebookSignedRequestFromInputHelper
+ *
+ * @package Facebook
+ */
+abstract class FacebookSignedRequestFromInputHelper
+{
+ /**
+ * @var SignedRequest|null The SignedRequest entity.
+ */
+ protected $signedRequest;
+
+ /**
+ * @var FacebookApp The FacebookApp entity.
+ */
+ protected $app;
+
+ /**
+ * @var OAuth2Client The OAuth 2.0 client service.
+ */
+ protected $oAuth2Client;
+
+ /**
+ * Initialize the helper and process available signed request data.
+ *
+ * @param FacebookApp $app The FacebookApp entity.
+ * @param FacebookClient $client The client to make HTTP requests.
+ * @param string|null $graphVersion The version of Graph to use.
+ */
+ public function __construct(FacebookApp $app, FacebookClient $client, $graphVersion = null)
+ {
+ $this->app = $app;
+ $graphVersion = $graphVersion ?: Facebook::DEFAULT_GRAPH_VERSION;
+ $this->oAuth2Client = new OAuth2Client($this->app, $client, $graphVersion);
+
+ $this->instantiateSignedRequest();
+ }
+
+ /**
+ * Instantiates a new SignedRequest entity.
+ *
+ * @param string|null
+ */
+ public function instantiateSignedRequest($rawSignedRequest = null)
+ {
+ $rawSignedRequest = $rawSignedRequest ?: $this->getRawSignedRequest();
+
+ if (!$rawSignedRequest) {
+ return;
+ }
+
+ $this->signedRequest = new SignedRequest($this->app, $rawSignedRequest);
+ }
+
+ /**
+ * Returns an AccessToken entity from the signed request.
+ *
+ * @return AccessToken|null
+ *
+ * @throws \Facebook\Exceptions\FacebookSDKException
+ */
+ public function getAccessToken()
+ {
+ if ($this->signedRequest && $this->signedRequest->hasOAuthData()) {
+ $code = $this->signedRequest->get('code');
+ $accessToken = $this->signedRequest->get('oauth_token');
+
+ if ($code && !$accessToken) {
+ return $this->oAuth2Client->getAccessTokenFromCode($code);
+ }
+
+ $expiresAt = $this->signedRequest->get('expires', 0);
+
+ return new AccessToken($accessToken, $expiresAt);
+ }
+
+ return null;
+ }
+
+ /**
+ * Returns the SignedRequest entity.
+ *
+ * @return SignedRequest|null
+ */
+ public function getSignedRequest()
+ {
+ return $this->signedRequest;
+ }
+
+ /**
+ * Returns the user_id if available.
+ *
+ * @return string|null
+ */
+ public function getUserId()
+ {
+ return $this->signedRequest ? $this->signedRequest->getUserId() : null;
+ }
+
+ /**
+ * Get raw signed request from input.
+ *
+ * @return string|null
+ */
+ abstract public function getRawSignedRequest();
+
+ /**
+ * Get raw signed request from POST input.
+ *
+ * @return string|null
+ */
+ public function getRawSignedRequestFromPost()
+ {
+ if (isset($_POST['signed_request'])) {
+ return $_POST['signed_request'];
+ }
+
+ return null;
+ }
+
+ /**
+ * Get raw signed request from cookie set from the Javascript SDK.
+ *
+ * @return string|null
+ */
+ public function getRawSignedRequestFromCookie()
+ {
+ if (isset($_COOKIE['fbsr_' . $this->app->getId()])) {
+ return $_COOKIE['fbsr_' . $this->app->getId()];
+ }
+
+ return null;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Http/GraphRawResponse.php b/mayor-orig/mayor-base/www/include/share/facebook/Http/GraphRawResponse.php
new file mode 100644
index 00000000..d1a7241c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Http/GraphRawResponse.php
@@ -0,0 +1,137 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Http;
+
+/**
+ * Class GraphRawResponse
+ *
+ * @package Facebook
+ */
+class GraphRawResponse
+{
+ /**
+ * @var array The response headers in the form of an associative array.
+ */
+ protected $headers;
+
+ /**
+ * @var string The raw response body.
+ */
+ protected $body;
+
+ /**
+ * @var int The HTTP status response code.
+ */
+ protected $httpResponseCode;
+
+ /**
+ * Creates a new GraphRawResponse entity.
+ *
+ * @param string|array $headers The headers as a raw string or array.
+ * @param string $body The raw response body.
+ * @param int $httpStatusCode The HTTP response code (if sending headers as parsed array).
+ */
+ public function __construct($headers, $body, $httpStatusCode = null)
+ {
+ if (is_numeric($httpStatusCode)) {
+ $this->httpResponseCode = (int)$httpStatusCode;
+ }
+
+ if (is_array($headers)) {
+ $this->headers = $headers;
+ } else {
+ $this->setHeadersFromString($headers);
+ }
+
+ $this->body = $body;
+ }
+
+ /**
+ * Return the response headers.
+ *
+ * @return array
+ */
+ public function getHeaders()
+ {
+ return $this->headers;
+ }
+
+ /**
+ * Return the body of the response.
+ *
+ * @return string
+ */
+ public function getBody()
+ {
+ return $this->body;
+ }
+
+ /**
+ * Return the HTTP response code.
+ *
+ * @return int
+ */
+ public function getHttpResponseCode()
+ {
+ return $this->httpResponseCode;
+ }
+
+ /**
+ * Sets the HTTP response code from a raw header.
+ *
+ * @param string $rawResponseHeader
+ */
+ public function setHttpResponseCodeFromHeader($rawResponseHeader)
+ {
+ preg_match('|HTTP/\d\.\d\s+(\d+)\s+.*|', $rawResponseHeader, $match);
+ $this->httpResponseCode = (int)$match[1];
+ }
+
+ /**
+ * Parse the raw headers and set as an array.
+ *
+ * @param string $rawHeaders The raw headers from the response.
+ */
+ protected function setHeadersFromString($rawHeaders)
+ {
+ // Normalize line breaks
+ $rawHeaders = str_replace("\r\n", "\n", $rawHeaders);
+
+ // There will be multiple headers if a 301 was followed
+ // or a proxy was followed, etc
+ $headerCollection = explode("\n\n", trim($rawHeaders));
+ // We just want the last response (at the end)
+ $rawHeader = array_pop($headerCollection);
+
+ $headerComponents = explode("\n", $rawHeader);
+ foreach ($headerComponents as $line) {
+ if (strpos($line, ': ') === false) {
+ $this->setHttpResponseCodeFromHeader($line);
+ } else {
+ list($key, $value) = explode(': ', $line, 2);
+ $this->headers[$key] = $value;
+ }
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Http/RequestBodyInterface.php b/mayor-orig/mayor-base/www/include/share/facebook/Http/RequestBodyInterface.php
new file mode 100644
index 00000000..1c03f4fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Http/RequestBodyInterface.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Http;
+
+/**
+ * Interface
+ *
+ * @package Facebook
+ */
+interface RequestBodyInterface
+{
+ /**
+ * Get the body of the request to send to Graph.
+ *
+ * @return string
+ */
+ public function getBody();
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Http/RequestBodyMultipart.php b/mayor-orig/mayor-base/www/include/share/facebook/Http/RequestBodyMultipart.php
new file mode 100644
index 00000000..e43695a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Http/RequestBodyMultipart.php
@@ -0,0 +1,170 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Http;
+
+use Facebook\FileUpload\FacebookFile;
+
+/**
+ * Class RequestBodyMultipartt
+ *
+ * Some things copied from Guzzle
+ *
+ * @package Facebook
+ *
+ * @see https://github.com/guzzle/guzzle/blob/master/src/Post/MultipartBody.php
+ */
+class RequestBodyMultipart implements RequestBodyInterface
+{
+ /**
+ * @var string The boundary.
+ */
+ private $boundary;
+
+ /**
+ * @var array The parameters to send with this request.
+ */
+ private $params;
+
+ /**
+ * @var array The files to send with this request.
+ */
+ private $files = [];
+
+ /**
+ * @param array $params The parameters to send with this request.
+ * @param array $files The files to send with this request.
+ * @param string $boundary Provide a specific boundary.
+ */
+ public function __construct(array $params = [], array $files = [], $boundary = null)
+ {
+ $this->params = $params;
+ $this->files = $files;
+ $this->boundary = $boundary ?: uniqid();
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function getBody()
+ {
+ $body = '';
+
+ // Compile normal params
+ $params = $this->getNestedParams($this->params);
+ foreach ($params as $k => $v) {
+ $body .= $this->getParamString($k, $v);
+ }
+
+ // Compile files
+ foreach ($this->files as $k => $v) {
+ $body .= $this->getFileString($k, $v);
+ }
+
+ // Peace out
+ $body .= "--{$this->boundary}--\r\n";
+
+ return $body;
+ }
+
+ /**
+ * Get the boundary
+ *
+ * @return string
+ */
+ public function getBoundary()
+ {
+ return $this->boundary;
+ }
+
+ /**
+ * Get the string needed to transfer a file.
+ *
+ * @param string $name
+ * @param FacebookFile $file
+ *
+ * @return string
+ */
+ private function getFileString($name, FacebookFile $file)
+ {
+ return sprintf(
+ "--%s\r\nContent-Disposition: form-data; name=\"%s\"; filename=\"%s\"%s\r\n\r\n%s\r\n",
+ $this->boundary,
+ $name,
+ $file->getFileName(),
+ $this->getFileHeaders($file),
+ $file->getContents()
+ );
+ }
+
+ /**
+ * Get the string needed to transfer a POST field.
+ *
+ * @param string $name
+ * @param string $value
+ *
+ * @return string
+ */
+ private function getParamString($name, $value)
+ {
+ return sprintf(
+ "--%s\r\nContent-Disposition: form-data; name=\"%s\"\r\n\r\n%s\r\n",
+ $this->boundary,
+ $name,
+ $value
+ );
+ }
+
+ /**
+ * Returns the params as an array of nested params.
+ *
+ * @param array $params
+ *
+ * @return array
+ */
+ private function getNestedParams(array $params)
+ {
+ $query = http_build_query($params, null, '&');
+ $params = explode('&', $query);
+ $result = [];
+
+ foreach ($params as $param) {
+ list($key, $value) = explode('=', $param, 2);
+ $result[urldecode($key)] = urldecode($value);
+ }
+
+ return $result;
+ }
+
+ /**
+ * Get the headers needed before transferring the content of a POST file.
+ *
+ * @param FacebookFile $file
+ *
+ * @return string
+ */
+ protected function getFileHeaders(FacebookFile $file)
+ {
+ return "\r\nContent-Type: {$file->getMimetype()}";
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Http/RequestBodyUrlEncoded.php b/mayor-orig/mayor-base/www/include/share/facebook/Http/RequestBodyUrlEncoded.php
new file mode 100644
index 00000000..c1e35f43
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Http/RequestBodyUrlEncoded.php
@@ -0,0 +1,55 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Http;
+
+/**
+ * Class RequestBodyUrlEncoded
+ *
+ * @package Facebook
+ */
+class RequestBodyUrlEncoded implements RequestBodyInterface
+{
+ /**
+ * @var array The parameters to send with this request.
+ */
+ protected $params = [];
+
+ /**
+ * Creates a new GraphUrlEncodedBody entity.
+ *
+ * @param array $params
+ */
+ public function __construct(array $params)
+ {
+ $this->params = $params;
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function getBody()
+ {
+ return http_build_query($this->params, null, '&');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookCurl.php b/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookCurl.php
new file mode 100644
index 00000000..28e4ba59
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookCurl.php
@@ -0,0 +1,129 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\HttpClients;
+
+/**
+ * Class FacebookCurl
+ *
+ * Abstraction for the procedural curl elements so that curl can be mocked and the implementation can be tested.
+ *
+ * @package Facebook
+ */
+class FacebookCurl
+{
+
+ /**
+ * @var resource Curl resource instance
+ */
+ protected $curl;
+
+ /**
+ * Make a new curl reference instance
+ */
+ public function init()
+ {
+ $this->curl = curl_init();
+ }
+
+ /**
+ * Set a curl option
+ *
+ * @param $key
+ * @param $value
+ */
+ public function setopt($key, $value)
+ {
+ curl_setopt($this->curl, $key, $value);
+ }
+
+ /**
+ * Set an array of options to a curl resource
+ *
+ * @param array $options
+ */
+ public function setoptArray(array $options)
+ {
+ curl_setopt_array($this->curl, $options);
+ }
+
+ /**
+ * Send a curl request
+ *
+ * @return mixed
+ */
+ public function exec()
+ {
+ return curl_exec($this->curl);
+ }
+
+ /**
+ * Return the curl error number
+ *
+ * @return int
+ */
+ public function errno()
+ {
+ return curl_errno($this->curl);
+ }
+
+ /**
+ * Return the curl error message
+ *
+ * @return string
+ */
+ public function error()
+ {
+ return curl_error($this->curl);
+ }
+
+ /**
+ * Get info from a curl reference
+ *
+ * @param $type
+ *
+ * @return mixed
+ */
+ public function getinfo($type)
+ {
+ return curl_getinfo($this->curl, $type);
+ }
+
+ /**
+ * Get the currently installed curl version
+ *
+ * @return array
+ */
+ public function version()
+ {
+ return curl_version();
+ }
+
+ /**
+ * Close the resource connection to curl
+ */
+ public function close()
+ {
+ curl_close($this->curl);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookCurlHttpClient.php b/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookCurlHttpClient.php
new file mode 100644
index 00000000..9516cc83
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookCurlHttpClient.php
@@ -0,0 +1,163 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\HttpClients;
+
+use Facebook\Http\GraphRawResponse;
+use Facebook\Exceptions\FacebookSDKException;
+
+/**
+ * Class FacebookCurlHttpClient
+ *
+ * @package Facebook
+ */
+class FacebookCurlHttpClient implements FacebookHttpClientInterface
+{
+ /**
+ * @var string The client error message
+ */
+ protected $curlErrorMessage = '';
+
+ /**
+ * @var int The curl client error code
+ */
+ protected $curlErrorCode = 0;
+
+ /**
+ * @var string|boolean The raw response from the server
+ */
+ protected $rawResponse;
+
+ /**
+ * @var FacebookCurl Procedural curl as object
+ */
+ protected $facebookCurl;
+
+ /**
+ * @param FacebookCurl|null Procedural curl as object
+ */
+ public function __construct(FacebookCurl $facebookCurl = null)
+ {
+ $this->facebookCurl = $facebookCurl ?: new FacebookCurl();
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function send($url, $method, $body, array $headers, $timeOut)
+ {
+ $this->openConnection($url, $method, $body, $headers, $timeOut);
+ $this->sendRequest();
+
+ if ($curlErrorCode = $this->facebookCurl->errno()) {
+ throw new FacebookSDKException($this->facebookCurl->error(), $curlErrorCode);
+ }
+
+ // Separate the raw headers from the raw body
+ list($rawHeaders, $rawBody) = $this->extractResponseHeadersAndBody();
+
+ $this->closeConnection();
+
+ return new GraphRawResponse($rawHeaders, $rawBody);
+ }
+
+ /**
+ * Opens a new curl connection.
+ *
+ * @param string $url The endpoint to send the request to.
+ * @param string $method The request method.
+ * @param string $body The body of the request.
+ * @param array $headers The request headers.
+ * @param int $timeOut The timeout in seconds for the request.
+ */
+ public function openConnection($url, $method, $body, array $headers, $timeOut)
+ {
+ $options = [
+ CURLOPT_CUSTOMREQUEST => $method,
+ CURLOPT_HTTPHEADER => $this->compileRequestHeaders($headers),
+ CURLOPT_URL => $url,
+ CURLOPT_CONNECTTIMEOUT => 10,
+ CURLOPT_TIMEOUT => $timeOut,
+ CURLOPT_RETURNTRANSFER => true, // Return response as string
+ CURLOPT_HEADER => true, // Enable header processing
+ CURLOPT_SSL_VERIFYHOST => 2,
+ CURLOPT_SSL_VERIFYPEER => true,
+ CURLOPT_CAINFO => __DIR__ . '/certs/DigiCertHighAssuranceEVRootCA.pem',
+ ];
+
+ if ($method !== "GET") {
+ $options[CURLOPT_POSTFIELDS] = $body;
+ }
+
+ $this->facebookCurl->init();
+ $this->facebookCurl->setoptArray($options);
+ }
+
+ /**
+ * Closes an existing curl connection
+ */
+ public function closeConnection()
+ {
+ $this->facebookCurl->close();
+ }
+
+ /**
+ * Send the request and get the raw response from curl
+ */
+ public function sendRequest()
+ {
+ $this->rawResponse = $this->facebookCurl->exec();
+ }
+
+ /**
+ * Compiles the request headers into a curl-friendly format.
+ *
+ * @param array $headers The request headers.
+ *
+ * @return array
+ */
+ public function compileRequestHeaders(array $headers)
+ {
+ $return = [];
+
+ foreach ($headers as $key => $value) {
+ $return[] = $key . ': ' . $value;
+ }
+
+ return $return;
+ }
+
+ /**
+ * Extracts the headers and the body into a two-part array
+ *
+ * @return array
+ */
+ public function extractResponseHeadersAndBody()
+ {
+ $parts = explode("\r\n\r\n", $this->rawResponse);
+ $rawBody = array_pop($parts);
+ $rawHeaders = implode("\r\n\r\n", $parts);
+
+ return [trim($rawHeaders), trim($rawBody)];
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookGuzzleHttpClient.php b/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookGuzzleHttpClient.php
new file mode 100644
index 00000000..8feb7cb6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookGuzzleHttpClient.php
@@ -0,0 +1,97 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\HttpClients;
+
+use Facebook\Http\GraphRawResponse;
+use Facebook\Exceptions\FacebookSDKException;
+
+use GuzzleHttp\Client;
+use GuzzleHttp\Message\ResponseInterface;
+use GuzzleHttp\Ring\Exception\RingException;
+use GuzzleHttp\Exception\RequestException;
+
+class FacebookGuzzleHttpClient implements FacebookHttpClientInterface
+{
+ /**
+ * @var \GuzzleHttp\Client The Guzzle client.
+ */
+ protected $guzzleClient;
+
+ /**
+ * @param \GuzzleHttp\Client|null The Guzzle client.
+ */
+ public function __construct(Client $guzzleClient = null)
+ {
+ $this->guzzleClient = $guzzleClient ?: new Client();
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function send($url, $method, $body, array $headers, $timeOut)
+ {
+ $options = [
+ 'headers' => $headers,
+ 'body' => $body,
+ 'timeout' => $timeOut,
+ 'connect_timeout' => 10,
+ 'verify' => __DIR__ . '/certs/DigiCertHighAssuranceEVRootCA.pem',
+ ];
+ $request = $this->guzzleClient->createRequest($method, $url, $options);
+
+ try {
+ $rawResponse = $this->guzzleClient->send($request);
+ } catch (RequestException $e) {
+ $rawResponse = $e->getResponse();
+
+ if ($e->getPrevious() instanceof RingException || !$rawResponse instanceof ResponseInterface) {
+ throw new FacebookSDKException($e->getMessage(), $e->getCode());
+ }
+ }
+
+ $rawHeaders = $this->getHeadersAsString($rawResponse);
+ $rawBody = $rawResponse->getBody();
+ $httpStatusCode = $rawResponse->getStatusCode();
+
+ return new GraphRawResponse($rawHeaders, $rawBody, $httpStatusCode);
+ }
+
+ /**
+ * Returns the Guzzle array of headers as a string.
+ *
+ * @param ResponseInterface $response The Guzzle response.
+ *
+ * @return string
+ */
+ public function getHeadersAsString(ResponseInterface $response)
+ {
+ $headers = $response->getHeaders();
+ $rawHeaders = [];
+ foreach ($headers as $name => $values) {
+ $rawHeaders[] = $name . ": " . implode(", ", $values);
+ }
+
+ return implode("\r\n", $rawHeaders);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookHttpClientInterface.php b/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookHttpClientInterface.php
new file mode 100644
index 00000000..1fbf953d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookHttpClientInterface.php
@@ -0,0 +1,47 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\HttpClients;
+
+/**
+ * Interface FacebookHttpClientInterface
+ *
+ * @package Facebook
+ */
+interface FacebookHttpClientInterface
+{
+ /**
+ * Sends a request to the server and returns the raw response.
+ *
+ * @param string $url The endpoint to send the request to.
+ * @param string $method The request method.
+ * @param string $body The body of the request.
+ * @param array $headers The request headers.
+ * @param int $timeOut The timeout in seconds for the request.
+ *
+ * @return \Facebook\Http\GraphRawResponse Raw response from the server.
+ *
+ * @throws \Facebook\Exceptions\FacebookSDKException
+ */
+ public function send($url, $method, $body, array $headers, $timeOut);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookStream.php b/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookStream.php
new file mode 100644
index 00000000..3f399884
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookStream.php
@@ -0,0 +1,80 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\HttpClients;
+
+/**
+ * Class FacebookStream
+ *
+ * Abstraction for the procedural stream elements so that the functions can be
+ * mocked and the implementation can be tested.
+ *
+ * @package Facebook
+ */
+class FacebookStream
+{
+ /**
+ * @var resource Context stream resource instance
+ */
+ protected $stream;
+
+ /**
+ * @var array Response headers from the stream wrapper
+ */
+ protected $responseHeaders = [];
+
+ /**
+ * Make a new context stream reference instance
+ *
+ * @param array $options
+ */
+ public function streamContextCreate(array $options)
+ {
+ $this->stream = stream_context_create($options);
+ }
+
+ /**
+ * The response headers from the stream wrapper
+ *
+ * @return array
+ */
+ public function getResponseHeaders()
+ {
+ return $this->responseHeaders;
+ }
+
+ /**
+ * Send a stream wrapped request
+ *
+ * @param string $url
+ *
+ * @return mixed
+ */
+ public function fileGetContents($url)
+ {
+ $rawResponse = file_get_contents($url, false, $this->stream);
+ $this->responseHeaders = $http_response_header ?: [];
+
+ return $rawResponse;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookStreamHttpClient.php b/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookStreamHttpClient.php
new file mode 100644
index 00000000..1cdfd539
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/FacebookStreamHttpClient.php
@@ -0,0 +1,94 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\HttpClients;
+
+use Facebook\Http\GraphRawResponse;
+use Facebook\Exceptions\FacebookSDKException;
+
+class FacebookStreamHttpClient implements FacebookHttpClientInterface
+{
+ /**
+ * @var FacebookStream Procedural stream wrapper as object.
+ */
+ protected $facebookStream;
+
+ /**
+ * @param FacebookStream|null Procedural stream wrapper as object.
+ */
+ public function __construct(FacebookStream $facebookStream = null)
+ {
+ $this->facebookStream = $facebookStream ?: new FacebookStream();
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function send($url, $method, $body, array $headers, $timeOut)
+ {
+ $options = [
+ 'http' => [
+ 'method' => $method,
+ 'header' => $this->compileHeader($headers),
+ 'content' => $body,
+ 'timeout' => $timeOut,
+ 'ignore_errors' => true
+ ],
+ 'ssl' => [
+ 'verify_peer' => true,
+ 'verify_peer_name' => true,
+ 'allow_self_signed' => true, // All root certificates are self-signed
+ 'cafile' => __DIR__ . '/certs/DigiCertHighAssuranceEVRootCA.pem',
+ ],
+ ];
+
+ $this->facebookStream->streamContextCreate($options);
+ $rawBody = $this->facebookStream->fileGetContents($url);
+ $rawHeaders = $this->facebookStream->getResponseHeaders();
+
+ if ($rawBody === false || empty($rawHeaders)) {
+ throw new FacebookSDKException('Stream returned an empty response', 660);
+ }
+
+ $rawHeaders = implode("\r\n", $rawHeaders);
+
+ return new GraphRawResponse($rawHeaders, $rawBody);
+ }
+
+ /**
+ * Formats the headers for use in the stream wrapper.
+ *
+ * @param array $headers The request headers.
+ *
+ * @return string
+ */
+ public function compileHeader(array $headers)
+ {
+ $header = [];
+ foreach ($headers as $k => $v) {
+ $header[] = $k . ': ' . $v;
+ }
+
+ return implode("\r\n", $header);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/HttpClientsFactory.php b/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/HttpClientsFactory.php
new file mode 100644
index 00000000..d9f2a8d3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/HttpClientsFactory.php
@@ -0,0 +1,99 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\HttpClients;
+
+use GuzzleHttp\Client;
+use InvalidArgumentException;
+use Exception;
+
+class HttpClientsFactory
+{
+ private function __construct()
+ {
+ // a factory constructor should never be invoked
+ }
+
+ /**
+ * HTTP client generation.
+ *
+ * @param FacebookHttpClientInterface|Client|string|null $handler
+ *
+ * @throws Exception If the cURL extension or the Guzzle client aren't available (if required).
+ * @throws InvalidArgumentException If the http client handler isn't "curl", "stream", "guzzle", or an instance of Facebook\HttpClients\FacebookHttpClientInterface.
+ *
+ * @return FacebookHttpClientInterface
+ */
+ public static function createHttpClient($handler)
+ {
+ if (!$handler) {
+ return self::detectDefaultClient();
+ }
+
+ if ($handler instanceof FacebookHttpClientInterface) {
+ return $handler;
+ }
+
+ if ('stream' === $handler) {
+ return new FacebookStreamHttpClient();
+ }
+ if ('curl' === $handler) {
+ if (!extension_loaded('curl')) {
+ throw new Exception('The cURL extension must be loaded in order to use the "curl" handler.');
+ }
+
+ return new FacebookCurlHttpClient();
+ }
+
+ if ('guzzle' === $handler && !class_exists('GuzzleHttp\Client')) {
+ throw new Exception('The Guzzle HTTP client must be included in order to use the "guzzle" handler.');
+ }
+
+ if ($handler instanceof Client) {
+ return new FacebookGuzzleHttpClient($handler);
+ }
+ if ('guzzle' === $handler) {
+ return new FacebookGuzzleHttpClient();
+ }
+
+ throw new InvalidArgumentException('The http client handler must be set to "curl", "stream", "guzzle", be an instance of GuzzleHttp\Client or an instance of Facebook\HttpClients\FacebookHttpClientInterface');
+ }
+
+ /**
+ * Detect default HTTP client.
+ *
+ * @return FacebookHttpClientInterface
+ */
+ private static function detectDefaultClient()
+ {
+ if (extension_loaded('curl')) {
+ return new FacebookCurlHttpClient();
+ }
+
+ if (class_exists('GuzzleHttp\Client')) {
+ return new FacebookGuzzleHttpClient();
+ }
+
+ return new FacebookStreamHttpClient();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/certs/DigiCertHighAssuranceEVRootCA.pem b/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/certs/DigiCertHighAssuranceEVRootCA.pem
new file mode 100644
index 00000000..9e6810ab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/HttpClients/certs/DigiCertHighAssuranceEVRootCA.pem
@@ -0,0 +1,23 @@
+-----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-----
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/PersistentData/FacebookMemoryPersistentDataHandler.php b/mayor-orig/mayor-base/www/include/share/facebook/PersistentData/FacebookMemoryPersistentDataHandler.php
new file mode 100644
index 00000000..4b7c87ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/PersistentData/FacebookMemoryPersistentDataHandler.php
@@ -0,0 +1,53 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\PersistentData;
+
+/**
+ * Class FacebookMemoryPersistentDataHandler
+ *
+ * @package Facebook
+ */
+class FacebookMemoryPersistentDataHandler implements PersistentDataInterface
+{
+ /**
+ * @var array The session data to keep in memory.
+ */
+ protected $sessionData = [];
+
+ /**
+ * @inheritdoc
+ */
+ public function get($key)
+ {
+ return isset($this->sessionData[$key]) ? $this->sessionData[$key] : null;
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function set($key, $value)
+ {
+ $this->sessionData[$key] = $value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/PersistentData/FacebookSessionPersistentDataHandler.php b/mayor-orig/mayor-base/www/include/share/facebook/PersistentData/FacebookSessionPersistentDataHandler.php
new file mode 100644
index 00000000..9123e3dc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/PersistentData/FacebookSessionPersistentDataHandler.php
@@ -0,0 +1,76 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\PersistentData;
+
+use Facebook\Exceptions\FacebookSDKException;
+
+/**
+ * Class FacebookSessionPersistentDataHandler
+ *
+ * @package Facebook
+ */
+class FacebookSessionPersistentDataHandler implements PersistentDataInterface
+{
+ /**
+ * @var string Prefix to use for session variables.
+ */
+ protected $sessionPrefix = 'FBRLH_';
+
+ /**
+ * Init the session handler.
+ *
+ * @param boolean $enableSessionCheck
+ *
+ * @throws FacebookSDKException
+ */
+ public function __construct($enableSessionCheck = true)
+ {
+ if ($enableSessionCheck && session_status() !== PHP_SESSION_ACTIVE) {
+ throw new FacebookSDKException(
+ 'Sessions are not active. Please make sure session_start() is at the top of your script.',
+ 720
+ );
+ }
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function get($key)
+ {
+ if (isset($_SESSION[$this->sessionPrefix . $key])) {
+ return $_SESSION[$this->sessionPrefix . $key];
+ }
+
+ return null;
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function set($key, $value)
+ {
+ $_SESSION[$this->sessionPrefix . $key] = $value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/PersistentData/PersistentDataFactory.php b/mayor-orig/mayor-base/www/include/share/facebook/PersistentData/PersistentDataFactory.php
new file mode 100644
index 00000000..18fb8fd5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/PersistentData/PersistentDataFactory.php
@@ -0,0 +1,65 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\PersistentData;
+
+use InvalidArgumentException;
+
+class PersistentDataFactory
+{
+ private function __construct()
+ {
+ // a factory constructor should never be invoked
+ }
+
+ /**
+ * PersistentData generation.
+ *
+ * @param PersistentDataInterface|string|null $handler
+ *
+ * @throws InvalidArgumentException If the persistent data handler isn't "session", "memory", or an instance of Facebook\PersistentData\PersistentDataInterface.
+ *
+ * @return PersistentDataInterface
+ */
+ public static function createPersistentDataHandler($handler)
+ {
+ if (!$handler) {
+ return session_status() === PHP_SESSION_ACTIVE
+ ? new FacebookSessionPersistentDataHandler()
+ : new FacebookMemoryPersistentDataHandler();
+ }
+
+ if ($handler instanceof PersistentDataInterface) {
+ return $handler;
+ }
+
+ if ('session' === $handler) {
+ return new FacebookSessionPersistentDataHandler();
+ }
+ if ('memory' === $handler) {
+ return new FacebookMemoryPersistentDataHandler();
+ }
+
+ throw new InvalidArgumentException('The persistent data handler must be set to "session", "memory", or be an instance of Facebook\PersistentData\PersistentDataInterface');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/PersistentData/PersistentDataInterface.php b/mayor-orig/mayor-base/www/include/share/facebook/PersistentData/PersistentDataInterface.php
new file mode 100644
index 00000000..3517ee15
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/PersistentData/PersistentDataInterface.php
@@ -0,0 +1,49 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\PersistentData;
+
+/**
+ * Interface PersistentDataInterface
+ *
+ * @package Facebook
+ */
+interface PersistentDataInterface
+{
+ /**
+ * Get a value from a persistent data store.
+ *
+ * @param string $key
+ *
+ * @return mixed
+ */
+ public function get($key);
+
+ /**
+ * Set a value in the persistent data store.
+ *
+ * @param string $key
+ * @param mixed $value
+ */
+ public function set($key, $value);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/McryptPseudoRandomStringGenerator.php b/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/McryptPseudoRandomStringGenerator.php
new file mode 100644
index 00000000..bf573745
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/McryptPseudoRandomStringGenerator.php
@@ -0,0 +1,68 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\PseudoRandomString;
+
+use Facebook\Exceptions\FacebookSDKException;
+
+class McryptPseudoRandomStringGenerator implements PseudoRandomStringGeneratorInterface
+{
+ use PseudoRandomStringGeneratorTrait;
+
+ /**
+ * @const string The error message when generating the string fails.
+ */
+ const ERROR_MESSAGE = 'Unable to generate a cryptographically secure pseudo-random string from mcrypt_create_iv(). ';
+
+ /**
+ * @throws FacebookSDKException
+ */
+ public function __construct()
+ {
+ if (!function_exists('mcrypt_create_iv')) {
+ throw new FacebookSDKException(
+ static::ERROR_MESSAGE .
+ 'The function mcrypt_create_iv() does not exist.'
+ );
+ }
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function getPseudoRandomString($length)
+ {
+ $this->validateLength($length);
+
+ $binaryString = mcrypt_create_iv($length, MCRYPT_DEV_URANDOM);
+
+ if ($binaryString === false) {
+ throw new FacebookSDKException(
+ static::ERROR_MESSAGE .
+ 'mcrypt_create_iv() returned an error.'
+ );
+ }
+
+ return $this->binToHex($binaryString, $length);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/OpenSslPseudoRandomStringGenerator.php b/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/OpenSslPseudoRandomStringGenerator.php
new file mode 100644
index 00000000..4b4276dc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/OpenSslPseudoRandomStringGenerator.php
@@ -0,0 +1,67 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\PseudoRandomString;
+
+use Facebook\Exceptions\FacebookSDKException;
+
+class OpenSslPseudoRandomStringGenerator implements PseudoRandomStringGeneratorInterface
+{
+ use PseudoRandomStringGeneratorTrait;
+
+ /**
+ * @const string The error message when generating the string fails.
+ */
+ const ERROR_MESSAGE = 'Unable to generate a cryptographically secure pseudo-random string from openssl_random_pseudo_bytes().';
+
+ /**
+ * @throws FacebookSDKException
+ */
+ public function __construct()
+ {
+ if (!function_exists('openssl_random_pseudo_bytes')) {
+ throw new FacebookSDKException(static::ERROR_MESSAGE . 'The function openssl_random_pseudo_bytes() does not exist.');
+ }
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function getPseudoRandomString($length)
+ {
+ $this->validateLength($length);
+
+ $wasCryptographicallyStrong = false;
+ $binaryString = openssl_random_pseudo_bytes($length, $wasCryptographicallyStrong);
+
+ if ($binaryString === false) {
+ throw new FacebookSDKException(static::ERROR_MESSAGE . 'openssl_random_pseudo_bytes() returned an unknown error.');
+ }
+
+ if ($wasCryptographicallyStrong !== true) {
+ throw new FacebookSDKException(static::ERROR_MESSAGE . 'openssl_random_pseudo_bytes() returned a pseudo-random string but it was not cryptographically secure and cannot be used.');
+ }
+
+ return $this->binToHex($binaryString, $length);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorFactory.php b/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorFactory.php
new file mode 100644
index 00000000..412f4813
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorFactory.php
@@ -0,0 +1,101 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\PseudoRandomString;
+
+use Facebook\Exceptions\FacebookSDKException;
+use InvalidArgumentException;
+
+class PseudoRandomStringGeneratorFactory
+{
+ private function __construct()
+ {
+ // a factory constructor should never be invoked
+ }
+
+ /**
+ * Pseudo random string generator creation.
+ *
+ * @param PseudoRandomStringGeneratorInterface|string|null $generator
+ *
+ * @throws InvalidArgumentException If the pseudo random string generator must be set to "random_bytes", "mcrypt", "openssl", or "urandom", or be an instance of Facebook\PseudoRandomString\PseudoRandomStringGeneratorInterface.
+ *
+ * @return PseudoRandomStringGeneratorInterface
+ */
+ public static function createPseudoRandomStringGenerator($generator)
+ {
+ if (!$generator) {
+ return self::detectDefaultPseudoRandomStringGenerator();
+ }
+
+ if ($generator instanceof PseudoRandomStringGeneratorInterface) {
+ return $generator;
+ }
+
+ if ('random_bytes' === $generator) {
+ return new RandomBytesPseudoRandomStringGenerator();
+ }
+ if ('mcrypt' === $generator) {
+ return new McryptPseudoRandomStringGenerator();
+ }
+ if ('openssl' === $generator) {
+ return new OpenSslPseudoRandomStringGenerator();
+ }
+ if ('urandom' === $generator) {
+ return new UrandomPseudoRandomStringGenerator();
+ }
+
+ throw new InvalidArgumentException('The pseudo random string generator must be set to "random_bytes", "mcrypt", "openssl", or "urandom", or be an instance of Facebook\PseudoRandomString\PseudoRandomStringGeneratorInterface');
+ }
+
+ /**
+ * Detects which pseudo-random string generator to use.
+ *
+ * @throws FacebookSDKException If unable to detect a cryptographically secure pseudo-random string generator.
+ *
+ * @return PseudoRandomStringGeneratorInterface
+ */
+ private static function detectDefaultPseudoRandomStringGenerator()
+ {
+ // Check for PHP 7's CSPRNG first to keep mcrypt deprecation messages from appearing in PHP 7.1.
+ if (function_exists('random_bytes')) {
+ return new RandomBytesPseudoRandomStringGenerator();
+ }
+
+ // Since openssl_random_pseudo_bytes() can sometimes return non-cryptographically
+ // secure pseudo-random strings (in rare cases), we check for mcrypt_create_iv() next.
+ if (function_exists('mcrypt_create_iv')) {
+ return new McryptPseudoRandomStringGenerator();
+ }
+
+ if (function_exists('openssl_random_pseudo_bytes')) {
+ return new OpenSslPseudoRandomStringGenerator();
+ }
+
+ if (!ini_get('open_basedir') && is_readable('/dev/urandom')) {
+ return new UrandomPseudoRandomStringGenerator();
+ }
+
+ throw new FacebookSDKException('Unable to detect a cryptographically secure pseudo-random string generator.');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorInterface.php b/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorInterface.php
new file mode 100644
index 00000000..914ee3cf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorInterface.php
@@ -0,0 +1,45 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\PseudoRandomString;
+
+/**
+ * Interface
+ *
+ * @package Facebook
+ */
+interface PseudoRandomStringGeneratorInterface
+{
+ /**
+ * Get a cryptographically secure pseudo-random string of arbitrary length.
+ *
+ * @see http://sockpuppet.org/blog/2014/02/25/safely-generate-random-numbers/
+ *
+ * @param int $length The length of the string to return.
+ *
+ * @return string
+ *
+ * @throws \Facebook\Exceptions\FacebookSDKException|\InvalidArgumentException
+ */
+ public function getPseudoRandomString($length);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorTrait.php b/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorTrait.php
new file mode 100644
index 00000000..0f587ea2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorTrait.php
@@ -0,0 +1,58 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\PseudoRandomString;
+
+trait PseudoRandomStringGeneratorTrait
+{
+ /**
+ * Validates the length argument of a random string.
+ *
+ * @param int $length The length to validate.
+ *
+ * @throws \InvalidArgumentException
+ */
+ public function validateLength($length)
+ {
+ if (!is_int($length)) {
+ throw new \InvalidArgumentException('getPseudoRandomString() expects an integer for the string length');
+ }
+
+ if ($length < 1) {
+ throw new \InvalidArgumentException('getPseudoRandomString() expects a length greater than 1');
+ }
+ }
+
+ /**
+ * Converts binary data to hexadecimal of arbitrary length.
+ *
+ * @param string $binaryData The binary data to convert to hex.
+ * @param int $length The length of the string to return.
+ *
+ * @return string
+ */
+ public function binToHex($binaryData, $length)
+ {
+ return \substr(\bin2hex($binaryData), 0, $length);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/RandomBytesPseudoRandomStringGenerator.php b/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/RandomBytesPseudoRandomStringGenerator.php
new file mode 100644
index 00000000..b5943f6f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/RandomBytesPseudoRandomStringGenerator.php
@@ -0,0 +1,59 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\PseudoRandomString;
+
+use Facebook\Exceptions\FacebookSDKException;
+
+class RandomBytesPseudoRandomStringGenerator implements PseudoRandomStringGeneratorInterface
+{
+ use PseudoRandomStringGeneratorTrait;
+
+ /**
+ * @const string The error message when generating the string fails.
+ */
+ const ERROR_MESSAGE = 'Unable to generate a cryptographically secure pseudo-random string from random_bytes(). ';
+
+ /**
+ * @throws FacebookSDKException
+ */
+ public function __construct()
+ {
+ if (!function_exists('random_bytes')) {
+ throw new FacebookSDKException(
+ static::ERROR_MESSAGE .
+ 'The function random_bytes() does not exist.'
+ );
+ }
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function getPseudoRandomString($length)
+ {
+ $this->validateLength($length);
+
+ return $this->binToHex(random_bytes($length), $length);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/UrandomPseudoRandomStringGenerator.php b/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/UrandomPseudoRandomStringGenerator.php
new file mode 100644
index 00000000..5ab434e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/PseudoRandomString/UrandomPseudoRandomStringGenerator.php
@@ -0,0 +1,89 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\PseudoRandomString;
+
+use Facebook\Exceptions\FacebookSDKException;
+
+class UrandomPseudoRandomStringGenerator implements PseudoRandomStringGeneratorInterface
+{
+
+ use PseudoRandomStringGeneratorTrait;
+
+ /**
+ * @const string The error message when generating the string fails.
+ */
+ const ERROR_MESSAGE = 'Unable to generate a cryptographically secure pseudo-random string from /dev/urandom. ';
+
+ /**
+ * @throws FacebookSDKException
+ */
+ public function __construct()
+ {
+ if (ini_get('open_basedir')) {
+ throw new FacebookSDKException(
+ static::ERROR_MESSAGE .
+ 'There is an open_basedir constraint that prevents access to /dev/urandom.'
+ );
+ }
+
+ if (!is_readable('/dev/urandom')) {
+ throw new FacebookSDKException(
+ static::ERROR_MESSAGE .
+ 'Unable to read from /dev/urandom.'
+ );
+ }
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function getPseudoRandomString($length)
+ {
+ $this->validateLength($length);
+
+ $stream = fopen('/dev/urandom', 'rb');
+ if (!is_resource($stream)) {
+ throw new FacebookSDKException(
+ static::ERROR_MESSAGE .
+ 'Unable to open stream to /dev/urandom.'
+ );
+ }
+
+ if (!defined('HHVM_VERSION')) {
+ stream_set_read_buffer($stream, 0);
+ }
+
+ $binaryString = fread($stream, $length);
+ fclose($stream);
+
+ if (!$binaryString) {
+ throw new FacebookSDKException(
+ static::ERROR_MESSAGE .
+ 'Stream to /dev/urandom returned no data.'
+ );
+ }
+
+ return $this->binToHex($binaryString, $length);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/SignedRequest.php b/mayor-orig/mayor-base/www/include/share/facebook/SignedRequest.php
new file mode 100644
index 00000000..6a175a0a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/SignedRequest.php
@@ -0,0 +1,326 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook;
+
+use Facebook\Exceptions\FacebookSDKException;
+
+/**
+ * Class SignedRequest
+ *
+ * @package Facebook
+ */
+class SignedRequest
+{
+ /**
+ * @var FacebookApp The FacebookApp entity.
+ */
+ protected $app;
+
+ /**
+ * @var string The raw encrypted signed request.
+ */
+ protected $rawSignedRequest;
+
+ /**
+ * @var array The payload from the decrypted signed request.
+ */
+ protected $payload;
+
+ /**
+ * Instantiate a new SignedRequest entity.
+ *
+ * @param FacebookApp $facebookApp The FacebookApp entity.
+ * @param string|null $rawSignedRequest The raw signed request.
+ */
+ public function __construct(FacebookApp $facebookApp, $rawSignedRequest = null)
+ {
+ $this->app = $facebookApp;
+
+ if (!$rawSignedRequest) {
+ return;
+ }
+
+ $this->rawSignedRequest = $rawSignedRequest;
+
+ $this->parse();
+ }
+
+ /**
+ * Returns the raw signed request data.
+ *
+ * @return string|null
+ */
+ public function getRawSignedRequest()
+ {
+ return $this->rawSignedRequest;
+ }
+
+ /**
+ * Returns the parsed signed request data.
+ *
+ * @return array|null
+ */
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+
+ /**
+ * Returns a property from the signed request data if available.
+ *
+ * @param string $key
+ * @param mixed|null $default
+ *
+ * @return mixed|null
+ */
+ public function get($key, $default = null)
+ {
+ if (isset($this->payload[$key])) {
+ return $this->payload[$key];
+ }
+
+ return $default;
+ }
+
+ /**
+ * Returns user_id from signed request data if available.
+ *
+ * @return string|null
+ */
+ public function getUserId()
+ {
+ return $this->get('user_id');
+ }
+
+ /**
+ * Checks for OAuth data in the payload.
+ *
+ * @return boolean
+ */
+ public function hasOAuthData()
+ {
+ return $this->get('oauth_token') || $this->get('code');
+ }
+
+ /**
+ * Creates a signed request from an array of data.
+ *
+ * @param array $payload
+ *
+ * @return string
+ */
+ public function make(array $payload)
+ {
+ $payload['algorithm'] = isset($payload['algorithm']) ? $payload['algorithm'] : 'HMAC-SHA256';
+ $payload['issued_at'] = isset($payload['issued_at']) ? $payload['issued_at'] : time();
+ $encodedPayload = $this->base64UrlEncode(json_encode($payload));
+
+ $hashedSig = $this->hashSignature($encodedPayload);
+ $encodedSig = $this->base64UrlEncode($hashedSig);
+
+ return $encodedSig . '.' . $encodedPayload;
+ }
+
+ /**
+ * Validates and decodes a signed request and saves
+ * the payload to an array.
+ */
+ protected function parse()
+ {
+ list($encodedSig, $encodedPayload) = $this->split();
+
+ // Signature validation
+ $sig = $this->decodeSignature($encodedSig);
+ $hashedSig = $this->hashSignature($encodedPayload);
+ $this->validateSignature($hashedSig, $sig);
+
+ $this->payload = $this->decodePayload($encodedPayload);
+
+ // Payload validation
+ $this->validateAlgorithm();
+ }
+
+ /**
+ * Splits a raw signed request into signature and payload.
+ *
+ * @return array
+ *
+ * @throws FacebookSDKException
+ */
+ protected function split()
+ {
+ if (strpos($this->rawSignedRequest, '.') === false) {
+ throw new FacebookSDKException('Malformed signed request.', 606);
+ }
+
+ return explode('.', $this->rawSignedRequest, 2);
+ }
+
+ /**
+ * Decodes the raw signature from a signed request.
+ *
+ * @param string $encodedSig
+ *
+ * @return string
+ *
+ * @throws FacebookSDKException
+ */
+ protected function decodeSignature($encodedSig)
+ {
+ $sig = $this->base64UrlDecode($encodedSig);
+
+ if (!$sig) {
+ throw new FacebookSDKException('Signed request has malformed encoded signature data.', 607);
+ }
+
+ return $sig;
+ }
+
+ /**
+ * Decodes the raw payload from a signed request.
+ *
+ * @param string $encodedPayload
+ *
+ * @return array
+ *
+ * @throws FacebookSDKException
+ */
+ protected function decodePayload($encodedPayload)
+ {
+ $payload = $this->base64UrlDecode($encodedPayload);
+
+ if ($payload) {
+ $payload = json_decode($payload, true);
+ }
+
+ if (!is_array($payload)) {
+ throw new FacebookSDKException('Signed request has malformed encoded payload data.', 607);
+ }
+
+ return $payload;
+ }
+
+ /**
+ * Validates the algorithm used in a signed request.
+ *
+ * @throws FacebookSDKException
+ */
+ protected function validateAlgorithm()
+ {
+ if ($this->get('algorithm') !== 'HMAC-SHA256') {
+ throw new FacebookSDKException('Signed request is using the wrong algorithm.', 605);
+ }
+ }
+
+ /**
+ * Hashes the signature used in a signed request.
+ *
+ * @param string $encodedData
+ *
+ * @return string
+ *
+ * @throws FacebookSDKException
+ */
+ protected function hashSignature($encodedData)
+ {
+ $hashedSig = hash_hmac(
+ 'sha256',
+ $encodedData,
+ $this->app->getSecret(),
+ $raw_output = true
+ );
+
+ if (!$hashedSig) {
+ throw new FacebookSDKException('Unable to hash signature from encoded payload data.', 602);
+ }
+
+ return $hashedSig;
+ }
+
+ /**
+ * Validates the signature used in a signed request.
+ *
+ * @param string $hashedSig
+ * @param string $sig
+ *
+ * @throws FacebookSDKException
+ */
+ protected function validateSignature($hashedSig, $sig)
+ {
+ if (\hash_equals($hashedSig, $sig)) {
+ return;
+ }
+
+ throw new FacebookSDKException('Signed request has an invalid signature.', 602);
+ }
+
+ /**
+ * Base64 decoding which replaces characters:
+ * + instead of -
+ * / instead of _
+ *
+ * @link http://en.wikipedia.org/wiki/Base64#URL_applications
+ *
+ * @param string $input base64 url encoded input
+ *
+ * @return string decoded string
+ */
+ public function base64UrlDecode($input)
+ {
+ $urlDecodedBase64 = strtr($input, '-_', '+/');
+ $this->validateBase64($urlDecodedBase64);
+
+ return base64_decode($urlDecodedBase64);
+ }
+
+ /**
+ * Base64 encoding which replaces characters:
+ * + instead of -
+ * / instead of _
+ *
+ * @link http://en.wikipedia.org/wiki/Base64#URL_applications
+ *
+ * @param string $input string to encode
+ *
+ * @return string base64 url encoded input
+ */
+ public function base64UrlEncode($input)
+ {
+ return strtr(base64_encode($input), '+/', '-_');
+ }
+
+ /**
+ * Validates a base64 string.
+ *
+ * @param string $input base64 value to validate
+ *
+ * @throws FacebookSDKException
+ */
+ protected function validateBase64($input)
+ {
+ if (!preg_match('/^[a-zA-Z0-9\/\r\n+]*={0,2}$/', $input)) {
+ throw new FacebookSDKException('Signed request contains malformed base64 encoding.', 608);
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Url/FacebookUrlDetectionHandler.php b/mayor-orig/mayor-base/www/include/share/facebook/Url/FacebookUrlDetectionHandler.php
new file mode 100644
index 00000000..1d134ddc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Url/FacebookUrlDetectionHandler.php
@@ -0,0 +1,182 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Url;
+
+/**
+ * Class FacebookUrlDetectionHandler
+ *
+ * @package Facebook
+ */
+class FacebookUrlDetectionHandler implements UrlDetectionInterface
+{
+ /**
+ * @inheritdoc
+ */
+ public function getCurrentUrl()
+ {
+ return $this->getHttpScheme() . '://' . $this->getHostName() . $this->getServerVar('REQUEST_URI');
+ }
+
+ /**
+ * Get the currently active URL scheme.
+ *
+ * @return string
+ */
+ protected function getHttpScheme()
+ {
+ return $this->isBehindSsl() ? 'https' : 'http';
+ }
+
+ /**
+ * Tries to detect if the server is running behind an SSL.
+ *
+ * @return boolean
+ */
+ protected function isBehindSsl()
+ {
+ // Check for proxy first
+ $protocol = $this->getHeader('X_FORWARDED_PROTO');
+ if ($protocol) {
+ return $this->protocolWithActiveSsl($protocol);
+ }
+
+ $protocol = $this->getServerVar('HTTPS');
+ if ($protocol) {
+ return $this->protocolWithActiveSsl($protocol);
+ }
+
+ return (string)$this->getServerVar('SERVER_PORT') === '443';
+ }
+
+ /**
+ * Detects an active SSL protocol value.
+ *
+ * @param string $protocol
+ *
+ * @return boolean
+ */
+ protected function protocolWithActiveSsl($protocol)
+ {
+ $protocol = strtolower((string)$protocol);
+
+ return in_array($protocol, ['on', '1', 'https', 'ssl'], true);
+ }
+
+ /**
+ * Tries to detect the host name of the server.
+ *
+ * Some elements adapted from
+ *
+ * @see https://github.com/symfony/HttpFoundation/blob/master/Request.php
+ *
+ * @return string
+ */
+ protected function getHostName()
+ {
+ // Check for proxy first
+ $header = $this->getHeader('X_FORWARDED_HOST');
+ if ($header && $this->isValidForwardedHost($header)) {
+ $elements = explode(',', $header);
+ $host = $elements[count($elements) - 1];
+ } elseif (!$host = $this->getHeader('HOST')) {
+ if (!$host = $this->getServerVar('SERVER_NAME')) {
+ $host = $this->getServerVar('SERVER_ADDR');
+ }
+ }
+
+ // trim and remove port number from host
+ // host is lowercase as per RFC 952/2181
+ $host = strtolower(preg_replace('/:\d+$/', '', trim($host)));
+
+ // Port number
+ $scheme = $this->getHttpScheme();
+ $port = $this->getCurrentPort();
+ $appendPort = ':' . $port;
+
+ // Don't append port number if a normal port.
+ if (($scheme == 'http' && $port == '80') || ($scheme == 'https' && $port == '443')) {
+ $appendPort = '';
+ }
+
+ return $host . $appendPort;
+ }
+
+ protected function getCurrentPort()
+ {
+ // Check for proxy first
+ $port = $this->getHeader('X_FORWARDED_PORT');
+ if ($port) {
+ return (string)$port;
+ }
+
+ $protocol = (string)$this->getHeader('X_FORWARDED_PROTO');
+ if ($protocol === 'https') {
+ return '443';
+ }
+
+ return (string)$this->getServerVar('SERVER_PORT');
+ }
+
+ /**
+ * Returns the a value from the $_SERVER super global.
+ *
+ * @param string $key
+ *
+ * @return string
+ */
+ protected function getServerVar($key)
+ {
+ return isset($_SERVER[$key]) ? $_SERVER[$key] : '';
+ }
+
+ /**
+ * Gets a value from the HTTP request headers.
+ *
+ * @param string $key
+ *
+ * @return string
+ */
+ protected function getHeader($key)
+ {
+ return $this->getServerVar('HTTP_' . $key);
+ }
+
+ /**
+ * Checks if the value in X_FORWARDED_HOST is a valid hostname
+ * Could prevent unintended redirections
+ *
+ * @param string $header
+ *
+ * @return boolean
+ */
+ protected function isValidForwardedHost($header)
+ {
+ $elements = explode(',', $header);
+ $host = $elements[count($elements) - 1];
+
+ return preg_match("/^([a-z\d](-*[a-z\d])*)(\.([a-z\d](-*[a-z\d])*))*$/i", $host) //valid chars check
+ && 0 < strlen($host) && strlen($host) < 254 //overall length check
+ && preg_match("/^[^\.]{1,63}(\.[^\.]{1,63})*$/", $host); //length of each label
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Url/FacebookUrlManipulator.php b/mayor-orig/mayor-base/www/include/share/facebook/Url/FacebookUrlManipulator.php
new file mode 100644
index 00000000..daeab9c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Url/FacebookUrlManipulator.php
@@ -0,0 +1,167 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Url;
+
+/**
+ * Class FacebookUrlManipulator
+ *
+ * @package Facebook
+ */
+class FacebookUrlManipulator
+{
+ /**
+ * Remove params from a URL.
+ *
+ * @param string $url The URL to filter.
+ * @param array $paramsToFilter The params to filter from the URL.
+ *
+ * @return string The URL with the params removed.
+ */
+ public static function removeParamsFromUrl($url, array $paramsToFilter)
+ {
+ $parts = parse_url($url);
+
+ $query = '';
+ if (isset($parts['query'])) {
+ $params = [];
+ parse_str($parts['query'], $params);
+
+ // Remove query params
+ foreach ($paramsToFilter as $paramName) {
+ unset($params[$paramName]);
+ }
+
+ if (count($params) > 0) {
+ $query = '?' . http_build_query($params, null, '&');
+ }
+ }
+
+ $scheme = isset($parts['scheme']) ? $parts['scheme'] . '://' : '';
+ $host = isset($parts['host']) ? $parts['host'] : '';
+ $port = isset($parts['port']) ? ':' . $parts['port'] : '';
+ $path = isset($parts['path']) ? $parts['path'] : '';
+ $fragment = isset($parts['fragment']) ? '#' . $parts['fragment'] : '';
+
+ return $scheme . $host . $port . $path . $query . $fragment;
+ }
+
+ /**
+ * Gracefully appends params to the URL.
+ *
+ * @param string $url The URL that will receive the params.
+ * @param array $newParams The params to append to the URL.
+ *
+ * @return string
+ */
+ public static function appendParamsToUrl($url, array $newParams = [])
+ {
+ if (empty($newParams)) {
+ return $url;
+ }
+
+ if (strpos($url, '?') === false) {
+ return $url . '?' . http_build_query($newParams, null, '&');
+ }
+
+ list($path, $query) = explode('?', $url, 2);
+ $existingParams = [];
+ parse_str($query, $existingParams);
+
+ // Favor params from the original URL over $newParams
+ $newParams = array_merge($newParams, $existingParams);
+
+ // Sort for a predicable order
+ ksort($newParams);
+
+ return $path . '?' . http_build_query($newParams, null, '&');
+ }
+
+ /**
+ * Returns the params from a URL in the form of an array.
+ *
+ * @param string $url The URL to parse the params from.
+ *
+ * @return array
+ */
+ public static function getParamsAsArray($url)
+ {
+ $query = parse_url($url, PHP_URL_QUERY);
+ if (!$query) {
+ return [];
+ }
+ $params = [];
+ parse_str($query, $params);
+
+ return $params;
+ }
+
+ /**
+ * Adds the params of the first URL to the second URL.
+ *
+ * Any params that already exist in the second URL will go untouched.
+ *
+ * @param string $urlToStealFrom The URL harvest the params from.
+ * @param string $urlToAddTo The URL that will receive the new params.
+ *
+ * @return string The $urlToAddTo with any new params from $urlToStealFrom.
+ */
+ public static function mergeUrlParams($urlToStealFrom, $urlToAddTo)
+ {
+ $newParams = static::getParamsAsArray($urlToStealFrom);
+ // Nothing new to add, return as-is
+ if (!$newParams) {
+ return $urlToAddTo;
+ }
+
+ return static::appendParamsToUrl($urlToAddTo, $newParams);
+ }
+
+ /**
+ * Check for a "/" prefix and prepend it if not exists.
+ *
+ * @param string|null $string
+ *
+ * @return string|null
+ */
+ public static function forceSlashPrefix($string)
+ {
+ if (!$string) {
+ return $string;
+ }
+
+ return strpos($string, '/') === 0 ? $string : '/' . $string;
+ }
+
+ /**
+ * Trims off the hostname and Graph version from a URL.
+ *
+ * @param string $urlToTrim The URL the needs the surgery.
+ *
+ * @return string The $urlToTrim with the hostname and Graph version removed.
+ */
+ public static function baseGraphUrlEndpoint($urlToTrim)
+ {
+ return '/' . preg_replace('/^https:\/\/.+\.facebook\.com(\/v.+?)?\//', '', $urlToTrim);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/Url/UrlDetectionInterface.php b/mayor-orig/mayor-base/www/include/share/facebook/Url/UrlDetectionInterface.php
new file mode 100644
index 00000000..dca38a0c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/Url/UrlDetectionInterface.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+namespace Facebook\Url;
+
+/**
+ * Interface UrlDetectionInterface
+ *
+ * @package Facebook
+ */
+interface UrlDetectionInterface
+{
+ /**
+ * Get the currently active URL.
+ *
+ * @return string
+ */
+ public function getCurrentUrl();
+}
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/autoload.php b/mayor-orig/mayor-base/www/include/share/facebook/autoload.php
new file mode 100644
index 00000000..e0dd21c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/autoload.php
@@ -0,0 +1,81 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+
+/**
+ * You only need this file if you are not using composer.
+ * Why are you not using composer?
+ * https://getcomposer.org/
+ */
+
+if (version_compare(PHP_VERSION, '5.4.0', '<')) {
+ throw new Exception('The Facebook SDK requires PHP version 5.4 or higher.');
+}
+
+require_once __DIR__ . '/polyfills.php';
+
+/**
+ * Register the autoloader for the Facebook SDK classes.
+ *
+ * Based off the official PSR-4 autoloader example found here:
+ * https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader-examples.md
+ *
+ * @param string $class The fully-qualified class name.
+ *
+ * @return void
+ */
+spl_autoload_register(function ($class) {
+ // project-specific namespace prefix
+ $prefix = 'Facebook\\';
+
+ // For backwards compatibility
+ $customBaseDir = '';
+ // @todo v6: Remove support for 'FACEBOOK_SDK_V4_SRC_DIR'
+ if (defined('FACEBOOK_SDK_V4_SRC_DIR')) {
+ $customBaseDir = FACEBOOK_SDK_V4_SRC_DIR;
+ } elseif (defined('FACEBOOK_SDK_SRC_DIR')) {
+ $customBaseDir = FACEBOOK_SDK_SRC_DIR;
+ }
+ // base directory for the namespace prefix
+ $baseDir = $customBaseDir ?: __DIR__ . '/';
+
+ // does the class use the namespace prefix?
+ $len = strlen($prefix);
+ if (strncmp($prefix, $class, $len) !== 0) {
+ // no, move to the next registered autoloader
+ return;
+ }
+
+ // get the relative class name
+ $relativeClass = substr($class, $len);
+
+ // replace the namespace prefix with the base directory, replace namespace
+ // separators with directory separators in the relative class name, append
+ // with .php
+ $file = rtrim($baseDir, '/') . '/' . str_replace('\\', '/', $relativeClass) . '.php';
+
+ // if the file exists, require it
+ if (file_exists($file)) {
+ require $file;
+ }
+});
diff --git a/mayor-orig/mayor-base/www/include/share/facebook/polyfills.php b/mayor-orig/mayor-base/www/include/share/facebook/polyfills.php
new file mode 100644
index 00000000..4a67d863
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/facebook/polyfills.php
@@ -0,0 +1,49 @@
+<?php
+/**
+ * Copyright 2017 Facebook, Inc.
+ *
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
+ * use, copy, modify, and distribute this software in source code or binary
+ * form for use in connection with the web services and APIs provided by
+ * Facebook.
+ *
+ * As with any software that integrates with the Facebook platform, your use
+ * of this software is subject to the Facebook Developer Principles and
+ * Policies [http://developers.facebook.com/policy/]. This copyright 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.
+ *
+ */
+
+/**
+ * @see https://github.com/sarciszewski/php-future/blob/master/src/Security.php#L37-L51
+ */
+if (!function_exists('hash_equals')) {
+ function hash_equals($knownString, $userString)
+ {
+ if (function_exists('mb_strlen')) {
+ $kLen = mb_strlen($knownString, '8bit');
+ $uLen = mb_strlen($userString, '8bit');
+ } else {
+ $kLen = strlen($knownString);
+ $uLen = strlen($userString);
+ }
+ if ($kLen !== $uLen) {
+ return false;
+ }
+ $result = 0;
+ for ($i = 0; $i < $kLen; $i++) {
+ $result |= (ord($knownString[$i]) ^ ord($userString[$i]));
+ }
+
+ // They are only identical strings if $result is exactly 0...
+ return 0 === $result;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/gd/imagefilter.php b/mayor-orig/mayor-base/www/include/share/gd/imagefilter.php
new file mode 100644
index 00000000..908b4407
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/gd/imagefilter.php
@@ -0,0 +1,252 @@
+<?php
+
+//include this file whenever you have to use imageconvolution...
+//This is licensed either GPL3 or public domain, pick the one you like
+//you can use in your project, but keep the comment below :)
+//great for any image manipulation library
+//Made by Chao Xu(Mgccl) 3/1/07
+//www.webdevlogs.com
+//V 1.0
+if(!function_exists('imagefilter')){
+
+define('IMG_FILTER_NEGATE',0);
+define('IMG_FILTER_GRAYSCALE',0);
+define('IMG_FILTER_BRIGHTNESS',2);
+define('IMG_FILTER_CONTRAST',3);
+define('IMG_FILTER_COLORIZE',4);
+define('IMG_FILTER_EDGEDETECT',5);
+define('IMG_FILTER_EMBOSS',6);
+define('IMG_FILTER_GAUSSIAN_BLUR',7);
+define('IMG_FILTER_SELECTIVE_BLUR',8);
+define('IMG_FILTER_MEAN_REMOVAL',9);
+define('IMG_FILTER_SMOOTH',10);
+
+
+function imagefilter($source, $var, $arg1 = null, $arg2 = null, $arg3 = null){
+#define('IMAGE_FILTER_NEGATE',0);
+#define('IMAGE_FILTER_GRAYSCALE',0);
+#define('IMAGE_FILTER_BRIGHTNESS',2);
+#define('IMAGE_FILTER_CONTRAST',3);
+#define('IMAGE_FILTER_COLORIZE',4);
+#define('IMAGE_FILTER_EDGEDETECT',5);
+#define('IMAGE_FILTER_EMBOSS',6);
+#define('IMAGE_FILTER_GAUSSIAN_BLUR',7);
+#define('IMAGE_FILTER_SELECTIVE_BLUR',8);
+#define('IMAGE_FILTER_MEAN_REMOVAL',9);
+#define('IMAGE_FILTER_SMOOTH',10);
+$max_y = imagesy($source);
+$max_x = imagesx($source);
+ switch ($var){
+ case 0:
+ $y = 0;
+ while($y<$max_y) {
+ $x = 0;
+ while($x<$max_x){
+ $rgb = imagecolorat($source,$x,$y);
+ $r = 255 - (($rgb >> 16) & 0xFF);
+ $g = 255 - (($rgb >> 8) & 0xFF);
+ $b = 255 - ($rgb & 0xFF);
+ $a = $rgb >> 24;
+ $new_pxl = imagecolorallocatealpha($source, $r, $g, $b, $a);
+ if ($new_pxl == false){
+ $new_pxl = imagecolorclosestalpha($source, $r, $g, $b, $a);
+ }
+ imagesetpixel($source,$x,$y,$new_pxl);
+ ++$x;
+ }
+ ++$y;
+ }
+ return true;
+ break;
+ case 1:
+ $y = 0;
+ while($y<$max_y) {
+ $x = 0;
+ while($x<$max_x){
+ $rgb = imagecolorat($source,$x,$y);
+ $a = $rgb >> 24;
+ $r = ((($rgb >> 16) & 0xFF)*0.299)+((($rgb >> 8) & 0xFF)*0.587)+(($rgb & 0xFF)*0.114);
+ $new_pxl = imagecolorallocatealpha($source, $r, $r, $r, $a);
+ if ($new_pxl == false){
+ $new_pxl = imagecolorclosestalpha($source, $r, $r, $r, $a);
+ }
+ imagesetpixel($source,$x,$y,$new_pxl);
+ ++$x;
+ }
+ ++$y;
+ }
+ return true;
+ break;
+ case 2:
+ $y = 0;
+ while($y<$max_y) {
+ $x = 0;
+ while($x<$max_x){
+ $rgb = imagecolorat($source,$x,$y);
+ $r = (($rgb >> 16) & 0xFF) + $arg1;
+ $g = (($rgb >> 8) & 0xFF) + $arg1;
+ $b = ($rgb & 0xFF) + $arg1;
+ $a = $rgb >> 24;
+ $r = ($r > 255)? 255 : (($r < 0)? 0:$r);
+ $g = ($g > 255)? 255 : (($g < 0)? 0:$g);
+ $b = ($b > 255)? 255 : (($b < 0)? 0:$b);
+ $new_pxl = imagecolorallocatealpha($source, $r, $g, $b, $a);
+ if ($new_pxl == false){
+ $new_pxl = imagecolorclosestalpha($source, $r, $g, $b, $a);
+ }
+ imagesetpixel($source,$x,$y,$new_pxl);
+ ++$x;
+ }
+ ++$y;
+ }
+ return true;
+ break;
+ case 3:
+ $contrast = pow((100-$arg1)/100,2);
+ $y = 0;
+ while($y<$max_y) {
+ $x = 0;
+ while($x<$max_x){
+ $rgb = imagecolorat($source,$x,$y);
+ $a = $rgb >> 24;
+ $r = (((((($rgb >> 16) & 0xFF)/255)-0.5)*$contrast)+0.5)*255;
+ $g = (((((($rgb >> 8) & 0xFF)/255)-0.5)*$contrast)+0.5)*255;
+ $b = ((((($rgb & 0xFF)/255)-0.5)*$contrast)+0.5)*255;
+ $r = ($r > 255)? 255 : (($r < 0)? 0:$r);
+ $g = ($g > 255)? 255 : (($g < 0)? 0:$g);
+ $b = ($b > 255)? 255 : (($b < 0)? 0:$b);
+ $new_pxl = imagecolorallocatealpha($source, $r, $g, $b, $a);
+ if ($new_pxl == false){
+ $new_pxl = imagecolorclosestalpha($source, $r, $g, $b, $a);
+ }
+ imagesetpixel($source,$x,$y,$new_pxl);
+ ++$x;
+ }
+ ++$y;
+ }
+ return true;
+ break;
+ case 4:
+ $x = 0;
+ while($x<$max_x){
+ $y = 0;
+ while($y<$max_y){
+ $rgb = imagecolorat($source, $x, $y);
+ $r = (($rgb >> 16) & 0xFF) + $arg1;
+ $g = (($rgb >> 8) & 0xFF) + $arg2;
+ $b = ($rgb & 0xFF) + $arg3;
+ $a = $rgb >> 24;
+ $r = ($r > 255)? 255 : (($r < 0)? 0:$r);
+ $g = ($g > 255)? 255 : (($g < 0)? 0:$g);
+ $b = ($b > 255)? 255 : (($b < 0)? 0:$b);
+ $new_pxl = imagecolorallocatealpha($source, $r, $g, $b, $a);
+ if ($new_pxl == false){
+ $new_pxl = imagecolorclosestalpha($source, $r, $g, $b, $a);
+ }
+ imagesetpixel($source,$x,$y,$new_pxl);
+ ++$y;
+ }
+ ++$x;
+ }
+ return true;
+ break;
+ case 5:
+ return imageconvolution($source, array(array(-1,0,-1), array(0,4,0), array(-1,0,-1)), 1, 127);
+ break;
+ case 6:
+ return imageconvolution($source, array(array(1.5, 0, 0), array(0, 0, 0), array(0, 0, -1.5)), 1, 127);
+ break;
+ case 7:
+ return imageconvolution($source, array(array(1, 2, 1), array(2, 4, 2), array(1, 2, 1)), 16, 0);
+ break;
+ case 8:
+ for($y = 0; $y<$max_y; $y++) {
+ for ($x = 0; $x<$max_x; $x++) {
+ $flt_r_sum = $flt_g_sum = $flt_b_sum = 0;
+ $cpxl = imagecolorat($source, $x, $y);
+ for ($j=0; $j<3; $j++) {
+ for ($i=0; $i<3; $i++) {
+ if (($j == 1) && ($i == 1)) {
+ $flt_r[1][1] = $flt_g[1][1] = $flt_b[1][1] = 0.5;
+ } else {
+ $pxl = imagecolorat($source, $x-(3>>1)+$i, $y-(3>>1)+$j);
+
+ $new_a = $pxl >> 24;
+ //$r = (($pxl >> 16) & 0xFF);
+ //$g = (($pxl >> 8) & 0xFF);
+ //$b = ($pxl & 0xFF);
+ $new_r = abs((($cpxl >> 16) & 0xFF) - (($pxl >> 16) & 0xFF));
+ if ($new_r != 0) {
+ $flt_r[$j][$i] = 1/$new_r;
+ } else {
+ $flt_r[$j][$i] = 1;
+ }
+
+ $new_g = abs((($cpxl >> 8) & 0xFF) - (($pxl >> 8) & 0xFF));
+ if ($new_g != 0) {
+ $flt_g[$j][$i] = 1/$new_g;
+ } else {
+ $flt_g[$j][$i] = 1;
+ }
+
+ $new_b = abs(($cpxl & 0xFF) - ($pxl & 0xFF));
+ if ($new_b != 0) {
+ $flt_b[$j][$i] = 1/$new_b;
+ } else {
+ $flt_b[$j][$i] = 1;
+ }
+ }
+
+ $flt_r_sum += $flt_r[$j][$i];
+ $flt_g_sum += $flt_g[$j][$i];
+ $flt_b_sum += $flt_b[$j][$i];
+ }
+ }
+
+ for ($j=0; $j<3; $j++) {
+ for ($i=0; $i<3; $i++) {
+ if ($flt_r_sum != 0) {
+ $flt_r[$j][$i] /= $flt_r_sum;
+ }
+ if ($flt_g_sum != 0) {
+ $flt_g[$j][$i] /= $flt_g_sum;
+ }
+ if ($flt_b_sum != 0) {
+ $flt_b[$j][$i] /= $flt_b_sum;
+ }
+ }
+ }
+
+ $new_r = $new_g = $new_b = 0;
+
+ for ($j=0; $j<3; $j++) {
+ for ($i=0; $i<3; $i++) {
+ $pxl = imagecolorat($source, $x-(3>>1)+$i, $y-(3>>1)+$j);
+ $new_r += (($pxl >> 16) & 0xFF) * $flt_r[$j][$i];
+ $new_g += (($pxl >> 8) & 0xFF) * $flt_g[$j][$i];
+ $new_b += ($pxl & 0xFF) * $flt_b[$j][$i];
+ }
+ }
+
+ $new_r = ($new_r > 255)? 255 : (($new_r < 0)? 0:$new_r);
+ $new_g = ($new_g > 255)? 255 : (($new_g < 0)? 0:$new_g);
+ $new_b = ($new_b > 255)? 255 : (($new_b < 0)? 0:$new_b);
+ $new_pxl = ImageColorAllocateAlpha($source, (int)$new_r, (int)$new_g, (int)$new_b, $new_a);
+ if ($new_pxl == false) {
+ $new_pxl = ImageColorClosestAlpha($source, (int)$new_r, (int)$new_g, (int)$new_b, $new_a);
+ }
+ imagesetpixel($source,$x,$y,$new_pxl);
+ }
+ }
+ return true;
+ break;
+ case 9:
+ return imageconvolution($source, array(array(-1,-1,-1),array(-1,9,-1),array(-1,-1,-1)), 1, 0);
+ break;
+ case 10:
+ return imageconvolution($source, array(array(1,1,1),array(1,$arg1,1),array(1,1,1)), $arg1+8, 0);
+ break;
+ }
+}
+}
+?>
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/autoload.php b/mayor-orig/mayor-base/www/include/share/googleapi/autoload.php
new file mode 100644
index 00000000..f51c20c0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/autoload.php
@@ -0,0 +1,7 @@
+<?php
+
+// autoload.php @generated by Composer
+
+require_once __DIR__ . '/composer/autoload_real.php';
+
+return ComposerAutoloaderInit93fe46837b05a1a7f3fe21c3c3d374b7::getLoader();
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/composer/ClassLoader.php b/mayor-orig/mayor-base/www/include/share/googleapi/composer/ClassLoader.php
new file mode 100644
index 00000000..2c72175e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/composer/ClassLoader.php
@@ -0,0 +1,445 @@
+<?php
+
+/*
+ * This file is part of Composer.
+ *
+ * (c) Nils Adermann <naderman@naderman.de>
+ * Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Composer\Autoload;
+
+/**
+ * ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
+ *
+ * $loader = new \Composer\Autoload\ClassLoader();
+ *
+ * // register classes with namespaces
+ * $loader->add('Symfony\Component', __DIR__.'/component');
+ * $loader->add('Symfony', __DIR__.'/framework');
+ *
+ * // activate the autoloader
+ * $loader->register();
+ *
+ * // to enable searching the include path (eg. for PEAR packages)
+ * $loader->setUseIncludePath(true);
+ *
+ * In this example, if you try to use a class in the Symfony\Component
+ * namespace or one of its children (Symfony\Component\Console for instance),
+ * the autoloader will first look for the class under the component/
+ * directory, and it will then fallback to the framework/ directory if not
+ * found before giving up.
+ *
+ * This class is loosely based on the Symfony UniversalClassLoader.
+ *
+ * @author Fabien Potencier <fabien@symfony.com>
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ * @see http://www.php-fig.org/psr/psr-0/
+ * @see http://www.php-fig.org/psr/psr-4/
+ */
+class ClassLoader
+{
+ // PSR-4
+ private $prefixLengthsPsr4 = array();
+ private $prefixDirsPsr4 = array();
+ private $fallbackDirsPsr4 = array();
+
+ // PSR-0
+ private $prefixesPsr0 = array();
+ private $fallbackDirsPsr0 = array();
+
+ private $useIncludePath = false;
+ private $classMap = array();
+ private $classMapAuthoritative = false;
+ private $missingClasses = array();
+ private $apcuPrefix;
+
+ public function getPrefixes()
+ {
+ if (!empty($this->prefixesPsr0)) {
+ return call_user_func_array('array_merge', $this->prefixesPsr0);
+ }
+
+ return array();
+ }
+
+ public function getPrefixesPsr4()
+ {
+ return $this->prefixDirsPsr4;
+ }
+
+ public function getFallbackDirs()
+ {
+ return $this->fallbackDirsPsr0;
+ }
+
+ public function getFallbackDirsPsr4()
+ {
+ return $this->fallbackDirsPsr4;
+ }
+
+ public function getClassMap()
+ {
+ return $this->classMap;
+ }
+
+ /**
+ * @param array $classMap Class to filename map
+ */
+ public function addClassMap(array $classMap)
+ {
+ if ($this->classMap) {
+ $this->classMap = array_merge($this->classMap, $classMap);
+ } else {
+ $this->classMap = $classMap;
+ }
+ }
+
+ /**
+ * Registers a set of PSR-0 directories for a given prefix, either
+ * appending or prepending to the ones previously set for this prefix.
+ *
+ * @param string $prefix The prefix
+ * @param array|string $paths The PSR-0 root directories
+ * @param bool $prepend Whether to prepend the directories
+ */
+ public function add($prefix, $paths, $prepend = false)
+ {
+ if (!$prefix) {
+ if ($prepend) {
+ $this->fallbackDirsPsr0 = array_merge(
+ (array) $paths,
+ $this->fallbackDirsPsr0
+ );
+ } else {
+ $this->fallbackDirsPsr0 = array_merge(
+ $this->fallbackDirsPsr0,
+ (array) $paths
+ );
+ }
+
+ return;
+ }
+
+ $first = $prefix[0];
+ if (!isset($this->prefixesPsr0[$first][$prefix])) {
+ $this->prefixesPsr0[$first][$prefix] = (array) $paths;
+
+ return;
+ }
+ if ($prepend) {
+ $this->prefixesPsr0[$first][$prefix] = array_merge(
+ (array) $paths,
+ $this->prefixesPsr0[$first][$prefix]
+ );
+ } else {
+ $this->prefixesPsr0[$first][$prefix] = array_merge(
+ $this->prefixesPsr0[$first][$prefix],
+ (array) $paths
+ );
+ }
+ }
+
+ /**
+ * Registers a set of PSR-4 directories for a given namespace, either
+ * appending or prepending to the ones previously set for this namespace.
+ *
+ * @param string $prefix The prefix/namespace, with trailing '\\'
+ * @param array|string $paths The PSR-4 base directories
+ * @param bool $prepend Whether to prepend the directories
+ *
+ * @throws \InvalidArgumentException
+ */
+ public function addPsr4($prefix, $paths, $prepend = false)
+ {
+ if (!$prefix) {
+ // Register directories for the root namespace.
+ if ($prepend) {
+ $this->fallbackDirsPsr4 = array_merge(
+ (array) $paths,
+ $this->fallbackDirsPsr4
+ );
+ } else {
+ $this->fallbackDirsPsr4 = array_merge(
+ $this->fallbackDirsPsr4,
+ (array) $paths
+ );
+ }
+ } elseif (!isset($this->prefixDirsPsr4[$prefix])) {
+ // Register directories for a new namespace.
+ $length = strlen($prefix);
+ if ('\\' !== $prefix[$length - 1]) {
+ throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
+ }
+ $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
+ $this->prefixDirsPsr4[$prefix] = (array) $paths;
+ } elseif ($prepend) {
+ // Prepend directories for an already registered namespace.
+ $this->prefixDirsPsr4[$prefix] = array_merge(
+ (array) $paths,
+ $this->prefixDirsPsr4[$prefix]
+ );
+ } else {
+ // Append directories for an already registered namespace.
+ $this->prefixDirsPsr4[$prefix] = array_merge(
+ $this->prefixDirsPsr4[$prefix],
+ (array) $paths
+ );
+ }
+ }
+
+ /**
+ * Registers a set of PSR-0 directories for a given prefix,
+ * replacing any others previously set for this prefix.
+ *
+ * @param string $prefix The prefix
+ * @param array|string $paths The PSR-0 base directories
+ */
+ public function set($prefix, $paths)
+ {
+ if (!$prefix) {
+ $this->fallbackDirsPsr0 = (array) $paths;
+ } else {
+ $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
+ }
+ }
+
+ /**
+ * Registers a set of PSR-4 directories for a given namespace,
+ * replacing any others previously set for this namespace.
+ *
+ * @param string $prefix The prefix/namespace, with trailing '\\'
+ * @param array|string $paths The PSR-4 base directories
+ *
+ * @throws \InvalidArgumentException
+ */
+ public function setPsr4($prefix, $paths)
+ {
+ if (!$prefix) {
+ $this->fallbackDirsPsr4 = (array) $paths;
+ } else {
+ $length = strlen($prefix);
+ if ('\\' !== $prefix[$length - 1]) {
+ throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
+ }
+ $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
+ $this->prefixDirsPsr4[$prefix] = (array) $paths;
+ }
+ }
+
+ /**
+ * Turns on searching the include path for class files.
+ *
+ * @param bool $useIncludePath
+ */
+ public function setUseIncludePath($useIncludePath)
+ {
+ $this->useIncludePath = $useIncludePath;
+ }
+
+ /**
+ * Can be used to check if the autoloader uses the include path to check
+ * for classes.
+ *
+ * @return bool
+ */
+ public function getUseIncludePath()
+ {
+ return $this->useIncludePath;
+ }
+
+ /**
+ * Turns off searching the prefix and fallback directories for classes
+ * that have not been registered with the class map.
+ *
+ * @param bool $classMapAuthoritative
+ */
+ public function setClassMapAuthoritative($classMapAuthoritative)
+ {
+ $this->classMapAuthoritative = $classMapAuthoritative;
+ }
+
+ /**
+ * Should class lookup fail if not found in the current class map?
+ *
+ * @return bool
+ */
+ public function isClassMapAuthoritative()
+ {
+ return $this->classMapAuthoritative;
+ }
+
+ /**
+ * APCu prefix to use to cache found/not-found classes, if the extension is enabled.
+ *
+ * @param string|null $apcuPrefix
+ */
+ public function setApcuPrefix($apcuPrefix)
+ {
+ $this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
+ }
+
+ /**
+ * The APCu prefix in use, or null if APCu caching is not enabled.
+ *
+ * @return string|null
+ */
+ public function getApcuPrefix()
+ {
+ return $this->apcuPrefix;
+ }
+
+ /**
+ * Registers this instance as an autoloader.
+ *
+ * @param bool $prepend Whether to prepend the autoloader or not
+ */
+ public function register($prepend = false)
+ {
+ spl_autoload_register(array($this, 'loadClass'), true, $prepend);
+ }
+
+ /**
+ * Unregisters this instance as an autoloader.
+ */
+ public function unregister()
+ {
+ spl_autoload_unregister(array($this, 'loadClass'));
+ }
+
+ /**
+ * Loads the given class or interface.
+ *
+ * @param string $class The name of the class
+ * @return bool|null True if loaded, null otherwise
+ */
+ public function loadClass($class)
+ {
+ if ($file = $this->findFile($class)) {
+ includeFile($file);
+
+ return true;
+ }
+ }
+
+ /**
+ * Finds the path to the file where the class is defined.
+ *
+ * @param string $class The name of the class
+ *
+ * @return string|false The path if found, false otherwise
+ */
+ public function findFile($class)
+ {
+ // class map lookup
+ if (isset($this->classMap[$class])) {
+ return $this->classMap[$class];
+ }
+ if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
+ return false;
+ }
+ if (null !== $this->apcuPrefix) {
+ $file = apcu_fetch($this->apcuPrefix.$class, $hit);
+ if ($hit) {
+ return $file;
+ }
+ }
+
+ $file = $this->findFileWithExtension($class, '.php');
+
+ // Search for Hack files if we are running on HHVM
+ if (false === $file && defined('HHVM_VERSION')) {
+ $file = $this->findFileWithExtension($class, '.hh');
+ }
+
+ if (null !== $this->apcuPrefix) {
+ apcu_add($this->apcuPrefix.$class, $file);
+ }
+
+ if (false === $file) {
+ // Remember that this class does not exist.
+ $this->missingClasses[$class] = true;
+ }
+
+ return $file;
+ }
+
+ private function findFileWithExtension($class, $ext)
+ {
+ // PSR-4 lookup
+ $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
+
+ $first = $class[0];
+ if (isset($this->prefixLengthsPsr4[$first])) {
+ $subPath = $class;
+ while (false !== $lastPos = strrpos($subPath, '\\')) {
+ $subPath = substr($subPath, 0, $lastPos);
+ $search = $subPath.'\\';
+ if (isset($this->prefixDirsPsr4[$search])) {
+ foreach ($this->prefixDirsPsr4[$search] as $dir) {
+ $length = $this->prefixLengthsPsr4[$first][$search];
+ if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
+ return $file;
+ }
+ }
+ }
+ }
+ }
+
+ // PSR-4 fallback dirs
+ foreach ($this->fallbackDirsPsr4 as $dir) {
+ if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
+ return $file;
+ }
+ }
+
+ // PSR-0 lookup
+ if (false !== $pos = strrpos($class, '\\')) {
+ // namespaced class name
+ $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
+ . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
+ } else {
+ // PEAR-like class name
+ $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
+ }
+
+ if (isset($this->prefixesPsr0[$first])) {
+ foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
+ if (0 === strpos($class, $prefix)) {
+ foreach ($dirs as $dir) {
+ if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
+ return $file;
+ }
+ }
+ }
+ }
+ }
+
+ // PSR-0 fallback dirs
+ foreach ($this->fallbackDirsPsr0 as $dir) {
+ if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
+ return $file;
+ }
+ }
+
+ // PSR-0 include paths.
+ if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
+ return $file;
+ }
+
+ return false;
+ }
+}
+
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ */
+function includeFile($file)
+{
+ include $file;
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/composer/LICENSE b/mayor-orig/mayor-base/www/include/share/googleapi/composer/LICENSE
new file mode 100644
index 00000000..f27399a0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/composer/LICENSE
@@ -0,0 +1,21 @@
+
+Copyright (c) Nils Adermann, Jordi Boggiano
+
+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/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_classmap.php b/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_classmap.php
new file mode 100644
index 00000000..c153b061
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_classmap.php
@@ -0,0 +1,35 @@
+<?php
+
+// autoload_classmap.php @generated by Composer
+
+$vendorDir = dirname(dirname(__FILE__));
+$baseDir = dirname($vendorDir);
+
+return array(
+ 'Google\\Auth\\ApplicationDefaultCredentials' => $vendorDir . '/google/auth/src/ApplicationDefaultCredentials.php',
+ 'Google\\Auth\\CacheTrait' => $vendorDir . '/google/auth/src/CacheTrait.php',
+ 'Google\\Auth\\Cache\\InvalidArgumentException' => $vendorDir . '/google/auth/src/Cache/InvalidArgumentException.php',
+ 'Google\\Auth\\Cache\\Item' => $vendorDir . '/google/auth/src/Cache/Item.php',
+ 'Google\\Auth\\Cache\\MemoryCacheItemPool' => $vendorDir . '/google/auth/src/Cache/MemoryCacheItemPool.php',
+ 'Google\\Auth\\CredentialsLoader' => $vendorDir . '/google/auth/src/CredentialsLoader.php',
+ 'Google\\Auth\\Credentials\\AppIdentityCredentials' => $vendorDir . '/google/auth/src/Credentials/AppIdentityCredentials.php',
+ 'Google\\Auth\\Credentials\\GCECredentials' => $vendorDir . '/google/auth/src/Credentials/GCECredentials.php',
+ 'Google\\Auth\\Credentials\\IAMCredentials' => $vendorDir . '/google/auth/src/Credentials/IAMCredentials.php',
+ 'Google\\Auth\\Credentials\\ServiceAccountCredentials' => $vendorDir . '/google/auth/src/Credentials/ServiceAccountCredentials.php',
+ 'Google\\Auth\\Credentials\\ServiceAccountJwtAccessCredentials' => $vendorDir . '/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php',
+ 'Google\\Auth\\Credentials\\UserRefreshCredentials' => $vendorDir . '/google/auth/src/Credentials/UserRefreshCredentials.php',
+ 'Google\\Auth\\FetchAuthTokenCache' => $vendorDir . '/google/auth/src/FetchAuthTokenCache.php',
+ 'Google\\Auth\\FetchAuthTokenInterface' => $vendorDir . '/google/auth/src/FetchAuthTokenInterface.php',
+ 'Google\\Auth\\HttpHandler\\Guzzle5HttpHandler' => $vendorDir . '/google/auth/src/HttpHandler/Guzzle5HttpHandler.php',
+ 'Google\\Auth\\HttpHandler\\Guzzle6HttpHandler' => $vendorDir . '/google/auth/src/HttpHandler/Guzzle6HttpHandler.php',
+ 'Google\\Auth\\HttpHandler\\HttpHandlerFactory' => $vendorDir . '/google/auth/src/HttpHandler/HttpHandlerFactory.php',
+ 'Google\\Auth\\Middleware\\AuthTokenMiddleware' => $vendorDir . '/google/auth/src/Middleware/AuthTokenMiddleware.php',
+ 'Google\\Auth\\Middleware\\ScopedAccessTokenMiddleware' => $vendorDir . '/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php',
+ 'Google\\Auth\\Middleware\\SimpleMiddleware' => $vendorDir . '/google/auth/src/Middleware/SimpleMiddleware.php',
+ 'Google\\Auth\\OAuth2' => $vendorDir . '/google/auth/src/OAuth2.php',
+ 'Google\\Auth\\Subscriber\\AuthTokenSubscriber' => $vendorDir . '/google/auth/src/Subscriber/AuthTokenSubscriber.php',
+ 'Google\\Auth\\Subscriber\\ScopedAccessTokenSubscriber' => $vendorDir . '/google/auth/src/Subscriber/ScopedAccessTokenSubscriber.php',
+ 'Google\\Auth\\Subscriber\\SimpleSubscriber' => $vendorDir . '/google/auth/src/Subscriber/SimpleSubscriber.php',
+ 'Google_Service_Exception' => $vendorDir . '/google/apiclient/src/Google/Service/Exception.php',
+ 'Google_Service_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Resource.php',
+);
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_files.php b/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_files.php
new file mode 100644
index 00000000..56bb586c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_files.php
@@ -0,0 +1,13 @@
+<?php
+
+// autoload_files.php @generated by Composer
+
+$vendorDir = dirname(dirname(__FILE__));
+$baseDir = dirname($vendorDir);
+
+return array(
+ 'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php',
+ 'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php',
+ '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php',
+ 'decc78cc4436b1292c6c0d151b19445c' => $vendorDir . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
+);
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_namespaces.php b/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_namespaces.php
new file mode 100644
index 00000000..aed9f84e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_namespaces.php
@@ -0,0 +1,11 @@
+<?php
+
+// autoload_namespaces.php @generated by Composer
+
+$vendorDir = dirname(dirname(__FILE__));
+$baseDir = dirname($vendorDir);
+
+return array(
+ 'Google_Service_' => array($vendorDir . '/google/apiclient-services/src'),
+ 'Google_' => array($vendorDir . '/google/apiclient/src'),
+);
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_psr4.php b/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_psr4.php
new file mode 100644
index 00000000..36bd6b5a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_psr4.php
@@ -0,0 +1,19 @@
+<?php
+
+// autoload_psr4.php @generated by Composer
+
+$vendorDir = dirname(dirname(__FILE__));
+$baseDir = dirname($vendorDir);
+
+return array(
+ 'phpseclib\\' => array($vendorDir . '/phpseclib/phpseclib/phpseclib'),
+ 'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
+ 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
+ 'Psr\\Cache\\' => array($vendorDir . '/psr/cache/src'),
+ 'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
+ 'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'),
+ 'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'),
+ 'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'),
+ 'Google\\Auth\\' => array($vendorDir . '/google/auth/src'),
+ 'Firebase\\JWT\\' => array($vendorDir . '/firebase/php-jwt/src'),
+);
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_real.php b/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_real.php
new file mode 100644
index 00000000..84415c51
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_real.php
@@ -0,0 +1,70 @@
+<?php
+
+// autoload_real.php @generated by Composer
+
+class ComposerAutoloaderInit93fe46837b05a1a7f3fe21c3c3d374b7
+{
+ private static $loader;
+
+ public static function loadClassLoader($class)
+ {
+ if ('Composer\Autoload\ClassLoader' === $class) {
+ require __DIR__ . '/ClassLoader.php';
+ }
+ }
+
+ public static function getLoader()
+ {
+ if (null !== self::$loader) {
+ return self::$loader;
+ }
+
+ spl_autoload_register(array('ComposerAutoloaderInit93fe46837b05a1a7f3fe21c3c3d374b7', 'loadClassLoader'), true, true);
+ self::$loader = $loader = new \Composer\Autoload\ClassLoader();
+ spl_autoload_unregister(array('ComposerAutoloaderInit93fe46837b05a1a7f3fe21c3c3d374b7', 'loadClassLoader'));
+
+ $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
+ if ($useStaticLoader) {
+ require_once __DIR__ . '/autoload_static.php';
+
+ call_user_func(\Composer\Autoload\ComposerStaticInit93fe46837b05a1a7f3fe21c3c3d374b7::getInitializer($loader));
+ } else {
+ $map = require __DIR__ . '/autoload_namespaces.php';
+ foreach ($map as $namespace => $path) {
+ $loader->set($namespace, $path);
+ }
+
+ $map = require __DIR__ . '/autoload_psr4.php';
+ foreach ($map as $namespace => $path) {
+ $loader->setPsr4($namespace, $path);
+ }
+
+ $classMap = require __DIR__ . '/autoload_classmap.php';
+ if ($classMap) {
+ $loader->addClassMap($classMap);
+ }
+ }
+
+ $loader->register(true);
+
+ if ($useStaticLoader) {
+ $includeFiles = Composer\Autoload\ComposerStaticInit93fe46837b05a1a7f3fe21c3c3d374b7::$files;
+ } else {
+ $includeFiles = require __DIR__ . '/autoload_files.php';
+ }
+ foreach ($includeFiles as $fileIdentifier => $file) {
+ composerRequire93fe46837b05a1a7f3fe21c3c3d374b7($fileIdentifier, $file);
+ }
+
+ return $loader;
+ }
+}
+
+function composerRequire93fe46837b05a1a7f3fe21c3c3d374b7($fileIdentifier, $file)
+{
+ if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
+ require $file;
+
+ $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_static.php b/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_static.php
new file mode 100644
index 00000000..9893763c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/composer/autoload_static.php
@@ -0,0 +1,140 @@
+<?php
+
+// autoload_static.php @generated by Composer
+
+namespace Composer\Autoload;
+
+class ComposerStaticInit93fe46837b05a1a7f3fe21c3c3d374b7
+{
+ public static $files = array (
+ 'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php',
+ 'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php',
+ '37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php',
+ 'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
+ );
+
+ public static $prefixLengthsPsr4 = array (
+ 'p' =>
+ array (
+ 'phpseclib\\' => 10,
+ ),
+ 'P' =>
+ array (
+ 'Psr\\Log\\' => 8,
+ 'Psr\\Http\\Message\\' => 17,
+ 'Psr\\Cache\\' => 10,
+ ),
+ 'M' =>
+ array (
+ 'Monolog\\' => 8,
+ ),
+ 'G' =>
+ array (
+ 'GuzzleHttp\\Psr7\\' => 16,
+ 'GuzzleHttp\\Promise\\' => 19,
+ 'GuzzleHttp\\' => 11,
+ 'Google\\Auth\\' => 12,
+ ),
+ 'F' =>
+ array (
+ 'Firebase\\JWT\\' => 13,
+ ),
+ );
+
+ public static $prefixDirsPsr4 = array (
+ 'phpseclib\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib',
+ ),
+ 'Psr\\Log\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
+ ),
+ 'Psr\\Http\\Message\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/psr/http-message/src',
+ ),
+ 'Psr\\Cache\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/psr/cache/src',
+ ),
+ 'Monolog\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/monolog/monolog/src/Monolog',
+ ),
+ 'GuzzleHttp\\Psr7\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src',
+ ),
+ 'GuzzleHttp\\Promise\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/guzzlehttp/promises/src',
+ ),
+ 'GuzzleHttp\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src',
+ ),
+ 'Google\\Auth\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/google/auth/src',
+ ),
+ 'Firebase\\JWT\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/firebase/php-jwt/src',
+ ),
+ );
+
+ public static $prefixesPsr0 = array (
+ 'G' =>
+ array (
+ 'Google_Service_' =>
+ array (
+ 0 => __DIR__ . '/..' . '/google/apiclient-services/src',
+ ),
+ 'Google_' =>
+ array (
+ 0 => __DIR__ . '/..' . '/google/apiclient/src',
+ ),
+ ),
+ );
+
+ public static $classMap = array (
+ 'Google\\Auth\\ApplicationDefaultCredentials' => __DIR__ . '/..' . '/google/auth/src/ApplicationDefaultCredentials.php',
+ 'Google\\Auth\\CacheTrait' => __DIR__ . '/..' . '/google/auth/src/CacheTrait.php',
+ 'Google\\Auth\\Cache\\InvalidArgumentException' => __DIR__ . '/..' . '/google/auth/src/Cache/InvalidArgumentException.php',
+ 'Google\\Auth\\Cache\\Item' => __DIR__ . '/..' . '/google/auth/src/Cache/Item.php',
+ 'Google\\Auth\\Cache\\MemoryCacheItemPool' => __DIR__ . '/..' . '/google/auth/src/Cache/MemoryCacheItemPool.php',
+ 'Google\\Auth\\CredentialsLoader' => __DIR__ . '/..' . '/google/auth/src/CredentialsLoader.php',
+ 'Google\\Auth\\Credentials\\AppIdentityCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/AppIdentityCredentials.php',
+ 'Google\\Auth\\Credentials\\GCECredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/GCECredentials.php',
+ 'Google\\Auth\\Credentials\\IAMCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/IAMCredentials.php',
+ 'Google\\Auth\\Credentials\\ServiceAccountCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/ServiceAccountCredentials.php',
+ 'Google\\Auth\\Credentials\\ServiceAccountJwtAccessCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php',
+ 'Google\\Auth\\Credentials\\UserRefreshCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/UserRefreshCredentials.php',
+ 'Google\\Auth\\FetchAuthTokenCache' => __DIR__ . '/..' . '/google/auth/src/FetchAuthTokenCache.php',
+ 'Google\\Auth\\FetchAuthTokenInterface' => __DIR__ . '/..' . '/google/auth/src/FetchAuthTokenInterface.php',
+ 'Google\\Auth\\HttpHandler\\Guzzle5HttpHandler' => __DIR__ . '/..' . '/google/auth/src/HttpHandler/Guzzle5HttpHandler.php',
+ 'Google\\Auth\\HttpHandler\\Guzzle6HttpHandler' => __DIR__ . '/..' . '/google/auth/src/HttpHandler/Guzzle6HttpHandler.php',
+ 'Google\\Auth\\HttpHandler\\HttpHandlerFactory' => __DIR__ . '/..' . '/google/auth/src/HttpHandler/HttpHandlerFactory.php',
+ 'Google\\Auth\\Middleware\\AuthTokenMiddleware' => __DIR__ . '/..' . '/google/auth/src/Middleware/AuthTokenMiddleware.php',
+ 'Google\\Auth\\Middleware\\ScopedAccessTokenMiddleware' => __DIR__ . '/..' . '/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php',
+ 'Google\\Auth\\Middleware\\SimpleMiddleware' => __DIR__ . '/..' . '/google/auth/src/Middleware/SimpleMiddleware.php',
+ 'Google\\Auth\\OAuth2' => __DIR__ . '/..' . '/google/auth/src/OAuth2.php',
+ 'Google\\Auth\\Subscriber\\AuthTokenSubscriber' => __DIR__ . '/..' . '/google/auth/src/Subscriber/AuthTokenSubscriber.php',
+ 'Google\\Auth\\Subscriber\\ScopedAccessTokenSubscriber' => __DIR__ . '/..' . '/google/auth/src/Subscriber/ScopedAccessTokenSubscriber.php',
+ 'Google\\Auth\\Subscriber\\SimpleSubscriber' => __DIR__ . '/..' . '/google/auth/src/Subscriber/SimpleSubscriber.php',
+ 'Google_Service_Exception' => __DIR__ . '/..' . '/google/apiclient/src/Google/Service/Exception.php',
+ 'Google_Service_Resource' => __DIR__ . '/..' . '/google/apiclient/src/Google/Service/Resource.php',
+ );
+
+ public static function getInitializer(ClassLoader $loader)
+ {
+ return \Closure::bind(function () use ($loader) {
+ $loader->prefixLengthsPsr4 = ComposerStaticInit93fe46837b05a1a7f3fe21c3c3d374b7::$prefixLengthsPsr4;
+ $loader->prefixDirsPsr4 = ComposerStaticInit93fe46837b05a1a7f3fe21c3c3d374b7::$prefixDirsPsr4;
+ $loader->prefixesPsr0 = ComposerStaticInit93fe46837b05a1a7f3fe21c3c3d374b7::$prefixesPsr0;
+ $loader->classMap = ComposerStaticInit93fe46837b05a1a7f3fe21c3c3d374b7::$classMap;
+
+ }, null, ClassLoader::class);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/composer/installed.json b/mayor-orig/mayor-base/www/include/share/googleapi/composer/installed.json
new file mode 100644
index 00000000..274eeed6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/composer/installed.json
@@ -0,0 +1,707 @@
+[
+ {
+ "name": "psr/http-message",
+ "version": "1.0.1",
+ "version_normalized": "1.0.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/http-message.git",
+ "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
+ "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "time": "2016-08-06T14:39:51+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Psr\\Http\\Message\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interface for HTTP messages",
+ "homepage": "https://github.com/php-fig/http-message",
+ "keywords": [
+ "http",
+ "http-message",
+ "psr",
+ "psr-7",
+ "request",
+ "response"
+ ]
+ },
+ {
+ "name": "guzzlehttp/psr7",
+ "version": "1.4.2",
+ "version_normalized": "1.4.2.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/guzzle/psr7.git",
+ "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
+ "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.4.0",
+ "psr/http-message": "~1.0"
+ },
+ "provide": {
+ "psr/http-message-implementation": "1.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.0"
+ },
+ "time": "2017-03-20T17:10:46+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.4-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "GuzzleHttp\\Psr7\\": "src/"
+ },
+ "files": [
+ "src/functions_include.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Michael Dowling",
+ "email": "mtdowling@gmail.com",
+ "homepage": "https://github.com/mtdowling"
+ },
+ {
+ "name": "Tobias Schultze",
+ "homepage": "https://github.com/Tobion"
+ }
+ ],
+ "description": "PSR-7 message implementation that also provides common utility methods",
+ "keywords": [
+ "http",
+ "message",
+ "request",
+ "response",
+ "stream",
+ "uri",
+ "url"
+ ]
+ },
+ {
+ "name": "guzzlehttp/promises",
+ "version": "v1.3.1",
+ "version_normalized": "1.3.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/guzzle/promises.git",
+ "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
+ "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.5.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.0"
+ },
+ "time": "2016-12-20T10:07:11+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.4-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "GuzzleHttp\\Promise\\": "src/"
+ },
+ "files": [
+ "src/functions_include.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Michael Dowling",
+ "email": "mtdowling@gmail.com",
+ "homepage": "https://github.com/mtdowling"
+ }
+ ],
+ "description": "Guzzle promises library",
+ "keywords": [
+ "promise"
+ ]
+ },
+ {
+ "name": "guzzlehttp/guzzle",
+ "version": "6.3.0",
+ "version_normalized": "6.3.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/guzzle/guzzle.git",
+ "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/guzzle/guzzle/zipball/f4db5a78a5ea468d4831de7f0bf9d9415e348699",
+ "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699",
+ "shasum": ""
+ },
+ "require": {
+ "guzzlehttp/promises": "^1.0",
+ "guzzlehttp/psr7": "^1.4",
+ "php": ">=5.5"
+ },
+ "require-dev": {
+ "ext-curl": "*",
+ "phpunit/phpunit": "^4.0 || ^5.0",
+ "psr/log": "^1.0"
+ },
+ "suggest": {
+ "psr/log": "Required for using the Log middleware"
+ },
+ "time": "2017-06-22T18:50:49+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "6.2-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "files": [
+ "src/functions_include.php"
+ ],
+ "psr-4": {
+ "GuzzleHttp\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Michael Dowling",
+ "email": "mtdowling@gmail.com",
+ "homepage": "https://github.com/mtdowling"
+ }
+ ],
+ "description": "Guzzle is a PHP HTTP client library",
+ "homepage": "http://guzzlephp.org/",
+ "keywords": [
+ "client",
+ "curl",
+ "framework",
+ "http",
+ "http client",
+ "rest",
+ "web service"
+ ]
+ },
+ {
+ "name": "phpseclib/phpseclib",
+ "version": "2.0.6",
+ "version_normalized": "2.0.6.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/phpseclib/phpseclib.git",
+ "reference": "34a7699e6f31b1ef4035ee36444407cecf9f56aa"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/34a7699e6f31b1ef4035ee36444407cecf9f56aa",
+ "reference": "34a7699e6f31b1ef4035ee36444407cecf9f56aa",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "require-dev": {
+ "phing/phing": "~2.7",
+ "phpunit/phpunit": "~4.0",
+ "sami/sami": "~2.0",
+ "squizlabs/php_codesniffer": "~2.0"
+ },
+ "suggest": {
+ "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.",
+ "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.",
+ "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.",
+ "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations."
+ },
+ "time": "2017-06-05T06:31:10+00:00",
+ "type": "library",
+ "installation-source": "dist",
+ "autoload": {
+ "files": [
+ "phpseclib/bootstrap.php"
+ ],
+ "psr-4": {
+ "phpseclib\\": "phpseclib/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Jim Wigginton",
+ "email": "terrafrost@php.net",
+ "role": "Lead Developer"
+ },
+ {
+ "name": "Patrick Monnerat",
+ "email": "pm@datasphere.ch",
+ "role": "Developer"
+ },
+ {
+ "name": "Andreas Fischer",
+ "email": "bantu@phpbb.com",
+ "role": "Developer"
+ },
+ {
+ "name": "Hans-Jürgen Petrich",
+ "email": "petrich@tronic-media.com",
+ "role": "Developer"
+ },
+ {
+ "name": "Graham Campbell",
+ "email": "graham@alt-three.com",
+ "role": "Developer"
+ }
+ ],
+ "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
+ "homepage": "http://phpseclib.sourceforge.net",
+ "keywords": [
+ "BigInteger",
+ "aes",
+ "asn.1",
+ "asn1",
+ "blowfish",
+ "crypto",
+ "cryptography",
+ "encryption",
+ "rsa",
+ "security",
+ "sftp",
+ "signature",
+ "signing",
+ "ssh",
+ "twofish",
+ "x.509",
+ "x509"
+ ]
+ },
+ {
+ "name": "psr/log",
+ "version": "1.0.2",
+ "version_normalized": "1.0.2.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/log.git",
+ "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
+ "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "time": "2016-10-10T12:19:37+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Psr\\Log\\": "Psr/Log/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interface for logging libraries",
+ "homepage": "https://github.com/php-fig/log",
+ "keywords": [
+ "log",
+ "psr",
+ "psr-3"
+ ]
+ },
+ {
+ "name": "monolog/monolog",
+ "version": "1.23.0",
+ "version_normalized": "1.23.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/Seldaek/monolog.git",
+ "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
+ "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0",
+ "psr/log": "~1.0"
+ },
+ "provide": {
+ "psr/log-implementation": "1.0.0"
+ },
+ "require-dev": {
+ "aws/aws-sdk-php": "^2.4.9 || ^3.0",
+ "doctrine/couchdb": "~1.0@dev",
+ "graylog2/gelf-php": "~1.0",
+ "jakub-onderka/php-parallel-lint": "0.9",
+ "php-amqplib/php-amqplib": "~2.4",
+ "php-console/php-console": "^3.1.3",
+ "phpunit/phpunit": "~4.5",
+ "phpunit/phpunit-mock-objects": "2.3.0",
+ "ruflin/elastica": ">=0.90 <3.0",
+ "sentry/sentry": "^0.13",
+ "swiftmailer/swiftmailer": "^5.3|^6.0"
+ },
+ "suggest": {
+ "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
+ "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
+ "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
+ "ext-mongo": "Allow sending log messages to a MongoDB server",
+ "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
+ "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
+ "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
+ "php-console/php-console": "Allow sending log messages to Google Chrome",
+ "rollbar/rollbar": "Allow sending log messages to Rollbar",
+ "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
+ "sentry/sentry": "Allow sending log messages to a Sentry server"
+ },
+ "time": "2017-06-19T01:22:40+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Monolog\\": "src/Monolog"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Jordi Boggiano",
+ "email": "j.boggiano@seld.be",
+ "homepage": "http://seld.be"
+ }
+ ],
+ "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
+ "homepage": "http://github.com/Seldaek/monolog",
+ "keywords": [
+ "log",
+ "logging",
+ "psr-3"
+ ]
+ },
+ {
+ "name": "firebase/php-jwt",
+ "version": "v4.0.0",
+ "version_normalized": "4.0.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/firebase/php-jwt.git",
+ "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
+ "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "time": "2016-07-18T04:51:16+00:00",
+ "type": "library",
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Firebase\\JWT\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Neuman Vong",
+ "email": "neuman+pear@twilio.com",
+ "role": "Developer"
+ },
+ {
+ "name": "Anant Narayanan",
+ "email": "anant@php.net",
+ "role": "Developer"
+ }
+ ],
+ "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
+ "homepage": "https://github.com/firebase/php-jwt"
+ },
+ {
+ "name": "google/apiclient-services",
+ "version": "v0.11",
+ "version_normalized": "0.11.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/google/google-api-php-client-services.git",
+ "reference": "48c554aee06f2fd5700d7bdfa4fa6b82d184eb52"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/google/google-api-php-client-services/zipball/48c554aee06f2fd5700d7bdfa4fa6b82d184eb52",
+ "reference": "48c554aee06f2fd5700d7bdfa4fa6b82d184eb52",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.4"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.8"
+ },
+ "time": "2017-03-13T17:40:44+00:00",
+ "type": "library",
+ "installation-source": "dist",
+ "autoload": {
+ "psr-0": {
+ "Google_Service_": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "Apache-2.0"
+ ],
+ "description": "Client library for Google APIs",
+ "homepage": "http://developers.google.com/api-client-library/php",
+ "keywords": [
+ "google"
+ ]
+ },
+ {
+ "name": "psr/cache",
+ "version": "1.0.1",
+ "version_normalized": "1.0.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/cache.git",
+ "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
+ "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "time": "2016-08-06T20:24:11+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Psr\\Cache\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interface for caching libraries",
+ "keywords": [
+ "cache",
+ "psr",
+ "psr-6"
+ ]
+ },
+ {
+ "name": "google/auth",
+ "version": "v0.11.1",
+ "version_normalized": "0.11.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/google/google-auth-library-php.git",
+ "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
+ "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
+ "shasum": ""
+ },
+ "require": {
+ "firebase/php-jwt": "~2.0|~3.0|~4.0",
+ "guzzlehttp/guzzle": "~5.3|~6.0",
+ "guzzlehttp/psr7": "~1.2",
+ "php": ">=5.4",
+ "psr/cache": "^1.0",
+ "psr/http-message": "^1.0"
+ },
+ "require-dev": {
+ "friendsofphp/php-cs-fixer": "^1.11",
+ "phpunit/phpunit": "3.7.*"
+ },
+ "time": "2016-11-02T14:59:14+00:00",
+ "type": "library",
+ "installation-source": "dist",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ],
+ "psr-4": {
+ "Google\\Auth\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "Apache-2.0"
+ ],
+ "description": "Google Auth Library for PHP",
+ "homepage": "http://github.com/google/google-auth-library-php",
+ "keywords": [
+ "Authentication",
+ "google",
+ "oauth2"
+ ]
+ },
+ {
+ "name": "google/apiclient",
+ "version": "v2.1.3",
+ "version_normalized": "2.1.3.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/google/google-api-php-client.git",
+ "reference": "43996f09df274158fd04fce98e8a82effe5f3717"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/google/google-api-php-client/zipball/43996f09df274158fd04fce98e8a82effe5f3717",
+ "reference": "43996f09df274158fd04fce98e8a82effe5f3717",
+ "shasum": ""
+ },
+ "require": {
+ "firebase/php-jwt": "~2.0|~3.0|~4.0",
+ "google/apiclient-services": "^0.11",
+ "google/auth": "^0.11",
+ "guzzlehttp/guzzle": "~5.2|~6.0",
+ "guzzlehttp/psr7": "^1.2",
+ "monolog/monolog": "^1.17",
+ "php": ">=5.4",
+ "phpseclib/phpseclib": "~0.3.10|~2.0"
+ },
+ "require-dev": {
+ "cache/filesystem-adapter": "^0.3.2",
+ "phpunit/phpunit": "~4",
+ "squizlabs/php_codesniffer": "~2.3",
+ "symfony/css-selector": "~2.1",
+ "symfony/dom-crawler": "~2.1"
+ },
+ "suggest": {
+ "cache/filesystem-adapter": "For caching certs and tokens (using Google_Client::setCache)"
+ },
+ "time": "2017-03-22T18:32:04+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-0": {
+ "Google_": "src/"
+ },
+ "classmap": [
+ "src/Google/Service/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "Apache-2.0"
+ ],
+ "description": "Client library for Google APIs",
+ "homepage": "http://developers.google.com/api-client-library/php",
+ "keywords": [
+ "google"
+ ]
+ }
+]
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/LICENSE b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/LICENSE
new file mode 100644
index 00000000..cb0c49b3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/LICENSE
@@ -0,0 +1,30 @@
+Copyright (c) 2011, Neuman Vong
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ * Neither the name of Neuman Vong nor the names of other
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/README.md b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/README.md
new file mode 100644
index 00000000..d4589b1c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/README.md
@@ -0,0 +1,119 @@
+[![Build Status](https://travis-ci.org/firebase/php-jwt.png?branch=master)](https://travis-ci.org/firebase/php-jwt)
+[![Latest Stable Version](https://poser.pugx.org/firebase/php-jwt/v/stable)](https://packagist.org/packages/firebase/php-jwt)
+[![Total Downloads](https://poser.pugx.org/firebase/php-jwt/downloads)](https://packagist.org/packages/firebase/php-jwt)
+[![License](https://poser.pugx.org/firebase/php-jwt/license)](https://packagist.org/packages/firebase/php-jwt)
+
+PHP-JWT
+=======
+A simple library to encode and decode JSON Web Tokens (JWT) in PHP, conforming to [RFC 7519](https://tools.ietf.org/html/rfc7519).
+
+Installation
+------------
+
+Use composer to manage your dependencies and download PHP-JWT:
+
+```bash
+composer require firebase/php-jwt
+```
+
+Example
+-------
+```php
+<?php
+use \Firebase\JWT\JWT;
+
+$key = "example_key";
+$token = array(
+ "iss" => "http://example.org",
+ "aud" => "http://example.com",
+ "iat" => 1356999524,
+ "nbf" => 1357000000
+);
+
+/**
+ * IMPORTANT:
+ * You must specify supported algorithms for your application. See
+ * https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40
+ * for a list of spec-compliant algorithms.
+ */
+$jwt = JWT::encode($token, $key);
+$decoded = JWT::decode($jwt, $key, array('HS256'));
+
+print_r($decoded);
+
+/*
+ NOTE: This will now be an object instead of an associative array. To get
+ an associative array, you will need to cast it as such:
+*/
+
+$decoded_array = (array) $decoded;
+
+/**
+ * You can add a leeway to account for when there is a clock skew times between
+ * the signing and verifying servers. It is recommended that this leeway should
+ * not be bigger than a few minutes.
+ *
+ * Source: http://self-issued.info/docs/draft-ietf-oauth-json-web-token.html#nbfDef
+ */
+JWT::$leeway = 60; // $leeway in seconds
+$decoded = JWT::decode($jwt, $key, array('HS256'));
+
+?>
+```
+
+Changelog
+---------
+
+#### 4.0.0 / 2016-07-17
+- Add support for late static binding. See [#88](https://github.com/firebase/php-jwt/pull/88) for details. Thanks to [@chappy84](https://github.com/chappy84)!
+- Use static `$timestamp` instead of `time()` to improve unit testing. See [#93](https://github.com/firebase/php-jwt/pull/93) for details. Thanks to [@josephmcdermott](https://github.com/josephmcdermott)!
+- Fixes to exceptions classes. See [#81](https://github.com/firebase/php-jwt/pull/81) for details. Thanks to [@Maks3w](https://github.com/Maks3w)!
+- Fixes to PHPDoc. See [#76](https://github.com/firebase/php-jwt/pull/76) for details. Thanks to [@akeeman](https://github.com/akeeman)!
+
+#### 3.0.0 / 2015-07-22
+- Minimum PHP version updated from `5.2.0` to `5.3.0`.
+- Add `\Firebase\JWT` namespace. See
+[#59](https://github.com/firebase/php-jwt/pull/59) for details. Thanks to
+[@Dashron](https://github.com/Dashron)!
+- Require a non-empty key to decode and verify a JWT. See
+[#60](https://github.com/firebase/php-jwt/pull/60) for details. Thanks to
+[@sjones608](https://github.com/sjones608)!
+- Cleaner documentation blocks in the code. See
+[#62](https://github.com/firebase/php-jwt/pull/62) for details. Thanks to
+[@johanderuijter](https://github.com/johanderuijter)!
+
+#### 2.2.0 / 2015-06-22
+- Add support for adding custom, optional JWT headers to `JWT::encode()`. See
+[#53](https://github.com/firebase/php-jwt/pull/53/files) for details. Thanks to
+[@mcocaro](https://github.com/mcocaro)!
+
+#### 2.1.0 / 2015-05-20
+- Add support for adding a leeway to `JWT:decode()` that accounts for clock skew
+between signing and verifying entities. Thanks to [@lcabral](https://github.com/lcabral)!
+- Add support for passing an object implementing the `ArrayAccess` interface for
+`$keys` argument in `JWT::decode()`. Thanks to [@aztech-dev](https://github.com/aztech-dev)!
+
+#### 2.0.0 / 2015-04-01
+- **Note**: It is strongly recommended that you update to > v2.0.0 to address
+ known security vulnerabilities in prior versions when both symmetric and
+ asymmetric keys are used together.
+- Update signature for `JWT::decode(...)` to require an array of supported
+ algorithms to use when verifying token signatures.
+
+
+Tests
+-----
+Run the tests using phpunit:
+
+```bash
+$ pear install PHPUnit
+$ phpunit --configuration phpunit.xml.dist
+PHPUnit 3.7.10 by Sebastian Bergmann.
+.....
+Time: 0 seconds, Memory: 2.50Mb
+OK (5 tests, 5 assertions)
+```
+
+License
+-------
+[3-Clause BSD](http://opensource.org/licenses/BSD-3-Clause).
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/composer.json b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/composer.json
new file mode 100644
index 00000000..1a5e93b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/composer.json
@@ -0,0 +1,27 @@
+{
+ "name": "firebase/php-jwt",
+ "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
+ "homepage": "https://github.com/firebase/php-jwt",
+ "authors": [
+ {
+ "name": "Neuman Vong",
+ "email": "neuman+pear@twilio.com",
+ "role": "Developer"
+ },
+ {
+ "name": "Anant Narayanan",
+ "email": "anant@php.net",
+ "role": "Developer"
+ }
+ ],
+ "license": "BSD-3-Clause",
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "autoload": {
+ "psr-4": {
+ "Firebase\\JWT\\": "src"
+ }
+ },
+ "minimum-stability": "dev"
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/composer.lock b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/composer.lock
new file mode 100644
index 00000000..5518ae41
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/composer.lock
@@ -0,0 +1,19 @@
+{
+ "_readme": [
+ "This file locks the dependencies of your project to a known state",
+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
+ "This file is @generated automatically"
+ ],
+ "hash": "60a5df5d283a7ae9000173248eba8909",
+ "packages": [],
+ "packages-dev": [],
+ "aliases": [],
+ "minimum-stability": "dev",
+ "stability-flags": [],
+ "prefer-stable": false,
+ "prefer-lowest": false,
+ "platform": {
+ "php": ">=5.2.0"
+ },
+ "platform-dev": []
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/package.xml b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/package.xml
new file mode 100644
index 00000000..a95b056f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/package.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package packagerversion="1.9.2" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
+ http://pear.php.net/dtd/tasks-1.0.xsd
+ http://pear.php.net/dtd/package-2.0
+ http://pear.php.net/dtd/package-2.0.xsd">
+ <name>JWT</name>
+ <channel>pear.php.net</channel>
+ <summary>A JWT encoder/decoder.</summary>
+ <description>A JWT encoder/decoder library for PHP.</description>
+ <lead>
+ <name>Neuman Vong</name>
+ <user>lcfrs</user>
+ <email>neuman+pear@twilio.com</email>
+ <active>yes</active>
+ </lead>
+ <lead>
+ <name>Firebase Operations</name>
+ <user>firebase</user>
+ <email>operations@firebase.com</email>
+ <active>yes</active>
+ </lead>
+ <date>2015-07-22</date>
+ <version>
+ <release>3.0.0</release>
+ <api>3.0.0</api>
+ </version>
+ <stability>
+ <release>beta</release>
+ <api>beta</api>
+ </stability>
+ <license uri="http://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
+ <notes>
+Initial release with basic support for JWT encoding, decoding and signature verification.
+ </notes>
+ <contents>
+ <dir baseinstalldir="/" name="/">
+ <dir name="tests">
+ <file name="JWTTest.php" role="test" />
+ </dir>
+ <file name="Authentication/JWT.php" role="php" />
+ </dir>
+ </contents>
+ <dependencies>
+ <required>
+ <php>
+ <min>5.1</min>
+ </php>
+ <pearinstaller>
+ <min>1.7.0</min>
+ </pearinstaller>
+ <extension>
+ <name>json</name>
+ </extension>
+ <extension>
+ <name>hash</name>
+ </extension>
+ </required>
+ </dependencies>
+ <phprelease />
+ <changelog>
+ <release>
+ <version>
+ <release>0.1.0</release>
+ <api>0.1.0</api>
+ </version>
+ <stability>
+ <release>beta</release>
+ <api>beta</api>
+ </stability>
+ <date>2015-04-01</date>
+ <license uri="http://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
+ <notes>
+Initial release with basic support for JWT encoding, decoding and signature verification.
+ </notes>
+ </release>
+ </changelog>
+</package>
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/src/BeforeValidException.php b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/src/BeforeValidException.php
new file mode 100644
index 00000000..a6ee2f7c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/src/BeforeValidException.php
@@ -0,0 +1,7 @@
+<?php
+namespace Firebase\JWT;
+
+class BeforeValidException extends \UnexpectedValueException
+{
+
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/src/ExpiredException.php b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/src/ExpiredException.php
new file mode 100644
index 00000000..3597370a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/src/ExpiredException.php
@@ -0,0 +1,7 @@
+<?php
+namespace Firebase\JWT;
+
+class ExpiredException extends \UnexpectedValueException
+{
+
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/src/JWT.php b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/src/JWT.php
new file mode 100644
index 00000000..6d30e941
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/src/JWT.php
@@ -0,0 +1,370 @@
+<?php
+
+namespace Firebase\JWT;
+use \DomainException;
+use \InvalidArgumentException;
+use \UnexpectedValueException;
+use \DateTime;
+
+/**
+ * JSON Web Token implementation, based on this spec:
+ * http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-06
+ *
+ * PHP version 5
+ *
+ * @category Authentication
+ * @package Authentication_JWT
+ * @author Neuman Vong <neuman@twilio.com>
+ * @author Anant Narayanan <anant@php.net>
+ * @license http://opensource.org/licenses/BSD-3-Clause 3-clause BSD
+ * @link https://github.com/firebase/php-jwt
+ */
+class JWT
+{
+
+ /**
+ * When checking nbf, iat or expiration times,
+ * we want to provide some extra leeway time to
+ * account for clock skew.
+ */
+ public static $leeway = 0;
+
+ /**
+ * Allow the current timestamp to be specified.
+ * Useful for fixing a value within unit testing.
+ *
+ * Will default to PHP time() value if null.
+ */
+ public static $timestamp = null;
+
+ public static $supported_algs = array(
+ 'HS256' => array('hash_hmac', 'SHA256'),
+ 'HS512' => array('hash_hmac', 'SHA512'),
+ 'HS384' => array('hash_hmac', 'SHA384'),
+ 'RS256' => array('openssl', 'SHA256'),
+ );
+
+ /**
+ * Decodes a JWT string into a PHP object.
+ *
+ * @param string $jwt The JWT
+ * @param string|array $key The key, or map of keys.
+ * If the algorithm used is asymmetric, this is the public key
+ * @param array $allowed_algs List of supported verification algorithms
+ * Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
+ *
+ * @return object The JWT's payload as a PHP object
+ *
+ * @throws UnexpectedValueException Provided JWT was invalid
+ * @throws SignatureInvalidException Provided JWT was invalid because the signature verification failed
+ * @throws BeforeValidException Provided JWT is trying to be used before it's eligible as defined by 'nbf'
+ * @throws BeforeValidException Provided JWT is trying to be used before it's been created as defined by 'iat'
+ * @throws ExpiredException Provided JWT has since expired, as defined by the 'exp' claim
+ *
+ * @uses jsonDecode
+ * @uses urlsafeB64Decode
+ */
+ public static function decode($jwt, $key, $allowed_algs = array())
+ {
+ $timestamp = is_null(static::$timestamp) ? time() : static::$timestamp;
+
+ if (empty($key)) {
+ throw new InvalidArgumentException('Key may not be empty');
+ }
+ if (!is_array($allowed_algs)) {
+ throw new InvalidArgumentException('Algorithm not allowed');
+ }
+ $tks = explode('.', $jwt);
+ if (count($tks) != 3) {
+ throw new UnexpectedValueException('Wrong number of segments');
+ }
+ list($headb64, $bodyb64, $cryptob64) = $tks;
+ if (null === ($header = static::jsonDecode(static::urlsafeB64Decode($headb64)))) {
+ throw new UnexpectedValueException('Invalid header encoding');
+ }
+ if (null === $payload = static::jsonDecode(static::urlsafeB64Decode($bodyb64))) {
+ throw new UnexpectedValueException('Invalid claims encoding');
+ }
+ $sig = static::urlsafeB64Decode($cryptob64);
+
+ if (empty($header->alg)) {
+ throw new UnexpectedValueException('Empty algorithm');
+ }
+ if (empty(static::$supported_algs[$header->alg])) {
+ throw new UnexpectedValueException('Algorithm not supported');
+ }
+ if (!in_array($header->alg, $allowed_algs)) {
+ throw new UnexpectedValueException('Algorithm not allowed');
+ }
+ if (is_array($key) || $key instanceof \ArrayAccess) {
+ if (isset($header->kid)) {
+ $key = $key[$header->kid];
+ } else {
+ throw new UnexpectedValueException('"kid" empty, unable to lookup correct key');
+ }
+ }
+
+ // Check the signature
+ if (!static::verify("$headb64.$bodyb64", $sig, $key, $header->alg)) {
+ throw new SignatureInvalidException('Signature verification failed');
+ }
+
+ // Check if the nbf if it is defined. This is the time that the
+ // token can actually be used. If it's not yet that time, abort.
+ if (isset($payload->nbf) && $payload->nbf > ($timestamp + static::$leeway)) {
+ throw new BeforeValidException(
+ 'Cannot handle token prior to ' . date(DateTime::ISO8601, $payload->nbf)
+ );
+ }
+
+ // Check that this token has been created before 'now'. This prevents
+ // using tokens that have been created for later use (and haven't
+ // correctly used the nbf claim).
+ if (isset($payload->iat) && $payload->iat > ($timestamp + static::$leeway)) {
+ throw new BeforeValidException(
+ 'Cannot handle token prior to ' . date(DateTime::ISO8601, $payload->iat)
+ );
+ }
+
+ // Check if this token has expired.
+ if (isset($payload->exp) && ($timestamp - static::$leeway) >= $payload->exp) {
+ throw new ExpiredException('Expired token');
+ }
+
+ return $payload;
+ }
+
+ /**
+ * Converts and signs a PHP object or array into a JWT string.
+ *
+ * @param object|array $payload PHP object or array
+ * @param string $key The secret key.
+ * If the algorithm used is asymmetric, this is the private key
+ * @param string $alg The signing algorithm.
+ * Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
+ * @param mixed $keyId
+ * @param array $head An array with header elements to attach
+ *
+ * @return string A signed JWT
+ *
+ * @uses jsonEncode
+ * @uses urlsafeB64Encode
+ */
+ public static function encode($payload, $key, $alg = 'HS256', $keyId = null, $head = null)
+ {
+ $header = array('typ' => 'JWT', 'alg' => $alg);
+ if ($keyId !== null) {
+ $header['kid'] = $keyId;
+ }
+ if ( isset($head) && is_array($head) ) {
+ $header = array_merge($head, $header);
+ }
+ $segments = array();
+ $segments[] = static::urlsafeB64Encode(static::jsonEncode($header));
+ $segments[] = static::urlsafeB64Encode(static::jsonEncode($payload));
+ $signing_input = implode('.', $segments);
+
+ $signature = static::sign($signing_input, $key, $alg);
+ $segments[] = static::urlsafeB64Encode($signature);
+
+ return implode('.', $segments);
+ }
+
+ /**
+ * Sign a string with a given key and algorithm.
+ *
+ * @param string $msg The message to sign
+ * @param string|resource $key The secret key
+ * @param string $alg The signing algorithm.
+ * Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
+ *
+ * @return string An encrypted message
+ *
+ * @throws DomainException Unsupported algorithm was specified
+ */
+ public static function sign($msg, $key, $alg = 'HS256')
+ {
+ if (empty(static::$supported_algs[$alg])) {
+ throw new DomainException('Algorithm not supported');
+ }
+ list($function, $algorithm) = static::$supported_algs[$alg];
+ switch($function) {
+ case 'hash_hmac':
+ return hash_hmac($algorithm, $msg, $key, true);
+ case 'openssl':
+ $signature = '';
+ $success = openssl_sign($msg, $signature, $key, $algorithm);
+ if (!$success) {
+ throw new DomainException("OpenSSL unable to sign data");
+ } else {
+ return $signature;
+ }
+ }
+ }
+
+ /**
+ * Verify a signature with the message, key and method. Not all methods
+ * are symmetric, so we must have a separate verify and sign method.
+ *
+ * @param string $msg The original message (header and body)
+ * @param string $signature The original signature
+ * @param string|resource $key For HS*, a string key works. for RS*, must be a resource of an openssl public key
+ * @param string $alg The algorithm
+ *
+ * @return bool
+ *
+ * @throws DomainException Invalid Algorithm or OpenSSL failure
+ */
+ private static function verify($msg, $signature, $key, $alg)
+ {
+ if (empty(static::$supported_algs[$alg])) {
+ throw new DomainException('Algorithm not supported');
+ }
+
+ list($function, $algorithm) = static::$supported_algs[$alg];
+ switch($function) {
+ case 'openssl':
+ $success = openssl_verify($msg, $signature, $key, $algorithm);
+ if (!$success) {
+ throw new DomainException("OpenSSL unable to verify data: " . openssl_error_string());
+ } else {
+ return $signature;
+ }
+ case 'hash_hmac':
+ default:
+ $hash = hash_hmac($algorithm, $msg, $key, true);
+ if (function_exists('hash_equals')) {
+ return hash_equals($signature, $hash);
+ }
+ $len = min(static::safeStrlen($signature), static::safeStrlen($hash));
+
+ $status = 0;
+ for ($i = 0; $i < $len; $i++) {
+ $status |= (ord($signature[$i]) ^ ord($hash[$i]));
+ }
+ $status |= (static::safeStrlen($signature) ^ static::safeStrlen($hash));
+
+ return ($status === 0);
+ }
+ }
+
+ /**
+ * Decode a JSON string into a PHP object.
+ *
+ * @param string $input JSON string
+ *
+ * @return object Object representation of JSON string
+ *
+ * @throws DomainException Provided string was invalid JSON
+ */
+ public static function jsonDecode($input)
+ {
+ if (version_compare(PHP_VERSION, '5.4.0', '>=') && !(defined('JSON_C_VERSION') && PHP_INT_SIZE > 4)) {
+ /** In PHP >=5.4.0, json_decode() accepts an options parameter, that allows you
+ * to specify that large ints (like Steam Transaction IDs) should be treated as
+ * strings, rather than the PHP default behaviour of converting them to floats.
+ */
+ $obj = json_decode($input, false, 512, JSON_BIGINT_AS_STRING);
+ } else {
+ /** Not all servers will support that, however, so for older versions we must
+ * manually detect large ints in the JSON string and quote them (thus converting
+ *them to strings) before decoding, hence the preg_replace() call.
+ */
+ $max_int_length = strlen((string) PHP_INT_MAX) - 1;
+ $json_without_bigints = preg_replace('/:\s*(-?\d{'.$max_int_length.',})/', ': "$1"', $input);
+ $obj = json_decode($json_without_bigints);
+ }
+
+ if (function_exists('json_last_error') && $errno = json_last_error()) {
+ static::handleJsonError($errno);
+ } elseif ($obj === null && $input !== 'null') {
+ throw new DomainException('Null result with non-null input');
+ }
+ return $obj;
+ }
+
+ /**
+ * Encode a PHP object into a JSON string.
+ *
+ * @param object|array $input A PHP object or array
+ *
+ * @return string JSON representation of the PHP object or array
+ *
+ * @throws DomainException Provided object could not be encoded to valid JSON
+ */
+ public static function jsonEncode($input)
+ {
+ $json = json_encode($input);
+ if (function_exists('json_last_error') && $errno = json_last_error()) {
+ static::handleJsonError($errno);
+ } elseif ($json === 'null' && $input !== null) {
+ throw new DomainException('Null result with non-null input');
+ }
+ return $json;
+ }
+
+ /**
+ * Decode a string with URL-safe Base64.
+ *
+ * @param string $input A Base64 encoded string
+ *
+ * @return string A decoded string
+ */
+ public static function urlsafeB64Decode($input)
+ {
+ $remainder = strlen($input) % 4;
+ if ($remainder) {
+ $padlen = 4 - $remainder;
+ $input .= str_repeat('=', $padlen);
+ }
+ return base64_decode(strtr($input, '-_', '+/'));
+ }
+
+ /**
+ * Encode a string with URL-safe Base64.
+ *
+ * @param string $input The string you want encoded
+ *
+ * @return string The base64 encode of what you passed in
+ */
+ public static function urlsafeB64Encode($input)
+ {
+ return str_replace('=', '', strtr(base64_encode($input), '+/', '-_'));
+ }
+
+ /**
+ * Helper method to create a JSON error.
+ *
+ * @param int $errno An error number from json_last_error()
+ *
+ * @return void
+ */
+ private static function handleJsonError($errno)
+ {
+ $messages = array(
+ JSON_ERROR_DEPTH => 'Maximum stack depth exceeded',
+ JSON_ERROR_CTRL_CHAR => 'Unexpected control character found',
+ JSON_ERROR_SYNTAX => 'Syntax error, malformed JSON'
+ );
+ throw new DomainException(
+ isset($messages[$errno])
+ ? $messages[$errno]
+ : 'Unknown JSON error: ' . $errno
+ );
+ }
+
+ /**
+ * Get the number of bytes in cryptographic strings.
+ *
+ * @param string
+ *
+ * @return int
+ */
+ private static function safeStrlen($str)
+ {
+ if (function_exists('mb_strlen')) {
+ return mb_strlen($str, '8bit');
+ }
+ return strlen($str);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/src/SignatureInvalidException.php b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/src/SignatureInvalidException.php
new file mode 100644
index 00000000..27332b21
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/firebase/php-jwt/src/SignatureInvalidException.php
@@ -0,0 +1,7 @@
+<?php
+namespace Firebase\JWT;
+
+class SignatureInvalidException extends \UnexpectedValueException
+{
+
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/.gitignore b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/.gitignore
new file mode 100644
index 00000000..01150f6f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/.gitignore
@@ -0,0 +1,4 @@
+vendor
+composer.lock
+src/Google/Service/Compute/HTTPHealthCheck.php
+src/Google/Service/Compute/HTTPSHealthCheck.php
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/.travis.yml b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/.travis.yml
new file mode 100644
index 00000000..c3c21d4d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/.travis.yml
@@ -0,0 +1,15 @@
+language: php
+
+php:
+ - 5.4
+ - 5.5
+ - 5.6
+ - 7.0
+ - 7.1
+ - hhvm
+
+install:
+ - composer install
+
+script:
+ - phpunit
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/CONTRIBUTING.md b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/CONTRIBUTING.md
new file mode 100644
index 00000000..e852a93a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/LICENSE b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/LICENSE
new file mode 100644
index 00000000..a148ba56
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/README.md b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/README.md
new file mode 100644
index 00000000..0eb62fa6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/README.md
@@ -0,0 +1,30 @@
+Google PHP API Client Services
+==============================
+
+## Requirements
+
+[Google API PHP Client](https://github.com/google/google-api-php-client/releases)
+
+## Usage in v2 of Google API PHP Client
+
+This library will be automatically installed with the
+[Google API PHP Client](https://github.com/google/google-api-php-client/releases)
+via composer. Composer will automatically pull down a monthly tag
+from this repository.
+
+If you'd like to always be up-to-date with the latest release, rather than
+wait for monthly tagged releases, request the `dev-master` version in composer:
+
+```sh
+composer require google/apiclient-services:dev-master
+```
+
+## Usage in v1
+
+If you are currently using the [`v1-master`](https://github.com/google/google-api-php-client/tree/v1-master)
+branch of the client library, but want to use the latest API services, you can
+do so by requiring this library directly into your project via the same composer command:
+
+```sh
+composer require google/apiclient-services:dev-master
+```
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/composer.json b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/composer.json
new file mode 100644
index 00000000..7c319d05
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/composer.json
@@ -0,0 +1,19 @@
+{
+ "name": "google/apiclient-services",
+ "type": "library",
+ "description": "Client library for Google APIs",
+ "keywords": ["google"],
+ "homepage": "http://developers.google.com/api-client-library/php",
+ "license": "Apache-2.0",
+ "require": {
+ "php": ">=5.4"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.8"
+ },
+ "autoload": {
+ "psr-0": {
+ "Google_Service_": "src"
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/phpunit.xml b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/phpunit.xml
new file mode 100644
index 00000000..95069eed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/phpunit.xml
@@ -0,0 +1,11 @@
+<?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 PHP Client Unit Services Test Suite">
+ <directory>tests</directory>
+ </testsuite>
+ </testsuites>
+</phpunit>
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl.php
new file mode 100644
index 00000000..00a09651
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Acceleratedmobilepageurl (v1).
+ *
+ * <p>
+ * This API contains a single method, batchGet. Call this method to retrieve the
+ * AMP URL (and equivalent AMP Cache URL) for given public URL(s).</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/amp/cache/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Acceleratedmobilepageurl extends Google_Service
+{
+
+
+ public $ampUrls;
+
+ /**
+ * Constructs the internal representation of the Acceleratedmobilepageurl
+ * service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://acceleratedmobilepageurl.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'acceleratedmobilepageurl';
+
+ $this->ampUrls = new Google_Service_Acceleratedmobilepageurl_Resource_AmpUrls(
+ $this,
+ $this->serviceName,
+ 'ampUrls',
+ array(
+ 'methods' => array(
+ 'batchGet' => array(
+ 'path' => 'v1/ampUrls:batchGet',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/AmpUrl.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/AmpUrl.php
new file mode 100644
index 00000000..9edc1587
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/AmpUrl.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Acceleratedmobilepageurl_AmpUrl extends Google_Model
+{
+ public $ampUrl;
+ public $cdnAmpUrl;
+ public $originalUrl;
+
+ public function setAmpUrl($ampUrl)
+ {
+ $this->ampUrl = $ampUrl;
+ }
+ public function getAmpUrl()
+ {
+ return $this->ampUrl;
+ }
+ public function setCdnAmpUrl($cdnAmpUrl)
+ {
+ $this->cdnAmpUrl = $cdnAmpUrl;
+ }
+ public function getCdnAmpUrl()
+ {
+ return $this->cdnAmpUrl;
+ }
+ public function setOriginalUrl($originalUrl)
+ {
+ $this->originalUrl = $originalUrl;
+ }
+ public function getOriginalUrl()
+ {
+ return $this->originalUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/AmpUrlError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/AmpUrlError.php
new file mode 100644
index 00000000..450988d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/AmpUrlError.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Acceleratedmobilepageurl_AmpUrlError extends Google_Model
+{
+ public $errorCode;
+ public $errorMessage;
+ public $originalUrl;
+
+ public function setErrorCode($errorCode)
+ {
+ $this->errorCode = $errorCode;
+ }
+ public function getErrorCode()
+ {
+ return $this->errorCode;
+ }
+ public function setErrorMessage($errorMessage)
+ {
+ $this->errorMessage = $errorMessage;
+ }
+ public function getErrorMessage()
+ {
+ return $this->errorMessage;
+ }
+ public function setOriginalUrl($originalUrl)
+ {
+ $this->originalUrl = $originalUrl;
+ }
+ public function getOriginalUrl()
+ {
+ return $this->originalUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/BatchGetAmpUrlsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/BatchGetAmpUrlsRequest.php
new file mode 100644
index 00000000..c2b4d204
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/BatchGetAmpUrlsRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest extends Google_Collection
+{
+ protected $collection_key = 'urls';
+ public $lookupStrategy;
+ public $urls;
+
+ public function setLookupStrategy($lookupStrategy)
+ {
+ $this->lookupStrategy = $lookupStrategy;
+ }
+ public function getLookupStrategy()
+ {
+ return $this->lookupStrategy;
+ }
+ public function setUrls($urls)
+ {
+ $this->urls = $urls;
+ }
+ public function getUrls()
+ {
+ return $this->urls;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/BatchGetAmpUrlsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/BatchGetAmpUrlsResponse.php
new file mode 100644
index 00000000..62196ade
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/BatchGetAmpUrlsResponse.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse extends Google_Collection
+{
+ protected $collection_key = 'urlErrors';
+ protected $ampUrlsType = 'Google_Service_Acceleratedmobilepageurl_AmpUrl';
+ protected $ampUrlsDataType = 'array';
+ protected $urlErrorsType = 'Google_Service_Acceleratedmobilepageurl_AmpUrlError';
+ protected $urlErrorsDataType = 'array';
+
+ public function setAmpUrls($ampUrls)
+ {
+ $this->ampUrls = $ampUrls;
+ }
+ public function getAmpUrls()
+ {
+ return $this->ampUrls;
+ }
+ public function setUrlErrors($urlErrors)
+ {
+ $this->urlErrors = $urlErrors;
+ }
+ public function getUrlErrors()
+ {
+ return $this->urlErrors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/Resource/AmpUrls.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/Resource/AmpUrls.php
new file mode 100644
index 00000000..9082e17c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/Resource/AmpUrls.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "ampUrls" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $acceleratedmobilepageurlService = new Google_Service_Acceleratedmobilepageurl(...);
+ * $ampUrls = $acceleratedmobilepageurlService->ampUrls;
+ * </code>
+ */
+class Google_Service_Acceleratedmobilepageurl_Resource_AmpUrls extends Google_Service_Resource
+{
+ /**
+ * Returns AMP URL(s) and equivalent [AMP Cache URL(s)](/amp/cache/overview#amp-
+ * cache-url-format). (ampUrls.batchGet)
+ *
+ * @param Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse
+ */
+ public function batchGet(Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchGet', array($params), "Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer.php
new file mode 100644
index 00000000..0d49c832
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer.php
@@ -0,0 +1,679 @@
+<?php
+/*
+ * Copyright 2016 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.4).
+ *
+ * <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 Google_Service_AdExchangeBuyer extends Google_Service
+{
+ /** Manage your Ad Exchange buyer account configuration. */
+ const ADEXCHANGE_BUYER =
+ "https://www.googleapis.com/auth/adexchange.buyer";
+
+ public $accounts;
+ public $billingInfo;
+ public $budget;
+ public $creatives;
+ public $marketplacedeals;
+ public $marketplacenotes;
+ public $marketplaceprivateauction;
+ public $performanceReport;
+ public $pretargetingConfig;
+ public $products;
+ public $proposals;
+ public $pubprofiles;
+
+ /**
+ * Constructs the internal representation of the AdExchangeBuyer service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'adexchangebuyer/v1.4/';
+ $this->version = 'v1.4';
+ $this->serviceName = 'adexchangebuyer';
+
+ $this->accounts = new Google_Service_AdExchangeBuyer_Resource_Accounts(
+ $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,
+ ),
+ 'confirmUnsafeAccountChange' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'accounts/{id}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'confirmUnsafeAccountChange' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->billingInfo = new Google_Service_AdExchangeBuyer_Resource_BillingInfo(
+ $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->budget = new Google_Service_AdExchangeBuyer_Resource_Budget(
+ $this,
+ $this->serviceName,
+ 'budget',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'billinginfo/{accountId}/{billingId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'billingId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'billinginfo/{accountId}/{billingId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'billingId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'billinginfo/{accountId}/{billingId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'billingId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->creatives = new Google_Service_AdExchangeBuyer_Resource_Creatives(
+ $this,
+ $this->serviceName,
+ 'creatives',
+ array(
+ 'methods' => array(
+ 'addDeal' => array(
+ 'path' => 'creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'buyerCreativeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dealId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'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(
+ 'accountId' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'repeated' => true,
+ ),
+ 'buyerCreativeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'dealsStatusFilter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'openAuctionStatusFilter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listDeals' => array(
+ 'path' => 'creatives/{accountId}/{buyerCreativeId}/listDeals',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'buyerCreativeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'removeDeal' => array(
+ 'path' => 'creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'buyerCreativeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dealId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->marketplacedeals = new Google_Service_AdExchangeBuyer_Resource_Marketplacedeals(
+ $this,
+ $this->serviceName,
+ 'marketplacedeals',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'proposals/{proposalId}/deals/delete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'proposalId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'proposals/{proposalId}/deals/insert',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'proposalId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'proposals/{proposalId}/deals',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'proposalId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pqlQuery' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'proposals/{proposalId}/deals/update',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'proposalId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->marketplacenotes = new Google_Service_AdExchangeBuyer_Resource_Marketplacenotes(
+ $this,
+ $this->serviceName,
+ 'marketplacenotes',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => 'proposals/{proposalId}/notes/insert',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'proposalId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'proposals/{proposalId}/notes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'proposalId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pqlQuery' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->marketplaceprivateauction = new Google_Service_AdExchangeBuyer_Resource_Marketplaceprivateauction(
+ $this,
+ $this->serviceName,
+ 'marketplaceprivateauction',
+ array(
+ 'methods' => array(
+ 'updateproposal' => array(
+ 'path' => 'privateauction/{privateAuctionId}/updateproposal',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'privateAuctionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->performanceReport = new Google_Service_AdExchangeBuyer_Resource_PerformanceReport(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->pretargetingConfig = new Google_Service_AdExchangeBuyer_Resource_PretargetingConfig(
+ $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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->products = new Google_Service_AdExchangeBuyer_Resource_Products(
+ $this,
+ $this->serviceName,
+ 'products',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'products/{productId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'products/search',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pqlQuery' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->proposals = new Google_Service_AdExchangeBuyer_Resource_Proposals(
+ $this,
+ $this->serviceName,
+ 'proposals',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'proposals/{proposalId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'proposalId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'proposals/insert',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'patch' => array(
+ 'path' => 'proposals/{proposalId}/{revisionNumber}/{updateAction}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'proposalId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revisionNumber' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateAction' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'proposals/search',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pqlQuery' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'setupcomplete' => array(
+ 'path' => 'proposals/{proposalId}/setupcomplete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'proposalId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'proposals/{proposalId}/{revisionNumber}/{updateAction}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'proposalId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revisionNumber' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateAction' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->pubprofiles = new Google_Service_AdExchangeBuyer_Resource_Pubprofiles(
+ $this,
+ $this->serviceName,
+ 'pubprofiles',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'publisher/{accountId}/profiles',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Account.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Account.php
new file mode 100644
index 00000000..85b0aea5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Account.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_Account extends Google_Collection
+{
+ protected $collection_key = 'bidderLocation';
+ protected $bidderLocationType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AccountBidderLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AccountBidderLocation.php
new file mode 100644
index 00000000..3b1d6ebd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AccountBidderLocation.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_AccountBidderLocation extends Google_Model
+{
+ public $bidProtocol;
+ public $maximumQps;
+ public $region;
+ public $url;
+
+ public function setBidProtocol($bidProtocol)
+ {
+ $this->bidProtocol = $bidProtocol;
+ }
+ public function getBidProtocol()
+ {
+ return $this->bidProtocol;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AccountsList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AccountsList.php
new file mode 100644
index 00000000..96635b14
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AccountsList.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_AccountsList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderDealsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderDealsRequest.php
new file mode 100644
index 00000000..9d39b447
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderDealsRequest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_AddOrderDealsRequest extends Google_Collection
+{
+ protected $collection_key = 'deals';
+ protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
+ protected $dealsDataType = 'array';
+ public $proposalRevisionNumber;
+ public $updateAction;
+
+ public function setDeals($deals)
+ {
+ $this->deals = $deals;
+ }
+ public function getDeals()
+ {
+ return $this->deals;
+ }
+ public function setProposalRevisionNumber($proposalRevisionNumber)
+ {
+ $this->proposalRevisionNumber = $proposalRevisionNumber;
+ }
+ public function getProposalRevisionNumber()
+ {
+ return $this->proposalRevisionNumber;
+ }
+ public function setUpdateAction($updateAction)
+ {
+ $this->updateAction = $updateAction;
+ }
+ public function getUpdateAction()
+ {
+ return $this->updateAction;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderDealsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderDealsResponse.php
new file mode 100644
index 00000000..6e2e56ae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderDealsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_AddOrderDealsResponse extends Google_Collection
+{
+ protected $collection_key = 'deals';
+ protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
+ protected $dealsDataType = 'array';
+ public $proposalRevisionNumber;
+
+ public function setDeals($deals)
+ {
+ $this->deals = $deals;
+ }
+ public function getDeals()
+ {
+ return $this->deals;
+ }
+ public function setProposalRevisionNumber($proposalRevisionNumber)
+ {
+ $this->proposalRevisionNumber = $proposalRevisionNumber;
+ }
+ public function getProposalRevisionNumber()
+ {
+ return $this->proposalRevisionNumber;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderNotesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderNotesRequest.php
new file mode 100644
index 00000000..1f05dcbf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderNotesRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_AddOrderNotesRequest extends Google_Collection
+{
+ protected $collection_key = 'notes';
+ protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
+ protected $notesDataType = 'array';
+
+ public function setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderNotesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderNotesResponse.php
new file mode 100644
index 00000000..d33cd505
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderNotesResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_AddOrderNotesResponse extends Google_Collection
+{
+ protected $collection_key = 'notes';
+ protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
+ protected $notesDataType = 'array';
+
+ public function setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/BillingInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/BillingInfo.php
new file mode 100644
index 00000000..5265205d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/BillingInfo.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_BillingInfo extends Google_Collection
+{
+ protected $collection_key = 'billingId';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/BillingInfoList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/BillingInfoList.php
new file mode 100644
index 00000000..0ebd96e5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/BillingInfoList.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_BillingInfoList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Budget.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Budget.php
new file mode 100644
index 00000000..339e36e5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Budget.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_Budget extends Google_Model
+{
+ public $accountId;
+ public $billingId;
+ public $budgetAmount;
+ public $currencyCode;
+ public $id;
+ public $kind;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setBillingId($billingId)
+ {
+ $this->billingId = $billingId;
+ }
+ public function getBillingId()
+ {
+ return $this->billingId;
+ }
+ public function setBudgetAmount($budgetAmount)
+ {
+ $this->budgetAmount = $budgetAmount;
+ }
+ public function getBudgetAmount()
+ {
+ return $this->budgetAmount;
+ }
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Buyer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Buyer.php
new file mode 100644
index 00000000..f5b79f56
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Buyer.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_Buyer extends Google_Model
+{
+ public $accountId;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/ContactInformation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/ContactInformation.php
new file mode 100644
index 00000000..55de2d18
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/ContactInformation.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_ContactInformation extends Google_Model
+{
+ public $email;
+ public $name;
+
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreateOrdersRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreateOrdersRequest.php
new file mode 100644
index 00000000..e8203657
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreateOrdersRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_CreateOrdersRequest extends Google_Collection
+{
+ protected $collection_key = 'proposals';
+ protected $proposalsType = 'Google_Service_AdExchangeBuyer_Proposal';
+ protected $proposalsDataType = 'array';
+ public $webPropertyCode;
+
+ public function setProposals($proposals)
+ {
+ $this->proposals = $proposals;
+ }
+ public function getProposals()
+ {
+ return $this->proposals;
+ }
+ public function setWebPropertyCode($webPropertyCode)
+ {
+ $this->webPropertyCode = $webPropertyCode;
+ }
+ public function getWebPropertyCode()
+ {
+ return $this->webPropertyCode;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreateOrdersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreateOrdersResponse.php
new file mode 100644
index 00000000..a617afbc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreateOrdersResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_CreateOrdersResponse extends Google_Collection
+{
+ protected $collection_key = 'proposals';
+ protected $proposalsType = 'Google_Service_AdExchangeBuyer_Proposal';
+ protected $proposalsDataType = 'array';
+
+ public function setProposals($proposals)
+ {
+ $this->proposals = $proposals;
+ }
+ public function getProposals()
+ {
+ return $this->proposals;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Creative.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Creative.php
new file mode 100644
index 00000000..376cd3f9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Creative.php
@@ -0,0 +1,281 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_Creative extends Google_Collection
+{
+ protected $collection_key = 'vendorType';
+ protected $internal_gapi_mappings = array(
+ "hTMLSnippet" => "HTMLSnippet",
+ );
+ public $hTMLSnippet;
+ public $accountId;
+ public $adChoicesDestinationUrl;
+ public $advertiserId;
+ public $advertiserName;
+ public $agencyId;
+ public $apiUploadTimestamp;
+ public $attribute;
+ public $buyerCreativeId;
+ public $clickThroughUrl;
+ protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections';
+ protected $correctionsDataType = 'array';
+ public $dealsStatus;
+ public $detectedDomains;
+ protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
+ protected $filteringReasonsDataType = '';
+ public $height;
+ public $impressionTrackingUrl;
+ public $kind;
+ public $languages;
+ protected $nativeAdType = 'Google_Service_AdExchangeBuyer_CreativeNativeAd';
+ protected $nativeAdDataType = '';
+ public $openAuctionStatus;
+ public $productCategories;
+ public $restrictedCategories;
+ public $sensitiveCategories;
+ protected $servingRestrictionsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictions';
+ protected $servingRestrictionsDataType = 'array';
+ public $vendorType;
+ public $version;
+ 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 setAdChoicesDestinationUrl($adChoicesDestinationUrl)
+ {
+ $this->adChoicesDestinationUrl = $adChoicesDestinationUrl;
+ }
+ public function getAdChoicesDestinationUrl()
+ {
+ return $this->adChoicesDestinationUrl;
+ }
+ 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 setApiUploadTimestamp($apiUploadTimestamp)
+ {
+ $this->apiUploadTimestamp = $apiUploadTimestamp;
+ }
+ public function getApiUploadTimestamp()
+ {
+ return $this->apiUploadTimestamp;
+ }
+ 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 setDealsStatus($dealsStatus)
+ {
+ $this->dealsStatus = $dealsStatus;
+ }
+ public function getDealsStatus()
+ {
+ return $this->dealsStatus;
+ }
+ public function setDetectedDomains($detectedDomains)
+ {
+ $this->detectedDomains = $detectedDomains;
+ }
+ public function getDetectedDomains()
+ {
+ return $this->detectedDomains;
+ }
+ public function setFilteringReasons(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 setImpressionTrackingUrl($impressionTrackingUrl)
+ {
+ $this->impressionTrackingUrl = $impressionTrackingUrl;
+ }
+ public function getImpressionTrackingUrl()
+ {
+ return $this->impressionTrackingUrl;
+ }
+ 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 setNativeAd(Google_Service_AdExchangeBuyer_CreativeNativeAd $nativeAd)
+ {
+ $this->nativeAd = $nativeAd;
+ }
+ public function getNativeAd()
+ {
+ return $this->nativeAd;
+ }
+ public function setOpenAuctionStatus($openAuctionStatus)
+ {
+ $this->openAuctionStatus = $openAuctionStatus;
+ }
+ public function getOpenAuctionStatus()
+ {
+ return $this->openAuctionStatus;
+ }
+ 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 setServingRestrictions($servingRestrictions)
+ {
+ $this->servingRestrictions = $servingRestrictions;
+ }
+ public function getServingRestrictions()
+ {
+ return $this->servingRestrictions;
+ }
+ public function setVendorType($vendorType)
+ {
+ $this->vendorType = $vendorType;
+ }
+ public function getVendorType()
+ {
+ return $this->vendorType;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeCorrections.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeCorrections.php
new file mode 100644
index 00000000..0ac14a05
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeCorrections.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_CreativeCorrections extends Google_Collection
+{
+ protected $collection_key = 'details';
+ protected $contextsType = 'Google_Service_AdExchangeBuyer_CreativeCorrectionsContexts';
+ protected $contextsDataType = 'array';
+ public $details;
+ public $reason;
+
+ public function setContexts($contexts)
+ {
+ $this->contexts = $contexts;
+ }
+ public function getContexts()
+ {
+ return $this->contexts;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeCorrectionsContexts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeCorrectionsContexts.php
new file mode 100644
index 00000000..3fc726cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeCorrectionsContexts.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_CreativeCorrectionsContexts extends Google_Collection
+{
+ protected $collection_key = 'platform';
+ public $auctionType;
+ public $contextType;
+ public $geoCriteriaId;
+ public $platform;
+
+ public function setAuctionType($auctionType)
+ {
+ $this->auctionType = $auctionType;
+ }
+ public function getAuctionType()
+ {
+ return $this->auctionType;
+ }
+ public function setContextType($contextType)
+ {
+ $this->contextType = $contextType;
+ }
+ public function getContextType()
+ {
+ return $this->contextType;
+ }
+ public function setGeoCriteriaId($geoCriteriaId)
+ {
+ $this->geoCriteriaId = $geoCriteriaId;
+ }
+ public function getGeoCriteriaId()
+ {
+ return $this->geoCriteriaId;
+ }
+ public function setPlatform($platform)
+ {
+ $this->platform = $platform;
+ }
+ public function getPlatform()
+ {
+ return $this->platform;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeDealIds.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeDealIds.php
new file mode 100644
index 00000000..59136bf6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeDealIds.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_CreativeDealIds extends Google_Collection
+{
+ protected $collection_key = 'dealStatuses';
+ protected $dealStatusesType = 'Google_Service_AdExchangeBuyer_CreativeDealIdsDealStatuses';
+ protected $dealStatusesDataType = 'array';
+ public $kind;
+
+ public function setDealStatuses($dealStatuses)
+ {
+ $this->dealStatuses = $dealStatuses;
+ }
+ public function getDealStatuses()
+ {
+ return $this->dealStatuses;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeDealIdsDealStatuses.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeDealIdsDealStatuses.php
new file mode 100644
index 00000000..62759046
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeDealIdsDealStatuses.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_CreativeDealIdsDealStatuses extends Google_Model
+{
+ public $arcStatus;
+ public $dealId;
+ public $webPropertyId;
+
+ public function setArcStatus($arcStatus)
+ {
+ $this->arcStatus = $arcStatus;
+ }
+ public function getArcStatus()
+ {
+ return $this->arcStatus;
+ }
+ public function setDealId($dealId)
+ {
+ $this->dealId = $dealId;
+ }
+ public function getDealId()
+ {
+ return $this->dealId;
+ }
+ public function setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeFilteringReasons.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeFilteringReasons.php
new file mode 100644
index 00000000..6f7b281d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeFilteringReasons.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_CreativeFilteringReasons extends Google_Collection
+{
+ protected $collection_key = 'reasons';
+ public $date;
+ protected $reasonsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeFilteringReasonsReasons.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeFilteringReasonsReasons.php
new file mode 100644
index 00000000..d40dfba6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeFilteringReasonsReasons.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAd.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAd.php
new file mode 100644
index 00000000..a4053823
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAd.php
@@ -0,0 +1,151 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_CreativeNativeAd extends Google_Collection
+{
+ protected $collection_key = 'impressionTrackingUrl';
+ public $advertiser;
+ protected $appIconType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon';
+ protected $appIconDataType = '';
+ public $body;
+ public $callToAction;
+ public $clickLinkUrl;
+ public $clickTrackingUrl;
+ public $headline;
+ protected $imageType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdImage';
+ protected $imageDataType = '';
+ public $impressionTrackingUrl;
+ protected $logoType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdLogo';
+ protected $logoDataType = '';
+ public $price;
+ public $starRating;
+ public $store;
+ public $videoURL;
+
+ public function setAdvertiser($advertiser)
+ {
+ $this->advertiser = $advertiser;
+ }
+ public function getAdvertiser()
+ {
+ return $this->advertiser;
+ }
+ public function setAppIcon(Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon $appIcon)
+ {
+ $this->appIcon = $appIcon;
+ }
+ public function getAppIcon()
+ {
+ return $this->appIcon;
+ }
+ public function setBody($body)
+ {
+ $this->body = $body;
+ }
+ public function getBody()
+ {
+ return $this->body;
+ }
+ public function setCallToAction($callToAction)
+ {
+ $this->callToAction = $callToAction;
+ }
+ public function getCallToAction()
+ {
+ return $this->callToAction;
+ }
+ public function setClickLinkUrl($clickLinkUrl)
+ {
+ $this->clickLinkUrl = $clickLinkUrl;
+ }
+ public function getClickLinkUrl()
+ {
+ return $this->clickLinkUrl;
+ }
+ public function setClickTrackingUrl($clickTrackingUrl)
+ {
+ $this->clickTrackingUrl = $clickTrackingUrl;
+ }
+ public function getClickTrackingUrl()
+ {
+ return $this->clickTrackingUrl;
+ }
+ public function setHeadline($headline)
+ {
+ $this->headline = $headline;
+ }
+ public function getHeadline()
+ {
+ return $this->headline;
+ }
+ public function setImage(Google_Service_AdExchangeBuyer_CreativeNativeAdImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setImpressionTrackingUrl($impressionTrackingUrl)
+ {
+ $this->impressionTrackingUrl = $impressionTrackingUrl;
+ }
+ public function getImpressionTrackingUrl()
+ {
+ return $this->impressionTrackingUrl;
+ }
+ public function setLogo(Google_Service_AdExchangeBuyer_CreativeNativeAdLogo $logo)
+ {
+ $this->logo = $logo;
+ }
+ public function getLogo()
+ {
+ return $this->logo;
+ }
+ public function setPrice($price)
+ {
+ $this->price = $price;
+ }
+ public function getPrice()
+ {
+ return $this->price;
+ }
+ public function setStarRating($starRating)
+ {
+ $this->starRating = $starRating;
+ }
+ public function getStarRating()
+ {
+ return $this->starRating;
+ }
+ public function setStore($store)
+ {
+ $this->store = $store;
+ }
+ public function getStore()
+ {
+ return $this->store;
+ }
+ public function setVideoURL($videoURL)
+ {
+ $this->videoURL = $videoURL;
+ }
+ public function getVideoURL()
+ {
+ return $this->videoURL;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdAppIcon.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdAppIcon.php
new file mode 100644
index 00000000..54192165
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdAppIcon.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdImage.php
new file mode 100644
index 00000000..c5db1c2a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdImage.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_CreativeNativeAdImage extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdLogo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdLogo.php
new file mode 100644
index 00000000..658230c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdLogo.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_CreativeNativeAdLogo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictions.php
new file mode 100644
index 00000000..0c508036
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictions.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_CreativeServingRestrictions extends Google_Collection
+{
+ protected $collection_key = 'disapprovalReasons';
+ protected $contextsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts';
+ protected $contextsDataType = 'array';
+ protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons';
+ protected $disapprovalReasonsDataType = 'array';
+ public $reason;
+
+ public function setContexts($contexts)
+ {
+ $this->contexts = $contexts;
+ }
+ public function getContexts()
+ {
+ return $this->contexts;
+ }
+ public function setDisapprovalReasons($disapprovalReasons)
+ {
+ $this->disapprovalReasons = $disapprovalReasons;
+ }
+ public function getDisapprovalReasons()
+ {
+ return $this->disapprovalReasons;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictionsContexts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictionsContexts.php
new file mode 100644
index 00000000..c236e5a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictionsContexts.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts extends Google_Collection
+{
+ protected $collection_key = 'platform';
+ public $auctionType;
+ public $contextType;
+ public $geoCriteriaId;
+ public $platform;
+
+ public function setAuctionType($auctionType)
+ {
+ $this->auctionType = $auctionType;
+ }
+ public function getAuctionType()
+ {
+ return $this->auctionType;
+ }
+ public function setContextType($contextType)
+ {
+ $this->contextType = $contextType;
+ }
+ public function getContextType()
+ {
+ return $this->contextType;
+ }
+ public function setGeoCriteriaId($geoCriteriaId)
+ {
+ $this->geoCriteriaId = $geoCriteriaId;
+ }
+ public function getGeoCriteriaId()
+ {
+ return $this->geoCriteriaId;
+ }
+ public function setPlatform($platform)
+ {
+ $this->platform = $platform;
+ }
+ public function getPlatform()
+ {
+ return $this->platform;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictionsDisapprovalReasons.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictionsDisapprovalReasons.php
new file mode 100644
index 00000000..f10255f1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictionsDisapprovalReasons.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons extends Google_Collection
+{
+ protected $collection_key = 'details';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativesList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativesList.php
new file mode 100644
index 00000000..65200632
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativesList.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_CreativesList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealServingMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealServingMetadata.php
new file mode 100644
index 00000000..fac51dfc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealServingMetadata.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_DealServingMetadata extends Google_Model
+{
+ public $alcoholAdsAllowed;
+ protected $dealPauseStatusType = 'Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus';
+ protected $dealPauseStatusDataType = '';
+
+ public function setAlcoholAdsAllowed($alcoholAdsAllowed)
+ {
+ $this->alcoholAdsAllowed = $alcoholAdsAllowed;
+ }
+ public function getAlcoholAdsAllowed()
+ {
+ return $this->alcoholAdsAllowed;
+ }
+ public function setDealPauseStatus(Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus $dealPauseStatus)
+ {
+ $this->dealPauseStatus = $dealPauseStatus;
+ }
+ public function getDealPauseStatus()
+ {
+ return $this->dealPauseStatus;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealServingMetadataDealPauseStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealServingMetadataDealPauseStatus.php
new file mode 100644
index 00000000..17da50be
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealServingMetadataDealPauseStatus.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus extends Google_Model
+{
+ public $buyerPauseReason;
+ public $firstPausedBy;
+ public $hasBuyerPaused;
+ public $hasSellerPaused;
+ public $sellerPauseReason;
+
+ public function setBuyerPauseReason($buyerPauseReason)
+ {
+ $this->buyerPauseReason = $buyerPauseReason;
+ }
+ public function getBuyerPauseReason()
+ {
+ return $this->buyerPauseReason;
+ }
+ public function setFirstPausedBy($firstPausedBy)
+ {
+ $this->firstPausedBy = $firstPausedBy;
+ }
+ public function getFirstPausedBy()
+ {
+ return $this->firstPausedBy;
+ }
+ public function setHasBuyerPaused($hasBuyerPaused)
+ {
+ $this->hasBuyerPaused = $hasBuyerPaused;
+ }
+ public function getHasBuyerPaused()
+ {
+ return $this->hasBuyerPaused;
+ }
+ public function setHasSellerPaused($hasSellerPaused)
+ {
+ $this->hasSellerPaused = $hasSellerPaused;
+ }
+ public function getHasSellerPaused()
+ {
+ return $this->hasSellerPaused;
+ }
+ public function setSellerPauseReason($sellerPauseReason)
+ {
+ $this->sellerPauseReason = $sellerPauseReason;
+ }
+ public function getSellerPauseReason()
+ {
+ return $this->sellerPauseReason;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTerms.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTerms.php
new file mode 100644
index 00000000..2fd7039a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTerms.php
@@ -0,0 +1,116 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_DealTerms extends Google_Model
+{
+ public $brandingType;
+ public $crossListedExternalDealIdType;
+ public $description;
+ protected $estimatedGrossSpendType = 'Google_Service_AdExchangeBuyer_Price';
+ protected $estimatedGrossSpendDataType = '';
+ public $estimatedImpressionsPerDay;
+ protected $guaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms';
+ protected $guaranteedFixedPriceTermsDataType = '';
+ protected $nonGuaranteedAuctionTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms';
+ protected $nonGuaranteedAuctionTermsDataType = '';
+ protected $nonGuaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms';
+ protected $nonGuaranteedFixedPriceTermsDataType = '';
+ protected $rubiconNonGuaranteedTermsType = 'Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms';
+ protected $rubiconNonGuaranteedTermsDataType = '';
+ public $sellerTimeZone;
+
+ public function setBrandingType($brandingType)
+ {
+ $this->brandingType = $brandingType;
+ }
+ public function getBrandingType()
+ {
+ return $this->brandingType;
+ }
+ public function setCrossListedExternalDealIdType($crossListedExternalDealIdType)
+ {
+ $this->crossListedExternalDealIdType = $crossListedExternalDealIdType;
+ }
+ public function getCrossListedExternalDealIdType()
+ {
+ return $this->crossListedExternalDealIdType;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEstimatedGrossSpend(Google_Service_AdExchangeBuyer_Price $estimatedGrossSpend)
+ {
+ $this->estimatedGrossSpend = $estimatedGrossSpend;
+ }
+ public function getEstimatedGrossSpend()
+ {
+ return $this->estimatedGrossSpend;
+ }
+ public function setEstimatedImpressionsPerDay($estimatedImpressionsPerDay)
+ {
+ $this->estimatedImpressionsPerDay = $estimatedImpressionsPerDay;
+ }
+ public function getEstimatedImpressionsPerDay()
+ {
+ return $this->estimatedImpressionsPerDay;
+ }
+ public function setGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms $guaranteedFixedPriceTerms)
+ {
+ $this->guaranteedFixedPriceTerms = $guaranteedFixedPriceTerms;
+ }
+ public function getGuaranteedFixedPriceTerms()
+ {
+ return $this->guaranteedFixedPriceTerms;
+ }
+ public function setNonGuaranteedAuctionTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms $nonGuaranteedAuctionTerms)
+ {
+ $this->nonGuaranteedAuctionTerms = $nonGuaranteedAuctionTerms;
+ }
+ public function getNonGuaranteedAuctionTerms()
+ {
+ return $this->nonGuaranteedAuctionTerms;
+ }
+ public function setNonGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms $nonGuaranteedFixedPriceTerms)
+ {
+ $this->nonGuaranteedFixedPriceTerms = $nonGuaranteedFixedPriceTerms;
+ }
+ public function getNonGuaranteedFixedPriceTerms()
+ {
+ return $this->nonGuaranteedFixedPriceTerms;
+ }
+ public function setRubiconNonGuaranteedTerms(Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms $rubiconNonGuaranteedTerms)
+ {
+ $this->rubiconNonGuaranteedTerms = $rubiconNonGuaranteedTerms;
+ }
+ public function getRubiconNonGuaranteedTerms()
+ {
+ return $this->rubiconNonGuaranteedTerms;
+ }
+ public function setSellerTimeZone($sellerTimeZone)
+ {
+ $this->sellerTimeZone = $sellerTimeZone;
+ }
+ public function getSellerTimeZone()
+ {
+ return $this->sellerTimeZone;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsGuaranteedFixedPriceTerms.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsGuaranteedFixedPriceTerms.php
new file mode 100644
index 00000000..44d1c474
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsGuaranteedFixedPriceTerms.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms extends Google_Collection
+{
+ protected $collection_key = 'fixedPrices';
+ protected $billingInfoType = 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo';
+ protected $billingInfoDataType = '';
+ protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
+ protected $fixedPricesDataType = 'array';
+ public $guaranteedImpressions;
+ public $guaranteedLooks;
+ public $minimumDailyLooks;
+
+ public function setBillingInfo(Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo $billingInfo)
+ {
+ $this->billingInfo = $billingInfo;
+ }
+ public function getBillingInfo()
+ {
+ return $this->billingInfo;
+ }
+ public function setFixedPrices($fixedPrices)
+ {
+ $this->fixedPrices = $fixedPrices;
+ }
+ public function getFixedPrices()
+ {
+ return $this->fixedPrices;
+ }
+ public function setGuaranteedImpressions($guaranteedImpressions)
+ {
+ $this->guaranteedImpressions = $guaranteedImpressions;
+ }
+ public function getGuaranteedImpressions()
+ {
+ return $this->guaranteedImpressions;
+ }
+ public function setGuaranteedLooks($guaranteedLooks)
+ {
+ $this->guaranteedLooks = $guaranteedLooks;
+ }
+ public function getGuaranteedLooks()
+ {
+ return $this->guaranteedLooks;
+ }
+ public function setMinimumDailyLooks($minimumDailyLooks)
+ {
+ $this->minimumDailyLooks = $minimumDailyLooks;
+ }
+ public function getMinimumDailyLooks()
+ {
+ return $this->minimumDailyLooks;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsGuaranteedFixedPriceTermsBillingInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsGuaranteedFixedPriceTermsBillingInfo.php
new file mode 100644
index 00000000..800389e2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsGuaranteedFixedPriceTermsBillingInfo.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo extends Google_Model
+{
+ public $currencyConversionTimeMs;
+ public $dfpLineItemId;
+ public $originalContractedQuantity;
+ protected $priceType = 'Google_Service_AdExchangeBuyer_Price';
+ protected $priceDataType = '';
+
+ public function setCurrencyConversionTimeMs($currencyConversionTimeMs)
+ {
+ $this->currencyConversionTimeMs = $currencyConversionTimeMs;
+ }
+ public function getCurrencyConversionTimeMs()
+ {
+ return $this->currencyConversionTimeMs;
+ }
+ public function setDfpLineItemId($dfpLineItemId)
+ {
+ $this->dfpLineItemId = $dfpLineItemId;
+ }
+ public function getDfpLineItemId()
+ {
+ return $this->dfpLineItemId;
+ }
+ public function setOriginalContractedQuantity($originalContractedQuantity)
+ {
+ $this->originalContractedQuantity = $originalContractedQuantity;
+ }
+ public function getOriginalContractedQuantity()
+ {
+ return $this->originalContractedQuantity;
+ }
+ public function setPrice(Google_Service_AdExchangeBuyer_Price $price)
+ {
+ $this->price = $price;
+ }
+ public function getPrice()
+ {
+ return $this->price;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsNonGuaranteedAuctionTerms.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsNonGuaranteedAuctionTerms.php
new file mode 100644
index 00000000..c1d3b9c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsNonGuaranteedAuctionTerms.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms extends Google_Collection
+{
+ protected $collection_key = 'reservePricePerBuyers';
+ public $autoOptimizePrivateAuction;
+ protected $reservePricePerBuyersType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
+ protected $reservePricePerBuyersDataType = 'array';
+
+ public function setAutoOptimizePrivateAuction($autoOptimizePrivateAuction)
+ {
+ $this->autoOptimizePrivateAuction = $autoOptimizePrivateAuction;
+ }
+ public function getAutoOptimizePrivateAuction()
+ {
+ return $this->autoOptimizePrivateAuction;
+ }
+ public function setReservePricePerBuyers($reservePricePerBuyers)
+ {
+ $this->reservePricePerBuyers = $reservePricePerBuyers;
+ }
+ public function getReservePricePerBuyers()
+ {
+ return $this->reservePricePerBuyers;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsNonGuaranteedFixedPriceTerms.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsNonGuaranteedFixedPriceTerms.php
new file mode 100644
index 00000000..2cc74947
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsNonGuaranteedFixedPriceTerms.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms extends Google_Collection
+{
+ protected $collection_key = 'fixedPrices';
+ protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
+ protected $fixedPricesDataType = 'array';
+
+ public function setFixedPrices($fixedPrices)
+ {
+ $this->fixedPrices = $fixedPrices;
+ }
+ public function getFixedPrices()
+ {
+ return $this->fixedPrices;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsRubiconNonGuaranteedTerms.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsRubiconNonGuaranteedTerms.php
new file mode 100644
index 00000000..4f71b442
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsRubiconNonGuaranteedTerms.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms extends Google_Model
+{
+ protected $priorityPriceType = 'Google_Service_AdExchangeBuyer_Price';
+ protected $priorityPriceDataType = '';
+ protected $standardPriceType = 'Google_Service_AdExchangeBuyer_Price';
+ protected $standardPriceDataType = '';
+
+ public function setPriorityPrice(Google_Service_AdExchangeBuyer_Price $priorityPrice)
+ {
+ $this->priorityPrice = $priorityPrice;
+ }
+ public function getPriorityPrice()
+ {
+ return $this->priorityPrice;
+ }
+ public function setStandardPrice(Google_Service_AdExchangeBuyer_Price $standardPrice)
+ {
+ $this->standardPrice = $standardPrice;
+ }
+ public function getStandardPrice()
+ {
+ return $this->standardPrice;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeleteOrderDealsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeleteOrderDealsRequest.php
new file mode 100644
index 00000000..0ad62aaa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeleteOrderDealsRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest extends Google_Collection
+{
+ protected $collection_key = 'dealIds';
+ public $dealIds;
+ public $proposalRevisionNumber;
+ public $updateAction;
+
+ public function setDealIds($dealIds)
+ {
+ $this->dealIds = $dealIds;
+ }
+ public function getDealIds()
+ {
+ return $this->dealIds;
+ }
+ public function setProposalRevisionNumber($proposalRevisionNumber)
+ {
+ $this->proposalRevisionNumber = $proposalRevisionNumber;
+ }
+ public function getProposalRevisionNumber()
+ {
+ return $this->proposalRevisionNumber;
+ }
+ public function setUpdateAction($updateAction)
+ {
+ $this->updateAction = $updateAction;
+ }
+ public function getUpdateAction()
+ {
+ return $this->updateAction;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeleteOrderDealsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeleteOrderDealsResponse.php
new file mode 100644
index 00000000..004de993
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeleteOrderDealsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse extends Google_Collection
+{
+ protected $collection_key = 'deals';
+ protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
+ protected $dealsDataType = 'array';
+ public $proposalRevisionNumber;
+
+ public function setDeals($deals)
+ {
+ $this->deals = $deals;
+ }
+ public function getDeals()
+ {
+ return $this->deals;
+ }
+ public function setProposalRevisionNumber($proposalRevisionNumber)
+ {
+ $this->proposalRevisionNumber = $proposalRevisionNumber;
+ }
+ public function getProposalRevisionNumber()
+ {
+ return $this->proposalRevisionNumber;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeliveryControl.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeliveryControl.php
new file mode 100644
index 00000000..0dc9e33b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeliveryControl.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_DeliveryControl extends Google_Collection
+{
+ protected $collection_key = 'frequencyCaps';
+ public $creativeBlockingLevel;
+ public $deliveryRateType;
+ protected $frequencyCapsType = 'Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap';
+ protected $frequencyCapsDataType = 'array';
+
+ public function setCreativeBlockingLevel($creativeBlockingLevel)
+ {
+ $this->creativeBlockingLevel = $creativeBlockingLevel;
+ }
+ public function getCreativeBlockingLevel()
+ {
+ return $this->creativeBlockingLevel;
+ }
+ public function setDeliveryRateType($deliveryRateType)
+ {
+ $this->deliveryRateType = $deliveryRateType;
+ }
+ public function getDeliveryRateType()
+ {
+ return $this->deliveryRateType;
+ }
+ public function setFrequencyCaps($frequencyCaps)
+ {
+ $this->frequencyCaps = $frequencyCaps;
+ }
+ public function getFrequencyCaps()
+ {
+ return $this->frequencyCaps;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeliveryControlFrequencyCap.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeliveryControlFrequencyCap.php
new file mode 100644
index 00000000..5f07de48
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeliveryControlFrequencyCap.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap extends Google_Model
+{
+ public $maxImpressions;
+ public $numTimeUnits;
+ public $timeUnitType;
+
+ public function setMaxImpressions($maxImpressions)
+ {
+ $this->maxImpressions = $maxImpressions;
+ }
+ public function getMaxImpressions()
+ {
+ return $this->maxImpressions;
+ }
+ public function setNumTimeUnits($numTimeUnits)
+ {
+ $this->numTimeUnits = $numTimeUnits;
+ }
+ public function getNumTimeUnits()
+ {
+ return $this->numTimeUnits;
+ }
+ public function setTimeUnitType($timeUnitType)
+ {
+ $this->timeUnitType = $timeUnitType;
+ }
+ public function getTimeUnitType()
+ {
+ return $this->timeUnitType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Dimension.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Dimension.php
new file mode 100644
index 00000000..a3ebe40b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Dimension.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_Dimension extends Google_Collection
+{
+ protected $collection_key = 'dimensionValues';
+ public $dimensionType;
+ protected $dimensionValuesType = 'Google_Service_AdExchangeBuyer_DimensionDimensionValue';
+ protected $dimensionValuesDataType = 'array';
+
+ public function setDimensionType($dimensionType)
+ {
+ $this->dimensionType = $dimensionType;
+ }
+ public function getDimensionType()
+ {
+ return $this->dimensionType;
+ }
+ public function setDimensionValues($dimensionValues)
+ {
+ $this->dimensionValues = $dimensionValues;
+ }
+ public function getDimensionValues()
+ {
+ return $this->dimensionValues;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DimensionDimensionValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DimensionDimensionValue.php
new file mode 100644
index 00000000..b2d4a9a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DimensionDimensionValue.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_DimensionDimensionValue extends Google_Model
+{
+ public $id;
+ public $name;
+ public $percentage;
+
+ 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 setPercentage($percentage)
+ {
+ $this->percentage = $percentage;
+ }
+ public function getPercentage()
+ {
+ return $this->percentage;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/EditAllOrderDealsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/EditAllOrderDealsRequest.php
new file mode 100644
index 00000000..f4584ad4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/EditAllOrderDealsRequest.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest extends Google_Collection
+{
+ protected $collection_key = 'deals';
+ protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
+ protected $dealsDataType = 'array';
+ protected $proposalType = 'Google_Service_AdExchangeBuyer_Proposal';
+ protected $proposalDataType = '';
+ public $proposalRevisionNumber;
+ public $updateAction;
+
+ public function setDeals($deals)
+ {
+ $this->deals = $deals;
+ }
+ public function getDeals()
+ {
+ return $this->deals;
+ }
+ public function setProposal(Google_Service_AdExchangeBuyer_Proposal $proposal)
+ {
+ $this->proposal = $proposal;
+ }
+ public function getProposal()
+ {
+ return $this->proposal;
+ }
+ public function setProposalRevisionNumber($proposalRevisionNumber)
+ {
+ $this->proposalRevisionNumber = $proposalRevisionNumber;
+ }
+ public function getProposalRevisionNumber()
+ {
+ return $this->proposalRevisionNumber;
+ }
+ public function setUpdateAction($updateAction)
+ {
+ $this->updateAction = $updateAction;
+ }
+ public function getUpdateAction()
+ {
+ return $this->updateAction;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/EditAllOrderDealsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/EditAllOrderDealsResponse.php
new file mode 100644
index 00000000..2a480ea5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/EditAllOrderDealsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse extends Google_Collection
+{
+ protected $collection_key = 'deals';
+ protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
+ protected $dealsDataType = 'array';
+ public $orderRevisionNumber;
+
+ public function setDeals($deals)
+ {
+ $this->deals = $deals;
+ }
+ public function getDeals()
+ {
+ return $this->deals;
+ }
+ public function setOrderRevisionNumber($orderRevisionNumber)
+ {
+ $this->orderRevisionNumber = $orderRevisionNumber;
+ }
+ public function getOrderRevisionNumber()
+ {
+ return $this->orderRevisionNumber;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOffersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOffersResponse.php
new file mode 100644
index 00000000..d7dd858b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOffersResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_GetOffersResponse extends Google_Collection
+{
+ protected $collection_key = 'products';
+ protected $productsType = 'Google_Service_AdExchangeBuyer_Product';
+ protected $productsDataType = 'array';
+
+ public function setProducts($products)
+ {
+ $this->products = $products;
+ }
+ public function getProducts()
+ {
+ return $this->products;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrderDealsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrderDealsResponse.php
new file mode 100644
index 00000000..7c1eee41
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrderDealsResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_GetOrderDealsResponse extends Google_Collection
+{
+ protected $collection_key = 'deals';
+ protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
+ protected $dealsDataType = 'array';
+
+ public function setDeals($deals)
+ {
+ $this->deals = $deals;
+ }
+ public function getDeals()
+ {
+ return $this->deals;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrderNotesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrderNotesResponse.php
new file mode 100644
index 00000000..a35f8ce8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrderNotesResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_GetOrderNotesResponse extends Google_Collection
+{
+ protected $collection_key = 'notes';
+ protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
+ protected $notesDataType = 'array';
+
+ public function setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrdersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrdersResponse.php
new file mode 100644
index 00000000..e6061634
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrdersResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_GetOrdersResponse extends Google_Collection
+{
+ protected $collection_key = 'proposals';
+ protected $proposalsType = 'Google_Service_AdExchangeBuyer_Proposal';
+ protected $proposalsDataType = 'array';
+
+ public function setProposals($proposals)
+ {
+ $this->proposals = $proposals;
+ }
+ public function getProposals()
+ {
+ return $this->proposals;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetPublisherProfilesByAccountIdResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetPublisherProfilesByAccountIdResponse.php
new file mode 100644
index 00000000..bafbb851
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetPublisherProfilesByAccountIdResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_GetPublisherProfilesByAccountIdResponse extends Google_Collection
+{
+ protected $collection_key = 'profiles';
+ protected $profilesType = 'Google_Service_AdExchangeBuyer_PublisherProfileApiProto';
+ protected $profilesDataType = 'array';
+
+ public function setProfiles($profiles)
+ {
+ $this->profiles = $profiles;
+ }
+ public function getProfiles()
+ {
+ return $this->profiles;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceDeal.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceDeal.php
new file mode 100644
index 00000000..9a03a16d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceDeal.php
@@ -0,0 +1,244 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_MarketplaceDeal extends Google_Collection
+{
+ protected $collection_key = 'sharedTargetings';
+ protected $buyerPrivateDataType = 'Google_Service_AdExchangeBuyer_PrivateData';
+ protected $buyerPrivateDataDataType = '';
+ public $creationTimeMs;
+ public $creativePreApprovalPolicy;
+ public $creativeSafeFrameCompatibility;
+ public $dealId;
+ protected $dealServingMetadataType = 'Google_Service_AdExchangeBuyer_DealServingMetadata';
+ protected $dealServingMetadataDataType = '';
+ protected $deliveryControlType = 'Google_Service_AdExchangeBuyer_DeliveryControl';
+ protected $deliveryControlDataType = '';
+ public $externalDealId;
+ public $flightEndTimeMs;
+ public $flightStartTimeMs;
+ public $inventoryDescription;
+ public $isRfpTemplate;
+ public $kind;
+ public $lastUpdateTimeMs;
+ public $name;
+ public $productId;
+ public $productRevisionNumber;
+ public $programmaticCreativeSource;
+ public $proposalId;
+ protected $sellerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
+ protected $sellerContactsDataType = 'array';
+ protected $sharedTargetingsType = 'Google_Service_AdExchangeBuyer_SharedTargeting';
+ protected $sharedTargetingsDataType = 'array';
+ public $syndicationProduct;
+ protected $termsType = 'Google_Service_AdExchangeBuyer_DealTerms';
+ protected $termsDataType = '';
+ public $webPropertyCode;
+
+ public function setBuyerPrivateData(Google_Service_AdExchangeBuyer_PrivateData $buyerPrivateData)
+ {
+ $this->buyerPrivateData = $buyerPrivateData;
+ }
+ public function getBuyerPrivateData()
+ {
+ return $this->buyerPrivateData;
+ }
+ public function setCreationTimeMs($creationTimeMs)
+ {
+ $this->creationTimeMs = $creationTimeMs;
+ }
+ public function getCreationTimeMs()
+ {
+ return $this->creationTimeMs;
+ }
+ public function setCreativePreApprovalPolicy($creativePreApprovalPolicy)
+ {
+ $this->creativePreApprovalPolicy = $creativePreApprovalPolicy;
+ }
+ public function getCreativePreApprovalPolicy()
+ {
+ return $this->creativePreApprovalPolicy;
+ }
+ public function setCreativeSafeFrameCompatibility($creativeSafeFrameCompatibility)
+ {
+ $this->creativeSafeFrameCompatibility = $creativeSafeFrameCompatibility;
+ }
+ public function getCreativeSafeFrameCompatibility()
+ {
+ return $this->creativeSafeFrameCompatibility;
+ }
+ public function setDealId($dealId)
+ {
+ $this->dealId = $dealId;
+ }
+ public function getDealId()
+ {
+ return $this->dealId;
+ }
+ public function setDealServingMetadata(Google_Service_AdExchangeBuyer_DealServingMetadata $dealServingMetadata)
+ {
+ $this->dealServingMetadata = $dealServingMetadata;
+ }
+ public function getDealServingMetadata()
+ {
+ return $this->dealServingMetadata;
+ }
+ public function setDeliveryControl(Google_Service_AdExchangeBuyer_DeliveryControl $deliveryControl)
+ {
+ $this->deliveryControl = $deliveryControl;
+ }
+ public function getDeliveryControl()
+ {
+ return $this->deliveryControl;
+ }
+ public function setExternalDealId($externalDealId)
+ {
+ $this->externalDealId = $externalDealId;
+ }
+ public function getExternalDealId()
+ {
+ return $this->externalDealId;
+ }
+ public function setFlightEndTimeMs($flightEndTimeMs)
+ {
+ $this->flightEndTimeMs = $flightEndTimeMs;
+ }
+ public function getFlightEndTimeMs()
+ {
+ return $this->flightEndTimeMs;
+ }
+ public function setFlightStartTimeMs($flightStartTimeMs)
+ {
+ $this->flightStartTimeMs = $flightStartTimeMs;
+ }
+ public function getFlightStartTimeMs()
+ {
+ return $this->flightStartTimeMs;
+ }
+ public function setInventoryDescription($inventoryDescription)
+ {
+ $this->inventoryDescription = $inventoryDescription;
+ }
+ public function getInventoryDescription()
+ {
+ return $this->inventoryDescription;
+ }
+ public function setIsRfpTemplate($isRfpTemplate)
+ {
+ $this->isRfpTemplate = $isRfpTemplate;
+ }
+ public function getIsRfpTemplate()
+ {
+ return $this->isRfpTemplate;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastUpdateTimeMs($lastUpdateTimeMs)
+ {
+ $this->lastUpdateTimeMs = $lastUpdateTimeMs;
+ }
+ public function getLastUpdateTimeMs()
+ {
+ return $this->lastUpdateTimeMs;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setProductRevisionNumber($productRevisionNumber)
+ {
+ $this->productRevisionNumber = $productRevisionNumber;
+ }
+ public function getProductRevisionNumber()
+ {
+ return $this->productRevisionNumber;
+ }
+ public function setProgrammaticCreativeSource($programmaticCreativeSource)
+ {
+ $this->programmaticCreativeSource = $programmaticCreativeSource;
+ }
+ public function getProgrammaticCreativeSource()
+ {
+ return $this->programmaticCreativeSource;
+ }
+ public function setProposalId($proposalId)
+ {
+ $this->proposalId = $proposalId;
+ }
+ public function getProposalId()
+ {
+ return $this->proposalId;
+ }
+ public function setSellerContacts($sellerContacts)
+ {
+ $this->sellerContacts = $sellerContacts;
+ }
+ public function getSellerContacts()
+ {
+ return $this->sellerContacts;
+ }
+ public function setSharedTargetings($sharedTargetings)
+ {
+ $this->sharedTargetings = $sharedTargetings;
+ }
+ public function getSharedTargetings()
+ {
+ return $this->sharedTargetings;
+ }
+ public function setSyndicationProduct($syndicationProduct)
+ {
+ $this->syndicationProduct = $syndicationProduct;
+ }
+ public function getSyndicationProduct()
+ {
+ return $this->syndicationProduct;
+ }
+ public function setTerms(Google_Service_AdExchangeBuyer_DealTerms $terms)
+ {
+ $this->terms = $terms;
+ }
+ public function getTerms()
+ {
+ return $this->terms;
+ }
+ public function setWebPropertyCode($webPropertyCode)
+ {
+ $this->webPropertyCode = $webPropertyCode;
+ }
+ public function getWebPropertyCode()
+ {
+ return $this->webPropertyCode;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceDealParty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceDealParty.php
new file mode 100644
index 00000000..ff1b47bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceDealParty.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_MarketplaceDealParty extends Google_Model
+{
+ protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
+ protected $buyerDataType = '';
+ protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
+ protected $sellerDataType = '';
+
+ public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
+ {
+ $this->buyer = $buyer;
+ }
+ public function getBuyer()
+ {
+ return $this->buyer;
+ }
+ public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
+ {
+ $this->seller = $seller;
+ }
+ public function getSeller()
+ {
+ return $this->seller;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceLabel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceLabel.php
new file mode 100644
index 00000000..33253901
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceLabel.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_MarketplaceLabel extends Google_Model
+{
+ public $accountId;
+ public $createTimeMs;
+ protected $deprecatedMarketplaceDealPartyType = 'Google_Service_AdExchangeBuyer_MarketplaceDealParty';
+ protected $deprecatedMarketplaceDealPartyDataType = '';
+ public $label;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setCreateTimeMs($createTimeMs)
+ {
+ $this->createTimeMs = $createTimeMs;
+ }
+ public function getCreateTimeMs()
+ {
+ return $this->createTimeMs;
+ }
+ public function setDeprecatedMarketplaceDealParty(Google_Service_AdExchangeBuyer_MarketplaceDealParty $deprecatedMarketplaceDealParty)
+ {
+ $this->deprecatedMarketplaceDealParty = $deprecatedMarketplaceDealParty;
+ }
+ public function getDeprecatedMarketplaceDealParty()
+ {
+ return $this->deprecatedMarketplaceDealParty;
+ }
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceNote.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceNote.php
new file mode 100644
index 00000000..70597782
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceNote.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_MarketplaceNote extends Google_Model
+{
+ public $creatorRole;
+ public $dealId;
+ public $kind;
+ public $note;
+ public $noteId;
+ public $proposalId;
+ public $proposalRevisionNumber;
+ public $timestampMs;
+
+ public function setCreatorRole($creatorRole)
+ {
+ $this->creatorRole = $creatorRole;
+ }
+ public function getCreatorRole()
+ {
+ return $this->creatorRole;
+ }
+ public function setDealId($dealId)
+ {
+ $this->dealId = $dealId;
+ }
+ public function getDealId()
+ {
+ return $this->dealId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNote($note)
+ {
+ $this->note = $note;
+ }
+ public function getNote()
+ {
+ return $this->note;
+ }
+ public function setNoteId($noteId)
+ {
+ $this->noteId = $noteId;
+ }
+ public function getNoteId()
+ {
+ return $this->noteId;
+ }
+ public function setProposalId($proposalId)
+ {
+ $this->proposalId = $proposalId;
+ }
+ public function getProposalId()
+ {
+ return $this->proposalId;
+ }
+ public function setProposalRevisionNumber($proposalRevisionNumber)
+ {
+ $this->proposalRevisionNumber = $proposalRevisionNumber;
+ }
+ public function getProposalRevisionNumber()
+ {
+ return $this->proposalRevisionNumber;
+ }
+ public function setTimestampMs($timestampMs)
+ {
+ $this->timestampMs = $timestampMs;
+ }
+ public function getTimestampMs()
+ {
+ return $this->timestampMs;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PerformanceReport.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PerformanceReport.php
new file mode 100644
index 00000000..3d0b766c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PerformanceReport.php
@@ -0,0 +1,220 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_PerformanceReport extends Google_Collection
+{
+ protected $collection_key = 'hostedMatchStatusRate';
+ public $bidRate;
+ public $bidRequestRate;
+ public $calloutStatusRate;
+ public $cookieMatcherStatusRate;
+ public $creativeStatusRate;
+ public $filteredBidRate;
+ public $hostedMatchStatusRate;
+ public $inventoryMatchRate;
+ public $kind;
+ public $latency50thPercentile;
+ public $latency85thPercentile;
+ public $latency95thPercentile;
+ public $noQuotaInRegion;
+ public $outOfQuota;
+ public $pixelMatchRequests;
+ public $pixelMatchResponses;
+ public $quotaConfiguredLimit;
+ public $quotaThrottledLimit;
+ public $region;
+ public $successfulRequestRate;
+ public $timestamp;
+ public $unsuccessfulRequestRate;
+
+ public function setBidRate($bidRate)
+ {
+ $this->bidRate = $bidRate;
+ }
+ public function getBidRate()
+ {
+ return $this->bidRate;
+ }
+ public function setBidRequestRate($bidRequestRate)
+ {
+ $this->bidRequestRate = $bidRequestRate;
+ }
+ public function getBidRequestRate()
+ {
+ return $this->bidRequestRate;
+ }
+ 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 setFilteredBidRate($filteredBidRate)
+ {
+ $this->filteredBidRate = $filteredBidRate;
+ }
+ public function getFilteredBidRate()
+ {
+ return $this->filteredBidRate;
+ }
+ public function setHostedMatchStatusRate($hostedMatchStatusRate)
+ {
+ $this->hostedMatchStatusRate = $hostedMatchStatusRate;
+ }
+ public function getHostedMatchStatusRate()
+ {
+ return $this->hostedMatchStatusRate;
+ }
+ public function setInventoryMatchRate($inventoryMatchRate)
+ {
+ $this->inventoryMatchRate = $inventoryMatchRate;
+ }
+ public function getInventoryMatchRate()
+ {
+ return $this->inventoryMatchRate;
+ }
+ 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 setSuccessfulRequestRate($successfulRequestRate)
+ {
+ $this->successfulRequestRate = $successfulRequestRate;
+ }
+ public function getSuccessfulRequestRate()
+ {
+ return $this->successfulRequestRate;
+ }
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+ public function setUnsuccessfulRequestRate($unsuccessfulRequestRate)
+ {
+ $this->unsuccessfulRequestRate = $unsuccessfulRequestRate;
+ }
+ public function getUnsuccessfulRequestRate()
+ {
+ return $this->unsuccessfulRequestRate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PerformanceReportList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PerformanceReportList.php
new file mode 100644
index 00000000..0ec2be9c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PerformanceReportList.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_PerformanceReportList extends Google_Collection
+{
+ protected $collection_key = 'performanceReport';
+ public $kind;
+ protected $performanceReportType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfig.php
new file mode 100644
index 00000000..f24a9df1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfig.php
@@ -0,0 +1,260 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collection
+{
+ protected $collection_key = 'videoPlayerSizes';
+ public $billingId;
+ public $configId;
+ public $configName;
+ public $creativeType;
+ protected $dimensionsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigDimensions';
+ protected $dimensionsDataType = 'array';
+ public $excludedContentLabels;
+ public $excludedGeoCriteriaIds;
+ protected $excludedPlacementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements';
+ protected $excludedPlacementsDataType = 'array';
+ public $excludedUserLists;
+ public $excludedVerticals;
+ public $geoCriteriaIds;
+ public $isActive;
+ public $kind;
+ public $languages;
+ public $minimumViewabilityDecile;
+ public $mobileCarriers;
+ public $mobileDevices;
+ public $mobileOperatingSystemVersions;
+ protected $placementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigPlacements';
+ protected $placementsDataType = 'array';
+ public $platforms;
+ public $supportedCreativeAttributes;
+ public $userIdentifierDataRequired;
+ public $userLists;
+ public $vendorTypes;
+ public $verticals;
+ protected $videoPlayerSizesType = 'Google_Service_AdExchangeBuyer_PretargetingConfigVideoPlayerSizes';
+ protected $videoPlayerSizesDataType = 'array';
+
+ 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 setMinimumViewabilityDecile($minimumViewabilityDecile)
+ {
+ $this->minimumViewabilityDecile = $minimumViewabilityDecile;
+ }
+ public function getMinimumViewabilityDecile()
+ {
+ return $this->minimumViewabilityDecile;
+ }
+ 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 setUserIdentifierDataRequired($userIdentifierDataRequired)
+ {
+ $this->userIdentifierDataRequired = $userIdentifierDataRequired;
+ }
+ public function getUserIdentifierDataRequired()
+ {
+ return $this->userIdentifierDataRequired;
+ }
+ 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;
+ }
+ public function setVideoPlayerSizes($videoPlayerSizes)
+ {
+ $this->videoPlayerSizes = $videoPlayerSizes;
+ }
+ public function getVideoPlayerSizes()
+ {
+ return $this->videoPlayerSizes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigDimensions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigDimensions.php
new file mode 100644
index 00000000..0515ea6c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigDimensions.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_PretargetingConfigDimensions extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigExcludedPlacements.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigExcludedPlacements.php
new file mode 100644
index 00000000..6ef80a65
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigExcludedPlacements.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigList.php
new file mode 100644
index 00000000..aaeda88b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigList.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_PretargetingConfigList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigPlacements.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigPlacements.php
new file mode 100644
index 00000000..f6394606
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigPlacements.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_PretargetingConfigPlacements extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigVideoPlayerSizes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigVideoPlayerSizes.php
new file mode 100644
index 00000000..f1b50101
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigVideoPlayerSizes.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_PretargetingConfigVideoPlayerSizes extends Google_Model
+{
+ public $aspectRatio;
+ public $minHeight;
+ public $minWidth;
+
+ public function setAspectRatio($aspectRatio)
+ {
+ $this->aspectRatio = $aspectRatio;
+ }
+ public function getAspectRatio()
+ {
+ return $this->aspectRatio;
+ }
+ public function setMinHeight($minHeight)
+ {
+ $this->minHeight = $minHeight;
+ }
+ public function getMinHeight()
+ {
+ return $this->minHeight;
+ }
+ public function setMinWidth($minWidth)
+ {
+ $this->minWidth = $minWidth;
+ }
+ public function getMinWidth()
+ {
+ return $this->minWidth;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Price.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Price.php
new file mode 100644
index 00000000..876ecceb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Price.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_Price extends Google_Model
+{
+ public $amountMicros;
+ public $currencyCode;
+ public $expectedCpmMicros;
+ public $pricingType;
+
+ public function setAmountMicros($amountMicros)
+ {
+ $this->amountMicros = $amountMicros;
+ }
+ public function getAmountMicros()
+ {
+ return $this->amountMicros;
+ }
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+ public function setExpectedCpmMicros($expectedCpmMicros)
+ {
+ $this->expectedCpmMicros = $expectedCpmMicros;
+ }
+ public function getExpectedCpmMicros()
+ {
+ return $this->expectedCpmMicros;
+ }
+ public function setPricingType($pricingType)
+ {
+ $this->pricingType = $pricingType;
+ }
+ public function getPricingType()
+ {
+ return $this->pricingType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PricePerBuyer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PricePerBuyer.php
new file mode 100644
index 00000000..59018c9e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PricePerBuyer.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_PricePerBuyer extends Google_Model
+{
+ public $auctionTier;
+ protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
+ protected $buyerDataType = '';
+ protected $priceType = 'Google_Service_AdExchangeBuyer_Price';
+ protected $priceDataType = '';
+
+ public function setAuctionTier($auctionTier)
+ {
+ $this->auctionTier = $auctionTier;
+ }
+ public function getAuctionTier()
+ {
+ return $this->auctionTier;
+ }
+ public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
+ {
+ $this->buyer = $buyer;
+ }
+ public function getBuyer()
+ {
+ return $this->buyer;
+ }
+ public function setPrice(Google_Service_AdExchangeBuyer_Price $price)
+ {
+ $this->price = $price;
+ }
+ public function getPrice()
+ {
+ return $this->price;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PrivateData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PrivateData.php
new file mode 100644
index 00000000..c2b42db9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PrivateData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_PrivateData extends Google_Model
+{
+ public $referenceId;
+ public $referencePayload;
+
+ public function setReferenceId($referenceId)
+ {
+ $this->referenceId = $referenceId;
+ }
+ public function getReferenceId()
+ {
+ return $this->referenceId;
+ }
+ public function setReferencePayload($referencePayload)
+ {
+ $this->referencePayload = $referencePayload;
+ }
+ public function getReferencePayload()
+ {
+ return $this->referencePayload;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Product.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Product.php
new file mode 100644
index 00000000..7b5c0a59
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Product.php
@@ -0,0 +1,245 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_Product extends Google_Collection
+{
+ protected $collection_key = 'sharedTargetings';
+ public $creationTimeMs;
+ protected $creatorContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
+ protected $creatorContactsDataType = 'array';
+ protected $deliveryControlType = 'Google_Service_AdExchangeBuyer_DeliveryControl';
+ protected $deliveryControlDataType = '';
+ public $flightEndTimeMs;
+ public $flightStartTimeMs;
+ public $hasCreatorSignedOff;
+ public $inventorySource;
+ public $kind;
+ protected $labelsType = 'Google_Service_AdExchangeBuyer_MarketplaceLabel';
+ protected $labelsDataType = 'array';
+ public $lastUpdateTimeMs;
+ public $legacyOfferId;
+ public $marketplacePublisherProfileId;
+ public $name;
+ public $privateAuctionId;
+ public $productId;
+ public $publisherProfileId;
+ protected $publisherProvidedForecastType = 'Google_Service_AdExchangeBuyer_PublisherProvidedForecast';
+ protected $publisherProvidedForecastDataType = '';
+ public $revisionNumber;
+ protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
+ protected $sellerDataType = '';
+ protected $sharedTargetingsType = 'Google_Service_AdExchangeBuyer_SharedTargeting';
+ protected $sharedTargetingsDataType = 'array';
+ public $state;
+ public $syndicationProduct;
+ protected $termsType = 'Google_Service_AdExchangeBuyer_DealTerms';
+ protected $termsDataType = '';
+ public $webPropertyCode;
+
+ public function setCreationTimeMs($creationTimeMs)
+ {
+ $this->creationTimeMs = $creationTimeMs;
+ }
+ public function getCreationTimeMs()
+ {
+ return $this->creationTimeMs;
+ }
+ public function setCreatorContacts($creatorContacts)
+ {
+ $this->creatorContacts = $creatorContacts;
+ }
+ public function getCreatorContacts()
+ {
+ return $this->creatorContacts;
+ }
+ public function setDeliveryControl(Google_Service_AdExchangeBuyer_DeliveryControl $deliveryControl)
+ {
+ $this->deliveryControl = $deliveryControl;
+ }
+ public function getDeliveryControl()
+ {
+ return $this->deliveryControl;
+ }
+ public function setFlightEndTimeMs($flightEndTimeMs)
+ {
+ $this->flightEndTimeMs = $flightEndTimeMs;
+ }
+ public function getFlightEndTimeMs()
+ {
+ return $this->flightEndTimeMs;
+ }
+ public function setFlightStartTimeMs($flightStartTimeMs)
+ {
+ $this->flightStartTimeMs = $flightStartTimeMs;
+ }
+ public function getFlightStartTimeMs()
+ {
+ return $this->flightStartTimeMs;
+ }
+ public function setHasCreatorSignedOff($hasCreatorSignedOff)
+ {
+ $this->hasCreatorSignedOff = $hasCreatorSignedOff;
+ }
+ public function getHasCreatorSignedOff()
+ {
+ return $this->hasCreatorSignedOff;
+ }
+ public function setInventorySource($inventorySource)
+ {
+ $this->inventorySource = $inventorySource;
+ }
+ public function getInventorySource()
+ {
+ return $this->inventorySource;
+ }
+ 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 setLastUpdateTimeMs($lastUpdateTimeMs)
+ {
+ $this->lastUpdateTimeMs = $lastUpdateTimeMs;
+ }
+ public function getLastUpdateTimeMs()
+ {
+ return $this->lastUpdateTimeMs;
+ }
+ public function setLegacyOfferId($legacyOfferId)
+ {
+ $this->legacyOfferId = $legacyOfferId;
+ }
+ public function getLegacyOfferId()
+ {
+ return $this->legacyOfferId;
+ }
+ public function setMarketplacePublisherProfileId($marketplacePublisherProfileId)
+ {
+ $this->marketplacePublisherProfileId = $marketplacePublisherProfileId;
+ }
+ public function getMarketplacePublisherProfileId()
+ {
+ return $this->marketplacePublisherProfileId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPrivateAuctionId($privateAuctionId)
+ {
+ $this->privateAuctionId = $privateAuctionId;
+ }
+ public function getPrivateAuctionId()
+ {
+ return $this->privateAuctionId;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setPublisherProfileId($publisherProfileId)
+ {
+ $this->publisherProfileId = $publisherProfileId;
+ }
+ public function getPublisherProfileId()
+ {
+ return $this->publisherProfileId;
+ }
+ public function setPublisherProvidedForecast(Google_Service_AdExchangeBuyer_PublisherProvidedForecast $publisherProvidedForecast)
+ {
+ $this->publisherProvidedForecast = $publisherProvidedForecast;
+ }
+ public function getPublisherProvidedForecast()
+ {
+ return $this->publisherProvidedForecast;
+ }
+ public function setRevisionNumber($revisionNumber)
+ {
+ $this->revisionNumber = $revisionNumber;
+ }
+ public function getRevisionNumber()
+ {
+ return $this->revisionNumber;
+ }
+ public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
+ {
+ $this->seller = $seller;
+ }
+ public function getSeller()
+ {
+ return $this->seller;
+ }
+ public function setSharedTargetings($sharedTargetings)
+ {
+ $this->sharedTargetings = $sharedTargetings;
+ }
+ public function getSharedTargetings()
+ {
+ return $this->sharedTargetings;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setSyndicationProduct($syndicationProduct)
+ {
+ $this->syndicationProduct = $syndicationProduct;
+ }
+ public function getSyndicationProduct()
+ {
+ return $this->syndicationProduct;
+ }
+ public function setTerms(Google_Service_AdExchangeBuyer_DealTerms $terms)
+ {
+ $this->terms = $terms;
+ }
+ public function getTerms()
+ {
+ return $this->terms;
+ }
+ public function setWebPropertyCode($webPropertyCode)
+ {
+ $this->webPropertyCode = $webPropertyCode;
+ }
+ public function getWebPropertyCode()
+ {
+ return $this->webPropertyCode;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Proposal.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Proposal.php
new file mode 100644
index 00000000..e6192855
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Proposal.php
@@ -0,0 +1,236 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_Proposal extends Google_Collection
+{
+ protected $collection_key = 'sellerContacts';
+ protected $billedBuyerType = 'Google_Service_AdExchangeBuyer_Buyer';
+ protected $billedBuyerDataType = '';
+ protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
+ protected $buyerDataType = '';
+ protected $buyerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
+ protected $buyerContactsDataType = 'array';
+ protected $buyerPrivateDataType = 'Google_Service_AdExchangeBuyer_PrivateData';
+ protected $buyerPrivateDataDataType = '';
+ public $dbmAdvertiserIds;
+ public $hasBuyerSignedOff;
+ public $hasSellerSignedOff;
+ public $inventorySource;
+ public $isRenegotiating;
+ public $isSetupComplete;
+ public $kind;
+ protected $labelsType = 'Google_Service_AdExchangeBuyer_MarketplaceLabel';
+ protected $labelsDataType = 'array';
+ public $lastUpdaterOrCommentorRole;
+ public $name;
+ public $negotiationId;
+ public $originatorRole;
+ public $privateAuctionId;
+ public $proposalId;
+ public $proposalState;
+ public $revisionNumber;
+ public $revisionTimeMs;
+ protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
+ protected $sellerDataType = '';
+ protected $sellerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
+ protected $sellerContactsDataType = 'array';
+
+ public function setBilledBuyer(Google_Service_AdExchangeBuyer_Buyer $billedBuyer)
+ {
+ $this->billedBuyer = $billedBuyer;
+ }
+ public function getBilledBuyer()
+ {
+ return $this->billedBuyer;
+ }
+ public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
+ {
+ $this->buyer = $buyer;
+ }
+ public function getBuyer()
+ {
+ return $this->buyer;
+ }
+ public function setBuyerContacts($buyerContacts)
+ {
+ $this->buyerContacts = $buyerContacts;
+ }
+ public function getBuyerContacts()
+ {
+ return $this->buyerContacts;
+ }
+ public function setBuyerPrivateData(Google_Service_AdExchangeBuyer_PrivateData $buyerPrivateData)
+ {
+ $this->buyerPrivateData = $buyerPrivateData;
+ }
+ public function getBuyerPrivateData()
+ {
+ return $this->buyerPrivateData;
+ }
+ public function setDbmAdvertiserIds($dbmAdvertiserIds)
+ {
+ $this->dbmAdvertiserIds = $dbmAdvertiserIds;
+ }
+ public function getDbmAdvertiserIds()
+ {
+ return $this->dbmAdvertiserIds;
+ }
+ public function setHasBuyerSignedOff($hasBuyerSignedOff)
+ {
+ $this->hasBuyerSignedOff = $hasBuyerSignedOff;
+ }
+ public function getHasBuyerSignedOff()
+ {
+ return $this->hasBuyerSignedOff;
+ }
+ public function setHasSellerSignedOff($hasSellerSignedOff)
+ {
+ $this->hasSellerSignedOff = $hasSellerSignedOff;
+ }
+ public function getHasSellerSignedOff()
+ {
+ return $this->hasSellerSignedOff;
+ }
+ public function setInventorySource($inventorySource)
+ {
+ $this->inventorySource = $inventorySource;
+ }
+ public function getInventorySource()
+ {
+ return $this->inventorySource;
+ }
+ public function setIsRenegotiating($isRenegotiating)
+ {
+ $this->isRenegotiating = $isRenegotiating;
+ }
+ public function getIsRenegotiating()
+ {
+ return $this->isRenegotiating;
+ }
+ public function setIsSetupComplete($isSetupComplete)
+ {
+ $this->isSetupComplete = $isSetupComplete;
+ }
+ public function getIsSetupComplete()
+ {
+ return $this->isSetupComplete;
+ }
+ 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 setLastUpdaterOrCommentorRole($lastUpdaterOrCommentorRole)
+ {
+ $this->lastUpdaterOrCommentorRole = $lastUpdaterOrCommentorRole;
+ }
+ public function getLastUpdaterOrCommentorRole()
+ {
+ return $this->lastUpdaterOrCommentorRole;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNegotiationId($negotiationId)
+ {
+ $this->negotiationId = $negotiationId;
+ }
+ public function getNegotiationId()
+ {
+ return $this->negotiationId;
+ }
+ public function setOriginatorRole($originatorRole)
+ {
+ $this->originatorRole = $originatorRole;
+ }
+ public function getOriginatorRole()
+ {
+ return $this->originatorRole;
+ }
+ public function setPrivateAuctionId($privateAuctionId)
+ {
+ $this->privateAuctionId = $privateAuctionId;
+ }
+ public function getPrivateAuctionId()
+ {
+ return $this->privateAuctionId;
+ }
+ public function setProposalId($proposalId)
+ {
+ $this->proposalId = $proposalId;
+ }
+ public function getProposalId()
+ {
+ return $this->proposalId;
+ }
+ public function setProposalState($proposalState)
+ {
+ $this->proposalState = $proposalState;
+ }
+ public function getProposalState()
+ {
+ return $this->proposalState;
+ }
+ public function setRevisionNumber($revisionNumber)
+ {
+ $this->revisionNumber = $revisionNumber;
+ }
+ public function getRevisionNumber()
+ {
+ return $this->revisionNumber;
+ }
+ public function setRevisionTimeMs($revisionTimeMs)
+ {
+ $this->revisionTimeMs = $revisionTimeMs;
+ }
+ public function getRevisionTimeMs()
+ {
+ return $this->revisionTimeMs;
+ }
+ public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
+ {
+ $this->seller = $seller;
+ }
+ public function getSeller()
+ {
+ return $this->seller;
+ }
+ public function setSellerContacts($sellerContacts)
+ {
+ $this->sellerContacts = $sellerContacts;
+ }
+ public function getSellerContacts()
+ {
+ return $this->sellerContacts;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PublisherProfileApiProto.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PublisherProfileApiProto.php
new file mode 100644
index 00000000..b05485e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PublisherProfileApiProto.php
@@ -0,0 +1,231 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_PublisherProfileApiProto extends Google_Collection
+{
+ protected $collection_key = 'topHeadlines';
+ public $accountId;
+ public $audience;
+ public $buyerPitchStatement;
+ public $directContact;
+ public $exchange;
+ public $googlePlusLink;
+ public $isParent;
+ public $isPublished;
+ public $kind;
+ public $logoUrl;
+ public $mediaKitLink;
+ public $name;
+ public $overview;
+ public $profileId;
+ public $programmaticContact;
+ public $publisherDomains;
+ public $publisherProfileId;
+ protected $publisherProvidedForecastType = 'Google_Service_AdExchangeBuyer_PublisherProvidedForecast';
+ protected $publisherProvidedForecastDataType = '';
+ public $rateCardInfoLink;
+ public $samplePageLink;
+ protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
+ protected $sellerDataType = '';
+ public $state;
+ public $topHeadlines;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAudience($audience)
+ {
+ $this->audience = $audience;
+ }
+ public function getAudience()
+ {
+ return $this->audience;
+ }
+ public function setBuyerPitchStatement($buyerPitchStatement)
+ {
+ $this->buyerPitchStatement = $buyerPitchStatement;
+ }
+ public function getBuyerPitchStatement()
+ {
+ return $this->buyerPitchStatement;
+ }
+ public function setDirectContact($directContact)
+ {
+ $this->directContact = $directContact;
+ }
+ public function getDirectContact()
+ {
+ return $this->directContact;
+ }
+ public function setExchange($exchange)
+ {
+ $this->exchange = $exchange;
+ }
+ public function getExchange()
+ {
+ return $this->exchange;
+ }
+ public function setGooglePlusLink($googlePlusLink)
+ {
+ $this->googlePlusLink = $googlePlusLink;
+ }
+ public function getGooglePlusLink()
+ {
+ return $this->googlePlusLink;
+ }
+ public function setIsParent($isParent)
+ {
+ $this->isParent = $isParent;
+ }
+ public function getIsParent()
+ {
+ return $this->isParent;
+ }
+ public function setIsPublished($isPublished)
+ {
+ $this->isPublished = $isPublished;
+ }
+ public function getIsPublished()
+ {
+ return $this->isPublished;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLogoUrl($logoUrl)
+ {
+ $this->logoUrl = $logoUrl;
+ }
+ public function getLogoUrl()
+ {
+ return $this->logoUrl;
+ }
+ public function setMediaKitLink($mediaKitLink)
+ {
+ $this->mediaKitLink = $mediaKitLink;
+ }
+ public function getMediaKitLink()
+ {
+ return $this->mediaKitLink;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOverview($overview)
+ {
+ $this->overview = $overview;
+ }
+ public function getOverview()
+ {
+ return $this->overview;
+ }
+ public function setProfileId($profileId)
+ {
+ $this->profileId = $profileId;
+ }
+ public function getProfileId()
+ {
+ return $this->profileId;
+ }
+ public function setProgrammaticContact($programmaticContact)
+ {
+ $this->programmaticContact = $programmaticContact;
+ }
+ public function getProgrammaticContact()
+ {
+ return $this->programmaticContact;
+ }
+ public function setPublisherDomains($publisherDomains)
+ {
+ $this->publisherDomains = $publisherDomains;
+ }
+ public function getPublisherDomains()
+ {
+ return $this->publisherDomains;
+ }
+ public function setPublisherProfileId($publisherProfileId)
+ {
+ $this->publisherProfileId = $publisherProfileId;
+ }
+ public function getPublisherProfileId()
+ {
+ return $this->publisherProfileId;
+ }
+ public function setPublisherProvidedForecast(Google_Service_AdExchangeBuyer_PublisherProvidedForecast $publisherProvidedForecast)
+ {
+ $this->publisherProvidedForecast = $publisherProvidedForecast;
+ }
+ public function getPublisherProvidedForecast()
+ {
+ return $this->publisherProvidedForecast;
+ }
+ public function setRateCardInfoLink($rateCardInfoLink)
+ {
+ $this->rateCardInfoLink = $rateCardInfoLink;
+ }
+ public function getRateCardInfoLink()
+ {
+ return $this->rateCardInfoLink;
+ }
+ public function setSamplePageLink($samplePageLink)
+ {
+ $this->samplePageLink = $samplePageLink;
+ }
+ public function getSamplePageLink()
+ {
+ return $this->samplePageLink;
+ }
+ public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
+ {
+ $this->seller = $seller;
+ }
+ public function getSeller()
+ {
+ return $this->seller;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setTopHeadlines($topHeadlines)
+ {
+ $this->topHeadlines = $topHeadlines;
+ }
+ public function getTopHeadlines()
+ {
+ return $this->topHeadlines;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PublisherProvidedForecast.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PublisherProvidedForecast.php
new file mode 100644
index 00000000..d97208bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PublisherProvidedForecast.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_PublisherProvidedForecast extends Google_Collection
+{
+ protected $collection_key = 'dimensions';
+ protected $dimensionsType = 'Google_Service_AdExchangeBuyer_Dimension';
+ protected $dimensionsDataType = 'array';
+ public $weeklyImpressions;
+ public $weeklyUniques;
+
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setWeeklyImpressions($weeklyImpressions)
+ {
+ $this->weeklyImpressions = $weeklyImpressions;
+ }
+ public function getWeeklyImpressions()
+ {
+ return $this->weeklyImpressions;
+ }
+ public function setWeeklyUniques($weeklyUniques)
+ {
+ $this->weeklyUniques = $weeklyUniques;
+ }
+ public function getWeeklyUniques()
+ {
+ return $this->weeklyUniques;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Accounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Accounts.php
new file mode 100644
index 00000000..1d53f571
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Accounts.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $accounts = $adexchangebuyerService->accounts;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyer_Resource_Accounts extends Google_Service_Resource
+{
+ /**
+ * Gets one account by ID. (accounts.get)
+ *
+ * @param int $id The account id
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_AdExchangeBuyer_Account");
+ }
+ /**
+ * Retrieves the authenticated user's list of accounts. (accounts.listAccounts)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_AccountsList
+ */
+ public function listAccounts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_AccountsList");
+ }
+ /**
+ * Updates an existing account. This method supports patch semantics.
+ * (accounts.patch)
+ *
+ * @param int $id The account id
+ * @param Google_Service_AdExchangeBuyer_Account $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool confirmUnsafeAccountChange Confirmation for erasing bidder
+ * and cookie matching urls.
+ * @return Google_Service_AdExchangeBuyer_Account
+ */
+ public function patch($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Account");
+ }
+ /**
+ * Updates an existing account. (accounts.update)
+ *
+ * @param int $id The account id
+ * @param Google_Service_AdExchangeBuyer_Account $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool confirmUnsafeAccountChange Confirmation for erasing bidder
+ * and cookie matching urls.
+ * @return Google_Service_AdExchangeBuyer_Account
+ */
+ public function update($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Account");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/BillingInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/BillingInfo.php
new file mode 100644
index 00000000..a531125e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/BillingInfo.php
@@ -0,0 +1,55 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "billingInfo" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $billingInfo = $adexchangebuyerService->billingInfo;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyer_Resource_BillingInfo extends 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 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), "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 Google_Service_AdExchangeBuyer_BillingInfoList
+ */
+ public function listBillingInfo($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_BillingInfoList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Budget.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Budget.php
new file mode 100644
index 00000000..26efc8e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Budget.php
@@ -0,0 +1,81 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "budget" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $budget = $adexchangebuyerService->budget;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyer_Resource_Budget extends Google_Service_Resource
+{
+ /**
+ * Returns the budget information for the adgroup specified by the accountId and
+ * billingId. (budget.get)
+ *
+ * @param string $accountId The account id to get the budget information for.
+ * @param string $billingId The billing id to get the budget information for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_Budget
+ */
+ public function get($accountId, $billingId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'billingId' => $billingId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Budget");
+ }
+ /**
+ * Updates the budget amount for the budget of the adgroup specified by the
+ * accountId and billingId, with the budget amount in the request. This method
+ * supports patch semantics. (budget.patch)
+ *
+ * @param string $accountId The account id associated with the budget being
+ * updated.
+ * @param string $billingId The billing id associated with the budget being
+ * updated.
+ * @param Google_Service_AdExchangeBuyer_Budget $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_Budget
+ */
+ public function patch($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Budget");
+ }
+ /**
+ * Updates the budget amount for the budget of the adgroup specified by the
+ * accountId and billingId, with the budget amount in the request.
+ * (budget.update)
+ *
+ * @param string $accountId The account id associated with the budget being
+ * updated.
+ * @param string $billingId The billing id associated with the budget being
+ * updated.
+ * @param Google_Service_AdExchangeBuyer_Budget $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_Budget
+ */
+ public function update($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Budget");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Creatives.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Creatives.php
new file mode 100644
index 00000000..fa6c0c40
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Creatives.php
@@ -0,0 +1,127 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "creatives" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $creatives = $adexchangebuyerService->creatives;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyer_Resource_Creatives extends Google_Service_Resource
+{
+ /**
+ * Add a deal id association for the creative. (creatives.addDeal)
+ *
+ * @param int $accountId The id for the account that will serve this creative.
+ * @param string $buyerCreativeId The buyer-specific id for this creative.
+ * @param string $dealId The id of the deal id to associate with this creative.
+ * @param array $optParams Optional parameters.
+ */
+ public function addDeal($accountId, $buyerCreativeId, $dealId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId, 'dealId' => $dealId);
+ $params = array_merge($params, $optParams);
+ return $this->call('addDeal', array($params));
+ }
+ /**
+ * 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 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), "Google_Service_AdExchangeBuyer_Creative");
+ }
+ /**
+ * Submit a new creative. (creatives.insert)
+ *
+ * @param Google_Service_AdExchangeBuyer_Creative $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_Creative
+ */
+ public function insert(Google_Service_AdExchangeBuyer_Creative $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 int accountId When specified, only creatives for the given account
+ * ids are returned.
+ * @opt_param string buyerCreativeId When specified, only creatives for the
+ * given buyer creative ids are returned.
+ * @opt_param string dealsStatusFilter When specified, only creatives having the
+ * given deals status are returned.
+ * @opt_param string maxResults Maximum number of entries returned on one result
+ * page. If not set, the default is 100. Optional.
+ * @opt_param string openAuctionStatusFilter When specified, only creatives
+ * having the given open auction 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.
+ * @return Google_Service_AdExchangeBuyer_CreativesList
+ */
+ public function listCreatives($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_CreativesList");
+ }
+ /**
+ * Lists the external deal ids associated with the creative.
+ * (creatives.listDeals)
+ *
+ * @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 Google_Service_AdExchangeBuyer_CreativeDealIds
+ */
+ public function listDeals($accountId, $buyerCreativeId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('listDeals', array($params), "Google_Service_AdExchangeBuyer_CreativeDealIds");
+ }
+ /**
+ * Remove a deal id associated with the creative. (creatives.removeDeal)
+ *
+ * @param int $accountId The id for the account that will serve this creative.
+ * @param string $buyerCreativeId The buyer-specific id for this creative.
+ * @param string $dealId The id of the deal id to disassociate with this
+ * creative.
+ * @param array $optParams Optional parameters.
+ */
+ public function removeDeal($accountId, $buyerCreativeId, $dealId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId, 'dealId' => $dealId);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeDeal', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplacedeals.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplacedeals.php
new file mode 100644
index 00000000..6dff34b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplacedeals.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "marketplacedeals" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $marketplacedeals = $adexchangebuyerService->marketplacedeals;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyer_Resource_Marketplacedeals extends Google_Service_Resource
+{
+ /**
+ * Delete the specified deals from the proposal (marketplacedeals.delete)
+ *
+ * @param string $proposalId The proposalId to delete deals from.
+ * @param Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse
+ */
+ public function delete($proposalId, Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest $postBody, $optParams = array())
+ {
+ $params = array('proposalId' => $proposalId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse");
+ }
+ /**
+ * Add new deals for the specified proposal (marketplacedeals.insert)
+ *
+ * @param string $proposalId proposalId for which deals need to be added.
+ * @param Google_Service_AdExchangeBuyer_AddOrderDealsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_AddOrderDealsResponse
+ */
+ public function insert($proposalId, Google_Service_AdExchangeBuyer_AddOrderDealsRequest $postBody, $optParams = array())
+ {
+ $params = array('proposalId' => $proposalId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_AddOrderDealsResponse");
+ }
+ /**
+ * List all the deals for a given proposal
+ * (marketplacedeals.listMarketplacedeals)
+ *
+ * @param string $proposalId The proposalId to get deals for. To search across
+ * all proposals specify order_id = '-' as part of the URL.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pqlQuery Query string to retrieve specific deals.
+ * @return Google_Service_AdExchangeBuyer_GetOrderDealsResponse
+ */
+ public function listMarketplacedeals($proposalId, $optParams = array())
+ {
+ $params = array('proposalId' => $proposalId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetOrderDealsResponse");
+ }
+ /**
+ * Replaces all the deals in the proposal with the passed in deals
+ * (marketplacedeals.update)
+ *
+ * @param string $proposalId The proposalId to edit deals on.
+ * @param Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse
+ */
+ public function update($proposalId, Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest $postBody, $optParams = array())
+ {
+ $params = array('proposalId' => $proposalId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplacenotes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplacenotes.php
new file mode 100644
index 00000000..dfd9ca8f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplacenotes.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "marketplacenotes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $marketplacenotes = $adexchangebuyerService->marketplacenotes;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyer_Resource_Marketplacenotes extends Google_Service_Resource
+{
+ /**
+ * Add notes to the proposal (marketplacenotes.insert)
+ *
+ * @param string $proposalId The proposalId to add notes for.
+ * @param Google_Service_AdExchangeBuyer_AddOrderNotesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_AddOrderNotesResponse
+ */
+ public function insert($proposalId, Google_Service_AdExchangeBuyer_AddOrderNotesRequest $postBody, $optParams = array())
+ {
+ $params = array('proposalId' => $proposalId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_AddOrderNotesResponse");
+ }
+ /**
+ * Get all the notes associated with a proposal
+ * (marketplacenotes.listMarketplacenotes)
+ *
+ * @param string $proposalId The proposalId to get notes for. To search across
+ * all proposals specify order_id = '-' as part of the URL.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pqlQuery Query string to retrieve specific notes. To search
+ * the text contents of notes, please use syntax like "WHERE note.note = "foo"
+ * or "WHERE note.note LIKE "%bar%"
+ * @return Google_Service_AdExchangeBuyer_GetOrderNotesResponse
+ */
+ public function listMarketplacenotes($proposalId, $optParams = array())
+ {
+ $params = array('proposalId' => $proposalId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetOrderNotesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplaceprivateauction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplaceprivateauction.php
new file mode 100644
index 00000000..bc7dbc96
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplaceprivateauction.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "marketplaceprivateauction" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $marketplaceprivateauction = $adexchangebuyerService->marketplaceprivateauction;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyer_Resource_Marketplaceprivateauction extends Google_Service_Resource
+{
+ /**
+ * Update a given private auction proposal
+ * (marketplaceprivateauction.updateproposal)
+ *
+ * @param string $privateAuctionId The private auction id to be updated.
+ * @param Google_Service_AdExchangeBuyer_UpdatePrivateAuctionProposalRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function updateproposal($privateAuctionId, Google_Service_AdExchangeBuyer_UpdatePrivateAuctionProposalRequest $postBody, $optParams = array())
+ {
+ $params = array('privateAuctionId' => $privateAuctionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateproposal', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/PerformanceReport.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/PerformanceReport.php
new file mode 100644
index 00000000..4198794d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/PerformanceReport.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "performanceReport" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $performanceReport = $adexchangebuyerService->performanceReport;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyer_Resource_PerformanceReport extends 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 maxResults Maximum number of entries returned on one result
+ * page. If not set, the default is 100. Optional.
+ * @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.
+ * @return 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), "Google_Service_AdExchangeBuyer_PerformanceReportList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/PretargetingConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/PretargetingConfig.php
new file mode 100644
index 00000000..9d525076
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/PretargetingConfig.php
@@ -0,0 +1,118 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "pretargetingConfig" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $pretargetingConfig = $adexchangebuyerService->pretargetingConfig;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyer_Resource_PretargetingConfig extends 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 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), "Google_Service_AdExchangeBuyer_PretargetingConfig");
+ }
+ /**
+ * Inserts a new pretargeting configuration. (pretargetingConfig.insert)
+ *
+ * @param string $accountId The account id to insert the pretargeting config
+ * for.
+ * @param Google_Service_AdExchangeBuyer_PretargetingConfig $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_PretargetingConfig
+ */
+ public function insert($accountId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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), "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 Google_Service_AdExchangeBuyer_PretargetingConfig $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_PretargetingConfig
+ */
+ public function patch($accountId, $configId, 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), "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 Google_Service_AdExchangeBuyer_PretargetingConfig $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_PretargetingConfig
+ */
+ public function update($accountId, $configId, 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), "Google_Service_AdExchangeBuyer_PretargetingConfig");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Products.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Products.php
new file mode 100644
index 00000000..cbbf161b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Products.php
@@ -0,0 +1,55 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "products" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $products = $adexchangebuyerService->products;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyer_Resource_Products extends Google_Service_Resource
+{
+ /**
+ * Gets the requested product by id. (products.get)
+ *
+ * @param string $productId The id for the product to get the head revision for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_Product
+ */
+ public function get($productId, $optParams = array())
+ {
+ $params = array('productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Product");
+ }
+ /**
+ * Gets the requested product. (products.search)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pqlQuery The pql query used to query for products.
+ * @return Google_Service_AdExchangeBuyer_GetOffersResponse
+ */
+ public function search($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_AdExchangeBuyer_GetOffersResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Proposals.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Proposals.php
new file mode 100644
index 00000000..63c4a03e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Proposals.php
@@ -0,0 +1,122 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "proposals" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $proposals = $adexchangebuyerService->proposals;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyer_Resource_Proposals extends Google_Service_Resource
+{
+ /**
+ * Get a proposal given its id (proposals.get)
+ *
+ * @param string $proposalId Id of the proposal to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_Proposal
+ */
+ public function get($proposalId, $optParams = array())
+ {
+ $params = array('proposalId' => $proposalId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Proposal");
+ }
+ /**
+ * Create the given list of proposals (proposals.insert)
+ *
+ * @param Google_Service_AdExchangeBuyer_CreateOrdersRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_CreateOrdersResponse
+ */
+ public function insert(Google_Service_AdExchangeBuyer_CreateOrdersRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_CreateOrdersResponse");
+ }
+ /**
+ * Update the given proposal. This method supports patch semantics.
+ * (proposals.patch)
+ *
+ * @param string $proposalId The proposal id to update.
+ * @param string $revisionNumber The last known revision number to update. If
+ * the head revision in the marketplace database has since changed, an error
+ * will be thrown. The caller should then fetch the latest proposal at head
+ * revision and retry the update at that revision.
+ * @param string $updateAction The proposed action to take on the proposal. This
+ * field is required and it must be set when updating a proposal.
+ * @param Google_Service_AdExchangeBuyer_Proposal $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_Proposal
+ */
+ public function patch($proposalId, $revisionNumber, $updateAction, Google_Service_AdExchangeBuyer_Proposal $postBody, $optParams = array())
+ {
+ $params = array('proposalId' => $proposalId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Proposal");
+ }
+ /**
+ * Search for proposals using pql query (proposals.search)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pqlQuery Query string to retrieve specific proposals.
+ * @return Google_Service_AdExchangeBuyer_GetOrdersResponse
+ */
+ public function search($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_AdExchangeBuyer_GetOrdersResponse");
+ }
+ /**
+ * Update the given proposal to indicate that setup has been completed.
+ * (proposals.setupcomplete)
+ *
+ * @param string $proposalId The proposal id for which the setup is complete
+ * @param array $optParams Optional parameters.
+ */
+ public function setupcomplete($proposalId, $optParams = array())
+ {
+ $params = array('proposalId' => $proposalId);
+ $params = array_merge($params, $optParams);
+ return $this->call('setupcomplete', array($params));
+ }
+ /**
+ * Update the given proposal (proposals.update)
+ *
+ * @param string $proposalId The proposal id to update.
+ * @param string $revisionNumber The last known revision number to update. If
+ * the head revision in the marketplace database has since changed, an error
+ * will be thrown. The caller should then fetch the latest proposal at head
+ * revision and retry the update at that revision.
+ * @param string $updateAction The proposed action to take on the proposal. This
+ * field is required and it must be set when updating a proposal.
+ * @param Google_Service_AdExchangeBuyer_Proposal $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_Proposal
+ */
+ public function update($proposalId, $revisionNumber, $updateAction, Google_Service_AdExchangeBuyer_Proposal $postBody, $optParams = array())
+ {
+ $params = array('proposalId' => $proposalId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Proposal");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Pubprofiles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Pubprofiles.php
new file mode 100644
index 00000000..b3fa00bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Pubprofiles.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "pubprofiles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $pubprofiles = $adexchangebuyerService->pubprofiles;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyer_Resource_Pubprofiles extends Google_Service_Resource
+{
+ /**
+ * Gets the requested publisher profile(s) by publisher accountId.
+ * (pubprofiles.listPubprofiles)
+ *
+ * @param int $accountId The accountId of the publisher to get profiles for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_GetPublisherProfilesByAccountIdResponse
+ */
+ public function listPubprofiles($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetPublisherProfilesByAccountIdResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Seller.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Seller.php
new file mode 100644
index 00000000..82ea611b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Seller.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_Seller extends Google_Model
+{
+ public $accountId;
+ public $subAccountId;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setSubAccountId($subAccountId)
+ {
+ $this->subAccountId = $subAccountId;
+ }
+ public function getSubAccountId()
+ {
+ return $this->subAccountId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/SharedTargeting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/SharedTargeting.php
new file mode 100644
index 00000000..281ec37f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/SharedTargeting.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_SharedTargeting extends Google_Collection
+{
+ protected $collection_key = 'inclusions';
+ protected $exclusionsType = 'Google_Service_AdExchangeBuyer_TargetingValue';
+ protected $exclusionsDataType = 'array';
+ protected $inclusionsType = 'Google_Service_AdExchangeBuyer_TargetingValue';
+ protected $inclusionsDataType = 'array';
+ public $key;
+
+ public function setExclusions($exclusions)
+ {
+ $this->exclusions = $exclusions;
+ }
+ public function getExclusions()
+ {
+ return $this->exclusions;
+ }
+ public function setInclusions($inclusions)
+ {
+ $this->inclusions = $inclusions;
+ }
+ public function getInclusions()
+ {
+ return $this->inclusions;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValue.php
new file mode 100644
index 00000000..a167819b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValue.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_TargetingValue extends Google_Model
+{
+ protected $creativeSizeValueType = 'Google_Service_AdExchangeBuyer_TargetingValueCreativeSize';
+ protected $creativeSizeValueDataType = '';
+ protected $dayPartTargetingValueType = 'Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting';
+ protected $dayPartTargetingValueDataType = '';
+ public $longValue;
+ public $stringValue;
+
+ public function setCreativeSizeValue(Google_Service_AdExchangeBuyer_TargetingValueCreativeSize $creativeSizeValue)
+ {
+ $this->creativeSizeValue = $creativeSizeValue;
+ }
+ public function getCreativeSizeValue()
+ {
+ return $this->creativeSizeValue;
+ }
+ public function setDayPartTargetingValue(Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting $dayPartTargetingValue)
+ {
+ $this->dayPartTargetingValue = $dayPartTargetingValue;
+ }
+ public function getDayPartTargetingValue()
+ {
+ return $this->dayPartTargetingValue;
+ }
+ public function setLongValue($longValue)
+ {
+ $this->longValue = $longValue;
+ }
+ public function getLongValue()
+ {
+ return $this->longValue;
+ }
+ public function setStringValue($stringValue)
+ {
+ $this->stringValue = $stringValue;
+ }
+ public function getStringValue()
+ {
+ return $this->stringValue;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueCreativeSize.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueCreativeSize.php
new file mode 100644
index 00000000..7302f658
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueCreativeSize.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_TargetingValueCreativeSize extends Google_Collection
+{
+ protected $collection_key = 'companionSizes';
+ protected $companionSizesType = 'Google_Service_AdExchangeBuyer_TargetingValueSize';
+ protected $companionSizesDataType = 'array';
+ public $creativeSizeType;
+ protected $sizeType = 'Google_Service_AdExchangeBuyer_TargetingValueSize';
+ protected $sizeDataType = '';
+ public $skippableAdType;
+
+ public function setCompanionSizes($companionSizes)
+ {
+ $this->companionSizes = $companionSizes;
+ }
+ public function getCompanionSizes()
+ {
+ return $this->companionSizes;
+ }
+ public function setCreativeSizeType($creativeSizeType)
+ {
+ $this->creativeSizeType = $creativeSizeType;
+ }
+ public function getCreativeSizeType()
+ {
+ return $this->creativeSizeType;
+ }
+ public function setSize(Google_Service_AdExchangeBuyer_TargetingValueSize $size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setSkippableAdType($skippableAdType)
+ {
+ $this->skippableAdType = $skippableAdType;
+ }
+ public function getSkippableAdType()
+ {
+ return $this->skippableAdType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueDayPartTargeting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueDayPartTargeting.php
new file mode 100644
index 00000000..da57301a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueDayPartTargeting.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting extends Google_Collection
+{
+ protected $collection_key = 'dayParts';
+ protected $dayPartsType = 'Google_Service_AdExchangeBuyer_TargetingValueDayPartTargetingDayPart';
+ protected $dayPartsDataType = 'array';
+ public $timeZoneType;
+
+ public function setDayParts($dayParts)
+ {
+ $this->dayParts = $dayParts;
+ }
+ public function getDayParts()
+ {
+ return $this->dayParts;
+ }
+ public function setTimeZoneType($timeZoneType)
+ {
+ $this->timeZoneType = $timeZoneType;
+ }
+ public function getTimeZoneType()
+ {
+ return $this->timeZoneType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueDayPartTargetingDayPart.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueDayPartTargetingDayPart.php
new file mode 100644
index 00000000..f656ae74
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueDayPartTargetingDayPart.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_TargetingValueDayPartTargetingDayPart extends Google_Model
+{
+ public $dayOfWeek;
+ public $endHour;
+ public $endMinute;
+ public $startHour;
+ public $startMinute;
+
+ public function setDayOfWeek($dayOfWeek)
+ {
+ $this->dayOfWeek = $dayOfWeek;
+ }
+ public function getDayOfWeek()
+ {
+ return $this->dayOfWeek;
+ }
+ public function setEndHour($endHour)
+ {
+ $this->endHour = $endHour;
+ }
+ public function getEndHour()
+ {
+ return $this->endHour;
+ }
+ public function setEndMinute($endMinute)
+ {
+ $this->endMinute = $endMinute;
+ }
+ public function getEndMinute()
+ {
+ return $this->endMinute;
+ }
+ public function setStartHour($startHour)
+ {
+ $this->startHour = $startHour;
+ }
+ public function getStartHour()
+ {
+ return $this->startHour;
+ }
+ public function setStartMinute($startMinute)
+ {
+ $this->startMinute = $startMinute;
+ }
+ public function getStartMinute()
+ {
+ return $this->startMinute;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueSize.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueSize.php
new file mode 100644
index 00000000..116c5b5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueSize.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_TargetingValueSize extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/UpdatePrivateAuctionProposalRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/UpdatePrivateAuctionProposalRequest.php
new file mode 100644
index 00000000..8ec36d3d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/UpdatePrivateAuctionProposalRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyer_UpdatePrivateAuctionProposalRequest extends Google_Model
+{
+ public $externalDealId;
+ protected $noteType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
+ protected $noteDataType = '';
+ public $proposalRevisionNumber;
+ public $updateAction;
+
+ public function setExternalDealId($externalDealId)
+ {
+ $this->externalDealId = $externalDealId;
+ }
+ public function getExternalDealId()
+ {
+ return $this->externalDealId;
+ }
+ public function setNote(Google_Service_AdExchangeBuyer_MarketplaceNote $note)
+ {
+ $this->note = $note;
+ }
+ public function getNote()
+ {
+ return $this->note;
+ }
+ public function setProposalRevisionNumber($proposalRevisionNumber)
+ {
+ $this->proposalRevisionNumber = $proposalRevisionNumber;
+ }
+ public function getProposalRevisionNumber()
+ {
+ return $this->proposalRevisionNumber;
+ }
+ public function setUpdateAction($updateAction)
+ {
+ $this->updateAction = $updateAction;
+ }
+ public function getUpdateAction()
+ {
+ return $this->updateAction;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII.php
new file mode 100644
index 00000000..99ce5a6f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII.php
@@ -0,0 +1,441 @@
+<?php
+/*
+ * Copyright 2016 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 AdExchangeBuyerII (v2beta1).
+ *
+ * <p>
+ * Accesses the latest features for managing Ad Exchange accounts, Real-Time
+ * Bidding configurations and auction metrics, and Marketplace programmatic
+ * deals.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_AdExchangeBuyerII extends Google_Service
+{
+ /** Manage your Ad Exchange buyer account configuration. */
+ const ADEXCHANGE_BUYER =
+ "https://www.googleapis.com/auth/adexchange.buyer";
+
+ public $accounts_clients;
+ public $accounts_clients_invitations;
+ public $accounts_clients_users;
+ public $accounts_creatives;
+ public $accounts_creatives_dealAssociations;
+
+ /**
+ * Constructs the internal representation of the AdExchangeBuyerII service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://adexchangebuyer.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v2beta1';
+ $this->serviceName = 'adexchangebuyer2';
+
+ $this->accounts_clients = new Google_Service_AdExchangeBuyerII_Resource_AccountsClients(
+ $this,
+ $this->serviceName,
+ 'clients',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/clients',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clientAccountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/clients',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clientAccountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_clients_invitations = new Google_Service_AdExchangeBuyerII_Resource_AccountsClientsInvitations(
+ $this,
+ $this->serviceName,
+ 'invitations',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clientAccountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clientAccountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'invitationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clientAccountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_clients_users = new Google_Service_AdExchangeBuyerII_Resource_AccountsClientsUsers(
+ $this,
+ $this->serviceName,
+ 'users',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clientAccountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clientAccountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clientAccountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_creatives = new Google_Service_AdExchangeBuyerII_Resource_AccountsCreatives(
+ $this,
+ $this->serviceName,
+ 'creatives',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/creatives',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'duplicateIdMode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/creatives',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'stopWatching' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'watch' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_creatives_dealAssociations = new Google_Service_AdExchangeBuyerII_Resource_AccountsCreativesDealAssociations(
+ $this,
+ $this->serviceName,
+ 'dealAssociations',
+ array(
+ 'methods' => array(
+ 'add' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'remove' => array(
+ 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AddDealAssociationRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AddDealAssociationRequest.php
new file mode 100644
index 00000000..032c0279
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AddDealAssociationRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_AddDealAssociationRequest extends Google_Model
+{
+ protected $associationType = 'Google_Service_AdExchangeBuyerII_CreativeDealAssociation';
+ protected $associationDataType = '';
+
+ public function setAssociation(Google_Service_AdExchangeBuyerII_CreativeDealAssociation $association)
+ {
+ $this->association = $association;
+ }
+ public function getAssociation()
+ {
+ return $this->association;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Adexchangebuyer2Empty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Adexchangebuyer2Empty.php
new file mode 100644
index 00000000..360f021f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Adexchangebuyer2Empty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AppContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AppContext.php
new file mode 100644
index 00000000..cad3827b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AppContext.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_AppContext extends Google_Collection
+{
+ protected $collection_key = 'appTypes';
+ public $appTypes;
+
+ public function setAppTypes($appTypes)
+ {
+ $this->appTypes = $appTypes;
+ }
+ public function getAppTypes()
+ {
+ return $this->appTypes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AuctionContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AuctionContext.php
new file mode 100644
index 00000000..b3144e80
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AuctionContext.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_AuctionContext extends Google_Collection
+{
+ protected $collection_key = 'auctionTypes';
+ public $auctionTypes;
+
+ public function setAuctionTypes($auctionTypes)
+ {
+ $this->auctionTypes = $auctionTypes;
+ }
+ public function getAuctionTypes()
+ {
+ return $this->auctionTypes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Client.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Client.php
new file mode 100644
index 00000000..8a0d1242
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Client.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_Client extends Google_Model
+{
+ public $clientAccountId;
+ public $clientName;
+ public $entityId;
+ public $entityName;
+ public $entityType;
+ public $role;
+ public $status;
+ public $visibleToSeller;
+
+ public function setClientAccountId($clientAccountId)
+ {
+ $this->clientAccountId = $clientAccountId;
+ }
+ public function getClientAccountId()
+ {
+ return $this->clientAccountId;
+ }
+ public function setClientName($clientName)
+ {
+ $this->clientName = $clientName;
+ }
+ public function getClientName()
+ {
+ return $this->clientName;
+ }
+ 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 setEntityType($entityType)
+ {
+ $this->entityType = $entityType;
+ }
+ public function getEntityType()
+ {
+ return $this->entityType;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setVisibleToSeller($visibleToSeller)
+ {
+ $this->visibleToSeller = $visibleToSeller;
+ }
+ public function getVisibleToSeller()
+ {
+ return $this->visibleToSeller;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ClientUser.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ClientUser.php
new file mode 100644
index 00000000..da71813e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ClientUser.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_ClientUser extends Google_Model
+{
+ public $clientAccountId;
+ public $email;
+ public $status;
+ public $userId;
+
+ public function setClientAccountId($clientAccountId)
+ {
+ $this->clientAccountId = $clientAccountId;
+ }
+ public function getClientAccountId()
+ {
+ return $this->clientAccountId;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ClientUserInvitation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ClientUserInvitation.php
new file mode 100644
index 00000000..fe3d0cc8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ClientUserInvitation.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_ClientUserInvitation extends Google_Model
+{
+ public $clientAccountId;
+ public $email;
+ public $invitationId;
+
+ public function setClientAccountId($clientAccountId)
+ {
+ $this->clientAccountId = $clientAccountId;
+ }
+ public function getClientAccountId()
+ {
+ return $this->clientAccountId;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setInvitationId($invitationId)
+ {
+ $this->invitationId = $invitationId;
+ }
+ public function getInvitationId()
+ {
+ return $this->invitationId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Correction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Correction.php
new file mode 100644
index 00000000..3e1f2eea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Correction.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_Correction extends Google_Collection
+{
+ protected $collection_key = 'details';
+ protected $contextsType = 'Google_Service_AdExchangeBuyerII_ServingContext';
+ protected $contextsDataType = 'array';
+ public $details;
+ public $type;
+
+ public function setContexts($contexts)
+ {
+ $this->contexts = $contexts;
+ }
+ public function getContexts()
+ {
+ return $this->contexts;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Creative.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Creative.php
new file mode 100644
index 00000000..54930e4a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Creative.php
@@ -0,0 +1,253 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_Creative extends Google_Collection
+{
+ protected $collection_key = 'vendorIds';
+ public $accountId;
+ public $adChoicesDestinationUrl;
+ public $advertiserName;
+ public $agencyId;
+ public $apiUpdateTime;
+ public $attributes;
+ public $clickThroughUrls;
+ protected $correctionsType = 'Google_Service_AdExchangeBuyerII_Correction';
+ protected $correctionsDataType = 'array';
+ public $creativeId;
+ public $dealsStatus;
+ public $detectedAdvertiserIds;
+ public $detectedDomains;
+ public $detectedLanguages;
+ public $detectedProductCategories;
+ public $detectedSensitiveCategories;
+ protected $filteringStatsType = 'Google_Service_AdExchangeBuyerII_FilteringStats';
+ protected $filteringStatsDataType = '';
+ protected $htmlType = 'Google_Service_AdExchangeBuyerII_HtmlContent';
+ protected $htmlDataType = '';
+ public $impressionTrackingUrls;
+ protected $nativeType = 'Google_Service_AdExchangeBuyerII_NativeContent';
+ protected $nativeDataType = '';
+ public $openAuctionStatus;
+ public $restrictedCategories;
+ protected $servingRestrictionsType = 'Google_Service_AdExchangeBuyerII_ServingRestriction';
+ protected $servingRestrictionsDataType = 'array';
+ public $vendorIds;
+ public $version;
+ protected $videoType = 'Google_Service_AdExchangeBuyerII_VideoContent';
+ protected $videoDataType = '';
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdChoicesDestinationUrl($adChoicesDestinationUrl)
+ {
+ $this->adChoicesDestinationUrl = $adChoicesDestinationUrl;
+ }
+ public function getAdChoicesDestinationUrl()
+ {
+ return $this->adChoicesDestinationUrl;
+ }
+ 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 setApiUpdateTime($apiUpdateTime)
+ {
+ $this->apiUpdateTime = $apiUpdateTime;
+ }
+ public function getApiUpdateTime()
+ {
+ return $this->apiUpdateTime;
+ }
+ public function setAttributes($attributes)
+ {
+ $this->attributes = $attributes;
+ }
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+ public function setClickThroughUrls($clickThroughUrls)
+ {
+ $this->clickThroughUrls = $clickThroughUrls;
+ }
+ public function getClickThroughUrls()
+ {
+ return $this->clickThroughUrls;
+ }
+ public function setCorrections($corrections)
+ {
+ $this->corrections = $corrections;
+ }
+ public function getCorrections()
+ {
+ return $this->corrections;
+ }
+ public function setCreativeId($creativeId)
+ {
+ $this->creativeId = $creativeId;
+ }
+ public function getCreativeId()
+ {
+ return $this->creativeId;
+ }
+ public function setDealsStatus($dealsStatus)
+ {
+ $this->dealsStatus = $dealsStatus;
+ }
+ public function getDealsStatus()
+ {
+ return $this->dealsStatus;
+ }
+ public function setDetectedAdvertiserIds($detectedAdvertiserIds)
+ {
+ $this->detectedAdvertiserIds = $detectedAdvertiserIds;
+ }
+ public function getDetectedAdvertiserIds()
+ {
+ return $this->detectedAdvertiserIds;
+ }
+ public function setDetectedDomains($detectedDomains)
+ {
+ $this->detectedDomains = $detectedDomains;
+ }
+ public function getDetectedDomains()
+ {
+ return $this->detectedDomains;
+ }
+ public function setDetectedLanguages($detectedLanguages)
+ {
+ $this->detectedLanguages = $detectedLanguages;
+ }
+ public function getDetectedLanguages()
+ {
+ return $this->detectedLanguages;
+ }
+ public function setDetectedProductCategories($detectedProductCategories)
+ {
+ $this->detectedProductCategories = $detectedProductCategories;
+ }
+ public function getDetectedProductCategories()
+ {
+ return $this->detectedProductCategories;
+ }
+ public function setDetectedSensitiveCategories($detectedSensitiveCategories)
+ {
+ $this->detectedSensitiveCategories = $detectedSensitiveCategories;
+ }
+ public function getDetectedSensitiveCategories()
+ {
+ return $this->detectedSensitiveCategories;
+ }
+ public function setFilteringStats(Google_Service_AdExchangeBuyerII_FilteringStats $filteringStats)
+ {
+ $this->filteringStats = $filteringStats;
+ }
+ public function getFilteringStats()
+ {
+ return $this->filteringStats;
+ }
+ public function setHtml(Google_Service_AdExchangeBuyerII_HtmlContent $html)
+ {
+ $this->html = $html;
+ }
+ public function getHtml()
+ {
+ return $this->html;
+ }
+ public function setImpressionTrackingUrls($impressionTrackingUrls)
+ {
+ $this->impressionTrackingUrls = $impressionTrackingUrls;
+ }
+ public function getImpressionTrackingUrls()
+ {
+ return $this->impressionTrackingUrls;
+ }
+ public function setNative(Google_Service_AdExchangeBuyerII_NativeContent $native)
+ {
+ $this->native = $native;
+ }
+ public function getNative()
+ {
+ return $this->native;
+ }
+ public function setOpenAuctionStatus($openAuctionStatus)
+ {
+ $this->openAuctionStatus = $openAuctionStatus;
+ }
+ public function getOpenAuctionStatus()
+ {
+ return $this->openAuctionStatus;
+ }
+ public function setRestrictedCategories($restrictedCategories)
+ {
+ $this->restrictedCategories = $restrictedCategories;
+ }
+ public function getRestrictedCategories()
+ {
+ return $this->restrictedCategories;
+ }
+ public function setServingRestrictions($servingRestrictions)
+ {
+ $this->servingRestrictions = $servingRestrictions;
+ }
+ public function getServingRestrictions()
+ {
+ return $this->servingRestrictions;
+ }
+ public function setVendorIds($vendorIds)
+ {
+ $this->vendorIds = $vendorIds;
+ }
+ public function getVendorIds()
+ {
+ return $this->vendorIds;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+ public function setVideo(Google_Service_AdExchangeBuyerII_VideoContent $video)
+ {
+ $this->video = $video;
+ }
+ public function getVideo()
+ {
+ return $this->video;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/CreativeDealAssociation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/CreativeDealAssociation.php
new file mode 100644
index 00000000..4ce53aa7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/CreativeDealAssociation.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_CreativeDealAssociation extends Google_Model
+{
+ public $accountId;
+ public $creativeId;
+ public $dealsId;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setCreativeId($creativeId)
+ {
+ $this->creativeId = $creativeId;
+ }
+ public function getCreativeId()
+ {
+ return $this->creativeId;
+ }
+ public function setDealsId($dealsId)
+ {
+ $this->dealsId = $dealsId;
+ }
+ public function getDealsId()
+ {
+ return $this->dealsId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Date.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Date.php
new file mode 100644
index 00000000..0d65a08d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Date.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_Date extends Google_Model
+{
+ public $day;
+ public $month;
+ public $year;
+
+ 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;
+ }
+ public function setYear($year)
+ {
+ $this->year = $year;
+ }
+ public function getYear()
+ {
+ return $this->year;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Disapproval.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Disapproval.php
new file mode 100644
index 00000000..6a6824a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Disapproval.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_Disapproval extends Google_Collection
+{
+ protected $collection_key = 'details';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/FilteringStats.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/FilteringStats.php
new file mode 100644
index 00000000..ecc5a875
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/FilteringStats.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_FilteringStats extends Google_Collection
+{
+ protected $collection_key = 'reasons';
+ protected $dateType = 'Google_Service_AdExchangeBuyerII_Date';
+ protected $dateDataType = '';
+ protected $reasonsType = 'Google_Service_AdExchangeBuyerII_Reason';
+ protected $reasonsDataType = 'array';
+
+ public function setDate(Google_Service_AdExchangeBuyerII_Date $date)
+ {
+ $this->date = $date;
+ }
+ public function getDate()
+ {
+ return $this->date;
+ }
+ public function setReasons($reasons)
+ {
+ $this->reasons = $reasons;
+ }
+ public function getReasons()
+ {
+ return $this->reasons;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/HtmlContent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/HtmlContent.php
new file mode 100644
index 00000000..5e474ed5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/HtmlContent.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_HtmlContent extends Google_Model
+{
+ public $height;
+ public $snippet;
+ public $width;
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setSnippet($snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Image.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Image.php
new file mode 100644
index 00000000..4abc4434
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Image.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_Image extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientUserInvitationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientUserInvitationsResponse.php
new file mode 100644
index 00000000..b33d7d05
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientUserInvitationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_ListClientUserInvitationsResponse extends Google_Collection
+{
+ protected $collection_key = 'invitations';
+ protected $invitationsType = 'Google_Service_AdExchangeBuyerII_ClientUserInvitation';
+ protected $invitationsDataType = 'array';
+ public $nextPageToken;
+
+ public function setInvitations($invitations)
+ {
+ $this->invitations = $invitations;
+ }
+ public function getInvitations()
+ {
+ return $this->invitations;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientUsersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientUsersResponse.php
new file mode 100644
index 00000000..8458df7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientUsersResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_ListClientUsersResponse extends Google_Collection
+{
+ protected $collection_key = 'users';
+ public $nextPageToken;
+ protected $usersType = 'Google_Service_AdExchangeBuyerII_ClientUser';
+ protected $usersDataType = 'array';
+
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientsResponse.php
new file mode 100644
index 00000000..03fe35a8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_ListClientsResponse extends Google_Collection
+{
+ protected $collection_key = 'clients';
+ protected $clientsType = 'Google_Service_AdExchangeBuyerII_Client';
+ protected $clientsDataType = 'array';
+ public $nextPageToken;
+
+ public function setClients($clients)
+ {
+ $this->clients = $clients;
+ }
+ public function getClients()
+ {
+ return $this->clients;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListCreativesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListCreativesResponse.php
new file mode 100644
index 00000000..10df66aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListCreativesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_ListCreativesResponse extends Google_Collection
+{
+ protected $collection_key = 'creatives';
+ protected $creativesType = 'Google_Service_AdExchangeBuyerII_Creative';
+ protected $creativesDataType = 'array';
+ public $nextPageToken;
+
+ public function setCreatives($creatives)
+ {
+ $this->creatives = $creatives;
+ }
+ public function getCreatives()
+ {
+ return $this->creatives;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListDealAssociationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListDealAssociationsResponse.php
new file mode 100644
index 00000000..9014532b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListDealAssociationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_ListDealAssociationsResponse extends Google_Collection
+{
+ protected $collection_key = 'associations';
+ protected $associationsType = 'Google_Service_AdExchangeBuyerII_CreativeDealAssociation';
+ protected $associationsDataType = 'array';
+ public $nextPageToken;
+
+ public function setAssociations($associations)
+ {
+ $this->associations = $associations;
+ }
+ public function getAssociations()
+ {
+ return $this->associations;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/LocationContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/LocationContext.php
new file mode 100644
index 00000000..38b65c92
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/LocationContext.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_LocationContext extends Google_Collection
+{
+ protected $collection_key = 'geoCriteriaIds';
+ public $geoCriteriaIds;
+
+ public function setGeoCriteriaIds($geoCriteriaIds)
+ {
+ $this->geoCriteriaIds = $geoCriteriaIds;
+ }
+ public function getGeoCriteriaIds()
+ {
+ return $this->geoCriteriaIds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/NativeContent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/NativeContent.php
new file mode 100644
index 00000000..c5d7b6fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/NativeContent.php
@@ -0,0 +1,141 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_NativeContent extends Google_Model
+{
+ public $advertiserName;
+ protected $appIconType = 'Google_Service_AdExchangeBuyerII_Image';
+ protected $appIconDataType = '';
+ public $body;
+ public $callToAction;
+ public $clickLinkUrl;
+ public $clickTrackingUrl;
+ public $headline;
+ protected $imageType = 'Google_Service_AdExchangeBuyerII_Image';
+ protected $imageDataType = '';
+ protected $logoType = 'Google_Service_AdExchangeBuyerII_Image';
+ protected $logoDataType = '';
+ public $priceDisplayText;
+ public $starRating;
+ public $storeUrl;
+ public $videoUrl;
+
+ public function setAdvertiserName($advertiserName)
+ {
+ $this->advertiserName = $advertiserName;
+ }
+ public function getAdvertiserName()
+ {
+ return $this->advertiserName;
+ }
+ public function setAppIcon(Google_Service_AdExchangeBuyerII_Image $appIcon)
+ {
+ $this->appIcon = $appIcon;
+ }
+ public function getAppIcon()
+ {
+ return $this->appIcon;
+ }
+ public function setBody($body)
+ {
+ $this->body = $body;
+ }
+ public function getBody()
+ {
+ return $this->body;
+ }
+ public function setCallToAction($callToAction)
+ {
+ $this->callToAction = $callToAction;
+ }
+ public function getCallToAction()
+ {
+ return $this->callToAction;
+ }
+ public function setClickLinkUrl($clickLinkUrl)
+ {
+ $this->clickLinkUrl = $clickLinkUrl;
+ }
+ public function getClickLinkUrl()
+ {
+ return $this->clickLinkUrl;
+ }
+ public function setClickTrackingUrl($clickTrackingUrl)
+ {
+ $this->clickTrackingUrl = $clickTrackingUrl;
+ }
+ public function getClickTrackingUrl()
+ {
+ return $this->clickTrackingUrl;
+ }
+ public function setHeadline($headline)
+ {
+ $this->headline = $headline;
+ }
+ public function getHeadline()
+ {
+ return $this->headline;
+ }
+ public function setImage(Google_Service_AdExchangeBuyerII_Image $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setLogo(Google_Service_AdExchangeBuyerII_Image $logo)
+ {
+ $this->logo = $logo;
+ }
+ public function getLogo()
+ {
+ return $this->logo;
+ }
+ public function setPriceDisplayText($priceDisplayText)
+ {
+ $this->priceDisplayText = $priceDisplayText;
+ }
+ public function getPriceDisplayText()
+ {
+ return $this->priceDisplayText;
+ }
+ public function setStarRating($starRating)
+ {
+ $this->starRating = $starRating;
+ }
+ public function getStarRating()
+ {
+ return $this->starRating;
+ }
+ public function setStoreUrl($storeUrl)
+ {
+ $this->storeUrl = $storeUrl;
+ }
+ public function getStoreUrl()
+ {
+ return $this->storeUrl;
+ }
+ public function setVideoUrl($videoUrl)
+ {
+ $this->videoUrl = $videoUrl;
+ }
+ public function getVideoUrl()
+ {
+ return $this->videoUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/PlatformContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/PlatformContext.php
new file mode 100644
index 00000000..07fd0680
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/PlatformContext.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_PlatformContext extends Google_Collection
+{
+ protected $collection_key = 'platforms';
+ public $platforms;
+
+ public function setPlatforms($platforms)
+ {
+ $this->platforms = $platforms;
+ }
+ public function getPlatforms()
+ {
+ return $this->platforms;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Reason.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Reason.php
new file mode 100644
index 00000000..5b536f3a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Reason.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_Reason extends Google_Model
+{
+ public $count;
+ public $status;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/RemoveDealAssociationRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/RemoveDealAssociationRequest.php
new file mode 100644
index 00000000..a0997af7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/RemoveDealAssociationRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_RemoveDealAssociationRequest extends Google_Model
+{
+ protected $associationType = 'Google_Service_AdExchangeBuyerII_CreativeDealAssociation';
+ protected $associationDataType = '';
+
+ public function setAssociation(Google_Service_AdExchangeBuyerII_CreativeDealAssociation $association)
+ {
+ $this->association = $association;
+ }
+ public function getAssociation()
+ {
+ return $this->association;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/Accounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/Accounts.php
new file mode 100644
index 00000000..b4753fb6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/Accounts.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
+ * $accounts = $adexchangebuyer2Service->accounts;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyerII_Resource_Accounts extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClients.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClients.php
new file mode 100644
index 00000000..6006cac9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClients.php
@@ -0,0 +1,101 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "clients" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
+ * $clients = $adexchangebuyer2Service->clients;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyerII_Resource_AccountsClients extends Google_Service_Resource
+{
+ /**
+ * Creates a new client buyer. (clients.create)
+ *
+ * @param string $accountId Unique numerical account ID for the buyer of which
+ * the client buyer is a customer; the sponsor buyer to create a client for.
+ * (required)
+ * @param Google_Service_AdExchangeBuyerII_Client $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyerII_Client
+ */
+ public function create($accountId, Google_Service_AdExchangeBuyerII_Client $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_AdExchangeBuyerII_Client");
+ }
+ /**
+ * Gets a client buyer with a given client account ID. (clients.get)
+ *
+ * @param string $accountId Numerical account ID of the client's sponsor buyer.
+ * (required)
+ * @param string $clientAccountId Numerical account ID of the client buyer to
+ * retrieve. (required)
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyerII_Client
+ */
+ public function get($accountId, $clientAccountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AdExchangeBuyerII_Client");
+ }
+ /**
+ * Lists all the clients for the current sponsor buyer.
+ * (clients.listAccountsClients)
+ *
+ * @param string $accountId Unique numerical account ID of the sponsor buyer to
+ * list the clients for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A token identifying a page of results the server
+ * should return. Typically, this is the value of
+ * ListClientsResponse.nextPageToken returned from the previous call to the
+ * accounts.clients.list method.
+ * @opt_param int pageSize Requested page size. The server may return fewer
+ * clients than requested. If unspecified, the server will pick an appropriate
+ * default.
+ * @return Google_Service_AdExchangeBuyerII_ListClientsResponse
+ */
+ public function listAccountsClients($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListClientsResponse");
+ }
+ /**
+ * Updates an existing client buyer. (clients.update)
+ *
+ * @param string $accountId Unique numerical account ID for the buyer of which
+ * the client buyer is a customer; the sponsor buyer to update a client for.
+ * (required)
+ * @param string $clientAccountId Unique numerical account ID of the client to
+ * update. (required)
+ * @param Google_Service_AdExchangeBuyerII_Client $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyerII_Client
+ */
+ public function update($accountId, $clientAccountId, Google_Service_AdExchangeBuyerII_Client $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AdExchangeBuyerII_Client");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsInvitations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsInvitations.php
new file mode 100644
index 00000000..5a8569c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsInvitations.php
@@ -0,0 +1,90 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "invitations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
+ * $invitations = $adexchangebuyer2Service->invitations;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyerII_Resource_AccountsClientsInvitations extends Google_Service_Resource
+{
+ /**
+ * Creates and sends out an email invitation to access an Ad Exchange client
+ * buyer account. (invitations.create)
+ *
+ * @param string $accountId Numerical account ID of the client's sponsor buyer.
+ * (required)
+ * @param string $clientAccountId Numerical account ID of the client buyer that
+ * the user should be associated with. (required)
+ * @param Google_Service_AdExchangeBuyerII_ClientUserInvitation $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyerII_ClientUserInvitation
+ */
+ public function create($accountId, $clientAccountId, Google_Service_AdExchangeBuyerII_ClientUserInvitation $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_AdExchangeBuyerII_ClientUserInvitation");
+ }
+ /**
+ * Retrieves an existing client user invitation. (invitations.get)
+ *
+ * @param string $accountId Numerical account ID of the client's sponsor buyer.
+ * (required)
+ * @param string $clientAccountId Numerical account ID of the client buyer that
+ * the user invitation to be retrieved is associated with. (required)
+ * @param string $invitationId Numerical identifier of the user invitation to
+ * retrieve. (required)
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyerII_ClientUserInvitation
+ */
+ public function get($accountId, $clientAccountId, $invitationId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId, 'invitationId' => $invitationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AdExchangeBuyerII_ClientUserInvitation");
+ }
+ /**
+ * Lists all the client users invitations for a client with a given account ID.
+ * (invitations.listAccountsClientsInvitations)
+ *
+ * @param string $accountId Numerical account ID of the client's sponsor buyer.
+ * (required)
+ * @param string $clientAccountId Numerical account ID of the client buyer to
+ * list invitations for. (required) You must either specify a string
+ * representation of a numerical account identifier or the `-` character to list
+ * all the invitations for all the clients of a given sponsor buyer.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A token identifying a page of results the server
+ * should return. Typically, this is the value of
+ * ListClientUserInvitationsResponse.nextPageToken returned from the previous
+ * call to the clients.invitations.list method.
+ * @opt_param int pageSize Requested page size. Server may return fewer clients
+ * than requested. If unspecified, server will pick an appropriate default.
+ * @return Google_Service_AdExchangeBuyerII_ListClientUserInvitationsResponse
+ */
+ public function listAccountsClientsInvitations($accountId, $clientAccountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListClientUserInvitationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsUsers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsUsers.php
new file mode 100644
index 00000000..a543d238
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsUsers.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
+ * $users = $adexchangebuyer2Service->users;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyerII_Resource_AccountsClientsUsers extends Google_Service_Resource
+{
+ /**
+ * Retrieves an existing client user. (users.get)
+ *
+ * @param string $accountId Numerical account ID of the client's sponsor buyer.
+ * (required)
+ * @param string $clientAccountId Numerical account ID of the client buyer that
+ * the user to be retrieved is associated with. (required)
+ * @param string $userId Numerical identifier of the user to retrieve.
+ * (required)
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyerII_ClientUser
+ */
+ public function get($accountId, $clientAccountId, $userId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AdExchangeBuyerII_ClientUser");
+ }
+ /**
+ * Lists all the known client users for a specified sponsor buyer account ID.
+ * (users.listAccountsClientsUsers)
+ *
+ * @param string $accountId Numerical account ID of the sponsor buyer of the
+ * client to list users for. (required)
+ * @param string $clientAccountId The account ID of the client buyer to list
+ * users for. (required) You must specify either a string representation of a
+ * numerical account identifier or the `-` character to list all the client
+ * users for all the clients of a given sponsor buyer.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A token identifying a page of results the server
+ * should return. Typically, this is the value of
+ * ListClientUsersResponse.nextPageToken returned from the previous call to the
+ * accounts.clients.users.list method.
+ * @opt_param int pageSize Requested page size. The server may return fewer
+ * clients than requested. If unspecified, the server will pick an appropriate
+ * default.
+ * @return Google_Service_AdExchangeBuyerII_ListClientUsersResponse
+ */
+ public function listAccountsClientsUsers($accountId, $clientAccountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListClientUsersResponse");
+ }
+ /**
+ * Updates an existing client user. Only the user status can be changed on
+ * update. (users.update)
+ *
+ * @param string $accountId Numerical account ID of the client's sponsor buyer.
+ * (required)
+ * @param string $clientAccountId Numerical account ID of the client buyer that
+ * the user to be retrieved is associated with. (required)
+ * @param string $userId Numerical identifier of the user to retrieve.
+ * (required)
+ * @param Google_Service_AdExchangeBuyerII_ClientUser $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyerII_ClientUser
+ */
+ public function update($accountId, $clientAccountId, $userId, Google_Service_AdExchangeBuyerII_ClientUser $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId, 'userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AdExchangeBuyerII_ClientUser");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreatives.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreatives.php
new file mode 100644
index 00000000..f4dc48c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreatives.php
@@ -0,0 +1,151 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "creatives" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
+ * $creatives = $adexchangebuyer2Service->creatives;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyerII_Resource_AccountsCreatives extends Google_Service_Resource
+{
+ /**
+ * Creates a creative. (creatives.create)
+ *
+ * @param string $accountId The account that this creative belongs to. Can be
+ * used to filter the response of the creatives.list method.
+ * @param Google_Service_AdExchangeBuyerII_Creative $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string duplicateIdMode Indicates if multiple creatives can share
+ * an ID or not. Default is NO_DUPLICATES (one ID per creative).
+ * @return Google_Service_AdExchangeBuyerII_Creative
+ */
+ public function create($accountId, Google_Service_AdExchangeBuyerII_Creative $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_AdExchangeBuyerII_Creative");
+ }
+ /**
+ * Gets a creative. (creatives.get)
+ *
+ * @param string $accountId The account the creative belongs to.
+ * @param string $creativeId The ID of the creative to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyerII_Creative
+ */
+ public function get($accountId, $creativeId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'creativeId' => $creativeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AdExchangeBuyerII_Creative");
+ }
+ /**
+ * Lists creatives. (creatives.listAccountsCreatives)
+ *
+ * @param string $accountId The account to list the creatives from. Specify "-"
+ * to list all creatives the current user has access to.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A token identifying a page of results the server
+ * should return. Typically, this is the value of
+ * ListCreativesResponse.next_page_token returned from the previous call to
+ * 'ListCreatives' method.
+ * @opt_param int pageSize Requested page size. The server may return fewer
+ * creatives than requested (due to timeout constraint) even if more are
+ * available via another call. If unspecified, server will pick an appropriate
+ * default. Acceptable values are 1 to 1000, inclusive.
+ * @opt_param string query An optional query string to filter creatives. If no
+ * filter is specified, all active creatives will be returned. Supported queries
+ * are:
+ *
+ * accountId=account_id_string creativeId=creative_id_string dealsStatus:
+ * {approved, conditionally_approved, disapproved,
+ * not_checked} openAuctionStatus: {approved, conditionally_approved,
+ * disapproved, not_checked} attribute: {a numeric
+ * attribute from the list of attributes} disapprovalReason: {a reason from
+ * DisapprovalReason
+ *
+ * Example: 'accountId=12345 AND (dealsStatus:disapproved AND
+ * disapprovalReason:unacceptable_content) OR attribute:47'
+ * @return Google_Service_AdExchangeBuyerII_ListCreativesResponse
+ */
+ public function listAccountsCreatives($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListCreativesResponse");
+ }
+ /**
+ * Stops watching a creative. Will stop push notifications being sent to the
+ * topics when the creative changes status. (creatives.stopWatching)
+ *
+ * @param string $accountId The account of the creative to stop notifications
+ * for.
+ * @param string $creativeId The creative ID of the creative to stop
+ * notifications for. Specify "-" to specify stopping account level
+ * notifications.
+ * @param Google_Service_AdExchangeBuyerII_StopWatchingCreativeRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty
+ */
+ public function stopWatching($accountId, $creativeId, Google_Service_AdExchangeBuyerII_StopWatchingCreativeRequest $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'creativeId' => $creativeId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('stopWatching', array($params), "Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty");
+ }
+ /**
+ * Updates a creative. (creatives.update)
+ *
+ * @param string $accountId The account that this creative belongs to. Can be
+ * used to filter the response of the creatives.list method.
+ * @param string $creativeId The buyer-defined creative ID of this creative. Can
+ * be used to filter the response of the creatives.list method.
+ * @param Google_Service_AdExchangeBuyerII_Creative $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyerII_Creative
+ */
+ public function update($accountId, $creativeId, Google_Service_AdExchangeBuyerII_Creative $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'creativeId' => $creativeId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AdExchangeBuyerII_Creative");
+ }
+ /**
+ * Watches a creative. Will result in push notifications being sent to the topic
+ * when the creative changes status. (creatives.watch)
+ *
+ * @param string $accountId The account of the creative to watch.
+ * @param string $creativeId The creative ID to watch for status changes.
+ * Specify "-" to watch all creatives under the above account. If both creative-
+ * level and account-level notifications are sent, only a single notification
+ * will be sent to the creative-level notification topic.
+ * @param Google_Service_AdExchangeBuyerII_WatchCreativeRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty
+ */
+ public function watch($accountId, $creativeId, Google_Service_AdExchangeBuyerII_WatchCreativeRequest $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'creativeId' => $creativeId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreativesDealAssociations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreativesDealAssociations.php
new file mode 100644
index 00000000..22ee0540
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreativesDealAssociations.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "dealAssociations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
+ * $dealAssociations = $adexchangebuyer2Service->dealAssociations;
+ * </code>
+ */
+class Google_Service_AdExchangeBuyerII_Resource_AccountsCreativesDealAssociations extends Google_Service_Resource
+{
+ /**
+ * Associate an existing deal with a creative. (dealAssociations.add)
+ *
+ * @param string $accountId The account the creative belongs to.
+ * @param string $creativeId The ID of the creative associated with the deal.
+ * @param Google_Service_AdExchangeBuyerII_AddDealAssociationRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty
+ */
+ public function add($accountId, $creativeId, Google_Service_AdExchangeBuyerII_AddDealAssociationRequest $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'creativeId' => $creativeId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('add', array($params), "Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty");
+ }
+ /**
+ * List all creative-deal associations.
+ * (dealAssociations.listAccountsCreativesDealAssociations)
+ *
+ * @param string $accountId The account to list the associations from. Specify
+ * "-" to list all creatives the current user has access to.
+ * @param string $creativeId The creative ID to list the associations from.
+ * Specify "-" to list all creatives under the above account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A token identifying a page of results the server
+ * should return. Typically, this is the value of
+ * ListDealAssociationsResponse.next_page_token returned from the previous call
+ * to 'ListDealAssociations' method.
+ * @opt_param int pageSize Requested page size. Server may return fewer
+ * associations than requested. If unspecified, server will pick an appropriate
+ * default.
+ * @opt_param string query An optional query string to filter deal associations.
+ * If no filter is specified, all associations will be returned. Supported
+ * queries are:
+ *
+ * accountId=account_id_string creativeId=creative_id_string
+ * dealsId=deals_id_string dealsStatus:{approved, conditionally_approved,
+ * disapproved, not_checked} openAuctionStatus:{approved,
+ * conditionally_approved, disapproved, not_checked}
+ *
+ * Example: 'dealsId=12345 AND dealsStatus:disapproved'
+ * @return Google_Service_AdExchangeBuyerII_ListDealAssociationsResponse
+ */
+ public function listAccountsCreativesDealAssociations($accountId, $creativeId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'creativeId' => $creativeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListDealAssociationsResponse");
+ }
+ /**
+ * Remove the association between a deal and a creative.
+ * (dealAssociations.remove)
+ *
+ * @param string $accountId The account the creative belongs to.
+ * @param string $creativeId The ID of the creative associated with the deal.
+ * @param Google_Service_AdExchangeBuyerII_RemoveDealAssociationRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty
+ */
+ public function remove($accountId, $creativeId, Google_Service_AdExchangeBuyerII_RemoveDealAssociationRequest $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'creativeId' => $creativeId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('remove', array($params), "Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/SecurityContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/SecurityContext.php
new file mode 100644
index 00000000..c82d1917
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/SecurityContext.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_SecurityContext extends Google_Collection
+{
+ protected $collection_key = 'securities';
+ public $securities;
+
+ public function setSecurities($securities)
+ {
+ $this->securities = $securities;
+ }
+ public function getSecurities()
+ {
+ return $this->securities;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ServingContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ServingContext.php
new file mode 100644
index 00000000..784fe232
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ServingContext.php
@@ -0,0 +1,80 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_ServingContext extends Google_Model
+{
+ public $all;
+ protected $appTypeType = 'Google_Service_AdExchangeBuyerII_AppContext';
+ protected $appTypeDataType = '';
+ protected $auctionTypeType = 'Google_Service_AdExchangeBuyerII_AuctionContext';
+ protected $auctionTypeDataType = '';
+ protected $locationType = 'Google_Service_AdExchangeBuyerII_LocationContext';
+ protected $locationDataType = '';
+ protected $platformType = 'Google_Service_AdExchangeBuyerII_PlatformContext';
+ protected $platformDataType = '';
+ protected $securityTypeType = 'Google_Service_AdExchangeBuyerII_SecurityContext';
+ protected $securityTypeDataType = '';
+
+ public function setAll($all)
+ {
+ $this->all = $all;
+ }
+ public function getAll()
+ {
+ return $this->all;
+ }
+ public function setAppType(Google_Service_AdExchangeBuyerII_AppContext $appType)
+ {
+ $this->appType = $appType;
+ }
+ public function getAppType()
+ {
+ return $this->appType;
+ }
+ public function setAuctionType(Google_Service_AdExchangeBuyerII_AuctionContext $auctionType)
+ {
+ $this->auctionType = $auctionType;
+ }
+ public function getAuctionType()
+ {
+ return $this->auctionType;
+ }
+ public function setLocation(Google_Service_AdExchangeBuyerII_LocationContext $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setPlatform(Google_Service_AdExchangeBuyerII_PlatformContext $platform)
+ {
+ $this->platform = $platform;
+ }
+ public function getPlatform()
+ {
+ return $this->platform;
+ }
+ public function setSecurityType(Google_Service_AdExchangeBuyerII_SecurityContext $securityType)
+ {
+ $this->securityType = $securityType;
+ }
+ public function getSecurityType()
+ {
+ return $this->securityType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ServingRestriction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ServingRestriction.php
new file mode 100644
index 00000000..07684683
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ServingRestriction.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_ServingRestriction extends Google_Collection
+{
+ protected $collection_key = 'disapprovalReasons';
+ protected $contextsType = 'Google_Service_AdExchangeBuyerII_ServingContext';
+ protected $contextsDataType = 'array';
+ protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyerII_Disapproval';
+ protected $disapprovalReasonsDataType = 'array';
+ public $status;
+
+ public function setContexts($contexts)
+ {
+ $this->contexts = $contexts;
+ }
+ public function getContexts()
+ {
+ return $this->contexts;
+ }
+ public function setDisapprovalReasons($disapprovalReasons)
+ {
+ $this->disapprovalReasons = $disapprovalReasons;
+ }
+ public function getDisapprovalReasons()
+ {
+ return $this->disapprovalReasons;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/StopWatchingCreativeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/StopWatchingCreativeRequest.php
new file mode 100644
index 00000000..5b0c31ba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/StopWatchingCreativeRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_StopWatchingCreativeRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/VideoContent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/VideoContent.php
new file mode 100644
index 00000000..9a978e24
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/VideoContent.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_VideoContent extends Google_Model
+{
+ public $videoUrl;
+
+ public function setVideoUrl($videoUrl)
+ {
+ $this->videoUrl = $videoUrl;
+ }
+ public function getVideoUrl()
+ {
+ return $this->videoUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/WatchCreativeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/WatchCreativeRequest.php
new file mode 100644
index 00000000..f92ea705
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/WatchCreativeRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeBuyerII_WatchCreativeRequest extends Google_Model
+{
+ public $topic;
+
+ public function setTopic($topic)
+ {
+ $this->topic = $topic;
+ }
+ public function getTopic()
+ {
+ return $this->topic;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller.php
new file mode 100644
index 00000000..278069cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller.php
@@ -0,0 +1,428 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Accesses the inventory of Ad Exchange seller users and generates 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 Google_Service_AdExchangeSeller extends 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'adexchangeseller/v2.0/';
+ $this->version = 'v2.0';
+ $this->serviceName = 'adexchangeseller';
+
+ $this->accounts = new Google_Service_AdExchangeSeller_Resource_Accounts(
+ $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(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_adclients = new Google_Service_AdExchangeSeller_Resource_AccountsAdclients(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_alerts = new Google_Service_AdExchangeSeller_Resource_AccountsAlerts(
+ $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 Google_Service_AdExchangeSeller_Resource_AccountsCustomchannels(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_metadata_dimensions = new Google_Service_AdExchangeSeller_Resource_AccountsMetadataDimensions(
+ $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 Google_Service_AdExchangeSeller_Resource_AccountsMetadataMetrics(
+ $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 Google_Service_AdExchangeSeller_Resource_AccountsPreferreddeals(
+ $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 Google_Service_AdExchangeSeller_Resource_AccountsReports(
+ $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,
+ ),
+ 'dimension' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'metric' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_reports_saved = new Google_Service_AdExchangeSeller_Resource_AccountsReportsSaved(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/reports/saved',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_urlchannels = new Google_Service_AdExchangeSeller_Resource_AccountsUrlchannels(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Account.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Account.php
new file mode 100644
index 00000000..c5380f0c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Account.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_Account extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Accounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Accounts.php
new file mode 100644
index 00000000..678e0c89
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Accounts.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_Accounts extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/AdClient.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/AdClient.php
new file mode 100644
index 00000000..97bc8934
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/AdClient.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_AdClient extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/AdClients.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/AdClients.php
new file mode 100644
index 00000000..0577fb07
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/AdClients.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_AdClients extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Alert.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Alert.php
new file mode 100644
index 00000000..798496c2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Alert.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_Alert extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Alerts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Alerts.php
new file mode 100644
index 00000000..902f261f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Alerts.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_Alerts extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannel.php
new file mode 100644
index 00000000..016dbc9f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannel.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_CustomChannel extends Google_Model
+{
+ public $code;
+ public $id;
+ public $kind;
+ public $name;
+ protected $targetingInfoType = '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(Google_Service_AdExchangeSeller_CustomChannelTargetingInfo $targetingInfo)
+ {
+ $this->targetingInfo = $targetingInfo;
+ }
+ public function getTargetingInfo()
+ {
+ return $this->targetingInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannelTargetingInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannelTargetingInfo.php
new file mode 100644
index 00000000..a0f43d70
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannelTargetingInfo.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_CustomChannelTargetingInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannels.php
new file mode 100644
index 00000000..53a0aa08
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannels.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_CustomChannels extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Metadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Metadata.php
new file mode 100644
index 00000000..87f064a3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Metadata.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_Metadata extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/PreferredDeal.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/PreferredDeal.php
new file mode 100644
index 00000000..bdbf73fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/PreferredDeal.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_PreferredDeal extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/PreferredDeals.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/PreferredDeals.php
new file mode 100644
index 00000000..b50fbf63
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/PreferredDeals.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_PreferredDeals extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Report.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Report.php
new file mode 100644
index 00000000..9ee73d77
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Report.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_Report extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $averages;
+ protected $headersType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/ReportHeaders.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/ReportHeaders.php
new file mode 100644
index 00000000..0321c042
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/ReportHeaders.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_ReportHeaders extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/ReportingMetadataEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/ReportingMetadataEntry.php
new file mode 100644
index 00000000..c8b90c46
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/ReportingMetadataEntry.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_ReportingMetadataEntry extends Google_Collection
+{
+ protected $collection_key = 'supportedProducts';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/Accounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/Accounts.php
new file mode 100644
index 00000000..a107fbae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/Accounts.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
+ * $accounts = $adexchangesellerService->accounts;
+ * </code>
+ */
+class Google_Service_AdExchangeSeller_Resource_Accounts extends 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 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), "Google_Service_AdExchangeSeller_Account");
+ }
+ /**
+ * List all accounts available to this Ad Exchange account.
+ * (accounts.listAccounts)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults The maximum number of accounts to include in the
+ * response, used for paging.
+ * @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.
+ * @return Google_Service_AdExchangeSeller_Accounts
+ */
+ public function listAccounts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Accounts");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsAdclients.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsAdclients.php
new file mode 100644
index 00000000..af4a9489
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsAdclients.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "adclients" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
+ * $adclients = $adexchangesellerService->adclients;
+ * </code>
+ */
+class Google_Service_AdExchangeSeller_Resource_AccountsAdclients extends 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 maxResults The maximum number of ad clients to include in
+ * the response, used for paging.
+ * @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.
+ * @return 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), "Google_Service_AdExchangeSeller_AdClients");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsAlerts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsAlerts.php
new file mode 100644
index 00000000..66ab285e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsAlerts.php
@@ -0,0 +1,45 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "alerts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
+ * $alerts = $adexchangesellerService->alerts;
+ * </code>
+ */
+class Google_Service_AdExchangeSeller_Resource_AccountsAlerts extends 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 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), "Google_Service_AdExchangeSeller_Alerts");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsCustomchannels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsCustomchannels.php
new file mode 100644
index 00000000..8b23fc2e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsCustomchannels.php
@@ -0,0 +1,65 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "customchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
+ * $customchannels = $adexchangesellerService->customchannels;
+ * </code>
+ */
+class Google_Service_AdExchangeSeller_Resource_AccountsCustomchannels extends 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 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), "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 maxResults The maximum number of custom channels to include
+ * in the response, used for paging.
+ * @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.
+ * @return 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), "Google_Service_AdExchangeSeller_CustomChannels");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadata.php
new file mode 100644
index 00000000..55e090a3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadata.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "metadata" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
+ * $metadata = $adexchangesellerService->metadata;
+ * </code>
+ */
+class Google_Service_AdExchangeSeller_Resource_AccountsMetadata extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadataDimensions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadataDimensions.php
new file mode 100644
index 00000000..197fc8dd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadataDimensions.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "dimensions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
+ * $dimensions = $adexchangesellerService->dimensions;
+ * </code>
+ */
+class Google_Service_AdExchangeSeller_Resource_AccountsMetadataDimensions extends 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 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), "Google_Service_AdExchangeSeller_Metadata");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadataMetrics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadataMetrics.php
new file mode 100644
index 00000000..90aa3968
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadataMetrics.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "metrics" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
+ * $metrics = $adexchangesellerService->metrics;
+ * </code>
+ */
+class Google_Service_AdExchangeSeller_Resource_AccountsMetadataMetrics extends 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 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), "Google_Service_AdExchangeSeller_Metadata");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsPreferreddeals.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsPreferreddeals.php
new file mode 100644
index 00000000..91daee92
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsPreferreddeals.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "preferreddeals" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
+ * $preferreddeals = $adexchangesellerService->preferreddeals;
+ * </code>
+ */
+class Google_Service_AdExchangeSeller_Resource_AccountsPreferreddeals extends 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 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), "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 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), "Google_Service_AdExchangeSeller_PreferredDeals");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsReports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsReports.php
new file mode 100644
index 00000000..33c70e59
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsReports.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
+ * $reports = $adexchangesellerService->reports;
+ * </code>
+ */
+class Google_Service_AdExchangeSeller_Resource_AccountsReports extends 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 dimension Dimensions to base the report on.
+ * @opt_param string filter Filters to be run on the report.
+ * @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 maxResults The maximum number of rows of report data to
+ * return.
+ * @opt_param string metric Numeric columns to include in the report.
+ * @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 startIndex Index of the first row of report data to return.
+ * @return 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), "Google_Service_AdExchangeSeller_Report");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsReportsSaved.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsReportsSaved.php
new file mode 100644
index 00000000..8a0441c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsReportsSaved.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "saved" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
+ * $saved = $adexchangesellerService->saved;
+ * </code>
+ */
+class Google_Service_AdExchangeSeller_Resource_AccountsReportsSaved extends 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 maxResults The maximum number of rows of report data to
+ * return.
+ * @opt_param int startIndex Index of the first row of report data to return.
+ * @return 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), "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 int maxResults The maximum number of saved reports to include in
+ * the response, used for paging.
+ * @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.
+ * @return 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), "Google_Service_AdExchangeSeller_SavedReports");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsUrlchannels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsUrlchannels.php
new file mode 100644
index 00000000..13a9106a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsUrlchannels.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "urlchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
+ * $urlchannels = $adexchangesellerService->urlchannels;
+ * </code>
+ */
+class Google_Service_AdExchangeSeller_Resource_AccountsUrlchannels extends 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 maxResults The maximum number of URL channels to include in
+ * the response, used for paging.
+ * @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.
+ * @return 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), "Google_Service_AdExchangeSeller_UrlChannels");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReport.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReport.php
new file mode 100644
index 00000000..8dfa6cb4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReport.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_SavedReport extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReports.php
new file mode 100644
index 00000000..c20cabc3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReports.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_SavedReports extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/UrlChannel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/UrlChannel.php
new file mode 100644
index 00000000..645b6fca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/UrlChannel.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_UrlChannel extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/UrlChannels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/UrlChannels.php
new file mode 100644
index 00000000..7b1b39a8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/UrlChannels.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdExchangeSeller_UrlChannels extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense.php
new file mode 100644
index 00000000..8463904c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense.php
@@ -0,0 +1,1060 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Accesses AdSense publishers' inventory and generates performance 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 Google_Service_AdSense extends 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'adsense/v1.4/';
+ $this->version = 'v1.4';
+ $this->serviceName = 'adsense';
+
+ $this->accounts = new Google_Service_AdSense_Resource_Accounts(
+ $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(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_adclients = new Google_Service_AdSense_Resource_AccountsAdclients(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_adunits = new Google_Service_AdSense_Resource_AccountsAdunits(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_adunits_customchannels = new Google_Service_AdSense_Resource_AccountsAdunitsCustomchannels(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_alerts = new Google_Service_AdSense_Resource_AccountsAlerts(
+ $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 Google_Service_AdSense_Resource_AccountsCustomchannels(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_customchannels_adunits = new Google_Service_AdSense_Resource_AccountsCustomchannelsAdunits(
+ $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 Google_Service_AdSense_Resource_AccountsPayments(
+ $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 Google_Service_AdSense_Resource_AccountsReports(
+ $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,
+ ),
+ 'currency' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'dimension' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'metric' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'useTimezoneReporting' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_reports_saved = new Google_Service_AdSense_Resource_AccountsReportsSaved(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/reports/saved',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_savedadstyles = new Google_Service_AdSense_Resource_AccountsSavedadstyles(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_urlchannels = new Google_Service_AdSense_Resource_AccountsUrlchannels(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->adclients = new Google_Service_AdSense_Resource_Adclients(
+ $this,
+ $this->serviceName,
+ 'adclients',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'adclients',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->adunits = new Google_Service_AdSense_Resource_Adunits(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->adunits_customchannels = new Google_Service_AdSense_Resource_AdunitsCustomchannels(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->alerts = new Google_Service_AdSense_Resource_Alerts(
+ $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 Google_Service_AdSense_Resource_Customchannels(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->customchannels_adunits = new Google_Service_AdSense_Resource_CustomchannelsAdunits(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->metadata_dimensions = new Google_Service_AdSense_Resource_MetadataDimensions(
+ $this,
+ $this->serviceName,
+ 'dimensions',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'metadata/dimensions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->metadata_metrics = new Google_Service_AdSense_Resource_MetadataMetrics(
+ $this,
+ $this->serviceName,
+ 'metrics',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'metadata/metrics',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->payments = new Google_Service_AdSense_Resource_Payments(
+ $this,
+ $this->serviceName,
+ 'payments',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'payments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->reports = new Google_Service_AdSense_Resource_Reports(
+ $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,
+ ),
+ 'accountId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'currency' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'dimension' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'metric' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'useTimezoneReporting' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reports_saved = new Google_Service_AdSense_Resource_ReportsSaved(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'reports/saved',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->savedadstyles = new Google_Service_AdSense_Resource_Savedadstyles(
+ $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(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->urlchannels = new Google_Service_AdSense_Resource_Urlchannels(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Account.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Account.php
new file mode 100644
index 00000000..a627aa78
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Account.php
@@ -0,0 +1,89 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_Account extends Google_Collection
+{
+ protected $collection_key = 'subAccounts';
+ protected $internal_gapi_mappings = array(
+ "creationTime" => "creation_time",
+ );
+ public $creationTime;
+ public $id;
+ public $kind;
+ public $name;
+ public $premium;
+ protected $subAccountsType = 'Google_Service_AdSense_Account';
+ protected $subAccountsDataType = 'array';
+ public $timezone;
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Accounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Accounts.php
new file mode 100644
index 00000000..b7a3d6b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Accounts.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_Accounts extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdClient.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdClient.php
new file mode 100644
index 00000000..c34218f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdClient.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_AdClient extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdClients.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdClients.php
new file mode 100644
index 00000000..4347876e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdClients.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_AdClients extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdCode.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdCode.php
new file mode 100644
index 00000000..2efb9d6b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdCode.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_AdCode extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyle.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyle.php
new file mode 100644
index 00000000..491c2a46
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyle.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_AdStyle extends Google_Model
+{
+ protected $colorsType = 'Google_Service_AdSense_AdStyleColors';
+ protected $colorsDataType = '';
+ public $corners;
+ protected $fontType = 'Google_Service_AdSense_AdStyleFont';
+ protected $fontDataType = '';
+ public $kind;
+
+ public function setColors(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyleColors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyleColors.php
new file mode 100644
index 00000000..a844ccf9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyleColors.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_AdStyleColors extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyleFont.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyleFont.php
new file mode 100644
index 00000000..9dfc83f1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyleFont.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_AdStyleFont extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnit.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnit.php
new file mode 100644
index 00000000..53466f58
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnit.php
@@ -0,0 +1,115 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_AdUnit extends Google_Model
+{
+ public $code;
+ protected $contentAdsSettingsType = 'Google_Service_AdSense_AdUnitContentAdsSettings';
+ protected $contentAdsSettingsDataType = '';
+ protected $customStyleType = 'Google_Service_AdSense_AdStyle';
+ protected $customStyleDataType = '';
+ protected $feedAdsSettingsType = 'Google_Service_AdSense_AdUnitFeedAdsSettings';
+ protected $feedAdsSettingsDataType = '';
+ public $id;
+ public $kind;
+ protected $mobileContentAdsSettingsType = '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(Google_Service_AdSense_AdUnitContentAdsSettings $contentAdsSettings)
+ {
+ $this->contentAdsSettings = $contentAdsSettings;
+ }
+ public function getContentAdsSettings()
+ {
+ return $this->contentAdsSettings;
+ }
+ public function setCustomStyle(Google_Service_AdSense_AdStyle $customStyle)
+ {
+ $this->customStyle = $customStyle;
+ }
+ public function getCustomStyle()
+ {
+ return $this->customStyle;
+ }
+ public function setFeedAdsSettings(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettings.php
new file mode 100644
index 00000000..ecbd2198
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettings.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_AdUnitContentAdsSettings extends Google_Model
+{
+ protected $backupOptionType = 'Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption';
+ protected $backupOptionDataType = '';
+ public $size;
+ public $type;
+
+ public function setBackupOption(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettingsBackupOption.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettingsBackupOption.php
new file mode 100644
index 00000000..8c3824b4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettingsBackupOption.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitFeedAdsSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitFeedAdsSettings.php
new file mode 100644
index 00000000..8c5f5a41
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitFeedAdsSettings.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_AdUnitFeedAdsSettings extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitMobileContentAdsSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitMobileContentAdsSettings.php
new file mode 100644
index 00000000..892d83a8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitMobileContentAdsSettings.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_AdUnitMobileContentAdsSettings extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnits.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnits.php
new file mode 100644
index 00000000..ab16767c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnits.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_AdUnits extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponse.php
new file mode 100644
index 00000000..61d16a5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponse.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_AdsenseReportsGenerateResponse extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $averages;
+ public $endDate;
+ protected $headersType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponseHeaders.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponseHeaders.php
new file mode 100644
index 00000000..4fc41d2e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponseHeaders.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Alert.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Alert.php
new file mode 100644
index 00000000..14a4748d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Alert.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_Alert extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Alerts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Alerts.php
new file mode 100644
index 00000000..04f38a45
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Alerts.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_Alerts extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannel.php
new file mode 100644
index 00000000..2d3c7ec3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannel.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_CustomChannel extends Google_Model
+{
+ public $code;
+ public $id;
+ public $kind;
+ public $name;
+ protected $targetingInfoType = '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(Google_Service_AdSense_CustomChannelTargetingInfo $targetingInfo)
+ {
+ $this->targetingInfo = $targetingInfo;
+ }
+ public function getTargetingInfo()
+ {
+ return $this->targetingInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannelTargetingInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannelTargetingInfo.php
new file mode 100644
index 00000000..d37a7c0c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannelTargetingInfo.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_CustomChannelTargetingInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannels.php
new file mode 100644
index 00000000..3897f99b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannels.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_CustomChannels extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Metadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Metadata.php
new file mode 100644
index 00000000..3234c015
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Metadata.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_Metadata extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Payment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Payment.php
new file mode 100644
index 00000000..577ab302
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Payment.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_Payment extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Payments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Payments.php
new file mode 100644
index 00000000..2aad94f1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Payments.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_Payments extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/ReportingMetadataEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/ReportingMetadataEntry.php
new file mode 100644
index 00000000..8919b1a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/ReportingMetadataEntry.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_ReportingMetadataEntry extends Google_Collection
+{
+ protected $collection_key = 'supportedProducts';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Accounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Accounts.php
new file mode 100644
index 00000000..dd310359
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Accounts.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $accounts = $adsenseService->accounts;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_Accounts extends 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 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), "Google_Service_AdSense_Account");
+ }
+ /**
+ * List all accounts available to this AdSense account. (accounts.listAccounts)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults The maximum number of accounts to include in the
+ * response, used for paging.
+ * @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.
+ * @return Google_Service_AdSense_Accounts
+ */
+ public function listAccounts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdSense_Accounts");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdclients.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdclients.php
new file mode 100644
index 00000000..0d204e62
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdclients.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "adclients" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $adclients = $adsenseService->adclients;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_AccountsAdclients extends 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 int maxResults The maximum number of ad clients to include in the
+ * response, used for paging.
+ * @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.
+ * @return 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), "Google_Service_AdSense_AdClients");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunits.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunits.php
new file mode 100644
index 00000000..5e51d4bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunits.php
@@ -0,0 +1,82 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "adunits" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $adunits = $adsenseService->adunits;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_AccountsAdunits extends 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 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), "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 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), "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 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 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), "Google_Service_AdSense_AdUnits");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunitsCustomchannels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunitsCustomchannels.php
new file mode 100644
index 00000000..8d3dc90a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunitsCustomchannels.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "customchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $customchannels = $adsenseService->customchannels;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_AccountsAdunitsCustomchannels extends 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 int maxResults The maximum number of custom channels to include in
+ * the response, used for paging.
+ * @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.
+ * @return 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), "Google_Service_AdSense_CustomChannels");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAlerts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAlerts.php
new file mode 100644
index 00000000..da9daf6f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAlerts.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "alerts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $alerts = $adsenseService->alerts;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_AccountsAlerts extends 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 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), "Google_Service_AdSense_Alerts");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannels.php
new file mode 100644
index 00000000..1dd90824
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannels.php
@@ -0,0 +1,65 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "customchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $customchannels = $adsenseService->customchannels;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_AccountsCustomchannels extends 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 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), "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 int maxResults The maximum number of custom channels to include in
+ * the response, used for paging.
+ * @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.
+ * @return 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), "Google_Service_AdSense_CustomChannels");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannelsAdunits.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannelsAdunits.php
new file mode 100644
index 00000000..846bee58
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannelsAdunits.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "adunits" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $adunits = $adsenseService->adunits;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_AccountsCustomchannelsAdunits extends 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 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), "Google_Service_AdSense_AdUnits");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsPayments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsPayments.php
new file mode 100644
index 00000000..56e18873
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsPayments.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "payments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $payments = $adsenseService->payments;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_AccountsPayments extends 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 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), "Google_Service_AdSense_Payments");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReports.php
new file mode 100644
index 00000000..22f0709c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReports.php
@@ -0,0 +1,64 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $reports = $adsenseService->reports;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_AccountsReports extends 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 currency Optional currency to use when reporting on
+ * monetary metrics. Defaults to the account's currency if not set.
+ * @opt_param string dimension Dimensions to base the report on.
+ * @opt_param string filter Filters to be run on the report.
+ * @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 maxResults The maximum number of rows of report data to
+ * return.
+ * @opt_param string metric Numeric columns to include in the report.
+ * @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 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.
+ * @return 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), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReportsSaved.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReportsSaved.php
new file mode 100644
index 00000000..1dca5377
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReportsSaved.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "saved" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $saved = $adsenseService->saved;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_AccountsReportsSaved extends 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 maxResults The maximum number of rows of report data to
+ * return.
+ * @opt_param int startIndex Index of the first row of report data to return.
+ * @return 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), "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 int maxResults The maximum number of saved reports to include in
+ * the response, used for paging.
+ * @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.
+ * @return 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), "Google_Service_AdSense_SavedReports");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsSavedadstyles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsSavedadstyles.php
new file mode 100644
index 00000000..a33cc2d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsSavedadstyles.php
@@ -0,0 +1,62 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "savedadstyles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $savedadstyles = $adsenseService->savedadstyles;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_AccountsSavedadstyles extends 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 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), "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 int maxResults The maximum number of saved ad styles to include in
+ * the response, used for paging.
+ * @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.
+ * @return 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), "Google_Service_AdSense_SavedAdStyles");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsUrlchannels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsUrlchannels.php
new file mode 100644
index 00000000..82b9cf19
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsUrlchannels.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "urlchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $urlchannels = $adsenseService->urlchannels;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_AccountsUrlchannels extends 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 int maxResults The maximum number of URL channels to include in
+ * the response, used for paging.
+ * @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.
+ * @return 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), "Google_Service_AdSense_UrlChannels");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Adclients.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Adclients.php
new file mode 100644
index 00000000..3d22182a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Adclients.php
@@ -0,0 +1,46 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "adclients" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $adclients = $adsenseService->adclients;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_Adclients extends Google_Service_Resource
+{
+ /**
+ * List all ad clients in this AdSense account. (adclients.listAdclients)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults The maximum number of ad clients to include in the
+ * response, used for paging.
+ * @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.
+ * @return Google_Service_AdSense_AdClients
+ */
+ public function listAdclients($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdSense_AdClients");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Adunits.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Adunits.php
new file mode 100644
index 00000000..38f7b060
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Adunits.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "adunits" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $adunits = $adsenseService->adunits;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_Adunits extends 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 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), "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 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), "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 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 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), "Google_Service_AdSense_AdUnits");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AdunitsCustomchannels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AdunitsCustomchannels.php
new file mode 100644
index 00000000..8c32cfe0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AdunitsCustomchannels.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "customchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $customchannels = $adsenseService->customchannels;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_AdunitsCustomchannels extends 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 int maxResults The maximum number of custom channels to include in
+ * the response, used for paging.
+ * @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.
+ * @return 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), "Google_Service_AdSense_CustomChannels");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Alerts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Alerts.php
new file mode 100644
index 00000000..5c2c5934
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Alerts.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "alerts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $alerts = $adsenseService->alerts;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_Alerts extends 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 Google_Service_AdSense_Alerts
+ */
+ public function listAlerts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdSense_Alerts");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Customchannels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Customchannels.php
new file mode 100644
index 00000000..0c0cda9a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Customchannels.php
@@ -0,0 +1,63 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "customchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $customchannels = $adsenseService->customchannels;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_Customchannels extends 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 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), "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 int maxResults The maximum number of custom channels to include in
+ * the response, used for paging.
+ * @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.
+ * @return 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), "Google_Service_AdSense_CustomChannels");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/CustomchannelsAdunits.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/CustomchannelsAdunits.php
new file mode 100644
index 00000000..0fe22624
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/CustomchannelsAdunits.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "adunits" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $adunits = $adsenseService->adunits;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_CustomchannelsAdunits extends 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 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 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), "Google_Service_AdSense_AdUnits");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Metadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Metadata.php
new file mode 100644
index 00000000..9bbfef60
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Metadata.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "metadata" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $metadata = $adsenseService->metadata;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_Metadata extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataDimensions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataDimensions.php
new file mode 100644
index 00000000..1e72c608
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataDimensions.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "dimensions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $dimensions = $adsenseService->dimensions;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_MetadataDimensions extends Google_Service_Resource
+{
+ /**
+ * List the metadata for the dimensions available to this AdSense account.
+ * (dimensions.listMetadataDimensions)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdSense_Metadata
+ */
+ public function listMetadataDimensions($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdSense_Metadata");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataMetrics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataMetrics.php
new file mode 100644
index 00000000..c8cc4205
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataMetrics.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "metrics" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $metrics = $adsenseService->metrics;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_MetadataMetrics extends Google_Service_Resource
+{
+ /**
+ * List the metadata for the metrics available to this AdSense account.
+ * (metrics.listMetadataMetrics)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdSense_Metadata
+ */
+ public function listMetadataMetrics($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdSense_Metadata");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Payments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Payments.php
new file mode 100644
index 00000000..0818c239
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Payments.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "payments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $payments = $adsenseService->payments;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_Payments extends Google_Service_Resource
+{
+ /**
+ * List the payments for this AdSense account. (payments.listPayments)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdSense_Payments
+ */
+ public function listPayments($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdSense_Payments");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Reports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Reports.php
new file mode 100644
index 00000000..499d980a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Reports.php
@@ -0,0 +1,64 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $reports = $adsenseService->reports;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_Reports extends 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 accountId Accounts upon which to 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 string dimension Dimensions to base the report on.
+ * @opt_param string filter Filters to be run on the report.
+ * @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 maxResults The maximum number of rows of report data to
+ * return.
+ * @opt_param string metric Numeric columns to include in the report.
+ * @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 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.
+ * @return 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), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/ReportsSaved.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/ReportsSaved.php
new file mode 100644
index 00000000..e65cfda0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/ReportsSaved.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "saved" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $saved = $adsenseService->saved;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_ReportsSaved extends 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 maxResults The maximum number of rows of report data to
+ * return.
+ * @opt_param int startIndex Index of the first row of report data to return.
+ * @return 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), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
+ }
+ /**
+ * List all saved reports in this AdSense account. (saved.listReportsSaved)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults The maximum number of saved reports to include in
+ * the response, used for paging.
+ * @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.
+ * @return Google_Service_AdSense_SavedReports
+ */
+ public function listReportsSaved($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdSense_SavedReports");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Savedadstyles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Savedadstyles.php
new file mode 100644
index 00000000..3a89624c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Savedadstyles.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "savedadstyles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $savedadstyles = $adsenseService->savedadstyles;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_Savedadstyles extends 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 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), "Google_Service_AdSense_SavedAdStyle");
+ }
+ /**
+ * List all saved ad styles in the user's account.
+ * (savedadstyles.listSavedadstyles)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults The maximum number of saved ad styles to include in
+ * the response, used for paging.
+ * @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.
+ * @return Google_Service_AdSense_SavedAdStyles
+ */
+ public function listSavedadstyles($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Urlchannels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Urlchannels.php
new file mode 100644
index 00000000..b937f2c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Urlchannels.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "urlchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Google_Service_AdSense(...);
+ * $urlchannels = $adsenseService->urlchannels;
+ * </code>
+ */
+class Google_Service_AdSense_Resource_Urlchannels extends 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 int maxResults The maximum number of URL channels to include in
+ * the response, used for paging.
+ * @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.
+ * @return 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), "Google_Service_AdSense_UrlChannels");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyle.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyle.php
new file mode 100644
index 00000000..f568bd1f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyle.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_SavedAdStyle extends Google_Model
+{
+ protected $adStyleType = 'Google_Service_AdSense_AdStyle';
+ protected $adStyleDataType = '';
+ public $id;
+ public $kind;
+ public $name;
+
+ public function setAdStyle(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyles.php
new file mode 100644
index 00000000..478945cf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyles.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_SavedAdStyles extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedReport.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedReport.php
new file mode 100644
index 00000000..8baebb35
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedReport.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_SavedReport extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedReports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedReports.php
new file mode 100644
index 00000000..2d85c0be
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedReports.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_SavedReports extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/UrlChannel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/UrlChannel.php
new file mode 100644
index 00000000..a372506f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/UrlChannel.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_UrlChannel extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/UrlChannels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/UrlChannels.php
new file mode 100644
index 00000000..d5a3a6de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/UrlChannels.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSense_UrlChannels extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost.php
new file mode 100644
index 00000000..166525a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost.php
@@ -0,0 +1,630 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Generates performance reports, generates ad codes, and provides publisher
+ * management capabilities for AdSense Hosts.</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 Google_Service_AdSenseHost extends 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'adsensehost/v4.1/';
+ $this->version = 'v4.1';
+ $this->serviceName = 'adsensehost';
+
+ $this->accounts = new Google_Service_AdSenseHost_Resource_Accounts(
+ $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 Google_Service_AdSenseHost_Resource_AccountsAdclients(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_adunits = new Google_Service_AdSenseHost_Resource_AccountsAdunits(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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 Google_Service_AdSenseHost_Resource_AccountsReports(
+ $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,
+ ),
+ 'dimension' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'metric' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->adclients = new Google_Service_AdSenseHost_Resource_Adclients(
+ $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(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->associationsessions = new Google_Service_AdSenseHost_Resource_Associationsessions(
+ $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,
+ ),
+ 'userLocale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'websiteLocale' => 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 Google_Service_AdSenseHost_Resource_Customchannels(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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 Google_Service_AdSenseHost_Resource_Reports(
+ $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,
+ ),
+ 'dimension' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'metric' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->urlchannels = new Google_Service_AdSenseHost_Resource_Urlchannels(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Account.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Account.php
new file mode 100644
index 00000000..1c35144e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Account.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_Account extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Accounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Accounts.php
new file mode 100644
index 00000000..371aef17
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Accounts.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_Accounts extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdClient.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdClient.php
new file mode 100644
index 00000000..c8a1d5d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdClient.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_AdClient extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdClients.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdClients.php
new file mode 100644
index 00000000..6a80b166
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdClients.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_AdClients extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdCode.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdCode.php
new file mode 100644
index 00000000..939dcb1d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdCode.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_AdCode extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyle.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyle.php
new file mode 100644
index 00000000..f5bddbaf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyle.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_AdStyle extends Google_Model
+{
+ protected $colorsType = 'Google_Service_AdSenseHost_AdStyleColors';
+ protected $colorsDataType = '';
+ public $corners;
+ protected $fontType = 'Google_Service_AdSenseHost_AdStyleFont';
+ protected $fontDataType = '';
+ public $kind;
+
+ public function setColors(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyleColors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyleColors.php
new file mode 100644
index 00000000..dbe20cfb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyleColors.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_AdStyleColors extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyleFont.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyleFont.php
new file mode 100644
index 00000000..0d935b8f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyleFont.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_AdStyleFont extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnit.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnit.php
new file mode 100644
index 00000000..fee1e201
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnit.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_AdUnit extends Google_Model
+{
+ public $code;
+ protected $contentAdsSettingsType = 'Google_Service_AdSenseHost_AdUnitContentAdsSettings';
+ protected $contentAdsSettingsDataType = '';
+ protected $customStyleType = 'Google_Service_AdSenseHost_AdStyle';
+ protected $customStyleDataType = '';
+ public $id;
+ public $kind;
+ protected $mobileContentAdsSettingsType = '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(Google_Service_AdSenseHost_AdUnitContentAdsSettings $contentAdsSettings)
+ {
+ $this->contentAdsSettings = $contentAdsSettings;
+ }
+ public function getContentAdsSettings()
+ {
+ return $this->contentAdsSettings;
+ }
+ public function setCustomStyle(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitContentAdsSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitContentAdsSettings.php
new file mode 100644
index 00000000..4bd5d533
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitContentAdsSettings.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_AdUnitContentAdsSettings extends Google_Model
+{
+ protected $backupOptionType = 'Google_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption';
+ protected $backupOptionDataType = '';
+ public $size;
+ public $type;
+
+ public function setBackupOption(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitContentAdsSettingsBackupOption.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitContentAdsSettingsBackupOption.php
new file mode 100644
index 00000000..c4ca660c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitContentAdsSettingsBackupOption.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitMobileContentAdsSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitMobileContentAdsSettings.php
new file mode 100644
index 00000000..c50cdad2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitMobileContentAdsSettings.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnits.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnits.php
new file mode 100644
index 00000000..b528b0cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnits.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_AdUnits extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AssociationSession.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AssociationSession.php
new file mode 100644
index 00000000..4d346008
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AssociationSession.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_AssociationSession extends Google_Collection
+{
+ protected $collection_key = 'productCodes';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/CustomChannel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/CustomChannel.php
new file mode 100644
index 00000000..94f73abd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/CustomChannel.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_CustomChannel extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/CustomChannels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/CustomChannels.php
new file mode 100644
index 00000000..455be5ae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/CustomChannels.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_CustomChannels extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Report.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Report.php
new file mode 100644
index 00000000..94220fec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Report.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_Report extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $averages;
+ protected $headersType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/ReportHeaders.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/ReportHeaders.php
new file mode 100644
index 00000000..418e03fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/ReportHeaders.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_ReportHeaders extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Accounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Accounts.php
new file mode 100644
index 00000000..6256267b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Accounts.php
@@ -0,0 +1,55 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Google_Service_AdSenseHost(...);
+ * $accounts = $adsensehostService->accounts;
+ * </code>
+ */
+class Google_Service_AdSenseHost_Resource_Accounts extends 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 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), "Google_Service_AdSenseHost_Account");
+ }
+ /**
+ * List hosted accounts associated with this AdSense account by ad client id.
+ * (accounts.listAccounts)
+ *
+ * @param string|array $filterAdClientId Ad clients to list accounts for.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_AdSenseHost_Accounts");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsAdclients.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsAdclients.php
new file mode 100644
index 00000000..5eab0111
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsAdclients.php
@@ -0,0 +1,63 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "adclients" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Google_Service_AdSenseHost(...);
+ * $adclients = $adsensehostService->adclients;
+ * </code>
+ */
+class Google_Service_AdSenseHost_Resource_AccountsAdclients extends 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 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), "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 maxResults The maximum number of ad clients to include in
+ * the response, used for paging.
+ * @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.
+ * @return 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), "Google_Service_AdSenseHost_AdClients");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsAdunits.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsAdunits.php
new file mode 100644
index 00000000..b05f2bcd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsAdunits.php
@@ -0,0 +1,150 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "adunits" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Google_Service_AdSenseHost(...);
+ * $adunits = $adsensehostService->adunits;
+ * </code>
+ */
+class Google_Service_AdSenseHost_Resource_AccountsAdunits extends 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 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), "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 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), "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 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), "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 Google_Service_AdSenseHost_AdUnit $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdSenseHost_AdUnit
+ */
+ public function insert($accountId, $adClientId, 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), "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 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 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), "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 Google_Service_AdSenseHost_AdUnit $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdSenseHost_AdUnit
+ */
+ public function patch($accountId, $adClientId, $adUnitId, 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), "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 Google_Service_AdSenseHost_AdUnit $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdSenseHost_AdUnit
+ */
+ public function update($accountId, $adClientId, 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), "Google_Service_AdSenseHost_AdUnit");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsReports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsReports.php
new file mode 100644
index 00000000..0aa2ea79
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsReports.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Google_Service_AdSenseHost(...);
+ * $reports = $adsensehostService->reports;
+ * </code>
+ */
+class Google_Service_AdSenseHost_Resource_AccountsReports extends 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 dimension Dimensions to base the report on.
+ * @opt_param string filter Filters to be run on the report.
+ * @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 maxResults The maximum number of rows of report data to
+ * return.
+ * @opt_param string metric Numeric columns to include in the report.
+ * @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 startIndex Index of the first row of report data to return.
+ * @return 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), "Google_Service_AdSenseHost_Report");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Adclients.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Adclients.php
new file mode 100644
index 00000000..006abdfb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Adclients.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "adclients" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Google_Service_AdSenseHost(...);
+ * $adclients = $adsensehostService->adclients;
+ * </code>
+ */
+class Google_Service_AdSenseHost_Resource_Adclients extends 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 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), "Google_Service_AdSenseHost_AdClient");
+ }
+ /**
+ * List all host ad clients in this AdSense account. (adclients.listAdclients)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults The maximum number of ad clients to include in
+ * the response, used for paging.
+ * @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.
+ * @return Google_Service_AdSenseHost_AdClients
+ */
+ public function listAdclients($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdSenseHost_AdClients");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Associationsessions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Associationsessions.php
new file mode 100644
index 00000000..67a900aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Associationsessions.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "associationsessions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Google_Service_AdSenseHost(...);
+ * $associationsessions = $adsensehostService->associationsessions;
+ * </code>
+ */
+class Google_Service_AdSenseHost_Resource_Associationsessions extends Google_Service_Resource
+{
+ /**
+ * Create an association session for initiating an association with an AdSense
+ * user. (associationsessions.start)
+ *
+ * @param string|array $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 userLocale The preferred locale of the user.
+ * @opt_param string websiteLocale The locale of the user's hosted website.
+ * @return 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), "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 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), "Google_Service_AdSenseHost_AssociationSession");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Customchannels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Customchannels.php
new file mode 100644
index 00000000..75736e6a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Customchannels.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "customchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Google_Service_AdSenseHost(...);
+ * $customchannels = $adsensehostService->customchannels;
+ * </code>
+ */
+class Google_Service_AdSenseHost_Resource_Customchannels extends 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 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), "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 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), "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 Google_Service_AdSenseHost_CustomChannel $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdSenseHost_CustomChannel
+ */
+ public function insert($adClientId, Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 maxResults The maximum number of custom channels to include
+ * in the response, used for paging.
+ * @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.
+ * @return 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), "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 Google_Service_AdSenseHost_CustomChannel $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdSenseHost_CustomChannel
+ */
+ public function patch($adClientId, $customChannelId, 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), "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 Google_Service_AdSenseHost_CustomChannel $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdSenseHost_CustomChannel
+ */
+ public function update($adClientId, Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AdSenseHost_CustomChannel");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Reports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Reports.php
new file mode 100644
index 00000000..fa5522c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Reports.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Google_Service_AdSenseHost(...);
+ * $reports = $adsensehostService->reports;
+ * </code>
+ */
+class Google_Service_AdSenseHost_Resource_Reports extends 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 dimension Dimensions to base the report on.
+ * @opt_param string filter Filters to be run on the report.
+ * @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 maxResults The maximum number of rows of report data to
+ * return.
+ * @opt_param string metric Numeric columns to include in the report.
+ * @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 startIndex Index of the first row of report data to return.
+ * @return 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), "Google_Service_AdSenseHost_Report");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Urlchannels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Urlchannels.php
new file mode 100644
index 00000000..6a7cbcf4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Urlchannels.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "urlchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Google_Service_AdSenseHost(...);
+ * $urlchannels = $adsensehostService->urlchannels;
+ * </code>
+ */
+class Google_Service_AdSenseHost_Resource_Urlchannels extends 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 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), "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 Google_Service_AdSenseHost_UrlChannel $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdSenseHost_UrlChannel
+ */
+ public function insert($adClientId, Google_Service_AdSenseHost_UrlChannel $postBody, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 maxResults The maximum number of URL channels to include in
+ * the response, used for paging.
+ * @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.
+ * @return 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), "Google_Service_AdSenseHost_UrlChannels");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/UrlChannel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/UrlChannel.php
new file mode 100644
index 00000000..f58f23cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/UrlChannel.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_UrlChannel extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/UrlChannels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/UrlChannels.php
new file mode 100644
index 00000000..cc7338dc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/UrlChannels.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AdSenseHost_UrlChannels extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics.php
new file mode 100644
index 00000000..50a3b231
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics.php
@@ -0,0 +1,2103 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Views and manages 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 Google_Service_Analytics extends 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_customDimensions;
+ public $management_customMetrics;
+ public $management_experiments;
+ public $management_filters;
+ public $management_goals;
+ public $management_profileFilterLinks;
+ public $management_profileUserLinks;
+ public $management_profiles;
+ public $management_remarketingAudience;
+ 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'analytics/v3/';
+ $this->version = 'v3';
+ $this->serviceName = 'analytics';
+
+ $this->data_ga = new Google_Service_Analytics_Resource_DataGa(
+ $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,
+ ),
+ 'dimensions' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'include-empty-rows' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'output' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'samplingLevel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'segment' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->data_mcf = new Google_Service_Analytics_Resource_DataMcf(
+ $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,
+ ),
+ 'dimensions' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'samplingLevel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->data_realtime = new Google_Service_Analytics_Resource_DataRealtime(
+ $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,
+ ),
+ 'dimensions' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_accountSummaries = new Google_Service_Analytics_Resource_ManagementAccountSummaries(
+ $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 Google_Service_Analytics_Resource_ManagementAccountUserLinks(
+ $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 Google_Service_Analytics_Resource_ManagementAccounts(
+ $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 Google_Service_Analytics_Resource_ManagementCustomDataSources(
+ $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_customDimensions = new Google_Service_Analytics_Resource_ManagementCustomDimensions(
+ $this,
+ $this->serviceName,
+ 'customDimensions',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customDimensionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions',
+ '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}/customDimensions',
+ '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}/customDimensions/{customDimensionId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customDimensionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ignoreCustomDataSourceLinks' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customDimensionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ignoreCustomDataSourceLinks' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_customMetrics = new Google_Service_Analytics_Resource_ManagementCustomMetrics(
+ $this,
+ $this->serviceName,
+ 'customMetrics',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customMetricId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics',
+ '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}/customMetrics',
+ '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}/customMetrics/{customMetricId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customMetricId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ignoreCustomDataSourceLinks' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customMetricId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ignoreCustomDataSourceLinks' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_experiments = new Google_Service_Analytics_Resource_ManagementExperiments(
+ $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 Google_Service_Analytics_Resource_ManagementFilters(
+ $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 Google_Service_Analytics_Resource_ManagementGoals(
+ $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 Google_Service_Analytics_Resource_ManagementProfileFilterLinks(
+ $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 Google_Service_Analytics_Resource_ManagementProfileUserLinks(
+ $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 Google_Service_Analytics_Resource_ManagementProfiles(
+ $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_remarketingAudience = new Google_Service_Analytics_Resource_ManagementRemarketingAudience(
+ $this,
+ $this->serviceName,
+ 'remarketingAudience',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'remarketingAudienceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences',
+ '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}/remarketingAudiences',
+ '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',
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'remarketingAudienceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'remarketingAudienceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_segments = new Google_Service_Analytics_Resource_ManagementSegments(
+ $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 Google_Service_Analytics_Resource_ManagementUnsampledReports(
+ $this,
+ $this->serviceName,
+ 'unsampledReports',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}',
+ '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,
+ ),
+ 'unsampledReportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'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 Google_Service_Analytics_Resource_ManagementUploads(
+ $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',
+ ),
+ ),
+ ),'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 Google_Service_Analytics_Resource_ManagementWebPropertyAdWordsLinks(
+ $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 Google_Service_Analytics_Resource_ManagementWebproperties(
+ $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 Google_Service_Analytics_Resource_ManagementWebpropertyUserLinks(
+ $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 Google_Service_Analytics_Resource_MetadataColumns(
+ $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 Google_Service_Analytics_Resource_Provisioning(
+ $this,
+ $this->serviceName,
+ 'provisioning',
+ array(
+ 'methods' => array(
+ 'createAccountTicket' => array(
+ 'path' => 'provisioning/createAccountTicket',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Account.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Account.php
new file mode 100644
index 00000000..a6e19b91
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Account.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Account extends Google_Model
+{
+ protected $childLinkType = 'Google_Service_Analytics_AccountChildLink';
+ protected $childLinkDataType = '';
+ public $created;
+ public $id;
+ public $kind;
+ public $name;
+ protected $permissionsType = 'Google_Service_Analytics_AccountPermissions';
+ protected $permissionsDataType = '';
+ public $selfLink;
+ public $starred;
+ public $updated;
+
+ public function setChildLink(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(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 setStarred($starred)
+ {
+ $this->starred = $starred;
+ }
+ public function getStarred()
+ {
+ return $this->starred;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountChildLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountChildLink.php
new file mode 100644
index 00000000..06eba70b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountChildLink.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_AccountChildLink extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountPermissions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountPermissions.php
new file mode 100644
index 00000000..f2f34830
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountPermissions.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_AccountPermissions extends Google_Collection
+{
+ protected $collection_key = 'effective';
+ public $effective;
+
+ public function setEffective($effective)
+ {
+ $this->effective = $effective;
+ }
+ public function getEffective()
+ {
+ return $this->effective;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountRef.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountRef.php
new file mode 100644
index 00000000..b43e14e1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountRef.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_AccountRef extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountSummaries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountSummaries.php
new file mode 100644
index 00000000..0db22975
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountSummaries.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_AccountSummaries extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountSummary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountSummary.php
new file mode 100644
index 00000000..bf938539
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountSummary.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_AccountSummary extends Google_Collection
+{
+ protected $collection_key = 'webProperties';
+ public $id;
+ public $kind;
+ public $name;
+ public $starred;
+ protected $webPropertiesType = '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 setStarred($starred)
+ {
+ $this->starred = $starred;
+ }
+ public function getStarred()
+ {
+ return $this->starred;
+ }
+ public function setWebProperties($webProperties)
+ {
+ $this->webProperties = $webProperties;
+ }
+ public function getWebProperties()
+ {
+ return $this->webProperties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountTicket.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountTicket.php
new file mode 100644
index 00000000..97bf502f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountTicket.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_AccountTicket extends Google_Model
+{
+ protected $accountType = 'Google_Service_Analytics_Account';
+ protected $accountDataType = '';
+ public $id;
+ public $kind;
+ protected $profileType = 'Google_Service_Analytics_Profile';
+ protected $profileDataType = '';
+ public $redirectUri;
+ protected $webpropertyType = 'Google_Service_Analytics_Webproperty';
+ protected $webpropertyDataType = '';
+
+ public function setAccount(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(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(Google_Service_Analytics_Webproperty $webproperty)
+ {
+ $this->webproperty = $webproperty;
+ }
+ public function getWebproperty()
+ {
+ return $this->webproperty;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Accounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Accounts.php
new file mode 100644
index 00000000..1bf59275
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Accounts.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Accounts extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AdWordsAccount.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AdWordsAccount.php
new file mode 100644
index 00000000..e22d7b6c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AdWordsAccount.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_AdWordsAccount extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AnalyticsDataimportDeleteUploadDataRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AnalyticsDataimportDeleteUploadDataRequest.php
new file mode 100644
index 00000000..2bc12a96
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AnalyticsDataimportDeleteUploadDataRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends Google_Collection
+{
+ protected $collection_key = 'customDataImportUids';
+ public $customDataImportUids;
+
+ public function setCustomDataImportUids($customDataImportUids)
+ {
+ $this->customDataImportUids = $customDataImportUids;
+ }
+ public function getCustomDataImportUids()
+ {
+ return $this->customDataImportUids;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Column.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Column.php
new file mode 100644
index 00000000..a620de65
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Column.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Column extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Columns.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Columns.php
new file mode 100644
index 00000000..1dda1cad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Columns.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Columns extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $attributeNames;
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSource.php
new file mode 100644
index 00000000..cf04ad16
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSource.php
@@ -0,0 +1,159 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_CustomDataSource extends Google_Collection
+{
+ protected $collection_key = 'profilesLinked';
+ public $accountId;
+ protected $childLinkType = 'Google_Service_Analytics_CustomDataSourceChildLink';
+ protected $childLinkDataType = '';
+ public $created;
+ public $description;
+ public $id;
+ public $importBehavior;
+ public $kind;
+ public $name;
+ protected $parentLinkType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSourceChildLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSourceChildLink.php
new file mode 100644
index 00000000..3de24017
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSourceChildLink.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_CustomDataSourceChildLink extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSourceParentLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSourceParentLink.php
new file mode 100644
index 00000000..812076df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSourceParentLink.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_CustomDataSourceParentLink extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSources.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSources.php
new file mode 100644
index 00000000..b767ee8e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSources.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_CustomDataSources extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimension.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimension.php
new file mode 100644
index 00000000..f95183f7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimension.php
@@ -0,0 +1,130 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_CustomDimension extends Google_Model
+{
+ public $accountId;
+ public $active;
+ public $created;
+ public $id;
+ public $index;
+ public $kind;
+ public $name;
+ protected $parentLinkType = 'Google_Service_Analytics_CustomDimensionParentLink';
+ protected $parentLinkDataType = '';
+ public $scope;
+ public $selfLink;
+ public $updated;
+ 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 setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+ 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(Google_Service_Analytics_CustomDimensionParentLink $parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
+ public function getParentLink()
+ {
+ return $this->parentLink;
+ }
+ public function setScope($scope)
+ {
+ $this->scope = $scope;
+ }
+ public function getScope()
+ {
+ return $this->scope;
+ }
+ 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 setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimensionParentLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimensionParentLink.php
new file mode 100644
index 00000000..d64a579f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimensionParentLink.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_CustomDimensionParentLink extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimensions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimensions.php
new file mode 100644
index 00000000..548831d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimensions.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_CustomDimensions extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_Analytics_CustomDimension';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetric.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetric.php
new file mode 100644
index 00000000..9e11209b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetric.php
@@ -0,0 +1,161 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_CustomMetric extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "maxValue" => "max_value",
+ "minValue" => "min_value",
+ );
+ public $accountId;
+ public $active;
+ public $created;
+ public $id;
+ public $index;
+ public $kind;
+ public $maxValue;
+ public $minValue;
+ public $name;
+ protected $parentLinkType = 'Google_Service_Analytics_CustomMetricParentLink';
+ protected $parentLinkDataType = '';
+ public $scope;
+ public $selfLink;
+ public $type;
+ public $updated;
+ 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 setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+ 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 setParentLink(Google_Service_Analytics_CustomMetricParentLink $parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
+ public function getParentLink()
+ {
+ return $this->parentLink;
+ }
+ public function setScope($scope)
+ {
+ $this->scope = $scope;
+ }
+ public function getScope()
+ {
+ return $this->scope;
+ }
+ 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 setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetricParentLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetricParentLink.php
new file mode 100644
index 00000000..14f4ea6a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetricParentLink.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_CustomMetricParentLink extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetrics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetrics.php
new file mode 100644
index 00000000..c9758870
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetrics.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_CustomMetrics extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_Analytics_CustomMetric';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLink.php
new file mode 100644
index 00000000..aae8010f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLink.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_EntityAdWordsLink extends Google_Collection
+{
+ protected $collection_key = 'profileIds';
+ protected $adWordsAccountsType = 'Google_Service_Analytics_AdWordsAccount';
+ protected $adWordsAccountsDataType = 'array';
+ protected $entityType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLinkEntity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLinkEntity.php
new file mode 100644
index 00000000..e73e2dac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLinkEntity.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_EntityAdWordsLinkEntity extends Google_Model
+{
+ protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef';
+ protected $webPropertyRefDataType = '';
+
+ public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef)
+ {
+ $this->webPropertyRef = $webPropertyRef;
+ }
+ public function getWebPropertyRef()
+ {
+ return $this->webPropertyRef;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLinks.php
new file mode 100644
index 00000000..8f93d27a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLinks.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_EntityAdWordsLinks extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLink.php
new file mode 100644
index 00000000..6edfa12f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLink.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_EntityUserLink extends Google_Model
+{
+ protected $entityType = 'Google_Service_Analytics_EntityUserLinkEntity';
+ protected $entityDataType = '';
+ public $id;
+ public $kind;
+ protected $permissionsType = 'Google_Service_Analytics_EntityUserLinkPermissions';
+ protected $permissionsDataType = '';
+ public $selfLink;
+ protected $userRefType = 'Google_Service_Analytics_UserRef';
+ protected $userRefDataType = '';
+
+ public function setEntity(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(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(Google_Service_Analytics_UserRef $userRef)
+ {
+ $this->userRef = $userRef;
+ }
+ public function getUserRef()
+ {
+ return $this->userRef;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinkEntity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinkEntity.php
new file mode 100644
index 00000000..acae39c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinkEntity.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_EntityUserLinkEntity extends Google_Model
+{
+ protected $accountRefType = 'Google_Service_Analytics_AccountRef';
+ protected $accountRefDataType = '';
+ protected $profileRefType = 'Google_Service_Analytics_ProfileRef';
+ protected $profileRefDataType = '';
+ protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef';
+ protected $webPropertyRefDataType = '';
+
+ public function setAccountRef(Google_Service_Analytics_AccountRef $accountRef)
+ {
+ $this->accountRef = $accountRef;
+ }
+ public function getAccountRef()
+ {
+ return $this->accountRef;
+ }
+ public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef)
+ {
+ $this->profileRef = $profileRef;
+ }
+ public function getProfileRef()
+ {
+ return $this->profileRef;
+ }
+ public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef)
+ {
+ $this->webPropertyRef = $webPropertyRef;
+ }
+ public function getWebPropertyRef()
+ {
+ return $this->webPropertyRef;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinkPermissions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinkPermissions.php
new file mode 100644
index 00000000..3222e94a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinkPermissions.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_EntityUserLinkPermissions extends Google_Collection
+{
+ protected $collection_key = 'local';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinks.php
new file mode 100644
index 00000000..81cbefde
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinks.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_EntityUserLinks extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Experiment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Experiment.php
new file mode 100644
index 00000000..ef28448e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Experiment.php
@@ -0,0 +1,276 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Experiment extends Google_Collection
+{
+ protected $collection_key = 'variations';
+ 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 = '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 = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ExperimentParentLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ExperimentParentLink.php
new file mode 100644
index 00000000..bffe8ef6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ExperimentParentLink.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_ExperimentParentLink extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ExperimentVariations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ExperimentVariations.php
new file mode 100644
index 00000000..a5d8128a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ExperimentVariations.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_ExperimentVariations extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Experiments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Experiments.php
new file mode 100644
index 00000000..27936f61
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Experiments.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Experiments extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Filter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Filter.php
new file mode 100644
index 00000000..3a43445d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Filter.php
@@ -0,0 +1,163 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Filter extends Google_Model
+{
+ public $accountId;
+ protected $advancedDetailsType = 'Google_Service_Analytics_FilterAdvancedDetails';
+ protected $advancedDetailsDataType = '';
+ public $created;
+ protected $excludeDetailsType = 'Google_Service_Analytics_FilterExpression';
+ protected $excludeDetailsDataType = '';
+ public $id;
+ protected $includeDetailsType = 'Google_Service_Analytics_FilterExpression';
+ protected $includeDetailsDataType = '';
+ public $kind;
+ protected $lowercaseDetailsType = 'Google_Service_Analytics_FilterLowercaseDetails';
+ protected $lowercaseDetailsDataType = '';
+ public $name;
+ protected $parentLinkType = 'Google_Service_Analytics_FilterParentLink';
+ protected $parentLinkDataType = '';
+ protected $searchAndReplaceDetailsType = 'Google_Service_Analytics_FilterSearchAndReplaceDetails';
+ protected $searchAndReplaceDetailsDataType = '';
+ public $selfLink;
+ public $type;
+ public $updated;
+ protected $uppercaseDetailsType = 'Google_Service_Analytics_FilterUppercaseDetails';
+ protected $uppercaseDetailsDataType = '';
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdvancedDetails(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(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(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(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(Google_Service_Analytics_FilterParentLink $parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
+ public function getParentLink()
+ {
+ return $this->parentLink;
+ }
+ public function setSearchAndReplaceDetails(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(Google_Service_Analytics_FilterUppercaseDetails $uppercaseDetails)
+ {
+ $this->uppercaseDetails = $uppercaseDetails;
+ }
+ public function getUppercaseDetails()
+ {
+ return $this->uppercaseDetails;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterAdvancedDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterAdvancedDetails.php
new file mode 100644
index 00000000..a7ef11f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterAdvancedDetails.php
@@ -0,0 +1,138 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_FilterAdvancedDetails extends Google_Model
+{
+ public $caseSensitive;
+ public $extractA;
+ public $extractB;
+ public $fieldA;
+ public $fieldAIndex;
+ public $fieldARequired;
+ public $fieldB;
+ public $fieldBIndex;
+ public $fieldBRequired;
+ public $outputConstructor;
+ public $outputToField;
+ public $outputToFieldIndex;
+ 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 setFieldAIndex($fieldAIndex)
+ {
+ $this->fieldAIndex = $fieldAIndex;
+ }
+ public function getFieldAIndex()
+ {
+ return $this->fieldAIndex;
+ }
+ 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 setFieldBIndex($fieldBIndex)
+ {
+ $this->fieldBIndex = $fieldBIndex;
+ }
+ public function getFieldBIndex()
+ {
+ return $this->fieldBIndex;
+ }
+ 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 setOutputToFieldIndex($outputToFieldIndex)
+ {
+ $this->outputToFieldIndex = $outputToFieldIndex;
+ }
+ public function getOutputToFieldIndex()
+ {
+ return $this->outputToFieldIndex;
+ }
+ public function setOverrideOutputField($overrideOutputField)
+ {
+ $this->overrideOutputField = $overrideOutputField;
+ }
+ public function getOverrideOutputField()
+ {
+ return $this->overrideOutputField;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterExpression.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterExpression.php
new file mode 100644
index 00000000..2270c654
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterExpression.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_FilterExpression extends Google_Model
+{
+ public $caseSensitive;
+ public $expressionValue;
+ public $field;
+ public $fieldIndex;
+ 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 setFieldIndex($fieldIndex)
+ {
+ $this->fieldIndex = $fieldIndex;
+ }
+ public function getFieldIndex()
+ {
+ return $this->fieldIndex;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterLowercaseDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterLowercaseDetails.php
new file mode 100644
index 00000000..0e929524
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterLowercaseDetails.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_FilterLowercaseDetails extends Google_Model
+{
+ public $field;
+ public $fieldIndex;
+
+ public function setField($field)
+ {
+ $this->field = $field;
+ }
+ public function getField()
+ {
+ return $this->field;
+ }
+ public function setFieldIndex($fieldIndex)
+ {
+ $this->fieldIndex = $fieldIndex;
+ }
+ public function getFieldIndex()
+ {
+ return $this->fieldIndex;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterParentLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterParentLink.php
new file mode 100644
index 00000000..14663d3e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterParentLink.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_FilterParentLink extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterRef.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterRef.php
new file mode 100644
index 00000000..1a594e67
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterRef.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_FilterRef extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterSearchAndReplaceDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterSearchAndReplaceDetails.php
new file mode 100644
index 00000000..f74cfdab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterSearchAndReplaceDetails.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_FilterSearchAndReplaceDetails extends Google_Model
+{
+ public $caseSensitive;
+ public $field;
+ public $fieldIndex;
+ 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 setFieldIndex($fieldIndex)
+ {
+ $this->fieldIndex = $fieldIndex;
+ }
+ public function getFieldIndex()
+ {
+ return $this->fieldIndex;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterUppercaseDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterUppercaseDetails.php
new file mode 100644
index 00000000..41d6c3a0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterUppercaseDetails.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_FilterUppercaseDetails extends Google_Model
+{
+ public $field;
+ public $fieldIndex;
+
+ public function setField($field)
+ {
+ $this->field = $field;
+ }
+ public function getField()
+ {
+ return $this->field;
+ }
+ public function setFieldIndex($fieldIndex)
+ {
+ $this->fieldIndex = $fieldIndex;
+ }
+ public function getFieldIndex()
+ {
+ return $this->fieldIndex;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Filters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Filters.php
new file mode 100644
index 00000000..4058b930
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Filters.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Filters extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaData.php
new file mode 100644
index 00000000..5b8a9fe2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaData.php
@@ -0,0 +1,179 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_GaData extends Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $columnHeadersType = 'Google_Service_Analytics_GaDataColumnHeaders';
+ protected $columnHeadersDataType = 'array';
+ public $containsSampledData;
+ public $dataLastRefreshed;
+ protected $dataTableType = 'Google_Service_Analytics_GaDataDataTable';
+ protected $dataTableDataType = '';
+ public $id;
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ protected $profileInfoType = 'Google_Service_Analytics_GaDataProfileInfo';
+ protected $profileInfoDataType = '';
+ protected $queryType = '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 setDataLastRefreshed($dataLastRefreshed)
+ {
+ $this->dataLastRefreshed = $dataLastRefreshed;
+ }
+ public function getDataLastRefreshed()
+ {
+ return $this->dataLastRefreshed;
+ }
+ public function setDataTable(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(Google_Service_Analytics_GaDataProfileInfo $profileInfo)
+ {
+ $this->profileInfo = $profileInfo;
+ }
+ public function getProfileInfo()
+ {
+ return $this->profileInfo;
+ }
+ public function setQuery(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataColumnHeaders.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataColumnHeaders.php
new file mode 100644
index 00000000..4f05a9df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataColumnHeaders.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_GaDataColumnHeaders extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTable.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTable.php
new file mode 100644
index 00000000..8e9b5349
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTable.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_GaDataDataTable extends Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $colsType = 'Google_Service_Analytics_GaDataDataTableCols';
+ protected $colsDataType = 'array';
+ protected $rowsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableCols.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableCols.php
new file mode 100644
index 00000000..1c2fdc72
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableCols.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_GaDataDataTableCols extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableRows.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableRows.php
new file mode 100644
index 00000000..409a66c0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableRows.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_GaDataDataTableRows extends Google_Collection
+{
+ protected $collection_key = 'c';
+ protected $cType = 'Google_Service_Analytics_GaDataDataTableRowsC';
+ protected $cDataType = 'array';
+
+ public function setC($c)
+ {
+ $this->c = $c;
+ }
+ public function getC()
+ {
+ return $this->c;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableRowsC.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableRowsC.php
new file mode 100644
index 00000000..b81f3cc7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableRowsC.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_GaDataDataTableRowsC extends Google_Model
+{
+ public $v;
+
+ public function setV($v)
+ {
+ $this->v = $v;
+ }
+ public function getV()
+ {
+ return $this->v;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataProfileInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataProfileInfo.php
new file mode 100644
index 00000000..ca5a9126
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataProfileInfo.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_GaDataProfileInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataQuery.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataQuery.php
new file mode 100644
index 00000000..811f2929
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataQuery.php
@@ -0,0 +1,127 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_GaDataQuery extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Goal.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Goal.php
new file mode 100644
index 00000000..767420ab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Goal.php
@@ -0,0 +1,188 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Goal extends Google_Model
+{
+ public $accountId;
+ public $active;
+ public $created;
+ protected $eventDetailsType = 'Google_Service_Analytics_GoalEventDetails';
+ protected $eventDetailsDataType = '';
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ public $name;
+ protected $parentLinkType = 'Google_Service_Analytics_GoalParentLink';
+ protected $parentLinkDataType = '';
+ public $profileId;
+ public $selfLink;
+ public $type;
+ public $updated;
+ protected $urlDestinationDetailsType = 'Google_Service_Analytics_GoalUrlDestinationDetails';
+ protected $urlDestinationDetailsDataType = '';
+ public $value;
+ protected $visitNumPagesDetailsType = 'Google_Service_Analytics_GoalVisitNumPagesDetails';
+ protected $visitNumPagesDetailsDataType = '';
+ protected $visitTimeOnSiteDetailsType = '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(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(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(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(Google_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails)
+ {
+ $this->visitNumPagesDetails = $visitNumPagesDetails;
+ }
+ public function getVisitNumPagesDetails()
+ {
+ return $this->visitNumPagesDetails;
+ }
+ public function setVisitTimeOnSiteDetails(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalEventDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalEventDetails.php
new file mode 100644
index 00000000..0cd903db
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalEventDetails.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_GoalEventDetails extends Google_Collection
+{
+ protected $collection_key = 'eventConditions';
+ protected $eventConditionsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalEventDetailsEventConditions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalEventDetailsEventConditions.php
new file mode 100644
index 00000000..6b401eea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalEventDetailsEventConditions.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_GoalEventDetailsEventConditions extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalParentLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalParentLink.php
new file mode 100644
index 00000000..54d7d542
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalParentLink.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_GoalParentLink extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalUrlDestinationDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalUrlDestinationDetails.php
new file mode 100644
index 00000000..52520879
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalUrlDestinationDetails.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_GoalUrlDestinationDetails extends Google_Collection
+{
+ protected $collection_key = 'steps';
+ public $caseSensitive;
+ public $firstStepRequired;
+ public $matchType;
+ protected $stepsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalUrlDestinationDetailsSteps.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalUrlDestinationDetailsSteps.php
new file mode 100644
index 00000000..812ae53e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalUrlDestinationDetailsSteps.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_GoalUrlDestinationDetailsSteps extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalVisitNumPagesDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalVisitNumPagesDetails.php
new file mode 100644
index 00000000..fc92b56a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalVisitNumPagesDetails.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_GoalVisitNumPagesDetails extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalVisitTimeOnSiteDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalVisitTimeOnSiteDetails.php
new file mode 100644
index 00000000..0f28a0a1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalVisitTimeOnSiteDetails.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_GoalVisitTimeOnSiteDetails extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Goals.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Goals.php
new file mode 100644
index 00000000..402eb350
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Goals.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Goals extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/IncludeConditions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/IncludeConditions.php
new file mode 100644
index 00000000..11b89c7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/IncludeConditions.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_IncludeConditions extends Google_Model
+{
+ public $daysToLookBack;
+ public $isSmartList;
+ public $kind;
+ public $membershipDurationDays;
+ public $segment;
+
+ public function setDaysToLookBack($daysToLookBack)
+ {
+ $this->daysToLookBack = $daysToLookBack;
+ }
+ public function getDaysToLookBack()
+ {
+ return $this->daysToLookBack;
+ }
+ public function setIsSmartList($isSmartList)
+ {
+ $this->isSmartList = $isSmartList;
+ }
+ public function getIsSmartList()
+ {
+ return $this->isSmartList;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMembershipDurationDays($membershipDurationDays)
+ {
+ $this->membershipDurationDays = $membershipDurationDays;
+ }
+ public function getMembershipDurationDays()
+ {
+ return $this->membershipDurationDays;
+ }
+ public function setSegment($segment)
+ {
+ $this->segment = $segment;
+ }
+ public function getSegment()
+ {
+ return $this->segment;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/LinkedForeignAccount.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/LinkedForeignAccount.php
new file mode 100644
index 00000000..4863f8a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/LinkedForeignAccount.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_LinkedForeignAccount extends Google_Model
+{
+ public $accountId;
+ public $eligibleForSearch;
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ public $linkedAccountId;
+ public $remarketingAudienceId;
+ public $status;
+ public $type;
+ public $webPropertyId;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setEligibleForSearch($eligibleForSearch)
+ {
+ $this->eligibleForSearch = $eligibleForSearch;
+ }
+ public function getEligibleForSearch()
+ {
+ return $this->eligibleForSearch;
+ }
+ 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 setLinkedAccountId($linkedAccountId)
+ {
+ $this->linkedAccountId = $linkedAccountId;
+ }
+ public function getLinkedAccountId()
+ {
+ return $this->linkedAccountId;
+ }
+ public function setRemarketingAudienceId($remarketingAudienceId)
+ {
+ $this->remarketingAudienceId = $remarketingAudienceId;
+ }
+ public function getRemarketingAudienceId()
+ {
+ return $this->remarketingAudienceId;
+ }
+ 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 setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfData.php
new file mode 100644
index 00000000..91bf9d9d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfData.php
@@ -0,0 +1,161 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_McfData extends Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $columnHeadersType = 'Google_Service_Analytics_McfDataColumnHeaders';
+ protected $columnHeadersDataType = 'array';
+ public $containsSampledData;
+ public $id;
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ protected $profileInfoType = 'Google_Service_Analytics_McfDataProfileInfo';
+ protected $profileInfoDataType = '';
+ protected $queryType = 'Google_Service_Analytics_McfDataQuery';
+ protected $queryDataType = '';
+ protected $rowsType = '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(Google_Service_Analytics_McfDataProfileInfo $profileInfo)
+ {
+ $this->profileInfo = $profileInfo;
+ }
+ public function getProfileInfo()
+ {
+ return $this->profileInfo;
+ }
+ public function setQuery(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataColumnHeaders.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataColumnHeaders.php
new file mode 100644
index 00000000..30ef1ddb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataColumnHeaders.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_McfDataColumnHeaders extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataProfileInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataProfileInfo.php
new file mode 100644
index 00000000..0dc090c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataProfileInfo.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_McfDataProfileInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataQuery.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataQuery.php
new file mode 100644
index 00000000..2756e2fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataQuery.php
@@ -0,0 +1,127 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_McfDataQuery extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataRows.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataRows.php
new file mode 100644
index 00000000..08bbb95f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataRows.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_McfDataRows extends Google_Collection
+{
+ protected $collection_key = 'conversionPathValue';
+ protected $conversionPathValueType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataRowsConversionPathValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataRowsConversionPathValue.php
new file mode 100644
index 00000000..69b2ecb4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataRowsConversionPathValue.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_McfDataRowsConversionPathValue extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Profile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Profile.php
new file mode 100644
index 00000000..f92d97b0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Profile.php
@@ -0,0 +1,258 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Profile extends Google_Model
+{
+ public $accountId;
+ public $botFilteringEnabled;
+ protected $childLinkType = '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 = 'Google_Service_Analytics_ProfileParentLink';
+ protected $parentLinkDataType = '';
+ protected $permissionsType = 'Google_Service_Analytics_ProfilePermissions';
+ protected $permissionsDataType = '';
+ public $selfLink;
+ public $siteSearchCategoryParameters;
+ public $siteSearchQueryParameters;
+ public $starred;
+ 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 setBotFilteringEnabled($botFilteringEnabled)
+ {
+ $this->botFilteringEnabled = $botFilteringEnabled;
+ }
+ public function getBotFilteringEnabled()
+ {
+ return $this->botFilteringEnabled;
+ }
+ public function setChildLink(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(Google_Service_Analytics_ProfileParentLink $parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
+ public function getParentLink()
+ {
+ return $this->parentLink;
+ }
+ public function setPermissions(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 setStarred($starred)
+ {
+ $this->starred = $starred;
+ }
+ public function getStarred()
+ {
+ return $this->starred;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileChildLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileChildLink.php
new file mode 100644
index 00000000..bb18f139
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileChildLink.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_ProfileChildLink extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileFilterLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileFilterLink.php
new file mode 100644
index 00000000..38417464
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileFilterLink.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_ProfileFilterLink extends Google_Model
+{
+ protected $filterRefType = 'Google_Service_Analytics_FilterRef';
+ protected $filterRefDataType = '';
+ public $id;
+ public $kind;
+ protected $profileRefType = 'Google_Service_Analytics_ProfileRef';
+ protected $profileRefDataType = '';
+ public $rank;
+ public $selfLink;
+
+ public function setFilterRef(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileFilterLinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileFilterLinks.php
new file mode 100644
index 00000000..6ba55aa8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileFilterLinks.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_ProfileFilterLinks extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileParentLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileParentLink.php
new file mode 100644
index 00000000..cedcf497
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileParentLink.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_ProfileParentLink extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfilePermissions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfilePermissions.php
new file mode 100644
index 00000000..fbbea20a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfilePermissions.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_ProfilePermissions extends Google_Collection
+{
+ protected $collection_key = 'effective';
+ public $effective;
+
+ public function setEffective($effective)
+ {
+ $this->effective = $effective;
+ }
+ public function getEffective()
+ {
+ return $this->effective;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileRef.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileRef.php
new file mode 100644
index 00000000..a32f66d8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileRef.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_ProfileRef extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileSummary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileSummary.php
new file mode 100644
index 00000000..abec3351
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileSummary.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_ProfileSummary extends Google_Model
+{
+ public $id;
+ public $kind;
+ public $name;
+ public $starred;
+ 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 setStarred($starred)
+ {
+ $this->starred = $starred;
+ }
+ public function getStarred()
+ {
+ return $this->starred;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Profiles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Profiles.php
new file mode 100644
index 00000000..704d5907
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Profiles.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Profiles extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeData.php
new file mode 100644
index 00000000..865a95e8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeData.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_RealtimeData extends Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $columnHeadersType = 'Google_Service_Analytics_RealtimeDataColumnHeaders';
+ protected $columnHeadersDataType = 'array';
+ public $id;
+ public $kind;
+ protected $profileInfoType = 'Google_Service_Analytics_RealtimeDataProfileInfo';
+ protected $profileInfoDataType = '';
+ protected $queryType = '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(Google_Service_Analytics_RealtimeDataProfileInfo $profileInfo)
+ {
+ $this->profileInfo = $profileInfo;
+ }
+ public function getProfileInfo()
+ {
+ return $this->profileInfo;
+ }
+ public function setQuery(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataColumnHeaders.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataColumnHeaders.php
new file mode 100644
index 00000000..661fdf66
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataColumnHeaders.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_RealtimeDataColumnHeaders extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataProfileInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataProfileInfo.php
new file mode 100644
index 00000000..2bca3e7d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataProfileInfo.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_RealtimeDataProfileInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataQuery.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataQuery.php
new file mode 100644
index 00000000..b91009a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataQuery.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_RealtimeDataQuery extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudience.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudience.php
new file mode 100644
index 00000000..b960417f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudience.php
@@ -0,0 +1,151 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_RemarketingAudience extends Google_Collection
+{
+ protected $collection_key = 'linkedViews';
+ public $accountId;
+ protected $audienceDefinitionType = 'Google_Service_Analytics_RemarketingAudienceAudienceDefinition';
+ protected $audienceDefinitionDataType = '';
+ public $audienceType;
+ public $created;
+ public $description;
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ protected $linkedAdAccountsType = 'Google_Service_Analytics_LinkedForeignAccount';
+ protected $linkedAdAccountsDataType = 'array';
+ public $linkedViews;
+ public $name;
+ protected $stateBasedAudienceDefinitionType = 'Google_Service_Analytics_RemarketingAudienceStateBasedAudienceDefinition';
+ protected $stateBasedAudienceDefinitionDataType = '';
+ public $updated;
+ public $webPropertyId;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAudienceDefinition(Google_Service_Analytics_RemarketingAudienceAudienceDefinition $audienceDefinition)
+ {
+ $this->audienceDefinition = $audienceDefinition;
+ }
+ public function getAudienceDefinition()
+ {
+ return $this->audienceDefinition;
+ }
+ public function setAudienceType($audienceType)
+ {
+ $this->audienceType = $audienceType;
+ }
+ public function getAudienceType()
+ {
+ return $this->audienceType;
+ }
+ 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 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 setLinkedAdAccounts($linkedAdAccounts)
+ {
+ $this->linkedAdAccounts = $linkedAdAccounts;
+ }
+ public function getLinkedAdAccounts()
+ {
+ return $this->linkedAdAccounts;
+ }
+ public function setLinkedViews($linkedViews)
+ {
+ $this->linkedViews = $linkedViews;
+ }
+ public function getLinkedViews()
+ {
+ return $this->linkedViews;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setStateBasedAudienceDefinition(Google_Service_Analytics_RemarketingAudienceStateBasedAudienceDefinition $stateBasedAudienceDefinition)
+ {
+ $this->stateBasedAudienceDefinition = $stateBasedAudienceDefinition;
+ }
+ public function getStateBasedAudienceDefinition()
+ {
+ return $this->stateBasedAudienceDefinition;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceAudienceDefinition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceAudienceDefinition.php
new file mode 100644
index 00000000..0069e8c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceAudienceDefinition.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_RemarketingAudienceAudienceDefinition extends Google_Model
+{
+ protected $includeConditionsType = 'Google_Service_Analytics_IncludeConditions';
+ protected $includeConditionsDataType = '';
+
+ public function setIncludeConditions(Google_Service_Analytics_IncludeConditions $includeConditions)
+ {
+ $this->includeConditions = $includeConditions;
+ }
+ public function getIncludeConditions()
+ {
+ return $this->includeConditions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceStateBasedAudienceDefinition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceStateBasedAudienceDefinition.php
new file mode 100644
index 00000000..3417d286
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceStateBasedAudienceDefinition.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_RemarketingAudienceStateBasedAudienceDefinition extends Google_Model
+{
+ protected $excludeConditionsType = 'Google_Service_Analytics_RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions';
+ protected $excludeConditionsDataType = '';
+ protected $includeConditionsType = 'Google_Service_Analytics_IncludeConditions';
+ protected $includeConditionsDataType = '';
+
+ public function setExcludeConditions(Google_Service_Analytics_RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions $excludeConditions)
+ {
+ $this->excludeConditions = $excludeConditions;
+ }
+ public function getExcludeConditions()
+ {
+ return $this->excludeConditions;
+ }
+ public function setIncludeConditions(Google_Service_Analytics_IncludeConditions $includeConditions)
+ {
+ $this->includeConditions = $includeConditions;
+ }
+ public function getIncludeConditions()
+ {
+ return $this->includeConditions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions.php
new file mode 100644
index 00000000..f12f3f0d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions extends Google_Model
+{
+ public $exclusionDuration;
+ public $segment;
+
+ public function setExclusionDuration($exclusionDuration)
+ {
+ $this->exclusionDuration = $exclusionDuration;
+ }
+ public function getExclusionDuration()
+ {
+ return $this->exclusionDuration;
+ }
+ public function setSegment($segment)
+ {
+ $this->segment = $segment;
+ }
+ public function getSegment()
+ {
+ return $this->segment;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudiences.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudiences.php
new file mode 100644
index 00000000..cfabe4da
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudiences.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_RemarketingAudiences extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_Analytics_RemarketingAudience';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Data.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Data.php
new file mode 100644
index 00000000..f2552067
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Data.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "data" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $data = $analyticsService->data;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_Data extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataGa.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataGa.php
new file mode 100644
index 00000000..269f6960
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataGa.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "ga" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $ga = $analyticsService->ga;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_DataGa extends 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 string dimensions A comma-separated list of Analytics dimensions.
+ * E.g., 'ga:browser,ga:city'.
+ * @opt_param string filters A comma-separated list of dimension or metric
+ * filters to be applied to Analytics data.
+ * @opt_param bool include-empty-rows The response will include empty rows if
+ * this parameter is set to true, the default is true
+ * @opt_param int max-results The maximum number of entries to include in this
+ * feed.
+ * @opt_param string output The selected format for the response. Default format
+ * is JSON.
+ * @opt_param string samplingLevel The desired sampling level.
+ * @opt_param string segment An Analytics segment to be applied to data.
+ * @opt_param string sort A comma-separated list of dimensions or metrics that
+ * determine the sort order for Analytics data.
+ * @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 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), "Google_Service_Analytics_GaData");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataMcf.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataMcf.php
new file mode 100644
index 00000000..6a5e1685
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataMcf.php
@@ -0,0 +1,63 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "mcf" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $mcf = $analyticsService->mcf;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_DataMcf extends 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 string dimensions A comma-separated list of Multi-Channel Funnels
+ * dimensions. E.g., 'mcf:source,mcf:medium'.
+ * @opt_param string filters A comma-separated list of dimension or metric
+ * filters to be applied to the Analytics data.
+ * @opt_param int max-results The maximum number of entries to include in this
+ * feed.
+ * @opt_param string samplingLevel The desired sampling level.
+ * @opt_param string sort A comma-separated list of dimensions or metrics that
+ * determine the sort order for the Analytics data.
+ * @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 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), "Google_Service_Analytics_McfData");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataRealtime.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataRealtime.php
new file mode 100644
index 00000000..4ea551d8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataRealtime.php
@@ -0,0 +1,53 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "realtime" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $realtime = $analyticsService->realtime;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_DataRealtime extends 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 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.
+ * @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.
+ * @return 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), "Google_Service_Analytics_RealtimeData");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Management.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Management.php
new file mode 100644
index 00000000..66c2905d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Management.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "management" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $management = $analyticsService->management;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_Management extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccountSummaries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccountSummaries.php
new file mode 100644
index 00000000..cfb29396
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccountSummaries.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accountSummaries" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $accountSummaries = $analyticsService->accountSummaries;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementAccountSummaries extends 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 Google_Service_Analytics_AccountSummaries
+ */
+ public function listManagementAccountSummaries($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_AccountSummaries");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccountUserLinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccountUserLinks.php
new file mode 100644
index 00000000..12baeda4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccountUserLinks.php
@@ -0,0 +1,91 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accountUserLinks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $accountUserLinks = $analyticsService->accountUserLinks;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementAccountUserLinks extends 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 Google_Service_Analytics_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function insert($accountId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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), "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 Google_Service_Analytics_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function update($accountId, $linkId, 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), "Google_Service_Analytics_EntityUserLink");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccounts.php
new file mode 100644
index 00000000..9a6a1daa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccounts.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $accounts = $analyticsService->accounts;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementAccounts extends 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 Google_Service_Analytics_Accounts
+ */
+ public function listManagementAccounts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Accounts");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomDataSources.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomDataSources.php
new file mode 100644
index 00000000..d45ba9ed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomDataSources.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "customDataSources" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $customDataSources = $analyticsService->customDataSources;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementCustomDataSources extends 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 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), "Google_Service_Analytics_CustomDataSources");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomDimensions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomDimensions.php
new file mode 100644
index 00000000..bb430adb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomDimensions.php
@@ -0,0 +1,126 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "customDimensions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $customDimensions = $analyticsService->customDimensions;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementCustomDimensions extends Google_Service_Resource
+{
+ /**
+ * Get a custom dimension to which the user has access. (customDimensions.get)
+ *
+ * @param string $accountId Account ID for the custom dimension to retrieve.
+ * @param string $webPropertyId Web property ID for the custom dimension to
+ * retrieve.
+ * @param string $customDimensionId The ID of the custom dimension to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_CustomDimension
+ */
+ public function get($accountId, $webPropertyId, $customDimensionId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_CustomDimension");
+ }
+ /**
+ * Create a new custom dimension. (customDimensions.insert)
+ *
+ * @param string $accountId Account ID for the custom dimension to create.
+ * @param string $webPropertyId Web property ID for the custom dimension to
+ * create.
+ * @param Google_Service_Analytics_CustomDimension $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_CustomDimension
+ */
+ public function insert($accountId, $webPropertyId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_CustomDimension");
+ }
+ /**
+ * Lists custom dimensions to which the user has access.
+ * (customDimensions.listManagementCustomDimensions)
+ *
+ * @param string $accountId Account ID for the custom dimensions to retrieve.
+ * @param string $webPropertyId Web property ID for the custom dimensions to
+ * retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of custom dimensions 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 Google_Service_Analytics_CustomDimensions
+ */
+ public function listManagementCustomDimensions($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_CustomDimensions");
+ }
+ /**
+ * Updates an existing custom dimension. This method supports patch semantics.
+ * (customDimensions.patch)
+ *
+ * @param string $accountId Account ID for the custom dimension to update.
+ * @param string $webPropertyId Web property ID for the custom dimension to
+ * update.
+ * @param string $customDimensionId Custom dimension ID for the custom dimension
+ * to update.
+ * @param Google_Service_Analytics_CustomDimension $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
+ * warnings related to the custom dimension being linked to a custom data source
+ * / data set.
+ * @return Google_Service_Analytics_CustomDimension
+ */
+ public function patch($accountId, $webPropertyId, $customDimensionId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_CustomDimension");
+ }
+ /**
+ * Updates an existing custom dimension. (customDimensions.update)
+ *
+ * @param string $accountId Account ID for the custom dimension to update.
+ * @param string $webPropertyId Web property ID for the custom dimension to
+ * update.
+ * @param string $customDimensionId Custom dimension ID for the custom dimension
+ * to update.
+ * @param Google_Service_Analytics_CustomDimension $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
+ * warnings related to the custom dimension being linked to a custom data source
+ * / data set.
+ * @return Google_Service_Analytics_CustomDimension
+ */
+ public function update($accountId, $webPropertyId, $customDimensionId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_CustomDimension");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomMetrics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomMetrics.php
new file mode 100644
index 00000000..3186f63c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomMetrics.php
@@ -0,0 +1,124 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "customMetrics" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $customMetrics = $analyticsService->customMetrics;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementCustomMetrics extends Google_Service_Resource
+{
+ /**
+ * Get a custom metric to which the user has access. (customMetrics.get)
+ *
+ * @param string $accountId Account ID for the custom metric to retrieve.
+ * @param string $webPropertyId Web property ID for the custom metric to
+ * retrieve.
+ * @param string $customMetricId The ID of the custom metric to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_CustomMetric
+ */
+ public function get($accountId, $webPropertyId, $customMetricId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_CustomMetric");
+ }
+ /**
+ * Create a new custom metric. (customMetrics.insert)
+ *
+ * @param string $accountId Account ID for the custom metric to create.
+ * @param string $webPropertyId Web property ID for the custom dimension to
+ * create.
+ * @param Google_Service_Analytics_CustomMetric $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_CustomMetric
+ */
+ public function insert($accountId, $webPropertyId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_CustomMetric");
+ }
+ /**
+ * Lists custom metrics to which the user has access.
+ * (customMetrics.listManagementCustomMetrics)
+ *
+ * @param string $accountId Account ID for the custom metrics to retrieve.
+ * @param string $webPropertyId Web property ID for the custom metrics to
+ * retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of custom metrics 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 Google_Service_Analytics_CustomMetrics
+ */
+ public function listManagementCustomMetrics($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_CustomMetrics");
+ }
+ /**
+ * Updates an existing custom metric. This method supports patch semantics.
+ * (customMetrics.patch)
+ *
+ * @param string $accountId Account ID for the custom metric to update.
+ * @param string $webPropertyId Web property ID for the custom metric to update.
+ * @param string $customMetricId Custom metric ID for the custom metric to
+ * update.
+ * @param Google_Service_Analytics_CustomMetric $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
+ * warnings related to the custom metric being linked to a custom data source /
+ * data set.
+ * @return Google_Service_Analytics_CustomMetric
+ */
+ public function patch($accountId, $webPropertyId, $customMetricId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_CustomMetric");
+ }
+ /**
+ * Updates an existing custom metric. (customMetrics.update)
+ *
+ * @param string $accountId Account ID for the custom metric to update.
+ * @param string $webPropertyId Web property ID for the custom metric to update.
+ * @param string $customMetricId Custom metric ID for the custom metric to
+ * update.
+ * @param Google_Service_Analytics_CustomMetric $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
+ * warnings related to the custom metric being linked to a custom data source /
+ * data set.
+ * @return Google_Service_Analytics_CustomMetric
+ */
+ public function update($accountId, $webPropertyId, $customMetricId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_CustomMetric");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementExperiments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementExperiments.php
new file mode 100644
index 00000000..24053c7f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementExperiments.php
@@ -0,0 +1,132 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "experiments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $experiments = $analyticsService->experiments;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementExperiments extends 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 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), "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 Google_Service_Analytics_Experiment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Experiment
+ */
+ public function insert($accountId, $webPropertyId, $profileId, 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), "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 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), "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 Google_Service_Analytics_Experiment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Experiment
+ */
+ public function patch($accountId, $webPropertyId, $profileId, $experimentId, 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), "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 Google_Service_Analytics_Experiment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Experiment
+ */
+ public function update($accountId, $webPropertyId, $profileId, $experimentId, 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), "Google_Service_Analytics_Experiment");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementFilters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementFilters.php
new file mode 100644
index 00000000..cc0355bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementFilters.php
@@ -0,0 +1,119 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "filters" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $filters = $analyticsService->filters;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementFilters extends 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 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), "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 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), "Google_Service_Analytics_Filter");
+ }
+ /**
+ * Create a new filter. (filters.insert)
+ *
+ * @param string $accountId Account ID to create filter for.
+ * @param Google_Service_Analytics_Filter $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Filter
+ */
+ public function insert($accountId, Google_Service_Analytics_Filter $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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), "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 Google_Service_Analytics_Filter $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Filter
+ */
+ public function patch($accountId, $filterId, 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), "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 Google_Service_Analytics_Filter $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Filter
+ */
+ public function update($accountId, $filterId, 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), "Google_Service_Analytics_Filter");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementGoals.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementGoals.php
new file mode 100644
index 00000000..0943b5c2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementGoals.php
@@ -0,0 +1,120 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "goals" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $goals = $analyticsService->goals;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementGoals extends 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 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), "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 Google_Service_Analytics_Goal $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Goal
+ */
+ public function insert($accountId, $webPropertyId, $profileId, 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), "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 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), "Google_Service_Analytics_Goals");
+ }
+ /**
+ * Updates an existing goal. 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 Google_Service_Analytics_Goal $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Goal
+ */
+ public function patch($accountId, $webPropertyId, $profileId, $goalId, 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), "Google_Service_Analytics_Goal");
+ }
+ /**
+ * Updates an existing goal. (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 Google_Service_Analytics_Goal $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Goal
+ */
+ public function update($accountId, $webPropertyId, $profileId, $goalId, 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), "Google_Service_Analytics_Goal");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfileFilterLinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfileFilterLinks.php
new file mode 100644
index 00000000..acb6f7e9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfileFilterLinks.php
@@ -0,0 +1,140 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "profileFilterLinks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $profileFilterLinks = $analyticsService->profileFilterLinks;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementProfileFilterLinks extends 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 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), "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 Google_Service_Analytics_ProfileFilterLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_ProfileFilterLink
+ */
+ public function insert($accountId, $webPropertyId, $profileId, 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), "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 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), "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 Google_Service_Analytics_ProfileFilterLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_ProfileFilterLink
+ */
+ public function patch($accountId, $webPropertyId, $profileId, $linkId, 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), "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 Google_Service_Analytics_ProfileFilterLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_ProfileFilterLink
+ */
+ public function update($accountId, $webPropertyId, $profileId, $linkId, 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), "Google_Service_Analytics_ProfileFilterLink");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfileUserLinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfileUserLinks.php
new file mode 100644
index 00000000..97d6a097
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfileUserLinks.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "profileUserLinks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $profileUserLinks = $analyticsService->profileUserLinks;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementProfileUserLinks extends 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 Google_Service_Analytics_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function insert($accountId, $webPropertyId, $profileId, 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), "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 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), "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 Google_Service_Analytics_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function update($accountId, $webPropertyId, $profileId, $linkId, 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), "Google_Service_Analytics_EntityUserLink");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfiles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfiles.php
new file mode 100644
index 00000000..a72f0bcd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfiles.php
@@ -0,0 +1,135 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "profiles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $profiles = $analyticsService->profiles;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementProfiles extends 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 view (profile) for.
+ * @param string $webPropertyId Web property ID to retrieve the view (profile)
+ * for.
+ * @param string $profileId View (Profile) ID to retrieve the view (profile)
+ * for.
+ * @param array $optParams Optional parameters.
+ * @return 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), "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 Google_Service_Analytics_Profile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Profile
+ */
+ public function insert($accountId, $webPropertyId, 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), "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 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), "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 Google_Service_Analytics_Profile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Profile
+ */
+ public function patch($accountId, $webPropertyId, $profileId, 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), "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 Google_Service_Analytics_Profile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Profile
+ */
+ public function update($accountId, $webPropertyId, $profileId, 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), "Google_Service_Analytics_Profile");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementRemarketingAudience.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementRemarketingAudience.php
new file mode 100644
index 00000000..ad23bb92
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementRemarketingAudience.php
@@ -0,0 +1,126 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "remarketingAudience" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $remarketingAudience = $analyticsService->remarketingAudience;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementRemarketingAudience extends Google_Service_Resource
+{
+ /**
+ * Gets a remarketing audience to which the user has access.
+ * (remarketingAudience.get)
+ *
+ * @param string $accountId The account ID of the remarketing audience to
+ * retrieve.
+ * @param string $webPropertyId The web property ID of the remarketing audience
+ * to retrieve.
+ * @param string $remarketingAudienceId The ID of the remarketing audience to
+ * retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_RemarketingAudience
+ */
+ public function get($accountId, $webPropertyId, $remarketingAudienceId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'remarketingAudienceId' => $remarketingAudienceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_RemarketingAudience");
+ }
+ /**
+ * Creates a new remarketing audience. (remarketingAudience.insert)
+ *
+ * @param string $accountId The account ID for which to create the remarketing
+ * audience.
+ * @param string $webPropertyId Web property ID for which to create the
+ * remarketing audience.
+ * @param Google_Service_Analytics_RemarketingAudience $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_RemarketingAudience
+ */
+ public function insert($accountId, $webPropertyId, Google_Service_Analytics_RemarketingAudience $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_RemarketingAudience");
+ }
+ /**
+ * Lists remarketing audiences to which the user has access.
+ * (remarketingAudience.listManagementRemarketingAudience)
+ *
+ * @param string $accountId The account ID of the remarketing audiences to
+ * retrieve.
+ * @param string $webPropertyId The web property ID of the remarketing audiences
+ * to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of remarketing audiences 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.
+ * @opt_param string type
+ * @return Google_Service_Analytics_RemarketingAudiences
+ */
+ public function listManagementRemarketingAudience($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_RemarketingAudiences");
+ }
+ /**
+ * Updates an existing remarketing audience. This method supports patch
+ * semantics. (remarketingAudience.patch)
+ *
+ * @param string $accountId The account ID of the remarketing audience to
+ * update.
+ * @param string $webPropertyId The web property ID of the remarketing audience
+ * to update.
+ * @param string $remarketingAudienceId The ID of the remarketing audience to
+ * update.
+ * @param Google_Service_Analytics_RemarketingAudience $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_RemarketingAudience
+ */
+ public function patch($accountId, $webPropertyId, $remarketingAudienceId, Google_Service_Analytics_RemarketingAudience $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'remarketingAudienceId' => $remarketingAudienceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_RemarketingAudience");
+ }
+ /**
+ * Updates an existing remarketing audience. (remarketingAudience.update)
+ *
+ * @param string $accountId The account ID of the remarketing audience to
+ * update.
+ * @param string $webPropertyId The web property ID of the remarketing audience
+ * to update.
+ * @param string $remarketingAudienceId The ID of the remarketing audience to
+ * update.
+ * @param Google_Service_Analytics_RemarketingAudience $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_RemarketingAudience
+ */
+ public function update($accountId, $webPropertyId, $remarketingAudienceId, Google_Service_Analytics_RemarketingAudience $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'remarketingAudienceId' => $remarketingAudienceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_RemarketingAudience");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementSegments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementSegments.php
new file mode 100644
index 00000000..b3925a82
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementSegments.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "segments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $segments = $analyticsService->segments;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementSegments extends 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 Google_Service_Analytics_Segments
+ */
+ public function listManagementSegments($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Segments");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementUnsampledReports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementUnsampledReports.php
new file mode 100644
index 00000000..ce2bd67a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementUnsampledReports.php
@@ -0,0 +1,105 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "unsampledReports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $unsampledReports = $analyticsService->unsampledReports;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementUnsampledReports extends Google_Service_Resource
+{
+ /**
+ * Deletes an unsampled report. (unsampledReports.delete)
+ *
+ * @param string $accountId Account ID to delete the unsampled report for.
+ * @param string $webPropertyId Web property ID to delete the unsampled reports
+ * for.
+ * @param string $profileId View (Profile) ID to delete the unsampled report
+ * for.
+ * @param string $unsampledReportId ID of the unsampled report to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'unsampledReportId' => $unsampledReportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * 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 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), "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 Google_Service_Analytics_UnsampledReport $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_UnsampledReport
+ */
+ public function insert($accountId, $webPropertyId, $profileId, 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), "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 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), "Google_Service_Analytics_UnsampledReports");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementUploads.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementUploads.php
new file mode 100644
index 00000000..b6b77011
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementUploads.php
@@ -0,0 +1,100 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "uploads" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $uploads = $analyticsService->uploads;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementUploads extends 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 Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, 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 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), "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 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), "Google_Service_Analytics_Uploads");
+ }
+ /**
+ * 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 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), "Google_Service_Analytics_Upload");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebPropertyAdWordsLinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebPropertyAdWordsLinks.php
new file mode 100644
index 00000000..12ce084c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebPropertyAdWordsLinks.php
@@ -0,0 +1,138 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "webPropertyAdWordsLinks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $webPropertyAdWordsLinks = $analyticsService->webPropertyAdWordsLinks;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementWebPropertyAdWordsLinks extends 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 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), "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 Google_Service_Analytics_EntityAdWordsLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityAdWordsLink
+ */
+ public function insert($accountId, $webPropertyId, 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), "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 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), "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 Google_Service_Analytics_EntityAdWordsLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityAdWordsLink
+ */
+ public function patch($accountId, $webPropertyId, $webPropertyAdWordsLinkId, 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), "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 Google_Service_Analytics_EntityAdWordsLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityAdWordsLink
+ */
+ public function update($accountId, $webPropertyId, $webPropertyAdWordsLinkId, 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), "Google_Service_Analytics_EntityAdWordsLink");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebproperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebproperties.php
new file mode 100644
index 00000000..272b0e66
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebproperties.php
@@ -0,0 +1,110 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "webproperties" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $webproperties = $analyticsService->webproperties;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementWebproperties extends 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 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), "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 Google_Service_Analytics_Webproperty $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Webproperty
+ */
+ public function insert($accountId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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), "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 Google_Service_Analytics_Webproperty $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Webproperty
+ */
+ public function patch($accountId, $webPropertyId, 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), "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 Google_Service_Analytics_Webproperty $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Webproperty
+ */
+ public function update($accountId, $webPropertyId, 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), "Google_Service_Analytics_Webproperty");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebpropertyUserLinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebpropertyUserLinks.php
new file mode 100644
index 00000000..a0f42a88
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebpropertyUserLinks.php
@@ -0,0 +1,98 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "webpropertyUserLinks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $webpropertyUserLinks = $analyticsService->webpropertyUserLinks;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_ManagementWebpropertyUserLinks extends 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 Google_Service_Analytics_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function insert($accountId, $webPropertyId, 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), "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 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), "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 Google_Service_Analytics_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function update($accountId, $webPropertyId, $linkId, 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), "Google_Service_Analytics_EntityUserLink");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Metadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Metadata.php
new file mode 100644
index 00000000..81421fe5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Metadata.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "metadata" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $metadata = $analyticsService->metadata;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_Metadata extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/MetadataColumns.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/MetadataColumns.php
new file mode 100644
index 00000000..3574a0d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/MetadataColumns.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "columns" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $columns = $analyticsService->columns;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_MetadataColumns extends 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 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), "Google_Service_Analytics_Columns");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Provisioning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Provisioning.php
new file mode 100644
index 00000000..b3829ff8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Provisioning.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "provisioning" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $provisioning = $analyticsService->provisioning;
+ * </code>
+ */
+class Google_Service_Analytics_Resource_Provisioning extends Google_Service_Resource
+{
+ /**
+ * Creates an account ticket. (provisioning.createAccountTicket)
+ *
+ * @param Google_Service_Analytics_AccountTicket $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_AccountTicket
+ */
+ public function createAccountTicket(Google_Service_Analytics_AccountTicket $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('createAccountTicket', array($params), "Google_Service_Analytics_AccountTicket");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Segment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Segment.php
new file mode 100644
index 00000000..0e3caa2a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Segment.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Segment extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Segments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Segments.php
new file mode 100644
index 00000000..ec874e65
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Segments.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Segments extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReport.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReport.php
new file mode 100644
index 00000000..a87bfe10
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReport.php
@@ -0,0 +1,198 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_UnsampledReport extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "endDate" => "end-date",
+ "startDate" => "start-date",
+ );
+ public $accountId;
+ protected $cloudStorageDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails';
+ protected $cloudStorageDownloadDetailsDataType = '';
+ public $created;
+ public $dimensions;
+ public $downloadType;
+ protected $driveDownloadDetailsType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReportCloudStorageDownloadDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReportCloudStorageDownloadDetails.php
new file mode 100644
index 00000000..48a7533f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReportCloudStorageDownloadDetails.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReportDriveDownloadDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReportDriveDownloadDetails.php
new file mode 100644
index 00000000..805cec88
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReportDriveDownloadDetails.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_UnsampledReportDriveDownloadDetails extends Google_Model
+{
+ public $documentId;
+
+ public function setDocumentId($documentId)
+ {
+ $this->documentId = $documentId;
+ }
+ public function getDocumentId()
+ {
+ return $this->documentId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReports.php
new file mode 100644
index 00000000..dda579e5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReports.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_UnsampledReports extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Upload.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Upload.php
new file mode 100644
index 00000000..0da4f5b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Upload.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Upload extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Uploads.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Uploads.php
new file mode 100644
index 00000000..4324bad9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Uploads.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Uploads extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UserRef.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UserRef.php
new file mode 100644
index 00000000..649bd1d3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UserRef.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_UserRef extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebPropertyRef.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebPropertyRef.php
new file mode 100644
index 00000000..2c9ce1d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebPropertyRef.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_WebPropertyRef extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebPropertySummary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebPropertySummary.php
new file mode 100644
index 00000000..63ae34bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebPropertySummary.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_WebPropertySummary extends Google_Collection
+{
+ protected $collection_key = 'profiles';
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ public $level;
+ public $name;
+ protected $profilesType = 'Google_Service_Analytics_ProfileSummary';
+ protected $profilesDataType = 'array';
+ public $starred;
+ 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 setStarred($starred)
+ {
+ $this->starred = $starred;
+ }
+ public function getStarred()
+ {
+ return $this->starred;
+ }
+ public function setWebsiteUrl($websiteUrl)
+ {
+ $this->websiteUrl = $websiteUrl;
+ }
+ public function getWebsiteUrl()
+ {
+ return $this->websiteUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Webproperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Webproperties.php
new file mode 100644
index 00000000..fcdecd39
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Webproperties.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Webproperties extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Webproperty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Webproperty.php
new file mode 100644
index 00000000..5d2e3629
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Webproperty.php
@@ -0,0 +1,177 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_Webproperty extends Google_Model
+{
+ public $accountId;
+ protected $childLinkType = 'Google_Service_Analytics_WebpropertyChildLink';
+ protected $childLinkDataType = '';
+ public $created;
+ public $defaultProfileId;
+ public $id;
+ public $industryVertical;
+ public $internalWebPropertyId;
+ public $kind;
+ public $level;
+ public $name;
+ protected $parentLinkType = 'Google_Service_Analytics_WebpropertyParentLink';
+ protected $parentLinkDataType = '';
+ protected $permissionsType = 'Google_Service_Analytics_WebpropertyPermissions';
+ protected $permissionsDataType = '';
+ public $profileCount;
+ public $selfLink;
+ public $starred;
+ public $updated;
+ public $websiteUrl;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setChildLink(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(Google_Service_Analytics_WebpropertyParentLink $parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
+ public function getParentLink()
+ {
+ return $this->parentLink;
+ }
+ public function setPermissions(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 setStarred($starred)
+ {
+ $this->starred = $starred;
+ }
+ public function getStarred()
+ {
+ return $this->starred;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyChildLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyChildLink.php
new file mode 100644
index 00000000..f61b2cf0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyChildLink.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_WebpropertyChildLink extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyParentLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyParentLink.php
new file mode 100644
index 00000000..2df9c8c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyParentLink.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_WebpropertyParentLink extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyPermissions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyPermissions.php
new file mode 100644
index 00000000..5305e8b1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyPermissions.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Analytics_WebpropertyPermissions extends Google_Collection
+{
+ protected $collection_key = 'effective';
+ public $effective;
+
+ public function setEffective($effective)
+ {
+ $this->effective = $effective;
+ }
+ public function getEffective()
+ {
+ return $this->effective;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting.php
new file mode 100644
index 00000000..789a2b2c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 AnalyticsReporting (v4).
+ *
+ * <p>
+ * Accesses Analytics report data.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/analytics/devguides/reporting/core/v4/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_AnalyticsReporting extends Google_Service
+{
+ /** View and manage your Google Analytics data. */
+ const ANALYTICS =
+ "https://www.googleapis.com/auth/analytics";
+ /** View your Google Analytics data. */
+ const ANALYTICS_READONLY =
+ "https://www.googleapis.com/auth/analytics.readonly";
+
+ public $reports;
+
+ /**
+ * Constructs the internal representation of the AnalyticsReporting service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://analyticsreporting.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v4';
+ $this->serviceName = 'analyticsreporting';
+
+ $this->reports = new Google_Service_AnalyticsReporting_Resource_Reports(
+ $this,
+ $this->serviceName,
+ 'reports',
+ array(
+ 'methods' => array(
+ 'batchGet' => array(
+ 'path' => 'v4/reports:batchGet',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Cohort.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Cohort.php
new file mode 100644
index 00000000..9ad3b8f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Cohort.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_Cohort extends Google_Model
+{
+ protected $dateRangeType = 'Google_Service_AnalyticsReporting_DateRange';
+ protected $dateRangeDataType = '';
+ public $name;
+ public $type;
+
+ public function setDateRange(Google_Service_AnalyticsReporting_DateRange $dateRange)
+ {
+ $this->dateRange = $dateRange;
+ }
+ public function getDateRange()
+ {
+ return $this->dateRange;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/CohortGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/CohortGroup.php
new file mode 100644
index 00000000..a173e839
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/CohortGroup.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_CohortGroup extends Google_Collection
+{
+ protected $collection_key = 'cohorts';
+ protected $cohortsType = 'Google_Service_AnalyticsReporting_Cohort';
+ protected $cohortsDataType = 'array';
+ public $lifetimeValue;
+
+ public function setCohorts($cohorts)
+ {
+ $this->cohorts = $cohorts;
+ }
+ public function getCohorts()
+ {
+ return $this->cohorts;
+ }
+ public function setLifetimeValue($lifetimeValue)
+ {
+ $this->lifetimeValue = $lifetimeValue;
+ }
+ public function getLifetimeValue()
+ {
+ return $this->lifetimeValue;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ColumnHeader.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ColumnHeader.php
new file mode 100644
index 00000000..0f6ee458
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ColumnHeader.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_ColumnHeader extends Google_Collection
+{
+ protected $collection_key = 'dimensions';
+ public $dimensions;
+ protected $metricHeaderType = 'Google_Service_AnalyticsReporting_MetricHeader';
+ protected $metricHeaderDataType = '';
+
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setMetricHeader(Google_Service_AnalyticsReporting_MetricHeader $metricHeader)
+ {
+ $this->metricHeader = $metricHeader;
+ }
+ public function getMetricHeader()
+ {
+ return $this->metricHeader;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DateRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DateRange.php
new file mode 100644
index 00000000..9b9152b9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DateRange.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_DateRange extends Google_Model
+{
+ public $endDate;
+ public $startDate;
+
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DateRangeValues.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DateRangeValues.php
new file mode 100644
index 00000000..82d52bc1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DateRangeValues.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_DateRangeValues extends Google_Collection
+{
+ protected $collection_key = 'values';
+ protected $pivotValueRegionsType = 'Google_Service_AnalyticsReporting_PivotValueRegion';
+ protected $pivotValueRegionsDataType = 'array';
+ public $values;
+
+ public function setPivotValueRegions($pivotValueRegions)
+ {
+ $this->pivotValueRegions = $pivotValueRegions;
+ }
+ public function getPivotValueRegions()
+ {
+ return $this->pivotValueRegions;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Dimension.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Dimension.php
new file mode 100644
index 00000000..8ed06791
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Dimension.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_Dimension extends Google_Collection
+{
+ protected $collection_key = 'histogramBuckets';
+ public $histogramBuckets;
+ public $name;
+
+ public function setHistogramBuckets($histogramBuckets)
+ {
+ $this->histogramBuckets = $histogramBuckets;
+ }
+ public function getHistogramBuckets()
+ {
+ return $this->histogramBuckets;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DimensionFilter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DimensionFilter.php
new file mode 100644
index 00000000..eb512f11
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DimensionFilter.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_DimensionFilter extends Google_Collection
+{
+ protected $collection_key = 'expressions';
+ public $caseSensitive;
+ public $dimensionName;
+ public $expressions;
+ public $not;
+ public $operator;
+
+ public function setCaseSensitive($caseSensitive)
+ {
+ $this->caseSensitive = $caseSensitive;
+ }
+ public function getCaseSensitive()
+ {
+ return $this->caseSensitive;
+ }
+ public function setDimensionName($dimensionName)
+ {
+ $this->dimensionName = $dimensionName;
+ }
+ public function getDimensionName()
+ {
+ return $this->dimensionName;
+ }
+ public function setExpressions($expressions)
+ {
+ $this->expressions = $expressions;
+ }
+ public function getExpressions()
+ {
+ return $this->expressions;
+ }
+ public function setNot($not)
+ {
+ $this->not = $not;
+ }
+ public function getNot()
+ {
+ return $this->not;
+ }
+ public function setOperator($operator)
+ {
+ $this->operator = $operator;
+ }
+ public function getOperator()
+ {
+ return $this->operator;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DimensionFilterClause.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DimensionFilterClause.php
new file mode 100644
index 00000000..317f0ee8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DimensionFilterClause.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_DimensionFilterClause extends Google_Collection
+{
+ protected $collection_key = 'filters';
+ protected $filtersType = 'Google_Service_AnalyticsReporting_DimensionFilter';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DynamicSegment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DynamicSegment.php
new file mode 100644
index 00000000..7d41be7d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DynamicSegment.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_DynamicSegment extends Google_Model
+{
+ public $name;
+ protected $sessionSegmentType = 'Google_Service_AnalyticsReporting_SegmentDefinition';
+ protected $sessionSegmentDataType = '';
+ protected $userSegmentType = 'Google_Service_AnalyticsReporting_SegmentDefinition';
+ protected $userSegmentDataType = '';
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSessionSegment(Google_Service_AnalyticsReporting_SegmentDefinition $sessionSegment)
+ {
+ $this->sessionSegment = $sessionSegment;
+ }
+ public function getSessionSegment()
+ {
+ return $this->sessionSegment;
+ }
+ public function setUserSegment(Google_Service_AnalyticsReporting_SegmentDefinition $userSegment)
+ {
+ $this->userSegment = $userSegment;
+ }
+ public function getUserSegment()
+ {
+ return $this->userSegment;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/GetReportsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/GetReportsRequest.php
new file mode 100644
index 00000000..e1a0e9bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/GetReportsRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_GetReportsRequest extends Google_Collection
+{
+ protected $collection_key = 'reportRequests';
+ protected $reportRequestsType = 'Google_Service_AnalyticsReporting_ReportRequest';
+ protected $reportRequestsDataType = 'array';
+
+ public function setReportRequests($reportRequests)
+ {
+ $this->reportRequests = $reportRequests;
+ }
+ public function getReportRequests()
+ {
+ return $this->reportRequests;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/GetReportsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/GetReportsResponse.php
new file mode 100644
index 00000000..15ff4976
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/GetReportsResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_GetReportsResponse extends Google_Collection
+{
+ protected $collection_key = 'reports';
+ protected $reportsType = 'Google_Service_AnalyticsReporting_Report';
+ protected $reportsDataType = 'array';
+
+ public function setReports($reports)
+ {
+ $this->reports = $reports;
+ }
+ public function getReports()
+ {
+ return $this->reports;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Metric.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Metric.php
new file mode 100644
index 00000000..6dc69e98
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Metric.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_Metric extends Google_Model
+{
+ public $alias;
+ public $expression;
+ public $formattingType;
+
+ public function setAlias($alias)
+ {
+ $this->alias = $alias;
+ }
+ public function getAlias()
+ {
+ return $this->alias;
+ }
+ public function setExpression($expression)
+ {
+ $this->expression = $expression;
+ }
+ public function getExpression()
+ {
+ return $this->expression;
+ }
+ public function setFormattingType($formattingType)
+ {
+ $this->formattingType = $formattingType;
+ }
+ public function getFormattingType()
+ {
+ return $this->formattingType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricFilter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricFilter.php
new file mode 100644
index 00000000..713c50c0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricFilter.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_MetricFilter extends Google_Model
+{
+ public $comparisonValue;
+ public $metricName;
+ public $not;
+ public $operator;
+
+ public function setComparisonValue($comparisonValue)
+ {
+ $this->comparisonValue = $comparisonValue;
+ }
+ public function getComparisonValue()
+ {
+ return $this->comparisonValue;
+ }
+ public function setMetricName($metricName)
+ {
+ $this->metricName = $metricName;
+ }
+ public function getMetricName()
+ {
+ return $this->metricName;
+ }
+ public function setNot($not)
+ {
+ $this->not = $not;
+ }
+ public function getNot()
+ {
+ return $this->not;
+ }
+ public function setOperator($operator)
+ {
+ $this->operator = $operator;
+ }
+ public function getOperator()
+ {
+ return $this->operator;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricFilterClause.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricFilterClause.php
new file mode 100644
index 00000000..ebdbad5b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricFilterClause.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_MetricFilterClause extends Google_Collection
+{
+ protected $collection_key = 'filters';
+ protected $filtersType = 'Google_Service_AnalyticsReporting_MetricFilter';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricHeader.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricHeader.php
new file mode 100644
index 00000000..04a84b96
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricHeader.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_MetricHeader extends Google_Collection
+{
+ protected $collection_key = 'pivotHeaders';
+ protected $metricHeaderEntriesType = 'Google_Service_AnalyticsReporting_MetricHeaderEntry';
+ protected $metricHeaderEntriesDataType = 'array';
+ protected $pivotHeadersType = 'Google_Service_AnalyticsReporting_PivotHeader';
+ protected $pivotHeadersDataType = 'array';
+
+ public function setMetricHeaderEntries($metricHeaderEntries)
+ {
+ $this->metricHeaderEntries = $metricHeaderEntries;
+ }
+ public function getMetricHeaderEntries()
+ {
+ return $this->metricHeaderEntries;
+ }
+ public function setPivotHeaders($pivotHeaders)
+ {
+ $this->pivotHeaders = $pivotHeaders;
+ }
+ public function getPivotHeaders()
+ {
+ return $this->pivotHeaders;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricHeaderEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricHeaderEntry.php
new file mode 100644
index 00000000..62ddbcef
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricHeaderEntry.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_MetricHeaderEntry extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/OrFiltersForSegment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/OrFiltersForSegment.php
new file mode 100644
index 00000000..a4bc7a61
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/OrFiltersForSegment.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_OrFiltersForSegment extends Google_Collection
+{
+ protected $collection_key = 'segmentFilterClauses';
+ protected $segmentFilterClausesType = 'Google_Service_AnalyticsReporting_SegmentFilterClause';
+ protected $segmentFilterClausesDataType = 'array';
+
+ public function setSegmentFilterClauses($segmentFilterClauses)
+ {
+ $this->segmentFilterClauses = $segmentFilterClauses;
+ }
+ public function getSegmentFilterClauses()
+ {
+ return $this->segmentFilterClauses;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/OrderBy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/OrderBy.php
new file mode 100644
index 00000000..0793be24
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/OrderBy.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_OrderBy extends Google_Model
+{
+ public $fieldName;
+ public $orderType;
+ public $sortOrder;
+
+ public function setFieldName($fieldName)
+ {
+ $this->fieldName = $fieldName;
+ }
+ public function getFieldName()
+ {
+ return $this->fieldName;
+ }
+ public function setOrderType($orderType)
+ {
+ $this->orderType = $orderType;
+ }
+ public function getOrderType()
+ {
+ return $this->orderType;
+ }
+ public function setSortOrder($sortOrder)
+ {
+ $this->sortOrder = $sortOrder;
+ }
+ public function getSortOrder()
+ {
+ return $this->sortOrder;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Pivot.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Pivot.php
new file mode 100644
index 00000000..cb412463
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Pivot.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_Pivot extends Google_Collection
+{
+ protected $collection_key = 'metrics';
+ protected $dimensionFilterClausesType = 'Google_Service_AnalyticsReporting_DimensionFilterClause';
+ protected $dimensionFilterClausesDataType = 'array';
+ protected $dimensionsType = 'Google_Service_AnalyticsReporting_Dimension';
+ protected $dimensionsDataType = 'array';
+ public $maxGroupCount;
+ protected $metricsType = 'Google_Service_AnalyticsReporting_Metric';
+ protected $metricsDataType = 'array';
+ public $startGroup;
+
+ public function setDimensionFilterClauses($dimensionFilterClauses)
+ {
+ $this->dimensionFilterClauses = $dimensionFilterClauses;
+ }
+ public function getDimensionFilterClauses()
+ {
+ return $this->dimensionFilterClauses;
+ }
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setMaxGroupCount($maxGroupCount)
+ {
+ $this->maxGroupCount = $maxGroupCount;
+ }
+ public function getMaxGroupCount()
+ {
+ return $this->maxGroupCount;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setStartGroup($startGroup)
+ {
+ $this->startGroup = $startGroup;
+ }
+ public function getStartGroup()
+ {
+ return $this->startGroup;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotHeader.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotHeader.php
new file mode 100644
index 00000000..4f3b1c01
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotHeader.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_PivotHeader extends Google_Collection
+{
+ protected $collection_key = 'pivotHeaderEntries';
+ protected $pivotHeaderEntriesType = 'Google_Service_AnalyticsReporting_PivotHeaderEntry';
+ protected $pivotHeaderEntriesDataType = 'array';
+ public $totalPivotGroupsCount;
+
+ public function setPivotHeaderEntries($pivotHeaderEntries)
+ {
+ $this->pivotHeaderEntries = $pivotHeaderEntries;
+ }
+ public function getPivotHeaderEntries()
+ {
+ return $this->pivotHeaderEntries;
+ }
+ public function setTotalPivotGroupsCount($totalPivotGroupsCount)
+ {
+ $this->totalPivotGroupsCount = $totalPivotGroupsCount;
+ }
+ public function getTotalPivotGroupsCount()
+ {
+ return $this->totalPivotGroupsCount;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotHeaderEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotHeaderEntry.php
new file mode 100644
index 00000000..2b74aefd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotHeaderEntry.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_PivotHeaderEntry extends Google_Collection
+{
+ protected $collection_key = 'dimensionValues';
+ public $dimensionNames;
+ public $dimensionValues;
+ protected $metricType = 'Google_Service_AnalyticsReporting_MetricHeaderEntry';
+ protected $metricDataType = '';
+
+ public function setDimensionNames($dimensionNames)
+ {
+ $this->dimensionNames = $dimensionNames;
+ }
+ public function getDimensionNames()
+ {
+ return $this->dimensionNames;
+ }
+ public function setDimensionValues($dimensionValues)
+ {
+ $this->dimensionValues = $dimensionValues;
+ }
+ public function getDimensionValues()
+ {
+ return $this->dimensionValues;
+ }
+ public function setMetric(Google_Service_AnalyticsReporting_MetricHeaderEntry $metric)
+ {
+ $this->metric = $metric;
+ }
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotValueRegion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotValueRegion.php
new file mode 100644
index 00000000..2cc4253f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotValueRegion.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_PivotValueRegion extends Google_Collection
+{
+ protected $collection_key = 'values';
+ public $values;
+
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Report.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Report.php
new file mode 100644
index 00000000..4aca26b4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Report.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_Report extends Google_Model
+{
+ protected $columnHeaderType = 'Google_Service_AnalyticsReporting_ColumnHeader';
+ protected $columnHeaderDataType = '';
+ protected $dataType = 'Google_Service_AnalyticsReporting_ReportData';
+ protected $dataDataType = '';
+ public $nextPageToken;
+
+ public function setColumnHeader(Google_Service_AnalyticsReporting_ColumnHeader $columnHeader)
+ {
+ $this->columnHeader = $columnHeader;
+ }
+ public function getColumnHeader()
+ {
+ return $this->columnHeader;
+ }
+ public function setData(Google_Service_AnalyticsReporting_ReportData $data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportData.php
new file mode 100644
index 00000000..81f3db2b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportData.php
@@ -0,0 +1,107 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_ReportData extends Google_Collection
+{
+ protected $collection_key = 'totals';
+ public $dataLastRefreshed;
+ public $isDataGolden;
+ protected $maximumsType = 'Google_Service_AnalyticsReporting_DateRangeValues';
+ protected $maximumsDataType = 'array';
+ protected $minimumsType = 'Google_Service_AnalyticsReporting_DateRangeValues';
+ protected $minimumsDataType = 'array';
+ public $rowCount;
+ protected $rowsType = 'Google_Service_AnalyticsReporting_ReportRow';
+ protected $rowsDataType = 'array';
+ public $samplesReadCounts;
+ public $samplingSpaceSizes;
+ protected $totalsType = 'Google_Service_AnalyticsReporting_DateRangeValues';
+ protected $totalsDataType = 'array';
+
+ public function setDataLastRefreshed($dataLastRefreshed)
+ {
+ $this->dataLastRefreshed = $dataLastRefreshed;
+ }
+ public function getDataLastRefreshed()
+ {
+ return $this->dataLastRefreshed;
+ }
+ public function setIsDataGolden($isDataGolden)
+ {
+ $this->isDataGolden = $isDataGolden;
+ }
+ public function getIsDataGolden()
+ {
+ return $this->isDataGolden;
+ }
+ public function setMaximums($maximums)
+ {
+ $this->maximums = $maximums;
+ }
+ public function getMaximums()
+ {
+ return $this->maximums;
+ }
+ public function setMinimums($minimums)
+ {
+ $this->minimums = $minimums;
+ }
+ public function getMinimums()
+ {
+ return $this->minimums;
+ }
+ 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 setSamplesReadCounts($samplesReadCounts)
+ {
+ $this->samplesReadCounts = $samplesReadCounts;
+ }
+ public function getSamplesReadCounts()
+ {
+ return $this->samplesReadCounts;
+ }
+ public function setSamplingSpaceSizes($samplingSpaceSizes)
+ {
+ $this->samplingSpaceSizes = $samplingSpaceSizes;
+ }
+ public function getSamplingSpaceSizes()
+ {
+ return $this->samplingSpaceSizes;
+ }
+ public function setTotals($totals)
+ {
+ $this->totals = $totals;
+ }
+ public function getTotals()
+ {
+ return $this->totals;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportRequest.php
new file mode 100644
index 00000000..a5b7dcdf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportRequest.php
@@ -0,0 +1,184 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_ReportRequest extends Google_Collection
+{
+ protected $collection_key = 'segments';
+ protected $cohortGroupType = 'Google_Service_AnalyticsReporting_CohortGroup';
+ protected $cohortGroupDataType = '';
+ protected $dateRangesType = 'Google_Service_AnalyticsReporting_DateRange';
+ protected $dateRangesDataType = 'array';
+ protected $dimensionFilterClausesType = 'Google_Service_AnalyticsReporting_DimensionFilterClause';
+ protected $dimensionFilterClausesDataType = 'array';
+ protected $dimensionsType = 'Google_Service_AnalyticsReporting_Dimension';
+ protected $dimensionsDataType = 'array';
+ public $filtersExpression;
+ public $hideTotals;
+ public $hideValueRanges;
+ public $includeEmptyRows;
+ protected $metricFilterClausesType = 'Google_Service_AnalyticsReporting_MetricFilterClause';
+ protected $metricFilterClausesDataType = 'array';
+ protected $metricsType = 'Google_Service_AnalyticsReporting_Metric';
+ protected $metricsDataType = 'array';
+ protected $orderBysType = 'Google_Service_AnalyticsReporting_OrderBy';
+ protected $orderBysDataType = 'array';
+ public $pageSize;
+ public $pageToken;
+ protected $pivotsType = 'Google_Service_AnalyticsReporting_Pivot';
+ protected $pivotsDataType = 'array';
+ public $samplingLevel;
+ protected $segmentsType = 'Google_Service_AnalyticsReporting_Segment';
+ protected $segmentsDataType = 'array';
+ public $viewId;
+
+ public function setCohortGroup(Google_Service_AnalyticsReporting_CohortGroup $cohortGroup)
+ {
+ $this->cohortGroup = $cohortGroup;
+ }
+ public function getCohortGroup()
+ {
+ return $this->cohortGroup;
+ }
+ public function setDateRanges($dateRanges)
+ {
+ $this->dateRanges = $dateRanges;
+ }
+ public function getDateRanges()
+ {
+ return $this->dateRanges;
+ }
+ public function setDimensionFilterClauses($dimensionFilterClauses)
+ {
+ $this->dimensionFilterClauses = $dimensionFilterClauses;
+ }
+ public function getDimensionFilterClauses()
+ {
+ return $this->dimensionFilterClauses;
+ }
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setFiltersExpression($filtersExpression)
+ {
+ $this->filtersExpression = $filtersExpression;
+ }
+ public function getFiltersExpression()
+ {
+ return $this->filtersExpression;
+ }
+ public function setHideTotals($hideTotals)
+ {
+ $this->hideTotals = $hideTotals;
+ }
+ public function getHideTotals()
+ {
+ return $this->hideTotals;
+ }
+ public function setHideValueRanges($hideValueRanges)
+ {
+ $this->hideValueRanges = $hideValueRanges;
+ }
+ public function getHideValueRanges()
+ {
+ return $this->hideValueRanges;
+ }
+ public function setIncludeEmptyRows($includeEmptyRows)
+ {
+ $this->includeEmptyRows = $includeEmptyRows;
+ }
+ public function getIncludeEmptyRows()
+ {
+ return $this->includeEmptyRows;
+ }
+ public function setMetricFilterClauses($metricFilterClauses)
+ {
+ $this->metricFilterClauses = $metricFilterClauses;
+ }
+ public function getMetricFilterClauses()
+ {
+ return $this->metricFilterClauses;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setOrderBys($orderBys)
+ {
+ $this->orderBys = $orderBys;
+ }
+ public function getOrderBys()
+ {
+ return $this->orderBys;
+ }
+ 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 setPivots($pivots)
+ {
+ $this->pivots = $pivots;
+ }
+ public function getPivots()
+ {
+ return $this->pivots;
+ }
+ public function setSamplingLevel($samplingLevel)
+ {
+ $this->samplingLevel = $samplingLevel;
+ }
+ public function getSamplingLevel()
+ {
+ return $this->samplingLevel;
+ }
+ public function setSegments($segments)
+ {
+ $this->segments = $segments;
+ }
+ public function getSegments()
+ {
+ return $this->segments;
+ }
+ public function setViewId($viewId)
+ {
+ $this->viewId = $viewId;
+ }
+ public function getViewId()
+ {
+ return $this->viewId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportRow.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportRow.php
new file mode 100644
index 00000000..ee7224fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportRow.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_ReportRow extends Google_Collection
+{
+ protected $collection_key = 'metrics';
+ public $dimensions;
+ protected $metricsType = 'Google_Service_AnalyticsReporting_DateRangeValues';
+ protected $metricsDataType = 'array';
+
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Resource/Reports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Resource/Reports.php
new file mode 100644
index 00000000..0fd6f6e3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Resource/Reports.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsreportingService = new Google_Service_AnalyticsReporting(...);
+ * $reports = $analyticsreportingService->reports;
+ * </code>
+ */
+class Google_Service_AnalyticsReporting_Resource_Reports extends Google_Service_Resource
+{
+ /**
+ * Returns the Analytics data. (reports.batchGet)
+ *
+ * @param Google_Service_AnalyticsReporting_GetReportsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AnalyticsReporting_GetReportsResponse
+ */
+ public function batchGet(Google_Service_AnalyticsReporting_GetReportsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchGet', array($params), "Google_Service_AnalyticsReporting_GetReportsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Segment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Segment.php
new file mode 100644
index 00000000..5c4eda89
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Segment.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_Segment extends Google_Model
+{
+ protected $dynamicSegmentType = 'Google_Service_AnalyticsReporting_DynamicSegment';
+ protected $dynamicSegmentDataType = '';
+ public $segmentId;
+
+ public function setDynamicSegment(Google_Service_AnalyticsReporting_DynamicSegment $dynamicSegment)
+ {
+ $this->dynamicSegment = $dynamicSegment;
+ }
+ public function getDynamicSegment()
+ {
+ return $this->dynamicSegment;
+ }
+ public function setSegmentId($segmentId)
+ {
+ $this->segmentId = $segmentId;
+ }
+ public function getSegmentId()
+ {
+ return $this->segmentId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentDefinition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentDefinition.php
new file mode 100644
index 00000000..fcd3d5b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentDefinition.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_SegmentDefinition extends Google_Collection
+{
+ protected $collection_key = 'segmentFilters';
+ protected $segmentFiltersType = 'Google_Service_AnalyticsReporting_SegmentFilter';
+ protected $segmentFiltersDataType = 'array';
+
+ public function setSegmentFilters($segmentFilters)
+ {
+ $this->segmentFilters = $segmentFilters;
+ }
+ public function getSegmentFilters()
+ {
+ return $this->segmentFilters;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentDimensionFilter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentDimensionFilter.php
new file mode 100644
index 00000000..d6424e15
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentDimensionFilter.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_SegmentDimensionFilter extends Google_Collection
+{
+ protected $collection_key = 'expressions';
+ public $caseSensitive;
+ public $dimensionName;
+ public $expressions;
+ public $maxComparisonValue;
+ public $minComparisonValue;
+ public $operator;
+
+ public function setCaseSensitive($caseSensitive)
+ {
+ $this->caseSensitive = $caseSensitive;
+ }
+ public function getCaseSensitive()
+ {
+ return $this->caseSensitive;
+ }
+ public function setDimensionName($dimensionName)
+ {
+ $this->dimensionName = $dimensionName;
+ }
+ public function getDimensionName()
+ {
+ return $this->dimensionName;
+ }
+ public function setExpressions($expressions)
+ {
+ $this->expressions = $expressions;
+ }
+ public function getExpressions()
+ {
+ return $this->expressions;
+ }
+ public function setMaxComparisonValue($maxComparisonValue)
+ {
+ $this->maxComparisonValue = $maxComparisonValue;
+ }
+ public function getMaxComparisonValue()
+ {
+ return $this->maxComparisonValue;
+ }
+ public function setMinComparisonValue($minComparisonValue)
+ {
+ $this->minComparisonValue = $minComparisonValue;
+ }
+ public function getMinComparisonValue()
+ {
+ return $this->minComparisonValue;
+ }
+ public function setOperator($operator)
+ {
+ $this->operator = $operator;
+ }
+ public function getOperator()
+ {
+ return $this->operator;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentFilter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentFilter.php
new file mode 100644
index 00000000..9206784c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentFilter.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_SegmentFilter extends Google_Model
+{
+ public $not;
+ protected $sequenceSegmentType = 'Google_Service_AnalyticsReporting_SequenceSegment';
+ protected $sequenceSegmentDataType = '';
+ protected $simpleSegmentType = 'Google_Service_AnalyticsReporting_SimpleSegment';
+ protected $simpleSegmentDataType = '';
+
+ public function setNot($not)
+ {
+ $this->not = $not;
+ }
+ public function getNot()
+ {
+ return $this->not;
+ }
+ public function setSequenceSegment(Google_Service_AnalyticsReporting_SequenceSegment $sequenceSegment)
+ {
+ $this->sequenceSegment = $sequenceSegment;
+ }
+ public function getSequenceSegment()
+ {
+ return $this->sequenceSegment;
+ }
+ public function setSimpleSegment(Google_Service_AnalyticsReporting_SimpleSegment $simpleSegment)
+ {
+ $this->simpleSegment = $simpleSegment;
+ }
+ public function getSimpleSegment()
+ {
+ return $this->simpleSegment;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentFilterClause.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentFilterClause.php
new file mode 100644
index 00000000..709a1017
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentFilterClause.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_SegmentFilterClause extends Google_Model
+{
+ protected $dimensionFilterType = 'Google_Service_AnalyticsReporting_SegmentDimensionFilter';
+ protected $dimensionFilterDataType = '';
+ protected $metricFilterType = 'Google_Service_AnalyticsReporting_SegmentMetricFilter';
+ protected $metricFilterDataType = '';
+ public $not;
+
+ public function setDimensionFilter(Google_Service_AnalyticsReporting_SegmentDimensionFilter $dimensionFilter)
+ {
+ $this->dimensionFilter = $dimensionFilter;
+ }
+ public function getDimensionFilter()
+ {
+ return $this->dimensionFilter;
+ }
+ public function setMetricFilter(Google_Service_AnalyticsReporting_SegmentMetricFilter $metricFilter)
+ {
+ $this->metricFilter = $metricFilter;
+ }
+ public function getMetricFilter()
+ {
+ return $this->metricFilter;
+ }
+ public function setNot($not)
+ {
+ $this->not = $not;
+ }
+ public function getNot()
+ {
+ return $this->not;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentMetricFilter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentMetricFilter.php
new file mode 100644
index 00000000..f0d91897
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentMetricFilter.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_SegmentMetricFilter extends Google_Model
+{
+ public $comparisonValue;
+ public $maxComparisonValue;
+ public $metricName;
+ public $operator;
+ public $scope;
+
+ public function setComparisonValue($comparisonValue)
+ {
+ $this->comparisonValue = $comparisonValue;
+ }
+ public function getComparisonValue()
+ {
+ return $this->comparisonValue;
+ }
+ public function setMaxComparisonValue($maxComparisonValue)
+ {
+ $this->maxComparisonValue = $maxComparisonValue;
+ }
+ public function getMaxComparisonValue()
+ {
+ return $this->maxComparisonValue;
+ }
+ public function setMetricName($metricName)
+ {
+ $this->metricName = $metricName;
+ }
+ public function getMetricName()
+ {
+ return $this->metricName;
+ }
+ public function setOperator($operator)
+ {
+ $this->operator = $operator;
+ }
+ public function getOperator()
+ {
+ return $this->operator;
+ }
+ public function setScope($scope)
+ {
+ $this->scope = $scope;
+ }
+ public function getScope()
+ {
+ return $this->scope;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentSequenceStep.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentSequenceStep.php
new file mode 100644
index 00000000..adeb2a84
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentSequenceStep.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_SegmentSequenceStep extends Google_Collection
+{
+ protected $collection_key = 'orFiltersForSegment';
+ public $matchType;
+ protected $orFiltersForSegmentType = 'Google_Service_AnalyticsReporting_OrFiltersForSegment';
+ protected $orFiltersForSegmentDataType = 'array';
+
+ public function setMatchType($matchType)
+ {
+ $this->matchType = $matchType;
+ }
+ public function getMatchType()
+ {
+ return $this->matchType;
+ }
+ public function setOrFiltersForSegment($orFiltersForSegment)
+ {
+ $this->orFiltersForSegment = $orFiltersForSegment;
+ }
+ public function getOrFiltersForSegment()
+ {
+ return $this->orFiltersForSegment;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SequenceSegment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SequenceSegment.php
new file mode 100644
index 00000000..5ebc30f7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SequenceSegment.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_SequenceSegment extends Google_Collection
+{
+ protected $collection_key = 'segmentSequenceSteps';
+ public $firstStepShouldMatchFirstHit;
+ protected $segmentSequenceStepsType = 'Google_Service_AnalyticsReporting_SegmentSequenceStep';
+ protected $segmentSequenceStepsDataType = 'array';
+
+ public function setFirstStepShouldMatchFirstHit($firstStepShouldMatchFirstHit)
+ {
+ $this->firstStepShouldMatchFirstHit = $firstStepShouldMatchFirstHit;
+ }
+ public function getFirstStepShouldMatchFirstHit()
+ {
+ return $this->firstStepShouldMatchFirstHit;
+ }
+ public function setSegmentSequenceSteps($segmentSequenceSteps)
+ {
+ $this->segmentSequenceSteps = $segmentSequenceSteps;
+ }
+ public function getSegmentSequenceSteps()
+ {
+ return $this->segmentSequenceSteps;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SimpleSegment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SimpleSegment.php
new file mode 100644
index 00000000..af8f4562
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SimpleSegment.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AnalyticsReporting_SimpleSegment extends Google_Collection
+{
+ protected $collection_key = 'orFiltersForSegment';
+ protected $orFiltersForSegmentType = 'Google_Service_AnalyticsReporting_OrFiltersForSegment';
+ protected $orFiltersForSegmentDataType = 'array';
+
+ public function setOrFiltersForSegment($orFiltersForSegment)
+ {
+ $this->orFiltersForSegment = $orFiltersForSegment;
+ }
+ public function getOrFiltersForSegment()
+ {
+ return $this->orFiltersForSegment;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise.php
new file mode 100644
index 00000000..791f403c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise.php
@@ -0,0 +1,1454 @@
+<?php
+/*
+ * Copyright 2016 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 AndroidEnterprise (v1).
+ *
+ * <p>
+ * Manages the deployment of apps to Android for Work users.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/android/work/play/emm-api" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_AndroidEnterprise extends Google_Service
+{
+ /** Manage corporate Android devices. */
+ const ANDROIDENTERPRISE =
+ "https://www.googleapis.com/auth/androidenterprise";
+
+ public $devices;
+ public $enterprises;
+ public $entitlements;
+ public $grouplicenses;
+ public $grouplicenseusers;
+ public $installs;
+ public $managedconfigurationsfordevice;
+ public $managedconfigurationsforuser;
+ public $permissions;
+ public $products;
+ public $serviceaccountkeys;
+ public $storelayoutclusters;
+ public $storelayoutpages;
+ public $users;
+
+ /**
+ * Constructs the internal representation of the AndroidEnterprise service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'androidenterprise/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'androidenterprise';
+
+ $this->devices = new Google_Service_AndroidEnterprise_Resource_Devices(
+ $this,
+ $this->serviceName,
+ 'devices',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getState' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setState' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->enterprises = new Google_Service_AndroidEnterprise_Resource_Enterprises(
+ $this,
+ $this->serviceName,
+ 'enterprises',
+ array(
+ 'methods' => array(
+ 'acknowledgeNotificationSet' => array(
+ 'path' => 'enterprises/acknowledgeNotificationSet',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'notificationSetId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'completeSignup' => array(
+ 'path' => 'enterprises/completeSignup',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'completionToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'enterpriseToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'createWebToken' => array(
+ 'path' => 'enterprises/{enterpriseId}/createWebToken',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'enterprises/{enterpriseId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'enroll' => array(
+ 'path' => 'enterprises/enroll',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'generateSignupUrl' => array(
+ 'path' => 'enterprises/signupUrl',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'callbackUrl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'enterprises/{enterpriseId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getServiceAccount' => array(
+ 'path' => 'enterprises/{enterpriseId}/serviceAccount',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'keyType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getStoreLayout' => array(
+ 'path' => 'enterprises/{enterpriseId}/storeLayout',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'enterprises',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'enterprises',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'domain' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'pullNotificationSet' => array(
+ 'path' => 'enterprises/pullNotificationSet',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'requestMode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'sendTestPushNotification' => array(
+ 'path' => 'enterprises/{enterpriseId}/sendTestPushNotification',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setAccount' => array(
+ 'path' => 'enterprises/{enterpriseId}/account',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setStoreLayout' => array(
+ 'path' => 'enterprises/{enterpriseId}/storeLayout',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'unenroll' => array(
+ 'path' => 'enterprises/{enterpriseId}/unenroll',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->entitlements = new Google_Service_AndroidEnterprise_Resource_Entitlements(
+ $this,
+ $this->serviceName,
+ 'entitlements',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'entitlementId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'entitlementId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'entitlementId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'install' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'entitlementId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'install' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->grouplicenses = new Google_Service_AndroidEnterprise_Resource_Grouplicenses(
+ $this,
+ $this->serviceName,
+ 'grouplicenses',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'groupLicenseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'enterprises/{enterpriseId}/groupLicenses',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->grouplicenseusers = new Google_Service_AndroidEnterprise_Resource_Grouplicenseusers(
+ $this,
+ $this->serviceName,
+ 'grouplicenseusers',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'groupLicenseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->installs = new Google_Service_AndroidEnterprise_Resource_Installs(
+ $this,
+ $this->serviceName,
+ 'installs',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'installId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'installId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'installId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'installId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->managedconfigurationsfordevice = new Google_Service_AndroidEnterprise_Resource_Managedconfigurationsfordevice(
+ $this,
+ $this->serviceName,
+ 'managedconfigurationsfordevice',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'managedConfigurationForDeviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'managedConfigurationForDeviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'managedConfigurationForDeviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'managedConfigurationForDeviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->managedconfigurationsforuser = new Google_Service_AndroidEnterprise_Resource_Managedconfigurationsforuser(
+ $this,
+ $this->serviceName,
+ 'managedconfigurationsforuser',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'managedConfigurationForUserId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'managedConfigurationForUserId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'managedConfigurationForUserId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'managedConfigurationForUserId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->permissions = new Google_Service_AndroidEnterprise_Resource_Permissions(
+ $this,
+ $this->serviceName,
+ 'permissions',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'permissions/{permissionId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'permissionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->products = new Google_Service_AndroidEnterprise_Resource_Products(
+ $this,
+ $this->serviceName,
+ 'products',
+ array(
+ 'methods' => array(
+ 'approve' => array(
+ 'path' => 'enterprises/{enterpriseId}/products/{productId}/approve',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'generateApprovalUrl' => array(
+ 'path' => 'enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'languageCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'enterprises/{enterpriseId}/products/{productId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getAppRestrictionsSchema' => array(
+ 'path' => 'enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getPermissions' => array(
+ 'path' => 'enterprises/{enterpriseId}/products/{productId}/permissions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'enterprises/{enterpriseId}/products',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'approved' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'unapprove' => array(
+ 'path' => 'enterprises/{enterpriseId}/products/{productId}/unapprove',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->serviceaccountkeys = new Google_Service_AndroidEnterprise_Resource_Serviceaccountkeys(
+ $this,
+ $this->serviceName,
+ 'serviceaccountkeys',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'enterprises/{enterpriseId}/serviceAccountKeys/{keyId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'keyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'enterprises/{enterpriseId}/serviceAccountKeys',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'enterprises/{enterpriseId}/serviceAccountKeys',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->storelayoutclusters = new Google_Service_AndroidEnterprise_Resource_Storelayoutclusters(
+ $this,
+ $this->serviceName,
+ 'storelayoutclusters',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->storelayoutpages = new Google_Service_AndroidEnterprise_Resource_Storelayoutpages(
+ $this,
+ $this->serviceName,
+ 'storelayoutpages',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'enterprises/{enterpriseId}/storeLayout/pages',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'enterprises/{enterpriseId}/storeLayout/pages',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users = new Google_Service_AndroidEnterprise_Resource_Users(
+ $this,
+ $this->serviceName,
+ 'users',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'generateAuthenticationToken' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/authenticationToken',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'generateToken' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/token',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getAvailableProductSet' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/availableProductSet',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'enterprises/{enterpriseId}/users',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'enterprises/{enterpriseId}/users',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'email' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'revokeToken' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/token',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setAvailableProductSet' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}/availableProductSet',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'enterprises/{enterpriseId}/users/{userId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'enterpriseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Administrator.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Administrator.php
new file mode 100644
index 00000000..8e29748f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Administrator.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_Administrator extends Google_Model
+{
+ public $email;
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AdministratorWebToken.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AdministratorWebToken.php
new file mode 100644
index 00000000..19fdfb42
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AdministratorWebToken.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_AdministratorWebToken extends Google_Model
+{
+ public $kind;
+ public $token;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AdministratorWebTokenSpec.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AdministratorWebTokenSpec.php
new file mode 100644
index 00000000..c2269b19
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AdministratorWebTokenSpec.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_AdministratorWebTokenSpec extends Google_Collection
+{
+ protected $collection_key = 'permission';
+ public $kind;
+ public $parent;
+ public $permission;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setParent($parent)
+ {
+ $this->parent = $parent;
+ }
+ public function getParent()
+ {
+ return $this->parent;
+ }
+ public function setPermission($permission)
+ {
+ $this->permission = $permission;
+ }
+ public function getPermission()
+ {
+ return $this->permission;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchema.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchema.php
new file mode 100644
index 00000000..fc64b129
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchema.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_AppRestrictionsSchema extends Google_Collection
+{
+ protected $collection_key = 'restrictions';
+ public $kind;
+ protected $restrictionsType = 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction';
+ protected $restrictionsDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRestrictions($restrictions)
+ {
+ $this->restrictions = $restrictions;
+ }
+ public function getRestrictions()
+ {
+ return $this->restrictions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaChangeEvent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaChangeEvent.php
new file mode 100644
index 00000000..795a180f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaChangeEvent.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_AppRestrictionsSchemaChangeEvent extends Google_Model
+{
+ public $productId;
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaRestriction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaRestriction.php
new file mode 100644
index 00000000..f1701ce9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaRestriction.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction extends Google_Collection
+{
+ protected $collection_key = 'nestedRestriction';
+ protected $defaultValueType = 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue';
+ protected $defaultValueDataType = '';
+ public $description;
+ public $entry;
+ public $entryValue;
+ public $key;
+ protected $nestedRestrictionType = 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction';
+ protected $nestedRestrictionDataType = 'array';
+ public $restrictionType;
+ public $title;
+
+ public function setDefaultValue(Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue $defaultValue)
+ {
+ $this->defaultValue = $defaultValue;
+ }
+ public function getDefaultValue()
+ {
+ return $this->defaultValue;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEntry($entry)
+ {
+ $this->entry = $entry;
+ }
+ public function getEntry()
+ {
+ return $this->entry;
+ }
+ public function setEntryValue($entryValue)
+ {
+ $this->entryValue = $entryValue;
+ }
+ public function getEntryValue()
+ {
+ return $this->entryValue;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setNestedRestriction($nestedRestriction)
+ {
+ $this->nestedRestriction = $nestedRestriction;
+ }
+ public function getNestedRestriction()
+ {
+ return $this->nestedRestriction;
+ }
+ public function setRestrictionType($restrictionType)
+ {
+ $this->restrictionType = $restrictionType;
+ }
+ public function getRestrictionType()
+ {
+ return $this->restrictionType;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaRestrictionRestrictionValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaRestrictionRestrictionValue.php
new file mode 100644
index 00000000..8a7219f5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaRestrictionRestrictionValue.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue extends Google_Collection
+{
+ protected $collection_key = 'valueMultiselect';
+ public $type;
+ public $valueBool;
+ public $valueInteger;
+ public $valueMultiselect;
+ public $valueString;
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValueBool($valueBool)
+ {
+ $this->valueBool = $valueBool;
+ }
+ public function getValueBool()
+ {
+ return $this->valueBool;
+ }
+ public function setValueInteger($valueInteger)
+ {
+ $this->valueInteger = $valueInteger;
+ }
+ public function getValueInteger()
+ {
+ return $this->valueInteger;
+ }
+ public function setValueMultiselect($valueMultiselect)
+ {
+ $this->valueMultiselect = $valueMultiselect;
+ }
+ public function getValueMultiselect()
+ {
+ return $this->valueMultiselect;
+ }
+ public function setValueString($valueString)
+ {
+ $this->valueString = $valueString;
+ }
+ public function getValueString()
+ {
+ return $this->valueString;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppUpdateEvent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppUpdateEvent.php
new file mode 100644
index 00000000..0c32f9d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppUpdateEvent.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_AppUpdateEvent extends Google_Model
+{
+ public $productId;
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppVersion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppVersion.php
new file mode 100644
index 00000000..7d588b9f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppVersion.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_AppVersion extends Google_Model
+{
+ public $versionCode;
+ public $versionString;
+
+ public function setVersionCode($versionCode)
+ {
+ $this->versionCode = $versionCode;
+ }
+ public function getVersionCode()
+ {
+ return $this->versionCode;
+ }
+ public function setVersionString($versionString)
+ {
+ $this->versionString = $versionString;
+ }
+ public function getVersionString()
+ {
+ return $this->versionString;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ApprovalUrlInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ApprovalUrlInfo.php
new file mode 100644
index 00000000..21a32e4f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ApprovalUrlInfo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ApprovalUrlInfo extends Google_Model
+{
+ public $approvalUrl;
+ public $kind;
+
+ public function setApprovalUrl($approvalUrl)
+ {
+ $this->approvalUrl = $approvalUrl;
+ }
+ public function getApprovalUrl()
+ {
+ return $this->approvalUrl;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AuthenticationToken.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AuthenticationToken.php
new file mode 100644
index 00000000..02d94a76
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AuthenticationToken.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_AuthenticationToken extends Google_Model
+{
+ public $kind;
+ public $token;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Collection.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Collection.php
new file mode 100644
index 00000000..12639e44
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Collection.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_Collection extends Google_Collection
+{
+ protected $collection_key = 'productId';
+ public $collectionId;
+ public $kind;
+ public $name;
+ public $productId;
+ public $visibility;
+
+ public function setCollectionId($collectionId)
+ {
+ $this->collectionId = $collectionId;
+ }
+ public function getCollectionId()
+ {
+ return $this->collectionId;
+ }
+ 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 setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/CollectionViewersListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/CollectionViewersListResponse.php
new file mode 100644
index 00000000..7ebeee4e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/CollectionViewersListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_CollectionViewersListResponse extends Google_Collection
+{
+ protected $collection_key = 'user';
+ public $kind;
+ protected $userType = 'Google_Service_AndroidEnterprise_User';
+ protected $userDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/CollectionsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/CollectionsListResponse.php
new file mode 100644
index 00000000..5fb82d31
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/CollectionsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_CollectionsListResponse extends Google_Collection
+{
+ protected $collection_key = 'collection';
+ protected $collectionType = 'Google_Service_AndroidEnterprise_Collection';
+ protected $collectionDataType = 'array';
+ public $kind;
+
+ public function setCollection($collection)
+ {
+ $this->collection = $collection;
+ }
+ public function getCollection()
+ {
+ return $this->collection;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Device.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Device.php
new file mode 100644
index 00000000..2d9b5e9f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Device.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_Device extends Google_Model
+{
+ public $androidId;
+ public $kind;
+ public $managementType;
+
+ public function setAndroidId($androidId)
+ {
+ $this->androidId = $androidId;
+ }
+ public function getAndroidId()
+ {
+ return $this->androidId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setManagementType($managementType)
+ {
+ $this->managementType = $managementType;
+ }
+ public function getManagementType()
+ {
+ return $this->managementType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/DeviceState.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/DeviceState.php
new file mode 100644
index 00000000..c186deb6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/DeviceState.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_DeviceState extends Google_Model
+{
+ public $accountState;
+ public $kind;
+
+ public function setAccountState($accountState)
+ {
+ $this->accountState = $accountState;
+ }
+ public function getAccountState()
+ {
+ return $this->accountState;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/DevicesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/DevicesListResponse.php
new file mode 100644
index 00000000..1f5db7b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/DevicesListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_DevicesListResponse extends Google_Collection
+{
+ protected $collection_key = 'device';
+ protected $deviceType = 'Google_Service_AndroidEnterprise_Device';
+ protected $deviceDataType = 'array';
+ public $kind;
+
+ public function setDevice($device)
+ {
+ $this->device = $device;
+ }
+ public function getDevice()
+ {
+ return $this->device;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Enterprise.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Enterprise.php
new file mode 100644
index 00000000..cd315106
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Enterprise.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_Enterprise extends Google_Collection
+{
+ protected $collection_key = 'administrator';
+ protected $administratorType = 'Google_Service_AndroidEnterprise_Administrator';
+ protected $administratorDataType = 'array';
+ public $id;
+ public $kind;
+ public $name;
+ public $primaryDomain;
+
+ public function setAdministrator($administrator)
+ {
+ $this->administrator = $administrator;
+ }
+ public function getAdministrator()
+ {
+ return $this->administrator;
+ }
+ 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 setPrimaryDomain($primaryDomain)
+ {
+ $this->primaryDomain = $primaryDomain;
+ }
+ public function getPrimaryDomain()
+ {
+ return $this->primaryDomain;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterpriseAccount.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterpriseAccount.php
new file mode 100644
index 00000000..5057cff7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterpriseAccount.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_EnterpriseAccount extends Google_Model
+{
+ public $accountEmail;
+ public $kind;
+
+ public function setAccountEmail($accountEmail)
+ {
+ $this->accountEmail = $accountEmail;
+ }
+ public function getAccountEmail()
+ {
+ return $this->accountEmail;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterprisesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterprisesListResponse.php
new file mode 100644
index 00000000..025a4c2f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterprisesListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_EnterprisesListResponse extends Google_Collection
+{
+ protected $collection_key = 'enterprise';
+ protected $enterpriseType = 'Google_Service_AndroidEnterprise_Enterprise';
+ protected $enterpriseDataType = 'array';
+ public $kind;
+
+ public function setEnterprise($enterprise)
+ {
+ $this->enterprise = $enterprise;
+ }
+ public function getEnterprise()
+ {
+ return $this->enterprise;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterprisesSendTestPushNotificationResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterprisesSendTestPushNotificationResponse.php
new file mode 100644
index 00000000..ae1cb870
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterprisesSendTestPushNotificationResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse extends Google_Model
+{
+ public $messageId;
+ public $topicName;
+
+ public function setMessageId($messageId)
+ {
+ $this->messageId = $messageId;
+ }
+ public function getMessageId()
+ {
+ return $this->messageId;
+ }
+ public function setTopicName($topicName)
+ {
+ $this->topicName = $topicName;
+ }
+ public function getTopicName()
+ {
+ return $this->topicName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Entitlement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Entitlement.php
new file mode 100644
index 00000000..098537cf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Entitlement.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_Entitlement extends Google_Model
+{
+ public $kind;
+ public $productId;
+ public $reason;
+
+ 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 setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EntitlementsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EntitlementsListResponse.php
new file mode 100644
index 00000000..bab3d685
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EntitlementsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_EntitlementsListResponse extends Google_Collection
+{
+ protected $collection_key = 'entitlement';
+ protected $entitlementType = 'Google_Service_AndroidEnterprise_Entitlement';
+ protected $entitlementDataType = 'array';
+ public $kind;
+
+ public function setEntitlement($entitlement)
+ {
+ $this->entitlement = $entitlement;
+ }
+ public function getEntitlement()
+ {
+ return $this->entitlement;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicense.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicense.php
new file mode 100644
index 00000000..ebce1eed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicense.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_GroupLicense extends Google_Model
+{
+ public $acquisitionKind;
+ public $approval;
+ public $kind;
+ public $numProvisioned;
+ public $numPurchased;
+ public $productId;
+
+ public function setAcquisitionKind($acquisitionKind)
+ {
+ $this->acquisitionKind = $acquisitionKind;
+ }
+ public function getAcquisitionKind()
+ {
+ return $this->acquisitionKind;
+ }
+ public function setApproval($approval)
+ {
+ $this->approval = $approval;
+ }
+ public function getApproval()
+ {
+ return $this->approval;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNumProvisioned($numProvisioned)
+ {
+ $this->numProvisioned = $numProvisioned;
+ }
+ public function getNumProvisioned()
+ {
+ return $this->numProvisioned;
+ }
+ public function setNumPurchased($numPurchased)
+ {
+ $this->numPurchased = $numPurchased;
+ }
+ public function getNumPurchased()
+ {
+ return $this->numPurchased;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicenseUsersListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicenseUsersListResponse.php
new file mode 100644
index 00000000..b0c506a2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicenseUsersListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse extends Google_Collection
+{
+ protected $collection_key = 'user';
+ public $kind;
+ protected $userType = 'Google_Service_AndroidEnterprise_User';
+ protected $userDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicensesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicensesListResponse.php
new file mode 100644
index 00000000..a8a4f087
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicensesListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_GroupLicensesListResponse extends Google_Collection
+{
+ protected $collection_key = 'groupLicense';
+ protected $groupLicenseType = 'Google_Service_AndroidEnterprise_GroupLicense';
+ protected $groupLicenseDataType = 'array';
+ public $kind;
+
+ public function setGroupLicense($groupLicense)
+ {
+ $this->groupLicense = $groupLicense;
+ }
+ public function getGroupLicense()
+ {
+ return $this->groupLicense;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Install.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Install.php
new file mode 100644
index 00000000..de9fef90
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Install.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_Install extends Google_Model
+{
+ public $installState;
+ public $kind;
+ public $productId;
+ public $versionCode;
+
+ public function setInstallState($installState)
+ {
+ $this->installState = $installState;
+ }
+ public function getInstallState()
+ {
+ return $this->installState;
+ }
+ 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 setVersionCode($versionCode)
+ {
+ $this->versionCode = $versionCode;
+ }
+ public function getVersionCode()
+ {
+ return $this->versionCode;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/InstallFailureEvent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/InstallFailureEvent.php
new file mode 100644
index 00000000..cb7e9bbd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/InstallFailureEvent.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_InstallFailureEvent extends Google_Model
+{
+ public $deviceId;
+ public $failureDetails;
+ public $failureReason;
+ public $productId;
+ public $userId;
+
+ public function setDeviceId($deviceId)
+ {
+ $this->deviceId = $deviceId;
+ }
+ public function getDeviceId()
+ {
+ return $this->deviceId;
+ }
+ public function setFailureDetails($failureDetails)
+ {
+ $this->failureDetails = $failureDetails;
+ }
+ public function getFailureDetails()
+ {
+ return $this->failureDetails;
+ }
+ public function setFailureReason($failureReason)
+ {
+ $this->failureReason = $failureReason;
+ }
+ public function getFailureReason()
+ {
+ return $this->failureReason;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/InstallsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/InstallsListResponse.php
new file mode 100644
index 00000000..f437011e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/InstallsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_InstallsListResponse extends Google_Collection
+{
+ protected $collection_key = 'install';
+ protected $installType = 'Google_Service_AndroidEnterprise_Install';
+ protected $installDataType = 'array';
+ public $kind;
+
+ public function setInstall($install)
+ {
+ $this->install = $install;
+ }
+ public function getInstall()
+ {
+ return $this->install;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/LocalizedText.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/LocalizedText.php
new file mode 100644
index 00000000..a974b0ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/LocalizedText.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_LocalizedText extends Google_Model
+{
+ public $locale;
+ public $text;
+
+ public function setLocale($locale)
+ {
+ $this->locale = $locale;
+ }
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfiguration.php
new file mode 100644
index 00000000..b2a66d70
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfiguration.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ManagedConfiguration extends Google_Collection
+{
+ protected $collection_key = 'managedProperty';
+ public $kind;
+ protected $managedPropertyType = 'Google_Service_AndroidEnterprise_ManagedProperty';
+ protected $managedPropertyDataType = 'array';
+ public $productId;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setManagedProperty($managedProperty)
+ {
+ $this->managedProperty = $managedProperty;
+ }
+ public function getManagedProperty()
+ {
+ return $this->managedProperty;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfigurationsForDeviceListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfigurationsForDeviceListResponse.php
new file mode 100644
index 00000000..b14134f6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfigurationsForDeviceListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ManagedConfigurationsForDeviceListResponse extends Google_Collection
+{
+ protected $collection_key = 'managedConfigurationForDevice';
+ public $kind;
+ protected $managedConfigurationForDeviceType = 'Google_Service_AndroidEnterprise_ManagedConfiguration';
+ protected $managedConfigurationForDeviceDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setManagedConfigurationForDevice($managedConfigurationForDevice)
+ {
+ $this->managedConfigurationForDevice = $managedConfigurationForDevice;
+ }
+ public function getManagedConfigurationForDevice()
+ {
+ return $this->managedConfigurationForDevice;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfigurationsForUserListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfigurationsForUserListResponse.php
new file mode 100644
index 00000000..ce18d4ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfigurationsForUserListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ManagedConfigurationsForUserListResponse extends Google_Collection
+{
+ protected $collection_key = 'managedConfigurationForUser';
+ public $kind;
+ protected $managedConfigurationForUserType = 'Google_Service_AndroidEnterprise_ManagedConfiguration';
+ protected $managedConfigurationForUserDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setManagedConfigurationForUser($managedConfigurationForUser)
+ {
+ $this->managedConfigurationForUser = $managedConfigurationForUser;
+ }
+ public function getManagedConfigurationForUser()
+ {
+ return $this->managedConfigurationForUser;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedProperty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedProperty.php
new file mode 100644
index 00000000..8fe61415
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedProperty.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ManagedProperty extends Google_Collection
+{
+ protected $collection_key = 'valueStringArray';
+ public $key;
+ public $valueBool;
+ protected $valueBundleType = 'Google_Service_AndroidEnterprise_ManagedPropertyBundle';
+ protected $valueBundleDataType = '';
+ protected $valueBundleArrayType = 'Google_Service_AndroidEnterprise_ManagedPropertyBundle';
+ protected $valueBundleArrayDataType = 'array';
+ public $valueInteger;
+ public $valueString;
+ public $valueStringArray;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValueBool($valueBool)
+ {
+ $this->valueBool = $valueBool;
+ }
+ public function getValueBool()
+ {
+ return $this->valueBool;
+ }
+ public function setValueBundle(Google_Service_AndroidEnterprise_ManagedPropertyBundle $valueBundle)
+ {
+ $this->valueBundle = $valueBundle;
+ }
+ public function getValueBundle()
+ {
+ return $this->valueBundle;
+ }
+ public function setValueBundleArray($valueBundleArray)
+ {
+ $this->valueBundleArray = $valueBundleArray;
+ }
+ public function getValueBundleArray()
+ {
+ return $this->valueBundleArray;
+ }
+ public function setValueInteger($valueInteger)
+ {
+ $this->valueInteger = $valueInteger;
+ }
+ public function getValueInteger()
+ {
+ return $this->valueInteger;
+ }
+ public function setValueString($valueString)
+ {
+ $this->valueString = $valueString;
+ }
+ public function getValueString()
+ {
+ return $this->valueString;
+ }
+ public function setValueStringArray($valueStringArray)
+ {
+ $this->valueStringArray = $valueStringArray;
+ }
+ public function getValueStringArray()
+ {
+ return $this->valueStringArray;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedPropertyBundle.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedPropertyBundle.php
new file mode 100644
index 00000000..057ba250
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedPropertyBundle.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ManagedPropertyBundle extends Google_Collection
+{
+ protected $collection_key = 'managedProperty';
+ protected $managedPropertyType = 'Google_Service_AndroidEnterprise_ManagedProperty';
+ protected $managedPropertyDataType = 'array';
+
+ public function setManagedProperty($managedProperty)
+ {
+ $this->managedProperty = $managedProperty;
+ }
+ public function getManagedProperty()
+ {
+ return $this->managedProperty;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NewDeviceEvent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NewDeviceEvent.php
new file mode 100644
index 00000000..999e7692
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NewDeviceEvent.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_NewDeviceEvent extends Google_Model
+{
+ public $deviceId;
+ public $managementType;
+ public $userId;
+
+ public function setDeviceId($deviceId)
+ {
+ $this->deviceId = $deviceId;
+ }
+ public function getDeviceId()
+ {
+ return $this->deviceId;
+ }
+ public function setManagementType($managementType)
+ {
+ $this->managementType = $managementType;
+ }
+ public function getManagementType()
+ {
+ return $this->managementType;
+ }
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NewPermissionsEvent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NewPermissionsEvent.php
new file mode 100644
index 00000000..ae464bfa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NewPermissionsEvent.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_NewPermissionsEvent extends Google_Collection
+{
+ protected $collection_key = 'requestedPermissions';
+ public $approvedPermissions;
+ public $productId;
+ public $requestedPermissions;
+
+ public function setApprovedPermissions($approvedPermissions)
+ {
+ $this->approvedPermissions = $approvedPermissions;
+ }
+ public function getApprovedPermissions()
+ {
+ return $this->approvedPermissions;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setRequestedPermissions($requestedPermissions)
+ {
+ $this->requestedPermissions = $requestedPermissions;
+ }
+ public function getRequestedPermissions()
+ {
+ return $this->requestedPermissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Notification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Notification.php
new file mode 100644
index 00000000..35f3afe4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Notification.php
@@ -0,0 +1,109 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_Notification extends Google_Model
+{
+ protected $appRestrictionsSchemaChangeEventType = 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaChangeEvent';
+ protected $appRestrictionsSchemaChangeEventDataType = '';
+ protected $appUpdateEventType = 'Google_Service_AndroidEnterprise_AppUpdateEvent';
+ protected $appUpdateEventDataType = '';
+ public $enterpriseId;
+ protected $installFailureEventType = 'Google_Service_AndroidEnterprise_InstallFailureEvent';
+ protected $installFailureEventDataType = '';
+ protected $newDeviceEventType = 'Google_Service_AndroidEnterprise_NewDeviceEvent';
+ protected $newDeviceEventDataType = '';
+ protected $newPermissionsEventType = 'Google_Service_AndroidEnterprise_NewPermissionsEvent';
+ protected $newPermissionsEventDataType = '';
+ protected $productApprovalEventType = 'Google_Service_AndroidEnterprise_ProductApprovalEvent';
+ protected $productApprovalEventDataType = '';
+ protected $productAvailabilityChangeEventType = 'Google_Service_AndroidEnterprise_ProductAvailabilityChangeEvent';
+ protected $productAvailabilityChangeEventDataType = '';
+ public $timestampMillis;
+
+ public function setAppRestrictionsSchemaChangeEvent(Google_Service_AndroidEnterprise_AppRestrictionsSchemaChangeEvent $appRestrictionsSchemaChangeEvent)
+ {
+ $this->appRestrictionsSchemaChangeEvent = $appRestrictionsSchemaChangeEvent;
+ }
+ public function getAppRestrictionsSchemaChangeEvent()
+ {
+ return $this->appRestrictionsSchemaChangeEvent;
+ }
+ public function setAppUpdateEvent(Google_Service_AndroidEnterprise_AppUpdateEvent $appUpdateEvent)
+ {
+ $this->appUpdateEvent = $appUpdateEvent;
+ }
+ public function getAppUpdateEvent()
+ {
+ return $this->appUpdateEvent;
+ }
+ public function setEnterpriseId($enterpriseId)
+ {
+ $this->enterpriseId = $enterpriseId;
+ }
+ public function getEnterpriseId()
+ {
+ return $this->enterpriseId;
+ }
+ public function setInstallFailureEvent(Google_Service_AndroidEnterprise_InstallFailureEvent $installFailureEvent)
+ {
+ $this->installFailureEvent = $installFailureEvent;
+ }
+ public function getInstallFailureEvent()
+ {
+ return $this->installFailureEvent;
+ }
+ public function setNewDeviceEvent(Google_Service_AndroidEnterprise_NewDeviceEvent $newDeviceEvent)
+ {
+ $this->newDeviceEvent = $newDeviceEvent;
+ }
+ public function getNewDeviceEvent()
+ {
+ return $this->newDeviceEvent;
+ }
+ public function setNewPermissionsEvent(Google_Service_AndroidEnterprise_NewPermissionsEvent $newPermissionsEvent)
+ {
+ $this->newPermissionsEvent = $newPermissionsEvent;
+ }
+ public function getNewPermissionsEvent()
+ {
+ return $this->newPermissionsEvent;
+ }
+ public function setProductApprovalEvent(Google_Service_AndroidEnterprise_ProductApprovalEvent $productApprovalEvent)
+ {
+ $this->productApprovalEvent = $productApprovalEvent;
+ }
+ public function getProductApprovalEvent()
+ {
+ return $this->productApprovalEvent;
+ }
+ public function setProductAvailabilityChangeEvent(Google_Service_AndroidEnterprise_ProductAvailabilityChangeEvent $productAvailabilityChangeEvent)
+ {
+ $this->productAvailabilityChangeEvent = $productAvailabilityChangeEvent;
+ }
+ public function getProductAvailabilityChangeEvent()
+ {
+ return $this->productAvailabilityChangeEvent;
+ }
+ public function setTimestampMillis($timestampMillis)
+ {
+ $this->timestampMillis = $timestampMillis;
+ }
+ public function getTimestampMillis()
+ {
+ return $this->timestampMillis;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NotificationSet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NotificationSet.php
new file mode 100644
index 00000000..04ab0ac1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NotificationSet.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_NotificationSet extends Google_Collection
+{
+ protected $collection_key = 'notification';
+ public $kind;
+ protected $notificationType = 'Google_Service_AndroidEnterprise_Notification';
+ protected $notificationDataType = 'array';
+ public $notificationSetId;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNotification($notification)
+ {
+ $this->notification = $notification;
+ }
+ public function getNotification()
+ {
+ return $this->notification;
+ }
+ public function setNotificationSetId($notificationSetId)
+ {
+ $this->notificationSetId = $notificationSetId;
+ }
+ public function getNotificationSetId()
+ {
+ return $this->notificationSetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/PageInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/PageInfo.php
new file mode 100644
index 00000000..b28d2adc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/PageInfo.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_PageInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Permission.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Permission.php
new file mode 100644
index 00000000..1798c5bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Permission.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_Permission extends Google_Model
+{
+ public $description;
+ public $kind;
+ public $name;
+ public $permissionId;
+
+ 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 setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPermissionId($permissionId)
+ {
+ $this->permissionId = $permissionId;
+ }
+ public function getPermissionId()
+ {
+ return $this->permissionId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Product.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Product.php
new file mode 100644
index 00000000..f54d4ac1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Product.php
@@ -0,0 +1,131 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_Product extends Google_Collection
+{
+ protected $collection_key = 'appVersion';
+ protected $appVersionType = 'Google_Service_AndroidEnterprise_AppVersion';
+ protected $appVersionDataType = 'array';
+ public $authorName;
+ public $detailsUrl;
+ public $distributionChannel;
+ public $iconUrl;
+ public $kind;
+ public $productId;
+ public $productPricing;
+ public $requiresContainerApp;
+ public $smallIconUrl;
+ public $title;
+ public $workDetailsUrl;
+
+ public function setAppVersion($appVersion)
+ {
+ $this->appVersion = $appVersion;
+ }
+ public function getAppVersion()
+ {
+ return $this->appVersion;
+ }
+ public function setAuthorName($authorName)
+ {
+ $this->authorName = $authorName;
+ }
+ public function getAuthorName()
+ {
+ return $this->authorName;
+ }
+ public function setDetailsUrl($detailsUrl)
+ {
+ $this->detailsUrl = $detailsUrl;
+ }
+ public function getDetailsUrl()
+ {
+ return $this->detailsUrl;
+ }
+ public function setDistributionChannel($distributionChannel)
+ {
+ $this->distributionChannel = $distributionChannel;
+ }
+ public function getDistributionChannel()
+ {
+ return $this->distributionChannel;
+ }
+ public function setIconUrl($iconUrl)
+ {
+ $this->iconUrl = $iconUrl;
+ }
+ public function getIconUrl()
+ {
+ return $this->iconUrl;
+ }
+ 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 setProductPricing($productPricing)
+ {
+ $this->productPricing = $productPricing;
+ }
+ public function getProductPricing()
+ {
+ return $this->productPricing;
+ }
+ public function setRequiresContainerApp($requiresContainerApp)
+ {
+ $this->requiresContainerApp = $requiresContainerApp;
+ }
+ public function getRequiresContainerApp()
+ {
+ return $this->requiresContainerApp;
+ }
+ public function setSmallIconUrl($smallIconUrl)
+ {
+ $this->smallIconUrl = $smallIconUrl;
+ }
+ public function getSmallIconUrl()
+ {
+ return $this->smallIconUrl;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setWorkDetailsUrl($workDetailsUrl)
+ {
+ $this->workDetailsUrl = $workDetailsUrl;
+ }
+ public function getWorkDetailsUrl()
+ {
+ return $this->workDetailsUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductApprovalEvent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductApprovalEvent.php
new file mode 100644
index 00000000..63b1ae2b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductApprovalEvent.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ProductApprovalEvent extends Google_Model
+{
+ public $approved;
+ public $productId;
+
+ public function setApproved($approved)
+ {
+ $this->approved = $approved;
+ }
+ public function getApproved()
+ {
+ return $this->approved;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductAvailabilityChangeEvent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductAvailabilityChangeEvent.php
new file mode 100644
index 00000000..eacab5c2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductAvailabilityChangeEvent.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ProductAvailabilityChangeEvent extends Google_Model
+{
+ public $availabilityStatus;
+ public $productId;
+
+ public function setAvailabilityStatus($availabilityStatus)
+ {
+ $this->availabilityStatus = $availabilityStatus;
+ }
+ public function getAvailabilityStatus()
+ {
+ return $this->availabilityStatus;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductPermission.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductPermission.php
new file mode 100644
index 00000000..d41192c0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductPermission.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ProductPermission extends Google_Model
+{
+ public $permissionId;
+ public $state;
+
+ public function setPermissionId($permissionId)
+ {
+ $this->permissionId = $permissionId;
+ }
+ public function getPermissionId()
+ {
+ return $this->permissionId;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductPermissions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductPermissions.php
new file mode 100644
index 00000000..8ded09b4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductPermissions.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ProductPermissions extends Google_Collection
+{
+ protected $collection_key = 'permission';
+ public $kind;
+ protected $permissionType = 'Google_Service_AndroidEnterprise_ProductPermission';
+ protected $permissionDataType = 'array';
+ public $productId;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPermission($permission)
+ {
+ $this->permission = $permission;
+ }
+ public function getPermission()
+ {
+ return $this->permission;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductSet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductSet.php
new file mode 100644
index 00000000..04d39a8f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductSet.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ProductSet extends Google_Collection
+{
+ protected $collection_key = 'productId';
+ public $kind;
+ public $productId;
+ public $productSetBehavior;
+
+ 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 setProductSetBehavior($productSetBehavior)
+ {
+ $this->productSetBehavior = $productSetBehavior;
+ }
+ public function getProductSetBehavior()
+ {
+ return $this->productSetBehavior;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsApproveRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsApproveRequest.php
new file mode 100644
index 00000000..5e940e7f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsApproveRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ProductsApproveRequest extends Google_Model
+{
+ protected $approvalUrlInfoType = 'Google_Service_AndroidEnterprise_ApprovalUrlInfo';
+ protected $approvalUrlInfoDataType = '';
+
+ public function setApprovalUrlInfo(Google_Service_AndroidEnterprise_ApprovalUrlInfo $approvalUrlInfo)
+ {
+ $this->approvalUrlInfo = $approvalUrlInfo;
+ }
+ public function getApprovalUrlInfo()
+ {
+ return $this->approvalUrlInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsGenerateApprovalUrlResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsGenerateApprovalUrlResponse.php
new file mode 100644
index 00000000..8ebd8f82
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsGenerateApprovalUrlResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsListResponse.php
new file mode 100644
index 00000000..716bd227
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsListResponse.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ProductsListResponse extends Google_Collection
+{
+ protected $collection_key = 'product';
+ public $kind;
+ protected $pageInfoType = 'Google_Service_AndroidEnterprise_PageInfo';
+ protected $pageInfoDataType = '';
+ protected $productType = 'Google_Service_AndroidEnterprise_Product';
+ protected $productDataType = 'array';
+ protected $tokenPaginationType = 'Google_Service_AndroidEnterprise_TokenPagination';
+ protected $tokenPaginationDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPageInfo(Google_Service_AndroidEnterprise_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setProduct($product)
+ {
+ $this->product = $product;
+ }
+ public function getProduct()
+ {
+ return $this->product;
+ }
+ public function setTokenPagination(Google_Service_AndroidEnterprise_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Collections.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Collections.php
new file mode 100644
index 00000000..1ffd3fab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Collections.php
@@ -0,0 +1,114 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "collections" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $collections = $androidenterpriseService->collections;
+ * </code>
+ */
+class Google_Service_AndroidEnterprise_Resource_Collections extends Google_Service_Resource
+{
+ /**
+ * Deletes a collection. (collections.delete)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($enterpriseId, $collectionId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves the details of a collection. (collections.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Collection
+ */
+ public function get($enterpriseId, $collectionId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Collection");
+ }
+ /**
+ * Creates a new collection. (collections.insert)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param Google_Service_AndroidEnterprise_Collection $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Collection
+ */
+ public function insert($enterpriseId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_Collection");
+ }
+ /**
+ * Retrieves the IDs of all the collections for an enterprise.
+ * (collections.listCollections)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_CollectionsListResponse
+ */
+ public function listCollections($enterpriseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_CollectionsListResponse");
+ }
+ /**
+ * Updates a collection. This method supports patch semantics.
+ * (collections.patch)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param Google_Service_AndroidEnterprise_Collection $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Collection
+ */
+ public function patch($enterpriseId, $collectionId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Collection");
+ }
+ /**
+ * Updates a collection. (collections.update)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param Google_Service_AndroidEnterprise_Collection $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Collection
+ */
+ public function update($enterpriseId, $collectionId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Collection");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Collectionviewers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Collectionviewers.php
new file mode 100644
index 00000000..acf1aa3f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Collectionviewers.php
@@ -0,0 +1,115 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "collectionviewers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $collectionviewers = $androidenterpriseService->collectionviewers;
+ * </code>
+ */
+class Google_Service_AndroidEnterprise_Resource_Collectionviewers extends Google_Service_Resource
+{
+ /**
+ * Removes the user from the list of those specifically allowed to see the
+ * collection. If the collection's visibility is set to viewersOnly then only
+ * such users will see the collection. (collectionviewers.delete)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($enterpriseId, $collectionId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves the ID of the user if they have been specifically allowed to see
+ * the collection. If the collection's visibility is set to viewersOnly then
+ * only these users will see the collection. (collectionviewers.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_User
+ */
+ public function get($enterpriseId, $collectionId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_User");
+ }
+ /**
+ * Retrieves the IDs of the users who have been specifically allowed to see the
+ * collection. If the collection's visibility is set to viewersOnly then only
+ * these users will see the collection.
+ * (collectionviewers.listCollectionviewers)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_CollectionViewersListResponse
+ */
+ public function listCollectionviewers($enterpriseId, $collectionId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_CollectionViewersListResponse");
+ }
+ /**
+ * Adds the user to the list of those specifically allowed to see the
+ * collection. If the collection's visibility is set to viewersOnly then only
+ * such users will see the collection. This method supports patch semantics.
+ * (collectionviewers.patch)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param string $userId The ID of the user.
+ * @param Google_Service_AndroidEnterprise_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_User
+ */
+ public function patch($enterpriseId, $collectionId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_User");
+ }
+ /**
+ * Adds the user to the list of those specifically allowed to see the
+ * collection. If the collection's visibility is set to viewersOnly then only
+ * such users will see the collection. (collectionviewers.update)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param string $userId The ID of the user.
+ * @param Google_Service_AndroidEnterprise_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_User
+ */
+ public function update($enterpriseId, $collectionId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidEnterprise_User");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Devices.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Devices.php
new file mode 100644
index 00000000..c265c0ae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Devices.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "devices" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $devices = $androidenterpriseService->devices;
+ * </code>
+ */
+class Google_Service_AndroidEnterprise_Resource_Devices extends Google_Service_Resource
+{
+ /**
+ * Retrieves the details of a device. (devices.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The ID of the device.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Device
+ */
+ public function get($enterpriseId, $userId, $deviceId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Device");
+ }
+ /**
+ * Retrieves whether a device's access to Google services is enabled or
+ * disabled. The device state takes effect only if enforcing EMM policies on
+ * Android devices is enabled in the Google Admin Console. Otherwise, the device
+ * state is ignored and all devices are allowed access to Google services. This
+ * is only supported for Google-managed users. (devices.getState)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The ID of the device.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_DeviceState
+ */
+ public function getState($enterpriseId, $userId, $deviceId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getState', array($params), "Google_Service_AndroidEnterprise_DeviceState");
+ }
+ /**
+ * Retrieves the IDs of all of a user's devices. (devices.listDevices)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_DevicesListResponse
+ */
+ public function listDevices($enterpriseId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_DevicesListResponse");
+ }
+ /**
+ * Sets whether a device's access to Google services is enabled or disabled. The
+ * device state takes effect only if enforcing EMM policies on Android devices
+ * is enabled in the Google Admin Console. Otherwise, the device state is
+ * ignored and all devices are allowed access to Google services. This is only
+ * supported for Google-managed users. (devices.setState)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The ID of the device.
+ * @param Google_Service_AndroidEnterprise_DeviceState $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_DeviceState
+ */
+ public function setState($enterpriseId, $userId, $deviceId, Google_Service_AndroidEnterprise_DeviceState $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setState', array($params), "Google_Service_AndroidEnterprise_DeviceState");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Enterprises.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Enterprises.php
new file mode 100644
index 00000000..5328eaf3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Enterprises.php
@@ -0,0 +1,317 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "enterprises" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $enterprises = $androidenterpriseService->enterprises;
+ * </code>
+ */
+class Google_Service_AndroidEnterprise_Resource_Enterprises extends Google_Service_Resource
+{
+ /**
+ * Acknowledges notifications that were received from
+ * Enterprises.PullNotificationSet to prevent subsequent calls from returning
+ * the same notifications. (enterprises.acknowledgeNotificationSet)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string notificationSetId The notification set ID as returned by
+ * Enterprises.PullNotificationSet. This must be provided.
+ */
+ public function acknowledgeNotificationSet($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('acknowledgeNotificationSet', array($params));
+ }
+ /**
+ * Completes the signup flow, by specifying the Completion token and Enterprise
+ * token. This request must not be called multiple times for a given Enterprise
+ * Token. (enterprises.completeSignup)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string completionToken The Completion token initially returned by
+ * GenerateSignupUrl.
+ * @opt_param string enterpriseToken The Enterprise token appended to the
+ * Callback URL.
+ * @return Google_Service_AndroidEnterprise_Enterprise
+ */
+ public function completeSignup($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('completeSignup', array($params), "Google_Service_AndroidEnterprise_Enterprise");
+ }
+ /**
+ * Returns a unique token to access an embeddable UI. To generate a web UI, pass
+ * the generated token into the managed Google Play javascript API. Each token
+ * may only be used to start one UI session. See the javascript API
+ * documentation for further information. (enterprises.createWebToken)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param Google_Service_AndroidEnterprise_AdministratorWebTokenSpec $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_AdministratorWebToken
+ */
+ public function createWebToken($enterpriseId, Google_Service_AndroidEnterprise_AdministratorWebTokenSpec $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('createWebToken', array($params), "Google_Service_AndroidEnterprise_AdministratorWebToken");
+ }
+ /**
+ * Deletes the binding between the EMM and enterprise. This is now deprecated.
+ * Use this method only to unenroll customers that were previously enrolled with
+ * the insert call, then enroll them again with the enroll call.
+ * (enterprises.delete)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($enterpriseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Enrolls an enterprise with the calling EMM. (enterprises.enroll)
+ *
+ * @param string $token The token provided by the enterprise to register the
+ * EMM.
+ * @param Google_Service_AndroidEnterprise_Enterprise $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Enterprise
+ */
+ public function enroll($token, Google_Service_AndroidEnterprise_Enterprise $postBody, $optParams = array())
+ {
+ $params = array('token' => $token, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('enroll', array($params), "Google_Service_AndroidEnterprise_Enterprise");
+ }
+ /**
+ * Generates a sign-up URL. (enterprises.generateSignupUrl)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string callbackUrl The callback URL to which the Admin will be
+ * redirected after successfully creating an enterprise. Before redirecting
+ * there the system will add a single query parameter to this URL named
+ * "enterpriseToken" which will contain an opaque token to be used for the
+ * CompleteSignup request. Beware that this means that the URL will be parsed,
+ * the parameter added and then a new URL formatted, i.e. there may be some
+ * minor formatting changes and, more importantly, the URL must be well-formed
+ * so that it can be parsed.
+ * @return Google_Service_AndroidEnterprise_SignupInfo
+ */
+ public function generateSignupUrl($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('generateSignupUrl', array($params), "Google_Service_AndroidEnterprise_SignupInfo");
+ }
+ /**
+ * Retrieves the name and domain of an enterprise. (enterprises.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Enterprise
+ */
+ public function get($enterpriseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Enterprise");
+ }
+ /**
+ * Returns a service account and credentials. The service account can be bound
+ * to the enterprise by calling setAccount. The service account is unique to
+ * this enterprise and EMM, and will be deleted if the enterprise is unbound.
+ * The credentials contain private key data and are not stored server-side.
+ *
+ * This method can only be called after calling Enterprises.Enroll or
+ * Enterprises.CompleteSignup, and before Enterprises.SetAccount; at other times
+ * it will return an error.
+ *
+ * Subsequent calls after the first will generate a new, unique set of
+ * credentials, and invalidate the previously generated credentials.
+ *
+ * Once the service account is bound to the enterprise, it can be managed using
+ * the serviceAccountKeys resource. (enterprises.getServiceAccount)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string keyType The type of credential to return with the service
+ * account. Required.
+ * @return Google_Service_AndroidEnterprise_ServiceAccount
+ */
+ public function getServiceAccount($enterpriseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getServiceAccount', array($params), "Google_Service_AndroidEnterprise_ServiceAccount");
+ }
+ /**
+ * Returns the store layout for the enterprise. If the store layout has not been
+ * set, or if the store layout has no homepageId set, returns a NOT_FOUND error.
+ * (enterprises.getStoreLayout)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_StoreLayout
+ */
+ public function getStoreLayout($enterpriseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getStoreLayout', array($params), "Google_Service_AndroidEnterprise_StoreLayout");
+ }
+ /**
+ * Establishes the binding between the EMM and an enterprise. This is now
+ * deprecated; use enroll instead. (enterprises.insert)
+ *
+ * @param string $token The token provided by the enterprise to register the
+ * EMM.
+ * @param Google_Service_AndroidEnterprise_Enterprise $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Enterprise
+ */
+ public function insert($token, Google_Service_AndroidEnterprise_Enterprise $postBody, $optParams = array())
+ {
+ $params = array('token' => $token, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_Enterprise");
+ }
+ /**
+ * Looks up an enterprise by domain name. This is only supported for enterprises
+ * created via the Google-initiated creation flow. Lookup of the id is not
+ * needed for enterprises created via the EMM-initiated flow since the EMM
+ * learns the enterprise ID in the callback specified in the
+ * Enterprises.generateSignupUrl call. (enterprises.listEnterprises)
+ *
+ * @param string $domain The exact primary domain name of the enterprise to look
+ * up.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_EnterprisesListResponse
+ */
+ public function listEnterprises($domain, $optParams = array())
+ {
+ $params = array('domain' => $domain);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_EnterprisesListResponse");
+ }
+ /**
+ * Pulls and returns a notification set for the enterprises associated with the
+ * service account authenticated for the request. The notification set may be
+ * empty if no notification are pending. A notification set returned needs to be
+ * acknowledged within 20 seconds by calling
+ * Enterprises.AcknowledgeNotificationSet, unless the notification set is empty.
+ * Notifications that are not acknowledged within the 20 seconds will eventually
+ * be included again in the response to another PullNotificationSet request, and
+ * those that are never acknowledged will ultimately be deleted according to the
+ * Google Cloud Platform Pub/Sub system policy. Multiple requests might be
+ * performed concurrently to retrieve notifications, in which case the pending
+ * notifications (if any) will be split among each caller, if any are pending.
+ * If no notifications are present, an empty notification list is returned.
+ * Subsequent requests may return more notifications once they become available.
+ * (enterprises.pullNotificationSet)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestMode The request mode for pulling notifications.
+ * Specifying waitForNotifications will cause the request to block and wait
+ * until one or more notifications are present, or return an empty notification
+ * list if no notifications are present after some time. Speciying
+ * returnImmediately will cause the request to immediately return the pending
+ * notifications, or an empty list if no notifications are present. If omitted,
+ * defaults to waitForNotifications.
+ * @return Google_Service_AndroidEnterprise_NotificationSet
+ */
+ public function pullNotificationSet($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('pullNotificationSet', array($params), "Google_Service_AndroidEnterprise_NotificationSet");
+ }
+ /**
+ * Sends a test push notification to validate the EMM integration with the
+ * Google Cloud Pub/Sub service for this enterprise.
+ * (enterprises.sendTestPushNotification)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse
+ */
+ public function sendTestPushNotification($enterpriseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('sendTestPushNotification', array($params), "Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse");
+ }
+ /**
+ * Sets the account that will be used to authenticate to the API as the
+ * enterprise. (enterprises.setAccount)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param Google_Service_AndroidEnterprise_EnterpriseAccount $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_EnterpriseAccount
+ */
+ public function setAccount($enterpriseId, Google_Service_AndroidEnterprise_EnterpriseAccount $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setAccount', array($params), "Google_Service_AndroidEnterprise_EnterpriseAccount");
+ }
+ /**
+ * Sets the store layout for the enterprise. By default, storeLayoutType is set
+ * to "basic" and the basic store layout is enabled. The basic layout only
+ * contains apps approved by the admin, and that have been added to the
+ * available product set for a user (using the setAvailableProductSet call).
+ * Apps on the page are sorted in order of their product ID value. If you create
+ * a custom store layout (by setting storeLayoutType = "custom"), the basic
+ * store layout is disabled. (enterprises.setStoreLayout)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param Google_Service_AndroidEnterprise_StoreLayout $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_StoreLayout
+ */
+ public function setStoreLayout($enterpriseId, Google_Service_AndroidEnterprise_StoreLayout $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setStoreLayout', array($params), "Google_Service_AndroidEnterprise_StoreLayout");
+ }
+ /**
+ * Unenrolls an enterprise from the calling EMM. (enterprises.unenroll)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param array $optParams Optional parameters.
+ */
+ public function unenroll($enterpriseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('unenroll', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Entitlements.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Entitlements.php
new file mode 100644
index 00000000..4d31c8c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Entitlements.php
@@ -0,0 +1,119 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "entitlements" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $entitlements = $androidenterpriseService->entitlements;
+ * </code>
+ */
+class Google_Service_AndroidEnterprise_Resource_Entitlements extends Google_Service_Resource
+{
+ /**
+ * Removes an entitlement to an app for a user. (entitlements.delete)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $entitlementId The ID of the entitlement (a product ID), e.g.
+ * "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($enterpriseId, $userId, $entitlementId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves details of an entitlement. (entitlements.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $entitlementId The ID of the entitlement (a product ID), e.g.
+ * "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Entitlement
+ */
+ public function get($enterpriseId, $userId, $entitlementId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Entitlement");
+ }
+ /**
+ * Lists all entitlements for the specified user. Only the ID is set.
+ * (entitlements.listEntitlements)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_EntitlementsListResponse
+ */
+ public function listEntitlements($enterpriseId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_EntitlementsListResponse");
+ }
+ /**
+ * Adds or updates an entitlement to an app for a user. This method supports
+ * patch semantics. (entitlements.patch)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $entitlementId The ID of the entitlement (a product ID), e.g.
+ * "app:com.google.android.gm".
+ * @param Google_Service_AndroidEnterprise_Entitlement $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool install Set to true to also install the product on all the
+ * user's devices where possible. Failure to install on one or more devices will
+ * not prevent this operation from returning successfully, as long as the
+ * entitlement was successfully assigned to the user.
+ * @return Google_Service_AndroidEnterprise_Entitlement
+ */
+ public function patch($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Entitlement");
+ }
+ /**
+ * Adds or updates an entitlement to an app for a user. (entitlements.update)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $entitlementId The ID of the entitlement (a product ID), e.g.
+ * "app:com.google.android.gm".
+ * @param Google_Service_AndroidEnterprise_Entitlement $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool install Set to true to also install the product on all the
+ * user's devices where possible. Failure to install on one or more devices will
+ * not prevent this operation from returning successfully, as long as the
+ * entitlement was successfully assigned to the user.
+ * @return Google_Service_AndroidEnterprise_Entitlement
+ */
+ public function update($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Entitlement");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Grouplicenses.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Grouplicenses.php
new file mode 100644
index 00000000..cb8dcaad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Grouplicenses.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "grouplicenses" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $grouplicenses = $androidenterpriseService->grouplicenses;
+ * </code>
+ */
+class Google_Service_AndroidEnterprise_Resource_Grouplicenses extends Google_Service_Resource
+{
+ /**
+ * Retrieves details of an enterprise's group license for a product.
+ * (grouplicenses.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $groupLicenseId The ID of the product the group license is for,
+ * e.g. "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_GroupLicense
+ */
+ public function get($enterpriseId, $groupLicenseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'groupLicenseId' => $groupLicenseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_GroupLicense");
+ }
+ /**
+ * Retrieves IDs of all products for which the enterprise has a group license.
+ * (grouplicenses.listGrouplicenses)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_GroupLicensesListResponse
+ */
+ public function listGrouplicenses($enterpriseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_GroupLicensesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Grouplicenseusers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Grouplicenseusers.php
new file mode 100644
index 00000000..fd178ee5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Grouplicenseusers.php
@@ -0,0 +1,44 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "grouplicenseusers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $grouplicenseusers = $androidenterpriseService->grouplicenseusers;
+ * </code>
+ */
+class Google_Service_AndroidEnterprise_Resource_Grouplicenseusers extends Google_Service_Resource
+{
+ /**
+ * Retrieves the IDs of the users who have been granted entitlements under the
+ * license. (grouplicenseusers.listGrouplicenseusers)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $groupLicenseId The ID of the product the group license is for,
+ * e.g. "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse
+ */
+ public function listGrouplicenseusers($enterpriseId, $groupLicenseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'groupLicenseId' => $groupLicenseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Installs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Installs.php
new file mode 100644
index 00000000..49d77a28
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Installs.php
@@ -0,0 +1,119 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "installs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $installs = $androidenterpriseService->installs;
+ * </code>
+ */
+class Google_Service_AndroidEnterprise_Resource_Installs extends Google_Service_Resource
+{
+ /**
+ * Requests to remove an app from a device. A call to get or list will still
+ * show the app as installed on the device until it is actually removed.
+ * (installs.delete)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The Android ID of the device.
+ * @param string $installId The ID of the product represented by the install,
+ * e.g. "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($enterpriseId, $userId, $deviceId, $installId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves details of an installation of an app on a device. (installs.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The Android ID of the device.
+ * @param string $installId The ID of the product represented by the install,
+ * e.g. "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Install
+ */
+ public function get($enterpriseId, $userId, $deviceId, $installId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Install");
+ }
+ /**
+ * Retrieves the details of all apps installed on the specified device.
+ * (installs.listInstalls)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The Android ID of the device.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_InstallsListResponse
+ */
+ public function listInstalls($enterpriseId, $userId, $deviceId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_InstallsListResponse");
+ }
+ /**
+ * Requests to install the latest version of an app to a device. If the app is
+ * already installed, then it is updated to the latest version if necessary.
+ * This method supports patch semantics. (installs.patch)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The Android ID of the device.
+ * @param string $installId The ID of the product represented by the install,
+ * e.g. "app:com.google.android.gm".
+ * @param Google_Service_AndroidEnterprise_Install $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Install
+ */
+ public function patch($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Install");
+ }
+ /**
+ * Requests to install the latest version of an app to a device. If the app is
+ * already installed, then it is updated to the latest version if necessary.
+ * (installs.update)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The Android ID of the device.
+ * @param string $installId The ID of the product represented by the install,
+ * e.g. "app:com.google.android.gm".
+ * @param Google_Service_AndroidEnterprise_Install $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Install
+ */
+ public function update($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Install");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Managedconfigurationsfordevice.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Managedconfigurationsfordevice.php
new file mode 100644
index 00000000..b5cd9bf2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Managedconfigurationsfordevice.php
@@ -0,0 +1,119 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "managedconfigurationsfordevice" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $managedconfigurationsfordevice = $androidenterpriseService->managedconfigurationsfordevice;
+ * </code>
+ */
+class Google_Service_AndroidEnterprise_Resource_Managedconfigurationsfordevice extends Google_Service_Resource
+{
+ /**
+ * Removes a per-device managed configuration for an app for the specified
+ * device. (managedconfigurationsfordevice.delete)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The Android ID of the device.
+ * @param string $managedConfigurationForDeviceId The ID of the managed
+ * configuration (a product ID), e.g. "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($enterpriseId, $userId, $deviceId, $managedConfigurationForDeviceId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'managedConfigurationForDeviceId' => $managedConfigurationForDeviceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves details of a per-device managed configuration.
+ * (managedconfigurationsfordevice.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The Android ID of the device.
+ * @param string $managedConfigurationForDeviceId The ID of the managed
+ * configuration (a product ID), e.g. "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_ManagedConfiguration
+ */
+ public function get($enterpriseId, $userId, $deviceId, $managedConfigurationForDeviceId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'managedConfigurationForDeviceId' => $managedConfigurationForDeviceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_ManagedConfiguration");
+ }
+ /**
+ * Lists all the per-device managed configurations for the specified device.
+ * Only the ID is set.
+ * (managedconfigurationsfordevice.listManagedconfigurationsfordevice)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The Android ID of the device.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_ManagedConfigurationsForDeviceListResponse
+ */
+ public function listManagedconfigurationsfordevice($enterpriseId, $userId, $deviceId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_ManagedConfigurationsForDeviceListResponse");
+ }
+ /**
+ * Adds or updates a per-device managed configuration for an app for the
+ * specified device. This method supports patch semantics.
+ * (managedconfigurationsfordevice.patch)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The Android ID of the device.
+ * @param string $managedConfigurationForDeviceId The ID of the managed
+ * configuration (a product ID), e.g. "app:com.google.android.gm".
+ * @param Google_Service_AndroidEnterprise_ManagedConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_ManagedConfiguration
+ */
+ public function patch($enterpriseId, $userId, $deviceId, $managedConfigurationForDeviceId, Google_Service_AndroidEnterprise_ManagedConfiguration $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'managedConfigurationForDeviceId' => $managedConfigurationForDeviceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_ManagedConfiguration");
+ }
+ /**
+ * Adds or updates a per-device managed configuration for an app for the
+ * specified device. (managedconfigurationsfordevice.update)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The Android ID of the device.
+ * @param string $managedConfigurationForDeviceId The ID of the managed
+ * configuration (a product ID), e.g. "app:com.google.android.gm".
+ * @param Google_Service_AndroidEnterprise_ManagedConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_ManagedConfiguration
+ */
+ public function update($enterpriseId, $userId, $deviceId, $managedConfigurationForDeviceId, Google_Service_AndroidEnterprise_ManagedConfiguration $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'managedConfigurationForDeviceId' => $managedConfigurationForDeviceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidEnterprise_ManagedConfiguration");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Managedconfigurationsforuser.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Managedconfigurationsforuser.php
new file mode 100644
index 00000000..ade7f399
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Managedconfigurationsforuser.php
@@ -0,0 +1,114 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "managedconfigurationsforuser" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $managedconfigurationsforuser = $androidenterpriseService->managedconfigurationsforuser;
+ * </code>
+ */
+class Google_Service_AndroidEnterprise_Resource_Managedconfigurationsforuser extends Google_Service_Resource
+{
+ /**
+ * Removes a per-user managed configuration for an app for the specified user.
+ * (managedconfigurationsforuser.delete)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $managedConfigurationForUserId The ID of the managed
+ * configuration (a product ID), e.g. "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($enterpriseId, $userId, $managedConfigurationForUserId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'managedConfigurationForUserId' => $managedConfigurationForUserId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves details of a per-user managed configuration for an app for the
+ * specified user. (managedconfigurationsforuser.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $managedConfigurationForUserId The ID of the managed
+ * configuration (a product ID), e.g. "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_ManagedConfiguration
+ */
+ public function get($enterpriseId, $userId, $managedConfigurationForUserId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'managedConfigurationForUserId' => $managedConfigurationForUserId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_ManagedConfiguration");
+ }
+ /**
+ * Lists all the per-user managed configurations for the specified user. Only
+ * the ID is set.
+ * (managedconfigurationsforuser.listManagedconfigurationsforuser)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_ManagedConfigurationsForUserListResponse
+ */
+ public function listManagedconfigurationsforuser($enterpriseId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_ManagedConfigurationsForUserListResponse");
+ }
+ /**
+ * Adds or updates a per-user managed configuration for an app for the specified
+ * user. This method supports patch semantics.
+ * (managedconfigurationsforuser.patch)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $managedConfigurationForUserId The ID of the managed
+ * configuration (a product ID), e.g. "app:com.google.android.gm".
+ * @param Google_Service_AndroidEnterprise_ManagedConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_ManagedConfiguration
+ */
+ public function patch($enterpriseId, $userId, $managedConfigurationForUserId, Google_Service_AndroidEnterprise_ManagedConfiguration $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'managedConfigurationForUserId' => $managedConfigurationForUserId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_ManagedConfiguration");
+ }
+ /**
+ * Adds or updates a per-user managed configuration for an app for the specified
+ * user. (managedconfigurationsforuser.update)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $managedConfigurationForUserId The ID of the managed
+ * configuration (a product ID), e.g. "app:com.google.android.gm".
+ * @param Google_Service_AndroidEnterprise_ManagedConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_ManagedConfiguration
+ */
+ public function update($enterpriseId, $userId, $managedConfigurationForUserId, Google_Service_AndroidEnterprise_ManagedConfiguration $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'managedConfigurationForUserId' => $managedConfigurationForUserId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidEnterprise_ManagedConfiguration");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Permissions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Permissions.php
new file mode 100644
index 00000000..ad1a0b90
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Permissions.php
@@ -0,0 +1,45 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $permissions = $androidenterpriseService->permissions;
+ * </code>
+ */
+class Google_Service_AndroidEnterprise_Resource_Permissions extends Google_Service_Resource
+{
+ /**
+ * Retrieves details of an Android app permission for display to an enterprise
+ * admin. (permissions.get)
+ *
+ * @param string $permissionId The ID of the permission.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The BCP47 tag for the user's preferred language
+ * (e.g. "en-US", "de")
+ * @return Google_Service_AndroidEnterprise_Permission
+ */
+ public function get($permissionId, $optParams = array())
+ {
+ $params = array('permissionId' => $permissionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Permission");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Products.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Products.php
new file mode 100644
index 00000000..c7abdc44
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Products.php
@@ -0,0 +1,175 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "products" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $products = $androidenterpriseService->products;
+ * </code>
+ */
+class Google_Service_AndroidEnterprise_Resource_Products extends Google_Service_Resource
+{
+ /**
+ * Approves the specified product and the relevant app permissions, if any. The
+ * maximum number of products that you can approve per enterprise customer is
+ * 1,000.
+ *
+ * To learn how to use managed Google Play to design and create a store layout
+ * to display approved products to your users, see Store Layout Design.
+ * (products.approve)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $productId The ID of the product.
+ * @param Google_Service_AndroidEnterprise_ProductsApproveRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function approve($enterpriseId, $productId, Google_Service_AndroidEnterprise_ProductsApproveRequest $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('approve', array($params));
+ }
+ /**
+ * Generates a URL that can be rendered in an iframe to display the permissions
+ * (if any) of a product. An enterprise admin must view these permissions and
+ * accept them on behalf of their organization in order to approve that product.
+ *
+ * Admins should accept the displayed permissions by interacting with a separate
+ * UI element in the EMM console, which in turn should trigger the use of this
+ * URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to
+ * approve the product. This URL can only be used to display permissions for up
+ * to 1 day. (products.generateApprovalUrl)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $productId The ID of the product.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string languageCode The BCP 47 language code used for permission
+ * names and descriptions in the returned iframe, for instance "en-US".
+ * @return Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse
+ */
+ public function generateApprovalUrl($enterpriseId, $productId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('generateApprovalUrl', array($params), "Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse");
+ }
+ /**
+ * Retrieves details of a product for display to an enterprise admin.
+ * (products.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $productId The ID of the product, e.g.
+ * "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The BCP47 tag for the user's preferred language
+ * (e.g. "en-US", "de").
+ * @return Google_Service_AndroidEnterprise_Product
+ */
+ public function get($enterpriseId, $productId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Product");
+ }
+ /**
+ * Retrieves the schema that defines the configurable properties for this
+ * product. All products have a schema, but this schema may be empty if no
+ * managed configurations have been defined. This schema can be used to populate
+ * a UI that allows an admin to configure the product. To apply a managed
+ * configuration based on the schema obtained using this API, see Managed
+ * Configurations through Play. (products.getAppRestrictionsSchema)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $productId The ID of the product.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The BCP47 tag for the user's preferred language
+ * (e.g. "en-US", "de").
+ * @return Google_Service_AndroidEnterprise_AppRestrictionsSchema
+ */
+ public function getAppRestrictionsSchema($enterpriseId, $productId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getAppRestrictionsSchema', array($params), "Google_Service_AndroidEnterprise_AppRestrictionsSchema");
+ }
+ /**
+ * Retrieves the Android app permissions required by this app.
+ * (products.getPermissions)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $productId The ID of the product.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_ProductPermissions
+ */
+ public function getPermissions($enterpriseId, $productId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getPermissions', array($params), "Google_Service_AndroidEnterprise_ProductPermissions");
+ }
+ /**
+ * Finds approved products that match a query, or all approved products if there
+ * is no query. (products.listProducts)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool approved Specifies whether to search among all products
+ * (false) or among only products that have been approved (true). Only "true" is
+ * supported, and should be specified.
+ * @opt_param string language The BCP47 tag for the user's preferred language
+ * (e.g. "en-US", "de"). Results are returned in the language best matching the
+ * preferred language.
+ * @opt_param string maxResults Specifies the maximum number of products that
+ * can be returned per request. If not specified, uses a default value of 100,
+ * which is also the maximum retrievable within a single response.
+ * @opt_param string query The search query as typed in the Google Play store
+ * search box. If omitted, all approved apps will be returned (using the
+ * pagination parameters), including apps that are not available in the store
+ * (e.g. unpublished apps).
+ * @opt_param string token A pagination token is contained in a request''s
+ * response when there are more products. The token can be used in a subsequent
+ * request to obtain more products, and so forth. This parameter cannot be used
+ * in the initial request.
+ * @return Google_Service_AndroidEnterprise_ProductsListResponse
+ */
+ public function listProducts($enterpriseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_ProductsListResponse");
+ }
+ /**
+ * Unapproves the specified product (and the relevant app permissions, if any)
+ * (products.unapprove)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $productId The ID of the product.
+ * @param array $optParams Optional parameters.
+ */
+ public function unapprove($enterpriseId, $productId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('unapprove', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Serviceaccountkeys.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Serviceaccountkeys.php
new file mode 100644
index 00000000..7421754e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Serviceaccountkeys.php
@@ -0,0 +1,82 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "serviceaccountkeys" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $serviceaccountkeys = $androidenterpriseService->serviceaccountkeys;
+ * </code>
+ */
+class Google_Service_AndroidEnterprise_Resource_Serviceaccountkeys extends Google_Service_Resource
+{
+ /**
+ * Removes and invalidates the specified credentials for the service account
+ * associated with this enterprise. The calling service account must have been
+ * retrieved by calling Enterprises.GetServiceAccount and must have been set as
+ * the enterprise service account by calling Enterprises.SetAccount.
+ * (serviceaccountkeys.delete)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $keyId The ID of the key.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($enterpriseId, $keyId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'keyId' => $keyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Generates new credentials for the service account associated with this
+ * enterprise. The calling service account must have been retrieved by calling
+ * Enterprises.GetServiceAccount and must have been set as the enterprise
+ * service account by calling Enterprises.SetAccount.
+ *
+ * Only the type of the key should be populated in the resource to be inserted.
+ * (serviceaccountkeys.insert)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param Google_Service_AndroidEnterprise_ServiceAccountKey $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_ServiceAccountKey
+ */
+ public function insert($enterpriseId, Google_Service_AndroidEnterprise_ServiceAccountKey $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_ServiceAccountKey");
+ }
+ /**
+ * Lists all active credentials for the service account associated with this
+ * enterprise. Only the ID and key type are returned. The calling service
+ * account must have been retrieved by calling Enterprises.GetServiceAccount and
+ * must have been set as the enterprise service account by calling
+ * Enterprises.SetAccount. (serviceaccountkeys.listServiceaccountkeys)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_ServiceAccountKeysListResponse
+ */
+ public function listServiceaccountkeys($enterpriseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_ServiceAccountKeysListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Storelayoutclusters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Storelayoutclusters.php
new file mode 100644
index 00000000..c15da4e4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Storelayoutclusters.php
@@ -0,0 +1,120 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "storelayoutclusters" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $storelayoutclusters = $androidenterpriseService->storelayoutclusters;
+ * </code>
+ */
+class Google_Service_AndroidEnterprise_Resource_Storelayoutclusters extends Google_Service_Resource
+{
+ /**
+ * Deletes a cluster. (storelayoutclusters.delete)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $pageId The ID of the page.
+ * @param string $clusterId The ID of the cluster.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($enterpriseId, $pageId, $clusterId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves details of a cluster. (storelayoutclusters.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $pageId The ID of the page.
+ * @param string $clusterId The ID of the cluster.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_StoreCluster
+ */
+ public function get($enterpriseId, $pageId, $clusterId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_StoreCluster");
+ }
+ /**
+ * Inserts a new cluster in a page. (storelayoutclusters.insert)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $pageId The ID of the page.
+ * @param Google_Service_AndroidEnterprise_StoreCluster $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_StoreCluster
+ */
+ public function insert($enterpriseId, $pageId, Google_Service_AndroidEnterprise_StoreCluster $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_StoreCluster");
+ }
+ /**
+ * Retrieves the details of all clusters on the specified page.
+ * (storelayoutclusters.listStorelayoutclusters)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $pageId The ID of the page.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_StoreLayoutClustersListResponse
+ */
+ public function listStorelayoutclusters($enterpriseId, $pageId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_StoreLayoutClustersListResponse");
+ }
+ /**
+ * Updates a cluster. This method supports patch semantics.
+ * (storelayoutclusters.patch)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $pageId The ID of the page.
+ * @param string $clusterId The ID of the cluster.
+ * @param Google_Service_AndroidEnterprise_StoreCluster $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_StoreCluster
+ */
+ public function patch($enterpriseId, $pageId, $clusterId, Google_Service_AndroidEnterprise_StoreCluster $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_StoreCluster");
+ }
+ /**
+ * Updates a cluster. (storelayoutclusters.update)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $pageId The ID of the page.
+ * @param string $clusterId The ID of the cluster.
+ * @param Google_Service_AndroidEnterprise_StoreCluster $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_StoreCluster
+ */
+ public function update($enterpriseId, $pageId, $clusterId, Google_Service_AndroidEnterprise_StoreCluster $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidEnterprise_StoreCluster");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Storelayoutpages.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Storelayoutpages.php
new file mode 100644
index 00000000..f06c2fa6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Storelayoutpages.php
@@ -0,0 +1,114 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "storelayoutpages" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $storelayoutpages = $androidenterpriseService->storelayoutpages;
+ * </code>
+ */
+class Google_Service_AndroidEnterprise_Resource_Storelayoutpages extends Google_Service_Resource
+{
+ /**
+ * Deletes a store page. (storelayoutpages.delete)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $pageId The ID of the page.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($enterpriseId, $pageId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves details of a store page. (storelayoutpages.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $pageId The ID of the page.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_StorePage
+ */
+ public function get($enterpriseId, $pageId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_StorePage");
+ }
+ /**
+ * Inserts a new store page. (storelayoutpages.insert)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param Google_Service_AndroidEnterprise_StorePage $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_StorePage
+ */
+ public function insert($enterpriseId, Google_Service_AndroidEnterprise_StorePage $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_StorePage");
+ }
+ /**
+ * Retrieves the details of all pages in the store.
+ * (storelayoutpages.listStorelayoutpages)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_StoreLayoutPagesListResponse
+ */
+ public function listStorelayoutpages($enterpriseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_StoreLayoutPagesListResponse");
+ }
+ /**
+ * Updates the content of a store page. This method supports patch semantics.
+ * (storelayoutpages.patch)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $pageId The ID of the page.
+ * @param Google_Service_AndroidEnterprise_StorePage $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_StorePage
+ */
+ public function patch($enterpriseId, $pageId, Google_Service_AndroidEnterprise_StorePage $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_StorePage");
+ }
+ /**
+ * Updates the content of a store page. (storelayoutpages.update)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $pageId The ID of the page.
+ * @param Google_Service_AndroidEnterprise_StorePage $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_StorePage
+ */
+ public function update($enterpriseId, $pageId, Google_Service_AndroidEnterprise_StorePage $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidEnterprise_StorePage");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Users.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Users.php
new file mode 100644
index 00000000..dd070c4c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Users.php
@@ -0,0 +1,215 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $users = $androidenterpriseService->users;
+ * </code>
+ */
+class Google_Service_AndroidEnterprise_Resource_Users extends Google_Service_Resource
+{
+ /**
+ * Deleted an EMM-managed user. (users.delete)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($enterpriseId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Generates an authentication token which the device policy client can use to
+ * provision the given EMM-managed user account on a device. The generated token
+ * is single-use and expires after a few minutes.
+ *
+ * This call only works with EMM-managed accounts.
+ * (users.generateAuthenticationToken)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_AuthenticationToken
+ */
+ public function generateAuthenticationToken($enterpriseId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('generateAuthenticationToken', array($params), "Google_Service_AndroidEnterprise_AuthenticationToken");
+ }
+ /**
+ * Generates a token (activation code) to allow this user to configure their
+ * managed account in the Android Setup Wizard. Revokes any previously generated
+ * token.
+ *
+ * This call only works with Google managed accounts. (users.generateToken)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_UserToken
+ */
+ public function generateToken($enterpriseId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('generateToken', array($params), "Google_Service_AndroidEnterprise_UserToken");
+ }
+ /**
+ * Retrieves a user's details. (users.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_User
+ */
+ public function get($enterpriseId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_User");
+ }
+ /**
+ * Retrieves the set of products a user is entitled to access.
+ * (users.getAvailableProductSet)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_ProductSet
+ */
+ public function getAvailableProductSet($enterpriseId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getAvailableProductSet', array($params), "Google_Service_AndroidEnterprise_ProductSet");
+ }
+ /**
+ * Creates a new EMM-managed user.
+ *
+ * The Users resource passed in the body of the request should include an
+ * accountIdentifier and an accountType. If a corresponding user already exists
+ * with the same account identifier, the user will be updated with the resource.
+ * In this case only the displayName field can be changed. (users.insert)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param Google_Service_AndroidEnterprise_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_User
+ */
+ public function insert($enterpriseId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_User");
+ }
+ /**
+ * Looks up a user by primary email address. This is only supported for Google-
+ * managed users. Lookup of the id is not needed for EMM-managed users because
+ * the id is already returned in the result of the Users.insert call.
+ * (users.listUsers)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $email The exact primary email address of the user to look up.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_UsersListResponse
+ */
+ public function listUsers($enterpriseId, $email, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'email' => $email);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_UsersListResponse");
+ }
+ /**
+ * Updates the details of an EMM-managed user.
+ *
+ * Can be used with EMM-managed users only (not Google managed users). Pass the
+ * new details in the Users resource in the request body. Only the displayName
+ * field can be changed. Other fields must either be unset or have the currently
+ * active value. This method supports patch semantics. (users.patch)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param Google_Service_AndroidEnterprise_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_User
+ */
+ public function patch($enterpriseId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_User");
+ }
+ /**
+ * Revokes a previously generated token (activation code) for the user.
+ * (users.revokeToken)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ */
+ public function revokeToken($enterpriseId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('revokeToken', array($params));
+ }
+ /**
+ * Modifies the set of products that a user is entitled to access (referred to
+ * as whitelisted products). Only products that are approved or products that
+ * were previously approved (products with revoked approval) can be whitelisted.
+ * (users.setAvailableProductSet)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param Google_Service_AndroidEnterprise_ProductSet $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_ProductSet
+ */
+ public function setAvailableProductSet($enterpriseId, $userId, Google_Service_AndroidEnterprise_ProductSet $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setAvailableProductSet', array($params), "Google_Service_AndroidEnterprise_ProductSet");
+ }
+ /**
+ * Updates the details of an EMM-managed user.
+ *
+ * Can be used with EMM-managed users only (not Google managed users). Pass the
+ * new details in the Users resource in the request body. Only the displayName
+ * field can be changed. Other fields must either be unset or have the currently
+ * active value. (users.update)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param Google_Service_AndroidEnterprise_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_User
+ */
+ public function update($enterpriseId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidEnterprise_User");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccount.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccount.php
new file mode 100644
index 00000000..e1746570
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccount.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ServiceAccount extends Google_Model
+{
+ protected $keyType = 'Google_Service_AndroidEnterprise_ServiceAccountKey';
+ protected $keyDataType = '';
+ public $kind;
+ public $name;
+
+ public function setKey(Google_Service_AndroidEnterprise_ServiceAccountKey $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 setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccountKey.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccountKey.php
new file mode 100644
index 00000000..41b182df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccountKey.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ServiceAccountKey extends Google_Model
+{
+ public $data;
+ public $id;
+ public $kind;
+ public $publicData;
+ public $type;
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ 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 setPublicData($publicData)
+ {
+ $this->publicData = $publicData;
+ }
+ public function getPublicData()
+ {
+ return $this->publicData;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccountKeysListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccountKeysListResponse.php
new file mode 100644
index 00000000..5e336a24
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccountKeysListResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_ServiceAccountKeysListResponse extends Google_Collection
+{
+ protected $collection_key = 'serviceAccountKey';
+ protected $serviceAccountKeyType = 'Google_Service_AndroidEnterprise_ServiceAccountKey';
+ protected $serviceAccountKeyDataType = 'array';
+
+ public function setServiceAccountKey($serviceAccountKey)
+ {
+ $this->serviceAccountKey = $serviceAccountKey;
+ }
+ public function getServiceAccountKey()
+ {
+ return $this->serviceAccountKey;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/SignupInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/SignupInfo.php
new file mode 100644
index 00000000..20dc18e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/SignupInfo.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_SignupInfo extends Google_Model
+{
+ public $completionToken;
+ public $kind;
+ public $url;
+
+ public function setCompletionToken($completionToken)
+ {
+ $this->completionToken = $completionToken;
+ }
+ public function getCompletionToken()
+ {
+ return $this->completionToken;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreCluster.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreCluster.php
new file mode 100644
index 00000000..bfca3515
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreCluster.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_StoreCluster extends Google_Collection
+{
+ protected $collection_key = 'productId';
+ public $id;
+ public $kind;
+ protected $nameType = 'Google_Service_AndroidEnterprise_LocalizedText';
+ protected $nameDataType = 'array';
+ public $orderInPage;
+ public $productId;
+
+ 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 setOrderInPage($orderInPage)
+ {
+ $this->orderInPage = $orderInPage;
+ }
+ public function getOrderInPage()
+ {
+ return $this->orderInPage;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayout.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayout.php
new file mode 100644
index 00000000..faf25c1a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayout.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_StoreLayout extends Google_Model
+{
+ public $homepageId;
+ public $kind;
+ public $storeLayoutType;
+
+ public function setHomepageId($homepageId)
+ {
+ $this->homepageId = $homepageId;
+ }
+ public function getHomepageId()
+ {
+ return $this->homepageId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setStoreLayoutType($storeLayoutType)
+ {
+ $this->storeLayoutType = $storeLayoutType;
+ }
+ public function getStoreLayoutType()
+ {
+ return $this->storeLayoutType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayoutClustersListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayoutClustersListResponse.php
new file mode 100644
index 00000000..553f3ab0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayoutClustersListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_StoreLayoutClustersListResponse extends Google_Collection
+{
+ protected $collection_key = 'cluster';
+ protected $clusterType = 'Google_Service_AndroidEnterprise_StoreCluster';
+ protected $clusterDataType = 'array';
+ public $kind;
+
+ public function setCluster($cluster)
+ {
+ $this->cluster = $cluster;
+ }
+ public function getCluster()
+ {
+ return $this->cluster;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayoutPagesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayoutPagesListResponse.php
new file mode 100644
index 00000000..c47c3374
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayoutPagesListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_StoreLayoutPagesListResponse extends Google_Collection
+{
+ protected $collection_key = 'page';
+ public $kind;
+ protected $pageType = 'Google_Service_AndroidEnterprise_StorePage';
+ protected $pageDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPage($page)
+ {
+ $this->page = $page;
+ }
+ public function getPage()
+ {
+ return $this->page;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StorePage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StorePage.php
new file mode 100644
index 00000000..bee78374
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StorePage.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_StorePage extends Google_Collection
+{
+ protected $collection_key = 'name';
+ public $id;
+ public $kind;
+ public $link;
+ protected $nameType = 'Google_Service_AndroidEnterprise_LocalizedText';
+ protected $nameDataType = '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 setLink($link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/TokenPagination.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/TokenPagination.php
new file mode 100644
index 00000000..69fc8175
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/TokenPagination.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_TokenPagination extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/User.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/User.php
new file mode 100644
index 00000000..60ed8dbf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/User.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_User extends Google_Model
+{
+ public $accountIdentifier;
+ public $accountType;
+ public $displayName;
+ public $id;
+ public $kind;
+ public $managementType;
+ public $primaryEmail;
+
+ public function setAccountIdentifier($accountIdentifier)
+ {
+ $this->accountIdentifier = $accountIdentifier;
+ }
+ public function getAccountIdentifier()
+ {
+ return $this->accountIdentifier;
+ }
+ public function setAccountType($accountType)
+ {
+ $this->accountType = $accountType;
+ }
+ public function getAccountType()
+ {
+ return $this->accountType;
+ }
+ 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 setManagementType($managementType)
+ {
+ $this->managementType = $managementType;
+ }
+ public function getManagementType()
+ {
+ return $this->managementType;
+ }
+ public function setPrimaryEmail($primaryEmail)
+ {
+ $this->primaryEmail = $primaryEmail;
+ }
+ public function getPrimaryEmail()
+ {
+ return $this->primaryEmail;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/UserToken.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/UserToken.php
new file mode 100644
index 00000000..fd511dc7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/UserToken.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_UserToken extends Google_Model
+{
+ public $kind;
+ public $token;
+ public $userId;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/UsersListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/UsersListResponse.php
new file mode 100644
index 00000000..b680ded9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/UsersListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidEnterprise_UsersListResponse extends Google_Collection
+{
+ protected $collection_key = 'user';
+ public $kind;
+ protected $userType = 'Google_Service_AndroidEnterprise_User';
+ protected $userDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher.php
new file mode 100644
index 00000000..8aba4482
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher.php
@@ -0,0 +1,1347 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher extends Google_Service
+{
+ /** View and manage your Google Play Developer account. */
+ const ANDROIDPUBLISHER =
+ "https://www.googleapis.com/auth/androidpublisher";
+
+ public $edits;
+ public $edits_apklistings;
+ public $edits_apks;
+ public $edits_deobfuscationfiles;
+ public $edits_details;
+ public $edits_expansionfiles;
+ public $edits_images;
+ public $edits_listings;
+ public $edits_testers;
+ public $edits_tracks;
+ public $entitlements;
+ public $inappproducts;
+ public $purchases_products;
+ public $purchases_subscriptions;
+ public $purchases_voidedpurchases;
+ public $reviews;
+
+ /**
+ * Constructs the internal representation of the AndroidPublisher service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'androidpublisher/v2/applications/';
+ $this->version = 'v2';
+ $this->serviceName = 'androidpublisher';
+
+ $this->edits = new Google_Service_AndroidPublisher_Resource_Edits(
+ $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 Google_Service_AndroidPublisher_Resource_EditsApklistings(
+ $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 Google_Service_AndroidPublisher_Resource_EditsApks(
+ $this,
+ $this->serviceName,
+ 'apks',
+ array(
+ 'methods' => array(
+ 'addexternallyhosted' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/externallyHosted',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'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_deobfuscationfiles = new Google_Service_AndroidPublisher_Resource_EditsDeobfuscationfiles(
+ $this,
+ $this->serviceName,
+ 'deobfuscationfiles',
+ array(
+ 'methods' => array(
+ 'upload' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}',
+ '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,
+ ),
+ 'deobfuscationFileType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_details = new Google_Service_AndroidPublisher_Resource_EditsDetails(
+ $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 Google_Service_AndroidPublisher_Resource_EditsExpansionfiles(
+ $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 Google_Service_AndroidPublisher_Resource_EditsImages(
+ $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 Google_Service_AndroidPublisher_Resource_EditsListings(
+ $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 Google_Service_AndroidPublisher_Resource_EditsTesters(
+ $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 Google_Service_AndroidPublisher_Resource_EditsTracks(
+ $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->entitlements = new Google_Service_AndroidPublisher_Resource_Entitlements(
+ $this,
+ $this->serviceName,
+ 'entitlements',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{packageName}/entitlements',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'productId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->inappproducts = new Google_Service_AndroidPublisher_Resource_Inappproducts(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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 Google_Service_AndroidPublisher_Resource_PurchasesProducts(
+ $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 Google_Service_AndroidPublisher_Resource_PurchasesSubscriptions(
+ $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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->purchases_voidedpurchases = new Google_Service_AndroidPublisher_Resource_PurchasesVoidedpurchases(
+ $this,
+ $this->serviceName,
+ 'voidedpurchases',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{packageName}/purchases/voidedpurchases',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reviews = new Google_Service_AndroidPublisher_Resource_Reviews(
+ $this,
+ $this->serviceName,
+ 'reviews',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{packageName}/reviews/{reviewId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reviewId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'translationLanguage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{packageName}/reviews',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'translationLanguage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'reply' => array(
+ 'path' => '{packageName}/reviews/{reviewId}:reply',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reviewId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Apk.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Apk.php
new file mode 100644
index 00000000..25b7a54b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Apk.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_Apk extends Google_Model
+{
+ protected $binaryType = 'Google_Service_AndroidPublisher_ApkBinary';
+ protected $binaryDataType = '';
+ public $versionCode;
+
+ public function setBinary(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkBinary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkBinary.php
new file mode 100644
index 00000000..713000e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkBinary.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ApkBinary extends Google_Model
+{
+ public $sha1;
+
+ public function setSha1($sha1)
+ {
+ $this->sha1 = $sha1;
+ }
+ public function getSha1()
+ {
+ return $this->sha1;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkListing.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkListing.php
new file mode 100644
index 00000000..ee624744
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkListing.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ApkListing extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkListingsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkListingsListResponse.php
new file mode 100644
index 00000000..d9adb37a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkListingsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ApkListingsListResponse extends Google_Collection
+{
+ protected $collection_key = 'listings';
+ public $kind;
+ protected $listingsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksAddExternallyHostedRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksAddExternallyHostedRequest.php
new file mode 100644
index 00000000..d7ca9cd4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksAddExternallyHostedRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest extends Google_Model
+{
+ protected $externallyHostedApkType = 'Google_Service_AndroidPublisher_ExternallyHostedApk';
+ protected $externallyHostedApkDataType = '';
+
+ public function setExternallyHostedApk(Google_Service_AndroidPublisher_ExternallyHostedApk $externallyHostedApk)
+ {
+ $this->externallyHostedApk = $externallyHostedApk;
+ }
+ public function getExternallyHostedApk()
+ {
+ return $this->externallyHostedApk;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksAddExternallyHostedResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksAddExternallyHostedResponse.php
new file mode 100644
index 00000000..2829511e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksAddExternallyHostedResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse extends Google_Model
+{
+ protected $externallyHostedApkType = 'Google_Service_AndroidPublisher_ExternallyHostedApk';
+ protected $externallyHostedApkDataType = '';
+
+ public function setExternallyHostedApk(Google_Service_AndroidPublisher_ExternallyHostedApk $externallyHostedApk)
+ {
+ $this->externallyHostedApk = $externallyHostedApk;
+ }
+ public function getExternallyHostedApk()
+ {
+ return $this->externallyHostedApk;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksListResponse.php
new file mode 100644
index 00000000..040a7459
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ApksListResponse extends Google_Collection
+{
+ protected $collection_key = 'apks';
+ protected $apksType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/AppDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/AppDetails.php
new file mode 100644
index 00000000..6fe56b02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/AppDetails.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_AppDetails extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/AppEdit.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/AppEdit.php
new file mode 100644
index 00000000..4175f551
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/AppEdit.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_AppEdit extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Comment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Comment.php
new file mode 100644
index 00000000..dab712f1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Comment.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_Comment extends Google_Model
+{
+ protected $developerCommentType = 'Google_Service_AndroidPublisher_DeveloperComment';
+ protected $developerCommentDataType = '';
+ protected $userCommentType = 'Google_Service_AndroidPublisher_UserComment';
+ protected $userCommentDataType = '';
+
+ public function setDeveloperComment(Google_Service_AndroidPublisher_DeveloperComment $developerComment)
+ {
+ $this->developerComment = $developerComment;
+ }
+ public function getDeveloperComment()
+ {
+ return $this->developerComment;
+ }
+ public function setUserComment(Google_Service_AndroidPublisher_UserComment $userComment)
+ {
+ $this->userComment = $userComment;
+ }
+ public function getUserComment()
+ {
+ return $this->userComment;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeobfuscationFile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeobfuscationFile.php
new file mode 100644
index 00000000..9c3389b4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeobfuscationFile.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_DeobfuscationFile extends Google_Model
+{
+ public $symbolType;
+
+ public function setSymbolType($symbolType)
+ {
+ $this->symbolType = $symbolType;
+ }
+ public function getSymbolType()
+ {
+ return $this->symbolType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeobfuscationFilesUploadResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeobfuscationFilesUploadResponse.php
new file mode 100644
index 00000000..598ce394
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeobfuscationFilesUploadResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_DeobfuscationFilesUploadResponse extends Google_Model
+{
+ protected $deobfuscationFileType = 'Google_Service_AndroidPublisher_DeobfuscationFile';
+ protected $deobfuscationFileDataType = '';
+
+ public function setDeobfuscationFile(Google_Service_AndroidPublisher_DeobfuscationFile $deobfuscationFile)
+ {
+ $this->deobfuscationFile = $deobfuscationFile;
+ }
+ public function getDeobfuscationFile()
+ {
+ return $this->deobfuscationFile;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeveloperComment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeveloperComment.php
new file mode 100644
index 00000000..5686bf9e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeveloperComment.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_DeveloperComment extends Google_Model
+{
+ protected $lastModifiedType = 'Google_Service_AndroidPublisher_Timestamp';
+ protected $lastModifiedDataType = '';
+ public $text;
+
+ public function setLastModified(Google_Service_AndroidPublisher_Timestamp $lastModified)
+ {
+ $this->lastModified = $lastModified;
+ }
+ public function getLastModified()
+ {
+ return $this->lastModified;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeviceMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeviceMetadata.php
new file mode 100644
index 00000000..ebd0036f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeviceMetadata.php
@@ -0,0 +1,120 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_DeviceMetadata extends Google_Model
+{
+ public $cpuMake;
+ public $cpuModel;
+ public $deviceClass;
+ public $glEsVersion;
+ public $manufacturer;
+ public $nativePlatform;
+ public $productName;
+ public $ramMb;
+ public $screenDensityDpi;
+ public $screenHeightPx;
+ public $screenWidthPx;
+
+ public function setCpuMake($cpuMake)
+ {
+ $this->cpuMake = $cpuMake;
+ }
+ public function getCpuMake()
+ {
+ return $this->cpuMake;
+ }
+ public function setCpuModel($cpuModel)
+ {
+ $this->cpuModel = $cpuModel;
+ }
+ public function getCpuModel()
+ {
+ return $this->cpuModel;
+ }
+ public function setDeviceClass($deviceClass)
+ {
+ $this->deviceClass = $deviceClass;
+ }
+ public function getDeviceClass()
+ {
+ return $this->deviceClass;
+ }
+ public function setGlEsVersion($glEsVersion)
+ {
+ $this->glEsVersion = $glEsVersion;
+ }
+ public function getGlEsVersion()
+ {
+ return $this->glEsVersion;
+ }
+ public function setManufacturer($manufacturer)
+ {
+ $this->manufacturer = $manufacturer;
+ }
+ public function getManufacturer()
+ {
+ return $this->manufacturer;
+ }
+ public function setNativePlatform($nativePlatform)
+ {
+ $this->nativePlatform = $nativePlatform;
+ }
+ public function getNativePlatform()
+ {
+ return $this->nativePlatform;
+ }
+ public function setProductName($productName)
+ {
+ $this->productName = $productName;
+ }
+ public function getProductName()
+ {
+ return $this->productName;
+ }
+ public function setRamMb($ramMb)
+ {
+ $this->ramMb = $ramMb;
+ }
+ public function getRamMb()
+ {
+ return $this->ramMb;
+ }
+ public function setScreenDensityDpi($screenDensityDpi)
+ {
+ $this->screenDensityDpi = $screenDensityDpi;
+ }
+ public function getScreenDensityDpi()
+ {
+ return $this->screenDensityDpi;
+ }
+ public function setScreenHeightPx($screenHeightPx)
+ {
+ $this->screenHeightPx = $screenHeightPx;
+ }
+ public function getScreenHeightPx()
+ {
+ return $this->screenHeightPx;
+ }
+ public function setScreenWidthPx($screenWidthPx)
+ {
+ $this->screenWidthPx = $screenWidthPx;
+ }
+ public function getScreenWidthPx()
+ {
+ return $this->screenWidthPx;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Entitlement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Entitlement.php
new file mode 100644
index 00000000..79a76811
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Entitlement.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_Entitlement extends Google_Model
+{
+ public $kind;
+ public $productId;
+ public $productType;
+ public $token;
+
+ 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 setProductType($productType)
+ {
+ $this->productType = $productType;
+ }
+ public function getProductType()
+ {
+ return $this->productType;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/EntitlementsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/EntitlementsListResponse.php
new file mode 100644
index 00000000..c6ba8213
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/EntitlementsListResponse.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_EntitlementsListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $pageInfoType = 'Google_Service_AndroidPublisher_PageInfo';
+ protected $pageInfoDataType = '';
+ protected $resourcesType = 'Google_Service_AndroidPublisher_Entitlement';
+ protected $resourcesDataType = 'array';
+ protected $tokenPaginationType = 'Google_Service_AndroidPublisher_TokenPagination';
+ protected $tokenPaginationDataType = '';
+
+ public function setPageInfo(Google_Service_AndroidPublisher_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+ public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExpansionFile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExpansionFile.php
new file mode 100644
index 00000000..32635979
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExpansionFile.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ExpansionFile extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExpansionFilesUploadResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExpansionFilesUploadResponse.php
new file mode 100644
index 00000000..b53010d4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExpansionFilesUploadResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ExpansionFilesUploadResponse extends Google_Model
+{
+ protected $expansionFileType = 'Google_Service_AndroidPublisher_ExpansionFile';
+ protected $expansionFileDataType = '';
+
+ public function setExpansionFile(Google_Service_AndroidPublisher_ExpansionFile $expansionFile)
+ {
+ $this->expansionFile = $expansionFile;
+ }
+ public function getExpansionFile()
+ {
+ return $this->expansionFile;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExternallyHostedApk.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExternallyHostedApk.php
new file mode 100644
index 00000000..1f4bc1c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExternallyHostedApk.php
@@ -0,0 +1,158 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ExternallyHostedApk extends Google_Collection
+{
+ protected $collection_key = 'usesPermissions';
+ public $applicationLabel;
+ public $certificateBase64s;
+ public $externallyHostedUrl;
+ public $fileSha1Base64;
+ public $fileSha256Base64;
+ public $fileSize;
+ public $iconBase64;
+ public $maximumSdk;
+ public $minimumSdk;
+ public $nativeCodes;
+ public $packageName;
+ public $usesFeatures;
+ protected $usesPermissionsType = 'Google_Service_AndroidPublisher_ExternallyHostedApkUsesPermission';
+ protected $usesPermissionsDataType = 'array';
+ public $versionCode;
+ public $versionName;
+
+ public function setApplicationLabel($applicationLabel)
+ {
+ $this->applicationLabel = $applicationLabel;
+ }
+ public function getApplicationLabel()
+ {
+ return $this->applicationLabel;
+ }
+ public function setCertificateBase64s($certificateBase64s)
+ {
+ $this->certificateBase64s = $certificateBase64s;
+ }
+ public function getCertificateBase64s()
+ {
+ return $this->certificateBase64s;
+ }
+ public function setExternallyHostedUrl($externallyHostedUrl)
+ {
+ $this->externallyHostedUrl = $externallyHostedUrl;
+ }
+ public function getExternallyHostedUrl()
+ {
+ return $this->externallyHostedUrl;
+ }
+ public function setFileSha1Base64($fileSha1Base64)
+ {
+ $this->fileSha1Base64 = $fileSha1Base64;
+ }
+ public function getFileSha1Base64()
+ {
+ return $this->fileSha1Base64;
+ }
+ public function setFileSha256Base64($fileSha256Base64)
+ {
+ $this->fileSha256Base64 = $fileSha256Base64;
+ }
+ public function getFileSha256Base64()
+ {
+ return $this->fileSha256Base64;
+ }
+ public function setFileSize($fileSize)
+ {
+ $this->fileSize = $fileSize;
+ }
+ public function getFileSize()
+ {
+ return $this->fileSize;
+ }
+ public function setIconBase64($iconBase64)
+ {
+ $this->iconBase64 = $iconBase64;
+ }
+ public function getIconBase64()
+ {
+ return $this->iconBase64;
+ }
+ public function setMaximumSdk($maximumSdk)
+ {
+ $this->maximumSdk = $maximumSdk;
+ }
+ public function getMaximumSdk()
+ {
+ return $this->maximumSdk;
+ }
+ public function setMinimumSdk($minimumSdk)
+ {
+ $this->minimumSdk = $minimumSdk;
+ }
+ public function getMinimumSdk()
+ {
+ return $this->minimumSdk;
+ }
+ public function setNativeCodes($nativeCodes)
+ {
+ $this->nativeCodes = $nativeCodes;
+ }
+ public function getNativeCodes()
+ {
+ return $this->nativeCodes;
+ }
+ public function setPackageName($packageName)
+ {
+ $this->packageName = $packageName;
+ }
+ public function getPackageName()
+ {
+ return $this->packageName;
+ }
+ public function setUsesFeatures($usesFeatures)
+ {
+ $this->usesFeatures = $usesFeatures;
+ }
+ public function getUsesFeatures()
+ {
+ return $this->usesFeatures;
+ }
+ public function setUsesPermissions($usesPermissions)
+ {
+ $this->usesPermissions = $usesPermissions;
+ }
+ public function getUsesPermissions()
+ {
+ return $this->usesPermissions;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExternallyHostedApkUsesPermission.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExternallyHostedApkUsesPermission.php
new file mode 100644
index 00000000..27fd1b00
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExternallyHostedApkUsesPermission.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ExternallyHostedApkUsesPermission extends Google_Model
+{
+ public $maxSdkVersion;
+ public $name;
+
+ public function setMaxSdkVersion($maxSdkVersion)
+ {
+ $this->maxSdkVersion = $maxSdkVersion;
+ }
+ public function getMaxSdkVersion()
+ {
+ return $this->maxSdkVersion;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Image.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Image.php
new file mode 100644
index 00000000..269ceb7c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Image.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_Image extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesDeleteAllResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesDeleteAllResponse.php
new file mode 100644
index 00000000..7d2fcf3f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesDeleteAllResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ImagesDeleteAllResponse extends Google_Collection
+{
+ protected $collection_key = 'deleted';
+ protected $deletedType = 'Google_Service_AndroidPublisher_Image';
+ protected $deletedDataType = 'array';
+
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesListResponse.php
new file mode 100644
index 00000000..740f9a04
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesListResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ImagesListResponse extends Google_Collection
+{
+ protected $collection_key = 'images';
+ protected $imagesType = 'Google_Service_AndroidPublisher_Image';
+ protected $imagesDataType = 'array';
+
+ public function setImages($images)
+ {
+ $this->images = $images;
+ }
+ public function getImages()
+ {
+ return $this->images;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesUploadResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesUploadResponse.php
new file mode 100644
index 00000000..1e8514b0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesUploadResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ImagesUploadResponse extends Google_Model
+{
+ protected $imageType = 'Google_Service_AndroidPublisher_Image';
+ protected $imageDataType = '';
+
+ public function setImage(Google_Service_AndroidPublisher_Image $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InAppProduct.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InAppProduct.php
new file mode 100644
index 00000000..c4c503b4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InAppProduct.php
@@ -0,0 +1,124 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_InAppProduct extends Google_Model
+{
+ public $defaultLanguage;
+ protected $defaultPriceType = 'Google_Service_AndroidPublisher_Price';
+ protected $defaultPriceDataType = '';
+ protected $listingsType = 'Google_Service_AndroidPublisher_InAppProductListing';
+ protected $listingsDataType = 'map';
+ public $packageName;
+ protected $pricesType = 'Google_Service_AndroidPublisher_Price';
+ protected $pricesDataType = 'map';
+ public $purchaseType;
+ protected $seasonType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InAppProductListing.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InAppProductListing.php
new file mode 100644
index 00000000..1c3388b3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InAppProductListing.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_InAppProductListing extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchRequest.php
new file mode 100644
index 00000000..6ab8fa5c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_InappproductsBatchRequest extends Google_Collection
+{
+ protected $collection_key = 'entrys';
+ protected $entrysType = 'Google_Service_AndroidPublisher_InappproductsBatchRequestEntry';
+ protected $entrysDataType = 'array';
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchRequestEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchRequestEntry.php
new file mode 100644
index 00000000..8677b014
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchRequestEntry.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_InappproductsBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $inappproductsinsertrequestType = 'Google_Service_AndroidPublisher_InappproductsInsertRequest';
+ protected $inappproductsinsertrequestDataType = '';
+ protected $inappproductsupdaterequestType = 'Google_Service_AndroidPublisher_InappproductsUpdateRequest';
+ protected $inappproductsupdaterequestDataType = '';
+ public $methodName;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setInappproductsinsertrequest(Google_Service_AndroidPublisher_InappproductsInsertRequest $inappproductsinsertrequest)
+ {
+ $this->inappproductsinsertrequest = $inappproductsinsertrequest;
+ }
+ public function getInappproductsinsertrequest()
+ {
+ return $this->inappproductsinsertrequest;
+ }
+ public function setInappproductsupdaterequest(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchResponse.php
new file mode 100644
index 00000000..324864ba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_InappproductsBatchResponse extends Google_Collection
+{
+ protected $collection_key = 'entrys';
+ protected $entrysType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchResponseEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchResponseEntry.php
new file mode 100644
index 00000000..ed82acc5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchResponseEntry.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_InappproductsBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $inappproductsinsertresponseType = 'Google_Service_AndroidPublisher_InappproductsInsertResponse';
+ protected $inappproductsinsertresponseDataType = '';
+ protected $inappproductsupdateresponseType = 'Google_Service_AndroidPublisher_InappproductsUpdateResponse';
+ protected $inappproductsupdateresponseDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setInappproductsinsertresponse(Google_Service_AndroidPublisher_InappproductsInsertResponse $inappproductsinsertresponse)
+ {
+ $this->inappproductsinsertresponse = $inappproductsinsertresponse;
+ }
+ public function getInappproductsinsertresponse()
+ {
+ return $this->inappproductsinsertresponse;
+ }
+ public function setInappproductsupdateresponse(Google_Service_AndroidPublisher_InappproductsUpdateResponse $inappproductsupdateresponse)
+ {
+ $this->inappproductsupdateresponse = $inappproductsupdateresponse;
+ }
+ public function getInappproductsupdateresponse()
+ {
+ return $this->inappproductsupdateresponse;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsInsertRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsInsertRequest.php
new file mode 100644
index 00000000..ed15881c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsInsertRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_InappproductsInsertRequest extends Google_Model
+{
+ protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = '';
+
+ public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
+ {
+ $this->inappproduct = $inappproduct;
+ }
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsInsertResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsInsertResponse.php
new file mode 100644
index 00000000..079e375c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsInsertResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_InappproductsInsertResponse extends Google_Model
+{
+ protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = '';
+
+ public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
+ {
+ $this->inappproduct = $inappproduct;
+ }
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsListResponse.php
new file mode 100644
index 00000000..a6ee8471
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsListResponse.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_InappproductsListResponse extends Google_Collection
+{
+ protected $collection_key = 'inappproduct';
+ protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = 'array';
+ public $kind;
+ protected $pageInfoType = 'Google_Service_AndroidPublisher_PageInfo';
+ protected $pageInfoDataType = '';
+ protected $tokenPaginationType = '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(Google_Service_AndroidPublisher_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsUpdateRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsUpdateRequest.php
new file mode 100644
index 00000000..35647417
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsUpdateRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_InappproductsUpdateRequest extends Google_Model
+{
+ protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = '';
+
+ public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
+ {
+ $this->inappproduct = $inappproduct;
+ }
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsUpdateResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsUpdateResponse.php
new file mode 100644
index 00000000..6966db8b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsUpdateResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_InappproductsUpdateResponse extends Google_Model
+{
+ protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = '';
+
+ public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
+ {
+ $this->inappproduct = $inappproduct;
+ }
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Listing.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Listing.php
new file mode 100644
index 00000000..97677c40
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Listing.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_Listing extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ListingsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ListingsListResponse.php
new file mode 100644
index 00000000..5f864bbe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ListingsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ListingsListResponse extends Google_Collection
+{
+ protected $collection_key = 'listings';
+ public $kind;
+ protected $listingsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/MonthDay.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/MonthDay.php
new file mode 100644
index 00000000..cb2e1ec9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/MonthDay.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_MonthDay extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/PageInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/PageInfo.php
new file mode 100644
index 00000000..18ba5507
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/PageInfo.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_PageInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Price.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Price.php
new file mode 100644
index 00000000..211e5744
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Price.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_Price extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ProductPurchase.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ProductPurchase.php
new file mode 100644
index 00000000..f4cc2aae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ProductPurchase.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ProductPurchase extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Prorate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Prorate.php
new file mode 100644
index 00000000..099f6a0d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Prorate.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_Prorate extends Google_Model
+{
+ protected $defaultPriceType = 'Google_Service_AndroidPublisher_Price';
+ protected $defaultPriceDataType = '';
+ protected $startType = 'Google_Service_AndroidPublisher_MonthDay';
+ protected $startDataType = '';
+
+ public function setDefaultPrice(Google_Service_AndroidPublisher_Price $defaultPrice)
+ {
+ $this->defaultPrice = $defaultPrice;
+ }
+ public function getDefaultPrice()
+ {
+ return $this->defaultPrice;
+ }
+ public function setStart(Google_Service_AndroidPublisher_MonthDay $start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Edits.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Edits.php
new file mode 100644
index 00000000..717e239c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Edits.php
@@ -0,0 +1,107 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "edits" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $edits = $androidpublisherService->edits;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_Edits extends 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 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), "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 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), "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 Google_Service_AndroidPublisher_AppEdit $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_AppEdit
+ */
+ public function insert($packageName, Google_Service_AndroidPublisher_AppEdit $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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), "Google_Service_AndroidPublisher_AppEdit");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsApklistings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsApklistings.php
new file mode 100644
index 00000000..ede1af67
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsApklistings.php
@@ -0,0 +1,148 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "apklistings" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $apklistings = $androidpublisherService->apklistings;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_EditsApklistings extends 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 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), "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 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), "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 Google_Service_AndroidPublisher_ApkListing $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ApkListing
+ */
+ public function patch($packageName, $editId, $apkVersionCode, $language, 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), "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 Google_Service_AndroidPublisher_ApkListing $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ApkListing
+ */
+ public function update($packageName, $editId, $apkVersionCode, $language, 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), "Google_Service_AndroidPublisher_ApkListing");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsApks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsApks.php
new file mode 100644
index 00000000..a26caa6b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsApks.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "apks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $apks = $androidpublisherService->apks;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_EditsApks extends Google_Service_Resource
+{
+ /**
+ * Creates a new APK without uploading the APK itself to Google Play, instead
+ * hosting the APK at a specified URL. This function is only available to
+ * enterprises using Google Play for Work whose application is configured to
+ * restrict distribution to the enterprise domain. (apks.addexternallyhosted)
+ *
+ * @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 Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse
+ */
+ public function addexternallyhosted($packageName, $editId, Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addexternallyhosted', array($params), "Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse");
+ }
+ /**
+ * (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 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), "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 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), "Google_Service_AndroidPublisher_Apk");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsDeobfuscationfiles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsDeobfuscationfiles.php
new file mode 100644
index 00000000..b8b46996
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsDeobfuscationfiles.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "deobfuscationfiles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $deobfuscationfiles = $androidpublisherService->deobfuscationfiles;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_EditsDeobfuscationfiles extends Google_Service_Resource
+{
+ /**
+ * Uploads the deobfuscation file of the specified APK. If a deobfuscation file
+ * already exists, it will be replaced. (deobfuscationfiles.upload)
+ *
+ * @param string $packageName Unique identifier of the Android app for which the
+ * deobfuscatiuon files are being uploaded; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param int $apkVersionCode The version code of the APK whose deobfuscation
+ * file is being uploaded.
+ * @param string $deobfuscationFileType
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_DeobfuscationFilesUploadResponse
+ */
+ public function upload($packageName, $editId, $apkVersionCode, $deobfuscationFileType, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'deobfuscationFileType' => $deobfuscationFileType);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_AndroidPublisher_DeobfuscationFilesUploadResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsDetails.php
new file mode 100644
index 00000000..2c0e2385
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsDetails.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "details" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $details = $androidpublisherService->details;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_EditsDetails extends 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 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), "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 Google_Service_AndroidPublisher_AppDetails $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_AppDetails
+ */
+ public function patch($packageName, $editId, 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), "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 Google_Service_AndroidPublisher_AppDetails $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_AppDetails
+ */
+ public function update($packageName, $editId, 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), "Google_Service_AndroidPublisher_AppDetails");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsExpansionfiles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsExpansionfiles.php
new file mode 100644
index 00000000..62e23a01
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsExpansionfiles.php
@@ -0,0 +1,108 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "expansionfiles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $expansionfiles = $androidpublisherService->expansionfiles;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_EditsExpansionfiles extends 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 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), "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 Google_Service_AndroidPublisher_ExpansionFile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ExpansionFile
+ */
+ public function patch($packageName, $editId, $apkVersionCode, $expansionFileType, 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), "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 Google_Service_AndroidPublisher_ExpansionFile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ExpansionFile
+ */
+ public function update($packageName, $editId, $apkVersionCode, $expansionFileType, 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), "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 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), "Google_Service_AndroidPublisher_ExpansionFilesUploadResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsImages.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsImages.php
new file mode 100644
index 00000000..769e6984
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsImages.php
@@ -0,0 +1,108 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "images" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $images = $androidpublisherService->images;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_EditsImages extends 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 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), "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 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), "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 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), "Google_Service_AndroidPublisher_ImagesUploadResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsListings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsListings.php
new file mode 100644
index 00000000..4cda2f67
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsListings.php
@@ -0,0 +1,132 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "listings" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $listings = $androidpublisherService->listings;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_EditsListings extends 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 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), "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 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), "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 Google_Service_AndroidPublisher_Listing $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Listing
+ */
+ public function patch($packageName, $editId, $language, 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), "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 Google_Service_AndroidPublisher_Listing $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Listing
+ */
+ public function update($packageName, $editId, $language, 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), "Google_Service_AndroidPublisher_Listing");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsTesters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsTesters.php
new file mode 100644
index 00000000..66a3a1a0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsTesters.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "testers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $testers = $androidpublisherService->testers;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_EditsTesters extends 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 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), "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 Google_Service_AndroidPublisher_Testers $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Testers
+ */
+ public function patch($packageName, $editId, $track, 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), "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 Google_Service_AndroidPublisher_Testers $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Testers
+ */
+ public function update($packageName, $editId, $track, 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), "Google_Service_AndroidPublisher_Testers");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsTracks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsTracks.php
new file mode 100644
index 00000000..be15dfea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsTracks.php
@@ -0,0 +1,99 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "tracks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $tracks = $androidpublisherService->tracks;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_EditsTracks extends 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 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), "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 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), "Google_Service_AndroidPublisher_TracksListResponse");
+ }
+ /**
+ * Updates the track configuration for the specified track type. When halted,
+ * the rollout track cannot be updated without adding new APKs, and adding new
+ * APKs will cause it to resume. 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 Google_Service_AndroidPublisher_Track $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Track
+ */
+ public function patch($packageName, $editId, $track, 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), "Google_Service_AndroidPublisher_Track");
+ }
+ /**
+ * Updates the track configuration for the specified track type. When halted,
+ * the rollout track cannot be updated without adding new APKs, and adding new
+ * APKs will cause it to resume. (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 Google_Service_AndroidPublisher_Track $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Track
+ */
+ public function update($packageName, $editId, $track, 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), "Google_Service_AndroidPublisher_Track");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Entitlements.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Entitlements.php
new file mode 100644
index 00000000..690e7c39
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Entitlements.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "entitlements" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $entitlements = $androidpublisherService->entitlements;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_Entitlements extends Google_Service_Resource
+{
+ /**
+ * Lists the user's current inapp item or subscription entitlements
+ * (entitlements.listEntitlements)
+ *
+ * @param string $packageName The package name of the application the inapp
+ * product was sold in (for example, 'com.some.thing').
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults
+ * @opt_param string productId The product id of the inapp product (for example,
+ * 'sku1'). This can be used to restrict the result set.
+ * @opt_param string startIndex
+ * @opt_param string token
+ * @return Google_Service_AndroidPublisher_EntitlementsListResponse
+ */
+ public function listEntitlements($packageName, $optParams = array())
+ {
+ $params = array('packageName' => $packageName);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidPublisher_EntitlementsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Inappproducts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Inappproducts.php
new file mode 100644
index 00000000..ec0c356e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Inappproducts.php
@@ -0,0 +1,151 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "inappproducts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $inappproducts = $androidpublisherService->inappproducts;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_Inappproducts extends Google_Service_Resource
+{
+ /**
+ * (inappproducts.batch)
+ *
+ * @param Google_Service_AndroidPublisher_InappproductsBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_InappproductsBatchResponse
+ */
+ public function batch(Google_Service_AndroidPublisher_InappproductsBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batch', array($params), "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 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), "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 Google_Service_AndroidPublisher_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 Google_Service_AndroidPublisher_InAppProduct
+ */
+ public function insert($packageName, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 maxResults
+ * @opt_param string startIndex
+ * @opt_param string token
+ * @return 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), "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 Google_Service_AndroidPublisher_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 Google_Service_AndroidPublisher_InAppProduct
+ */
+ public function patch($packageName, $sku, 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), "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 Google_Service_AndroidPublisher_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 Google_Service_AndroidPublisher_InAppProduct
+ */
+ public function update($packageName, $sku, 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), "Google_Service_AndroidPublisher_InAppProduct");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Purchases.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Purchases.php
new file mode 100644
index 00000000..65eee4b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Purchases.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "purchases" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $purchases = $androidpublisherService->purchases;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_Purchases extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesProducts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesProducts.php
new file mode 100644
index 00000000..6dd82da9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesProducts.php
@@ -0,0 +1,46 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "products" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $products = $androidpublisherService->products;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_PurchasesProducts extends 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 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), "Google_Service_AndroidPublisher_ProductPurchase");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesSubscriptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesSubscriptions.php
new file mode 100644
index 00000000..e128594a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesSubscriptions.php
@@ -0,0 +1,123 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "subscriptions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $subscriptions = $androidpublisherService->subscriptions;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_PurchasesSubscriptions extends 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 Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse
+ */
+ public function defer($packageName, $subscriptionId, $token, 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), "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 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), "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));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesVoidedpurchases.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesVoidedpurchases.php
new file mode 100644
index 00000000..ea1f4271
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesVoidedpurchases.php
@@ -0,0 +1,55 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "voidedpurchases" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $voidedpurchases = $androidpublisherService->voidedpurchases;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_PurchasesVoidedpurchases extends Google_Service_Resource
+{
+ /**
+ * Lists the purchases that were cancelled, refunded or charged-back.
+ * (voidedpurchases.listPurchasesVoidedpurchases)
+ *
+ * @param string $packageName The package name of the application for which
+ * voided purchases need to be returned (for example, 'com.some.thing').
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string endTime The time, in milliseconds since the Epoch, of the
+ * newest voided in-app product purchase that you want to see in the response.
+ * The value of this parameter cannot be greater than the current time and is
+ * ignored if a pagination token is set. Default value is current time.
+ * @opt_param string maxResults
+ * @opt_param string startIndex
+ * @opt_param string startTime The time, in milliseconds since the Epoch, of the
+ * oldest voided in-app product purchase that you want to see in the response.
+ * The value of this parameter cannot be older than 30 days and is ignored if a
+ * pagination token is set. Default value is current time minus 30 days.
+ * @opt_param string token
+ * @return Google_Service_AndroidPublisher_VoidedPurchasesListResponse
+ */
+ public function listPurchasesVoidedpurchases($packageName, $optParams = array())
+ {
+ $params = array('packageName' => $packageName);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidPublisher_VoidedPurchasesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Reviews.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Reviews.php
new file mode 100644
index 00000000..c1fa3c6a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Reviews.php
@@ -0,0 +1,81 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "reviews" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $reviews = $androidpublisherService->reviews;
+ * </code>
+ */
+class Google_Service_AndroidPublisher_Resource_Reviews extends Google_Service_Resource
+{
+ /**
+ * Returns a single review. (reviews.get)
+ *
+ * @param string $packageName Unique identifier for the Android app for which we
+ * want reviews; for example, "com.spiffygame".
+ * @param string $reviewId
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string translationLanguage
+ * @return Google_Service_AndroidPublisher_Review
+ */
+ public function get($packageName, $reviewId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'reviewId' => $reviewId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_Review");
+ }
+ /**
+ * Returns a list of reviews. Only reviews from last week will be returned.
+ * (reviews.listReviews)
+ *
+ * @param string $packageName Unique identifier for the Android app for which we
+ * want reviews; for example, "com.spiffygame".
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults
+ * @opt_param string startIndex
+ * @opt_param string token
+ * @opt_param string translationLanguage
+ * @return Google_Service_AndroidPublisher_ReviewsListResponse
+ */
+ public function listReviews($packageName, $optParams = array())
+ {
+ $params = array('packageName' => $packageName);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidPublisher_ReviewsListResponse");
+ }
+ /**
+ * Reply to a single review, or update an existing reply. (reviews.reply)
+ *
+ * @param string $packageName Unique identifier for the Android app for which we
+ * want reviews; for example, "com.spiffygame".
+ * @param string $reviewId
+ * @param Google_Service_AndroidPublisher_ReviewsReplyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ReviewsReplyResponse
+ */
+ public function reply($packageName, $reviewId, Google_Service_AndroidPublisher_ReviewsReplyRequest $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'reviewId' => $reviewId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('reply', array($params), "Google_Service_AndroidPublisher_ReviewsReplyResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Review.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Review.php
new file mode 100644
index 00000000..c7daff3d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Review.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_Review extends Google_Collection
+{
+ protected $collection_key = 'comments';
+ public $authorName;
+ protected $commentsType = 'Google_Service_AndroidPublisher_Comment';
+ protected $commentsDataType = 'array';
+ public $reviewId;
+
+ public function setAuthorName($authorName)
+ {
+ $this->authorName = $authorName;
+ }
+ public function getAuthorName()
+ {
+ return $this->authorName;
+ }
+ public function setComments($comments)
+ {
+ $this->comments = $comments;
+ }
+ public function getComments()
+ {
+ return $this->comments;
+ }
+ public function setReviewId($reviewId)
+ {
+ $this->reviewId = $reviewId;
+ }
+ public function getReviewId()
+ {
+ return $this->reviewId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewReplyResult.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewReplyResult.php
new file mode 100644
index 00000000..5cb8c3aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewReplyResult.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ReviewReplyResult extends Google_Model
+{
+ protected $lastEditedType = 'Google_Service_AndroidPublisher_Timestamp';
+ protected $lastEditedDataType = '';
+ public $replyText;
+
+ public function setLastEdited(Google_Service_AndroidPublisher_Timestamp $lastEdited)
+ {
+ $this->lastEdited = $lastEdited;
+ }
+ public function getLastEdited()
+ {
+ return $this->lastEdited;
+ }
+ public function setReplyText($replyText)
+ {
+ $this->replyText = $replyText;
+ }
+ public function getReplyText()
+ {
+ return $this->replyText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsListResponse.php
new file mode 100644
index 00000000..04a61eeb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsListResponse.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ReviewsListResponse extends Google_Collection
+{
+ protected $collection_key = 'reviews';
+ protected $pageInfoType = 'Google_Service_AndroidPublisher_PageInfo';
+ protected $pageInfoDataType = '';
+ protected $reviewsType = 'Google_Service_AndroidPublisher_Review';
+ protected $reviewsDataType = 'array';
+ protected $tokenPaginationType = 'Google_Service_AndroidPublisher_TokenPagination';
+ protected $tokenPaginationDataType = '';
+
+ public function setPageInfo(Google_Service_AndroidPublisher_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setReviews($reviews)
+ {
+ $this->reviews = $reviews;
+ }
+ public function getReviews()
+ {
+ return $this->reviews;
+ }
+ public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsReplyRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsReplyRequest.php
new file mode 100644
index 00000000..11f528fe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsReplyRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ReviewsReplyRequest extends Google_Model
+{
+ public $replyText;
+
+ public function setReplyText($replyText)
+ {
+ $this->replyText = $replyText;
+ }
+ public function getReplyText()
+ {
+ return $this->replyText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsReplyResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsReplyResponse.php
new file mode 100644
index 00000000..62351a8c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsReplyResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_ReviewsReplyResponse extends Google_Model
+{
+ protected $resultType = 'Google_Service_AndroidPublisher_ReviewReplyResult';
+ protected $resultDataType = '';
+
+ public function setResult(Google_Service_AndroidPublisher_ReviewReplyResult $result)
+ {
+ $this->result = $result;
+ }
+ public function getResult()
+ {
+ return $this->result;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Season.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Season.php
new file mode 100644
index 00000000..db476a3a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Season.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_Season extends Google_Collection
+{
+ protected $collection_key = 'prorations';
+ protected $endType = 'Google_Service_AndroidPublisher_MonthDay';
+ protected $endDataType = '';
+ protected $prorationsType = 'Google_Service_AndroidPublisher_Prorate';
+ protected $prorationsDataType = 'array';
+ protected $startType = 'Google_Service_AndroidPublisher_MonthDay';
+ protected $startDataType = '';
+
+ public function setEnd(Google_Service_AndroidPublisher_MonthDay $end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setProrations($prorations)
+ {
+ $this->prorations = $prorations;
+ }
+ public function getProrations()
+ {
+ return $this->prorations;
+ }
+ public function setStart(Google_Service_AndroidPublisher_MonthDay $start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionDeferralInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionDeferralInfo.php
new file mode 100644
index 00000000..134df222
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionDeferralInfo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_SubscriptionDeferralInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchase.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchase.php
new file mode 100644
index 00000000..81dc85e2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchase.php
@@ -0,0 +1,120 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_SubscriptionPurchase extends Google_Model
+{
+ public $autoRenewing;
+ public $cancelReason;
+ public $countryCode;
+ public $developerPayload;
+ public $expiryTimeMillis;
+ public $kind;
+ public $paymentState;
+ public $priceAmountMicros;
+ public $priceCurrencyCode;
+ public $startTimeMillis;
+ public $userCancellationTimeMillis;
+
+ public function setAutoRenewing($autoRenewing)
+ {
+ $this->autoRenewing = $autoRenewing;
+ }
+ public function getAutoRenewing()
+ {
+ return $this->autoRenewing;
+ }
+ public function setCancelReason($cancelReason)
+ {
+ $this->cancelReason = $cancelReason;
+ }
+ public function getCancelReason()
+ {
+ return $this->cancelReason;
+ }
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setDeveloperPayload($developerPayload)
+ {
+ $this->developerPayload = $developerPayload;
+ }
+ public function getDeveloperPayload()
+ {
+ return $this->developerPayload;
+ }
+ 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 setPaymentState($paymentState)
+ {
+ $this->paymentState = $paymentState;
+ }
+ public function getPaymentState()
+ {
+ return $this->paymentState;
+ }
+ public function setPriceAmountMicros($priceAmountMicros)
+ {
+ $this->priceAmountMicros = $priceAmountMicros;
+ }
+ public function getPriceAmountMicros()
+ {
+ return $this->priceAmountMicros;
+ }
+ public function setPriceCurrencyCode($priceCurrencyCode)
+ {
+ $this->priceCurrencyCode = $priceCurrencyCode;
+ }
+ public function getPriceCurrencyCode()
+ {
+ return $this->priceCurrencyCode;
+ }
+ public function setStartTimeMillis($startTimeMillis)
+ {
+ $this->startTimeMillis = $startTimeMillis;
+ }
+ public function getStartTimeMillis()
+ {
+ return $this->startTimeMillis;
+ }
+ public function setUserCancellationTimeMillis($userCancellationTimeMillis)
+ {
+ $this->userCancellationTimeMillis = $userCancellationTimeMillis;
+ }
+ public function getUserCancellationTimeMillis()
+ {
+ return $this->userCancellationTimeMillis;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchasesDeferRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchasesDeferRequest.php
new file mode 100644
index 00000000..3f873760
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchasesDeferRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest extends Google_Model
+{
+ protected $deferralInfoType = 'Google_Service_AndroidPublisher_SubscriptionDeferralInfo';
+ protected $deferralInfoDataType = '';
+
+ public function setDeferralInfo(Google_Service_AndroidPublisher_SubscriptionDeferralInfo $deferralInfo)
+ {
+ $this->deferralInfo = $deferralInfo;
+ }
+ public function getDeferralInfo()
+ {
+ return $this->deferralInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchasesDeferResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchasesDeferResponse.php
new file mode 100644
index 00000000..afdeda31
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchasesDeferResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse extends Google_Model
+{
+ public $newExpiryTimeMillis;
+
+ public function setNewExpiryTimeMillis($newExpiryTimeMillis)
+ {
+ $this->newExpiryTimeMillis = $newExpiryTimeMillis;
+ }
+ public function getNewExpiryTimeMillis()
+ {
+ return $this->newExpiryTimeMillis;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Testers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Testers.php
new file mode 100644
index 00000000..0d9dd02a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Testers.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_Testers extends Google_Collection
+{
+ protected $collection_key = 'googlePlusCommunities';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Timestamp.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Timestamp.php
new file mode 100644
index 00000000..e98946e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Timestamp.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_Timestamp extends Google_Model
+{
+ public $nanos;
+ public $seconds;
+
+ public function setNanos($nanos)
+ {
+ $this->nanos = $nanos;
+ }
+ public function getNanos()
+ {
+ return $this->nanos;
+ }
+ public function setSeconds($seconds)
+ {
+ $this->seconds = $seconds;
+ }
+ public function getSeconds()
+ {
+ return $this->seconds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/TokenPagination.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/TokenPagination.php
new file mode 100644
index 00000000..9c216acf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/TokenPagination.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_TokenPagination extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Track.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Track.php
new file mode 100644
index 00000000..26e8c25e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Track.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_Track extends Google_Collection
+{
+ protected $collection_key = 'versionCodes';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/TracksListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/TracksListResponse.php
new file mode 100644
index 00000000..cfa7d152
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/TracksListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_TracksListResponse extends Google_Collection
+{
+ protected $collection_key = 'tracks';
+ public $kind;
+ protected $tracksType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/UserComment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/UserComment.php
new file mode 100644
index 00000000..6a8d4370
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/UserComment.php
@@ -0,0 +1,131 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_UserComment extends Google_Model
+{
+ public $androidOsVersion;
+ public $appVersionCode;
+ public $appVersionName;
+ public $device;
+ protected $deviceMetadataType = 'Google_Service_AndroidPublisher_DeviceMetadata';
+ protected $deviceMetadataDataType = '';
+ protected $lastModifiedType = 'Google_Service_AndroidPublisher_Timestamp';
+ protected $lastModifiedDataType = '';
+ public $originalText;
+ public $reviewerLanguage;
+ public $starRating;
+ public $text;
+ public $thumbsDownCount;
+ public $thumbsUpCount;
+
+ public function setAndroidOsVersion($androidOsVersion)
+ {
+ $this->androidOsVersion = $androidOsVersion;
+ }
+ public function getAndroidOsVersion()
+ {
+ return $this->androidOsVersion;
+ }
+ public function setAppVersionCode($appVersionCode)
+ {
+ $this->appVersionCode = $appVersionCode;
+ }
+ public function getAppVersionCode()
+ {
+ return $this->appVersionCode;
+ }
+ public function setAppVersionName($appVersionName)
+ {
+ $this->appVersionName = $appVersionName;
+ }
+ public function getAppVersionName()
+ {
+ return $this->appVersionName;
+ }
+ public function setDevice($device)
+ {
+ $this->device = $device;
+ }
+ public function getDevice()
+ {
+ return $this->device;
+ }
+ public function setDeviceMetadata(Google_Service_AndroidPublisher_DeviceMetadata $deviceMetadata)
+ {
+ $this->deviceMetadata = $deviceMetadata;
+ }
+ public function getDeviceMetadata()
+ {
+ return $this->deviceMetadata;
+ }
+ public function setLastModified(Google_Service_AndroidPublisher_Timestamp $lastModified)
+ {
+ $this->lastModified = $lastModified;
+ }
+ public function getLastModified()
+ {
+ return $this->lastModified;
+ }
+ public function setOriginalText($originalText)
+ {
+ $this->originalText = $originalText;
+ }
+ public function getOriginalText()
+ {
+ return $this->originalText;
+ }
+ public function setReviewerLanguage($reviewerLanguage)
+ {
+ $this->reviewerLanguage = $reviewerLanguage;
+ }
+ public function getReviewerLanguage()
+ {
+ return $this->reviewerLanguage;
+ }
+ public function setStarRating($starRating)
+ {
+ $this->starRating = $starRating;
+ }
+ public function getStarRating()
+ {
+ return $this->starRating;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+ public function setThumbsDownCount($thumbsDownCount)
+ {
+ $this->thumbsDownCount = $thumbsDownCount;
+ }
+ public function getThumbsDownCount()
+ {
+ return $this->thumbsDownCount;
+ }
+ public function setThumbsUpCount($thumbsUpCount)
+ {
+ $this->thumbsUpCount = $thumbsUpCount;
+ }
+ public function getThumbsUpCount()
+ {
+ return $this->thumbsUpCount;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/VoidedPurchase.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/VoidedPurchase.php
new file mode 100644
index 00000000..208f641a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/VoidedPurchase.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_VoidedPurchase extends Google_Model
+{
+ public $kind;
+ public $purchaseTimeMillis;
+ public $purchaseToken;
+ public $voidedTimeMillis;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPurchaseTimeMillis($purchaseTimeMillis)
+ {
+ $this->purchaseTimeMillis = $purchaseTimeMillis;
+ }
+ public function getPurchaseTimeMillis()
+ {
+ return $this->purchaseTimeMillis;
+ }
+ public function setPurchaseToken($purchaseToken)
+ {
+ $this->purchaseToken = $purchaseToken;
+ }
+ public function getPurchaseToken()
+ {
+ return $this->purchaseToken;
+ }
+ public function setVoidedTimeMillis($voidedTimeMillis)
+ {
+ $this->voidedTimeMillis = $voidedTimeMillis;
+ }
+ public function getVoidedTimeMillis()
+ {
+ return $this->voidedTimeMillis;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/VoidedPurchasesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/VoidedPurchasesListResponse.php
new file mode 100644
index 00000000..4cc0970f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/VoidedPurchasesListResponse.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AndroidPublisher_VoidedPurchasesListResponse extends Google_Collection
+{
+ protected $collection_key = 'voidedPurchases';
+ protected $pageInfoType = 'Google_Service_AndroidPublisher_PageInfo';
+ protected $pageInfoDataType = '';
+ protected $tokenPaginationType = 'Google_Service_AndroidPublisher_TokenPagination';
+ protected $tokenPaginationDataType = '';
+ protected $voidedPurchasesType = 'Google_Service_AndroidPublisher_VoidedPurchase';
+ protected $voidedPurchasesDataType = 'array';
+
+ public function setPageInfo(Google_Service_AndroidPublisher_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+ public function setVoidedPurchases($voidedPurchases)
+ {
+ $this->voidedPurchases = $voidedPurchases;
+ }
+ public function getVoidedPurchases()
+ {
+ return $this->voidedPurchases;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState.php
new file mode 100644
index 00000000..fc2f9435
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState.php
@@ -0,0 +1,120 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AppState extends 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'appstate/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'appstate';
+
+ $this->states = new Google_Service_AppState_Resource_States(
+ $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',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/GetResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/GetResponse.php
new file mode 100644
index 00000000..bb4a8336
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/GetResponse.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AppState_GetResponse extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/ListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/ListResponse.php
new file mode 100644
index 00000000..cc17c880
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/ListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AppState_ListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/Resource/States.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/Resource/States.php
new file mode 100644
index 00000000..b652c2cf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/Resource/States.php
@@ -0,0 +1,113 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "states" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $appstateService = new Google_Service_AppState(...);
+ * $states = $appstateService->states;
+ * </code>
+ */
+class Google_Service_AppState_Resource_States extends 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 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), "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 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), "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 Google_Service_AppState_ListResponse
+ */
+ public function listStates($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "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 Google_Service_AppState_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 Google_Service_AppState_WriteResult
+ */
+ public function update($stateKey, Google_Service_AppState_UpdateRequest $postBody, $optParams = array())
+ {
+ $params = array('stateKey' => $stateKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AppState_WriteResult");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/UpdateRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/UpdateRequest.php
new file mode 100644
index 00000000..719c6a59
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/UpdateRequest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AppState_UpdateRequest extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/WriteResult.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/WriteResult.php
new file mode 100644
index 00000000..3b742cbd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/WriteResult.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_AppState_WriteResult extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine.php
new file mode 100644
index 00000000..4a692250
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine.php
@@ -0,0 +1,520 @@
+<?php
+/*
+ * Copyright 2016 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 Appengine (v1).
+ *
+ * <p>
+ * Provisions and manages App Engine applications.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/appengine/docs/admin-api/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Appengine extends 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 your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM_READ_ONLY =
+ "https://www.googleapis.com/auth/cloud-platform.read-only";
+
+ public $apps;
+ public $apps_locations;
+ public $apps_operations;
+ public $apps_services;
+ public $apps_services_versions;
+ public $apps_services_versions_instances;
+
+ /**
+ * Constructs the internal representation of the Appengine service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://appengine.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'appengine';
+
+ $this->apps = new Google_Service_Appengine_Resource_Apps(
+ $this,
+ $this->serviceName,
+ 'apps',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/apps',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => 'v1/apps/{appsId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/apps/{appsId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'repair' => array(
+ 'path' => 'v1/apps/{appsId}:repair',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->apps_locations = new Google_Service_Appengine_Resource_AppsLocations(
+ $this,
+ $this->serviceName,
+ 'locations',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/apps/{appsId}/locations/{locationsId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'locationsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/apps/{appsId}/locations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->apps_operations = new Google_Service_Appengine_Resource_AppsOperations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/apps/{appsId}/operations/{operationsId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operationsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/apps/{appsId}/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->apps_services = new Google_Service_Appengine_Resource_AppsServices(
+ $this,
+ $this->serviceName,
+ 'services',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'v1/apps/{appsId}/services/{servicesId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'servicesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/apps/{appsId}/services/{servicesId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'servicesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/apps/{appsId}/services',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/apps/{appsId}/services/{servicesId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'servicesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'migrateTraffic' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->apps_services_versions = new Google_Service_Appengine_Resource_AppsServicesVersions(
+ $this,
+ $this->serviceName,
+ 'versions',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'servicesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'servicesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'versionsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'servicesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'versionsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'servicesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'servicesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'versionsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->apps_services_versions_instances = new Google_Service_Appengine_Resource_AppsServicesVersionsInstances(
+ $this,
+ $this->serviceName,
+ 'instances',
+ array(
+ 'methods' => array(
+ 'debug' => array(
+ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'servicesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'versionsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instancesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'servicesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'versionsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instancesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'servicesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'versionsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instancesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'appsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'servicesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'versionsId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ApiConfigHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ApiConfigHandler.php
new file mode 100644
index 00000000..2464a8b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ApiConfigHandler.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_ApiConfigHandler extends Google_Model
+{
+ public $authFailAction;
+ public $login;
+ public $script;
+ public $securityLevel;
+ public $url;
+
+ public function setAuthFailAction($authFailAction)
+ {
+ $this->authFailAction = $authFailAction;
+ }
+ public function getAuthFailAction()
+ {
+ return $this->authFailAction;
+ }
+ public function setLogin($login)
+ {
+ $this->login = $login;
+ }
+ public function getLogin()
+ {
+ return $this->login;
+ }
+ public function setScript($script)
+ {
+ $this->script = $script;
+ }
+ public function getScript()
+ {
+ return $this->script;
+ }
+ public function setSecurityLevel($securityLevel)
+ {
+ $this->securityLevel = $securityLevel;
+ }
+ public function getSecurityLevel()
+ {
+ return $this->securityLevel;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ApiEndpointHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ApiEndpointHandler.php
new file mode 100644
index 00000000..6b5d1381
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ApiEndpointHandler.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_ApiEndpointHandler extends Google_Model
+{
+ public $scriptPath;
+
+ public function setScriptPath($scriptPath)
+ {
+ $this->scriptPath = $scriptPath;
+ }
+ public function getScriptPath()
+ {
+ return $this->scriptPath;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Application.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Application.php
new file mode 100644
index 00000000..a1c8fc28
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Application.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_Application extends Google_Collection
+{
+ protected $collection_key = 'dispatchRules';
+ public $authDomain;
+ public $codeBucket;
+ public $defaultBucket;
+ public $defaultCookieExpiration;
+ public $defaultHostname;
+ protected $dispatchRulesType = 'Google_Service_Appengine_UrlDispatchRule';
+ protected $dispatchRulesDataType = 'array';
+ public $id;
+ public $locationId;
+ public $name;
+
+ public function setAuthDomain($authDomain)
+ {
+ $this->authDomain = $authDomain;
+ }
+ public function getAuthDomain()
+ {
+ return $this->authDomain;
+ }
+ public function setCodeBucket($codeBucket)
+ {
+ $this->codeBucket = $codeBucket;
+ }
+ public function getCodeBucket()
+ {
+ return $this->codeBucket;
+ }
+ public function setDefaultBucket($defaultBucket)
+ {
+ $this->defaultBucket = $defaultBucket;
+ }
+ public function getDefaultBucket()
+ {
+ return $this->defaultBucket;
+ }
+ public function setDefaultCookieExpiration($defaultCookieExpiration)
+ {
+ $this->defaultCookieExpiration = $defaultCookieExpiration;
+ }
+ public function getDefaultCookieExpiration()
+ {
+ return $this->defaultCookieExpiration;
+ }
+ public function setDefaultHostname($defaultHostname)
+ {
+ $this->defaultHostname = $defaultHostname;
+ }
+ public function getDefaultHostname()
+ {
+ return $this->defaultHostname;
+ }
+ public function setDispatchRules($dispatchRules)
+ {
+ $this->dispatchRules = $dispatchRules;
+ }
+ public function getDispatchRules()
+ {
+ return $this->dispatchRules;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLocationId($locationId)
+ {
+ $this->locationId = $locationId;
+ }
+ public function getLocationId()
+ {
+ return $this->locationId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/AutomaticScaling.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/AutomaticScaling.php
new file mode 100644
index 00000000..3801742d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/AutomaticScaling.php
@@ -0,0 +1,133 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_AutomaticScaling extends Google_Model
+{
+ public $coolDownPeriod;
+ protected $cpuUtilizationType = 'Google_Service_Appengine_CpuUtilization';
+ protected $cpuUtilizationDataType = '';
+ protected $diskUtilizationType = 'Google_Service_Appengine_DiskUtilization';
+ protected $diskUtilizationDataType = '';
+ public $maxConcurrentRequests;
+ public $maxIdleInstances;
+ public $maxPendingLatency;
+ public $maxTotalInstances;
+ public $minIdleInstances;
+ public $minPendingLatency;
+ public $minTotalInstances;
+ protected $networkUtilizationType = 'Google_Service_Appengine_NetworkUtilization';
+ protected $networkUtilizationDataType = '';
+ protected $requestUtilizationType = 'Google_Service_Appengine_RequestUtilization';
+ protected $requestUtilizationDataType = '';
+
+ public function setCoolDownPeriod($coolDownPeriod)
+ {
+ $this->coolDownPeriod = $coolDownPeriod;
+ }
+ public function getCoolDownPeriod()
+ {
+ return $this->coolDownPeriod;
+ }
+ public function setCpuUtilization(Google_Service_Appengine_CpuUtilization $cpuUtilization)
+ {
+ $this->cpuUtilization = $cpuUtilization;
+ }
+ public function getCpuUtilization()
+ {
+ return $this->cpuUtilization;
+ }
+ public function setDiskUtilization(Google_Service_Appengine_DiskUtilization $diskUtilization)
+ {
+ $this->diskUtilization = $diskUtilization;
+ }
+ public function getDiskUtilization()
+ {
+ return $this->diskUtilization;
+ }
+ public function setMaxConcurrentRequests($maxConcurrentRequests)
+ {
+ $this->maxConcurrentRequests = $maxConcurrentRequests;
+ }
+ public function getMaxConcurrentRequests()
+ {
+ return $this->maxConcurrentRequests;
+ }
+ public function setMaxIdleInstances($maxIdleInstances)
+ {
+ $this->maxIdleInstances = $maxIdleInstances;
+ }
+ public function getMaxIdleInstances()
+ {
+ return $this->maxIdleInstances;
+ }
+ public function setMaxPendingLatency($maxPendingLatency)
+ {
+ $this->maxPendingLatency = $maxPendingLatency;
+ }
+ public function getMaxPendingLatency()
+ {
+ return $this->maxPendingLatency;
+ }
+ public function setMaxTotalInstances($maxTotalInstances)
+ {
+ $this->maxTotalInstances = $maxTotalInstances;
+ }
+ public function getMaxTotalInstances()
+ {
+ return $this->maxTotalInstances;
+ }
+ public function setMinIdleInstances($minIdleInstances)
+ {
+ $this->minIdleInstances = $minIdleInstances;
+ }
+ public function getMinIdleInstances()
+ {
+ return $this->minIdleInstances;
+ }
+ public function setMinPendingLatency($minPendingLatency)
+ {
+ $this->minPendingLatency = $minPendingLatency;
+ }
+ public function getMinPendingLatency()
+ {
+ return $this->minPendingLatency;
+ }
+ public function setMinTotalInstances($minTotalInstances)
+ {
+ $this->minTotalInstances = $minTotalInstances;
+ }
+ public function getMinTotalInstances()
+ {
+ return $this->minTotalInstances;
+ }
+ public function setNetworkUtilization(Google_Service_Appengine_NetworkUtilization $networkUtilization)
+ {
+ $this->networkUtilization = $networkUtilization;
+ }
+ public function getNetworkUtilization()
+ {
+ return $this->networkUtilization;
+ }
+ public function setRequestUtilization(Google_Service_Appengine_RequestUtilization $requestUtilization)
+ {
+ $this->requestUtilization = $requestUtilization;
+ }
+ public function getRequestUtilization()
+ {
+ return $this->requestUtilization;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/BasicScaling.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/BasicScaling.php
new file mode 100644
index 00000000..98bad2e8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/BasicScaling.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_BasicScaling extends Google_Model
+{
+ public $idleTimeout;
+ public $maxInstances;
+
+ public function setIdleTimeout($idleTimeout)
+ {
+ $this->idleTimeout = $idleTimeout;
+ }
+ public function getIdleTimeout()
+ {
+ return $this->idleTimeout;
+ }
+ public function setMaxInstances($maxInstances)
+ {
+ $this->maxInstances = $maxInstances;
+ }
+ public function getMaxInstances()
+ {
+ return $this->maxInstances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ContainerInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ContainerInfo.php
new file mode 100644
index 00000000..86bb890c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ContainerInfo.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_ContainerInfo extends Google_Model
+{
+ public $image;
+
+ public function setImage($image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/CpuUtilization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/CpuUtilization.php
new file mode 100644
index 00000000..c8e25137
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/CpuUtilization.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_CpuUtilization extends Google_Model
+{
+ public $aggregationWindowLength;
+ public $targetUtilization;
+
+ public function setAggregationWindowLength($aggregationWindowLength)
+ {
+ $this->aggregationWindowLength = $aggregationWindowLength;
+ }
+ public function getAggregationWindowLength()
+ {
+ return $this->aggregationWindowLength;
+ }
+ public function setTargetUtilization($targetUtilization)
+ {
+ $this->targetUtilization = $targetUtilization;
+ }
+ public function getTargetUtilization()
+ {
+ return $this->targetUtilization;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/DebugInstanceRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/DebugInstanceRequest.php
new file mode 100644
index 00000000..569bf83a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/DebugInstanceRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_DebugInstanceRequest extends Google_Model
+{
+ public $sshKey;
+
+ public function setSshKey($sshKey)
+ {
+ $this->sshKey = $sshKey;
+ }
+ public function getSshKey()
+ {
+ return $this->sshKey;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Deployment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Deployment.php
new file mode 100644
index 00000000..7f727f16
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Deployment.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_Deployment extends Google_Model
+{
+ protected $containerType = 'Google_Service_Appengine_ContainerInfo';
+ protected $containerDataType = '';
+ protected $filesType = 'Google_Service_Appengine_FileInfo';
+ protected $filesDataType = 'map';
+ protected $zipType = 'Google_Service_Appengine_ZipInfo';
+ protected $zipDataType = '';
+
+ public function setContainer(Google_Service_Appengine_ContainerInfo $container)
+ {
+ $this->container = $container;
+ }
+ public function getContainer()
+ {
+ return $this->container;
+ }
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+ public function getFiles()
+ {
+ return $this->files;
+ }
+ public function setZip(Google_Service_Appengine_ZipInfo $zip)
+ {
+ $this->zip = $zip;
+ }
+ public function getZip()
+ {
+ return $this->zip;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/DiskUtilization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/DiskUtilization.php
new file mode 100644
index 00000000..fcb82677
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/DiskUtilization.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_DiskUtilization extends Google_Model
+{
+ public $targetReadBytesPerSecond;
+ public $targetReadOpsPerSecond;
+ public $targetWriteBytesPerSecond;
+ public $targetWriteOpsPerSecond;
+
+ public function setTargetReadBytesPerSecond($targetReadBytesPerSecond)
+ {
+ $this->targetReadBytesPerSecond = $targetReadBytesPerSecond;
+ }
+ public function getTargetReadBytesPerSecond()
+ {
+ return $this->targetReadBytesPerSecond;
+ }
+ public function setTargetReadOpsPerSecond($targetReadOpsPerSecond)
+ {
+ $this->targetReadOpsPerSecond = $targetReadOpsPerSecond;
+ }
+ public function getTargetReadOpsPerSecond()
+ {
+ return $this->targetReadOpsPerSecond;
+ }
+ public function setTargetWriteBytesPerSecond($targetWriteBytesPerSecond)
+ {
+ $this->targetWriteBytesPerSecond = $targetWriteBytesPerSecond;
+ }
+ public function getTargetWriteBytesPerSecond()
+ {
+ return $this->targetWriteBytesPerSecond;
+ }
+ public function setTargetWriteOpsPerSecond($targetWriteOpsPerSecond)
+ {
+ $this->targetWriteOpsPerSecond = $targetWriteOpsPerSecond;
+ }
+ public function getTargetWriteOpsPerSecond()
+ {
+ return $this->targetWriteOpsPerSecond;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/EndpointsApiService.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/EndpointsApiService.php
new file mode 100644
index 00000000..c14bd3cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/EndpointsApiService.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_EndpointsApiService extends Google_Model
+{
+ public $configId;
+ public $name;
+
+ public function setConfigId($configId)
+ {
+ $this->configId = $configId;
+ }
+ public function getConfigId()
+ {
+ return $this->configId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ErrorHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ErrorHandler.php
new file mode 100644
index 00000000..64e1987f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ErrorHandler.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_ErrorHandler extends Google_Model
+{
+ public $errorCode;
+ public $mimeType;
+ public $staticFile;
+
+ public function setErrorCode($errorCode)
+ {
+ $this->errorCode = $errorCode;
+ }
+ public function getErrorCode()
+ {
+ return $this->errorCode;
+ }
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+ public function setStaticFile($staticFile)
+ {
+ $this->staticFile = $staticFile;
+ }
+ public function getStaticFile()
+ {
+ return $this->staticFile;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/FileInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/FileInfo.php
new file mode 100644
index 00000000..680afb50
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/FileInfo.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_FileInfo extends Google_Model
+{
+ public $mimeType;
+ public $sha1Sum;
+ public $sourceUrl;
+
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+ public function setSha1Sum($sha1Sum)
+ {
+ $this->sha1Sum = $sha1Sum;
+ }
+ public function getSha1Sum()
+ {
+ return $this->sha1Sum;
+ }
+ public function setSourceUrl($sourceUrl)
+ {
+ $this->sourceUrl = $sourceUrl;
+ }
+ public function getSourceUrl()
+ {
+ return $this->sourceUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/HealthCheck.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/HealthCheck.php
new file mode 100644
index 00000000..dc87fbaa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/HealthCheck.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_HealthCheck extends Google_Model
+{
+ public $checkInterval;
+ public $disableHealthCheck;
+ public $healthyThreshold;
+ public $host;
+ public $restartThreshold;
+ public $timeout;
+ public $unhealthyThreshold;
+
+ public function setCheckInterval($checkInterval)
+ {
+ $this->checkInterval = $checkInterval;
+ }
+ public function getCheckInterval()
+ {
+ return $this->checkInterval;
+ }
+ public function setDisableHealthCheck($disableHealthCheck)
+ {
+ $this->disableHealthCheck = $disableHealthCheck;
+ }
+ public function getDisableHealthCheck()
+ {
+ return $this->disableHealthCheck;
+ }
+ 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 setRestartThreshold($restartThreshold)
+ {
+ $this->restartThreshold = $restartThreshold;
+ }
+ public function getRestartThreshold()
+ {
+ return $this->restartThreshold;
+ }
+ public function setTimeout($timeout)
+ {
+ $this->timeout = $timeout;
+ }
+ public function getTimeout()
+ {
+ return $this->timeout;
+ }
+ public function setUnhealthyThreshold($unhealthyThreshold)
+ {
+ $this->unhealthyThreshold = $unhealthyThreshold;
+ }
+ public function getUnhealthyThreshold()
+ {
+ return $this->unhealthyThreshold;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Instance.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Instance.php
new file mode 100644
index 00000000..001d85fa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Instance.php
@@ -0,0 +1,165 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_Instance extends Google_Model
+{
+ public $appEngineRelease;
+ public $availability;
+ public $averageLatency;
+ public $errors;
+ public $id;
+ public $memoryUsage;
+ public $name;
+ public $qps;
+ public $requests;
+ public $startTime;
+ public $vmDebugEnabled;
+ public $vmId;
+ public $vmIp;
+ public $vmName;
+ public $vmStatus;
+ public $vmZoneName;
+
+ public function setAppEngineRelease($appEngineRelease)
+ {
+ $this->appEngineRelease = $appEngineRelease;
+ }
+ public function getAppEngineRelease()
+ {
+ return $this->appEngineRelease;
+ }
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+ public function setAverageLatency($averageLatency)
+ {
+ $this->averageLatency = $averageLatency;
+ }
+ public function getAverageLatency()
+ {
+ return $this->averageLatency;
+ }
+ 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 setMemoryUsage($memoryUsage)
+ {
+ $this->memoryUsage = $memoryUsage;
+ }
+ public function getMemoryUsage()
+ {
+ return $this->memoryUsage;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setQps($qps)
+ {
+ $this->qps = $qps;
+ }
+ public function getQps()
+ {
+ return $this->qps;
+ }
+ public function setRequests($requests)
+ {
+ $this->requests = $requests;
+ }
+ public function getRequests()
+ {
+ return $this->requests;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setVmDebugEnabled($vmDebugEnabled)
+ {
+ $this->vmDebugEnabled = $vmDebugEnabled;
+ }
+ public function getVmDebugEnabled()
+ {
+ return $this->vmDebugEnabled;
+ }
+ public function setVmId($vmId)
+ {
+ $this->vmId = $vmId;
+ }
+ public function getVmId()
+ {
+ return $this->vmId;
+ }
+ public function setVmIp($vmIp)
+ {
+ $this->vmIp = $vmIp;
+ }
+ public function getVmIp()
+ {
+ return $this->vmIp;
+ }
+ public function setVmName($vmName)
+ {
+ $this->vmName = $vmName;
+ }
+ public function getVmName()
+ {
+ return $this->vmName;
+ }
+ public function setVmStatus($vmStatus)
+ {
+ $this->vmStatus = $vmStatus;
+ }
+ public function getVmStatus()
+ {
+ return $this->vmStatus;
+ }
+ public function setVmZoneName($vmZoneName)
+ {
+ $this->vmZoneName = $vmZoneName;
+ }
+ public function getVmZoneName()
+ {
+ return $this->vmZoneName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Library.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Library.php
new file mode 100644
index 00000000..c4fb3462
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Library.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_Library extends Google_Model
+{
+ public $name;
+ public $version;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListInstancesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListInstancesResponse.php
new file mode 100644
index 00000000..37e6212f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListInstancesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_ListInstancesResponse extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ protected $instancesType = 'Google_Service_Appengine_Instance';
+ protected $instancesDataType = 'array';
+ public $nextPageToken;
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListLocationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListLocationsResponse.php
new file mode 100644
index 00000000..ecb6bc83
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListLocationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_ListLocationsResponse extends Google_Collection
+{
+ protected $collection_key = 'locations';
+ protected $locationsType = 'Google_Service_Appengine_Location';
+ protected $locationsDataType = 'array';
+ public $nextPageToken;
+
+ public function setLocations($locations)
+ {
+ $this->locations = $locations;
+ }
+ public function getLocations()
+ {
+ return $this->locations;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListOperationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListOperationsResponse.php
new file mode 100644
index 00000000..a3b2e215
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListOperationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_ListOperationsResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_Appengine_Operation';
+ protected $operationsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListServicesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListServicesResponse.php
new file mode 100644
index 00000000..5d53085e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListServicesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_ListServicesResponse extends Google_Collection
+{
+ protected $collection_key = 'services';
+ public $nextPageToken;
+ protected $servicesType = 'Google_Service_Appengine_Service';
+ protected $servicesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setServices($services)
+ {
+ $this->services = $services;
+ }
+ public function getServices()
+ {
+ return $this->services;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListVersionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListVersionsResponse.php
new file mode 100644
index 00000000..ed8085a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListVersionsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_ListVersionsResponse extends Google_Collection
+{
+ protected $collection_key = 'versions';
+ public $nextPageToken;
+ protected $versionsType = 'Google_Service_Appengine_Version';
+ protected $versionsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setVersions($versions)
+ {
+ $this->versions = $versions;
+ }
+ public function getVersions()
+ {
+ return $this->versions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Location.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Location.php
new file mode 100644
index 00000000..f931f221
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Location.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_Location extends Google_Model
+{
+ public $labels;
+ public $locationId;
+ public $metadata;
+ public $name;
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLocationId($locationId)
+ {
+ $this->locationId = $locationId;
+ }
+ public function getLocationId()
+ {
+ return $this->locationId;
+ }
+ public function setMetadata($metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/LocationMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/LocationMetadata.php
new file mode 100644
index 00000000..a2e5476b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/LocationMetadata.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_LocationMetadata extends Google_Model
+{
+ public $flexibleEnvironmentAvailable;
+ public $standardEnvironmentAvailable;
+
+ public function setFlexibleEnvironmentAvailable($flexibleEnvironmentAvailable)
+ {
+ $this->flexibleEnvironmentAvailable = $flexibleEnvironmentAvailable;
+ }
+ public function getFlexibleEnvironmentAvailable()
+ {
+ return $this->flexibleEnvironmentAvailable;
+ }
+ public function setStandardEnvironmentAvailable($standardEnvironmentAvailable)
+ {
+ $this->standardEnvironmentAvailable = $standardEnvironmentAvailable;
+ }
+ public function getStandardEnvironmentAvailable()
+ {
+ return $this->standardEnvironmentAvailable;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ManualScaling.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ManualScaling.php
new file mode 100644
index 00000000..dd6547d2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ManualScaling.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_ManualScaling extends Google_Model
+{
+ public $instances;
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Network.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Network.php
new file mode 100644
index 00000000..90c9438e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Network.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_Network extends Google_Collection
+{
+ protected $collection_key = 'forwardedPorts';
+ public $forwardedPorts;
+ public $instanceTag;
+ public $name;
+ public $subnetworkName;
+
+ public function setForwardedPorts($forwardedPorts)
+ {
+ $this->forwardedPorts = $forwardedPorts;
+ }
+ public function getForwardedPorts()
+ {
+ return $this->forwardedPorts;
+ }
+ public function setInstanceTag($instanceTag)
+ {
+ $this->instanceTag = $instanceTag;
+ }
+ public function getInstanceTag()
+ {
+ return $this->instanceTag;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSubnetworkName($subnetworkName)
+ {
+ $this->subnetworkName = $subnetworkName;
+ }
+ public function getSubnetworkName()
+ {
+ return $this->subnetworkName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/NetworkUtilization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/NetworkUtilization.php
new file mode 100644
index 00000000..922285e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/NetworkUtilization.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_NetworkUtilization extends Google_Model
+{
+ public $targetReceivedBytesPerSecond;
+ public $targetReceivedPacketsPerSecond;
+ public $targetSentBytesPerSecond;
+ public $targetSentPacketsPerSecond;
+
+ public function setTargetReceivedBytesPerSecond($targetReceivedBytesPerSecond)
+ {
+ $this->targetReceivedBytesPerSecond = $targetReceivedBytesPerSecond;
+ }
+ public function getTargetReceivedBytesPerSecond()
+ {
+ return $this->targetReceivedBytesPerSecond;
+ }
+ public function setTargetReceivedPacketsPerSecond($targetReceivedPacketsPerSecond)
+ {
+ $this->targetReceivedPacketsPerSecond = $targetReceivedPacketsPerSecond;
+ }
+ public function getTargetReceivedPacketsPerSecond()
+ {
+ return $this->targetReceivedPacketsPerSecond;
+ }
+ public function setTargetSentBytesPerSecond($targetSentBytesPerSecond)
+ {
+ $this->targetSentBytesPerSecond = $targetSentBytesPerSecond;
+ }
+ public function getTargetSentBytesPerSecond()
+ {
+ return $this->targetSentBytesPerSecond;
+ }
+ public function setTargetSentPacketsPerSecond($targetSentPacketsPerSecond)
+ {
+ $this->targetSentPacketsPerSecond = $targetSentPacketsPerSecond;
+ }
+ public function getTargetSentPacketsPerSecond()
+ {
+ return $this->targetSentPacketsPerSecond;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Operation.php
new file mode 100644
index 00000000..6a5bd5e7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Operation.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_Operation extends Google_Model
+{
+ public $done;
+ protected $errorType = 'Google_Service_Appengine_Status';
+ protected $errorDataType = '';
+ public $metadata;
+ public $name;
+ public $response;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_Appengine_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setMetadata($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 setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadata.php
new file mode 100644
index 00000000..b55c4600
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadata.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_OperationMetadata extends Google_Model
+{
+ public $endTime;
+ public $insertTime;
+ public $method;
+ public $operationType;
+ public $target;
+ public $user;
+
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+ public function setTarget($target)
+ {
+ $this->target = $target;
+ }
+ public function getTarget()
+ {
+ return $this->target;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataExperimental.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataExperimental.php
new file mode 100644
index 00000000..9d680e4d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataExperimental.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_OperationMetadataExperimental extends Google_Model
+{
+ public $endTime;
+ public $insertTime;
+ public $method;
+ public $target;
+ public $user;
+
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+ public function setTarget($target)
+ {
+ $this->target = $target;
+ }
+ public function getTarget()
+ {
+ return $this->target;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataV1.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataV1.php
new file mode 100644
index 00000000..5a256376
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataV1.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_OperationMetadataV1 extends Google_Collection
+{
+ protected $collection_key = 'warning';
+ public $endTime;
+ public $ephemeralMessage;
+ public $insertTime;
+ public $method;
+ public $target;
+ public $user;
+ public $warning;
+
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setEphemeralMessage($ephemeralMessage)
+ {
+ $this->ephemeralMessage = $ephemeralMessage;
+ }
+ public function getEphemeralMessage()
+ {
+ return $this->ephemeralMessage;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+ public function setTarget($target)
+ {
+ $this->target = $target;
+ }
+ public function getTarget()
+ {
+ return $this->target;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+ public function setWarning($warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataV1Beta5.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataV1Beta5.php
new file mode 100644
index 00000000..de110bf9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataV1Beta5.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_OperationMetadataV1Beta5 extends Google_Model
+{
+ public $endTime;
+ public $insertTime;
+ public $method;
+ public $target;
+ public $user;
+
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+ public function setTarget($target)
+ {
+ $this->target = $target;
+ }
+ public function getTarget()
+ {
+ return $this->target;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/RepairApplicationRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/RepairApplicationRequest.php
new file mode 100644
index 00000000..4ce8ad39
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/RepairApplicationRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_RepairApplicationRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/RequestUtilization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/RequestUtilization.php
new file mode 100644
index 00000000..2a2757be
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/RequestUtilization.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_RequestUtilization extends Google_Model
+{
+ public $targetConcurrentRequests;
+ public $targetRequestCountPerSecond;
+
+ public function setTargetConcurrentRequests($targetConcurrentRequests)
+ {
+ $this->targetConcurrentRequests = $targetConcurrentRequests;
+ }
+ public function getTargetConcurrentRequests()
+ {
+ return $this->targetConcurrentRequests;
+ }
+ public function setTargetRequestCountPerSecond($targetRequestCountPerSecond)
+ {
+ $this->targetRequestCountPerSecond = $targetRequestCountPerSecond;
+ }
+ public function getTargetRequestCountPerSecond()
+ {
+ return $this->targetRequestCountPerSecond;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/Apps.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/Apps.php
new file mode 100644
index 00000000..9e379e1b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/Apps.php
@@ -0,0 +1,101 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "apps" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $appengineService = new Google_Service_Appengine(...);
+ * $apps = $appengineService->apps;
+ * </code>
+ */
+class Google_Service_Appengine_Resource_Apps extends Google_Service_Resource
+{
+ /**
+ * Creates an App Engine application for a Google Cloud Platform project. This
+ * requires a project that excludes an App Engine application. For details about
+ * creating a project without an application, see the Google Cloud Resource
+ * Manager create project topic (https://cloud.google.com/resource-manager/docs
+ * /creating-project). (apps.create)
+ *
+ * @param Google_Service_Appengine_Application $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Appengine_Operation
+ */
+ public function create(Google_Service_Appengine_Application $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Appengine_Operation");
+ }
+ /**
+ * Gets information about an application. (apps.get)
+ *
+ * @param string $appsId Part of `name`. Name of the Application resource to
+ * get. Example: apps/myapp.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Appengine_Application
+ */
+ public function get($appsId, $optParams = array())
+ {
+ $params = array('appsId' => $appsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Appengine_Application");
+ }
+ /**
+ * Updates the specified Application resource. You can update the following
+ * fields: auth_domain (https://cloud.google.com/appengine/docs/admin-
+ * api/reference/rest/v1/apps#Application.FIELDS.auth_domain)
+ * default_cookie_expiration (https://cloud.google.com/appengine/docs/admin-
+ * api/reference/rest/v1/apps#Application.FIELDS.default_cookie_expiration)
+ * (apps.patch)
+ *
+ * @param string $appsId Part of `name`. Name of the Application resource to
+ * update. Example: apps/myapp.
+ * @param Google_Service_Appengine_Application $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask Standard field mask for the set of fields to be
+ * updated.
+ * @return Google_Service_Appengine_Operation
+ */
+ public function patch($appsId, Google_Service_Appengine_Application $postBody, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Appengine_Operation");
+ }
+ /**
+ * Recreates the required App Engine features for the specified App Engine
+ * application, for example a Cloud Storage bucket or App Engine service
+ * account. Use this method if you receive an error message about a missing
+ * feature, for example, Error retrieving the App Engine service account.
+ * (apps.repair)
+ *
+ * @param string $appsId Part of `name`. Name of the application to repair.
+ * Example: apps/myapp
+ * @param Google_Service_Appengine_RepairApplicationRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Appengine_Operation
+ */
+ public function repair($appsId, Google_Service_Appengine_RepairApplicationRequest $postBody, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('repair', array($params), "Google_Service_Appengine_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsLocations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsLocations.php
new file mode 100644
index 00000000..d9d27b8e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsLocations.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "locations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $appengineService = new Google_Service_Appengine(...);
+ * $locations = $appengineService->locations;
+ * </code>
+ */
+class Google_Service_Appengine_Resource_AppsLocations extends Google_Service_Resource
+{
+ /**
+ * Get information about a location. (locations.get)
+ *
+ * @param string $appsId Part of `name`. Resource name for the location.
+ * @param string $locationsId Part of `name`. See documentation of `appsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Appengine_Location
+ */
+ public function get($appsId, $locationsId, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'locationsId' => $locationsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Appengine_Location");
+ }
+ /**
+ * Lists information about the supported locations for this service.
+ * (locations.listAppsLocations)
+ *
+ * @param string $appsId Part of `name`. The resource that owns the locations
+ * collection, if applicable.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter The standard list filter.
+ * @opt_param int pageSize The standard list page size.
+ * @opt_param string pageToken The standard list page token.
+ * @return Google_Service_Appengine_ListLocationsResponse
+ */
+ public function listAppsLocations($appsId, $optParams = array())
+ {
+ $params = array('appsId' => $appsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Appengine_ListLocationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsOperations.php
new file mode 100644
index 00000000..5b0c6333
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsOperations.php
@@ -0,0 +1,65 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $appengineService = new Google_Service_Appengine(...);
+ * $operations = $appengineService->operations;
+ * </code>
+ */
+class Google_Service_Appengine_Resource_AppsOperations extends Google_Service_Resource
+{
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this
+ * method to poll the operation result at intervals as recommended by the API
+ * service. (operations.get)
+ *
+ * @param string $appsId Part of `name`. The name of the operation resource.
+ * @param string $operationsId Part of `name`. See documentation of `appsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Appengine_Operation
+ */
+ public function get($appsId, $operationsId, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'operationsId' => $operationsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Appengine_Operation");
+ }
+ /**
+ * Lists operations that match the specified filter in the request. If the
+ * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name
+ * binding below allows API services to override the binding to use different
+ * resource name schemes, such as users/operations.
+ * (operations.listAppsOperations)
+ *
+ * @param string $appsId Part of `name`. The name of the operation collection.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter The standard list filter.
+ * @opt_param int pageSize The standard list page size.
+ * @opt_param string pageToken The standard list page token.
+ * @return Google_Service_Appengine_ListOperationsResponse
+ */
+ public function listAppsOperations($appsId, $optParams = array())
+ {
+ $params = array('appsId' => $appsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Appengine_ListOperationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServices.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServices.php
new file mode 100644
index 00000000..77095a8a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServices.php
@@ -0,0 +1,109 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "services" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $appengineService = new Google_Service_Appengine(...);
+ * $services = $appengineService->services;
+ * </code>
+ */
+class Google_Service_Appengine_Resource_AppsServices extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified service and all enclosed versions. (services.delete)
+ *
+ * @param string $appsId Part of `name`. Name of the resource requested.
+ * Example: apps/myapp/services/default.
+ * @param string $servicesId Part of `name`. See documentation of `appsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Appengine_Operation
+ */
+ public function delete($appsId, $servicesId, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'servicesId' => $servicesId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Appengine_Operation");
+ }
+ /**
+ * Gets the current configuration of the specified service. (services.get)
+ *
+ * @param string $appsId Part of `name`. Name of the resource requested.
+ * Example: apps/myapp/services/default.
+ * @param string $servicesId Part of `name`. See documentation of `appsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Appengine_Service
+ */
+ public function get($appsId, $servicesId, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'servicesId' => $servicesId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Appengine_Service");
+ }
+ /**
+ * Lists all the services in the application. (services.listAppsServices)
+ *
+ * @param string $appsId Part of `parent`. Name of the parent Application
+ * resource. Example: apps/myapp.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Maximum results to return per page.
+ * @opt_param string pageToken Continuation token for fetching the next page of
+ * results.
+ * @return Google_Service_Appengine_ListServicesResponse
+ */
+ public function listAppsServices($appsId, $optParams = array())
+ {
+ $params = array('appsId' => $appsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Appengine_ListServicesResponse");
+ }
+ /**
+ * Updates the configuration of the specified service. (services.patch)
+ *
+ * @param string $appsId Part of `name`. Name of the resource to update.
+ * Example: apps/myapp/services/default.
+ * @param string $servicesId Part of `name`. See documentation of `appsId`.
+ * @param Google_Service_Appengine_Service $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask Standard field mask for the set of fields to be
+ * updated.
+ * @opt_param bool migrateTraffic Set to true to gradually shift traffic from
+ * one version to another single version. By default, traffic is shifted
+ * immediately. For gradual traffic migration, the target version must be
+ * located within instances that are configured for both warmup requests
+ * (https://cloud.google.com/appengine/docs/admin-
+ * api/reference/rest/v1/apps.services.versions#inboundservicetype) and
+ * automatic scaling (https://cloud.google.com/appengine/docs/admin-
+ * api/reference/rest/v1/apps.services.versions#automaticscaling). You must
+ * specify the shardBy (https://cloud.google.com/appengine/docs/admin-
+ * api/reference/rest/v1/apps.services#shardby) field in the Service resource.
+ * Gradual traffic migration is not supported in the App Engine flexible
+ * environment. For examples, see Migrating and Splitting Traffic
+ * (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-
+ * traffic).
+ * @return Google_Service_Appengine_Operation
+ */
+ public function patch($appsId, $servicesId, Google_Service_Appengine_Service $postBody, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Appengine_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServicesVersions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServicesVersions.php
new file mode 100644
index 00000000..3c1eb114
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServicesVersions.php
@@ -0,0 +1,138 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "versions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $appengineService = new Google_Service_Appengine(...);
+ * $versions = $appengineService->versions;
+ * </code>
+ */
+class Google_Service_Appengine_Resource_AppsServicesVersions extends Google_Service_Resource
+{
+ /**
+ * Deploys code and resource files to a new version. (versions.create)
+ *
+ * @param string $appsId Part of `parent`. Name of the parent resource to create
+ * this version under. Example: apps/myapp/services/default.
+ * @param string $servicesId Part of `parent`. See documentation of `appsId`.
+ * @param Google_Service_Appengine_Version $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Appengine_Operation
+ */
+ public function create($appsId, $servicesId, Google_Service_Appengine_Version $postBody, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Appengine_Operation");
+ }
+ /**
+ * Deletes an existing Version resource. (versions.delete)
+ *
+ * @param string $appsId Part of `name`. Name of the resource requested.
+ * Example: apps/myapp/services/default/versions/v1.
+ * @param string $servicesId Part of `name`. See documentation of `appsId`.
+ * @param string $versionsId Part of `name`. See documentation of `appsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Appengine_Operation
+ */
+ public function delete($appsId, $servicesId, $versionsId, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Appengine_Operation");
+ }
+ /**
+ * Gets the specified Version resource. By default, only a BASIC_VIEW will be
+ * returned. Specify the FULL_VIEW parameter to get the full resource.
+ * (versions.get)
+ *
+ * @param string $appsId Part of `name`. Name of the resource requested.
+ * Example: apps/myapp/services/default/versions/v1.
+ * @param string $servicesId Part of `name`. See documentation of `appsId`.
+ * @param string $versionsId Part of `name`. See documentation of `appsId`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view Controls the set of fields returned in the Get
+ * response.
+ * @return Google_Service_Appengine_Version
+ */
+ public function get($appsId, $servicesId, $versionsId, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Appengine_Version");
+ }
+ /**
+ * Lists the versions of a service. (versions.listAppsServicesVersions)
+ *
+ * @param string $appsId Part of `parent`. Name of the parent Service resource.
+ * Example: apps/myapp/services/default.
+ * @param string $servicesId Part of `parent`. See documentation of `appsId`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view Controls the set of fields returned in the List
+ * response.
+ * @opt_param int pageSize Maximum results to return per page.
+ * @opt_param string pageToken Continuation token for fetching the next page of
+ * results.
+ * @return Google_Service_Appengine_ListVersionsResponse
+ */
+ public function listAppsServicesVersions($appsId, $servicesId, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'servicesId' => $servicesId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Appengine_ListVersionsResponse");
+ }
+ /**
+ * Updates the specified Version resource. You can specify the following fields
+ * depending on the App Engine environment and type of scaling that the version
+ * resource uses: serving_status (https://cloud.google.com/appengine/docs/admin-
+ * api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status):
+ * For Version resources that use basic scaling, manual scaling, or run in the
+ * App Engine flexible environment. instance_class
+ * (https://cloud.google.com/appengine/docs/admin-
+ * api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class):
+ * For Version resources that run in the App Engine standard environment.
+ * automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs
+ * /admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_
+ * scaling): For Version resources that use automatic scaling and run in the App
+ * Engine standard environment. automatic_scaling.max_idle_instances
+ * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser
+ * vices.versions#Version.FIELDS.automatic_scaling): For Version resources that
+ * use automatic scaling and run in the App Engine standard environment.
+ * (versions.patch)
+ *
+ * @param string $appsId Part of `name`. Name of the resource to update.
+ * Example: apps/myapp/services/default/versions/1.
+ * @param string $servicesId Part of `name`. See documentation of `appsId`.
+ * @param string $versionsId Part of `name`. See documentation of `appsId`.
+ * @param Google_Service_Appengine_Version $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask Standard field mask for the set of fields to be
+ * updated.
+ * @return Google_Service_Appengine_Operation
+ */
+ public function patch($appsId, $servicesId, $versionsId, Google_Service_Appengine_Version $postBody, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Appengine_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServicesVersionsInstances.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServicesVersionsInstances.php
new file mode 100644
index 00000000..a1e8c24f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServicesVersionsInstances.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "instances" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $appengineService = new Google_Service_Appengine(...);
+ * $instances = $appengineService->instances;
+ * </code>
+ */
+class Google_Service_Appengine_Resource_AppsServicesVersionsInstances extends Google_Service_Resource
+{
+ /**
+ * Enables debugging on a VM instance. This allows you to use the SSH command to
+ * connect to the virtual machine where the instance lives. While in "debug
+ * mode", the instance continues to serve live traffic. You should delete the
+ * instance when you are done debugging and then allow the system to take over
+ * and determine if another instance should be started.Only applicable for
+ * instances in App Engine flexible environment. (instances.debug)
+ *
+ * @param string $appsId Part of `name`. Name of the resource requested.
+ * Example: apps/myapp/services/default/versions/v1/instances/instance-1.
+ * @param string $servicesId Part of `name`. See documentation of `appsId`.
+ * @param string $versionsId Part of `name`. See documentation of `appsId`.
+ * @param string $instancesId Part of `name`. See documentation of `appsId`.
+ * @param Google_Service_Appengine_DebugInstanceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Appengine_Operation
+ */
+ public function debug($appsId, $servicesId, $versionsId, $instancesId, Google_Service_Appengine_DebugInstanceRequest $postBody, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId, 'instancesId' => $instancesId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('debug', array($params), "Google_Service_Appengine_Operation");
+ }
+ /**
+ * Stops a running instance. (instances.delete)
+ *
+ * @param string $appsId Part of `name`. Name of the resource requested.
+ * Example: apps/myapp/services/default/versions/v1/instances/instance-1.
+ * @param string $servicesId Part of `name`. See documentation of `appsId`.
+ * @param string $versionsId Part of `name`. See documentation of `appsId`.
+ * @param string $instancesId Part of `name`. See documentation of `appsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Appengine_Operation
+ */
+ public function delete($appsId, $servicesId, $versionsId, $instancesId, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId, 'instancesId' => $instancesId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Appengine_Operation");
+ }
+ /**
+ * Gets instance information. (instances.get)
+ *
+ * @param string $appsId Part of `name`. Name of the resource requested.
+ * Example: apps/myapp/services/default/versions/v1/instances/instance-1.
+ * @param string $servicesId Part of `name`. See documentation of `appsId`.
+ * @param string $versionsId Part of `name`. See documentation of `appsId`.
+ * @param string $instancesId Part of `name`. See documentation of `appsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Appengine_Instance
+ */
+ public function get($appsId, $servicesId, $versionsId, $instancesId, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId, 'instancesId' => $instancesId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Appengine_Instance");
+ }
+ /**
+ * Lists the instances of a version.
+ * (instances.listAppsServicesVersionsInstances)
+ *
+ * @param string $appsId Part of `parent`. Name of the parent Version resource.
+ * Example: apps/myapp/services/default/versions/v1.
+ * @param string $servicesId Part of `parent`. See documentation of `appsId`.
+ * @param string $versionsId Part of `parent`. See documentation of `appsId`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Maximum results to return per page.
+ * @opt_param string pageToken Continuation token for fetching the next page of
+ * results.
+ * @return Google_Service_Appengine_ListInstancesResponse
+ */
+ public function listAppsServicesVersionsInstances($appsId, $servicesId, $versionsId, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Appengine_ListInstancesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/Experimental.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/Experimental.php
new file mode 100644
index 00000000..4ac8bd4d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/Experimental.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "experimental" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $appengineService = new Google_Service_Appengine(...);
+ * $experimental = $appengineService->experimental;
+ * </code>
+ */
+class Google_Service_Appengine_Resource_Experimental extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/ExperimentalApps.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/ExperimentalApps.php
new file mode 100644
index 00000000..99fc1a4a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/ExperimentalApps.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "apps" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $appengineService = new Google_Service_Appengine(...);
+ * $apps = $appengineService->apps;
+ * </code>
+ */
+class Google_Service_Appengine_Resource_ExperimentalApps extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/ExperimentalAppsOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/ExperimentalAppsOperations.php
new file mode 100644
index 00000000..802c1dab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/ExperimentalAppsOperations.php
@@ -0,0 +1,65 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $appengineService = new Google_Service_Appengine(...);
+ * $operations = $appengineService->operations;
+ * </code>
+ */
+class Google_Service_Appengine_Resource_ExperimentalAppsOperations extends Google_Service_Resource
+{
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this
+ * method to poll the operation result at intervals as recommended by the API
+ * service. (operations.get)
+ *
+ * @param string $appsId Part of `name`. The name of the operation resource.
+ * @param string $operationsId Part of `name`. See documentation of `appsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Appengine_Operation
+ */
+ public function get($appsId, $operationsId, $optParams = array())
+ {
+ $params = array('appsId' => $appsId, 'operationsId' => $operationsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Appengine_Operation");
+ }
+ /**
+ * Lists operations that match the specified filter in the request. If the
+ * server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the
+ * `name` binding below allows API services to override the binding to use
+ * different resource name schemes, such as `users/operations`.
+ * (operations.listExperimentalAppsOperations)
+ *
+ * @param string $appsId Part of `name`. The name of the operation collection.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter The standard list filter.
+ * @opt_param int pageSize The standard list page size.
+ * @opt_param string pageToken The standard list page token.
+ * @return Google_Service_Appengine_ListOperationsResponse
+ */
+ public function listExperimentalAppsOperations($appsId, $optParams = array())
+ {
+ $params = array('appsId' => $appsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Appengine_ListOperationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resources.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resources.php
new file mode 100644
index 00000000..39819350
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resources.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_Resources extends Google_Collection
+{
+ protected $collection_key = 'volumes';
+ public $cpu;
+ public $diskGb;
+ public $memoryGb;
+ protected $volumesType = 'Google_Service_Appengine_Volume';
+ protected $volumesDataType = 'array';
+
+ public function setCpu($cpu)
+ {
+ $this->cpu = $cpu;
+ }
+ public function getCpu()
+ {
+ return $this->cpu;
+ }
+ public function setDiskGb($diskGb)
+ {
+ $this->diskGb = $diskGb;
+ }
+ public function getDiskGb()
+ {
+ return $this->diskGb;
+ }
+ public function setMemoryGb($memoryGb)
+ {
+ $this->memoryGb = $memoryGb;
+ }
+ public function getMemoryGb()
+ {
+ return $this->memoryGb;
+ }
+ public function setVolumes($volumes)
+ {
+ $this->volumes = $volumes;
+ }
+ public function getVolumes()
+ {
+ return $this->volumes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ScriptHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ScriptHandler.php
new file mode 100644
index 00000000..cf7902d5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ScriptHandler.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_ScriptHandler extends Google_Model
+{
+ public $scriptPath;
+
+ public function setScriptPath($scriptPath)
+ {
+ $this->scriptPath = $scriptPath;
+ }
+ public function getScriptPath()
+ {
+ return $this->scriptPath;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Service.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Service.php
new file mode 100644
index 00000000..e6321b33
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Service.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_Service extends Google_Model
+{
+ public $id;
+ public $name;
+ protected $splitType = 'Google_Service_Appengine_TrafficSplit';
+ protected $splitDataType = '';
+
+ 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 setSplit(Google_Service_Appengine_TrafficSplit $split)
+ {
+ $this->split = $split;
+ }
+ public function getSplit()
+ {
+ return $this->split;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/SourceReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/SourceReference.php
new file mode 100644
index 00000000..fadc6039
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/SourceReference.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_SourceReference extends Google_Model
+{
+ public $repository;
+ public $revisionId;
+
+ public function setRepository($repository)
+ {
+ $this->repository = $repository;
+ }
+ public function getRepository()
+ {
+ return $this->repository;
+ }
+ public function setRevisionId($revisionId)
+ {
+ $this->revisionId = $revisionId;
+ }
+ public function getRevisionId()
+ {
+ return $this->revisionId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/StaticFilesHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/StaticFilesHandler.php
new file mode 100644
index 00000000..5a51584b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/StaticFilesHandler.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_StaticFilesHandler extends Google_Model
+{
+ public $applicationReadable;
+ public $expiration;
+ public $httpHeaders;
+ public $mimeType;
+ public $path;
+ public $requireMatchingFile;
+ public $uploadPathRegex;
+
+ public function setApplicationReadable($applicationReadable)
+ {
+ $this->applicationReadable = $applicationReadable;
+ }
+ public function getApplicationReadable()
+ {
+ return $this->applicationReadable;
+ }
+ public function setExpiration($expiration)
+ {
+ $this->expiration = $expiration;
+ }
+ public function getExpiration()
+ {
+ return $this->expiration;
+ }
+ public function setHttpHeaders($httpHeaders)
+ {
+ $this->httpHeaders = $httpHeaders;
+ }
+ public function getHttpHeaders()
+ {
+ return $this->httpHeaders;
+ }
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+ public function getPath()
+ {
+ return $this->path;
+ }
+ public function setRequireMatchingFile($requireMatchingFile)
+ {
+ $this->requireMatchingFile = $requireMatchingFile;
+ }
+ public function getRequireMatchingFile()
+ {
+ return $this->requireMatchingFile;
+ }
+ public function setUploadPathRegex($uploadPathRegex)
+ {
+ $this->uploadPathRegex = $uploadPathRegex;
+ }
+ public function getUploadPathRegex()
+ {
+ return $this->uploadPathRegex;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Status.php
new file mode 100644
index 00000000..d80b5b19
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/TrafficSplit.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/TrafficSplit.php
new file mode 100644
index 00000000..055d4d3f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/TrafficSplit.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_TrafficSplit extends Google_Model
+{
+ public $allocations;
+ public $shardBy;
+
+ public function setAllocations($allocations)
+ {
+ $this->allocations = $allocations;
+ }
+ public function getAllocations()
+ {
+ return $this->allocations;
+ }
+ public function setShardBy($shardBy)
+ {
+ $this->shardBy = $shardBy;
+ }
+ public function getShardBy()
+ {
+ return $this->shardBy;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/UrlDispatchRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/UrlDispatchRule.php
new file mode 100644
index 00000000..dd889ecc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/UrlDispatchRule.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_UrlDispatchRule extends Google_Model
+{
+ public $domain;
+ public $path;
+ public $service;
+
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+ }
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/UrlMap.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/UrlMap.php
new file mode 100644
index 00000000..01ddd838
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/UrlMap.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_UrlMap extends Google_Model
+{
+ protected $apiEndpointType = 'Google_Service_Appengine_ApiEndpointHandler';
+ protected $apiEndpointDataType = '';
+ public $authFailAction;
+ public $login;
+ public $redirectHttpResponseCode;
+ protected $scriptType = 'Google_Service_Appengine_ScriptHandler';
+ protected $scriptDataType = '';
+ public $securityLevel;
+ protected $staticFilesType = 'Google_Service_Appengine_StaticFilesHandler';
+ protected $staticFilesDataType = '';
+ public $urlRegex;
+
+ public function setApiEndpoint(Google_Service_Appengine_ApiEndpointHandler $apiEndpoint)
+ {
+ $this->apiEndpoint = $apiEndpoint;
+ }
+ public function getApiEndpoint()
+ {
+ return $this->apiEndpoint;
+ }
+ public function setAuthFailAction($authFailAction)
+ {
+ $this->authFailAction = $authFailAction;
+ }
+ public function getAuthFailAction()
+ {
+ return $this->authFailAction;
+ }
+ public function setLogin($login)
+ {
+ $this->login = $login;
+ }
+ public function getLogin()
+ {
+ return $this->login;
+ }
+ public function setRedirectHttpResponseCode($redirectHttpResponseCode)
+ {
+ $this->redirectHttpResponseCode = $redirectHttpResponseCode;
+ }
+ public function getRedirectHttpResponseCode()
+ {
+ return $this->redirectHttpResponseCode;
+ }
+ public function setScript(Google_Service_Appengine_ScriptHandler $script)
+ {
+ $this->script = $script;
+ }
+ public function getScript()
+ {
+ return $this->script;
+ }
+ public function setSecurityLevel($securityLevel)
+ {
+ $this->securityLevel = $securityLevel;
+ }
+ public function getSecurityLevel()
+ {
+ return $this->securityLevel;
+ }
+ public function setStaticFiles(Google_Service_Appengine_StaticFilesHandler $staticFiles)
+ {
+ $this->staticFiles = $staticFiles;
+ }
+ public function getStaticFiles()
+ {
+ return $this->staticFiles;
+ }
+ public function setUrlRegex($urlRegex)
+ {
+ $this->urlRegex = $urlRegex;
+ }
+ public function getUrlRegex()
+ {
+ return $this->urlRegex;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Version.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Version.php
new file mode 100644
index 00000000..32d603ad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Version.php
@@ -0,0 +1,295 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_Version extends Google_Collection
+{
+ protected $collection_key = 'libraries';
+ protected $apiConfigType = 'Google_Service_Appengine_ApiConfigHandler';
+ protected $apiConfigDataType = '';
+ protected $automaticScalingType = 'Google_Service_Appengine_AutomaticScaling';
+ protected $automaticScalingDataType = '';
+ protected $basicScalingType = 'Google_Service_Appengine_BasicScaling';
+ protected $basicScalingDataType = '';
+ public $betaSettings;
+ public $createTime;
+ public $createdBy;
+ public $defaultExpiration;
+ protected $deploymentType = 'Google_Service_Appengine_Deployment';
+ protected $deploymentDataType = '';
+ public $diskUsageBytes;
+ protected $endpointsApiServiceType = 'Google_Service_Appengine_EndpointsApiService';
+ protected $endpointsApiServiceDataType = '';
+ public $env;
+ public $envVariables;
+ protected $errorHandlersType = 'Google_Service_Appengine_ErrorHandler';
+ protected $errorHandlersDataType = 'array';
+ protected $handlersType = 'Google_Service_Appengine_UrlMap';
+ protected $handlersDataType = 'array';
+ protected $healthCheckType = 'Google_Service_Appengine_HealthCheck';
+ protected $healthCheckDataType = '';
+ public $id;
+ public $inboundServices;
+ public $instanceClass;
+ protected $librariesType = 'Google_Service_Appengine_Library';
+ protected $librariesDataType = 'array';
+ protected $manualScalingType = 'Google_Service_Appengine_ManualScaling';
+ protected $manualScalingDataType = '';
+ public $name;
+ protected $networkType = 'Google_Service_Appengine_Network';
+ protected $networkDataType = '';
+ public $nobuildFilesRegex;
+ protected $resourcesType = 'Google_Service_Appengine_Resources';
+ protected $resourcesDataType = '';
+ public $runtime;
+ public $servingStatus;
+ public $threadsafe;
+ public $versionUrl;
+ public $vm;
+
+ public function setApiConfig(Google_Service_Appengine_ApiConfigHandler $apiConfig)
+ {
+ $this->apiConfig = $apiConfig;
+ }
+ public function getApiConfig()
+ {
+ return $this->apiConfig;
+ }
+ public function setAutomaticScaling(Google_Service_Appengine_AutomaticScaling $automaticScaling)
+ {
+ $this->automaticScaling = $automaticScaling;
+ }
+ public function getAutomaticScaling()
+ {
+ return $this->automaticScaling;
+ }
+ public function setBasicScaling(Google_Service_Appengine_BasicScaling $basicScaling)
+ {
+ $this->basicScaling = $basicScaling;
+ }
+ public function getBasicScaling()
+ {
+ return $this->basicScaling;
+ }
+ public function setBetaSettings($betaSettings)
+ {
+ $this->betaSettings = $betaSettings;
+ }
+ public function getBetaSettings()
+ {
+ return $this->betaSettings;
+ }
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setCreatedBy($createdBy)
+ {
+ $this->createdBy = $createdBy;
+ }
+ public function getCreatedBy()
+ {
+ return $this->createdBy;
+ }
+ public function setDefaultExpiration($defaultExpiration)
+ {
+ $this->defaultExpiration = $defaultExpiration;
+ }
+ public function getDefaultExpiration()
+ {
+ return $this->defaultExpiration;
+ }
+ public function setDeployment(Google_Service_Appengine_Deployment $deployment)
+ {
+ $this->deployment = $deployment;
+ }
+ public function getDeployment()
+ {
+ return $this->deployment;
+ }
+ public function setDiskUsageBytes($diskUsageBytes)
+ {
+ $this->diskUsageBytes = $diskUsageBytes;
+ }
+ public function getDiskUsageBytes()
+ {
+ return $this->diskUsageBytes;
+ }
+ public function setEndpointsApiService(Google_Service_Appengine_EndpointsApiService $endpointsApiService)
+ {
+ $this->endpointsApiService = $endpointsApiService;
+ }
+ public function getEndpointsApiService()
+ {
+ return $this->endpointsApiService;
+ }
+ public function setEnv($env)
+ {
+ $this->env = $env;
+ }
+ public function getEnv()
+ {
+ return $this->env;
+ }
+ public function setEnvVariables($envVariables)
+ {
+ $this->envVariables = $envVariables;
+ }
+ public function getEnvVariables()
+ {
+ return $this->envVariables;
+ }
+ public function setErrorHandlers($errorHandlers)
+ {
+ $this->errorHandlers = $errorHandlers;
+ }
+ public function getErrorHandlers()
+ {
+ return $this->errorHandlers;
+ }
+ public function setHandlers($handlers)
+ {
+ $this->handlers = $handlers;
+ }
+ public function getHandlers()
+ {
+ return $this->handlers;
+ }
+ public function setHealthCheck(Google_Service_Appengine_HealthCheck $healthCheck)
+ {
+ $this->healthCheck = $healthCheck;
+ }
+ public function getHealthCheck()
+ {
+ return $this->healthCheck;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInboundServices($inboundServices)
+ {
+ $this->inboundServices = $inboundServices;
+ }
+ public function getInboundServices()
+ {
+ return $this->inboundServices;
+ }
+ public function setInstanceClass($instanceClass)
+ {
+ $this->instanceClass = $instanceClass;
+ }
+ public function getInstanceClass()
+ {
+ return $this->instanceClass;
+ }
+ public function setLibraries($libraries)
+ {
+ $this->libraries = $libraries;
+ }
+ public function getLibraries()
+ {
+ return $this->libraries;
+ }
+ public function setManualScaling(Google_Service_Appengine_ManualScaling $manualScaling)
+ {
+ $this->manualScaling = $manualScaling;
+ }
+ public function getManualScaling()
+ {
+ return $this->manualScaling;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNetwork(Google_Service_Appengine_Network $network)
+ {
+ $this->network = $network;
+ }
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+ public function setNobuildFilesRegex($nobuildFilesRegex)
+ {
+ $this->nobuildFilesRegex = $nobuildFilesRegex;
+ }
+ public function getNobuildFilesRegex()
+ {
+ return $this->nobuildFilesRegex;
+ }
+ public function setResources(Google_Service_Appengine_Resources $resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+ public function setRuntime($runtime)
+ {
+ $this->runtime = $runtime;
+ }
+ public function getRuntime()
+ {
+ return $this->runtime;
+ }
+ public function setServingStatus($servingStatus)
+ {
+ $this->servingStatus = $servingStatus;
+ }
+ public function getServingStatus()
+ {
+ return $this->servingStatus;
+ }
+ public function setThreadsafe($threadsafe)
+ {
+ $this->threadsafe = $threadsafe;
+ }
+ public function getThreadsafe()
+ {
+ return $this->threadsafe;
+ }
+ public function setVersionUrl($versionUrl)
+ {
+ $this->versionUrl = $versionUrl;
+ }
+ public function getVersionUrl()
+ {
+ return $this->versionUrl;
+ }
+ public function setVm($vm)
+ {
+ $this->vm = $vm;
+ }
+ public function getVm()
+ {
+ return $this->vm;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Volume.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Volume.php
new file mode 100644
index 00000000..bc491dd7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Volume.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_Volume extends Google_Model
+{
+ public $name;
+ public $sizeGb;
+ public $volumeType;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSizeGb($sizeGb)
+ {
+ $this->sizeGb = $sizeGb;
+ }
+ public function getSizeGb()
+ {
+ return $this->sizeGb;
+ }
+ public function setVolumeType($volumeType)
+ {
+ $this->volumeType = $volumeType;
+ }
+ public function getVolumeType()
+ {
+ return $this->volumeType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ZipInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ZipInfo.php
new file mode 100644
index 00000000..f2c6cc31
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ZipInfo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appengine_ZipInfo extends Google_Model
+{
+ public $filesCount;
+ public $sourceUrl;
+
+ public function setFilesCount($filesCount)
+ {
+ $this->filesCount = $filesCount;
+ }
+ public function getFilesCount()
+ {
+ return $this->filesCount;
+ }
+ public function setSourceUrl($sourceUrl)
+ {
+ $this->sourceUrl = $sourceUrl;
+ }
+ public function getSourceUrl()
+ {
+ return $this->sourceUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity.php
new file mode 100644
index 00000000..95cb3065
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity.php
@@ -0,0 +1,108 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appsactivity extends Google_Service
+{
+ /** View the activity history of your Google apps. */
+ const ACTIVITY =
+ "https://www.googleapis.com/auth/activity";
+ /** View and manage the files in your Google Drive. */
+ const DRIVE =
+ "https://www.googleapis.com/auth/drive";
+ /** View and manage metadata of files in your Google Drive. */
+ const DRIVE_METADATA =
+ "https://www.googleapis.com/auth/drive.metadata";
+ /** View metadata for files in your Google Drive. */
+ const DRIVE_METADATA_READONLY =
+ "https://www.googleapis.com/auth/drive.metadata.readonly";
+ /** View the files 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'appsactivity/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'appsactivity';
+
+ $this->activities = new Google_Service_Appsactivity_Resource_Activities(
+ $this,
+ $this->serviceName,
+ 'activities',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'activities',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'drive.ancestorId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'drive.fileId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'groupingStrategy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Activity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Activity.php
new file mode 100644
index 00000000..0e854bde
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Activity.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appsactivity_Activity extends Google_Collection
+{
+ protected $collection_key = 'singleEvents';
+ protected $combinedEventType = 'Google_Service_Appsactivity_Event';
+ protected $combinedEventDataType = '';
+ protected $singleEventsType = 'Google_Service_Appsactivity_Event';
+ protected $singleEventsDataType = 'array';
+
+ public function setCombinedEvent(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/AppsactivityParent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/AppsactivityParent.php
new file mode 100644
index 00000000..25564618
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/AppsactivityParent.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appsactivity_AppsactivityParent extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Event.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Event.php
new file mode 100644
index 00000000..26a99881
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Event.php
@@ -0,0 +1,108 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appsactivity_Event extends Google_Collection
+{
+ protected $collection_key = 'permissionChanges';
+ public $additionalEventTypes;
+ public $eventTimeMillis;
+ public $fromUserDeletion;
+ protected $moveType = 'Google_Service_Appsactivity_Move';
+ protected $moveDataType = '';
+ protected $permissionChangesType = 'Google_Service_Appsactivity_PermissionChange';
+ protected $permissionChangesDataType = 'array';
+ public $primaryEventType;
+ protected $renameType = 'Google_Service_Appsactivity_Rename';
+ protected $renameDataType = '';
+ protected $targetType = 'Google_Service_Appsactivity_Target';
+ protected $targetDataType = '';
+ protected $userType = '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(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(Google_Service_Appsactivity_Rename $rename)
+ {
+ $this->rename = $rename;
+ }
+ public function getRename()
+ {
+ return $this->rename;
+ }
+ public function setTarget(Google_Service_Appsactivity_Target $target)
+ {
+ $this->target = $target;
+ }
+ public function getTarget()
+ {
+ return $this->target;
+ }
+ public function setUser(Google_Service_Appsactivity_User $user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/ListActivitiesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/ListActivitiesResponse.php
new file mode 100644
index 00000000..2a82e889
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/ListActivitiesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appsactivity_ListActivitiesResponse extends Google_Collection
+{
+ protected $collection_key = 'activities';
+ protected $activitiesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Move.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Move.php
new file mode 100644
index 00000000..48c08dd0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Move.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appsactivity_Move extends Google_Collection
+{
+ protected $collection_key = 'removedParents';
+ protected $addedParentsType = 'Google_Service_Appsactivity_AppsactivityParent';
+ protected $addedParentsDataType = 'array';
+ protected $removedParentsType = 'Google_Service_Appsactivity_AppsactivityParent';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Permission.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Permission.php
new file mode 100644
index 00000000..6fec4049
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Permission.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appsactivity_Permission extends Google_Model
+{
+ public $name;
+ public $permissionId;
+ public $role;
+ public $type;
+ protected $userType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/PermissionChange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/PermissionChange.php
new file mode 100644
index 00000000..f070e9eb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/PermissionChange.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appsactivity_PermissionChange extends Google_Collection
+{
+ protected $collection_key = 'removedPermissions';
+ protected $addedPermissionsType = 'Google_Service_Appsactivity_Permission';
+ protected $addedPermissionsDataType = 'array';
+ protected $removedPermissionsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Photo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Photo.php
new file mode 100644
index 00000000..6bb27174
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Photo.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appsactivity_Photo extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Rename.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Rename.php
new file mode 100644
index 00000000..1e714abc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Rename.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appsactivity_Rename extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Resource/Activities.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Resource/Activities.php
new file mode 100644
index 00000000..d5589f66
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Resource/Activities.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "activities" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $appsactivityService = new Google_Service_Appsactivity(...);
+ * $activities = $appsactivityService->activities;
+ * </code>
+ */
+class Google_Service_Appsactivity_Resource_Activities extends 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 string drive.fileId Identifies the Drive item to return activities
+ * for.
+ * @opt_param string groupingStrategy Indicates the strategy to use when
+ * grouping singleEvents items in the associated combinedEvent object.
+ * @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 source The Google service from which to return activities.
+ * Possible values of source are: - drive.google.com
+ * @opt_param string userId Indicates the user to return activity for. Use the
+ * special value me to indicate the currently authenticated user.
+ * @return Google_Service_Appsactivity_ListActivitiesResponse
+ */
+ public function listActivities($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Appsactivity_ListActivitiesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Target.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Target.php
new file mode 100644
index 00000000..a4d3107a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Target.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appsactivity_Target extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/User.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/User.php
new file mode 100644
index 00000000..e0d2de4b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/User.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Appsactivity_User extends Google_Model
+{
+ public $isDeleted;
+ public $isMe;
+ public $name;
+ public $permissionId;
+ protected $photoType = 'Google_Service_Appsactivity_Photo';
+ protected $photoDataType = '';
+
+ public function setIsDeleted($isDeleted)
+ {
+ $this->isDeleted = $isDeleted;
+ }
+ public function getIsDeleted()
+ {
+ return $this->isDeleted;
+ }
+ public function setIsMe($isMe)
+ {
+ $this->isMe = $isMe;
+ }
+ public function getIsMe()
+ {
+ return $this->isMe;
+ }
+ 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 setPhoto(Google_Service_Appsactivity_Photo $photo)
+ {
+ $this->photo = $photo;
+ }
+ public function getPhoto()
+ {
+ return $this->photo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler.php
new file mode 100644
index 00000000..619cb66e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler.php
@@ -0,0 +1,299 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Autoscaler extends 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'autoscaler/v1beta2/';
+ $this->version = 'v1beta2';
+ $this->serviceName = 'autoscaler';
+
+ $this->autoscalers = new Google_Service_Autoscaler_Resource_Autoscalers(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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 Google_Service_Autoscaler_Resource_ZoneOperations(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->zones = new Google_Service_Autoscaler_Resource_Zones(
+ $this,
+ $this->serviceName,
+ 'zones',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'zones',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'project' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Autoscaler.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Autoscaler.php
new file mode 100644
index 00000000..be348120
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Autoscaler.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Autoscaler_Autoscaler extends Google_Model
+{
+ protected $autoscalingPolicyType = 'Google_Service_Autoscaler_AutoscalingPolicy';
+ protected $autoscalingPolicyDataType = '';
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $selfLink;
+ public $target;
+
+ public function setAutoscalingPolicy(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalerListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalerListResponse.php
new file mode 100644
index 00000000..b677647c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalerListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Autoscaler_AutoscalerListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicy.php
new file mode 100644
index 00000000..c76b696f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicy.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Autoscaler_AutoscalingPolicy extends Google_Collection
+{
+ protected $collection_key = 'customMetricUtilizations';
+ public $coolDownPeriodSec;
+ protected $cpuUtilizationType = 'Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization';
+ protected $cpuUtilizationDataType = '';
+ protected $customMetricUtilizationsType = 'Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization';
+ protected $customMetricUtilizationsDataType = 'array';
+ protected $loadBalancingUtilizationType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyCpuUtilization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyCpuUtilization.php
new file mode 100644
index 00000000..ef1600a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyCpuUtilization.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization extends Google_Model
+{
+ public $utilizationTarget;
+
+ public function setUtilizationTarget($utilizationTarget)
+ {
+ $this->utilizationTarget = $utilizationTarget;
+ }
+ public function getUtilizationTarget()
+ {
+ return $this->utilizationTarget;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyCustomMetricUtilization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyCustomMetricUtilization.php
new file mode 100644
index 00000000..32603dd6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyCustomMetricUtilization.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyLoadBalancingUtilization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyLoadBalancingUtilization.php
new file mode 100644
index 00000000..c608a0fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyLoadBalancingUtilization.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization extends Google_Model
+{
+ public $utilizationTarget;
+
+ public function setUtilizationTarget($utilizationTarget)
+ {
+ $this->utilizationTarget = $utilizationTarget;
+ }
+ public function getUtilizationTarget()
+ {
+ return $this->utilizationTarget;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/DeprecationStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/DeprecationStatus.php
new file mode 100644
index 00000000..38c0db66
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/DeprecationStatus.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Autoscaler_DeprecationStatus extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Operation.php
new file mode 100644
index 00000000..af096dab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Operation.php
@@ -0,0 +1,231 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Autoscaler_Operation extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $description;
+ public $endTime;
+ protected $errorType = '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 = '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 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 setError(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationError.php
new file mode 100644
index 00000000..c9a5f2e3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationError.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Autoscaler_OperationError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $errorsType = 'Google_Service_Autoscaler_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationErrorErrors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationErrorErrors.php
new file mode 100644
index 00000000..c40d2332
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationErrorErrors.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Autoscaler_OperationErrorErrors extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationList.php
new file mode 100644
index 00000000..516a9086
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Autoscaler_OperationList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationWarnings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationWarnings.php
new file mode 100644
index 00000000..76118225
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationWarnings.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Autoscaler_OperationWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationWarningsData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationWarningsData.php
new file mode 100644
index 00000000..1dffa0bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationWarningsData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Autoscaler_OperationWarningsData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/Autoscalers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/Autoscalers.php
new file mode 100644
index 00000000..55d7a712
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/Autoscalers.php
@@ -0,0 +1,124 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "autoscalers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $autoscalerService = new Google_Service_Autoscaler(...);
+ * $autoscalers = $autoscalerService->autoscalers;
+ * </code>
+ */
+class Google_Service_Autoscaler_Resource_Autoscalers extends 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 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), "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 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), "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 Google_Service_Autoscaler_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Autoscaler_Operation
+ */
+ public function insert($project, $zone, 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), "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 maxResults
+ * @opt_param string pageToken
+ * @return 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), "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 Google_Service_Autoscaler_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Autoscaler_Operation
+ */
+ public function patch($project, $zone, $autoscaler, 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), "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 Google_Service_Autoscaler_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Autoscaler_Operation
+ */
+ public function update($project, $zone, $autoscaler, 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), "Google_Service_Autoscaler_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/ZoneOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/ZoneOperations.php
new file mode 100644
index 00000000..0452efe5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/ZoneOperations.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "zoneOperations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $autoscalerService = new Google_Service_Autoscaler(...);
+ * $zoneOperations = $autoscalerService->zoneOperations;
+ * </code>
+ */
+class Google_Service_Autoscaler_Resource_ZoneOperations extends 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 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), "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 maxResults
+ * @opt_param string pageToken
+ * @return 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), "Google_Service_Autoscaler_OperationList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/Zones.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/Zones.php
new file mode 100644
index 00000000..33c0c832
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/Zones.php
@@ -0,0 +1,45 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "zones" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $autoscalerService = new Google_Service_Autoscaler(...);
+ * $zones = $autoscalerService->zones;
+ * </code>
+ */
+class Google_Service_Autoscaler_Resource_Zones extends Google_Service_Resource
+{
+ /**
+ * (zones.listZones)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * @opt_param string maxResults
+ * @opt_param string pageToken
+ * @opt_param string project
+ * @return Google_Service_Autoscaler_ZoneList
+ */
+ public function listZones($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Autoscaler_ZoneList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Zone.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Zone.php
new file mode 100644
index 00000000..2c4fa2b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Zone.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Autoscaler_Zone extends Google_Model
+{
+ public $creationTimestamp;
+ protected $deprecatedType = 'Google_Service_Autoscaler_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $region;
+ public $selfLink;
+ public $status;
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDeprecated(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 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/ZoneList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/ZoneList.php
new file mode 100644
index 00000000..abf42b22
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/ZoneList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Autoscaler_ZoneList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery.php
new file mode 100644
index 00000000..9216e022
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery.php
@@ -0,0 +1,520 @@
+<?php
+/*
+ * Copyright 2016 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://cloud.google.com/bigquery/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Bigquery extends 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";
+ /** View your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM_READ_ONLY =
+ "https://www.googleapis.com/auth/cloud-platform.read-only";
+ /** 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'bigquery/v2/';
+ $this->version = 'v2';
+ $this->serviceName = 'bigquery';
+
+ $this->datasets = new Google_Service_Bigquery_Resource_Datasets(
+ $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,
+ ),
+ 'all' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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 Google_Service_Bigquery_Resource_Jobs(
+ $this,
+ $this->serviceName,
+ 'jobs',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'projects/{projectId}/jobs/{jobId}/cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeoutMs' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'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,
+ ),
+ 'allUsers' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'stateFilter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'query' => array(
+ 'path' => 'projects/{projectId}/queries',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects = new Google_Service_Bigquery_Resource_Projects(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'projects',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->tabledata = new Google_Service_Bigquery_Resource_Tabledata(
+ $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 Google_Service_Bigquery_Resource_Tables(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableColumn.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableColumn.php
new file mode 100644
index 00000000..ba688934
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableColumn.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_BigtableColumn extends Google_Model
+{
+ public $encoding;
+ public $fieldName;
+ public $onlyReadLatest;
+ public $qualifierEncoded;
+ public $qualifierString;
+ public $type;
+
+ public function setEncoding($encoding)
+ {
+ $this->encoding = $encoding;
+ }
+ public function getEncoding()
+ {
+ return $this->encoding;
+ }
+ public function setFieldName($fieldName)
+ {
+ $this->fieldName = $fieldName;
+ }
+ public function getFieldName()
+ {
+ return $this->fieldName;
+ }
+ public function setOnlyReadLatest($onlyReadLatest)
+ {
+ $this->onlyReadLatest = $onlyReadLatest;
+ }
+ public function getOnlyReadLatest()
+ {
+ return $this->onlyReadLatest;
+ }
+ public function setQualifierEncoded($qualifierEncoded)
+ {
+ $this->qualifierEncoded = $qualifierEncoded;
+ }
+ public function getQualifierEncoded()
+ {
+ return $this->qualifierEncoded;
+ }
+ public function setQualifierString($qualifierString)
+ {
+ $this->qualifierString = $qualifierString;
+ }
+ public function getQualifierString()
+ {
+ return $this->qualifierString;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableColumnFamily.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableColumnFamily.php
new file mode 100644
index 00000000..70b502a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableColumnFamily.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_BigtableColumnFamily extends Google_Collection
+{
+ protected $collection_key = 'columns';
+ protected $columnsType = 'Google_Service_Bigquery_BigtableColumn';
+ protected $columnsDataType = 'array';
+ public $encoding;
+ public $familyId;
+ public $onlyReadLatest;
+ public $type;
+
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+ public function setEncoding($encoding)
+ {
+ $this->encoding = $encoding;
+ }
+ public function getEncoding()
+ {
+ return $this->encoding;
+ }
+ public function setFamilyId($familyId)
+ {
+ $this->familyId = $familyId;
+ }
+ public function getFamilyId()
+ {
+ return $this->familyId;
+ }
+ public function setOnlyReadLatest($onlyReadLatest)
+ {
+ $this->onlyReadLatest = $onlyReadLatest;
+ }
+ public function getOnlyReadLatest()
+ {
+ return $this->onlyReadLatest;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableOptions.php
new file mode 100644
index 00000000..51b78b98
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableOptions.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_BigtableOptions extends Google_Collection
+{
+ protected $collection_key = 'columnFamilies';
+ protected $columnFamiliesType = 'Google_Service_Bigquery_BigtableColumnFamily';
+ protected $columnFamiliesDataType = 'array';
+ public $ignoreUnspecifiedColumnFamilies;
+ public $readRowkeyAsString;
+
+ public function setColumnFamilies($columnFamilies)
+ {
+ $this->columnFamilies = $columnFamilies;
+ }
+ public function getColumnFamilies()
+ {
+ return $this->columnFamilies;
+ }
+ public function setIgnoreUnspecifiedColumnFamilies($ignoreUnspecifiedColumnFamilies)
+ {
+ $this->ignoreUnspecifiedColumnFamilies = $ignoreUnspecifiedColumnFamilies;
+ }
+ public function getIgnoreUnspecifiedColumnFamilies()
+ {
+ return $this->ignoreUnspecifiedColumnFamilies;
+ }
+ public function setReadRowkeyAsString($readRowkeyAsString)
+ {
+ $this->readRowkeyAsString = $readRowkeyAsString;
+ }
+ public function getReadRowkeyAsString()
+ {
+ return $this->readRowkeyAsString;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/CsvOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/CsvOptions.php
new file mode 100644
index 00000000..de25be0b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/CsvOptions.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_CsvOptions extends Google_Model
+{
+ public $allowJaggedRows;
+ public $allowQuotedNewlines;
+ public $encoding;
+ public $fieldDelimiter;
+ public $quote;
+ public $skipLeadingRows;
+
+ 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 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 setQuote($quote)
+ {
+ $this->quote = $quote;
+ }
+ public function getQuote()
+ {
+ return $this->quote;
+ }
+ public function setSkipLeadingRows($skipLeadingRows)
+ {
+ $this->skipLeadingRows = $skipLeadingRows;
+ }
+ public function getSkipLeadingRows()
+ {
+ return $this->skipLeadingRows;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Dataset.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Dataset.php
new file mode 100644
index 00000000..5591fb53
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Dataset.php
@@ -0,0 +1,141 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_Dataset extends Google_Collection
+{
+ protected $collection_key = 'access';
+ protected $accessType = 'Google_Service_Bigquery_DatasetAccess';
+ protected $accessDataType = 'array';
+ public $creationTime;
+ protected $datasetReferenceType = 'Google_Service_Bigquery_DatasetReference';
+ protected $datasetReferenceDataType = '';
+ public $defaultTableExpirationMs;
+ public $description;
+ public $etag;
+ public $friendlyName;
+ public $id;
+ public $kind;
+ public $labels;
+ public $lastModifiedTime;
+ public $location;
+ 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(Google_Service_Bigquery_DatasetReference $datasetReference)
+ {
+ $this->datasetReference = $datasetReference;
+ }
+ public function getDatasetReference()
+ {
+ return $this->datasetReference;
+ }
+ public function setDefaultTableExpirationMs($defaultTableExpirationMs)
+ {
+ $this->defaultTableExpirationMs = $defaultTableExpirationMs;
+ }
+ public function getDefaultTableExpirationMs()
+ {
+ return $this->defaultTableExpirationMs;
+ }
+ 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 setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetAccess.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetAccess.php
new file mode 100644
index 00000000..65677dfb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetAccess.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_DatasetAccess extends Google_Model
+{
+ public $domain;
+ public $groupByEmail;
+ public $role;
+ public $specialGroup;
+ public $userByEmail;
+ protected $viewType = '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(Google_Service_Bigquery_TableReference $view)
+ {
+ $this->view = $view;
+ }
+ public function getView()
+ {
+ return $this->view;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetList.php
new file mode 100644
index 00000000..207ba0b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_DatasetList extends Google_Collection
+{
+ protected $collection_key = 'datasets';
+ protected $datasetsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetListDatasets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetListDatasets.php
new file mode 100644
index 00000000..382c85d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetListDatasets.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_DatasetListDatasets extends Google_Model
+{
+ protected $datasetReferenceType = 'Google_Service_Bigquery_DatasetReference';
+ protected $datasetReferenceDataType = '';
+ public $friendlyName;
+ public $id;
+ public $kind;
+ public $labels;
+
+ public function setDatasetReference(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;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetReference.php
new file mode 100644
index 00000000..e2c7d9c2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetReference.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_DatasetReference extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ErrorProto.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ErrorProto.php
new file mode 100644
index 00000000..1981d89b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ErrorProto.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_ErrorProto extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExplainQueryStage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExplainQueryStage.php
new file mode 100644
index 00000000..148eae03
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExplainQueryStage.php
@@ -0,0 +1,149 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_ExplainQueryStage extends Google_Collection
+{
+ protected $collection_key = 'steps';
+ public $computeRatioAvg;
+ public $computeRatioMax;
+ public $id;
+ public $name;
+ public $readRatioAvg;
+ public $readRatioMax;
+ public $recordsRead;
+ public $recordsWritten;
+ public $status;
+ protected $stepsType = 'Google_Service_Bigquery_ExplainQueryStep';
+ protected $stepsDataType = 'array';
+ public $waitRatioAvg;
+ public $waitRatioMax;
+ public $writeRatioAvg;
+ public $writeRatioMax;
+
+ public function setComputeRatioAvg($computeRatioAvg)
+ {
+ $this->computeRatioAvg = $computeRatioAvg;
+ }
+ public function getComputeRatioAvg()
+ {
+ return $this->computeRatioAvg;
+ }
+ public function setComputeRatioMax($computeRatioMax)
+ {
+ $this->computeRatioMax = $computeRatioMax;
+ }
+ public function getComputeRatioMax()
+ {
+ return $this->computeRatioMax;
+ }
+ 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 setReadRatioAvg($readRatioAvg)
+ {
+ $this->readRatioAvg = $readRatioAvg;
+ }
+ public function getReadRatioAvg()
+ {
+ return $this->readRatioAvg;
+ }
+ public function setReadRatioMax($readRatioMax)
+ {
+ $this->readRatioMax = $readRatioMax;
+ }
+ public function getReadRatioMax()
+ {
+ return $this->readRatioMax;
+ }
+ public function setRecordsRead($recordsRead)
+ {
+ $this->recordsRead = $recordsRead;
+ }
+ public function getRecordsRead()
+ {
+ return $this->recordsRead;
+ }
+ public function setRecordsWritten($recordsWritten)
+ {
+ $this->recordsWritten = $recordsWritten;
+ }
+ public function getRecordsWritten()
+ {
+ return $this->recordsWritten;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setSteps($steps)
+ {
+ $this->steps = $steps;
+ }
+ public function getSteps()
+ {
+ return $this->steps;
+ }
+ public function setWaitRatioAvg($waitRatioAvg)
+ {
+ $this->waitRatioAvg = $waitRatioAvg;
+ }
+ public function getWaitRatioAvg()
+ {
+ return $this->waitRatioAvg;
+ }
+ public function setWaitRatioMax($waitRatioMax)
+ {
+ $this->waitRatioMax = $waitRatioMax;
+ }
+ public function getWaitRatioMax()
+ {
+ return $this->waitRatioMax;
+ }
+ public function setWriteRatioAvg($writeRatioAvg)
+ {
+ $this->writeRatioAvg = $writeRatioAvg;
+ }
+ public function getWriteRatioAvg()
+ {
+ return $this->writeRatioAvg;
+ }
+ public function setWriteRatioMax($writeRatioMax)
+ {
+ $this->writeRatioMax = $writeRatioMax;
+ }
+ public function getWriteRatioMax()
+ {
+ return $this->writeRatioMax;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExplainQueryStep.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExplainQueryStep.php
new file mode 100644
index 00000000..160025b1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExplainQueryStep.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_ExplainQueryStep extends Google_Collection
+{
+ protected $collection_key = 'substeps';
+ public $kind;
+ public $substeps;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSubsteps($substeps)
+ {
+ $this->substeps = $substeps;
+ }
+ public function getSubsteps()
+ {
+ return $this->substeps;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExternalDataConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExternalDataConfiguration.php
new file mode 100644
index 00000000..86f22801
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExternalDataConfiguration.php
@@ -0,0 +1,116 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_ExternalDataConfiguration extends Google_Collection
+{
+ protected $collection_key = 'sourceUris';
+ public $autodetect;
+ protected $bigtableOptionsType = 'Google_Service_Bigquery_BigtableOptions';
+ protected $bigtableOptionsDataType = '';
+ public $compression;
+ protected $csvOptionsType = 'Google_Service_Bigquery_CsvOptions';
+ protected $csvOptionsDataType = '';
+ protected $googleSheetsOptionsType = 'Google_Service_Bigquery_GoogleSheetsOptions';
+ protected $googleSheetsOptionsDataType = '';
+ public $ignoreUnknownValues;
+ public $maxBadRecords;
+ protected $schemaType = 'Google_Service_Bigquery_TableSchema';
+ protected $schemaDataType = '';
+ public $sourceFormat;
+ public $sourceUris;
+
+ public function setAutodetect($autodetect)
+ {
+ $this->autodetect = $autodetect;
+ }
+ public function getAutodetect()
+ {
+ return $this->autodetect;
+ }
+ public function setBigtableOptions(Google_Service_Bigquery_BigtableOptions $bigtableOptions)
+ {
+ $this->bigtableOptions = $bigtableOptions;
+ }
+ public function getBigtableOptions()
+ {
+ return $this->bigtableOptions;
+ }
+ public function setCompression($compression)
+ {
+ $this->compression = $compression;
+ }
+ public function getCompression()
+ {
+ return $this->compression;
+ }
+ public function setCsvOptions(Google_Service_Bigquery_CsvOptions $csvOptions)
+ {
+ $this->csvOptions = $csvOptions;
+ }
+ public function getCsvOptions()
+ {
+ return $this->csvOptions;
+ }
+ public function setGoogleSheetsOptions(Google_Service_Bigquery_GoogleSheetsOptions $googleSheetsOptions)
+ {
+ $this->googleSheetsOptions = $googleSheetsOptions;
+ }
+ public function getGoogleSheetsOptions()
+ {
+ return $this->googleSheetsOptions;
+ }
+ 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 setSchema(Google_Service_Bigquery_TableSchema $schema)
+ {
+ $this->schema = $schema;
+ }
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/GetQueryResultsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/GetQueryResultsResponse.php
new file mode 100644
index 00000000..9a177fb5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/GetQueryResultsResponse.php
@@ -0,0 +1,134 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_GetQueryResultsResponse extends Google_Collection
+{
+ protected $collection_key = 'rows';
+ public $cacheHit;
+ protected $errorsType = 'Google_Service_Bigquery_ErrorProto';
+ protected $errorsDataType = 'array';
+ public $etag;
+ public $jobComplete;
+ protected $jobReferenceType = 'Google_Service_Bigquery_JobReference';
+ protected $jobReferenceDataType = '';
+ public $kind;
+ public $numDmlAffectedRows;
+ public $pageToken;
+ protected $rowsType = 'Google_Service_Bigquery_TableRow';
+ protected $rowsDataType = 'array';
+ protected $schemaType = '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 setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ 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(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 setNumDmlAffectedRows($numDmlAffectedRows)
+ {
+ $this->numDmlAffectedRows = $numDmlAffectedRows;
+ }
+ public function getNumDmlAffectedRows()
+ {
+ return $this->numDmlAffectedRows;
+ }
+ 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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/GoogleSheetsOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/GoogleSheetsOptions.php
new file mode 100644
index 00000000..359b6a46
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/GoogleSheetsOptions.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_GoogleSheetsOptions extends Google_Model
+{
+ public $skipLeadingRows;
+
+ public function setSkipLeadingRows($skipLeadingRows)
+ {
+ $this->skipLeadingRows = $skipLeadingRows;
+ }
+ public function getSkipLeadingRows()
+ {
+ return $this->skipLeadingRows;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Job.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Job.php
new file mode 100644
index 00000000..67a242a0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Job.php
@@ -0,0 +1,109 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_Job extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "userEmail" => "user_email",
+ );
+ protected $configurationType = 'Google_Service_Bigquery_JobConfiguration';
+ protected $configurationDataType = '';
+ public $etag;
+ public $id;
+ protected $jobReferenceType = 'Google_Service_Bigquery_JobReference';
+ protected $jobReferenceDataType = '';
+ public $kind;
+ public $selfLink;
+ protected $statisticsType = 'Google_Service_Bigquery_JobStatistics';
+ protected $statisticsDataType = '';
+ protected $statusType = 'Google_Service_Bigquery_JobStatus';
+ protected $statusDataType = '';
+ public $userEmail;
+
+ public function setConfiguration(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(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(Google_Service_Bigquery_JobStatistics $statistics)
+ {
+ $this->statistics = $statistics;
+ }
+ public function getStatistics()
+ {
+ return $this->statistics;
+ }
+ public function setStatus(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobCancelResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobCancelResponse.php
new file mode 100644
index 00000000..19affed3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobCancelResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_JobCancelResponse extends Google_Model
+{
+ protected $jobType = 'Google_Service_Bigquery_Job';
+ protected $jobDataType = '';
+ public $kind;
+
+ public function setJob(Google_Service_Bigquery_Job $job)
+ {
+ $this->job = $job;
+ }
+ public function getJob()
+ {
+ return $this->job;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfiguration.php
new file mode 100644
index 00000000..9a66c970
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfiguration.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_JobConfiguration extends Google_Model
+{
+ protected $copyType = 'Google_Service_Bigquery_JobConfigurationTableCopy';
+ protected $copyDataType = '';
+ public $dryRun;
+ protected $extractType = 'Google_Service_Bigquery_JobConfigurationExtract';
+ protected $extractDataType = '';
+ public $labels;
+ protected $loadType = 'Google_Service_Bigquery_JobConfigurationLoad';
+ protected $loadDataType = '';
+ protected $queryType = 'Google_Service_Bigquery_JobConfigurationQuery';
+ protected $queryDataType = '';
+
+ public function setCopy(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(Google_Service_Bigquery_JobConfigurationExtract $extract)
+ {
+ $this->extract = $extract;
+ }
+ public function getExtract()
+ {
+ return $this->extract;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLoad(Google_Service_Bigquery_JobConfigurationLoad $load)
+ {
+ $this->load = $load;
+ }
+ public function getLoad()
+ {
+ return $this->load;
+ }
+ public function setQuery(Google_Service_Bigquery_JobConfigurationQuery $query)
+ {
+ $this->query = $query;
+ }
+ public function getQuery()
+ {
+ return $this->query;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationExtract.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationExtract.php
new file mode 100644
index 00000000..28cdf78a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationExtract.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_JobConfigurationExtract extends Google_Collection
+{
+ protected $collection_key = 'destinationUris';
+ public $compression;
+ public $destinationFormat;
+ public $destinationUri;
+ public $destinationUris;
+ public $fieldDelimiter;
+ public $printHeader;
+ protected $sourceTableType = '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(Google_Service_Bigquery_TableReference $sourceTable)
+ {
+ $this->sourceTable = $sourceTable;
+ }
+ public function getSourceTable()
+ {
+ return $this->sourceTable;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationLoad.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationLoad.php
new file mode 100644
index 00000000..76e0f436
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationLoad.php
@@ -0,0 +1,204 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_JobConfigurationLoad extends Google_Collection
+{
+ protected $collection_key = 'sourceUris';
+ public $allowJaggedRows;
+ public $allowQuotedNewlines;
+ public $autodetect;
+ public $createDisposition;
+ protected $destinationTableType = 'Google_Service_Bigquery_TableReference';
+ protected $destinationTableDataType = '';
+ public $encoding;
+ public $fieldDelimiter;
+ public $ignoreUnknownValues;
+ public $maxBadRecords;
+ public $nullMarker;
+ public $projectionFields;
+ public $quote;
+ protected $schemaType = 'Google_Service_Bigquery_TableSchema';
+ protected $schemaDataType = '';
+ public $schemaInline;
+ public $schemaInlineFormat;
+ public $schemaUpdateOptions;
+ 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 setAutodetect($autodetect)
+ {
+ $this->autodetect = $autodetect;
+ }
+ public function getAutodetect()
+ {
+ return $this->autodetect;
+ }
+ public function setCreateDisposition($createDisposition)
+ {
+ $this->createDisposition = $createDisposition;
+ }
+ public function getCreateDisposition()
+ {
+ return $this->createDisposition;
+ }
+ public function setDestinationTable(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 setNullMarker($nullMarker)
+ {
+ $this->nullMarker = $nullMarker;
+ }
+ public function getNullMarker()
+ {
+ return $this->nullMarker;
+ }
+ public function setProjectionFields($projectionFields)
+ {
+ $this->projectionFields = $projectionFields;
+ }
+ public function getProjectionFields()
+ {
+ return $this->projectionFields;
+ }
+ public function setQuote($quote)
+ {
+ $this->quote = $quote;
+ }
+ public function getQuote()
+ {
+ return $this->quote;
+ }
+ public function setSchema(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 setSchemaUpdateOptions($schemaUpdateOptions)
+ {
+ $this->schemaUpdateOptions = $schemaUpdateOptions;
+ }
+ public function getSchemaUpdateOptions()
+ {
+ return $this->schemaUpdateOptions;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationQuery.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationQuery.php
new file mode 100644
index 00000000..0e4f8462
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationQuery.php
@@ -0,0 +1,189 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_JobConfigurationQuery extends Google_Collection
+{
+ protected $collection_key = 'userDefinedFunctionResources';
+ public $allowLargeResults;
+ public $createDisposition;
+ protected $defaultDatasetType = 'Google_Service_Bigquery_DatasetReference';
+ protected $defaultDatasetDataType = '';
+ protected $destinationTableType = 'Google_Service_Bigquery_TableReference';
+ protected $destinationTableDataType = '';
+ public $flattenResults;
+ public $maximumBillingTier;
+ public $maximumBytesBilled;
+ public $parameterMode;
+ public $preserveNulls;
+ public $priority;
+ public $query;
+ protected $queryParametersType = 'Google_Service_Bigquery_QueryParameter';
+ protected $queryParametersDataType = 'array';
+ public $schemaUpdateOptions;
+ protected $tableDefinitionsType = 'Google_Service_Bigquery_ExternalDataConfiguration';
+ protected $tableDefinitionsDataType = 'map';
+ public $useLegacySql;
+ public $useQueryCache;
+ protected $userDefinedFunctionResourcesType = 'Google_Service_Bigquery_UserDefinedFunctionResource';
+ protected $userDefinedFunctionResourcesDataType = 'array';
+ 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(Google_Service_Bigquery_DatasetReference $defaultDataset)
+ {
+ $this->defaultDataset = $defaultDataset;
+ }
+ public function getDefaultDataset()
+ {
+ return $this->defaultDataset;
+ }
+ public function setDestinationTable(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 setMaximumBillingTier($maximumBillingTier)
+ {
+ $this->maximumBillingTier = $maximumBillingTier;
+ }
+ public function getMaximumBillingTier()
+ {
+ return $this->maximumBillingTier;
+ }
+ public function setMaximumBytesBilled($maximumBytesBilled)
+ {
+ $this->maximumBytesBilled = $maximumBytesBilled;
+ }
+ public function getMaximumBytesBilled()
+ {
+ return $this->maximumBytesBilled;
+ }
+ public function setParameterMode($parameterMode)
+ {
+ $this->parameterMode = $parameterMode;
+ }
+ public function getParameterMode()
+ {
+ return $this->parameterMode;
+ }
+ 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 setQueryParameters($queryParameters)
+ {
+ $this->queryParameters = $queryParameters;
+ }
+ public function getQueryParameters()
+ {
+ return $this->queryParameters;
+ }
+ public function setSchemaUpdateOptions($schemaUpdateOptions)
+ {
+ $this->schemaUpdateOptions = $schemaUpdateOptions;
+ }
+ public function getSchemaUpdateOptions()
+ {
+ return $this->schemaUpdateOptions;
+ }
+ public function setTableDefinitions($tableDefinitions)
+ {
+ $this->tableDefinitions = $tableDefinitions;
+ }
+ public function getTableDefinitions()
+ {
+ return $this->tableDefinitions;
+ }
+ public function setUseLegacySql($useLegacySql)
+ {
+ $this->useLegacySql = $useLegacySql;
+ }
+ public function getUseLegacySql()
+ {
+ return $this->useLegacySql;
+ }
+ public function setUseQueryCache($useQueryCache)
+ {
+ $this->useQueryCache = $useQueryCache;
+ }
+ public function getUseQueryCache()
+ {
+ return $this->useQueryCache;
+ }
+ public function setUserDefinedFunctionResources($userDefinedFunctionResources)
+ {
+ $this->userDefinedFunctionResources = $userDefinedFunctionResources;
+ }
+ public function getUserDefinedFunctionResources()
+ {
+ return $this->userDefinedFunctionResources;
+ }
+ public function setWriteDisposition($writeDisposition)
+ {
+ $this->writeDisposition = $writeDisposition;
+ }
+ public function getWriteDisposition()
+ {
+ return $this->writeDisposition;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationTableCopy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationTableCopy.php
new file mode 100644
index 00000000..d6ba7923
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationTableCopy.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_JobConfigurationTableCopy extends Google_Collection
+{
+ protected $collection_key = 'sourceTables';
+ public $createDisposition;
+ protected $destinationTableType = 'Google_Service_Bigquery_TableReference';
+ protected $destinationTableDataType = '';
+ protected $sourceTableType = 'Google_Service_Bigquery_TableReference';
+ protected $sourceTableDataType = '';
+ protected $sourceTablesType = '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(Google_Service_Bigquery_TableReference $destinationTable)
+ {
+ $this->destinationTable = $destinationTable;
+ }
+ public function getDestinationTable()
+ {
+ return $this->destinationTable;
+ }
+ public function setSourceTable(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobList.php
new file mode 100644
index 00000000..174c32f7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_JobList extends Google_Collection
+{
+ protected $collection_key = 'jobs';
+ public $etag;
+ protected $jobsType = 'Google_Service_Bigquery_JobListJobs';
+ protected $jobsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobListJobs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobListJobs.php
new file mode 100644
index 00000000..36a9a9a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobListJobs.php
@@ -0,0 +1,110 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_JobListJobs extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "userEmail" => "user_email",
+ );
+ protected $configurationType = 'Google_Service_Bigquery_JobConfiguration';
+ protected $configurationDataType = '';
+ protected $errorResultType = 'Google_Service_Bigquery_ErrorProto';
+ protected $errorResultDataType = '';
+ public $id;
+ protected $jobReferenceType = 'Google_Service_Bigquery_JobReference';
+ protected $jobReferenceDataType = '';
+ public $kind;
+ public $state;
+ protected $statisticsType = 'Google_Service_Bigquery_JobStatistics';
+ protected $statisticsDataType = '';
+ protected $statusType = 'Google_Service_Bigquery_JobStatus';
+ protected $statusDataType = '';
+ public $userEmail;
+
+ public function setConfiguration(Google_Service_Bigquery_JobConfiguration $configuration)
+ {
+ $this->configuration = $configuration;
+ }
+ public function getConfiguration()
+ {
+ return $this->configuration;
+ }
+ public function setErrorResult(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(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(Google_Service_Bigquery_JobStatistics $statistics)
+ {
+ $this->statistics = $statistics;
+ }
+ public function getStatistics()
+ {
+ return $this->statistics;
+ }
+ public function setStatus(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobReference.php
new file mode 100644
index 00000000..696d73aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobReference.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_JobReference extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics.php
new file mode 100644
index 00000000..865e0281
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_JobStatistics extends Google_Model
+{
+ public $creationTime;
+ public $endTime;
+ protected $extractType = 'Google_Service_Bigquery_JobStatistics4';
+ protected $extractDataType = '';
+ protected $loadType = 'Google_Service_Bigquery_JobStatistics3';
+ protected $loadDataType = '';
+ protected $queryType = '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(Google_Service_Bigquery_JobStatistics4 $extract)
+ {
+ $this->extract = $extract;
+ }
+ public function getExtract()
+ {
+ return $this->extract;
+ }
+ public function setLoad(Google_Service_Bigquery_JobStatistics3 $load)
+ {
+ $this->load = $load;
+ }
+ public function getLoad()
+ {
+ return $this->load;
+ }
+ public function setQuery(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics2.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics2.php
new file mode 100644
index 00000000..7b9ecfa3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics2.php
@@ -0,0 +1,116 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_JobStatistics2 extends Google_Collection
+{
+ protected $collection_key = 'undeclaredQueryParameters';
+ public $billingTier;
+ public $cacheHit;
+ public $numDmlAffectedRows;
+ protected $queryPlanType = 'Google_Service_Bigquery_ExplainQueryStage';
+ protected $queryPlanDataType = 'array';
+ protected $referencedTablesType = 'Google_Service_Bigquery_TableReference';
+ protected $referencedTablesDataType = 'array';
+ protected $schemaType = 'Google_Service_Bigquery_TableSchema';
+ protected $schemaDataType = '';
+ public $statementType;
+ public $totalBytesBilled;
+ public $totalBytesProcessed;
+ protected $undeclaredQueryParametersType = 'Google_Service_Bigquery_QueryParameter';
+ protected $undeclaredQueryParametersDataType = 'array';
+
+ public function setBillingTier($billingTier)
+ {
+ $this->billingTier = $billingTier;
+ }
+ public function getBillingTier()
+ {
+ return $this->billingTier;
+ }
+ public function setCacheHit($cacheHit)
+ {
+ $this->cacheHit = $cacheHit;
+ }
+ public function getCacheHit()
+ {
+ return $this->cacheHit;
+ }
+ public function setNumDmlAffectedRows($numDmlAffectedRows)
+ {
+ $this->numDmlAffectedRows = $numDmlAffectedRows;
+ }
+ public function getNumDmlAffectedRows()
+ {
+ return $this->numDmlAffectedRows;
+ }
+ public function setQueryPlan($queryPlan)
+ {
+ $this->queryPlan = $queryPlan;
+ }
+ public function getQueryPlan()
+ {
+ return $this->queryPlan;
+ }
+ public function setReferencedTables($referencedTables)
+ {
+ $this->referencedTables = $referencedTables;
+ }
+ public function getReferencedTables()
+ {
+ return $this->referencedTables;
+ }
+ public function setSchema(Google_Service_Bigquery_TableSchema $schema)
+ {
+ $this->schema = $schema;
+ }
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+ public function setStatementType($statementType)
+ {
+ $this->statementType = $statementType;
+ }
+ public function getStatementType()
+ {
+ return $this->statementType;
+ }
+ public function setTotalBytesBilled($totalBytesBilled)
+ {
+ $this->totalBytesBilled = $totalBytesBilled;
+ }
+ public function getTotalBytesBilled()
+ {
+ return $this->totalBytesBilled;
+ }
+ public function setTotalBytesProcessed($totalBytesProcessed)
+ {
+ $this->totalBytesProcessed = $totalBytesProcessed;
+ }
+ public function getTotalBytesProcessed()
+ {
+ return $this->totalBytesProcessed;
+ }
+ public function setUndeclaredQueryParameters($undeclaredQueryParameters)
+ {
+ $this->undeclaredQueryParameters = $undeclaredQueryParameters;
+ }
+ public function getUndeclaredQueryParameters()
+ {
+ return $this->undeclaredQueryParameters;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics3.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics3.php
new file mode 100644
index 00000000..d2b920d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics3.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_JobStatistics3 extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics4.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics4.php
new file mode 100644
index 00000000..d9aebbf3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics4.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_JobStatistics4 extends Google_Collection
+{
+ protected $collection_key = 'destinationUriFileCounts';
+ public $destinationUriFileCounts;
+
+ public function setDestinationUriFileCounts($destinationUriFileCounts)
+ {
+ $this->destinationUriFileCounts = $destinationUriFileCounts;
+ }
+ public function getDestinationUriFileCounts()
+ {
+ return $this->destinationUriFileCounts;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatus.php
new file mode 100644
index 00000000..8afca757
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatus.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_JobStatus extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $errorResultType = 'Google_Service_Bigquery_ErrorProto';
+ protected $errorResultDataType = '';
+ protected $errorsType = 'Google_Service_Bigquery_ErrorProto';
+ protected $errorsDataType = 'array';
+ public $state;
+
+ public function setErrorResult(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectList.php
new file mode 100644
index 00000000..aa55920c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_ProjectList extends Google_Collection
+{
+ protected $collection_key = 'projects';
+ public $etag;
+ public $kind;
+ public $nextPageToken;
+ protected $projectsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectListProjects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectListProjects.php
new file mode 100644
index 00000000..eef33842
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectListProjects.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_ProjectListProjects extends Google_Model
+{
+ public $friendlyName;
+ public $id;
+ public $kind;
+ public $numericId;
+ protected $projectReferenceType = '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(Google_Service_Bigquery_ProjectReference $projectReference)
+ {
+ $this->projectReference = $projectReference;
+ }
+ public function getProjectReference()
+ {
+ return $this->projectReference;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectReference.php
new file mode 100644
index 00000000..4f9fb3e4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectReference.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_ProjectReference extends Google_Model
+{
+ public $projectId;
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameter.php
new file mode 100644
index 00000000..b8e35a83
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameter.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_QueryParameter extends Google_Model
+{
+ public $name;
+ protected $parameterTypeType = 'Google_Service_Bigquery_QueryParameterType';
+ protected $parameterTypeDataType = '';
+ protected $parameterValueType = 'Google_Service_Bigquery_QueryParameterValue';
+ protected $parameterValueDataType = '';
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParameterType(Google_Service_Bigquery_QueryParameterType $parameterType)
+ {
+ $this->parameterType = $parameterType;
+ }
+ public function getParameterType()
+ {
+ return $this->parameterType;
+ }
+ public function setParameterValue(Google_Service_Bigquery_QueryParameterValue $parameterValue)
+ {
+ $this->parameterValue = $parameterValue;
+ }
+ public function getParameterValue()
+ {
+ return $this->parameterValue;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterType.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterType.php
new file mode 100644
index 00000000..12dcb449
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterType.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_QueryParameterType extends Google_Collection
+{
+ protected $collection_key = 'structTypes';
+ protected $arrayTypeType = 'Google_Service_Bigquery_QueryParameterType';
+ protected $arrayTypeDataType = '';
+ protected $structTypesType = 'Google_Service_Bigquery_QueryParameterTypeStructTypes';
+ protected $structTypesDataType = 'array';
+ public $type;
+
+ public function setArrayType(Google_Service_Bigquery_QueryParameterType $arrayType)
+ {
+ $this->arrayType = $arrayType;
+ }
+ public function getArrayType()
+ {
+ return $this->arrayType;
+ }
+ public function setStructTypes($structTypes)
+ {
+ $this->structTypes = $structTypes;
+ }
+ public function getStructTypes()
+ {
+ return $this->structTypes;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterTypeStructTypes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterTypeStructTypes.php
new file mode 100644
index 00000000..00f9f890
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterTypeStructTypes.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_QueryParameterTypeStructTypes extends Google_Model
+{
+ public $description;
+ public $name;
+ protected $typeType = 'Google_Service_Bigquery_QueryParameterType';
+ protected $typeDataType = '';
+
+ 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 setType(Google_Service_Bigquery_QueryParameterType $type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterValue.php
new file mode 100644
index 00000000..46f629c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterValue.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_QueryParameterValue extends Google_Collection
+{
+ protected $collection_key = 'arrayValues';
+ protected $arrayValuesType = 'Google_Service_Bigquery_QueryParameterValue';
+ protected $arrayValuesDataType = 'array';
+ protected $structValuesType = 'Google_Service_Bigquery_QueryParameterValue';
+ protected $structValuesDataType = 'map';
+ public $value;
+
+ public function setArrayValues($arrayValues)
+ {
+ $this->arrayValues = $arrayValues;
+ }
+ public function getArrayValues()
+ {
+ return $this->arrayValues;
+ }
+ public function setStructValues($structValues)
+ {
+ $this->structValues = $structValues;
+ }
+ public function getStructValues()
+ {
+ return $this->structValues;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryRequest.php
new file mode 100644
index 00000000..7b1d5423
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryRequest.php
@@ -0,0 +1,123 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_QueryRequest extends Google_Collection
+{
+ protected $collection_key = 'queryParameters';
+ protected $defaultDatasetType = 'Google_Service_Bigquery_DatasetReference';
+ protected $defaultDatasetDataType = '';
+ public $dryRun;
+ public $kind;
+ public $maxResults;
+ public $parameterMode;
+ public $preserveNulls;
+ public $query;
+ protected $queryParametersType = 'Google_Service_Bigquery_QueryParameter';
+ protected $queryParametersDataType = 'array';
+ public $timeoutMs;
+ public $useLegacySql;
+ public $useQueryCache;
+
+ public function setDefaultDataset(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 setParameterMode($parameterMode)
+ {
+ $this->parameterMode = $parameterMode;
+ }
+ public function getParameterMode()
+ {
+ return $this->parameterMode;
+ }
+ 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 setQueryParameters($queryParameters)
+ {
+ $this->queryParameters = $queryParameters;
+ }
+ public function getQueryParameters()
+ {
+ return $this->queryParameters;
+ }
+ public function setTimeoutMs($timeoutMs)
+ {
+ $this->timeoutMs = $timeoutMs;
+ }
+ public function getTimeoutMs()
+ {
+ return $this->timeoutMs;
+ }
+ public function setUseLegacySql($useLegacySql)
+ {
+ $this->useLegacySql = $useLegacySql;
+ }
+ public function getUseLegacySql()
+ {
+ return $this->useLegacySql;
+ }
+ public function setUseQueryCache($useQueryCache)
+ {
+ $this->useQueryCache = $useQueryCache;
+ }
+ public function getUseQueryCache()
+ {
+ return $this->useQueryCache;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryResponse.php
new file mode 100644
index 00000000..7736968a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryResponse.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_QueryResponse extends Google_Collection
+{
+ protected $collection_key = 'rows';
+ public $cacheHit;
+ protected $errorsType = 'Google_Service_Bigquery_ErrorProto';
+ protected $errorsDataType = 'array';
+ public $jobComplete;
+ protected $jobReferenceType = 'Google_Service_Bigquery_JobReference';
+ protected $jobReferenceDataType = '';
+ public $kind;
+ public $numDmlAffectedRows;
+ public $pageToken;
+ protected $rowsType = 'Google_Service_Bigquery_TableRow';
+ protected $rowsDataType = 'array';
+ protected $schemaType = '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 setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setJobComplete($jobComplete)
+ {
+ $this->jobComplete = $jobComplete;
+ }
+ public function getJobComplete()
+ {
+ return $this->jobComplete;
+ }
+ public function setJobReference(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 setNumDmlAffectedRows($numDmlAffectedRows)
+ {
+ $this->numDmlAffectedRows = $numDmlAffectedRows;
+ }
+ public function getNumDmlAffectedRows()
+ {
+ return $this->numDmlAffectedRows;
+ }
+ 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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Datasets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Datasets.php
new file mode 100644
index 00000000..ebe9716a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Datasets.php
@@ -0,0 +1,134 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "datasets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bigqueryService = new Google_Service_Bigquery(...);
+ * $datasets = $bigqueryService->datasets;
+ * </code>
+ */
+class Google_Service_Bigquery_Resource_Datasets extends 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 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), "Google_Service_Bigquery_Dataset");
+ }
+ /**
+ * Creates a new empty dataset. (datasets.insert)
+ *
+ * @param string $projectId Project ID of the new dataset
+ * @param Google_Service_Bigquery_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Bigquery_Dataset
+ */
+ public function insert($projectId, Google_Service_Bigquery_Dataset $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Bigquery_Dataset");
+ }
+ /**
+ * Lists all datasets in the specified project to which you have been granted
+ * the READER dataset role. (datasets.listDatasets)
+ *
+ * @param string $projectId Project ID of the datasets to be listed
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool all Whether to list all datasets, including hidden ones
+ * @opt_param string filter An expression for filtering the results of the
+ * request by label. The syntax is "labels.[:]". Multiple filters can be ANDed
+ * together by connecting with a space. Example: "labels.department:receiving
+ * labels.active". See Filtering datasets using labels for details.
+ * @opt_param string maxResults The 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 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), "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 Google_Service_Bigquery_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Bigquery_Dataset
+ */
+ public function patch($projectId, $datasetId, 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), "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 Google_Service_Bigquery_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Bigquery_Dataset
+ */
+ public function update($projectId, $datasetId, 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), "Google_Service_Bigquery_Dataset");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Jobs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Jobs.php
new file mode 100644
index 00000000..adc6f241
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Jobs.php
@@ -0,0 +1,140 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bigqueryService = new Google_Service_Bigquery(...);
+ * $jobs = $bigqueryService->jobs;
+ * </code>
+ */
+class Google_Service_Bigquery_Resource_Jobs extends Google_Service_Resource
+{
+ /**
+ * Requests that a job be cancelled. This call will return immediately, and the
+ * client will need to poll for the job status to see if the cancel completed
+ * successfully. Cancelled jobs may still incur costs. (jobs.cancel)
+ *
+ * @param string $projectId [Required] Project ID of the job to cancel
+ * @param string $jobId [Required] Job ID of the job to cancel
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Bigquery_JobCancelResponse
+ */
+ public function cancel($projectId, $jobId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_Bigquery_JobCancelResponse");
+ }
+ /**
+ * Returns information about a specific job. Job information is available for a
+ * six month period after creation. Requires that you're the person who ran the
+ * job, or have the Is Owner project role. (jobs.get)
+ *
+ * @param string $projectId [Required] Project ID of the requested job
+ * @param string $jobId [Required] Job ID of the requested job
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Bigquery_Job");
+ }
+ /**
+ * Retrieves the results of a query job. (jobs.getQueryResults)
+ *
+ * @param string $projectId [Required] Project ID of the query job
+ * @param string $jobId [Required] Job ID of the query job
+ * @param array $optParams Optional parameters.
+ *
+ * @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
+ * @opt_param string timeoutMs How long to wait for the query to complete, in
+ * milliseconds, before returning. Default is 10 seconds. If the timeout passes
+ * before the job completes, the 'jobComplete' field in the response will be
+ * false
+ * @return 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), "Google_Service_Bigquery_GetQueryResultsResponse");
+ }
+ /**
+ * Starts a new asynchronous job. Requires the Can View project role.
+ * (jobs.insert)
+ *
+ * @param string $projectId Project ID of the project that will be billed for
+ * the job
+ * @param Google_Service_Bigquery_Job $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Bigquery_Job
+ */
+ public function insert($projectId, Google_Service_Bigquery_Job $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Bigquery_Job");
+ }
+ /**
+ * Lists all jobs that you started in the specified project. Job information is
+ * available for a six month period after creation. The job list is sorted in
+ * reverse chronological order, by job creation time. Requires the Can View
+ * project role, or the Is Owner project role if you set the allUsers property.
+ * (jobs.listJobs)
+ *
+ * @param string $projectId Project ID of the jobs to list
+ * @param array $optParams Optional parameters.
+ *
+ * @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
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields
+ * @opt_param string stateFilter Filter for job state
+ * @return 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), "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 Google_Service_Bigquery_QueryRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Bigquery_QueryResponse
+ */
+ public function query($projectId, Google_Service_Bigquery_QueryRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('query', array($params), "Google_Service_Bigquery_QueryResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Projects.php
new file mode 100644
index 00000000..a14b0e18
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Projects.php
@@ -0,0 +1,45 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bigqueryService = new Google_Service_Bigquery(...);
+ * $projects = $bigqueryService->projects;
+ * </code>
+ */
+class Google_Service_Bigquery_Resource_Projects extends Google_Service_Resource
+{
+ /**
+ * Lists all projects to which you have been granted any project role.
+ * (projects.listProjects)
+ *
+ * @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, to
+ * request the next page of results
+ * @return Google_Service_Bigquery_ProjectList
+ */
+ public function listProjects($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Bigquery_ProjectList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Tabledata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Tabledata.php
new file mode 100644
index 00000000..c0984a19
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Tabledata.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "tabledata" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bigqueryService = new Google_Service_Bigquery(...);
+ * $tabledata = $bigqueryService->tabledata;
+ * </code>
+ */
+class Google_Service_Bigquery_Resource_Tabledata extends Google_Service_Resource
+{
+ /**
+ * Streams data into BigQuery one record at a time without needing to run a load
+ * job. Requires the WRITER dataset role. (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 Google_Service_Bigquery_TableDataInsertAllRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Bigquery_TableDataInsertAllResponse
+ */
+ public function insertAll($projectId, $datasetId, $tableId, 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), "Google_Service_Bigquery_TableDataInsertAllResponse");
+ }
+ /**
+ * Retrieves table data from a specified set of rows. Requires the READER
+ * dataset role. (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 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), "Google_Service_Bigquery_TableDataList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Tables.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Tables.php
new file mode 100644
index 00000000..063bddfb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Tables.php
@@ -0,0 +1,131 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "tables" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bigqueryService = new Google_Service_Bigquery(...);
+ * $tables = $bigqueryService->tables;
+ * </code>
+ */
+class Google_Service_Bigquery_Resource_Tables extends 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 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), "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 Google_Service_Bigquery_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Bigquery_Table
+ */
+ public function insert($projectId, $datasetId, 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), "Google_Service_Bigquery_Table");
+ }
+ /**
+ * Lists all tables in the specified dataset. Requires the READER dataset role.
+ * (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 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 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), "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 Google_Service_Bigquery_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Bigquery_Table
+ */
+ public function patch($projectId, $datasetId, $tableId, 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), "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 Google_Service_Bigquery_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Bigquery_Table
+ */
+ public function update($projectId, $datasetId, $tableId, 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), "Google_Service_Bigquery_Table");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Streamingbuffer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Streamingbuffer.php
new file mode 100644
index 00000000..4bf63704
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Streamingbuffer.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_Streamingbuffer extends Google_Model
+{
+ public $estimatedBytes;
+ public $estimatedRows;
+ public $oldestEntryTime;
+
+ public function setEstimatedBytes($estimatedBytes)
+ {
+ $this->estimatedBytes = $estimatedBytes;
+ }
+ public function getEstimatedBytes()
+ {
+ return $this->estimatedBytes;
+ }
+ public function setEstimatedRows($estimatedRows)
+ {
+ $this->estimatedRows = $estimatedRows;
+ }
+ public function getEstimatedRows()
+ {
+ return $this->estimatedRows;
+ }
+ public function setOldestEntryTime($oldestEntryTime)
+ {
+ $this->oldestEntryTime = $oldestEntryTime;
+ }
+ public function getOldestEntryTime()
+ {
+ return $this->oldestEntryTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Table.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Table.php
new file mode 100644
index 00000000..6d6521fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Table.php
@@ -0,0 +1,216 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_Table extends Google_Model
+{
+ public $creationTime;
+ public $description;
+ public $etag;
+ public $expirationTime;
+ protected $externalDataConfigurationType = 'Google_Service_Bigquery_ExternalDataConfiguration';
+ protected $externalDataConfigurationDataType = '';
+ public $friendlyName;
+ public $id;
+ public $kind;
+ public $labels;
+ public $lastModifiedTime;
+ public $location;
+ public $numBytes;
+ public $numLongTermBytes;
+ public $numRows;
+ protected $schemaType = 'Google_Service_Bigquery_TableSchema';
+ protected $schemaDataType = '';
+ public $selfLink;
+ protected $streamingBufferType = 'Google_Service_Bigquery_Streamingbuffer';
+ protected $streamingBufferDataType = '';
+ protected $tableReferenceType = 'Google_Service_Bigquery_TableReference';
+ protected $tableReferenceDataType = '';
+ protected $timePartitioningType = 'Google_Service_Bigquery_TimePartitioning';
+ protected $timePartitioningDataType = '';
+ public $type;
+ protected $viewType = '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 setExternalDataConfiguration(Google_Service_Bigquery_ExternalDataConfiguration $externalDataConfiguration)
+ {
+ $this->externalDataConfiguration = $externalDataConfiguration;
+ }
+ public function getExternalDataConfiguration()
+ {
+ return $this->externalDataConfiguration;
+ }
+ 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 setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setNumBytes($numBytes)
+ {
+ $this->numBytes = $numBytes;
+ }
+ public function getNumBytes()
+ {
+ return $this->numBytes;
+ }
+ public function setNumLongTermBytes($numLongTermBytes)
+ {
+ $this->numLongTermBytes = $numLongTermBytes;
+ }
+ public function getNumLongTermBytes()
+ {
+ return $this->numLongTermBytes;
+ }
+ public function setNumRows($numRows)
+ {
+ $this->numRows = $numRows;
+ }
+ public function getNumRows()
+ {
+ return $this->numRows;
+ }
+ public function setSchema(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 setStreamingBuffer(Google_Service_Bigquery_Streamingbuffer $streamingBuffer)
+ {
+ $this->streamingBuffer = $streamingBuffer;
+ }
+ public function getStreamingBuffer()
+ {
+ return $this->streamingBuffer;
+ }
+ public function setTableReference(Google_Service_Bigquery_TableReference $tableReference)
+ {
+ $this->tableReference = $tableReference;
+ }
+ public function getTableReference()
+ {
+ return $this->tableReference;
+ }
+ public function setTimePartitioning(Google_Service_Bigquery_TimePartitioning $timePartitioning)
+ {
+ $this->timePartitioning = $timePartitioning;
+ }
+ public function getTimePartitioning()
+ {
+ return $this->timePartitioning;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setView(Google_Service_Bigquery_ViewDefinition $view)
+ {
+ $this->view = $view;
+ }
+ public function getView()
+ {
+ return $this->view;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableCell.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableCell.php
new file mode 100644
index 00000000..29909c03
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableCell.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_TableCell extends Google_Model
+{
+ public $v;
+
+ public function setV($v)
+ {
+ $this->v = $v;
+ }
+ public function getV()
+ {
+ return $this->v;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllRequest.php
new file mode 100644
index 00000000..70b6cd7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllRequest.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_TableDataInsertAllRequest extends Google_Collection
+{
+ protected $collection_key = 'rows';
+ public $ignoreUnknownValues;
+ public $kind;
+ protected $rowsType = 'Google_Service_Bigquery_TableDataInsertAllRequestRows';
+ protected $rowsDataType = 'array';
+ public $skipInvalidRows;
+ public $templateSuffix;
+
+ public function setIgnoreUnknownValues($ignoreUnknownValues)
+ {
+ $this->ignoreUnknownValues = $ignoreUnknownValues;
+ }
+ public function getIgnoreUnknownValues()
+ {
+ return $this->ignoreUnknownValues;
+ }
+ 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 setSkipInvalidRows($skipInvalidRows)
+ {
+ $this->skipInvalidRows = $skipInvalidRows;
+ }
+ public function getSkipInvalidRows()
+ {
+ return $this->skipInvalidRows;
+ }
+ public function setTemplateSuffix($templateSuffix)
+ {
+ $this->templateSuffix = $templateSuffix;
+ }
+ public function getTemplateSuffix()
+ {
+ return $this->templateSuffix;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllRequestRows.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllRequestRows.php
new file mode 100644
index 00000000..9467a738
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllRequestRows.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_TableDataInsertAllRequestRows extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllResponse.php
new file mode 100644
index 00000000..09e42b02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_TableDataInsertAllResponse extends Google_Collection
+{
+ protected $collection_key = 'insertErrors';
+ protected $insertErrorsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllResponseInsertErrors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllResponseInsertErrors.php
new file mode 100644
index 00000000..28c7b4f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllResponseInsertErrors.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $errorsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataList.php
new file mode 100644
index 00000000..0faf8c73
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_TableDataList extends Google_Collection
+{
+ protected $collection_key = 'rows';
+ public $etag;
+ public $kind;
+ public $pageToken;
+ protected $rowsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableFieldSchema.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableFieldSchema.php
new file mode 100644
index 00000000..140fbece
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableFieldSchema.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_TableFieldSchema extends Google_Collection
+{
+ protected $collection_key = 'fields';
+ public $description;
+ protected $fieldsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableList.php
new file mode 100644
index 00000000..1c471637
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_TableList extends Google_Collection
+{
+ protected $collection_key = 'tables';
+ public $etag;
+ public $kind;
+ public $nextPageToken;
+ protected $tablesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableListTables.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableListTables.php
new file mode 100644
index 00000000..08aecbae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableListTables.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_TableListTables extends Google_Model
+{
+ public $friendlyName;
+ public $id;
+ public $kind;
+ public $labels;
+ protected $tableReferenceType = 'Google_Service_Bigquery_TableReference';
+ protected $tableReferenceDataType = '';
+ public $type;
+ protected $viewType = 'Google_Service_Bigquery_TableListTablesView';
+ protected $viewDataType = '';
+
+ 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 setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setTableReference(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(Google_Service_Bigquery_TableListTablesView $view)
+ {
+ $this->view = $view;
+ }
+ public function getView()
+ {
+ return $this->view;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableListTablesView.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableListTablesView.php
new file mode 100644
index 00000000..75cd863a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableListTablesView.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_TableListTablesView extends Google_Model
+{
+ public $useLegacySql;
+
+ public function setUseLegacySql($useLegacySql)
+ {
+ $this->useLegacySql = $useLegacySql;
+ }
+ public function getUseLegacySql()
+ {
+ return $this->useLegacySql;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableReference.php
new file mode 100644
index 00000000..9f6f5043
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableReference.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_TableReference extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableRow.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableRow.php
new file mode 100644
index 00000000..2d6a0190
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableRow.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_TableRow extends Google_Collection
+{
+ protected $collection_key = 'f';
+ protected $fType = 'Google_Service_Bigquery_TableCell';
+ protected $fDataType = 'array';
+
+ public function setF($f)
+ {
+ $this->f = $f;
+ }
+ public function getF()
+ {
+ return $this->f;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableSchema.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableSchema.php
new file mode 100644
index 00000000..9f0266e1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableSchema.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_TableSchema extends Google_Collection
+{
+ protected $collection_key = 'fields';
+ protected $fieldsType = 'Google_Service_Bigquery_TableFieldSchema';
+ protected $fieldsDataType = 'array';
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TimePartitioning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TimePartitioning.php
new file mode 100644
index 00000000..c89e2b66
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TimePartitioning.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_TimePartitioning extends Google_Model
+{
+ public $expirationMs;
+ public $type;
+
+ public function setExpirationMs($expirationMs)
+ {
+ $this->expirationMs = $expirationMs;
+ }
+ public function getExpirationMs()
+ {
+ return $this->expirationMs;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/UserDefinedFunctionResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/UserDefinedFunctionResource.php
new file mode 100644
index 00000000..60d19d52
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/UserDefinedFunctionResource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_UserDefinedFunctionResource extends Google_Model
+{
+ public $inlineCode;
+ public $resourceUri;
+
+ public function setInlineCode($inlineCode)
+ {
+ $this->inlineCode = $inlineCode;
+ }
+ public function getInlineCode()
+ {
+ return $this->inlineCode;
+ }
+ public function setResourceUri($resourceUri)
+ {
+ $this->resourceUri = $resourceUri;
+ }
+ public function getResourceUri()
+ {
+ return $this->resourceUri;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ViewDefinition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ViewDefinition.php
new file mode 100644
index 00000000..1692c994
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ViewDefinition.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Bigquery_ViewDefinition extends Google_Collection
+{
+ protected $collection_key = 'userDefinedFunctionResources';
+ public $query;
+ public $useLegacySql;
+ protected $userDefinedFunctionResourcesType = 'Google_Service_Bigquery_UserDefinedFunctionResource';
+ protected $userDefinedFunctionResourcesDataType = 'array';
+
+ public function setQuery($query)
+ {
+ $this->query = $query;
+ }
+ public function getQuery()
+ {
+ return $this->query;
+ }
+ public function setUseLegacySql($useLegacySql)
+ {
+ $this->useLegacySql = $useLegacySql;
+ }
+ public function getUseLegacySql()
+ {
+ return $this->useLegacySql;
+ }
+ public function setUserDefinedFunctionResources($userDefinedFunctionResources)
+ {
+ $this->userDefinedFunctionResources = $userDefinedFunctionResources;
+ }
+ public function getUserDefinedFunctionResources()
+ {
+ return $this->userDefinedFunctionResources;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger.php
new file mode 100644
index 00000000..f8560dc8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger.php
@@ -0,0 +1,930 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger extends 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'blogger/v3/';
+ $this->version = 'v3';
+ $this->serviceName = 'blogger';
+
+ $this->blogUserInfos = new Google_Service_Blogger_Resource_BlogUserInfos(
+ $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 Google_Service_Blogger_Resource_Blogs(
+ $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',
+ ),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->comments = new Google_Service_Blogger_Resource_Comments(
+ $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,
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listByBlog' => array(
+ 'path' => 'blogs/{blogId}/comments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'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 Google_Service_Blogger_Resource_PageViews(
+ $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 Google_Service_Blogger_Resource_Pages(
+ $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,
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ '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,
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'revert' => 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,
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->postUserInfos = new Google_Service_Blogger_Resource_PostUserInfos(
+ $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,
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->posts = new Google_Service_Blogger_Resource_Posts(
+ $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',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ '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,
+ ),
+ 'fetchBody' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'isDraft' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'blogs/{blogId}/posts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ '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,
+ ),
+ 'fetchBody' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'revert' => 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,
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ 'fetchBody' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users = new Google_Service_Blogger_Resource_Users(
+ $this,
+ $this->serviceName,
+ 'users',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'users/{userId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Blog.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Blog.php
new file mode 100644
index 00000000..cab4de8f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Blog.php
@@ -0,0 +1,141 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_Blog extends Google_Model
+{
+ public $customMetaData;
+ public $description;
+ public $id;
+ public $kind;
+ protected $localeType = 'Google_Service_Blogger_BlogLocale';
+ protected $localeDataType = '';
+ public $name;
+ protected $pagesType = 'Google_Service_Blogger_BlogPages';
+ protected $pagesDataType = '';
+ protected $postsType = '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(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(Google_Service_Blogger_BlogPages $pages)
+ {
+ $this->pages = $pages;
+ }
+ public function getPages()
+ {
+ return $this->pages;
+ }
+ public function setPosts(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogList.php
new file mode 100644
index 00000000..9fde7e1e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogList.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_BlogList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $blogUserInfosType = 'Google_Service_Blogger_BlogUserInfo';
+ protected $blogUserInfosDataType = 'array';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogLocale.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogLocale.php
new file mode 100644
index 00000000..3cf95449
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogLocale.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_BlogLocale extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPages.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPages.php
new file mode 100644
index 00000000..48658153
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPages.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_BlogPages extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPerUserInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPerUserInfo.php
new file mode 100644
index 00000000..43625b90
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPerUserInfo.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_BlogPerUserInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPosts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPosts.php
new file mode 100644
index 00000000..20c52cc6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPosts.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_BlogPosts extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogUserInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogUserInfo.php
new file mode 100644
index 00000000..6c78b30b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogUserInfo.php
@@ -0,0 +1,53 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_BlogUserInfo extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "blogUserInfo" => "blog_user_info",
+ );
+ protected $blogType = 'Google_Service_Blogger_Blog';
+ protected $blogDataType = '';
+ protected $blogUserInfoType = 'Google_Service_Blogger_BlogPerUserInfo';
+ protected $blogUserInfoDataType = '';
+ public $kind;
+
+ public function setBlog(Google_Service_Blogger_Blog $blog)
+ {
+ $this->blog = $blog;
+ }
+ public function getBlog()
+ {
+ return $this->blog;
+ }
+ public function setBlogUserInfo(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Comment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Comment.php
new file mode 100644
index 00000000..357f5aa0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Comment.php
@@ -0,0 +1,124 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_Comment extends Google_Model
+{
+ protected $authorType = 'Google_Service_Blogger_CommentAuthor';
+ protected $authorDataType = '';
+ protected $blogType = 'Google_Service_Blogger_CommentBlog';
+ protected $blogDataType = '';
+ public $content;
+ public $id;
+ protected $inReplyToType = 'Google_Service_Blogger_CommentInReplyTo';
+ protected $inReplyToDataType = '';
+ public $kind;
+ protected $postType = 'Google_Service_Blogger_CommentPost';
+ protected $postDataType = '';
+ public $published;
+ public $selfLink;
+ public $status;
+ public $updated;
+
+ public function setAuthor(Google_Service_Blogger_CommentAuthor $author)
+ {
+ $this->author = $author;
+ }
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+ public function setBlog(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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentAuthor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentAuthor.php
new file mode 100644
index 00000000..fec87663
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentAuthor.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_CommentAuthor extends Google_Model
+{
+ public $displayName;
+ public $id;
+ protected $imageType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentAuthorImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentAuthorImage.php
new file mode 100644
index 00000000..1ed7ee8d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentAuthorImage.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_CommentAuthorImage extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentBlog.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentBlog.php
new file mode 100644
index 00000000..0118d08a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentBlog.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_CommentBlog extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentInReplyTo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentInReplyTo.php
new file mode 100644
index 00000000..05916ae3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentInReplyTo.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_CommentInReplyTo extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentList.php
new file mode 100644
index 00000000..82414c04
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_CommentList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = 'Google_Service_Blogger_Comment';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $prevPageToken;
+
+ 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 setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentPost.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentPost.php
new file mode 100644
index 00000000..e074c58a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentPost.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_CommentPost extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Page.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Page.php
new file mode 100644
index 00000000..756c2dfa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Page.php
@@ -0,0 +1,131 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_Page extends Google_Model
+{
+ protected $authorType = 'Google_Service_Blogger_PageAuthor';
+ protected $authorDataType = '';
+ protected $blogType = '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(Google_Service_Blogger_PageAuthor $author)
+ {
+ $this->author = $author;
+ }
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+ public function setBlog(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageAuthor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageAuthor.php
new file mode 100644
index 00000000..271f82bd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageAuthor.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_PageAuthor extends Google_Model
+{
+ public $displayName;
+ public $id;
+ protected $imageType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageAuthorImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageAuthorImage.php
new file mode 100644
index 00000000..ff5c679f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageAuthorImage.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_PageAuthorImage extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageBlog.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageBlog.php
new file mode 100644
index 00000000..dbcf5cd3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageBlog.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_PageBlog extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageList.php
new file mode 100644
index 00000000..e9d90d63
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_PageList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = 'Google_Service_Blogger_Page';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Pageviews.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Pageviews.php
new file mode 100644
index 00000000..c7285d57
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Pageviews.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_Pageviews extends Google_Collection
+{
+ protected $collection_key = 'counts';
+ public $blogId;
+ protected $countsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageviewsCounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageviewsCounts.php
new file mode 100644
index 00000000..058d7d22
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageviewsCounts.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_PageviewsCounts extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Post.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Post.php
new file mode 100644
index 00000000..9cc40361
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Post.php
@@ -0,0 +1,198 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_Post extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ protected $authorType = 'Google_Service_Blogger_PostAuthor';
+ protected $authorDataType = '';
+ protected $blogType = 'Google_Service_Blogger_PostBlog';
+ protected $blogDataType = '';
+ public $content;
+ public $customMetaData;
+ public $etag;
+ public $id;
+ protected $imagesType = 'Google_Service_Blogger_PostImages';
+ protected $imagesDataType = 'array';
+ public $kind;
+ public $labels;
+ protected $locationType = 'Google_Service_Blogger_PostLocation';
+ protected $locationDataType = '';
+ public $published;
+ public $readerComments;
+ protected $repliesType = 'Google_Service_Blogger_PostReplies';
+ protected $repliesDataType = '';
+ public $selfLink;
+ public $status;
+ public $title;
+ public $titleLink;
+ public $updated;
+ public $url;
+
+ public function setAuthor(Google_Service_Blogger_PostAuthor $author)
+ {
+ $this->author = $author;
+ }
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+ public function setBlog(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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostAuthor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostAuthor.php
new file mode 100644
index 00000000..4f89741e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostAuthor.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_PostAuthor extends Google_Model
+{
+ public $displayName;
+ public $id;
+ protected $imageType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostAuthorImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostAuthorImage.php
new file mode 100644
index 00000000..642a389a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostAuthorImage.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_PostAuthorImage extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostBlog.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostBlog.php
new file mode 100644
index 00000000..99248132
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostBlog.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_PostBlog extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostImages.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostImages.php
new file mode 100644
index 00000000..59a0ac02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostImages.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_PostImages extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostList.php
new file mode 100644
index 00000000..1e9f15ec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_PostList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = 'Google_Service_Blogger_Post';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostLocation.php
new file mode 100644
index 00000000..d2e65e86
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostLocation.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_PostLocation extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostPerUserInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostPerUserInfo.php
new file mode 100644
index 00000000..ec385a7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostPerUserInfo.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_PostPerUserInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostReplies.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostReplies.php
new file mode 100644
index 00000000..b456fdcd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostReplies.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_PostReplies extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostUserInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostUserInfo.php
new file mode 100644
index 00000000..e3598a95
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostUserInfo.php
@@ -0,0 +1,53 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_PostUserInfo extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "postUserInfo" => "post_user_info",
+ );
+ public $kind;
+ protected $postType = 'Google_Service_Blogger_Post';
+ protected $postDataType = '';
+ protected $postUserInfoType = 'Google_Service_Blogger_PostPerUserInfo';
+ protected $postUserInfoDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPost(Google_Service_Blogger_Post $post)
+ {
+ $this->post = $post;
+ }
+ public function getPost()
+ {
+ return $this->post;
+ }
+ public function setPostUserInfo(Google_Service_Blogger_PostPerUserInfo $postUserInfo)
+ {
+ $this->postUserInfo = $postUserInfo;
+ }
+ public function getPostUserInfo()
+ {
+ return $this->postUserInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostUserInfosList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostUserInfosList.php
new file mode 100644
index 00000000..f65b7013
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostUserInfosList.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_PostUserInfosList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/BlogUserInfos.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/BlogUserInfos.php
new file mode 100644
index 00000000..f843e4a2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/BlogUserInfos.php
@@ -0,0 +1,46 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "blogUserInfos" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $blogUserInfos = $bloggerService->blogUserInfos;
+ * </code>
+ */
+class Google_Service_Blogger_Resource_BlogUserInfos extends 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 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), "Google_Service_Blogger_BlogUserInfo");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Blogs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Blogs.php
new file mode 100644
index 00000000..b97611eb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Blogs.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "blogs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $blogs = $bloggerService->blogs;
+ * </code>
+ */
+class Google_Service_Blogger_Resource_Blogs extends 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 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), "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 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), "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 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 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 view Access level with which to view the blogs. Note that
+ * some fields require elevated access.
+ * @return 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), "Google_Service_Blogger_BlogList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Comments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Comments.php
new file mode 100644
index 00000000..ff0ca9c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Comments.php
@@ -0,0 +1,159 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "comments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $comments = $bloggerService->comments;
+ * </code>
+ */
+class Google_Service_Blogger_Resource_Comments extends 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 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), "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 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), "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 endDate Latest date of comment to fetch, a date-time with
+ * RFC 3339 formatting.
+ * @opt_param bool fetchBodies Whether the body content of the comments is
+ * included.
+ * @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 string startDate Earliest date of comment to fetch, a date-time
+ * with RFC 3339 formatting.
+ * @opt_param string status
+ * @opt_param string view Access level with which to view the returned result.
+ * Note that some fields require elevated access.
+ * @return 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), "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 endDate Latest date of comment to fetch, a date-time with
+ * RFC 3339 formatting.
+ * @opt_param bool fetchBodies Whether the body content of the comments is
+ * included.
+ * @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 string startDate Earliest date of comment to fetch, a date-time
+ * with RFC 3339 formatting.
+ * @opt_param string status
+ * @return 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), "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 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), "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 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), "Google_Service_Blogger_Comment");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/PageViews.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/PageViews.php
new file mode 100644
index 00000000..c1f231d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/PageViews.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "pageViews" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $pageViews = $bloggerService->pageViews;
+ * </code>
+ */
+class Google_Service_Blogger_Resource_PageViews extends 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 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), "Google_Service_Blogger_Pageviews");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Pages.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Pages.php
new file mode 100644
index 00000000..b27f175a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Pages.php
@@ -0,0 +1,163 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "pages" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $pages = $bloggerService->pages;
+ * </code>
+ */
+class Google_Service_Blogger_Resource_Pages extends 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 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), "Google_Service_Blogger_Page");
+ }
+ /**
+ * Add a page. (pages.insert)
+ *
+ * @param string $blogId ID of the blog to add the page to.
+ * @param Google_Service_Blogger_Page $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool isDraft Whether to create the page as a draft (default:
+ * false).
+ * @return Google_Service_Blogger_Page
+ */
+ public function insert($blogId, Google_Service_Blogger_Page $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 bool fetchBodies Whether to retrieve the Page bodies.
+ * @opt_param string maxResults Maximum number of Pages to fetch.
+ * @opt_param string pageToken Continuation token if the request is paged.
+ * @opt_param string status
+ * @opt_param string view Access level with which to view the returned result.
+ * Note that some fields require elevated access.
+ * @return 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), "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 Google_Service_Blogger_Page $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool publish Whether a publish action should be performed when the
+ * page is updated (default: false).
+ * @opt_param bool revert Whether a revert action should be performed when the
+ * page is updated (default: false).
+ * @return Google_Service_Blogger_Page
+ */
+ public function patch($blogId, $pageId, 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), "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 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), "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 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), "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 Google_Service_Blogger_Page $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool publish Whether a publish action should be performed when the
+ * page is updated (default: false).
+ * @opt_param bool revert Whether a revert action should be performed when the
+ * page is updated (default: false).
+ * @return Google_Service_Blogger_Page
+ */
+ public function update($blogId, $pageId, 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), "Google_Service_Blogger_Page");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/PostUserInfos.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/PostUserInfos.php
new file mode 100644
index 00000000..aef69dc7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/PostUserInfos.php
@@ -0,0 +1,83 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "postUserInfos" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $postUserInfos = $bloggerService->postUserInfos;
+ * </code>
+ */
+class Google_Service_Blogger_Resource_PostUserInfos extends 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 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), "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 endDate Latest post date to fetch, a date-time with RFC
+ * 3339 formatting.
+ * @opt_param bool fetchBodies Whether the body content of posts is included.
+ * Default is false.
+ * @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 orderBy Sort order applied to search results. Default is
+ * published.
+ * @opt_param string pageToken Continuation token if the request is paged.
+ * @opt_param string startDate Earliest post date to fetch, a date-time with RFC
+ * 3339 formatting.
+ * @opt_param string status
+ * @opt_param string view Access level with which to view the returned result.
+ * Note that some fields require elevated access.
+ * @return 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), "Google_Service_Blogger_PostUserInfosList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Posts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Posts.php
new file mode 100644
index 00000000..d89c5623
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Posts.php
@@ -0,0 +1,241 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "posts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $posts = $bloggerService->posts;
+ * </code>
+ */
+class Google_Service_Blogger_Resource_Posts extends 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 bool fetchImages Whether image URL metadata for each post is
+ * included (default: false).
+ * @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 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), "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 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), "Google_Service_Blogger_Post");
+ }
+ /**
+ * Add a post. (posts.insert)
+ *
+ * @param string $blogId ID of the blog to add the post to.
+ * @param Google_Service_Blogger_Post $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool fetchBody Whether the body content of the post is included
+ * with the result (default: true).
+ * @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).
+ * @return Google_Service_Blogger_Post
+ */
+ public function insert($blogId, Google_Service_Blogger_Post $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 endDate Latest post date to fetch, a date-time with RFC
+ * 3339 formatting.
+ * @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 bool fetchImages Whether image URL metadata for each post is
+ * included.
+ * @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 orderBy Sort search results
+ * @opt_param string pageToken Continuation token if the request is paged.
+ * @opt_param string startDate Earliest post date to fetch, a date-time with RFC
+ * 3339 formatting.
+ * @opt_param string status Statuses to include in the results.
+ * @opt_param string view Access level with which to view the returned result.
+ * Note that some fields require escalated access.
+ * @return 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), "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 Google_Service_Blogger_Post $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool fetchBody Whether the body content of the post is included
+ * with the result (default: true).
+ * @opt_param bool fetchImages Whether image URL metadata for each post is
+ * included in the returned result (default: false).
+ * @opt_param string maxComments Maximum number of comments to retrieve with the
+ * returned post.
+ * @opt_param bool publish Whether a publish action should be performed when the
+ * post is updated (default: false).
+ * @opt_param bool revert Whether a revert action should be performed when the
+ * post is updated (default: false).
+ * @return Google_Service_Blogger_Post
+ */
+ public function patch($blogId, $postId, 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), "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 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), "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 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), "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 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 orderBy Sort search results
+ * @return 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), "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 Google_Service_Blogger_Post $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool fetchBody Whether the body content of the post is included
+ * with the result (default: true).
+ * @opt_param bool fetchImages Whether image URL metadata for each post is
+ * included in the returned result (default: false).
+ * @opt_param string maxComments Maximum number of comments to retrieve with the
+ * returned post.
+ * @opt_param bool publish Whether a publish action should be performed when the
+ * post is updated (default: false).
+ * @opt_param bool revert Whether a revert action should be performed when the
+ * post is updated (default: false).
+ * @return Google_Service_Blogger_Post
+ */
+ public function update($blogId, $postId, 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), "Google_Service_Blogger_Post");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Users.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Users.php
new file mode 100644
index 00000000..92fc8775
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Users.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $users = $bloggerService->users;
+ * </code>
+ */
+class Google_Service_Blogger_Resource_Users extends 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 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), "Google_Service_Blogger_User");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/User.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/User.php
new file mode 100644
index 00000000..31abea38
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/User.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_User extends Google_Model
+{
+ public $about;
+ protected $blogsType = 'Google_Service_Blogger_UserBlogs';
+ protected $blogsDataType = '';
+ public $created;
+ public $displayName;
+ public $id;
+ public $kind;
+ protected $localeType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/UserBlogs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/UserBlogs.php
new file mode 100644
index 00000000..d26dce0d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/UserBlogs.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_UserBlogs extends Google_Model
+{
+ public $selfLink;
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/UserLocale.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/UserLocale.php
new file mode 100644
index 00000000..11c7a9e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/UserLocale.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Blogger_UserLocale extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books.php
new file mode 100644
index 00000000..efef02b6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books.php
@@ -0,0 +1,1508 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Searches for books and manages 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 Google_Service_Books extends 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 $notification;
+ public $onboarding;
+ public $personalizedstream;
+ public $promooffer;
+ public $series;
+ public $series_membership;
+ public $volumes;
+ public $volumes_associated;
+ public $volumes_mybooks;
+ public $volumes_recommended;
+ public $volumes_useruploaded;
+
+ /**
+ * Constructs the internal representation of the Books service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'books/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'books';
+
+ $this->bookshelves = new Google_Service_Books_Resource_Bookshelves(
+ $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 Google_Service_Books_Resource_BookshelvesVolumes(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'showPreorders' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->cloudloading = new Google_Service_Books_Resource_Cloudloading(
+ $this,
+ $this->serviceName,
+ 'cloudloading',
+ array(
+ 'methods' => array(
+ 'addBook' => array(
+ 'path' => 'cloudloading/addBook',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'drive_document_id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'mime_type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'upload_client_token' => 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 Google_Service_Books_Resource_Dictionary(
+ $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 Google_Service_Books_Resource_Layers(
+ $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,
+ ),
+ 'contentVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'volumes/{volumeId}/layersummary',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'volumeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'contentVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->layers_annotationData = new Google_Service_Books_Resource_LayersAnnotationData(
+ $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,
+ ),
+ 'allowWebDefinitions' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'h' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'scale' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'source' => 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,
+ ),
+ 'annotationDataId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'h' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'scale' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updatedMax' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updatedMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'w' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->layers_volumeAnnotations = new Google_Service_Books_Resource_LayersVolumeAnnotations(
+ $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,
+ ),
+ 'endOffset' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endPosition' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startOffset' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startPosition' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updatedMax' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updatedMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'volumeAnnotationsVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->myconfig = new Google_Service_Books_Resource_Myconfig(
+ $this,
+ $this->serviceName,
+ 'myconfig',
+ array(
+ 'methods' => array(
+ 'getUserSettings' => array(
+ 'path' => 'myconfig/getUserSettings',
+ 'httpMethod' => 'GET',
+ 'parameters' => 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,
+ ),
+ 'includeNonComicsSeries' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showPreorders' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'volumeIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'updateUserSettings' => array(
+ 'path' => 'myconfig/updateUserSettings',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->mylibrary_annotations = new Google_Service_Books_Resource_MylibraryAnnotations(
+ $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',
+ ),
+ ),
+ ),'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(
+ 'contentVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'layerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'layerIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updatedMax' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updatedMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'volumeId' => 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 Google_Service_Books_Resource_MylibraryBookshelves(
+ $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,
+ ),
+ 'reason' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ '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,
+ ),
+ 'reason' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->mylibrary_bookshelves_volumes = new Google_Service_Books_Resource_MylibraryBookshelvesVolumes(
+ $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,
+ ),
+ 'country' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showPreorders' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->mylibrary_readingpositions = new Google_Service_Books_Resource_MylibraryReadingpositions(
+ $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,
+ ),
+ 'contentVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => 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,
+ ),
+ 'action' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'contentVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'deviceCookie' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->notification = new Google_Service_Books_Resource_Notification(
+ $this,
+ $this->serviceName,
+ 'notification',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'notification/get',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'notification_id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->onboarding = new Google_Service_Books_Resource_Onboarding(
+ $this,
+ $this->serviceName,
+ 'onboarding',
+ array(
+ 'methods' => array(
+ 'listCategories' => array(
+ 'path' => 'onboarding/listCategories',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listCategoryVolumes' => array(
+ 'path' => 'onboarding/listCategoryVolumes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'categoryId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxAllowedMaturityRating' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->personalizedstream = new Google_Service_Books_Resource_Personalizedstream(
+ $this,
+ $this->serviceName,
+ 'personalizedstream',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'personalizedstream/get',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxAllowedMaturityRating' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->promooffer = new Google_Service_Books_Resource_Promooffer(
+ $this,
+ $this->serviceName,
+ 'promooffer',
+ array(
+ 'methods' => array(
+ 'accept' => array(
+ 'path' => 'promooffer/accept',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'androidId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'device' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'manufacturer' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'model' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'offerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'product' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'serial' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'volumeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'dismiss' => array(
+ 'path' => 'promooffer/dismiss',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'androidId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'device' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'manufacturer' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'model' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'offerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'product' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'serial' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'promooffer/get',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'androidId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'device' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'manufacturer' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'model' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'product' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'serial' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->series = new Google_Service_Books_Resource_Series(
+ $this,
+ $this->serviceName,
+ 'series',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'series/get',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'series_id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->series_membership = new Google_Service_Books_Resource_SeriesMembership(
+ $this,
+ $this->serviceName,
+ 'membership',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'series/membership/get',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'series_id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'page_size' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'page_token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->volumes = new Google_Service_Books_Resource_Volumes(
+ $this,
+ $this->serviceName,
+ 'volumes',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'volumes/{volumeId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'volumeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'country' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeNonComicsSeries' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'partner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'user_library_consistent_read' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'volumes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'download' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'langRestrict' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'libraryRestrict' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxAllowedMaturityRating' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'partner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'printType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showPreorders' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->volumes_associated = new Google_Service_Books_Resource_VolumesAssociated(
+ $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,
+ ),
+ 'association' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxAllowedMaturityRating' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->volumes_mybooks = new Google_Service_Books_Resource_VolumesMybooks(
+ $this,
+ $this->serviceName,
+ 'mybooks',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'volumes/mybooks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'acquireMethod' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'country' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'processingState' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->volumes_recommended = new Google_Service_Books_Resource_VolumesRecommended(
+ $this,
+ $this->serviceName,
+ 'recommended',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'volumes/recommended',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxAllowedMaturityRating' => 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 Google_Service_Books_Resource_VolumesUseruploaded(
+ $this,
+ $this->serviceName,
+ 'useruploaded',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'volumes/useruploaded',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'processingState' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'volumeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotation.php
new file mode 100644
index 00000000..727c720a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotation.php
@@ -0,0 +1,178 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Annotation extends Google_Collection
+{
+ protected $collection_key = 'pageIds';
+ public $afterSelectedText;
+ public $beforeSelectedText;
+ protected $clientVersionRangesType = 'Google_Service_Books_AnnotationClientVersionRanges';
+ protected $clientVersionRangesDataType = '';
+ public $created;
+ protected $currentVersionRangesType = 'Google_Service_Books_AnnotationCurrentVersionRanges';
+ protected $currentVersionRangesDataType = '';
+ public $data;
+ public $deleted;
+ public $highlightStyle;
+ public $id;
+ public $kind;
+ public $layerId;
+ protected $layerSummaryType = '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(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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationClientVersionRanges.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationClientVersionRanges.php
new file mode 100644
index 00000000..7bcaf052
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationClientVersionRanges.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_AnnotationClientVersionRanges extends Google_Model
+{
+ protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
+ protected $cfiRangeDataType = '';
+ public $contentVersion;
+ protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange';
+ protected $gbImageRangeDataType = '';
+ protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange';
+ protected $gbTextRangeDataType = '';
+ protected $imageCfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
+ protected $imageCfiRangeDataType = '';
+
+ public function setCfiRange(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(Google_Service_Books_BooksAnnotationsRange $gbImageRange)
+ {
+ $this->gbImageRange = $gbImageRange;
+ }
+ public function getGbImageRange()
+ {
+ return $this->gbImageRange;
+ }
+ public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange)
+ {
+ $this->gbTextRange = $gbTextRange;
+ }
+ public function getGbTextRange()
+ {
+ return $this->gbTextRange;
+ }
+ public function setImageCfiRange(Google_Service_Books_BooksAnnotationsRange $imageCfiRange)
+ {
+ $this->imageCfiRange = $imageCfiRange;
+ }
+ public function getImageCfiRange()
+ {
+ return $this->imageCfiRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationCurrentVersionRanges.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationCurrentVersionRanges.php
new file mode 100644
index 00000000..5a92c0c4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationCurrentVersionRanges.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_AnnotationCurrentVersionRanges extends Google_Model
+{
+ protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
+ protected $cfiRangeDataType = '';
+ public $contentVersion;
+ protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange';
+ protected $gbImageRangeDataType = '';
+ protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange';
+ protected $gbTextRangeDataType = '';
+ protected $imageCfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
+ protected $imageCfiRangeDataType = '';
+
+ public function setCfiRange(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(Google_Service_Books_BooksAnnotationsRange $gbImageRange)
+ {
+ $this->gbImageRange = $gbImageRange;
+ }
+ public function getGbImageRange()
+ {
+ return $this->gbImageRange;
+ }
+ public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange)
+ {
+ $this->gbTextRange = $gbTextRange;
+ }
+ public function getGbTextRange()
+ {
+ return $this->gbTextRange;
+ }
+ public function setImageCfiRange(Google_Service_Books_BooksAnnotationsRange $imageCfiRange)
+ {
+ $this->imageCfiRange = $imageCfiRange;
+ }
+ public function getImageCfiRange()
+ {
+ return $this->imageCfiRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationLayerSummary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationLayerSummary.php
new file mode 100644
index 00000000..cfbe8f37
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationLayerSummary.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_AnnotationLayerSummary extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotationdata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotationdata.php
new file mode 100644
index 00000000..2287ba55
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotationdata.php
@@ -0,0 +1,105 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Annotationdata extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotations.php
new file mode 100644
index 00000000..b57862d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotations.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Annotations extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationsSummary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationsSummary.php
new file mode 100644
index 00000000..b9f39f6b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationsSummary.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_AnnotationsSummary extends Google_Collection
+{
+ protected $collection_key = 'layers';
+ public $kind;
+ protected $layersType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationsSummaryLayers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationsSummaryLayers.php
new file mode 100644
index 00000000..2c5d3c77
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationsSummaryLayers.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_AnnotationsSummaryLayers extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotationsdata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotationsdata.php
new file mode 100644
index 00000000..e54607eb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotationsdata.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Annotationsdata extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksAnnotationsRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksAnnotationsRange.php
new file mode 100644
index 00000000..af5060df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksAnnotationsRange.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_BooksAnnotationsRange extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksCloudloadingResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksCloudloadingResource.php
new file mode 100644
index 00000000..cde35e49
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksCloudloadingResource.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_BooksCloudloadingResource extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksVolumesRecommendedRateResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksVolumesRecommendedRateResponse.php
new file mode 100644
index 00000000..3bf3d137
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksVolumesRecommendedRateResponse.php
@@ -0,0 +1,33 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_BooksVolumesRecommendedRateResponse extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Bookshelf.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Bookshelf.php
new file mode 100644
index 00000000..fee17066
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Bookshelf.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Bookshelf extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Bookshelves.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Bookshelves.php
new file mode 100644
index 00000000..0f7b06e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Bookshelves.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Bookshelves extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Category.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Category.php
new file mode 100644
index 00000000..821d7b6a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Category.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Category extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_Books_CategoryItems';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/CategoryItems.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/CategoryItems.php
new file mode 100644
index 00000000..1603d89f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/CategoryItems.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_CategoryItems extends Google_Model
+{
+ public $badgeUrl;
+ public $categoryId;
+ public $name;
+
+ public function setBadgeUrl($badgeUrl)
+ {
+ $this->badgeUrl = $badgeUrl;
+ }
+ public function getBadgeUrl()
+ {
+ return $this->badgeUrl;
+ }
+ public function setCategoryId($categoryId)
+ {
+ $this->categoryId = $categoryId;
+ }
+ public function getCategoryId()
+ {
+ return $this->categoryId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ConcurrentAccessRestriction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ConcurrentAccessRestriction.php
new file mode 100644
index 00000000..5f614e4e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ConcurrentAccessRestriction.php
@@ -0,0 +1,120 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_ConcurrentAccessRestriction extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Dictlayerdata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Dictlayerdata.php
new file mode 100644
index 00000000..ac82cd19
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Dictlayerdata.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Dictlayerdata extends Google_Model
+{
+ protected $commonType = 'Google_Service_Books_DictlayerdataCommon';
+ protected $commonDataType = '';
+ protected $dictType = 'Google_Service_Books_DictlayerdataDict';
+ protected $dictDataType = '';
+ public $kind;
+
+ public function setCommon(Google_Service_Books_DictlayerdataCommon $common)
+ {
+ $this->common = $common;
+ }
+ public function getCommon()
+ {
+ return $this->common;
+ }
+ public function setDict(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataCommon.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataCommon.php
new file mode 100644
index 00000000..2ef54770
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataCommon.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataCommon extends Google_Model
+{
+ public $title;
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDict.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDict.php
new file mode 100644
index 00000000..43c10e75
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDict.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataDict extends Google_Collection
+{
+ protected $collection_key = 'words';
+ protected $sourceType = 'Google_Service_Books_DictlayerdataDictSource';
+ protected $sourceDataType = '';
+ protected $wordsType = 'Google_Service_Books_DictlayerdataDictWords';
+ protected $wordsDataType = 'array';
+
+ public function setSource(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictSource.php
new file mode 100644
index 00000000..3280b323
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictSource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataDictSource extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWords.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWords.php
new file mode 100644
index 00000000..15734a1b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWords.php
@@ -0,0 +1,62 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataDictWords extends Google_Collection
+{
+ protected $collection_key = 'senses';
+ protected $derivativesType = 'Google_Service_Books_DictlayerdataDictWordsDerivatives';
+ protected $derivativesDataType = 'array';
+ protected $examplesType = 'Google_Service_Books_DictlayerdataDictWordsExamples';
+ protected $examplesDataType = 'array';
+ protected $sensesType = 'Google_Service_Books_DictlayerdataDictWordsSenses';
+ protected $sensesDataType = 'array';
+ protected $sourceType = '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(Google_Service_Books_DictlayerdataDictWordsSource $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsDerivatives.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsDerivatives.php
new file mode 100644
index 00000000..f7a46615
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsDerivatives.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataDictWordsDerivatives extends Google_Model
+{
+ protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsDerivativesSource';
+ protected $sourceDataType = '';
+ public $text;
+
+ public function setSource(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsDerivativesSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsDerivativesSource.php
new file mode 100644
index 00000000..8fbfa35d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsDerivativesSource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataDictWordsDerivativesSource extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsExamples.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsExamples.php
new file mode 100644
index 00000000..5e9878ad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsExamples.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataDictWordsExamples extends Google_Model
+{
+ protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsExamplesSource';
+ protected $sourceDataType = '';
+ public $text;
+
+ public function setSource(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsExamplesSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsExamplesSource.php
new file mode 100644
index 00000000..b562e689
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsExamplesSource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataDictWordsExamplesSource extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSenses.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSenses.php
new file mode 100644
index 00000000..cf6b54a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSenses.php
@@ -0,0 +1,98 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataDictWordsSenses extends Google_Collection
+{
+ protected $collection_key = 'synonyms';
+ protected $conjugationsType = 'Google_Service_Books_DictlayerdataDictWordsSensesConjugations';
+ protected $conjugationsDataType = 'array';
+ protected $definitionsType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitions';
+ protected $definitionsDataType = 'array';
+ public $partOfSpeech;
+ public $pronunciation;
+ public $pronunciationUrl;
+ protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesSource';
+ protected $sourceDataType = '';
+ public $syllabification;
+ protected $synonymsType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesConjugations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesConjugations.php
new file mode 100644
index 00000000..ff548961
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesConjugations.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataDictWordsSensesConjugations extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitions.php
new file mode 100644
index 00000000..031c8527
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitions.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataDictWordsSensesDefinitions extends Google_Collection
+{
+ protected $collection_key = 'examples';
+ public $definition;
+ protected $examplesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitionsExamples.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitionsExamples.php
new file mode 100644
index 00000000..c1428086
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitionsExamples.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples extends Google_Model
+{
+ protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource';
+ protected $sourceDataType = '';
+ public $text;
+
+ public function setSource(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitionsExamplesSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitionsExamplesSource.php
new file mode 100644
index 00000000..cbae7867
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitionsExamplesSource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSource.php
new file mode 100644
index 00000000..e8789ca5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataDictWordsSensesSource extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSynonyms.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSynonyms.php
new file mode 100644
index 00000000..88589657
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSynonyms.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataDictWordsSensesSynonyms extends Google_Model
+{
+ protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource';
+ protected $sourceDataType = '';
+ public $text;
+
+ public function setSource(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSynonymsSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSynonymsSource.php
new file mode 100644
index 00000000..8a5157b4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSynonymsSource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSource.php
new file mode 100644
index 00000000..b401a3b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DictlayerdataDictWordsSource extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Discoveryclusters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Discoveryclusters.php
new file mode 100644
index 00000000..f69b78e2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Discoveryclusters.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Discoveryclusters extends Google_Collection
+{
+ protected $collection_key = 'clusters';
+ protected $clustersType = 'Google_Service_Books_DiscoveryclustersClusters';
+ protected $clustersDataType = 'array';
+ public $kind;
+ public $totalClusters;
+
+ public function setClusters($clusters)
+ {
+ $this->clusters = $clusters;
+ }
+ public function getClusters()
+ {
+ return $this->clusters;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTotalClusters($totalClusters)
+ {
+ $this->totalClusters = $totalClusters;
+ }
+ public function getTotalClusters()
+ {
+ return $this->totalClusters;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DiscoveryclustersClusters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DiscoveryclustersClusters.php
new file mode 100644
index 00000000..451abddf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DiscoveryclustersClusters.php
@@ -0,0 +1,81 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DiscoveryclustersClusters extends Google_Collection
+{
+ protected $collection_key = 'volumes';
+ protected $internal_gapi_mappings = array(
+ "bannerWithContentContainer" => "banner_with_content_container",
+ );
+ protected $bannerWithContentContainerType = 'Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer';
+ protected $bannerWithContentContainerDataType = '';
+ public $subTitle;
+ public $title;
+ public $totalVolumes;
+ public $uid;
+ protected $volumesType = 'Google_Service_Books_Volume';
+ protected $volumesDataType = 'array';
+
+ public function setBannerWithContentContainer(Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer $bannerWithContentContainer)
+ {
+ $this->bannerWithContentContainer = $bannerWithContentContainer;
+ }
+ public function getBannerWithContentContainer()
+ {
+ return $this->bannerWithContentContainer;
+ }
+ 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;
+ }
+ public function setTotalVolumes($totalVolumes)
+ {
+ $this->totalVolumes = $totalVolumes;
+ }
+ public function getTotalVolumes()
+ {
+ return $this->totalVolumes;
+ }
+ public function setUid($uid)
+ {
+ $this->uid = $uid;
+ }
+ public function getUid()
+ {
+ return $this->uid;
+ }
+ public function setVolumes($volumes)
+ {
+ $this->volumes = $volumes;
+ }
+ public function getVolumes()
+ {
+ return $this->volumes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DiscoveryclustersClustersBannerWithContentContainer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DiscoveryclustersClustersBannerWithContentContainer.php
new file mode 100644
index 00000000..93373e5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DiscoveryclustersClustersBannerWithContentContainer.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer extends Google_Model
+{
+ public $fillColorArgb;
+ public $imageUrl;
+ public $maskColorArgb;
+ public $moreButtonText;
+ public $moreButtonUrl;
+ public $textColorArgb;
+
+ public function setFillColorArgb($fillColorArgb)
+ {
+ $this->fillColorArgb = $fillColorArgb;
+ }
+ public function getFillColorArgb()
+ {
+ return $this->fillColorArgb;
+ }
+ public function setImageUrl($imageUrl)
+ {
+ $this->imageUrl = $imageUrl;
+ }
+ public function getImageUrl()
+ {
+ return $this->imageUrl;
+ }
+ public function setMaskColorArgb($maskColorArgb)
+ {
+ $this->maskColorArgb = $maskColorArgb;
+ }
+ public function getMaskColorArgb()
+ {
+ return $this->maskColorArgb;
+ }
+ public function setMoreButtonText($moreButtonText)
+ {
+ $this->moreButtonText = $moreButtonText;
+ }
+ public function getMoreButtonText()
+ {
+ return $this->moreButtonText;
+ }
+ public function setMoreButtonUrl($moreButtonUrl)
+ {
+ $this->moreButtonUrl = $moreButtonUrl;
+ }
+ public function getMoreButtonUrl()
+ {
+ return $this->moreButtonUrl;
+ }
+ public function setTextColorArgb($textColorArgb)
+ {
+ $this->textColorArgb = $textColorArgb;
+ }
+ public function getTextColorArgb()
+ {
+ return $this->textColorArgb;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DownloadAccessRestriction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DownloadAccessRestriction.php
new file mode 100644
index 00000000..d5b2e8c2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DownloadAccessRestriction.php
@@ -0,0 +1,129 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DownloadAccessRestriction extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DownloadAccesses.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DownloadAccesses.php
new file mode 100644
index 00000000..78bbe26f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DownloadAccesses.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_DownloadAccesses extends Google_Collection
+{
+ protected $collection_key = 'downloadAccessList';
+ protected $downloadAccessListType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Geolayerdata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Geolayerdata.php
new file mode 100644
index 00000000..c9b58df5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Geolayerdata.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Geolayerdata extends Google_Model
+{
+ protected $commonType = 'Google_Service_Books_GeolayerdataCommon';
+ protected $commonDataType = '';
+ protected $geoType = 'Google_Service_Books_GeolayerdataGeo';
+ protected $geoDataType = '';
+ public $kind;
+
+ public function setCommon(Google_Service_Books_GeolayerdataCommon $common)
+ {
+ $this->common = $common;
+ }
+ public function getCommon()
+ {
+ return $this->common;
+ }
+ public function setGeo(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataCommon.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataCommon.php
new file mode 100644
index 00000000..0af63d59
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataCommon.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_GeolayerdataCommon extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeo.php
new file mode 100644
index 00000000..13aa2984
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeo.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_GeolayerdataGeo extends Google_Collection
+{
+ protected $collection_key = 'boundary';
+ protected $boundaryType = 'Google_Service_Books_GeolayerdataGeoBoundary';
+ protected $boundaryDataType = 'array';
+ public $cachePolicy;
+ public $countryCode;
+ public $latitude;
+ public $longitude;
+ public $mapType;
+ protected $viewportType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoBoundary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoBoundary.php
new file mode 100644
index 00000000..f72610fa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoBoundary.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_GeolayerdataGeoBoundary extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewport.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewport.php
new file mode 100644
index 00000000..ec95fd2e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewport.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_GeolayerdataGeoViewport extends Google_Model
+{
+ protected $hiType = 'Google_Service_Books_GeolayerdataGeoViewportHi';
+ protected $hiDataType = '';
+ protected $loType = 'Google_Service_Books_GeolayerdataGeoViewportLo';
+ protected $loDataType = '';
+
+ public function setHi(Google_Service_Books_GeolayerdataGeoViewportHi $hi)
+ {
+ $this->hi = $hi;
+ }
+ public function getHi()
+ {
+ return $this->hi;
+ }
+ public function setLo(Google_Service_Books_GeolayerdataGeoViewportLo $lo)
+ {
+ $this->lo = $lo;
+ }
+ public function getLo()
+ {
+ return $this->lo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewportHi.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewportHi.php
new file mode 100644
index 00000000..a70b5059
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewportHi.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_GeolayerdataGeoViewportHi extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewportLo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewportLo.php
new file mode 100644
index 00000000..53ac070d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewportLo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_GeolayerdataGeoViewportLo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Layersummaries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Layersummaries.php
new file mode 100644
index 00000000..ee215018
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Layersummaries.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Layersummaries extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Layersummary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Layersummary.php
new file mode 100644
index 00000000..dc84696e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Layersummary.php
@@ -0,0 +1,139 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Layersummary extends Google_Collection
+{
+ protected $collection_key = 'annotationTypes';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Metadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Metadata.php
new file mode 100644
index 00000000..7f9688ed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Metadata.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Metadata extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/MetadataItems.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/MetadataItems.php
new file mode 100644
index 00000000..67a48e3f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/MetadataItems.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_MetadataItems extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Notification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Notification.php
new file mode 100644
index 00000000..54eca0ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Notification.php
@@ -0,0 +1,156 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Notification extends Google_Collection
+{
+ protected $collection_key = 'crmExperimentIds';
+ protected $internal_gapi_mappings = array(
+ "docId" => "doc_id",
+ "docType" => "doc_type",
+ "dontShowNotification" => "dont_show_notification",
+ "notificationType" => "notification_type",
+ "pcampaignId" => "pcampaign_id",
+ "showNotificationSettingsAction" => "show_notification_settings_action",
+ );
+ public $body;
+ public $crmExperimentIds;
+ public $docId;
+ public $docType;
+ public $dontShowNotification;
+ public $iconUrl;
+ public $kind;
+ public $notificationGroup;
+ public $notificationType;
+ public $pcampaignId;
+ public $reason;
+ public $showNotificationSettingsAction;
+ public $targetUrl;
+ public $title;
+
+ public function setBody($body)
+ {
+ $this->body = $body;
+ }
+ public function getBody()
+ {
+ return $this->body;
+ }
+ public function setCrmExperimentIds($crmExperimentIds)
+ {
+ $this->crmExperimentIds = $crmExperimentIds;
+ }
+ public function getCrmExperimentIds()
+ {
+ return $this->crmExperimentIds;
+ }
+ public function setDocId($docId)
+ {
+ $this->docId = $docId;
+ }
+ public function getDocId()
+ {
+ return $this->docId;
+ }
+ public function setDocType($docType)
+ {
+ $this->docType = $docType;
+ }
+ public function getDocType()
+ {
+ return $this->docType;
+ }
+ public function setDontShowNotification($dontShowNotification)
+ {
+ $this->dontShowNotification = $dontShowNotification;
+ }
+ public function getDontShowNotification()
+ {
+ return $this->dontShowNotification;
+ }
+ public function setIconUrl($iconUrl)
+ {
+ $this->iconUrl = $iconUrl;
+ }
+ public function getIconUrl()
+ {
+ return $this->iconUrl;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNotificationGroup($notificationGroup)
+ {
+ $this->notificationGroup = $notificationGroup;
+ }
+ public function getNotificationGroup()
+ {
+ return $this->notificationGroup;
+ }
+ public function setNotificationType($notificationType)
+ {
+ $this->notificationType = $notificationType;
+ }
+ public function getNotificationType()
+ {
+ return $this->notificationType;
+ }
+ public function setPcampaignId($pcampaignId)
+ {
+ $this->pcampaignId = $pcampaignId;
+ }
+ public function getPcampaignId()
+ {
+ return $this->pcampaignId;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+ public function setShowNotificationSettingsAction($showNotificationSettingsAction)
+ {
+ $this->showNotificationSettingsAction = $showNotificationSettingsAction;
+ }
+ public function getShowNotificationSettingsAction()
+ {
+ return $this->showNotificationSettingsAction;
+ }
+ public function setTargetUrl($targetUrl)
+ {
+ $this->targetUrl = $targetUrl;
+ }
+ public function getTargetUrl()
+ {
+ return $this->targetUrl;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Offers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Offers.php
new file mode 100644
index 00000000..0910f0f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Offers.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Offers extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/OffersItems.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/OffersItems.php
new file mode 100644
index 00000000..9d70ff51
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/OffersItems.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_OffersItems extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $artUrl;
+ public $gservicesKey;
+ public $id;
+ protected $itemsType = 'Google_Service_Books_OffersItemsItems';
+ protected $itemsDataType = 'array';
+
+ public function setArtUrl($artUrl)
+ {
+ $this->artUrl = $artUrl;
+ }
+ public function getArtUrl()
+ {
+ return $this->artUrl;
+ }
+ public function setGservicesKey($gservicesKey)
+ {
+ $this->gservicesKey = $gservicesKey;
+ }
+ public function getGservicesKey()
+ {
+ return $this->gservicesKey;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/OffersItemsItems.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/OffersItemsItems.php
new file mode 100644
index 00000000..23a041c4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/OffersItemsItems.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_OffersItemsItems extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReadingPosition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReadingPosition.php
new file mode 100644
index 00000000..53b3330f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReadingPosition.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_ReadingPosition extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/RequestAccess.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/RequestAccess.php
new file mode 100644
index 00000000..4a903ae2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/RequestAccess.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_RequestAccess extends Google_Model
+{
+ protected $concurrentAccessType = 'Google_Service_Books_ConcurrentAccessRestriction';
+ protected $concurrentAccessDataType = '';
+ protected $downloadAccessType = 'Google_Service_Books_DownloadAccessRestriction';
+ protected $downloadAccessDataType = '';
+ public $kind;
+
+ public function setConcurrentAccess(Google_Service_Books_ConcurrentAccessRestriction $concurrentAccess)
+ {
+ $this->concurrentAccess = $concurrentAccess;
+ }
+ public function getConcurrentAccess()
+ {
+ return $this->concurrentAccess;
+ }
+ public function setDownloadAccess(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Bookshelves.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Bookshelves.php
new file mode 100644
index 00000000..38c7d29a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Bookshelves.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "bookshelves" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $bookshelves = $booksService->bookshelves;
+ * </code>
+ */
+class Google_Service_Books_Resource_Bookshelves extends 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 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), "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 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), "Google_Service_Books_Bookshelves");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/BookshelvesVolumes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/BookshelvesVolumes.php
new file mode 100644
index 00000000..91949468
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/BookshelvesVolumes.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "volumes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $volumes = $booksService->volumes;
+ * </code>
+ */
+class Google_Service_Books_Resource_BookshelvesVolumes extends 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 string maxResults Maximum number of results to return
+ * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
+ * to false.
+ * @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 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), "Google_Service_Books_Volumes");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Cloudloading.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Cloudloading.php
new file mode 100644
index 00000000..a2d6865c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Cloudloading.php
@@ -0,0 +1,73 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "cloudloading" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $cloudloading = $booksService->cloudloading;
+ * </code>
+ */
+class Google_Service_Books_Resource_Cloudloading extends Google_Service_Resource
+{
+ /**
+ * (cloudloading.addBook)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @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.
+ * @opt_param string upload_client_token
+ * @return Google_Service_Books_BooksCloudloadingResource
+ */
+ public function addBook($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('addBook', array($params), "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 Google_Service_Books_BooksCloudloadingResource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Books_BooksCloudloadingResource
+ */
+ public function updateBook(Google_Service_Books_BooksCloudloadingResource $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateBook', array($params), "Google_Service_Books_BooksCloudloadingResource");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Dictionary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Dictionary.php
new file mode 100644
index 00000000..997f2781
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Dictionary.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "dictionary" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $dictionary = $booksService->dictionary;
+ * </code>
+ */
+class Google_Service_Books_Resource_Dictionary extends Google_Service_Resource
+{
+ /**
+ * Returns a list of offline dictionary metadata available
+ * (dictionary.listOfflineMetadata)
+ *
+ * @param string $cpksver The device/version ID from which to request the data.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Books_Metadata");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Layers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Layers.php
new file mode 100644
index 00000000..3b93e8d8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Layers.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "layers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $layers = $booksService->layers;
+ * </code>
+ */
+class Google_Service_Books_Resource_Layers extends 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 contentVersion The content version for the requested
+ * volume.
+ * @opt_param string source String to identify the originator of this request.
+ * @return 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), "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 contentVersion The content version for the requested
+ * volume.
+ * @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.
+ * @return 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), "Google_Service_Books_Layersummaries");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/LayersAnnotationData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/LayersAnnotationData.php
new file mode 100644
index 00000000..3f04cb68
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/LayersAnnotationData.php
@@ -0,0 +1,90 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "annotationData" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $annotationData = $booksService->annotationData;
+ * </code>
+ */
+class Google_Service_Books_Resource_LayersAnnotationData extends 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 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 scale The requested scale for the image.
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param int w The requested pixel width for any images. If width is
+ * provided height must also be provided.
+ * @return 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), "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 string annotationDataId The list of Annotation Data Ids to
+ * retrieve. Pagination is ignored if this is set.
+ * @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 string maxResults Maximum number of results to return
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * page.
+ * @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 updatedMax RFC 3339 timestamp to restrict to items updated
+ * prior to this timestamp (exclusive).
+ * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
+ * since this timestamp (inclusive).
+ * @opt_param int w The requested pixel width for any images. If width is
+ * provided height must also be provided.
+ * @return 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), "Google_Service_Books_Annotationsdata");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/LayersVolumeAnnotations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/LayersVolumeAnnotations.php
new file mode 100644
index 00000000..eef4ed83
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/LayersVolumeAnnotations.php
@@ -0,0 +1,83 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "volumeAnnotations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $volumeAnnotations = $booksService->volumeAnnotations;
+ * </code>
+ */
+class Google_Service_Books_Resource_LayersVolumeAnnotations extends 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 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), "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 string endOffset The end offset to end retrieving data from.
+ * @opt_param string endPosition The end position 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 maxResults Maximum number of results to return
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * page.
+ * @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 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.
+ * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
+ * prior to this timestamp (exclusive).
+ * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
+ * since this timestamp (inclusive).
+ * @opt_param string volumeAnnotationsVersion The version of the volume
+ * annotations that you are requesting.
+ * @return 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), "Google_Service_Books_Volumeannotations");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Myconfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Myconfig.php
new file mode 100644
index 00000000..afe93d7f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Myconfig.php
@@ -0,0 +1,126 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "myconfig" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $myconfig = $booksService->myconfig;
+ * </code>
+ */
+class Google_Service_Books_Resource_Myconfig extends Google_Service_Resource
+{
+ /**
+ * Gets the current settings for the user. (myconfig.getUserSettings)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Books_Usersettings
+ */
+ public function getUserSettings($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('getUserSettings', array($params), "Google_Service_Books_Usersettings");
+ }
+ /**
+ * Release downloaded content access restriction.
+ * (myconfig.releaseDownloadAccess)
+ *
+ * @param string|array $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 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), "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 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), "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 bool includeNonComicsSeries Set to true to include non-comics
+ * series. Defaults to false.
+ * @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 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), "Google_Service_Books_Volumes");
+ }
+ /**
+ * Sets the settings for the user. If a sub-object is specified, it will
+ * overwrite the existing sub-object stored in the server. Unspecified sub-
+ * objects will retain the existing value. (myconfig.updateUserSettings)
+ *
+ * @param Google_Service_Books_Usersettings $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Books_Usersettings
+ */
+ public function updateUserSettings(Google_Service_Books_Usersettings $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateUserSettings', array($params), "Google_Service_Books_Usersettings");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Mylibrary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Mylibrary.php
new file mode 100644
index 00000000..5c98fce7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Mylibrary.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "mylibrary" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $mylibrary = $booksService->mylibrary;
+ * </code>
+ */
+class Google_Service_Books_Resource_Mylibrary extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryAnnotations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryAnnotations.php
new file mode 100644
index 00000000..67cdde37
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryAnnotations.php
@@ -0,0 +1,119 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "annotations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $annotations = $booksService->annotations;
+ * </code>
+ */
+class Google_Service_Books_Resource_MylibraryAnnotations extends 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));
+ }
+ /**
+ * Inserts a new annotation. (annotations.insert)
+ *
+ * @param Google_Service_Books_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 Google_Service_Books_Annotation
+ */
+ public function insert(Google_Service_Books_Annotation $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Books_Annotation");
+ }
+ /**
+ * Retrieves a list of annotations, possibly filtered.
+ * (annotations.listMylibraryAnnotations)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string contentVersion The content version for the requested
+ * volume.
+ * @opt_param string layerId The layer ID to limit annotation by.
+ * @opt_param string layerIds The layer ID(s) to limit annotation by.
+ * @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 bool showDeleted Set to true to return deleted annotations.
+ * updatedMin must be in the request to use this. Defaults to false.
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
+ * prior to this timestamp (exclusive).
+ * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
+ * since this timestamp (inclusive).
+ * @opt_param string volumeId The volume to restrict annotations to.
+ * @return Google_Service_Books_Annotations
+ */
+ public function listMylibraryAnnotations($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Books_Annotations");
+ }
+ /**
+ * Gets the summary of specified layers. (annotations.summary)
+ *
+ * @param string|array $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 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), "Google_Service_Books_AnnotationsSummary");
+ }
+ /**
+ * Updates an existing annotation. (annotations.update)
+ *
+ * @param string $annotationId The ID for the annotation to update.
+ * @param Google_Service_Books_Annotation $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string source String to identify the originator of this request.
+ * @return Google_Service_Books_Annotation
+ */
+ public function update($annotationId, Google_Service_Books_Annotation $postBody, $optParams = array())
+ {
+ $params = array('annotationId' => $annotationId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Books_Annotation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryBookshelves.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryBookshelves.php
new file mode 100644
index 00000000..a88c986c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryBookshelves.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "bookshelves" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $bookshelves = $booksService->bookshelves;
+ * </code>
+ */
+class Google_Service_Books_Resource_MylibraryBookshelves extends 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 reason The reason for which the book is added to the
+ * library.
+ * @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 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), "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 Google_Service_Books_Bookshelves
+ */
+ public function listMylibraryBookshelves($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "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 reason The reason for which the book is removed from the
+ * library.
+ * @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));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryBookshelvesVolumes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryBookshelvesVolumes.php
new file mode 100644
index 00000000..c1536ffc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryBookshelvesVolumes.php
@@ -0,0 +1,53 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "volumes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $volumes = $booksService->volumes;
+ * </code>
+ */
+class Google_Service_Books_Resource_MylibraryBookshelvesVolumes extends 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 country ISO-3166-1 code to override the IP-based location.
+ * @opt_param string maxResults Maximum number of results to return
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields.
+ * @opt_param string q Full-text search query string in this bookshelf.
+ * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
+ * to false.
+ * @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 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), "Google_Service_Books_Volumes");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryReadingpositions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryReadingpositions.php
new file mode 100644
index 00000000..375c2ae1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryReadingpositions.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "readingpositions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $readingpositions = $booksService->readingpositions;
+ * </code>
+ */
+class Google_Service_Books_Resource_MylibraryReadingpositions extends 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 contentVersion Volume content version for which this
+ * reading position is requested.
+ * @opt_param string source String to identify the originator of this request.
+ * @return 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), "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 action Action that caused this reading position to be set.
+ * @opt_param string contentVersion Volume content version for which this
+ * reading position applies.
+ * @opt_param string deviceCookie Random persistent device cookie optional on
+ * set position.
+ * @opt_param string source String to identify the originator of this request.
+ */
+ 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));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Notification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Notification.php
new file mode 100644
index 00000000..f3bae929
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Notification.php
@@ -0,0 +1,45 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "notification" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $notification = $booksService->notification;
+ * </code>
+ */
+class Google_Service_Books_Resource_Notification extends Google_Service_Resource
+{
+ /**
+ * Returns notification details for a given notification id. (notification.get)
+ *
+ * @param string $notificationId String to identify the notification.
+ * @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 notification title and body.
+ * @opt_param string source String to identify the originator of this request.
+ * @return Google_Service_Books_Notification
+ */
+ public function get($notificationId, $optParams = array())
+ {
+ $params = array('notification_id' => $notificationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Books_Notification");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Onboarding.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Onboarding.php
new file mode 100644
index 00000000..6ad8f753
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Onboarding.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "onboarding" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $onboarding = $booksService->onboarding;
+ * </code>
+ */
+class Google_Service_Books_Resource_Onboarding extends Google_Service_Resource
+{
+ /**
+ * List categories for onboarding experience. (onboarding.listCategories)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code.
+ * Default is en-US if unset.
+ * @return Google_Service_Books_Category
+ */
+ public function listCategories($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('listCategories', array($params), "Google_Service_Books_Category");
+ }
+ /**
+ * List available volumes under categories for onboarding experience.
+ * (onboarding.listCategoryVolumes)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string categoryId List of category ids requested.
+ * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code.
+ * Default is en-US if unset.
+ * @opt_param string maxAllowedMaturityRating The maximum allowed maturity
+ * rating of returned volumes. Books with a higher maturity rating are filtered
+ * out.
+ * @opt_param string pageSize Number of maximum results per page to be included
+ * in the response.
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * page.
+ * @return Google_Service_Books_Volume2
+ */
+ public function listCategoryVolumes($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('listCategoryVolumes', array($params), "Google_Service_Books_Volume2");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Personalizedstream.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Personalizedstream.php
new file mode 100644
index 00000000..363f5edf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Personalizedstream.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "personalizedstream" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $personalizedstream = $booksService->personalizedstream;
+ * </code>
+ */
+class Google_Service_Books_Resource_Personalizedstream extends Google_Service_Resource
+{
+ /**
+ * Returns a stream of personalized book clusters (personalizedstream.get)
+ *
+ * @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 maxAllowedMaturityRating The maximum allowed maturity
+ * rating of returned recommendations. Books with a higher maturity rating are
+ * filtered out.
+ * @opt_param string source String to identify the originator of this request.
+ * @return Google_Service_Books_Discoveryclusters
+ */
+ public function get($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Books_Discoveryclusters");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Promooffer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Promooffer.php
new file mode 100644
index 00000000..624952f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Promooffer.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "promooffer" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $promooffer = $booksService->promooffer;
+ * </code>
+ */
+class Google_Service_Books_Resource_Promooffer extends Google_Service_Resource
+{
+ /**
+ * (promooffer.accept)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string androidId device android_id
+ * @opt_param string device device device
+ * @opt_param string manufacturer device manufacturer
+ * @opt_param string model device model
+ * @opt_param string offerId
+ * @opt_param string product device product
+ * @opt_param string serial device serial
+ * @opt_param string volumeId Volume id to exercise the offer
+ */
+ 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 androidId device android_id
+ * @opt_param string device device device
+ * @opt_param string manufacturer device manufacturer
+ * @opt_param string model device model
+ * @opt_param string offerId Offer to dimiss
+ * @opt_param string product device product
+ * @opt_param string serial device serial
+ */
+ 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 androidId device android_id
+ * @opt_param string device device device
+ * @opt_param string manufacturer device manufacturer
+ * @opt_param string model device model
+ * @opt_param string product device product
+ * @opt_param string serial device serial
+ * @return Google_Service_Books_Offers
+ */
+ public function get($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Books_Offers");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Series.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Series.php
new file mode 100644
index 00000000..a3f8bdee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Series.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "series" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $series = $booksService->series;
+ * </code>
+ */
+class Google_Service_Books_Resource_Series extends Google_Service_Resource
+{
+ /**
+ * Returns Series metadata for the given series ids. (series.get)
+ *
+ * @param string|array $seriesId String that identifies the series
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Books_Series
+ */
+ public function get($seriesId, $optParams = array())
+ {
+ $params = array('series_id' => $seriesId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Books_Series");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/SeriesMembership.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/SeriesMembership.php
new file mode 100644
index 00000000..28a2e410
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/SeriesMembership.php
@@ -0,0 +1,46 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "membership" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $membership = $booksService->membership;
+ * </code>
+ */
+class Google_Service_Books_Resource_SeriesMembership extends Google_Service_Resource
+{
+ /**
+ * Returns Series membership data given the series id. (membership.get)
+ *
+ * @param string $seriesId String that identifies the series
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string page_size Number of maximum results per page to be included
+ * in the response.
+ * @opt_param string page_token The value of the nextToken from the previous
+ * page.
+ * @return Google_Service_Books_Seriesmembership
+ */
+ public function get($seriesId, $optParams = array())
+ {
+ $params = array('series_id' => $seriesId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Books_Seriesmembership");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Volumes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Volumes.php
new file mode 100644
index 00000000..1065108c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Volumes.php
@@ -0,0 +1,83 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "volumes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $volumes = $booksService->volumes;
+ * </code>
+ */
+class Google_Service_Books_Resource_Volumes extends 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 country ISO-3166-1 code to override the IP-based location.
+ * @opt_param bool includeNonComicsSeries Set to true to include non-comics
+ * series. Defaults to false.
+ * @opt_param string partner Brand results for partner ID.
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields.
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param bool user_library_consistent_read
+ * @return 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), "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 download Restrict to volumes by download availability.
+ * @opt_param string filter Filter search results.
+ * @opt_param string langRestrict Restrict results to books with this language
+ * code.
+ * @opt_param string libraryRestrict Restrict search to this user's library.
+ * @opt_param string maxAllowedMaturityRating The maximum allowed maturity
+ * rating of returned recommendations. Books with a higher maturity rating are
+ * filtered out.
+ * @opt_param string maxResults Maximum number of results to return.
+ * @opt_param string orderBy Sort search results.
+ * @opt_param string partner Restrict and brand results for partner ID.
+ * @opt_param string printType Restrict to books or magazines.
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields.
+ * @opt_param bool showPreorders Set to true to show books available for
+ * preorder. Defaults to false.
+ * @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)
+ * @return 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), "Google_Service_Books_Volumes");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesAssociated.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesAssociated.php
new file mode 100644
index 00000000..85716456
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesAssociated.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "associated" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $associated = $booksService->associated;
+ * </code>
+ */
+class Google_Service_Books_Resource_VolumesAssociated extends 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 association Association type.
+ * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
+ * 'en_US'. Used for generating recommendations.
+ * @opt_param string maxAllowedMaturityRating The maximum allowed maturity
+ * rating of returned recommendations. Books with a higher maturity rating are
+ * filtered out.
+ * @opt_param string source String to identify the originator of this request.
+ * @return 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), "Google_Service_Books_Volumes");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesMybooks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesMybooks.php
new file mode 100644
index 00000000..b9897853
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesMybooks.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "mybooks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $mybooks = $booksService->mybooks;
+ * </code>
+ */
+class Google_Service_Books_Resource_VolumesMybooks extends Google_Service_Resource
+{
+ /**
+ * Return a list of books in My Library. (mybooks.listVolumesMybooks)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string acquireMethod How the book was acquired
+ * @opt_param string country ISO-3166-1 code to override the IP-based location.
+ * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code.
+ * Ex:'en_US'. Used for generating recommendations.
+ * @opt_param string maxResults Maximum number of results to return.
+ * @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.
+ * @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)
+ * @return Google_Service_Books_Volumes
+ */
+ public function listVolumesMybooks($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Books_Volumes");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesRecommended.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesRecommended.php
new file mode 100644
index 00000000..e8cb7241
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesRecommended.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "recommended" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $recommended = $booksService->recommended;
+ * </code>
+ */
+class Google_Service_Books_Resource_VolumesRecommended extends 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 maxAllowedMaturityRating The maximum allowed maturity
+ * rating of returned recommendations. Books with a higher maturity rating are
+ * filtered out.
+ * @opt_param string source String to identify the originator of this request.
+ * @return Google_Service_Books_Volumes
+ */
+ public function listVolumesRecommended($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "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 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), "Google_Service_Books_BooksVolumesRecommendedRateResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesUseruploaded.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesUseruploaded.php
new file mode 100644
index 00000000..12b69f46
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesUseruploaded.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "useruploaded" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Google_Service_Books(...);
+ * $useruploaded = $booksService->useruploaded;
+ * </code>
+ */
+class Google_Service_Books_Resource_VolumesUseruploaded extends 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 maxResults Maximum number of results to return.
+ * @opt_param string processingState The processing state of the user uploaded
+ * volumes to be returned.
+ * @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 volumeId The ids of the volumes to be returned. If not
+ * specified all that match the processingState are returned.
+ * @return Google_Service_Books_Volumes
+ */
+ public function listVolumesUseruploaded($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Books_Volumes");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Review.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Review.php
new file mode 100644
index 00000000..c648e1cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Review.php
@@ -0,0 +1,113 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Review extends Google_Model
+{
+ protected $authorType = 'Google_Service_Books_ReviewAuthor';
+ protected $authorDataType = '';
+ public $content;
+ public $date;
+ public $fullTextUrl;
+ public $kind;
+ public $rating;
+ protected $sourceType = 'Google_Service_Books_ReviewSource';
+ protected $sourceDataType = '';
+ public $title;
+ public $type;
+ public $volumeId;
+
+ public function setAuthor(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReviewAuthor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReviewAuthor.php
new file mode 100644
index 00000000..5de1b157
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReviewAuthor.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_ReviewAuthor extends Google_Model
+{
+ public $displayName;
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReviewSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReviewSource.php
new file mode 100644
index 00000000..7d4c0ce9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReviewSource.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_ReviewSource extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Series.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Series.php
new file mode 100644
index 00000000..8d546289
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Series.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Series extends Google_Collection
+{
+ protected $collection_key = 'series';
+ public $kind;
+ protected $seriesType = 'Google_Service_Books_SeriesSeries';
+ protected $seriesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSeries($series)
+ {
+ $this->series = $series;
+ }
+ public function getSeries()
+ {
+ return $this->series;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/SeriesSeries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/SeriesSeries.php
new file mode 100644
index 00000000..8fcf8fed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/SeriesSeries.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_SeriesSeries extends Google_Model
+{
+ public $bannerImageUrl;
+ public $imageUrl;
+ public $seriesId;
+ public $seriesType;
+ public $title;
+
+ public function setBannerImageUrl($bannerImageUrl)
+ {
+ $this->bannerImageUrl = $bannerImageUrl;
+ }
+ public function getBannerImageUrl()
+ {
+ return $this->bannerImageUrl;
+ }
+ public function setImageUrl($imageUrl)
+ {
+ $this->imageUrl = $imageUrl;
+ }
+ public function getImageUrl()
+ {
+ return $this->imageUrl;
+ }
+ public function setSeriesId($seriesId)
+ {
+ $this->seriesId = $seriesId;
+ }
+ public function getSeriesId()
+ {
+ return $this->seriesId;
+ }
+ public function setSeriesType($seriesType)
+ {
+ $this->seriesType = $seriesType;
+ }
+ public function getSeriesType()
+ {
+ return $this->seriesType;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Seriesmembership.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Seriesmembership.php
new file mode 100644
index 00000000..be25c944
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Seriesmembership.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Seriesmembership extends Google_Collection
+{
+ protected $collection_key = 'member';
+ public $kind;
+ protected $memberType = 'Google_Service_Books_Volume';
+ protected $memberDataType = 'array';
+ public $nextPageToken;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMember($member)
+ {
+ $this->member = $member;
+ }
+ public function getMember()
+ {
+ return $this->member;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Usersettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Usersettings.php
new file mode 100644
index 00000000..919149e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Usersettings.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Usersettings extends Google_Model
+{
+ public $kind;
+ protected $notesExportType = 'Google_Service_Books_UsersettingsNotesExport';
+ protected $notesExportDataType = '';
+ protected $notificationType = 'Google_Service_Books_UsersettingsNotification';
+ protected $notificationDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNotesExport(Google_Service_Books_UsersettingsNotesExport $notesExport)
+ {
+ $this->notesExport = $notesExport;
+ }
+ public function getNotesExport()
+ {
+ return $this->notesExport;
+ }
+ public function setNotification(Google_Service_Books_UsersettingsNotification $notification)
+ {
+ $this->notification = $notification;
+ }
+ public function getNotification()
+ {
+ return $this->notification;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotesExport.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotesExport.php
new file mode 100644
index 00000000..9d6d2e8d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotesExport.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_UsersettingsNotesExport extends Google_Model
+{
+ public $folderName;
+ public $isEnabled;
+
+ public function setFolderName($folderName)
+ {
+ $this->folderName = $folderName;
+ }
+ public function getFolderName()
+ {
+ return $this->folderName;
+ }
+ public function setIsEnabled($isEnabled)
+ {
+ $this->isEnabled = $isEnabled;
+ }
+ public function getIsEnabled()
+ {
+ return $this->isEnabled;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotification.php
new file mode 100644
index 00000000..680742f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotification.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_UsersettingsNotification extends Google_Model
+{
+ protected $moreFromAuthorsType = 'Google_Service_Books_UsersettingsNotificationMoreFromAuthors';
+ protected $moreFromAuthorsDataType = '';
+ protected $moreFromSeriesType = 'Google_Service_Books_UsersettingsNotificationMoreFromSeries';
+ protected $moreFromSeriesDataType = '';
+
+ public function setMoreFromAuthors(Google_Service_Books_UsersettingsNotificationMoreFromAuthors $moreFromAuthors)
+ {
+ $this->moreFromAuthors = $moreFromAuthors;
+ }
+ public function getMoreFromAuthors()
+ {
+ return $this->moreFromAuthors;
+ }
+ public function setMoreFromSeries(Google_Service_Books_UsersettingsNotificationMoreFromSeries $moreFromSeries)
+ {
+ $this->moreFromSeries = $moreFromSeries;
+ }
+ public function getMoreFromSeries()
+ {
+ return $this->moreFromSeries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotificationMoreFromAuthors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotificationMoreFromAuthors.php
new file mode 100644
index 00000000..fa684173
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotificationMoreFromAuthors.php
@@ -0,0 +1,33 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_UsersettingsNotificationMoreFromAuthors extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "optedState" => "opted_state",
+ );
+ public $optedState;
+
+ public function setOptedState($optedState)
+ {
+ $this->optedState = $optedState;
+ }
+ public function getOptedState()
+ {
+ return $this->optedState;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotificationMoreFromSeries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotificationMoreFromSeries.php
new file mode 100644
index 00000000..d0b94d08
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotificationMoreFromSeries.php
@@ -0,0 +1,33 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_UsersettingsNotificationMoreFromSeries extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "optedState" => "opted_state",
+ );
+ public $optedState;
+
+ public function setOptedState($optedState)
+ {
+ $this->optedState = $optedState;
+ }
+ public function getOptedState()
+ {
+ return $this->optedState;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volume.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volume.php
new file mode 100644
index 00000000..7017042d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volume.php
@@ -0,0 +1,127 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Volume extends Google_Model
+{
+ protected $accessInfoType = 'Google_Service_Books_VolumeAccessInfo';
+ protected $accessInfoDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $layerInfoType = 'Google_Service_Books_VolumeLayerInfo';
+ protected $layerInfoDataType = '';
+ protected $recommendedInfoType = 'Google_Service_Books_VolumeRecommendedInfo';
+ protected $recommendedInfoDataType = '';
+ protected $saleInfoType = 'Google_Service_Books_VolumeSaleInfo';
+ protected $saleInfoDataType = '';
+ protected $searchInfoType = 'Google_Service_Books_VolumeSearchInfo';
+ protected $searchInfoDataType = '';
+ public $selfLink;
+ protected $userInfoType = 'Google_Service_Books_VolumeUserInfo';
+ protected $userInfoDataType = '';
+ protected $volumeInfoType = 'Google_Service_Books_VolumeVolumeInfo';
+ protected $volumeInfoDataType = '';
+
+ public function setAccessInfo(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(Google_Service_Books_VolumeLayerInfo $layerInfo)
+ {
+ $this->layerInfo = $layerInfo;
+ }
+ public function getLayerInfo()
+ {
+ return $this->layerInfo;
+ }
+ public function setRecommendedInfo(Google_Service_Books_VolumeRecommendedInfo $recommendedInfo)
+ {
+ $this->recommendedInfo = $recommendedInfo;
+ }
+ public function getRecommendedInfo()
+ {
+ return $this->recommendedInfo;
+ }
+ public function setSaleInfo(Google_Service_Books_VolumeSaleInfo $saleInfo)
+ {
+ $this->saleInfo = $saleInfo;
+ }
+ public function getSaleInfo()
+ {
+ return $this->saleInfo;
+ }
+ public function setSearchInfo(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(Google_Service_Books_VolumeUserInfo $userInfo)
+ {
+ $this->userInfo = $userInfo;
+ }
+ public function getUserInfo()
+ {
+ return $this->userInfo;
+ }
+ public function setVolumeInfo(Google_Service_Books_VolumeVolumeInfo $volumeInfo)
+ {
+ $this->volumeInfo = $volumeInfo;
+ }
+ public function getVolumeInfo()
+ {
+ return $this->volumeInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volume2.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volume2.php
new file mode 100644
index 00000000..f8608302
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volume2.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Volume2 extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_Books_Volume';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfo.php
new file mode 100644
index 00000000..65fa6a80
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfo.php
@@ -0,0 +1,150 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeAccessInfo extends Google_Model
+{
+ public $accessViewStatus;
+ public $country;
+ protected $downloadAccessType = 'Google_Service_Books_DownloadAccessRestriction';
+ protected $downloadAccessDataType = '';
+ public $driveImportedContentLink;
+ public $embeddable;
+ protected $epubType = 'Google_Service_Books_VolumeAccessInfoEpub';
+ protected $epubDataType = '';
+ public $explicitOfflineLicenseManagement;
+ protected $pdfType = '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(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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfoEpub.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfoEpub.php
new file mode 100644
index 00000000..a41c2150
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfoEpub.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeAccessInfoEpub extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfoPdf.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfoPdf.php
new file mode 100644
index 00000000..8a0f6c4f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfoPdf.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeAccessInfoPdf extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeLayerInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeLayerInfo.php
new file mode 100644
index 00000000..9802d0ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeLayerInfo.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeLayerInfo extends Google_Collection
+{
+ protected $collection_key = 'layers';
+ protected $layersType = 'Google_Service_Books_VolumeLayerInfoLayers';
+ protected $layersDataType = 'array';
+
+ public function setLayers($layers)
+ {
+ $this->layers = $layers;
+ }
+ public function getLayers()
+ {
+ return $this->layers;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeLayerInfoLayers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeLayerInfoLayers.php
new file mode 100644
index 00000000..e65080cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeLayerInfoLayers.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeLayerInfoLayers extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeRecommendedInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeRecommendedInfo.php
new file mode 100644
index 00000000..67757950
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeRecommendedInfo.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeRecommendedInfo extends Google_Model
+{
+ public $explanation;
+
+ public function setExplanation($explanation)
+ {
+ $this->explanation = $explanation;
+ }
+ public function getExplanation()
+ {
+ return $this->explanation;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfo.php
new file mode 100644
index 00000000..a772a103
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfo.php
@@ -0,0 +1,97 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeSaleInfo extends Google_Collection
+{
+ protected $collection_key = 'offers';
+ public $buyLink;
+ public $country;
+ public $isEbook;
+ protected $listPriceType = 'Google_Service_Books_VolumeSaleInfoListPrice';
+ protected $listPriceDataType = '';
+ protected $offersType = 'Google_Service_Books_VolumeSaleInfoOffers';
+ protected $offersDataType = 'array';
+ public $onSaleDate;
+ protected $retailPriceType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoListPrice.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoListPrice.php
new file mode 100644
index 00000000..e0ccb21e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoListPrice.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeSaleInfoListPrice extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffers.php
new file mode 100644
index 00000000..594ba952
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffers.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeSaleInfoOffers extends Google_Model
+{
+ public $finskyOfferType;
+ public $giftable;
+ protected $listPriceType = 'Google_Service_Books_VolumeSaleInfoOffersListPrice';
+ protected $listPriceDataType = '';
+ protected $rentalDurationType = 'Google_Service_Books_VolumeSaleInfoOffersRentalDuration';
+ protected $rentalDurationDataType = '';
+ protected $retailPriceType = 'Google_Service_Books_VolumeSaleInfoOffersRetailPrice';
+ protected $retailPriceDataType = '';
+
+ public function setFinskyOfferType($finskyOfferType)
+ {
+ $this->finskyOfferType = $finskyOfferType;
+ }
+ public function getFinskyOfferType()
+ {
+ return $this->finskyOfferType;
+ }
+ public function setGiftable($giftable)
+ {
+ $this->giftable = $giftable;
+ }
+ public function getGiftable()
+ {
+ return $this->giftable;
+ }
+ public function setListPrice(Google_Service_Books_VolumeSaleInfoOffersListPrice $listPrice)
+ {
+ $this->listPrice = $listPrice;
+ }
+ public function getListPrice()
+ {
+ return $this->listPrice;
+ }
+ public function setRentalDuration(Google_Service_Books_VolumeSaleInfoOffersRentalDuration $rentalDuration)
+ {
+ $this->rentalDuration = $rentalDuration;
+ }
+ public function getRentalDuration()
+ {
+ return $this->rentalDuration;
+ }
+ public function setRetailPrice(Google_Service_Books_VolumeSaleInfoOffersRetailPrice $retailPrice)
+ {
+ $this->retailPrice = $retailPrice;
+ }
+ public function getRetailPrice()
+ {
+ return $this->retailPrice;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersListPrice.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersListPrice.php
new file mode 100644
index 00000000..7973473f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersListPrice.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeSaleInfoOffersListPrice extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersRentalDuration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersRentalDuration.php
new file mode 100644
index 00000000..23421ddc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersRentalDuration.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeSaleInfoOffersRentalDuration extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersRetailPrice.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersRetailPrice.php
new file mode 100644
index 00000000..2928a826
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersRetailPrice.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeSaleInfoOffersRetailPrice extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoRetailPrice.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoRetailPrice.php
new file mode 100644
index 00000000..9c9d0475
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoRetailPrice.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeSaleInfoRetailPrice extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSearchInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSearchInfo.php
new file mode 100644
index 00000000..7b36118a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSearchInfo.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeSearchInfo extends Google_Model
+{
+ public $textSnippet;
+
+ public function setTextSnippet($textSnippet)
+ {
+ $this->textSnippet = $textSnippet;
+ }
+ public function getTextSnippet()
+ {
+ return $this->textSnippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfo.php
new file mode 100644
index 00000000..86c80537
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfo.php
@@ -0,0 +1,198 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeUserInfo extends Google_Model
+{
+ public $acquiredTime;
+ public $acquisitionType;
+ protected $copyType = 'Google_Service_Books_VolumeUserInfoCopy';
+ protected $copyDataType = '';
+ public $entitlementType;
+ protected $familySharingType = 'Google_Service_Books_VolumeUserInfoFamilySharing';
+ protected $familySharingDataType = '';
+ public $isFamilySharedFromUser;
+ public $isFamilySharedToUser;
+ public $isFamilySharingAllowed;
+ public $isFamilySharingDisabledByFop;
+ public $isInMyBooks;
+ public $isPreordered;
+ public $isPurchased;
+ public $isUploaded;
+ protected $readingPositionType = 'Google_Service_Books_ReadingPosition';
+ protected $readingPositionDataType = '';
+ protected $rentalPeriodType = 'Google_Service_Books_VolumeUserInfoRentalPeriod';
+ protected $rentalPeriodDataType = '';
+ public $rentalState;
+ protected $reviewType = 'Google_Service_Books_Review';
+ protected $reviewDataType = '';
+ public $updated;
+ protected $userUploadedVolumeInfoType = 'Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo';
+ protected $userUploadedVolumeInfoDataType = '';
+
+ public function setAcquiredTime($acquiredTime)
+ {
+ $this->acquiredTime = $acquiredTime;
+ }
+ public function getAcquiredTime()
+ {
+ return $this->acquiredTime;
+ }
+ public function setAcquisitionType($acquisitionType)
+ {
+ $this->acquisitionType = $acquisitionType;
+ }
+ public function getAcquisitionType()
+ {
+ return $this->acquisitionType;
+ }
+ public function setCopy(Google_Service_Books_VolumeUserInfoCopy $copy)
+ {
+ $this->copy = $copy;
+ }
+ public function getCopy()
+ {
+ return $this->copy;
+ }
+ public function setEntitlementType($entitlementType)
+ {
+ $this->entitlementType = $entitlementType;
+ }
+ public function getEntitlementType()
+ {
+ return $this->entitlementType;
+ }
+ public function setFamilySharing(Google_Service_Books_VolumeUserInfoFamilySharing $familySharing)
+ {
+ $this->familySharing = $familySharing;
+ }
+ public function getFamilySharing()
+ {
+ return $this->familySharing;
+ }
+ public function setIsFamilySharedFromUser($isFamilySharedFromUser)
+ {
+ $this->isFamilySharedFromUser = $isFamilySharedFromUser;
+ }
+ public function getIsFamilySharedFromUser()
+ {
+ return $this->isFamilySharedFromUser;
+ }
+ public function setIsFamilySharedToUser($isFamilySharedToUser)
+ {
+ $this->isFamilySharedToUser = $isFamilySharedToUser;
+ }
+ public function getIsFamilySharedToUser()
+ {
+ return $this->isFamilySharedToUser;
+ }
+ public function setIsFamilySharingAllowed($isFamilySharingAllowed)
+ {
+ $this->isFamilySharingAllowed = $isFamilySharingAllowed;
+ }
+ public function getIsFamilySharingAllowed()
+ {
+ return $this->isFamilySharingAllowed;
+ }
+ public function setIsFamilySharingDisabledByFop($isFamilySharingDisabledByFop)
+ {
+ $this->isFamilySharingDisabledByFop = $isFamilySharingDisabledByFop;
+ }
+ public function getIsFamilySharingDisabledByFop()
+ {
+ return $this->isFamilySharingDisabledByFop;
+ }
+ 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(Google_Service_Books_ReadingPosition $readingPosition)
+ {
+ $this->readingPosition = $readingPosition;
+ }
+ public function getReadingPosition()
+ {
+ return $this->readingPosition;
+ }
+ public function setRentalPeriod(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(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(Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo $userUploadedVolumeInfo)
+ {
+ $this->userUploadedVolumeInfo = $userUploadedVolumeInfo;
+ }
+ public function getUserUploadedVolumeInfo()
+ {
+ return $this->userUploadedVolumeInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoCopy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoCopy.php
new file mode 100644
index 00000000..837916af
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoCopy.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeUserInfoCopy extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoFamilySharing.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoFamilySharing.php
new file mode 100644
index 00000000..a372b4f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoFamilySharing.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeUserInfoFamilySharing extends Google_Model
+{
+ public $familyRole;
+ public $isSharingAllowed;
+ public $isSharingDisabledByFop;
+
+ public function setFamilyRole($familyRole)
+ {
+ $this->familyRole = $familyRole;
+ }
+ public function getFamilyRole()
+ {
+ return $this->familyRole;
+ }
+ public function setIsSharingAllowed($isSharingAllowed)
+ {
+ $this->isSharingAllowed = $isSharingAllowed;
+ }
+ public function getIsSharingAllowed()
+ {
+ return $this->isSharingAllowed;
+ }
+ public function setIsSharingDisabledByFop($isSharingDisabledByFop)
+ {
+ $this->isSharingDisabledByFop = $isSharingDisabledByFop;
+ }
+ public function getIsSharingDisabledByFop()
+ {
+ return $this->isSharingDisabledByFop;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoRentalPeriod.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoRentalPeriod.php
new file mode 100644
index 00000000..6e2e050a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoRentalPeriod.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeUserInfoRentalPeriod extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoUserUploadedVolumeInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoUserUploadedVolumeInfo.php
new file mode 100644
index 00000000..5eddbebe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoUserUploadedVolumeInfo.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo extends Google_Model
+{
+ public $processingState;
+
+ public function setProcessingState($processingState)
+ {
+ $this->processingState = $processingState;
+ }
+ public function getProcessingState()
+ {
+ return $this->processingState;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfo.php
new file mode 100644
index 00000000..5d40f90d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfo.php
@@ -0,0 +1,270 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeVolumeInfo extends Google_Collection
+{
+ protected $collection_key = 'industryIdentifiers';
+ public $allowAnonLogging;
+ public $authors;
+ public $averageRating;
+ public $canonicalVolumeLink;
+ public $categories;
+ public $contentVersion;
+ public $description;
+ protected $dimensionsType = 'Google_Service_Books_VolumeVolumeInfoDimensions';
+ protected $dimensionsDataType = '';
+ protected $imageLinksType = 'Google_Service_Books_VolumeVolumeInfoImageLinks';
+ protected $imageLinksDataType = '';
+ protected $industryIdentifiersType = 'Google_Service_Books_VolumeVolumeInfoIndustryIdentifiers';
+ protected $industryIdentifiersDataType = 'array';
+ public $infoLink;
+ public $language;
+ public $mainCategory;
+ public $maturityRating;
+ public $pageCount;
+ protected $panelizationSummaryType = 'Google_Service_Books_VolumeVolumeInfoPanelizationSummary';
+ protected $panelizationSummaryDataType = '';
+ public $previewLink;
+ public $printType;
+ public $printedPageCount;
+ public $publishedDate;
+ public $publisher;
+ public $ratingsCount;
+ public $readingModes;
+ public $samplePageCount;
+ protected $seriesInfoType = 'Google_Service_Books_Volumeseriesinfo';
+ protected $seriesInfoDataType = '';
+ public $subtitle;
+ public $title;
+
+ public function setAllowAnonLogging($allowAnonLogging)
+ {
+ $this->allowAnonLogging = $allowAnonLogging;
+ }
+ public function getAllowAnonLogging()
+ {
+ return $this->allowAnonLogging;
+ }
+ 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(Google_Service_Books_VolumeVolumeInfoDimensions $dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setImageLinks(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 setMaturityRating($maturityRating)
+ {
+ $this->maturityRating = $maturityRating;
+ }
+ public function getMaturityRating()
+ {
+ return $this->maturityRating;
+ }
+ public function setPageCount($pageCount)
+ {
+ $this->pageCount = $pageCount;
+ }
+ public function getPageCount()
+ {
+ return $this->pageCount;
+ }
+ public function setPanelizationSummary(Google_Service_Books_VolumeVolumeInfoPanelizationSummary $panelizationSummary)
+ {
+ $this->panelizationSummary = $panelizationSummary;
+ }
+ public function getPanelizationSummary()
+ {
+ return $this->panelizationSummary;
+ }
+ 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 setSamplePageCount($samplePageCount)
+ {
+ $this->samplePageCount = $samplePageCount;
+ }
+ public function getSamplePageCount()
+ {
+ return $this->samplePageCount;
+ }
+ public function setSeriesInfo(Google_Service_Books_Volumeseriesinfo $seriesInfo)
+ {
+ $this->seriesInfo = $seriesInfo;
+ }
+ public function getSeriesInfo()
+ {
+ return $this->seriesInfo;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoDimensions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoDimensions.php
new file mode 100644
index 00000000..db2b654e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoDimensions.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeVolumeInfoDimensions extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoImageLinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoImageLinks.php
new file mode 100644
index 00000000..cef978a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoImageLinks.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeVolumeInfoImageLinks extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoIndustryIdentifiers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoIndustryIdentifiers.php
new file mode 100644
index 00000000..cde9a418
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoIndustryIdentifiers.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeVolumeInfoIndustryIdentifiers extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoPanelizationSummary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoPanelizationSummary.php
new file mode 100644
index 00000000..e2806fb3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoPanelizationSummary.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeVolumeInfoPanelizationSummary extends Google_Model
+{
+ public $containsEpubBubbles;
+ public $containsImageBubbles;
+ public $epubBubbleVersion;
+ public $imageBubbleVersion;
+
+ public function setContainsEpubBubbles($containsEpubBubbles)
+ {
+ $this->containsEpubBubbles = $containsEpubBubbles;
+ }
+ public function getContainsEpubBubbles()
+ {
+ return $this->containsEpubBubbles;
+ }
+ public function setContainsImageBubbles($containsImageBubbles)
+ {
+ $this->containsImageBubbles = $containsImageBubbles;
+ }
+ public function getContainsImageBubbles()
+ {
+ return $this->containsImageBubbles;
+ }
+ public function setEpubBubbleVersion($epubBubbleVersion)
+ {
+ $this->epubBubbleVersion = $epubBubbleVersion;
+ }
+ public function getEpubBubbleVersion()
+ {
+ return $this->epubBubbleVersion;
+ }
+ public function setImageBubbleVersion($imageBubbleVersion)
+ {
+ $this->imageBubbleVersion = $imageBubbleVersion;
+ }
+ public function getImageBubbleVersion()
+ {
+ return $this->imageBubbleVersion;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeannotation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeannotation.php
new file mode 100644
index 00000000..0dc9f6a0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeannotation.php
@@ -0,0 +1,149 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Volumeannotation extends Google_Collection
+{
+ protected $collection_key = 'pageIds';
+ public $annotationDataId;
+ public $annotationDataLink;
+ public $annotationType;
+ protected $contentRangesType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeannotationContentRanges.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeannotationContentRanges.php
new file mode 100644
index 00000000..5b9c720a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeannotationContentRanges.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeannotationContentRanges extends Google_Model
+{
+ protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
+ protected $cfiRangeDataType = '';
+ public $contentVersion;
+ protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange';
+ protected $gbImageRangeDataType = '';
+ protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange';
+ protected $gbTextRangeDataType = '';
+
+ public function setCfiRange(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(Google_Service_Books_BooksAnnotationsRange $gbImageRange)
+ {
+ $this->gbImageRange = $gbImageRange;
+ }
+ public function getGbImageRange()
+ {
+ return $this->gbImageRange;
+ }
+ public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange)
+ {
+ $this->gbTextRange = $gbTextRange;
+ }
+ public function getGbTextRange()
+ {
+ return $this->gbTextRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeannotations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeannotations.php
new file mode 100644
index 00000000..f28f199a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeannotations.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Volumeannotations extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumes.php
new file mode 100644
index 00000000..89f00ff0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumes.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Volumes extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeseriesinfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeseriesinfo.php
new file mode 100644
index 00000000..555cf367
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeseriesinfo.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_Volumeseriesinfo extends Google_Collection
+{
+ protected $collection_key = 'volumeSeries';
+ public $bookDisplayNumber;
+ public $kind;
+ public $shortSeriesBookTitle;
+ protected $volumeSeriesType = 'Google_Service_Books_VolumeseriesinfoVolumeSeries';
+ protected $volumeSeriesDataType = 'array';
+
+ public function setBookDisplayNumber($bookDisplayNumber)
+ {
+ $this->bookDisplayNumber = $bookDisplayNumber;
+ }
+ public function getBookDisplayNumber()
+ {
+ return $this->bookDisplayNumber;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setShortSeriesBookTitle($shortSeriesBookTitle)
+ {
+ $this->shortSeriesBookTitle = $shortSeriesBookTitle;
+ }
+ public function getShortSeriesBookTitle()
+ {
+ return $this->shortSeriesBookTitle;
+ }
+ public function setVolumeSeries($volumeSeries)
+ {
+ $this->volumeSeries = $volumeSeries;
+ }
+ public function getVolumeSeries()
+ {
+ return $this->volumeSeries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeseriesinfoVolumeSeries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeseriesinfoVolumeSeries.php
new file mode 100644
index 00000000..f58238f5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeseriesinfoVolumeSeries.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeseriesinfoVolumeSeries extends Google_Collection
+{
+ protected $collection_key = 'issue';
+ protected $issueType = 'Google_Service_Books_VolumeseriesinfoVolumeSeriesIssue';
+ protected $issueDataType = 'array';
+ public $orderNumber;
+ public $seriesBookType;
+ public $seriesId;
+
+ public function setIssue($issue)
+ {
+ $this->issue = $issue;
+ }
+ public function getIssue()
+ {
+ return $this->issue;
+ }
+ public function setOrderNumber($orderNumber)
+ {
+ $this->orderNumber = $orderNumber;
+ }
+ public function getOrderNumber()
+ {
+ return $this->orderNumber;
+ }
+ public function setSeriesBookType($seriesBookType)
+ {
+ $this->seriesBookType = $seriesBookType;
+ }
+ public function getSeriesBookType()
+ {
+ return $this->seriesBookType;
+ }
+ public function setSeriesId($seriesId)
+ {
+ $this->seriesId = $seriesId;
+ }
+ public function getSeriesId()
+ {
+ return $this->seriesId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeseriesinfoVolumeSeriesIssue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeseriesinfoVolumeSeriesIssue.php
new file mode 100644
index 00000000..4dd85f2a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeseriesinfoVolumeSeriesIssue.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Books_VolumeseriesinfoVolumeSeriesIssue extends Google_Model
+{
+ public $issueDisplayNumber;
+ public $issueOrderNumber;
+
+ public function setIssueDisplayNumber($issueDisplayNumber)
+ {
+ $this->issueDisplayNumber = $issueDisplayNumber;
+ }
+ public function getIssueDisplayNumber()
+ {
+ return $this->issueDisplayNumber;
+ }
+ public function setIssueOrderNumber($issueOrderNumber)
+ {
+ $this->issueOrderNumber = $issueOrderNumber;
+ }
+ public function getIssueOrderNumber()
+ {
+ return $this->issueOrderNumber;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar.php
new file mode 100644
index 00000000..b1241bd1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar.php
@@ -0,0 +1,888 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Manipulates 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 Google_Service_Calendar extends 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'calendar/v3/';
+ $this->version = 'v3';
+ $this->serviceName = 'calendar';
+
+ $this->acl = new Google_Service_Calendar_Resource_Acl(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->calendarList = new Google_Service_Calendar_Resource_CalendarList(
+ $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(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'minAccessRole' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'showHidden' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'minAccessRole' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'showHidden' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->calendars = new Google_Service_Calendar_Resource_Calendars(
+ $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 Google_Service_Calendar_Resource_Channels(
+ $this,
+ $this->serviceName,
+ 'channels',
+ array(
+ 'methods' => array(
+ 'stop' => array(
+ 'path' => 'channels/stop',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->colors = new Google_Service_Calendar_Resource_Colors(
+ $this,
+ $this->serviceName,
+ 'colors',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'colors',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->events = new Google_Service_Calendar_Resource_Events(
+ $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,
+ ),
+ 'alwaysIncludeEmail' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxAttendees' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'timeZone' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'import' => array(
+ 'path' => 'calendars/{calendarId}/events/import',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'supportsAttachments' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'calendars/{calendarId}/events',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxAttendees' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'sendNotifications' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'supportsAttachments' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'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,
+ ),
+ 'alwaysIncludeEmail' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxAttendees' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'originalStart' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'timeMax' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeZone' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'calendars/{calendarId}/events',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'alwaysIncludeEmail' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'iCalUID' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxAttendees' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'privateExtendedProperty' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sharedExtendedProperty' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'showHiddenInvitations' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'singleEvents' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeMax' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeZone' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updatedMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ 'alwaysIncludeEmail' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxAttendees' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'sendNotifications' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'supportsAttachments' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'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,
+ ),
+ 'alwaysIncludeEmail' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxAttendees' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'sendNotifications' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'supportsAttachments' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'watch' => array(
+ 'path' => 'calendars/{calendarId}/events/watch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'alwaysIncludeEmail' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'iCalUID' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxAttendees' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'privateExtendedProperty' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sharedExtendedProperty' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'showHiddenInvitations' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'singleEvents' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeMax' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeZone' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updatedMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->freebusy = new Google_Service_Calendar_Resource_Freebusy(
+ $this,
+ $this->serviceName,
+ 'freebusy',
+ array(
+ 'methods' => array(
+ 'query' => array(
+ 'path' => 'freeBusy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->settings = new Google_Service_Calendar_Resource_Settings(
+ $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(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'watch' => array(
+ 'path' => 'users/me/settings/watch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Acl.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Acl.php
new file mode 100644
index 00000000..94b64d21
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Acl.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_Acl extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/AclRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/AclRule.php
new file mode 100644
index 00000000..49402b02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/AclRule.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_AclRule extends Google_Model
+{
+ public $etag;
+ public $id;
+ public $kind;
+ public $role;
+ protected $scopeType = '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(Google_Service_Calendar_AclRuleScope $scope)
+ {
+ $this->scope = $scope;
+ }
+ public function getScope()
+ {
+ return $this->scope;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/AclRuleScope.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/AclRuleScope.php
new file mode 100644
index 00000000..47a10b24
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/AclRuleScope.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_AclRuleScope extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Calendar.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Calendar.php
new file mode 100644
index 00000000..a2bc1e00
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Calendar.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_Calendar extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarList.php
new file mode 100644
index 00000000..79281326
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_CalendarList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarListEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarListEntry.php
new file mode 100644
index 00000000..eb7584b0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarListEntry.php
@@ -0,0 +1,186 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_CalendarListEntry extends Google_Collection
+{
+ protected $collection_key = 'defaultReminders';
+ public $accessRole;
+ public $backgroundColor;
+ public $colorId;
+ protected $defaultRemindersType = '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 = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarListEntryNotificationSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarListEntryNotificationSettings.php
new file mode 100644
index 00000000..06a9130d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarListEntryNotificationSettings.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_CalendarListEntryNotificationSettings extends Google_Collection
+{
+ protected $collection_key = 'notifications';
+ protected $notificationsType = 'Google_Service_Calendar_CalendarNotification';
+ protected $notificationsDataType = 'array';
+
+ public function setNotifications($notifications)
+ {
+ $this->notifications = $notifications;
+ }
+ public function getNotifications()
+ {
+ return $this->notifications;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarNotification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarNotification.php
new file mode 100644
index 00000000..7afe4dc9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarNotification.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_CalendarNotification extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Channel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Channel.php
new file mode 100644
index 00000000..cbf151c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Channel.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_Channel extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/ColorDefinition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/ColorDefinition.php
new file mode 100644
index 00000000..f42fd3b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/ColorDefinition.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_ColorDefinition extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Colors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Colors.php
new file mode 100644
index 00000000..1e330ab7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Colors.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_Colors extends Google_Model
+{
+ protected $calendarType = 'Google_Service_Calendar_ColorDefinition';
+ protected $calendarDataType = 'map';
+ protected $eventType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Error.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Error.php
new file mode 100644
index 00000000..22d09b72
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Error.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_Error extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Event.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Event.php
new file mode 100644
index 00000000..2d0a00c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Event.php
@@ -0,0 +1,366 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_Event extends Google_Collection
+{
+ protected $collection_key = 'recurrence';
+ public $anyoneCanAddSelf;
+ protected $attachmentsType = 'Google_Service_Calendar_EventAttachment';
+ protected $attachmentsDataType = 'array';
+ protected $attendeesType = 'Google_Service_Calendar_EventAttendee';
+ protected $attendeesDataType = 'array';
+ public $attendeesOmitted;
+ public $colorId;
+ public $created;
+ protected $creatorType = 'Google_Service_Calendar_EventCreator';
+ protected $creatorDataType = '';
+ public $description;
+ protected $endType = 'Google_Service_Calendar_EventDateTime';
+ protected $endDataType = '';
+ public $endTimeUnspecified;
+ public $etag;
+ protected $extendedPropertiesType = 'Google_Service_Calendar_EventExtendedProperties';
+ protected $extendedPropertiesDataType = '';
+ protected $gadgetType = '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 = 'Google_Service_Calendar_EventOrganizer';
+ protected $organizerDataType = '';
+ protected $originalStartTimeType = 'Google_Service_Calendar_EventDateTime';
+ protected $originalStartTimeDataType = '';
+ public $privateCopy;
+ public $recurrence;
+ public $recurringEventId;
+ protected $remindersType = 'Google_Service_Calendar_EventReminders';
+ protected $remindersDataType = '';
+ public $sequence;
+ protected $sourceType = 'Google_Service_Calendar_EventSource';
+ protected $sourceDataType = '';
+ protected $startType = '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 setAttachments($attachments)
+ {
+ $this->attachments = $attachments;
+ }
+ public function getAttachments()
+ {
+ return $this->attachments;
+ }
+ 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(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(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(Google_Service_Calendar_EventExtendedProperties $extendedProperties)
+ {
+ $this->extendedProperties = $extendedProperties;
+ }
+ public function getExtendedProperties()
+ {
+ return $this->extendedProperties;
+ }
+ public function setGadget(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(Google_Service_Calendar_EventOrganizer $organizer)
+ {
+ $this->organizer = $organizer;
+ }
+ public function getOrganizer()
+ {
+ return $this->organizer;
+ }
+ public function setOriginalStartTime(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(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(Google_Service_Calendar_EventSource $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setStart(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventAttachment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventAttachment.php
new file mode 100644
index 00000000..8f3d6e24
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventAttachment.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_EventAttachment extends Google_Model
+{
+ public $fileId;
+ public $fileUrl;
+ public $iconLink;
+ public $mimeType;
+ public $title;
+
+ public function setFileId($fileId)
+ {
+ $this->fileId = $fileId;
+ }
+ public function getFileId()
+ {
+ return $this->fileId;
+ }
+ public function setFileUrl($fileUrl)
+ {
+ $this->fileUrl = $fileUrl;
+ }
+ public function getFileUrl()
+ {
+ return $this->fileUrl;
+ }
+ public function setIconLink($iconLink)
+ {
+ $this->iconLink = $iconLink;
+ }
+ public function getIconLink()
+ {
+ return $this->iconLink;
+ }
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventAttendee.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventAttendee.php
new file mode 100644
index 00000000..78572b03
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventAttendee.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_EventAttendee extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventCreator.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventCreator.php
new file mode 100644
index 00000000..5ab38f69
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventCreator.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_EventCreator extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventDateTime.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventDateTime.php
new file mode 100644
index 00000000..f47a3772
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventDateTime.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_EventDateTime extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventExtendedProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventExtendedProperties.php
new file mode 100644
index 00000000..7efb26d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventExtendedProperties.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_EventExtendedProperties extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventGadget.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventGadget.php
new file mode 100644
index 00000000..78844e5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventGadget.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_EventGadget extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventOrganizer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventOrganizer.php
new file mode 100644
index 00000000..5f3a658b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventOrganizer.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_EventOrganizer extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventReminder.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventReminder.php
new file mode 100644
index 00000000..3ad8c1ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventReminder.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_EventReminder extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventReminders.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventReminders.php
new file mode 100644
index 00000000..d2f4c2a1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventReminders.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_EventReminders extends Google_Collection
+{
+ protected $collection_key = 'overrides';
+ protected $overridesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventSource.php
new file mode 100644
index 00000000..f209c172
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventSource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_EventSource extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Events.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Events.php
new file mode 100644
index 00000000..ee9e5be2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Events.php
@@ -0,0 +1,123 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_Events extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $accessRole;
+ protected $defaultRemindersType = 'Google_Service_Calendar_EventReminder';
+ protected $defaultRemindersDataType = 'array';
+ public $description;
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyCalendar.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyCalendar.php
new file mode 100644
index 00000000..6fe872eb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyCalendar.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_FreeBusyCalendar extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $busyType = 'Google_Service_Calendar_TimePeriod';
+ protected $busyDataType = 'array';
+ protected $errorsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyGroup.php
new file mode 100644
index 00000000..b1f95ea8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyGroup.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_FreeBusyGroup extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ public $calendars;
+ protected $errorsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyRequest.php
new file mode 100644
index 00000000..c0ffd291
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyRequest.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_FreeBusyRequest extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $calendarExpansionMax;
+ public $groupExpansionMax;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyRequestItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyRequestItem.php
new file mode 100644
index 00000000..f67c9eb2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyRequestItem.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_FreeBusyRequestItem extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyResponse.php
new file mode 100644
index 00000000..cfa74d8d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyResponse.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_FreeBusyResponse extends Google_Model
+{
+ protected $calendarsType = 'Google_Service_Calendar_FreeBusyCalendar';
+ protected $calendarsDataType = 'map';
+ protected $groupsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Acl.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Acl.php
new file mode 100644
index 00000000..3d1b6650
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Acl.php
@@ -0,0 +1,177 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "acl" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $calendarService = new Google_Service_Calendar(...);
+ * $acl = $calendarService->acl;
+ * </code>
+ */
+class Google_Service_Calendar_Resource_Acl extends Google_Service_Resource
+{
+ /**
+ * Deletes an access control rule. (acl.delete)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @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. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param string $ruleId ACL rule identifier.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Calendar_AclRule");
+ }
+ /**
+ * Creates an access control rule. (acl.insert)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param Google_Service_Calendar_AclRule $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Calendar_AclRule
+ */
+ public function insert($calendarId, Google_Service_Calendar_AclRule $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Calendar_AclRule");
+ }
+ /**
+ * Returns the rules in the access control list for the calendar. (acl.listAcl)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param array $optParams Optional parameters.
+ *
+ * @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 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.
+ * @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.
+ * @return 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), "Google_Service_Calendar_Acl");
+ }
+ /**
+ * Updates an access control rule. This method supports patch semantics.
+ * (acl.patch)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param string $ruleId ACL rule identifier.
+ * @param Google_Service_Calendar_AclRule $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Calendar_AclRule
+ */
+ public function patch($calendarId, $ruleId, 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), "Google_Service_Calendar_AclRule");
+ }
+ /**
+ * Updates an access control rule. (acl.update)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param string $ruleId ACL rule identifier.
+ * @param Google_Service_Calendar_AclRule $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Calendar_AclRule
+ */
+ public function update($calendarId, $ruleId, 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), "Google_Service_Calendar_AclRule");
+ }
+ /**
+ * Watch for changes to ACL resources. (acl.watch)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param Google_Service_Calendar_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @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 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.
+ * @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.
+ * @return Google_Service_Calendar_Channel
+ */
+ public function watch($calendarId, Google_Service_Calendar_Channel $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Google_Service_Calendar_Channel");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/CalendarList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/CalendarList.php
new file mode 100644
index 00000000..751b2b1a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/CalendarList.php
@@ -0,0 +1,191 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "calendarList" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $calendarService = new Google_Service_Calendar(...);
+ * $calendarList = $calendarService->calendarList;
+ * </code>
+ */
+class Google_Service_Calendar_Resource_CalendarList extends Google_Service_Resource
+{
+ /**
+ * Deletes an entry on the user's calendar list. (calendarList.delete)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @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. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Calendar_CalendarListEntry");
+ }
+ /**
+ * Adds an entry to the user's calendar list. (calendarList.insert)
+ *
+ * @param Google_Service_Calendar_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 Google_Service_Calendar_CalendarListEntry
+ */
+ public function insert(Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Calendar_CalendarListEntry");
+ }
+ /**
+ * Returns entries on the user's calendar list. (calendarList.listCalendarList)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @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 minAccessRole The minimum access role for the user in the
+ * returned entries. Optional. The default is no restriction.
+ * @opt_param string pageToken Token specifying which result page to return.
+ * Optional.
+ * @opt_param bool showDeleted Whether to include deleted calendar list entries
+ * in the result. Optional. The default is False.
+ * @opt_param bool showHidden Whether to show hidden entries. 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. 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.
+ * @return Google_Service_Calendar_CalendarList
+ */
+ public function listCalendarList($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "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. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param Google_Service_Calendar_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 Google_Service_Calendar_CalendarListEntry
+ */
+ public function patch($calendarId, Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Calendar_CalendarListEntry");
+ }
+ /**
+ * Updates an entry on the user's calendar list. (calendarList.update)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param Google_Service_Calendar_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 Google_Service_Calendar_CalendarListEntry
+ */
+ public function update($calendarId, Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Calendar_CalendarListEntry");
+ }
+ /**
+ * Watch for changes to CalendarList resources. (calendarList.watch)
+ *
+ * @param Google_Service_Calendar_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @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 minAccessRole The minimum access role for the user in the
+ * returned entries. Optional. The default is no restriction.
+ * @opt_param string pageToken Token specifying which result page to return.
+ * Optional.
+ * @opt_param bool showDeleted Whether to include deleted calendar list entries
+ * in the result. Optional. The default is False.
+ * @opt_param bool showHidden Whether to show hidden entries. 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. 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.
+ * @return Google_Service_Calendar_Channel
+ */
+ public function watch(Google_Service_Calendar_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Google_Service_Calendar_Channel");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Calendars.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Calendars.php
new file mode 100644
index 00000000..9471e9b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Calendars.php
@@ -0,0 +1,119 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "calendars" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $calendarService = new Google_Service_Calendar(...);
+ * $calendars = $calendarService->calendars;
+ * </code>
+ */
+class Google_Service_Calendar_Resource_Calendars extends Google_Service_Resource
+{
+ /**
+ * Clears a primary calendar. This operation deletes all events associated with
+ * the primary calendar of an account. (calendars.clear)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @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. Use calendars.clear for clearing all events on
+ * primary calendars. (calendars.delete)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @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. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Calendar_Calendar");
+ }
+ /**
+ * Creates a secondary calendar. (calendars.insert)
+ *
+ * @param Google_Service_Calendar_Calendar $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Calendar_Calendar
+ */
+ public function insert(Google_Service_Calendar_Calendar $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Calendar_Calendar");
+ }
+ /**
+ * Updates metadata for a calendar. This method supports patch semantics.
+ * (calendars.patch)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param Google_Service_Calendar_Calendar $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Calendar_Calendar
+ */
+ public function patch($calendarId, Google_Service_Calendar_Calendar $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Calendar_Calendar");
+ }
+ /**
+ * Updates metadata for a calendar. (calendars.update)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param Google_Service_Calendar_Calendar $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Calendar_Calendar
+ */
+ public function update($calendarId, Google_Service_Calendar_Calendar $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Calendar_Calendar");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Channels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Channels.php
new file mode 100644
index 00000000..35254316
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Channels.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "channels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $calendarService = new Google_Service_Calendar(...);
+ * $channels = $calendarService->channels;
+ * </code>
+ */
+class Google_Service_Calendar_Resource_Channels extends Google_Service_Resource
+{
+ /**
+ * Stop watching resources through this channel (channels.stop)
+ *
+ * @param Google_Service_Calendar_Channel $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function stop(Google_Service_Calendar_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Colors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Colors.php
new file mode 100644
index 00000000..4d281a04
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Colors.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "colors" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $calendarService = new Google_Service_Calendar(...);
+ * $colors = $calendarService->colors;
+ * </code>
+ */
+class Google_Service_Calendar_Resource_Colors extends Google_Service_Resource
+{
+ /**
+ * Returns the color definitions for calendars and events. (colors.get)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Calendar_Colors
+ */
+ public function get($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Calendar_Colors");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Events.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Events.php
new file mode 100644
index 00000000..53c89ce6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Events.php
@@ -0,0 +1,440 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "events" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $calendarService = new Google_Service_Calendar(...);
+ * $events = $calendarService->events;
+ * </code>
+ */
+class Google_Service_Calendar_Resource_Events extends Google_Service_Resource
+{
+ /**
+ * Deletes an event. (events.delete)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @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. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param string $eventId Event identifier.
+ * @param array $optParams Optional parameters.
+ *
+ * @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.
+ * @opt_param string timeZone Time zone used in the response. Optional. The
+ * default is the time zone of the calendar.
+ * @return 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), "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. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param Google_Service_Calendar_Event $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool supportsAttachments Whether API client performing operation
+ * supports event attachments. Optional. The default is False.
+ * @return Google_Service_Calendar_Event
+ */
+ public function import($calendarId, Google_Service_Calendar_Event $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('import', array($params), "Google_Service_Calendar_Event");
+ }
+ /**
+ * Creates an event. (events.insert)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param Google_Service_Calendar_Event $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @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.
+ * @opt_param bool sendNotifications Whether to send notifications about the
+ * creation of the new event. Optional. The default is False.
+ * @opt_param bool supportsAttachments Whether API client performing operation
+ * supports event attachments. Optional. The default is False.
+ * @return Google_Service_Calendar_Event
+ */
+ public function insert($calendarId, Google_Service_Calendar_Event $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Calendar_Event");
+ }
+ /**
+ * Returns instances of the specified recurring event. (events.instances)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param string $eventId Recurring event identifier.
+ * @param array $optParams Optional parameters.
+ *
+ * @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.
+ * @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 originalStart The original start time of the instance in
+ * the result. Optional.
+ * @opt_param string pageToken Token specifying which result page to return.
+ * Optional.
+ * @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. Must be
+ * an RFC3339 timestamp with mandatory time zone offset.
+ * @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. Must be an
+ * RFC3339 timestamp with mandatory time zone offset.
+ * @opt_param string timeZone Time zone used in the response. Optional. The
+ * default is the time zone of the calendar.
+ * @return 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), "Google_Service_Calendar_Events");
+ }
+ /**
+ * Returns events on the specified calendar. (events.listEvents)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param array $optParams Optional parameters.
+ *
+ * @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 string iCalUID Specifies event ID in the iCalendar format to be
+ * included in the response. 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.
+ * @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 orderBy The order of the events returned in the result.
+ * Optional. The default is an unspecified, stable order.
+ * @opt_param string pageToken Token specifying which result page to return.
+ * Optional.
+ * @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 q Free text search terms to find events that match these
+ * terms in any field, except for extended properties. Optional.
+ * @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 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 bool showHiddenInvitations Whether to include hidden invitations
+ * in the result. Optional. The default is False.
+ * @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 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 string timeMax Upper bound (exclusive) for an event's start time
+ * to filter by. Optional. The default is not to filter by start time. Must be
+ * an RFC3339 timestamp with mandatory time zone offset, e.g.,
+ * 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided
+ * but will be ignored.
+ * @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. Must be an
+ * RFC3339 timestamp with mandatory time zone offset, e.g.,
+ * 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided
+ * but will be ignored.
+ * @opt_param string timeZone Time zone used in the response. Optional. The
+ * default is the time zone of the calendar.
+ * @opt_param string updatedMin Lower bound for an event's last modification
+ * time (as a RFC3339 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.
+ * @return 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), "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 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), "Google_Service_Calendar_Event");
+ }
+ /**
+ * Updates an event. This method supports patch semantics. (events.patch)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param string $eventId Event identifier.
+ * @param Google_Service_Calendar_Event $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @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.
+ * @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 supportsAttachments Whether API client performing operation
+ * supports event attachments. Optional. The default is False.
+ * @return Google_Service_Calendar_Event
+ */
+ public function patch($calendarId, $eventId, 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), "Google_Service_Calendar_Event");
+ }
+ /**
+ * Creates an event based on a simple text string. (events.quickAdd)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @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 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), "Google_Service_Calendar_Event");
+ }
+ /**
+ * Updates an event. (events.update)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param string $eventId Event identifier.
+ * @param Google_Service_Calendar_Event $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @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.
+ * @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 supportsAttachments Whether API client performing operation
+ * supports event attachments. Optional. The default is False.
+ * @return Google_Service_Calendar_Event
+ */
+ public function update($calendarId, $eventId, 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), "Google_Service_Calendar_Event");
+ }
+ /**
+ * Watch for changes to Events resources. (events.watch)
+ *
+ * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+ * the calendarList.list method. If you want to access the primary calendar of
+ * the currently logged in user, use the "primary" keyword.
+ * @param Google_Service_Calendar_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @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 string iCalUID Specifies event ID in the iCalendar format to be
+ * included in the response. 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.
+ * @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 orderBy The order of the events returned in the result.
+ * Optional. The default is an unspecified, stable order.
+ * @opt_param string pageToken Token specifying which result page to return.
+ * Optional.
+ * @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 q Free text search terms to find events that match these
+ * terms in any field, except for extended properties. Optional.
+ * @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 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 bool showHiddenInvitations Whether to include hidden invitations
+ * in the result. Optional. The default is False.
+ * @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 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 string timeMax Upper bound (exclusive) for an event's start time
+ * to filter by. Optional. The default is not to filter by start time. Must be
+ * an RFC3339 timestamp with mandatory time zone offset, e.g.,
+ * 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided
+ * but will be ignored.
+ * @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. Must be an
+ * RFC3339 timestamp with mandatory time zone offset, e.g.,
+ * 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided
+ * but will be ignored.
+ * @opt_param string timeZone Time zone used in the response. Optional. The
+ * default is the time zone of the calendar.
+ * @opt_param string updatedMin Lower bound for an event's last modification
+ * time (as a RFC3339 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.
+ * @return Google_Service_Calendar_Channel
+ */
+ public function watch($calendarId, Google_Service_Calendar_Channel $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Google_Service_Calendar_Channel");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Freebusy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Freebusy.php
new file mode 100644
index 00000000..76791c78
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Freebusy.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "freebusy" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $calendarService = new Google_Service_Calendar(...);
+ * $freebusy = $calendarService->freebusy;
+ * </code>
+ */
+class Google_Service_Calendar_Resource_Freebusy extends Google_Service_Resource
+{
+ /**
+ * Returns free/busy information for a set of calendars. (freebusy.query)
+ *
+ * @param Google_Service_Calendar_FreeBusyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Calendar_FreeBusyResponse
+ */
+ public function query(Google_Service_Calendar_FreeBusyRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('query', array($params), "Google_Service_Calendar_FreeBusyResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Settings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Settings.php
new file mode 100644
index 00000000..1b2a9370
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Settings.php
@@ -0,0 +1,92 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "settings" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $calendarService = new Google_Service_Calendar(...);
+ * $settings = $calendarService->settings;
+ * </code>
+ */
+class Google_Service_Calendar_Resource_Settings extends 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 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), "Google_Service_Calendar_Setting");
+ }
+ /**
+ * Returns all user settings for the authenticated user. (settings.listSettings)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @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 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 Google_Service_Calendar_Settings
+ */
+ public function listSettings($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Calendar_Settings");
+ }
+ /**
+ * Watch for changes to Settings resources. (settings.watch)
+ *
+ * @param Google_Service_Calendar_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @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 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 Google_Service_Calendar_Channel
+ */
+ public function watch(Google_Service_Calendar_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Google_Service_Calendar_Channel");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Setting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Setting.php
new file mode 100644
index 00000000..3e4ae0b9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Setting.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_Setting extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Settings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Settings.php
new file mode 100644
index 00000000..fa0d9334
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Settings.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_Settings extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/TimePeriod.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/TimePeriod.php
new file mode 100644
index 00000000..91bda8a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/TimePeriod.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Calendar_TimePeriod extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo.php
new file mode 100644
index 00000000..8f9d7b8d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo.php
@@ -0,0 +1,166 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Provides polling places, early vote locations, contest data, election
+ * officials, and government representatives for U.S. residential addresses.</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 Google_Service_CivicInfo extends Google_Service
+{
+
+
+ public $divisions;
+ public $elections;
+ public $representatives;
+
+ /**
+ * Constructs the internal representation of the CivicInfo service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'civicinfo/v2/';
+ $this->version = 'v2';
+ $this->serviceName = 'civicinfo';
+
+ $this->divisions = new Google_Service_CivicInfo_Resource_Divisions(
+ $this,
+ $this->serviceName,
+ 'divisions',
+ array(
+ 'methods' => array(
+ 'search' => array(
+ 'path' => 'divisions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->elections = new Google_Service_CivicInfo_Resource_Elections(
+ $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',
+ ),
+ 'returnAllAvailableData' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->representatives = new Google_Service_CivicInfo_Resource_Representatives(
+ $this,
+ $this->serviceName,
+ 'representatives',
+ array(
+ 'methods' => array(
+ 'representativeInfoByAddress' => array(
+ 'path' => 'representatives',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'address' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeOffices' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'levels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'roles' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/AdministrationRegion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/AdministrationRegion.php
new file mode 100644
index 00000000..ca275283
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/AdministrationRegion.php
@@ -0,0 +1,73 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_AdministrationRegion extends Google_Collection
+{
+ protected $collection_key = 'sources';
+ protected $internal_gapi_mappings = array(
+ "localJurisdiction" => "local_jurisdiction",
+ );
+ protected $electionAdministrationBodyType = 'Google_Service_CivicInfo_AdministrativeBody';
+ protected $electionAdministrationBodyDataType = '';
+ public $id;
+ protected $localJurisdictionType = 'Google_Service_CivicInfo_AdministrationRegion';
+ protected $localJurisdictionDataType = '';
+ public $name;
+ protected $sourcesType = 'Google_Service_CivicInfo_Source';
+ protected $sourcesDataType = 'array';
+
+ public function setElectionAdministrationBody(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/AdministrativeBody.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/AdministrativeBody.php
new file mode 100644
index 00000000..60c3a4a0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/AdministrativeBody.php
@@ -0,0 +1,154 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_AdministrativeBody extends Google_Collection
+{
+ protected $collection_key = 'voter_services';
+ protected $internal_gapi_mappings = array(
+ "voterServices" => "voter_services",
+ );
+ public $absenteeVotingInfoUrl;
+ public $addressLines;
+ public $ballotInfoUrl;
+ protected $correspondenceAddressType = 'Google_Service_CivicInfo_SimpleAddressType';
+ protected $correspondenceAddressDataType = '';
+ public $electionInfoUrl;
+ protected $electionOfficialsType = 'Google_Service_CivicInfo_ElectionOfficial';
+ protected $electionOfficialsDataType = 'array';
+ public $electionRegistrationConfirmationUrl;
+ public $electionRegistrationUrl;
+ public $electionRulesUrl;
+ public $hoursOfOperation;
+ public $name;
+ protected $physicalAddressType = '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 setAddressLines($addressLines)
+ {
+ $this->addressLines = $addressLines;
+ }
+ public function getAddressLines()
+ {
+ return $this->addressLines;
+ }
+ public function setBallotInfoUrl($ballotInfoUrl)
+ {
+ $this->ballotInfoUrl = $ballotInfoUrl;
+ }
+ public function getBallotInfoUrl()
+ {
+ return $this->ballotInfoUrl;
+ }
+ public function setCorrespondenceAddress(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Candidate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Candidate.php
new file mode 100644
index 00000000..8f5ff7d3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Candidate.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_Candidate extends Google_Collection
+{
+ protected $collection_key = 'channels';
+ public $candidateUrl;
+ protected $channelsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Channel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Channel.php
new file mode 100644
index 00000000..3d4d6731
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Channel.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_Channel extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Contest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Contest.php
new file mode 100644
index 00000000..c555ce04
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Contest.php
@@ -0,0 +1,241 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_Contest extends Google_Collection
+{
+ protected $collection_key = 'sources';
+ public $ballotPlacement;
+ protected $candidatesType = 'Google_Service_CivicInfo_Candidate';
+ protected $candidatesDataType = 'array';
+ protected $districtType = 'Google_Service_CivicInfo_ElectoralDistrict';
+ protected $districtDataType = '';
+ public $electorateSpecifications;
+ public $id;
+ public $level;
+ public $numberElected;
+ public $numberVotingFor;
+ public $office;
+ public $primaryParty;
+ public $referendumBallotResponses;
+ public $referendumBrief;
+ public $referendumConStatement;
+ public $referendumEffectOfAbstain;
+ public $referendumPassageThreshold;
+ public $referendumProStatement;
+ public $referendumSubtitle;
+ public $referendumText;
+ public $referendumTitle;
+ public $referendumUrl;
+ public $roles;
+ protected $sourcesType = '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(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 setReferendumBallotResponses($referendumBallotResponses)
+ {
+ $this->referendumBallotResponses = $referendumBallotResponses;
+ }
+ public function getReferendumBallotResponses()
+ {
+ return $this->referendumBallotResponses;
+ }
+ public function setReferendumBrief($referendumBrief)
+ {
+ $this->referendumBrief = $referendumBrief;
+ }
+ public function getReferendumBrief()
+ {
+ return $this->referendumBrief;
+ }
+ public function setReferendumConStatement($referendumConStatement)
+ {
+ $this->referendumConStatement = $referendumConStatement;
+ }
+ public function getReferendumConStatement()
+ {
+ return $this->referendumConStatement;
+ }
+ public function setReferendumEffectOfAbstain($referendumEffectOfAbstain)
+ {
+ $this->referendumEffectOfAbstain = $referendumEffectOfAbstain;
+ }
+ public function getReferendumEffectOfAbstain()
+ {
+ return $this->referendumEffectOfAbstain;
+ }
+ public function setReferendumPassageThreshold($referendumPassageThreshold)
+ {
+ $this->referendumPassageThreshold = $referendumPassageThreshold;
+ }
+ public function getReferendumPassageThreshold()
+ {
+ return $this->referendumPassageThreshold;
+ }
+ public function setReferendumProStatement($referendumProStatement)
+ {
+ $this->referendumProStatement = $referendumProStatement;
+ }
+ public function getReferendumProStatement()
+ {
+ return $this->referendumProStatement;
+ }
+ public function setReferendumSubtitle($referendumSubtitle)
+ {
+ $this->referendumSubtitle = $referendumSubtitle;
+ }
+ public function getReferendumSubtitle()
+ {
+ return $this->referendumSubtitle;
+ }
+ public function setReferendumText($referendumText)
+ {
+ $this->referendumText = $referendumText;
+ }
+ public function getReferendumText()
+ {
+ return $this->referendumText;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ContextParams.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ContextParams.php
new file mode 100644
index 00000000..e3ac07e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ContextParams.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_ContextParams extends Google_Model
+{
+ public $clientProfile;
+
+ public function setClientProfile($clientProfile)
+ {
+ $this->clientProfile = $clientProfile;
+ }
+ public function getClientProfile()
+ {
+ return $this->clientProfile;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionRepresentativeInfoRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionRepresentativeInfoRequest.php
new file mode 100644
index 00000000..db9fe2d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionRepresentativeInfoRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_DivisionRepresentativeInfoRequest extends Google_Model
+{
+ protected $contextParamsType = 'Google_Service_CivicInfo_ContextParams';
+ protected $contextParamsDataType = '';
+
+ public function setContextParams(Google_Service_CivicInfo_ContextParams $contextParams)
+ {
+ $this->contextParams = $contextParams;
+ }
+ public function getContextParams()
+ {
+ return $this->contextParams;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchRequest.php
new file mode 100644
index 00000000..60a04708
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_DivisionSearchRequest extends Google_Model
+{
+ protected $contextParamsType = 'Google_Service_CivicInfo_ContextParams';
+ protected $contextParamsDataType = '';
+
+ public function setContextParams(Google_Service_CivicInfo_ContextParams $contextParams)
+ {
+ $this->contextParams = $contextParams;
+ }
+ public function getContextParams()
+ {
+ return $this->contextParams;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchResponse.php
new file mode 100644
index 00000000..8cee4cf9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_DivisionSearchResponse extends Google_Collection
+{
+ protected $collection_key = 'results';
+ public $kind;
+ protected $resultsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchResult.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchResult.php
new file mode 100644
index 00000000..390937ad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchResult.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_DivisionSearchResult extends Google_Collection
+{
+ protected $collection_key = 'aliases';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Election.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Election.php
new file mode 100644
index 00000000..aec7e7f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Election.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_Election extends Google_Model
+{
+ public $electionDay;
+ public $id;
+ public $name;
+ public $ocdDivisionId;
+
+ 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;
+ }
+ public function setOcdDivisionId($ocdDivisionId)
+ {
+ $this->ocdDivisionId = $ocdDivisionId;
+ }
+ public function getOcdDivisionId()
+ {
+ return $this->ocdDivisionId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionOfficial.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionOfficial.php
new file mode 100644
index 00000000..228f6065
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionOfficial.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_ElectionOfficial extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionsQueryRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionsQueryRequest.php
new file mode 100644
index 00000000..aa458541
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionsQueryRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_ElectionsQueryRequest extends Google_Model
+{
+ protected $contextParamsType = 'Google_Service_CivicInfo_ContextParams';
+ protected $contextParamsDataType = '';
+
+ public function setContextParams(Google_Service_CivicInfo_ContextParams $contextParams)
+ {
+ $this->contextParams = $contextParams;
+ }
+ public function getContextParams()
+ {
+ return $this->contextParams;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionsQueryResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionsQueryResponse.php
new file mode 100644
index 00000000..a13b9867
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionsQueryResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_ElectionsQueryResponse extends Google_Collection
+{
+ protected $collection_key = 'elections';
+ protected $electionsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectoralDistrict.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectoralDistrict.php
new file mode 100644
index 00000000..29dac57c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectoralDistrict.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_ElectoralDistrict extends Google_Model
+{
+ public $id;
+ public $kgForeignKey;
+ public $name;
+ public $scope;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKgForeignKey($kgForeignKey)
+ {
+ $this->kgForeignKey = $kgForeignKey;
+ }
+ public function getKgForeignKey()
+ {
+ return $this->kgForeignKey;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/GeographicDivision.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/GeographicDivision.php
new file mode 100644
index 00000000..6f10d919
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/GeographicDivision.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_GeographicDivision extends Google_Collection
+{
+ protected $collection_key = 'officeIndices';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Office.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Office.php
new file mode 100644
index 00000000..f5c35439
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Office.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_Office extends Google_Collection
+{
+ protected $collection_key = 'sources';
+ public $divisionId;
+ public $levels;
+ public $name;
+ public $officialIndices;
+ public $roles;
+ protected $sourcesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Official.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Official.php
new file mode 100644
index 00000000..ac7aa629
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Official.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_Official extends Google_Collection
+{
+ protected $collection_key = 'urls';
+ protected $addressType = 'Google_Service_CivicInfo_SimpleAddressType';
+ protected $addressDataType = 'array';
+ protected $channelsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/PollingLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/PollingLocation.php
new file mode 100644
index 00000000..b7f8e064
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/PollingLocation.php
@@ -0,0 +1,105 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_PollingLocation extends Google_Collection
+{
+ protected $collection_key = 'sources';
+ protected $addressType = 'Google_Service_CivicInfo_SimpleAddressType';
+ protected $addressDataType = '';
+ public $endDate;
+ public $id;
+ public $name;
+ public $notes;
+ public $pollingHours;
+ protected $sourcesType = 'Google_Service_CivicInfo_Source';
+ protected $sourcesDataType = 'array';
+ public $startDate;
+ public $voterServices;
+
+ public function setAddress(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/PostalAddress.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/PostalAddress.php
new file mode 100644
index 00000000..c0f85ca6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/PostalAddress.php
@@ -0,0 +1,301 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_PostalAddress extends Google_Collection
+{
+ protected $collection_key = 'addressLines';
+ public $addressLines;
+ public $administrativeAreaName;
+ public $countryName;
+ public $countryNameCode;
+ public $dependentLocalityName;
+ public $dependentThoroughfareLeadingType;
+ public $dependentThoroughfareName;
+ public $dependentThoroughfarePostDirection;
+ public $dependentThoroughfarePreDirection;
+ public $dependentThoroughfareTrailingType;
+ public $dependentThoroughfaresConnector;
+ public $dependentThoroughfaresIndicator;
+ public $dependentThoroughfaresType;
+ public $firmName;
+ public $isDisputed;
+ public $languageCode;
+ public $localityName;
+ public $postBoxNumber;
+ public $postalCodeNumber;
+ public $postalCodeNumberExtension;
+ public $premiseName;
+ public $recipientName;
+ public $sortingCode;
+ public $subAdministrativeAreaName;
+ public $subPremiseName;
+ public $thoroughfareLeadingType;
+ public $thoroughfareName;
+ public $thoroughfareNumber;
+ public $thoroughfarePostDirection;
+ public $thoroughfarePreDirection;
+ public $thoroughfareTrailingType;
+
+ public function setAddressLines($addressLines)
+ {
+ $this->addressLines = $addressLines;
+ }
+ public function getAddressLines()
+ {
+ return $this->addressLines;
+ }
+ public function setAdministrativeAreaName($administrativeAreaName)
+ {
+ $this->administrativeAreaName = $administrativeAreaName;
+ }
+ public function getAdministrativeAreaName()
+ {
+ return $this->administrativeAreaName;
+ }
+ public function setCountryName($countryName)
+ {
+ $this->countryName = $countryName;
+ }
+ public function getCountryName()
+ {
+ return $this->countryName;
+ }
+ public function setCountryNameCode($countryNameCode)
+ {
+ $this->countryNameCode = $countryNameCode;
+ }
+ public function getCountryNameCode()
+ {
+ return $this->countryNameCode;
+ }
+ public function setDependentLocalityName($dependentLocalityName)
+ {
+ $this->dependentLocalityName = $dependentLocalityName;
+ }
+ public function getDependentLocalityName()
+ {
+ return $this->dependentLocalityName;
+ }
+ public function setDependentThoroughfareLeadingType($dependentThoroughfareLeadingType)
+ {
+ $this->dependentThoroughfareLeadingType = $dependentThoroughfareLeadingType;
+ }
+ public function getDependentThoroughfareLeadingType()
+ {
+ return $this->dependentThoroughfareLeadingType;
+ }
+ public function setDependentThoroughfareName($dependentThoroughfareName)
+ {
+ $this->dependentThoroughfareName = $dependentThoroughfareName;
+ }
+ public function getDependentThoroughfareName()
+ {
+ return $this->dependentThoroughfareName;
+ }
+ public function setDependentThoroughfarePostDirection($dependentThoroughfarePostDirection)
+ {
+ $this->dependentThoroughfarePostDirection = $dependentThoroughfarePostDirection;
+ }
+ public function getDependentThoroughfarePostDirection()
+ {
+ return $this->dependentThoroughfarePostDirection;
+ }
+ public function setDependentThoroughfarePreDirection($dependentThoroughfarePreDirection)
+ {
+ $this->dependentThoroughfarePreDirection = $dependentThoroughfarePreDirection;
+ }
+ public function getDependentThoroughfarePreDirection()
+ {
+ return $this->dependentThoroughfarePreDirection;
+ }
+ public function setDependentThoroughfareTrailingType($dependentThoroughfareTrailingType)
+ {
+ $this->dependentThoroughfareTrailingType = $dependentThoroughfareTrailingType;
+ }
+ public function getDependentThoroughfareTrailingType()
+ {
+ return $this->dependentThoroughfareTrailingType;
+ }
+ public function setDependentThoroughfaresConnector($dependentThoroughfaresConnector)
+ {
+ $this->dependentThoroughfaresConnector = $dependentThoroughfaresConnector;
+ }
+ public function getDependentThoroughfaresConnector()
+ {
+ return $this->dependentThoroughfaresConnector;
+ }
+ public function setDependentThoroughfaresIndicator($dependentThoroughfaresIndicator)
+ {
+ $this->dependentThoroughfaresIndicator = $dependentThoroughfaresIndicator;
+ }
+ public function getDependentThoroughfaresIndicator()
+ {
+ return $this->dependentThoroughfaresIndicator;
+ }
+ public function setDependentThoroughfaresType($dependentThoroughfaresType)
+ {
+ $this->dependentThoroughfaresType = $dependentThoroughfaresType;
+ }
+ public function getDependentThoroughfaresType()
+ {
+ return $this->dependentThoroughfaresType;
+ }
+ public function setFirmName($firmName)
+ {
+ $this->firmName = $firmName;
+ }
+ public function getFirmName()
+ {
+ return $this->firmName;
+ }
+ public function setIsDisputed($isDisputed)
+ {
+ $this->isDisputed = $isDisputed;
+ }
+ public function getIsDisputed()
+ {
+ return $this->isDisputed;
+ }
+ public function setLanguageCode($languageCode)
+ {
+ $this->languageCode = $languageCode;
+ }
+ public function getLanguageCode()
+ {
+ return $this->languageCode;
+ }
+ public function setLocalityName($localityName)
+ {
+ $this->localityName = $localityName;
+ }
+ public function getLocalityName()
+ {
+ return $this->localityName;
+ }
+ public function setPostBoxNumber($postBoxNumber)
+ {
+ $this->postBoxNumber = $postBoxNumber;
+ }
+ public function getPostBoxNumber()
+ {
+ return $this->postBoxNumber;
+ }
+ public function setPostalCodeNumber($postalCodeNumber)
+ {
+ $this->postalCodeNumber = $postalCodeNumber;
+ }
+ public function getPostalCodeNumber()
+ {
+ return $this->postalCodeNumber;
+ }
+ public function setPostalCodeNumberExtension($postalCodeNumberExtension)
+ {
+ $this->postalCodeNumberExtension = $postalCodeNumberExtension;
+ }
+ public function getPostalCodeNumberExtension()
+ {
+ return $this->postalCodeNumberExtension;
+ }
+ public function setPremiseName($premiseName)
+ {
+ $this->premiseName = $premiseName;
+ }
+ public function getPremiseName()
+ {
+ return $this->premiseName;
+ }
+ public function setRecipientName($recipientName)
+ {
+ $this->recipientName = $recipientName;
+ }
+ public function getRecipientName()
+ {
+ return $this->recipientName;
+ }
+ public function setSortingCode($sortingCode)
+ {
+ $this->sortingCode = $sortingCode;
+ }
+ public function getSortingCode()
+ {
+ return $this->sortingCode;
+ }
+ public function setSubAdministrativeAreaName($subAdministrativeAreaName)
+ {
+ $this->subAdministrativeAreaName = $subAdministrativeAreaName;
+ }
+ public function getSubAdministrativeAreaName()
+ {
+ return $this->subAdministrativeAreaName;
+ }
+ public function setSubPremiseName($subPremiseName)
+ {
+ $this->subPremiseName = $subPremiseName;
+ }
+ public function getSubPremiseName()
+ {
+ return $this->subPremiseName;
+ }
+ public function setThoroughfareLeadingType($thoroughfareLeadingType)
+ {
+ $this->thoroughfareLeadingType = $thoroughfareLeadingType;
+ }
+ public function getThoroughfareLeadingType()
+ {
+ return $this->thoroughfareLeadingType;
+ }
+ public function setThoroughfareName($thoroughfareName)
+ {
+ $this->thoroughfareName = $thoroughfareName;
+ }
+ public function getThoroughfareName()
+ {
+ return $this->thoroughfareName;
+ }
+ public function setThoroughfareNumber($thoroughfareNumber)
+ {
+ $this->thoroughfareNumber = $thoroughfareNumber;
+ }
+ public function getThoroughfareNumber()
+ {
+ return $this->thoroughfareNumber;
+ }
+ public function setThoroughfarePostDirection($thoroughfarePostDirection)
+ {
+ $this->thoroughfarePostDirection = $thoroughfarePostDirection;
+ }
+ public function getThoroughfarePostDirection()
+ {
+ return $this->thoroughfarePostDirection;
+ }
+ public function setThoroughfarePreDirection($thoroughfarePreDirection)
+ {
+ $this->thoroughfarePreDirection = $thoroughfarePreDirection;
+ }
+ public function getThoroughfarePreDirection()
+ {
+ return $this->thoroughfarePreDirection;
+ }
+ public function setThoroughfareTrailingType($thoroughfareTrailingType)
+ {
+ $this->thoroughfareTrailingType = $thoroughfareTrailingType;
+ }
+ public function getThoroughfareTrailingType()
+ {
+ return $this->thoroughfareTrailingType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoData.php
new file mode 100644
index 00000000..7de91ecc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoData.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_RepresentativeInfoData extends Google_Collection
+{
+ protected $collection_key = 'officials';
+ protected $divisionsType = 'Google_Service_CivicInfo_GeographicDivision';
+ protected $divisionsDataType = 'map';
+ protected $officesType = 'Google_Service_CivicInfo_Office';
+ protected $officesDataType = 'array';
+ protected $officialsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoRequest.php
new file mode 100644
index 00000000..2545dc80
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_RepresentativeInfoRequest extends Google_Model
+{
+ protected $contextParamsType = 'Google_Service_CivicInfo_ContextParams';
+ protected $contextParamsDataType = '';
+
+ public function setContextParams(Google_Service_CivicInfo_ContextParams $contextParams)
+ {
+ $this->contextParams = $contextParams;
+ }
+ public function getContextParams()
+ {
+ return $this->contextParams;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoResponse.php
new file mode 100644
index 00000000..167415a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoResponse.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_RepresentativeInfoResponse extends Google_Collection
+{
+ protected $collection_key = 'officials';
+ protected $divisionsType = 'Google_Service_CivicInfo_GeographicDivision';
+ protected $divisionsDataType = 'map';
+ public $kind;
+ protected $normalizedInputType = 'Google_Service_CivicInfo_SimpleAddressType';
+ protected $normalizedInputDataType = '';
+ protected $officesType = 'Google_Service_CivicInfo_Office';
+ protected $officesDataType = 'array';
+ protected $officialsType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Divisions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Divisions.php
new file mode 100644
index 00000000..9214d3ec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Divisions.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "divisions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $civicinfoService = new Google_Service_CivicInfo(...);
+ * $divisions = $civicinfoService->divisions;
+ * </code>
+ */
+class Google_Service_CivicInfo_Resource_Divisions extends 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 Google_Service_CivicInfo_DivisionSearchResponse
+ */
+ public function search($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_CivicInfo_DivisionSearchResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Elections.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Elections.php
new file mode 100644
index 00000000..7498db32
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Elections.php
@@ -0,0 +1,64 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "elections" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $civicinfoService = new Google_Service_CivicInfo(...);
+ * $elections = $civicinfoService->elections;
+ * </code>
+ */
+class Google_Service_CivicInfo_Resource_Elections extends Google_Service_Resource
+{
+ /**
+ * List of available elections to query. (elections.electionQuery)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CivicInfo_ElectionsQueryResponse
+ */
+ public function electionQuery($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('electionQuery', array($params), "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.
+ * @opt_param bool returnAllAvailableData If set to true, the query will return
+ * the success codeand include any partial information when it is unable to
+ * determine a matching address or unable to determine the election for
+ * electionId=0 queries.
+ * @return 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), "Google_Service_CivicInfo_VoterInfoResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Representatives.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Representatives.php
new file mode 100644
index 00000000..73fab240
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Representatives.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "representatives" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $civicinfoService = new Google_Service_CivicInfo(...);
+ * $representatives = $civicinfoService->representatives;
+ * </code>
+ */
+class Google_Service_CivicInfo_Resource_Representatives extends Google_Service_Resource
+{
+ /**
+ * Looks up political geography and representative information for a single
+ * address. (representatives.representativeInfoByAddress)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string address The address to look up. May only be specified if
+ * the field ocdId is not given in the URL.
+ * @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.
+ * @return Google_Service_CivicInfo_RepresentativeInfoResponse
+ */
+ public function representativeInfoByAddress($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('representativeInfoByAddress', array($params), "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 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), "Google_Service_CivicInfo_RepresentativeInfoData");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/SimpleAddressType.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/SimpleAddressType.php
new file mode 100644
index 00000000..7b01fd7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/SimpleAddressType.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_SimpleAddressType extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Source.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Source.php
new file mode 100644
index 00000000..a183a726
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Source.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_Source extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoRequest.php
new file mode 100644
index 00000000..8f6ced1b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_VoterInfoRequest extends Google_Model
+{
+ protected $contextParamsType = 'Google_Service_CivicInfo_ContextParams';
+ protected $contextParamsDataType = '';
+ protected $voterInfoSegmentResultType = 'Google_Service_CivicInfo_VoterInfoSegmentResult';
+ protected $voterInfoSegmentResultDataType = '';
+
+ public function setContextParams(Google_Service_CivicInfo_ContextParams $contextParams)
+ {
+ $this->contextParams = $contextParams;
+ }
+ public function getContextParams()
+ {
+ return $this->contextParams;
+ }
+ public function setVoterInfoSegmentResult(Google_Service_CivicInfo_VoterInfoSegmentResult $voterInfoSegmentResult)
+ {
+ $this->voterInfoSegmentResult = $voterInfoSegmentResult;
+ }
+ public function getVoterInfoSegmentResult()
+ {
+ return $this->voterInfoSegmentResult;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoResponse.php
new file mode 100644
index 00000000..e3f53709
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoResponse.php
@@ -0,0 +1,129 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_VoterInfoResponse extends Google_Collection
+{
+ protected $collection_key = 'state';
+ protected $contestsType = 'Google_Service_CivicInfo_Contest';
+ protected $contestsDataType = 'array';
+ protected $dropOffLocationsType = 'Google_Service_CivicInfo_PollingLocation';
+ protected $dropOffLocationsDataType = 'array';
+ protected $earlyVoteSitesType = 'Google_Service_CivicInfo_PollingLocation';
+ protected $earlyVoteSitesDataType = 'array';
+ protected $electionType = 'Google_Service_CivicInfo_Election';
+ protected $electionDataType = '';
+ public $kind;
+ public $mailOnly;
+ protected $normalizedInputType = 'Google_Service_CivicInfo_SimpleAddressType';
+ protected $normalizedInputDataType = '';
+ protected $otherElectionsType = 'Google_Service_CivicInfo_Election';
+ protected $otherElectionsDataType = 'array';
+ protected $pollingLocationsType = 'Google_Service_CivicInfo_PollingLocation';
+ protected $pollingLocationsDataType = 'array';
+ public $precinctId;
+ protected $stateType = '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(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 setMailOnly($mailOnly)
+ {
+ $this->mailOnly = $mailOnly;
+ }
+ public function getMailOnly()
+ {
+ return $this->mailOnly;
+ }
+ public function setNormalizedInput(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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoSegmentResult.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoSegmentResult.php
new file mode 100644
index 00000000..6feceab9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoSegmentResult.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CivicInfo_VoterInfoSegmentResult extends Google_Model
+{
+ public $generatedMillis;
+ protected $postalAddressType = 'Google_Service_CivicInfo_PostalAddress';
+ protected $postalAddressDataType = '';
+ protected $requestType = 'Google_Service_CivicInfo_VoterInfoRequest';
+ protected $requestDataType = '';
+ protected $responseType = 'Google_Service_CivicInfo_VoterInfoResponse';
+ protected $responseDataType = '';
+
+ public function setGeneratedMillis($generatedMillis)
+ {
+ $this->generatedMillis = $generatedMillis;
+ }
+ public function getGeneratedMillis()
+ {
+ return $this->generatedMillis;
+ }
+ public function setPostalAddress(Google_Service_CivicInfo_PostalAddress $postalAddress)
+ {
+ $this->postalAddress = $postalAddress;
+ }
+ public function getPostalAddress()
+ {
+ return $this->postalAddress;
+ }
+ public function setRequest(Google_Service_CivicInfo_VoterInfoRequest $request)
+ {
+ $this->request = $request;
+ }
+ public function getRequest()
+ {
+ return $this->request;
+ }
+ public function setResponse(Google_Service_CivicInfo_VoterInfoResponse $response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom.php
new file mode 100644
index 00000000..acf8a1ba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom.php
@@ -0,0 +1,869 @@
+<?php
+/*
+ * Copyright 2016 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 Classroom (v1).
+ *
+ * <p>
+ * Manages classes, rosters, and invitations in Google Classroom.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/classroom/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Classroom extends Google_Service
+{
+ /** View instructions for teacher-assigned work in your Google Classroom classes. */
+ const CLASSROOM_COURSE_WORK_READONLY =
+ "https://www.googleapis.com/auth/classroom.course-work.readonly";
+ /** Manage your Google Classroom classes. */
+ const CLASSROOM_COURSES =
+ "https://www.googleapis.com/auth/classroom.courses";
+ /** View your Google Classroom classes. */
+ const CLASSROOM_COURSES_READONLY =
+ "https://www.googleapis.com/auth/classroom.courses.readonly";
+ /** Manage your course work and view your grades in Google Classroom. */
+ const CLASSROOM_COURSEWORK_ME =
+ "https://www.googleapis.com/auth/classroom.coursework.me";
+ /** View your course work and grades in Google Classroom. */
+ const CLASSROOM_COURSEWORK_ME_READONLY =
+ "https://www.googleapis.com/auth/classroom.coursework.me.readonly";
+ /** Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer. */
+ const CLASSROOM_COURSEWORK_STUDENTS =
+ "https://www.googleapis.com/auth/classroom.coursework.students";
+ /** View course work and grades for students in the Google Classroom classes you teach or administer. */
+ const CLASSROOM_COURSEWORK_STUDENTS_READONLY =
+ "https://www.googleapis.com/auth/classroom.coursework.students.readonly";
+ /** View the email addresses of people in your classes. */
+ const CLASSROOM_PROFILE_EMAILS =
+ "https://www.googleapis.com/auth/classroom.profile.emails";
+ /** View the profile photos of people in your classes. */
+ const CLASSROOM_PROFILE_PHOTOS =
+ "https://www.googleapis.com/auth/classroom.profile.photos";
+ /** Manage your Google Classroom class rosters. */
+ const CLASSROOM_ROSTERS =
+ "https://www.googleapis.com/auth/classroom.rosters";
+ /** View your Google Classroom class rosters. */
+ const CLASSROOM_ROSTERS_READONLY =
+ "https://www.googleapis.com/auth/classroom.rosters.readonly";
+ /** View your course work and grades in Google Classroom. */
+ const CLASSROOM_STUDENT_SUBMISSIONS_ME_READONLY =
+ "https://www.googleapis.com/auth/classroom.student-submissions.me.readonly";
+ /** View course work and grades for students in the Google Classroom classes you teach or administer. */
+ const CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY =
+ "https://www.googleapis.com/auth/classroom.student-submissions.students.readonly";
+
+ public $courses;
+ public $courses_aliases;
+ public $courses_courseWork;
+ public $courses_courseWork_studentSubmissions;
+ public $courses_students;
+ public $courses_teachers;
+ public $invitations;
+ public $userProfiles;
+ public $userProfiles_guardianInvitations;
+ public $userProfiles_guardians;
+
+ /**
+ * Constructs the internal representation of the Classroom service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://classroom.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'classroom';
+
+ $this->courses = new Google_Service_Classroom_Resource_Courses(
+ $this,
+ $this->serviceName,
+ 'courses',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/courses',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'v1/courses/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/courses/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/courses',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'studentId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'teacherId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'courseStates' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/courses/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v1/courses/{id}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->courses_aliases = new Google_Service_Classroom_Resource_CoursesAliases(
+ $this,
+ $this->serviceName,
+ 'aliases',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/courses/{courseId}/aliases',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/courses/{courseId}/aliases/{alias}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'alias' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/courses/{courseId}/aliases',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->courses_courseWork = new Google_Service_Classroom_Resource_CoursesCourseWork(
+ $this,
+ $this->serviceName,
+ 'courseWork',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/courses/{courseId}/courseWork',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/courses/{courseId}/courseWork/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/courses/{courseId}/courseWork/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/courses/{courseId}/courseWork',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'courseWorkStates' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/courses/{courseId}/courseWork/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->courses_courseWork_studentSubmissions = new Google_Service_Classroom_Resource_CoursesCourseWorkStudentSubmissions(
+ $this,
+ $this->serviceName,
+ 'studentSubmissions',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'courseWorkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'courseWorkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'states' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'late' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'modifyAttachments' => array(
+ 'path' => 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'courseWorkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'courseWorkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'reclaim' => array(
+ 'path' => 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'courseWorkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'return' => array(
+ 'path' => 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'courseWorkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'turnIn' => array(
+ 'path' => 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'courseWorkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->courses_students = new Google_Service_Classroom_Resource_CoursesStudents(
+ $this,
+ $this->serviceName,
+ 'students',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/courses/{courseId}/students',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'enrollmentCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/courses/{courseId}/students/{userId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/courses/{courseId}/students/{userId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/courses/{courseId}/students',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->courses_teachers = new Google_Service_Classroom_Resource_CoursesTeachers(
+ $this,
+ $this->serviceName,
+ 'teachers',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/courses/{courseId}/teachers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/courses/{courseId}/teachers/{userId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/courses/{courseId}/teachers/{userId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/courses/{courseId}/teachers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'courseId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->invitations = new Google_Service_Classroom_Resource_Invitations(
+ $this,
+ $this->serviceName,
+ 'invitations',
+ array(
+ 'methods' => array(
+ 'accept' => array(
+ 'path' => 'v1/invitations/{id}:accept',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'v1/invitations',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'v1/invitations/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/invitations/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/invitations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'courseId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->userProfiles = new Google_Service_Classroom_Resource_UserProfiles(
+ $this,
+ $this->serviceName,
+ 'userProfiles',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/userProfiles/{userId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->userProfiles_guardianInvitations = new Google_Service_Classroom_Resource_UserProfilesGuardianInvitations(
+ $this,
+ $this->serviceName,
+ 'guardianInvitations',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/userProfiles/{studentId}/guardianInvitations',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'studentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'studentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'invitationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/userProfiles/{studentId}/guardianInvitations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'studentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'invitedEmailAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'states' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'studentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'invitationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->userProfiles_guardians = new Google_Service_Classroom_Resource_UserProfilesGuardians(
+ $this,
+ $this->serviceName,
+ 'guardians',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'v1/userProfiles/{studentId}/guardians/{guardianId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'studentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'guardianId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/userProfiles/{studentId}/guardians/{guardianId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'studentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'guardianId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/userProfiles/{studentId}/guardians',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'studentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'invitedEmailAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Assignment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Assignment.php
new file mode 100644
index 00000000..b90d744f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Assignment.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_Assignment extends Google_Model
+{
+ protected $studentWorkFolderType = 'Google_Service_Classroom_DriveFolder';
+ protected $studentWorkFolderDataType = '';
+
+ public function setStudentWorkFolder(Google_Service_Classroom_DriveFolder $studentWorkFolder)
+ {
+ $this->studentWorkFolder = $studentWorkFolder;
+ }
+ public function getStudentWorkFolder()
+ {
+ return $this->studentWorkFolder;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/AssignmentSubmission.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/AssignmentSubmission.php
new file mode 100644
index 00000000..149aa4ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/AssignmentSubmission.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_AssignmentSubmission extends Google_Collection
+{
+ protected $collection_key = 'attachments';
+ protected $attachmentsType = 'Google_Service_Classroom_Attachment';
+ protected $attachmentsDataType = 'array';
+
+ public function setAttachments($attachments)
+ {
+ $this->attachments = $attachments;
+ }
+ public function getAttachments()
+ {
+ return $this->attachments;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Attachment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Attachment.php
new file mode 100644
index 00000000..5fe96664
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Attachment.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_Attachment extends Google_Model
+{
+ protected $driveFileType = 'Google_Service_Classroom_DriveFile';
+ protected $driveFileDataType = '';
+ protected $formType = 'Google_Service_Classroom_Form';
+ protected $formDataType = '';
+ protected $linkType = 'Google_Service_Classroom_Link';
+ protected $linkDataType = '';
+ protected $youTubeVideoType = 'Google_Service_Classroom_YouTubeVideo';
+ protected $youTubeVideoDataType = '';
+
+ public function setDriveFile(Google_Service_Classroom_DriveFile $driveFile)
+ {
+ $this->driveFile = $driveFile;
+ }
+ public function getDriveFile()
+ {
+ return $this->driveFile;
+ }
+ public function setForm(Google_Service_Classroom_Form $form)
+ {
+ $this->form = $form;
+ }
+ public function getForm()
+ {
+ return $this->form;
+ }
+ public function setLink(Google_Service_Classroom_Link $link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setYouTubeVideo(Google_Service_Classroom_YouTubeVideo $youTubeVideo)
+ {
+ $this->youTubeVideo = $youTubeVideo;
+ }
+ public function getYouTubeVideo()
+ {
+ return $this->youTubeVideo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ClassroomEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ClassroomEmpty.php
new file mode 100644
index 00000000..24a85010
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ClassroomEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_ClassroomEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Course.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Course.php
new file mode 100644
index 00000000..f5d6a3b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Course.php
@@ -0,0 +1,177 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_Course extends Google_Collection
+{
+ protected $collection_key = 'courseMaterialSets';
+ public $alternateLink;
+ public $courseGroupEmail;
+ protected $courseMaterialSetsType = 'Google_Service_Classroom_CourseMaterialSet';
+ protected $courseMaterialSetsDataType = 'array';
+ public $courseState;
+ public $creationTime;
+ public $description;
+ public $descriptionHeading;
+ public $enrollmentCode;
+ public $guardiansEnabled;
+ public $id;
+ public $name;
+ public $ownerId;
+ public $room;
+ public $section;
+ protected $teacherFolderType = 'Google_Service_Classroom_DriveFolder';
+ protected $teacherFolderDataType = '';
+ public $teacherGroupEmail;
+ public $updateTime;
+
+ public function setAlternateLink($alternateLink)
+ {
+ $this->alternateLink = $alternateLink;
+ }
+ public function getAlternateLink()
+ {
+ return $this->alternateLink;
+ }
+ public function setCourseGroupEmail($courseGroupEmail)
+ {
+ $this->courseGroupEmail = $courseGroupEmail;
+ }
+ public function getCourseGroupEmail()
+ {
+ return $this->courseGroupEmail;
+ }
+ public function setCourseMaterialSets($courseMaterialSets)
+ {
+ $this->courseMaterialSets = $courseMaterialSets;
+ }
+ public function getCourseMaterialSets()
+ {
+ return $this->courseMaterialSets;
+ }
+ public function setCourseState($courseState)
+ {
+ $this->courseState = $courseState;
+ }
+ public function getCourseState()
+ {
+ return $this->courseState;
+ }
+ 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 setDescriptionHeading($descriptionHeading)
+ {
+ $this->descriptionHeading = $descriptionHeading;
+ }
+ public function getDescriptionHeading()
+ {
+ return $this->descriptionHeading;
+ }
+ public function setEnrollmentCode($enrollmentCode)
+ {
+ $this->enrollmentCode = $enrollmentCode;
+ }
+ public function getEnrollmentCode()
+ {
+ return $this->enrollmentCode;
+ }
+ public function setGuardiansEnabled($guardiansEnabled)
+ {
+ $this->guardiansEnabled = $guardiansEnabled;
+ }
+ public function getGuardiansEnabled()
+ {
+ return $this->guardiansEnabled;
+ }
+ 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 setOwnerId($ownerId)
+ {
+ $this->ownerId = $ownerId;
+ }
+ public function getOwnerId()
+ {
+ return $this->ownerId;
+ }
+ public function setRoom($room)
+ {
+ $this->room = $room;
+ }
+ public function getRoom()
+ {
+ return $this->room;
+ }
+ public function setSection($section)
+ {
+ $this->section = $section;
+ }
+ public function getSection()
+ {
+ return $this->section;
+ }
+ public function setTeacherFolder(Google_Service_Classroom_DriveFolder $teacherFolder)
+ {
+ $this->teacherFolder = $teacherFolder;
+ }
+ public function getTeacherFolder()
+ {
+ return $this->teacherFolder;
+ }
+ public function setTeacherGroupEmail($teacherGroupEmail)
+ {
+ $this->teacherGroupEmail = $teacherGroupEmail;
+ }
+ public function getTeacherGroupEmail()
+ {
+ return $this->teacherGroupEmail;
+ }
+ public function setUpdateTime($updateTime)
+ {
+ $this->updateTime = $updateTime;
+ }
+ public function getUpdateTime()
+ {
+ return $this->updateTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseAlias.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseAlias.php
new file mode 100644
index 00000000..47d27a87
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseAlias.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_CourseAlias extends Google_Model
+{
+ public $alias;
+
+ public function setAlias($alias)
+ {
+ $this->alias = $alias;
+ }
+ public function getAlias()
+ {
+ return $this->alias;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseMaterial.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseMaterial.php
new file mode 100644
index 00000000..66362fe5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseMaterial.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_CourseMaterial extends Google_Model
+{
+ protected $driveFileType = 'Google_Service_Classroom_DriveFile';
+ protected $driveFileDataType = '';
+ protected $formType = 'Google_Service_Classroom_Form';
+ protected $formDataType = '';
+ protected $linkType = 'Google_Service_Classroom_Link';
+ protected $linkDataType = '';
+ protected $youTubeVideoType = 'Google_Service_Classroom_YouTubeVideo';
+ protected $youTubeVideoDataType = '';
+
+ public function setDriveFile(Google_Service_Classroom_DriveFile $driveFile)
+ {
+ $this->driveFile = $driveFile;
+ }
+ public function getDriveFile()
+ {
+ return $this->driveFile;
+ }
+ public function setForm(Google_Service_Classroom_Form $form)
+ {
+ $this->form = $form;
+ }
+ public function getForm()
+ {
+ return $this->form;
+ }
+ public function setLink(Google_Service_Classroom_Link $link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setYouTubeVideo(Google_Service_Classroom_YouTubeVideo $youTubeVideo)
+ {
+ $this->youTubeVideo = $youTubeVideo;
+ }
+ public function getYouTubeVideo()
+ {
+ return $this->youTubeVideo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseMaterialSet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseMaterialSet.php
new file mode 100644
index 00000000..81d7ac76
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseMaterialSet.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_CourseMaterialSet extends Google_Collection
+{
+ protected $collection_key = 'materials';
+ protected $materialsType = 'Google_Service_Classroom_CourseMaterial';
+ protected $materialsDataType = 'array';
+ public $title;
+
+ public function setMaterials($materials)
+ {
+ $this->materials = $materials;
+ }
+ public function getMaterials()
+ {
+ return $this->materials;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseWork.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseWork.php
new file mode 100644
index 00000000..d6f79c14
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseWork.php
@@ -0,0 +1,180 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_CourseWork extends Google_Collection
+{
+ protected $collection_key = 'materials';
+ public $alternateLink;
+ protected $assignmentType = 'Google_Service_Classroom_Assignment';
+ protected $assignmentDataType = '';
+ public $associatedWithDeveloper;
+ public $courseId;
+ public $creationTime;
+ public $description;
+ protected $dueDateType = 'Google_Service_Classroom_Date';
+ protected $dueDateDataType = '';
+ protected $dueTimeType = 'Google_Service_Classroom_TimeOfDay';
+ protected $dueTimeDataType = '';
+ public $id;
+ protected $materialsType = 'Google_Service_Classroom_Material';
+ protected $materialsDataType = 'array';
+ public $maxPoints;
+ protected $multipleChoiceQuestionType = 'Google_Service_Classroom_MultipleChoiceQuestion';
+ protected $multipleChoiceQuestionDataType = '';
+ public $state;
+ public $submissionModificationMode;
+ public $title;
+ public $updateTime;
+ public $workType;
+
+ public function setAlternateLink($alternateLink)
+ {
+ $this->alternateLink = $alternateLink;
+ }
+ public function getAlternateLink()
+ {
+ return $this->alternateLink;
+ }
+ public function setAssignment(Google_Service_Classroom_Assignment $assignment)
+ {
+ $this->assignment = $assignment;
+ }
+ public function getAssignment()
+ {
+ return $this->assignment;
+ }
+ public function setAssociatedWithDeveloper($associatedWithDeveloper)
+ {
+ $this->associatedWithDeveloper = $associatedWithDeveloper;
+ }
+ public function getAssociatedWithDeveloper()
+ {
+ return $this->associatedWithDeveloper;
+ }
+ public function setCourseId($courseId)
+ {
+ $this->courseId = $courseId;
+ }
+ public function getCourseId()
+ {
+ return $this->courseId;
+ }
+ 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 setDueDate(Google_Service_Classroom_Date $dueDate)
+ {
+ $this->dueDate = $dueDate;
+ }
+ public function getDueDate()
+ {
+ return $this->dueDate;
+ }
+ public function setDueTime(Google_Service_Classroom_TimeOfDay $dueTime)
+ {
+ $this->dueTime = $dueTime;
+ }
+ public function getDueTime()
+ {
+ return $this->dueTime;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setMaterials($materials)
+ {
+ $this->materials = $materials;
+ }
+ public function getMaterials()
+ {
+ return $this->materials;
+ }
+ public function setMaxPoints($maxPoints)
+ {
+ $this->maxPoints = $maxPoints;
+ }
+ public function getMaxPoints()
+ {
+ return $this->maxPoints;
+ }
+ public function setMultipleChoiceQuestion(Google_Service_Classroom_MultipleChoiceQuestion $multipleChoiceQuestion)
+ {
+ $this->multipleChoiceQuestion = $multipleChoiceQuestion;
+ }
+ public function getMultipleChoiceQuestion()
+ {
+ return $this->multipleChoiceQuestion;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setSubmissionModificationMode($submissionModificationMode)
+ {
+ $this->submissionModificationMode = $submissionModificationMode;
+ }
+ public function getSubmissionModificationMode()
+ {
+ return $this->submissionModificationMode;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUpdateTime($updateTime)
+ {
+ $this->updateTime = $updateTime;
+ }
+ public function getUpdateTime()
+ {
+ return $this->updateTime;
+ }
+ public function setWorkType($workType)
+ {
+ $this->workType = $workType;
+ }
+ public function getWorkType()
+ {
+ return $this->workType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Date.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Date.php
new file mode 100644
index 00000000..e9872a83
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Date.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_Date extends Google_Model
+{
+ public $day;
+ public $month;
+ public $year;
+
+ 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;
+ }
+ public function setYear($year)
+ {
+ $this->year = $year;
+ }
+ public function getYear()
+ {
+ return $this->year;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/DriveFile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/DriveFile.php
new file mode 100644
index 00000000..19303dc1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/DriveFile.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_DriveFile extends Google_Model
+{
+ public $alternateLink;
+ public $id;
+ public $thumbnailUrl;
+ public $title;
+
+ public function setAlternateLink($alternateLink)
+ {
+ $this->alternateLink = $alternateLink;
+ }
+ public function getAlternateLink()
+ {
+ return $this->alternateLink;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setThumbnailUrl($thumbnailUrl)
+ {
+ $this->thumbnailUrl = $thumbnailUrl;
+ }
+ public function getThumbnailUrl()
+ {
+ return $this->thumbnailUrl;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/DriveFolder.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/DriveFolder.php
new file mode 100644
index 00000000..8da31945
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/DriveFolder.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_DriveFolder extends Google_Model
+{
+ public $alternateLink;
+ public $id;
+ public $title;
+
+ public function setAlternateLink($alternateLink)
+ {
+ $this->alternateLink = $alternateLink;
+ }
+ public function getAlternateLink()
+ {
+ return $this->alternateLink;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Form.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Form.php
new file mode 100644
index 00000000..8d942a0e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Form.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_Form extends Google_Model
+{
+ public $formUrl;
+ public $responseUrl;
+ public $thumbnailUrl;
+ public $title;
+
+ public function setFormUrl($formUrl)
+ {
+ $this->formUrl = $formUrl;
+ }
+ public function getFormUrl()
+ {
+ return $this->formUrl;
+ }
+ public function setResponseUrl($responseUrl)
+ {
+ $this->responseUrl = $responseUrl;
+ }
+ public function getResponseUrl()
+ {
+ return $this->responseUrl;
+ }
+ public function setThumbnailUrl($thumbnailUrl)
+ {
+ $this->thumbnailUrl = $thumbnailUrl;
+ }
+ public function getThumbnailUrl()
+ {
+ return $this->thumbnailUrl;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/GlobalPermission.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/GlobalPermission.php
new file mode 100644
index 00000000..6ac872bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/GlobalPermission.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_GlobalPermission extends Google_Model
+{
+ public $permission;
+
+ public function setPermission($permission)
+ {
+ $this->permission = $permission;
+ }
+ public function getPermission()
+ {
+ return $this->permission;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Guardian.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Guardian.php
new file mode 100644
index 00000000..b6da5951
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Guardian.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_Guardian extends Google_Model
+{
+ public $guardianId;
+ protected $guardianProfileType = 'Google_Service_Classroom_UserProfile';
+ protected $guardianProfileDataType = '';
+ public $invitedEmailAddress;
+ public $studentId;
+
+ public function setGuardianId($guardianId)
+ {
+ $this->guardianId = $guardianId;
+ }
+ public function getGuardianId()
+ {
+ return $this->guardianId;
+ }
+ public function setGuardianProfile(Google_Service_Classroom_UserProfile $guardianProfile)
+ {
+ $this->guardianProfile = $guardianProfile;
+ }
+ public function getGuardianProfile()
+ {
+ return $this->guardianProfile;
+ }
+ public function setInvitedEmailAddress($invitedEmailAddress)
+ {
+ $this->invitedEmailAddress = $invitedEmailAddress;
+ }
+ public function getInvitedEmailAddress()
+ {
+ return $this->invitedEmailAddress;
+ }
+ public function setStudentId($studentId)
+ {
+ $this->studentId = $studentId;
+ }
+ public function getStudentId()
+ {
+ return $this->studentId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/GuardianInvitation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/GuardianInvitation.php
new file mode 100644
index 00000000..390dee3f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/GuardianInvitation.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_GuardianInvitation extends Google_Model
+{
+ public $creationTime;
+ public $invitationId;
+ public $invitedEmailAddress;
+ public $state;
+ public $studentId;
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setInvitationId($invitationId)
+ {
+ $this->invitationId = $invitationId;
+ }
+ public function getInvitationId()
+ {
+ return $this->invitationId;
+ }
+ public function setInvitedEmailAddress($invitedEmailAddress)
+ {
+ $this->invitedEmailAddress = $invitedEmailAddress;
+ }
+ public function getInvitedEmailAddress()
+ {
+ return $this->invitedEmailAddress;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setStudentId($studentId)
+ {
+ $this->studentId = $studentId;
+ }
+ public function getStudentId()
+ {
+ return $this->studentId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Invitation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Invitation.php
new file mode 100644
index 00000000..298bf05e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Invitation.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_Invitation extends Google_Model
+{
+ public $courseId;
+ public $id;
+ public $role;
+ public $userId;
+
+ public function setCourseId($courseId)
+ {
+ $this->courseId = $courseId;
+ }
+ public function getCourseId()
+ {
+ return $this->courseId;
+ }
+ 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 setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Link.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Link.php
new file mode 100644
index 00000000..89ca037a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Link.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_Link extends Google_Model
+{
+ public $thumbnailUrl;
+ public $title;
+ public $url;
+
+ public function setThumbnailUrl($thumbnailUrl)
+ {
+ $this->thumbnailUrl = $thumbnailUrl;
+ }
+ public function getThumbnailUrl()
+ {
+ return $this->thumbnailUrl;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCourseAliasesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCourseAliasesResponse.php
new file mode 100644
index 00000000..c04e6e4c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCourseAliasesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_ListCourseAliasesResponse extends Google_Collection
+{
+ protected $collection_key = 'aliases';
+ protected $aliasesType = 'Google_Service_Classroom_CourseAlias';
+ protected $aliasesDataType = 'array';
+ public $nextPageToken;
+
+ public function setAliases($aliases)
+ {
+ $this->aliases = $aliases;
+ }
+ public function getAliases()
+ {
+ return $this->aliases;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCourseWorkResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCourseWorkResponse.php
new file mode 100644
index 00000000..dea448d4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCourseWorkResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_ListCourseWorkResponse extends Google_Collection
+{
+ protected $collection_key = 'courseWork';
+ protected $courseWorkType = 'Google_Service_Classroom_CourseWork';
+ protected $courseWorkDataType = 'array';
+ public $nextPageToken;
+
+ public function setCourseWork($courseWork)
+ {
+ $this->courseWork = $courseWork;
+ }
+ public function getCourseWork()
+ {
+ return $this->courseWork;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCoursesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCoursesResponse.php
new file mode 100644
index 00000000..d48ed59b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCoursesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_ListCoursesResponse extends Google_Collection
+{
+ protected $collection_key = 'courses';
+ protected $coursesType = 'Google_Service_Classroom_Course';
+ protected $coursesDataType = 'array';
+ public $nextPageToken;
+
+ public function setCourses($courses)
+ {
+ $this->courses = $courses;
+ }
+ public function getCourses()
+ {
+ return $this->courses;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListGuardianInvitationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListGuardianInvitationsResponse.php
new file mode 100644
index 00000000..6454931c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListGuardianInvitationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_ListGuardianInvitationsResponse extends Google_Collection
+{
+ protected $collection_key = 'guardianInvitations';
+ protected $guardianInvitationsType = 'Google_Service_Classroom_GuardianInvitation';
+ protected $guardianInvitationsDataType = 'array';
+ public $nextPageToken;
+
+ public function setGuardianInvitations($guardianInvitations)
+ {
+ $this->guardianInvitations = $guardianInvitations;
+ }
+ public function getGuardianInvitations()
+ {
+ return $this->guardianInvitations;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListGuardiansResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListGuardiansResponse.php
new file mode 100644
index 00000000..4183d5e4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListGuardiansResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_ListGuardiansResponse extends Google_Collection
+{
+ protected $collection_key = 'guardians';
+ protected $guardiansType = 'Google_Service_Classroom_Guardian';
+ protected $guardiansDataType = 'array';
+ public $nextPageToken;
+
+ public function setGuardians($guardians)
+ {
+ $this->guardians = $guardians;
+ }
+ public function getGuardians()
+ {
+ return $this->guardians;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListInvitationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListInvitationsResponse.php
new file mode 100644
index 00000000..0e85390b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListInvitationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_ListInvitationsResponse extends Google_Collection
+{
+ protected $collection_key = 'invitations';
+ protected $invitationsType = 'Google_Service_Classroom_Invitation';
+ protected $invitationsDataType = 'array';
+ public $nextPageToken;
+
+ public function setInvitations($invitations)
+ {
+ $this->invitations = $invitations;
+ }
+ public function getInvitations()
+ {
+ return $this->invitations;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListStudentSubmissionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListStudentSubmissionsResponse.php
new file mode 100644
index 00000000..7b052d51
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListStudentSubmissionsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_ListStudentSubmissionsResponse extends Google_Collection
+{
+ protected $collection_key = 'studentSubmissions';
+ public $nextPageToken;
+ protected $studentSubmissionsType = 'Google_Service_Classroom_StudentSubmission';
+ protected $studentSubmissionsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setStudentSubmissions($studentSubmissions)
+ {
+ $this->studentSubmissions = $studentSubmissions;
+ }
+ public function getStudentSubmissions()
+ {
+ return $this->studentSubmissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListStudentsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListStudentsResponse.php
new file mode 100644
index 00000000..516a0d11
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListStudentsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_ListStudentsResponse extends Google_Collection
+{
+ protected $collection_key = 'students';
+ public $nextPageToken;
+ protected $studentsType = 'Google_Service_Classroom_Student';
+ protected $studentsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setStudents($students)
+ {
+ $this->students = $students;
+ }
+ public function getStudents()
+ {
+ return $this->students;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListTeachersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListTeachersResponse.php
new file mode 100644
index 00000000..ccfbdcd0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListTeachersResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_ListTeachersResponse extends Google_Collection
+{
+ protected $collection_key = 'teachers';
+ public $nextPageToken;
+ protected $teachersType = 'Google_Service_Classroom_Teacher';
+ protected $teachersDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTeachers($teachers)
+ {
+ $this->teachers = $teachers;
+ }
+ public function getTeachers()
+ {
+ return $this->teachers;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Material.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Material.php
new file mode 100644
index 00000000..6f79c4ba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Material.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_Material extends Google_Model
+{
+ protected $driveFileType = 'Google_Service_Classroom_SharedDriveFile';
+ protected $driveFileDataType = '';
+ protected $formType = 'Google_Service_Classroom_Form';
+ protected $formDataType = '';
+ protected $linkType = 'Google_Service_Classroom_Link';
+ protected $linkDataType = '';
+ protected $youtubeVideoType = 'Google_Service_Classroom_YouTubeVideo';
+ protected $youtubeVideoDataType = '';
+
+ public function setDriveFile(Google_Service_Classroom_SharedDriveFile $driveFile)
+ {
+ $this->driveFile = $driveFile;
+ }
+ public function getDriveFile()
+ {
+ return $this->driveFile;
+ }
+ public function setForm(Google_Service_Classroom_Form $form)
+ {
+ $this->form = $form;
+ }
+ public function getForm()
+ {
+ return $this->form;
+ }
+ public function setLink(Google_Service_Classroom_Link $link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setYoutubeVideo(Google_Service_Classroom_YouTubeVideo $youtubeVideo)
+ {
+ $this->youtubeVideo = $youtubeVideo;
+ }
+ public function getYoutubeVideo()
+ {
+ return $this->youtubeVideo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ModifyAttachmentsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ModifyAttachmentsRequest.php
new file mode 100644
index 00000000..02afca76
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ModifyAttachmentsRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_ModifyAttachmentsRequest extends Google_Collection
+{
+ protected $collection_key = 'addAttachments';
+ protected $addAttachmentsType = 'Google_Service_Classroom_Attachment';
+ protected $addAttachmentsDataType = 'array';
+
+ public function setAddAttachments($addAttachments)
+ {
+ $this->addAttachments = $addAttachments;
+ }
+ public function getAddAttachments()
+ {
+ return $this->addAttachments;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/MultipleChoiceQuestion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/MultipleChoiceQuestion.php
new file mode 100644
index 00000000..623e096d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/MultipleChoiceQuestion.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_MultipleChoiceQuestion extends Google_Collection
+{
+ protected $collection_key = 'choices';
+ public $choices;
+
+ public function setChoices($choices)
+ {
+ $this->choices = $choices;
+ }
+ public function getChoices()
+ {
+ return $this->choices;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/MultipleChoiceSubmission.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/MultipleChoiceSubmission.php
new file mode 100644
index 00000000..9e4bb806
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/MultipleChoiceSubmission.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_MultipleChoiceSubmission extends Google_Model
+{
+ public $answer;
+
+ public function setAnswer($answer)
+ {
+ $this->answer = $answer;
+ }
+ public function getAnswer()
+ {
+ return $this->answer;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Name.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Name.php
new file mode 100644
index 00000000..d0cf628a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Name.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_Name extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ReclaimStudentSubmissionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ReclaimStudentSubmissionRequest.php
new file mode 100644
index 00000000..7b06c874
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ReclaimStudentSubmissionRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_ReclaimStudentSubmissionRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/Courses.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/Courses.php
new file mode 100644
index 00000000..4dacadfd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/Courses.php
@@ -0,0 +1,163 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "courses" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $classroomService = new Google_Service_Classroom(...);
+ * $courses = $classroomService->courses;
+ * </code>
+ */
+class Google_Service_Classroom_Resource_Courses extends Google_Service_Resource
+{
+ /**
+ * Creates a course. The user specified in `ownerId` is the owner of the created
+ * course and added as a teacher. This method returns the following error codes:
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to create
+ * courses or for access errors. * `NOT_FOUND` if the primary teacher is not a
+ * valid user. * `FAILED_PRECONDITION` if the course owner's account is disabled
+ * or for the following request errors: * UserGroupsMembershipLimitReached *
+ * `ALREADY_EXISTS` if an alias was specified in the `id` and already exists.
+ * (courses.create)
+ *
+ * @param Google_Service_Classroom_Course $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_Course
+ */
+ public function create(Google_Service_Classroom_Course $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Classroom_Course");
+ }
+ /**
+ * Deletes a course. This method returns the following error codes: *
+ * `PERMISSION_DENIED` if the requesting user is not permitted to delete the
+ * requested course or for access errors. * `NOT_FOUND` if no course exists with
+ * the requested ID. (courses.delete)
+ *
+ * @param string $id Identifier of the course to delete. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_ClassroomEmpty
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Classroom_ClassroomEmpty");
+ }
+ /**
+ * Returns a course. This method returns the following error codes: *
+ * `PERMISSION_DENIED` if the requesting user is not permitted to access the
+ * requested course or for access errors. * `NOT_FOUND` if no course exists with
+ * the requested ID. (courses.get)
+ *
+ * @param string $id Identifier of the course to return. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_Course
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Classroom_Course");
+ }
+ /**
+ * Returns a list of courses that the requesting user is permitted to view,
+ * restricted to those that match the request. This method returns the following
+ * error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if
+ * the query argument is malformed. * `NOT_FOUND` if any users specified in the
+ * query arguments do not exist. (courses.listCourses)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string studentId Restricts returned courses to those having a
+ * student with the specified identifier. The identifier can be one of the
+ * following: * the numeric identifier for the user * the email address of the
+ * user * the string literal `"me"`, indicating the requesting user
+ * @opt_param string teacherId Restricts returned courses to those having a
+ * teacher with the specified identifier. The identifier can be one of the
+ * following: * the numeric identifier for the user * the email address of the
+ * user * the string literal `"me"`, indicating the requesting user
+ * @opt_param string courseStates Restricts returned courses to those in one of
+ * the specified states
+ * @opt_param int pageSize Maximum number of items to return. Zero or
+ * unspecified indicates that the server may assign a maximum. The server may
+ * return fewer than the specified number of results.
+ * @opt_param string pageToken nextPageToken value returned from a previous list
+ * call, indicating that the subsequent page of results should be returned. The
+ * list request must be otherwise identical to the one that resulted in this
+ * token.
+ * @return Google_Service_Classroom_ListCoursesResponse
+ */
+ public function listCourses($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Classroom_ListCoursesResponse");
+ }
+ /**
+ * Updates one or more fields in a course. This method returns the following
+ * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
+ * modify the requested course or for access errors. * `NOT_FOUND` if no course
+ * exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields are
+ * specified in the update mask or if no update mask is supplied. *
+ * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable
+ * (courses.patch)
+ *
+ * @param string $id Identifier of the course to update. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param Google_Service_Classroom_Course $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask Mask that identifies which fields on the course
+ * to update. This field is required to do an update. The update will fail if
+ * invalid fields are specified. The following fields are valid: * `name` *
+ * `section` * `descriptionHeading` * `description` * `room` * `courseState`
+ * When set in a query parameter, this field should be specified as
+ * `updateMask=,,...`
+ * @return Google_Service_Classroom_Course
+ */
+ public function patch($id, Google_Service_Classroom_Course $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Classroom_Course");
+ }
+ /**
+ * Updates a course. This method returns the following error codes: *
+ * `PERMISSION_DENIED` if the requesting user is not permitted to modify the
+ * requested course or for access errors. * `NOT_FOUND` if no course exists with
+ * the requested ID. * `FAILED_PRECONDITION` for the following request errors: *
+ * CourseNotModifiable (courses.update)
+ *
+ * @param string $id Identifier of the course to update. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param Google_Service_Classroom_Course $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_Course
+ */
+ public function update($id, Google_Service_Classroom_Course $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Classroom_Course");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesAliases.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesAliases.php
new file mode 100644
index 00000000..8ee78852
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesAliases.php
@@ -0,0 +1,91 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "aliases" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $classroomService = new Google_Service_Classroom(...);
+ * $aliases = $classroomService->aliases;
+ * </code>
+ */
+class Google_Service_Classroom_Resource_CoursesAliases extends Google_Service_Resource
+{
+ /**
+ * Creates an alias for a course. This method returns the following error codes:
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to create the
+ * alias or for access errors. * `NOT_FOUND` if the course does not exist. *
+ * `ALREADY_EXISTS` if the alias already exists. (aliases.create)
+ *
+ * @param string $courseId Identifier of the course to alias. This identifier
+ * can be either the Classroom-assigned identifier or an alias.
+ * @param Google_Service_Classroom_CourseAlias $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_CourseAlias
+ */
+ public function create($courseId, Google_Service_Classroom_CourseAlias $postBody, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Classroom_CourseAlias");
+ }
+ /**
+ * Deletes an alias of a course. This method returns the following error codes:
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to remove the
+ * alias or for access errors. * `NOT_FOUND` if the alias does not exist.
+ * (aliases.delete)
+ *
+ * @param string $courseId Identifier of the course whose alias should be
+ * deleted. This identifier can be either the Classroom-assigned identifier or
+ * an alias.
+ * @param string $alias Alias to delete. This may not be the Classroom-assigned
+ * identifier.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_ClassroomEmpty
+ */
+ public function delete($courseId, $alias, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'alias' => $alias);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Classroom_ClassroomEmpty");
+ }
+ /**
+ * Returns a list of aliases for a course. This method returns the following
+ * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
+ * access the course or for access errors. * `NOT_FOUND` if the course does not
+ * exist. (aliases.listCoursesAliases)
+ *
+ * @param string $courseId The identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Maximum number of items to return. Zero or
+ * unspecified indicates that the server may assign a maximum. The server may
+ * return fewer than the specified number of results.
+ * @opt_param string pageToken nextPageToken value returned from a previous list
+ * call, indicating that the subsequent page of results should be returned. The
+ * list request must be otherwise identical to the one that resulted in this
+ * token.
+ * @return Google_Service_Classroom_ListCourseAliasesResponse
+ */
+ public function listCoursesAliases($courseId, $optParams = array())
+ {
+ $params = array('courseId' => $courseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Classroom_ListCourseAliasesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesCourseWork.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesCourseWork.php
new file mode 100644
index 00000000..a212dbc1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesCourseWork.php
@@ -0,0 +1,170 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "courseWork" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $classroomService = new Google_Service_Classroom(...);
+ * $courseWork = $classroomService->courseWork;
+ * </code>
+ */
+class Google_Service_Classroom_Resource_CoursesCourseWork extends Google_Service_Resource
+{
+ /**
+ * Creates course work. The resulting course work (and corresponding student
+ * submissions) are associated with the Developer Console project of the [OAuth
+ * client ID](https://support.google.com/cloud/answer/6158849) used to make the
+ * request. Classroom API requests to modify course work and student submissions
+ * must be made with an OAuth client ID from the associated Developer Console
+ * project. This method returns the following error codes: * `PERMISSION_DENIED`
+ * if the requesting user is not permitted to access the requested course,
+ * create course work in the requested course, share a Drive attachment, or for
+ * access errors. * `INVALID_ARGUMENT` if the request is malformed. *
+ * `NOT_FOUND` if the requested course does not exist. * `FAILED_PRECONDITION`
+ * for the following request error: * AttachmentNotVisible (courseWork.create)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param Google_Service_Classroom_CourseWork $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_CourseWork
+ */
+ public function create($courseId, Google_Service_Classroom_CourseWork $postBody, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Classroom_CourseWork");
+ }
+ /**
+ * Deletes a course work. This request must be made by the Developer Console
+ * project of the [OAuth client
+ * ID](https://support.google.com/cloud/answer/6158849) used to create the
+ * corresponding course work item. This method returns the following error
+ * codes: * `PERMISSION_DENIED` if the requesting developer project did not
+ * create the corresponding course work, if the requesting user is not permitted
+ * to delete the requested course or for access errors. * `FAILED_PRECONDITION`
+ * if the requested course work has already been deleted. * `NOT_FOUND` if no
+ * course exists with the requested ID. (courseWork.delete)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param string $id Identifier of the course work to delete. This identifier is
+ * a Classroom-assigned identifier.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_ClassroomEmpty
+ */
+ public function delete($courseId, $id, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Classroom_ClassroomEmpty");
+ }
+ /**
+ * Returns course work. This method returns the following error codes: *
+ * `PERMISSION_DENIED` if the requesting user is not permitted to access the
+ * requested course or course work, or for access errors. * `INVALID_ARGUMENT`
+ * if the request is malformed. * `NOT_FOUND` if the requested course or course
+ * work does not exist. (courseWork.get)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param string $id Identifier of the course work.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_CourseWork
+ */
+ public function get($courseId, $id, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Classroom_CourseWork");
+ }
+ /**
+ * Returns a list of course work that the requester is permitted to view. Course
+ * students may only view `PUBLISHED` course work. Course teachers and domain
+ * administrators may view all course work. This method returns the following
+ * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
+ * access the requested course or for access errors. * `INVALID_ARGUMENT` if the
+ * request is malformed. * `NOT_FOUND` if the requested course does not exist.
+ * (courseWork.listCoursesCourseWork)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string courseWorkStates Restriction on the work status to return.
+ * Only courseWork that matches is returned. If unspecified, items with a work
+ * status of `PUBLISHED` is returned.
+ * @opt_param string orderBy Optional sort ordering for results. A comma-
+ * separated list of fields with an optional sort direction keyword. Supported
+ * fields are `updateTime` and `dueDate`. Supported direction keywords are `asc`
+ * and `desc`. If not specified, `updateTime desc` is the default behavior.
+ * Examples: `dueDate asc,updateTime desc`, `updateTime,dueDate desc`
+ * @opt_param int pageSize Maximum number of items to return. Zero or
+ * unspecified indicates that the server may assign a maximum. The server may
+ * return fewer than the specified number of results.
+ * @opt_param string pageToken nextPageToken value returned from a previous list
+ * call, indicating that the subsequent page of results should be returned. The
+ * list request must be otherwise identical to the one that resulted in this
+ * token.
+ * @return Google_Service_Classroom_ListCourseWorkResponse
+ */
+ public function listCoursesCourseWork($courseId, $optParams = array())
+ {
+ $params = array('courseId' => $courseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Classroom_ListCourseWorkResponse");
+ }
+ /**
+ * Updates one or more fields of a course work. See
+ * google.classroom.v1.CourseWork for details of which fields may be updated and
+ * who may change them. This request must be made by the Developer Console
+ * project of the [OAuth client
+ * ID](https://support.google.com/cloud/answer/6158849) used to create the
+ * corresponding course work item. This method returns the following error
+ * codes: * `PERMISSION_DENIED` if the requesting developer project did not
+ * create the corresponding course work, if the user is not permitted to make
+ * the requested modification to the student submission, or for access errors. *
+ * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if
+ * the requested course work has already been deleted. * `NOT_FOUND` if the
+ * requested course, course work, or student submission does not exist.
+ * (courseWork.patch)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param string $id Identifier of the course work.
+ * @param Google_Service_Classroom_CourseWork $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask Mask that identifies which fields on the course
+ * work to update. This field is required to do an update. The update fails if
+ * invalid fields are specified. If a field supports empty values, it can be
+ * cleared by specifying it in the update mask and not in the CourseWork object.
+ * If a field that does not support empty values is included in the update mask
+ * and not set in the CourseWork object, an `INVALID_ARGUMENT` error will be
+ * returned. The following fields may be specified by teachers: * `title` *
+ * `description` * `state` * `due_date` * `due_time` * `max_points` *
+ * `submission_modification_mode`
+ * @return Google_Service_Classroom_CourseWork
+ */
+ public function patch($courseId, $id, Google_Service_Classroom_CourseWork $postBody, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Classroom_CourseWork");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesCourseWorkStudentSubmissions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesCourseWorkStudentSubmissions.php
new file mode 100644
index 00000000..8e0b3d21
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesCourseWorkStudentSubmissions.php
@@ -0,0 +1,240 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "studentSubmissions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $classroomService = new Google_Service_Classroom(...);
+ * $studentSubmissions = $classroomService->studentSubmissions;
+ * </code>
+ */
+class Google_Service_Classroom_Resource_CoursesCourseWorkStudentSubmissions extends Google_Service_Resource
+{
+ /**
+ * Returns a student submission. * `PERMISSION_DENIED` if the requesting user is
+ * not permitted to access the requested course, course work, or student
+ * submission or for access errors. * `INVALID_ARGUMENT` if the request is
+ * malformed. * `NOT_FOUND` if the requested course, course work, or student
+ * submission does not exist. (studentSubmissions.get)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param string $courseWorkId Identifier of the course work.
+ * @param string $id Identifier of the student submission.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_StudentSubmission
+ */
+ public function get($courseId, $courseWorkId, $id, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'courseWorkId' => $courseWorkId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Classroom_StudentSubmission");
+ }
+ /**
+ * Returns a list of student submissions that the requester is permitted to
+ * view, factoring in the OAuth scopes of the request. `-` may be specified as
+ * the `course_work_id` to include student submissions for multiple course work
+ * items. Course students may only view their own work. Course teachers and
+ * domain administrators may view all student submissions. This method returns
+ * the following error codes: * `PERMISSION_DENIED` if the requesting user is
+ * not permitted to access the requested course or course work, or for access
+ * errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if
+ * the requested course does not exist.
+ * (studentSubmissions.listCoursesCourseWorkStudentSubmissions)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param string $courseWorkId Identifer of the student work to request. This
+ * may be set to the string literal `"-"` to request student work for all course
+ * work in the specified course.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string userId Optional argument to restrict returned student work
+ * to those owned by the student with the specified identifier. The identifier
+ * can be one of the following: * the numeric identifier for the user * the
+ * email address of the user * the string literal `"me"`, indicating the
+ * requesting user
+ * @opt_param string states Requested submission states. If specified, returned
+ * student submissions match one of the specified submission states.
+ * @opt_param string late Requested lateness value. If specified, returned
+ * student submissions are restricted by the requested value. If unspecified,
+ * submissions are returned regardless of `late` value.
+ * @opt_param int pageSize Maximum number of items to return. Zero or
+ * unspecified indicates that the server may assign a maximum. The server may
+ * return fewer than the specified number of results.
+ * @opt_param string pageToken nextPageToken value returned from a previous list
+ * call, indicating that the subsequent page of results should be returned. The
+ * list request must be otherwise identical to the one that resulted in this
+ * token.
+ * @return Google_Service_Classroom_ListStudentSubmissionsResponse
+ */
+ public function listCoursesCourseWorkStudentSubmissions($courseId, $courseWorkId, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'courseWorkId' => $courseWorkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Classroom_ListStudentSubmissionsResponse");
+ }
+ /**
+ * Modifies attachments of student submission. Attachments may only be added to
+ * student submissions belonging to course work objects with a `workType` of
+ * `ASSIGNMENT`. This request must be made by the Developer Console project of
+ * the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used
+ * to create the corresponding course work item. This method returns the
+ * following error codes: * `PERMISSION_DENIED` if the requesting user is not
+ * permitted to access the requested course or course work, if the user is not
+ * permitted to modify attachments on the requested student submission, or for
+ * access errors. * `INVALID_ARGUMENT` if the request is malformed. *
+ * `NOT_FOUND` if the requested course, course work, or student submission does
+ * not exist. (studentSubmissions.modifyAttachments)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param string $courseWorkId Identifier of the course work.
+ * @param string $id Identifier of the student submission.
+ * @param Google_Service_Classroom_ModifyAttachmentsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_StudentSubmission
+ */
+ public function modifyAttachments($courseId, $courseWorkId, $id, Google_Service_Classroom_ModifyAttachmentsRequest $postBody, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'courseWorkId' => $courseWorkId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('modifyAttachments', array($params), "Google_Service_Classroom_StudentSubmission");
+ }
+ /**
+ * Updates one or more fields of a student submission. See
+ * google.classroom.v1.StudentSubmission for details of which fields may be
+ * updated and who may change them. This request must be made by the Developer
+ * Console project of the [OAuth client
+ * ID](https://support.google.com/cloud/answer/6158849) used to create the
+ * corresponding course work item. This method returns the following error
+ * codes: * `PERMISSION_DENIED` if the requesting developer project did not
+ * create the corresponding course work, if the user is not permitted to make
+ * the requested modification to the student submission, or for access errors. *
+ * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the
+ * requested course, course work, or student submission does not exist.
+ * (studentSubmissions.patch)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param string $courseWorkId Identifier of the course work.
+ * @param string $id Identifier of the student submission.
+ * @param Google_Service_Classroom_StudentSubmission $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask Mask that identifies which fields on the student
+ * submission to update. This field is required to do an update. The update
+ * fails if invalid fields are specified. The following fields may be specified
+ * by teachers: * `draft_grade` * `assigned_grade`
+ * @return Google_Service_Classroom_StudentSubmission
+ */
+ public function patch($courseId, $courseWorkId, $id, Google_Service_Classroom_StudentSubmission $postBody, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'courseWorkId' => $courseWorkId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Classroom_StudentSubmission");
+ }
+ /**
+ * Reclaims a student submission on behalf of the student that owns it.
+ * Reclaiming a student submission transfers ownership of attached Drive files
+ * to the student and update the submission state. Only the student that owns
+ * the requested student submission may call this method, and only for a student
+ * submission that has been turned in. This request must be made by the
+ * Developer Console project of the [OAuth client
+ * ID](https://support.google.com/cloud/answer/6158849) used to create the
+ * corresponding course work item. This method returns the following error
+ * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
+ * access the requested course or course work, unsubmit the requested student
+ * submission, or for access errors. * `FAILED_PRECONDITION` if the student
+ * submission has not been turned in. * `INVALID_ARGUMENT` if the request is
+ * malformed. * `NOT_FOUND` if the requested course, course work, or student
+ * submission does not exist. (studentSubmissions.reclaim)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param string $courseWorkId Identifier of the course work.
+ * @param string $id Identifier of the student submission.
+ * @param Google_Service_Classroom_ReclaimStudentSubmissionRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_ClassroomEmpty
+ */
+ public function reclaim($courseId, $courseWorkId, $id, Google_Service_Classroom_ReclaimStudentSubmissionRequest $postBody, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'courseWorkId' => $courseWorkId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('reclaim', array($params), "Google_Service_Classroom_ClassroomEmpty");
+ }
+ /**
+ * Returns a student submission. Returning a student submission transfers
+ * ownership of attached Drive files to the student and may also update the
+ * submission state. Unlike the Classroom application, returning a student
+ * submission does not set assignedGrade to the draftGrade value. Only a teacher
+ * of the course that contains the requested student submission may call this
+ * method. This request must be made by the Developer Console project of the
+ * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
+ * create the corresponding course work item. This method returns the following
+ * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
+ * access the requested course or course work, return the requested student
+ * submission, or for access errors. * `INVALID_ARGUMENT` if the request is
+ * malformed. * `NOT_FOUND` if the requested course, course work, or student
+ * submission does not exist.
+ * (studentSubmissions.returnCoursesCourseWorkStudentSubmissions)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param string $courseWorkId Identifier of the course work.
+ * @param string $id Identifier of the student submission.
+ * @param Google_Service_Classroom_ReturnStudentSubmissionRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_ClassroomEmpty
+ */
+ public function returnCoursesCourseWorkStudentSubmissions($courseId, $courseWorkId, $id, Google_Service_Classroom_ReturnStudentSubmissionRequest $postBody, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'courseWorkId' => $courseWorkId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('return', array($params), "Google_Service_Classroom_ClassroomEmpty");
+ }
+ /**
+ * Turns in a student submission. Turning in a student submission transfers
+ * ownership of attached Drive files to the teacher and may also update the
+ * submission state. This may only be called by the student that owns the
+ * specified student submission. This request must be made by the Developer
+ * Console project of the [OAuth client
+ * ID](https://support.google.com/cloud/answer/6158849) used to create the
+ * corresponding course work item. This method returns the following error
+ * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
+ * access the requested course or course work, turn in the requested student
+ * submission, or for access errors. * `INVALID_ARGUMENT` if the request is
+ * malformed. * `NOT_FOUND` if the requested course, course work, or student
+ * submission does not exist. (studentSubmissions.turnIn)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param string $courseWorkId Identifier of the course work.
+ * @param string $id Identifier of the student submission.
+ * @param Google_Service_Classroom_TurnInStudentSubmissionRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_ClassroomEmpty
+ */
+ public function turnIn($courseId, $courseWorkId, $id, Google_Service_Classroom_TurnInStudentSubmissionRequest $postBody, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'courseWorkId' => $courseWorkId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('turnIn', array($params), "Google_Service_Classroom_ClassroomEmpty");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesStudents.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesStudents.php
new file mode 100644
index 00000000..2f6855cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesStudents.php
@@ -0,0 +1,123 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "students" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $classroomService = new Google_Service_Classroom(...);
+ * $students = $classroomService->students;
+ * </code>
+ */
+class Google_Service_Classroom_Resource_CoursesStudents extends Google_Service_Resource
+{
+ /**
+ * Adds a user as a student of a course. This method returns the following error
+ * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
+ * create students in this course or for access errors. * `NOT_FOUND` if the
+ * requested course ID does not exist. * `FAILED_PRECONDITION` if the requested
+ * user's account is disabled, for the following request errors: *
+ * CourseMemberLimitReached * CourseNotModifiable *
+ * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if the user is already a
+ * student or teacher in the course. (students.create)
+ *
+ * @param string $courseId Identifier of the course to create the student in.
+ * This identifier can be either the Classroom-assigned identifier or an alias.
+ * @param Google_Service_Classroom_Student $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string enrollmentCode Enrollment code of the course to create the
+ * student in. This code is required if userId corresponds to the requesting
+ * user; it may be omitted if the requesting user has administrative permissions
+ * to create students for any user.
+ * @return Google_Service_Classroom_Student
+ */
+ public function create($courseId, Google_Service_Classroom_Student $postBody, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Classroom_Student");
+ }
+ /**
+ * Deletes a student of a course. This method returns the following error codes:
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to delete
+ * students of this course or for access errors. * `NOT_FOUND` if no student of
+ * this course has the requested ID or if the course does not exist.
+ * (students.delete)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param string $userId Identifier of the student to delete. The identifier can
+ * be one of the following: * the numeric identifier for the user * the email
+ * address of the user * the string literal `"me"`, indicating the requesting
+ * user
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_ClassroomEmpty
+ */
+ public function delete($courseId, $userId, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Classroom_ClassroomEmpty");
+ }
+ /**
+ * Returns a student of a course. This method returns the following error codes:
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to view
+ * students of this course or for access errors. * `NOT_FOUND` if no student of
+ * this course has the requested ID or if the course does not exist.
+ * (students.get)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param string $userId Identifier of the student to return. The identifier can
+ * be one of the following: * the numeric identifier for the user * the email
+ * address of the user * the string literal `"me"`, indicating the requesting
+ * user
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_Student
+ */
+ public function get($courseId, $userId, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Classroom_Student");
+ }
+ /**
+ * Returns a list of students of this course that the requester is permitted to
+ * view. This method returns the following error codes: * `NOT_FOUND` if the
+ * course does not exist. * `PERMISSION_DENIED` for access errors.
+ * (students.listCoursesStudents)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Maximum number of items to return. Zero means no
+ * maximum. The server may return fewer than the specified number of results.
+ * @opt_param string pageToken nextPageToken value returned from a previous list
+ * call, indicating that the subsequent page of results should be returned. The
+ * list request must be otherwise identical to the one that resulted in this
+ * token.
+ * @return Google_Service_Classroom_ListStudentsResponse
+ */
+ public function listCoursesStudents($courseId, $optParams = array())
+ {
+ $params = array('courseId' => $courseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Classroom_ListStudentsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesTeachers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesTeachers.php
new file mode 100644
index 00000000..881a74b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesTeachers.php
@@ -0,0 +1,119 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "teachers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $classroomService = new Google_Service_Classroom(...);
+ * $teachers = $classroomService->teachers;
+ * </code>
+ */
+class Google_Service_Classroom_Resource_CoursesTeachers extends Google_Service_Resource
+{
+ /**
+ * Creates a teacher of a course. This method returns the following error codes:
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to create
+ * teachers in this course or for access errors. * `NOT_FOUND` if the requested
+ * course ID does not exist. * `FAILED_PRECONDITION` if the requested user's
+ * account is disabled, for the following request errors: *
+ * CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached *
+ * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if the user is already a
+ * teacher or student in the course. (teachers.create)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param Google_Service_Classroom_Teacher $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_Teacher
+ */
+ public function create($courseId, Google_Service_Classroom_Teacher $postBody, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Classroom_Teacher");
+ }
+ /**
+ * Deletes a teacher of a course. This method returns the following error codes:
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to delete
+ * teachers of this course or for access errors. * `NOT_FOUND` if no teacher of
+ * this course has the requested ID or if the course does not exist. *
+ * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher of
+ * this course. (teachers.delete)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param string $userId Identifier of the teacher to delete. The identifier can
+ * be one of the following: * the numeric identifier for the user * the email
+ * address of the user * the string literal `"me"`, indicating the requesting
+ * user
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_ClassroomEmpty
+ */
+ public function delete($courseId, $userId, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Classroom_ClassroomEmpty");
+ }
+ /**
+ * Returns a teacher of a course. This method returns the following error codes:
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to view
+ * teachers of this course or for access errors. * `NOT_FOUND` if no teacher of
+ * this course has the requested ID or if the course does not exist.
+ * (teachers.get)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param string $userId Identifier of the teacher to return. The identifier can
+ * be one of the following: * the numeric identifier for the user * the email
+ * address of the user * the string literal `"me"`, indicating the requesting
+ * user
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_Teacher
+ */
+ public function get($courseId, $userId, $optParams = array())
+ {
+ $params = array('courseId' => $courseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Classroom_Teacher");
+ }
+ /**
+ * Returns a list of teachers of this course that the requester is permitted to
+ * view. This method returns the following error codes: * `NOT_FOUND` if the
+ * course does not exist. * `PERMISSION_DENIED` for access errors.
+ * (teachers.listCoursesTeachers)
+ *
+ * @param string $courseId Identifier of the course. This identifier can be
+ * either the Classroom-assigned identifier or an alias.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Maximum number of items to return. Zero means no
+ * maximum. The server may return fewer than the specified number of results.
+ * @opt_param string pageToken nextPageToken value returned from a previous list
+ * call, indicating that the subsequent page of results should be returned. The
+ * list request must be otherwise identical to the one that resulted in this
+ * token.
+ * @return Google_Service_Classroom_ListTeachersResponse
+ */
+ public function listCoursesTeachers($courseId, $optParams = array())
+ {
+ $params = array('courseId' => $courseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Classroom_ListTeachersResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/Invitations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/Invitations.php
new file mode 100644
index 00000000..6c946833
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/Invitations.php
@@ -0,0 +1,131 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "invitations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $classroomService = new Google_Service_Classroom(...);
+ * $invitations = $classroomService->invitations;
+ * </code>
+ */
+class Google_Service_Classroom_Resource_Invitations extends Google_Service_Resource
+{
+ /**
+ * Accepts an invitation, removing it and adding the invited user to the
+ * teachers or students (as appropriate) of the specified course. Only the
+ * invited user may accept an invitation. This method returns the following
+ * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
+ * accept the requested invitation or for access errors. * `FAILED_PRECONDITION`
+ * for the following request errors: * CourseMemberLimitReached *
+ * CourseNotModifiable * CourseTeacherLimitReached *
+ * UserGroupsMembershipLimitReached * `NOT_FOUND` if no invitation exists with
+ * the requested ID. (invitations.accept)
+ *
+ * @param string $id Identifier of the invitation to accept.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_ClassroomEmpty
+ */
+ public function accept($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('accept', array($params), "Google_Service_Classroom_ClassroomEmpty");
+ }
+ /**
+ * Creates an invitation. Only one invitation for a user and course may exist at
+ * a time. Delete and re-create an invitation to make changes. This method
+ * returns the following error codes: * `PERMISSION_DENIED` if the requesting
+ * user is not permitted to create invitations for this course or for access
+ * errors. * `NOT_FOUND` if the course or the user does not exist. *
+ * `FAILED_PRECONDITION` if the requested user's account is disabled or if the
+ * user already has this role or a role with greater permissions. *
+ * `ALREADY_EXISTS` if an invitation for the specified user and course already
+ * exists. (invitations.create)
+ *
+ * @param Google_Service_Classroom_Invitation $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_Invitation
+ */
+ public function create(Google_Service_Classroom_Invitation $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Classroom_Invitation");
+ }
+ /**
+ * Deletes an invitation. This method returns the following error codes: *
+ * `PERMISSION_DENIED` if the requesting user is not permitted to delete the
+ * requested invitation or for access errors. * `NOT_FOUND` if no invitation
+ * exists with the requested ID. (invitations.delete)
+ *
+ * @param string $id Identifier of the invitation to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_ClassroomEmpty
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Classroom_ClassroomEmpty");
+ }
+ /**
+ * Returns an invitation. This method returns the following error codes: *
+ * `PERMISSION_DENIED` if the requesting user is not permitted to view the
+ * requested invitation or for access errors. * `NOT_FOUND` if no invitation
+ * exists with the requested ID. (invitations.get)
+ *
+ * @param string $id Identifier of the invitation to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_Invitation
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Classroom_Invitation");
+ }
+ /**
+ * Returns a list of invitations that the requesting user is permitted to view,
+ * restricted to those that match the list request. *Note:* At least one of
+ * `user_id` or `course_id` must be supplied. Both fields can be supplied. This
+ * method returns the following error codes: * `PERMISSION_DENIED` for access
+ * errors. (invitations.listInvitations)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string userId Restricts returned invitations to those for a
+ * specific user. The identifier can be one of the following: * the numeric
+ * identifier for the user * the email address of the user * the string literal
+ * `"me"`, indicating the requesting user
+ * @opt_param string courseId Restricts returned invitations to those for a
+ * course with the specified identifier.
+ * @opt_param int pageSize Maximum number of items to return. Zero means no
+ * maximum. The server may return fewer than the specified number of results.
+ * @opt_param string pageToken nextPageToken value returned from a previous list
+ * call, indicating that the subsequent page of results should be returned. The
+ * list request must be otherwise identical to the one that resulted in this
+ * token.
+ * @return Google_Service_Classroom_ListInvitationsResponse
+ */
+ public function listInvitations($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Classroom_ListInvitationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfiles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfiles.php
new file mode 100644
index 00000000..38ee3eb6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfiles.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "userProfiles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $classroomService = new Google_Service_Classroom(...);
+ * $userProfiles = $classroomService->userProfiles;
+ * </code>
+ */
+class Google_Service_Classroom_Resource_UserProfiles extends Google_Service_Resource
+{
+ /**
+ * Returns a user profile. This method returns the following error codes: *
+ * `PERMISSION_DENIED` if the requesting user is not permitted to access this
+ * user profile, if no profile exists with the requested ID, or for access
+ * errors. (userProfiles.get)
+ *
+ * @param string $userId Identifier of the profile to return. The identifier can
+ * be one of the following: * the numeric identifier for the user * the email
+ * address of the user * the string literal `"me"`, indicating the requesting
+ * user
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_UserProfile
+ */
+ public function get($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Classroom_UserProfile");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfilesGuardianInvitations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfilesGuardianInvitations.php
new file mode 100644
index 00000000..a8a88224
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfilesGuardianInvitations.php
@@ -0,0 +1,166 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "guardianInvitations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $classroomService = new Google_Service_Classroom(...);
+ * $guardianInvitations = $classroomService->guardianInvitations;
+ * </code>
+ */
+class Google_Service_Classroom_Resource_UserProfilesGuardianInvitations extends Google_Service_Resource
+{
+ /**
+ * Creates a guardian invitation, and sends an email to the guardian asking them
+ * to confirm that they are the student's guardian. Once the guardian accepts
+ * the invitation, their `state` will change to `COMPLETED` and they will start
+ * receiving guardian notifications. A `Guardian` resource will also be created
+ * to represent the active guardian. The request object must have the
+ * `student_id` and `invited_email_address` fields set. Failing to set these
+ * fields, or setting any other fields in the request, will result in an error.
+ * This method returns the following error codes: * `PERMISSION_DENIED` if the
+ * current user does not have permission to manage guardians, if the guardian in
+ * question has already rejected too many requests for that student, if
+ * guardians are not enabled for the domain in question, or for other access
+ * errors. * `RESOURCE_EXHAUSTED` if the student or guardian has exceeded the
+ * guardian link limit. * `INVALID_ARGUMENT` if the guardian email address is
+ * not valid (for example, if it is too long), or if the format of the student
+ * ID provided cannot be recognized (it is not an email address, nor a `user_id`
+ * from this API). This error will also be returned if read-only fields are set,
+ * or if the `state` field is set to to a value other than `PENDING`. *
+ * `NOT_FOUND` if the student ID provided is a valid student ID, but Classroom
+ * has no record of that student. * `ALREADY_EXISTS` if there is already a
+ * pending guardian invitation for the student and `invited_email_address`
+ * provided, or if the provided `invited_email_address` matches the Google
+ * account of an existing `Guardian` for this user. (guardianInvitations.create)
+ *
+ * @param string $studentId ID of the student (in standard format)
+ * @param Google_Service_Classroom_GuardianInvitation $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_GuardianInvitation
+ */
+ public function create($studentId, Google_Service_Classroom_GuardianInvitation $postBody, $optParams = array())
+ {
+ $params = array('studentId' => $studentId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Classroom_GuardianInvitation");
+ }
+ /**
+ * Returns a specific guardian invitation. This method returns the following
+ * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
+ * view guardian invitations for the student identified by the `student_id`, if
+ * guardians are not enabled for the domain in question, or for other access
+ * errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format
+ * cannot be recognized (it is not an email address, nor a `student_id` from the
+ * API, nor the literal string `me`). * `NOT_FOUND` if Classroom cannot find any
+ * record of the given student or `invitation_id`. May also be returned if the
+ * student exists, but the requesting user does not have access to see that
+ * student. (guardianInvitations.get)
+ *
+ * @param string $studentId The ID of the student whose guardian invitation is
+ * being requested.
+ * @param string $invitationId The `id` field of the `GuardianInvitation` being
+ * requested.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_GuardianInvitation
+ */
+ public function get($studentId, $invitationId, $optParams = array())
+ {
+ $params = array('studentId' => $studentId, 'invitationId' => $invitationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Classroom_GuardianInvitation");
+ }
+ /**
+ * Returns a list of guardian invitations that the requesting user is permitted
+ * to view, filtered by the parameters provided. This method returns the
+ * following error codes: * `PERMISSION_DENIED` if a `student_id` is specified,
+ * and the requesting user is not permitted to view guardian invitations for
+ * that student, if `"-"` is specified as the `student_id` and the user is not a
+ * domain administrator, if guardians are not enabled for the domain in
+ * question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id`
+ * is specified, but its format cannot be recognized (it is not an email
+ * address, nor a `student_id` from the API, nor the literal string `me`). May
+ * also be returned if an invalid `page_token` or `state` is provided. *
+ * `NOT_FOUND` if a `student_id` is specified, and its format can be recognized,
+ * but Classroom has no record of that student.
+ * (guardianInvitations.listUserProfilesGuardianInvitations)
+ *
+ * @param string $studentId The ID of the student whose guardian invitations are
+ * to be returned. The identifier can be one of the following: * the numeric
+ * identifier for the user * the email address of the user * the string literal
+ * `"me"`, indicating the requesting user * the string literal `"-"`, indicating
+ * that results should be returned for all students that the requesting user is
+ * permitted to view guardian invitations.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string invitedEmailAddress If specified, only results with the
+ * specified `invited_email_address` will be returned.
+ * @opt_param string states If specified, only results with the specified
+ * `state` values will be returned. Otherwise, results with a `state` of
+ * `PENDING` will be returned.
+ * @opt_param string pageToken nextPageToken value returned from a previous list
+ * call, indicating that the subsequent page of results should be returned. The
+ * list request must be otherwise identical to the one that resulted in this
+ * token.
+ * @opt_param int pageSize Maximum number of items to return. Zero or
+ * unspecified indicates that the server may assign a maximum. The server may
+ * return fewer than the specified number of results.
+ * @return Google_Service_Classroom_ListGuardianInvitationsResponse
+ */
+ public function listUserProfilesGuardianInvitations($studentId, $optParams = array())
+ {
+ $params = array('studentId' => $studentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Classroom_ListGuardianInvitationsResponse");
+ }
+ /**
+ * Modifies a guardian invitation. Currently, the only valid modification is to
+ * change the `state` from `PENDING` to `COMPLETE`. This has the effect of
+ * withdrawing the invitation. This method returns the following error codes: *
+ * `PERMISSION_DENIED` if the current user does not have permission to manage
+ * guardians, if guardians are not enabled for the domain in question or for
+ * other access errors. * `FAILED_PRECONDITION` if the guardian link is not in
+ * the `PENDING` state. * `INVALID_ARGUMENT` if the format of the student ID
+ * provided cannot be recognized (it is not an email address, nor a `user_id`
+ * from this API), or if the passed `GuardianInvitation` has a `state` other
+ * than `COMPLETE`, or if it modifies fields other than `state`. * `NOT_FOUND`
+ * if the student ID provided is a valid student ID, but Classroom has no record
+ * of that student, or if the `id` field does not refer to a guardian invitation
+ * known to Classroom. (guardianInvitations.patch)
+ *
+ * @param string $studentId The ID of the student whose guardian invitation is
+ * to be modified.
+ * @param string $invitationId The `id` field of the `GuardianInvitation` to be
+ * modified.
+ * @param Google_Service_Classroom_GuardianInvitation $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask Mask that identifies which fields on the course
+ * to update. This field is required to do an update. The update will fail if
+ * invalid fields are specified. The following fields are valid: * `state` When
+ * set in a query parameter, this field should be specified as
+ * `updateMask=,,...`
+ * @return Google_Service_Classroom_GuardianInvitation
+ */
+ public function patch($studentId, $invitationId, Google_Service_Classroom_GuardianInvitation $postBody, $optParams = array())
+ {
+ $params = array('studentId' => $studentId, 'invitationId' => $invitationId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Classroom_GuardianInvitation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfilesGuardians.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfilesGuardians.php
new file mode 100644
index 00000000..98a8371f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfilesGuardians.php
@@ -0,0 +1,124 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "guardians" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $classroomService = new Google_Service_Classroom(...);
+ * $guardians = $classroomService->guardians;
+ * </code>
+ */
+class Google_Service_Classroom_Resource_UserProfilesGuardians extends Google_Service_Resource
+{
+ /**
+ * Deletes a guardian. The guardian will no longer receive guardian
+ * notifications and the guardian will no longer be accessible via the API. This
+ * method returns the following error codes: * `PERMISSION_DENIED` if no user
+ * that matches the provided `student_id` is visible to the requesting user, if
+ * the requesting user is not permitted to manage guardians for the student
+ * identified by the `student_id`, if guardians are not enabled for the domain
+ * in question, or for other access errors. * `INVALID_ARGUMENT` if a
+ * `student_id` is specified, but its format cannot be recognized (it is not an
+ * email address, nor a `student_id` from the API). * `NOT_FOUND` if the
+ * requesting user is permitted to modify guardians for the requested
+ * `student_id`, but no `Guardian` record exists for that student with the
+ * provided `guardian_id`. (guardians.delete)
+ *
+ * @param string $studentId The student whose guardian is to be deleted. One of
+ * the following: * the numeric identifier for the user * the email address of
+ * the user * the string literal `"me"`, indicating the requesting user
+ * @param string $guardianId The `id` field from a `Guardian`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_ClassroomEmpty
+ */
+ public function delete($studentId, $guardianId, $optParams = array())
+ {
+ $params = array('studentId' => $studentId, 'guardianId' => $guardianId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Classroom_ClassroomEmpty");
+ }
+ /**
+ * Returns a specific guardian. This method returns the following error codes: *
+ * `PERMISSION_DENIED` if no user that matches the provided `student_id` is
+ * visible to the requesting user, if the requesting user is not permitted to
+ * view guardian information for the student identified by the `student_id`, if
+ * guardians are not enabled for the domain in question, or for other access
+ * errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format
+ * cannot be recognized (it is not an email address, nor a `student_id` from the
+ * API, nor the literal string `me`). * `NOT_FOUND` if the requesting user is
+ * permitted to view guardians for the requested `student_id`, but no `Guardian`
+ * record exists for that student that matches the provided `guardian_id`.
+ * (guardians.get)
+ *
+ * @param string $studentId The student whose guardian is being requested. One
+ * of the following: * the numeric identifier for the user * the email address
+ * of the user * the string literal `"me"`, indicating the requesting user
+ * @param string $guardianId The `id` field from a `Guardian`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Classroom_Guardian
+ */
+ public function get($studentId, $guardianId, $optParams = array())
+ {
+ $params = array('studentId' => $studentId, 'guardianId' => $guardianId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Classroom_Guardian");
+ }
+ /**
+ * Returns a list of guardians that the requesting user is permitted to view,
+ * restricted to those that match the request. To list guardians for any student
+ * that the requesting user may view guardians for, use the literal character
+ * `-` for the student ID. This method returns the following error codes: *
+ * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting user
+ * is not permitted to view guardian information for that student, if `"-"` is
+ * specified as the `student_id` and the user is not a domain administrator, if
+ * guardians are not enabled for the domain in question, if the
+ * `invited_email_address` filter is set by a user who is not a domain
+ * administrator, or for other access errors. * `INVALID_ARGUMENT` if a
+ * `student_id` is specified, but its format cannot be recognized (it is not an
+ * email address, nor a `student_id` from the API, nor the literal string `me`).
+ * May also be returned if an invalid `page_token` is provided. * `NOT_FOUND` if
+ * a `student_id` is specified, and its format can be recognized, but Classroom
+ * has no record of that student. (guardians.listUserProfilesGuardians)
+ *
+ * @param string $studentId Filter results by the student who the guardian is
+ * linked to. The identifier can be one of the following: * the numeric
+ * identifier for the user * the email address of the user * the string literal
+ * `"me"`, indicating the requesting user * the string literal `"-"`, indicating
+ * that results should be returned for all students that the requesting user has
+ * access to view.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string invitedEmailAddress Filter results by the email address
+ * that the original invitation was sent to, resulting in this guardian link.
+ * This filter can only be used by domain administrators.
+ * @opt_param string pageToken nextPageToken value returned from a previous list
+ * call, indicating that the subsequent page of results should be returned. The
+ * list request must be otherwise identical to the one that resulted in this
+ * token.
+ * @opt_param int pageSize Maximum number of items to return. Zero or
+ * unspecified indicates that the server may assign a maximum. The server may
+ * return fewer than the specified number of results.
+ * @return Google_Service_Classroom_ListGuardiansResponse
+ */
+ public function listUserProfilesGuardians($studentId, $optParams = array())
+ {
+ $params = array('studentId' => $studentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Classroom_ListGuardiansResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ReturnStudentSubmissionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ReturnStudentSubmissionRequest.php
new file mode 100644
index 00000000..e9b41ced
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ReturnStudentSubmissionRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_ReturnStudentSubmissionRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/SharedDriveFile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/SharedDriveFile.php
new file mode 100644
index 00000000..b5d3e1f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/SharedDriveFile.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_SharedDriveFile extends Google_Model
+{
+ protected $driveFileType = 'Google_Service_Classroom_DriveFile';
+ protected $driveFileDataType = '';
+ public $shareMode;
+
+ public function setDriveFile(Google_Service_Classroom_DriveFile $driveFile)
+ {
+ $this->driveFile = $driveFile;
+ }
+ public function getDriveFile()
+ {
+ return $this->driveFile;
+ }
+ public function setShareMode($shareMode)
+ {
+ $this->shareMode = $shareMode;
+ }
+ public function getShareMode()
+ {
+ return $this->shareMode;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ShortAnswerSubmission.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ShortAnswerSubmission.php
new file mode 100644
index 00000000..e4c59121
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ShortAnswerSubmission.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_ShortAnswerSubmission extends Google_Model
+{
+ public $answer;
+
+ public function setAnswer($answer)
+ {
+ $this->answer = $answer;
+ }
+ public function getAnswer()
+ {
+ return $this->answer;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Student.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Student.php
new file mode 100644
index 00000000..65e5dcdd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Student.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_Student extends Google_Model
+{
+ public $courseId;
+ protected $profileType = 'Google_Service_Classroom_UserProfile';
+ protected $profileDataType = '';
+ protected $studentWorkFolderType = 'Google_Service_Classroom_DriveFolder';
+ protected $studentWorkFolderDataType = '';
+ public $userId;
+
+ public function setCourseId($courseId)
+ {
+ $this->courseId = $courseId;
+ }
+ public function getCourseId()
+ {
+ return $this->courseId;
+ }
+ public function setProfile(Google_Service_Classroom_UserProfile $profile)
+ {
+ $this->profile = $profile;
+ }
+ public function getProfile()
+ {
+ return $this->profile;
+ }
+ public function setStudentWorkFolder(Google_Service_Classroom_DriveFolder $studentWorkFolder)
+ {
+ $this->studentWorkFolder = $studentWorkFolder;
+ }
+ public function getStudentWorkFolder()
+ {
+ return $this->studentWorkFolder;
+ }
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/StudentSubmission.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/StudentSubmission.php
new file mode 100644
index 00000000..82262450
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/StudentSubmission.php
@@ -0,0 +1,168 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_StudentSubmission extends Google_Model
+{
+ public $alternateLink;
+ public $assignedGrade;
+ protected $assignmentSubmissionType = 'Google_Service_Classroom_AssignmentSubmission';
+ protected $assignmentSubmissionDataType = '';
+ public $associatedWithDeveloper;
+ public $courseId;
+ public $courseWorkId;
+ public $courseWorkType;
+ public $creationTime;
+ public $draftGrade;
+ public $id;
+ public $late;
+ protected $multipleChoiceSubmissionType = 'Google_Service_Classroom_MultipleChoiceSubmission';
+ protected $multipleChoiceSubmissionDataType = '';
+ protected $shortAnswerSubmissionType = 'Google_Service_Classroom_ShortAnswerSubmission';
+ protected $shortAnswerSubmissionDataType = '';
+ public $state;
+ public $updateTime;
+ public $userId;
+
+ public function setAlternateLink($alternateLink)
+ {
+ $this->alternateLink = $alternateLink;
+ }
+ public function getAlternateLink()
+ {
+ return $this->alternateLink;
+ }
+ public function setAssignedGrade($assignedGrade)
+ {
+ $this->assignedGrade = $assignedGrade;
+ }
+ public function getAssignedGrade()
+ {
+ return $this->assignedGrade;
+ }
+ public function setAssignmentSubmission(Google_Service_Classroom_AssignmentSubmission $assignmentSubmission)
+ {
+ $this->assignmentSubmission = $assignmentSubmission;
+ }
+ public function getAssignmentSubmission()
+ {
+ return $this->assignmentSubmission;
+ }
+ public function setAssociatedWithDeveloper($associatedWithDeveloper)
+ {
+ $this->associatedWithDeveloper = $associatedWithDeveloper;
+ }
+ public function getAssociatedWithDeveloper()
+ {
+ return $this->associatedWithDeveloper;
+ }
+ public function setCourseId($courseId)
+ {
+ $this->courseId = $courseId;
+ }
+ public function getCourseId()
+ {
+ return $this->courseId;
+ }
+ public function setCourseWorkId($courseWorkId)
+ {
+ $this->courseWorkId = $courseWorkId;
+ }
+ public function getCourseWorkId()
+ {
+ return $this->courseWorkId;
+ }
+ public function setCourseWorkType($courseWorkType)
+ {
+ $this->courseWorkType = $courseWorkType;
+ }
+ public function getCourseWorkType()
+ {
+ return $this->courseWorkType;
+ }
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setDraftGrade($draftGrade)
+ {
+ $this->draftGrade = $draftGrade;
+ }
+ public function getDraftGrade()
+ {
+ return $this->draftGrade;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLate($late)
+ {
+ $this->late = $late;
+ }
+ public function getLate()
+ {
+ return $this->late;
+ }
+ public function setMultipleChoiceSubmission(Google_Service_Classroom_MultipleChoiceSubmission $multipleChoiceSubmission)
+ {
+ $this->multipleChoiceSubmission = $multipleChoiceSubmission;
+ }
+ public function getMultipleChoiceSubmission()
+ {
+ return $this->multipleChoiceSubmission;
+ }
+ public function setShortAnswerSubmission(Google_Service_Classroom_ShortAnswerSubmission $shortAnswerSubmission)
+ {
+ $this->shortAnswerSubmission = $shortAnswerSubmission;
+ }
+ public function getShortAnswerSubmission()
+ {
+ return $this->shortAnswerSubmission;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setUpdateTime($updateTime)
+ {
+ $this->updateTime = $updateTime;
+ }
+ public function getUpdateTime()
+ {
+ return $this->updateTime;
+ }
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Teacher.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Teacher.php
new file mode 100644
index 00000000..a8ae4511
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Teacher.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_Teacher extends Google_Model
+{
+ public $courseId;
+ protected $profileType = 'Google_Service_Classroom_UserProfile';
+ protected $profileDataType = '';
+ public $userId;
+
+ public function setCourseId($courseId)
+ {
+ $this->courseId = $courseId;
+ }
+ public function getCourseId()
+ {
+ return $this->courseId;
+ }
+ public function setProfile(Google_Service_Classroom_UserProfile $profile)
+ {
+ $this->profile = $profile;
+ }
+ public function getProfile()
+ {
+ return $this->profile;
+ }
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/TimeOfDay.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/TimeOfDay.php
new file mode 100644
index 00000000..77255e1c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/TimeOfDay.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_TimeOfDay extends Google_Model
+{
+ public $hours;
+ public $minutes;
+ public $nanos;
+ public $seconds;
+
+ public function setHours($hours)
+ {
+ $this->hours = $hours;
+ }
+ public function getHours()
+ {
+ return $this->hours;
+ }
+ public function setMinutes($minutes)
+ {
+ $this->minutes = $minutes;
+ }
+ public function getMinutes()
+ {
+ return $this->minutes;
+ }
+ public function setNanos($nanos)
+ {
+ $this->nanos = $nanos;
+ }
+ public function getNanos()
+ {
+ return $this->nanos;
+ }
+ public function setSeconds($seconds)
+ {
+ $this->seconds = $seconds;
+ }
+ public function getSeconds()
+ {
+ return $this->seconds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/TurnInStudentSubmissionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/TurnInStudentSubmissionRequest.php
new file mode 100644
index 00000000..47f135bd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/TurnInStudentSubmissionRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_TurnInStudentSubmissionRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/UserProfile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/UserProfile.php
new file mode 100644
index 00000000..be414b9f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/UserProfile.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_UserProfile extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $emailAddress;
+ public $id;
+ protected $nameType = 'Google_Service_Classroom_Name';
+ protected $nameDataType = '';
+ protected $permissionsType = 'Google_Service_Classroom_GlobalPermission';
+ protected $permissionsDataType = 'array';
+ public $photoUrl;
+
+ public function setEmailAddress($emailAddress)
+ {
+ $this->emailAddress = $emailAddress;
+ }
+ public function getEmailAddress()
+ {
+ return $this->emailAddress;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName(Google_Service_Classroom_Name $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+ public function setPhotoUrl($photoUrl)
+ {
+ $this->photoUrl = $photoUrl;
+ }
+ public function getPhotoUrl()
+ {
+ return $this->photoUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/YouTubeVideo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/YouTubeVideo.php
new file mode 100644
index 00000000..b3c33abc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/YouTubeVideo.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Classroom_YouTubeVideo extends Google_Model
+{
+ public $alternateLink;
+ public $id;
+ public $thumbnailUrl;
+ public $title;
+
+ public function setAlternateLink($alternateLink)
+ {
+ $this->alternateLink = $alternateLink;
+ }
+ public function getAlternateLink()
+ {
+ return $this->alternateLink;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setThumbnailUrl($thumbnailUrl)
+ {
+ $this->thumbnailUrl = $thumbnailUrl;
+ }
+ public function getThumbnailUrl()
+ {
+ return $this->thumbnailUrl;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild.php
new file mode 100644
index 00000000..7f483bf1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild.php
@@ -0,0 +1,254 @@
+<?php
+/*
+ * Copyright 2016 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 CloudBuild (v1).
+ *
+ * <p>
+ * Builds container images in the cloud.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/container-builder/docs/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudBuild extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $operations;
+ public $projects_builds;
+ public $projects_triggers;
+
+ /**
+ * Constructs the internal representation of the CloudBuild service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://cloudbuild.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'cloudbuild';
+
+ $this->operations = new Google_Service_CloudBuild_Resource_Operations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'v1/{+name}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_builds = new Google_Service_CloudBuild_Resource_ProjectsBuilds(
+ $this,
+ $this->serviceName,
+ 'builds',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'v1/projects/{projectId}/builds/{id}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'v1/projects/{projectId}/builds',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/projects/{projectId}/builds/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/projects/{projectId}/builds',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_triggers = new Google_Service_CloudBuild_Resource_ProjectsTriggers(
+ $this,
+ $this->serviceName,
+ 'triggers',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/projects/{projectId}/triggers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/projects/{projectId}/triggers/{triggerId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'triggerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/projects/{projectId}/triggers/{triggerId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'triggerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/projects/{projectId}/triggers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/projects/{projectId}/triggers/{triggerId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'triggerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Build.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Build.php
new file mode 100644
index 00000000..7f926793
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Build.php
@@ -0,0 +1,189 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_Build extends Google_Collection
+{
+ protected $collection_key = 'steps';
+ public $buildTriggerId;
+ public $createTime;
+ public $finishTime;
+ public $id;
+ public $images;
+ public $logUrl;
+ public $logsBucket;
+ protected $optionsType = 'Google_Service_CloudBuild_BuildOptions';
+ protected $optionsDataType = '';
+ public $projectId;
+ protected $resultsType = 'Google_Service_CloudBuild_Results';
+ protected $resultsDataType = '';
+ protected $sourceType = 'Google_Service_CloudBuild_Source';
+ protected $sourceDataType = '';
+ protected $sourceProvenanceType = 'Google_Service_CloudBuild_SourceProvenance';
+ protected $sourceProvenanceDataType = '';
+ public $startTime;
+ public $status;
+ public $statusDetail;
+ protected $stepsType = 'Google_Service_CloudBuild_BuildStep';
+ protected $stepsDataType = 'array';
+ public $substitutions;
+ public $timeout;
+
+ public function setBuildTriggerId($buildTriggerId)
+ {
+ $this->buildTriggerId = $buildTriggerId;
+ }
+ public function getBuildTriggerId()
+ {
+ return $this->buildTriggerId;
+ }
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setFinishTime($finishTime)
+ {
+ $this->finishTime = $finishTime;
+ }
+ public function getFinishTime()
+ {
+ return $this->finishTime;
+ }
+ 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 setLogUrl($logUrl)
+ {
+ $this->logUrl = $logUrl;
+ }
+ public function getLogUrl()
+ {
+ return $this->logUrl;
+ }
+ public function setLogsBucket($logsBucket)
+ {
+ $this->logsBucket = $logsBucket;
+ }
+ public function getLogsBucket()
+ {
+ return $this->logsBucket;
+ }
+ public function setOptions(Google_Service_CloudBuild_BuildOptions $options)
+ {
+ $this->options = $options;
+ }
+ public function getOptions()
+ {
+ return $this->options;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setResults(Google_Service_CloudBuild_Results $results)
+ {
+ $this->results = $results;
+ }
+ public function getResults()
+ {
+ return $this->results;
+ }
+ public function setSource(Google_Service_CloudBuild_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setSourceProvenance(Google_Service_CloudBuild_SourceProvenance $sourceProvenance)
+ {
+ $this->sourceProvenance = $sourceProvenance;
+ }
+ public function getSourceProvenance()
+ {
+ return $this->sourceProvenance;
+ }
+ 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 setStatusDetail($statusDetail)
+ {
+ $this->statusDetail = $statusDetail;
+ }
+ public function getStatusDetail()
+ {
+ return $this->statusDetail;
+ }
+ public function setSteps($steps)
+ {
+ $this->steps = $steps;
+ }
+ public function getSteps()
+ {
+ return $this->steps;
+ }
+ public function setSubstitutions($substitutions)
+ {
+ $this->substitutions = $substitutions;
+ }
+ public function getSubstitutions()
+ {
+ return $this->substitutions;
+ }
+ public function setTimeout($timeout)
+ {
+ $this->timeout = $timeout;
+ }
+ public function getTimeout()
+ {
+ return $this->timeout;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildOperationMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildOperationMetadata.php
new file mode 100644
index 00000000..7eaa492c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildOperationMetadata.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_BuildOperationMetadata extends Google_Model
+{
+ protected $buildType = 'Google_Service_CloudBuild_Build';
+ protected $buildDataType = '';
+
+ public function setBuild(Google_Service_CloudBuild_Build $build)
+ {
+ $this->build = $build;
+ }
+ public function getBuild()
+ {
+ return $this->build;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildOptions.php
new file mode 100644
index 00000000..a5bec28a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildOptions.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_BuildOptions extends Google_Collection
+{
+ protected $collection_key = 'sourceProvenanceHash';
+ public $requestedVerifyOption;
+ public $sourceProvenanceHash;
+
+ public function setRequestedVerifyOption($requestedVerifyOption)
+ {
+ $this->requestedVerifyOption = $requestedVerifyOption;
+ }
+ public function getRequestedVerifyOption()
+ {
+ return $this->requestedVerifyOption;
+ }
+ public function setSourceProvenanceHash($sourceProvenanceHash)
+ {
+ $this->sourceProvenanceHash = $sourceProvenanceHash;
+ }
+ public function getSourceProvenanceHash()
+ {
+ return $this->sourceProvenanceHash;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildStep.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildStep.php
new file mode 100644
index 00000000..bf4b78be
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildStep.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_BuildStep extends Google_Collection
+{
+ protected $collection_key = 'waitFor';
+ public $args;
+ public $dir;
+ public $entrypoint;
+ public $env;
+ public $id;
+ public $name;
+ public $waitFor;
+
+ public function setArgs($args)
+ {
+ $this->args = $args;
+ }
+ public function getArgs()
+ {
+ return $this->args;
+ }
+ public function setDir($dir)
+ {
+ $this->dir = $dir;
+ }
+ public function getDir()
+ {
+ return $this->dir;
+ }
+ public function setEntrypoint($entrypoint)
+ {
+ $this->entrypoint = $entrypoint;
+ }
+ public function getEntrypoint()
+ {
+ return $this->entrypoint;
+ }
+ public function setEnv($env)
+ {
+ $this->env = $env;
+ }
+ public function getEnv()
+ {
+ return $this->env;
+ }
+ 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 setWaitFor($waitFor)
+ {
+ $this->waitFor = $waitFor;
+ }
+ public function getWaitFor()
+ {
+ return $this->waitFor;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildTrigger.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildTrigger.php
new file mode 100644
index 00000000..1c9a2274
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildTrigger.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_BuildTrigger extends Google_Model
+{
+ protected $buildType = 'Google_Service_CloudBuild_Build';
+ protected $buildDataType = '';
+ public $createTime;
+ public $description;
+ public $disabled;
+ public $filename;
+ public $id;
+ public $substitutions;
+ protected $triggerTemplateType = 'Google_Service_CloudBuild_RepoSource';
+ protected $triggerTemplateDataType = '';
+
+ public function setBuild(Google_Service_CloudBuild_Build $build)
+ {
+ $this->build = $build;
+ }
+ public function getBuild()
+ {
+ return $this->build;
+ }
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDisabled($disabled)
+ {
+ $this->disabled = $disabled;
+ }
+ public function getDisabled()
+ {
+ return $this->disabled;
+ }
+ 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 setSubstitutions($substitutions)
+ {
+ $this->substitutions = $substitutions;
+ }
+ public function getSubstitutions()
+ {
+ return $this->substitutions;
+ }
+ public function setTriggerTemplate(Google_Service_CloudBuild_RepoSource $triggerTemplate)
+ {
+ $this->triggerTemplate = $triggerTemplate;
+ }
+ public function getTriggerTemplate()
+ {
+ return $this->triggerTemplate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuiltImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuiltImage.php
new file mode 100644
index 00000000..018efa99
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuiltImage.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_BuiltImage extends Google_Model
+{
+ public $digest;
+ public $name;
+
+ public function setDigest($digest)
+ {
+ $this->digest = $digest;
+ }
+ public function getDigest()
+ {
+ return $this->digest;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CancelBuildRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CancelBuildRequest.php
new file mode 100644
index 00000000..ffb7bbbb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CancelBuildRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_CancelBuildRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CancelOperationRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CancelOperationRequest.php
new file mode 100644
index 00000000..2fa69d0c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CancelOperationRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_CancelOperationRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CloudbuildEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CloudbuildEmpty.php
new file mode 100644
index 00000000..a5c5e6b3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CloudbuildEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_CloudbuildEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/FileHashes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/FileHashes.php
new file mode 100644
index 00000000..0f52f21a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/FileHashes.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_FileHashes extends Google_Collection
+{
+ protected $collection_key = 'fileHash';
+ protected $fileHashType = 'Google_Service_CloudBuild_Hash';
+ protected $fileHashDataType = 'array';
+
+ public function setFileHash($fileHash)
+ {
+ $this->fileHash = $fileHash;
+ }
+ public function getFileHash()
+ {
+ return $this->fileHash;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Hash.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Hash.php
new file mode 100644
index 00000000..3040ebf6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Hash.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_Hash extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListBuildTriggersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListBuildTriggersResponse.php
new file mode 100644
index 00000000..73b9afaa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListBuildTriggersResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_ListBuildTriggersResponse extends Google_Collection
+{
+ protected $collection_key = 'triggers';
+ protected $triggersType = 'Google_Service_CloudBuild_BuildTrigger';
+ protected $triggersDataType = 'array';
+
+ public function setTriggers($triggers)
+ {
+ $this->triggers = $triggers;
+ }
+ public function getTriggers()
+ {
+ return $this->triggers;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListBuildsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListBuildsResponse.php
new file mode 100644
index 00000000..f6749c76
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListBuildsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_ListBuildsResponse extends Google_Collection
+{
+ protected $collection_key = 'builds';
+ protected $buildsType = 'Google_Service_CloudBuild_Build';
+ protected $buildsDataType = 'array';
+ public $nextPageToken;
+
+ public function setBuilds($builds)
+ {
+ $this->builds = $builds;
+ }
+ public function getBuilds()
+ {
+ return $this->builds;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListOperationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListOperationsResponse.php
new file mode 100644
index 00000000..ac6517dd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListOperationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_ListOperationsResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_CloudBuild_Operation';
+ protected $operationsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Operation.php
new file mode 100644
index 00000000..2aeb3224
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Operation.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_Operation extends Google_Model
+{
+ public $done;
+ protected $errorType = 'Google_Service_CloudBuild_Status';
+ protected $errorDataType = '';
+ public $metadata;
+ public $name;
+ public $response;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_CloudBuild_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setMetadata($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 setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/RepoSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/RepoSource.php
new file mode 100644
index 00000000..aae7ef58
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/RepoSource.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_RepoSource extends Google_Model
+{
+ public $branchName;
+ public $commitSha;
+ public $projectId;
+ public $repoName;
+ public $tagName;
+
+ public function setBranchName($branchName)
+ {
+ $this->branchName = $branchName;
+ }
+ public function getBranchName()
+ {
+ return $this->branchName;
+ }
+ public function setCommitSha($commitSha)
+ {
+ $this->commitSha = $commitSha;
+ }
+ public function getCommitSha()
+ {
+ return $this->commitSha;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setRepoName($repoName)
+ {
+ $this->repoName = $repoName;
+ }
+ public function getRepoName()
+ {
+ return $this->repoName;
+ }
+ public function setTagName($tagName)
+ {
+ $this->tagName = $tagName;
+ }
+ public function getTagName()
+ {
+ return $this->tagName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/Operations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/Operations.php
new file mode 100644
index 00000000..e4adde4d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/Operations.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudbuildService = new Google_Service_CloudBuild(...);
+ * $operations = $cloudbuildService->operations;
+ * </code>
+ */
+class Google_Service_CloudBuild_Resource_Operations extends Google_Service_Resource
+{
+ /**
+ * Starts asynchronous cancellation on a long-running operation. The server
+ * makes a best effort to cancel the operation, but success is not guaranteed.
+ * If the server doesn't support this method, it returns
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
+ * other methods to check whether the cancellation succeeded or whether the
+ * operation completed despite cancellation. On successful cancellation, the
+ * operation is not deleted; instead, it becomes an operation with an
+ * Operation.error value with a google.rpc.Status.code of 1, corresponding to
+ * `Code.CANCELLED`. (operations.cancel)
+ *
+ * @param string $name The name of the operation resource to be cancelled.
+ * @param Google_Service_CloudBuild_CancelOperationRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudBuild_CloudbuildEmpty
+ */
+ public function cancel($name, Google_Service_CloudBuild_CancelOperationRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_CloudBuild_CloudbuildEmpty");
+ }
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this
+ * method to poll the operation result at intervals as recommended by the API
+ * service. (operations.get)
+ *
+ * @param string $name The name of the operation resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudBuild_Operation
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudBuild_Operation");
+ }
+ /**
+ * Lists operations that match the specified filter in the request. If the
+ * server doesn't support this method, it returns `UNIMPLEMENTED`.
+ *
+ * NOTE: the `name` binding below allows API services to override the binding to
+ * use different resource name schemes, such as `users/operations`.
+ * (operations.listOperations)
+ *
+ * @param string $name The name of the operation collection.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The standard list page token.
+ * @opt_param int pageSize The standard list page size.
+ * @opt_param string filter The standard list filter.
+ * @return Google_Service_CloudBuild_ListOperationsResponse
+ */
+ public function listOperations($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudBuild_ListOperationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/Projects.php
new file mode 100644
index 00000000..d9806091
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/Projects.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudbuildService = new Google_Service_CloudBuild(...);
+ * $projects = $cloudbuildService->projects;
+ * </code>
+ */
+class Google_Service_CloudBuild_Resource_Projects extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/ProjectsBuilds.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/ProjectsBuilds.php
new file mode 100644
index 00000000..e3f22516
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/ProjectsBuilds.php
@@ -0,0 +1,99 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "builds" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudbuildService = new Google_Service_CloudBuild(...);
+ * $builds = $cloudbuildService->builds;
+ * </code>
+ */
+class Google_Service_CloudBuild_Resource_ProjectsBuilds extends Google_Service_Resource
+{
+ /**
+ * Cancels a requested build in progress. (builds.cancel)
+ *
+ * @param string $projectId ID of the project.
+ * @param string $id ID of the build.
+ * @param Google_Service_CloudBuild_CancelBuildRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudBuild_Build
+ */
+ public function cancel($projectId, $id, Google_Service_CloudBuild_CancelBuildRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_CloudBuild_Build");
+ }
+ /**
+ * Starts a build with the specified configuration.
+ *
+ * The long-running Operation returned by this method will include the ID of the
+ * build, which can be passed to GetBuild to determine its status (e.g., success
+ * or failure). (builds.create)
+ *
+ * @param string $projectId ID of the project.
+ * @param Google_Service_CloudBuild_Build $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudBuild_Operation
+ */
+ public function create($projectId, Google_Service_CloudBuild_Build $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudBuild_Operation");
+ }
+ /**
+ * Returns information about a previously requested build.
+ *
+ * The Build that is returned includes its status (e.g., success or failure, or
+ * in-progress), and timing information. (builds.get)
+ *
+ * @param string $projectId ID of the project.
+ * @param string $id ID of the build.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudBuild_Build
+ */
+ public function get($projectId, $id, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudBuild_Build");
+ }
+ /**
+ * Lists previously requested builds.
+ *
+ * Previously requested builds may still be in-progress, or may have finished
+ * successfully or unsuccessfully. (builds.listProjectsBuilds)
+ *
+ * @param string $projectId ID of the project.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter The raw filter text to constrain the results.
+ * @opt_param string pageToken Token to provide to skip to a particular spot in
+ * the list.
+ * @opt_param int pageSize Number of results to return in the list.
+ * @return Google_Service_CloudBuild_ListBuildsResponse
+ */
+ public function listProjectsBuilds($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudBuild_ListBuildsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/ProjectsTriggers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/ProjectsTriggers.php
new file mode 100644
index 00000000..d978fc4c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/ProjectsTriggers.php
@@ -0,0 +1,109 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "triggers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudbuildService = new Google_Service_CloudBuild(...);
+ * $triggers = $cloudbuildService->triggers;
+ * </code>
+ */
+class Google_Service_CloudBuild_Resource_ProjectsTriggers extends Google_Service_Resource
+{
+ /**
+ * Creates a new BuildTrigger.
+ *
+ * This API is experimental. (triggers.create)
+ *
+ * @param string $projectId ID of the project for which to configure automatic
+ * builds.
+ * @param Google_Service_CloudBuild_BuildTrigger $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudBuild_BuildTrigger
+ */
+ public function create($projectId, Google_Service_CloudBuild_BuildTrigger $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudBuild_BuildTrigger");
+ }
+ /**
+ * Deletes an BuildTrigger by its project ID and trigger ID.
+ *
+ * This API is experimental. (triggers.delete)
+ *
+ * @param string $projectId ID of the project that owns the trigger.
+ * @param string $triggerId ID of the BuildTrigger to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudBuild_CloudbuildEmpty
+ */
+ public function delete($projectId, $triggerId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'triggerId' => $triggerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudBuild_CloudbuildEmpty");
+ }
+ /**
+ * Gets information about a BuildTrigger.
+ *
+ * This API is experimental. (triggers.get)
+ *
+ * @param string $projectId ID of the project that owns the trigger.
+ * @param string $triggerId ID of the BuildTrigger to get.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudBuild_BuildTrigger
+ */
+ public function get($projectId, $triggerId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'triggerId' => $triggerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudBuild_BuildTrigger");
+ }
+ /**
+ * Lists existing BuildTrigger.
+ *
+ * This API is experimental. (triggers.listProjectsTriggers)
+ *
+ * @param string $projectId ID of the project for which to list BuildTriggers.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudBuild_ListBuildTriggersResponse
+ */
+ public function listProjectsTriggers($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudBuild_ListBuildTriggersResponse");
+ }
+ /**
+ * Updates an BuildTrigger by its project ID and trigger ID.
+ *
+ * This API is experimental. (triggers.patch)
+ *
+ * @param string $projectId ID of the project that owns the trigger.
+ * @param string $triggerId ID of the BuildTrigger to update.
+ * @param Google_Service_CloudBuild_BuildTrigger $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudBuild_BuildTrigger
+ */
+ public function patch($projectId, $triggerId, Google_Service_CloudBuild_BuildTrigger $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'triggerId' => $triggerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_CloudBuild_BuildTrigger");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Results.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Results.php
new file mode 100644
index 00000000..a1f776d4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Results.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_Results extends Google_Collection
+{
+ protected $collection_key = 'images';
+ public $buildStepImages;
+ protected $imagesType = 'Google_Service_CloudBuild_BuiltImage';
+ protected $imagesDataType = 'array';
+
+ public function setBuildStepImages($buildStepImages)
+ {
+ $this->buildStepImages = $buildStepImages;
+ }
+ public function getBuildStepImages()
+ {
+ return $this->buildStepImages;
+ }
+ public function setImages($images)
+ {
+ $this->images = $images;
+ }
+ public function getImages()
+ {
+ return $this->images;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Source.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Source.php
new file mode 100644
index 00000000..a6e26a02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Source.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_Source extends Google_Model
+{
+ protected $repoSourceType = 'Google_Service_CloudBuild_RepoSource';
+ protected $repoSourceDataType = '';
+ protected $storageSourceType = 'Google_Service_CloudBuild_StorageSource';
+ protected $storageSourceDataType = '';
+
+ public function setRepoSource(Google_Service_CloudBuild_RepoSource $repoSource)
+ {
+ $this->repoSource = $repoSource;
+ }
+ public function getRepoSource()
+ {
+ return $this->repoSource;
+ }
+ public function setStorageSource(Google_Service_CloudBuild_StorageSource $storageSource)
+ {
+ $this->storageSource = $storageSource;
+ }
+ public function getStorageSource()
+ {
+ return $this->storageSource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/SourceProvenance.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/SourceProvenance.php
new file mode 100644
index 00000000..a89a9c5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/SourceProvenance.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_SourceProvenance extends Google_Model
+{
+ protected $fileHashesType = 'Google_Service_CloudBuild_FileHashes';
+ protected $fileHashesDataType = 'map';
+ protected $resolvedRepoSourceType = 'Google_Service_CloudBuild_RepoSource';
+ protected $resolvedRepoSourceDataType = '';
+ protected $resolvedStorageSourceType = 'Google_Service_CloudBuild_StorageSource';
+ protected $resolvedStorageSourceDataType = '';
+
+ public function setFileHashes($fileHashes)
+ {
+ $this->fileHashes = $fileHashes;
+ }
+ public function getFileHashes()
+ {
+ return $this->fileHashes;
+ }
+ public function setResolvedRepoSource(Google_Service_CloudBuild_RepoSource $resolvedRepoSource)
+ {
+ $this->resolvedRepoSource = $resolvedRepoSource;
+ }
+ public function getResolvedRepoSource()
+ {
+ return $this->resolvedRepoSource;
+ }
+ public function setResolvedStorageSource(Google_Service_CloudBuild_StorageSource $resolvedStorageSource)
+ {
+ $this->resolvedStorageSource = $resolvedStorageSource;
+ }
+ public function getResolvedStorageSource()
+ {
+ return $this->resolvedStorageSource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Status.php
new file mode 100644
index 00000000..66067950
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/StorageSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/StorageSource.php
new file mode 100644
index 00000000..3a3df0a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/StorageSource.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudBuild_StorageSource extends Google_Model
+{
+ public $bucket;
+ public $generation;
+ public $object;
+
+ public function setBucket($bucket)
+ {
+ $this->bucket = $bucket;
+ }
+ public function getBucket()
+ {
+ return $this->bucket;
+ }
+ public function setGeneration($generation)
+ {
+ $this->generation = $generation;
+ }
+ public function getGeneration()
+ {
+ return $this->generation;
+ }
+ public function setObject($object)
+ {
+ $this->object = $object;
+ }
+ public function getObject()
+ {
+ return $this->object;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger.php
new file mode 100644
index 00000000..79744f14
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger.php
@@ -0,0 +1,240 @@
+<?php
+/*
+ * Copyright 2016 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 CloudDebugger (v2).
+ *
+ * <p>
+ * Examines the call stack and variables of a running application without
+ * stopping or slowing it down.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="http://cloud.google.com/debugger" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudDebugger extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** Manage cloud debugger. */
+ const CLOUD_DEBUGGER =
+ "https://www.googleapis.com/auth/cloud_debugger";
+
+ public $controller_debuggees;
+ public $controller_debuggees_breakpoints;
+ public $debugger_debuggees;
+ public $debugger_debuggees_breakpoints;
+
+ /**
+ * Constructs the internal representation of the CloudDebugger service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://clouddebugger.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v2';
+ $this->serviceName = 'clouddebugger';
+
+ $this->controller_debuggees = new Google_Service_CloudDebugger_Resource_ControllerDebuggees(
+ $this,
+ $this->serviceName,
+ 'debuggees',
+ array(
+ 'methods' => array(
+ 'register' => array(
+ 'path' => 'v2/controller/debuggees/register',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->controller_debuggees_breakpoints = new Google_Service_CloudDebugger_Resource_ControllerDebuggeesBreakpoints(
+ $this,
+ $this->serviceName,
+ 'breakpoints',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v2/controller/debuggees/{debuggeeId}/breakpoints',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'debuggeeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'successOnTimeout' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'waitToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'debuggeeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->debugger_debuggees = new Google_Service_CloudDebugger_Resource_DebuggerDebuggees(
+ $this,
+ $this->serviceName,
+ 'debuggees',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v2/debugger/debuggees',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'clientVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeInactive' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'project' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->debugger_debuggees_breakpoints = new Google_Service_CloudDebugger_Resource_DebuggerDebuggeesBreakpoints(
+ $this,
+ $this->serviceName,
+ 'breakpoints',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'debuggeeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'breakpointId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clientVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'debuggeeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'breakpointId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clientVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'debuggeeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'stripResults' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'waitToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'clientVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'action.value' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeAllUsers' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'includeInactive' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'set' => array(
+ 'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'debuggeeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clientVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/AliasContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/AliasContext.php
new file mode 100644
index 00000000..0a0d9892
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/AliasContext.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_AliasContext extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Breakpoint.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Breakpoint.php
new file mode 100644
index 00000000..146ca95a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Breakpoint.php
@@ -0,0 +1,171 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_Breakpoint extends Google_Collection
+{
+ protected $collection_key = 'variableTable';
+ public $action;
+ public $condition;
+ public $createTime;
+ protected $evaluatedExpressionsType = 'Google_Service_CloudDebugger_Variable';
+ protected $evaluatedExpressionsDataType = 'array';
+ public $expressions;
+ public $finalTime;
+ public $id;
+ public $isFinalState;
+ public $labels;
+ protected $locationType = 'Google_Service_CloudDebugger_SourceLocation';
+ protected $locationDataType = '';
+ public $logLevel;
+ public $logMessageFormat;
+ protected $stackFramesType = 'Google_Service_CloudDebugger_StackFrame';
+ protected $stackFramesDataType = 'array';
+ protected $statusType = 'Google_Service_CloudDebugger_StatusMessage';
+ protected $statusDataType = '';
+ public $userEmail;
+ protected $variableTableType = 'Google_Service_CloudDebugger_Variable';
+ protected $variableTableDataType = 'array';
+
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setCondition($condition)
+ {
+ $this->condition = $condition;
+ }
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setEvaluatedExpressions($evaluatedExpressions)
+ {
+ $this->evaluatedExpressions = $evaluatedExpressions;
+ }
+ public function getEvaluatedExpressions()
+ {
+ return $this->evaluatedExpressions;
+ }
+ public function setExpressions($expressions)
+ {
+ $this->expressions = $expressions;
+ }
+ public function getExpressions()
+ {
+ return $this->expressions;
+ }
+ public function setFinalTime($finalTime)
+ {
+ $this->finalTime = $finalTime;
+ }
+ public function getFinalTime()
+ {
+ return $this->finalTime;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIsFinalState($isFinalState)
+ {
+ $this->isFinalState = $isFinalState;
+ }
+ public function getIsFinalState()
+ {
+ return $this->isFinalState;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLocation(Google_Service_CloudDebugger_SourceLocation $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setLogLevel($logLevel)
+ {
+ $this->logLevel = $logLevel;
+ }
+ public function getLogLevel()
+ {
+ return $this->logLevel;
+ }
+ public function setLogMessageFormat($logMessageFormat)
+ {
+ $this->logMessageFormat = $logMessageFormat;
+ }
+ public function getLogMessageFormat()
+ {
+ return $this->logMessageFormat;
+ }
+ public function setStackFrames($stackFrames)
+ {
+ $this->stackFrames = $stackFrames;
+ }
+ public function getStackFrames()
+ {
+ return $this->stackFrames;
+ }
+ public function setStatus(Google_Service_CloudDebugger_StatusMessage $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setUserEmail($userEmail)
+ {
+ $this->userEmail = $userEmail;
+ }
+ public function getUserEmail()
+ {
+ return $this->userEmail;
+ }
+ public function setVariableTable($variableTable)
+ {
+ $this->variableTable = $variableTable;
+ }
+ public function getVariableTable()
+ {
+ return $this->variableTable;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudRepoSourceContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudRepoSourceContext.php
new file mode 100644
index 00000000..fcd5d8b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudRepoSourceContext.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_CloudRepoSourceContext extends Google_Model
+{
+ protected $aliasContextType = 'Google_Service_CloudDebugger_AliasContext';
+ protected $aliasContextDataType = '';
+ public $aliasName;
+ protected $repoIdType = 'Google_Service_CloudDebugger_RepoId';
+ protected $repoIdDataType = '';
+ public $revisionId;
+
+ public function setAliasContext(Google_Service_CloudDebugger_AliasContext $aliasContext)
+ {
+ $this->aliasContext = $aliasContext;
+ }
+ public function getAliasContext()
+ {
+ return $this->aliasContext;
+ }
+ public function setAliasName($aliasName)
+ {
+ $this->aliasName = $aliasName;
+ }
+ public function getAliasName()
+ {
+ return $this->aliasName;
+ }
+ public function setRepoId(Google_Service_CloudDebugger_RepoId $repoId)
+ {
+ $this->repoId = $repoId;
+ }
+ public function getRepoId()
+ {
+ return $this->repoId;
+ }
+ public function setRevisionId($revisionId)
+ {
+ $this->revisionId = $revisionId;
+ }
+ public function getRevisionId()
+ {
+ return $this->revisionId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudWorkspaceId.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudWorkspaceId.php
new file mode 100644
index 00000000..30d3bd82
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudWorkspaceId.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_CloudWorkspaceId extends Google_Model
+{
+ public $name;
+ protected $repoIdType = 'Google_Service_CloudDebugger_RepoId';
+ protected $repoIdDataType = '';
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRepoId(Google_Service_CloudDebugger_RepoId $repoId)
+ {
+ $this->repoId = $repoId;
+ }
+ public function getRepoId()
+ {
+ return $this->repoId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudWorkspaceSourceContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudWorkspaceSourceContext.php
new file mode 100644
index 00000000..a29c6abb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudWorkspaceSourceContext.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_CloudWorkspaceSourceContext extends Google_Model
+{
+ public $snapshotId;
+ protected $workspaceIdType = 'Google_Service_CloudDebugger_CloudWorkspaceId';
+ protected $workspaceIdDataType = '';
+
+ public function setSnapshotId($snapshotId)
+ {
+ $this->snapshotId = $snapshotId;
+ }
+ public function getSnapshotId()
+ {
+ return $this->snapshotId;
+ }
+ public function setWorkspaceId(Google_Service_CloudDebugger_CloudWorkspaceId $workspaceId)
+ {
+ $this->workspaceId = $workspaceId;
+ }
+ public function getWorkspaceId()
+ {
+ return $this->workspaceId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ClouddebuggerEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ClouddebuggerEmpty.php
new file mode 100644
index 00000000..1baaee17
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ClouddebuggerEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_ClouddebuggerEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Debuggee.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Debuggee.php
new file mode 100644
index 00000000..559348d2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Debuggee.php
@@ -0,0 +1,124 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_Debuggee extends Google_Collection
+{
+ protected $collection_key = 'sourceContexts';
+ public $agentVersion;
+ public $description;
+ protected $extSourceContextsType = 'Google_Service_CloudDebugger_ExtendedSourceContext';
+ protected $extSourceContextsDataType = 'array';
+ public $id;
+ public $isDisabled;
+ public $isInactive;
+ public $labels;
+ public $project;
+ protected $sourceContextsType = 'Google_Service_CloudDebugger_SourceContext';
+ protected $sourceContextsDataType = 'array';
+ protected $statusType = 'Google_Service_CloudDebugger_StatusMessage';
+ protected $statusDataType = '';
+ public $uniquifier;
+
+ public function setAgentVersion($agentVersion)
+ {
+ $this->agentVersion = $agentVersion;
+ }
+ public function getAgentVersion()
+ {
+ return $this->agentVersion;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setExtSourceContexts($extSourceContexts)
+ {
+ $this->extSourceContexts = $extSourceContexts;
+ }
+ public function getExtSourceContexts()
+ {
+ return $this->extSourceContexts;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIsDisabled($isDisabled)
+ {
+ $this->isDisabled = $isDisabled;
+ }
+ public function getIsDisabled()
+ {
+ return $this->isDisabled;
+ }
+ public function setIsInactive($isInactive)
+ {
+ $this->isInactive = $isInactive;
+ }
+ public function getIsInactive()
+ {
+ return $this->isInactive;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+ public function getProject()
+ {
+ return $this->project;
+ }
+ public function setSourceContexts($sourceContexts)
+ {
+ $this->sourceContexts = $sourceContexts;
+ }
+ public function getSourceContexts()
+ {
+ return $this->sourceContexts;
+ }
+ public function setStatus(Google_Service_CloudDebugger_StatusMessage $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setUniquifier($uniquifier)
+ {
+ $this->uniquifier = $uniquifier;
+ }
+ public function getUniquifier()
+ {
+ return $this->uniquifier;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ExtendedSourceContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ExtendedSourceContext.php
new file mode 100644
index 00000000..bdde38dd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ExtendedSourceContext.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_ExtendedSourceContext extends Google_Model
+{
+ protected $contextType = 'Google_Service_CloudDebugger_SourceContext';
+ protected $contextDataType = '';
+ public $labels;
+
+ public function setContext(Google_Service_CloudDebugger_SourceContext $context)
+ {
+ $this->context = $context;
+ }
+ public function getContext()
+ {
+ return $this->context;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/FormatMessage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/FormatMessage.php
new file mode 100644
index 00000000..e56e5f9c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/FormatMessage.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_FormatMessage extends Google_Collection
+{
+ protected $collection_key = 'parameters';
+ public $format;
+ public $parameters;
+
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setParameters($parameters)
+ {
+ $this->parameters = $parameters;
+ }
+ public function getParameters()
+ {
+ return $this->parameters;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GerritSourceContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GerritSourceContext.php
new file mode 100644
index 00000000..4cb77f83
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GerritSourceContext.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_GerritSourceContext extends Google_Model
+{
+ protected $aliasContextType = 'Google_Service_CloudDebugger_AliasContext';
+ protected $aliasContextDataType = '';
+ public $aliasName;
+ public $gerritProject;
+ public $hostUri;
+ public $revisionId;
+
+ public function setAliasContext(Google_Service_CloudDebugger_AliasContext $aliasContext)
+ {
+ $this->aliasContext = $aliasContext;
+ }
+ public function getAliasContext()
+ {
+ return $this->aliasContext;
+ }
+ public function setAliasName($aliasName)
+ {
+ $this->aliasName = $aliasName;
+ }
+ public function getAliasName()
+ {
+ return $this->aliasName;
+ }
+ public function setGerritProject($gerritProject)
+ {
+ $this->gerritProject = $gerritProject;
+ }
+ public function getGerritProject()
+ {
+ return $this->gerritProject;
+ }
+ public function setHostUri($hostUri)
+ {
+ $this->hostUri = $hostUri;
+ }
+ public function getHostUri()
+ {
+ return $this->hostUri;
+ }
+ public function setRevisionId($revisionId)
+ {
+ $this->revisionId = $revisionId;
+ }
+ public function getRevisionId()
+ {
+ return $this->revisionId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GetBreakpointResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GetBreakpointResponse.php
new file mode 100644
index 00000000..de523178
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GetBreakpointResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_GetBreakpointResponse extends Google_Model
+{
+ protected $breakpointType = 'Google_Service_CloudDebugger_Breakpoint';
+ protected $breakpointDataType = '';
+
+ public function setBreakpoint(Google_Service_CloudDebugger_Breakpoint $breakpoint)
+ {
+ $this->breakpoint = $breakpoint;
+ }
+ public function getBreakpoint()
+ {
+ return $this->breakpoint;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GitSourceContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GitSourceContext.php
new file mode 100644
index 00000000..2d916fc1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GitSourceContext.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_GitSourceContext extends Google_Model
+{
+ public $revisionId;
+ public $url;
+
+ public function setRevisionId($revisionId)
+ {
+ $this->revisionId = $revisionId;
+ }
+ public function getRevisionId()
+ {
+ return $this->revisionId;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListActiveBreakpointsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListActiveBreakpointsResponse.php
new file mode 100644
index 00000000..ec0375dc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListActiveBreakpointsResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_ListActiveBreakpointsResponse extends Google_Collection
+{
+ protected $collection_key = 'breakpoints';
+ protected $breakpointsType = 'Google_Service_CloudDebugger_Breakpoint';
+ protected $breakpointsDataType = 'array';
+ public $nextWaitToken;
+ public $waitExpired;
+
+ public function setBreakpoints($breakpoints)
+ {
+ $this->breakpoints = $breakpoints;
+ }
+ public function getBreakpoints()
+ {
+ return $this->breakpoints;
+ }
+ public function setNextWaitToken($nextWaitToken)
+ {
+ $this->nextWaitToken = $nextWaitToken;
+ }
+ public function getNextWaitToken()
+ {
+ return $this->nextWaitToken;
+ }
+ public function setWaitExpired($waitExpired)
+ {
+ $this->waitExpired = $waitExpired;
+ }
+ public function getWaitExpired()
+ {
+ return $this->waitExpired;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListBreakpointsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListBreakpointsResponse.php
new file mode 100644
index 00000000..dabcf969
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListBreakpointsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_ListBreakpointsResponse extends Google_Collection
+{
+ protected $collection_key = 'breakpoints';
+ protected $breakpointsType = 'Google_Service_CloudDebugger_Breakpoint';
+ protected $breakpointsDataType = 'array';
+ public $nextWaitToken;
+
+ public function setBreakpoints($breakpoints)
+ {
+ $this->breakpoints = $breakpoints;
+ }
+ public function getBreakpoints()
+ {
+ return $this->breakpoints;
+ }
+ public function setNextWaitToken($nextWaitToken)
+ {
+ $this->nextWaitToken = $nextWaitToken;
+ }
+ public function getNextWaitToken()
+ {
+ return $this->nextWaitToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListDebuggeesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListDebuggeesResponse.php
new file mode 100644
index 00000000..2669e3cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListDebuggeesResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_ListDebuggeesResponse extends Google_Collection
+{
+ protected $collection_key = 'debuggees';
+ protected $debuggeesType = 'Google_Service_CloudDebugger_Debuggee';
+ protected $debuggeesDataType = 'array';
+
+ public function setDebuggees($debuggees)
+ {
+ $this->debuggees = $debuggees;
+ }
+ public function getDebuggees()
+ {
+ return $this->debuggees;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ProjectRepoId.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ProjectRepoId.php
new file mode 100644
index 00000000..7036340f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ProjectRepoId.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_ProjectRepoId extends Google_Model
+{
+ public $projectId;
+ public $repoName;
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setRepoName($repoName)
+ {
+ $this->repoName = $repoName;
+ }
+ public function getRepoName()
+ {
+ return $this->repoName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RegisterDebuggeeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RegisterDebuggeeRequest.php
new file mode 100644
index 00000000..1e395463
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RegisterDebuggeeRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_RegisterDebuggeeRequest extends Google_Model
+{
+ protected $debuggeeType = 'Google_Service_CloudDebugger_Debuggee';
+ protected $debuggeeDataType = '';
+
+ public function setDebuggee(Google_Service_CloudDebugger_Debuggee $debuggee)
+ {
+ $this->debuggee = $debuggee;
+ }
+ public function getDebuggee()
+ {
+ return $this->debuggee;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RegisterDebuggeeResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RegisterDebuggeeResponse.php
new file mode 100644
index 00000000..cbd171c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RegisterDebuggeeResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_RegisterDebuggeeResponse extends Google_Model
+{
+ protected $debuggeeType = 'Google_Service_CloudDebugger_Debuggee';
+ protected $debuggeeDataType = '';
+
+ public function setDebuggee(Google_Service_CloudDebugger_Debuggee $debuggee)
+ {
+ $this->debuggee = $debuggee;
+ }
+ public function getDebuggee()
+ {
+ return $this->debuggee;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RepoId.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RepoId.php
new file mode 100644
index 00000000..c5a3b8bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RepoId.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_RepoId extends Google_Model
+{
+ protected $projectRepoIdType = 'Google_Service_CloudDebugger_ProjectRepoId';
+ protected $projectRepoIdDataType = '';
+ public $uid;
+
+ public function setProjectRepoId(Google_Service_CloudDebugger_ProjectRepoId $projectRepoId)
+ {
+ $this->projectRepoId = $projectRepoId;
+ }
+ public function getProjectRepoId()
+ {
+ return $this->projectRepoId;
+ }
+ public function setUid($uid)
+ {
+ $this->uid = $uid;
+ }
+ public function getUid()
+ {
+ return $this->uid;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/Controller.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/Controller.php
new file mode 100644
index 00000000..70699a84
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/Controller.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "controller" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $clouddebuggerService = new Google_Service_CloudDebugger(...);
+ * $controller = $clouddebuggerService->controller;
+ * </code>
+ */
+class Google_Service_CloudDebugger_Resource_Controller extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/ControllerDebuggees.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/ControllerDebuggees.php
new file mode 100644
index 00000000..e016aabf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/ControllerDebuggees.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "debuggees" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $clouddebuggerService = new Google_Service_CloudDebugger(...);
+ * $debuggees = $clouddebuggerService->debuggees;
+ * </code>
+ */
+class Google_Service_CloudDebugger_Resource_ControllerDebuggees extends Google_Service_Resource
+{
+ /**
+ * Registers the debuggee with the controller service.
+ *
+ * All agents attached to the same application should call this method with the
+ * same request content to get back the same stable `debuggee_id`. Agents should
+ * call this method again whenever `google.rpc.Code.NOT_FOUND` is returned from
+ * any controller method.
+ *
+ * This allows the controller service to disable the agent or recover from any
+ * data loss. If the debuggee is disabled by the server, the response will have
+ * `is_disabled` set to `true`. (debuggees.register)
+ *
+ * @param Google_Service_CloudDebugger_RegisterDebuggeeRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudDebugger_RegisterDebuggeeResponse
+ */
+ public function register(Google_Service_CloudDebugger_RegisterDebuggeeRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('register', array($params), "Google_Service_CloudDebugger_RegisterDebuggeeResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/ControllerDebuggeesBreakpoints.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/ControllerDebuggeesBreakpoints.php
new file mode 100644
index 00000000..9c948c8c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/ControllerDebuggeesBreakpoints.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "breakpoints" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $clouddebuggerService = new Google_Service_CloudDebugger(...);
+ * $breakpoints = $clouddebuggerService->breakpoints;
+ * </code>
+ */
+class Google_Service_CloudDebugger_Resource_ControllerDebuggeesBreakpoints extends Google_Service_Resource
+{
+ /**
+ * Returns the list of all active breakpoints for the debuggee.
+ *
+ * The breakpoint specification (location, condition, and expression fields) is
+ * semantically immutable, although the field values may change. For example, an
+ * agent may update the location line number to reflect the actual line where
+ * the breakpoint was set, but this doesn't change the breakpoint semantics.
+ *
+ * This means that an agent does not need to check if a breakpoint has changed
+ * when it encounters the same breakpoint on a successive call. Moreover, an
+ * agent should remember the breakpoints that are completed until the controller
+ * removes them from the active list to avoid setting those breakpoints again.
+ * (breakpoints.listControllerDebuggeesBreakpoints)
+ *
+ * @param string $debuggeeId Identifies the debuggee.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool successOnTimeout If set to `true`, returns
+ * `google.rpc.Code.OK` status and sets the `wait_expired` response field to
+ * `true` when the server-selected timeout has expired (recommended).
+ *
+ * If set to `false`, returns `google.rpc.Code.ABORTED` status when the server-
+ * selected timeout has expired (deprecated).
+ * @opt_param string waitToken A wait token that, if specified, blocks the
+ * method call until the list of active breakpoints has changed, or a server
+ * selected timeout has expired. The value should be set from the last returned
+ * response.
+ * @return Google_Service_CloudDebugger_ListActiveBreakpointsResponse
+ */
+ public function listControllerDebuggeesBreakpoints($debuggeeId, $optParams = array())
+ {
+ $params = array('debuggeeId' => $debuggeeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudDebugger_ListActiveBreakpointsResponse");
+ }
+ /**
+ * Updates the breakpoint state or mutable fields. The entire Breakpoint message
+ * must be sent back to the controller service.
+ *
+ * Updates to active breakpoint fields are only allowed if the new value does
+ * not change the breakpoint specification. Updates to the `location`,
+ * `condition` and `expression` fields should not alter the breakpoint
+ * semantics. These may only make changes such as canonicalizing a value or
+ * snapping the location to the correct line of code. (breakpoints.update)
+ *
+ * @param string $debuggeeId Identifies the debuggee being debugged.
+ * @param string $id Breakpoint identifier, unique in the scope of the debuggee.
+ * @param Google_Service_CloudDebugger_UpdateActiveBreakpointRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudDebugger_UpdateActiveBreakpointResponse
+ */
+ public function update($debuggeeId, $id, Google_Service_CloudDebugger_UpdateActiveBreakpointRequest $postBody, $optParams = array())
+ {
+ $params = array('debuggeeId' => $debuggeeId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_CloudDebugger_UpdateActiveBreakpointResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/Debugger.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/Debugger.php
new file mode 100644
index 00000000..955317f5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/Debugger.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "debugger" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $clouddebuggerService = new Google_Service_CloudDebugger(...);
+ * $debugger = $clouddebuggerService->debugger;
+ * </code>
+ */
+class Google_Service_CloudDebugger_Resource_Debugger extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/DebuggerDebuggees.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/DebuggerDebuggees.php
new file mode 100644
index 00000000..09871712
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/DebuggerDebuggees.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "debuggees" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $clouddebuggerService = new Google_Service_CloudDebugger(...);
+ * $debuggees = $clouddebuggerService->debuggees;
+ * </code>
+ */
+class Google_Service_CloudDebugger_Resource_DebuggerDebuggees extends Google_Service_Resource
+{
+ /**
+ * Lists all the debuggees that the user can set breakpoints to.
+ * (debuggees.listDebuggerDebuggees)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string clientVersion The client version making the call.
+ * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
+ * @opt_param bool includeInactive When set to `true`, the result includes all
+ * debuggees. Otherwise, the result includes only debuggees that are active.
+ * @opt_param string project Project number of a Google Cloud project whose
+ * debuggees to list.
+ * @return Google_Service_CloudDebugger_ListDebuggeesResponse
+ */
+ public function listDebuggerDebuggees($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudDebugger_ListDebuggeesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/DebuggerDebuggeesBreakpoints.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/DebuggerDebuggeesBreakpoints.php
new file mode 100644
index 00000000..dc07a2c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/DebuggerDebuggeesBreakpoints.php
@@ -0,0 +1,113 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "breakpoints" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $clouddebuggerService = new Google_Service_CloudDebugger(...);
+ * $breakpoints = $clouddebuggerService->breakpoints;
+ * </code>
+ */
+class Google_Service_CloudDebugger_Resource_DebuggerDebuggeesBreakpoints extends Google_Service_Resource
+{
+ /**
+ * Deletes the breakpoint from the debuggee. (breakpoints.delete)
+ *
+ * @param string $debuggeeId ID of the debuggee whose breakpoint to delete.
+ * @param string $breakpointId ID of the breakpoint to delete.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string clientVersion The client version making the call.
+ * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
+ * @return Google_Service_CloudDebugger_ClouddebuggerEmpty
+ */
+ public function delete($debuggeeId, $breakpointId, $optParams = array())
+ {
+ $params = array('debuggeeId' => $debuggeeId, 'breakpointId' => $breakpointId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudDebugger_ClouddebuggerEmpty");
+ }
+ /**
+ * Gets breakpoint information. (breakpoints.get)
+ *
+ * @param string $debuggeeId ID of the debuggee whose breakpoint to get.
+ * @param string $breakpointId ID of the breakpoint to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string clientVersion The client version making the call.
+ * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
+ * @return Google_Service_CloudDebugger_GetBreakpointResponse
+ */
+ public function get($debuggeeId, $breakpointId, $optParams = array())
+ {
+ $params = array('debuggeeId' => $debuggeeId, 'breakpointId' => $breakpointId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudDebugger_GetBreakpointResponse");
+ }
+ /**
+ * Lists all breakpoints for the debuggee.
+ * (breakpoints.listDebuggerDebuggeesBreakpoints)
+ *
+ * @param string $debuggeeId ID of the debuggee whose breakpoints to list.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool stripResults This field is deprecated. The following fields
+ * are always stripped out of the result: `stack_frames`,
+ * `evaluated_expressions` and `variable_table`.
+ * @opt_param string waitToken A wait token that, if specified, blocks the call
+ * until the breakpoints list has changed, or a server selected timeout has
+ * expired. The value should be set from the last response. The error code
+ * `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which should be
+ * called again with the same `wait_token`.
+ * @opt_param string clientVersion The client version making the call.
+ * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
+ * @opt_param string action.value Only breakpoints with the specified action
+ * will pass the filter.
+ * @opt_param bool includeAllUsers When set to `true`, the response includes the
+ * list of breakpoints set by any user. Otherwise, it includes only breakpoints
+ * set by the caller.
+ * @opt_param bool includeInactive When set to `true`, the response includes
+ * active and inactive breakpoints. Otherwise, it includes only active
+ * breakpoints.
+ * @return Google_Service_CloudDebugger_ListBreakpointsResponse
+ */
+ public function listDebuggerDebuggeesBreakpoints($debuggeeId, $optParams = array())
+ {
+ $params = array('debuggeeId' => $debuggeeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudDebugger_ListBreakpointsResponse");
+ }
+ /**
+ * Sets the breakpoint to the debuggee. (breakpoints.set)
+ *
+ * @param string $debuggeeId ID of the debuggee where the breakpoint is to be
+ * set.
+ * @param Google_Service_CloudDebugger_Breakpoint $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string clientVersion The client version making the call.
+ * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
+ * @return Google_Service_CloudDebugger_SetBreakpointResponse
+ */
+ public function set($debuggeeId, Google_Service_CloudDebugger_Breakpoint $postBody, $optParams = array())
+ {
+ $params = array('debuggeeId' => $debuggeeId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('set', array($params), "Google_Service_CloudDebugger_SetBreakpointResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SetBreakpointResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SetBreakpointResponse.php
new file mode 100644
index 00000000..4616a51d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SetBreakpointResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_SetBreakpointResponse extends Google_Model
+{
+ protected $breakpointType = 'Google_Service_CloudDebugger_Breakpoint';
+ protected $breakpointDataType = '';
+
+ public function setBreakpoint(Google_Service_CloudDebugger_Breakpoint $breakpoint)
+ {
+ $this->breakpoint = $breakpoint;
+ }
+ public function getBreakpoint()
+ {
+ return $this->breakpoint;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SourceContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SourceContext.php
new file mode 100644
index 00000000..e6eb484b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SourceContext.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_SourceContext extends Google_Model
+{
+ protected $cloudRepoType = 'Google_Service_CloudDebugger_CloudRepoSourceContext';
+ protected $cloudRepoDataType = '';
+ protected $cloudWorkspaceType = 'Google_Service_CloudDebugger_CloudWorkspaceSourceContext';
+ protected $cloudWorkspaceDataType = '';
+ protected $gerritType = 'Google_Service_CloudDebugger_GerritSourceContext';
+ protected $gerritDataType = '';
+ protected $gitType = 'Google_Service_CloudDebugger_GitSourceContext';
+ protected $gitDataType = '';
+
+ public function setCloudRepo(Google_Service_CloudDebugger_CloudRepoSourceContext $cloudRepo)
+ {
+ $this->cloudRepo = $cloudRepo;
+ }
+ public function getCloudRepo()
+ {
+ return $this->cloudRepo;
+ }
+ public function setCloudWorkspace(Google_Service_CloudDebugger_CloudWorkspaceSourceContext $cloudWorkspace)
+ {
+ $this->cloudWorkspace = $cloudWorkspace;
+ }
+ public function getCloudWorkspace()
+ {
+ return $this->cloudWorkspace;
+ }
+ public function setGerrit(Google_Service_CloudDebugger_GerritSourceContext $gerrit)
+ {
+ $this->gerrit = $gerrit;
+ }
+ public function getGerrit()
+ {
+ return $this->gerrit;
+ }
+ public function setGit(Google_Service_CloudDebugger_GitSourceContext $git)
+ {
+ $this->git = $git;
+ }
+ public function getGit()
+ {
+ return $this->git;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SourceLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SourceLocation.php
new file mode 100644
index 00000000..a896bb7f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SourceLocation.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_SourceLocation extends Google_Model
+{
+ public $line;
+ public $path;
+
+ public function setLine($line)
+ {
+ $this->line = $line;
+ }
+ public function getLine()
+ {
+ return $this->line;
+ }
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+ public function getPath()
+ {
+ return $this->path;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/StackFrame.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/StackFrame.php
new file mode 100644
index 00000000..a06beb7e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/StackFrame.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_StackFrame extends Google_Collection
+{
+ protected $collection_key = 'locals';
+ protected $argumentsType = 'Google_Service_CloudDebugger_Variable';
+ protected $argumentsDataType = 'array';
+ public $function;
+ protected $localsType = 'Google_Service_CloudDebugger_Variable';
+ protected $localsDataType = 'array';
+ protected $locationType = 'Google_Service_CloudDebugger_SourceLocation';
+ protected $locationDataType = '';
+
+ public function setArguments($arguments)
+ {
+ $this->arguments = $arguments;
+ }
+ public function getArguments()
+ {
+ return $this->arguments;
+ }
+ public function setFunction($function)
+ {
+ $this->function = $function;
+ }
+ public function getFunction()
+ {
+ return $this->function;
+ }
+ public function setLocals($locals)
+ {
+ $this->locals = $locals;
+ }
+ public function getLocals()
+ {
+ return $this->locals;
+ }
+ public function setLocation(Google_Service_CloudDebugger_SourceLocation $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/StatusMessage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/StatusMessage.php
new file mode 100644
index 00000000..43ba9882
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/StatusMessage.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_StatusMessage extends Google_Model
+{
+ protected $descriptionType = 'Google_Service_CloudDebugger_FormatMessage';
+ protected $descriptionDataType = '';
+ public $isError;
+ public $refersTo;
+
+ public function setDescription(Google_Service_CloudDebugger_FormatMessage $description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setIsError($isError)
+ {
+ $this->isError = $isError;
+ }
+ public function getIsError()
+ {
+ return $this->isError;
+ }
+ public function setRefersTo($refersTo)
+ {
+ $this->refersTo = $refersTo;
+ }
+ public function getRefersTo()
+ {
+ return $this->refersTo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/UpdateActiveBreakpointRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/UpdateActiveBreakpointRequest.php
new file mode 100644
index 00000000..3181a61a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/UpdateActiveBreakpointRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_UpdateActiveBreakpointRequest extends Google_Model
+{
+ protected $breakpointType = 'Google_Service_CloudDebugger_Breakpoint';
+ protected $breakpointDataType = '';
+
+ public function setBreakpoint(Google_Service_CloudDebugger_Breakpoint $breakpoint)
+ {
+ $this->breakpoint = $breakpoint;
+ }
+ public function getBreakpoint()
+ {
+ return $this->breakpoint;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/UpdateActiveBreakpointResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/UpdateActiveBreakpointResponse.php
new file mode 100644
index 00000000..a65647da
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/UpdateActiveBreakpointResponse.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_UpdateActiveBreakpointResponse extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Variable.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Variable.php
new file mode 100644
index 00000000..d1f1daaf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Variable.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudDebugger_Variable extends Google_Collection
+{
+ protected $collection_key = 'members';
+ protected $membersType = 'Google_Service_CloudDebugger_Variable';
+ protected $membersDataType = 'array';
+ public $name;
+ protected $statusType = 'Google_Service_CloudDebugger_StatusMessage';
+ protected $statusDataType = '';
+ public $type;
+ public $value;
+ public $varTableIndex;
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setStatus(Google_Service_CloudDebugger_StatusMessage $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 setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+ public function setVarTableIndex($varTableIndex)
+ {
+ $this->varTableIndex = $varTableIndex;
+ }
+ public function getVarTableIndex()
+ {
+ return $this->varTableIndex;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions.php
new file mode 100644
index 00000000..2ce8b7d2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions.php
@@ -0,0 +1,207 @@
+<?php
+/*
+ * Copyright 2016 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 CloudFunctions (v1beta2).
+ *
+ * <p>
+ * API for managing lightweight user-provided functions executed in response to
+ * events.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/functions" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudFunctions extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $operations;
+ public $projects_locations;
+ public $projects_locations_functions;
+
+ /**
+ * Constructs the internal representation of the CloudFunctions service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://cloudfunctions.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1beta2';
+ $this->serviceName = 'cloudfunctions';
+
+ $this->operations = new Google_Service_CloudFunctions_Resource_Operations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1beta2/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1beta2/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_locations = new Google_Service_CloudFunctions_Resource_ProjectsLocations(
+ $this,
+ $this->serviceName,
+ 'locations',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1beta2/{+name}/locations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_locations_functions = new Google_Service_CloudFunctions_Resource_ProjectsLocationsFunctions(
+ $this,
+ $this->serviceName,
+ 'functions',
+ array(
+ 'methods' => array(
+ 'call' => array(
+ 'path' => 'v1beta2/{+name}:call',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'v1beta2/{+location}/functions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'location' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1beta2/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1beta2/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1beta2/{+location}/functions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'location' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v1beta2/{+name}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CallFunctionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CallFunctionRequest.php
new file mode 100644
index 00000000..5ab182c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CallFunctionRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudFunctions_CallFunctionRequest extends Google_Model
+{
+ public $data;
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CallFunctionResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CallFunctionResponse.php
new file mode 100644
index 00000000..c610940e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CallFunctionResponse.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudFunctions_CallFunctionResponse extends Google_Model
+{
+ public $error;
+ public $executionId;
+ public $result;
+
+ public function setError($error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setExecutionId($executionId)
+ {
+ $this->executionId = $executionId;
+ }
+ public function getExecutionId()
+ {
+ return $this->executionId;
+ }
+ public function setResult($result)
+ {
+ $this->result = $result;
+ }
+ public function getResult()
+ {
+ return $this->result;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CloudFunction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CloudFunction.php
new file mode 100644
index 00000000..09ce0bba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CloudFunction.php
@@ -0,0 +1,132 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudFunctions_CloudFunction extends Google_Model
+{
+ public $availableMemoryMb;
+ public $entryPoint;
+ protected $eventTriggerType = 'Google_Service_CloudFunctions_EventTrigger';
+ protected $eventTriggerDataType = '';
+ protected $httpsTriggerType = 'Google_Service_CloudFunctions_HTTPSTrigger';
+ protected $httpsTriggerDataType = '';
+ public $latestOperation;
+ public $name;
+ public $serviceAccount;
+ public $sourceArchiveUrl;
+ protected $sourceRepositoryType = 'Google_Service_CloudFunctions_SourceRepository';
+ protected $sourceRepositoryDataType = '';
+ public $status;
+ public $timeout;
+ public $updateTime;
+
+ public function setAvailableMemoryMb($availableMemoryMb)
+ {
+ $this->availableMemoryMb = $availableMemoryMb;
+ }
+ public function getAvailableMemoryMb()
+ {
+ return $this->availableMemoryMb;
+ }
+ public function setEntryPoint($entryPoint)
+ {
+ $this->entryPoint = $entryPoint;
+ }
+ public function getEntryPoint()
+ {
+ return $this->entryPoint;
+ }
+ public function setEventTrigger(Google_Service_CloudFunctions_EventTrigger $eventTrigger)
+ {
+ $this->eventTrigger = $eventTrigger;
+ }
+ public function getEventTrigger()
+ {
+ return $this->eventTrigger;
+ }
+ public function setHttpsTrigger(Google_Service_CloudFunctions_HTTPSTrigger $httpsTrigger)
+ {
+ $this->httpsTrigger = $httpsTrigger;
+ }
+ public function getHttpsTrigger()
+ {
+ return $this->httpsTrigger;
+ }
+ public function setLatestOperation($latestOperation)
+ {
+ $this->latestOperation = $latestOperation;
+ }
+ public function getLatestOperation()
+ {
+ return $this->latestOperation;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setServiceAccount($serviceAccount)
+ {
+ $this->serviceAccount = $serviceAccount;
+ }
+ public function getServiceAccount()
+ {
+ return $this->serviceAccount;
+ }
+ public function setSourceArchiveUrl($sourceArchiveUrl)
+ {
+ $this->sourceArchiveUrl = $sourceArchiveUrl;
+ }
+ public function getSourceArchiveUrl()
+ {
+ return $this->sourceArchiveUrl;
+ }
+ public function setSourceRepository(Google_Service_CloudFunctions_SourceRepository $sourceRepository)
+ {
+ $this->sourceRepository = $sourceRepository;
+ }
+ public function getSourceRepository()
+ {
+ return $this->sourceRepository;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTimeout($timeout)
+ {
+ $this->timeout = $timeout;
+ }
+ public function getTimeout()
+ {
+ return $this->timeout;
+ }
+ public function setUpdateTime($updateTime)
+ {
+ $this->updateTime = $updateTime;
+ }
+ public function getUpdateTime()
+ {
+ return $this->updateTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/EventTrigger.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/EventTrigger.php
new file mode 100644
index 00000000..03095384
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/EventTrigger.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudFunctions_EventTrigger extends Google_Model
+{
+ public $eventType;
+ public $resource;
+
+ public function setEventType($eventType)
+ {
+ $this->eventType = $eventType;
+ }
+ public function getEventType()
+ {
+ return $this->eventType;
+ }
+ public function setResource($resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/HTTPSTrigger.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/HTTPSTrigger.php
new file mode 100644
index 00000000..1141c4bd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/HTTPSTrigger.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudFunctions_HTTPSTrigger extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListFunctionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListFunctionsResponse.php
new file mode 100644
index 00000000..c8ec7722
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListFunctionsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudFunctions_ListFunctionsResponse extends Google_Collection
+{
+ protected $collection_key = 'functions';
+ protected $functionsType = 'Google_Service_CloudFunctions_CloudFunction';
+ protected $functionsDataType = 'array';
+ public $nextPageToken;
+
+ public function setFunctions($functions)
+ {
+ $this->functions = $functions;
+ }
+ public function getFunctions()
+ {
+ return $this->functions;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListLocationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListLocationsResponse.php
new file mode 100644
index 00000000..5e4fe418
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListLocationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudFunctions_ListLocationsResponse extends Google_Collection
+{
+ protected $collection_key = 'locations';
+ protected $locationsType = 'Google_Service_CloudFunctions_Location';
+ protected $locationsDataType = 'array';
+ public $nextPageToken;
+
+ public function setLocations($locations)
+ {
+ $this->locations = $locations;
+ }
+ public function getLocations()
+ {
+ return $this->locations;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListOperationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListOperationsResponse.php
new file mode 100644
index 00000000..9de98b6d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListOperationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudFunctions_ListOperationsResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_CloudFunctions_Operation';
+ protected $operationsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Location.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Location.php
new file mode 100644
index 00000000..1cf8057d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Location.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudFunctions_Location extends Google_Model
+{
+ public $labels;
+ public $locationId;
+ public $metadata;
+ public $name;
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLocationId($locationId)
+ {
+ $this->locationId = $locationId;
+ }
+ public function getLocationId()
+ {
+ return $this->locationId;
+ }
+ public function setMetadata($metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Operation.php
new file mode 100644
index 00000000..4385fb57
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Operation.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudFunctions_Operation extends Google_Model
+{
+ public $done;
+ protected $errorType = 'Google_Service_CloudFunctions_Status';
+ protected $errorDataType = '';
+ public $metadata;
+ public $name;
+ public $response;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_CloudFunctions_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setMetadata($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 setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/OperationMetadataV1Beta2.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/OperationMetadataV1Beta2.php
new file mode 100644
index 00000000..76430bc5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/OperationMetadataV1Beta2.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudFunctions_OperationMetadataV1Beta2 extends Google_Model
+{
+ public $request;
+ public $target;
+ public $type;
+
+ public function setRequest($request)
+ {
+ $this->request = $request;
+ }
+ public function getRequest()
+ {
+ return $this->request;
+ }
+ public function setTarget($target)
+ {
+ $this->target = $target;
+ }
+ public function getTarget()
+ {
+ return $this->target;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/Operations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/Operations.php
new file mode 100644
index 00000000..4b431326
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/Operations.php
@@ -0,0 +1,65 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudfunctionsService = new Google_Service_CloudFunctions(...);
+ * $operations = $cloudfunctionsService->operations;
+ * </code>
+ */
+class Google_Service_CloudFunctions_Resource_Operations extends Google_Service_Resource
+{
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this
+ * method to poll the operation result at intervals as recommended by the API
+ * service. (operations.get)
+ *
+ * @param string $name The name of the operation resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudFunctions_Operation
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudFunctions_Operation");
+ }
+ /**
+ * Lists operations that match the specified filter in the request. If the
+ * server doesn't support this method, it returns `UNIMPLEMENTED`.
+ *
+ * NOTE: the `name` binding below allows API services to override the binding to
+ * use different resource name schemes, such as `users/operations`.
+ * (operations.listOperations)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter The standard list filter.
+ * @opt_param string name The name of the operation collection.
+ * @opt_param string pageToken The standard list page token.
+ * @opt_param int pageSize The standard list page size.
+ * @return Google_Service_CloudFunctions_ListOperationsResponse
+ */
+ public function listOperations($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudFunctions_ListOperationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/Projects.php
new file mode 100644
index 00000000..96f030fa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/Projects.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudfunctionsService = new Google_Service_CloudFunctions(...);
+ * $projects = $cloudfunctionsService->projects;
+ * </code>
+ */
+class Google_Service_CloudFunctions_Resource_Projects extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/ProjectsLocations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/ProjectsLocations.php
new file mode 100644
index 00000000..b233fcce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/ProjectsLocations.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "locations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudfunctionsService = new Google_Service_CloudFunctions(...);
+ * $locations = $cloudfunctionsService->locations;
+ * </code>
+ */
+class Google_Service_CloudFunctions_Resource_ProjectsLocations extends Google_Service_Resource
+{
+ /**
+ * Lists information about the supported locations for this service.
+ * (locations.listProjectsLocations)
+ *
+ * @param string $name The resource that owns the locations collection, if
+ * applicable.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter The standard list filter.
+ * @opt_param string pageToken The standard list page token.
+ * @opt_param int pageSize The standard list page size.
+ * @return Google_Service_CloudFunctions_ListLocationsResponse
+ */
+ public function listProjectsLocations($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudFunctions_ListLocationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/ProjectsLocationsFunctions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/ProjectsLocationsFunctions.php
new file mode 100644
index 00000000..bf62afc3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/ProjectsLocationsFunctions.php
@@ -0,0 +1,126 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "functions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudfunctionsService = new Google_Service_CloudFunctions(...);
+ * $functions = $cloudfunctionsService->functions;
+ * </code>
+ */
+class Google_Service_CloudFunctions_Resource_ProjectsLocationsFunctions extends Google_Service_Resource
+{
+ /**
+ * Invokes synchronously deployed function. To be used for testing, very limited
+ * traffic allowed. (functions.callProjectsLocationsFunctions)
+ *
+ * @param string $name The name of the function to be called.
+ * @param Google_Service_CloudFunctions_CallFunctionRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudFunctions_CallFunctionResponse
+ */
+ public function callProjectsLocationsFunctions($name, Google_Service_CloudFunctions_CallFunctionRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('call', array($params), "Google_Service_CloudFunctions_CallFunctionResponse");
+ }
+ /**
+ * Creates a new function. If a function with the given name already exists in
+ * the specified project, the long running operation will return
+ * `ALREADY_EXISTS` error. (functions.create)
+ *
+ * @param string $location The project and location in which the function should
+ * be created, specified in the format `projects/locations`
+ * @param Google_Service_CloudFunctions_CloudFunction $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudFunctions_Operation
+ */
+ public function create($location, Google_Service_CloudFunctions_CloudFunction $postBody, $optParams = array())
+ {
+ $params = array('location' => $location, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudFunctions_Operation");
+ }
+ /**
+ * Deletes a function with the given name from the specified project. If the
+ * given function is used by some trigger, the trigger will be updated to remove
+ * this function. (functions.delete)
+ *
+ * @param string $name The name of the function which should be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudFunctions_Operation
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudFunctions_Operation");
+ }
+ /**
+ * Returns a function with the given name from the requested project.
+ * (functions.get)
+ *
+ * @param string $name The name of the function which details should be
+ * obtained.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudFunctions_CloudFunction
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudFunctions_CloudFunction");
+ }
+ /**
+ * Returns a list of functions that belong to the requested project.
+ * (functions.listProjectsLocationsFunctions)
+ *
+ * @param string $location The project and location from which the function
+ * should be listed, specified in the format `projects/locations` If you want to
+ * list functions in all locations, use "-" in place of a location.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The value returned by the last
+ * `ListFunctionsResponse`; indicates that this is a continuation of a prior
+ * `ListFunctions` call, and that the system should return the next page of
+ * data.
+ * @opt_param int pageSize Maximum number of functions to return per call.
+ * @return Google_Service_CloudFunctions_ListFunctionsResponse
+ */
+ public function listProjectsLocationsFunctions($location, $optParams = array())
+ {
+ $params = array('location' => $location);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudFunctions_ListFunctionsResponse");
+ }
+ /**
+ * Updates existing function. (functions.update)
+ *
+ * @param string $name The name of the function to be updated.
+ * @param Google_Service_CloudFunctions_CloudFunction $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudFunctions_Operation
+ */
+ public function update($name, Google_Service_CloudFunctions_CloudFunction $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_CloudFunctions_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/SourceRepository.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/SourceRepository.php
new file mode 100644
index 00000000..d1727e45
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/SourceRepository.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudFunctions_SourceRepository extends Google_Model
+{
+ public $branch;
+ public $deployedRevision;
+ public $repositoryUrl;
+ public $revision;
+ public $sourcePath;
+ public $tag;
+
+ public function setBranch($branch)
+ {
+ $this->branch = $branch;
+ }
+ public function getBranch()
+ {
+ return $this->branch;
+ }
+ public function setDeployedRevision($deployedRevision)
+ {
+ $this->deployedRevision = $deployedRevision;
+ }
+ public function getDeployedRevision()
+ {
+ return $this->deployedRevision;
+ }
+ public function setRepositoryUrl($repositoryUrl)
+ {
+ $this->repositoryUrl = $repositoryUrl;
+ }
+ public function getRepositoryUrl()
+ {
+ return $this->repositoryUrl;
+ }
+ public function setRevision($revision)
+ {
+ $this->revision = $revision;
+ }
+ public function getRevision()
+ {
+ return $this->revision;
+ }
+ public function setSourcePath($sourcePath)
+ {
+ $this->sourcePath = $sourcePath;
+ }
+ public function getSourcePath()
+ {
+ return $this->sourcePath;
+ }
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Status.php
new file mode 100644
index 00000000..c0a151cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudFunctions_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS.php
new file mode 100644
index 00000000..2ee4d958
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS.php
@@ -0,0 +1,389 @@
+<?php
+/*
+ * Copyright 2016 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 CloudKMS (v1).
+ *
+ * <p>
+ * Manages encryption for your cloud services the same way you do on-premise.
+ * You can generate, use, rotate, and destroy AES256 encryption keys.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/kms/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudKMS extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $projects_locations;
+ public $projects_locations_keyRings;
+ public $projects_locations_keyRings_cryptoKeys;
+ public $projects_locations_keyRings_cryptoKeys_cryptoKeyVersions;
+
+ /**
+ * Constructs the internal representation of the CloudKMS service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://cloudkms.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'cloudkms';
+
+ $this->projects_locations = new Google_Service_CloudKMS_Resource_ProjectsLocations(
+ $this,
+ $this->serviceName,
+ 'locations',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+name}/locations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_locations_keyRings = new Google_Service_CloudKMS_Resource_ProjectsLocationsKeyRings(
+ $this,
+ $this->serviceName,
+ 'keyRings',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/{+parent}/keyRings',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'keyRingId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => 'v1/{+resource}:getIamPolicy',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+parent}/keyRings',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => 'v1/{+resource}:setIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => 'v1/{+resource}:testIamPermissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_locations_keyRings_cryptoKeys = new Google_Service_CloudKMS_Resource_ProjectsLocationsKeyRingsCryptoKeys(
+ $this,
+ $this->serviceName,
+ 'cryptoKeys',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/{+parent}/cryptoKeys',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'cryptoKeyId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'decrypt' => array(
+ 'path' => 'v1/{+name}:decrypt',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'encrypt' => array(
+ 'path' => 'v1/{+name}:encrypt',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => 'v1/{+resource}:getIamPolicy',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+parent}/cryptoKeys',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => 'v1/{+resource}:setIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => 'v1/{+resource}:testIamPermissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'updatePrimaryVersion' => array(
+ 'path' => 'v1/{+name}:updatePrimaryVersion',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_locations_keyRings_cryptoKeys_cryptoKeyVersions = new Google_Service_CloudKMS_Resource_ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions(
+ $this,
+ $this->serviceName,
+ 'cryptoKeyVersions',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/{+parent}/cryptoKeyVersions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'destroy' => array(
+ 'path' => 'v1/{+name}:destroy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+parent}/cryptoKeyVersions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'restore' => array(
+ 'path' => 'v1/{+name}:restore',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/AuditConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/AuditConfig.php
new file mode 100644
index 00000000..d723d3ad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/AuditConfig.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_AuditConfig extends Google_Collection
+{
+ protected $collection_key = 'exemptedMembers';
+ protected $auditLogConfigsType = 'Google_Service_CloudKMS_AuditLogConfig';
+ protected $auditLogConfigsDataType = 'array';
+ public $exemptedMembers;
+ public $service;
+
+ public function setAuditLogConfigs($auditLogConfigs)
+ {
+ $this->auditLogConfigs = $auditLogConfigs;
+ }
+ public function getAuditLogConfigs()
+ {
+ return $this->auditLogConfigs;
+ }
+ public function setExemptedMembers($exemptedMembers)
+ {
+ $this->exemptedMembers = $exemptedMembers;
+ }
+ public function getExemptedMembers()
+ {
+ return $this->exemptedMembers;
+ }
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+ public function getService()
+ {
+ return $this->service;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/AuditLogConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/AuditLogConfig.php
new file mode 100644
index 00000000..1e4df3fc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/AuditLogConfig.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_AuditLogConfig extends Google_Collection
+{
+ protected $collection_key = 'exemptedMembers';
+ public $exemptedMembers;
+ public $logType;
+
+ public function setExemptedMembers($exemptedMembers)
+ {
+ $this->exemptedMembers = $exemptedMembers;
+ }
+ public function getExemptedMembers()
+ {
+ return $this->exemptedMembers;
+ }
+ public function setLogType($logType)
+ {
+ $this->logType = $logType;
+ }
+ public function getLogType()
+ {
+ return $this->logType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Binding.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Binding.php
new file mode 100644
index 00000000..518959df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Binding.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_Binding extends Google_Collection
+{
+ protected $collection_key = 'members';
+ public $members;
+ public $role;
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CloudAuditOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CloudAuditOptions.php
new file mode 100644
index 00000000..a46f146b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CloudAuditOptions.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_CloudAuditOptions extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Condition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Condition.php
new file mode 100644
index 00000000..2a4f6ceb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Condition.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_Condition extends Google_Collection
+{
+ protected $collection_key = 'values';
+ public $iam;
+ public $op;
+ public $svc;
+ public $sys;
+ public $value;
+ public $values;
+
+ public function setIam($iam)
+ {
+ $this->iam = $iam;
+ }
+ public function getIam()
+ {
+ return $this->iam;
+ }
+ public function setOp($op)
+ {
+ $this->op = $op;
+ }
+ public function getOp()
+ {
+ return $this->op;
+ }
+ public function setSvc($svc)
+ {
+ $this->svc = $svc;
+ }
+ public function getSvc()
+ {
+ return $this->svc;
+ }
+ public function setSys($sys)
+ {
+ $this->sys = $sys;
+ }
+ public function getSys()
+ {
+ return $this->sys;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CounterOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CounterOptions.php
new file mode 100644
index 00000000..13bd4afb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CounterOptions.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_CounterOptions extends Google_Model
+{
+ public $field;
+ public $metric;
+
+ public function setField($field)
+ {
+ $this->field = $field;
+ }
+ public function getField()
+ {
+ return $this->field;
+ }
+ public function setMetric($metric)
+ {
+ $this->metric = $metric;
+ }
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CryptoKey.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CryptoKey.php
new file mode 100644
index 00000000..ce6443e2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CryptoKey.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_CryptoKey extends Google_Model
+{
+ public $createTime;
+ public $name;
+ public $nextRotationTime;
+ protected $primaryType = 'Google_Service_CloudKMS_CryptoKeyVersion';
+ protected $primaryDataType = '';
+ public $purpose;
+ public $rotationPeriod;
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNextRotationTime($nextRotationTime)
+ {
+ $this->nextRotationTime = $nextRotationTime;
+ }
+ public function getNextRotationTime()
+ {
+ return $this->nextRotationTime;
+ }
+ public function setPrimary(Google_Service_CloudKMS_CryptoKeyVersion $primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setPurpose($purpose)
+ {
+ $this->purpose = $purpose;
+ }
+ public function getPurpose()
+ {
+ return $this->purpose;
+ }
+ public function setRotationPeriod($rotationPeriod)
+ {
+ $this->rotationPeriod = $rotationPeriod;
+ }
+ public function getRotationPeriod()
+ {
+ return $this->rotationPeriod;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CryptoKeyVersion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CryptoKeyVersion.php
new file mode 100644
index 00000000..764a3b57
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CryptoKeyVersion.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_CryptoKeyVersion extends Google_Model
+{
+ public $createTime;
+ public $destroyEventTime;
+ public $destroyTime;
+ public $name;
+ public $state;
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setDestroyEventTime($destroyEventTime)
+ {
+ $this->destroyEventTime = $destroyEventTime;
+ }
+ public function getDestroyEventTime()
+ {
+ return $this->destroyEventTime;
+ }
+ public function setDestroyTime($destroyTime)
+ {
+ $this->destroyTime = $destroyTime;
+ }
+ public function getDestroyTime()
+ {
+ return $this->destroyTime;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DataAccessOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DataAccessOptions.php
new file mode 100644
index 00000000..616a5a64
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DataAccessOptions.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_DataAccessOptions extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DecryptRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DecryptRequest.php
new file mode 100644
index 00000000..7a28bc1a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DecryptRequest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_DecryptRequest extends Google_Model
+{
+ public $additionalAuthenticatedData;
+ public $ciphertext;
+
+ public function setAdditionalAuthenticatedData($additionalAuthenticatedData)
+ {
+ $this->additionalAuthenticatedData = $additionalAuthenticatedData;
+ }
+ public function getAdditionalAuthenticatedData()
+ {
+ return $this->additionalAuthenticatedData;
+ }
+ public function setCiphertext($ciphertext)
+ {
+ $this->ciphertext = $ciphertext;
+ }
+ public function getCiphertext()
+ {
+ return $this->ciphertext;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DecryptResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DecryptResponse.php
new file mode 100644
index 00000000..25834642
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DecryptResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_DecryptResponse extends Google_Model
+{
+ public $plaintext;
+
+ public function setPlaintext($plaintext)
+ {
+ $this->plaintext = $plaintext;
+ }
+ public function getPlaintext()
+ {
+ return $this->plaintext;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DestroyCryptoKeyVersionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DestroyCryptoKeyVersionRequest.php
new file mode 100644
index 00000000..080dff6e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DestroyCryptoKeyVersionRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_DestroyCryptoKeyVersionRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/EncryptRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/EncryptRequest.php
new file mode 100644
index 00000000..53d6604c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/EncryptRequest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_EncryptRequest extends Google_Model
+{
+ public $additionalAuthenticatedData;
+ public $plaintext;
+
+ public function setAdditionalAuthenticatedData($additionalAuthenticatedData)
+ {
+ $this->additionalAuthenticatedData = $additionalAuthenticatedData;
+ }
+ public function getAdditionalAuthenticatedData()
+ {
+ return $this->additionalAuthenticatedData;
+ }
+ public function setPlaintext($plaintext)
+ {
+ $this->plaintext = $plaintext;
+ }
+ public function getPlaintext()
+ {
+ return $this->plaintext;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/EncryptResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/EncryptResponse.php
new file mode 100644
index 00000000..59756352
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/EncryptResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_EncryptResponse extends Google_Model
+{
+ public $ciphertext;
+ public $name;
+
+ public function setCiphertext($ciphertext)
+ {
+ $this->ciphertext = $ciphertext;
+ }
+ public function getCiphertext()
+ {
+ return $this->ciphertext;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/KeyRing.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/KeyRing.php
new file mode 100644
index 00000000..0c28e6c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/KeyRing.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_KeyRing extends Google_Model
+{
+ public $createTime;
+ public $name;
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListCryptoKeyVersionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListCryptoKeyVersionsResponse.php
new file mode 100644
index 00000000..e2fb03b6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListCryptoKeyVersionsResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_ListCryptoKeyVersionsResponse extends Google_Collection
+{
+ protected $collection_key = 'cryptoKeyVersions';
+ protected $cryptoKeyVersionsType = 'Google_Service_CloudKMS_CryptoKeyVersion';
+ protected $cryptoKeyVersionsDataType = 'array';
+ public $nextPageToken;
+ public $totalSize;
+
+ public function setCryptoKeyVersions($cryptoKeyVersions)
+ {
+ $this->cryptoKeyVersions = $cryptoKeyVersions;
+ }
+ public function getCryptoKeyVersions()
+ {
+ return $this->cryptoKeyVersions;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalSize($totalSize)
+ {
+ $this->totalSize = $totalSize;
+ }
+ public function getTotalSize()
+ {
+ return $this->totalSize;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListCryptoKeysResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListCryptoKeysResponse.php
new file mode 100644
index 00000000..6c601d48
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListCryptoKeysResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_ListCryptoKeysResponse extends Google_Collection
+{
+ protected $collection_key = 'cryptoKeys';
+ protected $cryptoKeysType = 'Google_Service_CloudKMS_CryptoKey';
+ protected $cryptoKeysDataType = 'array';
+ public $nextPageToken;
+ public $totalSize;
+
+ public function setCryptoKeys($cryptoKeys)
+ {
+ $this->cryptoKeys = $cryptoKeys;
+ }
+ public function getCryptoKeys()
+ {
+ return $this->cryptoKeys;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalSize($totalSize)
+ {
+ $this->totalSize = $totalSize;
+ }
+ public function getTotalSize()
+ {
+ return $this->totalSize;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListKeyRingsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListKeyRingsResponse.php
new file mode 100644
index 00000000..07b0a709
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListKeyRingsResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_ListKeyRingsResponse extends Google_Collection
+{
+ protected $collection_key = 'keyRings';
+ protected $keyRingsType = 'Google_Service_CloudKMS_KeyRing';
+ protected $keyRingsDataType = 'array';
+ public $nextPageToken;
+ public $totalSize;
+
+ public function setKeyRings($keyRings)
+ {
+ $this->keyRings = $keyRings;
+ }
+ public function getKeyRings()
+ {
+ return $this->keyRings;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalSize($totalSize)
+ {
+ $this->totalSize = $totalSize;
+ }
+ public function getTotalSize()
+ {
+ return $this->totalSize;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListLocationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListLocationsResponse.php
new file mode 100644
index 00000000..c8d71f4f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListLocationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_ListLocationsResponse extends Google_Collection
+{
+ protected $collection_key = 'locations';
+ protected $locationsType = 'Google_Service_CloudKMS_Location';
+ protected $locationsDataType = 'array';
+ public $nextPageToken;
+
+ public function setLocations($locations)
+ {
+ $this->locations = $locations;
+ }
+ public function getLocations()
+ {
+ return $this->locations;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Location.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Location.php
new file mode 100644
index 00000000..f9960bfd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Location.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_Location extends Google_Model
+{
+ public $labels;
+ public $locationId;
+ public $metadata;
+ public $name;
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLocationId($locationId)
+ {
+ $this->locationId = $locationId;
+ }
+ public function getLocationId()
+ {
+ return $this->locationId;
+ }
+ public function setMetadata($metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/LogConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/LogConfig.php
new file mode 100644
index 00000000..0e9affde
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/LogConfig.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_LogConfig extends Google_Model
+{
+ protected $cloudAuditType = 'Google_Service_CloudKMS_CloudAuditOptions';
+ protected $cloudAuditDataType = '';
+ protected $counterType = 'Google_Service_CloudKMS_CounterOptions';
+ protected $counterDataType = '';
+ protected $dataAccessType = 'Google_Service_CloudKMS_DataAccessOptions';
+ protected $dataAccessDataType = '';
+
+ public function setCloudAudit(Google_Service_CloudKMS_CloudAuditOptions $cloudAudit)
+ {
+ $this->cloudAudit = $cloudAudit;
+ }
+ public function getCloudAudit()
+ {
+ return $this->cloudAudit;
+ }
+ public function setCounter(Google_Service_CloudKMS_CounterOptions $counter)
+ {
+ $this->counter = $counter;
+ }
+ public function getCounter()
+ {
+ return $this->counter;
+ }
+ public function setDataAccess(Google_Service_CloudKMS_DataAccessOptions $dataAccess)
+ {
+ $this->dataAccess = $dataAccess;
+ }
+ public function getDataAccess()
+ {
+ return $this->dataAccess;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Policy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Policy.php
new file mode 100644
index 00000000..8fbce2c2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Policy.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_Policy extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $auditConfigsType = 'Google_Service_CloudKMS_AuditConfig';
+ protected $auditConfigsDataType = 'array';
+ protected $bindingsType = 'Google_Service_CloudKMS_Binding';
+ protected $bindingsDataType = 'array';
+ public $etag;
+ public $iamOwned;
+ protected $rulesType = 'Google_Service_CloudKMS_Rule';
+ protected $rulesDataType = 'array';
+ public $version;
+
+ public function setAuditConfigs($auditConfigs)
+ {
+ $this->auditConfigs = $auditConfigs;
+ }
+ public function getAuditConfigs()
+ {
+ return $this->auditConfigs;
+ }
+ public function setBindings($bindings)
+ {
+ $this->bindings = $bindings;
+ }
+ public function getBindings()
+ {
+ return $this->bindings;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setIamOwned($iamOwned)
+ {
+ $this->iamOwned = $iamOwned;
+ }
+ public function getIamOwned()
+ {
+ return $this->iamOwned;
+ }
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/Projects.php
new file mode 100644
index 00000000..e8e959e8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/Projects.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudkmsService = new Google_Service_CloudKMS(...);
+ * $projects = $cloudkmsService->projects;
+ * </code>
+ */
+class Google_Service_CloudKMS_Resource_Projects extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocations.php
new file mode 100644
index 00000000..4db94ee2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocations.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "locations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudkmsService = new Google_Service_CloudKMS(...);
+ * $locations = $cloudkmsService->locations;
+ * </code>
+ */
+class Google_Service_CloudKMS_Resource_ProjectsLocations extends Google_Service_Resource
+{
+ /**
+ * Get information about a location. (locations.get)
+ *
+ * @param string $name Resource name for the location.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudKMS_Location
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudKMS_Location");
+ }
+ /**
+ * Lists information about the supported locations for this service.
+ * (locations.listProjectsLocations)
+ *
+ * @param string $name The resource that owns the locations collection, if
+ * applicable.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter The standard list filter.
+ * @opt_param string pageToken The standard list page token.
+ * @opt_param int pageSize The standard list page size.
+ * @return Google_Service_CloudKMS_ListLocationsResponse
+ */
+ public function listProjectsLocations($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudKMS_ListLocationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRings.php
new file mode 100644
index 00000000..8acd8a5d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRings.php
@@ -0,0 +1,135 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "keyRings" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudkmsService = new Google_Service_CloudKMS(...);
+ * $keyRings = $cloudkmsService->keyRings;
+ * </code>
+ */
+class Google_Service_CloudKMS_Resource_ProjectsLocationsKeyRings extends Google_Service_Resource
+{
+ /**
+ * Create a new KeyRing in a given Project and Location. (keyRings.create)
+ *
+ * @param string $parent Required. The resource name of the location associated
+ * with the KeyRings, in the format `projects/locations`.
+ * @param Google_Service_CloudKMS_KeyRing $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string keyRingId Required. It must be unique within a location and
+ * match the regular expression `[a-zA-Z0-9_-]{1,63}`
+ * @return Google_Service_CloudKMS_KeyRing
+ */
+ public function create($parent, Google_Service_CloudKMS_KeyRing $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudKMS_KeyRing");
+ }
+ /**
+ * Returns metadata for a given KeyRing. (keyRings.get)
+ *
+ * @param string $name The name of the KeyRing to get.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudKMS_KeyRing
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudKMS_KeyRing");
+ }
+ /**
+ * Gets the access control policy for a resource. Returns an empty policy if the
+ * resource exists and does not have a policy set. (keyRings.getIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * requested. See the operation documentation for the appropriate value for this
+ * field.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudKMS_Policy
+ */
+ public function getIamPolicy($resource, $optParams = array())
+ {
+ $params = array('resource' => $resource);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_CloudKMS_Policy");
+ }
+ /**
+ * Lists KeyRings. (keyRings.listProjectsLocationsKeyRings)
+ *
+ * @param string $parent Required. The resource name of the location associated
+ * with the KeyRings, in the format `projects/locations`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional pagination token, returned earlier via
+ * ListKeyRingsResponse.next_page_token.
+ * @opt_param int pageSize Optional limit on the number of KeyRings to include
+ * in the response. Further KeyRings can subsequently be obtained by including
+ * the ListKeyRingsResponse.next_page_token in a subsequent request. If
+ * unspecified, the server will pick an appropriate default.
+ * @return Google_Service_CloudKMS_ListKeyRingsResponse
+ */
+ public function listProjectsLocationsKeyRings($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudKMS_ListKeyRingsResponse");
+ }
+ /**
+ * Sets the access control policy on the specified resource. Replaces any
+ * existing policy. (keyRings.setIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * specified. See the operation documentation for the appropriate value for this
+ * field.
+ * @param Google_Service_CloudKMS_SetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudKMS_Policy
+ */
+ public function setIamPolicy($resource, Google_Service_CloudKMS_SetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_CloudKMS_Policy");
+ }
+ /**
+ * Returns permissions that a caller has on the specified resource. If the
+ * resource does not exist, this will return an empty set of permissions, not a
+ * NOT_FOUND error.
+ *
+ * Note: This operation is designed to be used for building permission-aware UIs
+ * and command-line tools, not for authorization checking. This operation may
+ * "fail open" without warning. (keyRings.testIamPermissions)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy detail is
+ * being requested. See the operation documentation for the appropriate value
+ * for this field.
+ * @param Google_Service_CloudKMS_TestIamPermissionsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudKMS_TestIamPermissionsResponse
+ */
+ public function testIamPermissions($resource, Google_Service_CloudKMS_TestIamPermissionsRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_CloudKMS_TestIamPermissionsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRingsCryptoKeys.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRingsCryptoKeys.php
new file mode 100644
index 00000000..503233c4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRingsCryptoKeys.php
@@ -0,0 +1,204 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "cryptoKeys" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudkmsService = new Google_Service_CloudKMS(...);
+ * $cryptoKeys = $cloudkmsService->cryptoKeys;
+ * </code>
+ */
+class Google_Service_CloudKMS_Resource_ProjectsLocationsKeyRingsCryptoKeys extends Google_Service_Resource
+{
+ /**
+ * Create a new CryptoKey within a KeyRing.
+ *
+ * CryptoKey.purpose is required. (cryptoKeys.create)
+ *
+ * @param string $parent Required. The name of the KeyRing associated with the
+ * CryptoKeys.
+ * @param Google_Service_CloudKMS_CryptoKey $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string cryptoKeyId Required. It must be unique within a KeyRing
+ * and match the regular expression `[a-zA-Z0-9_-]{1,63}`
+ * @return Google_Service_CloudKMS_CryptoKey
+ */
+ public function create($parent, Google_Service_CloudKMS_CryptoKey $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudKMS_CryptoKey");
+ }
+ /**
+ * Decrypt data that was protected by Encrypt. (cryptoKeys.decrypt)
+ *
+ * @param string $name Required. The resource name of the CryptoKey to use for
+ * decryption. The server will choose the appropriate version.
+ * @param Google_Service_CloudKMS_DecryptRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudKMS_DecryptResponse
+ */
+ public function decrypt($name, Google_Service_CloudKMS_DecryptRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('decrypt', array($params), "Google_Service_CloudKMS_DecryptResponse");
+ }
+ /**
+ * Encrypt data, so that it can only be recovered by a call to Decrypt.
+ * (cryptoKeys.encrypt)
+ *
+ * @param string $name Required. The resource name of the CryptoKey or
+ * CryptoKeyVersion to use for encryption.
+ *
+ * If a CryptoKey is specified, the server will use its primary version.
+ * @param Google_Service_CloudKMS_EncryptRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudKMS_EncryptResponse
+ */
+ public function encrypt($name, Google_Service_CloudKMS_EncryptRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('encrypt', array($params), "Google_Service_CloudKMS_EncryptResponse");
+ }
+ /**
+ * Returns metadata for a given CryptoKey, as well as its primary
+ * CryptoKeyVersion. (cryptoKeys.get)
+ *
+ * @param string $name The name of the CryptoKey to get.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudKMS_CryptoKey
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudKMS_CryptoKey");
+ }
+ /**
+ * Gets the access control policy for a resource. Returns an empty policy if the
+ * resource exists and does not have a policy set. (cryptoKeys.getIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * requested. See the operation documentation for the appropriate value for this
+ * field.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudKMS_Policy
+ */
+ public function getIamPolicy($resource, $optParams = array())
+ {
+ $params = array('resource' => $resource);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_CloudKMS_Policy");
+ }
+ /**
+ * Lists CryptoKeys. (cryptoKeys.listProjectsLocationsKeyRingsCryptoKeys)
+ *
+ * @param string $parent Required. The resource name of the KeyRing to list, in
+ * the format `projects/locations/keyRings`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional pagination token, returned earlier via
+ * ListCryptoKeysResponse.next_page_token.
+ * @opt_param int pageSize Optional limit on the number of CryptoKeys to include
+ * in the response. Further CryptoKeys can subsequently be obtained by
+ * including the ListCryptoKeysResponse.next_page_token in a subsequent request.
+ * If unspecified, the server will pick an appropriate default.
+ * @return Google_Service_CloudKMS_ListCryptoKeysResponse
+ */
+ public function listProjectsLocationsKeyRingsCryptoKeys($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudKMS_ListCryptoKeysResponse");
+ }
+ /**
+ * Update a CryptoKey. (cryptoKeys.patch)
+ *
+ * @param string $name Output only. The resource name for this CryptoKey in the
+ * format `projects/locations/keyRings/cryptoKeys`.
+ * @param Google_Service_CloudKMS_CryptoKey $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask Required list of fields to be updated in this
+ * request.
+ * @return Google_Service_CloudKMS_CryptoKey
+ */
+ public function patch($name, Google_Service_CloudKMS_CryptoKey $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_CloudKMS_CryptoKey");
+ }
+ /**
+ * Sets the access control policy on the specified resource. Replaces any
+ * existing policy. (cryptoKeys.setIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * specified. See the operation documentation for the appropriate value for this
+ * field.
+ * @param Google_Service_CloudKMS_SetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudKMS_Policy
+ */
+ public function setIamPolicy($resource, Google_Service_CloudKMS_SetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_CloudKMS_Policy");
+ }
+ /**
+ * Returns permissions that a caller has on the specified resource. If the
+ * resource does not exist, this will return an empty set of permissions, not a
+ * NOT_FOUND error.
+ *
+ * Note: This operation is designed to be used for building permission-aware UIs
+ * and command-line tools, not for authorization checking. This operation may
+ * "fail open" without warning. (cryptoKeys.testIamPermissions)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy detail is
+ * being requested. See the operation documentation for the appropriate value
+ * for this field.
+ * @param Google_Service_CloudKMS_TestIamPermissionsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudKMS_TestIamPermissionsResponse
+ */
+ public function testIamPermissions($resource, Google_Service_CloudKMS_TestIamPermissionsRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_CloudKMS_TestIamPermissionsResponse");
+ }
+ /**
+ * Update the version of a CryptoKey that will be used in Encrypt
+ * (cryptoKeys.updatePrimaryVersion)
+ *
+ * @param string $name The resource name of the CryptoKey to update.
+ * @param Google_Service_CloudKMS_UpdateCryptoKeyPrimaryVersionRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudKMS_CryptoKey
+ */
+ public function updatePrimaryVersion($name, Google_Service_CloudKMS_UpdateCryptoKeyPrimaryVersionRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updatePrimaryVersion', array($params), "Google_Service_CloudKMS_CryptoKey");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions.php
new file mode 100644
index 00000000..e0f6ed75
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions.php
@@ -0,0 +1,143 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "cryptoKeyVersions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudkmsService = new Google_Service_CloudKMS(...);
+ * $cryptoKeyVersions = $cloudkmsService->cryptoKeyVersions;
+ * </code>
+ */
+class Google_Service_CloudKMS_Resource_ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions extends Google_Service_Resource
+{
+ /**
+ * Create a new CryptoKeyVersion in a CryptoKey.
+ *
+ * The server will assign the next sequential id. If unset, state will be set to
+ * ENABLED. (cryptoKeyVersions.create)
+ *
+ * @param string $parent Required. The name of the CryptoKey associated with the
+ * CryptoKeyVersions.
+ * @param Google_Service_CloudKMS_CryptoKeyVersion $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudKMS_CryptoKeyVersion
+ */
+ public function create($parent, Google_Service_CloudKMS_CryptoKeyVersion $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudKMS_CryptoKeyVersion");
+ }
+ /**
+ * Schedule a CryptoKeyVersion for destruction.
+ *
+ * Upon calling this method, CryptoKeyVersion.state will be set to
+ * DESTROY_SCHEDULED and destroy_time will be set to a time 24 hours in the
+ * future, at which point the state will be changed to DESTROYED, and the key
+ * material will be irrevocably destroyed.
+ *
+ * Before the destroy_time is reached, RestoreCryptoKeyVersion may be called to
+ * reverse the process. (cryptoKeyVersions.destroy)
+ *
+ * @param string $name The resource name of the CryptoKeyVersion to destroy.
+ * @param Google_Service_CloudKMS_DestroyCryptoKeyVersionRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudKMS_CryptoKeyVersion
+ */
+ public function destroy($name, Google_Service_CloudKMS_DestroyCryptoKeyVersionRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('destroy', array($params), "Google_Service_CloudKMS_CryptoKeyVersion");
+ }
+ /**
+ * Returns metadata for a given CryptoKeyVersion. (cryptoKeyVersions.get)
+ *
+ * @param string $name The name of the CryptoKeyVersion to get.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudKMS_CryptoKeyVersion
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudKMS_CryptoKeyVersion");
+ }
+ /**
+ * Lists CryptoKeyVersions.
+ * (cryptoKeyVersions.listProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions)
+ *
+ * @param string $parent Required. The resource name of the CryptoKey to list,
+ * in the format `projects/locations/keyRings/cryptoKeys`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional pagination token, returned earlier via
+ * ListCryptoKeyVersionsResponse.next_page_token.
+ * @opt_param int pageSize Optional limit on the number of CryptoKeyVersions to
+ * include in the response. Further CryptoKeyVersions can subsequently be
+ * obtained by including the ListCryptoKeyVersionsResponse.next_page_token in a
+ * subsequent request. If unspecified, the server will pick an appropriate
+ * default.
+ * @return Google_Service_CloudKMS_ListCryptoKeyVersionsResponse
+ */
+ public function listProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudKMS_ListCryptoKeyVersionsResponse");
+ }
+ /**
+ * Update a CryptoKeyVersion's metadata.
+ *
+ * state may be changed between ENABLED and DISABLED using this method. See
+ * DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to move between other
+ * states. (cryptoKeyVersions.patch)
+ *
+ * @param string $name Output only. The resource name for this CryptoKeyVersion
+ * in the format `projects/locations/keyRings/cryptoKeys/cryptoKeyVersions`.
+ * @param Google_Service_CloudKMS_CryptoKeyVersion $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask Required list of fields to be updated in this
+ * request.
+ * @return Google_Service_CloudKMS_CryptoKeyVersion
+ */
+ public function patch($name, Google_Service_CloudKMS_CryptoKeyVersion $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_CloudKMS_CryptoKeyVersion");
+ }
+ /**
+ * Restore a CryptoKeyVersion in the DESTROY_SCHEDULED, state.
+ *
+ * Upon restoration of the CryptoKeyVersion, state will be set to DISABLED, and
+ * destroy_time will be cleared. (cryptoKeyVersions.restore)
+ *
+ * @param string $name The resource name of the CryptoKeyVersion to restore.
+ * @param Google_Service_CloudKMS_RestoreCryptoKeyVersionRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudKMS_CryptoKeyVersion
+ */
+ public function restore($name, Google_Service_CloudKMS_RestoreCryptoKeyVersionRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('restore', array($params), "Google_Service_CloudKMS_CryptoKeyVersion");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/RestoreCryptoKeyVersionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/RestoreCryptoKeyVersionRequest.php
new file mode 100644
index 00000000..5408e12f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/RestoreCryptoKeyVersionRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_RestoreCryptoKeyVersionRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Rule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Rule.php
new file mode 100644
index 00000000..40f0a8b9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Rule.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_Rule extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $action;
+ protected $conditionsType = 'Google_Service_CloudKMS_Condition';
+ protected $conditionsDataType = 'array';
+ public $description;
+ public $in;
+ protected $logConfigType = 'Google_Service_CloudKMS_LogConfig';
+ protected $logConfigDataType = 'array';
+ public $notIn;
+ public $permissions;
+
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setConditions($conditions)
+ {
+ $this->conditions = $conditions;
+ }
+ public function getConditions()
+ {
+ return $this->conditions;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setIn($in)
+ {
+ $this->in = $in;
+ }
+ public function getIn()
+ {
+ return $this->in;
+ }
+ public function setLogConfig($logConfig)
+ {
+ $this->logConfig = $logConfig;
+ }
+ public function getLogConfig()
+ {
+ return $this->logConfig;
+ }
+ public function setNotIn($notIn)
+ {
+ $this->notIn = $notIn;
+ }
+ public function getNotIn()
+ {
+ return $this->notIn;
+ }
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/SetIamPolicyRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/SetIamPolicyRequest.php
new file mode 100644
index 00000000..cf66febc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/SetIamPolicyRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_SetIamPolicyRequest extends Google_Model
+{
+ protected $policyType = 'Google_Service_CloudKMS_Policy';
+ protected $policyDataType = '';
+ public $updateMask;
+
+ public function setPolicy(Google_Service_CloudKMS_Policy $policy)
+ {
+ $this->policy = $policy;
+ }
+ public function getPolicy()
+ {
+ return $this->policy;
+ }
+ public function setUpdateMask($updateMask)
+ {
+ $this->updateMask = $updateMask;
+ }
+ public function getUpdateMask()
+ {
+ return $this->updateMask;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/TestIamPermissionsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/TestIamPermissionsRequest.php
new file mode 100644
index 00000000..c83b1cb4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/TestIamPermissionsRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_TestIamPermissionsRequest extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/TestIamPermissionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/TestIamPermissionsResponse.php
new file mode 100644
index 00000000..43f1a915
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/TestIamPermissionsResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_TestIamPermissionsResponse extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/UpdateCryptoKeyPrimaryVersionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/UpdateCryptoKeyPrimaryVersionRequest.php
new file mode 100644
index 00000000..673148bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/UpdateCryptoKeyPrimaryVersionRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudKMS_UpdateCryptoKeyPrimaryVersionRequest extends Google_Model
+{
+ public $cryptoKeyVersionId;
+
+ public function setCryptoKeyVersionId($cryptoKeyVersionId)
+ {
+ $this->cryptoKeyVersionId = $cryptoKeyVersionId;
+ }
+ public function getCryptoKeyVersionId()
+ {
+ return $this->cryptoKeyVersionId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning.php
new file mode 100644
index 00000000..851a3419
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning.php
@@ -0,0 +1,337 @@
+<?php
+/*
+ * Copyright 2016 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 CloudMachineLearning (v1beta1).
+ *
+ * <p>
+ * An API to enable creating and using machine learning models.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/ml/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudMachineLearning extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $projects;
+ public $projects_jobs;
+ public $projects_models;
+ public $projects_models_versions;
+ public $projects_operations;
+
+ /**
+ * Constructs the internal representation of the CloudMachineLearning service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://ml.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1beta1';
+ $this->serviceName = 'ml';
+
+ $this->projects = new Google_Service_CloudMachineLearning_Resource_Projects(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'getConfig' => array(
+ 'path' => 'v1beta1/{+name}:getConfig',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'predict' => array(
+ 'path' => 'v1beta1/{+name}:predict',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_jobs = new Google_Service_CloudMachineLearning_Resource_ProjectsJobs(
+ $this,
+ $this->serviceName,
+ 'jobs',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'v1beta1/{+name}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'v1beta1/{+parent}/jobs',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1beta1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1beta1/{+parent}/jobs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_models = new Google_Service_CloudMachineLearning_Resource_ProjectsModels(
+ $this,
+ $this->serviceName,
+ 'models',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1beta1/{+parent}/models',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1beta1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1beta1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1beta1/{+parent}/models',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_models_versions = new Google_Service_CloudMachineLearning_Resource_ProjectsModelsVersions(
+ $this,
+ $this->serviceName,
+ 'versions',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1beta1/{+parent}/versions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1beta1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1beta1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1beta1/{+parent}/versions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'setDefault' => array(
+ 'path' => 'v1beta1/{+name}:setDefault',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_operations = new Google_Service_CloudMachineLearning_Resource_ProjectsOperations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'v1beta1/{+name}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1beta1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1beta1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1beta1/{+name}/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleApiHttpBody.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleApiHttpBody.php
new file mode 100644
index 00000000..21929b73
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleApiHttpBody.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleApiHttpBody extends Google_Model
+{
+ public $contentType;
+ public $data;
+
+ public function setContentType($contentType)
+ {
+ $this->contentType = $contentType;
+ }
+ public function getContentType()
+ {
+ return $this->contentType;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1CancelJobRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1CancelJobRequest.php
new file mode 100644
index 00000000..2203115f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1CancelJobRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1CancelJobRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1GetConfigResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1GetConfigResponse.php
new file mode 100644
index 00000000..3bf24a82
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1GetConfigResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1GetConfigResponse extends Google_Model
+{
+ public $serviceAccount;
+ public $serviceAccountProject;
+
+ public function setServiceAccount($serviceAccount)
+ {
+ $this->serviceAccount = $serviceAccount;
+ }
+ public function getServiceAccount()
+ {
+ return $this->serviceAccount;
+ }
+ public function setServiceAccountProject($serviceAccountProject)
+ {
+ $this->serviceAccountProject = $serviceAccountProject;
+ }
+ public function getServiceAccountProject()
+ {
+ return $this->serviceAccountProject;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterOutput.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterOutput.php
new file mode 100644
index 00000000..3c5cd116
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterOutput.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1HyperparameterOutput extends Google_Collection
+{
+ protected $collection_key = 'allMetrics';
+ protected $allMetricsType = 'Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric';
+ protected $allMetricsDataType = 'array';
+ protected $finalMetricType = 'Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric';
+ protected $finalMetricDataType = '';
+ public $hyperparameters;
+ public $trialId;
+
+ public function setAllMetrics($allMetrics)
+ {
+ $this->allMetrics = $allMetrics;
+ }
+ public function getAllMetrics()
+ {
+ return $this->allMetrics;
+ }
+ public function setFinalMetric(Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric $finalMetric)
+ {
+ $this->finalMetric = $finalMetric;
+ }
+ public function getFinalMetric()
+ {
+ return $this->finalMetric;
+ }
+ public function setHyperparameters($hyperparameters)
+ {
+ $this->hyperparameters = $hyperparameters;
+ }
+ public function getHyperparameters()
+ {
+ return $this->hyperparameters;
+ }
+ public function setTrialId($trialId)
+ {
+ $this->trialId = $trialId;
+ }
+ public function getTrialId()
+ {
+ return $this->trialId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric.php
new file mode 100644
index 00000000..14694e4f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric extends Google_Model
+{
+ public $objectiveValue;
+ public $trainingStep;
+
+ public function setObjectiveValue($objectiveValue)
+ {
+ $this->objectiveValue = $objectiveValue;
+ }
+ public function getObjectiveValue()
+ {
+ return $this->objectiveValue;
+ }
+ public function setTrainingStep($trainingStep)
+ {
+ $this->trainingStep = $trainingStep;
+ }
+ public function getTrainingStep()
+ {
+ return $this->trainingStep;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterSpec.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterSpec.php
new file mode 100644
index 00000000..c03f7274
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterSpec.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1HyperparameterSpec extends Google_Collection
+{
+ protected $collection_key = 'params';
+ public $goal;
+ public $maxParallelTrials;
+ public $maxTrials;
+ protected $paramsType = 'Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ParameterSpec';
+ protected $paramsDataType = 'array';
+
+ public function setGoal($goal)
+ {
+ $this->goal = $goal;
+ }
+ public function getGoal()
+ {
+ return $this->goal;
+ }
+ public function setMaxParallelTrials($maxParallelTrials)
+ {
+ $this->maxParallelTrials = $maxParallelTrials;
+ }
+ public function getMaxParallelTrials()
+ {
+ return $this->maxParallelTrials;
+ }
+ public function setMaxTrials($maxTrials)
+ {
+ $this->maxTrials = $maxTrials;
+ }
+ public function getMaxTrials()
+ {
+ return $this->maxTrials;
+ }
+ public function setParams($params)
+ {
+ $this->params = $params;
+ }
+ public function getParams()
+ {
+ return $this->params;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Job.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Job.php
new file mode 100644
index 00000000..6817d8a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Job.php
@@ -0,0 +1,115 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Job extends Google_Model
+{
+ public $createTime;
+ public $endTime;
+ public $errorMessage;
+ public $jobId;
+ protected $predictionInputType = 'Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1PredictionInput';
+ protected $predictionInputDataType = '';
+ protected $predictionOutputType = 'Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1PredictionOutput';
+ protected $predictionOutputDataType = '';
+ public $startTime;
+ public $state;
+ protected $trainingInputType = 'Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1TrainingInput';
+ protected $trainingInputDataType = '';
+ protected $trainingOutputType = 'Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1TrainingOutput';
+ protected $trainingOutputDataType = '';
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setErrorMessage($errorMessage)
+ {
+ $this->errorMessage = $errorMessage;
+ }
+ public function getErrorMessage()
+ {
+ return $this->errorMessage;
+ }
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+ public function setPredictionInput(Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1PredictionInput $predictionInput)
+ {
+ $this->predictionInput = $predictionInput;
+ }
+ public function getPredictionInput()
+ {
+ return $this->predictionInput;
+ }
+ public function setPredictionOutput(Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1PredictionOutput $predictionOutput)
+ {
+ $this->predictionOutput = $predictionOutput;
+ }
+ public function getPredictionOutput()
+ {
+ return $this->predictionOutput;
+ }
+ 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 setTrainingInput(Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1TrainingInput $trainingInput)
+ {
+ $this->trainingInput = $trainingInput;
+ }
+ public function getTrainingInput()
+ {
+ return $this->trainingInput;
+ }
+ public function setTrainingOutput(Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1TrainingOutput $trainingOutput)
+ {
+ $this->trainingOutput = $trainingOutput;
+ }
+ public function getTrainingOutput()
+ {
+ return $this->trainingOutput;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListJobsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListJobsResponse.php
new file mode 100644
index 00000000..4fdb12be
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListJobsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ListJobsResponse extends Google_Collection
+{
+ protected $collection_key = 'jobs';
+ protected $jobsType = 'Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Job';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListModelsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListModelsResponse.php
new file mode 100644
index 00000000..fdea12aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListModelsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ListModelsResponse extends Google_Collection
+{
+ protected $collection_key = 'models';
+ protected $modelsType = 'Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Model';
+ protected $modelsDataType = 'array';
+ public $nextPageToken;
+
+ public function setModels($models)
+ {
+ $this->models = $models;
+ }
+ public function getModels()
+ {
+ return $this->models;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListVersionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListVersionsResponse.php
new file mode 100644
index 00000000..4a0bbc87
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListVersionsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ListVersionsResponse extends Google_Collection
+{
+ protected $collection_key = 'versions';
+ public $nextPageToken;
+ protected $versionsType = 'Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version';
+ protected $versionsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setVersions($versions)
+ {
+ $this->versions = $versions;
+ }
+ public function getVersions()
+ {
+ return $this->versions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Model.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Model.php
new file mode 100644
index 00000000..a86a626b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Model.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Model extends Google_Model
+{
+ protected $defaultVersionType = 'Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version';
+ protected $defaultVersionDataType = '';
+ public $description;
+ public $name;
+
+ public function setDefaultVersion(Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version $defaultVersion)
+ {
+ $this->defaultVersion = $defaultVersion;
+ }
+ public function getDefaultVersion()
+ {
+ return $this->defaultVersion;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1OperationMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1OperationMetadata.php
new file mode 100644
index 00000000..c434b276
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1OperationMetadata.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1OperationMetadata extends Google_Model
+{
+ public $createTime;
+ public $endTime;
+ public $isCancellationRequested;
+ public $modelName;
+ public $operationType;
+ public $startTime;
+ protected $versionType = 'Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version';
+ protected $versionDataType = '';
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setIsCancellationRequested($isCancellationRequested)
+ {
+ $this->isCancellationRequested = $isCancellationRequested;
+ }
+ public function getIsCancellationRequested()
+ {
+ return $this->isCancellationRequested;
+ }
+ public function setModelName($modelName)
+ {
+ $this->modelName = $modelName;
+ }
+ public function getModelName()
+ {
+ return $this->modelName;
+ }
+ 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 setVersion(Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version $version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ParameterSpec.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ParameterSpec.php
new file mode 100644
index 00000000..4403e505
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ParameterSpec.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ParameterSpec extends Google_Collection
+{
+ protected $collection_key = 'discreteValues';
+ public $categoricalValues;
+ public $discreteValues;
+ public $maxValue;
+ public $minValue;
+ public $parameterName;
+ public $scaleType;
+ public $type;
+
+ public function setCategoricalValues($categoricalValues)
+ {
+ $this->categoricalValues = $categoricalValues;
+ }
+ public function getCategoricalValues()
+ {
+ return $this->categoricalValues;
+ }
+ public function setDiscreteValues($discreteValues)
+ {
+ $this->discreteValues = $discreteValues;
+ }
+ public function getDiscreteValues()
+ {
+ return $this->discreteValues;
+ }
+ 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 setParameterName($parameterName)
+ {
+ $this->parameterName = $parameterName;
+ }
+ public function getParameterName()
+ {
+ return $this->parameterName;
+ }
+ public function setScaleType($scaleType)
+ {
+ $this->scaleType = $scaleType;
+ }
+ public function getScaleType()
+ {
+ return $this->scaleType;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictRequest.php
new file mode 100644
index 00000000..e27cfe46
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1PredictRequest extends Google_Model
+{
+ protected $httpBodyType = 'Google_Service_CloudMachineLearning_GoogleApiHttpBody';
+ protected $httpBodyDataType = '';
+
+ public function setHttpBody(Google_Service_CloudMachineLearning_GoogleApiHttpBody $httpBody)
+ {
+ $this->httpBody = $httpBody;
+ }
+ public function getHttpBody()
+ {
+ return $this->httpBody;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictionInput.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictionInput.php
new file mode 100644
index 00000000..1dbd8138
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictionInput.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1PredictionInput extends Google_Collection
+{
+ protected $collection_key = 'inputPaths';
+ public $dataFormat;
+ public $inputPaths;
+ public $maxWorkerCount;
+ public $modelName;
+ public $outputPath;
+ public $region;
+ public $versionName;
+
+ public function setDataFormat($dataFormat)
+ {
+ $this->dataFormat = $dataFormat;
+ }
+ public function getDataFormat()
+ {
+ return $this->dataFormat;
+ }
+ public function setInputPaths($inputPaths)
+ {
+ $this->inputPaths = $inputPaths;
+ }
+ public function getInputPaths()
+ {
+ return $this->inputPaths;
+ }
+ public function setMaxWorkerCount($maxWorkerCount)
+ {
+ $this->maxWorkerCount = $maxWorkerCount;
+ }
+ public function getMaxWorkerCount()
+ {
+ return $this->maxWorkerCount;
+ }
+ public function setModelName($modelName)
+ {
+ $this->modelName = $modelName;
+ }
+ public function getModelName()
+ {
+ return $this->modelName;
+ }
+ public function setOutputPath($outputPath)
+ {
+ $this->outputPath = $outputPath;
+ }
+ public function getOutputPath()
+ {
+ return $this->outputPath;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setVersionName($versionName)
+ {
+ $this->versionName = $versionName;
+ }
+ public function getVersionName()
+ {
+ return $this->versionName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictionOutput.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictionOutput.php
new file mode 100644
index 00000000..7a8080c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictionOutput.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1PredictionOutput extends Google_Model
+{
+ public $errorCount;
+ public $outputPath;
+ public $predictionCount;
+
+ public function setErrorCount($errorCount)
+ {
+ $this->errorCount = $errorCount;
+ }
+ public function getErrorCount()
+ {
+ return $this->errorCount;
+ }
+ public function setOutputPath($outputPath)
+ {
+ $this->outputPath = $outputPath;
+ }
+ public function getOutputPath()
+ {
+ return $this->outputPath;
+ }
+ public function setPredictionCount($predictionCount)
+ {
+ $this->predictionCount = $predictionCount;
+ }
+ public function getPredictionCount()
+ {
+ return $this->predictionCount;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1SetDefaultVersionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1SetDefaultVersionRequest.php
new file mode 100644
index 00000000..71268c53
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1SetDefaultVersionRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1SetDefaultVersionRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1TrainingInput.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1TrainingInput.php
new file mode 100644
index 00000000..0df48abd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1TrainingInput.php
@@ -0,0 +1,122 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1TrainingInput extends Google_Collection
+{
+ protected $collection_key = 'packageUris';
+ public $args;
+ protected $hyperparametersType = 'Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1HyperparameterSpec';
+ protected $hyperparametersDataType = '';
+ public $masterType;
+ public $packageUris;
+ public $parameterServerCount;
+ public $parameterServerType;
+ public $pythonModule;
+ public $region;
+ public $scaleTier;
+ public $workerCount;
+ public $workerType;
+
+ public function setArgs($args)
+ {
+ $this->args = $args;
+ }
+ public function getArgs()
+ {
+ return $this->args;
+ }
+ public function setHyperparameters(Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1HyperparameterSpec $hyperparameters)
+ {
+ $this->hyperparameters = $hyperparameters;
+ }
+ public function getHyperparameters()
+ {
+ return $this->hyperparameters;
+ }
+ public function setMasterType($masterType)
+ {
+ $this->masterType = $masterType;
+ }
+ public function getMasterType()
+ {
+ return $this->masterType;
+ }
+ public function setPackageUris($packageUris)
+ {
+ $this->packageUris = $packageUris;
+ }
+ public function getPackageUris()
+ {
+ return $this->packageUris;
+ }
+ public function setParameterServerCount($parameterServerCount)
+ {
+ $this->parameterServerCount = $parameterServerCount;
+ }
+ public function getParameterServerCount()
+ {
+ return $this->parameterServerCount;
+ }
+ public function setParameterServerType($parameterServerType)
+ {
+ $this->parameterServerType = $parameterServerType;
+ }
+ public function getParameterServerType()
+ {
+ return $this->parameterServerType;
+ }
+ public function setPythonModule($pythonModule)
+ {
+ $this->pythonModule = $pythonModule;
+ }
+ public function getPythonModule()
+ {
+ return $this->pythonModule;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setScaleTier($scaleTier)
+ {
+ $this->scaleTier = $scaleTier;
+ }
+ public function getScaleTier()
+ {
+ return $this->scaleTier;
+ }
+ public function setWorkerCount($workerCount)
+ {
+ $this->workerCount = $workerCount;
+ }
+ public function getWorkerCount()
+ {
+ return $this->workerCount;
+ }
+ public function setWorkerType($workerType)
+ {
+ $this->workerType = $workerType;
+ }
+ public function getWorkerType()
+ {
+ return $this->workerType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1TrainingOutput.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1TrainingOutput.php
new file mode 100644
index 00000000..a23e6ddd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1TrainingOutput.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1TrainingOutput extends Google_Collection
+{
+ protected $collection_key = 'trials';
+ public $completedTrialCount;
+ public $consumedMLUnits;
+ protected $trialsType = 'Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1HyperparameterOutput';
+ protected $trialsDataType = 'array';
+
+ public function setCompletedTrialCount($completedTrialCount)
+ {
+ $this->completedTrialCount = $completedTrialCount;
+ }
+ public function getCompletedTrialCount()
+ {
+ return $this->completedTrialCount;
+ }
+ public function setConsumedMLUnits($consumedMLUnits)
+ {
+ $this->consumedMLUnits = $consumedMLUnits;
+ }
+ public function getConsumedMLUnits()
+ {
+ return $this->consumedMLUnits;
+ }
+ public function setTrials($trials)
+ {
+ $this->trials = $trials;
+ }
+ public function getTrials()
+ {
+ return $this->trials;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Version.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Version.php
new file mode 100644
index 00000000..4e06e3f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Version.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version extends Google_Model
+{
+ public $createTime;
+ public $deploymentUri;
+ public $description;
+ public $isDefault;
+ public $lastUseTime;
+ public $name;
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setDeploymentUri($deploymentUri)
+ {
+ $this->deploymentUri = $deploymentUri;
+ }
+ public function getDeploymentUri()
+ {
+ return $this->deploymentUri;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setIsDefault($isDefault)
+ {
+ $this->isDefault = $isDefault;
+ }
+ public function getIsDefault()
+ {
+ return $this->isDefault;
+ }
+ public function setLastUseTime($lastUseTime)
+ {
+ $this->lastUseTime = $lastUseTime;
+ }
+ public function getLastUseTime()
+ {
+ return $this->lastUseTime;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleLongrunningListOperationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleLongrunningListOperationsResponse.php
new file mode 100644
index 00000000..bddb8930
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleLongrunningListOperationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleLongrunningListOperationsResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_CloudMachineLearning_GoogleLongrunningOperation';
+ protected $operationsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleLongrunningOperation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleLongrunningOperation.php
new file mode 100644
index 00000000..d9f2c4c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleLongrunningOperation.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleLongrunningOperation extends Google_Model
+{
+ public $done;
+ protected $errorType = 'Google_Service_CloudMachineLearning_GoogleRpcStatus';
+ protected $errorDataType = '';
+ public $metadata;
+ public $name;
+ public $response;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_CloudMachineLearning_GoogleRpcStatus $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setMetadata($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 setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleProtobufEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleProtobufEmpty.php
new file mode 100644
index 00000000..3ae84da2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleProtobufEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleProtobufEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleRpcStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleRpcStatus.php
new file mode 100644
index 00000000..8a3bc4e9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleRpcStatus.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearning_GoogleRpcStatus extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/Projects.php
new file mode 100644
index 00000000..2f959bf2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/Projects.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mlService = new Google_Service_CloudMachineLearning(...);
+ * $projects = $mlService->projects;
+ * </code>
+ */
+class Google_Service_CloudMachineLearning_Resource_Projects extends Google_Service_Resource
+{
+ /**
+ * Get the service account information associated with your project. You need
+ * this information in order to grant the service account persmissions for the
+ * Google Cloud Storage location where you put your model training code for
+ * training the model with Google Cloud Machine Learning. (projects.getConfig)
+ *
+ * @param string $name Required. The project name.
+ *
+ * Authorization: requires `Viewer` role on the specified project.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1GetConfigResponse
+ */
+ public function getConfig($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('getConfig', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1GetConfigResponse");
+ }
+ /**
+ * Performs prediction on the data in the request.
+ *
+ * Responses are very similar to requests. There are two top-level fields, each
+ * of which are JSON lists:
+ *
+ * predictions The list of predictions, one per instance in the request.
+ * error An error message returned instead of a prediction list if any
+ * instance produced an error.
+ *
+ * If the call is successful, the response body will contain one prediction
+ * entry per instance in the request body. If prediction fails for any instance,
+ * the response body will contain no predictions and will contian a single error
+ * entry instead.
+ *
+ * Even though there is one prediction per instance, the format of a prediction
+ * is not directly related to the format of an instance. Predictions take
+ * whatever format is specified in the outputs collection defined in the model.
+ * The collection of predictions is returned in a JSON list. Each member of the
+ * list can be a simple value, a list, or a JSON object of any complexity. If
+ * your model has more than one output tensor, each prediction will be a JSON
+ * object containing a name/value pair for each output. The names identify the
+ * output aliases in the graph.
+ *
+ * The following examples show some possible responses:
+ *
+ * A simple set of predictions for three input instances, where each prediction
+ * is an integer value:
+ *
+ * {"predictions": [5, 4, 3]}
+ *
+ * A more complex set of predictions, each containing two named values that
+ * correspond to output tensors, named **label** and **scores** respectively.
+ * The value of **label** is the predicted category ("car" or "beach") and
+ * **scores** contains a list of probabilities for that instance across the
+ * possible categories.
+ *
+ * {"predictions": [{"label": "beach", "scores": [0.1, 0.9]},
+ * {"label": "car", "scores": [0.75, 0.25]}]}
+ *
+ * A response when there is an error processing an input instance:
+ *
+ * {"error": "Divide by zero"} (projects.predict)
+ *
+ * @param string $name Required. The resource name of a model or a version.
+ *
+ * Authorization: requires `Viewer` role on the parent project.
+ * @param Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1PredictRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearning_GoogleApiHttpBody
+ */
+ public function predict($name, Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1PredictRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('predict', array($params), "Google_Service_CloudMachineLearning_GoogleApiHttpBody");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsJobs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsJobs.php
new file mode 100644
index 00000000..ba4459bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsJobs.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mlService = new Google_Service_CloudMachineLearning(...);
+ * $jobs = $mlService->jobs;
+ * </code>
+ */
+class Google_Service_CloudMachineLearning_Resource_ProjectsJobs extends Google_Service_Resource
+{
+ /**
+ * Cancels a running job. (jobs.cancel)
+ *
+ * @param string $name Required. The name of the job to cancel.
+ *
+ * Authorization: requires `Editor` role on the parent project.
+ * @param Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1CancelJobRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearning_GoogleProtobufEmpty
+ */
+ public function cancel($name, Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1CancelJobRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_CloudMachineLearning_GoogleProtobufEmpty");
+ }
+ /**
+ * Creates a training or a batch prediction job. (jobs.create)
+ *
+ * @param string $parent Required. The project name.
+ *
+ * Authorization: requires `Editor` role on the specified project.
+ * @param Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Job $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Job
+ */
+ public function create($parent, Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Job $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Job");
+ }
+ /**
+ * Describes a job. (jobs.get)
+ *
+ * @param string $name Required. The name of the job to get the description of.
+ *
+ * Authorization: requires `Viewer` role on the parent project.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Job
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Job");
+ }
+ /**
+ * Lists the jobs in the project. (jobs.listProjectsJobs)
+ *
+ * @param string $parent Required. The name of the project for which to list
+ * jobs.
+ *
+ * Authorization: requires `Viewer` role on the specified project.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Optional. The number of jobs to retrieve per "page"
+ * of results. If there are more remaining results than this number, the
+ * response message will contain a valid value in the `next_page_token` field.
+ *
+ * The default value is 20, and the maximum page size is 100.
+ * @opt_param string filter Optional. Specifies the subset of jobs to retrieve.
+ * @opt_param string pageToken Optional. A page token to request the next page
+ * of results.
+ *
+ * You get the token from the `next_page_token` field of the response from the
+ * previous call.
+ * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ListJobsResponse
+ */
+ public function listProjectsJobs($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ListJobsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsModels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsModels.php
new file mode 100644
index 00000000..8a4a3422
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsModels.php
@@ -0,0 +1,114 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "models" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mlService = new Google_Service_CloudMachineLearning(...);
+ * $models = $mlService->models;
+ * </code>
+ */
+class Google_Service_CloudMachineLearning_Resource_ProjectsModels extends Google_Service_Resource
+{
+ /**
+ * Creates a model which will later contain one or more versions.
+ *
+ * You must add at least one version before you can request predictions from the
+ * model. Add versions by calling [projects.models.versions.create](/ml/referenc
+ * e/rest/v1beta1/projects.models.versions/create). (models.create)
+ *
+ * @param string $parent Required. The project name.
+ *
+ * Authorization: requires `Editor` role on the specified project.
+ * @param Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Model $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Model
+ */
+ public function create($parent, Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Model $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Model");
+ }
+ /**
+ * Deletes a model.
+ *
+ * You can only delete a model if there are no versions in it. You can delete
+ * versions by calling [projects.models.versions.delete](/ml/reference/rest/v1be
+ * ta1/projects.models.versions/delete). (models.delete)
+ *
+ * @param string $name Required. The name of the model.
+ *
+ * Authorization: requires `Editor` role on the parent project.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearning_GoogleLongrunningOperation
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudMachineLearning_GoogleLongrunningOperation");
+ }
+ /**
+ * Gets information about a model, including its name, the description (if set),
+ * and the default version (if at least one version of the model has been
+ * deployed). (models.get)
+ *
+ * @param string $name Required. The name of the model.
+ *
+ * Authorization: requires `Viewer` role on the parent project.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Model
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Model");
+ }
+ /**
+ * Lists the models in a project.
+ *
+ * Each project can contain multiple models, and each model can have multiple
+ * versions. (models.listProjectsModels)
+ *
+ * @param string $parent Required. The name of the project whose models are to
+ * be listed.
+ *
+ * Authorization: requires `Viewer` role on the specified project.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Optional. The number of models to retrieve per "page"
+ * of results. If there are more remaining results than this number, the
+ * response message will contain a valid value in the `next_page_token` field.
+ *
+ * The default value is 20, and the maximum page size is 100.
+ * @opt_param string pageToken Optional. A page token to request the next page
+ * of results.
+ *
+ * You get the token from the `next_page_token` field of the response from the
+ * previous call.
+ * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ListModelsResponse
+ */
+ public function listProjectsModels($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ListModelsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsModelsVersions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsModelsVersions.php
new file mode 100644
index 00000000..0f264fd8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsModelsVersions.php
@@ -0,0 +1,152 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "versions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mlService = new Google_Service_CloudMachineLearning(...);
+ * $versions = $mlService->versions;
+ * </code>
+ */
+class Google_Service_CloudMachineLearning_Resource_ProjectsModelsVersions extends Google_Service_Resource
+{
+ /**
+ * Creates a new version of a model from a trained TensorFlow model.
+ *
+ * If the version created in the cloud by this call is the first deployed
+ * version of the specified model, it will be made the default version of the
+ * model. When you add a version to a model that already has one or more
+ * versions, the default version does not automatically change. If you want a
+ * new version to be the default, you must call [projects.models.versions.setDef
+ * ault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).
+ * (versions.create)
+ *
+ * @param string $parent Required. The name of the model.
+ *
+ * Authorization: requires `Editor` role on the parent project.
+ * @param Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearning_GoogleLongrunningOperation
+ */
+ public function create($parent, Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudMachineLearning_GoogleLongrunningOperation");
+ }
+ /**
+ * Deletes a model version.
+ *
+ * Each model can have multiple versions deployed and in use at any given time.
+ * Use this method to remove a single version.
+ *
+ * Note: You cannot delete the version that is set as the default version of the
+ * model unless it is the only remaining version. (versions.delete)
+ *
+ * @param string $name Required. The name of the version. You can get the names
+ * of all the versions of a model by calling [projects.models.versions.list](/ml
+ * /reference/rest/v1beta1/projects.models.versions/list).
+ *
+ * Authorization: requires `Editor` role on the parent project.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearning_GoogleLongrunningOperation
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudMachineLearning_GoogleLongrunningOperation");
+ }
+ /**
+ * Gets information about a model version.
+ *
+ * Models can have multiple versions. You can call [projects.models.versions.lis
+ * t](/ml/reference/rest/v1beta1/projects.models.versions/list) to get the same
+ * information that this method returns for all of the versions of a model.
+ * (versions.get)
+ *
+ * @param string $name Required. The name of the version.
+ *
+ * Authorization: requires `Viewer` role on the parent project.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version");
+ }
+ /**
+ * Gets basic information about all the versions of a model.
+ *
+ * If you expect that a model has a lot of versions, or if you need to handle
+ * only a limited number of results at a time, you can request that the list be
+ * retrieved in batches (called pages): (versions.listProjectsModelsVersions)
+ *
+ * @param string $parent Required. The name of the model for which to list the
+ * version.
+ *
+ * Authorization: requires `Viewer` role on the parent project.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Optional. The number of versions to retrieve per
+ * "page" of results. If there are more remaining results than this number, the
+ * response message will contain a valid value in the `next_page_token` field.
+ *
+ * The default value is 20, and the maximum page size is 100.
+ * @opt_param string pageToken Optional. A page token to request the next page
+ * of results.
+ *
+ * You get the token from the `next_page_token` field of the response from the
+ * previous call.
+ * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ListVersionsResponse
+ */
+ public function listProjectsModelsVersions($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ListVersionsResponse");
+ }
+ /**
+ * Designates a version to be the default for the model.
+ *
+ * The default version is used for prediction requests made against the model
+ * that don't specify a version.
+ *
+ * The first version to be created for a model is automatically set as the
+ * default. You must make any subsequent changes to the default version setting
+ * manually using this method. (versions.setDefault)
+ *
+ * @param string $name Required. The name of the version to make the default for
+ * the model. You can get the names of all the versions of a model by calling [p
+ * rojects.models.versions.list](/ml/reference/rest/v1beta1/projects.models.vers
+ * ions/list).
+ *
+ * Authorization: requires `Editor` role on the parent project.
+ * @param Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1SetDefaultVersionRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version
+ */
+ public function setDefault($name, Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1SetDefaultVersionRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setDefault', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsOperations.php
new file mode 100644
index 00000000..3deb6405
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsOperations.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mlService = new Google_Service_CloudMachineLearning(...);
+ * $operations = $mlService->operations;
+ * </code>
+ */
+class Google_Service_CloudMachineLearning_Resource_ProjectsOperations extends Google_Service_Resource
+{
+ /**
+ * Starts asynchronous cancellation on a long-running operation. The server
+ * makes a best effort to cancel the operation, but success is not guaranteed.
+ * If the server doesn't support this method, it returns
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
+ * other methods to check whether the cancellation succeeded or whether the
+ * operation completed despite cancellation. On successful cancellation, the
+ * operation is not deleted; instead, it becomes an operation with an
+ * Operation.error value with a google.rpc.Status.code of 1, corresponding to
+ * `Code.CANCELLED`. (operations.cancel)
+ *
+ * @param string $name The name of the operation resource to be cancelled.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearning_GoogleProtobufEmpty
+ */
+ public function cancel($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_CloudMachineLearning_GoogleProtobufEmpty");
+ }
+ /**
+ * Deletes a long-running operation. This method indicates that the client is no
+ * longer interested in the operation result. It does not cancel the operation.
+ * If the server doesn't support this method, it returns
+ * `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
+ *
+ * @param string $name The name of the operation resource to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearning_GoogleProtobufEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudMachineLearning_GoogleProtobufEmpty");
+ }
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this
+ * method to poll the operation result at intervals as recommended by the API
+ * service. (operations.get)
+ *
+ * @param string $name The name of the operation resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearning_GoogleLongrunningOperation
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudMachineLearning_GoogleLongrunningOperation");
+ }
+ /**
+ * Lists operations that match the specified filter in the request. If the
+ * server doesn't support this method, it returns `UNIMPLEMENTED`.
+ *
+ * NOTE: the `name` binding below allows API services to override the binding to
+ * use different resource name schemes, such as `users/operations`.
+ * (operations.listProjectsOperations)
+ *
+ * @param string $name The name of the operation collection.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize The standard list page size.
+ * @opt_param string filter The standard list filter.
+ * @opt_param string pageToken The standard list page token.
+ * @return Google_Service_CloudMachineLearning_GoogleLongrunningListOperationsResponse
+ */
+ public function listProjectsOperations($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudMachineLearning_GoogleLongrunningListOperationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine.php
new file mode 100644
index 00000000..22cf5f6b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine.php
@@ -0,0 +1,338 @@
+<?php
+/*
+ * Copyright 2016 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 CloudMachineLearningEngine (v1).
+ *
+ * <p>
+ * An API to enable creating and using machine learning models.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/ml/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudMachineLearningEngine extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $projects;
+ public $projects_jobs;
+ public $projects_models;
+ public $projects_models_versions;
+ public $projects_operations;
+
+ /**
+ * Constructs the internal representation of the CloudMachineLearningEngine
+ * service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://ml.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'ml';
+
+ $this->projects = new Google_Service_CloudMachineLearningEngine_Resource_Projects(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'getConfig' => array(
+ 'path' => 'v1/{+name}:getConfig',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'predict' => array(
+ 'path' => 'v1/{+name}:predict',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_jobs = new Google_Service_CloudMachineLearningEngine_Resource_ProjectsJobs(
+ $this,
+ $this->serviceName,
+ 'jobs',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'v1/{+name}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'v1/{+parent}/jobs',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+parent}/jobs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_models = new Google_Service_CloudMachineLearningEngine_Resource_ProjectsModels(
+ $this,
+ $this->serviceName,
+ 'models',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/{+parent}/models',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+parent}/models',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_models_versions = new Google_Service_CloudMachineLearningEngine_Resource_ProjectsModelsVersions(
+ $this,
+ $this->serviceName,
+ 'versions',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/{+parent}/versions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+parent}/versions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'setDefault' => array(
+ 'path' => 'v1/{+name}:setDefault',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_operations = new Google_Service_CloudMachineLearningEngine_Resource_ProjectsOperations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'v1/{+name}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+name}/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleApiHttpBody.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleApiHttpBody.php
new file mode 100644
index 00000000..9defb8c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleApiHttpBody.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleApiHttpBody extends Google_Model
+{
+ public $contentType;
+ public $data;
+
+ public function setContentType($contentType)
+ {
+ $this->contentType = $contentType;
+ }
+ public function getContentType()
+ {
+ return $this->contentType;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1CancelJobRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1CancelJobRequest.php
new file mode 100644
index 00000000..a53fd50d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1CancelJobRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1CancelJobRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1GetConfigResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1GetConfigResponse.php
new file mode 100644
index 00000000..8d4afec6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1GetConfigResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1GetConfigResponse extends Google_Model
+{
+ public $serviceAccount;
+ public $serviceAccountProject;
+
+ public function setServiceAccount($serviceAccount)
+ {
+ $this->serviceAccount = $serviceAccount;
+ }
+ public function getServiceAccount()
+ {
+ return $this->serviceAccount;
+ }
+ public function setServiceAccountProject($serviceAccountProject)
+ {
+ $this->serviceAccountProject = $serviceAccountProject;
+ }
+ public function getServiceAccountProject()
+ {
+ return $this->serviceAccountProject;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterOutput.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterOutput.php
new file mode 100644
index 00000000..090b9545
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterOutput.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterOutput extends Google_Collection
+{
+ protected $collection_key = 'allMetrics';
+ protected $allMetricsType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterOutputHyperparameterMetric';
+ protected $allMetricsDataType = 'array';
+ protected $finalMetricType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterOutputHyperparameterMetric';
+ protected $finalMetricDataType = '';
+ public $hyperparameters;
+ public $trialId;
+
+ public function setAllMetrics($allMetrics)
+ {
+ $this->allMetrics = $allMetrics;
+ }
+ public function getAllMetrics()
+ {
+ return $this->allMetrics;
+ }
+ public function setFinalMetric(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterOutputHyperparameterMetric $finalMetric)
+ {
+ $this->finalMetric = $finalMetric;
+ }
+ public function getFinalMetric()
+ {
+ return $this->finalMetric;
+ }
+ public function setHyperparameters($hyperparameters)
+ {
+ $this->hyperparameters = $hyperparameters;
+ }
+ public function getHyperparameters()
+ {
+ return $this->hyperparameters;
+ }
+ public function setTrialId($trialId)
+ {
+ $this->trialId = $trialId;
+ }
+ public function getTrialId()
+ {
+ return $this->trialId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterOutputHyperparameterMetric.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterOutputHyperparameterMetric.php
new file mode 100644
index 00000000..6ce8feaf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterOutputHyperparameterMetric.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterOutputHyperparameterMetric extends Google_Model
+{
+ public $objectiveValue;
+ public $trainingStep;
+
+ public function setObjectiveValue($objectiveValue)
+ {
+ $this->objectiveValue = $objectiveValue;
+ }
+ public function getObjectiveValue()
+ {
+ return $this->objectiveValue;
+ }
+ public function setTrainingStep($trainingStep)
+ {
+ $this->trainingStep = $trainingStep;
+ }
+ public function getTrainingStep()
+ {
+ return $this->trainingStep;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterSpec.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterSpec.php
new file mode 100644
index 00000000..8a5bbab8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterSpec.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterSpec extends Google_Collection
+{
+ protected $collection_key = 'params';
+ public $goal;
+ public $hyperparameterMetricTag;
+ public $maxParallelTrials;
+ public $maxTrials;
+ protected $paramsType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ParameterSpec';
+ protected $paramsDataType = 'array';
+
+ public function setGoal($goal)
+ {
+ $this->goal = $goal;
+ }
+ public function getGoal()
+ {
+ return $this->goal;
+ }
+ public function setHyperparameterMetricTag($hyperparameterMetricTag)
+ {
+ $this->hyperparameterMetricTag = $hyperparameterMetricTag;
+ }
+ public function getHyperparameterMetricTag()
+ {
+ return $this->hyperparameterMetricTag;
+ }
+ public function setMaxParallelTrials($maxParallelTrials)
+ {
+ $this->maxParallelTrials = $maxParallelTrials;
+ }
+ public function getMaxParallelTrials()
+ {
+ return $this->maxParallelTrials;
+ }
+ public function setMaxTrials($maxTrials)
+ {
+ $this->maxTrials = $maxTrials;
+ }
+ public function getMaxTrials()
+ {
+ return $this->maxTrials;
+ }
+ public function setParams($params)
+ {
+ $this->params = $params;
+ }
+ public function getParams()
+ {
+ return $this->params;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Job.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Job.php
new file mode 100644
index 00000000..12477968
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Job.php
@@ -0,0 +1,115 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Job extends Google_Model
+{
+ public $createTime;
+ public $endTime;
+ public $errorMessage;
+ public $jobId;
+ protected $predictionInputType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1PredictionInput';
+ protected $predictionInputDataType = '';
+ protected $predictionOutputType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1PredictionOutput';
+ protected $predictionOutputDataType = '';
+ public $startTime;
+ public $state;
+ protected $trainingInputType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1TrainingInput';
+ protected $trainingInputDataType = '';
+ protected $trainingOutputType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1TrainingOutput';
+ protected $trainingOutputDataType = '';
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setErrorMessage($errorMessage)
+ {
+ $this->errorMessage = $errorMessage;
+ }
+ public function getErrorMessage()
+ {
+ return $this->errorMessage;
+ }
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+ public function setPredictionInput(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1PredictionInput $predictionInput)
+ {
+ $this->predictionInput = $predictionInput;
+ }
+ public function getPredictionInput()
+ {
+ return $this->predictionInput;
+ }
+ public function setPredictionOutput(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1PredictionOutput $predictionOutput)
+ {
+ $this->predictionOutput = $predictionOutput;
+ }
+ public function getPredictionOutput()
+ {
+ return $this->predictionOutput;
+ }
+ 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 setTrainingInput(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1TrainingInput $trainingInput)
+ {
+ $this->trainingInput = $trainingInput;
+ }
+ public function getTrainingInput()
+ {
+ return $this->trainingInput;
+ }
+ public function setTrainingOutput(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1TrainingOutput $trainingOutput)
+ {
+ $this->trainingOutput = $trainingOutput;
+ }
+ public function getTrainingOutput()
+ {
+ return $this->trainingOutput;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListJobsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListJobsResponse.php
new file mode 100644
index 00000000..64ee1e51
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListJobsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListJobsResponse extends Google_Collection
+{
+ protected $collection_key = 'jobs';
+ protected $jobsType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Job';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListModelsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListModelsResponse.php
new file mode 100644
index 00000000..94073eb1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListModelsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListModelsResponse extends Google_Collection
+{
+ protected $collection_key = 'models';
+ protected $modelsType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Model';
+ protected $modelsDataType = 'array';
+ public $nextPageToken;
+
+ public function setModels($models)
+ {
+ $this->models = $models;
+ }
+ public function getModels()
+ {
+ return $this->models;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListVersionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListVersionsResponse.php
new file mode 100644
index 00000000..3854c313
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListVersionsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListVersionsResponse extends Google_Collection
+{
+ protected $collection_key = 'versions';
+ public $nextPageToken;
+ protected $versionsType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version';
+ protected $versionsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setVersions($versions)
+ {
+ $this->versions = $versions;
+ }
+ public function getVersions()
+ {
+ return $this->versions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ManualScaling.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ManualScaling.php
new file mode 100644
index 00000000..e2ce19b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ManualScaling.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ManualScaling extends Google_Model
+{
+ public $nodes;
+
+ public function setNodes($nodes)
+ {
+ $this->nodes = $nodes;
+ }
+ public function getNodes()
+ {
+ return $this->nodes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Model.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Model.php
new file mode 100644
index 00000000..f510f862
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Model.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Model extends Google_Collection
+{
+ protected $collection_key = 'regions';
+ protected $defaultVersionType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version';
+ protected $defaultVersionDataType = '';
+ public $description;
+ public $name;
+ public $onlinePredictionLogging;
+ public $regions;
+
+ public function setDefaultVersion(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version $defaultVersion)
+ {
+ $this->defaultVersion = $defaultVersion;
+ }
+ public function getDefaultVersion()
+ {
+ return $this->defaultVersion;
+ }
+ 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 setOnlinePredictionLogging($onlinePredictionLogging)
+ {
+ $this->onlinePredictionLogging = $onlinePredictionLogging;
+ }
+ public function getOnlinePredictionLogging()
+ {
+ return $this->onlinePredictionLogging;
+ }
+ public function setRegions($regions)
+ {
+ $this->regions = $regions;
+ }
+ public function getRegions()
+ {
+ return $this->regions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1OperationMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1OperationMetadata.php
new file mode 100644
index 00000000..f1b33712
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1OperationMetadata.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1OperationMetadata extends Google_Model
+{
+ public $createTime;
+ public $endTime;
+ public $isCancellationRequested;
+ public $modelName;
+ public $operationType;
+ public $startTime;
+ protected $versionType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version';
+ protected $versionDataType = '';
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setIsCancellationRequested($isCancellationRequested)
+ {
+ $this->isCancellationRequested = $isCancellationRequested;
+ }
+ public function getIsCancellationRequested()
+ {
+ return $this->isCancellationRequested;
+ }
+ public function setModelName($modelName)
+ {
+ $this->modelName = $modelName;
+ }
+ public function getModelName()
+ {
+ return $this->modelName;
+ }
+ 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 setVersion(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version $version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ParameterSpec.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ParameterSpec.php
new file mode 100644
index 00000000..d75f5915
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ParameterSpec.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ParameterSpec extends Google_Collection
+{
+ protected $collection_key = 'discreteValues';
+ public $categoricalValues;
+ public $discreteValues;
+ public $maxValue;
+ public $minValue;
+ public $parameterName;
+ public $scaleType;
+ public $type;
+
+ public function setCategoricalValues($categoricalValues)
+ {
+ $this->categoricalValues = $categoricalValues;
+ }
+ public function getCategoricalValues()
+ {
+ return $this->categoricalValues;
+ }
+ public function setDiscreteValues($discreteValues)
+ {
+ $this->discreteValues = $discreteValues;
+ }
+ public function getDiscreteValues()
+ {
+ return $this->discreteValues;
+ }
+ 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 setParameterName($parameterName)
+ {
+ $this->parameterName = $parameterName;
+ }
+ public function getParameterName()
+ {
+ return $this->parameterName;
+ }
+ public function setScaleType($scaleType)
+ {
+ $this->scaleType = $scaleType;
+ }
+ public function getScaleType()
+ {
+ return $this->scaleType;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictRequest.php
new file mode 100644
index 00000000..763b83a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1PredictRequest extends Google_Model
+{
+ protected $httpBodyType = 'Google_Service_CloudMachineLearningEngine_GoogleApiHttpBody';
+ protected $httpBodyDataType = '';
+
+ public function setHttpBody(Google_Service_CloudMachineLearningEngine_GoogleApiHttpBody $httpBody)
+ {
+ $this->httpBody = $httpBody;
+ }
+ public function getHttpBody()
+ {
+ return $this->httpBody;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictionInput.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictionInput.php
new file mode 100644
index 00000000..64b3b2a3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictionInput.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1PredictionInput extends Google_Collection
+{
+ protected $collection_key = 'inputPaths';
+ public $dataFormat;
+ public $inputPaths;
+ public $maxWorkerCount;
+ public $modelName;
+ public $outputPath;
+ public $region;
+ public $runtimeVersion;
+ public $uri;
+ public $versionName;
+
+ public function setDataFormat($dataFormat)
+ {
+ $this->dataFormat = $dataFormat;
+ }
+ public function getDataFormat()
+ {
+ return $this->dataFormat;
+ }
+ public function setInputPaths($inputPaths)
+ {
+ $this->inputPaths = $inputPaths;
+ }
+ public function getInputPaths()
+ {
+ return $this->inputPaths;
+ }
+ public function setMaxWorkerCount($maxWorkerCount)
+ {
+ $this->maxWorkerCount = $maxWorkerCount;
+ }
+ public function getMaxWorkerCount()
+ {
+ return $this->maxWorkerCount;
+ }
+ public function setModelName($modelName)
+ {
+ $this->modelName = $modelName;
+ }
+ public function getModelName()
+ {
+ return $this->modelName;
+ }
+ public function setOutputPath($outputPath)
+ {
+ $this->outputPath = $outputPath;
+ }
+ public function getOutputPath()
+ {
+ return $this->outputPath;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setRuntimeVersion($runtimeVersion)
+ {
+ $this->runtimeVersion = $runtimeVersion;
+ }
+ public function getRuntimeVersion()
+ {
+ return $this->runtimeVersion;
+ }
+ public function setUri($uri)
+ {
+ $this->uri = $uri;
+ }
+ public function getUri()
+ {
+ return $this->uri;
+ }
+ public function setVersionName($versionName)
+ {
+ $this->versionName = $versionName;
+ }
+ public function getVersionName()
+ {
+ return $this->versionName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictionOutput.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictionOutput.php
new file mode 100644
index 00000000..b3765585
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictionOutput.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1PredictionOutput extends Google_Model
+{
+ public $errorCount;
+ public $nodeHours;
+ public $outputPath;
+ public $predictionCount;
+
+ public function setErrorCount($errorCount)
+ {
+ $this->errorCount = $errorCount;
+ }
+ public function getErrorCount()
+ {
+ return $this->errorCount;
+ }
+ public function setNodeHours($nodeHours)
+ {
+ $this->nodeHours = $nodeHours;
+ }
+ public function getNodeHours()
+ {
+ return $this->nodeHours;
+ }
+ public function setOutputPath($outputPath)
+ {
+ $this->outputPath = $outputPath;
+ }
+ public function getOutputPath()
+ {
+ return $this->outputPath;
+ }
+ public function setPredictionCount($predictionCount)
+ {
+ $this->predictionCount = $predictionCount;
+ }
+ public function getPredictionCount()
+ {
+ return $this->predictionCount;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1SetDefaultVersionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1SetDefaultVersionRequest.php
new file mode 100644
index 00000000..cc51eec8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1SetDefaultVersionRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1SetDefaultVersionRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1TrainingInput.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1TrainingInput.php
new file mode 100644
index 00000000..7db3bf06
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1TrainingInput.php
@@ -0,0 +1,140 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1TrainingInput extends Google_Collection
+{
+ protected $collection_key = 'packageUris';
+ public $args;
+ protected $hyperparametersType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterSpec';
+ protected $hyperparametersDataType = '';
+ public $jobDir;
+ public $masterType;
+ public $packageUris;
+ public $parameterServerCount;
+ public $parameterServerType;
+ public $pythonModule;
+ public $region;
+ public $runtimeVersion;
+ public $scaleTier;
+ public $workerCount;
+ public $workerType;
+
+ public function setArgs($args)
+ {
+ $this->args = $args;
+ }
+ public function getArgs()
+ {
+ return $this->args;
+ }
+ public function setHyperparameters(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterSpec $hyperparameters)
+ {
+ $this->hyperparameters = $hyperparameters;
+ }
+ public function getHyperparameters()
+ {
+ return $this->hyperparameters;
+ }
+ public function setJobDir($jobDir)
+ {
+ $this->jobDir = $jobDir;
+ }
+ public function getJobDir()
+ {
+ return $this->jobDir;
+ }
+ public function setMasterType($masterType)
+ {
+ $this->masterType = $masterType;
+ }
+ public function getMasterType()
+ {
+ return $this->masterType;
+ }
+ public function setPackageUris($packageUris)
+ {
+ $this->packageUris = $packageUris;
+ }
+ public function getPackageUris()
+ {
+ return $this->packageUris;
+ }
+ public function setParameterServerCount($parameterServerCount)
+ {
+ $this->parameterServerCount = $parameterServerCount;
+ }
+ public function getParameterServerCount()
+ {
+ return $this->parameterServerCount;
+ }
+ public function setParameterServerType($parameterServerType)
+ {
+ $this->parameterServerType = $parameterServerType;
+ }
+ public function getParameterServerType()
+ {
+ return $this->parameterServerType;
+ }
+ public function setPythonModule($pythonModule)
+ {
+ $this->pythonModule = $pythonModule;
+ }
+ public function getPythonModule()
+ {
+ return $this->pythonModule;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setRuntimeVersion($runtimeVersion)
+ {
+ $this->runtimeVersion = $runtimeVersion;
+ }
+ public function getRuntimeVersion()
+ {
+ return $this->runtimeVersion;
+ }
+ public function setScaleTier($scaleTier)
+ {
+ $this->scaleTier = $scaleTier;
+ }
+ public function getScaleTier()
+ {
+ return $this->scaleTier;
+ }
+ public function setWorkerCount($workerCount)
+ {
+ $this->workerCount = $workerCount;
+ }
+ public function getWorkerCount()
+ {
+ return $this->workerCount;
+ }
+ public function setWorkerType($workerType)
+ {
+ $this->workerType = $workerType;
+ }
+ public function getWorkerType()
+ {
+ return $this->workerType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1TrainingOutput.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1TrainingOutput.php
new file mode 100644
index 00000000..1e67d343
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1TrainingOutput.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1TrainingOutput extends Google_Collection
+{
+ protected $collection_key = 'trials';
+ public $completedTrialCount;
+ public $consumedMLUnits;
+ public $isHyperparameterTuningJob;
+ protected $trialsType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterOutput';
+ protected $trialsDataType = 'array';
+
+ public function setCompletedTrialCount($completedTrialCount)
+ {
+ $this->completedTrialCount = $completedTrialCount;
+ }
+ public function getCompletedTrialCount()
+ {
+ return $this->completedTrialCount;
+ }
+ public function setConsumedMLUnits($consumedMLUnits)
+ {
+ $this->consumedMLUnits = $consumedMLUnits;
+ }
+ public function getConsumedMLUnits()
+ {
+ return $this->consumedMLUnits;
+ }
+ public function setIsHyperparameterTuningJob($isHyperparameterTuningJob)
+ {
+ $this->isHyperparameterTuningJob = $isHyperparameterTuningJob;
+ }
+ public function getIsHyperparameterTuningJob()
+ {
+ return $this->isHyperparameterTuningJob;
+ }
+ public function setTrials($trials)
+ {
+ $this->trials = $trials;
+ }
+ public function getTrials()
+ {
+ return $this->trials;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Version.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Version.php
new file mode 100644
index 00000000..426b7cbe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Version.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version extends Google_Model
+{
+ public $createTime;
+ public $deploymentUri;
+ public $description;
+ public $isDefault;
+ public $lastUseTime;
+ protected $manualScalingType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ManualScaling';
+ protected $manualScalingDataType = '';
+ public $name;
+ public $runtimeVersion;
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setDeploymentUri($deploymentUri)
+ {
+ $this->deploymentUri = $deploymentUri;
+ }
+ public function getDeploymentUri()
+ {
+ return $this->deploymentUri;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setIsDefault($isDefault)
+ {
+ $this->isDefault = $isDefault;
+ }
+ public function getIsDefault()
+ {
+ return $this->isDefault;
+ }
+ public function setLastUseTime($lastUseTime)
+ {
+ $this->lastUseTime = $lastUseTime;
+ }
+ public function getLastUseTime()
+ {
+ return $this->lastUseTime;
+ }
+ public function setManualScaling(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ManualScaling $manualScaling)
+ {
+ $this->manualScaling = $manualScaling;
+ }
+ public function getManualScaling()
+ {
+ return $this->manualScaling;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRuntimeVersion($runtimeVersion)
+ {
+ $this->runtimeVersion = $runtimeVersion;
+ }
+ public function getRuntimeVersion()
+ {
+ return $this->runtimeVersion;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1ManualScaling.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1ManualScaling.php
new file mode 100644
index 00000000..5d0677a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1ManualScaling.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1beta1ManualScaling extends Google_Model
+{
+ public $nodes;
+
+ public function setNodes($nodes)
+ {
+ $this->nodes = $nodes;
+ }
+ public function getNodes()
+ {
+ return $this->nodes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1OperationMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1OperationMetadata.php
new file mode 100644
index 00000000..8b5c5254
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1OperationMetadata.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1beta1OperationMetadata extends Google_Model
+{
+ public $createTime;
+ public $endTime;
+ public $isCancellationRequested;
+ public $modelName;
+ public $operationType;
+ public $startTime;
+ protected $versionType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1beta1Version';
+ protected $versionDataType = '';
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setIsCancellationRequested($isCancellationRequested)
+ {
+ $this->isCancellationRequested = $isCancellationRequested;
+ }
+ public function getIsCancellationRequested()
+ {
+ return $this->isCancellationRequested;
+ }
+ public function setModelName($modelName)
+ {
+ $this->modelName = $modelName;
+ }
+ public function getModelName()
+ {
+ return $this->modelName;
+ }
+ 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 setVersion(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1beta1Version $version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1Version.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1Version.php
new file mode 100644
index 00000000..642dff3d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1Version.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1beta1Version extends Google_Model
+{
+ public $createTime;
+ public $deploymentUri;
+ public $description;
+ public $isDefault;
+ public $lastUseTime;
+ protected $manualScalingType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1beta1ManualScaling';
+ protected $manualScalingDataType = '';
+ public $name;
+ public $runtimeVersion;
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setDeploymentUri($deploymentUri)
+ {
+ $this->deploymentUri = $deploymentUri;
+ }
+ public function getDeploymentUri()
+ {
+ return $this->deploymentUri;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setIsDefault($isDefault)
+ {
+ $this->isDefault = $isDefault;
+ }
+ public function getIsDefault()
+ {
+ return $this->isDefault;
+ }
+ public function setLastUseTime($lastUseTime)
+ {
+ $this->lastUseTime = $lastUseTime;
+ }
+ public function getLastUseTime()
+ {
+ return $this->lastUseTime;
+ }
+ public function setManualScaling(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1beta1ManualScaling $manualScaling)
+ {
+ $this->manualScaling = $manualScaling;
+ }
+ public function getManualScaling()
+ {
+ return $this->manualScaling;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRuntimeVersion($runtimeVersion)
+ {
+ $this->runtimeVersion = $runtimeVersion;
+ }
+ public function getRuntimeVersion()
+ {
+ return $this->runtimeVersion;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleLongrunningListOperationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleLongrunningListOperationsResponse.php
new file mode 100644
index 00000000..9ee43c8d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleLongrunningListOperationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleLongrunningListOperationsResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation';
+ protected $operationsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleLongrunningOperation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleLongrunningOperation.php
new file mode 100644
index 00000000..8438a2ba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleLongrunningOperation.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation extends Google_Model
+{
+ public $done;
+ protected $errorType = 'Google_Service_CloudMachineLearningEngine_GoogleRpcStatus';
+ protected $errorDataType = '';
+ public $metadata;
+ public $name;
+ public $response;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_CloudMachineLearningEngine_GoogleRpcStatus $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setMetadata($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 setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleProtobufEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleProtobufEmpty.php
new file mode 100644
index 00000000..cb33b8d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleProtobufEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleProtobufEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleRpcStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleRpcStatus.php
new file mode 100644
index 00000000..47f8020e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleRpcStatus.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMachineLearningEngine_GoogleRpcStatus extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/Projects.php
new file mode 100644
index 00000000..fbda629d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/Projects.php
@@ -0,0 +1,64 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mlService = new Google_Service_CloudMachineLearningEngine(...);
+ * $projects = $mlService->projects;
+ * </code>
+ */
+class Google_Service_CloudMachineLearningEngine_Resource_Projects extends Google_Service_Resource
+{
+ /**
+ * Get the service account information associated with your project. You need
+ * this information in order to grant the service account persmissions for the
+ * Google Cloud Storage location where you put your model training code for
+ * training the model with Google Cloud Machine Learning. (projects.getConfig)
+ *
+ * @param string $name Required. The project name.
+ *
+ * Authorization: requires `Viewer` role on the specified project.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1GetConfigResponse
+ */
+ public function getConfig($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('getConfig', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1GetConfigResponse");
+ }
+ /**
+ * Performs prediction on the data in the request.
+ *
+ * **** REMOVE FROM GENERATED DOCUMENTATION (projects.predict)
+ *
+ * @param string $name Required. The resource name of a model or a version.
+ *
+ * Authorization: requires `Viewer` role on the parent project.
+ * @param Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1PredictRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleApiHttpBody
+ */
+ public function predict($name, Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1PredictRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('predict', array($params), "Google_Service_CloudMachineLearningEngine_GoogleApiHttpBody");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsJobs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsJobs.php
new file mode 100644
index 00000000..ced6a517
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsJobs.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mlService = new Google_Service_CloudMachineLearningEngine(...);
+ * $jobs = $mlService->jobs;
+ * </code>
+ */
+class Google_Service_CloudMachineLearningEngine_Resource_ProjectsJobs extends Google_Service_Resource
+{
+ /**
+ * Cancels a running job. (jobs.cancel)
+ *
+ * @param string $name Required. The name of the job to cancel.
+ *
+ * Authorization: requires `Editor` role on the parent project.
+ * @param Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1CancelJobRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleProtobufEmpty
+ */
+ public function cancel($name, Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1CancelJobRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_CloudMachineLearningEngine_GoogleProtobufEmpty");
+ }
+ /**
+ * Creates a training or a batch prediction job. (jobs.create)
+ *
+ * @param string $parent Required. The project name.
+ *
+ * Authorization: requires `Editor` role on the specified project.
+ * @param Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Job $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Job
+ */
+ public function create($parent, Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Job $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Job");
+ }
+ /**
+ * Describes a job. (jobs.get)
+ *
+ * @param string $name Required. The name of the job to get the description of.
+ *
+ * Authorization: requires `Viewer` role on the parent project.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Job
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Job");
+ }
+ /**
+ * Lists the jobs in the project. (jobs.listProjectsJobs)
+ *
+ * @param string $parent Required. The name of the project for which to list
+ * jobs.
+ *
+ * Authorization: requires `Viewer` role on the specified project.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Specifies the subset of jobs to retrieve.
+ * @opt_param string pageToken Optional. A page token to request the next page
+ * of results.
+ *
+ * You get the token from the `next_page_token` field of the response from the
+ * previous call.
+ * @opt_param int pageSize Optional. The number of jobs to retrieve per "page"
+ * of results. If there are more remaining results than this number, the
+ * response message will contain a valid value in the `next_page_token` field.
+ *
+ * The default value is 20, and the maximum page size is 100.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListJobsResponse
+ */
+ public function listProjectsJobs($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListJobsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsModels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsModels.php
new file mode 100644
index 00000000..96a165c4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsModels.php
@@ -0,0 +1,114 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "models" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mlService = new Google_Service_CloudMachineLearningEngine(...);
+ * $models = $mlService->models;
+ * </code>
+ */
+class Google_Service_CloudMachineLearningEngine_Resource_ProjectsModels extends Google_Service_Resource
+{
+ /**
+ * Creates a model which will later contain one or more versions.
+ *
+ * You must add at least one version before you can request predictions from the
+ * model. Add versions by calling [projects.models.versions.create](/ml/referenc
+ * e/rest/v1/projects.models.versions/create). (models.create)
+ *
+ * @param string $parent Required. The project name.
+ *
+ * Authorization: requires `Editor` role on the specified project.
+ * @param Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Model $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Model
+ */
+ public function create($parent, Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Model $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Model");
+ }
+ /**
+ * Deletes a model.
+ *
+ * You can only delete a model if there are no versions in it. You can delete
+ * versions by calling [projects.models.versions.delete](/ml/reference/rest/v1/p
+ * rojects.models.versions/delete). (models.delete)
+ *
+ * @param string $name Required. The name of the model.
+ *
+ * Authorization: requires `Editor` role on the parent project.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation");
+ }
+ /**
+ * Gets information about a model, including its name, the description (if set),
+ * and the default version (if at least one version of the model has been
+ * deployed). (models.get)
+ *
+ * @param string $name Required. The name of the model.
+ *
+ * Authorization: requires `Viewer` role on the parent project.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Model
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Model");
+ }
+ /**
+ * Lists the models in a project.
+ *
+ * Each project can contain multiple models, and each model can have multiple
+ * versions. (models.listProjectsModels)
+ *
+ * @param string $parent Required. The name of the project whose models are to
+ * be listed.
+ *
+ * Authorization: requires `Viewer` role on the specified project.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional. A page token to request the next page
+ * of results.
+ *
+ * You get the token from the `next_page_token` field of the response from the
+ * previous call.
+ * @opt_param int pageSize Optional. The number of models to retrieve per "page"
+ * of results. If there are more remaining results than this number, the
+ * response message will contain a valid value in the `next_page_token` field.
+ *
+ * The default value is 20, and the maximum page size is 100.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListModelsResponse
+ */
+ public function listProjectsModels($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListModelsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsModelsVersions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsModelsVersions.php
new file mode 100644
index 00000000..030482b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsModelsVersions.php
@@ -0,0 +1,152 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "versions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mlService = new Google_Service_CloudMachineLearningEngine(...);
+ * $versions = $mlService->versions;
+ * </code>
+ */
+class Google_Service_CloudMachineLearningEngine_Resource_ProjectsModelsVersions extends Google_Service_Resource
+{
+ /**
+ * Creates a new version of a model from a trained TensorFlow model.
+ *
+ * If the version created in the cloud by this call is the first deployed
+ * version of the specified model, it will be made the default version of the
+ * model. When you add a version to a model that already has one or more
+ * versions, the default version does not automatically change. If you want a
+ * new version to be the default, you must call [projects.models.versions.setDef
+ * ault](/ml/reference/rest/v1/projects.models.versions/setDefault).
+ * (versions.create)
+ *
+ * @param string $parent Required. The name of the model.
+ *
+ * Authorization: requires `Editor` role on the parent project.
+ * @param Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation
+ */
+ public function create($parent, Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation");
+ }
+ /**
+ * Deletes a model version.
+ *
+ * Each model can have multiple versions deployed and in use at any given time.
+ * Use this method to remove a single version.
+ *
+ * Note: You cannot delete the version that is set as the default version of the
+ * model unless it is the only remaining version. (versions.delete)
+ *
+ * @param string $name Required. The name of the version. You can get the names
+ * of all the versions of a model by calling [projects.models.versions.list](/ml
+ * /reference/rest/v1/projects.models.versions/list).
+ *
+ * Authorization: requires `Editor` role on the parent project.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation");
+ }
+ /**
+ * Gets information about a model version.
+ *
+ * Models can have multiple versions. You can call [projects.models.versions.lis
+ * t](/ml/reference/rest/v1/projects.models.versions/list) to get the same
+ * information that this method returns for all of the versions of a model.
+ * (versions.get)
+ *
+ * @param string $name Required. The name of the version.
+ *
+ * Authorization: requires `Viewer` role on the parent project.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version");
+ }
+ /**
+ * Gets basic information about all the versions of a model.
+ *
+ * If you expect that a model has a lot of versions, or if you need to handle
+ * only a limited number of results at a time, you can request that the list be
+ * retrieved in batches (called pages): (versions.listProjectsModelsVersions)
+ *
+ * @param string $parent Required. The name of the model for which to list the
+ * version.
+ *
+ * Authorization: requires `Viewer` role on the parent project.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional. A page token to request the next page
+ * of results.
+ *
+ * You get the token from the `next_page_token` field of the response from the
+ * previous call.
+ * @opt_param int pageSize Optional. The number of versions to retrieve per
+ * "page" of results. If there are more remaining results than this number, the
+ * response message will contain a valid value in the `next_page_token` field.
+ *
+ * The default value is 20, and the maximum page size is 100.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListVersionsResponse
+ */
+ public function listProjectsModelsVersions($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListVersionsResponse");
+ }
+ /**
+ * Designates a version to be the default for the model.
+ *
+ * The default version is used for prediction requests made against the model
+ * that don't specify a version.
+ *
+ * The first version to be created for a model is automatically set as the
+ * default. You must make any subsequent changes to the default version setting
+ * manually using this method. (versions.setDefault)
+ *
+ * @param string $name Required. The name of the version to make the default for
+ * the model. You can get the names of all the versions of a model by calling [p
+ * rojects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/
+ * list).
+ *
+ * Authorization: requires `Editor` role on the parent project.
+ * @param Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1SetDefaultVersionRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version
+ */
+ public function setDefault($name, Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1SetDefaultVersionRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setDefault', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsOperations.php
new file mode 100644
index 00000000..d2a577c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsOperations.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mlService = new Google_Service_CloudMachineLearningEngine(...);
+ * $operations = $mlService->operations;
+ * </code>
+ */
+class Google_Service_CloudMachineLearningEngine_Resource_ProjectsOperations extends Google_Service_Resource
+{
+ /**
+ * Starts asynchronous cancellation on a long-running operation. The server
+ * makes a best effort to cancel the operation, but success is not guaranteed.
+ * If the server doesn't support this method, it returns
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
+ * other methods to check whether the cancellation succeeded or whether the
+ * operation completed despite cancellation. On successful cancellation, the
+ * operation is not deleted; instead, it becomes an operation with an
+ * Operation.error value with a google.rpc.Status.code of 1, corresponding to
+ * `Code.CANCELLED`. (operations.cancel)
+ *
+ * @param string $name The name of the operation resource to be cancelled.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleProtobufEmpty
+ */
+ public function cancel($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_CloudMachineLearningEngine_GoogleProtobufEmpty");
+ }
+ /**
+ * Deletes a long-running operation. This method indicates that the client is no
+ * longer interested in the operation result. It does not cancel the operation.
+ * If the server doesn't support this method, it returns
+ * `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
+ *
+ * @param string $name The name of the operation resource to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleProtobufEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudMachineLearningEngine_GoogleProtobufEmpty");
+ }
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this
+ * method to poll the operation result at intervals as recommended by the API
+ * service. (operations.get)
+ *
+ * @param string $name The name of the operation resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation");
+ }
+ /**
+ * Lists operations that match the specified filter in the request. If the
+ * server doesn't support this method, it returns `UNIMPLEMENTED`.
+ *
+ * NOTE: the `name` binding below allows API services to override the binding to
+ * use different resource name schemes, such as `users/operations`.
+ * (operations.listProjectsOperations)
+ *
+ * @param string $name The name of the operation collection.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The standard list page token.
+ * @opt_param int pageSize The standard list page size.
+ * @opt_param string filter The standard list filter.
+ * @return Google_Service_CloudMachineLearningEngine_GoogleLongrunningListOperationsResponse
+ */
+ public function listProjectsOperations($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudMachineLearningEngine_GoogleLongrunningListOperationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring.php
new file mode 100644
index 00000000..2e1560a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring.php
@@ -0,0 +1,243 @@
+<?php
+/*
+ * Copyright 2016 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 (v2beta2).
+ *
+ * <p>
+ * Accesses Google Cloud Monitoring data.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/monitoring/v2beta2/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudMonitoring extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View and write monitoring data for all of your Google and third-party Cloud and API projects. */
+ const MONITORING =
+ "https://www.googleapis.com/auth/monitoring";
+
+ public $metricDescriptors;
+ public $timeseries;
+ public $timeseriesDescriptors;
+
+ /**
+ * Constructs the internal representation of the CloudMonitoring service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'cloudmonitoring/v2beta2/projects/';
+ $this->version = 'v2beta2';
+ $this->serviceName = 'cloudmonitoring';
+
+ $this->metricDescriptors = new Google_Service_CloudMonitoring_Resource_MetricDescriptors(
+ $this,
+ $this->serviceName,
+ 'metricDescriptors',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => '{project}/metricDescriptors',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/metricDescriptors/{metric}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metric' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'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 Google_Service_CloudMonitoring_Resource_Timeseries(
+ $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,
+ ),
+ 'aggregator' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'oldest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timespan' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'window' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'write' => array(
+ 'path' => '{project}/timeseries:write',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->timeseriesDescriptors = new Google_Service_CloudMonitoring_Resource_TimeseriesDescriptors(
+ $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,
+ ),
+ 'aggregator' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'oldest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timespan' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'window' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/DeleteMetricDescriptorResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/DeleteMetricDescriptorResponse.php
new file mode 100644
index 00000000..4a7c777f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/DeleteMetricDescriptorResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_DeleteMetricDescriptorResponse extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListMetricDescriptorsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListMetricDescriptorsRequest.php
new file mode 100644
index 00000000..660d96a2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListMetricDescriptorsRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_ListMetricDescriptorsRequest extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListMetricDescriptorsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListMetricDescriptorsResponse.php
new file mode 100644
index 00000000..0265b2ee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListMetricDescriptorsResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_ListMetricDescriptorsResponse extends Google_Collection
+{
+ protected $collection_key = 'metrics';
+ public $kind;
+ protected $metricsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesDescriptorsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesDescriptorsRequest.php
new file mode 100644
index 00000000..df36f657
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesDescriptorsRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_ListTimeseriesDescriptorsRequest extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesDescriptorsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesDescriptorsResponse.php
new file mode 100644
index 00000000..3a7c26a3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesDescriptorsResponse.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse extends Google_Collection
+{
+ protected $collection_key = 'timeseries';
+ public $kind;
+ public $nextPageToken;
+ public $oldest;
+ protected $timeseriesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesRequest.php
new file mode 100644
index 00000000..1d6db5a3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_ListTimeseriesRequest extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesResponse.php
new file mode 100644
index 00000000..ad11b4d5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesResponse.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_ListTimeseriesResponse extends Google_Collection
+{
+ protected $collection_key = 'timeseries';
+ public $kind;
+ public $nextPageToken;
+ public $oldest;
+ protected $timeseriesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptor.php
new file mode 100644
index 00000000..b4d47467
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptor.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_MetricDescriptor extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ public $description;
+ protected $labelsType = 'Google_Service_CloudMonitoring_MetricDescriptorLabelDescriptor';
+ protected $labelsDataType = 'array';
+ public $name;
+ public $project;
+ protected $typeDescriptorType = '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(Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor $typeDescriptor)
+ {
+ $this->typeDescriptor = $typeDescriptor;
+ }
+ public function getTypeDescriptor()
+ {
+ return $this->typeDescriptor;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptorLabelDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptorLabelDescriptor.php
new file mode 100644
index 00000000..a480cc32
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptorLabelDescriptor.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_MetricDescriptorLabelDescriptor extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptorTypeDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptorTypeDescriptor.php
new file mode 100644
index 00000000..54fffce5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptorTypeDescriptor.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Point.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Point.php
new file mode 100644
index 00000000..28eb9305
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Point.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_Point extends Google_Model
+{
+ public $boolValue;
+ protected $distributionValueType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistribution.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistribution.php
new file mode 100644
index 00000000..7138dab0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistribution.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_PointDistribution extends Google_Collection
+{
+ protected $collection_key = 'buckets';
+ protected $bucketsType = 'Google_Service_CloudMonitoring_PointDistributionBucket';
+ protected $bucketsDataType = 'array';
+ protected $overflowBucketType = 'Google_Service_CloudMonitoring_PointDistributionOverflowBucket';
+ protected $overflowBucketDataType = '';
+ protected $underflowBucketType = 'Google_Service_CloudMonitoring_PointDistributionUnderflowBucket';
+ protected $underflowBucketDataType = '';
+
+ public function setBuckets($buckets)
+ {
+ $this->buckets = $buckets;
+ }
+ public function getBuckets()
+ {
+ return $this->buckets;
+ }
+ public function setOverflowBucket(Google_Service_CloudMonitoring_PointDistributionOverflowBucket $overflowBucket)
+ {
+ $this->overflowBucket = $overflowBucket;
+ }
+ public function getOverflowBucket()
+ {
+ return $this->overflowBucket;
+ }
+ public function setUnderflowBucket(Google_Service_CloudMonitoring_PointDistributionUnderflowBucket $underflowBucket)
+ {
+ $this->underflowBucket = $underflowBucket;
+ }
+ public function getUnderflowBucket()
+ {
+ return $this->underflowBucket;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionBucket.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionBucket.php
new file mode 100644
index 00000000..540148e3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionBucket.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_PointDistributionBucket extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionOverflowBucket.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionOverflowBucket.php
new file mode 100644
index 00000000..ec933786
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionOverflowBucket.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_PointDistributionOverflowBucket extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionUnderflowBucket.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionUnderflowBucket.php
new file mode 100644
index 00000000..dab82c7e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionUnderflowBucket.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_PointDistributionUnderflowBucket extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/MetricDescriptors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/MetricDescriptors.php
new file mode 100644
index 00000000..f4088a47
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/MetricDescriptors.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "metricDescriptors" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudmonitoringService = new Google_Service_CloudMonitoring(...);
+ * $metricDescriptors = $cloudmonitoringService->metricDescriptors;
+ * </code>
+ */
+class Google_Service_CloudMonitoring_Resource_MetricDescriptors extends Google_Service_Resource
+{
+ /**
+ * Create a new metric. (metricDescriptors.create)
+ *
+ * @param string $project The project id. The value can be the numeric project
+ * ID or string-based project name.
+ * @param Google_Service_CloudMonitoring_MetricDescriptor $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMonitoring_MetricDescriptor
+ */
+ public function create($project, Google_Service_CloudMonitoring_MetricDescriptor $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudMonitoring_MetricDescriptor");
+ }
+ /**
+ * Delete an existing metric. (metricDescriptors.delete)
+ *
+ * @param string $project The project ID to which the metric belongs.
+ * @param string $metric Name of the metric.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMonitoring_DeleteMetricDescriptorResponse
+ */
+ public function delete($project, $metric, $optParams = array())
+ {
+ $params = array('project' => $project, 'metric' => $metric);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudMonitoring_DeleteMetricDescriptorResponse");
+ }
+ /**
+ * 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 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), "Google_Service_CloudMonitoring_ListMetricDescriptorsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/Timeseries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/Timeseries.php
new file mode 100644
index 00000000..4a647349
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/Timeseries.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "timeseries" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudmonitoringService = new Google_Service_CloudMonitoring(...);
+ * $timeseries = $cloudmonitoringService->timeseries;
+ * </code>
+ */
+class Google_Service_CloudMonitoring_Resource_Timeseries extends 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 string aggregator The aggregation function that will reduce the
+ * data points in each window to a single point. This parameter is only valid
+ * for non-cumulative metrics with a value type of INT64 or DOUBLE.
+ * @opt_param int count Maximum number of data points per page, which is used
+ * for pagination of results.
+ * @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 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]
+ * @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 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 window The sampling window. At most one data point will be
+ * returned for each window in the requested time interval. This parameter is
+ * only valid for non-cumulative metric types. Units: - m: minute - h: hour -
+ * d: day - w: week Examples: 3m, 4w. Only one unit is allowed, for example:
+ * 2w3d is not allowed; you should use 17d instead.
+ * @return 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), "Google_Service_CloudMonitoring_ListTimeseriesResponse");
+ }
+ /**
+ * Put data points to one or more time series for one or more metrics. If a time
+ * series does not exist, a new time series will be created. It is not allowed
+ * to write a time series point that is older than the existing youngest point
+ * of that time series. Points that are older than the existing youngest point
+ * of that time series will be discarded silently. Therefore, users should make
+ * sure that points of a time series are written sequentially in the order of
+ * their end time. (timeseries.write)
+ *
+ * @param string $project The project ID. The value can be the numeric project
+ * ID or string-based project name.
+ * @param Google_Service_CloudMonitoring_WriteTimeseriesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudMonitoring_WriteTimeseriesResponse
+ */
+ public function write($project, Google_Service_CloudMonitoring_WriteTimeseriesRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('write', array($params), "Google_Service_CloudMonitoring_WriteTimeseriesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/TimeseriesDescriptors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/TimeseriesDescriptors.php
new file mode 100644
index 00000000..ff24d0a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/TimeseriesDescriptors.php
@@ -0,0 +1,83 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "timeseriesDescriptors" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudmonitoringService = new Google_Service_CloudMonitoring(...);
+ * $timeseriesDescriptors = $cloudmonitoringService->timeseriesDescriptors;
+ * </code>
+ */
+class Google_Service_CloudMonitoring_Resource_TimeseriesDescriptors extends 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 string aggregator The aggregation function that will reduce the
+ * data points in each window to a single point. This parameter is only valid
+ * for non-cumulative metrics with a value type of INT64 or DOUBLE.
+ * @opt_param int count Maximum number of time series descriptors per page. Used
+ * for pagination. If not specified, count = 100.
+ * @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 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]
+ * @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 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 window The sampling window. At most one data point will be
+ * returned for each window in the requested time interval. This parameter is
+ * only valid for non-cumulative metric types. Units: - m: minute - h: hour -
+ * d: day - w: week Examples: 3m, 4w. Only one unit is allowed, for example:
+ * 2w3d is not allowed; you should use 17d instead.
+ * @return 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), "Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Timeseries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Timeseries.php
new file mode 100644
index 00000000..ed77beb3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Timeseries.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_Timeseries extends Google_Collection
+{
+ protected $collection_key = 'points';
+ protected $pointsType = 'Google_Service_CloudMonitoring_Point';
+ protected $pointsDataType = 'array';
+ protected $timeseriesDescType = 'Google_Service_CloudMonitoring_TimeseriesDescriptor';
+ protected $timeseriesDescDataType = '';
+
+ public function setPoints($points)
+ {
+ $this->points = $points;
+ }
+ public function getPoints()
+ {
+ return $this->points;
+ }
+ public function setTimeseriesDesc(Google_Service_CloudMonitoring_TimeseriesDescriptor $timeseriesDesc)
+ {
+ $this->timeseriesDesc = $timeseriesDesc;
+ }
+ public function getTimeseriesDesc()
+ {
+ return $this->timeseriesDesc;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesDescriptor.php
new file mode 100644
index 00000000..b7de3d5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesDescriptor.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_TimeseriesDescriptor extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesDescriptorLabel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesDescriptorLabel.php
new file mode 100644
index 00000000..2c46fc25
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesDescriptorLabel.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_TimeseriesDescriptorLabel extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesPoint.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesPoint.php
new file mode 100644
index 00000000..b447a427
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesPoint.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_TimeseriesPoint extends Google_Model
+{
+ protected $pointType = 'Google_Service_CloudMonitoring_Point';
+ protected $pointDataType = '';
+ protected $timeseriesDescType = 'Google_Service_CloudMonitoring_TimeseriesDescriptor';
+ protected $timeseriesDescDataType = '';
+
+ public function setPoint(Google_Service_CloudMonitoring_Point $point)
+ {
+ $this->point = $point;
+ }
+ public function getPoint()
+ {
+ return $this->point;
+ }
+ public function setTimeseriesDesc(Google_Service_CloudMonitoring_TimeseriesDescriptor $timeseriesDesc)
+ {
+ $this->timeseriesDesc = $timeseriesDesc;
+ }
+ public function getTimeseriesDesc()
+ {
+ return $this->timeseriesDesc;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/WriteTimeseriesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/WriteTimeseriesRequest.php
new file mode 100644
index 00000000..18951de9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/WriteTimeseriesRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_WriteTimeseriesRequest extends Google_Collection
+{
+ protected $collection_key = 'timeseries';
+ public $commonLabels;
+ protected $timeseriesType = 'Google_Service_CloudMonitoring_TimeseriesPoint';
+ protected $timeseriesDataType = 'array';
+
+ public function setCommonLabels($commonLabels)
+ {
+ $this->commonLabels = $commonLabels;
+ }
+ public function getCommonLabels()
+ {
+ return $this->commonLabels;
+ }
+ public function setTimeseries($timeseries)
+ {
+ $this->timeseries = $timeseries;
+ }
+ public function getTimeseries()
+ {
+ return $this->timeseries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/WriteTimeseriesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/WriteTimeseriesResponse.php
new file mode 100644
index 00000000..4d24fd34
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/WriteTimeseriesResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudMonitoring_WriteTimeseriesResponse extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage.php
new file mode 100644
index 00000000..ac55a21b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage.php
@@ -0,0 +1,81 @@
+<?php
+/*
+ * Copyright 2016 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 CloudNaturalLanguage (v1).
+ *
+ * <p>
+ * Google Cloud Natural Language API provides natural language understanding
+ * technologies to developers. Examples include sentiment analysis, entity
+ * recognition, and text annotations.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/natural-language/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudNaturalLanguage extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $documents;
+
+ /**
+ * Constructs the internal representation of the CloudNaturalLanguage service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://language.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'language';
+
+ $this->documents = new Google_Service_CloudNaturalLanguage_Resource_Documents(
+ $this,
+ $this->serviceName,
+ 'documents',
+ array(
+ 'methods' => array(
+ 'analyzeEntities' => array(
+ 'path' => 'v1/documents:analyzeEntities',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'analyzeSentiment' => array(
+ 'path' => 'v1/documents:analyzeSentiment',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'analyzeSyntax' => array(
+ 'path' => 'v1/documents:analyzeSyntax',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'annotateText' => array(
+ 'path' => 'v1/documents:annotateText',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeEntitiesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeEntitiesRequest.php
new file mode 100644
index 00000000..6317ea54
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeEntitiesRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_AnalyzeEntitiesRequest extends Google_Model
+{
+ protected $documentType = 'Google_Service_CloudNaturalLanguage_Document';
+ protected $documentDataType = '';
+ public $encodingType;
+
+ public function setDocument(Google_Service_CloudNaturalLanguage_Document $document)
+ {
+ $this->document = $document;
+ }
+ public function getDocument()
+ {
+ return $this->document;
+ }
+ public function setEncodingType($encodingType)
+ {
+ $this->encodingType = $encodingType;
+ }
+ public function getEncodingType()
+ {
+ return $this->encodingType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeEntitiesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeEntitiesResponse.php
new file mode 100644
index 00000000..376f1db0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeEntitiesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_AnalyzeEntitiesResponse extends Google_Collection
+{
+ protected $collection_key = 'entities';
+ protected $entitiesType = 'Google_Service_CloudNaturalLanguage_Entity';
+ protected $entitiesDataType = 'array';
+ public $language;
+
+ public function setEntities($entities)
+ {
+ $this->entities = $entities;
+ }
+ public function getEntities()
+ {
+ return $this->entities;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSentimentRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSentimentRequest.php
new file mode 100644
index 00000000..3496cda1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSentimentRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_AnalyzeSentimentRequest extends Google_Model
+{
+ protected $documentType = 'Google_Service_CloudNaturalLanguage_Document';
+ protected $documentDataType = '';
+ public $encodingType;
+
+ public function setDocument(Google_Service_CloudNaturalLanguage_Document $document)
+ {
+ $this->document = $document;
+ }
+ public function getDocument()
+ {
+ return $this->document;
+ }
+ public function setEncodingType($encodingType)
+ {
+ $this->encodingType = $encodingType;
+ }
+ public function getEncodingType()
+ {
+ return $this->encodingType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSentimentResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSentimentResponse.php
new file mode 100644
index 00000000..b2b4cb09
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSentimentResponse.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_AnalyzeSentimentResponse extends Google_Collection
+{
+ protected $collection_key = 'sentences';
+ protected $documentSentimentType = 'Google_Service_CloudNaturalLanguage_Sentiment';
+ protected $documentSentimentDataType = '';
+ public $language;
+ protected $sentencesType = 'Google_Service_CloudNaturalLanguage_Sentence';
+ protected $sentencesDataType = 'array';
+
+ public function setDocumentSentiment(Google_Service_CloudNaturalLanguage_Sentiment $documentSentiment)
+ {
+ $this->documentSentiment = $documentSentiment;
+ }
+ public function getDocumentSentiment()
+ {
+ return $this->documentSentiment;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setSentences($sentences)
+ {
+ $this->sentences = $sentences;
+ }
+ public function getSentences()
+ {
+ return $this->sentences;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSyntaxRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSyntaxRequest.php
new file mode 100644
index 00000000..ca5a040f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSyntaxRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_AnalyzeSyntaxRequest extends Google_Model
+{
+ protected $documentType = 'Google_Service_CloudNaturalLanguage_Document';
+ protected $documentDataType = '';
+ public $encodingType;
+
+ public function setDocument(Google_Service_CloudNaturalLanguage_Document $document)
+ {
+ $this->document = $document;
+ }
+ public function getDocument()
+ {
+ return $this->document;
+ }
+ public function setEncodingType($encodingType)
+ {
+ $this->encodingType = $encodingType;
+ }
+ public function getEncodingType()
+ {
+ return $this->encodingType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSyntaxResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSyntaxResponse.php
new file mode 100644
index 00000000..d11d2afd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSyntaxResponse.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_AnalyzeSyntaxResponse extends Google_Collection
+{
+ protected $collection_key = 'tokens';
+ public $language;
+ protected $sentencesType = 'Google_Service_CloudNaturalLanguage_Sentence';
+ protected $sentencesDataType = 'array';
+ protected $tokensType = 'Google_Service_CloudNaturalLanguage_Token';
+ protected $tokensDataType = 'array';
+
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setSentences($sentences)
+ {
+ $this->sentences = $sentences;
+ }
+ public function getSentences()
+ {
+ return $this->sentences;
+ }
+ public function setTokens($tokens)
+ {
+ $this->tokens = $tokens;
+ }
+ public function getTokens()
+ {
+ return $this->tokens;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnnotateTextRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnnotateTextRequest.php
new file mode 100644
index 00000000..eb19a0cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnnotateTextRequest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_AnnotateTextRequest extends Google_Model
+{
+ protected $documentType = 'Google_Service_CloudNaturalLanguage_Document';
+ protected $documentDataType = '';
+ public $encodingType;
+ protected $featuresType = 'Google_Service_CloudNaturalLanguage_Features';
+ protected $featuresDataType = '';
+
+ public function setDocument(Google_Service_CloudNaturalLanguage_Document $document)
+ {
+ $this->document = $document;
+ }
+ public function getDocument()
+ {
+ return $this->document;
+ }
+ public function setEncodingType($encodingType)
+ {
+ $this->encodingType = $encodingType;
+ }
+ public function getEncodingType()
+ {
+ return $this->encodingType;
+ }
+ public function setFeatures(Google_Service_CloudNaturalLanguage_Features $features)
+ {
+ $this->features = $features;
+ }
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnnotateTextResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnnotateTextResponse.php
new file mode 100644
index 00000000..cc64170f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnnotateTextResponse.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_AnnotateTextResponse extends Google_Collection
+{
+ protected $collection_key = 'tokens';
+ protected $documentSentimentType = 'Google_Service_CloudNaturalLanguage_Sentiment';
+ protected $documentSentimentDataType = '';
+ protected $entitiesType = 'Google_Service_CloudNaturalLanguage_Entity';
+ protected $entitiesDataType = 'array';
+ public $language;
+ protected $sentencesType = 'Google_Service_CloudNaturalLanguage_Sentence';
+ protected $sentencesDataType = 'array';
+ protected $tokensType = 'Google_Service_CloudNaturalLanguage_Token';
+ protected $tokensDataType = 'array';
+
+ public function setDocumentSentiment(Google_Service_CloudNaturalLanguage_Sentiment $documentSentiment)
+ {
+ $this->documentSentiment = $documentSentiment;
+ }
+ public function getDocumentSentiment()
+ {
+ return $this->documentSentiment;
+ }
+ public function setEntities($entities)
+ {
+ $this->entities = $entities;
+ }
+ public function getEntities()
+ {
+ return $this->entities;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setSentences($sentences)
+ {
+ $this->sentences = $sentences;
+ }
+ public function getSentences()
+ {
+ return $this->sentences;
+ }
+ public function setTokens($tokens)
+ {
+ $this->tokens = $tokens;
+ }
+ public function getTokens()
+ {
+ return $this->tokens;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/DependencyEdge.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/DependencyEdge.php
new file mode 100644
index 00000000..017a344d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/DependencyEdge.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_DependencyEdge extends Google_Model
+{
+ public $headTokenIndex;
+ public $label;
+
+ public function setHeadTokenIndex($headTokenIndex)
+ {
+ $this->headTokenIndex = $headTokenIndex;
+ }
+ public function getHeadTokenIndex()
+ {
+ return $this->headTokenIndex;
+ }
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Document.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Document.php
new file mode 100644
index 00000000..327a84f7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Document.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_Document extends Google_Model
+{
+ public $content;
+ public $gcsContentUri;
+ public $language;
+ public $type;
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setGcsContentUri($gcsContentUri)
+ {
+ $this->gcsContentUri = $gcsContentUri;
+ }
+ public function getGcsContentUri()
+ {
+ return $this->gcsContentUri;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Entity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Entity.php
new file mode 100644
index 00000000..b855e87a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Entity.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_Entity extends Google_Collection
+{
+ protected $collection_key = 'mentions';
+ protected $mentionsType = 'Google_Service_CloudNaturalLanguage_EntityMention';
+ protected $mentionsDataType = 'array';
+ public $metadata;
+ public $name;
+ public $salience;
+ public $type;
+
+ public function setMentions($mentions)
+ {
+ $this->mentions = $mentions;
+ }
+ public function getMentions()
+ {
+ return $this->mentions;
+ }
+ public function setMetadata($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 setSalience($salience)
+ {
+ $this->salience = $salience;
+ }
+ public function getSalience()
+ {
+ return $this->salience;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/EntityMention.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/EntityMention.php
new file mode 100644
index 00000000..3675f328
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/EntityMention.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_EntityMention extends Google_Model
+{
+ protected $textType = 'Google_Service_CloudNaturalLanguage_TextSpan';
+ protected $textDataType = '';
+ public $type;
+
+ public function setText(Google_Service_CloudNaturalLanguage_TextSpan $text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Features.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Features.php
new file mode 100644
index 00000000..1d2e977d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Features.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_Features extends Google_Model
+{
+ public $extractDocumentSentiment;
+ public $extractEntities;
+ public $extractSyntax;
+
+ public function setExtractDocumentSentiment($extractDocumentSentiment)
+ {
+ $this->extractDocumentSentiment = $extractDocumentSentiment;
+ }
+ public function getExtractDocumentSentiment()
+ {
+ return $this->extractDocumentSentiment;
+ }
+ public function setExtractEntities($extractEntities)
+ {
+ $this->extractEntities = $extractEntities;
+ }
+ public function getExtractEntities()
+ {
+ return $this->extractEntities;
+ }
+ public function setExtractSyntax($extractSyntax)
+ {
+ $this->extractSyntax = $extractSyntax;
+ }
+ public function getExtractSyntax()
+ {
+ return $this->extractSyntax;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/PartOfSpeech.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/PartOfSpeech.php
new file mode 100644
index 00000000..81123c08
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/PartOfSpeech.php
@@ -0,0 +1,129 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_PartOfSpeech extends Google_Model
+{
+ public $aspect;
+ public $case;
+ public $form;
+ public $gender;
+ public $mood;
+ public $number;
+ public $person;
+ public $proper;
+ public $reciprocity;
+ public $tag;
+ public $tense;
+ public $voice;
+
+ public function setAspect($aspect)
+ {
+ $this->aspect = $aspect;
+ }
+ public function getAspect()
+ {
+ return $this->aspect;
+ }
+ public function setCase($case)
+ {
+ $this->case = $case;
+ }
+ public function getCase()
+ {
+ return $this->case;
+ }
+ public function setForm($form)
+ {
+ $this->form = $form;
+ }
+ public function getForm()
+ {
+ return $this->form;
+ }
+ public function setGender($gender)
+ {
+ $this->gender = $gender;
+ }
+ public function getGender()
+ {
+ return $this->gender;
+ }
+ public function setMood($mood)
+ {
+ $this->mood = $mood;
+ }
+ public function getMood()
+ {
+ return $this->mood;
+ }
+ public function setNumber($number)
+ {
+ $this->number = $number;
+ }
+ public function getNumber()
+ {
+ return $this->number;
+ }
+ public function setPerson($person)
+ {
+ $this->person = $person;
+ }
+ public function getPerson()
+ {
+ return $this->person;
+ }
+ public function setProper($proper)
+ {
+ $this->proper = $proper;
+ }
+ public function getProper()
+ {
+ return $this->proper;
+ }
+ public function setReciprocity($reciprocity)
+ {
+ $this->reciprocity = $reciprocity;
+ }
+ public function getReciprocity()
+ {
+ return $this->reciprocity;
+ }
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+ public function setTense($tense)
+ {
+ $this->tense = $tense;
+ }
+ public function getTense()
+ {
+ return $this->tense;
+ }
+ public function setVoice($voice)
+ {
+ $this->voice = $voice;
+ }
+ public function getVoice()
+ {
+ return $this->voice;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Resource/Documents.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Resource/Documents.php
new file mode 100644
index 00000000..3c051a0c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Resource/Documents.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "documents" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $languageService = new Google_Service_CloudNaturalLanguage(...);
+ * $documents = $languageService->documents;
+ * </code>
+ */
+class Google_Service_CloudNaturalLanguage_Resource_Documents extends Google_Service_Resource
+{
+ /**
+ * Finds named entities (currently finds proper names) in the text, entity
+ * types, salience, mentions for each entity, and other properties.
+ * (documents.analyzeEntities)
+ *
+ * @param Google_Service_CloudNaturalLanguage_AnalyzeEntitiesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudNaturalLanguage_AnalyzeEntitiesResponse
+ */
+ public function analyzeEntities(Google_Service_CloudNaturalLanguage_AnalyzeEntitiesRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('analyzeEntities', array($params), "Google_Service_CloudNaturalLanguage_AnalyzeEntitiesResponse");
+ }
+ /**
+ * Analyzes the sentiment of the provided text. (documents.analyzeSentiment)
+ *
+ * @param Google_Service_CloudNaturalLanguage_AnalyzeSentimentRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudNaturalLanguage_AnalyzeSentimentResponse
+ */
+ public function analyzeSentiment(Google_Service_CloudNaturalLanguage_AnalyzeSentimentRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('analyzeSentiment', array($params), "Google_Service_CloudNaturalLanguage_AnalyzeSentimentResponse");
+ }
+ /**
+ * Analyzes the syntax of the text and provides sentence boundaries and
+ * tokenization along with part of speech tags, dependency trees, and other
+ * properties. (documents.analyzeSyntax)
+ *
+ * @param Google_Service_CloudNaturalLanguage_AnalyzeSyntaxRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudNaturalLanguage_AnalyzeSyntaxResponse
+ */
+ public function analyzeSyntax(Google_Service_CloudNaturalLanguage_AnalyzeSyntaxRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('analyzeSyntax', array($params), "Google_Service_CloudNaturalLanguage_AnalyzeSyntaxResponse");
+ }
+ /**
+ * A convenience method that provides all the features that analyzeSentiment,
+ * analyzeEntities, and analyzeSyntax provide in one call.
+ * (documents.annotateText)
+ *
+ * @param Google_Service_CloudNaturalLanguage_AnnotateTextRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudNaturalLanguage_AnnotateTextResponse
+ */
+ public function annotateText(Google_Service_CloudNaturalLanguage_AnnotateTextRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('annotateText', array($params), "Google_Service_CloudNaturalLanguage_AnnotateTextResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Sentence.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Sentence.php
new file mode 100644
index 00000000..e02ad371
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Sentence.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_Sentence extends Google_Model
+{
+ protected $sentimentType = 'Google_Service_CloudNaturalLanguage_Sentiment';
+ protected $sentimentDataType = '';
+ protected $textType = 'Google_Service_CloudNaturalLanguage_TextSpan';
+ protected $textDataType = '';
+
+ public function setSentiment(Google_Service_CloudNaturalLanguage_Sentiment $sentiment)
+ {
+ $this->sentiment = $sentiment;
+ }
+ public function getSentiment()
+ {
+ return $this->sentiment;
+ }
+ public function setText(Google_Service_CloudNaturalLanguage_TextSpan $text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Sentiment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Sentiment.php
new file mode 100644
index 00000000..ec64f7e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Sentiment.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_Sentiment extends Google_Model
+{
+ public $magnitude;
+ public $score;
+
+ public function setMagnitude($magnitude)
+ {
+ $this->magnitude = $magnitude;
+ }
+ public function getMagnitude()
+ {
+ return $this->magnitude;
+ }
+ public function setScore($score)
+ {
+ $this->score = $score;
+ }
+ public function getScore()
+ {
+ return $this->score;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Status.php
new file mode 100644
index 00000000..4e8a91c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/TextSpan.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/TextSpan.php
new file mode 100644
index 00000000..5ea23c55
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/TextSpan.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_TextSpan extends Google_Model
+{
+ public $beginOffset;
+ public $content;
+
+ public function setBeginOffset($beginOffset)
+ {
+ $this->beginOffset = $beginOffset;
+ }
+ public function getBeginOffset()
+ {
+ return $this->beginOffset;
+ }
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Token.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Token.php
new file mode 100644
index 00000000..7e38024d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Token.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguage_Token extends Google_Model
+{
+ protected $dependencyEdgeType = 'Google_Service_CloudNaturalLanguage_DependencyEdge';
+ protected $dependencyEdgeDataType = '';
+ public $lemma;
+ protected $partOfSpeechType = 'Google_Service_CloudNaturalLanguage_PartOfSpeech';
+ protected $partOfSpeechDataType = '';
+ protected $textType = 'Google_Service_CloudNaturalLanguage_TextSpan';
+ protected $textDataType = '';
+
+ public function setDependencyEdge(Google_Service_CloudNaturalLanguage_DependencyEdge $dependencyEdge)
+ {
+ $this->dependencyEdge = $dependencyEdge;
+ }
+ public function getDependencyEdge()
+ {
+ return $this->dependencyEdge;
+ }
+ public function setLemma($lemma)
+ {
+ $this->lemma = $lemma;
+ }
+ public function getLemma()
+ {
+ return $this->lemma;
+ }
+ public function setPartOfSpeech(Google_Service_CloudNaturalLanguage_PartOfSpeech $partOfSpeech)
+ {
+ $this->partOfSpeech = $partOfSpeech;
+ }
+ public function getPartOfSpeech()
+ {
+ return $this->partOfSpeech;
+ }
+ public function setText(Google_Service_CloudNaturalLanguage_TextSpan $text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI.php
new file mode 100644
index 00000000..a1d10e14
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 CloudNaturalLanguageAPI (v1beta1).
+ *
+ * <p>
+ * Google Cloud Natural Language API provides natural language understanding
+ * technologies to developers. Examples include sentiment analysis, entity
+ * recognition, and text annotations.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/natural-language/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudNaturalLanguageAPI extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $documents;
+
+ /**
+ * Constructs the internal representation of the CloudNaturalLanguageAPI
+ * service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://language.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1beta1';
+ $this->serviceName = 'language';
+
+ $this->documents = new Google_Service_CloudNaturalLanguageAPI_Resource_Documents(
+ $this,
+ $this->serviceName,
+ 'documents',
+ array(
+ 'methods' => array(
+ 'analyzeEntities' => array(
+ 'path' => 'v1beta1/documents:analyzeEntities',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'analyzeSentiment' => array(
+ 'path' => 'v1beta1/documents:analyzeSentiment',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'annotateText' => array(
+ 'path' => 'v1beta1/documents:annotateText',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeEntitiesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeEntitiesRequest.php
new file mode 100644
index 00000000..4a018366
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeEntitiesRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_AnalyzeEntitiesRequest extends Google_Model
+{
+ protected $documentType = 'Google_Service_CloudNaturalLanguageAPI_Document';
+ protected $documentDataType = '';
+ public $encodingType;
+
+ public function setDocument(Google_Service_CloudNaturalLanguageAPI_Document $document)
+ {
+ $this->document = $document;
+ }
+ public function getDocument()
+ {
+ return $this->document;
+ }
+ public function setEncodingType($encodingType)
+ {
+ $this->encodingType = $encodingType;
+ }
+ public function getEncodingType()
+ {
+ return $this->encodingType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeEntitiesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeEntitiesResponse.php
new file mode 100644
index 00000000..545954f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeEntitiesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_AnalyzeEntitiesResponse extends Google_Collection
+{
+ protected $collection_key = 'entities';
+ protected $entitiesType = 'Google_Service_CloudNaturalLanguageAPI_Entity';
+ protected $entitiesDataType = 'array';
+ public $language;
+
+ public function setEntities($entities)
+ {
+ $this->entities = $entities;
+ }
+ public function getEntities()
+ {
+ return $this->entities;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeSentimentRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeSentimentRequest.php
new file mode 100644
index 00000000..f404a604
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeSentimentRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_AnalyzeSentimentRequest extends Google_Model
+{
+ protected $documentType = 'Google_Service_CloudNaturalLanguageAPI_Document';
+ protected $documentDataType = '';
+
+ public function setDocument(Google_Service_CloudNaturalLanguageAPI_Document $document)
+ {
+ $this->document = $document;
+ }
+ public function getDocument()
+ {
+ return $this->document;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeSentimentResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeSentimentResponse.php
new file mode 100644
index 00000000..a3baa1b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeSentimentResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_AnalyzeSentimentResponse extends Google_Model
+{
+ protected $documentSentimentType = 'Google_Service_CloudNaturalLanguageAPI_Sentiment';
+ protected $documentSentimentDataType = '';
+ public $language;
+
+ public function setDocumentSentiment(Google_Service_CloudNaturalLanguageAPI_Sentiment $documentSentiment)
+ {
+ $this->documentSentiment = $documentSentiment;
+ }
+ public function getDocumentSentiment()
+ {
+ return $this->documentSentiment;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnnotateTextRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnnotateTextRequest.php
new file mode 100644
index 00000000..cc3e90ad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnnotateTextRequest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_AnnotateTextRequest extends Google_Model
+{
+ protected $documentType = 'Google_Service_CloudNaturalLanguageAPI_Document';
+ protected $documentDataType = '';
+ public $encodingType;
+ protected $featuresType = 'Google_Service_CloudNaturalLanguageAPI_Features';
+ protected $featuresDataType = '';
+
+ public function setDocument(Google_Service_CloudNaturalLanguageAPI_Document $document)
+ {
+ $this->document = $document;
+ }
+ public function getDocument()
+ {
+ return $this->document;
+ }
+ public function setEncodingType($encodingType)
+ {
+ $this->encodingType = $encodingType;
+ }
+ public function getEncodingType()
+ {
+ return $this->encodingType;
+ }
+ public function setFeatures(Google_Service_CloudNaturalLanguageAPI_Features $features)
+ {
+ $this->features = $features;
+ }
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnnotateTextResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnnotateTextResponse.php
new file mode 100644
index 00000000..4efb2962
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnnotateTextResponse.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_AnnotateTextResponse extends Google_Collection
+{
+ protected $collection_key = 'tokens';
+ protected $documentSentimentType = 'Google_Service_CloudNaturalLanguageAPI_Sentiment';
+ protected $documentSentimentDataType = '';
+ protected $entitiesType = 'Google_Service_CloudNaturalLanguageAPI_Entity';
+ protected $entitiesDataType = 'array';
+ public $language;
+ protected $sentencesType = 'Google_Service_CloudNaturalLanguageAPI_Sentence';
+ protected $sentencesDataType = 'array';
+ protected $tokensType = 'Google_Service_CloudNaturalLanguageAPI_Token';
+ protected $tokensDataType = 'array';
+
+ public function setDocumentSentiment(Google_Service_CloudNaturalLanguageAPI_Sentiment $documentSentiment)
+ {
+ $this->documentSentiment = $documentSentiment;
+ }
+ public function getDocumentSentiment()
+ {
+ return $this->documentSentiment;
+ }
+ public function setEntities($entities)
+ {
+ $this->entities = $entities;
+ }
+ public function getEntities()
+ {
+ return $this->entities;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setSentences($sentences)
+ {
+ $this->sentences = $sentences;
+ }
+ public function getSentences()
+ {
+ return $this->sentences;
+ }
+ public function setTokens($tokens)
+ {
+ $this->tokens = $tokens;
+ }
+ public function getTokens()
+ {
+ return $this->tokens;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/DependencyEdge.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/DependencyEdge.php
new file mode 100644
index 00000000..bb243a0d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/DependencyEdge.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_DependencyEdge extends Google_Model
+{
+ public $headTokenIndex;
+ public $label;
+
+ public function setHeadTokenIndex($headTokenIndex)
+ {
+ $this->headTokenIndex = $headTokenIndex;
+ }
+ public function getHeadTokenIndex()
+ {
+ return $this->headTokenIndex;
+ }
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Document.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Document.php
new file mode 100644
index 00000000..e4039aee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Document.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_Document extends Google_Model
+{
+ public $content;
+ public $gcsContentUri;
+ public $language;
+ public $type;
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setGcsContentUri($gcsContentUri)
+ {
+ $this->gcsContentUri = $gcsContentUri;
+ }
+ public function getGcsContentUri()
+ {
+ return $this->gcsContentUri;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Entity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Entity.php
new file mode 100644
index 00000000..2579c08f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Entity.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_Entity extends Google_Collection
+{
+ protected $collection_key = 'mentions';
+ protected $mentionsType = 'Google_Service_CloudNaturalLanguageAPI_EntityMention';
+ protected $mentionsDataType = 'array';
+ public $metadata;
+ public $name;
+ public $salience;
+ public $type;
+
+ public function setMentions($mentions)
+ {
+ $this->mentions = $mentions;
+ }
+ public function getMentions()
+ {
+ return $this->mentions;
+ }
+ public function setMetadata($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 setSalience($salience)
+ {
+ $this->salience = $salience;
+ }
+ public function getSalience()
+ {
+ return $this->salience;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/EntityMention.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/EntityMention.php
new file mode 100644
index 00000000..e01f0cde
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/EntityMention.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_EntityMention extends Google_Model
+{
+ protected $textType = 'Google_Service_CloudNaturalLanguageAPI_TextSpan';
+ protected $textDataType = '';
+
+ public function setText(Google_Service_CloudNaturalLanguageAPI_TextSpan $text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Features.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Features.php
new file mode 100644
index 00000000..ab0a7cbb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Features.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_Features extends Google_Model
+{
+ public $extractDocumentSentiment;
+ public $extractEntities;
+ public $extractSyntax;
+
+ public function setExtractDocumentSentiment($extractDocumentSentiment)
+ {
+ $this->extractDocumentSentiment = $extractDocumentSentiment;
+ }
+ public function getExtractDocumentSentiment()
+ {
+ return $this->extractDocumentSentiment;
+ }
+ public function setExtractEntities($extractEntities)
+ {
+ $this->extractEntities = $extractEntities;
+ }
+ public function getExtractEntities()
+ {
+ return $this->extractEntities;
+ }
+ public function setExtractSyntax($extractSyntax)
+ {
+ $this->extractSyntax = $extractSyntax;
+ }
+ public function getExtractSyntax()
+ {
+ return $this->extractSyntax;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/PartOfSpeech.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/PartOfSpeech.php
new file mode 100644
index 00000000..e2593898
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/PartOfSpeech.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_PartOfSpeech extends Google_Model
+{
+ public $tag;
+
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Resource/Documents.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Resource/Documents.php
new file mode 100644
index 00000000..ff2470c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Resource/Documents.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "documents" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $languageService = new Google_Service_CloudNaturalLanguageAPI(...);
+ * $documents = $languageService->documents;
+ * </code>
+ */
+class Google_Service_CloudNaturalLanguageAPI_Resource_Documents extends Google_Service_Resource
+{
+ /**
+ * Finds named entities (currently finds proper names) in the text, entity
+ * types, salience, mentions for each entity, and other properties.
+ * (documents.analyzeEntities)
+ *
+ * @param Google_Service_CloudNaturalLanguageAPI_AnalyzeEntitiesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudNaturalLanguageAPI_AnalyzeEntitiesResponse
+ */
+ public function analyzeEntities(Google_Service_CloudNaturalLanguageAPI_AnalyzeEntitiesRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('analyzeEntities', array($params), "Google_Service_CloudNaturalLanguageAPI_AnalyzeEntitiesResponse");
+ }
+ /**
+ * Analyzes the sentiment of the provided text. (documents.analyzeSentiment)
+ *
+ * @param Google_Service_CloudNaturalLanguageAPI_AnalyzeSentimentRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudNaturalLanguageAPI_AnalyzeSentimentResponse
+ */
+ public function analyzeSentiment(Google_Service_CloudNaturalLanguageAPI_AnalyzeSentimentRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('analyzeSentiment', array($params), "Google_Service_CloudNaturalLanguageAPI_AnalyzeSentimentResponse");
+ }
+ /**
+ * A convenience method that provides all the features that analyzeSentiment,
+ * analyzeEntities, and analyzeSyntax provide in one call.
+ * (documents.annotateText)
+ *
+ * @param Google_Service_CloudNaturalLanguageAPI_AnnotateTextRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudNaturalLanguageAPI_AnnotateTextResponse
+ */
+ public function annotateText(Google_Service_CloudNaturalLanguageAPI_AnnotateTextRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('annotateText', array($params), "Google_Service_CloudNaturalLanguageAPI_AnnotateTextResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Sentence.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Sentence.php
new file mode 100644
index 00000000..20d45c41
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Sentence.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_Sentence extends Google_Model
+{
+ protected $textType = 'Google_Service_CloudNaturalLanguageAPI_TextSpan';
+ protected $textDataType = '';
+
+ public function setText(Google_Service_CloudNaturalLanguageAPI_TextSpan $text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Sentiment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Sentiment.php
new file mode 100644
index 00000000..2e189c6e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Sentiment.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_Sentiment extends Google_Model
+{
+ public $magnitude;
+ public $polarity;
+
+ public function setMagnitude($magnitude)
+ {
+ $this->magnitude = $magnitude;
+ }
+ public function getMagnitude()
+ {
+ return $this->magnitude;
+ }
+ public function setPolarity($polarity)
+ {
+ $this->polarity = $polarity;
+ }
+ public function getPolarity()
+ {
+ return $this->polarity;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Status.php
new file mode 100644
index 00000000..6d4b0942
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/TextSpan.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/TextSpan.php
new file mode 100644
index 00000000..560aaa78
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/TextSpan.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_TextSpan extends Google_Model
+{
+ public $beginOffset;
+ public $content;
+
+ public function setBeginOffset($beginOffset)
+ {
+ $this->beginOffset = $beginOffset;
+ }
+ public function getBeginOffset()
+ {
+ return $this->beginOffset;
+ }
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Token.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Token.php
new file mode 100644
index 00000000..15b33b41
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Token.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudNaturalLanguageAPI_Token extends Google_Model
+{
+ protected $dependencyEdgeType = 'Google_Service_CloudNaturalLanguageAPI_DependencyEdge';
+ protected $dependencyEdgeDataType = '';
+ public $lemma;
+ protected $partOfSpeechType = 'Google_Service_CloudNaturalLanguageAPI_PartOfSpeech';
+ protected $partOfSpeechDataType = '';
+ protected $textType = 'Google_Service_CloudNaturalLanguageAPI_TextSpan';
+ protected $textDataType = '';
+
+ public function setDependencyEdge(Google_Service_CloudNaturalLanguageAPI_DependencyEdge $dependencyEdge)
+ {
+ $this->dependencyEdge = $dependencyEdge;
+ }
+ public function getDependencyEdge()
+ {
+ return $this->dependencyEdge;
+ }
+ public function setLemma($lemma)
+ {
+ $this->lemma = $lemma;
+ }
+ public function getLemma()
+ {
+ return $this->lemma;
+ }
+ public function setPartOfSpeech(Google_Service_CloudNaturalLanguageAPI_PartOfSpeech $partOfSpeech)
+ {
+ $this->partOfSpeech = $partOfSpeech;
+ }
+ public function getPartOfSpeech()
+ {
+ return $this->partOfSpeech;
+ }
+ public function setText(Google_Service_CloudNaturalLanguageAPI_TextSpan $text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager.php
new file mode 100644
index 00000000..1f5d220f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager.php
@@ -0,0 +1,286 @@
+<?php
+/*
+ * Copyright 2016 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 CloudResourceManager (v1).
+ *
+ * <p>
+ * The Google Cloud Resource Manager API provides methods for creating, reading,
+ * and updating project metadata.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/resource-manager" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudResourceManager extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM_READ_ONLY =
+ "https://www.googleapis.com/auth/cloud-platform.read-only";
+
+ public $liens;
+ public $operations;
+ public $organizations;
+ public $projects;
+
+ /**
+ * Constructs the internal representation of the CloudResourceManager service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://cloudresourcemanager.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'cloudresourcemanager';
+
+ $this->liens = new Google_Service_CloudResourceManager_Resource_Liens(
+ $this,
+ $this->serviceName,
+ 'liens',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/liens',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/liens',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->operations = new Google_Service_CloudResourceManager_Resource_Operations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->organizations = new Google_Service_CloudResourceManager_Resource_Organizations(
+ $this,
+ $this->serviceName,
+ 'organizations',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => 'v1/{+resource}:getIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'v1/organizations:search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'setIamPolicy' => array(
+ 'path' => 'v1/{+resource}:setIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => 'v1/{+resource}:testIamPermissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects = new Google_Service_CloudResourceManager_Resource_Projects(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/projects',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'v1/projects/{projectId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/projects/{projectId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getAncestry' => array(
+ 'path' => 'v1/projects/{projectId}:getAncestry',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => 'v1/projects/{resource}:getIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/projects',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => 'v1/projects/{resource}:setIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => 'v1/projects/{resource}:testIamPermissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'undelete' => array(
+ 'path' => 'v1/projects/{projectId}:undelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v1/projects/{projectId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Ancestor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Ancestor.php
new file mode 100644
index 00000000..044d2ba5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Ancestor.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_Ancestor extends Google_Model
+{
+ protected $resourceIdType = 'Google_Service_CloudResourceManager_ResourceId';
+ protected $resourceIdDataType = '';
+
+ public function setResourceId(Google_Service_CloudResourceManager_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/AuditConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/AuditConfig.php
new file mode 100644
index 00000000..8e55adbb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/AuditConfig.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_AuditConfig extends Google_Collection
+{
+ protected $collection_key = 'auditLogConfigs';
+ protected $auditLogConfigsType = 'Google_Service_CloudResourceManager_AuditLogConfig';
+ protected $auditLogConfigsDataType = 'array';
+ public $service;
+
+ public function setAuditLogConfigs($auditLogConfigs)
+ {
+ $this->auditLogConfigs = $auditLogConfigs;
+ }
+ public function getAuditLogConfigs()
+ {
+ return $this->auditLogConfigs;
+ }
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+ public function getService()
+ {
+ return $this->service;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/AuditLogConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/AuditLogConfig.php
new file mode 100644
index 00000000..9bd433bd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/AuditLogConfig.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_AuditLogConfig extends Google_Collection
+{
+ protected $collection_key = 'exemptedMembers';
+ public $exemptedMembers;
+ public $logType;
+
+ public function setExemptedMembers($exemptedMembers)
+ {
+ $this->exemptedMembers = $exemptedMembers;
+ }
+ public function getExemptedMembers()
+ {
+ return $this->exemptedMembers;
+ }
+ public function setLogType($logType)
+ {
+ $this->logType = $logType;
+ }
+ public function getLogType()
+ {
+ return $this->logType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Binding.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Binding.php
new file mode 100644
index 00000000..e08ea655
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Binding.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_Binding extends Google_Collection
+{
+ protected $collection_key = 'members';
+ public $members;
+ public $role;
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/CloudresourcemanagerEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/CloudresourcemanagerEmpty.php
new file mode 100644
index 00000000..f4bb9538
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/CloudresourcemanagerEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_CloudresourcemanagerEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/FolderOperation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/FolderOperation.php
new file mode 100644
index 00000000..f8fab451
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/FolderOperation.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_FolderOperation extends Google_Model
+{
+ public $destinationParent;
+ public $displayName;
+ public $operationType;
+ public $sourceParent;
+
+ public function setDestinationParent($destinationParent)
+ {
+ $this->destinationParent = $destinationParent;
+ }
+ public function getDestinationParent()
+ {
+ return $this->destinationParent;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+ public function setSourceParent($sourceParent)
+ {
+ $this->sourceParent = $sourceParent;
+ }
+ public function getSourceParent()
+ {
+ return $this->sourceParent;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/FolderOperationError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/FolderOperationError.php
new file mode 100644
index 00000000..2a1c994d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/FolderOperationError.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_FolderOperationError extends Google_Model
+{
+ public $errorMessageId;
+
+ public function setErrorMessageId($errorMessageId)
+ {
+ $this->errorMessageId = $errorMessageId;
+ }
+ public function getErrorMessageId()
+ {
+ return $this->errorMessageId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetAncestryRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetAncestryRequest.php
new file mode 100644
index 00000000..ab9ddd03
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetAncestryRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_GetAncestryRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetAncestryResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetAncestryResponse.php
new file mode 100644
index 00000000..eca47476
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetAncestryResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_GetAncestryResponse extends Google_Collection
+{
+ protected $collection_key = 'ancestor';
+ protected $ancestorType = 'Google_Service_CloudResourceManager_Ancestor';
+ protected $ancestorDataType = 'array';
+
+ public function setAncestor($ancestor)
+ {
+ $this->ancestor = $ancestor;
+ }
+ public function getAncestor()
+ {
+ return $this->ancestor;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetIamPolicyRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetIamPolicyRequest.php
new file mode 100644
index 00000000..2157401c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetIamPolicyRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_GetIamPolicyRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Lien.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Lien.php
new file mode 100644
index 00000000..536c6510
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Lien.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_Lien extends Google_Collection
+{
+ protected $collection_key = 'restrictions';
+ public $createTime;
+ public $name;
+ public $origin;
+ public $parent;
+ public $reason;
+ public $restrictions;
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOrigin($origin)
+ {
+ $this->origin = $origin;
+ }
+ public function getOrigin()
+ {
+ return $this->origin;
+ }
+ public function setParent($parent)
+ {
+ $this->parent = $parent;
+ }
+ public function getParent()
+ {
+ return $this->parent;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+ public function setRestrictions($restrictions)
+ {
+ $this->restrictions = $restrictions;
+ }
+ public function getRestrictions()
+ {
+ return $this->restrictions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ListLiensResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ListLiensResponse.php
new file mode 100644
index 00000000..93c61cf1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ListLiensResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_ListLiensResponse extends Google_Collection
+{
+ protected $collection_key = 'liens';
+ protected $liensType = 'Google_Service_CloudResourceManager_Lien';
+ protected $liensDataType = 'array';
+ public $nextPageToken;
+
+ public function setLiens($liens)
+ {
+ $this->liens = $liens;
+ }
+ public function getLiens()
+ {
+ return $this->liens;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ListProjectsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ListProjectsResponse.php
new file mode 100644
index 00000000..571f22b2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ListProjectsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_ListProjectsResponse extends Google_Collection
+{
+ protected $collection_key = 'projects';
+ public $nextPageToken;
+ protected $projectsType = 'Google_Service_CloudResourceManager_Project';
+ protected $projectsDataType = 'array';
+
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Operation.php
new file mode 100644
index 00000000..c86ec471
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Operation.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_Operation extends Google_Model
+{
+ public $done;
+ protected $errorType = 'Google_Service_CloudResourceManager_Status';
+ protected $errorDataType = '';
+ public $metadata;
+ public $name;
+ public $response;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_CloudResourceManager_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setMetadata($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 setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Organization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Organization.php
new file mode 100644
index 00000000..b78fc265
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Organization.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_Organization extends Google_Model
+{
+ public $creationTime;
+ public $displayName;
+ public $lifecycleState;
+ public $name;
+ protected $ownerType = 'Google_Service_CloudResourceManager_OrganizationOwner';
+ protected $ownerDataType = '';
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setLifecycleState($lifecycleState)
+ {
+ $this->lifecycleState = $lifecycleState;
+ }
+ public function getLifecycleState()
+ {
+ return $this->lifecycleState;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOwner(Google_Service_CloudResourceManager_OrganizationOwner $owner)
+ {
+ $this->owner = $owner;
+ }
+ public function getOwner()
+ {
+ return $this->owner;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/OrganizationOwner.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/OrganizationOwner.php
new file mode 100644
index 00000000..45896675
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/OrganizationOwner.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_OrganizationOwner extends Google_Model
+{
+ public $directoryCustomerId;
+
+ public function setDirectoryCustomerId($directoryCustomerId)
+ {
+ $this->directoryCustomerId = $directoryCustomerId;
+ }
+ public function getDirectoryCustomerId()
+ {
+ return $this->directoryCustomerId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Policy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Policy.php
new file mode 100644
index 00000000..bf55c2fc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Policy.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_Policy extends Google_Collection
+{
+ protected $collection_key = 'bindings';
+ protected $auditConfigsType = 'Google_Service_CloudResourceManager_AuditConfig';
+ protected $auditConfigsDataType = 'array';
+ protected $bindingsType = 'Google_Service_CloudResourceManager_Binding';
+ protected $bindingsDataType = 'array';
+ public $etag;
+ public $version;
+
+ public function setAuditConfigs($auditConfigs)
+ {
+ $this->auditConfigs = $auditConfigs;
+ }
+ public function getAuditConfigs()
+ {
+ return $this->auditConfigs;
+ }
+ public function setBindings($bindings)
+ {
+ $this->bindings = $bindings;
+ }
+ public function getBindings()
+ {
+ return $this->bindings;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Project.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Project.php
new file mode 100644
index 00000000..1756338b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Project.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_Project extends Google_Model
+{
+ public $createTime;
+ public $labels;
+ public $lifecycleState;
+ public $name;
+ protected $parentType = 'Google_Service_CloudResourceManager_ResourceId';
+ protected $parentDataType = '';
+ public $projectId;
+ public $projectNumber;
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLifecycleState($lifecycleState)
+ {
+ $this->lifecycleState = $lifecycleState;
+ }
+ public function getLifecycleState()
+ {
+ return $this->lifecycleState;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParent(Google_Service_CloudResourceManager_ResourceId $parent)
+ {
+ $this->parent = $parent;
+ }
+ public function getParent()
+ {
+ return $this->parent;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ProjectCreationStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ProjectCreationStatus.php
new file mode 100644
index 00000000..5264612d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ProjectCreationStatus.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_ProjectCreationStatus extends Google_Model
+{
+ public $createTime;
+ public $gettable;
+ public $ready;
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setGettable($gettable)
+ {
+ $this->gettable = $gettable;
+ }
+ public function getGettable()
+ {
+ return $this->gettable;
+ }
+ public function setReady($ready)
+ {
+ $this->ready = $ready;
+ }
+ public function getReady()
+ {
+ return $this->ready;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Liens.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Liens.php
new file mode 100644
index 00000000..69c7f435
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Liens.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "liens" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudresourcemanagerService = new Google_Service_CloudResourceManager(...);
+ * $liens = $cloudresourcemanagerService->liens;
+ * </code>
+ */
+class Google_Service_CloudResourceManager_Resource_Liens extends Google_Service_Resource
+{
+ /**
+ * Create a Lien which applies to the resource denoted by the `parent` field.
+ *
+ * Callers of this method will require permission on the `parent` resource. For
+ * example, applying to `projects/1234` requires permission
+ * `resourcemanager.projects.updateLiens`.
+ *
+ * NOTE: Some resources may limit the number of Liens which may be applied.
+ * (liens.create)
+ *
+ * @param Google_Service_CloudResourceManager_Lien $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_Lien
+ */
+ public function create(Google_Service_CloudResourceManager_Lien $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudResourceManager_Lien");
+ }
+ /**
+ * Delete a Lien by `name`.
+ *
+ * Callers of this method will require permission on the `parent` resource. For
+ * example, a Lien with a `parent` of `projects/1234` requires permission
+ * `resourcemanager.projects.updateLiens`. (liens.delete)
+ *
+ * @param string $name The name/identifier of the Lien to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_CloudresourcemanagerEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudResourceManager_CloudresourcemanagerEmpty");
+ }
+ /**
+ * List all Liens applied to the `parent` resource.
+ *
+ * Callers of this method will require permission on the `parent` resource. For
+ * example, a Lien with a `parent` of `projects/1234` requires permission
+ * `resourcemanager.projects.get`. (liens.listLiens)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string parent The name of the resource to list all attached Liens.
+ * For example, `projects/1234`.
+ * @opt_param string pageToken The `next_page_token` value returned from a
+ * previous List request, if any.
+ * @opt_param int pageSize The maximum number of items to return. This is a
+ * suggestion for the server.
+ * @return Google_Service_CloudResourceManager_ListLiensResponse
+ */
+ public function listLiens($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudResourceManager_ListLiensResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Operations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Operations.php
new file mode 100644
index 00000000..096b85b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Operations.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudresourcemanagerService = new Google_Service_CloudResourceManager(...);
+ * $operations = $cloudresourcemanagerService->operations;
+ * </code>
+ */
+class Google_Service_CloudResourceManager_Resource_Operations extends Google_Service_Resource
+{
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this
+ * method to poll the operation result at intervals as recommended by the API
+ * service. (operations.get)
+ *
+ * @param string $name The name of the operation resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_Operation
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudResourceManager_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Organizations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Organizations.php
new file mode 100644
index 00000000..4e04bef5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Organizations.php
@@ -0,0 +1,114 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "organizations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudresourcemanagerService = new Google_Service_CloudResourceManager(...);
+ * $organizations = $cloudresourcemanagerService->organizations;
+ * </code>
+ */
+class Google_Service_CloudResourceManager_Resource_Organizations extends Google_Service_Resource
+{
+ /**
+ * Fetches an Organization resource identified by the specified resource name.
+ * (organizations.get)
+ *
+ * @param string $name The resource name of the Organization to fetch, e.g.
+ * "organizations/1234".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_Organization
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudResourceManager_Organization");
+ }
+ /**
+ * Gets the access control policy for an Organization resource. May be empty if
+ * no such policy or resource exists. The `resource` field should be the
+ * organization's resource name, e.g. "organizations/123".
+ * (organizations.getIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * requested. See the operation documentation for the appropriate value for this
+ * field.
+ * @param Google_Service_CloudResourceManager_GetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_Policy
+ */
+ public function getIamPolicy($resource, Google_Service_CloudResourceManager_GetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_CloudResourceManager_Policy");
+ }
+ /**
+ * Searches Organization resources that are visible to the user and satisfy the
+ * specified filter. This method returns Organizations in an unspecified order.
+ * New Organizations do not necessarily appear at the end of the results.
+ * (organizations.search)
+ *
+ * @param Google_Service_CloudResourceManager_SearchOrganizationsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_SearchOrganizationsResponse
+ */
+ public function search(Google_Service_CloudResourceManager_SearchOrganizationsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_CloudResourceManager_SearchOrganizationsResponse");
+ }
+ /**
+ * Sets the access control policy on an Organization resource. Replaces any
+ * existing policy. The `resource` field should be the organization's resource
+ * name, e.g. "organizations/123". (organizations.setIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * specified. See the operation documentation for the appropriate value for this
+ * field.
+ * @param Google_Service_CloudResourceManager_SetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_Policy
+ */
+ public function setIamPolicy($resource, Google_Service_CloudResourceManager_SetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_CloudResourceManager_Policy");
+ }
+ /**
+ * Returns permissions that a caller has on the specified Organization. The
+ * `resource` field should be the organization's resource name, e.g.
+ * "organizations/123". (organizations.testIamPermissions)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy detail is
+ * being requested. See the operation documentation for the appropriate value
+ * for this field.
+ * @param Google_Service_CloudResourceManager_TestIamPermissionsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_TestIamPermissionsResponse
+ */
+ public function testIamPermissions($resource, Google_Service_CloudResourceManager_TestIamPermissionsRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_CloudResourceManager_TestIamPermissionsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Projects.php
new file mode 100644
index 00000000..5291c3d2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Projects.php
@@ -0,0 +1,286 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudresourcemanagerService = new Google_Service_CloudResourceManager(...);
+ * $projects = $cloudresourcemanagerService->projects;
+ * </code>
+ */
+class Google_Service_CloudResourceManager_Resource_Projects extends Google_Service_Resource
+{
+ /**
+ * Request that a new Project be created. The result is an Operation which can
+ * be used to track the creation process. It is automatically deleted after a
+ * few hours, so there is no need to call DeleteOperation.
+ *
+ * Our SLO permits Project creation to take up to 30 seconds at the 90th
+ * percentile. As of 2016-08-29, we are observing 6 seconds 50th percentile
+ * latency. 95th percentile latency is around 11 seconds. We recommend polling
+ * at the 5th second with an exponential backoff. (projects.create)
+ *
+ * @param Google_Service_CloudResourceManager_Project $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_Operation
+ */
+ public function create(Google_Service_CloudResourceManager_Project $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudResourceManager_Operation");
+ }
+ /**
+ * Marks the Project identified by the specified `project_id` (for example, `my-
+ * project-123`) for deletion. This method will only affect the Project if the
+ * following criteria are met:
+ *
+ * + The Project does not have a billing account associated with it. + The
+ * Project has a lifecycle state of ACTIVE.
+ *
+ * This method changes the Project's lifecycle state from ACTIVE to
+ * DELETE_REQUESTED. The deletion starts at an unspecified time, at which point
+ * the Project is no longer accessible.
+ *
+ * Until the deletion completes, you can check the lifecycle state checked by
+ * retrieving the Project with GetProject, and the Project remains visible to
+ * ListProjects. However, you cannot update the project.
+ *
+ * After the deletion completes, the Project is not retrievable by the
+ * GetProject and ListProjects methods.
+ *
+ * The caller must have modify permissions for this Project. (projects.delete)
+ *
+ * @param string $projectId The Project ID (for example, `foo-bar-123`).
+ *
+ * Required.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_CloudresourcemanagerEmpty
+ */
+ public function delete($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudResourceManager_CloudresourcemanagerEmpty");
+ }
+ /**
+ * Retrieves the Project identified by the specified `project_id` (for example,
+ * `my-project-123`).
+ *
+ * The caller must have read permissions for this Project. (projects.get)
+ *
+ * @param string $projectId The Project ID (for example, `my-project-123`).
+ *
+ * Required.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_Project
+ */
+ public function get($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudResourceManager_Project");
+ }
+ /**
+ * Gets a list of ancestors in the resource hierarchy for the Project identified
+ * by the specified `project_id` (for example, `my-project-123`).
+ *
+ * The caller must have read permissions for this Project.
+ * (projects.getAncestry)
+ *
+ * @param string $projectId The Project ID (for example, `my-project-123`).
+ *
+ * Required.
+ * @param Google_Service_CloudResourceManager_GetAncestryRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_GetAncestryResponse
+ */
+ public function getAncestry($projectId, Google_Service_CloudResourceManager_GetAncestryRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getAncestry', array($params), "Google_Service_CloudResourceManager_GetAncestryResponse");
+ }
+ /**
+ * Returns the IAM access control policy for the specified Project. Permission
+ * is denied if the policy or the resource does not exist.
+ * (projects.getIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * requested. See the operation documentation for the appropriate value for this
+ * field.
+ * @param Google_Service_CloudResourceManager_GetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_Policy
+ */
+ public function getIamPolicy($resource, Google_Service_CloudResourceManager_GetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_CloudResourceManager_Policy");
+ }
+ /**
+ * Lists Projects that are visible to the user and satisfy the specified filter.
+ * This method returns Projects in an unspecified order. New Projects do not
+ * necessarily appear at the end of the list. (projects.listProjects)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter An expression for filtering the results of the
+ * request. Filter rules are case insensitive. The fields eligible for
+ * filtering are:
+ *
+ * + `name` + `id` + labels.key where *key* is the name of a label
+ *
+ * Some examples of using labels as filters:
+ *
+ * |Filter|Description| |------|-----------| |name:*|The project has a name.|
+ * |name:Howl|The project's name is `Howl` or `howl`.| |name:HOWL|Equivalent to
+ * above.| |NAME:howl|Equivalent to above.| |labels.color:*|The project has the
+ * label `color`.| |labels.color:red|The project's label `color` has the value
+ * `red`.| |labels.color:redlabel.size:big|The project's label `color` has the
+ * value `red` and its label `size` has the value `big`.
+ *
+ * Optional.
+ * @opt_param string pageToken A pagination token returned from a previous call
+ * to ListProjects that indicates from where listing should continue.
+ *
+ * Optional.
+ * @opt_param int pageSize The maximum number of Projects to return in the
+ * response. The server can return fewer Projects than requested. If
+ * unspecified, server picks an appropriate default.
+ *
+ * Optional.
+ * @return Google_Service_CloudResourceManager_ListProjectsResponse
+ */
+ public function listProjects($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudResourceManager_ListProjectsResponse");
+ }
+ /**
+ * Sets the IAM access control policy for the specified Project. Replaces any
+ * existing policy.
+ *
+ * The following constraints apply when using `setIamPolicy()`:
+ *
+ * + Project does not support `allUsers` and `allAuthenticatedUsers` as
+ * `members` in a `Binding` of a `Policy`.
+ *
+ * + The owner role can be granted only to `user` and `serviceAccount`.
+ *
+ * + Service accounts can be made owners of a project directly without any
+ * restrictions. However, to be added as an owner, a user must be invited via
+ * Cloud Platform console and must accept the invitation.
+ *
+ * + A user cannot be granted the owner role using `setIamPolicy()`. The user
+ * must be granted the owner role using the Cloud Platform Console and must
+ * explicitly accept the invitation.
+ *
+ * + Invitations to grant the owner role cannot be sent using `setIamPolicy()`;
+ * they must be sent only using the Cloud Platform Console.
+ *
+ * + Membership changes that leave the project without any owners that have
+ * accepted the Terms of Service (ToS) will be rejected.
+ *
+ * + There must be at least one owner who has accepted the Terms of Service
+ * (ToS) agreement in the policy. Calling `setIamPolicy()` to to remove the last
+ * ToS-accepted owner from the policy will fail. This restriction also applies
+ * to legacy projects that no longer have owners who have accepted the ToS.
+ * Edits to IAM policies will be rejected until the lack of a ToS-accepting
+ * owner is rectified.
+ *
+ * + Calling this method requires enabling the App Engine Admin API.
+ *
+ * Note: Removing service accounts from policies or changing their roles can
+ * render services completely inoperable. It is important to understand how the
+ * service account is being used before removing or updating its roles.
+ * (projects.setIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * specified. See the operation documentation for the appropriate value for this
+ * field.
+ * @param Google_Service_CloudResourceManager_SetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_Policy
+ */
+ public function setIamPolicy($resource, Google_Service_CloudResourceManager_SetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_CloudResourceManager_Policy");
+ }
+ /**
+ * Returns permissions that a caller has on the specified Project.
+ * (projects.testIamPermissions)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy detail is
+ * being requested. See the operation documentation for the appropriate value
+ * for this field.
+ * @param Google_Service_CloudResourceManager_TestIamPermissionsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_TestIamPermissionsResponse
+ */
+ public function testIamPermissions($resource, Google_Service_CloudResourceManager_TestIamPermissionsRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_CloudResourceManager_TestIamPermissionsResponse");
+ }
+ /**
+ * Restores the Project identified by the specified `project_id` (for example,
+ * `my-project-123`). You can only use this method for a Project that has a
+ * lifecycle state of DELETE_REQUESTED. After deletion starts, the Project
+ * cannot be restored.
+ *
+ * The caller must have modify permissions for this Project. (projects.undelete)
+ *
+ * @param string $projectId The project ID (for example, `foo-bar-123`).
+ *
+ * Required.
+ * @param Google_Service_CloudResourceManager_UndeleteProjectRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_CloudresourcemanagerEmpty
+ */
+ public function undelete($projectId, Google_Service_CloudResourceManager_UndeleteProjectRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('undelete', array($params), "Google_Service_CloudResourceManager_CloudresourcemanagerEmpty");
+ }
+ /**
+ * Updates the attributes of the Project identified by the specified
+ * `project_id` (for example, `my-project-123`).
+ *
+ * The caller must have modify permissions for this Project. (projects.update)
+ *
+ * @param string $projectId The project ID (for example, `my-project-123`).
+ *
+ * Required.
+ * @param Google_Service_CloudResourceManager_Project $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudResourceManager_Project
+ */
+ public function update($projectId, Google_Service_CloudResourceManager_Project $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_CloudResourceManager_Project");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ResourceId.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ResourceId.php
new file mode 100644
index 00000000..ac1347bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ResourceId.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_ResourceId extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SearchOrganizationsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SearchOrganizationsRequest.php
new file mode 100644
index 00000000..d682ba0c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SearchOrganizationsRequest.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_SearchOrganizationsRequest extends Google_Model
+{
+ public $filter;
+ public $pageSize;
+ public $pageToken;
+
+ public function setFilter($filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SearchOrganizationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SearchOrganizationsResponse.php
new file mode 100644
index 00000000..d05ba06e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SearchOrganizationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_SearchOrganizationsResponse extends Google_Collection
+{
+ protected $collection_key = 'organizations';
+ public $nextPageToken;
+ protected $organizationsType = 'Google_Service_CloudResourceManager_Organization';
+ protected $organizationsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOrganizations($organizations)
+ {
+ $this->organizations = $organizations;
+ }
+ public function getOrganizations()
+ {
+ return $this->organizations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SetIamPolicyRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SetIamPolicyRequest.php
new file mode 100644
index 00000000..e84b61c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SetIamPolicyRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_SetIamPolicyRequest extends Google_Model
+{
+ protected $policyType = 'Google_Service_CloudResourceManager_Policy';
+ protected $policyDataType = '';
+ public $updateMask;
+
+ public function setPolicy(Google_Service_CloudResourceManager_Policy $policy)
+ {
+ $this->policy = $policy;
+ }
+ public function getPolicy()
+ {
+ return $this->policy;
+ }
+ public function setUpdateMask($updateMask)
+ {
+ $this->updateMask = $updateMask;
+ }
+ public function getUpdateMask()
+ {
+ return $this->updateMask;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Status.php
new file mode 100644
index 00000000..b5c5b7ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/TestIamPermissionsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/TestIamPermissionsRequest.php
new file mode 100644
index 00000000..9f69000b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/TestIamPermissionsRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_TestIamPermissionsRequest extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/TestIamPermissionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/TestIamPermissionsResponse.php
new file mode 100644
index 00000000..252c3846
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/TestIamPermissionsResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_TestIamPermissionsResponse extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/UndeleteProjectRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/UndeleteProjectRequest.php
new file mode 100644
index 00000000..b79b4629
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/UndeleteProjectRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudResourceManager_UndeleteProjectRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig.php
new file mode 100644
index 00000000..b3ca5a30
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig.php
@@ -0,0 +1,109 @@
+<?php
+/*
+ * Copyright 2016 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 CloudRuntimeConfig (v1).
+ *
+ * <p>
+ * Provides capabilities for dynamic configuration and coordination for
+ * applications running on Google Cloud Platform.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/deployment-manager/runtime-configurator/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudRuntimeConfig extends 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 Cloud Platform services' runtime configuration. */
+ const CLOUDRUNTIMECONFIG =
+ "https://www.googleapis.com/auth/cloudruntimeconfig";
+
+ public $operations;
+
+ /**
+ * Constructs the internal representation of the CloudRuntimeConfig service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://runtimeconfig.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'runtimeconfig';
+
+ $this->operations = new Google_Service_CloudRuntimeConfig_Resource_Operations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'v1/{+name}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/CancelOperationRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/CancelOperationRequest.php
new file mode 100644
index 00000000..948405c0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/CancelOperationRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudRuntimeConfig_CancelOperationRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Cardinality.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Cardinality.php
new file mode 100644
index 00000000..b8bbf0db
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Cardinality.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudRuntimeConfig_Cardinality extends Google_Model
+{
+ public $number;
+ public $path;
+
+ public function setNumber($number)
+ {
+ $this->number = $number;
+ }
+ public function getNumber()
+ {
+ return $this->number;
+ }
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+ public function getPath()
+ {
+ return $this->path;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/EndCondition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/EndCondition.php
new file mode 100644
index 00000000..e1321943
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/EndCondition.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudRuntimeConfig_EndCondition extends Google_Model
+{
+ protected $cardinalityType = 'Google_Service_CloudRuntimeConfig_Cardinality';
+ protected $cardinalityDataType = '';
+
+ public function setCardinality(Google_Service_CloudRuntimeConfig_Cardinality $cardinality)
+ {
+ $this->cardinality = $cardinality;
+ }
+ public function getCardinality()
+ {
+ return $this->cardinality;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListConfigsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListConfigsResponse.php
new file mode 100644
index 00000000..607dbbc7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListConfigsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudRuntimeConfig_ListConfigsResponse extends Google_Collection
+{
+ protected $collection_key = 'configs';
+ protected $configsType = 'Google_Service_CloudRuntimeConfig_RuntimeConfig';
+ protected $configsDataType = 'array';
+ public $nextPageToken;
+
+ public function setConfigs($configs)
+ {
+ $this->configs = $configs;
+ }
+ public function getConfigs()
+ {
+ return $this->configs;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListOperationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListOperationsResponse.php
new file mode 100644
index 00000000..9ef11d09
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListOperationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudRuntimeConfig_ListOperationsResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_CloudRuntimeConfig_Operation';
+ protected $operationsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListVariablesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListVariablesResponse.php
new file mode 100644
index 00000000..b063e7ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListVariablesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudRuntimeConfig_ListVariablesResponse extends Google_Collection
+{
+ protected $collection_key = 'variables';
+ public $nextPageToken;
+ protected $variablesType = 'Google_Service_CloudRuntimeConfig_Variable';
+ protected $variablesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setVariables($variables)
+ {
+ $this->variables = $variables;
+ }
+ public function getVariables()
+ {
+ return $this->variables;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListWaitersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListWaitersResponse.php
new file mode 100644
index 00000000..e6b7a0d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListWaitersResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudRuntimeConfig_ListWaitersResponse extends Google_Collection
+{
+ protected $collection_key = 'waiters';
+ public $nextPageToken;
+ protected $waitersType = 'Google_Service_CloudRuntimeConfig_Waiter';
+ protected $waitersDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setWaiters($waiters)
+ {
+ $this->waiters = $waiters;
+ }
+ public function getWaiters()
+ {
+ return $this->waiters;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Operation.php
new file mode 100644
index 00000000..7339420d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Operation.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudRuntimeConfig_Operation extends Google_Model
+{
+ public $done;
+ protected $errorType = 'Google_Service_CloudRuntimeConfig_Status';
+ protected $errorDataType = '';
+ public $metadata;
+ public $name;
+ public $response;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_CloudRuntimeConfig_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setMetadata($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 setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/Operations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/Operations.php
new file mode 100644
index 00000000..25354914
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/Operations.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...);
+ * $operations = $runtimeconfigService->operations;
+ * </code>
+ */
+class Google_Service_CloudRuntimeConfig_Resource_Operations extends Google_Service_Resource
+{
+ /**
+ * Starts asynchronous cancellation on a long-running operation. The server
+ * makes a best effort to cancel the operation, but success is not guaranteed.
+ * If the server doesn't support this method, it returns
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
+ * other methods to check whether the cancellation succeeded or whether the
+ * operation completed despite cancellation. On successful cancellation, the
+ * operation is not deleted; instead, it becomes an operation with an
+ * Operation.error value with a google.rpc.Status.code of 1, corresponding to
+ * `Code.CANCELLED`. (operations.cancel)
+ *
+ * @param string $name The name of the operation resource to be cancelled.
+ * @param Google_Service_CloudRuntimeConfig_CancelOperationRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty
+ */
+ public function cancel($name, Google_Service_CloudRuntimeConfig_CancelOperationRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty");
+ }
+ /**
+ * Deletes a long-running operation. This method indicates that the client is no
+ * longer interested in the operation result. It does not cancel the operation.
+ * If the server doesn't support this method, it returns
+ * `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
+ *
+ * @param string $name The name of the operation resource to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty");
+ }
+ /**
+ * Lists operations that match the specified filter in the request. If the
+ * server doesn't support this method, it returns `UNIMPLEMENTED`.
+ *
+ * NOTE: the `name` binding below allows API services to override the binding to
+ * use different resource name schemes, such as `users/operations`.
+ * (operations.listOperations)
+ *
+ * @param string $name The name of the operation collection.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The standard list page token.
+ * @opt_param int pageSize The standard list page size.
+ * @opt_param string filter The standard list filter.
+ * @return Google_Service_CloudRuntimeConfig_ListOperationsResponse
+ */
+ public function listOperations($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudRuntimeConfig_ListOperationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/Projects.php
new file mode 100644
index 00000000..10009973
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/Projects.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...);
+ * $projects = $runtimeconfigService->projects;
+ * </code>
+ */
+class Google_Service_CloudRuntimeConfig_Resource_Projects extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigs.php
new file mode 100644
index 00000000..013afd37
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigs.php
@@ -0,0 +1,123 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "configs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...);
+ * $configs = $runtimeconfigService->configs;
+ * </code>
+ */
+class Google_Service_CloudRuntimeConfig_Resource_ProjectsConfigs extends Google_Service_Resource
+{
+ /**
+ * Creates a new RuntimeConfig resource. The configuration name must be unique
+ * within project. (configs.create)
+ *
+ * @param string $parent The [project
+ * ID](https://support.google.com/cloud/answer/6158840?hl=en_topic=6158848) for
+ * this request, in the format `projects/[PROJECT_ID]`.
+ * @param Google_Service_CloudRuntimeConfig_RuntimeConfig $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestId An optional unique request_id. If server receives
+ * two Create requests with the same request_id then second request will be
+ * ignored and the resource stored in the backend will be returned. Empty
+ * request_id fields are ignored. It is responsibility of the client to ensure
+ * uniqueness of the request_id strings. The strings are limited to 64
+ * characters.
+ * @return Google_Service_CloudRuntimeConfig_RuntimeConfig
+ */
+ public function create($parent, Google_Service_CloudRuntimeConfig_RuntimeConfig $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudRuntimeConfig_RuntimeConfig");
+ }
+ /**
+ * Deletes a RuntimeConfig resource. (configs.delete)
+ *
+ * @param string $name The RuntimeConfig resource to delete, in the format:
+ *
+ * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty");
+ }
+ /**
+ * Gets information about a RuntimeConfig resource. (configs.get)
+ *
+ * @param string $name The name of the RuntimeConfig resource to retrieve, in
+ * the format:
+ *
+ * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudRuntimeConfig_RuntimeConfig
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudRuntimeConfig_RuntimeConfig");
+ }
+ /**
+ * Lists all the RuntimeConfig resources within project.
+ * (configs.listProjectsConfigs)
+ *
+ * @param string $parent The [project
+ * ID](https://support.google.com/cloud/answer/6158840?hl=en_topic=6158848) for
+ * this request, in the format `projects/[PROJECT_ID]`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Specifies the number of results to return per page.
+ * If there are fewer elements than the specified number, returns all elements.
+ * @opt_param string pageToken Specifies a page token to use. Set `pageToken` to
+ * a `nextPageToken` returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_CloudRuntimeConfig_ListConfigsResponse
+ */
+ public function listProjectsConfigs($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudRuntimeConfig_ListConfigsResponse");
+ }
+ /**
+ * Updates a RuntimeConfig resource. The configuration must exist beforehand.
+ * (configs.update)
+ *
+ * @param string $name The name of the RuntimeConfig resource to update, in the
+ * format:
+ *
+ * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
+ * @param Google_Service_CloudRuntimeConfig_RuntimeConfig $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudRuntimeConfig_RuntimeConfig
+ */
+ public function update($name, Google_Service_CloudRuntimeConfig_RuntimeConfig $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_CloudRuntimeConfig_RuntimeConfig");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsOperations.php
new file mode 100644
index 00000000..9e00b34d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsOperations.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...);
+ * $operations = $runtimeconfigService->operations;
+ * </code>
+ */
+class Google_Service_CloudRuntimeConfig_Resource_ProjectsConfigsOperations extends Google_Service_Resource
+{
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this
+ * method to poll the operation result at intervals as recommended by the API
+ * service. (operations.get)
+ *
+ * @param string $name The name of the operation resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudRuntimeConfig_Operation
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudRuntimeConfig_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsVariables.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsVariables.php
new file mode 100644
index 00000000..23713ff3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsVariables.php
@@ -0,0 +1,170 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "variables" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...);
+ * $variables = $runtimeconfigService->variables;
+ * </code>
+ */
+class Google_Service_CloudRuntimeConfig_Resource_ProjectsConfigsVariables extends Google_Service_Resource
+{
+ /**
+ * Creates a variable within the given configuration. You cannot create a
+ * variable with a name that is a prefix of an existing variable name, or a name
+ * that has an existing variable name as a prefix.
+ *
+ * To learn more about creating a variable, read the [Setting and Getting Data
+ * ](/deployment-manager/runtime-configurator/set-and-get-variables)
+ * documentation. (variables.create)
+ *
+ * @param string $parent The path to the RutimeConfig resource that this
+ * variable should belong to. The configuration must exist beforehand; the path
+ * must by in the format:
+ *
+ * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
+ * @param Google_Service_CloudRuntimeConfig_Variable $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestId An optional unique request_id. If server receives
+ * two Create requests with the same request_id then second request will be
+ * ignored and the resource stored in the backend will be returned. Empty
+ * request_id fields are ignored. It is responsibility of the client to ensure
+ * uniqueness of the request_id strings. The strings are limited to 64
+ * characters.
+ * @return Google_Service_CloudRuntimeConfig_Variable
+ */
+ public function create($parent, Google_Service_CloudRuntimeConfig_Variable $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudRuntimeConfig_Variable");
+ }
+ /**
+ * Deletes a variable or multiple variables.
+ *
+ * If you specify a variable name, then that variable is deleted. If you specify
+ * a prefix and `recursive` is true, then all variables with that prefix are
+ * deleted. You must set a `recursive` to true if you delete variables by
+ * prefix. (variables.delete)
+ *
+ * @param string $name The name of the variable to delete, in the format:
+ *
+ * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]`
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool recursive Set to `true` to recursively delete multiple
+ * variables with the same prefix.
+ * @return Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty");
+ }
+ /**
+ * Gets information about a single variable. (variables.get)
+ *
+ * @param string $name The name of the variable to return, in the format:
+ *
+ * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIBLE_NAME]`
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudRuntimeConfig_Variable
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudRuntimeConfig_Variable");
+ }
+ /**
+ * Lists variables within given a configuration, matching any provided filters.
+ * This only lists variable names, not the values.
+ * (variables.listProjectsConfigsVariables)
+ *
+ * @param string $parent The path to the RuntimeConfig resource for which you
+ * want to list variables. The configuration must exist beforehand; the path
+ * must by in the format:
+ *
+ * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Specifies the number of results to return per page.
+ * If there are fewer elements than the specified number, returns all elements.
+ * @opt_param string filter Filters variables by matching the specified filter.
+ * For example:
+ *
+ * `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`.
+ * @opt_param string pageToken Specifies a page token to use. Set `pageToken` to
+ * a `nextPageToken` returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_CloudRuntimeConfig_ListVariablesResponse
+ */
+ public function listProjectsConfigsVariables($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudRuntimeConfig_ListVariablesResponse");
+ }
+ /**
+ * Updates an existing variable with a new value. (variables.update)
+ *
+ * @param string $name The name of the variable to update, in the format:
+ *
+ * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]`
+ * @param Google_Service_CloudRuntimeConfig_Variable $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudRuntimeConfig_Variable
+ */
+ public function update($name, Google_Service_CloudRuntimeConfig_Variable $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_CloudRuntimeConfig_Variable");
+ }
+ /**
+ * Watches a specific variable and waits for a change in the variable's value.
+ * When there is a change, this method returns the new value or times out.
+ *
+ * If a variable is deleted while being watched, the `variableState` state is
+ * set to `DELETED` and the method returns the last known variable `value`.
+ *
+ * If you set the deadline for watching to a larger value than internal timeout
+ * (60 seconds), the current variable value is returned and the `variableState`
+ * will be `VARIABLE_STATE_UNSPECIFIED`.
+ *
+ * To learn more about creating a watcher, read the [Watching a Variable for
+ * Changes](/deployment-manager/runtime-configurator/watching-a-variable)
+ * documentation. (variables.watch)
+ *
+ * @param string $name The name of the variable to watch, in the format:
+ *
+ * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
+ * @param Google_Service_CloudRuntimeConfig_WatchVariableRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudRuntimeConfig_Variable
+ */
+ public function watch($name, Google_Service_CloudRuntimeConfig_WatchVariableRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Google_Service_CloudRuntimeConfig_Variable");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsWaiters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsWaiters.php
new file mode 100644
index 00000000..7f407cbd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsWaiters.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "waiters" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...);
+ * $waiters = $runtimeconfigService->waiters;
+ * </code>
+ */
+class Google_Service_CloudRuntimeConfig_Resource_ProjectsConfigsWaiters extends Google_Service_Resource
+{
+ /**
+ * Creates a Waiter resource. This operation returns a long-running Operation
+ * resource which can be polled for completion. However, a waiter with the given
+ * name will exist (and can be retrieved) prior to the operation completing. If
+ * the operation fails, the failed Waiter resource will still exist and must be
+ * deleted prior to subsequent creation attempts. (waiters.create)
+ *
+ * @param string $parent The path to the configuration that will own the waiter.
+ * The configuration must exist beforehand; the path must by in the format:
+ *
+ * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
+ * @param Google_Service_CloudRuntimeConfig_Waiter $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestId An optional unique request_id. If server receives
+ * two Create requests with the same request_id then second request will be
+ * ignored and information stored in the backend will be returned. Empty
+ * request_id fields are ignored. It is responsibility of the client to ensure
+ * uniqueness of the request_id strings. The strings are limited to 64
+ * characters.
+ * @return Google_Service_CloudRuntimeConfig_Operation
+ */
+ public function create($parent, Google_Service_CloudRuntimeConfig_Waiter $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudRuntimeConfig_Operation");
+ }
+ /**
+ * Deletes the waiter with the specified name. (waiters.delete)
+ *
+ * @param string $name The Waiter resource to delete, in the format:
+ *
+ * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty");
+ }
+ /**
+ * Gets information about a single waiter. (waiters.get)
+ *
+ * @param string $name The fully-qualified name of the Waiter resource object to
+ * retrieve, in the format:
+ *
+ * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudRuntimeConfig_Waiter
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudRuntimeConfig_Waiter");
+ }
+ /**
+ * List waiters within the given configuration.
+ * (waiters.listProjectsConfigsWaiters)
+ *
+ * @param string $parent The path to the configuration for which you want to get
+ * a list of waiters. The configuration must exist beforehand; the path must by
+ * in the format:
+ *
+ * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Specifies the number of results to return per page.
+ * If there are fewer elements than the specified number, returns all elements.
+ * @opt_param string pageToken Specifies a page token to use. Set `pageToken` to
+ * a `nextPageToken` returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_CloudRuntimeConfig_ListWaitersResponse
+ */
+ public function listProjectsConfigsWaiters($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudRuntimeConfig_ListWaitersResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/RuntimeConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/RuntimeConfig.php
new file mode 100644
index 00000000..445bade1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/RuntimeConfig.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudRuntimeConfig_RuntimeConfig extends Google_Model
+{
+ public $description;
+ public $name;
+
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/RuntimeconfigEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/RuntimeconfigEmpty.php
new file mode 100644
index 00000000..a07606d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/RuntimeconfigEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Status.php
new file mode 100644
index 00000000..0c3c35ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudRuntimeConfig_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Variable.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Variable.php
new file mode 100644
index 00000000..2d0159cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Variable.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudRuntimeConfig_Variable extends Google_Model
+{
+ public $name;
+ public $state;
+ public $text;
+ public $updateTime;
+ public $value;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+ public function setUpdateTime($updateTime)
+ {
+ $this->updateTime = $updateTime;
+ }
+ public function getUpdateTime()
+ {
+ return $this->updateTime;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Waiter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Waiter.php
new file mode 100644
index 00000000..d115775b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Waiter.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudRuntimeConfig_Waiter extends Google_Model
+{
+ public $createTime;
+ public $done;
+ protected $errorType = 'Google_Service_CloudRuntimeConfig_Status';
+ protected $errorDataType = '';
+ protected $failureType = 'Google_Service_CloudRuntimeConfig_EndCondition';
+ protected $failureDataType = '';
+ public $name;
+ protected $successType = 'Google_Service_CloudRuntimeConfig_EndCondition';
+ protected $successDataType = '';
+ public $timeout;
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_CloudRuntimeConfig_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setFailure(Google_Service_CloudRuntimeConfig_EndCondition $failure)
+ {
+ $this->failure = $failure;
+ }
+ public function getFailure()
+ {
+ return $this->failure;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSuccess(Google_Service_CloudRuntimeConfig_EndCondition $success)
+ {
+ $this->success = $success;
+ }
+ public function getSuccess()
+ {
+ return $this->success;
+ }
+ public function setTimeout($timeout)
+ {
+ $this->timeout = $timeout;
+ }
+ public function getTimeout()
+ {
+ return $this->timeout;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/WatchVariableRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/WatchVariableRequest.php
new file mode 100644
index 00000000..7de9800f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/WatchVariableRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudRuntimeConfig_WatchVariableRequest extends Google_Model
+{
+ public $newerThan;
+
+ public function setNewerThan($newerThan)
+ {
+ $this->newerThan = $newerThan;
+ }
+ public function getNewerThan()
+ {
+ return $this->newerThan;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories.php
new file mode 100644
index 00000000..4aa4def0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories.php
@@ -0,0 +1,134 @@
+<?php
+/*
+ * Copyright 2016 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 CloudSourceRepositories (v1).
+ *
+ * <p>
+ * Access source code repositories hosted by Google.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/eap/cloud-repositories/cloud-sourcerepo-api" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudSourceRepositories extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $projects_repos;
+
+ /**
+ * Constructs the internal representation of the CloudSourceRepositories
+ * service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://sourcerepo.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'sourcerepo';
+
+ $this->projects_repos = new Google_Service_CloudSourceRepositories_Resource_ProjectsRepos(
+ $this,
+ $this->serviceName,
+ 'repos',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/{+parent}/repos',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => 'v1/{+resource}:getIamPolicy',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+name}/repos',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => 'v1/{+resource}:setIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => 'v1/{+resource}:testIamPermissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/AuditConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/AuditConfig.php
new file mode 100644
index 00000000..28d14b9b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/AuditConfig.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_AuditConfig extends Google_Collection
+{
+ protected $collection_key = 'exemptedMembers';
+ protected $auditLogConfigsType = 'Google_Service_CloudSourceRepositories_AuditLogConfig';
+ protected $auditLogConfigsDataType = 'array';
+ public $exemptedMembers;
+ public $service;
+
+ public function setAuditLogConfigs($auditLogConfigs)
+ {
+ $this->auditLogConfigs = $auditLogConfigs;
+ }
+ public function getAuditLogConfigs()
+ {
+ return $this->auditLogConfigs;
+ }
+ public function setExemptedMembers($exemptedMembers)
+ {
+ $this->exemptedMembers = $exemptedMembers;
+ }
+ public function getExemptedMembers()
+ {
+ return $this->exemptedMembers;
+ }
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+ public function getService()
+ {
+ return $this->service;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/AuditLogConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/AuditLogConfig.php
new file mode 100644
index 00000000..6e518855
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/AuditLogConfig.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_AuditLogConfig extends Google_Collection
+{
+ protected $collection_key = 'exemptedMembers';
+ public $exemptedMembers;
+ public $logType;
+
+ public function setExemptedMembers($exemptedMembers)
+ {
+ $this->exemptedMembers = $exemptedMembers;
+ }
+ public function getExemptedMembers()
+ {
+ return $this->exemptedMembers;
+ }
+ public function setLogType($logType)
+ {
+ $this->logType = $logType;
+ }
+ public function getLogType()
+ {
+ return $this->logType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Binding.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Binding.php
new file mode 100644
index 00000000..4cec3792
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Binding.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_Binding extends Google_Collection
+{
+ protected $collection_key = 'members';
+ public $members;
+ public $role;
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/CloudAuditOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/CloudAuditOptions.php
new file mode 100644
index 00000000..48b8fc29
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/CloudAuditOptions.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_CloudAuditOptions extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Condition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Condition.php
new file mode 100644
index 00000000..24263ed5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Condition.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_Condition extends Google_Collection
+{
+ protected $collection_key = 'values';
+ public $iam;
+ public $op;
+ public $svc;
+ public $sys;
+ public $value;
+ public $values;
+
+ public function setIam($iam)
+ {
+ $this->iam = $iam;
+ }
+ public function getIam()
+ {
+ return $this->iam;
+ }
+ public function setOp($op)
+ {
+ $this->op = $op;
+ }
+ public function getOp()
+ {
+ return $this->op;
+ }
+ public function setSvc($svc)
+ {
+ $this->svc = $svc;
+ }
+ public function getSvc()
+ {
+ return $this->svc;
+ }
+ public function setSys($sys)
+ {
+ $this->sys = $sys;
+ }
+ public function getSys()
+ {
+ return $this->sys;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/CounterOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/CounterOptions.php
new file mode 100644
index 00000000..bd46c5de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/CounterOptions.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_CounterOptions extends Google_Model
+{
+ public $field;
+ public $metric;
+
+ public function setField($field)
+ {
+ $this->field = $field;
+ }
+ public function getField()
+ {
+ return $this->field;
+ }
+ public function setMetric($metric)
+ {
+ $this->metric = $metric;
+ }
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/DataAccessOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/DataAccessOptions.php
new file mode 100644
index 00000000..7ca520ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/DataAccessOptions.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_DataAccessOptions extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/ListReposResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/ListReposResponse.php
new file mode 100644
index 00000000..d96081c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/ListReposResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_ListReposResponse extends Google_Collection
+{
+ protected $collection_key = 'repos';
+ protected $reposType = 'Google_Service_CloudSourceRepositories_Repo';
+ protected $reposDataType = 'array';
+
+ public function setRepos($repos)
+ {
+ $this->repos = $repos;
+ }
+ public function getRepos()
+ {
+ return $this->repos;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/LogConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/LogConfig.php
new file mode 100644
index 00000000..dd5aec75
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/LogConfig.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_LogConfig extends Google_Model
+{
+ protected $cloudAuditType = 'Google_Service_CloudSourceRepositories_CloudAuditOptions';
+ protected $cloudAuditDataType = '';
+ protected $counterType = 'Google_Service_CloudSourceRepositories_CounterOptions';
+ protected $counterDataType = '';
+ protected $dataAccessType = 'Google_Service_CloudSourceRepositories_DataAccessOptions';
+ protected $dataAccessDataType = '';
+
+ public function setCloudAudit(Google_Service_CloudSourceRepositories_CloudAuditOptions $cloudAudit)
+ {
+ $this->cloudAudit = $cloudAudit;
+ }
+ public function getCloudAudit()
+ {
+ return $this->cloudAudit;
+ }
+ public function setCounter(Google_Service_CloudSourceRepositories_CounterOptions $counter)
+ {
+ $this->counter = $counter;
+ }
+ public function getCounter()
+ {
+ return $this->counter;
+ }
+ public function setDataAccess(Google_Service_CloudSourceRepositories_DataAccessOptions $dataAccess)
+ {
+ $this->dataAccess = $dataAccess;
+ }
+ public function getDataAccess()
+ {
+ return $this->dataAccess;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/MirrorConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/MirrorConfig.php
new file mode 100644
index 00000000..ed8f6f0d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/MirrorConfig.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_MirrorConfig extends Google_Model
+{
+ public $deployKeyId;
+ public $url;
+ public $webhookId;
+
+ public function setDeployKeyId($deployKeyId)
+ {
+ $this->deployKeyId = $deployKeyId;
+ }
+ public function getDeployKeyId()
+ {
+ return $this->deployKeyId;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setWebhookId($webhookId)
+ {
+ $this->webhookId = $webhookId;
+ }
+ public function getWebhookId()
+ {
+ return $this->webhookId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Policy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Policy.php
new file mode 100644
index 00000000..8be72e81
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Policy.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_Policy extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $auditConfigsType = 'Google_Service_CloudSourceRepositories_AuditConfig';
+ protected $auditConfigsDataType = 'array';
+ protected $bindingsType = 'Google_Service_CloudSourceRepositories_Binding';
+ protected $bindingsDataType = 'array';
+ public $etag;
+ public $iamOwned;
+ protected $rulesType = 'Google_Service_CloudSourceRepositories_Rule';
+ protected $rulesDataType = 'array';
+ public $version;
+
+ public function setAuditConfigs($auditConfigs)
+ {
+ $this->auditConfigs = $auditConfigs;
+ }
+ public function getAuditConfigs()
+ {
+ return $this->auditConfigs;
+ }
+ public function setBindings($bindings)
+ {
+ $this->bindings = $bindings;
+ }
+ public function getBindings()
+ {
+ return $this->bindings;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setIamOwned($iamOwned)
+ {
+ $this->iamOwned = $iamOwned;
+ }
+ public function getIamOwned()
+ {
+ return $this->iamOwned;
+ }
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Repo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Repo.php
new file mode 100644
index 00000000..6dae23e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Repo.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_Repo extends Google_Model
+{
+ protected $mirrorConfigType = 'Google_Service_CloudSourceRepositories_MirrorConfig';
+ protected $mirrorConfigDataType = '';
+ public $name;
+ public $size;
+ public $url;
+
+ public function setMirrorConfig(Google_Service_CloudSourceRepositories_MirrorConfig $mirrorConfig)
+ {
+ $this->mirrorConfig = $mirrorConfig;
+ }
+ public function getMirrorConfig()
+ {
+ return $this->mirrorConfig;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Resource/Projects.php
new file mode 100644
index 00000000..fcac6a61
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Resource/Projects.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sourcerepoService = new Google_Service_CloudSourceRepositories(...);
+ * $projects = $sourcerepoService->projects;
+ * </code>
+ */
+class Google_Service_CloudSourceRepositories_Resource_Projects extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Resource/ProjectsRepos.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Resource/ProjectsRepos.php
new file mode 100644
index 00000000..8defb71c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Resource/ProjectsRepos.php
@@ -0,0 +1,139 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "repos" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sourcerepoService = new Google_Service_CloudSourceRepositories(...);
+ * $repos = $sourcerepoService->repos;
+ * </code>
+ */
+class Google_Service_CloudSourceRepositories_Resource_ProjectsRepos extends Google_Service_Resource
+{
+ /**
+ * Creates a repo in the given project with the given name..
+ *
+ * If the named repository already exists, `CreateRepo` returns
+ * `ALREADY_EXISTS`. (repos.create)
+ *
+ * @param string $parent The project in which to create the repo. Values are of
+ * the form `projects/`.
+ * @param Google_Service_CloudSourceRepositories_Repo $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudSourceRepositories_Repo
+ */
+ public function create($parent, Google_Service_CloudSourceRepositories_Repo $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_CloudSourceRepositories_Repo");
+ }
+ /**
+ * Deletes a repo. (repos.delete)
+ *
+ * @param string $name The name of the repo to delete. Values are of the form
+ * `projects//repos/`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudSourceRepositories_SourcerepoEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudSourceRepositories_SourcerepoEmpty");
+ }
+ /**
+ * Returns information about a repo. (repos.get)
+ *
+ * @param string $name The name of the requested repository. Values are of the
+ * form `projects//repos/`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudSourceRepositories_Repo
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudSourceRepositories_Repo");
+ }
+ /**
+ * Gets the access control policy for a resource. Returns an empty policy if the
+ * resource exists and does not have a policy set. (repos.getIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * requested. See the operation documentation for the appropriate value for this
+ * field.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudSourceRepositories_Policy
+ */
+ public function getIamPolicy($resource, $optParams = array())
+ {
+ $params = array('resource' => $resource);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_CloudSourceRepositories_Policy");
+ }
+ /**
+ * Returns all repos belonging to a project. (repos.listProjectsRepos)
+ *
+ * @param string $name The project ID whose repos should be listed. Values are
+ * of the form `projects/`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudSourceRepositories_ListReposResponse
+ */
+ public function listProjectsRepos($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudSourceRepositories_ListReposResponse");
+ }
+ /**
+ * Sets the access control policy on the specified resource. Replaces any
+ * existing policy. (repos.setIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * specified. See the operation documentation for the appropriate value for this
+ * field.
+ * @param Google_Service_CloudSourceRepositories_SetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudSourceRepositories_Policy
+ */
+ public function setIamPolicy($resource, Google_Service_CloudSourceRepositories_SetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_CloudSourceRepositories_Policy");
+ }
+ /**
+ * Returns permissions that a caller has on the specified resource. If the
+ * resource does not exist, this will return an empty set of permissions, not a
+ * NOT_FOUND error. (repos.testIamPermissions)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy detail is
+ * being requested. See the operation documentation for the appropriate value
+ * for this field.
+ * @param Google_Service_CloudSourceRepositories_TestIamPermissionsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudSourceRepositories_TestIamPermissionsResponse
+ */
+ public function testIamPermissions($resource, Google_Service_CloudSourceRepositories_TestIamPermissionsRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_CloudSourceRepositories_TestIamPermissionsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Rule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Rule.php
new file mode 100644
index 00000000..fb546cda
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Rule.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_Rule extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $action;
+ protected $conditionsType = 'Google_Service_CloudSourceRepositories_Condition';
+ protected $conditionsDataType = 'array';
+ public $description;
+ public $in;
+ protected $logConfigType = 'Google_Service_CloudSourceRepositories_LogConfig';
+ protected $logConfigDataType = 'array';
+ public $notIn;
+ public $permissions;
+
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setConditions($conditions)
+ {
+ $this->conditions = $conditions;
+ }
+ public function getConditions()
+ {
+ return $this->conditions;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setIn($in)
+ {
+ $this->in = $in;
+ }
+ public function getIn()
+ {
+ return $this->in;
+ }
+ public function setLogConfig($logConfig)
+ {
+ $this->logConfig = $logConfig;
+ }
+ public function getLogConfig()
+ {
+ return $this->logConfig;
+ }
+ public function setNotIn($notIn)
+ {
+ $this->notIn = $notIn;
+ }
+ public function getNotIn()
+ {
+ return $this->notIn;
+ }
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/SetIamPolicyRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/SetIamPolicyRequest.php
new file mode 100644
index 00000000..f3539dbc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/SetIamPolicyRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_SetIamPolicyRequest extends Google_Model
+{
+ protected $policyType = 'Google_Service_CloudSourceRepositories_Policy';
+ protected $policyDataType = '';
+ public $updateMask;
+
+ public function setPolicy(Google_Service_CloudSourceRepositories_Policy $policy)
+ {
+ $this->policy = $policy;
+ }
+ public function getPolicy()
+ {
+ return $this->policy;
+ }
+ public function setUpdateMask($updateMask)
+ {
+ $this->updateMask = $updateMask;
+ }
+ public function getUpdateMask()
+ {
+ return $this->updateMask;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/SourcerepoEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/SourcerepoEmpty.php
new file mode 100644
index 00000000..46cf8752
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/SourcerepoEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_SourcerepoEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/TestIamPermissionsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/TestIamPermissionsRequest.php
new file mode 100644
index 00000000..8c0e7a3d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/TestIamPermissionsRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_TestIamPermissionsRequest extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/TestIamPermissionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/TestIamPermissionsResponse.php
new file mode 100644
index 00000000..f8cb728e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/TestIamPermissionsResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSourceRepositories_TestIamPermissionsResponse extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI.php
new file mode 100644
index 00000000..065ec190
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI.php
@@ -0,0 +1,133 @@
+<?php
+/*
+ * Copyright 2016 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 CloudSpeechAPI (v1beta1).
+ *
+ * <p>
+ * Google Cloud Speech API.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/speech/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudSpeechAPI extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $operations;
+ public $speech;
+
+ /**
+ * Constructs the internal representation of the CloudSpeechAPI service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://speech.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1beta1';
+ $this->serviceName = 'speech';
+
+ $this->operations = new Google_Service_CloudSpeechAPI_Resource_Operations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'v1beta1/operations/{+name}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1beta1/operations/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1beta1/operations/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1beta1/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->speech = new Google_Service_CloudSpeechAPI_Resource_Speech(
+ $this,
+ $this->serviceName,
+ 'speech',
+ array(
+ 'methods' => array(
+ 'asyncrecognize' => array(
+ 'path' => 'v1beta1/speech:asyncrecognize',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'syncrecognize' => array(
+ 'path' => 'v1beta1/speech:syncrecognize',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/AsyncRecognizeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/AsyncRecognizeRequest.php
new file mode 100644
index 00000000..cf03fbd9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/AsyncRecognizeRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSpeechAPI_AsyncRecognizeRequest extends Google_Model
+{
+ protected $audioType = 'Google_Service_CloudSpeechAPI_RecognitionAudio';
+ protected $audioDataType = '';
+ protected $configType = 'Google_Service_CloudSpeechAPI_RecognitionConfig';
+ protected $configDataType = '';
+
+ public function setAudio(Google_Service_CloudSpeechAPI_RecognitionAudio $audio)
+ {
+ $this->audio = $audio;
+ }
+ public function getAudio()
+ {
+ return $this->audio;
+ }
+ public function setConfig(Google_Service_CloudSpeechAPI_RecognitionConfig $config)
+ {
+ $this->config = $config;
+ }
+ public function getConfig()
+ {
+ return $this->config;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/CancelOperationRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/CancelOperationRequest.php
new file mode 100644
index 00000000..123426e2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/CancelOperationRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSpeechAPI_CancelOperationRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/ListOperationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/ListOperationsResponse.php
new file mode 100644
index 00000000..8276777d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/ListOperationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSpeechAPI_ListOperationsResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_CloudSpeechAPI_Operation';
+ protected $operationsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Operation.php
new file mode 100644
index 00000000..1f356d2d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Operation.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSpeechAPI_Operation extends Google_Model
+{
+ public $done;
+ protected $errorType = 'Google_Service_CloudSpeechAPI_Status';
+ protected $errorDataType = '';
+ public $metadata;
+ public $name;
+ public $response;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_CloudSpeechAPI_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setMetadata($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 setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/RecognitionAudio.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/RecognitionAudio.php
new file mode 100644
index 00000000..8b08ac8f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/RecognitionAudio.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSpeechAPI_RecognitionAudio extends Google_Model
+{
+ public $content;
+ public $uri;
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setUri($uri)
+ {
+ $this->uri = $uri;
+ }
+ public function getUri()
+ {
+ return $this->uri;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/RecognitionConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/RecognitionConfig.php
new file mode 100644
index 00000000..a656b8de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/RecognitionConfig.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSpeechAPI_RecognitionConfig extends Google_Model
+{
+ public $encoding;
+ public $languageCode;
+ public $maxAlternatives;
+ public $profanityFilter;
+ public $sampleRate;
+ protected $speechContextType = 'Google_Service_CloudSpeechAPI_SpeechContext';
+ protected $speechContextDataType = '';
+
+ public function setEncoding($encoding)
+ {
+ $this->encoding = $encoding;
+ }
+ public function getEncoding()
+ {
+ return $this->encoding;
+ }
+ public function setLanguageCode($languageCode)
+ {
+ $this->languageCode = $languageCode;
+ }
+ public function getLanguageCode()
+ {
+ return $this->languageCode;
+ }
+ public function setMaxAlternatives($maxAlternatives)
+ {
+ $this->maxAlternatives = $maxAlternatives;
+ }
+ public function getMaxAlternatives()
+ {
+ return $this->maxAlternatives;
+ }
+ public function setProfanityFilter($profanityFilter)
+ {
+ $this->profanityFilter = $profanityFilter;
+ }
+ public function getProfanityFilter()
+ {
+ return $this->profanityFilter;
+ }
+ public function setSampleRate($sampleRate)
+ {
+ $this->sampleRate = $sampleRate;
+ }
+ public function getSampleRate()
+ {
+ return $this->sampleRate;
+ }
+ public function setSpeechContext(Google_Service_CloudSpeechAPI_SpeechContext $speechContext)
+ {
+ $this->speechContext = $speechContext;
+ }
+ public function getSpeechContext()
+ {
+ return $this->speechContext;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Resource/Operations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Resource/Operations.php
new file mode 100644
index 00000000..07efe1ce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Resource/Operations.php
@@ -0,0 +1,100 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $speechService = new Google_Service_CloudSpeechAPI(...);
+ * $operations = $speechService->operations;
+ * </code>
+ */
+class Google_Service_CloudSpeechAPI_Resource_Operations extends Google_Service_Resource
+{
+ /**
+ * Starts asynchronous cancellation on a long-running operation. The server
+ * makes a best effort to cancel the operation, but success is not guaranteed.
+ * If the server doesn't support this method, it returns
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
+ * other methods to check whether the cancellation succeeded or whether the
+ * operation completed despite cancellation. (operations.cancel)
+ *
+ * @param string $name The name of the operation resource to be cancelled.
+ * @param Google_Service_CloudSpeechAPI_CancelOperationRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudSpeechAPI_SpeechEmpty
+ */
+ public function cancel($name, Google_Service_CloudSpeechAPI_CancelOperationRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_CloudSpeechAPI_SpeechEmpty");
+ }
+ /**
+ * Deletes a long-running operation. This method indicates that the client is no
+ * longer interested in the operation result. It does not cancel the operation.
+ * If the server doesn't support this method, it returns
+ * `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
+ *
+ * @param string $name The name of the operation resource to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudSpeechAPI_SpeechEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudSpeechAPI_SpeechEmpty");
+ }
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this
+ * method to poll the operation result at intervals as recommended by the API
+ * service. (operations.get)
+ *
+ * @param string $name The name of the operation resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudSpeechAPI_Operation
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudSpeechAPI_Operation");
+ }
+ /**
+ * Lists operations that match the specified filter in the request. If the
+ * server doesn't support this method, it returns `UNIMPLEMENTED`.
+ *
+ * NOTE: the `name` binding below allows API services to override the binding to
+ * use different resource name schemes, such as `users/operations`.
+ * (operations.listOperations)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize The standard list page size.
+ * @opt_param string filter The standard list filter.
+ * @opt_param string name The name of the operation collection.
+ * @opt_param string pageToken The standard list page token.
+ * @return Google_Service_CloudSpeechAPI_ListOperationsResponse
+ */
+ public function listOperations($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudSpeechAPI_ListOperationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Resource/Speech.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Resource/Speech.php
new file mode 100644
index 00000000..694ecd44
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Resource/Speech.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "speech" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $speechService = new Google_Service_CloudSpeechAPI(...);
+ * $speech = $speechService->speech;
+ * </code>
+ */
+class Google_Service_CloudSpeechAPI_Resource_Speech extends Google_Service_Resource
+{
+ /**
+ * Perform asynchronous speech-recognition: receive results via the
+ * google.longrunning.Operations interface. Returns either an `Operation.error`
+ * or an `Operation.response` which contains an `AsyncRecognizeResponse`
+ * message. (speech.asyncrecognize)
+ *
+ * @param Google_Service_CloudSpeechAPI_AsyncRecognizeRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudSpeechAPI_Operation
+ */
+ public function asyncrecognize(Google_Service_CloudSpeechAPI_AsyncRecognizeRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('asyncrecognize', array($params), "Google_Service_CloudSpeechAPI_Operation");
+ }
+ /**
+ * Perform synchronous speech-recognition: receive results after all audio has
+ * been sent and processed. (speech.syncrecognize)
+ *
+ * @param Google_Service_CloudSpeechAPI_SyncRecognizeRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudSpeechAPI_SyncRecognizeResponse
+ */
+ public function syncrecognize(Google_Service_CloudSpeechAPI_SyncRecognizeRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('syncrecognize', array($params), "Google_Service_CloudSpeechAPI_SyncRecognizeResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechContext.php
new file mode 100644
index 00000000..256dfd05
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechContext.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSpeechAPI_SpeechContext extends Google_Collection
+{
+ protected $collection_key = 'phrases';
+ public $phrases;
+
+ public function setPhrases($phrases)
+ {
+ $this->phrases = $phrases;
+ }
+ public function getPhrases()
+ {
+ return $this->phrases;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechEmpty.php
new file mode 100644
index 00000000..e699d424
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSpeechAPI_SpeechEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechRecognitionAlternative.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechRecognitionAlternative.php
new file mode 100644
index 00000000..53b6a76a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechRecognitionAlternative.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSpeechAPI_SpeechRecognitionAlternative extends Google_Model
+{
+ public $confidence;
+ public $transcript;
+
+ public function setConfidence($confidence)
+ {
+ $this->confidence = $confidence;
+ }
+ public function getConfidence()
+ {
+ return $this->confidence;
+ }
+ public function setTranscript($transcript)
+ {
+ $this->transcript = $transcript;
+ }
+ public function getTranscript()
+ {
+ return $this->transcript;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechRecognitionResult.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechRecognitionResult.php
new file mode 100644
index 00000000..5bab6493
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechRecognitionResult.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSpeechAPI_SpeechRecognitionResult extends Google_Collection
+{
+ protected $collection_key = 'alternatives';
+ protected $alternativesType = 'Google_Service_CloudSpeechAPI_SpeechRecognitionAlternative';
+ protected $alternativesDataType = 'array';
+
+ public function setAlternatives($alternatives)
+ {
+ $this->alternatives = $alternatives;
+ }
+ public function getAlternatives()
+ {
+ return $this->alternatives;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Status.php
new file mode 100644
index 00000000..62ed7860
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSpeechAPI_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SyncRecognizeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SyncRecognizeRequest.php
new file mode 100644
index 00000000..0cb07439
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SyncRecognizeRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSpeechAPI_SyncRecognizeRequest extends Google_Model
+{
+ protected $audioType = 'Google_Service_CloudSpeechAPI_RecognitionAudio';
+ protected $audioDataType = '';
+ protected $configType = 'Google_Service_CloudSpeechAPI_RecognitionConfig';
+ protected $configDataType = '';
+
+ public function setAudio(Google_Service_CloudSpeechAPI_RecognitionAudio $audio)
+ {
+ $this->audio = $audio;
+ }
+ public function getAudio()
+ {
+ return $this->audio;
+ }
+ public function setConfig(Google_Service_CloudSpeechAPI_RecognitionConfig $config)
+ {
+ $this->config = $config;
+ }
+ public function getConfig()
+ {
+ return $this->config;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SyncRecognizeResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SyncRecognizeResponse.php
new file mode 100644
index 00000000..753753bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SyncRecognizeResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudSpeechAPI_SyncRecognizeResponse extends Google_Collection
+{
+ protected $collection_key = 'results';
+ protected $resultsType = 'Google_Service_CloudSpeechAPI_SpeechRecognitionResult';
+ protected $resultsDataType = 'array';
+
+ public function setResults($results)
+ {
+ $this->results = $results;
+ }
+ public function getResults()
+ {
+ return $this->results;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace.php
new file mode 100644
index 00000000..8a7b7876
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace.php
@@ -0,0 +1,146 @@
+<?php
+/*
+ * Copyright 2016 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 CloudTrace (v1).
+ *
+ * <p>
+ * Send and retrieve trace data from Stackdriver Trace. Data is generated and
+ * available by default for all App Engine applications. Data from other
+ * applications can be written to Stackdriver Trace for display, reporting, and
+ * analysis.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/trace" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudTrace extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** Write Trace data for a project or application. */
+ const TRACE_APPEND =
+ "https://www.googleapis.com/auth/trace.append";
+ /** Read Trace data for a project or application. */
+ const TRACE_READONLY =
+ "https://www.googleapis.com/auth/trace.readonly";
+
+ public $projects;
+ public $projects_traces;
+
+ /**
+ * Constructs the internal representation of the CloudTrace service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://cloudtrace.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'cloudtrace';
+
+ $this->projects = new Google_Service_CloudTrace_Resource_Projects(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'patchTraces' => array(
+ 'path' => 'v1/projects/{projectId}/traces',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_traces = new Google_Service_CloudTrace_Resource_ProjectsTraces(
+ $this,
+ $this->serviceName,
+ 'traces',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/projects/{projectId}/traces/{traceId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'traceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/projects/{projectId}/traces',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/CloudtraceEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/CloudtraceEmpty.php
new file mode 100644
index 00000000..70f91b23
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/CloudtraceEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudTrace_CloudtraceEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/ListTracesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/ListTracesResponse.php
new file mode 100644
index 00000000..da69752c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/ListTracesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudTrace_ListTracesResponse extends Google_Collection
+{
+ protected $collection_key = 'traces';
+ public $nextPageToken;
+ protected $tracesType = 'Google_Service_CloudTrace_Trace';
+ protected $tracesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTraces($traces)
+ {
+ $this->traces = $traces;
+ }
+ public function getTraces()
+ {
+ return $this->traces;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Resource/Projects.php
new file mode 100644
index 00000000..18a26dbe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Resource/Projects.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudtraceService = new Google_Service_CloudTrace(...);
+ * $projects = $cloudtraceService->projects;
+ * </code>
+ */
+class Google_Service_CloudTrace_Resource_Projects extends Google_Service_Resource
+{
+ /**
+ * Sends new traces to Stackdriver Trace or updates existing traces. If the ID
+ * of a trace that you send matches that of an existing trace, any fields in the
+ * existing trace and its spans are overwritten by the provided values, and any
+ * new fields provided are merged with the existing trace data. If the ID does
+ * not match, a new trace is created. (projects.patchTraces)
+ *
+ * @param string $projectId ID of the Cloud project where the trace data is
+ * stored.
+ * @param Google_Service_CloudTrace_Traces $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudTrace_CloudtraceEmpty
+ */
+ public function patchTraces($projectId, Google_Service_CloudTrace_Traces $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patchTraces', array($params), "Google_Service_CloudTrace_CloudtraceEmpty");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Resource/ProjectsTraces.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Resource/ProjectsTraces.php
new file mode 100644
index 00000000..2fe3f790
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Resource/ProjectsTraces.php
@@ -0,0 +1,83 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "traces" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudtraceService = new Google_Service_CloudTrace(...);
+ * $traces = $cloudtraceService->traces;
+ * </code>
+ */
+class Google_Service_CloudTrace_Resource_ProjectsTraces extends Google_Service_Resource
+{
+ /**
+ * Gets a single trace by its ID. (traces.get)
+ *
+ * @param string $projectId ID of the Cloud project where the trace data is
+ * stored.
+ * @param string $traceId ID of the trace to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudTrace_Trace
+ */
+ public function get($projectId, $traceId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'traceId' => $traceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudTrace_Trace");
+ }
+ /**
+ * Returns of a list of traces that match the specified filter conditions.
+ * (traces.listProjectsTraces)
+ *
+ * @param string $projectId ID of the Cloud project where the trace data is
+ * stored.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy Field used to sort the returned traces. Optional.
+ * Can be one of the following:
+ *
+ * * `trace_id` * `name` (`name` field of root span in the trace) *
+ * `duration` (difference between `end_time` and `start_time` fields of the
+ * root span) * `start` (`start_time` field of the root span)
+ *
+ * Descending order can be specified by appending `desc` to the sort field (for
+ * example, `name desc`).
+ *
+ * Only one sort field is permitted.
+ * @opt_param string filter An optional filter for the request.
+ * @opt_param string endTime Start of the time interval (inclusive) during which
+ * the trace data was collected from the application.
+ * @opt_param string pageToken Token identifying the page of results to return.
+ * If provided, use the value of the `next_page_token` field from a previous
+ * request. Optional.
+ * @opt_param string startTime End of the time interval (inclusive) during which
+ * the trace data was collected from the application.
+ * @opt_param int pageSize Maximum number of traces to return. If not specified
+ * or <= 0, the implementation selects a reasonable value. The implementation
+ * may return fewer traces than the requested page size. Optional.
+ * @opt_param string view Type of data returned for traces in the list.
+ * Optional. Default is `MINIMAL`.
+ * @return Google_Service_CloudTrace_ListTracesResponse
+ */
+ public function listProjectsTraces($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudTrace_ListTracesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Trace.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Trace.php
new file mode 100644
index 00000000..f44f3558
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Trace.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudTrace_Trace extends Google_Collection
+{
+ protected $collection_key = 'spans';
+ public $projectId;
+ protected $spansType = 'Google_Service_CloudTrace_TraceSpan';
+ protected $spansDataType = 'array';
+ public $traceId;
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setSpans($spans)
+ {
+ $this->spans = $spans;
+ }
+ public function getSpans()
+ {
+ return $this->spans;
+ }
+ public function setTraceId($traceId)
+ {
+ $this->traceId = $traceId;
+ }
+ public function getTraceId()
+ {
+ return $this->traceId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/TraceSpan.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/TraceSpan.php
new file mode 100644
index 00000000..d14b2f8f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/TraceSpan.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudTrace_TraceSpan extends Google_Model
+{
+ public $endTime;
+ public $kind;
+ public $labels;
+ public $name;
+ public $parentSpanId;
+ public $spanId;
+ public $startTime;
+
+ 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 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 setParentSpanId($parentSpanId)
+ {
+ $this->parentSpanId = $parentSpanId;
+ }
+ public function getParentSpanId()
+ {
+ return $this->parentSpanId;
+ }
+ public function setSpanId($spanId)
+ {
+ $this->spanId = $spanId;
+ }
+ public function getSpanId()
+ {
+ return $this->spanId;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Traces.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Traces.php
new file mode 100644
index 00000000..411f545c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Traces.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudTrace_Traces extends Google_Collection
+{
+ protected $collection_key = 'traces';
+ protected $tracesType = 'Google_Service_CloudTrace_Trace';
+ protected $tracesDataType = 'array';
+
+ public function setTraces($traces)
+ {
+ $this->traces = $traces;
+ }
+ public function getTraces()
+ {
+ return $this->traces;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts.php
new file mode 100644
index 00000000..615084f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts.php
@@ -0,0 +1,514 @@
+<?php
+/*
+ * Copyright 2016 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 CloudUserAccounts (vm_alpha).
+ *
+ * <p>
+ * Creates and manages users and groups for accessing Google Compute Engine
+ * virtual machines.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/compute/docs/access/user-accounts/api/latest/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudUserAccounts extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM_READ_ONLY =
+ "https://www.googleapis.com/auth/cloud-platform.read-only";
+ /** Manage your Google Cloud User Accounts. */
+ const CLOUD_USERACCOUNTS =
+ "https://www.googleapis.com/auth/cloud.useraccounts";
+ /** View your Google Cloud User Accounts. */
+ const CLOUD_USERACCOUNTS_READONLY =
+ "https://www.googleapis.com/auth/cloud.useraccounts.readonly";
+
+ public $globalAccountsOperations;
+ public $groups;
+ public $linux;
+ public $users;
+
+ /**
+ * Constructs the internal representation of the CloudUserAccounts service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'clouduseraccounts/vm_alpha/projects/';
+ $this->version = 'vm_alpha';
+ $this->serviceName = 'clouduseraccounts';
+
+ $this->globalAccountsOperations = new Google_Service_CloudUserAccounts_Resource_GlobalAccountsOperations(
+ $this,
+ $this->serviceName,
+ 'globalAccountsOperations',
+ array(
+ 'methods' => array(
+ '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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->groups = new Google_Service_CloudUserAccounts_Resource_Groups(
+ $this,
+ $this->serviceName,
+ 'groups',
+ array(
+ 'methods' => array(
+ 'addMember' => array(
+ 'path' => '{project}/global/groups/{groupName}/addMember',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'groupName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/global/groups/{groupName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'groupName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/groups/{groupName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'groupName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => '{project}/global/groups/{resource}/getIamPolicy',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/groups',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/groups',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'removeMember' => array(
+ 'path' => '{project}/global/groups/{groupName}/removeMember',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'groupName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => '{project}/global/groups/{resource}/setIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => '{project}/global/groups/{resource}/testIamPermissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->linux = new Google_Service_CloudUserAccounts_Resource_Linux(
+ $this,
+ $this->serviceName,
+ 'linux',
+ array(
+ 'methods' => array(
+ 'getAuthorizedKeysView' => array(
+ 'path' => '{project}/zones/{zone}/authorizedKeysView/{user}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'user' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'login' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'getLinuxAccountViews' => array(
+ 'path' => '{project}/zones/{zone}/linuxAccountViews',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users = new Google_Service_CloudUserAccounts_Resource_Users(
+ $this,
+ $this->serviceName,
+ 'users',
+ array(
+ 'methods' => array(
+ 'addPublicKey' => array(
+ 'path' => '{project}/global/users/{user}/addPublicKey',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'user' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/global/users/{user}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'user' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/users/{user}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'user' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => '{project}/global/users/{resource}/getIamPolicy',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/users',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/users',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'removePublicKey' => array(
+ 'path' => '{project}/global/users/{user}/removePublicKey',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'user' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fingerprint' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => '{project}/global/users/{resource}/setIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => '{project}/global/users/{resource}/testIamPermissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/AuditConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/AuditConfig.php
new file mode 100644
index 00000000..aeef16e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/AuditConfig.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_AuditConfig extends Google_Collection
+{
+ protected $collection_key = 'exemptedMembers';
+ public $exemptedMembers;
+ public $service;
+
+ public function setExemptedMembers($exemptedMembers)
+ {
+ $this->exemptedMembers = $exemptedMembers;
+ }
+ public function getExemptedMembers()
+ {
+ return $this->exemptedMembers;
+ }
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+ public function getService()
+ {
+ return $this->service;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/AuthorizedKeysView.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/AuthorizedKeysView.php
new file mode 100644
index 00000000..839aa89b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/AuthorizedKeysView.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_AuthorizedKeysView extends Google_Collection
+{
+ protected $collection_key = 'keys';
+ public $keys;
+ public $sudoer;
+
+ public function setKeys($keys)
+ {
+ $this->keys = $keys;
+ }
+ public function getKeys()
+ {
+ return $this->keys;
+ }
+ public function setSudoer($sudoer)
+ {
+ $this->sudoer = $sudoer;
+ }
+ public function getSudoer()
+ {
+ return $this->sudoer;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Binding.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Binding.php
new file mode 100644
index 00000000..187630d4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Binding.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_Binding extends Google_Collection
+{
+ protected $collection_key = 'members';
+ public $members;
+ public $role;
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Condition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Condition.php
new file mode 100644
index 00000000..51da8763
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Condition.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_Condition extends Google_Collection
+{
+ protected $collection_key = 'values';
+ public $iam;
+ public $op;
+ public $svc;
+ public $sys;
+ public $value;
+ public $values;
+
+ public function setIam($iam)
+ {
+ $this->iam = $iam;
+ }
+ public function getIam()
+ {
+ return $this->iam;
+ }
+ public function setOp($op)
+ {
+ $this->op = $op;
+ }
+ public function getOp()
+ {
+ return $this->op;
+ }
+ public function setSvc($svc)
+ {
+ $this->svc = $svc;
+ }
+ public function getSvc()
+ {
+ return $this->svc;
+ }
+ public function setSys($sys)
+ {
+ $this->sys = $sys;
+ }
+ public function getSys()
+ {
+ return $this->sys;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Group.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Group.php
new file mode 100644
index 00000000..b7bb5f58
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Group.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_Group extends Google_Collection
+{
+ protected $collection_key = 'members';
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $members;
+ public $name;
+ 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 setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupList.php
new file mode 100644
index 00000000..89e71e64
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_GroupList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_CloudUserAccounts_Group';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupsAddMemberRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupsAddMemberRequest.php
new file mode 100644
index 00000000..7683d8fa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupsAddMemberRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_GroupsAddMemberRequest extends Google_Collection
+{
+ protected $collection_key = 'users';
+ public $users;
+
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupsRemoveMemberRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupsRemoveMemberRequest.php
new file mode 100644
index 00000000..5d5cf7c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupsRemoveMemberRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_GroupsRemoveMemberRequest extends Google_Collection
+{
+ protected $collection_key = 'users';
+ public $users;
+
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxAccountViews.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxAccountViews.php
new file mode 100644
index 00000000..c7498762
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxAccountViews.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_LinuxAccountViews extends Google_Collection
+{
+ protected $collection_key = 'userViews';
+ protected $groupViewsType = 'Google_Service_CloudUserAccounts_LinuxGroupView';
+ protected $groupViewsDataType = 'array';
+ public $kind;
+ protected $userViewsType = 'Google_Service_CloudUserAccounts_LinuxUserView';
+ protected $userViewsDataType = 'array';
+
+ public function setGroupViews($groupViews)
+ {
+ $this->groupViews = $groupViews;
+ }
+ public function getGroupViews()
+ {
+ return $this->groupViews;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUserViews($userViews)
+ {
+ $this->userViews = $userViews;
+ }
+ public function getUserViews()
+ {
+ return $this->userViews;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGetAuthorizedKeysViewResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGetAuthorizedKeysViewResponse.php
new file mode 100644
index 00000000..04442f27
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGetAuthorizedKeysViewResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse extends Google_Model
+{
+ protected $resourceType = 'Google_Service_CloudUserAccounts_AuthorizedKeysView';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_CloudUserAccounts_AuthorizedKeysView $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGetLinuxAccountViewsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGetLinuxAccountViewsResponse.php
new file mode 100644
index 00000000..97979a16
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGetLinuxAccountViewsResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse extends Google_Model
+{
+ protected $resourceType = 'Google_Service_CloudUserAccounts_LinuxAccountViews';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_CloudUserAccounts_LinuxAccountViews $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGroupView.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGroupView.php
new file mode 100644
index 00000000..9faa5af9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGroupView.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_LinuxGroupView extends Google_Collection
+{
+ protected $collection_key = 'members';
+ public $gid;
+ public $groupName;
+ public $members;
+
+ public function setGid($gid)
+ {
+ $this->gid = $gid;
+ }
+ public function getGid()
+ {
+ return $this->gid;
+ }
+ public function setGroupName($groupName)
+ {
+ $this->groupName = $groupName;
+ }
+ public function getGroupName()
+ {
+ return $this->groupName;
+ }
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxUserView.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxUserView.php
new file mode 100644
index 00000000..c1fedb20
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxUserView.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_LinuxUserView extends Google_Model
+{
+ public $gecos;
+ public $gid;
+ public $homeDirectory;
+ public $shell;
+ public $uid;
+ public $username;
+
+ public function setGecos($gecos)
+ {
+ $this->gecos = $gecos;
+ }
+ public function getGecos()
+ {
+ return $this->gecos;
+ }
+ public function setGid($gid)
+ {
+ $this->gid = $gid;
+ }
+ public function getGid()
+ {
+ return $this->gid;
+ }
+ public function setHomeDirectory($homeDirectory)
+ {
+ $this->homeDirectory = $homeDirectory;
+ }
+ public function getHomeDirectory()
+ {
+ return $this->homeDirectory;
+ }
+ public function setShell($shell)
+ {
+ $this->shell = $shell;
+ }
+ public function getShell()
+ {
+ return $this->shell;
+ }
+ public function setUid($uid)
+ {
+ $this->uid = $uid;
+ }
+ public function getUid()
+ {
+ return $this->uid;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LogConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LogConfig.php
new file mode 100644
index 00000000..2b4839e7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LogConfig.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_LogConfig extends Google_Model
+{
+ protected $counterType = 'Google_Service_CloudUserAccounts_LogConfigCounterOptions';
+ protected $counterDataType = '';
+
+ public function setCounter(Google_Service_CloudUserAccounts_LogConfigCounterOptions $counter)
+ {
+ $this->counter = $counter;
+ }
+ public function getCounter()
+ {
+ return $this->counter;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LogConfigCounterOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LogConfigCounterOptions.php
new file mode 100644
index 00000000..4efe7f1f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LogConfigCounterOptions.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_LogConfigCounterOptions extends Google_Model
+{
+ public $field;
+ public $metric;
+
+ public function setField($field)
+ {
+ $this->field = $field;
+ }
+ public function getField()
+ {
+ return $this->field;
+ }
+ public function setMetric($metric)
+ {
+ $this->metric = $metric;
+ }
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Operation.php
new file mode 100644
index 00000000..851faf5e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Operation.php
@@ -0,0 +1,231 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_Operation extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $description;
+ public $endTime;
+ protected $errorType = 'Google_Service_CloudUserAccounts_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 = 'Google_Service_CloudUserAccounts_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 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 setError(Google_Service_CloudUserAccounts_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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationError.php
new file mode 100644
index 00000000..87f1583a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationError.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_OperationError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $errorsType = 'Google_Service_CloudUserAccounts_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationErrorErrors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationErrorErrors.php
new file mode 100644
index 00000000..59fccfb6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationErrorErrors.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_OperationErrorErrors extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationList.php
new file mode 100644
index 00000000..c60b9998
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_OperationList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_CloudUserAccounts_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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationWarnings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationWarnings.php
new file mode 100644
index 00000000..0efbc0ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationWarnings.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_OperationWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = 'Google_Service_CloudUserAccounts_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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationWarningsData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationWarningsData.php
new file mode 100644
index 00000000..f93758cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationWarningsData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_OperationWarningsData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Policy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Policy.php
new file mode 100644
index 00000000..bc8b2b22
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Policy.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_Policy extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $auditConfigsType = 'Google_Service_CloudUserAccounts_AuditConfig';
+ protected $auditConfigsDataType = 'array';
+ protected $bindingsType = 'Google_Service_CloudUserAccounts_Binding';
+ protected $bindingsDataType = 'array';
+ public $etag;
+ public $iamOwned;
+ protected $rulesType = 'Google_Service_CloudUserAccounts_Rule';
+ protected $rulesDataType = 'array';
+ public $version;
+
+ public function setAuditConfigs($auditConfigs)
+ {
+ $this->auditConfigs = $auditConfigs;
+ }
+ public function getAuditConfigs()
+ {
+ return $this->auditConfigs;
+ }
+ public function setBindings($bindings)
+ {
+ $this->bindings = $bindings;
+ }
+ public function getBindings()
+ {
+ return $this->bindings;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setIamOwned($iamOwned)
+ {
+ $this->iamOwned = $iamOwned;
+ }
+ public function getIamOwned()
+ {
+ return $this->iamOwned;
+ }
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/PublicKey.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/PublicKey.php
new file mode 100644
index 00000000..c796f305
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/PublicKey.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_PublicKey extends Google_Model
+{
+ public $creationTimestamp;
+ public $description;
+ public $expirationTimestamp;
+ public $fingerprint;
+ public $key;
+
+ 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 setExpirationTimestamp($expirationTimestamp)
+ {
+ $this->expirationTimestamp = $expirationTimestamp;
+ }
+ public function getExpirationTimestamp()
+ {
+ return $this->expirationTimestamp;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/GlobalAccountsOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/GlobalAccountsOperations.php
new file mode 100644
index 00000000..8291b075
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/GlobalAccountsOperations.php
@@ -0,0 +1,113 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "globalAccountsOperations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);
+ * $globalAccountsOperations = $clouduseraccountsService->globalAccountsOperations;
+ * </code>
+ */
+class Google_Service_CloudUserAccounts_Resource_GlobalAccountsOperations extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified operation resource. (globalAccountsOperations.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $operation Name of the Operations 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. (globalAccountsOperations.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $operation Name of the Operations resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_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), "Google_Service_CloudUserAccounts_Operation");
+ }
+ /**
+ * Retrieves the list of operation resources contained within the specified
+ * project. (globalAccountsOperations.listGlobalAccountsOperations)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
+ * also filter on nested fields. For example, you could filter on instances that
+ * have set the scheduling.automaticRestart field to true. In particular, use
+ * filtering on nested fields to take advantage of instance labels to organize
+ * and filter results based on label values.
+ *
+ * The Beta API also supports filtering on multiple expressions by providing
+ * each separate expression within parentheses. For example,
+ * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
+ * expressions are treated as AND expressions, meaning that resources must match
+ * all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests.
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_CloudUserAccounts_OperationList
+ */
+ public function listGlobalAccountsOperations($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudUserAccounts_OperationList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Groups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Groups.php
new file mode 100644
index 00000000..bdb4be98
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Groups.php
@@ -0,0 +1,206 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "groups" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);
+ * $groups = $clouduseraccountsService->groups;
+ * </code>
+ */
+class Google_Service_CloudUserAccounts_Resource_Groups extends Google_Service_Resource
+{
+ /**
+ * Adds users to the specified group. (groups.addMember)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $groupName Name of the group for this request.
+ * @param Google_Service_CloudUserAccounts_GroupsAddMemberRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function addMember($project, $groupName, Google_Service_CloudUserAccounts_GroupsAddMemberRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addMember', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+ /**
+ * Deletes the specified Group resource. (groups.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $groupName Name of the Group resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function delete($project, $groupName, $optParams = array())
+ {
+ $params = array('project' => $project, 'groupName' => $groupName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+ /**
+ * Returns the specified Group resource. (groups.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $groupName Name of the Group resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Group
+ */
+ public function get($project, $groupName, $optParams = array())
+ {
+ $params = array('project' => $project, 'groupName' => $groupName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudUserAccounts_Group");
+ }
+ /**
+ * Gets the access control policy for a resource. May be empty if no such policy
+ * or resource exists. (groups.getIamPolicy)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $resource Name of the resource for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Policy
+ */
+ public function getIamPolicy($project, $resource, $optParams = array())
+ {
+ $params = array('project' => $project, 'resource' => $resource);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy");
+ }
+ /**
+ * Creates a Group resource in the specified project using the data included in
+ * the request. (groups.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_CloudUserAccounts_Group $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function insert($project, Google_Service_CloudUserAccounts_Group $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+ /**
+ * Retrieves the list of groups contained within the specified project.
+ * (groups.listGroups)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
+ * also filter on nested fields. For example, you could filter on instances that
+ * have set the scheduling.automaticRestart field to true. In particular, use
+ * filtering on nested fields to take advantage of instance labels to organize
+ * and filter results based on label values.
+ *
+ * The Beta API also supports filtering on multiple expressions by providing
+ * each separate expression within parentheses. For example,
+ * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
+ * expressions are treated as AND expressions, meaning that resources must match
+ * all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests.
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_CloudUserAccounts_GroupList
+ */
+ public function listGroups($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudUserAccounts_GroupList");
+ }
+ /**
+ * Removes users from the specified group. (groups.removeMember)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $groupName Name of the group for this request.
+ * @param Google_Service_CloudUserAccounts_GroupsRemoveMemberRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function removeMember($project, $groupName, Google_Service_CloudUserAccounts_GroupsRemoveMemberRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeMember', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+ /**
+ * Sets the access control policy on the specified resource. Replaces any
+ * existing policy. (groups.setIamPolicy)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $resource Name of the resource for this request.
+ * @param Google_Service_CloudUserAccounts_Policy $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Policy
+ */
+ public function setIamPolicy($project, $resource, Google_Service_CloudUserAccounts_Policy $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy");
+ }
+ /**
+ * Returns permissions that a caller has on the specified resource.
+ * (groups.testIamPermissions)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $resource Name of the resource for this request.
+ * @param Google_Service_CloudUserAccounts_TestPermissionsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_TestPermissionsResponse
+ */
+ public function testIamPermissions($project, $resource, Google_Service_CloudUserAccounts_TestPermissionsRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_CloudUserAccounts_TestPermissionsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Linux.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Linux.php
new file mode 100644
index 00000000..b43fd1d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Linux.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "linux" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);
+ * $linux = $clouduseraccountsService->linux;
+ * </code>
+ */
+class Google_Service_CloudUserAccounts_Resource_Linux extends Google_Service_Resource
+{
+ /**
+ * Returns a list of authorized public keys for a specific user account.
+ * (linux.getAuthorizedKeysView)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for this request.
+ * @param string $user The user account for which you want to get a list of
+ * authorized public keys.
+ * @param string $instance The fully-qualified URL of the virtual machine
+ * requesting the view.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool login Whether the view was requested as part of a user-
+ * initiated login.
+ * @return Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse
+ */
+ public function getAuthorizedKeysView($project, $zone, $user, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'user' => $user, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('getAuthorizedKeysView', array($params), "Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse");
+ }
+ /**
+ * Retrieves a list of user accounts for an instance within a specific project.
+ * (linux.getLinuxAccountViews)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for this request.
+ * @param string $instance The fully-qualified URL of the virtual machine
+ * requesting the views.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
+ * also filter on nested fields. For example, you could filter on instances that
+ * have set the scheduling.automaticRestart field to true. In particular, use
+ * filtering on nested fields to take advantage of instance labels to organize
+ * and filter results based on label values.
+ *
+ * The Beta API also supports filtering on multiple expressions by providing
+ * each separate expression within parentheses. For example,
+ * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
+ * expressions are treated as AND expressions, meaning that resources must match
+ * all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests.
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse
+ */
+ public function getLinuxAccountViews($project, $zone, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('getLinuxAccountViews', array($params), "Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Users.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Users.php
new file mode 100644
index 00000000..39756972
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Users.php
@@ -0,0 +1,209 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);
+ * $users = $clouduseraccountsService->users;
+ * </code>
+ */
+class Google_Service_CloudUserAccounts_Resource_Users extends Google_Service_Resource
+{
+ /**
+ * Adds a public key to the specified User resource with the data included in
+ * the request. (users.addPublicKey)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $user Name of the user for this request.
+ * @param Google_Service_CloudUserAccounts_PublicKey $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function addPublicKey($project, $user, Google_Service_CloudUserAccounts_PublicKey $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'user' => $user, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addPublicKey', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+ /**
+ * Deletes the specified User resource. (users.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $user Name of the user resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function delete($project, $user, $optParams = array())
+ {
+ $params = array('project' => $project, 'user' => $user);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+ /**
+ * Returns the specified User resource. (users.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $user Name of the user resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_User
+ */
+ public function get($project, $user, $optParams = array())
+ {
+ $params = array('project' => $project, 'user' => $user);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudUserAccounts_User");
+ }
+ /**
+ * Gets the access control policy for a resource. May be empty if no such policy
+ * or resource exists. (users.getIamPolicy)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $resource Name of the resource for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Policy
+ */
+ public function getIamPolicy($project, $resource, $optParams = array())
+ {
+ $params = array('project' => $project, 'resource' => $resource);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy");
+ }
+ /**
+ * Creates a User resource in the specified project using the data included in
+ * the request. (users.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_CloudUserAccounts_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function insert($project, Google_Service_CloudUserAccounts_User $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+ /**
+ * Retrieves a list of users contained within the specified project.
+ * (users.listUsers)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
+ * also filter on nested fields. For example, you could filter on instances that
+ * have set the scheduling.automaticRestart field to true. In particular, use
+ * filtering on nested fields to take advantage of instance labels to organize
+ * and filter results based on label values.
+ *
+ * The Beta API also supports filtering on multiple expressions by providing
+ * each separate expression within parentheses. For example,
+ * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
+ * expressions are treated as AND expressions, meaning that resources must match
+ * all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests.
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_CloudUserAccounts_UserList
+ */
+ public function listUsers($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudUserAccounts_UserList");
+ }
+ /**
+ * Removes the specified public key from the user. (users.removePublicKey)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $user Name of the user for this request.
+ * @param string $fingerprint The fingerprint of the public key to delete.
+ * Public keys are identified by their fingerprint, which is defined by RFC4716
+ * to be the MD5 digest of the public key.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function removePublicKey($project, $user, $fingerprint, $optParams = array())
+ {
+ $params = array('project' => $project, 'user' => $user, 'fingerprint' => $fingerprint);
+ $params = array_merge($params, $optParams);
+ return $this->call('removePublicKey', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+ /**
+ * Sets the access control policy on the specified resource. Replaces any
+ * existing policy. (users.setIamPolicy)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $resource Name of the resource for this request.
+ * @param Google_Service_CloudUserAccounts_Policy $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Policy
+ */
+ public function setIamPolicy($project, $resource, Google_Service_CloudUserAccounts_Policy $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy");
+ }
+ /**
+ * Returns permissions that a caller has on the specified resource.
+ * (users.testIamPermissions)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $resource Name of the resource for this request.
+ * @param Google_Service_CloudUserAccounts_TestPermissionsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_TestPermissionsResponse
+ */
+ public function testIamPermissions($project, $resource, Google_Service_CloudUserAccounts_TestPermissionsRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_CloudUserAccounts_TestPermissionsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Rule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Rule.php
new file mode 100644
index 00000000..8f68ad31
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Rule.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_Rule extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $action;
+ protected $conditionsType = 'Google_Service_CloudUserAccounts_Condition';
+ protected $conditionsDataType = 'array';
+ public $description;
+ public $ins;
+ protected $logConfigsType = 'Google_Service_CloudUserAccounts_LogConfig';
+ protected $logConfigsDataType = 'array';
+ public $notIns;
+ public $permissions;
+
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setConditions($conditions)
+ {
+ $this->conditions = $conditions;
+ }
+ public function getConditions()
+ {
+ return $this->conditions;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setIns($ins)
+ {
+ $this->ins = $ins;
+ }
+ public function getIns()
+ {
+ return $this->ins;
+ }
+ public function setLogConfigs($logConfigs)
+ {
+ $this->logConfigs = $logConfigs;
+ }
+ public function getLogConfigs()
+ {
+ return $this->logConfigs;
+ }
+ public function setNotIns($notIns)
+ {
+ $this->notIns = $notIns;
+ }
+ public function getNotIns()
+ {
+ return $this->notIns;
+ }
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/TestPermissionsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/TestPermissionsRequest.php
new file mode 100644
index 00000000..23f1e843
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/TestPermissionsRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_TestPermissionsRequest extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/TestPermissionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/TestPermissionsResponse.php
new file mode 100644
index 00000000..96307a87
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/TestPermissionsResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_TestPermissionsResponse extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/User.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/User.php
new file mode 100644
index 00000000..06de7d06
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/User.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_User extends Google_Collection
+{
+ protected $collection_key = 'publicKeys';
+ public $creationTimestamp;
+ public $description;
+ public $groups;
+ public $id;
+ public $kind;
+ public $name;
+ public $owner;
+ protected $publicKeysType = 'Google_Service_CloudUserAccounts_PublicKey';
+ protected $publicKeysDataType = 'array';
+ 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 setGroups($groups)
+ {
+ $this->groups = $groups;
+ }
+ public function getGroups()
+ {
+ return $this->groups;
+ }
+ 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 setOwner($owner)
+ {
+ $this->owner = $owner;
+ }
+ public function getOwner()
+ {
+ return $this->owner;
+ }
+ public function setPublicKeys($publicKeys)
+ {
+ $this->publicKeys = $publicKeys;
+ }
+ public function getPublicKeys()
+ {
+ return $this->publicKeys;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/UserList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/UserList.php
new file mode 100644
index 00000000..14ca859d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/UserList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_CloudUserAccounts_UserList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_CloudUserAccounts_User';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling.php
new file mode 100644
index 00000000..8ee068d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling.php
@@ -0,0 +1,147 @@
+<?php
+/*
+ * Copyright 2016 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 Cloudbilling (v1).
+ *
+ * <p>
+ * Allows developers to manage billing for their Google Cloud Platform projects
+ * programmatically.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/billing/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Cloudbilling extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $billingAccounts;
+ public $billingAccounts_projects;
+ public $projects;
+
+ /**
+ * Constructs the internal representation of the Cloudbilling service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://cloudbilling.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'cloudbilling';
+
+ $this->billingAccounts = new Google_Service_Cloudbilling_Resource_BillingAccounts(
+ $this,
+ $this->serviceName,
+ 'billingAccounts',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/billingAccounts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->billingAccounts_projects = new Google_Service_Cloudbilling_Resource_BillingAccountsProjects(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1/{+name}/projects',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects = new Google_Service_Cloudbilling_Resource_Projects(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'getBillingInfo' => array(
+ 'path' => 'v1/{+name}/billingInfo',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'updateBillingInfo' => array(
+ 'path' => 'v1/{+name}/billingInfo',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/BillingAccount.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/BillingAccount.php
new file mode 100644
index 00000000..89fee313
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/BillingAccount.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Cloudbilling_BillingAccount extends Google_Model
+{
+ public $displayName;
+ public $name;
+ public $open;
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOpen($open)
+ {
+ $this->open = $open;
+ }
+ public function getOpen()
+ {
+ return $this->open;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ListBillingAccountsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ListBillingAccountsResponse.php
new file mode 100644
index 00000000..79165eb4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ListBillingAccountsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Cloudbilling_ListBillingAccountsResponse extends Google_Collection
+{
+ protected $collection_key = 'billingAccounts';
+ protected $billingAccountsType = 'Google_Service_Cloudbilling_BillingAccount';
+ protected $billingAccountsDataType = 'array';
+ public $nextPageToken;
+
+ public function setBillingAccounts($billingAccounts)
+ {
+ $this->billingAccounts = $billingAccounts;
+ }
+ public function getBillingAccounts()
+ {
+ return $this->billingAccounts;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ListProjectBillingInfoResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ListProjectBillingInfoResponse.php
new file mode 100644
index 00000000..0b7ff5ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ListProjectBillingInfoResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Cloudbilling_ListProjectBillingInfoResponse extends Google_Collection
+{
+ protected $collection_key = 'projectBillingInfo';
+ public $nextPageToken;
+ protected $projectBillingInfoType = 'Google_Service_Cloudbilling_ProjectBillingInfo';
+ protected $projectBillingInfoDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setProjectBillingInfo($projectBillingInfo)
+ {
+ $this->projectBillingInfo = $projectBillingInfo;
+ }
+ public function getProjectBillingInfo()
+ {
+ return $this->projectBillingInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ProjectBillingInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ProjectBillingInfo.php
new file mode 100644
index 00000000..09e2e0fb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ProjectBillingInfo.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Cloudbilling_ProjectBillingInfo extends Google_Model
+{
+ public $billingAccountName;
+ public $billingEnabled;
+ public $name;
+ public $projectId;
+
+ public function setBillingAccountName($billingAccountName)
+ {
+ $this->billingAccountName = $billingAccountName;
+ }
+ public function getBillingAccountName()
+ {
+ return $this->billingAccountName;
+ }
+ public function setBillingEnabled($billingEnabled)
+ {
+ $this->billingEnabled = $billingEnabled;
+ }
+ public function getBillingEnabled()
+ {
+ return $this->billingEnabled;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/BillingAccounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/BillingAccounts.php
new file mode 100644
index 00000000..3adfa84d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/BillingAccounts.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "billingAccounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudbillingService = new Google_Service_Cloudbilling(...);
+ * $billingAccounts = $cloudbillingService->billingAccounts;
+ * </code>
+ */
+class Google_Service_Cloudbilling_Resource_BillingAccounts extends Google_Service_Resource
+{
+ /**
+ * Gets information about a billing account. The current authenticated user must
+ * be an [owner of the billing
+ * account](https://support.google.com/cloud/answer/4430947).
+ * (billingAccounts.get)
+ *
+ * @param string $name The resource name of the billing account to retrieve. For
+ * example, `billingAccounts/012345-567890-ABCDEF`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Cloudbilling_BillingAccount
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Cloudbilling_BillingAccount");
+ }
+ /**
+ * Lists the billing accounts that the current authenticated user
+ * [owns](https://support.google.com/cloud/answer/4430947).
+ * (billingAccounts.listBillingAccounts)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Requested page size. The maximum page size is 100;
+ * this is also the default.
+ * @opt_param string pageToken A token identifying a page of results to return.
+ * This should be a `next_page_token` value returned from a previous
+ * `ListBillingAccounts` call. If unspecified, the first page of results is
+ * returned.
+ * @return Google_Service_Cloudbilling_ListBillingAccountsResponse
+ */
+ public function listBillingAccounts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Cloudbilling_ListBillingAccountsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/BillingAccountsProjects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/BillingAccountsProjects.php
new file mode 100644
index 00000000..7cd8ce59
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/BillingAccountsProjects.php
@@ -0,0 +1,53 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudbillingService = new Google_Service_Cloudbilling(...);
+ * $projects = $cloudbillingService->projects;
+ * </code>
+ */
+class Google_Service_Cloudbilling_Resource_BillingAccountsProjects extends Google_Service_Resource
+{
+ /**
+ * Lists the projects associated with a billing account. The current
+ * authenticated user must be an [owner of the billing
+ * account](https://support.google.com/cloud/answer/4430947).
+ * (projects.listBillingAccountsProjects)
+ *
+ * @param string $name The resource name of the billing account associated with
+ * the projects that you want to list. For example,
+ * `billingAccounts/012345-567890-ABCDEF`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Requested page size. The maximum page size is 100;
+ * this is also the default.
+ * @opt_param string pageToken A token identifying a page of results to be
+ * returned. This should be a `next_page_token` value returned from a previous
+ * `ListProjectBillingInfo` call. If unspecified, the first page of results is
+ * returned.
+ * @return Google_Service_Cloudbilling_ListProjectBillingInfoResponse
+ */
+ public function listBillingAccountsProjects($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Cloudbilling_ListProjectBillingInfoResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/Projects.php
new file mode 100644
index 00000000..222ebccf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/Projects.php
@@ -0,0 +1,89 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudbillingService = new Google_Service_Cloudbilling(...);
+ * $projects = $cloudbillingService->projects;
+ * </code>
+ */
+class Google_Service_Cloudbilling_Resource_Projects extends Google_Service_Resource
+{
+ /**
+ * Gets the billing information for a project. The current authenticated user
+ * must have [permission to view the project](https://cloud.google.com/docs
+ * /permissions-overview#h.bgs0oxofvnoo ). (projects.getBillingInfo)
+ *
+ * @param string $name The resource name of the project for which billing
+ * information is retrieved. For example, `projects/tokyo-rain-123`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Cloudbilling_ProjectBillingInfo
+ */
+ public function getBillingInfo($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('getBillingInfo', array($params), "Google_Service_Cloudbilling_ProjectBillingInfo");
+ }
+ /**
+ * Sets or updates the billing account associated with a project. You specify
+ * the new billing account by setting the `billing_account_name` in the
+ * `ProjectBillingInfo` resource to the resource name of a billing account.
+ * Associating a project with an open billing account enables billing on the
+ * project and allows charges for resource usage. If the project already had a
+ * billing account, this method changes the billing account used for resource
+ * usage charges.
+ *
+ * *Note:* Incurred charges that have not yet been reported in the transaction
+ * history of the Google Cloud Console may be billed to the new billing account,
+ * even if the charge occurred before the new billing account was assigned to
+ * the project.
+ *
+ * The current authenticated user must have ownership privileges for both the
+ * [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo )
+ * and the [billing account](https://support.google.com/cloud/answer/4430947).
+ *
+ * You can disable billing on the project by setting the `billing_account_name`
+ * field to empty. This action disassociates the current billing account from
+ * the project. Any billable activity of your in-use services will stop, and
+ * your application could stop functioning as expected. Any unbilled charges to
+ * date will be billed to the previously associated account. The current
+ * authenticated user must be either an owner of the project or an owner of the
+ * billing account for the project.
+ *
+ * Note that associating a project with a *closed* billing account will have
+ * much the same effect as disabling billing on the project: any paid resources
+ * used by the project will be shut down. Thus, unless you wish to disable
+ * billing, you should always call this method with the name of an *open*
+ * billing account. (projects.updateBillingInfo)
+ *
+ * @param string $name The resource name of the project associated with the
+ * billing information that you want to update. For example, `projects/tokyo-
+ * rain-123`.
+ * @param Google_Service_Cloudbilling_ProjectBillingInfo $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Cloudbilling_ProjectBillingInfo
+ */
+ public function updateBillingInfo($name, Google_Service_Cloudbilling_ProjectBillingInfo $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateBillingInfo', array($params), "Google_Service_Cloudbilling_ProjectBillingInfo");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting.php
new file mode 100644
index 00000000..fce44e1b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting.php
@@ -0,0 +1,231 @@
+<?php
+/*
+ * Copyright 2016 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 Clouderrorreporting (v1beta1).
+ *
+ * <p>
+ * Stackdriver Error Reporting groups and counts similar errors from cloud
+ * services. The Stackdriver Error Reporting API provides a way to report new
+ * errors and read access to error groups and their associated errors.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/error-reporting/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Clouderrorreporting extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $projects;
+ public $projects_events;
+ public $projects_groupStats;
+ public $projects_groups;
+
+ /**
+ * Constructs the internal representation of the Clouderrorreporting service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://clouderrorreporting.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1beta1';
+ $this->serviceName = 'clouderrorreporting';
+
+ $this->projects = new Google_Service_Clouderrorreporting_Resource_Projects(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'deleteEvents' => array(
+ 'path' => 'v1beta1/{+projectName}/events',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'projectName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_events = new Google_Service_Clouderrorreporting_Resource_ProjectsEvents(
+ $this,
+ $this->serviceName,
+ 'events',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1beta1/{+projectName}/events',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'groupId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'serviceFilter.service' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'serviceFilter.version' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'serviceFilter.resourceType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeRange.period' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'report' => array(
+ 'path' => 'v1beta1/{+projectName}/events:report',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_groupStats = new Google_Service_Clouderrorreporting_Resource_ProjectsGroupStats(
+ $this,
+ $this->serviceName,
+ 'groupStats',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1beta1/{+projectName}/groupStats',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'timedCountDuration' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeRange.period' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'alignment' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'groupId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'serviceFilter.service' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'serviceFilter.version' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'order' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'serviceFilter.resourceType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'alignmentTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_groups = new Google_Service_Clouderrorreporting_Resource_ProjectsGroups(
+ $this,
+ $this->serviceName,
+ 'groups',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1beta1/{+groupName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'groupName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v1beta1/{+name}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/DeleteEventsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/DeleteEventsResponse.php
new file mode 100644
index 00000000..967bddb6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/DeleteEventsResponse.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Clouderrorreporting_DeleteEventsResponse extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorContext.php
new file mode 100644
index 00000000..adc0b5f5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorContext.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Clouderrorreporting_ErrorContext extends Google_Model
+{
+ protected $httpRequestType = 'Google_Service_Clouderrorreporting_HttpRequestContext';
+ protected $httpRequestDataType = '';
+ protected $reportLocationType = 'Google_Service_Clouderrorreporting_SourceLocation';
+ protected $reportLocationDataType = '';
+ public $user;
+
+ public function setHttpRequest(Google_Service_Clouderrorreporting_HttpRequestContext $httpRequest)
+ {
+ $this->httpRequest = $httpRequest;
+ }
+ public function getHttpRequest()
+ {
+ return $this->httpRequest;
+ }
+ public function setReportLocation(Google_Service_Clouderrorreporting_SourceLocation $reportLocation)
+ {
+ $this->reportLocation = $reportLocation;
+ }
+ public function getReportLocation()
+ {
+ return $this->reportLocation;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorEvent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorEvent.php
new file mode 100644
index 00000000..762f70d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorEvent.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Clouderrorreporting_ErrorEvent extends Google_Model
+{
+ protected $contextType = 'Google_Service_Clouderrorreporting_ErrorContext';
+ protected $contextDataType = '';
+ public $eventTime;
+ public $message;
+ protected $serviceContextType = 'Google_Service_Clouderrorreporting_ServiceContext';
+ protected $serviceContextDataType = '';
+
+ public function setContext(Google_Service_Clouderrorreporting_ErrorContext $context)
+ {
+ $this->context = $context;
+ }
+ public function getContext()
+ {
+ return $this->context;
+ }
+ public function setEventTime($eventTime)
+ {
+ $this->eventTime = $eventTime;
+ }
+ public function getEventTime()
+ {
+ return $this->eventTime;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+ public function setServiceContext(Google_Service_Clouderrorreporting_ServiceContext $serviceContext)
+ {
+ $this->serviceContext = $serviceContext;
+ }
+ public function getServiceContext()
+ {
+ return $this->serviceContext;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorGroup.php
new file mode 100644
index 00000000..b31a8f56
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorGroup.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Clouderrorreporting_ErrorGroup extends Google_Collection
+{
+ protected $collection_key = 'trackingIssues';
+ public $groupId;
+ public $name;
+ protected $trackingIssuesType = 'Google_Service_Clouderrorreporting_TrackingIssue';
+ protected $trackingIssuesDataType = 'array';
+
+ public function setGroupId($groupId)
+ {
+ $this->groupId = $groupId;
+ }
+ public function getGroupId()
+ {
+ return $this->groupId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setTrackingIssues($trackingIssues)
+ {
+ $this->trackingIssues = $trackingIssues;
+ }
+ public function getTrackingIssues()
+ {
+ return $this->trackingIssues;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorGroupStats.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorGroupStats.php
new file mode 100644
index 00000000..d02e9ace
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorGroupStats.php
@@ -0,0 +1,107 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Clouderrorreporting_ErrorGroupStats extends Google_Collection
+{
+ protected $collection_key = 'timedCounts';
+ protected $affectedServicesType = 'Google_Service_Clouderrorreporting_ServiceContext';
+ protected $affectedServicesDataType = 'array';
+ public $affectedUsersCount;
+ public $count;
+ public $firstSeenTime;
+ protected $groupType = 'Google_Service_Clouderrorreporting_ErrorGroup';
+ protected $groupDataType = '';
+ public $lastSeenTime;
+ public $numAffectedServices;
+ protected $representativeType = 'Google_Service_Clouderrorreporting_ErrorEvent';
+ protected $representativeDataType = '';
+ protected $timedCountsType = 'Google_Service_Clouderrorreporting_TimedCount';
+ protected $timedCountsDataType = 'array';
+
+ public function setAffectedServices($affectedServices)
+ {
+ $this->affectedServices = $affectedServices;
+ }
+ public function getAffectedServices()
+ {
+ return $this->affectedServices;
+ }
+ public function setAffectedUsersCount($affectedUsersCount)
+ {
+ $this->affectedUsersCount = $affectedUsersCount;
+ }
+ public function getAffectedUsersCount()
+ {
+ return $this->affectedUsersCount;
+ }
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setFirstSeenTime($firstSeenTime)
+ {
+ $this->firstSeenTime = $firstSeenTime;
+ }
+ public function getFirstSeenTime()
+ {
+ return $this->firstSeenTime;
+ }
+ public function setGroup(Google_Service_Clouderrorreporting_ErrorGroup $group)
+ {
+ $this->group = $group;
+ }
+ public function getGroup()
+ {
+ return $this->group;
+ }
+ public function setLastSeenTime($lastSeenTime)
+ {
+ $this->lastSeenTime = $lastSeenTime;
+ }
+ public function getLastSeenTime()
+ {
+ return $this->lastSeenTime;
+ }
+ public function setNumAffectedServices($numAffectedServices)
+ {
+ $this->numAffectedServices = $numAffectedServices;
+ }
+ public function getNumAffectedServices()
+ {
+ return $this->numAffectedServices;
+ }
+ public function setRepresentative(Google_Service_Clouderrorreporting_ErrorEvent $representative)
+ {
+ $this->representative = $representative;
+ }
+ public function getRepresentative()
+ {
+ return $this->representative;
+ }
+ public function setTimedCounts($timedCounts)
+ {
+ $this->timedCounts = $timedCounts;
+ }
+ public function getTimedCounts()
+ {
+ return $this->timedCounts;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/HttpRequestContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/HttpRequestContext.php
new file mode 100644
index 00000000..ef8c0125
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/HttpRequestContext.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Clouderrorreporting_HttpRequestContext extends Google_Model
+{
+ public $method;
+ public $referrer;
+ public $remoteIp;
+ public $responseStatusCode;
+ public $url;
+ public $userAgent;
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+ public function setReferrer($referrer)
+ {
+ $this->referrer = $referrer;
+ }
+ public function getReferrer()
+ {
+ return $this->referrer;
+ }
+ public function setRemoteIp($remoteIp)
+ {
+ $this->remoteIp = $remoteIp;
+ }
+ public function getRemoteIp()
+ {
+ return $this->remoteIp;
+ }
+ public function setResponseStatusCode($responseStatusCode)
+ {
+ $this->responseStatusCode = $responseStatusCode;
+ }
+ public function getResponseStatusCode()
+ {
+ return $this->responseStatusCode;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setUserAgent($userAgent)
+ {
+ $this->userAgent = $userAgent;
+ }
+ public function getUserAgent()
+ {
+ return $this->userAgent;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ListEventsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ListEventsResponse.php
new file mode 100644
index 00000000..8081c8b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ListEventsResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Clouderrorreporting_ListEventsResponse extends Google_Collection
+{
+ protected $collection_key = 'errorEvents';
+ protected $errorEventsType = 'Google_Service_Clouderrorreporting_ErrorEvent';
+ protected $errorEventsDataType = 'array';
+ public $nextPageToken;
+ public $timeRangeBegin;
+
+ public function setErrorEvents($errorEvents)
+ {
+ $this->errorEvents = $errorEvents;
+ }
+ public function getErrorEvents()
+ {
+ return $this->errorEvents;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTimeRangeBegin($timeRangeBegin)
+ {
+ $this->timeRangeBegin = $timeRangeBegin;
+ }
+ public function getTimeRangeBegin()
+ {
+ return $this->timeRangeBegin;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ListGroupStatsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ListGroupStatsResponse.php
new file mode 100644
index 00000000..a1339e0e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ListGroupStatsResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Clouderrorreporting_ListGroupStatsResponse extends Google_Collection
+{
+ protected $collection_key = 'errorGroupStats';
+ protected $errorGroupStatsType = 'Google_Service_Clouderrorreporting_ErrorGroupStats';
+ protected $errorGroupStatsDataType = 'array';
+ public $nextPageToken;
+ public $timeRangeBegin;
+
+ public function setErrorGroupStats($errorGroupStats)
+ {
+ $this->errorGroupStats = $errorGroupStats;
+ }
+ public function getErrorGroupStats()
+ {
+ return $this->errorGroupStats;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTimeRangeBegin($timeRangeBegin)
+ {
+ $this->timeRangeBegin = $timeRangeBegin;
+ }
+ public function getTimeRangeBegin()
+ {
+ return $this->timeRangeBegin;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ReportErrorEventResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ReportErrorEventResponse.php
new file mode 100644
index 00000000..84b4ae18
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ReportErrorEventResponse.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Clouderrorreporting_ReportErrorEventResponse extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ReportedErrorEvent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ReportedErrorEvent.php
new file mode 100644
index 00000000..a2508456
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ReportedErrorEvent.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Clouderrorreporting_ReportedErrorEvent extends Google_Model
+{
+ protected $contextType = 'Google_Service_Clouderrorreporting_ErrorContext';
+ protected $contextDataType = '';
+ public $eventTime;
+ public $message;
+ protected $serviceContextType = 'Google_Service_Clouderrorreporting_ServiceContext';
+ protected $serviceContextDataType = '';
+
+ public function setContext(Google_Service_Clouderrorreporting_ErrorContext $context)
+ {
+ $this->context = $context;
+ }
+ public function getContext()
+ {
+ return $this->context;
+ }
+ public function setEventTime($eventTime)
+ {
+ $this->eventTime = $eventTime;
+ }
+ public function getEventTime()
+ {
+ return $this->eventTime;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+ public function setServiceContext(Google_Service_Clouderrorreporting_ServiceContext $serviceContext)
+ {
+ $this->serviceContext = $serviceContext;
+ }
+ public function getServiceContext()
+ {
+ return $this->serviceContext;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/Projects.php
new file mode 100644
index 00000000..2d656604
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/Projects.php
@@ -0,0 +1,44 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $clouderrorreportingService = new Google_Service_Clouderrorreporting(...);
+ * $projects = $clouderrorreportingService->projects;
+ * </code>
+ */
+class Google_Service_Clouderrorreporting_Resource_Projects extends Google_Service_Resource
+{
+ /**
+ * Deletes all error events of a given project. (projects.deleteEvents)
+ *
+ * @param string $projectName [Required] The resource name of the Google Cloud
+ * Platform project. Written as `projects/` plus the [Google Cloud Platform
+ * project ID](https://support.google.com/cloud/answer/6158840). Example:
+ * `projects/my-project-123`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Clouderrorreporting_DeleteEventsResponse
+ */
+ public function deleteEvents($projectName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteEvents', array($params), "Google_Service_Clouderrorreporting_DeleteEventsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsEvents.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsEvents.php
new file mode 100644
index 00000000..dd6ef5ae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsEvents.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "events" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $clouderrorreportingService = new Google_Service_Clouderrorreporting(...);
+ * $events = $clouderrorreportingService->events;
+ * </code>
+ */
+class Google_Service_Clouderrorreporting_Resource_ProjectsEvents extends Google_Service_Resource
+{
+ /**
+ * Lists the specified events. (events.listProjectsEvents)
+ *
+ * @param string $projectName [Required] The resource name of the Google Cloud
+ * Platform project. Written as `projects/` plus the [Google Cloud Platform
+ * project ID](https://support.google.com/cloud/answer/6158840). Example:
+ * `projects/my-project-123`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string groupId [Required] The group for which events shall be
+ * returned.
+ * @opt_param string pageToken [Optional] A `next_page_token` provided by a
+ * previous response.
+ * @opt_param string serviceFilter.service [Optional] The exact value to match
+ * against [`ServiceContext.service`](/error-
+ * reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
+ * @opt_param int pageSize [Optional] The maximum number of results to return
+ * per response.
+ * @opt_param string serviceFilter.version [Optional] The exact value to match
+ * against [`ServiceContext.version`](/error-
+ * reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
+ * @opt_param string serviceFilter.resourceType [Optional] The exact value to
+ * match against [`ServiceContext.resource_type`](/error-
+ * reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
+ * @opt_param string timeRange.period Restricts the query to the specified time
+ * range.
+ * @return Google_Service_Clouderrorreporting_ListEventsResponse
+ */
+ public function listProjectsEvents($projectName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Clouderrorreporting_ListEventsResponse");
+ }
+ /**
+ * Report an individual error event.
+ *
+ * This endpoint accepts either an OAuth token, or an API key for
+ * authentication. To use an API key, append it to the URL as the value of a
+ * `key` parameter. For example: POST
+ * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-
+ * project/events:report?key=123ABC456 (events.report)
+ *
+ * @param string $projectName [Required] The resource name of the Google Cloud
+ * Platform project. Written as `projects/` plus the [Google Cloud Platform
+ * project ID](https://support.google.com/cloud/answer/6158840). Example:
+ * `projects/my-project-123`.
+ * @param Google_Service_Clouderrorreporting_ReportedErrorEvent $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Clouderrorreporting_ReportErrorEventResponse
+ */
+ public function report($projectName, Google_Service_Clouderrorreporting_ReportedErrorEvent $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('report', array($params), "Google_Service_Clouderrorreporting_ReportErrorEventResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsGroupStats.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsGroupStats.php
new file mode 100644
index 00000000..d1787fd0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsGroupStats.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "groupStats" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $clouderrorreportingService = new Google_Service_Clouderrorreporting(...);
+ * $groupStats = $clouderrorreportingService->groupStats;
+ * </code>
+ */
+class Google_Service_Clouderrorreporting_Resource_ProjectsGroupStats extends Google_Service_Resource
+{
+ /**
+ * Lists the specified groups. (groupStats.listProjectsGroupStats)
+ *
+ * @param string $projectName [Required] The resource name of the Google Cloud
+ * Platform project. Written as projects/ plus the Google Cloud Platform project
+ * ID.
+ *
+ * Example: projects/my-project-123.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string timedCountDuration [Optional] The preferred duration for a
+ * single returned `TimedCount`. If not set, no timed counts are returned.
+ * @opt_param string pageToken [Optional] A `next_page_token` provided by a
+ * previous response. To view additional results, pass this token along with the
+ * identical query parameters as the first request.
+ * @opt_param string timeRange.period Restricts the query to the specified time
+ * range.
+ * @opt_param string alignment [Optional] The alignment of the timed counts to
+ * be returned. Default is `ALIGNMENT_EQUAL_AT_END`.
+ * @opt_param string groupId [Optional] List all ErrorGroupStats with these IDs.
+ * @opt_param string serviceFilter.service [Optional] The exact value to match
+ * against [`ServiceContext.service`](/error-
+ * reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
+ * @opt_param int pageSize [Optional] The maximum number of results to return
+ * per response. Default is 20.
+ * @opt_param string serviceFilter.version [Optional] The exact value to match
+ * against [`ServiceContext.version`](/error-
+ * reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
+ * @opt_param string order [Optional] The sort order in which the results are
+ * returned. Default is `COUNT_DESC`.
+ * @opt_param string serviceFilter.resourceType [Optional] The exact value to
+ * match against [`ServiceContext.resource_type`](/error-
+ * reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
+ * @opt_param string alignmentTime [Optional] Time where the timed counts shall
+ * be aligned if rounded alignment is chosen. Default is 00:00 UTC.
+ * @return Google_Service_Clouderrorreporting_ListGroupStatsResponse
+ */
+ public function listProjectsGroupStats($projectName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Clouderrorreporting_ListGroupStatsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsGroups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsGroups.php
new file mode 100644
index 00000000..a75d8a28
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsGroups.php
@@ -0,0 +1,62 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "groups" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $clouderrorreportingService = new Google_Service_Clouderrorreporting(...);
+ * $groups = $clouderrorreportingService->groups;
+ * </code>
+ */
+class Google_Service_Clouderrorreporting_Resource_ProjectsGroups extends Google_Service_Resource
+{
+ /**
+ * Get the specified group. (groups.get)
+ *
+ * @param string $groupName [Required] The group resource name. Written as
+ * projects/projectID/groups/group_name. Call
+ *
+ * groupStats.list to return a list of groups belonging to this project.
+ *
+ * Example: projects/my-project-123/groups/my-group
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Clouderrorreporting_ErrorGroup
+ */
+ public function get($groupName, $optParams = array())
+ {
+ $params = array('groupName' => $groupName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Clouderrorreporting_ErrorGroup");
+ }
+ /**
+ * Replace the data for the specified group. Fails if the group does not exist.
+ * (groups.update)
+ *
+ * @param string $name The group resource name. Example: projects/my-
+ * project-123/groups/my-groupid
+ * @param Google_Service_Clouderrorreporting_ErrorGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Clouderrorreporting_ErrorGroup
+ */
+ public function update($name, Google_Service_Clouderrorreporting_ErrorGroup $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Clouderrorreporting_ErrorGroup");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ServiceContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ServiceContext.php
new file mode 100644
index 00000000..5c421858
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ServiceContext.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Clouderrorreporting_ServiceContext extends Google_Model
+{
+ public $resourceType;
+ public $service;
+ public $version;
+
+ public function setResourceType($resourceType)
+ {
+ $this->resourceType = $resourceType;
+ }
+ public function getResourceType()
+ {
+ return $this->resourceType;
+ }
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+ public function getService()
+ {
+ return $this->service;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/SourceLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/SourceLocation.php
new file mode 100644
index 00000000..0af36afa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/SourceLocation.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Clouderrorreporting_SourceLocation extends Google_Model
+{
+ public $filePath;
+ public $functionName;
+ public $lineNumber;
+
+ public function setFilePath($filePath)
+ {
+ $this->filePath = $filePath;
+ }
+ public function getFilePath()
+ {
+ return $this->filePath;
+ }
+ public function setFunctionName($functionName)
+ {
+ $this->functionName = $functionName;
+ }
+ public function getFunctionName()
+ {
+ return $this->functionName;
+ }
+ public function setLineNumber($lineNumber)
+ {
+ $this->lineNumber = $lineNumber;
+ }
+ public function getLineNumber()
+ {
+ return $this->lineNumber;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/TimedCount.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/TimedCount.php
new file mode 100644
index 00000000..81bb63ae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/TimedCount.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Clouderrorreporting_TimedCount extends Google_Model
+{
+ public $count;
+ public $endTime;
+ public $startTime;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/TrackingIssue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/TrackingIssue.php
new file mode 100644
index 00000000..d6595405
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/TrackingIssue.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Clouderrorreporting_TrackingIssue extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest.php
new file mode 100644
index 00000000..c33743ab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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 Cloudlatencytest (v2).
+ *
+ * <p>
+ * Reports latency data.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Cloudlatencytest extends 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 $statscollection;
+
+ /**
+ * Constructs the internal representation of the Cloudlatencytest service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://cloudlatencytest-pa.googleapis.com/';
+ $this->servicePath = 'v2/statscollection/';
+ $this->version = 'v2';
+ $this->serviceName = 'cloudlatencytest';
+
+ $this->statscollection = new Google_Service_Cloudlatencytest_StatscollectionResource(
+ $this,
+ $this->serviceName,
+ 'statscollection',
+ array(
+ 'methods' => array(
+ 'updateaggregatedstats' => array(
+ 'path' => 'updateaggregatedstats',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'updatestats' => array(
+ 'path' => 'updatestats',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/AggregatedStats.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/AggregatedStats.php
new file mode 100644
index 00000000..94d7d0af
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/AggregatedStats.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Cloudlatencytest_AggregatedStats extends Google_Collection
+{
+ protected $collection_key = 'stats';
+ protected $statsType = 'Google_Service_Cloudlatencytest_Stats';
+ protected $statsDataType = 'array';
+
+ public function setStats($stats)
+ {
+ $this->stats = $stats;
+ }
+ public function getStats()
+ {
+ return $this->stats;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/AggregatedStatsReply.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/AggregatedStatsReply.php
new file mode 100644
index 00000000..41230f5b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/AggregatedStatsReply.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Cloudlatencytest_AggregatedStatsReply extends Google_Model
+{
+ public $testValue;
+
+ public function setTestValue($testValue)
+ {
+ $this->testValue = $testValue;
+ }
+ public function getTestValue()
+ {
+ return $this->testValue;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/DoubleValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/DoubleValue.php
new file mode 100644
index 00000000..02ec2e2f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/DoubleValue.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Cloudlatencytest_DoubleValue extends Google_Model
+{
+ public $label;
+ public $value;
+
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/IntValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/IntValue.php
new file mode 100644
index 00000000..53c5b93e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/IntValue.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Cloudlatencytest_IntValue extends Google_Model
+{
+ public $label;
+ public $value;
+
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/Stats.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/Stats.php
new file mode 100644
index 00000000..51e62a7e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/Stats.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Cloudlatencytest_Stats extends Google_Collection
+{
+ protected $collection_key = 'stringValues';
+ protected $doubleValuesType = 'Google_Service_Cloudlatencytest_DoubleValue';
+ protected $doubleValuesDataType = 'array';
+ protected $intValuesType = 'Google_Service_Cloudlatencytest_IntValue';
+ protected $intValuesDataType = 'array';
+ protected $stringValuesType = 'Google_Service_Cloudlatencytest_StringValue';
+ protected $stringValuesDataType = 'array';
+ public $time;
+
+ public function setDoubleValues($doubleValues)
+ {
+ $this->doubleValues = $doubleValues;
+ }
+ public function getDoubleValues()
+ {
+ return $this->doubleValues;
+ }
+ public function setIntValues($intValues)
+ {
+ $this->intValues = $intValues;
+ }
+ public function getIntValues()
+ {
+ return $this->intValues;
+ }
+ public function setStringValues($stringValues)
+ {
+ $this->stringValues = $stringValues;
+ }
+ public function getStringValues()
+ {
+ return $this->stringValues;
+ }
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+ public function getTime()
+ {
+ return $this->time;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StatsReply.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StatsReply.php
new file mode 100644
index 00000000..238ae50e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StatsReply.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Cloudlatencytest_StatsReply extends Google_Model
+{
+ public $testValue;
+
+ public function setTestValue($testValue)
+ {
+ $this->testValue = $testValue;
+ }
+ public function getTestValue()
+ {
+ return $this->testValue;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StatscollectionResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StatscollectionResource.php
new file mode 100644
index 00000000..3f9b41d3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StatscollectionResource.php
@@ -0,0 +1,54 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "statscollection" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudlatencytestService = new Google_Service_Cloudlatencytest(...);
+ * $statscollection = $cloudlatencytestService->statscollection;
+ * </code>
+ */
+class Google_Service_Cloudlatencytest_StatscollectionResource extends Google_Service_Resource
+{
+ /**
+ * RPC to update the new TCP stats. (statscollection.updateaggregatedstats)
+ *
+ * @param Google_Service_Cloudlatencytest_AggregatedStats $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Cloudlatencytest_AggregatedStatsReply
+ */
+ public function updateaggregatedstats(Google_Service_Cloudlatencytest_AggregatedStats $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateaggregatedstats', array($params), "Google_Service_Cloudlatencytest_AggregatedStatsReply");
+ }
+ /**
+ * RPC to update the new TCP stats. (statscollection.updatestats)
+ *
+ * @param Google_Service_Cloudlatencytest_Stats $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Cloudlatencytest_StatsReply
+ */
+ public function updatestats(Google_Service_Cloudlatencytest_Stats $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updatestats', array($params), "Google_Service_Cloudlatencytest_StatsReply");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StringValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StringValue.php
new file mode 100644
index 00000000..2d79f3ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StringValue.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Cloudlatencytest_StringValue extends Google_Model
+{
+ public $label;
+ public $value;
+
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute.php
new file mode 100644
index 00000000..15627e1f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute.php
@@ -0,0 +1,5692 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Creates and runs virtual machines on Google Cloud Platform.</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 Google_Service_Compute extends 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";
+ /** 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 $autoscalers;
+ public $backendBuckets;
+ public $backendServices;
+ public $diskTypes;
+ public $disks;
+ public $firewalls;
+ public $forwardingRules;
+ public $globalAddresses;
+ public $globalForwardingRules;
+ public $globalOperations;
+ public $healthChecks;
+ public $httpHealthChecks;
+ public $httpsHealthChecks;
+ public $images;
+ public $instanceGroupManagers;
+ public $instanceGroups;
+ public $instanceTemplates;
+ public $instances;
+ public $licenses;
+ public $machineTypes;
+ public $networks;
+ public $projects;
+ public $regionAutoscalers;
+ public $regionBackendServices;
+ public $regionInstanceGroupManagers;
+ public $regionInstanceGroups;
+ public $regionOperations;
+ public $regions;
+ public $routers;
+ public $routes;
+ public $snapshots;
+ public $sslCertificates;
+ public $subnetworks;
+ public $targetHttpProxies;
+ public $targetHttpsProxies;
+ public $targetInstances;
+ public $targetPools;
+ public $targetSslProxies;
+ public $targetVpnGateways;
+ public $urlMaps;
+ public $vpnTunnels;
+ public $zoneOperations;
+ public $zones;
+
+ /**
+ * Constructs the internal representation of the Compute service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'compute/v1/projects/';
+ $this->version = 'v1';
+ $this->serviceName = 'compute';
+
+ $this->addresses = new Google_Service_Compute_Resource_Addresses(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->autoscalers = new Google_Service_Compute_Resource_Autoscalers(
+ $this,
+ $this->serviceName,
+ 'autoscalers',
+ array(
+ 'methods' => array(
+ 'aggregatedList' => array(
+ 'path' => '{project}/aggregated/autoscalers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{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' => '{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' => '{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' => '{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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{project}/zones/{zone}/autoscalers',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{project}/zones/{zone}/autoscalers',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->backendBuckets = new Google_Service_Compute_Resource_BackendBuckets(
+ $this,
+ $this->serviceName,
+ 'backendBuckets',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/backendBuckets/{backendBucket}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backendBucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/backendBuckets/{backendBucket}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backendBucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/backendBuckets',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/backendBuckets',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{project}/global/backendBuckets/{backendBucket}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backendBucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{project}/global/backendBuckets/{backendBucket}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backendBucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->backendServices = new Google_Service_Compute_Resource_BackendServices(
+ $this,
+ $this->serviceName,
+ 'backendServices',
+ array(
+ 'methods' => array(
+ 'aggregatedList' => array(
+ 'path' => '{project}/aggregated/backendServices',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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 Google_Service_Compute_Resource_DiskTypes(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->disks = new Google_Service_Compute_Resource_Disks(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ 'guestFlush' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'resize' => array(
+ 'path' => '{project}/zones/{zone}/disks/{disk}/resize',
+ '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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->firewalls = new Google_Service_Compute_Resource_Firewalls(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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 Google_Service_Compute_Resource_ForwardingRules(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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 Google_Service_Compute_Resource_GlobalAddresses(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->globalForwardingRules = new Google_Service_Compute_Resource_GlobalForwardingRules(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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 Google_Service_Compute_Resource_GlobalOperations(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->healthChecks = new Google_Service_Compute_Resource_HealthChecks(
+ $this,
+ $this->serviceName,
+ 'healthChecks',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/healthChecks/{healthCheck}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'healthCheck' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/healthChecks/{healthCheck}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'healthCheck' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/healthChecks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/healthChecks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{project}/global/healthChecks/{healthCheck}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'healthCheck' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{project}/global/healthChecks/{healthCheck}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'healthCheck' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->httpHealthChecks = new Google_Service_Compute_Resource_HttpHealthChecks(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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->httpsHealthChecks = new Google_Service_Compute_Resource_HttpsHealthChecks(
+ $this,
+ $this->serviceName,
+ 'httpsHealthChecks',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'httpsHealthCheck' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'httpsHealthCheck' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/httpsHealthChecks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/httpsHealthChecks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'httpsHealthCheck' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'httpsHealthCheck' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->images = new Google_Service_Compute_Resource_Images(
+ $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,
+ ),
+ ),
+ ),'getFromFamily' => array(
+ 'path' => '{project}/global/images/family/{family}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'family' => 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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->instanceGroupManagers = new Google_Service_Compute_Resource_InstanceGroupManagers(
+ $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,
+ ),
+ ),
+ ),'aggregatedList' => array(
+ 'path' => '{project}/aggregated/instanceGroupManagers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ ),
+ ),'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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listManagedInstances' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances',
+ '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,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'order_by' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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->instanceGroups = new Google_Service_Compute_Resource_InstanceGroups(
+ $this,
+ $this->serviceName,
+ 'instanceGroups',
+ array(
+ 'methods' => array(
+ 'addInstances' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroup' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'aggregatedList' => array(
+ 'path' => '{project}/aggregated/instanceGroups',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroup' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroup' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroups',
+ '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}/instanceGroups',
+ '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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listInstances' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroup' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'removeInstances' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroup' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setNamedPorts' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroup' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->instanceTemplates = new Google_Service_Compute_Resource_InstanceTemplates(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->instances = new Google_Service_Compute_Resource_Instances(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ 'port' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ ),
+ ),'setMachineType' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}/setMachineType',
+ '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,
+ ),
+ ),
+ ),'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,
+ ),
+ ),
+ ),'setServiceAccount' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}/setServiceAccount',
+ '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,
+ ),
+ ),
+ ),'start' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}/start',
+ '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,
+ ),
+ ),
+ ),'startWithEncryptionKey' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey',
+ '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,
+ ),
+ ),
+ ),'stop' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}/stop',
+ '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 Google_Service_Compute_Resource_Licenses(
+ $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 Google_Service_Compute_Resource_MachineTypes(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->networks = new Google_Service_Compute_Resource_Networks(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'switchToCustomMode' => array(
+ 'path' => '{project}/global/networks/{network}/switchToCustomMode',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'network' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects = new Google_Service_Compute_Resource_Projects(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{project}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'moveDisk' => array(
+ 'path' => '{project}/moveDisk',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'moveInstance' => array(
+ 'path' => '{project}/moveInstance',
+ 'httpMethod' => 'POST',
+ '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->regionAutoscalers = new Google_Service_Compute_Resource_RegionAutoscalers(
+ $this,
+ $this->serviceName,
+ 'regionAutoscalers',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/regions/{region}/autoscalers/{autoscaler}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/regions/{region}/autoscalers/{autoscaler}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/regions/{region}/autoscalers',
+ '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}/autoscalers',
+ '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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{project}/regions/{region}/autoscalers',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{project}/regions/{region}/autoscalers',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->regionBackendServices = new Google_Service_Compute_Resource_RegionBackendServices(
+ $this,
+ $this->serviceName,
+ 'regionBackendServices',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/regions/{region}/backendServices/{backendService}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backendService' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/regions/{region}/backendServices/{backendService}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backendService' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getHealth' => array(
+ 'path' => '{project}/regions/{region}/backendServices/{backendService}/getHealth',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backendService' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/regions/{region}/backendServices',
+ '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}/backendServices',
+ '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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{project}/regions/{region}/backendServices/{backendService}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backendService' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{project}/regions/{region}/backendServices/{backendService}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backendService' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->regionInstanceGroupManagers = new Google_Service_Compute_Resource_RegionInstanceGroupManagers(
+ $this,
+ $this->serviceName,
+ 'regionInstanceGroupManagers',
+ array(
+ 'methods' => array(
+ 'abandonInstances' => array(
+ 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'deleteInstances' => array(
+ 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/regions/{region}/instanceGroupManagers',
+ '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}/instanceGroupManagers',
+ '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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listManagedInstances' => array(
+ 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'order_by' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'recreateInstances' => array(
+ 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'resize' => array(
+ 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => 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}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setTargetPools' => array(
+ 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->regionInstanceGroups = new Google_Service_Compute_Resource_RegionInstanceGroups(
+ $this,
+ $this->serviceName,
+ 'regionInstanceGroups',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{project}/regions/{region}/instanceGroups/{instanceGroup}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroup' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/regions/{region}/instanceGroups',
+ '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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listInstances' => array(
+ 'path' => '{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroup' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'setNamedPorts' => array(
+ 'path' => '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroup' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->regionOperations = new Google_Service_Compute_Resource_RegionOperations(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->regions = new Google_Service_Compute_Resource_Regions(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->routers = new Google_Service_Compute_Resource_Routers(
+ $this,
+ $this->serviceName,
+ 'routers',
+ array(
+ 'methods' => array(
+ 'aggregatedList' => array(
+ 'path' => '{project}/aggregated/routers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/regions/{region}/routers/{router}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'router' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/regions/{region}/routers/{router}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'router' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getRouterStatus' => array(
+ 'path' => '{project}/regions/{region}/routers/{router}/getRouterStatus',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'router' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/regions/{region}/routers',
+ '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}/routers',
+ '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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{project}/regions/{region}/routers/{router}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'router' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'preview' => array(
+ 'path' => '{project}/regions/{region}/routers/{router}/preview',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'router' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{project}/regions/{region}/routers/{router}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'router' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->routes = new Google_Service_Compute_Resource_Routes(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->snapshots = new Google_Service_Compute_Resource_Snapshots(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->sslCertificates = new Google_Service_Compute_Resource_SslCertificates(
+ $this,
+ $this->serviceName,
+ 'sslCertificates',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/sslCertificates/{sslCertificate}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sslCertificate' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/sslCertificates/{sslCertificate}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sslCertificate' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/sslCertificates',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/sslCertificates',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->subnetworks = new Google_Service_Compute_Resource_Subnetworks(
+ $this,
+ $this->serviceName,
+ 'subnetworks',
+ array(
+ 'methods' => array(
+ 'aggregatedList' => array(
+ 'path' => '{project}/aggregated/subnetworks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/regions/{region}/subnetworks/{subnetwork}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subnetwork' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'expandIpCidrRange' => array(
+ 'path' => '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subnetwork' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/regions/{region}/subnetworks/{subnetwork}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subnetwork' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/regions/{region}/subnetworks',
+ '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}/subnetworks',
+ '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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->targetHttpProxies = new Google_Service_Compute_Resource_TargetHttpProxies(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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->targetHttpsProxies = new Google_Service_Compute_Resource_TargetHttpsProxies(
+ $this,
+ $this->serviceName,
+ 'targetHttpsProxies',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/targetHttpsProxies/{targetHttpsProxy}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetHttpsProxy' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/targetHttpsProxies/{targetHttpsProxy}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetHttpsProxy' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/targetHttpsProxies',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/targetHttpsProxies',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'setSslCertificates' => array(
+ 'path' => '{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetHttpsProxy' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setUrlMap' => array(
+ 'path' => '{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetHttpsProxy' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->targetInstances = new Google_Service_Compute_Resource_TargetInstances(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->targetPools = new Google_Service_Compute_Resource_TargetPools(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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->targetSslProxies = new Google_Service_Compute_Resource_TargetSslProxies(
+ $this,
+ $this->serviceName,
+ 'targetSslProxies',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/targetSslProxies/{targetSslProxy}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetSslProxy' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/targetSslProxies/{targetSslProxy}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetSslProxy' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/targetSslProxies',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/targetSslProxies',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'setBackendService' => array(
+ 'path' => '{project}/global/targetSslProxies/{targetSslProxy}/setBackendService',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetSslProxy' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setProxyHeader' => array(
+ 'path' => '{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetSslProxy' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setSslCertificates' => array(
+ 'path' => '{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetSslProxy' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->targetVpnGateways = new Google_Service_Compute_Resource_TargetVpnGateways(
+ $this,
+ $this->serviceName,
+ 'targetVpnGateways',
+ array(
+ 'methods' => array(
+ 'aggregatedList' => array(
+ 'path' => '{project}/aggregated/targetVpnGateways',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetVpnGateway' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetVpnGateway' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/regions/{region}/targetVpnGateways',
+ '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}/targetVpnGateways',
+ '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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->urlMaps = new Google_Service_Compute_Resource_UrlMaps(
+ $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,
+ ),
+ ),
+ ),'invalidateCache' => array(
+ 'path' => '{project}/global/urlMaps/{urlMap}/invalidateCache',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'urlMap' => 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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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->vpnTunnels = new Google_Service_Compute_Resource_VpnTunnels(
+ $this,
+ $this->serviceName,
+ 'vpnTunnels',
+ array(
+ 'methods' => array(
+ 'aggregatedList' => array(
+ 'path' => '{project}/aggregated/vpnTunnels',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/regions/{region}/vpnTunnels/{vpnTunnel}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'vpnTunnel' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/regions/{region}/vpnTunnels/{vpnTunnel}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'vpnTunnel' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/regions/{region}/vpnTunnels',
+ '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}/vpnTunnels',
+ '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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->zoneOperations = new Google_Service_Compute_Resource_ZoneOperations(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->zones = new Google_Service_Compute_Resource_Zones(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AccessConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AccessConfig.php
new file mode 100644
index 00000000..a016c52e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AccessConfig.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AccessConfig extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Address.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Address.php
new file mode 100644
index 00000000..0c8773cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Address.php
@@ -0,0 +1,112 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Address extends Google_Collection
+{
+ protected $collection_key = 'users';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressAggregatedList.php
new file mode 100644
index 00000000..99fbc3c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AddressAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressList.php
new file mode 100644
index 00000000..2bb8cc9c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AddressList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedList.php
new file mode 100644
index 00000000..2789ebb4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AddressesScopedList extends Google_Collection
+{
+ protected $collection_key = 'addresses';
+ protected $addressesType = 'Google_Service_Compute_Address';
+ protected $addressesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_AddressesScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setAddresses($addresses)
+ {
+ $this->addresses = $addresses;
+ }
+ public function getAddresses()
+ {
+ return $this->addresses;
+ }
+ public function setWarning(Google_Service_Compute_AddressesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedListWarning.php
new file mode 100644
index 00000000..4638a137
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AddressesScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedListWarningData.php
new file mode 100644
index 00000000..825996cf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AddressesScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AttachedDisk.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AttachedDisk.php
new file mode 100644
index 00000000..a8f994c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AttachedDisk.php
@@ -0,0 +1,132 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AttachedDisk extends Google_Collection
+{
+ protected $collection_key = 'licenses';
+ public $autoDelete;
+ public $boot;
+ public $deviceName;
+ protected $diskEncryptionKeyType = 'Google_Service_Compute_CustomerEncryptionKey';
+ protected $diskEncryptionKeyDataType = '';
+ public $index;
+ protected $initializeParamsType = '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 setDiskEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $diskEncryptionKey)
+ {
+ $this->diskEncryptionKey = $diskEncryptionKey;
+ }
+ public function getDiskEncryptionKey()
+ {
+ return $this->diskEncryptionKey;
+ }
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+ public function setInitializeParams(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AttachedDiskInitializeParams.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AttachedDiskInitializeParams.php
new file mode 100644
index 00000000..90f8f752
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AttachedDiskInitializeParams.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AttachedDiskInitializeParams extends Google_Model
+{
+ public $diskName;
+ public $diskSizeGb;
+ public $diskType;
+ public $sourceImage;
+ protected $sourceImageEncryptionKeyType = 'Google_Service_Compute_CustomerEncryptionKey';
+ protected $sourceImageEncryptionKeyDataType = '';
+
+ 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;
+ }
+ public function setSourceImageEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $sourceImageEncryptionKey)
+ {
+ $this->sourceImageEncryptionKey = $sourceImageEncryptionKey;
+ }
+ public function getSourceImageEncryptionKey()
+ {
+ return $this->sourceImageEncryptionKey;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Autoscaler.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Autoscaler.php
new file mode 100644
index 00000000..f60faf8a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Autoscaler.php
@@ -0,0 +1,112 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Autoscaler extends Google_Model
+{
+ protected $autoscalingPolicyType = 'Google_Service_Compute_AutoscalingPolicy';
+ protected $autoscalingPolicyDataType = '';
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $region;
+ public $selfLink;
+ public $target;
+ public $zone;
+
+ public function setAutoscalingPolicy(Google_Service_Compute_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 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;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalerAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalerAggregatedList.php
new file mode 100644
index 00000000..9d980f2c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalerAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AutoscalerAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_AutoscalersScopedList';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalerList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalerList.php
new file mode 100644
index 00000000..30c52054
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalerList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AutoscalerList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_Autoscaler';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedList.php
new file mode 100644
index 00000000..41f1be32
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AutoscalersScopedList extends Google_Collection
+{
+ protected $collection_key = 'autoscalers';
+ protected $autoscalersType = 'Google_Service_Compute_Autoscaler';
+ protected $autoscalersDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_AutoscalersScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setAutoscalers($autoscalers)
+ {
+ $this->autoscalers = $autoscalers;
+ }
+ public function getAutoscalers()
+ {
+ return $this->autoscalers;
+ }
+ public function setWarning(Google_Service_Compute_AutoscalersScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedListWarning.php
new file mode 100644
index 00000000..7471eda9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AutoscalersScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = 'Google_Service_Compute_AutoscalersScopedListWarningData';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedListWarningData.php
new file mode 100644
index 00000000..d6139c26
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AutoscalersScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicy.php
new file mode 100644
index 00000000..80ba5188
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicy.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AutoscalingPolicy extends Google_Collection
+{
+ protected $collection_key = 'customMetricUtilizations';
+ public $coolDownPeriodSec;
+ protected $cpuUtilizationType = 'Google_Service_Compute_AutoscalingPolicyCpuUtilization';
+ protected $cpuUtilizationDataType = '';
+ protected $customMetricUtilizationsType = 'Google_Service_Compute_AutoscalingPolicyCustomMetricUtilization';
+ protected $customMetricUtilizationsDataType = 'array';
+ protected $loadBalancingUtilizationType = 'Google_Service_Compute_AutoscalingPolicyLoadBalancingUtilization';
+ protected $loadBalancingUtilizationDataType = '';
+ public $maxNumReplicas;
+ public $minNumReplicas;
+
+ public function setCoolDownPeriodSec($coolDownPeriodSec)
+ {
+ $this->coolDownPeriodSec = $coolDownPeriodSec;
+ }
+ public function getCoolDownPeriodSec()
+ {
+ return $this->coolDownPeriodSec;
+ }
+ public function setCpuUtilization(Google_Service_Compute_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(Google_Service_Compute_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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyCpuUtilization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyCpuUtilization.php
new file mode 100644
index 00000000..e528d597
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyCpuUtilization.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AutoscalingPolicyCpuUtilization extends Google_Model
+{
+ public $utilizationTarget;
+
+ public function setUtilizationTarget($utilizationTarget)
+ {
+ $this->utilizationTarget = $utilizationTarget;
+ }
+ public function getUtilizationTarget()
+ {
+ return $this->utilizationTarget;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyCustomMetricUtilization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyCustomMetricUtilization.php
new file mode 100644
index 00000000..c733d3da
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyCustomMetricUtilization.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AutoscalingPolicyCustomMetricUtilization extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyLoadBalancingUtilization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyLoadBalancingUtilization.php
new file mode 100644
index 00000000..f52e3e67
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyLoadBalancingUtilization.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_AutoscalingPolicyLoadBalancingUtilization extends Google_Model
+{
+ public $utilizationTarget;
+
+ public function setUtilizationTarget($utilizationTarget)
+ {
+ $this->utilizationTarget = $utilizationTarget;
+ }
+ public function getUtilizationTarget()
+ {
+ return $this->utilizationTarget;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Backend.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Backend.php
new file mode 100644
index 00000000..77240d08
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Backend.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Backend extends Google_Model
+{
+ public $balancingMode;
+ public $capacityScaler;
+ public $description;
+ public $group;
+ public $maxConnections;
+ public $maxConnectionsPerInstance;
+ 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 setMaxConnections($maxConnections)
+ {
+ $this->maxConnections = $maxConnections;
+ }
+ public function getMaxConnections()
+ {
+ return $this->maxConnections;
+ }
+ public function setMaxConnectionsPerInstance($maxConnectionsPerInstance)
+ {
+ $this->maxConnectionsPerInstance = $maxConnectionsPerInstance;
+ }
+ public function getMaxConnectionsPerInstance()
+ {
+ return $this->maxConnectionsPerInstance;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendBucket.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendBucket.php
new file mode 100644
index 00000000..b0c1811b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendBucket.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_BackendBucket extends Google_Model
+{
+ public $bucketName;
+ public $creationTimestamp;
+ public $description;
+ public $enableCdn;
+ public $id;
+ public $kind;
+ public $name;
+ public $selfLink;
+
+ public function setBucketName($bucketName)
+ {
+ $this->bucketName = $bucketName;
+ }
+ public function getBucketName()
+ {
+ return $this->bucketName;
+ }
+ 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 setEnableCdn($enableCdn)
+ {
+ $this->enableCdn = $enableCdn;
+ }
+ public function getEnableCdn()
+ {
+ return $this->enableCdn;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendBucketList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendBucketList.php
new file mode 100644
index 00000000..dfad709e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendBucketList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_BackendBucketList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_BackendBucket';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendService.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendService.php
new file mode 100644
index 00000000..0ac30517
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendService.php
@@ -0,0 +1,195 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_BackendService extends Google_Collection
+{
+ protected $collection_key = 'healthChecks';
+ public $affinityCookieTtlSec;
+ protected $backendsType = 'Google_Service_Compute_Backend';
+ protected $backendsDataType = 'array';
+ protected $connectionDrainingType = 'Google_Service_Compute_ConnectionDraining';
+ protected $connectionDrainingDataType = '';
+ public $creationTimestamp;
+ public $description;
+ public $enableCDN;
+ public $fingerprint;
+ public $healthChecks;
+ public $id;
+ public $kind;
+ public $loadBalancingScheme;
+ public $name;
+ public $port;
+ public $portName;
+ public $protocol;
+ public $region;
+ public $selfLink;
+ public $sessionAffinity;
+ public $timeoutSec;
+
+ public function setAffinityCookieTtlSec($affinityCookieTtlSec)
+ {
+ $this->affinityCookieTtlSec = $affinityCookieTtlSec;
+ }
+ public function getAffinityCookieTtlSec()
+ {
+ return $this->affinityCookieTtlSec;
+ }
+ public function setBackends($backends)
+ {
+ $this->backends = $backends;
+ }
+ public function getBackends()
+ {
+ return $this->backends;
+ }
+ public function setConnectionDraining(Google_Service_Compute_ConnectionDraining $connectionDraining)
+ {
+ $this->connectionDraining = $connectionDraining;
+ }
+ public function getConnectionDraining()
+ {
+ return $this->connectionDraining;
+ }
+ 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 setEnableCDN($enableCDN)
+ {
+ $this->enableCDN = $enableCDN;
+ }
+ public function getEnableCDN()
+ {
+ return $this->enableCDN;
+ }
+ 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 setLoadBalancingScheme($loadBalancingScheme)
+ {
+ $this->loadBalancingScheme = $loadBalancingScheme;
+ }
+ public function getLoadBalancingScheme()
+ {
+ return $this->loadBalancingScheme;
+ }
+ 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 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;
+ }
+ public function setTimeoutSec($timeoutSec)
+ {
+ $this->timeoutSec = $timeoutSec;
+ }
+ public function getTimeoutSec()
+ {
+ return $this->timeoutSec;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceAggregatedList.php
new file mode 100644
index 00000000..c84b4081
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_BackendServiceAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_BackendServicesScopedList';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceGroupHealth.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceGroupHealth.php
new file mode 100644
index 00000000..e748b062
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceGroupHealth.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_BackendServiceGroupHealth extends Google_Collection
+{
+ protected $collection_key = 'healthStatus';
+ protected $healthStatusType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceList.php
new file mode 100644
index 00000000..c0800a67
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_BackendServiceList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedList.php
new file mode 100644
index 00000000..2ac8c28a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_BackendServicesScopedList extends Google_Collection
+{
+ protected $collection_key = 'backendServices';
+ protected $backendServicesType = 'Google_Service_Compute_BackendService';
+ protected $backendServicesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_BackendServicesScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setBackendServices($backendServices)
+ {
+ $this->backendServices = $backendServices;
+ }
+ public function getBackendServices()
+ {
+ return $this->backendServices;
+ }
+ public function setWarning(Google_Service_Compute_BackendServicesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedListWarning.php
new file mode 100644
index 00000000..87b27240
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_BackendServicesScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = 'Google_Service_Compute_BackendServicesScopedListWarningData';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedListWarningData.php
new file mode 100644
index 00000000..a3e254cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_BackendServicesScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CacheInvalidationRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CacheInvalidationRule.php
new file mode 100644
index 00000000..f4cf93be
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CacheInvalidationRule.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_CacheInvalidationRule extends Google_Model
+{
+ public $host;
+ public $path;
+
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ConnectionDraining.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ConnectionDraining.php
new file mode 100644
index 00000000..21a63afd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ConnectionDraining.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_ConnectionDraining extends Google_Model
+{
+ public $drainingTimeoutSec;
+
+ public function setDrainingTimeoutSec($drainingTimeoutSec)
+ {
+ $this->drainingTimeoutSec = $drainingTimeoutSec;
+ }
+ public function getDrainingTimeoutSec()
+ {
+ return $this->drainingTimeoutSec;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CustomerEncryptionKey.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CustomerEncryptionKey.php
new file mode 100644
index 00000000..423e6d12
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CustomerEncryptionKey.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_CustomerEncryptionKey extends Google_Model
+{
+ public $rawKey;
+ public $sha256;
+
+ public function setRawKey($rawKey)
+ {
+ $this->rawKey = $rawKey;
+ }
+ public function getRawKey()
+ {
+ return $this->rawKey;
+ }
+ public function setSha256($sha256)
+ {
+ $this->sha256 = $sha256;
+ }
+ public function getSha256()
+ {
+ return $this->sha256;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CustomerEncryptionKeyProtectedDisk.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CustomerEncryptionKeyProtectedDisk.php
new file mode 100644
index 00000000..91203db0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CustomerEncryptionKeyProtectedDisk.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_CustomerEncryptionKeyProtectedDisk extends Google_Model
+{
+ protected $diskEncryptionKeyType = 'Google_Service_Compute_CustomerEncryptionKey';
+ protected $diskEncryptionKeyDataType = '';
+ public $source;
+
+ public function setDiskEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $diskEncryptionKey)
+ {
+ $this->diskEncryptionKey = $diskEncryptionKey;
+ }
+ public function getDiskEncryptionKey()
+ {
+ return $this->diskEncryptionKey;
+ }
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DeprecationStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DeprecationStatus.php
new file mode 100644
index 00000000..90c0e85f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DeprecationStatus.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_DeprecationStatus extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Disk.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Disk.php
new file mode 100644
index 00000000..58c2e3ae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Disk.php
@@ -0,0 +1,223 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Disk extends Google_Collection
+{
+ protected $collection_key = 'users';
+ public $creationTimestamp;
+ public $description;
+ protected $diskEncryptionKeyType = 'Google_Service_Compute_CustomerEncryptionKey';
+ protected $diskEncryptionKeyDataType = '';
+ public $id;
+ public $kind;
+ public $lastAttachTimestamp;
+ public $lastDetachTimestamp;
+ public $licenses;
+ public $name;
+ public $options;
+ public $selfLink;
+ public $sizeGb;
+ public $sourceImage;
+ protected $sourceImageEncryptionKeyType = 'Google_Service_Compute_CustomerEncryptionKey';
+ protected $sourceImageEncryptionKeyDataType = '';
+ public $sourceImageId;
+ public $sourceSnapshot;
+ protected $sourceSnapshotEncryptionKeyType = 'Google_Service_Compute_CustomerEncryptionKey';
+ protected $sourceSnapshotEncryptionKeyDataType = '';
+ public $sourceSnapshotId;
+ public $status;
+ public $type;
+ public $users;
+ 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 setDiskEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $diskEncryptionKey)
+ {
+ $this->diskEncryptionKey = $diskEncryptionKey;
+ }
+ public function getDiskEncryptionKey()
+ {
+ return $this->diskEncryptionKey;
+ }
+ 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 setLastAttachTimestamp($lastAttachTimestamp)
+ {
+ $this->lastAttachTimestamp = $lastAttachTimestamp;
+ }
+ public function getLastAttachTimestamp()
+ {
+ return $this->lastAttachTimestamp;
+ }
+ public function setLastDetachTimestamp($lastDetachTimestamp)
+ {
+ $this->lastDetachTimestamp = $lastDetachTimestamp;
+ }
+ public function getLastDetachTimestamp()
+ {
+ return $this->lastDetachTimestamp;
+ }
+ 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 setSourceImageEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $sourceImageEncryptionKey)
+ {
+ $this->sourceImageEncryptionKey = $sourceImageEncryptionKey;
+ }
+ public function getSourceImageEncryptionKey()
+ {
+ return $this->sourceImageEncryptionKey;
+ }
+ 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 setSourceSnapshotEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $sourceSnapshotEncryptionKey)
+ {
+ $this->sourceSnapshotEncryptionKey = $sourceSnapshotEncryptionKey;
+ }
+ public function getSourceSnapshotEncryptionKey()
+ {
+ return $this->sourceSnapshotEncryptionKey;
+ }
+ 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 setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskAggregatedList.php
new file mode 100644
index 00000000..77707292
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_DiskAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskList.php
new file mode 100644
index 00000000..5cc85b9f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_DiskList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskMoveRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskMoveRequest.php
new file mode 100644
index 00000000..e95d4668
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskMoveRequest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_DiskMoveRequest extends Google_Model
+{
+ public $destinationZone;
+ public $targetDisk;
+
+ public function setDestinationZone($destinationZone)
+ {
+ $this->destinationZone = $destinationZone;
+ }
+ public function getDestinationZone()
+ {
+ return $this->destinationZone;
+ }
+ public function setTargetDisk($targetDisk)
+ {
+ $this->targetDisk = $targetDisk;
+ }
+ public function getTargetDisk()
+ {
+ return $this->targetDisk;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskType.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskType.php
new file mode 100644
index 00000000..f283fc27
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskType.php
@@ -0,0 +1,112 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_DiskType extends Google_Model
+{
+ public $creationTimestamp;
+ public $defaultDiskSizeGb;
+ protected $deprecatedType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypeAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypeAggregatedList.php
new file mode 100644
index 00000000..c866b2af
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypeAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_DiskTypeAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypeList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypeList.php
new file mode 100644
index 00000000..4ae1c27c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypeList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_DiskTypeList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedList.php
new file mode 100644
index 00000000..174396be
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_DiskTypesScopedList extends Google_Collection
+{
+ protected $collection_key = 'diskTypes';
+ protected $diskTypesType = 'Google_Service_Compute_DiskType';
+ protected $diskTypesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_DiskTypesScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setDiskTypes($diskTypes)
+ {
+ $this->diskTypes = $diskTypes;
+ }
+ public function getDiskTypes()
+ {
+ return $this->diskTypes;
+ }
+ public function setWarning(Google_Service_Compute_DiskTypesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarning.php
new file mode 100644
index 00000000..c12c0d7a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_DiskTypesScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarningData.php
new file mode 100644
index 00000000..a3b73434
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_DiskTypesScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksResizeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksResizeRequest.php
new file mode 100644
index 00000000..3d961a60
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksResizeRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_DisksResizeRequest extends Google_Model
+{
+ public $sizeGb;
+
+ public function setSizeGb($sizeGb)
+ {
+ $this->sizeGb = $sizeGb;
+ }
+ public function getSizeGb()
+ {
+ return $this->sizeGb;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedList.php
new file mode 100644
index 00000000..4d886495
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_DisksScopedList extends Google_Collection
+{
+ protected $collection_key = 'disks';
+ protected $disksType = 'Google_Service_Compute_Disk';
+ protected $disksDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_DisksScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setDisks($disks)
+ {
+ $this->disks = $disks;
+ }
+ public function getDisks()
+ {
+ return $this->disks;
+ }
+ public function setWarning(Google_Service_Compute_DisksScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedListWarning.php
new file mode 100644
index 00000000..22ac1b64
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_DisksScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedListWarningData.php
new file mode 100644
index 00000000..905acde1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_DisksScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Firewall.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Firewall.php
new file mode 100644
index 00000000..35c6bbc8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Firewall.php
@@ -0,0 +1,122 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Firewall extends Google_Collection
+{
+ protected $collection_key = 'targetTags';
+ protected $allowedType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/FirewallAllowed.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/FirewallAllowed.php
new file mode 100644
index 00000000..8b301412
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/FirewallAllowed.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_FirewallAllowed extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/FirewallList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/FirewallList.php
new file mode 100644
index 00000000..6d6f46dc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/FirewallList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_FirewallList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRule.php
new file mode 100644
index 00000000..df993147
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRule.php
@@ -0,0 +1,170 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_ForwardingRule extends Google_Collection
+{
+ protected $collection_key = 'ports';
+ protected $internal_gapi_mappings = array(
+ "iPAddress" => "IPAddress",
+ "iPProtocol" => "IPProtocol",
+ );
+ public $iPAddress;
+ public $iPProtocol;
+ public $backendService;
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $loadBalancingScheme;
+ public $name;
+ public $network;
+ public $portRange;
+ public $ports;
+ public $region;
+ public $selfLink;
+ public $subnetwork;
+ 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 setBackendService($backendService)
+ {
+ $this->backendService = $backendService;
+ }
+ public function getBackendService()
+ {
+ return $this->backendService;
+ }
+ 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 setLoadBalancingScheme($loadBalancingScheme)
+ {
+ $this->loadBalancingScheme = $loadBalancingScheme;
+ }
+ public function getLoadBalancingScheme()
+ {
+ return $this->loadBalancingScheme;
+ }
+ 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 setPortRange($portRange)
+ {
+ $this->portRange = $portRange;
+ }
+ public function getPortRange()
+ {
+ return $this->portRange;
+ }
+ public function setPorts($ports)
+ {
+ $this->ports = $ports;
+ }
+ public function getPorts()
+ {
+ return $this->ports;
+ }
+ 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 setSubnetwork($subnetwork)
+ {
+ $this->subnetwork = $subnetwork;
+ }
+ public function getSubnetwork()
+ {
+ return $this->subnetwork;
+ }
+ public function setTarget($target)
+ {
+ $this->target = $target;
+ }
+ public function getTarget()
+ {
+ return $this->target;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRuleAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRuleAggregatedList.php
new file mode 100644
index 00000000..06994bd3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRuleAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_ForwardingRuleAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRuleList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRuleList.php
new file mode 100644
index 00000000..8c0701c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRuleList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_ForwardingRuleList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedList.php
new file mode 100644
index 00000000..cff55a4a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_ForwardingRulesScopedList extends Google_Collection
+{
+ protected $collection_key = 'forwardingRules';
+ protected $forwardingRulesType = 'Google_Service_Compute_ForwardingRule';
+ protected $forwardingRulesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_ForwardingRulesScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setForwardingRules($forwardingRules)
+ {
+ $this->forwardingRules = $forwardingRules;
+ }
+ public function getForwardingRules()
+ {
+ return $this->forwardingRules;
+ }
+ public function setWarning(Google_Service_Compute_ForwardingRulesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedListWarning.php
new file mode 100644
index 00000000..82ff32b6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_ForwardingRulesScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedListWarningData.php
new file mode 100644
index 00000000..f330149d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_ForwardingRulesScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/GuestOsFeature.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/GuestOsFeature.php
new file mode 100644
index 00000000..60bd8857
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/GuestOsFeature.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_GuestOsFeature extends Google_Model
+{
+ public $type;
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HTTP2HealthCheck.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HTTP2HealthCheck.php
new file mode 100644
index 00000000..d1939e79
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HTTP2HealthCheck.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_HTTP2HealthCheck extends Google_Model
+{
+ public $host;
+ public $port;
+ public $portName;
+ public $proxyHeader;
+ public $requestPath;
+
+ public function setHost($host)
+ {
+ $this->host = $host;
+ }
+ public function getHost()
+ {
+ return $this->host;
+ }
+ 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 setProxyHeader($proxyHeader)
+ {
+ $this->proxyHeader = $proxyHeader;
+ }
+ public function getProxyHeader()
+ {
+ return $this->proxyHeader;
+ }
+ public function setRequestPath($requestPath)
+ {
+ $this->requestPath = $requestPath;
+ }
+ public function getRequestPath()
+ {
+ return $this->requestPath;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheck.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheck.php
new file mode 100644
index 00000000..9f2d9b3e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheck.php
@@ -0,0 +1,160 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_HealthCheck extends Google_Model
+{
+ public $checkIntervalSec;
+ public $creationTimestamp;
+ public $description;
+ public $healthyThreshold;
+ protected $httpHealthCheckType = 'Google_Service_Compute_HTTPHealthCheck';
+ protected $httpHealthCheckDataType = '';
+ protected $httpsHealthCheckType = 'Google_Service_Compute_HTTPSHealthCheck';
+ protected $httpsHealthCheckDataType = '';
+ public $id;
+ public $kind;
+ public $name;
+ public $selfLink;
+ protected $sslHealthCheckType = 'Google_Service_Compute_SSLHealthCheck';
+ protected $sslHealthCheckDataType = '';
+ protected $tcpHealthCheckType = 'Google_Service_Compute_TCPHealthCheck';
+ protected $tcpHealthCheckDataType = '';
+ public $timeoutSec;
+ public $type;
+ 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 setHttpHealthCheck(Google_Service_Compute_HTTPHealthCheck $httpHealthCheck)
+ {
+ $this->httpHealthCheck = $httpHealthCheck;
+ }
+ public function getHttpHealthCheck()
+ {
+ return $this->httpHealthCheck;
+ }
+ public function setHttpsHealthCheck(Google_Service_Compute_HTTPSHealthCheck $httpsHealthCheck)
+ {
+ $this->httpsHealthCheck = $httpsHealthCheck;
+ }
+ public function getHttpsHealthCheck()
+ {
+ return $this->httpsHealthCheck;
+ }
+ 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 setSslHealthCheck(Google_Service_Compute_SSLHealthCheck $sslHealthCheck)
+ {
+ $this->sslHealthCheck = $sslHealthCheck;
+ }
+ public function getSslHealthCheck()
+ {
+ return $this->sslHealthCheck;
+ }
+ public function setTcpHealthCheck(Google_Service_Compute_TCPHealthCheck $tcpHealthCheck)
+ {
+ $this->tcpHealthCheck = $tcpHealthCheck;
+ }
+ public function getTcpHealthCheck()
+ {
+ return $this->tcpHealthCheck;
+ }
+ public function setTimeoutSec($timeoutSec)
+ {
+ $this->timeoutSec = $timeoutSec;
+ }
+ public function getTimeoutSec()
+ {
+ return $this->timeoutSec;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUnhealthyThreshold($unhealthyThreshold)
+ {
+ $this->unhealthyThreshold = $unhealthyThreshold;
+ }
+ public function getUnhealthyThreshold()
+ {
+ return $this->unhealthyThreshold;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheckList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheckList.php
new file mode 100644
index 00000000..9a7da005
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheckList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_HealthCheckList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_HealthCheck';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheckReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheckReference.php
new file mode 100644
index 00000000..ecd0a0b2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheckReference.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_HealthCheckReference extends Google_Model
+{
+ public $healthCheck;
+
+ public function setHealthCheck($healthCheck)
+ {
+ $this->healthCheck = $healthCheck;
+ }
+ public function getHealthCheck()
+ {
+ return $this->healthCheck;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthStatus.php
new file mode 100644
index 00000000..264694a1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthStatus.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_HealthStatus extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HostRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HostRule.php
new file mode 100644
index 00000000..345b3254
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HostRule.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_HostRule extends Google_Collection
+{
+ protected $collection_key = 'hosts';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpHealthCheck.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpHealthCheck.php
new file mode 100644
index 00000000..d886f6bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpHealthCheck.php
@@ -0,0 +1,138 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_HttpHealthCheck extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpHealthCheckList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpHealthCheckList.php
new file mode 100644
index 00000000..c700cf50
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpHealthCheckList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_HttpHealthCheckList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpsHealthCheck.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpsHealthCheck.php
new file mode 100644
index 00000000..22cfe26b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpsHealthCheck.php
@@ -0,0 +1,138 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_HttpsHealthCheck extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpsHealthCheckList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpsHealthCheckList.php
new file mode 100644
index 00000000..6db553d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpsHealthCheckList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_HttpsHealthCheckList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_HttpsHealthCheck';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Image.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Image.php
new file mode 100644
index 00000000..4f72521f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Image.php
@@ -0,0 +1,198 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Image extends Google_Collection
+{
+ protected $collection_key = 'licenses';
+ public $archiveSizeBytes;
+ public $creationTimestamp;
+ protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $diskSizeGb;
+ public $family;
+ protected $guestOsFeaturesType = 'Google_Service_Compute_GuestOsFeature';
+ protected $guestOsFeaturesDataType = 'array';
+ public $id;
+ protected $imageEncryptionKeyType = 'Google_Service_Compute_CustomerEncryptionKey';
+ protected $imageEncryptionKeyDataType = '';
+ public $kind;
+ public $licenses;
+ public $name;
+ protected $rawDiskType = 'Google_Service_Compute_ImageRawDisk';
+ protected $rawDiskDataType = '';
+ public $selfLink;
+ public $sourceDisk;
+ protected $sourceDiskEncryptionKeyType = 'Google_Service_Compute_CustomerEncryptionKey';
+ protected $sourceDiskEncryptionKeyDataType = '';
+ 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(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 setFamily($family)
+ {
+ $this->family = $family;
+ }
+ public function getFamily()
+ {
+ return $this->family;
+ }
+ public function setGuestOsFeatures($guestOsFeatures)
+ {
+ $this->guestOsFeatures = $guestOsFeatures;
+ }
+ public function getGuestOsFeatures()
+ {
+ return $this->guestOsFeatures;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImageEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $imageEncryptionKey)
+ {
+ $this->imageEncryptionKey = $imageEncryptionKey;
+ }
+ public function getImageEncryptionKey()
+ {
+ return $this->imageEncryptionKey;
+ }
+ 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(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 setSourceDiskEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $sourceDiskEncryptionKey)
+ {
+ $this->sourceDiskEncryptionKey = $sourceDiskEncryptionKey;
+ }
+ public function getSourceDiskEncryptionKey()
+ {
+ return $this->sourceDiskEncryptionKey;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ImageList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ImageList.php
new file mode 100644
index 00000000..0ad2e978
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ImageList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_ImageList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ImageRawDisk.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ImageRawDisk.php
new file mode 100644
index 00000000..80344fb9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ImageRawDisk.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_ImageRawDisk extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Instance.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Instance.php
new file mode 100644
index 00000000..6f7d7004
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Instance.php
@@ -0,0 +1,190 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Instance extends Google_Collection
+{
+ protected $collection_key = 'serviceAccounts';
+ public $canIpForward;
+ public $cpuPlatform;
+ public $creationTimestamp;
+ public $description;
+ protected $disksType = 'Google_Service_Compute_AttachedDisk';
+ protected $disksDataType = 'array';
+ public $id;
+ public $kind;
+ public $machineType;
+ protected $metadataType = 'Google_Service_Compute_Metadata';
+ protected $metadataDataType = '';
+ public $name;
+ protected $networkInterfacesType = 'Google_Service_Compute_NetworkInterface';
+ protected $networkInterfacesDataType = 'array';
+ protected $schedulingType = 'Google_Service_Compute_Scheduling';
+ protected $schedulingDataType = '';
+ public $selfLink;
+ protected $serviceAccountsType = 'Google_Service_Compute_ServiceAccount';
+ protected $serviceAccountsDataType = 'array';
+ public $status;
+ public $statusMessage;
+ protected $tagsType = 'Google_Service_Compute_Tags';
+ protected $tagsDataType = '';
+ public $zone;
+
+ public function setCanIpForward($canIpForward)
+ {
+ $this->canIpForward = $canIpForward;
+ }
+ public function getCanIpForward()
+ {
+ return $this->canIpForward;
+ }
+ public function setCpuPlatform($cpuPlatform)
+ {
+ $this->cpuPlatform = $cpuPlatform;
+ }
+ public function getCpuPlatform()
+ {
+ return $this->cpuPlatform;
+ }
+ 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(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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceAggregatedList.php
new file mode 100644
index 00000000..91a83c56
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroup.php
new file mode 100644
index 00000000..f2d83179
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroup.php
@@ -0,0 +1,140 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroup extends Google_Collection
+{
+ protected $collection_key = 'namedPorts';
+ public $creationTimestamp;
+ public $description;
+ public $fingerprint;
+ public $id;
+ public $kind;
+ public $name;
+ protected $namedPortsType = 'Google_Service_Compute_NamedPort';
+ protected $namedPortsDataType = 'array';
+ public $network;
+ public $region;
+ public $selfLink;
+ public $size;
+ public $subnetwork;
+ 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 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 setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNamedPorts($namedPorts)
+ {
+ $this->namedPorts = $namedPorts;
+ }
+ public function getNamedPorts()
+ {
+ return $this->namedPorts;
+ }
+ public function setNetwork($network)
+ {
+ $this->network = $network;
+ }
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+ 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 setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setSubnetwork($subnetwork)
+ {
+ $this->subnetwork = $subnetwork;
+ }
+ public function getSubnetwork()
+ {
+ return $this->subnetwork;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupAggregatedList.php
new file mode 100644
index 00000000..1530d36e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_InstanceGroupsScopedList';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupList.php
new file mode 100644
index 00000000..7e3a843f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_InstanceGroup';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManager.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManager.php
new file mode 100644
index 00000000..04a8641f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManager.php
@@ -0,0 +1,168 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupManager extends Google_Collection
+{
+ protected $collection_key = 'targetPools';
+ public $baseInstanceName;
+ public $creationTimestamp;
+ protected $currentActionsType = 'Google_Service_Compute_InstanceGroupManagerActionsSummary';
+ protected $currentActionsDataType = '';
+ public $description;
+ public $fingerprint;
+ public $id;
+ public $instanceGroup;
+ public $instanceTemplate;
+ public $kind;
+ public $name;
+ protected $namedPortsType = 'Google_Service_Compute_NamedPort';
+ protected $namedPortsDataType = 'array';
+ public $region;
+ public $selfLink;
+ public $targetPools;
+ public $targetSize;
+ public $zone;
+
+ 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 setCurrentActions(Google_Service_Compute_InstanceGroupManagerActionsSummary $currentActions)
+ {
+ $this->currentActions = $currentActions;
+ }
+ public function getCurrentActions()
+ {
+ return $this->currentActions;
+ }
+ 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 setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInstanceGroup($instanceGroup)
+ {
+ $this->instanceGroup = $instanceGroup;
+ }
+ public function getInstanceGroup()
+ {
+ return $this->instanceGroup;
+ }
+ 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 setNamedPorts($namedPorts)
+ {
+ $this->namedPorts = $namedPorts;
+ }
+ public function getNamedPorts()
+ {
+ return $this->namedPorts;
+ }
+ 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 setTargetPools($targetPools)
+ {
+ $this->targetPools = $targetPools;
+ }
+ public function getTargetPools()
+ {
+ return $this->targetPools;
+ }
+ public function setTargetSize($targetSize)
+ {
+ $this->targetSize = $targetSize;
+ }
+ public function getTargetSize()
+ {
+ return $this->targetSize;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerActionsSummary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerActionsSummary.php
new file mode 100644
index 00000000..3c115ade
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerActionsSummary.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupManagerActionsSummary extends Google_Model
+{
+ public $abandoning;
+ public $creating;
+ public $creatingWithoutRetries;
+ public $deleting;
+ public $none;
+ public $recreating;
+ public $refreshing;
+ public $restarting;
+
+ public function setAbandoning($abandoning)
+ {
+ $this->abandoning = $abandoning;
+ }
+ public function getAbandoning()
+ {
+ return $this->abandoning;
+ }
+ public function setCreating($creating)
+ {
+ $this->creating = $creating;
+ }
+ public function getCreating()
+ {
+ return $this->creating;
+ }
+ public function setCreatingWithoutRetries($creatingWithoutRetries)
+ {
+ $this->creatingWithoutRetries = $creatingWithoutRetries;
+ }
+ public function getCreatingWithoutRetries()
+ {
+ return $this->creatingWithoutRetries;
+ }
+ public function setDeleting($deleting)
+ {
+ $this->deleting = $deleting;
+ }
+ public function getDeleting()
+ {
+ return $this->deleting;
+ }
+ public function setNone($none)
+ {
+ $this->none = $none;
+ }
+ public function getNone()
+ {
+ return $this->none;
+ }
+ public function setRecreating($recreating)
+ {
+ $this->recreating = $recreating;
+ }
+ public function getRecreating()
+ {
+ return $this->recreating;
+ }
+ public function setRefreshing($refreshing)
+ {
+ $this->refreshing = $refreshing;
+ }
+ public function getRefreshing()
+ {
+ return $this->refreshing;
+ }
+ public function setRestarting($restarting)
+ {
+ $this->restarting = $restarting;
+ }
+ public function getRestarting()
+ {
+ return $this->restarting;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerAggregatedList.php
new file mode 100644
index 00000000..f323d5f1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupManagerAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_InstanceGroupManagersScopedList';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerList.php
new file mode 100644
index 00000000..b477ff89
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupManagerList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersAbandonInstancesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersAbandonInstancesRequest.php
new file mode 100644
index 00000000..003f395a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersAbandonInstancesRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupManagersAbandonInstancesRequest extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ public $instances;
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersDeleteInstancesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersDeleteInstancesRequest.php
new file mode 100644
index 00000000..730134f6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersDeleteInstancesRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupManagersDeleteInstancesRequest extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ public $instances;
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersListManagedInstancesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersListManagedInstancesResponse.php
new file mode 100644
index 00000000..af31cdf0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersListManagedInstancesResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupManagersListManagedInstancesResponse extends Google_Collection
+{
+ protected $collection_key = 'managedInstances';
+ protected $managedInstancesType = 'Google_Service_Compute_ManagedInstance';
+ protected $managedInstancesDataType = 'array';
+
+ public function setManagedInstances($managedInstances)
+ {
+ $this->managedInstances = $managedInstances;
+ }
+ public function getManagedInstances()
+ {
+ return $this->managedInstances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersRecreateInstancesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersRecreateInstancesRequest.php
new file mode 100644
index 00000000..33c6fdc2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersRecreateInstancesRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupManagersRecreateInstancesRequest extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ public $instances;
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedList.php
new file mode 100644
index 00000000..03a6c2f6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupManagersScopedList extends Google_Collection
+{
+ protected $collection_key = 'instanceGroupManagers';
+ protected $instanceGroupManagersType = 'Google_Service_Compute_InstanceGroupManager';
+ protected $instanceGroupManagersDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_InstanceGroupManagersScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setInstanceGroupManagers($instanceGroupManagers)
+ {
+ $this->instanceGroupManagers = $instanceGroupManagers;
+ }
+ public function getInstanceGroupManagers()
+ {
+ return $this->instanceGroupManagers;
+ }
+ public function setWarning(Google_Service_Compute_InstanceGroupManagersScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedListWarning.php
new file mode 100644
index 00000000..b5263d91
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupManagersScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = 'Google_Service_Compute_InstanceGroupManagersScopedListWarningData';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedListWarningData.php
new file mode 100644
index 00000000..782c8669
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupManagersScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersSetInstanceTemplateRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersSetInstanceTemplateRequest.php
new file mode 100644
index 00000000..f4eb6d4b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersSetInstanceTemplateRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupManagersSetInstanceTemplateRequest extends Google_Model
+{
+ public $instanceTemplate;
+
+ public function setInstanceTemplate($instanceTemplate)
+ {
+ $this->instanceTemplate = $instanceTemplate;
+ }
+ public function getInstanceTemplate()
+ {
+ return $this->instanceTemplate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersSetTargetPoolsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersSetTargetPoolsRequest.php
new file mode 100644
index 00000000..faf92961
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersSetTargetPoolsRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupManagersSetTargetPoolsRequest extends Google_Collection
+{
+ protected $collection_key = 'targetPools';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsAddInstancesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsAddInstancesRequest.php
new file mode 100644
index 00000000..61f2d30a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsAddInstancesRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupsAddInstancesRequest extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ protected $instancesType = 'Google_Service_Compute_InstanceReference';
+ protected $instancesDataType = 'array';
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsListInstances.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsListInstances.php
new file mode 100644
index 00000000..00d3c8ce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsListInstances.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupsListInstances extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_InstanceWithNamedPorts';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsListInstancesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsListInstancesRequest.php
new file mode 100644
index 00000000..96626eba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsListInstancesRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupsListInstancesRequest extends Google_Model
+{
+ public $instanceState;
+
+ public function setInstanceState($instanceState)
+ {
+ $this->instanceState = $instanceState;
+ }
+ public function getInstanceState()
+ {
+ return $this->instanceState;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsRemoveInstancesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsRemoveInstancesRequest.php
new file mode 100644
index 00000000..90025aab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsRemoveInstancesRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupsRemoveInstancesRequest extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ protected $instancesType = 'Google_Service_Compute_InstanceReference';
+ protected $instancesDataType = 'array';
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedList.php
new file mode 100644
index 00000000..3a842801
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupsScopedList extends Google_Collection
+{
+ protected $collection_key = 'instanceGroups';
+ protected $instanceGroupsType = 'Google_Service_Compute_InstanceGroup';
+ protected $instanceGroupsDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_InstanceGroupsScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setInstanceGroups($instanceGroups)
+ {
+ $this->instanceGroups = $instanceGroups;
+ }
+ public function getInstanceGroups()
+ {
+ return $this->instanceGroups;
+ }
+ public function setWarning(Google_Service_Compute_InstanceGroupsScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedListWarning.php
new file mode 100644
index 00000000..9e66c4cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupsScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = 'Google_Service_Compute_InstanceGroupsScopedListWarningData';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedListWarningData.php
new file mode 100644
index 00000000..5afedbde
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupsScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsSetNamedPortsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsSetNamedPortsRequest.php
new file mode 100644
index 00000000..39b90bec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsSetNamedPortsRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceGroupsSetNamedPortsRequest extends Google_Collection
+{
+ protected $collection_key = 'namedPorts';
+ public $fingerprint;
+ protected $namedPortsType = 'Google_Service_Compute_NamedPort';
+ protected $namedPortsDataType = 'array';
+
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setNamedPorts($namedPorts)
+ {
+ $this->namedPorts = $namedPorts;
+ }
+ public function getNamedPorts()
+ {
+ return $this->namedPorts;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceList.php
new file mode 100644
index 00000000..2b4972f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceMoveRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceMoveRequest.php
new file mode 100644
index 00000000..31128eac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceMoveRequest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceMoveRequest extends Google_Model
+{
+ public $destinationZone;
+ public $targetInstance;
+
+ public function setDestinationZone($destinationZone)
+ {
+ $this->destinationZone = $destinationZone;
+ }
+ public function getDestinationZone()
+ {
+ return $this->destinationZone;
+ }
+ public function setTargetInstance($targetInstance)
+ {
+ $this->targetInstance = $targetInstance;
+ }
+ public function getTargetInstance()
+ {
+ return $this->targetInstance;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceProperties.php
new file mode 100644
index 00000000..80c3bc30
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceProperties.php
@@ -0,0 +1,109 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceProperties extends Google_Collection
+{
+ protected $collection_key = 'serviceAccounts';
+ public $canIpForward;
+ public $description;
+ protected $disksType = 'Google_Service_Compute_AttachedDisk';
+ protected $disksDataType = 'array';
+ public $machineType;
+ protected $metadataType = 'Google_Service_Compute_Metadata';
+ protected $metadataDataType = '';
+ protected $networkInterfacesType = 'Google_Service_Compute_NetworkInterface';
+ protected $networkInterfacesDataType = 'array';
+ protected $schedulingType = 'Google_Service_Compute_Scheduling';
+ protected $schedulingDataType = '';
+ protected $serviceAccountsType = 'Google_Service_Compute_ServiceAccount';
+ protected $serviceAccountsDataType = 'array';
+ protected $tagsType = '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(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(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(Google_Service_Compute_Tags $tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceReference.php
new file mode 100644
index 00000000..76f5da37
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceReference.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceReference extends Google_Model
+{
+ public $instance;
+
+ public function setInstance($instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceTemplate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceTemplate.php
new file mode 100644
index 00000000..5a251d31
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceTemplate.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceTemplate extends Google_Model
+{
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ protected $propertiesType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceTemplateList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceTemplateList.php
new file mode 100644
index 00000000..3b001023
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceTemplateList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceTemplateList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceWithNamedPorts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceWithNamedPorts.php
new file mode 100644
index 00000000..f7d57487
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceWithNamedPorts.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstanceWithNamedPorts extends Google_Collection
+{
+ protected $collection_key = 'namedPorts';
+ public $instance;
+ protected $namedPortsType = 'Google_Service_Compute_NamedPort';
+ protected $namedPortsDataType = 'array';
+ public $status;
+
+ public function setInstance($instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+ public function setNamedPorts($namedPorts)
+ {
+ $this->namedPorts = $namedPorts;
+ }
+ public function getNamedPorts()
+ {
+ return $this->namedPorts;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedList.php
new file mode 100644
index 00000000..54aadd51
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstancesScopedList extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ protected $instancesType = 'Google_Service_Compute_Instance';
+ protected $instancesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_InstancesScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+ public function setWarning(Google_Service_Compute_InstancesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedListWarning.php
new file mode 100644
index 00000000..13901e5d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstancesScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedListWarningData.php
new file mode 100644
index 00000000..26d37b6c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstancesScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesSetMachineTypeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesSetMachineTypeRequest.php
new file mode 100644
index 00000000..236b546d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesSetMachineTypeRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstancesSetMachineTypeRequest extends Google_Model
+{
+ public $machineType;
+
+ public function setMachineType($machineType)
+ {
+ $this->machineType = $machineType;
+ }
+ public function getMachineType()
+ {
+ return $this->machineType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesSetServiceAccountRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesSetServiceAccountRequest.php
new file mode 100644
index 00000000..47d01e54
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesSetServiceAccountRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstancesSetServiceAccountRequest extends Google_Collection
+{
+ protected $collection_key = 'scopes';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesStartWithEncryptionKeyRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesStartWithEncryptionKeyRequest.php
new file mode 100644
index 00000000..74908607
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesStartWithEncryptionKeyRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_InstancesStartWithEncryptionKeyRequest extends Google_Collection
+{
+ protected $collection_key = 'disks';
+ protected $disksType = 'Google_Service_Compute_CustomerEncryptionKeyProtectedDisk';
+ protected $disksDataType = 'array';
+
+ public function setDisks($disks)
+ {
+ $this->disks = $disks;
+ }
+ public function getDisks()
+ {
+ return $this->disks;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/License.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/License.php
new file mode 100644
index 00000000..c118c70d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/License.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_License extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineType.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineType.php
new file mode 100644
index 00000000..bd6c6074
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineType.php
@@ -0,0 +1,159 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_MachineType extends Google_Collection
+{
+ protected $collection_key = 'scratchDisks';
+ public $creationTimestamp;
+ protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $guestCpus;
+ public $id;
+ public $imageSpaceGb;
+ public $isSharedCpu;
+ public $kind;
+ public $maximumPersistentDisks;
+ public $maximumPersistentDisksSizeGb;
+ public $memoryMb;
+ public $name;
+ protected $scratchDisksType = '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(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 setIsSharedCpu($isSharedCpu)
+ {
+ $this->isSharedCpu = $isSharedCpu;
+ }
+ public function getIsSharedCpu()
+ {
+ return $this->isSharedCpu;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeAggregatedList.php
new file mode 100644
index 00000000..7797003a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_MachineTypeAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeList.php
new file mode 100644
index 00000000..318bc1c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_MachineTypeList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeScratchDisks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeScratchDisks.php
new file mode 100644
index 00000000..cb288a4e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeScratchDisks.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_MachineTypeScratchDisks extends Google_Model
+{
+ public $diskGb;
+
+ public function setDiskGb($diskGb)
+ {
+ $this->diskGb = $diskGb;
+ }
+ public function getDiskGb()
+ {
+ return $this->diskGb;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedList.php
new file mode 100644
index 00000000..9837344a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_MachineTypesScopedList extends Google_Collection
+{
+ protected $collection_key = 'machineTypes';
+ protected $machineTypesType = 'Google_Service_Compute_MachineType';
+ protected $machineTypesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_MachineTypesScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setMachineTypes($machineTypes)
+ {
+ $this->machineTypes = $machineTypes;
+ }
+ public function getMachineTypes()
+ {
+ return $this->machineTypes;
+ }
+ public function setWarning(Google_Service_Compute_MachineTypesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedListWarning.php
new file mode 100644
index 00000000..a388962b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_MachineTypesScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedListWarningData.php
new file mode 100644
index 00000000..bfc4bbd6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_MachineTypesScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstance.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstance.php
new file mode 100644
index 00000000..d4185edc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstance.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_ManagedInstance extends Google_Model
+{
+ public $currentAction;
+ public $id;
+ public $instance;
+ public $instanceStatus;
+ protected $lastAttemptType = 'Google_Service_Compute_ManagedInstanceLastAttempt';
+ protected $lastAttemptDataType = '';
+
+ public function setCurrentAction($currentAction)
+ {
+ $this->currentAction = $currentAction;
+ }
+ public function getCurrentAction()
+ {
+ return $this->currentAction;
+ }
+ 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 setInstanceStatus($instanceStatus)
+ {
+ $this->instanceStatus = $instanceStatus;
+ }
+ public function getInstanceStatus()
+ {
+ return $this->instanceStatus;
+ }
+ public function setLastAttempt(Google_Service_Compute_ManagedInstanceLastAttempt $lastAttempt)
+ {
+ $this->lastAttempt = $lastAttempt;
+ }
+ public function getLastAttempt()
+ {
+ return $this->lastAttempt;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttempt.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttempt.php
new file mode 100644
index 00000000..659d6477
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttempt.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_ManagedInstanceLastAttempt extends Google_Model
+{
+ protected $errorsType = 'Google_Service_Compute_ManagedInstanceLastAttemptErrors';
+ protected $errorsDataType = '';
+
+ public function setErrors(Google_Service_Compute_ManagedInstanceLastAttemptErrors $errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttemptErrors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttemptErrors.php
new file mode 100644
index 00000000..52b1f880
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttemptErrors.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_ManagedInstanceLastAttemptErrors extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $errorsType = 'Google_Service_Compute_ManagedInstanceLastAttemptErrorsErrors';
+ protected $errorsDataType = 'array';
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttemptErrorsErrors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttemptErrorsErrors.php
new file mode 100644
index 00000000..cba3b4e4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttemptErrorsErrors.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_ManagedInstanceLastAttemptErrorsErrors extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Metadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Metadata.php
new file mode 100644
index 00000000..f35c3842
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Metadata.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Metadata extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $fingerprint;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MetadataItems.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MetadataItems.php
new file mode 100644
index 00000000..f0244b54
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MetadataItems.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_MetadataItems extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NamedPort.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NamedPort.php
new file mode 100644
index 00000000..d654f378
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NamedPort.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_NamedPort extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Network.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Network.php
new file mode 100644
index 00000000..c8b3a1ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Network.php
@@ -0,0 +1,115 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Network extends Google_Collection
+{
+ protected $collection_key = 'subnetworks';
+ protected $internal_gapi_mappings = array(
+ "iPv4Range" => "IPv4Range",
+ );
+ public $iPv4Range;
+ public $autoCreateSubnetworks;
+ public $creationTimestamp;
+ public $description;
+ public $gatewayIPv4;
+ public $id;
+ public $kind;
+ public $name;
+ public $selfLink;
+ public $subnetworks;
+
+ public function setIPv4Range($iPv4Range)
+ {
+ $this->iPv4Range = $iPv4Range;
+ }
+ public function getIPv4Range()
+ {
+ return $this->iPv4Range;
+ }
+ public function setAutoCreateSubnetworks($autoCreateSubnetworks)
+ {
+ $this->autoCreateSubnetworks = $autoCreateSubnetworks;
+ }
+ public function getAutoCreateSubnetworks()
+ {
+ return $this->autoCreateSubnetworks;
+ }
+ 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;
+ }
+ public function setSubnetworks($subnetworks)
+ {
+ $this->subnetworks = $subnetworks;
+ }
+ public function getSubnetworks()
+ {
+ return $this->subnetworks;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NetworkInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NetworkInterface.php
new file mode 100644
index 00000000..52529961
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NetworkInterface.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_NetworkInterface extends Google_Collection
+{
+ protected $collection_key = 'accessConfigs';
+ protected $accessConfigsType = 'Google_Service_Compute_AccessConfig';
+ protected $accessConfigsDataType = 'array';
+ public $kind;
+ public $name;
+ public $network;
+ public $networkIP;
+ public $subnetwork;
+
+ public function setAccessConfigs($accessConfigs)
+ {
+ $this->accessConfigs = $accessConfigs;
+ }
+ public function getAccessConfigs()
+ {
+ return $this->accessConfigs;
+ }
+ 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 setNetworkIP($networkIP)
+ {
+ $this->networkIP = $networkIP;
+ }
+ public function getNetworkIP()
+ {
+ return $this->networkIP;
+ }
+ public function setSubnetwork($subnetwork)
+ {
+ $this->subnetwork = $subnetwork;
+ }
+ public function getSubnetwork()
+ {
+ return $this->subnetwork;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NetworkList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NetworkList.php
new file mode 100644
index 00000000..a1b084e7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NetworkList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_NetworkList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Operation.php
new file mode 100644
index 00000000..977d65d2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Operation.php
@@ -0,0 +1,231 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Operation extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $description;
+ public $endTime;
+ protected $errorType = '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 = '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 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 setError(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationAggregatedList.php
new file mode 100644
index 00000000..fac3ad79
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_OperationAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationError.php
new file mode 100644
index 00000000..129e54f5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationError.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_OperationError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $errorsType = 'Google_Service_Compute_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationErrorErrors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationErrorErrors.php
new file mode 100644
index 00000000..f2d6343e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationErrorErrors.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_OperationErrorErrors extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationList.php
new file mode 100644
index 00000000..464ee133
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_OperationList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationWarnings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationWarnings.php
new file mode 100644
index 00000000..0f926dc5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationWarnings.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_OperationWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationWarningsData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationWarningsData.php
new file mode 100644
index 00000000..e780c0e3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationWarningsData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_OperationWarningsData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedList.php
new file mode 100644
index 00000000..a20264ec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_OperationsScopedList extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ protected $operationsType = 'Google_Service_Compute_Operation';
+ protected $operationsDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_OperationsScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+ public function setWarning(Google_Service_Compute_OperationsScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedListWarning.php
new file mode 100644
index 00000000..e21b32ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_OperationsScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedListWarningData.php
new file mode 100644
index 00000000..5465df98
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_OperationsScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/PathMatcher.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/PathMatcher.php
new file mode 100644
index 00000000..68589956
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/PathMatcher.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_PathMatcher extends Google_Collection
+{
+ protected $collection_key = 'pathRules';
+ public $defaultService;
+ public $description;
+ public $name;
+ protected $pathRulesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/PathRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/PathRule.php
new file mode 100644
index 00000000..6e6f1a2b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/PathRule.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_PathRule extends Google_Collection
+{
+ protected $collection_key = 'paths';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Project.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Project.php
new file mode 100644
index 00000000..2b287643
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Project.php
@@ -0,0 +1,124 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Project extends Google_Collection
+{
+ protected $collection_key = 'quotas';
+ protected $commonInstanceMetadataType = 'Google_Service_Compute_Metadata';
+ protected $commonInstanceMetadataDataType = '';
+ public $creationTimestamp;
+ public $defaultServiceAccount;
+ public $description;
+ public $enabledFeatures;
+ public $id;
+ public $kind;
+ public $name;
+ protected $quotasType = 'Google_Service_Compute_Quota';
+ protected $quotasDataType = 'array';
+ public $selfLink;
+ protected $usageExportLocationType = 'Google_Service_Compute_UsageExportLocation';
+ protected $usageExportLocationDataType = '';
+
+ public function setCommonInstanceMetadata(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 setDefaultServiceAccount($defaultServiceAccount)
+ {
+ $this->defaultServiceAccount = $defaultServiceAccount;
+ }
+ public function getDefaultServiceAccount()
+ {
+ return $this->defaultServiceAccount;
+ }
+ 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 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(Google_Service_Compute_UsageExportLocation $usageExportLocation)
+ {
+ $this->usageExportLocation = $usageExportLocation;
+ }
+ public function getUsageExportLocation()
+ {
+ return $this->usageExportLocation;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Quota.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Quota.php
new file mode 100644
index 00000000..a1a30905
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Quota.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Quota extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Region.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Region.php
new file mode 100644
index 00000000..bd4fc843
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Region.php
@@ -0,0 +1,114 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Region extends Google_Collection
+{
+ protected $collection_key = 'zones';
+ public $creationTimestamp;
+ protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ protected $quotasType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionAutoscalerList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionAutoscalerList.php
new file mode 100644
index 00000000..0cd5ad76
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionAutoscalerList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RegionAutoscalerList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_Autoscaler';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupList.php
new file mode 100644
index 00000000..69931641
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RegionInstanceGroupList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_InstanceGroup';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagerList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagerList.php
new file mode 100644
index 00000000..6d0123bd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagerList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RegionInstanceGroupManagerList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersAbandonInstancesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersAbandonInstancesRequest.php
new file mode 100644
index 00000000..a6b34ae2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersAbandonInstancesRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RegionInstanceGroupManagersAbandonInstancesRequest extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ public $instances;
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersDeleteInstancesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersDeleteInstancesRequest.php
new file mode 100644
index 00000000..c56fa201
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersDeleteInstancesRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RegionInstanceGroupManagersDeleteInstancesRequest extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ public $instances;
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersListInstancesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersListInstancesResponse.php
new file mode 100644
index 00000000..c8783a1c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersListInstancesResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RegionInstanceGroupManagersListInstancesResponse extends Google_Collection
+{
+ protected $collection_key = 'managedInstances';
+ protected $managedInstancesType = 'Google_Service_Compute_ManagedInstance';
+ protected $managedInstancesDataType = 'array';
+
+ public function setManagedInstances($managedInstances)
+ {
+ $this->managedInstances = $managedInstances;
+ }
+ public function getManagedInstances()
+ {
+ return $this->managedInstances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersRecreateRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersRecreateRequest.php
new file mode 100644
index 00000000..9be7b4e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersRecreateRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RegionInstanceGroupManagersRecreateRequest extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ public $instances;
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersSetTargetPoolsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersSetTargetPoolsRequest.php
new file mode 100644
index 00000000..fcd97d18
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersSetTargetPoolsRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RegionInstanceGroupManagersSetTargetPoolsRequest extends Google_Collection
+{
+ protected $collection_key = 'targetPools';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersSetTemplateRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersSetTemplateRequest.php
new file mode 100644
index 00000000..1aeebcd0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersSetTemplateRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RegionInstanceGroupManagersSetTemplateRequest extends Google_Model
+{
+ public $instanceTemplate;
+
+ public function setInstanceTemplate($instanceTemplate)
+ {
+ $this->instanceTemplate = $instanceTemplate;
+ }
+ public function getInstanceTemplate()
+ {
+ return $this->instanceTemplate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsListInstances.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsListInstances.php
new file mode 100644
index 00000000..739d2e27
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsListInstances.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RegionInstanceGroupsListInstances extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_InstanceWithNamedPorts';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsListInstancesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsListInstancesRequest.php
new file mode 100644
index 00000000..faecfb8b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsListInstancesRequest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RegionInstanceGroupsListInstancesRequest extends Google_Model
+{
+ public $instanceState;
+ public $portName;
+
+ public function setInstanceState($instanceState)
+ {
+ $this->instanceState = $instanceState;
+ }
+ public function getInstanceState()
+ {
+ return $this->instanceState;
+ }
+ public function setPortName($portName)
+ {
+ $this->portName = $portName;
+ }
+ public function getPortName()
+ {
+ return $this->portName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsSetNamedPortsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsSetNamedPortsRequest.php
new file mode 100644
index 00000000..e5ec1b7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsSetNamedPortsRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RegionInstanceGroupsSetNamedPortsRequest extends Google_Collection
+{
+ protected $collection_key = 'namedPorts';
+ public $fingerprint;
+ protected $namedPortsType = 'Google_Service_Compute_NamedPort';
+ protected $namedPortsDataType = 'array';
+
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setNamedPorts($namedPorts)
+ {
+ $this->namedPorts = $namedPorts;
+ }
+ public function getNamedPorts()
+ {
+ return $this->namedPorts;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionList.php
new file mode 100644
index 00000000..630c76b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RegionList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Addresses.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Addresses.php
new file mode 100644
index 00000000..20769450
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Addresses.php
@@ -0,0 +1,188 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "addresses" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $addresses = $computeService->addresses;
+ * </code>
+ */
+class Google_Service_Compute_Resource_Addresses extends Google_Service_Resource
+{
+ /**
+ * Retrieves an aggregated list of addresses. (addresses.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_AddressAggregatedList");
+ }
+ /**
+ * Deletes the specified address resource. (addresses.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param string $address Name of the address resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified address resource. (addresses.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param string $address Name of the address resource to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Address");
+ }
+ /**
+ * Creates an address resource in the specified project using the data included
+ * in the request. (addresses.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param Google_Service_Compute_Address $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $region, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of addresses contained within the specified region.
+ * (addresses.listAddresses)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_AddressList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Autoscalers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Autoscalers.php
new file mode 100644
index 00000000..c0084e0a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Autoscalers.php
@@ -0,0 +1,224 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "autoscalers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $autoscalers = $computeService->autoscalers;
+ * </code>
+ */
+class Google_Service_Compute_Resource_Autoscalers extends Google_Service_Resource
+{
+ /**
+ * Retrieves an aggregated list of autoscalers. (autoscalers.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_AutoscalerAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_AutoscalerAggregatedList");
+ }
+ /**
+ * Deletes the specified autoscaler. (autoscalers.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for this request.
+ * @param string $autoscaler Name of the autoscaler to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified autoscaler resource. Get a list of available
+ * autoscalers by making a list() request. (autoscalers.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for this request.
+ * @param string $autoscaler Name of the autoscaler to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_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), "Google_Service_Compute_Autoscaler");
+ }
+ /**
+ * Creates an autoscaler in the specified project using the data included in the
+ * request. (autoscalers.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for this request.
+ * @param Google_Service_Compute_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $zone, Google_Service_Compute_Autoscaler $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of autoscalers contained within the specified zone.
+ * (autoscalers.listAutoscalers)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_AutoscalerList
+ */
+ public function listAutoscalers($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_AutoscalerList");
+ }
+ /**
+ * Updates an autoscaler in the specified project using the data included in the
+ * request. This method supports patch semantics. (autoscalers.patch)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for this request.
+ * @param string $autoscaler Name of the autoscaler to update.
+ * @param Google_Service_Compute_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $zone, $autoscaler, Google_Service_Compute_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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Updates an autoscaler in the specified project using the data included in the
+ * request. (autoscalers.update)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for this request.
+ * @param Google_Service_Compute_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string autoscaler Name of the autoscaler to update.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $zone, Google_Service_Compute_Autoscaler $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/BackendBuckets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/BackendBuckets.php
new file mode 100644
index 00000000..4c510e32
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/BackendBuckets.php
@@ -0,0 +1,161 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "backendBuckets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $backendBuckets = $computeService->backendBuckets;
+ * </code>
+ */
+class Google_Service_Compute_Resource_BackendBuckets extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified BackendBucket resource. (backendBuckets.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $backendBucket Name of the BackendBucket resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $backendBucket, $optParams = array())
+ {
+ $params = array('project' => $project, 'backendBucket' => $backendBucket);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified BackendBucket resource. Get a list of available backend
+ * buckets by making a list() request. (backendBuckets.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $backendBucket Name of the BackendBucket resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_BackendBucket
+ */
+ public function get($project, $backendBucket, $optParams = array())
+ {
+ $params = array('project' => $project, 'backendBucket' => $backendBucket);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_BackendBucket");
+ }
+ /**
+ * Creates a BackendBucket resource in the specified project using the data
+ * included in the request. (backendBuckets.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_BackendBucket $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_BackendBucket $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of BackendBucket resources available to the specified
+ * project. (backendBuckets.listBackendBuckets)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_BackendBucketList
+ */
+ public function listBackendBuckets($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_BackendBucketList");
+ }
+ /**
+ * Updates the specified BackendBucket resource with the data included in the
+ * request. This method supports patch semantics. (backendBuckets.patch)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $backendBucket Name of the BackendBucket resource to update.
+ * @param Google_Service_Compute_BackendBucket $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $backendBucket, Google_Service_Compute_BackendBucket $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'backendBucket' => $backendBucket, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Updates the specified BackendBucket resource with the data included in the
+ * request. (backendBuckets.update)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $backendBucket Name of the BackendBucket resource to update.
+ * @param Google_Service_Compute_BackendBucket $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $backendBucket, Google_Service_Compute_BackendBucket $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'backendBucket' => $backendBucket, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/BackendServices.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/BackendServices.php
new file mode 100644
index 00000000..b234747b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/BackendServices.php
@@ -0,0 +1,241 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "backendServices" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $backendServices = $computeService->backendServices;
+ * </code>
+ */
+class Google_Service_Compute_Resource_BackendServices extends Google_Service_Resource
+{
+ /**
+ * Retrieves the list of all BackendService resources, regional and global,
+ * available to the specified project. (backendServices.aggregatedList)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_BackendServiceAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_BackendServiceAggregatedList");
+ }
+ /**
+ * Deletes the specified BackendService resource. (backendServices.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $backendService Name of the BackendService resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified BackendService resource. Get a list of available
+ * backend services by making a list() request. (backendServices.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $backendService Name of the BackendService resource to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "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 Google_Service_Compute_ResourceGroupReference $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_BackendServiceGroupHealth
+ */
+ public function getHealth($project, $backendService, 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), "Google_Service_Compute_BackendServiceGroupHealth");
+ }
+ /**
+ * Creates a BackendService resource in the specified project using the data
+ * included in the request. There are several restrictions and guidelines to
+ * keep in mind when creating a backend service. Read Restrictions and
+ * Guidelines for more information. (backendServices.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_BackendService $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_BackendService $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of BackendService resources available to the specified
+ * project. (backendServices.listBackendServices)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_BackendServiceList");
+ }
+ /**
+ * Updates the specified BackendService resource with the data included in the
+ * request. There are several restrictions and guidelines to keep in mind when
+ * updating a backend service. Read Restrictions and Guidelines for more
+ * information. This method supports patch semantics. (backendServices.patch)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $backendService Name of the BackendService resource to update.
+ * @param Google_Service_Compute_BackendService $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $backendService, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Updates the specified BackendService resource with the data included in the
+ * request. There are several restrictions and guidelines to keep in mind when
+ * updating a backend service. Read Restrictions and Guidelines for more
+ * information. (backendServices.update)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $backendService Name of the BackendService resource to update.
+ * @param Google_Service_Compute_BackendService $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $backendService, 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), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/DiskTypes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/DiskTypes.php
new file mode 100644
index 00000000..83fcc523
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/DiskTypes.php
@@ -0,0 +1,158 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "diskTypes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $diskTypes = $computeService->diskTypes;
+ * </code>
+ */
+class Google_Service_Compute_Resource_DiskTypes extends Google_Service_Resource
+{
+ /**
+ * Retrieves an aggregated list of disk types. (diskTypes.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_DiskTypeAggregatedList");
+ }
+ /**
+ * Returns the specified disk type. Get a list of available disk types by making
+ * a list() request. (diskTypes.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $diskType Name of the disk type to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_DiskType");
+ }
+ /**
+ * Retrieves a list of disk types available to the specified project.
+ * (diskTypes.listDiskTypes)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_DiskTypeList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Disks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Disks.php
new file mode 100644
index 00000000..be69f684
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Disks.php
@@ -0,0 +1,231 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "disks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $disks = $computeService->disks;
+ * </code>
+ */
+class Google_Service_Compute_Resource_Disks extends Google_Service_Resource
+{
+ /**
+ * Retrieves an aggregated list of persistent disks. (disks.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_DiskAggregatedList");
+ }
+ /**
+ * Creates a snapshot of a specified persistent disk. (disks.createSnapshot)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $disk Name of the persistent disk to snapshot.
+ * @param Google_Service_Compute_Snapshot $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool guestFlush
+ * @return Google_Service_Compute_Operation
+ */
+ public function createSnapshot($project, $zone, $disk, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Deletes the specified persistent disk. Deleting a disk removes its data
+ * permanently and is irreversible. However, deleting a disk does not delete any
+ * snapshots previously made from the disk. You must separately delete
+ * snapshots. (disks.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $disk Name of the persistent disk to delete.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns a specified persistent disk. Get a list of available persistent disks
+ * by making a list() request. (disks.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $disk Name of the persistent disk to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Disk");
+ }
+ /**
+ * Creates a persistent disk in the specified project using the data in the
+ * request. You can create a disk with a sourceImage, a sourceSnapshot, or
+ * create an empty 500 GB data disk by omitting all properties. You can also
+ * create a disk that is larger than the default size by specifying the sizeGb
+ * property. (disks.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param Google_Service_Compute_Disk $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sourceImage Optional. Source image to restore onto a disk.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $zone, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of persistent disks contained within the specified zone.
+ * (disks.listDisks)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_DiskList");
+ }
+ /**
+ * Resizes the specified persistent disk. (disks.resize)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $disk The name of the persistent disk.
+ * @param Google_Service_Compute_DisksResizeRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function resize($project, $zone, $disk, Google_Service_Compute_DisksResizeRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('resize', array($params), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Firewalls.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Firewalls.php
new file mode 100644
index 00000000..850bbd95
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Firewalls.php
@@ -0,0 +1,160 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "firewalls" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $firewalls = $computeService->firewalls;
+ * </code>
+ */
+class Google_Service_Compute_Resource_Firewalls extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified firewall. (firewalls.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $firewall Name of the firewall rule to delete.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified firewall. (firewalls.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $firewall Name of the firewall rule to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Firewall");
+ }
+ /**
+ * Creates a firewall rule in the specified project using the data included in
+ * the request. (firewalls.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_Firewall $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_Firewall $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of firewall rules available to the specified project.
+ * (firewalls.listFirewalls)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_FirewallList");
+ }
+ /**
+ * Updates the specified firewall rule with the data included in the request.
+ * This method supports patch semantics. (firewalls.patch)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $firewall Name of the firewall rule to update.
+ * @param Google_Service_Compute_Firewall $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $firewall, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Updates the specified firewall rule with the data included in the request.
+ * (firewalls.update)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $firewall Name of the firewall rule to update.
+ * @param Google_Service_Compute_Firewall $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $firewall, 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), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/ForwardingRules.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/ForwardingRules.php
new file mode 100644
index 00000000..9ee235b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/ForwardingRules.php
@@ -0,0 +1,207 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "forwardingRules" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $forwardingRules = $computeService->forwardingRules;
+ * </code>
+ */
+class Google_Service_Compute_Resource_ForwardingRules extends Google_Service_Resource
+{
+ /**
+ * Retrieves an aggregated list of forwarding rules.
+ * (forwardingRules.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_ForwardingRuleAggregatedList");
+ }
+ /**
+ * Deletes the specified ForwardingRule resource. (forwardingRules.delete)
+ *
+ * @param string $project Project ID for 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 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified ForwardingRule resource. (forwardingRules.get)
+ *
+ * @param string $project Project ID for 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 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), "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 Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param Google_Service_Compute_ForwardingRule $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $region, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of ForwardingRule resources available to the specified
+ * project and region. (forwardingRules.listForwardingRules)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_ForwardingRuleList");
+ }
+ /**
+ * Changes target URL for forwarding rule. The new target should be of the same
+ * type as the old target. (forwardingRules.setTarget)
+ *
+ * @param string $project Project ID for 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 Google_Service_Compute_TargetReference $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setTarget($project, $region, $forwardingRule, 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), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalAddresses.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalAddresses.php
new file mode 100644
index 00000000..eb1878d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalAddresses.php
@@ -0,0 +1,128 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "globalAddresses" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $globalAddresses = $computeService->globalAddresses;
+ * </code>
+ */
+class Google_Service_Compute_Resource_GlobalAddresses extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified address resource. (globalAddresses.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $address Name of the address resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified address resource. Get a list of available addresses by
+ * making a list() request. (globalAddresses.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $address Name of the address resource to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Address");
+ }
+ /**
+ * Creates an address resource in the specified project using the data included
+ * in the request. (globalAddresses.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_Address $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_Address $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of global addresses. (globalAddresses.listGlobalAddresses)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_AddressList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalForwardingRules.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalForwardingRules.php
new file mode 100644
index 00000000..2edee631
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalForwardingRules.php
@@ -0,0 +1,146 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "globalForwardingRules" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $globalForwardingRules = $computeService->globalForwardingRules;
+ * </code>
+ */
+class Google_Service_Compute_Resource_GlobalForwardingRules extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified ForwardingRule resource. (globalForwardingRules.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $forwardingRule Name of the ForwardingRule resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified ForwardingRule resource. Get a list of available
+ * forwarding rules by making a list() request. (globalForwardingRules.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $forwardingRule Name of the ForwardingRule resource to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "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 Project ID for this request.
+ * @param Google_Service_Compute_ForwardingRule $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_ForwardingRule $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of ForwardingRule resources available to the specified
+ * project. (globalForwardingRules.listGlobalForwardingRules)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_ForwardingRuleList");
+ }
+ /**
+ * Changes target URL for forwarding rule. The new target should be of the same
+ * type as the old target. (globalForwardingRules.setTarget)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $forwardingRule Name of the ForwardingRule resource in which
+ * target is to be set.
+ * @param Google_Service_Compute_TargetReference $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setTarget($project, $forwardingRule, 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), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalOperations.php
new file mode 100644
index 00000000..ce1a9417
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalOperations.php
@@ -0,0 +1,170 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "globalOperations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $globalOperations = $computeService->globalOperations;
+ * </code>
+ */
+class Google_Service_Compute_Resource_GlobalOperations extends Google_Service_Resource
+{
+ /**
+ * Retrieves an aggregated list of all operations.
+ * (globalOperations.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_OperationAggregatedList");
+ }
+ /**
+ * Deletes the specified Operations resource. (globalOperations.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $operation Name of the Operations 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 Operations resource. Get a list of operations by
+ * making a list() request. (globalOperations.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $operation Name of the Operations resource to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of Operation resources contained within the specified
+ * project. (globalOperations.listGlobalOperations)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_OperationList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HealthChecks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HealthChecks.php
new file mode 100644
index 00000000..c46e7e73
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HealthChecks.php
@@ -0,0 +1,162 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "healthChecks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $healthChecks = $computeService->healthChecks;
+ * </code>
+ */
+class Google_Service_Compute_Resource_HealthChecks extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified HealthCheck resource. (healthChecks.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $healthCheck Name of the HealthCheck resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $healthCheck, $optParams = array())
+ {
+ $params = array('project' => $project, 'healthCheck' => $healthCheck);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified HealthCheck resource. Get a list of available health
+ * checks by making a list() request. (healthChecks.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $healthCheck Name of the HealthCheck resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_HealthCheck
+ */
+ public function get($project, $healthCheck, $optParams = array())
+ {
+ $params = array('project' => $project, 'healthCheck' => $healthCheck);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_HealthCheck");
+ }
+ /**
+ * Creates a HealthCheck resource in the specified project using the data
+ * included in the request. (healthChecks.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_HealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_HealthCheck $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of HealthCheck resources available to the specified
+ * project. (healthChecks.listHealthChecks)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_HealthCheckList
+ */
+ public function listHealthChecks($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_HealthCheckList");
+ }
+ /**
+ * Updates a HealthCheck resource in the specified project using the data
+ * included in the request. This method supports patch semantics.
+ * (healthChecks.patch)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $healthCheck Name of the HealthCheck resource to update.
+ * @param Google_Service_Compute_HealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $healthCheck, Google_Service_Compute_HealthCheck $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'healthCheck' => $healthCheck, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Updates a HealthCheck resource in the specified project using the data
+ * included in the request. (healthChecks.update)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $healthCheck Name of the HealthCheck resource to update.
+ * @param Google_Service_Compute_HealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $healthCheck, Google_Service_Compute_HealthCheck $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'healthCheck' => $healthCheck, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HttpHealthChecks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HttpHealthChecks.php
new file mode 100644
index 00000000..bd261fa8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HttpHealthChecks.php
@@ -0,0 +1,166 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "httpHealthChecks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $httpHealthChecks = $computeService->httpHealthChecks;
+ * </code>
+ */
+class Google_Service_Compute_Resource_HttpHealthChecks extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified HttpHealthCheck resource. (httpHealthChecks.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $httpHealthCheck Name of the HttpHealthCheck resource to
+ * delete.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified HttpHealthCheck resource. Get a list of available HTTP
+ * health checks by making a list() request. (httpHealthChecks.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $httpHealthCheck Name of the HttpHealthCheck resource to
+ * return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_HttpHealthCheck");
+ }
+ /**
+ * Creates a HttpHealthCheck resource in the specified project using the data
+ * included in the request. (httpHealthChecks.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_HttpHealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of HttpHealthCheck resources available to the specified
+ * project. (httpHealthChecks.listHttpHealthChecks)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "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 Project ID for this request.
+ * @param string $httpHealthCheck Name of the HttpHealthCheck resource to
+ * update.
+ * @param Google_Service_Compute_HttpHealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $httpHealthCheck, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Updates a HttpHealthCheck resource in the specified project using the data
+ * included in the request. (httpHealthChecks.update)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $httpHealthCheck Name of the HttpHealthCheck resource to
+ * update.
+ * @param Google_Service_Compute_HttpHealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $httpHealthCheck, 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), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HttpsHealthChecks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HttpsHealthChecks.php
new file mode 100644
index 00000000..dcbfe55f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HttpsHealthChecks.php
@@ -0,0 +1,166 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "httpsHealthChecks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $httpsHealthChecks = $computeService->httpsHealthChecks;
+ * </code>
+ */
+class Google_Service_Compute_Resource_HttpsHealthChecks extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified HttpsHealthCheck resource. (httpsHealthChecks.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $httpsHealthCheck Name of the HttpsHealthCheck resource to
+ * delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $httpsHealthCheck, $optParams = array())
+ {
+ $params = array('project' => $project, 'httpsHealthCheck' => $httpsHealthCheck);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified HttpsHealthCheck resource. Get a list of available
+ * HTTPS health checks by making a list() request. (httpsHealthChecks.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $httpsHealthCheck Name of the HttpsHealthCheck resource to
+ * return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_HttpsHealthCheck
+ */
+ public function get($project, $httpsHealthCheck, $optParams = array())
+ {
+ $params = array('project' => $project, 'httpsHealthCheck' => $httpsHealthCheck);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_HttpsHealthCheck");
+ }
+ /**
+ * Creates a HttpsHealthCheck resource in the specified project using the data
+ * included in the request. (httpsHealthChecks.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_HttpsHealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_HttpsHealthCheck $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of HttpsHealthCheck resources available to the specified
+ * project. (httpsHealthChecks.listHttpsHealthChecks)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_HttpsHealthCheckList
+ */
+ public function listHttpsHealthChecks($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_HttpsHealthCheckList");
+ }
+ /**
+ * Updates a HttpsHealthCheck resource in the specified project using the data
+ * included in the request. This method supports patch semantics.
+ * (httpsHealthChecks.patch)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $httpsHealthCheck Name of the HttpsHealthCheck resource to
+ * update.
+ * @param Google_Service_Compute_HttpsHealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $httpsHealthCheck, Google_Service_Compute_HttpsHealthCheck $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'httpsHealthCheck' => $httpsHealthCheck, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Updates a HttpsHealthCheck resource in the specified project using the data
+ * included in the request. (httpsHealthChecks.update)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $httpsHealthCheck Name of the HttpsHealthCheck resource to
+ * update.
+ * @param Google_Service_Compute_HttpsHealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $httpsHealthCheck, Google_Service_Compute_HttpsHealthCheck $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'httpsHealthCheck' => $httpsHealthCheck, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Images.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Images.php
new file mode 100644
index 00000000..e3b5ac1f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Images.php
@@ -0,0 +1,166 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "images" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $images = $computeService->images;
+ * </code>
+ */
+class Google_Service_Compute_Resource_Images extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified image. (images.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $image Name of the image resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Sets the deprecation status of an image.
+ *
+ * If an empty request body is given, clears the deprecation status instead.
+ * (images.deprecate)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $image Image name.
+ * @param Google_Service_Compute_DeprecationStatus $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function deprecate($project, $image, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified image. Get a list of available images by making a
+ * list() request. (images.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $image Name of the image resource to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Image");
+ }
+ /**
+ * Returns the latest image that is part of an image family and is not
+ * deprecated. (images.getFromFamily)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $family Name of the image family to search for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Image
+ */
+ public function getFromFamily($project, $family, $optParams = array())
+ {
+ $params = array('project' => $project, 'family' => $family);
+ $params = array_merge($params, $optParams);
+ return $this->call('getFromFamily', array($params), "Google_Service_Compute_Image");
+ }
+ /**
+ * Creates an image in the specified project using the data included in the
+ * request. (images.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_Image $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_Image $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of private images available to the specified project.
+ * Private images are images you create that belong to your project. This method
+ * does not get any images that belong to other projects, including publicly-
+ * available images, like Debian 8. If you want to get a list of publicly-
+ * available images, use this method to make a request to the respective image
+ * project, such as debian-cloud or windows-cloud. (images.listImages)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_ImageList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceGroupManagers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceGroupManagers.php
new file mode 100644
index 00000000..1fb564e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceGroupManagers.php
@@ -0,0 +1,369 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "instanceGroupManagers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $instanceGroupManagers = $computeService->instanceGroupManagers;
+ * </code>
+ */
+class Google_Service_Compute_Resource_InstanceGroupManagers extends Google_Service_Resource
+{
+ /**
+ * Schedules a group action to remove the specified instances from the managed
+ * instance group. Abandoning an instance does not delete the instance, but it
+ * does remove the instance from any target pools that are applied by the
+ * managed instance group. This method reduces the targetSize of the managed
+ * instance group by the number of instances that you abandon. This operation is
+ * marked as DONE when the action is scheduled even if the instances have not
+ * yet been removed from the group. You must separately verify the status of the
+ * abandoning action with the listmanagedinstances method.
+ * (instanceGroupManagers.abandonInstances)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the managed instance group is
+ * located.
+ * @param string $instanceGroupManager The name of the managed instance group.
+ * @param Google_Service_Compute_InstanceGroupManagersAbandonInstancesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function abandonInstances($project, $zone, $instanceGroupManager, Google_Service_Compute_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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of managed instance groups and groups them by zone.
+ * (instanceGroupManagers.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_InstanceGroupManagerAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_InstanceGroupManagerAggregatedList");
+ }
+ /**
+ * Deletes the specified managed instance group and all of the instances in that
+ * group. Note that the instance group must not belong to a backend service.
+ * Read Deleting an instance group for more information.
+ * (instanceGroupManagers.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the managed instance group is
+ * located.
+ * @param string $instanceGroupManager The name of the managed instance group to
+ * delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Schedules a group action to delete the specified instances in the managed
+ * instance group. The instances are also removed from any target pools of which
+ * they were a member. This method reduces the targetSize of the managed
+ * instance group by the number of instances that you delete. This operation is
+ * marked as DONE when the action is scheduled even if the instances are still
+ * being deleted. You must separately verify the status of the deleting action
+ * with the listmanagedinstances method. (instanceGroupManagers.deleteInstances)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the managed instance group is
+ * located.
+ * @param string $instanceGroupManager The name of the managed instance group.
+ * @param Google_Service_Compute_InstanceGroupManagersDeleteInstancesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function deleteInstances($project, $zone, $instanceGroupManager, Google_Service_Compute_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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns all of the details about the specified managed instance group. Get a
+ * list of available managed instance groups by making a list() request.
+ * (instanceGroupManagers.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the managed instance group is
+ * located.
+ * @param string $instanceGroupManager The name of the managed instance group.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_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), "Google_Service_Compute_InstanceGroupManager");
+ }
+ /**
+ * Creates a managed instance group using the information that you specify in
+ * the request. After the group is created, it schedules an action to create
+ * instances in the group using the specified instance template. This operation
+ * is marked as DONE when the group is created even if the instances in the
+ * group have not yet been created. You must separately verify the status of the
+ * individual instances with the listmanagedinstances method.
+ * (instanceGroupManagers.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where you want to create the managed
+ * instance group.
+ * @param Google_Service_Compute_InstanceGroupManager $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $zone, Google_Service_Compute_InstanceGroupManager $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of managed instance groups that are contained within the
+ * specified project and zone. (instanceGroupManagers.listInstanceGroupManagers)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the managed instance group is
+ * located.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_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), "Google_Service_Compute_InstanceGroupManagerList");
+ }
+ /**
+ * Lists all of the instances in the managed instance group. Each instance in
+ * the list has a currentAction, which indicates the action that the managed
+ * instance group is performing on the instance. For example, if the group is
+ * still creating an instance, the currentAction is CREATING. If a previous
+ * action failed, the list displays the errors for that failed action.
+ * (instanceGroupManagers.listManagedInstances)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the managed instance group is
+ * located.
+ * @param string $instanceGroupManager The name of the managed instance group.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * @opt_param string maxResults
+ * @opt_param string order_by
+ * @opt_param string pageToken
+ * @return Google_Service_Compute_InstanceGroupManagersListManagedInstancesResponse
+ */
+ public function listManagedInstances($project, $zone, $instanceGroupManager, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager);
+ $params = array_merge($params, $optParams);
+ return $this->call('listManagedInstances', array($params), "Google_Service_Compute_InstanceGroupManagersListManagedInstancesResponse");
+ }
+ /**
+ * Schedules a group action to recreate the specified instances in the managed
+ * instance group. The instances are deleted and recreated using the current
+ * instance template for the managed instance group. This operation is marked as
+ * DONE when the action is scheduled even if the instances have not yet been
+ * recreated. You must separately verify the status of the recreating action
+ * with the listmanagedinstances method.
+ * (instanceGroupManagers.recreateInstances)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the managed instance group is
+ * located.
+ * @param string $instanceGroupManager The name of the managed instance group.
+ * @param Google_Service_Compute_InstanceGroupManagersRecreateInstancesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function recreateInstances($project, $zone, $instanceGroupManager, Google_Service_Compute_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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Resizes the managed instance group. If you increase the size, the group
+ * creates new instances using the current instance template. If you decrease
+ * the size, the group deletes instances. The resize operation is marked DONE
+ * when the resize actions are scheduled even if the group has not yet added or
+ * deleted any instances. You must separately verify the status of the creating
+ * or deleting actions with the listmanagedinstances method.
+ * (instanceGroupManagers.resize)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the managed instance group is
+ * located.
+ * @param string $instanceGroupManager The name of the managed instance group.
+ * @param int $size The number of running instances that the managed instance
+ * group should maintain at any given time. The group automatically adds or
+ * removes instances to maintain the number of instances specified by this
+ * parameter.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Specifies the instance template to use when creating new instances in this
+ * group. The templates for existing instances in the group do not change unless
+ * you recreate them. (instanceGroupManagers.setInstanceTemplate)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the managed instance group is
+ * located.
+ * @param string $instanceGroupManager The name of the managed instance group.
+ * @param Google_Service_Compute_InstanceGroupManagersSetInstanceTemplateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setInstanceTemplate($project, $zone, $instanceGroupManager, Google_Service_Compute_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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Modifies the target pools to which all instances in this managed instance
+ * group are assigned. The target pools automatically apply to all of the
+ * instances in the managed instance group. This operation is marked DONE when
+ * you make the request even if the instances have not yet been added to their
+ * target pools. The change might take some time to apply to all of the
+ * instances in the group depending on the size of the group.
+ * (instanceGroupManagers.setTargetPools)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the managed instance group is
+ * located.
+ * @param string $instanceGroupManager The name of the managed instance group.
+ * @param Google_Service_Compute_InstanceGroupManagersSetTargetPoolsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setTargetPools($project, $zone, $instanceGroupManager, Google_Service_Compute_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), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceGroups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceGroups.php
new file mode 100644
index 00000000..6945f6df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceGroups.php
@@ -0,0 +1,309 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "instanceGroups" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $instanceGroups = $computeService->instanceGroups;
+ * </code>
+ */
+class Google_Service_Compute_Resource_InstanceGroups extends Google_Service_Resource
+{
+ /**
+ * Adds a list of instances to the specified instance group. All of the
+ * instances in the instance group must be in the same network/subnetwork. Read
+ * Adding instances for more information. (instanceGroups.addInstances)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the instance group is located.
+ * @param string $instanceGroup The name of the instance group where you are
+ * adding instances.
+ * @param Google_Service_Compute_InstanceGroupsAddInstancesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function addInstances($project, $zone, $instanceGroup, Google_Service_Compute_InstanceGroupsAddInstancesRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addInstances', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of instance groups and sorts them by zone.
+ * (instanceGroups.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_InstanceGroupAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_InstanceGroupAggregatedList");
+ }
+ /**
+ * Deletes the specified instance group. The instances in the group are not
+ * deleted. Note that instance group must not belong to a backend service. Read
+ * Deleting an instance group for more information. (instanceGroups.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the instance group is located.
+ * @param string $instanceGroup The name of the instance group to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $zone, $instanceGroup, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified instance group. Get a list of available instance groups
+ * by making a list() request. (instanceGroups.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the instance group is located.
+ * @param string $instanceGroup The name of the instance group.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_InstanceGroup
+ */
+ public function get($project, $zone, $instanceGroup, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_InstanceGroup");
+ }
+ /**
+ * Creates an instance group in the specified project using the parameters that
+ * are included in the request. (instanceGroups.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where you want to create the
+ * instance group.
+ * @param Google_Service_Compute_InstanceGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $zone, Google_Service_Compute_InstanceGroup $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of instance groups that are located in the specified
+ * project and zone. (instanceGroups.listInstanceGroups)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the instance group is located.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_InstanceGroupList
+ */
+ public function listInstanceGroups($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_InstanceGroupList");
+ }
+ /**
+ * Lists the instances in the specified instance group.
+ * (instanceGroups.listInstances)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the instance group is located.
+ * @param string $instanceGroup The name of the instance group from which you
+ * want to generate a list of included instances.
+ * @param Google_Service_Compute_InstanceGroupsListInstancesRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_InstanceGroupsListInstances
+ */
+ public function listInstances($project, $zone, $instanceGroup, Google_Service_Compute_InstanceGroupsListInstancesRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('listInstances', array($params), "Google_Service_Compute_InstanceGroupsListInstances");
+ }
+ /**
+ * Removes one or more instances from the specified instance group, but does not
+ * delete those instances. (instanceGroups.removeInstances)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the instance group is located.
+ * @param string $instanceGroup The name of the instance group where the
+ * specified instances will be removed.
+ * @param Google_Service_Compute_InstanceGroupsRemoveInstancesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function removeInstances($project, $zone, $instanceGroup, Google_Service_Compute_InstanceGroupsRemoveInstancesRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeInstances', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Sets the named ports for the specified instance group.
+ * (instanceGroups.setNamedPorts)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone where the instance group is located.
+ * @param string $instanceGroup The name of the instance group where the named
+ * ports are updated.
+ * @param Google_Service_Compute_InstanceGroupsSetNamedPortsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setNamedPorts($project, $zone, $instanceGroup, Google_Service_Compute_InstanceGroupsSetNamedPortsRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setNamedPorts', array($params), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceTemplates.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceTemplates.php
new file mode 100644
index 00000000..e2dd0e2b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceTemplates.php
@@ -0,0 +1,136 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "instanceTemplates" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $instanceTemplates = $computeService->instanceTemplates;
+ * </code>
+ */
+class Google_Service_Compute_Resource_InstanceTemplates extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified instance template. If you delete an instance template
+ * that is being referenced from another instance group, the instance group will
+ * not be able to create or recreate virtual machine instances. Deleting an
+ * instance template is permanent and cannot be undone.
+ * (instanceTemplates.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $instanceTemplate The name of the instance template to delete.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified instance template. Get a list of available instance
+ * templates by making a list() request. (instanceTemplates.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $instanceTemplate The name of the instance template.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_InstanceTemplate");
+ }
+ /**
+ * Creates an instance template in the specified project using the data that is
+ * included in the request. If you are creating a new template to update an
+ * existing instance group, your new instance template must use the same network
+ * or, if applicable, the same subnetwork as the original template.
+ * (instanceTemplates.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_InstanceTemplate $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_InstanceTemplate $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of instance templates that are contained within the
+ * specified project and zone. (instanceTemplates.listInstanceTemplates)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_InstanceTemplateList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Instances.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Instances.php
new file mode 100644
index 00000000..4c1d6cf5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Instances.php
@@ -0,0 +1,455 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "instances" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $instances = $computeService->instances;
+ * </code>
+ */
+class Google_Service_Compute_Resource_Instances extends Google_Service_Resource
+{
+ /**
+ * Adds an access config to an instance's network interface.
+ * (instances.addAccessConfig)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance The instance name for this request.
+ * @param string $networkInterface The name of the network interface to add to
+ * this instance.
+ * @param Google_Service_Compute_AccessConfig $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function addAccessConfig($project, $zone, $instance, $networkInterface, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves aggregated list of instances. (instances.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_InstanceAggregatedList");
+ }
+ /**
+ * Attaches a Disk resource to an instance. (instances.attachDisk)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance The instance name for this request.
+ * @param Google_Service_Compute_AttachedDisk $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function attachDisk($project, $zone, $instance, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Deletes the specified Instance resource. For more information, see Stopping
+ * or Deleting an Instance. (instances.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance Name of the instance resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Deletes an access config from an instance's network interface.
+ * (instances.deleteAccessConfig)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance The instance name for this request.
+ * @param string $accessConfig The name of the access config to delete.
+ * @param string $networkInterface The name of the network interface.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Detaches a disk from an instance. (instances.detachDisk)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance Instance name.
+ * @param string $deviceName Disk device name to detach.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified Instance resource. Get a list of available instances by
+ * making a list() request. (instances.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance Name of the instance resource to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Instance");
+ }
+ /**
+ * Returns the specified instance's serial port output.
+ * (instances.getSerialPortOutput)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance Name of the instance scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int port Specifies which COM or serial port to retrieve data from.
+ * @opt_param string start Returns output starting from a specific byte
+ * position. Use this to page through output when the output is too large to
+ * return in a single request. For the initial request, leave this field
+ * unspecified. For subsequent calls, this field should be set to the next value
+ * returned in the previous call.
+ * @return 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), "Google_Service_Compute_SerialPortOutput");
+ }
+ /**
+ * Creates an instance resource in the specified project using the data included
+ * in the request. (instances.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param Google_Service_Compute_Instance $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $zone, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of instances contained within the specified zone.
+ * (instances.listInstances)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_InstanceList");
+ }
+ /**
+ * Performs a hard reset on the instance. (instances.reset)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance Name of the instance scoping this request.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Sets the auto-delete flag for a disk attached to an instance.
+ * (instances.setDiskAutoDelete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance The instance name.
+ * @param bool $autoDelete Whether to auto-delete the disk when the instance is
+ * deleted.
+ * @param string $deviceName The device name of the disk to modify.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Changes the machine type for a stopped instance to the machine type specified
+ * in the request. (instances.setMachineType)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance Name of the instance scoping this request.
+ * @param Google_Service_Compute_InstancesSetMachineTypeRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setMachineType($project, $zone, $instance, Google_Service_Compute_InstancesSetMachineTypeRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setMachineType', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Sets metadata for the specified instance to the data included in the request.
+ * (instances.setMetadata)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance Name of the instance scoping this request.
+ * @param Google_Service_Compute_Metadata $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setMetadata($project, $zone, $instance, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Sets an instance's scheduling options. (instances.setScheduling)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance Instance name.
+ * @param Google_Service_Compute_Scheduling $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setScheduling($project, $zone, $instance, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Sets the service account on the instance. For more information, read Changing
+ * the service account and access scopes for an instance.
+ * (instances.setServiceAccount)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance Name of the instance resource to start.
+ * @param Google_Service_Compute_InstancesSetServiceAccountRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setServiceAccount($project, $zone, $instance, Google_Service_Compute_InstancesSetServiceAccountRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setServiceAccount', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Sets tags for the specified instance to the data included in the request.
+ * (instances.setTags)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance Name of the instance scoping this request.
+ * @param Google_Service_Compute_Tags $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setTags($project, $zone, $instance, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Starts an instance that was stopped using the using the instances().stop
+ * method. For more information, see Restart an instance. (instances.start)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance Name of the instance resource to start.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function start($project, $zone, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('start', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Starts an instance that was stopped using the using the instances().stop
+ * method. For more information, see Restart an instance.
+ * (instances.startWithEncryptionKey)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance Name of the instance resource to start.
+ * @param Google_Service_Compute_InstancesStartWithEncryptionKeyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function startWithEncryptionKey($project, $zone, $instance, Google_Service_Compute_InstancesStartWithEncryptionKeyRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('startWithEncryptionKey', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Stops a running instance, shutting it down cleanly, and allows you to restart
+ * the instance at a later time. Stopped instances do not incur per-minute,
+ * virtual machine usage charges while they are stopped, but any resources that
+ * the virtual machine is using, such as persistent disks and static IP
+ * addresses, will continue to be charged until they are deleted. For more
+ * information, see Stopping an instance. (instances.stop)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $instance Name of the instance resource to stop.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function stop($project, $zone, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Licenses.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Licenses.php
new file mode 100644
index 00000000..c6656a7c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Licenses.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "licenses" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $licenses = $computeService->licenses;
+ * </code>
+ */
+class Google_Service_Compute_Resource_Licenses extends Google_Service_Resource
+{
+ /**
+ * Returns the specified License resource. Get a list of available licenses by
+ * making a list() request. (licenses.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $license Name of the License resource to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_License");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/MachineTypes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/MachineTypes.php
new file mode 100644
index 00000000..1e822f87
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/MachineTypes.php
@@ -0,0 +1,158 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "machineTypes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $machineTypes = $computeService->machineTypes;
+ * </code>
+ */
+class Google_Service_Compute_Resource_MachineTypes extends Google_Service_Resource
+{
+ /**
+ * Retrieves an aggregated list of machine types. (machineTypes.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_MachineTypeAggregatedList");
+ }
+ /**
+ * Returns the specified machine type. Get a list of available machine types by
+ * making a list() request. (machineTypes.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param string $machineType Name of the machine type to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_MachineType");
+ }
+ /**
+ * Retrieves a list of machine types available to the specified project.
+ * (machineTypes.listMachineTypes)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone The name of the zone for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_MachineTypeList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Networks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Networks.php
new file mode 100644
index 00000000..6e9d4383
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Networks.php
@@ -0,0 +1,144 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "networks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $networks = $computeService->networks;
+ * </code>
+ */
+class Google_Service_Compute_Resource_Networks extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified network. (networks.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $network Name of the network to delete.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified network. Get a list of available networks by making a
+ * list() request. (networks.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $network Name of the network to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Network");
+ }
+ /**
+ * Creates a network in the specified project using the data included in the
+ * request. (networks.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_Network $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_Network $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of networks available to the specified project.
+ * (networks.listNetworks)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_NetworkList");
+ }
+ /**
+ * Switches the network mode from auto subnet mode to custom subnet mode.
+ * (networks.switchToCustomMode)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $network Name of the network to be updated.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function switchToCustomMode($project, $network, $optParams = array())
+ {
+ $params = array('project' => $project, 'network' => $network);
+ $params = array_merge($params, $optParams);
+ return $this->call('switchToCustomMode', array($params), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Projects.php
new file mode 100644
index 00000000..99410cc7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Projects.php
@@ -0,0 +1,101 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $projects = $computeService->projects;
+ * </code>
+ */
+class Google_Service_Compute_Resource_Projects extends Google_Service_Resource
+{
+ /**
+ * Returns the specified Project resource. (projects.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Project");
+ }
+ /**
+ * Moves a persistent disk from one zone to another. (projects.moveDisk)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_DiskMoveRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function moveDisk($project, Google_Service_Compute_DiskMoveRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('moveDisk', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Moves an instance and its attached persistent disks from one zone to another.
+ * (projects.moveInstance)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_InstanceMoveRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function moveInstance($project, Google_Service_Compute_InstanceMoveRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('moveInstance', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Sets metadata common to all instances within the specified project using the
+ * data included in the request. (projects.setCommonInstanceMetadata)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_Metadata $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setCommonInstanceMetadata($project, Google_Service_Compute_Metadata $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setCommonInstanceMetadata', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Enables the usage export feature and sets the usage export bucket where
+ * reports are stored. If you provide an empty request body using this method,
+ * the usage export feature will be disabled. (projects.setUsageExportBucket)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_UsageExportLocation $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setUsageExportBucket($project, Google_Service_Compute_UsageExportLocation $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setUsageExportBucket', array($params), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionAutoscalers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionAutoscalers.php
new file mode 100644
index 00000000..a9a30977
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionAutoscalers.php
@@ -0,0 +1,167 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "regionAutoscalers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $regionAutoscalers = $computeService->regionAutoscalers;
+ * </code>
+ */
+class Google_Service_Compute_Resource_RegionAutoscalers extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified autoscaler. (regionAutoscalers.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $autoscaler Name of the autoscaler to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $region, $autoscaler, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'autoscaler' => $autoscaler);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified autoscaler. (regionAutoscalers.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $autoscaler Name of the autoscaler to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Autoscaler
+ */
+ public function get($project, $region, $autoscaler, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'autoscaler' => $autoscaler);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_Autoscaler");
+ }
+ /**
+ * Creates an autoscaler in the specified project using the data included in the
+ * request. (regionAutoscalers.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param Google_Service_Compute_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $region, Google_Service_Compute_Autoscaler $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of autoscalers contained within the specified region.
+ * (regionAutoscalers.listRegionAutoscalers)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_RegionAutoscalerList
+ */
+ public function listRegionAutoscalers($project, $region, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_RegionAutoscalerList");
+ }
+ /**
+ * Updates an autoscaler in the specified project using the data included in the
+ * request. This method supports patch semantics. (regionAutoscalers.patch)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $autoscaler Name of the autoscaler to update.
+ * @param Google_Service_Compute_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $region, $autoscaler, Google_Service_Compute_Autoscaler $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'autoscaler' => $autoscaler, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Updates an autoscaler in the specified project using the data included in the
+ * request. (regionAutoscalers.update)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param Google_Service_Compute_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string autoscaler Name of the autoscaler to update.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $region, Google_Service_Compute_Autoscaler $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionBackendServices.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionBackendServices.php
new file mode 100644
index 00000000..e82facce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionBackendServices.php
@@ -0,0 +1,194 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "regionBackendServices" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $regionBackendServices = $computeService->regionBackendServices;
+ * </code>
+ */
+class Google_Service_Compute_Resource_RegionBackendServices extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified regional BackendService resource.
+ * (regionBackendServices.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $backendService Name of the BackendService resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $region, $backendService, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'backendService' => $backendService);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified regional BackendService resource.
+ * (regionBackendServices.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $backendService Name of the BackendService resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_BackendService
+ */
+ public function get($project, $region, $backendService, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'backendService' => $backendService);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_BackendService");
+ }
+ /**
+ * Gets the most recent health check results for this regional BackendService.
+ * (regionBackendServices.getHealth)
+ *
+ * @param string $project
+ * @param string $region Name of the region scoping this request.
+ * @param string $backendService Name of the BackendService resource to which
+ * the queried instance belongs.
+ * @param Google_Service_Compute_ResourceGroupReference $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_BackendServiceGroupHealth
+ */
+ public function getHealth($project, $region, $backendService, Google_Service_Compute_ResourceGroupReference $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'backendService' => $backendService, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getHealth', array($params), "Google_Service_Compute_BackendServiceGroupHealth");
+ }
+ /**
+ * Creates a regional BackendService resource in the specified project using the
+ * data included in the request. There are several restrictions and guidelines
+ * to keep in mind when creating a regional backend service. Read Restrictions
+ * and Guidelines for more information. (regionBackendServices.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param Google_Service_Compute_BackendService $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $region, Google_Service_Compute_BackendService $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of regional BackendService resources available to the
+ * specified project in the given region.
+ * (regionBackendServices.listRegionBackendServices)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_BackendServiceList
+ */
+ public function listRegionBackendServices($project, $region, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_BackendServiceList");
+ }
+ /**
+ * Updates the specified regional BackendService resource with the data included
+ * in the request. There are several restrictions and guidelines to keep in mind
+ * when updating a backend service. Read Restrictions and Guidelines for more
+ * information. This method supports patch semantics.
+ * (regionBackendServices.patch)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $backendService Name of the BackendService resource to update.
+ * @param Google_Service_Compute_BackendService $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $region, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'backendService' => $backendService, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Updates the specified regional BackendService resource with the data included
+ * in the request. There are several restrictions and guidelines to keep in mind
+ * when updating a backend service. Read Restrictions and Guidelines for more
+ * information. (regionBackendServices.update)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $backendService Name of the BackendService resource to update.
+ * @param Google_Service_Compute_BackendService $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $region, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'backendService' => $backendService, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionInstanceGroupManagers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionInstanceGroupManagers.php
new file mode 100644
index 00000000..94e89eda
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionInstanceGroupManagers.php
@@ -0,0 +1,294 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "regionInstanceGroupManagers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $regionInstanceGroupManagers = $computeService->regionInstanceGroupManagers;
+ * </code>
+ */
+class Google_Service_Compute_Resource_RegionInstanceGroupManagers extends Google_Service_Resource
+{
+ /**
+ * Schedules a group action to remove the specified instances from the managed
+ * instance group. Abandoning an instance does not delete the instance, but it
+ * does remove the instance from any target pools that are applied by the
+ * managed instance group. This method reduces the targetSize of the managed
+ * instance group by the number of instances that you abandon. This operation is
+ * marked as DONE when the action is scheduled even if the instances have not
+ * yet been removed from the group. You must separately verify the status of the
+ * abandoning action with the listmanagedinstances method.
+ * (regionInstanceGroupManagers.abandonInstances)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $instanceGroupManager Name of the managed instance group.
+ * @param Google_Service_Compute_RegionInstanceGroupManagersAbandonInstancesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function abandonInstances($project, $region, $instanceGroupManager, Google_Service_Compute_RegionInstanceGroupManagersAbandonInstancesRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('abandonInstances', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Deletes the specified managed instance group and all of the instances in that
+ * group. (regionInstanceGroupManagers.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $instanceGroupManager Name of the managed instance group to
+ * delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $region, $instanceGroupManager, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Schedules a group action to delete the specified instances in the managed
+ * instance group. The instances are also removed from any target pools of which
+ * they were a member. This method reduces the targetSize of the managed
+ * instance group by the number of instances that you delete. This operation is
+ * marked as DONE when the action is scheduled even if the instances are still
+ * being deleted. You must separately verify the status of the deleting action
+ * with the listmanagedinstances method.
+ * (regionInstanceGroupManagers.deleteInstances)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $instanceGroupManager Name of the managed instance group.
+ * @param Google_Service_Compute_RegionInstanceGroupManagersDeleteInstancesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function deleteInstances($project, $region, $instanceGroupManager, Google_Service_Compute_RegionInstanceGroupManagersDeleteInstancesRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteInstances', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns all of the details about the specified managed instance group.
+ * (regionInstanceGroupManagers.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $instanceGroupManager Name of the managed instance group to
+ * return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_InstanceGroupManager
+ */
+ public function get($project, $region, $instanceGroupManager, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_InstanceGroupManager");
+ }
+ /**
+ * Creates a managed instance group using the information that you specify in
+ * the request. After the group is created, it schedules an action to create
+ * instances in the group using the specified instance template. This operation
+ * is marked as DONE when the group is created even if the instances in the
+ * group have not yet been created. You must separately verify the status of the
+ * individual instances with the listmanagedinstances method.
+ * (regionInstanceGroupManagers.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param Google_Service_Compute_InstanceGroupManager $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $region, Google_Service_Compute_InstanceGroupManager $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of managed instance groups that are contained within the
+ * specified region.
+ * (regionInstanceGroupManagers.listRegionInstanceGroupManagers)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_RegionInstanceGroupManagerList
+ */
+ public function listRegionInstanceGroupManagers($project, $region, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_RegionInstanceGroupManagerList");
+ }
+ /**
+ * Lists the instances in the managed instance group and instances that are
+ * scheduled to be created. The list includes any current actions that the group
+ * has scheduled for its instances.
+ * (regionInstanceGroupManagers.listManagedInstances)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $instanceGroupManager The name of the managed instance group.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * @opt_param string maxResults
+ * @opt_param string order_by
+ * @opt_param string pageToken
+ * @return Google_Service_Compute_RegionInstanceGroupManagersListInstancesResponse
+ */
+ public function listManagedInstances($project, $region, $instanceGroupManager, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager);
+ $params = array_merge($params, $optParams);
+ return $this->call('listManagedInstances', array($params), "Google_Service_Compute_RegionInstanceGroupManagersListInstancesResponse");
+ }
+ /**
+ * Schedules a group action to recreate the specified instances in the managed
+ * instance group. The instances are deleted and recreated using the current
+ * instance template for the managed instance group. This operation is marked as
+ * DONE when the action is scheduled even if the instances have not yet been
+ * recreated. You must separately verify the status of the recreating action
+ * with the listmanagedinstances method.
+ * (regionInstanceGroupManagers.recreateInstances)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $instanceGroupManager Name of the managed instance group.
+ * @param Google_Service_Compute_RegionInstanceGroupManagersRecreateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function recreateInstances($project, $region, $instanceGroupManager, Google_Service_Compute_RegionInstanceGroupManagersRecreateRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('recreateInstances', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Changes the intended size for the managed instance group. If you increase the
+ * size, the group schedules actions to create new instances using the current
+ * instance template. If you decrease the size, the group schedules delete
+ * actions on one or more instances. The resize operation is marked DONE when
+ * the resize actions are scheduled even if the group has not yet added or
+ * deleted any instances. You must separately verify the status of the creating
+ * or deleting actions with the listmanagedinstances method.
+ * (regionInstanceGroupManagers.resize)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $instanceGroupManager Name of the managed instance group.
+ * @param int $size Number of instances that should exist in this instance group
+ * manager.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function resize($project, $region, $instanceGroupManager, $size, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager, 'size' => $size);
+ $params = array_merge($params, $optParams);
+ return $this->call('resize', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Sets the instance template to use when creating new instances or recreating
+ * instances in this group. Existing instances are not affected.
+ * (regionInstanceGroupManagers.setInstanceTemplate)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $instanceGroupManager The name of the managed instance group.
+ * @param Google_Service_Compute_RegionInstanceGroupManagersSetTemplateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setInstanceTemplate($project, $region, $instanceGroupManager, Google_Service_Compute_RegionInstanceGroupManagersSetTemplateRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setInstanceTemplate', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Modifies the target pools to which all new instances in this group are
+ * assigned. Existing instances in the group are not affected.
+ * (regionInstanceGroupManagers.setTargetPools)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $instanceGroupManager Name of the managed instance group.
+ * @param Google_Service_Compute_RegionInstanceGroupManagersSetTargetPoolsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setTargetPools($project, $region, $instanceGroupManager, Google_Service_Compute_RegionInstanceGroupManagersSetTargetPoolsRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setTargetPools', array($params), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionInstanceGroups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionInstanceGroups.php
new file mode 100644
index 00000000..27934ab4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionInstanceGroups.php
@@ -0,0 +1,182 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "regionInstanceGroups" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $regionInstanceGroups = $computeService->regionInstanceGroups;
+ * </code>
+ */
+class Google_Service_Compute_Resource_RegionInstanceGroups extends Google_Service_Resource
+{
+ /**
+ * Returns the specified instance group resource. (regionInstanceGroups.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $instanceGroup Name of the instance group resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_InstanceGroup
+ */
+ public function get($project, $region, $instanceGroup, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'instanceGroup' => $instanceGroup);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_InstanceGroup");
+ }
+ /**
+ * Retrieves the list of instance group resources contained within the specified
+ * region. (regionInstanceGroups.listRegionInstanceGroups)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_RegionInstanceGroupList
+ */
+ public function listRegionInstanceGroups($project, $region, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_RegionInstanceGroupList");
+ }
+ /**
+ * Lists the instances in the specified instance group and displays information
+ * about the named ports. Depending on the specified options, this method can
+ * list all instances or only the instances that are running.
+ * (regionInstanceGroups.listInstances)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $instanceGroup Name of the regional instance group for which we
+ * want to list the instances.
+ * @param Google_Service_Compute_RegionInstanceGroupsListInstancesRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_RegionInstanceGroupsListInstances
+ */
+ public function listInstances($project, $region, $instanceGroup, Google_Service_Compute_RegionInstanceGroupsListInstancesRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('listInstances', array($params), "Google_Service_Compute_RegionInstanceGroupsListInstances");
+ }
+ /**
+ * Sets the named ports for the specified regional instance group.
+ * (regionInstanceGroups.setNamedPorts)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $instanceGroup The name of the regional instance group where
+ * the named ports are updated.
+ * @param Google_Service_Compute_RegionInstanceGroupsSetNamedPortsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setNamedPorts($project, $region, $instanceGroup, Google_Service_Compute_RegionInstanceGroupsSetNamedPortsRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setNamedPorts', array($params), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionOperations.php
new file mode 100644
index 00000000..40d91319
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionOperations.php
@@ -0,0 +1,117 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "regionOperations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $regionOperations = $computeService->regionOperations;
+ * </code>
+ */
+class Google_Service_Compute_Resource_RegionOperations extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified region-specific Operations resource.
+ * (regionOperations.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param string $operation Name of the Operations 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 Operations resource.
+ * (regionOperations.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param string $operation Name of the Operations resource to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of Operation resources contained within the specified
+ * region. (regionOperations.listRegionOperations)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_OperationList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Regions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Regions.php
new file mode 100644
index 00000000..b5e859a0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Regions.php
@@ -0,0 +1,100 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "regions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $regions = $computeService->regions;
+ * </code>
+ */
+class Google_Service_Compute_Resource_Regions extends Google_Service_Resource
+{
+ /**
+ * Returns the specified Region resource. Get a list of available regions by
+ * making a list() request. (regions.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region resource to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Region");
+ }
+ /**
+ * Retrieves the list of region resources available to the specified project.
+ * (regions.listRegions)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_RegionList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Routers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Routers.php
new file mode 100644
index 00000000..8ab17d0c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Routers.php
@@ -0,0 +1,256 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "routers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $routers = $computeService->routers;
+ * </code>
+ */
+class Google_Service_Compute_Resource_Routers extends Google_Service_Resource
+{
+ /**
+ * Retrieves an aggregated list of routers. (routers.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_RouterAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_RouterAggregatedList");
+ }
+ /**
+ * Deletes the specified Router resource. (routers.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param string $router Name of the Router resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $region, $router, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'router' => $router);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified Router resource. Get a list of available routers by
+ * making a list() request. (routers.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param string $router Name of the Router resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Router
+ */
+ public function get($project, $region, $router, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'router' => $router);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_Router");
+ }
+ /**
+ * Retrieves runtime information of the specified router.
+ * (routers.getRouterStatus)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param string $router Name of the Router resource to query.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_RouterStatusResponse
+ */
+ public function getRouterStatus($project, $region, $router, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'router' => $router);
+ $params = array_merge($params, $optParams);
+ return $this->call('getRouterStatus', array($params), "Google_Service_Compute_RouterStatusResponse");
+ }
+ /**
+ * Creates a Router resource in the specified project and region using the data
+ * included in the request. (routers.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param Google_Service_Compute_Router $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $region, Google_Service_Compute_Router $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of Router resources available to the specified project.
+ * (routers.listRouters)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_RouterList
+ */
+ public function listRouters($project, $region, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_RouterList");
+ }
+ /**
+ * Updates the specified Router resource with the data included in the request.
+ * This method supports patch semantics. (routers.patch)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param string $router Name of the Router resource to update.
+ * @param Google_Service_Compute_Router $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $region, $router, Google_Service_Compute_Router $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'router' => $router, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Preview fields auto-generated during router create and update operations.
+ * Calling this method does NOT create or update the router. (routers.preview)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param string $router Name of the Router resource to query.
+ * @param Google_Service_Compute_Router $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_RoutersPreviewResponse
+ */
+ public function preview($project, $region, $router, Google_Service_Compute_Router $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'router' => $router, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('preview', array($params), "Google_Service_Compute_RoutersPreviewResponse");
+ }
+ /**
+ * Updates the specified Router resource with the data included in the request.
+ * (routers.update)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param string $router Name of the Router resource to update.
+ * @param Google_Service_Compute_Router $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $region, $router, Google_Service_Compute_Router $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'router' => $router, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Routes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Routes.php
new file mode 100644
index 00000000..2970f5e7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Routes.php
@@ -0,0 +1,129 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "routes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $routes = $computeService->routes;
+ * </code>
+ */
+class Google_Service_Compute_Resource_Routes extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified Route resource. (routes.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $route Name of the Route resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified Route resource. Get a list of available routes by
+ * making a list() request. (routes.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $route Name of the Route resource to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Route");
+ }
+ /**
+ * Creates a Route resource in the specified project using the data included in
+ * the request. (routes.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_Route $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_Route $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of Route resources available to the specified project.
+ * (routes.listRoutes)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_RouteList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Snapshots.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Snapshots.php
new file mode 100644
index 00000000..30fbf0b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Snapshots.php
@@ -0,0 +1,119 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "snapshots" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $snapshots = $computeService->snapshots;
+ * </code>
+ */
+class Google_Service_Compute_Resource_Snapshots extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified Snapshot resource. Keep in mind that deleting a single
+ * snapshot might not necessarily delete all the data on that snapshot. If any
+ * data on the snapshot that is marked for deletion is needed for subsequent
+ * snapshots, the data will be moved to the next corresponding snapshot.
+ *
+ * For more information, see Deleting snaphots. (snapshots.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $snapshot Name of the Snapshot resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified Snapshot resource. Get a list of available snapshots by
+ * making a list() request. (snapshots.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $snapshot Name of the Snapshot resource to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Snapshot");
+ }
+ /**
+ * Retrieves the list of Snapshot resources contained within the specified
+ * project. (snapshots.listSnapshots)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_SnapshotList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/SslCertificates.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/SslCertificates.php
new file mode 100644
index 00000000..b445378c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/SslCertificates.php
@@ -0,0 +1,129 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "sslCertificates" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $sslCertificates = $computeService->sslCertificates;
+ * </code>
+ */
+class Google_Service_Compute_Resource_SslCertificates extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified SslCertificate resource. (sslCertificates.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $sslCertificate Name of the SslCertificate resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $sslCertificate, $optParams = array())
+ {
+ $params = array('project' => $project, 'sslCertificate' => $sslCertificate);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified SslCertificate resource. Get a list of available SSL
+ * certificates by making a list() request. (sslCertificates.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $sslCertificate Name of the SslCertificate resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_SslCertificate
+ */
+ public function get($project, $sslCertificate, $optParams = array())
+ {
+ $params = array('project' => $project, 'sslCertificate' => $sslCertificate);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_SslCertificate");
+ }
+ /**
+ * Creates a SslCertificate resource in the specified project using the data
+ * included in the request. (sslCertificates.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_SslCertificate $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_SslCertificate $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of SslCertificate resources available to the specified
+ * project. (sslCertificates.listSslCertificates)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_SslCertificateList
+ */
+ public function listSslCertificates($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_SslCertificateList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Subnetworks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Subnetworks.php
new file mode 100644
index 00000000..9e0fd05b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Subnetworks.php
@@ -0,0 +1,206 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "subnetworks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $subnetworks = $computeService->subnetworks;
+ * </code>
+ */
+class Google_Service_Compute_Resource_Subnetworks extends Google_Service_Resource
+{
+ /**
+ * Retrieves an aggregated list of subnetworks. (subnetworks.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_SubnetworkAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_SubnetworkAggregatedList");
+ }
+ /**
+ * Deletes the specified subnetwork. (subnetworks.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $subnetwork Name of the Subnetwork resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $region, $subnetwork, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'subnetwork' => $subnetwork);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Expands the IP CIDR range of the subnetwork to a specified value.
+ * (subnetworks.expandIpCidrRange)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $subnetwork Name of the Subnetwork resource to update.
+ * @param Google_Service_Compute_SubnetworksExpandIpCidrRangeRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function expandIpCidrRange($project, $region, $subnetwork, Google_Service_Compute_SubnetworksExpandIpCidrRangeRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'subnetwork' => $subnetwork, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('expandIpCidrRange', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified subnetwork. Get a list of available subnetworks list()
+ * request. (subnetworks.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $subnetwork Name of the Subnetwork resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Subnetwork
+ */
+ public function get($project, $region, $subnetwork, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'subnetwork' => $subnetwork);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_Subnetwork");
+ }
+ /**
+ * Creates a subnetwork in the specified project using the data included in the
+ * request. (subnetworks.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param Google_Service_Compute_Subnetwork $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $region, Google_Service_Compute_Subnetwork $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of subnetworks available to the specified project.
+ * (subnetworks.listSubnetworks)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_SubnetworkList
+ */
+ public function listSubnetworks($project, $region, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_SubnetworkList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetHttpProxies.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetHttpProxies.php
new file mode 100644
index 00000000..3f19cfe8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetHttpProxies.php
@@ -0,0 +1,147 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "targetHttpProxies" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $targetHttpProxies = $computeService->targetHttpProxies;
+ * </code>
+ */
+class Google_Service_Compute_Resource_TargetHttpProxies extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified TargetHttpProxy resource. (targetHttpProxies.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $targetHttpProxy Name of the TargetHttpProxy resource to
+ * delete.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified TargetHttpProxy resource. Get a list of available
+ * target HTTP proxies by making a list() request. (targetHttpProxies.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $targetHttpProxy Name of the TargetHttpProxy resource to
+ * return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_TargetHttpProxy");
+ }
+ /**
+ * Creates a TargetHttpProxy resource in the specified project using the data
+ * included in the request. (targetHttpProxies.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_TargetHttpProxy $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_TargetHttpProxy $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of TargetHttpProxy resources available to the specified
+ * project. (targetHttpProxies.listTargetHttpProxies)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_TargetHttpProxyList");
+ }
+ /**
+ * Changes the URL map for TargetHttpProxy. (targetHttpProxies.setUrlMap)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $targetHttpProxy Name of the TargetHttpProxy to set a URL map
+ * for.
+ * @param Google_Service_Compute_UrlMapReference $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setUrlMap($project, $targetHttpProxy, 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), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetHttpsProxies.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetHttpsProxies.php
new file mode 100644
index 00000000..dd659717
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetHttpsProxies.php
@@ -0,0 +1,164 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "targetHttpsProxies" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $targetHttpsProxies = $computeService->targetHttpsProxies;
+ * </code>
+ */
+class Google_Service_Compute_Resource_TargetHttpsProxies extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified TargetHttpsProxy resource. (targetHttpsProxies.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $targetHttpsProxy Name of the TargetHttpsProxy resource to
+ * delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $targetHttpsProxy, $optParams = array())
+ {
+ $params = array('project' => $project, 'targetHttpsProxy' => $targetHttpsProxy);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified TargetHttpsProxy resource. Get a list of available
+ * target HTTPS proxies by making a list() request. (targetHttpsProxies.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $targetHttpsProxy Name of the TargetHttpsProxy resource to
+ * return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_TargetHttpsProxy
+ */
+ public function get($project, $targetHttpsProxy, $optParams = array())
+ {
+ $params = array('project' => $project, 'targetHttpsProxy' => $targetHttpsProxy);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_TargetHttpsProxy");
+ }
+ /**
+ * Creates a TargetHttpsProxy resource in the specified project using the data
+ * included in the request. (targetHttpsProxies.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_TargetHttpsProxy $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_TargetHttpsProxy $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of TargetHttpsProxy resources available to the specified
+ * project. (targetHttpsProxies.listTargetHttpsProxies)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_TargetHttpsProxyList
+ */
+ public function listTargetHttpsProxies($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_TargetHttpsProxyList");
+ }
+ /**
+ * Replaces SslCertificates for TargetHttpsProxy.
+ * (targetHttpsProxies.setSslCertificates)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $targetHttpsProxy Name of the TargetHttpsProxy resource to set
+ * an SslCertificates resource for.
+ * @param Google_Service_Compute_TargetHttpsProxiesSetSslCertificatesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setSslCertificates($project, $targetHttpsProxy, Google_Service_Compute_TargetHttpsProxiesSetSslCertificatesRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'targetHttpsProxy' => $targetHttpsProxy, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setSslCertificates', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Changes the URL map for TargetHttpsProxy. (targetHttpsProxies.setUrlMap)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $targetHttpsProxy Name of the TargetHttpsProxy resource whose
+ * URL map is to be set.
+ * @param Google_Service_Compute_UrlMapReference $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setUrlMap($project, $targetHttpsProxy, Google_Service_Compute_UrlMapReference $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'targetHttpsProxy' => $targetHttpsProxy, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setUrlMap', array($params), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetInstances.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetInstances.php
new file mode 100644
index 00000000..e421bf42
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetInstances.php
@@ -0,0 +1,190 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "targetInstances" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $targetInstances = $computeService->targetInstances;
+ * </code>
+ */
+class Google_Service_Compute_Resource_TargetInstances extends Google_Service_Resource
+{
+ /**
+ * Retrieves an aggregated list of target instances.
+ * (targetInstances.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_TargetInstanceAggregatedList");
+ }
+ /**
+ * Deletes the specified TargetInstance resource. (targetInstances.delete)
+ *
+ * @param string $project Project ID for 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 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified TargetInstance resource. Get a list of available target
+ * instances by making a list() request. (targetInstances.get)
+ *
+ * @param string $project Project ID for 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 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), "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 Project ID for this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param Google_Service_Compute_TargetInstance $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $zone, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of TargetInstance resources available to the specified
+ * project and zone. (targetInstances.listTargetInstances)
+ *
+ * @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 Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_TargetInstanceList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetPools.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetPools.php
new file mode 100644
index 00000000..7d462298
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetPools.php
@@ -0,0 +1,293 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "targetPools" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $targetPools = $computeService->targetPools;
+ * </code>
+ */
+class Google_Service_Compute_Resource_TargetPools extends Google_Service_Resource
+{
+ /**
+ * Adds health check URLs to a target pool. (targetPools.addHealthCheck)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $targetPool Name of the target pool to add a health check to.
+ * @param Google_Service_Compute_TargetPoolsAddHealthCheckRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function addHealthCheck($project, $region, $targetPool, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Adds an instance to a target pool. (targetPools.addInstance)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $targetPool Name of the TargetPool resource to add instances
+ * to.
+ * @param Google_Service_Compute_TargetPoolsAddInstanceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function addInstance($project, $region, $targetPool, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves an aggregated list of target pools. (targetPools.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_TargetPoolAggregatedList");
+ }
+ /**
+ * Deletes the specified target pool. (targetPools.delete)
+ *
+ * @param string $project Project ID for 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 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified target pool. Get a list of available target pools by
+ * making a list() request. (targetPools.get)
+ *
+ * @param string $project Project ID for 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 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), "Google_Service_Compute_TargetPool");
+ }
+ /**
+ * Gets the most recent health check results for each IP for the instance that
+ * is referenced by the given target pool. (targetPools.getHealth)
+ *
+ * @param string $project Project ID for this request.
+ * @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 Google_Service_Compute_InstanceReference $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_TargetPoolInstanceHealth
+ */
+ public function getHealth($project, $region, $targetPool, 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), "Google_Service_Compute_TargetPoolInstanceHealth");
+ }
+ /**
+ * Creates a target pool in the specified project and region using the data
+ * included in the request. (targetPools.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param Google_Service_Compute_TargetPool $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $region, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of target pools available to the specified project and
+ * region. (targetPools.listTargetPools)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_TargetPoolList");
+ }
+ /**
+ * Removes health check URL from a target pool. (targetPools.removeHealthCheck)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param string $targetPool Name of the target pool to remove health checks
+ * from.
+ * @param Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function removeHealthCheck($project, $region, $targetPool, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Removes instance URL from a target pool. (targetPools.removeInstance)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $targetPool Name of the TargetPool resource to remove instances
+ * from.
+ * @param Google_Service_Compute_TargetPoolsRemoveInstanceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function removeInstance($project, $region, $targetPool, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Changes a backup target pool's configurations. (targetPools.setBackup)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $targetPool Name of the TargetPool resource to set a backup
+ * pool for.
+ * @param Google_Service_Compute_TargetReference $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param float failoverRatio New failoverRatio value for the target pool.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setBackup($project, $region, $targetPool, 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), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetSslProxies.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetSslProxies.php
new file mode 100644
index 00000000..b6e2458d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetSslProxies.php
@@ -0,0 +1,180 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "targetSslProxies" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $targetSslProxies = $computeService->targetSslProxies;
+ * </code>
+ */
+class Google_Service_Compute_Resource_TargetSslProxies extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified TargetSslProxy resource. (targetSslProxies.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $targetSslProxy Name of the TargetSslProxy resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $targetSslProxy, $optParams = array())
+ {
+ $params = array('project' => $project, 'targetSslProxy' => $targetSslProxy);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified TargetSslProxy resource. Get a list of available target
+ * SSL proxies by making a list() request. (targetSslProxies.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $targetSslProxy Name of the TargetSslProxy resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_TargetSslProxy
+ */
+ public function get($project, $targetSslProxy, $optParams = array())
+ {
+ $params = array('project' => $project, 'targetSslProxy' => $targetSslProxy);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_TargetSslProxy");
+ }
+ /**
+ * Creates a TargetSslProxy resource in the specified project using the data
+ * included in the request. (targetSslProxies.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_TargetSslProxy $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_TargetSslProxy $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of TargetSslProxy resources available to the specified
+ * project. (targetSslProxies.listTargetSslProxies)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_TargetSslProxyList
+ */
+ public function listTargetSslProxies($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_TargetSslProxyList");
+ }
+ /**
+ * Changes the BackendService for TargetSslProxy.
+ * (targetSslProxies.setBackendService)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $targetSslProxy Name of the TargetSslProxy resource whose
+ * BackendService resource is to be set.
+ * @param Google_Service_Compute_TargetSslProxiesSetBackendServiceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setBackendService($project, $targetSslProxy, Google_Service_Compute_TargetSslProxiesSetBackendServiceRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'targetSslProxy' => $targetSslProxy, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setBackendService', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Changes the ProxyHeaderType for TargetSslProxy.
+ * (targetSslProxies.setProxyHeader)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $targetSslProxy Name of the TargetSslProxy resource whose
+ * ProxyHeader is to be set.
+ * @param Google_Service_Compute_TargetSslProxiesSetProxyHeaderRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setProxyHeader($project, $targetSslProxy, Google_Service_Compute_TargetSslProxiesSetProxyHeaderRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'targetSslProxy' => $targetSslProxy, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setProxyHeader', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Changes SslCertificates for TargetSslProxy.
+ * (targetSslProxies.setSslCertificates)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $targetSslProxy Name of the TargetSslProxy resource whose
+ * SslCertificate resource is to be set.
+ * @param Google_Service_Compute_TargetSslProxiesSetSslCertificatesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setSslCertificates($project, $targetSslProxy, Google_Service_Compute_TargetSslProxiesSetSslCertificatesRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'targetSslProxy' => $targetSslProxy, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setSslCertificates', array($params), "Google_Service_Compute_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetVpnGateways.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetVpnGateways.php
new file mode 100644
index 00000000..a4dc75ab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetVpnGateways.php
@@ -0,0 +1,190 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "targetVpnGateways" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $targetVpnGateways = $computeService->targetVpnGateways;
+ * </code>
+ */
+class Google_Service_Compute_Resource_TargetVpnGateways extends Google_Service_Resource
+{
+ /**
+ * Retrieves an aggregated list of target VPN gateways.
+ * (targetVpnGateways.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_TargetVpnGatewayAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetVpnGatewayAggregatedList");
+ }
+ /**
+ * Deletes the specified target VPN gateway. (targetVpnGateways.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param string $targetVpnGateway Name of the target VPN gateway to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $region, $targetVpnGateway, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'targetVpnGateway' => $targetVpnGateway);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified target VPN gateway. Get a list of available target VPN
+ * gateways by making a list() request. (targetVpnGateways.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param string $targetVpnGateway Name of the target VPN gateway to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_TargetVpnGateway
+ */
+ public function get($project, $region, $targetVpnGateway, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'targetVpnGateway' => $targetVpnGateway);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_TargetVpnGateway");
+ }
+ /**
+ * Creates a target VPN gateway in the specified project and region using the
+ * data included in the request. (targetVpnGateways.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param Google_Service_Compute_TargetVpnGateway $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $region, Google_Service_Compute_TargetVpnGateway $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of target VPN gateways available to the specified project
+ * and region. (targetVpnGateways.listTargetVpnGateways)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_TargetVpnGatewayList
+ */
+ public function listTargetVpnGateways($project, $region, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_TargetVpnGatewayList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/UrlMaps.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/UrlMaps.php
new file mode 100644
index 00000000..3a3460d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/UrlMaps.php
@@ -0,0 +1,194 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "urlMaps" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $urlMaps = $computeService->urlMaps;
+ * </code>
+ */
+class Google_Service_Compute_Resource_UrlMaps extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified UrlMap resource. (urlMaps.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $urlMap Name of the UrlMap resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified UrlMap resource. Get a list of available URL maps by
+ * making a list() request. (urlMaps.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $urlMap Name of the UrlMap resource to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_UrlMap");
+ }
+ /**
+ * Creates a UrlMap resource in the specified project using the data included in
+ * the request. (urlMaps.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Service_Compute_UrlMap $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_UrlMap $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Initiates a cache invalidation operation, invalidating the specified path,
+ * scoped to the specified UrlMap. (urlMaps.invalidateCache)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $urlMap Name of the UrlMap scoping this request.
+ * @param Google_Service_Compute_CacheInvalidationRule $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function invalidateCache($project, $urlMap, Google_Service_Compute_CacheInvalidationRule $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('invalidateCache', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of UrlMap resources available to the specified project.
+ * (urlMaps.listUrlMaps)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_UrlMapList");
+ }
+ /**
+ * Updates the specified UrlMap resource with the data included in the request.
+ * This method supports patch semantics. (urlMaps.patch)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $urlMap Name of the UrlMap resource to update.
+ * @param Google_Service_Compute_UrlMap $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $urlMap, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Updates the specified UrlMap resource with the data included in the request.
+ * (urlMaps.update)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $urlMap Name of the UrlMap resource to update.
+ * @param Google_Service_Compute_UrlMap $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $urlMap, 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Runs 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 Project ID for this request.
+ * @param string $urlMap Name of the UrlMap resource to be validated as.
+ * @param Google_Service_Compute_UrlMapsValidateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_UrlMapsValidateResponse
+ */
+ public function validate($project, $urlMap, 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), "Google_Service_Compute_UrlMapsValidateResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/VpnTunnels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/VpnTunnels.php
new file mode 100644
index 00000000..4d9fd312
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/VpnTunnels.php
@@ -0,0 +1,189 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "vpnTunnels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $vpnTunnels = $computeService->vpnTunnels;
+ * </code>
+ */
+class Google_Service_Compute_Resource_VpnTunnels extends Google_Service_Resource
+{
+ /**
+ * Retrieves an aggregated list of VPN tunnels. (vpnTunnels.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_VpnTunnelAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_VpnTunnelAggregatedList");
+ }
+ /**
+ * Deletes the specified VpnTunnel resource. (vpnTunnels.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param string $vpnTunnel Name of the VpnTunnel resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $region, $vpnTunnel, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'vpnTunnel' => $vpnTunnel);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified VpnTunnel resource. Get a list of available VPN tunnels
+ * by making a list() request. (vpnTunnels.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param string $vpnTunnel Name of the VpnTunnel resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_VpnTunnel
+ */
+ public function get($project, $region, $vpnTunnel, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'vpnTunnel' => $vpnTunnel);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_VpnTunnel");
+ }
+ /**
+ * Creates a VpnTunnel resource in the specified project and region using the
+ * data included in the request. (vpnTunnels.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param Google_Service_Compute_VpnTunnel $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $region, Google_Service_Compute_VpnTunnel $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of VpnTunnel resources contained in the specified project
+ * and region. (vpnTunnels.listVpnTunnels)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region Name of the region for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_Compute_VpnTunnelList
+ */
+ public function listVpnTunnels($project, $region, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_VpnTunnelList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/ZoneOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/ZoneOperations.php
new file mode 100644
index 00000000..2c7117ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/ZoneOperations.php
@@ -0,0 +1,117 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "zoneOperations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $zoneOperations = $computeService->zoneOperations;
+ * </code>
+ */
+class Google_Service_Compute_Resource_ZoneOperations extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified zone-specific Operations resource.
+ * (zoneOperations.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for this request.
+ * @param string $operation Name of the Operations 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 Operations resource.
+ * (zoneOperations.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for this request.
+ * @param string $operation Name of the Operations resource to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves a list of Operation resources contained within the specified zone.
+ * (zoneOperations.listZoneOperations)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_OperationList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Zones.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Zones.php
new file mode 100644
index 00000000..7cb7a9ab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Zones.php
@@ -0,0 +1,100 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "zones" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Google_Service_Compute(...);
+ * $zones = $computeService->zones;
+ * </code>
+ */
+class Google_Service_Compute_Resource_Zones extends Google_Service_Resource
+{
+ /**
+ * Returns the specified Zone resource. Get a list of available zones by making
+ * a list() request. (zones.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone resource to return.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Compute_Zone");
+ }
+ /**
+ * Retrieves the list of Zone resources available to the specified project.
+ * (zones.listZones)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return 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), "Google_Service_Compute_ZoneList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ResourceGroupReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ResourceGroupReference.php
new file mode 100644
index 00000000..aff90a0b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ResourceGroupReference.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_ResourceGroupReference extends Google_Model
+{
+ public $group;
+
+ public function setGroup($group)
+ {
+ $this->group = $group;
+ }
+ public function getGroup()
+ {
+ return $this->group;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Route.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Route.php
new file mode 100644
index 00000000..115d95be
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Route.php
@@ -0,0 +1,167 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Route extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $creationTimestamp;
+ public $description;
+ public $destRange;
+ public $id;
+ public $kind;
+ public $name;
+ public $network;
+ public $nextHopGateway;
+ public $nextHopInstance;
+ public $nextHopIp;
+ public $nextHopNetwork;
+ public $nextHopVpnTunnel;
+ public $priority;
+ public $selfLink;
+ public $tags;
+ protected $warningsType = '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 setNextHopVpnTunnel($nextHopVpnTunnel)
+ {
+ $this->nextHopVpnTunnel = $nextHopVpnTunnel;
+ }
+ public function getNextHopVpnTunnel()
+ {
+ return $this->nextHopVpnTunnel;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteList.php
new file mode 100644
index 00000000..8587856c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RouteList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteWarnings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteWarnings.php
new file mode 100644
index 00000000..d41e2c71
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteWarnings.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RouteWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteWarningsData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteWarningsData.php
new file mode 100644
index 00000000..19826730
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteWarningsData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RouteWarningsData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Router.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Router.php
new file mode 100644
index 00000000..abcb67d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Router.php
@@ -0,0 +1,124 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Router extends Google_Collection
+{
+ protected $collection_key = 'interfaces';
+ protected $bgpType = 'Google_Service_Compute_RouterBgp';
+ protected $bgpDataType = '';
+ protected $bgpPeersType = 'Google_Service_Compute_RouterBgpPeer';
+ protected $bgpPeersDataType = 'array';
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ protected $interfacesType = 'Google_Service_Compute_RouterInterface';
+ protected $interfacesDataType = 'array';
+ public $kind;
+ public $name;
+ public $network;
+ public $region;
+ public $selfLink;
+
+ public function setBgp(Google_Service_Compute_RouterBgp $bgp)
+ {
+ $this->bgp = $bgp;
+ }
+ public function getBgp()
+ {
+ return $this->bgp;
+ }
+ public function setBgpPeers($bgpPeers)
+ {
+ $this->bgpPeers = $bgpPeers;
+ }
+ public function getBgpPeers()
+ {
+ return $this->bgpPeers;
+ }
+ 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 setInterfaces($interfaces)
+ {
+ $this->interfaces = $interfaces;
+ }
+ public function getInterfaces()
+ {
+ return $this->interfaces;
+ }
+ 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 setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterAggregatedList.php
new file mode 100644
index 00000000..fb5d0d93
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RouterAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_RoutersScopedList';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterBgp.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterBgp.php
new file mode 100644
index 00000000..c7e25f65
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterBgp.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RouterBgp extends Google_Model
+{
+ public $asn;
+
+ public function setAsn($asn)
+ {
+ $this->asn = $asn;
+ }
+ public function getAsn()
+ {
+ return $this->asn;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterBgpPeer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterBgpPeer.php
new file mode 100644
index 00000000..a65fb824
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterBgpPeer.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RouterBgpPeer extends Google_Model
+{
+ public $advertisedRoutePriority;
+ public $interfaceName;
+ public $ipAddress;
+ public $name;
+ public $peerAsn;
+ public $peerIpAddress;
+
+ public function setAdvertisedRoutePriority($advertisedRoutePriority)
+ {
+ $this->advertisedRoutePriority = $advertisedRoutePriority;
+ }
+ public function getAdvertisedRoutePriority()
+ {
+ return $this->advertisedRoutePriority;
+ }
+ public function setInterfaceName($interfaceName)
+ {
+ $this->interfaceName = $interfaceName;
+ }
+ public function getInterfaceName()
+ {
+ return $this->interfaceName;
+ }
+ public function setIpAddress($ipAddress)
+ {
+ $this->ipAddress = $ipAddress;
+ }
+ public function getIpAddress()
+ {
+ return $this->ipAddress;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPeerAsn($peerAsn)
+ {
+ $this->peerAsn = $peerAsn;
+ }
+ public function getPeerAsn()
+ {
+ return $this->peerAsn;
+ }
+ public function setPeerIpAddress($peerIpAddress)
+ {
+ $this->peerIpAddress = $peerIpAddress;
+ }
+ public function getPeerIpAddress()
+ {
+ return $this->peerIpAddress;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterInterface.php
new file mode 100644
index 00000000..af0bc908
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterInterface.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RouterInterface extends Google_Model
+{
+ public $ipRange;
+ public $linkedVpnTunnel;
+ public $name;
+
+ public function setIpRange($ipRange)
+ {
+ $this->ipRange = $ipRange;
+ }
+ public function getIpRange()
+ {
+ return $this->ipRange;
+ }
+ public function setLinkedVpnTunnel($linkedVpnTunnel)
+ {
+ $this->linkedVpnTunnel = $linkedVpnTunnel;
+ }
+ public function getLinkedVpnTunnel()
+ {
+ return $this->linkedVpnTunnel;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterList.php
new file mode 100644
index 00000000..146168d8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RouterList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_Router';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatus.php
new file mode 100644
index 00000000..b737bc96
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatus.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RouterStatus extends Google_Collection
+{
+ protected $collection_key = 'bgpPeerStatus';
+ protected $bestRoutesType = 'Google_Service_Compute_Route';
+ protected $bestRoutesDataType = 'array';
+ protected $bgpPeerStatusType = 'Google_Service_Compute_RouterStatusBgpPeerStatus';
+ protected $bgpPeerStatusDataType = 'array';
+ public $network;
+
+ public function setBestRoutes($bestRoutes)
+ {
+ $this->bestRoutes = $bestRoutes;
+ }
+ public function getBestRoutes()
+ {
+ return $this->bestRoutes;
+ }
+ public function setBgpPeerStatus($bgpPeerStatus)
+ {
+ $this->bgpPeerStatus = $bgpPeerStatus;
+ }
+ public function getBgpPeerStatus()
+ {
+ return $this->bgpPeerStatus;
+ }
+ public function setNetwork($network)
+ {
+ $this->network = $network;
+ }
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatusBgpPeerStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatusBgpPeerStatus.php
new file mode 100644
index 00000000..bc657b2b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatusBgpPeerStatus.php
@@ -0,0 +1,113 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RouterStatusBgpPeerStatus extends Google_Collection
+{
+ protected $collection_key = 'advertisedRoutes';
+ protected $advertisedRoutesType = 'Google_Service_Compute_Route';
+ protected $advertisedRoutesDataType = 'array';
+ public $ipAddress;
+ public $linkedVpnTunnel;
+ public $name;
+ public $numLearnedRoutes;
+ public $peerIpAddress;
+ public $state;
+ public $status;
+ public $uptime;
+ public $uptimeSeconds;
+
+ public function setAdvertisedRoutes($advertisedRoutes)
+ {
+ $this->advertisedRoutes = $advertisedRoutes;
+ }
+ public function getAdvertisedRoutes()
+ {
+ return $this->advertisedRoutes;
+ }
+ public function setIpAddress($ipAddress)
+ {
+ $this->ipAddress = $ipAddress;
+ }
+ public function getIpAddress()
+ {
+ return $this->ipAddress;
+ }
+ public function setLinkedVpnTunnel($linkedVpnTunnel)
+ {
+ $this->linkedVpnTunnel = $linkedVpnTunnel;
+ }
+ public function getLinkedVpnTunnel()
+ {
+ return $this->linkedVpnTunnel;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNumLearnedRoutes($numLearnedRoutes)
+ {
+ $this->numLearnedRoutes = $numLearnedRoutes;
+ }
+ public function getNumLearnedRoutes()
+ {
+ return $this->numLearnedRoutes;
+ }
+ public function setPeerIpAddress($peerIpAddress)
+ {
+ $this->peerIpAddress = $peerIpAddress;
+ }
+ public function getPeerIpAddress()
+ {
+ return $this->peerIpAddress;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setUptime($uptime)
+ {
+ $this->uptime = $uptime;
+ }
+ public function getUptime()
+ {
+ return $this->uptime;
+ }
+ public function setUptimeSeconds($uptimeSeconds)
+ {
+ $this->uptimeSeconds = $uptimeSeconds;
+ }
+ public function getUptimeSeconds()
+ {
+ return $this->uptimeSeconds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatusResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatusResponse.php
new file mode 100644
index 00000000..a78812e3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatusResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RouterStatusResponse extends Google_Model
+{
+ public $kind;
+ protected $resultType = 'Google_Service_Compute_RouterStatus';
+ protected $resultDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setResult(Google_Service_Compute_RouterStatus $result)
+ {
+ $this->result = $result;
+ }
+ public function getResult()
+ {
+ return $this->result;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersPreviewResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersPreviewResponse.php
new file mode 100644
index 00000000..79372e6d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersPreviewResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RoutersPreviewResponse extends Google_Model
+{
+ protected $resourceType = 'Google_Service_Compute_Router';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_Compute_Router $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedList.php
new file mode 100644
index 00000000..7f321f15
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RoutersScopedList extends Google_Collection
+{
+ protected $collection_key = 'routers';
+ protected $routersType = 'Google_Service_Compute_Router';
+ protected $routersDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_RoutersScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setRouters($routers)
+ {
+ $this->routers = $routers;
+ }
+ public function getRouters()
+ {
+ return $this->routers;
+ }
+ public function setWarning(Google_Service_Compute_RoutersScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedListWarning.php
new file mode 100644
index 00000000..0aa8c3ce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RoutersScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = 'Google_Service_Compute_RoutersScopedListWarningData';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedListWarningData.php
new file mode 100644
index 00000000..d4c75d1c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_RoutersScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SSLHealthCheck.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SSLHealthCheck.php
new file mode 100644
index 00000000..8ba4fdef
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SSLHealthCheck.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_SSLHealthCheck extends Google_Model
+{
+ public $port;
+ public $portName;
+ public $proxyHeader;
+ public $request;
+ public $response;
+
+ 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 setProxyHeader($proxyHeader)
+ {
+ $this->proxyHeader = $proxyHeader;
+ }
+ public function getProxyHeader()
+ {
+ return $this->proxyHeader;
+ }
+ public function setRequest($request)
+ {
+ $this->request = $request;
+ }
+ public function getRequest()
+ {
+ return $this->request;
+ }
+ public function setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Scheduling.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Scheduling.php
new file mode 100644
index 00000000..cebeebb1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Scheduling.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Scheduling extends Google_Model
+{
+ public $automaticRestart;
+ public $onHostMaintenance;
+ public $preemptible;
+
+ 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;
+ }
+ public function setPreemptible($preemptible)
+ {
+ $this->preemptible = $preemptible;
+ }
+ public function getPreemptible()
+ {
+ return $this->preemptible;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SerialPortOutput.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SerialPortOutput.php
new file mode 100644
index 00000000..79a96a7d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SerialPortOutput.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_SerialPortOutput extends Google_Model
+{
+ public $contents;
+ public $kind;
+ public $next;
+ public $selfLink;
+ public $start;
+
+ 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 setNext($next)
+ {
+ $this->next = $next;
+ }
+ public function getNext()
+ {
+ return $this->next;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ServiceAccount.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ServiceAccount.php
new file mode 100644
index 00000000..c3f5df0b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ServiceAccount.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_ServiceAccount extends Google_Collection
+{
+ protected $collection_key = 'scopes';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Snapshot.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Snapshot.php
new file mode 100644
index 00000000..60616e74
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Snapshot.php
@@ -0,0 +1,159 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Snapshot extends Google_Collection
+{
+ protected $collection_key = 'licenses';
+ public $creationTimestamp;
+ public $description;
+ public $diskSizeGb;
+ public $id;
+ public $kind;
+ public $licenses;
+ public $name;
+ public $selfLink;
+ protected $snapshotEncryptionKeyType = 'Google_Service_Compute_CustomerEncryptionKey';
+ protected $snapshotEncryptionKeyDataType = '';
+ public $sourceDisk;
+ protected $sourceDiskEncryptionKeyType = 'Google_Service_Compute_CustomerEncryptionKey';
+ protected $sourceDiskEncryptionKeyDataType = '';
+ 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 setSnapshotEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $snapshotEncryptionKey)
+ {
+ $this->snapshotEncryptionKey = $snapshotEncryptionKey;
+ }
+ public function getSnapshotEncryptionKey()
+ {
+ return $this->snapshotEncryptionKey;
+ }
+ public function setSourceDisk($sourceDisk)
+ {
+ $this->sourceDisk = $sourceDisk;
+ }
+ public function getSourceDisk()
+ {
+ return $this->sourceDisk;
+ }
+ public function setSourceDiskEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $sourceDiskEncryptionKey)
+ {
+ $this->sourceDiskEncryptionKey = $sourceDiskEncryptionKey;
+ }
+ public function getSourceDiskEncryptionKey()
+ {
+ return $this->sourceDiskEncryptionKey;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SnapshotList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SnapshotList.php
new file mode 100644
index 00000000..0cce5fc9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SnapshotList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_SnapshotList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SslCertificate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SslCertificate.php
new file mode 100644
index 00000000..e1b3425e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SslCertificate.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_SslCertificate extends Google_Model
+{
+ public $certificate;
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $privateKey;
+ public $selfLink;
+
+ public function setCertificate($certificate)
+ {
+ $this->certificate = $certificate;
+ }
+ public function getCertificate()
+ {
+ return $this->certificate;
+ }
+ 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 setPrivateKey($privateKey)
+ {
+ $this->privateKey = $privateKey;
+ }
+ public function getPrivateKey()
+ {
+ return $this->privateKey;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SslCertificateList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SslCertificateList.php
new file mode 100644
index 00000000..14eeaf12
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SslCertificateList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_SslCertificateList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_SslCertificate';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Subnetwork.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Subnetwork.php
new file mode 100644
index 00000000..a9253ed4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Subnetwork.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Subnetwork extends Google_Model
+{
+ public $creationTimestamp;
+ public $description;
+ public $gatewayAddress;
+ public $id;
+ public $ipCidrRange;
+ public $kind;
+ public $name;
+ public $network;
+ public $region;
+ 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 setGatewayAddress($gatewayAddress)
+ {
+ $this->gatewayAddress = $gatewayAddress;
+ }
+ public function getGatewayAddress()
+ {
+ return $this->gatewayAddress;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIpCidrRange($ipCidrRange)
+ {
+ $this->ipCidrRange = $ipCidrRange;
+ }
+ public function getIpCidrRange()
+ {
+ return $this->ipCidrRange;
+ }
+ 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 setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworkAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworkAggregatedList.php
new file mode 100644
index 00000000..454b55a5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworkAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_SubnetworkAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_SubnetworksScopedList';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworkList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworkList.php
new file mode 100644
index 00000000..5dcb4cfe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworkList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_SubnetworkList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_Subnetwork';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksExpandIpCidrRangeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksExpandIpCidrRangeRequest.php
new file mode 100644
index 00000000..d8bf7116
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksExpandIpCidrRangeRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_SubnetworksExpandIpCidrRangeRequest extends Google_Model
+{
+ public $ipCidrRange;
+
+ public function setIpCidrRange($ipCidrRange)
+ {
+ $this->ipCidrRange = $ipCidrRange;
+ }
+ public function getIpCidrRange()
+ {
+ return $this->ipCidrRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedList.php
new file mode 100644
index 00000000..5ef2e8e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_SubnetworksScopedList extends Google_Collection
+{
+ protected $collection_key = 'subnetworks';
+ protected $subnetworksType = 'Google_Service_Compute_Subnetwork';
+ protected $subnetworksDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_SubnetworksScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setSubnetworks($subnetworks)
+ {
+ $this->subnetworks = $subnetworks;
+ }
+ public function getSubnetworks()
+ {
+ return $this->subnetworks;
+ }
+ public function setWarning(Google_Service_Compute_SubnetworksScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedListWarning.php
new file mode 100644
index 00000000..298eebb4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_SubnetworksScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = 'Google_Service_Compute_SubnetworksScopedListWarningData';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedListWarningData.php
new file mode 100644
index 00000000..f83c966b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_SubnetworksScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TCPHealthCheck.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TCPHealthCheck.php
new file mode 100644
index 00000000..0584c7ec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TCPHealthCheck.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TCPHealthCheck extends Google_Model
+{
+ public $port;
+ public $portName;
+ public $proxyHeader;
+ public $request;
+ public $response;
+
+ 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 setProxyHeader($proxyHeader)
+ {
+ $this->proxyHeader = $proxyHeader;
+ }
+ public function getProxyHeader()
+ {
+ return $this->proxyHeader;
+ }
+ public function setRequest($request)
+ {
+ $this->request = $request;
+ }
+ public function getRequest()
+ {
+ return $this->request;
+ }
+ public function setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Tags.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Tags.php
new file mode 100644
index 00000000..84321b75
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Tags.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Tags extends Google_Collection
+{
+ protected $collection_key = 'items';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpProxy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpProxy.php
new file mode 100644
index 00000000..afdfe85b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpProxy.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetHttpProxy extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpProxyList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpProxyList.php
new file mode 100644
index 00000000..d58d9dd3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpProxyList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetHttpProxyList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxiesSetSslCertificatesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxiesSetSslCertificatesRequest.php
new file mode 100644
index 00000000..73ef2fe9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxiesSetSslCertificatesRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetHttpsProxiesSetSslCertificatesRequest extends Google_Collection
+{
+ protected $collection_key = 'sslCertificates';
+ public $sslCertificates;
+
+ public function setSslCertificates($sslCertificates)
+ {
+ $this->sslCertificates = $sslCertificates;
+ }
+ public function getSslCertificates()
+ {
+ return $this->sslCertificates;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxy.php
new file mode 100644
index 00000000..a945b6b4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxy.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetHttpsProxy extends Google_Collection
+{
+ protected $collection_key = 'sslCertificates';
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $selfLink;
+ public $sslCertificates;
+ 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 setSslCertificates($sslCertificates)
+ {
+ $this->sslCertificates = $sslCertificates;
+ }
+ public function getSslCertificates()
+ {
+ return $this->sslCertificates;
+ }
+ public function setUrlMap($urlMap)
+ {
+ $this->urlMap = $urlMap;
+ }
+ public function getUrlMap()
+ {
+ return $this->urlMap;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxyList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxyList.php
new file mode 100644
index 00000000..414156e7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxyList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetHttpsProxyList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_TargetHttpsProxy';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstance.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstance.php
new file mode 100644
index 00000000..efc5d2b6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstance.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetInstance extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstanceAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstanceAggregatedList.php
new file mode 100644
index 00000000..fda5e3c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstanceAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetInstanceAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstanceList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstanceList.php
new file mode 100644
index 00000000..8419c6a5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstanceList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetInstanceList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedList.php
new file mode 100644
index 00000000..fba4e82b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetInstancesScopedList extends Google_Collection
+{
+ protected $collection_key = 'targetInstances';
+ protected $targetInstancesType = 'Google_Service_Compute_TargetInstance';
+ protected $targetInstancesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_TargetInstancesScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setTargetInstances($targetInstances)
+ {
+ $this->targetInstances = $targetInstances;
+ }
+ public function getTargetInstances()
+ {
+ return $this->targetInstances;
+ }
+ public function setWarning(Google_Service_Compute_TargetInstancesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedListWarning.php
new file mode 100644
index 00000000..15538355
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetInstancesScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedListWarningData.php
new file mode 100644
index 00000000..fa2252c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetInstancesScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPool.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPool.php
new file mode 100644
index 00000000..1e714d32
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPool.php
@@ -0,0 +1,130 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetPool extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolAggregatedList.php
new file mode 100644
index 00000000..d3d8199f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetPoolAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolInstanceHealth.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolInstanceHealth.php
new file mode 100644
index 00000000..2c452132
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolInstanceHealth.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetPoolInstanceHealth extends Google_Collection
+{
+ protected $collection_key = 'healthStatus';
+ protected $healthStatusType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolList.php
new file mode 100644
index 00000000..9ef1a0bd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetPoolList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsAddHealthCheckRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsAddHealthCheckRequest.php
new file mode 100644
index 00000000..f4a05e03
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsAddHealthCheckRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetPoolsAddHealthCheckRequest extends Google_Collection
+{
+ protected $collection_key = 'healthChecks';
+ protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference';
+ protected $healthChecksDataType = 'array';
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsAddInstanceRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsAddInstanceRequest.php
new file mode 100644
index 00000000..97005f79
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsAddInstanceRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetPoolsAddInstanceRequest extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ protected $instancesType = 'Google_Service_Compute_InstanceReference';
+ protected $instancesDataType = 'array';
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsRemoveHealthCheckRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsRemoveHealthCheckRequest.php
new file mode 100644
index 00000000..964f8fa1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsRemoveHealthCheckRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest extends Google_Collection
+{
+ protected $collection_key = 'healthChecks';
+ protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference';
+ protected $healthChecksDataType = 'array';
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsRemoveInstanceRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsRemoveInstanceRequest.php
new file mode 100644
index 00000000..ab2b5713
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsRemoveInstanceRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetPoolsRemoveInstanceRequest extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ protected $instancesType = 'Google_Service_Compute_InstanceReference';
+ protected $instancesDataType = 'array';
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedList.php
new file mode 100644
index 00000000..b444054f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetPoolsScopedList extends Google_Collection
+{
+ protected $collection_key = 'targetPools';
+ protected $targetPoolsType = 'Google_Service_Compute_TargetPool';
+ protected $targetPoolsDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_TargetPoolsScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setTargetPools($targetPools)
+ {
+ $this->targetPools = $targetPools;
+ }
+ public function getTargetPools()
+ {
+ return $this->targetPools;
+ }
+ public function setWarning(Google_Service_Compute_TargetPoolsScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedListWarning.php
new file mode 100644
index 00000000..d15ea6eb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetPoolsScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedListWarningData.php
new file mode 100644
index 00000000..907436bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetPoolsScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetReference.php
new file mode 100644
index 00000000..d07481b9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetReference.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetReference extends Google_Model
+{
+ public $target;
+
+ public function setTarget($target)
+ {
+ $this->target = $target;
+ }
+ public function getTarget()
+ {
+ return $this->target;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetBackendServiceRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetBackendServiceRequest.php
new file mode 100644
index 00000000..b0e7a3f5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetBackendServiceRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetSslProxiesSetBackendServiceRequest extends Google_Model
+{
+ public $service;
+
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+ public function getService()
+ {
+ return $this->service;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetProxyHeaderRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetProxyHeaderRequest.php
new file mode 100644
index 00000000..fd4336d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetProxyHeaderRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetSslProxiesSetProxyHeaderRequest extends Google_Model
+{
+ public $proxyHeader;
+
+ public function setProxyHeader($proxyHeader)
+ {
+ $this->proxyHeader = $proxyHeader;
+ }
+ public function getProxyHeader()
+ {
+ return $this->proxyHeader;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetSslCertificatesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetSslCertificatesRequest.php
new file mode 100644
index 00000000..6bb01ee4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetSslCertificatesRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetSslProxiesSetSslCertificatesRequest extends Google_Collection
+{
+ protected $collection_key = 'sslCertificates';
+ public $sslCertificates;
+
+ public function setSslCertificates($sslCertificates)
+ {
+ $this->sslCertificates = $sslCertificates;
+ }
+ public function getSslCertificates()
+ {
+ return $this->sslCertificates;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxy.php
new file mode 100644
index 00000000..f61f8bc7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxy.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetSslProxy extends Google_Collection
+{
+ protected $collection_key = 'sslCertificates';
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $proxyHeader;
+ public $selfLink;
+ public $service;
+ public $sslCertificates;
+
+ 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 setProxyHeader($proxyHeader)
+ {
+ $this->proxyHeader = $proxyHeader;
+ }
+ public function getProxyHeader()
+ {
+ return $this->proxyHeader;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+ public function getService()
+ {
+ return $this->service;
+ }
+ public function setSslCertificates($sslCertificates)
+ {
+ $this->sslCertificates = $sslCertificates;
+ }
+ public function getSslCertificates()
+ {
+ return $this->sslCertificates;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxyList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxyList.php
new file mode 100644
index 00000000..1cbd310d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxyList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetSslProxyList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_TargetSslProxy';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGateway.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGateway.php
new file mode 100644
index 00000000..08a13f7f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGateway.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetVpnGateway extends Google_Collection
+{
+ protected $collection_key = 'tunnels';
+ public $creationTimestamp;
+ public $description;
+ public $forwardingRules;
+ public $id;
+ public $kind;
+ public $name;
+ public $network;
+ public $region;
+ public $selfLink;
+ public $status;
+ public $tunnels;
+
+ 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 setForwardingRules($forwardingRules)
+ {
+ $this->forwardingRules = $forwardingRules;
+ }
+ public function getForwardingRules()
+ {
+ return $this->forwardingRules;
+ }
+ 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 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 setTunnels($tunnels)
+ {
+ $this->tunnels = $tunnels;
+ }
+ public function getTunnels()
+ {
+ return $this->tunnels;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewayAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewayAggregatedList.php
new file mode 100644
index 00000000..e85fc8b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewayAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetVpnGatewayAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_TargetVpnGatewaysScopedList';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewayList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewayList.php
new file mode 100644
index 00000000..d81e2c1b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewayList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetVpnGatewayList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_TargetVpnGateway';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedList.php
new file mode 100644
index 00000000..b09c456d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetVpnGatewaysScopedList extends Google_Collection
+{
+ protected $collection_key = 'targetVpnGateways';
+ protected $targetVpnGatewaysType = 'Google_Service_Compute_TargetVpnGateway';
+ protected $targetVpnGatewaysDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_TargetVpnGatewaysScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setTargetVpnGateways($targetVpnGateways)
+ {
+ $this->targetVpnGateways = $targetVpnGateways;
+ }
+ public function getTargetVpnGateways()
+ {
+ return $this->targetVpnGateways;
+ }
+ public function setWarning(Google_Service_Compute_TargetVpnGatewaysScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedListWarning.php
new file mode 100644
index 00000000..048886fa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetVpnGatewaysScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = 'Google_Service_Compute_TargetVpnGatewaysScopedListWarningData';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedListWarningData.php
new file mode 100644
index 00000000..fc7b4d7e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TargetVpnGatewaysScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TestFailure.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TestFailure.php
new file mode 100644
index 00000000..266d2b63
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TestFailure.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_TestFailure extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMap.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMap.php
new file mode 100644
index 00000000..9ab743ba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMap.php
@@ -0,0 +1,124 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_UrlMap extends Google_Collection
+{
+ protected $collection_key = 'tests';
+ public $creationTimestamp;
+ public $defaultService;
+ public $description;
+ public $fingerprint;
+ protected $hostRulesType = 'Google_Service_Compute_HostRule';
+ protected $hostRulesDataType = 'array';
+ public $id;
+ public $kind;
+ public $name;
+ protected $pathMatchersType = 'Google_Service_Compute_PathMatcher';
+ protected $pathMatchersDataType = 'array';
+ public $selfLink;
+ protected $testsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapList.php
new file mode 100644
index 00000000..c3e90e18
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_UrlMapList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapReference.php
new file mode 100644
index 00000000..99f5e30a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapReference.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_UrlMapReference extends Google_Model
+{
+ public $urlMap;
+
+ public function setUrlMap($urlMap)
+ {
+ $this->urlMap = $urlMap;
+ }
+ public function getUrlMap()
+ {
+ return $this->urlMap;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapTest.php
new file mode 100644
index 00000000..2d2479e8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapTest.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_UrlMapTest extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapValidationResult.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapValidationResult.php
new file mode 100644
index 00000000..6a0b5d34
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapValidationResult.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_UrlMapValidationResult extends Google_Collection
+{
+ protected $collection_key = 'testFailures';
+ public $loadErrors;
+ public $loadSucceeded;
+ protected $testFailuresType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapsValidateRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapsValidateRequest.php
new file mode 100644
index 00000000..5e9b6084
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapsValidateRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_UrlMapsValidateRequest extends Google_Model
+{
+ protected $resourceType = 'Google_Service_Compute_UrlMap';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_Compute_UrlMap $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapsValidateResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapsValidateResponse.php
new file mode 100644
index 00000000..8da23749
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapsValidateResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_UrlMapsValidateResponse extends Google_Model
+{
+ protected $resultType = 'Google_Service_Compute_UrlMapValidationResult';
+ protected $resultDataType = '';
+
+ public function setResult(Google_Service_Compute_UrlMapValidationResult $result)
+ {
+ $this->result = $result;
+ }
+ public function getResult()
+ {
+ return $this->result;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UsageExportLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UsageExportLocation.php
new file mode 100644
index 00000000..13c7d580
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UsageExportLocation.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_UsageExportLocation extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnel.php
new file mode 100644
index 00000000..6ac775bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnel.php
@@ -0,0 +1,175 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_VpnTunnel extends Google_Collection
+{
+ protected $collection_key = 'remoteTrafficSelector';
+ public $creationTimestamp;
+ public $description;
+ public $detailedStatus;
+ public $id;
+ public $ikeVersion;
+ public $kind;
+ public $localTrafficSelector;
+ public $name;
+ public $peerIp;
+ public $region;
+ public $remoteTrafficSelector;
+ public $router;
+ public $selfLink;
+ public $sharedSecret;
+ public $sharedSecretHash;
+ public $status;
+ public $targetVpnGateway;
+
+ 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 setDetailedStatus($detailedStatus)
+ {
+ $this->detailedStatus = $detailedStatus;
+ }
+ public function getDetailedStatus()
+ {
+ return $this->detailedStatus;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIkeVersion($ikeVersion)
+ {
+ $this->ikeVersion = $ikeVersion;
+ }
+ public function getIkeVersion()
+ {
+ return $this->ikeVersion;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocalTrafficSelector($localTrafficSelector)
+ {
+ $this->localTrafficSelector = $localTrafficSelector;
+ }
+ public function getLocalTrafficSelector()
+ {
+ return $this->localTrafficSelector;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPeerIp($peerIp)
+ {
+ $this->peerIp = $peerIp;
+ }
+ public function getPeerIp()
+ {
+ return $this->peerIp;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setRemoteTrafficSelector($remoteTrafficSelector)
+ {
+ $this->remoteTrafficSelector = $remoteTrafficSelector;
+ }
+ public function getRemoteTrafficSelector()
+ {
+ return $this->remoteTrafficSelector;
+ }
+ public function setRouter($router)
+ {
+ $this->router = $router;
+ }
+ public function getRouter()
+ {
+ return $this->router;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setSharedSecret($sharedSecret)
+ {
+ $this->sharedSecret = $sharedSecret;
+ }
+ public function getSharedSecret()
+ {
+ return $this->sharedSecret;
+ }
+ public function setSharedSecretHash($sharedSecretHash)
+ {
+ $this->sharedSecretHash = $sharedSecretHash;
+ }
+ public function getSharedSecretHash()
+ {
+ return $this->sharedSecretHash;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTargetVpnGateway($targetVpnGateway)
+ {
+ $this->targetVpnGateway = $targetVpnGateway;
+ }
+ public function getTargetVpnGateway()
+ {
+ return $this->targetVpnGateway;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelAggregatedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelAggregatedList.php
new file mode 100644
index 00000000..999c68e2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelAggregatedList.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_VpnTunnelAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_VpnTunnelsScopedList';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelList.php
new file mode 100644
index 00000000..ce35247f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_VpnTunnelList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_VpnTunnel';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedList.php
new file mode 100644
index 00000000..2f961f7a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedList.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_VpnTunnelsScopedList extends Google_Collection
+{
+ protected $collection_key = 'vpnTunnels';
+ protected $vpnTunnelsType = 'Google_Service_Compute_VpnTunnel';
+ protected $vpnTunnelsDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_VpnTunnelsScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setVpnTunnels($vpnTunnels)
+ {
+ $this->vpnTunnels = $vpnTunnels;
+ }
+ public function getVpnTunnels()
+ {
+ return $this->vpnTunnels;
+ }
+ public function setWarning(Google_Service_Compute_VpnTunnelsScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedListWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedListWarning.php
new file mode 100644
index 00000000..aaae80a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedListWarning.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_VpnTunnelsScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = 'Google_Service_Compute_VpnTunnelsScopedListWarningData';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedListWarningData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedListWarningData.php
new file mode 100644
index 00000000..bee2d992
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedListWarningData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_VpnTunnelsScopedListWarningData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Zone.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Zone.php
new file mode 100644
index 00000000..744e13ad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Zone.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_Zone extends Google_Model
+{
+ public $creationTimestamp;
+ protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $region;
+ public $selfLink;
+ public $status;
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDeprecated(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 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ZoneList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ZoneList.php
new file mode 100644
index 00000000..0cc44199
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ZoneList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Compute_ZoneList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys.php
new file mode 100644
index 00000000..bcf53834
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys.php
@@ -0,0 +1,210 @@
+<?php
+/*
+ * Copyright 2016 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 ConsumerSurveys (v2).
+ *
+ * <p>
+ * Creates and conducts surveys, lists the surveys that an authenticated user
+ * owns, and retrieves survey results and information about specified surveys.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_ConsumerSurveys extends Google_Service
+{
+ /** View and edit your surveys and results. */
+ const CONSUMERSURVEYS =
+ "https://www.googleapis.com/auth/consumersurveys";
+ /** View the results for your surveys. */
+ const CONSUMERSURVEYS_READONLY =
+ "https://www.googleapis.com/auth/consumersurveys.readonly";
+ /** View your email address. */
+ const USERINFO_EMAIL =
+ "https://www.googleapis.com/auth/userinfo.email";
+
+ public $mobileapppanels;
+ public $results;
+ public $surveys;
+
+ /**
+ * Constructs the internal representation of the ConsumerSurveys service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'consumersurveys/v2/';
+ $this->version = 'v2';
+ $this->serviceName = 'consumersurveys';
+
+ $this->mobileapppanels = new Google_Service_ConsumerSurveys_Resource_Mobileapppanels(
+ $this,
+ $this->serviceName,
+ 'mobileapppanels',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'mobileAppPanels/{panelId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'panelId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'mobileAppPanels',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'mobileAppPanels/{panelId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'panelId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->results = new Google_Service_ConsumerSurveys_Resource_Results(
+ $this,
+ $this->serviceName,
+ 'results',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'surveys/{surveyUrlId}/results',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'surveyUrlId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->surveys = new Google_Service_ConsumerSurveys_Resource_Surveys(
+ $this,
+ $this->serviceName,
+ 'surveys',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'surveys/{surveyUrlId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'surveyUrlId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'surveys/{surveyUrlId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'surveyUrlId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'surveys',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'list' => array(
+ 'path' => 'surveys',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'start' => array(
+ 'path' => 'surveys/{resourceId}/start',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'stop' => array(
+ 'path' => 'surveys/{resourceId}/stop',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'surveys/{surveyUrlId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'surveyUrlId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/FieldMask.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/FieldMask.php
new file mode 100644
index 00000000..bad9f171
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/FieldMask.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_FieldMask extends Google_Collection
+{
+ protected $collection_key = 'fields';
+ protected $fieldsType = 'Google_Service_ConsumerSurveys_FieldMask';
+ protected $fieldsDataType = 'array';
+ public $id;
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/MobileAppPanel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/MobileAppPanel.php
new file mode 100644
index 00000000..5e99b768
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/MobileAppPanel.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_MobileAppPanel extends Google_Collection
+{
+ protected $collection_key = 'owners';
+ public $country;
+ public $isPublicPanel;
+ public $language;
+ public $mobileAppPanelId;
+ public $name;
+ public $owners;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setIsPublicPanel($isPublicPanel)
+ {
+ $this->isPublicPanel = $isPublicPanel;
+ }
+ public function getIsPublicPanel()
+ {
+ return $this->isPublicPanel;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setMobileAppPanelId($mobileAppPanelId)
+ {
+ $this->mobileAppPanelId = $mobileAppPanelId;
+ }
+ public function getMobileAppPanelId()
+ {
+ return $this->mobileAppPanelId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOwners($owners)
+ {
+ $this->owners = $owners;
+ }
+ public function getOwners()
+ {
+ return $this->owners;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/MobileAppPanelsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/MobileAppPanelsListResponse.php
new file mode 100644
index 00000000..3bbb595e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/MobileAppPanelsListResponse.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_MobileAppPanelsListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $pageInfoType = 'Google_Service_ConsumerSurveys_PageInfo';
+ protected $pageInfoDataType = '';
+ public $requestId;
+ protected $resourcesType = 'Google_Service_ConsumerSurveys_MobileAppPanel';
+ protected $resourcesDataType = 'array';
+ protected $tokenPaginationType = 'Google_Service_ConsumerSurveys_TokenPagination';
+ protected $tokenPaginationDataType = '';
+
+ public function setPageInfo(Google_Service_ConsumerSurveys_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+ public function setTokenPagination(Google_Service_ConsumerSurveys_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/PageInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/PageInfo.php
new file mode 100644
index 00000000..1e3c526a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/PageInfo.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_PageInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Mobileapppanels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Mobileapppanels.php
new file mode 100644
index 00000000..bc6e07f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Mobileapppanels.php
@@ -0,0 +1,74 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "mobileapppanels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $consumersurveysService = new Google_Service_ConsumerSurveys(...);
+ * $mobileapppanels = $consumersurveysService->mobileapppanels;
+ * </code>
+ */
+class Google_Service_ConsumerSurveys_Resource_Mobileapppanels extends Google_Service_Resource
+{
+ /**
+ * Retrieves a MobileAppPanel that is available to the authenticated user.
+ * (mobileapppanels.get)
+ *
+ * @param string $panelId External URL ID for the panel.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ConsumerSurveys_MobileAppPanel
+ */
+ public function get($panelId, $optParams = array())
+ {
+ $params = array('panelId' => $panelId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ConsumerSurveys_MobileAppPanel");
+ }
+ /**
+ * Lists the MobileAppPanels available to the authenticated user.
+ * (mobileapppanels.listMobileapppanels)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults
+ * @opt_param string startIndex
+ * @opt_param string token
+ * @return Google_Service_ConsumerSurveys_MobileAppPanelsListResponse
+ */
+ public function listMobileapppanels($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ConsumerSurveys_MobileAppPanelsListResponse");
+ }
+ /**
+ * Updates a MobileAppPanel. Currently the only property that can be updated is
+ * the owners property. (mobileapppanels.update)
+ *
+ * @param string $panelId External URL ID for the panel.
+ * @param Google_Service_ConsumerSurveys_MobileAppPanel $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ConsumerSurveys_MobileAppPanel
+ */
+ public function update($panelId, Google_Service_ConsumerSurveys_MobileAppPanel $postBody, $optParams = array())
+ {
+ $params = array('panelId' => $panelId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_ConsumerSurveys_MobileAppPanel");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Results.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Results.php
new file mode 100644
index 00000000..2060052f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Results.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "results" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $consumersurveysService = new Google_Service_ConsumerSurveys(...);
+ * $results = $consumersurveysService->results;
+ * </code>
+ */
+class Google_Service_ConsumerSurveys_Resource_Results extends Google_Service_Resource
+{
+ /**
+ * Retrieves any survey results that have been produced so far. Results are
+ * formatted as an Excel file. You must add "?alt=media" to the URL as an
+ * argument to get results. (results.get)
+ *
+ * @param string $surveyUrlId External URL ID for the survey.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ConsumerSurveys_SurveyResults
+ */
+ public function get($surveyUrlId, $optParams = array())
+ {
+ $params = array('surveyUrlId' => $surveyUrlId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ConsumerSurveys_SurveyResults");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Surveys.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Surveys.php
new file mode 100644
index 00000000..2a14092c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Surveys.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "surveys" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $consumersurveysService = new Google_Service_ConsumerSurveys(...);
+ * $surveys = $consumersurveysService->surveys;
+ * </code>
+ */
+class Google_Service_ConsumerSurveys_Resource_Surveys extends Google_Service_Resource
+{
+ /**
+ * Removes a survey from view in all user GET requests. (surveys.delete)
+ *
+ * @param string $surveyUrlId External URL ID for the survey.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ConsumerSurveys_SurveysDeleteResponse
+ */
+ public function delete($surveyUrlId, $optParams = array())
+ {
+ $params = array('surveyUrlId' => $surveyUrlId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_ConsumerSurveys_SurveysDeleteResponse");
+ }
+ /**
+ * Retrieves information about the specified survey. (surveys.get)
+ *
+ * @param string $surveyUrlId External URL ID for the survey.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ConsumerSurveys_Survey
+ */
+ public function get($surveyUrlId, $optParams = array())
+ {
+ $params = array('surveyUrlId' => $surveyUrlId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ConsumerSurveys_Survey");
+ }
+ /**
+ * Creates a survey. (surveys.insert)
+ *
+ * @param Google_Service_ConsumerSurveys_Survey $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ConsumerSurveys_Survey
+ */
+ public function insert(Google_Service_ConsumerSurveys_Survey $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_ConsumerSurveys_Survey");
+ }
+ /**
+ * Lists the surveys owned by the authenticated user. (surveys.listSurveys)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults
+ * @opt_param string startIndex
+ * @opt_param string token
+ * @return Google_Service_ConsumerSurveys_SurveysListResponse
+ */
+ public function listSurveys($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ConsumerSurveys_SurveysListResponse");
+ }
+ /**
+ * Begins running a survey. (surveys.start)
+ *
+ * @param string $resourceId
+ * @param Google_Service_ConsumerSurveys_SurveysStartRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ConsumerSurveys_SurveysStartResponse
+ */
+ public function start($resourceId, Google_Service_ConsumerSurveys_SurveysStartRequest $postBody, $optParams = array())
+ {
+ $params = array('resourceId' => $resourceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('start', array($params), "Google_Service_ConsumerSurveys_SurveysStartResponse");
+ }
+ /**
+ * Stops a running survey. (surveys.stop)
+ *
+ * @param string $resourceId
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ConsumerSurveys_SurveysStopResponse
+ */
+ public function stop($resourceId, $optParams = array())
+ {
+ $params = array('resourceId' => $resourceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params), "Google_Service_ConsumerSurveys_SurveysStopResponse");
+ }
+ /**
+ * Updates a survey. Currently the only property that can be updated is the
+ * owners property. (surveys.update)
+ *
+ * @param string $surveyUrlId External URL ID for the survey.
+ * @param Google_Service_ConsumerSurveys_Survey $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ConsumerSurveys_Survey
+ */
+ public function update($surveyUrlId, Google_Service_ConsumerSurveys_Survey $postBody, $optParams = array())
+ {
+ $params = array('surveyUrlId' => $surveyUrlId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_ConsumerSurveys_Survey");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/ResultsGetRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/ResultsGetRequest.php
new file mode 100644
index 00000000..6016c193
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/ResultsGetRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_ResultsGetRequest extends Google_Model
+{
+ protected $resultMaskType = 'Google_Service_ConsumerSurveys_ResultsMask';
+ protected $resultMaskDataType = '';
+
+ public function setResultMask(Google_Service_ConsumerSurveys_ResultsMask $resultMask)
+ {
+ $this->resultMask = $resultMask;
+ }
+ public function getResultMask()
+ {
+ return $this->resultMask;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/ResultsMask.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/ResultsMask.php
new file mode 100644
index 00000000..333d934e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/ResultsMask.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_ResultsMask extends Google_Collection
+{
+ protected $collection_key = 'fields';
+ protected $fieldsType = 'Google_Service_ConsumerSurveys_FieldMask';
+ protected $fieldsDataType = 'array';
+ public $projection;
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setProjection($projection)
+ {
+ $this->projection = $projection;
+ }
+ public function getProjection()
+ {
+ return $this->projection;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Survey.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Survey.php
new file mode 100644
index 00000000..7b24d69e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Survey.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_Survey extends Google_Collection
+{
+ protected $collection_key = 'questions';
+ protected $audienceType = 'Google_Service_ConsumerSurveys_SurveyAudience';
+ protected $audienceDataType = '';
+ protected $costType = 'Google_Service_ConsumerSurveys_SurveyCost';
+ protected $costDataType = '';
+ public $customerData;
+ public $description;
+ public $owners;
+ protected $questionsType = 'Google_Service_ConsumerSurveys_SurveyQuestion';
+ protected $questionsDataType = 'array';
+ protected $rejectionReasonType = 'Google_Service_ConsumerSurveys_SurveyRejection';
+ protected $rejectionReasonDataType = '';
+ public $state;
+ public $surveyUrlId;
+ public $title;
+ public $wantedResponseCount;
+
+ public function setAudience(Google_Service_ConsumerSurveys_SurveyAudience $audience)
+ {
+ $this->audience = $audience;
+ }
+ public function getAudience()
+ {
+ return $this->audience;
+ }
+ public function setCost(Google_Service_ConsumerSurveys_SurveyCost $cost)
+ {
+ $this->cost = $cost;
+ }
+ public function getCost()
+ {
+ return $this->cost;
+ }
+ public function setCustomerData($customerData)
+ {
+ $this->customerData = $customerData;
+ }
+ public function getCustomerData()
+ {
+ return $this->customerData;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setOwners($owners)
+ {
+ $this->owners = $owners;
+ }
+ public function getOwners()
+ {
+ return $this->owners;
+ }
+ public function setQuestions($questions)
+ {
+ $this->questions = $questions;
+ }
+ public function getQuestions()
+ {
+ return $this->questions;
+ }
+ public function setRejectionReason(Google_Service_ConsumerSurveys_SurveyRejection $rejectionReason)
+ {
+ $this->rejectionReason = $rejectionReason;
+ }
+ public function getRejectionReason()
+ {
+ return $this->rejectionReason;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setSurveyUrlId($surveyUrlId)
+ {
+ $this->surveyUrlId = $surveyUrlId;
+ }
+ public function getSurveyUrlId()
+ {
+ return $this->surveyUrlId;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setWantedResponseCount($wantedResponseCount)
+ {
+ $this->wantedResponseCount = $wantedResponseCount;
+ }
+ public function getWantedResponseCount()
+ {
+ return $this->wantedResponseCount;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyAudience.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyAudience.php
new file mode 100644
index 00000000..9ae7e0fa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyAudience.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_SurveyAudience extends Google_Collection
+{
+ protected $collection_key = 'languages';
+ public $ages;
+ public $country;
+ public $countrySubdivision;
+ public $gender;
+ public $languages;
+ public $mobileAppPanelId;
+ public $populationSource;
+
+ public function setAges($ages)
+ {
+ $this->ages = $ages;
+ }
+ public function getAges()
+ {
+ return $this->ages;
+ }
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setCountrySubdivision($countrySubdivision)
+ {
+ $this->countrySubdivision = $countrySubdivision;
+ }
+ public function getCountrySubdivision()
+ {
+ return $this->countrySubdivision;
+ }
+ public function setGender($gender)
+ {
+ $this->gender = $gender;
+ }
+ public function getGender()
+ {
+ return $this->gender;
+ }
+ public function setLanguages($languages)
+ {
+ $this->languages = $languages;
+ }
+ public function getLanguages()
+ {
+ return $this->languages;
+ }
+ public function setMobileAppPanelId($mobileAppPanelId)
+ {
+ $this->mobileAppPanelId = $mobileAppPanelId;
+ }
+ public function getMobileAppPanelId()
+ {
+ return $this->mobileAppPanelId;
+ }
+ public function setPopulationSource($populationSource)
+ {
+ $this->populationSource = $populationSource;
+ }
+ public function getPopulationSource()
+ {
+ return $this->populationSource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyCost.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyCost.php
new file mode 100644
index 00000000..686a8ace
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyCost.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_SurveyCost extends Google_Model
+{
+ public $costPerResponseNanos;
+ public $currencyCode;
+ public $maxCostPerResponseNanos;
+ public $nanos;
+
+ public function setCostPerResponseNanos($costPerResponseNanos)
+ {
+ $this->costPerResponseNanos = $costPerResponseNanos;
+ }
+ public function getCostPerResponseNanos()
+ {
+ return $this->costPerResponseNanos;
+ }
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+ public function setMaxCostPerResponseNanos($maxCostPerResponseNanos)
+ {
+ $this->maxCostPerResponseNanos = $maxCostPerResponseNanos;
+ }
+ public function getMaxCostPerResponseNanos()
+ {
+ return $this->maxCostPerResponseNanos;
+ }
+ public function setNanos($nanos)
+ {
+ $this->nanos = $nanos;
+ }
+ public function getNanos()
+ {
+ return $this->nanos;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyQuestion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyQuestion.php
new file mode 100644
index 00000000..976ac510
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyQuestion.php
@@ -0,0 +1,185 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_SurveyQuestion extends Google_Collection
+{
+ protected $collection_key = 'thresholdAnswers';
+ public $answerOrder;
+ public $answers;
+ public $hasOther;
+ public $highValueLabel;
+ protected $imagesType = 'Google_Service_ConsumerSurveys_SurveyQuestionImage';
+ protected $imagesDataType = 'array';
+ public $lastAnswerPositionPinned;
+ public $lowValueLabel;
+ public $mustPickSuggestion;
+ public $numStars;
+ public $openTextPlaceholder;
+ public $openTextSuggestions;
+ public $question;
+ public $sentimentText;
+ public $singleLineResponse;
+ public $thresholdAnswers;
+ public $type;
+ public $unitOfMeasurementLabel;
+ public $videoId;
+
+ public function setAnswerOrder($answerOrder)
+ {
+ $this->answerOrder = $answerOrder;
+ }
+ public function getAnswerOrder()
+ {
+ return $this->answerOrder;
+ }
+ public function setAnswers($answers)
+ {
+ $this->answers = $answers;
+ }
+ public function getAnswers()
+ {
+ return $this->answers;
+ }
+ public function setHasOther($hasOther)
+ {
+ $this->hasOther = $hasOther;
+ }
+ public function getHasOther()
+ {
+ return $this->hasOther;
+ }
+ public function setHighValueLabel($highValueLabel)
+ {
+ $this->highValueLabel = $highValueLabel;
+ }
+ public function getHighValueLabel()
+ {
+ return $this->highValueLabel;
+ }
+ public function setImages($images)
+ {
+ $this->images = $images;
+ }
+ public function getImages()
+ {
+ return $this->images;
+ }
+ public function setLastAnswerPositionPinned($lastAnswerPositionPinned)
+ {
+ $this->lastAnswerPositionPinned = $lastAnswerPositionPinned;
+ }
+ public function getLastAnswerPositionPinned()
+ {
+ return $this->lastAnswerPositionPinned;
+ }
+ public function setLowValueLabel($lowValueLabel)
+ {
+ $this->lowValueLabel = $lowValueLabel;
+ }
+ public function getLowValueLabel()
+ {
+ return $this->lowValueLabel;
+ }
+ public function setMustPickSuggestion($mustPickSuggestion)
+ {
+ $this->mustPickSuggestion = $mustPickSuggestion;
+ }
+ public function getMustPickSuggestion()
+ {
+ return $this->mustPickSuggestion;
+ }
+ public function setNumStars($numStars)
+ {
+ $this->numStars = $numStars;
+ }
+ public function getNumStars()
+ {
+ return $this->numStars;
+ }
+ public function setOpenTextPlaceholder($openTextPlaceholder)
+ {
+ $this->openTextPlaceholder = $openTextPlaceholder;
+ }
+ public function getOpenTextPlaceholder()
+ {
+ return $this->openTextPlaceholder;
+ }
+ public function setOpenTextSuggestions($openTextSuggestions)
+ {
+ $this->openTextSuggestions = $openTextSuggestions;
+ }
+ public function getOpenTextSuggestions()
+ {
+ return $this->openTextSuggestions;
+ }
+ public function setQuestion($question)
+ {
+ $this->question = $question;
+ }
+ public function getQuestion()
+ {
+ return $this->question;
+ }
+ public function setSentimentText($sentimentText)
+ {
+ $this->sentimentText = $sentimentText;
+ }
+ public function getSentimentText()
+ {
+ return $this->sentimentText;
+ }
+ public function setSingleLineResponse($singleLineResponse)
+ {
+ $this->singleLineResponse = $singleLineResponse;
+ }
+ public function getSingleLineResponse()
+ {
+ return $this->singleLineResponse;
+ }
+ public function setThresholdAnswers($thresholdAnswers)
+ {
+ $this->thresholdAnswers = $thresholdAnswers;
+ }
+ public function getThresholdAnswers()
+ {
+ return $this->thresholdAnswers;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUnitOfMeasurementLabel($unitOfMeasurementLabel)
+ {
+ $this->unitOfMeasurementLabel = $unitOfMeasurementLabel;
+ }
+ public function getUnitOfMeasurementLabel()
+ {
+ return $this->unitOfMeasurementLabel;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyQuestionImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyQuestionImage.php
new file mode 100644
index 00000000..d065e7b2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyQuestionImage.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_SurveyQuestionImage extends Google_Model
+{
+ public $altText;
+ public $data;
+ public $url;
+
+ public function setAltText($altText)
+ {
+ $this->altText = $altText;
+ }
+ public function getAltText()
+ {
+ return $this->altText;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyRejection.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyRejection.php
new file mode 100644
index 00000000..de95eab8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyRejection.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_SurveyRejection extends Google_Model
+{
+ public $explanation;
+ public $type;
+
+ public function setExplanation($explanation)
+ {
+ $this->explanation = $explanation;
+ }
+ public function getExplanation()
+ {
+ return $this->explanation;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyResults.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyResults.php
new file mode 100644
index 00000000..d69a9cc4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyResults.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_SurveyResults extends Google_Model
+{
+ public $status;
+ public $surveyUrlId;
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setSurveyUrlId($surveyUrlId)
+ {
+ $this->surveyUrlId = $surveyUrlId;
+ }
+ public function getSurveyUrlId()
+ {
+ return $this->surveyUrlId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysDeleteResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysDeleteResponse.php
new file mode 100644
index 00000000..dc0358a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysDeleteResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_SurveysDeleteResponse extends Google_Model
+{
+ public $requestId;
+
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysListResponse.php
new file mode 100644
index 00000000..e51ac29b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysListResponse.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_SurveysListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $pageInfoType = 'Google_Service_ConsumerSurveys_PageInfo';
+ protected $pageInfoDataType = '';
+ public $requestId;
+ protected $resourcesType = 'Google_Service_ConsumerSurveys_Survey';
+ protected $resourcesDataType = 'array';
+ protected $tokenPaginationType = 'Google_Service_ConsumerSurveys_TokenPagination';
+ protected $tokenPaginationDataType = '';
+
+ public function setPageInfo(Google_Service_ConsumerSurveys_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+ public function setTokenPagination(Google_Service_ConsumerSurveys_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStartRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStartRequest.php
new file mode 100644
index 00000000..430de935
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStartRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_SurveysStartRequest extends Google_Model
+{
+ public $maxCostPerResponseNanos;
+
+ public function setMaxCostPerResponseNanos($maxCostPerResponseNanos)
+ {
+ $this->maxCostPerResponseNanos = $maxCostPerResponseNanos;
+ }
+ public function getMaxCostPerResponseNanos()
+ {
+ return $this->maxCostPerResponseNanos;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStartResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStartResponse.php
new file mode 100644
index 00000000..ac97933b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStartResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_SurveysStartResponse extends Google_Model
+{
+ public $requestId;
+ protected $resourceType = 'Google_Service_ConsumerSurveys_Survey';
+ protected $resourceDataType = '';
+
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+ public function setResource(Google_Service_ConsumerSurveys_Survey $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStopResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStopResponse.php
new file mode 100644
index 00000000..575c385f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStopResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_SurveysStopResponse extends Google_Model
+{
+ public $requestId;
+ protected $resourceType = 'Google_Service_ConsumerSurveys_Survey';
+ protected $resourceDataType = '';
+
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+ public function setResource(Google_Service_ConsumerSurveys_Survey $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/TokenPagination.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/TokenPagination.php
new file mode 100644
index 00000000..77b58605
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/TokenPagination.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ConsumerSurveys_TokenPagination extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container.php
new file mode 100644
index 00000000..68aba51d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container.php
@@ -0,0 +1,397 @@
+<?php
+/*
+ * Copyright 2016 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 (v1).
+ *
+ * <p>
+ * Builds and manages clusters that run container-based applications, powered by
+ * open source Kubernetes technology.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/container-engine/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Container extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $projects_zones;
+ public $projects_zones_clusters;
+ public $projects_zones_clusters_nodePools;
+ public $projects_zones_operations;
+
+ /**
+ * Constructs the internal representation of the Container service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://container.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'container';
+
+ $this->projects_zones = new Google_Service_Container_Resource_ProjectsZones(
+ $this,
+ $this->serviceName,
+ 'zones',
+ array(
+ 'methods' => array(
+ 'getServerconfig' => array(
+ 'path' => 'v1/projects/{projectId}/zones/{zone}/serverconfig',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_zones_clusters = new Google_Service_Container_Resource_ProjectsZonesClusters(
+ $this,
+ $this->serviceName,
+ 'clusters',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_zones_clusters_nodePools = new Google_Service_Container_Resource_ProjectsZonesClustersNodePools(
+ $this,
+ $this->serviceName,
+ 'nodePools',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'nodePoolId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'nodePoolId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'rollback' => array(
+ 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'nodePoolId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setManagement' => array(
+ 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'nodePoolId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_zones_operations = new Google_Service_Container_Resource_ProjectsZonesOperations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/projects/{projectId}/zones/{zone}/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/AddonsConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/AddonsConfig.php
new file mode 100644
index 00000000..4954faf4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/AddonsConfig.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_AddonsConfig extends Google_Model
+{
+ protected $horizontalPodAutoscalingType = 'Google_Service_Container_HorizontalPodAutoscaling';
+ protected $horizontalPodAutoscalingDataType = '';
+ protected $httpLoadBalancingType = 'Google_Service_Container_HttpLoadBalancing';
+ protected $httpLoadBalancingDataType = '';
+
+ public function setHorizontalPodAutoscaling(Google_Service_Container_HorizontalPodAutoscaling $horizontalPodAutoscaling)
+ {
+ $this->horizontalPodAutoscaling = $horizontalPodAutoscaling;
+ }
+ public function getHorizontalPodAutoscaling()
+ {
+ return $this->horizontalPodAutoscaling;
+ }
+ public function setHttpLoadBalancing(Google_Service_Container_HttpLoadBalancing $httpLoadBalancing)
+ {
+ $this->httpLoadBalancing = $httpLoadBalancing;
+ }
+ public function getHttpLoadBalancing()
+ {
+ return $this->httpLoadBalancing;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/AutoUpgradeOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/AutoUpgradeOptions.php
new file mode 100644
index 00000000..a65f5408
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/AutoUpgradeOptions.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_AutoUpgradeOptions extends Google_Model
+{
+ public $autoUpgradeStartTime;
+ public $description;
+
+ public function setAutoUpgradeStartTime($autoUpgradeStartTime)
+ {
+ $this->autoUpgradeStartTime = $autoUpgradeStartTime;
+ }
+ public function getAutoUpgradeStartTime()
+ {
+ return $this->autoUpgradeStartTime;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CancelOperationRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CancelOperationRequest.php
new file mode 100644
index 00000000..27d7732d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CancelOperationRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_CancelOperationRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Cluster.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Cluster.php
new file mode 100644
index 00000000..cd3776c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Cluster.php
@@ -0,0 +1,278 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_Cluster extends Google_Collection
+{
+ protected $collection_key = 'nodePools';
+ protected $addonsConfigType = 'Google_Service_Container_AddonsConfig';
+ protected $addonsConfigDataType = '';
+ public $clusterIpv4Cidr;
+ public $createTime;
+ public $currentMasterVersion;
+ public $currentNodeCount;
+ public $currentNodeVersion;
+ public $description;
+ public $enableKubernetesAlpha;
+ public $endpoint;
+ public $expireTime;
+ public $initialClusterVersion;
+ public $initialNodeCount;
+ public $instanceGroupUrls;
+ public $locations;
+ public $loggingService;
+ protected $masterAuthType = 'Google_Service_Container_MasterAuth';
+ protected $masterAuthDataType = '';
+ public $monitoringService;
+ public $name;
+ public $network;
+ protected $nodeConfigType = 'Google_Service_Container_NodeConfig';
+ protected $nodeConfigDataType = '';
+ public $nodeIpv4CidrSize;
+ protected $nodePoolsType = 'Google_Service_Container_NodePool';
+ protected $nodePoolsDataType = 'array';
+ public $selfLink;
+ public $servicesIpv4Cidr;
+ public $status;
+ public $statusMessage;
+ public $subnetwork;
+ public $zone;
+
+ public function setAddonsConfig(Google_Service_Container_AddonsConfig $addonsConfig)
+ {
+ $this->addonsConfig = $addonsConfig;
+ }
+ public function getAddonsConfig()
+ {
+ return $this->addonsConfig;
+ }
+ public function setClusterIpv4Cidr($clusterIpv4Cidr)
+ {
+ $this->clusterIpv4Cidr = $clusterIpv4Cidr;
+ }
+ public function getClusterIpv4Cidr()
+ {
+ return $this->clusterIpv4Cidr;
+ }
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setCurrentMasterVersion($currentMasterVersion)
+ {
+ $this->currentMasterVersion = $currentMasterVersion;
+ }
+ public function getCurrentMasterVersion()
+ {
+ return $this->currentMasterVersion;
+ }
+ public function setCurrentNodeCount($currentNodeCount)
+ {
+ $this->currentNodeCount = $currentNodeCount;
+ }
+ public function getCurrentNodeCount()
+ {
+ return $this->currentNodeCount;
+ }
+ public function setCurrentNodeVersion($currentNodeVersion)
+ {
+ $this->currentNodeVersion = $currentNodeVersion;
+ }
+ public function getCurrentNodeVersion()
+ {
+ return $this->currentNodeVersion;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEnableKubernetesAlpha($enableKubernetesAlpha)
+ {
+ $this->enableKubernetesAlpha = $enableKubernetesAlpha;
+ }
+ public function getEnableKubernetesAlpha()
+ {
+ return $this->enableKubernetesAlpha;
+ }
+ public function setEndpoint($endpoint)
+ {
+ $this->endpoint = $endpoint;
+ }
+ public function getEndpoint()
+ {
+ return $this->endpoint;
+ }
+ public function setExpireTime($expireTime)
+ {
+ $this->expireTime = $expireTime;
+ }
+ public function getExpireTime()
+ {
+ return $this->expireTime;
+ }
+ public function setInitialClusterVersion($initialClusterVersion)
+ {
+ $this->initialClusterVersion = $initialClusterVersion;
+ }
+ public function getInitialClusterVersion()
+ {
+ return $this->initialClusterVersion;
+ }
+ public function setInitialNodeCount($initialNodeCount)
+ {
+ $this->initialNodeCount = $initialNodeCount;
+ }
+ public function getInitialNodeCount()
+ {
+ return $this->initialNodeCount;
+ }
+ public function setInstanceGroupUrls($instanceGroupUrls)
+ {
+ $this->instanceGroupUrls = $instanceGroupUrls;
+ }
+ public function getInstanceGroupUrls()
+ {
+ return $this->instanceGroupUrls;
+ }
+ public function setLocations($locations)
+ {
+ $this->locations = $locations;
+ }
+ public function getLocations()
+ {
+ return $this->locations;
+ }
+ public function setLoggingService($loggingService)
+ {
+ $this->loggingService = $loggingService;
+ }
+ public function getLoggingService()
+ {
+ return $this->loggingService;
+ }
+ public function setMasterAuth(Google_Service_Container_MasterAuth $masterAuth)
+ {
+ $this->masterAuth = $masterAuth;
+ }
+ public function getMasterAuth()
+ {
+ return $this->masterAuth;
+ }
+ public function setMonitoringService($monitoringService)
+ {
+ $this->monitoringService = $monitoringService;
+ }
+ public function getMonitoringService()
+ {
+ return $this->monitoringService;
+ }
+ 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 setNodeConfig(Google_Service_Container_NodeConfig $nodeConfig)
+ {
+ $this->nodeConfig = $nodeConfig;
+ }
+ public function getNodeConfig()
+ {
+ return $this->nodeConfig;
+ }
+ public function setNodeIpv4CidrSize($nodeIpv4CidrSize)
+ {
+ $this->nodeIpv4CidrSize = $nodeIpv4CidrSize;
+ }
+ public function getNodeIpv4CidrSize()
+ {
+ return $this->nodeIpv4CidrSize;
+ }
+ public function setNodePools($nodePools)
+ {
+ $this->nodePools = $nodePools;
+ }
+ public function getNodePools()
+ {
+ return $this->nodePools;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ 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 setSubnetwork($subnetwork)
+ {
+ $this->subnetwork = $subnetwork;
+ }
+ public function getSubnetwork()
+ {
+ return $this->subnetwork;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ClusterUpdate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ClusterUpdate.php
new file mode 100644
index 00000000..ce55c078
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ClusterUpdate.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_ClusterUpdate extends Google_Collection
+{
+ protected $collection_key = 'desiredLocations';
+ protected $desiredAddonsConfigType = 'Google_Service_Container_AddonsConfig';
+ protected $desiredAddonsConfigDataType = '';
+ public $desiredImageType;
+ public $desiredLocations;
+ public $desiredMasterVersion;
+ public $desiredMonitoringService;
+ protected $desiredNodePoolAutoscalingType = 'Google_Service_Container_NodePoolAutoscaling';
+ protected $desiredNodePoolAutoscalingDataType = '';
+ public $desiredNodePoolId;
+ public $desiredNodeVersion;
+
+ public function setDesiredAddonsConfig(Google_Service_Container_AddonsConfig $desiredAddonsConfig)
+ {
+ $this->desiredAddonsConfig = $desiredAddonsConfig;
+ }
+ public function getDesiredAddonsConfig()
+ {
+ return $this->desiredAddonsConfig;
+ }
+ public function setDesiredImageType($desiredImageType)
+ {
+ $this->desiredImageType = $desiredImageType;
+ }
+ public function getDesiredImageType()
+ {
+ return $this->desiredImageType;
+ }
+ public function setDesiredLocations($desiredLocations)
+ {
+ $this->desiredLocations = $desiredLocations;
+ }
+ public function getDesiredLocations()
+ {
+ return $this->desiredLocations;
+ }
+ public function setDesiredMasterVersion($desiredMasterVersion)
+ {
+ $this->desiredMasterVersion = $desiredMasterVersion;
+ }
+ public function getDesiredMasterVersion()
+ {
+ return $this->desiredMasterVersion;
+ }
+ public function setDesiredMonitoringService($desiredMonitoringService)
+ {
+ $this->desiredMonitoringService = $desiredMonitoringService;
+ }
+ public function getDesiredMonitoringService()
+ {
+ return $this->desiredMonitoringService;
+ }
+ public function setDesiredNodePoolAutoscaling(Google_Service_Container_NodePoolAutoscaling $desiredNodePoolAutoscaling)
+ {
+ $this->desiredNodePoolAutoscaling = $desiredNodePoolAutoscaling;
+ }
+ public function getDesiredNodePoolAutoscaling()
+ {
+ return $this->desiredNodePoolAutoscaling;
+ }
+ public function setDesiredNodePoolId($desiredNodePoolId)
+ {
+ $this->desiredNodePoolId = $desiredNodePoolId;
+ }
+ public function getDesiredNodePoolId()
+ {
+ return $this->desiredNodePoolId;
+ }
+ public function setDesiredNodeVersion($desiredNodeVersion)
+ {
+ $this->desiredNodeVersion = $desiredNodeVersion;
+ }
+ public function getDesiredNodeVersion()
+ {
+ return $this->desiredNodeVersion;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ContainerEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ContainerEmpty.php
new file mode 100644
index 00000000..0695e622
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ContainerEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_ContainerEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CreateClusterRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CreateClusterRequest.php
new file mode 100644
index 00000000..08b2baf3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CreateClusterRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_CreateClusterRequest extends Google_Model
+{
+ protected $clusterType = 'Google_Service_Container_Cluster';
+ protected $clusterDataType = '';
+
+ public function setCluster(Google_Service_Container_Cluster $cluster)
+ {
+ $this->cluster = $cluster;
+ }
+ public function getCluster()
+ {
+ return $this->cluster;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CreateNodePoolRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CreateNodePoolRequest.php
new file mode 100644
index 00000000..6088cb84
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CreateNodePoolRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_CreateNodePoolRequest extends Google_Model
+{
+ protected $nodePoolType = 'Google_Service_Container_NodePool';
+ protected $nodePoolDataType = '';
+
+ public function setNodePool(Google_Service_Container_NodePool $nodePool)
+ {
+ $this->nodePool = $nodePool;
+ }
+ public function getNodePool()
+ {
+ return $this->nodePool;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/HorizontalPodAutoscaling.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/HorizontalPodAutoscaling.php
new file mode 100644
index 00000000..8e139c55
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/HorizontalPodAutoscaling.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_HorizontalPodAutoscaling extends Google_Model
+{
+ public $disabled;
+
+ public function setDisabled($disabled)
+ {
+ $this->disabled = $disabled;
+ }
+ public function getDisabled()
+ {
+ return $this->disabled;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/HttpLoadBalancing.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/HttpLoadBalancing.php
new file mode 100644
index 00000000..b8db1f2a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/HttpLoadBalancing.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_HttpLoadBalancing extends Google_Model
+{
+ public $disabled;
+
+ public function setDisabled($disabled)
+ {
+ $this->disabled = $disabled;
+ }
+ public function getDisabled()
+ {
+ return $this->disabled;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListClustersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListClustersResponse.php
new file mode 100644
index 00000000..e9dc6a97
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListClustersResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_ListClustersResponse extends Google_Collection
+{
+ protected $collection_key = 'missingZones';
+ protected $clustersType = 'Google_Service_Container_Cluster';
+ protected $clustersDataType = 'array';
+ public $missingZones;
+
+ public function setClusters($clusters)
+ {
+ $this->clusters = $clusters;
+ }
+ public function getClusters()
+ {
+ return $this->clusters;
+ }
+ public function setMissingZones($missingZones)
+ {
+ $this->missingZones = $missingZones;
+ }
+ public function getMissingZones()
+ {
+ return $this->missingZones;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListNodePoolsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListNodePoolsResponse.php
new file mode 100644
index 00000000..30f73741
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListNodePoolsResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_ListNodePoolsResponse extends Google_Collection
+{
+ protected $collection_key = 'nodePools';
+ protected $nodePoolsType = 'Google_Service_Container_NodePool';
+ protected $nodePoolsDataType = 'array';
+
+ public function setNodePools($nodePools)
+ {
+ $this->nodePools = $nodePools;
+ }
+ public function getNodePools()
+ {
+ return $this->nodePools;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListOperationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListOperationsResponse.php
new file mode 100644
index 00000000..f5d6c3bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListOperationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_ListOperationsResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ public $missingZones;
+ protected $operationsType = 'Google_Service_Container_Operation';
+ protected $operationsDataType = 'array';
+
+ public function setMissingZones($missingZones)
+ {
+ $this->missingZones = $missingZones;
+ }
+ public function getMissingZones()
+ {
+ return $this->missingZones;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/MasterAuth.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/MasterAuth.php
new file mode 100644
index 00000000..e5db3e92
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/MasterAuth.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_MasterAuth extends Google_Model
+{
+ public $clientCertificate;
+ public $clientKey;
+ public $clusterCaCertificate;
+ public $password;
+ public $username;
+
+ public function setClientCertificate($clientCertificate)
+ {
+ $this->clientCertificate = $clientCertificate;
+ }
+ public function getClientCertificate()
+ {
+ return $this->clientCertificate;
+ }
+ public function setClientKey($clientKey)
+ {
+ $this->clientKey = $clientKey;
+ }
+ public function getClientKey()
+ {
+ return $this->clientKey;
+ }
+ public function setClusterCaCertificate($clusterCaCertificate)
+ {
+ $this->clusterCaCertificate = $clusterCaCertificate;
+ }
+ public function getClusterCaCertificate()
+ {
+ return $this->clusterCaCertificate;
+ }
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+ public function getPassword()
+ {
+ return $this->password;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodeConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodeConfig.php
new file mode 100644
index 00000000..9551ad12
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodeConfig.php
@@ -0,0 +1,112 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_NodeConfig extends Google_Collection
+{
+ protected $collection_key = 'tags';
+ public $diskSizeGb;
+ public $imageType;
+ public $labels;
+ public $localSsdCount;
+ public $machineType;
+ public $metadata;
+ public $oauthScopes;
+ public $preemptible;
+ public $serviceAccount;
+ public $tags;
+
+ public function setDiskSizeGb($diskSizeGb)
+ {
+ $this->diskSizeGb = $diskSizeGb;
+ }
+ public function getDiskSizeGb()
+ {
+ return $this->diskSizeGb;
+ }
+ public function setImageType($imageType)
+ {
+ $this->imageType = $imageType;
+ }
+ public function getImageType()
+ {
+ return $this->imageType;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLocalSsdCount($localSsdCount)
+ {
+ $this->localSsdCount = $localSsdCount;
+ }
+ public function getLocalSsdCount()
+ {
+ return $this->localSsdCount;
+ }
+ public function setMachineType($machineType)
+ {
+ $this->machineType = $machineType;
+ }
+ public function getMachineType()
+ {
+ return $this->machineType;
+ }
+ public function setMetadata($metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setOauthScopes($oauthScopes)
+ {
+ $this->oauthScopes = $oauthScopes;
+ }
+ public function getOauthScopes()
+ {
+ return $this->oauthScopes;
+ }
+ public function setPreemptible($preemptible)
+ {
+ $this->preemptible = $preemptible;
+ }
+ public function getPreemptible()
+ {
+ return $this->preemptible;
+ }
+ public function setServiceAccount($serviceAccount)
+ {
+ $this->serviceAccount = $serviceAccount;
+ }
+ public function getServiceAccount()
+ {
+ return $this->serviceAccount;
+ }
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodeManagement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodeManagement.php
new file mode 100644
index 00000000..833c5033
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodeManagement.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_NodeManagement extends Google_Model
+{
+ public $autoUpgrade;
+ protected $upgradeOptionsType = 'Google_Service_Container_AutoUpgradeOptions';
+ protected $upgradeOptionsDataType = '';
+
+ public function setAutoUpgrade($autoUpgrade)
+ {
+ $this->autoUpgrade = $autoUpgrade;
+ }
+ public function getAutoUpgrade()
+ {
+ return $this->autoUpgrade;
+ }
+ public function setUpgradeOptions(Google_Service_Container_AutoUpgradeOptions $upgradeOptions)
+ {
+ $this->upgradeOptions = $upgradeOptions;
+ }
+ public function getUpgradeOptions()
+ {
+ return $this->upgradeOptions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodePool.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodePool.php
new file mode 100644
index 00000000..0be52bb0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodePool.php
@@ -0,0 +1,115 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_NodePool extends Google_Collection
+{
+ protected $collection_key = 'instanceGroupUrls';
+ protected $autoscalingType = 'Google_Service_Container_NodePoolAutoscaling';
+ protected $autoscalingDataType = '';
+ protected $configType = 'Google_Service_Container_NodeConfig';
+ protected $configDataType = '';
+ public $initialNodeCount;
+ public $instanceGroupUrls;
+ protected $managementType = 'Google_Service_Container_NodeManagement';
+ protected $managementDataType = '';
+ public $name;
+ public $selfLink;
+ public $status;
+ public $statusMessage;
+ public $version;
+
+ public function setAutoscaling(Google_Service_Container_NodePoolAutoscaling $autoscaling)
+ {
+ $this->autoscaling = $autoscaling;
+ }
+ public function getAutoscaling()
+ {
+ return $this->autoscaling;
+ }
+ public function setConfig(Google_Service_Container_NodeConfig $config)
+ {
+ $this->config = $config;
+ }
+ public function getConfig()
+ {
+ return $this->config;
+ }
+ public function setInitialNodeCount($initialNodeCount)
+ {
+ $this->initialNodeCount = $initialNodeCount;
+ }
+ public function getInitialNodeCount()
+ {
+ return $this->initialNodeCount;
+ }
+ public function setInstanceGroupUrls($instanceGroupUrls)
+ {
+ $this->instanceGroupUrls = $instanceGroupUrls;
+ }
+ public function getInstanceGroupUrls()
+ {
+ return $this->instanceGroupUrls;
+ }
+ public function setManagement(Google_Service_Container_NodeManagement $management)
+ {
+ $this->management = $management;
+ }
+ public function getManagement()
+ {
+ return $this->management;
+ }
+ 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 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 setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodePoolAutoscaling.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodePoolAutoscaling.php
new file mode 100644
index 00000000..14386b5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodePoolAutoscaling.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_NodePoolAutoscaling extends Google_Model
+{
+ public $enabled;
+ public $maxNodeCount;
+ public $minNodeCount;
+
+ public function setEnabled($enabled)
+ {
+ $this->enabled = $enabled;
+ }
+ public function getEnabled()
+ {
+ return $this->enabled;
+ }
+ public function setMaxNodeCount($maxNodeCount)
+ {
+ $this->maxNodeCount = $maxNodeCount;
+ }
+ public function getMaxNodeCount()
+ {
+ return $this->maxNodeCount;
+ }
+ public function setMinNodeCount($minNodeCount)
+ {
+ $this->minNodeCount = $minNodeCount;
+ }
+ public function getMinNodeCount()
+ {
+ return $this->minNodeCount;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Operation.php
new file mode 100644
index 00000000..65421cb0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Operation.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_Operation extends Google_Model
+{
+ public $detail;
+ public $name;
+ public $operationType;
+ public $selfLink;
+ public $status;
+ public $statusMessage;
+ public $targetLink;
+ public $zone;
+
+ public function setDetail($detail)
+ {
+ $this->detail = $detail;
+ }
+ public function getDetail()
+ {
+ return $this->detail;
+ }
+ 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 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 setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+ public function setTargetLink($targetLink)
+ {
+ $this->targetLink = $targetLink;
+ }
+ public function getTargetLink()
+ {
+ return $this->targetLink;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/Projects.php
new file mode 100644
index 00000000..219380b2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/Projects.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $containerService = new Google_Service_Container(...);
+ * $projects = $containerService->projects;
+ * </code>
+ */
+class Google_Service_Container_Resource_Projects extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZones.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZones.php
new file mode 100644
index 00000000..0ed185df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZones.php
@@ -0,0 +1,45 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "zones" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $containerService = new Google_Service_Container(...);
+ * $zones = $containerService->zones;
+ * </code>
+ */
+class Google_Service_Container_Resource_ProjectsZones extends Google_Service_Resource
+{
+ /**
+ * Returns configuration info about the Container Engine service.
+ * (zones.getServerconfig)
+ *
+ * @param string $projectId The Google Developers Console [project ID or project
+ * number](https://support.google.com/cloud/answer/6158840).
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) to return operations for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_ServerConfig
+ */
+ public function getServerconfig($projectId, $zone, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('getServerconfig', array($params), "Google_Service_Container_ServerConfig");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesClusters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesClusters.php
new file mode 100644
index 00000000..33a47edf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesClusters.php
@@ -0,0 +1,126 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "clusters" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $containerService = new Google_Service_Container(...);
+ * $clusters = $containerService->clusters;
+ * </code>
+ */
+class Google_Service_Container_Resource_ProjectsZonesClusters extends Google_Service_Resource
+{
+ /**
+ * Creates a cluster, consisting of the specified number and type of Google
+ * Compute Engine instances. By default, the cluster is created in the project's
+ * [default network](/compute/docs/networks-and-firewalls#networks). One
+ * firewall is added for the cluster. After cluster creation, the cluster
+ * creates routes for each node to allow the containers on that node to
+ * communicate with all other instances in the cluster. Finally, an entry is
+ * added to the project's global metadata indicating which CIDR range is being
+ * used by the cluster. (clusters.create)
+ *
+ * @param string $projectId The Google Developers Console [project ID or project
+ * number](https://support.google.com/cloud/answer/6158840).
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * @param Google_Service_Container_CreateClusterRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_Operation
+ */
+ public function create($projectId, $zone, Google_Service_Container_CreateClusterRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Container_Operation");
+ }
+ /**
+ * Deletes the cluster, including the Kubernetes endpoint and all worker nodes.
+ * Firewalls and routes that were configured during cluster creation are also
+ * deleted. Other Google Compute Engine resources that might be in use by the
+ * cluster (e.g. load balancer resources) will not be deleted if they weren't
+ * present at the initial create time. (clusters.delete)
+ *
+ * @param string $projectId The Google Developers Console [project ID or project
+ * number](https://support.google.com/cloud/answer/6158840).
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * @param string $clusterId The name of the cluster to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_Operation
+ */
+ public function delete($projectId, $zone, $clusterId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Container_Operation");
+ }
+ /**
+ * Gets the details of a specific cluster. (clusters.get)
+ *
+ * @param string $projectId The Google Developers Console [project ID or project
+ * number](https://support.google.com/cloud/answer/6158840).
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * @param string $clusterId The name of the cluster to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_Cluster
+ */
+ public function get($projectId, $zone, $clusterId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Container_Cluster");
+ }
+ /**
+ * Lists all clusters owned by a project in either the specified zone or all
+ * zones. (clusters.listProjectsZonesClusters)
+ *
+ * @param string $projectId The Google Developers Console [project ID or project
+ * number](https://support.google.com/cloud/answer/6158840).
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides, or "-"
+ * for all zones.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_ListClustersResponse
+ */
+ public function listProjectsZonesClusters($projectId, $zone, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Container_ListClustersResponse");
+ }
+ /**
+ * Updates the settings of a specific cluster. (clusters.update)
+ *
+ * @param string $projectId The Google Developers Console [project ID or project
+ * number](https://support.google.com/cloud/answer/6158840).
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * @param string $clusterId The name of the cluster to upgrade.
+ * @param Google_Service_Container_UpdateClusterRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_Operation
+ */
+ public function update($projectId, $zone, $clusterId, Google_Service_Container_UpdateClusterRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Container_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesClustersNodePools.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesClustersNodePools.php
new file mode 100644
index 00000000..7763c92a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesClustersNodePools.php
@@ -0,0 +1,139 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "nodePools" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $containerService = new Google_Service_Container(...);
+ * $nodePools = $containerService->nodePools;
+ * </code>
+ */
+class Google_Service_Container_Resource_ProjectsZonesClustersNodePools extends Google_Service_Resource
+{
+ /**
+ * Creates a node pool for a cluster. (nodePools.create)
+ *
+ * @param string $projectId The Google Developers Console [project ID or project
+ * number](https://developers.google.com/console/help/new/#projectnumber).
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * @param string $clusterId The name of the cluster.
+ * @param Google_Service_Container_CreateNodePoolRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_Operation
+ */
+ public function create($projectId, $zone, $clusterId, Google_Service_Container_CreateNodePoolRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Container_Operation");
+ }
+ /**
+ * Deletes a node pool from a cluster. (nodePools.delete)
+ *
+ * @param string $projectId The Google Developers Console [project ID or project
+ * number](https://developers.google.com/console/help/new/#projectnumber).
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * @param string $clusterId The name of the cluster.
+ * @param string $nodePoolId The name of the node pool to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_Operation
+ */
+ public function delete($projectId, $zone, $clusterId, $nodePoolId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId, 'nodePoolId' => $nodePoolId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Container_Operation");
+ }
+ /**
+ * Retrieves the node pool requested. (nodePools.get)
+ *
+ * @param string $projectId The Google Developers Console [project ID or project
+ * number](https://developers.google.com/console/help/new/#projectnumber).
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * @param string $clusterId The name of the cluster.
+ * @param string $nodePoolId The name of the node pool.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_NodePool
+ */
+ public function get($projectId, $zone, $clusterId, $nodePoolId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId, 'nodePoolId' => $nodePoolId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Container_NodePool");
+ }
+ /**
+ * Lists the node pools for a cluster.
+ * (nodePools.listProjectsZonesClustersNodePools)
+ *
+ * @param string $projectId The Google Developers Console [project ID or project
+ * number](https://developers.google.com/console/help/new/#projectnumber).
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * @param string $clusterId The name of the cluster.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_ListNodePoolsResponse
+ */
+ public function listProjectsZonesClustersNodePools($projectId, $zone, $clusterId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Container_ListNodePoolsResponse");
+ }
+ /**
+ * Roll back the previously Aborted or Failed NodePool upgrade. This will be an
+ * no-op if the last upgrade successfully completed. (nodePools.rollback)
+ *
+ * @param string $projectId The Google Developers Console [project ID or project
+ * number](https://support.google.com/cloud/answer/6158840).
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * @param string $clusterId The name of the cluster to rollback.
+ * @param string $nodePoolId The name of the node pool to rollback.
+ * @param Google_Service_Container_RollbackNodePoolUpgradeRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_Operation
+ */
+ public function rollback($projectId, $zone, $clusterId, $nodePoolId, Google_Service_Container_RollbackNodePoolUpgradeRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId, 'nodePoolId' => $nodePoolId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('rollback', array($params), "Google_Service_Container_Operation");
+ }
+ /**
+ * Sets the NodeManagement options for a node pool. (nodePools.setManagement)
+ *
+ * @param string $projectId The Google Developers Console [project ID or project
+ * number](https://support.google.com/cloud/answer/6158840).
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * @param string $clusterId The name of the cluster to update.
+ * @param string $nodePoolId The name of the node pool to update.
+ * @param Google_Service_Container_SetNodePoolManagementRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_Operation
+ */
+ public function setManagement($projectId, $zone, $clusterId, $nodePoolId, Google_Service_Container_SetNodePoolManagementRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId, 'nodePoolId' => $nodePoolId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setManagement', array($params), "Google_Service_Container_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesOperations.php
new file mode 100644
index 00000000..2622ee32
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesOperations.php
@@ -0,0 +1,81 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $containerService = new Google_Service_Container(...);
+ * $operations = $containerService->operations;
+ * </code>
+ */
+class Google_Service_Container_Resource_ProjectsZonesOperations extends Google_Service_Resource
+{
+ /**
+ * Cancels the specified operation. (operations.cancel)
+ *
+ * @param string $projectId The Google Developers Console [project ID or project
+ * number](https://support.google.com/cloud/answer/6158840).
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the operation resides.
+ * @param string $operationId The server-assigned `name` of the operation.
+ * @param Google_Service_Container_CancelOperationRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_ContainerEmpty
+ */
+ public function cancel($projectId, $zone, $operationId, Google_Service_Container_CancelOperationRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'operationId' => $operationId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_Container_ContainerEmpty");
+ }
+ /**
+ * Gets the specified operation. (operations.get)
+ *
+ * @param string $projectId The Google Developers Console [project ID or project
+ * number](https://support.google.com/cloud/answer/6158840).
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * @param string $operationId The server-assigned `name` of the operation.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_Operation
+ */
+ public function get($projectId, $zone, $operationId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'operationId' => $operationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Container_Operation");
+ }
+ /**
+ * Lists all operations in a project in a specific zone or all zones.
+ * (operations.listProjectsZonesOperations)
+ *
+ * @param string $projectId The Google Developers Console [project ID or project
+ * number](https://support.google.com/cloud/answer/6158840).
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) to return operations for, or `-` for
+ * all zones.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_ListOperationsResponse
+ */
+ public function listProjectsZonesOperations($projectId, $zone, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Container_ListOperationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/RollbackNodePoolUpgradeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/RollbackNodePoolUpgradeRequest.php
new file mode 100644
index 00000000..7054ca00
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/RollbackNodePoolUpgradeRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_RollbackNodePoolUpgradeRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ServerConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ServerConfig.php
new file mode 100644
index 00000000..19c9f3a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ServerConfig.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_ServerConfig extends Google_Collection
+{
+ protected $collection_key = 'validNodeVersions';
+ public $defaultClusterVersion;
+ public $defaultImageType;
+ public $validImageTypes;
+ public $validMasterVersions;
+ public $validNodeVersions;
+
+ public function setDefaultClusterVersion($defaultClusterVersion)
+ {
+ $this->defaultClusterVersion = $defaultClusterVersion;
+ }
+ public function getDefaultClusterVersion()
+ {
+ return $this->defaultClusterVersion;
+ }
+ public function setDefaultImageType($defaultImageType)
+ {
+ $this->defaultImageType = $defaultImageType;
+ }
+ public function getDefaultImageType()
+ {
+ return $this->defaultImageType;
+ }
+ public function setValidImageTypes($validImageTypes)
+ {
+ $this->validImageTypes = $validImageTypes;
+ }
+ public function getValidImageTypes()
+ {
+ return $this->validImageTypes;
+ }
+ public function setValidMasterVersions($validMasterVersions)
+ {
+ $this->validMasterVersions = $validMasterVersions;
+ }
+ public function getValidMasterVersions()
+ {
+ return $this->validMasterVersions;
+ }
+ public function setValidNodeVersions($validNodeVersions)
+ {
+ $this->validNodeVersions = $validNodeVersions;
+ }
+ public function getValidNodeVersions()
+ {
+ return $this->validNodeVersions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/SetNodePoolManagementRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/SetNodePoolManagementRequest.php
new file mode 100644
index 00000000..591c099a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/SetNodePoolManagementRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_SetNodePoolManagementRequest extends Google_Model
+{
+ protected $managementType = 'Google_Service_Container_NodeManagement';
+ protected $managementDataType = '';
+
+ public function setManagement(Google_Service_Container_NodeManagement $management)
+ {
+ $this->management = $management;
+ }
+ public function getManagement()
+ {
+ return $this->management;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/UpdateClusterRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/UpdateClusterRequest.php
new file mode 100644
index 00000000..76f262c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/UpdateClusterRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Container_UpdateClusterRequest extends Google_Model
+{
+ protected $updateType = 'Google_Service_Container_ClusterUpdate';
+ protected $updateDataType = '';
+
+ public function setUpdate(Google_Service_Container_ClusterUpdate $update)
+ {
+ $this->update = $update;
+ }
+ public function getUpdate()
+ {
+ return $this->update;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate.php
new file mode 100644
index 00000000..5d25c17f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate.php
@@ -0,0 +1,467 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate extends 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 $team;
+ public $worker;
+
+ /**
+ * Constructs the internal representation of the Coordinate service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'coordinate/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'coordinate';
+
+ $this->customFieldDef = new Google_Service_Coordinate_Resource_CustomFieldDef(
+ $this,
+ $this->serviceName,
+ 'customFieldDef',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'teams/{teamId}/custom_fields',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'teamId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->jobs = new Google_Service_Coordinate_Resource_Jobs(
+ $this,
+ $this->serviceName,
+ 'jobs',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'teams/{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' => 'teams/{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,
+ ),
+ 'assignee' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'customerName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customerPhoneNumber' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'note' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'teams/{teamId}/jobs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'teamId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'minModifiedTimestampMs' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'omitJobChanges' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'teams/{teamId}/jobs/{jobId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'teamId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'address' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'assignee' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'customerName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customerPhoneNumber' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'lat' => array(
+ 'location' => 'query',
+ 'type' => 'number',
+ ),
+ 'lng' => array(
+ 'location' => 'query',
+ 'type' => 'number',
+ ),
+ 'note' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'progress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'title' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'teams/{teamId}/jobs/{jobId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'teamId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'address' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'assignee' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'customerName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customerPhoneNumber' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'lat' => array(
+ 'location' => 'query',
+ 'type' => 'number',
+ ),
+ 'lng' => array(
+ 'location' => 'query',
+ 'type' => 'number',
+ ),
+ 'note' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'progress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'title' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->location = new Google_Service_Coordinate_Resource_Location(
+ $this,
+ $this->serviceName,
+ 'location',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'teams/{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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->schedule = new Google_Service_Coordinate_Resource_Schedule(
+ $this,
+ $this->serviceName,
+ 'schedule',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'teams/{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' => 'teams/{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',
+ ),
+ 'duration' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'teams/{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',
+ ),
+ 'duration' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->team = new Google_Service_Coordinate_Resource_Team(
+ $this,
+ $this->serviceName,
+ 'team',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'teams',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'admin' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'dispatcher' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'worker' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->worker = new Google_Service_Coordinate_Resource_Worker(
+ $this,
+ $this->serviceName,
+ 'worker',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'teams/{teamId}/workers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'teamId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomField.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomField.php
new file mode 100644
index 00000000..13226bff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomField.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_CustomField extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFieldDef.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFieldDef.php
new file mode 100644
index 00000000..82a8837c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFieldDef.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_CustomFieldDef extends Google_Collection
+{
+ protected $collection_key = 'enumitems';
+ public $enabled;
+ protected $enumitemsType = 'Google_Service_Coordinate_EnumItemDef';
+ protected $enumitemsDataType = 'array';
+ 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 setEnumitems($enumitems)
+ {
+ $this->enumitems = $enumitems;
+ }
+ public function getEnumitems()
+ {
+ return $this->enumitems;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFieldDefListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFieldDefListResponse.php
new file mode 100644
index 00000000..af1d038d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFieldDefListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_CustomFieldDefListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFields.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFields.php
new file mode 100644
index 00000000..32f9900c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFields.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_CustomFields extends Google_Collection
+{
+ protected $collection_key = 'customField';
+ protected $customFieldType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/EnumItemDef.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/EnumItemDef.php
new file mode 100644
index 00000000..2086600a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/EnumItemDef.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_EnumItemDef extends Google_Model
+{
+ public $active;
+ public $kind;
+ public $value;
+
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Job.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Job.php
new file mode 100644
index 00000000..4c6a337c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Job.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_Job extends Google_Collection
+{
+ protected $collection_key = 'jobChange';
+ public $id;
+ protected $jobChangeType = 'Google_Service_Coordinate_JobChange';
+ protected $jobChangeDataType = 'array';
+ public $kind;
+ protected $stateType = '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(Google_Service_Coordinate_JobState $state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobChange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobChange.php
new file mode 100644
index 00000000..a3e0611c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobChange.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_JobChange extends Google_Model
+{
+ public $kind;
+ protected $stateType = 'Google_Service_Coordinate_JobState';
+ protected $stateDataType = '';
+ public $timestamp;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setState(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobListResponse.php
new file mode 100644
index 00000000..0793fc41
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_JobListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobState.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobState.php
new file mode 100644
index 00000000..c997d69d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobState.php
@@ -0,0 +1,105 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_JobState extends Google_Collection
+{
+ protected $collection_key = 'note';
+ public $assignee;
+ protected $customFieldsType = 'Google_Service_Coordinate_CustomFields';
+ protected $customFieldsDataType = '';
+ public $customerName;
+ public $customerPhoneNumber;
+ public $kind;
+ protected $locationType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Location.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Location.php
new file mode 100644
index 00000000..1b699eec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Location.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_Location extends Google_Collection
+{
+ protected $collection_key = 'addressLine';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/LocationListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/LocationListResponse.php
new file mode 100644
index 00000000..ac5334a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/LocationListResponse.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_LocationListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_Coordinate_LocationRecord';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $tokenPaginationType = '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(Google_Service_Coordinate_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/LocationRecord.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/LocationRecord.php
new file mode 100644
index 00000000..79a6839a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/LocationRecord.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_LocationRecord extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/CustomFieldDef.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/CustomFieldDef.php
new file mode 100644
index 00000000..59f814c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/CustomFieldDef.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "customFieldDef" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $coordinateService = new Google_Service_Coordinate(...);
+ * $customFieldDef = $coordinateService->customFieldDef;
+ * </code>
+ */
+class Google_Service_Coordinate_Resource_CustomFieldDef extends 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 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), "Google_Service_Coordinate_CustomFieldDefListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Jobs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Jobs.php
new file mode 100644
index 00000000..a6a3021a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Jobs.php
@@ -0,0 +1,159 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $coordinateService = new Google_Service_Coordinate(...);
+ * $jobs = $coordinateService->jobs;
+ * </code>
+ */
+class Google_Service_Coordinate_Resource_Jobs extends 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 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), "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 Google_Service_Coordinate_Job $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string assignee Assignee email address, or empty string to
+ * unassign.
+ * @opt_param string customField Sets the value of custom fields. To set a
+ * custom field, pass the field id (from /team/teamId/custom_fields), a URL
+ * escaped '=' character, and the desired value as a parameter. For example,
+ * customField=12%3DAlice. Repeat the parameter for each custom field. Note that
+ * '=' cannot appear in the parameter value. Specifying an invalid, or inactive
+ * enum field will result in an error 500.
+ * @opt_param string customerName Customer name
+ * @opt_param string customerPhoneNumber Customer phone number
+ * @opt_param string note Job note as newline (Unix) separated string
+ * @return Google_Service_Coordinate_Job
+ */
+ public function insert($teamId, $address, $lat, $lng, $title, 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), "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 maxResults Maximum number of results to return in one page.
+ * @opt_param string minModifiedTimestampMs Minimum time a job was modified in
+ * milliseconds since epoch.
+ * @opt_param bool omitJobChanges Whether to omit detail job history
+ * information.
+ * @opt_param string pageToken Continuation token
+ * @return 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), "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 Google_Service_Coordinate_Job $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string address Job address as newline (Unix) separated string
+ * @opt_param string assignee Assignee email address, or empty string to
+ * unassign.
+ * @opt_param string customField Sets the value of custom fields. To set a
+ * custom field, pass the field id (from /team/teamId/custom_fields), a URL
+ * escaped '=' character, and the desired value as a parameter. For example,
+ * customField=12%3DAlice. Repeat the parameter for each custom field. Note that
+ * '=' cannot appear in the parameter value. Specifying an invalid, or inactive
+ * enum field will result in an error 500.
+ * @opt_param string customerName Customer name
+ * @opt_param string customerPhoneNumber Customer phone number
+ * @opt_param double lat The latitude coordinate of this job's location.
+ * @opt_param double lng The longitude coordinate of this job's location.
+ * @opt_param string note Job note as newline (Unix) separated string
+ * @opt_param string progress Job progress
+ * @opt_param string title Job title
+ * @return Google_Service_Coordinate_Job
+ */
+ public function patch($teamId, $jobId, 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), "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 Google_Service_Coordinate_Job $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string address Job address as newline (Unix) separated string
+ * @opt_param string assignee Assignee email address, or empty string to
+ * unassign.
+ * @opt_param string customField Sets the value of custom fields. To set a
+ * custom field, pass the field id (from /team/teamId/custom_fields), a URL
+ * escaped '=' character, and the desired value as a parameter. For example,
+ * customField=12%3DAlice. Repeat the parameter for each custom field. Note that
+ * '=' cannot appear in the parameter value. Specifying an invalid, or inactive
+ * enum field will result in an error 500.
+ * @opt_param string customerName Customer name
+ * @opt_param string customerPhoneNumber Customer phone number
+ * @opt_param double lat The latitude coordinate of this job's location.
+ * @opt_param double lng The longitude coordinate of this job's location.
+ * @opt_param string note Job note as newline (Unix) separated string
+ * @opt_param string progress Job progress
+ * @opt_param string title Job title
+ * @return Google_Service_Coordinate_Job
+ */
+ public function update($teamId, $jobId, 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), "Google_Service_Coordinate_Job");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Location.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Location.php
new file mode 100644
index 00000000..e879bdaf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Location.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "location" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $coordinateService = new Google_Service_Coordinate(...);
+ * $location = $coordinateService->location;
+ * </code>
+ */
+class Google_Service_Coordinate_Resource_Location extends 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 maxResults Maximum number of results to return in one page.
+ * @opt_param string pageToken Continuation token
+ * @return 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), "Google_Service_Coordinate_LocationListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Schedule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Schedule.php
new file mode 100644
index 00000000..8978e4c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Schedule.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "schedule" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $coordinateService = new Google_Service_Coordinate(...);
+ * $schedule = $coordinateService->schedule;
+ * </code>
+ */
+class Google_Service_Coordinate_Resource_Schedule extends 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 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), "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 Google_Service_Coordinate_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 duration Job duration in milliseconds.
+ * @opt_param string endTime Scheduled end time in milliseconds since epoch.
+ * @opt_param string startTime Scheduled start time in milliseconds since epoch.
+ * @return Google_Service_Coordinate_Schedule
+ */
+ public function patch($teamId, $jobId, 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), "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 Google_Service_Coordinate_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 duration Job duration in milliseconds.
+ * @opt_param string endTime Scheduled end time in milliseconds since epoch.
+ * @opt_param string startTime Scheduled start time in milliseconds since epoch.
+ * @return Google_Service_Coordinate_Schedule
+ */
+ public function update($teamId, $jobId, 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), "Google_Service_Coordinate_Schedule");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Team.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Team.php
new file mode 100644
index 00000000..e3355321
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Team.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "team" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $coordinateService = new Google_Service_Coordinate(...);
+ * $team = $coordinateService->team;
+ * </code>
+ */
+class Google_Service_Coordinate_Resource_Team extends Google_Service_Resource
+{
+ /**
+ * Retrieves a list of teams for a user. (team.listTeam)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool admin Whether to include teams for which the user has the
+ * Admin role.
+ * @opt_param bool dispatcher Whether to include teams for which the user has
+ * the Dispatcher role.
+ * @opt_param bool worker Whether to include teams for which the user has the
+ * Worker role.
+ * @return Google_Service_Coordinate_TeamListResponse
+ */
+ public function listTeam($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Coordinate_TeamListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Worker.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Worker.php
new file mode 100644
index 00000000..d01fc571
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Worker.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "worker" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $coordinateService = new Google_Service_Coordinate(...);
+ * $worker = $coordinateService->worker;
+ * </code>
+ */
+class Google_Service_Coordinate_Resource_Worker extends Google_Service_Resource
+{
+ /**
+ * Retrieves a list of workers in a team. (worker.listWorker)
+ *
+ * @param string $teamId Team ID
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Coordinate_WorkerListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Schedule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Schedule.php
new file mode 100644
index 00000000..dc75febe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Schedule.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_Schedule extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Team.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Team.php
new file mode 100644
index 00000000..0fb51956
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Team.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_Team extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/TeamListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/TeamListResponse.php
new file mode 100644
index 00000000..fa86755c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/TeamListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_TeamListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_Coordinate_Team';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/TokenPagination.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/TokenPagination.php
new file mode 100644
index 00000000..e66763ce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/TokenPagination.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_TokenPagination extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Worker.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Worker.php
new file mode 100644
index 00000000..1f078063
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Worker.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_Worker extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/WorkerListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/WorkerListResponse.php
new file mode 100644
index 00000000..39dfe75e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/WorkerListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Coordinate_WorkerListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch.php
new file mode 100644
index 00000000..568833c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch.php
@@ -0,0 +1,195 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Customsearch extends Google_Service
+{
+
+
+ public $cse;
+
+ /**
+ * Constructs the internal representation of the Customsearch service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'customsearch/';
+ $this->version = 'v1';
+ $this->serviceName = 'customsearch';
+
+ $this->cse = new Google_Service_Customsearch_Resource_Cse(
+ $this,
+ $this->serviceName,
+ 'cse',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'c2coff' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'cr' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'cref' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'cx' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'dateRestrict' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'exactTerms' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'excludeTerms' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'fileType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'gl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'googlehost' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'highRange' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'hl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'hq' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'imgColorType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'imgDominantColor' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'imgSize' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'imgType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'linkSite' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'lowRange' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'lr' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'num' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orTerms' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'relatedSite' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'rights' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'safe' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'siteSearch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'siteSearchFilter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'start' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Context.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Context.php
new file mode 100644
index 00000000..e20a860c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Context.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Customsearch_Context extends Google_Collection
+{
+ protected $collection_key = 'facets';
+ protected $facetsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ContextFacets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ContextFacets.php
new file mode 100644
index 00000000..ba8e5265
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ContextFacets.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Customsearch_ContextFacets extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Promotion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Promotion.php
new file mode 100644
index 00000000..cda98fb0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Promotion.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Customsearch_Promotion extends Google_Collection
+{
+ protected $collection_key = 'bodyLines';
+ protected $bodyLinesType = 'Google_Service_Customsearch_PromotionBodyLines';
+ protected $bodyLinesDataType = 'array';
+ public $displayLink;
+ public $htmlTitle;
+ protected $imageType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/PromotionBodyLines.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/PromotionBodyLines.php
new file mode 100644
index 00000000..4201ddf0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/PromotionBodyLines.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Customsearch_PromotionBodyLines extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/PromotionImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/PromotionImage.php
new file mode 100644
index 00000000..475feb52
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/PromotionImage.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Customsearch_PromotionImage extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Query.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Query.php
new file mode 100644
index 00000000..6c0e92c0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Query.php
@@ -0,0 +1,354 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Customsearch_Query extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Resource/Cse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Resource/Cse.php
new file mode 100644
index 00000000..c70ebbf7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Resource/Cse.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "cse" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $customsearchService = new Google_Service_Customsearch(...);
+ * $cse = $customsearchService->cse;
+ * </code>
+ */
+class Google_Service_Customsearch_Resource_Cse extends 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 c2coff Turns off the translation between zh-CN and zh-TW.
+ * @opt_param string cr Country restrict(s).
+ * @opt_param string cref The URL of a linked custom search engine
+ * @opt_param string cx The custom search engine ID to scope this search query
+ * @opt_param string dateRestrict Specifies all search results are from a time
+ * period
+ * @opt_param string exactTerms Identifies a phrase that all documents in the
+ * search results must contain
+ * @opt_param string excludeTerms Identifies a word or phrase that should not
+ * appear in any documents in the search results
+ * @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 filter Controls turning on or off the duplicate content
+ * filter.
+ * @opt_param string gl Geolocation of end user.
+ * @opt_param string googlehost The local Google domain to use to perform the
+ * search.
+ * @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 hl Sets the user interface language.
+ * @opt_param string hq Appends the extra query terms to the query.
+ * @opt_param string imgColorType Returns black and white, grayscale, or color
+ * images: mono, gray, and color.
+ * @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 imgSize Returns images of a specified size, where size can
+ * be one of: icon, small, medium, large, xlarge, xxlarge, and huge.
+ * @opt_param string imgType Returns images of a type, which can be one of:
+ * clipart, face, lineart, news, and photo.
+ * @opt_param string linkSite Specifies that all search results should contain a
+ * link to a particular URL
+ * @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 lr The language restriction for the search results
+ * @opt_param string num Number of search results to return
+ * @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 relatedSite Specifies that all search results should be
+ * pages that are related to the specified URL
+ * @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 safe Search safety level
+ * @opt_param string searchType Specifies the search type: image.
+ * @opt_param string siteSearch Specifies all search results should be pages
+ * from a given site
+ * @opt_param string siteSearchFilter Controls whether to include or exclude
+ * results from the site named in the as_sitesearch parameter
+ * @opt_param string sort The sort expression to apply to the results
+ * @opt_param string start The index of the first result to return
+ * @return 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), "Google_Service_Customsearch_Search");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Result.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Result.php
new file mode 100644
index 00000000..8d32894f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Result.php
@@ -0,0 +1,159 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Customsearch_Result extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ public $cacheId;
+ public $displayLink;
+ public $fileFormat;
+ public $formattedUrl;
+ public $htmlFormattedUrl;
+ public $htmlSnippet;
+ public $htmlTitle;
+ protected $imageType = 'Google_Service_Customsearch_ResultImage';
+ protected $imageDataType = '';
+ public $kind;
+ protected $labelsType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ResultImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ResultImage.php
new file mode 100644
index 00000000..d48f967f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ResultImage.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Customsearch_ResultImage extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ResultLabels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ResultLabels.php
new file mode 100644
index 00000000..8685e43e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ResultLabels.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Customsearch_ResultLabels extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Search.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Search.php
new file mode 100644
index 00000000..be2c6836
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Search.php
@@ -0,0 +1,101 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Customsearch_Search extends Google_Collection
+{
+ protected $collection_key = 'promotions';
+ protected $contextType = 'Google_Service_Customsearch_Context';
+ protected $contextDataType = '';
+ protected $itemsType = 'Google_Service_Customsearch_Result';
+ protected $itemsDataType = 'array';
+ public $kind;
+ protected $promotionsType = 'Google_Service_Customsearch_Promotion';
+ protected $promotionsDataType = 'array';
+ protected $queriesType = 'Google_Service_Customsearch_Query';
+ protected $queriesDataType = 'map';
+ protected $searchInformationType = 'Google_Service_Customsearch_SearchSearchInformation';
+ protected $searchInformationDataType = '';
+ protected $spellingType = 'Google_Service_Customsearch_SearchSpelling';
+ protected $spellingDataType = '';
+ protected $urlType = 'Google_Service_Customsearch_SearchUrl';
+ protected $urlDataType = '';
+
+ public function setContext(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(Google_Service_Customsearch_SearchSearchInformation $searchInformation)
+ {
+ $this->searchInformation = $searchInformation;
+ }
+ public function getSearchInformation()
+ {
+ return $this->searchInformation;
+ }
+ public function setSpelling(Google_Service_Customsearch_SearchSpelling $spelling)
+ {
+ $this->spelling = $spelling;
+ }
+ public function getSpelling()
+ {
+ return $this->spelling;
+ }
+ public function setUrl(Google_Service_Customsearch_SearchUrl $url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchSearchInformation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchSearchInformation.php
new file mode 100644
index 00000000..8c8b787d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchSearchInformation.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Customsearch_SearchSearchInformation extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchSpelling.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchSpelling.php
new file mode 100644
index 00000000..bf5351e8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchSpelling.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Customsearch_SearchSpelling extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchUrl.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchUrl.php
new file mode 100644
index 00000000..a89e160f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchUrl.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Customsearch_SearchUrl extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer.php
new file mode 100644
index 00000000..8bb7f3b2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer.php
@@ -0,0 +1,147 @@
+<?php
+/*
+ * Copyright 2016 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 DataTransfer (datatransfer_v1).
+ *
+ * <p>
+ * Transfers user data from one user to another.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/admin-sdk/data-transfer/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_DataTransfer extends Google_Service
+{
+ /** View and manage data transfers between users in your organization. */
+ const ADMIN_DATATRANSFER =
+ "https://www.googleapis.com/auth/admin.datatransfer";
+ /** View data transfers between users in your organization. */
+ const ADMIN_DATATRANSFER_READONLY =
+ "https://www.googleapis.com/auth/admin.datatransfer.readonly";
+
+ public $applications;
+ public $transfers;
+
+ /**
+ * Constructs the internal representation of the DataTransfer service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'admin/datatransfer/v1/';
+ $this->version = 'datatransfer_v1';
+ $this->serviceName = 'admin';
+
+ $this->applications = new Google_Service_DataTransfer_Resource_Applications(
+ $this,
+ $this->serviceName,
+ 'applications',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'applications/{applicationId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'applicationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'applications',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->transfers = new Google_Service_DataTransfer_Resource_Transfers(
+ $this,
+ $this->serviceName,
+ 'transfers',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'transfers/{dataTransferId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'dataTransferId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'transfers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'list' => array(
+ 'path' => 'transfers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'newOwnerUserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'oldOwnerUserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Application.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Application.php
new file mode 100644
index 00000000..fe402a05
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Application.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DataTransfer_Application extends Google_Collection
+{
+ protected $collection_key = 'transferParams';
+ public $etag;
+ public $id;
+ public $kind;
+ public $name;
+ protected $transferParamsType = 'Google_Service_DataTransfer_ApplicationTransferParam';
+ protected $transferParamsDataType = 'array';
+
+ 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 setTransferParams($transferParams)
+ {
+ $this->transferParams = $transferParams;
+ }
+ public function getTransferParams()
+ {
+ return $this->transferParams;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationDataTransfer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationDataTransfer.php
new file mode 100644
index 00000000..3b701c9c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationDataTransfer.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DataTransfer_ApplicationDataTransfer extends Google_Collection
+{
+ protected $collection_key = 'applicationTransferParams';
+ public $applicationId;
+ protected $applicationTransferParamsType = 'Google_Service_DataTransfer_ApplicationTransferParam';
+ protected $applicationTransferParamsDataType = 'array';
+ public $applicationTransferStatus;
+
+ public function setApplicationId($applicationId)
+ {
+ $this->applicationId = $applicationId;
+ }
+ public function getApplicationId()
+ {
+ return $this->applicationId;
+ }
+ public function setApplicationTransferParams($applicationTransferParams)
+ {
+ $this->applicationTransferParams = $applicationTransferParams;
+ }
+ public function getApplicationTransferParams()
+ {
+ return $this->applicationTransferParams;
+ }
+ public function setApplicationTransferStatus($applicationTransferStatus)
+ {
+ $this->applicationTransferStatus = $applicationTransferStatus;
+ }
+ public function getApplicationTransferStatus()
+ {
+ return $this->applicationTransferStatus;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationTransferParam.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationTransferParam.php
new file mode 100644
index 00000000..d9ebbf5d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationTransferParam.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DataTransfer_ApplicationTransferParam extends Google_Collection
+{
+ protected $collection_key = 'value';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationsListResponse.php
new file mode 100644
index 00000000..4d7f5e05
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationsListResponse.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DataTransfer_ApplicationsListResponse extends Google_Collection
+{
+ protected $collection_key = 'applications';
+ protected $applicationsType = 'Google_Service_DataTransfer_Application';
+ protected $applicationsDataType = 'array';
+ public $etag;
+ public $kind;
+ public $nextPageToken;
+
+ public function setApplications($applications)
+ {
+ $this->applications = $applications;
+ }
+ public function getApplications()
+ {
+ return $this->applications;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfer.php
new file mode 100644
index 00000000..70b666ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfer.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DataTransfer_DataTransfer extends Google_Collection
+{
+ protected $collection_key = 'applicationDataTransfers';
+ protected $applicationDataTransfersType = 'Google_Service_DataTransfer_ApplicationDataTransfer';
+ protected $applicationDataTransfersDataType = 'array';
+ public $etag;
+ public $id;
+ public $kind;
+ public $newOwnerUserId;
+ public $oldOwnerUserId;
+ public $overallTransferStatusCode;
+ public $requestTime;
+
+ public function setApplicationDataTransfers($applicationDataTransfers)
+ {
+ $this->applicationDataTransfers = $applicationDataTransfers;
+ }
+ public function getApplicationDataTransfers()
+ {
+ return $this->applicationDataTransfers;
+ }
+ 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 setNewOwnerUserId($newOwnerUserId)
+ {
+ $this->newOwnerUserId = $newOwnerUserId;
+ }
+ public function getNewOwnerUserId()
+ {
+ return $this->newOwnerUserId;
+ }
+ public function setOldOwnerUserId($oldOwnerUserId)
+ {
+ $this->oldOwnerUserId = $oldOwnerUserId;
+ }
+ public function getOldOwnerUserId()
+ {
+ return $this->oldOwnerUserId;
+ }
+ public function setOverallTransferStatusCode($overallTransferStatusCode)
+ {
+ $this->overallTransferStatusCode = $overallTransferStatusCode;
+ }
+ public function getOverallTransferStatusCode()
+ {
+ return $this->overallTransferStatusCode;
+ }
+ public function setRequestTime($requestTime)
+ {
+ $this->requestTime = $requestTime;
+ }
+ public function getRequestTime()
+ {
+ return $this->requestTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfersListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfersListResponse.php
new file mode 100644
index 00000000..e4e016b1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfersListResponse.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DataTransfer_DataTransfersListResponse extends Google_Collection
+{
+ protected $collection_key = 'dataTransfers';
+ protected $dataTransfersType = 'Google_Service_DataTransfer_DataTransfer';
+ protected $dataTransfersDataType = 'array';
+ public $etag;
+ public $kind;
+ public $nextPageToken;
+
+ public function setDataTransfers($dataTransfers)
+ {
+ $this->dataTransfers = $dataTransfers;
+ }
+ public function getDataTransfers()
+ {
+ return $this->dataTransfers;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Applications.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Applications.php
new file mode 100644
index 00000000..b16b46f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Applications.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "applications" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_DataTransfer(...);
+ * $applications = $adminService->applications;
+ * </code>
+ */
+class Google_Service_DataTransfer_Resource_Applications extends Google_Service_Resource
+{
+ /**
+ * Retrieves information about an application for the given application ID.
+ * (applications.get)
+ *
+ * @param string $applicationId ID of the application resource to be retrieved.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DataTransfer_Application
+ */
+ public function get($applicationId, $optParams = array())
+ {
+ $params = array('applicationId' => $applicationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_DataTransfer_Application");
+ }
+ /**
+ * Lists the applications available for data transfer for a customer.
+ * (applications.listApplications)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string customerId Immutable ID of the Google Apps account.
+ * @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.
+ * @return Google_Service_DataTransfer_ApplicationsListResponse
+ */
+ public function listApplications($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_DataTransfer_ApplicationsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Transfers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Transfers.php
new file mode 100644
index 00000000..34389dad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Transfers.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "transfers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_DataTransfer(...);
+ * $transfers = $adminService->transfers;
+ * </code>
+ */
+class Google_Service_DataTransfer_Resource_Transfers extends Google_Service_Resource
+{
+ /**
+ * Retrieves a data transfer request by its resource ID. (transfers.get)
+ *
+ * @param string $dataTransferId ID of the resource to be retrieved. This is
+ * returned in the response from the insert method.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DataTransfer_DataTransfer
+ */
+ public function get($dataTransferId, $optParams = array())
+ {
+ $params = array('dataTransferId' => $dataTransferId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_DataTransfer_DataTransfer");
+ }
+ /**
+ * Inserts a data transfer request. (transfers.insert)
+ *
+ * @param Google_Service_DataTransfer_DataTransfer $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DataTransfer_DataTransfer
+ */
+ public function insert(Google_Service_DataTransfer_DataTransfer $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_DataTransfer_DataTransfer");
+ }
+ /**
+ * Lists the transfers for a customer by source user, destination user, or
+ * status. (transfers.listTransfers)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string customerId Immutable ID of the Google Apps account.
+ * @opt_param int maxResults Maximum number of results to return. Default is
+ * 100.
+ * @opt_param string newOwnerUserId Destination user's profile ID.
+ * @opt_param string oldOwnerUserId Source user's profile ID.
+ * @opt_param string pageToken Token to specify the next page in the list.
+ * @opt_param string status Status of the transfer.
+ * @return Google_Service_DataTransfer_DataTransfersListResponse
+ */
+ public function listTransfers($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_DataTransfer_DataTransfersListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow.php
new file mode 100644
index 00000000..a76d4dc8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow.php
@@ -0,0 +1,628 @@
+<?php
+/*
+ * Copyright 2016 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 Dataflow (v1b3).
+ *
+ * <p>
+ * Manages Google Cloud Dataflow projects on Google Cloud Platform.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/dataflow" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Dataflow extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View your email address. */
+ const USERINFO_EMAIL =
+ "https://www.googleapis.com/auth/userinfo.email";
+
+ public $projects;
+ public $projects_jobs;
+ public $projects_jobs_debug;
+ public $projects_jobs_messages;
+ public $projects_jobs_workItems;
+ public $projects_locations_jobs;
+ public $projects_locations_jobs_messages;
+ public $projects_locations_jobs_workItems;
+ public $projects_templates;
+
+ /**
+ * Constructs the internal representation of the Dataflow service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://dataflow.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1b3';
+ $this->serviceName = 'dataflow';
+
+ $this->projects = new Google_Service_Dataflow_Resource_Projects(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'workerMessages' => array(
+ 'path' => 'v1b3/projects/{projectId}/WorkerMessages',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_jobs = new Google_Service_Dataflow_Resource_ProjectsJobs(
+ $this,
+ $this->serviceName,
+ 'jobs',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1b3/projects/{projectId}/jobs',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'location' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'replaceJobId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'location' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getMetrics' => array(
+ 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/metrics',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'location' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1b3/projects/{projectId}/jobs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'location' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'location' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_jobs_debug = new Google_Service_Dataflow_Resource_ProjectsJobsDebug(
+ $this,
+ $this->serviceName,
+ 'debug',
+ array(
+ 'methods' => array(
+ 'getConfig' => array(
+ 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'sendCapture' => array(
+ 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_jobs_messages = new Google_Service_Dataflow_Resource_ProjectsJobsMessages(
+ $this,
+ $this->serviceName,
+ 'messages',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/messages',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'location' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'minimumImportance' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_jobs_workItems = new Google_Service_Dataflow_Resource_ProjectsJobsWorkItems(
+ $this,
+ $this->serviceName,
+ 'workItems',
+ array(
+ 'methods' => array(
+ 'lease' => array(
+ 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'reportStatus' => array(
+ 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_locations_jobs = new Google_Service_Dataflow_Resource_ProjectsLocationsJobs(
+ $this,
+ $this->serviceName,
+ 'jobs',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'location' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'replaceJobId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'location' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getMetrics' => array(
+ 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'location' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'location' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'location' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_locations_jobs_messages = new Google_Service_Dataflow_Resource_ProjectsLocationsJobsMessages(
+ $this,
+ $this->serviceName,
+ 'messages',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'location' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'minimumImportance' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_locations_jobs_workItems = new Google_Service_Dataflow_Resource_ProjectsLocationsJobsWorkItems(
+ $this,
+ $this->serviceName,
+ 'workItems',
+ array(
+ 'methods' => array(
+ 'lease' => array(
+ 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'location' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'reportStatus' => array(
+ 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'location' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_templates = new Google_Service_Dataflow_Resource_ProjectsTemplates(
+ $this,
+ $this->serviceName,
+ 'templates',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1b3/projects/{projectId}/templates',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1b3/projects/{projectId}/templates:get',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'gcsPath' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'launch' => array(
+ 'path' => 'v1b3/projects/{projectId}/templates:launch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'gcsPath' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateProgress.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateProgress.php
new file mode 100644
index 00000000..8cb3234d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateProgress.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ApproximateProgress extends Google_Model
+{
+ public $percentComplete;
+ protected $positionType = 'Google_Service_Dataflow_Position';
+ protected $positionDataType = '';
+ public $remainingTime;
+
+ public function setPercentComplete($percentComplete)
+ {
+ $this->percentComplete = $percentComplete;
+ }
+ public function getPercentComplete()
+ {
+ return $this->percentComplete;
+ }
+ public function setPosition(Google_Service_Dataflow_Position $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+ public function setRemainingTime($remainingTime)
+ {
+ $this->remainingTime = $remainingTime;
+ }
+ public function getRemainingTime()
+ {
+ return $this->remainingTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateReportedProgress.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateReportedProgress.php
new file mode 100644
index 00000000..a74e93bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateReportedProgress.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ApproximateReportedProgress extends Google_Model
+{
+ protected $consumedParallelismType = 'Google_Service_Dataflow_ReportedParallelism';
+ protected $consumedParallelismDataType = '';
+ public $fractionConsumed;
+ protected $positionType = 'Google_Service_Dataflow_Position';
+ protected $positionDataType = '';
+ protected $remainingParallelismType = 'Google_Service_Dataflow_ReportedParallelism';
+ protected $remainingParallelismDataType = '';
+
+ public function setConsumedParallelism(Google_Service_Dataflow_ReportedParallelism $consumedParallelism)
+ {
+ $this->consumedParallelism = $consumedParallelism;
+ }
+ public function getConsumedParallelism()
+ {
+ return $this->consumedParallelism;
+ }
+ public function setFractionConsumed($fractionConsumed)
+ {
+ $this->fractionConsumed = $fractionConsumed;
+ }
+ public function getFractionConsumed()
+ {
+ return $this->fractionConsumed;
+ }
+ public function setPosition(Google_Service_Dataflow_Position $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+ public function setRemainingParallelism(Google_Service_Dataflow_ReportedParallelism $remainingParallelism)
+ {
+ $this->remainingParallelism = $remainingParallelism;
+ }
+ public function getRemainingParallelism()
+ {
+ return $this->remainingParallelism;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateSplitRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateSplitRequest.php
new file mode 100644
index 00000000..f37e7ef2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateSplitRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ApproximateSplitRequest extends Google_Model
+{
+ public $fractionConsumed;
+ protected $positionType = 'Google_Service_Dataflow_Position';
+ protected $positionDataType = '';
+
+ public function setFractionConsumed($fractionConsumed)
+ {
+ $this->fractionConsumed = $fractionConsumed;
+ }
+ public function getFractionConsumed()
+ {
+ return $this->fractionConsumed;
+ }
+ public function setPosition(Google_Service_Dataflow_Position $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/AutoscalingSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/AutoscalingSettings.php
new file mode 100644
index 00000000..457ae2e9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/AutoscalingSettings.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_AutoscalingSettings extends Google_Model
+{
+ public $algorithm;
+ public $maxNumWorkers;
+
+ public function setAlgorithm($algorithm)
+ {
+ $this->algorithm = $algorithm;
+ }
+ public function getAlgorithm()
+ {
+ return $this->algorithm;
+ }
+ public function setMaxNumWorkers($maxNumWorkers)
+ {
+ $this->maxNumWorkers = $maxNumWorkers;
+ }
+ public function getMaxNumWorkers()
+ {
+ return $this->maxNumWorkers;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CPUTime.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CPUTime.php
new file mode 100644
index 00000000..346202f2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CPUTime.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_CPUTime extends Google_Model
+{
+ public $rate;
+ public $timestamp;
+ public $totalMs;
+
+ public function setRate($rate)
+ {
+ $this->rate = $rate;
+ }
+ public function getRate()
+ {
+ return $this->rate;
+ }
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+ public function setTotalMs($totalMs)
+ {
+ $this->totalMs = $totalMs;
+ }
+ public function getTotalMs()
+ {
+ return $this->totalMs;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComponentSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComponentSource.php
new file mode 100644
index 00000000..35860b7c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComponentSource.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ComponentSource extends Google_Model
+{
+ public $name;
+ public $originalTransformOrCollection;
+ public $userName;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOriginalTransformOrCollection($originalTransformOrCollection)
+ {
+ $this->originalTransformOrCollection = $originalTransformOrCollection;
+ }
+ public function getOriginalTransformOrCollection()
+ {
+ return $this->originalTransformOrCollection;
+ }
+ public function setUserName($userName)
+ {
+ $this->userName = $userName;
+ }
+ public function getUserName()
+ {
+ return $this->userName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComponentTransform.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComponentTransform.php
new file mode 100644
index 00000000..7c2f1d9c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComponentTransform.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ComponentTransform extends Google_Model
+{
+ public $name;
+ public $originalTransform;
+ public $userName;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOriginalTransform($originalTransform)
+ {
+ $this->originalTransform = $originalTransform;
+ }
+ public function getOriginalTransform()
+ {
+ return $this->originalTransform;
+ }
+ public function setUserName($userName)
+ {
+ $this->userName = $userName;
+ }
+ public function getUserName()
+ {
+ return $this->userName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComputationTopology.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComputationTopology.php
new file mode 100644
index 00000000..f6b7b06a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComputationTopology.php
@@ -0,0 +1,89 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ComputationTopology extends Google_Collection
+{
+ protected $collection_key = 'stateFamilies';
+ public $computationId;
+ protected $inputsType = 'Google_Service_Dataflow_StreamLocation';
+ protected $inputsDataType = 'array';
+ protected $keyRangesType = 'Google_Service_Dataflow_KeyRangeLocation';
+ protected $keyRangesDataType = 'array';
+ protected $outputsType = 'Google_Service_Dataflow_StreamLocation';
+ protected $outputsDataType = 'array';
+ protected $stateFamiliesType = 'Google_Service_Dataflow_StateFamilyConfig';
+ protected $stateFamiliesDataType = 'array';
+ public $systemStageName;
+ public $userStageName;
+
+ public function setComputationId($computationId)
+ {
+ $this->computationId = $computationId;
+ }
+ public function getComputationId()
+ {
+ return $this->computationId;
+ }
+ public function setInputs($inputs)
+ {
+ $this->inputs = $inputs;
+ }
+ public function getInputs()
+ {
+ return $this->inputs;
+ }
+ public function setKeyRanges($keyRanges)
+ {
+ $this->keyRanges = $keyRanges;
+ }
+ public function getKeyRanges()
+ {
+ return $this->keyRanges;
+ }
+ public function setOutputs($outputs)
+ {
+ $this->outputs = $outputs;
+ }
+ public function getOutputs()
+ {
+ return $this->outputs;
+ }
+ public function setStateFamilies($stateFamilies)
+ {
+ $this->stateFamilies = $stateFamilies;
+ }
+ public function getStateFamilies()
+ {
+ return $this->stateFamilies;
+ }
+ public function setSystemStageName($systemStageName)
+ {
+ $this->systemStageName = $systemStageName;
+ }
+ public function getSystemStageName()
+ {
+ return $this->systemStageName;
+ }
+ public function setUserStageName($userStageName)
+ {
+ $this->userStageName = $userStageName;
+ }
+ public function getUserStageName()
+ {
+ return $this->userStageName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ConcatPosition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ConcatPosition.php
new file mode 100644
index 00000000..06f884a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ConcatPosition.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ConcatPosition extends Google_Model
+{
+ public $index;
+ protected $positionType = 'Google_Service_Dataflow_Position';
+ protected $positionDataType = '';
+
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+ public function setPosition(Google_Service_Dataflow_Position $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterMetadata.php
new file mode 100644
index 00000000..d0546068
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterMetadata.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_CounterMetadata extends Google_Model
+{
+ public $description;
+ public $kind;
+ public $otherUnits;
+ public $standardUnits;
+
+ 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 setOtherUnits($otherUnits)
+ {
+ $this->otherUnits = $otherUnits;
+ }
+ public function getOtherUnits()
+ {
+ return $this->otherUnits;
+ }
+ public function setStandardUnits($standardUnits)
+ {
+ $this->standardUnits = $standardUnits;
+ }
+ public function getStandardUnits()
+ {
+ return $this->standardUnits;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterStructuredName.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterStructuredName.php
new file mode 100644
index 00000000..defd6b1e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterStructuredName.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_CounterStructuredName extends Google_Model
+{
+ public $componentStepName;
+ public $executionStepName;
+ public $name;
+ public $origin;
+ public $originNamespace;
+ public $originalStepName;
+ public $portion;
+ public $workerId;
+
+ public function setComponentStepName($componentStepName)
+ {
+ $this->componentStepName = $componentStepName;
+ }
+ public function getComponentStepName()
+ {
+ return $this->componentStepName;
+ }
+ public function setExecutionStepName($executionStepName)
+ {
+ $this->executionStepName = $executionStepName;
+ }
+ public function getExecutionStepName()
+ {
+ return $this->executionStepName;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOrigin($origin)
+ {
+ $this->origin = $origin;
+ }
+ public function getOrigin()
+ {
+ return $this->origin;
+ }
+ public function setOriginNamespace($originNamespace)
+ {
+ $this->originNamespace = $originNamespace;
+ }
+ public function getOriginNamespace()
+ {
+ return $this->originNamespace;
+ }
+ public function setOriginalStepName($originalStepName)
+ {
+ $this->originalStepName = $originalStepName;
+ }
+ public function getOriginalStepName()
+ {
+ return $this->originalStepName;
+ }
+ public function setPortion($portion)
+ {
+ $this->portion = $portion;
+ }
+ public function getPortion()
+ {
+ return $this->portion;
+ }
+ public function setWorkerId($workerId)
+ {
+ $this->workerId = $workerId;
+ }
+ public function getWorkerId()
+ {
+ return $this->workerId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterStructuredNameAndMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterStructuredNameAndMetadata.php
new file mode 100644
index 00000000..4d22eaf3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterStructuredNameAndMetadata.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_CounterStructuredNameAndMetadata extends Google_Model
+{
+ protected $metadataType = 'Google_Service_Dataflow_CounterMetadata';
+ protected $metadataDataType = '';
+ protected $nameType = 'Google_Service_Dataflow_CounterStructuredName';
+ protected $nameDataType = '';
+
+ public function setMetadata(Google_Service_Dataflow_CounterMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setName(Google_Service_Dataflow_CounterStructuredName $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterUpdate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterUpdate.php
new file mode 100644
index 00000000..025d61b3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterUpdate.php
@@ -0,0 +1,156 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_CounterUpdate extends Google_Model
+{
+ public $boolean;
+ public $cumulative;
+ protected $distributionType = 'Google_Service_Dataflow_DistributionUpdate';
+ protected $distributionDataType = '';
+ public $floatingPoint;
+ protected $floatingPointListType = 'Google_Service_Dataflow_FloatingPointList';
+ protected $floatingPointListDataType = '';
+ protected $floatingPointMeanType = 'Google_Service_Dataflow_FloatingPointMean';
+ protected $floatingPointMeanDataType = '';
+ protected $integerType = 'Google_Service_Dataflow_SplitInt64';
+ protected $integerDataType = '';
+ protected $integerListType = 'Google_Service_Dataflow_IntegerList';
+ protected $integerListDataType = '';
+ protected $integerMeanType = 'Google_Service_Dataflow_IntegerMean';
+ protected $integerMeanDataType = '';
+ public $internal;
+ protected $nameAndKindType = 'Google_Service_Dataflow_NameAndKind';
+ protected $nameAndKindDataType = '';
+ public $shortId;
+ protected $stringListType = 'Google_Service_Dataflow_StringList';
+ protected $stringListDataType = '';
+ protected $structuredNameAndMetadataType = 'Google_Service_Dataflow_CounterStructuredNameAndMetadata';
+ protected $structuredNameAndMetadataDataType = '';
+
+ public function setBoolean($boolean)
+ {
+ $this->boolean = $boolean;
+ }
+ public function getBoolean()
+ {
+ return $this->boolean;
+ }
+ public function setCumulative($cumulative)
+ {
+ $this->cumulative = $cumulative;
+ }
+ public function getCumulative()
+ {
+ return $this->cumulative;
+ }
+ public function setDistribution(Google_Service_Dataflow_DistributionUpdate $distribution)
+ {
+ $this->distribution = $distribution;
+ }
+ public function getDistribution()
+ {
+ return $this->distribution;
+ }
+ public function setFloatingPoint($floatingPoint)
+ {
+ $this->floatingPoint = $floatingPoint;
+ }
+ public function getFloatingPoint()
+ {
+ return $this->floatingPoint;
+ }
+ public function setFloatingPointList(Google_Service_Dataflow_FloatingPointList $floatingPointList)
+ {
+ $this->floatingPointList = $floatingPointList;
+ }
+ public function getFloatingPointList()
+ {
+ return $this->floatingPointList;
+ }
+ public function setFloatingPointMean(Google_Service_Dataflow_FloatingPointMean $floatingPointMean)
+ {
+ $this->floatingPointMean = $floatingPointMean;
+ }
+ public function getFloatingPointMean()
+ {
+ return $this->floatingPointMean;
+ }
+ public function setInteger(Google_Service_Dataflow_SplitInt64 $integer)
+ {
+ $this->integer = $integer;
+ }
+ public function getInteger()
+ {
+ return $this->integer;
+ }
+ public function setIntegerList(Google_Service_Dataflow_IntegerList $integerList)
+ {
+ $this->integerList = $integerList;
+ }
+ public function getIntegerList()
+ {
+ return $this->integerList;
+ }
+ public function setIntegerMean(Google_Service_Dataflow_IntegerMean $integerMean)
+ {
+ $this->integerMean = $integerMean;
+ }
+ public function getIntegerMean()
+ {
+ return $this->integerMean;
+ }
+ public function setInternal($internal)
+ {
+ $this->internal = $internal;
+ }
+ public function getInternal()
+ {
+ return $this->internal;
+ }
+ public function setNameAndKind(Google_Service_Dataflow_NameAndKind $nameAndKind)
+ {
+ $this->nameAndKind = $nameAndKind;
+ }
+ public function getNameAndKind()
+ {
+ return $this->nameAndKind;
+ }
+ public function setShortId($shortId)
+ {
+ $this->shortId = $shortId;
+ }
+ public function getShortId()
+ {
+ return $this->shortId;
+ }
+ public function setStringList(Google_Service_Dataflow_StringList $stringList)
+ {
+ $this->stringList = $stringList;
+ }
+ public function getStringList()
+ {
+ return $this->stringList;
+ }
+ public function setStructuredNameAndMetadata(Google_Service_Dataflow_CounterStructuredNameAndMetadata $structuredNameAndMetadata)
+ {
+ $this->structuredNameAndMetadata = $structuredNameAndMetadata;
+ }
+ public function getStructuredNameAndMetadata()
+ {
+ return $this->structuredNameAndMetadata;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CreateJobFromTemplateRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CreateJobFromTemplateRequest.php
new file mode 100644
index 00000000..5d95c17e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CreateJobFromTemplateRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_CreateJobFromTemplateRequest extends Google_Model
+{
+ protected $environmentType = 'Google_Service_Dataflow_RuntimeEnvironment';
+ protected $environmentDataType = '';
+ public $gcsPath;
+ public $jobName;
+ public $parameters;
+
+ public function setEnvironment(Google_Service_Dataflow_RuntimeEnvironment $environment)
+ {
+ $this->environment = $environment;
+ }
+ public function getEnvironment()
+ {
+ return $this->environment;
+ }
+ public function setGcsPath($gcsPath)
+ {
+ $this->gcsPath = $gcsPath;
+ }
+ public function getGcsPath()
+ {
+ return $this->gcsPath;
+ }
+ public function setJobName($jobName)
+ {
+ $this->jobName = $jobName;
+ }
+ public function getJobName()
+ {
+ return $this->jobName;
+ }
+ public function setParameters($parameters)
+ {
+ $this->parameters = $parameters;
+ }
+ public function getParameters()
+ {
+ return $this->parameters;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CustomSourceLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CustomSourceLocation.php
new file mode 100644
index 00000000..953c4d66
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CustomSourceLocation.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_CustomSourceLocation extends Google_Model
+{
+ public $stateful;
+
+ public function setStateful($stateful)
+ {
+ $this->stateful = $stateful;
+ }
+ public function getStateful()
+ {
+ return $this->stateful;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DataDiskAssignment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DataDiskAssignment.php
new file mode 100644
index 00000000..dc94b888
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DataDiskAssignment.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_DataDiskAssignment extends Google_Collection
+{
+ protected $collection_key = 'dataDisks';
+ public $dataDisks;
+ public $vmInstance;
+
+ public function setDataDisks($dataDisks)
+ {
+ $this->dataDisks = $dataDisks;
+ }
+ public function getDataDisks()
+ {
+ return $this->dataDisks;
+ }
+ public function setVmInstance($vmInstance)
+ {
+ $this->vmInstance = $vmInstance;
+ }
+ public function getVmInstance()
+ {
+ return $this->vmInstance;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DerivedSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DerivedSource.php
new file mode 100644
index 00000000..26c6d0ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DerivedSource.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_DerivedSource extends Google_Model
+{
+ public $derivationMode;
+ protected $sourceType = 'Google_Service_Dataflow_Source';
+ protected $sourceDataType = '';
+
+ public function setDerivationMode($derivationMode)
+ {
+ $this->derivationMode = $derivationMode;
+ }
+ public function getDerivationMode()
+ {
+ return $this->derivationMode;
+ }
+ public function setSource(Google_Service_Dataflow_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Disk.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Disk.php
new file mode 100644
index 00000000..510ab3e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Disk.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_Disk extends Google_Model
+{
+ public $diskType;
+ public $mountPoint;
+ public $sizeGb;
+
+ public function setDiskType($diskType)
+ {
+ $this->diskType = $diskType;
+ }
+ public function getDiskType()
+ {
+ return $this->diskType;
+ }
+ public function setMountPoint($mountPoint)
+ {
+ $this->mountPoint = $mountPoint;
+ }
+ public function getMountPoint()
+ {
+ return $this->mountPoint;
+ }
+ public function setSizeGb($sizeGb)
+ {
+ $this->sizeGb = $sizeGb;
+ }
+ public function getSizeGb()
+ {
+ return $this->sizeGb;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DisplayData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DisplayData.php
new file mode 100644
index 00000000..5755a466
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DisplayData.php
@@ -0,0 +1,129 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_DisplayData extends Google_Model
+{
+ public $boolValue;
+ public $durationValue;
+ public $floatValue;
+ public $int64Value;
+ public $javaClassValue;
+ public $key;
+ public $label;
+ public $namespace;
+ public $shortStrValue;
+ public $strValue;
+ public $timestampValue;
+ public $url;
+
+ public function setBoolValue($boolValue)
+ {
+ $this->boolValue = $boolValue;
+ }
+ public function getBoolValue()
+ {
+ return $this->boolValue;
+ }
+ public function setDurationValue($durationValue)
+ {
+ $this->durationValue = $durationValue;
+ }
+ public function getDurationValue()
+ {
+ return $this->durationValue;
+ }
+ public function setFloatValue($floatValue)
+ {
+ $this->floatValue = $floatValue;
+ }
+ public function getFloatValue()
+ {
+ return $this->floatValue;
+ }
+ public function setInt64Value($int64Value)
+ {
+ $this->int64Value = $int64Value;
+ }
+ public function getInt64Value()
+ {
+ return $this->int64Value;
+ }
+ public function setJavaClassValue($javaClassValue)
+ {
+ $this->javaClassValue = $javaClassValue;
+ }
+ public function getJavaClassValue()
+ {
+ return $this->javaClassValue;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setNamespace($namespace)
+ {
+ $this->namespace = $namespace;
+ }
+ public function getNamespace()
+ {
+ return $this->namespace;
+ }
+ public function setShortStrValue($shortStrValue)
+ {
+ $this->shortStrValue = $shortStrValue;
+ }
+ public function getShortStrValue()
+ {
+ return $this->shortStrValue;
+ }
+ public function setStrValue($strValue)
+ {
+ $this->strValue = $strValue;
+ }
+ public function getStrValue()
+ {
+ return $this->strValue;
+ }
+ public function setTimestampValue($timestampValue)
+ {
+ $this->timestampValue = $timestampValue;
+ }
+ public function getTimestampValue()
+ {
+ return $this->timestampValue;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DistributionUpdate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DistributionUpdate.php
new file mode 100644
index 00000000..0776ed81
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DistributionUpdate.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_DistributionUpdate extends Google_Model
+{
+ protected $countType = 'Google_Service_Dataflow_SplitInt64';
+ protected $countDataType = '';
+ protected $maxType = 'Google_Service_Dataflow_SplitInt64';
+ protected $maxDataType = '';
+ protected $minType = 'Google_Service_Dataflow_SplitInt64';
+ protected $minDataType = '';
+ protected $sumType = 'Google_Service_Dataflow_SplitInt64';
+ protected $sumDataType = '';
+ public $sumOfSquares;
+
+ public function setCount(Google_Service_Dataflow_SplitInt64 $count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setMax(Google_Service_Dataflow_SplitInt64 $max)
+ {
+ $this->max = $max;
+ }
+ public function getMax()
+ {
+ return $this->max;
+ }
+ public function setMin(Google_Service_Dataflow_SplitInt64 $min)
+ {
+ $this->min = $min;
+ }
+ public function getMin()
+ {
+ return $this->min;
+ }
+ public function setSum(Google_Service_Dataflow_SplitInt64 $sum)
+ {
+ $this->sum = $sum;
+ }
+ public function getSum()
+ {
+ return $this->sum;
+ }
+ public function setSumOfSquares($sumOfSquares)
+ {
+ $this->sumOfSquares = $sumOfSquares;
+ }
+ public function getSumOfSquares()
+ {
+ return $this->sumOfSquares;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DynamicSourceSplit.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DynamicSourceSplit.php
new file mode 100644
index 00000000..e7eb306e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DynamicSourceSplit.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_DynamicSourceSplit extends Google_Model
+{
+ protected $primaryType = 'Google_Service_Dataflow_DerivedSource';
+ protected $primaryDataType = '';
+ protected $residualType = 'Google_Service_Dataflow_DerivedSource';
+ protected $residualDataType = '';
+
+ public function setPrimary(Google_Service_Dataflow_DerivedSource $primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setResidual(Google_Service_Dataflow_DerivedSource $residual)
+ {
+ $this->residual = $residual;
+ }
+ public function getResidual()
+ {
+ return $this->residual;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Environment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Environment.php
new file mode 100644
index 00000000..893044cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Environment.php
@@ -0,0 +1,113 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_Environment extends Google_Collection
+{
+ protected $collection_key = 'workerPools';
+ public $clusterManagerApiService;
+ public $dataset;
+ public $experiments;
+ public $internalExperiments;
+ public $sdkPipelineOptions;
+ public $serviceAccountEmail;
+ public $tempStoragePrefix;
+ public $userAgent;
+ public $version;
+ protected $workerPoolsType = 'Google_Service_Dataflow_WorkerPool';
+ protected $workerPoolsDataType = 'array';
+
+ public function setClusterManagerApiService($clusterManagerApiService)
+ {
+ $this->clusterManagerApiService = $clusterManagerApiService;
+ }
+ public function getClusterManagerApiService()
+ {
+ return $this->clusterManagerApiService;
+ }
+ public function setDataset($dataset)
+ {
+ $this->dataset = $dataset;
+ }
+ public function getDataset()
+ {
+ return $this->dataset;
+ }
+ public function setExperiments($experiments)
+ {
+ $this->experiments = $experiments;
+ }
+ public function getExperiments()
+ {
+ return $this->experiments;
+ }
+ public function setInternalExperiments($internalExperiments)
+ {
+ $this->internalExperiments = $internalExperiments;
+ }
+ public function getInternalExperiments()
+ {
+ return $this->internalExperiments;
+ }
+ public function setSdkPipelineOptions($sdkPipelineOptions)
+ {
+ $this->sdkPipelineOptions = $sdkPipelineOptions;
+ }
+ public function getSdkPipelineOptions()
+ {
+ return $this->sdkPipelineOptions;
+ }
+ public function setServiceAccountEmail($serviceAccountEmail)
+ {
+ $this->serviceAccountEmail = $serviceAccountEmail;
+ }
+ public function getServiceAccountEmail()
+ {
+ return $this->serviceAccountEmail;
+ }
+ public function setTempStoragePrefix($tempStoragePrefix)
+ {
+ $this->tempStoragePrefix = $tempStoragePrefix;
+ }
+ public function getTempStoragePrefix()
+ {
+ return $this->tempStoragePrefix;
+ }
+ public function setUserAgent($userAgent)
+ {
+ $this->userAgent = $userAgent;
+ }
+ public function getUserAgent()
+ {
+ return $this->userAgent;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+ public function setWorkerPools($workerPools)
+ {
+ $this->workerPools = $workerPools;
+ }
+ public function getWorkerPools()
+ {
+ return $this->workerPools;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ExecutionStageSummary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ExecutionStageSummary.php
new file mode 100644
index 00000000..0015f6ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ExecutionStageSummary.php
@@ -0,0 +1,89 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ExecutionStageSummary extends Google_Collection
+{
+ protected $collection_key = 'outputSource';
+ protected $componentSourceType = 'Google_Service_Dataflow_ComponentSource';
+ protected $componentSourceDataType = 'array';
+ protected $componentTransformType = 'Google_Service_Dataflow_ComponentTransform';
+ protected $componentTransformDataType = 'array';
+ public $id;
+ protected $inputSourceType = 'Google_Service_Dataflow_StageSource';
+ protected $inputSourceDataType = 'array';
+ public $kind;
+ public $name;
+ protected $outputSourceType = 'Google_Service_Dataflow_StageSource';
+ protected $outputSourceDataType = 'array';
+
+ public function setComponentSource($componentSource)
+ {
+ $this->componentSource = $componentSource;
+ }
+ public function getComponentSource()
+ {
+ return $this->componentSource;
+ }
+ public function setComponentTransform($componentTransform)
+ {
+ $this->componentTransform = $componentTransform;
+ }
+ public function getComponentTransform()
+ {
+ return $this->componentTransform;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInputSource($inputSource)
+ {
+ $this->inputSource = $inputSource;
+ }
+ public function getInputSource()
+ {
+ return $this->inputSource;
+ }
+ 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 setOutputSource($outputSource)
+ {
+ $this->outputSource = $outputSource;
+ }
+ public function getOutputSource()
+ {
+ return $this->outputSource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FailedLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FailedLocation.php
new file mode 100644
index 00000000..86ad9bf0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FailedLocation.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_FailedLocation extends Google_Model
+{
+ public $name;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FlattenInstruction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FlattenInstruction.php
new file mode 100644
index 00000000..b553b04f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FlattenInstruction.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_FlattenInstruction extends Google_Collection
+{
+ protected $collection_key = 'inputs';
+ protected $inputsType = 'Google_Service_Dataflow_InstructionInput';
+ protected $inputsDataType = 'array';
+
+ public function setInputs($inputs)
+ {
+ $this->inputs = $inputs;
+ }
+ public function getInputs()
+ {
+ return $this->inputs;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FloatingPointList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FloatingPointList.php
new file mode 100644
index 00000000..82c587e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FloatingPointList.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_FloatingPointList extends Google_Collection
+{
+ protected $collection_key = 'elements';
+ public $elements;
+
+ public function setElements($elements)
+ {
+ $this->elements = $elements;
+ }
+ public function getElements()
+ {
+ return $this->elements;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FloatingPointMean.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FloatingPointMean.php
new file mode 100644
index 00000000..344fff82
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FloatingPointMean.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_FloatingPointMean extends Google_Model
+{
+ protected $countType = 'Google_Service_Dataflow_SplitInt64';
+ protected $countDataType = '';
+ public $sum;
+
+ public function setCount(Google_Service_Dataflow_SplitInt64 $count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setSum($sum)
+ {
+ $this->sum = $sum;
+ }
+ public function getSum()
+ {
+ return $this->sum;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetDebugConfigRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetDebugConfigRequest.php
new file mode 100644
index 00000000..0b9c5738
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetDebugConfigRequest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_GetDebugConfigRequest extends Google_Model
+{
+ public $componentId;
+ public $workerId;
+
+ public function setComponentId($componentId)
+ {
+ $this->componentId = $componentId;
+ }
+ public function getComponentId()
+ {
+ return $this->componentId;
+ }
+ public function setWorkerId($workerId)
+ {
+ $this->workerId = $workerId;
+ }
+ public function getWorkerId()
+ {
+ return $this->workerId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetDebugConfigResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetDebugConfigResponse.php
new file mode 100644
index 00000000..e5e033e8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetDebugConfigResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_GetDebugConfigResponse extends Google_Model
+{
+ public $config;
+
+ public function setConfig($config)
+ {
+ $this->config = $config;
+ }
+ public function getConfig()
+ {
+ return $this->config;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetTemplateResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetTemplateResponse.php
new file mode 100644
index 00000000..532ac258
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetTemplateResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_GetTemplateResponse extends Google_Model
+{
+ protected $metadataType = 'Google_Service_Dataflow_TemplateMetadata';
+ protected $metadataDataType = '';
+ protected $statusType = 'Google_Service_Dataflow_Status';
+ protected $statusDataType = '';
+
+ public function setMetadata(Google_Service_Dataflow_TemplateMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setStatus(Google_Service_Dataflow_Status $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/InstructionInput.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/InstructionInput.php
new file mode 100644
index 00000000..cee054b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/InstructionInput.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_InstructionInput extends Google_Model
+{
+ public $outputNum;
+ public $producerInstructionIndex;
+
+ public function setOutputNum($outputNum)
+ {
+ $this->outputNum = $outputNum;
+ }
+ public function getOutputNum()
+ {
+ return $this->outputNum;
+ }
+ public function setProducerInstructionIndex($producerInstructionIndex)
+ {
+ $this->producerInstructionIndex = $producerInstructionIndex;
+ }
+ public function getProducerInstructionIndex()
+ {
+ return $this->producerInstructionIndex;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/InstructionOutput.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/InstructionOutput.php
new file mode 100644
index 00000000..ceb12186
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/InstructionOutput.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_InstructionOutput extends Google_Model
+{
+ public $codec;
+ public $name;
+ public $onlyCountKeyBytes;
+ public $onlyCountValueBytes;
+ public $originalName;
+ public $systemName;
+
+ public function setCodec($codec)
+ {
+ $this->codec = $codec;
+ }
+ public function getCodec()
+ {
+ return $this->codec;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOnlyCountKeyBytes($onlyCountKeyBytes)
+ {
+ $this->onlyCountKeyBytes = $onlyCountKeyBytes;
+ }
+ public function getOnlyCountKeyBytes()
+ {
+ return $this->onlyCountKeyBytes;
+ }
+ public function setOnlyCountValueBytes($onlyCountValueBytes)
+ {
+ $this->onlyCountValueBytes = $onlyCountValueBytes;
+ }
+ public function getOnlyCountValueBytes()
+ {
+ return $this->onlyCountValueBytes;
+ }
+ public function setOriginalName($originalName)
+ {
+ $this->originalName = $originalName;
+ }
+ public function getOriginalName()
+ {
+ return $this->originalName;
+ }
+ public function setSystemName($systemName)
+ {
+ $this->systemName = $systemName;
+ }
+ public function getSystemName()
+ {
+ return $this->systemName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/IntegerList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/IntegerList.php
new file mode 100644
index 00000000..98f733f5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/IntegerList.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_IntegerList extends Google_Collection
+{
+ protected $collection_key = 'elements';
+ protected $elementsType = 'Google_Service_Dataflow_SplitInt64';
+ protected $elementsDataType = 'array';
+
+ public function setElements($elements)
+ {
+ $this->elements = $elements;
+ }
+ public function getElements()
+ {
+ return $this->elements;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/IntegerMean.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/IntegerMean.php
new file mode 100644
index 00000000..a82b2813
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/IntegerMean.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_IntegerMean extends Google_Model
+{
+ protected $countType = 'Google_Service_Dataflow_SplitInt64';
+ protected $countDataType = '';
+ protected $sumType = 'Google_Service_Dataflow_SplitInt64';
+ protected $sumDataType = '';
+
+ public function setCount(Google_Service_Dataflow_SplitInt64 $count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setSum(Google_Service_Dataflow_SplitInt64 $sum)
+ {
+ $this->sum = $sum;
+ }
+ public function getSum()
+ {
+ return $this->sum;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Job.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Job.php
new file mode 100644
index 00000000..151c2876
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Job.php
@@ -0,0 +1,197 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_Job extends Google_Collection
+{
+ protected $collection_key = 'tempFiles';
+ public $clientRequestId;
+ public $createTime;
+ public $currentState;
+ public $currentStateTime;
+ protected $environmentType = 'Google_Service_Dataflow_Environment';
+ protected $environmentDataType = '';
+ protected $executionInfoType = 'Google_Service_Dataflow_JobExecutionInfo';
+ protected $executionInfoDataType = '';
+ public $id;
+ public $labels;
+ public $location;
+ public $name;
+ protected $pipelineDescriptionType = 'Google_Service_Dataflow_PipelineDescription';
+ protected $pipelineDescriptionDataType = '';
+ public $projectId;
+ public $replaceJobId;
+ public $replacedByJobId;
+ public $requestedState;
+ protected $stepsType = 'Google_Service_Dataflow_Step';
+ protected $stepsDataType = 'array';
+ public $tempFiles;
+ public $transformNameMapping;
+ public $type;
+
+ public function setClientRequestId($clientRequestId)
+ {
+ $this->clientRequestId = $clientRequestId;
+ }
+ public function getClientRequestId()
+ {
+ return $this->clientRequestId;
+ }
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setCurrentState($currentState)
+ {
+ $this->currentState = $currentState;
+ }
+ public function getCurrentState()
+ {
+ return $this->currentState;
+ }
+ public function setCurrentStateTime($currentStateTime)
+ {
+ $this->currentStateTime = $currentStateTime;
+ }
+ public function getCurrentStateTime()
+ {
+ return $this->currentStateTime;
+ }
+ public function setEnvironment(Google_Service_Dataflow_Environment $environment)
+ {
+ $this->environment = $environment;
+ }
+ public function getEnvironment()
+ {
+ return $this->environment;
+ }
+ public function setExecutionInfo(Google_Service_Dataflow_JobExecutionInfo $executionInfo)
+ {
+ $this->executionInfo = $executionInfo;
+ }
+ public function getExecutionInfo()
+ {
+ return $this->executionInfo;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ 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 setPipelineDescription(Google_Service_Dataflow_PipelineDescription $pipelineDescription)
+ {
+ $this->pipelineDescription = $pipelineDescription;
+ }
+ public function getPipelineDescription()
+ {
+ return $this->pipelineDescription;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setReplaceJobId($replaceJobId)
+ {
+ $this->replaceJobId = $replaceJobId;
+ }
+ public function getReplaceJobId()
+ {
+ return $this->replaceJobId;
+ }
+ public function setReplacedByJobId($replacedByJobId)
+ {
+ $this->replacedByJobId = $replacedByJobId;
+ }
+ public function getReplacedByJobId()
+ {
+ return $this->replacedByJobId;
+ }
+ public function setRequestedState($requestedState)
+ {
+ $this->requestedState = $requestedState;
+ }
+ public function getRequestedState()
+ {
+ return $this->requestedState;
+ }
+ public function setSteps($steps)
+ {
+ $this->steps = $steps;
+ }
+ public function getSteps()
+ {
+ return $this->steps;
+ }
+ public function setTempFiles($tempFiles)
+ {
+ $this->tempFiles = $tempFiles;
+ }
+ public function getTempFiles()
+ {
+ return $this->tempFiles;
+ }
+ public function setTransformNameMapping($transformNameMapping)
+ {
+ $this->transformNameMapping = $transformNameMapping;
+ }
+ public function getTransformNameMapping()
+ {
+ return $this->transformNameMapping;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobExecutionInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobExecutionInfo.php
new file mode 100644
index 00000000..602dc87f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobExecutionInfo.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_JobExecutionInfo extends Google_Model
+{
+ protected $stagesType = 'Google_Service_Dataflow_JobExecutionStageInfo';
+ protected $stagesDataType = 'map';
+
+ public function setStages($stages)
+ {
+ $this->stages = $stages;
+ }
+ public function getStages()
+ {
+ return $this->stages;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobExecutionStageInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobExecutionStageInfo.php
new file mode 100644
index 00000000..765af53c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobExecutionStageInfo.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_JobExecutionStageInfo extends Google_Collection
+{
+ protected $collection_key = 'stepName';
+ public $stepName;
+
+ public function setStepName($stepName)
+ {
+ $this->stepName = $stepName;
+ }
+ public function getStepName()
+ {
+ return $this->stepName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobMessage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobMessage.php
new file mode 100644
index 00000000..6ef9ad0e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobMessage.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_JobMessage extends Google_Model
+{
+ public $id;
+ public $messageImportance;
+ public $messageText;
+ public $time;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setMessageImportance($messageImportance)
+ {
+ $this->messageImportance = $messageImportance;
+ }
+ public function getMessageImportance()
+ {
+ return $this->messageImportance;
+ }
+ public function setMessageText($messageText)
+ {
+ $this->messageText = $messageText;
+ }
+ public function getMessageText()
+ {
+ return $this->messageText;
+ }
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+ public function getTime()
+ {
+ return $this->time;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobMetrics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobMetrics.php
new file mode 100644
index 00000000..c096b480
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobMetrics.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_JobMetrics extends Google_Collection
+{
+ protected $collection_key = 'metrics';
+ public $metricTime;
+ protected $metricsType = 'Google_Service_Dataflow_MetricUpdate';
+ protected $metricsDataType = 'array';
+
+ public function setMetricTime($metricTime)
+ {
+ $this->metricTime = $metricTime;
+ }
+ public function getMetricTime()
+ {
+ return $this->metricTime;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/KeyRangeDataDiskAssignment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/KeyRangeDataDiskAssignment.php
new file mode 100644
index 00000000..b4cca2b6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/KeyRangeDataDiskAssignment.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_KeyRangeDataDiskAssignment extends Google_Model
+{
+ public $dataDisk;
+ public $end;
+ public $start;
+
+ public function setDataDisk($dataDisk)
+ {
+ $this->dataDisk = $dataDisk;
+ }
+ public function getDataDisk()
+ {
+ return $this->dataDisk;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/KeyRangeLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/KeyRangeLocation.php
new file mode 100644
index 00000000..0c398718
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/KeyRangeLocation.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_KeyRangeLocation extends Google_Model
+{
+ public $dataDisk;
+ public $deliveryEndpoint;
+ public $end;
+ public $persistentDirectory;
+ public $start;
+
+ public function setDataDisk($dataDisk)
+ {
+ $this->dataDisk = $dataDisk;
+ }
+ public function getDataDisk()
+ {
+ return $this->dataDisk;
+ }
+ public function setDeliveryEndpoint($deliveryEndpoint)
+ {
+ $this->deliveryEndpoint = $deliveryEndpoint;
+ }
+ public function getDeliveryEndpoint()
+ {
+ return $this->deliveryEndpoint;
+ }
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setPersistentDirectory($persistentDirectory)
+ {
+ $this->persistentDirectory = $persistentDirectory;
+ }
+ public function getPersistentDirectory()
+ {
+ return $this->persistentDirectory;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LaunchTemplateParameters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LaunchTemplateParameters.php
new file mode 100644
index 00000000..6d8f02af
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LaunchTemplateParameters.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_LaunchTemplateParameters extends Google_Model
+{
+ protected $environmentType = 'Google_Service_Dataflow_RuntimeEnvironment';
+ protected $environmentDataType = '';
+ public $jobName;
+ public $parameters;
+
+ public function setEnvironment(Google_Service_Dataflow_RuntimeEnvironment $environment)
+ {
+ $this->environment = $environment;
+ }
+ public function getEnvironment()
+ {
+ return $this->environment;
+ }
+ public function setJobName($jobName)
+ {
+ $this->jobName = $jobName;
+ }
+ public function getJobName()
+ {
+ return $this->jobName;
+ }
+ public function setParameters($parameters)
+ {
+ $this->parameters = $parameters;
+ }
+ public function getParameters()
+ {
+ return $this->parameters;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LaunchTemplateResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LaunchTemplateResponse.php
new file mode 100644
index 00000000..04e2a323
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LaunchTemplateResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_LaunchTemplateResponse extends Google_Model
+{
+ protected $jobType = 'Google_Service_Dataflow_Job';
+ protected $jobDataType = '';
+ protected $statusType = 'Google_Service_Dataflow_Status';
+ protected $statusDataType = '';
+
+ public function setJob(Google_Service_Dataflow_Job $job)
+ {
+ $this->job = $job;
+ }
+ public function getJob()
+ {
+ return $this->job;
+ }
+ public function setStatus(Google_Service_Dataflow_Status $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LeaseWorkItemRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LeaseWorkItemRequest.php
new file mode 100644
index 00000000..9a193a10
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LeaseWorkItemRequest.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_LeaseWorkItemRequest extends Google_Collection
+{
+ protected $collection_key = 'workerCapabilities';
+ public $currentWorkerTime;
+ public $location;
+ public $requestedLeaseDuration;
+ public $workItemTypes;
+ public $workerCapabilities;
+ public $workerId;
+
+ public function setCurrentWorkerTime($currentWorkerTime)
+ {
+ $this->currentWorkerTime = $currentWorkerTime;
+ }
+ public function getCurrentWorkerTime()
+ {
+ return $this->currentWorkerTime;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setRequestedLeaseDuration($requestedLeaseDuration)
+ {
+ $this->requestedLeaseDuration = $requestedLeaseDuration;
+ }
+ public function getRequestedLeaseDuration()
+ {
+ return $this->requestedLeaseDuration;
+ }
+ public function setWorkItemTypes($workItemTypes)
+ {
+ $this->workItemTypes = $workItemTypes;
+ }
+ public function getWorkItemTypes()
+ {
+ return $this->workItemTypes;
+ }
+ public function setWorkerCapabilities($workerCapabilities)
+ {
+ $this->workerCapabilities = $workerCapabilities;
+ }
+ public function getWorkerCapabilities()
+ {
+ return $this->workerCapabilities;
+ }
+ public function setWorkerId($workerId)
+ {
+ $this->workerId = $workerId;
+ }
+ public function getWorkerId()
+ {
+ return $this->workerId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LeaseWorkItemResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LeaseWorkItemResponse.php
new file mode 100644
index 00000000..c4df8496
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LeaseWorkItemResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_LeaseWorkItemResponse extends Google_Collection
+{
+ protected $collection_key = 'workItems';
+ protected $workItemsType = 'Google_Service_Dataflow_WorkItem';
+ protected $workItemsDataType = 'array';
+
+ public function setWorkItems($workItems)
+ {
+ $this->workItems = $workItems;
+ }
+ public function getWorkItems()
+ {
+ return $this->workItems;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ListJobMessagesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ListJobMessagesResponse.php
new file mode 100644
index 00000000..e71cdfb9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ListJobMessagesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ListJobMessagesResponse extends Google_Collection
+{
+ protected $collection_key = 'jobMessages';
+ protected $jobMessagesType = 'Google_Service_Dataflow_JobMessage';
+ protected $jobMessagesDataType = 'array';
+ public $nextPageToken;
+
+ public function setJobMessages($jobMessages)
+ {
+ $this->jobMessages = $jobMessages;
+ }
+ public function getJobMessages()
+ {
+ return $this->jobMessages;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ListJobsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ListJobsResponse.php
new file mode 100644
index 00000000..65d7f213
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ListJobsResponse.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ListJobsResponse extends Google_Collection
+{
+ protected $collection_key = 'jobs';
+ protected $failedLocationType = 'Google_Service_Dataflow_FailedLocation';
+ protected $failedLocationDataType = 'array';
+ protected $jobsType = 'Google_Service_Dataflow_Job';
+ protected $jobsDataType = 'array';
+ public $nextPageToken;
+
+ public function setFailedLocation($failedLocation)
+ {
+ $this->failedLocation = $failedLocation;
+ }
+ public function getFailedLocation()
+ {
+ return $this->failedLocation;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MapTask.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MapTask.php
new file mode 100644
index 00000000..c34ffcae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MapTask.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_MapTask extends Google_Collection
+{
+ protected $collection_key = 'instructions';
+ protected $instructionsType = 'Google_Service_Dataflow_ParallelInstruction';
+ protected $instructionsDataType = 'array';
+ public $stageName;
+ public $systemName;
+
+ public function setInstructions($instructions)
+ {
+ $this->instructions = $instructions;
+ }
+ public function getInstructions()
+ {
+ return $this->instructions;
+ }
+ public function setStageName($stageName)
+ {
+ $this->stageName = $stageName;
+ }
+ public function getStageName()
+ {
+ return $this->stageName;
+ }
+ public function setSystemName($systemName)
+ {
+ $this->systemName = $systemName;
+ }
+ public function getSystemName()
+ {
+ return $this->systemName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricShortId.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricShortId.php
new file mode 100644
index 00000000..f16334fb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricShortId.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_MetricShortId extends Google_Model
+{
+ public $metricIndex;
+ public $shortId;
+
+ public function setMetricIndex($metricIndex)
+ {
+ $this->metricIndex = $metricIndex;
+ }
+ public function getMetricIndex()
+ {
+ return $this->metricIndex;
+ }
+ public function setShortId($shortId)
+ {
+ $this->shortId = $shortId;
+ }
+ public function getShortId()
+ {
+ return $this->shortId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricStructuredName.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricStructuredName.php
new file mode 100644
index 00000000..93f44ee7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricStructuredName.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_MetricStructuredName extends Google_Model
+{
+ public $context;
+ public $name;
+ public $origin;
+
+ public function setContext($context)
+ {
+ $this->context = $context;
+ }
+ public function getContext()
+ {
+ return $this->context;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOrigin($origin)
+ {
+ $this->origin = $origin;
+ }
+ public function getOrigin()
+ {
+ return $this->origin;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricUpdate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricUpdate.php
new file mode 100644
index 00000000..d3db38c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricUpdate.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_MetricUpdate extends Google_Model
+{
+ public $cumulative;
+ public $internal;
+ public $kind;
+ public $meanCount;
+ public $meanSum;
+ protected $nameType = 'Google_Service_Dataflow_MetricStructuredName';
+ protected $nameDataType = '';
+ public $scalar;
+ public $set;
+ public $updateTime;
+
+ public function setCumulative($cumulative)
+ {
+ $this->cumulative = $cumulative;
+ }
+ public function getCumulative()
+ {
+ return $this->cumulative;
+ }
+ public function setInternal($internal)
+ {
+ $this->internal = $internal;
+ }
+ public function getInternal()
+ {
+ return $this->internal;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMeanCount($meanCount)
+ {
+ $this->meanCount = $meanCount;
+ }
+ public function getMeanCount()
+ {
+ return $this->meanCount;
+ }
+ public function setMeanSum($meanSum)
+ {
+ $this->meanSum = $meanSum;
+ }
+ public function getMeanSum()
+ {
+ return $this->meanSum;
+ }
+ public function setName(Google_Service_Dataflow_MetricStructuredName $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setScalar($scalar)
+ {
+ $this->scalar = $scalar;
+ }
+ public function getScalar()
+ {
+ return $this->scalar;
+ }
+ public function setSet($set)
+ {
+ $this->set = $set;
+ }
+ public function getSet()
+ {
+ return $this->set;
+ }
+ public function setUpdateTime($updateTime)
+ {
+ $this->updateTime = $updateTime;
+ }
+ public function getUpdateTime()
+ {
+ return $this->updateTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MountedDataDisk.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MountedDataDisk.php
new file mode 100644
index 00000000..d718ca84
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MountedDataDisk.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_MountedDataDisk extends Google_Model
+{
+ public $dataDisk;
+
+ public function setDataDisk($dataDisk)
+ {
+ $this->dataDisk = $dataDisk;
+ }
+ public function getDataDisk()
+ {
+ return $this->dataDisk;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MultiOutputInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MultiOutputInfo.php
new file mode 100644
index 00000000..ed025f9a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MultiOutputInfo.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_MultiOutputInfo extends Google_Model
+{
+ public $tag;
+
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/NameAndKind.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/NameAndKind.php
new file mode 100644
index 00000000..31f3a8b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/NameAndKind.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_NameAndKind extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Package.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Package.php
new file mode 100644
index 00000000..7ca41364
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Package.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_Package extends Google_Model
+{
+ public $location;
+ public $name;
+
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParDoInstruction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParDoInstruction.php
new file mode 100644
index 00000000..9978da58
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParDoInstruction.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ParDoInstruction extends Google_Collection
+{
+ protected $collection_key = 'sideInputs';
+ protected $inputType = 'Google_Service_Dataflow_InstructionInput';
+ protected $inputDataType = '';
+ protected $multiOutputInfosType = 'Google_Service_Dataflow_MultiOutputInfo';
+ protected $multiOutputInfosDataType = 'array';
+ public $numOutputs;
+ protected $sideInputsType = 'Google_Service_Dataflow_SideInputInfo';
+ protected $sideInputsDataType = 'array';
+ public $userFn;
+
+ public function setInput(Google_Service_Dataflow_InstructionInput $input)
+ {
+ $this->input = $input;
+ }
+ public function getInput()
+ {
+ return $this->input;
+ }
+ public function setMultiOutputInfos($multiOutputInfos)
+ {
+ $this->multiOutputInfos = $multiOutputInfos;
+ }
+ public function getMultiOutputInfos()
+ {
+ return $this->multiOutputInfos;
+ }
+ public function setNumOutputs($numOutputs)
+ {
+ $this->numOutputs = $numOutputs;
+ }
+ public function getNumOutputs()
+ {
+ return $this->numOutputs;
+ }
+ public function setSideInputs($sideInputs)
+ {
+ $this->sideInputs = $sideInputs;
+ }
+ public function getSideInputs()
+ {
+ return $this->sideInputs;
+ }
+ public function setUserFn($userFn)
+ {
+ $this->userFn = $userFn;
+ }
+ public function getUserFn()
+ {
+ return $this->userFn;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParallelInstruction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParallelInstruction.php
new file mode 100644
index 00000000..1efb2afb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParallelInstruction.php
@@ -0,0 +1,109 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ParallelInstruction extends Google_Collection
+{
+ protected $collection_key = 'outputs';
+ protected $flattenType = 'Google_Service_Dataflow_FlattenInstruction';
+ protected $flattenDataType = '';
+ public $name;
+ public $originalName;
+ protected $outputsType = 'Google_Service_Dataflow_InstructionOutput';
+ protected $outputsDataType = 'array';
+ protected $parDoType = 'Google_Service_Dataflow_ParDoInstruction';
+ protected $parDoDataType = '';
+ protected $partialGroupByKeyType = 'Google_Service_Dataflow_PartialGroupByKeyInstruction';
+ protected $partialGroupByKeyDataType = '';
+ protected $readType = 'Google_Service_Dataflow_ReadInstruction';
+ protected $readDataType = '';
+ public $systemName;
+ protected $writeType = 'Google_Service_Dataflow_WriteInstruction';
+ protected $writeDataType = '';
+
+ public function setFlatten(Google_Service_Dataflow_FlattenInstruction $flatten)
+ {
+ $this->flatten = $flatten;
+ }
+ public function getFlatten()
+ {
+ return $this->flatten;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOriginalName($originalName)
+ {
+ $this->originalName = $originalName;
+ }
+ public function getOriginalName()
+ {
+ return $this->originalName;
+ }
+ public function setOutputs($outputs)
+ {
+ $this->outputs = $outputs;
+ }
+ public function getOutputs()
+ {
+ return $this->outputs;
+ }
+ public function setParDo(Google_Service_Dataflow_ParDoInstruction $parDo)
+ {
+ $this->parDo = $parDo;
+ }
+ public function getParDo()
+ {
+ return $this->parDo;
+ }
+ public function setPartialGroupByKey(Google_Service_Dataflow_PartialGroupByKeyInstruction $partialGroupByKey)
+ {
+ $this->partialGroupByKey = $partialGroupByKey;
+ }
+ public function getPartialGroupByKey()
+ {
+ return $this->partialGroupByKey;
+ }
+ public function setRead(Google_Service_Dataflow_ReadInstruction $read)
+ {
+ $this->read = $read;
+ }
+ public function getRead()
+ {
+ return $this->read;
+ }
+ public function setSystemName($systemName)
+ {
+ $this->systemName = $systemName;
+ }
+ public function getSystemName()
+ {
+ return $this->systemName;
+ }
+ public function setWrite(Google_Service_Dataflow_WriteInstruction $write)
+ {
+ $this->write = $write;
+ }
+ public function getWrite()
+ {
+ return $this->write;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParameterMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParameterMetadata.php
new file mode 100644
index 00000000..36038cc8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParameterMetadata.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ParameterMetadata extends Google_Collection
+{
+ protected $collection_key = 'regexes';
+ public $helpText;
+ public $isOptional;
+ public $label;
+ public $name;
+ public $regexes;
+
+ public function setHelpText($helpText)
+ {
+ $this->helpText = $helpText;
+ }
+ public function getHelpText()
+ {
+ return $this->helpText;
+ }
+ public function setIsOptional($isOptional)
+ {
+ $this->isOptional = $isOptional;
+ }
+ public function getIsOptional()
+ {
+ return $this->isOptional;
+ }
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRegexes($regexes)
+ {
+ $this->regexes = $regexes;
+ }
+ public function getRegexes()
+ {
+ return $this->regexes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PartialGroupByKeyInstruction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PartialGroupByKeyInstruction.php
new file mode 100644
index 00000000..85f514f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PartialGroupByKeyInstruction.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_PartialGroupByKeyInstruction extends Google_Collection
+{
+ protected $collection_key = 'sideInputs';
+ protected $inputType = 'Google_Service_Dataflow_InstructionInput';
+ protected $inputDataType = '';
+ public $inputElementCodec;
+ public $originalCombineValuesInputStoreName;
+ public $originalCombineValuesStepName;
+ protected $sideInputsType = 'Google_Service_Dataflow_SideInputInfo';
+ protected $sideInputsDataType = 'array';
+ public $valueCombiningFn;
+
+ public function setInput(Google_Service_Dataflow_InstructionInput $input)
+ {
+ $this->input = $input;
+ }
+ public function getInput()
+ {
+ return $this->input;
+ }
+ public function setInputElementCodec($inputElementCodec)
+ {
+ $this->inputElementCodec = $inputElementCodec;
+ }
+ public function getInputElementCodec()
+ {
+ return $this->inputElementCodec;
+ }
+ public function setOriginalCombineValuesInputStoreName($originalCombineValuesInputStoreName)
+ {
+ $this->originalCombineValuesInputStoreName = $originalCombineValuesInputStoreName;
+ }
+ public function getOriginalCombineValuesInputStoreName()
+ {
+ return $this->originalCombineValuesInputStoreName;
+ }
+ public function setOriginalCombineValuesStepName($originalCombineValuesStepName)
+ {
+ $this->originalCombineValuesStepName = $originalCombineValuesStepName;
+ }
+ public function getOriginalCombineValuesStepName()
+ {
+ return $this->originalCombineValuesStepName;
+ }
+ public function setSideInputs($sideInputs)
+ {
+ $this->sideInputs = $sideInputs;
+ }
+ public function getSideInputs()
+ {
+ return $this->sideInputs;
+ }
+ public function setValueCombiningFn($valueCombiningFn)
+ {
+ $this->valueCombiningFn = $valueCombiningFn;
+ }
+ public function getValueCombiningFn()
+ {
+ return $this->valueCombiningFn;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PipelineDescription.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PipelineDescription.php
new file mode 100644
index 00000000..289da1f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PipelineDescription.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_PipelineDescription extends Google_Collection
+{
+ protected $collection_key = 'originalPipelineTransform';
+ protected $displayDataType = 'Google_Service_Dataflow_DisplayData';
+ protected $displayDataDataType = 'array';
+ protected $executionPipelineStageType = 'Google_Service_Dataflow_ExecutionStageSummary';
+ protected $executionPipelineStageDataType = 'array';
+ protected $originalPipelineTransformType = 'Google_Service_Dataflow_TransformSummary';
+ protected $originalPipelineTransformDataType = 'array';
+
+ public function setDisplayData($displayData)
+ {
+ $this->displayData = $displayData;
+ }
+ public function getDisplayData()
+ {
+ return $this->displayData;
+ }
+ public function setExecutionPipelineStage($executionPipelineStage)
+ {
+ $this->executionPipelineStage = $executionPipelineStage;
+ }
+ public function getExecutionPipelineStage()
+ {
+ return $this->executionPipelineStage;
+ }
+ public function setOriginalPipelineTransform($originalPipelineTransform)
+ {
+ $this->originalPipelineTransform = $originalPipelineTransform;
+ }
+ public function getOriginalPipelineTransform()
+ {
+ return $this->originalPipelineTransform;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Position.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Position.php
new file mode 100644
index 00000000..9942c245
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Position.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_Position extends Google_Model
+{
+ public $byteOffset;
+ protected $concatPositionType = 'Google_Service_Dataflow_ConcatPosition';
+ protected $concatPositionDataType = '';
+ public $end;
+ public $key;
+ public $recordIndex;
+ public $shufflePosition;
+
+ public function setByteOffset($byteOffset)
+ {
+ $this->byteOffset = $byteOffset;
+ }
+ public function getByteOffset()
+ {
+ return $this->byteOffset;
+ }
+ public function setConcatPosition(Google_Service_Dataflow_ConcatPosition $concatPosition)
+ {
+ $this->concatPosition = $concatPosition;
+ }
+ public function getConcatPosition()
+ {
+ return $this->concatPosition;
+ }
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setRecordIndex($recordIndex)
+ {
+ $this->recordIndex = $recordIndex;
+ }
+ public function getRecordIndex()
+ {
+ return $this->recordIndex;
+ }
+ public function setShufflePosition($shufflePosition)
+ {
+ $this->shufflePosition = $shufflePosition;
+ }
+ public function getShufflePosition()
+ {
+ return $this->shufflePosition;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PubsubLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PubsubLocation.php
new file mode 100644
index 00000000..775e7ed6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PubsubLocation.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_PubsubLocation extends Google_Model
+{
+ public $dropLateData;
+ public $idLabel;
+ public $subscription;
+ public $timestampLabel;
+ public $topic;
+ public $trackingSubscription;
+ public $withAttributes;
+
+ public function setDropLateData($dropLateData)
+ {
+ $this->dropLateData = $dropLateData;
+ }
+ public function getDropLateData()
+ {
+ return $this->dropLateData;
+ }
+ public function setIdLabel($idLabel)
+ {
+ $this->idLabel = $idLabel;
+ }
+ public function getIdLabel()
+ {
+ return $this->idLabel;
+ }
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+ public function setTimestampLabel($timestampLabel)
+ {
+ $this->timestampLabel = $timestampLabel;
+ }
+ public function getTimestampLabel()
+ {
+ return $this->timestampLabel;
+ }
+ public function setTopic($topic)
+ {
+ $this->topic = $topic;
+ }
+ public function getTopic()
+ {
+ return $this->topic;
+ }
+ public function setTrackingSubscription($trackingSubscription)
+ {
+ $this->trackingSubscription = $trackingSubscription;
+ }
+ public function getTrackingSubscription()
+ {
+ return $this->trackingSubscription;
+ }
+ public function setWithAttributes($withAttributes)
+ {
+ $this->withAttributes = $withAttributes;
+ }
+ public function getWithAttributes()
+ {
+ return $this->withAttributes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReadInstruction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReadInstruction.php
new file mode 100644
index 00000000..ed30b3de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReadInstruction.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ReadInstruction extends Google_Model
+{
+ protected $sourceType = 'Google_Service_Dataflow_Source';
+ protected $sourceDataType = '';
+
+ public function setSource(Google_Service_Dataflow_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportWorkItemStatusRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportWorkItemStatusRequest.php
new file mode 100644
index 00000000..23cc2175
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportWorkItemStatusRequest.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ReportWorkItemStatusRequest extends Google_Collection
+{
+ protected $collection_key = 'workItemStatuses';
+ public $currentWorkerTime;
+ public $location;
+ protected $workItemStatusesType = 'Google_Service_Dataflow_WorkItemStatus';
+ protected $workItemStatusesDataType = 'array';
+ public $workerId;
+
+ public function setCurrentWorkerTime($currentWorkerTime)
+ {
+ $this->currentWorkerTime = $currentWorkerTime;
+ }
+ public function getCurrentWorkerTime()
+ {
+ return $this->currentWorkerTime;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setWorkItemStatuses($workItemStatuses)
+ {
+ $this->workItemStatuses = $workItemStatuses;
+ }
+ public function getWorkItemStatuses()
+ {
+ return $this->workItemStatuses;
+ }
+ public function setWorkerId($workerId)
+ {
+ $this->workerId = $workerId;
+ }
+ public function getWorkerId()
+ {
+ return $this->workerId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportWorkItemStatusResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportWorkItemStatusResponse.php
new file mode 100644
index 00000000..ec7e4202
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportWorkItemStatusResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ReportWorkItemStatusResponse extends Google_Collection
+{
+ protected $collection_key = 'workItemServiceStates';
+ protected $workItemServiceStatesType = 'Google_Service_Dataflow_WorkItemServiceState';
+ protected $workItemServiceStatesDataType = 'array';
+
+ public function setWorkItemServiceStates($workItemServiceStates)
+ {
+ $this->workItemServiceStates = $workItemServiceStates;
+ }
+ public function getWorkItemServiceStates()
+ {
+ return $this->workItemServiceStates;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportedParallelism.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportedParallelism.php
new file mode 100644
index 00000000..c0b1089e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportedParallelism.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ReportedParallelism extends Google_Model
+{
+ public $isInfinite;
+ public $value;
+
+ public function setIsInfinite($isInfinite)
+ {
+ $this->isInfinite = $isInfinite;
+ }
+ public function getIsInfinite()
+ {
+ return $this->isInfinite;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/Projects.php
new file mode 100644
index 00000000..cb87dc99
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/Projects.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $projects = $dataflowService->projects;
+ * </code>
+ */
+class Google_Service_Dataflow_Resource_Projects extends Google_Service_Resource
+{
+ /**
+ * Send a worker_message to the service. (projects.workerMessages)
+ *
+ * @param string $projectId The project to send the WorkerMessages to.
+ * @param Google_Service_Dataflow_SendWorkerMessagesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_SendWorkerMessagesResponse
+ */
+ public function workerMessages($projectId, Google_Service_Dataflow_SendWorkerMessagesRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('workerMessages', array($params), "Google_Service_Dataflow_SendWorkerMessagesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobs.php
new file mode 100644
index 00000000..f7465aa8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobs.php
@@ -0,0 +1,127 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $jobs = $dataflowService->jobs;
+ * </code>
+ */
+class Google_Service_Dataflow_Resource_ProjectsJobs extends Google_Service_Resource
+{
+ /**
+ * Creates a Cloud Dataflow job. (jobs.create)
+ *
+ * @param string $projectId The ID of the Cloud Platform project that the job
+ * belongs to.
+ * @param Google_Service_Dataflow_Job $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string location The location that contains this job.
+ * @opt_param string replaceJobId Deprecated. This field is now in the Job
+ * message.
+ * @opt_param string view The level of information requested in response.
+ * @return Google_Service_Dataflow_Job
+ */
+ public function create($projectId, Google_Service_Dataflow_Job $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Dataflow_Job");
+ }
+ /**
+ * Gets the state of the specified Cloud Dataflow job. (jobs.get)
+ *
+ * @param string $projectId The ID of the Cloud Platform project that the job
+ * belongs to.
+ * @param string $jobId The job ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string location The location that contains this job.
+ * @opt_param string view The level of information requested in response.
+ * @return Google_Service_Dataflow_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), "Google_Service_Dataflow_Job");
+ }
+ /**
+ * Request the job status. (jobs.getMetrics)
+ *
+ * @param string $projectId A project id.
+ * @param string $jobId The job to get messages for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string startTime Return only metric data that has changed since
+ * this time. Default is to return all information about all metrics for the
+ * job.
+ * @opt_param string location The location which contains the job specified by
+ * job_id.
+ * @return Google_Service_Dataflow_JobMetrics
+ */
+ public function getMetrics($projectId, $jobId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getMetrics', array($params), "Google_Service_Dataflow_JobMetrics");
+ }
+ /**
+ * List the jobs of a project. (jobs.listProjectsJobs)
+ *
+ * @param string $projectId The project which owns the jobs.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter The kind of filter to use.
+ * @opt_param string location The location that contains this job.
+ * @opt_param string pageToken Set this to the 'next_page_token' field of a
+ * previous response to request additional results in a long list.
+ * @opt_param int pageSize If there are many jobs, limit response to at most
+ * this many. The actual number of jobs returned will be the lesser of
+ * max_responses and an unspecified server-defined limit.
+ * @opt_param string view Level of information requested in response. Default is
+ * `JOB_VIEW_SUMMARY`.
+ * @return Google_Service_Dataflow_ListJobsResponse
+ */
+ public function listProjectsJobs($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dataflow_ListJobsResponse");
+ }
+ /**
+ * Updates the state of an existing Cloud Dataflow job. (jobs.update)
+ *
+ * @param string $projectId The ID of the Cloud Platform project that the job
+ * belongs to.
+ * @param string $jobId The job ID.
+ * @param Google_Service_Dataflow_Job $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string location The location that contains this job.
+ * @return Google_Service_Dataflow_Job
+ */
+ public function update($projectId, $jobId, Google_Service_Dataflow_Job $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dataflow_Job");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsDebug.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsDebug.php
new file mode 100644
index 00000000..ea70131e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsDebug.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "debug" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $debug = $dataflowService->debug;
+ * </code>
+ */
+class Google_Service_Dataflow_Resource_ProjectsJobsDebug extends Google_Service_Resource
+{
+ /**
+ * Get encoded debug configuration for component. Not cacheable.
+ * (debug.getConfig)
+ *
+ * @param string $projectId The project id.
+ * @param string $jobId The job id.
+ * @param Google_Service_Dataflow_GetDebugConfigRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_GetDebugConfigResponse
+ */
+ public function getConfig($projectId, $jobId, Google_Service_Dataflow_GetDebugConfigRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getConfig', array($params), "Google_Service_Dataflow_GetDebugConfigResponse");
+ }
+ /**
+ * Send encoded debug capture data for component. (debug.sendCapture)
+ *
+ * @param string $projectId The project id.
+ * @param string $jobId The job id.
+ * @param Google_Service_Dataflow_SendDebugCaptureRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_SendDebugCaptureResponse
+ */
+ public function sendCapture($projectId, $jobId, Google_Service_Dataflow_SendDebugCaptureRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('sendCapture', array($params), "Google_Service_Dataflow_SendDebugCaptureResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsMessages.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsMessages.php
new file mode 100644
index 00000000..e9740951
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsMessages.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "messages" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $messages = $dataflowService->messages;
+ * </code>
+ */
+class Google_Service_Dataflow_Resource_ProjectsJobsMessages extends Google_Service_Resource
+{
+ /**
+ * Request the job status. (messages.listProjectsJobsMessages)
+ *
+ * @param string $projectId A project id.
+ * @param string $jobId The job to get messages about.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string endTime Return only messages with timestamps < end_time.
+ * The default is now (i.e. return up to the latest messages available).
+ * @opt_param string location The location which contains the job specified by
+ * job_id.
+ * @opt_param string pageToken If supplied, this should be the value of
+ * next_page_token returned by an earlier call. This will cause the next page of
+ * results to be returned.
+ * @opt_param string startTime If specified, return only messages with
+ * timestamps >= start_time. The default is the job creation time (i.e.
+ * beginning of messages).
+ * @opt_param int pageSize If specified, determines the maximum number of
+ * messages to return. If unspecified, the service may choose an appropriate
+ * default, or may return an arbitrarily large number of results.
+ * @opt_param string minimumImportance Filter to only get messages with
+ * importance >= level
+ * @return Google_Service_Dataflow_ListJobMessagesResponse
+ */
+ public function listProjectsJobsMessages($projectId, $jobId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dataflow_ListJobMessagesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsWorkItems.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsWorkItems.php
new file mode 100644
index 00000000..82c3b780
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsWorkItems.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "workItems" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $workItems = $dataflowService->workItems;
+ * </code>
+ */
+class Google_Service_Dataflow_Resource_ProjectsJobsWorkItems extends Google_Service_Resource
+{
+ /**
+ * Leases a dataflow WorkItem to run. (workItems.lease)
+ *
+ * @param string $projectId Identifies the project this worker belongs to.
+ * @param string $jobId Identifies the workflow job this worker belongs to.
+ * @param Google_Service_Dataflow_LeaseWorkItemRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_LeaseWorkItemResponse
+ */
+ public function lease($projectId, $jobId, Google_Service_Dataflow_LeaseWorkItemRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('lease', array($params), "Google_Service_Dataflow_LeaseWorkItemResponse");
+ }
+ /**
+ * Reports the status of dataflow WorkItems leased by a worker.
+ * (workItems.reportStatus)
+ *
+ * @param string $projectId The project which owns the WorkItem's job.
+ * @param string $jobId The job which the WorkItem is part of.
+ * @param Google_Service_Dataflow_ReportWorkItemStatusRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_ReportWorkItemStatusResponse
+ */
+ public function reportStatus($projectId, $jobId, Google_Service_Dataflow_ReportWorkItemStatusRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('reportStatus', array($params), "Google_Service_Dataflow_ReportWorkItemStatusResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocations.php
new file mode 100644
index 00000000..ebf4947d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocations.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "locations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $locations = $dataflowService->locations;
+ * </code>
+ */
+class Google_Service_Dataflow_Resource_ProjectsLocations extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobs.php
new file mode 100644
index 00000000..5c4d2679
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobs.php
@@ -0,0 +1,126 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $jobs = $dataflowService->jobs;
+ * </code>
+ */
+class Google_Service_Dataflow_Resource_ProjectsLocationsJobs extends Google_Service_Resource
+{
+ /**
+ * Creates a Cloud Dataflow job. (jobs.create)
+ *
+ * @param string $projectId The ID of the Cloud Platform project that the job
+ * belongs to.
+ * @param string $location The location that contains this job.
+ * @param Google_Service_Dataflow_Job $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string replaceJobId Deprecated. This field is now in the Job
+ * message.
+ * @opt_param string view The level of information requested in response.
+ * @return Google_Service_Dataflow_Job
+ */
+ public function create($projectId, $location, Google_Service_Dataflow_Job $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'location' => $location, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Dataflow_Job");
+ }
+ /**
+ * Gets the state of the specified Cloud Dataflow job. (jobs.get)
+ *
+ * @param string $projectId The ID of the Cloud Platform project that the job
+ * belongs to.
+ * @param string $location The location that contains this job.
+ * @param string $jobId The job ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view The level of information requested in response.
+ * @return Google_Service_Dataflow_Job
+ */
+ public function get($projectId, $location, $jobId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'location' => $location, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dataflow_Job");
+ }
+ /**
+ * Request the job status. (jobs.getMetrics)
+ *
+ * @param string $projectId A project id.
+ * @param string $location The location which contains the job specified by
+ * job_id.
+ * @param string $jobId The job to get messages for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string startTime Return only metric data that has changed since
+ * this time. Default is to return all information about all metrics for the
+ * job.
+ * @return Google_Service_Dataflow_JobMetrics
+ */
+ public function getMetrics($projectId, $location, $jobId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'location' => $location, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getMetrics', array($params), "Google_Service_Dataflow_JobMetrics");
+ }
+ /**
+ * List the jobs of a project. (jobs.listProjectsLocationsJobs)
+ *
+ * @param string $projectId The project which owns the jobs.
+ * @param string $location The location that contains this job.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter The kind of filter to use.
+ * @opt_param string pageToken Set this to the 'next_page_token' field of a
+ * previous response to request additional results in a long list.
+ * @opt_param int pageSize If there are many jobs, limit response to at most
+ * this many. The actual number of jobs returned will be the lesser of
+ * max_responses and an unspecified server-defined limit.
+ * @opt_param string view Level of information requested in response. Default is
+ * `JOB_VIEW_SUMMARY`.
+ * @return Google_Service_Dataflow_ListJobsResponse
+ */
+ public function listProjectsLocationsJobs($projectId, $location, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'location' => $location);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dataflow_ListJobsResponse");
+ }
+ /**
+ * Updates the state of an existing Cloud Dataflow job. (jobs.update)
+ *
+ * @param string $projectId The ID of the Cloud Platform project that the job
+ * belongs to.
+ * @param string $location The location that contains this job.
+ * @param string $jobId The job ID.
+ * @param Google_Service_Dataflow_Job $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_Job
+ */
+ public function update($projectId, $location, $jobId, Google_Service_Dataflow_Job $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'location' => $location, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dataflow_Job");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsMessages.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsMessages.php
new file mode 100644
index 00000000..822af3f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsMessages.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "messages" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $messages = $dataflowService->messages;
+ * </code>
+ */
+class Google_Service_Dataflow_Resource_ProjectsLocationsJobsMessages extends Google_Service_Resource
+{
+ /**
+ * Request the job status. (messages.listProjectsLocationsJobsMessages)
+ *
+ * @param string $projectId A project id.
+ * @param string $location The location which contains the job specified by
+ * job_id.
+ * @param string $jobId The job to get messages about.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string endTime Return only messages with timestamps < end_time.
+ * The default is now (i.e. return up to the latest messages available).
+ * @opt_param string startTime If specified, return only messages with
+ * timestamps >= start_time. The default is the job creation time (i.e.
+ * beginning of messages).
+ * @opt_param string pageToken If supplied, this should be the value of
+ * next_page_token returned by an earlier call. This will cause the next page of
+ * results to be returned.
+ * @opt_param int pageSize If specified, determines the maximum number of
+ * messages to return. If unspecified, the service may choose an appropriate
+ * default, or may return an arbitrarily large number of results.
+ * @opt_param string minimumImportance Filter to only get messages with
+ * importance >= level
+ * @return Google_Service_Dataflow_ListJobMessagesResponse
+ */
+ public function listProjectsLocationsJobsMessages($projectId, $location, $jobId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'location' => $location, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dataflow_ListJobMessagesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsWorkItems.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsWorkItems.php
new file mode 100644
index 00000000..ca422936
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsWorkItems.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "workItems" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $workItems = $dataflowService->workItems;
+ * </code>
+ */
+class Google_Service_Dataflow_Resource_ProjectsLocationsJobsWorkItems extends Google_Service_Resource
+{
+ /**
+ * Leases a dataflow WorkItem to run. (workItems.lease)
+ *
+ * @param string $projectId Identifies the project this worker belongs to.
+ * @param string $location The location which contains the WorkItem's job.
+ * @param string $jobId Identifies the workflow job this worker belongs to.
+ * @param Google_Service_Dataflow_LeaseWorkItemRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_LeaseWorkItemResponse
+ */
+ public function lease($projectId, $location, $jobId, Google_Service_Dataflow_LeaseWorkItemRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'location' => $location, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('lease', array($params), "Google_Service_Dataflow_LeaseWorkItemResponse");
+ }
+ /**
+ * Reports the status of dataflow WorkItems leased by a worker.
+ * (workItems.reportStatus)
+ *
+ * @param string $projectId The project which owns the WorkItem's job.
+ * @param string $location The location which contains the WorkItem's job.
+ * @param string $jobId The job which the WorkItem is part of.
+ * @param Google_Service_Dataflow_ReportWorkItemStatusRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_ReportWorkItemStatusResponse
+ */
+ public function reportStatus($projectId, $location, $jobId, Google_Service_Dataflow_ReportWorkItemStatusRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'location' => $location, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('reportStatus', array($params), "Google_Service_Dataflow_ReportWorkItemStatusResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsTemplates.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsTemplates.php
new file mode 100644
index 00000000..ff18cd72
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsTemplates.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "templates" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $templates = $dataflowService->templates;
+ * </code>
+ */
+class Google_Service_Dataflow_Resource_ProjectsTemplates extends Google_Service_Resource
+{
+ /**
+ * Creates a Cloud Dataflow job from a template. (templates.create)
+ *
+ * @param string $projectId Required. The ID of the Cloud Platform project that
+ * the job belongs to.
+ * @param Google_Service_Dataflow_CreateJobFromTemplateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_Job
+ */
+ public function create($projectId, Google_Service_Dataflow_CreateJobFromTemplateRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Dataflow_Job");
+ }
+ /**
+ * Get the template associated with a template. (templates.get)
+ *
+ * @param string $projectId Required. The ID of the Cloud Platform project that
+ * the job belongs to.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view The view to retrieve. Defaults to METADATA_ONLY.
+ * @opt_param string gcsPath Required. A Cloud Storage path to the template from
+ * which to create the job. Must be a valid Cloud Storage URL, beginning with
+ * `gs://`.
+ * @return Google_Service_Dataflow_GetTemplateResponse
+ */
+ public function get($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dataflow_GetTemplateResponse");
+ }
+ /**
+ * Launch a template. (templates.launch)
+ *
+ * @param string $projectId Required. The ID of the Cloud Platform project that
+ * the job belongs to.
+ * @param Google_Service_Dataflow_LaunchTemplateParameters $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string gcsPath Required. A Cloud Storage path to the template from
+ * which to create the job. Must be valid Cloud Storage URL, beginning with
+ * 'gs://'.
+ * @opt_param bool dryRun Whether or not the job should actually be executed
+ * after validating parameters. Defaults to false. Validation errors do not
+ * cause the HTTP request to fail if true.
+ * @return Google_Service_Dataflow_LaunchTemplateResponse
+ */
+ public function launch($projectId, Google_Service_Dataflow_LaunchTemplateParameters $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('launch', array($params), "Google_Service_Dataflow_LaunchTemplateResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ResourceUtilizationReport.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ResourceUtilizationReport.php
new file mode 100644
index 00000000..7bafe4e2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ResourceUtilizationReport.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ResourceUtilizationReport extends Google_Collection
+{
+ protected $collection_key = 'cpuTime';
+ protected $cpuTimeType = 'Google_Service_Dataflow_CPUTime';
+ protected $cpuTimeDataType = 'array';
+
+ public function setCpuTime($cpuTime)
+ {
+ $this->cpuTime = $cpuTime;
+ }
+ public function getCpuTime()
+ {
+ return $this->cpuTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ResourceUtilizationReportResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ResourceUtilizationReportResponse.php
new file mode 100644
index 00000000..82d07b32
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ResourceUtilizationReportResponse.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ResourceUtilizationReportResponse extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/RuntimeEnvironment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/RuntimeEnvironment.php
new file mode 100644
index 00000000..7e4fc45d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/RuntimeEnvironment.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_RuntimeEnvironment extends Google_Model
+{
+ public $bypassTempDirValidation;
+ public $maxWorkers;
+ public $serviceAccountEmail;
+ public $tempLocation;
+ public $zone;
+
+ public function setBypassTempDirValidation($bypassTempDirValidation)
+ {
+ $this->bypassTempDirValidation = $bypassTempDirValidation;
+ }
+ public function getBypassTempDirValidation()
+ {
+ return $this->bypassTempDirValidation;
+ }
+ public function setMaxWorkers($maxWorkers)
+ {
+ $this->maxWorkers = $maxWorkers;
+ }
+ public function getMaxWorkers()
+ {
+ return $this->maxWorkers;
+ }
+ public function setServiceAccountEmail($serviceAccountEmail)
+ {
+ $this->serviceAccountEmail = $serviceAccountEmail;
+ }
+ public function getServiceAccountEmail()
+ {
+ return $this->serviceAccountEmail;
+ }
+ public function setTempLocation($tempLocation)
+ {
+ $this->tempLocation = $tempLocation;
+ }
+ public function getTempLocation()
+ {
+ return $this->tempLocation;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendDebugCaptureRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendDebugCaptureRequest.php
new file mode 100644
index 00000000..07c1688f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendDebugCaptureRequest.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SendDebugCaptureRequest extends Google_Model
+{
+ public $componentId;
+ public $data;
+ public $workerId;
+
+ public function setComponentId($componentId)
+ {
+ $this->componentId = $componentId;
+ }
+ public function getComponentId()
+ {
+ return $this->componentId;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setWorkerId($workerId)
+ {
+ $this->workerId = $workerId;
+ }
+ public function getWorkerId()
+ {
+ return $this->workerId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendDebugCaptureResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendDebugCaptureResponse.php
new file mode 100644
index 00000000..99d30d74
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendDebugCaptureResponse.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SendDebugCaptureResponse extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendWorkerMessagesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendWorkerMessagesRequest.php
new file mode 100644
index 00000000..39dbdd91
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendWorkerMessagesRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SendWorkerMessagesRequest extends Google_Collection
+{
+ protected $collection_key = 'workerMessages';
+ protected $workerMessagesType = 'Google_Service_Dataflow_WorkerMessage';
+ protected $workerMessagesDataType = 'array';
+
+ public function setWorkerMessages($workerMessages)
+ {
+ $this->workerMessages = $workerMessages;
+ }
+ public function getWorkerMessages()
+ {
+ return $this->workerMessages;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendWorkerMessagesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendWorkerMessagesResponse.php
new file mode 100644
index 00000000..eab6a5d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendWorkerMessagesResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SendWorkerMessagesResponse extends Google_Collection
+{
+ protected $collection_key = 'workerMessageResponses';
+ protected $workerMessageResponsesType = 'Google_Service_Dataflow_WorkerMessageResponse';
+ protected $workerMessageResponsesDataType = 'array';
+
+ public function setWorkerMessageResponses($workerMessageResponses)
+ {
+ $this->workerMessageResponses = $workerMessageResponses;
+ }
+ public function getWorkerMessageResponses()
+ {
+ return $this->workerMessageResponses;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SeqMapTask.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SeqMapTask.php
new file mode 100644
index 00000000..0b6450c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SeqMapTask.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SeqMapTask extends Google_Collection
+{
+ protected $collection_key = 'outputInfos';
+ protected $inputsType = 'Google_Service_Dataflow_SideInputInfo';
+ protected $inputsDataType = 'array';
+ public $name;
+ protected $outputInfosType = 'Google_Service_Dataflow_SeqMapTaskOutputInfo';
+ protected $outputInfosDataType = 'array';
+ public $stageName;
+ public $systemName;
+ public $userFn;
+
+ public function setInputs($inputs)
+ {
+ $this->inputs = $inputs;
+ }
+ public function getInputs()
+ {
+ return $this->inputs;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOutputInfos($outputInfos)
+ {
+ $this->outputInfos = $outputInfos;
+ }
+ public function getOutputInfos()
+ {
+ return $this->outputInfos;
+ }
+ public function setStageName($stageName)
+ {
+ $this->stageName = $stageName;
+ }
+ public function getStageName()
+ {
+ return $this->stageName;
+ }
+ public function setSystemName($systemName)
+ {
+ $this->systemName = $systemName;
+ }
+ public function getSystemName()
+ {
+ return $this->systemName;
+ }
+ public function setUserFn($userFn)
+ {
+ $this->userFn = $userFn;
+ }
+ public function getUserFn()
+ {
+ return $this->userFn;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SeqMapTaskOutputInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SeqMapTaskOutputInfo.php
new file mode 100644
index 00000000..92049428
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SeqMapTaskOutputInfo.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SeqMapTaskOutputInfo extends Google_Model
+{
+ protected $sinkType = 'Google_Service_Dataflow_Sink';
+ protected $sinkDataType = '';
+ public $tag;
+
+ public function setSink(Google_Service_Dataflow_Sink $sink)
+ {
+ $this->sink = $sink;
+ }
+ public function getSink()
+ {
+ return $this->sink;
+ }
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ShellTask.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ShellTask.php
new file mode 100644
index 00000000..5ff9c107
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ShellTask.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_ShellTask extends Google_Model
+{
+ public $command;
+ public $exitCode;
+
+ public function setCommand($command)
+ {
+ $this->command = $command;
+ }
+ public function getCommand()
+ {
+ return $this->command;
+ }
+ public function setExitCode($exitCode)
+ {
+ $this->exitCode = $exitCode;
+ }
+ public function getExitCode()
+ {
+ return $this->exitCode;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SideInputInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SideInputInfo.php
new file mode 100644
index 00000000..6f863788
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SideInputInfo.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SideInputInfo extends Google_Collection
+{
+ protected $collection_key = 'sources';
+ public $kind;
+ protected $sourcesType = 'Google_Service_Dataflow_Source';
+ protected $sourcesDataType = 'array';
+ public $tag;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSources($sources)
+ {
+ $this->sources = $sources;
+ }
+ public function getSources()
+ {
+ return $this->sources;
+ }
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Sink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Sink.php
new file mode 100644
index 00000000..18e8c52f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Sink.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_Sink extends Google_Model
+{
+ public $codec;
+ public $spec;
+
+ public function setCodec($codec)
+ {
+ $this->codec = $codec;
+ }
+ public function getCodec()
+ {
+ return $this->codec;
+ }
+ public function setSpec($spec)
+ {
+ $this->spec = $spec;
+ }
+ public function getSpec()
+ {
+ return $this->spec;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Source.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Source.php
new file mode 100644
index 00000000..587ee0bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Source.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_Source extends Google_Collection
+{
+ protected $collection_key = 'baseSpecs';
+ public $baseSpecs;
+ public $codec;
+ public $doesNotNeedSplitting;
+ protected $metadataType = 'Google_Service_Dataflow_SourceMetadata';
+ protected $metadataDataType = '';
+ public $spec;
+
+ public function setBaseSpecs($baseSpecs)
+ {
+ $this->baseSpecs = $baseSpecs;
+ }
+ public function getBaseSpecs()
+ {
+ return $this->baseSpecs;
+ }
+ public function setCodec($codec)
+ {
+ $this->codec = $codec;
+ }
+ public function getCodec()
+ {
+ return $this->codec;
+ }
+ public function setDoesNotNeedSplitting($doesNotNeedSplitting)
+ {
+ $this->doesNotNeedSplitting = $doesNotNeedSplitting;
+ }
+ public function getDoesNotNeedSplitting()
+ {
+ return $this->doesNotNeedSplitting;
+ }
+ public function setMetadata(Google_Service_Dataflow_SourceMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setSpec($spec)
+ {
+ $this->spec = $spec;
+ }
+ public function getSpec()
+ {
+ return $this->spec;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceFork.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceFork.php
new file mode 100644
index 00000000..810201f5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceFork.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SourceFork extends Google_Model
+{
+ protected $primaryType = 'Google_Service_Dataflow_SourceSplitShard';
+ protected $primaryDataType = '';
+ protected $primarySourceType = 'Google_Service_Dataflow_DerivedSource';
+ protected $primarySourceDataType = '';
+ protected $residualType = 'Google_Service_Dataflow_SourceSplitShard';
+ protected $residualDataType = '';
+ protected $residualSourceType = 'Google_Service_Dataflow_DerivedSource';
+ protected $residualSourceDataType = '';
+
+ public function setPrimary(Google_Service_Dataflow_SourceSplitShard $primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setPrimarySource(Google_Service_Dataflow_DerivedSource $primarySource)
+ {
+ $this->primarySource = $primarySource;
+ }
+ public function getPrimarySource()
+ {
+ return $this->primarySource;
+ }
+ public function setResidual(Google_Service_Dataflow_SourceSplitShard $residual)
+ {
+ $this->residual = $residual;
+ }
+ public function getResidual()
+ {
+ return $this->residual;
+ }
+ public function setResidualSource(Google_Service_Dataflow_DerivedSource $residualSource)
+ {
+ $this->residualSource = $residualSource;
+ }
+ public function getResidualSource()
+ {
+ return $this->residualSource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceGetMetadataRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceGetMetadataRequest.php
new file mode 100644
index 00000000..4baff3b2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceGetMetadataRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SourceGetMetadataRequest extends Google_Model
+{
+ protected $sourceType = 'Google_Service_Dataflow_Source';
+ protected $sourceDataType = '';
+
+ public function setSource(Google_Service_Dataflow_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceGetMetadataResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceGetMetadataResponse.php
new file mode 100644
index 00000000..dda0e312
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceGetMetadataResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SourceGetMetadataResponse extends Google_Model
+{
+ protected $metadataType = 'Google_Service_Dataflow_SourceMetadata';
+ protected $metadataDataType = '';
+
+ public function setMetadata(Google_Service_Dataflow_SourceMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceMetadata.php
new file mode 100644
index 00000000..2512f4a5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceMetadata.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SourceMetadata extends Google_Model
+{
+ public $estimatedSizeBytes;
+ public $infinite;
+ public $producesSortedKeys;
+
+ public function setEstimatedSizeBytes($estimatedSizeBytes)
+ {
+ $this->estimatedSizeBytes = $estimatedSizeBytes;
+ }
+ public function getEstimatedSizeBytes()
+ {
+ return $this->estimatedSizeBytes;
+ }
+ public function setInfinite($infinite)
+ {
+ $this->infinite = $infinite;
+ }
+ public function getInfinite()
+ {
+ return $this->infinite;
+ }
+ public function setProducesSortedKeys($producesSortedKeys)
+ {
+ $this->producesSortedKeys = $producesSortedKeys;
+ }
+ public function getProducesSortedKeys()
+ {
+ return $this->producesSortedKeys;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceOperationRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceOperationRequest.php
new file mode 100644
index 00000000..926fe71b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceOperationRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SourceOperationRequest extends Google_Model
+{
+ protected $getMetadataType = 'Google_Service_Dataflow_SourceGetMetadataRequest';
+ protected $getMetadataDataType = '';
+ protected $splitType = 'Google_Service_Dataflow_SourceSplitRequest';
+ protected $splitDataType = '';
+
+ public function setGetMetadata(Google_Service_Dataflow_SourceGetMetadataRequest $getMetadata)
+ {
+ $this->getMetadata = $getMetadata;
+ }
+ public function getGetMetadata()
+ {
+ return $this->getMetadata;
+ }
+ public function setSplit(Google_Service_Dataflow_SourceSplitRequest $split)
+ {
+ $this->split = $split;
+ }
+ public function getSplit()
+ {
+ return $this->split;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceOperationResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceOperationResponse.php
new file mode 100644
index 00000000..f551b522
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceOperationResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SourceOperationResponse extends Google_Model
+{
+ protected $getMetadataType = 'Google_Service_Dataflow_SourceGetMetadataResponse';
+ protected $getMetadataDataType = '';
+ protected $splitType = 'Google_Service_Dataflow_SourceSplitResponse';
+ protected $splitDataType = '';
+
+ public function setGetMetadata(Google_Service_Dataflow_SourceGetMetadataResponse $getMetadata)
+ {
+ $this->getMetadata = $getMetadata;
+ }
+ public function getGetMetadata()
+ {
+ return $this->getMetadata;
+ }
+ public function setSplit(Google_Service_Dataflow_SourceSplitResponse $split)
+ {
+ $this->split = $split;
+ }
+ public function getSplit()
+ {
+ return $this->split;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitOptions.php
new file mode 100644
index 00000000..68c96736
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitOptions.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SourceSplitOptions extends Google_Model
+{
+ public $desiredBundleSizeBytes;
+ public $desiredShardSizeBytes;
+
+ public function setDesiredBundleSizeBytes($desiredBundleSizeBytes)
+ {
+ $this->desiredBundleSizeBytes = $desiredBundleSizeBytes;
+ }
+ public function getDesiredBundleSizeBytes()
+ {
+ return $this->desiredBundleSizeBytes;
+ }
+ public function setDesiredShardSizeBytes($desiredShardSizeBytes)
+ {
+ $this->desiredShardSizeBytes = $desiredShardSizeBytes;
+ }
+ public function getDesiredShardSizeBytes()
+ {
+ return $this->desiredShardSizeBytes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitRequest.php
new file mode 100644
index 00000000..c819be45
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SourceSplitRequest extends Google_Model
+{
+ protected $optionsType = 'Google_Service_Dataflow_SourceSplitOptions';
+ protected $optionsDataType = '';
+ protected $sourceType = 'Google_Service_Dataflow_Source';
+ protected $sourceDataType = '';
+
+ public function setOptions(Google_Service_Dataflow_SourceSplitOptions $options)
+ {
+ $this->options = $options;
+ }
+ public function getOptions()
+ {
+ return $this->options;
+ }
+ public function setSource(Google_Service_Dataflow_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitResponse.php
new file mode 100644
index 00000000..abedc3c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitResponse.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SourceSplitResponse extends Google_Collection
+{
+ protected $collection_key = 'shards';
+ protected $bundlesType = 'Google_Service_Dataflow_DerivedSource';
+ protected $bundlesDataType = 'array';
+ public $outcome;
+ protected $shardsType = 'Google_Service_Dataflow_SourceSplitShard';
+ protected $shardsDataType = 'array';
+
+ public function setBundles($bundles)
+ {
+ $this->bundles = $bundles;
+ }
+ public function getBundles()
+ {
+ return $this->bundles;
+ }
+ public function setOutcome($outcome)
+ {
+ $this->outcome = $outcome;
+ }
+ public function getOutcome()
+ {
+ return $this->outcome;
+ }
+ public function setShards($shards)
+ {
+ $this->shards = $shards;
+ }
+ public function getShards()
+ {
+ return $this->shards;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitShard.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitShard.php
new file mode 100644
index 00000000..ed49befc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitShard.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SourceSplitShard extends Google_Model
+{
+ public $derivationMode;
+ protected $sourceType = 'Google_Service_Dataflow_Source';
+ protected $sourceDataType = '';
+
+ public function setDerivationMode($derivationMode)
+ {
+ $this->derivationMode = $derivationMode;
+ }
+ public function getDerivationMode()
+ {
+ return $this->derivationMode;
+ }
+ public function setSource(Google_Service_Dataflow_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SplitInt64.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SplitInt64.php
new file mode 100644
index 00000000..62934864
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SplitInt64.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_SplitInt64 extends Google_Model
+{
+ public $highBits;
+ public $lowBits;
+
+ public function setHighBits($highBits)
+ {
+ $this->highBits = $highBits;
+ }
+ public function getHighBits()
+ {
+ return $this->highBits;
+ }
+ public function setLowBits($lowBits)
+ {
+ $this->lowBits = $lowBits;
+ }
+ public function getLowBits()
+ {
+ return $this->lowBits;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StageSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StageSource.php
new file mode 100644
index 00000000..55db56b4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StageSource.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_StageSource extends Google_Model
+{
+ public $name;
+ public $originalTransformOrCollection;
+ public $sizeBytes;
+ public $userName;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOriginalTransformOrCollection($originalTransformOrCollection)
+ {
+ $this->originalTransformOrCollection = $originalTransformOrCollection;
+ }
+ public function getOriginalTransformOrCollection()
+ {
+ return $this->originalTransformOrCollection;
+ }
+ public function setSizeBytes($sizeBytes)
+ {
+ $this->sizeBytes = $sizeBytes;
+ }
+ public function getSizeBytes()
+ {
+ return $this->sizeBytes;
+ }
+ public function setUserName($userName)
+ {
+ $this->userName = $userName;
+ }
+ public function getUserName()
+ {
+ return $this->userName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StateFamilyConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StateFamilyConfig.php
new file mode 100644
index 00000000..471d23e2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StateFamilyConfig.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_StateFamilyConfig extends Google_Model
+{
+ public $isRead;
+ public $stateFamily;
+
+ public function setIsRead($isRead)
+ {
+ $this->isRead = $isRead;
+ }
+ public function getIsRead()
+ {
+ return $this->isRead;
+ }
+ public function setStateFamily($stateFamily)
+ {
+ $this->stateFamily = $stateFamily;
+ }
+ public function getStateFamily()
+ {
+ return $this->stateFamily;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Status.php
new file mode 100644
index 00000000..19942df7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Step.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Step.php
new file mode 100644
index 00000000..e9f5bad0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Step.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_Step extends Google_Model
+{
+ public $kind;
+ public $name;
+ public $properties;
+
+ 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($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamLocation.php
new file mode 100644
index 00000000..feec6a28
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamLocation.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_StreamLocation extends Google_Model
+{
+ protected $customSourceLocationType = 'Google_Service_Dataflow_CustomSourceLocation';
+ protected $customSourceLocationDataType = '';
+ protected $pubsubLocationType = 'Google_Service_Dataflow_PubsubLocation';
+ protected $pubsubLocationDataType = '';
+ protected $sideInputLocationType = 'Google_Service_Dataflow_StreamingSideInputLocation';
+ protected $sideInputLocationDataType = '';
+ protected $streamingStageLocationType = 'Google_Service_Dataflow_StreamingStageLocation';
+ protected $streamingStageLocationDataType = '';
+
+ public function setCustomSourceLocation(Google_Service_Dataflow_CustomSourceLocation $customSourceLocation)
+ {
+ $this->customSourceLocation = $customSourceLocation;
+ }
+ public function getCustomSourceLocation()
+ {
+ return $this->customSourceLocation;
+ }
+ public function setPubsubLocation(Google_Service_Dataflow_PubsubLocation $pubsubLocation)
+ {
+ $this->pubsubLocation = $pubsubLocation;
+ }
+ public function getPubsubLocation()
+ {
+ return $this->pubsubLocation;
+ }
+ public function setSideInputLocation(Google_Service_Dataflow_StreamingSideInputLocation $sideInputLocation)
+ {
+ $this->sideInputLocation = $sideInputLocation;
+ }
+ public function getSideInputLocation()
+ {
+ return $this->sideInputLocation;
+ }
+ public function setStreamingStageLocation(Google_Service_Dataflow_StreamingStageLocation $streamingStageLocation)
+ {
+ $this->streamingStageLocation = $streamingStageLocation;
+ }
+ public function getStreamingStageLocation()
+ {
+ return $this->streamingStageLocation;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationConfig.php
new file mode 100644
index 00000000..0cba9956
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationConfig.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_StreamingComputationConfig extends Google_Collection
+{
+ protected $collection_key = 'instructions';
+ public $computationId;
+ protected $instructionsType = 'Google_Service_Dataflow_ParallelInstruction';
+ protected $instructionsDataType = 'array';
+ public $stageName;
+ public $systemName;
+
+ public function setComputationId($computationId)
+ {
+ $this->computationId = $computationId;
+ }
+ public function getComputationId()
+ {
+ return $this->computationId;
+ }
+ public function setInstructions($instructions)
+ {
+ $this->instructions = $instructions;
+ }
+ public function getInstructions()
+ {
+ return $this->instructions;
+ }
+ public function setStageName($stageName)
+ {
+ $this->stageName = $stageName;
+ }
+ public function getStageName()
+ {
+ return $this->stageName;
+ }
+ public function setSystemName($systemName)
+ {
+ $this->systemName = $systemName;
+ }
+ public function getSystemName()
+ {
+ return $this->systemName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationRanges.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationRanges.php
new file mode 100644
index 00000000..9d618c93
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationRanges.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_StreamingComputationRanges extends Google_Collection
+{
+ protected $collection_key = 'rangeAssignments';
+ public $computationId;
+ protected $rangeAssignmentsType = 'Google_Service_Dataflow_KeyRangeDataDiskAssignment';
+ protected $rangeAssignmentsDataType = 'array';
+
+ public function setComputationId($computationId)
+ {
+ $this->computationId = $computationId;
+ }
+ public function getComputationId()
+ {
+ return $this->computationId;
+ }
+ public function setRangeAssignments($rangeAssignments)
+ {
+ $this->rangeAssignments = $rangeAssignments;
+ }
+ public function getRangeAssignments()
+ {
+ return $this->rangeAssignments;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationTask.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationTask.php
new file mode 100644
index 00000000..e83408e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationTask.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_StreamingComputationTask extends Google_Collection
+{
+ protected $collection_key = 'dataDisks';
+ protected $computationRangesType = 'Google_Service_Dataflow_StreamingComputationRanges';
+ protected $computationRangesDataType = 'array';
+ protected $dataDisksType = 'Google_Service_Dataflow_MountedDataDisk';
+ protected $dataDisksDataType = 'array';
+ public $taskType;
+
+ public function setComputationRanges($computationRanges)
+ {
+ $this->computationRanges = $computationRanges;
+ }
+ public function getComputationRanges()
+ {
+ return $this->computationRanges;
+ }
+ public function setDataDisks($dataDisks)
+ {
+ $this->dataDisks = $dataDisks;
+ }
+ public function getDataDisks()
+ {
+ return $this->dataDisks;
+ }
+ public function setTaskType($taskType)
+ {
+ $this->taskType = $taskType;
+ }
+ public function getTaskType()
+ {
+ return $this->taskType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingConfigTask.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingConfigTask.php
new file mode 100644
index 00000000..38741425
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingConfigTask.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_StreamingConfigTask extends Google_Collection
+{
+ protected $collection_key = 'streamingComputationConfigs';
+ protected $streamingComputationConfigsType = 'Google_Service_Dataflow_StreamingComputationConfig';
+ protected $streamingComputationConfigsDataType = 'array';
+ public $userStepToStateFamilyNameMap;
+
+ public function setStreamingComputationConfigs($streamingComputationConfigs)
+ {
+ $this->streamingComputationConfigs = $streamingComputationConfigs;
+ }
+ public function getStreamingComputationConfigs()
+ {
+ return $this->streamingComputationConfigs;
+ }
+ public function setUserStepToStateFamilyNameMap($userStepToStateFamilyNameMap)
+ {
+ $this->userStepToStateFamilyNameMap = $userStepToStateFamilyNameMap;
+ }
+ public function getUserStepToStateFamilyNameMap()
+ {
+ return $this->userStepToStateFamilyNameMap;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingSetupTask.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingSetupTask.php
new file mode 100644
index 00000000..a3786ce7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingSetupTask.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_StreamingSetupTask extends Google_Model
+{
+ public $drain;
+ public $receiveWorkPort;
+ protected $streamingComputationTopologyType = 'Google_Service_Dataflow_TopologyConfig';
+ protected $streamingComputationTopologyDataType = '';
+ public $workerHarnessPort;
+
+ public function setDrain($drain)
+ {
+ $this->drain = $drain;
+ }
+ public function getDrain()
+ {
+ return $this->drain;
+ }
+ public function setReceiveWorkPort($receiveWorkPort)
+ {
+ $this->receiveWorkPort = $receiveWorkPort;
+ }
+ public function getReceiveWorkPort()
+ {
+ return $this->receiveWorkPort;
+ }
+ public function setStreamingComputationTopology(Google_Service_Dataflow_TopologyConfig $streamingComputationTopology)
+ {
+ $this->streamingComputationTopology = $streamingComputationTopology;
+ }
+ public function getStreamingComputationTopology()
+ {
+ return $this->streamingComputationTopology;
+ }
+ public function setWorkerHarnessPort($workerHarnessPort)
+ {
+ $this->workerHarnessPort = $workerHarnessPort;
+ }
+ public function getWorkerHarnessPort()
+ {
+ return $this->workerHarnessPort;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingSideInputLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingSideInputLocation.php
new file mode 100644
index 00000000..04643d12
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingSideInputLocation.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_StreamingSideInputLocation extends Google_Model
+{
+ public $stateFamily;
+ public $tag;
+
+ public function setStateFamily($stateFamily)
+ {
+ $this->stateFamily = $stateFamily;
+ }
+ public function getStateFamily()
+ {
+ return $this->stateFamily;
+ }
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingStageLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingStageLocation.php
new file mode 100644
index 00000000..2d9474e8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingStageLocation.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_StreamingStageLocation extends Google_Model
+{
+ public $streamId;
+
+ public function setStreamId($streamId)
+ {
+ $this->streamId = $streamId;
+ }
+ public function getStreamId()
+ {
+ return $this->streamId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StringList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StringList.php
new file mode 100644
index 00000000..04779e71
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StringList.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_StringList extends Google_Collection
+{
+ protected $collection_key = 'elements';
+ public $elements;
+
+ public function setElements($elements)
+ {
+ $this->elements = $elements;
+ }
+ public function getElements()
+ {
+ return $this->elements;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TaskRunnerSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TaskRunnerSettings.php
new file mode 100644
index 00000000..50bac084
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TaskRunnerSettings.php
@@ -0,0 +1,194 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_TaskRunnerSettings extends Google_Collection
+{
+ protected $collection_key = 'oauthScopes';
+ public $alsologtostderr;
+ public $baseTaskDir;
+ public $baseUrl;
+ public $commandlinesFileName;
+ public $continueOnException;
+ public $dataflowApiVersion;
+ public $harnessCommand;
+ public $languageHint;
+ public $logDir;
+ public $logToSerialconsole;
+ public $logUploadLocation;
+ public $oauthScopes;
+ protected $parallelWorkerSettingsType = 'Google_Service_Dataflow_WorkerSettings';
+ protected $parallelWorkerSettingsDataType = '';
+ public $streamingWorkerMainClass;
+ public $taskGroup;
+ public $taskUser;
+ public $tempStoragePrefix;
+ public $vmId;
+ public $workflowFileName;
+
+ public function setAlsologtostderr($alsologtostderr)
+ {
+ $this->alsologtostderr = $alsologtostderr;
+ }
+ public function getAlsologtostderr()
+ {
+ return $this->alsologtostderr;
+ }
+ public function setBaseTaskDir($baseTaskDir)
+ {
+ $this->baseTaskDir = $baseTaskDir;
+ }
+ public function getBaseTaskDir()
+ {
+ return $this->baseTaskDir;
+ }
+ public function setBaseUrl($baseUrl)
+ {
+ $this->baseUrl = $baseUrl;
+ }
+ public function getBaseUrl()
+ {
+ return $this->baseUrl;
+ }
+ public function setCommandlinesFileName($commandlinesFileName)
+ {
+ $this->commandlinesFileName = $commandlinesFileName;
+ }
+ public function getCommandlinesFileName()
+ {
+ return $this->commandlinesFileName;
+ }
+ public function setContinueOnException($continueOnException)
+ {
+ $this->continueOnException = $continueOnException;
+ }
+ public function getContinueOnException()
+ {
+ return $this->continueOnException;
+ }
+ public function setDataflowApiVersion($dataflowApiVersion)
+ {
+ $this->dataflowApiVersion = $dataflowApiVersion;
+ }
+ public function getDataflowApiVersion()
+ {
+ return $this->dataflowApiVersion;
+ }
+ public function setHarnessCommand($harnessCommand)
+ {
+ $this->harnessCommand = $harnessCommand;
+ }
+ public function getHarnessCommand()
+ {
+ return $this->harnessCommand;
+ }
+ public function setLanguageHint($languageHint)
+ {
+ $this->languageHint = $languageHint;
+ }
+ public function getLanguageHint()
+ {
+ return $this->languageHint;
+ }
+ public function setLogDir($logDir)
+ {
+ $this->logDir = $logDir;
+ }
+ public function getLogDir()
+ {
+ return $this->logDir;
+ }
+ public function setLogToSerialconsole($logToSerialconsole)
+ {
+ $this->logToSerialconsole = $logToSerialconsole;
+ }
+ public function getLogToSerialconsole()
+ {
+ return $this->logToSerialconsole;
+ }
+ public function setLogUploadLocation($logUploadLocation)
+ {
+ $this->logUploadLocation = $logUploadLocation;
+ }
+ public function getLogUploadLocation()
+ {
+ return $this->logUploadLocation;
+ }
+ public function setOauthScopes($oauthScopes)
+ {
+ $this->oauthScopes = $oauthScopes;
+ }
+ public function getOauthScopes()
+ {
+ return $this->oauthScopes;
+ }
+ public function setParallelWorkerSettings(Google_Service_Dataflow_WorkerSettings $parallelWorkerSettings)
+ {
+ $this->parallelWorkerSettings = $parallelWorkerSettings;
+ }
+ public function getParallelWorkerSettings()
+ {
+ return $this->parallelWorkerSettings;
+ }
+ public function setStreamingWorkerMainClass($streamingWorkerMainClass)
+ {
+ $this->streamingWorkerMainClass = $streamingWorkerMainClass;
+ }
+ public function getStreamingWorkerMainClass()
+ {
+ return $this->streamingWorkerMainClass;
+ }
+ public function setTaskGroup($taskGroup)
+ {
+ $this->taskGroup = $taskGroup;
+ }
+ public function getTaskGroup()
+ {
+ return $this->taskGroup;
+ }
+ public function setTaskUser($taskUser)
+ {
+ $this->taskUser = $taskUser;
+ }
+ public function getTaskUser()
+ {
+ return $this->taskUser;
+ }
+ public function setTempStoragePrefix($tempStoragePrefix)
+ {
+ $this->tempStoragePrefix = $tempStoragePrefix;
+ }
+ public function getTempStoragePrefix()
+ {
+ return $this->tempStoragePrefix;
+ }
+ public function setVmId($vmId)
+ {
+ $this->vmId = $vmId;
+ }
+ public function getVmId()
+ {
+ return $this->vmId;
+ }
+ public function setWorkflowFileName($workflowFileName)
+ {
+ $this->workflowFileName = $workflowFileName;
+ }
+ public function getWorkflowFileName()
+ {
+ return $this->workflowFileName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TemplateMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TemplateMetadata.php
new file mode 100644
index 00000000..3428c67e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TemplateMetadata.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_TemplateMetadata extends Google_Collection
+{
+ protected $collection_key = 'parameters';
+ public $bypassTempDirValidation;
+ public $description;
+ public $name;
+ protected $parametersType = 'Google_Service_Dataflow_ParameterMetadata';
+ protected $parametersDataType = 'array';
+
+ public function setBypassTempDirValidation($bypassTempDirValidation)
+ {
+ $this->bypassTempDirValidation = $bypassTempDirValidation;
+ }
+ public function getBypassTempDirValidation()
+ {
+ return $this->bypassTempDirValidation;
+ }
+ 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 setParameters($parameters)
+ {
+ $this->parameters = $parameters;
+ }
+ public function getParameters()
+ {
+ return $this->parameters;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TopologyConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TopologyConfig.php
new file mode 100644
index 00000000..0eb190b6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TopologyConfig.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_TopologyConfig extends Google_Collection
+{
+ protected $collection_key = 'dataDiskAssignments';
+ protected $computationsType = 'Google_Service_Dataflow_ComputationTopology';
+ protected $computationsDataType = 'array';
+ protected $dataDiskAssignmentsType = 'Google_Service_Dataflow_DataDiskAssignment';
+ protected $dataDiskAssignmentsDataType = 'array';
+ public $forwardingKeyBits;
+ public $persistentStateVersion;
+ public $userStageToComputationNameMap;
+
+ public function setComputations($computations)
+ {
+ $this->computations = $computations;
+ }
+ public function getComputations()
+ {
+ return $this->computations;
+ }
+ public function setDataDiskAssignments($dataDiskAssignments)
+ {
+ $this->dataDiskAssignments = $dataDiskAssignments;
+ }
+ public function getDataDiskAssignments()
+ {
+ return $this->dataDiskAssignments;
+ }
+ public function setForwardingKeyBits($forwardingKeyBits)
+ {
+ $this->forwardingKeyBits = $forwardingKeyBits;
+ }
+ public function getForwardingKeyBits()
+ {
+ return $this->forwardingKeyBits;
+ }
+ public function setPersistentStateVersion($persistentStateVersion)
+ {
+ $this->persistentStateVersion = $persistentStateVersion;
+ }
+ public function getPersistentStateVersion()
+ {
+ return $this->persistentStateVersion;
+ }
+ public function setUserStageToComputationNameMap($userStageToComputationNameMap)
+ {
+ $this->userStageToComputationNameMap = $userStageToComputationNameMap;
+ }
+ public function getUserStageToComputationNameMap()
+ {
+ return $this->userStageToComputationNameMap;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TransformSummary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TransformSummary.php
new file mode 100644
index 00000000..e967dd99
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TransformSummary.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_TransformSummary extends Google_Collection
+{
+ protected $collection_key = 'outputCollectionName';
+ protected $displayDataType = 'Google_Service_Dataflow_DisplayData';
+ protected $displayDataDataType = 'array';
+ public $id;
+ public $inputCollectionName;
+ public $kind;
+ public $name;
+ public $outputCollectionName;
+
+ public function setDisplayData($displayData)
+ {
+ $this->displayData = $displayData;
+ }
+ public function getDisplayData()
+ {
+ return $this->displayData;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInputCollectionName($inputCollectionName)
+ {
+ $this->inputCollectionName = $inputCollectionName;
+ }
+ public function getInputCollectionName()
+ {
+ return $this->inputCollectionName;
+ }
+ 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 setOutputCollectionName($outputCollectionName)
+ {
+ $this->outputCollectionName = $outputCollectionName;
+ }
+ public function getOutputCollectionName()
+ {
+ return $this->outputCollectionName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItem.php
new file mode 100644
index 00000000..98a544ec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItem.php
@@ -0,0 +1,165 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_WorkItem extends Google_Collection
+{
+ protected $collection_key = 'packages';
+ public $configuration;
+ public $id;
+ public $initialReportIndex;
+ public $jobId;
+ public $leaseExpireTime;
+ protected $mapTaskType = 'Google_Service_Dataflow_MapTask';
+ protected $mapTaskDataType = '';
+ protected $packagesType = 'Google_Service_Dataflow_Package';
+ protected $packagesDataType = 'array';
+ public $projectId;
+ public $reportStatusInterval;
+ protected $seqMapTaskType = 'Google_Service_Dataflow_SeqMapTask';
+ protected $seqMapTaskDataType = '';
+ protected $shellTaskType = 'Google_Service_Dataflow_ShellTask';
+ protected $shellTaskDataType = '';
+ protected $sourceOperationTaskType = 'Google_Service_Dataflow_SourceOperationRequest';
+ protected $sourceOperationTaskDataType = '';
+ protected $streamingComputationTaskType = 'Google_Service_Dataflow_StreamingComputationTask';
+ protected $streamingComputationTaskDataType = '';
+ protected $streamingConfigTaskType = 'Google_Service_Dataflow_StreamingConfigTask';
+ protected $streamingConfigTaskDataType = '';
+ protected $streamingSetupTaskType = 'Google_Service_Dataflow_StreamingSetupTask';
+ protected $streamingSetupTaskDataType = '';
+
+ public function setConfiguration($configuration)
+ {
+ $this->configuration = $configuration;
+ }
+ public function getConfiguration()
+ {
+ return $this->configuration;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInitialReportIndex($initialReportIndex)
+ {
+ $this->initialReportIndex = $initialReportIndex;
+ }
+ public function getInitialReportIndex()
+ {
+ return $this->initialReportIndex;
+ }
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+ public function setLeaseExpireTime($leaseExpireTime)
+ {
+ $this->leaseExpireTime = $leaseExpireTime;
+ }
+ public function getLeaseExpireTime()
+ {
+ return $this->leaseExpireTime;
+ }
+ public function setMapTask(Google_Service_Dataflow_MapTask $mapTask)
+ {
+ $this->mapTask = $mapTask;
+ }
+ public function getMapTask()
+ {
+ return $this->mapTask;
+ }
+ public function setPackages($packages)
+ {
+ $this->packages = $packages;
+ }
+ public function getPackages()
+ {
+ return $this->packages;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setReportStatusInterval($reportStatusInterval)
+ {
+ $this->reportStatusInterval = $reportStatusInterval;
+ }
+ public function getReportStatusInterval()
+ {
+ return $this->reportStatusInterval;
+ }
+ public function setSeqMapTask(Google_Service_Dataflow_SeqMapTask $seqMapTask)
+ {
+ $this->seqMapTask = $seqMapTask;
+ }
+ public function getSeqMapTask()
+ {
+ return $this->seqMapTask;
+ }
+ public function setShellTask(Google_Service_Dataflow_ShellTask $shellTask)
+ {
+ $this->shellTask = $shellTask;
+ }
+ public function getShellTask()
+ {
+ return $this->shellTask;
+ }
+ public function setSourceOperationTask(Google_Service_Dataflow_SourceOperationRequest $sourceOperationTask)
+ {
+ $this->sourceOperationTask = $sourceOperationTask;
+ }
+ public function getSourceOperationTask()
+ {
+ return $this->sourceOperationTask;
+ }
+ public function setStreamingComputationTask(Google_Service_Dataflow_StreamingComputationTask $streamingComputationTask)
+ {
+ $this->streamingComputationTask = $streamingComputationTask;
+ }
+ public function getStreamingComputationTask()
+ {
+ return $this->streamingComputationTask;
+ }
+ public function setStreamingConfigTask(Google_Service_Dataflow_StreamingConfigTask $streamingConfigTask)
+ {
+ $this->streamingConfigTask = $streamingConfigTask;
+ }
+ public function getStreamingConfigTask()
+ {
+ return $this->streamingConfigTask;
+ }
+ public function setStreamingSetupTask(Google_Service_Dataflow_StreamingSetupTask $streamingSetupTask)
+ {
+ $this->streamingSetupTask = $streamingSetupTask;
+ }
+ public function getStreamingSetupTask()
+ {
+ return $this->streamingSetupTask;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItemServiceState.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItemServiceState.php
new file mode 100644
index 00000000..3398321e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItemServiceState.php
@@ -0,0 +1,98 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_WorkItemServiceState extends Google_Collection
+{
+ protected $collection_key = 'metricShortId';
+ public $harnessData;
+ public $leaseExpireTime;
+ protected $metricShortIdType = 'Google_Service_Dataflow_MetricShortId';
+ protected $metricShortIdDataType = 'array';
+ public $nextReportIndex;
+ public $reportStatusInterval;
+ protected $splitRequestType = 'Google_Service_Dataflow_ApproximateSplitRequest';
+ protected $splitRequestDataType = '';
+ protected $suggestedStopPointType = 'Google_Service_Dataflow_ApproximateProgress';
+ protected $suggestedStopPointDataType = '';
+ protected $suggestedStopPositionType = 'Google_Service_Dataflow_Position';
+ protected $suggestedStopPositionDataType = '';
+
+ public function setHarnessData($harnessData)
+ {
+ $this->harnessData = $harnessData;
+ }
+ public function getHarnessData()
+ {
+ return $this->harnessData;
+ }
+ public function setLeaseExpireTime($leaseExpireTime)
+ {
+ $this->leaseExpireTime = $leaseExpireTime;
+ }
+ public function getLeaseExpireTime()
+ {
+ return $this->leaseExpireTime;
+ }
+ public function setMetricShortId($metricShortId)
+ {
+ $this->metricShortId = $metricShortId;
+ }
+ public function getMetricShortId()
+ {
+ return $this->metricShortId;
+ }
+ public function setNextReportIndex($nextReportIndex)
+ {
+ $this->nextReportIndex = $nextReportIndex;
+ }
+ public function getNextReportIndex()
+ {
+ return $this->nextReportIndex;
+ }
+ public function setReportStatusInterval($reportStatusInterval)
+ {
+ $this->reportStatusInterval = $reportStatusInterval;
+ }
+ public function getReportStatusInterval()
+ {
+ return $this->reportStatusInterval;
+ }
+ public function setSplitRequest(Google_Service_Dataflow_ApproximateSplitRequest $splitRequest)
+ {
+ $this->splitRequest = $splitRequest;
+ }
+ public function getSplitRequest()
+ {
+ return $this->splitRequest;
+ }
+ public function setSuggestedStopPoint(Google_Service_Dataflow_ApproximateProgress $suggestedStopPoint)
+ {
+ $this->suggestedStopPoint = $suggestedStopPoint;
+ }
+ public function getSuggestedStopPoint()
+ {
+ return $this->suggestedStopPoint;
+ }
+ public function setSuggestedStopPosition(Google_Service_Dataflow_Position $suggestedStopPosition)
+ {
+ $this->suggestedStopPosition = $suggestedStopPosition;
+ }
+ public function getSuggestedStopPosition()
+ {
+ return $this->suggestedStopPosition;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItemStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItemStatus.php
new file mode 100644
index 00000000..0eba4843
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItemStatus.php
@@ -0,0 +1,148 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_WorkItemStatus extends Google_Collection
+{
+ protected $collection_key = 'metricUpdates';
+ public $completed;
+ protected $counterUpdatesType = 'Google_Service_Dataflow_CounterUpdate';
+ protected $counterUpdatesDataType = 'array';
+ protected $dynamicSourceSplitType = 'Google_Service_Dataflow_DynamicSourceSplit';
+ protected $dynamicSourceSplitDataType = '';
+ protected $errorsType = 'Google_Service_Dataflow_Status';
+ protected $errorsDataType = 'array';
+ protected $metricUpdatesType = 'Google_Service_Dataflow_MetricUpdate';
+ protected $metricUpdatesDataType = 'array';
+ protected $progressType = 'Google_Service_Dataflow_ApproximateProgress';
+ protected $progressDataType = '';
+ public $reportIndex;
+ protected $reportedProgressType = 'Google_Service_Dataflow_ApproximateReportedProgress';
+ protected $reportedProgressDataType = '';
+ public $requestedLeaseDuration;
+ protected $sourceForkType = 'Google_Service_Dataflow_SourceFork';
+ protected $sourceForkDataType = '';
+ protected $sourceOperationResponseType = 'Google_Service_Dataflow_SourceOperationResponse';
+ protected $sourceOperationResponseDataType = '';
+ protected $stopPositionType = 'Google_Service_Dataflow_Position';
+ protected $stopPositionDataType = '';
+ public $workItemId;
+
+ public function setCompleted($completed)
+ {
+ $this->completed = $completed;
+ }
+ public function getCompleted()
+ {
+ return $this->completed;
+ }
+ public function setCounterUpdates($counterUpdates)
+ {
+ $this->counterUpdates = $counterUpdates;
+ }
+ public function getCounterUpdates()
+ {
+ return $this->counterUpdates;
+ }
+ public function setDynamicSourceSplit(Google_Service_Dataflow_DynamicSourceSplit $dynamicSourceSplit)
+ {
+ $this->dynamicSourceSplit = $dynamicSourceSplit;
+ }
+ public function getDynamicSourceSplit()
+ {
+ return $this->dynamicSourceSplit;
+ }
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setMetricUpdates($metricUpdates)
+ {
+ $this->metricUpdates = $metricUpdates;
+ }
+ public function getMetricUpdates()
+ {
+ return $this->metricUpdates;
+ }
+ public function setProgress(Google_Service_Dataflow_ApproximateProgress $progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ public function setReportIndex($reportIndex)
+ {
+ $this->reportIndex = $reportIndex;
+ }
+ public function getReportIndex()
+ {
+ return $this->reportIndex;
+ }
+ public function setReportedProgress(Google_Service_Dataflow_ApproximateReportedProgress $reportedProgress)
+ {
+ $this->reportedProgress = $reportedProgress;
+ }
+ public function getReportedProgress()
+ {
+ return $this->reportedProgress;
+ }
+ public function setRequestedLeaseDuration($requestedLeaseDuration)
+ {
+ $this->requestedLeaseDuration = $requestedLeaseDuration;
+ }
+ public function getRequestedLeaseDuration()
+ {
+ return $this->requestedLeaseDuration;
+ }
+ public function setSourceFork(Google_Service_Dataflow_SourceFork $sourceFork)
+ {
+ $this->sourceFork = $sourceFork;
+ }
+ public function getSourceFork()
+ {
+ return $this->sourceFork;
+ }
+ public function setSourceOperationResponse(Google_Service_Dataflow_SourceOperationResponse $sourceOperationResponse)
+ {
+ $this->sourceOperationResponse = $sourceOperationResponse;
+ }
+ public function getSourceOperationResponse()
+ {
+ return $this->sourceOperationResponse;
+ }
+ public function setStopPosition(Google_Service_Dataflow_Position $stopPosition)
+ {
+ $this->stopPosition = $stopPosition;
+ }
+ public function getStopPosition()
+ {
+ return $this->stopPosition;
+ }
+ public function setWorkItemId($workItemId)
+ {
+ $this->workItemId = $workItemId;
+ }
+ public function getWorkItemId()
+ {
+ return $this->workItemId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerHealthReport.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerHealthReport.php
new file mode 100644
index 00000000..ee81dd17
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerHealthReport.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_WorkerHealthReport extends Google_Collection
+{
+ protected $collection_key = 'pods';
+ public $pods;
+ public $reportInterval;
+ public $vmIsHealthy;
+ public $vmStartupTime;
+
+ public function setPods($pods)
+ {
+ $this->pods = $pods;
+ }
+ public function getPods()
+ {
+ return $this->pods;
+ }
+ public function setReportInterval($reportInterval)
+ {
+ $this->reportInterval = $reportInterval;
+ }
+ public function getReportInterval()
+ {
+ return $this->reportInterval;
+ }
+ public function setVmIsHealthy($vmIsHealthy)
+ {
+ $this->vmIsHealthy = $vmIsHealthy;
+ }
+ public function getVmIsHealthy()
+ {
+ return $this->vmIsHealthy;
+ }
+ public function setVmStartupTime($vmStartupTime)
+ {
+ $this->vmStartupTime = $vmStartupTime;
+ }
+ public function getVmStartupTime()
+ {
+ return $this->vmStartupTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerHealthReportResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerHealthReportResponse.php
new file mode 100644
index 00000000..8ba4d47c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerHealthReportResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_WorkerHealthReportResponse extends Google_Model
+{
+ public $reportInterval;
+
+ public function setReportInterval($reportInterval)
+ {
+ $this->reportInterval = $reportInterval;
+ }
+ public function getReportInterval()
+ {
+ return $this->reportInterval;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessage.php
new file mode 100644
index 00000000..d3af1017
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessage.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_WorkerMessage extends Google_Model
+{
+ public $labels;
+ public $time;
+ protected $workerHealthReportType = 'Google_Service_Dataflow_WorkerHealthReport';
+ protected $workerHealthReportDataType = '';
+ protected $workerMessageCodeType = 'Google_Service_Dataflow_WorkerMessageCode';
+ protected $workerMessageCodeDataType = '';
+ protected $workerMetricsType = 'Google_Service_Dataflow_ResourceUtilizationReport';
+ protected $workerMetricsDataType = '';
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+ public function getTime()
+ {
+ return $this->time;
+ }
+ public function setWorkerHealthReport(Google_Service_Dataflow_WorkerHealthReport $workerHealthReport)
+ {
+ $this->workerHealthReport = $workerHealthReport;
+ }
+ public function getWorkerHealthReport()
+ {
+ return $this->workerHealthReport;
+ }
+ public function setWorkerMessageCode(Google_Service_Dataflow_WorkerMessageCode $workerMessageCode)
+ {
+ $this->workerMessageCode = $workerMessageCode;
+ }
+ public function getWorkerMessageCode()
+ {
+ return $this->workerMessageCode;
+ }
+ public function setWorkerMetrics(Google_Service_Dataflow_ResourceUtilizationReport $workerMetrics)
+ {
+ $this->workerMetrics = $workerMetrics;
+ }
+ public function getWorkerMetrics()
+ {
+ return $this->workerMetrics;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessageCode.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessageCode.php
new file mode 100644
index 00000000..1a4a6841
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessageCode.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_WorkerMessageCode extends Google_Model
+{
+ public $code;
+ public $parameters;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setParameters($parameters)
+ {
+ $this->parameters = $parameters;
+ }
+ public function getParameters()
+ {
+ return $this->parameters;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessageResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessageResponse.php
new file mode 100644
index 00000000..edd8da8f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessageResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_WorkerMessageResponse extends Google_Model
+{
+ protected $workerHealthReportResponseType = 'Google_Service_Dataflow_WorkerHealthReportResponse';
+ protected $workerHealthReportResponseDataType = '';
+ protected $workerMetricsResponseType = 'Google_Service_Dataflow_ResourceUtilizationReportResponse';
+ protected $workerMetricsResponseDataType = '';
+
+ public function setWorkerHealthReportResponse(Google_Service_Dataflow_WorkerHealthReportResponse $workerHealthReportResponse)
+ {
+ $this->workerHealthReportResponse = $workerHealthReportResponse;
+ }
+ public function getWorkerHealthReportResponse()
+ {
+ return $this->workerHealthReportResponse;
+ }
+ public function setWorkerMetricsResponse(Google_Service_Dataflow_ResourceUtilizationReportResponse $workerMetricsResponse)
+ {
+ $this->workerMetricsResponse = $workerMetricsResponse;
+ }
+ public function getWorkerMetricsResponse()
+ {
+ return $this->workerMetricsResponse;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerPool.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerPool.php
new file mode 100644
index 00000000..a75cecc9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerPool.php
@@ -0,0 +1,215 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_WorkerPool extends Google_Collection
+{
+ protected $collection_key = 'packages';
+ protected $autoscalingSettingsType = 'Google_Service_Dataflow_AutoscalingSettings';
+ protected $autoscalingSettingsDataType = '';
+ protected $dataDisksType = 'Google_Service_Dataflow_Disk';
+ protected $dataDisksDataType = 'array';
+ public $defaultPackageSet;
+ public $diskSizeGb;
+ public $diskSourceImage;
+ public $diskType;
+ public $ipConfiguration;
+ public $kind;
+ public $machineType;
+ public $metadata;
+ public $network;
+ public $numThreadsPerWorker;
+ public $numWorkers;
+ public $onHostMaintenance;
+ protected $packagesType = 'Google_Service_Dataflow_Package';
+ protected $packagesDataType = 'array';
+ public $poolArgs;
+ public $subnetwork;
+ protected $taskrunnerSettingsType = 'Google_Service_Dataflow_TaskRunnerSettings';
+ protected $taskrunnerSettingsDataType = '';
+ public $teardownPolicy;
+ public $workerHarnessContainerImage;
+ public $zone;
+
+ public function setAutoscalingSettings(Google_Service_Dataflow_AutoscalingSettings $autoscalingSettings)
+ {
+ $this->autoscalingSettings = $autoscalingSettings;
+ }
+ public function getAutoscalingSettings()
+ {
+ return $this->autoscalingSettings;
+ }
+ public function setDataDisks($dataDisks)
+ {
+ $this->dataDisks = $dataDisks;
+ }
+ public function getDataDisks()
+ {
+ return $this->dataDisks;
+ }
+ public function setDefaultPackageSet($defaultPackageSet)
+ {
+ $this->defaultPackageSet = $defaultPackageSet;
+ }
+ public function getDefaultPackageSet()
+ {
+ return $this->defaultPackageSet;
+ }
+ public function setDiskSizeGb($diskSizeGb)
+ {
+ $this->diskSizeGb = $diskSizeGb;
+ }
+ public function getDiskSizeGb()
+ {
+ return $this->diskSizeGb;
+ }
+ public function setDiskSourceImage($diskSourceImage)
+ {
+ $this->diskSourceImage = $diskSourceImage;
+ }
+ public function getDiskSourceImage()
+ {
+ return $this->diskSourceImage;
+ }
+ public function setDiskType($diskType)
+ {
+ $this->diskType = $diskType;
+ }
+ public function getDiskType()
+ {
+ return $this->diskType;
+ }
+ public function setIpConfiguration($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 setMachineType($machineType)
+ {
+ $this->machineType = $machineType;
+ }
+ public function getMachineType()
+ {
+ return $this->machineType;
+ }
+ public function setMetadata($metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setNetwork($network)
+ {
+ $this->network = $network;
+ }
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+ public function setNumThreadsPerWorker($numThreadsPerWorker)
+ {
+ $this->numThreadsPerWorker = $numThreadsPerWorker;
+ }
+ public function getNumThreadsPerWorker()
+ {
+ return $this->numThreadsPerWorker;
+ }
+ public function setNumWorkers($numWorkers)
+ {
+ $this->numWorkers = $numWorkers;
+ }
+ public function getNumWorkers()
+ {
+ return $this->numWorkers;
+ }
+ public function setOnHostMaintenance($onHostMaintenance)
+ {
+ $this->onHostMaintenance = $onHostMaintenance;
+ }
+ public function getOnHostMaintenance()
+ {
+ return $this->onHostMaintenance;
+ }
+ public function setPackages($packages)
+ {
+ $this->packages = $packages;
+ }
+ public function getPackages()
+ {
+ return $this->packages;
+ }
+ public function setPoolArgs($poolArgs)
+ {
+ $this->poolArgs = $poolArgs;
+ }
+ public function getPoolArgs()
+ {
+ return $this->poolArgs;
+ }
+ public function setSubnetwork($subnetwork)
+ {
+ $this->subnetwork = $subnetwork;
+ }
+ public function getSubnetwork()
+ {
+ return $this->subnetwork;
+ }
+ public function setTaskrunnerSettings(Google_Service_Dataflow_TaskRunnerSettings $taskrunnerSettings)
+ {
+ $this->taskrunnerSettings = $taskrunnerSettings;
+ }
+ public function getTaskrunnerSettings()
+ {
+ return $this->taskrunnerSettings;
+ }
+ public function setTeardownPolicy($teardownPolicy)
+ {
+ $this->teardownPolicy = $teardownPolicy;
+ }
+ public function getTeardownPolicy()
+ {
+ return $this->teardownPolicy;
+ }
+ public function setWorkerHarnessContainerImage($workerHarnessContainerImage)
+ {
+ $this->workerHarnessContainerImage = $workerHarnessContainerImage;
+ }
+ public function getWorkerHarnessContainerImage()
+ {
+ return $this->workerHarnessContainerImage;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerSettings.php
new file mode 100644
index 00000000..d3a58d39
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerSettings.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_WorkerSettings extends Google_Model
+{
+ public $baseUrl;
+ public $reportingEnabled;
+ public $servicePath;
+ public $shuffleServicePath;
+ public $tempStoragePrefix;
+ public $workerId;
+
+ public function setBaseUrl($baseUrl)
+ {
+ $this->baseUrl = $baseUrl;
+ }
+ public function getBaseUrl()
+ {
+ return $this->baseUrl;
+ }
+ public function setReportingEnabled($reportingEnabled)
+ {
+ $this->reportingEnabled = $reportingEnabled;
+ }
+ public function getReportingEnabled()
+ {
+ return $this->reportingEnabled;
+ }
+ public function setServicePath($servicePath)
+ {
+ $this->servicePath = $servicePath;
+ }
+ public function getServicePath()
+ {
+ return $this->servicePath;
+ }
+ public function setShuffleServicePath($shuffleServicePath)
+ {
+ $this->shuffleServicePath = $shuffleServicePath;
+ }
+ public function getShuffleServicePath()
+ {
+ return $this->shuffleServicePath;
+ }
+ public function setTempStoragePrefix($tempStoragePrefix)
+ {
+ $this->tempStoragePrefix = $tempStoragePrefix;
+ }
+ public function getTempStoragePrefix()
+ {
+ return $this->tempStoragePrefix;
+ }
+ public function setWorkerId($workerId)
+ {
+ $this->workerId = $workerId;
+ }
+ public function getWorkerId()
+ {
+ return $this->workerId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WriteInstruction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WriteInstruction.php
new file mode 100644
index 00000000..62bebc75
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WriteInstruction.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataflow_WriteInstruction extends Google_Model
+{
+ protected $inputType = 'Google_Service_Dataflow_InstructionInput';
+ protected $inputDataType = '';
+ protected $sinkType = 'Google_Service_Dataflow_Sink';
+ protected $sinkDataType = '';
+
+ public function setInput(Google_Service_Dataflow_InstructionInput $input)
+ {
+ $this->input = $input;
+ }
+ public function getInput()
+ {
+ return $this->input;
+ }
+ public function setSink(Google_Service_Dataflow_Sink $sink)
+ {
+ $this->sink = $sink;
+ }
+ public function getSink()
+ {
+ return $this->sink;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc.php
new file mode 100644
index 00000000..ddd618c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc.php
@@ -0,0 +1,397 @@
+<?php
+/*
+ * Copyright 2016 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 Dataproc (v1).
+ *
+ * <p>
+ * Manages Hadoop-based clusters and jobs on Google Cloud Platform.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/dataproc/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Dataproc extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $projects_regions_clusters;
+ public $projects_regions_jobs;
+ public $projects_regions_operations;
+
+ /**
+ * Constructs the internal representation of the Dataproc service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://dataproc.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'dataproc';
+
+ $this->projects_regions_clusters = new Google_Service_Dataproc_Resource_ProjectsRegionsClusters(
+ $this,
+ $this->serviceName,
+ 'clusters',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/projects/{projectId}/regions/{region}/clusters',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'diagnose' => array(
+ 'path' => 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/projects/{projectId}/regions/{region}/clusters',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => 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',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_regions_jobs = new Google_Service_Dataproc_Resource_ProjectsRegionsJobs(
+ $this,
+ $this->serviceName,
+ 'jobs',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/projects/{projectId}/regions/{region}/jobs',
+ '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',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'clusterName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'jobStateMatcher' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'submit' => array(
+ 'path' => 'v1/projects/{projectId}/regions/{region}/jobs:submit',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_regions_operations = new Google_Service_Dataproc_Resource_ProjectsRegionsOperations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'v1/{+name}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/AcceleratorConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/AcceleratorConfig.php
new file mode 100644
index 00000000..626cb25a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/AcceleratorConfig.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_AcceleratorConfig extends Google_Model
+{
+ public $acceleratorCount;
+ public $acceleratorTypeUri;
+
+ public function setAcceleratorCount($acceleratorCount)
+ {
+ $this->acceleratorCount = $acceleratorCount;
+ }
+ public function getAcceleratorCount()
+ {
+ return $this->acceleratorCount;
+ }
+ public function setAcceleratorTypeUri($acceleratorTypeUri)
+ {
+ $this->acceleratorTypeUri = $acceleratorTypeUri;
+ }
+ public function getAcceleratorTypeUri()
+ {
+ return $this->acceleratorTypeUri;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/CancelJobRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/CancelJobRequest.php
new file mode 100644
index 00000000..3eeeb947
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/CancelJobRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_CancelJobRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Cluster.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Cluster.php
new file mode 100644
index 00000000..bc0d48b2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Cluster.php
@@ -0,0 +1,98 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_Cluster extends Google_Collection
+{
+ protected $collection_key = 'statusHistory';
+ public $clusterName;
+ public $clusterUuid;
+ protected $configType = 'Google_Service_Dataproc_ClusterConfig';
+ protected $configDataType = '';
+ public $labels;
+ protected $metricsType = 'Google_Service_Dataproc_ClusterMetrics';
+ protected $metricsDataType = '';
+ public $projectId;
+ protected $statusType = 'Google_Service_Dataproc_ClusterStatus';
+ protected $statusDataType = '';
+ protected $statusHistoryType = 'Google_Service_Dataproc_ClusterStatus';
+ protected $statusHistoryDataType = 'array';
+
+ public function setClusterName($clusterName)
+ {
+ $this->clusterName = $clusterName;
+ }
+ public function getClusterName()
+ {
+ return $this->clusterName;
+ }
+ public function setClusterUuid($clusterUuid)
+ {
+ $this->clusterUuid = $clusterUuid;
+ }
+ public function getClusterUuid()
+ {
+ return $this->clusterUuid;
+ }
+ public function setConfig(Google_Service_Dataproc_ClusterConfig $config)
+ {
+ $this->config = $config;
+ }
+ public function getConfig()
+ {
+ return $this->config;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setMetrics(Google_Service_Dataproc_ClusterMetrics $metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setStatus(Google_Service_Dataproc_ClusterStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusHistory($statusHistory)
+ {
+ $this->statusHistory = $statusHistory;
+ }
+ public function getStatusHistory()
+ {
+ return $this->statusHistory;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterConfig.php
new file mode 100644
index 00000000..f70e0a13
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterConfig.php
@@ -0,0 +1,91 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_ClusterConfig extends Google_Collection
+{
+ protected $collection_key = 'initializationActions';
+ public $configBucket;
+ protected $gceClusterConfigType = 'Google_Service_Dataproc_GceClusterConfig';
+ protected $gceClusterConfigDataType = '';
+ protected $initializationActionsType = 'Google_Service_Dataproc_NodeInitializationAction';
+ protected $initializationActionsDataType = 'array';
+ protected $masterConfigType = 'Google_Service_Dataproc_InstanceGroupConfig';
+ protected $masterConfigDataType = '';
+ protected $secondaryWorkerConfigType = 'Google_Service_Dataproc_InstanceGroupConfig';
+ protected $secondaryWorkerConfigDataType = '';
+ protected $softwareConfigType = 'Google_Service_Dataproc_SoftwareConfig';
+ protected $softwareConfigDataType = '';
+ protected $workerConfigType = 'Google_Service_Dataproc_InstanceGroupConfig';
+ protected $workerConfigDataType = '';
+
+ public function setConfigBucket($configBucket)
+ {
+ $this->configBucket = $configBucket;
+ }
+ public function getConfigBucket()
+ {
+ return $this->configBucket;
+ }
+ public function setGceClusterConfig(Google_Service_Dataproc_GceClusterConfig $gceClusterConfig)
+ {
+ $this->gceClusterConfig = $gceClusterConfig;
+ }
+ public function getGceClusterConfig()
+ {
+ return $this->gceClusterConfig;
+ }
+ public function setInitializationActions($initializationActions)
+ {
+ $this->initializationActions = $initializationActions;
+ }
+ public function getInitializationActions()
+ {
+ return $this->initializationActions;
+ }
+ public function setMasterConfig(Google_Service_Dataproc_InstanceGroupConfig $masterConfig)
+ {
+ $this->masterConfig = $masterConfig;
+ }
+ public function getMasterConfig()
+ {
+ return $this->masterConfig;
+ }
+ public function setSecondaryWorkerConfig(Google_Service_Dataproc_InstanceGroupConfig $secondaryWorkerConfig)
+ {
+ $this->secondaryWorkerConfig = $secondaryWorkerConfig;
+ }
+ public function getSecondaryWorkerConfig()
+ {
+ return $this->secondaryWorkerConfig;
+ }
+ public function setSoftwareConfig(Google_Service_Dataproc_SoftwareConfig $softwareConfig)
+ {
+ $this->softwareConfig = $softwareConfig;
+ }
+ public function getSoftwareConfig()
+ {
+ return $this->softwareConfig;
+ }
+ public function setWorkerConfig(Google_Service_Dataproc_InstanceGroupConfig $workerConfig)
+ {
+ $this->workerConfig = $workerConfig;
+ }
+ public function getWorkerConfig()
+ {
+ return $this->workerConfig;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterMetrics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterMetrics.php
new file mode 100644
index 00000000..985b469a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterMetrics.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_ClusterMetrics extends Google_Model
+{
+ public $hdfsMetrics;
+ public $yarnMetrics;
+
+ public function setHdfsMetrics($hdfsMetrics)
+ {
+ $this->hdfsMetrics = $hdfsMetrics;
+ }
+ public function getHdfsMetrics()
+ {
+ return $this->hdfsMetrics;
+ }
+ public function setYarnMetrics($yarnMetrics)
+ {
+ $this->yarnMetrics = $yarnMetrics;
+ }
+ public function getYarnMetrics()
+ {
+ return $this->yarnMetrics;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterOperationMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterOperationMetadata.php
new file mode 100644
index 00000000..7c2fab7a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterOperationMetadata.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_ClusterOperationMetadata extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $clusterName;
+ public $clusterUuid;
+ public $description;
+ public $labels;
+ public $operationType;
+ protected $statusType = 'Google_Service_Dataproc_ClusterOperationStatus';
+ protected $statusDataType = '';
+ protected $statusHistoryType = 'Google_Service_Dataproc_ClusterOperationStatus';
+ protected $statusHistoryDataType = 'array';
+ public $warnings;
+
+ public function setClusterName($clusterName)
+ {
+ $this->clusterName = $clusterName;
+ }
+ public function getClusterName()
+ {
+ return $this->clusterName;
+ }
+ public function setClusterUuid($clusterUuid)
+ {
+ $this->clusterUuid = $clusterUuid;
+ }
+ public function getClusterUuid()
+ {
+ return $this->clusterUuid;
+ }
+ 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 setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+ public function setStatus(Google_Service_Dataproc_ClusterOperationStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusHistory($statusHistory)
+ {
+ $this->statusHistory = $statusHistory;
+ }
+ public function getStatusHistory()
+ {
+ return $this->statusHistory;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterOperationStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterOperationStatus.php
new file mode 100644
index 00000000..8d4bc5ae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterOperationStatus.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_ClusterOperationStatus extends Google_Model
+{
+ public $details;
+ public $innerState;
+ public $state;
+ public $stateStartTime;
+
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setInnerState($innerState)
+ {
+ $this->innerState = $innerState;
+ }
+ public function getInnerState()
+ {
+ return $this->innerState;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setStateStartTime($stateStartTime)
+ {
+ $this->stateStartTime = $stateStartTime;
+ }
+ public function getStateStartTime()
+ {
+ return $this->stateStartTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterStatus.php
new file mode 100644
index 00000000..81312805
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterStatus.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_ClusterStatus extends Google_Model
+{
+ public $detail;
+ public $state;
+ public $stateStartTime;
+
+ public function setDetail($detail)
+ {
+ $this->detail = $detail;
+ }
+ public function getDetail()
+ {
+ return $this->detail;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setStateStartTime($stateStartTime)
+ {
+ $this->stateStartTime = $stateStartTime;
+ }
+ public function getStateStartTime()
+ {
+ return $this->stateStartTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DataprocEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DataprocEmpty.php
new file mode 100644
index 00000000..90de61d5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DataprocEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_DataprocEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterOutputLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterOutputLocation.php
new file mode 100644
index 00000000..f4910123
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterOutputLocation.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_DiagnoseClusterOutputLocation extends Google_Model
+{
+ public $outputUri;
+
+ public function setOutputUri($outputUri)
+ {
+ $this->outputUri = $outputUri;
+ }
+ public function getOutputUri()
+ {
+ return $this->outputUri;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterRequest.php
new file mode 100644
index 00000000..6c50fa5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_DiagnoseClusterRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterResults.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterResults.php
new file mode 100644
index 00000000..86f69de1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterResults.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_DiagnoseClusterResults extends Google_Model
+{
+ public $outputUri;
+
+ public function setOutputUri($outputUri)
+ {
+ $this->outputUri = $outputUri;
+ }
+ public function getOutputUri()
+ {
+ return $this->outputUri;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiskConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiskConfig.php
new file mode 100644
index 00000000..2ec2379e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiskConfig.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_DiskConfig extends Google_Model
+{
+ public $bootDiskSizeGb;
+ public $numLocalSsds;
+
+ public function setBootDiskSizeGb($bootDiskSizeGb)
+ {
+ $this->bootDiskSizeGb = $bootDiskSizeGb;
+ }
+ public function getBootDiskSizeGb()
+ {
+ return $this->bootDiskSizeGb;
+ }
+ public function setNumLocalSsds($numLocalSsds)
+ {
+ $this->numLocalSsds = $numLocalSsds;
+ }
+ public function getNumLocalSsds()
+ {
+ return $this->numLocalSsds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/GceClusterConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/GceClusterConfig.php
new file mode 100644
index 00000000..1bad1cdb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/GceClusterConfig.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_GceClusterConfig extends Google_Collection
+{
+ protected $collection_key = 'tags';
+ public $internalIpOnly;
+ public $metadata;
+ public $networkUri;
+ public $serviceAccount;
+ public $serviceAccountScopes;
+ public $subnetworkUri;
+ public $tags;
+ public $zoneUri;
+
+ public function setInternalIpOnly($internalIpOnly)
+ {
+ $this->internalIpOnly = $internalIpOnly;
+ }
+ public function getInternalIpOnly()
+ {
+ return $this->internalIpOnly;
+ }
+ public function setMetadata($metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setNetworkUri($networkUri)
+ {
+ $this->networkUri = $networkUri;
+ }
+ public function getNetworkUri()
+ {
+ return $this->networkUri;
+ }
+ public function setServiceAccount($serviceAccount)
+ {
+ $this->serviceAccount = $serviceAccount;
+ }
+ public function getServiceAccount()
+ {
+ return $this->serviceAccount;
+ }
+ public function setServiceAccountScopes($serviceAccountScopes)
+ {
+ $this->serviceAccountScopes = $serviceAccountScopes;
+ }
+ public function getServiceAccountScopes()
+ {
+ return $this->serviceAccountScopes;
+ }
+ public function setSubnetworkUri($subnetworkUri)
+ {
+ $this->subnetworkUri = $subnetworkUri;
+ }
+ public function getSubnetworkUri()
+ {
+ return $this->subnetworkUri;
+ }
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+ public function setZoneUri($zoneUri)
+ {
+ $this->zoneUri = $zoneUri;
+ }
+ public function getZoneUri()
+ {
+ return $this->zoneUri;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/HadoopJob.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/HadoopJob.php
new file mode 100644
index 00000000..fa2395c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/HadoopJob.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_HadoopJob extends Google_Collection
+{
+ protected $collection_key = 'jarFileUris';
+ public $archiveUris;
+ public $args;
+ public $fileUris;
+ public $jarFileUris;
+ protected $loggingConfigType = 'Google_Service_Dataproc_LoggingConfig';
+ protected $loggingConfigDataType = '';
+ public $mainClass;
+ public $mainJarFileUri;
+ public $properties;
+
+ public function setArchiveUris($archiveUris)
+ {
+ $this->archiveUris = $archiveUris;
+ }
+ public function getArchiveUris()
+ {
+ return $this->archiveUris;
+ }
+ public function setArgs($args)
+ {
+ $this->args = $args;
+ }
+ public function getArgs()
+ {
+ return $this->args;
+ }
+ public function setFileUris($fileUris)
+ {
+ $this->fileUris = $fileUris;
+ }
+ public function getFileUris()
+ {
+ return $this->fileUris;
+ }
+ public function setJarFileUris($jarFileUris)
+ {
+ $this->jarFileUris = $jarFileUris;
+ }
+ public function getJarFileUris()
+ {
+ return $this->jarFileUris;
+ }
+ public function setLoggingConfig(Google_Service_Dataproc_LoggingConfig $loggingConfig)
+ {
+ $this->loggingConfig = $loggingConfig;
+ }
+ public function getLoggingConfig()
+ {
+ return $this->loggingConfig;
+ }
+ public function setMainClass($mainClass)
+ {
+ $this->mainClass = $mainClass;
+ }
+ public function getMainClass()
+ {
+ return $this->mainClass;
+ }
+ public function setMainJarFileUri($mainJarFileUri)
+ {
+ $this->mainJarFileUri = $mainJarFileUri;
+ }
+ public function getMainJarFileUri()
+ {
+ return $this->mainJarFileUri;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/HiveJob.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/HiveJob.php
new file mode 100644
index 00000000..1e99ec2f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/HiveJob.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_HiveJob extends Google_Collection
+{
+ protected $collection_key = 'jarFileUris';
+ public $continueOnFailure;
+ public $jarFileUris;
+ public $properties;
+ public $queryFileUri;
+ protected $queryListType = 'Google_Service_Dataproc_QueryList';
+ protected $queryListDataType = '';
+ public $scriptVariables;
+
+ public function setContinueOnFailure($continueOnFailure)
+ {
+ $this->continueOnFailure = $continueOnFailure;
+ }
+ public function getContinueOnFailure()
+ {
+ return $this->continueOnFailure;
+ }
+ public function setJarFileUris($jarFileUris)
+ {
+ $this->jarFileUris = $jarFileUris;
+ }
+ public function getJarFileUris()
+ {
+ return $this->jarFileUris;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+ public function setQueryFileUri($queryFileUri)
+ {
+ $this->queryFileUri = $queryFileUri;
+ }
+ public function getQueryFileUri()
+ {
+ return $this->queryFileUri;
+ }
+ public function setQueryList(Google_Service_Dataproc_QueryList $queryList)
+ {
+ $this->queryList = $queryList;
+ }
+ public function getQueryList()
+ {
+ return $this->queryList;
+ }
+ public function setScriptVariables($scriptVariables)
+ {
+ $this->scriptVariables = $scriptVariables;
+ }
+ public function getScriptVariables()
+ {
+ return $this->scriptVariables;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/InstanceGroupConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/InstanceGroupConfig.php
new file mode 100644
index 00000000..4c77e500
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/InstanceGroupConfig.php
@@ -0,0 +1,97 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_InstanceGroupConfig extends Google_Collection
+{
+ protected $collection_key = 'instanceNames';
+ protected $acceleratorsType = 'Google_Service_Dataproc_AcceleratorConfig';
+ protected $acceleratorsDataType = 'array';
+ protected $diskConfigType = 'Google_Service_Dataproc_DiskConfig';
+ protected $diskConfigDataType = '';
+ public $imageUri;
+ public $instanceNames;
+ public $isPreemptible;
+ public $machineTypeUri;
+ protected $managedGroupConfigType = 'Google_Service_Dataproc_ManagedGroupConfig';
+ protected $managedGroupConfigDataType = '';
+ public $numInstances;
+
+ public function setAccelerators($accelerators)
+ {
+ $this->accelerators = $accelerators;
+ }
+ public function getAccelerators()
+ {
+ return $this->accelerators;
+ }
+ public function setDiskConfig(Google_Service_Dataproc_DiskConfig $diskConfig)
+ {
+ $this->diskConfig = $diskConfig;
+ }
+ public function getDiskConfig()
+ {
+ return $this->diskConfig;
+ }
+ public function setImageUri($imageUri)
+ {
+ $this->imageUri = $imageUri;
+ }
+ public function getImageUri()
+ {
+ return $this->imageUri;
+ }
+ public function setInstanceNames($instanceNames)
+ {
+ $this->instanceNames = $instanceNames;
+ }
+ public function getInstanceNames()
+ {
+ return $this->instanceNames;
+ }
+ public function setIsPreemptible($isPreemptible)
+ {
+ $this->isPreemptible = $isPreemptible;
+ }
+ public function getIsPreemptible()
+ {
+ return $this->isPreemptible;
+ }
+ public function setMachineTypeUri($machineTypeUri)
+ {
+ $this->machineTypeUri = $machineTypeUri;
+ }
+ public function getMachineTypeUri()
+ {
+ return $this->machineTypeUri;
+ }
+ public function setManagedGroupConfig(Google_Service_Dataproc_ManagedGroupConfig $managedGroupConfig)
+ {
+ $this->managedGroupConfig = $managedGroupConfig;
+ }
+ public function getManagedGroupConfig()
+ {
+ return $this->managedGroupConfig;
+ }
+ public function setNumInstances($numInstances)
+ {
+ $this->numInstances = $numInstances;
+ }
+ public function getNumInstances()
+ {
+ return $this->numInstances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Job.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Job.php
new file mode 100644
index 00000000..8b9fb432
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Job.php
@@ -0,0 +1,169 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_Job extends Google_Collection
+{
+ protected $collection_key = 'yarnApplications';
+ public $driverControlFilesUri;
+ public $driverOutputResourceUri;
+ protected $hadoopJobType = 'Google_Service_Dataproc_HadoopJob';
+ protected $hadoopJobDataType = '';
+ protected $hiveJobType = 'Google_Service_Dataproc_HiveJob';
+ protected $hiveJobDataType = '';
+ public $labels;
+ protected $pigJobType = 'Google_Service_Dataproc_PigJob';
+ protected $pigJobDataType = '';
+ protected $placementType = 'Google_Service_Dataproc_JobPlacement';
+ protected $placementDataType = '';
+ protected $pysparkJobType = 'Google_Service_Dataproc_PySparkJob';
+ protected $pysparkJobDataType = '';
+ protected $referenceType = 'Google_Service_Dataproc_JobReference';
+ protected $referenceDataType = '';
+ protected $schedulingType = 'Google_Service_Dataproc_JobScheduling';
+ protected $schedulingDataType = '';
+ protected $sparkJobType = 'Google_Service_Dataproc_SparkJob';
+ protected $sparkJobDataType = '';
+ protected $sparkSqlJobType = 'Google_Service_Dataproc_SparkSqlJob';
+ protected $sparkSqlJobDataType = '';
+ protected $statusType = 'Google_Service_Dataproc_JobStatus';
+ protected $statusDataType = '';
+ protected $statusHistoryType = 'Google_Service_Dataproc_JobStatus';
+ protected $statusHistoryDataType = 'array';
+ protected $yarnApplicationsType = 'Google_Service_Dataproc_YarnApplication';
+ protected $yarnApplicationsDataType = 'array';
+
+ public function setDriverControlFilesUri($driverControlFilesUri)
+ {
+ $this->driverControlFilesUri = $driverControlFilesUri;
+ }
+ public function getDriverControlFilesUri()
+ {
+ return $this->driverControlFilesUri;
+ }
+ public function setDriverOutputResourceUri($driverOutputResourceUri)
+ {
+ $this->driverOutputResourceUri = $driverOutputResourceUri;
+ }
+ public function getDriverOutputResourceUri()
+ {
+ return $this->driverOutputResourceUri;
+ }
+ public function setHadoopJob(Google_Service_Dataproc_HadoopJob $hadoopJob)
+ {
+ $this->hadoopJob = $hadoopJob;
+ }
+ public function getHadoopJob()
+ {
+ return $this->hadoopJob;
+ }
+ public function setHiveJob(Google_Service_Dataproc_HiveJob $hiveJob)
+ {
+ $this->hiveJob = $hiveJob;
+ }
+ public function getHiveJob()
+ {
+ return $this->hiveJob;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setPigJob(Google_Service_Dataproc_PigJob $pigJob)
+ {
+ $this->pigJob = $pigJob;
+ }
+ public function getPigJob()
+ {
+ return $this->pigJob;
+ }
+ public function setPlacement(Google_Service_Dataproc_JobPlacement $placement)
+ {
+ $this->placement = $placement;
+ }
+ public function getPlacement()
+ {
+ return $this->placement;
+ }
+ public function setPysparkJob(Google_Service_Dataproc_PySparkJob $pysparkJob)
+ {
+ $this->pysparkJob = $pysparkJob;
+ }
+ public function getPysparkJob()
+ {
+ return $this->pysparkJob;
+ }
+ public function setReference(Google_Service_Dataproc_JobReference $reference)
+ {
+ $this->reference = $reference;
+ }
+ public function getReference()
+ {
+ return $this->reference;
+ }
+ public function setScheduling(Google_Service_Dataproc_JobScheduling $scheduling)
+ {
+ $this->scheduling = $scheduling;
+ }
+ public function getScheduling()
+ {
+ return $this->scheduling;
+ }
+ public function setSparkJob(Google_Service_Dataproc_SparkJob $sparkJob)
+ {
+ $this->sparkJob = $sparkJob;
+ }
+ public function getSparkJob()
+ {
+ return $this->sparkJob;
+ }
+ public function setSparkSqlJob(Google_Service_Dataproc_SparkSqlJob $sparkSqlJob)
+ {
+ $this->sparkSqlJob = $sparkSqlJob;
+ }
+ public function getSparkSqlJob()
+ {
+ return $this->sparkSqlJob;
+ }
+ public function setStatus(Google_Service_Dataproc_JobStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusHistory($statusHistory)
+ {
+ $this->statusHistory = $statusHistory;
+ }
+ public function getStatusHistory()
+ {
+ return $this->statusHistory;
+ }
+ public function setYarnApplications($yarnApplications)
+ {
+ $this->yarnApplications = $yarnApplications;
+ }
+ public function getYarnApplications()
+ {
+ return $this->yarnApplications;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobPlacement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobPlacement.php
new file mode 100644
index 00000000..16705b8c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobPlacement.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_JobPlacement extends Google_Model
+{
+ public $clusterName;
+ public $clusterUuid;
+
+ public function setClusterName($clusterName)
+ {
+ $this->clusterName = $clusterName;
+ }
+ public function getClusterName()
+ {
+ return $this->clusterName;
+ }
+ public function setClusterUuid($clusterUuid)
+ {
+ $this->clusterUuid = $clusterUuid;
+ }
+ public function getClusterUuid()
+ {
+ return $this->clusterUuid;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobReference.php
new file mode 100644
index 00000000..977cd0d8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobReference.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_JobReference extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobScheduling.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobScheduling.php
new file mode 100644
index 00000000..e698e4ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobScheduling.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_JobScheduling extends Google_Model
+{
+ public $maxFailuresPerHour;
+
+ public function setMaxFailuresPerHour($maxFailuresPerHour)
+ {
+ $this->maxFailuresPerHour = $maxFailuresPerHour;
+ }
+ public function getMaxFailuresPerHour()
+ {
+ return $this->maxFailuresPerHour;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobStatus.php
new file mode 100644
index 00000000..60f8df6b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobStatus.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_JobStatus extends Google_Model
+{
+ public $details;
+ public $state;
+ public $stateStartTime;
+
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setStateStartTime($stateStartTime)
+ {
+ $this->stateStartTime = $stateStartTime;
+ }
+ public function getStateStartTime()
+ {
+ return $this->stateStartTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListClustersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListClustersResponse.php
new file mode 100644
index 00000000..d3589082
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListClustersResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_ListClustersResponse extends Google_Collection
+{
+ protected $collection_key = 'clusters';
+ protected $clustersType = 'Google_Service_Dataproc_Cluster';
+ protected $clustersDataType = 'array';
+ public $nextPageToken;
+
+ public function setClusters($clusters)
+ {
+ $this->clusters = $clusters;
+ }
+ public function getClusters()
+ {
+ return $this->clusters;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListJobsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListJobsResponse.php
new file mode 100644
index 00000000..be99793b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListJobsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_ListJobsResponse extends Google_Collection
+{
+ protected $collection_key = 'jobs';
+ protected $jobsType = 'Google_Service_Dataproc_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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListOperationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListOperationsResponse.php
new file mode 100644
index 00000000..dd749a87
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListOperationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_ListOperationsResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_Dataproc_Operation';
+ protected $operationsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/LoggingConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/LoggingConfig.php
new file mode 100644
index 00000000..90e5f33d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/LoggingConfig.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_LoggingConfig extends Google_Model
+{
+ public $driverLogLevels;
+
+ public function setDriverLogLevels($driverLogLevels)
+ {
+ $this->driverLogLevels = $driverLogLevels;
+ }
+ public function getDriverLogLevels()
+ {
+ return $this->driverLogLevels;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ManagedGroupConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ManagedGroupConfig.php
new file mode 100644
index 00000000..1725fe5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ManagedGroupConfig.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_ManagedGroupConfig extends Google_Model
+{
+ public $instanceGroupManagerName;
+ public $instanceTemplateName;
+
+ public function setInstanceGroupManagerName($instanceGroupManagerName)
+ {
+ $this->instanceGroupManagerName = $instanceGroupManagerName;
+ }
+ public function getInstanceGroupManagerName()
+ {
+ return $this->instanceGroupManagerName;
+ }
+ public function setInstanceTemplateName($instanceTemplateName)
+ {
+ $this->instanceTemplateName = $instanceTemplateName;
+ }
+ public function getInstanceTemplateName()
+ {
+ return $this->instanceTemplateName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/NodeInitializationAction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/NodeInitializationAction.php
new file mode 100644
index 00000000..d7f296c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/NodeInitializationAction.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_NodeInitializationAction extends Google_Model
+{
+ public $executableFile;
+ public $executionTimeout;
+
+ public function setExecutableFile($executableFile)
+ {
+ $this->executableFile = $executableFile;
+ }
+ public function getExecutableFile()
+ {
+ return $this->executableFile;
+ }
+ public function setExecutionTimeout($executionTimeout)
+ {
+ $this->executionTimeout = $executionTimeout;
+ }
+ public function getExecutionTimeout()
+ {
+ return $this->executionTimeout;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Operation.php
new file mode 100644
index 00000000..71e287c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Operation.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_Operation extends Google_Model
+{
+ public $done;
+ protected $errorType = 'Google_Service_Dataproc_Status';
+ protected $errorDataType = '';
+ public $metadata;
+ public $name;
+ public $response;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_Dataproc_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setMetadata($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 setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/OperationMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/OperationMetadata.php
new file mode 100644
index 00000000..e57db919
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/OperationMetadata.php
@@ -0,0 +1,141 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_OperationMetadata extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $clusterName;
+ public $clusterUuid;
+ public $description;
+ public $details;
+ public $endTime;
+ public $innerState;
+ public $insertTime;
+ public $operationType;
+ public $startTime;
+ public $state;
+ protected $statusType = 'Google_Service_Dataproc_OperationStatus';
+ protected $statusDataType = '';
+ protected $statusHistoryType = 'Google_Service_Dataproc_OperationStatus';
+ protected $statusHistoryDataType = 'array';
+ public $warnings;
+
+ public function setClusterName($clusterName)
+ {
+ $this->clusterName = $clusterName;
+ }
+ public function getClusterName()
+ {
+ return $this->clusterName;
+ }
+ public function setClusterUuid($clusterUuid)
+ {
+ $this->clusterUuid = $clusterUuid;
+ }
+ public function getClusterUuid()
+ {
+ return $this->clusterUuid;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setInnerState($innerState)
+ {
+ $this->innerState = $innerState;
+ }
+ public function getInnerState()
+ {
+ return $this->innerState;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ 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 setStatus(Google_Service_Dataproc_OperationStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusHistory($statusHistory)
+ {
+ $this->statusHistory = $statusHistory;
+ }
+ public function getStatusHistory()
+ {
+ return $this->statusHistory;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/OperationStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/OperationStatus.php
new file mode 100644
index 00000000..90f1143d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/OperationStatus.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_OperationStatus extends Google_Model
+{
+ public $details;
+ public $innerState;
+ public $state;
+ public $stateStartTime;
+
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setInnerState($innerState)
+ {
+ $this->innerState = $innerState;
+ }
+ public function getInnerState()
+ {
+ return $this->innerState;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setStateStartTime($stateStartTime)
+ {
+ $this->stateStartTime = $stateStartTime;
+ }
+ public function getStateStartTime()
+ {
+ return $this->stateStartTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/PigJob.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/PigJob.php
new file mode 100644
index 00000000..e09142cf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/PigJob.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_PigJob extends Google_Collection
+{
+ protected $collection_key = 'jarFileUris';
+ public $continueOnFailure;
+ public $jarFileUris;
+ protected $loggingConfigType = 'Google_Service_Dataproc_LoggingConfig';
+ protected $loggingConfigDataType = '';
+ public $properties;
+ public $queryFileUri;
+ protected $queryListType = 'Google_Service_Dataproc_QueryList';
+ protected $queryListDataType = '';
+ public $scriptVariables;
+
+ public function setContinueOnFailure($continueOnFailure)
+ {
+ $this->continueOnFailure = $continueOnFailure;
+ }
+ public function getContinueOnFailure()
+ {
+ return $this->continueOnFailure;
+ }
+ public function setJarFileUris($jarFileUris)
+ {
+ $this->jarFileUris = $jarFileUris;
+ }
+ public function getJarFileUris()
+ {
+ return $this->jarFileUris;
+ }
+ public function setLoggingConfig(Google_Service_Dataproc_LoggingConfig $loggingConfig)
+ {
+ $this->loggingConfig = $loggingConfig;
+ }
+ public function getLoggingConfig()
+ {
+ return $this->loggingConfig;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+ public function setQueryFileUri($queryFileUri)
+ {
+ $this->queryFileUri = $queryFileUri;
+ }
+ public function getQueryFileUri()
+ {
+ return $this->queryFileUri;
+ }
+ public function setQueryList(Google_Service_Dataproc_QueryList $queryList)
+ {
+ $this->queryList = $queryList;
+ }
+ public function getQueryList()
+ {
+ return $this->queryList;
+ }
+ public function setScriptVariables($scriptVariables)
+ {
+ $this->scriptVariables = $scriptVariables;
+ }
+ public function getScriptVariables()
+ {
+ return $this->scriptVariables;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/PySparkJob.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/PySparkJob.php
new file mode 100644
index 00000000..4ab147d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/PySparkJob.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_PySparkJob extends Google_Collection
+{
+ protected $collection_key = 'pythonFileUris';
+ public $archiveUris;
+ public $args;
+ public $fileUris;
+ public $jarFileUris;
+ protected $loggingConfigType = 'Google_Service_Dataproc_LoggingConfig';
+ protected $loggingConfigDataType = '';
+ public $mainPythonFileUri;
+ public $properties;
+ public $pythonFileUris;
+
+ public function setArchiveUris($archiveUris)
+ {
+ $this->archiveUris = $archiveUris;
+ }
+ public function getArchiveUris()
+ {
+ return $this->archiveUris;
+ }
+ public function setArgs($args)
+ {
+ $this->args = $args;
+ }
+ public function getArgs()
+ {
+ return $this->args;
+ }
+ public function setFileUris($fileUris)
+ {
+ $this->fileUris = $fileUris;
+ }
+ public function getFileUris()
+ {
+ return $this->fileUris;
+ }
+ public function setJarFileUris($jarFileUris)
+ {
+ $this->jarFileUris = $jarFileUris;
+ }
+ public function getJarFileUris()
+ {
+ return $this->jarFileUris;
+ }
+ public function setLoggingConfig(Google_Service_Dataproc_LoggingConfig $loggingConfig)
+ {
+ $this->loggingConfig = $loggingConfig;
+ }
+ public function getLoggingConfig()
+ {
+ return $this->loggingConfig;
+ }
+ public function setMainPythonFileUri($mainPythonFileUri)
+ {
+ $this->mainPythonFileUri = $mainPythonFileUri;
+ }
+ public function getMainPythonFileUri()
+ {
+ return $this->mainPythonFileUri;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+ public function setPythonFileUris($pythonFileUris)
+ {
+ $this->pythonFileUris = $pythonFileUris;
+ }
+ public function getPythonFileUris()
+ {
+ return $this->pythonFileUris;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/QueryList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/QueryList.php
new file mode 100644
index 00000000..a14da25d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/QueryList.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_QueryList extends Google_Collection
+{
+ protected $collection_key = 'queries';
+ public $queries;
+
+ public function setQueries($queries)
+ {
+ $this->queries = $queries;
+ }
+ public function getQueries()
+ {
+ return $this->queries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/Projects.php
new file mode 100644
index 00000000..505f9dd5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/Projects.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dataprocService = new Google_Service_Dataproc(...);
+ * $projects = $dataprocService->projects;
+ * </code>
+ */
+class Google_Service_Dataproc_Resource_Projects extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegions.php
new file mode 100644
index 00000000..ba626814
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegions.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "regions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dataprocService = new Google_Service_Dataproc(...);
+ * $regions = $dataprocService->regions;
+ * </code>
+ */
+class Google_Service_Dataproc_Resource_ProjectsRegions extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsClusters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsClusters.php
new file mode 100644
index 00000000..77c97dd1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsClusters.php
@@ -0,0 +1,162 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "clusters" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dataprocService = new Google_Service_Dataproc(...);
+ * $clusters = $dataprocService->clusters;
+ * </code>
+ */
+class Google_Service_Dataproc_Resource_ProjectsRegionsClusters extends Google_Service_Resource
+{
+ /**
+ * Creates a cluster in a project. (clusters.create)
+ *
+ * @param string $projectId Required The ID of the Google Cloud Platform project
+ * that the cluster belongs to.
+ * @param string $region Required The Cloud Dataproc region in which to handle
+ * the request.
+ * @param Google_Service_Dataproc_Cluster $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataproc_Operation
+ */
+ public function create($projectId, $region, Google_Service_Dataproc_Cluster $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Dataproc_Operation");
+ }
+ /**
+ * Deletes a cluster in a project. (clusters.delete)
+ *
+ * @param string $projectId Required The ID of the Google Cloud Platform project
+ * that the cluster belongs to.
+ * @param string $region Required The Cloud Dataproc region in which to handle
+ * the request.
+ * @param string $clusterName Required The cluster name.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataproc_Operation
+ */
+ public function delete($projectId, $region, $clusterName, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'clusterName' => $clusterName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Dataproc_Operation");
+ }
+ /**
+ * Gets cluster diagnostic information. After the operation completes, the
+ * Operation.response field contains DiagnoseClusterOutputLocation.
+ * (clusters.diagnose)
+ *
+ * @param string $projectId Required The ID of the Google Cloud Platform project
+ * that the cluster belongs to.
+ * @param string $region Required The Cloud Dataproc region in which to handle
+ * the request.
+ * @param string $clusterName Required The cluster name.
+ * @param Google_Service_Dataproc_DiagnoseClusterRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataproc_Operation
+ */
+ public function diagnose($projectId, $region, $clusterName, Google_Service_Dataproc_DiagnoseClusterRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'clusterName' => $clusterName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('diagnose', array($params), "Google_Service_Dataproc_Operation");
+ }
+ /**
+ * Gets the resource representation for a cluster in a project. (clusters.get)
+ *
+ * @param string $projectId Required The ID of the Google Cloud Platform project
+ * that the cluster belongs to.
+ * @param string $region Required The Cloud Dataproc region in which to handle
+ * the request.
+ * @param string $clusterName Required The cluster name.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataproc_Cluster
+ */
+ public function get($projectId, $region, $clusterName, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'clusterName' => $clusterName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dataproc_Cluster");
+ }
+ /**
+ * Lists all regions/{region}/clusters in a project.
+ * (clusters.listProjectsRegionsClusters)
+ *
+ * @param string $projectId Required The ID of the Google Cloud Platform project
+ * that the cluster belongs to.
+ * @param string $region Required The Cloud Dataproc region in which to handle
+ * the request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional A filter constraining the clusters to list.
+ * Filters are case-sensitive and have the following syntax:field = value AND
+ * field = value ...where field is one of status.state, clusterName, or
+ * labels.[KEY], and [KEY] is a label key. value can be * to match all values.
+ * status.state can be one of the following: ACTIVE, INACTIVE, CREATING,
+ * RUNNING, ERROR, DELETING, or UPDATING. ACTIVE contains the CREATING,
+ * UPDATING, and RUNNING states. INACTIVE contains the DELETING and ERROR
+ * states. clusterName is the name of the cluster provided at creation time.
+ * Only the logical AND operator is supported; space-separated items are treated
+ * as having an implicit AND operator.Example filter:status.state = ACTIVE AND
+ * clusterName = mycluster AND labels.env = staging AND labels.starred = *
+ * @opt_param string pageToken Optional The standard List page token.
+ * @opt_param int pageSize Optional The standard List page size.
+ * @return Google_Service_Dataproc_ListClustersResponse
+ */
+ public function listProjectsRegionsClusters($projectId, $region, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dataproc_ListClustersResponse");
+ }
+ /**
+ * Updates a cluster in a project. (clusters.patch)
+ *
+ * @param string $projectId Required The ID of the Google Cloud Platform project
+ * the cluster belongs to.
+ * @param string $region Required The Cloud Dataproc region in which to handle
+ * the request.
+ * @param string $clusterName Required The cluster name.
+ * @param Google_Service_Dataproc_Cluster $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask Required Specifies the path, relative to
+ * Cluster, of the field to update. For example, to change the number of workers
+ * in a cluster to 5, the update_mask parameter would be specified as
+ * config.worker_config.num_instances, and the PATCH request body would specify
+ * the new value, as follows: { "config":{ "workerConfig":{
+ * "numInstances":"5" } } } Similarly, to change the number of preemptible
+ * workers in a cluster to 5, the update_mask parameter would be
+ * config.secondary_worker_config.num_instances, and the PATCH request body
+ * would be set as follows: { "config":{ "secondaryWorkerConfig":{
+ * "numInstances":"5" } } } Note: Currently,
+ * config.worker_config.num_instances and
+ * config.secondary_worker_config.num_instances are the only fields that can be
+ * updated.
+ * @return Google_Service_Dataproc_Operation
+ */
+ public function patch($projectId, $region, $clusterName, Google_Service_Dataproc_Cluster $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'clusterName' => $clusterName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dataproc_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsJobs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsJobs.php
new file mode 100644
index 00000000..23cb52ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsJobs.php
@@ -0,0 +1,156 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dataprocService = new Google_Service_Dataproc(...);
+ * $jobs = $dataprocService->jobs;
+ * </code>
+ */
+class Google_Service_Dataproc_Resource_ProjectsRegionsJobs extends Google_Service_Resource
+{
+ /**
+ * Starts a job cancellation request. To access the job resource after
+ * cancellation, call regions/{region}/jobs.list or regions/{region}/jobs.get.
+ * (jobs.cancel)
+ *
+ * @param string $projectId Required The ID of the Google Cloud Platform project
+ * that the job belongs to.
+ * @param string $region Required The Cloud Dataproc region in which to handle
+ * the request.
+ * @param string $jobId Required The job ID.
+ * @param Google_Service_Dataproc_CancelJobRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataproc_Job
+ */
+ public function cancel($projectId, $region, $jobId, Google_Service_Dataproc_CancelJobRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_Dataproc_Job");
+ }
+ /**
+ * Deletes the job from the project. If the job is active, the delete fails, and
+ * the response returns FAILED_PRECONDITION. (jobs.delete)
+ *
+ * @param string $projectId Required The ID of the Google Cloud Platform project
+ * that the job belongs to.
+ * @param string $region Required The Cloud Dataproc region in which to handle
+ * the request.
+ * @param string $jobId Required The job ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataproc_DataprocEmpty
+ */
+ public function delete($projectId, $region, $jobId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Dataproc_DataprocEmpty");
+ }
+ /**
+ * Gets the resource representation for a job in a project. (jobs.get)
+ *
+ * @param string $projectId Required The ID of the Google Cloud Platform project
+ * that the job belongs to.
+ * @param string $region Required The Cloud Dataproc region in which to handle
+ * the request.
+ * @param string $jobId Required The job ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataproc_Job
+ */
+ public function get($projectId, $region, $jobId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dataproc_Job");
+ }
+ /**
+ * Lists regions/{region}/jobs in a project. (jobs.listProjectsRegionsJobs)
+ *
+ * @param string $projectId Required The ID of the Google Cloud Platform project
+ * that the job belongs to.
+ * @param string $region Required The Cloud Dataproc region in which to handle
+ * the request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional The page token, returned by a previous
+ * call, to request the next page of results.
+ * @opt_param int pageSize Optional The number of results to return in each
+ * response.
+ * @opt_param string clusterName Optional If set, the returned jobs list
+ * includes only jobs that were submitted to the named cluster.
+ * @opt_param string filter Optional A filter constraining the jobs to list.
+ * Filters are case-sensitive and have the following syntax:field = value AND
+ * field = value ...where field is status.state or labels.[KEY], and [KEY] is a
+ * label key. value can be * to match all values. status.state can be either
+ * ACTIVE or INACTIVE. Only the logical AND operator is supported; space-
+ * separated items are treated as having an implicit AND operator.Example
+ * filter:status.state = ACTIVE AND labels.env = staging AND labels.starred = *
+ * @opt_param string jobStateMatcher Optional Specifies enumerated categories of
+ * jobs to list (default = match ALL jobs).
+ * @return Google_Service_Dataproc_ListJobsResponse
+ */
+ public function listProjectsRegionsJobs($projectId, $region, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dataproc_ListJobsResponse");
+ }
+ /**
+ * Updates a job in a project. (jobs.patch)
+ *
+ * @param string $projectId Required The ID of the Google Cloud Platform project
+ * that the job belongs to.
+ * @param string $region Required The Cloud Dataproc region in which to handle
+ * the request.
+ * @param string $jobId Required The job ID.
+ * @param Google_Service_Dataproc_Job $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask Required Specifies the path, relative to Job, of
+ * the field to update. For example, to update the labels of a Job the
+ * update_mask parameter would be specified as labels, and the PATCH request
+ * body would specify the new value. Note: Currently, labels is the only field
+ * that can be updated.
+ * @return Google_Service_Dataproc_Job
+ */
+ public function patch($projectId, $region, $jobId, Google_Service_Dataproc_Job $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dataproc_Job");
+ }
+ /**
+ * Submits a job to a cluster. (jobs.submit)
+ *
+ * @param string $projectId Required The ID of the Google Cloud Platform project
+ * that the job belongs to.
+ * @param string $region Required The Cloud Dataproc region in which to handle
+ * the request.
+ * @param Google_Service_Dataproc_SubmitJobRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataproc_Job
+ */
+ public function submit($projectId, $region, Google_Service_Dataproc_SubmitJobRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('submit', array($params), "Google_Service_Dataproc_Job");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsOperations.php
new file mode 100644
index 00000000..b366e26b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsOperations.php
@@ -0,0 +1,101 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dataprocService = new Google_Service_Dataproc(...);
+ * $operations = $dataprocService->operations;
+ * </code>
+ */
+class Google_Service_Dataproc_Resource_ProjectsRegionsOperations extends Google_Service_Resource
+{
+ /**
+ * Starts asynchronous cancellation on a long-running operation. The server
+ * makes a best effort to cancel the operation, but success is not guaranteed.
+ * If the server doesn't support this method, it returns
+ * google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or
+ * other methods to check whether the cancellation succeeded or whether the
+ * operation completed despite cancellation. On successful cancellation, the
+ * operation is not deleted; instead, it becomes an operation with an
+ * Operation.error value with a google.rpc.Status.code of 1, corresponding to
+ * Code.CANCELLED. (operations.cancel)
+ *
+ * @param string $name The name of the operation resource to be cancelled.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataproc_DataprocEmpty
+ */
+ public function cancel($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_Dataproc_DataprocEmpty");
+ }
+ /**
+ * Deletes a long-running operation. This method indicates that the client is no
+ * longer interested in the operation result. It does not cancel the operation.
+ * If the server doesn't support this method, it returns
+ * google.rpc.Code.UNIMPLEMENTED. (operations.delete)
+ *
+ * @param string $name The name of the operation resource to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataproc_DataprocEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Dataproc_DataprocEmpty");
+ }
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this
+ * method to poll the operation result at intervals as recommended by the API
+ * service. (operations.get)
+ *
+ * @param string $name The name of the operation resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataproc_Operation
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dataproc_Operation");
+ }
+ /**
+ * Lists operations that match the specified filter in the request. If the
+ * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name
+ * binding below allows API services to override the binding to use different
+ * resource name schemes, such as users/operations.
+ * (operations.listProjectsRegionsOperations)
+ *
+ * @param string $name The name of the operation collection.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize The standard list page size.
+ * @opt_param string filter The standard list filter.
+ * @opt_param string pageToken The standard list page token.
+ * @return Google_Service_Dataproc_ListOperationsResponse
+ */
+ public function listProjectsRegionsOperations($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dataproc_ListOperationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SoftwareConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SoftwareConfig.php
new file mode 100644
index 00000000..26abe390
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SoftwareConfig.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_SoftwareConfig extends Google_Model
+{
+ public $imageVersion;
+ public $properties;
+
+ public function setImageVersion($imageVersion)
+ {
+ $this->imageVersion = $imageVersion;
+ }
+ public function getImageVersion()
+ {
+ return $this->imageVersion;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SparkJob.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SparkJob.php
new file mode 100644
index 00000000..845b7e88
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SparkJob.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_SparkJob extends Google_Collection
+{
+ protected $collection_key = 'jarFileUris';
+ public $archiveUris;
+ public $args;
+ public $fileUris;
+ public $jarFileUris;
+ protected $loggingConfigType = 'Google_Service_Dataproc_LoggingConfig';
+ protected $loggingConfigDataType = '';
+ public $mainClass;
+ public $mainJarFileUri;
+ public $properties;
+
+ public function setArchiveUris($archiveUris)
+ {
+ $this->archiveUris = $archiveUris;
+ }
+ public function getArchiveUris()
+ {
+ return $this->archiveUris;
+ }
+ public function setArgs($args)
+ {
+ $this->args = $args;
+ }
+ public function getArgs()
+ {
+ return $this->args;
+ }
+ public function setFileUris($fileUris)
+ {
+ $this->fileUris = $fileUris;
+ }
+ public function getFileUris()
+ {
+ return $this->fileUris;
+ }
+ public function setJarFileUris($jarFileUris)
+ {
+ $this->jarFileUris = $jarFileUris;
+ }
+ public function getJarFileUris()
+ {
+ return $this->jarFileUris;
+ }
+ public function setLoggingConfig(Google_Service_Dataproc_LoggingConfig $loggingConfig)
+ {
+ $this->loggingConfig = $loggingConfig;
+ }
+ public function getLoggingConfig()
+ {
+ return $this->loggingConfig;
+ }
+ public function setMainClass($mainClass)
+ {
+ $this->mainClass = $mainClass;
+ }
+ public function getMainClass()
+ {
+ return $this->mainClass;
+ }
+ public function setMainJarFileUri($mainJarFileUri)
+ {
+ $this->mainJarFileUri = $mainJarFileUri;
+ }
+ public function getMainJarFileUri()
+ {
+ return $this->mainJarFileUri;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SparkSqlJob.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SparkSqlJob.php
new file mode 100644
index 00000000..d5dba5d8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SparkSqlJob.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_SparkSqlJob extends Google_Collection
+{
+ protected $collection_key = 'jarFileUris';
+ public $jarFileUris;
+ protected $loggingConfigType = 'Google_Service_Dataproc_LoggingConfig';
+ protected $loggingConfigDataType = '';
+ public $properties;
+ public $queryFileUri;
+ protected $queryListType = 'Google_Service_Dataproc_QueryList';
+ protected $queryListDataType = '';
+ public $scriptVariables;
+
+ public function setJarFileUris($jarFileUris)
+ {
+ $this->jarFileUris = $jarFileUris;
+ }
+ public function getJarFileUris()
+ {
+ return $this->jarFileUris;
+ }
+ public function setLoggingConfig(Google_Service_Dataproc_LoggingConfig $loggingConfig)
+ {
+ $this->loggingConfig = $loggingConfig;
+ }
+ public function getLoggingConfig()
+ {
+ return $this->loggingConfig;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+ public function setQueryFileUri($queryFileUri)
+ {
+ $this->queryFileUri = $queryFileUri;
+ }
+ public function getQueryFileUri()
+ {
+ return $this->queryFileUri;
+ }
+ public function setQueryList(Google_Service_Dataproc_QueryList $queryList)
+ {
+ $this->queryList = $queryList;
+ }
+ public function getQueryList()
+ {
+ return $this->queryList;
+ }
+ public function setScriptVariables($scriptVariables)
+ {
+ $this->scriptVariables = $scriptVariables;
+ }
+ public function getScriptVariables()
+ {
+ return $this->scriptVariables;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Status.php
new file mode 100644
index 00000000..55bc1464
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SubmitJobRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SubmitJobRequest.php
new file mode 100644
index 00000000..e35ec7c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SubmitJobRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_SubmitJobRequest extends Google_Model
+{
+ protected $jobType = 'Google_Service_Dataproc_Job';
+ protected $jobDataType = '';
+
+ public function setJob(Google_Service_Dataproc_Job $job)
+ {
+ $this->job = $job;
+ }
+ public function getJob()
+ {
+ return $this->job;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/YarnApplication.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/YarnApplication.php
new file mode 100644
index 00000000..3e9ec6b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/YarnApplication.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dataproc_YarnApplication extends Google_Model
+{
+ public $name;
+ public $progress;
+ public $state;
+ public $trackingUrl;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setTrackingUrl($trackingUrl)
+ {
+ $this->trackingUrl = $trackingUrl;
+ }
+ public function getTrackingUrl()
+ {
+ return $this->trackingUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore.php
new file mode 100644
index 00000000..f51d9628
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore.php
@@ -0,0 +1,127 @@
+<?php
+/*
+ * Copyright 2016 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 (v1).
+ *
+ * <p>
+ * Accesses the schemaless NoSQL database to provide fully managed, robust,
+ * scalable storage for your application.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/datastore/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Datastore extends 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";
+
+ public $projects;
+
+ /**
+ * Constructs the internal representation of the Datastore service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://datastore.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'datastore';
+
+ $this->projects = new Google_Service_Datastore_Resource_Projects(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'allocateIds' => array(
+ 'path' => 'v1/projects/{projectId}:allocateIds',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'beginTransaction' => array(
+ 'path' => 'v1/projects/{projectId}:beginTransaction',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'commit' => array(
+ 'path' => 'v1/projects/{projectId}:commit',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'lookup' => array(
+ 'path' => 'v1/projects/{projectId}:lookup',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'rollback' => array(
+ 'path' => 'v1/projects/{projectId}:rollback',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'runQuery' => array(
+ 'path' => 'v1/projects/{projectId}:runQuery',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/AllocateIdsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/AllocateIdsRequest.php
new file mode 100644
index 00000000..a188b51e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/AllocateIdsRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_AllocateIdsRequest extends Google_Collection
+{
+ protected $collection_key = 'keys';
+ protected $keysType = 'Google_Service_Datastore_Key';
+ protected $keysDataType = 'array';
+
+ public function setKeys($keys)
+ {
+ $this->keys = $keys;
+ }
+ public function getKeys()
+ {
+ return $this->keys;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/AllocateIdsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/AllocateIdsResponse.php
new file mode 100644
index 00000000..19fbe936
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/AllocateIdsResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_AllocateIdsResponse extends Google_Collection
+{
+ protected $collection_key = 'keys';
+ protected $keysType = 'Google_Service_Datastore_Key';
+ protected $keysDataType = 'array';
+
+ public function setKeys($keys)
+ {
+ $this->keys = $keys;
+ }
+ public function getKeys()
+ {
+ return $this->keys;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/ArrayValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/ArrayValue.php
new file mode 100644
index 00000000..70ce9602
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/ArrayValue.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_ArrayValue extends Google_Collection
+{
+ protected $collection_key = 'values';
+ protected $valuesType = 'Google_Service_Datastore_Value';
+ protected $valuesDataType = 'array';
+
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/BeginTransactionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/BeginTransactionRequest.php
new file mode 100644
index 00000000..407ed6e7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/BeginTransactionRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_BeginTransactionRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/BeginTransactionResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/BeginTransactionResponse.php
new file mode 100644
index 00000000..542a9df3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/BeginTransactionResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_BeginTransactionResponse extends Google_Model
+{
+ public $transaction;
+
+ public function setTransaction($transaction)
+ {
+ $this->transaction = $transaction;
+ }
+ public function getTransaction()
+ {
+ return $this->transaction;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CommitRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CommitRequest.php
new file mode 100644
index 00000000..cbb98544
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CommitRequest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_CommitRequest extends Google_Collection
+{
+ protected $collection_key = 'mutations';
+ public $mode;
+ protected $mutationsType = 'Google_Service_Datastore_Mutation';
+ protected $mutationsDataType = 'array';
+ public $transaction;
+
+ public function setMode($mode)
+ {
+ $this->mode = $mode;
+ }
+ public function getMode()
+ {
+ return $this->mode;
+ }
+ public function setMutations($mutations)
+ {
+ $this->mutations = $mutations;
+ }
+ public function getMutations()
+ {
+ return $this->mutations;
+ }
+ public function setTransaction($transaction)
+ {
+ $this->transaction = $transaction;
+ }
+ public function getTransaction()
+ {
+ return $this->transaction;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CommitResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CommitResponse.php
new file mode 100644
index 00000000..93395723
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CommitResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_CommitResponse extends Google_Collection
+{
+ protected $collection_key = 'mutationResults';
+ public $indexUpdates;
+ protected $mutationResultsType = 'Google_Service_Datastore_MutationResult';
+ protected $mutationResultsDataType = 'array';
+
+ public function setIndexUpdates($indexUpdates)
+ {
+ $this->indexUpdates = $indexUpdates;
+ }
+ public function getIndexUpdates()
+ {
+ return $this->indexUpdates;
+ }
+ public function setMutationResults($mutationResults)
+ {
+ $this->mutationResults = $mutationResults;
+ }
+ public function getMutationResults()
+ {
+ return $this->mutationResults;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CompositeFilter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CompositeFilter.php
new file mode 100644
index 00000000..e9774d7a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CompositeFilter.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_CompositeFilter extends Google_Collection
+{
+ protected $collection_key = 'filters';
+ protected $filtersType = 'Google_Service_Datastore_Filter';
+ protected $filtersDataType = 'array';
+ public $op;
+
+ public function setFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+ public function setOp($op)
+ {
+ $this->op = $op;
+ }
+ public function getOp()
+ {
+ return $this->op;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Entity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Entity.php
new file mode 100644
index 00000000..dbc9e52f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Entity.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_Entity extends Google_Model
+{
+ protected $keyType = 'Google_Service_Datastore_Key';
+ protected $keyDataType = '';
+ protected $propertiesType = 'Google_Service_Datastore_Value';
+ protected $propertiesDataType = 'map';
+
+ public function setKey(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/EntityResult.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/EntityResult.php
new file mode 100644
index 00000000..41fae807
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/EntityResult.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_EntityResult extends Google_Model
+{
+ public $cursor;
+ protected $entityType = 'Google_Service_Datastore_Entity';
+ protected $entityDataType = '';
+ public $version;
+
+ public function setCursor($cursor)
+ {
+ $this->cursor = $cursor;
+ }
+ public function getCursor()
+ {
+ return $this->cursor;
+ }
+ public function setEntity(Google_Service_Datastore_Entity $entity)
+ {
+ $this->entity = $entity;
+ }
+ public function getEntity()
+ {
+ return $this->entity;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Filter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Filter.php
new file mode 100644
index 00000000..579c95c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Filter.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_Filter extends Google_Model
+{
+ protected $compositeFilterType = 'Google_Service_Datastore_CompositeFilter';
+ protected $compositeFilterDataType = '';
+ protected $propertyFilterType = 'Google_Service_Datastore_PropertyFilter';
+ protected $propertyFilterDataType = '';
+
+ public function setCompositeFilter(Google_Service_Datastore_CompositeFilter $compositeFilter)
+ {
+ $this->compositeFilter = $compositeFilter;
+ }
+ public function getCompositeFilter()
+ {
+ return $this->compositeFilter;
+ }
+ public function setPropertyFilter(Google_Service_Datastore_PropertyFilter $propertyFilter)
+ {
+ $this->propertyFilter = $propertyFilter;
+ }
+ public function getPropertyFilter()
+ {
+ return $this->propertyFilter;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/GqlQuery.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/GqlQuery.php
new file mode 100644
index 00000000..271d43e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/GqlQuery.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_GqlQuery extends Google_Collection
+{
+ protected $collection_key = 'positionalBindings';
+ public $allowLiterals;
+ protected $namedBindingsType = 'Google_Service_Datastore_GqlQueryParameter';
+ protected $namedBindingsDataType = 'map';
+ protected $positionalBindingsType = 'Google_Service_Datastore_GqlQueryParameter';
+ protected $positionalBindingsDataType = 'array';
+ public $queryString;
+
+ public function setAllowLiterals($allowLiterals)
+ {
+ $this->allowLiterals = $allowLiterals;
+ }
+ public function getAllowLiterals()
+ {
+ return $this->allowLiterals;
+ }
+ public function setNamedBindings($namedBindings)
+ {
+ $this->namedBindings = $namedBindings;
+ }
+ public function getNamedBindings()
+ {
+ return $this->namedBindings;
+ }
+ public function setPositionalBindings($positionalBindings)
+ {
+ $this->positionalBindings = $positionalBindings;
+ }
+ public function getPositionalBindings()
+ {
+ return $this->positionalBindings;
+ }
+ public function setQueryString($queryString)
+ {
+ $this->queryString = $queryString;
+ }
+ public function getQueryString()
+ {
+ return $this->queryString;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/GqlQueryParameter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/GqlQueryParameter.php
new file mode 100644
index 00000000..fa47a775
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/GqlQueryParameter.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_GqlQueryParameter extends Google_Model
+{
+ public $cursor;
+ protected $valueType = 'Google_Service_Datastore_Value';
+ protected $valueDataType = '';
+
+ public function setCursor($cursor)
+ {
+ $this->cursor = $cursor;
+ }
+ public function getCursor()
+ {
+ return $this->cursor;
+ }
+ public function setValue(Google_Service_Datastore_Value $value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Key.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Key.php
new file mode 100644
index 00000000..0febfdf9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Key.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_Key extends Google_Collection
+{
+ protected $collection_key = 'path';
+ protected $partitionIdType = 'Google_Service_Datastore_PartitionId';
+ protected $partitionIdDataType = '';
+ protected $pathType = 'Google_Service_Datastore_PathElement';
+ protected $pathDataType = 'array';
+
+ public function setPartitionId(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/KindExpression.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/KindExpression.php
new file mode 100644
index 00000000..5831a6a2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/KindExpression.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_KindExpression extends Google_Model
+{
+ public $name;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LatLng.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LatLng.php
new file mode 100644
index 00000000..e5eae8fb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LatLng.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_LatLng extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LookupRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LookupRequest.php
new file mode 100644
index 00000000..19a5f33e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LookupRequest.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_LookupRequest extends Google_Collection
+{
+ protected $collection_key = 'keys';
+ protected $keysType = 'Google_Service_Datastore_Key';
+ protected $keysDataType = 'array';
+ protected $readOptionsType = 'Google_Service_Datastore_ReadOptions';
+ protected $readOptionsDataType = '';
+
+ public function setKeys($keys)
+ {
+ $this->keys = $keys;
+ }
+ public function getKeys()
+ {
+ return $this->keys;
+ }
+ public function setReadOptions(Google_Service_Datastore_ReadOptions $readOptions)
+ {
+ $this->readOptions = $readOptions;
+ }
+ public function getReadOptions()
+ {
+ return $this->readOptions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LookupResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LookupResponse.php
new file mode 100644
index 00000000..9568c94e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LookupResponse.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_LookupResponse extends Google_Collection
+{
+ protected $collection_key = 'missing';
+ protected $deferredType = 'Google_Service_Datastore_Key';
+ protected $deferredDataType = 'array';
+ protected $foundType = 'Google_Service_Datastore_EntityResult';
+ protected $foundDataType = 'array';
+ protected $missingType = '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 setMissing($missing)
+ {
+ $this->missing = $missing;
+ }
+ public function getMissing()
+ {
+ return $this->missing;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Mutation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Mutation.php
new file mode 100644
index 00000000..6be38521
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Mutation.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_Mutation extends Google_Model
+{
+ public $baseVersion;
+ protected $deleteType = 'Google_Service_Datastore_Key';
+ protected $deleteDataType = '';
+ protected $insertType = 'Google_Service_Datastore_Entity';
+ protected $insertDataType = '';
+ protected $updateType = 'Google_Service_Datastore_Entity';
+ protected $updateDataType = '';
+ protected $upsertType = 'Google_Service_Datastore_Entity';
+ protected $upsertDataType = '';
+
+ public function setBaseVersion($baseVersion)
+ {
+ $this->baseVersion = $baseVersion;
+ }
+ public function getBaseVersion()
+ {
+ return $this->baseVersion;
+ }
+ public function setDelete(Google_Service_Datastore_Key $delete)
+ {
+ $this->delete = $delete;
+ }
+ public function getDelete()
+ {
+ return $this->delete;
+ }
+ public function setInsert(Google_Service_Datastore_Entity $insert)
+ {
+ $this->insert = $insert;
+ }
+ public function getInsert()
+ {
+ return $this->insert;
+ }
+ public function setUpdate(Google_Service_Datastore_Entity $update)
+ {
+ $this->update = $update;
+ }
+ public function getUpdate()
+ {
+ return $this->update;
+ }
+ public function setUpsert(Google_Service_Datastore_Entity $upsert)
+ {
+ $this->upsert = $upsert;
+ }
+ public function getUpsert()
+ {
+ return $this->upsert;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/MutationResult.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/MutationResult.php
new file mode 100644
index 00000000..9016d38e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/MutationResult.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_MutationResult extends Google_Model
+{
+ public $conflictDetected;
+ protected $keyType = 'Google_Service_Datastore_Key';
+ protected $keyDataType = '';
+ public $version;
+
+ public function setConflictDetected($conflictDetected)
+ {
+ $this->conflictDetected = $conflictDetected;
+ }
+ public function getConflictDetected()
+ {
+ return $this->conflictDetected;
+ }
+ public function setKey(Google_Service_Datastore_Key $key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PartitionId.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PartitionId.php
new file mode 100644
index 00000000..39a95139
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PartitionId.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_PartitionId extends Google_Model
+{
+ public $namespaceId;
+ public $projectId;
+
+ public function setNamespaceId($namespaceId)
+ {
+ $this->namespaceId = $namespaceId;
+ }
+ public function getNamespaceId()
+ {
+ return $this->namespaceId;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PathElement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PathElement.php
new file mode 100644
index 00000000..9ff2480e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PathElement.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_PathElement extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Projection.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Projection.php
new file mode 100644
index 00000000..2576f2ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Projection.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_Projection extends Google_Model
+{
+ protected $propertyType = 'Google_Service_Datastore_PropertyReference';
+ protected $propertyDataType = '';
+
+ public function setProperty(Google_Service_Datastore_PropertyReference $property)
+ {
+ $this->property = $property;
+ }
+ public function getProperty()
+ {
+ return $this->property;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyFilter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyFilter.php
new file mode 100644
index 00000000..b6331bd4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyFilter.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_PropertyFilter extends Google_Model
+{
+ public $op;
+ protected $propertyType = 'Google_Service_Datastore_PropertyReference';
+ protected $propertyDataType = '';
+ protected $valueType = 'Google_Service_Datastore_Value';
+ protected $valueDataType = '';
+
+ public function setOp($op)
+ {
+ $this->op = $op;
+ }
+ public function getOp()
+ {
+ return $this->op;
+ }
+ public function setProperty(Google_Service_Datastore_PropertyReference $property)
+ {
+ $this->property = $property;
+ }
+ public function getProperty()
+ {
+ return $this->property;
+ }
+ public function setValue(Google_Service_Datastore_Value $value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyOrder.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyOrder.php
new file mode 100644
index 00000000..ae15b758
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyOrder.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_PropertyOrder extends Google_Model
+{
+ public $direction;
+ protected $propertyType = 'Google_Service_Datastore_PropertyReference';
+ protected $propertyDataType = '';
+
+ public function setDirection($direction)
+ {
+ $this->direction = $direction;
+ }
+ public function getDirection()
+ {
+ return $this->direction;
+ }
+ public function setProperty(Google_Service_Datastore_PropertyReference $property)
+ {
+ $this->property = $property;
+ }
+ public function getProperty()
+ {
+ return $this->property;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyReference.php
new file mode 100644
index 00000000..bc565d58
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyReference.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_PropertyReference extends Google_Model
+{
+ public $name;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Query.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Query.php
new file mode 100644
index 00000000..c3c32780
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Query.php
@@ -0,0 +1,108 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_Query extends Google_Collection
+{
+ protected $collection_key = 'projection';
+ protected $distinctOnType = 'Google_Service_Datastore_PropertyReference';
+ protected $distinctOnDataType = 'array';
+ public $endCursor;
+ protected $filterType = 'Google_Service_Datastore_Filter';
+ protected $filterDataType = '';
+ protected $kindType = 'Google_Service_Datastore_KindExpression';
+ protected $kindDataType = 'array';
+ public $limit;
+ public $offset;
+ protected $orderType = 'Google_Service_Datastore_PropertyOrder';
+ protected $orderDataType = 'array';
+ protected $projectionType = 'Google_Service_Datastore_Projection';
+ protected $projectionDataType = 'array';
+ public $startCursor;
+
+ public function setDistinctOn($distinctOn)
+ {
+ $this->distinctOn = $distinctOn;
+ }
+ public function getDistinctOn()
+ {
+ return $this->distinctOn;
+ }
+ public function setEndCursor($endCursor)
+ {
+ $this->endCursor = $endCursor;
+ }
+ public function getEndCursor()
+ {
+ return $this->endCursor;
+ }
+ public function setFilter(Google_Service_Datastore_Filter $filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/QueryResultBatch.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/QueryResultBatch.php
new file mode 100644
index 00000000..268c7737
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/QueryResultBatch.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_QueryResultBatch extends Google_Collection
+{
+ protected $collection_key = 'entityResults';
+ public $endCursor;
+ public $entityResultType;
+ protected $entityResultsType = 'Google_Service_Datastore_EntityResult';
+ protected $entityResultsDataType = 'array';
+ public $moreResults;
+ public $skippedCursor;
+ public $skippedResults;
+ public $snapshotVersion;
+
+ 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 setSkippedCursor($skippedCursor)
+ {
+ $this->skippedCursor = $skippedCursor;
+ }
+ public function getSkippedCursor()
+ {
+ return $this->skippedCursor;
+ }
+ public function setSkippedResults($skippedResults)
+ {
+ $this->skippedResults = $skippedResults;
+ }
+ public function getSkippedResults()
+ {
+ return $this->skippedResults;
+ }
+ public function setSnapshotVersion($snapshotVersion)
+ {
+ $this->snapshotVersion = $snapshotVersion;
+ }
+ public function getSnapshotVersion()
+ {
+ return $this->snapshotVersion;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/ReadOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/ReadOptions.php
new file mode 100644
index 00000000..7e934ec0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/ReadOptions.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_ReadOptions extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Resource/Projects.php
new file mode 100644
index 00000000..e786e729
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Resource/Projects.php
@@ -0,0 +1,120 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $datastoreService = new Google_Service_Datastore(...);
+ * $projects = $datastoreService->projects;
+ * </code>
+ */
+class Google_Service_Datastore_Resource_Projects extends Google_Service_Resource
+{
+ /**
+ * Allocates IDs for the given keys, which is useful for referencing an entity
+ * before it is inserted. (projects.allocateIds)
+ *
+ * @param string $projectId The ID of the project against which to make the
+ * request.
+ * @param Google_Service_Datastore_AllocateIdsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Datastore_AllocateIdsResponse
+ */
+ public function allocateIds($projectId, Google_Service_Datastore_AllocateIdsRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('allocateIds', array($params), "Google_Service_Datastore_AllocateIdsResponse");
+ }
+ /**
+ * Begins a new transaction. (projects.beginTransaction)
+ *
+ * @param string $projectId The ID of the project against which to make the
+ * request.
+ * @param Google_Service_Datastore_BeginTransactionRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Datastore_BeginTransactionResponse
+ */
+ public function beginTransaction($projectId, Google_Service_Datastore_BeginTransactionRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('beginTransaction', array($params), "Google_Service_Datastore_BeginTransactionResponse");
+ }
+ /**
+ * Commits a transaction, optionally creating, deleting or modifying some
+ * entities. (projects.commit)
+ *
+ * @param string $projectId The ID of the project against which to make the
+ * request.
+ * @param Google_Service_Datastore_CommitRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Datastore_CommitResponse
+ */
+ public function commit($projectId, Google_Service_Datastore_CommitRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('commit', array($params), "Google_Service_Datastore_CommitResponse");
+ }
+ /**
+ * Looks up entities by key. (projects.lookup)
+ *
+ * @param string $projectId The ID of the project against which to make the
+ * request.
+ * @param Google_Service_Datastore_LookupRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Datastore_LookupResponse
+ */
+ public function lookup($projectId, Google_Service_Datastore_LookupRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('lookup', array($params), "Google_Service_Datastore_LookupResponse");
+ }
+ /**
+ * Rolls back a transaction. (projects.rollback)
+ *
+ * @param string $projectId The ID of the project against which to make the
+ * request.
+ * @param Google_Service_Datastore_RollbackRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Datastore_RollbackResponse
+ */
+ public function rollback($projectId, Google_Service_Datastore_RollbackRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('rollback', array($params), "Google_Service_Datastore_RollbackResponse");
+ }
+ /**
+ * Queries for entities. (projects.runQuery)
+ *
+ * @param string $projectId The ID of the project against which to make the
+ * request.
+ * @param Google_Service_Datastore_RunQueryRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Datastore_RunQueryResponse
+ */
+ public function runQuery($projectId, Google_Service_Datastore_RunQueryRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('runQuery', array($params), "Google_Service_Datastore_RunQueryResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RollbackRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RollbackRequest.php
new file mode 100644
index 00000000..2faa9679
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RollbackRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_RollbackRequest extends Google_Model
+{
+ public $transaction;
+
+ public function setTransaction($transaction)
+ {
+ $this->transaction = $transaction;
+ }
+ public function getTransaction()
+ {
+ return $this->transaction;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RollbackResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RollbackResponse.php
new file mode 100644
index 00000000..d80eb517
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RollbackResponse.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_RollbackResponse extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RunQueryRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RunQueryRequest.php
new file mode 100644
index 00000000..d47fb563
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RunQueryRequest.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_RunQueryRequest extends Google_Model
+{
+ protected $gqlQueryType = 'Google_Service_Datastore_GqlQuery';
+ protected $gqlQueryDataType = '';
+ protected $partitionIdType = 'Google_Service_Datastore_PartitionId';
+ protected $partitionIdDataType = '';
+ protected $queryType = 'Google_Service_Datastore_Query';
+ protected $queryDataType = '';
+ protected $readOptionsType = 'Google_Service_Datastore_ReadOptions';
+ protected $readOptionsDataType = '';
+
+ public function setGqlQuery(Google_Service_Datastore_GqlQuery $gqlQuery)
+ {
+ $this->gqlQuery = $gqlQuery;
+ }
+ public function getGqlQuery()
+ {
+ return $this->gqlQuery;
+ }
+ public function setPartitionId(Google_Service_Datastore_PartitionId $partitionId)
+ {
+ $this->partitionId = $partitionId;
+ }
+ public function getPartitionId()
+ {
+ return $this->partitionId;
+ }
+ public function setQuery(Google_Service_Datastore_Query $query)
+ {
+ $this->query = $query;
+ }
+ public function getQuery()
+ {
+ return $this->query;
+ }
+ public function setReadOptions(Google_Service_Datastore_ReadOptions $readOptions)
+ {
+ $this->readOptions = $readOptions;
+ }
+ public function getReadOptions()
+ {
+ return $this->readOptions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RunQueryResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RunQueryResponse.php
new file mode 100644
index 00000000..201368c0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RunQueryResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_RunQueryResponse extends Google_Model
+{
+ protected $batchType = 'Google_Service_Datastore_QueryResultBatch';
+ protected $batchDataType = '';
+ protected $queryType = 'Google_Service_Datastore_Query';
+ protected $queryDataType = '';
+
+ public function setBatch(Google_Service_Datastore_QueryResultBatch $batch)
+ {
+ $this->batch = $batch;
+ }
+ public function getBatch()
+ {
+ return $this->batch;
+ }
+ public function setQuery(Google_Service_Datastore_Query $query)
+ {
+ $this->query = $query;
+ }
+ public function getQuery()
+ {
+ return $this->query;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Value.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Value.php
new file mode 100644
index 00000000..6d3c32d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Value.php
@@ -0,0 +1,142 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Datastore_Value extends Google_Model
+{
+ protected $arrayValueType = 'Google_Service_Datastore_ArrayValue';
+ protected $arrayValueDataType = '';
+ public $blobValue;
+ public $booleanValue;
+ public $doubleValue;
+ protected $entityValueType = 'Google_Service_Datastore_Entity';
+ protected $entityValueDataType = '';
+ public $excludeFromIndexes;
+ protected $geoPointValueType = 'Google_Service_Datastore_LatLng';
+ protected $geoPointValueDataType = '';
+ public $integerValue;
+ protected $keyValueType = 'Google_Service_Datastore_Key';
+ protected $keyValueDataType = '';
+ public $meaning;
+ public $nullValue;
+ public $stringValue;
+ public $timestampValue;
+
+ public function setArrayValue(Google_Service_Datastore_ArrayValue $arrayValue)
+ {
+ $this->arrayValue = $arrayValue;
+ }
+ public function getArrayValue()
+ {
+ return $this->arrayValue;
+ }
+ 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 setDoubleValue($doubleValue)
+ {
+ $this->doubleValue = $doubleValue;
+ }
+ public function getDoubleValue()
+ {
+ return $this->doubleValue;
+ }
+ public function setEntityValue(Google_Service_Datastore_Entity $entityValue)
+ {
+ $this->entityValue = $entityValue;
+ }
+ public function getEntityValue()
+ {
+ return $this->entityValue;
+ }
+ public function setExcludeFromIndexes($excludeFromIndexes)
+ {
+ $this->excludeFromIndexes = $excludeFromIndexes;
+ }
+ public function getExcludeFromIndexes()
+ {
+ return $this->excludeFromIndexes;
+ }
+ public function setGeoPointValue(Google_Service_Datastore_LatLng $geoPointValue)
+ {
+ $this->geoPointValue = $geoPointValue;
+ }
+ public function getGeoPointValue()
+ {
+ return $this->geoPointValue;
+ }
+ public function setIntegerValue($integerValue)
+ {
+ $this->integerValue = $integerValue;
+ }
+ public function getIntegerValue()
+ {
+ return $this->integerValue;
+ }
+ public function setKeyValue(Google_Service_Datastore_Key $keyValue)
+ {
+ $this->keyValue = $keyValue;
+ }
+ public function getKeyValue()
+ {
+ return $this->keyValue;
+ }
+ public function setMeaning($meaning)
+ {
+ $this->meaning = $meaning;
+ }
+ public function getMeaning()
+ {
+ return $this->meaning;
+ }
+ public function setNullValue($nullValue)
+ {
+ $this->nullValue = $nullValue;
+ }
+ public function getNullValue()
+ {
+ return $this->nullValue;
+ }
+ public function setStringValue($stringValue)
+ {
+ $this->stringValue = $stringValue;
+ }
+ public function getStringValue()
+ {
+ return $this->stringValue;
+ }
+ public function setTimestampValue($timestampValue)
+ {
+ $this->timestampValue = $timestampValue;
+ }
+ public function getTimestampValue()
+ {
+ return $this->timestampValue;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager.php
new file mode 100644
index 00000000..fe887c23
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager.php
@@ -0,0 +1,488 @@
+<?php
+/*
+ * Copyright 2016 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 DeploymentManager (v2).
+ *
+ * <p>
+ * Declares, configures, and deploys complex solutions on Google Cloud Platform.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/deployment-manager/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_DeploymentManager extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM_READ_ONLY =
+ "https://www.googleapis.com/auth/cloud-platform.read-only";
+ /** 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 $manifests;
+ public $operations;
+ public $resources;
+ public $types;
+
+ /**
+ * Constructs the internal representation of the DeploymentManager service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'deploymentmanager/v2/projects/';
+ $this->version = 'v2';
+ $this->serviceName = 'deploymentmanager';
+
+ $this->deployments = new Google_Service_DeploymentManager_Resource_Deployments(
+ $this,
+ $this->serviceName,
+ 'deployments',
+ array(
+ 'methods' => array(
+ 'cancelPreview' => array(
+ 'path' => '{project}/global/deployments/{deployment}/cancelPreview',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deployment' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/global/deployments/{deployment}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deployment' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deletePolicy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/deployments/{deployment}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deployment' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => '{project}/global/deployments/{resource}/getIamPolicy',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/deployments',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'preview' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/deployments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{project}/global/deployments/{deployment}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deployment' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'createPolicy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'deletePolicy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'preview' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => '{project}/global/deployments/{resource}/setIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'stop' => array(
+ 'path' => '{project}/global/deployments/{deployment}/stop',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deployment' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => '{project}/global/deployments/{resource}/testIamPermissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{project}/global/deployments/{deployment}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deployment' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'createPolicy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'deletePolicy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'preview' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->manifests = new Google_Service_DeploymentManager_Resource_Manifests(
+ $this,
+ $this->serviceName,
+ 'manifests',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{project}/global/deployments/{deployment}/manifests/{manifest}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deployment' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'manifest' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/deployments/{deployment}/manifests',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deployment' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->operations = new Google_Service_DeploymentManager_Resource_Operations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ '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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->resources = new Google_Service_DeploymentManager_Resource_Resources(
+ $this,
+ $this->serviceName,
+ 'resources',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{project}/global/deployments/{deployment}/resources/{resource}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deployment' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/deployments/{deployment}/resources',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deployment' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->types = new Google_Service_DeploymentManager_Resource_Types(
+ $this,
+ $this->serviceName,
+ 'types',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/global/types',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/AuditConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/AuditConfig.php
new file mode 100644
index 00000000..3dcd22fe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/AuditConfig.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_AuditConfig extends Google_Collection
+{
+ protected $collection_key = 'exemptedMembers';
+ protected $auditLogConfigsType = 'Google_Service_DeploymentManager_AuditLogConfig';
+ protected $auditLogConfigsDataType = 'array';
+ public $exemptedMembers;
+ public $service;
+
+ public function setAuditLogConfigs($auditLogConfigs)
+ {
+ $this->auditLogConfigs = $auditLogConfigs;
+ }
+ public function getAuditLogConfigs()
+ {
+ return $this->auditLogConfigs;
+ }
+ public function setExemptedMembers($exemptedMembers)
+ {
+ $this->exemptedMembers = $exemptedMembers;
+ }
+ public function getExemptedMembers()
+ {
+ return $this->exemptedMembers;
+ }
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+ public function getService()
+ {
+ return $this->service;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/AuditLogConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/AuditLogConfig.php
new file mode 100644
index 00000000..7cb4e52d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/AuditLogConfig.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_AuditLogConfig extends Google_Collection
+{
+ protected $collection_key = 'exemptedMembers';
+ public $exemptedMembers;
+ public $logType;
+
+ public function setExemptedMembers($exemptedMembers)
+ {
+ $this->exemptedMembers = $exemptedMembers;
+ }
+ public function getExemptedMembers()
+ {
+ return $this->exemptedMembers;
+ }
+ public function setLogType($logType)
+ {
+ $this->logType = $logType;
+ }
+ public function getLogType()
+ {
+ return $this->logType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Binding.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Binding.php
new file mode 100644
index 00000000..06bd6104
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Binding.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_Binding extends Google_Collection
+{
+ protected $collection_key = 'members';
+ public $members;
+ public $role;
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Condition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Condition.php
new file mode 100644
index 00000000..60097131
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Condition.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_Condition extends Google_Collection
+{
+ protected $collection_key = 'values';
+ public $iam;
+ public $op;
+ public $svc;
+ public $sys;
+ public $value;
+ public $values;
+
+ public function setIam($iam)
+ {
+ $this->iam = $iam;
+ }
+ public function getIam()
+ {
+ return $this->iam;
+ }
+ public function setOp($op)
+ {
+ $this->op = $op;
+ }
+ public function getOp()
+ {
+ return $this->op;
+ }
+ public function setSvc($svc)
+ {
+ $this->svc = $svc;
+ }
+ public function getSvc()
+ {
+ return $this->svc;
+ }
+ public function setSys($sys)
+ {
+ $this->sys = $sys;
+ }
+ public function getSys()
+ {
+ return $this->sys;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ConfigFile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ConfigFile.php
new file mode 100644
index 00000000..8abb1a99
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ConfigFile.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_ConfigFile extends Google_Model
+{
+ public $content;
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Deployment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Deployment.php
new file mode 100644
index 00000000..065f0662
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Deployment.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_Deployment extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ public $description;
+ public $fingerprint;
+ public $id;
+ public $insertTime;
+ protected $labelsType = 'Google_Service_DeploymentManager_DeploymentLabelEntry';
+ protected $labelsDataType = 'array';
+ public $manifest;
+ public $name;
+ protected $operationType = 'Google_Service_DeploymentManager_Operation';
+ protected $operationDataType = '';
+ public $selfLink;
+ protected $targetType = 'Google_Service_DeploymentManager_TargetConfiguration';
+ protected $targetDataType = '';
+ protected $updateType = 'Google_Service_DeploymentManager_DeploymentUpdate';
+ protected $updateDataType = '';
+
+ 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 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 setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setManifest($manifest)
+ {
+ $this->manifest = $manifest;
+ }
+ public function getManifest()
+ {
+ return $this->manifest;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOperation(Google_Service_DeploymentManager_Operation $operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTarget(Google_Service_DeploymentManager_TargetConfiguration $target)
+ {
+ $this->target = $target;
+ }
+ public function getTarget()
+ {
+ return $this->target;
+ }
+ public function setUpdate(Google_Service_DeploymentManager_DeploymentUpdate $update)
+ {
+ $this->update = $update;
+ }
+ public function getUpdate()
+ {
+ return $this->update;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentLabelEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentLabelEntry.php
new file mode 100644
index 00000000..dfefc929
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentLabelEntry.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_DeploymentLabelEntry extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentUpdate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentUpdate.php
new file mode 100644
index 00000000..99beda8f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentUpdate.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_DeploymentUpdate extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ public $description;
+ protected $labelsType = 'Google_Service_DeploymentManager_DeploymentUpdateLabelEntry';
+ protected $labelsDataType = 'array';
+ public $manifest;
+
+ 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 setManifest($manifest)
+ {
+ $this->manifest = $manifest;
+ }
+ public function getManifest()
+ {
+ return $this->manifest;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentUpdateLabelEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentUpdateLabelEntry.php
new file mode 100644
index 00000000..f7c160c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentUpdateLabelEntry.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_DeploymentUpdateLabelEntry extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResource.php
new file mode 100644
index 00000000..6fdc0d7e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResource.php
@@ -0,0 +1,133 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_DeploymentmanagerResource extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $accessControlType = 'Google_Service_DeploymentManager_ResourceAccessControl';
+ protected $accessControlDataType = '';
+ public $finalProperties;
+ public $id;
+ public $insertTime;
+ public $manifest;
+ public $name;
+ public $properties;
+ public $type;
+ protected $updateType = 'Google_Service_DeploymentManager_ResourceUpdate';
+ protected $updateDataType = '';
+ public $updateTime;
+ public $url;
+ protected $warningsType = 'Google_Service_DeploymentManager_DeploymentmanagerResourceWarnings';
+ protected $warningsDataType = 'array';
+
+ public function setAccessControl(Google_Service_DeploymentManager_ResourceAccessControl $accessControl)
+ {
+ $this->accessControl = $accessControl;
+ }
+ public function getAccessControl()
+ {
+ return $this->accessControl;
+ }
+ public function setFinalProperties($finalProperties)
+ {
+ $this->finalProperties = $finalProperties;
+ }
+ public function getFinalProperties()
+ {
+ return $this->finalProperties;
+ }
+ 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 setManifest($manifest)
+ {
+ $this->manifest = $manifest;
+ }
+ public function getManifest()
+ {
+ return $this->manifest;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ 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;
+ }
+ public function setUpdate(Google_Service_DeploymentManager_ResourceUpdate $update)
+ {
+ $this->update = $update;
+ }
+ public function getUpdate()
+ {
+ return $this->update;
+ }
+ public function setUpdateTime($updateTime)
+ {
+ $this->updateTime = $updateTime;
+ }
+ public function getUpdateTime()
+ {
+ return $this->updateTime;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResourceWarnings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResourceWarnings.php
new file mode 100644
index 00000000..2e5c54d2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResourceWarnings.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_DeploymentmanagerResourceWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = 'Google_Service_DeploymentManager_DeploymentmanagerResourceWarningsData';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResourceWarningsData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResourceWarningsData.php
new file mode 100644
index 00000000..0ee7e71b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResourceWarningsData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_DeploymentmanagerResourceWarningsData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsCancelPreviewRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsCancelPreviewRequest.php
new file mode 100644
index 00000000..7e4d1e75
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsCancelPreviewRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_DeploymentsCancelPreviewRequest extends Google_Model
+{
+ public $fingerprint;
+
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsListResponse.php
new file mode 100644
index 00000000..8cbd2724
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_DeploymentsListResponse extends Google_Collection
+{
+ protected $collection_key = 'deployments';
+ protected $deploymentsType = 'Google_Service_DeploymentManager_Deployment';
+ protected $deploymentsDataType = 'array';
+ public $nextPageToken;
+
+ public function setDeployments($deployments)
+ {
+ $this->deployments = $deployments;
+ }
+ public function getDeployments()
+ {
+ return $this->deployments;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsStopRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsStopRequest.php
new file mode 100644
index 00000000..262c7b30
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsStopRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_DeploymentsStopRequest extends Google_Model
+{
+ public $fingerprint;
+
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ImportFile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ImportFile.php
new file mode 100644
index 00000000..ab85668f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ImportFile.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_ImportFile extends Google_Model
+{
+ public $content;
+ public $name;
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/LogConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/LogConfig.php
new file mode 100644
index 00000000..3599f1ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/LogConfig.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_LogConfig extends Google_Model
+{
+ protected $counterType = 'Google_Service_DeploymentManager_LogConfigCounterOptions';
+ protected $counterDataType = '';
+
+ public function setCounter(Google_Service_DeploymentManager_LogConfigCounterOptions $counter)
+ {
+ $this->counter = $counter;
+ }
+ public function getCounter()
+ {
+ return $this->counter;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/LogConfigCounterOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/LogConfigCounterOptions.php
new file mode 100644
index 00000000..b9a9b9bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/LogConfigCounterOptions.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_LogConfigCounterOptions extends Google_Model
+{
+ public $field;
+ public $metric;
+
+ public function setField($field)
+ {
+ $this->field = $field;
+ }
+ public function getField()
+ {
+ return $this->field;
+ }
+ public function setMetric($metric)
+ {
+ $this->metric = $metric;
+ }
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Manifest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Manifest.php
new file mode 100644
index 00000000..7adc20f7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Manifest.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_Manifest extends Google_Collection
+{
+ protected $collection_key = 'imports';
+ protected $configType = 'Google_Service_DeploymentManager_ConfigFile';
+ protected $configDataType = '';
+ public $expandedConfig;
+ public $id;
+ protected $importsType = 'Google_Service_DeploymentManager_ImportFile';
+ protected $importsDataType = 'array';
+ public $insertTime;
+ public $layout;
+ public $name;
+ public $selfLink;
+
+ public function setConfig(Google_Service_DeploymentManager_ConfigFile $config)
+ {
+ $this->config = $config;
+ }
+ public function getConfig()
+ {
+ return $this->config;
+ }
+ public function setExpandedConfig($expandedConfig)
+ {
+ $this->expandedConfig = $expandedConfig;
+ }
+ public function getExpandedConfig()
+ {
+ return $this->expandedConfig;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImports($imports)
+ {
+ $this->imports = $imports;
+ }
+ public function getImports()
+ {
+ return $this->imports;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setLayout($layout)
+ {
+ $this->layout = $layout;
+ }
+ public function getLayout()
+ {
+ return $this->layout;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ManifestsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ManifestsListResponse.php
new file mode 100644
index 00000000..6859ab30
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ManifestsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_ManifestsListResponse extends Google_Collection
+{
+ protected $collection_key = 'manifests';
+ protected $manifestsType = 'Google_Service_DeploymentManager_Manifest';
+ protected $manifestsDataType = 'array';
+ public $nextPageToken;
+
+ public function setManifests($manifests)
+ {
+ $this->manifests = $manifests;
+ }
+ public function getManifests()
+ {
+ return $this->manifests;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Operation.php
new file mode 100644
index 00000000..a9993c6e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Operation.php
@@ -0,0 +1,231 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_Operation extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $description;
+ public $endTime;
+ protected $errorType = 'Google_Service_DeploymentManager_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 = 'Google_Service_DeploymentManager_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 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 setError(Google_Service_DeploymentManager_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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationError.php
new file mode 100644
index 00000000..7f37bf68
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationError.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_OperationError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $errorsType = 'Google_Service_DeploymentManager_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationErrorErrors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationErrorErrors.php
new file mode 100644
index 00000000..544661ae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationErrorErrors.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_OperationErrorErrors extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationWarnings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationWarnings.php
new file mode 100644
index 00000000..342aa444
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationWarnings.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_OperationWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = 'Google_Service_DeploymentManager_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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationWarningsData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationWarningsData.php
new file mode 100644
index 00000000..ddf46398
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationWarningsData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_OperationWarningsData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationsListResponse.php
new file mode 100644
index 00000000..09f20c50
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_OperationsListResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_DeploymentManager_Operation';
+ protected $operationsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Policy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Policy.php
new file mode 100644
index 00000000..c9ae1046
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Policy.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_Policy extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $auditConfigsType = 'Google_Service_DeploymentManager_AuditConfig';
+ protected $auditConfigsDataType = 'array';
+ protected $bindingsType = 'Google_Service_DeploymentManager_Binding';
+ protected $bindingsDataType = 'array';
+ public $etag;
+ public $iamOwned;
+ protected $rulesType = 'Google_Service_DeploymentManager_Rule';
+ protected $rulesDataType = 'array';
+ public $version;
+
+ public function setAuditConfigs($auditConfigs)
+ {
+ $this->auditConfigs = $auditConfigs;
+ }
+ public function getAuditConfigs()
+ {
+ return $this->auditConfigs;
+ }
+ public function setBindings($bindings)
+ {
+ $this->bindings = $bindings;
+ }
+ public function getBindings()
+ {
+ return $this->bindings;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setIamOwned($iamOwned)
+ {
+ $this->iamOwned = $iamOwned;
+ }
+ public function getIamOwned()
+ {
+ return $this->iamOwned;
+ }
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Deployments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Deployments.php
new file mode 100644
index 00000000..890bfb18
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Deployments.php
@@ -0,0 +1,279 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "deployments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $deploymentmanagerService = new Google_Service_DeploymentManager(...);
+ * $deployments = $deploymentmanagerService->deployments;
+ * </code>
+ */
+class Google_Service_DeploymentManager_Resource_Deployments extends Google_Service_Resource
+{
+ /**
+ * Cancels and removes the preview currently associated with the deployment.
+ * (deployments.cancelPreview)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param Google_Service_DeploymentManager_DeploymentsCancelPreviewRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DeploymentManager_Operation
+ */
+ public function cancelPreview($project, $deployment, Google_Service_DeploymentManager_DeploymentsCancelPreviewRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancelPreview', array($params), "Google_Service_DeploymentManager_Operation");
+ }
+ /**
+ * Deletes a deployment and all of the resources in the deployment.
+ * (deployments.delete)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string deletePolicy Sets the policy to use for deleting resources.
+ * @return Google_Service_DeploymentManager_Operation
+ */
+ public function delete($project, $deployment, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_DeploymentManager_Operation");
+ }
+ /**
+ * Gets information about a specific deployment. (deployments.get)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DeploymentManager_Deployment
+ */
+ public function get($project, $deployment, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_DeploymentManager_Deployment");
+ }
+ /**
+ * Gets the access control policy for a resource. May be empty if no such policy
+ * or resource exists. (deployments.getIamPolicy)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $resource Name of the resource for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DeploymentManager_Policy
+ */
+ public function getIamPolicy($project, $resource, $optParams = array())
+ {
+ $params = array('project' => $project, 'resource' => $resource);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_DeploymentManager_Policy");
+ }
+ /**
+ * Creates a deployment and all of the resources described by the deployment
+ * manifest. (deployments.insert)
+ *
+ * @param string $project The project ID for this request.
+ * @param Google_Service_DeploymentManager_Deployment $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool preview If set to true, creates a deployment and creates
+ * "shell" resources but does not actually instantiate these resources. This
+ * allows you to preview what your deployment looks like. After previewing a
+ * deployment, you can deploy your resources by making a request with the
+ * update() method or you can use the cancelPreview() method to cancel the
+ * preview altogether. Note that the deployment will still exist after you
+ * cancel the preview and you must separately delete this deployment if you want
+ * to remove it.
+ * @return Google_Service_DeploymentManager_Operation
+ */
+ public function insert($project, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_DeploymentManager_Operation");
+ }
+ /**
+ * Lists all deployments for a given project. (deployments.listDeployments)
+ *
+ * @param string $project The project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_DeploymentManager_DeploymentsListResponse
+ */
+ public function listDeployments($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_DeploymentManager_DeploymentsListResponse");
+ }
+ /**
+ * Updates a deployment and all of the resources described by the deployment
+ * manifest. This method supports patch semantics. (deployments.patch)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param Google_Service_DeploymentManager_Deployment $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string createPolicy Sets the policy to use for creating new
+ * resources.
+ * @opt_param string deletePolicy Sets the policy to use for deleting resources.
+ * @opt_param bool preview If set to true, updates the deployment and creates
+ * and updates the "shell" resources but does not actually alter or instantiate
+ * these resources. This allows you to preview what your deployment will look
+ * like. You can use this intent to preview how an update would affect your
+ * deployment. You must provide a target.config with a configuration if this is
+ * set to true. After previewing a deployment, you can deploy your resources by
+ * making a request with the update() or you can cancelPreview() to remove the
+ * preview altogether. Note that the deployment will still exist after you
+ * cancel the preview and you must separately delete this deployment if you want
+ * to remove it.
+ * @return Google_Service_DeploymentManager_Operation
+ */
+ public function patch($project, $deployment, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_DeploymentManager_Operation");
+ }
+ /**
+ * Sets the access control policy on the specified resource. Replaces any
+ * existing policy. (deployments.setIamPolicy)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $resource Name of the resource for this request.
+ * @param Google_Service_DeploymentManager_Policy $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DeploymentManager_Policy
+ */
+ public function setIamPolicy($project, $resource, Google_Service_DeploymentManager_Policy $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_DeploymentManager_Policy");
+ }
+ /**
+ * Stops an ongoing operation. This does not roll back any work that has already
+ * been completed, but prevents any new work from being started.
+ * (deployments.stop)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param Google_Service_DeploymentManager_DeploymentsStopRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DeploymentManager_Operation
+ */
+ public function stop($project, $deployment, Google_Service_DeploymentManager_DeploymentsStopRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params), "Google_Service_DeploymentManager_Operation");
+ }
+ /**
+ * Returns permissions that a caller has on the specified resource.
+ * (deployments.testIamPermissions)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $resource Name of the resource for this request.
+ * @param Google_Service_DeploymentManager_TestPermissionsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DeploymentManager_TestPermissionsResponse
+ */
+ public function testIamPermissions($project, $resource, Google_Service_DeploymentManager_TestPermissionsRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_DeploymentManager_TestPermissionsResponse");
+ }
+ /**
+ * Updates a deployment and all of the resources described by the deployment
+ * manifest. (deployments.update)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param Google_Service_DeploymentManager_Deployment $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string createPolicy Sets the policy to use for creating new
+ * resources.
+ * @opt_param string deletePolicy Sets the policy to use for deleting resources.
+ * @opt_param bool preview If set to true, updates the deployment and creates
+ * and updates the "shell" resources but does not actually alter or instantiate
+ * these resources. This allows you to preview what your deployment will look
+ * like. You can use this intent to preview how an update would affect your
+ * deployment. You must provide a target.config with a configuration if this is
+ * set to true. After previewing a deployment, you can deploy your resources by
+ * making a request with the update() or you can cancelPreview() to remove the
+ * preview altogether. Note that the deployment will still exist after you
+ * cancel the preview and you must separately delete this deployment if you want
+ * to remove it.
+ * @return Google_Service_DeploymentManager_Operation
+ */
+ public function update($project, $deployment, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_DeploymentManager_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Manifests.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Manifests.php
new file mode 100644
index 00000000..866783bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Manifests.php
@@ -0,0 +1,100 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "manifests" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $deploymentmanagerService = new Google_Service_DeploymentManager(...);
+ * $manifests = $deploymentmanagerService->manifests;
+ * </code>
+ */
+class Google_Service_DeploymentManager_Resource_Manifests extends Google_Service_Resource
+{
+ /**
+ * Gets information about a specific manifest. (manifests.get)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param string $manifest The name of the manifest for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DeploymentManager_Manifest
+ */
+ public function get($project, $deployment, $manifest, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment, 'manifest' => $manifest);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_DeploymentManager_Manifest");
+ }
+ /**
+ * Lists all manifests for a given deployment. (manifests.listManifests)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_DeploymentManager_ManifestsListResponse
+ */
+ public function listManifests($project, $deployment, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_DeploymentManager_ManifestsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Operations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Operations.php
new file mode 100644
index 00000000..937b87f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Operations.php
@@ -0,0 +1,98 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $deploymentmanagerService = new Google_Service_DeploymentManager(...);
+ * $operations = $deploymentmanagerService->operations;
+ * </code>
+ */
+class Google_Service_DeploymentManager_Resource_Operations extends Google_Service_Resource
+{
+ /**
+ * Gets information about a specific operation. (operations.get)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $operation The name of the operation for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DeploymentManager_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), "Google_Service_DeploymentManager_Operation");
+ }
+ /**
+ * Lists all operations for a project. (operations.listOperations)
+ *
+ * @param string $project The project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_DeploymentManager_OperationsListResponse
+ */
+ public function listOperations($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_DeploymentManager_OperationsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Resources.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Resources.php
new file mode 100644
index 00000000..ed154b2a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Resources.php
@@ -0,0 +1,100 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "resources" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $deploymentmanagerService = new Google_Service_DeploymentManager(...);
+ * $resources = $deploymentmanagerService->resources;
+ * </code>
+ */
+class Google_Service_DeploymentManager_Resource_Resources extends Google_Service_Resource
+{
+ /**
+ * Gets information about a single resource. (resources.get)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param string $resource The name of the resource for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DeploymentManager_DeploymentmanagerResource
+ */
+ public function get($project, $deployment, $resource, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment, 'resource' => $resource);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_DeploymentManager_DeploymentmanagerResource");
+ }
+ /**
+ * Lists all resources in a given deployment. (resources.listResources)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_DeploymentManager_ResourcesListResponse
+ */
+ public function listResources($project, $deployment, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_DeploymentManager_ResourcesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Types.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Types.php
new file mode 100644
index 00000000..290fd50e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Types.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "types" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $deploymentmanagerService = new Google_Service_DeploymentManager(...);
+ * $types = $deploymentmanagerService->types;
+ * </code>
+ */
+class Google_Service_DeploymentManager_Resource_Types extends Google_Service_Resource
+{
+ /**
+ * Lists all resource types for Deployment Manager. (types.listTypes)
+ *
+ * @param string $project The project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering on
+ * nested fields to take advantage of labels to organize and search for results
+ * based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
+ * central1-f). Multiple expressions are treated as AND expressions, meaning
+ * that resources must match all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests. Acceptable values are 0
+ * to 500, inclusive. (Default: 500)
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_DeploymentManager_TypesListResponse
+ */
+ public function listTypes($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_DeploymentManager_TypesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceAccessControl.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceAccessControl.php
new file mode 100644
index 00000000..33a43bbf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceAccessControl.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_ResourceAccessControl extends Google_Model
+{
+ public $gcpIamPolicy;
+
+ public function setGcpIamPolicy($gcpIamPolicy)
+ {
+ $this->gcpIamPolicy = $gcpIamPolicy;
+ }
+ public function getGcpIamPolicy()
+ {
+ return $this->gcpIamPolicy;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdate.php
new file mode 100644
index 00000000..5191d8f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdate.php
@@ -0,0 +1,97 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_ResourceUpdate extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $accessControlType = 'Google_Service_DeploymentManager_ResourceAccessControl';
+ protected $accessControlDataType = '';
+ protected $errorType = 'Google_Service_DeploymentManager_ResourceUpdateError';
+ protected $errorDataType = '';
+ public $finalProperties;
+ public $intent;
+ public $manifest;
+ public $properties;
+ public $state;
+ protected $warningsType = 'Google_Service_DeploymentManager_ResourceUpdateWarnings';
+ protected $warningsDataType = 'array';
+
+ public function setAccessControl(Google_Service_DeploymentManager_ResourceAccessControl $accessControl)
+ {
+ $this->accessControl = $accessControl;
+ }
+ public function getAccessControl()
+ {
+ return $this->accessControl;
+ }
+ public function setError(Google_Service_DeploymentManager_ResourceUpdateError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setFinalProperties($finalProperties)
+ {
+ $this->finalProperties = $finalProperties;
+ }
+ public function getFinalProperties()
+ {
+ return $this->finalProperties;
+ }
+ public function setIntent($intent)
+ {
+ $this->intent = $intent;
+ }
+ public function getIntent()
+ {
+ return $this->intent;
+ }
+ public function setManifest($manifest)
+ {
+ $this->manifest = $manifest;
+ }
+ public function getManifest()
+ {
+ return $this->manifest;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateError.php
new file mode 100644
index 00000000..0d2afdc8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateError.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_ResourceUpdateError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $errorsType = 'Google_Service_DeploymentManager_ResourceUpdateErrorErrors';
+ protected $errorsDataType = 'array';
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateErrorErrors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateErrorErrors.php
new file mode 100644
index 00000000..6fc49050
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateErrorErrors.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_ResourceUpdateErrorErrors extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateWarnings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateWarnings.php
new file mode 100644
index 00000000..39f3f579
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateWarnings.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_ResourceUpdateWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = 'Google_Service_DeploymentManager_ResourceUpdateWarningsData';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateWarningsData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateWarningsData.php
new file mode 100644
index 00000000..f5f43c48
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateWarningsData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_ResourceUpdateWarningsData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourcesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourcesListResponse.php
new file mode 100644
index 00000000..ec94bf3c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourcesListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_ResourcesListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_DeploymentManager_DeploymentmanagerResource';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Rule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Rule.php
new file mode 100644
index 00000000..b5794ae0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Rule.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_Rule extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $action;
+ protected $conditionsType = 'Google_Service_DeploymentManager_Condition';
+ protected $conditionsDataType = 'array';
+ public $description;
+ public $ins;
+ protected $logConfigsType = 'Google_Service_DeploymentManager_LogConfig';
+ protected $logConfigsDataType = 'array';
+ public $notIns;
+ public $permissions;
+
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setConditions($conditions)
+ {
+ $this->conditions = $conditions;
+ }
+ public function getConditions()
+ {
+ return $this->conditions;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setIns($ins)
+ {
+ $this->ins = $ins;
+ }
+ public function getIns()
+ {
+ return $this->ins;
+ }
+ public function setLogConfigs($logConfigs)
+ {
+ $this->logConfigs = $logConfigs;
+ }
+ public function getLogConfigs()
+ {
+ return $this->logConfigs;
+ }
+ public function setNotIns($notIns)
+ {
+ $this->notIns = $notIns;
+ }
+ public function getNotIns()
+ {
+ return $this->notIns;
+ }
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TargetConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TargetConfiguration.php
new file mode 100644
index 00000000..89a758a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TargetConfiguration.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_TargetConfiguration extends Google_Collection
+{
+ protected $collection_key = 'imports';
+ protected $configType = 'Google_Service_DeploymentManager_ConfigFile';
+ protected $configDataType = '';
+ protected $importsType = 'Google_Service_DeploymentManager_ImportFile';
+ protected $importsDataType = 'array';
+
+ public function setConfig(Google_Service_DeploymentManager_ConfigFile $config)
+ {
+ $this->config = $config;
+ }
+ public function getConfig()
+ {
+ return $this->config;
+ }
+ public function setImports($imports)
+ {
+ $this->imports = $imports;
+ }
+ public function getImports()
+ {
+ return $this->imports;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TestPermissionsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TestPermissionsRequest.php
new file mode 100644
index 00000000..27d0c28b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TestPermissionsRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_TestPermissionsRequest extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TestPermissionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TestPermissionsResponse.php
new file mode 100644
index 00000000..c3a1ab70
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TestPermissionsResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_TestPermissionsResponse extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Type.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Type.php
new file mode 100644
index 00000000..b4239c73
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Type.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_Type extends Google_Model
+{
+ public $id;
+ public $insertTime;
+ public $name;
+ protected $operationType = 'Google_Service_DeploymentManager_Operation';
+ protected $operationDataType = '';
+ public $selfLink;
+
+ 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 setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOperation(Google_Service_DeploymentManager_Operation $operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TypesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TypesListResponse.php
new file mode 100644
index 00000000..180b0536
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TypesListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DeploymentManager_TypesListResponse extends Google_Collection
+{
+ protected $collection_key = 'types';
+ public $nextPageToken;
+ protected $typesType = 'Google_Service_DeploymentManager_Type';
+ protected $typesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTypes($types)
+ {
+ $this->types = $types;
+ }
+ public function getTypes()
+ {
+ return $this->types;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting.php
new file mode 100644
index 00000000..5538348b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting.php
@@ -0,0 +1,4816 @@
+<?php
+/*
+ * Copyright 2016 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 (v2.7).
+ *
+ * <p>
+ * Manages your DoubleClick Campaign Manager ad campaigns and reports.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/doubleclick-advertisers/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Dfareporting extends Google_Service
+{
+ /** Manage DoubleClick Digital Marketing conversions. */
+ const DDMCONVERSIONS =
+ "https://www.googleapis.com/auth/ddmconversions";
+ /** View and manage DoubleClick for Advertisers reports. */
+ const DFAREPORTING =
+ "https://www.googleapis.com/auth/dfareporting";
+ /** View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns. */
+ const DFATRAFFICKING =
+ "https://www.googleapis.com/auth/dfatrafficking";
+
+ public $accountActiveAdSummaries;
+ public $accountPermissionGroups;
+ public $accountPermissions;
+ public $accountUserProfiles;
+ public $accounts;
+ public $ads;
+ public $advertiserGroups;
+ public $advertisers;
+ public $browsers;
+ public $campaignCreativeAssociations;
+ public $campaigns;
+ public $changeLogs;
+ public $cities;
+ public $connectionTypes;
+ public $contentCategories;
+ public $conversions;
+ public $countries;
+ public $creativeAssets;
+ public $creativeFieldValues;
+ public $creativeFields;
+ public $creativeGroups;
+ public $creatives;
+ public $dimensionValues;
+ public $directorySiteContacts;
+ public $directorySites;
+ public $dynamicTargetingKeys;
+ public $eventTags;
+ public $files;
+ public $floodlightActivities;
+ public $floodlightActivityGroups;
+ public $floodlightConfigurations;
+ public $inventoryItems;
+ public $landingPages;
+ public $languages;
+ public $metros;
+ public $mobileCarriers;
+ public $operatingSystemVersions;
+ public $operatingSystems;
+ public $orderDocuments;
+ public $orders;
+ public $placementGroups;
+ public $placementStrategies;
+ public $placements;
+ public $platformTypes;
+ public $postalCodes;
+ public $projects;
+ public $regions;
+ public $remarketingListShares;
+ public $remarketingLists;
+ public $reports;
+ public $reports_compatibleFields;
+ public $reports_files;
+ public $sites;
+ public $sizes;
+ public $subaccounts;
+ public $targetableRemarketingLists;
+ public $targetingTemplates;
+ public $userProfiles;
+ public $userRolePermissionGroups;
+ public $userRolePermissions;
+ public $userRoles;
+ public $videoFormats;
+
+ /**
+ * Constructs the internal representation of the Dfareporting service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'dfareporting/v2.7/';
+ $this->version = 'v2.7';
+ $this->serviceName = 'dfareporting';
+
+ $this->accountActiveAdSummaries = new Google_Service_Dfareporting_Resource_AccountActiveAdSummaries(
+ $this,
+ $this->serviceName,
+ 'accountActiveAdSummaries',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'summaryAccountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accountPermissionGroups = new Google_Service_Dfareporting_Resource_AccountPermissionGroups(
+ $this,
+ $this->serviceName,
+ 'accountPermissionGroups',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/accountPermissionGroups/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/accountPermissionGroups',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accountPermissions = new Google_Service_Dfareporting_Resource_AccountPermissions(
+ $this,
+ $this->serviceName,
+ 'accountPermissions',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/accountPermissions/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/accountPermissions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accountUserProfiles = new Google_Service_Dfareporting_Resource_AccountUserProfiles(
+ $this,
+ $this->serviceName,
+ 'accountUserProfiles',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/accountUserProfiles/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/accountUserProfiles',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/accountUserProfiles',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'active' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'subaccountId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'userRoleId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/accountUserProfiles',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/accountUserProfiles',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts = new Google_Service_Dfareporting_Resource_Accounts(
+ $this,
+ $this->serviceName,
+ 'accounts',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/accounts/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/accounts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'active' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/accounts',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/accounts',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->ads = new Google_Service_Dfareporting_Resource_Ads(
+ $this,
+ $this->serviceName,
+ 'ads',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/ads/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/ads',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/ads',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'active' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'advertiserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'archived' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'audienceSegmentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'campaignIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'compatibility' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'creativeIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'creativeOptimizationConfigurationIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'dynamicClickTracker' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'landingPageIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'overriddenEventTagId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'placementIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'remarketingListIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sizeIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sslCompliant' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'sslRequired' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/ads',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/ads',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->advertiserGroups = new Google_Service_Dfareporting_Resource_AdvertiserGroups(
+ $this,
+ $this->serviceName,
+ 'advertiserGroups',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/advertiserGroups/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/advertiserGroups/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/advertiserGroups',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/advertiserGroups',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/advertiserGroups',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/advertiserGroups',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->advertisers = new Google_Service_Dfareporting_Resource_Advertisers(
+ $this,
+ $this->serviceName,
+ 'advertisers',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/advertisers/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/advertisers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/advertisers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserGroupIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'floodlightConfigurationIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'includeAdvertisersWithoutGroupsOnly' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'onlyParent' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'subaccountId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/advertisers',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/advertisers',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->browsers = new Google_Service_Dfareporting_Resource_Browsers(
+ $this,
+ $this->serviceName,
+ 'browsers',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'userprofiles/{profileId}/browsers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->campaignCreativeAssociations = new Google_Service_Dfareporting_Resource_CampaignCreativeAssociations(
+ $this,
+ $this->serviceName,
+ 'campaignCreativeAssociations',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->campaigns = new Google_Service_Dfareporting_Resource_Campaigns(
+ $this,
+ $this->serviceName,
+ 'campaigns',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'defaultLandingPageName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'defaultLandingPageUrl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserGroupIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'advertiserIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'archived' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'atLeastOneOptimizationActivity' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'excludedIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'overriddenEventTagId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'subaccountId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->changeLogs = new Google_Service_Dfareporting_Resource_ChangeLogs(
+ $this,
+ $this->serviceName,
+ 'changeLogs',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/changeLogs/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/changeLogs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'action' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxChangeTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'minChangeTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'objectIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'objectType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'userProfileIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->cities = new Google_Service_Dfareporting_Resource_Cities(
+ $this,
+ $this->serviceName,
+ 'cities',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'userprofiles/{profileId}/cities',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'countryDartIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'dartIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'namePrefix' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'regionDartIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->connectionTypes = new Google_Service_Dfareporting_Resource_ConnectionTypes(
+ $this,
+ $this->serviceName,
+ 'connectionTypes',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/connectionTypes/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/connectionTypes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->contentCategories = new Google_Service_Dfareporting_Resource_ContentCategories(
+ $this,
+ $this->serviceName,
+ 'contentCategories',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/contentCategories/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/contentCategories/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/contentCategories',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/contentCategories',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/contentCategories',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/contentCategories',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->conversions = new Google_Service_Dfareporting_Resource_Conversions(
+ $this,
+ $this->serviceName,
+ 'conversions',
+ array(
+ 'methods' => array(
+ 'batchinsert' => array(
+ 'path' => 'userprofiles/{profileId}/conversions/batchinsert',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->countries = new Google_Service_Dfareporting_Resource_Countries(
+ $this,
+ $this->serviceName,
+ 'countries',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/countries/{dartId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dartId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/countries',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->creativeAssets = new Google_Service_Dfareporting_Resource_CreativeAssets(
+ $this,
+ $this->serviceName,
+ 'creativeAssets',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => 'userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->creativeFieldValues = new Google_Service_Dfareporting_Resource_CreativeFieldValues(
+ $this,
+ $this->serviceName,
+ 'creativeFieldValues',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeFieldId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeFieldId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeFieldId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeFieldId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeFieldId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeFieldId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->creativeFields = new Google_Service_Dfareporting_Resource_CreativeFields(
+ $this,
+ $this->serviceName,
+ 'creativeFields',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->creativeGroups = new Google_Service_Dfareporting_Resource_CreativeGroups(
+ $this,
+ $this->serviceName,
+ 'creativeGroups',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/creativeGroups/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/creativeGroups',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/creativeGroups',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'groupNumber' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/creativeGroups',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/creativeGroups',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->creatives = new Google_Service_Dfareporting_Resource_Creatives(
+ $this,
+ $this->serviceName,
+ 'creatives',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/creatives/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/creatives',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/creatives',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'active' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'advertiserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'archived' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'campaignId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'companionCreativeIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'creativeFieldIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'renderingIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sizeIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'studioCreativeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'types' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/creatives',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/creatives',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->dimensionValues = new Google_Service_Dfareporting_Resource_DimensionValues(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->directorySiteContacts = new Google_Service_Dfareporting_Resource_DirectorySiteContacts(
+ $this,
+ $this->serviceName,
+ 'directorySiteContacts',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/directorySiteContacts/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/directorySiteContacts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'directorySiteIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->directorySites = new Google_Service_Dfareporting_Resource_DirectorySites(
+ $this,
+ $this->serviceName,
+ 'directorySites',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/directorySites/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/directorySites',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/directorySites',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'acceptsInStreamVideoPlacements' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'acceptsInterstitialPlacements' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'acceptsPublisherPaidPlacements' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'active' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'countryId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'dfp_network_code' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'parentId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->dynamicTargetingKeys = new Google_Service_Dfareporting_Resource_DynamicTargetingKeys(
+ $this,
+ $this->serviceName,
+ 'dynamicTargetingKeys',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/dynamicTargetingKeys/{objectId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'objectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'objectType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/dynamicTargetingKeys',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/dynamicTargetingKeys',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'names' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'objectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'objectType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->eventTags = new Google_Service_Dfareporting_Resource_EventTags(
+ $this,
+ $this->serviceName,
+ 'eventTags',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/eventTags/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/eventTags/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/eventTags',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/eventTags',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'advertiserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'campaignId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'definitionsOnly' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'enabled' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'eventTagTypes' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/eventTags',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/eventTags',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->files = new Google_Service_Dfareporting_Resource_Files(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'scope' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->floodlightActivities = new Google_Service_Dfareporting_Resource_FloodlightActivities(
+ $this,
+ $this->serviceName,
+ 'floodlightActivities',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivities/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'generatetag' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivities/generatetag',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'floodlightActivityId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivities/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivities',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivities',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'floodlightActivityGroupIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'floodlightActivityGroupName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'floodlightActivityGroupTagString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'floodlightActivityGroupType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'floodlightConfigurationId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'tagString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivities',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivities',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->floodlightActivityGroups = new Google_Service_Dfareporting_Resource_FloodlightActivityGroups(
+ $this,
+ $this->serviceName,
+ 'floodlightActivityGroups',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivityGroups/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivityGroups',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivityGroups',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'floodlightConfigurationId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivityGroups',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivityGroups',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->floodlightConfigurations = new Google_Service_Dfareporting_Resource_FloodlightConfigurations(
+ $this,
+ $this->serviceName,
+ 'floodlightConfigurations',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightConfigurations/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightConfigurations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightConfigurations',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightConfigurations',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->inventoryItems = new Google_Service_Dfareporting_Resource_InventoryItems(
+ $this,
+ $this->serviceName,
+ 'inventoryItems',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/projects/{projectId}/inventoryItems',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'inPlan' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'siteId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->landingPages = new Google_Service_Dfareporting_Resource_LandingPages(
+ $this,
+ $this->serviceName,
+ 'landingPages',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->languages = new Google_Service_Dfareporting_Resource_Languages(
+ $this,
+ $this->serviceName,
+ 'languages',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'userprofiles/{profileId}/languages',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->metros = new Google_Service_Dfareporting_Resource_Metros(
+ $this,
+ $this->serviceName,
+ 'metros',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'userprofiles/{profileId}/metros',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->mobileCarriers = new Google_Service_Dfareporting_Resource_MobileCarriers(
+ $this,
+ $this->serviceName,
+ 'mobileCarriers',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/mobileCarriers/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/mobileCarriers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->operatingSystemVersions = new Google_Service_Dfareporting_Resource_OperatingSystemVersions(
+ $this,
+ $this->serviceName,
+ 'operatingSystemVersions',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/operatingSystemVersions/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/operatingSystemVersions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->operatingSystems = new Google_Service_Dfareporting_Resource_OperatingSystems(
+ $this,
+ $this->serviceName,
+ 'operatingSystems',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/operatingSystems/{dartId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dartId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/operatingSystems',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->orderDocuments = new Google_Service_Dfareporting_Resource_OrderDocuments(
+ $this,
+ $this->serviceName,
+ 'orderDocuments',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/projects/{projectId}/orderDocuments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'approved' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'siteId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->orders = new Google_Service_Dfareporting_Resource_Orders(
+ $this,
+ $this->serviceName,
+ 'orders',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/projects/{projectId}/orders/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/projects/{projectId}/orders',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'siteId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->placementGroups = new Google_Service_Dfareporting_Resource_PlacementGroups(
+ $this,
+ $this->serviceName,
+ 'placementGroups',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/placementGroups/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/placementGroups',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/placementGroups',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'archived' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'campaignIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'contentCategoryIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'directorySiteIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxEndDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxStartDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'minEndDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'minStartDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'placementGroupType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'placementStrategyIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pricingTypes' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'siteIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/placementGroups',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/placementGroups',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->placementStrategies = new Google_Service_Dfareporting_Resource_PlacementStrategies(
+ $this,
+ $this->serviceName,
+ 'placementStrategies',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/placementStrategies/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/placementStrategies/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/placementStrategies',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/placementStrategies',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/placementStrategies',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/placementStrategies',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->placements = new Google_Service_Dfareporting_Resource_Placements(
+ $this,
+ $this->serviceName,
+ 'placements',
+ array(
+ 'methods' => array(
+ 'generatetags' => array(
+ 'path' => 'userprofiles/{profileId}/placements/generatetags',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'placementIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'tagFormats' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/placements/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/placements',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/placements',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'archived' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'campaignIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'compatibilities' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'contentCategoryIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'directorySiteIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'groupIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxEndDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxStartDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'minEndDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'minStartDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'paymentSource' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'placementStrategyIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pricingTypes' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'siteIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sizeIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/placements',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/placements',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->platformTypes = new Google_Service_Dfareporting_Resource_PlatformTypes(
+ $this,
+ $this->serviceName,
+ 'platformTypes',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/platformTypes/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/platformTypes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->postalCodes = new Google_Service_Dfareporting_Resource_PostalCodes(
+ $this,
+ $this->serviceName,
+ 'postalCodes',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/postalCodes/{code}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'code' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/postalCodes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects = new Google_Service_Dfareporting_Resource_Projects(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/projects/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/projects',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->regions = new Google_Service_Dfareporting_Resource_Regions(
+ $this,
+ $this->serviceName,
+ 'regions',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'userprofiles/{profileId}/regions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->remarketingListShares = new Google_Service_Dfareporting_Resource_RemarketingListShares(
+ $this,
+ $this->serviceName,
+ 'remarketingListShares',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/remarketingListShares/{remarketingListId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'remarketingListId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/remarketingListShares',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'remarketingListId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/remarketingListShares',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->remarketingLists = new Google_Service_Dfareporting_Resource_RemarketingLists(
+ $this,
+ $this->serviceName,
+ 'remarketingLists',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/remarketingLists/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/remarketingLists',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/remarketingLists',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'active' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'floodlightActivityId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/remarketingLists',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/remarketingLists',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reports = new Google_Service_Dfareporting_Resource_Reports(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'scope' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => 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 Google_Service_Dfareporting_Resource_ReportsCompatibleFields(
+ $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 Google_Service_Dfareporting_Resource_ReportsFiles(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->sites = new Google_Service_Dfareporting_Resource_Sites(
+ $this,
+ $this->serviceName,
+ 'sites',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/sites/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/sites',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/sites',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'acceptsInStreamVideoPlacements' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'acceptsInterstitialPlacements' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'acceptsPublisherPaidPlacements' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'adWordsSite' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'approved' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'campaignIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'directorySiteIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'subaccountId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'unmappedSite' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/sites',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/sites',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->sizes = new Google_Service_Dfareporting_Resource_Sizes(
+ $this,
+ $this->serviceName,
+ 'sizes',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/sizes/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/sizes',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/sizes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'height' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'iabStandard' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'width' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->subaccounts = new Google_Service_Dfareporting_Resource_Subaccounts(
+ $this,
+ $this->serviceName,
+ 'subaccounts',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/subaccounts/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/subaccounts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/subaccounts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/subaccounts',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/subaccounts',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->targetableRemarketingLists = new Google_Service_Dfareporting_Resource_TargetableRemarketingLists(
+ $this,
+ $this->serviceName,
+ 'targetableRemarketingLists',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/targetableRemarketingLists/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/targetableRemarketingLists',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'active' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->targetingTemplates = new Google_Service_Dfareporting_Resource_TargetingTemplates(
+ $this,
+ $this->serviceName,
+ 'targetingTemplates',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/targetingTemplates/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/targetingTemplates',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/targetingTemplates',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/targetingTemplates',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/targetingTemplates',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->userProfiles = new Google_Service_Dfareporting_Resource_UserProfiles(
+ $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(),
+ ),
+ )
+ )
+ );
+ $this->userRolePermissionGroups = new Google_Service_Dfareporting_Resource_UserRolePermissionGroups(
+ $this,
+ $this->serviceName,
+ 'userRolePermissionGroups',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/userRolePermissionGroups/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/userRolePermissionGroups',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->userRolePermissions = new Google_Service_Dfareporting_Resource_UserRolePermissions(
+ $this,
+ $this->serviceName,
+ 'userRolePermissions',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/userRolePermissions/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/userRolePermissions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->userRoles = new Google_Service_Dfareporting_Resource_UserRoles(
+ $this,
+ $this->serviceName,
+ 'userRoles',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/userRoles/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/userRoles/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/userRoles',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/userRoles',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountUserRoleOnly' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'subaccountId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/userRoles',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/userRoles',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->videoFormats = new Google_Service_Dfareporting_Resource_VideoFormats(
+ $this,
+ $this->serviceName,
+ 'videoFormats',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/videoFormats/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/videoFormats',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Account.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Account.php
new file mode 100644
index 00000000..1d44a2e4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Account.php
@@ -0,0 +1,194 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Account extends Google_Collection
+{
+ protected $collection_key = 'availablePermissionIds';
+ public $accountPermissionIds;
+ public $accountProfile;
+ public $active;
+ public $activeAdsLimitTier;
+ public $activeViewOptOut;
+ public $availablePermissionIds;
+ public $countryId;
+ public $currencyId;
+ public $defaultCreativeSizeId;
+ public $description;
+ public $id;
+ public $kind;
+ public $locale;
+ public $maximumImageSize;
+ public $name;
+ public $nielsenOcrEnabled;
+ protected $reportsConfigurationType = 'Google_Service_Dfareporting_ReportsConfiguration';
+ protected $reportsConfigurationDataType = '';
+ public $shareReportsWithTwitter;
+ public $teaserSizeLimit;
+
+ public function setAccountPermissionIds($accountPermissionIds)
+ {
+ $this->accountPermissionIds = $accountPermissionIds;
+ }
+ public function getAccountPermissionIds()
+ {
+ return $this->accountPermissionIds;
+ }
+ public function setAccountProfile($accountProfile)
+ {
+ $this->accountProfile = $accountProfile;
+ }
+ public function getAccountProfile()
+ {
+ return $this->accountProfile;
+ }
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setActiveAdsLimitTier($activeAdsLimitTier)
+ {
+ $this->activeAdsLimitTier = $activeAdsLimitTier;
+ }
+ public function getActiveAdsLimitTier()
+ {
+ return $this->activeAdsLimitTier;
+ }
+ public function setActiveViewOptOut($activeViewOptOut)
+ {
+ $this->activeViewOptOut = $activeViewOptOut;
+ }
+ public function getActiveViewOptOut()
+ {
+ return $this->activeViewOptOut;
+ }
+ public function setAvailablePermissionIds($availablePermissionIds)
+ {
+ $this->availablePermissionIds = $availablePermissionIds;
+ }
+ public function getAvailablePermissionIds()
+ {
+ return $this->availablePermissionIds;
+ }
+ public function setCountryId($countryId)
+ {
+ $this->countryId = $countryId;
+ }
+ public function getCountryId()
+ {
+ return $this->countryId;
+ }
+ public function setCurrencyId($currencyId)
+ {
+ $this->currencyId = $currencyId;
+ }
+ public function getCurrencyId()
+ {
+ return $this->currencyId;
+ }
+ public function setDefaultCreativeSizeId($defaultCreativeSizeId)
+ {
+ $this->defaultCreativeSizeId = $defaultCreativeSizeId;
+ }
+ public function getDefaultCreativeSizeId()
+ {
+ return $this->defaultCreativeSizeId;
+ }
+ 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($locale)
+ {
+ $this->locale = $locale;
+ }
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+ public function setMaximumImageSize($maximumImageSize)
+ {
+ $this->maximumImageSize = $maximumImageSize;
+ }
+ public function getMaximumImageSize()
+ {
+ return $this->maximumImageSize;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNielsenOcrEnabled($nielsenOcrEnabled)
+ {
+ $this->nielsenOcrEnabled = $nielsenOcrEnabled;
+ }
+ public function getNielsenOcrEnabled()
+ {
+ return $this->nielsenOcrEnabled;
+ }
+ public function setReportsConfiguration(Google_Service_Dfareporting_ReportsConfiguration $reportsConfiguration)
+ {
+ $this->reportsConfiguration = $reportsConfiguration;
+ }
+ public function getReportsConfiguration()
+ {
+ return $this->reportsConfiguration;
+ }
+ public function setShareReportsWithTwitter($shareReportsWithTwitter)
+ {
+ $this->shareReportsWithTwitter = $shareReportsWithTwitter;
+ }
+ public function getShareReportsWithTwitter()
+ {
+ return $this->shareReportsWithTwitter;
+ }
+ public function setTeaserSizeLimit($teaserSizeLimit)
+ {
+ $this->teaserSizeLimit = $teaserSizeLimit;
+ }
+ public function getTeaserSizeLimit()
+ {
+ return $this->teaserSizeLimit;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountActiveAdSummary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountActiveAdSummary.php
new file mode 100644
index 00000000..1fa446ba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountActiveAdSummary.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_AccountActiveAdSummary extends Google_Model
+{
+ public $accountId;
+ public $activeAds;
+ public $activeAdsLimitTier;
+ public $availableAds;
+ public $kind;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setActiveAds($activeAds)
+ {
+ $this->activeAds = $activeAds;
+ }
+ public function getActiveAds()
+ {
+ return $this->activeAds;
+ }
+ public function setActiveAdsLimitTier($activeAdsLimitTier)
+ {
+ $this->activeAdsLimitTier = $activeAdsLimitTier;
+ }
+ public function getActiveAdsLimitTier()
+ {
+ return $this->activeAdsLimitTier;
+ }
+ public function setAvailableAds($availableAds)
+ {
+ $this->availableAds = $availableAds;
+ }
+ public function getAvailableAds()
+ {
+ return $this->availableAds;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermission.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermission.php
new file mode 100644
index 00000000..a2c2dfe3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermission.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_AccountPermission extends Google_Collection
+{
+ protected $collection_key = 'accountProfiles';
+ public $accountProfiles;
+ public $id;
+ public $kind;
+ public $level;
+ public $name;
+ public $permissionGroupId;
+
+ public function setAccountProfiles($accountProfiles)
+ {
+ $this->accountProfiles = $accountProfiles;
+ }
+ public function getAccountProfiles()
+ {
+ return $this->accountProfiles;
+ }
+ 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 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 setPermissionGroupId($permissionGroupId)
+ {
+ $this->permissionGroupId = $permissionGroupId;
+ }
+ public function getPermissionGroupId()
+ {
+ return $this->permissionGroupId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionGroup.php
new file mode 100644
index 00000000..e8f74cba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionGroup.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_AccountPermissionGroup extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionGroupsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionGroupsListResponse.php
new file mode 100644
index 00000000..00f724ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionGroupsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_AccountPermissionGroupsListResponse extends Google_Collection
+{
+ protected $collection_key = 'accountPermissionGroups';
+ protected $accountPermissionGroupsType = 'Google_Service_Dfareporting_AccountPermissionGroup';
+ protected $accountPermissionGroupsDataType = 'array';
+ public $kind;
+
+ public function setAccountPermissionGroups($accountPermissionGroups)
+ {
+ $this->accountPermissionGroups = $accountPermissionGroups;
+ }
+ public function getAccountPermissionGroups()
+ {
+ return $this->accountPermissionGroups;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionsListResponse.php
new file mode 100644
index 00000000..3828ca6f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_AccountPermissionsListResponse extends Google_Collection
+{
+ protected $collection_key = 'accountPermissions';
+ protected $accountPermissionsType = 'Google_Service_Dfareporting_AccountPermission';
+ protected $accountPermissionsDataType = 'array';
+ public $kind;
+
+ public function setAccountPermissions($accountPermissions)
+ {
+ $this->accountPermissions = $accountPermissions;
+ }
+ public function getAccountPermissions()
+ {
+ return $this->accountPermissions;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountUserProfile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountUserProfile.php
new file mode 100644
index 00000000..2c40cc88
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountUserProfile.php
@@ -0,0 +1,169 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_AccountUserProfile extends Google_Model
+{
+ public $accountId;
+ public $active;
+ protected $advertiserFilterType = 'Google_Service_Dfareporting_ObjectFilter';
+ protected $advertiserFilterDataType = '';
+ protected $campaignFilterType = 'Google_Service_Dfareporting_ObjectFilter';
+ protected $campaignFilterDataType = '';
+ public $comments;
+ public $email;
+ public $id;
+ public $kind;
+ public $locale;
+ public $name;
+ protected $siteFilterType = 'Google_Service_Dfareporting_ObjectFilter';
+ protected $siteFilterDataType = '';
+ public $subaccountId;
+ public $traffickerType;
+ public $userAccessType;
+ protected $userRoleFilterType = 'Google_Service_Dfareporting_ObjectFilter';
+ protected $userRoleFilterDataType = '';
+ public $userRoleId;
+
+ 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 setAdvertiserFilter(Google_Service_Dfareporting_ObjectFilter $advertiserFilter)
+ {
+ $this->advertiserFilter = $advertiserFilter;
+ }
+ public function getAdvertiserFilter()
+ {
+ return $this->advertiserFilter;
+ }
+ public function setCampaignFilter(Google_Service_Dfareporting_ObjectFilter $campaignFilter)
+ {
+ $this->campaignFilter = $campaignFilter;
+ }
+ public function getCampaignFilter()
+ {
+ return $this->campaignFilter;
+ }
+ public function setComments($comments)
+ {
+ $this->comments = $comments;
+ }
+ public function getComments()
+ {
+ return $this->comments;
+ }
+ 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;
+ }
+ 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 setSiteFilter(Google_Service_Dfareporting_ObjectFilter $siteFilter)
+ {
+ $this->siteFilter = $siteFilter;
+ }
+ public function getSiteFilter()
+ {
+ return $this->siteFilter;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTraffickerType($traffickerType)
+ {
+ $this->traffickerType = $traffickerType;
+ }
+ public function getTraffickerType()
+ {
+ return $this->traffickerType;
+ }
+ public function setUserAccessType($userAccessType)
+ {
+ $this->userAccessType = $userAccessType;
+ }
+ public function getUserAccessType()
+ {
+ return $this->userAccessType;
+ }
+ public function setUserRoleFilter(Google_Service_Dfareporting_ObjectFilter $userRoleFilter)
+ {
+ $this->userRoleFilter = $userRoleFilter;
+ }
+ public function getUserRoleFilter()
+ {
+ return $this->userRoleFilter;
+ }
+ public function setUserRoleId($userRoleId)
+ {
+ $this->userRoleId = $userRoleId;
+ }
+ public function getUserRoleId()
+ {
+ return $this->userRoleId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountUserProfilesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountUserProfilesListResponse.php
new file mode 100644
index 00000000..5bd57051
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountUserProfilesListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_AccountUserProfilesListResponse extends Google_Collection
+{
+ protected $collection_key = 'accountUserProfiles';
+ protected $accountUserProfilesType = 'Google_Service_Dfareporting_AccountUserProfile';
+ protected $accountUserProfilesDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setAccountUserProfiles($accountUserProfiles)
+ {
+ $this->accountUserProfiles = $accountUserProfiles;
+ }
+ public function getAccountUserProfiles()
+ {
+ return $this->accountUserProfiles;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountsListResponse.php
new file mode 100644
index 00000000..7d2efbd4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_AccountsListResponse extends Google_Collection
+{
+ protected $collection_key = 'accounts';
+ protected $accountsType = 'Google_Service_Dfareporting_Account';
+ protected $accountsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setAccounts($accounts)
+ {
+ $this->accounts = $accounts;
+ }
+ public function getAccounts()
+ {
+ return $this->accounts;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Activities.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Activities.php
new file mode 100644
index 00000000..1dd0b515
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Activities.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Activities extends Google_Collection
+{
+ protected $collection_key = 'metricNames';
+ protected $filtersType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Ad.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Ad.php
new file mode 100644
index 00000000..b794138f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Ad.php
@@ -0,0 +1,393 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Ad extends Google_Collection
+{
+ protected $collection_key = 'placementAssignments';
+ public $accountId;
+ public $active;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $archived;
+ public $audienceSegmentId;
+ public $campaignId;
+ protected $campaignIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $campaignIdDimensionValueDataType = '';
+ protected $clickThroughUrlType = 'Google_Service_Dfareporting_ClickThroughUrl';
+ protected $clickThroughUrlDataType = '';
+ protected $clickThroughUrlSuffixPropertiesType = 'Google_Service_Dfareporting_ClickThroughUrlSuffixProperties';
+ protected $clickThroughUrlSuffixPropertiesDataType = '';
+ public $comments;
+ public $compatibility;
+ protected $createInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $createInfoDataType = '';
+ protected $creativeGroupAssignmentsType = 'Google_Service_Dfareporting_CreativeGroupAssignment';
+ protected $creativeGroupAssignmentsDataType = 'array';
+ protected $creativeRotationType = 'Google_Service_Dfareporting_CreativeRotation';
+ protected $creativeRotationDataType = '';
+ protected $dayPartTargetingType = 'Google_Service_Dfareporting_DayPartTargeting';
+ protected $dayPartTargetingDataType = '';
+ protected $defaultClickThroughEventTagPropertiesType = 'Google_Service_Dfareporting_DefaultClickThroughEventTagProperties';
+ protected $defaultClickThroughEventTagPropertiesDataType = '';
+ protected $deliveryScheduleType = 'Google_Service_Dfareporting_DeliverySchedule';
+ protected $deliveryScheduleDataType = '';
+ public $dynamicClickTracker;
+ public $endTime;
+ protected $eventTagOverridesType = 'Google_Service_Dfareporting_EventTagOverride';
+ protected $eventTagOverridesDataType = 'array';
+ protected $geoTargetingType = 'Google_Service_Dfareporting_GeoTargeting';
+ protected $geoTargetingDataType = '';
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ protected $keyValueTargetingExpressionType = 'Google_Service_Dfareporting_KeyValueTargetingExpression';
+ protected $keyValueTargetingExpressionDataType = '';
+ public $kind;
+ protected $languageTargetingType = 'Google_Service_Dfareporting_LanguageTargeting';
+ protected $languageTargetingDataType = '';
+ protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $lastModifiedInfoDataType = '';
+ public $name;
+ protected $placementAssignmentsType = 'Google_Service_Dfareporting_PlacementAssignment';
+ protected $placementAssignmentsDataType = 'array';
+ protected $remarketingListExpressionType = 'Google_Service_Dfareporting_ListTargetingExpression';
+ protected $remarketingListExpressionDataType = '';
+ protected $sizeType = 'Google_Service_Dfareporting_Size';
+ protected $sizeDataType = '';
+ public $sslCompliant;
+ public $sslRequired;
+ public $startTime;
+ public $subaccountId;
+ public $targetingTemplateId;
+ protected $technologyTargetingType = 'Google_Service_Dfareporting_TechnologyTargeting';
+ protected $technologyTargetingDataType = '';
+ public $type;
+
+ 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 setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setArchived($archived)
+ {
+ $this->archived = $archived;
+ }
+ public function getArchived()
+ {
+ return $this->archived;
+ }
+ public function setAudienceSegmentId($audienceSegmentId)
+ {
+ $this->audienceSegmentId = $audienceSegmentId;
+ }
+ public function getAudienceSegmentId()
+ {
+ return $this->audienceSegmentId;
+ }
+ public function setCampaignId($campaignId)
+ {
+ $this->campaignId = $campaignId;
+ }
+ public function getCampaignId()
+ {
+ return $this->campaignId;
+ }
+ public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue)
+ {
+ $this->campaignIdDimensionValue = $campaignIdDimensionValue;
+ }
+ public function getCampaignIdDimensionValue()
+ {
+ return $this->campaignIdDimensionValue;
+ }
+ public function setClickThroughUrl(Google_Service_Dfareporting_ClickThroughUrl $clickThroughUrl)
+ {
+ $this->clickThroughUrl = $clickThroughUrl;
+ }
+ public function getClickThroughUrl()
+ {
+ return $this->clickThroughUrl;
+ }
+ public function setClickThroughUrlSuffixProperties(Google_Service_Dfareporting_ClickThroughUrlSuffixProperties $clickThroughUrlSuffixProperties)
+ {
+ $this->clickThroughUrlSuffixProperties = $clickThroughUrlSuffixProperties;
+ }
+ public function getClickThroughUrlSuffixProperties()
+ {
+ return $this->clickThroughUrlSuffixProperties;
+ }
+ public function setComments($comments)
+ {
+ $this->comments = $comments;
+ }
+ public function getComments()
+ {
+ return $this->comments;
+ }
+ public function setCompatibility($compatibility)
+ {
+ $this->compatibility = $compatibility;
+ }
+ public function getCompatibility()
+ {
+ return $this->compatibility;
+ }
+ public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo)
+ {
+ $this->createInfo = $createInfo;
+ }
+ public function getCreateInfo()
+ {
+ return $this->createInfo;
+ }
+ public function setCreativeGroupAssignments($creativeGroupAssignments)
+ {
+ $this->creativeGroupAssignments = $creativeGroupAssignments;
+ }
+ public function getCreativeGroupAssignments()
+ {
+ return $this->creativeGroupAssignments;
+ }
+ public function setCreativeRotation(Google_Service_Dfareporting_CreativeRotation $creativeRotation)
+ {
+ $this->creativeRotation = $creativeRotation;
+ }
+ public function getCreativeRotation()
+ {
+ return $this->creativeRotation;
+ }
+ public function setDayPartTargeting(Google_Service_Dfareporting_DayPartTargeting $dayPartTargeting)
+ {
+ $this->dayPartTargeting = $dayPartTargeting;
+ }
+ public function getDayPartTargeting()
+ {
+ return $this->dayPartTargeting;
+ }
+ public function setDefaultClickThroughEventTagProperties(Google_Service_Dfareporting_DefaultClickThroughEventTagProperties $defaultClickThroughEventTagProperties)
+ {
+ $this->defaultClickThroughEventTagProperties = $defaultClickThroughEventTagProperties;
+ }
+ public function getDefaultClickThroughEventTagProperties()
+ {
+ return $this->defaultClickThroughEventTagProperties;
+ }
+ public function setDeliverySchedule(Google_Service_Dfareporting_DeliverySchedule $deliverySchedule)
+ {
+ $this->deliverySchedule = $deliverySchedule;
+ }
+ public function getDeliverySchedule()
+ {
+ return $this->deliverySchedule;
+ }
+ public function setDynamicClickTracker($dynamicClickTracker)
+ {
+ $this->dynamicClickTracker = $dynamicClickTracker;
+ }
+ public function getDynamicClickTracker()
+ {
+ return $this->dynamicClickTracker;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setEventTagOverrides($eventTagOverrides)
+ {
+ $this->eventTagOverrides = $eventTagOverrides;
+ }
+ public function getEventTagOverrides()
+ {
+ return $this->eventTagOverrides;
+ }
+ public function setGeoTargeting(Google_Service_Dfareporting_GeoTargeting $geoTargeting)
+ {
+ $this->geoTargeting = $geoTargeting;
+ }
+ public function getGeoTargeting()
+ {
+ return $this->geoTargeting;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setKeyValueTargetingExpression(Google_Service_Dfareporting_KeyValueTargetingExpression $keyValueTargetingExpression)
+ {
+ $this->keyValueTargetingExpression = $keyValueTargetingExpression;
+ }
+ public function getKeyValueTargetingExpression()
+ {
+ return $this->keyValueTargetingExpression;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLanguageTargeting(Google_Service_Dfareporting_LanguageTargeting $languageTargeting)
+ {
+ $this->languageTargeting = $languageTargeting;
+ }
+ public function getLanguageTargeting()
+ {
+ return $this->languageTargeting;
+ }
+ public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
+ {
+ $this->lastModifiedInfo = $lastModifiedInfo;
+ }
+ public function getLastModifiedInfo()
+ {
+ return $this->lastModifiedInfo;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPlacementAssignments($placementAssignments)
+ {
+ $this->placementAssignments = $placementAssignments;
+ }
+ public function getPlacementAssignments()
+ {
+ return $this->placementAssignments;
+ }
+ public function setRemarketingListExpression(Google_Service_Dfareporting_ListTargetingExpression $remarketingListExpression)
+ {
+ $this->remarketingListExpression = $remarketingListExpression;
+ }
+ public function getRemarketingListExpression()
+ {
+ return $this->remarketingListExpression;
+ }
+ public function setSize(Google_Service_Dfareporting_Size $size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setSslCompliant($sslCompliant)
+ {
+ $this->sslCompliant = $sslCompliant;
+ }
+ public function getSslCompliant()
+ {
+ return $this->sslCompliant;
+ }
+ public function setSslRequired($sslRequired)
+ {
+ $this->sslRequired = $sslRequired;
+ }
+ public function getSslRequired()
+ {
+ return $this->sslRequired;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTargetingTemplateId($targetingTemplateId)
+ {
+ $this->targetingTemplateId = $targetingTemplateId;
+ }
+ public function getTargetingTemplateId()
+ {
+ return $this->targetingTemplateId;
+ }
+ public function setTechnologyTargeting(Google_Service_Dfareporting_TechnologyTargeting $technologyTargeting)
+ {
+ $this->technologyTargeting = $technologyTargeting;
+ }
+ public function getTechnologyTargeting()
+ {
+ return $this->technologyTargeting;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdSlot.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdSlot.php
new file mode 100644
index 00000000..f6e2fec7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdSlot.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_AdSlot extends Google_Model
+{
+ public $comment;
+ public $compatibility;
+ public $height;
+ public $linkedPlacementId;
+ public $name;
+ public $paymentSourceType;
+ public $primary;
+ public $width;
+
+ public function setComment($comment)
+ {
+ $this->comment = $comment;
+ }
+ public function getComment()
+ {
+ return $this->comment;
+ }
+ public function setCompatibility($compatibility)
+ {
+ $this->compatibility = $compatibility;
+ }
+ public function getCompatibility()
+ {
+ return $this->compatibility;
+ }
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setLinkedPlacementId($linkedPlacementId)
+ {
+ $this->linkedPlacementId = $linkedPlacementId;
+ }
+ public function getLinkedPlacementId()
+ {
+ return $this->linkedPlacementId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPaymentSourceType($paymentSourceType)
+ {
+ $this->paymentSourceType = $paymentSourceType;
+ }
+ public function getPaymentSourceType()
+ {
+ return $this->paymentSourceType;
+ }
+ public function setPrimary($primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdsListResponse.php
new file mode 100644
index 00000000..480ccece
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_AdsListResponse extends Google_Collection
+{
+ protected $collection_key = 'ads';
+ protected $adsType = 'Google_Service_Dfareporting_Ad';
+ protected $adsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setAds($ads)
+ {
+ $this->ads = $ads;
+ }
+ public function getAds()
+ {
+ return $this->ads;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Advertiser.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Advertiser.php
new file mode 100644
index 00000000..f8998ef8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Advertiser.php
@@ -0,0 +1,158 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Advertiser extends Google_Model
+{
+ public $accountId;
+ public $advertiserGroupId;
+ public $clickThroughUrlSuffix;
+ public $defaultClickThroughEventTagId;
+ public $defaultEmail;
+ public $floodlightConfigurationId;
+ protected $floodlightConfigurationIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $floodlightConfigurationIdDimensionValueDataType = '';
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $kind;
+ public $name;
+ public $originalFloodlightConfigurationId;
+ public $status;
+ public $subaccountId;
+ public $suspended;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdvertiserGroupId($advertiserGroupId)
+ {
+ $this->advertiserGroupId = $advertiserGroupId;
+ }
+ public function getAdvertiserGroupId()
+ {
+ return $this->advertiserGroupId;
+ }
+ public function setClickThroughUrlSuffix($clickThroughUrlSuffix)
+ {
+ $this->clickThroughUrlSuffix = $clickThroughUrlSuffix;
+ }
+ public function getClickThroughUrlSuffix()
+ {
+ return $this->clickThroughUrlSuffix;
+ }
+ public function setDefaultClickThroughEventTagId($defaultClickThroughEventTagId)
+ {
+ $this->defaultClickThroughEventTagId = $defaultClickThroughEventTagId;
+ }
+ public function getDefaultClickThroughEventTagId()
+ {
+ return $this->defaultClickThroughEventTagId;
+ }
+ public function setDefaultEmail($defaultEmail)
+ {
+ $this->defaultEmail = $defaultEmail;
+ }
+ public function getDefaultEmail()
+ {
+ return $this->defaultEmail;
+ }
+ public function setFloodlightConfigurationId($floodlightConfigurationId)
+ {
+ $this->floodlightConfigurationId = $floodlightConfigurationId;
+ }
+ public function getFloodlightConfigurationId()
+ {
+ return $this->floodlightConfigurationId;
+ }
+ public function setFloodlightConfigurationIdDimensionValue(Google_Service_Dfareporting_DimensionValue $floodlightConfigurationIdDimensionValue)
+ {
+ $this->floodlightConfigurationIdDimensionValue = $floodlightConfigurationIdDimensionValue;
+ }
+ public function getFloodlightConfigurationIdDimensionValue()
+ {
+ return $this->floodlightConfigurationIdDimensionValue;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ 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 setOriginalFloodlightConfigurationId($originalFloodlightConfigurationId)
+ {
+ $this->originalFloodlightConfigurationId = $originalFloodlightConfigurationId;
+ }
+ public function getOriginalFloodlightConfigurationId()
+ {
+ return $this->originalFloodlightConfigurationId;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setSuspended($suspended)
+ {
+ $this->suspended = $suspended;
+ }
+ public function getSuspended()
+ {
+ return $this->suspended;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertiserGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertiserGroup.php
new file mode 100644
index 00000000..f954b61f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertiserGroup.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_AdvertiserGroup extends Google_Model
+{
+ public $accountId;
+ public $id;
+ public $kind;
+ public $name;
+
+ 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 setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertiserGroupsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertiserGroupsListResponse.php
new file mode 100644
index 00000000..611a5d06
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertiserGroupsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_AdvertiserGroupsListResponse extends Google_Collection
+{
+ protected $collection_key = 'advertiserGroups';
+ protected $advertiserGroupsType = 'Google_Service_Dfareporting_AdvertiserGroup';
+ protected $advertiserGroupsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setAdvertiserGroups($advertiserGroups)
+ {
+ $this->advertiserGroups = $advertiserGroups;
+ }
+ public function getAdvertiserGroups()
+ {
+ return $this->advertiserGroups;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertisersListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertisersListResponse.php
new file mode 100644
index 00000000..b639a4c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertisersListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_AdvertisersListResponse extends Google_Collection
+{
+ protected $collection_key = 'advertisers';
+ protected $advertisersType = 'Google_Service_Dfareporting_Advertiser';
+ protected $advertisersDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setAdvertisers($advertisers)
+ {
+ $this->advertisers = $advertisers;
+ }
+ public function getAdvertisers()
+ {
+ return $this->advertisers;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AudienceSegment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AudienceSegment.php
new file mode 100644
index 00000000..9b42a36d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AudienceSegment.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_AudienceSegment extends Google_Model
+{
+ public $allocation;
+ public $id;
+ public $name;
+
+ public function setAllocation($allocation)
+ {
+ $this->allocation = $allocation;
+ }
+ public function getAllocation()
+ {
+ return $this->allocation;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AudienceSegmentGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AudienceSegmentGroup.php
new file mode 100644
index 00000000..411fa1c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AudienceSegmentGroup.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_AudienceSegmentGroup extends Google_Collection
+{
+ protected $collection_key = 'audienceSegments';
+ protected $audienceSegmentsType = 'Google_Service_Dfareporting_AudienceSegment';
+ protected $audienceSegmentsDataType = 'array';
+ public $id;
+ public $name;
+
+ public function setAudienceSegments($audienceSegments)
+ {
+ $this->audienceSegments = $audienceSegments;
+ }
+ public function getAudienceSegments()
+ {
+ return $this->audienceSegments;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Browser.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Browser.php
new file mode 100644
index 00000000..acdd5a97
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Browser.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Browser extends Google_Model
+{
+ public $browserVersionId;
+ public $dartId;
+ public $kind;
+ public $majorVersion;
+ public $minorVersion;
+ public $name;
+
+ public function setBrowserVersionId($browserVersionId)
+ {
+ $this->browserVersionId = $browserVersionId;
+ }
+ public function getBrowserVersionId()
+ {
+ return $this->browserVersionId;
+ }
+ public function setDartId($dartId)
+ {
+ $this->dartId = $dartId;
+ }
+ public function getDartId()
+ {
+ return $this->dartId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMajorVersion($majorVersion)
+ {
+ $this->majorVersion = $majorVersion;
+ }
+ public function getMajorVersion()
+ {
+ return $this->majorVersion;
+ }
+ public function setMinorVersion($minorVersion)
+ {
+ $this->minorVersion = $minorVersion;
+ }
+ public function getMinorVersion()
+ {
+ return $this->minorVersion;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/BrowsersListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/BrowsersListResponse.php
new file mode 100644
index 00000000..c3caa3d5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/BrowsersListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_BrowsersListResponse extends Google_Collection
+{
+ protected $collection_key = 'browsers';
+ protected $browsersType = 'Google_Service_Dfareporting_Browser';
+ protected $browsersDataType = 'array';
+ public $kind;
+
+ public function setBrowsers($browsers)
+ {
+ $this->browsers = $browsers;
+ }
+ public function getBrowsers()
+ {
+ return $this->browsers;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Campaign.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Campaign.php
new file mode 100644
index 00000000..562bb71d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Campaign.php
@@ -0,0 +1,276 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Campaign extends Google_Collection
+{
+ protected $collection_key = 'traffickerEmails';
+ public $accountId;
+ protected $additionalCreativeOptimizationConfigurationsType = 'Google_Service_Dfareporting_CreativeOptimizationConfiguration';
+ protected $additionalCreativeOptimizationConfigurationsDataType = 'array';
+ public $advertiserGroupId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $archived;
+ protected $audienceSegmentGroupsType = 'Google_Service_Dfareporting_AudienceSegmentGroup';
+ protected $audienceSegmentGroupsDataType = 'array';
+ public $billingInvoiceCode;
+ protected $clickThroughUrlSuffixPropertiesType = 'Google_Service_Dfareporting_ClickThroughUrlSuffixProperties';
+ protected $clickThroughUrlSuffixPropertiesDataType = '';
+ public $comment;
+ protected $createInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $createInfoDataType = '';
+ public $creativeGroupIds;
+ protected $creativeOptimizationConfigurationType = 'Google_Service_Dfareporting_CreativeOptimizationConfiguration';
+ protected $creativeOptimizationConfigurationDataType = '';
+ protected $defaultClickThroughEventTagPropertiesType = 'Google_Service_Dfareporting_DefaultClickThroughEventTagProperties';
+ protected $defaultClickThroughEventTagPropertiesDataType = '';
+ public $endDate;
+ protected $eventTagOverridesType = 'Google_Service_Dfareporting_EventTagOverride';
+ protected $eventTagOverridesDataType = 'array';
+ public $externalId;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $kind;
+ protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $lastModifiedInfoDataType = '';
+ protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration';
+ protected $lookbackConfigurationDataType = '';
+ public $name;
+ public $nielsenOcrEnabled;
+ public $startDate;
+ public $subaccountId;
+ public $traffickerEmails;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdditionalCreativeOptimizationConfigurations($additionalCreativeOptimizationConfigurations)
+ {
+ $this->additionalCreativeOptimizationConfigurations = $additionalCreativeOptimizationConfigurations;
+ }
+ public function getAdditionalCreativeOptimizationConfigurations()
+ {
+ return $this->additionalCreativeOptimizationConfigurations;
+ }
+ public function setAdvertiserGroupId($advertiserGroupId)
+ {
+ $this->advertiserGroupId = $advertiserGroupId;
+ }
+ public function getAdvertiserGroupId()
+ {
+ return $this->advertiserGroupId;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setArchived($archived)
+ {
+ $this->archived = $archived;
+ }
+ public function getArchived()
+ {
+ return $this->archived;
+ }
+ public function setAudienceSegmentGroups($audienceSegmentGroups)
+ {
+ $this->audienceSegmentGroups = $audienceSegmentGroups;
+ }
+ public function getAudienceSegmentGroups()
+ {
+ return $this->audienceSegmentGroups;
+ }
+ public function setBillingInvoiceCode($billingInvoiceCode)
+ {
+ $this->billingInvoiceCode = $billingInvoiceCode;
+ }
+ public function getBillingInvoiceCode()
+ {
+ return $this->billingInvoiceCode;
+ }
+ public function setClickThroughUrlSuffixProperties(Google_Service_Dfareporting_ClickThroughUrlSuffixProperties $clickThroughUrlSuffixProperties)
+ {
+ $this->clickThroughUrlSuffixProperties = $clickThroughUrlSuffixProperties;
+ }
+ public function getClickThroughUrlSuffixProperties()
+ {
+ return $this->clickThroughUrlSuffixProperties;
+ }
+ public function setComment($comment)
+ {
+ $this->comment = $comment;
+ }
+ public function getComment()
+ {
+ return $this->comment;
+ }
+ public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo)
+ {
+ $this->createInfo = $createInfo;
+ }
+ public function getCreateInfo()
+ {
+ return $this->createInfo;
+ }
+ public function setCreativeGroupIds($creativeGroupIds)
+ {
+ $this->creativeGroupIds = $creativeGroupIds;
+ }
+ public function getCreativeGroupIds()
+ {
+ return $this->creativeGroupIds;
+ }
+ public function setCreativeOptimizationConfiguration(Google_Service_Dfareporting_CreativeOptimizationConfiguration $creativeOptimizationConfiguration)
+ {
+ $this->creativeOptimizationConfiguration = $creativeOptimizationConfiguration;
+ }
+ public function getCreativeOptimizationConfiguration()
+ {
+ return $this->creativeOptimizationConfiguration;
+ }
+ public function setDefaultClickThroughEventTagProperties(Google_Service_Dfareporting_DefaultClickThroughEventTagProperties $defaultClickThroughEventTagProperties)
+ {
+ $this->defaultClickThroughEventTagProperties = $defaultClickThroughEventTagProperties;
+ }
+ public function getDefaultClickThroughEventTagProperties()
+ {
+ return $this->defaultClickThroughEventTagProperties;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setEventTagOverrides($eventTagOverrides)
+ {
+ $this->eventTagOverrides = $eventTagOverrides;
+ }
+ public function getEventTagOverrides()
+ {
+ return $this->eventTagOverrides;
+ }
+ public function setExternalId($externalId)
+ {
+ $this->externalId = $externalId;
+ }
+ public function getExternalId()
+ {
+ return $this->externalId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
+ {
+ $this->lastModifiedInfo = $lastModifiedInfo;
+ }
+ public function getLastModifiedInfo()
+ {
+ return $this->lastModifiedInfo;
+ }
+ public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration)
+ {
+ $this->lookbackConfiguration = $lookbackConfiguration;
+ }
+ public function getLookbackConfiguration()
+ {
+ return $this->lookbackConfiguration;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNielsenOcrEnabled($nielsenOcrEnabled)
+ {
+ $this->nielsenOcrEnabled = $nielsenOcrEnabled;
+ }
+ public function getNielsenOcrEnabled()
+ {
+ return $this->nielsenOcrEnabled;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTraffickerEmails($traffickerEmails)
+ {
+ $this->traffickerEmails = $traffickerEmails;
+ }
+ public function getTraffickerEmails()
+ {
+ return $this->traffickerEmails;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignCreativeAssociation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignCreativeAssociation.php
new file mode 100644
index 00000000..4ff18d41
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignCreativeAssociation.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CampaignCreativeAssociation extends Google_Model
+{
+ public $creativeId;
+ public $kind;
+
+ public function setCreativeId($creativeId)
+ {
+ $this->creativeId = $creativeId;
+ }
+ public function getCreativeId()
+ {
+ return $this->creativeId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignCreativeAssociationsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignCreativeAssociationsListResponse.php
new file mode 100644
index 00000000..a3749f17
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignCreativeAssociationsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CampaignCreativeAssociationsListResponse extends Google_Collection
+{
+ protected $collection_key = 'campaignCreativeAssociations';
+ protected $campaignCreativeAssociationsType = 'Google_Service_Dfareporting_CampaignCreativeAssociation';
+ protected $campaignCreativeAssociationsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setCampaignCreativeAssociations($campaignCreativeAssociations)
+ {
+ $this->campaignCreativeAssociations = $campaignCreativeAssociations;
+ }
+ public function getCampaignCreativeAssociations()
+ {
+ return $this->campaignCreativeAssociations;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignsListResponse.php
new file mode 100644
index 00000000..5bd547f2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CampaignsListResponse extends Google_Collection
+{
+ protected $collection_key = 'campaigns';
+ protected $campaignsType = 'Google_Service_Dfareporting_Campaign';
+ protected $campaignsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setCampaigns($campaigns)
+ {
+ $this->campaigns = $campaigns;
+ }
+ public function getCampaigns()
+ {
+ return $this->campaigns;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ChangeLog.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ChangeLog.php
new file mode 100644
index 00000000..9cd64f3a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ChangeLog.php
@@ -0,0 +1,147 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ChangeLog extends Google_Model
+{
+ public $accountId;
+ public $action;
+ public $changeTime;
+ public $fieldName;
+ public $id;
+ public $kind;
+ public $newValue;
+ public $objectId;
+ public $objectType;
+ public $oldValue;
+ public $subaccountId;
+ public $transactionId;
+ public $userProfileId;
+ public $userProfileName;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setChangeTime($changeTime)
+ {
+ $this->changeTime = $changeTime;
+ }
+ public function getChangeTime()
+ {
+ return $this->changeTime;
+ }
+ public function setFieldName($fieldName)
+ {
+ $this->fieldName = $fieldName;
+ }
+ public function getFieldName()
+ {
+ return $this->fieldName;
+ }
+ 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 setNewValue($newValue)
+ {
+ $this->newValue = $newValue;
+ }
+ public function getNewValue()
+ {
+ return $this->newValue;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setObjectType($objectType)
+ {
+ $this->objectType = $objectType;
+ }
+ public function getObjectType()
+ {
+ return $this->objectType;
+ }
+ public function setOldValue($oldValue)
+ {
+ $this->oldValue = $oldValue;
+ }
+ public function getOldValue()
+ {
+ return $this->oldValue;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTransactionId($transactionId)
+ {
+ $this->transactionId = $transactionId;
+ }
+ public function getTransactionId()
+ {
+ return $this->transactionId;
+ }
+ public function setUserProfileId($userProfileId)
+ {
+ $this->userProfileId = $userProfileId;
+ }
+ public function getUserProfileId()
+ {
+ return $this->userProfileId;
+ }
+ public function setUserProfileName($userProfileName)
+ {
+ $this->userProfileName = $userProfileName;
+ }
+ public function getUserProfileName()
+ {
+ return $this->userProfileName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ChangeLogsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ChangeLogsListResponse.php
new file mode 100644
index 00000000..a90331c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ChangeLogsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ChangeLogsListResponse extends Google_Collection
+{
+ protected $collection_key = 'changeLogs';
+ protected $changeLogsType = 'Google_Service_Dfareporting_ChangeLog';
+ protected $changeLogsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setChangeLogs($changeLogs)
+ {
+ $this->changeLogs = $changeLogs;
+ }
+ public function getChangeLogs()
+ {
+ return $this->changeLogs;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CitiesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CitiesListResponse.php
new file mode 100644
index 00000000..c9ba81e1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CitiesListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CitiesListResponse extends Google_Collection
+{
+ protected $collection_key = 'cities';
+ protected $citiesType = 'Google_Service_Dfareporting_City';
+ protected $citiesDataType = 'array';
+ public $kind;
+
+ public function setCities($cities)
+ {
+ $this->cities = $cities;
+ }
+ public function getCities()
+ {
+ return $this->cities;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/City.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/City.php
new file mode 100644
index 00000000..6204f7b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/City.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_City extends Google_Model
+{
+ public $countryCode;
+ public $countryDartId;
+ public $dartId;
+ public $kind;
+ public $metroCode;
+ public $metroDmaId;
+ public $name;
+ public $regionCode;
+ public $regionDartId;
+
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setCountryDartId($countryDartId)
+ {
+ $this->countryDartId = $countryDartId;
+ }
+ public function getCountryDartId()
+ {
+ return $this->countryDartId;
+ }
+ public function setDartId($dartId)
+ {
+ $this->dartId = $dartId;
+ }
+ public function getDartId()
+ {
+ return $this->dartId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetroCode($metroCode)
+ {
+ $this->metroCode = $metroCode;
+ }
+ public function getMetroCode()
+ {
+ return $this->metroCode;
+ }
+ public function setMetroDmaId($metroDmaId)
+ {
+ $this->metroDmaId = $metroDmaId;
+ }
+ public function getMetroDmaId()
+ {
+ return $this->metroDmaId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRegionCode($regionCode)
+ {
+ $this->regionCode = $regionCode;
+ }
+ public function getRegionCode()
+ {
+ return $this->regionCode;
+ }
+ public function setRegionDartId($regionDartId)
+ {
+ $this->regionDartId = $regionDartId;
+ }
+ public function getRegionDartId()
+ {
+ return $this->regionDartId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickTag.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickTag.php
new file mode 100644
index 00000000..943101c0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickTag.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ClickTag extends Google_Model
+{
+ public $eventName;
+ public $name;
+ public $value;
+
+ public function setEventName($eventName)
+ {
+ $this->eventName = $eventName;
+ }
+ public function getEventName()
+ {
+ return $this->eventName;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickThroughUrl.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickThroughUrl.php
new file mode 100644
index 00000000..40b85556
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickThroughUrl.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ClickThroughUrl extends Google_Model
+{
+ public $computedClickThroughUrl;
+ public $customClickThroughUrl;
+ public $defaultLandingPage;
+ public $landingPageId;
+
+ public function setComputedClickThroughUrl($computedClickThroughUrl)
+ {
+ $this->computedClickThroughUrl = $computedClickThroughUrl;
+ }
+ public function getComputedClickThroughUrl()
+ {
+ return $this->computedClickThroughUrl;
+ }
+ public function setCustomClickThroughUrl($customClickThroughUrl)
+ {
+ $this->customClickThroughUrl = $customClickThroughUrl;
+ }
+ public function getCustomClickThroughUrl()
+ {
+ return $this->customClickThroughUrl;
+ }
+ public function setDefaultLandingPage($defaultLandingPage)
+ {
+ $this->defaultLandingPage = $defaultLandingPage;
+ }
+ public function getDefaultLandingPage()
+ {
+ return $this->defaultLandingPage;
+ }
+ public function setLandingPageId($landingPageId)
+ {
+ $this->landingPageId = $landingPageId;
+ }
+ public function getLandingPageId()
+ {
+ return $this->landingPageId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickThroughUrlSuffixProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickThroughUrlSuffixProperties.php
new file mode 100644
index 00000000..a192e47c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickThroughUrlSuffixProperties.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ClickThroughUrlSuffixProperties extends Google_Model
+{
+ public $clickThroughUrlSuffix;
+ public $overrideInheritedSuffix;
+
+ public function setClickThroughUrlSuffix($clickThroughUrlSuffix)
+ {
+ $this->clickThroughUrlSuffix = $clickThroughUrlSuffix;
+ }
+ public function getClickThroughUrlSuffix()
+ {
+ return $this->clickThroughUrlSuffix;
+ }
+ public function setOverrideInheritedSuffix($overrideInheritedSuffix)
+ {
+ $this->overrideInheritedSuffix = $overrideInheritedSuffix;
+ }
+ public function getOverrideInheritedSuffix()
+ {
+ return $this->overrideInheritedSuffix;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompanionClickThroughOverride.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompanionClickThroughOverride.php
new file mode 100644
index 00000000..a6333bd8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompanionClickThroughOverride.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CompanionClickThroughOverride extends Google_Model
+{
+ protected $clickThroughUrlType = 'Google_Service_Dfareporting_ClickThroughUrl';
+ protected $clickThroughUrlDataType = '';
+ public $creativeId;
+
+ public function setClickThroughUrl(Google_Service_Dfareporting_ClickThroughUrl $clickThroughUrl)
+ {
+ $this->clickThroughUrl = $clickThroughUrl;
+ }
+ public function getClickThroughUrl()
+ {
+ return $this->clickThroughUrl;
+ }
+ public function setCreativeId($creativeId)
+ {
+ $this->creativeId = $creativeId;
+ }
+ public function getCreativeId()
+ {
+ return $this->creativeId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompanionSetting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompanionSetting.php
new file mode 100644
index 00000000..f75ab2e2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompanionSetting.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CompanionSetting extends Google_Collection
+{
+ protected $collection_key = 'enabledSizes';
+ public $companionsDisabled;
+ protected $enabledSizesType = 'Google_Service_Dfareporting_Size';
+ protected $enabledSizesDataType = 'array';
+ public $imageOnly;
+ public $kind;
+
+ public function setCompanionsDisabled($companionsDisabled)
+ {
+ $this->companionsDisabled = $companionsDisabled;
+ }
+ public function getCompanionsDisabled()
+ {
+ return $this->companionsDisabled;
+ }
+ public function setEnabledSizes($enabledSizes)
+ {
+ $this->enabledSizes = $enabledSizes;
+ }
+ public function getEnabledSizes()
+ {
+ return $this->enabledSizes;
+ }
+ public function setImageOnly($imageOnly)
+ {
+ $this->imageOnly = $imageOnly;
+ }
+ public function getImageOnly()
+ {
+ return $this->imageOnly;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompatibleFields.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompatibleFields.php
new file mode 100644
index 00000000..5619b83c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompatibleFields.php
@@ -0,0 +1,80 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CompatibleFields extends Google_Model
+{
+ protected $crossDimensionReachReportCompatibleFieldsType = 'Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields';
+ protected $crossDimensionReachReportCompatibleFieldsDataType = '';
+ protected $floodlightReportCompatibleFieldsType = 'Google_Service_Dfareporting_FloodlightReportCompatibleFields';
+ protected $floodlightReportCompatibleFieldsDataType = '';
+ public $kind;
+ protected $pathToConversionReportCompatibleFieldsType = 'Google_Service_Dfareporting_PathToConversionReportCompatibleFields';
+ protected $pathToConversionReportCompatibleFieldsDataType = '';
+ protected $reachReportCompatibleFieldsType = 'Google_Service_Dfareporting_ReachReportCompatibleFields';
+ protected $reachReportCompatibleFieldsDataType = '';
+ protected $reportCompatibleFieldsType = 'Google_Service_Dfareporting_ReportCompatibleFields';
+ protected $reportCompatibleFieldsDataType = '';
+
+ public function setCrossDimensionReachReportCompatibleFields(Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields $crossDimensionReachReportCompatibleFields)
+ {
+ $this->crossDimensionReachReportCompatibleFields = $crossDimensionReachReportCompatibleFields;
+ }
+ public function getCrossDimensionReachReportCompatibleFields()
+ {
+ return $this->crossDimensionReachReportCompatibleFields;
+ }
+ public function setFloodlightReportCompatibleFields(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(Google_Service_Dfareporting_PathToConversionReportCompatibleFields $pathToConversionReportCompatibleFields)
+ {
+ $this->pathToConversionReportCompatibleFields = $pathToConversionReportCompatibleFields;
+ }
+ public function getPathToConversionReportCompatibleFields()
+ {
+ return $this->pathToConversionReportCompatibleFields;
+ }
+ public function setReachReportCompatibleFields(Google_Service_Dfareporting_ReachReportCompatibleFields $reachReportCompatibleFields)
+ {
+ $this->reachReportCompatibleFields = $reachReportCompatibleFields;
+ }
+ public function getReachReportCompatibleFields()
+ {
+ return $this->reachReportCompatibleFields;
+ }
+ public function setReportCompatibleFields(Google_Service_Dfareporting_ReportCompatibleFields $reportCompatibleFields)
+ {
+ $this->reportCompatibleFields = $reportCompatibleFields;
+ }
+ public function getReportCompatibleFields()
+ {
+ return $this->reportCompatibleFields;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConnectionType.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConnectionType.php
new file mode 100644
index 00000000..5a2899a5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConnectionType.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ConnectionType extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConnectionTypesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConnectionTypesListResponse.php
new file mode 100644
index 00000000..2ef44105
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConnectionTypesListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ConnectionTypesListResponse extends Google_Collection
+{
+ protected $collection_key = 'connectionTypes';
+ protected $connectionTypesType = 'Google_Service_Dfareporting_ConnectionType';
+ protected $connectionTypesDataType = 'array';
+ public $kind;
+
+ public function setConnectionTypes($connectionTypes)
+ {
+ $this->connectionTypes = $connectionTypes;
+ }
+ public function getConnectionTypes()
+ {
+ return $this->connectionTypes;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ContentCategoriesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ContentCategoriesListResponse.php
new file mode 100644
index 00000000..2618be9d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ContentCategoriesListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ContentCategoriesListResponse extends Google_Collection
+{
+ protected $collection_key = 'contentCategories';
+ protected $contentCategoriesType = 'Google_Service_Dfareporting_ContentCategory';
+ protected $contentCategoriesDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setContentCategories($contentCategories)
+ {
+ $this->contentCategories = $contentCategories;
+ }
+ public function getContentCategories()
+ {
+ return $this->contentCategories;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ContentCategory.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ContentCategory.php
new file mode 100644
index 00000000..d3ebe712
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ContentCategory.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ContentCategory extends Google_Model
+{
+ public $accountId;
+ public $id;
+ public $kind;
+ public $name;
+
+ 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 setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Conversion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Conversion.php
new file mode 100644
index 00000000..c189b613
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Conversion.php
@@ -0,0 +1,140 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Conversion extends Google_Collection
+{
+ protected $collection_key = 'encryptedUserIdCandidates';
+ public $childDirectedTreatment;
+ protected $customVariablesType = 'Google_Service_Dfareporting_CustomFloodlightVariable';
+ protected $customVariablesDataType = 'array';
+ public $encryptedUserId;
+ public $encryptedUserIdCandidates;
+ public $floodlightActivityId;
+ public $floodlightConfigurationId;
+ public $kind;
+ public $limitAdTracking;
+ public $mobileDeviceId;
+ public $ordinal;
+ public $quantity;
+ public $timestampMicros;
+ public $value;
+
+ public function setChildDirectedTreatment($childDirectedTreatment)
+ {
+ $this->childDirectedTreatment = $childDirectedTreatment;
+ }
+ public function getChildDirectedTreatment()
+ {
+ return $this->childDirectedTreatment;
+ }
+ public function setCustomVariables($customVariables)
+ {
+ $this->customVariables = $customVariables;
+ }
+ public function getCustomVariables()
+ {
+ return $this->customVariables;
+ }
+ public function setEncryptedUserId($encryptedUserId)
+ {
+ $this->encryptedUserId = $encryptedUserId;
+ }
+ public function getEncryptedUserId()
+ {
+ return $this->encryptedUserId;
+ }
+ public function setEncryptedUserIdCandidates($encryptedUserIdCandidates)
+ {
+ $this->encryptedUserIdCandidates = $encryptedUserIdCandidates;
+ }
+ public function getEncryptedUserIdCandidates()
+ {
+ return $this->encryptedUserIdCandidates;
+ }
+ public function setFloodlightActivityId($floodlightActivityId)
+ {
+ $this->floodlightActivityId = $floodlightActivityId;
+ }
+ public function getFloodlightActivityId()
+ {
+ return $this->floodlightActivityId;
+ }
+ public function setFloodlightConfigurationId($floodlightConfigurationId)
+ {
+ $this->floodlightConfigurationId = $floodlightConfigurationId;
+ }
+ public function getFloodlightConfigurationId()
+ {
+ return $this->floodlightConfigurationId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLimitAdTracking($limitAdTracking)
+ {
+ $this->limitAdTracking = $limitAdTracking;
+ }
+ public function getLimitAdTracking()
+ {
+ return $this->limitAdTracking;
+ }
+ public function setMobileDeviceId($mobileDeviceId)
+ {
+ $this->mobileDeviceId = $mobileDeviceId;
+ }
+ public function getMobileDeviceId()
+ {
+ return $this->mobileDeviceId;
+ }
+ public function setOrdinal($ordinal)
+ {
+ $this->ordinal = $ordinal;
+ }
+ public function getOrdinal()
+ {
+ return $this->ordinal;
+ }
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+ public function setTimestampMicros($timestampMicros)
+ {
+ $this->timestampMicros = $timestampMicros;
+ }
+ public function getTimestampMicros()
+ {
+ return $this->timestampMicros;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionError.php
new file mode 100644
index 00000000..8eae13e2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionError.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ConversionError extends Google_Model
+{
+ public $code;
+ public $kind;
+ public $message;
+
+ 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 setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionStatus.php
new file mode 100644
index 00000000..520a0fd5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionStatus.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ConversionStatus extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $conversionType = 'Google_Service_Dfareporting_Conversion';
+ protected $conversionDataType = '';
+ protected $errorsType = 'Google_Service_Dfareporting_ConversionError';
+ protected $errorsDataType = 'array';
+ public $kind;
+
+ public function setConversion(Google_Service_Dfareporting_Conversion $conversion)
+ {
+ $this->conversion = $conversion;
+ }
+ public function getConversion()
+ {
+ return $this->conversion;
+ }
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionsBatchInsertRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionsBatchInsertRequest.php
new file mode 100644
index 00000000..acf5e24a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionsBatchInsertRequest.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ConversionsBatchInsertRequest extends Google_Collection
+{
+ protected $collection_key = 'conversions';
+ protected $conversionsType = 'Google_Service_Dfareporting_Conversion';
+ protected $conversionsDataType = 'array';
+ protected $encryptionInfoType = 'Google_Service_Dfareporting_EncryptionInfo';
+ protected $encryptionInfoDataType = '';
+ public $kind;
+
+ public function setConversions($conversions)
+ {
+ $this->conversions = $conversions;
+ }
+ public function getConversions()
+ {
+ return $this->conversions;
+ }
+ public function setEncryptionInfo(Google_Service_Dfareporting_EncryptionInfo $encryptionInfo)
+ {
+ $this->encryptionInfo = $encryptionInfo;
+ }
+ public function getEncryptionInfo()
+ {
+ return $this->encryptionInfo;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionsBatchInsertResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionsBatchInsertResponse.php
new file mode 100644
index 00000000..b3591cc6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionsBatchInsertResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ConversionsBatchInsertResponse extends Google_Collection
+{
+ protected $collection_key = 'status';
+ public $hasFailures;
+ public $kind;
+ protected $statusType = 'Google_Service_Dfareporting_ConversionStatus';
+ protected $statusDataType = 'array';
+
+ public function setHasFailures($hasFailures)
+ {
+ $this->hasFailures = $hasFailures;
+ }
+ public function getHasFailures()
+ {
+ return $this->hasFailures;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CountriesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CountriesListResponse.php
new file mode 100644
index 00000000..02349753
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CountriesListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CountriesListResponse extends Google_Collection
+{
+ protected $collection_key = 'countries';
+ protected $countriesType = 'Google_Service_Dfareporting_Country';
+ protected $countriesDataType = 'array';
+ public $kind;
+
+ public function setCountries($countries)
+ {
+ $this->countries = $countries;
+ }
+ public function getCountries()
+ {
+ return $this->countries;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Country.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Country.php
new file mode 100644
index 00000000..d1496294
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Country.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Country extends Google_Model
+{
+ public $countryCode;
+ public $dartId;
+ public $kind;
+ public $name;
+ public $sslEnabled;
+
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setDartId($dartId)
+ {
+ $this->dartId = $dartId;
+ }
+ public function getDartId()
+ {
+ return $this->dartId;
+ }
+ 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 setSslEnabled($sslEnabled)
+ {
+ $this->sslEnabled = $sslEnabled;
+ }
+ public function getSslEnabled()
+ {
+ return $this->sslEnabled;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Creative.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Creative.php
new file mode 100644
index 00000000..1fcc633a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Creative.php
@@ -0,0 +1,599 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Creative extends Google_Collection
+{
+ protected $collection_key = 'timerCustomEvents';
+ protected $internal_gapi_mappings = array(
+ "autoAdvanceImages" => "auto_advance_images",
+ );
+ public $accountId;
+ public $active;
+ public $adParameters;
+ public $adTagKeys;
+ public $advertiserId;
+ public $allowScriptAccess;
+ public $archived;
+ public $artworkType;
+ public $authoringSource;
+ public $authoringTool;
+ public $autoAdvanceImages;
+ public $backgroundColor;
+ public $backupImageClickThroughUrl;
+ public $backupImageFeatures;
+ public $backupImageReportingLabel;
+ protected $backupImageTargetWindowType = 'Google_Service_Dfareporting_TargetWindow';
+ protected $backupImageTargetWindowDataType = '';
+ protected $clickTagsType = 'Google_Service_Dfareporting_ClickTag';
+ protected $clickTagsDataType = 'array';
+ public $commercialId;
+ public $companionCreatives;
+ public $compatibility;
+ public $convertFlashToHtml5;
+ protected $counterCustomEventsType = 'Google_Service_Dfareporting_CreativeCustomEvent';
+ protected $counterCustomEventsDataType = 'array';
+ protected $creativeAssetSelectionType = 'Google_Service_Dfareporting_CreativeAssetSelection';
+ protected $creativeAssetSelectionDataType = '';
+ protected $creativeAssetsType = 'Google_Service_Dfareporting_CreativeAsset';
+ protected $creativeAssetsDataType = 'array';
+ protected $creativeFieldAssignmentsType = 'Google_Service_Dfareporting_CreativeFieldAssignment';
+ protected $creativeFieldAssignmentsDataType = 'array';
+ public $customKeyValues;
+ public $dynamicAssetSelection;
+ protected $exitCustomEventsType = 'Google_Service_Dfareporting_CreativeCustomEvent';
+ protected $exitCustomEventsDataType = 'array';
+ protected $fsCommandType = 'Google_Service_Dfareporting_FsCommand';
+ protected $fsCommandDataType = '';
+ public $htmlCode;
+ public $htmlCodeLocked;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $kind;
+ protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $lastModifiedInfoDataType = '';
+ public $latestTraffickedCreativeId;
+ public $name;
+ public $overrideCss;
+ protected $progressOffsetType = 'Google_Service_Dfareporting_VideoOffset';
+ protected $progressOffsetDataType = '';
+ public $redirectUrl;
+ public $renderingId;
+ protected $renderingIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $renderingIdDimensionValueDataType = '';
+ public $requiredFlashPluginVersion;
+ public $requiredFlashVersion;
+ protected $sizeType = 'Google_Service_Dfareporting_Size';
+ protected $sizeDataType = '';
+ protected $skipOffsetType = 'Google_Service_Dfareporting_VideoOffset';
+ protected $skipOffsetDataType = '';
+ public $skippable;
+ public $sslCompliant;
+ public $sslOverride;
+ public $studioAdvertiserId;
+ public $studioCreativeId;
+ public $studioTraffickedCreativeId;
+ public $subaccountId;
+ public $thirdPartyBackupImageImpressionsUrl;
+ public $thirdPartyRichMediaImpressionsUrl;
+ protected $thirdPartyUrlsType = 'Google_Service_Dfareporting_ThirdPartyTrackingUrl';
+ protected $thirdPartyUrlsDataType = 'array';
+ protected $timerCustomEventsType = 'Google_Service_Dfareporting_CreativeCustomEvent';
+ protected $timerCustomEventsDataType = 'array';
+ public $totalFileSize;
+ public $type;
+ public $version;
+ public $videoDescription;
+ public $videoDuration;
+
+ 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 setAdParameters($adParameters)
+ {
+ $this->adParameters = $adParameters;
+ }
+ public function getAdParameters()
+ {
+ return $this->adParameters;
+ }
+ public function setAdTagKeys($adTagKeys)
+ {
+ $this->adTagKeys = $adTagKeys;
+ }
+ public function getAdTagKeys()
+ {
+ return $this->adTagKeys;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAllowScriptAccess($allowScriptAccess)
+ {
+ $this->allowScriptAccess = $allowScriptAccess;
+ }
+ public function getAllowScriptAccess()
+ {
+ return $this->allowScriptAccess;
+ }
+ public function setArchived($archived)
+ {
+ $this->archived = $archived;
+ }
+ public function getArchived()
+ {
+ return $this->archived;
+ }
+ public function setArtworkType($artworkType)
+ {
+ $this->artworkType = $artworkType;
+ }
+ public function getArtworkType()
+ {
+ return $this->artworkType;
+ }
+ public function setAuthoringSource($authoringSource)
+ {
+ $this->authoringSource = $authoringSource;
+ }
+ public function getAuthoringSource()
+ {
+ return $this->authoringSource;
+ }
+ public function setAuthoringTool($authoringTool)
+ {
+ $this->authoringTool = $authoringTool;
+ }
+ public function getAuthoringTool()
+ {
+ return $this->authoringTool;
+ }
+ public function setAutoAdvanceImages($autoAdvanceImages)
+ {
+ $this->autoAdvanceImages = $autoAdvanceImages;
+ }
+ public function getAutoAdvanceImages()
+ {
+ return $this->autoAdvanceImages;
+ }
+ public function setBackgroundColor($backgroundColor)
+ {
+ $this->backgroundColor = $backgroundColor;
+ }
+ public function getBackgroundColor()
+ {
+ return $this->backgroundColor;
+ }
+ public function setBackupImageClickThroughUrl($backupImageClickThroughUrl)
+ {
+ $this->backupImageClickThroughUrl = $backupImageClickThroughUrl;
+ }
+ public function getBackupImageClickThroughUrl()
+ {
+ return $this->backupImageClickThroughUrl;
+ }
+ public function setBackupImageFeatures($backupImageFeatures)
+ {
+ $this->backupImageFeatures = $backupImageFeatures;
+ }
+ public function getBackupImageFeatures()
+ {
+ return $this->backupImageFeatures;
+ }
+ public function setBackupImageReportingLabel($backupImageReportingLabel)
+ {
+ $this->backupImageReportingLabel = $backupImageReportingLabel;
+ }
+ public function getBackupImageReportingLabel()
+ {
+ return $this->backupImageReportingLabel;
+ }
+ public function setBackupImageTargetWindow(Google_Service_Dfareporting_TargetWindow $backupImageTargetWindow)
+ {
+ $this->backupImageTargetWindow = $backupImageTargetWindow;
+ }
+ public function getBackupImageTargetWindow()
+ {
+ return $this->backupImageTargetWindow;
+ }
+ public function setClickTags($clickTags)
+ {
+ $this->clickTags = $clickTags;
+ }
+ public function getClickTags()
+ {
+ return $this->clickTags;
+ }
+ public function setCommercialId($commercialId)
+ {
+ $this->commercialId = $commercialId;
+ }
+ public function getCommercialId()
+ {
+ return $this->commercialId;
+ }
+ public function setCompanionCreatives($companionCreatives)
+ {
+ $this->companionCreatives = $companionCreatives;
+ }
+ public function getCompanionCreatives()
+ {
+ return $this->companionCreatives;
+ }
+ public function setCompatibility($compatibility)
+ {
+ $this->compatibility = $compatibility;
+ }
+ public function getCompatibility()
+ {
+ return $this->compatibility;
+ }
+ public function setConvertFlashToHtml5($convertFlashToHtml5)
+ {
+ $this->convertFlashToHtml5 = $convertFlashToHtml5;
+ }
+ public function getConvertFlashToHtml5()
+ {
+ return $this->convertFlashToHtml5;
+ }
+ public function setCounterCustomEvents($counterCustomEvents)
+ {
+ $this->counterCustomEvents = $counterCustomEvents;
+ }
+ public function getCounterCustomEvents()
+ {
+ return $this->counterCustomEvents;
+ }
+ public function setCreativeAssetSelection(Google_Service_Dfareporting_CreativeAssetSelection $creativeAssetSelection)
+ {
+ $this->creativeAssetSelection = $creativeAssetSelection;
+ }
+ public function getCreativeAssetSelection()
+ {
+ return $this->creativeAssetSelection;
+ }
+ public function setCreativeAssets($creativeAssets)
+ {
+ $this->creativeAssets = $creativeAssets;
+ }
+ public function getCreativeAssets()
+ {
+ return $this->creativeAssets;
+ }
+ public function setCreativeFieldAssignments($creativeFieldAssignments)
+ {
+ $this->creativeFieldAssignments = $creativeFieldAssignments;
+ }
+ public function getCreativeFieldAssignments()
+ {
+ return $this->creativeFieldAssignments;
+ }
+ public function setCustomKeyValues($customKeyValues)
+ {
+ $this->customKeyValues = $customKeyValues;
+ }
+ public function getCustomKeyValues()
+ {
+ return $this->customKeyValues;
+ }
+ public function setDynamicAssetSelection($dynamicAssetSelection)
+ {
+ $this->dynamicAssetSelection = $dynamicAssetSelection;
+ }
+ public function getDynamicAssetSelection()
+ {
+ return $this->dynamicAssetSelection;
+ }
+ public function setExitCustomEvents($exitCustomEvents)
+ {
+ $this->exitCustomEvents = $exitCustomEvents;
+ }
+ public function getExitCustomEvents()
+ {
+ return $this->exitCustomEvents;
+ }
+ public function setFsCommand(Google_Service_Dfareporting_FsCommand $fsCommand)
+ {
+ $this->fsCommand = $fsCommand;
+ }
+ public function getFsCommand()
+ {
+ return $this->fsCommand;
+ }
+ public function setHtmlCode($htmlCode)
+ {
+ $this->htmlCode = $htmlCode;
+ }
+ public function getHtmlCode()
+ {
+ return $this->htmlCode;
+ }
+ public function setHtmlCodeLocked($htmlCodeLocked)
+ {
+ $this->htmlCodeLocked = $htmlCodeLocked;
+ }
+ public function getHtmlCodeLocked()
+ {
+ return $this->htmlCodeLocked;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
+ {
+ $this->lastModifiedInfo = $lastModifiedInfo;
+ }
+ public function getLastModifiedInfo()
+ {
+ return $this->lastModifiedInfo;
+ }
+ public function setLatestTraffickedCreativeId($latestTraffickedCreativeId)
+ {
+ $this->latestTraffickedCreativeId = $latestTraffickedCreativeId;
+ }
+ public function getLatestTraffickedCreativeId()
+ {
+ return $this->latestTraffickedCreativeId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOverrideCss($overrideCss)
+ {
+ $this->overrideCss = $overrideCss;
+ }
+ public function getOverrideCss()
+ {
+ return $this->overrideCss;
+ }
+ public function setProgressOffset(Google_Service_Dfareporting_VideoOffset $progressOffset)
+ {
+ $this->progressOffset = $progressOffset;
+ }
+ public function getProgressOffset()
+ {
+ return $this->progressOffset;
+ }
+ public function setRedirectUrl($redirectUrl)
+ {
+ $this->redirectUrl = $redirectUrl;
+ }
+ public function getRedirectUrl()
+ {
+ return $this->redirectUrl;
+ }
+ public function setRenderingId($renderingId)
+ {
+ $this->renderingId = $renderingId;
+ }
+ public function getRenderingId()
+ {
+ return $this->renderingId;
+ }
+ public function setRenderingIdDimensionValue(Google_Service_Dfareporting_DimensionValue $renderingIdDimensionValue)
+ {
+ $this->renderingIdDimensionValue = $renderingIdDimensionValue;
+ }
+ public function getRenderingIdDimensionValue()
+ {
+ return $this->renderingIdDimensionValue;
+ }
+ public function setRequiredFlashPluginVersion($requiredFlashPluginVersion)
+ {
+ $this->requiredFlashPluginVersion = $requiredFlashPluginVersion;
+ }
+ public function getRequiredFlashPluginVersion()
+ {
+ return $this->requiredFlashPluginVersion;
+ }
+ public function setRequiredFlashVersion($requiredFlashVersion)
+ {
+ $this->requiredFlashVersion = $requiredFlashVersion;
+ }
+ public function getRequiredFlashVersion()
+ {
+ return $this->requiredFlashVersion;
+ }
+ public function setSize(Google_Service_Dfareporting_Size $size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setSkipOffset(Google_Service_Dfareporting_VideoOffset $skipOffset)
+ {
+ $this->skipOffset = $skipOffset;
+ }
+ public function getSkipOffset()
+ {
+ return $this->skipOffset;
+ }
+ public function setSkippable($skippable)
+ {
+ $this->skippable = $skippable;
+ }
+ public function getSkippable()
+ {
+ return $this->skippable;
+ }
+ public function setSslCompliant($sslCompliant)
+ {
+ $this->sslCompliant = $sslCompliant;
+ }
+ public function getSslCompliant()
+ {
+ return $this->sslCompliant;
+ }
+ public function setSslOverride($sslOverride)
+ {
+ $this->sslOverride = $sslOverride;
+ }
+ public function getSslOverride()
+ {
+ return $this->sslOverride;
+ }
+ public function setStudioAdvertiserId($studioAdvertiserId)
+ {
+ $this->studioAdvertiserId = $studioAdvertiserId;
+ }
+ public function getStudioAdvertiserId()
+ {
+ return $this->studioAdvertiserId;
+ }
+ public function setStudioCreativeId($studioCreativeId)
+ {
+ $this->studioCreativeId = $studioCreativeId;
+ }
+ public function getStudioCreativeId()
+ {
+ return $this->studioCreativeId;
+ }
+ public function setStudioTraffickedCreativeId($studioTraffickedCreativeId)
+ {
+ $this->studioTraffickedCreativeId = $studioTraffickedCreativeId;
+ }
+ public function getStudioTraffickedCreativeId()
+ {
+ return $this->studioTraffickedCreativeId;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setThirdPartyBackupImageImpressionsUrl($thirdPartyBackupImageImpressionsUrl)
+ {
+ $this->thirdPartyBackupImageImpressionsUrl = $thirdPartyBackupImageImpressionsUrl;
+ }
+ public function getThirdPartyBackupImageImpressionsUrl()
+ {
+ return $this->thirdPartyBackupImageImpressionsUrl;
+ }
+ public function setThirdPartyRichMediaImpressionsUrl($thirdPartyRichMediaImpressionsUrl)
+ {
+ $this->thirdPartyRichMediaImpressionsUrl = $thirdPartyRichMediaImpressionsUrl;
+ }
+ public function getThirdPartyRichMediaImpressionsUrl()
+ {
+ return $this->thirdPartyRichMediaImpressionsUrl;
+ }
+ public function setThirdPartyUrls($thirdPartyUrls)
+ {
+ $this->thirdPartyUrls = $thirdPartyUrls;
+ }
+ public function getThirdPartyUrls()
+ {
+ return $this->thirdPartyUrls;
+ }
+ public function setTimerCustomEvents($timerCustomEvents)
+ {
+ $this->timerCustomEvents = $timerCustomEvents;
+ }
+ public function getTimerCustomEvents()
+ {
+ return $this->timerCustomEvents;
+ }
+ public function setTotalFileSize($totalFileSize)
+ {
+ $this->totalFileSize = $totalFileSize;
+ }
+ public function getTotalFileSize()
+ {
+ return $this->totalFileSize;
+ }
+ 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;
+ }
+ public function setVideoDescription($videoDescription)
+ {
+ $this->videoDescription = $videoDescription;
+ }
+ public function getVideoDescription()
+ {
+ return $this->videoDescription;
+ }
+ public function setVideoDuration($videoDuration)
+ {
+ $this->videoDuration = $videoDuration;
+ }
+ public function getVideoDuration()
+ {
+ return $this->videoDuration;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAsset.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAsset.php
new file mode 100644
index 00000000..e2d06db5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAsset.php
@@ -0,0 +1,426 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeAsset extends Google_Collection
+{
+ protected $collection_key = 'detectedFeatures';
+ public $actionScript3;
+ public $active;
+ public $alignment;
+ public $artworkType;
+ protected $assetIdentifierType = 'Google_Service_Dfareporting_CreativeAssetId';
+ protected $assetIdentifierDataType = '';
+ protected $backupImageExitType = 'Google_Service_Dfareporting_CreativeCustomEvent';
+ protected $backupImageExitDataType = '';
+ public $bitRate;
+ public $childAssetType;
+ protected $collapsedSizeType = 'Google_Service_Dfareporting_Size';
+ protected $collapsedSizeDataType = '';
+ public $companionCreativeIds;
+ public $customStartTimeValue;
+ public $detectedFeatures;
+ public $displayType;
+ public $duration;
+ public $durationType;
+ protected $expandedDimensionType = 'Google_Service_Dfareporting_Size';
+ protected $expandedDimensionDataType = '';
+ public $fileSize;
+ public $flashVersion;
+ public $hideFlashObjects;
+ public $hideSelectionBoxes;
+ public $horizontallyLocked;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $mimeType;
+ protected $offsetType = 'Google_Service_Dfareporting_OffsetPosition';
+ protected $offsetDataType = '';
+ public $originalBackup;
+ protected $positionType = 'Google_Service_Dfareporting_OffsetPosition';
+ protected $positionDataType = '';
+ public $positionLeftUnit;
+ public $positionTopUnit;
+ public $progressiveServingUrl;
+ public $pushdown;
+ public $pushdownDuration;
+ public $role;
+ protected $sizeType = 'Google_Service_Dfareporting_Size';
+ protected $sizeDataType = '';
+ public $sslCompliant;
+ public $startTimeType;
+ public $streamingServingUrl;
+ public $transparency;
+ public $verticallyLocked;
+ public $videoDuration;
+ public $windowMode;
+ public $zIndex;
+ public $zipFilename;
+ public $zipFilesize;
+
+ public function setActionScript3($actionScript3)
+ {
+ $this->actionScript3 = $actionScript3;
+ }
+ public function getActionScript3()
+ {
+ return $this->actionScript3;
+ }
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setAlignment($alignment)
+ {
+ $this->alignment = $alignment;
+ }
+ public function getAlignment()
+ {
+ return $this->alignment;
+ }
+ public function setArtworkType($artworkType)
+ {
+ $this->artworkType = $artworkType;
+ }
+ public function getArtworkType()
+ {
+ return $this->artworkType;
+ }
+ public function setAssetIdentifier(Google_Service_Dfareporting_CreativeAssetId $assetIdentifier)
+ {
+ $this->assetIdentifier = $assetIdentifier;
+ }
+ public function getAssetIdentifier()
+ {
+ return $this->assetIdentifier;
+ }
+ public function setBackupImageExit(Google_Service_Dfareporting_CreativeCustomEvent $backupImageExit)
+ {
+ $this->backupImageExit = $backupImageExit;
+ }
+ public function getBackupImageExit()
+ {
+ return $this->backupImageExit;
+ }
+ public function setBitRate($bitRate)
+ {
+ $this->bitRate = $bitRate;
+ }
+ public function getBitRate()
+ {
+ return $this->bitRate;
+ }
+ public function setChildAssetType($childAssetType)
+ {
+ $this->childAssetType = $childAssetType;
+ }
+ public function getChildAssetType()
+ {
+ return $this->childAssetType;
+ }
+ public function setCollapsedSize(Google_Service_Dfareporting_Size $collapsedSize)
+ {
+ $this->collapsedSize = $collapsedSize;
+ }
+ public function getCollapsedSize()
+ {
+ return $this->collapsedSize;
+ }
+ public function setCompanionCreativeIds($companionCreativeIds)
+ {
+ $this->companionCreativeIds = $companionCreativeIds;
+ }
+ public function getCompanionCreativeIds()
+ {
+ return $this->companionCreativeIds;
+ }
+ public function setCustomStartTimeValue($customStartTimeValue)
+ {
+ $this->customStartTimeValue = $customStartTimeValue;
+ }
+ public function getCustomStartTimeValue()
+ {
+ return $this->customStartTimeValue;
+ }
+ public function setDetectedFeatures($detectedFeatures)
+ {
+ $this->detectedFeatures = $detectedFeatures;
+ }
+ public function getDetectedFeatures()
+ {
+ return $this->detectedFeatures;
+ }
+ public function setDisplayType($displayType)
+ {
+ $this->displayType = $displayType;
+ }
+ public function getDisplayType()
+ {
+ return $this->displayType;
+ }
+ public function setDuration($duration)
+ {
+ $this->duration = $duration;
+ }
+ public function getDuration()
+ {
+ return $this->duration;
+ }
+ public function setDurationType($durationType)
+ {
+ $this->durationType = $durationType;
+ }
+ public function getDurationType()
+ {
+ return $this->durationType;
+ }
+ public function setExpandedDimension(Google_Service_Dfareporting_Size $expandedDimension)
+ {
+ $this->expandedDimension = $expandedDimension;
+ }
+ public function getExpandedDimension()
+ {
+ return $this->expandedDimension;
+ }
+ public function setFileSize($fileSize)
+ {
+ $this->fileSize = $fileSize;
+ }
+ public function getFileSize()
+ {
+ return $this->fileSize;
+ }
+ public function setFlashVersion($flashVersion)
+ {
+ $this->flashVersion = $flashVersion;
+ }
+ public function getFlashVersion()
+ {
+ return $this->flashVersion;
+ }
+ public function setHideFlashObjects($hideFlashObjects)
+ {
+ $this->hideFlashObjects = $hideFlashObjects;
+ }
+ public function getHideFlashObjects()
+ {
+ return $this->hideFlashObjects;
+ }
+ public function setHideSelectionBoxes($hideSelectionBoxes)
+ {
+ $this->hideSelectionBoxes = $hideSelectionBoxes;
+ }
+ public function getHideSelectionBoxes()
+ {
+ return $this->hideSelectionBoxes;
+ }
+ public function setHorizontallyLocked($horizontallyLocked)
+ {
+ $this->horizontallyLocked = $horizontallyLocked;
+ }
+ public function getHorizontallyLocked()
+ {
+ return $this->horizontallyLocked;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+ public function setOffset(Google_Service_Dfareporting_OffsetPosition $offset)
+ {
+ $this->offset = $offset;
+ }
+ public function getOffset()
+ {
+ return $this->offset;
+ }
+ public function setOriginalBackup($originalBackup)
+ {
+ $this->originalBackup = $originalBackup;
+ }
+ public function getOriginalBackup()
+ {
+ return $this->originalBackup;
+ }
+ public function setPosition(Google_Service_Dfareporting_OffsetPosition $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+ public function setPositionLeftUnit($positionLeftUnit)
+ {
+ $this->positionLeftUnit = $positionLeftUnit;
+ }
+ public function getPositionLeftUnit()
+ {
+ return $this->positionLeftUnit;
+ }
+ public function setPositionTopUnit($positionTopUnit)
+ {
+ $this->positionTopUnit = $positionTopUnit;
+ }
+ public function getPositionTopUnit()
+ {
+ return $this->positionTopUnit;
+ }
+ public function setProgressiveServingUrl($progressiveServingUrl)
+ {
+ $this->progressiveServingUrl = $progressiveServingUrl;
+ }
+ public function getProgressiveServingUrl()
+ {
+ return $this->progressiveServingUrl;
+ }
+ public function setPushdown($pushdown)
+ {
+ $this->pushdown = $pushdown;
+ }
+ public function getPushdown()
+ {
+ return $this->pushdown;
+ }
+ public function setPushdownDuration($pushdownDuration)
+ {
+ $this->pushdownDuration = $pushdownDuration;
+ }
+ public function getPushdownDuration()
+ {
+ return $this->pushdownDuration;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+ public function setSize(Google_Service_Dfareporting_Size $size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setSslCompliant($sslCompliant)
+ {
+ $this->sslCompliant = $sslCompliant;
+ }
+ public function getSslCompliant()
+ {
+ return $this->sslCompliant;
+ }
+ public function setStartTimeType($startTimeType)
+ {
+ $this->startTimeType = $startTimeType;
+ }
+ public function getStartTimeType()
+ {
+ return $this->startTimeType;
+ }
+ public function setStreamingServingUrl($streamingServingUrl)
+ {
+ $this->streamingServingUrl = $streamingServingUrl;
+ }
+ public function getStreamingServingUrl()
+ {
+ return $this->streamingServingUrl;
+ }
+ public function setTransparency($transparency)
+ {
+ $this->transparency = $transparency;
+ }
+ public function getTransparency()
+ {
+ return $this->transparency;
+ }
+ public function setVerticallyLocked($verticallyLocked)
+ {
+ $this->verticallyLocked = $verticallyLocked;
+ }
+ public function getVerticallyLocked()
+ {
+ return $this->verticallyLocked;
+ }
+ public function setVideoDuration($videoDuration)
+ {
+ $this->videoDuration = $videoDuration;
+ }
+ public function getVideoDuration()
+ {
+ return $this->videoDuration;
+ }
+ public function setWindowMode($windowMode)
+ {
+ $this->windowMode = $windowMode;
+ }
+ public function getWindowMode()
+ {
+ return $this->windowMode;
+ }
+ public function setZIndex($zIndex)
+ {
+ $this->zIndex = $zIndex;
+ }
+ public function getZIndex()
+ {
+ return $this->zIndex;
+ }
+ public function setZipFilename($zipFilename)
+ {
+ $this->zipFilename = $zipFilename;
+ }
+ public function getZipFilename()
+ {
+ return $this->zipFilename;
+ }
+ public function setZipFilesize($zipFilesize)
+ {
+ $this->zipFilesize = $zipFilesize;
+ }
+ public function getZipFilesize()
+ {
+ return $this->zipFilesize;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetId.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetId.php
new file mode 100644
index 00000000..593fb02b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetId.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeAssetId extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetMetadata.php
new file mode 100644
index 00000000..9ce9e146
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetMetadata.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeAssetMetadata extends Google_Collection
+{
+ protected $collection_key = 'warnedValidationRules';
+ protected $assetIdentifierType = 'Google_Service_Dfareporting_CreativeAssetId';
+ protected $assetIdentifierDataType = '';
+ protected $clickTagsType = 'Google_Service_Dfareporting_ClickTag';
+ protected $clickTagsDataType = 'array';
+ public $detectedFeatures;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $kind;
+ public $warnedValidationRules;
+
+ public function setAssetIdentifier(Google_Service_Dfareporting_CreativeAssetId $assetIdentifier)
+ {
+ $this->assetIdentifier = $assetIdentifier;
+ }
+ public function getAssetIdentifier()
+ {
+ return $this->assetIdentifier;
+ }
+ public function setClickTags($clickTags)
+ {
+ $this->clickTags = $clickTags;
+ }
+ public function getClickTags()
+ {
+ return $this->clickTags;
+ }
+ public function setDetectedFeatures($detectedFeatures)
+ {
+ $this->detectedFeatures = $detectedFeatures;
+ }
+ public function getDetectedFeatures()
+ {
+ return $this->detectedFeatures;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setWarnedValidationRules($warnedValidationRules)
+ {
+ $this->warnedValidationRules = $warnedValidationRules;
+ }
+ public function getWarnedValidationRules()
+ {
+ return $this->warnedValidationRules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetSelection.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetSelection.php
new file mode 100644
index 00000000..14581ad1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetSelection.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeAssetSelection extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ public $defaultAssetId;
+ protected $rulesType = 'Google_Service_Dfareporting_Rule';
+ protected $rulesDataType = 'array';
+
+ public function setDefaultAssetId($defaultAssetId)
+ {
+ $this->defaultAssetId = $defaultAssetId;
+ }
+ public function getDefaultAssetId()
+ {
+ return $this->defaultAssetId;
+ }
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssignment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssignment.php
new file mode 100644
index 00000000..bf9c21bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssignment.php
@@ -0,0 +1,144 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeAssignment extends Google_Collection
+{
+ protected $collection_key = 'richMediaExitOverrides';
+ public $active;
+ public $applyEventTags;
+ protected $clickThroughUrlType = 'Google_Service_Dfareporting_ClickThroughUrl';
+ protected $clickThroughUrlDataType = '';
+ protected $companionCreativeOverridesType = 'Google_Service_Dfareporting_CompanionClickThroughOverride';
+ protected $companionCreativeOverridesDataType = 'array';
+ protected $creativeGroupAssignmentsType = 'Google_Service_Dfareporting_CreativeGroupAssignment';
+ protected $creativeGroupAssignmentsDataType = 'array';
+ public $creativeId;
+ protected $creativeIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $creativeIdDimensionValueDataType = '';
+ public $endTime;
+ protected $richMediaExitOverridesType = 'Google_Service_Dfareporting_RichMediaExitOverride';
+ protected $richMediaExitOverridesDataType = 'array';
+ public $sequence;
+ public $sslCompliant;
+ public $startTime;
+ public $weight;
+
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setApplyEventTags($applyEventTags)
+ {
+ $this->applyEventTags = $applyEventTags;
+ }
+ public function getApplyEventTags()
+ {
+ return $this->applyEventTags;
+ }
+ public function setClickThroughUrl(Google_Service_Dfareporting_ClickThroughUrl $clickThroughUrl)
+ {
+ $this->clickThroughUrl = $clickThroughUrl;
+ }
+ public function getClickThroughUrl()
+ {
+ return $this->clickThroughUrl;
+ }
+ public function setCompanionCreativeOverrides($companionCreativeOverrides)
+ {
+ $this->companionCreativeOverrides = $companionCreativeOverrides;
+ }
+ public function getCompanionCreativeOverrides()
+ {
+ return $this->companionCreativeOverrides;
+ }
+ public function setCreativeGroupAssignments($creativeGroupAssignments)
+ {
+ $this->creativeGroupAssignments = $creativeGroupAssignments;
+ }
+ public function getCreativeGroupAssignments()
+ {
+ return $this->creativeGroupAssignments;
+ }
+ public function setCreativeId($creativeId)
+ {
+ $this->creativeId = $creativeId;
+ }
+ public function getCreativeId()
+ {
+ return $this->creativeId;
+ }
+ public function setCreativeIdDimensionValue(Google_Service_Dfareporting_DimensionValue $creativeIdDimensionValue)
+ {
+ $this->creativeIdDimensionValue = $creativeIdDimensionValue;
+ }
+ public function getCreativeIdDimensionValue()
+ {
+ return $this->creativeIdDimensionValue;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setRichMediaExitOverrides($richMediaExitOverrides)
+ {
+ $this->richMediaExitOverrides = $richMediaExitOverrides;
+ }
+ public function getRichMediaExitOverrides()
+ {
+ return $this->richMediaExitOverrides;
+ }
+ public function setSequence($sequence)
+ {
+ $this->sequence = $sequence;
+ }
+ public function getSequence()
+ {
+ return $this->sequence;
+ }
+ public function setSslCompliant($sslCompliant)
+ {
+ $this->sslCompliant = $sslCompliant;
+ }
+ public function getSslCompliant()
+ {
+ return $this->sslCompliant;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setWeight($weight)
+ {
+ $this->weight = $weight;
+ }
+ public function getWeight()
+ {
+ return $this->weight;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeCustomEvent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeCustomEvent.php
new file mode 100644
index 00000000..3c755bac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeCustomEvent.php
@@ -0,0 +1,112 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeCustomEvent extends Google_Model
+{
+ public $advertiserCustomEventId;
+ public $advertiserCustomEventName;
+ public $advertiserCustomEventType;
+ public $artworkLabel;
+ public $artworkType;
+ public $exitUrl;
+ public $id;
+ protected $popupWindowPropertiesType = 'Google_Service_Dfareporting_PopupWindowProperties';
+ protected $popupWindowPropertiesDataType = '';
+ public $targetType;
+ public $videoReportingId;
+
+ public function setAdvertiserCustomEventId($advertiserCustomEventId)
+ {
+ $this->advertiserCustomEventId = $advertiserCustomEventId;
+ }
+ public function getAdvertiserCustomEventId()
+ {
+ return $this->advertiserCustomEventId;
+ }
+ public function setAdvertiserCustomEventName($advertiserCustomEventName)
+ {
+ $this->advertiserCustomEventName = $advertiserCustomEventName;
+ }
+ public function getAdvertiserCustomEventName()
+ {
+ return $this->advertiserCustomEventName;
+ }
+ public function setAdvertiserCustomEventType($advertiserCustomEventType)
+ {
+ $this->advertiserCustomEventType = $advertiserCustomEventType;
+ }
+ public function getAdvertiserCustomEventType()
+ {
+ return $this->advertiserCustomEventType;
+ }
+ public function setArtworkLabel($artworkLabel)
+ {
+ $this->artworkLabel = $artworkLabel;
+ }
+ public function getArtworkLabel()
+ {
+ return $this->artworkLabel;
+ }
+ public function setArtworkType($artworkType)
+ {
+ $this->artworkType = $artworkType;
+ }
+ public function getArtworkType()
+ {
+ return $this->artworkType;
+ }
+ public function setExitUrl($exitUrl)
+ {
+ $this->exitUrl = $exitUrl;
+ }
+ public function getExitUrl()
+ {
+ return $this->exitUrl;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setPopupWindowProperties(Google_Service_Dfareporting_PopupWindowProperties $popupWindowProperties)
+ {
+ $this->popupWindowProperties = $popupWindowProperties;
+ }
+ public function getPopupWindowProperties()
+ {
+ return $this->popupWindowProperties;
+ }
+ public function setTargetType($targetType)
+ {
+ $this->targetType = $targetType;
+ }
+ public function getTargetType()
+ {
+ return $this->targetType;
+ }
+ public function setVideoReportingId($videoReportingId)
+ {
+ $this->videoReportingId = $videoReportingId;
+ }
+ public function getVideoReportingId()
+ {
+ return $this->videoReportingId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeField.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeField.php
new file mode 100644
index 00000000..9a88cfa5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeField.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeField extends Google_Model
+{
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $id;
+ public $kind;
+ public $name;
+ public $subaccountId;
+
+ 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 setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ 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 setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldAssignment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldAssignment.php
new file mode 100644
index 00000000..b5b71bd2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldAssignment.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeFieldAssignment extends Google_Model
+{
+ public $creativeFieldId;
+ public $creativeFieldValueId;
+
+ public function setCreativeFieldId($creativeFieldId)
+ {
+ $this->creativeFieldId = $creativeFieldId;
+ }
+ public function getCreativeFieldId()
+ {
+ return $this->creativeFieldId;
+ }
+ public function setCreativeFieldValueId($creativeFieldValueId)
+ {
+ $this->creativeFieldValueId = $creativeFieldValueId;
+ }
+ public function getCreativeFieldValueId()
+ {
+ return $this->creativeFieldValueId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldValue.php
new file mode 100644
index 00000000..e2eb6741
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldValue.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeFieldValue extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldValuesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldValuesListResponse.php
new file mode 100644
index 00000000..6f18e338
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldValuesListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeFieldValuesListResponse extends Google_Collection
+{
+ protected $collection_key = 'creativeFieldValues';
+ protected $creativeFieldValuesType = 'Google_Service_Dfareporting_CreativeFieldValue';
+ protected $creativeFieldValuesDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setCreativeFieldValues($creativeFieldValues)
+ {
+ $this->creativeFieldValues = $creativeFieldValues;
+ }
+ public function getCreativeFieldValues()
+ {
+ return $this->creativeFieldValues;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldsListResponse.php
new file mode 100644
index 00000000..90270241
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeFieldsListResponse extends Google_Collection
+{
+ protected $collection_key = 'creativeFields';
+ protected $creativeFieldsType = 'Google_Service_Dfareporting_CreativeField';
+ protected $creativeFieldsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setCreativeFields($creativeFields)
+ {
+ $this->creativeFields = $creativeFields;
+ }
+ public function getCreativeFields()
+ {
+ return $this->creativeFields;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroup.php
new file mode 100644
index 00000000..5dc2513f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroup.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeGroup extends Google_Model
+{
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $groupNumber;
+ public $id;
+ public $kind;
+ public $name;
+ public $subaccountId;
+
+ 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 setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setGroupNumber($groupNumber)
+ {
+ $this->groupNumber = $groupNumber;
+ }
+ public function getGroupNumber()
+ {
+ return $this->groupNumber;
+ }
+ 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 setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroupAssignment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroupAssignment.php
new file mode 100644
index 00000000..a8ae2cc2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroupAssignment.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeGroupAssignment extends Google_Model
+{
+ public $creativeGroupId;
+ public $creativeGroupNumber;
+
+ public function setCreativeGroupId($creativeGroupId)
+ {
+ $this->creativeGroupId = $creativeGroupId;
+ }
+ public function getCreativeGroupId()
+ {
+ return $this->creativeGroupId;
+ }
+ public function setCreativeGroupNumber($creativeGroupNumber)
+ {
+ $this->creativeGroupNumber = $creativeGroupNumber;
+ }
+ public function getCreativeGroupNumber()
+ {
+ return $this->creativeGroupNumber;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroupsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroupsListResponse.php
new file mode 100644
index 00000000..3aec0094
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroupsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeGroupsListResponse extends Google_Collection
+{
+ protected $collection_key = 'creativeGroups';
+ protected $creativeGroupsType = 'Google_Service_Dfareporting_CreativeGroup';
+ protected $creativeGroupsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setCreativeGroups($creativeGroups)
+ {
+ $this->creativeGroups = $creativeGroups;
+ }
+ public function getCreativeGroups()
+ {
+ return $this->creativeGroups;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeOptimizationConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeOptimizationConfiguration.php
new file mode 100644
index 00000000..b573e93d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeOptimizationConfiguration.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeOptimizationConfiguration extends Google_Collection
+{
+ protected $collection_key = 'optimizationActivitys';
+ public $id;
+ public $name;
+ protected $optimizationActivitysType = 'Google_Service_Dfareporting_OptimizationActivity';
+ protected $optimizationActivitysDataType = 'array';
+ public $optimizationModel;
+
+ 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 setOptimizationActivitys($optimizationActivitys)
+ {
+ $this->optimizationActivitys = $optimizationActivitys;
+ }
+ public function getOptimizationActivitys()
+ {
+ return $this->optimizationActivitys;
+ }
+ public function setOptimizationModel($optimizationModel)
+ {
+ $this->optimizationModel = $optimizationModel;
+ }
+ public function getOptimizationModel()
+ {
+ return $this->optimizationModel;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeRotation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeRotation.php
new file mode 100644
index 00000000..61e12e6e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeRotation.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeRotation extends Google_Collection
+{
+ protected $collection_key = 'creativeAssignments';
+ protected $creativeAssignmentsType = 'Google_Service_Dfareporting_CreativeAssignment';
+ protected $creativeAssignmentsDataType = 'array';
+ public $creativeOptimizationConfigurationId;
+ public $type;
+ public $weightCalculationStrategy;
+
+ public function setCreativeAssignments($creativeAssignments)
+ {
+ $this->creativeAssignments = $creativeAssignments;
+ }
+ public function getCreativeAssignments()
+ {
+ return $this->creativeAssignments;
+ }
+ public function setCreativeOptimizationConfigurationId($creativeOptimizationConfigurationId)
+ {
+ $this->creativeOptimizationConfigurationId = $creativeOptimizationConfigurationId;
+ }
+ public function getCreativeOptimizationConfigurationId()
+ {
+ return $this->creativeOptimizationConfigurationId;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setWeightCalculationStrategy($weightCalculationStrategy)
+ {
+ $this->weightCalculationStrategy = $weightCalculationStrategy;
+ }
+ public function getWeightCalculationStrategy()
+ {
+ return $this->weightCalculationStrategy;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeSettings.php
new file mode 100644
index 00000000..c9535f84
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeSettings.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativeSettings extends Google_Model
+{
+ public $iFrameFooter;
+ public $iFrameHeader;
+
+ public function setIFrameFooter($iFrameFooter)
+ {
+ $this->iFrameFooter = $iFrameFooter;
+ }
+ public function getIFrameFooter()
+ {
+ return $this->iFrameFooter;
+ }
+ public function setIFrameHeader($iFrameHeader)
+ {
+ $this->iFrameHeader = $iFrameHeader;
+ }
+ public function getIFrameHeader()
+ {
+ return $this->iFrameHeader;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativesListResponse.php
new file mode 100644
index 00000000..10cfce90
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativesListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CreativesListResponse extends Google_Collection
+{
+ protected $collection_key = 'creatives';
+ protected $creativesType = 'Google_Service_Dfareporting_Creative';
+ protected $creativesDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setCreatives($creatives)
+ {
+ $this->creatives = $creatives;
+ }
+ public function getCreatives()
+ {
+ return $this->creatives;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CrossDimensionReachReportCompatibleFields.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CrossDimensionReachReportCompatibleFields.php
new file mode 100644
index 00000000..66675717
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CrossDimensionReachReportCompatibleFields.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields extends Google_Collection
+{
+ protected $collection_key = 'overlapMetrics';
+ protected $breakdownType = 'Google_Service_Dfareporting_Dimension';
+ protected $breakdownDataType = 'array';
+ protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionFiltersDataType = 'array';
+ public $kind;
+ protected $metricsType = 'Google_Service_Dfareporting_Metric';
+ protected $metricsDataType = 'array';
+ protected $overlapMetricsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CustomFloodlightVariable.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CustomFloodlightVariable.php
new file mode 100644
index 00000000..6e7bb7d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CustomFloodlightVariable.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CustomFloodlightVariable extends Google_Model
+{
+ public $kind;
+ public $type;
+ public $value;
+
+ 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 setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CustomRichMediaEvents.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CustomRichMediaEvents.php
new file mode 100644
index 00000000..26801149
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CustomRichMediaEvents.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_CustomRichMediaEvents extends Google_Collection
+{
+ protected $collection_key = 'filteredEventIds';
+ protected $filteredEventIdsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DateRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DateRange.php
new file mode 100644
index 00000000..7aceccb7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DateRange.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DateRange extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DayPartTargeting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DayPartTargeting.php
new file mode 100644
index 00000000..122a7dd4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DayPartTargeting.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DayPartTargeting extends Google_Collection
+{
+ protected $collection_key = 'hoursOfDay';
+ public $daysOfWeek;
+ public $hoursOfDay;
+ public $userLocalTime;
+
+ public function setDaysOfWeek($daysOfWeek)
+ {
+ $this->daysOfWeek = $daysOfWeek;
+ }
+ public function getDaysOfWeek()
+ {
+ return $this->daysOfWeek;
+ }
+ public function setHoursOfDay($hoursOfDay)
+ {
+ $this->hoursOfDay = $hoursOfDay;
+ }
+ public function getHoursOfDay()
+ {
+ return $this->hoursOfDay;
+ }
+ public function setUserLocalTime($userLocalTime)
+ {
+ $this->userLocalTime = $userLocalTime;
+ }
+ public function getUserLocalTime()
+ {
+ return $this->userLocalTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DefaultClickThroughEventTagProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DefaultClickThroughEventTagProperties.php
new file mode 100644
index 00000000..fd54dfad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DefaultClickThroughEventTagProperties.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DefaultClickThroughEventTagProperties extends Google_Model
+{
+ public $defaultClickThroughEventTagId;
+ public $overrideInheritedEventTag;
+
+ public function setDefaultClickThroughEventTagId($defaultClickThroughEventTagId)
+ {
+ $this->defaultClickThroughEventTagId = $defaultClickThroughEventTagId;
+ }
+ public function getDefaultClickThroughEventTagId()
+ {
+ return $this->defaultClickThroughEventTagId;
+ }
+ public function setOverrideInheritedEventTag($overrideInheritedEventTag)
+ {
+ $this->overrideInheritedEventTag = $overrideInheritedEventTag;
+ }
+ public function getOverrideInheritedEventTag()
+ {
+ return $this->overrideInheritedEventTag;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DeliverySchedule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DeliverySchedule.php
new file mode 100644
index 00000000..8ae4dde9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DeliverySchedule.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DeliverySchedule extends Google_Model
+{
+ protected $frequencyCapType = 'Google_Service_Dfareporting_FrequencyCap';
+ protected $frequencyCapDataType = '';
+ public $hardCutoff;
+ public $impressionRatio;
+ public $priority;
+
+ public function setFrequencyCap(Google_Service_Dfareporting_FrequencyCap $frequencyCap)
+ {
+ $this->frequencyCap = $frequencyCap;
+ }
+ public function getFrequencyCap()
+ {
+ return $this->frequencyCap;
+ }
+ public function setHardCutoff($hardCutoff)
+ {
+ $this->hardCutoff = $hardCutoff;
+ }
+ public function getHardCutoff()
+ {
+ return $this->hardCutoff;
+ }
+ public function setImpressionRatio($impressionRatio)
+ {
+ $this->impressionRatio = $impressionRatio;
+ }
+ public function getImpressionRatio()
+ {
+ return $this->impressionRatio;
+ }
+ public function setPriority($priority)
+ {
+ $this->priority = $priority;
+ }
+ public function getPriority()
+ {
+ return $this->priority;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfareportingFile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfareportingFile.php
new file mode 100644
index 00000000..f8715a3c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfareportingFile.php
@@ -0,0 +1,113 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DfareportingFile extends Google_Model
+{
+ protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ public $etag;
+ public $fileName;
+ public $format;
+ public $id;
+ public $kind;
+ public $lastModifiedTime;
+ public $reportId;
+ public $status;
+ protected $urlsType = 'Google_Service_Dfareporting_DfareportingFileUrls';
+ protected $urlsDataType = '';
+
+ public function setDateRange(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(Google_Service_Dfareporting_DfareportingFileUrls $urls)
+ {
+ $this->urls = $urls;
+ }
+ public function getUrls()
+ {
+ return $this->urls;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfareportingFileUrls.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfareportingFileUrls.php
new file mode 100644
index 00000000..5a293820
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfareportingFileUrls.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DfareportingFileUrls extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfpSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfpSettings.php
new file mode 100644
index 00000000..06ff5b6d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfpSettings.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DfpSettings extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "dfpNetworkCode" => "dfp_network_code",
+ "dfpNetworkName" => "dfp_network_name",
+ );
+ public $dfpNetworkCode;
+ public $dfpNetworkName;
+ public $programmaticPlacementAccepted;
+ public $pubPaidPlacementAccepted;
+ public $publisherPortalOnly;
+
+ public function setDfpNetworkCode($dfpNetworkCode)
+ {
+ $this->dfpNetworkCode = $dfpNetworkCode;
+ }
+ public function getDfpNetworkCode()
+ {
+ return $this->dfpNetworkCode;
+ }
+ public function setDfpNetworkName($dfpNetworkName)
+ {
+ $this->dfpNetworkName = $dfpNetworkName;
+ }
+ public function getDfpNetworkName()
+ {
+ return $this->dfpNetworkName;
+ }
+ public function setProgrammaticPlacementAccepted($programmaticPlacementAccepted)
+ {
+ $this->programmaticPlacementAccepted = $programmaticPlacementAccepted;
+ }
+ public function getProgrammaticPlacementAccepted()
+ {
+ return $this->programmaticPlacementAccepted;
+ }
+ public function setPubPaidPlacementAccepted($pubPaidPlacementAccepted)
+ {
+ $this->pubPaidPlacementAccepted = $pubPaidPlacementAccepted;
+ }
+ public function getPubPaidPlacementAccepted()
+ {
+ return $this->pubPaidPlacementAccepted;
+ }
+ public function setPublisherPortalOnly($publisherPortalOnly)
+ {
+ $this->publisherPortalOnly = $publisherPortalOnly;
+ }
+ public function getPublisherPortalOnly()
+ {
+ return $this->publisherPortalOnly;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Dimension.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Dimension.php
new file mode 100644
index 00000000..74ce2a92
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Dimension.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Dimension extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionFilter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionFilter.php
new file mode 100644
index 00000000..5d19b820
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionFilter.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DimensionFilter extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValue.php
new file mode 100644
index 00000000..c02b6df8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValue.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DimensionValue extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValueList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValueList.php
new file mode 100644
index 00000000..473c5e5e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValueList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DimensionValueList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValueRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValueRequest.php
new file mode 100644
index 00000000..5a4dcc0f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValueRequest.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DimensionValueRequest extends Google_Collection
+{
+ protected $collection_key = 'filters';
+ public $dimensionName;
+ public $endDate;
+ protected $filtersType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySite.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySite.php
new file mode 100644
index 00000000..06505841
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySite.php
@@ -0,0 +1,151 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DirectorySite extends Google_Collection
+{
+ protected $collection_key = 'interstitialTagFormats';
+ public $active;
+ protected $contactAssignmentsType = 'Google_Service_Dfareporting_DirectorySiteContactAssignment';
+ protected $contactAssignmentsDataType = 'array';
+ public $countryId;
+ public $currencyId;
+ public $description;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $inpageTagFormats;
+ public $interstitialTagFormats;
+ public $kind;
+ public $name;
+ public $parentId;
+ protected $settingsType = 'Google_Service_Dfareporting_DirectorySiteSettings';
+ protected $settingsDataType = '';
+ public $url;
+
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setContactAssignments($contactAssignments)
+ {
+ $this->contactAssignments = $contactAssignments;
+ }
+ public function getContactAssignments()
+ {
+ return $this->contactAssignments;
+ }
+ public function setCountryId($countryId)
+ {
+ $this->countryId = $countryId;
+ }
+ public function getCountryId()
+ {
+ return $this->countryId;
+ }
+ public function setCurrencyId($currencyId)
+ {
+ $this->currencyId = $currencyId;
+ }
+ public function getCurrencyId()
+ {
+ return $this->currencyId;
+ }
+ 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 setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setInpageTagFormats($inpageTagFormats)
+ {
+ $this->inpageTagFormats = $inpageTagFormats;
+ }
+ public function getInpageTagFormats()
+ {
+ return $this->inpageTagFormats;
+ }
+ public function setInterstitialTagFormats($interstitialTagFormats)
+ {
+ $this->interstitialTagFormats = $interstitialTagFormats;
+ }
+ public function getInterstitialTagFormats()
+ {
+ return $this->interstitialTagFormats;
+ }
+ 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 setParentId($parentId)
+ {
+ $this->parentId = $parentId;
+ }
+ public function getParentId()
+ {
+ return $this->parentId;
+ }
+ public function setSettings(Google_Service_Dfareporting_DirectorySiteSettings $settings)
+ {
+ $this->settings = $settings;
+ }
+ public function getSettings()
+ {
+ return $this->settings;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContact.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContact.php
new file mode 100644
index 00000000..bf9851c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContact.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DirectorySiteContact extends Google_Model
+{
+ public $address;
+ public $email;
+ public $firstName;
+ public $id;
+ public $kind;
+ public $lastName;
+ public $phone;
+ public $role;
+ public $title;
+ public $type;
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setFirstName($firstName)
+ {
+ $this->firstName = $firstName;
+ }
+ public function getFirstName()
+ {
+ return $this->firstName;
+ }
+ 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 setLastName($lastName)
+ {
+ $this->lastName = $lastName;
+ }
+ public function getLastName()
+ {
+ return $this->lastName;
+ }
+ public function setPhone($phone)
+ {
+ $this->phone = $phone;
+ }
+ public function getPhone()
+ {
+ return $this->phone;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContactAssignment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContactAssignment.php
new file mode 100644
index 00000000..d0072b2d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContactAssignment.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DirectorySiteContactAssignment extends Google_Model
+{
+ public $contactId;
+ public $visibility;
+
+ public function setContactId($contactId)
+ {
+ $this->contactId = $contactId;
+ }
+ public function getContactId()
+ {
+ return $this->contactId;
+ }
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContactsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContactsListResponse.php
new file mode 100644
index 00000000..d7cbdd8d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContactsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DirectorySiteContactsListResponse extends Google_Collection
+{
+ protected $collection_key = 'directorySiteContacts';
+ protected $directorySiteContactsType = 'Google_Service_Dfareporting_DirectorySiteContact';
+ protected $directorySiteContactsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setDirectorySiteContacts($directorySiteContacts)
+ {
+ $this->directorySiteContacts = $directorySiteContacts;
+ }
+ public function getDirectorySiteContacts()
+ {
+ return $this->directorySiteContacts;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteSettings.php
new file mode 100644
index 00000000..6fb0da5a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteSettings.php
@@ -0,0 +1,89 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DirectorySiteSettings extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "dfpSettings" => "dfp_settings",
+ "instreamVideoPlacementAccepted" => "instream_video_placement_accepted",
+ );
+ public $activeViewOptOut;
+ protected $dfpSettingsType = 'Google_Service_Dfareporting_DfpSettings';
+ protected $dfpSettingsDataType = '';
+ public $instreamVideoPlacementAccepted;
+ public $interstitialPlacementAccepted;
+ public $nielsenOcrOptOut;
+ public $verificationTagOptOut;
+ public $videoActiveViewOptOut;
+
+ public function setActiveViewOptOut($activeViewOptOut)
+ {
+ $this->activeViewOptOut = $activeViewOptOut;
+ }
+ public function getActiveViewOptOut()
+ {
+ return $this->activeViewOptOut;
+ }
+ public function setDfpSettings(Google_Service_Dfareporting_DfpSettings $dfpSettings)
+ {
+ $this->dfpSettings = $dfpSettings;
+ }
+ public function getDfpSettings()
+ {
+ return $this->dfpSettings;
+ }
+ public function setInstreamVideoPlacementAccepted($instreamVideoPlacementAccepted)
+ {
+ $this->instreamVideoPlacementAccepted = $instreamVideoPlacementAccepted;
+ }
+ public function getInstreamVideoPlacementAccepted()
+ {
+ return $this->instreamVideoPlacementAccepted;
+ }
+ public function setInterstitialPlacementAccepted($interstitialPlacementAccepted)
+ {
+ $this->interstitialPlacementAccepted = $interstitialPlacementAccepted;
+ }
+ public function getInterstitialPlacementAccepted()
+ {
+ return $this->interstitialPlacementAccepted;
+ }
+ public function setNielsenOcrOptOut($nielsenOcrOptOut)
+ {
+ $this->nielsenOcrOptOut = $nielsenOcrOptOut;
+ }
+ public function getNielsenOcrOptOut()
+ {
+ return $this->nielsenOcrOptOut;
+ }
+ public function setVerificationTagOptOut($verificationTagOptOut)
+ {
+ $this->verificationTagOptOut = $verificationTagOptOut;
+ }
+ public function getVerificationTagOptOut()
+ {
+ return $this->verificationTagOptOut;
+ }
+ public function setVideoActiveViewOptOut($videoActiveViewOptOut)
+ {
+ $this->videoActiveViewOptOut = $videoActiveViewOptOut;
+ }
+ public function getVideoActiveViewOptOut()
+ {
+ return $this->videoActiveViewOptOut;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySitesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySitesListResponse.php
new file mode 100644
index 00000000..89990085
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySitesListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DirectorySitesListResponse extends Google_Collection
+{
+ protected $collection_key = 'directorySites';
+ protected $directorySitesType = 'Google_Service_Dfareporting_DirectorySite';
+ protected $directorySitesDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setDirectorySites($directorySites)
+ {
+ $this->directorySites = $directorySites;
+ }
+ public function getDirectorySites()
+ {
+ return $this->directorySites;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DynamicTargetingKey.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DynamicTargetingKey.php
new file mode 100644
index 00000000..c29d347b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DynamicTargetingKey.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DynamicTargetingKey extends Google_Model
+{
+ public $kind;
+ public $name;
+ public $objectId;
+ public $objectType;
+
+ 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 setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setObjectType($objectType)
+ {
+ $this->objectType = $objectType;
+ }
+ public function getObjectType()
+ {
+ return $this->objectType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DynamicTargetingKeysListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DynamicTargetingKeysListResponse.php
new file mode 100644
index 00000000..f38295f6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DynamicTargetingKeysListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_DynamicTargetingKeysListResponse extends Google_Collection
+{
+ protected $collection_key = 'dynamicTargetingKeys';
+ protected $dynamicTargetingKeysType = 'Google_Service_Dfareporting_DynamicTargetingKey';
+ protected $dynamicTargetingKeysDataType = 'array';
+ public $kind;
+
+ public function setDynamicTargetingKeys($dynamicTargetingKeys)
+ {
+ $this->dynamicTargetingKeys = $dynamicTargetingKeys;
+ }
+ public function getDynamicTargetingKeys()
+ {
+ return $this->dynamicTargetingKeys;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EncryptionInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EncryptionInfo.php
new file mode 100644
index 00000000..c1bccd19
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EncryptionInfo.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_EncryptionInfo extends Google_Model
+{
+ public $encryptionEntityId;
+ public $encryptionEntityType;
+ public $encryptionSource;
+ public $kind;
+
+ public function setEncryptionEntityId($encryptionEntityId)
+ {
+ $this->encryptionEntityId = $encryptionEntityId;
+ }
+ public function getEncryptionEntityId()
+ {
+ return $this->encryptionEntityId;
+ }
+ public function setEncryptionEntityType($encryptionEntityType)
+ {
+ $this->encryptionEntityType = $encryptionEntityType;
+ }
+ public function getEncryptionEntityType()
+ {
+ return $this->encryptionEntityType;
+ }
+ public function setEncryptionSource($encryptionSource)
+ {
+ $this->encryptionSource = $encryptionSource;
+ }
+ public function getEncryptionSource()
+ {
+ return $this->encryptionSource;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTag.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTag.php
new file mode 100644
index 00000000..a08a7ba8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTag.php
@@ -0,0 +1,186 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_EventTag extends Google_Collection
+{
+ protected $collection_key = 'siteIds';
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $campaignId;
+ protected $campaignIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $campaignIdDimensionValueDataType = '';
+ public $enabledByDefault;
+ public $excludeFromAdxRequests;
+ public $id;
+ public $kind;
+ public $name;
+ public $siteFilterType;
+ public $siteIds;
+ public $sslCompliant;
+ public $status;
+ public $subaccountId;
+ public $type;
+ public $url;
+ public $urlEscapeLevels;
+
+ 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 setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setCampaignId($campaignId)
+ {
+ $this->campaignId = $campaignId;
+ }
+ public function getCampaignId()
+ {
+ return $this->campaignId;
+ }
+ public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue)
+ {
+ $this->campaignIdDimensionValue = $campaignIdDimensionValue;
+ }
+ public function getCampaignIdDimensionValue()
+ {
+ return $this->campaignIdDimensionValue;
+ }
+ public function setEnabledByDefault($enabledByDefault)
+ {
+ $this->enabledByDefault = $enabledByDefault;
+ }
+ public function getEnabledByDefault()
+ {
+ return $this->enabledByDefault;
+ }
+ public function setExcludeFromAdxRequests($excludeFromAdxRequests)
+ {
+ $this->excludeFromAdxRequests = $excludeFromAdxRequests;
+ }
+ public function getExcludeFromAdxRequests()
+ {
+ return $this->excludeFromAdxRequests;
+ }
+ 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 setSiteFilterType($siteFilterType)
+ {
+ $this->siteFilterType = $siteFilterType;
+ }
+ public function getSiteFilterType()
+ {
+ return $this->siteFilterType;
+ }
+ public function setSiteIds($siteIds)
+ {
+ $this->siteIds = $siteIds;
+ }
+ public function getSiteIds()
+ {
+ return $this->siteIds;
+ }
+ public function setSslCompliant($sslCompliant)
+ {
+ $this->sslCompliant = $sslCompliant;
+ }
+ public function getSslCompliant()
+ {
+ return $this->sslCompliant;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ 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;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setUrlEscapeLevels($urlEscapeLevels)
+ {
+ $this->urlEscapeLevels = $urlEscapeLevels;
+ }
+ public function getUrlEscapeLevels()
+ {
+ return $this->urlEscapeLevels;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTagOverride.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTagOverride.php
new file mode 100644
index 00000000..d2d4a501
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTagOverride.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_EventTagOverride extends Google_Model
+{
+ public $enabled;
+ public $id;
+
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTagsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTagsListResponse.php
new file mode 100644
index 00000000..bae72d7e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTagsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_EventTagsListResponse extends Google_Collection
+{
+ protected $collection_key = 'eventTags';
+ protected $eventTagsType = 'Google_Service_Dfareporting_EventTag';
+ protected $eventTagsDataType = 'array';
+ public $kind;
+
+ public function setEventTags($eventTags)
+ {
+ $this->eventTags = $eventTags;
+ }
+ public function getEventTags()
+ {
+ return $this->eventTags;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FileList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FileList.php
new file mode 100644
index 00000000..b4fab4e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FileList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_FileList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Flight.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Flight.php
new file mode 100644
index 00000000..ec0ff945
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Flight.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Flight extends Google_Model
+{
+ public $endDate;
+ public $rateOrCost;
+ public $startDate;
+ public $units;
+
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setRateOrCost($rateOrCost)
+ {
+ $this->rateOrCost = $rateOrCost;
+ }
+ public function getRateOrCost()
+ {
+ return $this->rateOrCost;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setUnits($units)
+ {
+ $this->units = $units;
+ }
+ public function getUnits()
+ {
+ return $this->units;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivitiesGenerateTagResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivitiesGenerateTagResponse.php
new file mode 100644
index 00000000..c0ad645f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivitiesGenerateTagResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_FloodlightActivitiesGenerateTagResponse extends Google_Model
+{
+ public $floodlightActivityTag;
+ public $kind;
+
+ public function setFloodlightActivityTag($floodlightActivityTag)
+ {
+ $this->floodlightActivityTag = $floodlightActivityTag;
+ }
+ public function getFloodlightActivityTag()
+ {
+ return $this->floodlightActivityTag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivitiesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivitiesListResponse.php
new file mode 100644
index 00000000..12ff2c83
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivitiesListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_FloodlightActivitiesListResponse extends Google_Collection
+{
+ protected $collection_key = 'floodlightActivities';
+ protected $floodlightActivitiesType = 'Google_Service_Dfareporting_FloodlightActivity';
+ protected $floodlightActivitiesDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setFloodlightActivities($floodlightActivities)
+ {
+ $this->floodlightActivities = $floodlightActivities;
+ }
+ public function getFloodlightActivities()
+ {
+ return $this->floodlightActivities;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivity.php
new file mode 100644
index 00000000..4be8d151
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivity.php
@@ -0,0 +1,279 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_FloodlightActivity extends Google_Collection
+{
+ protected $collection_key = 'userDefinedVariableTypes';
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $cacheBustingType;
+ public $countingMethod;
+ protected $defaultTagsType = 'Google_Service_Dfareporting_FloodlightActivityDynamicTag';
+ protected $defaultTagsDataType = 'array';
+ public $expectedUrl;
+ public $floodlightActivityGroupId;
+ public $floodlightActivityGroupName;
+ public $floodlightActivityGroupTagString;
+ public $floodlightActivityGroupType;
+ public $floodlightConfigurationId;
+ protected $floodlightConfigurationIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $floodlightConfigurationIdDimensionValueDataType = '';
+ public $hidden;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $imageTagEnabled;
+ public $kind;
+ public $name;
+ public $notes;
+ protected $publisherTagsType = 'Google_Service_Dfareporting_FloodlightActivityPublisherDynamicTag';
+ protected $publisherTagsDataType = 'array';
+ public $secure;
+ public $sslCompliant;
+ public $sslRequired;
+ public $subaccountId;
+ public $tagFormat;
+ public $tagString;
+ public $userDefinedVariableTypes;
+
+ 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 setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setCacheBustingType($cacheBustingType)
+ {
+ $this->cacheBustingType = $cacheBustingType;
+ }
+ public function getCacheBustingType()
+ {
+ return $this->cacheBustingType;
+ }
+ public function setCountingMethod($countingMethod)
+ {
+ $this->countingMethod = $countingMethod;
+ }
+ public function getCountingMethod()
+ {
+ return $this->countingMethod;
+ }
+ public function setDefaultTags($defaultTags)
+ {
+ $this->defaultTags = $defaultTags;
+ }
+ public function getDefaultTags()
+ {
+ return $this->defaultTags;
+ }
+ public function setExpectedUrl($expectedUrl)
+ {
+ $this->expectedUrl = $expectedUrl;
+ }
+ public function getExpectedUrl()
+ {
+ return $this->expectedUrl;
+ }
+ public function setFloodlightActivityGroupId($floodlightActivityGroupId)
+ {
+ $this->floodlightActivityGroupId = $floodlightActivityGroupId;
+ }
+ public function getFloodlightActivityGroupId()
+ {
+ return $this->floodlightActivityGroupId;
+ }
+ public function setFloodlightActivityGroupName($floodlightActivityGroupName)
+ {
+ $this->floodlightActivityGroupName = $floodlightActivityGroupName;
+ }
+ public function getFloodlightActivityGroupName()
+ {
+ return $this->floodlightActivityGroupName;
+ }
+ public function setFloodlightActivityGroupTagString($floodlightActivityGroupTagString)
+ {
+ $this->floodlightActivityGroupTagString = $floodlightActivityGroupTagString;
+ }
+ public function getFloodlightActivityGroupTagString()
+ {
+ return $this->floodlightActivityGroupTagString;
+ }
+ public function setFloodlightActivityGroupType($floodlightActivityGroupType)
+ {
+ $this->floodlightActivityGroupType = $floodlightActivityGroupType;
+ }
+ public function getFloodlightActivityGroupType()
+ {
+ return $this->floodlightActivityGroupType;
+ }
+ public function setFloodlightConfigurationId($floodlightConfigurationId)
+ {
+ $this->floodlightConfigurationId = $floodlightConfigurationId;
+ }
+ public function getFloodlightConfigurationId()
+ {
+ return $this->floodlightConfigurationId;
+ }
+ public function setFloodlightConfigurationIdDimensionValue(Google_Service_Dfareporting_DimensionValue $floodlightConfigurationIdDimensionValue)
+ {
+ $this->floodlightConfigurationIdDimensionValue = $floodlightConfigurationIdDimensionValue;
+ }
+ public function getFloodlightConfigurationIdDimensionValue()
+ {
+ return $this->floodlightConfigurationIdDimensionValue;
+ }
+ 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 setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setImageTagEnabled($imageTagEnabled)
+ {
+ $this->imageTagEnabled = $imageTagEnabled;
+ }
+ public function getImageTagEnabled()
+ {
+ return $this->imageTagEnabled;
+ }
+ 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 setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+ public function setPublisherTags($publisherTags)
+ {
+ $this->publisherTags = $publisherTags;
+ }
+ public function getPublisherTags()
+ {
+ return $this->publisherTags;
+ }
+ public function setSecure($secure)
+ {
+ $this->secure = $secure;
+ }
+ public function getSecure()
+ {
+ return $this->secure;
+ }
+ public function setSslCompliant($sslCompliant)
+ {
+ $this->sslCompliant = $sslCompliant;
+ }
+ public function getSslCompliant()
+ {
+ return $this->sslCompliant;
+ }
+ public function setSslRequired($sslRequired)
+ {
+ $this->sslRequired = $sslRequired;
+ }
+ public function getSslRequired()
+ {
+ return $this->sslRequired;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTagFormat($tagFormat)
+ {
+ $this->tagFormat = $tagFormat;
+ }
+ public function getTagFormat()
+ {
+ return $this->tagFormat;
+ }
+ public function setTagString($tagString)
+ {
+ $this->tagString = $tagString;
+ }
+ public function getTagString()
+ {
+ return $this->tagString;
+ }
+ public function setUserDefinedVariableTypes($userDefinedVariableTypes)
+ {
+ $this->userDefinedVariableTypes = $userDefinedVariableTypes;
+ }
+ public function getUserDefinedVariableTypes()
+ {
+ return $this->userDefinedVariableTypes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityDynamicTag.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityDynamicTag.php
new file mode 100644
index 00000000..0235ca3a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityDynamicTag.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_FloodlightActivityDynamicTag extends Google_Model
+{
+ public $id;
+ public $name;
+ public $tag;
+
+ 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 setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityGroup.php
new file mode 100644
index 00000000..5d4fdbe6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityGroup.php
@@ -0,0 +1,132 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_FloodlightActivityGroup extends Google_Model
+{
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $floodlightConfigurationId;
+ protected $floodlightConfigurationIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $floodlightConfigurationIdDimensionValueDataType = '';
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $kind;
+ public $name;
+ public $subaccountId;
+ public $tagString;
+ public $type;
+
+ 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 setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setFloodlightConfigurationId($floodlightConfigurationId)
+ {
+ $this->floodlightConfigurationId = $floodlightConfigurationId;
+ }
+ public function getFloodlightConfigurationId()
+ {
+ return $this->floodlightConfigurationId;
+ }
+ public function setFloodlightConfigurationIdDimensionValue(Google_Service_Dfareporting_DimensionValue $floodlightConfigurationIdDimensionValue)
+ {
+ $this->floodlightConfigurationIdDimensionValue = $floodlightConfigurationIdDimensionValue;
+ }
+ public function getFloodlightConfigurationIdDimensionValue()
+ {
+ return $this->floodlightConfigurationIdDimensionValue;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ 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 setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTagString($tagString)
+ {
+ $this->tagString = $tagString;
+ }
+ public function getTagString()
+ {
+ return $this->tagString;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityGroupsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityGroupsListResponse.php
new file mode 100644
index 00000000..82def03b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityGroupsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_FloodlightActivityGroupsListResponse extends Google_Collection
+{
+ protected $collection_key = 'floodlightActivityGroups';
+ protected $floodlightActivityGroupsType = 'Google_Service_Dfareporting_FloodlightActivityGroup';
+ protected $floodlightActivityGroupsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setFloodlightActivityGroups($floodlightActivityGroups)
+ {
+ $this->floodlightActivityGroups = $floodlightActivityGroups;
+ }
+ public function getFloodlightActivityGroups()
+ {
+ return $this->floodlightActivityGroups;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityPublisherDynamicTag.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityPublisherDynamicTag.php
new file mode 100644
index 00000000..032b96fc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityPublisherDynamicTag.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_FloodlightActivityPublisherDynamicTag extends Google_Model
+{
+ public $clickThrough;
+ public $directorySiteId;
+ protected $dynamicTagType = 'Google_Service_Dfareporting_FloodlightActivityDynamicTag';
+ protected $dynamicTagDataType = '';
+ public $siteId;
+ protected $siteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $siteIdDimensionValueDataType = '';
+ public $viewThrough;
+
+ public function setClickThrough($clickThrough)
+ {
+ $this->clickThrough = $clickThrough;
+ }
+ public function getClickThrough()
+ {
+ return $this->clickThrough;
+ }
+ public function setDirectorySiteId($directorySiteId)
+ {
+ $this->directorySiteId = $directorySiteId;
+ }
+ public function getDirectorySiteId()
+ {
+ return $this->directorySiteId;
+ }
+ public function setDynamicTag(Google_Service_Dfareporting_FloodlightActivityDynamicTag $dynamicTag)
+ {
+ $this->dynamicTag = $dynamicTag;
+ }
+ public function getDynamicTag()
+ {
+ return $this->dynamicTag;
+ }
+ public function setSiteId($siteId)
+ {
+ $this->siteId = $siteId;
+ }
+ public function getSiteId()
+ {
+ return $this->siteId;
+ }
+ public function setSiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $siteIdDimensionValue)
+ {
+ $this->siteIdDimensionValue = $siteIdDimensionValue;
+ }
+ public function getSiteIdDimensionValue()
+ {
+ return $this->siteIdDimensionValue;
+ }
+ public function setViewThrough($viewThrough)
+ {
+ $this->viewThrough = $viewThrough;
+ }
+ public function getViewThrough()
+ {
+ return $this->viewThrough;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightConfiguration.php
new file mode 100644
index 00000000..b923bd2d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightConfiguration.php
@@ -0,0 +1,191 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_FloodlightConfiguration extends Google_Collection
+{
+ protected $collection_key = 'userDefinedVariableConfigurations';
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $analyticsDataSharingEnabled;
+ public $exposureToConversionEnabled;
+ public $firstDayOfWeek;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $inAppAttributionTrackingEnabled;
+ public $kind;
+ protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration';
+ protected $lookbackConfigurationDataType = '';
+ public $naturalSearchConversionAttributionOption;
+ protected $omnitureSettingsType = 'Google_Service_Dfareporting_OmnitureSettings';
+ protected $omnitureSettingsDataType = '';
+ public $standardVariableTypes;
+ public $subaccountId;
+ protected $tagSettingsType = 'Google_Service_Dfareporting_TagSettings';
+ protected $tagSettingsDataType = '';
+ protected $thirdPartyAuthenticationTokensType = 'Google_Service_Dfareporting_ThirdPartyAuthenticationToken';
+ protected $thirdPartyAuthenticationTokensDataType = 'array';
+ protected $userDefinedVariableConfigurationsType = 'Google_Service_Dfareporting_UserDefinedVariableConfiguration';
+ protected $userDefinedVariableConfigurationsDataType = 'array';
+
+ 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 setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setAnalyticsDataSharingEnabled($analyticsDataSharingEnabled)
+ {
+ $this->analyticsDataSharingEnabled = $analyticsDataSharingEnabled;
+ }
+ public function getAnalyticsDataSharingEnabled()
+ {
+ return $this->analyticsDataSharingEnabled;
+ }
+ public function setExposureToConversionEnabled($exposureToConversionEnabled)
+ {
+ $this->exposureToConversionEnabled = $exposureToConversionEnabled;
+ }
+ public function getExposureToConversionEnabled()
+ {
+ return $this->exposureToConversionEnabled;
+ }
+ public function setFirstDayOfWeek($firstDayOfWeek)
+ {
+ $this->firstDayOfWeek = $firstDayOfWeek;
+ }
+ public function getFirstDayOfWeek()
+ {
+ return $this->firstDayOfWeek;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setInAppAttributionTrackingEnabled($inAppAttributionTrackingEnabled)
+ {
+ $this->inAppAttributionTrackingEnabled = $inAppAttributionTrackingEnabled;
+ }
+ public function getInAppAttributionTrackingEnabled()
+ {
+ return $this->inAppAttributionTrackingEnabled;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration)
+ {
+ $this->lookbackConfiguration = $lookbackConfiguration;
+ }
+ public function getLookbackConfiguration()
+ {
+ return $this->lookbackConfiguration;
+ }
+ public function setNaturalSearchConversionAttributionOption($naturalSearchConversionAttributionOption)
+ {
+ $this->naturalSearchConversionAttributionOption = $naturalSearchConversionAttributionOption;
+ }
+ public function getNaturalSearchConversionAttributionOption()
+ {
+ return $this->naturalSearchConversionAttributionOption;
+ }
+ public function setOmnitureSettings(Google_Service_Dfareporting_OmnitureSettings $omnitureSettings)
+ {
+ $this->omnitureSettings = $omnitureSettings;
+ }
+ public function getOmnitureSettings()
+ {
+ return $this->omnitureSettings;
+ }
+ public function setStandardVariableTypes($standardVariableTypes)
+ {
+ $this->standardVariableTypes = $standardVariableTypes;
+ }
+ public function getStandardVariableTypes()
+ {
+ return $this->standardVariableTypes;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTagSettings(Google_Service_Dfareporting_TagSettings $tagSettings)
+ {
+ $this->tagSettings = $tagSettings;
+ }
+ public function getTagSettings()
+ {
+ return $this->tagSettings;
+ }
+ public function setThirdPartyAuthenticationTokens($thirdPartyAuthenticationTokens)
+ {
+ $this->thirdPartyAuthenticationTokens = $thirdPartyAuthenticationTokens;
+ }
+ public function getThirdPartyAuthenticationTokens()
+ {
+ return $this->thirdPartyAuthenticationTokens;
+ }
+ public function setUserDefinedVariableConfigurations($userDefinedVariableConfigurations)
+ {
+ $this->userDefinedVariableConfigurations = $userDefinedVariableConfigurations;
+ }
+ public function getUserDefinedVariableConfigurations()
+ {
+ return $this->userDefinedVariableConfigurations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightConfigurationsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightConfigurationsListResponse.php
new file mode 100644
index 00000000..18e68ca7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightConfigurationsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_FloodlightConfigurationsListResponse extends Google_Collection
+{
+ protected $collection_key = 'floodlightConfigurations';
+ protected $floodlightConfigurationsType = 'Google_Service_Dfareporting_FloodlightConfiguration';
+ protected $floodlightConfigurationsDataType = 'array';
+ public $kind;
+
+ public function setFloodlightConfigurations($floodlightConfigurations)
+ {
+ $this->floodlightConfigurations = $floodlightConfigurations;
+ }
+ public function getFloodlightConfigurations()
+ {
+ return $this->floodlightConfigurations;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightReportCompatibleFields.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightReportCompatibleFields.php
new file mode 100644
index 00000000..9e9de516
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightReportCompatibleFields.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_FloodlightReportCompatibleFields extends Google_Collection
+{
+ protected $collection_key = 'metrics';
+ protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionsDataType = 'array';
+ public $kind;
+ protected $metricsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FrequencyCap.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FrequencyCap.php
new file mode 100644
index 00000000..575b905e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FrequencyCap.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_FrequencyCap extends Google_Model
+{
+ public $duration;
+ public $impressions;
+
+ public function setDuration($duration)
+ {
+ $this->duration = $duration;
+ }
+ public function getDuration()
+ {
+ return $this->duration;
+ }
+ public function setImpressions($impressions)
+ {
+ $this->impressions = $impressions;
+ }
+ public function getImpressions()
+ {
+ return $this->impressions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FsCommand.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FsCommand.php
new file mode 100644
index 00000000..1dc4c0c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FsCommand.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_FsCommand extends Google_Model
+{
+ public $left;
+ public $positionOption;
+ public $top;
+ public $windowHeight;
+ public $windowWidth;
+
+ public function setLeft($left)
+ {
+ $this->left = $left;
+ }
+ public function getLeft()
+ {
+ return $this->left;
+ }
+ public function setPositionOption($positionOption)
+ {
+ $this->positionOption = $positionOption;
+ }
+ public function getPositionOption()
+ {
+ return $this->positionOption;
+ }
+ public function setTop($top)
+ {
+ $this->top = $top;
+ }
+ public function getTop()
+ {
+ return $this->top;
+ }
+ public function setWindowHeight($windowHeight)
+ {
+ $this->windowHeight = $windowHeight;
+ }
+ public function getWindowHeight()
+ {
+ return $this->windowHeight;
+ }
+ public function setWindowWidth($windowWidth)
+ {
+ $this->windowWidth = $windowWidth;
+ }
+ public function getWindowWidth()
+ {
+ return $this->windowWidth;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/GeoTargeting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/GeoTargeting.php
new file mode 100644
index 00000000..164960f6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/GeoTargeting.php
@@ -0,0 +1,81 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_GeoTargeting extends Google_Collection
+{
+ protected $collection_key = 'regions';
+ protected $citiesType = 'Google_Service_Dfareporting_City';
+ protected $citiesDataType = 'array';
+ protected $countriesType = 'Google_Service_Dfareporting_Country';
+ protected $countriesDataType = 'array';
+ public $excludeCountries;
+ protected $metrosType = 'Google_Service_Dfareporting_Metro';
+ protected $metrosDataType = 'array';
+ protected $postalCodesType = 'Google_Service_Dfareporting_PostalCode';
+ protected $postalCodesDataType = 'array';
+ protected $regionsType = 'Google_Service_Dfareporting_Region';
+ protected $regionsDataType = 'array';
+
+ public function setCities($cities)
+ {
+ $this->cities = $cities;
+ }
+ public function getCities()
+ {
+ return $this->cities;
+ }
+ public function setCountries($countries)
+ {
+ $this->countries = $countries;
+ }
+ public function getCountries()
+ {
+ return $this->countries;
+ }
+ public function setExcludeCountries($excludeCountries)
+ {
+ $this->excludeCountries = $excludeCountries;
+ }
+ public function getExcludeCountries()
+ {
+ return $this->excludeCountries;
+ }
+ public function setMetros($metros)
+ {
+ $this->metros = $metros;
+ }
+ public function getMetros()
+ {
+ return $this->metros;
+ }
+ public function setPostalCodes($postalCodes)
+ {
+ $this->postalCodes = $postalCodes;
+ }
+ public function getPostalCodes()
+ {
+ return $this->postalCodes;
+ }
+ public function setRegions($regions)
+ {
+ $this->regions = $regions;
+ }
+ public function getRegions()
+ {
+ return $this->regions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/InventoryItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/InventoryItem.php
new file mode 100644
index 00000000..560ea238
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/InventoryItem.php
@@ -0,0 +1,205 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_InventoryItem extends Google_Collection
+{
+ protected $collection_key = 'adSlots';
+ public $accountId;
+ protected $adSlotsType = 'Google_Service_Dfareporting_AdSlot';
+ protected $adSlotsDataType = 'array';
+ public $advertiserId;
+ public $contentCategoryId;
+ public $estimatedClickThroughRate;
+ public $estimatedConversionRate;
+ public $id;
+ public $inPlan;
+ public $kind;
+ protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $lastModifiedInfoDataType = '';
+ public $name;
+ public $negotiationChannelId;
+ public $orderId;
+ public $placementStrategyId;
+ protected $pricingType = 'Google_Service_Dfareporting_Pricing';
+ protected $pricingDataType = '';
+ public $projectId;
+ public $rfpId;
+ public $siteId;
+ public $subaccountId;
+ public $type;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdSlots($adSlots)
+ {
+ $this->adSlots = $adSlots;
+ }
+ public function getAdSlots()
+ {
+ return $this->adSlots;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setContentCategoryId($contentCategoryId)
+ {
+ $this->contentCategoryId = $contentCategoryId;
+ }
+ public function getContentCategoryId()
+ {
+ return $this->contentCategoryId;
+ }
+ public function setEstimatedClickThroughRate($estimatedClickThroughRate)
+ {
+ $this->estimatedClickThroughRate = $estimatedClickThroughRate;
+ }
+ public function getEstimatedClickThroughRate()
+ {
+ return $this->estimatedClickThroughRate;
+ }
+ public function setEstimatedConversionRate($estimatedConversionRate)
+ {
+ $this->estimatedConversionRate = $estimatedConversionRate;
+ }
+ public function getEstimatedConversionRate()
+ {
+ return $this->estimatedConversionRate;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInPlan($inPlan)
+ {
+ $this->inPlan = $inPlan;
+ }
+ public function getInPlan()
+ {
+ return $this->inPlan;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
+ {
+ $this->lastModifiedInfo = $lastModifiedInfo;
+ }
+ public function getLastModifiedInfo()
+ {
+ return $this->lastModifiedInfo;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNegotiationChannelId($negotiationChannelId)
+ {
+ $this->negotiationChannelId = $negotiationChannelId;
+ }
+ public function getNegotiationChannelId()
+ {
+ return $this->negotiationChannelId;
+ }
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+ }
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+ public function setPlacementStrategyId($placementStrategyId)
+ {
+ $this->placementStrategyId = $placementStrategyId;
+ }
+ public function getPlacementStrategyId()
+ {
+ return $this->placementStrategyId;
+ }
+ public function setPricing(Google_Service_Dfareporting_Pricing $pricing)
+ {
+ $this->pricing = $pricing;
+ }
+ public function getPricing()
+ {
+ return $this->pricing;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setRfpId($rfpId)
+ {
+ $this->rfpId = $rfpId;
+ }
+ public function getRfpId()
+ {
+ return $this->rfpId;
+ }
+ public function setSiteId($siteId)
+ {
+ $this->siteId = $siteId;
+ }
+ public function getSiteId()
+ {
+ return $this->siteId;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/InventoryItemsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/InventoryItemsListResponse.php
new file mode 100644
index 00000000..07824ba3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/InventoryItemsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_InventoryItemsListResponse extends Google_Collection
+{
+ protected $collection_key = 'inventoryItems';
+ protected $inventoryItemsType = 'Google_Service_Dfareporting_InventoryItem';
+ protected $inventoryItemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setInventoryItems($inventoryItems)
+ {
+ $this->inventoryItems = $inventoryItems;
+ }
+ public function getInventoryItems()
+ {
+ return $this->inventoryItems;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/KeyValueTargetingExpression.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/KeyValueTargetingExpression.php
new file mode 100644
index 00000000..cce2661b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/KeyValueTargetingExpression.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_KeyValueTargetingExpression extends Google_Model
+{
+ public $expression;
+
+ public function setExpression($expression)
+ {
+ $this->expression = $expression;
+ }
+ public function getExpression()
+ {
+ return $this->expression;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LandingPage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LandingPage.php
new file mode 100644
index 00000000..b5156804
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LandingPage.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_LandingPage extends Google_Model
+{
+ public $default;
+ public $id;
+ public $kind;
+ public $name;
+ public $url;
+
+ public function setDefault($default)
+ {
+ $this->default = $default;
+ }
+ public function getDefault()
+ {
+ return $this->default;
+ }
+ 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 setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LandingPagesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LandingPagesListResponse.php
new file mode 100644
index 00000000..b402046f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LandingPagesListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_LandingPagesListResponse extends Google_Collection
+{
+ protected $collection_key = 'landingPages';
+ public $kind;
+ protected $landingPagesType = 'Google_Service_Dfareporting_LandingPage';
+ protected $landingPagesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLandingPages($landingPages)
+ {
+ $this->landingPages = $landingPages;
+ }
+ public function getLandingPages()
+ {
+ return $this->landingPages;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Language.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Language.php
new file mode 100644
index 00000000..e9ebe424
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Language.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Language extends Google_Model
+{
+ public $id;
+ public $kind;
+ public $languageCode;
+ 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 setLanguageCode($languageCode)
+ {
+ $this->languageCode = $languageCode;
+ }
+ public function getLanguageCode()
+ {
+ return $this->languageCode;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LanguageTargeting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LanguageTargeting.php
new file mode 100644
index 00000000..3d375866
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LanguageTargeting.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_LanguageTargeting extends Google_Collection
+{
+ protected $collection_key = 'languages';
+ protected $languagesType = 'Google_Service_Dfareporting_Language';
+ protected $languagesDataType = 'array';
+
+ public function setLanguages($languages)
+ {
+ $this->languages = $languages;
+ }
+ public function getLanguages()
+ {
+ return $this->languages;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LanguagesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LanguagesListResponse.php
new file mode 100644
index 00000000..db2ea185
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LanguagesListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_LanguagesListResponse extends Google_Collection
+{
+ protected $collection_key = 'languages';
+ public $kind;
+ protected $languagesType = 'Google_Service_Dfareporting_Language';
+ protected $languagesDataType = 'array';
+
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LastModifiedInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LastModifiedInfo.php
new file mode 100644
index 00000000..985e97f9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LastModifiedInfo.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_LastModifiedInfo extends Google_Model
+{
+ public $time;
+
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+ public function getTime()
+ {
+ return $this->time;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationClause.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationClause.php
new file mode 100644
index 00000000..c5b1cd25
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationClause.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ListPopulationClause extends Google_Collection
+{
+ protected $collection_key = 'terms';
+ protected $termsType = 'Google_Service_Dfareporting_ListPopulationTerm';
+ protected $termsDataType = 'array';
+
+ public function setTerms($terms)
+ {
+ $this->terms = $terms;
+ }
+ public function getTerms()
+ {
+ return $this->terms;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationRule.php
new file mode 100644
index 00000000..3841c63c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationRule.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ListPopulationRule extends Google_Collection
+{
+ protected $collection_key = 'listPopulationClauses';
+ public $floodlightActivityId;
+ public $floodlightActivityName;
+ protected $listPopulationClausesType = 'Google_Service_Dfareporting_ListPopulationClause';
+ protected $listPopulationClausesDataType = 'array';
+
+ public function setFloodlightActivityId($floodlightActivityId)
+ {
+ $this->floodlightActivityId = $floodlightActivityId;
+ }
+ public function getFloodlightActivityId()
+ {
+ return $this->floodlightActivityId;
+ }
+ public function setFloodlightActivityName($floodlightActivityName)
+ {
+ $this->floodlightActivityName = $floodlightActivityName;
+ }
+ public function getFloodlightActivityName()
+ {
+ return $this->floodlightActivityName;
+ }
+ public function setListPopulationClauses($listPopulationClauses)
+ {
+ $this->listPopulationClauses = $listPopulationClauses;
+ }
+ public function getListPopulationClauses()
+ {
+ return $this->listPopulationClauses;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationTerm.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationTerm.php
new file mode 100644
index 00000000..54f358ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationTerm.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ListPopulationTerm extends Google_Model
+{
+ public $contains;
+ public $negation;
+ public $operator;
+ public $remarketingListId;
+ public $type;
+ public $value;
+ public $variableFriendlyName;
+ public $variableName;
+
+ public function setContains($contains)
+ {
+ $this->contains = $contains;
+ }
+ public function getContains()
+ {
+ return $this->contains;
+ }
+ public function setNegation($negation)
+ {
+ $this->negation = $negation;
+ }
+ public function getNegation()
+ {
+ return $this->negation;
+ }
+ public function setOperator($operator)
+ {
+ $this->operator = $operator;
+ }
+ public function getOperator()
+ {
+ return $this->operator;
+ }
+ public function setRemarketingListId($remarketingListId)
+ {
+ $this->remarketingListId = $remarketingListId;
+ }
+ public function getRemarketingListId()
+ {
+ return $this->remarketingListId;
+ }
+ 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 setVariableFriendlyName($variableFriendlyName)
+ {
+ $this->variableFriendlyName = $variableFriendlyName;
+ }
+ public function getVariableFriendlyName()
+ {
+ return $this->variableFriendlyName;
+ }
+ public function setVariableName($variableName)
+ {
+ $this->variableName = $variableName;
+ }
+ public function getVariableName()
+ {
+ return $this->variableName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListTargetingExpression.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListTargetingExpression.php
new file mode 100644
index 00000000..b8ae7dca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListTargetingExpression.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ListTargetingExpression extends Google_Model
+{
+ public $expression;
+
+ public function setExpression($expression)
+ {
+ $this->expression = $expression;
+ }
+ public function getExpression()
+ {
+ return $this->expression;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LookbackConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LookbackConfiguration.php
new file mode 100644
index 00000000..75529d53
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LookbackConfiguration.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_LookbackConfiguration extends Google_Model
+{
+ public $clickDuration;
+ public $postImpressionActivitiesDuration;
+
+ public function setClickDuration($clickDuration)
+ {
+ $this->clickDuration = $clickDuration;
+ }
+ public function getClickDuration()
+ {
+ return $this->clickDuration;
+ }
+ public function setPostImpressionActivitiesDuration($postImpressionActivitiesDuration)
+ {
+ $this->postImpressionActivitiesDuration = $postImpressionActivitiesDuration;
+ }
+ public function getPostImpressionActivitiesDuration()
+ {
+ return $this->postImpressionActivitiesDuration;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Metric.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Metric.php
new file mode 100644
index 00000000..9b2ea3a1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Metric.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Metric extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Metro.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Metro.php
new file mode 100644
index 00000000..4234051c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Metro.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Metro extends Google_Model
+{
+ public $countryCode;
+ public $countryDartId;
+ public $dartId;
+ public $dmaId;
+ public $kind;
+ public $metroCode;
+ public $name;
+
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setCountryDartId($countryDartId)
+ {
+ $this->countryDartId = $countryDartId;
+ }
+ public function getCountryDartId()
+ {
+ return $this->countryDartId;
+ }
+ public function setDartId($dartId)
+ {
+ $this->dartId = $dartId;
+ }
+ public function getDartId()
+ {
+ return $this->dartId;
+ }
+ public function setDmaId($dmaId)
+ {
+ $this->dmaId = $dmaId;
+ }
+ public function getDmaId()
+ {
+ return $this->dmaId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetroCode($metroCode)
+ {
+ $this->metroCode = $metroCode;
+ }
+ public function getMetroCode()
+ {
+ return $this->metroCode;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MetrosListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MetrosListResponse.php
new file mode 100644
index 00000000..5378847f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MetrosListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_MetrosListResponse extends Google_Collection
+{
+ protected $collection_key = 'metros';
+ public $kind;
+ protected $metrosType = 'Google_Service_Dfareporting_Metro';
+ protected $metrosDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetros($metros)
+ {
+ $this->metros = $metros;
+ }
+ public function getMetros()
+ {
+ return $this->metros;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MobileCarrier.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MobileCarrier.php
new file mode 100644
index 00000000..952922d2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MobileCarrier.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_MobileCarrier extends Google_Model
+{
+ public $countryCode;
+ public $countryDartId;
+ public $id;
+ public $kind;
+ public $name;
+
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setCountryDartId($countryDartId)
+ {
+ $this->countryDartId = $countryDartId;
+ }
+ public function getCountryDartId()
+ {
+ return $this->countryDartId;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MobileCarriersListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MobileCarriersListResponse.php
new file mode 100644
index 00000000..f330ea60
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MobileCarriersListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_MobileCarriersListResponse extends Google_Collection
+{
+ protected $collection_key = 'mobileCarriers';
+ public $kind;
+ protected $mobileCarriersType = 'Google_Service_Dfareporting_MobileCarrier';
+ protected $mobileCarriersDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMobileCarriers($mobileCarriers)
+ {
+ $this->mobileCarriers = $mobileCarriers;
+ }
+ public function getMobileCarriers()
+ {
+ return $this->mobileCarriers;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ObjectFilter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ObjectFilter.php
new file mode 100644
index 00000000..a61bb339
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ObjectFilter.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ObjectFilter extends Google_Collection
+{
+ protected $collection_key = 'objectIds';
+ public $kind;
+ public $objectIds;
+ public $status;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setObjectIds($objectIds)
+ {
+ $this->objectIds = $objectIds;
+ }
+ public function getObjectIds()
+ {
+ return $this->objectIds;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OffsetPosition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OffsetPosition.php
new file mode 100644
index 00000000..f91e3df4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OffsetPosition.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_OffsetPosition extends Google_Model
+{
+ public $left;
+ public $top;
+
+ public function setLeft($left)
+ {
+ $this->left = $left;
+ }
+ public function getLeft()
+ {
+ return $this->left;
+ }
+ public function setTop($top)
+ {
+ $this->top = $top;
+ }
+ public function getTop()
+ {
+ return $this->top;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OmnitureSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OmnitureSettings.php
new file mode 100644
index 00000000..461af1f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OmnitureSettings.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_OmnitureSettings extends Google_Model
+{
+ public $omnitureCostDataEnabled;
+ public $omnitureIntegrationEnabled;
+
+ public function setOmnitureCostDataEnabled($omnitureCostDataEnabled)
+ {
+ $this->omnitureCostDataEnabled = $omnitureCostDataEnabled;
+ }
+ public function getOmnitureCostDataEnabled()
+ {
+ return $this->omnitureCostDataEnabled;
+ }
+ public function setOmnitureIntegrationEnabled($omnitureIntegrationEnabled)
+ {
+ $this->omnitureIntegrationEnabled = $omnitureIntegrationEnabled;
+ }
+ public function getOmnitureIntegrationEnabled()
+ {
+ return $this->omnitureIntegrationEnabled;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystem.php
new file mode 100644
index 00000000..90d0b79b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystem.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_OperatingSystem extends Google_Model
+{
+ public $dartId;
+ public $desktop;
+ public $kind;
+ public $mobile;
+ public $name;
+
+ public function setDartId($dartId)
+ {
+ $this->dartId = $dartId;
+ }
+ public function getDartId()
+ {
+ return $this->dartId;
+ }
+ public function setDesktop($desktop)
+ {
+ $this->desktop = $desktop;
+ }
+ public function getDesktop()
+ {
+ return $this->desktop;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMobile($mobile)
+ {
+ $this->mobile = $mobile;
+ }
+ public function getMobile()
+ {
+ return $this->mobile;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemVersion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemVersion.php
new file mode 100644
index 00000000..f033d258
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemVersion.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_OperatingSystemVersion extends Google_Model
+{
+ public $id;
+ public $kind;
+ public $majorVersion;
+ public $minorVersion;
+ public $name;
+ protected $operatingSystemType = 'Google_Service_Dfareporting_OperatingSystem';
+ protected $operatingSystemDataType = '';
+
+ 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 setMajorVersion($majorVersion)
+ {
+ $this->majorVersion = $majorVersion;
+ }
+ public function getMajorVersion()
+ {
+ return $this->majorVersion;
+ }
+ public function setMinorVersion($minorVersion)
+ {
+ $this->minorVersion = $minorVersion;
+ }
+ public function getMinorVersion()
+ {
+ return $this->minorVersion;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOperatingSystem(Google_Service_Dfareporting_OperatingSystem $operatingSystem)
+ {
+ $this->operatingSystem = $operatingSystem;
+ }
+ public function getOperatingSystem()
+ {
+ return $this->operatingSystem;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemVersionsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemVersionsListResponse.php
new file mode 100644
index 00000000..e6930897
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemVersionsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_OperatingSystemVersionsListResponse extends Google_Collection
+{
+ protected $collection_key = 'operatingSystemVersions';
+ public $kind;
+ protected $operatingSystemVersionsType = 'Google_Service_Dfareporting_OperatingSystemVersion';
+ protected $operatingSystemVersionsDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperatingSystemVersions($operatingSystemVersions)
+ {
+ $this->operatingSystemVersions = $operatingSystemVersions;
+ }
+ public function getOperatingSystemVersions()
+ {
+ return $this->operatingSystemVersions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemsListResponse.php
new file mode 100644
index 00000000..bdcc6a28
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_OperatingSystemsListResponse extends Google_Collection
+{
+ protected $collection_key = 'operatingSystems';
+ public $kind;
+ protected $operatingSystemsType = 'Google_Service_Dfareporting_OperatingSystem';
+ protected $operatingSystemsDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperatingSystems($operatingSystems)
+ {
+ $this->operatingSystems = $operatingSystems;
+ }
+ public function getOperatingSystems()
+ {
+ return $this->operatingSystems;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OptimizationActivity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OptimizationActivity.php
new file mode 100644
index 00000000..f9539cde
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OptimizationActivity.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_OptimizationActivity extends Google_Model
+{
+ public $floodlightActivityId;
+ protected $floodlightActivityIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $floodlightActivityIdDimensionValueDataType = '';
+ public $weight;
+
+ public function setFloodlightActivityId($floodlightActivityId)
+ {
+ $this->floodlightActivityId = $floodlightActivityId;
+ }
+ public function getFloodlightActivityId()
+ {
+ return $this->floodlightActivityId;
+ }
+ public function setFloodlightActivityIdDimensionValue(Google_Service_Dfareporting_DimensionValue $floodlightActivityIdDimensionValue)
+ {
+ $this->floodlightActivityIdDimensionValue = $floodlightActivityIdDimensionValue;
+ }
+ public function getFloodlightActivityIdDimensionValue()
+ {
+ return $this->floodlightActivityIdDimensionValue;
+ }
+ public function setWeight($weight)
+ {
+ $this->weight = $weight;
+ }
+ public function getWeight()
+ {
+ return $this->weight;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Order.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Order.php
new file mode 100644
index 00000000..da665f4f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Order.php
@@ -0,0 +1,204 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Order extends Google_Collection
+{
+ protected $collection_key = 'siteNames';
+ public $accountId;
+ public $advertiserId;
+ public $approverUserProfileIds;
+ public $buyerInvoiceId;
+ public $buyerOrganizationName;
+ public $comments;
+ protected $contactsType = 'Google_Service_Dfareporting_OrderContact';
+ protected $contactsDataType = 'array';
+ public $id;
+ public $kind;
+ protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $lastModifiedInfoDataType = '';
+ public $name;
+ public $notes;
+ public $planningTermId;
+ public $projectId;
+ public $sellerOrderId;
+ public $sellerOrganizationName;
+ public $siteId;
+ public $siteNames;
+ public $subaccountId;
+ public $termsAndConditions;
+
+ 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 setApproverUserProfileIds($approverUserProfileIds)
+ {
+ $this->approverUserProfileIds = $approverUserProfileIds;
+ }
+ public function getApproverUserProfileIds()
+ {
+ return $this->approverUserProfileIds;
+ }
+ public function setBuyerInvoiceId($buyerInvoiceId)
+ {
+ $this->buyerInvoiceId = $buyerInvoiceId;
+ }
+ public function getBuyerInvoiceId()
+ {
+ return $this->buyerInvoiceId;
+ }
+ public function setBuyerOrganizationName($buyerOrganizationName)
+ {
+ $this->buyerOrganizationName = $buyerOrganizationName;
+ }
+ public function getBuyerOrganizationName()
+ {
+ return $this->buyerOrganizationName;
+ }
+ public function setComments($comments)
+ {
+ $this->comments = $comments;
+ }
+ public function getComments()
+ {
+ return $this->comments;
+ }
+ public function setContacts($contacts)
+ {
+ $this->contacts = $contacts;
+ }
+ public function getContacts()
+ {
+ return $this->contacts;
+ }
+ 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 setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
+ {
+ $this->lastModifiedInfo = $lastModifiedInfo;
+ }
+ public function getLastModifiedInfo()
+ {
+ return $this->lastModifiedInfo;
+ }
+ 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 setPlanningTermId($planningTermId)
+ {
+ $this->planningTermId = $planningTermId;
+ }
+ public function getPlanningTermId()
+ {
+ return $this->planningTermId;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setSellerOrderId($sellerOrderId)
+ {
+ $this->sellerOrderId = $sellerOrderId;
+ }
+ public function getSellerOrderId()
+ {
+ return $this->sellerOrderId;
+ }
+ public function setSellerOrganizationName($sellerOrganizationName)
+ {
+ $this->sellerOrganizationName = $sellerOrganizationName;
+ }
+ public function getSellerOrganizationName()
+ {
+ return $this->sellerOrganizationName;
+ }
+ public function setSiteId($siteId)
+ {
+ $this->siteId = $siteId;
+ }
+ public function getSiteId()
+ {
+ return $this->siteId;
+ }
+ public function setSiteNames($siteNames)
+ {
+ $this->siteNames = $siteNames;
+ }
+ public function getSiteNames()
+ {
+ return $this->siteNames;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTermsAndConditions($termsAndConditions)
+ {
+ $this->termsAndConditions = $termsAndConditions;
+ }
+ public function getTermsAndConditions()
+ {
+ return $this->termsAndConditions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderContact.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderContact.php
new file mode 100644
index 00000000..2166196f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderContact.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_OrderContact extends Google_Model
+{
+ public $contactInfo;
+ public $contactName;
+ public $contactTitle;
+ public $contactType;
+ public $signatureUserProfileId;
+
+ public function setContactInfo($contactInfo)
+ {
+ $this->contactInfo = $contactInfo;
+ }
+ public function getContactInfo()
+ {
+ return $this->contactInfo;
+ }
+ public function setContactName($contactName)
+ {
+ $this->contactName = $contactName;
+ }
+ public function getContactName()
+ {
+ return $this->contactName;
+ }
+ public function setContactTitle($contactTitle)
+ {
+ $this->contactTitle = $contactTitle;
+ }
+ public function getContactTitle()
+ {
+ return $this->contactTitle;
+ }
+ public function setContactType($contactType)
+ {
+ $this->contactType = $contactType;
+ }
+ public function getContactType()
+ {
+ return $this->contactType;
+ }
+ public function setSignatureUserProfileId($signatureUserProfileId)
+ {
+ $this->signatureUserProfileId = $signatureUserProfileId;
+ }
+ public function getSignatureUserProfileId()
+ {
+ return $this->signatureUserProfileId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderDocument.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderDocument.php
new file mode 100644
index 00000000..a7a26bf4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderDocument.php
@@ -0,0 +1,176 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_OrderDocument extends Google_Collection
+{
+ protected $collection_key = 'lastSentRecipients';
+ public $accountId;
+ public $advertiserId;
+ public $amendedOrderDocumentId;
+ public $approvedByUserProfileIds;
+ public $cancelled;
+ protected $createdInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $createdInfoDataType = '';
+ public $effectiveDate;
+ public $id;
+ public $kind;
+ public $lastSentRecipients;
+ public $lastSentTime;
+ public $orderId;
+ public $projectId;
+ public $signed;
+ public $subaccountId;
+ public $title;
+ public $type;
+
+ 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 setAmendedOrderDocumentId($amendedOrderDocumentId)
+ {
+ $this->amendedOrderDocumentId = $amendedOrderDocumentId;
+ }
+ public function getAmendedOrderDocumentId()
+ {
+ return $this->amendedOrderDocumentId;
+ }
+ public function setApprovedByUserProfileIds($approvedByUserProfileIds)
+ {
+ $this->approvedByUserProfileIds = $approvedByUserProfileIds;
+ }
+ public function getApprovedByUserProfileIds()
+ {
+ return $this->approvedByUserProfileIds;
+ }
+ public function setCancelled($cancelled)
+ {
+ $this->cancelled = $cancelled;
+ }
+ public function getCancelled()
+ {
+ return $this->cancelled;
+ }
+ public function setCreatedInfo(Google_Service_Dfareporting_LastModifiedInfo $createdInfo)
+ {
+ $this->createdInfo = $createdInfo;
+ }
+ public function getCreatedInfo()
+ {
+ return $this->createdInfo;
+ }
+ public function setEffectiveDate($effectiveDate)
+ {
+ $this->effectiveDate = $effectiveDate;
+ }
+ public function getEffectiveDate()
+ {
+ return $this->effectiveDate;
+ }
+ 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 setLastSentRecipients($lastSentRecipients)
+ {
+ $this->lastSentRecipients = $lastSentRecipients;
+ }
+ public function getLastSentRecipients()
+ {
+ return $this->lastSentRecipients;
+ }
+ public function setLastSentTime($lastSentTime)
+ {
+ $this->lastSentTime = $lastSentTime;
+ }
+ public function getLastSentTime()
+ {
+ return $this->lastSentTime;
+ }
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+ }
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setSigned($signed)
+ {
+ $this->signed = $signed;
+ }
+ public function getSigned()
+ {
+ return $this->signed;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderDocumentsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderDocumentsListResponse.php
new file mode 100644
index 00000000..63a41b30
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderDocumentsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_OrderDocumentsListResponse extends Google_Collection
+{
+ protected $collection_key = 'orderDocuments';
+ public $kind;
+ public $nextPageToken;
+ protected $orderDocumentsType = 'Google_Service_Dfareporting_OrderDocument';
+ protected $orderDocumentsDataType = '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 setOrderDocuments($orderDocuments)
+ {
+ $this->orderDocuments = $orderDocuments;
+ }
+ public function getOrderDocuments()
+ {
+ return $this->orderDocuments;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrdersListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrdersListResponse.php
new file mode 100644
index 00000000..e90bee1a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrdersListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_OrdersListResponse extends Google_Collection
+{
+ protected $collection_key = 'orders';
+ public $kind;
+ public $nextPageToken;
+ protected $ordersType = 'Google_Service_Dfareporting_Order';
+ protected $ordersDataType = '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 setOrders($orders)
+ {
+ $this->orders = $orders;
+ }
+ public function getOrders()
+ {
+ return $this->orders;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PathToConversionReportCompatibleFields.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PathToConversionReportCompatibleFields.php
new file mode 100644
index 00000000..8583dd86
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PathToConversionReportCompatibleFields.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_PathToConversionReportCompatibleFields extends Google_Collection
+{
+ protected $collection_key = 'perInteractionDimensions';
+ protected $conversionDimensionsType = 'Google_Service_Dfareporting_Dimension';
+ protected $conversionDimensionsDataType = 'array';
+ protected $customFloodlightVariablesType = 'Google_Service_Dfareporting_Dimension';
+ protected $customFloodlightVariablesDataType = 'array';
+ public $kind;
+ protected $metricsType = 'Google_Service_Dfareporting_Metric';
+ protected $metricsDataType = 'array';
+ protected $perInteractionDimensionsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Placement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Placement.php
new file mode 100644
index 00000000..ffb824ce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Placement.php
@@ -0,0 +1,387 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Placement extends Google_Collection
+{
+ protected $collection_key = 'tagFormats';
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $archived;
+ public $campaignId;
+ protected $campaignIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $campaignIdDimensionValueDataType = '';
+ public $comment;
+ public $compatibility;
+ public $contentCategoryId;
+ protected $createInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $createInfoDataType = '';
+ public $directorySiteId;
+ protected $directorySiteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $directorySiteIdDimensionValueDataType = '';
+ public $externalId;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $keyName;
+ public $kind;
+ protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $lastModifiedInfoDataType = '';
+ protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration';
+ protected $lookbackConfigurationDataType = '';
+ public $name;
+ public $paymentApproved;
+ public $paymentSource;
+ public $placementGroupId;
+ protected $placementGroupIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $placementGroupIdDimensionValueDataType = '';
+ public $placementStrategyId;
+ protected $pricingScheduleType = 'Google_Service_Dfareporting_PricingSchedule';
+ protected $pricingScheduleDataType = '';
+ public $primary;
+ protected $publisherUpdateInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $publisherUpdateInfoDataType = '';
+ public $siteId;
+ protected $siteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $siteIdDimensionValueDataType = '';
+ protected $sizeType = 'Google_Service_Dfareporting_Size';
+ protected $sizeDataType = '';
+ public $sslRequired;
+ public $status;
+ public $subaccountId;
+ public $tagFormats;
+ protected $tagSettingType = 'Google_Service_Dfareporting_TagSetting';
+ protected $tagSettingDataType = '';
+ public $videoActiveViewOptOut;
+ protected $videoSettingsType = 'Google_Service_Dfareporting_VideoSettings';
+ protected $videoSettingsDataType = '';
+ public $vpaidAdapterChoice;
+
+ 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 setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setArchived($archived)
+ {
+ $this->archived = $archived;
+ }
+ public function getArchived()
+ {
+ return $this->archived;
+ }
+ public function setCampaignId($campaignId)
+ {
+ $this->campaignId = $campaignId;
+ }
+ public function getCampaignId()
+ {
+ return $this->campaignId;
+ }
+ public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue)
+ {
+ $this->campaignIdDimensionValue = $campaignIdDimensionValue;
+ }
+ public function getCampaignIdDimensionValue()
+ {
+ return $this->campaignIdDimensionValue;
+ }
+ public function setComment($comment)
+ {
+ $this->comment = $comment;
+ }
+ public function getComment()
+ {
+ return $this->comment;
+ }
+ public function setCompatibility($compatibility)
+ {
+ $this->compatibility = $compatibility;
+ }
+ public function getCompatibility()
+ {
+ return $this->compatibility;
+ }
+ public function setContentCategoryId($contentCategoryId)
+ {
+ $this->contentCategoryId = $contentCategoryId;
+ }
+ public function getContentCategoryId()
+ {
+ return $this->contentCategoryId;
+ }
+ public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo)
+ {
+ $this->createInfo = $createInfo;
+ }
+ public function getCreateInfo()
+ {
+ return $this->createInfo;
+ }
+ public function setDirectorySiteId($directorySiteId)
+ {
+ $this->directorySiteId = $directorySiteId;
+ }
+ public function getDirectorySiteId()
+ {
+ return $this->directorySiteId;
+ }
+ public function setDirectorySiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $directorySiteIdDimensionValue)
+ {
+ $this->directorySiteIdDimensionValue = $directorySiteIdDimensionValue;
+ }
+ public function getDirectorySiteIdDimensionValue()
+ {
+ return $this->directorySiteIdDimensionValue;
+ }
+ public function setExternalId($externalId)
+ {
+ $this->externalId = $externalId;
+ }
+ public function getExternalId()
+ {
+ return $this->externalId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setKeyName($keyName)
+ {
+ $this->keyName = $keyName;
+ }
+ public function getKeyName()
+ {
+ return $this->keyName;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
+ {
+ $this->lastModifiedInfo = $lastModifiedInfo;
+ }
+ public function getLastModifiedInfo()
+ {
+ return $this->lastModifiedInfo;
+ }
+ public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration)
+ {
+ $this->lookbackConfiguration = $lookbackConfiguration;
+ }
+ public function getLookbackConfiguration()
+ {
+ return $this->lookbackConfiguration;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPaymentApproved($paymentApproved)
+ {
+ $this->paymentApproved = $paymentApproved;
+ }
+ public function getPaymentApproved()
+ {
+ return $this->paymentApproved;
+ }
+ public function setPaymentSource($paymentSource)
+ {
+ $this->paymentSource = $paymentSource;
+ }
+ public function getPaymentSource()
+ {
+ return $this->paymentSource;
+ }
+ public function setPlacementGroupId($placementGroupId)
+ {
+ $this->placementGroupId = $placementGroupId;
+ }
+ public function getPlacementGroupId()
+ {
+ return $this->placementGroupId;
+ }
+ public function setPlacementGroupIdDimensionValue(Google_Service_Dfareporting_DimensionValue $placementGroupIdDimensionValue)
+ {
+ $this->placementGroupIdDimensionValue = $placementGroupIdDimensionValue;
+ }
+ public function getPlacementGroupIdDimensionValue()
+ {
+ return $this->placementGroupIdDimensionValue;
+ }
+ public function setPlacementStrategyId($placementStrategyId)
+ {
+ $this->placementStrategyId = $placementStrategyId;
+ }
+ public function getPlacementStrategyId()
+ {
+ return $this->placementStrategyId;
+ }
+ public function setPricingSchedule(Google_Service_Dfareporting_PricingSchedule $pricingSchedule)
+ {
+ $this->pricingSchedule = $pricingSchedule;
+ }
+ public function getPricingSchedule()
+ {
+ return $this->pricingSchedule;
+ }
+ public function setPrimary($primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setPublisherUpdateInfo(Google_Service_Dfareporting_LastModifiedInfo $publisherUpdateInfo)
+ {
+ $this->publisherUpdateInfo = $publisherUpdateInfo;
+ }
+ public function getPublisherUpdateInfo()
+ {
+ return $this->publisherUpdateInfo;
+ }
+ public function setSiteId($siteId)
+ {
+ $this->siteId = $siteId;
+ }
+ public function getSiteId()
+ {
+ return $this->siteId;
+ }
+ public function setSiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $siteIdDimensionValue)
+ {
+ $this->siteIdDimensionValue = $siteIdDimensionValue;
+ }
+ public function getSiteIdDimensionValue()
+ {
+ return $this->siteIdDimensionValue;
+ }
+ public function setSize(Google_Service_Dfareporting_Size $size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setSslRequired($sslRequired)
+ {
+ $this->sslRequired = $sslRequired;
+ }
+ public function getSslRequired()
+ {
+ return $this->sslRequired;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTagFormats($tagFormats)
+ {
+ $this->tagFormats = $tagFormats;
+ }
+ public function getTagFormats()
+ {
+ return $this->tagFormats;
+ }
+ public function setTagSetting(Google_Service_Dfareporting_TagSetting $tagSetting)
+ {
+ $this->tagSetting = $tagSetting;
+ }
+ public function getTagSetting()
+ {
+ return $this->tagSetting;
+ }
+ public function setVideoActiveViewOptOut($videoActiveViewOptOut)
+ {
+ $this->videoActiveViewOptOut = $videoActiveViewOptOut;
+ }
+ public function getVideoActiveViewOptOut()
+ {
+ return $this->videoActiveViewOptOut;
+ }
+ public function setVideoSettings(Google_Service_Dfareporting_VideoSettings $videoSettings)
+ {
+ $this->videoSettings = $videoSettings;
+ }
+ public function getVideoSettings()
+ {
+ return $this->videoSettings;
+ }
+ public function setVpaidAdapterChoice($vpaidAdapterChoice)
+ {
+ $this->vpaidAdapterChoice = $vpaidAdapterChoice;
+ }
+ public function getVpaidAdapterChoice()
+ {
+ return $this->vpaidAdapterChoice;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementAssignment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementAssignment.php
new file mode 100644
index 00000000..f19b7374
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementAssignment.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_PlacementAssignment extends Google_Model
+{
+ public $active;
+ public $placementId;
+ protected $placementIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $placementIdDimensionValueDataType = '';
+ public $sslRequired;
+
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setPlacementId($placementId)
+ {
+ $this->placementId = $placementId;
+ }
+ public function getPlacementId()
+ {
+ return $this->placementId;
+ }
+ public function setPlacementIdDimensionValue(Google_Service_Dfareporting_DimensionValue $placementIdDimensionValue)
+ {
+ $this->placementIdDimensionValue = $placementIdDimensionValue;
+ }
+ public function getPlacementIdDimensionValue()
+ {
+ return $this->placementIdDimensionValue;
+ }
+ public function setSslRequired($sslRequired)
+ {
+ $this->sslRequired = $sslRequired;
+ }
+ public function getSslRequired()
+ {
+ return $this->sslRequired;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementGroup.php
new file mode 100644
index 00000000..266a1cf6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementGroup.php
@@ -0,0 +1,265 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_PlacementGroup extends Google_Collection
+{
+ protected $collection_key = 'childPlacementIds';
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $archived;
+ public $campaignId;
+ protected $campaignIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $campaignIdDimensionValueDataType = '';
+ public $childPlacementIds;
+ public $comment;
+ public $contentCategoryId;
+ protected $createInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $createInfoDataType = '';
+ public $directorySiteId;
+ protected $directorySiteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $directorySiteIdDimensionValueDataType = '';
+ public $externalId;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $kind;
+ protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $lastModifiedInfoDataType = '';
+ public $name;
+ public $placementGroupType;
+ public $placementStrategyId;
+ protected $pricingScheduleType = 'Google_Service_Dfareporting_PricingSchedule';
+ protected $pricingScheduleDataType = '';
+ public $primaryPlacementId;
+ protected $primaryPlacementIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $primaryPlacementIdDimensionValueDataType = '';
+ public $siteId;
+ protected $siteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $siteIdDimensionValueDataType = '';
+ public $subaccountId;
+
+ 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 setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setArchived($archived)
+ {
+ $this->archived = $archived;
+ }
+ public function getArchived()
+ {
+ return $this->archived;
+ }
+ public function setCampaignId($campaignId)
+ {
+ $this->campaignId = $campaignId;
+ }
+ public function getCampaignId()
+ {
+ return $this->campaignId;
+ }
+ public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue)
+ {
+ $this->campaignIdDimensionValue = $campaignIdDimensionValue;
+ }
+ public function getCampaignIdDimensionValue()
+ {
+ return $this->campaignIdDimensionValue;
+ }
+ public function setChildPlacementIds($childPlacementIds)
+ {
+ $this->childPlacementIds = $childPlacementIds;
+ }
+ public function getChildPlacementIds()
+ {
+ return $this->childPlacementIds;
+ }
+ public function setComment($comment)
+ {
+ $this->comment = $comment;
+ }
+ public function getComment()
+ {
+ return $this->comment;
+ }
+ public function setContentCategoryId($contentCategoryId)
+ {
+ $this->contentCategoryId = $contentCategoryId;
+ }
+ public function getContentCategoryId()
+ {
+ return $this->contentCategoryId;
+ }
+ public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo)
+ {
+ $this->createInfo = $createInfo;
+ }
+ public function getCreateInfo()
+ {
+ return $this->createInfo;
+ }
+ public function setDirectorySiteId($directorySiteId)
+ {
+ $this->directorySiteId = $directorySiteId;
+ }
+ public function getDirectorySiteId()
+ {
+ return $this->directorySiteId;
+ }
+ public function setDirectorySiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $directorySiteIdDimensionValue)
+ {
+ $this->directorySiteIdDimensionValue = $directorySiteIdDimensionValue;
+ }
+ public function getDirectorySiteIdDimensionValue()
+ {
+ return $this->directorySiteIdDimensionValue;
+ }
+ public function setExternalId($externalId)
+ {
+ $this->externalId = $externalId;
+ }
+ public function getExternalId()
+ {
+ return $this->externalId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
+ {
+ $this->lastModifiedInfo = $lastModifiedInfo;
+ }
+ public function getLastModifiedInfo()
+ {
+ return $this->lastModifiedInfo;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPlacementGroupType($placementGroupType)
+ {
+ $this->placementGroupType = $placementGroupType;
+ }
+ public function getPlacementGroupType()
+ {
+ return $this->placementGroupType;
+ }
+ public function setPlacementStrategyId($placementStrategyId)
+ {
+ $this->placementStrategyId = $placementStrategyId;
+ }
+ public function getPlacementStrategyId()
+ {
+ return $this->placementStrategyId;
+ }
+ public function setPricingSchedule(Google_Service_Dfareporting_PricingSchedule $pricingSchedule)
+ {
+ $this->pricingSchedule = $pricingSchedule;
+ }
+ public function getPricingSchedule()
+ {
+ return $this->pricingSchedule;
+ }
+ public function setPrimaryPlacementId($primaryPlacementId)
+ {
+ $this->primaryPlacementId = $primaryPlacementId;
+ }
+ public function getPrimaryPlacementId()
+ {
+ return $this->primaryPlacementId;
+ }
+ public function setPrimaryPlacementIdDimensionValue(Google_Service_Dfareporting_DimensionValue $primaryPlacementIdDimensionValue)
+ {
+ $this->primaryPlacementIdDimensionValue = $primaryPlacementIdDimensionValue;
+ }
+ public function getPrimaryPlacementIdDimensionValue()
+ {
+ return $this->primaryPlacementIdDimensionValue;
+ }
+ public function setSiteId($siteId)
+ {
+ $this->siteId = $siteId;
+ }
+ public function getSiteId()
+ {
+ return $this->siteId;
+ }
+ public function setSiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $siteIdDimensionValue)
+ {
+ $this->siteIdDimensionValue = $siteIdDimensionValue;
+ }
+ public function getSiteIdDimensionValue()
+ {
+ return $this->siteIdDimensionValue;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementGroupsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementGroupsListResponse.php
new file mode 100644
index 00000000..8adaa3c4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementGroupsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_PlacementGroupsListResponse extends Google_Collection
+{
+ protected $collection_key = 'placementGroups';
+ public $kind;
+ public $nextPageToken;
+ protected $placementGroupsType = 'Google_Service_Dfareporting_PlacementGroup';
+ protected $placementGroupsDataType = '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 setPlacementGroups($placementGroups)
+ {
+ $this->placementGroups = $placementGroups;
+ }
+ public function getPlacementGroups()
+ {
+ return $this->placementGroups;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementStrategiesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementStrategiesListResponse.php
new file mode 100644
index 00000000..d96c5b2b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementStrategiesListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_PlacementStrategiesListResponse extends Google_Collection
+{
+ protected $collection_key = 'placementStrategies';
+ public $kind;
+ public $nextPageToken;
+ protected $placementStrategiesType = 'Google_Service_Dfareporting_PlacementStrategy';
+ protected $placementStrategiesDataType = '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 setPlacementStrategies($placementStrategies)
+ {
+ $this->placementStrategies = $placementStrategies;
+ }
+ public function getPlacementStrategies()
+ {
+ return $this->placementStrategies;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementStrategy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementStrategy.php
new file mode 100644
index 00000000..61aac46d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementStrategy.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_PlacementStrategy extends Google_Model
+{
+ public $accountId;
+ public $id;
+ public $kind;
+ public $name;
+
+ 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 setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementTag.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementTag.php
new file mode 100644
index 00000000..8c560674
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementTag.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_PlacementTag extends Google_Collection
+{
+ protected $collection_key = 'tagDatas';
+ public $placementId;
+ protected $tagDatasType = 'Google_Service_Dfareporting_TagData';
+ protected $tagDatasDataType = 'array';
+
+ public function setPlacementId($placementId)
+ {
+ $this->placementId = $placementId;
+ }
+ public function getPlacementId()
+ {
+ return $this->placementId;
+ }
+ public function setTagDatas($tagDatas)
+ {
+ $this->tagDatas = $tagDatas;
+ }
+ public function getTagDatas()
+ {
+ return $this->tagDatas;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementsGenerateTagsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementsGenerateTagsResponse.php
new file mode 100644
index 00000000..e2ec68bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementsGenerateTagsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_PlacementsGenerateTagsResponse extends Google_Collection
+{
+ protected $collection_key = 'placementTags';
+ public $kind;
+ protected $placementTagsType = 'Google_Service_Dfareporting_PlacementTag';
+ protected $placementTagsDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPlacementTags($placementTags)
+ {
+ $this->placementTags = $placementTags;
+ }
+ public function getPlacementTags()
+ {
+ return $this->placementTags;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementsListResponse.php
new file mode 100644
index 00000000..d1b5b6f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_PlacementsListResponse extends Google_Collection
+{
+ protected $collection_key = 'placements';
+ public $kind;
+ public $nextPageToken;
+ protected $placementsType = 'Google_Service_Dfareporting_Placement';
+ protected $placementsDataType = '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 setPlacements($placements)
+ {
+ $this->placements = $placements;
+ }
+ public function getPlacements()
+ {
+ return $this->placements;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlatformType.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlatformType.php
new file mode 100644
index 00000000..da474be9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlatformType.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_PlatformType extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlatformTypesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlatformTypesListResponse.php
new file mode 100644
index 00000000..0eee5f46
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlatformTypesListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_PlatformTypesListResponse extends Google_Collection
+{
+ protected $collection_key = 'platformTypes';
+ public $kind;
+ protected $platformTypesType = 'Google_Service_Dfareporting_PlatformType';
+ protected $platformTypesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPlatformTypes($platformTypes)
+ {
+ $this->platformTypes = $platformTypes;
+ }
+ public function getPlatformTypes()
+ {
+ return $this->platformTypes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PopupWindowProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PopupWindowProperties.php
new file mode 100644
index 00000000..2cf0dbc5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PopupWindowProperties.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_PopupWindowProperties extends Google_Model
+{
+ protected $dimensionType = 'Google_Service_Dfareporting_Size';
+ protected $dimensionDataType = '';
+ protected $offsetType = 'Google_Service_Dfareporting_OffsetPosition';
+ protected $offsetDataType = '';
+ public $positionType;
+ public $showAddressBar;
+ public $showMenuBar;
+ public $showScrollBar;
+ public $showStatusBar;
+ public $showToolBar;
+ public $title;
+
+ public function setDimension(Google_Service_Dfareporting_Size $dimension)
+ {
+ $this->dimension = $dimension;
+ }
+ public function getDimension()
+ {
+ return $this->dimension;
+ }
+ public function setOffset(Google_Service_Dfareporting_OffsetPosition $offset)
+ {
+ $this->offset = $offset;
+ }
+ public function getOffset()
+ {
+ return $this->offset;
+ }
+ public function setPositionType($positionType)
+ {
+ $this->positionType = $positionType;
+ }
+ public function getPositionType()
+ {
+ return $this->positionType;
+ }
+ public function setShowAddressBar($showAddressBar)
+ {
+ $this->showAddressBar = $showAddressBar;
+ }
+ public function getShowAddressBar()
+ {
+ return $this->showAddressBar;
+ }
+ public function setShowMenuBar($showMenuBar)
+ {
+ $this->showMenuBar = $showMenuBar;
+ }
+ public function getShowMenuBar()
+ {
+ return $this->showMenuBar;
+ }
+ public function setShowScrollBar($showScrollBar)
+ {
+ $this->showScrollBar = $showScrollBar;
+ }
+ public function getShowScrollBar()
+ {
+ return $this->showScrollBar;
+ }
+ public function setShowStatusBar($showStatusBar)
+ {
+ $this->showStatusBar = $showStatusBar;
+ }
+ public function getShowStatusBar()
+ {
+ return $this->showStatusBar;
+ }
+ public function setShowToolBar($showToolBar)
+ {
+ $this->showToolBar = $showToolBar;
+ }
+ public function getShowToolBar()
+ {
+ return $this->showToolBar;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PostalCode.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PostalCode.php
new file mode 100644
index 00000000..03cd3ede
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PostalCode.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_PostalCode extends Google_Model
+{
+ public $code;
+ public $countryCode;
+ public $countryDartId;
+ public $id;
+ public $kind;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setCountryDartId($countryDartId)
+ {
+ $this->countryDartId = $countryDartId;
+ }
+ public function getCountryDartId()
+ {
+ return $this->countryDartId;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PostalCodesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PostalCodesListResponse.php
new file mode 100644
index 00000000..93d9d799
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PostalCodesListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_PostalCodesListResponse extends Google_Collection
+{
+ protected $collection_key = 'postalCodes';
+ public $kind;
+ protected $postalCodesType = 'Google_Service_Dfareporting_PostalCode';
+ protected $postalCodesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPostalCodes($postalCodes)
+ {
+ $this->postalCodes = $postalCodes;
+ }
+ public function getPostalCodes()
+ {
+ return $this->postalCodes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Pricing.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Pricing.php
new file mode 100644
index 00000000..0e1abfb2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Pricing.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Pricing extends Google_Collection
+{
+ protected $collection_key = 'flights';
+ public $capCostType;
+ public $endDate;
+ protected $flightsType = 'Google_Service_Dfareporting_Flight';
+ protected $flightsDataType = 'array';
+ public $groupType;
+ public $pricingType;
+ public $startDate;
+
+ public function setCapCostType($capCostType)
+ {
+ $this->capCostType = $capCostType;
+ }
+ public function getCapCostType()
+ {
+ return $this->capCostType;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setFlights($flights)
+ {
+ $this->flights = $flights;
+ }
+ public function getFlights()
+ {
+ return $this->flights;
+ }
+ public function setGroupType($groupType)
+ {
+ $this->groupType = $groupType;
+ }
+ public function getGroupType()
+ {
+ return $this->groupType;
+ }
+ public function setPricingType($pricingType)
+ {
+ $this->pricingType = $pricingType;
+ }
+ public function getPricingType()
+ {
+ return $this->pricingType;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PricingSchedule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PricingSchedule.php
new file mode 100644
index 00000000..5ba2b971
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PricingSchedule.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_PricingSchedule extends Google_Collection
+{
+ protected $collection_key = 'pricingPeriods';
+ public $capCostOption;
+ public $disregardOverdelivery;
+ public $endDate;
+ public $flighted;
+ public $floodlightActivityId;
+ protected $pricingPeriodsType = 'Google_Service_Dfareporting_PricingSchedulePricingPeriod';
+ protected $pricingPeriodsDataType = 'array';
+ public $pricingType;
+ public $startDate;
+ public $testingStartDate;
+
+ public function setCapCostOption($capCostOption)
+ {
+ $this->capCostOption = $capCostOption;
+ }
+ public function getCapCostOption()
+ {
+ return $this->capCostOption;
+ }
+ public function setDisregardOverdelivery($disregardOverdelivery)
+ {
+ $this->disregardOverdelivery = $disregardOverdelivery;
+ }
+ public function getDisregardOverdelivery()
+ {
+ return $this->disregardOverdelivery;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setFlighted($flighted)
+ {
+ $this->flighted = $flighted;
+ }
+ public function getFlighted()
+ {
+ return $this->flighted;
+ }
+ public function setFloodlightActivityId($floodlightActivityId)
+ {
+ $this->floodlightActivityId = $floodlightActivityId;
+ }
+ public function getFloodlightActivityId()
+ {
+ return $this->floodlightActivityId;
+ }
+ public function setPricingPeriods($pricingPeriods)
+ {
+ $this->pricingPeriods = $pricingPeriods;
+ }
+ public function getPricingPeriods()
+ {
+ return $this->pricingPeriods;
+ }
+ public function setPricingType($pricingType)
+ {
+ $this->pricingType = $pricingType;
+ }
+ public function getPricingType()
+ {
+ return $this->pricingType;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setTestingStartDate($testingStartDate)
+ {
+ $this->testingStartDate = $testingStartDate;
+ }
+ public function getTestingStartDate()
+ {
+ return $this->testingStartDate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PricingSchedulePricingPeriod.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PricingSchedulePricingPeriod.php
new file mode 100644
index 00000000..0e55ed62
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PricingSchedulePricingPeriod.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_PricingSchedulePricingPeriod extends Google_Model
+{
+ public $endDate;
+ public $pricingComment;
+ public $rateOrCostNanos;
+ public $startDate;
+ public $units;
+
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setPricingComment($pricingComment)
+ {
+ $this->pricingComment = $pricingComment;
+ }
+ public function getPricingComment()
+ {
+ return $this->pricingComment;
+ }
+ public function setRateOrCostNanos($rateOrCostNanos)
+ {
+ $this->rateOrCostNanos = $rateOrCostNanos;
+ }
+ public function getRateOrCostNanos()
+ {
+ return $this->rateOrCostNanos;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setUnits($units)
+ {
+ $this->units = $units;
+ }
+ public function getUnits()
+ {
+ return $this->units;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Project.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Project.php
new file mode 100644
index 00000000..a7fc809e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Project.php
@@ -0,0 +1,220 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Project extends Google_Model
+{
+ public $accountId;
+ public $advertiserId;
+ public $audienceAgeGroup;
+ public $audienceGender;
+ public $budget;
+ public $clientBillingCode;
+ public $clientName;
+ public $endDate;
+ public $id;
+ public $kind;
+ protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $lastModifiedInfoDataType = '';
+ public $name;
+ public $overview;
+ public $startDate;
+ public $subaccountId;
+ public $targetClicks;
+ public $targetConversions;
+ public $targetCpaNanos;
+ public $targetCpcNanos;
+ public $targetCpmActiveViewNanos;
+ public $targetCpmNanos;
+ public $targetImpressions;
+
+ 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 setAudienceAgeGroup($audienceAgeGroup)
+ {
+ $this->audienceAgeGroup = $audienceAgeGroup;
+ }
+ public function getAudienceAgeGroup()
+ {
+ return $this->audienceAgeGroup;
+ }
+ public function setAudienceGender($audienceGender)
+ {
+ $this->audienceGender = $audienceGender;
+ }
+ public function getAudienceGender()
+ {
+ return $this->audienceGender;
+ }
+ public function setBudget($budget)
+ {
+ $this->budget = $budget;
+ }
+ public function getBudget()
+ {
+ return $this->budget;
+ }
+ public function setClientBillingCode($clientBillingCode)
+ {
+ $this->clientBillingCode = $clientBillingCode;
+ }
+ public function getClientBillingCode()
+ {
+ return $this->clientBillingCode;
+ }
+ public function setClientName($clientName)
+ {
+ $this->clientName = $clientName;
+ }
+ public function getClientName()
+ {
+ return $this->clientName;
+ }
+ 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 setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
+ {
+ $this->lastModifiedInfo = $lastModifiedInfo;
+ }
+ public function getLastModifiedInfo()
+ {
+ return $this->lastModifiedInfo;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOverview($overview)
+ {
+ $this->overview = $overview;
+ }
+ public function getOverview()
+ {
+ return $this->overview;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTargetClicks($targetClicks)
+ {
+ $this->targetClicks = $targetClicks;
+ }
+ public function getTargetClicks()
+ {
+ return $this->targetClicks;
+ }
+ public function setTargetConversions($targetConversions)
+ {
+ $this->targetConversions = $targetConversions;
+ }
+ public function getTargetConversions()
+ {
+ return $this->targetConversions;
+ }
+ public function setTargetCpaNanos($targetCpaNanos)
+ {
+ $this->targetCpaNanos = $targetCpaNanos;
+ }
+ public function getTargetCpaNanos()
+ {
+ return $this->targetCpaNanos;
+ }
+ public function setTargetCpcNanos($targetCpcNanos)
+ {
+ $this->targetCpcNanos = $targetCpcNanos;
+ }
+ public function getTargetCpcNanos()
+ {
+ return $this->targetCpcNanos;
+ }
+ public function setTargetCpmActiveViewNanos($targetCpmActiveViewNanos)
+ {
+ $this->targetCpmActiveViewNanos = $targetCpmActiveViewNanos;
+ }
+ public function getTargetCpmActiveViewNanos()
+ {
+ return $this->targetCpmActiveViewNanos;
+ }
+ public function setTargetCpmNanos($targetCpmNanos)
+ {
+ $this->targetCpmNanos = $targetCpmNanos;
+ }
+ public function getTargetCpmNanos()
+ {
+ return $this->targetCpmNanos;
+ }
+ public function setTargetImpressions($targetImpressions)
+ {
+ $this->targetImpressions = $targetImpressions;
+ }
+ public function getTargetImpressions()
+ {
+ return $this->targetImpressions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ProjectsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ProjectsListResponse.php
new file mode 100644
index 00000000..2fa5d6bd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ProjectsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ProjectsListResponse extends Google_Collection
+{
+ protected $collection_key = 'projects';
+ public $kind;
+ public $nextPageToken;
+ protected $projectsType = 'Google_Service_Dfareporting_Project';
+ protected $projectsDataType = '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 setProjects($projects)
+ {
+ $this->projects = $projects;
+ }
+ public function getProjects()
+ {
+ return $this->projects;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReachReportCompatibleFields.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReachReportCompatibleFields.php
new file mode 100644
index 00000000..5909785d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReachReportCompatibleFields.php
@@ -0,0 +1,81 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ReachReportCompatibleFields extends Google_Collection
+{
+ protected $collection_key = 'reachByFrequencyMetrics';
+ protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionsDataType = 'array';
+ public $kind;
+ protected $metricsType = 'Google_Service_Dfareporting_Metric';
+ protected $metricsDataType = 'array';
+ protected $pivotedActivityMetricsType = 'Google_Service_Dfareporting_Metric';
+ protected $pivotedActivityMetricsDataType = 'array';
+ protected $reachByFrequencyMetricsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Recipient.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Recipient.php
new file mode 100644
index 00000000..a802e2d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Recipient.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Recipient extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Region.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Region.php
new file mode 100644
index 00000000..91d986a2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Region.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Region extends Google_Model
+{
+ public $countryCode;
+ public $countryDartId;
+ public $dartId;
+ public $kind;
+ public $name;
+ public $regionCode;
+
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setCountryDartId($countryDartId)
+ {
+ $this->countryDartId = $countryDartId;
+ }
+ public function getCountryDartId()
+ {
+ return $this->countryDartId;
+ }
+ public function setDartId($dartId)
+ {
+ $this->dartId = $dartId;
+ }
+ public function getDartId()
+ {
+ return $this->dartId;
+ }
+ 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 setRegionCode($regionCode)
+ {
+ $this->regionCode = $regionCode;
+ }
+ public function getRegionCode()
+ {
+ return $this->regionCode;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RegionsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RegionsListResponse.php
new file mode 100644
index 00000000..df314e88
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RegionsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_RegionsListResponse extends Google_Collection
+{
+ protected $collection_key = 'regions';
+ public $kind;
+ protected $regionsType = 'Google_Service_Dfareporting_Region';
+ protected $regionsDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRegions($regions)
+ {
+ $this->regions = $regions;
+ }
+ public function getRegions()
+ {
+ return $this->regions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingList.php
new file mode 100644
index 00000000..2a98707d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingList.php
@@ -0,0 +1,140 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_RemarketingList extends Google_Model
+{
+ public $accountId;
+ public $active;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $description;
+ public $id;
+ public $kind;
+ public $lifeSpan;
+ protected $listPopulationRuleType = 'Google_Service_Dfareporting_ListPopulationRule';
+ protected $listPopulationRuleDataType = '';
+ public $listSize;
+ public $listSource;
+ public $name;
+ public $subaccountId;
+
+ 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 setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ 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 setLifeSpan($lifeSpan)
+ {
+ $this->lifeSpan = $lifeSpan;
+ }
+ public function getLifeSpan()
+ {
+ return $this->lifeSpan;
+ }
+ public function setListPopulationRule(Google_Service_Dfareporting_ListPopulationRule $listPopulationRule)
+ {
+ $this->listPopulationRule = $listPopulationRule;
+ }
+ public function getListPopulationRule()
+ {
+ return $this->listPopulationRule;
+ }
+ public function setListSize($listSize)
+ {
+ $this->listSize = $listSize;
+ }
+ public function getListSize()
+ {
+ return $this->listSize;
+ }
+ public function setListSource($listSource)
+ {
+ $this->listSource = $listSource;
+ }
+ public function getListSource()
+ {
+ return $this->listSource;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingListShare.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingListShare.php
new file mode 100644
index 00000000..17be3a9e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingListShare.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_RemarketingListShare extends Google_Collection
+{
+ protected $collection_key = 'sharedAdvertiserIds';
+ public $kind;
+ public $remarketingListId;
+ public $sharedAccountIds;
+ public $sharedAdvertiserIds;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRemarketingListId($remarketingListId)
+ {
+ $this->remarketingListId = $remarketingListId;
+ }
+ public function getRemarketingListId()
+ {
+ return $this->remarketingListId;
+ }
+ public function setSharedAccountIds($sharedAccountIds)
+ {
+ $this->sharedAccountIds = $sharedAccountIds;
+ }
+ public function getSharedAccountIds()
+ {
+ return $this->sharedAccountIds;
+ }
+ public function setSharedAdvertiserIds($sharedAdvertiserIds)
+ {
+ $this->sharedAdvertiserIds = $sharedAdvertiserIds;
+ }
+ public function getSharedAdvertiserIds()
+ {
+ return $this->sharedAdvertiserIds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingListsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingListsListResponse.php
new file mode 100644
index 00000000..bce9de6f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingListsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_RemarketingListsListResponse extends Google_Collection
+{
+ protected $collection_key = 'remarketingLists';
+ public $kind;
+ public $nextPageToken;
+ protected $remarketingListsType = 'Google_Service_Dfareporting_RemarketingList';
+ protected $remarketingListsDataType = '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 setRemarketingLists($remarketingLists)
+ {
+ $this->remarketingLists = $remarketingLists;
+ }
+ public function getRemarketingLists()
+ {
+ return $this->remarketingLists;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Report.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Report.php
new file mode 100644
index 00000000..a31b1674
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Report.php
@@ -0,0 +1,190 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Report extends Google_Model
+{
+ public $accountId;
+ protected $criteriaType = 'Google_Service_Dfareporting_ReportCriteria';
+ protected $criteriaDataType = '';
+ protected $crossDimensionReachCriteriaType = 'Google_Service_Dfareporting_ReportCrossDimensionReachCriteria';
+ protected $crossDimensionReachCriteriaDataType = '';
+ protected $deliveryType = 'Google_Service_Dfareporting_ReportDelivery';
+ protected $deliveryDataType = '';
+ public $etag;
+ public $fileName;
+ protected $floodlightCriteriaType = 'Google_Service_Dfareporting_ReportFloodlightCriteria';
+ protected $floodlightCriteriaDataType = '';
+ public $format;
+ public $id;
+ public $kind;
+ public $lastModifiedTime;
+ public $name;
+ public $ownerProfileId;
+ protected $pathToConversionCriteriaType = 'Google_Service_Dfareporting_ReportPathToConversionCriteria';
+ protected $pathToConversionCriteriaDataType = '';
+ protected $reachCriteriaType = 'Google_Service_Dfareporting_ReportReachCriteria';
+ protected $reachCriteriaDataType = '';
+ protected $scheduleType = '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 setCriteria(Google_Service_Dfareporting_ReportCriteria $criteria)
+ {
+ $this->criteria = $criteria;
+ }
+ public function getCriteria()
+ {
+ return $this->criteria;
+ }
+ public function setCrossDimensionReachCriteria(Google_Service_Dfareporting_ReportCrossDimensionReachCriteria $crossDimensionReachCriteria)
+ {
+ $this->crossDimensionReachCriteria = $crossDimensionReachCriteria;
+ }
+ public function getCrossDimensionReachCriteria()
+ {
+ return $this->crossDimensionReachCriteria;
+ }
+ public function setDelivery(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(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(Google_Service_Dfareporting_ReportPathToConversionCriteria $pathToConversionCriteria)
+ {
+ $this->pathToConversionCriteria = $pathToConversionCriteria;
+ }
+ public function getPathToConversionCriteria()
+ {
+ return $this->pathToConversionCriteria;
+ }
+ public function setReachCriteria(Google_Service_Dfareporting_ReportReachCriteria $reachCriteria)
+ {
+ $this->reachCriteria = $reachCriteria;
+ }
+ public function getReachCriteria()
+ {
+ return $this->reachCriteria;
+ }
+ public function setSchedule(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCompatibleFields.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCompatibleFields.php
new file mode 100644
index 00000000..c21df0aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCompatibleFields.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ReportCompatibleFields extends Google_Collection
+{
+ protected $collection_key = 'pivotedActivityMetrics';
+ protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionsDataType = 'array';
+ public $kind;
+ protected $metricsType = 'Google_Service_Dfareporting_Metric';
+ protected $metricsDataType = 'array';
+ protected $pivotedActivityMetricsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCriteria.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCriteria.php
new file mode 100644
index 00000000..1b740bd5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCriteria.php
@@ -0,0 +1,81 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ReportCriteria extends Google_Collection
+{
+ protected $collection_key = 'metricNames';
+ protected $activitiesType = 'Google_Service_Dfareporting_Activities';
+ protected $activitiesDataType = '';
+ protected $customRichMediaEventsType = 'Google_Service_Dfareporting_CustomRichMediaEvents';
+ protected $customRichMediaEventsDataType = '';
+ protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ protected $dimensionFiltersType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Google_Service_Dfareporting_SortedDimension';
+ protected $dimensionsDataType = 'array';
+ public $metricNames;
+
+ public function setActivities(Google_Service_Dfareporting_Activities $activities)
+ {
+ $this->activities = $activities;
+ }
+ public function getActivities()
+ {
+ return $this->activities;
+ }
+ public function setCustomRichMediaEvents(Google_Service_Dfareporting_CustomRichMediaEvents $customRichMediaEvents)
+ {
+ $this->customRichMediaEvents = $customRichMediaEvents;
+ }
+ public function getCustomRichMediaEvents()
+ {
+ return $this->customRichMediaEvents;
+ }
+ public function setDateRange(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCrossDimensionReachCriteria.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCrossDimensionReachCriteria.php
new file mode 100644
index 00000000..e896f436
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCrossDimensionReachCriteria.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ReportCrossDimensionReachCriteria extends Google_Collection
+{
+ protected $collection_key = 'overlapMetricNames';
+ protected $breakdownType = 'Google_Service_Dfareporting_SortedDimension';
+ protected $breakdownDataType = 'array';
+ protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ public $dimension;
+ protected $dimensionFiltersType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportDelivery.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportDelivery.php
new file mode 100644
index 00000000..1788b2b1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportDelivery.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ReportDelivery extends Google_Collection
+{
+ protected $collection_key = 'recipients';
+ public $emailOwner;
+ public $emailOwnerDeliveryType;
+ public $message;
+ protected $recipientsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportFloodlightCriteria.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportFloodlightCriteria.php
new file mode 100644
index 00000000..6e82ad1b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportFloodlightCriteria.php
@@ -0,0 +1,91 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ReportFloodlightCriteria extends Google_Collection
+{
+ protected $collection_key = 'metricNames';
+ protected $customRichMediaEventsType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $customRichMediaEventsDataType = 'array';
+ protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ protected $dimensionFiltersType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Google_Service_Dfareporting_SortedDimension';
+ protected $dimensionsDataType = 'array';
+ protected $floodlightConfigIdType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $floodlightConfigIdDataType = '';
+ public $metricNames;
+ protected $reportPropertiesType = 'Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties';
+ protected $reportPropertiesDataType = '';
+
+ public function setCustomRichMediaEvents($customRichMediaEvents)
+ {
+ $this->customRichMediaEvents = $customRichMediaEvents;
+ }
+ public function getCustomRichMediaEvents()
+ {
+ return $this->customRichMediaEvents;
+ }
+ public function setDateRange(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(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(Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties $reportProperties)
+ {
+ $this->reportProperties = $reportProperties;
+ }
+ public function getReportProperties()
+ {
+ return $this->reportProperties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportFloodlightCriteriaReportProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportFloodlightCriteriaReportProperties.php
new file mode 100644
index 00000000..5f6bb423
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportFloodlightCriteriaReportProperties.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportList.php
new file mode 100644
index 00000000..d551c362
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ReportList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportPathToConversionCriteria.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportPathToConversionCriteria.php
new file mode 100644
index 00000000..ba8f19f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportPathToConversionCriteria.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ReportPathToConversionCriteria extends Google_Collection
+{
+ protected $collection_key = 'perInteractionDimensions';
+ protected $activityFiltersType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $activityFiltersDataType = 'array';
+ protected $conversionDimensionsType = 'Google_Service_Dfareporting_SortedDimension';
+ protected $conversionDimensionsDataType = 'array';
+ protected $customFloodlightVariablesType = 'Google_Service_Dfareporting_SortedDimension';
+ protected $customFloodlightVariablesDataType = 'array';
+ protected $customRichMediaEventsType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $customRichMediaEventsDataType = 'array';
+ protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ protected $floodlightConfigIdType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $floodlightConfigIdDataType = '';
+ public $metricNames;
+ protected $perInteractionDimensionsType = 'Google_Service_Dfareporting_SortedDimension';
+ protected $perInteractionDimensionsDataType = 'array';
+ protected $reportPropertiesType = '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(Google_Service_Dfareporting_DateRange $dateRange)
+ {
+ $this->dateRange = $dateRange;
+ }
+ public function getDateRange()
+ {
+ return $this->dateRange;
+ }
+ public function setFloodlightConfigId(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(Google_Service_Dfareporting_ReportPathToConversionCriteriaReportProperties $reportProperties)
+ {
+ $this->reportProperties = $reportProperties;
+ }
+ public function getReportProperties()
+ {
+ return $this->reportProperties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportPathToConversionCriteriaReportProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportPathToConversionCriteriaReportProperties.php
new file mode 100644
index 00000000..f6e4ef30
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportPathToConversionCriteriaReportProperties.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ReportPathToConversionCriteriaReportProperties extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportReachCriteria.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportReachCriteria.php
new file mode 100644
index 00000000..959ed9a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportReachCriteria.php
@@ -0,0 +1,99 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ReportReachCriteria extends Google_Collection
+{
+ protected $collection_key = 'reachByFrequencyMetricNames';
+ protected $activitiesType = 'Google_Service_Dfareporting_Activities';
+ protected $activitiesDataType = '';
+ protected $customRichMediaEventsType = 'Google_Service_Dfareporting_CustomRichMediaEvents';
+ protected $customRichMediaEventsDataType = '';
+ protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ protected $dimensionFiltersType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Google_Service_Dfareporting_SortedDimension';
+ protected $dimensionsDataType = 'array';
+ public $enableAllDimensionCombinations;
+ public $metricNames;
+ public $reachByFrequencyMetricNames;
+
+ public function setActivities(Google_Service_Dfareporting_Activities $activities)
+ {
+ $this->activities = $activities;
+ }
+ public function getActivities()
+ {
+ return $this->activities;
+ }
+ public function setCustomRichMediaEvents(Google_Service_Dfareporting_CustomRichMediaEvents $customRichMediaEvents)
+ {
+ $this->customRichMediaEvents = $customRichMediaEvents;
+ }
+ public function getCustomRichMediaEvents()
+ {
+ return $this->customRichMediaEvents;
+ }
+ public function setDateRange(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 setEnableAllDimensionCombinations($enableAllDimensionCombinations)
+ {
+ $this->enableAllDimensionCombinations = $enableAllDimensionCombinations;
+ }
+ public function getEnableAllDimensionCombinations()
+ {
+ return $this->enableAllDimensionCombinations;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportSchedule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportSchedule.php
new file mode 100644
index 00000000..61724d02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportSchedule.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ReportSchedule extends Google_Collection
+{
+ protected $collection_key = 'repeatsOnWeekDays';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportsConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportsConfiguration.php
new file mode 100644
index 00000000..9b40a574
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportsConfiguration.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ReportsConfiguration extends Google_Model
+{
+ public $exposureToConversionEnabled;
+ protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration';
+ protected $lookbackConfigurationDataType = '';
+ public $reportGenerationTimeZoneId;
+
+ public function setExposureToConversionEnabled($exposureToConversionEnabled)
+ {
+ $this->exposureToConversionEnabled = $exposureToConversionEnabled;
+ }
+ public function getExposureToConversionEnabled()
+ {
+ return $this->exposureToConversionEnabled;
+ }
+ public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration)
+ {
+ $this->lookbackConfiguration = $lookbackConfiguration;
+ }
+ public function getLookbackConfiguration()
+ {
+ return $this->lookbackConfiguration;
+ }
+ public function setReportGenerationTimeZoneId($reportGenerationTimeZoneId)
+ {
+ $this->reportGenerationTimeZoneId = $reportGenerationTimeZoneId;
+ }
+ public function getReportGenerationTimeZoneId()
+ {
+ return $this->reportGenerationTimeZoneId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountActiveAdSummaries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountActiveAdSummaries.php
new file mode 100644
index 00000000..03afb6ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountActiveAdSummaries.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accountActiveAdSummaries" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $accountActiveAdSummaries = $dfareportingService->accountActiveAdSummaries;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_AccountActiveAdSummaries extends Google_Service_Resource
+{
+ /**
+ * Gets the account's active ad summary by account ID.
+ * (accountActiveAdSummaries.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $summaryAccountId Account ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountActiveAdSummary
+ */
+ public function get($profileId, $summaryAccountId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'summaryAccountId' => $summaryAccountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_AccountActiveAdSummary");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountPermissionGroups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountPermissionGroups.php
new file mode 100644
index 00000000..a63efce5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountPermissionGroups.php
@@ -0,0 +1,56 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accountPermissionGroups" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $accountPermissionGroups = $dfareportingService->accountPermissionGroups;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_AccountPermissionGroups extends Google_Service_Resource
+{
+ /**
+ * Gets one account permission group by ID. (accountPermissionGroups.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Account permission group ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountPermissionGroup
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_AccountPermissionGroup");
+ }
+ /**
+ * Retrieves the list of account permission groups.
+ * (accountPermissionGroups.listAccountPermissionGroups)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountPermissionGroupsListResponse
+ */
+ public function listAccountPermissionGroups($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_AccountPermissionGroupsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountPermissions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountPermissions.php
new file mode 100644
index 00000000..ccc70f62
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountPermissions.php
@@ -0,0 +1,56 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accountPermissions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $accountPermissions = $dfareportingService->accountPermissions;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_AccountPermissions extends Google_Service_Resource
+{
+ /**
+ * Gets one account permission by ID. (accountPermissions.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Account permission ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountPermission
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_AccountPermission");
+ }
+ /**
+ * Retrieves the list of account permissions.
+ * (accountPermissions.listAccountPermissions)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountPermissionsListResponse
+ */
+ public function listAccountPermissions($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_AccountPermissionsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountUserProfiles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountUserProfiles.php
new file mode 100644
index 00000000..4dbd6f9c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountUserProfiles.php
@@ -0,0 +1,119 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accountUserProfiles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $accountUserProfiles = $dfareportingService->accountUserProfiles;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_AccountUserProfiles extends Google_Service_Resource
+{
+ /**
+ * Gets one account user profile by ID. (accountUserProfiles.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id User profile ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountUserProfile
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_AccountUserProfile");
+ }
+ /**
+ * Inserts a new account user profile. (accountUserProfiles.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_AccountUserProfile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountUserProfile
+ */
+ public function insert($profileId, Google_Service_Dfareporting_AccountUserProfile $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_AccountUserProfile");
+ }
+ /**
+ * Retrieves a list of account user profiles, possibly filtered. This method
+ * supports paging. (accountUserProfiles.listAccountUserProfiles)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool active Select only active user profiles.
+ * @opt_param string ids Select only user profiles with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for objects by name, ID or
+ * email. Wildcards (*) are allowed. For example, "user profile*2015" will
+ * return objects with names like "user profile June 2015", "user profile April
+ * 2015", or simply "user profile 2015". Most of the searches also add wildcards
+ * implicitly at the start and the end of the search string. For example, a
+ * search string of "user profile" will match objects with name "my user
+ * profile", "user profile 2015", or simply "user profile".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string subaccountId Select only user profiles with the specified
+ * subaccount ID.
+ * @opt_param string userRoleId Select only user profiles with the specified
+ * user role ID.
+ * @return Google_Service_Dfareporting_AccountUserProfilesListResponse
+ */
+ public function listAccountUserProfiles($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_AccountUserProfilesListResponse");
+ }
+ /**
+ * Updates an existing account user profile. This method supports patch
+ * semantics. (accountUserProfiles.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id User profile ID.
+ * @param Google_Service_Dfareporting_AccountUserProfile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountUserProfile
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_AccountUserProfile $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_AccountUserProfile");
+ }
+ /**
+ * Updates an existing account user profile. (accountUserProfiles.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_AccountUserProfile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountUserProfile
+ */
+ public function update($profileId, Google_Service_Dfareporting_AccountUserProfile $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_AccountUserProfile");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Accounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Accounts.php
new file mode 100644
index 00000000..ae6b22f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Accounts.php
@@ -0,0 +1,101 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $accounts = $dfareportingService->accounts;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Accounts extends Google_Service_Resource
+{
+ /**
+ * Gets one account by ID. (accounts.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Account ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Account
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Account");
+ }
+ /**
+ * Retrieves the list of accounts, possibly filtered. This method supports
+ * paging. (accounts.listAccounts)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool active Select only active accounts. Don't set this field to
+ * select both active and non-active accounts.
+ * @opt_param string ids Select only accounts with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "account*2015" will return objects
+ * with names like "account June 2015", "account April 2015", or simply "account
+ * 2015". Most of the searches also add wildcards implicitly at the start and
+ * the end of the search string. For example, a search string of "account" will
+ * match objects with name "my account", "account 2015", or simply "account".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_AccountsListResponse
+ */
+ public function listAccounts($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_AccountsListResponse");
+ }
+ /**
+ * Updates an existing account. This method supports patch semantics.
+ * (accounts.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Account ID.
+ * @param Google_Service_Dfareporting_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Account
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_Account $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Account");
+ }
+ /**
+ * Updates an existing account. (accounts.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Account
+ */
+ public function update($profileId, Google_Service_Dfareporting_Account $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Account");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Ads.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Ads.php
new file mode 100644
index 00000000..b899e84d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Ads.php
@@ -0,0 +1,143 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "ads" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $ads = $dfareportingService->ads;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Ads extends Google_Service_Resource
+{
+ /**
+ * Gets one ad by ID. (ads.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Ad ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Ad
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Ad");
+ }
+ /**
+ * Inserts a new ad. (ads.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_Ad $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Ad
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Ad $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Ad");
+ }
+ /**
+ * Retrieves a list of ads, possibly filtered. This method supports paging.
+ * (ads.listAds)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool active Select only active ads.
+ * @opt_param string advertiserId Select only ads with this advertiser ID.
+ * @opt_param bool archived Select only archived ads.
+ * @opt_param string audienceSegmentIds Select only ads with these audience
+ * segment IDs.
+ * @opt_param string campaignIds Select only ads with these campaign IDs.
+ * @opt_param string compatibility Select default ads with the specified
+ * compatibility. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and
+ * DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile
+ * devices for regular or interstitial ads, respectively. APP and
+ * APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to
+ * rendering an in-stream video ads developed with the VAST standard.
+ * @opt_param string creativeIds Select only ads with these creative IDs
+ * assigned.
+ * @opt_param string creativeOptimizationConfigurationIds Select only ads with
+ * these creative optimization configuration IDs.
+ * @opt_param bool dynamicClickTracker Select only dynamic click trackers.
+ * Applicable when type is AD_SERVING_CLICK_TRACKER. If true, select dynamic
+ * click trackers. If false, select static click trackers. Leave unset to select
+ * both.
+ * @opt_param string ids Select only ads with these IDs.
+ * @opt_param string landingPageIds Select only ads with these landing page IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string overriddenEventTagId Select only ads with this event tag
+ * override ID.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string placementIds Select only ads with these placement IDs
+ * assigned.
+ * @opt_param string remarketingListIds Select only ads whose list targeting
+ * expression use these remarketing list IDs.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "ad*2015" will return objects with
+ * names like "ad June 2015", "ad April 2015", or simply "ad 2015". Most of the
+ * searches also add wildcards implicitly at the start and the end of the search
+ * string. For example, a search string of "ad" will match objects with name "my
+ * ad", "ad 2015", or simply "ad".
+ * @opt_param string sizeIds Select only ads with these size IDs.
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param bool sslCompliant Select only ads that are SSL-compliant.
+ * @opt_param bool sslRequired Select only ads that require SSL.
+ * @opt_param string type Select only ads with these types.
+ * @return Google_Service_Dfareporting_AdsListResponse
+ */
+ public function listAds($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_AdsListResponse");
+ }
+ /**
+ * Updates an existing ad. This method supports patch semantics. (ads.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Ad ID.
+ * @param Google_Service_Dfareporting_Ad $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Ad
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_Ad $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Ad");
+ }
+ /**
+ * Updates an existing ad. (ads.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_Ad $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Ad
+ */
+ public function update($profileId, Google_Service_Dfareporting_Ad $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Ad");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AdvertiserGroups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AdvertiserGroups.php
new file mode 100644
index 00000000..66ddb8b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AdvertiserGroups.php
@@ -0,0 +1,127 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "advertiserGroups" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $advertiserGroups = $dfareportingService->advertiserGroups;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_AdvertiserGroups extends Google_Service_Resource
+{
+ /**
+ * Deletes an existing advertiser group. (advertiserGroups.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Advertiser group ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets one advertiser group by ID. (advertiserGroups.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Advertiser group ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AdvertiserGroup
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_AdvertiserGroup");
+ }
+ /**
+ * Inserts a new advertiser group. (advertiserGroups.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_AdvertiserGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AdvertiserGroup
+ */
+ public function insert($profileId, Google_Service_Dfareporting_AdvertiserGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_AdvertiserGroup");
+ }
+ /**
+ * Retrieves a list of advertiser groups, possibly filtered. This method
+ * supports paging. (advertiserGroups.listAdvertiserGroups)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ids Select only advertiser groups with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "advertiser*2015" will return objects
+ * with names like "advertiser group June 2015", "advertiser group April 2015",
+ * or simply "advertiser group 2015". Most of the searches also add wildcards
+ * implicitly at the start and the end of the search string. For example, a
+ * search string of "advertisergroup" will match objects with name "my
+ * advertisergroup", "advertisergroup 2015", or simply "advertisergroup".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_AdvertiserGroupsListResponse
+ */
+ public function listAdvertiserGroups($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_AdvertiserGroupsListResponse");
+ }
+ /**
+ * Updates an existing advertiser group. This method supports patch semantics.
+ * (advertiserGroups.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Advertiser group ID.
+ * @param Google_Service_Dfareporting_AdvertiserGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AdvertiserGroup
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_AdvertiserGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_AdvertiserGroup");
+ }
+ /**
+ * Updates an existing advertiser group. (advertiserGroups.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_AdvertiserGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AdvertiserGroup
+ */
+ public function update($profileId, Google_Service_Dfareporting_AdvertiserGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_AdvertiserGroup");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Advertisers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Advertisers.php
new file mode 100644
index 00000000..adf14824
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Advertisers.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "advertisers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $advertisers = $dfareportingService->advertisers;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Advertisers extends Google_Service_Resource
+{
+ /**
+ * Gets one advertiser by ID. (advertisers.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Advertiser ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Advertiser
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Advertiser");
+ }
+ /**
+ * Inserts a new advertiser. (advertisers.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_Advertiser $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Advertiser
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Advertiser $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Advertiser");
+ }
+ /**
+ * Retrieves a list of advertisers, possibly filtered. This method supports
+ * paging. (advertisers.listAdvertisers)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string advertiserGroupIds Select only advertisers with these
+ * advertiser group IDs.
+ * @opt_param string floodlightConfigurationIds Select only advertisers with
+ * these floodlight configuration IDs.
+ * @opt_param string ids Select only advertisers with these IDs.
+ * @opt_param bool includeAdvertisersWithoutGroupsOnly Select only advertisers
+ * which do not belong to any advertiser group.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param bool onlyParent Select only advertisers which use another
+ * advertiser's floodlight configuration.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "advertiser*2015" will return objects
+ * with names like "advertiser June 2015", "advertiser April 2015", or simply
+ * "advertiser 2015". Most of the searches also add wildcards implicitly at the
+ * start and the end of the search string. For example, a search string of
+ * "advertiser" will match objects with name "my advertiser", "advertiser 2015",
+ * or simply "advertiser".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string status Select only advertisers with the specified status.
+ * @opt_param string subaccountId Select only advertisers with these subaccount
+ * IDs.
+ * @return Google_Service_Dfareporting_AdvertisersListResponse
+ */
+ public function listAdvertisers($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_AdvertisersListResponse");
+ }
+ /**
+ * Updates an existing advertiser. This method supports patch semantics.
+ * (advertisers.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Advertiser ID.
+ * @param Google_Service_Dfareporting_Advertiser $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Advertiser
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_Advertiser $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Advertiser");
+ }
+ /**
+ * Updates an existing advertiser. (advertisers.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_Advertiser $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Advertiser
+ */
+ public function update($profileId, Google_Service_Dfareporting_Advertiser $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Advertiser");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Browsers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Browsers.php
new file mode 100644
index 00000000..c1cacb90
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Browsers.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "browsers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $browsers = $dfareportingService->browsers;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Browsers extends Google_Service_Resource
+{
+ /**
+ * Retrieves a list of browsers. (browsers.listBrowsers)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_BrowsersListResponse
+ */
+ public function listBrowsers($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_BrowsersListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CampaignCreativeAssociations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CampaignCreativeAssociations.php
new file mode 100644
index 00000000..fe5912f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CampaignCreativeAssociations.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "campaignCreativeAssociations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $campaignCreativeAssociations = $dfareportingService->campaignCreativeAssociations;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_CampaignCreativeAssociations extends Google_Service_Resource
+{
+ /**
+ * Associates a creative with the specified campaign. This method creates a
+ * default ad with dimensions matching the creative in the campaign if such a
+ * default ad does not exist already. (campaignCreativeAssociations.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $campaignId Campaign ID in this association.
+ * @param Google_Service_Dfareporting_CampaignCreativeAssociation $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CampaignCreativeAssociation
+ */
+ public function insert($profileId, $campaignId, Google_Service_Dfareporting_CampaignCreativeAssociation $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_CampaignCreativeAssociation");
+ }
+ /**
+ * Retrieves the list of creative IDs associated with the specified campaign.
+ * This method supports paging.
+ * (campaignCreativeAssociations.listCampaignCreativeAssociations)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $campaignId Campaign ID in this association.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_CampaignCreativeAssociationsListResponse
+ */
+ public function listCampaignCreativeAssociations($profileId, $campaignId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'campaignId' => $campaignId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_CampaignCreativeAssociationsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Campaigns.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Campaigns.php
new file mode 100644
index 00000000..c34969bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Campaigns.php
@@ -0,0 +1,131 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "campaigns" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $campaigns = $dfareportingService->campaigns;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Campaigns extends Google_Service_Resource
+{
+ /**
+ * Gets one campaign by ID. (campaigns.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Campaign ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Campaign
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Campaign");
+ }
+ /**
+ * Inserts a new campaign. (campaigns.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $defaultLandingPageName Default landing page name for this new
+ * campaign. Must be less than 256 characters long.
+ * @param string $defaultLandingPageUrl Default landing page URL for this new
+ * campaign.
+ * @param Google_Service_Dfareporting_Campaign $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Campaign
+ */
+ public function insert($profileId, $defaultLandingPageName, $defaultLandingPageUrl, Google_Service_Dfareporting_Campaign $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'defaultLandingPageName' => $defaultLandingPageName, 'defaultLandingPageUrl' => $defaultLandingPageUrl, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Campaign");
+ }
+ /**
+ * Retrieves a list of campaigns, possibly filtered. This method supports
+ * paging. (campaigns.listCampaigns)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string advertiserGroupIds Select only campaigns whose advertisers
+ * belong to these advertiser groups.
+ * @opt_param string advertiserIds Select only campaigns that belong to these
+ * advertisers.
+ * @opt_param bool archived Select only archived campaigns. Don't set this field
+ * to select both archived and non-archived campaigns.
+ * @opt_param bool atLeastOneOptimizationActivity Select only campaigns that
+ * have at least one optimization activity.
+ * @opt_param string excludedIds Exclude campaigns with these IDs.
+ * @opt_param string ids Select only campaigns with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string overriddenEventTagId Select only campaigns that have
+ * overridden this event tag ID.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for campaigns by name or ID.
+ * Wildcards (*) are allowed. For example, "campaign*2015" will return campaigns
+ * with names like "campaign June 2015", "campaign April 2015", or simply
+ * "campaign 2015". Most of the searches also add wildcards implicitly at the
+ * start and the end of the search string. For example, a search string of
+ * "campaign" will match campaigns with name "my campaign", "campaign 2015", or
+ * simply "campaign".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string subaccountId Select only campaigns that belong to this
+ * subaccount.
+ * @return Google_Service_Dfareporting_CampaignsListResponse
+ */
+ public function listCampaigns($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_CampaignsListResponse");
+ }
+ /**
+ * Updates an existing campaign. This method supports patch semantics.
+ * (campaigns.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Campaign ID.
+ * @param Google_Service_Dfareporting_Campaign $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Campaign
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_Campaign $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Campaign");
+ }
+ /**
+ * Updates an existing campaign. (campaigns.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_Campaign $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Campaign
+ */
+ public function update($profileId, Google_Service_Dfareporting_Campaign $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Campaign");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ChangeLogs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ChangeLogs.php
new file mode 100644
index 00000000..f35a7c6b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ChangeLogs.php
@@ -0,0 +1,81 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "changeLogs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $changeLogs = $dfareportingService->changeLogs;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_ChangeLogs extends Google_Service_Resource
+{
+ /**
+ * Gets one change log by ID. (changeLogs.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Change log ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_ChangeLog
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_ChangeLog");
+ }
+ /**
+ * Retrieves a list of change logs. This method supports paging.
+ * (changeLogs.listChangeLogs)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string action Select only change logs with the specified action.
+ * @opt_param string ids Select only change logs with these IDs.
+ * @opt_param string maxChangeTime Select only change logs whose change time is
+ * before the specified maxChangeTime.The time should be formatted as an RFC3339
+ * date/time string. For example, for 10:54 PM on July 18th, 2015, in the
+ * America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In
+ * other words, the year, month, day, the letter T, the hour (24-hour clock
+ * system), minute, second, and then the time zone offset.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string minChangeTime Select only change logs whose change time is
+ * before the specified minChangeTime.The time should be formatted as an RFC3339
+ * date/time string. For example, for 10:54 PM on July 18th, 2015, in the
+ * America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In
+ * other words, the year, month, day, the letter T, the hour (24-hour clock
+ * system), minute, second, and then the time zone offset.
+ * @opt_param string objectIds Select only change logs with these object IDs.
+ * @opt_param string objectType Select only change logs with the specified
+ * object type.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Select only change logs whose object ID, user
+ * name, old or new values match the search string.
+ * @opt_param string userProfileIds Select only change logs with these user
+ * profile IDs.
+ * @return Google_Service_Dfareporting_ChangeLogsListResponse
+ */
+ public function listChangeLogs($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_ChangeLogsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Cities.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Cities.php
new file mode 100644
index 00000000..eb04d0d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Cities.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "cities" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $cities = $dfareportingService->cities;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Cities extends Google_Service_Resource
+{
+ /**
+ * Retrieves a list of cities, possibly filtered. (cities.listCities)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string countryDartIds Select only cities from these countries.
+ * @opt_param string dartIds Select only cities with these DART IDs.
+ * @opt_param string namePrefix Select only cities with names starting with this
+ * prefix.
+ * @opt_param string regionDartIds Select only cities from these regions.
+ * @return Google_Service_Dfareporting_CitiesListResponse
+ */
+ public function listCities($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_CitiesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ConnectionTypes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ConnectionTypes.php
new file mode 100644
index 00000000..f0e60ffb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ConnectionTypes.php
@@ -0,0 +1,55 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "connectionTypes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $connectionTypes = $dfareportingService->connectionTypes;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_ConnectionTypes extends Google_Service_Resource
+{
+ /**
+ * Gets one connection type by ID. (connectionTypes.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Connection type ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_ConnectionType
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_ConnectionType");
+ }
+ /**
+ * Retrieves a list of connection types. (connectionTypes.listConnectionTypes)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_ConnectionTypesListResponse
+ */
+ public function listConnectionTypes($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_ConnectionTypesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ContentCategories.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ContentCategories.php
new file mode 100644
index 00000000..8d2bb3ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ContentCategories.php
@@ -0,0 +1,127 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "contentCategories" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $contentCategories = $dfareportingService->contentCategories;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_ContentCategories extends Google_Service_Resource
+{
+ /**
+ * Deletes an existing content category. (contentCategories.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Content category ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets one content category by ID. (contentCategories.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Content category ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_ContentCategory
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_ContentCategory");
+ }
+ /**
+ * Inserts a new content category. (contentCategories.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_ContentCategory $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_ContentCategory
+ */
+ public function insert($profileId, Google_Service_Dfareporting_ContentCategory $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_ContentCategory");
+ }
+ /**
+ * Retrieves a list of content categories, possibly filtered. This method
+ * supports paging. (contentCategories.listContentCategories)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ids Select only content categories with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "contentcategory*2015" will return
+ * objects with names like "contentcategory June 2015", "contentcategory April
+ * 2015", or simply "contentcategory 2015". Most of the searches also add
+ * wildcards implicitly at the start and the end of the search string. For
+ * example, a search string of "contentcategory" will match objects with name
+ * "my contentcategory", "contentcategory 2015", or simply "contentcategory".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_ContentCategoriesListResponse
+ */
+ public function listContentCategories($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_ContentCategoriesListResponse");
+ }
+ /**
+ * Updates an existing content category. This method supports patch semantics.
+ * (contentCategories.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Content category ID.
+ * @param Google_Service_Dfareporting_ContentCategory $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_ContentCategory
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_ContentCategory $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_ContentCategory");
+ }
+ /**
+ * Updates an existing content category. (contentCategories.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_ContentCategory $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_ContentCategory
+ */
+ public function update($profileId, Google_Service_Dfareporting_ContentCategory $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_ContentCategory");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Conversions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Conversions.php
new file mode 100644
index 00000000..70f5588b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Conversions.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "conversions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $conversions = $dfareportingService->conversions;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Conversions extends Google_Service_Resource
+{
+ /**
+ * Inserts conversions. (conversions.batchinsert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_ConversionsBatchInsertRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_ConversionsBatchInsertResponse
+ */
+ public function batchinsert($profileId, Google_Service_Dfareporting_ConversionsBatchInsertRequest $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchinsert', array($params), "Google_Service_Dfareporting_ConversionsBatchInsertResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Countries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Countries.php
new file mode 100644
index 00000000..92eb622d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Countries.php
@@ -0,0 +1,55 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "countries" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $countries = $dfareportingService->countries;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Countries extends Google_Service_Resource
+{
+ /**
+ * Gets one country by ID. (countries.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $dartId Country DART ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Country
+ */
+ public function get($profileId, $dartId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'dartId' => $dartId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Country");
+ }
+ /**
+ * Retrieves a list of countries. (countries.listCountries)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CountriesListResponse
+ */
+ public function listCountries($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_CountriesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeAssets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeAssets.php
new file mode 100644
index 00000000..99cb9f71
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeAssets.php
@@ -0,0 +1,44 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "creativeAssets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $creativeAssets = $dfareportingService->creativeAssets;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_CreativeAssets extends Google_Service_Resource
+{
+ /**
+ * Inserts a new creative asset. (creativeAssets.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $advertiserId Advertiser ID of this creative. This is a
+ * required field.
+ * @param Google_Service_Dfareporting_CreativeAssetMetadata $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeAssetMetadata
+ */
+ public function insert($profileId, $advertiserId, Google_Service_Dfareporting_CreativeAssetMetadata $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'advertiserId' => $advertiserId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeAssetMetadata");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeFieldValues.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeFieldValues.php
new file mode 100644
index 00000000..50aa7aa0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeFieldValues.php
@@ -0,0 +1,134 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "creativeFieldValues" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $creativeFieldValues = $dfareportingService->creativeFieldValues;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_CreativeFieldValues extends Google_Service_Resource
+{
+ /**
+ * Deletes an existing creative field value. (creativeFieldValues.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $creativeFieldId Creative field ID for this creative field
+ * value.
+ * @param string $id Creative Field Value ID
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $creativeFieldId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets one creative field value by ID. (creativeFieldValues.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $creativeFieldId Creative field ID for this creative field
+ * value.
+ * @param string $id Creative Field Value ID
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeFieldValue
+ */
+ public function get($profileId, $creativeFieldId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_CreativeFieldValue");
+ }
+ /**
+ * Inserts a new creative field value. (creativeFieldValues.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $creativeFieldId Creative field ID for this creative field
+ * value.
+ * @param Google_Service_Dfareporting_CreativeFieldValue $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeFieldValue
+ */
+ public function insert($profileId, $creativeFieldId, Google_Service_Dfareporting_CreativeFieldValue $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeFieldValue");
+ }
+ /**
+ * Retrieves a list of creative field values, possibly filtered. This method
+ * supports paging. (creativeFieldValues.listCreativeFieldValues)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $creativeFieldId Creative field ID for this creative field
+ * value.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ids Select only creative field values with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for creative field values by
+ * their values. Wildcards (e.g. *) are not allowed.
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_CreativeFieldValuesListResponse
+ */
+ public function listCreativeFieldValues($profileId, $creativeFieldId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_CreativeFieldValuesListResponse");
+ }
+ /**
+ * Updates an existing creative field value. This method supports patch
+ * semantics. (creativeFieldValues.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $creativeFieldId Creative field ID for this creative field
+ * value.
+ * @param string $id Creative Field Value ID
+ * @param Google_Service_Dfareporting_CreativeFieldValue $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeFieldValue
+ */
+ public function patch($profileId, $creativeFieldId, $id, Google_Service_Dfareporting_CreativeFieldValue $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_CreativeFieldValue");
+ }
+ /**
+ * Updates an existing creative field value. (creativeFieldValues.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $creativeFieldId Creative field ID for this creative field
+ * value.
+ * @param Google_Service_Dfareporting_CreativeFieldValue $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeFieldValue
+ */
+ public function update($profileId, $creativeFieldId, Google_Service_Dfareporting_CreativeFieldValue $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_CreativeFieldValue");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeFields.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeFields.php
new file mode 100644
index 00000000..5739828b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeFields.php
@@ -0,0 +1,130 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "creativeFields" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $creativeFields = $dfareportingService->creativeFields;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_CreativeFields extends Google_Service_Resource
+{
+ /**
+ * Deletes an existing creative field. (creativeFields.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Creative Field ID
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets one creative field by ID. (creativeFields.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Creative Field ID
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeField
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_CreativeField");
+ }
+ /**
+ * Inserts a new creative field. (creativeFields.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_CreativeField $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeField
+ */
+ public function insert($profileId, Google_Service_Dfareporting_CreativeField $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeField");
+ }
+ /**
+ * Retrieves a list of creative fields, possibly filtered. This method supports
+ * paging. (creativeFields.listCreativeFields)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string advertiserIds Select only creative fields that belong to
+ * these advertisers.
+ * @opt_param string ids Select only creative fields with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for creative fields by name
+ * or ID. Wildcards (*) are allowed. For example, "creativefield*2015" will
+ * return creative fields with names like "creativefield June 2015",
+ * "creativefield April 2015", or simply "creativefield 2015". Most of the
+ * searches also add wild-cards implicitly at the start and the end of the
+ * search string. For example, a search string of "creativefield" will match
+ * creative fields with the name "my creativefield", "creativefield 2015", or
+ * simply "creativefield".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_CreativeFieldsListResponse
+ */
+ public function listCreativeFields($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_CreativeFieldsListResponse");
+ }
+ /**
+ * Updates an existing creative field. This method supports patch semantics.
+ * (creativeFields.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Creative Field ID
+ * @param Google_Service_Dfareporting_CreativeField $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeField
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_CreativeField $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_CreativeField");
+ }
+ /**
+ * Updates an existing creative field. (creativeFields.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_CreativeField $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeField
+ */
+ public function update($profileId, Google_Service_Dfareporting_CreativeField $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_CreativeField");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeGroups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeGroups.php
new file mode 100644
index 00000000..44d70d04
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeGroups.php
@@ -0,0 +1,119 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "creativeGroups" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $creativeGroups = $dfareportingService->creativeGroups;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_CreativeGroups extends Google_Service_Resource
+{
+ /**
+ * Gets one creative group by ID. (creativeGroups.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Creative group ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeGroup
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_CreativeGroup");
+ }
+ /**
+ * Inserts a new creative group. (creativeGroups.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_CreativeGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeGroup
+ */
+ public function insert($profileId, Google_Service_Dfareporting_CreativeGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeGroup");
+ }
+ /**
+ * Retrieves a list of creative groups, possibly filtered. This method supports
+ * paging. (creativeGroups.listCreativeGroups)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string advertiserIds Select only creative groups that belong to
+ * these advertisers.
+ * @opt_param int groupNumber Select only creative groups that belong to this
+ * subgroup.
+ * @opt_param string ids Select only creative groups with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for creative groups by name
+ * or ID. Wildcards (*) are allowed. For example, "creativegroup*2015" will
+ * return creative groups with names like "creativegroup June 2015",
+ * "creativegroup April 2015", or simply "creativegroup 2015". Most of the
+ * searches also add wild-cards implicitly at the start and the end of the
+ * search string. For example, a search string of "creativegroup" will match
+ * creative groups with the name "my creativegroup", "creativegroup 2015", or
+ * simply "creativegroup".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_CreativeGroupsListResponse
+ */
+ public function listCreativeGroups($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_CreativeGroupsListResponse");
+ }
+ /**
+ * Updates an existing creative group. This method supports patch semantics.
+ * (creativeGroups.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Creative group ID.
+ * @param Google_Service_Dfareporting_CreativeGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeGroup
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_CreativeGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_CreativeGroup");
+ }
+ /**
+ * Updates an existing creative group. (creativeGroups.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_CreativeGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeGroup
+ */
+ public function update($profileId, Google_Service_Dfareporting_CreativeGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_CreativeGroup");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Creatives.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Creatives.php
new file mode 100644
index 00000000..9cfe4548
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Creatives.php
@@ -0,0 +1,130 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "creatives" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $creatives = $dfareportingService->creatives;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Creatives extends Google_Service_Resource
+{
+ /**
+ * Gets one creative by ID. (creatives.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Creative ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Creative
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Creative");
+ }
+ /**
+ * Inserts a new creative. (creatives.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_Creative $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Creative
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Creative $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Creative");
+ }
+ /**
+ * Retrieves a list of creatives, possibly filtered. This method supports
+ * paging. (creatives.listCreatives)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool active Select only active creatives. Leave blank to select
+ * active and inactive creatives.
+ * @opt_param string advertiserId Select only creatives with this advertiser ID.
+ * @opt_param bool archived Select only archived creatives. Leave blank to
+ * select archived and unarchived creatives.
+ * @opt_param string campaignId Select only creatives with this campaign ID.
+ * @opt_param string companionCreativeIds Select only in-stream video creatives
+ * with these companion IDs.
+ * @opt_param string creativeFieldIds Select only creatives with these creative
+ * field IDs.
+ * @opt_param string ids Select only creatives with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string renderingIds Select only creatives with these rendering
+ * IDs.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "creative*2015" will return objects
+ * with names like "creative June 2015", "creative April 2015", or simply
+ * "creative 2015". Most of the searches also add wildcards implicitly at the
+ * start and the end of the search string. For example, a search string of
+ * "creative" will match objects with name "my creative", "creative 2015", or
+ * simply "creative".
+ * @opt_param string sizeIds Select only creatives with these size IDs.
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string studioCreativeId Select only creatives corresponding to
+ * this Studio creative ID.
+ * @opt_param string types Select only creatives with these creative types.
+ * @return Google_Service_Dfareporting_CreativesListResponse
+ */
+ public function listCreatives($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_CreativesListResponse");
+ }
+ /**
+ * Updates an existing creative. This method supports patch semantics.
+ * (creatives.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Creative ID.
+ * @param Google_Service_Dfareporting_Creative $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Creative
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_Creative $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Creative");
+ }
+ /**
+ * Updates an existing creative. (creatives.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_Creative $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Creative
+ */
+ public function update($profileId, Google_Service_Dfareporting_Creative $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Creative");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DimensionValues.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DimensionValues.php
new file mode 100644
index 00000000..c7ea3a23
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DimensionValues.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "dimensionValues" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $dimensionValues = $dfareportingService->dimensionValues;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_DimensionValues extends 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 Google_Service_Dfareporting_DimensionValueRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * result page.
+ * @return Google_Service_Dfareporting_DimensionValueList
+ */
+ public function query($profileId, Google_Service_Dfareporting_DimensionValueRequest $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('query', array($params), "Google_Service_Dfareporting_DimensionValueList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DirectorySiteContacts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DirectorySiteContacts.php
new file mode 100644
index 00000000..fc05b0fb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DirectorySiteContacts.php
@@ -0,0 +1,73 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "directorySiteContacts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $directorySiteContacts = $dfareportingService->directorySiteContacts;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_DirectorySiteContacts extends Google_Service_Resource
+{
+ /**
+ * Gets one directory site contact by ID. (directorySiteContacts.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Directory site contact ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_DirectorySiteContact
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_DirectorySiteContact");
+ }
+ /**
+ * Retrieves a list of directory site contacts, possibly filtered. This method
+ * supports paging. (directorySiteContacts.listDirectorySiteContacts)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string directorySiteIds Select only directory site contacts with
+ * these directory site IDs. This is a required field.
+ * @opt_param string ids Select only directory site contacts with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for objects by name, ID or
+ * email. Wildcards (*) are allowed. For example, "directory site contact*2015"
+ * will return objects with names like "directory site contact June 2015",
+ * "directory site contact April 2015", or simply "directory site contact 2015".
+ * Most of the searches also add wildcards implicitly at the start and the end
+ * of the search string. For example, a search string of "directory site
+ * contact" will match objects with name "my directory site contact", "directory
+ * site contact 2015", or simply "directory site contact".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_DirectorySiteContactsListResponse
+ */
+ public function listDirectorySiteContacts($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_DirectorySiteContactsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DirectorySites.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DirectorySites.php
new file mode 100644
index 00000000..ea3ac23f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DirectorySites.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "directorySites" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $directorySites = $dfareportingService->directorySites;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_DirectorySites extends Google_Service_Resource
+{
+ /**
+ * Gets one directory site by ID. (directorySites.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Directory site ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_DirectorySite
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_DirectorySite");
+ }
+ /**
+ * Inserts a new directory site. (directorySites.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_DirectorySite $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_DirectorySite
+ */
+ public function insert($profileId, Google_Service_Dfareporting_DirectorySite $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_DirectorySite");
+ }
+ /**
+ * Retrieves a list of directory sites, possibly filtered. This method supports
+ * paging. (directorySites.listDirectorySites)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool acceptsInStreamVideoPlacements This search filter is no
+ * longer supported and will have no effect on the results returned.
+ * @opt_param bool acceptsInterstitialPlacements This search filter is no longer
+ * supported and will have no effect on the results returned.
+ * @opt_param bool acceptsPublisherPaidPlacements Select only directory sites
+ * that accept publisher paid placements. This field can be left blank.
+ * @opt_param bool active Select only active directory sites. Leave blank to
+ * retrieve both active and inactive directory sites.
+ * @opt_param string countryId Select only directory sites with this country ID.
+ * @opt_param string dfp_network_code Select only directory sites with this DFP
+ * network code.
+ * @opt_param string ids Select only directory sites with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string parentId Select only directory sites with this parent ID.
+ * @opt_param string searchString Allows searching for objects by name, ID or
+ * URL. Wildcards (*) are allowed. For example, "directory site*2015" will
+ * return objects with names like "directory site June 2015", "directory site
+ * April 2015", or simply "directory site 2015". Most of the searches also add
+ * wildcards implicitly at the start and the end of the search string. For
+ * example, a search string of "directory site" will match objects with name "my
+ * directory site", "directory site 2015" or simply, "directory site".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_DirectorySitesListResponse
+ */
+ public function listDirectorySites($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_DirectorySitesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DynamicTargetingKeys.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DynamicTargetingKeys.php
new file mode 100644
index 00000000..2b210267
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DynamicTargetingKeys.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "dynamicTargetingKeys" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $dynamicTargetingKeys = $dfareportingService->dynamicTargetingKeys;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_DynamicTargetingKeys extends Google_Service_Resource
+{
+ /**
+ * Deletes an existing dynamic targeting key. (dynamicTargetingKeys.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $objectId ID of the object of this dynamic targeting key. This
+ * is a required field.
+ * @param string $name Name of this dynamic targeting key. This is a required
+ * field. Must be less than 256 characters long and cannot contain commas. All
+ * characters are converted to lowercase.
+ * @param string $objectType Type of the object of this dynamic targeting key.
+ * This is a required field.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $objectId, $name, $objectType, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'objectId' => $objectId, 'name' => $name, 'objectType' => $objectType);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Inserts a new dynamic targeting key. Keys must be created at the advertiser
+ * level before being assigned to the advertiser's ads, creatives, or
+ * placements. There is a maximum of 1000 keys per advertiser, out of which a
+ * maximum of 20 keys can be assigned per ad, creative, or placement.
+ * (dynamicTargetingKeys.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_DynamicTargetingKey $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_DynamicTargetingKey
+ */
+ public function insert($profileId, Google_Service_Dfareporting_DynamicTargetingKey $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_DynamicTargetingKey");
+ }
+ /**
+ * Retrieves a list of dynamic targeting keys.
+ * (dynamicTargetingKeys.listDynamicTargetingKeys)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string advertiserId Select only dynamic targeting keys whose
+ * object has this advertiser ID.
+ * @opt_param string names Select only dynamic targeting keys exactly matching
+ * these names.
+ * @opt_param string objectId Select only dynamic targeting keys with this
+ * object ID.
+ * @opt_param string objectType Select only dynamic targeting keys with this
+ * object type.
+ * @return Google_Service_Dfareporting_DynamicTargetingKeysListResponse
+ */
+ public function listDynamicTargetingKeys($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_DynamicTargetingKeysListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/EventTags.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/EventTags.php
new file mode 100644
index 00000000..34ef31a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/EventTags.php
@@ -0,0 +1,146 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "eventTags" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $eventTags = $dfareportingService->eventTags;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_EventTags extends Google_Service_Resource
+{
+ /**
+ * Deletes an existing event tag. (eventTags.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Event tag ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets one event tag by ID. (eventTags.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Event tag ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_EventTag
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_EventTag");
+ }
+ /**
+ * Inserts a new event tag. (eventTags.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_EventTag $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_EventTag
+ */
+ public function insert($profileId, Google_Service_Dfareporting_EventTag $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_EventTag");
+ }
+ /**
+ * Retrieves a list of event tags, possibly filtered. (eventTags.listEventTags)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string adId Select only event tags that belong to this ad.
+ * @opt_param string advertiserId Select only event tags that belong to this
+ * advertiser.
+ * @opt_param string campaignId Select only event tags that belong to this
+ * campaign.
+ * @opt_param bool definitionsOnly Examine only the specified campaign or
+ * advertiser's event tags for matching selector criteria. When set to false,
+ * the parent advertiser and parent campaign of the specified ad or campaign is
+ * examined as well. In addition, when set to false, the status field is
+ * examined as well, along with the enabledByDefault field. This parameter can
+ * not be set to true when adId is specified as ads do not define their own even
+ * tags.
+ * @opt_param bool enabled Select only enabled event tags. What is considered
+ * enabled or disabled depends on the definitionsOnly parameter. When
+ * definitionsOnly is set to true, only the specified advertiser or campaign's
+ * event tags' enabledByDefault field is examined. When definitionsOnly is set
+ * to false, the specified ad or specified campaign's parent advertiser's or
+ * parent campaign's event tags' enabledByDefault and status fields are examined
+ * as well.
+ * @opt_param string eventTagTypes Select only event tags with the specified
+ * event tag types. Event tag types can be used to specify whether to use a
+ * third-party pixel, a third-party JavaScript URL, or a third-party click-
+ * through URL for either impression or click tracking.
+ * @opt_param string ids Select only event tags with these IDs.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "eventtag*2015" will return objects
+ * with names like "eventtag June 2015", "eventtag April 2015", or simply
+ * "eventtag 2015". Most of the searches also add wildcards implicitly at the
+ * start and the end of the search string. For example, a search string of
+ * "eventtag" will match objects with name "my eventtag", "eventtag 2015", or
+ * simply "eventtag".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_EventTagsListResponse
+ */
+ public function listEventTags($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_EventTagsListResponse");
+ }
+ /**
+ * Updates an existing event tag. This method supports patch semantics.
+ * (eventTags.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Event tag ID.
+ * @param Google_Service_Dfareporting_EventTag $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_EventTag
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_EventTag $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_EventTag");
+ }
+ /**
+ * Updates an existing event tag. (eventTags.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_EventTag $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_EventTag
+ */
+ public function update($profileId, Google_Service_Dfareporting_EventTag $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_EventTag");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Files.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Files.php
new file mode 100644
index 00000000..6ab986ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Files.php
@@ -0,0 +1,63 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $files = $dfareportingService->files;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Files extends 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 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), "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 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 scope The scope that defines which results are returned,
+ * default is 'MINE'.
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'.
+ * @return 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), "Google_Service_Dfareporting_FileList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightActivities.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightActivities.php
new file mode 100644
index 00000000..ddf61e83
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightActivities.php
@@ -0,0 +1,162 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "floodlightActivities" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $floodlightActivities = $dfareportingService->floodlightActivities;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_FloodlightActivities extends Google_Service_Resource
+{
+ /**
+ * Deletes an existing floodlight activity. (floodlightActivities.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Floodlight activity ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Generates a tag for a floodlight activity. (floodlightActivities.generatetag)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string floodlightActivityId Floodlight activity ID for which we
+ * want to generate a tag.
+ * @return Google_Service_Dfareporting_FloodlightActivitiesGenerateTagResponse
+ */
+ public function generatetag($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('generatetag', array($params), "Google_Service_Dfareporting_FloodlightActivitiesGenerateTagResponse");
+ }
+ /**
+ * Gets one floodlight activity by ID. (floodlightActivities.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Floodlight activity ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightActivity
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_FloodlightActivity");
+ }
+ /**
+ * Inserts a new floodlight activity. (floodlightActivities.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_FloodlightActivity $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightActivity
+ */
+ public function insert($profileId, Google_Service_Dfareporting_FloodlightActivity $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_FloodlightActivity");
+ }
+ /**
+ * Retrieves a list of floodlight activities, possibly filtered. This method
+ * supports paging. (floodlightActivities.listFloodlightActivities)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string advertiserId Select only floodlight activities for the
+ * specified advertiser ID. Must specify either ids, advertiserId, or
+ * floodlightConfigurationId for a non-empty result.
+ * @opt_param string floodlightActivityGroupIds Select only floodlight
+ * activities with the specified floodlight activity group IDs.
+ * @opt_param string floodlightActivityGroupName Select only floodlight
+ * activities with the specified floodlight activity group name.
+ * @opt_param string floodlightActivityGroupTagString Select only floodlight
+ * activities with the specified floodlight activity group tag string.
+ * @opt_param string floodlightActivityGroupType Select only floodlight
+ * activities with the specified floodlight activity group type.
+ * @opt_param string floodlightConfigurationId Select only floodlight activities
+ * for the specified floodlight configuration ID. Must specify either ids,
+ * advertiserId, or floodlightConfigurationId for a non-empty result.
+ * @opt_param string ids Select only floodlight activities with the specified
+ * IDs. Must specify either ids, advertiserId, or floodlightConfigurationId for
+ * a non-empty result.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "floodlightactivity*2015" will return
+ * objects with names like "floodlightactivity June 2015", "floodlightactivity
+ * April 2015", or simply "floodlightactivity 2015". Most of the searches also
+ * add wildcards implicitly at the start and the end of the search string. For
+ * example, a search string of "floodlightactivity" will match objects with name
+ * "my floodlightactivity activity", "floodlightactivity 2015", or simply
+ * "floodlightactivity".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string tagString Select only floodlight activities with the
+ * specified tag string.
+ * @return Google_Service_Dfareporting_FloodlightActivitiesListResponse
+ */
+ public function listFloodlightActivities($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_FloodlightActivitiesListResponse");
+ }
+ /**
+ * Updates an existing floodlight activity. This method supports patch
+ * semantics. (floodlightActivities.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Floodlight activity ID.
+ * @param Google_Service_Dfareporting_FloodlightActivity $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightActivity
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_FloodlightActivity $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_FloodlightActivity");
+ }
+ /**
+ * Updates an existing floodlight activity. (floodlightActivities.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_FloodlightActivity $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightActivity
+ */
+ public function update($profileId, Google_Service_Dfareporting_FloodlightActivity $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_FloodlightActivity");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightActivityGroups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightActivityGroups.php
new file mode 100644
index 00000000..1eb3442f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightActivityGroups.php
@@ -0,0 +1,128 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "floodlightActivityGroups" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $floodlightActivityGroups = $dfareportingService->floodlightActivityGroups;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_FloodlightActivityGroups extends Google_Service_Resource
+{
+ /**
+ * Gets one floodlight activity group by ID. (floodlightActivityGroups.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Floodlight activity Group ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightActivityGroup
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_FloodlightActivityGroup");
+ }
+ /**
+ * Inserts a new floodlight activity group. (floodlightActivityGroups.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_FloodlightActivityGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightActivityGroup
+ */
+ public function insert($profileId, Google_Service_Dfareporting_FloodlightActivityGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_FloodlightActivityGroup");
+ }
+ /**
+ * Retrieves a list of floodlight activity groups, possibly filtered. This
+ * method supports paging.
+ * (floodlightActivityGroups.listFloodlightActivityGroups)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string advertiserId Select only floodlight activity groups with
+ * the specified advertiser ID. Must specify either advertiserId or
+ * floodlightConfigurationId for a non-empty result.
+ * @opt_param string floodlightConfigurationId Select only floodlight activity
+ * groups with the specified floodlight configuration ID. Must specify either
+ * advertiserId, or floodlightConfigurationId for a non-empty result.
+ * @opt_param string ids Select only floodlight activity groups with the
+ * specified IDs. Must specify either advertiserId or floodlightConfigurationId
+ * for a non-empty result.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "floodlightactivitygroup*2015" will
+ * return objects with names like "floodlightactivitygroup June 2015",
+ * "floodlightactivitygroup April 2015", or simply "floodlightactivitygroup
+ * 2015". Most of the searches also add wildcards implicitly at the start and
+ * the end of the search string. For example, a search string of
+ * "floodlightactivitygroup" will match objects with name "my
+ * floodlightactivitygroup activity", "floodlightactivitygroup 2015", or simply
+ * "floodlightactivitygroup".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string type Select only floodlight activity groups with the
+ * specified floodlight activity group type.
+ * @return Google_Service_Dfareporting_FloodlightActivityGroupsListResponse
+ */
+ public function listFloodlightActivityGroups($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_FloodlightActivityGroupsListResponse");
+ }
+ /**
+ * Updates an existing floodlight activity group. This method supports patch
+ * semantics. (floodlightActivityGroups.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Floodlight activity Group ID.
+ * @param Google_Service_Dfareporting_FloodlightActivityGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightActivityGroup
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_FloodlightActivityGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_FloodlightActivityGroup");
+ }
+ /**
+ * Updates an existing floodlight activity group.
+ * (floodlightActivityGroups.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_FloodlightActivityGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightActivityGroup
+ */
+ public function update($profileId, Google_Service_Dfareporting_FloodlightActivityGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_FloodlightActivityGroup");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightConfigurations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightConfigurations.php
new file mode 100644
index 00000000..43449332
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightConfigurations.php
@@ -0,0 +1,90 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "floodlightConfigurations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $floodlightConfigurations = $dfareportingService->floodlightConfigurations;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_FloodlightConfigurations extends Google_Service_Resource
+{
+ /**
+ * Gets one floodlight configuration by ID. (floodlightConfigurations.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Floodlight configuration ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightConfiguration
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_FloodlightConfiguration");
+ }
+ /**
+ * Retrieves a list of floodlight configurations, possibly filtered.
+ * (floodlightConfigurations.listFloodlightConfigurations)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ids Set of IDs of floodlight configurations to retrieve.
+ * Required field; otherwise an empty list will be returned.
+ * @return Google_Service_Dfareporting_FloodlightConfigurationsListResponse
+ */
+ public function listFloodlightConfigurations($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_FloodlightConfigurationsListResponse");
+ }
+ /**
+ * Updates an existing floodlight configuration. This method supports patch
+ * semantics. (floodlightConfigurations.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Floodlight configuration ID.
+ * @param Google_Service_Dfareporting_FloodlightConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightConfiguration
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_FloodlightConfiguration $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_FloodlightConfiguration");
+ }
+ /**
+ * Updates an existing floodlight configuration.
+ * (floodlightConfigurations.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_FloodlightConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightConfiguration
+ */
+ public function update($profileId, Google_Service_Dfareporting_FloodlightConfiguration $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_FloodlightConfiguration");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/InventoryItems.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/InventoryItems.php
new file mode 100644
index 00000000..39193822
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/InventoryItems.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "inventoryItems" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $inventoryItems = $dfareportingService->inventoryItems;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_InventoryItems extends Google_Service_Resource
+{
+ /**
+ * Gets one inventory item by ID. (inventoryItems.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $projectId Project ID for order documents.
+ * @param string $id Inventory item ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_InventoryItem
+ */
+ public function get($profileId, $projectId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'projectId' => $projectId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_InventoryItem");
+ }
+ /**
+ * Retrieves a list of inventory items, possibly filtered. This method supports
+ * paging. (inventoryItems.listInventoryItems)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $projectId Project ID for order documents.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ids Select only inventory items with these IDs.
+ * @opt_param bool inPlan Select only inventory items that are in plan.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string orderId Select only inventory items that belong to
+ * specified orders.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string siteId Select only inventory items that are associated with
+ * these sites.
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string type Select only inventory items with this type.
+ * @return Google_Service_Dfareporting_InventoryItemsListResponse
+ */
+ public function listInventoryItems($profileId, $projectId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_InventoryItemsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/LandingPages.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/LandingPages.php
new file mode 100644
index 00000000..d067e4f7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/LandingPages.php
@@ -0,0 +1,119 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "landingPages" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $landingPages = $dfareportingService->landingPages;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_LandingPages extends Google_Service_Resource
+{
+ /**
+ * Deletes an existing campaign landing page. (landingPages.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $campaignId Landing page campaign ID.
+ * @param string $id Landing page ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $campaignId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets one campaign landing page by ID. (landingPages.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $campaignId Landing page campaign ID.
+ * @param string $id Landing page ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_LandingPage
+ */
+ public function get($profileId, $campaignId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_LandingPage");
+ }
+ /**
+ * Inserts a new landing page for the specified campaign. (landingPages.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $campaignId Landing page campaign ID.
+ * @param Google_Service_Dfareporting_LandingPage $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_LandingPage
+ */
+ public function insert($profileId, $campaignId, Google_Service_Dfareporting_LandingPage $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_LandingPage");
+ }
+ /**
+ * Retrieves the list of landing pages for the specified campaign.
+ * (landingPages.listLandingPages)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $campaignId Landing page campaign ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_LandingPagesListResponse
+ */
+ public function listLandingPages($profileId, $campaignId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'campaignId' => $campaignId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_LandingPagesListResponse");
+ }
+ /**
+ * Updates an existing campaign landing page. This method supports patch
+ * semantics. (landingPages.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $campaignId Landing page campaign ID.
+ * @param string $id Landing page ID.
+ * @param Google_Service_Dfareporting_LandingPage $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_LandingPage
+ */
+ public function patch($profileId, $campaignId, $id, Google_Service_Dfareporting_LandingPage $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_LandingPage");
+ }
+ /**
+ * Updates an existing campaign landing page. (landingPages.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $campaignId Landing page campaign ID.
+ * @param Google_Service_Dfareporting_LandingPage $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_LandingPage
+ */
+ public function update($profileId, $campaignId, Google_Service_Dfareporting_LandingPage $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_LandingPage");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Languages.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Languages.php
new file mode 100644
index 00000000..79e856af
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Languages.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "languages" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $languages = $dfareportingService->languages;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Languages extends Google_Service_Resource
+{
+ /**
+ * Retrieves a list of languages. (languages.listLanguages)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_LanguagesListResponse
+ */
+ public function listLanguages($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_LanguagesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Metros.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Metros.php
new file mode 100644
index 00000000..57cf15e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Metros.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "metros" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $metros = $dfareportingService->metros;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Metros extends Google_Service_Resource
+{
+ /**
+ * Retrieves a list of metros. (metros.listMetros)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_MetrosListResponse
+ */
+ public function listMetros($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_MetrosListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/MobileCarriers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/MobileCarriers.php
new file mode 100644
index 00000000..a9c62290
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/MobileCarriers.php
@@ -0,0 +1,55 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "mobileCarriers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $mobileCarriers = $dfareportingService->mobileCarriers;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_MobileCarriers extends Google_Service_Resource
+{
+ /**
+ * Gets one mobile carrier by ID. (mobileCarriers.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Mobile carrier ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_MobileCarrier
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_MobileCarrier");
+ }
+ /**
+ * Retrieves a list of mobile carriers. (mobileCarriers.listMobileCarriers)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_MobileCarriersListResponse
+ */
+ public function listMobileCarriers($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_MobileCarriersListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OperatingSystemVersions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OperatingSystemVersions.php
new file mode 100644
index 00000000..d5b7903e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OperatingSystemVersions.php
@@ -0,0 +1,56 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operatingSystemVersions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $operatingSystemVersions = $dfareportingService->operatingSystemVersions;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_OperatingSystemVersions extends Google_Service_Resource
+{
+ /**
+ * Gets one operating system version by ID. (operatingSystemVersions.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Operating system version ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_OperatingSystemVersion
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_OperatingSystemVersion");
+ }
+ /**
+ * Retrieves a list of operating system versions.
+ * (operatingSystemVersions.listOperatingSystemVersions)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_OperatingSystemVersionsListResponse
+ */
+ public function listOperatingSystemVersions($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_OperatingSystemVersionsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OperatingSystems.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OperatingSystems.php
new file mode 100644
index 00000000..c17b2635
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OperatingSystems.php
@@ -0,0 +1,56 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operatingSystems" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $operatingSystems = $dfareportingService->operatingSystems;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_OperatingSystems extends Google_Service_Resource
+{
+ /**
+ * Gets one operating system by DART ID. (operatingSystems.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $dartId Operating system DART ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_OperatingSystem
+ */
+ public function get($profileId, $dartId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'dartId' => $dartId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_OperatingSystem");
+ }
+ /**
+ * Retrieves a list of operating systems.
+ * (operatingSystems.listOperatingSystems)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_OperatingSystemsListResponse
+ */
+ public function listOperatingSystems($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_OperatingSystemsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OrderDocuments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OrderDocuments.php
new file mode 100644
index 00000000..281d64cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OrderDocuments.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "orderDocuments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $orderDocuments = $dfareportingService->orderDocuments;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_OrderDocuments extends Google_Service_Resource
+{
+ /**
+ * Gets one order document by ID. (orderDocuments.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $projectId Project ID for order documents.
+ * @param string $id Order document ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_OrderDocument
+ */
+ public function get($profileId, $projectId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'projectId' => $projectId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_OrderDocument");
+ }
+ /**
+ * Retrieves a list of order documents, possibly filtered. This method supports
+ * paging. (orderDocuments.listOrderDocuments)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $projectId Project ID for order documents.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool approved Select only order documents that have been approved
+ * by at least one user.
+ * @opt_param string ids Select only order documents with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string orderId Select only order documents for specified orders.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for order documents by name
+ * or ID. Wildcards (*) are allowed. For example, "orderdocument*2015" will
+ * return order documents with names like "orderdocument June 2015",
+ * "orderdocument April 2015", or simply "orderdocument 2015". Most of the
+ * searches also add wildcards implicitly at the start and the end of the search
+ * string. For example, a search string of "orderdocument" will match order
+ * documents with name "my orderdocument", "orderdocument 2015", or simply
+ * "orderdocument".
+ * @opt_param string siteId Select only order documents that are associated with
+ * these sites.
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_OrderDocumentsListResponse
+ */
+ public function listOrderDocuments($profileId, $projectId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_OrderDocumentsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Orders.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Orders.php
new file mode 100644
index 00000000..ce882dda
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Orders.php
@@ -0,0 +1,73 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "orders" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $orders = $dfareportingService->orders;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Orders extends Google_Service_Resource
+{
+ /**
+ * Gets one order by ID. (orders.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $projectId Project ID for orders.
+ * @param string $id Order ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Order
+ */
+ public function get($profileId, $projectId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'projectId' => $projectId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Order");
+ }
+ /**
+ * Retrieves a list of orders, possibly filtered. This method supports paging.
+ * (orders.listOrders)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $projectId Project ID for orders.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ids Select only orders with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for orders by name or ID.
+ * Wildcards (*) are allowed. For example, "order*2015" will return orders with
+ * names like "order June 2015", "order April 2015", or simply "order 2015".
+ * Most of the searches also add wildcards implicitly at the start and the end
+ * of the search string. For example, a search string of "order" will match
+ * orders with name "my order", "order 2015", or simply "order".
+ * @opt_param string siteId Select only orders that are associated with these
+ * site IDs.
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_OrdersListResponse
+ */
+ public function listOrders($profileId, $projectId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_OrdersListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlacementGroups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlacementGroups.php
new file mode 100644
index 00000000..97b9a75c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlacementGroups.php
@@ -0,0 +1,148 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "placementGroups" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $placementGroups = $dfareportingService->placementGroups;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_PlacementGroups extends Google_Service_Resource
+{
+ /**
+ * Gets one placement group by ID. (placementGroups.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Placement group ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlacementGroup
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_PlacementGroup");
+ }
+ /**
+ * Inserts a new placement group. (placementGroups.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_PlacementGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlacementGroup
+ */
+ public function insert($profileId, Google_Service_Dfareporting_PlacementGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_PlacementGroup");
+ }
+ /**
+ * Retrieves a list of placement groups, possibly filtered. This method supports
+ * paging. (placementGroups.listPlacementGroups)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string advertiserIds Select only placement groups that belong to
+ * these advertisers.
+ * @opt_param bool archived Select only archived placements. Don't set this
+ * field to select both archived and non-archived placements.
+ * @opt_param string campaignIds Select only placement groups that belong to
+ * these campaigns.
+ * @opt_param string contentCategoryIds Select only placement groups that are
+ * associated with these content categories.
+ * @opt_param string directorySiteIds Select only placement groups that are
+ * associated with these directory sites.
+ * @opt_param string ids Select only placement groups with these IDs.
+ * @opt_param string maxEndDate Select only placements or placement groups whose
+ * end date is on or before the specified maxEndDate. The date should be
+ * formatted as "yyyy-MM-dd".
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string maxStartDate Select only placements or placement groups
+ * whose start date is on or before the specified maxStartDate. The date should
+ * be formatted as "yyyy-MM-dd".
+ * @opt_param string minEndDate Select only placements or placement groups whose
+ * end date is on or after the specified minEndDate. The date should be
+ * formatted as "yyyy-MM-dd".
+ * @opt_param string minStartDate Select only placements or placement groups
+ * whose start date is on or after the specified minStartDate. The date should
+ * be formatted as "yyyy-MM-dd".
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string placementGroupType Select only placement groups belonging
+ * with this group type. A package is a simple group of placements that acts as
+ * a single pricing point for a group of tags. A roadblock is a group of
+ * placements that not only acts as a single pricing point but also assumes that
+ * all the tags in it will be served at the same time. A roadblock requires one
+ * of its assigned placements to be marked as primary for reporting.
+ * @opt_param string placementStrategyIds Select only placement groups that are
+ * associated with these placement strategies.
+ * @opt_param string pricingTypes Select only placement groups with these
+ * pricing types.
+ * @opt_param string searchString Allows searching for placement groups by name
+ * or ID. Wildcards (*) are allowed. For example, "placement*2015" will return
+ * placement groups with names like "placement group June 2015", "placement
+ * group May 2015", or simply "placements 2015". Most of the searches also add
+ * wildcards implicitly at the start and the end of the search string. For
+ * example, a search string of "placementgroup" will match placement groups with
+ * name "my placementgroup", "placementgroup 2015", or simply "placementgroup".
+ * @opt_param string siteIds Select only placement groups that are associated
+ * with these sites.
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_PlacementGroupsListResponse
+ */
+ public function listPlacementGroups($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_PlacementGroupsListResponse");
+ }
+ /**
+ * Updates an existing placement group. This method supports patch semantics.
+ * (placementGroups.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Placement group ID.
+ * @param Google_Service_Dfareporting_PlacementGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlacementGroup
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_PlacementGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_PlacementGroup");
+ }
+ /**
+ * Updates an existing placement group. (placementGroups.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_PlacementGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlacementGroup
+ */
+ public function update($profileId, Google_Service_Dfareporting_PlacementGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_PlacementGroup");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlacementStrategies.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlacementStrategies.php
new file mode 100644
index 00000000..7ce914cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlacementStrategies.php
@@ -0,0 +1,128 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "placementStrategies" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $placementStrategies = $dfareportingService->placementStrategies;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_PlacementStrategies extends Google_Service_Resource
+{
+ /**
+ * Deletes an existing placement strategy. (placementStrategies.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Placement strategy ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets one placement strategy by ID. (placementStrategies.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Placement strategy ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlacementStrategy
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_PlacementStrategy");
+ }
+ /**
+ * Inserts a new placement strategy. (placementStrategies.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_PlacementStrategy $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlacementStrategy
+ */
+ public function insert($profileId, Google_Service_Dfareporting_PlacementStrategy $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_PlacementStrategy");
+ }
+ /**
+ * Retrieves a list of placement strategies, possibly filtered. This method
+ * supports paging. (placementStrategies.listPlacementStrategies)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ids Select only placement strategies with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "placementstrategy*2015" will return
+ * objects with names like "placementstrategy June 2015", "placementstrategy
+ * April 2015", or simply "placementstrategy 2015". Most of the searches also
+ * add wildcards implicitly at the start and the end of the search string. For
+ * example, a search string of "placementstrategy" will match objects with name
+ * "my placementstrategy", "placementstrategy 2015", or simply
+ * "placementstrategy".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_PlacementStrategiesListResponse
+ */
+ public function listPlacementStrategies($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_PlacementStrategiesListResponse");
+ }
+ /**
+ * Updates an existing placement strategy. This method supports patch semantics.
+ * (placementStrategies.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Placement strategy ID.
+ * @param Google_Service_Dfareporting_PlacementStrategy $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlacementStrategy
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_PlacementStrategy $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_PlacementStrategy");
+ }
+ /**
+ * Updates an existing placement strategy. (placementStrategies.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_PlacementStrategy $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlacementStrategy
+ */
+ public function update($profileId, Google_Service_Dfareporting_PlacementStrategy $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_PlacementStrategy");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Placements.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Placements.php
new file mode 100644
index 00000000..cf27a58a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Placements.php
@@ -0,0 +1,172 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "placements" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $placements = $dfareportingService->placements;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Placements extends Google_Service_Resource
+{
+ /**
+ * Generates tags for a placement. (placements.generatetags)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string campaignId Generate placements belonging to this campaign.
+ * This is a required field.
+ * @opt_param string placementIds Generate tags for these placements.
+ * @opt_param string tagFormats Tag formats to generate for these placements.
+ * @return Google_Service_Dfareporting_PlacementsGenerateTagsResponse
+ */
+ public function generatetags($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('generatetags', array($params), "Google_Service_Dfareporting_PlacementsGenerateTagsResponse");
+ }
+ /**
+ * Gets one placement by ID. (placements.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Placement ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Placement
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Placement");
+ }
+ /**
+ * Inserts a new placement. (placements.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_Placement $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Placement
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Placement $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Placement");
+ }
+ /**
+ * Retrieves a list of placements, possibly filtered. This method supports
+ * paging. (placements.listPlacements)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string advertiserIds Select only placements that belong to these
+ * advertisers.
+ * @opt_param bool archived Select only archived placements. Don't set this
+ * field to select both archived and non-archived placements.
+ * @opt_param string campaignIds Select only placements that belong to these
+ * campaigns.
+ * @opt_param string compatibilities Select only placements that are associated
+ * with these compatibilities. DISPLAY and DISPLAY_INTERSTITIAL refer to
+ * rendering either on desktop or on mobile devices for regular or interstitial
+ * ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps.
+ * IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the
+ * VAST standard.
+ * @opt_param string contentCategoryIds Select only placements that are
+ * associated with these content categories.
+ * @opt_param string directorySiteIds Select only placements that are associated
+ * with these directory sites.
+ * @opt_param string groupIds Select only placements that belong to these
+ * placement groups.
+ * @opt_param string ids Select only placements with these IDs.
+ * @opt_param string maxEndDate Select only placements or placement groups whose
+ * end date is on or before the specified maxEndDate. The date should be
+ * formatted as "yyyy-MM-dd".
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string maxStartDate Select only placements or placement groups
+ * whose start date is on or before the specified maxStartDate. The date should
+ * be formatted as "yyyy-MM-dd".
+ * @opt_param string minEndDate Select only placements or placement groups whose
+ * end date is on or after the specified minEndDate. The date should be
+ * formatted as "yyyy-MM-dd".
+ * @opt_param string minStartDate Select only placements or placement groups
+ * whose start date is on or after the specified minStartDate. The date should
+ * be formatted as "yyyy-MM-dd".
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string paymentSource Select only placements with this payment
+ * source.
+ * @opt_param string placementStrategyIds Select only placements that are
+ * associated with these placement strategies.
+ * @opt_param string pricingTypes Select only placements with these pricing
+ * types.
+ * @opt_param string searchString Allows searching for placements by name or ID.
+ * Wildcards (*) are allowed. For example, "placement*2015" will return
+ * placements with names like "placement June 2015", "placement May 2015", or
+ * simply "placements 2015". Most of the searches also add wildcards implicitly
+ * at the start and the end of the search string. For example, a search string
+ * of "placement" will match placements with name "my placement", "placement
+ * 2015", or simply "placement".
+ * @opt_param string siteIds Select only placements that are associated with
+ * these sites.
+ * @opt_param string sizeIds Select only placements that are associated with
+ * these sizes.
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_PlacementsListResponse
+ */
+ public function listPlacements($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_PlacementsListResponse");
+ }
+ /**
+ * Updates an existing placement. This method supports patch semantics.
+ * (placements.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Placement ID.
+ * @param Google_Service_Dfareporting_Placement $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Placement
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_Placement $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Placement");
+ }
+ /**
+ * Updates an existing placement. (placements.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_Placement $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Placement
+ */
+ public function update($profileId, Google_Service_Dfareporting_Placement $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Placement");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlatformTypes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlatformTypes.php
new file mode 100644
index 00000000..8437cb42
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlatformTypes.php
@@ -0,0 +1,55 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "platformTypes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $platformTypes = $dfareportingService->platformTypes;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_PlatformTypes extends Google_Service_Resource
+{
+ /**
+ * Gets one platform type by ID. (platformTypes.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Platform type ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlatformType
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_PlatformType");
+ }
+ /**
+ * Retrieves a list of platform types. (platformTypes.listPlatformTypes)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlatformTypesListResponse
+ */
+ public function listPlatformTypes($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_PlatformTypesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PostalCodes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PostalCodes.php
new file mode 100644
index 00000000..d5cf00ee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PostalCodes.php
@@ -0,0 +1,55 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "postalCodes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $postalCodes = $dfareportingService->postalCodes;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_PostalCodes extends Google_Service_Resource
+{
+ /**
+ * Gets one postal code by ID. (postalCodes.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $code Postal code ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PostalCode
+ */
+ public function get($profileId, $code, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'code' => $code);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_PostalCode");
+ }
+ /**
+ * Retrieves a list of postal codes. (postalCodes.listPostalCodes)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PostalCodesListResponse
+ */
+ public function listPostalCodes($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_PostalCodesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Projects.php
new file mode 100644
index 00000000..0f396f8e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Projects.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $projects = $dfareportingService->projects;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Projects extends Google_Service_Resource
+{
+ /**
+ * Gets one project by ID. (projects.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Project ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Project
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Project");
+ }
+ /**
+ * Retrieves a list of projects, possibly filtered. This method supports paging.
+ * (projects.listProjects)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string advertiserIds Select only projects with these advertiser
+ * IDs.
+ * @opt_param string ids Select only projects with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for projects by name or ID.
+ * Wildcards (*) are allowed. For example, "project*2015" will return projects
+ * with names like "project June 2015", "project April 2015", or simply "project
+ * 2015". Most of the searches also add wildcards implicitly at the start and
+ * the end of the search string. For example, a search string of "project" will
+ * match projects with name "my project", "project 2015", or simply "project".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_ProjectsListResponse
+ */
+ public function listProjects($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_ProjectsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Regions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Regions.php
new file mode 100644
index 00000000..a6e170ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Regions.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "regions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $regions = $dfareportingService->regions;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Regions extends Google_Service_Resource
+{
+ /**
+ * Retrieves a list of regions. (regions.listRegions)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_RegionsListResponse
+ */
+ public function listRegions($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_RegionsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/RemarketingListShares.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/RemarketingListShares.php
new file mode 100644
index 00000000..09123dd3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/RemarketingListShares.php
@@ -0,0 +1,73 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "remarketingListShares" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $remarketingListShares = $dfareportingService->remarketingListShares;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_RemarketingListShares extends Google_Service_Resource
+{
+ /**
+ * Gets one remarketing list share by remarketing list ID.
+ * (remarketingListShares.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $remarketingListId Remarketing list ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_RemarketingListShare
+ */
+ public function get($profileId, $remarketingListId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'remarketingListId' => $remarketingListId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_RemarketingListShare");
+ }
+ /**
+ * Updates an existing remarketing list share. This method supports patch
+ * semantics. (remarketingListShares.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $remarketingListId Remarketing list ID.
+ * @param Google_Service_Dfareporting_RemarketingListShare $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_RemarketingListShare
+ */
+ public function patch($profileId, $remarketingListId, Google_Service_Dfareporting_RemarketingListShare $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'remarketingListId' => $remarketingListId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_RemarketingListShare");
+ }
+ /**
+ * Updates an existing remarketing list share. (remarketingListShares.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_RemarketingListShare $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_RemarketingListShare
+ */
+ public function update($profileId, Google_Service_Dfareporting_RemarketingListShare $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_RemarketingListShare");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/RemarketingLists.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/RemarketingLists.php
new file mode 100644
index 00000000..990f476a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/RemarketingLists.php
@@ -0,0 +1,118 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "remarketingLists" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $remarketingLists = $dfareportingService->remarketingLists;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_RemarketingLists extends Google_Service_Resource
+{
+ /**
+ * Gets one remarketing list by ID. (remarketingLists.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Remarketing list ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_RemarketingList
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_RemarketingList");
+ }
+ /**
+ * Inserts a new remarketing list. (remarketingLists.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_RemarketingList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_RemarketingList
+ */
+ public function insert($profileId, Google_Service_Dfareporting_RemarketingList $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_RemarketingList");
+ }
+ /**
+ * Retrieves a list of remarketing lists, possibly filtered. This method
+ * supports paging. (remarketingLists.listRemarketingLists)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $advertiserId Select only remarketing lists owned by this
+ * advertiser.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool active Select only active or only inactive remarketing lists.
+ * @opt_param string floodlightActivityId Select only remarketing lists that
+ * have this floodlight activity ID.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string name Allows searching for objects by name or ID. Wildcards
+ * (*) are allowed. For example, "remarketing list*2015" will return objects
+ * with names like "remarketing list June 2015", "remarketing list April 2015",
+ * or simply "remarketing list 2015". Most of the searches also add wildcards
+ * implicitly at the start and the end of the search string. For example, a
+ * search string of "remarketing list" will match objects with name "my
+ * remarketing list", "remarketing list 2015", or simply "remarketing list".
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_RemarketingListsListResponse
+ */
+ public function listRemarketingLists($profileId, $advertiserId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'advertiserId' => $advertiserId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_RemarketingListsListResponse");
+ }
+ /**
+ * Updates an existing remarketing list. This method supports patch semantics.
+ * (remarketingLists.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Remarketing list ID.
+ * @param Google_Service_Dfareporting_RemarketingList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_RemarketingList
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_RemarketingList $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_RemarketingList");
+ }
+ /**
+ * Updates an existing remarketing list. (remarketingLists.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_RemarketingList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_RemarketingList
+ */
+ public function update($profileId, Google_Service_Dfareporting_RemarketingList $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_RemarketingList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Reports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Reports.php
new file mode 100644
index 00000000..1598d799
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Reports.php
@@ -0,0 +1,137 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $reports = $dfareportingService->reports;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Reports extends 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 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), "Google_Service_Dfareporting_Report");
+ }
+ /**
+ * Creates a report. (reports.insert)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param Google_Service_Dfareporting_Report $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Report
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Report $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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 scope The scope that defines which results are returned,
+ * default is 'MINE'.
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'.
+ * @return 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), "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 Google_Service_Dfareporting_Report $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Report
+ */
+ public function patch($profileId, $reportId, 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), "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 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), "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 Google_Service_Dfareporting_Report $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Report
+ */
+ public function update($profileId, $reportId, 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), "Google_Service_Dfareporting_Report");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ReportsCompatibleFields.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ReportsCompatibleFields.php
new file mode 100644
index 00000000..b6a9c9ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ReportsCompatibleFields.php
@@ -0,0 +1,44 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "compatibleFields" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $compatibleFields = $dfareportingService->compatibleFields;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_ReportsCompatibleFields extends 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 Google_Service_Dfareporting_Report $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CompatibleFields
+ */
+ public function query($profileId, Google_Service_Dfareporting_Report $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('query', array($params), "Google_Service_Dfareporting_CompatibleFields");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ReportsFiles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ReportsFiles.php
new file mode 100644
index 00000000..6c76e792
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ReportsFiles.php
@@ -0,0 +1,63 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $files = $dfareportingService->files;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_ReportsFiles extends 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 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), "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 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 sortField The field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'.
+ * @return 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), "Google_Service_Dfareporting_FileList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Sites.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Sites.php
new file mode 100644
index 00000000..1911c88b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Sites.php
@@ -0,0 +1,126 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "sites" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $sites = $dfareportingService->sites;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Sites extends Google_Service_Resource
+{
+ /**
+ * Gets one site by ID. (sites.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Site ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Site
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Site");
+ }
+ /**
+ * Inserts a new site. (sites.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_Site $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Site
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Site $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Site");
+ }
+ /**
+ * Retrieves a list of sites, possibly filtered. This method supports paging.
+ * (sites.listSites)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool acceptsInStreamVideoPlacements This search filter is no
+ * longer supported and will have no effect on the results returned.
+ * @opt_param bool acceptsInterstitialPlacements This search filter is no longer
+ * supported and will have no effect on the results returned.
+ * @opt_param bool acceptsPublisherPaidPlacements Select only sites that accept
+ * publisher paid placements.
+ * @opt_param bool adWordsSite Select only AdWords sites.
+ * @opt_param bool approved Select only approved sites.
+ * @opt_param string campaignIds Select only sites with these campaign IDs.
+ * @opt_param string directorySiteIds Select only sites with these directory
+ * site IDs.
+ * @opt_param string ids Select only sites with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for objects by name, ID or
+ * keyName. Wildcards (*) are allowed. For example, "site*2015" will return
+ * objects with names like "site June 2015", "site April 2015", or simply "site
+ * 2015". Most of the searches also add wildcards implicitly at the start and
+ * the end of the search string. For example, a search string of "site" will
+ * match objects with name "my site", "site 2015", or simply "site".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string subaccountId Select only sites with this subaccount ID.
+ * @opt_param bool unmappedSite Select only sites that have not been mapped to a
+ * directory site.
+ * @return Google_Service_Dfareporting_SitesListResponse
+ */
+ public function listSites($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_SitesListResponse");
+ }
+ /**
+ * Updates an existing site. This method supports patch semantics. (sites.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Site ID.
+ * @param Google_Service_Dfareporting_Site $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Site
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_Site $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Site");
+ }
+ /**
+ * Updates an existing site. (sites.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_Site $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Site
+ */
+ public function update($profileId, Google_Service_Dfareporting_Site $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Site");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Sizes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Sizes.php
new file mode 100644
index 00000000..51c9a36c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Sizes.php
@@ -0,0 +1,74 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "sizes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $sizes = $dfareportingService->sizes;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Sizes extends Google_Service_Resource
+{
+ /**
+ * Gets one size by ID. (sizes.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Size ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Size
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Size");
+ }
+ /**
+ * Inserts a new size. (sizes.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_Size $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Size
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Size $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Size");
+ }
+ /**
+ * Retrieves a list of sizes, possibly filtered. (sizes.listSizes)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int height Select only sizes with this height.
+ * @opt_param bool iabStandard Select only IAB standard sizes.
+ * @opt_param string ids Select only sizes with these IDs.
+ * @opt_param int width Select only sizes with this width.
+ * @return Google_Service_Dfareporting_SizesListResponse
+ */
+ public function listSizes($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_SizesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Subaccounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Subaccounts.php
new file mode 100644
index 00000000..27ac2feb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Subaccounts.php
@@ -0,0 +1,114 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "subaccounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $subaccounts = $dfareportingService->subaccounts;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_Subaccounts extends Google_Service_Resource
+{
+ /**
+ * Gets one subaccount by ID. (subaccounts.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Subaccount ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Subaccount
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Subaccount");
+ }
+ /**
+ * Inserts a new subaccount. (subaccounts.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_Subaccount $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Subaccount
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Subaccount $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Subaccount");
+ }
+ /**
+ * Gets a list of subaccounts, possibly filtered. This method supports paging.
+ * (subaccounts.listSubaccounts)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ids Select only subaccounts with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "subaccount*2015" will return objects
+ * with names like "subaccount June 2015", "subaccount April 2015", or simply
+ * "subaccount 2015". Most of the searches also add wildcards implicitly at the
+ * start and the end of the search string. For example, a search string of
+ * "subaccount" will match objects with name "my subaccount", "subaccount 2015",
+ * or simply "subaccount".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_SubaccountsListResponse
+ */
+ public function listSubaccounts($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_SubaccountsListResponse");
+ }
+ /**
+ * Updates an existing subaccount. This method supports patch semantics.
+ * (subaccounts.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Subaccount ID.
+ * @param Google_Service_Dfareporting_Subaccount $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Subaccount
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_Subaccount $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Subaccount");
+ }
+ /**
+ * Updates an existing subaccount. (subaccounts.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_Subaccount $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Subaccount
+ */
+ public function update($profileId, Google_Service_Dfareporting_Subaccount $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Subaccount");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/TargetableRemarketingLists.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/TargetableRemarketingLists.php
new file mode 100644
index 00000000..43d9de4a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/TargetableRemarketingLists.php
@@ -0,0 +1,74 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "targetableRemarketingLists" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $targetableRemarketingLists = $dfareportingService->targetableRemarketingLists;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_TargetableRemarketingLists extends Google_Service_Resource
+{
+ /**
+ * Gets one remarketing list by ID. (targetableRemarketingLists.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Remarketing list ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_TargetableRemarketingList
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_TargetableRemarketingList");
+ }
+ /**
+ * Retrieves a list of targetable remarketing lists, possibly filtered. This
+ * method supports paging.
+ * (targetableRemarketingLists.listTargetableRemarketingLists)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $advertiserId Select only targetable remarketing lists
+ * targetable by these advertisers.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool active Select only active or only inactive targetable
+ * remarketing lists.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string name Allows searching for objects by name or ID. Wildcards
+ * (*) are allowed. For example, "remarketing list*2015" will return objects
+ * with names like "remarketing list June 2015", "remarketing list April 2015",
+ * or simply "remarketing list 2015". Most of the searches also add wildcards
+ * implicitly at the start and the end of the search string. For example, a
+ * search string of "remarketing list" will match objects with name "my
+ * remarketing list", "remarketing list 2015", or simply "remarketing list".
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_TargetableRemarketingListsListResponse
+ */
+ public function listTargetableRemarketingLists($profileId, $advertiserId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'advertiserId' => $advertiserId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_TargetableRemarketingListsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/TargetingTemplates.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/TargetingTemplates.php
new file mode 100644
index 00000000..afe7af7e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/TargetingTemplates.php
@@ -0,0 +1,116 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "targetingTemplates" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $targetingTemplates = $dfareportingService->targetingTemplates;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_TargetingTemplates extends Google_Service_Resource
+{
+ /**
+ * Gets one targeting template by ID. (targetingTemplates.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Targeting template ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_TargetingTemplate
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_TargetingTemplate");
+ }
+ /**
+ * Inserts a new targeting template. (targetingTemplates.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_TargetingTemplate $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_TargetingTemplate
+ */
+ public function insert($profileId, Google_Service_Dfareporting_TargetingTemplate $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_TargetingTemplate");
+ }
+ /**
+ * Retrieves a list of targeting templates, optionally filtered. This method
+ * supports paging. (targetingTemplates.listTargetingTemplates)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string advertiserId Select only targeting templates with this
+ * advertiser ID.
+ * @opt_param string ids Select only targeting templates with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "template*2015" will return objects
+ * with names like "template June 2015", "template April 2015", or simply
+ * "template 2015". Most of the searches also add wildcards implicitly at the
+ * start and the end of the search string. For example, a search string of
+ * "template" will match objects with name "my template", "template 2015", or
+ * simply "template".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_TargetingTemplatesListResponse
+ */
+ public function listTargetingTemplates($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_TargetingTemplatesListResponse");
+ }
+ /**
+ * Updates an existing targeting template. This method supports patch semantics.
+ * (targetingTemplates.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Targeting template ID.
+ * @param Google_Service_Dfareporting_TargetingTemplate $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_TargetingTemplate
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_TargetingTemplate $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_TargetingTemplate");
+ }
+ /**
+ * Updates an existing targeting template. (targetingTemplates.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_TargetingTemplate $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_TargetingTemplate
+ */
+ public function update($profileId, Google_Service_Dfareporting_TargetingTemplate $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_TargetingTemplate");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserProfiles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserProfiles.php
new file mode 100644
index 00000000..019ce69f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserProfiles.php
@@ -0,0 +1,53 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "userProfiles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $userProfiles = $dfareportingService->userProfiles;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_UserProfiles extends Google_Service_Resource
+{
+ /**
+ * Gets one user profile by ID. (userProfiles.get)
+ *
+ * @param string $profileId The user profile ID.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Dfareporting_UserProfile");
+ }
+ /**
+ * Retrieves list of user profiles for a user. (userProfiles.listUserProfiles)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserProfileList
+ */
+ public function listUserProfiles($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_UserProfileList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRolePermissionGroups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRolePermissionGroups.php
new file mode 100644
index 00000000..198da780
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRolePermissionGroups.php
@@ -0,0 +1,56 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "userRolePermissionGroups" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $userRolePermissionGroups = $dfareportingService->userRolePermissionGroups;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_UserRolePermissionGroups extends Google_Service_Resource
+{
+ /**
+ * Gets one user role permission group by ID. (userRolePermissionGroups.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id User role permission group ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserRolePermissionGroup
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_UserRolePermissionGroup");
+ }
+ /**
+ * Gets a list of all supported user role permission groups.
+ * (userRolePermissionGroups.listUserRolePermissionGroups)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserRolePermissionGroupsListResponse
+ */
+ public function listUserRolePermissionGroups($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_UserRolePermissionGroupsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRolePermissions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRolePermissions.php
new file mode 100644
index 00000000..4780e226
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRolePermissions.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "userRolePermissions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $userRolePermissions = $dfareportingService->userRolePermissions;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_UserRolePermissions extends Google_Service_Resource
+{
+ /**
+ * Gets one user role permission by ID. (userRolePermissions.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id User role permission ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserRolePermission
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_UserRolePermission");
+ }
+ /**
+ * Gets a list of user role permissions, possibly filtered.
+ * (userRolePermissions.listUserRolePermissions)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ids Select only user role permissions with these IDs.
+ * @return Google_Service_Dfareporting_UserRolePermissionsListResponse
+ */
+ public function listUserRolePermissions($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_UserRolePermissionsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRoles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRoles.php
new file mode 100644
index 00000000..a8769cd5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRoles.php
@@ -0,0 +1,131 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "userRoles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $userRoles = $dfareportingService->userRoles;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_UserRoles extends Google_Service_Resource
+{
+ /**
+ * Deletes an existing user role. (userRoles.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id User role ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets one user role by ID. (userRoles.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id User role ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserRole
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_UserRole");
+ }
+ /**
+ * Inserts a new user role. (userRoles.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_UserRole $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserRole
+ */
+ public function insert($profileId, Google_Service_Dfareporting_UserRole $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_UserRole");
+ }
+ /**
+ * Retrieves a list of user roles, possibly filtered. This method supports
+ * paging. (userRoles.listUserRoles)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool accountUserRoleOnly Select only account level user roles not
+ * associated with any specific subaccount.
+ * @opt_param string ids Select only user roles with the specified IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "userrole*2015" will return objects
+ * with names like "userrole June 2015", "userrole April 2015", or simply
+ * "userrole 2015". Most of the searches also add wildcards implicitly at the
+ * start and the end of the search string. For example, a search string of
+ * "userrole" will match objects with name "my userrole", "userrole 2015", or
+ * simply "userrole".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string subaccountId Select only user roles that belong to this
+ * subaccount.
+ * @return Google_Service_Dfareporting_UserRolesListResponse
+ */
+ public function listUserRoles($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_UserRolesListResponse");
+ }
+ /**
+ * Updates an existing user role. This method supports patch semantics.
+ * (userRoles.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id User role ID.
+ * @param Google_Service_Dfareporting_UserRole $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserRole
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_UserRole $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_UserRole");
+ }
+ /**
+ * Updates an existing user role. (userRoles.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Service_Dfareporting_UserRole $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserRole
+ */
+ public function update($profileId, Google_Service_Dfareporting_UserRole $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_UserRole");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/VideoFormats.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/VideoFormats.php
new file mode 100644
index 00000000..065cadac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/VideoFormats.php
@@ -0,0 +1,55 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "videoFormats" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $videoFormats = $dfareportingService->videoFormats;
+ * </code>
+ */
+class Google_Service_Dfareporting_Resource_VideoFormats extends Google_Service_Resource
+{
+ /**
+ * Gets one video format by ID. (videoFormats.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param int $id Video format ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_VideoFormat
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_VideoFormat");
+ }
+ /**
+ * Lists available video formats. (videoFormats.listVideoFormats)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_VideoFormatsListResponse
+ */
+ public function listVideoFormats($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_VideoFormatsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RichMediaExitOverride.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RichMediaExitOverride.php
new file mode 100644
index 00000000..b53c2601
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RichMediaExitOverride.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_RichMediaExitOverride extends Google_Model
+{
+ protected $clickThroughUrlType = 'Google_Service_Dfareporting_ClickThroughUrl';
+ protected $clickThroughUrlDataType = '';
+ public $enabled;
+ public $exitId;
+
+ public function setClickThroughUrl(Google_Service_Dfareporting_ClickThroughUrl $clickThroughUrl)
+ {
+ $this->clickThroughUrl = $clickThroughUrl;
+ }
+ public function getClickThroughUrl()
+ {
+ return $this->clickThroughUrl;
+ }
+ public function setEnabled($enabled)
+ {
+ $this->enabled = $enabled;
+ }
+ public function getEnabled()
+ {
+ return $this->enabled;
+ }
+ public function setExitId($exitId)
+ {
+ $this->exitId = $exitId;
+ }
+ public function getExitId()
+ {
+ return $this->exitId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Rule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Rule.php
new file mode 100644
index 00000000..77226d90
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Rule.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Rule extends Google_Model
+{
+ public $assetId;
+ public $name;
+ public $targetingTemplateId;
+
+ public function setAssetId($assetId)
+ {
+ $this->assetId = $assetId;
+ }
+ public function getAssetId()
+ {
+ return $this->assetId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setTargetingTemplateId($targetingTemplateId)
+ {
+ $this->targetingTemplateId = $targetingTemplateId;
+ }
+ public function getTargetingTemplateId()
+ {
+ return $this->targetingTemplateId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Site.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Site.php
new file mode 100644
index 00000000..11e2630f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Site.php
@@ -0,0 +1,134 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Site extends Google_Collection
+{
+ protected $collection_key = 'siteContacts';
+ public $accountId;
+ public $approved;
+ public $directorySiteId;
+ protected $directorySiteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $directorySiteIdDimensionValueDataType = '';
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $keyName;
+ public $kind;
+ public $name;
+ protected $siteContactsType = 'Google_Service_Dfareporting_SiteContact';
+ protected $siteContactsDataType = 'array';
+ protected $siteSettingsType = 'Google_Service_Dfareporting_SiteSettings';
+ protected $siteSettingsDataType = '';
+ public $subaccountId;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setApproved($approved)
+ {
+ $this->approved = $approved;
+ }
+ public function getApproved()
+ {
+ return $this->approved;
+ }
+ public function setDirectorySiteId($directorySiteId)
+ {
+ $this->directorySiteId = $directorySiteId;
+ }
+ public function getDirectorySiteId()
+ {
+ return $this->directorySiteId;
+ }
+ public function setDirectorySiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $directorySiteIdDimensionValue)
+ {
+ $this->directorySiteIdDimensionValue = $directorySiteIdDimensionValue;
+ }
+ public function getDirectorySiteIdDimensionValue()
+ {
+ return $this->directorySiteIdDimensionValue;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setKeyName($keyName)
+ {
+ $this->keyName = $keyName;
+ }
+ public function getKeyName()
+ {
+ return $this->keyName;
+ }
+ 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 setSiteContacts($siteContacts)
+ {
+ $this->siteContacts = $siteContacts;
+ }
+ public function getSiteContacts()
+ {
+ return $this->siteContacts;
+ }
+ public function setSiteSettings(Google_Service_Dfareporting_SiteSettings $siteSettings)
+ {
+ $this->siteSettings = $siteSettings;
+ }
+ public function getSiteSettings()
+ {
+ return $this->siteSettings;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SiteContact.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SiteContact.php
new file mode 100644
index 00000000..f2547cde
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SiteContact.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_SiteContact extends Google_Model
+{
+ public $address;
+ public $contactType;
+ public $email;
+ public $firstName;
+ public $id;
+ public $lastName;
+ public $phone;
+ public $title;
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setContactType($contactType)
+ {
+ $this->contactType = $contactType;
+ }
+ public function getContactType()
+ {
+ return $this->contactType;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setFirstName($firstName)
+ {
+ $this->firstName = $firstName;
+ }
+ public function getFirstName()
+ {
+ return $this->firstName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLastName($lastName)
+ {
+ $this->lastName = $lastName;
+ }
+ public function getLastName()
+ {
+ return $this->lastName;
+ }
+ public function setPhone($phone)
+ {
+ $this->phone = $phone;
+ }
+ public function getPhone()
+ {
+ return $this->phone;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SiteSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SiteSettings.php
new file mode 100644
index 00000000..ef948304
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SiteSettings.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_SiteSettings extends Google_Model
+{
+ public $activeViewOptOut;
+ protected $creativeSettingsType = 'Google_Service_Dfareporting_CreativeSettings';
+ protected $creativeSettingsDataType = '';
+ public $disableBrandSafeAds;
+ public $disableNewCookie;
+ protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration';
+ protected $lookbackConfigurationDataType = '';
+ protected $tagSettingType = 'Google_Service_Dfareporting_TagSetting';
+ protected $tagSettingDataType = '';
+ public $videoActiveViewOptOutTemplate;
+ public $vpaidAdapterChoiceTemplate;
+
+ public function setActiveViewOptOut($activeViewOptOut)
+ {
+ $this->activeViewOptOut = $activeViewOptOut;
+ }
+ public function getActiveViewOptOut()
+ {
+ return $this->activeViewOptOut;
+ }
+ public function setCreativeSettings(Google_Service_Dfareporting_CreativeSettings $creativeSettings)
+ {
+ $this->creativeSettings = $creativeSettings;
+ }
+ public function getCreativeSettings()
+ {
+ return $this->creativeSettings;
+ }
+ public function setDisableBrandSafeAds($disableBrandSafeAds)
+ {
+ $this->disableBrandSafeAds = $disableBrandSafeAds;
+ }
+ public function getDisableBrandSafeAds()
+ {
+ return $this->disableBrandSafeAds;
+ }
+ public function setDisableNewCookie($disableNewCookie)
+ {
+ $this->disableNewCookie = $disableNewCookie;
+ }
+ public function getDisableNewCookie()
+ {
+ return $this->disableNewCookie;
+ }
+ public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration)
+ {
+ $this->lookbackConfiguration = $lookbackConfiguration;
+ }
+ public function getLookbackConfiguration()
+ {
+ return $this->lookbackConfiguration;
+ }
+ public function setTagSetting(Google_Service_Dfareporting_TagSetting $tagSetting)
+ {
+ $this->tagSetting = $tagSetting;
+ }
+ public function getTagSetting()
+ {
+ return $this->tagSetting;
+ }
+ public function setVideoActiveViewOptOutTemplate($videoActiveViewOptOutTemplate)
+ {
+ $this->videoActiveViewOptOutTemplate = $videoActiveViewOptOutTemplate;
+ }
+ public function getVideoActiveViewOptOutTemplate()
+ {
+ return $this->videoActiveViewOptOutTemplate;
+ }
+ public function setVpaidAdapterChoiceTemplate($vpaidAdapterChoiceTemplate)
+ {
+ $this->vpaidAdapterChoiceTemplate = $vpaidAdapterChoiceTemplate;
+ }
+ public function getVpaidAdapterChoiceTemplate()
+ {
+ return $this->vpaidAdapterChoiceTemplate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SitesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SitesListResponse.php
new file mode 100644
index 00000000..649333ad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SitesListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_SitesListResponse extends Google_Collection
+{
+ protected $collection_key = 'sites';
+ public $kind;
+ public $nextPageToken;
+ protected $sitesType = 'Google_Service_Dfareporting_Site';
+ protected $sitesDataType = '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 setSites($sites)
+ {
+ $this->sites = $sites;
+ }
+ public function getSites()
+ {
+ return $this->sites;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Size.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Size.php
new file mode 100644
index 00000000..2d175cab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Size.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Size extends Google_Model
+{
+ public $height;
+ public $iab;
+ public $id;
+ public $kind;
+ public $width;
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setIab($iab)
+ {
+ $this->iab = $iab;
+ }
+ public function getIab()
+ {
+ return $this->iab;
+ }
+ 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 setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SizesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SizesListResponse.php
new file mode 100644
index 00000000..6e0eb6b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SizesListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_SizesListResponse extends Google_Collection
+{
+ protected $collection_key = 'sizes';
+ public $kind;
+ protected $sizesType = 'Google_Service_Dfareporting_Size';
+ protected $sizesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSizes($sizes)
+ {
+ $this->sizes = $sizes;
+ }
+ public function getSizes()
+ {
+ return $this->sizes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SkippableSetting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SkippableSetting.php
new file mode 100644
index 00000000..f1656e86
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SkippableSetting.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_SkippableSetting extends Google_Model
+{
+ public $kind;
+ protected $progressOffsetType = 'Google_Service_Dfareporting_VideoOffset';
+ protected $progressOffsetDataType = '';
+ protected $skipOffsetType = 'Google_Service_Dfareporting_VideoOffset';
+ protected $skipOffsetDataType = '';
+ public $skippable;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProgressOffset(Google_Service_Dfareporting_VideoOffset $progressOffset)
+ {
+ $this->progressOffset = $progressOffset;
+ }
+ public function getProgressOffset()
+ {
+ return $this->progressOffset;
+ }
+ public function setSkipOffset(Google_Service_Dfareporting_VideoOffset $skipOffset)
+ {
+ $this->skipOffset = $skipOffset;
+ }
+ public function getSkipOffset()
+ {
+ return $this->skipOffset;
+ }
+ public function setSkippable($skippable)
+ {
+ $this->skippable = $skippable;
+ }
+ public function getSkippable()
+ {
+ return $this->skippable;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SortedDimension.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SortedDimension.php
new file mode 100644
index 00000000..4d6dbed9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SortedDimension.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_SortedDimension extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Subaccount.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Subaccount.php
new file mode 100644
index 00000000..51322bb7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Subaccount.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_Subaccount extends Google_Collection
+{
+ protected $collection_key = 'availablePermissionIds';
+ public $accountId;
+ public $availablePermissionIds;
+ public $id;
+ public $kind;
+ public $name;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAvailablePermissionIds($availablePermissionIds)
+ {
+ $this->availablePermissionIds = $availablePermissionIds;
+ }
+ public function getAvailablePermissionIds()
+ {
+ return $this->availablePermissionIds;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SubaccountsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SubaccountsListResponse.php
new file mode 100644
index 00000000..22a06155
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SubaccountsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_SubaccountsListResponse extends Google_Collection
+{
+ protected $collection_key = 'subaccounts';
+ public $kind;
+ public $nextPageToken;
+ protected $subaccountsType = 'Google_Service_Dfareporting_Subaccount';
+ protected $subaccountsDataType = '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 setSubaccounts($subaccounts)
+ {
+ $this->subaccounts = $subaccounts;
+ }
+ public function getSubaccounts()
+ {
+ return $this->subaccounts;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagData.php
new file mode 100644
index 00000000..4d293b04
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagData.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_TagData extends Google_Model
+{
+ public $adId;
+ public $clickTag;
+ public $creativeId;
+ public $format;
+ public $impressionTag;
+
+ public function setAdId($adId)
+ {
+ $this->adId = $adId;
+ }
+ public function getAdId()
+ {
+ return $this->adId;
+ }
+ public function setClickTag($clickTag)
+ {
+ $this->clickTag = $clickTag;
+ }
+ public function getClickTag()
+ {
+ return $this->clickTag;
+ }
+ public function setCreativeId($creativeId)
+ {
+ $this->creativeId = $creativeId;
+ }
+ public function getCreativeId()
+ {
+ return $this->creativeId;
+ }
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setImpressionTag($impressionTag)
+ {
+ $this->impressionTag = $impressionTag;
+ }
+ public function getImpressionTag()
+ {
+ return $this->impressionTag;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagSetting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagSetting.php
new file mode 100644
index 00000000..888f4ef9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagSetting.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_TagSetting extends Google_Model
+{
+ public $additionalKeyValues;
+ public $includeClickThroughUrls;
+ public $includeClickTracking;
+ public $keywordOption;
+
+ public function setAdditionalKeyValues($additionalKeyValues)
+ {
+ $this->additionalKeyValues = $additionalKeyValues;
+ }
+ public function getAdditionalKeyValues()
+ {
+ return $this->additionalKeyValues;
+ }
+ public function setIncludeClickThroughUrls($includeClickThroughUrls)
+ {
+ $this->includeClickThroughUrls = $includeClickThroughUrls;
+ }
+ public function getIncludeClickThroughUrls()
+ {
+ return $this->includeClickThroughUrls;
+ }
+ public function setIncludeClickTracking($includeClickTracking)
+ {
+ $this->includeClickTracking = $includeClickTracking;
+ }
+ public function getIncludeClickTracking()
+ {
+ return $this->includeClickTracking;
+ }
+ public function setKeywordOption($keywordOption)
+ {
+ $this->keywordOption = $keywordOption;
+ }
+ public function getKeywordOption()
+ {
+ return $this->keywordOption;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagSettings.php
new file mode 100644
index 00000000..954cd30d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagSettings.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_TagSettings extends Google_Model
+{
+ public $dynamicTagEnabled;
+ public $imageTagEnabled;
+
+ public function setDynamicTagEnabled($dynamicTagEnabled)
+ {
+ $this->dynamicTagEnabled = $dynamicTagEnabled;
+ }
+ public function getDynamicTagEnabled()
+ {
+ return $this->dynamicTagEnabled;
+ }
+ public function setImageTagEnabled($imageTagEnabled)
+ {
+ $this->imageTagEnabled = $imageTagEnabled;
+ }
+ public function getImageTagEnabled()
+ {
+ return $this->imageTagEnabled;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetWindow.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetWindow.php
new file mode 100644
index 00000000..91cb9ac7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetWindow.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_TargetWindow extends Google_Model
+{
+ public $customHtml;
+ public $targetWindowOption;
+
+ public function setCustomHtml($customHtml)
+ {
+ $this->customHtml = $customHtml;
+ }
+ public function getCustomHtml()
+ {
+ return $this->customHtml;
+ }
+ public function setTargetWindowOption($targetWindowOption)
+ {
+ $this->targetWindowOption = $targetWindowOption;
+ }
+ public function getTargetWindowOption()
+ {
+ return $this->targetWindowOption;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetableRemarketingList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetableRemarketingList.php
new file mode 100644
index 00000000..874918e5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetableRemarketingList.php
@@ -0,0 +1,130 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_TargetableRemarketingList extends Google_Model
+{
+ public $accountId;
+ public $active;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $description;
+ public $id;
+ public $kind;
+ public $lifeSpan;
+ public $listSize;
+ public $listSource;
+ public $name;
+ public $subaccountId;
+
+ 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 setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ 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 setLifeSpan($lifeSpan)
+ {
+ $this->lifeSpan = $lifeSpan;
+ }
+ public function getLifeSpan()
+ {
+ return $this->lifeSpan;
+ }
+ public function setListSize($listSize)
+ {
+ $this->listSize = $listSize;
+ }
+ public function getListSize()
+ {
+ return $this->listSize;
+ }
+ public function setListSource($listSource)
+ {
+ $this->listSource = $listSource;
+ }
+ public function getListSource()
+ {
+ return $this->listSource;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetableRemarketingListsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetableRemarketingListsListResponse.php
new file mode 100644
index 00000000..3db5c694
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetableRemarketingListsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_TargetableRemarketingListsListResponse extends Google_Collection
+{
+ protected $collection_key = 'targetableRemarketingLists';
+ public $kind;
+ public $nextPageToken;
+ protected $targetableRemarketingListsType = 'Google_Service_Dfareporting_TargetableRemarketingList';
+ protected $targetableRemarketingListsDataType = '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 setTargetableRemarketingLists($targetableRemarketingLists)
+ {
+ $this->targetableRemarketingLists = $targetableRemarketingLists;
+ }
+ public function getTargetableRemarketingLists()
+ {
+ return $this->targetableRemarketingLists;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetingTemplate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetingTemplate.php
new file mode 100644
index 00000000..82aaae48
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetingTemplate.php
@@ -0,0 +1,145 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_TargetingTemplate extends Google_Model
+{
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ protected $dayPartTargetingType = 'Google_Service_Dfareporting_DayPartTargeting';
+ protected $dayPartTargetingDataType = '';
+ protected $geoTargetingType = 'Google_Service_Dfareporting_GeoTargeting';
+ protected $geoTargetingDataType = '';
+ public $id;
+ protected $keyValueTargetingExpressionType = 'Google_Service_Dfareporting_KeyValueTargetingExpression';
+ protected $keyValueTargetingExpressionDataType = '';
+ public $kind;
+ protected $languageTargetingType = 'Google_Service_Dfareporting_LanguageTargeting';
+ protected $languageTargetingDataType = '';
+ protected $listTargetingExpressionType = 'Google_Service_Dfareporting_ListTargetingExpression';
+ protected $listTargetingExpressionDataType = '';
+ public $name;
+ public $subaccountId;
+ protected $technologyTargetingType = 'Google_Service_Dfareporting_TechnologyTargeting';
+ protected $technologyTargetingDataType = '';
+
+ 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 setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setDayPartTargeting(Google_Service_Dfareporting_DayPartTargeting $dayPartTargeting)
+ {
+ $this->dayPartTargeting = $dayPartTargeting;
+ }
+ public function getDayPartTargeting()
+ {
+ return $this->dayPartTargeting;
+ }
+ public function setGeoTargeting(Google_Service_Dfareporting_GeoTargeting $geoTargeting)
+ {
+ $this->geoTargeting = $geoTargeting;
+ }
+ public function getGeoTargeting()
+ {
+ return $this->geoTargeting;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKeyValueTargetingExpression(Google_Service_Dfareporting_KeyValueTargetingExpression $keyValueTargetingExpression)
+ {
+ $this->keyValueTargetingExpression = $keyValueTargetingExpression;
+ }
+ public function getKeyValueTargetingExpression()
+ {
+ return $this->keyValueTargetingExpression;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLanguageTargeting(Google_Service_Dfareporting_LanguageTargeting $languageTargeting)
+ {
+ $this->languageTargeting = $languageTargeting;
+ }
+ public function getLanguageTargeting()
+ {
+ return $this->languageTargeting;
+ }
+ public function setListTargetingExpression(Google_Service_Dfareporting_ListTargetingExpression $listTargetingExpression)
+ {
+ $this->listTargetingExpression = $listTargetingExpression;
+ }
+ public function getListTargetingExpression()
+ {
+ return $this->listTargetingExpression;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTechnologyTargeting(Google_Service_Dfareporting_TechnologyTargeting $technologyTargeting)
+ {
+ $this->technologyTargeting = $technologyTargeting;
+ }
+ public function getTechnologyTargeting()
+ {
+ return $this->technologyTargeting;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetingTemplatesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetingTemplatesListResponse.php
new file mode 100644
index 00000000..5cbe40fa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetingTemplatesListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_TargetingTemplatesListResponse extends Google_Collection
+{
+ protected $collection_key = 'targetingTemplates';
+ public $kind;
+ public $nextPageToken;
+ protected $targetingTemplatesType = 'Google_Service_Dfareporting_TargetingTemplate';
+ protected $targetingTemplatesDataType = '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 setTargetingTemplates($targetingTemplates)
+ {
+ $this->targetingTemplates = $targetingTemplates;
+ }
+ public function getTargetingTemplates()
+ {
+ return $this->targetingTemplates;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TechnologyTargeting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TechnologyTargeting.php
new file mode 100644
index 00000000..1284b19c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TechnologyTargeting.php
@@ -0,0 +1,82 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_TechnologyTargeting extends Google_Collection
+{
+ protected $collection_key = 'platformTypes';
+ protected $browsersType = 'Google_Service_Dfareporting_Browser';
+ protected $browsersDataType = 'array';
+ protected $connectionTypesType = 'Google_Service_Dfareporting_ConnectionType';
+ protected $connectionTypesDataType = 'array';
+ protected $mobileCarriersType = 'Google_Service_Dfareporting_MobileCarrier';
+ protected $mobileCarriersDataType = 'array';
+ protected $operatingSystemVersionsType = 'Google_Service_Dfareporting_OperatingSystemVersion';
+ protected $operatingSystemVersionsDataType = 'array';
+ protected $operatingSystemsType = 'Google_Service_Dfareporting_OperatingSystem';
+ protected $operatingSystemsDataType = 'array';
+ protected $platformTypesType = 'Google_Service_Dfareporting_PlatformType';
+ protected $platformTypesDataType = 'array';
+
+ public function setBrowsers($browsers)
+ {
+ $this->browsers = $browsers;
+ }
+ public function getBrowsers()
+ {
+ return $this->browsers;
+ }
+ public function setConnectionTypes($connectionTypes)
+ {
+ $this->connectionTypes = $connectionTypes;
+ }
+ public function getConnectionTypes()
+ {
+ return $this->connectionTypes;
+ }
+ public function setMobileCarriers($mobileCarriers)
+ {
+ $this->mobileCarriers = $mobileCarriers;
+ }
+ public function getMobileCarriers()
+ {
+ return $this->mobileCarriers;
+ }
+ public function setOperatingSystemVersions($operatingSystemVersions)
+ {
+ $this->operatingSystemVersions = $operatingSystemVersions;
+ }
+ public function getOperatingSystemVersions()
+ {
+ return $this->operatingSystemVersions;
+ }
+ public function setOperatingSystems($operatingSystems)
+ {
+ $this->operatingSystems = $operatingSystems;
+ }
+ public function getOperatingSystems()
+ {
+ return $this->operatingSystems;
+ }
+ public function setPlatformTypes($platformTypes)
+ {
+ $this->platformTypes = $platformTypes;
+ }
+ public function getPlatformTypes()
+ {
+ return $this->platformTypes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ThirdPartyAuthenticationToken.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ThirdPartyAuthenticationToken.php
new file mode 100644
index 00000000..5f240020
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ThirdPartyAuthenticationToken.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ThirdPartyAuthenticationToken extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ThirdPartyTrackingUrl.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ThirdPartyTrackingUrl.php
new file mode 100644
index 00000000..0c3afdf4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ThirdPartyTrackingUrl.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_ThirdPartyTrackingUrl extends Google_Model
+{
+ public $thirdPartyUrlType;
+ public $url;
+
+ public function setThirdPartyUrlType($thirdPartyUrlType)
+ {
+ $this->thirdPartyUrlType = $thirdPartyUrlType;
+ }
+ public function getThirdPartyUrlType()
+ {
+ return $this->thirdPartyUrlType;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TranscodeSetting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TranscodeSetting.php
new file mode 100644
index 00000000..dd691696
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TranscodeSetting.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_TranscodeSetting extends Google_Collection
+{
+ protected $collection_key = 'enabledVideoFormats';
+ public $enabledVideoFormats;
+ public $kind;
+
+ public function setEnabledVideoFormats($enabledVideoFormats)
+ {
+ $this->enabledVideoFormats = $enabledVideoFormats;
+ }
+ public function getEnabledVideoFormats()
+ {
+ return $this->enabledVideoFormats;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserDefinedVariableConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserDefinedVariableConfiguration.php
new file mode 100644
index 00000000..a3bf7433
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserDefinedVariableConfiguration.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_UserDefinedVariableConfiguration extends Google_Model
+{
+ public $dataType;
+ public $reportName;
+ public $variableType;
+
+ public function setDataType($dataType)
+ {
+ $this->dataType = $dataType;
+ }
+ public function getDataType()
+ {
+ return $this->dataType;
+ }
+ public function setReportName($reportName)
+ {
+ $this->reportName = $reportName;
+ }
+ public function getReportName()
+ {
+ return $this->reportName;
+ }
+ public function setVariableType($variableType)
+ {
+ $this->variableType = $variableType;
+ }
+ public function getVariableType()
+ {
+ return $this->variableType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserProfile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserProfile.php
new file mode 100644
index 00000000..55dffef4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserProfile.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_UserProfile extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserProfileList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserProfileList.php
new file mode 100644
index 00000000..57217604
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserProfileList.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_UserProfileList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRole.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRole.php
new file mode 100644
index 00000000..dfb7b1eb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRole.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_UserRole extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $accountId;
+ public $defaultUserRole;
+ public $id;
+ public $kind;
+ public $name;
+ public $parentUserRoleId;
+ protected $permissionsType = 'Google_Service_Dfareporting_UserRolePermission';
+ protected $permissionsDataType = 'array';
+ public $subaccountId;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setDefaultUserRole($defaultUserRole)
+ {
+ $this->defaultUserRole = $defaultUserRole;
+ }
+ public function getDefaultUserRole()
+ {
+ return $this->defaultUserRole;
+ }
+ 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 setParentUserRoleId($parentUserRoleId)
+ {
+ $this->parentUserRoleId = $parentUserRoleId;
+ }
+ public function getParentUserRoleId()
+ {
+ return $this->parentUserRoleId;
+ }
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermission.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermission.php
new file mode 100644
index 00000000..a6963c65
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermission.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_UserRolePermission extends Google_Model
+{
+ public $availability;
+ public $id;
+ public $kind;
+ public $name;
+ public $permissionGroupId;
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+ 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 setPermissionGroupId($permissionGroupId)
+ {
+ $this->permissionGroupId = $permissionGroupId;
+ }
+ public function getPermissionGroupId()
+ {
+ return $this->permissionGroupId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionGroup.php
new file mode 100644
index 00000000..2d07d1f7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionGroup.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_UserRolePermissionGroup extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionGroupsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionGroupsListResponse.php
new file mode 100644
index 00000000..db2370e1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionGroupsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_UserRolePermissionGroupsListResponse extends Google_Collection
+{
+ protected $collection_key = 'userRolePermissionGroups';
+ public $kind;
+ protected $userRolePermissionGroupsType = 'Google_Service_Dfareporting_UserRolePermissionGroup';
+ protected $userRolePermissionGroupsDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUserRolePermissionGroups($userRolePermissionGroups)
+ {
+ $this->userRolePermissionGroups = $userRolePermissionGroups;
+ }
+ public function getUserRolePermissionGroups()
+ {
+ return $this->userRolePermissionGroups;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionsListResponse.php
new file mode 100644
index 00000000..8e5092e4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_UserRolePermissionsListResponse extends Google_Collection
+{
+ protected $collection_key = 'userRolePermissions';
+ public $kind;
+ protected $userRolePermissionsType = 'Google_Service_Dfareporting_UserRolePermission';
+ protected $userRolePermissionsDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUserRolePermissions($userRolePermissions)
+ {
+ $this->userRolePermissions = $userRolePermissions;
+ }
+ public function getUserRolePermissions()
+ {
+ return $this->userRolePermissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolesListResponse.php
new file mode 100644
index 00000000..03f56d95
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolesListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_UserRolesListResponse extends Google_Collection
+{
+ protected $collection_key = 'userRoles';
+ public $kind;
+ public $nextPageToken;
+ protected $userRolesType = 'Google_Service_Dfareporting_UserRole';
+ protected $userRolesDataType = '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 setUserRoles($userRoles)
+ {
+ $this->userRoles = $userRoles;
+ }
+ public function getUserRoles()
+ {
+ return $this->userRoles;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoFormat.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoFormat.php
new file mode 100644
index 00000000..816cab22
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoFormat.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_VideoFormat extends Google_Model
+{
+ public $fileType;
+ public $id;
+ public $kind;
+ protected $resolutionType = 'Google_Service_Dfareporting_Size';
+ protected $resolutionDataType = '';
+ public $targetBitRate;
+
+ public function setFileType($fileType)
+ {
+ $this->fileType = $fileType;
+ }
+ public function getFileType()
+ {
+ return $this->fileType;
+ }
+ 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 setResolution(Google_Service_Dfareporting_Size $resolution)
+ {
+ $this->resolution = $resolution;
+ }
+ public function getResolution()
+ {
+ return $this->resolution;
+ }
+ public function setTargetBitRate($targetBitRate)
+ {
+ $this->targetBitRate = $targetBitRate;
+ }
+ public function getTargetBitRate()
+ {
+ return $this->targetBitRate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoFormatsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoFormatsListResponse.php
new file mode 100644
index 00000000..08cba30e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoFormatsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_VideoFormatsListResponse extends Google_Collection
+{
+ protected $collection_key = 'videoFormats';
+ public $kind;
+ protected $videoFormatsType = 'Google_Service_Dfareporting_VideoFormat';
+ protected $videoFormatsDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setVideoFormats($videoFormats)
+ {
+ $this->videoFormats = $videoFormats;
+ }
+ public function getVideoFormats()
+ {
+ return $this->videoFormats;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoOffset.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoOffset.php
new file mode 100644
index 00000000..0df6f9cf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoOffset.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_VideoOffset extends Google_Model
+{
+ public $offsetPercentage;
+ public $offsetSeconds;
+
+ public function setOffsetPercentage($offsetPercentage)
+ {
+ $this->offsetPercentage = $offsetPercentage;
+ }
+ public function getOffsetPercentage()
+ {
+ return $this->offsetPercentage;
+ }
+ public function setOffsetSeconds($offsetSeconds)
+ {
+ $this->offsetSeconds = $offsetSeconds;
+ }
+ public function getOffsetSeconds()
+ {
+ return $this->offsetSeconds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoSettings.php
new file mode 100644
index 00000000..4e4a0330
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoSettings.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dfareporting_VideoSettings extends Google_Model
+{
+ protected $companionSettingsType = 'Google_Service_Dfareporting_CompanionSetting';
+ protected $companionSettingsDataType = '';
+ public $kind;
+ protected $skippableSettingsType = 'Google_Service_Dfareporting_SkippableSetting';
+ protected $skippableSettingsDataType = '';
+ protected $transcodeSettingsType = 'Google_Service_Dfareporting_TranscodeSetting';
+ protected $transcodeSettingsDataType = '';
+
+ public function setCompanionSettings(Google_Service_Dfareporting_CompanionSetting $companionSettings)
+ {
+ $this->companionSettings = $companionSettings;
+ }
+ public function getCompanionSettings()
+ {
+ return $this->companionSettings;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSkippableSettings(Google_Service_Dfareporting_SkippableSetting $skippableSettings)
+ {
+ $this->skippableSettings = $skippableSettings;
+ }
+ public function getSkippableSettings()
+ {
+ return $this->skippableSettings;
+ }
+ public function setTranscodeSettings(Google_Service_Dfareporting_TranscodeSetting $transcodeSettings)
+ {
+ $this->transcodeSettings = $transcodeSettings;
+ }
+ public function getTranscodeSettings()
+ {
+ return $this->transcodeSettings;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory.php
new file mode 100644
index 00000000..fafcfaad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory.php
@@ -0,0 +1,1788 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory extends Google_Service
+{
+ /** View and manage customer related information. */
+ const ADMIN_DIRECTORY_CUSTOMER =
+ "https://www.googleapis.com/auth/admin.directory.customer";
+ /** View customer related information. */
+ const ADMIN_DIRECTORY_CUSTOMER_READONLY =
+ "https://www.googleapis.com/auth/admin.directory.customer.readonly";
+ /** 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 domains for your customers. */
+ const ADMIN_DIRECTORY_DOMAIN =
+ "https://www.googleapis.com/auth/admin.directory.domain";
+ /** View domains related to your customers. */
+ const ADMIN_DIRECTORY_DOMAIN_READONLY =
+ "https://www.googleapis.com/auth/admin.directory.domain.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 calendar resources on your domain. */
+ const ADMIN_DIRECTORY_RESOURCE_CALENDAR =
+ "https://www.googleapis.com/auth/admin.directory.resource.calendar";
+ /** View calendar resources on your domain. */
+ const ADMIN_DIRECTORY_RESOURCE_CALENDAR_READONLY =
+ "https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly";
+ /** Manage delegated admin roles for your domain. */
+ const ADMIN_DIRECTORY_ROLEMANAGEMENT =
+ "https://www.googleapis.com/auth/admin.directory.rolemanagement";
+ /** View delegated admin roles for your domain. */
+ const ADMIN_DIRECTORY_ROLEMANAGEMENT_READONLY =
+ "https://www.googleapis.com/auth/admin.directory.rolemanagement.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 $customers;
+ public $domainAliases;
+ public $domains;
+ public $groups;
+ public $groups_aliases;
+ public $members;
+ public $mobiledevices;
+ public $notifications;
+ public $orgunits;
+ public $privileges;
+ public $resources_calendars;
+ public $roleAssignments;
+ public $roles;
+ public $schemas;
+ public $tokens;
+ public $users;
+ public $users_aliases;
+ public $users_photos;
+ public $verificationCodes;
+
+ /**
+ * Constructs the internal representation of the Directory service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'admin/directory/v1/';
+ $this->version = 'directory_v1';
+ $this->serviceName = 'admin';
+
+ $this->asps = new Google_Service_Directory_Resource_Asps(
+ $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 Google_Service_Directory_Resource_Channels(
+ $this,
+ $this->serviceName,
+ 'channels',
+ array(
+ 'methods' => array(
+ 'stop' => array(
+ 'path' => '/admin/directory_v1/channels/stop',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->chromeosdevices = new Google_Service_Directory_Resource_Chromeosdevices(
+ $this,
+ $this->serviceName,
+ 'chromeosdevices',
+ array(
+ 'methods' => array(
+ 'action' => array(
+ 'path' => 'customer/{customerId}/devices/chromeos/{resourceId}/action',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => 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->customers = new Google_Service_Directory_Resource_Customers(
+ $this,
+ $this->serviceName,
+ 'customers',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'customers/{customerKey}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customerKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'customers/{customerKey}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'customerKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'customers/{customerKey}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'customerKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->domainAliases = new Google_Service_Directory_Resource_DomainAliases(
+ $this,
+ $this->serviceName,
+ 'domainAliases',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'customer/{customer}/domainaliases/{domainAliasName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'domainAliasName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'customer/{customer}/domainaliases/{domainAliasName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'domainAliasName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'customer/{customer}/domainaliases',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'customer/{customer}/domainaliases',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'parentDomainName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->domains = new Google_Service_Directory_Resource_Domains(
+ $this,
+ $this->serviceName,
+ 'domains',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'customer/{customer}/domains/{domainName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'domainName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'customer/{customer}/domains/{domainName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'domainName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'customer/{customer}/domains',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'customer/{customer}/domains',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->groups = new Google_Service_Directory_Resource_Groups(
+ $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',
+ ),
+ 'domain' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ '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 Google_Service_Directory_Resource_GroupsAliases(
+ $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 Google_Service_Directory_Resource_Members(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'roles' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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 Google_Service_Directory_Resource_Mobiledevices(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->notifications = new Google_Service_Directory_Resource_Notifications(
+ $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,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => 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 Google_Service_Directory_Resource_Orgunits(
+ $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,
+ ),
+ 'orgUnitPath' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'type' => 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->privileges = new Google_Service_Directory_Resource_Privileges(
+ $this,
+ $this->serviceName,
+ 'privileges',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'customer/{customer}/roles/ALL/privileges',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->resources_calendars = new Google_Service_Directory_Resource_ResourcesCalendars(
+ $this,
+ $this->serviceName,
+ 'calendars',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'customer/{customer}/resources/calendars/{calendarResourceId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'calendarResourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'customer/{customer}/resources/calendars/{calendarResourceId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'calendarResourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'customer/{customer}/resources/calendars',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'customer/{customer}/resources/calendars',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'customer/{customer}/resources/calendars/{calendarResourceId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'calendarResourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'customer/{customer}/resources/calendars/{calendarResourceId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'calendarResourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->roleAssignments = new Google_Service_Directory_Resource_RoleAssignments(
+ $this,
+ $this->serviceName,
+ 'roleAssignments',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'customer/{customer}/roleassignments/{roleAssignmentId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'roleAssignmentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'customer/{customer}/roleassignments/{roleAssignmentId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'roleAssignmentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'customer/{customer}/roleassignments',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'customer/{customer}/roleassignments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'roleId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'userKey' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->roles = new Google_Service_Directory_Resource_Roles(
+ $this,
+ $this->serviceName,
+ 'roles',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'customer/{customer}/roles/{roleId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'roleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'customer/{customer}/roles/{roleId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'roleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'customer/{customer}/roles',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'customer/{customer}/roles',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'customer/{customer}/roles/{roleId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'roleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'customer/{customer}/roles/{roleId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'roleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->schemas = new Google_Service_Directory_Resource_Schemas(
+ $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 Google_Service_Directory_Resource_Tokens(
+ $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 Google_Service_Directory_Resource_Users(
+ $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,
+ ),
+ 'customFieldMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'viewType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'users',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'list' => array(
+ 'path' => 'users',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customFieldMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customer' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'domain' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'event' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'viewType' => 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(
+ 'customFieldMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customer' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'domain' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'event' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'viewType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_aliases = new Google_Service_Directory_Resource_UsersAliases(
+ $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 Google_Service_Directory_Resource_UsersPhotos(
+ $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 Google_Service_Directory_Resource_VerificationCodes(
+ $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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Alias.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Alias.php
new file mode 100644
index 00000000..f9cf8e76
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Alias.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Alias extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Aliases.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Aliases.php
new file mode 100644
index 00000000..419bca95
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Aliases.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Aliases extends Google_Collection
+{
+ protected $collection_key = 'aliases';
+ public $aliases;
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Asp.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Asp.php
new file mode 100644
index 00000000..9a6dc3bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Asp.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Asp extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Asps.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Asps.php
new file mode 100644
index 00000000..05ca38b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Asps.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Asps extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CalendarResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CalendarResource.php
new file mode 100644
index 00000000..6a573ee6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CalendarResource.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_CalendarResource extends Google_Model
+{
+ public $etags;
+ public $kind;
+ public $resourceDescription;
+ public $resourceEmail;
+ public $resourceId;
+ public $resourceName;
+ public $resourceType;
+
+ 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 setResourceDescription($resourceDescription)
+ {
+ $this->resourceDescription = $resourceDescription;
+ }
+ public function getResourceDescription()
+ {
+ return $this->resourceDescription;
+ }
+ public function setResourceEmail($resourceEmail)
+ {
+ $this->resourceEmail = $resourceEmail;
+ }
+ public function getResourceEmail()
+ {
+ return $this->resourceEmail;
+ }
+ public function setResourceId($resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setResourceName($resourceName)
+ {
+ $this->resourceName = $resourceName;
+ }
+ public function getResourceName()
+ {
+ return $this->resourceName;
+ }
+ public function setResourceType($resourceType)
+ {
+ $this->resourceType = $resourceType;
+ }
+ public function getResourceType()
+ {
+ return $this->resourceType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CalendarResources.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CalendarResources.php
new file mode 100644
index 00000000..a6de5992
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CalendarResources.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_CalendarResources extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = 'Google_Service_Directory_CalendarResource';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Channel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Channel.php
new file mode 100644
index 00000000..63d6702c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Channel.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Channel extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDevice.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDevice.php
new file mode 100644
index 00000000..c4b7492e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDevice.php
@@ -0,0 +1,249 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_ChromeOsDevice extends Google_Collection
+{
+ protected $collection_key = 'recentUsers';
+ protected $activeTimeRangesType = 'Google_Service_Directory_ChromeOsDeviceActiveTimeRanges';
+ protected $activeTimeRangesDataType = 'array';
+ public $annotatedAssetId;
+ 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 = '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 setAnnotatedAssetId($annotatedAssetId)
+ {
+ $this->annotatedAssetId = $annotatedAssetId;
+ }
+ public function getAnnotatedAssetId()
+ {
+ return $this->annotatedAssetId;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceAction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceAction.php
new file mode 100644
index 00000000..4b27a170
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceAction.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_ChromeOsDeviceAction extends Google_Model
+{
+ public $action;
+ public $deprovisionReason;
+
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setDeprovisionReason($deprovisionReason)
+ {
+ $this->deprovisionReason = $deprovisionReason;
+ }
+ public function getDeprovisionReason()
+ {
+ return $this->deprovisionReason;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceActiveTimeRanges.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceActiveTimeRanges.php
new file mode 100644
index 00000000..d07a88bd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceActiveTimeRanges.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_ChromeOsDeviceActiveTimeRanges extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceRecentUsers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceRecentUsers.php
new file mode 100644
index 00000000..7e9de091
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceRecentUsers.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_ChromeOsDeviceRecentUsers extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDevices.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDevices.php
new file mode 100644
index 00000000..ca52967a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDevices.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_ChromeOsDevices extends Google_Collection
+{
+ protected $collection_key = 'chromeosdevices';
+ protected $chromeosdevicesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Customer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Customer.php
new file mode 100644
index 00000000..30461ac1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Customer.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Customer extends Google_Model
+{
+ public $alternateEmail;
+ public $customerCreationTime;
+ public $customerDomain;
+ public $etag;
+ public $id;
+ public $kind;
+ public $language;
+ public $phoneNumber;
+ protected $postalAddressType = 'Google_Service_Directory_CustomerPostalAddress';
+ protected $postalAddressDataType = '';
+
+ public function setAlternateEmail($alternateEmail)
+ {
+ $this->alternateEmail = $alternateEmail;
+ }
+ public function getAlternateEmail()
+ {
+ return $this->alternateEmail;
+ }
+ public function setCustomerCreationTime($customerCreationTime)
+ {
+ $this->customerCreationTime = $customerCreationTime;
+ }
+ public function getCustomerCreationTime()
+ {
+ return $this->customerCreationTime;
+ }
+ public function setCustomerDomain($customerDomain)
+ {
+ $this->customerDomain = $customerDomain;
+ }
+ public function getCustomerDomain()
+ {
+ return $this->customerDomain;
+ }
+ 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 setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setPhoneNumber($phoneNumber)
+ {
+ $this->phoneNumber = $phoneNumber;
+ }
+ public function getPhoneNumber()
+ {
+ return $this->phoneNumber;
+ }
+ public function setPostalAddress(Google_Service_Directory_CustomerPostalAddress $postalAddress)
+ {
+ $this->postalAddress = $postalAddress;
+ }
+ public function getPostalAddress()
+ {
+ return $this->postalAddress;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CustomerPostalAddress.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CustomerPostalAddress.php
new file mode 100644
index 00000000..bf05a06a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CustomerPostalAddress.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_CustomerPostalAddress extends Google_Model
+{
+ public $addressLine1;
+ public $addressLine2;
+ public $addressLine3;
+ public $contactName;
+ public $countryCode;
+ 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 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/DomainAlias.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/DomainAlias.php
new file mode 100644
index 00000000..5f5192b1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/DomainAlias.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_DomainAlias extends Google_Model
+{
+ public $creationTime;
+ public $domainAliasName;
+ public $etag;
+ public $kind;
+ public $parentDomainName;
+ public $verified;
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setDomainAliasName($domainAliasName)
+ {
+ $this->domainAliasName = $domainAliasName;
+ }
+ public function getDomainAliasName()
+ {
+ return $this->domainAliasName;
+ }
+ 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 setParentDomainName($parentDomainName)
+ {
+ $this->parentDomainName = $parentDomainName;
+ }
+ public function getParentDomainName()
+ {
+ return $this->parentDomainName;
+ }
+ public function setVerified($verified)
+ {
+ $this->verified = $verified;
+ }
+ public function getVerified()
+ {
+ return $this->verified;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/DomainAliases.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/DomainAliases.php
new file mode 100644
index 00000000..2b08b131
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/DomainAliases.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_DomainAliases extends Google_Collection
+{
+ protected $collection_key = 'domainAliases';
+ protected $domainAliasesType = 'Google_Service_Directory_DomainAlias';
+ protected $domainAliasesDataType = 'array';
+ public $etag;
+ public $kind;
+
+ public function setDomainAliases($domainAliases)
+ {
+ $this->domainAliases = $domainAliases;
+ }
+ public function getDomainAliases()
+ {
+ return $this->domainAliases;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Domains.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Domains.php
new file mode 100644
index 00000000..a1573a21
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Domains.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Domains extends Google_Collection
+{
+ protected $collection_key = 'domainAliases';
+ public $creationTime;
+ protected $domainAliasesType = 'Google_Service_Directory_DomainAlias';
+ protected $domainAliasesDataType = 'array';
+ public $domainName;
+ public $etag;
+ public $isPrimary;
+ public $kind;
+ public $verified;
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setDomainAliases($domainAliases)
+ {
+ $this->domainAliases = $domainAliases;
+ }
+ public function getDomainAliases()
+ {
+ return $this->domainAliases;
+ }
+ public function setDomainName($domainName)
+ {
+ $this->domainName = $domainName;
+ }
+ public function getDomainName()
+ {
+ return $this->domainName;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setIsPrimary($isPrimary)
+ {
+ $this->isPrimary = $isPrimary;
+ }
+ public function getIsPrimary()
+ {
+ return $this->isPrimary;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setVerified($verified)
+ {
+ $this->verified = $verified;
+ }
+ public function getVerified()
+ {
+ return $this->verified;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Domains2.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Domains2.php
new file mode 100644
index 00000000..73fbd448
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Domains2.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Domains2 extends Google_Collection
+{
+ protected $collection_key = 'domains';
+ protected $domainsType = 'Google_Service_Directory_Domains';
+ protected $domainsDataType = 'array';
+ public $etag;
+ public $kind;
+
+ public function setDomains($domains)
+ {
+ $this->domains = $domains;
+ }
+ public function getDomains()
+ {
+ return $this->domains;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Group.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Group.php
new file mode 100644
index 00000000..4d5c5534
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Group.php
@@ -0,0 +1,112 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Group extends Google_Collection
+{
+ protected $collection_key = 'nonEditableAliases';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Groups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Groups.php
new file mode 100644
index 00000000..fcd7ef5b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Groups.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Groups extends Google_Collection
+{
+ protected $collection_key = 'groups';
+ public $etag;
+ protected $groupsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Member.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Member.php
new file mode 100644
index 00000000..84713b82
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Member.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Member extends Google_Model
+{
+ public $email;
+ public $etag;
+ public $id;
+ public $kind;
+ public $role;
+ public $status;
+ 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 setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Members.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Members.php
new file mode 100644
index 00000000..6a7206d2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Members.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Members extends Google_Collection
+{
+ protected $collection_key = 'members';
+ public $etag;
+ public $kind;
+ protected $membersType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDevice.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDevice.php
new file mode 100644
index 00000000..c67448ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDevice.php
@@ -0,0 +1,383 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_MobileDevice extends Google_Collection
+{
+ protected $collection_key = 'otherAccountsInfo';
+ public $adbStatus;
+ protected $applicationsType = 'Google_Service_Directory_MobileDeviceApplications';
+ protected $applicationsDataType = 'array';
+ public $basebandVersion;
+ public $bootloaderVersion;
+ public $brand;
+ public $buildNumber;
+ public $defaultLanguage;
+ public $developerOptionsStatus;
+ public $deviceCompromisedStatus;
+ public $deviceId;
+ public $devicePasswordStatus;
+ public $email;
+ public $encryptionStatus;
+ public $etag;
+ public $firstSync;
+ public $hardware;
+ public $hardwareId;
+ public $imei;
+ public $kernelVersion;
+ public $kind;
+ public $lastSync;
+ public $managedAccountIsOnOwnerProfile;
+ public $manufacturer;
+ public $meid;
+ public $model;
+ public $name;
+ public $networkOperator;
+ public $os;
+ public $otherAccountsInfo;
+ public $privilege;
+ public $releaseVersion;
+ public $resourceId;
+ public $securityPatchLevel;
+ public $serialNumber;
+ public $status;
+ public $supportsWorkProfile;
+ public $type;
+ public $unknownSourcesStatus;
+ public $userAgent;
+ public $wifiMacAddress;
+
+ public function setAdbStatus($adbStatus)
+ {
+ $this->adbStatus = $adbStatus;
+ }
+ public function getAdbStatus()
+ {
+ return $this->adbStatus;
+ }
+ 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 setBootloaderVersion($bootloaderVersion)
+ {
+ $this->bootloaderVersion = $bootloaderVersion;
+ }
+ public function getBootloaderVersion()
+ {
+ return $this->bootloaderVersion;
+ }
+ public function setBrand($brand)
+ {
+ $this->brand = $brand;
+ }
+ public function getBrand()
+ {
+ return $this->brand;
+ }
+ 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 setDeveloperOptionsStatus($developerOptionsStatus)
+ {
+ $this->developerOptionsStatus = $developerOptionsStatus;
+ }
+ public function getDeveloperOptionsStatus()
+ {
+ return $this->developerOptionsStatus;
+ }
+ 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 setDevicePasswordStatus($devicePasswordStatus)
+ {
+ $this->devicePasswordStatus = $devicePasswordStatus;
+ }
+ public function getDevicePasswordStatus()
+ {
+ return $this->devicePasswordStatus;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setEncryptionStatus($encryptionStatus)
+ {
+ $this->encryptionStatus = $encryptionStatus;
+ }
+ public function getEncryptionStatus()
+ {
+ return $this->encryptionStatus;
+ }
+ 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 setHardware($hardware)
+ {
+ $this->hardware = $hardware;
+ }
+ public function getHardware()
+ {
+ return $this->hardware;
+ }
+ 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 setManufacturer($manufacturer)
+ {
+ $this->manufacturer = $manufacturer;
+ }
+ public function getManufacturer()
+ {
+ return $this->manufacturer;
+ }
+ 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 setOtherAccountsInfo($otherAccountsInfo)
+ {
+ $this->otherAccountsInfo = $otherAccountsInfo;
+ }
+ public function getOtherAccountsInfo()
+ {
+ return $this->otherAccountsInfo;
+ }
+ public function setPrivilege($privilege)
+ {
+ $this->privilege = $privilege;
+ }
+ public function getPrivilege()
+ {
+ return $this->privilege;
+ }
+ public function setReleaseVersion($releaseVersion)
+ {
+ $this->releaseVersion = $releaseVersion;
+ }
+ public function getReleaseVersion()
+ {
+ return $this->releaseVersion;
+ }
+ public function setResourceId($resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setSecurityPatchLevel($securityPatchLevel)
+ {
+ $this->securityPatchLevel = $securityPatchLevel;
+ }
+ public function getSecurityPatchLevel()
+ {
+ return $this->securityPatchLevel;
+ }
+ 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 setSupportsWorkProfile($supportsWorkProfile)
+ {
+ $this->supportsWorkProfile = $supportsWorkProfile;
+ }
+ public function getSupportsWorkProfile()
+ {
+ return $this->supportsWorkProfile;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUnknownSourcesStatus($unknownSourcesStatus)
+ {
+ $this->unknownSourcesStatus = $unknownSourcesStatus;
+ }
+ public function getUnknownSourcesStatus()
+ {
+ return $this->unknownSourcesStatus;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDeviceAction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDeviceAction.php
new file mode 100644
index 00000000..b829d0d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDeviceAction.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_MobileDeviceAction extends Google_Model
+{
+ public $action;
+
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDeviceApplications.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDeviceApplications.php
new file mode 100644
index 00000000..24f81570
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDeviceApplications.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_MobileDeviceApplications extends Google_Collection
+{
+ protected $collection_key = 'permission';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDevices.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDevices.php
new file mode 100644
index 00000000..8d7a3761
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDevices.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_MobileDevices extends Google_Collection
+{
+ protected $collection_key = 'mobiledevices';
+ public $etag;
+ public $kind;
+ protected $mobiledevicesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Notification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Notification.php
new file mode 100644
index 00000000..17884c12
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Notification.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Notification extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Notifications.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Notifications.php
new file mode 100644
index 00000000..8b7bbd61
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Notifications.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Notifications extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/OrgUnit.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/OrgUnit.php
new file mode 100644
index 00000000..dfa9c3b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/OrgUnit.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_OrgUnit extends Google_Model
+{
+ public $blockInheritance;
+ public $description;
+ public $etag;
+ public $kind;
+ public $name;
+ public $orgUnitId;
+ public $orgUnitPath;
+ public $parentOrgUnitId;
+ 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 setOrgUnitId($orgUnitId)
+ {
+ $this->orgUnitId = $orgUnitId;
+ }
+ public function getOrgUnitId()
+ {
+ return $this->orgUnitId;
+ }
+ public function setOrgUnitPath($orgUnitPath)
+ {
+ $this->orgUnitPath = $orgUnitPath;
+ }
+ public function getOrgUnitPath()
+ {
+ return $this->orgUnitPath;
+ }
+ public function setParentOrgUnitId($parentOrgUnitId)
+ {
+ $this->parentOrgUnitId = $parentOrgUnitId;
+ }
+ public function getParentOrgUnitId()
+ {
+ return $this->parentOrgUnitId;
+ }
+ public function setParentOrgUnitPath($parentOrgUnitPath)
+ {
+ $this->parentOrgUnitPath = $parentOrgUnitPath;
+ }
+ public function getParentOrgUnitPath()
+ {
+ return $this->parentOrgUnitPath;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/OrgUnits.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/OrgUnits.php
new file mode 100644
index 00000000..db604d57
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/OrgUnits.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_OrgUnits extends Google_Collection
+{
+ protected $collection_key = 'organizationUnits';
+ public $etag;
+ public $kind;
+ protected $organizationUnitsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Privilege.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Privilege.php
new file mode 100644
index 00000000..bb275168
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Privilege.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Privilege extends Google_Collection
+{
+ protected $collection_key = 'childPrivileges';
+ protected $childPrivilegesType = 'Google_Service_Directory_Privilege';
+ protected $childPrivilegesDataType = 'array';
+ public $etag;
+ public $isOuScopable;
+ public $kind;
+ public $privilegeName;
+ public $serviceId;
+ public $serviceName;
+
+ public function setChildPrivileges($childPrivileges)
+ {
+ $this->childPrivileges = $childPrivileges;
+ }
+ public function getChildPrivileges()
+ {
+ return $this->childPrivileges;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setIsOuScopable($isOuScopable)
+ {
+ $this->isOuScopable = $isOuScopable;
+ }
+ public function getIsOuScopable()
+ {
+ return $this->isOuScopable;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPrivilegeName($privilegeName)
+ {
+ $this->privilegeName = $privilegeName;
+ }
+ public function getPrivilegeName()
+ {
+ return $this->privilegeName;
+ }
+ public function setServiceId($serviceId)
+ {
+ $this->serviceId = $serviceId;
+ }
+ public function getServiceId()
+ {
+ return $this->serviceId;
+ }
+ public function setServiceName($serviceName)
+ {
+ $this->serviceName = $serviceName;
+ }
+ public function getServiceName()
+ {
+ return $this->serviceName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Privileges.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Privileges.php
new file mode 100644
index 00000000..952ff8d5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Privileges.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Privileges extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = 'Google_Service_Directory_Privilege';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Asps.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Asps.php
new file mode 100644
index 00000000..18b9c680
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Asps.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "asps" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $asps = $adminService->asps;
+ * </code>
+ */
+class Google_Service_Directory_Resource_Asps extends 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 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), "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 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), "Google_Service_Directory_Asps");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Channels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Channels.php
new file mode 100644
index 00000000..841a8198
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Channels.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "channels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $channels = $adminService->channels;
+ * </code>
+ */
+class Google_Service_Directory_Resource_Channels extends Google_Service_Resource
+{
+ /**
+ * Stop watching resources through this channel (channels.stop)
+ *
+ * @param Google_Service_Directory_Channel $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function stop(Google_Service_Directory_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Chromeosdevices.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Chromeosdevices.php
new file mode 100644
index 00000000..d44bfd16
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Chromeosdevices.php
@@ -0,0 +1,120 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "chromeosdevices" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $chromeosdevices = $adminService->chromeosdevices;
+ * </code>
+ */
+class Google_Service_Directory_Resource_Chromeosdevices extends Google_Service_Resource
+{
+ /**
+ * Take action on Chrome OS Device (chromeosdevices.action)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string $resourceId Immutable id of Chrome OS Device
+ * @param Google_Service_Directory_ChromeOsDeviceAction $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function action($customerId, $resourceId, Google_Service_Directory_ChromeOsDeviceAction $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'resourceId' => $resourceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('action', array($params));
+ }
+ /**
+ * 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 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), "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 int maxResults Maximum number of results to return. Default is 100
+ * @opt_param string orderBy Column to use for sorting results
+ * @opt_param string pageToken Token to specify next page in the list
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields.
+ * @opt_param string query Search string in the format given at
+ * http://support.google.com/chromeos/a/bin/answer.py?hl=en=1698333
+ * @opt_param string sortOrder Whether to return results in ascending or
+ * descending order. Only of use when orderBy is also used
+ * @return 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), "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 Google_Service_Directory_ChromeOsDevice $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields.
+ * @return Google_Service_Directory_ChromeOsDevice
+ */
+ public function patch($customerId, $deviceId, 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), "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 Google_Service_Directory_ChromeOsDevice $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields.
+ * @return Google_Service_Directory_ChromeOsDevice
+ */
+ public function update($customerId, $deviceId, 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), "Google_Service_Directory_ChromeOsDevice");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Customers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Customers.php
new file mode 100644
index 00000000..cae53ef3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Customers.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "customers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $customers = $adminService->customers;
+ * </code>
+ */
+class Google_Service_Directory_Resource_Customers extends Google_Service_Resource
+{
+ /**
+ * Retrieves a customer. (customers.get)
+ *
+ * @param string $customerKey Id of the customer to be retrieved
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Customer
+ */
+ public function get($customerKey, $optParams = array())
+ {
+ $params = array('customerKey' => $customerKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Directory_Customer");
+ }
+ /**
+ * Updates a customer. This method supports patch semantics. (customers.patch)
+ *
+ * @param string $customerKey Id of the customer to be updated
+ * @param Google_Service_Directory_Customer $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Customer
+ */
+ public function patch($customerKey, Google_Service_Directory_Customer $postBody, $optParams = array())
+ {
+ $params = array('customerKey' => $customerKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Directory_Customer");
+ }
+ /**
+ * Updates a customer. (customers.update)
+ *
+ * @param string $customerKey Id of the customer to be updated
+ * @param Google_Service_Directory_Customer $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Customer
+ */
+ public function update($customerKey, Google_Service_Directory_Customer $postBody, $optParams = array())
+ {
+ $params = array('customerKey' => $customerKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Directory_Customer");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/DomainAliases.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/DomainAliases.php
new file mode 100644
index 00000000..9a27afa4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/DomainAliases.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "domainAliases" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $domainAliases = $adminService->domainAliases;
+ * </code>
+ */
+class Google_Service_Directory_Resource_DomainAliases extends Google_Service_Resource
+{
+ /**
+ * Deletes a Domain Alias of the customer. (domainAliases.delete)
+ *
+ * @param string $customer Immutable id of the Google Apps account.
+ * @param string $domainAliasName Name of domain alias to be retrieved.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($customer, $domainAliasName, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'domainAliasName' => $domainAliasName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves a domain alias of the customer. (domainAliases.get)
+ *
+ * @param string $customer Immutable id of the Google Apps account.
+ * @param string $domainAliasName Name of domain alias to be retrieved.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_DomainAlias
+ */
+ public function get($customer, $domainAliasName, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'domainAliasName' => $domainAliasName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Directory_DomainAlias");
+ }
+ /**
+ * Inserts a Domain alias of the customer. (domainAliases.insert)
+ *
+ * @param string $customer Immutable id of the Google Apps account.
+ * @param Google_Service_Directory_DomainAlias $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_DomainAlias
+ */
+ public function insert($customer, Google_Service_Directory_DomainAlias $postBody, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Directory_DomainAlias");
+ }
+ /**
+ * Lists the domain aliases of the customer. (domainAliases.listDomainAliases)
+ *
+ * @param string $customer Immutable id of the Google Apps account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string parentDomainName Name of the parent domain for which domain
+ * aliases are to be fetched.
+ * @return Google_Service_Directory_DomainAliases
+ */
+ public function listDomainAliases($customer, $optParams = array())
+ {
+ $params = array('customer' => $customer);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Directory_DomainAliases");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Domains.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Domains.php
new file mode 100644
index 00000000..7e6fc27a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Domains.php
@@ -0,0 +1,82 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "domains" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $domains = $adminService->domains;
+ * </code>
+ */
+class Google_Service_Directory_Resource_Domains extends Google_Service_Resource
+{
+ /**
+ * Deletes a domain of the customer. (domains.delete)
+ *
+ * @param string $customer Immutable id of the Google Apps account.
+ * @param string $domainName Name of domain to be deleted
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($customer, $domainName, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'domainName' => $domainName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves a domain of the customer. (domains.get)
+ *
+ * @param string $customer Immutable id of the Google Apps account.
+ * @param string $domainName Name of domain to be retrieved
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Domains
+ */
+ public function get($customer, $domainName, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'domainName' => $domainName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Directory_Domains");
+ }
+ /**
+ * Inserts a domain of the customer. (domains.insert)
+ *
+ * @param string $customer Immutable id of the Google Apps account.
+ * @param Google_Service_Directory_Domains $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Domains
+ */
+ public function insert($customer, Google_Service_Directory_Domains $postBody, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Directory_Domains");
+ }
+ /**
+ * Lists the domains of the customer. (domains.listDomains)
+ *
+ * @param string $customer Immutable id of the Google Apps account.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Domains2
+ */
+ public function listDomains($customer, $optParams = array())
+ {
+ $params = array('customer' => $customer);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Directory_Domains2");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Groups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Groups.php
new file mode 100644
index 00000000..85960fd5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Groups.php
@@ -0,0 +1,120 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "groups" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $groups = $adminService->groups;
+ * </code>
+ */
+class Google_Service_Directory_Resource_Groups extends 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 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), "Google_Service_Directory_Group");
+ }
+ /**
+ * Create Group (groups.insert)
+ *
+ * @param Google_Service_Directory_Group $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Group
+ */
+ public function insert(Google_Service_Directory_Group $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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 pageToken Token to specify next page in the list
+ * @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 Google_Service_Directory_Groups
+ */
+ public function listGroups($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "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 Google_Service_Directory_Group $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Group
+ */
+ public function patch($groupKey, Google_Service_Directory_Group $postBody, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "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 Google_Service_Directory_Group $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Group
+ */
+ public function update($groupKey, Google_Service_Directory_Group $postBody, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Directory_Group");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/GroupsAliases.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/GroupsAliases.php
new file mode 100644
index 00000000..2a684876
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/GroupsAliases.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "aliases" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $aliases = $adminService->aliases;
+ * </code>
+ */
+class Google_Service_Directory_Resource_GroupsAliases extends 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 Google_Service_Directory_Alias $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Alias
+ */
+ public function insert($groupKey, Google_Service_Directory_Alias $postBody, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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), "Google_Service_Directory_Aliases");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Members.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Members.php
new file mode 100644
index 00000000..1dbdd8aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Members.php
@@ -0,0 +1,122 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "members" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $members = $adminService->members;
+ * </code>
+ */
+class Google_Service_Directory_Resource_Members extends 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 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), "Google_Service_Directory_Member");
+ }
+ /**
+ * Add user to the specified group. (members.insert)
+ *
+ * @param string $groupKey Email or immutable Id of the group
+ * @param Google_Service_Directory_Member $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Member
+ */
+ public function insert($groupKey, Google_Service_Directory_Member $postBody, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 int maxResults Maximum number of results to return. Default is 200
+ * @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.
+ * @return 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), "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 Google_Service_Directory_Member $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Member
+ */
+ public function patch($groupKey, $memberKey, 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), "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 Google_Service_Directory_Member $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Member
+ */
+ public function update($groupKey, $memberKey, 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), "Google_Service_Directory_Member");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Mobiledevices.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Mobiledevices.php
new file mode 100644
index 00000000..343d622a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Mobiledevices.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "mobiledevices" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $mobiledevices = $adminService->mobiledevices;
+ * </code>
+ */
+class Google_Service_Directory_Resource_Mobiledevices extends 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 Google_Service_Directory_MobileDeviceAction $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function action($customerId, $resourceId, 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 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), "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 int maxResults Maximum number of results to return. Default is 100
+ * @opt_param string orderBy Column to use for sorting results
+ * @opt_param string pageToken Token to specify next page in the list
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields.
+ * @opt_param string query Search string in the format given at
+ * http://support.google.com/a/bin/answer.py?hl=en=1408863#search
+ * @opt_param string sortOrder Whether to return results in ascending or
+ * descending order. Only of use when orderBy is also used
+ * @return 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), "Google_Service_Directory_MobileDevices");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Notifications.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Notifications.php
new file mode 100644
index 00000000..6c0981e2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Notifications.php
@@ -0,0 +1,108 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "notifications" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $notifications = $adminService->notifications;
+ * </code>
+ */
+class Google_Service_Directory_Resource_Notifications extends 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 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), "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 language The ISO 639-1 code of the language notifications
+ * are returned in. The default is English (en).
+ * @opt_param string maxResults Maximum number of notifications to return per
+ * page. The default is 100.
+ * @opt_param string pageToken The token to specify the page of results to
+ * retrieve.
+ * @return 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), "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 Google_Service_Directory_Notification $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Notification
+ */
+ public function patch($customer, $notificationId, 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), "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 Google_Service_Directory_Notification $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Notification
+ */
+ public function update($customer, $notificationId, 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), "Google_Service_Directory_Notification");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Orgunits.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Orgunits.php
new file mode 100644
index 00000000..233f08b6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Orgunits.php
@@ -0,0 +1,118 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "orgunits" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $orgunits = $adminService->orgunits;
+ * </code>
+ */
+class Google_Service_Directory_Resource_Orgunits extends Google_Service_Resource
+{
+ /**
+ * Remove Organization Unit (orgunits.delete)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string|array $orgUnitPath Full path of the organization unit or its Id
+ * @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|array $orgUnitPath Full path of the organization unit or its Id
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Directory_OrgUnit");
+ }
+ /**
+ * Add Organization Unit (orgunits.insert)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param Google_Service_Directory_OrgUnit $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_OrgUnit
+ */
+ public function insert($customerId, Google_Service_Directory_OrgUnit $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 orgUnitPath the URL-encoded organization unit's path or its
+ * Id
+ * @opt_param string type Whether to return all sub-organizations or just
+ * immediate children
+ * @return 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), "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|array $orgUnitPath Full path of the organization unit or its Id
+ * @param Google_Service_Directory_OrgUnit $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_OrgUnit
+ */
+ public function patch($customerId, $orgUnitPath, 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), "Google_Service_Directory_OrgUnit");
+ }
+ /**
+ * Update Organization Unit (orgunits.update)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string|array $orgUnitPath Full path of the organization unit or its Id
+ * @param Google_Service_Directory_OrgUnit $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_OrgUnit
+ */
+ public function update($customerId, $orgUnitPath, 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), "Google_Service_Directory_OrgUnit");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Privileges.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Privileges.php
new file mode 100644
index 00000000..2e55cb62
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Privileges.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "privileges" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $privileges = $adminService->privileges;
+ * </code>
+ */
+class Google_Service_Directory_Resource_Privileges extends Google_Service_Resource
+{
+ /**
+ * Retrieves a paginated list of all privileges for a customer.
+ * (privileges.listPrivileges)
+ *
+ * @param string $customer Immutable ID of the Google Apps account.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Privileges
+ */
+ public function listPrivileges($customer, $optParams = array())
+ {
+ $params = array('customer' => $customer);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Directory_Privileges");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Resources.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Resources.php
new file mode 100644
index 00000000..a725d02a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Resources.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "resources" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $resources = $adminService->resources;
+ * </code>
+ */
+class Google_Service_Directory_Resource_Resources extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/ResourcesCalendars.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/ResourcesCalendars.php
new file mode 100644
index 00000000..822f20f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/ResourcesCalendars.php
@@ -0,0 +1,133 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "calendars" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $calendars = $adminService->calendars;
+ * </code>
+ */
+class Google_Service_Directory_Resource_ResourcesCalendars extends Google_Service_Resource
+{
+ /**
+ * Deletes a calendar resource. (calendars.delete)
+ *
+ * @param string $customer The unique ID for the customer's Google account. As
+ * an account administrator, you can also use the my_customer alias to represent
+ * your account's customer ID.
+ * @param string $calendarResourceId The unique ID of the calendar resource to
+ * delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($customer, $calendarResourceId, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'calendarResourceId' => $calendarResourceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves a calendar resource. (calendars.get)
+ *
+ * @param string $customer The unique ID for the customer's Google account. As
+ * an account administrator, you can also use the my_customer alias to represent
+ * your account's customer ID.
+ * @param string $calendarResourceId The unique ID of the calendar resource to
+ * retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_CalendarResource
+ */
+ public function get($customer, $calendarResourceId, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'calendarResourceId' => $calendarResourceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Directory_CalendarResource");
+ }
+ /**
+ * Inserts a calendar resource. (calendars.insert)
+ *
+ * @param string $customer The unique ID for the customer's Google account. As
+ * an account administrator, you can also use the my_customer alias to represent
+ * your account's customer ID.
+ * @param Google_Service_Directory_CalendarResource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_CalendarResource
+ */
+ public function insert($customer, Google_Service_Directory_CalendarResource $postBody, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Directory_CalendarResource");
+ }
+ /**
+ * Retrieves a list of calendar resources for an account.
+ * (calendars.listResourcesCalendars)
+ *
+ * @param string $customer The unique ID for the customer's Google account. As
+ * an account administrator, you can also use the my_customer alias to represent
+ * your account's customer ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Token to specify the next page in the list.
+ * @return Google_Service_Directory_CalendarResources
+ */
+ public function listResourcesCalendars($customer, $optParams = array())
+ {
+ $params = array('customer' => $customer);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Directory_CalendarResources");
+ }
+ /**
+ * Updates a calendar resource. This method supports patch semantics.
+ * (calendars.patch)
+ *
+ * @param string $customer The unique ID for the customer's Google account. As
+ * an account administrator, you can also use the my_customer alias to represent
+ * your account's customer ID.
+ * @param string $calendarResourceId The unique ID of the calendar resource to
+ * update.
+ * @param Google_Service_Directory_CalendarResource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_CalendarResource
+ */
+ public function patch($customer, $calendarResourceId, Google_Service_Directory_CalendarResource $postBody, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'calendarResourceId' => $calendarResourceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Directory_CalendarResource");
+ }
+ /**
+ * Updates a calendar resource. (calendars.update)
+ *
+ * @param string $customer The unique ID for the customer's Google account. As
+ * an account administrator, you can also use the my_customer alias to represent
+ * your account's customer ID.
+ * @param string $calendarResourceId The unique ID of the calendar resource to
+ * update.
+ * @param Google_Service_Directory_CalendarResource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_CalendarResource
+ */
+ public function update($customer, $calendarResourceId, Google_Service_Directory_CalendarResource $postBody, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'calendarResourceId' => $calendarResourceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Directory_CalendarResource");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/RoleAssignments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/RoleAssignments.php
new file mode 100644
index 00000000..78be4cee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/RoleAssignments.php
@@ -0,0 +1,91 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "roleAssignments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $roleAssignments = $adminService->roleAssignments;
+ * </code>
+ */
+class Google_Service_Directory_Resource_RoleAssignments extends Google_Service_Resource
+{
+ /**
+ * Deletes a role assignment. (roleAssignments.delete)
+ *
+ * @param string $customer Immutable ID of the Google Apps account.
+ * @param string $roleAssignmentId Immutable ID of the role assignment.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($customer, $roleAssignmentId, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'roleAssignmentId' => $roleAssignmentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieve a role assignment. (roleAssignments.get)
+ *
+ * @param string $customer Immutable ID of the Google Apps account.
+ * @param string $roleAssignmentId Immutable ID of the role assignment.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_RoleAssignment
+ */
+ public function get($customer, $roleAssignmentId, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'roleAssignmentId' => $roleAssignmentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Directory_RoleAssignment");
+ }
+ /**
+ * Creates a role assignment. (roleAssignments.insert)
+ *
+ * @param string $customer Immutable ID of the Google Apps account.
+ * @param Google_Service_Directory_RoleAssignment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_RoleAssignment
+ */
+ public function insert($customer, Google_Service_Directory_RoleAssignment $postBody, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Directory_RoleAssignment");
+ }
+ /**
+ * Retrieves a paginated list of all roleAssignments.
+ * (roleAssignments.listRoleAssignments)
+ *
+ * @param string $customer Immutable ID of the Google Apps account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Token to specify the next page in the list.
+ * @opt_param string roleId Immutable ID of a role. If included in the request,
+ * returns only role assignments containing this role ID.
+ * @opt_param string userKey The user's primary email address, alias email
+ * address, or unique user ID. If included in the request, returns role
+ * assignments only for this user.
+ * @return Google_Service_Directory_RoleAssignments
+ */
+ public function listRoleAssignments($customer, $optParams = array())
+ {
+ $params = array('customer' => $customer);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Directory_RoleAssignments");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Roles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Roles.php
new file mode 100644
index 00000000..93036598
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Roles.php
@@ -0,0 +1,115 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "roles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $roles = $adminService->roles;
+ * </code>
+ */
+class Google_Service_Directory_Resource_Roles extends Google_Service_Resource
+{
+ /**
+ * Deletes a role. (roles.delete)
+ *
+ * @param string $customer Immutable ID of the Google Apps account.
+ * @param string $roleId Immutable ID of the role.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($customer, $roleId, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'roleId' => $roleId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves a role. (roles.get)
+ *
+ * @param string $customer Immutable ID of the Google Apps account.
+ * @param string $roleId Immutable ID of the role.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Role
+ */
+ public function get($customer, $roleId, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'roleId' => $roleId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Directory_Role");
+ }
+ /**
+ * Creates a role. (roles.insert)
+ *
+ * @param string $customer Immutable ID of the Google Apps account.
+ * @param Google_Service_Directory_Role $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Role
+ */
+ public function insert($customer, Google_Service_Directory_Role $postBody, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Directory_Role");
+ }
+ /**
+ * Retrieves a paginated list of all the roles in a domain. (roles.listRoles)
+ *
+ * @param string $customer Immutable id of the Google Apps account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Token to specify the next page in the list.
+ * @return Google_Service_Directory_Roles
+ */
+ public function listRoles($customer, $optParams = array())
+ {
+ $params = array('customer' => $customer);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Directory_Roles");
+ }
+ /**
+ * Updates a role. This method supports patch semantics. (roles.patch)
+ *
+ * @param string $customer Immutable ID of the Google Apps account.
+ * @param string $roleId Immutable ID of the role.
+ * @param Google_Service_Directory_Role $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Role
+ */
+ public function patch($customer, $roleId, Google_Service_Directory_Role $postBody, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'roleId' => $roleId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Directory_Role");
+ }
+ /**
+ * Updates a role. (roles.update)
+ *
+ * @param string $customer Immutable ID of the Google Apps account.
+ * @param string $roleId Immutable ID of the role.
+ * @param Google_Service_Directory_Role $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Role
+ */
+ public function update($customer, $roleId, Google_Service_Directory_Role $postBody, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'roleId' => $roleId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Directory_Role");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Schemas.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Schemas.php
new file mode 100644
index 00000000..4592c082
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Schemas.php
@@ -0,0 +1,112 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "schemas" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $schemas = $adminService->schemas;
+ * </code>
+ */
+class Google_Service_Directory_Resource_Schemas extends 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 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), "Google_Service_Directory_Schema");
+ }
+ /**
+ * Create schema. (schemas.insert)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param Google_Service_Directory_Schema $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Schema
+ */
+ public function insert($customerId, Google_Service_Directory_Schema $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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), "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 Google_Service_Directory_Schema $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Schema
+ */
+ public function patch($customerId, $schemaKey, 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), "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 Google_Service_Directory_Schema $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Schema
+ */
+ public function update($customerId, $schemaKey, 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), "Google_Service_Directory_Schema");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Tokens.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Tokens.php
new file mode 100644
index 00000000..fed72312
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Tokens.php
@@ -0,0 +1,74 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "tokens" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $tokens = $adminService->tokens;
+ * </code>
+ */
+class Google_Service_Directory_Resource_Tokens extends 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 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), "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 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), "Google_Service_Directory_Tokens");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Users.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Users.php
new file mode 100644
index 00000000..111b287e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Users.php
@@ -0,0 +1,207 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $users = $adminService->users;
+ * </code>
+ */
+class Google_Service_Directory_Resource_Users extends 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 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.
+ * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC
+ * view of the user.
+ * @return 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), "Google_Service_Directory_User");
+ }
+ /**
+ * create user. (users.insert)
+ *
+ * @param Google_Service_Directory_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_User
+ */
+ public function insert(Google_Service_Directory_User $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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 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 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 event Event on which subscription is intended (if
+ * subscribing)
+ * @opt_param int maxResults Maximum number of results to return. Default is
+ * 100. Max allowed is 500
+ * @opt_param string orderBy Column to use for sorting results
+ * @opt_param string pageToken Token to specify next page in the list
+ * @opt_param string projection What subset of fields to fetch for this user.
+ * @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 showDeleted If set to true retrieves the list of deleted
+ * users. Default is false
+ * @opt_param string sortOrder Whether to return results in ascending or
+ * descending order.
+ * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC
+ * view of the user.
+ * @return Google_Service_Directory_Users
+ */
+ public function listUsers($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "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 Google_Service_Directory_UserMakeAdmin $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function makeAdmin($userKey, 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 Google_Service_Directory_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_User
+ */
+ public function patch($userKey, Google_Service_Directory_User $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Directory_User");
+ }
+ /**
+ * Undelete a deleted user (users.undelete)
+ *
+ * @param string $userKey The immutable id of the user
+ * @param Google_Service_Directory_UserUndelete $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function undelete($userKey, 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 Google_Service_Directory_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_User
+ */
+ public function update($userKey, Google_Service_Directory_User $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Directory_User");
+ }
+ /**
+ * Watch for changes in users list (users.watch)
+ *
+ * @param Google_Service_Directory_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @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 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 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 event Event on which subscription is intended (if
+ * subscribing)
+ * @opt_param int maxResults Maximum number of results to return. Default is
+ * 100. Max allowed is 500
+ * @opt_param string orderBy Column to use for sorting results
+ * @opt_param string pageToken Token to specify next page in the list
+ * @opt_param string projection What subset of fields to fetch for this user.
+ * @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 showDeleted If set to true retrieves the list of deleted
+ * users. Default is false
+ * @opt_param string sortOrder Whether to return results in ascending or
+ * descending order.
+ * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC
+ * view of the user.
+ * @return Google_Service_Directory_Channel
+ */
+ public function watch(Google_Service_Directory_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Google_Service_Directory_Channel");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/UsersAliases.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/UsersAliases.php
new file mode 100644
index 00000000..545b4271
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/UsersAliases.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "aliases" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $aliases = $adminService->aliases;
+ * </code>
+ */
+class Google_Service_Directory_Resource_UsersAliases extends 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 Google_Service_Directory_Alias $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Alias
+ */
+ public function insert($userKey, Google_Service_Directory_Alias $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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), "Google_Service_Directory_Aliases");
+ }
+ /**
+ * Watch for changes in user aliases list (aliases.watch)
+ *
+ * @param string $userKey Email or immutable Id of the user
+ * @param Google_Service_Directory_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string event Event on which subscription is intended (if
+ * subscribing)
+ * @return Google_Service_Directory_Channel
+ */
+ public function watch($userKey, Google_Service_Directory_Channel $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Google_Service_Directory_Channel");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/UsersPhotos.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/UsersPhotos.php
new file mode 100644
index 00000000..6b3e5a32
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/UsersPhotos.php
@@ -0,0 +1,82 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "photos" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $photos = $adminService->photos;
+ * </code>
+ */
+class Google_Service_Directory_Resource_UsersPhotos extends 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 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), "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 Google_Service_Directory_UserPhoto $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_UserPhoto
+ */
+ public function patch($userKey, Google_Service_Directory_UserPhoto $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Directory_UserPhoto");
+ }
+ /**
+ * Add a photo for the user (photos.update)
+ *
+ * @param string $userKey Email or immutable Id of the user
+ * @param Google_Service_Directory_UserPhoto $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_UserPhoto
+ */
+ public function update($userKey, Google_Service_Directory_UserPhoto $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Directory_UserPhoto");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/VerificationCodes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/VerificationCodes.php
new file mode 100644
index 00000000..e67ff742
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/VerificationCodes.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "verificationCodes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Directory(...);
+ * $verificationCodes = $adminService->verificationCodes;
+ * </code>
+ */
+class Google_Service_Directory_Resource_VerificationCodes extends 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 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), "Google_Service_Directory_VerificationCodes");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Role.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Role.php
new file mode 100644
index 00000000..8bc11164
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Role.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Role extends Google_Collection
+{
+ protected $collection_key = 'rolePrivileges';
+ public $etag;
+ public $isSuperAdminRole;
+ public $isSystemRole;
+ public $kind;
+ public $roleDescription;
+ public $roleId;
+ public $roleName;
+ protected $rolePrivilegesType = 'Google_Service_Directory_RoleRolePrivileges';
+ protected $rolePrivilegesDataType = 'array';
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setIsSuperAdminRole($isSuperAdminRole)
+ {
+ $this->isSuperAdminRole = $isSuperAdminRole;
+ }
+ public function getIsSuperAdminRole()
+ {
+ return $this->isSuperAdminRole;
+ }
+ public function setIsSystemRole($isSystemRole)
+ {
+ $this->isSystemRole = $isSystemRole;
+ }
+ public function getIsSystemRole()
+ {
+ return $this->isSystemRole;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRoleDescription($roleDescription)
+ {
+ $this->roleDescription = $roleDescription;
+ }
+ public function getRoleDescription()
+ {
+ return $this->roleDescription;
+ }
+ public function setRoleId($roleId)
+ {
+ $this->roleId = $roleId;
+ }
+ public function getRoleId()
+ {
+ return $this->roleId;
+ }
+ public function setRoleName($roleName)
+ {
+ $this->roleName = $roleName;
+ }
+ public function getRoleName()
+ {
+ return $this->roleName;
+ }
+ public function setRolePrivileges($rolePrivileges)
+ {
+ $this->rolePrivileges = $rolePrivileges;
+ }
+ public function getRolePrivileges()
+ {
+ return $this->rolePrivileges;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleAssignment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleAssignment.php
new file mode 100644
index 00000000..ed27cfc9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleAssignment.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_RoleAssignment extends Google_Model
+{
+ public $assignedTo;
+ public $etag;
+ public $kind;
+ public $orgUnitId;
+ public $roleAssignmentId;
+ public $roleId;
+ public $scopeType;
+
+ public function setAssignedTo($assignedTo)
+ {
+ $this->assignedTo = $assignedTo;
+ }
+ public function getAssignedTo()
+ {
+ return $this->assignedTo;
+ }
+ 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 setOrgUnitId($orgUnitId)
+ {
+ $this->orgUnitId = $orgUnitId;
+ }
+ public function getOrgUnitId()
+ {
+ return $this->orgUnitId;
+ }
+ public function setRoleAssignmentId($roleAssignmentId)
+ {
+ $this->roleAssignmentId = $roleAssignmentId;
+ }
+ public function getRoleAssignmentId()
+ {
+ return $this->roleAssignmentId;
+ }
+ public function setRoleId($roleId)
+ {
+ $this->roleId = $roleId;
+ }
+ public function getRoleId()
+ {
+ return $this->roleId;
+ }
+ public function setScopeType($scopeType)
+ {
+ $this->scopeType = $scopeType;
+ }
+ public function getScopeType()
+ {
+ return $this->scopeType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleAssignments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleAssignments.php
new file mode 100644
index 00000000..d1fbe4d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleAssignments.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_RoleAssignments extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = 'Google_Service_Directory_RoleAssignment';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleRolePrivileges.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleRolePrivileges.php
new file mode 100644
index 00000000..7de85b02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleRolePrivileges.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_RoleRolePrivileges extends Google_Model
+{
+ public $privilegeName;
+ public $serviceId;
+
+ public function setPrivilegeName($privilegeName)
+ {
+ $this->privilegeName = $privilegeName;
+ }
+ public function getPrivilegeName()
+ {
+ return $this->privilegeName;
+ }
+ public function setServiceId($serviceId)
+ {
+ $this->serviceId = $serviceId;
+ }
+ public function getServiceId()
+ {
+ return $this->serviceId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Roles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Roles.php
new file mode 100644
index 00000000..d65f436f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Roles.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Roles extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = 'Google_Service_Directory_Role';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Schema.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Schema.php
new file mode 100644
index 00000000..ed958bca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Schema.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Schema extends Google_Collection
+{
+ protected $collection_key = 'fields';
+ public $etag;
+ protected $fieldsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/SchemaFieldSpec.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/SchemaFieldSpec.php
new file mode 100644
index 00000000..c2bdac87
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/SchemaFieldSpec.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_SchemaFieldSpec extends Google_Model
+{
+ public $etag;
+ public $fieldId;
+ public $fieldName;
+ public $fieldType;
+ public $indexed;
+ public $kind;
+ public $multiValued;
+ protected $numericIndexingSpecType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/SchemaFieldSpecNumericIndexingSpec.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/SchemaFieldSpecNumericIndexingSpec.php
new file mode 100644
index 00000000..26a015e5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/SchemaFieldSpecNumericIndexingSpec.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Schemas.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Schemas.php
new file mode 100644
index 00000000..f5ab8e3d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Schemas.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Schemas extends Google_Collection
+{
+ protected $collection_key = 'schemas';
+ public $etag;
+ public $kind;
+ protected $schemasType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Token.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Token.php
new file mode 100644
index 00000000..c51391b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Token.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Token extends Google_Collection
+{
+ protected $collection_key = 'scopes';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Tokens.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Tokens.php
new file mode 100644
index 00000000..3174c8c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Tokens.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Tokens extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/User.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/User.php
new file mode 100644
index 00000000..e17d7c41
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/User.php
@@ -0,0 +1,356 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_User extends Google_Collection
+{
+ protected $collection_key = 'nonEditableAliases';
+ 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 $isEnforcedIn2Sv;
+ public $isEnrolledIn2Sv;
+ public $isMailboxSetup;
+ public $kind;
+ public $lastLoginTime;
+ protected $nameType = 'Google_Service_Directory_UserName';
+ protected $nameDataType = '';
+ public $nonEditableAliases;
+ public $notes;
+ public $orgUnitPath;
+ public $organizations;
+ public $password;
+ public $phones;
+ public $primaryEmail;
+ public $relations;
+ public $suspended;
+ public $suspensionReason;
+ public $thumbnailPhotoEtag;
+ public $thumbnailPhotoUrl;
+ public $websites;
+
+ 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 setIsEnforcedIn2Sv($isEnforcedIn2Sv)
+ {
+ $this->isEnforcedIn2Sv = $isEnforcedIn2Sv;
+ }
+ public function getIsEnforcedIn2Sv()
+ {
+ return $this->isEnforcedIn2Sv;
+ }
+ public function setIsEnrolledIn2Sv($isEnrolledIn2Sv)
+ {
+ $this->isEnrolledIn2Sv = $isEnrolledIn2Sv;
+ }
+ public function getIsEnrolledIn2Sv()
+ {
+ return $this->isEnrolledIn2Sv;
+ }
+ 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(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 setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+ 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 setThumbnailPhotoEtag($thumbnailPhotoEtag)
+ {
+ $this->thumbnailPhotoEtag = $thumbnailPhotoEtag;
+ }
+ public function getThumbnailPhotoEtag()
+ {
+ return $this->thumbnailPhotoEtag;
+ }
+ public function setThumbnailPhotoUrl($thumbnailPhotoUrl)
+ {
+ $this->thumbnailPhotoUrl = $thumbnailPhotoUrl;
+ }
+ public function getThumbnailPhotoUrl()
+ {
+ return $this->thumbnailPhotoUrl;
+ }
+ public function setWebsites($websites)
+ {
+ $this->websites = $websites;
+ }
+ public function getWebsites()
+ {
+ return $this->websites;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserAbout.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserAbout.php
new file mode 100644
index 00000000..10e4af5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserAbout.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_UserAbout extends Google_Model
+{
+ public $contentType;
+ public $value;
+
+ public function setContentType($contentType)
+ {
+ $this->contentType = $contentType;
+ }
+ public function getContentType()
+ {
+ return $this->contentType;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserAddress.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserAddress.php
new file mode 100644
index 00000000..0c68b39e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserAddress.php
@@ -0,0 +1,138 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_UserAddress extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserEmail.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserEmail.php
new file mode 100644
index 00000000..ed684d7e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserEmail.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_UserEmail extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserExternalId.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserExternalId.php
new file mode 100644
index 00000000..9eabc336
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserExternalId.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_UserExternalId extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserIm.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserIm.php
new file mode 100644
index 00000000..84522e4b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserIm.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_UserIm extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserMakeAdmin.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserMakeAdmin.php
new file mode 100644
index 00000000..8c5ac86b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserMakeAdmin.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_UserMakeAdmin extends Google_Model
+{
+ public $status;
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserName.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserName.php
new file mode 100644
index 00000000..677a5d99
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserName.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_UserName extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserOrganization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserOrganization.php
new file mode 100644
index 00000000..2481928b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserOrganization.php
@@ -0,0 +1,120 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_UserOrganization extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserPhone.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserPhone.php
new file mode 100644
index 00000000..2e13223c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserPhone.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_UserPhone extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserPhoto.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserPhoto.php
new file mode 100644
index 00000000..f667c80b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserPhoto.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_UserPhoto extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserRelation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserRelation.php
new file mode 100644
index 00000000..41e5c781
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserRelation.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_UserRelation extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserUndelete.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserUndelete.php
new file mode 100644
index 00000000..2b166047
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserUndelete.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_UserUndelete extends Google_Model
+{
+ public $orgUnitPath;
+
+ public function setOrgUnitPath($orgUnitPath)
+ {
+ $this->orgUnitPath = $orgUnitPath;
+ }
+ public function getOrgUnitPath()
+ {
+ return $this->orgUnitPath;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserWebsite.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserWebsite.php
new file mode 100644
index 00000000..4b2d0c24
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserWebsite.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_UserWebsite extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Users.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Users.php
new file mode 100644
index 00000000..ce525cf7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Users.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_Users extends Google_Collection
+{
+ protected $collection_key = 'users';
+ protected $internal_gapi_mappings = array(
+ "triggerEvent" => "trigger_event",
+ );
+ public $etag;
+ public $kind;
+ public $nextPageToken;
+ public $triggerEvent;
+ protected $usersType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/VerificationCode.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/VerificationCode.php
new file mode 100644
index 00000000..fbf95a3a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/VerificationCode.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_VerificationCode extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/VerificationCodes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/VerificationCodes.php
new file mode 100644
index 00000000..3d4a8b8d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/VerificationCodes.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Directory_VerificationCodes extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns.php
new file mode 100644
index 00000000..a6820eb9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns.php
@@ -0,0 +1,274 @@
+<?php
+/*
+ * Copyright 2016 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 (v1).
+ *
+ * <p>
+ * Configures and serves 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 Google_Service_Dns extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM_READ_ONLY =
+ "https://www.googleapis.com/auth/cloud-platform.read-only";
+ /** 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'dns/v1/projects/';
+ $this->version = 'v1';
+ $this->serviceName = 'dns';
+
+ $this->changes = new Google_Service_Dns_Resource_Changes(
+ $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 Google_Service_Dns_Resource_ManagedZones(
+ $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,
+ ),
+ 'dnsName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects = new Google_Service_Dns_Resource_Projects(
+ $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 Google_Service_Dns_Resource_ResourceRecordSets(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Change.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Change.php
new file mode 100644
index 00000000..7547319d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Change.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dns_Change extends Google_Collection
+{
+ protected $collection_key = 'deletions';
+ protected $additionsType = 'Google_Service_Dns_ResourceRecordSet';
+ protected $additionsDataType = 'array';
+ protected $deletionsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ChangesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ChangesListResponse.php
new file mode 100644
index 00000000..d5966aa1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ChangesListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dns_ChangesListResponse extends Google_Collection
+{
+ protected $collection_key = 'changes';
+ protected $changesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ManagedZone.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ManagedZone.php
new file mode 100644
index 00000000..1a325ee5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ManagedZone.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dns_ManagedZone extends Google_Collection
+{
+ protected $collection_key = 'nameServers';
+ public $creationTime;
+ public $description;
+ public $dnsName;
+ public $id;
+ public $kind;
+ public $name;
+ public $nameServerSet;
+ 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 setNameServerSet($nameServerSet)
+ {
+ $this->nameServerSet = $nameServerSet;
+ }
+ public function getNameServerSet()
+ {
+ return $this->nameServerSet;
+ }
+ public function setNameServers($nameServers)
+ {
+ $this->nameServers = $nameServers;
+ }
+ public function getNameServers()
+ {
+ return $this->nameServers;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ManagedZonesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ManagedZonesListResponse.php
new file mode 100644
index 00000000..3427f0de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ManagedZonesListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dns_ManagedZonesListResponse extends Google_Collection
+{
+ protected $collection_key = 'managedZones';
+ public $kind;
+ protected $managedZonesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Project.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Project.php
new file mode 100644
index 00000000..aaa65267
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Project.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dns_Project extends Google_Model
+{
+ public $id;
+ public $kind;
+ public $number;
+ protected $quotaType = '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(Google_Service_Dns_Quota $quota)
+ {
+ $this->quota = $quota;
+ }
+ public function getQuota()
+ {
+ return $this->quota;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Quota.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Quota.php
new file mode 100644
index 00000000..f08f06e1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Quota.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dns_Quota extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/Changes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/Changes.php
new file mode 100644
index 00000000..49f96f93
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/Changes.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "changes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dnsService = new Google_Service_Dns(...);
+ * $changes = $dnsService->changes;
+ * </code>
+ */
+class Google_Service_Dns_Resource_Changes extends 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 Google_Service_Dns_Change $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dns_Change
+ */
+ public function create($project, $managedZone, 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), "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 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), "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 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), "Google_Service_Dns_ChangesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/ManagedZones.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/ManagedZones.php
new file mode 100644
index 00000000..bbe8316c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/ManagedZones.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "managedZones" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dnsService = new Google_Service_Dns(...);
+ * $managedZones = $dnsService->managedZones;
+ * </code>
+ */
+class Google_Service_Dns_Resource_ManagedZones extends Google_Service_Resource
+{
+ /**
+ * Create a new ManagedZone. (managedZones.create)
+ *
+ * @param string $project Identifies the project addressed by this request.
+ * @param Google_Service_Dns_ManagedZone $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dns_ManagedZone
+ */
+ public function create($project, Google_Service_Dns_ManagedZone $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "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 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), "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 dnsName Restricts the list to return only zones with this
+ * 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.
+ * @return 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), "Google_Service_Dns_ManagedZonesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/Projects.php
new file mode 100644
index 00000000..db8ef93e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/Projects.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dnsService = new Google_Service_Dns(...);
+ * $projects = $dnsService->projects;
+ * </code>
+ */
+class Google_Service_Dns_Resource_Projects extends 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 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), "Google_Service_Dns_Project");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/ResourceRecordSets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/ResourceRecordSets.php
new file mode 100644
index 00000000..ee539fdf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/ResourceRecordSets.php
@@ -0,0 +1,54 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "resourceRecordSets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dnsService = new Google_Service_Dns(...);
+ * $resourceRecordSets = $dnsService->resourceRecordSets;
+ * </code>
+ */
+class Google_Service_Dns_Resource_ResourceRecordSets extends 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 int maxResults Optional. Maximum number of results to be returned.
+ * If unspecified, the server will decide how many results to return.
+ * @opt_param string name Restricts the list to return only records with this
+ * fully qualified domain name.
+ * @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 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), "Google_Service_Dns_ResourceRecordSetsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ResourceRecordSet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ResourceRecordSet.php
new file mode 100644
index 00000000..6a057eac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ResourceRecordSet.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dns_ResourceRecordSet extends Google_Collection
+{
+ protected $collection_key = 'rrdatas';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ResourceRecordSetsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ResourceRecordSetsListResponse.php
new file mode 100644
index 00000000..e86438f2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ResourceRecordSetsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Dns_ResourceRecordSetsListResponse extends Google_Collection
+{
+ protected $collection_key = 'rrsets';
+ public $kind;
+ public $nextPageToken;
+ protected $rrsetsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager.php
new file mode 100644
index 00000000..656266ed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager.php
@@ -0,0 +1,155 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager extends Google_Service
+{
+
+
+ public $lineitems;
+ public $queries;
+ public $reports;
+ public $sdf;
+
+ /**
+ * Constructs the internal representation of the DoubleClickBidManager
+ * service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'doubleclickbidmanager/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'doubleclickbidmanager';
+
+ $this->lineitems = new Google_Service_DoubleClickBidManager_Resource_Lineitems(
+ $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 Google_Service_DoubleClickBidManager_Resource_Queries(
+ $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 Google_Service_DoubleClickBidManager_Resource_Reports(
+ $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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->sdf = new Google_Service_DoubleClickBidManager_Resource_Sdf(
+ $this,
+ $this->serviceName,
+ 'sdf',
+ array(
+ 'methods' => array(
+ 'download' => array(
+ 'path' => 'sdf/download',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadLineItemsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadLineItemsRequest.php
new file mode 100644
index 00000000..08bb5c9d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadLineItemsRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_DownloadLineItemsRequest extends Google_Collection
+{
+ protected $collection_key = 'filterIds';
+ public $fileSpec;
+ public $filterIds;
+ public $filterType;
+ public $format;
+
+ public function setFileSpec($fileSpec)
+ {
+ $this->fileSpec = $fileSpec;
+ }
+ public function getFileSpec()
+ {
+ return $this->fileSpec;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadLineItemsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadLineItemsResponse.php
new file mode 100644
index 00000000..5fcebc41
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadLineItemsResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_DownloadLineItemsResponse extends Google_Model
+{
+ public $lineItems;
+
+ public function setLineItems($lineItems)
+ {
+ $this->lineItems = $lineItems;
+ }
+ public function getLineItems()
+ {
+ return $this->lineItems;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadRequest.php
new file mode 100644
index 00000000..062a89b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_DownloadRequest extends Google_Collection
+{
+ protected $collection_key = 'filterIds';
+ public $fileTypes;
+ public $filterIds;
+ public $filterType;
+ public $version;
+
+ public function setFileTypes($fileTypes)
+ {
+ $this->fileTypes = $fileTypes;
+ }
+ public function getFileTypes()
+ {
+ return $this->fileTypes;
+ }
+ 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 setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadResponse.php
new file mode 100644
index 00000000..4a289e82
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadResponse.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_DownloadResponse extends Google_Model
+{
+ public $adGroups;
+ public $ads;
+ public $insertionOrders;
+ public $lineItems;
+
+ public function setAdGroups($adGroups)
+ {
+ $this->adGroups = $adGroups;
+ }
+ public function getAdGroups()
+ {
+ return $this->adGroups;
+ }
+ public function setAds($ads)
+ {
+ $this->ads = $ads;
+ }
+ public function getAds()
+ {
+ return $this->ads;
+ }
+ public function setInsertionOrders($insertionOrders)
+ {
+ $this->insertionOrders = $insertionOrders;
+ }
+ public function getInsertionOrders()
+ {
+ return $this->insertionOrders;
+ }
+ public function setLineItems($lineItems)
+ {
+ $this->lineItems = $lineItems;
+ }
+ public function getLineItems()
+ {
+ return $this->lineItems;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/FilterPair.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/FilterPair.php
new file mode 100644
index 00000000..af28d25d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/FilterPair.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_FilterPair extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ListQueriesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ListQueriesResponse.php
new file mode 100644
index 00000000..ff2d7ec7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ListQueriesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_ListQueriesResponse extends Google_Collection
+{
+ protected $collection_key = 'queries';
+ public $kind;
+ protected $queriesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ListReportsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ListReportsResponse.php
new file mode 100644
index 00000000..45295b01
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ListReportsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_ListReportsResponse extends Google_Collection
+{
+ protected $collection_key = 'reports';
+ public $kind;
+ protected $reportsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Note.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Note.php
new file mode 100644
index 00000000..1443b729
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Note.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_Note extends Google_Model
+{
+ public $id;
+ public $message;
+ public $source;
+ public $timestamp;
+ public $username;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/NotifyProposalChangeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/NotifyProposalChangeRequest.php
new file mode 100644
index 00000000..81bf5449
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/NotifyProposalChangeRequest.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_NotifyProposalChangeRequest extends Google_Collection
+{
+ protected $collection_key = 'notes';
+ public $action;
+ public $href;
+ public $id;
+ protected $notesType = 'Google_Service_DoubleClickBidManager_Note';
+ protected $notesDataType = 'array';
+ public $token;
+
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ 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 setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Parameters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Parameters.php
new file mode 100644
index 00000000..6d16406f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Parameters.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_Parameters extends Google_Collection
+{
+ protected $collection_key = 'metrics';
+ protected $filtersType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Query.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Query.php
new file mode 100644
index 00000000..bed6d208
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Query.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_Query extends Google_Model
+{
+ public $kind;
+ protected $metadataType = 'Google_Service_DoubleClickBidManager_QueryMetadata';
+ protected $metadataDataType = '';
+ protected $paramsType = 'Google_Service_DoubleClickBidManager_Parameters';
+ protected $paramsDataType = '';
+ public $queryId;
+ public $reportDataEndTimeMs;
+ public $reportDataStartTimeMs;
+ protected $scheduleType = 'Google_Service_DoubleClickBidManager_QuerySchedule';
+ protected $scheduleDataType = '';
+ public $timezoneCode;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetadata(Google_Service_DoubleClickBidManager_QueryMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setParams(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QueryMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QueryMetadata.php
new file mode 100644
index 00000000..5409a6b9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QueryMetadata.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_QueryMetadata extends Google_Collection
+{
+ protected $collection_key = 'shareEmailAddress';
+ public $dataRange;
+ public $format;
+ public $googleCloudStoragePathForLatestReport;
+ public $googleDrivePathForLatestReport;
+ public $latestReportRunTimeMs;
+ public $locale;
+ 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 setLocale($locale)
+ {
+ $this->locale = $locale;
+ }
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QuerySchedule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QuerySchedule.php
new file mode 100644
index 00000000..47268685
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QuerySchedule.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_QuerySchedule extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Report.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Report.php
new file mode 100644
index 00000000..1a146db4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Report.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_Report extends Google_Model
+{
+ protected $keyType = 'Google_Service_DoubleClickBidManager_ReportKey';
+ protected $keyDataType = '';
+ protected $metadataType = 'Google_Service_DoubleClickBidManager_ReportMetadata';
+ protected $metadataDataType = '';
+ protected $paramsType = 'Google_Service_DoubleClickBidManager_Parameters';
+ protected $paramsDataType = '';
+
+ public function setKey(Google_Service_DoubleClickBidManager_ReportKey $key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setMetadata(Google_Service_DoubleClickBidManager_ReportMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setParams(Google_Service_DoubleClickBidManager_Parameters $params)
+ {
+ $this->params = $params;
+ }
+ public function getParams()
+ {
+ return $this->params;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportFailure.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportFailure.php
new file mode 100644
index 00000000..99be54fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportFailure.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_ReportFailure extends Google_Model
+{
+ public $errorCode;
+
+ public function setErrorCode($errorCode)
+ {
+ $this->errorCode = $errorCode;
+ }
+ public function getErrorCode()
+ {
+ return $this->errorCode;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportKey.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportKey.php
new file mode 100644
index 00000000..7c1f30dc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportKey.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_ReportKey extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportMetadata.php
new file mode 100644
index 00000000..8f4d9342
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportMetadata.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_ReportMetadata extends Google_Model
+{
+ public $googleCloudStoragePath;
+ public $reportDataEndTimeMs;
+ public $reportDataStartTimeMs;
+ protected $statusType = '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(Google_Service_DoubleClickBidManager_ReportStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportStatus.php
new file mode 100644
index 00000000..83f35473
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportStatus.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_ReportStatus extends Google_Model
+{
+ protected $failureType = 'Google_Service_DoubleClickBidManager_ReportFailure';
+ protected $failureDataType = '';
+ public $finishTimeMs;
+ public $format;
+ public $state;
+
+ public function setFailure(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Lineitems.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Lineitems.php
new file mode 100644
index 00000000..4dc8fe19
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Lineitems.php
@@ -0,0 +1,54 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "lineitems" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...);
+ * $lineitems = $doubleclickbidmanagerService->lineitems;
+ * </code>
+ */
+class Google_Service_DoubleClickBidManager_Resource_Lineitems extends Google_Service_Resource
+{
+ /**
+ * Retrieves line items in CSV format. (lineitems.downloadlineitems)
+ *
+ * @param Google_Service_DoubleClickBidManager_DownloadLineItemsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DoubleClickBidManager_DownloadLineItemsResponse
+ */
+ public function downloadlineitems(Google_Service_DoubleClickBidManager_DownloadLineItemsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('downloadlineitems', array($params), "Google_Service_DoubleClickBidManager_DownloadLineItemsResponse");
+ }
+ /**
+ * Uploads line items in CSV format. (lineitems.uploadlineitems)
+ *
+ * @param Google_Service_DoubleClickBidManager_UploadLineItemsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DoubleClickBidManager_UploadLineItemsResponse
+ */
+ public function uploadlineitems(Google_Service_DoubleClickBidManager_UploadLineItemsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('uploadlineitems', array($params), "Google_Service_DoubleClickBidManager_UploadLineItemsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Queries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Queries.php
new file mode 100644
index 00000000..86e13458
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Queries.php
@@ -0,0 +1,92 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "queries" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...);
+ * $queries = $doubleclickbidmanagerService->queries;
+ * </code>
+ */
+class Google_Service_DoubleClickBidManager_Resource_Queries extends Google_Service_Resource
+{
+ /**
+ * Creates a query. (queries.createquery)
+ *
+ * @param Google_Service_DoubleClickBidManager_Query $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DoubleClickBidManager_Query
+ */
+ public function createquery(Google_Service_DoubleClickBidManager_Query $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('createquery', array($params), "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 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), "Google_Service_DoubleClickBidManager_Query");
+ }
+ /**
+ * Retrieves stored queries. (queries.listqueries)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DoubleClickBidManager_ListQueriesResponse
+ */
+ public function listqueries($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('listqueries', array($params), "Google_Service_DoubleClickBidManager_ListQueriesResponse");
+ }
+ /**
+ * Runs a stored query to generate a report. (queries.runquery)
+ *
+ * @param string $queryId Query ID to run.
+ * @param Google_Service_DoubleClickBidManager_RunQueryRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function runquery($queryId, Google_Service_DoubleClickBidManager_RunQueryRequest $postBody, $optParams = array())
+ {
+ $params = array('queryId' => $queryId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('runquery', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Reports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Reports.php
new file mode 100644
index 00000000..a6e3e956
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Reports.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...);
+ * $reports = $doubleclickbidmanagerService->reports;
+ * </code>
+ */
+class Google_Service_DoubleClickBidManager_Resource_Reports extends 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 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), "Google_Service_DoubleClickBidManager_ListReportsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Rubicon.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Rubicon.php
new file mode 100644
index 00000000..e45fe907
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Rubicon.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "rubicon" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...);
+ * $rubicon = $doubleclickbidmanagerService->rubicon;
+ * </code>
+ */
+class Google_Service_DoubleClickBidManager_Resource_Rubicon extends Google_Service_Resource
+{
+ /**
+ * Update proposal upon actions of Rubicon publisher.
+ * (rubicon.notifyproposalchange)
+ *
+ * @param Google_Service_DoubleClickBidManager_NotifyProposalChangeRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function notifyproposalchange(Google_Service_DoubleClickBidManager_NotifyProposalChangeRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('notifyproposalchange', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Sdf.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Sdf.php
new file mode 100644
index 00000000..c94ee4a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Sdf.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "sdf" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...);
+ * $sdf = $doubleclickbidmanagerService->sdf;
+ * </code>
+ */
+class Google_Service_DoubleClickBidManager_Resource_Sdf extends Google_Service_Resource
+{
+ /**
+ * Retrieves entities in SDF format. (sdf.download)
+ *
+ * @param Google_Service_DoubleClickBidManager_DownloadRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DoubleClickBidManager_DownloadResponse
+ */
+ public function download(Google_Service_DoubleClickBidManager_DownloadRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('download', array($params), "Google_Service_DoubleClickBidManager_DownloadResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/RowStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/RowStatus.php
new file mode 100644
index 00000000..5644fe13
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/RowStatus.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_RowStatus extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/RunQueryRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/RunQueryRequest.php
new file mode 100644
index 00000000..3345b965
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/RunQueryRequest.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_RunQueryRequest extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadLineItemsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadLineItemsRequest.php
new file mode 100644
index 00000000..bc26187c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadLineItemsRequest.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_UploadLineItemsRequest extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadLineItemsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadLineItemsResponse.php
new file mode 100644
index 00000000..ec9dc789
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadLineItemsResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_UploadLineItemsResponse extends Google_Model
+{
+ protected $uploadStatusType = 'Google_Service_DoubleClickBidManager_UploadStatus';
+ protected $uploadStatusDataType = '';
+
+ public function setUploadStatus(Google_Service_DoubleClickBidManager_UploadStatus $uploadStatus)
+ {
+ $this->uploadStatus = $uploadStatus;
+ }
+ public function getUploadStatus()
+ {
+ return $this->uploadStatus;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadStatus.php
new file mode 100644
index 00000000..258519c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadStatus.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_DoubleClickBidManager_UploadStatus extends Google_Collection
+{
+ protected $collection_key = 'rowStatus';
+ public $errors;
+ protected $rowStatusType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch.php
new file mode 100644
index 00000000..6df519f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch.php
@@ -0,0 +1,242 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Reports and modifies 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 Google_Service_Doubleclicksearch extends 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'doubleclicksearch/v2/';
+ $this->version = 'v2';
+ $this->serviceName = 'doubleclicksearch';
+
+ $this->conversion = new Google_Service_Doubleclicksearch_Resource_Conversion(
+ $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',
+ ),
+ 'adId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'campaignId' => 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 Google_Service_Doubleclicksearch_Resource_Reports(
+ $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 Google_Service_Doubleclicksearch_Resource_SavedColumns(
+ $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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Availability.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Availability.php
new file mode 100644
index 00000000..9487d037
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Availability.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_Availability extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Conversion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Conversion.php
new file mode 100644
index 00000000..8ea6e5b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Conversion.php
@@ -0,0 +1,321 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_Conversion extends Google_Collection
+{
+ protected $collection_key = 'customMetric';
+ public $adGroupId;
+ public $adId;
+ public $advertiserId;
+ public $agencyId;
+ public $attributionModel;
+ public $campaignId;
+ public $channel;
+ public $clickId;
+ public $conversionId;
+ public $conversionModifiedTimestamp;
+ public $conversionTimestamp;
+ public $countMillis;
+ public $criterionId;
+ public $currencyCode;
+ protected $customDimensionType = 'Google_Service_Doubleclicksearch_CustomDimension';
+ protected $customDimensionDataType = 'array';
+ protected $customMetricType = 'Google_Service_Doubleclicksearch_CustomMetric';
+ protected $customMetricDataType = 'array';
+ public $deviceType;
+ public $dsConversionId;
+ public $engineAccountId;
+ public $floodlightOrderId;
+ public $inventoryAccountId;
+ public $productCountry;
+ public $productGroupId;
+ public $productId;
+ public $productLanguage;
+ public $quantityMillis;
+ public $revenueMicros;
+ public $segmentationId;
+ public $segmentationName;
+ public $segmentationType;
+ public $state;
+ public $storeId;
+ 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 setChannel($channel)
+ {
+ $this->channel = $channel;
+ }
+ public function getChannel()
+ {
+ return $this->channel;
+ }
+ 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 setDeviceType($deviceType)
+ {
+ $this->deviceType = $deviceType;
+ }
+ public function getDeviceType()
+ {
+ return $this->deviceType;
+ }
+ 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 setInventoryAccountId($inventoryAccountId)
+ {
+ $this->inventoryAccountId = $inventoryAccountId;
+ }
+ public function getInventoryAccountId()
+ {
+ return $this->inventoryAccountId;
+ }
+ public function setProductCountry($productCountry)
+ {
+ $this->productCountry = $productCountry;
+ }
+ public function getProductCountry()
+ {
+ return $this->productCountry;
+ }
+ public function setProductGroupId($productGroupId)
+ {
+ $this->productGroupId = $productGroupId;
+ }
+ public function getProductGroupId()
+ {
+ return $this->productGroupId;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setProductLanguage($productLanguage)
+ {
+ $this->productLanguage = $productLanguage;
+ }
+ public function getProductLanguage()
+ {
+ return $this->productLanguage;
+ }
+ 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 setStoreId($storeId)
+ {
+ $this->storeId = $storeId;
+ }
+ public function getStoreId()
+ {
+ return $this->storeId;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ConversionList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ConversionList.php
new file mode 100644
index 00000000..14ec937d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ConversionList.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_ConversionList extends Google_Collection
+{
+ protected $collection_key = 'conversion';
+ protected $conversionType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/CustomDimension.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/CustomDimension.php
new file mode 100644
index 00000000..2df84411
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/CustomDimension.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_CustomDimension extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/CustomMetric.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/CustomMetric.php
new file mode 100644
index 00000000..3f499106
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/CustomMetric.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_CustomMetric extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Report.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Report.php
new file mode 100644
index 00000000..1b696dab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Report.php
@@ -0,0 +1,105 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_Report extends Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $filesType = 'Google_Service_Doubleclicksearch_ReportFiles';
+ protected $filesDataType = 'array';
+ public $id;
+ public $isReportReady;
+ public $kind;
+ protected $requestType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportApiColumnSpec.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportApiColumnSpec.php
new file mode 100644
index 00000000..c4a3a4b1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportApiColumnSpec.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_ReportApiColumnSpec extends Google_Model
+{
+ public $columnName;
+ public $customDimensionName;
+ public $customMetricName;
+ public $endDate;
+ public $groupByColumn;
+ public $headerText;
+ public $platformSource;
+ public $productReportPerspective;
+ 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 setProductReportPerspective($productReportPerspective)
+ {
+ $this->productReportPerspective = $productReportPerspective;
+ }
+ public function getProductReportPerspective()
+ {
+ return $this->productReportPerspective;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportFiles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportFiles.php
new file mode 100644
index 00000000..e0a0aaa6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportFiles.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_ReportFiles extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequest.php
new file mode 100644
index 00000000..8fb74a78
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequest.php
@@ -0,0 +1,153 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_ReportRequest extends Google_Collection
+{
+ protected $collection_key = 'orderBy';
+ protected $columnsType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec';
+ protected $columnsDataType = 'array';
+ public $downloadFormat;
+ protected $filtersType = 'Google_Service_Doubleclicksearch_ReportRequestFilters';
+ protected $filtersDataType = 'array';
+ public $includeDeletedEntities;
+ public $includeRemovedEntities;
+ public $maxRowsPerFile;
+ protected $orderByType = 'Google_Service_Doubleclicksearch_ReportRequestOrderBy';
+ protected $orderByDataType = 'array';
+ protected $reportScopeType = 'Google_Service_Doubleclicksearch_ReportRequestReportScope';
+ protected $reportScopeDataType = '';
+ public $reportType;
+ public $rowCount;
+ public $startRow;
+ public $statisticsCurrency;
+ protected $timeRangeType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestFilters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestFilters.php
new file mode 100644
index 00000000..b3329743
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestFilters.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_ReportRequestFilters extends Google_Collection
+{
+ protected $collection_key = 'values';
+ protected $columnType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec';
+ protected $columnDataType = '';
+ public $operator;
+ public $values;
+
+ public function setColumn(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestOrderBy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestOrderBy.php
new file mode 100644
index 00000000..c2967c6c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestOrderBy.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_ReportRequestOrderBy extends Google_Model
+{
+ protected $columnType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec';
+ protected $columnDataType = '';
+ public $sortOrder;
+
+ public function setColumn(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestReportScope.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestReportScope.php
new file mode 100644
index 00000000..2323f7a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestReportScope.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_ReportRequestReportScope extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestTimeRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestTimeRange.php
new file mode 100644
index 00000000..d8c6338e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestTimeRange.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_ReportRequestTimeRange extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Conversion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Conversion.php
new file mode 100644
index 00000000..b7d6342e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Conversion.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "conversion" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
+ * $conversion = $doubleclicksearchService->conversion;
+ * </code>
+ */
+class Google_Service_Doubleclicksearch_Resource_Conversion extends 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 adId Numeric ID of the ad.
+ * @opt_param string campaignId Numeric ID of the campaign.
+ * @opt_param string criterionId Numeric ID of the criterion.
+ * @return 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), "Google_Service_Doubleclicksearch_ConversionList");
+ }
+ /**
+ * Inserts a batch of new conversions into DoubleClick Search.
+ * (conversion.insert)
+ *
+ * @param Google_Service_Doubleclicksearch_ConversionList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Doubleclicksearch_ConversionList
+ */
+ public function insert(Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 Google_Service_Doubleclicksearch_ConversionList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Doubleclicksearch_ConversionList
+ */
+ public function patch($advertiserId, $agencyId, $endDate, $engineAccountId, $rowCount, $startDate, $startRow, 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), "Google_Service_Doubleclicksearch_ConversionList");
+ }
+ /**
+ * Updates a batch of conversions in DoubleClick Search. (conversion.update)
+ *
+ * @param Google_Service_Doubleclicksearch_ConversionList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Doubleclicksearch_ConversionList
+ */
+ public function update(Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Doubleclicksearch_ConversionList");
+ }
+ /**
+ * Updates the availabilities of a batch of floodlight activities in DoubleClick
+ * Search. (conversion.updateAvailability)
+ *
+ * @param Google_Service_Doubleclicksearch_UpdateAvailabilityRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Doubleclicksearch_UpdateAvailabilityResponse
+ */
+ public function updateAvailability(Google_Service_Doubleclicksearch_UpdateAvailabilityRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateAvailability', array($params), "Google_Service_Doubleclicksearch_UpdateAvailabilityResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Reports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Reports.php
new file mode 100644
index 00000000..51f76f13
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Reports.php
@@ -0,0 +1,80 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
+ * $reports = $doubleclicksearchService->reports;
+ * </code>
+ */
+class Google_Service_Doubleclicksearch_Resource_Reports extends Google_Service_Resource
+{
+ /**
+ * Generates and returns a report immediately. (reports.generate)
+ *
+ * @param Google_Service_Doubleclicksearch_ReportRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Doubleclicksearch_Report
+ */
+ public function generate(Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('generate', array($params), "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 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), "Google_Service_Doubleclicksearch_Report");
+ }
+ /**
+ * Downloads a report file encoded in UTF-8. (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 Google_Service_Doubleclicksearch_ReportRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Doubleclicksearch_Report
+ */
+ public function request(Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('request', array($params), "Google_Service_Doubleclicksearch_Report");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/SavedColumns.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/SavedColumns.php
new file mode 100644
index 00000000..52783ab0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/SavedColumns.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "savedColumns" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
+ * $savedColumns = $doubleclicksearchService->savedColumns;
+ * </code>
+ */
+class Google_Service_Doubleclicksearch_Resource_SavedColumns extends 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 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), "Google_Service_Doubleclicksearch_SavedColumnList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/SavedColumn.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/SavedColumn.php
new file mode 100644
index 00000000..2328e440
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/SavedColumn.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_SavedColumn extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/SavedColumnList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/SavedColumnList.php
new file mode 100644
index 00000000..1eab97b4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/SavedColumnList.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_SavedColumnList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/UpdateAvailabilityRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/UpdateAvailabilityRequest.php
new file mode 100644
index 00000000..aab3acbd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/UpdateAvailabilityRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_UpdateAvailabilityRequest extends Google_Collection
+{
+ protected $collection_key = 'availabilities';
+ protected $availabilitiesType = 'Google_Service_Doubleclicksearch_Availability';
+ protected $availabilitiesDataType = 'array';
+
+ public function setAvailabilities($availabilities)
+ {
+ $this->availabilities = $availabilities;
+ }
+ public function getAvailabilities()
+ {
+ return $this->availabilities;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/UpdateAvailabilityResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/UpdateAvailabilityResponse.php
new file mode 100644
index 00000000..7e43f5a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/UpdateAvailabilityResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Doubleclicksearch_UpdateAvailabilityResponse extends Google_Collection
+{
+ protected $collection_key = 'availabilities';
+ protected $availabilitiesType = 'Google_Service_Doubleclicksearch_Availability';
+ protected $availabilitiesDataType = 'array';
+
+ public function setAvailabilities($availabilities)
+ {
+ $this->availabilities = $availabilities;
+ }
+ public function getAvailabilities()
+ {
+ return $this->availabilities;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive.php
new file mode 100644
index 00000000..8bfdfe79
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive.php
@@ -0,0 +1,914 @@
+<?php
+/*
+ * Copyright 2016 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 (v3).
+ *
+ * <p>
+ * Manages files in Drive including uploading, downloading, searching, detecting
+ * changes, and updating sharing permissions.</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 Google_Service_Drive extends Google_Service
+{
+ /** View and manage the files 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 and manage Google Drive files and folders that you have opened or created with this app. */
+ const DRIVE_FILE =
+ "https://www.googleapis.com/auth/drive.file";
+ /** View and manage metadata of files in your Google Drive. */
+ const DRIVE_METADATA =
+ "https://www.googleapis.com/auth/drive.metadata";
+ /** View metadata for files in your Google Drive. */
+ const DRIVE_METADATA_READONLY =
+ "https://www.googleapis.com/auth/drive.metadata.readonly";
+ /** View the photos, videos and albums in your Google Photos. */
+ const DRIVE_PHOTOS_READONLY =
+ "https://www.googleapis.com/auth/drive.photos.readonly";
+ /** View the files 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 $changes;
+ public $channels;
+ public $comments;
+ public $files;
+ public $permissions;
+ public $replies;
+ public $revisions;
+ public $teamdrives;
+
+ /**
+ * Constructs the internal representation of the Drive service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'drive/v3/';
+ $this->version = 'v3';
+ $this->serviceName = 'drive';
+
+ $this->about = new Google_Service_Drive_Resource_About(
+ $this,
+ $this->serviceName,
+ 'about',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'about',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->changes = new Google_Service_Drive_Resource_Changes(
+ $this,
+ $this->serviceName,
+ 'changes',
+ array(
+ 'methods' => array(
+ 'getStartPageToken' => array(
+ 'path' => 'changes/startPageToken',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'supportsTeamDrives' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'teamDriveId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'changes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'includeCorpusRemovals' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'includeRemoved' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'includeTeamDriveItems' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'restrictToMyDrive' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'spaces' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'supportsTeamDrives' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'teamDriveId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'watch' => array(
+ 'path' => 'changes/watch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'includeCorpusRemovals' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'includeRemoved' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'includeTeamDriveItems' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'restrictToMyDrive' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'spaces' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'supportsTeamDrives' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'teamDriveId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->channels = new Google_Service_Drive_Resource_Channels(
+ $this,
+ $this->serviceName,
+ 'channels',
+ array(
+ 'methods' => array(
+ 'stop' => array(
+ 'path' => 'channels/stop',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->comments = new Google_Service_Drive_Resource_Comments(
+ $this,
+ $this->serviceName,
+ 'comments',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'files/{fileId}/comments',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'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',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'files/{fileId}/comments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'includeDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startModifiedTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => 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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->files = new Google_Service_Drive_Resource_Files(
+ $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,
+ ),
+ 'ignoreDefaultVisibility' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'keepRevisionForever' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ocrLanguage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'supportsTeamDrives' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'files',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'ignoreDefaultVisibility' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'keepRevisionForever' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ocrLanguage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'supportsTeamDrives' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'useContentAsIndexableText' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'files/{fileId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'supportsTeamDrives' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'emptyTrash' => array(
+ 'path' => 'files/trash',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(),
+ ),'export' => array(
+ 'path' => 'files/{fileId}/export',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'mimeType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'generateIds' => array(
+ 'path' => 'files/generateIds',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'space' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'files/{fileId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'acknowledgeAbuse' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'supportsTeamDrives' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'files',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'corpora' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'corpus' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeTeamDriveItems' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'spaces' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'supportsTeamDrives' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'teamDriveId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'files/{fileId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'addParents' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'keepRevisionForever' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ocrLanguage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'removeParents' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'supportsTeamDrives' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'useContentAsIndexableText' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'watch' => array(
+ 'path' => 'files/{fileId}/watch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'acknowledgeAbuse' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'supportsTeamDrives' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->permissions = new Google_Service_Drive_Resource_Permissions(
+ $this,
+ $this->serviceName,
+ 'permissions',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'files/{fileId}/permissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'emailMessage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sendNotificationEmail' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'supportsTeamDrives' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'transferOwnership' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'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,
+ ),
+ 'supportsTeamDrives' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'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,
+ ),
+ 'supportsTeamDrives' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'files/{fileId}/permissions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'supportsTeamDrives' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => 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,
+ ),
+ 'removeExpiration' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'supportsTeamDrives' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'transferOwnership' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->replies = new Google_Service_Drive_Resource_Replies(
+ $this,
+ $this->serviceName,
+ 'replies',
+ array(
+ 'methods' => array(
+ 'create' => 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,
+ ),
+ ),
+ ),'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',
+ ),
+ ),
+ ),'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,
+ ),
+ 'includeDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => 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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->revisions = new Google_Service_Drive_Resource_Revisions(
+ $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,
+ ),
+ 'acknowledgeAbuse' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'files/{fileId}/revisions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => 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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->teamdrives = new Google_Service_Drive_Resource_Teamdrives(
+ $this,
+ $this->serviceName,
+ 'teamdrives',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'teamdrives',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'requestId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'teamdrives/{teamDriveId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'teamDriveId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'teamdrives/{teamDriveId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'teamDriveId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'teamdrives',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'teamdrives/{teamDriveId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'teamDriveId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/About.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/About.php
new file mode 100644
index 00000000..07d73694
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/About.php
@@ -0,0 +1,105 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_About extends Google_Collection
+{
+ protected $collection_key = 'folderColorPalette';
+ public $appInstalled;
+ public $exportFormats;
+ public $folderColorPalette;
+ public $importFormats;
+ public $kind;
+ public $maxImportSizes;
+ public $maxUploadSize;
+ protected $storageQuotaType = 'Google_Service_Drive_AboutStorageQuota';
+ protected $storageQuotaDataType = '';
+ protected $userType = 'Google_Service_Drive_User';
+ protected $userDataType = '';
+
+ public function setAppInstalled($appInstalled)
+ {
+ $this->appInstalled = $appInstalled;
+ }
+ public function getAppInstalled()
+ {
+ return $this->appInstalled;
+ }
+ public function setExportFormats($exportFormats)
+ {
+ $this->exportFormats = $exportFormats;
+ }
+ public function getExportFormats()
+ {
+ return $this->exportFormats;
+ }
+ public function setFolderColorPalette($folderColorPalette)
+ {
+ $this->folderColorPalette = $folderColorPalette;
+ }
+ public function getFolderColorPalette()
+ {
+ return $this->folderColorPalette;
+ }
+ public function setImportFormats($importFormats)
+ {
+ $this->importFormats = $importFormats;
+ }
+ public function getImportFormats()
+ {
+ return $this->importFormats;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaxImportSizes($maxImportSizes)
+ {
+ $this->maxImportSizes = $maxImportSizes;
+ }
+ public function getMaxImportSizes()
+ {
+ return $this->maxImportSizes;
+ }
+ public function setMaxUploadSize($maxUploadSize)
+ {
+ $this->maxUploadSize = $maxUploadSize;
+ }
+ public function getMaxUploadSize()
+ {
+ return $this->maxUploadSize;
+ }
+ public function setStorageQuota(Google_Service_Drive_AboutStorageQuota $storageQuota)
+ {
+ $this->storageQuota = $storageQuota;
+ }
+ public function getStorageQuota()
+ {
+ return $this->storageQuota;
+ }
+ public function setUser(Google_Service_Drive_User $user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/AboutStorageQuota.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/AboutStorageQuota.php
new file mode 100644
index 00000000..67aa7530
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/AboutStorageQuota.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_AboutStorageQuota extends Google_Model
+{
+ public $limit;
+ public $usage;
+ public $usageInDrive;
+ public $usageInDriveTrash;
+
+ public function setLimit($limit)
+ {
+ $this->limit = $limit;
+ }
+ public function getLimit()
+ {
+ return $this->limit;
+ }
+ public function setUsage($usage)
+ {
+ $this->usage = $usage;
+ }
+ public function getUsage()
+ {
+ return $this->usage;
+ }
+ public function setUsageInDrive($usageInDrive)
+ {
+ $this->usageInDrive = $usageInDrive;
+ }
+ public function getUsageInDrive()
+ {
+ return $this->usageInDrive;
+ }
+ public function setUsageInDriveTrash($usageInDriveTrash)
+ {
+ $this->usageInDriveTrash = $usageInDriveTrash;
+ }
+ public function getUsageInDriveTrash()
+ {
+ return $this->usageInDriveTrash;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Change.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Change.php
new file mode 100644
index 00000000..d4755a46
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Change.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_Change extends Google_Model
+{
+ protected $fileType = 'Google_Service_Drive_DriveFile';
+ protected $fileDataType = '';
+ public $fileId;
+ public $kind;
+ public $removed;
+ protected $teamDriveType = 'Google_Service_Drive_TeamDrive';
+ protected $teamDriveDataType = '';
+ public $teamDriveId;
+ public $time;
+ public $type;
+
+ public function setFile(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 setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRemoved($removed)
+ {
+ $this->removed = $removed;
+ }
+ public function getRemoved()
+ {
+ return $this->removed;
+ }
+ public function setTeamDrive(Google_Service_Drive_TeamDrive $teamDrive)
+ {
+ $this->teamDrive = $teamDrive;
+ }
+ public function getTeamDrive()
+ {
+ return $this->teamDrive;
+ }
+ public function setTeamDriveId($teamDriveId)
+ {
+ $this->teamDriveId = $teamDriveId;
+ }
+ public function getTeamDriveId()
+ {
+ return $this->teamDriveId;
+ }
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+ public function getTime()
+ {
+ return $this->time;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/ChangeList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/ChangeList.php
new file mode 100644
index 00000000..406447be
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/ChangeList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_ChangeList extends Google_Collection
+{
+ protected $collection_key = 'changes';
+ protected $changesType = 'Google_Service_Drive_Change';
+ protected $changesDataType = 'array';
+ public $kind;
+ public $newStartPageToken;
+ 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 setNewStartPageToken($newStartPageToken)
+ {
+ $this->newStartPageToken = $newStartPageToken;
+ }
+ public function getNewStartPageToken()
+ {
+ return $this->newStartPageToken;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Channel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Channel.php
new file mode 100644
index 00000000..e3208a3a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Channel.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_Channel extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Comment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Comment.php
new file mode 100644
index 00000000..baa836d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Comment.php
@@ -0,0 +1,133 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_Comment extends Google_Collection
+{
+ protected $collection_key = 'replies';
+ public $anchor;
+ protected $authorType = 'Google_Service_Drive_User';
+ protected $authorDataType = '';
+ public $content;
+ public $createdTime;
+ public $deleted;
+ public $htmlContent;
+ public $id;
+ public $kind;
+ public $modifiedTime;
+ protected $quotedFileContentType = 'Google_Service_Drive_CommentQuotedFileContent';
+ protected $quotedFileContentDataType = '';
+ protected $repliesType = 'Google_Service_Drive_Reply';
+ protected $repliesDataType = 'array';
+ public $resolved;
+
+ public function setAnchor($anchor)
+ {
+ $this->anchor = $anchor;
+ }
+ public function getAnchor()
+ {
+ return $this->anchor;
+ }
+ public function setAuthor(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 setCreatedTime($createdTime)
+ {
+ $this->createdTime = $createdTime;
+ }
+ public function getCreatedTime()
+ {
+ return $this->createdTime;
+ }
+ 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 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 setModifiedTime($modifiedTime)
+ {
+ $this->modifiedTime = $modifiedTime;
+ }
+ public function getModifiedTime()
+ {
+ return $this->modifiedTime;
+ }
+ public function setQuotedFileContent(Google_Service_Drive_CommentQuotedFileContent $quotedFileContent)
+ {
+ $this->quotedFileContent = $quotedFileContent;
+ }
+ public function getQuotedFileContent()
+ {
+ return $this->quotedFileContent;
+ }
+ public function setReplies($replies)
+ {
+ $this->replies = $replies;
+ }
+ public function getReplies()
+ {
+ return $this->replies;
+ }
+ public function setResolved($resolved)
+ {
+ $this->resolved = $resolved;
+ }
+ public function getResolved()
+ {
+ return $this->resolved;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/CommentList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/CommentList.php
new file mode 100644
index 00000000..d6b49c46
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/CommentList.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_CommentList extends Google_Collection
+{
+ protected $collection_key = 'comments';
+ protected $commentsType = 'Google_Service_Drive_Comment';
+ protected $commentsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setComments($comments)
+ {
+ $this->comments = $comments;
+ }
+ public function getComments()
+ {
+ return $this->comments;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/CommentQuotedFileContent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/CommentQuotedFileContent.php
new file mode 100644
index 00000000..9a257728
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/CommentQuotedFileContent.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_CommentQuotedFileContent extends Google_Model
+{
+ public $mimeType;
+ public $value;
+
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFile.php
new file mode 100644
index 00000000..36fb42d4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFile.php
@@ -0,0 +1,490 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_DriveFile extends Google_Collection
+{
+ protected $collection_key = 'spaces';
+ public $appProperties;
+ protected $capabilitiesType = 'Google_Service_Drive_DriveFileCapabilities';
+ protected $capabilitiesDataType = '';
+ protected $contentHintsType = 'Google_Service_Drive_DriveFileContentHints';
+ protected $contentHintsDataType = '';
+ public $createdTime;
+ public $description;
+ public $explicitlyTrashed;
+ public $fileExtension;
+ public $folderColorRgb;
+ public $fullFileExtension;
+ public $hasAugmentedPermissions;
+ public $hasThumbnail;
+ public $headRevisionId;
+ public $iconLink;
+ public $id;
+ protected $imageMediaMetadataType = 'Google_Service_Drive_DriveFileImageMediaMetadata';
+ protected $imageMediaMetadataDataType = '';
+ public $isAppAuthorized;
+ public $kind;
+ protected $lastModifyingUserType = 'Google_Service_Drive_User';
+ protected $lastModifyingUserDataType = '';
+ public $md5Checksum;
+ public $mimeType;
+ public $modifiedByMe;
+ public $modifiedByMeTime;
+ public $modifiedTime;
+ public $name;
+ public $originalFilename;
+ public $ownedByMe;
+ protected $ownersType = 'Google_Service_Drive_User';
+ protected $ownersDataType = 'array';
+ public $parents;
+ protected $permissionsType = 'Google_Service_Drive_Permission';
+ protected $permissionsDataType = 'array';
+ public $properties;
+ public $quotaBytesUsed;
+ public $shared;
+ public $sharedWithMeTime;
+ protected $sharingUserType = 'Google_Service_Drive_User';
+ protected $sharingUserDataType = '';
+ public $size;
+ public $spaces;
+ public $starred;
+ public $teamDriveId;
+ public $thumbnailLink;
+ public $thumbnailVersion;
+ public $trashed;
+ public $trashedTime;
+ protected $trashingUserType = 'Google_Service_Drive_User';
+ protected $trashingUserDataType = '';
+ public $version;
+ protected $videoMediaMetadataType = 'Google_Service_Drive_DriveFileVideoMediaMetadata';
+ protected $videoMediaMetadataDataType = '';
+ public $viewedByMe;
+ public $viewedByMeTime;
+ public $viewersCanCopyContent;
+ public $webContentLink;
+ public $webViewLink;
+ public $writersCanShare;
+
+ public function setAppProperties($appProperties)
+ {
+ $this->appProperties = $appProperties;
+ }
+ public function getAppProperties()
+ {
+ return $this->appProperties;
+ }
+ public function setCapabilities(Google_Service_Drive_DriveFileCapabilities $capabilities)
+ {
+ $this->capabilities = $capabilities;
+ }
+ public function getCapabilities()
+ {
+ return $this->capabilities;
+ }
+ public function setContentHints(Google_Service_Drive_DriveFileContentHints $contentHints)
+ {
+ $this->contentHints = $contentHints;
+ }
+ public function getContentHints()
+ {
+ return $this->contentHints;
+ }
+ public function setCreatedTime($createdTime)
+ {
+ $this->createdTime = $createdTime;
+ }
+ public function getCreatedTime()
+ {
+ return $this->createdTime;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setExplicitlyTrashed($explicitlyTrashed)
+ {
+ $this->explicitlyTrashed = $explicitlyTrashed;
+ }
+ public function getExplicitlyTrashed()
+ {
+ return $this->explicitlyTrashed;
+ }
+ public function setFileExtension($fileExtension)
+ {
+ $this->fileExtension = $fileExtension;
+ }
+ public function getFileExtension()
+ {
+ return $this->fileExtension;
+ }
+ public function setFolderColorRgb($folderColorRgb)
+ {
+ $this->folderColorRgb = $folderColorRgb;
+ }
+ public function getFolderColorRgb()
+ {
+ return $this->folderColorRgb;
+ }
+ public function setFullFileExtension($fullFileExtension)
+ {
+ $this->fullFileExtension = $fullFileExtension;
+ }
+ public function getFullFileExtension()
+ {
+ return $this->fullFileExtension;
+ }
+ public function setHasAugmentedPermissions($hasAugmentedPermissions)
+ {
+ $this->hasAugmentedPermissions = $hasAugmentedPermissions;
+ }
+ public function getHasAugmentedPermissions()
+ {
+ return $this->hasAugmentedPermissions;
+ }
+ public function setHasThumbnail($hasThumbnail)
+ {
+ $this->hasThumbnail = $hasThumbnail;
+ }
+ public function getHasThumbnail()
+ {
+ return $this->hasThumbnail;
+ }
+ 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(Google_Service_Drive_DriveFileImageMediaMetadata $imageMediaMetadata)
+ {
+ $this->imageMediaMetadata = $imageMediaMetadata;
+ }
+ public function getImageMediaMetadata()
+ {
+ return $this->imageMediaMetadata;
+ }
+ public function setIsAppAuthorized($isAppAuthorized)
+ {
+ $this->isAppAuthorized = $isAppAuthorized;
+ }
+ public function getIsAppAuthorized()
+ {
+ return $this->isAppAuthorized;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifyingUser(Google_Service_Drive_User $lastModifyingUser)
+ {
+ $this->lastModifyingUser = $lastModifyingUser;
+ }
+ public function getLastModifyingUser()
+ {
+ return $this->lastModifyingUser;
+ }
+ 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 setModifiedByMe($modifiedByMe)
+ {
+ $this->modifiedByMe = $modifiedByMe;
+ }
+ public function getModifiedByMe()
+ {
+ return $this->modifiedByMe;
+ }
+ public function setModifiedByMeTime($modifiedByMeTime)
+ {
+ $this->modifiedByMeTime = $modifiedByMeTime;
+ }
+ public function getModifiedByMeTime()
+ {
+ return $this->modifiedByMeTime;
+ }
+ public function setModifiedTime($modifiedTime)
+ {
+ $this->modifiedTime = $modifiedTime;
+ }
+ public function getModifiedTime()
+ {
+ return $this->modifiedTime;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOriginalFilename($originalFilename)
+ {
+ $this->originalFilename = $originalFilename;
+ }
+ public function getOriginalFilename()
+ {
+ return $this->originalFilename;
+ }
+ public function setOwnedByMe($ownedByMe)
+ {
+ $this->ownedByMe = $ownedByMe;
+ }
+ public function getOwnedByMe()
+ {
+ return $this->ownedByMe;
+ }
+ 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 setShared($shared)
+ {
+ $this->shared = $shared;
+ }
+ public function getShared()
+ {
+ return $this->shared;
+ }
+ public function setSharedWithMeTime($sharedWithMeTime)
+ {
+ $this->sharedWithMeTime = $sharedWithMeTime;
+ }
+ public function getSharedWithMeTime()
+ {
+ return $this->sharedWithMeTime;
+ }
+ public function setSharingUser(Google_Service_Drive_User $sharingUser)
+ {
+ $this->sharingUser = $sharingUser;
+ }
+ public function getSharingUser()
+ {
+ return $this->sharingUser;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setSpaces($spaces)
+ {
+ $this->spaces = $spaces;
+ }
+ public function getSpaces()
+ {
+ return $this->spaces;
+ }
+ public function setStarred($starred)
+ {
+ $this->starred = $starred;
+ }
+ public function getStarred()
+ {
+ return $this->starred;
+ }
+ public function setTeamDriveId($teamDriveId)
+ {
+ $this->teamDriveId = $teamDriveId;
+ }
+ public function getTeamDriveId()
+ {
+ return $this->teamDriveId;
+ }
+ public function setThumbnailLink($thumbnailLink)
+ {
+ $this->thumbnailLink = $thumbnailLink;
+ }
+ public function getThumbnailLink()
+ {
+ return $this->thumbnailLink;
+ }
+ public function setThumbnailVersion($thumbnailVersion)
+ {
+ $this->thumbnailVersion = $thumbnailVersion;
+ }
+ public function getThumbnailVersion()
+ {
+ return $this->thumbnailVersion;
+ }
+ public function setTrashed($trashed)
+ {
+ $this->trashed = $trashed;
+ }
+ public function getTrashed()
+ {
+ return $this->trashed;
+ }
+ public function setTrashedTime($trashedTime)
+ {
+ $this->trashedTime = $trashedTime;
+ }
+ public function getTrashedTime()
+ {
+ return $this->trashedTime;
+ }
+ public function setTrashingUser(Google_Service_Drive_User $trashingUser)
+ {
+ $this->trashingUser = $trashingUser;
+ }
+ public function getTrashingUser()
+ {
+ return $this->trashingUser;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+ public function setVideoMediaMetadata(Google_Service_Drive_DriveFileVideoMediaMetadata $videoMediaMetadata)
+ {
+ $this->videoMediaMetadata = $videoMediaMetadata;
+ }
+ public function getVideoMediaMetadata()
+ {
+ return $this->videoMediaMetadata;
+ }
+ public function setViewedByMe($viewedByMe)
+ {
+ $this->viewedByMe = $viewedByMe;
+ }
+ public function getViewedByMe()
+ {
+ return $this->viewedByMe;
+ }
+ public function setViewedByMeTime($viewedByMeTime)
+ {
+ $this->viewedByMeTime = $viewedByMeTime;
+ }
+ public function getViewedByMeTime()
+ {
+ return $this->viewedByMeTime;
+ }
+ public function setViewersCanCopyContent($viewersCanCopyContent)
+ {
+ $this->viewersCanCopyContent = $viewersCanCopyContent;
+ }
+ public function getViewersCanCopyContent()
+ {
+ return $this->viewersCanCopyContent;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileCapabilities.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileCapabilities.php
new file mode 100644
index 00000000..af3ffda7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileCapabilities.php
@@ -0,0 +1,165 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_DriveFileCapabilities extends Google_Model
+{
+ public $canAddChildren;
+ public $canComment;
+ public $canCopy;
+ public $canDelete;
+ public $canDownload;
+ public $canEdit;
+ public $canListChildren;
+ public $canMoveItemIntoTeamDrive;
+ public $canMoveTeamDriveItem;
+ public $canReadRevisions;
+ public $canReadTeamDrive;
+ public $canRemoveChildren;
+ public $canRename;
+ public $canShare;
+ public $canTrash;
+ public $canUntrash;
+
+ public function setCanAddChildren($canAddChildren)
+ {
+ $this->canAddChildren = $canAddChildren;
+ }
+ public function getCanAddChildren()
+ {
+ return $this->canAddChildren;
+ }
+ public function setCanComment($canComment)
+ {
+ $this->canComment = $canComment;
+ }
+ public function getCanComment()
+ {
+ return $this->canComment;
+ }
+ public function setCanCopy($canCopy)
+ {
+ $this->canCopy = $canCopy;
+ }
+ public function getCanCopy()
+ {
+ return $this->canCopy;
+ }
+ public function setCanDelete($canDelete)
+ {
+ $this->canDelete = $canDelete;
+ }
+ public function getCanDelete()
+ {
+ return $this->canDelete;
+ }
+ public function setCanDownload($canDownload)
+ {
+ $this->canDownload = $canDownload;
+ }
+ public function getCanDownload()
+ {
+ return $this->canDownload;
+ }
+ public function setCanEdit($canEdit)
+ {
+ $this->canEdit = $canEdit;
+ }
+ public function getCanEdit()
+ {
+ return $this->canEdit;
+ }
+ public function setCanListChildren($canListChildren)
+ {
+ $this->canListChildren = $canListChildren;
+ }
+ public function getCanListChildren()
+ {
+ return $this->canListChildren;
+ }
+ public function setCanMoveItemIntoTeamDrive($canMoveItemIntoTeamDrive)
+ {
+ $this->canMoveItemIntoTeamDrive = $canMoveItemIntoTeamDrive;
+ }
+ public function getCanMoveItemIntoTeamDrive()
+ {
+ return $this->canMoveItemIntoTeamDrive;
+ }
+ public function setCanMoveTeamDriveItem($canMoveTeamDriveItem)
+ {
+ $this->canMoveTeamDriveItem = $canMoveTeamDriveItem;
+ }
+ public function getCanMoveTeamDriveItem()
+ {
+ return $this->canMoveTeamDriveItem;
+ }
+ public function setCanReadRevisions($canReadRevisions)
+ {
+ $this->canReadRevisions = $canReadRevisions;
+ }
+ public function getCanReadRevisions()
+ {
+ return $this->canReadRevisions;
+ }
+ public function setCanReadTeamDrive($canReadTeamDrive)
+ {
+ $this->canReadTeamDrive = $canReadTeamDrive;
+ }
+ public function getCanReadTeamDrive()
+ {
+ return $this->canReadTeamDrive;
+ }
+ public function setCanRemoveChildren($canRemoveChildren)
+ {
+ $this->canRemoveChildren = $canRemoveChildren;
+ }
+ public function getCanRemoveChildren()
+ {
+ return $this->canRemoveChildren;
+ }
+ public function setCanRename($canRename)
+ {
+ $this->canRename = $canRename;
+ }
+ public function getCanRename()
+ {
+ return $this->canRename;
+ }
+ public function setCanShare($canShare)
+ {
+ $this->canShare = $canShare;
+ }
+ public function getCanShare()
+ {
+ return $this->canShare;
+ }
+ public function setCanTrash($canTrash)
+ {
+ $this->canTrash = $canTrash;
+ }
+ public function getCanTrash()
+ {
+ return $this->canTrash;
+ }
+ public function setCanUntrash($canUntrash)
+ {
+ $this->canUntrash = $canUntrash;
+ }
+ public function getCanUntrash()
+ {
+ return $this->canUntrash;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileContentHints.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileContentHints.php
new file mode 100644
index 00000000..ea263125
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileContentHints.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_DriveFileContentHints extends Google_Model
+{
+ public $indexableText;
+ protected $thumbnailType = 'Google_Service_Drive_DriveFileContentHintsThumbnail';
+ protected $thumbnailDataType = '';
+
+ public function setIndexableText($indexableText)
+ {
+ $this->indexableText = $indexableText;
+ }
+ public function getIndexableText()
+ {
+ return $this->indexableText;
+ }
+ public function setThumbnail(Google_Service_Drive_DriveFileContentHintsThumbnail $thumbnail)
+ {
+ $this->thumbnail = $thumbnail;
+ }
+ public function getThumbnail()
+ {
+ return $this->thumbnail;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileContentHintsThumbnail.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileContentHintsThumbnail.php
new file mode 100644
index 00000000..7594db55
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileContentHintsThumbnail.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_DriveFileContentHintsThumbnail extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileImageMediaMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileImageMediaMetadata.php
new file mode 100644
index 00000000..560aa7f9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileImageMediaMetadata.php
@@ -0,0 +1,211 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_DriveFileImageMediaMetadata extends Google_Model
+{
+ public $aperture;
+ public $cameraMake;
+ public $cameraModel;
+ public $colorSpace;
+ public $exposureBias;
+ public $exposureMode;
+ public $exposureTime;
+ public $flashUsed;
+ public $focalLength;
+ public $height;
+ public $isoSpeed;
+ public $lens;
+ protected $locationType = 'Google_Service_Drive_DriveFileImageMediaMetadataLocation';
+ protected $locationDataType = '';
+ public $maxApertureValue;
+ public $meteringMode;
+ public $rotation;
+ public $sensor;
+ public $subjectDistance;
+ public $time;
+ 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 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(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 setTime($time)
+ {
+ $this->time = $time;
+ }
+ public function getTime()
+ {
+ return $this->time;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileImageMediaMetadataLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileImageMediaMetadataLocation.php
new file mode 100644
index 00000000..7de118a1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileImageMediaMetadataLocation.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_DriveFileImageMediaMetadataLocation extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileVideoMediaMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileVideoMediaMetadata.php
new file mode 100644
index 00000000..97cd5114
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileVideoMediaMetadata.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_DriveFileVideoMediaMetadata extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/FileList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/FileList.php
new file mode 100644
index 00000000..ba18998c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/FileList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_FileList extends Google_Collection
+{
+ protected $collection_key = 'files';
+ protected $filesType = 'Google_Service_Drive_DriveFile';
+ protected $filesDataType = 'array';
+ public $incompleteSearch;
+ public $kind;
+ public $nextPageToken;
+
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+ public function getFiles()
+ {
+ return $this->files;
+ }
+ public function setIncompleteSearch($incompleteSearch)
+ {
+ $this->incompleteSearch = $incompleteSearch;
+ }
+ public function getIncompleteSearch()
+ {
+ return $this->incompleteSearch;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/GeneratedIds.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/GeneratedIds.php
new file mode 100644
index 00000000..b27fc330
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/GeneratedIds.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_GeneratedIds extends Google_Collection
+{
+ protected $collection_key = 'ids';
+ public $ids;
+ public $kind;
+ public $space;
+
+ public function setIds($ids)
+ {
+ $this->ids = $ids;
+ }
+ public function getIds()
+ {
+ return $this->ids;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSpace($space)
+ {
+ $this->space = $space;
+ }
+ public function getSpace()
+ {
+ return $this->space;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Permission.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Permission.php
new file mode 100644
index 00000000..58e1e0b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Permission.php
@@ -0,0 +1,122 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_Permission extends Google_Collection
+{
+ protected $collection_key = 'teamDrivePermissionDetails';
+ public $allowFileDiscovery;
+ public $displayName;
+ public $domain;
+ public $emailAddress;
+ public $expirationTime;
+ public $id;
+ public $kind;
+ public $photoLink;
+ public $role;
+ protected $teamDrivePermissionDetailsType = 'Google_Service_Drive_PermissionTeamDrivePermissionDetails';
+ protected $teamDrivePermissionDetailsDataType = 'array';
+ public $type;
+
+ public function setAllowFileDiscovery($allowFileDiscovery)
+ {
+ $this->allowFileDiscovery = $allowFileDiscovery;
+ }
+ public function getAllowFileDiscovery()
+ {
+ return $this->allowFileDiscovery;
+ }
+ 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 setEmailAddress($emailAddress)
+ {
+ $this->emailAddress = $emailAddress;
+ }
+ public function getEmailAddress()
+ {
+ return $this->emailAddress;
+ }
+ public function setExpirationTime($expirationTime)
+ {
+ $this->expirationTime = $expirationTime;
+ }
+ public function getExpirationTime()
+ {
+ return $this->expirationTime;
+ }
+ 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 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 setTeamDrivePermissionDetails($teamDrivePermissionDetails)
+ {
+ $this->teamDrivePermissionDetails = $teamDrivePermissionDetails;
+ }
+ public function getTeamDrivePermissionDetails()
+ {
+ return $this->teamDrivePermissionDetails;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/PermissionList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/PermissionList.php
new file mode 100644
index 00000000..a269f764
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/PermissionList.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_PermissionList extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $kind;
+ public $nextPageToken;
+ protected $permissionsType = 'Google_Service_Drive_Permission';
+ protected $permissionsDataType = '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 setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/PermissionTeamDrivePermissionDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/PermissionTeamDrivePermissionDetails.php
new file mode 100644
index 00000000..e7430d53
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/PermissionTeamDrivePermissionDetails.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_PermissionTeamDrivePermissionDetails extends Google_Model
+{
+ public $inherited;
+ public $inheritedFrom;
+ public $role;
+ public $teamDrivePermissionType;
+
+ public function setInherited($inherited)
+ {
+ $this->inherited = $inherited;
+ }
+ public function getInherited()
+ {
+ return $this->inherited;
+ }
+ public function setInheritedFrom($inheritedFrom)
+ {
+ $this->inheritedFrom = $inheritedFrom;
+ }
+ public function getInheritedFrom()
+ {
+ return $this->inheritedFrom;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+ public function setTeamDrivePermissionType($teamDrivePermissionType)
+ {
+ $this->teamDrivePermissionType = $teamDrivePermissionType;
+ }
+ public function getTeamDrivePermissionType()
+ {
+ return $this->teamDrivePermissionType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Reply.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Reply.php
new file mode 100644
index 00000000..a8102157
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Reply.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_Reply extends Google_Model
+{
+ public $action;
+ protected $authorType = 'Google_Service_Drive_User';
+ protected $authorDataType = '';
+ public $content;
+ public $createdTime;
+ public $deleted;
+ public $htmlContent;
+ public $id;
+ public $kind;
+ public $modifiedTime;
+
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setAuthor(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 setCreatedTime($createdTime)
+ {
+ $this->createdTime = $createdTime;
+ }
+ public function getCreatedTime()
+ {
+ return $this->createdTime;
+ }
+ 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 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 setModifiedTime($modifiedTime)
+ {
+ $this->modifiedTime = $modifiedTime;
+ }
+ public function getModifiedTime()
+ {
+ return $this->modifiedTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/ReplyList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/ReplyList.php
new file mode 100644
index 00000000..a68fdbcc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/ReplyList.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_ReplyList extends Google_Collection
+{
+ protected $collection_key = 'replies';
+ public $kind;
+ public $nextPageToken;
+ protected $repliesType = 'Google_Service_Drive_Reply';
+ protected $repliesDataType = '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 setReplies($replies)
+ {
+ $this->replies = $replies;
+ }
+ public function getReplies()
+ {
+ return $this->replies;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/About.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/About.php
new file mode 100644
index 00000000..67bf18a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/About.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "about" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Google_Service_Drive(...);
+ * $about = $driveService->about;
+ * </code>
+ */
+class Google_Service_Drive_Resource_About extends Google_Service_Resource
+{
+ /**
+ * Gets information about the user, the user's Drive, and system capabilities.
+ * (about.get)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Drive_About
+ */
+ public function get($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Drive_About");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Changes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Changes.php
new file mode 100644
index 00000000..cfdcf8c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Changes.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "changes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Google_Service_Drive(...);
+ * $changes = $driveService->changes;
+ * </code>
+ */
+class Google_Service_Drive_Resource_Changes extends Google_Service_Resource
+{
+ /**
+ * Gets the starting pageToken for listing future changes.
+ * (changes.getStartPageToken)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool supportsTeamDrives Whether the requesting application
+ * supports Team Drives.
+ * @opt_param string teamDriveId The ID of the Team Drive for which the starting
+ * pageToken for listing future changes from that Team Drive will be returned.
+ * @return Google_Service_Drive_StartPageToken
+ */
+ public function getStartPageToken($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('getStartPageToken', array($params), "Google_Service_Drive_StartPageToken");
+ }
+ /**
+ * Lists the changes for a user or Team Drive. (changes.listChanges)
+ *
+ * @param string $pageToken The token for continuing a previous list request on
+ * the next page. This should be set to the value of 'nextPageToken' from the
+ * previous response or to the response from the getStartPageToken method.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeCorpusRemovals Whether changes should include the file
+ * resource if the file is still accessible by the user at the time of the
+ * request, even when a file was removed from the list of changes and there will
+ * be no further change entries for this file.
+ * @opt_param bool includeRemoved Whether to include changes indicating that
+ * items have been removed from the list of changes, for example by deletion or
+ * loss of access.
+ * @opt_param bool includeTeamDriveItems Whether Team Drive files or changes
+ * should be included in results.
+ * @opt_param int pageSize The maximum number of changes to return per page.
+ * @opt_param bool restrictToMyDrive Whether to restrict the results to changes
+ * inside the My Drive hierarchy. This omits changes to files such as those in
+ * the Application Data folder or shared files which have not been added to My
+ * Drive.
+ * @opt_param string spaces A comma-separated list of spaces to query within the
+ * user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.
+ * @opt_param bool supportsTeamDrives Whether the requesting application
+ * supports Team Drives.
+ * @opt_param string teamDriveId The Team Drive from which changes will be
+ * returned. If specified the change IDs will be reflective of the Team Drive;
+ * use the combined Team Drive ID and change ID as an identifier.
+ * @return Google_Service_Drive_ChangeList
+ */
+ public function listChanges($pageToken, $optParams = array())
+ {
+ $params = array('pageToken' => $pageToken);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Drive_ChangeList");
+ }
+ /**
+ * Subscribes to changes for a user. (changes.watch)
+ *
+ * @param string $pageToken The token for continuing a previous list request on
+ * the next page. This should be set to the value of 'nextPageToken' from the
+ * previous response or to the response from the getStartPageToken method.
+ * @param Google_Service_Drive_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeCorpusRemovals Whether changes should include the file
+ * resource if the file is still accessible by the user at the time of the
+ * request, even when a file was removed from the list of changes and there will
+ * be no further change entries for this file.
+ * @opt_param bool includeRemoved Whether to include changes indicating that
+ * items have been removed from the list of changes, for example by deletion or
+ * loss of access.
+ * @opt_param bool includeTeamDriveItems Whether Team Drive files or changes
+ * should be included in results.
+ * @opt_param int pageSize The maximum number of changes to return per page.
+ * @opt_param bool restrictToMyDrive Whether to restrict the results to changes
+ * inside the My Drive hierarchy. This omits changes to files such as those in
+ * the Application Data folder or shared files which have not been added to My
+ * Drive.
+ * @opt_param string spaces A comma-separated list of spaces to query within the
+ * user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.
+ * @opt_param bool supportsTeamDrives Whether the requesting application
+ * supports Team Drives.
+ * @opt_param string teamDriveId The Team Drive from which changes will be
+ * returned. If specified the change IDs will be reflective of the Team Drive;
+ * use the combined Team Drive ID and change ID as an identifier.
+ * @return Google_Service_Drive_Channel
+ */
+ public function watch($pageToken, Google_Service_Drive_Channel $postBody, $optParams = array())
+ {
+ $params = array('pageToken' => $pageToken, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Google_Service_Drive_Channel");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Channels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Channels.php
new file mode 100644
index 00000000..39f9eda9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Channels.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "channels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Google_Service_Drive(...);
+ * $channels = $driveService->channels;
+ * </code>
+ */
+class Google_Service_Drive_Resource_Channels extends Google_Service_Resource
+{
+ /**
+ * Stop watching resources through this channel (channels.stop)
+ *
+ * @param Google_Service_Drive_Channel $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function stop(Google_Service_Drive_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Comments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Comments.php
new file mode 100644
index 00000000..2a09affd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Comments.php
@@ -0,0 +1,109 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "comments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Google_Service_Drive(...);
+ * $comments = $driveService->comments;
+ * </code>
+ */
+class Google_Service_Drive_Resource_Comments extends Google_Service_Resource
+{
+ /**
+ * Creates a new comment on a file. (comments.create)
+ *
+ * @param string $fileId The ID of the file.
+ * @param Google_Service_Drive_Comment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Drive_Comment
+ */
+ public function create($fileId, Google_Service_Drive_Comment $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Drive_Comment");
+ }
+ /**
+ * 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 Whether to return deleted comments. Deleted
+ * comments will not include their original content.
+ * @return 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), "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 bool includeDeleted Whether to include deleted comments. Deleted
+ * comments will not include their original content.
+ * @opt_param int pageSize The maximum number of comments to return per page.
+ * @opt_param string pageToken The token for continuing a previous list request
+ * on the next page. This should be set to the value of 'nextPageToken' from the
+ * previous response.
+ * @opt_param string startModifiedTime The minimum value of 'modifiedTime' for
+ * the result comments (RFC 3339 date-time).
+ * @return 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), "Google_Service_Drive_CommentList");
+ }
+ /**
+ * Updates a comment with patch semantics. (comments.update)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $commentId The ID of the comment.
+ * @param Google_Service_Drive_Comment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Drive_Comment
+ */
+ public function update($fileId, $commentId, 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), "Google_Service_Drive_Comment");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Files.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Files.php
new file mode 100644
index 00000000..e8180228
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Files.php
@@ -0,0 +1,251 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Google_Service_Drive(...);
+ * $files = $driveService->files;
+ * </code>
+ */
+class Google_Service_Drive_Resource_Files extends Google_Service_Resource
+{
+ /**
+ * Creates a copy of a file and applies any requested updates with patch
+ * semantics. (files.copy)
+ *
+ * @param string $fileId The ID of the file.
+ * @param Google_Service_Drive_DriveFile $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool ignoreDefaultVisibility Whether to ignore the domain's
+ * default visibility settings for the created file. Domain administrators can
+ * choose to make all uploaded files visible to the domain by default; this
+ * parameter bypasses that behavior for the request. Permissions are still
+ * inherited from parent folders.
+ * @opt_param bool keepRevisionForever Whether to set the 'keepForever' field in
+ * the new head revision. This is only applicable to files with binary content
+ * in Drive.
+ * @opt_param string ocrLanguage A language hint for OCR processing during image
+ * import (ISO 639-1 code).
+ * @opt_param bool supportsTeamDrives Whether the requesting application
+ * supports Team Drives.
+ * @return Google_Service_Drive_DriveFile
+ */
+ public function copy($fileId, Google_Service_Drive_DriveFile $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('copy', array($params), "Google_Service_Drive_DriveFile");
+ }
+ /**
+ * Creates a new file. (files.create)
+ *
+ * @param Google_Service_Drive_DriveFile $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool ignoreDefaultVisibility Whether to ignore the domain's
+ * default visibility settings for the created file. Domain administrators can
+ * choose to make all uploaded files visible to the domain by default; this
+ * parameter bypasses that behavior for the request. Permissions are still
+ * inherited from parent folders.
+ * @opt_param bool keepRevisionForever Whether to set the 'keepForever' field in
+ * the new head revision. This is only applicable to files with binary content
+ * in Drive.
+ * @opt_param string ocrLanguage A language hint for OCR processing during image
+ * import (ISO 639-1 code).
+ * @opt_param bool supportsTeamDrives Whether the requesting application
+ * supports Team Drives.
+ * @opt_param bool useContentAsIndexableText Whether to use the uploaded content
+ * as indexable text.
+ * @return Google_Service_Drive_DriveFile
+ */
+ public function create(Google_Service_Drive_DriveFile $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Drive_DriveFile");
+ }
+ /**
+ * Permanently deletes a file owned by the user without moving it to the trash.
+ * If the file belongs to a Team Drive the user must be an organizer on the
+ * parent. If the target is a folder, all descendants owned by the user are also
+ * deleted. (files.delete)
+ *
+ * @param string $fileId The ID of the file.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool supportsTeamDrives Whether the requesting application
+ * supports Team Drives.
+ */
+ 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));
+ }
+ /**
+ * Exports a Google Doc to the requested MIME type and returns the exported
+ * content. (files.export)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $mimeType The MIME type of the format requested for this
+ * export.
+ * @param array $optParams Optional parameters.
+ */
+ public function export($fileId, $mimeType, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'mimeType' => $mimeType);
+ $params = array_merge($params, $optParams);
+ return $this->call('export', array($params));
+ }
+ /**
+ * Generates a set of file IDs which can be provided in create requests.
+ * (files.generateIds)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int count The number of IDs to return.
+ * @opt_param string space The space in which the IDs can be used to create new
+ * files. Supported values are 'drive' and 'appDataFolder'.
+ * @return Google_Service_Drive_GeneratedIds
+ */
+ public function generateIds($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('generateIds', array($params), "Google_Service_Drive_GeneratedIds");
+ }
+ /**
+ * Gets a file's metadata or content by ID. (files.get)
+ *
+ * @param string $fileId The ID of the file.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool acknowledgeAbuse Whether the user is acknowledging the risk
+ * of downloading known malware or other abusive files. This is only applicable
+ * when alt=media.
+ * @opt_param bool supportsTeamDrives Whether the requesting application
+ * supports Team Drives.
+ * @return 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), "Google_Service_Drive_DriveFile");
+ }
+ /**
+ * Lists or searches files. (files.listFiles)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string corpora Comma-separated list of bodies of items
+ * (files/documents) to which the query applies. Supported bodies are 'user',
+ * 'domain', 'teamDrive' and 'allTeamDrives'. 'allTeamDrives' must be combined
+ * with 'user'; all other values must be used in isolation. Prefer 'user' or
+ * 'teamDrive' to 'allTeamDrives' for efficiency.
+ * @opt_param string corpus The source of files to list. Deprecated: use
+ * 'corpora' instead.
+ * @opt_param bool includeTeamDriveItems Whether Team Drive items should be
+ * included in results.
+ * @opt_param string orderBy A comma-separated list of sort keys. Valid keys are
+ * 'createdTime', 'folder', 'modifiedByMeTime', 'modifiedTime', 'name',
+ * 'quotaBytesUsed', 'recency', 'sharedWithMeTime', 'starred', and
+ * 'viewedByMeTime'. Each key sorts ascending by default, but may be reversed
+ * with the 'desc' modifier. Example usage: ?orderBy=folder,modifiedTime
+ * desc,name. Please note that there is a current limitation for users with
+ * approximately one million files in which the requested sort order is ignored.
+ * @opt_param int pageSize The maximum number of files to return per page.
+ * @opt_param string pageToken The token for continuing a previous list request
+ * on the next page. This should be set to the value of 'nextPageToken' from the
+ * previous response.
+ * @opt_param string q A query for filtering the file results. See the "Search
+ * for Files" guide for supported syntax.
+ * @opt_param string spaces A comma-separated list of spaces to query within the
+ * corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.
+ * @opt_param bool supportsTeamDrives Whether the requesting application
+ * supports Team Drives.
+ * @opt_param string teamDriveId ID of Team Drive to search.
+ * @return Google_Service_Drive_FileList
+ */
+ public function listFiles($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Drive_FileList");
+ }
+ /**
+ * Updates a file's metadata and/or content with patch semantics. (files.update)
+ *
+ * @param string $fileId The ID of the file.
+ * @param Google_Service_Drive_DriveFile $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string addParents A comma-separated list of parent IDs to add.
+ * @opt_param bool keepRevisionForever Whether to set the 'keepForever' field in
+ * the new head revision. This is only applicable to files with binary content
+ * in Drive.
+ * @opt_param string ocrLanguage A language hint for OCR processing during image
+ * import (ISO 639-1 code).
+ * @opt_param string removeParents A comma-separated list of parent IDs to
+ * remove.
+ * @opt_param bool supportsTeamDrives Whether the requesting application
+ * supports Team Drives.
+ * @opt_param bool useContentAsIndexableText Whether to use the uploaded content
+ * as indexable text.
+ * @return Google_Service_Drive_DriveFile
+ */
+ public function update($fileId, Google_Service_Drive_DriveFile $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Drive_DriveFile");
+ }
+ /**
+ * Subscribes to changes to a file (files.watch)
+ *
+ * @param string $fileId The ID of the file.
+ * @param Google_Service_Drive_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. This is only applicable
+ * when alt=media.
+ * @opt_param bool supportsTeamDrives Whether the requesting application
+ * supports Team Drives.
+ * @return Google_Service_Drive_Channel
+ */
+ public function watch($fileId, Google_Service_Drive_Channel $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Google_Service_Drive_Channel");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Permissions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Permissions.php
new file mode 100644
index 00000000..76462ba2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Permissions.php
@@ -0,0 +1,132 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Google_Service_Drive(...);
+ * $permissions = $driveService->permissions;
+ * </code>
+ */
+class Google_Service_Drive_Resource_Permissions extends Google_Service_Resource
+{
+ /**
+ * Creates a permission for a file or Team Drive. (permissions.create)
+ *
+ * @param string $fileId The ID of the file or Team Drive.
+ * @param Google_Service_Drive_Permission $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string emailMessage A custom message to include in the
+ * notification email.
+ * @opt_param bool sendNotificationEmail Whether to send a notification email
+ * when sharing to users or groups. This defaults to true for users and groups,
+ * and is not allowed for other requests. It must not be disabled for ownership
+ * transfers.
+ * @opt_param bool supportsTeamDrives Whether the requesting application
+ * supports Team Drives.
+ * @opt_param bool transferOwnership Whether to transfer ownership to the
+ * specified user and downgrade the current owner to a writer. This parameter is
+ * required as an acknowledgement of the side effect.
+ * @return Google_Service_Drive_Permission
+ */
+ public function create($fileId, Google_Service_Drive_Permission $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Drive_Permission");
+ }
+ /**
+ * Deletes a permission. (permissions.delete)
+ *
+ * @param string $fileId The ID of the file or Team Drive.
+ * @param string $permissionId The ID of the permission.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool supportsTeamDrives Whether the requesting application
+ * supports Team Drives.
+ */
+ 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 of the file.
+ * @param string $permissionId The ID of the permission.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool supportsTeamDrives Whether the requesting application
+ * supports Team Drives.
+ * @return 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), "Google_Service_Drive_Permission");
+ }
+ /**
+ * Lists a file's or Team Drive's permissions. (permissions.listPermissions)
+ *
+ * @param string $fileId The ID of the file or Team Drive.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize The maximum number of permissions to return per page.
+ * When not set for files in a Team Drive, at most 100 results will be returned.
+ * When not set for files that are not in a Team Drive, the entire list will be
+ * returned.
+ * @opt_param string pageToken The token for continuing a previous list request
+ * on the next page. This should be set to the value of 'nextPageToken' from the
+ * previous response.
+ * @opt_param bool supportsTeamDrives Whether the requesting application
+ * supports Team Drives.
+ * @return 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), "Google_Service_Drive_PermissionList");
+ }
+ /**
+ * Updates a permission with patch semantics. (permissions.update)
+ *
+ * @param string $fileId The ID of the file or Team Drive.
+ * @param string $permissionId The ID of the permission.
+ * @param Google_Service_Drive_Permission $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool removeExpiration Whether to remove the expiration date.
+ * @opt_param bool supportsTeamDrives Whether the requesting application
+ * supports Team Drives.
+ * @opt_param bool transferOwnership Whether to transfer ownership to the
+ * specified user and downgrade the current owner to a writer. This parameter is
+ * required as an acknowledgement of the side effect.
+ * @return Google_Service_Drive_Permission
+ */
+ public function update($fileId, $permissionId, 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), "Google_Service_Drive_Permission");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Replies.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Replies.php
new file mode 100644
index 00000000..3db6854a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Replies.php
@@ -0,0 +1,112 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "replies" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Google_Service_Drive(...);
+ * $replies = $driveService->replies;
+ * </code>
+ */
+class Google_Service_Drive_Resource_Replies extends Google_Service_Resource
+{
+ /**
+ * Creates a new reply to a comment. (replies.create)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $commentId The ID of the comment.
+ * @param Google_Service_Drive_Reply $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Drive_Reply
+ */
+ public function create($fileId, $commentId, Google_Service_Drive_Reply $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'commentId' => $commentId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Drive_Reply");
+ }
+ /**
+ * 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 by ID. (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 Whether to return deleted replies. Deleted
+ * replies will not include their original content.
+ * @return Google_Service_Drive_Reply
+ */
+ 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), "Google_Service_Drive_Reply");
+ }
+ /**
+ * Lists a comment's replies. (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 bool includeDeleted Whether to include deleted replies. Deleted
+ * replies will not include their original content.
+ * @opt_param int pageSize The maximum number of replies to return per page.
+ * @opt_param string pageToken The token for continuing a previous list request
+ * on the next page. This should be set to the value of 'nextPageToken' from the
+ * previous response.
+ * @return Google_Service_Drive_ReplyList
+ */
+ public function listReplies($fileId, $commentId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Drive_ReplyList");
+ }
+ /**
+ * Updates a reply with patch semantics. (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 Google_Service_Drive_Reply $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Drive_Reply
+ */
+ public function update($fileId, $commentId, $replyId, Google_Service_Drive_Reply $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Drive_Reply");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Revisions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Revisions.php
new file mode 100644
index 00000000..78278396
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Revisions.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "revisions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Google_Service_Drive(...);
+ * $revisions = $driveService->revisions;
+ * </code>
+ */
+class Google_Service_Drive_Resource_Revisions extends Google_Service_Resource
+{
+ /**
+ * Permanently deletes a revision. This method is only applicable to files with
+ * binary content in Drive. (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 revision's metadata or content by ID. (revisions.get)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $revisionId The ID of the revision.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool acknowledgeAbuse Whether the user is acknowledging the risk
+ * of downloading known malware or other abusive files. This is only applicable
+ * when alt=media.
+ * @return 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), "Google_Service_Drive_Revision");
+ }
+ /**
+ * Lists a file's revisions. (revisions.listRevisions)
+ *
+ * @param string $fileId The ID of the file.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize The maximum number of revisions to return per page.
+ * @opt_param string pageToken The token for continuing a previous list request
+ * on the next page. This should be set to the value of 'nextPageToken' from the
+ * previous response.
+ * @return 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), "Google_Service_Drive_RevisionList");
+ }
+ /**
+ * Updates a revision with patch semantics. (revisions.update)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $revisionId The ID of the revision.
+ * @param Google_Service_Drive_Revision $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Drive_Revision
+ */
+ public function update($fileId, $revisionId, 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), "Google_Service_Drive_Revision");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Teamdrives.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Teamdrives.php
new file mode 100644
index 00000000..847ef4cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Teamdrives.php
@@ -0,0 +1,101 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "teamdrives" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Google_Service_Drive(...);
+ * $teamdrives = $driveService->teamdrives;
+ * </code>
+ */
+class Google_Service_Drive_Resource_Teamdrives extends Google_Service_Resource
+{
+ /**
+ * Creates a new Team Drive. (teamdrives.create)
+ *
+ * @param string $requestId An ID, such as a random UUID, which uniquely
+ * identifies this user's request for idempotent creation of a Team Drive. A
+ * repeated request by the same user and with the same request ID will avoid
+ * creating duplicates by attempting to create the same Team Drive. If the Team
+ * Drive already exists a 409 error will be returned.
+ * @param Google_Service_Drive_TeamDrive $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Drive_TeamDrive
+ */
+ public function create($requestId, Google_Service_Drive_TeamDrive $postBody, $optParams = array())
+ {
+ $params = array('requestId' => $requestId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Drive_TeamDrive");
+ }
+ /**
+ * Permanently deletes a Team Drive for which the user is an organizer. The Team
+ * Drive cannot contain any untrashed items. (teamdrives.delete)
+ *
+ * @param string $teamDriveId The ID of the Team Drive
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($teamDriveId, $optParams = array())
+ {
+ $params = array('teamDriveId' => $teamDriveId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets a Team Drive's metadata by ID. (teamdrives.get)
+ *
+ * @param string $teamDriveId The ID of the Team Drive
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Drive_TeamDrive
+ */
+ public function get($teamDriveId, $optParams = array())
+ {
+ $params = array('teamDriveId' => $teamDriveId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Drive_TeamDrive");
+ }
+ /**
+ * Lists the user's Team Drives. (teamdrives.listTeamdrives)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Maximum number of Team Drives to return.
+ * @opt_param string pageToken Page token for Team Drives.
+ * @return Google_Service_Drive_TeamDriveList
+ */
+ public function listTeamdrives($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Drive_TeamDriveList");
+ }
+ /**
+ * Updates a Team Drive's metadata (teamdrives.update)
+ *
+ * @param string $teamDriveId The ID of the Team Drive
+ * @param Google_Service_Drive_TeamDrive $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Drive_TeamDrive
+ */
+ public function update($teamDriveId, Google_Service_Drive_TeamDrive $postBody, $optParams = array())
+ {
+ $params = array('teamDriveId' => $teamDriveId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Drive_TeamDrive");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Revision.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Revision.php
new file mode 100644
index 00000000..c783e621
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Revision.php
@@ -0,0 +1,130 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_Revision extends Google_Model
+{
+ public $id;
+ public $keepForever;
+ public $kind;
+ protected $lastModifyingUserType = 'Google_Service_Drive_User';
+ protected $lastModifyingUserDataType = '';
+ public $md5Checksum;
+ public $mimeType;
+ public $modifiedTime;
+ public $originalFilename;
+ public $publishAuto;
+ public $published;
+ public $publishedOutsideDomain;
+ public $size;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKeepForever($keepForever)
+ {
+ $this->keepForever = $keepForever;
+ }
+ public function getKeepForever()
+ {
+ return $this->keepForever;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifyingUser(Google_Service_Drive_User $lastModifyingUser)
+ {
+ $this->lastModifyingUser = $lastModifyingUser;
+ }
+ public function getLastModifyingUser()
+ {
+ return $this->lastModifyingUser;
+ }
+ 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 setModifiedTime($modifiedTime)
+ {
+ $this->modifiedTime = $modifiedTime;
+ }
+ public function getModifiedTime()
+ {
+ return $this->modifiedTime;
+ }
+ public function setOriginalFilename($originalFilename)
+ {
+ $this->originalFilename = $originalFilename;
+ }
+ public function getOriginalFilename()
+ {
+ return $this->originalFilename;
+ }
+ 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 setPublishedOutsideDomain($publishedOutsideDomain)
+ {
+ $this->publishedOutsideDomain = $publishedOutsideDomain;
+ }
+ public function getPublishedOutsideDomain()
+ {
+ return $this->publishedOutsideDomain;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/RevisionList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/RevisionList.php
new file mode 100644
index 00000000..973ea951
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/RevisionList.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_RevisionList extends Google_Collection
+{
+ protected $collection_key = 'revisions';
+ public $kind;
+ public $nextPageToken;
+ protected $revisionsType = 'Google_Service_Drive_Revision';
+ protected $revisionsDataType = '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 setRevisions($revisions)
+ {
+ $this->revisions = $revisions;
+ }
+ public function getRevisions()
+ {
+ return $this->revisions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/StartPageToken.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/StartPageToken.php
new file mode 100644
index 00000000..cd2615ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/StartPageToken.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_StartPageToken extends Google_Model
+{
+ public $kind;
+ public $startPageToken;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setStartPageToken($startPageToken)
+ {
+ $this->startPageToken = $startPageToken;
+ }
+ public function getStartPageToken()
+ {
+ return $this->startPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDrive.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDrive.php
new file mode 100644
index 00000000..716a74fa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDrive.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_TeamDrive extends Google_Model
+{
+ protected $capabilitiesType = 'Google_Service_Drive_TeamDriveCapabilities';
+ protected $capabilitiesDataType = '';
+ public $id;
+ public $kind;
+ public $name;
+
+ public function setCapabilities(Google_Service_Drive_TeamDriveCapabilities $capabilities)
+ {
+ $this->capabilities = $capabilities;
+ }
+ public function getCapabilities()
+ {
+ return $this->capabilities;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDriveCapabilities.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDriveCapabilities.php
new file mode 100644
index 00000000..69913d97
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDriveCapabilities.php
@@ -0,0 +1,138 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_TeamDriveCapabilities extends Google_Model
+{
+ public $canAddChildren;
+ public $canComment;
+ public $canCopy;
+ public $canDeleteTeamDrive;
+ public $canDownload;
+ public $canEdit;
+ public $canListChildren;
+ public $canManageMembers;
+ public $canReadRevisions;
+ public $canRemoveChildren;
+ public $canRename;
+ public $canRenameTeamDrive;
+ public $canShare;
+
+ public function setCanAddChildren($canAddChildren)
+ {
+ $this->canAddChildren = $canAddChildren;
+ }
+ public function getCanAddChildren()
+ {
+ return $this->canAddChildren;
+ }
+ public function setCanComment($canComment)
+ {
+ $this->canComment = $canComment;
+ }
+ public function getCanComment()
+ {
+ return $this->canComment;
+ }
+ public function setCanCopy($canCopy)
+ {
+ $this->canCopy = $canCopy;
+ }
+ public function getCanCopy()
+ {
+ return $this->canCopy;
+ }
+ public function setCanDeleteTeamDrive($canDeleteTeamDrive)
+ {
+ $this->canDeleteTeamDrive = $canDeleteTeamDrive;
+ }
+ public function getCanDeleteTeamDrive()
+ {
+ return $this->canDeleteTeamDrive;
+ }
+ public function setCanDownload($canDownload)
+ {
+ $this->canDownload = $canDownload;
+ }
+ public function getCanDownload()
+ {
+ return $this->canDownload;
+ }
+ public function setCanEdit($canEdit)
+ {
+ $this->canEdit = $canEdit;
+ }
+ public function getCanEdit()
+ {
+ return $this->canEdit;
+ }
+ public function setCanListChildren($canListChildren)
+ {
+ $this->canListChildren = $canListChildren;
+ }
+ public function getCanListChildren()
+ {
+ return $this->canListChildren;
+ }
+ public function setCanManageMembers($canManageMembers)
+ {
+ $this->canManageMembers = $canManageMembers;
+ }
+ public function getCanManageMembers()
+ {
+ return $this->canManageMembers;
+ }
+ public function setCanReadRevisions($canReadRevisions)
+ {
+ $this->canReadRevisions = $canReadRevisions;
+ }
+ public function getCanReadRevisions()
+ {
+ return $this->canReadRevisions;
+ }
+ public function setCanRemoveChildren($canRemoveChildren)
+ {
+ $this->canRemoveChildren = $canRemoveChildren;
+ }
+ public function getCanRemoveChildren()
+ {
+ return $this->canRemoveChildren;
+ }
+ public function setCanRename($canRename)
+ {
+ $this->canRename = $canRename;
+ }
+ public function getCanRename()
+ {
+ return $this->canRename;
+ }
+ public function setCanRenameTeamDrive($canRenameTeamDrive)
+ {
+ $this->canRenameTeamDrive = $canRenameTeamDrive;
+ }
+ public function getCanRenameTeamDrive()
+ {
+ return $this->canRenameTeamDrive;
+ }
+ public function setCanShare($canShare)
+ {
+ $this->canShare = $canShare;
+ }
+ public function getCanShare()
+ {
+ return $this->canShare;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDriveList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDriveList.php
new file mode 100644
index 00000000..a64ba690
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDriveList.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_TeamDriveList extends Google_Collection
+{
+ protected $collection_key = 'teamDrives';
+ public $kind;
+ public $nextPageToken;
+ protected $teamDrivesType = 'Google_Service_Drive_TeamDrive';
+ protected $teamDrivesDataType = '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 setTeamDrives($teamDrives)
+ {
+ $this->teamDrives = $teamDrives;
+ }
+ public function getTeamDrives()
+ {
+ return $this->teamDrives;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/User.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/User.php
new file mode 100644
index 00000000..aaa044d5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/User.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Drive_User extends Google_Model
+{
+ public $displayName;
+ public $emailAddress;
+ public $kind;
+ public $me;
+ public $permissionId;
+ public $photoLink;
+
+ 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 setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMe($me)
+ {
+ $this->me = $me;
+ }
+ public function getMe()
+ {
+ return $this->me;
+ }
+ public function setPermissionId($permissionId)
+ {
+ $this->permissionId = $permissionId;
+ }
+ public function getPermissionId()
+ {
+ return $this->permissionId;
+ }
+ public function setPhotoLink($photoLink)
+ {
+ $this->photoLink = $photoLink;
+ }
+ public function getPhotoLink()
+ {
+ return $this->photoLink;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks.php
new file mode 100644
index 00000000..0f7ff87b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 FirebaseDynamicLinks (v1).
+ *
+ * <p>
+ * Firebase Dynamic Links API enables third party developers to programmatically
+ * create and manage Dynamic Links.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://firebase.google.com/docs/dynamic-links/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_FirebaseDynamicLinks extends Google_Service
+{
+ /** View and administer all your Firebase data and settings. */
+ const FIREBASE =
+ "https://www.googleapis.com/auth/firebase";
+
+ public $shortLinks;
+
+ /**
+ * Constructs the internal representation of the FirebaseDynamicLinks service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://firebasedynamiclinks.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'firebasedynamiclinks';
+
+ $this->shortLinks = new Google_Service_FirebaseDynamicLinks_Resource_ShortLinks(
+ $this,
+ $this->serviceName,
+ 'shortLinks',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/shortLinks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/AnalyticsInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/AnalyticsInfo.php
new file mode 100644
index 00000000..f1cd2465
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/AnalyticsInfo.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinks_AnalyticsInfo extends Google_Model
+{
+ protected $googlePlayAnalyticsType = 'Google_Service_FirebaseDynamicLinks_GooglePlayAnalytics';
+ protected $googlePlayAnalyticsDataType = '';
+ protected $itunesConnectAnalyticsType = 'Google_Service_FirebaseDynamicLinks_ITunesConnectAnalytics';
+ protected $itunesConnectAnalyticsDataType = '';
+
+ public function setGooglePlayAnalytics(Google_Service_FirebaseDynamicLinks_GooglePlayAnalytics $googlePlayAnalytics)
+ {
+ $this->googlePlayAnalytics = $googlePlayAnalytics;
+ }
+ public function getGooglePlayAnalytics()
+ {
+ return $this->googlePlayAnalytics;
+ }
+ public function setItunesConnectAnalytics(Google_Service_FirebaseDynamicLinks_ITunesConnectAnalytics $itunesConnectAnalytics)
+ {
+ $this->itunesConnectAnalytics = $itunesConnectAnalytics;
+ }
+ public function getItunesConnectAnalytics()
+ {
+ return $this->itunesConnectAnalytics;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/AndroidInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/AndroidInfo.php
new file mode 100644
index 00000000..d32653e9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/AndroidInfo.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinks_AndroidInfo extends Google_Model
+{
+ public $androidFallbackLink;
+ public $androidLink;
+ public $androidMinPackageVersionCode;
+ public $androidPackageName;
+
+ public function setAndroidFallbackLink($androidFallbackLink)
+ {
+ $this->androidFallbackLink = $androidFallbackLink;
+ }
+ public function getAndroidFallbackLink()
+ {
+ return $this->androidFallbackLink;
+ }
+ public function setAndroidLink($androidLink)
+ {
+ $this->androidLink = $androidLink;
+ }
+ public function getAndroidLink()
+ {
+ return $this->androidLink;
+ }
+ public function setAndroidMinPackageVersionCode($androidMinPackageVersionCode)
+ {
+ $this->androidMinPackageVersionCode = $androidMinPackageVersionCode;
+ }
+ public function getAndroidMinPackageVersionCode()
+ {
+ return $this->androidMinPackageVersionCode;
+ }
+ public function setAndroidPackageName($androidPackageName)
+ {
+ $this->androidPackageName = $androidPackageName;
+ }
+ public function getAndroidPackageName()
+ {
+ return $this->androidPackageName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/CreateShortDynamicLinkRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/CreateShortDynamicLinkRequest.php
new file mode 100644
index 00000000..8ed9aac5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/CreateShortDynamicLinkRequest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinks_CreateShortDynamicLinkRequest extends Google_Model
+{
+ protected $dynamicLinkInfoType = 'Google_Service_FirebaseDynamicLinks_DynamicLinkInfo';
+ protected $dynamicLinkInfoDataType = '';
+ public $longDynamicLink;
+ protected $suffixType = 'Google_Service_FirebaseDynamicLinks_Suffix';
+ protected $suffixDataType = '';
+
+ public function setDynamicLinkInfo(Google_Service_FirebaseDynamicLinks_DynamicLinkInfo $dynamicLinkInfo)
+ {
+ $this->dynamicLinkInfo = $dynamicLinkInfo;
+ }
+ public function getDynamicLinkInfo()
+ {
+ return $this->dynamicLinkInfo;
+ }
+ public function setLongDynamicLink($longDynamicLink)
+ {
+ $this->longDynamicLink = $longDynamicLink;
+ }
+ public function getLongDynamicLink()
+ {
+ return $this->longDynamicLink;
+ }
+ public function setSuffix(Google_Service_FirebaseDynamicLinks_Suffix $suffix)
+ {
+ $this->suffix = $suffix;
+ }
+ public function getSuffix()
+ {
+ return $this->suffix;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/CreateShortDynamicLinkResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/CreateShortDynamicLinkResponse.php
new file mode 100644
index 00000000..4bc4f6f7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/CreateShortDynamicLinkResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinks_CreateShortDynamicLinkResponse extends Google_Collection
+{
+ protected $collection_key = 'warning';
+ public $previewLink;
+ public $shortLink;
+ protected $warningType = 'Google_Service_FirebaseDynamicLinks_DynamicLinkWarning';
+ protected $warningDataType = 'array';
+
+ public function setPreviewLink($previewLink)
+ {
+ $this->previewLink = $previewLink;
+ }
+ public function getPreviewLink()
+ {
+ return $this->previewLink;
+ }
+ public function setShortLink($shortLink)
+ {
+ $this->shortLink = $shortLink;
+ }
+ public function getShortLink()
+ {
+ return $this->shortLink;
+ }
+ public function setWarning($warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/DynamicLinkInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/DynamicLinkInfo.php
new file mode 100644
index 00000000..2d5e2989
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/DynamicLinkInfo.php
@@ -0,0 +1,89 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinks_DynamicLinkInfo extends Google_Model
+{
+ protected $analyticsInfoType = 'Google_Service_FirebaseDynamicLinks_AnalyticsInfo';
+ protected $analyticsInfoDataType = '';
+ protected $androidInfoType = 'Google_Service_FirebaseDynamicLinks_AndroidInfo';
+ protected $androidInfoDataType = '';
+ public $dynamicLinkDomain;
+ protected $iosInfoType = 'Google_Service_FirebaseDynamicLinks_IosInfo';
+ protected $iosInfoDataType = '';
+ public $link;
+ protected $navigationInfoType = 'Google_Service_FirebaseDynamicLinks_NavigationInfo';
+ protected $navigationInfoDataType = '';
+ protected $socialMetaTagInfoType = 'Google_Service_FirebaseDynamicLinks_SocialMetaTagInfo';
+ protected $socialMetaTagInfoDataType = '';
+
+ public function setAnalyticsInfo(Google_Service_FirebaseDynamicLinks_AnalyticsInfo $analyticsInfo)
+ {
+ $this->analyticsInfo = $analyticsInfo;
+ }
+ public function getAnalyticsInfo()
+ {
+ return $this->analyticsInfo;
+ }
+ public function setAndroidInfo(Google_Service_FirebaseDynamicLinks_AndroidInfo $androidInfo)
+ {
+ $this->androidInfo = $androidInfo;
+ }
+ public function getAndroidInfo()
+ {
+ return $this->androidInfo;
+ }
+ public function setDynamicLinkDomain($dynamicLinkDomain)
+ {
+ $this->dynamicLinkDomain = $dynamicLinkDomain;
+ }
+ public function getDynamicLinkDomain()
+ {
+ return $this->dynamicLinkDomain;
+ }
+ public function setIosInfo(Google_Service_FirebaseDynamicLinks_IosInfo $iosInfo)
+ {
+ $this->iosInfo = $iosInfo;
+ }
+ public function getIosInfo()
+ {
+ return $this->iosInfo;
+ }
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setNavigationInfo(Google_Service_FirebaseDynamicLinks_NavigationInfo $navigationInfo)
+ {
+ $this->navigationInfo = $navigationInfo;
+ }
+ public function getNavigationInfo()
+ {
+ return $this->navigationInfo;
+ }
+ public function setSocialMetaTagInfo(Google_Service_FirebaseDynamicLinks_SocialMetaTagInfo $socialMetaTagInfo)
+ {
+ $this->socialMetaTagInfo = $socialMetaTagInfo;
+ }
+ public function getSocialMetaTagInfo()
+ {
+ return $this->socialMetaTagInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/DynamicLinkWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/DynamicLinkWarning.php
new file mode 100644
index 00000000..f0e0bf48
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/DynamicLinkWarning.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinks_DynamicLinkWarning extends Google_Model
+{
+ public $warningCode;
+ public $warningMessage;
+
+ public function setWarningCode($warningCode)
+ {
+ $this->warningCode = $warningCode;
+ }
+ public function getWarningCode()
+ {
+ return $this->warningCode;
+ }
+ public function setWarningMessage($warningMessage)
+ {
+ $this->warningMessage = $warningMessage;
+ }
+ public function getWarningMessage()
+ {
+ return $this->warningMessage;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/GooglePlayAnalytics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/GooglePlayAnalytics.php
new file mode 100644
index 00000000..d5a67d25
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/GooglePlayAnalytics.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinks_GooglePlayAnalytics extends Google_Model
+{
+ public $gclid;
+ public $utmCampaign;
+ public $utmContent;
+ public $utmMedium;
+ public $utmSource;
+ public $utmTerm;
+
+ public function setGclid($gclid)
+ {
+ $this->gclid = $gclid;
+ }
+ public function getGclid()
+ {
+ return $this->gclid;
+ }
+ public function setUtmCampaign($utmCampaign)
+ {
+ $this->utmCampaign = $utmCampaign;
+ }
+ public function getUtmCampaign()
+ {
+ return $this->utmCampaign;
+ }
+ public function setUtmContent($utmContent)
+ {
+ $this->utmContent = $utmContent;
+ }
+ public function getUtmContent()
+ {
+ return $this->utmContent;
+ }
+ public function setUtmMedium($utmMedium)
+ {
+ $this->utmMedium = $utmMedium;
+ }
+ public function getUtmMedium()
+ {
+ return $this->utmMedium;
+ }
+ public function setUtmSource($utmSource)
+ {
+ $this->utmSource = $utmSource;
+ }
+ public function getUtmSource()
+ {
+ return $this->utmSource;
+ }
+ public function setUtmTerm($utmTerm)
+ {
+ $this->utmTerm = $utmTerm;
+ }
+ public function getUtmTerm()
+ {
+ return $this->utmTerm;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/ITunesConnectAnalytics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/ITunesConnectAnalytics.php
new file mode 100644
index 00000000..a922dfa5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/ITunesConnectAnalytics.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinks_ITunesConnectAnalytics extends Google_Model
+{
+ public $at;
+ public $ct;
+ public $mt;
+ public $pt;
+
+ public function setAt($at)
+ {
+ $this->at = $at;
+ }
+ public function getAt()
+ {
+ return $this->at;
+ }
+ public function setCt($ct)
+ {
+ $this->ct = $ct;
+ }
+ public function getCt()
+ {
+ return $this->ct;
+ }
+ public function setMt($mt)
+ {
+ $this->mt = $mt;
+ }
+ public function getMt()
+ {
+ return $this->mt;
+ }
+ public function setPt($pt)
+ {
+ $this->pt = $pt;
+ }
+ public function getPt()
+ {
+ return $this->pt;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/IosInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/IosInfo.php
new file mode 100644
index 00000000..3ae84bc0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/IosInfo.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinks_IosInfo extends Google_Model
+{
+ public $iosAppStoreId;
+ public $iosBundleId;
+ public $iosCustomScheme;
+ public $iosFallbackLink;
+ public $iosIpadBundleId;
+ public $iosIpadFallbackLink;
+
+ public function setIosAppStoreId($iosAppStoreId)
+ {
+ $this->iosAppStoreId = $iosAppStoreId;
+ }
+ public function getIosAppStoreId()
+ {
+ return $this->iosAppStoreId;
+ }
+ public function setIosBundleId($iosBundleId)
+ {
+ $this->iosBundleId = $iosBundleId;
+ }
+ public function getIosBundleId()
+ {
+ return $this->iosBundleId;
+ }
+ public function setIosCustomScheme($iosCustomScheme)
+ {
+ $this->iosCustomScheme = $iosCustomScheme;
+ }
+ public function getIosCustomScheme()
+ {
+ return $this->iosCustomScheme;
+ }
+ public function setIosFallbackLink($iosFallbackLink)
+ {
+ $this->iosFallbackLink = $iosFallbackLink;
+ }
+ public function getIosFallbackLink()
+ {
+ return $this->iosFallbackLink;
+ }
+ public function setIosIpadBundleId($iosIpadBundleId)
+ {
+ $this->iosIpadBundleId = $iosIpadBundleId;
+ }
+ public function getIosIpadBundleId()
+ {
+ return $this->iosIpadBundleId;
+ }
+ public function setIosIpadFallbackLink($iosIpadFallbackLink)
+ {
+ $this->iosIpadFallbackLink = $iosIpadFallbackLink;
+ }
+ public function getIosIpadFallbackLink()
+ {
+ return $this->iosIpadFallbackLink;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/NavigationInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/NavigationInfo.php
new file mode 100644
index 00000000..fdae5f34
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/NavigationInfo.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinks_NavigationInfo extends Google_Model
+{
+ public $enableForcedRedirect;
+
+ public function setEnableForcedRedirect($enableForcedRedirect)
+ {
+ $this->enableForcedRedirect = $enableForcedRedirect;
+ }
+ public function getEnableForcedRedirect()
+ {
+ return $this->enableForcedRedirect;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/Resource/ShortLinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/Resource/ShortLinks.php
new file mode 100644
index 00000000..c725504f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/Resource/ShortLinks.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "shortLinks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $firebasedynamiclinksService = new Google_Service_FirebaseDynamicLinks(...);
+ * $shortLinks = $firebasedynamiclinksService->shortLinks;
+ * </code>
+ */
+class Google_Service_FirebaseDynamicLinks_Resource_ShortLinks extends Google_Service_Resource
+{
+ /**
+ * Creates a short Dynamic Link given either a valid long Dynamic Link or
+ * details such as Dynamic Link domain, Android and iOS app information. The
+ * created short Dynamic Link will not expire.
+ *
+ * Repeated calls with the same long Dynamic Link or Dynamic Link information
+ * will produce the same short Dynamic Link.
+ *
+ * The Dynamic Link domain in the request must be owned by requester's Firebase
+ * project. (shortLinks.create)
+ *
+ * @param Google_Service_FirebaseDynamicLinks_CreateShortDynamicLinkRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_FirebaseDynamicLinks_CreateShortDynamicLinkResponse
+ */
+ public function create(Google_Service_FirebaseDynamicLinks_CreateShortDynamicLinkRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_FirebaseDynamicLinks_CreateShortDynamicLinkResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/SocialMetaTagInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/SocialMetaTagInfo.php
new file mode 100644
index 00000000..efa8c5ee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/SocialMetaTagInfo.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinks_SocialMetaTagInfo extends Google_Model
+{
+ public $socialDescription;
+ public $socialImageLink;
+ public $socialTitle;
+
+ public function setSocialDescription($socialDescription)
+ {
+ $this->socialDescription = $socialDescription;
+ }
+ public function getSocialDescription()
+ {
+ return $this->socialDescription;
+ }
+ public function setSocialImageLink($socialImageLink)
+ {
+ $this->socialImageLink = $socialImageLink;
+ }
+ public function getSocialImageLink()
+ {
+ return $this->socialImageLink;
+ }
+ public function setSocialTitle($socialTitle)
+ {
+ $this->socialTitle = $socialTitle;
+ }
+ public function getSocialTitle()
+ {
+ return $this->socialTitle;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/Suffix.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/Suffix.php
new file mode 100644
index 00000000..4e9cb2d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/Suffix.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinks_Suffix extends Google_Model
+{
+ public $option;
+
+ public function setOption($option)
+ {
+ $this->option = $option;
+ }
+ public function getOption()
+ {
+ return $this->option;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI.php
new file mode 100644
index 00000000..4c8ade40
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 FirebaseDynamicLinksAPI (v1).
+ *
+ * <p>
+ * Firebase Dynamic Links API enables third party developers to create and
+ * manage the Dynamic Links(go/fdl).</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://firebase.google.com/docs/dynamic-links/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_FirebaseDynamicLinksAPI extends Google_Service
+{
+ /** View and administer all your Firebase data and settings. */
+ const FIREBASE =
+ "https://www.googleapis.com/auth/firebase";
+
+ public $shortDynamicLinks;
+
+ /**
+ * Constructs the internal representation of the FirebaseDynamicLinksAPI
+ * service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://firebasedynamiclinks.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'firebasedynamiclinks';
+
+ $this->shortDynamicLinks = new Google_Service_FirebaseDynamicLinksAPI_Resource_ShortDynamicLinks(
+ $this,
+ $this->serviceName,
+ 'shortDynamicLinks',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/shortDynamicLinks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/AnalyticsInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/AnalyticsInfo.php
new file mode 100644
index 00000000..07ac37af
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/AnalyticsInfo.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinksAPI_AnalyticsInfo extends Google_Model
+{
+ protected $googlePlayAnalyticsType = 'Google_Service_FirebaseDynamicLinksAPI_GooglePlayAnalytics';
+ protected $googlePlayAnalyticsDataType = '';
+ protected $itunesConnectAnalyticsType = 'Google_Service_FirebaseDynamicLinksAPI_ITunesConnectAnalytics';
+ protected $itunesConnectAnalyticsDataType = '';
+
+ public function setGooglePlayAnalytics(Google_Service_FirebaseDynamicLinksAPI_GooglePlayAnalytics $googlePlayAnalytics)
+ {
+ $this->googlePlayAnalytics = $googlePlayAnalytics;
+ }
+ public function getGooglePlayAnalytics()
+ {
+ return $this->googlePlayAnalytics;
+ }
+ public function setItunesConnectAnalytics(Google_Service_FirebaseDynamicLinksAPI_ITunesConnectAnalytics $itunesConnectAnalytics)
+ {
+ $this->itunesConnectAnalytics = $itunesConnectAnalytics;
+ }
+ public function getItunesConnectAnalytics()
+ {
+ return $this->itunesConnectAnalytics;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/AndroidInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/AndroidInfo.php
new file mode 100644
index 00000000..63badeac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/AndroidInfo.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinksAPI_AndroidInfo extends Google_Model
+{
+ public $androidFallbackLink;
+ public $androidLink;
+ public $androidMinPackageVersionCode;
+ public $androidPackageName;
+
+ public function setAndroidFallbackLink($androidFallbackLink)
+ {
+ $this->androidFallbackLink = $androidFallbackLink;
+ }
+ public function getAndroidFallbackLink()
+ {
+ return $this->androidFallbackLink;
+ }
+ public function setAndroidLink($androidLink)
+ {
+ $this->androidLink = $androidLink;
+ }
+ public function getAndroidLink()
+ {
+ return $this->androidLink;
+ }
+ public function setAndroidMinPackageVersionCode($androidMinPackageVersionCode)
+ {
+ $this->androidMinPackageVersionCode = $androidMinPackageVersionCode;
+ }
+ public function getAndroidMinPackageVersionCode()
+ {
+ return $this->androidMinPackageVersionCode;
+ }
+ public function setAndroidPackageName($androidPackageName)
+ {
+ $this->androidPackageName = $androidPackageName;
+ }
+ public function getAndroidPackageName()
+ {
+ return $this->androidPackageName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/CreateShortDynamicLinkRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/CreateShortDynamicLinkRequest.php
new file mode 100644
index 00000000..969f4ed7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/CreateShortDynamicLinkRequest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinksAPI_CreateShortDynamicLinkRequest extends Google_Model
+{
+ protected $dynamicLinkInfoType = 'Google_Service_FirebaseDynamicLinksAPI_DynamicLinkInfo';
+ protected $dynamicLinkInfoDataType = '';
+ public $longDynamicLink;
+ protected $suffixType = 'Google_Service_FirebaseDynamicLinksAPI_Suffix';
+ protected $suffixDataType = '';
+
+ public function setDynamicLinkInfo(Google_Service_FirebaseDynamicLinksAPI_DynamicLinkInfo $dynamicLinkInfo)
+ {
+ $this->dynamicLinkInfo = $dynamicLinkInfo;
+ }
+ public function getDynamicLinkInfo()
+ {
+ return $this->dynamicLinkInfo;
+ }
+ public function setLongDynamicLink($longDynamicLink)
+ {
+ $this->longDynamicLink = $longDynamicLink;
+ }
+ public function getLongDynamicLink()
+ {
+ return $this->longDynamicLink;
+ }
+ public function setSuffix(Google_Service_FirebaseDynamicLinksAPI_Suffix $suffix)
+ {
+ $this->suffix = $suffix;
+ }
+ public function getSuffix()
+ {
+ return $this->suffix;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/CreateShortDynamicLinkResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/CreateShortDynamicLinkResponse.php
new file mode 100644
index 00000000..36d3f033
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/CreateShortDynamicLinkResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinksAPI_CreateShortDynamicLinkResponse extends Google_Collection
+{
+ protected $collection_key = 'warning';
+ public $previewLink;
+ public $shortLink;
+ protected $warningType = 'Google_Service_FirebaseDynamicLinksAPI_DynamicLinkWarning';
+ protected $warningDataType = 'array';
+
+ public function setPreviewLink($previewLink)
+ {
+ $this->previewLink = $previewLink;
+ }
+ public function getPreviewLink()
+ {
+ return $this->previewLink;
+ }
+ public function setShortLink($shortLink)
+ {
+ $this->shortLink = $shortLink;
+ }
+ public function getShortLink()
+ {
+ return $this->shortLink;
+ }
+ public function setWarning($warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/DynamicLinkInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/DynamicLinkInfo.php
new file mode 100644
index 00000000..5848ca45
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/DynamicLinkInfo.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinksAPI_DynamicLinkInfo extends Google_Model
+{
+ protected $analyticsInfoType = 'Google_Service_FirebaseDynamicLinksAPI_AnalyticsInfo';
+ protected $analyticsInfoDataType = '';
+ protected $androidInfoType = 'Google_Service_FirebaseDynamicLinksAPI_AndroidInfo';
+ protected $androidInfoDataType = '';
+ public $dynamicLinkDomain;
+ protected $iosInfoType = 'Google_Service_FirebaseDynamicLinksAPI_IosInfo';
+ protected $iosInfoDataType = '';
+ public $isAd;
+ public $link;
+ protected $socialMetaTagInfoType = 'Google_Service_FirebaseDynamicLinksAPI_SocialMetaTagInfo';
+ protected $socialMetaTagInfoDataType = '';
+
+ public function setAnalyticsInfo(Google_Service_FirebaseDynamicLinksAPI_AnalyticsInfo $analyticsInfo)
+ {
+ $this->analyticsInfo = $analyticsInfo;
+ }
+ public function getAnalyticsInfo()
+ {
+ return $this->analyticsInfo;
+ }
+ public function setAndroidInfo(Google_Service_FirebaseDynamicLinksAPI_AndroidInfo $androidInfo)
+ {
+ $this->androidInfo = $androidInfo;
+ }
+ public function getAndroidInfo()
+ {
+ return $this->androidInfo;
+ }
+ public function setDynamicLinkDomain($dynamicLinkDomain)
+ {
+ $this->dynamicLinkDomain = $dynamicLinkDomain;
+ }
+ public function getDynamicLinkDomain()
+ {
+ return $this->dynamicLinkDomain;
+ }
+ public function setIosInfo(Google_Service_FirebaseDynamicLinksAPI_IosInfo $iosInfo)
+ {
+ $this->iosInfo = $iosInfo;
+ }
+ public function getIosInfo()
+ {
+ return $this->iosInfo;
+ }
+ public function setIsAd($isAd)
+ {
+ $this->isAd = $isAd;
+ }
+ public function getIsAd()
+ {
+ return $this->isAd;
+ }
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setSocialMetaTagInfo(Google_Service_FirebaseDynamicLinksAPI_SocialMetaTagInfo $socialMetaTagInfo)
+ {
+ $this->socialMetaTagInfo = $socialMetaTagInfo;
+ }
+ public function getSocialMetaTagInfo()
+ {
+ return $this->socialMetaTagInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/DynamicLinkWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/DynamicLinkWarning.php
new file mode 100644
index 00000000..d67a925d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/DynamicLinkWarning.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinksAPI_DynamicLinkWarning extends Google_Model
+{
+ public $warningCode;
+ public $warningMessage;
+
+ public function setWarningCode($warningCode)
+ {
+ $this->warningCode = $warningCode;
+ }
+ public function getWarningCode()
+ {
+ return $this->warningCode;
+ }
+ public function setWarningMessage($warningMessage)
+ {
+ $this->warningMessage = $warningMessage;
+ }
+ public function getWarningMessage()
+ {
+ return $this->warningMessage;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/GooglePlayAnalytics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/GooglePlayAnalytics.php
new file mode 100644
index 00000000..906acffb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/GooglePlayAnalytics.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinksAPI_GooglePlayAnalytics extends Google_Model
+{
+ public $gclid;
+ public $utmCampaign;
+ public $utmContent;
+ public $utmMedium;
+ public $utmSource;
+ public $utmTerm;
+
+ public function setGclid($gclid)
+ {
+ $this->gclid = $gclid;
+ }
+ public function getGclid()
+ {
+ return $this->gclid;
+ }
+ public function setUtmCampaign($utmCampaign)
+ {
+ $this->utmCampaign = $utmCampaign;
+ }
+ public function getUtmCampaign()
+ {
+ return $this->utmCampaign;
+ }
+ public function setUtmContent($utmContent)
+ {
+ $this->utmContent = $utmContent;
+ }
+ public function getUtmContent()
+ {
+ return $this->utmContent;
+ }
+ public function setUtmMedium($utmMedium)
+ {
+ $this->utmMedium = $utmMedium;
+ }
+ public function getUtmMedium()
+ {
+ return $this->utmMedium;
+ }
+ public function setUtmSource($utmSource)
+ {
+ $this->utmSource = $utmSource;
+ }
+ public function getUtmSource()
+ {
+ return $this->utmSource;
+ }
+ public function setUtmTerm($utmTerm)
+ {
+ $this->utmTerm = $utmTerm;
+ }
+ public function getUtmTerm()
+ {
+ return $this->utmTerm;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/ITunesConnectAnalytics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/ITunesConnectAnalytics.php
new file mode 100644
index 00000000..14f77741
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/ITunesConnectAnalytics.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinksAPI_ITunesConnectAnalytics extends Google_Model
+{
+ public $at;
+ public $ct;
+ public $mt;
+ public $pt;
+
+ public function setAt($at)
+ {
+ $this->at = $at;
+ }
+ public function getAt()
+ {
+ return $this->at;
+ }
+ public function setCt($ct)
+ {
+ $this->ct = $ct;
+ }
+ public function getCt()
+ {
+ return $this->ct;
+ }
+ public function setMt($mt)
+ {
+ $this->mt = $mt;
+ }
+ public function getMt()
+ {
+ return $this->mt;
+ }
+ public function setPt($pt)
+ {
+ $this->pt = $pt;
+ }
+ public function getPt()
+ {
+ return $this->pt;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/IosInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/IosInfo.php
new file mode 100644
index 00000000..acea3641
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/IosInfo.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinksAPI_IosInfo extends Google_Model
+{
+ public $iosAppStoreId;
+ public $iosBundleId;
+ public $iosCustomScheme;
+ public $iosFallbackLink;
+ public $iosIpadBundleId;
+ public $iosIpadFallbackLink;
+
+ public function setIosAppStoreId($iosAppStoreId)
+ {
+ $this->iosAppStoreId = $iosAppStoreId;
+ }
+ public function getIosAppStoreId()
+ {
+ return $this->iosAppStoreId;
+ }
+ public function setIosBundleId($iosBundleId)
+ {
+ $this->iosBundleId = $iosBundleId;
+ }
+ public function getIosBundleId()
+ {
+ return $this->iosBundleId;
+ }
+ public function setIosCustomScheme($iosCustomScheme)
+ {
+ $this->iosCustomScheme = $iosCustomScheme;
+ }
+ public function getIosCustomScheme()
+ {
+ return $this->iosCustomScheme;
+ }
+ public function setIosFallbackLink($iosFallbackLink)
+ {
+ $this->iosFallbackLink = $iosFallbackLink;
+ }
+ public function getIosFallbackLink()
+ {
+ return $this->iosFallbackLink;
+ }
+ public function setIosIpadBundleId($iosIpadBundleId)
+ {
+ $this->iosIpadBundleId = $iosIpadBundleId;
+ }
+ public function getIosIpadBundleId()
+ {
+ return $this->iosIpadBundleId;
+ }
+ public function setIosIpadFallbackLink($iosIpadFallbackLink)
+ {
+ $this->iosIpadFallbackLink = $iosIpadFallbackLink;
+ }
+ public function getIosIpadFallbackLink()
+ {
+ return $this->iosIpadFallbackLink;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/Resource/ShortDynamicLinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/Resource/ShortDynamicLinks.php
new file mode 100644
index 00000000..9c4a183d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/Resource/ShortDynamicLinks.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "shortDynamicLinks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $firebasedynamiclinksService = new Google_Service_FirebaseDynamicLinksAPI(...);
+ * $shortDynamicLinks = $firebasedynamiclinksService->shortDynamicLinks;
+ * </code>
+ */
+class Google_Service_FirebaseDynamicLinksAPI_Resource_ShortDynamicLinks extends Google_Service_Resource
+{
+ /**
+ * Creates a short Dynamic Link given either a valid long Dynamic Link or
+ * details such as Dynamic Link domain, Android and iOS app information. The
+ * created short Dynamic Link will not expire.
+ *
+ * Repeated calls with the same long Dynamic Link or Dynamic Link information
+ * will produce the same short Dynamic Link.
+ *
+ * The Dynamic Link domain in the request must be owned by requester's Firebase
+ * project. (shortDynamicLinks.create)
+ *
+ * @param Google_Service_FirebaseDynamicLinksAPI_CreateShortDynamicLinkRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_FirebaseDynamicLinksAPI_CreateShortDynamicLinkResponse
+ */
+ public function create(Google_Service_FirebaseDynamicLinksAPI_CreateShortDynamicLinkRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_FirebaseDynamicLinksAPI_CreateShortDynamicLinkResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/SocialMetaTagInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/SocialMetaTagInfo.php
new file mode 100644
index 00000000..e7317da7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/SocialMetaTagInfo.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinksAPI_SocialMetaTagInfo extends Google_Model
+{
+ public $socialDescription;
+ public $socialImageLink;
+ public $socialTitle;
+
+ public function setSocialDescription($socialDescription)
+ {
+ $this->socialDescription = $socialDescription;
+ }
+ public function getSocialDescription()
+ {
+ return $this->socialDescription;
+ }
+ public function setSocialImageLink($socialImageLink)
+ {
+ $this->socialImageLink = $socialImageLink;
+ }
+ public function getSocialImageLink()
+ {
+ return $this->socialImageLink;
+ }
+ public function setSocialTitle($socialTitle)
+ {
+ $this->socialTitle = $socialTitle;
+ }
+ public function getSocialTitle()
+ {
+ return $this->socialTitle;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/Suffix.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/Suffix.php
new file mode 100644
index 00000000..63b6f42d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/Suffix.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseDynamicLinksAPI_Suffix extends Google_Model
+{
+ public $option;
+
+ public function setOption($option)
+ {
+ $this->option = $option;
+ }
+ public function getOption()
+ {
+ return $this->option;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI.php
new file mode 100644
index 00000000..459af977
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI.php
@@ -0,0 +1,212 @@
+<?php
+/*
+ * Copyright 2016 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 FirebaseRulesAPI (v1).
+ *
+ * <p>
+ * Creates and manages rules that determine when a Firebase Rules-enabled
+ * service should permit a request.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://firebase.google.com/docs/storage/security" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_FirebaseRulesAPI extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View and administer all your Firebase data and settings. */
+ const FIREBASE =
+ "https://www.googleapis.com/auth/firebase";
+ /** View all your Firebase data and settings. */
+ const FIREBASE_READONLY =
+ "https://www.googleapis.com/auth/firebase.readonly";
+
+ public $projects;
+ public $projects_releases;
+ public $projects_rulesets;
+
+ /**
+ * Constructs the internal representation of the FirebaseRulesAPI service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://firebaserules.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'firebaserules';
+
+ $this->projects = new Google_Service_FirebaseRulesAPI_Resource_Projects(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'test' => array(
+ 'path' => 'v1/{+name}:test',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_releases = new Google_Service_FirebaseRulesAPI_Resource_ProjectsReleases(
+ $this,
+ $this->serviceName,
+ 'releases',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/{+name}/releases',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+name}/releases',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_rulesets = new Google_Service_FirebaseRulesAPI_Resource_ProjectsRulesets(
+ $this,
+ $this->serviceName,
+ 'rulesets',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/{+name}/rulesets',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+name}/rulesets',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/FirebaserulesEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/FirebaserulesEmpty.php
new file mode 100644
index 00000000..2583a330
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/FirebaserulesEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseRulesAPI_FirebaserulesEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/FirebaserulesFile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/FirebaserulesFile.php
new file mode 100644
index 00000000..c12abcc1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/FirebaserulesFile.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseRulesAPI_FirebaserulesFile extends Google_Model
+{
+ public $content;
+ public $fingerprint;
+ public $name;
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Issue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Issue.php
new file mode 100644
index 00000000..01b73c9a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Issue.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseRulesAPI_Issue extends Google_Model
+{
+ public $description;
+ public $severity;
+ protected $sourcePositionType = 'Google_Service_FirebaseRulesAPI_SourcePosition';
+ protected $sourcePositionDataType = '';
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setSeverity($severity)
+ {
+ $this->severity = $severity;
+ }
+ public function getSeverity()
+ {
+ return $this->severity;
+ }
+ public function setSourcePosition(Google_Service_FirebaseRulesAPI_SourcePosition $sourcePosition)
+ {
+ $this->sourcePosition = $sourcePosition;
+ }
+ public function getSourcePosition()
+ {
+ return $this->sourcePosition;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/ListReleasesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/ListReleasesResponse.php
new file mode 100644
index 00000000..a3f9575d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/ListReleasesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseRulesAPI_ListReleasesResponse extends Google_Collection
+{
+ protected $collection_key = 'releases';
+ public $nextPageToken;
+ protected $releasesType = 'Google_Service_FirebaseRulesAPI_Release';
+ protected $releasesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setReleases($releases)
+ {
+ $this->releases = $releases;
+ }
+ public function getReleases()
+ {
+ return $this->releases;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/ListRulesetsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/ListRulesetsResponse.php
new file mode 100644
index 00000000..c94753cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/ListRulesetsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseRulesAPI_ListRulesetsResponse extends Google_Collection
+{
+ protected $collection_key = 'rulesets';
+ public $nextPageToken;
+ protected $rulesetsType = 'Google_Service_FirebaseRulesAPI_Ruleset';
+ protected $rulesetsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setRulesets($rulesets)
+ {
+ $this->rulesets = $rulesets;
+ }
+ public function getRulesets()
+ {
+ return $this->rulesets;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Release.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Release.php
new file mode 100644
index 00000000..eff6c456
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Release.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseRulesAPI_Release extends Google_Model
+{
+ public $createTime;
+ public $name;
+ public $rulesetName;
+ public $updateTime;
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRulesetName($rulesetName)
+ {
+ $this->rulesetName = $rulesetName;
+ }
+ public function getRulesetName()
+ {
+ return $this->rulesetName;
+ }
+ public function setUpdateTime($updateTime)
+ {
+ $this->updateTime = $updateTime;
+ }
+ public function getUpdateTime()
+ {
+ return $this->updateTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/Projects.php
new file mode 100644
index 00000000..344eda48
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/Projects.php
@@ -0,0 +1,62 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $firebaserulesService = new Google_Service_FirebaseRulesAPI(...);
+ * $projects = $firebaserulesService->projects;
+ * </code>
+ */
+class Google_Service_FirebaseRulesAPI_Resource_Projects extends Google_Service_Resource
+{
+ /**
+ * Test `Source` for syntactic and semantic correctness. Issues present in the
+ * rules, if any, will be returned to the caller with a description, severity,
+ * and source location.
+ *
+ * The test method will typically be executed with a developer provided
+ * `Source`, but if regression testing is desired, this method may be executed
+ * against a `Ruleset` resource name and the `Source` will be retrieved from the
+ * persisted `Ruleset`.
+ *
+ * The following is an example of `Source` that permits users to upload images
+ * to a bucket bearing their user id and matching the correct metadata:
+ *
+ * _*Example*_
+ *
+ * // Users are allowed to subscribe and unsubscribe to the blog.
+ * service firebase.storage { match /users/{userId}/images/{imageName} {
+ * allow write: if userId == request.userId &&
+ * (imageName.endsWith('.png') || imageName.endsWith('.jpg')) &&
+ * resource.mimeType.startsWith('image/') } } (projects.test)
+ *
+ * @param string $name Name of the project.
+ *
+ * Format: `projects/{project_id}`
+ * @param Google_Service_FirebaseRulesAPI_TestRulesetRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_FirebaseRulesAPI_TestRulesetResponse
+ */
+ public function test($name, Google_Service_FirebaseRulesAPI_TestRulesetRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('test', array($params), "Google_Service_FirebaseRulesAPI_TestRulesetResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/ProjectsReleases.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/ProjectsReleases.php
new file mode 100644
index 00000000..b0911978
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/ProjectsReleases.php
@@ -0,0 +1,186 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "releases" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $firebaserulesService = new Google_Service_FirebaseRulesAPI(...);
+ * $releases = $firebaserulesService->releases;
+ * </code>
+ */
+class Google_Service_FirebaseRulesAPI_Resource_ProjectsReleases extends Google_Service_Resource
+{
+ /**
+ * Create a `Release`.
+ *
+ * Release names should reflect the developer's deployment practices. For
+ * example, the release name may include the environment name, application name,
+ * application version, or any other name meaningful to the developer. Once a
+ * `Release` refers to a `Ruleset`, the rules can be enforced by Firebase Rules-
+ * enabled services.
+ *
+ * More than one `Release` may be 'live' concurrently. Consider the following
+ * three `Release` names for `projects/foo` and the `Ruleset` to which they
+ * refer.
+ *
+ * Release Name | Ruleset Name
+ * --------------------------------|------------- projects/foo/releases/prod
+ * | projects/foo/rulesets/uuid123 projects/foo/releases/prod/beta |
+ * projects/foo/rulesets/uuid123 projects/foo/releases/prod/v23 |
+ * projects/foo/rulesets/uuid456
+ *
+ * The table reflects the `Ruleset` rollout in progress. The `prod` and
+ * `prod/beta` releases refer to the same `Ruleset`. However, `prod/v23` refers
+ * to a new `Ruleset`. The `Ruleset` reference for a `Release` may be updated
+ * using the UpdateRelease method, and the custom `Release` name may be
+ * referenced by specifying the `X-Firebase-Rules-Release-Name` header.
+ * (releases.create)
+ *
+ * @param string $name Resource name for the project which owns this `Release`.
+ *
+ * Format: `projects/{project_id}`
+ * @param Google_Service_FirebaseRulesAPI_Release $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_FirebaseRulesAPI_Release
+ */
+ public function create($name, Google_Service_FirebaseRulesAPI_Release $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_FirebaseRulesAPI_Release");
+ }
+ /**
+ * Delete a `Release` by resource name. (releases.delete)
+ *
+ * @param string $name Resource name for the `Release` to delete.
+ *
+ * Format: `projects/{project_id}/releases/{release_id}`
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_FirebaseRulesAPI_FirebaserulesEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_FirebaseRulesAPI_FirebaserulesEmpty");
+ }
+ /**
+ * Get a `Release` by name. (releases.get)
+ *
+ * @param string $name Resource name of the `Release`.
+ *
+ * Format: `projects/{project_id}/releases/{release_id}`
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_FirebaseRulesAPI_Release
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_FirebaseRulesAPI_Release");
+ }
+ /**
+ * List the `Release` values for a project. This list may optionally be filtered
+ * by `Release` name or `Ruleset` id or both. (releases.listProjectsReleases)
+ *
+ * @param string $name Resource name for the project.
+ *
+ * Format: `projects/{project_id}`
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Page size to load. Maximum of 100. Defaults to 10.
+ * Note: `page_size` is just a hint and the service may choose to load less than
+ * `page_size` due to the size of the output. To traverse all of the releases,
+ * caller should iterate until the `page_token` is empty.
+ * @opt_param string filter `Release` filter. The list method supports filters
+ * with restrictions on the `Release` `name` and also on the `Ruleset`
+ * `ruleset_name`.
+ *
+ * Example 1) A filter of 'name=prod*' might return `Release`s with names within
+ * 'projects/foo' prefixed with 'prod':
+ *
+ * Name | Ruleset Name
+ * ------------------------------|------------- projects/foo/releases/prod |
+ * projects/foo/rulesets/uuid1234 projects/foo/releases/prod/v1 |
+ * projects/foo/rulesets/uuid1234 projects/foo/releases/prod/v2 |
+ * projects/foo/rulesets/uuid8888
+ *
+ * Example 2) A filter of `name=prod* ruleset_name=uuid1234` would return only
+ * `Release` instances for 'projects/foo' with names prefixed with 'prod'
+ * referring to the same `Ruleset` name of 'uuid1234':
+ *
+ * Name | Ruleset Name
+ * ------------------------------|------------- projects/foo/releases/prod |
+ * projects/foo/rulesets/1234 projects/foo/releases/prod/v1 |
+ * projects/foo/rulesets/1234
+ *
+ * In the examples, the filter parameters refer to the search filters for
+ * release and ruleset names are relative to the project releases and rulesets
+ * collections. Fully qualified prefixed may also be used. e.g.
+ * `name=projects/foo/releases/prod* ruleset_name=projects/foo/rulesets/uuid1`
+ * @opt_param string pageToken Next page token for the next batch of `Release`
+ * instances.
+ * @return Google_Service_FirebaseRulesAPI_ListReleasesResponse
+ */
+ public function listProjectsReleases($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_FirebaseRulesAPI_ListReleasesResponse");
+ }
+ /**
+ * Update a `Release`.
+ *
+ * Only updates to the `ruleset_name` field will be honored. `Release` rename is
+ * not supported. To create a `Release` use the CreateRelease method instead.
+ * (releases.update)
+ *
+ * @param string $name Resource name for the `Release`.
+ *
+ * `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2` which
+ * affords developers a great deal of flexibility in mapping the name to the
+ * style that best fits their existing development practices. For example, a
+ * name could refer to an environment, an app, a version, or some combination of
+ * three.
+ *
+ * In the table below, for the project name `projects/foo`, the following
+ * relative release paths show how flat and structured names might be chosen to
+ * match a desired development / deployment strategy.
+ *
+ * Use Case | Flat Name | Structured Name
+ * -------------|---------------------|---------------- Environments |
+ * releases/qa | releases/qa Apps | releases/app1_qa |
+ * releases/app1/qa Versions | releases/app1_v2_qa | releases/app1/v2/qa
+ *
+ * The delimiter between the release name path elements can be almost anything
+ * and it should work equally well with the release name list filter, but in
+ * many ways the structured paths provide a clearer picture of the relationship
+ * between `Release` instances.
+ *
+ * Format: `projects/{project_id}/releases/{release_id}`
+ * @param Google_Service_FirebaseRulesAPI_Release $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_FirebaseRulesAPI_Release
+ */
+ public function update($name, Google_Service_FirebaseRulesAPI_Release $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_FirebaseRulesAPI_Release");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/ProjectsRulesets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/ProjectsRulesets.php
new file mode 100644
index 00000000..56b66c4e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/ProjectsRulesets.php
@@ -0,0 +1,108 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "rulesets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $firebaserulesService = new Google_Service_FirebaseRulesAPI(...);
+ * $rulesets = $firebaserulesService->rulesets;
+ * </code>
+ */
+class Google_Service_FirebaseRulesAPI_Resource_ProjectsRulesets extends Google_Service_Resource
+{
+ /**
+ * Create a `Ruleset` from `Source`.
+ *
+ * The `Ruleset` is given a unique generated name which is returned to the
+ * caller. `Source` containing syntactic or semantics errors will result in an
+ * error response indicating the first error encountered. For a detailed view of
+ * `Source` issues, use TestRuleset. (rulesets.create)
+ *
+ * @param string $name Resource name for Project which owns this `Ruleset`.
+ *
+ * Format: `projects/{project_id}`
+ * @param Google_Service_FirebaseRulesAPI_Ruleset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_FirebaseRulesAPI_Ruleset
+ */
+ public function create($name, Google_Service_FirebaseRulesAPI_Ruleset $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_FirebaseRulesAPI_Ruleset");
+ }
+ /**
+ * Delete a `Ruleset` by resource name.
+ *
+ * If the `Ruleset` is referenced by a `Release` the operation will fail.
+ * (rulesets.delete)
+ *
+ * @param string $name Resource name for the ruleset to delete.
+ *
+ * Format: `projects/{project_id}/rulesets/{ruleset_id}`
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_FirebaseRulesAPI_FirebaserulesEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_FirebaseRulesAPI_FirebaserulesEmpty");
+ }
+ /**
+ * Get a `Ruleset` by name including the full `Source` contents. (rulesets.get)
+ *
+ * @param string $name Resource name for the ruleset to get.
+ *
+ * Format: `projects/{project_id}/rulesets/{ruleset_id}`
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_FirebaseRulesAPI_Ruleset
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_FirebaseRulesAPI_Ruleset");
+ }
+ /**
+ * List `Ruleset` metadata only and optionally filter the results by Ruleset
+ * name.
+ *
+ * The full `Source` contents of a `Ruleset` may be retrieved with GetRuleset.
+ * (rulesets.listProjectsRulesets)
+ *
+ * @param string $name Resource name for the project.
+ *
+ * Format: `projects/{project_id}`
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Page size to load. Maximum of 100. Defaults to 10.
+ * Note: `page_size` is just a hint and the service may choose to load less than
+ * `page_size` due to the size of the output. To traverse all of the releases,
+ * caller should iterate until the `page_token` is empty.
+ * @opt_param string pageToken Next page token for loading the next batch of
+ * `Ruleset` instances.
+ * @return Google_Service_FirebaseRulesAPI_ListRulesetsResponse
+ */
+ public function listProjectsRulesets($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_FirebaseRulesAPI_ListRulesetsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Ruleset.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Ruleset.php
new file mode 100644
index 00000000..567d1017
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Ruleset.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseRulesAPI_Ruleset extends Google_Model
+{
+ public $createTime;
+ public $name;
+ protected $sourceType = 'Google_Service_FirebaseRulesAPI_Source';
+ protected $sourceDataType = '';
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSource(Google_Service_FirebaseRulesAPI_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Source.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Source.php
new file mode 100644
index 00000000..4ad6e5bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Source.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseRulesAPI_Source extends Google_Collection
+{
+ protected $collection_key = 'files';
+ protected $filesType = 'Google_Service_FirebaseRulesAPI_FirebaserulesFile';
+ protected $filesDataType = 'array';
+
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+ public function getFiles()
+ {
+ return $this->files;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/SourcePosition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/SourcePosition.php
new file mode 100644
index 00000000..4c62629e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/SourcePosition.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseRulesAPI_SourcePosition extends Google_Model
+{
+ public $column;
+ public $fileName;
+ public $line;
+
+ public function setColumn($column)
+ {
+ $this->column = $column;
+ }
+ public function getColumn()
+ {
+ return $this->column;
+ }
+ public function setFileName($fileName)
+ {
+ $this->fileName = $fileName;
+ }
+ public function getFileName()
+ {
+ return $this->fileName;
+ }
+ public function setLine($line)
+ {
+ $this->line = $line;
+ }
+ public function getLine()
+ {
+ return $this->line;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/TestRulesetRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/TestRulesetRequest.php
new file mode 100644
index 00000000..48533a52
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/TestRulesetRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseRulesAPI_TestRulesetRequest extends Google_Model
+{
+ protected $sourceType = 'Google_Service_FirebaseRulesAPI_Source';
+ protected $sourceDataType = '';
+
+ public function setSource(Google_Service_FirebaseRulesAPI_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/TestRulesetResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/TestRulesetResponse.php
new file mode 100644
index 00000000..f888d46b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/TestRulesetResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_FirebaseRulesAPI_TestRulesetResponse extends Google_Collection
+{
+ protected $collection_key = 'issues';
+ protected $issuesType = 'Google_Service_FirebaseRulesAPI_Issue';
+ protected $issuesDataType = 'array';
+
+ public function setIssues($issues)
+ {
+ $this->issues = $issues;
+ }
+ public function getIssues()
+ {
+ return $this->issues;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness.php
new file mode 100644
index 00000000..be8fc184
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness.php
@@ -0,0 +1,386 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Stores and accesses user data in the fitness store from apps on any platform.</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 Google_Service_Fitness extends 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 blood glucose data in Google Fit. */
+ const FITNESS_BLOOD_GLUCOSE_READ =
+ "https://www.googleapis.com/auth/fitness.blood_glucose.read";
+ /** View and store blood glucose data in Google Fit. */
+ const FITNESS_BLOOD_GLUCOSE_WRITE =
+ "https://www.googleapis.com/auth/fitness.blood_glucose.write";
+ /** View blood pressure data in Google Fit. */
+ const FITNESS_BLOOD_PRESSURE_READ =
+ "https://www.googleapis.com/auth/fitness.blood_pressure.read";
+ /** View and store blood pressure data in Google Fit. */
+ const FITNESS_BLOOD_PRESSURE_WRITE =
+ "https://www.googleapis.com/auth/fitness.blood_pressure.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 body temperature data in Google Fit. */
+ const FITNESS_BODY_TEMPERATURE_READ =
+ "https://www.googleapis.com/auth/fitness.body_temperature.read";
+ /** View and store body temperature data in Google Fit. */
+ const FITNESS_BODY_TEMPERATURE_WRITE =
+ "https://www.googleapis.com/auth/fitness.body_temperature.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";
+ /** View nutrition information in Google Fit. */
+ const FITNESS_NUTRITION_READ =
+ "https://www.googleapis.com/auth/fitness.nutrition.read";
+ /** View and store nutrition information in Google Fit. */
+ const FITNESS_NUTRITION_WRITE =
+ "https://www.googleapis.com/auth/fitness.nutrition.write";
+ /** View oxygen saturation data in Google Fit. */
+ const FITNESS_OXYGEN_SATURATION_READ =
+ "https://www.googleapis.com/auth/fitness.oxygen_saturation.read";
+ /** View and store oxygen saturation data in Google Fit. */
+ const FITNESS_OXYGEN_SATURATION_WRITE =
+ "https://www.googleapis.com/auth/fitness.oxygen_saturation.write";
+ /** View reproductive health data in Google Fit. */
+ const FITNESS_REPRODUCTIVE_HEALTH_READ =
+ "https://www.googleapis.com/auth/fitness.reproductive_health.read";
+ /** View and store reproductive health data in Google Fit. */
+ const FITNESS_REPRODUCTIVE_HEALTH_WRITE =
+ "https://www.googleapis.com/auth/fitness.reproductive_health.write";
+
+ public $users_dataSources;
+ public $users_dataSources_datasets;
+ public $users_dataset;
+ public $users_sessions;
+
+ /**
+ * Constructs the internal representation of the Fitness service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'fitness/v1/users/';
+ $this->version = 'v1';
+ $this->serviceName = 'fitness';
+
+ $this->users_dataSources = new Google_Service_Fitness_Resource_UsersDataSources(
+ $this,
+ $this->serviceName,
+ 'dataSources',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => '{userId}/dataSources',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{userId}/dataSources/{dataSourceId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dataSourceId' => 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 Google_Service_Fitness_Resource_UsersDataSourcesDatasets(
+ $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,
+ ),
+ 'currentTimeMillis' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'modifiedTimeMillis' => 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_dataset = new Google_Service_Fitness_Resource_UsersDataset(
+ $this,
+ $this->serviceName,
+ 'dataset',
+ array(
+ 'methods' => array(
+ 'aggregate' => array(
+ 'path' => '{userId}/dataset:aggregate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_sessions = new Google_Service_Fitness_Resource_UsersSessions(
+ $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,
+ ),
+ 'endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ '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',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateBucket.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateBucket.php
new file mode 100644
index 00000000..99f9430f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateBucket.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_AggregateBucket extends Google_Collection
+{
+ protected $collection_key = 'dataset';
+ public $activity;
+ protected $datasetType = 'Google_Service_Fitness_Dataset';
+ protected $datasetDataType = 'array';
+ public $endTimeMillis;
+ protected $sessionType = 'Google_Service_Fitness_Session';
+ protected $sessionDataType = '';
+ public $startTimeMillis;
+ public $type;
+
+ public function setActivity($activity)
+ {
+ $this->activity = $activity;
+ }
+ public function getActivity()
+ {
+ return $this->activity;
+ }
+ public function setDataset($dataset)
+ {
+ $this->dataset = $dataset;
+ }
+ public function getDataset()
+ {
+ return $this->dataset;
+ }
+ public function setEndTimeMillis($endTimeMillis)
+ {
+ $this->endTimeMillis = $endTimeMillis;
+ }
+ public function getEndTimeMillis()
+ {
+ return $this->endTimeMillis;
+ }
+ public function setSession(Google_Service_Fitness_Session $session)
+ {
+ $this->session = $session;
+ }
+ public function getSession()
+ {
+ return $this->session;
+ }
+ public function setStartTimeMillis($startTimeMillis)
+ {
+ $this->startTimeMillis = $startTimeMillis;
+ }
+ public function getStartTimeMillis()
+ {
+ return $this->startTimeMillis;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateBy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateBy.php
new file mode 100644
index 00000000..f93f1b2f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateBy.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_AggregateBy extends Google_Model
+{
+ public $dataSourceId;
+ public $dataTypeName;
+
+ public function setDataSourceId($dataSourceId)
+ {
+ $this->dataSourceId = $dataSourceId;
+ }
+ public function getDataSourceId()
+ {
+ return $this->dataSourceId;
+ }
+ public function setDataTypeName($dataTypeName)
+ {
+ $this->dataTypeName = $dataTypeName;
+ }
+ public function getDataTypeName()
+ {
+ return $this->dataTypeName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateRequest.php
new file mode 100644
index 00000000..bf8d760c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateRequest.php
@@ -0,0 +1,99 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_AggregateRequest extends Google_Collection
+{
+ protected $collection_key = 'filteredDataQualityStandard';
+ protected $aggregateByType = 'Google_Service_Fitness_AggregateBy';
+ protected $aggregateByDataType = 'array';
+ protected $bucketByActivitySegmentType = 'Google_Service_Fitness_BucketByActivity';
+ protected $bucketByActivitySegmentDataType = '';
+ protected $bucketByActivityTypeType = 'Google_Service_Fitness_BucketByActivity';
+ protected $bucketByActivityTypeDataType = '';
+ protected $bucketBySessionType = 'Google_Service_Fitness_BucketBySession';
+ protected $bucketBySessionDataType = '';
+ protected $bucketByTimeType = 'Google_Service_Fitness_BucketByTime';
+ protected $bucketByTimeDataType = '';
+ public $endTimeMillis;
+ public $filteredDataQualityStandard;
+ public $startTimeMillis;
+
+ public function setAggregateBy($aggregateBy)
+ {
+ $this->aggregateBy = $aggregateBy;
+ }
+ public function getAggregateBy()
+ {
+ return $this->aggregateBy;
+ }
+ public function setBucketByActivitySegment(Google_Service_Fitness_BucketByActivity $bucketByActivitySegment)
+ {
+ $this->bucketByActivitySegment = $bucketByActivitySegment;
+ }
+ public function getBucketByActivitySegment()
+ {
+ return $this->bucketByActivitySegment;
+ }
+ public function setBucketByActivityType(Google_Service_Fitness_BucketByActivity $bucketByActivityType)
+ {
+ $this->bucketByActivityType = $bucketByActivityType;
+ }
+ public function getBucketByActivityType()
+ {
+ return $this->bucketByActivityType;
+ }
+ public function setBucketBySession(Google_Service_Fitness_BucketBySession $bucketBySession)
+ {
+ $this->bucketBySession = $bucketBySession;
+ }
+ public function getBucketBySession()
+ {
+ return $this->bucketBySession;
+ }
+ public function setBucketByTime(Google_Service_Fitness_BucketByTime $bucketByTime)
+ {
+ $this->bucketByTime = $bucketByTime;
+ }
+ public function getBucketByTime()
+ {
+ return $this->bucketByTime;
+ }
+ public function setEndTimeMillis($endTimeMillis)
+ {
+ $this->endTimeMillis = $endTimeMillis;
+ }
+ public function getEndTimeMillis()
+ {
+ return $this->endTimeMillis;
+ }
+ public function setFilteredDataQualityStandard($filteredDataQualityStandard)
+ {
+ $this->filteredDataQualityStandard = $filteredDataQualityStandard;
+ }
+ public function getFilteredDataQualityStandard()
+ {
+ return $this->filteredDataQualityStandard;
+ }
+ public function setStartTimeMillis($startTimeMillis)
+ {
+ $this->startTimeMillis = $startTimeMillis;
+ }
+ public function getStartTimeMillis()
+ {
+ return $this->startTimeMillis;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateResponse.php
new file mode 100644
index 00000000..d01f54a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_AggregateResponse extends Google_Collection
+{
+ protected $collection_key = 'bucket';
+ protected $bucketType = 'Google_Service_Fitness_AggregateBucket';
+ protected $bucketDataType = 'array';
+
+ public function setBucket($bucket)
+ {
+ $this->bucket = $bucket;
+ }
+ public function getBucket()
+ {
+ return $this->bucket;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Application.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Application.php
new file mode 100644
index 00000000..aae83b93
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Application.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_Application extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByActivity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByActivity.php
new file mode 100644
index 00000000..a4949320
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByActivity.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_BucketByActivity extends Google_Model
+{
+ public $activityDataSourceId;
+ public $minDurationMillis;
+
+ public function setActivityDataSourceId($activityDataSourceId)
+ {
+ $this->activityDataSourceId = $activityDataSourceId;
+ }
+ public function getActivityDataSourceId()
+ {
+ return $this->activityDataSourceId;
+ }
+ public function setMinDurationMillis($minDurationMillis)
+ {
+ $this->minDurationMillis = $minDurationMillis;
+ }
+ public function getMinDurationMillis()
+ {
+ return $this->minDurationMillis;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketBySession.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketBySession.php
new file mode 100644
index 00000000..45d3fdf5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketBySession.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_BucketBySession extends Google_Model
+{
+ public $minDurationMillis;
+
+ public function setMinDurationMillis($minDurationMillis)
+ {
+ $this->minDurationMillis = $minDurationMillis;
+ }
+ public function getMinDurationMillis()
+ {
+ return $this->minDurationMillis;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByTime.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByTime.php
new file mode 100644
index 00000000..2ef6e9d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByTime.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_BucketByTime extends Google_Model
+{
+ public $durationMillis;
+ protected $periodType = 'Google_Service_Fitness_BucketByTimePeriod';
+ protected $periodDataType = '';
+
+ public function setDurationMillis($durationMillis)
+ {
+ $this->durationMillis = $durationMillis;
+ }
+ public function getDurationMillis()
+ {
+ return $this->durationMillis;
+ }
+ public function setPeriod(Google_Service_Fitness_BucketByTimePeriod $period)
+ {
+ $this->period = $period;
+ }
+ public function getPeriod()
+ {
+ return $this->period;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByTimePeriod.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByTimePeriod.php
new file mode 100644
index 00000000..e24450be
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByTimePeriod.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_BucketByTimePeriod extends Google_Model
+{
+ public $timeZoneId;
+ public $type;
+ public $value;
+
+ public function setTimeZoneId($timeZoneId)
+ {
+ $this->timeZoneId = $timeZoneId;
+ }
+ public function getTimeZoneId()
+ {
+ return $this->timeZoneId;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataPoint.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataPoint.php
new file mode 100644
index 00000000..fba8a4b6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataPoint.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_DataPoint extends Google_Collection
+{
+ protected $collection_key = 'value';
+ public $computationTimeMillis;
+ public $dataTypeName;
+ public $endTimeNanos;
+ public $modifiedTimeMillis;
+ public $originDataSourceId;
+ public $rawTimestampNanos;
+ public $startTimeNanos;
+ protected $valueType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataSource.php
new file mode 100644
index 00000000..837ec6f9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataSource.php
@@ -0,0 +1,97 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_DataSource extends Google_Collection
+{
+ protected $collection_key = 'dataQualityStandard';
+ protected $applicationType = 'Google_Service_Fitness_Application';
+ protected $applicationDataType = '';
+ public $dataQualityStandard;
+ public $dataStreamId;
+ public $dataStreamName;
+ protected $dataTypeType = 'Google_Service_Fitness_DataType';
+ protected $dataTypeDataType = '';
+ protected $deviceType = 'Google_Service_Fitness_Device';
+ protected $deviceDataType = '';
+ public $name;
+ public $type;
+
+ public function setApplication(Google_Service_Fitness_Application $application)
+ {
+ $this->application = $application;
+ }
+ public function getApplication()
+ {
+ return $this->application;
+ }
+ public function setDataQualityStandard($dataQualityStandard)
+ {
+ $this->dataQualityStandard = $dataQualityStandard;
+ }
+ public function getDataQualityStandard()
+ {
+ return $this->dataQualityStandard;
+ }
+ 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(Google_Service_Fitness_DataType $dataType)
+ {
+ $this->dataType = $dataType;
+ }
+ public function getDataType()
+ {
+ return $this->dataType;
+ }
+ public function setDevice(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataType.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataType.php
new file mode 100644
index 00000000..74042d11
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataType.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_DataType extends Google_Collection
+{
+ protected $collection_key = 'field';
+ protected $fieldType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataTypeField.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataTypeField.php
new file mode 100644
index 00000000..4439ed84
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataTypeField.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_DataTypeField extends Google_Model
+{
+ public $format;
+ public $name;
+ public $optional;
+
+ 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;
+ }
+ public function setOptional($optional)
+ {
+ $this->optional = $optional;
+ }
+ public function getOptional()
+ {
+ return $this->optional;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Dataset.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Dataset.php
new file mode 100644
index 00000000..cc005a09
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Dataset.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_Dataset extends Google_Collection
+{
+ protected $collection_key = 'point';
+ public $dataSourceId;
+ public $maxEndTimeNs;
+ public $minStartTimeNs;
+ public $nextPageToken;
+ protected $pointType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Device.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Device.php
new file mode 100644
index 00000000..f286ef1b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Device.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_Device extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ListDataSourcesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ListDataSourcesResponse.php
new file mode 100644
index 00000000..941acc9c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ListDataSourcesResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_ListDataSourcesResponse extends Google_Collection
+{
+ protected $collection_key = 'dataSource';
+ protected $dataSourceType = 'Google_Service_Fitness_DataSource';
+ protected $dataSourceDataType = 'array';
+
+ public function setDataSource($dataSource)
+ {
+ $this->dataSource = $dataSource;
+ }
+ public function getDataSource()
+ {
+ return $this->dataSource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ListSessionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ListSessionsResponse.php
new file mode 100644
index 00000000..ef0b85f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ListSessionsResponse.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_ListSessionsResponse extends Google_Collection
+{
+ protected $collection_key = 'session';
+ protected $deletedSessionType = 'Google_Service_Fitness_Session';
+ protected $deletedSessionDataType = 'array';
+ public $hasMoreData;
+ public $nextPageToken;
+ protected $sessionType = 'Google_Service_Fitness_Session';
+ protected $sessionDataType = 'array';
+
+ public function setDeletedSession($deletedSession)
+ {
+ $this->deletedSession = $deletedSession;
+ }
+ public function getDeletedSession()
+ {
+ return $this->deletedSession;
+ }
+ public function setHasMoreData($hasMoreData)
+ {
+ $this->hasMoreData = $hasMoreData;
+ }
+ public function getHasMoreData()
+ {
+ return $this->hasMoreData;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/MapValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/MapValue.php
new file mode 100644
index 00000000..5131de54
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/MapValue.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_MapValue extends Google_Model
+{
+ public $fpVal;
+
+ public function setFpVal($fpVal)
+ {
+ $this->fpVal = $fpVal;
+ }
+ public function getFpVal()
+ {
+ return $this->fpVal;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/Users.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/Users.php
new file mode 100644
index 00000000..1137392d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/Users.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fitnessService = new Google_Service_Fitness(...);
+ * $users = $fitnessService->users;
+ * </code>
+ */
+class Google_Service_Fitness_Resource_Users extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataSources.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataSources.php
new file mode 100644
index 00000000..7616597d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataSources.php
@@ -0,0 +1,143 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "dataSources" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fitnessService = new Google_Service_Fitness(...);
+ * $dataSources = $fitnessService->dataSources;
+ * </code>
+ */
+class Google_Service_Fitness_Resource_UsersDataSources extends 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 Google_Service_Fitness_DataSource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fitness_DataSource
+ */
+ public function create($userId, Google_Service_Fitness_DataSource $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Fitness_DataSource");
+ }
+ /**
+ * Deletes the specified data source. The request will fail if the data source
+ * contains any data points. (dataSources.delete)
+ *
+ * @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 delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fitness_DataSource
+ */
+ public function delete($userId, $dataSourceId, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Fitness_DataSource");
+ }
+ /**
+ * Returns the specified data source. (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 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), "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 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), "Google_Service_Fitness_ListDataSourcesResponse");
+ }
+ /**
+ * Updates the specified data source. The dataStreamId, dataType, type,
+ * dataStreamName, and device properties with the exception of version, cannot
+ * be modified.
+ *
+ * Data sources are identified by their dataStreamId. 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 Google_Service_Fitness_DataSource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fitness_DataSource
+ */
+ public function patch($userId, $dataSourceId, 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), "Google_Service_Fitness_DataSource");
+ }
+ /**
+ * Updates the specified data source. The dataStreamId, dataType, type,
+ * dataStreamName, and device properties with the exception of version, cannot
+ * be modified.
+ *
+ * Data sources are identified by their dataStreamId. (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 Google_Service_Fitness_DataSource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fitness_DataSource
+ */
+ public function update($userId, $dataSourceId, 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), "Google_Service_Fitness_DataSource");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataSourcesDatasets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataSourcesDatasets.php
new file mode 100644
index 00000000..0fca4bd1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataSourcesDatasets.php
@@ -0,0 +1,119 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "datasets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fitnessService = new Google_Service_Fitness(...);
+ * $datasets = $fitnessService->datasets;
+ * </code>
+ */
+class Google_Service_Fitness_Resource_UsersDataSourcesDatasets extends 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 currentTimeMillis The client's current time in milliseconds
+ * since epoch.
+ * @opt_param string modifiedTimeMillis When the operation was performed on the
+ * client.
+ */
+ 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 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 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), "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 Google_Service_Fitness_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 Google_Service_Fitness_Dataset
+ */
+ public function patch($userId, $dataSourceId, $datasetId, 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), "Google_Service_Fitness_Dataset");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataset.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataset.php
new file mode 100644
index 00000000..76e83451
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataset.php
@@ -0,0 +1,46 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "dataset" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fitnessService = new Google_Service_Fitness(...);
+ * $dataset = $fitnessService->dataset;
+ * </code>
+ */
+class Google_Service_Fitness_Resource_UsersDataset extends Google_Service_Resource
+{
+ /**
+ * Aggregates data of a certain type or stream into buckets divided by a given
+ * type of boundary. Multiple data sets of multiple types and from multiple
+ * sources can be aggreated into exactly one bucket type per request.
+ * (dataset.aggregate)
+ *
+ * @param string $userId Aggregate data for the person identified. Use me to
+ * indicate the authenticated user. Only me is supported at this time.
+ * @param Google_Service_Fitness_AggregateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fitness_AggregateResponse
+ */
+ public function aggregate($userId, Google_Service_Fitness_AggregateRequest $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregate', array($params), "Google_Service_Fitness_AggregateResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersSessions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersSessions.php
new file mode 100644
index 00000000..d610485c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersSessions.php
@@ -0,0 +1,89 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "sessions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fitnessService = new Google_Service_Fitness(...);
+ * $sessions = $fitnessService->sessions;
+ * </code>
+ */
+class Google_Service_Fitness_Resource_UsersSessions extends 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 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 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 startTime An RFC3339 timestamp. Only sessions ending
+ * between the start and end times will be included in the response.
+ * @return 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), "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 Google_Service_Fitness_Session $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string currentTimeMillis The client's current time in milliseconds
+ * since epoch.
+ * @return Google_Service_Fitness_Session
+ */
+ public function update($userId, $sessionId, 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), "Google_Service_Fitness_Session");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Session.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Session.php
new file mode 100644
index 00000000..c1ae1290
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Session.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_Session extends Google_Model
+{
+ public $activeTimeMillis;
+ public $activityType;
+ protected $applicationType = 'Google_Service_Fitness_Application';
+ protected $applicationDataType = '';
+ public $description;
+ public $endTimeMillis;
+ public $id;
+ public $modifiedTimeMillis;
+ public $name;
+ public $startTimeMillis;
+
+ public function setActiveTimeMillis($activeTimeMillis)
+ {
+ $this->activeTimeMillis = $activeTimeMillis;
+ }
+ public function getActiveTimeMillis()
+ {
+ return $this->activeTimeMillis;
+ }
+ public function setActivityType($activityType)
+ {
+ $this->activityType = $activityType;
+ }
+ public function getActivityType()
+ {
+ return $this->activityType;
+ }
+ public function setApplication(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Value.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Value.php
new file mode 100644
index 00000000..273ed061
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Value.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_Value extends Google_Collection
+{
+ protected $collection_key = 'mapVal';
+ public $fpVal;
+ public $intVal;
+ protected $mapValType = 'Google_Service_Fitness_ValueMapValEntry';
+ protected $mapValDataType = 'array';
+ public $stringVal;
+
+ 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;
+ }
+ public function setMapVal($mapVal)
+ {
+ $this->mapVal = $mapVal;
+ }
+ public function getMapVal()
+ {
+ return $this->mapVal;
+ }
+ public function setStringVal($stringVal)
+ {
+ $this->stringVal = $stringVal;
+ }
+ public function getStringVal()
+ {
+ return $this->stringVal;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ValueMapValEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ValueMapValEntry.php
new file mode 100644
index 00000000..fb99ddfd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ValueMapValEntry.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fitness_ValueMapValEntry extends Google_Model
+{
+ public $key;
+ protected $valueType = 'Google_Service_Fitness_MapValue';
+ protected $valueDataType = '';
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue(Google_Service_Fitness_MapValue $value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase.php
new file mode 100644
index 00000000..2c0e9ca6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase.php
@@ -0,0 +1,258 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Freebase extends Google_Service
+{
+
+
+
+ private $base_methods;
+ /**
+ * Constructs the internal representation of the Freebase service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'freebase/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'freebase';
+
+ $this->base_methods = new Google_Service_Resource(
+ $this,
+ $this->serviceName,
+ '',
+ array(
+ 'methods' => array(
+ 'reconcile' => array(
+ 'path' => 'reconcile',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'confidence' => array(
+ 'location' => 'query',
+ 'type' => 'number',
+ ),
+ 'kind' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'lang' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'limit' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'prop' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'search',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'as_of_time' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'callback' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'cursor' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'domain' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'encode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'exact' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'format' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'help' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'indent' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'lang' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'limit' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'mid' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'mql_output' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'output' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'prefixed' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'scoring' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'spell' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'stemmed' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'with' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'without' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+ /**
+ * Reconcile entities to Freebase open data. (reconcile)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param float confidence Required confidence for a candidate to match.
+ * Must be between .5 and 1.0
+ * @opt_param string kind Classifications of entity e.g. type, category, title.
+ * @opt_param string lang Languages for names and values. First language is used
+ * for display. Default is 'en'.
+ * @opt_param int limit Maximum number of candidates to return.
+ * @opt_param string name Name of entity.
+ * @opt_param string prop Property values for entity formatted as :
+ * @return Google_Service_Freebase_ReconcileGet
+ */
+ public function reconcile($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->base_methods->call('reconcile', array($params), "Google_Service_Freebase_ReconcileGet");
+ }
+ /**
+ * Search Freebase open data. (search)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string as_of_time A mql as_of_time value to use with mql_output
+ * queries.
+ * @opt_param string callback JS method name for JSONP callbacks.
+ * @opt_param int cursor The cursor value to use for the next page of results.
+ * @opt_param string domain Restrict to topics with this Freebase domain id.
+ * @opt_param string encode The encoding of the response. You can use this
+ * parameter to enable html encoding.
+ * @opt_param bool exact Query on exact name and keys only.
+ * @opt_param string filter A filter to apply to the query.
+ * @opt_param string format Structural format of the json response.
+ * @opt_param string help The keyword to request help on.
+ * @opt_param bool indent Whether to indent the json results or not.
+ * @opt_param string lang The code of the language to run the query with.
+ * Default is 'en'.
+ * @opt_param int limit Maximum number of results to return.
+ * @opt_param string mid A mid to use instead of a query.
+ * @opt_param string mql_output The MQL query to run againist the results to
+ * extract more data.
+ * @opt_param string output An output expression to request data from matches.
+ * @opt_param bool prefixed Prefix match against names and aliases.
+ * @opt_param string query Query term to search for.
+ * @opt_param string scoring Relevance scoring algorithm to use.
+ * @opt_param string spell Request 'did you mean' suggestions
+ * @opt_param bool stemmed Query on stemmed names and aliases. May not be used
+ * with prefixed.
+ * @opt_param string type Restrict to topics with this Freebase type id.
+ * @opt_param string with A rule to match against.
+ * @opt_param string without A rule to not match against.
+ */
+ public function search($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->base_methods->call('search', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileCandidate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileCandidate.php
new file mode 100644
index 00000000..f642d16e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileCandidate.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Freebase_ReconcileCandidate extends Google_Model
+{
+ public $confidence;
+ public $lang;
+ public $mid;
+ public $name;
+ protected $notableType = '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(Google_Service_Freebase_ReconcileCandidateNotable $notable)
+ {
+ $this->notable = $notable;
+ }
+ public function getNotable()
+ {
+ return $this->notable;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileCandidateNotable.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileCandidateNotable.php
new file mode 100644
index 00000000..4a75e047
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileCandidateNotable.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Freebase_ReconcileCandidateNotable extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGet.php
new file mode 100644
index 00000000..8abc62c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGet.php
@@ -0,0 +1,62 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Freebase_ReconcileGet extends Google_Collection
+{
+ protected $collection_key = 'warning';
+ protected $candidateType = 'Google_Service_Freebase_ReconcileCandidate';
+ protected $candidateDataType = 'array';
+ protected $costsType = 'Google_Service_Freebase_ReconcileGetCosts';
+ protected $costsDataType = '';
+ protected $matchType = 'Google_Service_Freebase_ReconcileCandidate';
+ protected $matchDataType = '';
+ protected $warningType = 'Google_Service_Freebase_ReconcileGetWarning';
+ protected $warningDataType = 'array';
+
+ public function setCandidate($candidate)
+ {
+ $this->candidate = $candidate;
+ }
+ public function getCandidate()
+ {
+ return $this->candidate;
+ }
+ public function setCosts(Google_Service_Freebase_ReconcileGetCosts $costs)
+ {
+ $this->costs = $costs;
+ }
+ public function getCosts()
+ {
+ return $this->costs;
+ }
+ public function setMatch(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGetCosts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGetCosts.php
new file mode 100644
index 00000000..9157995b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGetCosts.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Freebase_ReconcileGetCosts extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGetWarning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGetWarning.php
new file mode 100644
index 00000000..7e5a9cec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGetWarning.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Freebase_ReconcileGetWarning extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables.php
new file mode 100644
index 00000000..7c51871e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables.php
@@ -0,0 +1,630 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables extends 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'fusiontables/v2/';
+ $this->version = 'v2';
+ $this->serviceName = 'fusiontables';
+
+ $this->column = new Google_Service_Fusiontables_Resource_Column(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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 Google_Service_Fusiontables_Resource_Query(
+ $this,
+ $this->serviceName,
+ 'query',
+ array(
+ 'methods' => array(
+ 'sql' => array(
+ 'path' => 'query',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'sql' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'hdrs' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'typed' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'sqlGet' => array(
+ 'path' => 'query',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'sql' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'hdrs' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'typed' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->style = new Google_Service_Fusiontables_Resource_Style(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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 Google_Service_Fusiontables_Resource_Table(
+ $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,
+ ),
+ 'delimiter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'encoding' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endLine' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'isStrict' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'startLine' => 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(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ 'delimiter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'encoding' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endLine' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'isStrict' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'startLine' => 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 Google_Service_Fusiontables_Resource_Task(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->template = new Google_Service_Fusiontables_Resource_Template(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Bucket.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Bucket.php
new file mode 100644
index 00000000..b8d29340
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Bucket.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_Bucket extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Column.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Column.php
new file mode 100644
index 00000000..6af64b21
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Column.php
@@ -0,0 +1,131 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_Column extends Google_Collection
+{
+ protected $collection_key = 'validValues';
+ protected $baseColumnType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/ColumnBaseColumn.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/ColumnBaseColumn.php
new file mode 100644
index 00000000..0dcd6e52
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/ColumnBaseColumn.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_ColumnBaseColumn extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/ColumnList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/ColumnList.php
new file mode 100644
index 00000000..2f04ef80
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/ColumnList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_ColumnList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Geometry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Geometry.php
new file mode 100644
index 00000000..9852b8b6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Geometry.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_Geometry extends Google_Collection
+{
+ protected $collection_key = 'geometries';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Import.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Import.php
new file mode 100644
index 00000000..63dd9aaf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Import.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_Import extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Line.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Line.php
new file mode 100644
index 00000000..ee490bd6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Line.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_Line extends Google_Collection
+{
+ protected $collection_key = 'coordinates';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/LineStyle.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/LineStyle.php
new file mode 100644
index 00000000..ff7e78f2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/LineStyle.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_LineStyle extends Google_Model
+{
+ public $strokeColor;
+ protected $strokeColorStylerType = 'Google_Service_Fusiontables_StyleFunction';
+ protected $strokeColorStylerDataType = '';
+ public $strokeOpacity;
+ public $strokeWeight;
+ protected $strokeWeightStylerType = 'Google_Service_Fusiontables_StyleFunction';
+ protected $strokeWeightStylerDataType = '';
+
+ public function setStrokeColor($strokeColor)
+ {
+ $this->strokeColor = $strokeColor;
+ }
+ public function getStrokeColor()
+ {
+ return $this->strokeColor;
+ }
+ public function setStrokeColorStyler(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(Google_Service_Fusiontables_StyleFunction $strokeWeightStyler)
+ {
+ $this->strokeWeightStyler = $strokeWeightStyler;
+ }
+ public function getStrokeWeightStyler()
+ {
+ return $this->strokeWeightStyler;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Point.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Point.php
new file mode 100644
index 00000000..bceb6895
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Point.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_Point extends Google_Collection
+{
+ protected $collection_key = 'coordinates';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/PointStyle.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/PointStyle.php
new file mode 100644
index 00000000..c00480d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/PointStyle.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_PointStyle extends Google_Model
+{
+ public $iconName;
+ protected $iconStylerType = 'Google_Service_Fusiontables_StyleFunction';
+ protected $iconStylerDataType = '';
+
+ public function setIconName($iconName)
+ {
+ $this->iconName = $iconName;
+ }
+ public function getIconName()
+ {
+ return $this->iconName;
+ }
+ public function setIconStyler(Google_Service_Fusiontables_StyleFunction $iconStyler)
+ {
+ $this->iconStyler = $iconStyler;
+ }
+ public function getIconStyler()
+ {
+ return $this->iconStyler;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Polygon.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Polygon.php
new file mode 100644
index 00000000..519bf8ce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Polygon.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_Polygon extends Google_Collection
+{
+ protected $collection_key = 'coordinates';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/PolygonStyle.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/PolygonStyle.php
new file mode 100644
index 00000000..14a3102e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/PolygonStyle.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_PolygonStyle extends Google_Model
+{
+ public $fillColor;
+ protected $fillColorStylerType = 'Google_Service_Fusiontables_StyleFunction';
+ protected $fillColorStylerDataType = '';
+ public $fillOpacity;
+ public $strokeColor;
+ protected $strokeColorStylerType = 'Google_Service_Fusiontables_StyleFunction';
+ protected $strokeColorStylerDataType = '';
+ public $strokeOpacity;
+ public $strokeWeight;
+ protected $strokeWeightStylerType = 'Google_Service_Fusiontables_StyleFunction';
+ protected $strokeWeightStylerDataType = '';
+
+ public function setFillColor($fillColor)
+ {
+ $this->fillColor = $fillColor;
+ }
+ public function getFillColor()
+ {
+ return $this->fillColor;
+ }
+ public function setFillColorStyler(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(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(Google_Service_Fusiontables_StyleFunction $strokeWeightStyler)
+ {
+ $this->strokeWeightStyler = $strokeWeightStyler;
+ }
+ public function getStrokeWeightStyler()
+ {
+ return $this->strokeWeightStyler;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Column.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Column.php
new file mode 100644
index 00000000..6cbf88bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Column.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "column" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fusiontablesService = new Google_Service_Fusiontables(...);
+ * $column = $fusiontablesService->column;
+ * </code>
+ */
+class Google_Service_Fusiontables_Resource_Column extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified 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 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), "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 Google_Service_Fusiontables_Column $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fusiontables_Column
+ */
+ public function insert($tableId, Google_Service_Fusiontables_Column $postBody, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 maxResults Maximum number of columns to return. Default is
+ * 5.
+ * @opt_param string pageToken Continuation token specifying which result page
+ * to return.
+ * @return 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), "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 Google_Service_Fusiontables_Column $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fusiontables_Column
+ */
+ public function patch($tableId, $columnId, 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), "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 Google_Service_Fusiontables_Column $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fusiontables_Column
+ */
+ public function update($tableId, $columnId, 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), "Google_Service_Fusiontables_Column");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Query.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Query.php
new file mode 100644
index 00000000..f2fb6562
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Query.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "query" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fusiontablesService = new Google_Service_Fusiontables(...);
+ * $query = $fusiontablesService->query;
+ * </code>
+ */
+class Google_Service_Fusiontables_Resource_Query extends Google_Service_Resource
+{
+ /**
+ * Executes a Fusion Tables SQL statement, which can be any of - SELECT - INSERT
+ * - UPDATE - DELETE - SHOW - DESCRIBE - CREATE statement. (query.sql)
+ *
+ * @param string $sql A Fusion Tables SQL statement, which can be any of -
+ * SELECT - INSERT - UPDATE - DELETE - SHOW - DESCRIBE - CREATE
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool hdrs Whether column names are included in the first row.
+ * Default is true.
+ * @opt_param bool typed Whether typed values are returned in the (JSON)
+ * response: numbers for numeric values and parsed geometries for KML values.
+ * Default is true.
+ * @return 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), "Google_Service_Fusiontables_Sqlresponse");
+ }
+ /**
+ * Executes a SQL statement which can be any of - SELECT - SHOW - DESCRIBE
+ * (query.sqlGet)
+ *
+ * @param string $sql A SQL statement which can be any of - SELECT - SHOW -
+ * DESCRIBE
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool hdrs Whether column names are included (in the first row).
+ * Default is true.
+ * @opt_param bool typed Whether typed values are returned in the (JSON)
+ * response: numbers for numeric values and parsed geometries for KML values.
+ * Default is true.
+ * @return 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), "Google_Service_Fusiontables_Sqlresponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Style.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Style.php
new file mode 100644
index 00000000..a4827806
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Style.php
@@ -0,0 +1,118 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "style" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fusiontablesService = new Google_Service_Fusiontables(...);
+ * $style = $fusiontablesService->style;
+ * </code>
+ */
+class Google_Service_Fusiontables_Resource_Style extends 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 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), "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 Google_Service_Fusiontables_StyleSetting $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fusiontables_StyleSetting
+ */
+ public function insert($tableId, Google_Service_Fusiontables_StyleSetting $postBody, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 maxResults Maximum number of styles to return. Optional.
+ * Default is 5.
+ * @opt_param string pageToken Continuation token specifying which result page
+ * to return. Optional.
+ * @return 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), "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 Google_Service_Fusiontables_StyleSetting $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fusiontables_StyleSetting
+ */
+ public function patch($tableId, $styleId, 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), "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 Google_Service_Fusiontables_StyleSetting $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fusiontables_StyleSetting
+ */
+ public function update($tableId, $styleId, 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), "Google_Service_Fusiontables_StyleSetting");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Table.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Table.php
new file mode 100644
index 00000000..a556b0d5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Table.php
@@ -0,0 +1,212 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "table" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fusiontablesService = new Google_Service_Fusiontables(...);
+ * $table = $fusiontablesService->table;
+ * </code>
+ */
+class Google_Service_Fusiontables_Resource_Table extends 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 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), "Google_Service_Fusiontables_Table");
+ }
+ /**
+ * Deletes a table. (table.delete)
+ *
+ * @param string $tableId ID of the table to be 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 for the table being requested.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Fusiontables_Table");
+ }
+ /**
+ * Imports 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 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.
+ * @opt_param int endLine The index of the line up to which data will be
+ * imported. Default is to import the entire file. If endLine is negative, it is
+ * an offset from the end of the file; the imported content will exclude the
+ * last endLine lines.
+ * @opt_param bool isStrict Whether the imported 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 int startLine The index of the first line from which to start
+ * importing, inclusive. Default is 0.
+ * @return 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), "Google_Service_Fusiontables_Import");
+ }
+ /**
+ * Imports 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 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), "Google_Service_Fusiontables_Table");
+ }
+ /**
+ * Creates a new table. (table.insert)
+ *
+ * @param Google_Service_Fusiontables_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fusiontables_Table
+ */
+ public function insert(Google_Service_Fusiontables_Table $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Fusiontables_Table");
+ }
+ /**
+ * Retrieves a list of tables a user owns. (table.listTable)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults Maximum number of tables to return. Default is
+ * 5.
+ * @opt_param string pageToken Continuation token specifying which result page
+ * to return.
+ * @return Google_Service_Fusiontables_TableList
+ */
+ public function listTable($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "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 Google_Service_Fusiontables_Table $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool replaceViewDefinition Whether the view definition is also
+ * updated. The specified view definition replaces the existing one. Only a view
+ * can be updated with a new definition.
+ * @return Google_Service_Fusiontables_Table
+ */
+ public function patch($tableId, Google_Service_Fusiontables_Table $postBody, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "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 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.
+ * @opt_param int endLine The index of the line up to which data will be
+ * imported. Default is to import the entire file. If endLine is negative, it is
+ * an offset from the end of the file; the imported content will exclude the
+ * last endLine lines.
+ * @opt_param bool isStrict Whether the imported CSV must have the same number
+ * of column values for each row. If true, throws an exception if the CSV does
+ * 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 int startLine The index of the first line from which to start
+ * importing, inclusive. Default is 0.
+ * @return 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), "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 Google_Service_Fusiontables_Table $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool replaceViewDefinition Whether the view definition is also
+ * updated. The specified view definition replaces the existing one. Only a view
+ * can be updated with a new definition.
+ * @return Google_Service_Fusiontables_Table
+ */
+ public function update($tableId, Google_Service_Fusiontables_Table $postBody, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Fusiontables_Table");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Task.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Task.php
new file mode 100644
index 00000000..185552d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Task.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "task" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fusiontablesService = new Google_Service_Fusiontables(...);
+ * $task = $fusiontablesService->task;
+ * </code>
+ */
+class Google_Service_Fusiontables_Resource_Task extends Google_Service_Resource
+{
+ /**
+ * Deletes a specific task by its ID, unless that task has already started
+ * running. (task.delete)
+ *
+ * @param string $tableId Table from which the task is being deleted.
+ * @param string $taskId The identifier of the task to delete.
+ * @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 The identifier of the task to get.
+ * @param array $optParams Optional parameters.
+ * @return 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), "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 maxResults Maximum number of tasks to return. Default is 5.
+ * @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.
+ * @return 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), "Google_Service_Fusiontables_TaskList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Template.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Template.php
new file mode 100644
index 00000000..fb0bdd7f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Template.php
@@ -0,0 +1,119 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "template" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fusiontablesService = new Google_Service_Fusiontables(...);
+ * $template = $fusiontablesService->template;
+ * </code>
+ */
+class Google_Service_Fusiontables_Resource_Template extends 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 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), "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 Google_Service_Fusiontables_Template $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fusiontables_Template
+ */
+ public function insert($tableId, Google_Service_Fusiontables_Template $postBody, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 maxResults Maximum number of templates to return. Optional.
+ * Default is 5.
+ * @opt_param string pageToken Continuation token specifying which results page
+ * to return. Optional.
+ * @return 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), "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 Google_Service_Fusiontables_Template $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fusiontables_Template
+ */
+ public function patch($tableId, $templateId, 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), "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 Google_Service_Fusiontables_Template $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fusiontables_Template
+ */
+ public function update($tableId, $templateId, 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), "Google_Service_Fusiontables_Template");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Sqlresponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Sqlresponse.php
new file mode 100644
index 00000000..366a0099
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Sqlresponse.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_Sqlresponse extends Google_Collection
+{
+ protected $collection_key = 'rows';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunction.php
new file mode 100644
index 00000000..7e47ccac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunction.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_StyleFunction extends Google_Collection
+{
+ protected $collection_key = 'buckets';
+ protected $bucketsType = 'Google_Service_Fusiontables_Bucket';
+ protected $bucketsDataType = 'array';
+ public $columnName;
+ protected $gradientType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunctionGradient.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunctionGradient.php
new file mode 100644
index 00000000..5926684f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunctionGradient.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_StyleFunctionGradient extends Google_Collection
+{
+ protected $collection_key = 'colors';
+ protected $colorsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunctionGradientColors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunctionGradientColors.php
new file mode 100644
index 00000000..f0f5f3dc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunctionGradientColors.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_StyleFunctionGradientColors extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleSetting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleSetting.php
new file mode 100644
index 00000000..3e0139da
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleSetting.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_StyleSetting extends Google_Model
+{
+ public $kind;
+ protected $markerOptionsType = 'Google_Service_Fusiontables_PointStyle';
+ protected $markerOptionsDataType = '';
+ public $name;
+ protected $polygonOptionsType = 'Google_Service_Fusiontables_PolygonStyle';
+ protected $polygonOptionsDataType = '';
+ protected $polylineOptionsType = '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(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(Google_Service_Fusiontables_PolygonStyle $polygonOptions)
+ {
+ $this->polygonOptions = $polygonOptions;
+ }
+ public function getPolygonOptions()
+ {
+ return $this->polygonOptions;
+ }
+ public function setPolylineOptions(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleSettingList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleSettingList.php
new file mode 100644
index 00000000..3dfa3e3a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleSettingList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_StyleSettingList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Table.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Table.php
new file mode 100644
index 00000000..6de27fa1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Table.php
@@ -0,0 +1,140 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_Table extends Google_Collection
+{
+ protected $collection_key = 'columns';
+ public $attribution;
+ public $attributionLink;
+ public $baseTableIds;
+ public $columnPropertiesJsonSchema;
+ protected $columnsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TableList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TableList.php
new file mode 100644
index 00000000..c384dfaf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TableList.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_TableList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Task.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Task.php
new file mode 100644
index 00000000..85a9a725
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Task.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_Task extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TaskList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TaskList.php
new file mode 100644
index 00000000..9d2fcf99
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TaskList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_TaskList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Template.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Template.php
new file mode 100644
index 00000000..67ad2d58
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Template.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_Template extends Google_Collection
+{
+ protected $collection_key = 'automaticColumnNames';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TemplateList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TemplateList.php
new file mode 100644
index 00000000..85ce5acc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TemplateList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Fusiontables_TemplateList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games.php
new file mode 100644
index 00000000..8bef6415
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games.php
@@ -0,0 +1,1278 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games extends 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 the list of people in your circles, your age range, and language. */
+ 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'games/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'games';
+
+ $this->achievementDefinitions = new Google_Service_Games_Resource_AchievementDefinitions(
+ $this,
+ $this->serviceName,
+ 'achievementDefinitions',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'achievements',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->achievements = new Google_Service_Games_Resource_Achievements(
+ $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,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'players/{playerId}/achievements',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'playerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'state' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'reveal' => array(
+ 'path' => 'achievements/{achievementId}/reveal',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'achievementId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'unlock' => array(
+ 'path' => 'achievements/{achievementId}/unlock',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'achievementId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'updateMultiple' => array(
+ 'path' => 'achievements/updateMultiple',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->applications = new Google_Service_Games_Resource_Applications(
+ $this,
+ $this->serviceName,
+ 'applications',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'applications/{applicationId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'applicationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'platformType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'played' => array(
+ 'path' => 'applications/played',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'verify' => array(
+ 'path' => 'applications/{applicationId}/verify',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'applicationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->events = new Google_Service_Games_Resource_Events(
+ $this,
+ $this->serviceName,
+ 'events',
+ array(
+ 'methods' => array(
+ 'listByPlayer' => array(
+ 'path' => 'events',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listDefinitions' => array(
+ 'path' => 'eventDefinitions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'record' => array(
+ 'path' => 'events',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->leaderboards = new Google_Service_Games_Resource_Leaderboards(
+ $this,
+ $this->serviceName,
+ 'leaderboards',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'leaderboards/{leaderboardId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'leaderboardId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'leaderboards',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->metagame = new Google_Service_Games_Resource_Metagame(
+ $this,
+ $this->serviceName,
+ 'metagame',
+ array(
+ 'methods' => array(
+ 'getMetagameConfig' => array(
+ 'path' => 'metagameConfig',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->players = new Google_Service_Games_Resource_Players(
+ $this,
+ $this->serviceName,
+ 'players',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'players/{playerId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'playerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ '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,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->pushtokens = new Google_Service_Games_Resource_Pushtokens(
+ $this,
+ $this->serviceName,
+ 'pushtokens',
+ array(
+ 'methods' => array(
+ 'remove' => array(
+ 'path' => 'pushtokens/remove',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'pushtokens',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->questMilestones = new Google_Service_Games_Resource_QuestMilestones(
+ $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,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->quests = new Google_Service_Games_Resource_Quests(
+ $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,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'players/{playerId}/quests',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'playerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->revisions = new Google_Service_Games_Resource_Revisions(
+ $this,
+ $this->serviceName,
+ 'revisions',
+ array(
+ 'methods' => array(
+ 'check' => array(
+ 'path' => 'revisions/check',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'clientRevision' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->rooms = new Google_Service_Games_Resource_Rooms(
+ $this,
+ $this->serviceName,
+ 'rooms',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'rooms/create',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'decline' => array(
+ 'path' => 'rooms/{roomId}/decline',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'roomId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'dismiss' => array(
+ 'path' => 'rooms/{roomId}/dismiss',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'roomId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'rooms/{roomId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'roomId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'join' => array(
+ 'path' => 'rooms/{roomId}/join',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'roomId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'leave' => array(
+ 'path' => 'rooms/{roomId}/leave',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'roomId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'rooms',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'reportStatus' => array(
+ 'path' => 'rooms/{roomId}/reportstatus',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'roomId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->scores = new Google_Service_Games_Resource_Scores(
+ $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,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ '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,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ '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,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'resultsAbove' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'returnTopIfAbsent' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'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,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'scoreTag' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'submitMultiple' => array(
+ 'path' => 'leaderboards/scores',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->snapshots = new Google_Service_Games_Resource_Snapshots(
+ $this,
+ $this->serviceName,
+ 'snapshots',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'snapshots/{snapshotId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'snapshotId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'players/{playerId}/snapshots',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'playerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->turnBasedMatches = new Google_Service_Games_Resource_TurnBasedMatches(
+ $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,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'turnbasedmatches/create',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'decline' => array(
+ 'path' => 'turnbasedmatches/{matchId}/decline',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'dismiss' => array(
+ 'path' => 'turnbasedmatches/{matchId}/dismiss',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'finish' => array(
+ 'path' => 'turnbasedmatches/{matchId}/finish',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'turnbasedmatches/{matchId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeMatchData' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'join' => array(
+ 'path' => 'turnbasedmatches/{matchId}/join',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'leave' => array(
+ 'path' => 'turnbasedmatches/{matchId}/leave',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ '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,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pendingParticipantId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'turnbasedmatches',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeMatchData' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxCompletedMatches' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'rematch' => array(
+ 'path' => 'turnbasedmatches/{matchId}/rematch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'sync' => array(
+ 'path' => 'turnbasedmatches/sync',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeMatchData' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxCompletedMatches' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'takeTurn' => array(
+ 'path' => 'turnbasedmatches/{matchId}/turn',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'consistencyToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementDefinition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementDefinition.php
new file mode 100644
index 00000000..b0744f35
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementDefinition.php
@@ -0,0 +1,138 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_AchievementDefinition extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementDefinitionsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementDefinitionsListResponse.php
new file mode 100644
index 00000000..40da8475
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementDefinitionsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_AchievementDefinitionsListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementIncrementResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementIncrementResponse.php
new file mode 100644
index 00000000..7ca6348f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementIncrementResponse.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_AchievementIncrementResponse extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementRevealResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementRevealResponse.php
new file mode 100644
index 00000000..27792cbb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementRevealResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_AchievementRevealResponse extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementSetStepsAtLeastResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementSetStepsAtLeastResponse.php
new file mode 100644
index 00000000..9662774b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementSetStepsAtLeastResponse.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_AchievementSetStepsAtLeastResponse extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUnlockResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUnlockResponse.php
new file mode 100644
index 00000000..70304cca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUnlockResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_AchievementUnlockResponse extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateMultipleRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateMultipleRequest.php
new file mode 100644
index 00000000..3bf9259e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateMultipleRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_AchievementUpdateMultipleRequest extends Google_Collection
+{
+ protected $collection_key = 'updates';
+ public $kind;
+ protected $updatesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateMultipleResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateMultipleResponse.php
new file mode 100644
index 00000000..df19f29c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateMultipleResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_AchievementUpdateMultipleResponse extends Google_Collection
+{
+ protected $collection_key = 'updatedAchievements';
+ public $kind;
+ protected $updatedAchievementsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateRequest.php
new file mode 100644
index 00000000..1fb41a66
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateRequest.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_AchievementUpdateRequest extends Google_Model
+{
+ public $achievementId;
+ protected $incrementPayloadType = 'Google_Service_Games_GamesAchievementIncrement';
+ protected $incrementPayloadDataType = '';
+ public $kind;
+ protected $setStepsAtLeastPayloadType = 'Google_Service_Games_GamesAchievementSetStepsAtLeast';
+ protected $setStepsAtLeastPayloadDataType = '';
+ public $updateType;
+
+ public function setAchievementId($achievementId)
+ {
+ $this->achievementId = $achievementId;
+ }
+ public function getAchievementId()
+ {
+ return $this->achievementId;
+ }
+ public function setIncrementPayload(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateResponse.php
new file mode 100644
index 00000000..6d2d9f9f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateResponse.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_AchievementUpdateResponse extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AggregateStats.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AggregateStats.php
new file mode 100644
index 00000000..a8a00b57
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AggregateStats.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_AggregateStats extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AnonymousPlayer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AnonymousPlayer.php
new file mode 100644
index 00000000..7d1dac1f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AnonymousPlayer.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_AnonymousPlayer extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Application.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Application.php
new file mode 100644
index 00000000..09248b96
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Application.php
@@ -0,0 +1,146 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_Application extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ protected $internal_gapi_mappings = array(
+ "achievementCount" => "achievement_count",
+ "leaderboardCount" => "leaderboard_count",
+ );
+ public $achievementCount;
+ protected $assetsType = 'Google_Service_Games_ImageAsset';
+ protected $assetsDataType = 'array';
+ public $author;
+ protected $categoryType = 'Google_Service_Games_ApplicationCategory';
+ protected $categoryDataType = '';
+ public $description;
+ public $enabledFeatures;
+ public $id;
+ protected $instancesType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ApplicationCategory.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ApplicationCategory.php
new file mode 100644
index 00000000..f267524b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ApplicationCategory.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_ApplicationCategory extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ApplicationVerifyResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ApplicationVerifyResponse.php
new file mode 100644
index 00000000..6b51e4f6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ApplicationVerifyResponse.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_ApplicationVerifyResponse extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "alternatePlayerId" => "alternate_player_id",
+ "playerId" => "player_id",
+ );
+ public $alternatePlayerId;
+ public $kind;
+ public $playerId;
+
+ public function setAlternatePlayerId($alternatePlayerId)
+ {
+ $this->alternatePlayerId = $alternatePlayerId;
+ }
+ public function getAlternatePlayerId()
+ {
+ return $this->alternatePlayerId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPlayerId($playerId)
+ {
+ $this->playerId = $playerId;
+ }
+ public function getPlayerId()
+ {
+ return $this->playerId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Category.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Category.php
new file mode 100644
index 00000000..4f0a05f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Category.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_Category extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/CategoryListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/CategoryListResponse.php
new file mode 100644
index 00000000..d70d0020
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/CategoryListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_CategoryListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventBatchRecordFailure.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventBatchRecordFailure.php
new file mode 100644
index 00000000..6b55ca36
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventBatchRecordFailure.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_EventBatchRecordFailure extends Google_Model
+{
+ public $failureCause;
+ public $kind;
+ protected $rangeType = '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(Google_Service_Games_EventPeriodRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventChild.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventChild.php
new file mode 100644
index 00000000..2ef59454
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventChild.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_EventChild extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventDefinition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventDefinition.php
new file mode 100644
index 00000000..65c020d3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventDefinition.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_EventDefinition extends Google_Collection
+{
+ protected $collection_key = 'childEvents';
+ protected $childEventsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventDefinitionListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventDefinitionListResponse.php
new file mode 100644
index 00000000..8eb3a1a0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventDefinitionListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_EventDefinitionListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventPeriodRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventPeriodRange.php
new file mode 100644
index 00000000..a584711f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventPeriodRange.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_EventPeriodRange extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventPeriodUpdate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventPeriodUpdate.php
new file mode 100644
index 00000000..69e01175
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventPeriodUpdate.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_EventPeriodUpdate extends Google_Collection
+{
+ protected $collection_key = 'updates';
+ public $kind;
+ protected $timePeriodType = 'Google_Service_Games_EventPeriodRange';
+ protected $timePeriodDataType = '';
+ protected $updatesType = 'Google_Service_Games_EventUpdateRequest';
+ protected $updatesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTimePeriod(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventRecordFailure.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventRecordFailure.php
new file mode 100644
index 00000000..35ac4eed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventRecordFailure.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_EventRecordFailure extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventRecordRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventRecordRequest.php
new file mode 100644
index 00000000..fd3da23b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventRecordRequest.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_EventRecordRequest extends Google_Collection
+{
+ protected $collection_key = 'timePeriods';
+ public $currentTimeMillis;
+ public $kind;
+ public $requestId;
+ protected $timePeriodsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventUpdateRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventUpdateRequest.php
new file mode 100644
index 00000000..48314f70
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventUpdateRequest.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_EventUpdateRequest extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventUpdateResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventUpdateResponse.php
new file mode 100644
index 00000000..9a180f33
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventUpdateResponse.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_EventUpdateResponse extends Google_Collection
+{
+ protected $collection_key = 'playerEvents';
+ protected $batchFailuresType = 'Google_Service_Games_EventBatchRecordFailure';
+ protected $batchFailuresDataType = 'array';
+ protected $eventFailuresType = 'Google_Service_Games_EventRecordFailure';
+ protected $eventFailuresDataType = 'array';
+ public $kind;
+ protected $playerEventsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/GamesAchievementIncrement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/GamesAchievementIncrement.php
new file mode 100644
index 00000000..863cd06a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/GamesAchievementIncrement.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_GamesAchievementIncrement extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/GamesAchievementSetStepsAtLeast.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/GamesAchievementSetStepsAtLeast.php
new file mode 100644
index 00000000..121d0ec0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/GamesAchievementSetStepsAtLeast.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_GamesAchievementSetStepsAtLeast extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ImageAsset.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ImageAsset.php
new file mode 100644
index 00000000..2fbaff4f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ImageAsset.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_ImageAsset extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Instance.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Instance.php
new file mode 100644
index 00000000..d9b41555
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Instance.php
@@ -0,0 +1,105 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_Instance extends Google_Model
+{
+ public $acquisitionUri;
+ protected $androidInstanceType = 'Google_Service_Games_InstanceAndroidDetails';
+ protected $androidInstanceDataType = '';
+ protected $iosInstanceType = 'Google_Service_Games_InstanceIosDetails';
+ protected $iosInstanceDataType = '';
+ public $kind;
+ public $name;
+ public $platformType;
+ public $realtimePlay;
+ public $turnBasedPlay;
+ protected $webInstanceType = 'Google_Service_Games_InstanceWebDetails';
+ protected $webInstanceDataType = '';
+
+ public function setAcquisitionUri($acquisitionUri)
+ {
+ $this->acquisitionUri = $acquisitionUri;
+ }
+ public function getAcquisitionUri()
+ {
+ return $this->acquisitionUri;
+ }
+ public function setAndroidInstance(Google_Service_Games_InstanceAndroidDetails $androidInstance)
+ {
+ $this->androidInstance = $androidInstance;
+ }
+ public function getAndroidInstance()
+ {
+ return $this->androidInstance;
+ }
+ public function setIosInstance(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(Google_Service_Games_InstanceWebDetails $webInstance)
+ {
+ $this->webInstance = $webInstance;
+ }
+ public function getWebInstance()
+ {
+ return $this->webInstance;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceAndroidDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceAndroidDetails.php
new file mode 100644
index 00000000..9bd810fb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceAndroidDetails.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_InstanceAndroidDetails extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceIosDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceIosDetails.php
new file mode 100644
index 00000000..e82877cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceIosDetails.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_InstanceIosDetails extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceWebDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceWebDetails.php
new file mode 100644
index 00000000..601cd4b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceWebDetails.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_InstanceWebDetails extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Leaderboard.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Leaderboard.php
new file mode 100644
index 00000000..8d6bc438
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Leaderboard.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_Leaderboard extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardEntry.php
new file mode 100644
index 00000000..9d451a02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardEntry.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_LeaderboardEntry extends Google_Model
+{
+ public $formattedScore;
+ public $formattedScoreRank;
+ public $kind;
+ protected $playerType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardListResponse.php
new file mode 100644
index 00000000..21fdfa87
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_LeaderboardListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardScoreRank.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardScoreRank.php
new file mode 100644
index 00000000..8127bfd5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardScoreRank.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_LeaderboardScoreRank extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardScores.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardScores.php
new file mode 100644
index 00000000..9381da02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardScores.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_LeaderboardScores extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_Games_LeaderboardEntry';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $numScores;
+ protected $playerScoreType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/MetagameConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/MetagameConfig.php
new file mode 100644
index 00000000..cec0a436
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/MetagameConfig.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_MetagameConfig extends Google_Collection
+{
+ protected $collection_key = 'playerLevels';
+ public $currentVersion;
+ public $kind;
+ protected $playerLevelsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/NetworkDiagnostics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/NetworkDiagnostics.php
new file mode 100644
index 00000000..5669dbf5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/NetworkDiagnostics.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_NetworkDiagnostics extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ParticipantResult.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ParticipantResult.php
new file mode 100644
index 00000000..8f856fbc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ParticipantResult.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_ParticipantResult extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PeerChannelDiagnostics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PeerChannelDiagnostics.php
new file mode 100644
index 00000000..f5042111
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PeerChannelDiagnostics.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PeerChannelDiagnostics extends Google_Model
+{
+ protected $bytesReceivedType = 'Google_Service_Games_AggregateStats';
+ protected $bytesReceivedDataType = '';
+ protected $bytesSentType = 'Google_Service_Games_AggregateStats';
+ protected $bytesSentDataType = '';
+ public $kind;
+ public $numMessagesLost;
+ public $numMessagesReceived;
+ public $numMessagesSent;
+ public $numSendFailures;
+ protected $roundtripLatencyMillisType = 'Google_Service_Games_AggregateStats';
+ protected $roundtripLatencyMillisDataType = '';
+
+ public function setBytesReceived(Google_Service_Games_AggregateStats $bytesReceived)
+ {
+ $this->bytesReceived = $bytesReceived;
+ }
+ public function getBytesReceived()
+ {
+ return $this->bytesReceived;
+ }
+ public function setBytesSent(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(Google_Service_Games_AggregateStats $roundtripLatencyMillis)
+ {
+ $this->roundtripLatencyMillis = $roundtripLatencyMillis;
+ }
+ public function getRoundtripLatencyMillis()
+ {
+ return $this->roundtripLatencyMillis;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PeerSessionDiagnostics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PeerSessionDiagnostics.php
new file mode 100644
index 00000000..cdd6b507
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PeerSessionDiagnostics.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PeerSessionDiagnostics extends Google_Model
+{
+ public $connectedTimestampMillis;
+ public $kind;
+ public $participantId;
+ protected $reliableChannelType = 'Google_Service_Games_PeerChannelDiagnostics';
+ protected $reliableChannelDataType = '';
+ protected $unreliableChannelType = '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(Google_Service_Games_PeerChannelDiagnostics $reliableChannel)
+ {
+ $this->reliableChannel = $reliableChannel;
+ }
+ public function getReliableChannel()
+ {
+ return $this->reliableChannel;
+ }
+ public function setUnreliableChannel(Google_Service_Games_PeerChannelDiagnostics $unreliableChannel)
+ {
+ $this->unreliableChannel = $unreliableChannel;
+ }
+ public function getUnreliableChannel()
+ {
+ return $this->unreliableChannel;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Played.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Played.php
new file mode 100644
index 00000000..eda3e5b4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Played.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_Played extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Player.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Player.php
new file mode 100644
index 00000000..c5d0888b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Player.php
@@ -0,0 +1,133 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_Player extends Google_Model
+{
+ public $avatarImageUrl;
+ public $bannerUrlLandscape;
+ public $bannerUrlPortrait;
+ public $displayName;
+ protected $experienceInfoType = 'Google_Service_Games_PlayerExperienceInfo';
+ protected $experienceInfoDataType = '';
+ public $kind;
+ protected $lastPlayedWithType = 'Google_Service_Games_Played';
+ protected $lastPlayedWithDataType = '';
+ protected $nameType = 'Google_Service_Games_PlayerName';
+ protected $nameDataType = '';
+ public $originalPlayerId;
+ public $playerId;
+ protected $profileSettingsType = 'Google_Service_Games_ProfileSettings';
+ protected $profileSettingsDataType = '';
+ public $title;
+
+ public function setAvatarImageUrl($avatarImageUrl)
+ {
+ $this->avatarImageUrl = $avatarImageUrl;
+ }
+ public function getAvatarImageUrl()
+ {
+ return $this->avatarImageUrl;
+ }
+ public function setBannerUrlLandscape($bannerUrlLandscape)
+ {
+ $this->bannerUrlLandscape = $bannerUrlLandscape;
+ }
+ public function getBannerUrlLandscape()
+ {
+ return $this->bannerUrlLandscape;
+ }
+ public function setBannerUrlPortrait($bannerUrlPortrait)
+ {
+ $this->bannerUrlPortrait = $bannerUrlPortrait;
+ }
+ public function getBannerUrlPortrait()
+ {
+ return $this->bannerUrlPortrait;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setExperienceInfo(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(Google_Service_Games_Played $lastPlayedWith)
+ {
+ $this->lastPlayedWith = $lastPlayedWith;
+ }
+ public function getLastPlayedWith()
+ {
+ return $this->lastPlayedWith;
+ }
+ public function setName(Google_Service_Games_PlayerName $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOriginalPlayerId($originalPlayerId)
+ {
+ $this->originalPlayerId = $originalPlayerId;
+ }
+ public function getOriginalPlayerId()
+ {
+ return $this->originalPlayerId;
+ }
+ public function setPlayerId($playerId)
+ {
+ $this->playerId = $playerId;
+ }
+ public function getPlayerId()
+ {
+ return $this->playerId;
+ }
+ public function setProfileSettings(Google_Service_Games_ProfileSettings $profileSettings)
+ {
+ $this->profileSettings = $profileSettings;
+ }
+ public function getProfileSettings()
+ {
+ return $this->profileSettings;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerAchievement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerAchievement.php
new file mode 100644
index 00000000..0c3403cf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerAchievement.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PlayerAchievement extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerAchievementListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerAchievementListResponse.php
new file mode 100644
index 00000000..a4b73ef4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerAchievementListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PlayerAchievementListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerEvent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerEvent.php
new file mode 100644
index 00000000..fdffa96d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerEvent.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PlayerEvent extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerEventListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerEventListResponse.php
new file mode 100644
index 00000000..f2ec3aec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerEventListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PlayerEventListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerExperienceInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerExperienceInfo.php
new file mode 100644
index 00000000..fa437ae3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerExperienceInfo.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PlayerExperienceInfo extends Google_Model
+{
+ public $currentExperiencePoints;
+ protected $currentLevelType = 'Google_Service_Games_PlayerLevel';
+ protected $currentLevelDataType = '';
+ public $kind;
+ public $lastLevelUpTimestampMillis;
+ protected $nextLevelType = 'Google_Service_Games_PlayerLevel';
+ protected $nextLevelDataType = '';
+
+ public function setCurrentExperiencePoints($currentExperiencePoints)
+ {
+ $this->currentExperiencePoints = $currentExperiencePoints;
+ }
+ public function getCurrentExperiencePoints()
+ {
+ return $this->currentExperiencePoints;
+ }
+ public function setCurrentLevel(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(Google_Service_Games_PlayerLevel $nextLevel)
+ {
+ $this->nextLevel = $nextLevel;
+ }
+ public function getNextLevel()
+ {
+ return $this->nextLevel;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLeaderboardScore.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLeaderboardScore.php
new file mode 100644
index 00000000..f3119ac0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLeaderboardScore.php
@@ -0,0 +1,107 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PlayerLeaderboardScore extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "leaderboardId" => "leaderboard_id",
+ );
+ public $kind;
+ public $leaderboardId;
+ protected $publicRankType = 'Google_Service_Games_LeaderboardScoreRank';
+ protected $publicRankDataType = '';
+ public $scoreString;
+ public $scoreTag;
+ public $scoreValue;
+ protected $socialRankType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLeaderboardScoreListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLeaderboardScoreListResponse.php
new file mode 100644
index 00000000..99bf0bc0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLeaderboardScoreListResponse.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PlayerLeaderboardScoreListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_Games_PlayerLeaderboardScore';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $playerType = '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(Google_Service_Games_Player $player)
+ {
+ $this->player = $player;
+ }
+ public function getPlayer()
+ {
+ return $this->player;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLevel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLevel.php
new file mode 100644
index 00000000..f10a55b1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLevel.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PlayerLevel extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerListResponse.php
new file mode 100644
index 00000000..442910b0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PlayerListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerName.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerName.php
new file mode 100644
index 00000000..beadfaf1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerName.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PlayerName extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScore.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScore.php
new file mode 100644
index 00000000..418f80ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScore.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PlayerScore extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreListResponse.php
new file mode 100644
index 00000000..1132c67d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PlayerScoreListResponse extends Google_Collection
+{
+ protected $collection_key = 'submittedScores';
+ public $kind;
+ protected $submittedScoresType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreResponse.php
new file mode 100644
index 00000000..8d10ed55
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreResponse.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PlayerScoreResponse extends Google_Collection
+{
+ protected $collection_key = 'unbeatenScores';
+ public $beatenScoreTimeSpans;
+ public $formattedScore;
+ public $kind;
+ public $leaderboardId;
+ public $scoreTag;
+ protected $unbeatenScoresType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreSubmissionList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreSubmissionList.php
new file mode 100644
index 00000000..509daeda
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreSubmissionList.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PlayerScoreSubmissionList extends Google_Collection
+{
+ protected $collection_key = 'scores';
+ public $kind;
+ protected $scoresType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ProfileSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ProfileSettings.php
new file mode 100644
index 00000000..b59cd8fb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ProfileSettings.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_ProfileSettings extends Google_Model
+{
+ public $kind;
+ public $profileVisible;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProfileVisible($profileVisible)
+ {
+ $this->profileVisible = $profileVisible;
+ }
+ public function getProfileVisible()
+ {
+ return $this->profileVisible;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushToken.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushToken.php
new file mode 100644
index 00000000..3a26d18f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushToken.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PushToken extends Google_Model
+{
+ public $clientRevision;
+ protected $idType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushTokenId.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushTokenId.php
new file mode 100644
index 00000000..5781564a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushTokenId.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PushTokenId extends Google_Model
+{
+ protected $iosType = 'Google_Service_Games_PushTokenIdIos';
+ protected $iosDataType = '';
+ public $kind;
+
+ public function setIos(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushTokenIdIos.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushTokenIdIos.php
new file mode 100644
index 00000000..7a7ebbe4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushTokenIdIos.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_PushTokenIdIos extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Quest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Quest.php
new file mode 100644
index 00000000..9c58dcfa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Quest.php
@@ -0,0 +1,167 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_Quest extends Google_Collection
+{
+ protected $collection_key = 'milestones';
+ public $acceptedTimestampMillis;
+ public $applicationId;
+ public $bannerUrl;
+ public $description;
+ public $endTimestampMillis;
+ public $iconUrl;
+ public $id;
+ public $isDefaultBannerUrl;
+ public $isDefaultIconUrl;
+ public $kind;
+ public $lastUpdatedTimestampMillis;
+ protected $milestonesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestContribution.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestContribution.php
new file mode 100644
index 00000000..357d66f7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestContribution.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_QuestContribution extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestCriterion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestCriterion.php
new file mode 100644
index 00000000..925d59bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestCriterion.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_QuestCriterion extends Google_Model
+{
+ protected $completionContributionType = 'Google_Service_Games_QuestContribution';
+ protected $completionContributionDataType = '';
+ protected $currentContributionType = 'Google_Service_Games_QuestContribution';
+ protected $currentContributionDataType = '';
+ public $eventId;
+ protected $initialPlayerProgressType = 'Google_Service_Games_QuestContribution';
+ protected $initialPlayerProgressDataType = '';
+ public $kind;
+
+ public function setCompletionContribution(Google_Service_Games_QuestContribution $completionContribution)
+ {
+ $this->completionContribution = $completionContribution;
+ }
+ public function getCompletionContribution()
+ {
+ return $this->completionContribution;
+ }
+ public function setCurrentContribution(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestListResponse.php
new file mode 100644
index 00000000..c683720f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_QuestListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestMilestone.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestMilestone.php
new file mode 100644
index 00000000..846f2ee3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestMilestone.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_QuestMilestone extends Google_Collection
+{
+ protected $collection_key = 'criteria';
+ public $completionRewardData;
+ protected $criteriaType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/AchievementDefinitions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/AchievementDefinitions.php
new file mode 100644
index 00000000..3d4b8d87
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/AchievementDefinitions.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "achievementDefinitions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Google_Service_Games(...);
+ * $achievementDefinitions = $gamesService->achievementDefinitions;
+ * </code>
+ */
+class Google_Service_Games_Resource_AchievementDefinitions extends Google_Service_Resource
+{
+ /**
+ * Lists all the achievement definitions for your application.
+ * (achievementDefinitions.listAchievementDefinitions)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @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 pageToken The token returned by the previous request.
+ * @return Google_Service_Games_AchievementDefinitionsListResponse
+ */
+ public function listAchievementDefinitions($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Games_AchievementDefinitionsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Achievements.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Achievements.php
new file mode 100644
index 00000000..aa58c5ed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Achievements.php
@@ -0,0 +1,141 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "achievements" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Google_Service_Games(...);
+ * $achievements = $gamesService->achievements;
+ * </code>
+ */
+class Google_Service_Games_Resource_Achievements extends 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 consistencyToken The last-seen mutation timestamp.
+ * @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 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), "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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @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 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.
+ * @return 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), "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.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @return 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), "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.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @return 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), "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.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @return 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), "Google_Service_Games_AchievementUnlockResponse");
+ }
+ /**
+ * Updates multiple achievements for the currently authenticated player.
+ * (achievements.updateMultiple)
+ *
+ * @param Google_Service_Games_AchievementUpdateMultipleRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @return Google_Service_Games_AchievementUpdateMultipleResponse
+ */
+ public function updateMultiple(Google_Service_Games_AchievementUpdateMultipleRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateMultiple', array($params), "Google_Service_Games_AchievementUpdateMultipleResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Applications.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Applications.php
new file mode 100644
index 00000000..f8acdb07
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Applications.php
@@ -0,0 +1,82 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "applications" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Google_Service_Games(...);
+ * $applications = $gamesService->applications;
+ * </code>
+ */
+class Google_Service_Games_Resource_Applications extends 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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @opt_param string platformType Restrict application details returned to the
+ * specific platform.
+ * @return 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), "Google_Service_Games_Application");
+ }
+ /**
+ * Indicate that the the currently authenticated user is playing your
+ * application. (applications.played)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ */
+ public function played($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('played', array($params));
+ }
+ /**
+ * Verifies the auth token provided with this request is for the application
+ * with the specified ID, and returns the ID of the player it was granted for.
+ * (applications.verify)
+ *
+ * @param string $applicationId The application ID from the Google Play
+ * developer console.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @return Google_Service_Games_ApplicationVerifyResponse
+ */
+ public function verify($applicationId, $optParams = array())
+ {
+ $params = array('applicationId' => $applicationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('verify', array($params), "Google_Service_Games_ApplicationVerifyResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Events.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Events.php
new file mode 100644
index 00000000..b72e0656
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Events.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "events" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Google_Service_Games(...);
+ * $events = $gamesService->events;
+ * </code>
+ */
+class Google_Service_Games_Resource_Events extends 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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @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 pageToken The token returned by the previous request.
+ * @return Google_Service_Games_PlayerEventListResponse
+ */
+ public function listByPlayer($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('listByPlayer', array($params), "Google_Service_Games_PlayerEventListResponse");
+ }
+ /**
+ * Returns a list of the event definitions in this application.
+ * (events.listDefinitions)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @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 pageToken The token returned by the previous request.
+ * @return Google_Service_Games_EventDefinitionListResponse
+ */
+ public function listDefinitions($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('listDefinitions', array($params), "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 Google_Service_Games_EventRecordRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Google_Service_Games_EventUpdateResponse
+ */
+ public function record(Google_Service_Games_EventRecordRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('record', array($params), "Google_Service_Games_EventUpdateResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Leaderboards.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Leaderboards.php
new file mode 100644
index 00000000..89e346c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Leaderboards.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "leaderboards" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Google_Service_Games(...);
+ * $leaderboards = $gamesService->leaderboards;
+ * </code>
+ */
+class Google_Service_Games_Resource_Leaderboards extends 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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return 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), "Google_Service_Games_Leaderboard");
+ }
+ /**
+ * Lists all the leaderboard metadata for your application.
+ * (leaderboards.listLeaderboards)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @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 pageToken The token returned by the previous request.
+ * @return Google_Service_Games_LeaderboardListResponse
+ */
+ public function listLeaderboards($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Games_LeaderboardListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Metagame.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Metagame.php
new file mode 100644
index 00000000..c89f6075
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Metagame.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "metagame" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Google_Service_Games(...);
+ * $metagame = $gamesService->metagame;
+ * </code>
+ */
+class Google_Service_Games_Resource_Metagame extends Google_Service_Resource
+{
+ /**
+ * Return the metagame configuration data for the calling application.
+ * (metagame.getMetagameConfig)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @return Google_Service_Games_MetagameConfig
+ */
+ public function getMetagameConfig($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('getMetagameConfig', array($params), "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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @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 pageToken The token returned by the previous request.
+ * @return 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), "Google_Service_Games_CategoryListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Players.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Players.php
new file mode 100644
index 00000000..4ed67d25
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Players.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "players" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Google_Service_Games(...);
+ * $players = $gamesService->players;
+ * </code>
+ */
+class Google_Service_Games_Resource_Players extends 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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return 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), "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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @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 pageToken The token returned by the previous request.
+ * @return 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), "Google_Service_Games_PlayerListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Pushtokens.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Pushtokens.php
new file mode 100644
index 00000000..052edf27
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Pushtokens.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "pushtokens" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Google_Service_Games(...);
+ * $pushtokens = $gamesService->pushtokens;
+ * </code>
+ */
+class Google_Service_Games_Resource_Pushtokens extends 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 Google_Service_Games_PushTokenId $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ */
+ public function remove(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 Google_Service_Games_PushToken $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ */
+ public function update(Google_Service_Games_PushToken $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/QuestMilestones.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/QuestMilestones.php
new file mode 100644
index 00000000..5b2bcf4d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/QuestMilestones.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "questMilestones" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Google_Service_Games(...);
+ * $questMilestones = $gamesService->questMilestones;
+ * </code>
+ */
+class Google_Service_Games_Resource_QuestMilestones extends 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.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ */
+ 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));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Quests.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Quests.php
new file mode 100644
index 00000000..4ed8d679
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Quests.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "quests" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Google_Service_Games(...);
+ * $quests = $gamesService->quests;
+ * </code>
+ */
+class Google_Service_Games_Resource_Quests extends 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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return 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), "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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @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 pageToken The token returned by the previous request.
+ * @return 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), "Google_Service_Games_QuestListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Revisions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Revisions.php
new file mode 100644
index 00000000..5370204f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Revisions.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "revisions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Google_Service_Games(...);
+ * $revisions = $gamesService->revisions;
+ * </code>
+ */
+class Google_Service_Games_Resource_Revisions extends 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.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @return 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), "Google_Service_Games_RevisionCheckResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Rooms.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Rooms.php
new file mode 100644
index 00000000..cc863dfb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Rooms.php
@@ -0,0 +1,174 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "rooms" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Google_Service_Games(...);
+ * $rooms = $gamesService->rooms;
+ * </code>
+ */
+class Google_Service_Games_Resource_Rooms extends Google_Service_Resource
+{
+ /**
+ * Create a room. For internal use by the Games SDK only. Calling this method
+ * directly is unsupported. (rooms.create)
+ *
+ * @param Google_Service_Games_RoomCreateRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Google_Service_Games_Room
+ */
+ public function create(Google_Service_Games_RoomCreateRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return 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), "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.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ */
+ 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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return 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), "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 Google_Service_Games_RoomJoinRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Google_Service_Games_Room
+ */
+ public function join($roomId, Google_Service_Games_RoomJoinRequest $postBody, $optParams = array())
+ {
+ $params = array('roomId' => $roomId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('join', array($params), "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 Google_Service_Games_RoomLeaveRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Google_Service_Games_Room
+ */
+ public function leave($roomId, Google_Service_Games_RoomLeaveRequest $postBody, $optParams = array())
+ {
+ $params = array('roomId' => $roomId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('leave', array($params), "Google_Service_Games_Room");
+ }
+ /**
+ * Returns invitations to join rooms. (rooms.listRooms)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @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 pageToken The token returned by the previous request.
+ * @return Google_Service_Games_RoomList
+ */
+ public function listRooms($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "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 Google_Service_Games_RoomP2PStatuses $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Google_Service_Games_RoomStatus
+ */
+ public function reportStatus($roomId, Google_Service_Games_RoomP2PStatuses $postBody, $optParams = array())
+ {
+ $params = array('roomId' => $roomId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('reportStatus', array($params), "Google_Service_Games_RoomStatus");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Scores.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Scores.php
new file mode 100644
index 00000000..a6ae8bda
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Scores.php
@@ -0,0 +1,158 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "scores" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Google_Service_Games(...);
+ * $scores = $gamesService->scores;
+ * </code>
+ */
+class Google_Service_Games_Resource_Scores extends 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 consistencyToken The last-seen mutation timestamp.
+ * @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 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), "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 consistencyToken The last-seen mutation timestamp.
+ * @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 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), "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 consistencyToken The last-seen mutation timestamp.
+ * @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.
+ * @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 bool returnTopIfAbsent True if the top scores should be returned
+ * when the player is not in the leaderboard. Defaults to true.
+ * @return 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), "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 consistencyToken The last-seen mutation timestamp.
+ * @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 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), "Google_Service_Games_PlayerScoreResponse");
+ }
+ /**
+ * Submits multiple scores to leaderboards. (scores.submitMultiple)
+ *
+ * @param Google_Service_Games_PlayerScoreSubmissionList $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Google_Service_Games_PlayerScoreListResponse
+ */
+ public function submitMultiple(Google_Service_Games_PlayerScoreSubmissionList $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('submitMultiple', array($params), "Google_Service_Games_PlayerScoreListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Snapshots.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Snapshots.php
new file mode 100644
index 00000000..5655d985
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Snapshots.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "snapshots" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Google_Service_Games(...);
+ * $snapshots = $gamesService->snapshots;
+ * </code>
+ */
+class Google_Service_Games_Resource_Snapshots extends 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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return 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), "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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @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 pageToken The token returned by the previous request.
+ * @return 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), "Google_Service_Games_SnapshotListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/TurnBasedMatches.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/TurnBasedMatches.php
new file mode 100644
index 00000000..e6c05a2b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/TurnBasedMatches.php
@@ -0,0 +1,289 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "turnBasedMatches" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Google_Service_Games(...);
+ * $turnBasedMatches = $gamesService->turnBasedMatches;
+ * </code>
+ */
+class Google_Service_Games_Resource_TurnBasedMatches extends Google_Service_Resource
+{
+ /**
+ * Cancel a turn-based match. (turnBasedMatches.cancel)
+ *
+ * @param string $matchId The ID of the match.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ */
+ 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 Google_Service_Games_TurnBasedMatchCreateRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Google_Service_Games_TurnBasedMatch
+ */
+ public function create(Google_Service_Games_TurnBasedMatchCreateRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return 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), "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.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ */
+ 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 Google_Service_Games_TurnBasedMatchResults $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Google_Service_Games_TurnBasedMatch
+ */
+ public function finish($matchId, Google_Service_Games_TurnBasedMatchResults $postBody, $optParams = array())
+ {
+ $params = array('matchId' => $matchId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('finish', array($params), "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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param bool includeMatchData Get match data along with metadata.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return 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), "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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return 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), "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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return 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), "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 consistencyToken The last-seen mutation timestamp.
+ * @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 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), "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 consistencyToken The last-seen mutation timestamp.
+ * @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.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @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 pageToken The token returned by the previous request.
+ * @return Google_Service_Games_TurnBasedMatchList
+ */
+ public function listTurnBasedMatches($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "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 consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @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 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), "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 consistencyToken The last-seen mutation timestamp.
+ * @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.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @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 pageToken The token returned by the previous request.
+ * @return Google_Service_Games_TurnBasedMatchSync
+ */
+ public function sync($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('sync', array($params), "Google_Service_Games_TurnBasedMatchSync");
+ }
+ /**
+ * Commit the results of a player turn. (turnBasedMatches.takeTurn)
+ *
+ * @param string $matchId The ID of the match.
+ * @param Google_Service_Games_TurnBasedMatchTurn $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consistencyToken The last-seen mutation timestamp.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Google_Service_Games_TurnBasedMatch
+ */
+ public function takeTurn($matchId, Google_Service_Games_TurnBasedMatchTurn $postBody, $optParams = array())
+ {
+ $params = array('matchId' => $matchId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('takeTurn', array($params), "Google_Service_Games_TurnBasedMatch");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RevisionCheckResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RevisionCheckResponse.php
new file mode 100644
index 00000000..98696cad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RevisionCheckResponse.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_RevisionCheckResponse extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Room.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Room.php
new file mode 100644
index 00000000..cf3501f5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Room.php
@@ -0,0 +1,144 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_Room extends Google_Collection
+{
+ protected $collection_key = 'participants';
+ public $applicationId;
+ protected $autoMatchingCriteriaType = 'Google_Service_Games_RoomAutoMatchingCriteria';
+ protected $autoMatchingCriteriaDataType = '';
+ protected $autoMatchingStatusType = 'Google_Service_Games_RoomAutoMatchStatus';
+ protected $autoMatchingStatusDataType = '';
+ protected $creationDetailsType = 'Google_Service_Games_RoomModification';
+ protected $creationDetailsDataType = '';
+ public $description;
+ public $inviterId;
+ public $kind;
+ protected $lastUpdateDetailsType = 'Google_Service_Games_RoomModification';
+ protected $lastUpdateDetailsDataType = '';
+ protected $participantsType = '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(Google_Service_Games_RoomAutoMatchingCriteria $autoMatchingCriteria)
+ {
+ $this->autoMatchingCriteria = $autoMatchingCriteria;
+ }
+ public function getAutoMatchingCriteria()
+ {
+ return $this->autoMatchingCriteria;
+ }
+ public function setAutoMatchingStatus(Google_Service_Games_RoomAutoMatchStatus $autoMatchingStatus)
+ {
+ $this->autoMatchingStatus = $autoMatchingStatus;
+ }
+ public function getAutoMatchingStatus()
+ {
+ return $this->autoMatchingStatus;
+ }
+ public function setCreationDetails(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomAutoMatchStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomAutoMatchStatus.php
new file mode 100644
index 00000000..d8daffae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomAutoMatchStatus.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_RoomAutoMatchStatus extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomAutoMatchingCriteria.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomAutoMatchingCriteria.php
new file mode 100644
index 00000000..5107dfdc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomAutoMatchingCriteria.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_RoomAutoMatchingCriteria extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomClientAddress.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomClientAddress.php
new file mode 100644
index 00000000..b65ae8e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomClientAddress.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_RoomClientAddress extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomCreateRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomCreateRequest.php
new file mode 100644
index 00000000..b6bea55d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomCreateRequest.php
@@ -0,0 +1,97 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_RoomCreateRequest extends Google_Collection
+{
+ protected $collection_key = 'invitedPlayerIds';
+ protected $autoMatchingCriteriaType = 'Google_Service_Games_RoomAutoMatchingCriteria';
+ protected $autoMatchingCriteriaDataType = '';
+ public $capabilities;
+ protected $clientAddressType = 'Google_Service_Games_RoomClientAddress';
+ protected $clientAddressDataType = '';
+ public $invitedPlayerIds;
+ public $kind;
+ protected $networkDiagnosticsType = 'Google_Service_Games_NetworkDiagnostics';
+ protected $networkDiagnosticsDataType = '';
+ public $requestId;
+ public $variant;
+
+ public function setAutoMatchingCriteria(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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomJoinRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomJoinRequest.php
new file mode 100644
index 00000000..2f55f28e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomJoinRequest.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_RoomJoinRequest extends Google_Collection
+{
+ protected $collection_key = 'capabilities';
+ public $capabilities;
+ protected $clientAddressType = 'Google_Service_Games_RoomClientAddress';
+ protected $clientAddressDataType = '';
+ public $kind;
+ protected $networkDiagnosticsType = 'Google_Service_Games_NetworkDiagnostics';
+ protected $networkDiagnosticsDataType = '';
+
+ public function setCapabilities($capabilities)
+ {
+ $this->capabilities = $capabilities;
+ }
+ public function getCapabilities()
+ {
+ return $this->capabilities;
+ }
+ public function setClientAddress(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(Google_Service_Games_NetworkDiagnostics $networkDiagnostics)
+ {
+ $this->networkDiagnostics = $networkDiagnostics;
+ }
+ public function getNetworkDiagnostics()
+ {
+ return $this->networkDiagnostics;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomLeaveDiagnostics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomLeaveDiagnostics.php
new file mode 100644
index 00000000..f456e9b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomLeaveDiagnostics.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_RoomLeaveDiagnostics extends Google_Collection
+{
+ protected $collection_key = 'peerSession';
+ public $androidNetworkSubtype;
+ public $androidNetworkType;
+ public $iosNetworkType;
+ public $kind;
+ public $networkOperatorCode;
+ public $networkOperatorName;
+ protected $peerSessionType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomLeaveRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomLeaveRequest.php
new file mode 100644
index 00000000..d41eec03
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomLeaveRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_RoomLeaveRequest extends Google_Model
+{
+ public $kind;
+ protected $leaveDiagnosticsType = 'Google_Service_Games_RoomLeaveDiagnostics';
+ protected $leaveDiagnosticsDataType = '';
+ public $reason;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLeaveDiagnostics(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomList.php
new file mode 100644
index 00000000..2807aa3f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomList.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_RoomList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomModification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomModification.php
new file mode 100644
index 00000000..43ed77d8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomModification.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_RoomModification extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomP2PStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomP2PStatus.php
new file mode 100644
index 00000000..96a16ac5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomP2PStatus.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_RoomP2PStatus extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomP2PStatuses.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomP2PStatuses.php
new file mode 100644
index 00000000..fab0dca0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomP2PStatuses.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_RoomP2PStatuses extends Google_Collection
+{
+ protected $collection_key = 'updates';
+ public $kind;
+ protected $updatesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomParticipant.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomParticipant.php
new file mode 100644
index 00000000..1f9bcd6a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomParticipant.php
@@ -0,0 +1,115 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_RoomParticipant extends Google_Collection
+{
+ protected $collection_key = 'capabilities';
+ public $autoMatched;
+ protected $autoMatchedPlayerType = 'Google_Service_Games_AnonymousPlayer';
+ protected $autoMatchedPlayerDataType = '';
+ public $capabilities;
+ protected $clientAddressType = 'Google_Service_Games_RoomClientAddress';
+ protected $clientAddressDataType = '';
+ public $connected;
+ public $id;
+ public $kind;
+ public $leaveReason;
+ protected $playerType = 'Google_Service_Games_Player';
+ protected $playerDataType = '';
+ public $status;
+
+ public function setAutoMatched($autoMatched)
+ {
+ $this->autoMatched = $autoMatched;
+ }
+ public function getAutoMatched()
+ {
+ return $this->autoMatched;
+ }
+ public function setAutoMatchedPlayer(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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomStatus.php
new file mode 100644
index 00000000..706221eb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomStatus.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_RoomStatus extends Google_Collection
+{
+ protected $collection_key = 'participants';
+ protected $autoMatchingStatusType = 'Google_Service_Games_RoomAutoMatchStatus';
+ protected $autoMatchingStatusDataType = '';
+ public $kind;
+ protected $participantsType = 'Google_Service_Games_RoomParticipant';
+ protected $participantsDataType = 'array';
+ public $roomId;
+ public $status;
+ public $statusVersion;
+
+ public function setAutoMatchingStatus(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ScoreSubmission.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ScoreSubmission.php
new file mode 100644
index 00000000..03c09cf9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ScoreSubmission.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_ScoreSubmission extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Snapshot.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Snapshot.php
new file mode 100644
index 00000000..2ec6ed07
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Snapshot.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_Snapshot extends Google_Model
+{
+ protected $coverImageType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/SnapshotImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/SnapshotImage.php
new file mode 100644
index 00000000..2755e987
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/SnapshotImage.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_SnapshotImage extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/SnapshotListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/SnapshotListResponse.php
new file mode 100644
index 00000000..a96009a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/SnapshotListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_SnapshotListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedAutoMatchingCriteria.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedAutoMatchingCriteria.php
new file mode 100644
index 00000000..2895ae47
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedAutoMatchingCriteria.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_TurnBasedAutoMatchingCriteria extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatch.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatch.php
new file mode 100644
index 00000000..57b3588d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatch.php
@@ -0,0 +1,209 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_TurnBasedMatch extends Google_Collection
+{
+ protected $collection_key = 'results';
+ public $applicationId;
+ protected $autoMatchingCriteriaType = 'Google_Service_Games_TurnBasedAutoMatchingCriteria';
+ protected $autoMatchingCriteriaDataType = '';
+ protected $creationDetailsType = 'Google_Service_Games_TurnBasedMatchModification';
+ protected $creationDetailsDataType = '';
+ protected $dataType = 'Google_Service_Games_TurnBasedMatchData';
+ protected $dataDataType = '';
+ public $description;
+ public $inviterId;
+ public $kind;
+ protected $lastUpdateDetailsType = 'Google_Service_Games_TurnBasedMatchModification';
+ protected $lastUpdateDetailsDataType = '';
+ public $matchId;
+ public $matchNumber;
+ public $matchVersion;
+ protected $participantsType = 'Google_Service_Games_TurnBasedMatchParticipant';
+ protected $participantsDataType = 'array';
+ public $pendingParticipantId;
+ protected $previousMatchDataType = 'Google_Service_Games_TurnBasedMatchData';
+ protected $previousMatchDataDataType = '';
+ public $rematchId;
+ protected $resultsType = '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(Google_Service_Games_TurnBasedAutoMatchingCriteria $autoMatchingCriteria)
+ {
+ $this->autoMatchingCriteria = $autoMatchingCriteria;
+ }
+ public function getAutoMatchingCriteria()
+ {
+ return $this->autoMatchingCriteria;
+ }
+ public function setCreationDetails(Google_Service_Games_TurnBasedMatchModification $creationDetails)
+ {
+ $this->creationDetails = $creationDetails;
+ }
+ public function getCreationDetails()
+ {
+ return $this->creationDetails;
+ }
+ public function setData(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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchCreateRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchCreateRequest.php
new file mode 100644
index 00000000..78b2f573
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchCreateRequest.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_TurnBasedMatchCreateRequest extends Google_Collection
+{
+ protected $collection_key = 'invitedPlayerIds';
+ protected $autoMatchingCriteriaType = 'Google_Service_Games_TurnBasedAutoMatchingCriteria';
+ protected $autoMatchingCriteriaDataType = '';
+ public $invitedPlayerIds;
+ public $kind;
+ public $requestId;
+ public $variant;
+
+ public function setAutoMatchingCriteria(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchData.php
new file mode 100644
index 00000000..862fcdf3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchData.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_TurnBasedMatchData extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchDataRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchDataRequest.php
new file mode 100644
index 00000000..2d814062
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchDataRequest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_TurnBasedMatchDataRequest extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchList.php
new file mode 100644
index 00000000..cbfa1dc1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchList.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_TurnBasedMatchList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchModification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchModification.php
new file mode 100644
index 00000000..91dcea69
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchModification.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_TurnBasedMatchModification extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchParticipant.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchParticipant.php
new file mode 100644
index 00000000..4bd859aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchParticipant.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_TurnBasedMatchParticipant extends Google_Model
+{
+ public $autoMatched;
+ protected $autoMatchedPlayerType = 'Google_Service_Games_AnonymousPlayer';
+ protected $autoMatchedPlayerDataType = '';
+ public $id;
+ public $kind;
+ protected $playerType = 'Google_Service_Games_Player';
+ protected $playerDataType = '';
+ public $status;
+
+ public function setAutoMatched($autoMatched)
+ {
+ $this->autoMatched = $autoMatched;
+ }
+ public function getAutoMatched()
+ {
+ return $this->autoMatched;
+ }
+ public function setAutoMatchedPlayer(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchRematch.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchRematch.php
new file mode 100644
index 00000000..bae80ea7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchRematch.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_TurnBasedMatchRematch extends Google_Model
+{
+ public $kind;
+ protected $previousMatchType = 'Google_Service_Games_TurnBasedMatch';
+ protected $previousMatchDataType = '';
+ protected $rematchType = 'Google_Service_Games_TurnBasedMatch';
+ protected $rematchDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPreviousMatch(Google_Service_Games_TurnBasedMatch $previousMatch)
+ {
+ $this->previousMatch = $previousMatch;
+ }
+ public function getPreviousMatch()
+ {
+ return $this->previousMatch;
+ }
+ public function setRematch(Google_Service_Games_TurnBasedMatch $rematch)
+ {
+ $this->rematch = $rematch;
+ }
+ public function getRematch()
+ {
+ return $this->rematch;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchResults.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchResults.php
new file mode 100644
index 00000000..bc497bdd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchResults.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_TurnBasedMatchResults extends Google_Collection
+{
+ protected $collection_key = 'results';
+ protected $dataType = 'Google_Service_Games_TurnBasedMatchDataRequest';
+ protected $dataDataType = '';
+ public $kind;
+ public $matchVersion;
+ protected $resultsType = 'Google_Service_Games_ParticipantResult';
+ protected $resultsDataType = 'array';
+
+ public function setData(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchSync.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchSync.php
new file mode 100644
index 00000000..466e036a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchSync.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_TurnBasedMatchSync extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchTurn.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchTurn.php
new file mode 100644
index 00000000..fcc0f31a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchTurn.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Games_TurnBasedMatchTurn extends Google_Collection
+{
+ protected $collection_key = 'results';
+ protected $dataType = 'Google_Service_Games_TurnBasedMatchDataRequest';
+ protected $dataDataType = '';
+ public $kind;
+ public $matchVersion;
+ public $pendingParticipantId;
+ protected $resultsType = 'Google_Service_Games_ParticipantResult';
+ protected $resultsDataType = 'array';
+
+ public function setData(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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration.php
new file mode 100644
index 00000000..178aac3a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration.php
@@ -0,0 +1,236 @@
+<?php
+/*
+ * Copyright 2016 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 GamesConfiguration (v1configuration).
+ *
+ * <p>
+ * The Publishing 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 Google_Service_GamesConfiguration extends Google_Service
+{
+ /** View and manage your Google Play Developer account. */
+ const ANDROIDPUBLISHER =
+ "https://www.googleapis.com/auth/androidpublisher";
+
+ public $achievementConfigurations;
+ public $imageConfigurations;
+ public $leaderboardConfigurations;
+
+ /**
+ * Constructs the internal representation of the GamesConfiguration service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'games/v1configuration/';
+ $this->version = 'v1configuration';
+ $this->serviceName = 'gamesConfiguration';
+
+ $this->achievementConfigurations = new Google_Service_GamesConfiguration_Resource_AchievementConfigurations(
+ $this,
+ $this->serviceName,
+ 'achievementConfigurations',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'achievements/{achievementId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'achievementId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'achievements/{achievementId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'achievementId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'applications/{applicationId}/achievements',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'applicationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'applications/{applicationId}/achievements',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'applicationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'achievements/{achievementId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'achievementId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'achievements/{achievementId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'achievementId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->imageConfigurations = new Google_Service_GamesConfiguration_Resource_ImageConfigurations(
+ $this,
+ $this->serviceName,
+ 'imageConfigurations',
+ array(
+ 'methods' => array(
+ 'upload' => array(
+ 'path' => 'images/{resourceId}/imageType/{imageType}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'imageType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->leaderboardConfigurations = new Google_Service_GamesConfiguration_Resource_LeaderboardConfigurations(
+ $this,
+ $this->serviceName,
+ 'leaderboardConfigurations',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'leaderboards/{leaderboardId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'leaderboardId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'leaderboards/{leaderboardId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'leaderboardId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'applications/{applicationId}/leaderboards',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'applicationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'applications/{applicationId}/leaderboards',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'applicationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'leaderboards/{leaderboardId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'leaderboardId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'leaderboards/{leaderboardId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'leaderboardId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfiguration.php
new file mode 100644
index 00000000..4c5fb6b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfiguration.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesConfiguration_AchievementConfiguration extends Google_Model
+{
+ public $achievementType;
+ protected $draftType = 'Google_Service_GamesConfiguration_AchievementConfigurationDetail';
+ protected $draftDataType = '';
+ public $id;
+ public $initialState;
+ public $kind;
+ protected $publishedType = 'Google_Service_GamesConfiguration_AchievementConfigurationDetail';
+ protected $publishedDataType = '';
+ public $stepsToUnlock;
+ public $token;
+
+ public function setAchievementType($achievementType)
+ {
+ $this->achievementType = $achievementType;
+ }
+ public function getAchievementType()
+ {
+ return $this->achievementType;
+ }
+ public function setDraft(Google_Service_GamesConfiguration_AchievementConfigurationDetail $draft)
+ {
+ $this->draft = $draft;
+ }
+ public function getDraft()
+ {
+ return $this->draft;
+ }
+ 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 setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPublished(Google_Service_GamesConfiguration_AchievementConfigurationDetail $published)
+ {
+ $this->published = $published;
+ }
+ public function getPublished()
+ {
+ return $this->published;
+ }
+ public function setStepsToUnlock($stepsToUnlock)
+ {
+ $this->stepsToUnlock = $stepsToUnlock;
+ }
+ public function getStepsToUnlock()
+ {
+ return $this->stepsToUnlock;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfigurationDetail.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfigurationDetail.php
new file mode 100644
index 00000000..ef8e09ae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfigurationDetail.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesConfiguration_AchievementConfigurationDetail extends Google_Model
+{
+ protected $descriptionType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $descriptionDataType = '';
+ public $iconUrl;
+ public $kind;
+ protected $nameType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $nameDataType = '';
+ public $pointValue;
+ public $sortRank;
+
+ public function setDescription(Google_Service_GamesConfiguration_LocalizedStringBundle $description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setIconUrl($iconUrl)
+ {
+ $this->iconUrl = $iconUrl;
+ }
+ public function getIconUrl()
+ {
+ return $this->iconUrl;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName(Google_Service_GamesConfiguration_LocalizedStringBundle $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPointValue($pointValue)
+ {
+ $this->pointValue = $pointValue;
+ }
+ public function getPointValue()
+ {
+ return $this->pointValue;
+ }
+ public function setSortRank($sortRank)
+ {
+ $this->sortRank = $sortRank;
+ }
+ public function getSortRank()
+ {
+ return $this->sortRank;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfigurationListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfigurationListResponse.php
new file mode 100644
index 00000000..75c92b97
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfigurationListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesConfiguration_AchievementConfigurationListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_GamesConfiguration_AchievementConfiguration';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/GamesNumberAffixConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/GamesNumberAffixConfiguration.php
new file mode 100644
index 00000000..8612a82f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/GamesNumberAffixConfiguration.php
@@ -0,0 +1,81 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesConfiguration_GamesNumberAffixConfiguration extends Google_Model
+{
+ protected $fewType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $fewDataType = '';
+ protected $manyType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $manyDataType = '';
+ protected $oneType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $oneDataType = '';
+ protected $otherType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $otherDataType = '';
+ protected $twoType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $twoDataType = '';
+ protected $zeroType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $zeroDataType = '';
+
+ public function setFew(Google_Service_GamesConfiguration_LocalizedStringBundle $few)
+ {
+ $this->few = $few;
+ }
+ public function getFew()
+ {
+ return $this->few;
+ }
+ public function setMany(Google_Service_GamesConfiguration_LocalizedStringBundle $many)
+ {
+ $this->many = $many;
+ }
+ public function getMany()
+ {
+ return $this->many;
+ }
+ public function setOne(Google_Service_GamesConfiguration_LocalizedStringBundle $one)
+ {
+ $this->one = $one;
+ }
+ public function getOne()
+ {
+ return $this->one;
+ }
+ public function setOther(Google_Service_GamesConfiguration_LocalizedStringBundle $other)
+ {
+ $this->other = $other;
+ }
+ public function getOther()
+ {
+ return $this->other;
+ }
+ public function setTwo(Google_Service_GamesConfiguration_LocalizedStringBundle $two)
+ {
+ $this->two = $two;
+ }
+ public function getTwo()
+ {
+ return $this->two;
+ }
+ public function setZero(Google_Service_GamesConfiguration_LocalizedStringBundle $zero)
+ {
+ $this->zero = $zero;
+ }
+ public function getZero()
+ {
+ return $this->zero;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/GamesNumberFormatConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/GamesNumberFormatConfiguration.php
new file mode 100644
index 00000000..fc047dec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/GamesNumberFormatConfiguration.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesConfiguration_GamesNumberFormatConfiguration extends Google_Model
+{
+ public $currencyCode;
+ public $numDecimalPlaces;
+ public $numberFormatType;
+ protected $suffixType = 'Google_Service_GamesConfiguration_GamesNumberAffixConfiguration';
+ protected $suffixDataType = '';
+
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+ public function setNumDecimalPlaces($numDecimalPlaces)
+ {
+ $this->numDecimalPlaces = $numDecimalPlaces;
+ }
+ public function getNumDecimalPlaces()
+ {
+ return $this->numDecimalPlaces;
+ }
+ public function setNumberFormatType($numberFormatType)
+ {
+ $this->numberFormatType = $numberFormatType;
+ }
+ public function getNumberFormatType()
+ {
+ return $this->numberFormatType;
+ }
+ public function setSuffix(Google_Service_GamesConfiguration_GamesNumberAffixConfiguration $suffix)
+ {
+ $this->suffix = $suffix;
+ }
+ public function getSuffix()
+ {
+ return $this->suffix;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/ImageConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/ImageConfiguration.php
new file mode 100644
index 00000000..f2c7a72b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/ImageConfiguration.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesConfiguration_ImageConfiguration extends Google_Model
+{
+ public $imageType;
+ public $kind;
+ public $resourceId;
+ public $url;
+
+ public function setImageType($imageType)
+ {
+ $this->imageType = $imageType;
+ }
+ public function getImageType()
+ {
+ return $this->imageType;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setResourceId($resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfiguration.php
new file mode 100644
index 00000000..92a465d4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfiguration.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesConfiguration_LeaderboardConfiguration extends Google_Model
+{
+ protected $draftType = 'Google_Service_GamesConfiguration_LeaderboardConfigurationDetail';
+ protected $draftDataType = '';
+ public $id;
+ public $kind;
+ protected $publishedType = 'Google_Service_GamesConfiguration_LeaderboardConfigurationDetail';
+ protected $publishedDataType = '';
+ public $scoreMax;
+ public $scoreMin;
+ public $scoreOrder;
+ public $token;
+
+ public function setDraft(Google_Service_GamesConfiguration_LeaderboardConfigurationDetail $draft)
+ {
+ $this->draft = $draft;
+ }
+ public function getDraft()
+ {
+ return $this->draft;
+ }
+ 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(Google_Service_GamesConfiguration_LeaderboardConfigurationDetail $published)
+ {
+ $this->published = $published;
+ }
+ public function getPublished()
+ {
+ return $this->published;
+ }
+ public function setScoreMax($scoreMax)
+ {
+ $this->scoreMax = $scoreMax;
+ }
+ public function getScoreMax()
+ {
+ return $this->scoreMax;
+ }
+ public function setScoreMin($scoreMin)
+ {
+ $this->scoreMin = $scoreMin;
+ }
+ public function getScoreMin()
+ {
+ return $this->scoreMin;
+ }
+ public function setScoreOrder($scoreOrder)
+ {
+ $this->scoreOrder = $scoreOrder;
+ }
+ public function getScoreOrder()
+ {
+ return $this->scoreOrder;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfigurationDetail.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfigurationDetail.php
new file mode 100644
index 00000000..461aa34c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfigurationDetail.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesConfiguration_LeaderboardConfigurationDetail extends Google_Model
+{
+ public $iconUrl;
+ public $kind;
+ protected $nameType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $nameDataType = '';
+ protected $scoreFormatType = 'Google_Service_GamesConfiguration_GamesNumberFormatConfiguration';
+ protected $scoreFormatDataType = '';
+ public $sortRank;
+
+ public function setIconUrl($iconUrl)
+ {
+ $this->iconUrl = $iconUrl;
+ }
+ public function getIconUrl()
+ {
+ return $this->iconUrl;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName(Google_Service_GamesConfiguration_LocalizedStringBundle $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setScoreFormat(Google_Service_GamesConfiguration_GamesNumberFormatConfiguration $scoreFormat)
+ {
+ $this->scoreFormat = $scoreFormat;
+ }
+ public function getScoreFormat()
+ {
+ return $this->scoreFormat;
+ }
+ public function setSortRank($sortRank)
+ {
+ $this->sortRank = $sortRank;
+ }
+ public function getSortRank()
+ {
+ return $this->sortRank;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfigurationListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfigurationListResponse.php
new file mode 100644
index 00000000..80f84741
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfigurationListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_GamesConfiguration_LeaderboardConfiguration';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedString.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedString.php
new file mode 100644
index 00000000..dae44eda
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedString.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesConfiguration_LocalizedString extends Google_Model
+{
+ public $kind;
+ public $locale;
+ public $value;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocale($locale)
+ {
+ $this->locale = $locale;
+ }
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedStringBundle.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedStringBundle.php
new file mode 100644
index 00000000..25f5999e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedStringBundle.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesConfiguration_LocalizedStringBundle extends Google_Collection
+{
+ protected $collection_key = 'translations';
+ public $kind;
+ protected $translationsType = 'Google_Service_GamesConfiguration_LocalizedString';
+ protected $translationsDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTranslations($translations)
+ {
+ $this->translations = $translations;
+ }
+ public function getTranslations()
+ {
+ return $this->translations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/AchievementConfigurations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/AchievementConfigurations.php
new file mode 100644
index 00000000..636dede6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/AchievementConfigurations.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "achievementConfigurations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesConfigurationService = new Google_Service_GamesConfiguration(...);
+ * $achievementConfigurations = $gamesConfigurationService->achievementConfigurations;
+ * </code>
+ */
+class Google_Service_GamesConfiguration_Resource_AchievementConfigurations extends Google_Service_Resource
+{
+ /**
+ * Delete the achievement configuration with the given ID.
+ * (achievementConfigurations.delete)
+ *
+ * @param string $achievementId The ID of the achievement used by this method.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($achievementId, $optParams = array())
+ {
+ $params = array('achievementId' => $achievementId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves the metadata of the achievement configuration with the given ID.
+ * (achievementConfigurations.get)
+ *
+ * @param string $achievementId The ID of the achievement used by this method.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_AchievementConfiguration
+ */
+ public function get($achievementId, $optParams = array())
+ {
+ $params = array('achievementId' => $achievementId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");
+ }
+ /**
+ * Insert a new achievement configuration in this application.
+ * (achievementConfigurations.insert)
+ *
+ * @param string $applicationId The application ID from the Google Play
+ * developer console.
+ * @param Google_Service_GamesConfiguration_AchievementConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_AchievementConfiguration
+ */
+ public function insert($applicationId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array())
+ {
+ $params = array('applicationId' => $applicationId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");
+ }
+ /**
+ * Returns a list of the achievement configurations in this application.
+ * (achievementConfigurations.listAchievementConfigurations)
+ *
+ * @param string $applicationId The application ID from the Google Play
+ * developer console.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults The maximum number of resource configurations to
+ * return in the response, used for paging. For any response, the actual number
+ * of resources returned may be less than the specified maxResults.
+ * @opt_param string pageToken The token returned by the previous request.
+ * @return Google_Service_GamesConfiguration_AchievementConfigurationListResponse
+ */
+ public function listAchievementConfigurations($applicationId, $optParams = array())
+ {
+ $params = array('applicationId' => $applicationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_GamesConfiguration_AchievementConfigurationListResponse");
+ }
+ /**
+ * Update the metadata of the achievement configuration with the given ID. This
+ * method supports patch semantics. (achievementConfigurations.patch)
+ *
+ * @param string $achievementId The ID of the achievement used by this method.
+ * @param Google_Service_GamesConfiguration_AchievementConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_AchievementConfiguration
+ */
+ public function patch($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array())
+ {
+ $params = array('achievementId' => $achievementId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");
+ }
+ /**
+ * Update the metadata of the achievement configuration with the given ID.
+ * (achievementConfigurations.update)
+ *
+ * @param string $achievementId The ID of the achievement used by this method.
+ * @param Google_Service_GamesConfiguration_AchievementConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_AchievementConfiguration
+ */
+ public function update($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array())
+ {
+ $params = array('achievementId' => $achievementId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/ImageConfigurations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/ImageConfigurations.php
new file mode 100644
index 00000000..832febab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/ImageConfigurations.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "imageConfigurations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesConfigurationService = new Google_Service_GamesConfiguration(...);
+ * $imageConfigurations = $gamesConfigurationService->imageConfigurations;
+ * </code>
+ */
+class Google_Service_GamesConfiguration_Resource_ImageConfigurations extends Google_Service_Resource
+{
+ /**
+ * Uploads an image for a resource with the given ID and image type.
+ * (imageConfigurations.upload)
+ *
+ * @param string $resourceId The ID of the resource used by this method.
+ * @param string $imageType Selects which image in a resource for this method.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_ImageConfiguration
+ */
+ public function upload($resourceId, $imageType, $optParams = array())
+ {
+ $params = array('resourceId' => $resourceId, 'imageType' => $imageType);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_GamesConfiguration_ImageConfiguration");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/LeaderboardConfigurations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/LeaderboardConfigurations.php
new file mode 100644
index 00000000..469f653e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/LeaderboardConfigurations.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "leaderboardConfigurations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesConfigurationService = new Google_Service_GamesConfiguration(...);
+ * $leaderboardConfigurations = $gamesConfigurationService->leaderboardConfigurations;
+ * </code>
+ */
+class Google_Service_GamesConfiguration_Resource_LeaderboardConfigurations extends Google_Service_Resource
+{
+ /**
+ * Delete the leaderboard configuration with the given ID.
+ * (leaderboardConfigurations.delete)
+ *
+ * @param string $leaderboardId The ID of the leaderboard.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($leaderboardId, $optParams = array())
+ {
+ $params = array('leaderboardId' => $leaderboardId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves the metadata of the leaderboard configuration with the given ID.
+ * (leaderboardConfigurations.get)
+ *
+ * @param string $leaderboardId The ID of the leaderboard.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_LeaderboardConfiguration
+ */
+ public function get($leaderboardId, $optParams = array())
+ {
+ $params = array('leaderboardId' => $leaderboardId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration");
+ }
+ /**
+ * Insert a new leaderboard configuration in this application.
+ * (leaderboardConfigurations.insert)
+ *
+ * @param string $applicationId The application ID from the Google Play
+ * developer console.
+ * @param Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_LeaderboardConfiguration
+ */
+ public function insert($applicationId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array())
+ {
+ $params = array('applicationId' => $applicationId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration");
+ }
+ /**
+ * Returns a list of the leaderboard configurations in this application.
+ * (leaderboardConfigurations.listLeaderboardConfigurations)
+ *
+ * @param string $applicationId The application ID from the Google Play
+ * developer console.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults The maximum number of resource configurations to
+ * return in the response, used for paging. For any response, the actual number
+ * of resources returned may be less than the specified maxResults.
+ * @opt_param string pageToken The token returned by the previous request.
+ * @return Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse
+ */
+ public function listLeaderboardConfigurations($applicationId, $optParams = array())
+ {
+ $params = array('applicationId' => $applicationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse");
+ }
+ /**
+ * Update the metadata of the leaderboard configuration with the given ID. This
+ * method supports patch semantics. (leaderboardConfigurations.patch)
+ *
+ * @param string $leaderboardId The ID of the leaderboard.
+ * @param Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_LeaderboardConfiguration
+ */
+ public function patch($leaderboardId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array())
+ {
+ $params = array('leaderboardId' => $leaderboardId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration");
+ }
+ /**
+ * Update the metadata of the leaderboard configuration with the given ID.
+ * (leaderboardConfigurations.update)
+ *
+ * @param string $leaderboardId The ID of the leaderboard.
+ * @param Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_LeaderboardConfiguration
+ */
+ public function update($leaderboardId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array())
+ {
+ $params = array('leaderboardId' => $leaderboardId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement.php
new file mode 100644
index 00000000..404fe207
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement.php
@@ -0,0 +1,335 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement extends Google_Service
+{
+ /** Share your Google+ profile information and view and manage your game activity. */
+ const GAMES =
+ "https://www.googleapis.com/auth/games";
+ /** Know the list of people in your circles, your age range, and language. */
+ 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'games/v1management/';
+ $this->version = 'v1management';
+ $this->serviceName = 'gamesManagement';
+
+ $this->achievements = new Google_Service_GamesManagement_Resource_Achievements(
+ $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 Google_Service_GamesManagement_Resource_Applications(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->events = new Google_Service_GamesManagement_Resource_Events(
+ $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 Google_Service_GamesManagement_Resource_Players(
+ $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 Google_Service_GamesManagement_Resource_Quests(
+ $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 Google_Service_GamesManagement_Resource_Rooms(
+ $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 Google_Service_GamesManagement_Resource_Scores(
+ $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 Google_Service_GamesManagement_Resource_TurnBasedMatches(
+ $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(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetAllResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetAllResponse.php
new file mode 100644
index 00000000..d40fa941
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetAllResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement_AchievementResetAllResponse extends Google_Collection
+{
+ protected $collection_key = 'results';
+ public $kind;
+ protected $resultsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetMultipleForAllRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetMultipleForAllRequest.php
new file mode 100644
index 00000000..a34e9d5d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetMultipleForAllRequest.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement_AchievementResetMultipleForAllRequest extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetResponse.php
new file mode 100644
index 00000000..492d45bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetResponse.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement_AchievementResetResponse extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/EventsResetMultipleForAllRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/EventsResetMultipleForAllRequest.php
new file mode 100644
index 00000000..77f7b8c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/EventsResetMultipleForAllRequest.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement_EventsResetMultipleForAllRequest extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayedResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayedResource.php
new file mode 100644
index 00000000..f2fadb36
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayedResource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement_GamesPlayedResource extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayerExperienceInfoResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayerExperienceInfoResource.php
new file mode 100644
index 00000000..1f5f367f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayerExperienceInfoResource.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement_GamesPlayerExperienceInfoResource extends Google_Model
+{
+ public $currentExperiencePoints;
+ protected $currentLevelType = 'Google_Service_GamesManagement_GamesPlayerLevelResource';
+ protected $currentLevelDataType = '';
+ public $lastLevelUpTimestampMillis;
+ protected $nextLevelType = 'Google_Service_GamesManagement_GamesPlayerLevelResource';
+ protected $nextLevelDataType = '';
+
+ public function setCurrentExperiencePoints($currentExperiencePoints)
+ {
+ $this->currentExperiencePoints = $currentExperiencePoints;
+ }
+ public function getCurrentExperiencePoints()
+ {
+ return $this->currentExperiencePoints;
+ }
+ public function setCurrentLevel(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(Google_Service_GamesManagement_GamesPlayerLevelResource $nextLevel)
+ {
+ $this->nextLevel = $nextLevel;
+ }
+ public function getNextLevel()
+ {
+ return $this->nextLevel;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayerLevelResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayerLevelResource.php
new file mode 100644
index 00000000..418fffe1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayerLevelResource.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement_GamesPlayerLevelResource extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/HiddenPlayer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/HiddenPlayer.php
new file mode 100644
index 00000000..aeb11414
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/HiddenPlayer.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement_HiddenPlayer extends Google_Model
+{
+ public $hiddenTimeMillis;
+ public $kind;
+ protected $playerType = '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(Google_Service_GamesManagement_Player $player)
+ {
+ $this->player = $player;
+ }
+ public function getPlayer()
+ {
+ return $this->player;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/HiddenPlayerList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/HiddenPlayerList.php
new file mode 100644
index 00000000..f765dee9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/HiddenPlayerList.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement_HiddenPlayerList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Player.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Player.php
new file mode 100644
index 00000000..d05586b3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Player.php
@@ -0,0 +1,133 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement_Player extends Google_Model
+{
+ public $avatarImageUrl;
+ public $bannerUrlLandscape;
+ public $bannerUrlPortrait;
+ public $displayName;
+ protected $experienceInfoType = 'Google_Service_GamesManagement_GamesPlayerExperienceInfoResource';
+ protected $experienceInfoDataType = '';
+ public $kind;
+ protected $lastPlayedWithType = 'Google_Service_GamesManagement_GamesPlayedResource';
+ protected $lastPlayedWithDataType = '';
+ protected $nameType = 'Google_Service_GamesManagement_PlayerName';
+ protected $nameDataType = '';
+ public $originalPlayerId;
+ public $playerId;
+ protected $profileSettingsType = 'Google_Service_GamesManagement_ProfileSettings';
+ protected $profileSettingsDataType = '';
+ public $title;
+
+ public function setAvatarImageUrl($avatarImageUrl)
+ {
+ $this->avatarImageUrl = $avatarImageUrl;
+ }
+ public function getAvatarImageUrl()
+ {
+ return $this->avatarImageUrl;
+ }
+ public function setBannerUrlLandscape($bannerUrlLandscape)
+ {
+ $this->bannerUrlLandscape = $bannerUrlLandscape;
+ }
+ public function getBannerUrlLandscape()
+ {
+ return $this->bannerUrlLandscape;
+ }
+ public function setBannerUrlPortrait($bannerUrlPortrait)
+ {
+ $this->bannerUrlPortrait = $bannerUrlPortrait;
+ }
+ public function getBannerUrlPortrait()
+ {
+ return $this->bannerUrlPortrait;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setExperienceInfo(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(Google_Service_GamesManagement_GamesPlayedResource $lastPlayedWith)
+ {
+ $this->lastPlayedWith = $lastPlayedWith;
+ }
+ public function getLastPlayedWith()
+ {
+ return $this->lastPlayedWith;
+ }
+ public function setName(Google_Service_GamesManagement_PlayerName $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOriginalPlayerId($originalPlayerId)
+ {
+ $this->originalPlayerId = $originalPlayerId;
+ }
+ public function getOriginalPlayerId()
+ {
+ return $this->originalPlayerId;
+ }
+ public function setPlayerId($playerId)
+ {
+ $this->playerId = $playerId;
+ }
+ public function getPlayerId()
+ {
+ return $this->playerId;
+ }
+ public function setProfileSettings(Google_Service_GamesManagement_ProfileSettings $profileSettings)
+ {
+ $this->profileSettings = $profileSettings;
+ }
+ public function getProfileSettings()
+ {
+ return $this->profileSettings;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerName.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerName.php
new file mode 100644
index 00000000..b7dd909c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerName.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement_PlayerName extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerScoreResetAllResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerScoreResetAllResponse.php
new file mode 100644
index 00000000..f99b68b3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerScoreResetAllResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement_PlayerScoreResetAllResponse extends Google_Collection
+{
+ protected $collection_key = 'results';
+ public $kind;
+ protected $resultsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerScoreResetResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerScoreResetResponse.php
new file mode 100644
index 00000000..270b3f72
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerScoreResetResponse.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement_PlayerScoreResetResponse extends Google_Collection
+{
+ protected $collection_key = 'resetScoreTimeSpans';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/ProfileSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/ProfileSettings.php
new file mode 100644
index 00000000..4cfa2f5c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/ProfileSettings.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement_ProfileSettings extends Google_Model
+{
+ public $kind;
+ public $profileVisible;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProfileVisible($profileVisible)
+ {
+ $this->profileVisible = $profileVisible;
+ }
+ public function getProfileVisible()
+ {
+ return $this->profileVisible;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/QuestsResetMultipleForAllRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/QuestsResetMultipleForAllRequest.php
new file mode 100644
index 00000000..6a4fa81f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/QuestsResetMultipleForAllRequest.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement_QuestsResetMultipleForAllRequest extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Achievements.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Achievements.php
new file mode 100644
index 00000000..70ac90ee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Achievements.php
@@ -0,0 +1,98 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "achievements" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesManagementService = new Google_Service_GamesManagement(...);
+ * $achievements = $gamesManagementService->achievements;
+ * </code>
+ */
+class Google_Service_GamesManagement_Resource_Achievements extends 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 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), "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 Google_Service_GamesManagement_AchievementResetAllResponse
+ */
+ public function resetAll($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('resetAll', array($params), "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 Google_Service_GamesManagement_AchievementResetMultipleForAllRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function resetMultipleForAllPlayers(Google_Service_GamesManagement_AchievementResetMultipleForAllRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetMultipleForAllPlayers', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Applications.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Applications.php
new file mode 100644
index 00000000..2f53a34e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Applications.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "applications" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesManagementService = new Google_Service_GamesManagement(...);
+ * $applications = $gamesManagementService->applications;
+ * </code>
+ */
+class Google_Service_GamesManagement_Resource_Applications extends 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 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 pageToken The token returned by the previous request.
+ * @return 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), "Google_Service_GamesManagement_HiddenPlayerList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Events.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Events.php
new file mode 100644
index 00000000..aafa71b6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Events.php
@@ -0,0 +1,100 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "events" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesManagementService = new Google_Service_GamesManagement(...);
+ * $events = $gamesManagementService->events;
+ * </code>
+ */
+class Google_Service_GamesManagement_Resource_Events extends 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 Google_Service_GamesManagement_EventsResetMultipleForAllRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function resetMultipleForAllPlayers(Google_Service_GamesManagement_EventsResetMultipleForAllRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetMultipleForAllPlayers', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Players.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Players.php
new file mode 100644
index 00000000..fe9493ba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Players.php
@@ -0,0 +1,62 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "players" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesManagementService = new Google_Service_GamesManagement(...);
+ * $players = $gamesManagementService->players;
+ * </code>
+ */
+class Google_Service_GamesManagement_Resource_Players extends 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));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Quests.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Quests.php
new file mode 100644
index 00000000..7789daf6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Quests.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "quests" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesManagementService = new Google_Service_GamesManagement(...);
+ * $quests = $gamesManagementService->quests;
+ * </code>
+ */
+class Google_Service_GamesManagement_Resource_Quests extends 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 Google_Service_GamesManagement_QuestsResetMultipleForAllRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function resetMultipleForAllPlayers(Google_Service_GamesManagement_QuestsResetMultipleForAllRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetMultipleForAllPlayers', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Rooms.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Rooms.php
new file mode 100644
index 00000000..bb5f0c3f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Rooms.php
@@ -0,0 +1,54 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "rooms" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesManagementService = new Google_Service_GamesManagement(...);
+ * $rooms = $gamesManagementService->rooms;
+ * </code>
+ */
+class Google_Service_GamesManagement_Resource_Rooms extends 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));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Scores.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Scores.php
new file mode 100644
index 00000000..caff3905
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Scores.php
@@ -0,0 +1,98 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "scores" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesManagementService = new Google_Service_GamesManagement(...);
+ * $scores = $gamesManagementService->scores;
+ * </code>
+ */
+class Google_Service_GamesManagement_Resource_Scores extends 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 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), "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 Google_Service_GamesManagement_PlayerScoreResetAllResponse
+ */
+ public function resetAll($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('resetAll', array($params), "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 Google_Service_GamesManagement_ScoresResetMultipleForAllRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function resetMultipleForAllPlayers(Google_Service_GamesManagement_ScoresResetMultipleForAllRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetMultipleForAllPlayers', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/TurnBasedMatches.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/TurnBasedMatches.php
new file mode 100644
index 00000000..62462f84
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/TurnBasedMatches.php
@@ -0,0 +1,54 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "turnBasedMatches" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesManagementService = new Google_Service_GamesManagement(...);
+ * $turnBasedMatches = $gamesManagementService->turnBasedMatches;
+ * </code>
+ */
+class Google_Service_GamesManagement_Resource_TurnBasedMatches extends 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));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/ScoresResetMultipleForAllRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/ScoresResetMultipleForAllRequest.php
new file mode 100644
index 00000000..7a34ab9b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/ScoresResetMultipleForAllRequest.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GamesManagement_ScoresResetMultipleForAllRequest extends 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics.php
new file mode 100644
index 00000000..1a3a6cb1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics.php
@@ -0,0 +1,720 @@
+<?php
+/*
+ * Copyright 2016 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 (v1).
+ *
+ * <p>
+ * Upload, process, query, and search Genomics data in the cloud.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/genomics" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Genomics extends Google_Service
+{
+ /** View and manage your data in Google BigQuery. */
+ const BIGQUERY =
+ "https://www.googleapis.com/auth/bigquery";
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** 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 $annotations;
+ public $annotationsets;
+ public $callsets;
+ public $datasets;
+ public $operations;
+ 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://genomics.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'genomics';
+
+ $this->annotations = new Google_Service_Genomics_Resource_Annotations(
+ $this,
+ $this->serviceName,
+ 'annotations',
+ array(
+ 'methods' => array(
+ 'batchCreate' => array(
+ 'path' => 'v1/annotations:batchCreate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'create' => array(
+ 'path' => 'v1/annotations',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'v1/annotations/{annotationId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'annotationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/annotations/{annotationId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'annotationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'v1/annotations/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'update' => array(
+ 'path' => 'v1/annotations/{annotationId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'annotationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->annotationsets = new Google_Service_Genomics_Resource_Annotationsets(
+ $this,
+ $this->serviceName,
+ 'annotationsets',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/annotationsets',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'v1/annotationsets/{annotationSetId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'annotationSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/annotationsets/{annotationSetId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'annotationSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'v1/annotationsets/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'update' => array(
+ 'path' => 'v1/annotationsets/{annotationSetId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'annotationSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->callsets = new Google_Service_Genomics_Resource_Callsets(
+ $this,
+ $this->serviceName,
+ 'callsets',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/callsets',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'v1/callsets/{callSetId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'callSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/callsets/{callSetId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'callSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/callsets/{callSetId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'callSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'v1/callsets/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->datasets = new Google_Service_Genomics_Resource_Datasets(
+ $this,
+ $this->serviceName,
+ 'datasets',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/datasets',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'v1/datasets/{datasetId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/datasets/{datasetId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => 'v1/{+resource}:getIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/datasets',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/datasets/{datasetId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => 'v1/{+resource}:setIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => 'v1/{+resource}:testIamPermissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'undelete' => array(
+ 'path' => 'v1/datasets/{datasetId}:undelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->operations = new Google_Service_Genomics_Resource_Operations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'v1/{+name}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->readgroupsets = new Google_Service_Genomics_Resource_Readgroupsets(
+ $this,
+ $this->serviceName,
+ 'readgroupsets',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'v1/readgroupsets/{readGroupSetId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'readGroupSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'export' => array(
+ 'path' => 'v1/readgroupsets/{readGroupSetId}:export',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'readGroupSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/readgroupsets/{readGroupSetId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'readGroupSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'import' => array(
+ 'path' => 'v1/readgroupsets:import',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'patch' => array(
+ 'path' => 'v1/readgroupsets/{readGroupSetId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'readGroupSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'v1/readgroupsets/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->readgroupsets_coveragebuckets = new Google_Service_Genomics_Resource_ReadgroupsetsCoveragebuckets(
+ $this,
+ $this->serviceName,
+ 'coveragebuckets',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1/readgroupsets/{readGroupSetId}/coveragebuckets',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'readGroupSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetBucketWidth' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'referenceName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'end' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reads = new Google_Service_Genomics_Resource_Reads(
+ $this,
+ $this->serviceName,
+ 'reads',
+ array(
+ 'methods' => array(
+ 'search' => array(
+ 'path' => 'v1/reads/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->references = new Google_Service_Genomics_Resource_References(
+ $this,
+ $this->serviceName,
+ 'references',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/references/{referenceId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'referenceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'v1/references/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->references_bases = new Google_Service_Genomics_Resource_ReferencesBases(
+ $this,
+ $this->serviceName,
+ 'bases',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1/references/{referenceId}/bases',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'referenceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'end' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->referencesets = new Google_Service_Genomics_Resource_Referencesets(
+ $this,
+ $this->serviceName,
+ 'referencesets',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/referencesets/{referenceSetId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'referenceSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'v1/referencesets/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->variants = new Google_Service_Genomics_Resource_Variants(
+ $this,
+ $this->serviceName,
+ 'variants',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/variants',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'v1/variants/{variantId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'variantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/variants/{variantId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'variantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'import' => array(
+ 'path' => 'v1/variants:import',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'merge' => array(
+ 'path' => 'v1/variants:merge',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'patch' => array(
+ 'path' => 'v1/variants/{variantId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'variantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'v1/variants/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->variantsets = new Google_Service_Genomics_Resource_Variantsets(
+ $this,
+ $this->serviceName,
+ 'variantsets',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/variantsets',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'v1/variantsets/{variantSetId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'variantSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'export' => array(
+ 'path' => 'v1/variantsets/{variantSetId}:export',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'variantSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/variantsets/{variantSetId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'variantSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/variantsets/{variantSetId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'variantSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'v1/variantsets/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Annotation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Annotation.php
new file mode 100644
index 00000000..bcecbebc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Annotation.php
@@ -0,0 +1,131 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_Annotation extends Google_Model
+{
+ public $annotationSetId;
+ public $end;
+ public $id;
+ public $info;
+ public $name;
+ public $referenceId;
+ public $referenceName;
+ public $reverseStrand;
+ public $start;
+ protected $transcriptType = 'Google_Service_Genomics_Transcript';
+ protected $transcriptDataType = '';
+ public $type;
+ protected $variantType = 'Google_Service_Genomics_VariantAnnotation';
+ protected $variantDataType = '';
+
+ public function setAnnotationSetId($annotationSetId)
+ {
+ $this->annotationSetId = $annotationSetId;
+ }
+ public function getAnnotationSetId()
+ {
+ return $this->annotationSetId;
+ }
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ 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 setReferenceId($referenceId)
+ {
+ $this->referenceId = $referenceId;
+ }
+ public function getReferenceId()
+ {
+ return $this->referenceId;
+ }
+ 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;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+ public function setTranscript(Google_Service_Genomics_Transcript $transcript)
+ {
+ $this->transcript = $transcript;
+ }
+ public function getTranscript()
+ {
+ return $this->transcript;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVariant(Google_Service_Genomics_VariantAnnotation $variant)
+ {
+ $this->variant = $variant;
+ }
+ public function getVariant()
+ {
+ return $this->variant;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/AnnotationSet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/AnnotationSet.php
new file mode 100644
index 00000000..10ae1c86
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/AnnotationSet.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_AnnotationSet extends Google_Model
+{
+ public $datasetId;
+ public $id;
+ public $info;
+ public $name;
+ public $referenceSetId;
+ public $sourceUri;
+ public $type;
+
+ 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 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 setReferenceSetId($referenceSetId)
+ {
+ $this->referenceSetId = $referenceSetId;
+ }
+ public function getReferenceSetId()
+ {
+ return $this->referenceSetId;
+ }
+ public function setSourceUri($sourceUri)
+ {
+ $this->sourceUri = $sourceUri;
+ }
+ public function getSourceUri()
+ {
+ return $this->sourceUri;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/BatchCreateAnnotationsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/BatchCreateAnnotationsRequest.php
new file mode 100644
index 00000000..3fed6c6e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/BatchCreateAnnotationsRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_BatchCreateAnnotationsRequest extends Google_Collection
+{
+ protected $collection_key = 'annotations';
+ protected $annotationsType = 'Google_Service_Genomics_Annotation';
+ protected $annotationsDataType = 'array';
+ public $requestId;
+
+ public function setAnnotations($annotations)
+ {
+ $this->annotations = $annotations;
+ }
+ public function getAnnotations()
+ {
+ return $this->annotations;
+ }
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/BatchCreateAnnotationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/BatchCreateAnnotationsResponse.php
new file mode 100644
index 00000000..16ea7662
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/BatchCreateAnnotationsResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_BatchCreateAnnotationsResponse extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_Genomics_Entry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Binding.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Binding.php
new file mode 100644
index 00000000..02d17028
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Binding.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_Binding extends Google_Collection
+{
+ protected $collection_key = 'members';
+ public $members;
+ public $role;
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CallSet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CallSet.php
new file mode 100644
index 00000000..db8abec6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CallSet.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_CallSet extends Google_Collection
+{
+ protected $collection_key = 'variantSetIds';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CancelOperationRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CancelOperationRequest.php
new file mode 100644
index 00000000..84f29698
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CancelOperationRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_CancelOperationRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CigarUnit.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CigarUnit.php
new file mode 100644
index 00000000..d6ead941
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CigarUnit.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_CigarUnit extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ClinicalCondition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ClinicalCondition.php
new file mode 100644
index 00000000..78387415
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ClinicalCondition.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ClinicalCondition extends Google_Collection
+{
+ protected $collection_key = 'names';
+ public $conceptId;
+ protected $externalIdsType = 'Google_Service_Genomics_ExternalId';
+ protected $externalIdsDataType = 'array';
+ public $names;
+ public $omimId;
+
+ public function setConceptId($conceptId)
+ {
+ $this->conceptId = $conceptId;
+ }
+ public function getConceptId()
+ {
+ return $this->conceptId;
+ }
+ public function setExternalIds($externalIds)
+ {
+ $this->externalIds = $externalIds;
+ }
+ public function getExternalIds()
+ {
+ return $this->externalIds;
+ }
+ public function setNames($names)
+ {
+ $this->names = $names;
+ }
+ public function getNames()
+ {
+ return $this->names;
+ }
+ public function setOmimId($omimId)
+ {
+ $this->omimId = $omimId;
+ }
+ public function getOmimId()
+ {
+ return $this->omimId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CodingSequence.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CodingSequence.php
new file mode 100644
index 00000000..38843a94
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CodingSequence.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_CodingSequence extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ComputeEngine.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ComputeEngine.php
new file mode 100644
index 00000000..a398d2dc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ComputeEngine.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ComputeEngine extends Google_Collection
+{
+ protected $collection_key = 'diskNames';
+ public $diskNames;
+ public $instanceName;
+ public $machineType;
+ public $zone;
+
+ public function setDiskNames($diskNames)
+ {
+ $this->diskNames = $diskNames;
+ }
+ public function getDiskNames()
+ {
+ return $this->diskNames;
+ }
+ public function setInstanceName($instanceName)
+ {
+ $this->instanceName = $instanceName;
+ }
+ public function getInstanceName()
+ {
+ return $this->instanceName;
+ }
+ public function setMachineType($machineType)
+ {
+ $this->machineType = $machineType;
+ }
+ public function getMachineType()
+ {
+ return $this->machineType;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CoverageBucket.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CoverageBucket.php
new file mode 100644
index 00000000..6486f45c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CoverageBucket.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_CoverageBucket extends Google_Model
+{
+ public $meanCoverage;
+ protected $rangeType = 'Google_Service_Genomics_Range';
+ protected $rangeDataType = '';
+
+ public function setMeanCoverage($meanCoverage)
+ {
+ $this->meanCoverage = $meanCoverage;
+ }
+ public function getMeanCoverage()
+ {
+ return $this->meanCoverage;
+ }
+ public function setRange(Google_Service_Genomics_Range $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Dataset.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Dataset.php
new file mode 100644
index 00000000..dee47e7f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Dataset.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_Dataset extends Google_Model
+{
+ public $createTime;
+ public $id;
+ public $name;
+ public $projectId;
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Entry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Entry.php
new file mode 100644
index 00000000..6556933e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Entry.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_Entry extends Google_Model
+{
+ protected $annotationType = 'Google_Service_Genomics_Annotation';
+ protected $annotationDataType = '';
+ protected $statusType = 'Google_Service_Genomics_Status';
+ protected $statusDataType = '';
+
+ public function setAnnotation(Google_Service_Genomics_Annotation $annotation)
+ {
+ $this->annotation = $annotation;
+ }
+ public function getAnnotation()
+ {
+ return $this->annotation;
+ }
+ public function setStatus(Google_Service_Genomics_Status $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Exon.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Exon.php
new file mode 100644
index 00000000..29366c9d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Exon.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_Exon extends Google_Model
+{
+ public $end;
+ public $frame;
+ public $start;
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setFrame($frame)
+ {
+ $this->frame = $frame;
+ }
+ public function getFrame()
+ {
+ return $this->frame;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Experiment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Experiment.php
new file mode 100644
index 00000000..cf21926c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Experiment.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_Experiment extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExportReadGroupSetRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExportReadGroupSetRequest.php
new file mode 100644
index 00000000..482a90e5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExportReadGroupSetRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ExportReadGroupSetRequest extends Google_Collection
+{
+ protected $collection_key = 'referenceNames';
+ public $exportUri;
+ public $projectId;
+ public $referenceNames;
+
+ public function setExportUri($exportUri)
+ {
+ $this->exportUri = $exportUri;
+ }
+ public function getExportUri()
+ {
+ return $this->exportUri;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setReferenceNames($referenceNames)
+ {
+ $this->referenceNames = $referenceNames;
+ }
+ public function getReferenceNames()
+ {
+ return $this->referenceNames;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExportVariantSetRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExportVariantSetRequest.php
new file mode 100644
index 00000000..214738c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExportVariantSetRequest.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ExportVariantSetRequest extends Google_Collection
+{
+ protected $collection_key = 'callSetIds';
+ public $bigqueryDataset;
+ public $bigqueryTable;
+ public $callSetIds;
+ public $format;
+ public $projectId;
+
+ 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 setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExternalId.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExternalId.php
new file mode 100644
index 00000000..5552e207
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExternalId.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ExternalId extends Google_Model
+{
+ public $id;
+ public $sourceName;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setSourceName($sourceName)
+ {
+ $this->sourceName = $sourceName;
+ }
+ public function getSourceName()
+ {
+ return $this->sourceName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/GenomicsEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/GenomicsEmpty.php
new file mode 100644
index 00000000..2bf2c603
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/GenomicsEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_GenomicsEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/GetIamPolicyRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/GetIamPolicyRequest.php
new file mode 100644
index 00000000..c2187c93
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/GetIamPolicyRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_GetIamPolicyRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportReadGroupSetsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportReadGroupSetsRequest.php
new file mode 100644
index 00000000..2183fb0f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportReadGroupSetsRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ImportReadGroupSetsRequest extends Google_Collection
+{
+ protected $collection_key = 'sourceUris';
+ public $datasetId;
+ public $partitionStrategy;
+ public $referenceSetId;
+ public $sourceUris;
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+ public function setPartitionStrategy($partitionStrategy)
+ {
+ $this->partitionStrategy = $partitionStrategy;
+ }
+ public function getPartitionStrategy()
+ {
+ return $this->partitionStrategy;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportReadGroupSetsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportReadGroupSetsResponse.php
new file mode 100644
index 00000000..2ee6cf5d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportReadGroupSetsResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ImportReadGroupSetsResponse extends Google_Collection
+{
+ protected $collection_key = 'readGroupSetIds';
+ public $readGroupSetIds;
+
+ public function setReadGroupSetIds($readGroupSetIds)
+ {
+ $this->readGroupSetIds = $readGroupSetIds;
+ }
+ public function getReadGroupSetIds()
+ {
+ return $this->readGroupSetIds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportVariantsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportVariantsRequest.php
new file mode 100644
index 00000000..d799ce1f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportVariantsRequest.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ImportVariantsRequest extends Google_Collection
+{
+ protected $collection_key = 'sourceUris';
+ public $format;
+ public $infoMergeConfig;
+ public $normalizeReferenceNames;
+ public $sourceUris;
+ public $variantSetId;
+
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setInfoMergeConfig($infoMergeConfig)
+ {
+ $this->infoMergeConfig = $infoMergeConfig;
+ }
+ public function getInfoMergeConfig()
+ {
+ return $this->infoMergeConfig;
+ }
+ public function setNormalizeReferenceNames($normalizeReferenceNames)
+ {
+ $this->normalizeReferenceNames = $normalizeReferenceNames;
+ }
+ public function getNormalizeReferenceNames()
+ {
+ return $this->normalizeReferenceNames;
+ }
+ public function setSourceUris($sourceUris)
+ {
+ $this->sourceUris = $sourceUris;
+ }
+ public function getSourceUris()
+ {
+ return $this->sourceUris;
+ }
+ public function setVariantSetId($variantSetId)
+ {
+ $this->variantSetId = $variantSetId;
+ }
+ public function getVariantSetId()
+ {
+ return $this->variantSetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportVariantsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportVariantsResponse.php
new file mode 100644
index 00000000..5ed64943
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportVariantsResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ImportVariantsResponse extends Google_Collection
+{
+ protected $collection_key = 'callSetIds';
+ public $callSetIds;
+
+ public function setCallSetIds($callSetIds)
+ {
+ $this->callSetIds = $callSetIds;
+ }
+ public function getCallSetIds()
+ {
+ return $this->callSetIds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/LinearAlignment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/LinearAlignment.php
new file mode 100644
index 00000000..a73aa5d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/LinearAlignment.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_LinearAlignment extends Google_Collection
+{
+ protected $collection_key = 'cigar';
+ protected $cigarType = 'Google_Service_Genomics_CigarUnit';
+ protected $cigarDataType = 'array';
+ public $mappingQuality;
+ protected $positionType = '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(Google_Service_Genomics_Position $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListBasesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListBasesResponse.php
new file mode 100644
index 00000000..5e6dda64
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListBasesResponse.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ListBasesResponse extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListCoverageBucketsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListCoverageBucketsResponse.php
new file mode 100644
index 00000000..2b98ca2e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListCoverageBucketsResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ListCoverageBucketsResponse extends Google_Collection
+{
+ protected $collection_key = 'coverageBuckets';
+ public $bucketWidth;
+ protected $coverageBucketsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListDatasetsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListDatasetsResponse.php
new file mode 100644
index 00000000..e4460911
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListDatasetsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ListDatasetsResponse extends Google_Collection
+{
+ protected $collection_key = 'datasets';
+ protected $datasetsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListOperationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListOperationsResponse.php
new file mode 100644
index 00000000..f96a1025
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListOperationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ListOperationsResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_Genomics_Operation';
+ protected $operationsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/MergeVariantsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/MergeVariantsRequest.php
new file mode 100644
index 00000000..06dad4b0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/MergeVariantsRequest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_MergeVariantsRequest extends Google_Collection
+{
+ protected $collection_key = 'variants';
+ public $infoMergeConfig;
+ public $variantSetId;
+ protected $variantsType = 'Google_Service_Genomics_Variant';
+ protected $variantsDataType = 'array';
+
+ public function setInfoMergeConfig($infoMergeConfig)
+ {
+ $this->infoMergeConfig = $infoMergeConfig;
+ }
+ public function getInfoMergeConfig()
+ {
+ return $this->infoMergeConfig;
+ }
+ public function setVariantSetId($variantSetId)
+ {
+ $this->variantSetId = $variantSetId;
+ }
+ public function getVariantSetId()
+ {
+ return $this->variantSetId;
+ }
+ public function setVariants($variants)
+ {
+ $this->variants = $variants;
+ }
+ public function getVariants()
+ {
+ return $this->variants;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Operation.php
new file mode 100644
index 00000000..1b28aa2c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Operation.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_Operation extends Google_Model
+{
+ public $done;
+ protected $errorType = 'Google_Service_Genomics_Status';
+ protected $errorDataType = '';
+ public $metadata;
+ public $name;
+ public $response;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_Genomics_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setMetadata($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 setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/OperationEvent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/OperationEvent.php
new file mode 100644
index 00000000..0c43648e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/OperationEvent.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_OperationEvent extends Google_Model
+{
+ public $description;
+ public $endTime;
+ public $startTime;
+
+ 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 setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/OperationMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/OperationMetadata.php
new file mode 100644
index 00000000..04268ac8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/OperationMetadata.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_OperationMetadata extends Google_Collection
+{
+ protected $collection_key = 'events';
+ public $clientId;
+ public $createTime;
+ public $endTime;
+ protected $eventsType = 'Google_Service_Genomics_OperationEvent';
+ protected $eventsDataType = 'array';
+ public $labels;
+ public $projectId;
+ public $request;
+ public $runtimeMetadata;
+ public $startTime;
+
+ public function setClientId($clientId)
+ {
+ $this->clientId = $clientId;
+ }
+ public function getClientId()
+ {
+ return $this->clientId;
+ }
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setEvents($events)
+ {
+ $this->events = $events;
+ }
+ public function getEvents()
+ {
+ return $this->events;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setRequest($request)
+ {
+ $this->request = $request;
+ }
+ public function getRequest()
+ {
+ return $this->request;
+ }
+ public function setRuntimeMetadata($runtimeMetadata)
+ {
+ $this->runtimeMetadata = $runtimeMetadata;
+ }
+ public function getRuntimeMetadata()
+ {
+ return $this->runtimeMetadata;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Policy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Policy.php
new file mode 100644
index 00000000..7228e7bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Policy.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_Policy extends Google_Collection
+{
+ protected $collection_key = 'bindings';
+ protected $bindingsType = 'Google_Service_Genomics_Binding';
+ protected $bindingsDataType = 'array';
+ public $etag;
+ public $version;
+
+ public function setBindings($bindings)
+ {
+ $this->bindings = $bindings;
+ }
+ public function getBindings()
+ {
+ return $this->bindings;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Position.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Position.php
new file mode 100644
index 00000000..98be9f87
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Position.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_Position extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Program.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Program.php
new file mode 100644
index 00000000..94438673
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Program.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_Program extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Range.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Range.php
new file mode 100644
index 00000000..04ca770b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Range.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_Range extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Read.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Read.php
new file mode 100644
index 00000000..99aa8d60
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Read.php
@@ -0,0 +1,177 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_Read extends Google_Collection
+{
+ protected $collection_key = 'alignedQuality';
+ public $alignedQuality;
+ public $alignedSequence;
+ protected $alignmentType = 'Google_Service_Genomics_LinearAlignment';
+ protected $alignmentDataType = '';
+ public $duplicateFragment;
+ public $failedVendorQualityChecks;
+ public $fragmentLength;
+ public $fragmentName;
+ public $id;
+ public $info;
+ protected $nextMatePositionType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReadGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReadGroup.php
new file mode 100644
index 00000000..aa63bd32
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReadGroup.php
@@ -0,0 +1,114 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ReadGroup extends Google_Collection
+{
+ protected $collection_key = 'programs';
+ public $datasetId;
+ public $description;
+ protected $experimentType = 'Google_Service_Genomics_Experiment';
+ protected $experimentDataType = '';
+ public $id;
+ public $info;
+ public $name;
+ public $predictedInsertSize;
+ protected $programsType = 'Google_Service_Genomics_Program';
+ 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(Google_Service_Genomics_Experiment $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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReadGroupSet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReadGroupSet.php
new file mode 100644
index 00000000..26d8871c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReadGroupSet.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ReadGroupSet extends Google_Collection
+{
+ protected $collection_key = 'readGroups';
+ public $datasetId;
+ public $filename;
+ public $id;
+ public $info;
+ public $name;
+ protected $readGroupsType = '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 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 setReadGroups($readGroups)
+ {
+ $this->readGroups = $readGroups;
+ }
+ public function getReadGroups()
+ {
+ return $this->readGroups;
+ }
+ public function setReferenceSetId($referenceSetId)
+ {
+ $this->referenceSetId = $referenceSetId;
+ }
+ public function getReferenceSetId()
+ {
+ return $this->referenceSetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Reference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Reference.php
new file mode 100644
index 00000000..c9184497
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Reference.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_Reference extends Google_Collection
+{
+ protected $collection_key = 'sourceAccessions';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReferenceBound.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReferenceBound.php
new file mode 100644
index 00000000..824d0c99
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReferenceBound.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ReferenceBound extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReferenceSet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReferenceSet.php
new file mode 100644
index 00000000..d52726f1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReferenceSet.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_ReferenceSet extends Google_Collection
+{
+ protected $collection_key = 'sourceAccessions';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Annotations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Annotations.php
new file mode 100644
index 00000000..04837db9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Annotations.php
@@ -0,0 +1,149 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "annotations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $annotations = $genomicsService->annotations;
+ * </code>
+ */
+class Google_Service_Genomics_Resource_Annotations extends Google_Service_Resource
+{
+ /**
+ * Creates one or more new annotations atomically. All annotations must belong
+ * to the same annotation set. Caller must have WRITE permission for this
+ * annotation set. For optimal performance, batch positionally adjacent
+ * annotations together.
+ *
+ * If the request has a systemic issue, such as an attempt to write to an
+ * inaccessible annotation set, the entire RPC will fail accordingly. For lesser
+ * data issues, when possible an error will be isolated to the corresponding
+ * batch entry in the response; the remaining well formed annotations will be
+ * created normally.
+ *
+ * For details on the requirements for each individual annotation resource, see
+ * CreateAnnotation. (annotations.batchCreate)
+ *
+ * @param Google_Service_Genomics_BatchCreateAnnotationsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_BatchCreateAnnotationsResponse
+ */
+ public function batchCreate(Google_Service_Genomics_BatchCreateAnnotationsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchCreate', array($params), "Google_Service_Genomics_BatchCreateAnnotationsResponse");
+ }
+ /**
+ * Creates a new annotation. Caller must have WRITE permission for the
+ * associated annotation set.
+ *
+ * The following fields are required:
+ *
+ * * annotationSetId * referenceName or referenceId
+ *
+ * ### Transcripts
+ *
+ * For annotations of type TRANSCRIPT, the following fields of transcript must
+ * be provided:
+ *
+ * * exons.start * exons.end
+ *
+ * All other fields may be optionally specified, unless documented as being
+ * server-generated (for example, the `id` field). The annotated range must be
+ * no longer than 100Mbp (mega base pairs). See the Annotation resource for
+ * additional restrictions on each field. (annotations.create)
+ *
+ * @param Google_Service_Genomics_Annotation $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Annotation
+ */
+ public function create(Google_Service_Genomics_Annotation $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_Annotation");
+ }
+ /**
+ * Deletes an annotation. Caller must have WRITE permission for the associated
+ * annotation set. (annotations.delete)
+ *
+ * @param string $annotationId The ID of the annotation to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_GenomicsEmpty
+ */
+ public function delete($annotationId, $optParams = array())
+ {
+ $params = array('annotationId' => $annotationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Genomics_GenomicsEmpty");
+ }
+ /**
+ * Gets an annotation. Caller must have READ permission for the associated
+ * annotation set. (annotations.get)
+ *
+ * @param string $annotationId The ID of the annotation to be retrieved.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Annotation
+ */
+ public function get($annotationId, $optParams = array())
+ {
+ $params = array('annotationId' => $annotationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Annotation");
+ }
+ /**
+ * Searches for annotations that match the given criteria. Results are ordered
+ * by genomic coordinate (by reference sequence, then position). Annotations
+ * with equivalent genomic coordinates are returned in an unspecified order.
+ * This order is consistent, such that two queries for the same content
+ * (regardless of page size) yield annotations in the same order across their
+ * respective streams of paginated responses. Caller must have READ permission
+ * for the queried annotation sets. (annotations.search)
+ *
+ * @param Google_Service_Genomics_SearchAnnotationsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchAnnotationsResponse
+ */
+ public function search(Google_Service_Genomics_SearchAnnotationsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchAnnotationsResponse");
+ }
+ /**
+ * Updates an annotation. Caller must have WRITE permission for the associated
+ * dataset. (annotations.update)
+ *
+ * @param string $annotationId The ID of the annotation to be updated.
+ * @param Google_Service_Genomics_Annotation $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask An optional mask specifying which fields to
+ * update. Mutable fields are name, variant, transcript, and info. If
+ * unspecified, all mutable fields will be updated.
+ * @return Google_Service_Genomics_Annotation
+ */
+ public function update($annotationId, Google_Service_Genomics_Annotation $postBody, $optParams = array())
+ {
+ $params = array('annotationId' => $annotationId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Genomics_Annotation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Annotationsets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Annotationsets.php
new file mode 100644
index 00000000..662715ab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Annotationsets.php
@@ -0,0 +1,116 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "annotationsets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $annotationsets = $genomicsService->annotationsets;
+ * </code>
+ */
+class Google_Service_Genomics_Resource_Annotationsets extends Google_Service_Resource
+{
+ /**
+ * Creates a new annotation set. Caller must have WRITE permission for the
+ * associated dataset.
+ *
+ * The following fields are required:
+ *
+ * * datasetId * referenceSetId
+ *
+ * All other fields may be optionally specified, unless documented as being
+ * server-generated (for example, the `id` field). (annotationsets.create)
+ *
+ * @param Google_Service_Genomics_AnnotationSet $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_AnnotationSet
+ */
+ public function create(Google_Service_Genomics_AnnotationSet $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_AnnotationSet");
+ }
+ /**
+ * Deletes an annotation set. Caller must have WRITE permission for the
+ * associated annotation set. (annotationsets.delete)
+ *
+ * @param string $annotationSetId The ID of the annotation set to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_GenomicsEmpty
+ */
+ public function delete($annotationSetId, $optParams = array())
+ {
+ $params = array('annotationSetId' => $annotationSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Genomics_GenomicsEmpty");
+ }
+ /**
+ * Gets an annotation set. Caller must have READ permission for the associated
+ * dataset. (annotationsets.get)
+ *
+ * @param string $annotationSetId The ID of the annotation set to be retrieved.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_AnnotationSet
+ */
+ public function get($annotationSetId, $optParams = array())
+ {
+ $params = array('annotationSetId' => $annotationSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_AnnotationSet");
+ }
+ /**
+ * Searches for annotation sets that match the given criteria. Annotation sets
+ * are returned in an unspecified order. This order is consistent, such that two
+ * queries for the same content (regardless of page size) yield annotation sets
+ * in the same order across their respective streams of paginated responses.
+ * Caller must have READ permission for the queried datasets.
+ * (annotationsets.search)
+ *
+ * @param Google_Service_Genomics_SearchAnnotationSetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchAnnotationSetsResponse
+ */
+ public function search(Google_Service_Genomics_SearchAnnotationSetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchAnnotationSetsResponse");
+ }
+ /**
+ * Updates an annotation set. The update must respect all mutability
+ * restrictions and other invariants described on the annotation set resource.
+ * Caller must have WRITE permission for the associated dataset.
+ * (annotationsets.update)
+ *
+ * @param string $annotationSetId The ID of the annotation set to be updated.
+ * @param Google_Service_Genomics_AnnotationSet $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask An optional mask specifying which fields to
+ * update. Mutable fields are name, source_uri, and info. If unspecified, all
+ * mutable fields will be updated.
+ * @return Google_Service_Genomics_AnnotationSet
+ */
+ public function update($annotationSetId, Google_Service_Genomics_AnnotationSet $postBody, $optParams = array())
+ {
+ $params = array('annotationSetId' => $annotationSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Genomics_AnnotationSet");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Callsets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Callsets.php
new file mode 100644
index 00000000..5d406429
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Callsets.php
@@ -0,0 +1,124 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "callsets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $callsets = $genomicsService->callsets;
+ * </code>
+ */
+class Google_Service_Genomics_Resource_Callsets extends Google_Service_Resource
+{
+ /**
+ * Creates a new call set.
+ *
+ * For the definitions of call sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (callsets.create)
+ *
+ * @param Google_Service_Genomics_CallSet $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_CallSet
+ */
+ public function create(Google_Service_Genomics_CallSet $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_CallSet");
+ }
+ /**
+ * Deletes a call set.
+ *
+ * For the definitions of call sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (callsets.delete)
+ *
+ * @param string $callSetId The ID of the call set to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_GenomicsEmpty
+ */
+ public function delete($callSetId, $optParams = array())
+ {
+ $params = array('callSetId' => $callSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Genomics_GenomicsEmpty");
+ }
+ /**
+ * Gets a call set by ID.
+ *
+ * For the definitions of call sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (callsets.get)
+ *
+ * @param string $callSetId The ID of the call set.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Genomics_CallSet");
+ }
+ /**
+ * Updates a call set.
+ *
+ * For the definitions of call sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * This method supports patch semantics. (callsets.patch)
+ *
+ * @param string $callSetId The ID of the call set to be updated.
+ * @param Google_Service_Genomics_CallSet $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask An optional mask specifying which fields to
+ * update. At this time, the only mutable field is name. The only acceptable
+ * value is "name". If unspecified, all mutable fields will be updated.
+ * @return Google_Service_Genomics_CallSet
+ */
+ public function patch($callSetId, Google_Service_Genomics_CallSet $postBody, $optParams = array())
+ {
+ $params = array('callSetId' => $callSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Genomics_CallSet");
+ }
+ /**
+ * Gets a list of call sets matching the criteria.
+ *
+ * For the definitions of call sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * Implements [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schema
+ * s/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178).
+ * (callsets.search)
+ *
+ * @param Google_Service_Genomics_SearchCallSetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchCallSetsResponse
+ */
+ public function search(Google_Service_Genomics_SearchCallSetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchCallSetsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Datasets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Datasets.php
new file mode 100644
index 00000000..f989c1f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Datasets.php
@@ -0,0 +1,214 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "datasets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $datasets = $genomicsService->datasets;
+ * </code>
+ */
+class Google_Service_Genomics_Resource_Datasets extends Google_Service_Resource
+{
+ /**
+ * Creates a new dataset.
+ *
+ * For the definitions of datasets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (datasets.create)
+ *
+ * @param Google_Service_Genomics_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Dataset
+ */
+ public function create(Google_Service_Genomics_Dataset $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_Dataset");
+ }
+ /**
+ * Deletes a dataset and all of its contents (all read group sets, reference
+ * sets, variant sets, call sets, annotation sets, etc.) This is reversible (up
+ * to one week after the deletion) via the datasets.undelete operation.
+ *
+ * For the definitions of datasets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (datasets.delete)
+ *
+ * @param string $datasetId The ID of the dataset to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_GenomicsEmpty
+ */
+ public function delete($datasetId, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Genomics_GenomicsEmpty");
+ }
+ /**
+ * Gets a dataset by ID.
+ *
+ * For the definitions of datasets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (datasets.get)
+ *
+ * @param string $datasetId The ID of the dataset.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Genomics_Dataset");
+ }
+ /**
+ * Gets the access control policy for the dataset. This is empty if the policy
+ * or resource does not exist.
+ *
+ * See Getting a Policy for more information.
+ *
+ * For the definitions of datasets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (datasets.getIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which policy is being
+ * specified. Format is `datasets/`.
+ * @param Google_Service_Genomics_GetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Policy
+ */
+ public function getIamPolicy($resource, Google_Service_Genomics_GetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_Genomics_Policy");
+ }
+ /**
+ * Lists datasets within a project.
+ *
+ * For the definitions of datasets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (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 int pageSize The maximum number of results to return in a single
+ * page. If unspecified, defaults to 50. The maximum value is 1024.
+ * @opt_param string projectId Required. The Google Cloud project ID to list
+ * datasets for.
+ * @return Google_Service_Genomics_ListDatasetsResponse
+ */
+ public function listDatasets($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Genomics_ListDatasetsResponse");
+ }
+ /**
+ * Updates a dataset.
+ *
+ * For the definitions of datasets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * This method supports patch semantics. (datasets.patch)
+ *
+ * @param string $datasetId The ID of the dataset to be updated.
+ * @param Google_Service_Genomics_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask An optional mask specifying which fields to
+ * update. At this time, the only mutable field is name. The only acceptable
+ * value is "name". If unspecified, all mutable fields will be updated.
+ * @return Google_Service_Genomics_Dataset
+ */
+ public function patch($datasetId, Google_Service_Genomics_Dataset $postBody, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Genomics_Dataset");
+ }
+ /**
+ * Sets the access control policy on the specified dataset. Replaces any
+ * existing policy.
+ *
+ * For the definitions of datasets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * See Setting a Policy for more information. (datasets.setIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which policy is being
+ * specified. Format is `datasets/`.
+ * @param Google_Service_Genomics_SetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Policy
+ */
+ public function setIamPolicy($resource, Google_Service_Genomics_SetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_Genomics_Policy");
+ }
+ /**
+ * Returns permissions that a caller has on the specified resource. See Testing
+ * Permissions for more information.
+ *
+ * For the definitions of datasets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (datasets.testIamPermissions)
+ *
+ * @param string $resource REQUIRED: The resource for which policy is being
+ * specified. Format is `datasets/`.
+ * @param Google_Service_Genomics_TestIamPermissionsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_TestIamPermissionsResponse
+ */
+ public function testIamPermissions($resource, Google_Service_Genomics_TestIamPermissionsRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_Genomics_TestIamPermissionsResponse");
+ }
+ /**
+ * Undeletes a dataset by restoring a dataset which was deleted via this API.
+ *
+ * For the definitions of datasets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * 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 Google_Service_Genomics_UndeleteDatasetRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Dataset
+ */
+ public function undelete($datasetId, Google_Service_Genomics_UndeleteDatasetRequest $postBody, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('undelete', array($params), "Google_Service_Genomics_Dataset");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Operations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Operations.php
new file mode 100644
index 00000000..982df693
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Operations.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $operations = $genomicsService->operations;
+ * </code>
+ */
+class Google_Service_Genomics_Resource_Operations extends Google_Service_Resource
+{
+ /**
+ * Starts asynchronous cancellation on a long-running operation. The server
+ * makes a best effort to cancel the operation, but success is not guaranteed.
+ * Clients may use Operations.GetOperation or Operations.ListOperations to check
+ * whether the cancellation succeeded or the operation completed despite
+ * cancellation. (operations.cancel)
+ *
+ * @param string $name The name of the operation resource to be cancelled.
+ * @param Google_Service_Genomics_CancelOperationRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_GenomicsEmpty
+ */
+ public function cancel($name, Google_Service_Genomics_CancelOperationRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_Genomics_GenomicsEmpty");
+ }
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this
+ * method to poll the operation result at intervals as recommended by the API
+ * service. (operations.get)
+ *
+ * @param string $name The name of the operation resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Operation
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Operation");
+ }
+ /**
+ * Lists operations that match the specified filter in the request.
+ * (operations.listOperations)
+ *
+ * @param string $name The name of the operation collection.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter A string for filtering Operations. The following
+ * filter fields are supported
+ *
+ * * projectId Required. Corresponds to OperationMetadata.projectId. *
+ * createTime The time this job was created, in seconds from the
+ * [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=`
+ * operators. * status Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`.
+ * Only one status may be specified. * labels.key where key is a label key.
+ *
+ * Examples
+ *
+ * * `projectId = my-project AND createTime >= 1432140000` * `projectId = my-
+ * project AND createTime >= 1432140000 AND createTime <= 1432150000 AND status
+ * = RUNNING` * `projectId = my-project AND labels.color = *` * `projectId = my-
+ * project AND labels.color = red`
+ * @opt_param string pageToken The standard list page token.
+ * @opt_param int pageSize The maximum number of results to return. If
+ * unspecified, defaults to 256. The maximum value is 2048.
+ * @return Google_Service_Genomics_ListOperationsResponse
+ */
+ public function listOperations($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Genomics_ListOperationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Readgroupsets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Readgroupsets.php
new file mode 100644
index 00000000..d8c1bf5e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Readgroupsets.php
@@ -0,0 +1,166 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "readgroupsets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $readgroupsets = $genomicsService->readgroupsets;
+ * </code>
+ */
+class Google_Service_Genomics_Resource_Readgroupsets extends Google_Service_Resource
+{
+ /**
+ * Deletes a read group set.
+ *
+ * For the definitions of read group sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (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.
+ * @return Google_Service_Genomics_GenomicsEmpty
+ */
+ public function delete($readGroupSetId, $optParams = array())
+ {
+ $params = array('readGroupSetId' => $readGroupSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Genomics_GenomicsEmpty");
+ }
+ /**
+ * Exports a read group set to a BAM file in Google Cloud Storage.
+ *
+ * For the definitions of read group sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * Note that currently there may be some differences between exported BAM files
+ * and the original BAM file at the time of import. See ImportReadGroupSets for
+ * caveats. (readgroupsets.export)
+ *
+ * @param string $readGroupSetId Required. The ID of the read group set to
+ * export. The caller must have READ access to this read group set.
+ * @param Google_Service_Genomics_ExportReadGroupSetRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Operation
+ */
+ public function export($readGroupSetId, Google_Service_Genomics_ExportReadGroupSetRequest $postBody, $optParams = array())
+ {
+ $params = array('readGroupSetId' => $readGroupSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('export', array($params), "Google_Service_Genomics_Operation");
+ }
+ /**
+ * Gets a read group set by ID.
+ *
+ * For the definitions of read group sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (readgroupsets.get)
+ *
+ * @param string $readGroupSetId The ID of the read group set.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Genomics_ReadGroupSet");
+ }
+ /**
+ * Creates read group sets by asynchronously importing the provided information.
+ *
+ * For the definitions of read group sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * The caller must have WRITE permissions to the dataset.
+ *
+ * ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import
+ *
+ * - Tags will be converted to strings - tag types are not preserved - Comments
+ * (`@CO`) in the input file header will not be preserved - Original header
+ * order of references (`@SQ`) will not be preserved - Any reverse stranded
+ * unmapped reads will be reverse complemented, and their qualities (also the
+ * "BQ" and "OQ" tags, if any) will be reversed - Unmapped reads will be
+ * stripped of positional information (reference name and position)
+ * (readgroupsets.import)
+ *
+ * @param Google_Service_Genomics_ImportReadGroupSetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Operation
+ */
+ public function import(Google_Service_Genomics_ImportReadGroupSetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('import', array($params), "Google_Service_Genomics_Operation");
+ }
+ /**
+ * Updates a read group set.
+ *
+ * For the definitions of read group sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * 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 Google_Service_Genomics_ReadGroupSet $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask An optional mask specifying which fields to
+ * update. Supported fields:
+ *
+ * * name. * referenceSetId.
+ *
+ * Leaving `updateMask` unset is equivalent to specifying all mutable fields.
+ * @return Google_Service_Genomics_ReadGroupSet
+ */
+ public function patch($readGroupSetId, Google_Service_Genomics_ReadGroupSet $postBody, $optParams = array())
+ {
+ $params = array('readGroupSetId' => $readGroupSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Genomics_ReadGroupSet");
+ }
+ /**
+ * Searches for read group sets matching the criteria.
+ *
+ * For the definitions of read group sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * Implements [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/s
+ * chemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).
+ * (readgroupsets.search)
+ *
+ * @param Google_Service_Genomics_SearchReadGroupSetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchReadGroupSetsResponse
+ */
+ public function search(Google_Service_Genomics_SearchReadGroupSetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchReadGroupSetsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/ReadgroupsetsCoveragebuckets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/ReadgroupsetsCoveragebuckets.php
new file mode 100644
index 00000000..6f17a4c0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/ReadgroupsetsCoveragebuckets.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "coveragebuckets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $coveragebuckets = $genomicsService->coveragebuckets;
+ * </code>
+ */
+class Google_Service_Genomics_Resource_ReadgroupsetsCoveragebuckets extends 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.
+ *
+ * For the definitions of read group sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * 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 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.
+ * @opt_param string referenceName The name of the reference to query, within
+ * the reference set associated with this query. Optional.
+ * @opt_param string end The end position of the range on the reference, 0-based
+ * exclusive. If specified, `referenceName` must also be specified. If unset or
+ * 0, defaults to the length of the reference.
+ * @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 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 start The start position of the range on the reference,
+ * 0-based inclusive. If specified, `referenceName` must also be specified.
+ * Defaults to 0.
+ * @return 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), "Google_Service_Genomics_ListCoverageBucketsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Reads.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Reads.php
new file mode 100644
index 00000000..a900fa94
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Reads.php
@@ -0,0 +1,64 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "reads" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $reads = $genomicsService->reads;
+ * </code>
+ */
+class Google_Service_Genomics_Resource_Reads extends Google_Service_Resource
+{
+ /**
+ * Gets a list of reads for one or more read group sets.
+ *
+ * For the definitions of read group sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * 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 (by reference sequence, then position). Reads with
+ * equivalent genomic coordinates are returned in an unspecified order. This
+ * order is consistent, such that two queries for the same content (regardless
+ * of page size) yield reads in the same order across their respective streams
+ * of paginated responses.
+ *
+ * Implements [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/b
+ * lob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85). (reads.search)
+ *
+ * @param Google_Service_Genomics_SearchReadsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchReadsResponse
+ */
+ public function search(Google_Service_Genomics_SearchReadsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchReadsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/References.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/References.php
new file mode 100644
index 00000000..f52fd8f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/References.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "references" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $references = $genomicsService->references;
+ * </code>
+ */
+class Google_Service_Genomics_Resource_References extends Google_Service_Resource
+{
+ /**
+ * Gets a reference.
+ *
+ * For the definitions of references and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * Implements [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/
+ * blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158).
+ * (references.get)
+ *
+ * @param string $referenceId The ID of the reference.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Genomics_Reference");
+ }
+ /**
+ * Searches for references which match the given criteria.
+ *
+ * For the definitions of references and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * Implements [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/sche
+ * mas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146).
+ * (references.search)
+ *
+ * @param Google_Service_Genomics_SearchReferencesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchReferencesResponse
+ */
+ public function search(Google_Service_Genomics_SearchReferencesRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchReferencesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/ReferencesBases.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/ReferencesBases.php
new file mode 100644
index 00000000..0e425078
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/ReferencesBases.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "bases" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $bases = $genomicsService->bases;
+ * </code>
+ */
+class Google_Service_Genomics_Resource_ReferencesBases extends Google_Service_Resource
+{
+ /**
+ * Lists the bases in a reference, optionally restricted to a range.
+ *
+ * For the definitions of references and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * Implements [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/sch
+ * emas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221).
+ * (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 int pageSize The maximum number of bases to return in a single
+ * page. If unspecified, defaults to 200Kbp (kilo base pairs). The maximum value
+ * is 10Mbp (mega base pairs).
+ * @opt_param string start The start position (0-based) of this query. Defaults
+ * to 0.
+ * @opt_param string end The end position (0-based, exclusive) of this query.
+ * Defaults to the length of this reference.
+ * @return 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), "Google_Service_Genomics_ListBasesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Referencesets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Referencesets.php
new file mode 100644
index 00000000..4b5df535
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Referencesets.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "referencesets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $referencesets = $genomicsService->referencesets;
+ * </code>
+ */
+class Google_Service_Genomics_Resource_Referencesets extends Google_Service_Resource
+{
+ /**
+ * Gets a reference set.
+ *
+ * For the definitions of references and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * Implements [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schem
+ * as/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83).
+ * (referencesets.get)
+ *
+ * @param string $referenceSetId The ID of the reference set.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Genomics_ReferenceSet");
+ }
+ /**
+ * Searches for reference sets which match the given criteria.
+ *
+ * For the definitions of references and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * Implements [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/s
+ * chemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71)
+ * (referencesets.search)
+ *
+ * @param Google_Service_Genomics_SearchReferenceSetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchReferenceSetsResponse
+ */
+ public function search(Google_Service_Genomics_SearchReferenceSetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchReferenceSetsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Variants.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Variants.php
new file mode 100644
index 00000000..6a13199b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Variants.php
@@ -0,0 +1,213 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "variants" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $variants = $genomicsService->variants;
+ * </code>
+ */
+class Google_Service_Genomics_Resource_Variants extends Google_Service_Resource
+{
+ /**
+ * Creates a new variant.
+ *
+ * For the definitions of variants and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (variants.create)
+ *
+ * @param Google_Service_Genomics_Variant $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Variant
+ */
+ public function create(Google_Service_Genomics_Variant $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_Variant");
+ }
+ /**
+ * Deletes a variant.
+ *
+ * For the definitions of variants and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (variants.delete)
+ *
+ * @param string $variantId The ID of the variant to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_GenomicsEmpty
+ */
+ public function delete($variantId, $optParams = array())
+ {
+ $params = array('variantId' => $variantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Genomics_GenomicsEmpty");
+ }
+ /**
+ * Gets a variant by ID.
+ *
+ * For the definitions of variants and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (variants.get)
+ *
+ * @param string $variantId The ID of the variant.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Genomics_Variant");
+ }
+ /**
+ * Creates variant data by asynchronously importing the provided information.
+ *
+ * For the definitions of variant sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * The variants for import will be merged with any 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 Variant info fields are merged as specified in
+ * infoMergeConfig. 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. (variants.import)
+ *
+ * @param Google_Service_Genomics_ImportVariantsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Operation
+ */
+ public function import(Google_Service_Genomics_ImportVariantsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('import', array($params), "Google_Service_Genomics_Operation");
+ }
+ /**
+ * Merges the given variants with existing variants.
+ *
+ * For the definitions of variants and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * 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. Variant info fields are merged as specified in the
+ * infoMergeConfig field of the MergeVariantsRequest.
+ *
+ * Please exercise caution when using this method! It is easy to introduce
+ * mistakes in existing variants and difficult to back out of them. For
+ * example, suppose you were trying to merge a new variant with an existing one
+ * and both variants contain calls that belong to callsets with the same callset
+ * ID.
+ *
+ * // Existing variant - irrelevant fields trimmed for clarity {
+ * "variantSetId": "10473108253681171589", "referenceName": "1",
+ * "start": "10582", "referenceBases": "G", "alternateBases": [
+ * "A" ], "calls": [ { "callSetId":
+ * "10473108253681171589-0", "callSetName": "CALLSET0",
+ * "genotype": [ 0, 1 ],
+ * } ] }
+ *
+ * // New variant with conflicting call information {
+ * "variantSetId": "10473108253681171589", "referenceName": "1",
+ * "start": "10582", "referenceBases": "G", "alternateBases": [
+ * "A" ], "calls": [ { "callSetId":
+ * "10473108253681171589-0", "callSetName": "CALLSET0",
+ * "genotype": [ 1, 1 ],
+ * } ] }
+ *
+ * The resulting merged variant would overwrite the existing calls with those
+ * from the new variant:
+ *
+ * { "variantSetId": "10473108253681171589",
+ * "referenceName": "1", "start": "10582", "referenceBases":
+ * "G", "alternateBases": [ "A" ], "calls":
+ * [ { "callSetId": "10473108253681171589-0",
+ * "callSetName": "CALLSET0", "genotype": [
+ * 1, 1 ], } ] }
+ *
+ * This may be the desired outcome, but it is up to the user to determine if if
+ * that is indeed the case. (variants.merge)
+ *
+ * @param Google_Service_Genomics_MergeVariantsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_GenomicsEmpty
+ */
+ public function merge(Google_Service_Genomics_MergeVariantsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('merge', array($params), "Google_Service_Genomics_GenomicsEmpty");
+ }
+ /**
+ * Updates a variant.
+ *
+ * For the definitions of variants and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * This method supports patch semantics. Returns the modified variant without
+ * its calls. (variants.patch)
+ *
+ * @param string $variantId The ID of the variant to be updated.
+ * @param Google_Service_Genomics_Variant $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask An optional mask specifying which fields to
+ * update. At this time, mutable fields are names and info. Acceptable values
+ * are "names" and "info". If unspecified, all mutable fields will be updated.
+ * @return Google_Service_Genomics_Variant
+ */
+ public function patch($variantId, Google_Service_Genomics_Variant $postBody, $optParams = array())
+ {
+ $params = array('variantId' => $variantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Genomics_Variant");
+ }
+ /**
+ * Gets a list of variants matching the criteria.
+ *
+ * For the definitions of variants and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * Implements [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schema
+ * s/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L126).
+ * (variants.search)
+ *
+ * @param Google_Service_Genomics_SearchVariantsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchVariantsResponse
+ */
+ public function search(Google_Service_Genomics_SearchVariantsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchVariantsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Variantsets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Variantsets.php
new file mode 100644
index 00000000..915be9bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Variantsets.php
@@ -0,0 +1,151 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "variantsets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $variantsets = $genomicsService->variantsets;
+ * </code>
+ */
+class Google_Service_Genomics_Resource_Variantsets extends Google_Service_Resource
+{
+ /**
+ * Creates a new variant set.
+ *
+ * For the definitions of variant sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * The provided variant set must have a valid `datasetId` set - all other fields
+ * are optional. Note that the `id` field will be ignored, as this is assigned
+ * by the server. (variantsets.create)
+ *
+ * @param Google_Service_Genomics_VariantSet $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_VariantSet
+ */
+ public function create(Google_Service_Genomics_VariantSet $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_VariantSet");
+ }
+ /**
+ * Deletes a variant set including all variants, call sets, and calls within.
+ * This is not reversible.
+ *
+ * For the definitions of variant sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (variantsets.delete)
+ *
+ * @param string $variantSetId The ID of the variant set to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_GenomicsEmpty
+ */
+ public function delete($variantSetId, $optParams = array())
+ {
+ $params = array('variantSetId' => $variantSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Genomics_GenomicsEmpty");
+ }
+ /**
+ * Exports variant set data to an external destination.
+ *
+ * For the definitions of variant sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (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 Google_Service_Genomics_ExportVariantSetRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Operation
+ */
+ public function export($variantSetId, Google_Service_Genomics_ExportVariantSetRequest $postBody, $optParams = array())
+ {
+ $params = array('variantSetId' => $variantSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('export', array($params), "Google_Service_Genomics_Operation");
+ }
+ /**
+ * Gets a variant set by ID.
+ *
+ * For the definitions of variant sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (variantsets.get)
+ *
+ * @param string $variantSetId Required. The ID of the variant set.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Genomics_VariantSet");
+ }
+ /**
+ * Updates a variant set using patch semantics.
+ *
+ * For the definitions of variant sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics) (variantsets.patch)
+ *
+ * @param string $variantSetId The ID of the variant to be updated (must already
+ * exist).
+ * @param Google_Service_Genomics_VariantSet $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string updateMask An optional mask specifying which fields to
+ * update. Supported fields:
+ *
+ * * metadata. * name. * description.
+ *
+ * Leaving `updateMask` unset is equivalent to specifying all mutable fields.
+ * @return Google_Service_Genomics_VariantSet
+ */
+ public function patch($variantSetId, Google_Service_Genomics_VariantSet $postBody, $optParams = array())
+ {
+ $params = array('variantSetId' => $variantSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Genomics_VariantSet");
+ }
+ /**
+ * Returns a list of all variant sets matching search criteria.
+ *
+ * For the definitions of variant sets and other genomics resources, see
+ * [Fundamentals of Google Genomics](https://cloud.google.com/genomics
+ * /fundamentals-of-google-genomics)
+ *
+ * Implements [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/sch
+ * emas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49).
+ * (variantsets.search)
+ *
+ * @param Google_Service_Genomics_SearchVariantSetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchVariantSetsResponse
+ */
+ public function search(Google_Service_Genomics_SearchVariantSetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchVariantSetsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/RuntimeMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/RuntimeMetadata.php
new file mode 100644
index 00000000..d23b4f60
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/RuntimeMetadata.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_RuntimeMetadata extends Google_Model
+{
+ protected $computeEngineType = 'Google_Service_Genomics_ComputeEngine';
+ protected $computeEngineDataType = '';
+
+ public function setComputeEngine(Google_Service_Genomics_ComputeEngine $computeEngine)
+ {
+ $this->computeEngine = $computeEngine;
+ }
+ public function getComputeEngine()
+ {
+ return $this->computeEngine;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationSetsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationSetsRequest.php
new file mode 100644
index 00000000..59198e4b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationSetsRequest.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchAnnotationSetsRequest extends Google_Collection
+{
+ protected $collection_key = 'types';
+ public $datasetIds;
+ public $name;
+ public $pageSize;
+ public $pageToken;
+ public $referenceSetId;
+ public $types;
+
+ 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;
+ }
+ public function setReferenceSetId($referenceSetId)
+ {
+ $this->referenceSetId = $referenceSetId;
+ }
+ public function getReferenceSetId()
+ {
+ return $this->referenceSetId;
+ }
+ public function setTypes($types)
+ {
+ $this->types = $types;
+ }
+ public function getTypes()
+ {
+ return $this->types;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationSetsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationSetsResponse.php
new file mode 100644
index 00000000..097be877
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationSetsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchAnnotationSetsResponse extends Google_Collection
+{
+ protected $collection_key = 'annotationSets';
+ protected $annotationSetsType = 'Google_Service_Genomics_AnnotationSet';
+ protected $annotationSetsDataType = 'array';
+ public $nextPageToken;
+
+ public function setAnnotationSets($annotationSets)
+ {
+ $this->annotationSets = $annotationSets;
+ }
+ public function getAnnotationSets()
+ {
+ return $this->annotationSets;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationsRequest.php
new file mode 100644
index 00000000..e7451bd0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationsRequest.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchAnnotationsRequest extends Google_Collection
+{
+ protected $collection_key = 'annotationSetIds';
+ public $annotationSetIds;
+ public $end;
+ public $pageSize;
+ public $pageToken;
+ public $referenceId;
+ public $referenceName;
+ public $start;
+
+ public function setAnnotationSetIds($annotationSetIds)
+ {
+ $this->annotationSetIds = $annotationSetIds;
+ }
+ public function getAnnotationSetIds()
+ {
+ return $this->annotationSetIds;
+ }
+ 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 setReferenceId($referenceId)
+ {
+ $this->referenceId = $referenceId;
+ }
+ public function getReferenceId()
+ {
+ return $this->referenceId;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationsResponse.php
new file mode 100644
index 00000000..4b8d8021
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchAnnotationsResponse extends Google_Collection
+{
+ protected $collection_key = 'annotations';
+ protected $annotationsType = 'Google_Service_Genomics_Annotation';
+ protected $annotationsDataType = 'array';
+ public $nextPageToken;
+
+ public function setAnnotations($annotations)
+ {
+ $this->annotations = $annotations;
+ }
+ public function getAnnotations()
+ {
+ return $this->annotations;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchCallSetsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchCallSetsRequest.php
new file mode 100644
index 00000000..0ad65657
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchCallSetsRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchCallSetsRequest extends Google_Collection
+{
+ protected $collection_key = 'variantSetIds';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchCallSetsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchCallSetsResponse.php
new file mode 100644
index 00000000..10ee9637
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchCallSetsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchCallSetsResponse extends Google_Collection
+{
+ protected $collection_key = 'callSets';
+ protected $callSetsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadGroupSetsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadGroupSetsRequest.php
new file mode 100644
index 00000000..da351ed3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadGroupSetsRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchReadGroupSetsRequest extends Google_Collection
+{
+ protected $collection_key = 'datasetIds';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadGroupSetsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadGroupSetsResponse.php
new file mode 100644
index 00000000..6251bb7f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadGroupSetsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchReadGroupSetsResponse extends Google_Collection
+{
+ protected $collection_key = 'readGroupSets';
+ public $nextPageToken;
+ protected $readGroupSetsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadsRequest.php
new file mode 100644
index 00000000..a72a4ea7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadsRequest.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchReadsRequest extends Google_Collection
+{
+ protected $collection_key = 'readGroupSetIds';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadsResponse.php
new file mode 100644
index 00000000..841ffa57
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchReadsResponse extends Google_Collection
+{
+ protected $collection_key = 'alignments';
+ protected $alignmentsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferenceSetsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferenceSetsRequest.php
new file mode 100644
index 00000000..0d984611
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferenceSetsRequest.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchReferenceSetsRequest extends Google_Collection
+{
+ protected $collection_key = 'md5checksums';
+ public $accessions;
+ public $assemblyId;
+ public $md5checksums;
+ public $pageSize;
+ public $pageToken;
+
+ public function setAccessions($accessions)
+ {
+ $this->accessions = $accessions;
+ }
+ public function getAccessions()
+ {
+ return $this->accessions;
+ }
+ public function setAssemblyId($assemblyId)
+ {
+ $this->assemblyId = $assemblyId;
+ }
+ public function getAssemblyId()
+ {
+ return $this->assemblyId;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferenceSetsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferenceSetsResponse.php
new file mode 100644
index 00000000..efa61b36
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferenceSetsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchReferenceSetsResponse extends Google_Collection
+{
+ protected $collection_key = 'referenceSets';
+ public $nextPageToken;
+ protected $referenceSetsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferencesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferencesRequest.php
new file mode 100644
index 00000000..ae49629b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferencesRequest.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchReferencesRequest extends Google_Collection
+{
+ protected $collection_key = 'md5checksums';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferencesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferencesResponse.php
new file mode 100644
index 00000000..2d3e9603
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferencesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchReferencesResponse extends Google_Collection
+{
+ protected $collection_key = 'references';
+ public $nextPageToken;
+ protected $referencesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantSetsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantSetsRequest.php
new file mode 100644
index 00000000..f58dfd49
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantSetsRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchVariantSetsRequest extends Google_Collection
+{
+ protected $collection_key = 'datasetIds';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantSetsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantSetsResponse.php
new file mode 100644
index 00000000..0636fc6f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantSetsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchVariantSetsResponse extends Google_Collection
+{
+ protected $collection_key = 'variantSets';
+ public $nextPageToken;
+ protected $variantSetsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantsRequest.php
new file mode 100644
index 00000000..bf278baa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantsRequest.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchVariantsRequest extends Google_Collection
+{
+ protected $collection_key = 'variantSetIds';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantsResponse.php
new file mode 100644
index 00000000..ec6f7fc3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SearchVariantsResponse extends Google_Collection
+{
+ protected $collection_key = 'variants';
+ public $nextPageToken;
+ protected $variantsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SetIamPolicyRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SetIamPolicyRequest.php
new file mode 100644
index 00000000..e5196fd5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SetIamPolicyRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_SetIamPolicyRequest extends Google_Model
+{
+ protected $policyType = 'Google_Service_Genomics_Policy';
+ protected $policyDataType = '';
+
+ public function setPolicy(Google_Service_Genomics_Policy $policy)
+ {
+ $this->policy = $policy;
+ }
+ public function getPolicy()
+ {
+ return $this->policy;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Status.php
new file mode 100644
index 00000000..2d41b8ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamReadsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamReadsRequest.php
new file mode 100644
index 00000000..7b770127
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamReadsRequest.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_StreamReadsRequest extends Google_Model
+{
+ public $end;
+ public $projectId;
+ public $readGroupSetId;
+ public $referenceName;
+ public $shard;
+ public $start;
+ public $totalShards;
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setReadGroupSetId($readGroupSetId)
+ {
+ $this->readGroupSetId = $readGroupSetId;
+ }
+ public function getReadGroupSetId()
+ {
+ return $this->readGroupSetId;
+ }
+ public function setReferenceName($referenceName)
+ {
+ $this->referenceName = $referenceName;
+ }
+ public function getReferenceName()
+ {
+ return $this->referenceName;
+ }
+ public function setShard($shard)
+ {
+ $this->shard = $shard;
+ }
+ public function getShard()
+ {
+ return $this->shard;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+ public function setTotalShards($totalShards)
+ {
+ $this->totalShards = $totalShards;
+ }
+ public function getTotalShards()
+ {
+ return $this->totalShards;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamReadsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamReadsResponse.php
new file mode 100644
index 00000000..e970e0d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamReadsResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_StreamReadsResponse extends Google_Collection
+{
+ protected $collection_key = 'alignments';
+ protected $alignmentsType = 'Google_Service_Genomics_Read';
+ protected $alignmentsDataType = 'array';
+
+ public function setAlignments($alignments)
+ {
+ $this->alignments = $alignments;
+ }
+ public function getAlignments()
+ {
+ return $this->alignments;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamVariantsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamVariantsRequest.php
new file mode 100644
index 00000000..b0671dd2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamVariantsRequest.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_StreamVariantsRequest extends Google_Collection
+{
+ protected $collection_key = 'callSetIds';
+ public $callSetIds;
+ public $end;
+ public $projectId;
+ public $referenceName;
+ public $start;
+ public $variantSetId;
+
+ 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 setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamVariantsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamVariantsResponse.php
new file mode 100644
index 00000000..29e56448
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamVariantsResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_StreamVariantsResponse extends Google_Collection
+{
+ protected $collection_key = 'variants';
+ protected $variantsType = 'Google_Service_Genomics_Variant';
+ protected $variantsDataType = 'array';
+
+ public function setVariants($variants)
+ {
+ $this->variants = $variants;
+ }
+ public function getVariants()
+ {
+ return $this->variants;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/TestIamPermissionsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/TestIamPermissionsRequest.php
new file mode 100644
index 00000000..0700c68c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/TestIamPermissionsRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_TestIamPermissionsRequest extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/TestIamPermissionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/TestIamPermissionsResponse.php
new file mode 100644
index 00000000..acb47ab5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/TestIamPermissionsResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_TestIamPermissionsResponse extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Transcript.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Transcript.php
new file mode 100644
index 00000000..e82dfd28
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Transcript.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_Transcript extends Google_Collection
+{
+ protected $collection_key = 'exons';
+ protected $codingSequenceType = 'Google_Service_Genomics_CodingSequence';
+ protected $codingSequenceDataType = '';
+ protected $exonsType = 'Google_Service_Genomics_Exon';
+ protected $exonsDataType = 'array';
+ public $geneId;
+
+ public function setCodingSequence(Google_Service_Genomics_CodingSequence $codingSequence)
+ {
+ $this->codingSequence = $codingSequence;
+ }
+ public function getCodingSequence()
+ {
+ return $this->codingSequence;
+ }
+ public function setExons($exons)
+ {
+ $this->exons = $exons;
+ }
+ public function getExons()
+ {
+ return $this->exons;
+ }
+ public function setGeneId($geneId)
+ {
+ $this->geneId = $geneId;
+ }
+ public function getGeneId()
+ {
+ return $this->geneId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/UndeleteDatasetRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/UndeleteDatasetRequest.php
new file mode 100644
index 00000000..4a19f383
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/UndeleteDatasetRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_UndeleteDatasetRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Variant.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Variant.php
new file mode 100644
index 00000000..0cea18ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Variant.php
@@ -0,0 +1,140 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_Variant extends Google_Collection
+{
+ protected $collection_key = 'names';
+ public $alternateBases;
+ protected $callsType = 'Google_Service_Genomics_VariantCall';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantAnnotation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantAnnotation.php
new file mode 100644
index 00000000..b82f7530
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantAnnotation.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_VariantAnnotation extends Google_Collection
+{
+ protected $collection_key = 'transcriptIds';
+ public $alternateBases;
+ public $clinicalSignificance;
+ protected $conditionsType = 'Google_Service_Genomics_ClinicalCondition';
+ protected $conditionsDataType = 'array';
+ public $effect;
+ public $geneId;
+ public $transcriptIds;
+ public $type;
+
+ public function setAlternateBases($alternateBases)
+ {
+ $this->alternateBases = $alternateBases;
+ }
+ public function getAlternateBases()
+ {
+ return $this->alternateBases;
+ }
+ public function setClinicalSignificance($clinicalSignificance)
+ {
+ $this->clinicalSignificance = $clinicalSignificance;
+ }
+ public function getClinicalSignificance()
+ {
+ return $this->clinicalSignificance;
+ }
+ public function setConditions($conditions)
+ {
+ $this->conditions = $conditions;
+ }
+ public function getConditions()
+ {
+ return $this->conditions;
+ }
+ public function setEffect($effect)
+ {
+ $this->effect = $effect;
+ }
+ public function getEffect()
+ {
+ return $this->effect;
+ }
+ public function setGeneId($geneId)
+ {
+ $this->geneId = $geneId;
+ }
+ public function getGeneId()
+ {
+ return $this->geneId;
+ }
+ public function setTranscriptIds($transcriptIds)
+ {
+ $this->transcriptIds = $transcriptIds;
+ }
+ public function getTranscriptIds()
+ {
+ return $this->transcriptIds;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantCall.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantCall.php
new file mode 100644
index 00000000..c96a2d8f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantCall.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_VariantCall extends Google_Collection
+{
+ protected $collection_key = 'genotypeLikelihood';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantSet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantSet.php
new file mode 100644
index 00000000..364a09f7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantSet.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_VariantSet extends Google_Collection
+{
+ protected $collection_key = 'referenceBounds';
+ public $datasetId;
+ public $description;
+ public $id;
+ protected $metadataType = 'Google_Service_Genomics_VariantSetMetadata';
+ protected $metadataDataType = 'array';
+ public $name;
+ protected $referenceBoundsType = 'Google_Service_Genomics_ReferenceBound';
+ protected $referenceBoundsDataType = 'array';
+ public $referenceSetId;
+
+ 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 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 setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setReferenceBounds($referenceBounds)
+ {
+ $this->referenceBounds = $referenceBounds;
+ }
+ public function getReferenceBounds()
+ {
+ return $this->referenceBounds;
+ }
+ public function setReferenceSetId($referenceSetId)
+ {
+ $this->referenceSetId = $referenceSetId;
+ }
+ public function getReferenceSetId()
+ {
+ return $this->referenceSetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantSetMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantSetMetadata.php
new file mode 100644
index 00000000..826352f6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantSetMetadata.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Genomics_VariantSetMetadata extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail.php
new file mode 100644
index 00000000..dcb38f38
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail.php
@@ -0,0 +1,1136 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Access Gmail mailboxes including sending user email.</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 Google_Service_Gmail extends Google_Service
+{
+ /** Read, send, delete, and manage your email. */
+ const MAIL_GOOGLE_COM =
+ "https://mail.google.com/";
+ /** Manage drafts and send emails. */
+ const GMAIL_COMPOSE =
+ "https://www.googleapis.com/auth/gmail.compose";
+ /** Insert mail into your mailbox. */
+ const GMAIL_INSERT =
+ "https://www.googleapis.com/auth/gmail.insert";
+ /** Manage mailbox labels. */
+ const GMAIL_LABELS =
+ "https://www.googleapis.com/auth/gmail.labels";
+ /** View your email message metadata such as labels and headers, but not the email body. */
+ const GMAIL_METADATA =
+ "https://www.googleapis.com/auth/gmail.metadata";
+ /** 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";
+ /** Send email on your behalf. */
+ const GMAIL_SEND =
+ "https://www.googleapis.com/auth/gmail.send";
+ /** Manage your basic mail settings. */
+ const GMAIL_SETTINGS_BASIC =
+ "https://www.googleapis.com/auth/gmail.settings.basic";
+ /** Manage your sensitive mail settings, including who can manage your mail. */
+ const GMAIL_SETTINGS_SHARING =
+ "https://www.googleapis.com/auth/gmail.settings.sharing";
+
+ public $users;
+ public $users_drafts;
+ public $users_history;
+ public $users_labels;
+ public $users_messages;
+ public $users_messages_attachments;
+ public $users_settings;
+ public $users_settings_filters;
+ public $users_settings_forwardingAddresses;
+ public $users_settings_sendAs;
+ public $users_settings_sendAs_smimeInfo;
+ public $users_threads;
+
+ /**
+ * Constructs the internal representation of the Gmail service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'gmail/v1/users/';
+ $this->version = 'v1';
+ $this->serviceName = 'gmail';
+
+ $this->users = new Google_Service_Gmail_Resource_Users(
+ $this,
+ $this->serviceName,
+ 'users',
+ array(
+ 'methods' => array(
+ 'getProfile' => array(
+ 'path' => '{userId}/profile',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'stop' => array(
+ 'path' => '{userId}/stop',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'watch' => array(
+ 'path' => '{userId}/watch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_drafts = new Google_Service_Gmail_Resource_UsersDrafts(
+ $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,
+ ),
+ 'includeSpamTrash' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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 Google_Service_Gmail_Resource_UsersHistory(
+ $this,
+ $this->serviceName,
+ 'history',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{userId}/history',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyTypes' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'labelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startHistoryId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_labels = new Google_Service_Gmail_Resource_UsersLabels(
+ $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 Google_Service_Gmail_Resource_UsersMessages(
+ $this,
+ $this->serviceName,
+ 'messages',
+ array(
+ 'methods' => array(
+ 'batchDelete' => array(
+ 'path' => '{userId}/messages/batchDelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'batchModify' => array(
+ 'path' => '{userId}/messages/batchModify',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'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,
+ ),
+ 'format' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'metadataHeaders' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'import' => array(
+ 'path' => '{userId}/messages/import',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'internalDateSource' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'neverMarkSpam' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'processForCalendar' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{userId}/messages',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'internalDateSource' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{userId}/messages',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'includeSpamTrash' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'labelIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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 Google_Service_Gmail_Resource_UsersMessagesAttachments(
+ $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_settings = new Google_Service_Gmail_Resource_UsersSettings(
+ $this,
+ $this->serviceName,
+ 'settings',
+ array(
+ 'methods' => array(
+ 'getAutoForwarding' => array(
+ 'path' => '{userId}/settings/autoForwarding',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getImap' => array(
+ 'path' => '{userId}/settings/imap',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getPop' => array(
+ 'path' => '{userId}/settings/pop',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getVacation' => array(
+ 'path' => '{userId}/settings/vacation',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'updateAutoForwarding' => array(
+ 'path' => '{userId}/settings/autoForwarding',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'updateImap' => array(
+ 'path' => '{userId}/settings/imap',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'updatePop' => array(
+ 'path' => '{userId}/settings/pop',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'updateVacation' => array(
+ 'path' => '{userId}/settings/vacation',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_settings_filters = new Google_Service_Gmail_Resource_UsersSettingsFilters(
+ $this,
+ $this->serviceName,
+ 'filters',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => '{userId}/settings/filters',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{userId}/settings/filters/{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}/settings/filters/{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}/settings/filters',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_settings_forwardingAddresses = new Google_Service_Gmail_Resource_UsersSettingsForwardingAddresses(
+ $this,
+ $this->serviceName,
+ 'forwardingAddresses',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => '{userId}/settings/forwardingAddresses',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{userId}/settings/forwardingAddresses/{forwardingEmail}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'forwardingEmail' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{userId}/settings/forwardingAddresses/{forwardingEmail}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'forwardingEmail' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{userId}/settings/forwardingAddresses',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_settings_sendAs = new Google_Service_Gmail_Resource_UsersSettingsSendAs(
+ $this,
+ $this->serviceName,
+ 'sendAs',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => '{userId}/settings/sendAs',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{userId}/settings/sendAs/{sendAsEmail}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sendAsEmail' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{userId}/settings/sendAs/{sendAsEmail}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sendAsEmail' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{userId}/settings/sendAs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{userId}/settings/sendAs/{sendAsEmail}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sendAsEmail' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{userId}/settings/sendAs/{sendAsEmail}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sendAsEmail' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'verify' => array(
+ 'path' => '{userId}/settings/sendAs/{sendAsEmail}/verify',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sendAsEmail' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_settings_sendAs_smimeInfo = new Google_Service_Gmail_Resource_UsersSettingsSendAsSmimeInfo(
+ $this,
+ $this->serviceName,
+ 'smimeInfo',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sendAsEmail' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sendAsEmail' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{userId}/settings/sendAs/{sendAsEmail}/smimeInfo',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sendAsEmail' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{userId}/settings/sendAs/{sendAsEmail}/smimeInfo',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sendAsEmail' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setDefault' => array(
+ 'path' => '{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sendAsEmail' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_threads = new Google_Service_Gmail_Resource_UsersThreads(
+ $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,
+ ),
+ 'format' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'metadataHeaders' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{userId}/threads',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'includeSpamTrash' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'labelIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/AutoForwarding.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/AutoForwarding.php
new file mode 100644
index 00000000..ab1ea245
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/AutoForwarding.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_AutoForwarding extends Google_Model
+{
+ public $disposition;
+ public $emailAddress;
+ public $enabled;
+
+ public function setDisposition($disposition)
+ {
+ $this->disposition = $disposition;
+ }
+ public function getDisposition()
+ {
+ return $this->disposition;
+ }
+ public function setEmailAddress($emailAddress)
+ {
+ $this->emailAddress = $emailAddress;
+ }
+ public function getEmailAddress()
+ {
+ return $this->emailAddress;
+ }
+ public function setEnabled($enabled)
+ {
+ $this->enabled = $enabled;
+ }
+ public function getEnabled()
+ {
+ return $this->enabled;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/BatchDeleteMessagesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/BatchDeleteMessagesRequest.php
new file mode 100644
index 00000000..e8f0a8d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/BatchDeleteMessagesRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_BatchDeleteMessagesRequest extends Google_Collection
+{
+ protected $collection_key = 'ids';
+ public $ids;
+
+ public function setIds($ids)
+ {
+ $this->ids = $ids;
+ }
+ public function getIds()
+ {
+ return $this->ids;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/BatchModifyMessagesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/BatchModifyMessagesRequest.php
new file mode 100644
index 00000000..ac6474c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/BatchModifyMessagesRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_BatchModifyMessagesRequest extends Google_Collection
+{
+ protected $collection_key = 'removeLabelIds';
+ public $addLabelIds;
+ public $ids;
+ public $removeLabelIds;
+
+ public function setAddLabelIds($addLabelIds)
+ {
+ $this->addLabelIds = $addLabelIds;
+ }
+ public function getAddLabelIds()
+ {
+ return $this->addLabelIds;
+ }
+ public function setIds($ids)
+ {
+ $this->ids = $ids;
+ }
+ public function getIds()
+ {
+ return $this->ids;
+ }
+ public function setRemoveLabelIds($removeLabelIds)
+ {
+ $this->removeLabelIds = $removeLabelIds;
+ }
+ public function getRemoveLabelIds()
+ {
+ return $this->removeLabelIds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Draft.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Draft.php
new file mode 100644
index 00000000..adcbce81
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Draft.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_Draft extends Google_Model
+{
+ public $id;
+ protected $messageType = 'Google_Service_Gmail_Message';
+ protected $messageDataType = '';
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setMessage(Google_Service_Gmail_Message $message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Filter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Filter.php
new file mode 100644
index 00000000..c0fb8455
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Filter.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_Filter extends Google_Model
+{
+ protected $actionType = 'Google_Service_Gmail_FilterAction';
+ protected $actionDataType = '';
+ protected $criteriaType = 'Google_Service_Gmail_FilterCriteria';
+ protected $criteriaDataType = '';
+ public $id;
+
+ public function setAction(Google_Service_Gmail_FilterAction $action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setCriteria(Google_Service_Gmail_FilterCriteria $criteria)
+ {
+ $this->criteria = $criteria;
+ }
+ public function getCriteria()
+ {
+ return $this->criteria;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/FilterAction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/FilterAction.php
new file mode 100644
index 00000000..2c2f7137
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/FilterAction.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_FilterAction extends Google_Collection
+{
+ protected $collection_key = 'removeLabelIds';
+ public $addLabelIds;
+ public $forward;
+ public $removeLabelIds;
+
+ public function setAddLabelIds($addLabelIds)
+ {
+ $this->addLabelIds = $addLabelIds;
+ }
+ public function getAddLabelIds()
+ {
+ return $this->addLabelIds;
+ }
+ public function setForward($forward)
+ {
+ $this->forward = $forward;
+ }
+ public function getForward()
+ {
+ return $this->forward;
+ }
+ public function setRemoveLabelIds($removeLabelIds)
+ {
+ $this->removeLabelIds = $removeLabelIds;
+ }
+ public function getRemoveLabelIds()
+ {
+ return $this->removeLabelIds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/FilterCriteria.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/FilterCriteria.php
new file mode 100644
index 00000000..fd8ea442
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/FilterCriteria.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_FilterCriteria extends Google_Model
+{
+ public $excludeChats;
+ public $from;
+ public $hasAttachment;
+ public $negatedQuery;
+ public $query;
+ public $size;
+ public $sizeComparison;
+ public $subject;
+ public $to;
+
+ public function setExcludeChats($excludeChats)
+ {
+ $this->excludeChats = $excludeChats;
+ }
+ public function getExcludeChats()
+ {
+ return $this->excludeChats;
+ }
+ public function setFrom($from)
+ {
+ $this->from = $from;
+ }
+ public function getFrom()
+ {
+ return $this->from;
+ }
+ public function setHasAttachment($hasAttachment)
+ {
+ $this->hasAttachment = $hasAttachment;
+ }
+ public function getHasAttachment()
+ {
+ return $this->hasAttachment;
+ }
+ public function setNegatedQuery($negatedQuery)
+ {
+ $this->negatedQuery = $negatedQuery;
+ }
+ public function getNegatedQuery()
+ {
+ return $this->negatedQuery;
+ }
+ public function setQuery($query)
+ {
+ $this->query = $query;
+ }
+ public function getQuery()
+ {
+ return $this->query;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setSizeComparison($sizeComparison)
+ {
+ $this->sizeComparison = $sizeComparison;
+ }
+ public function getSizeComparison()
+ {
+ return $this->sizeComparison;
+ }
+ public function setSubject($subject)
+ {
+ $this->subject = $subject;
+ }
+ public function getSubject()
+ {
+ return $this->subject;
+ }
+ public function setTo($to)
+ {
+ $this->to = $to;
+ }
+ public function getTo()
+ {
+ return $this->to;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ForwardingAddress.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ForwardingAddress.php
new file mode 100644
index 00000000..30259a5b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ForwardingAddress.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_ForwardingAddress extends Google_Model
+{
+ public $forwardingEmail;
+ public $verificationStatus;
+
+ public function setForwardingEmail($forwardingEmail)
+ {
+ $this->forwardingEmail = $forwardingEmail;
+ }
+ public function getForwardingEmail()
+ {
+ return $this->forwardingEmail;
+ }
+ public function setVerificationStatus($verificationStatus)
+ {
+ $this->verificationStatus = $verificationStatus;
+ }
+ public function getVerificationStatus()
+ {
+ return $this->verificationStatus;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/History.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/History.php
new file mode 100644
index 00000000..c94fbacb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/History.php
@@ -0,0 +1,81 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_History extends Google_Collection
+{
+ protected $collection_key = 'messagesDeleted';
+ public $id;
+ protected $labelsAddedType = 'Google_Service_Gmail_HistoryLabelAdded';
+ protected $labelsAddedDataType = 'array';
+ protected $labelsRemovedType = 'Google_Service_Gmail_HistoryLabelRemoved';
+ protected $labelsRemovedDataType = 'array';
+ protected $messagesType = 'Google_Service_Gmail_Message';
+ protected $messagesDataType = 'array';
+ protected $messagesAddedType = 'Google_Service_Gmail_HistoryMessageAdded';
+ protected $messagesAddedDataType = 'array';
+ protected $messagesDeletedType = 'Google_Service_Gmail_HistoryMessageDeleted';
+ protected $messagesDeletedDataType = 'array';
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLabelsAdded($labelsAdded)
+ {
+ $this->labelsAdded = $labelsAdded;
+ }
+ public function getLabelsAdded()
+ {
+ return $this->labelsAdded;
+ }
+ public function setLabelsRemoved($labelsRemoved)
+ {
+ $this->labelsRemoved = $labelsRemoved;
+ }
+ public function getLabelsRemoved()
+ {
+ return $this->labelsRemoved;
+ }
+ public function setMessages($messages)
+ {
+ $this->messages = $messages;
+ }
+ public function getMessages()
+ {
+ return $this->messages;
+ }
+ public function setMessagesAdded($messagesAdded)
+ {
+ $this->messagesAdded = $messagesAdded;
+ }
+ public function getMessagesAdded()
+ {
+ return $this->messagesAdded;
+ }
+ public function setMessagesDeleted($messagesDeleted)
+ {
+ $this->messagesDeleted = $messagesDeleted;
+ }
+ public function getMessagesDeleted()
+ {
+ return $this->messagesDeleted;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelAdded.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelAdded.php
new file mode 100644
index 00000000..98af97c0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelAdded.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_HistoryLabelAdded extends Google_Collection
+{
+ protected $collection_key = 'labelIds';
+ public $labelIds;
+ protected $messageType = 'Google_Service_Gmail_Message';
+ protected $messageDataType = '';
+
+ public function setLabelIds($labelIds)
+ {
+ $this->labelIds = $labelIds;
+ }
+ public function getLabelIds()
+ {
+ return $this->labelIds;
+ }
+ public function setMessage(Google_Service_Gmail_Message $message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelRemoved.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelRemoved.php
new file mode 100644
index 00000000..8bba31ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelRemoved.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_HistoryLabelRemoved extends Google_Collection
+{
+ protected $collection_key = 'labelIds';
+ public $labelIds;
+ protected $messageType = 'Google_Service_Gmail_Message';
+ protected $messageDataType = '';
+
+ public function setLabelIds($labelIds)
+ {
+ $this->labelIds = $labelIds;
+ }
+ public function getLabelIds()
+ {
+ return $this->labelIds;
+ }
+ public function setMessage(Google_Service_Gmail_Message $message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageAdded.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageAdded.php
new file mode 100644
index 00000000..28e5aecc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageAdded.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_HistoryMessageAdded extends Google_Model
+{
+ protected $messageType = 'Google_Service_Gmail_Message';
+ protected $messageDataType = '';
+
+ public function setMessage(Google_Service_Gmail_Message $message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageDeleted.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageDeleted.php
new file mode 100644
index 00000000..d8ecf450
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageDeleted.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_HistoryMessageDeleted extends Google_Model
+{
+ protected $messageType = 'Google_Service_Gmail_Message';
+ protected $messageDataType = '';
+
+ public function setMessage(Google_Service_Gmail_Message $message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ImapSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ImapSettings.php
new file mode 100644
index 00000000..8f467f93
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ImapSettings.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_ImapSettings extends Google_Model
+{
+ public $autoExpunge;
+ public $enabled;
+ public $expungeBehavior;
+ public $maxFolderSize;
+
+ public function setAutoExpunge($autoExpunge)
+ {
+ $this->autoExpunge = $autoExpunge;
+ }
+ public function getAutoExpunge()
+ {
+ return $this->autoExpunge;
+ }
+ public function setEnabled($enabled)
+ {
+ $this->enabled = $enabled;
+ }
+ public function getEnabled()
+ {
+ return $this->enabled;
+ }
+ public function setExpungeBehavior($expungeBehavior)
+ {
+ $this->expungeBehavior = $expungeBehavior;
+ }
+ public function getExpungeBehavior()
+ {
+ return $this->expungeBehavior;
+ }
+ public function setMaxFolderSize($maxFolderSize)
+ {
+ $this->maxFolderSize = $maxFolderSize;
+ }
+ public function getMaxFolderSize()
+ {
+ return $this->maxFolderSize;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Label.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Label.php
new file mode 100644
index 00000000..9595a0b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Label.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_Label extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListDraftsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListDraftsResponse.php
new file mode 100644
index 00000000..4c510e47
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListDraftsResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_ListDraftsResponse extends Google_Collection
+{
+ protected $collection_key = 'drafts';
+ protected $draftsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListFiltersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListFiltersResponse.php
new file mode 100644
index 00000000..20c14b19
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListFiltersResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_ListFiltersResponse extends Google_Collection
+{
+ protected $collection_key = 'filter';
+ protected $filterType = 'Google_Service_Gmail_Filter';
+ protected $filterDataType = 'array';
+
+ public function setFilter($filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListForwardingAddressesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListForwardingAddressesResponse.php
new file mode 100644
index 00000000..f91c0f95
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListForwardingAddressesResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_ListForwardingAddressesResponse extends Google_Collection
+{
+ protected $collection_key = 'forwardingAddresses';
+ protected $forwardingAddressesType = 'Google_Service_Gmail_ForwardingAddress';
+ protected $forwardingAddressesDataType = 'array';
+
+ public function setForwardingAddresses($forwardingAddresses)
+ {
+ $this->forwardingAddresses = $forwardingAddresses;
+ }
+ public function getForwardingAddresses()
+ {
+ return $this->forwardingAddresses;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListHistoryResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListHistoryResponse.php
new file mode 100644
index 00000000..b2a95741
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListHistoryResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_ListHistoryResponse extends Google_Collection
+{
+ protected $collection_key = 'history';
+ protected $historyType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListLabelsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListLabelsResponse.php
new file mode 100644
index 00000000..dcd09dbb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListLabelsResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_ListLabelsResponse extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ protected $labelsType = 'Google_Service_Gmail_Label';
+ protected $labelsDataType = 'array';
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListMessagesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListMessagesResponse.php
new file mode 100644
index 00000000..18ab5603
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListMessagesResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_ListMessagesResponse extends Google_Collection
+{
+ protected $collection_key = 'messages';
+ protected $messagesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListSendAsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListSendAsResponse.php
new file mode 100644
index 00000000..288d2f54
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListSendAsResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_ListSendAsResponse extends Google_Collection
+{
+ protected $collection_key = 'sendAs';
+ protected $sendAsType = 'Google_Service_Gmail_SendAs';
+ protected $sendAsDataType = 'array';
+
+ public function setSendAs($sendAs)
+ {
+ $this->sendAs = $sendAs;
+ }
+ public function getSendAs()
+ {
+ return $this->sendAs;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListSmimeInfoResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListSmimeInfoResponse.php
new file mode 100644
index 00000000..e8bf165d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListSmimeInfoResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_ListSmimeInfoResponse extends Google_Collection
+{
+ protected $collection_key = 'smimeInfo';
+ protected $smimeInfoType = 'Google_Service_Gmail_SmimeInfo';
+ protected $smimeInfoDataType = 'array';
+
+ public function setSmimeInfo($smimeInfo)
+ {
+ $this->smimeInfo = $smimeInfo;
+ }
+ public function getSmimeInfo()
+ {
+ return $this->smimeInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListThreadsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListThreadsResponse.php
new file mode 100644
index 00000000..990f593d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListThreadsResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_ListThreadsResponse extends Google_Collection
+{
+ protected $collection_key = 'threads';
+ public $nextPageToken;
+ public $resultSizeEstimate;
+ protected $threadsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Message.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Message.php
new file mode 100644
index 00000000..95787880
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Message.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_Message extends Google_Collection
+{
+ protected $collection_key = 'labelIds';
+ public $historyId;
+ public $id;
+ public $internalDate;
+ public $labelIds;
+ protected $payloadType = '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 setInternalDate($internalDate)
+ {
+ $this->internalDate = $internalDate;
+ }
+ public function getInternalDate()
+ {
+ return $this->internalDate;
+ }
+ public function setLabelIds($labelIds)
+ {
+ $this->labelIds = $labelIds;
+ }
+ public function getLabelIds()
+ {
+ return $this->labelIds;
+ }
+ public function setPayload(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePart.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePart.php
new file mode 100644
index 00000000..a53e1bad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePart.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_MessagePart extends Google_Collection
+{
+ protected $collection_key = 'parts';
+ protected $bodyType = 'Google_Service_Gmail_MessagePartBody';
+ protected $bodyDataType = '';
+ public $filename;
+ protected $headersType = 'Google_Service_Gmail_MessagePartHeader';
+ protected $headersDataType = 'array';
+ public $mimeType;
+ public $partId;
+ protected $partsType = 'Google_Service_Gmail_MessagePart';
+ protected $partsDataType = 'array';
+
+ public function setBody(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePartBody.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePartBody.php
new file mode 100644
index 00000000..d607b307
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePartBody.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_MessagePartBody extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePartHeader.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePartHeader.php
new file mode 100644
index 00000000..b76456f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePartHeader.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_MessagePartHeader extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ModifyMessageRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ModifyMessageRequest.php
new file mode 100644
index 00000000..96035fd5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ModifyMessageRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_ModifyMessageRequest extends Google_Collection
+{
+ protected $collection_key = 'removeLabelIds';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ModifyThreadRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ModifyThreadRequest.php
new file mode 100644
index 00000000..9409d0d3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ModifyThreadRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_ModifyThreadRequest extends Google_Collection
+{
+ protected $collection_key = 'removeLabelIds';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/PopSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/PopSettings.php
new file mode 100644
index 00000000..dcc92546
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/PopSettings.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_PopSettings extends Google_Model
+{
+ public $accessWindow;
+ public $disposition;
+
+ public function setAccessWindow($accessWindow)
+ {
+ $this->accessWindow = $accessWindow;
+ }
+ public function getAccessWindow()
+ {
+ return $this->accessWindow;
+ }
+ public function setDisposition($disposition)
+ {
+ $this->disposition = $disposition;
+ }
+ public function getDisposition()
+ {
+ return $this->disposition;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Profile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Profile.php
new file mode 100644
index 00000000..15fccdfc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Profile.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_Profile extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/Users.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/Users.php
new file mode 100644
index 00000000..a98be061
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/Users.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Google_Service_Gmail(...);
+ * $users = $gmailService->users;
+ * </code>
+ */
+class Google_Service_Gmail_Resource_Users extends 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 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), "Google_Service_Gmail_Profile");
+ }
+ /**
+ * Stop receiving push notifications for the given user mailbox. (users.stop)
+ *
+ * @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.
+ */
+ public function stop($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params));
+ }
+ /**
+ * Set up or update a push notification watch on the given user mailbox.
+ * (users.watch)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param Google_Service_Gmail_WatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_WatchResponse
+ */
+ public function watch($userId, Google_Service_Gmail_WatchRequest $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Google_Service_Gmail_WatchResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersDrafts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersDrafts.php
new file mode 100644
index 00000000..af78f4b3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersDrafts.php
@@ -0,0 +1,130 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "drafts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Google_Service_Gmail(...);
+ * $drafts = $gmailService->drafts;
+ * </code>
+ */
+class Google_Service_Gmail_Resource_UsersDrafts extends 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 Google_Service_Gmail_Draft $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Draft
+ */
+ public function create($userId, Google_Service_Gmail_Draft $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "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 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), "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 bool includeSpamTrash Include drafts from SPAM and TRASH in the
+ * results.
+ * @opt_param string maxResults Maximum number of drafts to return.
+ * @opt_param string pageToken Page token to retrieve a specific page of results
+ * in the list.
+ * @opt_param string q Only return draft messages matching the specified query.
+ * Supports the same query format as the Gmail search box. For example,
+ * "from:someuser@example.com rfc822msgid: is:unread".
+ * @return 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), "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 Google_Service_Gmail_Draft $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function send($userId, Google_Service_Gmail_Draft $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('send', array($params), "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 Google_Service_Gmail_Draft $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Draft
+ */
+ public function update($userId, $id, 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), "Google_Service_Gmail_Draft");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersHistory.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersHistory.php
new file mode 100644
index 00000000..f04f7cf7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersHistory.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "history" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Google_Service_Gmail(...);
+ * $history = $gmailService->history;
+ * </code>
+ */
+class Google_Service_Gmail_Resource_UsersHistory extends 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 historyTypes History types to be returned by the function
+ * @opt_param string labelId Only return messages with a label matching the ID.
+ * @opt_param string maxResults The maximum number of history records to return.
+ * @opt_param string pageToken Page token to retrieve a specific page of results
+ * in the list.
+ * @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 rare 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 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), "Google_Service_Gmail_ListHistoryResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersLabels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersLabels.php
new file mode 100644
index 00000000..f099e5b6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersLabels.php
@@ -0,0 +1,120 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "labels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Google_Service_Gmail(...);
+ * $labels = $gmailService->labels;
+ * </code>
+ */
+class Google_Service_Gmail_Resource_UsersLabels extends 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 Google_Service_Gmail_Label $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Label
+ */
+ public function create($userId, Google_Service_Gmail_Label $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "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 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), "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 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), "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 Google_Service_Gmail_Label $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Label
+ */
+ public function patch($userId, $id, 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), "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 Google_Service_Gmail_Label $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Label
+ */
+ public function update($userId, $id, 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), "Google_Service_Gmail_Label");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessages.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessages.php
new file mode 100644
index 00000000..f8da91aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessages.php
@@ -0,0 +1,229 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "messages" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Google_Service_Gmail(...);
+ * $messages = $gmailService->messages;
+ * </code>
+ */
+class Google_Service_Gmail_Resource_UsersMessages extends Google_Service_Resource
+{
+ /**
+ * Deletes many messages by message ID. Provides no guarantees that messages
+ * were not already deleted or even existed at all. (messages.batchDelete)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param Google_Service_Gmail_BatchDeleteMessagesRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchDelete($userId, Google_Service_Gmail_BatchDeleteMessagesRequest $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params));
+ }
+ /**
+ * Modifies the labels on the specified messages. (messages.batchModify)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param Google_Service_Gmail_BatchModifyMessagesRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchModify($userId, Google_Service_Gmail_BatchModifyMessagesRequest $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchModify', array($params));
+ }
+ /**
+ * 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 format The format to return the message in.
+ * @opt_param string metadataHeaders When given and format is METADATA, only
+ * include headers specified.
+ * @return 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), "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 Google_Service_Gmail_Message $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool deleted Mark the email as permanently deleted (not TRASH) and
+ * only visible in Google Vault to a Vault administrator. Only used for G Suite
+ * accounts.
+ * @opt_param string internalDateSource Source for Gmail's internal date of the
+ * message.
+ * @opt_param bool neverMarkSpam Ignore the Gmail spam classifier decision and
+ * never mark this email as SPAM in the mailbox.
+ * @opt_param bool processForCalendar Process calendar invites in the email and
+ * add any extracted meetings to the Google Calendar for this user.
+ * @return Google_Service_Gmail_Message
+ */
+ public function import($userId, Google_Service_Gmail_Message $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('import', array($params), "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 Google_Service_Gmail_Message $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool deleted Mark the email as permanently deleted (not TRASH) and
+ * only visible in Google Vault to a Vault administrator. Only used for G Suite
+ * accounts.
+ * @opt_param string internalDateSource Source for Gmail's internal date of the
+ * message.
+ * @return Google_Service_Gmail_Message
+ */
+ public function insert($userId, Google_Service_Gmail_Message $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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.
+ * @opt_param string maxResults Maximum number of messages to return.
+ * @opt_param string pageToken Page token to retrieve a specific page of results
+ * in the list.
+ * @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". Parameter cannot be used
+ * when accessing the api using the gmail.metadata scope.
+ * @return 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), "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 Google_Service_Gmail_ModifyMessageRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function modify($userId, $id, 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), "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 Google_Service_Gmail_Message $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function send($userId, Google_Service_Gmail_Message $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('send', array($params), "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 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), "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 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), "Google_Service_Gmail_Message");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessagesAttachments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessagesAttachments.php
new file mode 100644
index 00000000..f3d1a784
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessagesAttachments.php
@@ -0,0 +1,44 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "attachments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Google_Service_Gmail(...);
+ * $attachments = $gmailService->attachments;
+ * </code>
+ */
+class Google_Service_Gmail_Resource_UsersMessagesAttachments extends 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 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), "Google_Service_Gmail_MessagePartBody");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettings.php
new file mode 100644
index 00000000..1f8bfa18
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettings.php
@@ -0,0 +1,149 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "settings" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Google_Service_Gmail(...);
+ * $settings = $gmailService->settings;
+ * </code>
+ */
+class Google_Service_Gmail_Resource_UsersSettings extends Google_Service_Resource
+{
+ /**
+ * Gets the auto-forwarding setting for the specified account.
+ * (settings.getAutoForwarding)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_AutoForwarding
+ */
+ public function getAutoForwarding($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getAutoForwarding', array($params), "Google_Service_Gmail_AutoForwarding");
+ }
+ /**
+ * Gets IMAP settings. (settings.getImap)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_ImapSettings
+ */
+ public function getImap($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getImap', array($params), "Google_Service_Gmail_ImapSettings");
+ }
+ /**
+ * Gets POP settings. (settings.getPop)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_PopSettings
+ */
+ public function getPop($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getPop', array($params), "Google_Service_Gmail_PopSettings");
+ }
+ /**
+ * Gets vacation responder settings. (settings.getVacation)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_VacationSettings
+ */
+ public function getVacation($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getVacation', array($params), "Google_Service_Gmail_VacationSettings");
+ }
+ /**
+ * Updates the auto-forwarding setting for the specified account. A verified
+ * forwarding address must be specified when auto-forwarding is enabled.
+ *
+ * This method is only available to service account clients that have been
+ * delegated domain-wide authority. (settings.updateAutoForwarding)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param Google_Service_Gmail_AutoForwarding $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_AutoForwarding
+ */
+ public function updateAutoForwarding($userId, Google_Service_Gmail_AutoForwarding $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateAutoForwarding', array($params), "Google_Service_Gmail_AutoForwarding");
+ }
+ /**
+ * Updates IMAP settings. (settings.updateImap)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param Google_Service_Gmail_ImapSettings $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_ImapSettings
+ */
+ public function updateImap($userId, Google_Service_Gmail_ImapSettings $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateImap', array($params), "Google_Service_Gmail_ImapSettings");
+ }
+ /**
+ * Updates POP settings. (settings.updatePop)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param Google_Service_Gmail_PopSettings $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_PopSettings
+ */
+ public function updatePop($userId, Google_Service_Gmail_PopSettings $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updatePop', array($params), "Google_Service_Gmail_PopSettings");
+ }
+ /**
+ * Updates vacation responder settings. (settings.updateVacation)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param Google_Service_Gmail_VacationSettings $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_VacationSettings
+ */
+ public function updateVacation($userId, Google_Service_Gmail_VacationSettings $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateVacation', array($params), "Google_Service_Gmail_VacationSettings");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsFilters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsFilters.php
new file mode 100644
index 00000000..79cc1b20
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsFilters.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "filters" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Google_Service_Gmail(...);
+ * $filters = $gmailService->filters;
+ * </code>
+ */
+class Google_Service_Gmail_Resource_UsersSettingsFilters extends Google_Service_Resource
+{
+ /**
+ * Creates a filter. (filters.create)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param Google_Service_Gmail_Filter $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Filter
+ */
+ public function create($userId, Google_Service_Gmail_Filter $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Gmail_Filter");
+ }
+ /**
+ * Deletes a filter. (filters.delete)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the filter to be deleted.
+ * @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 a filter. (filters.get)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the filter to be fetched.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Filter
+ */
+ public function get($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Gmail_Filter");
+ }
+ /**
+ * Lists the message filters of a Gmail user. (filters.listUsersSettingsFilters)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_ListFiltersResponse
+ */
+ public function listUsersSettingsFilters($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Gmail_ListFiltersResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsForwardingAddresses.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsForwardingAddresses.php
new file mode 100644
index 00000000..317383fa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsForwardingAddresses.php
@@ -0,0 +1,97 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "forwardingAddresses" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Google_Service_Gmail(...);
+ * $forwardingAddresses = $gmailService->forwardingAddresses;
+ * </code>
+ */
+class Google_Service_Gmail_Resource_UsersSettingsForwardingAddresses extends Google_Service_Resource
+{
+ /**
+ * Creates a forwarding address. If ownership verification is required, a
+ * message will be sent to the recipient and the resource's verification status
+ * will be set to pending; otherwise, the resource will be created with
+ * verification status set to accepted.
+ *
+ * This method is only available to service account clients that have been
+ * delegated domain-wide authority. (forwardingAddresses.create)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param Google_Service_Gmail_ForwardingAddress $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_ForwardingAddress
+ */
+ public function create($userId, Google_Service_Gmail_ForwardingAddress $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Gmail_ForwardingAddress");
+ }
+ /**
+ * Deletes the specified forwarding address and revokes any verification that
+ * may have been required.
+ *
+ * This method is only available to service account clients that have been
+ * delegated domain-wide authority. (forwardingAddresses.delete)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param string $forwardingEmail The forwarding address to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userId, $forwardingEmail, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'forwardingEmail' => $forwardingEmail);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets the specified forwarding address. (forwardingAddresses.get)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param string $forwardingEmail The forwarding address to be retrieved.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_ForwardingAddress
+ */
+ public function get($userId, $forwardingEmail, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'forwardingEmail' => $forwardingEmail);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Gmail_ForwardingAddress");
+ }
+ /**
+ * Lists the forwarding addresses for the specified account.
+ * (forwardingAddresses.listUsersSettingsForwardingAddresses)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_ListForwardingAddressesResponse
+ */
+ public function listUsersSettingsForwardingAddresses($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Gmail_ListForwardingAddressesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAs.php
new file mode 100644
index 00000000..7190aa43
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAs.php
@@ -0,0 +1,162 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "sendAs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Google_Service_Gmail(...);
+ * $sendAs = $gmailService->sendAs;
+ * </code>
+ */
+class Google_Service_Gmail_Resource_UsersSettingsSendAs extends Google_Service_Resource
+{
+ /**
+ * Creates a custom "from" send-as alias. If an SMTP MSA is specified, Gmail
+ * will attempt to connect to the SMTP service to validate the configuration
+ * before creating the alias. If ownership verification is required for the
+ * alias, a message will be sent to the email address and the resource's
+ * verification status will be set to pending; otherwise, the resource will be
+ * created with verification status set to accepted. If a signature is provided,
+ * Gmail will sanitize the HTML before saving it with the alias.
+ *
+ * This method is only available to service account clients that have been
+ * delegated domain-wide authority. (sendAs.create)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param Google_Service_Gmail_SendAs $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_SendAs
+ */
+ public function create($userId, Google_Service_Gmail_SendAs $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Gmail_SendAs");
+ }
+ /**
+ * Deletes the specified send-as alias. Revokes any verification that may have
+ * been required for using it.
+ *
+ * This method is only available to service account clients that have been
+ * delegated domain-wide authority. (sendAs.delete)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param string $sendAsEmail The send-as alias to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userId, $sendAsEmail, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets the specified send-as alias. Fails with an HTTP 404 error if the
+ * specified address is not a member of the collection. (sendAs.get)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param string $sendAsEmail The send-as alias to be retrieved.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_SendAs
+ */
+ public function get($userId, $sendAsEmail, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Gmail_SendAs");
+ }
+ /**
+ * Lists the send-as aliases for the specified account. The result includes the
+ * primary send-as address associated with the account as well as any custom
+ * "from" aliases. (sendAs.listUsersSettingsSendAs)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_ListSendAsResponse
+ */
+ public function listUsersSettingsSendAs($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Gmail_ListSendAsResponse");
+ }
+ /**
+ * Updates a send-as alias. If a signature is provided, Gmail will sanitize the
+ * HTML before saving it with the alias.
+ *
+ * Addresses other than the primary address for the account can only be updated
+ * by service account clients that have been delegated domain-wide authority.
+ * This method supports patch semantics. (sendAs.patch)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param string $sendAsEmail The send-as alias to be updated.
+ * @param Google_Service_Gmail_SendAs $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_SendAs
+ */
+ public function patch($userId, $sendAsEmail, Google_Service_Gmail_SendAs $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Gmail_SendAs");
+ }
+ /**
+ * Updates a send-as alias. If a signature is provided, Gmail will sanitize the
+ * HTML before saving it with the alias.
+ *
+ * Addresses other than the primary address for the account can only be updated
+ * by service account clients that have been delegated domain-wide authority.
+ * (sendAs.update)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param string $sendAsEmail The send-as alias to be updated.
+ * @param Google_Service_Gmail_SendAs $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_SendAs
+ */
+ public function update($userId, $sendAsEmail, Google_Service_Gmail_SendAs $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Gmail_SendAs");
+ }
+ /**
+ * Sends a verification email to the specified send-as alias address. The
+ * verification status must be pending.
+ *
+ * This method is only available to service account clients that have been
+ * delegated domain-wide authority. (sendAs.verify)
+ *
+ * @param string $userId User's email address. The special value "me" can be
+ * used to indicate the authenticated user.
+ * @param string $sendAsEmail The send-as alias to be verified.
+ * @param array $optParams Optional parameters.
+ */
+ public function verify($userId, $sendAsEmail, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail);
+ $params = array_merge($params, $optParams);
+ return $this->call('verify', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAsSmimeInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAsSmimeInfo.php
new file mode 100644
index 00000000..fe09c562
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAsSmimeInfo.php
@@ -0,0 +1,115 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "smimeInfo" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Google_Service_Gmail(...);
+ * $smimeInfo = $gmailService->smimeInfo;
+ * </code>
+ */
+class Google_Service_Gmail_Resource_UsersSettingsSendAsSmimeInfo extends Google_Service_Resource
+{
+ /**
+ * Deletes the specified S/MIME config for the specified send-as alias.
+ * (smimeInfo.delete)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $sendAsEmail The email address that appears in the "From:"
+ * header for mail sent using this alias.
+ * @param string $id The immutable ID for the SmimeInfo.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userId, $sendAsEmail, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets the specified S/MIME config for the specified send-as alias.
+ * (smimeInfo.get)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $sendAsEmail The email address that appears in the "From:"
+ * header for mail sent using this alias.
+ * @param string $id The immutable ID for the SmimeInfo.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_SmimeInfo
+ */
+ public function get($userId, $sendAsEmail, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Gmail_SmimeInfo");
+ }
+ /**
+ * Insert (upload) the given S/MIME config for the specified send-as alias. Note
+ * that pkcs12 format is required for the key. (smimeInfo.insert)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $sendAsEmail The email address that appears in the "From:"
+ * header for mail sent using this alias.
+ * @param Google_Service_Gmail_SmimeInfo $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_SmimeInfo
+ */
+ public function insert($userId, $sendAsEmail, Google_Service_Gmail_SmimeInfo $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Gmail_SmimeInfo");
+ }
+ /**
+ * Lists S/MIME configs for the specified send-as alias.
+ * (smimeInfo.listUsersSettingsSendAsSmimeInfo)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $sendAsEmail The email address that appears in the "From:"
+ * header for mail sent using this alias.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_ListSmimeInfoResponse
+ */
+ public function listUsersSettingsSendAsSmimeInfo($userId, $sendAsEmail, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Gmail_ListSmimeInfoResponse");
+ }
+ /**
+ * Sets the default S/MIME config for the specified send-as alias.
+ * (smimeInfo.setDefault)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $sendAsEmail The email address that appears in the "From:"
+ * header for mail sent using this alias.
+ * @param string $id The immutable ID for the SmimeInfo.
+ * @param array $optParams Optional parameters.
+ */
+ public function setDefault($userId, $sendAsEmail, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('setDefault', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersThreads.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersThreads.php
new file mode 100644
index 00000000..a51e541c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersThreads.php
@@ -0,0 +1,135 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "threads" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Google_Service_Gmail(...);
+ * $threads = $gmailService->threads;
+ * </code>
+ */
+class Google_Service_Gmail_Resource_UsersThreads extends 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 format The format to return the messages in.
+ * @opt_param string metadataHeaders When given and format is METADATA, only
+ * include headers specified.
+ * @return 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), "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 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.
+ * @opt_param string maxResults Maximum number of threads to return.
+ * @opt_param string pageToken Page token to retrieve a specific page of results
+ * in the list.
+ * @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". Parameter cannot be used
+ * when accessing the api using the gmail.metadata scope.
+ * @return 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), "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 Google_Service_Gmail_ModifyThreadRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Thread
+ */
+ public function modify($userId, $id, 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), "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 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), "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 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), "Google_Service_Gmail_Thread");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SendAs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SendAs.php
new file mode 100644
index 00000000..7df3937c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SendAs.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_SendAs extends Google_Model
+{
+ public $displayName;
+ public $isDefault;
+ public $isPrimary;
+ public $replyToAddress;
+ public $sendAsEmail;
+ public $signature;
+ protected $smtpMsaType = 'Google_Service_Gmail_SmtpMsa';
+ protected $smtpMsaDataType = '';
+ public $treatAsAlias;
+ public $verificationStatus;
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setIsDefault($isDefault)
+ {
+ $this->isDefault = $isDefault;
+ }
+ public function getIsDefault()
+ {
+ return $this->isDefault;
+ }
+ public function setIsPrimary($isPrimary)
+ {
+ $this->isPrimary = $isPrimary;
+ }
+ public function getIsPrimary()
+ {
+ return $this->isPrimary;
+ }
+ public function setReplyToAddress($replyToAddress)
+ {
+ $this->replyToAddress = $replyToAddress;
+ }
+ public function getReplyToAddress()
+ {
+ return $this->replyToAddress;
+ }
+ public function setSendAsEmail($sendAsEmail)
+ {
+ $this->sendAsEmail = $sendAsEmail;
+ }
+ public function getSendAsEmail()
+ {
+ return $this->sendAsEmail;
+ }
+ public function setSignature($signature)
+ {
+ $this->signature = $signature;
+ }
+ public function getSignature()
+ {
+ return $this->signature;
+ }
+ public function setSmtpMsa(Google_Service_Gmail_SmtpMsa $smtpMsa)
+ {
+ $this->smtpMsa = $smtpMsa;
+ }
+ public function getSmtpMsa()
+ {
+ return $this->smtpMsa;
+ }
+ public function setTreatAsAlias($treatAsAlias)
+ {
+ $this->treatAsAlias = $treatAsAlias;
+ }
+ public function getTreatAsAlias()
+ {
+ return $this->treatAsAlias;
+ }
+ public function setVerificationStatus($verificationStatus)
+ {
+ $this->verificationStatus = $verificationStatus;
+ }
+ public function getVerificationStatus()
+ {
+ return $this->verificationStatus;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SmimeInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SmimeInfo.php
new file mode 100644
index 00000000..e8ef0792
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SmimeInfo.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_SmimeInfo extends Google_Model
+{
+ public $encryptedKeyPassword;
+ public $expiration;
+ public $id;
+ public $isDefault;
+ public $issuerCn;
+ public $pem;
+ public $pkcs12;
+
+ public function setEncryptedKeyPassword($encryptedKeyPassword)
+ {
+ $this->encryptedKeyPassword = $encryptedKeyPassword;
+ }
+ public function getEncryptedKeyPassword()
+ {
+ return $this->encryptedKeyPassword;
+ }
+ 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 setIsDefault($isDefault)
+ {
+ $this->isDefault = $isDefault;
+ }
+ public function getIsDefault()
+ {
+ return $this->isDefault;
+ }
+ public function setIssuerCn($issuerCn)
+ {
+ $this->issuerCn = $issuerCn;
+ }
+ public function getIssuerCn()
+ {
+ return $this->issuerCn;
+ }
+ public function setPem($pem)
+ {
+ $this->pem = $pem;
+ }
+ public function getPem()
+ {
+ return $this->pem;
+ }
+ public function setPkcs12($pkcs12)
+ {
+ $this->pkcs12 = $pkcs12;
+ }
+ public function getPkcs12()
+ {
+ return $this->pkcs12;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SmtpMsa.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SmtpMsa.php
new file mode 100644
index 00000000..5d3c9847
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SmtpMsa.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_SmtpMsa extends Google_Model
+{
+ public $host;
+ public $password;
+ public $port;
+ public $securityMode;
+ public $username;
+
+ public function setHost($host)
+ {
+ $this->host = $host;
+ }
+ public function getHost()
+ {
+ return $this->host;
+ }
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+ public function getPassword()
+ {
+ return $this->password;
+ }
+ public function setPort($port)
+ {
+ $this->port = $port;
+ }
+ public function getPort()
+ {
+ return $this->port;
+ }
+ public function setSecurityMode($securityMode)
+ {
+ $this->securityMode = $securityMode;
+ }
+ public function getSecurityMode()
+ {
+ return $this->securityMode;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Thread.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Thread.php
new file mode 100644
index 00000000..585b562f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Thread.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_Thread extends Google_Collection
+{
+ protected $collection_key = 'messages';
+ public $historyId;
+ public $id;
+ protected $messagesType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/VacationSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/VacationSettings.php
new file mode 100644
index 00000000..99985428
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/VacationSettings.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_VacationSettings extends Google_Model
+{
+ public $enableAutoReply;
+ public $endTime;
+ public $responseBodyHtml;
+ public $responseBodyPlainText;
+ public $responseSubject;
+ public $restrictToContacts;
+ public $restrictToDomain;
+ public $startTime;
+
+ public function setEnableAutoReply($enableAutoReply)
+ {
+ $this->enableAutoReply = $enableAutoReply;
+ }
+ public function getEnableAutoReply()
+ {
+ return $this->enableAutoReply;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setResponseBodyHtml($responseBodyHtml)
+ {
+ $this->responseBodyHtml = $responseBodyHtml;
+ }
+ public function getResponseBodyHtml()
+ {
+ return $this->responseBodyHtml;
+ }
+ public function setResponseBodyPlainText($responseBodyPlainText)
+ {
+ $this->responseBodyPlainText = $responseBodyPlainText;
+ }
+ public function getResponseBodyPlainText()
+ {
+ return $this->responseBodyPlainText;
+ }
+ public function setResponseSubject($responseSubject)
+ {
+ $this->responseSubject = $responseSubject;
+ }
+ public function getResponseSubject()
+ {
+ return $this->responseSubject;
+ }
+ public function setRestrictToContacts($restrictToContacts)
+ {
+ $this->restrictToContacts = $restrictToContacts;
+ }
+ public function getRestrictToContacts()
+ {
+ return $this->restrictToContacts;
+ }
+ public function setRestrictToDomain($restrictToDomain)
+ {
+ $this->restrictToDomain = $restrictToDomain;
+ }
+ public function getRestrictToDomain()
+ {
+ return $this->restrictToDomain;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/WatchRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/WatchRequest.php
new file mode 100644
index 00000000..6be53b54
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/WatchRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_WatchRequest extends Google_Collection
+{
+ protected $collection_key = 'labelIds';
+ public $labelFilterAction;
+ public $labelIds;
+ public $topicName;
+
+ public function setLabelFilterAction($labelFilterAction)
+ {
+ $this->labelFilterAction = $labelFilterAction;
+ }
+ public function getLabelFilterAction()
+ {
+ return $this->labelFilterAction;
+ }
+ public function setLabelIds($labelIds)
+ {
+ $this->labelIds = $labelIds;
+ }
+ public function getLabelIds()
+ {
+ return $this->labelIds;
+ }
+ public function setTopicName($topicName)
+ {
+ $this->topicName = $topicName;
+ }
+ public function getTopicName()
+ {
+ return $this->topicName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/WatchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/WatchResponse.php
new file mode 100644
index 00000000..bcebc35a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/WatchResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Gmail_WatchResponse extends Google_Model
+{
+ public $expiration;
+ public $historyId;
+
+ public function setExpiration($expiration)
+ {
+ $this->expiration = $expiration;
+ }
+ public function getExpiration()
+ {
+ return $this->expiration;
+ }
+ public function setHistoryId($historyId)
+ {
+ $this->historyId = $historyId;
+ }
+ public function getHistoryId()
+ {
+ return $this->historyId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration.php
new file mode 100644
index 00000000..95eb6c8a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration.php
@@ -0,0 +1,73 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GroupsMigration extends Google_Service
+{
+ /** Manage messages in groups on your domain. */
+ const APPS_GROUPS_MIGRATION =
+ "https://www.googleapis.com/auth/apps.groups.migration";
+
+ public $archive;
+
+ /**
+ * Constructs the internal representation of the GroupsMigration service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'groups/v1/groups/';
+ $this->version = 'v1';
+ $this->serviceName = 'groupsmigration';
+
+ $this->archive = new Google_Service_GroupsMigration_Resource_Archive(
+ $this,
+ $this->serviceName,
+ 'archive',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => '{groupId}/archive',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'groupId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration/Groups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration/Groups.php
new file mode 100644
index 00000000..e57ec84d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration/Groups.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_GroupsMigration_Groups extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration/Resource/Archive.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration/Resource/Archive.php
new file mode 100644
index 00000000..26227bab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration/Resource/Archive.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "archive" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $groupsmigrationService = new Google_Service_GroupsMigration(...);
+ * $archive = $groupsmigrationService->archive;
+ * </code>
+ */
+class Google_Service_GroupsMigration_Resource_Archive extends 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 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), "Google_Service_GroupsMigration_Groups");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings.php
new file mode 100644
index 00000000..75f7e8ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Groupssettings extends Google_Service
+{
+ /** View and manage the settings of a G Suite group. */
+ const APPS_GROUPS_SETTINGS =
+ "https://www.googleapis.com/auth/apps.groups.settings";
+
+ public $groups;
+
+ /**
+ * Constructs the internal representation of the Groupssettings service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'groups/v1/groups/';
+ $this->version = 'v1';
+ $this->serviceName = 'groupssettings';
+
+ $this->groups = new Google_Service_Groupssettings_Resource_Groups(
+ $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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings/Groups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings/Groups.php
new file mode 100644
index 00000000..b83138b9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings/Groups.php
@@ -0,0 +1,300 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Groupssettings_Groups extends Google_Model
+{
+ public $allowExternalMembers;
+ public $allowGoogleCommunication;
+ public $allowWebPosting;
+ public $archiveOnly;
+ public $customFooterText;
+ public $customReplyTo;
+ public $defaultMessageDenyNotificationText;
+ public $description;
+ public $email;
+ public $includeCustomFooter;
+ 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 $whoCanAdd;
+ 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 setCustomFooterText($customFooterText)
+ {
+ $this->customFooterText = $customFooterText;
+ }
+ public function getCustomFooterText()
+ {
+ return $this->customFooterText;
+ }
+ 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 setIncludeCustomFooter($includeCustomFooter)
+ {
+ $this->includeCustomFooter = $includeCustomFooter;
+ }
+ public function getIncludeCustomFooter()
+ {
+ return $this->includeCustomFooter;
+ }
+ 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 setWhoCanAdd($whoCanAdd)
+ {
+ $this->whoCanAdd = $whoCanAdd;
+ }
+ public function getWhoCanAdd()
+ {
+ return $this->whoCanAdd;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings/Resource/Groups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings/Resource/Groups.php
new file mode 100644
index 00000000..b706e219
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings/Resource/Groups.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "groups" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $groupssettingsService = new Google_Service_Groupssettings(...);
+ * $groups = $groupssettingsService->groups;
+ * </code>
+ */
+class Google_Service_Groupssettings_Resource_Groups extends Google_Service_Resource
+{
+ /**
+ * Gets one resource by id. (groups.get)
+ *
+ * @param string $groupUniqueId The resource ID
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Groupssettings_Groups");
+ }
+ /**
+ * Updates an existing resource. This method supports patch semantics.
+ * (groups.patch)
+ *
+ * @param string $groupUniqueId The resource ID
+ * @param Google_Service_Groupssettings_Groups $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Groupssettings_Groups
+ */
+ public function patch($groupUniqueId, Google_Service_Groupssettings_Groups $postBody, $optParams = array())
+ {
+ $params = array('groupUniqueId' => $groupUniqueId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Groupssettings_Groups");
+ }
+ /**
+ * Updates an existing resource. (groups.update)
+ *
+ * @param string $groupUniqueId The resource ID
+ * @param Google_Service_Groupssettings_Groups $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Groupssettings_Groups
+ */
+ public function update($groupUniqueId, Google_Service_Groupssettings_Groups $postBody, $optParams = array())
+ {
+ $params = array('groupUniqueId' => $groupUniqueId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Groupssettings_Groups");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam.php
new file mode 100644
index 00000000..9852bf2d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam.php
@@ -0,0 +1,248 @@
+<?php
+/*
+ * Copyright 2016 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 Iam (v1).
+ *
+ * <p>
+ * Manages identity and access control for Google Cloud Platform resources,
+ * including the creation of service accounts, which you can use to authenticate
+ * to Google and make API calls.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/iam/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Iam extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $projects_serviceAccounts;
+ public $projects_serviceAccounts_keys;
+ public $roles;
+
+ /**
+ * Constructs the internal representation of the Iam service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://iam.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'iam';
+
+ $this->projects_serviceAccounts = new Google_Service_Iam_Resource_ProjectsServiceAccounts(
+ $this,
+ $this->serviceName,
+ 'serviceAccounts',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/{+name}/serviceAccounts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => 'v1/{+resource}:getIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+name}/serviceAccounts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => 'v1/{+resource}:setIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'signBlob' => array(
+ 'path' => 'v1/{+name}:signBlob',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'signJwt' => array(
+ 'path' => 'v1/{+name}:signJwt',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => 'v1/{+resource}:testIamPermissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_serviceAccounts_keys = new Google_Service_Iam_Resource_ProjectsServiceAccountsKeys(
+ $this,
+ $this->serviceName,
+ 'keys',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/{+name}/keys',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'publicKeyType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+name}/keys',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'keyTypes' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->roles = new Google_Service_Iam_Resource_Roles(
+ $this,
+ $this->serviceName,
+ 'roles',
+ array(
+ 'methods' => array(
+ 'queryGrantableRoles' => array(
+ 'path' => 'v1/roles:queryGrantableRoles',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/AuditData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/AuditData.php
new file mode 100644
index 00000000..d64da48a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/AuditData.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_AuditData extends Google_Model
+{
+ protected $policyDeltaType = 'Google_Service_Iam_PolicyDelta';
+ protected $policyDeltaDataType = '';
+
+ public function setPolicyDelta(Google_Service_Iam_PolicyDelta $policyDelta)
+ {
+ $this->policyDelta = $policyDelta;
+ }
+ public function getPolicyDelta()
+ {
+ return $this->policyDelta;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Binding.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Binding.php
new file mode 100644
index 00000000..70c5c869
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Binding.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_Binding extends Google_Collection
+{
+ protected $collection_key = 'members';
+ public $members;
+ public $role;
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/BindingDelta.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/BindingDelta.php
new file mode 100644
index 00000000..55a93c74
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/BindingDelta.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_BindingDelta extends Google_Model
+{
+ public $action;
+ public $member;
+ public $role;
+
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setMember($member)
+ {
+ $this->member = $member;
+ }
+ public function getMember()
+ {
+ return $this->member;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CloudAuditOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CloudAuditOptions.php
new file mode 100644
index 00000000..1e6436cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CloudAuditOptions.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_CloudAuditOptions extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Condition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Condition.php
new file mode 100644
index 00000000..26c989c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Condition.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_Condition extends Google_Collection
+{
+ protected $collection_key = 'values';
+ public $iam;
+ public $op;
+ public $svc;
+ public $sys;
+ public $value;
+ public $values;
+
+ public function setIam($iam)
+ {
+ $this->iam = $iam;
+ }
+ public function getIam()
+ {
+ return $this->iam;
+ }
+ public function setOp($op)
+ {
+ $this->op = $op;
+ }
+ public function getOp()
+ {
+ return $this->op;
+ }
+ public function setSvc($svc)
+ {
+ $this->svc = $svc;
+ }
+ public function getSvc()
+ {
+ return $this->svc;
+ }
+ public function setSys($sys)
+ {
+ $this->sys = $sys;
+ }
+ public function getSys()
+ {
+ return $this->sys;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CounterOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CounterOptions.php
new file mode 100644
index 00000000..933b5cf4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CounterOptions.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_CounterOptions extends Google_Model
+{
+ public $field;
+ public $metric;
+
+ public function setField($field)
+ {
+ $this->field = $field;
+ }
+ public function getField()
+ {
+ return $this->field;
+ }
+ public function setMetric($metric)
+ {
+ $this->metric = $metric;
+ }
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CreateServiceAccountKeyRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CreateServiceAccountKeyRequest.php
new file mode 100644
index 00000000..d85c9b32
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CreateServiceAccountKeyRequest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_CreateServiceAccountKeyRequest extends Google_Model
+{
+ public $keyAlgorithm;
+ public $privateKeyType;
+
+ public function setKeyAlgorithm($keyAlgorithm)
+ {
+ $this->keyAlgorithm = $keyAlgorithm;
+ }
+ public function getKeyAlgorithm()
+ {
+ return $this->keyAlgorithm;
+ }
+ public function setPrivateKeyType($privateKeyType)
+ {
+ $this->privateKeyType = $privateKeyType;
+ }
+ public function getPrivateKeyType()
+ {
+ return $this->privateKeyType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CreateServiceAccountRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CreateServiceAccountRequest.php
new file mode 100644
index 00000000..1d0ad16a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CreateServiceAccountRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_CreateServiceAccountRequest extends Google_Model
+{
+ public $accountId;
+ protected $serviceAccountType = 'Google_Service_Iam_ServiceAccount';
+ protected $serviceAccountDataType = '';
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setServiceAccount(Google_Service_Iam_ServiceAccount $serviceAccount)
+ {
+ $this->serviceAccount = $serviceAccount;
+ }
+ public function getServiceAccount()
+ {
+ return $this->serviceAccount;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/DataAccessOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/DataAccessOptions.php
new file mode 100644
index 00000000..0e843bca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/DataAccessOptions.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_DataAccessOptions extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/IamEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/IamEmpty.php
new file mode 100644
index 00000000..8e2cd2a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/IamEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_IamEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ListServiceAccountKeysResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ListServiceAccountKeysResponse.php
new file mode 100644
index 00000000..c0cfa62c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ListServiceAccountKeysResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_ListServiceAccountKeysResponse extends Google_Collection
+{
+ protected $collection_key = 'keys';
+ protected $keysType = 'Google_Service_Iam_ServiceAccountKey';
+ protected $keysDataType = 'array';
+
+ public function setKeys($keys)
+ {
+ $this->keys = $keys;
+ }
+ public function getKeys()
+ {
+ return $this->keys;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ListServiceAccountsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ListServiceAccountsResponse.php
new file mode 100644
index 00000000..93445ebb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ListServiceAccountsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_ListServiceAccountsResponse extends Google_Collection
+{
+ protected $collection_key = 'accounts';
+ protected $accountsType = 'Google_Service_Iam_ServiceAccount';
+ protected $accountsDataType = 'array';
+ public $nextPageToken;
+
+ public function setAccounts($accounts)
+ {
+ $this->accounts = $accounts;
+ }
+ public function getAccounts()
+ {
+ return $this->accounts;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/LogConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/LogConfig.php
new file mode 100644
index 00000000..b8d479ed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/LogConfig.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_LogConfig extends Google_Model
+{
+ protected $cloudAuditType = 'Google_Service_Iam_CloudAuditOptions';
+ protected $cloudAuditDataType = '';
+ protected $counterType = 'Google_Service_Iam_CounterOptions';
+ protected $counterDataType = '';
+ protected $dataAccessType = 'Google_Service_Iam_DataAccessOptions';
+ protected $dataAccessDataType = '';
+
+ public function setCloudAudit(Google_Service_Iam_CloudAuditOptions $cloudAudit)
+ {
+ $this->cloudAudit = $cloudAudit;
+ }
+ public function getCloudAudit()
+ {
+ return $this->cloudAudit;
+ }
+ public function setCounter(Google_Service_Iam_CounterOptions $counter)
+ {
+ $this->counter = $counter;
+ }
+ public function getCounter()
+ {
+ return $this->counter;
+ }
+ public function setDataAccess(Google_Service_Iam_DataAccessOptions $dataAccess)
+ {
+ $this->dataAccess = $dataAccess;
+ }
+ public function getDataAccess()
+ {
+ return $this->dataAccess;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Policy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Policy.php
new file mode 100644
index 00000000..7b8f0b5e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Policy.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_Policy extends Google_Collection
+{
+ protected $collection_key = 'bindings';
+ protected $bindingsType = 'Google_Service_Iam_Binding';
+ protected $bindingsDataType = 'array';
+ public $etag;
+ public $version;
+
+ public function setBindings($bindings)
+ {
+ $this->bindings = $bindings;
+ }
+ public function getBindings()
+ {
+ return $this->bindings;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/PolicyDelta.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/PolicyDelta.php
new file mode 100644
index 00000000..cf1ab25f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/PolicyDelta.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_PolicyDelta extends Google_Collection
+{
+ protected $collection_key = 'bindingDeltas';
+ protected $bindingDeltasType = 'Google_Service_Iam_BindingDelta';
+ protected $bindingDeltasDataType = 'array';
+
+ public function setBindingDeltas($bindingDeltas)
+ {
+ $this->bindingDeltas = $bindingDeltas;
+ }
+ public function getBindingDeltas()
+ {
+ return $this->bindingDeltas;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/QueryGrantableRolesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/QueryGrantableRolesRequest.php
new file mode 100644
index 00000000..dd63cfcf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/QueryGrantableRolesRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_QueryGrantableRolesRequest extends Google_Model
+{
+ public $fullResourceName;
+
+ public function setFullResourceName($fullResourceName)
+ {
+ $this->fullResourceName = $fullResourceName;
+ }
+ public function getFullResourceName()
+ {
+ return $this->fullResourceName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/QueryGrantableRolesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/QueryGrantableRolesResponse.php
new file mode 100644
index 00000000..759f85f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/QueryGrantableRolesResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_QueryGrantableRolesResponse extends Google_Collection
+{
+ protected $collection_key = 'roles';
+ protected $rolesType = 'Google_Service_Iam_Role';
+ protected $rolesDataType = 'array';
+
+ public function setRoles($roles)
+ {
+ $this->roles = $roles;
+ }
+ public function getRoles()
+ {
+ return $this->roles;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/Projects.php
new file mode 100644
index 00000000..5b51eb8a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/Projects.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $iamService = new Google_Service_Iam(...);
+ * $projects = $iamService->projects;
+ * </code>
+ */
+class Google_Service_Iam_Resource_Projects extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsServiceAccounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsServiceAccounts.php
new file mode 100644
index 00000000..481454d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsServiceAccounts.php
@@ -0,0 +1,215 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "serviceAccounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $iamService = new Google_Service_Iam(...);
+ * $serviceAccounts = $iamService->serviceAccounts;
+ * </code>
+ */
+class Google_Service_Iam_Resource_ProjectsServiceAccounts extends Google_Service_Resource
+{
+ /**
+ * Creates a ServiceAccount and returns it. (serviceAccounts.create)
+ *
+ * @param string $name Required. The resource name of the project associated
+ * with the service accounts, such as `projects/my-project-123`.
+ * @param Google_Service_Iam_CreateServiceAccountRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Iam_ServiceAccount
+ */
+ public function create($name, Google_Service_Iam_CreateServiceAccountRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Iam_ServiceAccount");
+ }
+ /**
+ * Deletes a ServiceAccount. (serviceAccounts.delete)
+ *
+ * @param string $name The resource name of the service account in the following
+ * format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.
+ * Using `-` as a wildcard for the project will infer the project from the
+ * account. The `account` value can be the `email` address or the `unique_id` of
+ * the service account.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Iam_IamEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Iam_IamEmpty");
+ }
+ /**
+ * Gets a ServiceAccount. (serviceAccounts.get)
+ *
+ * @param string $name The resource name of the service account in the following
+ * format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.
+ * Using `-` as a wildcard for the project will infer the project from the
+ * account. The `account` value can be the `email` address or the `unique_id` of
+ * the service account.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Iam_ServiceAccount
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Iam_ServiceAccount");
+ }
+ /**
+ * Returns the IAM access control policy for a ServiceAccount.
+ * (serviceAccounts.getIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * requested. `resource` is usually specified as a path. For example, a Project
+ * resource is specified as `projects/{project}`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Iam_Policy
+ */
+ public function getIamPolicy($resource, $optParams = array())
+ {
+ $params = array('resource' => $resource);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_Iam_Policy");
+ }
+ /**
+ * Lists ServiceAccounts for a project.
+ * (serviceAccounts.listProjectsServiceAccounts)
+ *
+ * @param string $name Required. The resource name of the project associated
+ * with the service accounts, such as `projects/my-project-123`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional pagination token returned in an earlier
+ * ListServiceAccountsResponse.next_page_token.
+ * @opt_param int pageSize Optional limit on the number of service accounts to
+ * include in the response. Further accounts can subsequently be obtained by
+ * including the ListServiceAccountsResponse.next_page_token in a subsequent
+ * request.
+ * @return Google_Service_Iam_ListServiceAccountsResponse
+ */
+ public function listProjectsServiceAccounts($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Iam_ListServiceAccountsResponse");
+ }
+ /**
+ * Sets the IAM access control policy for a ServiceAccount.
+ * (serviceAccounts.setIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * specified. `resource` is usually specified as a path. For example, a Project
+ * resource is specified as `projects/{project}`.
+ * @param Google_Service_Iam_SetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Iam_Policy
+ */
+ public function setIamPolicy($resource, Google_Service_Iam_SetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_Iam_Policy");
+ }
+ /**
+ * Signs a blob using a service account's system-managed private key.
+ * (serviceAccounts.signBlob)
+ *
+ * @param string $name The resource name of the service account in the following
+ * format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.
+ * Using `-` as a wildcard for the project will infer the project from the
+ * account. The `account` value can be the `email` address or the `unique_id` of
+ * the service account.
+ * @param Google_Service_Iam_SignBlobRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Iam_SignBlobResponse
+ */
+ public function signBlob($name, Google_Service_Iam_SignBlobRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('signBlob', array($params), "Google_Service_Iam_SignBlobResponse");
+ }
+ /**
+ * Signs a JWT using a service account's system-managed private key.
+ *
+ * If no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an an
+ * expiry time of one hour by default. If you request an expiry time of more
+ * than one hour, the request will fail. (serviceAccounts.signJwt)
+ *
+ * @param string $name The resource name of the service account in the following
+ * format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.
+ * Using `-` as a wildcard for the project will infer the project from the
+ * account. The `account` value can be the `email` address or the `unique_id` of
+ * the service account.
+ * @param Google_Service_Iam_SignJwtRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Iam_SignJwtResponse
+ */
+ public function signJwt($name, Google_Service_Iam_SignJwtRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('signJwt', array($params), "Google_Service_Iam_SignJwtResponse");
+ }
+ /**
+ * Tests the specified permissions against the IAM access control policy for a
+ * ServiceAccount. (serviceAccounts.testIamPermissions)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy detail is
+ * being requested. `resource` is usually specified as a path. For example, a
+ * Project resource is specified as `projects/{project}`.
+ * @param Google_Service_Iam_TestIamPermissionsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Iam_TestIamPermissionsResponse
+ */
+ public function testIamPermissions($resource, Google_Service_Iam_TestIamPermissionsRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_Iam_TestIamPermissionsResponse");
+ }
+ /**
+ * Updates a ServiceAccount.
+ *
+ * Currently, only the following fields are updatable: `display_name` . The
+ * `etag` is mandatory. (serviceAccounts.update)
+ *
+ * @param string $name The resource name of the service account in the following
+ * format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.
+ *
+ * Requests using `-` as a wildcard for the project will infer the project from
+ * the `account` and the `account` value can be the `email` address or the
+ * `unique_id` of the service account.
+ *
+ * In responses the resource name will always be in the format
+ * `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.
+ * @param Google_Service_Iam_ServiceAccount $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Iam_ServiceAccount
+ */
+ public function update($name, Google_Service_Iam_ServiceAccount $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Iam_ServiceAccount");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsServiceAccountsKeys.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsServiceAccountsKeys.php
new file mode 100644
index 00000000..3dcb5bcf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsServiceAccountsKeys.php
@@ -0,0 +1,108 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "keys" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $iamService = new Google_Service_Iam(...);
+ * $keys = $iamService->keys;
+ * </code>
+ */
+class Google_Service_Iam_Resource_ProjectsServiceAccountsKeys extends Google_Service_Resource
+{
+ /**
+ * Creates a ServiceAccountKey and returns it. (keys.create)
+ *
+ * @param string $name The resource name of the service account in the following
+ * format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.
+ * Using `-` as a wildcard for the project will infer the project from the
+ * account. The `account` value can be the `email` address or the `unique_id` of
+ * the service account.
+ * @param Google_Service_Iam_CreateServiceAccountKeyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Iam_ServiceAccountKey
+ */
+ public function create($name, Google_Service_Iam_CreateServiceAccountKeyRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Iam_ServiceAccountKey");
+ }
+ /**
+ * Deletes a ServiceAccountKey. (keys.delete)
+ *
+ * @param string $name The resource name of the service account key in the
+ * following format:
+ * `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.
+ * Using `-` as a wildcard for the project will infer the project from the
+ * account. The `account` value can be the `email` address or the `unique_id` of
+ * the service account.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Iam_IamEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Iam_IamEmpty");
+ }
+ /**
+ * Gets the ServiceAccountKey by key id. (keys.get)
+ *
+ * @param string $name The resource name of the service account key in the
+ * following format:
+ * `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.
+ *
+ * Using `-` as a wildcard for the project will infer the project from the
+ * account. The `account` value can be the `email` address or the `unique_id` of
+ * the service account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string publicKeyType The output format of the public key
+ * requested. X509_PEM is the default output format.
+ * @return Google_Service_Iam_ServiceAccountKey
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Iam_ServiceAccountKey");
+ }
+ /**
+ * Lists ServiceAccountKeys. (keys.listProjectsServiceAccountsKeys)
+ *
+ * @param string $name The resource name of the service account in the following
+ * format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.
+ *
+ * Using `-` as a wildcard for the project, will infer the project from the
+ * account. The `account` value can be the `email` address or the `unique_id` of
+ * the service account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string keyTypes Filters the types of keys the user wants to
+ * include in the list response. Duplicate key types are not allowed. If no key
+ * type is provided, all keys are returned.
+ * @return Google_Service_Iam_ListServiceAccountKeysResponse
+ */
+ public function listProjectsServiceAccountsKeys($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Iam_ListServiceAccountKeysResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/Roles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/Roles.php
new file mode 100644
index 00000000..51ab8e9c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/Roles.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "roles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $iamService = new Google_Service_Iam(...);
+ * $roles = $iamService->roles;
+ * </code>
+ */
+class Google_Service_Iam_Resource_Roles extends Google_Service_Resource
+{
+ /**
+ * Queries roles that can be granted on a particular resource. A role is
+ * grantable if it can be used as the role in a binding for a policy for that
+ * resource. (roles.queryGrantableRoles)
+ *
+ * @param Google_Service_Iam_QueryGrantableRolesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Iam_QueryGrantableRolesResponse
+ */
+ public function queryGrantableRoles(Google_Service_Iam_QueryGrantableRolesRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('queryGrantableRoles', array($params), "Google_Service_Iam_QueryGrantableRolesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Role.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Role.php
new file mode 100644
index 00000000..07e3bcd1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Role.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_Role extends Google_Model
+{
+ public $description;
+ public $name;
+ public $title;
+
+ 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 setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Rule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Rule.php
new file mode 100644
index 00000000..46705c88
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Rule.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_Rule extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $action;
+ protected $conditionsType = 'Google_Service_Iam_Condition';
+ protected $conditionsDataType = 'array';
+ public $description;
+ public $in;
+ protected $logConfigType = 'Google_Service_Iam_LogConfig';
+ protected $logConfigDataType = 'array';
+ public $notIn;
+ public $permissions;
+
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setConditions($conditions)
+ {
+ $this->conditions = $conditions;
+ }
+ public function getConditions()
+ {
+ return $this->conditions;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setIn($in)
+ {
+ $this->in = $in;
+ }
+ public function getIn()
+ {
+ return $this->in;
+ }
+ public function setLogConfig($logConfig)
+ {
+ $this->logConfig = $logConfig;
+ }
+ public function getLogConfig()
+ {
+ return $this->logConfig;
+ }
+ public function setNotIn($notIn)
+ {
+ $this->notIn = $notIn;
+ }
+ public function getNotIn()
+ {
+ return $this->notIn;
+ }
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ServiceAccount.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ServiceAccount.php
new file mode 100644
index 00000000..946dd856
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ServiceAccount.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_ServiceAccount extends Google_Model
+{
+ public $displayName;
+ public $email;
+ public $etag;
+ public $name;
+ public $oauth2ClientId;
+ public $projectId;
+ public $uniqueId;
+
+ 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 setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOauth2ClientId($oauth2ClientId)
+ {
+ $this->oauth2ClientId = $oauth2ClientId;
+ }
+ public function getOauth2ClientId()
+ {
+ return $this->oauth2ClientId;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setUniqueId($uniqueId)
+ {
+ $this->uniqueId = $uniqueId;
+ }
+ public function getUniqueId()
+ {
+ return $this->uniqueId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ServiceAccountKey.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ServiceAccountKey.php
new file mode 100644
index 00000000..a65024e7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ServiceAccountKey.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_ServiceAccountKey extends Google_Model
+{
+ public $keyAlgorithm;
+ public $name;
+ public $privateKeyData;
+ public $privateKeyType;
+ public $publicKeyData;
+ public $validAfterTime;
+ public $validBeforeTime;
+
+ public function setKeyAlgorithm($keyAlgorithm)
+ {
+ $this->keyAlgorithm = $keyAlgorithm;
+ }
+ public function getKeyAlgorithm()
+ {
+ return $this->keyAlgorithm;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPrivateKeyData($privateKeyData)
+ {
+ $this->privateKeyData = $privateKeyData;
+ }
+ public function getPrivateKeyData()
+ {
+ return $this->privateKeyData;
+ }
+ public function setPrivateKeyType($privateKeyType)
+ {
+ $this->privateKeyType = $privateKeyType;
+ }
+ public function getPrivateKeyType()
+ {
+ return $this->privateKeyType;
+ }
+ public function setPublicKeyData($publicKeyData)
+ {
+ $this->publicKeyData = $publicKeyData;
+ }
+ public function getPublicKeyData()
+ {
+ return $this->publicKeyData;
+ }
+ public function setValidAfterTime($validAfterTime)
+ {
+ $this->validAfterTime = $validAfterTime;
+ }
+ public function getValidAfterTime()
+ {
+ return $this->validAfterTime;
+ }
+ public function setValidBeforeTime($validBeforeTime)
+ {
+ $this->validBeforeTime = $validBeforeTime;
+ }
+ public function getValidBeforeTime()
+ {
+ return $this->validBeforeTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SetIamPolicyRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SetIamPolicyRequest.php
new file mode 100644
index 00000000..179610b1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SetIamPolicyRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_SetIamPolicyRequest extends Google_Model
+{
+ protected $policyType = 'Google_Service_Iam_Policy';
+ protected $policyDataType = '';
+
+ public function setPolicy(Google_Service_Iam_Policy $policy)
+ {
+ $this->policy = $policy;
+ }
+ public function getPolicy()
+ {
+ return $this->policy;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignBlobRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignBlobRequest.php
new file mode 100644
index 00000000..aa1b76c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignBlobRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_SignBlobRequest extends Google_Model
+{
+ public $bytesToSign;
+
+ public function setBytesToSign($bytesToSign)
+ {
+ $this->bytesToSign = $bytesToSign;
+ }
+ public function getBytesToSign()
+ {
+ return $this->bytesToSign;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignBlobResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignBlobResponse.php
new file mode 100644
index 00000000..0ae14b09
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignBlobResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_SignBlobResponse extends Google_Model
+{
+ public $keyId;
+ public $signature;
+
+ public function setKeyId($keyId)
+ {
+ $this->keyId = $keyId;
+ }
+ public function getKeyId()
+ {
+ return $this->keyId;
+ }
+ public function setSignature($signature)
+ {
+ $this->signature = $signature;
+ }
+ public function getSignature()
+ {
+ return $this->signature;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignJwtRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignJwtRequest.php
new file mode 100644
index 00000000..933e4d7c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignJwtRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_SignJwtRequest extends Google_Model
+{
+ public $payload;
+
+ public function setPayload($payload)
+ {
+ $this->payload = $payload;
+ }
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignJwtResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignJwtResponse.php
new file mode 100644
index 00000000..81452db4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignJwtResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_SignJwtResponse extends Google_Model
+{
+ public $keyId;
+ public $signedJwt;
+
+ public function setKeyId($keyId)
+ {
+ $this->keyId = $keyId;
+ }
+ public function getKeyId()
+ {
+ return $this->keyId;
+ }
+ public function setSignedJwt($signedJwt)
+ {
+ $this->signedJwt = $signedJwt;
+ }
+ public function getSignedJwt()
+ {
+ return $this->signedJwt;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/TestIamPermissionsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/TestIamPermissionsRequest.php
new file mode 100644
index 00000000..51680d13
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/TestIamPermissionsRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_TestIamPermissionsRequest extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/TestIamPermissionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/TestIamPermissionsResponse.php
new file mode 100644
index 00000000..fd56c51e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/TestIamPermissionsResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Iam_TestIamPermissionsResponse extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit.php
new file mode 100644
index 00000000..a1fb0a62
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit.php
@@ -0,0 +1,143 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View and administer all your Firebase data and settings. */
+ const FIREBASE =
+ "https://www.googleapis.com/auth/firebase";
+
+ public $relyingparty;
+
+ /**
+ * Constructs the internal representation of the IdentityToolkit service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'identitytoolkit/v3/relyingparty/';
+ $this->version = 'v3';
+ $this->serviceName = 'identitytoolkit';
+
+ $this->relyingparty = new Google_Service_IdentityToolkit_Resource_Relyingparty(
+ $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(),
+ ),'getProjectConfig' => array(
+ 'path' => 'getProjectConfig',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'delegatedProjectNumber' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectNumber' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getPublicKeys' => array(
+ 'path' => 'publicKeys',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),'getRecaptchaParam' => array(
+ 'path' => 'getRecaptchaParam',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),'resetPassword' => array(
+ 'path' => 'resetPassword',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'setAccountInfo' => array(
+ 'path' => 'setAccountInfo',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'setProjectConfig' => array(
+ 'path' => 'setProjectConfig',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'signOutUser' => array(
+ 'path' => 'signOutUser',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'signupNewUser' => array(
+ 'path' => 'signupNewUser',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'uploadAccount' => array(
+ 'path' => 'uploadAccount',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'verifyAssertion' => array(
+ 'path' => 'verifyAssertion',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'verifyCustomToken' => array(
+ 'path' => 'verifyCustomToken',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'verifyPassword' => array(
+ 'path' => 'verifyPassword',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/CreateAuthUriResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/CreateAuthUriResponse.php
new file mode 100644
index 00000000..8cc940bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/CreateAuthUriResponse.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_CreateAuthUriResponse extends Google_Collection
+{
+ protected $collection_key = 'allProviders';
+ public $allProviders;
+ public $authUri;
+ public $captchaRequired;
+ public $forExistingProvider;
+ public $kind;
+ public $providerId;
+ public $registered;
+ public $sessionId;
+
+ public function setAllProviders($allProviders)
+ {
+ $this->allProviders = $allProviders;
+ }
+ public function getAllProviders()
+ {
+ return $this->allProviders;
+ }
+ 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;
+ }
+ public function setSessionId($sessionId)
+ {
+ $this->sessionId = $sessionId;
+ }
+ public function getSessionId()
+ {
+ return $this->sessionId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/DeleteAccountResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/DeleteAccountResponse.php
new file mode 100644
index 00000000..62997d6f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/DeleteAccountResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_DeleteAccountResponse extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/DownloadAccountResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/DownloadAccountResponse.php
new file mode 100644
index 00000000..4ea793f6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/DownloadAccountResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_DownloadAccountResponse extends Google_Collection
+{
+ protected $collection_key = 'users';
+ public $kind;
+ public $nextPageToken;
+ protected $usersType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/EmailTemplate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/EmailTemplate.php
new file mode 100644
index 00000000..bc5f9b73
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/EmailTemplate.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_EmailTemplate extends Google_Model
+{
+ public $body;
+ public $format;
+ public $from;
+ public $fromDisplayName;
+ public $replyTo;
+ public $subject;
+
+ public function setBody($body)
+ {
+ $this->body = $body;
+ }
+ public function getBody()
+ {
+ return $this->body;
+ }
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setFrom($from)
+ {
+ $this->from = $from;
+ }
+ public function getFrom()
+ {
+ return $this->from;
+ }
+ public function setFromDisplayName($fromDisplayName)
+ {
+ $this->fromDisplayName = $fromDisplayName;
+ }
+ public function getFromDisplayName()
+ {
+ return $this->fromDisplayName;
+ }
+ public function setReplyTo($replyTo)
+ {
+ $this->replyTo = $replyTo;
+ }
+ public function getReplyTo()
+ {
+ return $this->replyTo;
+ }
+ public function setSubject($subject)
+ {
+ $this->subject = $subject;
+ }
+ public function getSubject()
+ {
+ return $this->subject;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetAccountInfoResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetAccountInfoResponse.php
new file mode 100644
index 00000000..a9e647c2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetAccountInfoResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_GetAccountInfoResponse extends Google_Collection
+{
+ protected $collection_key = 'users';
+ public $kind;
+ protected $usersType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetOobConfirmationCodeResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetOobConfirmationCodeResponse.php
new file mode 100644
index 00000000..1f5fc0f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetOobConfirmationCodeResponse.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse extends Google_Model
+{
+ public $email;
+ public $kind;
+ public $oobCode;
+
+ 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;
+ }
+ public function setOobCode($oobCode)
+ {
+ $this->oobCode = $oobCode;
+ }
+ public function getOobCode()
+ {
+ return $this->oobCode;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetRecaptchaParamResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetRecaptchaParamResponse.php
new file mode 100644
index 00000000..ae598afa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetRecaptchaParamResponse.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_GetRecaptchaParamResponse extends Google_Model
+{
+ public $kind;
+ public $recaptchaSiteKey;
+ public $recaptchaStoken;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRecaptchaSiteKey($recaptchaSiteKey)
+ {
+ $this->recaptchaSiteKey = $recaptchaSiteKey;
+ }
+ public function getRecaptchaSiteKey()
+ {
+ return $this->recaptchaSiteKey;
+ }
+ public function setRecaptchaStoken($recaptchaStoken)
+ {
+ $this->recaptchaStoken = $recaptchaStoken;
+ }
+ public function getRecaptchaStoken()
+ {
+ return $this->recaptchaStoken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyCreateAuthUriRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyCreateAuthUriRequest.php
new file mode 100644
index 00000000..801d638f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyCreateAuthUriRequest.php
@@ -0,0 +1,147 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriRequest extends Google_Model
+{
+ public $appId;
+ public $authFlowType;
+ public $clientId;
+ public $context;
+ public $continueUri;
+ public $customParameter;
+ public $hostedDomain;
+ public $identifier;
+ public $oauthConsumerKey;
+ public $oauthScope;
+ public $openidRealm;
+ public $otaApp;
+ public $providerId;
+ public $sessionId;
+
+ public function setAppId($appId)
+ {
+ $this->appId = $appId;
+ }
+ public function getAppId()
+ {
+ return $this->appId;
+ }
+ public function setAuthFlowType($authFlowType)
+ {
+ $this->authFlowType = $authFlowType;
+ }
+ public function getAuthFlowType()
+ {
+ return $this->authFlowType;
+ }
+ 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 setCustomParameter($customParameter)
+ {
+ $this->customParameter = $customParameter;
+ }
+ public function getCustomParameter()
+ {
+ return $this->customParameter;
+ }
+ public function setHostedDomain($hostedDomain)
+ {
+ $this->hostedDomain = $hostedDomain;
+ }
+ public function getHostedDomain()
+ {
+ return $this->hostedDomain;
+ }
+ public function setIdentifier($identifier)
+ {
+ $this->identifier = $identifier;
+ }
+ public function getIdentifier()
+ {
+ return $this->identifier;
+ }
+ public function setOauthConsumerKey($oauthConsumerKey)
+ {
+ $this->oauthConsumerKey = $oauthConsumerKey;
+ }
+ public function getOauthConsumerKey()
+ {
+ return $this->oauthConsumerKey;
+ }
+ public function setOauthScope($oauthScope)
+ {
+ $this->oauthScope = $oauthScope;
+ }
+ public function getOauthScope()
+ {
+ return $this->oauthScope;
+ }
+ 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;
+ }
+ public function setSessionId($sessionId)
+ {
+ $this->sessionId = $sessionId;
+ }
+ public function getSessionId()
+ {
+ return $this->sessionId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyCreateAuthUriRequestCustomParameter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyCreateAuthUriRequestCustomParameter.php
new file mode 100644
index 00000000..daf6a900
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyCreateAuthUriRequestCustomParameter.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriRequestCustomParameter extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyDeleteAccountRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyDeleteAccountRequest.php
new file mode 100644
index 00000000..8a5cbc9a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyDeleteAccountRequest.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDeleteAccountRequest extends Google_Model
+{
+ public $delegatedProjectNumber;
+ public $idToken;
+ public $localId;
+
+ public function setDelegatedProjectNumber($delegatedProjectNumber)
+ {
+ $this->delegatedProjectNumber = $delegatedProjectNumber;
+ }
+ public function getDelegatedProjectNumber()
+ {
+ return $this->delegatedProjectNumber;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyDownloadAccountRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyDownloadAccountRequest.php
new file mode 100644
index 00000000..8f889d53
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyDownloadAccountRequest.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDownloadAccountRequest extends Google_Model
+{
+ public $delegatedProjectNumber;
+ public $maxResults;
+ public $nextPageToken;
+ public $targetProjectId;
+
+ public function setDelegatedProjectNumber($delegatedProjectNumber)
+ {
+ $this->delegatedProjectNumber = $delegatedProjectNumber;
+ }
+ public function getDelegatedProjectNumber()
+ {
+ return $this->delegatedProjectNumber;
+ }
+ 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;
+ }
+ public function setTargetProjectId($targetProjectId)
+ {
+ $this->targetProjectId = $targetProjectId;
+ }
+ public function getTargetProjectId()
+ {
+ return $this->targetProjectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyGetAccountInfoRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyGetAccountInfoRequest.php
new file mode 100644
index 00000000..30af08da
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyGetAccountInfoRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetAccountInfoRequest extends Google_Collection
+{
+ protected $collection_key = 'localId';
+ public $delegatedProjectNumber;
+ public $email;
+ public $idToken;
+ public $localId;
+
+ public function setDelegatedProjectNumber($delegatedProjectNumber)
+ {
+ $this->delegatedProjectNumber = $delegatedProjectNumber;
+ }
+ public function getDelegatedProjectNumber()
+ {
+ return $this->delegatedProjectNumber;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyGetProjectConfigResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyGetProjectConfigResponse.php
new file mode 100644
index 00000000..be15bc3c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyGetProjectConfigResponse.php
@@ -0,0 +1,135 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetProjectConfigResponse extends Google_Collection
+{
+ protected $collection_key = 'idpConfig';
+ public $allowPasswordUser;
+ public $apiKey;
+ public $authorizedDomains;
+ protected $changeEmailTemplateType = 'Google_Service_IdentityToolkit_EmailTemplate';
+ protected $changeEmailTemplateDataType = '';
+ public $dynamicLinksDomain;
+ public $enableAnonymousUser;
+ protected $idpConfigType = 'Google_Service_IdentityToolkit_IdpConfig';
+ protected $idpConfigDataType = 'array';
+ protected $legacyResetPasswordTemplateType = 'Google_Service_IdentityToolkit_EmailTemplate';
+ protected $legacyResetPasswordTemplateDataType = '';
+ public $projectId;
+ protected $resetPasswordTemplateType = 'Google_Service_IdentityToolkit_EmailTemplate';
+ protected $resetPasswordTemplateDataType = '';
+ public $useEmailSending;
+ protected $verifyEmailTemplateType = 'Google_Service_IdentityToolkit_EmailTemplate';
+ protected $verifyEmailTemplateDataType = '';
+
+ public function setAllowPasswordUser($allowPasswordUser)
+ {
+ $this->allowPasswordUser = $allowPasswordUser;
+ }
+ public function getAllowPasswordUser()
+ {
+ return $this->allowPasswordUser;
+ }
+ public function setApiKey($apiKey)
+ {
+ $this->apiKey = $apiKey;
+ }
+ public function getApiKey()
+ {
+ return $this->apiKey;
+ }
+ public function setAuthorizedDomains($authorizedDomains)
+ {
+ $this->authorizedDomains = $authorizedDomains;
+ }
+ public function getAuthorizedDomains()
+ {
+ return $this->authorizedDomains;
+ }
+ public function setChangeEmailTemplate(Google_Service_IdentityToolkit_EmailTemplate $changeEmailTemplate)
+ {
+ $this->changeEmailTemplate = $changeEmailTemplate;
+ }
+ public function getChangeEmailTemplate()
+ {
+ return $this->changeEmailTemplate;
+ }
+ public function setDynamicLinksDomain($dynamicLinksDomain)
+ {
+ $this->dynamicLinksDomain = $dynamicLinksDomain;
+ }
+ public function getDynamicLinksDomain()
+ {
+ return $this->dynamicLinksDomain;
+ }
+ public function setEnableAnonymousUser($enableAnonymousUser)
+ {
+ $this->enableAnonymousUser = $enableAnonymousUser;
+ }
+ public function getEnableAnonymousUser()
+ {
+ return $this->enableAnonymousUser;
+ }
+ public function setIdpConfig($idpConfig)
+ {
+ $this->idpConfig = $idpConfig;
+ }
+ public function getIdpConfig()
+ {
+ return $this->idpConfig;
+ }
+ public function setLegacyResetPasswordTemplate(Google_Service_IdentityToolkit_EmailTemplate $legacyResetPasswordTemplate)
+ {
+ $this->legacyResetPasswordTemplate = $legacyResetPasswordTemplate;
+ }
+ public function getLegacyResetPasswordTemplate()
+ {
+ return $this->legacyResetPasswordTemplate;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setResetPasswordTemplate(Google_Service_IdentityToolkit_EmailTemplate $resetPasswordTemplate)
+ {
+ $this->resetPasswordTemplate = $resetPasswordTemplate;
+ }
+ public function getResetPasswordTemplate()
+ {
+ return $this->resetPasswordTemplate;
+ }
+ public function setUseEmailSending($useEmailSending)
+ {
+ $this->useEmailSending = $useEmailSending;
+ }
+ public function getUseEmailSending()
+ {
+ return $this->useEmailSending;
+ }
+ public function setVerifyEmailTemplate(Google_Service_IdentityToolkit_EmailTemplate $verifyEmailTemplate)
+ {
+ $this->verifyEmailTemplate = $verifyEmailTemplate;
+ }
+ public function getVerifyEmailTemplate()
+ {
+ return $this->verifyEmailTemplate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyResetPasswordRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyResetPasswordRequest.php
new file mode 100644
index 00000000..e2a85f25
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyResetPasswordRequest.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetAccountInfoRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetAccountInfoRequest.php
new file mode 100644
index 00000000..45b0dcc7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetAccountInfoRequest.php
@@ -0,0 +1,211 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetAccountInfoRequest extends Google_Collection
+{
+ protected $collection_key = 'provider';
+ public $captchaChallenge;
+ public $captchaResponse;
+ public $createdAt;
+ public $delegatedProjectNumber;
+ public $deleteAttribute;
+ public $deleteProvider;
+ public $disableUser;
+ public $displayName;
+ public $email;
+ public $emailVerified;
+ public $idToken;
+ public $instanceId;
+ public $lastLoginAt;
+ public $localId;
+ public $oobCode;
+ public $password;
+ public $photoUrl;
+ public $provider;
+ public $returnSecureToken;
+ public $upgradeToFederatedLogin;
+ public $validSince;
+
+ 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 setCreatedAt($createdAt)
+ {
+ $this->createdAt = $createdAt;
+ }
+ public function getCreatedAt()
+ {
+ return $this->createdAt;
+ }
+ public function setDelegatedProjectNumber($delegatedProjectNumber)
+ {
+ $this->delegatedProjectNumber = $delegatedProjectNumber;
+ }
+ public function getDelegatedProjectNumber()
+ {
+ return $this->delegatedProjectNumber;
+ }
+ public function setDeleteAttribute($deleteAttribute)
+ {
+ $this->deleteAttribute = $deleteAttribute;
+ }
+ public function getDeleteAttribute()
+ {
+ return $this->deleteAttribute;
+ }
+ public function setDeleteProvider($deleteProvider)
+ {
+ $this->deleteProvider = $deleteProvider;
+ }
+ public function getDeleteProvider()
+ {
+ return $this->deleteProvider;
+ }
+ public function setDisableUser($disableUser)
+ {
+ $this->disableUser = $disableUser;
+ }
+ public function getDisableUser()
+ {
+ return $this->disableUser;
+ }
+ 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 setInstanceId($instanceId)
+ {
+ $this->instanceId = $instanceId;
+ }
+ public function getInstanceId()
+ {
+ return $this->instanceId;
+ }
+ public function setLastLoginAt($lastLoginAt)
+ {
+ $this->lastLoginAt = $lastLoginAt;
+ }
+ public function getLastLoginAt()
+ {
+ return $this->lastLoginAt;
+ }
+ 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 setPhotoUrl($photoUrl)
+ {
+ $this->photoUrl = $photoUrl;
+ }
+ public function getPhotoUrl()
+ {
+ return $this->photoUrl;
+ }
+ public function setProvider($provider)
+ {
+ $this->provider = $provider;
+ }
+ public function getProvider()
+ {
+ return $this->provider;
+ }
+ public function setReturnSecureToken($returnSecureToken)
+ {
+ $this->returnSecureToken = $returnSecureToken;
+ }
+ public function getReturnSecureToken()
+ {
+ return $this->returnSecureToken;
+ }
+ public function setUpgradeToFederatedLogin($upgradeToFederatedLogin)
+ {
+ $this->upgradeToFederatedLogin = $upgradeToFederatedLogin;
+ }
+ public function getUpgradeToFederatedLogin()
+ {
+ return $this->upgradeToFederatedLogin;
+ }
+ public function setValidSince($validSince)
+ {
+ $this->validSince = $validSince;
+ }
+ public function getValidSince()
+ {
+ return $this->validSince;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetProjectConfigRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetProjectConfigRequest.php
new file mode 100644
index 00000000..9c004162
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetProjectConfigRequest.php
@@ -0,0 +1,126 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetProjectConfigRequest extends Google_Collection
+{
+ protected $collection_key = 'idpConfig';
+ public $allowPasswordUser;
+ public $apiKey;
+ public $authorizedDomains;
+ protected $changeEmailTemplateType = 'Google_Service_IdentityToolkit_EmailTemplate';
+ protected $changeEmailTemplateDataType = '';
+ public $delegatedProjectNumber;
+ public $enableAnonymousUser;
+ protected $idpConfigType = 'Google_Service_IdentityToolkit_IdpConfig';
+ protected $idpConfigDataType = 'array';
+ protected $legacyResetPasswordTemplateType = 'Google_Service_IdentityToolkit_EmailTemplate';
+ protected $legacyResetPasswordTemplateDataType = '';
+ protected $resetPasswordTemplateType = 'Google_Service_IdentityToolkit_EmailTemplate';
+ protected $resetPasswordTemplateDataType = '';
+ public $useEmailSending;
+ protected $verifyEmailTemplateType = 'Google_Service_IdentityToolkit_EmailTemplate';
+ protected $verifyEmailTemplateDataType = '';
+
+ public function setAllowPasswordUser($allowPasswordUser)
+ {
+ $this->allowPasswordUser = $allowPasswordUser;
+ }
+ public function getAllowPasswordUser()
+ {
+ return $this->allowPasswordUser;
+ }
+ public function setApiKey($apiKey)
+ {
+ $this->apiKey = $apiKey;
+ }
+ public function getApiKey()
+ {
+ return $this->apiKey;
+ }
+ public function setAuthorizedDomains($authorizedDomains)
+ {
+ $this->authorizedDomains = $authorizedDomains;
+ }
+ public function getAuthorizedDomains()
+ {
+ return $this->authorizedDomains;
+ }
+ public function setChangeEmailTemplate(Google_Service_IdentityToolkit_EmailTemplate $changeEmailTemplate)
+ {
+ $this->changeEmailTemplate = $changeEmailTemplate;
+ }
+ public function getChangeEmailTemplate()
+ {
+ return $this->changeEmailTemplate;
+ }
+ public function setDelegatedProjectNumber($delegatedProjectNumber)
+ {
+ $this->delegatedProjectNumber = $delegatedProjectNumber;
+ }
+ public function getDelegatedProjectNumber()
+ {
+ return $this->delegatedProjectNumber;
+ }
+ public function setEnableAnonymousUser($enableAnonymousUser)
+ {
+ $this->enableAnonymousUser = $enableAnonymousUser;
+ }
+ public function getEnableAnonymousUser()
+ {
+ return $this->enableAnonymousUser;
+ }
+ public function setIdpConfig($idpConfig)
+ {
+ $this->idpConfig = $idpConfig;
+ }
+ public function getIdpConfig()
+ {
+ return $this->idpConfig;
+ }
+ public function setLegacyResetPasswordTemplate(Google_Service_IdentityToolkit_EmailTemplate $legacyResetPasswordTemplate)
+ {
+ $this->legacyResetPasswordTemplate = $legacyResetPasswordTemplate;
+ }
+ public function getLegacyResetPasswordTemplate()
+ {
+ return $this->legacyResetPasswordTemplate;
+ }
+ public function setResetPasswordTemplate(Google_Service_IdentityToolkit_EmailTemplate $resetPasswordTemplate)
+ {
+ $this->resetPasswordTemplate = $resetPasswordTemplate;
+ }
+ public function getResetPasswordTemplate()
+ {
+ return $this->resetPasswordTemplate;
+ }
+ public function setUseEmailSending($useEmailSending)
+ {
+ $this->useEmailSending = $useEmailSending;
+ }
+ public function getUseEmailSending()
+ {
+ return $this->useEmailSending;
+ }
+ public function setVerifyEmailTemplate(Google_Service_IdentityToolkit_EmailTemplate $verifyEmailTemplate)
+ {
+ $this->verifyEmailTemplate = $verifyEmailTemplate;
+ }
+ public function getVerifyEmailTemplate()
+ {
+ return $this->verifyEmailTemplate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetProjectConfigResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetProjectConfigResponse.php
new file mode 100644
index 00000000..484a135f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetProjectConfigResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetProjectConfigResponse extends Google_Model
+{
+ public $projectId;
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignOutUserRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignOutUserRequest.php
new file mode 100644
index 00000000..815aab58
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignOutUserRequest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySignOutUserRequest extends Google_Model
+{
+ public $instanceId;
+ public $localId;
+
+ public function setInstanceId($instanceId)
+ {
+ $this->instanceId = $instanceId;
+ }
+ public function getInstanceId()
+ {
+ return $this->instanceId;
+ }
+ public function setLocalId($localId)
+ {
+ $this->localId = $localId;
+ }
+ public function getLocalId()
+ {
+ return $this->localId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignOutUserResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignOutUserResponse.php
new file mode 100644
index 00000000..28d32120
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignOutUserResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySignOutUserResponse extends Google_Model
+{
+ public $localId;
+
+ public function setLocalId($localId)
+ {
+ $this->localId = $localId;
+ }
+ public function getLocalId()
+ {
+ return $this->localId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignupNewUserRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignupNewUserRequest.php
new file mode 100644
index 00000000..45534b57
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignupNewUserRequest.php
@@ -0,0 +1,120 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySignupNewUserRequest extends Google_Model
+{
+ public $captchaChallenge;
+ public $captchaResponse;
+ public $disabled;
+ public $displayName;
+ public $email;
+ public $emailVerified;
+ public $idToken;
+ public $instanceId;
+ public $localId;
+ public $password;
+ public $photoUrl;
+
+ 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 setDisabled($disabled)
+ {
+ $this->disabled = $disabled;
+ }
+ public function getDisabled()
+ {
+ return $this->disabled;
+ }
+ 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 setInstanceId($instanceId)
+ {
+ $this->instanceId = $instanceId;
+ }
+ public function getInstanceId()
+ {
+ return $this->instanceId;
+ }
+ public function setLocalId($localId)
+ {
+ $this->localId = $localId;
+ }
+ public function getLocalId()
+ {
+ return $this->localId;
+ }
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+ public function getPassword()
+ {
+ return $this->password;
+ }
+ public function setPhotoUrl($photoUrl)
+ {
+ $this->photoUrl = $photoUrl;
+ }
+ public function getPhotoUrl()
+ {
+ return $this->photoUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyUploadAccountRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyUploadAccountRequest.php
new file mode 100644
index 00000000..de963cda
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyUploadAccountRequest.php
@@ -0,0 +1,113 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest extends Google_Collection
+{
+ protected $collection_key = 'users';
+ public $allowOverwrite;
+ public $delegatedProjectNumber;
+ public $hashAlgorithm;
+ public $memoryCost;
+ public $rounds;
+ public $saltSeparator;
+ public $sanityCheck;
+ public $signerKey;
+ public $targetProjectId;
+ protected $usersType = 'Google_Service_IdentityToolkit_UserInfo';
+ protected $usersDataType = 'array';
+
+ public function setAllowOverwrite($allowOverwrite)
+ {
+ $this->allowOverwrite = $allowOverwrite;
+ }
+ public function getAllowOverwrite()
+ {
+ return $this->allowOverwrite;
+ }
+ public function setDelegatedProjectNumber($delegatedProjectNumber)
+ {
+ $this->delegatedProjectNumber = $delegatedProjectNumber;
+ }
+ public function getDelegatedProjectNumber()
+ {
+ return $this->delegatedProjectNumber;
+ }
+ 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 setSanityCheck($sanityCheck)
+ {
+ $this->sanityCheck = $sanityCheck;
+ }
+ public function getSanityCheck()
+ {
+ return $this->sanityCheck;
+ }
+ public function setSignerKey($signerKey)
+ {
+ $this->signerKey = $signerKey;
+ }
+ public function getSignerKey()
+ {
+ return $this->signerKey;
+ }
+ public function setTargetProjectId($targetProjectId)
+ {
+ $this->targetProjectId = $targetProjectId;
+ }
+ public function getTargetProjectId()
+ {
+ return $this->targetProjectId;
+ }
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyAssertionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyAssertionRequest.php
new file mode 100644
index 00000000..d0841034
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyAssertionRequest.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyAssertionRequest extends Google_Model
+{
+ public $delegatedProjectNumber;
+ public $idToken;
+ public $instanceId;
+ public $pendingIdToken;
+ public $postBody;
+ public $requestUri;
+ public $returnIdpCredential;
+ public $returnRefreshToken;
+ public $returnSecureToken;
+ public $sessionId;
+
+ public function setDelegatedProjectNumber($delegatedProjectNumber)
+ {
+ $this->delegatedProjectNumber = $delegatedProjectNumber;
+ }
+ public function getDelegatedProjectNumber()
+ {
+ return $this->delegatedProjectNumber;
+ }
+ public function setIdToken($idToken)
+ {
+ $this->idToken = $idToken;
+ }
+ public function getIdToken()
+ {
+ return $this->idToken;
+ }
+ public function setInstanceId($instanceId)
+ {
+ $this->instanceId = $instanceId;
+ }
+ public function getInstanceId()
+ {
+ return $this->instanceId;
+ }
+ 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;
+ }
+ public function setReturnIdpCredential($returnIdpCredential)
+ {
+ $this->returnIdpCredential = $returnIdpCredential;
+ }
+ public function getReturnIdpCredential()
+ {
+ return $this->returnIdpCredential;
+ }
+ public function setReturnRefreshToken($returnRefreshToken)
+ {
+ $this->returnRefreshToken = $returnRefreshToken;
+ }
+ public function getReturnRefreshToken()
+ {
+ return $this->returnRefreshToken;
+ }
+ public function setReturnSecureToken($returnSecureToken)
+ {
+ $this->returnSecureToken = $returnSecureToken;
+ }
+ public function getReturnSecureToken()
+ {
+ return $this->returnSecureToken;
+ }
+ public function setSessionId($sessionId)
+ {
+ $this->sessionId = $sessionId;
+ }
+ public function getSessionId()
+ {
+ return $this->sessionId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest.php
new file mode 100644
index 00000000..f2fe712e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyCustomTokenRequest extends Google_Model
+{
+ public $delegatedProjectNumber;
+ public $instanceId;
+ public $returnSecureToken;
+ public $token;
+
+ public function setDelegatedProjectNumber($delegatedProjectNumber)
+ {
+ $this->delegatedProjectNumber = $delegatedProjectNumber;
+ }
+ public function getDelegatedProjectNumber()
+ {
+ return $this->delegatedProjectNumber;
+ }
+ public function setInstanceId($instanceId)
+ {
+ $this->instanceId = $instanceId;
+ }
+ public function getInstanceId()
+ {
+ return $this->instanceId;
+ }
+ public function setReturnSecureToken($returnSecureToken)
+ {
+ $this->returnSecureToken = $returnSecureToken;
+ }
+ public function getReturnSecureToken()
+ {
+ return $this->returnSecureToken;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyPasswordRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyPasswordRequest.php
new file mode 100644
index 00000000..7115a251
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyPasswordRequest.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyPasswordRequest extends Google_Model
+{
+ public $captchaChallenge;
+ public $captchaResponse;
+ public $delegatedProjectNumber;
+ public $email;
+ public $idToken;
+ public $instanceId;
+ public $password;
+ public $pendingIdToken;
+ public $returnSecureToken;
+
+ 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 setDelegatedProjectNumber($delegatedProjectNumber)
+ {
+ $this->delegatedProjectNumber = $delegatedProjectNumber;
+ }
+ public function getDelegatedProjectNumber()
+ {
+ return $this->delegatedProjectNumber;
+ }
+ 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 setInstanceId($instanceId)
+ {
+ $this->instanceId = $instanceId;
+ }
+ public function getInstanceId()
+ {
+ return $this->instanceId;
+ }
+ 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;
+ }
+ public function setReturnSecureToken($returnSecureToken)
+ {
+ $this->returnSecureToken = $returnSecureToken;
+ }
+ public function getReturnSecureToken()
+ {
+ return $this->returnSecureToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdpConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdpConfig.php
new file mode 100644
index 00000000..ba4655af
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdpConfig.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_IdpConfig extends Google_Collection
+{
+ protected $collection_key = 'whitelistedAudiences';
+ public $clientId;
+ public $enabled;
+ public $experimentPercent;
+ public $provider;
+ public $secret;
+ public $whitelistedAudiences;
+
+ public function setClientId($clientId)
+ {
+ $this->clientId = $clientId;
+ }
+ public function getClientId()
+ {
+ return $this->clientId;
+ }
+ public function setEnabled($enabled)
+ {
+ $this->enabled = $enabled;
+ }
+ public function getEnabled()
+ {
+ return $this->enabled;
+ }
+ public function setExperimentPercent($experimentPercent)
+ {
+ $this->experimentPercent = $experimentPercent;
+ }
+ public function getExperimentPercent()
+ {
+ return $this->experimentPercent;
+ }
+ public function setProvider($provider)
+ {
+ $this->provider = $provider;
+ }
+ public function getProvider()
+ {
+ return $this->provider;
+ }
+ public function setSecret($secret)
+ {
+ $this->secret = $secret;
+ }
+ public function getSecret()
+ {
+ return $this->secret;
+ }
+ public function setWhitelistedAudiences($whitelistedAudiences)
+ {
+ $this->whitelistedAudiences = $whitelistedAudiences;
+ }
+ public function getWhitelistedAudiences()
+ {
+ return $this->whitelistedAudiences;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/Relyingparty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/Relyingparty.php
new file mode 100644
index 00000000..19e2ecbb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/Relyingparty.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_Relyingparty extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/ResetPasswordResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/ResetPasswordResponse.php
new file mode 100644
index 00000000..d2e30f0f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/ResetPasswordResponse.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_ResetPasswordResponse extends Google_Model
+{
+ public $email;
+ public $kind;
+ public $newEmail;
+ public $requestType;
+
+ 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;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/Resource/Relyingparty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/Resource/Relyingparty.php
new file mode 100644
index 00000000..c6cd74db
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/Resource/Relyingparty.php
@@ -0,0 +1,252 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "relyingparty" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $identitytoolkitService = new Google_Service_IdentityToolkit(...);
+ * $relyingparty = $identitytoolkitService->relyingparty;
+ * </code>
+ */
+class Google_Service_IdentityToolkit_Resource_Relyingparty extends Google_Service_Resource
+{
+ /**
+ * Creates the URI used by the IdP to authenticate the user.
+ * (relyingparty.createAuthUri)
+ *
+ * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_IdentityToolkit_CreateAuthUriResponse
+ */
+ public function createAuthUri(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('createAuthUri', array($params), "Google_Service_IdentityToolkit_CreateAuthUriResponse");
+ }
+ /**
+ * Delete user account. (relyingparty.deleteAccount)
+ *
+ * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDeleteAccountRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_IdentityToolkit_DeleteAccountResponse
+ */
+ public function deleteAccount(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDeleteAccountRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteAccount', array($params), "Google_Service_IdentityToolkit_DeleteAccountResponse");
+ }
+ /**
+ * Batch download user accounts. (relyingparty.downloadAccount)
+ *
+ * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDownloadAccountRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_IdentityToolkit_DownloadAccountResponse
+ */
+ public function downloadAccount(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDownloadAccountRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('downloadAccount', array($params), "Google_Service_IdentityToolkit_DownloadAccountResponse");
+ }
+ /**
+ * Returns the account info. (relyingparty.getAccountInfo)
+ *
+ * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetAccountInfoRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_IdentityToolkit_GetAccountInfoResponse
+ */
+ public function getAccountInfo(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetAccountInfoRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getAccountInfo', array($params), "Google_Service_IdentityToolkit_GetAccountInfoResponse");
+ }
+ /**
+ * Get a code for user action confirmation.
+ * (relyingparty.getOobConfirmationCode)
+ *
+ * @param Google_Service_IdentityToolkit_Relyingparty $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse
+ */
+ public function getOobConfirmationCode(Google_Service_IdentityToolkit_Relyingparty $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getOobConfirmationCode', array($params), "Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse");
+ }
+ /**
+ * Get project configuration. (relyingparty.getProjectConfig)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string delegatedProjectNumber Delegated GCP project number of the
+ * request.
+ * @opt_param string projectNumber GCP project number of the request.
+ * @return Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetProjectConfigResponse
+ */
+ public function getProjectConfig($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('getProjectConfig', array($params), "Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetProjectConfigResponse");
+ }
+ /**
+ * Get token signing public key. (relyingparty.getPublicKeys)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse
+ */
+ public function getPublicKeys($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('getPublicKeys', array($params), "Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse");
+ }
+ /**
+ * Get recaptcha secure param. (relyingparty.getRecaptchaParam)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_IdentityToolkit_GetRecaptchaParamResponse
+ */
+ public function getRecaptchaParam($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('getRecaptchaParam', array($params), "Google_Service_IdentityToolkit_GetRecaptchaParamResponse");
+ }
+ /**
+ * Reset password for a user. (relyingparty.resetPassword)
+ *
+ * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_IdentityToolkit_ResetPasswordResponse
+ */
+ public function resetPassword(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetPassword', array($params), "Google_Service_IdentityToolkit_ResetPasswordResponse");
+ }
+ /**
+ * Set account info for a user. (relyingparty.setAccountInfo)
+ *
+ * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetAccountInfoRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_IdentityToolkit_SetAccountInfoResponse
+ */
+ public function setAccountInfo(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetAccountInfoRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setAccountInfo', array($params), "Google_Service_IdentityToolkit_SetAccountInfoResponse");
+ }
+ /**
+ * Set project configuration. (relyingparty.setProjectConfig)
+ *
+ * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetProjectConfigRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetProjectConfigResponse
+ */
+ public function setProjectConfig(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetProjectConfigRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setProjectConfig', array($params), "Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetProjectConfigResponse");
+ }
+ /**
+ * Sign out user. (relyingparty.signOutUser)
+ *
+ * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySignOutUserRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySignOutUserResponse
+ */
+ public function signOutUser(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySignOutUserRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('signOutUser', array($params), "Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySignOutUserResponse");
+ }
+ /**
+ * Signup new user. (relyingparty.signupNewUser)
+ *
+ * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySignupNewUserRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_IdentityToolkit_SignupNewUserResponse
+ */
+ public function signupNewUser(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySignupNewUserRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('signupNewUser', array($params), "Google_Service_IdentityToolkit_SignupNewUserResponse");
+ }
+ /**
+ * Batch upload existing user accounts. (relyingparty.uploadAccount)
+ *
+ * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_IdentityToolkit_UploadAccountResponse
+ */
+ public function uploadAccount(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('uploadAccount', array($params), "Google_Service_IdentityToolkit_UploadAccountResponse");
+ }
+ /**
+ * Verifies the assertion returned by the IdP. (relyingparty.verifyAssertion)
+ *
+ * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyAssertionRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_IdentityToolkit_VerifyAssertionResponse
+ */
+ public function verifyAssertion(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyAssertionRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('verifyAssertion', array($params), "Google_Service_IdentityToolkit_VerifyAssertionResponse");
+ }
+ /**
+ * Verifies the developer asserted ID token. (relyingparty.verifyCustomToken)
+ *
+ * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyCustomTokenRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_IdentityToolkit_VerifyCustomTokenResponse
+ */
+ public function verifyCustomToken(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyCustomTokenRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('verifyCustomToken', array($params), "Google_Service_IdentityToolkit_VerifyCustomTokenResponse");
+ }
+ /**
+ * Verifies the user entered password. (relyingparty.verifyPassword)
+ *
+ * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyPasswordRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_IdentityToolkit_VerifyPasswordResponse
+ */
+ public function verifyPassword(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyPasswordRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('verifyPassword', array($params), "Google_Service_IdentityToolkit_VerifyPasswordResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SetAccountInfoResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SetAccountInfoResponse.php
new file mode 100644
index 00000000..3500c609
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SetAccountInfoResponse.php
@@ -0,0 +1,131 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_SetAccountInfoResponse extends Google_Collection
+{
+ protected $collection_key = 'providerUserInfo';
+ public $displayName;
+ public $email;
+ public $emailVerified;
+ public $expiresIn;
+ public $idToken;
+ public $kind;
+ public $localId;
+ public $newEmail;
+ public $passwordHash;
+ public $photoUrl;
+ protected $providerUserInfoType = 'Google_Service_IdentityToolkit_SetAccountInfoResponseProviderUserInfo';
+ protected $providerUserInfoDataType = 'array';
+ public $refreshToken;
+
+ 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 setExpiresIn($expiresIn)
+ {
+ $this->expiresIn = $expiresIn;
+ }
+ public function getExpiresIn()
+ {
+ return $this->expiresIn;
+ }
+ 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 setNewEmail($newEmail)
+ {
+ $this->newEmail = $newEmail;
+ }
+ public function getNewEmail()
+ {
+ return $this->newEmail;
+ }
+ public function setPasswordHash($passwordHash)
+ {
+ $this->passwordHash = $passwordHash;
+ }
+ public function getPasswordHash()
+ {
+ return $this->passwordHash;
+ }
+ 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 setRefreshToken($refreshToken)
+ {
+ $this->refreshToken = $refreshToken;
+ }
+ public function getRefreshToken()
+ {
+ return $this->refreshToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SetAccountInfoResponseProviderUserInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SetAccountInfoResponseProviderUserInfo.php
new file mode 100644
index 00000000..9b4a7bd3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SetAccountInfoResponseProviderUserInfo.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_SetAccountInfoResponseProviderUserInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SignupNewUserResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SignupNewUserResponse.php
new file mode 100644
index 00000000..8517a66a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SignupNewUserResponse.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_SignupNewUserResponse extends Google_Model
+{
+ public $displayName;
+ public $email;
+ public $expiresIn;
+ public $idToken;
+ public $kind;
+ public $localId;
+ public $refreshToken;
+
+ 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 setExpiresIn($expiresIn)
+ {
+ $this->expiresIn = $expiresIn;
+ }
+ public function getExpiresIn()
+ {
+ return $this->expiresIn;
+ }
+ 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 setRefreshToken($refreshToken)
+ {
+ $this->refreshToken = $refreshToken;
+ }
+ public function getRefreshToken()
+ {
+ return $this->refreshToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UploadAccountResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UploadAccountResponse.php
new file mode 100644
index 00000000..d125c05a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UploadAccountResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_UploadAccountResponse extends Google_Collection
+{
+ protected $collection_key = 'error';
+ protected $errorType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UploadAccountResponseError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UploadAccountResponseError.php
new file mode 100644
index 00000000..f3c4ed27
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UploadAccountResponseError.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_UploadAccountResponseError extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UserInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UserInfo.php
new file mode 100644
index 00000000..056ec9fb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UserInfo.php
@@ -0,0 +1,176 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_UserInfo extends Google_Collection
+{
+ protected $collection_key = 'providerUserInfo';
+ public $createdAt;
+ public $customAuth;
+ public $disabled;
+ public $displayName;
+ public $email;
+ public $emailVerified;
+ public $lastLoginAt;
+ public $localId;
+ public $passwordHash;
+ public $passwordUpdatedAt;
+ public $photoUrl;
+ protected $providerUserInfoType = 'Google_Service_IdentityToolkit_UserInfoProviderUserInfo';
+ protected $providerUserInfoDataType = 'array';
+ public $rawPassword;
+ public $salt;
+ public $screenName;
+ public $validSince;
+ public $version;
+
+ public function setCreatedAt($createdAt)
+ {
+ $this->createdAt = $createdAt;
+ }
+ public function getCreatedAt()
+ {
+ return $this->createdAt;
+ }
+ public function setCustomAuth($customAuth)
+ {
+ $this->customAuth = $customAuth;
+ }
+ public function getCustomAuth()
+ {
+ return $this->customAuth;
+ }
+ public function setDisabled($disabled)
+ {
+ $this->disabled = $disabled;
+ }
+ public function getDisabled()
+ {
+ return $this->disabled;
+ }
+ 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 setLastLoginAt($lastLoginAt)
+ {
+ $this->lastLoginAt = $lastLoginAt;
+ }
+ public function getLastLoginAt()
+ {
+ return $this->lastLoginAt;
+ }
+ 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 setRawPassword($rawPassword)
+ {
+ $this->rawPassword = $rawPassword;
+ }
+ public function getRawPassword()
+ {
+ return $this->rawPassword;
+ }
+ public function setSalt($salt)
+ {
+ $this->salt = $salt;
+ }
+ public function getSalt()
+ {
+ return $this->salt;
+ }
+ public function setScreenName($screenName)
+ {
+ $this->screenName = $screenName;
+ }
+ public function getScreenName()
+ {
+ return $this->screenName;
+ }
+ public function setValidSince($validSince)
+ {
+ $this->validSince = $validSince;
+ }
+ public function getValidSince()
+ {
+ return $this->validSince;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UserInfoProviderUserInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UserInfoProviderUserInfo.php
new file mode 100644
index 00000000..cf333f8b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UserInfoProviderUserInfo.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_UserInfoProviderUserInfo extends Google_Model
+{
+ public $displayName;
+ public $email;
+ public $federatedId;
+ public $photoUrl;
+ public $providerId;
+ public $rawId;
+ public $screenName;
+
+ 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 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;
+ }
+ public function setRawId($rawId)
+ {
+ $this->rawId = $rawId;
+ }
+ public function getRawId()
+ {
+ return $this->rawId;
+ }
+ public function setScreenName($screenName)
+ {
+ $this->screenName = $screenName;
+ }
+ public function getScreenName()
+ {
+ return $this->screenName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyAssertionResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyAssertionResponse.php
new file mode 100644
index 00000000..bb3fbfb3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyAssertionResponse.php
@@ -0,0 +1,373 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_VerifyAssertionResponse extends Google_Collection
+{
+ protected $collection_key = 'verifiedProvider';
+ public $action;
+ public $appInstallationUrl;
+ public $appScheme;
+ public $context;
+ public $dateOfBirth;
+ public $displayName;
+ public $email;
+ public $emailRecycled;
+ public $emailVerified;
+ public $errorMessage;
+ public $expiresIn;
+ public $federatedId;
+ public $firstName;
+ public $fullName;
+ public $idToken;
+ public $inputEmail;
+ public $isNewUser;
+ public $kind;
+ public $language;
+ public $lastName;
+ public $localId;
+ public $needConfirmation;
+ public $needEmail;
+ public $nickName;
+ public $oauthAccessToken;
+ public $oauthAuthorizationCode;
+ public $oauthExpireIn;
+ public $oauthIdToken;
+ public $oauthRequestToken;
+ public $oauthScope;
+ public $oauthTokenSecret;
+ public $originalEmail;
+ public $photoUrl;
+ public $providerId;
+ public $rawUserInfo;
+ public $refreshToken;
+ public $screenName;
+ 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 setErrorMessage($errorMessage)
+ {
+ $this->errorMessage = $errorMessage;
+ }
+ public function getErrorMessage()
+ {
+ return $this->errorMessage;
+ }
+ public function setExpiresIn($expiresIn)
+ {
+ $this->expiresIn = $expiresIn;
+ }
+ public function getExpiresIn()
+ {
+ return $this->expiresIn;
+ }
+ 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 setIsNewUser($isNewUser)
+ {
+ $this->isNewUser = $isNewUser;
+ }
+ public function getIsNewUser()
+ {
+ return $this->isNewUser;
+ }
+ 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 setNeedEmail($needEmail)
+ {
+ $this->needEmail = $needEmail;
+ }
+ public function getNeedEmail()
+ {
+ return $this->needEmail;
+ }
+ public function setNickName($nickName)
+ {
+ $this->nickName = $nickName;
+ }
+ public function getNickName()
+ {
+ return $this->nickName;
+ }
+ public function setOauthAccessToken($oauthAccessToken)
+ {
+ $this->oauthAccessToken = $oauthAccessToken;
+ }
+ public function getOauthAccessToken()
+ {
+ return $this->oauthAccessToken;
+ }
+ public function setOauthAuthorizationCode($oauthAuthorizationCode)
+ {
+ $this->oauthAuthorizationCode = $oauthAuthorizationCode;
+ }
+ public function getOauthAuthorizationCode()
+ {
+ return $this->oauthAuthorizationCode;
+ }
+ public function setOauthExpireIn($oauthExpireIn)
+ {
+ $this->oauthExpireIn = $oauthExpireIn;
+ }
+ public function getOauthExpireIn()
+ {
+ return $this->oauthExpireIn;
+ }
+ public function setOauthIdToken($oauthIdToken)
+ {
+ $this->oauthIdToken = $oauthIdToken;
+ }
+ public function getOauthIdToken()
+ {
+ return $this->oauthIdToken;
+ }
+ 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 setOauthTokenSecret($oauthTokenSecret)
+ {
+ $this->oauthTokenSecret = $oauthTokenSecret;
+ }
+ public function getOauthTokenSecret()
+ {
+ return $this->oauthTokenSecret;
+ }
+ 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 setRawUserInfo($rawUserInfo)
+ {
+ $this->rawUserInfo = $rawUserInfo;
+ }
+ public function getRawUserInfo()
+ {
+ return $this->rawUserInfo;
+ }
+ public function setRefreshToken($refreshToken)
+ {
+ $this->refreshToken = $refreshToken;
+ }
+ public function getRefreshToken()
+ {
+ return $this->refreshToken;
+ }
+ public function setScreenName($screenName)
+ {
+ $this->screenName = $screenName;
+ }
+ public function getScreenName()
+ {
+ return $this->screenName;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyCustomTokenResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyCustomTokenResponse.php
new file mode 100644
index 00000000..046b1bae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyCustomTokenResponse.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_VerifyCustomTokenResponse extends Google_Model
+{
+ public $expiresIn;
+ public $idToken;
+ public $kind;
+ public $refreshToken;
+
+ public function setExpiresIn($expiresIn)
+ {
+ $this->expiresIn = $expiresIn;
+ }
+ public function getExpiresIn()
+ {
+ return $this->expiresIn;
+ }
+ 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 setRefreshToken($refreshToken)
+ {
+ $this->refreshToken = $refreshToken;
+ }
+ public function getRefreshToken()
+ {
+ return $this->refreshToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyPasswordResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyPasswordResponse.php
new file mode 100644
index 00000000..852a0b94
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyPasswordResponse.php
@@ -0,0 +1,129 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_IdentityToolkit_VerifyPasswordResponse extends Google_Model
+{
+ public $displayName;
+ public $email;
+ public $expiresIn;
+ public $idToken;
+ public $kind;
+ public $localId;
+ public $oauthAccessToken;
+ public $oauthAuthorizationCode;
+ public $oauthExpireIn;
+ public $photoUrl;
+ public $refreshToken;
+ 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 setExpiresIn($expiresIn)
+ {
+ $this->expiresIn = $expiresIn;
+ }
+ public function getExpiresIn()
+ {
+ return $this->expiresIn;
+ }
+ 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 setOauthAccessToken($oauthAccessToken)
+ {
+ $this->oauthAccessToken = $oauthAccessToken;
+ }
+ public function getOauthAccessToken()
+ {
+ return $this->oauthAccessToken;
+ }
+ public function setOauthAuthorizationCode($oauthAuthorizationCode)
+ {
+ $this->oauthAuthorizationCode = $oauthAuthorizationCode;
+ }
+ public function getOauthAuthorizationCode()
+ {
+ return $this->oauthAuthorizationCode;
+ }
+ public function setOauthExpireIn($oauthExpireIn)
+ {
+ $this->oauthExpireIn = $oauthExpireIn;
+ }
+ public function getOauthExpireIn()
+ {
+ return $this->oauthExpireIn;
+ }
+ public function setPhotoUrl($photoUrl)
+ {
+ $this->photoUrl = $photoUrl;
+ }
+ public function getPhotoUrl()
+ {
+ return $this->photoUrl;
+ }
+ public function setRefreshToken($refreshToken)
+ {
+ $this->refreshToken = $refreshToken;
+ }
+ public function getRefreshToken()
+ {
+ return $this->refreshToken;
+ }
+ public function setRegistered($registered)
+ {
+ $this->registered = $registered;
+ }
+ public function getRegistered()
+ {
+ return $this->registered;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch.php
new file mode 100644
index 00000000..6234175a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch.php
@@ -0,0 +1,97 @@
+<?php
+/*
+ * Copyright 2016 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 Kgsearch (v1).
+ *
+ * <p>
+ * Searches the Google Knowledge Graph for entities.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/knowledge-graph/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Kgsearch extends Google_Service
+{
+
+
+ public $entities;
+
+ /**
+ * Constructs the internal representation of the Kgsearch service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://kgsearch.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'kgsearch';
+
+ $this->entities = new Google_Service_Kgsearch_Resource_Entities(
+ $this,
+ $this->serviceName,
+ 'entities',
+ array(
+ 'methods' => array(
+ 'search' => array(
+ 'path' => 'v1/entities:search',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'types' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'indent' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'languages' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'limit' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'prefix' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch/Resource/Entities.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch/Resource/Entities.php
new file mode 100644
index 00000000..f236faef
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch/Resource/Entities.php
@@ -0,0 +1,56 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "entities" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $kgsearchService = new Google_Service_Kgsearch(...);
+ * $entities = $kgsearchService->entities;
+ * </code>
+ */
+class Google_Service_Kgsearch_Resource_Entities extends Google_Service_Resource
+{
+ /**
+ * Searches Knowledge Graph for entities that match the constraints. A list of
+ * matched entities will be returned in response, which will be in JSON-LD
+ * format and compatible with http://schema.org (entities.search)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string types Restricts returned entities with these types, e.g.
+ * Person (as defined in http://schema.org/Person). If multiple types are
+ * specified, returned entities will contain one or more of these types.
+ * @opt_param bool indent Enables indenting of json results.
+ * @opt_param string languages The list of language codes (defined in ISO 693)
+ * to run the query with, e.g. 'en'.
+ * @opt_param string ids The list of entity id to be used for search instead of
+ * query string. To specify multiple ids in the HTTP request, repeat the
+ * parameter in the URL as in ...?ids=A=B
+ * @opt_param int limit Limits the number of entities to be returned.
+ * @opt_param bool prefix Enables prefix match against names and aliases of
+ * entities
+ * @opt_param string query The literal query string for search.
+ * @return Google_Service_Kgsearch_SearchResponse
+ */
+ public function search($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Kgsearch_SearchResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch/SearchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch/SearchResponse.php
new file mode 100644
index 00000000..50df00da
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch/SearchResponse.php
@@ -0,0 +1,53 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Kgsearch_SearchResponse extends Google_Collection
+{
+ protected $collection_key = 'itemListElement';
+ protected $internal_gapi_mappings = array(
+ "context" => "@context",
+ "type" => "@type",
+ );
+ public $context;
+ public $type;
+ public $itemListElement;
+
+ public function setContext($context)
+ {
+ $this->context = $context;
+ }
+ public function getContext()
+ {
+ return $this->context;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setItemListElement($itemListElement)
+ {
+ $this->itemListElement = $itemListElement;
+ }
+ public function getItemListElement()
+ {
+ return $this->itemListElement;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing.php
new file mode 100644
index 00000000..185d261a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing.php
@@ -0,0 +1,209 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Views and manages licenses 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 Google_Service_Licensing extends Google_Service
+{
+ /** View and manage G Suite licenses for your domain. */
+ const APPS_LICENSING =
+ "https://www.googleapis.com/auth/apps.licensing";
+
+ public $licenseAssignments;
+
+ /**
+ * Constructs the internal representation of the Licensing service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'apps/licensing/v1/product/';
+ $this->version = 'v1';
+ $this->serviceName = 'licensing';
+
+ $this->licenseAssignments = new Google_Service_Licensing_Resource_LicenseAssignments(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignment.php
new file mode 100644
index 00000000..af379726
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignment.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Licensing_LicenseAssignment extends Google_Model
+{
+ public $etags;
+ public $kind;
+ public $productId;
+ public $productName;
+ public $selfLink;
+ public $skuId;
+ public $skuName;
+ 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 setProductName($productName)
+ {
+ $this->productName = $productName;
+ }
+ public function getProductName()
+ {
+ return $this->productName;
+ }
+ 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 setSkuName($skuName)
+ {
+ $this->skuName = $skuName;
+ }
+ public function getSkuName()
+ {
+ return $this->skuName;
+ }
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignmentInsert.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignmentInsert.php
new file mode 100644
index 00000000..cad54f06
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignmentInsert.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Licensing_LicenseAssignmentInsert extends Google_Model
+{
+ public $userId;
+
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignmentList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignmentList.php
new file mode 100644
index 00000000..5ba88e52
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignmentList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Licensing_LicenseAssignmentList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/Resource/LicenseAssignments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/Resource/LicenseAssignments.php
new file mode 100644
index 00000000..70350d7e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/Resource/LicenseAssignments.php
@@ -0,0 +1,149 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "licenseAssignments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $licensingService = new Google_Service_Licensing(...);
+ * $licenseAssignments = $licensingService->licenseAssignments;
+ * </code>
+ */
+class Google_Service_Licensing_Resource_LicenseAssignments extends 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 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), "Google_Service_Licensing_LicenseAssignment");
+ }
+ /**
+ * Assign License. (licenseAssignments.insert)
+ *
+ * @param string $productId Name for product
+ * @param string $skuId Name for sku
+ * @param Google_Service_Licensing_LicenseAssignmentInsert $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Licensing_LicenseAssignment
+ */
+ public function insert($productId, $skuId, 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), "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 maxResults Maximum number of campaigns to return at one
+ * time. Must be positive. Optional. Default value is 100.
+ * @opt_param string pageToken Token to fetch the next page.Optional. By default
+ * server will return first page
+ * @return 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), "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 maxResults Maximum number of campaigns to return at one
+ * time. Must be positive. Optional. Default value is 100.
+ * @opt_param string pageToken Token to fetch the next page.Optional. By default
+ * server will return first page
+ * @return 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), "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 Google_Service_Licensing_LicenseAssignment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Licensing_LicenseAssignment
+ */
+ public function patch($productId, $skuId, $userId, 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), "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 Google_Service_Licensing_LicenseAssignment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Licensing_LicenseAssignment
+ */
+ public function update($productId, $skuId, $userId, 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), "Google_Service_Licensing_LicenseAssignment");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging.php
new file mode 100644
index 00000000..92e9d14a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging.php
@@ -0,0 +1,640 @@
+<?php
+/*
+ * Copyright 2016 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 Logging (v2).
+ *
+ * <p>
+ * Writes log entries and manages your Stackdriver Logging configuration.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/logging/docs/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Logging extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM_READ_ONLY =
+ "https://www.googleapis.com/auth/cloud-platform.read-only";
+ /** Administrate log data for your projects. */
+ const LOGGING_ADMIN =
+ "https://www.googleapis.com/auth/logging.admin";
+ /** View log data for your projects. */
+ const LOGGING_READ =
+ "https://www.googleapis.com/auth/logging.read";
+ /** Submit log data for your projects. */
+ const LOGGING_WRITE =
+ "https://www.googleapis.com/auth/logging.write";
+
+ public $billingAccounts_logs;
+ public $billingAccounts_sinks;
+ public $entries;
+ public $folders_logs;
+ public $folders_sinks;
+ public $monitoredResourceDescriptors;
+ public $organizations_logs;
+ public $organizations_sinks;
+ public $projects_logs;
+ public $projects_metrics;
+ public $projects_sinks;
+
+ /**
+ * Constructs the internal representation of the Logging service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://logging.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v2';
+ $this->serviceName = 'logging';
+
+ $this->billingAccounts_logs = new Google_Service_Logging_Resource_BillingAccountsLogs(
+ $this,
+ $this->serviceName,
+ 'logs',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'v2/{+logName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'logName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v2/{+parent}/logs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->billingAccounts_sinks = new Google_Service_Logging_Resource_BillingAccountsSinks(
+ $this,
+ $this->serviceName,
+ 'sinks',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v2/{+parent}/sinks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'uniqueWriterIdentity' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v2/{+sinkName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'sinkName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v2/{+sinkName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'sinkName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v2/{+parent}/sinks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v2/{+sinkName}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'sinkName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'uniqueWriterIdentity' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->entries = new Google_Service_Logging_Resource_Entries(
+ $this,
+ $this->serviceName,
+ 'entries',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v2/entries:list',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'write' => array(
+ 'path' => 'v2/entries:write',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->folders_logs = new Google_Service_Logging_Resource_FoldersLogs(
+ $this,
+ $this->serviceName,
+ 'logs',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'v2/{+logName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'logName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v2/{+parent}/logs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->folders_sinks = new Google_Service_Logging_Resource_FoldersSinks(
+ $this,
+ $this->serviceName,
+ 'sinks',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v2/{+parent}/sinks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'uniqueWriterIdentity' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v2/{+sinkName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'sinkName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v2/{+sinkName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'sinkName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v2/{+parent}/sinks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v2/{+sinkName}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'sinkName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'uniqueWriterIdentity' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->monitoredResourceDescriptors = new Google_Service_Logging_Resource_MonitoredResourceDescriptors(
+ $this,
+ $this->serviceName,
+ 'monitoredResourceDescriptors',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v2/monitoredResourceDescriptors',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->organizations_logs = new Google_Service_Logging_Resource_OrganizationsLogs(
+ $this,
+ $this->serviceName,
+ 'logs',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'v2/{+logName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'logName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v2/{+parent}/logs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->organizations_sinks = new Google_Service_Logging_Resource_OrganizationsSinks(
+ $this,
+ $this->serviceName,
+ 'sinks',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v2/{+parent}/sinks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'uniqueWriterIdentity' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v2/{+sinkName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'sinkName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v2/{+sinkName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'sinkName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v2/{+parent}/sinks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v2/{+sinkName}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'sinkName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'uniqueWriterIdentity' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_logs = new Google_Service_Logging_Resource_ProjectsLogs(
+ $this,
+ $this->serviceName,
+ 'logs',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'v2/{+logName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'logName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v2/{+parent}/logs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_metrics = new Google_Service_Logging_Resource_ProjectsMetrics(
+ $this,
+ $this->serviceName,
+ 'metrics',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v2/{+parent}/metrics',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v2/{+metricName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'metricName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v2/{+metricName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'metricName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v2/{+parent}/metrics',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v2/{+metricName}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'metricName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_sinks = new Google_Service_Logging_Resource_ProjectsSinks(
+ $this,
+ $this->serviceName,
+ 'sinks',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v2/{+parent}/sinks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'uniqueWriterIdentity' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v2/{+sinkName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'sinkName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v2/{+sinkName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'sinkName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v2/{+parent}/sinks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v2/{+sinkName}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'sinkName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'uniqueWriterIdentity' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/HttpRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/HttpRequest.php
new file mode 100644
index 00000000..cb0962c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/HttpRequest.php
@@ -0,0 +1,147 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_HttpRequest extends Google_Model
+{
+ public $cacheFillBytes;
+ public $cacheHit;
+ public $cacheLookup;
+ public $cacheValidatedWithOriginServer;
+ public $latency;
+ public $referer;
+ public $remoteIp;
+ public $requestMethod;
+ public $requestSize;
+ public $requestUrl;
+ public $responseSize;
+ public $serverIp;
+ public $status;
+ public $userAgent;
+
+ public function setCacheFillBytes($cacheFillBytes)
+ {
+ $this->cacheFillBytes = $cacheFillBytes;
+ }
+ public function getCacheFillBytes()
+ {
+ return $this->cacheFillBytes;
+ }
+ public function setCacheHit($cacheHit)
+ {
+ $this->cacheHit = $cacheHit;
+ }
+ public function getCacheHit()
+ {
+ return $this->cacheHit;
+ }
+ public function setCacheLookup($cacheLookup)
+ {
+ $this->cacheLookup = $cacheLookup;
+ }
+ public function getCacheLookup()
+ {
+ return $this->cacheLookup;
+ }
+ public function setCacheValidatedWithOriginServer($cacheValidatedWithOriginServer)
+ {
+ $this->cacheValidatedWithOriginServer = $cacheValidatedWithOriginServer;
+ }
+ public function getCacheValidatedWithOriginServer()
+ {
+ return $this->cacheValidatedWithOriginServer;
+ }
+ public function setLatency($latency)
+ {
+ $this->latency = $latency;
+ }
+ public function getLatency()
+ {
+ return $this->latency;
+ }
+ public function setReferer($referer)
+ {
+ $this->referer = $referer;
+ }
+ public function getReferer()
+ {
+ return $this->referer;
+ }
+ public function setRemoteIp($remoteIp)
+ {
+ $this->remoteIp = $remoteIp;
+ }
+ public function getRemoteIp()
+ {
+ return $this->remoteIp;
+ }
+ public function setRequestMethod($requestMethod)
+ {
+ $this->requestMethod = $requestMethod;
+ }
+ public function getRequestMethod()
+ {
+ return $this->requestMethod;
+ }
+ public function setRequestSize($requestSize)
+ {
+ $this->requestSize = $requestSize;
+ }
+ public function getRequestSize()
+ {
+ return $this->requestSize;
+ }
+ public function setRequestUrl($requestUrl)
+ {
+ $this->requestUrl = $requestUrl;
+ }
+ public function getRequestUrl()
+ {
+ return $this->requestUrl;
+ }
+ public function setResponseSize($responseSize)
+ {
+ $this->responseSize = $responseSize;
+ }
+ public function getResponseSize()
+ {
+ return $this->responseSize;
+ }
+ public function setServerIp($serverIp)
+ {
+ $this->serverIp = $serverIp;
+ }
+ public function getServerIp()
+ {
+ return $this->serverIp;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setUserAgent($userAgent)
+ {
+ $this->userAgent = $userAgent;
+ }
+ public function getUserAgent()
+ {
+ return $this->userAgent;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LabelDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LabelDescriptor.php
new file mode 100644
index 00000000..0aa9de13
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LabelDescriptor.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_LabelDescriptor extends Google_Model
+{
+ public $description;
+ public $key;
+ public $valueType;
+
+ 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;
+ }
+ public function setValueType($valueType)
+ {
+ $this->valueType = $valueType;
+ }
+ public function getValueType()
+ {
+ return $this->valueType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogEntriesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogEntriesRequest.php
new file mode 100644
index 00000000..3cd2612d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogEntriesRequest.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_ListLogEntriesRequest extends Google_Collection
+{
+ protected $collection_key = 'resourceNames';
+ public $filter;
+ public $orderBy;
+ public $pageSize;
+ public $pageToken;
+ public $projectIds;
+ public $resourceNames;
+
+ public function setFilter($filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+ public function setOrderBy($orderBy)
+ {
+ $this->orderBy = $orderBy;
+ }
+ public function getOrderBy()
+ {
+ return $this->orderBy;
+ }
+ 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 setProjectIds($projectIds)
+ {
+ $this->projectIds = $projectIds;
+ }
+ public function getProjectIds()
+ {
+ return $this->projectIds;
+ }
+ public function setResourceNames($resourceNames)
+ {
+ $this->resourceNames = $resourceNames;
+ }
+ public function getResourceNames()
+ {
+ return $this->resourceNames;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogEntriesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogEntriesResponse.php
new file mode 100644
index 00000000..15e9ff5a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogEntriesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_ListLogEntriesResponse extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_Logging_LogEntry';
+ protected $entriesDataType = 'array';
+ public $nextPageToken;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogMetricsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogMetricsResponse.php
new file mode 100644
index 00000000..44b32d47
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogMetricsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_ListLogMetricsResponse extends Google_Collection
+{
+ protected $collection_key = 'metrics';
+ protected $metricsType = 'Google_Service_Logging_LogMetric';
+ protected $metricsDataType = 'array';
+ public $nextPageToken;
+
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogsResponse.php
new file mode 100644
index 00000000..13447c36
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogsResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_ListLogsResponse extends Google_Collection
+{
+ protected $collection_key = 'logNames';
+ public $logNames;
+ public $nextPageToken;
+
+ public function setLogNames($logNames)
+ {
+ $this->logNames = $logNames;
+ }
+ public function getLogNames()
+ {
+ return $this->logNames;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListMonitoredResourceDescriptorsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListMonitoredResourceDescriptorsResponse.php
new file mode 100644
index 00000000..0c542a22
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListMonitoredResourceDescriptorsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_ListMonitoredResourceDescriptorsResponse extends Google_Collection
+{
+ protected $collection_key = 'resourceDescriptors';
+ public $nextPageToken;
+ protected $resourceDescriptorsType = 'Google_Service_Logging_MonitoredResourceDescriptor';
+ protected $resourceDescriptorsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResourceDescriptors($resourceDescriptors)
+ {
+ $this->resourceDescriptors = $resourceDescriptors;
+ }
+ public function getResourceDescriptors()
+ {
+ return $this->resourceDescriptors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListSinksResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListSinksResponse.php
new file mode 100644
index 00000000..80d72d83
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListSinksResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_ListSinksResponse extends Google_Collection
+{
+ protected $collection_key = 'sinks';
+ public $nextPageToken;
+ protected $sinksType = 'Google_Service_Logging_LogSink';
+ protected $sinksDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSinks($sinks)
+ {
+ $this->sinks = $sinks;
+ }
+ public function getSinks()
+ {
+ return $this->sinks;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntry.php
new file mode 100644
index 00000000..8d92b5ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntry.php
@@ -0,0 +1,142 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_LogEntry extends Google_Model
+{
+ protected $httpRequestType = 'Google_Service_Logging_HttpRequest';
+ protected $httpRequestDataType = '';
+ public $insertId;
+ public $jsonPayload;
+ public $labels;
+ public $logName;
+ protected $operationType = 'Google_Service_Logging_LogEntryOperation';
+ protected $operationDataType = '';
+ public $protoPayload;
+ protected $resourceType = 'Google_Service_Logging_MonitoredResource';
+ protected $resourceDataType = '';
+ public $severity;
+ protected $sourceLocationType = 'Google_Service_Logging_LogEntrySourceLocation';
+ protected $sourceLocationDataType = '';
+ public $textPayload;
+ public $timestamp;
+ public $trace;
+
+ public function setHttpRequest(Google_Service_Logging_HttpRequest $httpRequest)
+ {
+ $this->httpRequest = $httpRequest;
+ }
+ public function getHttpRequest()
+ {
+ return $this->httpRequest;
+ }
+ public function setInsertId($insertId)
+ {
+ $this->insertId = $insertId;
+ }
+ public function getInsertId()
+ {
+ return $this->insertId;
+ }
+ public function setJsonPayload($jsonPayload)
+ {
+ $this->jsonPayload = $jsonPayload;
+ }
+ public function getJsonPayload()
+ {
+ return $this->jsonPayload;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLogName($logName)
+ {
+ $this->logName = $logName;
+ }
+ public function getLogName()
+ {
+ return $this->logName;
+ }
+ public function setOperation(Google_Service_Logging_LogEntryOperation $operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+ public function setProtoPayload($protoPayload)
+ {
+ $this->protoPayload = $protoPayload;
+ }
+ public function getProtoPayload()
+ {
+ return $this->protoPayload;
+ }
+ public function setResource(Google_Service_Logging_MonitoredResource $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+ public function setSeverity($severity)
+ {
+ $this->severity = $severity;
+ }
+ public function getSeverity()
+ {
+ return $this->severity;
+ }
+ public function setSourceLocation(Google_Service_Logging_LogEntrySourceLocation $sourceLocation)
+ {
+ $this->sourceLocation = $sourceLocation;
+ }
+ public function getSourceLocation()
+ {
+ return $this->sourceLocation;
+ }
+ public function setTextPayload($textPayload)
+ {
+ $this->textPayload = $textPayload;
+ }
+ public function getTextPayload()
+ {
+ return $this->textPayload;
+ }
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+ public function setTrace($trace)
+ {
+ $this->trace = $trace;
+ }
+ public function getTrace()
+ {
+ return $this->trace;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntryOperation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntryOperation.php
new file mode 100644
index 00000000..53879c17
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntryOperation.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_LogEntryOperation extends Google_Model
+{
+ public $first;
+ public $id;
+ public $last;
+ public $producer;
+
+ public function setFirst($first)
+ {
+ $this->first = $first;
+ }
+ public function getFirst()
+ {
+ return $this->first;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLast($last)
+ {
+ $this->last = $last;
+ }
+ public function getLast()
+ {
+ return $this->last;
+ }
+ public function setProducer($producer)
+ {
+ $this->producer = $producer;
+ }
+ public function getProducer()
+ {
+ return $this->producer;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntrySourceLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntrySourceLocation.php
new file mode 100644
index 00000000..fa8f01ce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntrySourceLocation.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_LogEntrySourceLocation extends Google_Model
+{
+ public $file;
+ public $function;
+ public $line;
+
+ public function setFile($file)
+ {
+ $this->file = $file;
+ }
+ public function getFile()
+ {
+ return $this->file;
+ }
+ public function setFunction($function)
+ {
+ $this->function = $function;
+ }
+ public function getFunction()
+ {
+ return $this->function;
+ }
+ public function setLine($line)
+ {
+ $this->line = $line;
+ }
+ public function getLine()
+ {
+ return $this->line;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogLine.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogLine.php
new file mode 100644
index 00000000..3b37e402
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogLine.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_LogLine extends Google_Model
+{
+ public $logMessage;
+ public $severity;
+ protected $sourceLocationType = 'Google_Service_Logging_SourceLocation';
+ protected $sourceLocationDataType = '';
+ public $time;
+
+ public function setLogMessage($logMessage)
+ {
+ $this->logMessage = $logMessage;
+ }
+ public function getLogMessage()
+ {
+ return $this->logMessage;
+ }
+ public function setSeverity($severity)
+ {
+ $this->severity = $severity;
+ }
+ public function getSeverity()
+ {
+ return $this->severity;
+ }
+ public function setSourceLocation(Google_Service_Logging_SourceLocation $sourceLocation)
+ {
+ $this->sourceLocation = $sourceLocation;
+ }
+ public function getSourceLocation()
+ {
+ return $this->sourceLocation;
+ }
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+ public function getTime()
+ {
+ return $this->time;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogMetric.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogMetric.php
new file mode 100644
index 00000000..42213432
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogMetric.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_LogMetric extends Google_Model
+{
+ public $description;
+ public $filter;
+ public $name;
+ public $version;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setFilter($filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogSink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogSink.php
new file mode 100644
index 00000000..2beb19da
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogSink.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_LogSink extends Google_Model
+{
+ public $destination;
+ public $endTime;
+ public $filter;
+ public $name;
+ public $outputVersionFormat;
+ public $startTime;
+ public $writerIdentity;
+
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setFilter($filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOutputVersionFormat($outputVersionFormat)
+ {
+ $this->outputVersionFormat = $outputVersionFormat;
+ }
+ public function getOutputVersionFormat()
+ {
+ return $this->outputVersionFormat;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setWriterIdentity($writerIdentity)
+ {
+ $this->writerIdentity = $writerIdentity;
+ }
+ public function getWriterIdentity()
+ {
+ return $this->writerIdentity;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LoggingEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LoggingEmpty.php
new file mode 100644
index 00000000..e74cf7f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LoggingEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_LoggingEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/MonitoredResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/MonitoredResource.php
new file mode 100644
index 00000000..6b26d102
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/MonitoredResource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_MonitoredResource extends Google_Model
+{
+ public $labels;
+ public $type;
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/MonitoredResourceDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/MonitoredResourceDescriptor.php
new file mode 100644
index 00000000..e3df9370
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/MonitoredResourceDescriptor.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_MonitoredResourceDescriptor extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ public $description;
+ public $displayName;
+ protected $labelsType = 'Google_Service_Logging_LabelDescriptor';
+ protected $labelsDataType = 'array';
+ public $name;
+ public $type;
+
+ 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 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 setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/RequestLog.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/RequestLog.php
new file mode 100644
index 00000000..e9cbdd6a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/RequestLog.php
@@ -0,0 +1,312 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_RequestLog extends Google_Collection
+{
+ protected $collection_key = 'sourceReference';
+ public $appEngineRelease;
+ public $appId;
+ public $cost;
+ public $endTime;
+ public $finished;
+ public $first;
+ public $host;
+ public $httpVersion;
+ public $instanceId;
+ public $instanceIndex;
+ public $ip;
+ public $latency;
+ protected $lineType = 'Google_Service_Logging_LogLine';
+ protected $lineDataType = 'array';
+ public $megaCycles;
+ public $method;
+ public $moduleId;
+ public $nickname;
+ public $pendingTime;
+ public $referrer;
+ public $requestId;
+ public $resource;
+ public $responseSize;
+ protected $sourceReferenceType = 'Google_Service_Logging_SourceReference';
+ protected $sourceReferenceDataType = 'array';
+ public $startTime;
+ public $status;
+ public $taskName;
+ public $taskQueueName;
+ public $traceId;
+ public $urlMapEntry;
+ public $userAgent;
+ public $versionId;
+ public $wasLoadingRequest;
+
+ public function setAppEngineRelease($appEngineRelease)
+ {
+ $this->appEngineRelease = $appEngineRelease;
+ }
+ public function getAppEngineRelease()
+ {
+ return $this->appEngineRelease;
+ }
+ public function setAppId($appId)
+ {
+ $this->appId = $appId;
+ }
+ public function getAppId()
+ {
+ return $this->appId;
+ }
+ public function setCost($cost)
+ {
+ $this->cost = $cost;
+ }
+ public function getCost()
+ {
+ return $this->cost;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setFinished($finished)
+ {
+ $this->finished = $finished;
+ }
+ public function getFinished()
+ {
+ return $this->finished;
+ }
+ public function setFirst($first)
+ {
+ $this->first = $first;
+ }
+ public function getFirst()
+ {
+ return $this->first;
+ }
+ public function setHost($host)
+ {
+ $this->host = $host;
+ }
+ public function getHost()
+ {
+ return $this->host;
+ }
+ public function setHttpVersion($httpVersion)
+ {
+ $this->httpVersion = $httpVersion;
+ }
+ public function getHttpVersion()
+ {
+ return $this->httpVersion;
+ }
+ public function setInstanceId($instanceId)
+ {
+ $this->instanceId = $instanceId;
+ }
+ public function getInstanceId()
+ {
+ return $this->instanceId;
+ }
+ public function setInstanceIndex($instanceIndex)
+ {
+ $this->instanceIndex = $instanceIndex;
+ }
+ public function getInstanceIndex()
+ {
+ return $this->instanceIndex;
+ }
+ public function setIp($ip)
+ {
+ $this->ip = $ip;
+ }
+ public function getIp()
+ {
+ return $this->ip;
+ }
+ public function setLatency($latency)
+ {
+ $this->latency = $latency;
+ }
+ public function getLatency()
+ {
+ return $this->latency;
+ }
+ public function setLine($line)
+ {
+ $this->line = $line;
+ }
+ public function getLine()
+ {
+ return $this->line;
+ }
+ public function setMegaCycles($megaCycles)
+ {
+ $this->megaCycles = $megaCycles;
+ }
+ public function getMegaCycles()
+ {
+ return $this->megaCycles;
+ }
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+ public function setModuleId($moduleId)
+ {
+ $this->moduleId = $moduleId;
+ }
+ public function getModuleId()
+ {
+ return $this->moduleId;
+ }
+ public function setNickname($nickname)
+ {
+ $this->nickname = $nickname;
+ }
+ public function getNickname()
+ {
+ return $this->nickname;
+ }
+ public function setPendingTime($pendingTime)
+ {
+ $this->pendingTime = $pendingTime;
+ }
+ public function getPendingTime()
+ {
+ return $this->pendingTime;
+ }
+ public function setReferrer($referrer)
+ {
+ $this->referrer = $referrer;
+ }
+ public function getReferrer()
+ {
+ return $this->referrer;
+ }
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+ public function setResource($resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+ public function setResponseSize($responseSize)
+ {
+ $this->responseSize = $responseSize;
+ }
+ public function getResponseSize()
+ {
+ return $this->responseSize;
+ }
+ public function setSourceReference($sourceReference)
+ {
+ $this->sourceReference = $sourceReference;
+ }
+ public function getSourceReference()
+ {
+ return $this->sourceReference;
+ }
+ 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 setTaskName($taskName)
+ {
+ $this->taskName = $taskName;
+ }
+ public function getTaskName()
+ {
+ return $this->taskName;
+ }
+ public function setTaskQueueName($taskQueueName)
+ {
+ $this->taskQueueName = $taskQueueName;
+ }
+ public function getTaskQueueName()
+ {
+ return $this->taskQueueName;
+ }
+ public function setTraceId($traceId)
+ {
+ $this->traceId = $traceId;
+ }
+ public function getTraceId()
+ {
+ return $this->traceId;
+ }
+ public function setUrlMapEntry($urlMapEntry)
+ {
+ $this->urlMapEntry = $urlMapEntry;
+ }
+ public function getUrlMapEntry()
+ {
+ return $this->urlMapEntry;
+ }
+ public function setUserAgent($userAgent)
+ {
+ $this->userAgent = $userAgent;
+ }
+ public function getUserAgent()
+ {
+ return $this->userAgent;
+ }
+ public function setVersionId($versionId)
+ {
+ $this->versionId = $versionId;
+ }
+ public function getVersionId()
+ {
+ return $this->versionId;
+ }
+ public function setWasLoadingRequest($wasLoadingRequest)
+ {
+ $this->wasLoadingRequest = $wasLoadingRequest;
+ }
+ public function getWasLoadingRequest()
+ {
+ return $this->wasLoadingRequest;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccounts.php
new file mode 100644
index 00000000..9a3d49ec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccounts.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "billingAccounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $loggingService = new Google_Service_Logging(...);
+ * $billingAccounts = $loggingService->billingAccounts;
+ * </code>
+ */
+class Google_Service_Logging_Resource_BillingAccounts extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsLogs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsLogs.php
new file mode 100644
index 00000000..90105a79
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsLogs.php
@@ -0,0 +1,74 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "logs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $loggingService = new Google_Service_Logging(...);
+ * $logs = $loggingService->logs;
+ * </code>
+ */
+class Google_Service_Logging_Resource_BillingAccountsLogs extends Google_Service_Resource
+{
+ /**
+ * Deletes all the log entries in a log. The log reappears if it receives new
+ * entries. Log entries written shortly before the delete operation might not be
+ * deleted. (logs.delete)
+ *
+ * @param string $logName Required. The resource name of the log to delete:
+ * "projects/[PROJECT_ID]/logs/[LOG_ID]"
+ * "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
+ * "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID] must be URL-encoded. For
+ * example, "projects/my-project-id/logs/syslog", "organizations/1234567890/logs
+ * /cloudresourcemanager.googleapis.com%2Factivity". For more information about
+ * log names, see LogEntry.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LoggingEmpty
+ */
+ public function delete($logName, $optParams = array())
+ {
+ $params = array('logName' => $logName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty");
+ }
+ /**
+ * Lists the logs in projects, organizations, folders, or billing accounts. Only
+ * logs that have entries are listed. (logs.listBillingAccountsLogs)
+ *
+ * @param string $parent Required. The resource name that owns the logs:
+ * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional. If present, then retrieve the next
+ * batch of results from the preceding call to this method. pageToken must be
+ * the value of nextPageToken from the previous response. The values of other
+ * method parameters should be identical to those in the previous call.
+ * @opt_param int pageSize Optional. The maximum number of results to return
+ * from this request. Non-positive values are ignored. The presence of
+ * nextPageToken in the response indicates that more results might be available.
+ * @return Google_Service_Logging_ListLogsResponse
+ */
+ public function listBillingAccountsLogs($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListLogsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsSinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsSinks.php
new file mode 100644
index 00000000..a2bf7980
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsSinks.php
@@ -0,0 +1,155 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "sinks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $loggingService = new Google_Service_Logging(...);
+ * $sinks = $loggingService->sinks;
+ * </code>
+ */
+class Google_Service_Logging_Resource_BillingAccountsSinks extends Google_Service_Resource
+{
+ /**
+ * Creates a sink that exports specified log entries to a destination. The
+ * export of newly-ingested log entries begins immediately, unless the current
+ * time is outside the sink's start and end times or the sink's writer_identity
+ * is not permitted to write to the destination. A sink can export log entries
+ * only from the resource owning the sink. (sinks.create)
+ *
+ * @param string $parent Required. The resource in which to create the sink:
+ * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples:
+ * "projects/my-logging-project", "organizations/123456789".
+ * @param Google_Service_Logging_LogSink $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool uniqueWriterIdentity Optional. Determines the kind of IAM
+ * identity returned as writer_identity in the new sink. If this value is
+ * omitted or set to false, and if the sink's parent is a project, then the
+ * value returned as writer_identity is the same group or service account used
+ * by Stackdriver Logging before the addition of writer identities to this API.
+ * The sink's destination must be in the same project as the sink itself.If this
+ * field is set to true, or if the sink is owned by a non-project resource such
+ * as an organization, then the value of writer_identity will be a unique
+ * service account used only for exports from the new sink. For more
+ * information, see writer_identity in LogSink.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function create($parent, Google_Service_Logging_LogSink $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Logging_LogSink");
+ }
+ /**
+ * Deletes a sink. If the sink has a unique writer_identity, then that service
+ * account is also deleted. (sinks.delete)
+ *
+ * @param string $sinkName Required. The full resource name of the sink to
+ * delete, including the parent resource and the sink identifier:
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks
+ * /my-sink-id".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LoggingEmpty
+ */
+ public function delete($sinkName, $optParams = array())
+ {
+ $params = array('sinkName' => $sinkName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty");
+ }
+ /**
+ * Gets a sink. (sinks.get)
+ *
+ * @param string $sinkName Required. The resource name of the sink:
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks
+ * /my-sink-id".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function get($sinkName, $optParams = array())
+ {
+ $params = array('sinkName' => $sinkName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Logging_LogSink");
+ }
+ /**
+ * Lists sinks. (sinks.listBillingAccountsSinks)
+ *
+ * @param string $parent Required. The parent resource whose sinks are to be
+ * listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional. If present, then retrieve the next
+ * batch of results from the preceding call to this method. pageToken must be
+ * the value of nextPageToken from the previous response. The values of other
+ * method parameters should be identical to those in the previous call.
+ * @opt_param int pageSize Optional. The maximum number of results to return
+ * from this request. Non-positive values are ignored. The presence of
+ * nextPageToken in the response indicates that more results might be available.
+ * @return Google_Service_Logging_ListSinksResponse
+ */
+ public function listBillingAccountsSinks($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListSinksResponse");
+ }
+ /**
+ * Updates a sink. If the named sink doesn't exist, then this method is
+ * identical to sinks.create. If the named sink does exist, then this method
+ * replaces the following fields in the existing sink with values from the new
+ * sink: destination, filter, output_version_format, start_time, and end_time.
+ * The updated filter might also have a new writer_identity; see the
+ * unique_writer_identity field. (sinks.update)
+ *
+ * @param string $sinkName Required. The full resource name of the sink to
+ * update, including the parent resource and the sink identifier:
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks
+ * /my-sink-id".
+ * @param Google_Service_Logging_LogSink $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool uniqueWriterIdentity Optional. See sinks.create for a
+ * description of this field. When updating a sink, the effect of this field on
+ * the value of writer_identity in the updated sink depends on both the old and
+ * new values of this field: If the old and new values of this field are both
+ * false or both true, then there is no change to the sink's writer_identity. If
+ * the old value is false and the new value is true, then writer_identity is
+ * changed to a unique service account. It is an error if the old value is true
+ * and the new value is false.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function update($sinkName, Google_Service_Logging_LogSink $postBody, $optParams = array())
+ {
+ $params = array('sinkName' => $sinkName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Logging_LogSink");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Entries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Entries.php
new file mode 100644
index 00000000..f7984800
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Entries.php
@@ -0,0 +1,56 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "entries" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $loggingService = new Google_Service_Logging(...);
+ * $entries = $loggingService->entries;
+ * </code>
+ */
+class Google_Service_Logging_Resource_Entries extends Google_Service_Resource
+{
+ /**
+ * Lists log entries. Use this method to retrieve log entries from Stackdriver
+ * Logging. For ways to export log entries, see Exporting Logs.
+ * (entries.listEntries)
+ *
+ * @param Google_Service_Logging_ListLogEntriesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_ListLogEntriesResponse
+ */
+ public function listEntries(Google_Service_Logging_ListLogEntriesRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListLogEntriesResponse");
+ }
+ /**
+ * Writes log entries to Stackdriver Logging. (entries.write)
+ *
+ * @param Google_Service_Logging_WriteLogEntriesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_WriteLogEntriesResponse
+ */
+ public function write(Google_Service_Logging_WriteLogEntriesRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('write', array($params), "Google_Service_Logging_WriteLogEntriesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Folders.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Folders.php
new file mode 100644
index 00000000..e0949582
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Folders.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "folders" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $loggingService = new Google_Service_Logging(...);
+ * $folders = $loggingService->folders;
+ * </code>
+ */
+class Google_Service_Logging_Resource_Folders extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersLogs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersLogs.php
new file mode 100644
index 00000000..2687daba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersLogs.php
@@ -0,0 +1,74 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "logs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $loggingService = new Google_Service_Logging(...);
+ * $logs = $loggingService->logs;
+ * </code>
+ */
+class Google_Service_Logging_Resource_FoldersLogs extends Google_Service_Resource
+{
+ /**
+ * Deletes all the log entries in a log. The log reappears if it receives new
+ * entries. Log entries written shortly before the delete operation might not be
+ * deleted. (logs.delete)
+ *
+ * @param string $logName Required. The resource name of the log to delete:
+ * "projects/[PROJECT_ID]/logs/[LOG_ID]"
+ * "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
+ * "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID] must be URL-encoded. For
+ * example, "projects/my-project-id/logs/syslog", "organizations/1234567890/logs
+ * /cloudresourcemanager.googleapis.com%2Factivity". For more information about
+ * log names, see LogEntry.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LoggingEmpty
+ */
+ public function delete($logName, $optParams = array())
+ {
+ $params = array('logName' => $logName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty");
+ }
+ /**
+ * Lists the logs in projects, organizations, folders, or billing accounts. Only
+ * logs that have entries are listed. (logs.listFoldersLogs)
+ *
+ * @param string $parent Required. The resource name that owns the logs:
+ * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional. If present, then retrieve the next
+ * batch of results from the preceding call to this method. pageToken must be
+ * the value of nextPageToken from the previous response. The values of other
+ * method parameters should be identical to those in the previous call.
+ * @opt_param int pageSize Optional. The maximum number of results to return
+ * from this request. Non-positive values are ignored. The presence of
+ * nextPageToken in the response indicates that more results might be available.
+ * @return Google_Service_Logging_ListLogsResponse
+ */
+ public function listFoldersLogs($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListLogsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersSinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersSinks.php
new file mode 100644
index 00000000..aec5f660
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersSinks.php
@@ -0,0 +1,155 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "sinks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $loggingService = new Google_Service_Logging(...);
+ * $sinks = $loggingService->sinks;
+ * </code>
+ */
+class Google_Service_Logging_Resource_FoldersSinks extends Google_Service_Resource
+{
+ /**
+ * Creates a sink that exports specified log entries to a destination. The
+ * export of newly-ingested log entries begins immediately, unless the current
+ * time is outside the sink's start and end times or the sink's writer_identity
+ * is not permitted to write to the destination. A sink can export log entries
+ * only from the resource owning the sink. (sinks.create)
+ *
+ * @param string $parent Required. The resource in which to create the sink:
+ * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples:
+ * "projects/my-logging-project", "organizations/123456789".
+ * @param Google_Service_Logging_LogSink $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool uniqueWriterIdentity Optional. Determines the kind of IAM
+ * identity returned as writer_identity in the new sink. If this value is
+ * omitted or set to false, and if the sink's parent is a project, then the
+ * value returned as writer_identity is the same group or service account used
+ * by Stackdriver Logging before the addition of writer identities to this API.
+ * The sink's destination must be in the same project as the sink itself.If this
+ * field is set to true, or if the sink is owned by a non-project resource such
+ * as an organization, then the value of writer_identity will be a unique
+ * service account used only for exports from the new sink. For more
+ * information, see writer_identity in LogSink.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function create($parent, Google_Service_Logging_LogSink $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Logging_LogSink");
+ }
+ /**
+ * Deletes a sink. If the sink has a unique writer_identity, then that service
+ * account is also deleted. (sinks.delete)
+ *
+ * @param string $sinkName Required. The full resource name of the sink to
+ * delete, including the parent resource and the sink identifier:
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks
+ * /my-sink-id".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LoggingEmpty
+ */
+ public function delete($sinkName, $optParams = array())
+ {
+ $params = array('sinkName' => $sinkName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty");
+ }
+ /**
+ * Gets a sink. (sinks.get)
+ *
+ * @param string $sinkName Required. The resource name of the sink:
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks
+ * /my-sink-id".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function get($sinkName, $optParams = array())
+ {
+ $params = array('sinkName' => $sinkName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Logging_LogSink");
+ }
+ /**
+ * Lists sinks. (sinks.listFoldersSinks)
+ *
+ * @param string $parent Required. The parent resource whose sinks are to be
+ * listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional. If present, then retrieve the next
+ * batch of results from the preceding call to this method. pageToken must be
+ * the value of nextPageToken from the previous response. The values of other
+ * method parameters should be identical to those in the previous call.
+ * @opt_param int pageSize Optional. The maximum number of results to return
+ * from this request. Non-positive values are ignored. The presence of
+ * nextPageToken in the response indicates that more results might be available.
+ * @return Google_Service_Logging_ListSinksResponse
+ */
+ public function listFoldersSinks($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListSinksResponse");
+ }
+ /**
+ * Updates a sink. If the named sink doesn't exist, then this method is
+ * identical to sinks.create. If the named sink does exist, then this method
+ * replaces the following fields in the existing sink with values from the new
+ * sink: destination, filter, output_version_format, start_time, and end_time.
+ * The updated filter might also have a new writer_identity; see the
+ * unique_writer_identity field. (sinks.update)
+ *
+ * @param string $sinkName Required. The full resource name of the sink to
+ * update, including the parent resource and the sink identifier:
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks
+ * /my-sink-id".
+ * @param Google_Service_Logging_LogSink $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool uniqueWriterIdentity Optional. See sinks.create for a
+ * description of this field. When updating a sink, the effect of this field on
+ * the value of writer_identity in the updated sink depends on both the old and
+ * new values of this field: If the old and new values of this field are both
+ * false or both true, then there is no change to the sink's writer_identity. If
+ * the old value is false and the new value is true, then writer_identity is
+ * changed to a unique service account. It is an error if the old value is true
+ * and the new value is false.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function update($sinkName, Google_Service_Logging_LogSink $postBody, $optParams = array())
+ {
+ $params = array('sinkName' => $sinkName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Logging_LogSink");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/MonitoredResourceDescriptors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/MonitoredResourceDescriptors.php
new file mode 100644
index 00000000..3cb8643a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/MonitoredResourceDescriptors.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "monitoredResourceDescriptors" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $loggingService = new Google_Service_Logging(...);
+ * $monitoredResourceDescriptors = $loggingService->monitoredResourceDescriptors;
+ * </code>
+ */
+class Google_Service_Logging_Resource_MonitoredResourceDescriptors extends Google_Service_Resource
+{
+ /**
+ * Lists the descriptors for monitored resource types used by Stackdriver
+ * Logging. (monitoredResourceDescriptors.listMonitoredResourceDescriptors)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Optional. The maximum number of results to return
+ * from this request. Non-positive values are ignored. The presence of
+ * nextPageToken in the response indicates that more results might be available.
+ * @opt_param string pageToken Optional. If present, then retrieve the next
+ * batch of results from the preceding call to this method. pageToken must be
+ * the value of nextPageToken from the previous response. The values of other
+ * method parameters should be identical to those in the previous call.
+ * @return Google_Service_Logging_ListMonitoredResourceDescriptorsResponse
+ */
+ public function listMonitoredResourceDescriptors($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListMonitoredResourceDescriptorsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Organizations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Organizations.php
new file mode 100644
index 00000000..016ced47
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Organizations.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "organizations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $loggingService = new Google_Service_Logging(...);
+ * $organizations = $loggingService->organizations;
+ * </code>
+ */
+class Google_Service_Logging_Resource_Organizations extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsLogs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsLogs.php
new file mode 100644
index 00000000..f02191a2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsLogs.php
@@ -0,0 +1,74 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "logs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $loggingService = new Google_Service_Logging(...);
+ * $logs = $loggingService->logs;
+ * </code>
+ */
+class Google_Service_Logging_Resource_OrganizationsLogs extends Google_Service_Resource
+{
+ /**
+ * Deletes all the log entries in a log. The log reappears if it receives new
+ * entries. Log entries written shortly before the delete operation might not be
+ * deleted. (logs.delete)
+ *
+ * @param string $logName Required. The resource name of the log to delete:
+ * "projects/[PROJECT_ID]/logs/[LOG_ID]"
+ * "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
+ * "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID] must be URL-encoded. For
+ * example, "projects/my-project-id/logs/syslog", "organizations/1234567890/logs
+ * /cloudresourcemanager.googleapis.com%2Factivity". For more information about
+ * log names, see LogEntry.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LoggingEmpty
+ */
+ public function delete($logName, $optParams = array())
+ {
+ $params = array('logName' => $logName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty");
+ }
+ /**
+ * Lists the logs in projects, organizations, folders, or billing accounts. Only
+ * logs that have entries are listed. (logs.listOrganizationsLogs)
+ *
+ * @param string $parent Required. The resource name that owns the logs:
+ * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional. If present, then retrieve the next
+ * batch of results from the preceding call to this method. pageToken must be
+ * the value of nextPageToken from the previous response. The values of other
+ * method parameters should be identical to those in the previous call.
+ * @opt_param int pageSize Optional. The maximum number of results to return
+ * from this request. Non-positive values are ignored. The presence of
+ * nextPageToken in the response indicates that more results might be available.
+ * @return Google_Service_Logging_ListLogsResponse
+ */
+ public function listOrganizationsLogs($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListLogsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsSinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsSinks.php
new file mode 100644
index 00000000..352d2f74
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsSinks.php
@@ -0,0 +1,155 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "sinks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $loggingService = new Google_Service_Logging(...);
+ * $sinks = $loggingService->sinks;
+ * </code>
+ */
+class Google_Service_Logging_Resource_OrganizationsSinks extends Google_Service_Resource
+{
+ /**
+ * Creates a sink that exports specified log entries to a destination. The
+ * export of newly-ingested log entries begins immediately, unless the current
+ * time is outside the sink's start and end times or the sink's writer_identity
+ * is not permitted to write to the destination. A sink can export log entries
+ * only from the resource owning the sink. (sinks.create)
+ *
+ * @param string $parent Required. The resource in which to create the sink:
+ * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples:
+ * "projects/my-logging-project", "organizations/123456789".
+ * @param Google_Service_Logging_LogSink $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool uniqueWriterIdentity Optional. Determines the kind of IAM
+ * identity returned as writer_identity in the new sink. If this value is
+ * omitted or set to false, and if the sink's parent is a project, then the
+ * value returned as writer_identity is the same group or service account used
+ * by Stackdriver Logging before the addition of writer identities to this API.
+ * The sink's destination must be in the same project as the sink itself.If this
+ * field is set to true, or if the sink is owned by a non-project resource such
+ * as an organization, then the value of writer_identity will be a unique
+ * service account used only for exports from the new sink. For more
+ * information, see writer_identity in LogSink.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function create($parent, Google_Service_Logging_LogSink $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Logging_LogSink");
+ }
+ /**
+ * Deletes a sink. If the sink has a unique writer_identity, then that service
+ * account is also deleted. (sinks.delete)
+ *
+ * @param string $sinkName Required. The full resource name of the sink to
+ * delete, including the parent resource and the sink identifier:
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks
+ * /my-sink-id".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LoggingEmpty
+ */
+ public function delete($sinkName, $optParams = array())
+ {
+ $params = array('sinkName' => $sinkName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty");
+ }
+ /**
+ * Gets a sink. (sinks.get)
+ *
+ * @param string $sinkName Required. The resource name of the sink:
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks
+ * /my-sink-id".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function get($sinkName, $optParams = array())
+ {
+ $params = array('sinkName' => $sinkName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Logging_LogSink");
+ }
+ /**
+ * Lists sinks. (sinks.listOrganizationsSinks)
+ *
+ * @param string $parent Required. The parent resource whose sinks are to be
+ * listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional. If present, then retrieve the next
+ * batch of results from the preceding call to this method. pageToken must be
+ * the value of nextPageToken from the previous response. The values of other
+ * method parameters should be identical to those in the previous call.
+ * @opt_param int pageSize Optional. The maximum number of results to return
+ * from this request. Non-positive values are ignored. The presence of
+ * nextPageToken in the response indicates that more results might be available.
+ * @return Google_Service_Logging_ListSinksResponse
+ */
+ public function listOrganizationsSinks($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListSinksResponse");
+ }
+ /**
+ * Updates a sink. If the named sink doesn't exist, then this method is
+ * identical to sinks.create. If the named sink does exist, then this method
+ * replaces the following fields in the existing sink with values from the new
+ * sink: destination, filter, output_version_format, start_time, and end_time.
+ * The updated filter might also have a new writer_identity; see the
+ * unique_writer_identity field. (sinks.update)
+ *
+ * @param string $sinkName Required. The full resource name of the sink to
+ * update, including the parent resource and the sink identifier:
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks
+ * /my-sink-id".
+ * @param Google_Service_Logging_LogSink $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool uniqueWriterIdentity Optional. See sinks.create for a
+ * description of this field. When updating a sink, the effect of this field on
+ * the value of writer_identity in the updated sink depends on both the old and
+ * new values of this field: If the old and new values of this field are both
+ * false or both true, then there is no change to the sink's writer_identity. If
+ * the old value is false and the new value is true, then writer_identity is
+ * changed to a unique service account. It is an error if the old value is true
+ * and the new value is false.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function update($sinkName, Google_Service_Logging_LogSink $postBody, $optParams = array())
+ {
+ $params = array('sinkName' => $sinkName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Logging_LogSink");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Projects.php
new file mode 100644
index 00000000..22dae1b2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Projects.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $loggingService = new Google_Service_Logging(...);
+ * $projects = $loggingService->projects;
+ * </code>
+ */
+class Google_Service_Logging_Resource_Projects extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsLogs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsLogs.php
new file mode 100644
index 00000000..d1bd323d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsLogs.php
@@ -0,0 +1,74 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "logs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $loggingService = new Google_Service_Logging(...);
+ * $logs = $loggingService->logs;
+ * </code>
+ */
+class Google_Service_Logging_Resource_ProjectsLogs extends Google_Service_Resource
+{
+ /**
+ * Deletes all the log entries in a log. The log reappears if it receives new
+ * entries. Log entries written shortly before the delete operation might not be
+ * deleted. (logs.delete)
+ *
+ * @param string $logName Required. The resource name of the log to delete:
+ * "projects/[PROJECT_ID]/logs/[LOG_ID]"
+ * "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
+ * "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID] must be URL-encoded. For
+ * example, "projects/my-project-id/logs/syslog", "organizations/1234567890/logs
+ * /cloudresourcemanager.googleapis.com%2Factivity". For more information about
+ * log names, see LogEntry.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LoggingEmpty
+ */
+ public function delete($logName, $optParams = array())
+ {
+ $params = array('logName' => $logName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty");
+ }
+ /**
+ * Lists the logs in projects, organizations, folders, or billing accounts. Only
+ * logs that have entries are listed. (logs.listProjectsLogs)
+ *
+ * @param string $parent Required. The resource name that owns the logs:
+ * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Optional. The maximum number of results to return
+ * from this request. Non-positive values are ignored. The presence of
+ * nextPageToken in the response indicates that more results might be available.
+ * @opt_param string pageToken Optional. If present, then retrieve the next
+ * batch of results from the preceding call to this method. pageToken must be
+ * the value of nextPageToken from the previous response. The values of other
+ * method parameters should be identical to those in the previous call.
+ * @return Google_Service_Logging_ListLogsResponse
+ */
+ public function listProjectsLogs($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListLogsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsMetrics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsMetrics.php
new file mode 100644
index 00000000..b0919d84
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsMetrics.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "metrics" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $loggingService = new Google_Service_Logging(...);
+ * $metrics = $loggingService->metrics;
+ * </code>
+ */
+class Google_Service_Logging_Resource_ProjectsMetrics extends Google_Service_Resource
+{
+ /**
+ * Creates a logs-based metric. (metrics.create)
+ *
+ * @param string $parent The resource name of the project in which to create the
+ * metric: "projects/[PROJECT_ID]" The new metric must be provided in the
+ * request.
+ * @param Google_Service_Logging_LogMetric $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LogMetric
+ */
+ public function create($parent, Google_Service_Logging_LogMetric $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Logging_LogMetric");
+ }
+ /**
+ * Deletes a logs-based metric. (metrics.delete)
+ *
+ * @param string $metricName The resource name of the metric to delete:
+ * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LoggingEmpty
+ */
+ public function delete($metricName, $optParams = array())
+ {
+ $params = array('metricName' => $metricName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty");
+ }
+ /**
+ * Gets a logs-based metric. (metrics.get)
+ *
+ * @param string $metricName The resource name of the desired metric:
+ * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LogMetric
+ */
+ public function get($metricName, $optParams = array())
+ {
+ $params = array('metricName' => $metricName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Logging_LogMetric");
+ }
+ /**
+ * Lists logs-based metrics. (metrics.listProjectsMetrics)
+ *
+ * @param string $parent Required. The name of the project containing the
+ * metrics: "projects/[PROJECT_ID]"
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional. If present, then retrieve the next
+ * batch of results from the preceding call to this method. pageToken must be
+ * the value of nextPageToken from the previous response. The values of other
+ * method parameters should be identical to those in the previous call.
+ * @opt_param int pageSize Optional. The maximum number of results to return
+ * from this request. Non-positive values are ignored. The presence of
+ * nextPageToken in the response indicates that more results might be available.
+ * @return Google_Service_Logging_ListLogMetricsResponse
+ */
+ public function listProjectsMetrics($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListLogMetricsResponse");
+ }
+ /**
+ * Creates or updates a logs-based metric. (metrics.update)
+ *
+ * @param string $metricName The resource name of the metric to update:
+ * "projects/[PROJECT_ID]/metrics/[METRIC_ID]" The updated metric must be
+ * provided in the request and it's name field must be the same as [METRIC_ID]
+ * If the metric does not exist in [PROJECT_ID], then a new metric is created.
+ * @param Google_Service_Logging_LogMetric $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LogMetric
+ */
+ public function update($metricName, Google_Service_Logging_LogMetric $postBody, $optParams = array())
+ {
+ $params = array('metricName' => $metricName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Logging_LogMetric");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsSinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsSinks.php
new file mode 100644
index 00000000..653c03ce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsSinks.php
@@ -0,0 +1,155 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "sinks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $loggingService = new Google_Service_Logging(...);
+ * $sinks = $loggingService->sinks;
+ * </code>
+ */
+class Google_Service_Logging_Resource_ProjectsSinks extends Google_Service_Resource
+{
+ /**
+ * Creates a sink that exports specified log entries to a destination. The
+ * export of newly-ingested log entries begins immediately, unless the current
+ * time is outside the sink's start and end times or the sink's writer_identity
+ * is not permitted to write to the destination. A sink can export log entries
+ * only from the resource owning the sink. (sinks.create)
+ *
+ * @param string $parent Required. The resource in which to create the sink:
+ * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples:
+ * "projects/my-logging-project", "organizations/123456789".
+ * @param Google_Service_Logging_LogSink $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool uniqueWriterIdentity Optional. Determines the kind of IAM
+ * identity returned as writer_identity in the new sink. If this value is
+ * omitted or set to false, and if the sink's parent is a project, then the
+ * value returned as writer_identity is the same group or service account used
+ * by Stackdriver Logging before the addition of writer identities to this API.
+ * The sink's destination must be in the same project as the sink itself.If this
+ * field is set to true, or if the sink is owned by a non-project resource such
+ * as an organization, then the value of writer_identity will be a unique
+ * service account used only for exports from the new sink. For more
+ * information, see writer_identity in LogSink.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function create($parent, Google_Service_Logging_LogSink $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Logging_LogSink");
+ }
+ /**
+ * Deletes a sink. If the sink has a unique writer_identity, then that service
+ * account is also deleted. (sinks.delete)
+ *
+ * @param string $sinkName Required. The full resource name of the sink to
+ * delete, including the parent resource and the sink identifier:
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks
+ * /my-sink-id".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LoggingEmpty
+ */
+ public function delete($sinkName, $optParams = array())
+ {
+ $params = array('sinkName' => $sinkName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty");
+ }
+ /**
+ * Gets a sink. (sinks.get)
+ *
+ * @param string $sinkName Required. The resource name of the sink:
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks
+ * /my-sink-id".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function get($sinkName, $optParams = array())
+ {
+ $params = array('sinkName' => $sinkName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Logging_LogSink");
+ }
+ /**
+ * Lists sinks. (sinks.listProjectsSinks)
+ *
+ * @param string $parent Required. The parent resource whose sinks are to be
+ * listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional. If present, then retrieve the next
+ * batch of results from the preceding call to this method. pageToken must be
+ * the value of nextPageToken from the previous response. The values of other
+ * method parameters should be identical to those in the previous call.
+ * @opt_param int pageSize Optional. The maximum number of results to return
+ * from this request. Non-positive values are ignored. The presence of
+ * nextPageToken in the response indicates that more results might be available.
+ * @return Google_Service_Logging_ListSinksResponse
+ */
+ public function listProjectsSinks($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListSinksResponse");
+ }
+ /**
+ * Updates a sink. If the named sink doesn't exist, then this method is
+ * identical to sinks.create. If the named sink does exist, then this method
+ * replaces the following fields in the existing sink with values from the new
+ * sink: destination, filter, output_version_format, start_time, and end_time.
+ * The updated filter might also have a new writer_identity; see the
+ * unique_writer_identity field. (sinks.update)
+ *
+ * @param string $sinkName Required. The full resource name of the sink to
+ * update, including the parent resource and the sink identifier:
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks
+ * /my-sink-id".
+ * @param Google_Service_Logging_LogSink $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool uniqueWriterIdentity Optional. See sinks.create for a
+ * description of this field. When updating a sink, the effect of this field on
+ * the value of writer_identity in the updated sink depends on both the old and
+ * new values of this field: If the old and new values of this field are both
+ * false or both true, then there is no change to the sink's writer_identity. If
+ * the old value is false and the new value is true, then writer_identity is
+ * changed to a unique service account. It is an error if the old value is true
+ * and the new value is false.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function update($sinkName, Google_Service_Logging_LogSink $postBody, $optParams = array())
+ {
+ $params = array('sinkName' => $sinkName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Logging_LogSink");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/SourceLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/SourceLocation.php
new file mode 100644
index 00000000..7a61f8e8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/SourceLocation.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_SourceLocation extends Google_Model
+{
+ public $file;
+ public $functionName;
+ public $line;
+
+ public function setFile($file)
+ {
+ $this->file = $file;
+ }
+ public function getFile()
+ {
+ return $this->file;
+ }
+ public function setFunctionName($functionName)
+ {
+ $this->functionName = $functionName;
+ }
+ public function getFunctionName()
+ {
+ return $this->functionName;
+ }
+ public function setLine($line)
+ {
+ $this->line = $line;
+ }
+ public function getLine()
+ {
+ return $this->line;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/SourceReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/SourceReference.php
new file mode 100644
index 00000000..ec61ebb6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/SourceReference.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_SourceReference extends Google_Model
+{
+ public $repository;
+ public $revisionId;
+
+ public function setRepository($repository)
+ {
+ $this->repository = $repository;
+ }
+ public function getRepository()
+ {
+ return $this->repository;
+ }
+ public function setRevisionId($revisionId)
+ {
+ $this->revisionId = $revisionId;
+ }
+ public function getRevisionId()
+ {
+ return $this->revisionId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Status.php
new file mode 100644
index 00000000..07f225a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/WriteLogEntriesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/WriteLogEntriesRequest.php
new file mode 100644
index 00000000..ca6a4000
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/WriteLogEntriesRequest.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_WriteLogEntriesRequest extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_Logging_LogEntry';
+ protected $entriesDataType = 'array';
+ public $labels;
+ public $logName;
+ public $partialSuccess;
+ protected $resourceType = 'Google_Service_Logging_MonitoredResource';
+ protected $resourceDataType = '';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLogName($logName)
+ {
+ $this->logName = $logName;
+ }
+ public function getLogName()
+ {
+ return $this->logName;
+ }
+ public function setPartialSuccess($partialSuccess)
+ {
+ $this->partialSuccess = $partialSuccess;
+ }
+ public function getPartialSuccess()
+ {
+ return $this->partialSuccess;
+ }
+ public function setResource(Google_Service_Logging_MonitoredResource $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/WriteLogEntriesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/WriteLogEntriesResponse.php
new file mode 100644
index 00000000..1cda65d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/WriteLogEntriesResponse.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Logging_WriteLogEntriesResponse extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager.php
new file mode 100644
index 00000000..1ac57769
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager.php
@@ -0,0 +1,229 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager extends 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 your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM_READ_ONLY =
+ "https://www.googleapis.com/auth/cloud-platform.read-only";
+ /** 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'manager/v1beta2/projects/';
+ $this->version = 'v1beta2';
+ $this->serviceName = 'manager';
+
+ $this->deployments = new Google_Service_Manager_DeploymentsResource(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->templates = new Google_Service_Manager_TemplatesResource(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AccessConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AccessConfig.php
new file mode 100644
index 00000000..23923afc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AccessConfig.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_AccessConfig extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Action.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Action.php
new file mode 100644
index 00000000..96ff2a02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Action.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_Action extends Google_Collection
+{
+ protected $collection_key = 'commands';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AllowedRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AllowedRule.php
new file mode 100644
index 00000000..913a2dd8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AllowedRule.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_AllowedRule extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AutoscalingModule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AutoscalingModule.php
new file mode 100644
index 00000000..2eb8df7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AutoscalingModule.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_AutoscalingModule extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AutoscalingModuleStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AutoscalingModuleStatus.php
new file mode 100644
index 00000000..4c778240
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AutoscalingModuleStatus.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_AutoscalingModuleStatus extends Google_Model
+{
+ public $autoscalingConfigUrl;
+
+ public function setAutoscalingConfigUrl($autoscalingConfigUrl)
+ {
+ $this->autoscalingConfigUrl = $autoscalingConfigUrl;
+ }
+ public function getAutoscalingConfigUrl()
+ {
+ return $this->autoscalingConfigUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeployState.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeployState.php
new file mode 100644
index 00000000..abdc1837
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeployState.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_DeployState extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Deployment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Deployment.php
new file mode 100644
index 00000000..88cff021
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Deployment.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_Deployment extends Google_Collection
+{
+ protected $collection_key = 'overrides';
+ public $creationDate;
+ public $description;
+ protected $modulesType = 'Google_Service_Manager_ModuleStatus';
+ protected $modulesDataType = 'map';
+ public $name;
+ protected $overridesType = 'Google_Service_Manager_ParamOverride';
+ protected $overridesDataType = 'array';
+ protected $stateType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeploymentsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeploymentsListResponse.php
new file mode 100644
index 00000000..bd16e823
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeploymentsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_DeploymentsListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ public $nextPageToken;
+ protected $resourcesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeploymentsResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeploymentsResource.php
new file mode 100644
index 00000000..7f9abcd0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeploymentsResource.php
@@ -0,0 +1,92 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "deployments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $managerService = new Google_Service_Manager(...);
+ * $deployments = $managerService->deployments;
+ * </code>
+ */
+class Google_Service_Manager_DeploymentsResource extends 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 Google_Service_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), "Google_Service_Manager_Deployment");
+ }
+ /**
+ * (deployments.insert)
+ *
+ * @param string $projectId
+ * @param string $region
+ * @param Google_Deployment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Deployment
+ */
+ public function insert($projectId, $region, 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), "Google_Service_Manager_Deployment");
+ }
+ /**
+ * (deployments.listDeployments)
+ *
+ * @param string $projectId
+ * @param string $region
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults Maximum count of results to be returned. Acceptable
+ * values are 0 to 100, inclusive. (Default: 50)
+ * @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.
+ * @return Google_Service_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), "Google_Service_Manager_DeploymentsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DiskAttachment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DiskAttachment.php
new file mode 100644
index 00000000..53f0fb20
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DiskAttachment.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_DiskAttachment extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/EnvVariable.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/EnvVariable.php
new file mode 100644
index 00000000..e14a4953
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/EnvVariable.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_EnvVariable extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ExistingDisk.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ExistingDisk.php
new file mode 100644
index 00000000..ef06866d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ExistingDisk.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_ExistingDisk extends Google_Model
+{
+ protected $attachmentType = 'Google_Service_Manager_DiskAttachment';
+ protected $attachmentDataType = '';
+ public $source;
+
+ public function setAttachment(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/FirewallModule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/FirewallModule.php
new file mode 100644
index 00000000..dd53903a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/FirewallModule.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_FirewallModule extends Google_Collection
+{
+ protected $collection_key = 'targetTags';
+ protected $allowedType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/FirewallModuleStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/FirewallModuleStatus.php
new file mode 100644
index 00000000..2328cb89
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/FirewallModuleStatus.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_FirewallModuleStatus extends Google_Model
+{
+ public $firewallUrl;
+
+ public function setFirewallUrl($firewallUrl)
+ {
+ $this->firewallUrl = $firewallUrl;
+ }
+ public function getFirewallUrl()
+ {
+ return $this->firewallUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/HealthCheckModule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/HealthCheckModule.php
new file mode 100644
index 00000000..55821ac8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/HealthCheckModule.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_HealthCheckModule extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/HealthCheckModuleStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/HealthCheckModuleStatus.php
new file mode 100644
index 00000000..7d2cbcf4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/HealthCheckModuleStatus.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_HealthCheckModuleStatus extends Google_Model
+{
+ public $healthCheckUrl;
+
+ public function setHealthCheckUrl($healthCheckUrl)
+ {
+ $this->healthCheckUrl = $healthCheckUrl;
+ }
+ public function getHealthCheckUrl()
+ {
+ return $this->healthCheckUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/LbModule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/LbModule.php
new file mode 100644
index 00000000..0f7a4bc4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/LbModule.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_LbModule extends Google_Collection
+{
+ protected $collection_key = 'targetModules';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/LbModuleStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/LbModuleStatus.php
new file mode 100644
index 00000000..88a19148
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/LbModuleStatus.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_LbModuleStatus extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Metadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Metadata.php
new file mode 100644
index 00000000..9936e676
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Metadata.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_Metadata extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $fingerPrint;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/MetadataItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/MetadataItem.php
new file mode 100644
index 00000000..906f60d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/MetadataItem.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_MetadataItem extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Module.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Module.php
new file mode 100644
index 00000000..f8022151
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Module.php
@@ -0,0 +1,90 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_Module extends Google_Model
+{
+ protected $autoscalingModuleType = 'Google_Service_Manager_AutoscalingModule';
+ protected $autoscalingModuleDataType = '';
+ protected $firewallModuleType = 'Google_Service_Manager_FirewallModule';
+ protected $firewallModuleDataType = '';
+ protected $healthCheckModuleType = 'Google_Service_Manager_HealthCheckModule';
+ protected $healthCheckModuleDataType = '';
+ protected $lbModuleType = 'Google_Service_Manager_LbModule';
+ protected $lbModuleDataType = '';
+ protected $networkModuleType = 'Google_Service_Manager_NetworkModule';
+ protected $networkModuleDataType = '';
+ protected $replicaPoolModuleType = 'Google_Service_Manager_ReplicaPoolModule';
+ protected $replicaPoolModuleDataType = '';
+ public $type;
+
+ public function setAutoscalingModule(Google_Service_Manager_AutoscalingModule $autoscalingModule)
+ {
+ $this->autoscalingModule = $autoscalingModule;
+ }
+ public function getAutoscalingModule()
+ {
+ return $this->autoscalingModule;
+ }
+ public function setFirewallModule(Google_Service_Manager_FirewallModule $firewallModule)
+ {
+ $this->firewallModule = $firewallModule;
+ }
+ public function getFirewallModule()
+ {
+ return $this->firewallModule;
+ }
+ public function setHealthCheckModule(Google_Service_Manager_HealthCheckModule $healthCheckModule)
+ {
+ $this->healthCheckModule = $healthCheckModule;
+ }
+ public function getHealthCheckModule()
+ {
+ return $this->healthCheckModule;
+ }
+ public function setLbModule(Google_Service_Manager_LbModule $lbModule)
+ {
+ $this->lbModule = $lbModule;
+ }
+ public function getLbModule()
+ {
+ return $this->lbModule;
+ }
+ public function setNetworkModule(Google_Service_Manager_NetworkModule $networkModule)
+ {
+ $this->networkModule = $networkModule;
+ }
+ public function getNetworkModule()
+ {
+ return $this->networkModule;
+ }
+ public function setReplicaPoolModule(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ModuleStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ModuleStatus.php
new file mode 100644
index 00000000..145fb322
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ModuleStatus.php
@@ -0,0 +1,100 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_ModuleStatus extends Google_Model
+{
+ protected $autoscalingModuleStatusType = 'Google_Service_Manager_AutoscalingModuleStatus';
+ protected $autoscalingModuleStatusDataType = '';
+ protected $firewallModuleStatusType = 'Google_Service_Manager_FirewallModuleStatus';
+ protected $firewallModuleStatusDataType = '';
+ protected $healthCheckModuleStatusType = 'Google_Service_Manager_HealthCheckModuleStatus';
+ protected $healthCheckModuleStatusDataType = '';
+ protected $lbModuleStatusType = 'Google_Service_Manager_LbModuleStatus';
+ protected $lbModuleStatusDataType = '';
+ protected $networkModuleStatusType = 'Google_Service_Manager_NetworkModuleStatus';
+ protected $networkModuleStatusDataType = '';
+ protected $replicaPoolModuleStatusType = 'Google_Service_Manager_ReplicaPoolModuleStatus';
+ protected $replicaPoolModuleStatusDataType = '';
+ protected $stateType = 'Google_Service_Manager_DeployState';
+ protected $stateDataType = '';
+ public $type;
+
+ public function setAutoscalingModuleStatus(Google_Service_Manager_AutoscalingModuleStatus $autoscalingModuleStatus)
+ {
+ $this->autoscalingModuleStatus = $autoscalingModuleStatus;
+ }
+ public function getAutoscalingModuleStatus()
+ {
+ return $this->autoscalingModuleStatus;
+ }
+ public function setFirewallModuleStatus(Google_Service_Manager_FirewallModuleStatus $firewallModuleStatus)
+ {
+ $this->firewallModuleStatus = $firewallModuleStatus;
+ }
+ public function getFirewallModuleStatus()
+ {
+ return $this->firewallModuleStatus;
+ }
+ public function setHealthCheckModuleStatus(Google_Service_Manager_HealthCheckModuleStatus $healthCheckModuleStatus)
+ {
+ $this->healthCheckModuleStatus = $healthCheckModuleStatus;
+ }
+ public function getHealthCheckModuleStatus()
+ {
+ return $this->healthCheckModuleStatus;
+ }
+ public function setLbModuleStatus(Google_Service_Manager_LbModuleStatus $lbModuleStatus)
+ {
+ $this->lbModuleStatus = $lbModuleStatus;
+ }
+ public function getLbModuleStatus()
+ {
+ return $this->lbModuleStatus;
+ }
+ public function setNetworkModuleStatus(Google_Service_Manager_NetworkModuleStatus $networkModuleStatus)
+ {
+ $this->networkModuleStatus = $networkModuleStatus;
+ }
+ public function getNetworkModuleStatus()
+ {
+ return $this->networkModuleStatus;
+ }
+ public function setReplicaPoolModuleStatus(Google_Service_Manager_ReplicaPoolModuleStatus $replicaPoolModuleStatus)
+ {
+ $this->replicaPoolModuleStatus = $replicaPoolModuleStatus;
+ }
+ public function getReplicaPoolModuleStatus()
+ {
+ return $this->replicaPoolModuleStatus;
+ }
+ public function setState(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkInterface.php
new file mode 100644
index 00000000..5fa0517e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkInterface.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_NetworkInterface extends Google_Collection
+{
+ protected $collection_key = 'accessConfigs';
+ protected $accessConfigsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkModule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkModule.php
new file mode 100644
index 00000000..816687d8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkModule.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_NetworkModule extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkModuleStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkModuleStatus.php
new file mode 100644
index 00000000..915c4f3c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkModuleStatus.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_NetworkModuleStatus extends Google_Model
+{
+ public $networkUrl;
+
+ public function setNetworkUrl($networkUrl)
+ {
+ $this->networkUrl = $networkUrl;
+ }
+ public function getNetworkUrl()
+ {
+ return $this->networkUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NewDisk.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NewDisk.php
new file mode 100644
index 00000000..42b14994
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NewDisk.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_NewDisk extends Google_Model
+{
+ protected $attachmentType = 'Google_Service_Manager_DiskAttachment';
+ protected $attachmentDataType = '';
+ public $autoDelete;
+ public $boot;
+ protected $initializeParamsType = 'Google_Service_Manager_NewDiskInitializeParams';
+ protected $initializeParamsDataType = '';
+
+ public function setAttachment(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(Google_Service_Manager_NewDiskInitializeParams $initializeParams)
+ {
+ $this->initializeParams = $initializeParams;
+ }
+ public function getInitializeParams()
+ {
+ return $this->initializeParams;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NewDiskInitializeParams.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NewDiskInitializeParams.php
new file mode 100644
index 00000000..2246aa44
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NewDiskInitializeParams.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_NewDiskInitializeParams extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ParamOverride.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ParamOverride.php
new file mode 100644
index 00000000..1c0193eb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ParamOverride.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_ParamOverride extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolModule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolModule.php
new file mode 100644
index 00000000..fef7a06a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolModule.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_ReplicaPoolModule extends Google_Collection
+{
+ protected $collection_key = 'healthChecks';
+ protected $envVariablesType = 'Google_Service_Manager_EnvVariable';
+ protected $envVariablesDataType = 'map';
+ public $healthChecks;
+ public $numReplicas;
+ protected $replicaPoolParamsType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolModuleStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolModuleStatus.php
new file mode 100644
index 00000000..3ff49116
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolModuleStatus.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_ReplicaPoolModuleStatus extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolParams.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolParams.php
new file mode 100644
index 00000000..0e58275e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolParams.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_ReplicaPoolParams extends Google_Model
+{
+ protected $v1beta1Type = 'Google_Service_Manager_ReplicaPoolParamsV1Beta1';
+ protected $v1beta1DataType = '';
+
+ public function setV1beta1(Google_Service_Manager_ReplicaPoolParamsV1Beta1 $v1beta1)
+ {
+ $this->v1beta1 = $v1beta1;
+ }
+ public function getV1beta1()
+ {
+ return $this->v1beta1;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolParamsV1Beta1.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolParamsV1Beta1.php
new file mode 100644
index 00000000..b20d58b3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolParamsV1Beta1.php
@@ -0,0 +1,154 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_ReplicaPoolParamsV1Beta1 extends Google_Collection
+{
+ protected $collection_key = 'serviceAccounts';
+ public $autoRestart;
+ public $baseInstanceName;
+ public $canIpForward;
+ public $description;
+ protected $disksToAttachType = 'Google_Service_Manager_ExistingDisk';
+ protected $disksToAttachDataType = 'array';
+ protected $disksToCreateType = 'Google_Service_Manager_NewDisk';
+ protected $disksToCreateDataType = 'array';
+ public $initAction;
+ public $machineType;
+ protected $metadataType = 'Google_Service_Manager_Metadata';
+ protected $metadataDataType = '';
+ protected $networkInterfacesType = 'Google_Service_Manager_NetworkInterface';
+ protected $networkInterfacesDataType = 'array';
+ public $onHostMaintenance;
+ protected $serviceAccountsType = 'Google_Service_Manager_ServiceAccount';
+ protected $serviceAccountsDataType = 'array';
+ protected $tagsType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ServiceAccount.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ServiceAccount.php
new file mode 100644
index 00000000..59aa96d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ServiceAccount.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_ServiceAccount extends Google_Collection
+{
+ protected $collection_key = 'scopes';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Tag.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Tag.php
new file mode 100644
index 00000000..0fef4180
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Tag.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_Tag extends Google_Collection
+{
+ protected $collection_key = 'items';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Template.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Template.php
new file mode 100644
index 00000000..ad21dd9f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Template.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_Template extends Google_Model
+{
+ protected $actionsType = 'Google_Service_Manager_Action';
+ protected $actionsDataType = 'map';
+ public $description;
+ protected $modulesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/TemplatesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/TemplatesListResponse.php
new file mode 100644
index 00000000..515f148d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/TemplatesListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Manager_TemplatesListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ public $nextPageToken;
+ protected $resourcesType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/TemplatesResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/TemplatesResource.php
new file mode 100644
index 00000000..b5b133a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/TemplatesResource.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "templates" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $managerService = new Google_Service_Manager(...);
+ * $templates = $managerService->templates;
+ * </code>
+ */
+class Google_Service_Manager_TemplatesResource extends 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 Google_Service_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), "Google_Service_Manager_Template");
+ }
+ /**
+ * (templates.insert)
+ *
+ * @param string $projectId
+ * @param Google_Template $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Template
+ */
+ public function insert($projectId, Google_Service_Manager_Template $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Manager_Template");
+ }
+ /**
+ * (templates.listTemplates)
+ *
+ * @param string $projectId
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults Maximum count of results to be returned. Acceptable
+ * values are 0 to 100, inclusive. (Default: 50)
+ * @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.
+ * @return Google_Service_TemplatesListResponse
+ */
+ public function listTemplates($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Manager_TemplatesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter.php
new file mode 100644
index 00000000..d3613abb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 ManufacturerCenter (v1).
+ *
+ * <p>
+ * Public API for managing Manufacturer Center related data.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/manufacturers/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_ManufacturerCenter extends Google_Service
+{
+ /** Manage your product listings for Google Manufacturer Center. */
+ const MANUFACTURERCENTER =
+ "https://www.googleapis.com/auth/manufacturercenter";
+
+ public $accounts_products;
+
+ /**
+ * Constructs the internal representation of the ManufacturerCenter service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://manufacturers.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'manufacturers';
+
+ $this->accounts_products = new Google_Service_ManufacturerCenter_Resource_AccountsProducts(
+ $this,
+ $this->serviceName,
+ 'products',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/{+parent}/products/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+parent}/products',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Attributes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Attributes.php
new file mode 100644
index 00000000..6e546d70
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Attributes.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ManufacturerCenter_Attributes extends Google_Collection
+{
+ protected $collection_key = 'productType';
+ public $brand;
+ public $gtin;
+ public $mpn;
+ public $productLine;
+ public $productName;
+ public $productPageUrl;
+ public $productType;
+ public $title;
+
+ public function setBrand($brand)
+ {
+ $this->brand = $brand;
+ }
+ public function getBrand()
+ {
+ return $this->brand;
+ }
+ public function setGtin($gtin)
+ {
+ $this->gtin = $gtin;
+ }
+ public function getGtin()
+ {
+ return $this->gtin;
+ }
+ public function setMpn($mpn)
+ {
+ $this->mpn = $mpn;
+ }
+ public function getMpn()
+ {
+ return $this->mpn;
+ }
+ public function setProductLine($productLine)
+ {
+ $this->productLine = $productLine;
+ }
+ public function getProductLine()
+ {
+ return $this->productLine;
+ }
+ public function setProductName($productName)
+ {
+ $this->productName = $productName;
+ }
+ public function getProductName()
+ {
+ return $this->productName;
+ }
+ public function setProductPageUrl($productPageUrl)
+ {
+ $this->productPageUrl = $productPageUrl;
+ }
+ public function getProductPageUrl()
+ {
+ return $this->productPageUrl;
+ }
+ public function setProductType($productType)
+ {
+ $this->productType = $productType;
+ }
+ public function getProductType()
+ {
+ return $this->productType;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Issue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Issue.php
new file mode 100644
index 00000000..cf0c22c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Issue.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ManufacturerCenter_Issue extends Google_Model
+{
+ public $attribute;
+ public $description;
+ public $severity;
+ public $type;
+
+ public function setAttribute($attribute)
+ {
+ $this->attribute = $attribute;
+ }
+ public function getAttribute()
+ {
+ return $this->attribute;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/ListProductsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/ListProductsResponse.php
new file mode 100644
index 00000000..5f5452cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/ListProductsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ManufacturerCenter_ListProductsResponse extends Google_Collection
+{
+ protected $collection_key = 'products';
+ public $nextPageToken;
+ protected $productsType = 'Google_Service_ManufacturerCenter_Product';
+ protected $productsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setProducts($products)
+ {
+ $this->products = $products;
+ }
+ public function getProducts()
+ {
+ return $this->products;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Product.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Product.php
new file mode 100644
index 00000000..8ba6e58b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Product.php
@@ -0,0 +1,116 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ManufacturerCenter_Product extends Google_Collection
+{
+ protected $collection_key = 'manuallyDeletedAttributes';
+ public $contentLanguage;
+ protected $finalAttributesType = 'Google_Service_ManufacturerCenter_Attributes';
+ protected $finalAttributesDataType = '';
+ protected $issuesType = 'Google_Service_ManufacturerCenter_Issue';
+ protected $issuesDataType = 'array';
+ public $manuallyDeletedAttributes;
+ protected $manuallyProvidedAttributesType = 'Google_Service_ManufacturerCenter_Attributes';
+ protected $manuallyProvidedAttributesDataType = '';
+ public $name;
+ public $parent;
+ public $productId;
+ public $targetCountry;
+ protected $uploadedAttributesType = 'Google_Service_ManufacturerCenter_Attributes';
+ protected $uploadedAttributesDataType = '';
+
+ public function setContentLanguage($contentLanguage)
+ {
+ $this->contentLanguage = $contentLanguage;
+ }
+ public function getContentLanguage()
+ {
+ return $this->contentLanguage;
+ }
+ public function setFinalAttributes(Google_Service_ManufacturerCenter_Attributes $finalAttributes)
+ {
+ $this->finalAttributes = $finalAttributes;
+ }
+ public function getFinalAttributes()
+ {
+ return $this->finalAttributes;
+ }
+ public function setIssues($issues)
+ {
+ $this->issues = $issues;
+ }
+ public function getIssues()
+ {
+ return $this->issues;
+ }
+ public function setManuallyDeletedAttributes($manuallyDeletedAttributes)
+ {
+ $this->manuallyDeletedAttributes = $manuallyDeletedAttributes;
+ }
+ public function getManuallyDeletedAttributes()
+ {
+ return $this->manuallyDeletedAttributes;
+ }
+ public function setManuallyProvidedAttributes(Google_Service_ManufacturerCenter_Attributes $manuallyProvidedAttributes)
+ {
+ $this->manuallyProvidedAttributes = $manuallyProvidedAttributes;
+ }
+ public function getManuallyProvidedAttributes()
+ {
+ return $this->manuallyProvidedAttributes;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParent($parent)
+ {
+ $this->parent = $parent;
+ }
+ public function getParent()
+ {
+ return $this->parent;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setTargetCountry($targetCountry)
+ {
+ $this->targetCountry = $targetCountry;
+ }
+ public function getTargetCountry()
+ {
+ return $this->targetCountry;
+ }
+ public function setUploadedAttributes(Google_Service_ManufacturerCenter_Attributes $uploadedAttributes)
+ {
+ $this->uploadedAttributes = $uploadedAttributes;
+ }
+ public function getUploadedAttributes()
+ {
+ return $this->uploadedAttributes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Resource/Accounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Resource/Accounts.php
new file mode 100644
index 00000000..290a211f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Resource/Accounts.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $manufacturersService = new Google_Service_ManufacturerCenter(...);
+ * $accounts = $manufacturersService->accounts;
+ * </code>
+ */
+class Google_Service_ManufacturerCenter_Resource_Accounts extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Resource/AccountsProducts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Resource/AccountsProducts.php
new file mode 100644
index 00000000..5b869d08
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Resource/AccountsProducts.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "products" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $manufacturersService = new Google_Service_ManufacturerCenter(...);
+ * $products = $manufacturersService->products;
+ * </code>
+ */
+class Google_Service_ManufacturerCenter_Resource_AccountsProducts extends Google_Service_Resource
+{
+ /**
+ * Gets the product from a Manufacturer Center account, including product
+ * issues. (products.get)
+ *
+ * @param string $parent Parent ID in the format `accounts/{account_id}`.
+ *
+ * `account_id` - The ID of the Manufacturer Center account.
+ * @param string $name Name in the format
+ * `{target_country}:{content_language}:{product_id}`.
+ *
+ * `target_country` - The target country of the product as a CLDR territory
+ * code (for example, US).
+ *
+ * `content_language` - The content language of the product as a two-letter
+ * ISO 639-1 language code (for example, en).
+ *
+ * `product_id` - The ID of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#id.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ManufacturerCenter_Product
+ */
+ public function get($parent, $name, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ManufacturerCenter_Product");
+ }
+ /**
+ * Lists all the products in a Manufacturer Center account.
+ * (products.listAccountsProducts)
+ *
+ * @param string $parent Parent ID in the format `accounts/{account_id}`.
+ *
+ * `account_id` - The ID of the Manufacturer Center account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Maximum number of product statuses to return in the
+ * response, used for paging.
+ * @opt_param string pageToken The token returned by the previous request.
+ * @return Google_Service_ManufacturerCenter_ListProductsResponse
+ */
+ public function listAccountsProducts($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ManufacturerCenter_ListProductsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror.php
new file mode 100644
index 00000000..c9d86c8a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror.php
@@ -0,0 +1,379 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Interacts 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 Google_Service_Mirror extends 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'mirror/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'mirror';
+
+ $this->accounts = new Google_Service_Mirror_Resource_Accounts(
+ $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 Google_Service_Mirror_Resource_Contacts(
+ $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 Google_Service_Mirror_Resource_Locations(
+ $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 Google_Service_Mirror_Resource_Settings(
+ $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 Google_Service_Mirror_Resource_Subscriptions(
+ $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 Google_Service_Mirror_Resource_Timeline(
+ $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(
+ 'bundleId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pinnedOnly' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'sourceItemId' => 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 Google_Service_Mirror_Resource_TimelineAttachments(
+ $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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Account.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Account.php
new file mode 100644
index 00000000..b65da44b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Account.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_Account extends Google_Collection
+{
+ protected $collection_key = 'userData';
+ protected $authTokensType = 'Google_Service_Mirror_AuthToken';
+ protected $authTokensDataType = 'array';
+ public $features;
+ public $password;
+ protected $userDataType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Attachment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Attachment.php
new file mode 100644
index 00000000..558f7c01
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Attachment.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_Attachment extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/AttachmentsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/AttachmentsListResponse.php
new file mode 100644
index 00000000..e5d310c4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/AttachmentsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_AttachmentsListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/AuthToken.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/AuthToken.php
new file mode 100644
index 00000000..fbc0107d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/AuthToken.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_AuthToken extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Command.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Command.php
new file mode 100644
index 00000000..f9bbc915
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Command.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_Command extends Google_Model
+{
+ public $type;
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Contact.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Contact.php
new file mode 100644
index 00000000..6ae03289
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Contact.php
@@ -0,0 +1,131 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_Contact extends Google_Collection
+{
+ protected $collection_key = 'sharingFeatures';
+ protected $acceptCommandsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/ContactsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/ContactsListResponse.php
new file mode 100644
index 00000000..fc5ed798
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/ContactsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_ContactsListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Location.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Location.php
new file mode 100644
index 00000000..57070bbe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Location.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_Location extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/LocationsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/LocationsListResponse.php
new file mode 100644
index 00000000..d6a6f06b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/LocationsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_LocationsListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/MenuItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/MenuItem.php
new file mode 100644
index 00000000..b7a79504
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/MenuItem.php
@@ -0,0 +1,80 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_MenuItem extends 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 = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/MenuValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/MenuValue.php
new file mode 100644
index 00000000..f89880ae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/MenuValue.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_MenuValue extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Notification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Notification.php
new file mode 100644
index 00000000..12bb369f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Notification.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_Notification extends Google_Collection
+{
+ protected $collection_key = 'userActions';
+ public $collection;
+ public $itemId;
+ public $operation;
+ protected $userActionsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/NotificationConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/NotificationConfig.php
new file mode 100644
index 00000000..74c07e64
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/NotificationConfig.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_NotificationConfig extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Accounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Accounts.php
new file mode 100644
index 00000000..bc4c2256
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Accounts.php
@@ -0,0 +1,46 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mirrorService = new Google_Service_Mirror(...);
+ * $accounts = $mirrorService->accounts;
+ * </code>
+ */
+class Google_Service_Mirror_Resource_Accounts extends 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 Google_Service_Mirror_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mirror_Account
+ */
+ public function insert($userToken, $accountType, $accountName, 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), "Google_Service_Mirror_Account");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Contacts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Contacts.php
new file mode 100644
index 00000000..ae3356aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Contacts.php
@@ -0,0 +1,108 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "contacts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mirrorService = new Google_Service_Mirror(...);
+ * $contacts = $mirrorService->contacts;
+ * </code>
+ */
+class Google_Service_Mirror_Resource_Contacts extends 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 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), "Google_Service_Mirror_Contact");
+ }
+ /**
+ * Inserts a new contact. (contacts.insert)
+ *
+ * @param Google_Service_Mirror_Contact $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mirror_Contact
+ */
+ public function insert(Google_Service_Mirror_Contact $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Mirror_Contact");
+ }
+ /**
+ * Retrieves a list of contacts for the authenticated user.
+ * (contacts.listContacts)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mirror_ContactsListResponse
+ */
+ public function listContacts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "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 Google_Service_Mirror_Contact $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mirror_Contact
+ */
+ public function patch($id, Google_Service_Mirror_Contact $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Mirror_Contact");
+ }
+ /**
+ * Updates a contact in place. (contacts.update)
+ *
+ * @param string $id The ID of the contact.
+ * @param Google_Service_Mirror_Contact $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mirror_Contact
+ */
+ public function update($id, Google_Service_Mirror_Contact $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Mirror_Contact");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Locations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Locations.php
new file mode 100644
index 00000000..f611eff4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Locations.php
@@ -0,0 +1,54 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "locations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mirrorService = new Google_Service_Mirror(...);
+ * $locations = $mirrorService->locations;
+ * </code>
+ */
+class Google_Service_Mirror_Resource_Locations extends 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 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), "Google_Service_Mirror_Location");
+ }
+ /**
+ * Retrieves a list of locations for the user. (locations.listLocations)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mirror_LocationsListResponse
+ */
+ public function listLocations($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Mirror_LocationsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Settings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Settings.php
new file mode 100644
index 00000000..0927bd31
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Settings.php
@@ -0,0 +1,45 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "settings" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mirrorService = new Google_Service_Mirror(...);
+ * $settings = $mirrorService->settings;
+ * </code>
+ */
+class Google_Service_Mirror_Resource_Settings extends 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 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), "Google_Service_Mirror_Setting");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Subscriptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Subscriptions.php
new file mode 100644
index 00000000..8e837bd5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Subscriptions.php
@@ -0,0 +1,80 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "subscriptions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mirrorService = new Google_Service_Mirror(...);
+ * $subscriptions = $mirrorService->subscriptions;
+ * </code>
+ */
+class Google_Service_Mirror_Resource_Subscriptions extends 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 Google_Service_Mirror_Subscription $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mirror_Subscription
+ */
+ public function insert(Google_Service_Mirror_Subscription $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Mirror_Subscription");
+ }
+ /**
+ * Retrieves a list of subscriptions for the authenticated user and service.
+ * (subscriptions.listSubscriptions)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mirror_SubscriptionsListResponse
+ */
+ public function listSubscriptions($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Mirror_SubscriptionsListResponse");
+ }
+ /**
+ * Updates an existing subscription in place. (subscriptions.update)
+ *
+ * @param string $id The ID of the subscription.
+ * @param Google_Service_Mirror_Subscription $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mirror_Subscription
+ */
+ public function update($id, Google_Service_Mirror_Subscription $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Mirror_Subscription");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Timeline.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Timeline.php
new file mode 100644
index 00000000..b172dcd4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Timeline.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "timeline" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mirrorService = new Google_Service_Mirror(...);
+ * $timeline = $mirrorService->timeline;
+ * </code>
+ */
+class Google_Service_Mirror_Resource_Timeline extends 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 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), "Google_Service_Mirror_TimelineItem");
+ }
+ /**
+ * Inserts a new item into the timeline. (timeline.insert)
+ *
+ * @param Google_Service_Mirror_TimelineItem $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mirror_TimelineItem
+ */
+ public function insert(Google_Service_Mirror_TimelineItem $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Mirror_TimelineItem");
+ }
+ /**
+ * Retrieves a list of timeline items for the authenticated user.
+ * (timeline.listTimeline)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string bundleId If provided, only items with the given bundleId
+ * will be 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 orderBy Controls the order in which timeline items are
+ * returned.
+ * @opt_param string pageToken Token for the page of results to return.
+ * @opt_param bool pinnedOnly If true, only pinned items will be returned.
+ * @opt_param string sourceItemId If provided, only items with the given
+ * sourceItemId will be returned.
+ * @return Google_Service_Mirror_TimelineListResponse
+ */
+ public function listTimeline($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "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 Google_Service_Mirror_TimelineItem $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mirror_TimelineItem
+ */
+ public function patch($id, Google_Service_Mirror_TimelineItem $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Mirror_TimelineItem");
+ }
+ /**
+ * Updates a timeline item in place. (timeline.update)
+ *
+ * @param string $id The ID of the timeline item.
+ * @param Google_Service_Mirror_TimelineItem $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mirror_TimelineItem
+ */
+ public function update($id, Google_Service_Mirror_TimelineItem $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Mirror_TimelineItem");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/TimelineAttachments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/TimelineAttachments.php
new file mode 100644
index 00000000..458179aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/TimelineAttachments.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "attachments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mirrorService = new Google_Service_Mirror(...);
+ * $attachments = $mirrorService->attachments;
+ * </code>
+ */
+class Google_Service_Mirror_Resource_TimelineAttachments extends 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 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), "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 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), "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 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), "Google_Service_Mirror_AttachmentsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Setting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Setting.php
new file mode 100644
index 00000000..eaeaf385
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Setting.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_Setting extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Subscription.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Subscription.php
new file mode 100644
index 00000000..c8887390
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Subscription.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_Subscription extends Google_Collection
+{
+ protected $collection_key = 'operation';
+ public $callbackUrl;
+ public $collection;
+ public $id;
+ public $kind;
+ protected $notificationType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/SubscriptionsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/SubscriptionsListResponse.php
new file mode 100644
index 00000000..35323f41
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/SubscriptionsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_SubscriptionsListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/TimelineItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/TimelineItem.php
new file mode 100644
index 00000000..fcc9e115
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/TimelineItem.php
@@ -0,0 +1,262 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_TimelineItem extends Google_Collection
+{
+ protected $collection_key = 'recipients';
+ protected $attachmentsType = 'Google_Service_Mirror_Attachment';
+ protected $attachmentsDataType = 'array';
+ public $bundleId;
+ public $canonicalUrl;
+ public $created;
+ protected $creatorType = '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 = 'Google_Service_Mirror_Location';
+ protected $locationDataType = '';
+ protected $menuItemsType = 'Google_Service_Mirror_MenuItem';
+ protected $menuItemsDataType = 'array';
+ protected $notificationType = 'Google_Service_Mirror_NotificationConfig';
+ protected $notificationDataType = '';
+ public $pinScore;
+ protected $recipientsType = '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(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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/TimelineListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/TimelineListResponse.php
new file mode 100644
index 00000000..f19256c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/TimelineListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_TimelineListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/UserAction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/UserAction.php
new file mode 100644
index 00000000..e2f9ade5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/UserAction.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_UserAction extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/UserData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/UserData.php
new file mode 100644
index 00000000..83fc2a62
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/UserData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Mirror_UserData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring.php
new file mode 100644
index 00000000..69d784a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring.php
@@ -0,0 +1,396 @@
+<?php
+/*
+ * Copyright 2016 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 Monitoring (v3).
+ *
+ * <p>
+ * Manages your Stackdriver Monitoring data and configurations. Most projects
+ * must be associated with a Stackdriver account, with a few exceptions as noted
+ * on the individual method pages.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/monitoring/api/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Monitoring extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View and write monitoring data for all of your Google and third-party Cloud and API projects. */
+ const MONITORING =
+ "https://www.googleapis.com/auth/monitoring";
+ /** View monitoring data for all of your Google Cloud and third-party projects. */
+ const MONITORING_READ =
+ "https://www.googleapis.com/auth/monitoring.read";
+ /** Publish metric data to your Google Cloud projects. */
+ const MONITORING_WRITE =
+ "https://www.googleapis.com/auth/monitoring.write";
+
+ public $projects_collectdTimeSeries;
+ public $projects_groups;
+ public $projects_groups_members;
+ public $projects_metricDescriptors;
+ public $projects_monitoredResourceDescriptors;
+ public $projects_timeSeries;
+
+ /**
+ * Constructs the internal representation of the Monitoring service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://monitoring.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v3';
+ $this->serviceName = 'monitoring';
+
+ $this->projects_collectdTimeSeries = new Google_Service_Monitoring_Resource_ProjectsCollectdTimeSeries(
+ $this,
+ $this->serviceName,
+ 'collectdTimeSeries',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v3/{+name}/collectdTimeSeries',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_groups = new Google_Service_Monitoring_Resource_ProjectsGroups(
+ $this,
+ $this->serviceName,
+ 'groups',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v3/{+name}/groups',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'validateOnly' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v3/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v3/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v3/{+name}/groups',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'childrenOfGroup' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'descendantsOfGroup' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'ancestorsOfGroup' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v3/{+name}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'validateOnly' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_groups_members = new Google_Service_Monitoring_Resource_ProjectsGroupsMembers(
+ $this,
+ $this->serviceName,
+ 'members',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v3/{+name}/members',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'interval.endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'interval.startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_metricDescriptors = new Google_Service_Monitoring_Resource_ProjectsMetricDescriptors(
+ $this,
+ $this->serviceName,
+ 'metricDescriptors',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v3/{+name}/metricDescriptors',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v3/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v3/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v3/{+name}/metricDescriptors',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_monitoredResourceDescriptors = new Google_Service_Monitoring_Resource_ProjectsMonitoredResourceDescriptors(
+ $this,
+ $this->serviceName,
+ 'monitoredResourceDescriptors',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v3/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v3/{+name}/monitoredResourceDescriptors',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_timeSeries = new Google_Service_Monitoring_Resource_ProjectsTimeSeries(
+ $this,
+ $this->serviceName,
+ 'timeSeries',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v3/{+name}/timeSeries',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v3/{+name}/timeSeries',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'aggregation.crossSeriesReducer' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'aggregation.perSeriesAligner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'interval.startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'aggregation.groupByFields' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'interval.endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'aggregation.alignmentPeriod' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/BucketOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/BucketOptions.php
new file mode 100644
index 00000000..15a2b9e5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/BucketOptions.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_BucketOptions extends Google_Model
+{
+ protected $explicitBucketsType = 'Google_Service_Monitoring_Explicit';
+ protected $explicitBucketsDataType = '';
+ protected $exponentialBucketsType = 'Google_Service_Monitoring_Exponential';
+ protected $exponentialBucketsDataType = '';
+ protected $linearBucketsType = 'Google_Service_Monitoring_Linear';
+ protected $linearBucketsDataType = '';
+
+ public function setExplicitBuckets(Google_Service_Monitoring_Explicit $explicitBuckets)
+ {
+ $this->explicitBuckets = $explicitBuckets;
+ }
+ public function getExplicitBuckets()
+ {
+ return $this->explicitBuckets;
+ }
+ public function setExponentialBuckets(Google_Service_Monitoring_Exponential $exponentialBuckets)
+ {
+ $this->exponentialBuckets = $exponentialBuckets;
+ }
+ public function getExponentialBuckets()
+ {
+ return $this->exponentialBuckets;
+ }
+ public function setLinearBuckets(Google_Service_Monitoring_Linear $linearBuckets)
+ {
+ $this->linearBuckets = $linearBuckets;
+ }
+ public function getLinearBuckets()
+ {
+ return $this->linearBuckets;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CollectdPayload.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CollectdPayload.php
new file mode 100644
index 00000000..42564424
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CollectdPayload.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_CollectdPayload extends Google_Collection
+{
+ protected $collection_key = 'values';
+ public $endTime;
+ protected $metadataType = 'Google_Service_Monitoring_TypedValue';
+ protected $metadataDataType = 'map';
+ public $plugin;
+ public $pluginInstance;
+ public $startTime;
+ public $type;
+ public $typeInstance;
+ protected $valuesType = 'Google_Service_Monitoring_CollectdValue';
+ protected $valuesDataType = 'array';
+
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setMetadata($metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setPlugin($plugin)
+ {
+ $this->plugin = $plugin;
+ }
+ public function getPlugin()
+ {
+ return $this->plugin;
+ }
+ public function setPluginInstance($pluginInstance)
+ {
+ $this->pluginInstance = $pluginInstance;
+ }
+ public function getPluginInstance()
+ {
+ return $this->pluginInstance;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setTypeInstance($typeInstance)
+ {
+ $this->typeInstance = $typeInstance;
+ }
+ public function getTypeInstance()
+ {
+ return $this->typeInstance;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CollectdValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CollectdValue.php
new file mode 100644
index 00000000..5ce4cab8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CollectdValue.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_CollectdValue extends Google_Model
+{
+ public $dataSourceName;
+ public $dataSourceType;
+ protected $valueType = 'Google_Service_Monitoring_TypedValue';
+ protected $valueDataType = '';
+
+ public function setDataSourceName($dataSourceName)
+ {
+ $this->dataSourceName = $dataSourceName;
+ }
+ public function getDataSourceName()
+ {
+ return $this->dataSourceName;
+ }
+ public function setDataSourceType($dataSourceType)
+ {
+ $this->dataSourceType = $dataSourceType;
+ }
+ public function getDataSourceType()
+ {
+ return $this->dataSourceType;
+ }
+ public function setValue(Google_Service_Monitoring_TypedValue $value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CreateCollectdTimeSeriesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CreateCollectdTimeSeriesRequest.php
new file mode 100644
index 00000000..9c461bf5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CreateCollectdTimeSeriesRequest.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_CreateCollectdTimeSeriesRequest extends Google_Collection
+{
+ protected $collection_key = 'collectdPayloads';
+ protected $collectdPayloadsType = 'Google_Service_Monitoring_CollectdPayload';
+ protected $collectdPayloadsDataType = 'array';
+ public $collectdVersion;
+ protected $resourceType = 'Google_Service_Monitoring_MonitoredResource';
+ protected $resourceDataType = '';
+
+ public function setCollectdPayloads($collectdPayloads)
+ {
+ $this->collectdPayloads = $collectdPayloads;
+ }
+ public function getCollectdPayloads()
+ {
+ return $this->collectdPayloads;
+ }
+ public function setCollectdVersion($collectdVersion)
+ {
+ $this->collectdVersion = $collectdVersion;
+ }
+ public function getCollectdVersion()
+ {
+ return $this->collectdVersion;
+ }
+ public function setResource(Google_Service_Monitoring_MonitoredResource $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CreateTimeSeriesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CreateTimeSeriesRequest.php
new file mode 100644
index 00000000..3199053d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CreateTimeSeriesRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_CreateTimeSeriesRequest extends Google_Collection
+{
+ protected $collection_key = 'timeSeries';
+ protected $timeSeriesType = 'Google_Service_Monitoring_TimeSeries';
+ protected $timeSeriesDataType = 'array';
+
+ public function setTimeSeries($timeSeries)
+ {
+ $this->timeSeries = $timeSeries;
+ }
+ public function getTimeSeries()
+ {
+ return $this->timeSeries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Distribution.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Distribution.php
new file mode 100644
index 00000000..42bdc3c4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Distribution.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_Distribution extends Google_Collection
+{
+ protected $collection_key = 'bucketCounts';
+ public $bucketCounts;
+ protected $bucketOptionsType = 'Google_Service_Monitoring_BucketOptions';
+ protected $bucketOptionsDataType = '';
+ public $count;
+ public $mean;
+ protected $rangeType = 'Google_Service_Monitoring_Range';
+ protected $rangeDataType = '';
+ public $sumOfSquaredDeviation;
+
+ public function setBucketCounts($bucketCounts)
+ {
+ $this->bucketCounts = $bucketCounts;
+ }
+ public function getBucketCounts()
+ {
+ return $this->bucketCounts;
+ }
+ public function setBucketOptions(Google_Service_Monitoring_BucketOptions $bucketOptions)
+ {
+ $this->bucketOptions = $bucketOptions;
+ }
+ public function getBucketOptions()
+ {
+ return $this->bucketOptions;
+ }
+ 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 setRange(Google_Service_Monitoring_Range $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+ public function setSumOfSquaredDeviation($sumOfSquaredDeviation)
+ {
+ $this->sumOfSquaredDeviation = $sumOfSquaredDeviation;
+ }
+ public function getSumOfSquaredDeviation()
+ {
+ return $this->sumOfSquaredDeviation;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Explicit.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Explicit.php
new file mode 100644
index 00000000..7a65c161
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Explicit.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_Explicit extends Google_Collection
+{
+ protected $collection_key = 'bounds';
+ public $bounds;
+
+ public function setBounds($bounds)
+ {
+ $this->bounds = $bounds;
+ }
+ public function getBounds()
+ {
+ return $this->bounds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Exponential.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Exponential.php
new file mode 100644
index 00000000..bec5db2f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Exponential.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_Exponential extends Google_Model
+{
+ public $growthFactor;
+ public $numFiniteBuckets;
+ public $scale;
+
+ public function setGrowthFactor($growthFactor)
+ {
+ $this->growthFactor = $growthFactor;
+ }
+ public function getGrowthFactor()
+ {
+ return $this->growthFactor;
+ }
+ public function setNumFiniteBuckets($numFiniteBuckets)
+ {
+ $this->numFiniteBuckets = $numFiniteBuckets;
+ }
+ public function getNumFiniteBuckets()
+ {
+ return $this->numFiniteBuckets;
+ }
+ public function setScale($scale)
+ {
+ $this->scale = $scale;
+ }
+ public function getScale()
+ {
+ return $this->scale;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Field.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Field.php
new file mode 100644
index 00000000..8c777474
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Field.php
@@ -0,0 +1,113 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_Field extends Google_Collection
+{
+ protected $collection_key = 'options';
+ public $cardinality;
+ public $defaultValue;
+ public $jsonName;
+ public $kind;
+ public $name;
+ public $number;
+ public $oneofIndex;
+ protected $optionsType = 'Google_Service_Monitoring_Option';
+ protected $optionsDataType = 'array';
+ public $packed;
+ public $typeUrl;
+
+ public function setCardinality($cardinality)
+ {
+ $this->cardinality = $cardinality;
+ }
+ public function getCardinality()
+ {
+ return $this->cardinality;
+ }
+ public function setDefaultValue($defaultValue)
+ {
+ $this->defaultValue = $defaultValue;
+ }
+ public function getDefaultValue()
+ {
+ return $this->defaultValue;
+ }
+ public function setJsonName($jsonName)
+ {
+ $this->jsonName = $jsonName;
+ }
+ public function getJsonName()
+ {
+ return $this->jsonName;
+ }
+ 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 setNumber($number)
+ {
+ $this->number = $number;
+ }
+ public function getNumber()
+ {
+ return $this->number;
+ }
+ public function setOneofIndex($oneofIndex)
+ {
+ $this->oneofIndex = $oneofIndex;
+ }
+ public function getOneofIndex()
+ {
+ return $this->oneofIndex;
+ }
+ public function setOptions($options)
+ {
+ $this->options = $options;
+ }
+ public function getOptions()
+ {
+ return $this->options;
+ }
+ public function setPacked($packed)
+ {
+ $this->packed = $packed;
+ }
+ public function getPacked()
+ {
+ return $this->packed;
+ }
+ public function setTypeUrl($typeUrl)
+ {
+ $this->typeUrl = $typeUrl;
+ }
+ public function getTypeUrl()
+ {
+ return $this->typeUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Group.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Group.php
new file mode 100644
index 00000000..daba3e52
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Group.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_Group extends Google_Model
+{
+ public $displayName;
+ public $filter;
+ public $isCluster;
+ public $name;
+ public $parentName;
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setFilter($filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+ public function setIsCluster($isCluster)
+ {
+ $this->isCluster = $isCluster;
+ }
+ public function getIsCluster()
+ {
+ return $this->isCluster;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParentName($parentName)
+ {
+ $this->parentName = $parentName;
+ }
+ public function getParentName()
+ {
+ return $this->parentName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/LabelDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/LabelDescriptor.php
new file mode 100644
index 00000000..1cdde867
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/LabelDescriptor.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_LabelDescriptor extends Google_Model
+{
+ public $description;
+ public $key;
+ public $valueType;
+
+ 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;
+ }
+ public function setValueType($valueType)
+ {
+ $this->valueType = $valueType;
+ }
+ public function getValueType()
+ {
+ return $this->valueType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Linear.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Linear.php
new file mode 100644
index 00000000..ccfc8fbc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Linear.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_Linear extends Google_Model
+{
+ public $numFiniteBuckets;
+ public $offset;
+ public $width;
+
+ public function setNumFiniteBuckets($numFiniteBuckets)
+ {
+ $this->numFiniteBuckets = $numFiniteBuckets;
+ }
+ public function getNumFiniteBuckets()
+ {
+ return $this->numFiniteBuckets;
+ }
+ public function setOffset($offset)
+ {
+ $this->offset = $offset;
+ }
+ public function getOffset()
+ {
+ return $this->offset;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListGroupMembersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListGroupMembersResponse.php
new file mode 100644
index 00000000..c48880a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListGroupMembersResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_ListGroupMembersResponse extends Google_Collection
+{
+ protected $collection_key = 'members';
+ protected $membersType = 'Google_Service_Monitoring_MonitoredResource';
+ protected $membersDataType = 'array';
+ public $nextPageToken;
+ public $totalSize;
+
+ 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;
+ }
+ public function setTotalSize($totalSize)
+ {
+ $this->totalSize = $totalSize;
+ }
+ public function getTotalSize()
+ {
+ return $this->totalSize;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListGroupsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListGroupsResponse.php
new file mode 100644
index 00000000..d5478fdf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListGroupsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_ListGroupsResponse extends Google_Collection
+{
+ protected $collection_key = 'group';
+ protected $groupType = 'Google_Service_Monitoring_Group';
+ protected $groupDataType = 'array';
+ public $nextPageToken;
+
+ public function setGroup($group)
+ {
+ $this->group = $group;
+ }
+ public function getGroup()
+ {
+ return $this->group;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListMetricDescriptorsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListMetricDescriptorsResponse.php
new file mode 100644
index 00000000..2c06e5ef
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListMetricDescriptorsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_ListMetricDescriptorsResponse extends Google_Collection
+{
+ protected $collection_key = 'metricDescriptors';
+ protected $metricDescriptorsType = 'Google_Service_Monitoring_MetricDescriptor';
+ protected $metricDescriptorsDataType = 'array';
+ public $nextPageToken;
+
+ public function setMetricDescriptors($metricDescriptors)
+ {
+ $this->metricDescriptors = $metricDescriptors;
+ }
+ public function getMetricDescriptors()
+ {
+ return $this->metricDescriptors;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListMonitoredResourceDescriptorsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListMonitoredResourceDescriptorsResponse.php
new file mode 100644
index 00000000..358881f6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListMonitoredResourceDescriptorsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_ListMonitoredResourceDescriptorsResponse extends Google_Collection
+{
+ protected $collection_key = 'resourceDescriptors';
+ public $nextPageToken;
+ protected $resourceDescriptorsType = 'Google_Service_Monitoring_MonitoredResourceDescriptor';
+ protected $resourceDescriptorsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResourceDescriptors($resourceDescriptors)
+ {
+ $this->resourceDescriptors = $resourceDescriptors;
+ }
+ public function getResourceDescriptors()
+ {
+ return $this->resourceDescriptors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListTimeSeriesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListTimeSeriesResponse.php
new file mode 100644
index 00000000..8bbfcccd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListTimeSeriesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_ListTimeSeriesResponse extends Google_Collection
+{
+ protected $collection_key = 'timeSeries';
+ public $nextPageToken;
+ protected $timeSeriesType = 'Google_Service_Monitoring_TimeSeries';
+ protected $timeSeriesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTimeSeries($timeSeries)
+ {
+ $this->timeSeries = $timeSeries;
+ }
+ public function getTimeSeries()
+ {
+ return $this->timeSeries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Metric.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Metric.php
new file mode 100644
index 00000000..01bc87ed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Metric.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_Metric extends Google_Model
+{
+ public $labels;
+ public $type;
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MetricDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MetricDescriptor.php
new file mode 100644
index 00000000..ccb29198
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MetricDescriptor.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_MetricDescriptor extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ public $description;
+ public $displayName;
+ protected $labelsType = 'Google_Service_Monitoring_LabelDescriptor';
+ protected $labelsDataType = 'array';
+ public $metricKind;
+ public $name;
+ public $type;
+ public $unit;
+ public $valueType;
+
+ 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 setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setMetricKind($metricKind)
+ {
+ $this->metricKind = $metricKind;
+ }
+ public function getMetricKind()
+ {
+ return $this->metricKind;
+ }
+ 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 setValueType($valueType)
+ {
+ $this->valueType = $valueType;
+ }
+ public function getValueType()
+ {
+ return $this->valueType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResource.php
new file mode 100644
index 00000000..7845d3dd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_MonitoredResource extends Google_Model
+{
+ public $labels;
+ public $type;
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResourceDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResourceDescriptor.php
new file mode 100644
index 00000000..c664f894
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResourceDescriptor.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_MonitoredResourceDescriptor extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ public $description;
+ public $displayName;
+ protected $labelsType = 'Google_Service_Monitoring_LabelDescriptor';
+ protected $labelsDataType = 'array';
+ public $name;
+ public $type;
+
+ 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 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 setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoringEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoringEmpty.php
new file mode 100644
index 00000000..e6becdc2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoringEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_MonitoringEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Option.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Option.php
new file mode 100644
index 00000000..c3765139
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Option.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_Option extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Point.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Point.php
new file mode 100644
index 00000000..b565897c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Point.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_Point extends Google_Model
+{
+ protected $intervalType = 'Google_Service_Monitoring_TimeInterval';
+ protected $intervalDataType = '';
+ protected $valueType = 'Google_Service_Monitoring_TypedValue';
+ protected $valueDataType = '';
+
+ public function setInterval(Google_Service_Monitoring_TimeInterval $interval)
+ {
+ $this->interval = $interval;
+ }
+ public function getInterval()
+ {
+ return $this->interval;
+ }
+ public function setValue(Google_Service_Monitoring_TypedValue $value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Range.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Range.php
new file mode 100644
index 00000000..ca54281f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Range.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_Range extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/Projects.php
new file mode 100644
index 00000000..92cf8f9c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/Projects.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $monitoringService = new Google_Service_Monitoring(...);
+ * $projects = $monitoringService->projects;
+ * </code>
+ */
+class Google_Service_Monitoring_Resource_Projects extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsCollectdTimeSeries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsCollectdTimeSeries.php
new file mode 100644
index 00000000..da528965
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsCollectdTimeSeries.php
@@ -0,0 +1,45 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "collectdTimeSeries" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $monitoringService = new Google_Service_Monitoring(...);
+ * $collectdTimeSeries = $monitoringService->collectdTimeSeries;
+ * </code>
+ */
+class Google_Service_Monitoring_Resource_ProjectsCollectdTimeSeries extends Google_Service_Resource
+{
+ /**
+ * Stackdriver Monitoring Agent only: Creates a new time series.This method is
+ * only for use by the Stackdriver Monitoring Agent. Use
+ * projects.timeSeries.create instead. (collectdTimeSeries.create)
+ *
+ * @param string $name The project in which to create the time series. The
+ * format is "projects/PROJECT_ID_OR_NUMBER".
+ * @param Google_Service_Monitoring_CreateCollectdTimeSeriesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Monitoring_MonitoringEmpty
+ */
+ public function create($name, Google_Service_Monitoring_CreateCollectdTimeSeriesRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Monitoring_MonitoringEmpty");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroups.php
new file mode 100644
index 00000000..75c24fd0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroups.php
@@ -0,0 +1,130 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "groups" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $monitoringService = new Google_Service_Monitoring(...);
+ * $groups = $monitoringService->groups;
+ * </code>
+ */
+class Google_Service_Monitoring_Resource_ProjectsGroups extends Google_Service_Resource
+{
+ /**
+ * Creates a new group. (groups.create)
+ *
+ * @param string $name The project in which to create the group. The format is
+ * "projects/{project_id_or_number}".
+ * @param Google_Service_Monitoring_Group $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool validateOnly If true, validate this request but do not create
+ * the group.
+ * @return Google_Service_Monitoring_Group
+ */
+ public function create($name, Google_Service_Monitoring_Group $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Monitoring_Group");
+ }
+ /**
+ * Deletes an existing group. (groups.delete)
+ *
+ * @param string $name The group to delete. The format is
+ * "projects/{project_id_or_number}/groups/{group_id}".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Monitoring_MonitoringEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Monitoring_MonitoringEmpty");
+ }
+ /**
+ * Gets a single group. (groups.get)
+ *
+ * @param string $name The group to retrieve. The format is
+ * "projects/{project_id_or_number}/groups/{group_id}".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Monitoring_Group
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Monitoring_Group");
+ }
+ /**
+ * Lists the existing groups. (groups.listProjectsGroups)
+ *
+ * @param string $name The project whose groups are to be listed. The format is
+ * "projects/{project_id_or_number}".
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string childrenOfGroup A group name:
+ * "projects/{project_id_or_number}/groups/{group_id}". Returns groups whose
+ * parentName field contains the group name. If no groups have this parent, the
+ * results are empty.
+ * @opt_param string descendantsOfGroup A group name:
+ * "projects/{project_id_or_number}/groups/{group_id}". Returns the descendants
+ * of the specified group. This is a superset of the results returned by the
+ * childrenOfGroup filter, and includes children-of-children, and so forth.
+ * @opt_param string pageToken If this field is not empty then it must contain
+ * the nextPageToken value returned by a previous call to this method. Using
+ * this field causes the method to return additional results from the previous
+ * method call.
+ * @opt_param int pageSize A positive number that is the maximum number of
+ * results to return.
+ * @opt_param string ancestorsOfGroup A group name:
+ * "projects/{project_id_or_number}/groups/{group_id}". Returns groups that are
+ * ancestors of the specified group. The groups are returned in order, starting
+ * with the immediate parent and ending with the most distant ancestor. If the
+ * specified group has no immediate parent, the results are empty.
+ * @return Google_Service_Monitoring_ListGroupsResponse
+ */
+ public function listProjectsGroups($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Monitoring_ListGroupsResponse");
+ }
+ /**
+ * Updates an existing group. You can change any group attributes except name.
+ * (groups.update)
+ *
+ * @param string $name Output only. The name of this group. The format is
+ * "projects/{project_id_or_number}/groups/{group_id}". When creating a group,
+ * this field is ignored and a new name is created consisting of the project
+ * specified in the call to CreateGroup and a unique {group_id} that is
+ * generated automatically.
+ * @param Google_Service_Monitoring_Group $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool validateOnly If true, validate this request but do not update
+ * the existing group.
+ * @return Google_Service_Monitoring_Group
+ */
+ public function update($name, Google_Service_Monitoring_Group $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Monitoring_Group");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroupsMembers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroupsMembers.php
new file mode 100644
index 00000000..a0325309
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroupsMembers.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "members" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $monitoringService = new Google_Service_Monitoring(...);
+ * $members = $monitoringService->members;
+ * </code>
+ */
+class Google_Service_Monitoring_Resource_ProjectsGroupsMembers extends Google_Service_Resource
+{
+ /**
+ * Lists the monitored resources that are members of a group.
+ * (members.listProjectsGroupsMembers)
+ *
+ * @param string $name The group whose members are listed. The format is
+ * "projects/{project_id_or_number}/groups/{group_id}".
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string interval.endTime Required. The end of the time interval.
+ * @opt_param string filter An optional list filter describing the members to be
+ * returned. The filter may reference the type, labels, and metadata of
+ * monitored resources that comprise the group. For example, to return only
+ * resources representing Compute Engine VM instances, use this filter:
+ * resource.type = "gce_instance"
+ * @opt_param string pageToken If this field is not empty then it must contain
+ * the nextPageToken value returned by a previous call to this method. Using
+ * this field causes the method to return additional results from the previous
+ * method call.
+ * @opt_param int pageSize A positive number that is the maximum number of
+ * results to return.
+ * @opt_param string interval.startTime Optional. The beginning of the time
+ * interval. The default value for the start time is the end time. The start
+ * time must not be later than the end time.
+ * @return Google_Service_Monitoring_ListGroupMembersResponse
+ */
+ public function listProjectsGroupsMembers($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Monitoring_ListGroupMembersResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsMetricDescriptors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsMetricDescriptors.php
new file mode 100644
index 00000000..a374b79e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsMetricDescriptors.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "metricDescriptors" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $monitoringService = new Google_Service_Monitoring(...);
+ * $metricDescriptors = $monitoringService->metricDescriptors;
+ * </code>
+ */
+class Google_Service_Monitoring_Resource_ProjectsMetricDescriptors extends Google_Service_Resource
+{
+ /**
+ * Creates a new metric descriptor. User-created metric descriptors define
+ * custom metrics. (metricDescriptors.create)
+ *
+ * @param string $name The project on which to execute the request. The format
+ * is "projects/{project_id_or_number}".
+ * @param Google_Service_Monitoring_MetricDescriptor $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Monitoring_MetricDescriptor
+ */
+ public function create($name, Google_Service_Monitoring_MetricDescriptor $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Monitoring_MetricDescriptor");
+ }
+ /**
+ * Deletes a metric descriptor. Only user-created custom metrics can be deleted.
+ * (metricDescriptors.delete)
+ *
+ * @param string $name The metric descriptor on which to execute the request.
+ * The format is
+ * "projects/{project_id_or_number}/metricDescriptors/{metric_id}". An example
+ * of {metric_id} is: "custom.googleapis.com/my_test_metric".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Monitoring_MonitoringEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Monitoring_MonitoringEmpty");
+ }
+ /**
+ * Gets a single metric descriptor. This method does not require a Stackdriver
+ * account. (metricDescriptors.get)
+ *
+ * @param string $name The metric descriptor on which to execute the request.
+ * The format is
+ * "projects/{project_id_or_number}/metricDescriptors/{metric_id}". An example
+ * value of {metric_id} is
+ * "compute.googleapis.com/instance/disk/read_bytes_count".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Monitoring_MetricDescriptor
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Monitoring_MetricDescriptor");
+ }
+ /**
+ * Lists metric descriptors that match a filter. This method does not require a
+ * Stackdriver account. (metricDescriptors.listProjectsMetricDescriptors)
+ *
+ * @param string $name The project on which to execute the request. The format
+ * is "projects/{project_id_or_number}".
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken If this field is not empty then it must contain
+ * the nextPageToken value returned by a previous call to this method. Using
+ * this field causes the method to return additional results from the previous
+ * method call.
+ * @opt_param int pageSize A positive number that is the maximum number of
+ * results to return.
+ * @opt_param string filter If this field is empty, all custom and system-
+ * defined metric descriptors are returned. Otherwise, the filter specifies
+ * which metric descriptors are to be returned. For example, the following
+ * filter matches all custom metrics: metric.type =
+ * starts_with("custom.googleapis.com/")
+ * @return Google_Service_Monitoring_ListMetricDescriptorsResponse
+ */
+ public function listProjectsMetricDescriptors($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Monitoring_ListMetricDescriptorsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsMonitoredResourceDescriptors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsMonitoredResourceDescriptors.php
new file mode 100644
index 00000000..f0c6d3f1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsMonitoredResourceDescriptors.php
@@ -0,0 +1,72 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "monitoredResourceDescriptors" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $monitoringService = new Google_Service_Monitoring(...);
+ * $monitoredResourceDescriptors = $monitoringService->monitoredResourceDescriptors;
+ * </code>
+ */
+class Google_Service_Monitoring_Resource_ProjectsMonitoredResourceDescriptors extends Google_Service_Resource
+{
+ /**
+ * Gets a single monitored resource descriptor. This method does not require a
+ * Stackdriver account. (monitoredResourceDescriptors.get)
+ *
+ * @param string $name The monitored resource descriptor to get. The format is "
+ * projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"
+ * . The {resource_type} is a predefined type, such as cloudsql_database.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Monitoring_MonitoredResourceDescriptor
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Monitoring_MonitoredResourceDescriptor");
+ }
+ /**
+ * Lists monitored resource descriptors that match a filter. This method does
+ * not require a Stackdriver account.
+ * (monitoredResourceDescriptors.listProjectsMonitoredResourceDescriptors)
+ *
+ * @param string $name The project on which to execute the request. The format
+ * is "projects/{project_id_or_number}".
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken If this field is not empty then it must contain
+ * the nextPageToken value returned by a previous call to this method. Using
+ * this field causes the method to return additional results from the previous
+ * method call.
+ * @opt_param int pageSize A positive number that is the maximum number of
+ * results to return.
+ * @opt_param string filter An optional filter describing the descriptors to be
+ * returned. The filter can reference the descriptor's type and labels. For
+ * example, the following filter returns only Google Compute Engine descriptors
+ * that have an id label: resource.type = starts_with("gce_") AND
+ * resource.label:id
+ * @return Google_Service_Monitoring_ListMonitoredResourceDescriptorsResponse
+ */
+ public function listProjectsMonitoredResourceDescriptors($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Monitoring_ListMonitoredResourceDescriptorsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsTimeSeries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsTimeSeries.php
new file mode 100644
index 00000000..8a1252d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsTimeSeries.php
@@ -0,0 +1,119 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "timeSeries" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $monitoringService = new Google_Service_Monitoring(...);
+ * $timeSeries = $monitoringService->timeSeries;
+ * </code>
+ */
+class Google_Service_Monitoring_Resource_ProjectsTimeSeries extends Google_Service_Resource
+{
+ /**
+ * Creates or adds data to one or more time series. The response is empty if all
+ * time series in the request were written. If any time series could not be
+ * written, a corresponding failure message is included in the error response.
+ * (timeSeries.create)
+ *
+ * @param string $name The project on which to execute the request. The format
+ * is "projects/{project_id_or_number}".
+ * @param Google_Service_Monitoring_CreateTimeSeriesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Monitoring_MonitoringEmpty
+ */
+ public function create($name, Google_Service_Monitoring_CreateTimeSeriesRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Monitoring_MonitoringEmpty");
+ }
+ /**
+ * Lists time series that match a filter. This method does not require a
+ * Stackdriver account. (timeSeries.listProjectsTimeSeries)
+ *
+ * @param string $name The project on which to execute the request. The format
+ * is "projects/{project_id_or_number}".
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string aggregation.crossSeriesReducer The approach to be used to
+ * combine time series. Not all reducer functions may be applied to all time
+ * series, depending on the metric type and the value type of the original time
+ * series. Reduction may change the metric type of value type of the time
+ * series.Time series data must be aligned in order to perform cross-time series
+ * reduction. If crossSeriesReducer is specified, then perSeriesAligner must be
+ * specified and not equal ALIGN_NONE and alignmentPeriod must be specified;
+ * otherwise, an error is returned.
+ * @opt_param string filter A monitoring filter that specifies which time series
+ * should be returned. The filter must specify a single metric type, and can
+ * additionally specify metric labels and other information. For example:
+ * metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
+ * metric.label.instance_name = "my-instance-name"
+ * @opt_param string aggregation.perSeriesAligner The approach to be used to
+ * align individual time series. Not all alignment functions may be applied to
+ * all time series, depending on the metric type and value type of the original
+ * time series. Alignment may change the metric type or the value type of the
+ * time series.Time series data must be aligned in order to perform cross-time
+ * series reduction. If crossSeriesReducer is specified, then perSeriesAligner
+ * must be specified and not equal ALIGN_NONE and alignmentPeriod must be
+ * specified; otherwise, an error is returned.
+ * @opt_param string pageToken If this field is not empty then it must contain
+ * the nextPageToken value returned by a previous call to this method. Using
+ * this field causes the method to return additional results from the previous
+ * method call.
+ * @opt_param string interval.startTime Optional. The beginning of the time
+ * interval. The default value for the start time is the end time. The start
+ * time must not be later than the end time.
+ * @opt_param string view Specifies which information is returned about the time
+ * series.
+ * @opt_param string aggregation.groupByFields The set of fields to preserve
+ * when crossSeriesReducer is specified. The groupByFields determine how the
+ * time series are partitioned into subsets prior to applying the aggregation
+ * function. Each subset contains time series that have the same value for each
+ * of the grouping fields. Each individual time series is a member of exactly
+ * one subset. The crossSeriesReducer is applied to each subset of time series.
+ * It is not possible to reduce across different resource types, so this field
+ * implicitly contains resource.type. Fields not specified in groupByFields are
+ * aggregated away. If groupByFields is not specified and all the time series
+ * have the same resource type, then the time series are aggregated into a
+ * single output time series. If crossSeriesReducer is not defined, this field
+ * is ignored.
+ * @opt_param string interval.endTime Required. The end of the time interval.
+ * @opt_param string aggregation.alignmentPeriod The alignment period for per-
+ * time series alignment. If present, alignmentPeriod must be at least 60
+ * seconds. After per-time series alignment, each time series will contain data
+ * points only on the period boundaries. If perSeriesAligner is not specified or
+ * equals ALIGN_NONE, then this field is ignored. If perSeriesAligner is
+ * specified and does not equal ALIGN_NONE, then this field must be defined;
+ * otherwise an error is returned.
+ * @opt_param int pageSize A positive number that is the maximum number of
+ * results to return. When view field sets to FULL, it limits the number of
+ * Points server will return; if view field is HEADERS, it limits the number of
+ * TimeSeries server will return.
+ * @opt_param string orderBy Specifies the order in which the points of the time
+ * series should be returned. By default, results are not ordered. Currently,
+ * this field must be left blank.
+ * @return Google_Service_Monitoring_ListTimeSeriesResponse
+ */
+ public function listProjectsTimeSeries($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Monitoring_ListTimeSeriesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/SourceContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/SourceContext.php
new file mode 100644
index 00000000..ecad7a77
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/SourceContext.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_SourceContext extends Google_Model
+{
+ public $fileName;
+
+ public function setFileName($fileName)
+ {
+ $this->fileName = $fileName;
+ }
+ public function getFileName()
+ {
+ return $this->fileName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TimeInterval.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TimeInterval.php
new file mode 100644
index 00000000..0c3305cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TimeInterval.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_TimeInterval extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TimeSeries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TimeSeries.php
new file mode 100644
index 00000000..898a1dda
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TimeSeries.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_TimeSeries extends Google_Collection
+{
+ protected $collection_key = 'points';
+ protected $metricType = 'Google_Service_Monitoring_Metric';
+ protected $metricDataType = '';
+ public $metricKind;
+ protected $pointsType = 'Google_Service_Monitoring_Point';
+ protected $pointsDataType = 'array';
+ protected $resourceType = 'Google_Service_Monitoring_MonitoredResource';
+ protected $resourceDataType = '';
+ public $valueType;
+
+ public function setMetric(Google_Service_Monitoring_Metric $metric)
+ {
+ $this->metric = $metric;
+ }
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+ public function setMetricKind($metricKind)
+ {
+ $this->metricKind = $metricKind;
+ }
+ public function getMetricKind()
+ {
+ return $this->metricKind;
+ }
+ public function setPoints($points)
+ {
+ $this->points = $points;
+ }
+ public function getPoints()
+ {
+ return $this->points;
+ }
+ public function setResource(Google_Service_Monitoring_MonitoredResource $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+ public function setValueType($valueType)
+ {
+ $this->valueType = $valueType;
+ }
+ public function getValueType()
+ {
+ return $this->valueType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Type.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Type.php
new file mode 100644
index 00000000..79eda5e1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Type.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_Type extends Google_Collection
+{
+ protected $collection_key = 'options';
+ protected $fieldsType = 'Google_Service_Monitoring_Field';
+ protected $fieldsDataType = 'array';
+ public $name;
+ public $oneofs;
+ protected $optionsType = 'Google_Service_Monitoring_Option';
+ protected $optionsDataType = 'array';
+ protected $sourceContextType = 'Google_Service_Monitoring_SourceContext';
+ protected $sourceContextDataType = '';
+ public $syntax;
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOneofs($oneofs)
+ {
+ $this->oneofs = $oneofs;
+ }
+ public function getOneofs()
+ {
+ return $this->oneofs;
+ }
+ public function setOptions($options)
+ {
+ $this->options = $options;
+ }
+ public function getOptions()
+ {
+ return $this->options;
+ }
+ public function setSourceContext(Google_Service_Monitoring_SourceContext $sourceContext)
+ {
+ $this->sourceContext = $sourceContext;
+ }
+ public function getSourceContext()
+ {
+ return $this->sourceContext;
+ }
+ public function setSyntax($syntax)
+ {
+ $this->syntax = $syntax;
+ }
+ public function getSyntax()
+ {
+ return $this->syntax;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TypedValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TypedValue.php
new file mode 100644
index 00000000..58f9edfa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TypedValue.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Monitoring_TypedValue extends Google_Model
+{
+ public $boolValue;
+ protected $distributionValueType = 'Google_Service_Monitoring_Distribution';
+ protected $distributionValueDataType = '';
+ public $doubleValue;
+ public $int64Value;
+ public $stringValue;
+
+ public function setBoolValue($boolValue)
+ {
+ $this->boolValue = $boolValue;
+ }
+ public function getBoolValue()
+ {
+ return $this->boolValue;
+ }
+ public function setDistributionValue(Google_Service_Monitoring_Distribution $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 setInt64Value($int64Value)
+ {
+ $this->int64Value = $int64Value;
+ }
+ public function getInt64Value()
+ {
+ return $this->int64Value;
+ }
+ public function setStringValue($stringValue)
+ {
+ $this->stringValue = $stringValue;
+ }
+ public function getStringValue()
+ {
+ return $this->stringValue;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2.php
new file mode 100644
index 00000000..142f111e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2.php
@@ -0,0 +1,150 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Obtains end-user authorization grants for use with other Google 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 Google_Service_Oauth2 extends Google_Service
+{
+ /** Know the list of people in your circles, your age range, and language. */
+ 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v2';
+ $this->serviceName = 'oauth2';
+
+ $this->userinfo = new Google_Service_Oauth2_Resource_Userinfo(
+ $this,
+ $this->serviceName,
+ 'userinfo',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'oauth2/v2/userinfo',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->userinfo_v2_me = new Google_Service_Oauth2_Resource_UserinfoV2Me(
+ $this,
+ $this->serviceName,
+ 'me',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userinfo/v2/me',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->base_methods = new Google_Service_Resource(
+ $this,
+ $this->serviceName,
+ '',
+ array(
+ 'methods' => array(
+ 'getCertForOpenIdConnect' => array(
+ 'path' => 'oauth2/v2/certs',
+ 'httpMethod' => 'GET',
+ 'parameters' => 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',
+ ),
+ 'token_handle' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+ /**
+ * (getCertForOpenIdConnect)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Oauth2_Jwk
+ */
+ public function getCertForOpenIdConnect($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->base_methods->call('getCertForOpenIdConnect', array($params), "Google_Service_Oauth2_Jwk");
+ }
+ /**
+ * (tokeninfo)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string access_token
+ * @opt_param string id_token
+ * @opt_param string token_handle
+ * @return Google_Service_Oauth2_Tokeninfo
+ */
+ public function tokeninfo($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->base_methods->call('tokeninfo', array($params), "Google_Service_Oauth2_Tokeninfo");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Jwk.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Jwk.php
new file mode 100644
index 00000000..18cf6e05
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Jwk.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Oauth2_Jwk extends Google_Collection
+{
+ protected $collection_key = 'keys';
+ protected $keysType = 'Google_Service_Oauth2_JwkKeys';
+ protected $keysDataType = 'array';
+
+ public function setKeys($keys)
+ {
+ $this->keys = $keys;
+ }
+ public function getKeys()
+ {
+ return $this->keys;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/JwkKeys.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/JwkKeys.php
new file mode 100644
index 00000000..1bfb5bd8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/JwkKeys.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Oauth2_JwkKeys extends Google_Model
+{
+ public $alg;
+ public $e;
+ public $kid;
+ public $kty;
+ public $n;
+ public $use;
+
+ public function setAlg($alg)
+ {
+ $this->alg = $alg;
+ }
+ public function getAlg()
+ {
+ return $this->alg;
+ }
+ public function setE($e)
+ {
+ $this->e = $e;
+ }
+ public function getE()
+ {
+ return $this->e;
+ }
+ public function setKid($kid)
+ {
+ $this->kid = $kid;
+ }
+ public function getKid()
+ {
+ return $this->kid;
+ }
+ public function setKty($kty)
+ {
+ $this->kty = $kty;
+ }
+ public function getKty()
+ {
+ return $this->kty;
+ }
+ public function setN($n)
+ {
+ $this->n = $n;
+ }
+ public function getN()
+ {
+ return $this->n;
+ }
+ public function setUse($use)
+ {
+ $this->use = $use;
+ }
+ public function getUse()
+ {
+ return $this->use;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/Userinfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/Userinfo.php
new file mode 100644
index 00000000..6cba0256
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/Userinfo.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "userinfo" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $oauth2Service = new Google_Service_Oauth2(...);
+ * $userinfo = $oauth2Service->userinfo;
+ * </code>
+ */
+class Google_Service_Oauth2_Resource_Userinfo extends Google_Service_Resource
+{
+ /**
+ * (userinfo.get)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Oauth2_Userinfoplus
+ */
+ public function get($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Oauth2_Userinfoplus");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2.php
new file mode 100644
index 00000000..1ca820ad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "v2" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $oauth2Service = new Google_Service_Oauth2(...);
+ * $v2 = $oauth2Service->v2;
+ * </code>
+ */
+class Google_Service_Oauth2_Resource_UserinfoV2 extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2Me.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2Me.php
new file mode 100644
index 00000000..b73b78e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2Me.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "me" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $oauth2Service = new Google_Service_Oauth2(...);
+ * $me = $oauth2Service->me;
+ * </code>
+ */
+class Google_Service_Oauth2_Resource_UserinfoV2Me extends Google_Service_Resource
+{
+ /**
+ * (me.get)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Oauth2_Userinfoplus
+ */
+ public function get($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Oauth2_Userinfoplus");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Tokeninfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Tokeninfo.php
new file mode 100644
index 00000000..6632a24a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Tokeninfo.php
@@ -0,0 +1,110 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Oauth2_Tokeninfo extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "accessType" => "access_type",
+ "expiresIn" => "expires_in",
+ "issuedTo" => "issued_to",
+ "tokenHandle" => "token_handle",
+ "userId" => "user_id",
+ "verifiedEmail" => "verified_email",
+ );
+ public $accessType;
+ public $audience;
+ public $email;
+ public $expiresIn;
+ public $issuedTo;
+ public $scope;
+ public $tokenHandle;
+ 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 setTokenHandle($tokenHandle)
+ {
+ $this->tokenHandle = $tokenHandle;
+ }
+ public function getTokenHandle()
+ {
+ return $this->tokenHandle;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Userinfoplus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Userinfoplus.php
new file mode 100644
index 00000000..1d76dfd9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Userinfoplus.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Oauth2_Userinfoplus extends 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline.php
new file mode 100644
index 00000000..f3459b60
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 (v2).
+ *
+ * <p>
+ * Analyzes the performance of a web page and provides 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/v2/getting-started" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Pagespeedonline extends Google_Service
+{
+
+
+ public $pagespeedapi;
+
+ /**
+ * Constructs the internal representation of the Pagespeedonline service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'pagespeedonline/v2/';
+ $this->version = 'v2';
+ $this->serviceName = 'pagespeedonline';
+
+ $this->pagespeedapi = new Google_Service_Pagespeedonline_Resource_Pagespeedapi(
+ $this,
+ $this->serviceName,
+ 'pagespeedapi',
+ array(
+ 'methods' => array(
+ 'runpagespeed' => array(
+ 'path' => 'runPagespeed',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'url' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter_third_party_resources' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'rule' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'screenshot' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'strategy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2.php
new file mode 100644
index 00000000..2c375993
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pagespeedonline_PagespeedApiFormatStringV2 extends Google_Collection
+{
+ protected $collection_key = 'args';
+ protected $argsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2Args';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2Args.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2Args.php
new file mode 100644
index 00000000..c1179e70
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2Args.php
@@ -0,0 +1,72 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pagespeedonline_PagespeedApiFormatStringV2Args extends Google_Collection
+{
+ protected $collection_key = 'secondary_rects';
+ protected $internal_gapi_mappings = array(
+ "secondaryRects" => "secondary_rects",
+ );
+ public $key;
+ protected $rectsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2ArgsRects';
+ protected $rectsDataType = 'array';
+ protected $secondaryRectsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2ArgsSecondaryRects';
+ protected $secondaryRectsDataType = 'array';
+ public $type;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setRects($rects)
+ {
+ $this->rects = $rects;
+ }
+ public function getRects()
+ {
+ return $this->rects;
+ }
+ public function setSecondaryRects($secondaryRects)
+ {
+ $this->secondaryRects = $secondaryRects;
+ }
+ public function getSecondaryRects()
+ {
+ return $this->secondaryRects;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2ArgsRects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2ArgsRects.php
new file mode 100644
index 00000000..a11240cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2ArgsRects.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pagespeedonline_PagespeedApiFormatStringV2ArgsRects extends Google_Model
+{
+ public $height;
+ public $left;
+ public $top;
+ public $width;
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setLeft($left)
+ {
+ $this->left = $left;
+ }
+ public function getLeft()
+ {
+ return $this->left;
+ }
+ public function setTop($top)
+ {
+ $this->top = $top;
+ }
+ public function getTop()
+ {
+ return $this->top;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2ArgsSecondaryRects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2ArgsSecondaryRects.php
new file mode 100644
index 00000000..556a5fdb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2ArgsSecondaryRects.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pagespeedonline_PagespeedApiFormatStringV2ArgsSecondaryRects extends Google_Model
+{
+ public $height;
+ public $left;
+ public $top;
+ public $width;
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setLeft($left)
+ {
+ $this->left = $left;
+ }
+ public function getLeft()
+ {
+ return $this->left;
+ }
+ public function setTop($top)
+ {
+ $this->top = $top;
+ }
+ public function getTop()
+ {
+ return $this->top;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiImageV2.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiImageV2.php
new file mode 100644
index 00000000..3768fb4a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiImageV2.php
@@ -0,0 +1,80 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pagespeedonline_PagespeedApiImageV2 extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "mimeType" => "mime_type",
+ "pageRect" => "page_rect",
+ );
+ public $data;
+ public $height;
+ public $key;
+ public $mimeType;
+ protected $pageRectType = 'Google_Service_Pagespeedonline_PagespeedApiImageV2PageRect';
+ protected $pageRectDataType = '';
+ 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 setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+ public function setPageRect(Google_Service_Pagespeedonline_PagespeedApiImageV2PageRect $pageRect)
+ {
+ $this->pageRect = $pageRect;
+ }
+ public function getPageRect()
+ {
+ return $this->pageRect;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiImageV2PageRect.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiImageV2PageRect.php
new file mode 100644
index 00000000..4adc16bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiImageV2PageRect.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pagespeedonline_PagespeedApiImageV2PageRect extends Google_Model
+{
+ public $height;
+ public $left;
+ public $top;
+ public $width;
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setLeft($left)
+ {
+ $this->left = $left;
+ }
+ public function getLeft()
+ {
+ return $this->left;
+ }
+ public function setTop($top)
+ {
+ $this->top = $top;
+ }
+ public function getTop()
+ {
+ return $this->top;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/Resource/Pagespeedapi.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/Resource/Pagespeedapi.php
new file mode 100644
index 00000000..bea52f24
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/Resource/Pagespeedapi.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "pagespeedapi" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $pagespeedonlineService = new Google_Service_Pagespeedonline(...);
+ * $pagespeedapi = $pagespeedonlineService->pagespeedapi;
+ * </code>
+ */
+class Google_Service_Pagespeedonline_Resource_Pagespeedapi extends Google_Service_Resource
+{
+ /**
+ * Runs PageSpeed analysis on the page at the specified URL, and returns
+ * PageSpeed scores, 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 filter_third_party_resources Indicates if third party
+ * resources should be filtered out before PageSpeed analysis.
+ * @opt_param string locale The locale used to localize formatted results
+ * @opt_param string rule A PageSpeed rule to run; if none are given, all rules
+ * are run
+ * @opt_param bool screenshot Indicates if binary data containing a screenshot
+ * should be included
+ * @opt_param string strategy The analysis strategy to use
+ * @return 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), "Google_Service_Pagespeedonline_Result");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/Result.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/Result.php
new file mode 100644
index 00000000..b9aa3342
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/Result.php
@@ -0,0 +1,117 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pagespeedonline_Result extends Google_Collection
+{
+ protected $collection_key = 'invalidRules';
+ protected $formattedResultsType = 'Google_Service_Pagespeedonline_ResultFormattedResults';
+ protected $formattedResultsDataType = '';
+ public $id;
+ public $invalidRules;
+ public $kind;
+ protected $pageStatsType = 'Google_Service_Pagespeedonline_ResultPageStats';
+ protected $pageStatsDataType = '';
+ public $responseCode;
+ protected $ruleGroupsType = 'Google_Service_Pagespeedonline_ResultRuleGroupsElement';
+ protected $ruleGroupsDataType = 'map';
+ protected $screenshotType = 'Google_Service_Pagespeedonline_PagespeedApiImageV2';
+ protected $screenshotDataType = '';
+ public $title;
+ protected $versionType = 'Google_Service_Pagespeedonline_ResultVersion';
+ protected $versionDataType = '';
+
+ public function setFormattedResults(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(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 setRuleGroups($ruleGroups)
+ {
+ $this->ruleGroups = $ruleGroups;
+ }
+ public function getRuleGroups()
+ {
+ return $this->ruleGroups;
+ }
+ public function setScreenshot(Google_Service_Pagespeedonline_PagespeedApiImageV2 $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(Google_Service_Pagespeedonline_ResultVersion $version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResults.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResults.php
new file mode 100644
index 00000000..bf4ef288
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResults.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pagespeedonline_ResultFormattedResults extends Google_Model
+{
+ public $locale;
+ protected $ruleResultsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElement.php
new file mode 100644
index 00000000..ef3d1874
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElement.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElement extends Google_Collection
+{
+ protected $collection_key = 'urlBlocks';
+ public $groups;
+ public $localizedRuleName;
+ public $ruleImpact;
+ protected $summaryType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2';
+ protected $summaryDataType = '';
+ protected $urlBlocksType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocks';
+ protected $urlBlocksDataType = 'array';
+
+ public function setGroups($groups)
+ {
+ $this->groups = $groups;
+ }
+ public function getGroups()
+ {
+ return $this->groups;
+ }
+ 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 setSummary(Google_Service_Pagespeedonline_PagespeedApiFormatStringV2 $summary)
+ {
+ $this->summary = $summary;
+ }
+ public function getSummary()
+ {
+ return $this->summary;
+ }
+ public function setUrlBlocks($urlBlocks)
+ {
+ $this->urlBlocks = $urlBlocks;
+ }
+ public function getUrlBlocks()
+ {
+ return $this->urlBlocks;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElementUrlBlocks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElementUrlBlocks.php
new file mode 100644
index 00000000..d60e2f3f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElementUrlBlocks.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocks extends Google_Collection
+{
+ protected $collection_key = 'urls';
+ protected $headerType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2';
+ protected $headerDataType = '';
+ protected $urlsType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrls';
+ protected $urlsDataType = 'array';
+
+ public function setHeader(Google_Service_Pagespeedonline_PagespeedApiFormatStringV2 $header)
+ {
+ $this->header = $header;
+ }
+ public function getHeader()
+ {
+ return $this->header;
+ }
+ public function setUrls($urls)
+ {
+ $this->urls = $urls;
+ }
+ public function getUrls()
+ {
+ return $this->urls;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElementUrlBlocksUrls.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElementUrlBlocksUrls.php
new file mode 100644
index 00000000..e6685217
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElementUrlBlocksUrls.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrls extends Google_Collection
+{
+ protected $collection_key = 'details';
+ protected $detailsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2';
+ protected $detailsDataType = 'array';
+ protected $resultType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2';
+ protected $resultDataType = '';
+
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setResult(Google_Service_Pagespeedonline_PagespeedApiFormatStringV2 $result)
+ {
+ $this->result = $result;
+ }
+ public function getResult()
+ {
+ return $this->result;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultPageStats.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultPageStats.php
new file mode 100644
index 00000000..e1c152f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultPageStats.php
@@ -0,0 +1,138 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pagespeedonline_ResultPageStats extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultRuleGroupsElement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultRuleGroupsElement.php
new file mode 100644
index 00000000..6972a1c0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultRuleGroupsElement.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pagespeedonline_ResultRuleGroupsElement extends Google_Model
+{
+ public $score;
+
+ public function setScore($score)
+ {
+ $this->score = $score;
+ }
+ public function getScore()
+ {
+ return $this->score;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultVersion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultVersion.php
new file mode 100644
index 00000000..b7fbee9e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultVersion.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pagespeedonline_ResultVersion extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners.php
new file mode 100644
index 00000000..d6f23312
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners.php
@@ -0,0 +1,877 @@
+<?php
+/*
+ * Copyright 2016 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 Partners (v2).
+ *
+ * <p>
+ * Searches certified companies and creates contact leads with them, and also
+ * audits the usage of clients.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/partners/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Partners extends Google_Service
+{
+
+
+ public $analytics;
+ public $clientMessages;
+ public $companies;
+ public $companies_leads;
+ public $exams;
+ public $leads;
+ public $offers;
+ public $offers_history;
+ public $userEvents;
+ public $userStates;
+ public $users;
+ public $v2;
+
+ /**
+ * Constructs the internal representation of the Partners service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://partners.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v2';
+ $this->serviceName = 'partners';
+
+ $this->analytics = new Google_Service_Partners_Resource_Analytics(
+ $this,
+ $this->serviceName,
+ 'analytics',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v2/analytics',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'requestMetadata.trafficSource.trafficSubId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.partnersSessionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'requestMetadata.trafficSource.trafficSourceId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.ipAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.experimentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->clientMessages = new Google_Service_Partners_Resource_ClientMessages(
+ $this,
+ $this->serviceName,
+ 'clientMessages',
+ array(
+ 'methods' => array(
+ 'log' => array(
+ 'path' => 'v2/clientMessages:log',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->companies = new Google_Service_Partners_Resource_Companies(
+ $this,
+ $this->serviceName,
+ 'companies',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v2/companies/{companyId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'companyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'requestMetadata.trafficSource.trafficSourceId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.ipAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.experimentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'currencyCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.trafficSource.trafficSubId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.partnersSessionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'address' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v2/companies',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'requestMetadata.partnersSessionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'companyName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'industries' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'websiteUrl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'gpsMotivations' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'languageCodes' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'requestMetadata.userOverrides.ipAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.experimentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'specializations' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxMonthlyBudget.currencyCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'minMonthlyBudget.currencyCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'address' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'minMonthlyBudget.units' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxMonthlyBudget.nanos' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'services' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxMonthlyBudget.units' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.trafficSource.trafficSourceId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'minMonthlyBudget.nanos' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'requestMetadata.trafficSource.trafficSubId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->companies_leads = new Google_Service_Partners_Resource_CompaniesLeads(
+ $this,
+ $this->serviceName,
+ 'leads',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v2/companies/{companyId}/leads',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'companyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->exams = new Google_Service_Partners_Resource_Exams(
+ $this,
+ $this->serviceName,
+ 'exams',
+ array(
+ 'methods' => array(
+ 'getToken' => array(
+ 'path' => 'v2/exams/{examType}/token',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'examType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'requestMetadata.userOverrides.ipAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.experimentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'requestMetadata.trafficSource.trafficSubId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.partnersSessionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.trafficSource.trafficSourceId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->leads = new Google_Service_Partners_Resource_Leads(
+ $this,
+ $this->serviceName,
+ 'leads',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v2/leads',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'requestMetadata.trafficSource.trafficSourceId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.ipAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.experimentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'requestMetadata.trafficSource.trafficSubId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.partnersSessionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->offers = new Google_Service_Partners_Resource_Offers(
+ $this,
+ $this->serviceName,
+ 'offers',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v2/offers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'requestMetadata.userOverrides.ipAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.experimentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'requestMetadata.trafficSource.trafficSubId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.partnersSessionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.trafficSource.trafficSourceId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->offers_history = new Google_Service_Partners_Resource_OffersHistory(
+ $this,
+ $this->serviceName,
+ 'history',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v2/offers/history',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'requestMetadata.trafficSource.trafficSourceId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.ipAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.experimentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'entireCompany' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.trafficSource.trafficSubId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.partnersSessionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->userEvents = new Google_Service_Partners_Resource_UserEvents(
+ $this,
+ $this->serviceName,
+ 'userEvents',
+ array(
+ 'methods' => array(
+ 'log' => array(
+ 'path' => 'v2/userEvents:log',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->userStates = new Google_Service_Partners_Resource_UserStates(
+ $this,
+ $this->serviceName,
+ 'userStates',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v2/userStates',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'requestMetadata.userOverrides.userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.partnersSessionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.trafficSource.trafficSourceId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.ipAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.experimentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'requestMetadata.trafficSource.trafficSubId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users = new Google_Service_Partners_Resource_Users(
+ $this,
+ $this->serviceName,
+ 'users',
+ array(
+ 'methods' => array(
+ 'createCompanyRelation' => array(
+ 'path' => 'v2/users/{userId}/companyRelation',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'requestMetadata.userOverrides.userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.partnersSessionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.trafficSource.trafficSourceId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.ipAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.experimentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'requestMetadata.trafficSource.trafficSubId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'deleteCompanyRelation' => array(
+ 'path' => 'v2/users/{userId}/companyRelation',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'requestMetadata.trafficSource.trafficSubId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.partnersSessionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.trafficSource.trafficSourceId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.ipAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.experimentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v2/users/{userId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userView' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.trafficSource.trafficSourceId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.ipAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.experimentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'requestMetadata.trafficSource.trafficSubId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.partnersSessionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'updateProfile' => array(
+ 'path' => 'v2/users/profile',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'requestMetadata.userOverrides.ipAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.experimentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'requestMetadata.trafficSource.trafficSubId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.partnersSessionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.trafficSource.trafficSourceId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->v2 = new Google_Service_Partners_Resource_V2(
+ $this,
+ $this->serviceName,
+ 'v2',
+ array(
+ 'methods' => array(
+ 'getPartnersstatus' => array(
+ 'path' => 'v2/partnersstatus',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'requestMetadata.trafficSource.trafficSubId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.partnersSessionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.trafficSource.trafficSourceId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.ipAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.experimentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'updateCompanies' => array(
+ 'path' => 'v2/companies',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'requestMetadata.userOverrides.ipAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.experimentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'requestMetadata.trafficSource.trafficSubId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.partnersSessionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.trafficSource.trafficSourceId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'updateLeads' => array(
+ 'path' => 'v2/leads',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'requestMetadata.trafficSource.trafficSourceId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.ipAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updateMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.experimentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'requestMetadata.trafficSource.trafficSubId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.partnersSessionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMetadata.userOverrides.userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AdWordsManagerAccountInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AdWordsManagerAccountInfo.php
new file mode 100644
index 00000000..2141b58f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AdWordsManagerAccountInfo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_AdWordsManagerAccountInfo extends Google_Model
+{
+ public $customerName;
+ public $id;
+
+ public function setCustomerName($customerName)
+ {
+ $this->customerName = $customerName;
+ }
+ public function getCustomerName()
+ {
+ return $this->customerName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Analytics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Analytics.php
new file mode 100644
index 00000000..e2ba118f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Analytics.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_Analytics extends Google_Model
+{
+ protected $contactsType = 'Google_Service_Partners_AnalyticsDataPoint';
+ protected $contactsDataType = '';
+ protected $eventDateType = 'Google_Service_Partners_Date';
+ protected $eventDateDataType = '';
+ protected $profileViewsType = 'Google_Service_Partners_AnalyticsDataPoint';
+ protected $profileViewsDataType = '';
+ protected $searchViewsType = 'Google_Service_Partners_AnalyticsDataPoint';
+ protected $searchViewsDataType = '';
+
+ public function setContacts(Google_Service_Partners_AnalyticsDataPoint $contacts)
+ {
+ $this->contacts = $contacts;
+ }
+ public function getContacts()
+ {
+ return $this->contacts;
+ }
+ public function setEventDate(Google_Service_Partners_Date $eventDate)
+ {
+ $this->eventDate = $eventDate;
+ }
+ public function getEventDate()
+ {
+ return $this->eventDate;
+ }
+ public function setProfileViews(Google_Service_Partners_AnalyticsDataPoint $profileViews)
+ {
+ $this->profileViews = $profileViews;
+ }
+ public function getProfileViews()
+ {
+ return $this->profileViews;
+ }
+ public function setSearchViews(Google_Service_Partners_AnalyticsDataPoint $searchViews)
+ {
+ $this->searchViews = $searchViews;
+ }
+ public function getSearchViews()
+ {
+ return $this->searchViews;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AnalyticsDataPoint.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AnalyticsDataPoint.php
new file mode 100644
index 00000000..f3bca347
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AnalyticsDataPoint.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_AnalyticsDataPoint extends Google_Collection
+{
+ protected $collection_key = 'eventLocations';
+ public $eventCount;
+ protected $eventLocationsType = 'Google_Service_Partners_LatLng';
+ protected $eventLocationsDataType = 'array';
+
+ public function setEventCount($eventCount)
+ {
+ $this->eventCount = $eventCount;
+ }
+ public function getEventCount()
+ {
+ return $this->eventCount;
+ }
+ public function setEventLocations($eventLocations)
+ {
+ $this->eventLocations = $eventLocations;
+ }
+ public function getEventLocations()
+ {
+ return $this->eventLocations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AnalyticsSummary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AnalyticsSummary.php
new file mode 100644
index 00000000..798a62b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AnalyticsSummary.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_AnalyticsSummary extends Google_Model
+{
+ public $contactsCount;
+ public $profileViewsCount;
+ public $searchViewsCount;
+
+ public function setContactsCount($contactsCount)
+ {
+ $this->contactsCount = $contactsCount;
+ }
+ public function getContactsCount()
+ {
+ return $this->contactsCount;
+ }
+ public function setProfileViewsCount($profileViewsCount)
+ {
+ $this->profileViewsCount = $profileViewsCount;
+ }
+ public function getProfileViewsCount()
+ {
+ return $this->profileViewsCount;
+ }
+ public function setSearchViewsCount($searchViewsCount)
+ {
+ $this->searchViewsCount = $searchViewsCount;
+ }
+ public function getSearchViewsCount()
+ {
+ return $this->searchViewsCount;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AvailableOffer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AvailableOffer.php
new file mode 100644
index 00000000..257a83f5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AvailableOffer.php
@@ -0,0 +1,132 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_AvailableOffer extends Google_Collection
+{
+ protected $collection_key = 'qualifiedCustomer';
+ public $available;
+ protected $countryOfferInfosType = 'Google_Service_Partners_CountryOfferInfo';
+ protected $countryOfferInfosDataType = 'array';
+ public $description;
+ public $id;
+ public $maxAccountAge;
+ public $name;
+ public $offerLevel;
+ public $offerType;
+ protected $qualifiedCustomerType = 'Google_Service_Partners_OfferCustomer';
+ protected $qualifiedCustomerDataType = 'array';
+ public $qualifiedCustomersComplete;
+ public $showSpecialOfferCopy;
+ public $terms;
+
+ public function setAvailable($available)
+ {
+ $this->available = $available;
+ }
+ public function getAvailable()
+ {
+ return $this->available;
+ }
+ public function setCountryOfferInfos($countryOfferInfos)
+ {
+ $this->countryOfferInfos = $countryOfferInfos;
+ }
+ public function getCountryOfferInfos()
+ {
+ return $this->countryOfferInfos;
+ }
+ 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 setMaxAccountAge($maxAccountAge)
+ {
+ $this->maxAccountAge = $maxAccountAge;
+ }
+ public function getMaxAccountAge()
+ {
+ return $this->maxAccountAge;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOfferLevel($offerLevel)
+ {
+ $this->offerLevel = $offerLevel;
+ }
+ public function getOfferLevel()
+ {
+ return $this->offerLevel;
+ }
+ public function setOfferType($offerType)
+ {
+ $this->offerType = $offerType;
+ }
+ public function getOfferType()
+ {
+ return $this->offerType;
+ }
+ public function setQualifiedCustomer($qualifiedCustomer)
+ {
+ $this->qualifiedCustomer = $qualifiedCustomer;
+ }
+ public function getQualifiedCustomer()
+ {
+ return $this->qualifiedCustomer;
+ }
+ public function setQualifiedCustomersComplete($qualifiedCustomersComplete)
+ {
+ $this->qualifiedCustomersComplete = $qualifiedCustomersComplete;
+ }
+ public function getQualifiedCustomersComplete()
+ {
+ return $this->qualifiedCustomersComplete;
+ }
+ public function setShowSpecialOfferCopy($showSpecialOfferCopy)
+ {
+ $this->showSpecialOfferCopy = $showSpecialOfferCopy;
+ }
+ public function getShowSpecialOfferCopy()
+ {
+ return $this->showSpecialOfferCopy;
+ }
+ public function setTerms($terms)
+ {
+ $this->terms = $terms;
+ }
+ public function getTerms()
+ {
+ return $this->terms;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Certification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Certification.php
new file mode 100644
index 00000000..0fb5a5f5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Certification.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_Certification extends Google_Model
+{
+ public $achieved;
+ public $certificationType;
+ public $expiration;
+ public $lastAchieved;
+ public $warning;
+
+ public function setAchieved($achieved)
+ {
+ $this->achieved = $achieved;
+ }
+ public function getAchieved()
+ {
+ return $this->achieved;
+ }
+ public function setCertificationType($certificationType)
+ {
+ $this->certificationType = $certificationType;
+ }
+ public function getCertificationType()
+ {
+ return $this->certificationType;
+ }
+ public function setExpiration($expiration)
+ {
+ $this->expiration = $expiration;
+ }
+ public function getExpiration()
+ {
+ return $this->expiration;
+ }
+ public function setLastAchieved($lastAchieved)
+ {
+ $this->lastAchieved = $lastAchieved;
+ }
+ public function getLastAchieved()
+ {
+ return $this->lastAchieved;
+ }
+ public function setWarning($warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CertificationExamStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CertificationExamStatus.php
new file mode 100644
index 00000000..fe7eb599
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CertificationExamStatus.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_CertificationExamStatus extends Google_Model
+{
+ public $numberUsersPass;
+ public $type;
+
+ public function setNumberUsersPass($numberUsersPass)
+ {
+ $this->numberUsersPass = $numberUsersPass;
+ }
+ public function getNumberUsersPass()
+ {
+ return $this->numberUsersPass;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CertificationStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CertificationStatus.php
new file mode 100644
index 00000000..7cc575b1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CertificationStatus.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_CertificationStatus extends Google_Collection
+{
+ protected $collection_key = 'examStatuses';
+ protected $examStatusesType = 'Google_Service_Partners_CertificationExamStatus';
+ protected $examStatusesDataType = 'array';
+ public $isCertified;
+ public $type;
+ public $userCount;
+
+ public function setExamStatuses($examStatuses)
+ {
+ $this->examStatuses = $examStatuses;
+ }
+ public function getExamStatuses()
+ {
+ return $this->examStatuses;
+ }
+ public function setIsCertified($isCertified)
+ {
+ $this->isCertified = $isCertified;
+ }
+ public function getIsCertified()
+ {
+ return $this->isCertified;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUserCount($userCount)
+ {
+ $this->userCount = $userCount;
+ }
+ public function getUserCount()
+ {
+ return $this->userCount;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Company.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Company.php
new file mode 100644
index 00000000..8b276dc2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Company.php
@@ -0,0 +1,220 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_Company extends Google_Collection
+{
+ protected $collection_key = 'specializationStatus';
+ public $additionalWebsites;
+ public $autoApprovalEmailDomains;
+ public $badgeTier;
+ protected $certificationStatusesType = 'Google_Service_Partners_CertificationStatus';
+ protected $certificationStatusesDataType = 'array';
+ public $companyTypes;
+ protected $convertedMinMonthlyBudgetType = 'Google_Service_Partners_Money';
+ protected $convertedMinMonthlyBudgetDataType = '';
+ public $id;
+ public $industries;
+ protected $localizedInfosType = 'Google_Service_Partners_LocalizedCompanyInfo';
+ protected $localizedInfosDataType = 'array';
+ protected $locationsType = 'Google_Service_Partners_Location';
+ protected $locationsDataType = 'array';
+ public $name;
+ protected $originalMinMonthlyBudgetType = 'Google_Service_Partners_Money';
+ protected $originalMinMonthlyBudgetDataType = '';
+ public $primaryAdwordsManagerAccountId;
+ public $primaryLanguageCode;
+ protected $primaryLocationType = 'Google_Service_Partners_Location';
+ protected $primaryLocationDataType = '';
+ public $profileStatus;
+ protected $publicProfileType = 'Google_Service_Partners_PublicProfile';
+ protected $publicProfileDataType = '';
+ protected $ranksType = 'Google_Service_Partners_Rank';
+ protected $ranksDataType = 'array';
+ public $services;
+ protected $specializationStatusType = 'Google_Service_Partners_SpecializationStatus';
+ protected $specializationStatusDataType = 'array';
+ public $websiteUrl;
+
+ public function setAdditionalWebsites($additionalWebsites)
+ {
+ $this->additionalWebsites = $additionalWebsites;
+ }
+ public function getAdditionalWebsites()
+ {
+ return $this->additionalWebsites;
+ }
+ public function setAutoApprovalEmailDomains($autoApprovalEmailDomains)
+ {
+ $this->autoApprovalEmailDomains = $autoApprovalEmailDomains;
+ }
+ public function getAutoApprovalEmailDomains()
+ {
+ return $this->autoApprovalEmailDomains;
+ }
+ public function setBadgeTier($badgeTier)
+ {
+ $this->badgeTier = $badgeTier;
+ }
+ public function getBadgeTier()
+ {
+ return $this->badgeTier;
+ }
+ public function setCertificationStatuses($certificationStatuses)
+ {
+ $this->certificationStatuses = $certificationStatuses;
+ }
+ public function getCertificationStatuses()
+ {
+ return $this->certificationStatuses;
+ }
+ public function setCompanyTypes($companyTypes)
+ {
+ $this->companyTypes = $companyTypes;
+ }
+ public function getCompanyTypes()
+ {
+ return $this->companyTypes;
+ }
+ public function setConvertedMinMonthlyBudget(Google_Service_Partners_Money $convertedMinMonthlyBudget)
+ {
+ $this->convertedMinMonthlyBudget = $convertedMinMonthlyBudget;
+ }
+ public function getConvertedMinMonthlyBudget()
+ {
+ return $this->convertedMinMonthlyBudget;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIndustries($industries)
+ {
+ $this->industries = $industries;
+ }
+ public function getIndustries()
+ {
+ return $this->industries;
+ }
+ public function setLocalizedInfos($localizedInfos)
+ {
+ $this->localizedInfos = $localizedInfos;
+ }
+ public function getLocalizedInfos()
+ {
+ return $this->localizedInfos;
+ }
+ public function setLocations($locations)
+ {
+ $this->locations = $locations;
+ }
+ public function getLocations()
+ {
+ return $this->locations;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOriginalMinMonthlyBudget(Google_Service_Partners_Money $originalMinMonthlyBudget)
+ {
+ $this->originalMinMonthlyBudget = $originalMinMonthlyBudget;
+ }
+ public function getOriginalMinMonthlyBudget()
+ {
+ return $this->originalMinMonthlyBudget;
+ }
+ public function setPrimaryAdwordsManagerAccountId($primaryAdwordsManagerAccountId)
+ {
+ $this->primaryAdwordsManagerAccountId = $primaryAdwordsManagerAccountId;
+ }
+ public function getPrimaryAdwordsManagerAccountId()
+ {
+ return $this->primaryAdwordsManagerAccountId;
+ }
+ public function setPrimaryLanguageCode($primaryLanguageCode)
+ {
+ $this->primaryLanguageCode = $primaryLanguageCode;
+ }
+ public function getPrimaryLanguageCode()
+ {
+ return $this->primaryLanguageCode;
+ }
+ public function setPrimaryLocation(Google_Service_Partners_Location $primaryLocation)
+ {
+ $this->primaryLocation = $primaryLocation;
+ }
+ public function getPrimaryLocation()
+ {
+ return $this->primaryLocation;
+ }
+ public function setProfileStatus($profileStatus)
+ {
+ $this->profileStatus = $profileStatus;
+ }
+ public function getProfileStatus()
+ {
+ return $this->profileStatus;
+ }
+ public function setPublicProfile(Google_Service_Partners_PublicProfile $publicProfile)
+ {
+ $this->publicProfile = $publicProfile;
+ }
+ public function getPublicProfile()
+ {
+ return $this->publicProfile;
+ }
+ public function setRanks($ranks)
+ {
+ $this->ranks = $ranks;
+ }
+ public function getRanks()
+ {
+ return $this->ranks;
+ }
+ public function setServices($services)
+ {
+ $this->services = $services;
+ }
+ public function getServices()
+ {
+ return $this->services;
+ }
+ public function setSpecializationStatus($specializationStatus)
+ {
+ $this->specializationStatus = $specializationStatus;
+ }
+ public function getSpecializationStatus()
+ {
+ return $this->specializationStatus;
+ }
+ public function setWebsiteUrl($websiteUrl)
+ {
+ $this->websiteUrl = $websiteUrl;
+ }
+ public function getWebsiteUrl()
+ {
+ return $this->websiteUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CompanyRelation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CompanyRelation.php
new file mode 100644
index 00000000..abc07b63
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CompanyRelation.php
@@ -0,0 +1,158 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_CompanyRelation extends Google_Collection
+{
+ protected $collection_key = 'specializationStatus';
+ public $address;
+ public $badgeTier;
+ public $companyAdmin;
+ public $companyId;
+ public $creationTime;
+ public $isPending;
+ public $logoUrl;
+ public $managerAccount;
+ public $name;
+ public $phoneNumber;
+ public $resolvedTimestamp;
+ public $segment;
+ protected $specializationStatusType = 'Google_Service_Partners_SpecializationStatus';
+ protected $specializationStatusDataType = 'array';
+ public $state;
+ public $website;
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setBadgeTier($badgeTier)
+ {
+ $this->badgeTier = $badgeTier;
+ }
+ public function getBadgeTier()
+ {
+ return $this->badgeTier;
+ }
+ public function setCompanyAdmin($companyAdmin)
+ {
+ $this->companyAdmin = $companyAdmin;
+ }
+ public function getCompanyAdmin()
+ {
+ return $this->companyAdmin;
+ }
+ public function setCompanyId($companyId)
+ {
+ $this->companyId = $companyId;
+ }
+ public function getCompanyId()
+ {
+ return $this->companyId;
+ }
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setIsPending($isPending)
+ {
+ $this->isPending = $isPending;
+ }
+ public function getIsPending()
+ {
+ return $this->isPending;
+ }
+ public function setLogoUrl($logoUrl)
+ {
+ $this->logoUrl = $logoUrl;
+ }
+ public function getLogoUrl()
+ {
+ return $this->logoUrl;
+ }
+ public function setManagerAccount($managerAccount)
+ {
+ $this->managerAccount = $managerAccount;
+ }
+ public function getManagerAccount()
+ {
+ return $this->managerAccount;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPhoneNumber($phoneNumber)
+ {
+ $this->phoneNumber = $phoneNumber;
+ }
+ public function getPhoneNumber()
+ {
+ return $this->phoneNumber;
+ }
+ public function setResolvedTimestamp($resolvedTimestamp)
+ {
+ $this->resolvedTimestamp = $resolvedTimestamp;
+ }
+ public function getResolvedTimestamp()
+ {
+ return $this->resolvedTimestamp;
+ }
+ public function setSegment($segment)
+ {
+ $this->segment = $segment;
+ }
+ public function getSegment()
+ {
+ return $this->segment;
+ }
+ public function setSpecializationStatus($specializationStatus)
+ {
+ $this->specializationStatus = $specializationStatus;
+ }
+ public function getSpecializationStatus()
+ {
+ return $this->specializationStatus;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setWebsite($website)
+ {
+ $this->website = $website;
+ }
+ public function getWebsite()
+ {
+ return $this->website;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CountryOfferInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CountryOfferInfo.php
new file mode 100644
index 00000000..5707192e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CountryOfferInfo.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_CountryOfferInfo extends Google_Model
+{
+ public $getYAmount;
+ public $offerCountryCode;
+ public $offerType;
+ public $spendXAmount;
+
+ public function setGetYAmount($getYAmount)
+ {
+ $this->getYAmount = $getYAmount;
+ }
+ public function getGetYAmount()
+ {
+ return $this->getYAmount;
+ }
+ public function setOfferCountryCode($offerCountryCode)
+ {
+ $this->offerCountryCode = $offerCountryCode;
+ }
+ public function getOfferCountryCode()
+ {
+ return $this->offerCountryCode;
+ }
+ public function setOfferType($offerType)
+ {
+ $this->offerType = $offerType;
+ }
+ public function getOfferType()
+ {
+ return $this->offerType;
+ }
+ public function setSpendXAmount($spendXAmount)
+ {
+ $this->spendXAmount = $spendXAmount;
+ }
+ public function getSpendXAmount()
+ {
+ return $this->spendXAmount;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CreateLeadRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CreateLeadRequest.php
new file mode 100644
index 00000000..8d500808
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CreateLeadRequest.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_CreateLeadRequest extends Google_Model
+{
+ protected $leadType = 'Google_Service_Partners_Lead';
+ protected $leadDataType = '';
+ protected $recaptchaChallengeType = 'Google_Service_Partners_RecaptchaChallenge';
+ protected $recaptchaChallengeDataType = '';
+ protected $requestMetadataType = 'Google_Service_Partners_RequestMetadata';
+ protected $requestMetadataDataType = '';
+
+ public function setLead(Google_Service_Partners_Lead $lead)
+ {
+ $this->lead = $lead;
+ }
+ public function getLead()
+ {
+ return $this->lead;
+ }
+ public function setRecaptchaChallenge(Google_Service_Partners_RecaptchaChallenge $recaptchaChallenge)
+ {
+ $this->recaptchaChallenge = $recaptchaChallenge;
+ }
+ public function getRecaptchaChallenge()
+ {
+ return $this->recaptchaChallenge;
+ }
+ public function setRequestMetadata(Google_Service_Partners_RequestMetadata $requestMetadata)
+ {
+ $this->requestMetadata = $requestMetadata;
+ }
+ public function getRequestMetadata()
+ {
+ return $this->requestMetadata;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CreateLeadResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CreateLeadResponse.php
new file mode 100644
index 00000000..6a435771
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CreateLeadResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_CreateLeadResponse extends Google_Model
+{
+ protected $leadType = 'Google_Service_Partners_Lead';
+ protected $leadDataType = '';
+ public $recaptchaStatus;
+ protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
+ protected $responseMetadataDataType = '';
+
+ public function setLead(Google_Service_Partners_Lead $lead)
+ {
+ $this->lead = $lead;
+ }
+ public function getLead()
+ {
+ return $this->lead;
+ }
+ public function setRecaptchaStatus($recaptchaStatus)
+ {
+ $this->recaptchaStatus = $recaptchaStatus;
+ }
+ public function getRecaptchaStatus()
+ {
+ return $this->recaptchaStatus;
+ }
+ public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
+ {
+ $this->responseMetadata = $responseMetadata;
+ }
+ public function getResponseMetadata()
+ {
+ return $this->responseMetadata;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Date.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Date.php
new file mode 100644
index 00000000..3ad8c9db
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Date.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_Date extends Google_Model
+{
+ public $day;
+ public $month;
+ public $year;
+
+ 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;
+ }
+ public function setYear($year)
+ {
+ $this->year = $year;
+ }
+ public function getYear()
+ {
+ return $this->year;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/DebugInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/DebugInfo.php
new file mode 100644
index 00000000..279e34a2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/DebugInfo.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_DebugInfo extends Google_Model
+{
+ public $serverInfo;
+ public $serverTraceInfo;
+ public $serviceUrl;
+
+ public function setServerInfo($serverInfo)
+ {
+ $this->serverInfo = $serverInfo;
+ }
+ public function getServerInfo()
+ {
+ return $this->serverInfo;
+ }
+ public function setServerTraceInfo($serverTraceInfo)
+ {
+ $this->serverTraceInfo = $serverTraceInfo;
+ }
+ public function getServerTraceInfo()
+ {
+ return $this->serverTraceInfo;
+ }
+ public function setServiceUrl($serviceUrl)
+ {
+ $this->serviceUrl = $serviceUrl;
+ }
+ public function getServiceUrl()
+ {
+ return $this->serviceUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/EventData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/EventData.php
new file mode 100644
index 00000000..6acac885
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/EventData.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_EventData extends Google_Collection
+{
+ protected $collection_key = 'values';
+ public $key;
+ public $values;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ExamStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ExamStatus.php
new file mode 100644
index 00000000..ddc524e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ExamStatus.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_ExamStatus extends Google_Model
+{
+ public $examType;
+ public $expiration;
+ public $lastPassed;
+ public $passed;
+ public $taken;
+ public $warning;
+
+ public function setExamType($examType)
+ {
+ $this->examType = $examType;
+ }
+ public function getExamType()
+ {
+ return $this->examType;
+ }
+ public function setExpiration($expiration)
+ {
+ $this->expiration = $expiration;
+ }
+ public function getExpiration()
+ {
+ return $this->expiration;
+ }
+ public function setLastPassed($lastPassed)
+ {
+ $this->lastPassed = $lastPassed;
+ }
+ public function getLastPassed()
+ {
+ return $this->lastPassed;
+ }
+ public function setPassed($passed)
+ {
+ $this->passed = $passed;
+ }
+ public function getPassed()
+ {
+ return $this->passed;
+ }
+ public function setTaken($taken)
+ {
+ $this->taken = $taken;
+ }
+ public function getTaken()
+ {
+ return $this->taken;
+ }
+ public function setWarning($warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ExamToken.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ExamToken.php
new file mode 100644
index 00000000..6f9e2b65
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ExamToken.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_ExamToken extends Google_Model
+{
+ public $examId;
+ public $examType;
+ public $token;
+
+ public function setExamId($examId)
+ {
+ $this->examId = $examId;
+ }
+ public function getExamId()
+ {
+ return $this->examId;
+ }
+ public function setExamType($examType)
+ {
+ $this->examType = $examType;
+ }
+ public function getExamType()
+ {
+ return $this->examType;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/GetCompanyResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/GetCompanyResponse.php
new file mode 100644
index 00000000..d16fae2d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/GetCompanyResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_GetCompanyResponse extends Google_Model
+{
+ protected $companyType = 'Google_Service_Partners_Company';
+ protected $companyDataType = '';
+ protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
+ protected $responseMetadataDataType = '';
+
+ public function setCompany(Google_Service_Partners_Company $company)
+ {
+ $this->company = $company;
+ }
+ public function getCompany()
+ {
+ return $this->company;
+ }
+ public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
+ {
+ $this->responseMetadata = $responseMetadata;
+ }
+ public function getResponseMetadata()
+ {
+ return $this->responseMetadata;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/GetPartnersStatusResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/GetPartnersStatusResponse.php
new file mode 100644
index 00000000..c505c2e7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/GetPartnersStatusResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_GetPartnersStatusResponse extends Google_Model
+{
+ protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
+ protected $responseMetadataDataType = '';
+
+ public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
+ {
+ $this->responseMetadata = $responseMetadata;
+ }
+ public function getResponseMetadata()
+ {
+ return $this->responseMetadata;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/HistoricalOffer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/HistoricalOffer.php
new file mode 100644
index 00000000..652ba5bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/HistoricalOffer.php
@@ -0,0 +1,129 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_HistoricalOffer extends Google_Model
+{
+ public $adwordsUrl;
+ public $clientEmail;
+ public $clientId;
+ public $clientName;
+ public $creationTime;
+ public $expirationTime;
+ public $lastModifiedTime;
+ public $offerCode;
+ public $offerCountryCode;
+ public $offerType;
+ public $senderName;
+ public $status;
+
+ public function setAdwordsUrl($adwordsUrl)
+ {
+ $this->adwordsUrl = $adwordsUrl;
+ }
+ public function getAdwordsUrl()
+ {
+ return $this->adwordsUrl;
+ }
+ public function setClientEmail($clientEmail)
+ {
+ $this->clientEmail = $clientEmail;
+ }
+ public function getClientEmail()
+ {
+ return $this->clientEmail;
+ }
+ public function setClientId($clientId)
+ {
+ $this->clientId = $clientId;
+ }
+ public function getClientId()
+ {
+ return $this->clientId;
+ }
+ public function setClientName($clientName)
+ {
+ $this->clientName = $clientName;
+ }
+ public function getClientName()
+ {
+ return $this->clientName;
+ }
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setExpirationTime($expirationTime)
+ {
+ $this->expirationTime = $expirationTime;
+ }
+ public function getExpirationTime()
+ {
+ return $this->expirationTime;
+ }
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+ public function setOfferCode($offerCode)
+ {
+ $this->offerCode = $offerCode;
+ }
+ public function getOfferCode()
+ {
+ return $this->offerCode;
+ }
+ public function setOfferCountryCode($offerCountryCode)
+ {
+ $this->offerCountryCode = $offerCountryCode;
+ }
+ public function getOfferCountryCode()
+ {
+ return $this->offerCountryCode;
+ }
+ public function setOfferType($offerType)
+ {
+ $this->offerType = $offerType;
+ }
+ public function getOfferType()
+ {
+ return $this->offerType;
+ }
+ public function setSenderName($senderName)
+ {
+ $this->senderName = $senderName;
+ }
+ public function getSenderName()
+ {
+ return $this->senderName;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LatLng.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LatLng.php
new file mode 100644
index 00000000..70435aa1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LatLng.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_LatLng extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Lead.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Lead.php
new file mode 100644
index 00000000..ad72ed40
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Lead.php
@@ -0,0 +1,158 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_Lead extends Google_Collection
+{
+ protected $collection_key = 'gpsMotivations';
+ public $adwordsCustomerId;
+ public $comments;
+ public $createTime;
+ public $email;
+ public $familyName;
+ public $givenName;
+ public $gpsMotivations;
+ public $id;
+ public $languageCode;
+ public $marketingOptIn;
+ protected $minMonthlyBudgetType = 'Google_Service_Partners_Money';
+ protected $minMonthlyBudgetDataType = '';
+ public $phoneNumber;
+ public $state;
+ public $type;
+ public $websiteUrl;
+
+ public function setAdwordsCustomerId($adwordsCustomerId)
+ {
+ $this->adwordsCustomerId = $adwordsCustomerId;
+ }
+ public function getAdwordsCustomerId()
+ {
+ return $this->adwordsCustomerId;
+ }
+ public function setComments($comments)
+ {
+ $this->comments = $comments;
+ }
+ public function getComments()
+ {
+ return $this->comments;
+ }
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ 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 setGivenName($givenName)
+ {
+ $this->givenName = $givenName;
+ }
+ public function getGivenName()
+ {
+ return $this->givenName;
+ }
+ public function setGpsMotivations($gpsMotivations)
+ {
+ $this->gpsMotivations = $gpsMotivations;
+ }
+ public function getGpsMotivations()
+ {
+ return $this->gpsMotivations;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLanguageCode($languageCode)
+ {
+ $this->languageCode = $languageCode;
+ }
+ public function getLanguageCode()
+ {
+ return $this->languageCode;
+ }
+ public function setMarketingOptIn($marketingOptIn)
+ {
+ $this->marketingOptIn = $marketingOptIn;
+ }
+ public function getMarketingOptIn()
+ {
+ return $this->marketingOptIn;
+ }
+ public function setMinMonthlyBudget(Google_Service_Partners_Money $minMonthlyBudget)
+ {
+ $this->minMonthlyBudget = $minMonthlyBudget;
+ }
+ public function getMinMonthlyBudget()
+ {
+ return $this->minMonthlyBudget;
+ }
+ public function setPhoneNumber($phoneNumber)
+ {
+ $this->phoneNumber = $phoneNumber;
+ }
+ public function getPhoneNumber()
+ {
+ return $this->phoneNumber;
+ }
+ 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;
+ }
+ public function setWebsiteUrl($websiteUrl)
+ {
+ $this->websiteUrl = $websiteUrl;
+ }
+ public function getWebsiteUrl()
+ {
+ return $this->websiteUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListAnalyticsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListAnalyticsResponse.php
new file mode 100644
index 00000000..4299a5de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListAnalyticsResponse.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_ListAnalyticsResponse extends Google_Collection
+{
+ protected $collection_key = 'analytics';
+ protected $analyticsType = 'Google_Service_Partners_Analytics';
+ protected $analyticsDataType = 'array';
+ protected $analyticsSummaryType = 'Google_Service_Partners_AnalyticsSummary';
+ protected $analyticsSummaryDataType = '';
+ public $nextPageToken;
+ protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
+ protected $responseMetadataDataType = '';
+
+ public function setAnalytics($analytics)
+ {
+ $this->analytics = $analytics;
+ }
+ public function getAnalytics()
+ {
+ return $this->analytics;
+ }
+ public function setAnalyticsSummary(Google_Service_Partners_AnalyticsSummary $analyticsSummary)
+ {
+ $this->analyticsSummary = $analyticsSummary;
+ }
+ public function getAnalyticsSummary()
+ {
+ return $this->analyticsSummary;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
+ {
+ $this->responseMetadata = $responseMetadata;
+ }
+ public function getResponseMetadata()
+ {
+ return $this->responseMetadata;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListCompaniesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListCompaniesResponse.php
new file mode 100644
index 00000000..bed980c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListCompaniesResponse.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_ListCompaniesResponse extends Google_Collection
+{
+ protected $collection_key = 'companies';
+ protected $companiesType = 'Google_Service_Partners_Company';
+ protected $companiesDataType = 'array';
+ public $nextPageToken;
+ protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
+ protected $responseMetadataDataType = '';
+
+ public function setCompanies($companies)
+ {
+ $this->companies = $companies;
+ }
+ public function getCompanies()
+ {
+ return $this->companies;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
+ {
+ $this->responseMetadata = $responseMetadata;
+ }
+ public function getResponseMetadata()
+ {
+ return $this->responseMetadata;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListLeadsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListLeadsResponse.php
new file mode 100644
index 00000000..c48ea416
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListLeadsResponse.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_ListLeadsResponse extends Google_Collection
+{
+ protected $collection_key = 'leads';
+ protected $leadsType = 'Google_Service_Partners_Lead';
+ protected $leadsDataType = 'array';
+ public $nextPageToken;
+ protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
+ protected $responseMetadataDataType = '';
+ public $totalSize;
+
+ public function setLeads($leads)
+ {
+ $this->leads = $leads;
+ }
+ public function getLeads()
+ {
+ return $this->leads;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
+ {
+ $this->responseMetadata = $responseMetadata;
+ }
+ public function getResponseMetadata()
+ {
+ return $this->responseMetadata;
+ }
+ public function setTotalSize($totalSize)
+ {
+ $this->totalSize = $totalSize;
+ }
+ public function getTotalSize()
+ {
+ return $this->totalSize;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListOffersHistoryResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListOffersHistoryResponse.php
new file mode 100644
index 00000000..382321ce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListOffersHistoryResponse.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_ListOffersHistoryResponse extends Google_Collection
+{
+ protected $collection_key = 'offers';
+ public $canShowEntireCompany;
+ public $nextPageToken;
+ protected $offersType = 'Google_Service_Partners_HistoricalOffer';
+ protected $offersDataType = 'array';
+ protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
+ protected $responseMetadataDataType = '';
+ public $showingEntireCompany;
+ public $totalResults;
+
+ public function setCanShowEntireCompany($canShowEntireCompany)
+ {
+ $this->canShowEntireCompany = $canShowEntireCompany;
+ }
+ public function getCanShowEntireCompany()
+ {
+ return $this->canShowEntireCompany;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOffers($offers)
+ {
+ $this->offers = $offers;
+ }
+ public function getOffers()
+ {
+ return $this->offers;
+ }
+ public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
+ {
+ $this->responseMetadata = $responseMetadata;
+ }
+ public function getResponseMetadata()
+ {
+ return $this->responseMetadata;
+ }
+ public function setShowingEntireCompany($showingEntireCompany)
+ {
+ $this->showingEntireCompany = $showingEntireCompany;
+ }
+ public function getShowingEntireCompany()
+ {
+ return $this->showingEntireCompany;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListOffersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListOffersResponse.php
new file mode 100644
index 00000000..b538076b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListOffersResponse.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_ListOffersResponse extends Google_Collection
+{
+ protected $collection_key = 'availableOffers';
+ protected $availableOffersType = 'Google_Service_Partners_AvailableOffer';
+ protected $availableOffersDataType = 'array';
+ public $noOfferReason;
+ protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
+ protected $responseMetadataDataType = '';
+
+ public function setAvailableOffers($availableOffers)
+ {
+ $this->availableOffers = $availableOffers;
+ }
+ public function getAvailableOffers()
+ {
+ return $this->availableOffers;
+ }
+ public function setNoOfferReason($noOfferReason)
+ {
+ $this->noOfferReason = $noOfferReason;
+ }
+ public function getNoOfferReason()
+ {
+ return $this->noOfferReason;
+ }
+ public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
+ {
+ $this->responseMetadata = $responseMetadata;
+ }
+ public function getResponseMetadata()
+ {
+ return $this->responseMetadata;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListUserStatesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListUserStatesResponse.php
new file mode 100644
index 00000000..18dda569
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListUserStatesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_ListUserStatesResponse extends Google_Collection
+{
+ protected $collection_key = 'userStates';
+ protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
+ protected $responseMetadataDataType = '';
+ public $userStates;
+
+ public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
+ {
+ $this->responseMetadata = $responseMetadata;
+ }
+ public function getResponseMetadata()
+ {
+ return $this->responseMetadata;
+ }
+ public function setUserStates($userStates)
+ {
+ $this->userStates = $userStates;
+ }
+ public function getUserStates()
+ {
+ return $this->userStates;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LocalizedCompanyInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LocalizedCompanyInfo.php
new file mode 100644
index 00000000..aad12cc3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LocalizedCompanyInfo.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_LocalizedCompanyInfo extends Google_Collection
+{
+ protected $collection_key = 'countryCodes';
+ public $countryCodes;
+ public $displayName;
+ public $languageCode;
+ public $overview;
+
+ public function setCountryCodes($countryCodes)
+ {
+ $this->countryCodes = $countryCodes;
+ }
+ public function getCountryCodes()
+ {
+ return $this->countryCodes;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setLanguageCode($languageCode)
+ {
+ $this->languageCode = $languageCode;
+ }
+ public function getLanguageCode()
+ {
+ return $this->languageCode;
+ }
+ public function setOverview($overview)
+ {
+ $this->overview = $overview;
+ }
+ public function getOverview()
+ {
+ return $this->overview;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Location.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Location.php
new file mode 100644
index 00000000..4acd0420
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Location.php
@@ -0,0 +1,113 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_Location extends Google_Collection
+{
+ protected $collection_key = 'addressLine';
+ public $address;
+ public $addressLine;
+ public $administrativeArea;
+ public $dependentLocality;
+ public $languageCode;
+ protected $latLngType = 'Google_Service_Partners_LatLng';
+ protected $latLngDataType = '';
+ public $locality;
+ public $postalCode;
+ public $regionCode;
+ public $sortingCode;
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setAddressLine($addressLine)
+ {
+ $this->addressLine = $addressLine;
+ }
+ public function getAddressLine()
+ {
+ return $this->addressLine;
+ }
+ public function setAdministrativeArea($administrativeArea)
+ {
+ $this->administrativeArea = $administrativeArea;
+ }
+ public function getAdministrativeArea()
+ {
+ return $this->administrativeArea;
+ }
+ public function setDependentLocality($dependentLocality)
+ {
+ $this->dependentLocality = $dependentLocality;
+ }
+ public function getDependentLocality()
+ {
+ return $this->dependentLocality;
+ }
+ public function setLanguageCode($languageCode)
+ {
+ $this->languageCode = $languageCode;
+ }
+ public function getLanguageCode()
+ {
+ return $this->languageCode;
+ }
+ public function setLatLng(Google_Service_Partners_LatLng $latLng)
+ {
+ $this->latLng = $latLng;
+ }
+ public function getLatLng()
+ {
+ return $this->latLng;
+ }
+ public function setLocality($locality)
+ {
+ $this->locality = $locality;
+ }
+ public function getLocality()
+ {
+ return $this->locality;
+ }
+ public function setPostalCode($postalCode)
+ {
+ $this->postalCode = $postalCode;
+ }
+ public function getPostalCode()
+ {
+ return $this->postalCode;
+ }
+ public function setRegionCode($regionCode)
+ {
+ $this->regionCode = $regionCode;
+ }
+ public function getRegionCode()
+ {
+ return $this->regionCode;
+ }
+ public function setSortingCode($sortingCode)
+ {
+ $this->sortingCode = $sortingCode;
+ }
+ public function getSortingCode()
+ {
+ return $this->sortingCode;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogMessageRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogMessageRequest.php
new file mode 100644
index 00000000..19f76180
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogMessageRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_LogMessageRequest extends Google_Model
+{
+ public $clientInfo;
+ public $details;
+ public $level;
+ protected $requestMetadataType = 'Google_Service_Partners_RequestMetadata';
+ protected $requestMetadataDataType = '';
+
+ public function setClientInfo($clientInfo)
+ {
+ $this->clientInfo = $clientInfo;
+ }
+ public function getClientInfo()
+ {
+ return $this->clientInfo;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setLevel($level)
+ {
+ $this->level = $level;
+ }
+ public function getLevel()
+ {
+ return $this->level;
+ }
+ public function setRequestMetadata(Google_Service_Partners_RequestMetadata $requestMetadata)
+ {
+ $this->requestMetadata = $requestMetadata;
+ }
+ public function getRequestMetadata()
+ {
+ return $this->requestMetadata;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogMessageResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogMessageResponse.php
new file mode 100644
index 00000000..e29a824b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogMessageResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_LogMessageResponse extends Google_Model
+{
+ protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
+ protected $responseMetadataDataType = '';
+
+ public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
+ {
+ $this->responseMetadata = $responseMetadata;
+ }
+ public function getResponseMetadata()
+ {
+ return $this->responseMetadata;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogUserEventRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogUserEventRequest.php
new file mode 100644
index 00000000..c374c91a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogUserEventRequest.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_LogUserEventRequest extends Google_Collection
+{
+ protected $collection_key = 'eventDatas';
+ public $eventAction;
+ public $eventCategory;
+ protected $eventDatasType = 'Google_Service_Partners_EventData';
+ protected $eventDatasDataType = 'array';
+ public $eventScope;
+ protected $leadType = 'Google_Service_Partners_Lead';
+ protected $leadDataType = '';
+ protected $requestMetadataType = 'Google_Service_Partners_RequestMetadata';
+ protected $requestMetadataDataType = '';
+ public $url;
+
+ public function setEventAction($eventAction)
+ {
+ $this->eventAction = $eventAction;
+ }
+ public function getEventAction()
+ {
+ return $this->eventAction;
+ }
+ public function setEventCategory($eventCategory)
+ {
+ $this->eventCategory = $eventCategory;
+ }
+ public function getEventCategory()
+ {
+ return $this->eventCategory;
+ }
+ public function setEventDatas($eventDatas)
+ {
+ $this->eventDatas = $eventDatas;
+ }
+ public function getEventDatas()
+ {
+ return $this->eventDatas;
+ }
+ public function setEventScope($eventScope)
+ {
+ $this->eventScope = $eventScope;
+ }
+ public function getEventScope()
+ {
+ return $this->eventScope;
+ }
+ public function setLead(Google_Service_Partners_Lead $lead)
+ {
+ $this->lead = $lead;
+ }
+ public function getLead()
+ {
+ return $this->lead;
+ }
+ public function setRequestMetadata(Google_Service_Partners_RequestMetadata $requestMetadata)
+ {
+ $this->requestMetadata = $requestMetadata;
+ }
+ public function getRequestMetadata()
+ {
+ return $this->requestMetadata;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogUserEventResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogUserEventResponse.php
new file mode 100644
index 00000000..3584f2bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogUserEventResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_LogUserEventResponse extends Google_Model
+{
+ protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
+ protected $responseMetadataDataType = '';
+
+ public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
+ {
+ $this->responseMetadata = $responseMetadata;
+ }
+ public function getResponseMetadata()
+ {
+ return $this->responseMetadata;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Money.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Money.php
new file mode 100644
index 00000000..60d94e63
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Money.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_Money extends Google_Model
+{
+ public $currencyCode;
+ public $nanos;
+ public $units;
+
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+ public function setNanos($nanos)
+ {
+ $this->nanos = $nanos;
+ }
+ public function getNanos()
+ {
+ return $this->nanos;
+ }
+ public function setUnits($units)
+ {
+ $this->units = $units;
+ }
+ public function getUnits()
+ {
+ return $this->units;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/OfferCustomer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/OfferCustomer.php
new file mode 100644
index 00000000..29c52631
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/OfferCustomer.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_OfferCustomer extends Google_Model
+{
+ public $adwordsUrl;
+ public $countryCode;
+ public $creationTime;
+ public $eligibilityDaysLeft;
+ public $externalCid;
+ public $getYAmount;
+ public $name;
+ public $offerType;
+ public $spendXAmount;
+
+ public function setAdwordsUrl($adwordsUrl)
+ {
+ $this->adwordsUrl = $adwordsUrl;
+ }
+ public function getAdwordsUrl()
+ {
+ return $this->adwordsUrl;
+ }
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setEligibilityDaysLeft($eligibilityDaysLeft)
+ {
+ $this->eligibilityDaysLeft = $eligibilityDaysLeft;
+ }
+ public function getEligibilityDaysLeft()
+ {
+ return $this->eligibilityDaysLeft;
+ }
+ public function setExternalCid($externalCid)
+ {
+ $this->externalCid = $externalCid;
+ }
+ public function getExternalCid()
+ {
+ return $this->externalCid;
+ }
+ public function setGetYAmount($getYAmount)
+ {
+ $this->getYAmount = $getYAmount;
+ }
+ public function getGetYAmount()
+ {
+ return $this->getYAmount;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOfferType($offerType)
+ {
+ $this->offerType = $offerType;
+ }
+ public function getOfferType()
+ {
+ return $this->offerType;
+ }
+ public function setSpendXAmount($spendXAmount)
+ {
+ $this->spendXAmount = $spendXAmount;
+ }
+ public function getSpendXAmount()
+ {
+ return $this->spendXAmount;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/OptIns.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/OptIns.php
new file mode 100644
index 00000000..2553eb65
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/OptIns.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_OptIns extends Google_Model
+{
+ public $marketComm;
+ public $performanceSuggestions;
+ public $phoneContact;
+ public $physicalMail;
+ public $specialOffers;
+
+ public function setMarketComm($marketComm)
+ {
+ $this->marketComm = $marketComm;
+ }
+ public function getMarketComm()
+ {
+ return $this->marketComm;
+ }
+ public function setPerformanceSuggestions($performanceSuggestions)
+ {
+ $this->performanceSuggestions = $performanceSuggestions;
+ }
+ public function getPerformanceSuggestions()
+ {
+ return $this->performanceSuggestions;
+ }
+ public function setPhoneContact($phoneContact)
+ {
+ $this->phoneContact = $phoneContact;
+ }
+ public function getPhoneContact()
+ {
+ return $this->phoneContact;
+ }
+ public function setPhysicalMail($physicalMail)
+ {
+ $this->physicalMail = $physicalMail;
+ }
+ public function getPhysicalMail()
+ {
+ return $this->physicalMail;
+ }
+ public function setSpecialOffers($specialOffers)
+ {
+ $this->specialOffers = $specialOffers;
+ }
+ public function getSpecialOffers()
+ {
+ return $this->specialOffers;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/PartnersEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/PartnersEmpty.php
new file mode 100644
index 00000000..a960b04f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/PartnersEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_PartnersEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/PublicProfile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/PublicProfile.php
new file mode 100644
index 00000000..cc829c15
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/PublicProfile.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_PublicProfile extends Google_Model
+{
+ public $displayImageUrl;
+ public $displayName;
+ public $id;
+ public $profileImage;
+ public $url;
+
+ public function setDisplayImageUrl($displayImageUrl)
+ {
+ $this->displayImageUrl = $displayImageUrl;
+ }
+ public function getDisplayImageUrl()
+ {
+ return $this->displayImageUrl;
+ }
+ 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 setProfileImage($profileImage)
+ {
+ $this->profileImage = $profileImage;
+ }
+ public function getProfileImage()
+ {
+ return $this->profileImage;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Rank.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Rank.php
new file mode 100644
index 00000000..c011abaa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Rank.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_Rank extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/RecaptchaChallenge.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/RecaptchaChallenge.php
new file mode 100644
index 00000000..f66445d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/RecaptchaChallenge.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_RecaptchaChallenge extends Google_Model
+{
+ public $id;
+ public $response;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/RequestMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/RequestMetadata.php
new file mode 100644
index 00000000..9801c731
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/RequestMetadata.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_RequestMetadata extends Google_Collection
+{
+ protected $collection_key = 'experimentIds';
+ public $experimentIds;
+ public $locale;
+ public $partnersSessionId;
+ protected $trafficSourceType = 'Google_Service_Partners_TrafficSource';
+ protected $trafficSourceDataType = '';
+ protected $userOverridesType = 'Google_Service_Partners_UserOverrides';
+ protected $userOverridesDataType = '';
+
+ public function setExperimentIds($experimentIds)
+ {
+ $this->experimentIds = $experimentIds;
+ }
+ public function getExperimentIds()
+ {
+ return $this->experimentIds;
+ }
+ public function setLocale($locale)
+ {
+ $this->locale = $locale;
+ }
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+ public function setPartnersSessionId($partnersSessionId)
+ {
+ $this->partnersSessionId = $partnersSessionId;
+ }
+ public function getPartnersSessionId()
+ {
+ return $this->partnersSessionId;
+ }
+ public function setTrafficSource(Google_Service_Partners_TrafficSource $trafficSource)
+ {
+ $this->trafficSource = $trafficSource;
+ }
+ public function getTrafficSource()
+ {
+ return $this->trafficSource;
+ }
+ public function setUserOverrides(Google_Service_Partners_UserOverrides $userOverrides)
+ {
+ $this->userOverrides = $userOverrides;
+ }
+ public function getUserOverrides()
+ {
+ return $this->userOverrides;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Analytics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Analytics.php
new file mode 100644
index 00000000..f319c215
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Analytics.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "analytics" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $partnersService = new Google_Service_Partners(...);
+ * $analytics = $partnersService->analytics;
+ * </code>
+ */
+class Google_Service_Partners_Resource_Analytics extends Google_Service_Resource
+{
+ /**
+ * Lists analytics data for a user's associated company. Should only be called
+ * within the context of an authorized logged in user. (analytics.listAnalytics)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
+ * identifier to indicate where the traffic comes from. An identifier has
+ * multiple letters created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
+ * impersonate instead of the user's ID.
+ * @opt_param string requestMetadata.partnersSessionId Google Partners session
+ * ID.
+ * @opt_param string pageToken A token identifying a page of results that the
+ * server returns. Typically, this is the value of
+ * `ListAnalyticsResponse.next_page_token` returned from the previous call to
+ * ListAnalytics. Will be a date string in `YYYY-MM-DD` format representing the
+ * end date of the date range of results to return. If unspecified or set to "",
+ * default value is the current date.
+ * @opt_param int pageSize Requested page size. Server may return fewer
+ * analytics than requested. If unspecified or set to 0, default value is 30.
+ * Specifies the number of days in the date range when querying analytics. The
+ * `page_token` represents the end date of the date range and the start date is
+ * calculated using the `page_size` as the number of days BEFORE the end date.
+ * Must be a non-negative integer.
+ * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
+ * indicate where the traffic comes from. An identifier has multiple letters
+ * created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.locale Locale to use for the current
+ * request.
+ * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
+ * instead of the user's geo-located IP address.
+ * @opt_param string requestMetadata.experimentIds Experiment IDs the current
+ * request belongs to.
+ * @return Google_Service_Partners_ListAnalyticsResponse
+ */
+ public function listAnalytics($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Partners_ListAnalyticsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/ClientMessages.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/ClientMessages.php
new file mode 100644
index 00000000..22d6813f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/ClientMessages.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "clientMessages" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $partnersService = new Google_Service_Partners(...);
+ * $clientMessages = $partnersService->clientMessages;
+ * </code>
+ */
+class Google_Service_Partners_Resource_ClientMessages extends Google_Service_Resource
+{
+ /**
+ * Logs a generic message from the client, such as `Failed to render component`,
+ * `Profile page is running slow`, `More than 500 users have accessed this
+ * result.`, etc. (clientMessages.log)
+ *
+ * @param Google_Service_Partners_LogMessageRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Partners_LogMessageResponse
+ */
+ public function log(Google_Service_Partners_LogMessageRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('log', array($params), "Google_Service_Partners_LogMessageResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Companies.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Companies.php
new file mode 100644
index 00000000..570eeb49
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Companies.php
@@ -0,0 +1,150 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "companies" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $partnersService = new Google_Service_Partners(...);
+ * $companies = $partnersService->companies;
+ * </code>
+ */
+class Google_Service_Partners_Resource_Companies extends Google_Service_Resource
+{
+ /**
+ * Gets a company. (companies.get)
+ *
+ * @param string $companyId The ID of the company to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
+ * indicate where the traffic comes from. An identifier has multiple letters
+ * created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
+ * instead of the user's geo-located IP address.
+ * @opt_param string requestMetadata.experimentIds Experiment IDs the current
+ * request belongs to.
+ * @opt_param string currencyCode If the company's budget is in a different
+ * currency code than this one, then the converted budget is converted to this
+ * currency code.
+ * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
+ * identifier to indicate where the traffic comes from. An identifier has
+ * multiple letters created by a team which redirected the traffic to us.
+ * @opt_param string orderBy How to order addresses within the returned company.
+ * Currently, only `address` and `address desc` is supported which will sorted
+ * by closest to farthest in distance from given address and farthest to closest
+ * distance from given address respectively.
+ * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
+ * impersonate instead of the user's ID.
+ * @opt_param string requestMetadata.partnersSessionId Google Partners session
+ * ID.
+ * @opt_param string view The view of `Company` resource to be returned. This
+ * must not be `COMPANY_VIEW_UNSPECIFIED`.
+ * @opt_param string requestMetadata.locale Locale to use for the current
+ * request.
+ * @opt_param string address The address to use for sorting the company's
+ * addresses by proximity. If not given, the geo-located address of the request
+ * is used. Used when order_by is set.
+ * @return Google_Service_Partners_GetCompanyResponse
+ */
+ public function get($companyId, $optParams = array())
+ {
+ $params = array('companyId' => $companyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Partners_GetCompanyResponse");
+ }
+ /**
+ * Lists companies. (companies.listCompanies)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestMetadata.partnersSessionId Google Partners session
+ * ID.
+ * @opt_param string companyName Company name to search for.
+ * @opt_param string pageToken A token identifying a page of results that the
+ * server returns. Typically, this is the value of
+ * `ListCompaniesResponse.next_page_token` returned from the previous call to
+ * ListCompanies.
+ * @opt_param string industries List of industries the company can help with.
+ * @opt_param string websiteUrl Website URL that will help to find a better
+ * matched company. .
+ * @opt_param string gpsMotivations List of reasons for using Google Partner
+ * Search to get companies.
+ * @opt_param string languageCodes List of language codes that company can
+ * support. Only primary language subtags are accepted as defined by BCP 47
+ * (IETF BCP 47, "Tags for Identifying Languages").
+ * @opt_param int pageSize Requested page size. Server may return fewer
+ * companies than requested. If unspecified, server picks an appropriate
+ * default.
+ * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
+ * instead of the user's geo-located IP address.
+ * @opt_param string requestMetadata.experimentIds Experiment IDs the current
+ * request belongs to.
+ * @opt_param string orderBy How to order addresses within the returned
+ * companies. Currently, only `address` and `address desc` is supported which
+ * will sorted by closest to farthest in distance from given address and
+ * farthest to closest distance from given address respectively.
+ * @opt_param string specializations List of specializations that the returned
+ * agencies should provide. If this is not empty, any returned agency must have
+ * at least one of these specializations, or one of the services in the
+ * "services" field.
+ * @opt_param string maxMonthlyBudget.currencyCode The 3-letter currency code
+ * defined in ISO 4217.
+ * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
+ * impersonate instead of the user's ID.
+ * @opt_param string minMonthlyBudget.currencyCode The 3-letter currency code
+ * defined in ISO 4217.
+ * @opt_param string view The view of the `Company` resource to be returned.
+ * This must not be `COMPANY_VIEW_UNSPECIFIED`.
+ * @opt_param string address The address to use when searching for companies. If
+ * not given, the geo-located address of the request is used.
+ * @opt_param string requestMetadata.locale Locale to use for the current
+ * request.
+ * @opt_param string minMonthlyBudget.units The whole units of the amount. For
+ * example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ * @opt_param int maxMonthlyBudget.nanos Number of nano (10^-9) units of the
+ * amount. The value must be between -999,999,999 and +999,999,999 inclusive. If
+ * `units` is positive, `nanos` must be positive or zero. If `units` is zero,
+ * `nanos` can be positive, zero, or negative. If `units` is negative, `nanos`
+ * must be negative or zero. For example $-1.75 is represented as `units`=-1 and
+ * `nanos`=-750,000,000.
+ * @opt_param string services List of services that the returned agencies should
+ * provide. If this is not empty, any returned agency must have at least one of
+ * these services, or one of the specializations in the "specializations" field.
+ * @opt_param string maxMonthlyBudget.units The whole units of the amount. For
+ * example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
+ * indicate where the traffic comes from. An identifier has multiple letters
+ * created by a team which redirected the traffic to us.
+ * @opt_param int minMonthlyBudget.nanos Number of nano (10^-9) units of the
+ * amount. The value must be between -999,999,999 and +999,999,999 inclusive. If
+ * `units` is positive, `nanos` must be positive or zero. If `units` is zero,
+ * `nanos` can be positive, zero, or negative. If `units` is negative, `nanos`
+ * must be negative or zero. For example $-1.75 is represented as `units`=-1 and
+ * `nanos`=-750,000,000.
+ * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
+ * identifier to indicate where the traffic comes from. An identifier has
+ * multiple letters created by a team which redirected the traffic to us.
+ * @return Google_Service_Partners_ListCompaniesResponse
+ */
+ public function listCompanies($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Partners_ListCompaniesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/CompaniesLeads.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/CompaniesLeads.php
new file mode 100644
index 00000000..50a36c22
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/CompaniesLeads.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "leads" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $partnersService = new Google_Service_Partners(...);
+ * $leads = $partnersService->leads;
+ * </code>
+ */
+class Google_Service_Partners_Resource_CompaniesLeads extends Google_Service_Resource
+{
+ /**
+ * Creates an advertiser lead for the given company ID. (leads.create)
+ *
+ * @param string $companyId The ID of the company to contact.
+ * @param Google_Service_Partners_CreateLeadRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Partners_CreateLeadResponse
+ */
+ public function create($companyId, Google_Service_Partners_CreateLeadRequest $postBody, $optParams = array())
+ {
+ $params = array('companyId' => $companyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Partners_CreateLeadResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Exams.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Exams.php
new file mode 100644
index 00000000..13536183
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Exams.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "exams" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $partnersService = new Google_Service_Partners(...);
+ * $exams = $partnersService->exams;
+ * </code>
+ */
+class Google_Service_Partners_Resource_Exams extends Google_Service_Resource
+{
+ /**
+ * Gets an Exam Token for a Partner's user to take an exam in the Exams System
+ * (exams.getToken)
+ *
+ * @param string $examType The exam type we are requesting a token for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
+ * instead of the user's geo-located IP address.
+ * @opt_param string requestMetadata.experimentIds Experiment IDs the current
+ * request belongs to.
+ * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
+ * identifier to indicate where the traffic comes from. An identifier has
+ * multiple letters created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
+ * impersonate instead of the user's ID.
+ * @opt_param string requestMetadata.partnersSessionId Google Partners session
+ * ID.
+ * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
+ * indicate where the traffic comes from. An identifier has multiple letters
+ * created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.locale Locale to use for the current
+ * request.
+ * @return Google_Service_Partners_ExamToken
+ */
+ public function getToken($examType, $optParams = array())
+ {
+ $params = array('examType' => $examType);
+ $params = array_merge($params, $optParams);
+ return $this->call('getToken', array($params), "Google_Service_Partners_ExamToken");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Leads.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Leads.php
new file mode 100644
index 00000000..1ad2cf6a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Leads.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "leads" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $partnersService = new Google_Service_Partners(...);
+ * $leads = $partnersService->leads;
+ * </code>
+ */
+class Google_Service_Partners_Resource_Leads extends Google_Service_Resource
+{
+ /**
+ * Lists advertiser leads for a user's associated company. Should only be called
+ * within the context of an authorized logged in user. (leads.listLeads)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A token identifying a page of results that the
+ * server returns. Typically, this is the value of
+ * `ListLeadsResponse.next_page_token` returned from the previous call to
+ * ListLeads.
+ * @opt_param int pageSize Requested page size. Server may return fewer leads
+ * than requested. If unspecified, server picks an appropriate default.
+ * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
+ * indicate where the traffic comes from. An identifier has multiple letters
+ * created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.locale Locale to use for the current
+ * request.
+ * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
+ * instead of the user's geo-located IP address.
+ * @opt_param string requestMetadata.experimentIds Experiment IDs the current
+ * request belongs to.
+ * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
+ * identifier to indicate where the traffic comes from. An identifier has
+ * multiple letters created by a team which redirected the traffic to us.
+ * @opt_param string orderBy How to order Leads. Currently, only `create_time`
+ * and `create_time desc` are supported
+ * @opt_param string requestMetadata.partnersSessionId Google Partners session
+ * ID.
+ * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
+ * impersonate instead of the user's ID.
+ * @return Google_Service_Partners_ListLeadsResponse
+ */
+ public function listLeads($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Partners_ListLeadsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Offers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Offers.php
new file mode 100644
index 00000000..cc2622c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Offers.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "offers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $partnersService = new Google_Service_Partners(...);
+ * $offers = $partnersService->offers;
+ * </code>
+ */
+class Google_Service_Partners_Resource_Offers extends Google_Service_Resource
+{
+ /**
+ * Lists the Offers available for the current user (offers.listOffers)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
+ * instead of the user's geo-located IP address.
+ * @opt_param string requestMetadata.experimentIds Experiment IDs the current
+ * request belongs to.
+ * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
+ * identifier to indicate where the traffic comes from. An identifier has
+ * multiple letters created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
+ * impersonate instead of the user's ID.
+ * @opt_param string requestMetadata.partnersSessionId Google Partners session
+ * ID.
+ * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
+ * indicate where the traffic comes from. An identifier has multiple letters
+ * created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.locale Locale to use for the current
+ * request.
+ * @return Google_Service_Partners_ListOffersResponse
+ */
+ public function listOffers($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Partners_ListOffersResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/OffersHistory.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/OffersHistory.php
new file mode 100644
index 00000000..5cd7a8f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/OffersHistory.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "history" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $partnersService = new Google_Service_Partners(...);
+ * $history = $partnersService->history;
+ * </code>
+ */
+class Google_Service_Partners_Resource_OffersHistory extends Google_Service_Resource
+{
+ /**
+ * Lists the Historical Offers for the current user (or user's entire company)
+ * (history.listOffersHistory)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Token to retrieve a specific page.
+ * @opt_param int pageSize Maximum number of rows to return per page.
+ * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
+ * indicate where the traffic comes from. An identifier has multiple letters
+ * created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.locale Locale to use for the current
+ * request.
+ * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
+ * instead of the user's geo-located IP address.
+ * @opt_param string requestMetadata.experimentIds Experiment IDs the current
+ * request belongs to.
+ * @opt_param bool entireCompany if true, show history for the entire company.
+ * Requires user to be admin.
+ * @opt_param string orderBy Comma-separated list of fields to order by, e.g.:
+ * "foo,bar,baz". Use "foo desc" to sort descending. List of valid field names
+ * is: name, offer_code, expiration_time, status, last_modified_time,
+ * sender_name, creation_time, country_code, offer_type.
+ * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
+ * identifier to indicate where the traffic comes from. An identifier has
+ * multiple letters created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
+ * impersonate instead of the user's ID.
+ * @opt_param string requestMetadata.partnersSessionId Google Partners session
+ * ID.
+ * @return Google_Service_Partners_ListOffersHistoryResponse
+ */
+ public function listOffersHistory($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Partners_ListOffersHistoryResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/UserEvents.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/UserEvents.php
new file mode 100644
index 00000000..552082ba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/UserEvents.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "userEvents" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $partnersService = new Google_Service_Partners(...);
+ * $userEvents = $partnersService->userEvents;
+ * </code>
+ */
+class Google_Service_Partners_Resource_UserEvents extends Google_Service_Resource
+{
+ /**
+ * Logs a user event. (userEvents.log)
+ *
+ * @param Google_Service_Partners_LogUserEventRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Partners_LogUserEventResponse
+ */
+ public function log(Google_Service_Partners_LogUserEventRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('log', array($params), "Google_Service_Partners_LogUserEventResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/UserStates.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/UserStates.php
new file mode 100644
index 00000000..6b1c2cf0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/UserStates.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "userStates" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $partnersService = new Google_Service_Partners(...);
+ * $userStates = $partnersService->userStates;
+ * </code>
+ */
+class Google_Service_Partners_Resource_UserStates extends Google_Service_Resource
+{
+ /**
+ * Lists states for current user. (userStates.listUserStates)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
+ * impersonate instead of the user's ID.
+ * @opt_param string requestMetadata.partnersSessionId Google Partners session
+ * ID.
+ * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
+ * indicate where the traffic comes from. An identifier has multiple letters
+ * created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.locale Locale to use for the current
+ * request.
+ * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
+ * instead of the user's geo-located IP address.
+ * @opt_param string requestMetadata.experimentIds Experiment IDs the current
+ * request belongs to.
+ * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
+ * identifier to indicate where the traffic comes from. An identifier has
+ * multiple letters created by a team which redirected the traffic to us.
+ * @return Google_Service_Partners_ListUserStatesResponse
+ */
+ public function listUserStates($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Partners_ListUserStatesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Users.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Users.php
new file mode 100644
index 00000000..11cd10e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Users.php
@@ -0,0 +1,157 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $partnersService = new Google_Service_Partners(...);
+ * $users = $partnersService->users;
+ * </code>
+ */
+class Google_Service_Partners_Resource_Users extends Google_Service_Resource
+{
+ /**
+ * Creates a user's company relation. Affiliates the user to a company.
+ * (users.createCompanyRelation)
+ *
+ * @param string $userId The ID of the user. Can be set to me to mean the
+ * currently authenticated user.
+ * @param Google_Service_Partners_CompanyRelation $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
+ * impersonate instead of the user's ID.
+ * @opt_param string requestMetadata.partnersSessionId Google Partners session
+ * ID.
+ * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
+ * indicate where the traffic comes from. An identifier has multiple letters
+ * created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.locale Locale to use for the current
+ * request.
+ * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
+ * instead of the user's geo-located IP address.
+ * @opt_param string requestMetadata.experimentIds Experiment IDs the current
+ * request belongs to.
+ * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
+ * identifier to indicate where the traffic comes from. An identifier has
+ * multiple letters created by a team which redirected the traffic to us.
+ * @return Google_Service_Partners_CompanyRelation
+ */
+ public function createCompanyRelation($userId, Google_Service_Partners_CompanyRelation $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('createCompanyRelation', array($params), "Google_Service_Partners_CompanyRelation");
+ }
+ /**
+ * Deletes a user's company relation. Unaffiliaites the user from a company.
+ * (users.deleteCompanyRelation)
+ *
+ * @param string $userId The ID of the user. Can be set to me to mean the
+ * currently authenticated user.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
+ * identifier to indicate where the traffic comes from. An identifier has
+ * multiple letters created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
+ * impersonate instead of the user's ID.
+ * @opt_param string requestMetadata.partnersSessionId Google Partners session
+ * ID.
+ * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
+ * indicate where the traffic comes from. An identifier has multiple letters
+ * created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.locale Locale to use for the current
+ * request.
+ * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
+ * instead of the user's geo-located IP address.
+ * @opt_param string requestMetadata.experimentIds Experiment IDs the current
+ * request belongs to.
+ * @return Google_Service_Partners_PartnersEmpty
+ */
+ public function deleteCompanyRelation($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteCompanyRelation', array($params), "Google_Service_Partners_PartnersEmpty");
+ }
+ /**
+ * Gets a user. (users.get)
+ *
+ * @param string $userId Identifier of the user. Can be set to me to mean the
+ * currently authenticated user.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string userView Specifies what parts of the user information to
+ * return.
+ * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
+ * indicate where the traffic comes from. An identifier has multiple letters
+ * created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.locale Locale to use for the current
+ * request.
+ * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
+ * instead of the user's geo-located IP address.
+ * @opt_param string requestMetadata.experimentIds Experiment IDs the current
+ * request belongs to.
+ * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
+ * identifier to indicate where the traffic comes from. An identifier has
+ * multiple letters created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.partnersSessionId Google Partners session
+ * ID.
+ * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
+ * impersonate instead of the user's ID.
+ * @return Google_Service_Partners_User
+ */
+ public function get($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Partners_User");
+ }
+ /**
+ * Updates a user's profile. A user can only update their own profile and should
+ * only be called within the context of a logged in user. (users.updateProfile)
+ *
+ * @param Google_Service_Partners_UserProfile $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
+ * instead of the user's geo-located IP address.
+ * @opt_param string requestMetadata.experimentIds Experiment IDs the current
+ * request belongs to.
+ * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
+ * identifier to indicate where the traffic comes from. An identifier has
+ * multiple letters created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.partnersSessionId Google Partners session
+ * ID.
+ * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
+ * impersonate instead of the user's ID.
+ * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
+ * indicate where the traffic comes from. An identifier has multiple letters
+ * created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.locale Locale to use for the current
+ * request.
+ * @return Google_Service_Partners_UserProfile
+ */
+ public function updateProfile(Google_Service_Partners_UserProfile $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateProfile', array($params), "Google_Service_Partners_UserProfile");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/V2.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/V2.php
new file mode 100644
index 00000000..27d02f80
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/V2.php
@@ -0,0 +1,124 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "v2" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $partnersService = new Google_Service_Partners(...);
+ * $v2 = $partnersService->v2;
+ * </code>
+ */
+class Google_Service_Partners_Resource_V2 extends Google_Service_Resource
+{
+ /**
+ * Gets Partners Status of the logged in user's agency. Should only be called if
+ * the logged in user is the admin of the agency. (v2.getPartnersstatus)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
+ * identifier to indicate where the traffic comes from. An identifier has
+ * multiple letters created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.partnersSessionId Google Partners session
+ * ID.
+ * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
+ * impersonate instead of the user's ID.
+ * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
+ * indicate where the traffic comes from. An identifier has multiple letters
+ * created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.locale Locale to use for the current
+ * request.
+ * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
+ * instead of the user's geo-located IP address.
+ * @opt_param string requestMetadata.experimentIds Experiment IDs the current
+ * request belongs to.
+ * @return Google_Service_Partners_GetPartnersStatusResponse
+ */
+ public function getPartnersstatus($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('getPartnersstatus', array($params), "Google_Service_Partners_GetPartnersStatusResponse");
+ }
+ /**
+ * Update company. Should only be called within the context of an authorized
+ * logged in user. (v2.updateCompanies)
+ *
+ * @param Google_Service_Partners_Company $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
+ * instead of the user's geo-located IP address.
+ * @opt_param string updateMask Standard field mask for the set of fields to be
+ * updated. Required with at least 1 value in FieldMask's paths.
+ * @opt_param string requestMetadata.experimentIds Experiment IDs the current
+ * request belongs to.
+ * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
+ * identifier to indicate where the traffic comes from. An identifier has
+ * multiple letters created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.partnersSessionId Google Partners session
+ * ID.
+ * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
+ * impersonate instead of the user's ID.
+ * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
+ * indicate where the traffic comes from. An identifier has multiple letters
+ * created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.locale Locale to use for the current
+ * request.
+ * @return Google_Service_Partners_Company
+ */
+ public function updateCompanies(Google_Service_Partners_Company $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateCompanies', array($params), "Google_Service_Partners_Company");
+ }
+ /**
+ * Updates the specified lead. (v2.updateLeads)
+ *
+ * @param Google_Service_Partners_Lead $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
+ * indicate where the traffic comes from. An identifier has multiple letters
+ * created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.locale Locale to use for the current
+ * request.
+ * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
+ * instead of the user's geo-located IP address.
+ * @opt_param string updateMask Standard field mask for the set of fields to be
+ * updated. Required with at least 1 value in FieldMask's paths. Only `state`
+ * and `adwords_customer_id` are currently supported.
+ * @opt_param string requestMetadata.experimentIds Experiment IDs the current
+ * request belongs to.
+ * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
+ * identifier to indicate where the traffic comes from. An identifier has
+ * multiple letters created by a team which redirected the traffic to us.
+ * @opt_param string requestMetadata.partnersSessionId Google Partners session
+ * ID.
+ * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
+ * impersonate instead of the user's ID.
+ * @return Google_Service_Partners_Lead
+ */
+ public function updateLeads(Google_Service_Partners_Lead $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateLeads', array($params), "Google_Service_Partners_Lead");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ResponseMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ResponseMetadata.php
new file mode 100644
index 00000000..bc4f72e5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ResponseMetadata.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_ResponseMetadata extends Google_Model
+{
+ protected $debugInfoType = 'Google_Service_Partners_DebugInfo';
+ protected $debugInfoDataType = '';
+
+ public function setDebugInfo(Google_Service_Partners_DebugInfo $debugInfo)
+ {
+ $this->debugInfo = $debugInfo;
+ }
+ public function getDebugInfo()
+ {
+ return $this->debugInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/SpecializationStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/SpecializationStatus.php
new file mode 100644
index 00000000..234b1ef6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/SpecializationStatus.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_SpecializationStatus extends Google_Model
+{
+ public $badgeSpecialization;
+ public $badgeSpecializationState;
+
+ public function setBadgeSpecialization($badgeSpecialization)
+ {
+ $this->badgeSpecialization = $badgeSpecialization;
+ }
+ public function getBadgeSpecialization()
+ {
+ return $this->badgeSpecialization;
+ }
+ public function setBadgeSpecializationState($badgeSpecializationState)
+ {
+ $this->badgeSpecializationState = $badgeSpecializationState;
+ }
+ public function getBadgeSpecializationState()
+ {
+ return $this->badgeSpecializationState;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/TrafficSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/TrafficSource.php
new file mode 100644
index 00000000..14e34a59
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/TrafficSource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_TrafficSource extends Google_Model
+{
+ public $trafficSourceId;
+ public $trafficSubId;
+
+ public function setTrafficSourceId($trafficSourceId)
+ {
+ $this->trafficSourceId = $trafficSourceId;
+ }
+ public function getTrafficSourceId()
+ {
+ return $this->trafficSourceId;
+ }
+ public function setTrafficSubId($trafficSubId)
+ {
+ $this->trafficSubId = $trafficSubId;
+ }
+ public function getTrafficSubId()
+ {
+ return $this->trafficSubId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/User.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/User.php
new file mode 100644
index 00000000..83dabff5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/User.php
@@ -0,0 +1,118 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_User extends Google_Collection
+{
+ protected $collection_key = 'primaryEmails';
+ protected $availableAdwordsManagerAccountsType = 'Google_Service_Partners_AdWordsManagerAccountInfo';
+ protected $availableAdwordsManagerAccountsDataType = 'array';
+ protected $certificationStatusType = 'Google_Service_Partners_Certification';
+ protected $certificationStatusDataType = 'array';
+ protected $companyType = 'Google_Service_Partners_CompanyRelation';
+ protected $companyDataType = '';
+ public $companyVerificationEmail;
+ protected $examStatusType = 'Google_Service_Partners_ExamStatus';
+ protected $examStatusDataType = 'array';
+ public $id;
+ public $lastAccessTime;
+ public $primaryEmails;
+ protected $profileType = 'Google_Service_Partners_UserProfile';
+ protected $profileDataType = '';
+ protected $publicProfileType = 'Google_Service_Partners_PublicProfile';
+ protected $publicProfileDataType = '';
+
+ public function setAvailableAdwordsManagerAccounts($availableAdwordsManagerAccounts)
+ {
+ $this->availableAdwordsManagerAccounts = $availableAdwordsManagerAccounts;
+ }
+ public function getAvailableAdwordsManagerAccounts()
+ {
+ return $this->availableAdwordsManagerAccounts;
+ }
+ public function setCertificationStatus($certificationStatus)
+ {
+ $this->certificationStatus = $certificationStatus;
+ }
+ public function getCertificationStatus()
+ {
+ return $this->certificationStatus;
+ }
+ public function setCompany(Google_Service_Partners_CompanyRelation $company)
+ {
+ $this->company = $company;
+ }
+ public function getCompany()
+ {
+ return $this->company;
+ }
+ public function setCompanyVerificationEmail($companyVerificationEmail)
+ {
+ $this->companyVerificationEmail = $companyVerificationEmail;
+ }
+ public function getCompanyVerificationEmail()
+ {
+ return $this->companyVerificationEmail;
+ }
+ public function setExamStatus($examStatus)
+ {
+ $this->examStatus = $examStatus;
+ }
+ public function getExamStatus()
+ {
+ return $this->examStatus;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLastAccessTime($lastAccessTime)
+ {
+ $this->lastAccessTime = $lastAccessTime;
+ }
+ public function getLastAccessTime()
+ {
+ return $this->lastAccessTime;
+ }
+ public function setPrimaryEmails($primaryEmails)
+ {
+ $this->primaryEmails = $primaryEmails;
+ }
+ public function getPrimaryEmails()
+ {
+ return $this->primaryEmails;
+ }
+ public function setProfile(Google_Service_Partners_UserProfile $profile)
+ {
+ $this->profile = $profile;
+ }
+ public function getProfile()
+ {
+ return $this->profile;
+ }
+ public function setPublicProfile(Google_Service_Partners_PublicProfile $publicProfile)
+ {
+ $this->publicProfile = $publicProfile;
+ }
+ public function getPublicProfile()
+ {
+ return $this->publicProfile;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/UserOverrides.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/UserOverrides.php
new file mode 100644
index 00000000..12c9e9e2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/UserOverrides.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_UserOverrides extends Google_Model
+{
+ public $ipAddress;
+ public $userId;
+
+ public function setIpAddress($ipAddress)
+ {
+ $this->ipAddress = $ipAddress;
+ }
+ public function getIpAddress()
+ {
+ return $this->ipAddress;
+ }
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/UserProfile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/UserProfile.php
new file mode 100644
index 00000000..bd23cb25
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/UserProfile.php
@@ -0,0 +1,150 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Partners_UserProfile extends Google_Collection
+{
+ protected $collection_key = 'markets';
+ protected $addressType = 'Google_Service_Partners_Location';
+ protected $addressDataType = '';
+ public $adwordsManagerAccount;
+ public $channels;
+ public $emailAddress;
+ protected $emailOptInsType = 'Google_Service_Partners_OptIns';
+ protected $emailOptInsDataType = '';
+ public $familyName;
+ public $givenName;
+ public $industries;
+ public $jobFunctions;
+ public $languages;
+ public $markets;
+ public $phoneNumber;
+ public $primaryCountryCode;
+ public $profilePublic;
+
+ public function setAddress(Google_Service_Partners_Location $address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setAdwordsManagerAccount($adwordsManagerAccount)
+ {
+ $this->adwordsManagerAccount = $adwordsManagerAccount;
+ }
+ public function getAdwordsManagerAccount()
+ {
+ return $this->adwordsManagerAccount;
+ }
+ public function setChannels($channels)
+ {
+ $this->channels = $channels;
+ }
+ public function getChannels()
+ {
+ return $this->channels;
+ }
+ public function setEmailAddress($emailAddress)
+ {
+ $this->emailAddress = $emailAddress;
+ }
+ public function getEmailAddress()
+ {
+ return $this->emailAddress;
+ }
+ public function setEmailOptIns(Google_Service_Partners_OptIns $emailOptIns)
+ {
+ $this->emailOptIns = $emailOptIns;
+ }
+ public function getEmailOptIns()
+ {
+ return $this->emailOptIns;
+ }
+ 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;
+ }
+ public function setIndustries($industries)
+ {
+ $this->industries = $industries;
+ }
+ public function getIndustries()
+ {
+ return $this->industries;
+ }
+ public function setJobFunctions($jobFunctions)
+ {
+ $this->jobFunctions = $jobFunctions;
+ }
+ public function getJobFunctions()
+ {
+ return $this->jobFunctions;
+ }
+ public function setLanguages($languages)
+ {
+ $this->languages = $languages;
+ }
+ public function getLanguages()
+ {
+ return $this->languages;
+ }
+ public function setMarkets($markets)
+ {
+ $this->markets = $markets;
+ }
+ public function getMarkets()
+ {
+ return $this->markets;
+ }
+ public function setPhoneNumber($phoneNumber)
+ {
+ $this->phoneNumber = $phoneNumber;
+ }
+ public function getPhoneNumber()
+ {
+ return $this->phoneNumber;
+ }
+ public function setPrimaryCountryCode($primaryCountryCode)
+ {
+ $this->primaryCountryCode = $primaryCountryCode;
+ }
+ public function getPrimaryCountryCode()
+ {
+ return $this->primaryCountryCode;
+ }
+ public function setProfilePublic($profilePublic)
+ {
+ $this->profilePublic = $profilePublic;
+ }
+ public function getProfilePublic()
+ {
+ return $this->profilePublic;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People.php
new file mode 100644
index 00000000..30c0f795
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People.php
@@ -0,0 +1,160 @@
+<?php
+/*
+ * Copyright 2016 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 People (v1).
+ *
+ * <p>
+ * Provides access to information about profiles and contacts.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/people/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_People extends Google_Service
+{
+ /** Manage your contacts. */
+ const CONTACTS =
+ "https://www.googleapis.com/auth/contacts";
+ /** View your contacts. */
+ const CONTACTS_READONLY =
+ "https://www.googleapis.com/auth/contacts.readonly";
+ /** Know the list of people in your circles, your age range, and language. */
+ const PLUS_LOGIN =
+ "https://www.googleapis.com/auth/plus.login";
+ /** View your street addresses. */
+ const USER_ADDRESSES_READ =
+ "https://www.googleapis.com/auth/user.addresses.read";
+ /** View your complete date of birth. */
+ const USER_BIRTHDAY_READ =
+ "https://www.googleapis.com/auth/user.birthday.read";
+ /** View your email addresses. */
+ const USER_EMAILS_READ =
+ "https://www.googleapis.com/auth/user.emails.read";
+ /** View your phone numbers. */
+ const USER_PHONENUMBERS_READ =
+ "https://www.googleapis.com/auth/user.phonenumbers.read";
+ /** 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 $people;
+ public $people_connections;
+
+ /**
+ * Constructs the internal representation of the People service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://people.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'people';
+
+ $this->people = new Google_Service_People_Resource_People(
+ $this,
+ $this->serviceName,
+ 'people',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/{+resourceName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'resourceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'requestMask.includeField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getBatchGet' => array(
+ 'path' => 'v1/people:batchGet',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'requestMask.includeField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'resourceNames' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->people_connections = new Google_Service_People_Resource_PeopleConnections(
+ $this,
+ $this->serviceName,
+ 'connections',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1/{+resourceName}/connections',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'resourceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'requestSyncToken' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'requestMask.includeField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Address.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Address.php
new file mode 100644
index 00000000..2c0569df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Address.php
@@ -0,0 +1,130 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Address extends Google_Model
+{
+ public $city;
+ public $country;
+ public $countryCode;
+ public $extendedAddress;
+ public $formattedType;
+ public $formattedValue;
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $poBox;
+ public $postalCode;
+ public $region;
+ public $streetAddress;
+ public $type;
+
+ public function setCity($city)
+ {
+ $this->city = $city;
+ }
+ public function getCity()
+ {
+ return $this->city;
+ }
+ 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 setExtendedAddress($extendedAddress)
+ {
+ $this->extendedAddress = $extendedAddress;
+ }
+ public function getExtendedAddress()
+ {
+ return $this->extendedAddress;
+ }
+ public function setFormattedType($formattedType)
+ {
+ $this->formattedType = $formattedType;
+ }
+ public function getFormattedType()
+ {
+ return $this->formattedType;
+ }
+ public function setFormattedValue($formattedValue)
+ {
+ $this->formattedValue = $formattedValue;
+ }
+ public function getFormattedValue()
+ {
+ return $this->formattedValue;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ 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 setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/AgeRangeType.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/AgeRangeType.php
new file mode 100644
index 00000000..96ed2b8b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/AgeRangeType.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_AgeRangeType extends Google_Model
+{
+ public $ageRange;
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+
+ public function setAgeRange($ageRange)
+ {
+ $this->ageRange = $ageRange;
+ }
+ public function getAgeRange()
+ {
+ return $this->ageRange;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Biography.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Biography.php
new file mode 100644
index 00000000..5b1676a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Biography.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Biography extends Google_Model
+{
+ public $contentType;
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $value;
+
+ public function setContentType($contentType)
+ {
+ $this->contentType = $contentType;
+ }
+ public function getContentType()
+ {
+ return $this->contentType;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Birthday.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Birthday.php
new file mode 100644
index 00000000..f00a7b1b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Birthday.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Birthday extends Google_Model
+{
+ protected $dateType = 'Google_Service_People_Date';
+ protected $dateDataType = '';
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $text;
+
+ public function setDate(Google_Service_People_Date $date)
+ {
+ $this->date = $date;
+ }
+ public function getDate()
+ {
+ return $this->date;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/BraggingRights.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/BraggingRights.php
new file mode 100644
index 00000000..45f4668f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/BraggingRights.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_BraggingRights extends Google_Model
+{
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $value;
+
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ContactGroupMembership.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ContactGroupMembership.php
new file mode 100644
index 00000000..79e27575
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ContactGroupMembership.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_ContactGroupMembership extends Google_Model
+{
+ public $contactGroupId;
+
+ public function setContactGroupId($contactGroupId)
+ {
+ $this->contactGroupId = $contactGroupId;
+ }
+ public function getContactGroupId()
+ {
+ return $this->contactGroupId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/CoverPhoto.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/CoverPhoto.php
new file mode 100644
index 00000000..b48da3ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/CoverPhoto.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_CoverPhoto extends Google_Model
+{
+ public $default;
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $url;
+
+ public function setDefault($default)
+ {
+ $this->default = $default;
+ }
+ public function getDefault()
+ {
+ return $this->default;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Date.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Date.php
new file mode 100644
index 00000000..247bdf02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Date.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Date extends Google_Model
+{
+ public $day;
+ public $month;
+ public $year;
+
+ 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;
+ }
+ public function setYear($year)
+ {
+ $this->year = $year;
+ }
+ public function getYear()
+ {
+ return $this->year;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/DomainMembership.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/DomainMembership.php
new file mode 100644
index 00000000..8956e35e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/DomainMembership.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_DomainMembership extends Google_Model
+{
+ public $inViewerDomain;
+
+ public function setInViewerDomain($inViewerDomain)
+ {
+ $this->inViewerDomain = $inViewerDomain;
+ }
+ public function getInViewerDomain()
+ {
+ return $this->inViewerDomain;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/EmailAddress.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/EmailAddress.php
new file mode 100644
index 00000000..ea3bbe40
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/EmailAddress.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_EmailAddress extends Google_Model
+{
+ public $displayName;
+ public $formattedType;
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $type;
+ public $value;
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setFormattedType($formattedType)
+ {
+ $this->formattedType = $formattedType;
+ }
+ public function getFormattedType()
+ {
+ return $this->formattedType;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Event.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Event.php
new file mode 100644
index 00000000..2b6311bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Event.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Event extends Google_Model
+{
+ protected $dateType = 'Google_Service_People_Date';
+ protected $dateDataType = '';
+ public $formattedType;
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $type;
+
+ public function setDate(Google_Service_People_Date $date)
+ {
+ $this->date = $date;
+ }
+ public function getDate()
+ {
+ return $this->date;
+ }
+ public function setFormattedType($formattedType)
+ {
+ $this->formattedType = $formattedType;
+ }
+ public function getFormattedType()
+ {
+ return $this->formattedType;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/FieldMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/FieldMetadata.php
new file mode 100644
index 00000000..752c9f12
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/FieldMetadata.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_FieldMetadata extends Google_Model
+{
+ public $primary;
+ protected $sourceType = 'Google_Service_People_Source';
+ protected $sourceDataType = '';
+ public $verified;
+
+ public function setPrimary($primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setSource(Google_Service_People_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setVerified($verified)
+ {
+ $this->verified = $verified;
+ }
+ public function getVerified()
+ {
+ return $this->verified;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Gender.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Gender.php
new file mode 100644
index 00000000..6dc82630
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Gender.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Gender extends Google_Model
+{
+ public $formattedValue;
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $value;
+
+ public function setFormattedValue($formattedValue)
+ {
+ $this->formattedValue = $formattedValue;
+ }
+ public function getFormattedValue()
+ {
+ return $this->formattedValue;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/GetPeopleResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/GetPeopleResponse.php
new file mode 100644
index 00000000..9c6a16fe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/GetPeopleResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_GetPeopleResponse extends Google_Collection
+{
+ protected $collection_key = 'responses';
+ protected $responsesType = 'Google_Service_People_PersonResponse';
+ protected $responsesDataType = 'array';
+
+ public function setResponses($responses)
+ {
+ $this->responses = $responses;
+ }
+ public function getResponses()
+ {
+ return $this->responses;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ImClient.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ImClient.php
new file mode 100644
index 00000000..cad9a438
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ImClient.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_ImClient extends Google_Model
+{
+ public $formattedProtocol;
+ public $formattedType;
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $protocol;
+ public $type;
+ public $username;
+
+ public function setFormattedProtocol($formattedProtocol)
+ {
+ $this->formattedProtocol = $formattedProtocol;
+ }
+ public function getFormattedProtocol()
+ {
+ return $this->formattedProtocol;
+ }
+ public function setFormattedType($formattedType)
+ {
+ $this->formattedType = $formattedType;
+ }
+ public function getFormattedType()
+ {
+ return $this->formattedType;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ 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;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Interest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Interest.php
new file mode 100644
index 00000000..2cfa15f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Interest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Interest extends Google_Model
+{
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $value;
+
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ListConnectionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ListConnectionsResponse.php
new file mode 100644
index 00000000..c94f140b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ListConnectionsResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_ListConnectionsResponse extends Google_Collection
+{
+ protected $collection_key = 'connections';
+ protected $connectionsType = 'Google_Service_People_Person';
+ protected $connectionsDataType = 'array';
+ public $nextPageToken;
+ public $nextSyncToken;
+
+ public function setConnections($connections)
+ {
+ $this->connections = $connections;
+ }
+ public function getConnections()
+ {
+ return $this->connections;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Locale.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Locale.php
new file mode 100644
index 00000000..ace1c251
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Locale.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Locale extends Google_Model
+{
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $value;
+
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Membership.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Membership.php
new file mode 100644
index 00000000..dcba8d52
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Membership.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Membership extends Google_Model
+{
+ protected $contactGroupMembershipType = 'Google_Service_People_ContactGroupMembership';
+ protected $contactGroupMembershipDataType = '';
+ protected $domainMembershipType = 'Google_Service_People_DomainMembership';
+ protected $domainMembershipDataType = '';
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+
+ public function setContactGroupMembership(Google_Service_People_ContactGroupMembership $contactGroupMembership)
+ {
+ $this->contactGroupMembership = $contactGroupMembership;
+ }
+ public function getContactGroupMembership()
+ {
+ return $this->contactGroupMembership;
+ }
+ public function setDomainMembership(Google_Service_People_DomainMembership $domainMembership)
+ {
+ $this->domainMembership = $domainMembership;
+ }
+ public function getDomainMembership()
+ {
+ return $this->domainMembership;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Name.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Name.php
new file mode 100644
index 00000000..76f2f80a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Name.php
@@ -0,0 +1,148 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Name extends Google_Model
+{
+ public $displayName;
+ public $displayNameLastFirst;
+ public $familyName;
+ public $givenName;
+ public $honorificPrefix;
+ public $honorificSuffix;
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $middleName;
+ public $phoneticFamilyName;
+ public $phoneticFullName;
+ public $phoneticGivenName;
+ public $phoneticHonorificPrefix;
+ public $phoneticHonorificSuffix;
+ public $phoneticMiddleName;
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setDisplayNameLastFirst($displayNameLastFirst)
+ {
+ $this->displayNameLastFirst = $displayNameLastFirst;
+ }
+ public function getDisplayNameLastFirst()
+ {
+ return $this->displayNameLastFirst;
+ }
+ 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;
+ }
+ 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 setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setMiddleName($middleName)
+ {
+ $this->middleName = $middleName;
+ }
+ public function getMiddleName()
+ {
+ return $this->middleName;
+ }
+ public function setPhoneticFamilyName($phoneticFamilyName)
+ {
+ $this->phoneticFamilyName = $phoneticFamilyName;
+ }
+ public function getPhoneticFamilyName()
+ {
+ return $this->phoneticFamilyName;
+ }
+ public function setPhoneticFullName($phoneticFullName)
+ {
+ $this->phoneticFullName = $phoneticFullName;
+ }
+ public function getPhoneticFullName()
+ {
+ return $this->phoneticFullName;
+ }
+ public function setPhoneticGivenName($phoneticGivenName)
+ {
+ $this->phoneticGivenName = $phoneticGivenName;
+ }
+ public function getPhoneticGivenName()
+ {
+ return $this->phoneticGivenName;
+ }
+ public function setPhoneticHonorificPrefix($phoneticHonorificPrefix)
+ {
+ $this->phoneticHonorificPrefix = $phoneticHonorificPrefix;
+ }
+ public function getPhoneticHonorificPrefix()
+ {
+ return $this->phoneticHonorificPrefix;
+ }
+ public function setPhoneticHonorificSuffix($phoneticHonorificSuffix)
+ {
+ $this->phoneticHonorificSuffix = $phoneticHonorificSuffix;
+ }
+ public function getPhoneticHonorificSuffix()
+ {
+ return $this->phoneticHonorificSuffix;
+ }
+ public function setPhoneticMiddleName($phoneticMiddleName)
+ {
+ $this->phoneticMiddleName = $phoneticMiddleName;
+ }
+ public function getPhoneticMiddleName()
+ {
+ return $this->phoneticMiddleName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Nickname.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Nickname.php
new file mode 100644
index 00000000..dd152314
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Nickname.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Nickname extends Google_Model
+{
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $type;
+ public $value;
+
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Occupation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Occupation.php
new file mode 100644
index 00000000..0bb869ba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Occupation.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Occupation extends Google_Model
+{
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $value;
+
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Organization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Organization.php
new file mode 100644
index 00000000..aa507534
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Organization.php
@@ -0,0 +1,150 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Organization extends Google_Model
+{
+ public $current;
+ public $department;
+ public $domain;
+ protected $endDateType = 'Google_Service_People_Date';
+ protected $endDateDataType = '';
+ public $formattedType;
+ public $jobDescription;
+ public $location;
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $name;
+ public $phoneticName;
+ protected $startDateType = 'Google_Service_People_Date';
+ protected $startDateDataType = '';
+ public $symbol;
+ public $title;
+ public $type;
+
+ public function setCurrent($current)
+ {
+ $this->current = $current;
+ }
+ public function getCurrent()
+ {
+ return $this->current;
+ }
+ public function setDepartment($department)
+ {
+ $this->department = $department;
+ }
+ public function getDepartment()
+ {
+ return $this->department;
+ }
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+ }
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+ public function setEndDate(Google_Service_People_Date $endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setFormattedType($formattedType)
+ {
+ $this->formattedType = $formattedType;
+ }
+ public function getFormattedType()
+ {
+ return $this->formattedType;
+ }
+ public function setJobDescription($jobDescription)
+ {
+ $this->jobDescription = $jobDescription;
+ }
+ public function getJobDescription()
+ {
+ return $this->jobDescription;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $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 setPhoneticName($phoneticName)
+ {
+ $this->phoneticName = $phoneticName;
+ }
+ public function getPhoneticName()
+ {
+ return $this->phoneticName;
+ }
+ public function setStartDate(Google_Service_People_Date $startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Person.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Person.php
new file mode 100644
index 00000000..206e5280
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Person.php
@@ -0,0 +1,319 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Person extends Google_Collection
+{
+ protected $collection_key = 'urls';
+ protected $addressesType = 'Google_Service_People_Address';
+ protected $addressesDataType = 'array';
+ public $ageRange;
+ protected $ageRangesType = 'Google_Service_People_AgeRangeType';
+ protected $ageRangesDataType = 'array';
+ protected $biographiesType = 'Google_Service_People_Biography';
+ protected $biographiesDataType = 'array';
+ protected $birthdaysType = 'Google_Service_People_Birthday';
+ protected $birthdaysDataType = 'array';
+ protected $braggingRightsType = 'Google_Service_People_BraggingRights';
+ protected $braggingRightsDataType = 'array';
+ protected $coverPhotosType = 'Google_Service_People_CoverPhoto';
+ protected $coverPhotosDataType = 'array';
+ protected $emailAddressesType = 'Google_Service_People_EmailAddress';
+ protected $emailAddressesDataType = 'array';
+ public $etag;
+ protected $eventsType = 'Google_Service_People_Event';
+ protected $eventsDataType = 'array';
+ protected $gendersType = 'Google_Service_People_Gender';
+ protected $gendersDataType = 'array';
+ protected $imClientsType = 'Google_Service_People_ImClient';
+ protected $imClientsDataType = 'array';
+ protected $interestsType = 'Google_Service_People_Interest';
+ protected $interestsDataType = 'array';
+ protected $localesType = 'Google_Service_People_Locale';
+ protected $localesDataType = 'array';
+ protected $membershipsType = 'Google_Service_People_Membership';
+ protected $membershipsDataType = 'array';
+ protected $metadataType = 'Google_Service_People_PersonMetadata';
+ protected $metadataDataType = '';
+ protected $namesType = 'Google_Service_People_Name';
+ protected $namesDataType = 'array';
+ protected $nicknamesType = 'Google_Service_People_Nickname';
+ protected $nicknamesDataType = 'array';
+ protected $occupationsType = 'Google_Service_People_Occupation';
+ protected $occupationsDataType = 'array';
+ protected $organizationsType = 'Google_Service_People_Organization';
+ protected $organizationsDataType = 'array';
+ protected $phoneNumbersType = 'Google_Service_People_PhoneNumber';
+ protected $phoneNumbersDataType = 'array';
+ protected $photosType = 'Google_Service_People_Photo';
+ protected $photosDataType = 'array';
+ protected $relationsType = 'Google_Service_People_Relation';
+ protected $relationsDataType = 'array';
+ protected $relationshipInterestsType = 'Google_Service_People_RelationshipInterest';
+ protected $relationshipInterestsDataType = 'array';
+ protected $relationshipStatusesType = 'Google_Service_People_RelationshipStatus';
+ protected $relationshipStatusesDataType = 'array';
+ protected $residencesType = 'Google_Service_People_Residence';
+ protected $residencesDataType = 'array';
+ public $resourceName;
+ protected $skillsType = 'Google_Service_People_Skill';
+ protected $skillsDataType = 'array';
+ protected $taglinesType = 'Google_Service_People_Tagline';
+ protected $taglinesDataType = 'array';
+ protected $urlsType = 'Google_Service_People_Url';
+ protected $urlsDataType = 'array';
+
+ public function setAddresses($addresses)
+ {
+ $this->addresses = $addresses;
+ }
+ public function getAddresses()
+ {
+ return $this->addresses;
+ }
+ public function setAgeRange($ageRange)
+ {
+ $this->ageRange = $ageRange;
+ }
+ public function getAgeRange()
+ {
+ return $this->ageRange;
+ }
+ public function setAgeRanges($ageRanges)
+ {
+ $this->ageRanges = $ageRanges;
+ }
+ public function getAgeRanges()
+ {
+ return $this->ageRanges;
+ }
+ public function setBiographies($biographies)
+ {
+ $this->biographies = $biographies;
+ }
+ public function getBiographies()
+ {
+ return $this->biographies;
+ }
+ public function setBirthdays($birthdays)
+ {
+ $this->birthdays = $birthdays;
+ }
+ public function getBirthdays()
+ {
+ return $this->birthdays;
+ }
+ public function setBraggingRights($braggingRights)
+ {
+ $this->braggingRights = $braggingRights;
+ }
+ public function getBraggingRights()
+ {
+ return $this->braggingRights;
+ }
+ public function setCoverPhotos($coverPhotos)
+ {
+ $this->coverPhotos = $coverPhotos;
+ }
+ public function getCoverPhotos()
+ {
+ return $this->coverPhotos;
+ }
+ public function setEmailAddresses($emailAddresses)
+ {
+ $this->emailAddresses = $emailAddresses;
+ }
+ public function getEmailAddresses()
+ {
+ return $this->emailAddresses;
+ }
+ 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 setGenders($genders)
+ {
+ $this->genders = $genders;
+ }
+ public function getGenders()
+ {
+ return $this->genders;
+ }
+ public function setImClients($imClients)
+ {
+ $this->imClients = $imClients;
+ }
+ public function getImClients()
+ {
+ return $this->imClients;
+ }
+ public function setInterests($interests)
+ {
+ $this->interests = $interests;
+ }
+ public function getInterests()
+ {
+ return $this->interests;
+ }
+ public function setLocales($locales)
+ {
+ $this->locales = $locales;
+ }
+ public function getLocales()
+ {
+ return $this->locales;
+ }
+ public function setMemberships($memberships)
+ {
+ $this->memberships = $memberships;
+ }
+ public function getMemberships()
+ {
+ return $this->memberships;
+ }
+ public function setMetadata(Google_Service_People_PersonMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setNames($names)
+ {
+ $this->names = $names;
+ }
+ public function getNames()
+ {
+ return $this->names;
+ }
+ public function setNicknames($nicknames)
+ {
+ $this->nicknames = $nicknames;
+ }
+ public function getNicknames()
+ {
+ return $this->nicknames;
+ }
+ public function setOccupations($occupations)
+ {
+ $this->occupations = $occupations;
+ }
+ public function getOccupations()
+ {
+ return $this->occupations;
+ }
+ public function setOrganizations($organizations)
+ {
+ $this->organizations = $organizations;
+ }
+ public function getOrganizations()
+ {
+ return $this->organizations;
+ }
+ public function setPhoneNumbers($phoneNumbers)
+ {
+ $this->phoneNumbers = $phoneNumbers;
+ }
+ public function getPhoneNumbers()
+ {
+ return $this->phoneNumbers;
+ }
+ public function setPhotos($photos)
+ {
+ $this->photos = $photos;
+ }
+ public function getPhotos()
+ {
+ return $this->photos;
+ }
+ public function setRelations($relations)
+ {
+ $this->relations = $relations;
+ }
+ public function getRelations()
+ {
+ return $this->relations;
+ }
+ public function setRelationshipInterests($relationshipInterests)
+ {
+ $this->relationshipInterests = $relationshipInterests;
+ }
+ public function getRelationshipInterests()
+ {
+ return $this->relationshipInterests;
+ }
+ public function setRelationshipStatuses($relationshipStatuses)
+ {
+ $this->relationshipStatuses = $relationshipStatuses;
+ }
+ public function getRelationshipStatuses()
+ {
+ return $this->relationshipStatuses;
+ }
+ public function setResidences($residences)
+ {
+ $this->residences = $residences;
+ }
+ public function getResidences()
+ {
+ return $this->residences;
+ }
+ public function setResourceName($resourceName)
+ {
+ $this->resourceName = $resourceName;
+ }
+ public function getResourceName()
+ {
+ return $this->resourceName;
+ }
+ public function setSkills($skills)
+ {
+ $this->skills = $skills;
+ }
+ public function getSkills()
+ {
+ return $this->skills;
+ }
+ public function setTaglines($taglines)
+ {
+ $this->taglines = $taglines;
+ }
+ public function getTaglines()
+ {
+ return $this->taglines;
+ }
+ public function setUrls($urls)
+ {
+ $this->urls = $urls;
+ }
+ public function getUrls()
+ {
+ return $this->urls;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PersonMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PersonMetadata.php
new file mode 100644
index 00000000..013d40bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PersonMetadata.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_PersonMetadata extends Google_Collection
+{
+ protected $collection_key = 'sources';
+ public $deleted;
+ public $linkedPeopleResourceNames;
+ public $objectType;
+ public $previousResourceNames;
+ protected $sourcesType = 'Google_Service_People_Source';
+ protected $sourcesDataType = 'array';
+
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+ public function setLinkedPeopleResourceNames($linkedPeopleResourceNames)
+ {
+ $this->linkedPeopleResourceNames = $linkedPeopleResourceNames;
+ }
+ public function getLinkedPeopleResourceNames()
+ {
+ return $this->linkedPeopleResourceNames;
+ }
+ public function setObjectType($objectType)
+ {
+ $this->objectType = $objectType;
+ }
+ public function getObjectType()
+ {
+ return $this->objectType;
+ }
+ public function setPreviousResourceNames($previousResourceNames)
+ {
+ $this->previousResourceNames = $previousResourceNames;
+ }
+ public function getPreviousResourceNames()
+ {
+ return $this->previousResourceNames;
+ }
+ public function setSources($sources)
+ {
+ $this->sources = $sources;
+ }
+ public function getSources()
+ {
+ return $this->sources;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PersonResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PersonResponse.php
new file mode 100644
index 00000000..98f6bb54
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PersonResponse.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_PersonResponse extends Google_Model
+{
+ public $httpStatusCode;
+ protected $personType = 'Google_Service_People_Person';
+ protected $personDataType = '';
+ public $requestedResourceName;
+
+ public function setHttpStatusCode($httpStatusCode)
+ {
+ $this->httpStatusCode = $httpStatusCode;
+ }
+ public function getHttpStatusCode()
+ {
+ return $this->httpStatusCode;
+ }
+ public function setPerson(Google_Service_People_Person $person)
+ {
+ $this->person = $person;
+ }
+ public function getPerson()
+ {
+ return $this->person;
+ }
+ public function setRequestedResourceName($requestedResourceName)
+ {
+ $this->requestedResourceName = $requestedResourceName;
+ }
+ public function getRequestedResourceName()
+ {
+ return $this->requestedResourceName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PhoneNumber.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PhoneNumber.php
new file mode 100644
index 00000000..c71b0541
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PhoneNumber.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_PhoneNumber extends Google_Model
+{
+ public $canonicalForm;
+ public $formattedType;
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $type;
+ public $value;
+
+ public function setCanonicalForm($canonicalForm)
+ {
+ $this->canonicalForm = $canonicalForm;
+ }
+ public function getCanonicalForm()
+ {
+ return $this->canonicalForm;
+ }
+ public function setFormattedType($formattedType)
+ {
+ $this->formattedType = $formattedType;
+ }
+ public function getFormattedType()
+ {
+ return $this->formattedType;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Photo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Photo.php
new file mode 100644
index 00000000..749ab890
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Photo.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Photo extends Google_Model
+{
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $url;
+
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ProfileMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ProfileMetadata.php
new file mode 100644
index 00000000..9421febf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ProfileMetadata.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_ProfileMetadata extends Google_Model
+{
+ public $objectType;
+
+ public function setObjectType($objectType)
+ {
+ $this->objectType = $objectType;
+ }
+ public function getObjectType()
+ {
+ return $this->objectType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Relation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Relation.php
new file mode 100644
index 00000000..406ec117
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Relation.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Relation extends Google_Model
+{
+ public $formattedType;
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $person;
+ public $type;
+
+ public function setFormattedType($formattedType)
+ {
+ $this->formattedType = $formattedType;
+ }
+ public function getFormattedType()
+ {
+ return $this->formattedType;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setPerson($person)
+ {
+ $this->person = $person;
+ }
+ public function getPerson()
+ {
+ return $this->person;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/RelationshipInterest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/RelationshipInterest.php
new file mode 100644
index 00000000..c8f2551b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/RelationshipInterest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_RelationshipInterest extends Google_Model
+{
+ public $formattedValue;
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $value;
+
+ public function setFormattedValue($formattedValue)
+ {
+ $this->formattedValue = $formattedValue;
+ }
+ public function getFormattedValue()
+ {
+ return $this->formattedValue;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/RelationshipStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/RelationshipStatus.php
new file mode 100644
index 00000000..bb81e569
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/RelationshipStatus.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_RelationshipStatus extends Google_Model
+{
+ public $formattedValue;
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $value;
+
+ public function setFormattedValue($formattedValue)
+ {
+ $this->formattedValue = $formattedValue;
+ }
+ public function getFormattedValue()
+ {
+ return $this->formattedValue;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Residence.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Residence.php
new file mode 100644
index 00000000..8a056f7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Residence.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Residence extends Google_Model
+{
+ public $current;
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $value;
+
+ public function setCurrent($current)
+ {
+ $this->current = $current;
+ }
+ public function getCurrent()
+ {
+ return $this->current;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Resource/People.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Resource/People.php
new file mode 100644
index 00000000..201b8ec6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Resource/People.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "people" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $peopleService = new Google_Service_People(...);
+ * $people = $peopleService->people;
+ * </code>
+ */
+class Google_Service_People_Resource_People extends Google_Service_Resource
+{
+ /**
+ * Provides information about a person resource for a resource name. Use
+ * `people/me` to indicate the authenticated user. (people.get)
+ *
+ * @param string $resourceName The resource name of the person to provide
+ * information about.
+ *
+ * - To get information about the authenticated user, specify `people/me`. - To
+ * get information about any user, specify the resource name that identifies
+ * the user, such as the resource names returned by
+ * [`people.connections.list`](/people/api/rest/v1/people.connections/list).
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestMask.includeField Comma-separated list of fields to
+ * be included in the response. Omitting this field will include all fields
+ * except for connections.list requests, which have a default mask that includes
+ * common fields like metadata, name, photo, and profile url. Each path should
+ * start with `person.`: for example, `person.names` or `person.photos`.
+ * @return Google_Service_People_Person
+ */
+ public function get($resourceName, $optParams = array())
+ {
+ $params = array('resourceName' => $resourceName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_People_Person");
+ }
+ /**
+ * Provides information about a list of specific people by specifying a list of
+ * requested resource names. Use `people/me` to indicate the authenticated user.
+ * (people.getBatchGet)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestMask.includeField Comma-separated list of fields to
+ * be included in the response. Omitting this field will include all fields
+ * except for connections.list requests, which have a default mask that includes
+ * common fields like metadata, name, photo, and profile url. Each path should
+ * start with `person.`: for example, `person.names` or `person.photos`.
+ * @opt_param string resourceNames The resource name, such as one returned by
+ * [`people.connections.list`](/people/api/rest/v1/people.connections/list), of
+ * one of the people to provide information about. You can include this
+ * parameter up to 50 times in one request.
+ * @return Google_Service_People_GetPeopleResponse
+ */
+ public function getBatchGet($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('getBatchGet', array($params), "Google_Service_People_GetPeopleResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Resource/PeopleConnections.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Resource/PeopleConnections.php
new file mode 100644
index 00000000..447af7c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Resource/PeopleConnections.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "connections" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $peopleService = new Google_Service_People(...);
+ * $connections = $peopleService->connections;
+ * </code>
+ */
+class Google_Service_People_Resource_PeopleConnections extends Google_Service_Resource
+{
+ /**
+ * Provides a list of the authenticated user's contacts merged with any linked
+ * profiles. (connections.listPeopleConnections)
+ *
+ * @param string $resourceName The resource name to return connections for. Only
+ * `people/me` is valid.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool requestSyncToken Whether the response should include a sync
+ * token, which can be used to get all changes since the last request.
+ * @opt_param string pageToken The token of the page to be returned.
+ * @opt_param string requestMask.includeField Comma-separated list of fields to
+ * be included in the response. Omitting this field will include all fields
+ * except for connections.list requests, which have a default mask that includes
+ * common fields like metadata, name, photo, and profile url. Each path should
+ * start with `person.`: for example, `person.names` or `person.photos`.
+ * @opt_param int pageSize The number of connections to include in the response.
+ * Valid values are between 1 and 500, inclusive. Defaults to 100.
+ * @opt_param string syncToken A sync token, returned by a previous call to
+ * `people.connections.list`. Only resources changed since the sync token was
+ * created will be returned.
+ * @opt_param string sortOrder The order in which the connections should be
+ * sorted. Defaults to `LAST_MODIFIED_ASCENDING`.
+ * @return Google_Service_People_ListConnectionsResponse
+ */
+ public function listPeopleConnections($resourceName, $optParams = array())
+ {
+ $params = array('resourceName' => $resourceName);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_People_ListConnectionsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Skill.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Skill.php
new file mode 100644
index 00000000..a54584d8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Skill.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Skill extends Google_Model
+{
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $value;
+
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Source.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Source.php
new file mode 100644
index 00000000..190b0fc2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Source.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Source extends Google_Model
+{
+ public $etag;
+ public $id;
+ protected $profileMetadataType = 'Google_Service_People_ProfileMetadata';
+ protected $profileMetadataDataType = '';
+ public $type;
+
+ 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 setProfileMetadata(Google_Service_People_ProfileMetadata $profileMetadata)
+ {
+ $this->profileMetadata = $profileMetadata;
+ }
+ public function getProfileMetadata()
+ {
+ return $this->profileMetadata;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Tagline.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Tagline.php
new file mode 100644
index 00000000..f17c7e39
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Tagline.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Tagline extends Google_Model
+{
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $value;
+
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Url.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Url.php
new file mode 100644
index 00000000..fb42d674
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Url.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_People_Url extends Google_Model
+{
+ public $formattedType;
+ protected $metadataType = 'Google_Service_People_FieldMetadata';
+ protected $metadataDataType = '';
+ public $type;
+ public $value;
+
+ public function setFormattedType($formattedType)
+ {
+ $this->formattedType = $formattedType;
+ }
+ public function getFormattedType()
+ {
+ return $this->formattedType;
+ }
+ public function setMetadata(Google_Service_People_FieldMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies.php
new file mode 100644
index 00000000..b6632567
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies.php
@@ -0,0 +1,299 @@
+<?php
+/*
+ * Copyright 2016 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 PlayMovies (v1).
+ *
+ * <p>
+ * Gets the delivery status of titles for Google Play Movies Partners.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/playmoviespartner/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_PlayMovies extends Google_Service
+{
+ /** View the digital assets you publish on Google Play Movies and TV. */
+ const PLAYMOVIES_PARTNER_READONLY =
+ "https://www.googleapis.com/auth/playmovies_partner.readonly";
+
+ public $accounts_avails;
+ public $accounts_orders;
+ public $accounts_storeInfos;
+ public $accounts_storeInfos_country;
+
+ /**
+ * Constructs the internal representation of the PlayMovies service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://playmoviespartner.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'playmoviespartner';
+
+ $this->accounts_avails = new Google_Service_PlayMovies_Resource_AccountsAvails(
+ $this,
+ $this->serviceName,
+ 'avails',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/accounts/{accountId}/avails/{availId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'availId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/accounts/{accountId}/avails',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'title' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'altIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pphNames' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'altId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'studioNames' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'territories' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_orders = new Google_Service_PlayMovies_Resource_AccountsOrders(
+ $this,
+ $this->serviceName,
+ 'orders',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/accounts/{accountId}/orders/{orderId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/accounts/{accountId}/orders',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'customId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pphNames' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'studioNames' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_storeInfos = new Google_Service_PlayMovies_Resource_AccountsStoreInfos(
+ $this,
+ $this->serviceName,
+ 'storeInfos',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1/accounts/{accountId}/storeInfos',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'studioNames' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'seasonIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'mids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pphNames' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'countries' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_storeInfos_country = new Google_Service_PlayMovies_Resource_AccountsStoreInfosCountry(
+ $this,
+ $this->serviceName,
+ 'country',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/accounts/{accountId}/storeInfos/{videoId}/country/{country}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'videoId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'country' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Avail.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Avail.php
new file mode 100644
index 00000000..2486e4e2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Avail.php
@@ -0,0 +1,319 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlayMovies_Avail extends Google_Collection
+{
+ protected $collection_key = 'pphNames';
+ public $altId;
+ public $availId;
+ public $captionExemption;
+ public $captionIncluded;
+ public $contentId;
+ public $displayName;
+ public $encodeId;
+ public $end;
+ public $episodeAltId;
+ public $episodeNumber;
+ public $episodeTitleInternalAlias;
+ public $formatProfile;
+ public $licenseType;
+ public $pphNames;
+ public $priceType;
+ public $priceValue;
+ public $productId;
+ public $ratingReason;
+ public $ratingSystem;
+ public $ratingValue;
+ public $releaseDate;
+ public $seasonAltId;
+ public $seasonNumber;
+ public $seasonTitleInternalAlias;
+ public $seriesAltId;
+ public $seriesTitleInternalAlias;
+ public $start;
+ public $storeLanguage;
+ public $suppressionLiftDate;
+ public $territory;
+ public $titleInternalAlias;
+ public $videoId;
+ public $workType;
+
+ public function setAltId($altId)
+ {
+ $this->altId = $altId;
+ }
+ public function getAltId()
+ {
+ return $this->altId;
+ }
+ public function setAvailId($availId)
+ {
+ $this->availId = $availId;
+ }
+ public function getAvailId()
+ {
+ return $this->availId;
+ }
+ public function setCaptionExemption($captionExemption)
+ {
+ $this->captionExemption = $captionExemption;
+ }
+ public function getCaptionExemption()
+ {
+ return $this->captionExemption;
+ }
+ public function setCaptionIncluded($captionIncluded)
+ {
+ $this->captionIncluded = $captionIncluded;
+ }
+ public function getCaptionIncluded()
+ {
+ return $this->captionIncluded;
+ }
+ public function setContentId($contentId)
+ {
+ $this->contentId = $contentId;
+ }
+ public function getContentId()
+ {
+ return $this->contentId;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setEncodeId($encodeId)
+ {
+ $this->encodeId = $encodeId;
+ }
+ public function getEncodeId()
+ {
+ return $this->encodeId;
+ }
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setEpisodeAltId($episodeAltId)
+ {
+ $this->episodeAltId = $episodeAltId;
+ }
+ public function getEpisodeAltId()
+ {
+ return $this->episodeAltId;
+ }
+ public function setEpisodeNumber($episodeNumber)
+ {
+ $this->episodeNumber = $episodeNumber;
+ }
+ public function getEpisodeNumber()
+ {
+ return $this->episodeNumber;
+ }
+ public function setEpisodeTitleInternalAlias($episodeTitleInternalAlias)
+ {
+ $this->episodeTitleInternalAlias = $episodeTitleInternalAlias;
+ }
+ public function getEpisodeTitleInternalAlias()
+ {
+ return $this->episodeTitleInternalAlias;
+ }
+ public function setFormatProfile($formatProfile)
+ {
+ $this->formatProfile = $formatProfile;
+ }
+ public function getFormatProfile()
+ {
+ return $this->formatProfile;
+ }
+ public function setLicenseType($licenseType)
+ {
+ $this->licenseType = $licenseType;
+ }
+ public function getLicenseType()
+ {
+ return $this->licenseType;
+ }
+ public function setPphNames($pphNames)
+ {
+ $this->pphNames = $pphNames;
+ }
+ public function getPphNames()
+ {
+ return $this->pphNames;
+ }
+ public function setPriceType($priceType)
+ {
+ $this->priceType = $priceType;
+ }
+ public function getPriceType()
+ {
+ return $this->priceType;
+ }
+ public function setPriceValue($priceValue)
+ {
+ $this->priceValue = $priceValue;
+ }
+ public function getPriceValue()
+ {
+ return $this->priceValue;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setRatingReason($ratingReason)
+ {
+ $this->ratingReason = $ratingReason;
+ }
+ public function getRatingReason()
+ {
+ return $this->ratingReason;
+ }
+ public function setRatingSystem($ratingSystem)
+ {
+ $this->ratingSystem = $ratingSystem;
+ }
+ public function getRatingSystem()
+ {
+ return $this->ratingSystem;
+ }
+ public function setRatingValue($ratingValue)
+ {
+ $this->ratingValue = $ratingValue;
+ }
+ public function getRatingValue()
+ {
+ return $this->ratingValue;
+ }
+ public function setReleaseDate($releaseDate)
+ {
+ $this->releaseDate = $releaseDate;
+ }
+ public function getReleaseDate()
+ {
+ return $this->releaseDate;
+ }
+ public function setSeasonAltId($seasonAltId)
+ {
+ $this->seasonAltId = $seasonAltId;
+ }
+ public function getSeasonAltId()
+ {
+ return $this->seasonAltId;
+ }
+ public function setSeasonNumber($seasonNumber)
+ {
+ $this->seasonNumber = $seasonNumber;
+ }
+ public function getSeasonNumber()
+ {
+ return $this->seasonNumber;
+ }
+ public function setSeasonTitleInternalAlias($seasonTitleInternalAlias)
+ {
+ $this->seasonTitleInternalAlias = $seasonTitleInternalAlias;
+ }
+ public function getSeasonTitleInternalAlias()
+ {
+ return $this->seasonTitleInternalAlias;
+ }
+ public function setSeriesAltId($seriesAltId)
+ {
+ $this->seriesAltId = $seriesAltId;
+ }
+ public function getSeriesAltId()
+ {
+ return $this->seriesAltId;
+ }
+ public function setSeriesTitleInternalAlias($seriesTitleInternalAlias)
+ {
+ $this->seriesTitleInternalAlias = $seriesTitleInternalAlias;
+ }
+ public function getSeriesTitleInternalAlias()
+ {
+ return $this->seriesTitleInternalAlias;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+ public function setStoreLanguage($storeLanguage)
+ {
+ $this->storeLanguage = $storeLanguage;
+ }
+ public function getStoreLanguage()
+ {
+ return $this->storeLanguage;
+ }
+ public function setSuppressionLiftDate($suppressionLiftDate)
+ {
+ $this->suppressionLiftDate = $suppressionLiftDate;
+ }
+ public function getSuppressionLiftDate()
+ {
+ return $this->suppressionLiftDate;
+ }
+ public function setTerritory($territory)
+ {
+ $this->territory = $territory;
+ }
+ public function getTerritory()
+ {
+ return $this->territory;
+ }
+ public function setTitleInternalAlias($titleInternalAlias)
+ {
+ $this->titleInternalAlias = $titleInternalAlias;
+ }
+ public function getTitleInternalAlias()
+ {
+ return $this->titleInternalAlias;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+ public function setWorkType($workType)
+ {
+ $this->workType = $workType;
+ }
+ public function getWorkType()
+ {
+ return $this->workType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Component.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Component.php
new file mode 100644
index 00000000..18254d25
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Component.php
@@ -0,0 +1,220 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlayMovies_Component extends Google_Collection
+{
+ protected $collection_key = 'titleLevelEidrs';
+ public $altCutIds;
+ public $approvedTime;
+ public $componentDetailType;
+ public $componentId;
+ public $customIds;
+ public $editLevelEidrs;
+ public $elIds;
+ public $filename;
+ public $language;
+ public $name;
+ public $normalizedPriority;
+ public $playableUnitType;
+ public $pphName;
+ public $priority;
+ public $processingErrors;
+ public $receivedTime;
+ public $rejectionNote;
+ public $status;
+ public $statusDetail;
+ public $studioName;
+ public $titleLevelEidrs;
+ public $type;
+
+ public function setAltCutIds($altCutIds)
+ {
+ $this->altCutIds = $altCutIds;
+ }
+ public function getAltCutIds()
+ {
+ return $this->altCutIds;
+ }
+ public function setApprovedTime($approvedTime)
+ {
+ $this->approvedTime = $approvedTime;
+ }
+ public function getApprovedTime()
+ {
+ return $this->approvedTime;
+ }
+ public function setComponentDetailType($componentDetailType)
+ {
+ $this->componentDetailType = $componentDetailType;
+ }
+ public function getComponentDetailType()
+ {
+ return $this->componentDetailType;
+ }
+ public function setComponentId($componentId)
+ {
+ $this->componentId = $componentId;
+ }
+ public function getComponentId()
+ {
+ return $this->componentId;
+ }
+ public function setCustomIds($customIds)
+ {
+ $this->customIds = $customIds;
+ }
+ public function getCustomIds()
+ {
+ return $this->customIds;
+ }
+ public function setEditLevelEidrs($editLevelEidrs)
+ {
+ $this->editLevelEidrs = $editLevelEidrs;
+ }
+ public function getEditLevelEidrs()
+ {
+ return $this->editLevelEidrs;
+ }
+ public function setElIds($elIds)
+ {
+ $this->elIds = $elIds;
+ }
+ public function getElIds()
+ {
+ return $this->elIds;
+ }
+ public function setFilename($filename)
+ {
+ $this->filename = $filename;
+ }
+ public function getFilename()
+ {
+ return $this->filename;
+ }
+ 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;
+ }
+ public function setNormalizedPriority($normalizedPriority)
+ {
+ $this->normalizedPriority = $normalizedPriority;
+ }
+ public function getNormalizedPriority()
+ {
+ return $this->normalizedPriority;
+ }
+ public function setPlayableUnitType($playableUnitType)
+ {
+ $this->playableUnitType = $playableUnitType;
+ }
+ public function getPlayableUnitType()
+ {
+ return $this->playableUnitType;
+ }
+ public function setPphName($pphName)
+ {
+ $this->pphName = $pphName;
+ }
+ public function getPphName()
+ {
+ return $this->pphName;
+ }
+ public function setPriority($priority)
+ {
+ $this->priority = $priority;
+ }
+ public function getPriority()
+ {
+ return $this->priority;
+ }
+ public function setProcessingErrors($processingErrors)
+ {
+ $this->processingErrors = $processingErrors;
+ }
+ public function getProcessingErrors()
+ {
+ return $this->processingErrors;
+ }
+ public function setReceivedTime($receivedTime)
+ {
+ $this->receivedTime = $receivedTime;
+ }
+ public function getReceivedTime()
+ {
+ return $this->receivedTime;
+ }
+ public function setRejectionNote($rejectionNote)
+ {
+ $this->rejectionNote = $rejectionNote;
+ }
+ public function getRejectionNote()
+ {
+ return $this->rejectionNote;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusDetail($statusDetail)
+ {
+ $this->statusDetail = $statusDetail;
+ }
+ public function getStatusDetail()
+ {
+ return $this->statusDetail;
+ }
+ public function setStudioName($studioName)
+ {
+ $this->studioName = $studioName;
+ }
+ public function getStudioName()
+ {
+ return $this->studioName;
+ }
+ public function setTitleLevelEidrs($titleLevelEidrs)
+ {
+ $this->titleLevelEidrs = $titleLevelEidrs;
+ }
+ public function getTitleLevelEidrs()
+ {
+ return $this->titleLevelEidrs;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ExperienceLocale.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ExperienceLocale.php
new file mode 100644
index 00000000..5be5eb00
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ExperienceLocale.php
@@ -0,0 +1,229 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlayMovies_ExperienceLocale extends Google_Collection
+{
+ protected $collection_key = 'pphNames';
+ public $altCutId;
+ public $approvedTime;
+ public $channelId;
+ public $country;
+ public $createdTime;
+ public $customIds;
+ public $earliestAvailStartTime;
+ public $editLevelEidr;
+ public $elId;
+ public $inventoryId;
+ public $language;
+ public $name;
+ public $normalizedPriority;
+ public $playableSequenceId;
+ public $pphNames;
+ public $presentationId;
+ public $priority;
+ public $status;
+ public $studioName;
+ public $titleLevelEidr;
+ public $trailerId;
+ public $type;
+ public $videoId;
+
+ public function setAltCutId($altCutId)
+ {
+ $this->altCutId = $altCutId;
+ }
+ public function getAltCutId()
+ {
+ return $this->altCutId;
+ }
+ public function setApprovedTime($approvedTime)
+ {
+ $this->approvedTime = $approvedTime;
+ }
+ public function getApprovedTime()
+ {
+ return $this->approvedTime;
+ }
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setCreatedTime($createdTime)
+ {
+ $this->createdTime = $createdTime;
+ }
+ public function getCreatedTime()
+ {
+ return $this->createdTime;
+ }
+ public function setCustomIds($customIds)
+ {
+ $this->customIds = $customIds;
+ }
+ public function getCustomIds()
+ {
+ return $this->customIds;
+ }
+ public function setEarliestAvailStartTime($earliestAvailStartTime)
+ {
+ $this->earliestAvailStartTime = $earliestAvailStartTime;
+ }
+ public function getEarliestAvailStartTime()
+ {
+ return $this->earliestAvailStartTime;
+ }
+ public function setEditLevelEidr($editLevelEidr)
+ {
+ $this->editLevelEidr = $editLevelEidr;
+ }
+ public function getEditLevelEidr()
+ {
+ return $this->editLevelEidr;
+ }
+ public function setElId($elId)
+ {
+ $this->elId = $elId;
+ }
+ public function getElId()
+ {
+ return $this->elId;
+ }
+ public function setInventoryId($inventoryId)
+ {
+ $this->inventoryId = $inventoryId;
+ }
+ public function getInventoryId()
+ {
+ return $this->inventoryId;
+ }
+ 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;
+ }
+ public function setNormalizedPriority($normalizedPriority)
+ {
+ $this->normalizedPriority = $normalizedPriority;
+ }
+ public function getNormalizedPriority()
+ {
+ return $this->normalizedPriority;
+ }
+ public function setPlayableSequenceId($playableSequenceId)
+ {
+ $this->playableSequenceId = $playableSequenceId;
+ }
+ public function getPlayableSequenceId()
+ {
+ return $this->playableSequenceId;
+ }
+ public function setPphNames($pphNames)
+ {
+ $this->pphNames = $pphNames;
+ }
+ public function getPphNames()
+ {
+ return $this->pphNames;
+ }
+ public function setPresentationId($presentationId)
+ {
+ $this->presentationId = $presentationId;
+ }
+ public function getPresentationId()
+ {
+ return $this->presentationId;
+ }
+ public function setPriority($priority)
+ {
+ $this->priority = $priority;
+ }
+ public function getPriority()
+ {
+ return $this->priority;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStudioName($studioName)
+ {
+ $this->studioName = $studioName;
+ }
+ public function getStudioName()
+ {
+ return $this->studioName;
+ }
+ public function setTitleLevelEidr($titleLevelEidr)
+ {
+ $this->titleLevelEidr = $titleLevelEidr;
+ }
+ public function getTitleLevelEidr()
+ {
+ return $this->titleLevelEidr;
+ }
+ public function setTrailerId($trailerId)
+ {
+ $this->trailerId = $trailerId;
+ }
+ public function getTrailerId()
+ {
+ return $this->trailerId;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListAvailsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListAvailsResponse.php
new file mode 100644
index 00000000..d9d0b024
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListAvailsResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlayMovies_ListAvailsResponse extends Google_Collection
+{
+ protected $collection_key = 'avails';
+ protected $availsType = 'Google_Service_PlayMovies_Avail';
+ protected $availsDataType = 'array';
+ public $nextPageToken;
+ public $totalSize;
+
+ public function setAvails($avails)
+ {
+ $this->avails = $avails;
+ }
+ public function getAvails()
+ {
+ return $this->avails;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalSize($totalSize)
+ {
+ $this->totalSize = $totalSize;
+ }
+ public function getTotalSize()
+ {
+ return $this->totalSize;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListComponentsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListComponentsResponse.php
new file mode 100644
index 00000000..0b7d6d1d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListComponentsResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlayMovies_ListComponentsResponse extends Google_Collection
+{
+ protected $collection_key = 'components';
+ protected $componentsType = 'Google_Service_PlayMovies_Component';
+ protected $componentsDataType = 'array';
+ public $nextPageToken;
+ public $totalSize;
+
+ public function setComponents($components)
+ {
+ $this->components = $components;
+ }
+ public function getComponents()
+ {
+ return $this->components;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalSize($totalSize)
+ {
+ $this->totalSize = $totalSize;
+ }
+ public function getTotalSize()
+ {
+ return $this->totalSize;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListExperienceLocalesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListExperienceLocalesResponse.php
new file mode 100644
index 00000000..759d168a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListExperienceLocalesResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlayMovies_ListExperienceLocalesResponse extends Google_Collection
+{
+ protected $collection_key = 'experienceLocales';
+ protected $experienceLocalesType = 'Google_Service_PlayMovies_ExperienceLocale';
+ protected $experienceLocalesDataType = 'array';
+ public $nextPageToken;
+ public $totalSize;
+
+ public function setExperienceLocales($experienceLocales)
+ {
+ $this->experienceLocales = $experienceLocales;
+ }
+ public function getExperienceLocales()
+ {
+ return $this->experienceLocales;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalSize($totalSize)
+ {
+ $this->totalSize = $totalSize;
+ }
+ public function getTotalSize()
+ {
+ return $this->totalSize;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListOrdersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListOrdersResponse.php
new file mode 100644
index 00000000..4310ffa8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListOrdersResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlayMovies_ListOrdersResponse extends Google_Collection
+{
+ protected $collection_key = 'orders';
+ public $nextPageToken;
+ protected $ordersType = 'Google_Service_PlayMovies_Order';
+ protected $ordersDataType = 'array';
+ public $totalSize;
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOrders($orders)
+ {
+ $this->orders = $orders;
+ }
+ public function getOrders()
+ {
+ return $this->orders;
+ }
+ public function setTotalSize($totalSize)
+ {
+ $this->totalSize = $totalSize;
+ }
+ public function getTotalSize()
+ {
+ return $this->totalSize;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListStoreInfosResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListStoreInfosResponse.php
new file mode 100644
index 00000000..cf6ee714
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListStoreInfosResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlayMovies_ListStoreInfosResponse extends Google_Collection
+{
+ protected $collection_key = 'storeInfos';
+ public $nextPageToken;
+ protected $storeInfosType = 'Google_Service_PlayMovies_StoreInfo';
+ protected $storeInfosDataType = 'array';
+ public $totalSize;
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setStoreInfos($storeInfos)
+ {
+ $this->storeInfos = $storeInfos;
+ }
+ public function getStoreInfos()
+ {
+ return $this->storeInfos;
+ }
+ public function setTotalSize($totalSize)
+ {
+ $this->totalSize = $totalSize;
+ }
+ public function getTotalSize()
+ {
+ return $this->totalSize;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Order.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Order.php
new file mode 100644
index 00000000..9566397d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Order.php
@@ -0,0 +1,229 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlayMovies_Order extends Google_Collection
+{
+ protected $collection_key = 'countries';
+ public $approvedTime;
+ public $channelId;
+ public $channelName;
+ public $countries;
+ public $customId;
+ public $earliestAvailStartTime;
+ public $episodeName;
+ public $legacyPriority;
+ public $name;
+ public $normalizedPriority;
+ public $orderId;
+ public $orderedTime;
+ public $pphName;
+ public $priority;
+ public $receivedTime;
+ public $rejectionNote;
+ public $seasonName;
+ public $showName;
+ public $status;
+ public $statusDetail;
+ public $studioName;
+ public $type;
+ public $videoId;
+
+ public function setApprovedTime($approvedTime)
+ {
+ $this->approvedTime = $approvedTime;
+ }
+ public function getApprovedTime()
+ {
+ return $this->approvedTime;
+ }
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setChannelName($channelName)
+ {
+ $this->channelName = $channelName;
+ }
+ public function getChannelName()
+ {
+ return $this->channelName;
+ }
+ public function setCountries($countries)
+ {
+ $this->countries = $countries;
+ }
+ public function getCountries()
+ {
+ return $this->countries;
+ }
+ public function setCustomId($customId)
+ {
+ $this->customId = $customId;
+ }
+ public function getCustomId()
+ {
+ return $this->customId;
+ }
+ public function setEarliestAvailStartTime($earliestAvailStartTime)
+ {
+ $this->earliestAvailStartTime = $earliestAvailStartTime;
+ }
+ public function getEarliestAvailStartTime()
+ {
+ return $this->earliestAvailStartTime;
+ }
+ public function setEpisodeName($episodeName)
+ {
+ $this->episodeName = $episodeName;
+ }
+ public function getEpisodeName()
+ {
+ return $this->episodeName;
+ }
+ public function setLegacyPriority($legacyPriority)
+ {
+ $this->legacyPriority = $legacyPriority;
+ }
+ public function getLegacyPriority()
+ {
+ return $this->legacyPriority;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNormalizedPriority($normalizedPriority)
+ {
+ $this->normalizedPriority = $normalizedPriority;
+ }
+ public function getNormalizedPriority()
+ {
+ return $this->normalizedPriority;
+ }
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+ }
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+ public function setOrderedTime($orderedTime)
+ {
+ $this->orderedTime = $orderedTime;
+ }
+ public function getOrderedTime()
+ {
+ return $this->orderedTime;
+ }
+ public function setPphName($pphName)
+ {
+ $this->pphName = $pphName;
+ }
+ public function getPphName()
+ {
+ return $this->pphName;
+ }
+ public function setPriority($priority)
+ {
+ $this->priority = $priority;
+ }
+ public function getPriority()
+ {
+ return $this->priority;
+ }
+ public function setReceivedTime($receivedTime)
+ {
+ $this->receivedTime = $receivedTime;
+ }
+ public function getReceivedTime()
+ {
+ return $this->receivedTime;
+ }
+ public function setRejectionNote($rejectionNote)
+ {
+ $this->rejectionNote = $rejectionNote;
+ }
+ public function getRejectionNote()
+ {
+ return $this->rejectionNote;
+ }
+ public function setSeasonName($seasonName)
+ {
+ $this->seasonName = $seasonName;
+ }
+ public function getSeasonName()
+ {
+ return $this->seasonName;
+ }
+ public function setShowName($showName)
+ {
+ $this->showName = $showName;
+ }
+ public function getShowName()
+ {
+ return $this->showName;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusDetail($statusDetail)
+ {
+ $this->statusDetail = $statusDetail;
+ }
+ public function getStatusDetail()
+ {
+ return $this->statusDetail;
+ }
+ public function setStudioName($studioName)
+ {
+ $this->studioName = $studioName;
+ }
+ public function getStudioName()
+ {
+ return $this->studioName;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/Accounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/Accounts.php
new file mode 100644
index 00000000..cdae3bf1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/Accounts.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $playmoviespartnerService = new Google_Service_PlayMovies(...);
+ * $accounts = $playmoviespartnerService->accounts;
+ * </code>
+ */
+class Google_Service_PlayMovies_Resource_Accounts extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsAvails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsAvails.php
new file mode 100644
index 00000000..36e258c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsAvails.php
@@ -0,0 +1,82 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "avails" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $playmoviespartnerService = new Google_Service_PlayMovies(...);
+ * $avails = $playmoviespartnerService->avails;
+ * </code>
+ */
+class Google_Service_PlayMovies_Resource_AccountsAvails extends Google_Service_Resource
+{
+ /**
+ * Get an Avail given its avail group id and avail id. (avails.get)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param string $availId REQUIRED. Avail ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_PlayMovies_Avail
+ */
+ public function get($accountId, $availId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'availId' => $availId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_PlayMovies_Avail");
+ }
+ /**
+ * List Avails owned or managed by the partner.
+ *
+ * See _Authentication and Authorization rules_ and _List methods rules_ for
+ * more information about this method. (avails.listAccountsAvails)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string title Filter that matches Avails with a
+ * `title_internal_alias`, `series_title_internal_alias`,
+ * `season_title_internal_alias`, or `episode_title_internal_alias` that
+ * contains the given case-insensitive title.
+ * @opt_param string pageToken See _List methods rules_ for info about this
+ * field.
+ * @opt_param string videoIds Filter Avails that match any of the given
+ * `video_id`s.
+ * @opt_param int pageSize See _List methods rules_ for info about this field.
+ * @opt_param string altIds Filter Avails that match (case-insensitive) any of
+ * the given partner-specific custom ids.
+ * @opt_param string pphNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string altId Filter Avails that match a case-insensitive, partner-
+ * specific custom id. NOTE: this field is deprecated and will be removed on V2;
+ * `alt_ids` should be used instead.
+ * @opt_param string studioNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string territories Filter Avails that match (case-insensitive) any
+ * of the given country codes, using the "ISO 3166-1 alpha-2" format (examples:
+ * "US", "us", "Us").
+ * @return Google_Service_PlayMovies_ListAvailsResponse
+ */
+ public function listAccountsAvails($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_PlayMovies_ListAvailsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsComponents.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsComponents.php
new file mode 100644
index 00000000..1dcd25fb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsComponents.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "components" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $playmoviespartnerService = new Google_Service_PlayMovies(...);
+ * $components = $playmoviespartnerService->components;
+ * </code>
+ */
+class Google_Service_PlayMovies_Resource_AccountsComponents extends Google_Service_Resource
+{
+ /**
+ * List Components owned or managed by the partner. See _Authentication and
+ * Authorization rules_ and _List methods rules_ for more information about this
+ * method. (components.listAccountsComponents)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize See _List methods rules_ for info about this field.
+ * @opt_param string pageToken See _List methods rules_ for info about this
+ * field.
+ * @opt_param string pphNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string studioNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string titleLevelEidr Filter Components that match a given title-
+ * level EIDR.
+ * @opt_param string editLevelEidr Filter Components that match a given edit-
+ * level EIDR.
+ * @opt_param string status Filter Components that match one of the given
+ * status.
+ * @opt_param string customId Filter Components that match a case-insensitive
+ * partner-specific custom id.
+ * @opt_param string inventoryId InventoryID available in Common Manifest.
+ * @opt_param string presentationId PresentationID available in Common Manifest.
+ * @opt_param string playableSequenceId PlayableSequenceID available in Common
+ * Manifest.
+ * @opt_param string elId Experience ID, as defined by Google.
+ * @opt_param string altCutId Filter Components that match a case-insensitive,
+ * partner-specific Alternative Cut ID.
+ * @opt_param string filename Filter Components that match a case-insensitive
+ * substring of the physical name of the delivered file.
+ * @return Google_Service_PlayMovies_ListComponentsResponse
+ */
+ public function listAccountsComponents($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_PlayMovies_ListComponentsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsComponentsType.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsComponentsType.php
new file mode 100644
index 00000000..e19aa37d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsComponentsType.php
@@ -0,0 +1,44 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "type" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $playmoviespartnerService = new Google_Service_PlayMovies(...);
+ * $type = $playmoviespartnerService->type;
+ * </code>
+ */
+class Google_Service_PlayMovies_Resource_AccountsComponentsType extends Google_Service_Resource
+{
+ /**
+ * Get a Component given its id. (type.get)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param string $componentId REQUIRED. Component ID.
+ * @param string $type REQUIRED. Component Type.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_PlayMovies_Component
+ */
+ public function get($accountId, $componentId, $type, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'componentId' => $componentId, 'type' => $type);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_PlayMovies_Component");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsExperienceLocales.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsExperienceLocales.php
new file mode 100644
index 00000000..5100b158
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsExperienceLocales.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "experienceLocales" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $playmoviespartnerService = new Google_Service_PlayMovies(...);
+ * $experienceLocales = $playmoviespartnerService->experienceLocales;
+ * </code>
+ */
+class Google_Service_PlayMovies_Resource_AccountsExperienceLocales extends Google_Service_Resource
+{
+ /**
+ * Get an ExperienceLocale given its id. See _Authentication and Authorization
+ * rules_ and _Get methods rules_ for more information about this method.
+ * (experienceLocales.get)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param string $elId REQUIRED. ExperienceLocale ID, as defined by Google.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_PlayMovies_ExperienceLocale
+ */
+ public function get($accountId, $elId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'elId' => $elId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_PlayMovies_ExperienceLocale");
+ }
+ /**
+ * List ExperienceLocales owned or managed by the partner. See _Authentication
+ * and Authorization rules_ and _List methods rules_ for more information about
+ * this method. (experienceLocales.listAccountsExperienceLocales)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize See _List methods rules_ for info about this field.
+ * @opt_param string pageToken See _List methods rules_ for info about this
+ * field.
+ * @opt_param string pphNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string studioNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string titleLevelEidr Filter ExperienceLocales that match a given
+ * title-level EIDR.
+ * @opt_param string editLevelEidr Filter ExperienceLocales that match a given
+ * edit-level EIDR.
+ * @opt_param string status Filter ExperienceLocales that match one of the given
+ * status.
+ * @opt_param string customId Filter ExperienceLocales that match a case-
+ * insensitive, partner-specific custom id.
+ * @opt_param string altCutId Filter ExperienceLocales that match a case-
+ * insensitive, partner-specific Alternative Cut ID.
+ * @return Google_Service_PlayMovies_ListExperienceLocalesResponse
+ */
+ public function listAccountsExperienceLocales($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_PlayMovies_ListExperienceLocalesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsOrders.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsOrders.php
new file mode 100644
index 00000000..0909ddd3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsOrders.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "orders" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $playmoviespartnerService = new Google_Service_PlayMovies(...);
+ * $orders = $playmoviespartnerService->orders;
+ * </code>
+ */
+class Google_Service_PlayMovies_Resource_AccountsOrders extends Google_Service_Resource
+{
+ /**
+ * Get an Order given its id.
+ *
+ * See _Authentication and Authorization rules_ and _Get methods rules_ for more
+ * information about this method. (orders.get)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param string $orderId REQUIRED. Order ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_PlayMovies_Order
+ */
+ public function get($accountId, $orderId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'orderId' => $orderId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_PlayMovies_Order");
+ }
+ /**
+ * List Orders owned or managed by the partner.
+ *
+ * See _Authentication and Authorization rules_ and _List methods rules_ for
+ * more information about this method. (orders.listAccountsOrders)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken See _List methods rules_ for info about this
+ * field.
+ * @opt_param string videoIds Filter Orders that match any of the given
+ * `video_id`s.
+ * @opt_param string customId Filter Orders that match a case-insensitive,
+ * partner-specific custom id.
+ * @opt_param int pageSize See _List methods rules_ for info about this field.
+ * @opt_param string pphNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string status Filter Orders that match one of the given status.
+ * @opt_param string name Filter that matches Orders with a `name`, `show`,
+ * `season` or `episode` that contains the given case-insensitive name.
+ * @opt_param string studioNames See _List methods rules_ for info about this
+ * field.
+ * @return Google_Service_PlayMovies_ListOrdersResponse
+ */
+ public function listAccountsOrders($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_PlayMovies_ListOrdersResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsStoreInfos.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsStoreInfos.php
new file mode 100644
index 00000000..69754099
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsStoreInfos.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "storeInfos" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $playmoviespartnerService = new Google_Service_PlayMovies(...);
+ * $storeInfos = $playmoviespartnerService->storeInfos;
+ * </code>
+ */
+class Google_Service_PlayMovies_Resource_AccountsStoreInfos extends Google_Service_Resource
+{
+ /**
+ * List StoreInfos owned or managed by the partner.
+ *
+ * See _Authentication and Authorization rules_ and _List methods rules_ for
+ * more information about this method. (storeInfos.listAccountsStoreInfos)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string name Filter that matches StoreInfos with a `name` or
+ * `show_name` that contains the given case-insensitive name.
+ * @opt_param string studioNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string seasonIds Filter StoreInfos that match any of the given
+ * `season_id`s.
+ * @opt_param string pageToken See _List methods rules_ for info about this
+ * field.
+ * @opt_param string videoId Filter StoreInfos that match a given `video_id`.
+ * NOTE: this field is deprecated and will be removed on V2; `video_ids` should
+ * be used instead.
+ * @opt_param string videoIds Filter StoreInfos that match any of the given
+ * `video_id`s.
+ * @opt_param int pageSize See _List methods rules_ for info about this field.
+ * @opt_param string mids Filter StoreInfos that match any of the given `mid`s.
+ * @opt_param string pphNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string countries Filter StoreInfos that match (case-insensitive)
+ * any of the given country codes, using the "ISO 3166-1 alpha-2" format
+ * (examples: "US", "us", "Us").
+ * @return Google_Service_PlayMovies_ListStoreInfosResponse
+ */
+ public function listAccountsStoreInfos($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_PlayMovies_ListStoreInfosResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsStoreInfosCountry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsStoreInfosCountry.php
new file mode 100644
index 00000000..9d1c8686
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsStoreInfosCountry.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "country" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $playmoviespartnerService = new Google_Service_PlayMovies(...);
+ * $country = $playmoviespartnerService->country;
+ * </code>
+ */
+class Google_Service_PlayMovies_Resource_AccountsStoreInfosCountry extends Google_Service_Resource
+{
+ /**
+ * Get a StoreInfo given its video id and country.
+ *
+ * See _Authentication and Authorization rules_ and _Get methods rules_ for more
+ * information about this method. (country.get)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param string $videoId REQUIRED. Video ID.
+ * @param string $country REQUIRED. Edit country.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_PlayMovies_StoreInfo
+ */
+ public function get($accountId, $videoId, $country, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'videoId' => $videoId, 'country' => $country);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_PlayMovies_StoreInfo");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/StoreInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/StoreInfo.php
new file mode 100644
index 00000000..2f254506
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/StoreInfo.php
@@ -0,0 +1,247 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlayMovies_StoreInfo extends Google_Collection
+{
+ protected $collection_key = 'subtitles';
+ public $audioTracks;
+ public $country;
+ public $editLevelEidr;
+ public $episodeNumber;
+ public $hasAudio51;
+ public $hasEstOffer;
+ public $hasHdOffer;
+ public $hasInfoCards;
+ public $hasSdOffer;
+ public $hasVodOffer;
+ public $liveTime;
+ public $mid;
+ public $name;
+ public $pphNames;
+ public $seasonId;
+ public $seasonName;
+ public $seasonNumber;
+ public $showId;
+ public $showName;
+ public $studioName;
+ public $subtitles;
+ public $titleLevelEidr;
+ public $trailerId;
+ public $type;
+ public $videoId;
+
+ public function setAudioTracks($audioTracks)
+ {
+ $this->audioTracks = $audioTracks;
+ }
+ public function getAudioTracks()
+ {
+ return $this->audioTracks;
+ }
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setEditLevelEidr($editLevelEidr)
+ {
+ $this->editLevelEidr = $editLevelEidr;
+ }
+ public function getEditLevelEidr()
+ {
+ return $this->editLevelEidr;
+ }
+ public function setEpisodeNumber($episodeNumber)
+ {
+ $this->episodeNumber = $episodeNumber;
+ }
+ public function getEpisodeNumber()
+ {
+ return $this->episodeNumber;
+ }
+ public function setHasAudio51($hasAudio51)
+ {
+ $this->hasAudio51 = $hasAudio51;
+ }
+ public function getHasAudio51()
+ {
+ return $this->hasAudio51;
+ }
+ public function setHasEstOffer($hasEstOffer)
+ {
+ $this->hasEstOffer = $hasEstOffer;
+ }
+ public function getHasEstOffer()
+ {
+ return $this->hasEstOffer;
+ }
+ public function setHasHdOffer($hasHdOffer)
+ {
+ $this->hasHdOffer = $hasHdOffer;
+ }
+ public function getHasHdOffer()
+ {
+ return $this->hasHdOffer;
+ }
+ public function setHasInfoCards($hasInfoCards)
+ {
+ $this->hasInfoCards = $hasInfoCards;
+ }
+ public function getHasInfoCards()
+ {
+ return $this->hasInfoCards;
+ }
+ public function setHasSdOffer($hasSdOffer)
+ {
+ $this->hasSdOffer = $hasSdOffer;
+ }
+ public function getHasSdOffer()
+ {
+ return $this->hasSdOffer;
+ }
+ public function setHasVodOffer($hasVodOffer)
+ {
+ $this->hasVodOffer = $hasVodOffer;
+ }
+ public function getHasVodOffer()
+ {
+ return $this->hasVodOffer;
+ }
+ public function setLiveTime($liveTime)
+ {
+ $this->liveTime = $liveTime;
+ }
+ public function getLiveTime()
+ {
+ return $this->liveTime;
+ }
+ 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 setPphNames($pphNames)
+ {
+ $this->pphNames = $pphNames;
+ }
+ public function getPphNames()
+ {
+ return $this->pphNames;
+ }
+ public function setSeasonId($seasonId)
+ {
+ $this->seasonId = $seasonId;
+ }
+ public function getSeasonId()
+ {
+ return $this->seasonId;
+ }
+ public function setSeasonName($seasonName)
+ {
+ $this->seasonName = $seasonName;
+ }
+ public function getSeasonName()
+ {
+ return $this->seasonName;
+ }
+ public function setSeasonNumber($seasonNumber)
+ {
+ $this->seasonNumber = $seasonNumber;
+ }
+ public function getSeasonNumber()
+ {
+ return $this->seasonNumber;
+ }
+ public function setShowId($showId)
+ {
+ $this->showId = $showId;
+ }
+ public function getShowId()
+ {
+ return $this->showId;
+ }
+ public function setShowName($showName)
+ {
+ $this->showName = $showName;
+ }
+ public function getShowName()
+ {
+ return $this->showName;
+ }
+ public function setStudioName($studioName)
+ {
+ $this->studioName = $studioName;
+ }
+ public function getStudioName()
+ {
+ return $this->studioName;
+ }
+ public function setSubtitles($subtitles)
+ {
+ $this->subtitles = $subtitles;
+ }
+ public function getSubtitles()
+ {
+ return $this->subtitles;
+ }
+ public function setTitleLevelEidr($titleLevelEidr)
+ {
+ $this->titleLevelEidr = $titleLevelEidr;
+ }
+ public function getTitleLevelEidr()
+ {
+ return $this->titleLevelEidr;
+ }
+ public function setTrailerId($trailerId)
+ {
+ $this->trailerId = $trailerId;
+ }
+ public function getTrailerId()
+ {
+ return $this->trailerId;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner.php
new file mode 100644
index 00000000..d86c8263
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner.php
@@ -0,0 +1,339 @@
+<?php
+/*
+ * Copyright 2016 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 Playmoviespartner (v1).
+ *
+ * <p>
+ * Lets Google Play Movies Partners get the delivery status of their titles.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/playmoviespartner/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Playmoviespartner extends Google_Service
+{
+ /** View the digital assets you publish on Google Play Movies and TV. */
+ const PLAYMOVIES_PARTNER_READONLY =
+ "https://www.googleapis.com/auth/playmovies_partner.readonly";
+
+ public $accounts_avails;
+ public $accounts_experienceLocales;
+ public $accounts_orders;
+ public $accounts_storeInfos;
+ public $accounts_storeInfos_country;
+
+ /**
+ * Constructs the internal representation of the Playmoviespartner service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://playmoviespartner.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'playmoviespartner';
+
+ $this->accounts_avails = new Google_Service_Playmoviespartner_AccountsAvailsResource(
+ $this,
+ $this->serviceName,
+ 'avails',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1/accounts/{accountId}/avails',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pphNames' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'studioNames' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'title' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'territories' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'altId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_experienceLocales = new Google_Service_Playmoviespartner_AccountsExperienceLocalesResource(
+ $this,
+ $this->serviceName,
+ 'experienceLocales',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/accounts/{accountId}/experienceLocales/{elId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'elId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/accounts/{accountId}/experienceLocales',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pphNames' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'studioNames' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'titleLevelEidr' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'editLevelEidr' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'customId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'altCutId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_orders = new Google_Service_Playmoviespartner_AccountsOrdersResource(
+ $this,
+ $this->serviceName,
+ 'orders',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/accounts/{accountId}/orders/{orderId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/accounts/{accountId}/orders',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pphNames' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'studioNames' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'customId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_storeInfos = new Google_Service_Playmoviespartner_AccountsStoreInfosResource(
+ $this,
+ $this->serviceName,
+ 'storeInfos',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1/accounts/{accountId}/storeInfos',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pphNames' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'studioNames' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'videoId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'countries' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_storeInfos_country = new Google_Service_Playmoviespartner_AccountsStoreInfosCountryResource(
+ $this,
+ $this->serviceName,
+ 'country',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/accounts/{accountId}/storeInfos/{videoId}/country/{country}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'videoId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'country' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsAvailsResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsAvailsResource.php
new file mode 100644
index 00000000..24be08df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsAvailsResource.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "avails" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $playmoviespartnerService = new Google_Service_Playmoviespartner(...);
+ * $avails = $playmoviespartnerService->avails;
+ * </code>
+ */
+class Google_Service_Playmoviespartner_AccountsAvailsResource extends Google_Service_Resource
+{
+ /**
+ * List Avails owned or managed by the partner. See _Authentication and
+ * Authorization rules_ and _List methods rules_ for more information about this
+ * method. (avails.listAccountsAvails)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize See _List methods rules_ for info about this field.
+ * @opt_param string pageToken See _List methods rules_ for info about this
+ * field.
+ * @opt_param string pphNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string studioNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string title Filter Avails that match a case-insensitive substring
+ * of the default Title name.
+ * @opt_param string territories Filter Avails that match (case-insensitive) any
+ * of the given country codes, using the "ISO 3166-1 alpha-2" format (examples:
+ * "US", "us", "Us").
+ * @opt_param string altId Filter Avails that match a case-insensitive, partner-
+ * specific custom id.
+ * @opt_param string videoIds Filter Avails that match any of the given
+ * `video_id`s.
+ * @return Google_Service_Playmoviespartner_ListAvailsResponse
+ */
+ public function listAccountsAvails($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Playmoviespartner_ListAvailsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsExperienceLocalesResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsExperienceLocalesResource.php
new file mode 100644
index 00000000..8173afa1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsExperienceLocalesResource.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "experienceLocales" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $playmoviespartnerService = new Google_Service_Playmoviespartner(...);
+ * $experienceLocales = $playmoviespartnerService->experienceLocales;
+ * </code>
+ */
+class Google_Service_Playmoviespartner_AccountsExperienceLocalesResource extends Google_Service_Resource
+{
+ /**
+ * Get an ExperienceLocale given its id. See _Authentication and Authorization
+ * rules_ and _Get methods rules_ for more information about this method.
+ * (experienceLocales.get)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param string $elId REQUIRED. ExperienceLocale ID, as defined by Google.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Playmoviespartner_ExperienceLocale
+ */
+ public function get($accountId, $elId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'elId' => $elId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Playmoviespartner_ExperienceLocale");
+ }
+ /**
+ * List ExperienceLocales owned or managed by the partner. See _Authentication
+ * and Authorization rules_ and _List methods rules_ for more information about
+ * this method. (experienceLocales.listAccountsExperienceLocales)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize See _List methods rules_ for info about this field.
+ * @opt_param string pageToken See _List methods rules_ for info about this
+ * field.
+ * @opt_param string pphNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string studioNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string titleLevelEidr Filter ExperienceLocales that match a given
+ * title-level EIDR.
+ * @opt_param string editLevelEidr Filter ExperienceLocales that match a given
+ * edit-level EIDR.
+ * @opt_param string status Filter ExperienceLocales that match one of the given
+ * status.
+ * @opt_param string customId Filter ExperienceLocales that match a case-
+ * insensitive, partner-specific custom id.
+ * @opt_param string altCutId Filter ExperienceLocales that match a case-
+ * insensitive, partner-specific Alternative Cut ID.
+ * @return Google_Service_Playmoviespartner_ListExperienceLocalesResponse
+ */
+ public function listAccountsExperienceLocales($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Playmoviespartner_ListExperienceLocalesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsOrdersResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsOrdersResource.php
new file mode 100644
index 00000000..b1012d14
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsOrdersResource.php
@@ -0,0 +1,73 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "orders" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $playmoviespartnerService = new Google_Service_Playmoviespartner(...);
+ * $orders = $playmoviespartnerService->orders;
+ * </code>
+ */
+class Google_Service_Playmoviespartner_AccountsOrdersResource extends Google_Service_Resource
+{
+ /**
+ * Get an Order given its id. See _Authentication and Authorization rules_ and
+ * _Get methods rules_ for more information about this method. (orders.get)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param string $orderId REQUIRED. Order ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Playmoviespartner_Order
+ */
+ public function get($accountId, $orderId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'orderId' => $orderId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Playmoviespartner_Order");
+ }
+ /**
+ * List Orders owned or managed by the partner. See _Authentication and
+ * Authorization rules_ and _List methods rules_ for more information about this
+ * method. (orders.listAccountsOrders)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize See _List methods rules_ for info about this field.
+ * @opt_param string pageToken See _List methods rules_ for info about this
+ * field.
+ * @opt_param string pphNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string studioNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string name Filter Orders that match a title name (case-
+ * insensitive, sub-string match).
+ * @opt_param string status Filter Orders that match one of the given status.
+ * @opt_param string customId Filter Orders that match a case-insensitive,
+ * partner-specific custom id.
+ * @return Google_Service_Playmoviespartner_ListOrdersResponse
+ */
+ public function listAccountsOrders($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Playmoviespartner_ListOrdersResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsResource.php
new file mode 100644
index 00000000..36f65d25
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsResource.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $playmoviespartnerService = new Google_Service_Playmoviespartner(...);
+ * $accounts = $playmoviespartnerService->accounts;
+ * </code>
+ */
+class Google_Service_Playmoviespartner_AccountsResource extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsStoreInfosCountryResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsStoreInfosCountryResource.php
new file mode 100644
index 00000000..f49667a0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsStoreInfosCountryResource.php
@@ -0,0 +1,46 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "country" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $playmoviespartnerService = new Google_Service_Playmoviespartner(...);
+ * $country = $playmoviespartnerService->country;
+ * </code>
+ */
+class Google_Service_Playmoviespartner_AccountsStoreInfosCountryResource extends Google_Service_Resource
+{
+ /**
+ * Get a StoreInfo given its video id and country. See _Authentication and
+ * Authorization rules_ and _Get methods rules_ for more information about this
+ * method. (country.get)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param string $videoId REQUIRED. Video ID.
+ * @param string $country REQUIRED. Edit country.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Playmoviespartner_StoreInfo
+ */
+ public function get($accountId, $videoId, $country, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'videoId' => $videoId, 'country' => $country);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Playmoviespartner_StoreInfo");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsStoreInfosResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsStoreInfosResource.php
new file mode 100644
index 00000000..2cb9fcd1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsStoreInfosResource.php
@@ -0,0 +1,62 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "storeInfos" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $playmoviespartnerService = new Google_Service_Playmoviespartner(...);
+ * $storeInfos = $playmoviespartnerService->storeInfos;
+ * </code>
+ */
+class Google_Service_Playmoviespartner_AccountsStoreInfosResource extends Google_Service_Resource
+{
+ /**
+ * List StoreInfos owned or managed by the partner. See _Authentication and
+ * Authorization rules_ and _List methods rules_ for more information about this
+ * method. (storeInfos.listAccountsStoreInfos)
+ *
+ * @param string $accountId REQUIRED. See _General rules_ for more information
+ * about this field.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize See _List methods rules_ for info about this field.
+ * @opt_param string pageToken See _List methods rules_ for info about this
+ * field.
+ * @opt_param string pphNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string studioNames See _List methods rules_ for info about this
+ * field.
+ * @opt_param string videoId Filter StoreInfos that match a given `video_id`.
+ * NOTE: this field is deprecated and will be removed on V2; `video_ids` should
+ * be used instead.
+ * @opt_param string countries Filter StoreInfos that match (case-insensitive)
+ * any of the given country codes, using the "ISO 3166-1 alpha-2" format
+ * (examples: "US", "us", "Us").
+ * @opt_param string name Filter StoreInfos that match a case-insensitive
+ * substring of the default name.
+ * @opt_param string videoIds Filter StoreInfos that match any of the given
+ * `video_id`s.
+ * @return Google_Service_Playmoviespartner_ListStoreInfosResponse
+ */
+ public function listAccountsStoreInfos($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Playmoviespartner_ListStoreInfosResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/Avail.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/Avail.php
new file mode 100644
index 00000000..b17a5623
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/Avail.php
@@ -0,0 +1,310 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Playmoviespartner_Avail extends Google_Collection
+{
+ protected $collection_key = 'pphNames';
+ public $altId;
+ public $captionExemption;
+ public $captionIncluded;
+ public $contentId;
+ public $displayName;
+ public $encodeId;
+ public $end;
+ public $episodeAltId;
+ public $episodeNumber;
+ public $episodeTitleInternalAlias;
+ public $formatProfile;
+ public $licenseType;
+ public $pphNames;
+ public $priceType;
+ public $priceValue;
+ public $productId;
+ public $ratingReason;
+ public $ratingSystem;
+ public $ratingValue;
+ public $releaseDate;
+ public $seasonAltId;
+ public $seasonNumber;
+ public $seasonTitleInternalAlias;
+ public $seriesAltId;
+ public $seriesTitleInternalAlias;
+ public $start;
+ public $storeLanguage;
+ public $suppressionLiftDate;
+ public $territory;
+ public $titleInternalAlias;
+ public $videoId;
+ public $workType;
+
+ public function setAltId($altId)
+ {
+ $this->altId = $altId;
+ }
+ public function getAltId()
+ {
+ return $this->altId;
+ }
+ public function setCaptionExemption($captionExemption)
+ {
+ $this->captionExemption = $captionExemption;
+ }
+ public function getCaptionExemption()
+ {
+ return $this->captionExemption;
+ }
+ public function setCaptionIncluded($captionIncluded)
+ {
+ $this->captionIncluded = $captionIncluded;
+ }
+ public function getCaptionIncluded()
+ {
+ return $this->captionIncluded;
+ }
+ public function setContentId($contentId)
+ {
+ $this->contentId = $contentId;
+ }
+ public function getContentId()
+ {
+ return $this->contentId;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setEncodeId($encodeId)
+ {
+ $this->encodeId = $encodeId;
+ }
+ public function getEncodeId()
+ {
+ return $this->encodeId;
+ }
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setEpisodeAltId($episodeAltId)
+ {
+ $this->episodeAltId = $episodeAltId;
+ }
+ public function getEpisodeAltId()
+ {
+ return $this->episodeAltId;
+ }
+ public function setEpisodeNumber($episodeNumber)
+ {
+ $this->episodeNumber = $episodeNumber;
+ }
+ public function getEpisodeNumber()
+ {
+ return $this->episodeNumber;
+ }
+ public function setEpisodeTitleInternalAlias($episodeTitleInternalAlias)
+ {
+ $this->episodeTitleInternalAlias = $episodeTitleInternalAlias;
+ }
+ public function getEpisodeTitleInternalAlias()
+ {
+ return $this->episodeTitleInternalAlias;
+ }
+ public function setFormatProfile($formatProfile)
+ {
+ $this->formatProfile = $formatProfile;
+ }
+ public function getFormatProfile()
+ {
+ return $this->formatProfile;
+ }
+ public function setLicenseType($licenseType)
+ {
+ $this->licenseType = $licenseType;
+ }
+ public function getLicenseType()
+ {
+ return $this->licenseType;
+ }
+ public function setPphNames($pphNames)
+ {
+ $this->pphNames = $pphNames;
+ }
+ public function getPphNames()
+ {
+ return $this->pphNames;
+ }
+ public function setPriceType($priceType)
+ {
+ $this->priceType = $priceType;
+ }
+ public function getPriceType()
+ {
+ return $this->priceType;
+ }
+ public function setPriceValue($priceValue)
+ {
+ $this->priceValue = $priceValue;
+ }
+ public function getPriceValue()
+ {
+ return $this->priceValue;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setRatingReason($ratingReason)
+ {
+ $this->ratingReason = $ratingReason;
+ }
+ public function getRatingReason()
+ {
+ return $this->ratingReason;
+ }
+ public function setRatingSystem($ratingSystem)
+ {
+ $this->ratingSystem = $ratingSystem;
+ }
+ public function getRatingSystem()
+ {
+ return $this->ratingSystem;
+ }
+ public function setRatingValue($ratingValue)
+ {
+ $this->ratingValue = $ratingValue;
+ }
+ public function getRatingValue()
+ {
+ return $this->ratingValue;
+ }
+ public function setReleaseDate($releaseDate)
+ {
+ $this->releaseDate = $releaseDate;
+ }
+ public function getReleaseDate()
+ {
+ return $this->releaseDate;
+ }
+ public function setSeasonAltId($seasonAltId)
+ {
+ $this->seasonAltId = $seasonAltId;
+ }
+ public function getSeasonAltId()
+ {
+ return $this->seasonAltId;
+ }
+ public function setSeasonNumber($seasonNumber)
+ {
+ $this->seasonNumber = $seasonNumber;
+ }
+ public function getSeasonNumber()
+ {
+ return $this->seasonNumber;
+ }
+ public function setSeasonTitleInternalAlias($seasonTitleInternalAlias)
+ {
+ $this->seasonTitleInternalAlias = $seasonTitleInternalAlias;
+ }
+ public function getSeasonTitleInternalAlias()
+ {
+ return $this->seasonTitleInternalAlias;
+ }
+ public function setSeriesAltId($seriesAltId)
+ {
+ $this->seriesAltId = $seriesAltId;
+ }
+ public function getSeriesAltId()
+ {
+ return $this->seriesAltId;
+ }
+ public function setSeriesTitleInternalAlias($seriesTitleInternalAlias)
+ {
+ $this->seriesTitleInternalAlias = $seriesTitleInternalAlias;
+ }
+ public function getSeriesTitleInternalAlias()
+ {
+ return $this->seriesTitleInternalAlias;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+ public function setStoreLanguage($storeLanguage)
+ {
+ $this->storeLanguage = $storeLanguage;
+ }
+ public function getStoreLanguage()
+ {
+ return $this->storeLanguage;
+ }
+ public function setSuppressionLiftDate($suppressionLiftDate)
+ {
+ $this->suppressionLiftDate = $suppressionLiftDate;
+ }
+ public function getSuppressionLiftDate()
+ {
+ return $this->suppressionLiftDate;
+ }
+ public function setTerritory($territory)
+ {
+ $this->territory = $territory;
+ }
+ public function getTerritory()
+ {
+ return $this->territory;
+ }
+ public function setTitleInternalAlias($titleInternalAlias)
+ {
+ $this->titleInternalAlias = $titleInternalAlias;
+ }
+ public function getTitleInternalAlias()
+ {
+ return $this->titleInternalAlias;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+ public function setWorkType($workType)
+ {
+ $this->workType = $workType;
+ }
+ public function getWorkType()
+ {
+ return $this->workType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ExperienceLocale.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ExperienceLocale.php
new file mode 100644
index 00000000..d9219b51
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ExperienceLocale.php
@@ -0,0 +1,229 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Playmoviespartner_ExperienceLocale extends Google_Collection
+{
+ protected $collection_key = 'pphNames';
+ public $altCutId;
+ public $approvedTime;
+ public $channelId;
+ public $country;
+ public $createdTime;
+ public $customIds;
+ public $earliestAvailStartTime;
+ public $editLevelEidr;
+ public $elId;
+ public $inventoryId;
+ public $language;
+ public $name;
+ public $normalizedPriority;
+ public $playableSequenceId;
+ public $pphNames;
+ public $presentationId;
+ public $priority;
+ public $status;
+ public $studioName;
+ public $titleLevelEidr;
+ public $trailerId;
+ public $type;
+ public $videoId;
+
+ public function setAltCutId($altCutId)
+ {
+ $this->altCutId = $altCutId;
+ }
+ public function getAltCutId()
+ {
+ return $this->altCutId;
+ }
+ public function setApprovedTime($approvedTime)
+ {
+ $this->approvedTime = $approvedTime;
+ }
+ public function getApprovedTime()
+ {
+ return $this->approvedTime;
+ }
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setCreatedTime($createdTime)
+ {
+ $this->createdTime = $createdTime;
+ }
+ public function getCreatedTime()
+ {
+ return $this->createdTime;
+ }
+ public function setCustomIds($customIds)
+ {
+ $this->customIds = $customIds;
+ }
+ public function getCustomIds()
+ {
+ return $this->customIds;
+ }
+ public function setEarliestAvailStartTime($earliestAvailStartTime)
+ {
+ $this->earliestAvailStartTime = $earliestAvailStartTime;
+ }
+ public function getEarliestAvailStartTime()
+ {
+ return $this->earliestAvailStartTime;
+ }
+ public function setEditLevelEidr($editLevelEidr)
+ {
+ $this->editLevelEidr = $editLevelEidr;
+ }
+ public function getEditLevelEidr()
+ {
+ return $this->editLevelEidr;
+ }
+ public function setElId($elId)
+ {
+ $this->elId = $elId;
+ }
+ public function getElId()
+ {
+ return $this->elId;
+ }
+ public function setInventoryId($inventoryId)
+ {
+ $this->inventoryId = $inventoryId;
+ }
+ public function getInventoryId()
+ {
+ return $this->inventoryId;
+ }
+ 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;
+ }
+ public function setNormalizedPriority($normalizedPriority)
+ {
+ $this->normalizedPriority = $normalizedPriority;
+ }
+ public function getNormalizedPriority()
+ {
+ return $this->normalizedPriority;
+ }
+ public function setPlayableSequenceId($playableSequenceId)
+ {
+ $this->playableSequenceId = $playableSequenceId;
+ }
+ public function getPlayableSequenceId()
+ {
+ return $this->playableSequenceId;
+ }
+ public function setPphNames($pphNames)
+ {
+ $this->pphNames = $pphNames;
+ }
+ public function getPphNames()
+ {
+ return $this->pphNames;
+ }
+ public function setPresentationId($presentationId)
+ {
+ $this->presentationId = $presentationId;
+ }
+ public function getPresentationId()
+ {
+ return $this->presentationId;
+ }
+ public function setPriority($priority)
+ {
+ $this->priority = $priority;
+ }
+ public function getPriority()
+ {
+ return $this->priority;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStudioName($studioName)
+ {
+ $this->studioName = $studioName;
+ }
+ public function getStudioName()
+ {
+ return $this->studioName;
+ }
+ public function setTitleLevelEidr($titleLevelEidr)
+ {
+ $this->titleLevelEidr = $titleLevelEidr;
+ }
+ public function getTitleLevelEidr()
+ {
+ return $this->titleLevelEidr;
+ }
+ public function setTrailerId($trailerId)
+ {
+ $this->trailerId = $trailerId;
+ }
+ public function getTrailerId()
+ {
+ return $this->trailerId;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListAvailsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListAvailsResponse.php
new file mode 100644
index 00000000..a20847e5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListAvailsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Playmoviespartner_ListAvailsResponse extends Google_Collection
+{
+ protected $collection_key = 'avails';
+ protected $availsType = 'Google_Service_Playmoviespartner_Avail';
+ protected $availsDataType = 'array';
+ public $nextPageToken;
+
+ public function setAvails($avails)
+ {
+ $this->avails = $avails;
+ }
+ public function getAvails()
+ {
+ return $this->avails;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListExperienceLocalesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListExperienceLocalesResponse.php
new file mode 100644
index 00000000..3c3a475c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListExperienceLocalesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Playmoviespartner_ListExperienceLocalesResponse extends Google_Collection
+{
+ protected $collection_key = 'experienceLocales';
+ protected $experienceLocalesType = 'Google_Service_Playmoviespartner_ExperienceLocale';
+ protected $experienceLocalesDataType = 'array';
+ public $nextPageToken;
+
+ public function setExperienceLocales($experienceLocales)
+ {
+ $this->experienceLocales = $experienceLocales;
+ }
+ public function getExperienceLocales()
+ {
+ return $this->experienceLocales;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListOrdersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListOrdersResponse.php
new file mode 100644
index 00000000..dc39cb36
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListOrdersResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Playmoviespartner_ListOrdersResponse extends Google_Collection
+{
+ protected $collection_key = 'orders';
+ public $nextPageToken;
+ protected $ordersType = 'Google_Service_Playmoviespartner_Order';
+ protected $ordersDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOrders($orders)
+ {
+ $this->orders = $orders;
+ }
+ public function getOrders()
+ {
+ return $this->orders;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListStoreInfosResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListStoreInfosResponse.php
new file mode 100644
index 00000000..bc953255
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListStoreInfosResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Playmoviespartner_ListStoreInfosResponse extends Google_Collection
+{
+ protected $collection_key = 'storeInfos';
+ public $nextPageToken;
+ protected $storeInfosType = 'Google_Service_Playmoviespartner_StoreInfo';
+ protected $storeInfosDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setStoreInfos($storeInfos)
+ {
+ $this->storeInfos = $storeInfos;
+ }
+ public function getStoreInfos()
+ {
+ return $this->storeInfos;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/Order.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/Order.php
new file mode 100644
index 00000000..44664f20
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/Order.php
@@ -0,0 +1,229 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Playmoviespartner_Order extends Google_Collection
+{
+ protected $collection_key = 'countries';
+ public $approvedTime;
+ public $channelId;
+ public $channelName;
+ public $countries;
+ public $customId;
+ public $earliestAvailStartTime;
+ public $episodeName;
+ public $legacyPriority;
+ public $name;
+ public $normalizedPriority;
+ public $orderId;
+ public $orderedTime;
+ public $pphName;
+ public $priority;
+ public $receivedTime;
+ public $rejectionNote;
+ public $seasonName;
+ public $showName;
+ public $status;
+ public $statusDetail;
+ public $studioName;
+ public $type;
+ public $videoId;
+
+ public function setApprovedTime($approvedTime)
+ {
+ $this->approvedTime = $approvedTime;
+ }
+ public function getApprovedTime()
+ {
+ return $this->approvedTime;
+ }
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setChannelName($channelName)
+ {
+ $this->channelName = $channelName;
+ }
+ public function getChannelName()
+ {
+ return $this->channelName;
+ }
+ public function setCountries($countries)
+ {
+ $this->countries = $countries;
+ }
+ public function getCountries()
+ {
+ return $this->countries;
+ }
+ public function setCustomId($customId)
+ {
+ $this->customId = $customId;
+ }
+ public function getCustomId()
+ {
+ return $this->customId;
+ }
+ public function setEarliestAvailStartTime($earliestAvailStartTime)
+ {
+ $this->earliestAvailStartTime = $earliestAvailStartTime;
+ }
+ public function getEarliestAvailStartTime()
+ {
+ return $this->earliestAvailStartTime;
+ }
+ public function setEpisodeName($episodeName)
+ {
+ $this->episodeName = $episodeName;
+ }
+ public function getEpisodeName()
+ {
+ return $this->episodeName;
+ }
+ public function setLegacyPriority($legacyPriority)
+ {
+ $this->legacyPriority = $legacyPriority;
+ }
+ public function getLegacyPriority()
+ {
+ return $this->legacyPriority;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNormalizedPriority($normalizedPriority)
+ {
+ $this->normalizedPriority = $normalizedPriority;
+ }
+ public function getNormalizedPriority()
+ {
+ return $this->normalizedPriority;
+ }
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+ }
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+ public function setOrderedTime($orderedTime)
+ {
+ $this->orderedTime = $orderedTime;
+ }
+ public function getOrderedTime()
+ {
+ return $this->orderedTime;
+ }
+ public function setPphName($pphName)
+ {
+ $this->pphName = $pphName;
+ }
+ public function getPphName()
+ {
+ return $this->pphName;
+ }
+ public function setPriority($priority)
+ {
+ $this->priority = $priority;
+ }
+ public function getPriority()
+ {
+ return $this->priority;
+ }
+ public function setReceivedTime($receivedTime)
+ {
+ $this->receivedTime = $receivedTime;
+ }
+ public function getReceivedTime()
+ {
+ return $this->receivedTime;
+ }
+ public function setRejectionNote($rejectionNote)
+ {
+ $this->rejectionNote = $rejectionNote;
+ }
+ public function getRejectionNote()
+ {
+ return $this->rejectionNote;
+ }
+ public function setSeasonName($seasonName)
+ {
+ $this->seasonName = $seasonName;
+ }
+ public function getSeasonName()
+ {
+ return $this->seasonName;
+ }
+ public function setShowName($showName)
+ {
+ $this->showName = $showName;
+ }
+ public function getShowName()
+ {
+ return $this->showName;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusDetail($statusDetail)
+ {
+ $this->statusDetail = $statusDetail;
+ }
+ public function getStatusDetail()
+ {
+ return $this->statusDetail;
+ }
+ public function setStudioName($studioName)
+ {
+ $this->studioName = $studioName;
+ }
+ public function getStudioName()
+ {
+ return $this->studioName;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/StoreInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/StoreInfo.php
new file mode 100644
index 00000000..ac24337b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/StoreInfo.php
@@ -0,0 +1,247 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Playmoviespartner_StoreInfo extends Google_Collection
+{
+ protected $collection_key = 'subtitles';
+ public $audioTracks;
+ public $country;
+ public $editLevelEidr;
+ public $episodeNumber;
+ public $hasAudio51;
+ public $hasEstOffer;
+ public $hasHdOffer;
+ public $hasInfoCards;
+ public $hasSdOffer;
+ public $hasVodOffer;
+ public $liveTime;
+ public $mid;
+ public $name;
+ public $pphNames;
+ public $seasonId;
+ public $seasonName;
+ public $seasonNumber;
+ public $showId;
+ public $showName;
+ public $studioName;
+ public $subtitles;
+ public $titleLevelEidr;
+ public $trailerId;
+ public $type;
+ public $videoId;
+
+ public function setAudioTracks($audioTracks)
+ {
+ $this->audioTracks = $audioTracks;
+ }
+ public function getAudioTracks()
+ {
+ return $this->audioTracks;
+ }
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setEditLevelEidr($editLevelEidr)
+ {
+ $this->editLevelEidr = $editLevelEidr;
+ }
+ public function getEditLevelEidr()
+ {
+ return $this->editLevelEidr;
+ }
+ public function setEpisodeNumber($episodeNumber)
+ {
+ $this->episodeNumber = $episodeNumber;
+ }
+ public function getEpisodeNumber()
+ {
+ return $this->episodeNumber;
+ }
+ public function setHasAudio51($hasAudio51)
+ {
+ $this->hasAudio51 = $hasAudio51;
+ }
+ public function getHasAudio51()
+ {
+ return $this->hasAudio51;
+ }
+ public function setHasEstOffer($hasEstOffer)
+ {
+ $this->hasEstOffer = $hasEstOffer;
+ }
+ public function getHasEstOffer()
+ {
+ return $this->hasEstOffer;
+ }
+ public function setHasHdOffer($hasHdOffer)
+ {
+ $this->hasHdOffer = $hasHdOffer;
+ }
+ public function getHasHdOffer()
+ {
+ return $this->hasHdOffer;
+ }
+ public function setHasInfoCards($hasInfoCards)
+ {
+ $this->hasInfoCards = $hasInfoCards;
+ }
+ public function getHasInfoCards()
+ {
+ return $this->hasInfoCards;
+ }
+ public function setHasSdOffer($hasSdOffer)
+ {
+ $this->hasSdOffer = $hasSdOffer;
+ }
+ public function getHasSdOffer()
+ {
+ return $this->hasSdOffer;
+ }
+ public function setHasVodOffer($hasVodOffer)
+ {
+ $this->hasVodOffer = $hasVodOffer;
+ }
+ public function getHasVodOffer()
+ {
+ return $this->hasVodOffer;
+ }
+ public function setLiveTime($liveTime)
+ {
+ $this->liveTime = $liveTime;
+ }
+ public function getLiveTime()
+ {
+ return $this->liveTime;
+ }
+ 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 setPphNames($pphNames)
+ {
+ $this->pphNames = $pphNames;
+ }
+ public function getPphNames()
+ {
+ return $this->pphNames;
+ }
+ public function setSeasonId($seasonId)
+ {
+ $this->seasonId = $seasonId;
+ }
+ public function getSeasonId()
+ {
+ return $this->seasonId;
+ }
+ public function setSeasonName($seasonName)
+ {
+ $this->seasonName = $seasonName;
+ }
+ public function getSeasonName()
+ {
+ return $this->seasonName;
+ }
+ public function setSeasonNumber($seasonNumber)
+ {
+ $this->seasonNumber = $seasonNumber;
+ }
+ public function getSeasonNumber()
+ {
+ return $this->seasonNumber;
+ }
+ public function setShowId($showId)
+ {
+ $this->showId = $showId;
+ }
+ public function getShowId()
+ {
+ return $this->showId;
+ }
+ public function setShowName($showName)
+ {
+ $this->showName = $showName;
+ }
+ public function getShowName()
+ {
+ return $this->showName;
+ }
+ public function setStudioName($studioName)
+ {
+ $this->studioName = $studioName;
+ }
+ public function getStudioName()
+ {
+ return $this->studioName;
+ }
+ public function setSubtitles($subtitles)
+ {
+ $this->subtitles = $subtitles;
+ }
+ public function getSubtitles()
+ {
+ return $this->subtitles;
+ }
+ public function setTitleLevelEidr($titleLevelEidr)
+ {
+ $this->titleLevelEidr = $titleLevelEidr;
+ }
+ public function getTitleLevelEidr()
+ {
+ return $this->titleLevelEidr;
+ }
+ public function setTrailerId($trailerId)
+ {
+ $this->trailerId = $trailerId;
+ }
+ public function getTrailerId()
+ {
+ return $this->trailerId;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus.php
new file mode 100644
index 00000000..df3e8029
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus.php
@@ -0,0 +1,267 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Builds 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 Google_Service_Plus extends Google_Service
+{
+ /** Know the list of people in your circles, your age range, and language. */
+ 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 $people;
+
+ /**
+ * Constructs the internal representation of the Plus service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'plus/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'plus';
+
+ $this->activities = new Google_Service_Plus_Resource_Activities(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'activities',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->comments = new Google_Service_Plus_Resource_Comments(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->people = new Google_Service_Plus_Resource_People(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'people',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'query' => 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',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Acl.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Acl.php
new file mode 100644
index 00000000..642ecf05
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Acl.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_Acl extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $description;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Activity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Activity.php
new file mode 100644
index 00000000..c375517b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Activity.php
@@ -0,0 +1,206 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_Activity extends Google_Model
+{
+ protected $accessType = 'Google_Service_Plus_Acl';
+ protected $accessDataType = '';
+ protected $actorType = 'Google_Service_Plus_ActivityActor';
+ protected $actorDataType = '';
+ public $address;
+ public $annotation;
+ public $crosspostSource;
+ public $etag;
+ public $geocode;
+ public $id;
+ public $kind;
+ protected $locationType = 'Google_Service_Plus_Place';
+ protected $locationDataType = '';
+ protected $objectType = 'Google_Service_Plus_ActivityObject';
+ protected $objectDataType = '';
+ public $placeId;
+ public $placeName;
+ protected $providerType = 'Google_Service_Plus_ActivityProvider';
+ protected $providerDataType = '';
+ public $published;
+ public $radius;
+ public $title;
+ public $updated;
+ public $url;
+ public $verb;
+
+ public function setAccess(Google_Service_Plus_Acl $access)
+ {
+ $this->access = $access;
+ }
+ public function getAccess()
+ {
+ return $this->access;
+ }
+ public function setActor(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(Google_Service_Plus_Place $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setObject(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActor.php
new file mode 100644
index 00000000..68514e9c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActor.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityActor extends Google_Model
+{
+ protected $clientSpecificActorInfoType = 'Google_Service_Plus_ActivityActorClientSpecificActorInfo';
+ protected $clientSpecificActorInfoDataType = '';
+ public $displayName;
+ public $id;
+ protected $imageType = 'Google_Service_Plus_ActivityActorImage';
+ protected $imageDataType = '';
+ protected $nameType = 'Google_Service_Plus_ActivityActorName';
+ protected $nameDataType = '';
+ public $url;
+ protected $verificationType = 'Google_Service_Plus_ActivityActorVerification';
+ protected $verificationDataType = '';
+
+ public function setClientSpecificActorInfo(Google_Service_Plus_ActivityActorClientSpecificActorInfo $clientSpecificActorInfo)
+ {
+ $this->clientSpecificActorInfo = $clientSpecificActorInfo;
+ }
+ public function getClientSpecificActorInfo()
+ {
+ return $this->clientSpecificActorInfo;
+ }
+ 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(Google_Service_Plus_ActivityActorImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setName(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;
+ }
+ public function setVerification(Google_Service_Plus_ActivityActorVerification $verification)
+ {
+ $this->verification = $verification;
+ }
+ public function getVerification()
+ {
+ return $this->verification;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorClientSpecificActorInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorClientSpecificActorInfo.php
new file mode 100644
index 00000000..22c5caa1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorClientSpecificActorInfo.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityActorClientSpecificActorInfo extends Google_Model
+{
+ protected $youtubeActorInfoType = 'Google_Service_Plus_ActivityActorClientSpecificActorInfoYoutubeActorInfo';
+ protected $youtubeActorInfoDataType = '';
+
+ public function setYoutubeActorInfo(Google_Service_Plus_ActivityActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo)
+ {
+ $this->youtubeActorInfo = $youtubeActorInfo;
+ }
+ public function getYoutubeActorInfo()
+ {
+ return $this->youtubeActorInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorClientSpecificActorInfoYoutubeActorInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorClientSpecificActorInfoYoutubeActorInfo.php
new file mode 100644
index 00000000..0de9b6f5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorClientSpecificActorInfoYoutubeActorInfo.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model
+{
+ public $channelId;
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorImage.php
new file mode 100644
index 00000000..ace967fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorImage.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityActorImage extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorName.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorName.php
new file mode 100644
index 00000000..d589ea52
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorName.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityActorName extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorVerification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorVerification.php
new file mode 100644
index 00000000..72226325
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorVerification.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityActorVerification extends Google_Model
+{
+ public $adHocVerified;
+
+ public function setAdHocVerified($adHocVerified)
+ {
+ $this->adHocVerified = $adHocVerified;
+ }
+ public function getAdHocVerified()
+ {
+ return $this->adHocVerified;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityFeed.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityFeed.php
new file mode 100644
index 00000000..81bf62e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityFeed.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityFeed extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObject.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObject.php
new file mode 100644
index 00000000..aa682d09
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObject.php
@@ -0,0 +1,117 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityObject extends Google_Collection
+{
+ protected $collection_key = 'attachments';
+ protected $actorType = 'Google_Service_Plus_ActivityObjectActor';
+ protected $actorDataType = '';
+ protected $attachmentsType = 'Google_Service_Plus_ActivityObjectAttachments';
+ protected $attachmentsDataType = 'array';
+ public $content;
+ public $id;
+ public $objectType;
+ public $originalContent;
+ protected $plusonersType = 'Google_Service_Plus_ActivityObjectPlusoners';
+ protected $plusonersDataType = '';
+ protected $repliesType = 'Google_Service_Plus_ActivityObjectReplies';
+ protected $repliesDataType = '';
+ protected $resharersType = 'Google_Service_Plus_ActivityObjectResharers';
+ protected $resharersDataType = '';
+ public $url;
+
+ public function setActor(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(Google_Service_Plus_ActivityObjectPlusoners $plusoners)
+ {
+ $this->plusoners = $plusoners;
+ }
+ public function getPlusoners()
+ {
+ return $this->plusoners;
+ }
+ public function setReplies(Google_Service_Plus_ActivityObjectReplies $replies)
+ {
+ $this->replies = $replies;
+ }
+ public function getReplies()
+ {
+ return $this->replies;
+ }
+ public function setResharers(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActor.php
new file mode 100644
index 00000000..786d35d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActor.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityObjectActor extends Google_Model
+{
+ protected $clientSpecificActorInfoType = 'Google_Service_Plus_ActivityObjectActorClientSpecificActorInfo';
+ protected $clientSpecificActorInfoDataType = '';
+ public $displayName;
+ public $id;
+ protected $imageType = 'Google_Service_Plus_ActivityObjectActorImage';
+ protected $imageDataType = '';
+ public $url;
+ protected $verificationType = 'Google_Service_Plus_ActivityObjectActorVerification';
+ protected $verificationDataType = '';
+
+ public function setClientSpecificActorInfo(Google_Service_Plus_ActivityObjectActorClientSpecificActorInfo $clientSpecificActorInfo)
+ {
+ $this->clientSpecificActorInfo = $clientSpecificActorInfo;
+ }
+ public function getClientSpecificActorInfo()
+ {
+ return $this->clientSpecificActorInfo;
+ }
+ 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(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;
+ }
+ public function setVerification(Google_Service_Plus_ActivityObjectActorVerification $verification)
+ {
+ $this->verification = $verification;
+ }
+ public function getVerification()
+ {
+ return $this->verification;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorClientSpecificActorInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorClientSpecificActorInfo.php
new file mode 100644
index 00000000..0c8c8069
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorClientSpecificActorInfo.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityObjectActorClientSpecificActorInfo extends Google_Model
+{
+ protected $youtubeActorInfoType = 'Google_Service_Plus_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo';
+ protected $youtubeActorInfoDataType = '';
+
+ public function setYoutubeActorInfo(Google_Service_Plus_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo)
+ {
+ $this->youtubeActorInfo = $youtubeActorInfo;
+ }
+ public function getYoutubeActorInfo()
+ {
+ return $this->youtubeActorInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.php
new file mode 100644
index 00000000..991c6d73
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model
+{
+ public $channelId;
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorImage.php
new file mode 100644
index 00000000..bf949aad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorImage.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityObjectActorImage extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorVerification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorVerification.php
new file mode 100644
index 00000000..fe27d647
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorVerification.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityObjectActorVerification extends Google_Model
+{
+ public $adHocVerified;
+
+ public function setAdHocVerified($adHocVerified)
+ {
+ $this->adHocVerified = $adHocVerified;
+ }
+ public function getAdHocVerified()
+ {
+ return $this->adHocVerified;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachments.php
new file mode 100644
index 00000000..2e284160
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachments.php
@@ -0,0 +1,107 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityObjectAttachments extends Google_Collection
+{
+ protected $collection_key = 'thumbnails';
+ public $content;
+ public $displayName;
+ protected $embedType = 'Google_Service_Plus_ActivityObjectAttachmentsEmbed';
+ protected $embedDataType = '';
+ protected $fullImageType = 'Google_Service_Plus_ActivityObjectAttachmentsFullImage';
+ protected $fullImageDataType = '';
+ public $id;
+ protected $imageType = 'Google_Service_Plus_ActivityObjectAttachmentsImage';
+ protected $imageDataType = '';
+ public $objectType;
+ protected $thumbnailsType = '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(Google_Service_Plus_ActivityObjectAttachmentsEmbed $embed)
+ {
+ $this->embed = $embed;
+ }
+ public function getEmbed()
+ {
+ return $this->embed;
+ }
+ public function setFullImage(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsEmbed.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsEmbed.php
new file mode 100644
index 00000000..56317771
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsEmbed.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityObjectAttachmentsEmbed extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsFullImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsFullImage.php
new file mode 100644
index 00000000..b7fb28f7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsFullImage.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityObjectAttachmentsFullImage extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsImage.php
new file mode 100644
index 00000000..728c15df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsImage.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityObjectAttachmentsImage extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsThumbnails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsThumbnails.php
new file mode 100644
index 00000000..b0024f02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsThumbnails.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityObjectAttachmentsThumbnails extends Google_Model
+{
+ public $description;
+ protected $imageType = 'Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage';
+ protected $imageDataType = '';
+ public $url;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setImage(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsThumbnailsImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsThumbnailsImage.php
new file mode 100644
index 00000000..b2355287
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsThumbnailsImage.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectPlusoners.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectPlusoners.php
new file mode 100644
index 00000000..9f6dae2f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectPlusoners.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityObjectPlusoners extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectReplies.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectReplies.php
new file mode 100644
index 00000000..9c85fdd1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectReplies.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityObjectReplies extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectResharers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectResharers.php
new file mode 100644
index 00000000..1f87e81b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectResharers.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityObjectResharers extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityProvider.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityProvider.php
new file mode 100644
index 00000000..cf192a33
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityProvider.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_ActivityProvider extends Google_Model
+{
+ public $title;
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Comment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Comment.php
new file mode 100644
index 00000000..fa5c0f1c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Comment.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_Comment extends Google_Collection
+{
+ protected $collection_key = 'inReplyTo';
+ protected $actorType = 'Google_Service_Plus_CommentActor';
+ protected $actorDataType = '';
+ public $etag;
+ public $id;
+ protected $inReplyToType = 'Google_Service_Plus_CommentInReplyTo';
+ protected $inReplyToDataType = 'array';
+ public $kind;
+ protected $objectType = 'Google_Service_Plus_CommentObject';
+ protected $objectDataType = '';
+ protected $plusonersType = 'Google_Service_Plus_CommentPlusoners';
+ protected $plusonersDataType = '';
+ public $published;
+ public $selfLink;
+ public $updated;
+ public $verb;
+
+ public function setActor(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(Google_Service_Plus_CommentObject $object)
+ {
+ $this->object = $object;
+ }
+ public function getObject()
+ {
+ return $this->object;
+ }
+ public function setPlusoners(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActor.php
new file mode 100644
index 00000000..e73f3bf3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActor.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_CommentActor extends Google_Model
+{
+ protected $clientSpecificActorInfoType = 'Google_Service_Plus_CommentActorClientSpecificActorInfo';
+ protected $clientSpecificActorInfoDataType = '';
+ public $displayName;
+ public $id;
+ protected $imageType = 'Google_Service_Plus_CommentActorImage';
+ protected $imageDataType = '';
+ public $url;
+ protected $verificationType = 'Google_Service_Plus_CommentActorVerification';
+ protected $verificationDataType = '';
+
+ public function setClientSpecificActorInfo(Google_Service_Plus_CommentActorClientSpecificActorInfo $clientSpecificActorInfo)
+ {
+ $this->clientSpecificActorInfo = $clientSpecificActorInfo;
+ }
+ public function getClientSpecificActorInfo()
+ {
+ return $this->clientSpecificActorInfo;
+ }
+ 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(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;
+ }
+ public function setVerification(Google_Service_Plus_CommentActorVerification $verification)
+ {
+ $this->verification = $verification;
+ }
+ public function getVerification()
+ {
+ return $this->verification;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorClientSpecificActorInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorClientSpecificActorInfo.php
new file mode 100644
index 00000000..836950ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorClientSpecificActorInfo.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_CommentActorClientSpecificActorInfo extends Google_Model
+{
+ protected $youtubeActorInfoType = 'Google_Service_Plus_CommentActorClientSpecificActorInfoYoutubeActorInfo';
+ protected $youtubeActorInfoDataType = '';
+
+ public function setYoutubeActorInfo(Google_Service_Plus_CommentActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo)
+ {
+ $this->youtubeActorInfo = $youtubeActorInfo;
+ }
+ public function getYoutubeActorInfo()
+ {
+ return $this->youtubeActorInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorClientSpecificActorInfoYoutubeActorInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorClientSpecificActorInfoYoutubeActorInfo.php
new file mode 100644
index 00000000..bd055736
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorClientSpecificActorInfoYoutubeActorInfo.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_CommentActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model
+{
+ public $channelId;
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorImage.php
new file mode 100644
index 00000000..484506cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorImage.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_CommentActorImage extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorVerification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorVerification.php
new file mode 100644
index 00000000..43436d9f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorVerification.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_CommentActorVerification extends Google_Model
+{
+ public $adHocVerified;
+
+ public function setAdHocVerified($adHocVerified)
+ {
+ $this->adHocVerified = $adHocVerified;
+ }
+ public function getAdHocVerified()
+ {
+ return $this->adHocVerified;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentFeed.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentFeed.php
new file mode 100644
index 00000000..e5a94f51
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentFeed.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_CommentFeed extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentInReplyTo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentInReplyTo.php
new file mode 100644
index 00000000..8181cdf6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentInReplyTo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_CommentInReplyTo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentObject.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentObject.php
new file mode 100644
index 00000000..89773d4b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentObject.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_CommentObject extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentPlusoners.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentPlusoners.php
new file mode 100644
index 00000000..2ab1ded9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentPlusoners.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_CommentPlusoners extends Google_Model
+{
+ public $totalItems;
+
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PeopleFeed.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PeopleFeed.php
new file mode 100644
index 00000000..dcf19fc6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PeopleFeed.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_PeopleFeed extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Person.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Person.php
new file mode 100644
index 00000000..32592e12
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Person.php
@@ -0,0 +1,300 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_Person extends Google_Collection
+{
+ protected $collection_key = 'urls';
+ public $aboutMe;
+ protected $ageRangeType = 'Google_Service_Plus_PersonAgeRange';
+ protected $ageRangeDataType = '';
+ public $birthday;
+ public $braggingRights;
+ public $circledByCount;
+ protected $coverType = 'Google_Service_Plus_PersonCover';
+ protected $coverDataType = '';
+ public $currentLocation;
+ public $displayName;
+ public $domain;
+ protected $emailsType = 'Google_Service_Plus_PersonEmails';
+ protected $emailsDataType = 'array';
+ public $etag;
+ public $gender;
+ public $id;
+ protected $imageType = 'Google_Service_Plus_PersonImage';
+ protected $imageDataType = '';
+ public $isPlusUser;
+ public $kind;
+ public $language;
+ protected $nameType = 'Google_Service_Plus_PersonName';
+ protected $nameDataType = '';
+ public $nickname;
+ public $objectType;
+ public $occupation;
+ protected $organizationsType = 'Google_Service_Plus_PersonOrganizations';
+ protected $organizationsDataType = 'array';
+ protected $placesLivedType = 'Google_Service_Plus_PersonPlacesLived';
+ protected $placesLivedDataType = 'array';
+ public $plusOneCount;
+ public $relationshipStatus;
+ public $skills;
+ public $tagline;
+ public $url;
+ protected $urlsType = '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(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(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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonAgeRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonAgeRange.php
new file mode 100644
index 00000000..e4a00a23
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonAgeRange.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_PersonAgeRange extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCover.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCover.php
new file mode 100644
index 00000000..c8a53e7f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCover.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_PersonCover extends Google_Model
+{
+ protected $coverInfoType = 'Google_Service_Plus_PersonCoverCoverInfo';
+ protected $coverInfoDataType = '';
+ protected $coverPhotoType = 'Google_Service_Plus_PersonCoverCoverPhoto';
+ protected $coverPhotoDataType = '';
+ public $layout;
+
+ public function setCoverInfo(Google_Service_Plus_PersonCoverCoverInfo $coverInfo)
+ {
+ $this->coverInfo = $coverInfo;
+ }
+ public function getCoverInfo()
+ {
+ return $this->coverInfo;
+ }
+ public function setCoverPhoto(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCoverCoverInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCoverCoverInfo.php
new file mode 100644
index 00000000..d5b55da1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCoverCoverInfo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_PersonCoverCoverInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCoverCoverPhoto.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCoverCoverPhoto.php
new file mode 100644
index 00000000..b22a93d3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCoverCoverPhoto.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_PersonCoverCoverPhoto extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonEmails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonEmails.php
new file mode 100644
index 00000000..b1141224
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonEmails.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_PersonEmails extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonImage.php
new file mode 100644
index 00000000..cf086abe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonImage.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_PersonImage extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonName.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonName.php
new file mode 100644
index 00000000..a8a4067d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonName.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_PersonName extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonOrganizations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonOrganizations.php
new file mode 100644
index 00000000..a0a6f12c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonOrganizations.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_PersonOrganizations extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonPlacesLived.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonPlacesLived.php
new file mode 100644
index 00000000..1055e4c2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonPlacesLived.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_PersonPlacesLived extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonUrls.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonUrls.php
new file mode 100644
index 00000000..aa028e79
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonUrls.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_PersonUrls extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Place.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Place.php
new file mode 100644
index 00000000..978bc414
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Place.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_Place extends Google_Model
+{
+ protected $addressType = 'Google_Service_Plus_PlaceAddress';
+ protected $addressDataType = '';
+ public $displayName;
+ public $id;
+ public $kind;
+ protected $positionType = 'Google_Service_Plus_PlacePosition';
+ protected $positionDataType = '';
+
+ public function setAddress(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(Google_Service_Plus_PlacePosition $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlaceAddress.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlaceAddress.php
new file mode 100644
index 00000000..78c4beac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlaceAddress.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_PlaceAddress extends Google_Model
+{
+ public $formatted;
+
+ public function setFormatted($formatted)
+ {
+ $this->formatted = $formatted;
+ }
+ public function getFormatted()
+ {
+ return $this->formatted;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlacePosition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlacePosition.php
new file mode 100644
index 00000000..29ef840e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlacePosition.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_PlacePosition extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlusAclentryResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlusAclentryResource.php
new file mode 100644
index 00000000..40c07d21
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlusAclentryResource.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Plus_PlusAclentryResource extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/Activities.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/Activities.php
new file mode 100644
index 00000000..db22c401
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/Activities.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "activities" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusService = new Google_Service_Plus(...);
+ * $activities = $plusService->activities;
+ * </code>
+ */
+class Google_Service_Plus_Resource_Activities extends Google_Service_Resource
+{
+ /**
+ * Get an activity. (activities.get)
+ *
+ * @param string $activityId The ID of the activity to get.
+ * @param array $optParams Optional parameters.
+ * @return 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), "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 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 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.
+ * @return 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), "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 language Specify the preferred language to search with. See
+ * search language codes for available values.
+ * @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 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.
+ * @return 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), "Google_Service_Plus_ActivityFeed");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/Comments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/Comments.php
new file mode 100644
index 00000000..ca93d62a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/Comments.php
@@ -0,0 +1,62 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "comments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusService = new Google_Service_Plus(...);
+ * $comments = $plusService->comments;
+ * </code>
+ */
+class Google_Service_Plus_Resource_Comments extends Google_Service_Resource
+{
+ /**
+ * Get a comment. (comments.get)
+ *
+ * @param string $commentId The ID of the comment to get.
+ * @param array $optParams Optional parameters.
+ * @return 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), "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 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.
+ * @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.
+ * @return 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), "Google_Service_Plus_CommentFeed");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/People.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/People.php
new file mode 100644
index 00000000..0874bb8a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/People.php
@@ -0,0 +1,114 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "people" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusService = new Google_Service_Plus(...);
+ * $people = $plusService->people;
+ * </code>
+ */
+class Google_Service_Plus_Resource_People extends 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 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), "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 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 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.
+ * @return 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), "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 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 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.
+ * @return 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), "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 language Specify the preferred language to search with. See
+ * search language codes for available values.
+ * @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 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.
+ * @return 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), "Google_Service_Plus_PeopleFeed");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains.php
new file mode 100644
index 00000000..0b7ed0bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains.php
@@ -0,0 +1,453 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Builds on top of the Google+ platform for Google Apps Domains.</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 Google_Service_PlusDomains extends 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 the list of people in your circles, your age range, and language. */
+ 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'plusDomains/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'plusDomains';
+
+ $this->activities = new Google_Service_PlusDomains_Resource_Activities(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->audiences = new Google_Service_PlusDomains_Resource_Audiences(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->circles = new Google_Service_PlusDomains_Resource_Circles(
+ $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,
+ ),
+ 'email' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'userId' => 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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ 'email' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'userId' => 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 Google_Service_PlusDomains_Resource_Comments(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->media = new Google_Service_PlusDomains_Resource_Media(
+ $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 Google_Service_PlusDomains_Resource_People(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listByCircle' => array(
+ 'path' => 'circles/{circleId}/people',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'circleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Acl.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Acl.php
new file mode 100644
index 00000000..b60f0c80
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Acl.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_Acl extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $description;
+ public $domainRestricted;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Activity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Activity.php
new file mode 100644
index 00000000..1f2df37e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Activity.php
@@ -0,0 +1,206 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_Activity extends Google_Model
+{
+ protected $accessType = 'Google_Service_PlusDomains_Acl';
+ protected $accessDataType = '';
+ protected $actorType = 'Google_Service_PlusDomains_ActivityActor';
+ protected $actorDataType = '';
+ public $address;
+ public $annotation;
+ public $crosspostSource;
+ public $etag;
+ public $geocode;
+ public $id;
+ public $kind;
+ protected $locationType = 'Google_Service_PlusDomains_Place';
+ protected $locationDataType = '';
+ protected $objectType = 'Google_Service_PlusDomains_ActivityObject';
+ protected $objectDataType = '';
+ public $placeId;
+ public $placeName;
+ protected $providerType = 'Google_Service_PlusDomains_ActivityProvider';
+ protected $providerDataType = '';
+ public $published;
+ public $radius;
+ public $title;
+ public $updated;
+ public $url;
+ public $verb;
+
+ public function setAccess(Google_Service_PlusDomains_Acl $access)
+ {
+ $this->access = $access;
+ }
+ public function getAccess()
+ {
+ return $this->access;
+ }
+ public function setActor(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(Google_Service_PlusDomains_Place $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setObject(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActor.php
new file mode 100644
index 00000000..97e58265
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActor.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityActor extends Google_Model
+{
+ protected $clientSpecificActorInfoType = 'Google_Service_PlusDomains_ActivityActorClientSpecificActorInfo';
+ protected $clientSpecificActorInfoDataType = '';
+ public $displayName;
+ public $id;
+ protected $imageType = 'Google_Service_PlusDomains_ActivityActorImage';
+ protected $imageDataType = '';
+ protected $nameType = 'Google_Service_PlusDomains_ActivityActorName';
+ protected $nameDataType = '';
+ public $url;
+ protected $verificationType = 'Google_Service_PlusDomains_ActivityActorVerification';
+ protected $verificationDataType = '';
+
+ public function setClientSpecificActorInfo(Google_Service_PlusDomains_ActivityActorClientSpecificActorInfo $clientSpecificActorInfo)
+ {
+ $this->clientSpecificActorInfo = $clientSpecificActorInfo;
+ }
+ public function getClientSpecificActorInfo()
+ {
+ return $this->clientSpecificActorInfo;
+ }
+ 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(Google_Service_PlusDomains_ActivityActorImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setName(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;
+ }
+ public function setVerification(Google_Service_PlusDomains_ActivityActorVerification $verification)
+ {
+ $this->verification = $verification;
+ }
+ public function getVerification()
+ {
+ return $this->verification;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorClientSpecificActorInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorClientSpecificActorInfo.php
new file mode 100644
index 00000000..bba5a0dc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorClientSpecificActorInfo.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityActorClientSpecificActorInfo extends Google_Model
+{
+ protected $youtubeActorInfoType = 'Google_Service_PlusDomains_ActivityActorClientSpecificActorInfoYoutubeActorInfo';
+ protected $youtubeActorInfoDataType = '';
+
+ public function setYoutubeActorInfo(Google_Service_PlusDomains_ActivityActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo)
+ {
+ $this->youtubeActorInfo = $youtubeActorInfo;
+ }
+ public function getYoutubeActorInfo()
+ {
+ return $this->youtubeActorInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorClientSpecificActorInfoYoutubeActorInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorClientSpecificActorInfoYoutubeActorInfo.php
new file mode 100644
index 00000000..1d255ac4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorClientSpecificActorInfoYoutubeActorInfo.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model
+{
+ public $channelId;
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorImage.php
new file mode 100644
index 00000000..a752b05d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorImage.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityActorImage extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorName.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorName.php
new file mode 100644
index 00000000..ed035fea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorName.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityActorName extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorVerification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorVerification.php
new file mode 100644
index 00000000..db86d0b2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorVerification.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityActorVerification extends Google_Model
+{
+ public $adHocVerified;
+
+ public function setAdHocVerified($adHocVerified)
+ {
+ $this->adHocVerified = $adHocVerified;
+ }
+ public function getAdHocVerified()
+ {
+ return $this->adHocVerified;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityFeed.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityFeed.php
new file mode 100644
index 00000000..9b163b44
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityFeed.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityFeed extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObject.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObject.php
new file mode 100644
index 00000000..a8bc9b86
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObject.php
@@ -0,0 +1,127 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObject extends Google_Collection
+{
+ protected $collection_key = 'attachments';
+ protected $actorType = 'Google_Service_PlusDomains_ActivityObjectActor';
+ protected $actorDataType = '';
+ protected $attachmentsType = 'Google_Service_PlusDomains_ActivityObjectAttachments';
+ protected $attachmentsDataType = 'array';
+ public $content;
+ public $id;
+ public $objectType;
+ public $originalContent;
+ protected $plusonersType = 'Google_Service_PlusDomains_ActivityObjectPlusoners';
+ protected $plusonersDataType = '';
+ protected $repliesType = 'Google_Service_PlusDomains_ActivityObjectReplies';
+ protected $repliesDataType = '';
+ protected $resharersType = 'Google_Service_PlusDomains_ActivityObjectResharers';
+ protected $resharersDataType = '';
+ protected $statusForViewerType = 'Google_Service_PlusDomains_ActivityObjectStatusForViewer';
+ protected $statusForViewerDataType = '';
+ public $url;
+
+ public function setActor(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(Google_Service_PlusDomains_ActivityObjectPlusoners $plusoners)
+ {
+ $this->plusoners = $plusoners;
+ }
+ public function getPlusoners()
+ {
+ return $this->plusoners;
+ }
+ public function setReplies(Google_Service_PlusDomains_ActivityObjectReplies $replies)
+ {
+ $this->replies = $replies;
+ }
+ public function getReplies()
+ {
+ return $this->replies;
+ }
+ public function setResharers(Google_Service_PlusDomains_ActivityObjectResharers $resharers)
+ {
+ $this->resharers = $resharers;
+ }
+ public function getResharers()
+ {
+ return $this->resharers;
+ }
+ public function setStatusForViewer(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActor.php
new file mode 100644
index 00000000..9376ad40
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActor.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObjectActor extends Google_Model
+{
+ protected $clientSpecificActorInfoType = 'Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfo';
+ protected $clientSpecificActorInfoDataType = '';
+ public $displayName;
+ public $id;
+ protected $imageType = 'Google_Service_PlusDomains_ActivityObjectActorImage';
+ protected $imageDataType = '';
+ public $url;
+ protected $verificationType = 'Google_Service_PlusDomains_ActivityObjectActorVerification';
+ protected $verificationDataType = '';
+
+ public function setClientSpecificActorInfo(Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfo $clientSpecificActorInfo)
+ {
+ $this->clientSpecificActorInfo = $clientSpecificActorInfo;
+ }
+ public function getClientSpecificActorInfo()
+ {
+ return $this->clientSpecificActorInfo;
+ }
+ 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(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;
+ }
+ public function setVerification(Google_Service_PlusDomains_ActivityObjectActorVerification $verification)
+ {
+ $this->verification = $verification;
+ }
+ public function getVerification()
+ {
+ return $this->verification;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorClientSpecificActorInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorClientSpecificActorInfo.php
new file mode 100644
index 00000000..0188e502
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorClientSpecificActorInfo.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfo extends Google_Model
+{
+ protected $youtubeActorInfoType = 'Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo';
+ protected $youtubeActorInfoDataType = '';
+
+ public function setYoutubeActorInfo(Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo)
+ {
+ $this->youtubeActorInfo = $youtubeActorInfo;
+ }
+ public function getYoutubeActorInfo()
+ {
+ return $this->youtubeActorInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.php
new file mode 100644
index 00000000..1105e125
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model
+{
+ public $channelId;
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorImage.php
new file mode 100644
index 00000000..f0ff502c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorImage.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObjectActorImage extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorVerification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorVerification.php
new file mode 100644
index 00000000..e1586982
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorVerification.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObjectActorVerification extends Google_Model
+{
+ public $adHocVerified;
+
+ public function setAdHocVerified($adHocVerified)
+ {
+ $this->adHocVerified = $adHocVerified;
+ }
+ public function getAdHocVerified()
+ {
+ return $this->adHocVerified;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachments.php
new file mode 100644
index 00000000..3a0e9ebd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachments.php
@@ -0,0 +1,117 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObjectAttachments extends Google_Collection
+{
+ protected $collection_key = 'thumbnails';
+ public $content;
+ public $displayName;
+ protected $embedType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed';
+ protected $embedDataType = '';
+ protected $fullImageType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage';
+ protected $fullImageDataType = '';
+ public $id;
+ protected $imageType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsImage';
+ protected $imageDataType = '';
+ public $objectType;
+ protected $previewThumbnailsType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsPreviewThumbnails';
+ protected $previewThumbnailsDataType = 'array';
+ protected $thumbnailsType = '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(Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed $embed)
+ {
+ $this->embed = $embed;
+ }
+ public function getEmbed()
+ {
+ return $this->embed;
+ }
+ public function setFullImage(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsEmbed.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsEmbed.php
new file mode 100644
index 00000000..c2c0c591
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsEmbed.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsFullImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsFullImage.php
new file mode 100644
index 00000000..f06394f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsFullImage.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsImage.php
new file mode 100644
index 00000000..60ece099
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsImage.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObjectAttachmentsImage extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsPreviewThumbnails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsPreviewThumbnails.php
new file mode 100644
index 00000000..f67f0f5b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsPreviewThumbnails.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObjectAttachmentsPreviewThumbnails extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsThumbnails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsThumbnails.php
new file mode 100644
index 00000000..3196e4d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsThumbnails.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnails extends Google_Model
+{
+ public $description;
+ protected $imageType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnailsImage';
+ protected $imageDataType = '';
+ public $url;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setImage(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsThumbnailsImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsThumbnailsImage.php
new file mode 100644
index 00000000..70e1c5de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsThumbnailsImage.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnailsImage extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectPlusoners.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectPlusoners.php
new file mode 100644
index 00000000..62b2ebfd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectPlusoners.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObjectPlusoners extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectReplies.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectReplies.php
new file mode 100644
index 00000000..d4cbbe49
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectReplies.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObjectReplies extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectResharers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectResharers.php
new file mode 100644
index 00000000..afc2a9e3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectResharers.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObjectResharers extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectStatusForViewer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectStatusForViewer.php
new file mode 100644
index 00000000..8401d62b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectStatusForViewer.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityObjectStatusForViewer extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityProvider.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityProvider.php
new file mode 100644
index 00000000..bab95e6a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityProvider.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_ActivityProvider extends Google_Model
+{
+ public $title;
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Audience.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Audience.php
new file mode 100644
index 00000000..7298be84
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Audience.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_Audience extends Google_Model
+{
+ public $etag;
+ protected $itemType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/AudiencesFeed.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/AudiencesFeed.php
new file mode 100644
index 00000000..65a3ec45
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/AudiencesFeed.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_AudiencesFeed extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Circle.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Circle.php
new file mode 100644
index 00000000..c21061aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Circle.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_Circle extends Google_Model
+{
+ public $description;
+ public $displayName;
+ public $etag;
+ public $id;
+ public $kind;
+ protected $peopleType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CircleFeed.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CircleFeed.php
new file mode 100644
index 00000000..78eb2af4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CircleFeed.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_CircleFeed extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CirclePeople.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CirclePeople.php
new file mode 100644
index 00000000..1d3c63c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CirclePeople.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_CirclePeople extends Google_Model
+{
+ public $totalItems;
+
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Comment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Comment.php
new file mode 100644
index 00000000..8795db8c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Comment.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_Comment extends Google_Collection
+{
+ protected $collection_key = 'inReplyTo';
+ protected $actorType = 'Google_Service_PlusDomains_CommentActor';
+ protected $actorDataType = '';
+ public $etag;
+ public $id;
+ protected $inReplyToType = 'Google_Service_PlusDomains_CommentInReplyTo';
+ protected $inReplyToDataType = 'array';
+ public $kind;
+ protected $objectType = 'Google_Service_PlusDomains_CommentObject';
+ protected $objectDataType = '';
+ protected $plusonersType = 'Google_Service_PlusDomains_CommentPlusoners';
+ protected $plusonersDataType = '';
+ public $published;
+ public $selfLink;
+ public $updated;
+ public $verb;
+
+ public function setActor(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(Google_Service_PlusDomains_CommentObject $object)
+ {
+ $this->object = $object;
+ }
+ public function getObject()
+ {
+ return $this->object;
+ }
+ public function setPlusoners(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActor.php
new file mode 100644
index 00000000..3477f1f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActor.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_CommentActor extends Google_Model
+{
+ protected $clientSpecificActorInfoType = 'Google_Service_PlusDomains_CommentActorClientSpecificActorInfo';
+ protected $clientSpecificActorInfoDataType = '';
+ public $displayName;
+ public $id;
+ protected $imageType = 'Google_Service_PlusDomains_CommentActorImage';
+ protected $imageDataType = '';
+ public $url;
+ protected $verificationType = 'Google_Service_PlusDomains_CommentActorVerification';
+ protected $verificationDataType = '';
+
+ public function setClientSpecificActorInfo(Google_Service_PlusDomains_CommentActorClientSpecificActorInfo $clientSpecificActorInfo)
+ {
+ $this->clientSpecificActorInfo = $clientSpecificActorInfo;
+ }
+ public function getClientSpecificActorInfo()
+ {
+ return $this->clientSpecificActorInfo;
+ }
+ 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(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;
+ }
+ public function setVerification(Google_Service_PlusDomains_CommentActorVerification $verification)
+ {
+ $this->verification = $verification;
+ }
+ public function getVerification()
+ {
+ return $this->verification;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorClientSpecificActorInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorClientSpecificActorInfo.php
new file mode 100644
index 00000000..b09cab3c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorClientSpecificActorInfo.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_CommentActorClientSpecificActorInfo extends Google_Model
+{
+ protected $youtubeActorInfoType = 'Google_Service_PlusDomains_CommentActorClientSpecificActorInfoYoutubeActorInfo';
+ protected $youtubeActorInfoDataType = '';
+
+ public function setYoutubeActorInfo(Google_Service_PlusDomains_CommentActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo)
+ {
+ $this->youtubeActorInfo = $youtubeActorInfo;
+ }
+ public function getYoutubeActorInfo()
+ {
+ return $this->youtubeActorInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorClientSpecificActorInfoYoutubeActorInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorClientSpecificActorInfoYoutubeActorInfo.php
new file mode 100644
index 00000000..6e1652e5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorClientSpecificActorInfoYoutubeActorInfo.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_CommentActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model
+{
+ public $channelId;
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorImage.php
new file mode 100644
index 00000000..478f9d4c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorImage.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_CommentActorImage extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorVerification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorVerification.php
new file mode 100644
index 00000000..ebd23118
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorVerification.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_CommentActorVerification extends Google_Model
+{
+ public $adHocVerified;
+
+ public function setAdHocVerified($adHocVerified)
+ {
+ $this->adHocVerified = $adHocVerified;
+ }
+ public function getAdHocVerified()
+ {
+ return $this->adHocVerified;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentFeed.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentFeed.php
new file mode 100644
index 00000000..2ca7cf06
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentFeed.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_CommentFeed extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentInReplyTo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentInReplyTo.php
new file mode 100644
index 00000000..5d37cbeb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentInReplyTo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_CommentInReplyTo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentObject.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentObject.php
new file mode 100644
index 00000000..dc3b3e48
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentObject.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_CommentObject extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentPlusoners.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentPlusoners.php
new file mode 100644
index 00000000..e428e5d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentPlusoners.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_CommentPlusoners extends Google_Model
+{
+ public $totalItems;
+
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Media.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Media.php
new file mode 100644
index 00000000..f4ba8f9f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Media.php
@@ -0,0 +1,187 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_Media extends Google_Collection
+{
+ protected $collection_key = 'streams';
+ protected $authorType = 'Google_Service_PlusDomains_MediaAuthor';
+ protected $authorDataType = '';
+ public $displayName;
+ public $etag;
+ protected $exifType = 'Google_Service_PlusDomains_MediaExif';
+ protected $exifDataType = '';
+ public $height;
+ public $id;
+ public $kind;
+ public $mediaCreatedTime;
+ public $mediaUrl;
+ public $published;
+ public $sizeBytes;
+ protected $streamsType = 'Google_Service_PlusDomains_Videostream';
+ protected $streamsDataType = 'array';
+ public $summary;
+ public $updated;
+ public $url;
+ public $videoDuration;
+ public $videoStatus;
+ public $width;
+
+ public function setAuthor(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaAuthor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaAuthor.php
new file mode 100644
index 00000000..26edbf06
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaAuthor.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_MediaAuthor extends Google_Model
+{
+ public $displayName;
+ public $id;
+ protected $imageType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaAuthorImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaAuthorImage.php
new file mode 100644
index 00000000..03ee3257
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaAuthorImage.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_MediaAuthorImage extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaExif.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaExif.php
new file mode 100644
index 00000000..71480985
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaExif.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_MediaExif extends Google_Model
+{
+ public $time;
+
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+ public function getTime()
+ {
+ return $this->time;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PeopleFeed.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PeopleFeed.php
new file mode 100644
index 00000000..f944a30e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PeopleFeed.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_PeopleFeed extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Person.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Person.php
new file mode 100644
index 00000000..f1f0fa78
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Person.php
@@ -0,0 +1,281 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_Person extends Google_Collection
+{
+ protected $collection_key = 'urls';
+ public $aboutMe;
+ public $birthday;
+ public $braggingRights;
+ public $circledByCount;
+ protected $coverType = 'Google_Service_PlusDomains_PersonCover';
+ protected $coverDataType = '';
+ public $currentLocation;
+ public $displayName;
+ public $domain;
+ protected $emailsType = 'Google_Service_PlusDomains_PersonEmails';
+ protected $emailsDataType = 'array';
+ public $etag;
+ public $gender;
+ public $id;
+ protected $imageType = 'Google_Service_PlusDomains_PersonImage';
+ protected $imageDataType = '';
+ public $isPlusUser;
+ public $kind;
+ protected $nameType = 'Google_Service_PlusDomains_PersonName';
+ protected $nameDataType = '';
+ public $nickname;
+ public $objectType;
+ public $occupation;
+ protected $organizationsType = 'Google_Service_PlusDomains_PersonOrganizations';
+ protected $organizationsDataType = 'array';
+ protected $placesLivedType = 'Google_Service_PlusDomains_PersonPlacesLived';
+ protected $placesLivedDataType = 'array';
+ public $plusOneCount;
+ public $relationshipStatus;
+ public $skills;
+ public $tagline;
+ public $url;
+ protected $urlsType = '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(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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCover.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCover.php
new file mode 100644
index 00000000..a309e77b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCover.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_PersonCover extends Google_Model
+{
+ protected $coverInfoType = 'Google_Service_PlusDomains_PersonCoverCoverInfo';
+ protected $coverInfoDataType = '';
+ protected $coverPhotoType = 'Google_Service_PlusDomains_PersonCoverCoverPhoto';
+ protected $coverPhotoDataType = '';
+ public $layout;
+
+ public function setCoverInfo(Google_Service_PlusDomains_PersonCoverCoverInfo $coverInfo)
+ {
+ $this->coverInfo = $coverInfo;
+ }
+ public function getCoverInfo()
+ {
+ return $this->coverInfo;
+ }
+ public function setCoverPhoto(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCoverCoverInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCoverCoverInfo.php
new file mode 100644
index 00000000..f034e41e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCoverCoverInfo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_PersonCoverCoverInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCoverCoverPhoto.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCoverCoverPhoto.php
new file mode 100644
index 00000000..28cf9f63
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCoverCoverPhoto.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_PersonCoverCoverPhoto extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonEmails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonEmails.php
new file mode 100644
index 00000000..b399be36
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonEmails.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_PersonEmails extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonImage.php
new file mode 100644
index 00000000..fa6e6924
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonImage.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_PersonImage extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonName.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonName.php
new file mode 100644
index 00000000..8878b219
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonName.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_PersonName extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonOrganizations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonOrganizations.php
new file mode 100644
index 00000000..29273b0a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonOrganizations.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_PersonOrganizations extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonPlacesLived.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonPlacesLived.php
new file mode 100644
index 00000000..fbebea3e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonPlacesLived.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_PersonPlacesLived extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonUrls.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonUrls.php
new file mode 100644
index 00000000..8956a68f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonUrls.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_PersonUrls extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Place.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Place.php
new file mode 100644
index 00000000..3fba69fc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Place.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_Place extends Google_Model
+{
+ protected $addressType = 'Google_Service_PlusDomains_PlaceAddress';
+ protected $addressDataType = '';
+ public $displayName;
+ public $id;
+ public $kind;
+ protected $positionType = 'Google_Service_PlusDomains_PlacePosition';
+ protected $positionDataType = '';
+
+ public function setAddress(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(Google_Service_PlusDomains_PlacePosition $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlaceAddress.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlaceAddress.php
new file mode 100644
index 00000000..e5cff510
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlaceAddress.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_PlaceAddress extends Google_Model
+{
+ public $formatted;
+
+ public function setFormatted($formatted)
+ {
+ $this->formatted = $formatted;
+ }
+ public function getFormatted()
+ {
+ return $this->formatted;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlacePosition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlacePosition.php
new file mode 100644
index 00000000..d7136cb4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlacePosition.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_PlacePosition extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlusDomainsAclentryResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlusDomainsAclentryResource.php
new file mode 100644
index 00000000..81f48db6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlusDomainsAclentryResource.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_PlusDomainsAclentryResource extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Activities.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Activities.php
new file mode 100644
index 00000000..59205632
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Activities.php
@@ -0,0 +1,83 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "activities" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusDomainsService = new Google_Service_PlusDomains(...);
+ * $activities = $plusDomainsService->activities;
+ * </code>
+ */
+class Google_Service_PlusDomains_Resource_Activities extends Google_Service_Resource
+{
+ /**
+ * Get an activity. (activities.get)
+ *
+ * @param string $activityId The ID of the activity to get.
+ * @param array $optParams Optional parameters.
+ * @return 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), "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 Google_Service_PlusDomains_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 Google_Service_PlusDomains_Activity
+ */
+ public function insert($userId, Google_Service_PlusDomains_Activity $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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 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.
+ * @return 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), "Google_Service_PlusDomains_ActivityFeed");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Audiences.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Audiences.php
new file mode 100644
index 00000000..39f164f6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Audiences.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "audiences" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusDomainsService = new Google_Service_PlusDomains(...);
+ * $audiences = $plusDomainsService->audiences;
+ * </code>
+ */
+class Google_Service_PlusDomains_Resource_Audiences extends 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 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.
+ * @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.
+ * @return 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), "Google_Service_PlusDomains_AudiencesFeed");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Circles.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Circles.php
new file mode 100644
index 00000000..2272cb01
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Circles.php
@@ -0,0 +1,154 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "circles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusDomainsService = new Google_Service_PlusDomains(...);
+ * $circles = $plusDomainsService->circles;
+ * </code>
+ */
+class Google_Service_PlusDomains_Resource_Circles extends 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 email Email of the people to add to the circle. Optional,
+ * can be repeated.
+ * @opt_param string userId IDs of the people to add to the circle. Optional,
+ * can be repeated.
+ * @return 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), "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 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), "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 Google_Service_PlusDomains_Circle $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_PlusDomains_Circle
+ */
+ public function insert($userId, Google_Service_PlusDomains_Circle $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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.
+ * @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.
+ * @return 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), "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 Google_Service_PlusDomains_Circle $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_PlusDomains_Circle
+ */
+ public function patch($circleId, Google_Service_PlusDomains_Circle $postBody, $optParams = array())
+ {
+ $params = array('circleId' => $circleId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "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 email Email of the people to add to the circle. Optional,
+ * can be repeated.
+ * @opt_param string userId IDs of the people to remove from 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 Google_Service_PlusDomains_Circle $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_PlusDomains_Circle
+ */
+ public function update($circleId, Google_Service_PlusDomains_Circle $postBody, $optParams = array())
+ {
+ $params = array('circleId' => $circleId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_PlusDomains_Circle");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Comments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Comments.php
new file mode 100644
index 00000000..0ef70efb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Comments.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "comments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusDomainsService = new Google_Service_PlusDomains(...);
+ * $comments = $plusDomainsService->comments;
+ * </code>
+ */
+class Google_Service_PlusDomains_Resource_Comments extends Google_Service_Resource
+{
+ /**
+ * Get a comment. (comments.get)
+ *
+ * @param string $commentId The ID of the comment to get.
+ * @param array $optParams Optional parameters.
+ * @return 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), "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 Google_Service_PlusDomains_Comment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_PlusDomains_Comment
+ */
+ public function insert($activityId, Google_Service_PlusDomains_Comment $postBody, $optParams = array())
+ {
+ $params = array('activityId' => $activityId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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.
+ * @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.
+ * @return 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), "Google_Service_PlusDomains_CommentFeed");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Media.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Media.php
new file mode 100644
index 00000000..1cf7b0a8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Media.php
@@ -0,0 +1,46 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "media" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusDomainsService = new Google_Service_PlusDomains(...);
+ * $media = $plusDomainsService->media;
+ * </code>
+ */
+class Google_Service_PlusDomains_Resource_Media extends 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 Google_Service_PlusDomains_Media $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_PlusDomains_Media
+ */
+ public function insert($userId, $collection, 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), "Google_Service_PlusDomains_Media");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/People.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/People.php
new file mode 100644
index 00000000..d58575c4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/People.php
@@ -0,0 +1,108 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "people" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusDomainsService = new Google_Service_PlusDomains(...);
+ * $people = $plusDomainsService->people;
+ * </code>
+ */
+class Google_Service_PlusDomains_Resource_People extends 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 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), "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 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 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.
+ * @return 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), "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 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 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.
+ * @return 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), "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 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 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.
+ * @return 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), "Google_Service_PlusDomains_PeopleFeed");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Videostream.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Videostream.php
new file mode 100644
index 00000000..e618d7c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Videostream.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_PlusDomains_Videostream extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction.php
new file mode 100644
index 00000000..871465d2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction.php
@@ -0,0 +1,205 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction extends 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";
+ /** 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'prediction/v1.6/projects/';
+ $this->version = 'v1.6';
+ $this->serviceName = 'prediction';
+
+ $this->hostedmodels = new Google_Service_Prediction_Resource_Hostedmodels(
+ $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 Google_Service_Prediction_Resource_Trainedmodels(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Analyze.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Analyze.php
new file mode 100644
index 00000000..42bb79b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Analyze.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_Analyze extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $dataDescriptionType = 'Google_Service_Prediction_AnalyzeDataDescription';
+ protected $dataDescriptionDataType = '';
+ public $errors;
+ public $id;
+ public $kind;
+ protected $modelDescriptionType = 'Google_Service_Prediction_AnalyzeModelDescription';
+ protected $modelDescriptionDataType = '';
+ public $selfLink;
+
+ public function setDataDescription(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescription.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescription.php
new file mode 100644
index 00000000..85d3265e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescription.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_AnalyzeDataDescription extends Google_Collection
+{
+ protected $collection_key = 'features';
+ protected $featuresType = 'Google_Service_Prediction_AnalyzeDataDescriptionFeatures';
+ protected $featuresDataType = 'array';
+ protected $outputFeatureType = 'Google_Service_Prediction_AnalyzeDataDescriptionOutputFeature';
+ protected $outputFeatureDataType = '';
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+ public function setOutputFeature(Google_Service_Prediction_AnalyzeDataDescriptionOutputFeature $outputFeature)
+ {
+ $this->outputFeature = $outputFeature;
+ }
+ public function getOutputFeature()
+ {
+ return $this->outputFeature;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeatures.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeatures.php
new file mode 100644
index 00000000..046c980b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeatures.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_AnalyzeDataDescriptionFeatures extends Google_Model
+{
+ protected $categoricalType = 'Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategorical';
+ protected $categoricalDataType = '';
+ public $index;
+ protected $numericType = 'Google_Service_Prediction_AnalyzeDataDescriptionFeaturesNumeric';
+ protected $numericDataType = '';
+ protected $textType = 'Google_Service_Prediction_AnalyzeDataDescriptionFeaturesText';
+ protected $textDataType = '';
+
+ public function setCategorical(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(Google_Service_Prediction_AnalyzeDataDescriptionFeaturesNumeric $numeric)
+ {
+ $this->numeric = $numeric;
+ }
+ public function getNumeric()
+ {
+ return $this->numeric;
+ }
+ public function setText(Google_Service_Prediction_AnalyzeDataDescriptionFeaturesText $text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesCategorical.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesCategorical.php
new file mode 100644
index 00000000..e8f738cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesCategorical.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategorical extends Google_Collection
+{
+ protected $collection_key = 'values';
+ public $count;
+ protected $valuesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesCategoricalValues.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesCategoricalValues.php
new file mode 100644
index 00000000..d3ba6872
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesCategoricalValues.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategoricalValues extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesNumeric.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesNumeric.php
new file mode 100644
index 00000000..a2448a81
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesNumeric.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_AnalyzeDataDescriptionFeaturesNumeric extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesText.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesText.php
new file mode 100644
index 00000000..bb594ac5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesText.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_AnalyzeDataDescriptionFeaturesText extends Google_Model
+{
+ public $count;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeature.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeature.php
new file mode 100644
index 00000000..b048fa2f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeature.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_AnalyzeDataDescriptionOutputFeature extends Google_Collection
+{
+ protected $collection_key = 'text';
+ protected $numericType = 'Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureNumeric';
+ protected $numericDataType = '';
+ protected $textType = 'Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureText';
+ protected $textDataType = 'array';
+
+ public function setNumeric(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeatureNumeric.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeatureNumeric.php
new file mode 100644
index 00000000..9d9859c0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeatureNumeric.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureNumeric extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeatureText.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeatureText.php
new file mode 100644
index 00000000..19db685b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeatureText.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureText extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeModelDescription.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeModelDescription.php
new file mode 100644
index 00000000..fbce5f6b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeModelDescription.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_AnalyzeModelDescription extends Google_Model
+{
+ public $confusionMatrix;
+ public $confusionMatrixRowTotals;
+ protected $modelinfoType = '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(Google_Service_Prediction_Insert2 $modelinfo)
+ {
+ $this->modelinfo = $modelinfo;
+ }
+ public function getModelinfo()
+ {
+ return $this->modelinfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Input.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Input.php
new file mode 100644
index 00000000..ee7e6293
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Input.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_Input extends Google_Model
+{
+ protected $inputType = 'Google_Service_Prediction_InputInput';
+ protected $inputDataType = '';
+
+ public function setInput(Google_Service_Prediction_InputInput $input)
+ {
+ $this->input = $input;
+ }
+ public function getInput()
+ {
+ return $this->input;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/InputInput.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/InputInput.php
new file mode 100644
index 00000000..e4235be7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/InputInput.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_InputInput extends Google_Collection
+{
+ protected $collection_key = 'csvInstance';
+ public $csvInstance;
+
+ public function setCsvInstance($csvInstance)
+ {
+ $this->csvInstance = $csvInstance;
+ }
+ public function getCsvInstance()
+ {
+ return $this->csvInstance;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert.php
new file mode 100644
index 00000000..fdf985d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_Insert extends Google_Collection
+{
+ protected $collection_key = 'utility';
+ public $id;
+ public $modelType;
+ public $sourceModel;
+ public $storageDataLocation;
+ public $storagePMMLLocation;
+ public $storagePMMLModelLocation;
+ protected $trainingInstancesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert2.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert2.php
new file mode 100644
index 00000000..8bc3b4d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert2.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_Insert2 extends Google_Model
+{
+ public $created;
+ public $id;
+ public $kind;
+ protected $modelInfoType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert2ModelInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert2ModelInfo.php
new file mode 100644
index 00000000..38651648
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert2ModelInfo.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_Insert2ModelInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/InsertTrainingInstances.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/InsertTrainingInstances.php
new file mode 100644
index 00000000..98b46c50
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/InsertTrainingInstances.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_InsertTrainingInstances extends Google_Collection
+{
+ protected $collection_key = 'csvInstance';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Output.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Output.php
new file mode 100644
index 00000000..caf2136b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Output.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_Output extends Google_Collection
+{
+ protected $collection_key = 'outputMulti';
+ public $id;
+ public $kind;
+ public $outputLabel;
+ protected $outputMultiType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/OutputOutputMulti.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/OutputOutputMulti.php
new file mode 100644
index 00000000..cbeee94d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/OutputOutputMulti.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_OutputOutputMulti extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/PredictionList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/PredictionList.php
new file mode 100644
index 00000000..177cb7d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/PredictionList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_PredictionList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Resource/Hostedmodels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Resource/Hostedmodels.php
new file mode 100644
index 00000000..57ce7fae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Resource/Hostedmodels.php
@@ -0,0 +1,44 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "hostedmodels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $predictionService = new Google_Service_Prediction(...);
+ * $hostedmodels = $predictionService->hostedmodels;
+ * </code>
+ */
+class Google_Service_Prediction_Resource_Hostedmodels extends 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 Google_Service_Prediction_Input $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Prediction_Output
+ */
+ public function predict($project, $hostedModelName, 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), "Google_Service_Prediction_Output");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Resource/Trainedmodels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Resource/Trainedmodels.php
new file mode 100644
index 00000000..a7de1b7c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Resource/Trainedmodels.php
@@ -0,0 +1,130 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "trainedmodels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $predictionService = new Google_Service_Prediction(...);
+ * $trainedmodels = $predictionService->trainedmodels;
+ * </code>
+ */
+class Google_Service_Prediction_Resource_Trainedmodels extends 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 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), "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 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), "Google_Service_Prediction_Insert2");
+ }
+ /**
+ * Train a Prediction API model. (trainedmodels.insert)
+ *
+ * @param string $project The project associated with the model.
+ * @param Google_Service_Prediction_Insert $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Prediction_Insert2
+ */
+ public function insert($project, Google_Service_Prediction_Insert $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 maxResults Maximum number of results to return.
+ * @opt_param string pageToken Pagination token.
+ * @return 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), "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 Google_Service_Prediction_Input $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Prediction_Output
+ */
+ public function predict($project, $id, 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), "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 Google_Service_Prediction_Update $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Prediction_Insert2
+ */
+ public function update($project, $id, 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), "Google_Service_Prediction_Insert2");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Update.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Update.php
new file mode 100644
index 00000000..db3f867e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Update.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Prediction_Update extends Google_Collection
+{
+ protected $collection_key = 'csvInstance';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon.php
new file mode 100644
index 00000000..81638c22
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon.php
@@ -0,0 +1,353 @@
+<?php
+/*
+ * Copyright 2016 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 Proximitybeacon (v1beta1).
+ *
+ * <p>
+ * Registers, manages, indexes, and searches beacons.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/beacons/proximity/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Proximitybeacon extends Google_Service
+{
+ /** View and modify your beacons. */
+ const USERLOCATION_BEACON_REGISTRY =
+ "https://www.googleapis.com/auth/userlocation.beacon.registry";
+
+ public $beaconinfo;
+ public $beacons;
+ public $beacons_attachments;
+ public $beacons_diagnostics;
+ public $namespaces;
+ public $v1beta1;
+
+ /**
+ * Constructs the internal representation of the Proximitybeacon service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://proximitybeacon.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1beta1';
+ $this->serviceName = 'proximitybeacon';
+
+ $this->beaconinfo = new Google_Service_Proximitybeacon_Resource_Beaconinfo(
+ $this,
+ $this->serviceName,
+ 'beaconinfo',
+ array(
+ 'methods' => array(
+ 'getforobserved' => array(
+ 'path' => 'v1beta1/beaconinfo:getforobserved',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->beacons = new Google_Service_Proximitybeacon_Resource_Beacons(
+ $this,
+ $this->serviceName,
+ 'beacons',
+ array(
+ 'methods' => array(
+ 'activate' => array(
+ 'path' => 'v1beta1/{+beaconName}:activate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'beaconName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'deactivate' => array(
+ 'path' => 'v1beta1/{+beaconName}:deactivate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'beaconName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'decommission' => array(
+ 'path' => 'v1beta1/{+beaconName}:decommission',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'beaconName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1beta1/{+beaconName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'beaconName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1beta1/{+beaconName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'beaconName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1beta1/beacons',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'register' => array(
+ 'path' => 'v1beta1/beacons:register',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v1beta1/{+beaconName}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'beaconName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->beacons_attachments = new Google_Service_Proximitybeacon_Resource_BeaconsAttachments(
+ $this,
+ $this->serviceName,
+ 'attachments',
+ array(
+ 'methods' => array(
+ 'batchDelete' => array(
+ 'path' => 'v1beta1/{+beaconName}/attachments:batchDelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'beaconName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'namespacedType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'v1beta1/{+beaconName}/attachments',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'beaconName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1beta1/{+attachmentName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'attachmentName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1beta1/{+beaconName}/attachments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'beaconName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'namespacedType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->beacons_diagnostics = new Google_Service_Proximitybeacon_Resource_BeaconsDiagnostics(
+ $this,
+ $this->serviceName,
+ 'diagnostics',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1beta1/{+beaconName}/diagnostics',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'beaconName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'alertFilter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->namespaces = new Google_Service_Proximitybeacon_Resource_Namespaces(
+ $this,
+ $this->serviceName,
+ 'namespaces',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1beta1/namespaces',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v1beta1/{+namespaceName}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'namespaceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->v1beta1 = new Google_Service_Proximitybeacon_Resource_V1beta1(
+ $this,
+ $this->serviceName,
+ 'v1beta1',
+ array(
+ 'methods' => array(
+ 'getEidparams' => array(
+ 'path' => 'v1beta1/eidparams',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/AdvertisedId.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/AdvertisedId.php
new file mode 100644
index 00000000..de73fa61
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/AdvertisedId.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_AdvertisedId extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/AttachmentInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/AttachmentInfo.php
new file mode 100644
index 00000000..88213c41
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/AttachmentInfo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_AttachmentInfo extends Google_Model
+{
+ public $data;
+ public $namespacedType;
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setNamespacedType($namespacedType)
+ {
+ $this->namespacedType = $namespacedType;
+ }
+ public function getNamespacedType()
+ {
+ return $this->namespacedType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Beacon.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Beacon.php
new file mode 100644
index 00000000..e2713f2e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Beacon.php
@@ -0,0 +1,124 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_Beacon extends Google_Model
+{
+ protected $advertisedIdType = 'Google_Service_Proximitybeacon_AdvertisedId';
+ protected $advertisedIdDataType = '';
+ public $beaconName;
+ public $description;
+ protected $ephemeralIdRegistrationType = 'Google_Service_Proximitybeacon_EphemeralIdRegistration';
+ protected $ephemeralIdRegistrationDataType = '';
+ public $expectedStability;
+ protected $indoorLevelType = 'Google_Service_Proximitybeacon_IndoorLevel';
+ protected $indoorLevelDataType = '';
+ protected $latLngType = 'Google_Service_Proximitybeacon_LatLng';
+ protected $latLngDataType = '';
+ public $placeId;
+ public $properties;
+ public $provisioningKey;
+ public $status;
+
+ public function setAdvertisedId(Google_Service_Proximitybeacon_AdvertisedId $advertisedId)
+ {
+ $this->advertisedId = $advertisedId;
+ }
+ public function getAdvertisedId()
+ {
+ return $this->advertisedId;
+ }
+ public function setBeaconName($beaconName)
+ {
+ $this->beaconName = $beaconName;
+ }
+ public function getBeaconName()
+ {
+ return $this->beaconName;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEphemeralIdRegistration(Google_Service_Proximitybeacon_EphemeralIdRegistration $ephemeralIdRegistration)
+ {
+ $this->ephemeralIdRegistration = $ephemeralIdRegistration;
+ }
+ public function getEphemeralIdRegistration()
+ {
+ return $this->ephemeralIdRegistration;
+ }
+ public function setExpectedStability($expectedStability)
+ {
+ $this->expectedStability = $expectedStability;
+ }
+ public function getExpectedStability()
+ {
+ return $this->expectedStability;
+ }
+ public function setIndoorLevel(Google_Service_Proximitybeacon_IndoorLevel $indoorLevel)
+ {
+ $this->indoorLevel = $indoorLevel;
+ }
+ public function getIndoorLevel()
+ {
+ return $this->indoorLevel;
+ }
+ public function setLatLng(Google_Service_Proximitybeacon_LatLng $latLng)
+ {
+ $this->latLng = $latLng;
+ }
+ public function getLatLng()
+ {
+ return $this->latLng;
+ }
+ public function setPlaceId($placeId)
+ {
+ $this->placeId = $placeId;
+ }
+ public function getPlaceId()
+ {
+ return $this->placeId;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+ public function setProvisioningKey($provisioningKey)
+ {
+ $this->provisioningKey = $provisioningKey;
+ }
+ public function getProvisioningKey()
+ {
+ return $this->provisioningKey;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/BeaconAttachment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/BeaconAttachment.php
new file mode 100644
index 00000000..05d76e8c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/BeaconAttachment.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_BeaconAttachment extends Google_Model
+{
+ public $attachmentName;
+ public $creationTimeMs;
+ public $data;
+ public $namespacedType;
+
+ public function setAttachmentName($attachmentName)
+ {
+ $this->attachmentName = $attachmentName;
+ }
+ public function getAttachmentName()
+ {
+ return $this->attachmentName;
+ }
+ public function setCreationTimeMs($creationTimeMs)
+ {
+ $this->creationTimeMs = $creationTimeMs;
+ }
+ public function getCreationTimeMs()
+ {
+ return $this->creationTimeMs;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setNamespacedType($namespacedType)
+ {
+ $this->namespacedType = $namespacedType;
+ }
+ public function getNamespacedType()
+ {
+ return $this->namespacedType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/BeaconInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/BeaconInfo.php
new file mode 100644
index 00000000..cd360398
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/BeaconInfo.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_BeaconInfo extends Google_Collection
+{
+ protected $collection_key = 'attachments';
+ protected $advertisedIdType = 'Google_Service_Proximitybeacon_AdvertisedId';
+ protected $advertisedIdDataType = '';
+ protected $attachmentsType = 'Google_Service_Proximitybeacon_AttachmentInfo';
+ protected $attachmentsDataType = 'array';
+ public $beaconName;
+
+ public function setAdvertisedId(Google_Service_Proximitybeacon_AdvertisedId $advertisedId)
+ {
+ $this->advertisedId = $advertisedId;
+ }
+ public function getAdvertisedId()
+ {
+ return $this->advertisedId;
+ }
+ public function setAttachments($attachments)
+ {
+ $this->attachments = $attachments;
+ }
+ public function getAttachments()
+ {
+ return $this->attachments;
+ }
+ public function setBeaconName($beaconName)
+ {
+ $this->beaconName = $beaconName;
+ }
+ public function getBeaconName()
+ {
+ return $this->beaconName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Date.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Date.php
new file mode 100644
index 00000000..14b2ebbc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Date.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_Date extends Google_Model
+{
+ public $day;
+ public $month;
+ public $year;
+
+ 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;
+ }
+ public function setYear($year)
+ {
+ $this->year = $year;
+ }
+ public function getYear()
+ {
+ return $this->year;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/DeleteAttachmentsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/DeleteAttachmentsResponse.php
new file mode 100644
index 00000000..edccbfbd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/DeleteAttachmentsResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_DeleteAttachmentsResponse extends Google_Model
+{
+ public $numDeleted;
+
+ public function setNumDeleted($numDeleted)
+ {
+ $this->numDeleted = $numDeleted;
+ }
+ public function getNumDeleted()
+ {
+ return $this->numDeleted;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Diagnostics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Diagnostics.php
new file mode 100644
index 00000000..6294b534
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Diagnostics.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_Diagnostics extends Google_Collection
+{
+ protected $collection_key = 'alerts';
+ public $alerts;
+ public $beaconName;
+ protected $estimatedLowBatteryDateType = 'Google_Service_Proximitybeacon_Date';
+ protected $estimatedLowBatteryDateDataType = '';
+
+ public function setAlerts($alerts)
+ {
+ $this->alerts = $alerts;
+ }
+ public function getAlerts()
+ {
+ return $this->alerts;
+ }
+ public function setBeaconName($beaconName)
+ {
+ $this->beaconName = $beaconName;
+ }
+ public function getBeaconName()
+ {
+ return $this->beaconName;
+ }
+ public function setEstimatedLowBatteryDate(Google_Service_Proximitybeacon_Date $estimatedLowBatteryDate)
+ {
+ $this->estimatedLowBatteryDate = $estimatedLowBatteryDate;
+ }
+ public function getEstimatedLowBatteryDate()
+ {
+ return $this->estimatedLowBatteryDate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/EphemeralIdRegistration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/EphemeralIdRegistration.php
new file mode 100644
index 00000000..0859c14b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/EphemeralIdRegistration.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_EphemeralIdRegistration extends Google_Model
+{
+ public $beaconEcdhPublicKey;
+ public $beaconIdentityKey;
+ public $initialClockValue;
+ public $initialEid;
+ public $rotationPeriodExponent;
+ public $serviceEcdhPublicKey;
+
+ public function setBeaconEcdhPublicKey($beaconEcdhPublicKey)
+ {
+ $this->beaconEcdhPublicKey = $beaconEcdhPublicKey;
+ }
+ public function getBeaconEcdhPublicKey()
+ {
+ return $this->beaconEcdhPublicKey;
+ }
+ public function setBeaconIdentityKey($beaconIdentityKey)
+ {
+ $this->beaconIdentityKey = $beaconIdentityKey;
+ }
+ public function getBeaconIdentityKey()
+ {
+ return $this->beaconIdentityKey;
+ }
+ public function setInitialClockValue($initialClockValue)
+ {
+ $this->initialClockValue = $initialClockValue;
+ }
+ public function getInitialClockValue()
+ {
+ return $this->initialClockValue;
+ }
+ public function setInitialEid($initialEid)
+ {
+ $this->initialEid = $initialEid;
+ }
+ public function getInitialEid()
+ {
+ return $this->initialEid;
+ }
+ public function setRotationPeriodExponent($rotationPeriodExponent)
+ {
+ $this->rotationPeriodExponent = $rotationPeriodExponent;
+ }
+ public function getRotationPeriodExponent()
+ {
+ return $this->rotationPeriodExponent;
+ }
+ public function setServiceEcdhPublicKey($serviceEcdhPublicKey)
+ {
+ $this->serviceEcdhPublicKey = $serviceEcdhPublicKey;
+ }
+ public function getServiceEcdhPublicKey()
+ {
+ return $this->serviceEcdhPublicKey;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/EphemeralIdRegistrationParams.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/EphemeralIdRegistrationParams.php
new file mode 100644
index 00000000..38577f17
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/EphemeralIdRegistrationParams.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_EphemeralIdRegistrationParams extends Google_Model
+{
+ public $maxRotationPeriodExponent;
+ public $minRotationPeriodExponent;
+ public $serviceEcdhPublicKey;
+
+ public function setMaxRotationPeriodExponent($maxRotationPeriodExponent)
+ {
+ $this->maxRotationPeriodExponent = $maxRotationPeriodExponent;
+ }
+ public function getMaxRotationPeriodExponent()
+ {
+ return $this->maxRotationPeriodExponent;
+ }
+ public function setMinRotationPeriodExponent($minRotationPeriodExponent)
+ {
+ $this->minRotationPeriodExponent = $minRotationPeriodExponent;
+ }
+ public function getMinRotationPeriodExponent()
+ {
+ return $this->minRotationPeriodExponent;
+ }
+ public function setServiceEcdhPublicKey($serviceEcdhPublicKey)
+ {
+ $this->serviceEcdhPublicKey = $serviceEcdhPublicKey;
+ }
+ public function getServiceEcdhPublicKey()
+ {
+ return $this->serviceEcdhPublicKey;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/GetInfoForObservedBeaconsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/GetInfoForObservedBeaconsRequest.php
new file mode 100644
index 00000000..e530615a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/GetInfoForObservedBeaconsRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_GetInfoForObservedBeaconsRequest extends Google_Collection
+{
+ protected $collection_key = 'observations';
+ public $namespacedTypes;
+ protected $observationsType = 'Google_Service_Proximitybeacon_Observation';
+ protected $observationsDataType = 'array';
+
+ public function setNamespacedTypes($namespacedTypes)
+ {
+ $this->namespacedTypes = $namespacedTypes;
+ }
+ public function getNamespacedTypes()
+ {
+ return $this->namespacedTypes;
+ }
+ public function setObservations($observations)
+ {
+ $this->observations = $observations;
+ }
+ public function getObservations()
+ {
+ return $this->observations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/GetInfoForObservedBeaconsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/GetInfoForObservedBeaconsResponse.php
new file mode 100644
index 00000000..8522a546
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/GetInfoForObservedBeaconsResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_GetInfoForObservedBeaconsResponse extends Google_Collection
+{
+ protected $collection_key = 'beacons';
+ protected $beaconsType = 'Google_Service_Proximitybeacon_BeaconInfo';
+ protected $beaconsDataType = 'array';
+
+ public function setBeacons($beacons)
+ {
+ $this->beacons = $beacons;
+ }
+ public function getBeacons()
+ {
+ return $this->beacons;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/IndoorLevel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/IndoorLevel.php
new file mode 100644
index 00000000..a2506345
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/IndoorLevel.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_IndoorLevel extends Google_Model
+{
+ public $name;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/LatLng.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/LatLng.php
new file mode 100644
index 00000000..e79bdeb5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/LatLng.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_LatLng extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListBeaconAttachmentsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListBeaconAttachmentsResponse.php
new file mode 100644
index 00000000..bd04678e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListBeaconAttachmentsResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_ListBeaconAttachmentsResponse extends Google_Collection
+{
+ protected $collection_key = 'attachments';
+ protected $attachmentsType = 'Google_Service_Proximitybeacon_BeaconAttachment';
+ protected $attachmentsDataType = 'array';
+
+ public function setAttachments($attachments)
+ {
+ $this->attachments = $attachments;
+ }
+ public function getAttachments()
+ {
+ return $this->attachments;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListBeaconsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListBeaconsResponse.php
new file mode 100644
index 00000000..3a9d6eaf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListBeaconsResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_ListBeaconsResponse extends Google_Collection
+{
+ protected $collection_key = 'beacons';
+ protected $beaconsType = 'Google_Service_Proximitybeacon_Beacon';
+ protected $beaconsDataType = 'array';
+ public $nextPageToken;
+ public $totalCount;
+
+ public function setBeacons($beacons)
+ {
+ $this->beacons = $beacons;
+ }
+ public function getBeacons()
+ {
+ return $this->beacons;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalCount($totalCount)
+ {
+ $this->totalCount = $totalCount;
+ }
+ public function getTotalCount()
+ {
+ return $this->totalCount;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListDiagnosticsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListDiagnosticsResponse.php
new file mode 100644
index 00000000..e60e49f7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListDiagnosticsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_ListDiagnosticsResponse extends Google_Collection
+{
+ protected $collection_key = 'diagnostics';
+ protected $diagnosticsType = 'Google_Service_Proximitybeacon_Diagnostics';
+ protected $diagnosticsDataType = 'array';
+ public $nextPageToken;
+
+ public function setDiagnostics($diagnostics)
+ {
+ $this->diagnostics = $diagnostics;
+ }
+ public function getDiagnostics()
+ {
+ return $this->diagnostics;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListNamespacesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListNamespacesResponse.php
new file mode 100644
index 00000000..2fc56989
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListNamespacesResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_ListNamespacesResponse extends Google_Collection
+{
+ protected $collection_key = 'namespaces';
+ protected $namespacesType = 'Google_Service_Proximitybeacon_ProximitybeaconNamespace';
+ protected $namespacesDataType = 'array';
+
+ public function setNamespaces($namespaces)
+ {
+ $this->namespaces = $namespaces;
+ }
+ public function getNamespaces()
+ {
+ return $this->namespaces;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Observation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Observation.php
new file mode 100644
index 00000000..d8095521
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Observation.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_Observation extends Google_Model
+{
+ protected $advertisedIdType = 'Google_Service_Proximitybeacon_AdvertisedId';
+ protected $advertisedIdDataType = '';
+ public $telemetry;
+ public $timestampMs;
+
+ public function setAdvertisedId(Google_Service_Proximitybeacon_AdvertisedId $advertisedId)
+ {
+ $this->advertisedId = $advertisedId;
+ }
+ public function getAdvertisedId()
+ {
+ return $this->advertisedId;
+ }
+ public function setTelemetry($telemetry)
+ {
+ $this->telemetry = $telemetry;
+ }
+ public function getTelemetry()
+ {
+ return $this->telemetry;
+ }
+ public function setTimestampMs($timestampMs)
+ {
+ $this->timestampMs = $timestampMs;
+ }
+ public function getTimestampMs()
+ {
+ return $this->timestampMs;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ProximitybeaconEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ProximitybeaconEmpty.php
new file mode 100644
index 00000000..5bcf3afb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ProximitybeaconEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_ProximitybeaconEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ProximitybeaconNamespace.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ProximitybeaconNamespace.php
new file mode 100644
index 00000000..ff46682a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ProximitybeaconNamespace.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Proximitybeacon_ProximitybeaconNamespace extends Google_Model
+{
+ public $namespaceName;
+ public $servingVisibility;
+
+ public function setNamespaceName($namespaceName)
+ {
+ $this->namespaceName = $namespaceName;
+ }
+ public function getNamespaceName()
+ {
+ return $this->namespaceName;
+ }
+ public function setServingVisibility($servingVisibility)
+ {
+ $this->servingVisibility = $servingVisibility;
+ }
+ public function getServingVisibility()
+ {
+ return $this->servingVisibility;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Beaconinfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Beaconinfo.php
new file mode 100644
index 00000000..0208cc15
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Beaconinfo.php
@@ -0,0 +1,44 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "beaconinfo" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $proximitybeaconService = new Google_Service_Proximitybeacon(...);
+ * $beaconinfo = $proximitybeaconService->beaconinfo;
+ * </code>
+ */
+class Google_Service_Proximitybeacon_Resource_Beaconinfo extends Google_Service_Resource
+{
+ /**
+ * Given one or more beacon observations, returns any beacon information and
+ * attachments accessible to your application. Authorize by using the [API
+ * key](https://developers.google.com/beacons/proximity/how-
+ * tos/authorizing#APIKey) for the application. (beaconinfo.getforobserved)
+ *
+ * @param Google_Service_Proximitybeacon_GetInfoForObservedBeaconsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Proximitybeacon_GetInfoForObservedBeaconsResponse
+ */
+ public function getforobserved(Google_Service_Proximitybeacon_GetInfoForObservedBeaconsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getforobserved', array($params), "Google_Service_Proximitybeacon_GetInfoForObservedBeaconsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Beacons.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Beacons.php
new file mode 100644
index 00000000..1600280c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Beacons.php
@@ -0,0 +1,316 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "beacons" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $proximitybeaconService = new Google_Service_Proximitybeacon(...);
+ * $beacons = $proximitybeaconService->beacons;
+ * </code>
+ */
+class Google_Service_Proximitybeacon_Resource_Beacons extends Google_Service_Resource
+{
+ /**
+ * Activates a beacon. A beacon that is active will return information and
+ * attachment data when queried via `beaconinfo.getforobserved`. Calling this
+ * method on an already active beacon will do nothing (but will return a
+ * successful response code).
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2) from a
+ * signed-in user with **Is owner** or **Can edit** permissions in the Google
+ * Developers Console project. (beacons.activate)
+ *
+ * @param string $beaconName Beacon that should be activated. A beacon name has
+ * the format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast
+ * by the beacon and N is a code for the beacon's type. Possible values are `3`
+ * for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for
+ * AltBeacon. For Eddystone-EID beacons, you may use either the current EID or
+ * the beacon's "stable" UID. Required.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projectId The project id of the beacon to activate. If the
+ * project id is not specified then the project making the request is used. The
+ * project id must match the project that owns the beacon. Optional.
+ * @return Google_Service_Proximitybeacon_ProximitybeaconEmpty
+ */
+ public function activate($beaconName, $optParams = array())
+ {
+ $params = array('beaconName' => $beaconName);
+ $params = array_merge($params, $optParams);
+ return $this->call('activate', array($params), "Google_Service_Proximitybeacon_ProximitybeaconEmpty");
+ }
+ /**
+ * Deactivates a beacon. Once deactivated, the API will not return information
+ * nor attachment data for the beacon when queried via
+ * `beaconinfo.getforobserved`. Calling this method on an already inactive
+ * beacon will do nothing (but will return a successful response code).
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2) from a
+ * signed-in user with **Is owner** or **Can edit** permissions in the Google
+ * Developers Console project. (beacons.deactivate)
+ *
+ * @param string $beaconName Beacon that should be deactivated. A beacon name
+ * has the format "beacons/N!beaconId" where the beaconId is the base16 ID
+ * broadcast by the beacon and N is a code for the beacon's type. Possible
+ * values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or
+ * `5` for AltBeacon. For Eddystone-EID beacons, you may use either the current
+ * EID or the beacon's "stable" UID. Required.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projectId The project id of the beacon to deactivate. If
+ * the project id is not specified then the project making the request is used.
+ * The project id must match the project that owns the beacon. Optional.
+ * @return Google_Service_Proximitybeacon_ProximitybeaconEmpty
+ */
+ public function deactivate($beaconName, $optParams = array())
+ {
+ $params = array('beaconName' => $beaconName);
+ $params = array_merge($params, $optParams);
+ return $this->call('deactivate', array($params), "Google_Service_Proximitybeacon_ProximitybeaconEmpty");
+ }
+ /**
+ * Decommissions the specified beacon in the service. This beacon will no longer
+ * be returned from `beaconinfo.getforobserved`. This operation is permanent --
+ * you will not be able to re-register a beacon with this ID again.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2) from a
+ * signed-in user with **Is owner** or **Can edit** permissions in the Google
+ * Developers Console project. (beacons.decommission)
+ *
+ * @param string $beaconName Beacon that should be decommissioned. A beacon name
+ * has the format "beacons/N!beaconId" where the beaconId is the base16 ID
+ * broadcast by the beacon and N is a code for the beacon's type. Possible
+ * values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or
+ * `5` for AltBeacon. For Eddystone-EID beacons, you may use either the current
+ * EID of the beacon's "stable" UID. Required.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projectId The project id of the beacon to decommission. If
+ * the project id is not specified then the project making the request is used.
+ * The project id must match the project that owns the beacon. Optional.
+ * @return Google_Service_Proximitybeacon_ProximitybeaconEmpty
+ */
+ public function decommission($beaconName, $optParams = array())
+ {
+ $params = array('beaconName' => $beaconName);
+ $params = array_merge($params, $optParams);
+ return $this->call('decommission', array($params), "Google_Service_Proximitybeacon_ProximitybeaconEmpty");
+ }
+ /**
+ * Deletes the specified beacon including all diagnostics data for the beacon as
+ * well as any attachments on the beacon (including those belonging to other
+ * projects). This operation cannot be undone.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2) from a
+ * signed-in user with **Is owner** or **Can edit** permissions in the Google
+ * Developers Console project. (beacons.delete)
+ *
+ * @param string $beaconName Beacon that should be deleted. A beacon name has
+ * the format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast
+ * by the beacon and N is a code for the beacon's type. Possible values are `3`
+ * for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for
+ * AltBeacon. For Eddystone-EID beacons, you may use either the current EID or
+ * the beacon's "stable" UID. Required.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projectId The project id of the beacon to delete. If not
+ * provided, the project that is making the request is used. Optional.
+ * @return Google_Service_Proximitybeacon_ProximitybeaconEmpty
+ */
+ public function delete($beaconName, $optParams = array())
+ {
+ $params = array('beaconName' => $beaconName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Proximitybeacon_ProximitybeaconEmpty");
+ }
+ /**
+ * Returns detailed information about the specified beacon.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2) from a
+ * signed-in user with **viewer**, **Is owner** or **Can edit** permissions in
+ * the Google Developers Console project.
+ *
+ * Requests may supply an Eddystone-EID beacon name in the form:
+ * `beacons/4!beaconId` where the `beaconId` is the base16 ephemeral ID
+ * broadcast by the beacon. The returned `Beacon` object will contain the
+ * beacon's stable Eddystone-UID. Clients not authorized to resolve the beacon's
+ * ephemeral Eddystone-EID broadcast will receive an error. (beacons.get)
+ *
+ * @param string $beaconName Resource name of this beacon. A beacon name has the
+ * format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
+ * the beacon and N is a code for the beacon's type. Possible values are `3` for
+ * Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon.
+ * For Eddystone-EID beacons, you may use either the current EID or the beacon's
+ * "stable" UID. Required.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projectId The project id of the beacon to request. If the
+ * project id is not specified then the project making the request is used. The
+ * project id must match the project that owns the beacon. Optional.
+ * @return Google_Service_Proximitybeacon_Beacon
+ */
+ public function get($beaconName, $optParams = array())
+ {
+ $params = array('beaconName' => $beaconName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Proximitybeacon_Beacon");
+ }
+ /**
+ * Searches the beacon registry for beacons that match the given search
+ * criteria. Only those beacons that the client has permission to list will be
+ * returned.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2) from a
+ * signed-in user with **viewer**, **Is owner** or **Can edit** permissions in
+ * the Google Developers Console project. (beacons.listBeacons)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string q Filter query string that supports the following field
+ * filters:
+ *
+ * * **description:`""`** For example: **description:"Room 3"** Returns
+ * beacons whose description matches tokens in the string "Room 3" (not
+ * necessarily that exact string). The string must be double-quoted. *
+ * **status:``** For example: **status:active** Returns beacons whose status
+ * matches the given value. Values must be one of the Beacon.Status enum
+ * values (case insensitive). Accepts multiple filters which will be combined
+ * with OR logic. * **stability:``** For example: **stability:mobile**
+ * Returns beacons whose expected stability matches the given value. Values
+ * must be one of the Beacon.Stability enum values (case insensitive). Accepts
+ * multiple filters which will be combined with OR logic. * **place\_id:`""`**
+ * For example: **place\_id:"ChIJVSZzVR8FdkgRXGmmm6SslKw="** Returns beacons
+ * explicitly registered at the given place, expressed as a Place ID obtained
+ * from [Google Places API](/places/place-id). Does not match places inside
+ * the given place. Does not consider the beacon's actual location (which may
+ * be different from its registered place). Accepts multiple filters that will
+ * be combined with OR logic. The place ID must be double-quoted. *
+ * **registration\_time`[<|>|<=|>=]`** For example:
+ * **registration\_time>=1433116800** Returns beacons whose registration time
+ * matches the given filter. Supports the operators: <, >, <=, and >=.
+ * Timestamp must be expressed as an integer number of seconds since midnight
+ * January 1, 1970 UTC. Accepts at most two filters that will be combined with
+ * AND logic, to support "between" semantics. If more than two are supplied,
+ * the latter ones are ignored. * **lat:` lng: radius:`** For example:
+ * **lat:51.1232343 lng:-1.093852 radius:1000** Returns beacons whose
+ * registered location is within the given circle. When any of these fields
+ * are given, all are required. Latitude and longitude must be decimal degrees
+ * between -90.0 and 90.0 and between -180.0 and 180.0 respectively. Radius
+ * must be an integer number of meters between 10 and 1,000,000 (1000 km). *
+ * **property:`"="`** For example: **property:"battery-type=CR2032"**
+ * Returns beacons which have a property of the given name and value. Supports
+ * multiple filters which will be combined with OR logic. The entire
+ * name=value string must be double-quoted as one string. *
+ * **attachment\_type:`""`** For example: **attachment_type:"my-namespace/my-
+ * type"** Returns beacons having at least one attachment of the given
+ * namespaced type. Supports "any within this namespace" via the partial
+ * wildcard syntax: "my-namespace". Supports multiple filters which will be
+ * combined with OR logic. The string must be double-quoted. *
+ * **indoor\_level:`""`** For example: **indoor\_level:"1"** Returns beacons
+ * which are located on the given indoor level. Accepts multiple filters that
+ * will be combined with OR logic.
+ *
+ * Multiple filters on the same field are combined with OR logic (except
+ * registration_time which is combined with AND logic). Multiple filters on
+ * different fields are combined with AND logic. Filters should be separated by
+ * spaces.
+ *
+ * As with any HTTP query string parameter, the whole filter expression must be
+ * URL-encoded.
+ *
+ * Example REST request: `GET
+ * /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000`
+ * @opt_param int pageSize The maximum number of records to return for this
+ * request, up to a server-defined upper limit.
+ * @opt_param string pageToken A pagination token obtained from a previous
+ * request to list beacons.
+ * @opt_param string projectId The project id to list beacons under. If not
+ * present then the project credential that made the request is used as the
+ * project. Optional.
+ * @return Google_Service_Proximitybeacon_ListBeaconsResponse
+ */
+ public function listBeacons($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Proximitybeacon_ListBeaconsResponse");
+ }
+ /**
+ * Registers a previously unregistered beacon given its `advertisedId`. These
+ * IDs are unique within the system. An ID can be registered only once.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2) from a
+ * signed-in user with **Is owner** or **Can edit** permissions in the Google
+ * Developers Console project. (beacons.register)
+ *
+ * @param Google_Service_Proximitybeacon_Beacon $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projectId The project id of the project the beacon will be
+ * registered to. If the project id is not specified then the project making the
+ * request is used. Optional.
+ * @return Google_Service_Proximitybeacon_Beacon
+ */
+ public function register(Google_Service_Proximitybeacon_Beacon $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('register', array($params), "Google_Service_Proximitybeacon_Beacon");
+ }
+ /**
+ * Updates the information about the specified beacon. **Any field that you do
+ * not populate in the submitted beacon will be permanently erased**, so you
+ * should follow the "read, modify, write" pattern to avoid inadvertently
+ * destroying data.
+ *
+ * Changes to the beacon status via this method will be silently ignored. To
+ * update beacon status, use the separate methods on this API for activation,
+ * deactivation, and decommissioning. Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2) from a
+ * signed-in user with **Is owner** or **Can edit** permissions in the Google
+ * Developers Console project. (beacons.update)
+ *
+ * @param string $beaconName Resource name of this beacon. A beacon name has the
+ * format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
+ * the beacon and N is a code for the beacon's type. Possible values are `3` for
+ * Eddystone, `1` for iBeacon, or `5` for AltBeacon.
+ *
+ * This field must be left empty when registering. After reading a beacon,
+ * clients can use the name for future operations.
+ * @param Google_Service_Proximitybeacon_Beacon $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projectId The project id of the beacon to update. If the
+ * project id is not specified then the project making the request is used. The
+ * project id must match the project that owns the beacon. Optional.
+ * @return Google_Service_Proximitybeacon_Beacon
+ */
+ public function update($beaconName, Google_Service_Proximitybeacon_Beacon $postBody, $optParams = array())
+ {
+ $params = array('beaconName' => $beaconName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Proximitybeacon_Beacon");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/BeaconsAttachments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/BeaconsAttachments.php
new file mode 100644
index 00000000..694d74d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/BeaconsAttachments.php
@@ -0,0 +1,170 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "attachments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $proximitybeaconService = new Google_Service_Proximitybeacon(...);
+ * $attachments = $proximitybeaconService->attachments;
+ * </code>
+ */
+class Google_Service_Proximitybeacon_Resource_BeaconsAttachments extends Google_Service_Resource
+{
+ /**
+ * Deletes multiple attachments on a given beacon. This operation is permanent
+ * and cannot be undone.
+ *
+ * You can optionally specify `namespacedType` to choose which attachments
+ * should be deleted. If you do not specify `namespacedType`, all your
+ * attachments on the given beacon will be deleted. You also may explicitly
+ * specify `*` to delete all.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2) from a
+ * signed-in user with **Is owner** or **Can edit** permissions in the Google
+ * Developers Console project. (attachments.batchDelete)
+ *
+ * @param string $beaconName The beacon whose attachments should be deleted. A
+ * beacon name has the format "beacons/N!beaconId" where the beaconId is the
+ * base16 ID broadcast by the beacon and N is a code for the beacon's type.
+ * Possible values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for
+ * iBeacon, or `5` for AltBeacon. For Eddystone-EID beacons, you may use either
+ * the current EID or the beacon's "stable" UID. Required.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string namespacedType Specifies the namespace and type of
+ * attachments to delete in `namespace/type` format. Accepts `*` to specify "all
+ * types in all namespaces". Optional.
+ * @opt_param string projectId The project id to delete beacon attachments
+ * under. This field can be used when "*" is specified to mean all attachment
+ * namespaces. Projects may have multiple attachments with multiple namespaces.
+ * If "*" is specified and the projectId string is empty, then the project
+ * making the request is used. Optional.
+ * @return Google_Service_Proximitybeacon_DeleteAttachmentsResponse
+ */
+ public function batchDelete($beaconName, $optParams = array())
+ {
+ $params = array('beaconName' => $beaconName);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params), "Google_Service_Proximitybeacon_DeleteAttachmentsResponse");
+ }
+ /**
+ * Associates the given data with the specified beacon. Attachment data must
+ * contain two parts:
+ *
+ * A namespaced type. The actual attachment data itself.
+ *
+ * The namespaced type consists of two parts, the namespace and the type. The
+ * namespace must be one of the values returned by the `namespaces` endpoint,
+ * while the type can be a string of any characters except for the forward slash
+ * (`/`) up to 100 characters in length.
+ *
+ * Attachment data can be up to 1024 bytes long.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2) from a
+ * signed-in user with **Is owner** or **Can edit** permissions in the Google
+ * Developers Console project. (attachments.create)
+ *
+ * @param string $beaconName Beacon on which the attachment should be created. A
+ * beacon name has the format "beacons/N!beaconId" where the beaconId is the
+ * base16 ID broadcast by the beacon and N is a code for the beacon's type.
+ * Possible values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for
+ * iBeacon, or `5` for AltBeacon. For Eddystone-EID beacons, you may use either
+ * the current EID or the beacon's "stable" UID. Required.
+ * @param Google_Service_Proximitybeacon_BeaconAttachment $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projectId The project id of the project the attachment will
+ * belong to. If the project id is not specified then the project making the
+ * request is used. Optional.
+ * @return Google_Service_Proximitybeacon_BeaconAttachment
+ */
+ public function create($beaconName, Google_Service_Proximitybeacon_BeaconAttachment $postBody, $optParams = array())
+ {
+ $params = array('beaconName' => $beaconName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Proximitybeacon_BeaconAttachment");
+ }
+ /**
+ * Deletes the specified attachment for the given beacon. Each attachment has a
+ * unique attachment name (`attachmentName`) which is returned when you fetch
+ * the attachment data via this API. You specify this with the delete request to
+ * control which attachment is removed. This operation cannot be undone.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2) from a
+ * signed-in user with **Is owner** or **Can edit** permissions in the Google
+ * Developers Console project. (attachments.delete)
+ *
+ * @param string $attachmentName The attachment name (`attachmentName`) of the
+ * attachment to remove. For example:
+ * `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For
+ * Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the
+ * beacon's current EID, or its "stable" Eddystone-UID. Required.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projectId The project id of the attachment to delete. If
+ * not provided, the project that is making the request is used. Optional.
+ * @return Google_Service_Proximitybeacon_ProximitybeaconEmpty
+ */
+ public function delete($attachmentName, $optParams = array())
+ {
+ $params = array('attachmentName' => $attachmentName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Proximitybeacon_ProximitybeaconEmpty");
+ }
+ /**
+ * Returns the attachments for the specified beacon that match the specified
+ * namespaced-type pattern.
+ *
+ * To control which namespaced types are returned, you add the `namespacedType`
+ * query parameter to the request. You must either use `*`, to return all
+ * attachments, or the namespace must be one of the ones returned from the
+ * `namespaces` endpoint.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2) from a
+ * signed-in user with **viewer**, **Is owner** or **Can edit** permissions in
+ * the Google Developers Console project. (attachments.listBeaconsAttachments)
+ *
+ * @param string $beaconName Beacon whose attachments should be fetched. A
+ * beacon name has the format "beacons/N!beaconId" where the beaconId is the
+ * base16 ID broadcast by the beacon and N is a code for the beacon's type.
+ * Possible values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for
+ * iBeacon, or `5` for AltBeacon. For Eddystone-EID beacons, you may use either
+ * the current EID or the beacon's "stable" UID. Required.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string namespacedType Specifies the namespace and type of
+ * attachment to include in response in namespace/type format. Accepts `*` to
+ * specify "all types in all namespaces".
+ * @opt_param string projectId The project id to list beacon attachments under.
+ * This field can be used when "*" is specified to mean all attachment
+ * namespaces. Projects may have multiple attachments with multiple namespaces.
+ * If "*" is specified and the projectId string is empty, then the project
+ * making the request is used. Optional.
+ * @return Google_Service_Proximitybeacon_ListBeaconAttachmentsResponse
+ */
+ public function listBeaconsAttachments($beaconName, $optParams = array())
+ {
+ $params = array('beaconName' => $beaconName);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Proximitybeacon_ListBeaconAttachmentsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/BeaconsDiagnostics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/BeaconsDiagnostics.php
new file mode 100644
index 00000000..de301528
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/BeaconsDiagnostics.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "diagnostics" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $proximitybeaconService = new Google_Service_Proximitybeacon(...);
+ * $diagnostics = $proximitybeaconService->diagnostics;
+ * </code>
+ */
+class Google_Service_Proximitybeacon_Resource_BeaconsDiagnostics extends Google_Service_Resource
+{
+ /**
+ * List the diagnostics for a single beacon. You can also list diagnostics for
+ * all the beacons owned by your Google Developers Console project by using the
+ * beacon name `beacons/-`.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2) from a
+ * signed-in user with **viewer**, **Is owner** or **Can edit** permissions in
+ * the Google Developers Console project. (diagnostics.listBeaconsDiagnostics)
+ *
+ * @param string $beaconName Beacon that the diagnostics are for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Specifies the maximum number of results to return.
+ * Defaults to 10. Maximum 1000. Optional.
+ * @opt_param string alertFilter Requests only beacons that have the given
+ * alert. For example, to find beacons that have low batteries use
+ * `alert_filter=LOW_BATTERY`.
+ * @opt_param string pageToken Requests results that occur after the
+ * `page_token`, obtained from the response to a previous request. Optional.
+ * @opt_param string projectId Requests only diagnostic records for the given
+ * project id. If not set, then the project making the request will be used for
+ * looking up diagnostic records. Optional.
+ * @return Google_Service_Proximitybeacon_ListDiagnosticsResponse
+ */
+ public function listBeaconsDiagnostics($beaconName, $optParams = array())
+ {
+ $params = array('beaconName' => $beaconName);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Proximitybeacon_ListDiagnosticsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Namespaces.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Namespaces.php
new file mode 100644
index 00000000..545a574d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Namespaces.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "namespaces" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $proximitybeaconService = new Google_Service_Proximitybeacon(...);
+ * $namespaces = $proximitybeaconService->namespaces;
+ * </code>
+ */
+class Google_Service_Proximitybeacon_Resource_Namespaces extends Google_Service_Resource
+{
+ /**
+ * Lists all attachment namespaces owned by your Google Developers Console
+ * project. Attachment data associated with a beacon must include a namespaced
+ * type, and the namespace must be owned by your project.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2) from a
+ * signed-in user with **viewer**, **Is owner** or **Can edit** permissions in
+ * the Google Developers Console project. (namespaces.listNamespaces)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projectId The project id to list namespaces under.
+ * Optional.
+ * @return Google_Service_Proximitybeacon_ListNamespacesResponse
+ */
+ public function listNamespaces($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Proximitybeacon_ListNamespacesResponse");
+ }
+ /**
+ * Updates the information about the specified namespace. Only the namespace
+ * visibility can be updated. (namespaces.update)
+ *
+ * @param string $namespaceName Resource name of this namespace. Namespaces
+ * names have the format: namespaces/namespace.
+ * @param Google_Service_Proximitybeacon_ProximitybeaconNamespace $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projectId The project id of the namespace to update. If the
+ * project id is not specified then the project making the request is used. The
+ * project id must match the project that owns the beacon. Optional.
+ * @return Google_Service_Proximitybeacon_ProximitybeaconNamespace
+ */
+ public function update($namespaceName, Google_Service_Proximitybeacon_ProximitybeaconNamespace $postBody, $optParams = array())
+ {
+ $params = array('namespaceName' => $namespaceName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Proximitybeacon_ProximitybeaconNamespace");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/V1beta1.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/V1beta1.php
new file mode 100644
index 00000000..2d1b40be
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/V1beta1.php
@@ -0,0 +1,46 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "v1beta1" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $proximitybeaconService = new Google_Service_Proximitybeacon(...);
+ * $v1beta1 = $proximitybeaconService->v1beta1;
+ * </code>
+ */
+class Google_Service_Proximitybeacon_Resource_V1beta1 extends Google_Service_Resource
+{
+ /**
+ * Gets the Proximity Beacon API's current public key and associated parameters
+ * used to initiate the Diffie-Hellman key exchange required to register a
+ * beacon that broadcasts the Eddystone-EID format. This key changes
+ * periodically; clients may cache it and re-use the same public key to
+ * provision and register multiple beacons. However, clients should be prepared
+ * to refresh this key when they encounter an error registering an Eddystone-EID
+ * beacon. (v1beta1.getEidparams)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Proximitybeacon_EphemeralIdRegistrationParams
+ */
+ public function getEidparams($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('getEidparams', array($params), "Google_Service_Proximitybeacon_EphemeralIdRegistrationParams");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub.php
new file mode 100644
index 00000000..d6b15be1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub.php
@@ -0,0 +1,353 @@
+<?php
+/*
+ * Copyright 2016 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 (v1).
+ *
+ * <p>
+ * Provides reliable, many-to-many, asynchronous messaging between applications.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/pubsub/docs" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Pubsub extends 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 $projects_snapshots;
+ public $projects_subscriptions;
+ public $projects_topics;
+ public $projects_topics_subscriptions;
+
+ /**
+ * Constructs the internal representation of the Pubsub service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://pubsub.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'pubsub';
+
+ $this->projects_snapshots = new Google_Service_Pubsub_Resource_ProjectsSnapshots(
+ $this,
+ $this->serviceName,
+ 'snapshots',
+ array(
+ 'methods' => array(
+ 'getIamPolicy' => array(
+ 'path' => 'v1/{+resource}:getIamPolicy',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => 'v1/{+resource}:setIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => 'v1/{+resource}:testIamPermissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_subscriptions = new Google_Service_Pubsub_Resource_ProjectsSubscriptions(
+ $this,
+ $this->serviceName,
+ 'subscriptions',
+ array(
+ 'methods' => array(
+ 'acknowledge' => array(
+ 'path' => 'v1/{+subscription}:acknowledge',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'subscription' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+subscription}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'subscription' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+subscription}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'subscription' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => 'v1/{+resource}:getIamPolicy',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+project}/subscriptions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'modifyAckDeadline' => array(
+ 'path' => 'v1/{+subscription}:modifyAckDeadline',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'subscription' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'modifyPushConfig' => array(
+ 'path' => 'v1/{+subscription}:modifyPushConfig',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'subscription' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'pull' => array(
+ 'path' => 'v1/{+subscription}:pull',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'subscription' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => 'v1/{+resource}:setIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => 'v1/{+resource}:testIamPermissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_topics = new Google_Service_Pubsub_Resource_ProjectsTopics(
+ $this,
+ $this->serviceName,
+ 'topics',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+topic}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'topic' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+topic}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'topic' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => 'v1/{+resource}:getIamPolicy',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+project}/topics',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'publish' => array(
+ 'path' => 'v1/{+topic}:publish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'topic' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => 'v1/{+resource}:setIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => 'v1/{+resource}:testIamPermissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_topics_subscriptions = new Google_Service_Pubsub_Resource_ProjectsTopicsSubscriptions(
+ $this,
+ $this->serviceName,
+ 'subscriptions',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1/{+topic}/subscriptions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'topic' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/AcknowledgeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/AcknowledgeRequest.php
new file mode 100644
index 00000000..7b00a19f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/AcknowledgeRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_AcknowledgeRequest extends Google_Collection
+{
+ protected $collection_key = 'ackIds';
+ public $ackIds;
+
+ public function setAckIds($ackIds)
+ {
+ $this->ackIds = $ackIds;
+ }
+ public function getAckIds()
+ {
+ return $this->ackIds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Binding.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Binding.php
new file mode 100644
index 00000000..4d35ba89
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Binding.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_Binding extends Google_Collection
+{
+ protected $collection_key = 'members';
+ public $members;
+ public $role;
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListSubscriptionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListSubscriptionsResponse.php
new file mode 100644
index 00000000..278c9796
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListSubscriptionsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_ListSubscriptionsResponse extends Google_Collection
+{
+ protected $collection_key = 'subscriptions';
+ public $nextPageToken;
+ protected $subscriptionsType = 'Google_Service_Pubsub_Subscription';
+ protected $subscriptionsDataType = 'array';
+
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListTopicSubscriptionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListTopicSubscriptionsResponse.php
new file mode 100644
index 00000000..d600e582
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListTopicSubscriptionsResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_ListTopicSubscriptionsResponse extends Google_Collection
+{
+ protected $collection_key = 'subscriptions';
+ public $nextPageToken;
+ public $subscriptions;
+
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListTopicsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListTopicsResponse.php
new file mode 100644
index 00000000..a39b544f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListTopicsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_ListTopicsResponse extends Google_Collection
+{
+ protected $collection_key = 'topics';
+ public $nextPageToken;
+ protected $topicsType = 'Google_Service_Pubsub_Topic';
+ protected $topicsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTopics($topics)
+ {
+ $this->topics = $topics;
+ }
+ public function getTopics()
+ {
+ return $this->topics;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ModifyAckDeadlineRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ModifyAckDeadlineRequest.php
new file mode 100644
index 00000000..05277801
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ModifyAckDeadlineRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_ModifyAckDeadlineRequest extends Google_Collection
+{
+ protected $collection_key = 'ackIds';
+ public $ackDeadlineSeconds;
+ public $ackIds;
+
+ public function setAckDeadlineSeconds($ackDeadlineSeconds)
+ {
+ $this->ackDeadlineSeconds = $ackDeadlineSeconds;
+ }
+ public function getAckDeadlineSeconds()
+ {
+ return $this->ackDeadlineSeconds;
+ }
+ public function setAckIds($ackIds)
+ {
+ $this->ackIds = $ackIds;
+ }
+ public function getAckIds()
+ {
+ return $this->ackIds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ModifyPushConfigRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ModifyPushConfigRequest.php
new file mode 100644
index 00000000..738bf73c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ModifyPushConfigRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_ModifyPushConfigRequest extends Google_Model
+{
+ protected $pushConfigType = 'Google_Service_Pubsub_PushConfig';
+ protected $pushConfigDataType = '';
+
+ public function setPushConfig(Google_Service_Pubsub_PushConfig $pushConfig)
+ {
+ $this->pushConfig = $pushConfig;
+ }
+ public function getPushConfig()
+ {
+ return $this->pushConfig;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Policy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Policy.php
new file mode 100644
index 00000000..556af7b9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Policy.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_Policy extends Google_Collection
+{
+ protected $collection_key = 'bindings';
+ protected $bindingsType = 'Google_Service_Pubsub_Binding';
+ protected $bindingsDataType = 'array';
+ public $etag;
+ public $version;
+
+ public function setBindings($bindings)
+ {
+ $this->bindings = $bindings;
+ }
+ public function getBindings()
+ {
+ return $this->bindings;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PublishRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PublishRequest.php
new file mode 100644
index 00000000..a3a8db7f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PublishRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_PublishRequest extends Google_Collection
+{
+ protected $collection_key = 'messages';
+ protected $messagesType = 'Google_Service_Pubsub_PubsubMessage';
+ protected $messagesDataType = 'array';
+
+ public function setMessages($messages)
+ {
+ $this->messages = $messages;
+ }
+ public function getMessages()
+ {
+ return $this->messages;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PublishResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PublishResponse.php
new file mode 100644
index 00000000..c639c407
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PublishResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_PublishResponse extends Google_Collection
+{
+ protected $collection_key = 'messageIds';
+ public $messageIds;
+
+ public function setMessageIds($messageIds)
+ {
+ $this->messageIds = $messageIds;
+ }
+ public function getMessageIds()
+ {
+ return $this->messageIds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PubsubEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PubsubEmpty.php
new file mode 100644
index 00000000..07f94691
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PubsubEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_PubsubEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PubsubMessage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PubsubMessage.php
new file mode 100644
index 00000000..f5207ff8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PubsubMessage.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_PubsubMessage extends Google_Model
+{
+ public $attributes;
+ public $data;
+ public $messageId;
+ public $publishTime;
+
+ public function setAttributes($attributes)
+ {
+ $this->attributes = $attributes;
+ }
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessageId($messageId)
+ {
+ $this->messageId = $messageId;
+ }
+ public function getMessageId()
+ {
+ return $this->messageId;
+ }
+ public function setPublishTime($publishTime)
+ {
+ $this->publishTime = $publishTime;
+ }
+ public function getPublishTime()
+ {
+ return $this->publishTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PullRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PullRequest.php
new file mode 100644
index 00000000..9d2e7afd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PullRequest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_PullRequest extends Google_Model
+{
+ public $maxMessages;
+ public $returnImmediately;
+
+ public function setMaxMessages($maxMessages)
+ {
+ $this->maxMessages = $maxMessages;
+ }
+ public function getMaxMessages()
+ {
+ return $this->maxMessages;
+ }
+ public function setReturnImmediately($returnImmediately)
+ {
+ $this->returnImmediately = $returnImmediately;
+ }
+ public function getReturnImmediately()
+ {
+ return $this->returnImmediately;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PullResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PullResponse.php
new file mode 100644
index 00000000..c7476cde
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PullResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_PullResponse extends Google_Collection
+{
+ protected $collection_key = 'receivedMessages';
+ protected $receivedMessagesType = 'Google_Service_Pubsub_ReceivedMessage';
+ protected $receivedMessagesDataType = 'array';
+
+ public function setReceivedMessages($receivedMessages)
+ {
+ $this->receivedMessages = $receivedMessages;
+ }
+ public function getReceivedMessages()
+ {
+ return $this->receivedMessages;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PushConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PushConfig.php
new file mode 100644
index 00000000..80c68a02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PushConfig.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_PushConfig extends Google_Model
+{
+ public $attributes;
+ public $pushEndpoint;
+
+ public function setAttributes($attributes)
+ {
+ $this->attributes = $attributes;
+ }
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+ public function setPushEndpoint($pushEndpoint)
+ {
+ $this->pushEndpoint = $pushEndpoint;
+ }
+ public function getPushEndpoint()
+ {
+ return $this->pushEndpoint;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ReceivedMessage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ReceivedMessage.php
new file mode 100644
index 00000000..cd3dc87f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ReceivedMessage.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_ReceivedMessage extends Google_Model
+{
+ public $ackId;
+ protected $messageType = 'Google_Service_Pubsub_PubsubMessage';
+ protected $messageDataType = '';
+
+ public function setAckId($ackId)
+ {
+ $this->ackId = $ackId;
+ }
+ public function getAckId()
+ {
+ return $this->ackId;
+ }
+ public function setMessage(Google_Service_Pubsub_PubsubMessage $message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/Projects.php
new file mode 100644
index 00000000..6b637693
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/Projects.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $pubsubService = new Google_Service_Pubsub(...);
+ * $projects = $pubsubService->projects;
+ * </code>
+ */
+class Google_Service_Pubsub_Resource_Projects extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsSnapshots.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsSnapshots.php
new file mode 100644
index 00000000..738b18c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsSnapshots.php
@@ -0,0 +1,83 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "snapshots" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $pubsubService = new Google_Service_Pubsub(...);
+ * $snapshots = $pubsubService->snapshots;
+ * </code>
+ */
+class Google_Service_Pubsub_Resource_ProjectsSnapshots extends Google_Service_Resource
+{
+ /**
+ * Gets the access control policy for a resource. Returns an empty policy if the
+ * resource exists and does not have a policy set. (snapshots.getIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * requested. `resource` is usually specified as a path. For example, a Project
+ * resource is specified as `projects/{project}`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Policy
+ */
+ public function getIamPolicy($resource, $optParams = array())
+ {
+ $params = array('resource' => $resource);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_Pubsub_Policy");
+ }
+ /**
+ * Sets the access control policy on the specified resource. Replaces any
+ * existing policy. (snapshots.setIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * specified. `resource` is usually specified as a path. For example, a Project
+ * resource is specified as `projects/{project}`.
+ * @param Google_Service_Pubsub_SetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Policy
+ */
+ public function setIamPolicy($resource, Google_Service_Pubsub_SetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_Pubsub_Policy");
+ }
+ /**
+ * Returns permissions that a caller has on the specified resource. If the
+ * resource does not exist, this will return an empty set of permissions, not a
+ * NOT_FOUND error.
+ *
+ * Note: This operation is designed to be used for building permission-aware UIs
+ * and command-line tools, not for authorization checking. This operation may
+ * "fail open" without warning. (snapshots.testIamPermissions)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy detail is
+ * being requested. `resource` is usually specified as a path. For example, a
+ * Project resource is specified as `projects/{project}`.
+ * @param Google_Service_Pubsub_TestIamPermissionsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_TestIamPermissionsResponse
+ */
+ public function testIamPermissions($resource, Google_Service_Pubsub_TestIamPermissionsRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_Pubsub_TestIamPermissionsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsSubscriptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsSubscriptions.php
new file mode 100644
index 00000000..f649aecc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsSubscriptions.php
@@ -0,0 +1,243 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "subscriptions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $pubsubService = new Google_Service_Pubsub(...);
+ * $subscriptions = $pubsubService->subscriptions;
+ * </code>
+ */
+class Google_Service_Pubsub_Resource_ProjectsSubscriptions extends Google_Service_Resource
+{
+ /**
+ * Acknowledges the messages associated with the `ack_ids` in the
+ * `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages
+ * from the subscription.
+ *
+ * Acknowledging a message whose ack deadline has expired may succeed, but such
+ * a message may be redelivered later. Acknowledging a message more than once
+ * will not result in an error. (subscriptions.acknowledge)
+ *
+ * @param string $subscription The subscription whose message is being
+ * acknowledged. Format is `projects/{project}/subscriptions/{sub}`.
+ * @param Google_Service_Pubsub_AcknowledgeRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_PubsubEmpty
+ */
+ public function acknowledge($subscription, Google_Service_Pubsub_AcknowledgeRequest $postBody, $optParams = array())
+ {
+ $params = array('subscription' => $subscription, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('acknowledge', array($params), "Google_Service_Pubsub_PubsubEmpty");
+ }
+ /**
+ * Creates a subscription to a given topic. 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, conforming to
+ * the [resource name
+ * format](https://cloud.google.com/pubsub/docs/overview#names). The generated
+ * name is populated in the returned Subscription object. Note that for REST API
+ * requests, you must specify a name in the request. (subscriptions.create)
+ *
+ * @param string $name The name of the subscription. It must have the format
+ * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must
+ * start with a letter, and contain only letters (`[A-Za-z]`), numbers
+ * (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus
+ * (`+`) or percent signs (`%`). It must be between 3 and 255 characters in
+ * length, and it must not start with `"goog"`.
+ * @param Google_Service_Pubsub_Subscription $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Subscription
+ */
+ public function create($name, Google_Service_Pubsub_Subscription $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Pubsub_Subscription");
+ }
+ /**
+ * Deletes an existing subscription. All messages retained in the subscription
+ * are immediately dropped. Calls to `Pull` after deletion will return
+ * `NOT_FOUND`. After a subscription is deleted, a new one may be created with
+ * the same name, but the new one has no association with the old subscription
+ * or its topic unless the same topic is specified. (subscriptions.delete)
+ *
+ * @param string $subscription The subscription to delete. Format is
+ * `projects/{project}/subscriptions/{sub}`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_PubsubEmpty
+ */
+ public function delete($subscription, $optParams = array())
+ {
+ $params = array('subscription' => $subscription);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Pubsub_PubsubEmpty");
+ }
+ /**
+ * Gets the configuration details of a subscription. (subscriptions.get)
+ *
+ * @param string $subscription The name of the subscription to get. Format is
+ * `projects/{project}/subscriptions/{sub}`.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Pubsub_Subscription");
+ }
+ /**
+ * Gets the access control policy for a resource. Returns an empty policy if the
+ * resource exists and does not have a policy set. (subscriptions.getIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * requested. `resource` is usually specified as a path. For example, a Project
+ * resource is specified as `projects/{project}`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Policy
+ */
+ public function getIamPolicy($resource, $optParams = array())
+ {
+ $params = array('resource' => $resource);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_Pubsub_Policy");
+ }
+ /**
+ * Lists matching subscriptions. (subscriptions.listProjectsSubscriptions)
+ *
+ * @param string $project The name of the cloud project that subscriptions
+ * belong to. Format is `projects/{project}`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The value returned by the last
+ * `ListSubscriptionsResponse`; indicates that this is a continuation of a prior
+ * `ListSubscriptions` call, and that the system should return the next page of
+ * data.
+ * @opt_param int pageSize Maximum number of subscriptions to return.
+ * @return Google_Service_Pubsub_ListSubscriptionsResponse
+ */
+ public function listProjectsSubscriptions($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Pubsub_ListSubscriptionsResponse");
+ }
+ /**
+ * Modifies the ack deadline for a specific message. This method is useful to
+ * indicate that more time is needed to process a message by the subscriber, or
+ * to make the message available for redelivery if the processing was
+ * interrupted. Note that this does not modify the subscription-level
+ * `ackDeadlineSeconds` used for subsequent messages.
+ * (subscriptions.modifyAckDeadline)
+ *
+ * @param string $subscription The name of the subscription. Format is
+ * `projects/{project}/subscriptions/{sub}`.
+ * @param Google_Service_Pubsub_ModifyAckDeadlineRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_PubsubEmpty
+ */
+ public function modifyAckDeadline($subscription, Google_Service_Pubsub_ModifyAckDeadlineRequest $postBody, $optParams = array())
+ {
+ $params = array('subscription' => $subscription, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('modifyAckDeadline', array($params), "Google_Service_Pubsub_PubsubEmpty");
+ }
+ /**
+ * Modifies the `PushConfig` for a specified subscription.
+ *
+ * This may be used to change a push subscription to a pull one (signified by an
+ * empty `PushConfig`) or vice versa, or change the endpoint URL and other
+ * attributes of a push subscription. Messages will accumulate for delivery
+ * continuously through the call regardless of changes to the `PushConfig`.
+ * (subscriptions.modifyPushConfig)
+ *
+ * @param string $subscription The name of the subscription. Format is
+ * `projects/{project}/subscriptions/{sub}`.
+ * @param Google_Service_Pubsub_ModifyPushConfigRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_PubsubEmpty
+ */
+ public function modifyPushConfig($subscription, Google_Service_Pubsub_ModifyPushConfigRequest $postBody, $optParams = array())
+ {
+ $params = array('subscription' => $subscription, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('modifyPushConfig', array($params), "Google_Service_Pubsub_PubsubEmpty");
+ }
+ /**
+ * Pulls messages from the server. Returns an empty list if there are no
+ * messages available in the backlog. The server may return `UNAVAILABLE` if
+ * there are too many concurrent pull requests pending for the given
+ * subscription. (subscriptions.pull)
+ *
+ * @param string $subscription The subscription from which messages should be
+ * pulled. Format is `projects/{project}/subscriptions/{sub}`.
+ * @param Google_Service_Pubsub_PullRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_PullResponse
+ */
+ public function pull($subscription, Google_Service_Pubsub_PullRequest $postBody, $optParams = array())
+ {
+ $params = array('subscription' => $subscription, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('pull', array($params), "Google_Service_Pubsub_PullResponse");
+ }
+ /**
+ * Sets the access control policy on the specified resource. Replaces any
+ * existing policy. (subscriptions.setIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * specified. `resource` is usually specified as a path. For example, a Project
+ * resource is specified as `projects/{project}`.
+ * @param Google_Service_Pubsub_SetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Policy
+ */
+ public function setIamPolicy($resource, Google_Service_Pubsub_SetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_Pubsub_Policy");
+ }
+ /**
+ * Returns permissions that a caller has on the specified resource. If the
+ * resource does not exist, this will return an empty set of permissions, not a
+ * NOT_FOUND error.
+ *
+ * Note: This operation is designed to be used for building permission-aware UIs
+ * and command-line tools, not for authorization checking. This operation may
+ * "fail open" without warning. (subscriptions.testIamPermissions)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy detail is
+ * being requested. `resource` is usually specified as a path. For example, a
+ * Project resource is specified as `projects/{project}`.
+ * @param Google_Service_Pubsub_TestIamPermissionsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_TestIamPermissionsResponse
+ */
+ public function testIamPermissions($resource, Google_Service_Pubsub_TestIamPermissionsRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_Pubsub_TestIamPermissionsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsTopics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsTopics.php
new file mode 100644
index 00000000..66c123ad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsTopics.php
@@ -0,0 +1,170 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "topics" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $pubsubService = new Google_Service_Pubsub(...);
+ * $topics = $pubsubService->topics;
+ * </code>
+ */
+class Google_Service_Pubsub_Resource_ProjectsTopics extends Google_Service_Resource
+{
+ /**
+ * Creates the given topic with the given name. (topics.create)
+ *
+ * @param string $name The name of the topic. It must have the format
+ * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter,
+ * and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
+ * underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs
+ * (`%`). It must be between 3 and 255 characters in length, and it must not
+ * start with `"goog"`.
+ * @param Google_Service_Pubsub_Topic $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Topic
+ */
+ public function create($name, Google_Service_Pubsub_Topic $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Pubsub_Topic");
+ }
+ /**
+ * Deletes the topic with the given name. Returns `NOT_FOUND` if the topic does
+ * not exist. After a topic is deleted, a new topic may be created with the same
+ * name; this is an entirely new topic with none of the old configuration or
+ * subscriptions. Existing subscriptions to this topic are not deleted, but
+ * their `topic` field is set to `_deleted-topic_`. (topics.delete)
+ *
+ * @param string $topic Name of the topic to delete. Format is
+ * `projects/{project}/topics/{topic}`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_PubsubEmpty
+ */
+ public function delete($topic, $optParams = array())
+ {
+ $params = array('topic' => $topic);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Pubsub_PubsubEmpty");
+ }
+ /**
+ * Gets the configuration of a topic. (topics.get)
+ *
+ * @param string $topic The name of the topic to get. Format is
+ * `projects/{project}/topics/{topic}`.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Pubsub_Topic");
+ }
+ /**
+ * Gets the access control policy for a resource. Returns an empty policy if the
+ * resource exists and does not have a policy set. (topics.getIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * requested. `resource` is usually specified as a path. For example, a Project
+ * resource is specified as `projects/{project}`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Policy
+ */
+ public function getIamPolicy($resource, $optParams = array())
+ {
+ $params = array('resource' => $resource);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_Pubsub_Policy");
+ }
+ /**
+ * Lists matching topics. (topics.listProjectsTopics)
+ *
+ * @param string $project The name of the cloud project that topics belong to.
+ * Format is `projects/{project}`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize Maximum number of topics to return.
+ * @opt_param string pageToken The value returned by the last
+ * `ListTopicsResponse`; indicates that this is a continuation of a prior
+ * `ListTopics` call, and that the system should return the next page of data.
+ * @return Google_Service_Pubsub_ListTopicsResponse
+ */
+ public function listProjectsTopics($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Pubsub_ListTopicsResponse");
+ }
+ /**
+ * Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does
+ * not exist. The message payload must not be empty; it must contain either a
+ * non-empty data field, or at least one attribute. (topics.publish)
+ *
+ * @param string $topic The messages in the request will be published on this
+ * topic. Format is `projects/{project}/topics/{topic}`.
+ * @param Google_Service_Pubsub_PublishRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_PublishResponse
+ */
+ public function publish($topic, Google_Service_Pubsub_PublishRequest $postBody, $optParams = array())
+ {
+ $params = array('topic' => $topic, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params), "Google_Service_Pubsub_PublishResponse");
+ }
+ /**
+ * Sets the access control policy on the specified resource. Replaces any
+ * existing policy. (topics.setIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * specified. `resource` is usually specified as a path. For example, a Project
+ * resource is specified as `projects/{project}`.
+ * @param Google_Service_Pubsub_SetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Policy
+ */
+ public function setIamPolicy($resource, Google_Service_Pubsub_SetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_Pubsub_Policy");
+ }
+ /**
+ * Returns permissions that a caller has on the specified resource. If the
+ * resource does not exist, this will return an empty set of permissions, not a
+ * NOT_FOUND error.
+ *
+ * Note: This operation is designed to be used for building permission-aware UIs
+ * and command-line tools, not for authorization checking. This operation may
+ * "fail open" without warning. (topics.testIamPermissions)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy detail is
+ * being requested. `resource` is usually specified as a path. For example, a
+ * Project resource is specified as `projects/{project}`.
+ * @param Google_Service_Pubsub_TestIamPermissionsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_TestIamPermissionsResponse
+ */
+ public function testIamPermissions($resource, Google_Service_Pubsub_TestIamPermissionsRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_Pubsub_TestIamPermissionsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsTopicsSubscriptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsTopicsSubscriptions.php
new file mode 100644
index 00000000..6a1e5cc4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsTopicsSubscriptions.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "subscriptions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $pubsubService = new Google_Service_Pubsub(...);
+ * $subscriptions = $pubsubService->subscriptions;
+ * </code>
+ */
+class Google_Service_Pubsub_Resource_ProjectsTopicsSubscriptions extends Google_Service_Resource
+{
+ /**
+ * Lists the name of the subscriptions for this topic.
+ * (subscriptions.listProjectsTopicsSubscriptions)
+ *
+ * @param string $topic The name of the topic that subscriptions are attached
+ * to. Format is `projects/{project}/topics/{topic}`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The value returned by the last
+ * `ListTopicSubscriptionsResponse`; indicates that this is a continuation of a
+ * prior `ListTopicSubscriptions` call, and that the system should return the
+ * next page of data.
+ * @opt_param int pageSize Maximum number of subscription names to return.
+ * @return Google_Service_Pubsub_ListTopicSubscriptionsResponse
+ */
+ public function listProjectsTopicsSubscriptions($topic, $optParams = array())
+ {
+ $params = array('topic' => $topic);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Pubsub_ListTopicSubscriptionsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/SetIamPolicyRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/SetIamPolicyRequest.php
new file mode 100644
index 00000000..3c577a95
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/SetIamPolicyRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_SetIamPolicyRequest extends Google_Model
+{
+ protected $policyType = 'Google_Service_Pubsub_Policy';
+ protected $policyDataType = '';
+
+ public function setPolicy(Google_Service_Pubsub_Policy $policy)
+ {
+ $this->policy = $policy;
+ }
+ public function getPolicy()
+ {
+ return $this->policy;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Subscription.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Subscription.php
new file mode 100644
index 00000000..78a3681b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Subscription.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_Subscription extends Google_Model
+{
+ public $ackDeadlineSeconds;
+ public $name;
+ protected $pushConfigType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/TestIamPermissionsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/TestIamPermissionsRequest.php
new file mode 100644
index 00000000..10bd3323
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/TestIamPermissionsRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_TestIamPermissionsRequest extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/TestIamPermissionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/TestIamPermissionsResponse.php
new file mode 100644
index 00000000..f9a096a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/TestIamPermissionsResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_TestIamPermissionsResponse extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Topic.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Topic.php
new file mode 100644
index 00000000..14b6f60b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Topic.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Pubsub_Topic extends Google_Model
+{
+ public $name;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress.php
new file mode 100644
index 00000000..7ab9a25e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress.php
@@ -0,0 +1,65 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Finds 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 Google_Service_QPXExpress extends Google_Service
+{
+
+
+ public $trips;
+
+ /**
+ * Constructs the internal representation of the QPXExpress service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'qpxExpress/v1/trips/';
+ $this->version = 'v1';
+ $this->serviceName = 'qpxExpress';
+
+ $this->trips = new Google_Service_QPXExpress_Resource_Trips(
+ $this,
+ $this->serviceName,
+ 'trips',
+ array(
+ 'methods' => array(
+ 'search' => array(
+ 'path' => 'search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/AircraftData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/AircraftData.php
new file mode 100644
index 00000000..1e554287
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/AircraftData.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_AircraftData extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/AirportData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/AirportData.php
new file mode 100644
index 00000000..1c7cf3f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/AirportData.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_AirportData extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/BagDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/BagDescriptor.php
new file mode 100644
index 00000000..b5b72b09
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/BagDescriptor.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_BagDescriptor extends Google_Collection
+{
+ protected $collection_key = 'description';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/CarrierData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/CarrierData.php
new file mode 100644
index 00000000..42b54f7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/CarrierData.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_CarrierData extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/CityData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/CityData.php
new file mode 100644
index 00000000..131cf424
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/CityData.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_CityData extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/Data.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/Data.php
new file mode 100644
index 00000000..a707205a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/Data.php
@@ -0,0 +1,81 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_Data extends Google_Collection
+{
+ protected $collection_key = 'tax';
+ protected $aircraftType = 'Google_Service_QPXExpress_AircraftData';
+ protected $aircraftDataType = 'array';
+ protected $airportType = 'Google_Service_QPXExpress_AirportData';
+ protected $airportDataType = 'array';
+ protected $carrierType = 'Google_Service_QPXExpress_CarrierData';
+ protected $carrierDataType = 'array';
+ protected $cityType = 'Google_Service_QPXExpress_CityData';
+ protected $cityDataType = 'array';
+ public $kind;
+ protected $taxType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FareInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FareInfo.php
new file mode 100644
index 00000000..169cef34
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FareInfo.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_FareInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FlightInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FlightInfo.php
new file mode 100644
index 00000000..9406e4a2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FlightInfo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_FlightInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FreeBaggageAllowance.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FreeBaggageAllowance.php
new file mode 100644
index 00000000..937192cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FreeBaggageAllowance.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_FreeBaggageAllowance extends Google_Collection
+{
+ protected $collection_key = 'bagDescriptor';
+ protected $bagDescriptorType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/LegInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/LegInfo.php
new file mode 100644
index 00000000..5236889a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/LegInfo.php
@@ -0,0 +1,174 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_LegInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/PassengerCounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/PassengerCounts.php
new file mode 100644
index 00000000..02cc8a83
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/PassengerCounts.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_PassengerCounts extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/PricingInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/PricingInfo.php
new file mode 100644
index 00000000..2f2aed3b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/PricingInfo.php
@@ -0,0 +1,143 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_PricingInfo extends Google_Collection
+{
+ protected $collection_key = 'tax';
+ public $baseFareTotal;
+ protected $fareType = 'Google_Service_QPXExpress_FareInfo';
+ protected $fareDataType = 'array';
+ public $fareCalculation;
+ public $kind;
+ public $latestTicketingTime;
+ protected $passengersType = 'Google_Service_QPXExpress_PassengerCounts';
+ protected $passengersDataType = '';
+ public $ptc;
+ public $refundable;
+ public $saleFareTotal;
+ public $saleTaxTotal;
+ public $saleTotal;
+ protected $segmentPricingType = 'Google_Service_QPXExpress_SegmentPricing';
+ protected $segmentPricingDataType = 'array';
+ protected $taxType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/Resource/Trips.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/Resource/Trips.php
new file mode 100644
index 00000000..ad988c59
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/Resource/Trips.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "trips" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $qpxExpressService = new Google_Service_QPXExpress(...);
+ * $trips = $qpxExpressService->trips;
+ * </code>
+ */
+class Google_Service_QPXExpress_Resource_Trips extends Google_Service_Resource
+{
+ /**
+ * Returns a list of flights. (trips.search)
+ *
+ * @param Google_Service_QPXExpress_TripsSearchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_QPXExpress_TripsSearchResponse
+ */
+ public function search(Google_Service_QPXExpress_TripsSearchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_QPXExpress_TripsSearchResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SegmentInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SegmentInfo.php
new file mode 100644
index 00000000..e27a7af6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SegmentInfo.php
@@ -0,0 +1,123 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_SegmentInfo extends Google_Collection
+{
+ protected $collection_key = 'leg';
+ public $bookingCode;
+ public $bookingCodeCount;
+ public $cabin;
+ public $connectionDuration;
+ public $duration;
+ protected $flightType = 'Google_Service_QPXExpress_FlightInfo';
+ protected $flightDataType = '';
+ public $id;
+ public $kind;
+ protected $legType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SegmentPricing.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SegmentPricing.php
new file mode 100644
index 00000000..5c9e3a1f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SegmentPricing.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_SegmentPricing extends Google_Collection
+{
+ protected $collection_key = 'freeBaggageOption';
+ public $fareId;
+ protected $freeBaggageOptionType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SliceInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SliceInfo.php
new file mode 100644
index 00000000..ea1ebe76
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SliceInfo.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_SliceInfo extends Google_Collection
+{
+ protected $collection_key = 'segment';
+ public $duration;
+ public $kind;
+ protected $segmentType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SliceInput.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SliceInput.php
new file mode 100644
index 00000000..ec918b4a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SliceInput.php
@@ -0,0 +1,122 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_SliceInput extends Google_Collection
+{
+ protected $collection_key = 'prohibitedCarrier';
+ public $alliance;
+ public $date;
+ public $destination;
+ public $kind;
+ public $maxConnectionDuration;
+ public $maxStops;
+ public $origin;
+ public $permittedCarrier;
+ protected $permittedDepartureTimeType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TaxData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TaxData.php
new file mode 100644
index 00000000..dfcf9af2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TaxData.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_TaxData extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TaxInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TaxInfo.php
new file mode 100644
index 00000000..c030e34e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TaxInfo.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_TaxInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TimeOfDayRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TimeOfDayRange.php
new file mode 100644
index 00000000..1b802bbc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TimeOfDayRange.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_TimeOfDayRange extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOption.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOption.php
new file mode 100644
index 00000000..2e70e788
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOption.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_TripOption extends Google_Collection
+{
+ protected $collection_key = 'slice';
+ public $id;
+ public $kind;
+ protected $pricingType = 'Google_Service_QPXExpress_PricingInfo';
+ protected $pricingDataType = 'array';
+ public $saleTotal;
+ protected $sliceType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOptionsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOptionsRequest.php
new file mode 100644
index 00000000..efdd2f6c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOptionsRequest.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_TripOptionsRequest extends Google_Collection
+{
+ protected $collection_key = 'slice';
+ public $maxPrice;
+ protected $passengersType = 'Google_Service_QPXExpress_PassengerCounts';
+ protected $passengersDataType = '';
+ public $refundable;
+ public $saleCountry;
+ protected $sliceType = 'Google_Service_QPXExpress_SliceInput';
+ protected $sliceDataType = 'array';
+ public $solutions;
+ public $ticketingCountry;
+
+ public function setMaxPrice($maxPrice)
+ {
+ $this->maxPrice = $maxPrice;
+ }
+ public function getMaxPrice()
+ {
+ return $this->maxPrice;
+ }
+ public function setPassengers(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;
+ }
+ public function setTicketingCountry($ticketingCountry)
+ {
+ $this->ticketingCountry = $ticketingCountry;
+ }
+ public function getTicketingCountry()
+ {
+ return $this->ticketingCountry;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOptionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOptionsResponse.php
new file mode 100644
index 00000000..aec30743
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOptionsResponse.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_TripOptionsResponse extends Google_Collection
+{
+ protected $collection_key = 'tripOption';
+ protected $dataType = 'Google_Service_QPXExpress_Data';
+ protected $dataDataType = '';
+ public $kind;
+ public $requestId;
+ protected $tripOptionType = 'Google_Service_QPXExpress_TripOption';
+ protected $tripOptionDataType = 'array';
+
+ public function setData(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripsSearchRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripsSearchRequest.php
new file mode 100644
index 00000000..c6cdd3ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripsSearchRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_TripsSearchRequest extends Google_Model
+{
+ protected $requestType = 'Google_Service_QPXExpress_TripOptionsRequest';
+ protected $requestDataType = '';
+
+ public function setRequest(Google_Service_QPXExpress_TripOptionsRequest $request)
+ {
+ $this->request = $request;
+ }
+ public function getRequest()
+ {
+ return $this->request;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripsSearchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripsSearchResponse.php
new file mode 100644
index 00000000..43f2fcce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripsSearchResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_QPXExpress_TripsSearchResponse extends Google_Model
+{
+ public $kind;
+ protected $tripsType = 'Google_Service_QPXExpress_TripOptionsResponse';
+ protected $tripsDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTrips(Google_Service_QPXExpress_TripOptionsResponse $trips)
+ {
+ $this->trips = $trips;
+ }
+ public function getTrips()
+ {
+ return $this->trips;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool.php
new file mode 100644
index 00000000..866b294d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool.php
@@ -0,0 +1,343 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * [Deprecated. Please use Instance Group Manager in Compute 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 Google_Service_Replicapool extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM_READ_ONLY =
+ "https://www.googleapis.com/auth/cloud-platform.read-only";
+ /** 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'replicapool/v1beta2/projects/';
+ $this->version = 'v1beta2';
+ $this->serviceName = 'replicapool';
+
+ $this->instanceGroupManagers = new Google_Service_Replicapool_Resource_InstanceGroupManagers(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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 Google_Service_Replicapool_Resource_ZoneOperations(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManager.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManager.php
new file mode 100644
index 00000000..b7b2c01e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManager.php
@@ -0,0 +1,149 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapool_InstanceGroupManager extends Google_Collection
+{
+ protected $collection_key = 'targetPools';
+ protected $autoHealingPoliciesType = 'Google_Service_Replicapool_ReplicaPoolAutoHealingPolicy';
+ protected $autoHealingPoliciesDataType = '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 setAutoHealingPolicies($autoHealingPolicies)
+ {
+ $this->autoHealingPolicies = $autoHealingPolicies;
+ }
+ public function getAutoHealingPolicies()
+ {
+ return $this->autoHealingPolicies;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagerList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagerList.php
new file mode 100644
index 00000000..bfeb29da
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagerList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapool_InstanceGroupManagerList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersAbandonInstancesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersAbandonInstancesRequest.php
new file mode 100644
index 00000000..92679f67
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersAbandonInstancesRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapool_InstanceGroupManagersAbandonInstancesRequest extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ public $instances;
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersDeleteInstancesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersDeleteInstancesRequest.php
new file mode 100644
index 00000000..d5433358
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersDeleteInstancesRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapool_InstanceGroupManagersDeleteInstancesRequest extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ public $instances;
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersRecreateInstancesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersRecreateInstancesRequest.php
new file mode 100644
index 00000000..9df7b3e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersRecreateInstancesRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapool_InstanceGroupManagersRecreateInstancesRequest extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ public $instances;
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersSetInstanceTemplateRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersSetInstanceTemplateRequest.php
new file mode 100644
index 00000000..84e88d8e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersSetInstanceTemplateRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapool_InstanceGroupManagersSetInstanceTemplateRequest extends Google_Model
+{
+ public $instanceTemplate;
+
+ public function setInstanceTemplate($instanceTemplate)
+ {
+ $this->instanceTemplate = $instanceTemplate;
+ }
+ public function getInstanceTemplate()
+ {
+ return $this->instanceTemplate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersSetTargetPoolsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersSetTargetPoolsRequest.php
new file mode 100644
index 00000000..c17e5fc0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersSetTargetPoolsRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapool_InstanceGroupManagersSetTargetPoolsRequest extends Google_Collection
+{
+ protected $collection_key = 'targetPools';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Operation.php
new file mode 100644
index 00000000..ba8bb13e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Operation.php
@@ -0,0 +1,222 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapool_Operation extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = '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 = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationError.php
new file mode 100644
index 00000000..e7445cc3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationError.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapool_OperationError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $errorsType = 'Google_Service_Replicapool_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationErrorErrors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationErrorErrors.php
new file mode 100644
index 00000000..8827f7a5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationErrorErrors.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapool_OperationErrorErrors extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationList.php
new file mode 100644
index 00000000..79651b5c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapool_OperationList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationWarnings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationWarnings.php
new file mode 100644
index 00000000..251dd0be
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationWarnings.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapool_OperationWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationWarningsData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationWarningsData.php
new file mode 100644
index 00000000..1f9d0913
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationWarningsData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapool_OperationWarningsData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/ReplicaPoolAutoHealingPolicy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/ReplicaPoolAutoHealingPolicy.php
new file mode 100644
index 00000000..c21ebf01
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/ReplicaPoolAutoHealingPolicy.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapool_ReplicaPoolAutoHealingPolicy extends Google_Model
+{
+ public $actionType;
+ public $healthCheck;
+
+ public function setActionType($actionType)
+ {
+ $this->actionType = $actionType;
+ }
+ public function getActionType()
+ {
+ return $this->actionType;
+ }
+ public function setHealthCheck($healthCheck)
+ {
+ $this->healthCheck = $healthCheck;
+ }
+ public function getHealthCheck()
+ {
+ return $this->healthCheck;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Resource/InstanceGroupManagers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Resource/InstanceGroupManagers.php
new file mode 100644
index 00000000..de735d41
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Resource/InstanceGroupManagers.php
@@ -0,0 +1,223 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "instanceGroupManagers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $replicapoolService = new Google_Service_Replicapool(...);
+ * $instanceGroupManagers = $replicapoolService->instanceGroupManagers;
+ * </code>
+ */
+class Google_Service_Replicapool_Resource_InstanceGroupManagers extends 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 Google_Service_Replicapool_InstanceGroupManagersAbandonInstancesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapool_Operation
+ */
+ public function abandonInstances($project, $zone, $instanceGroupManager, 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), "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 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), "Google_Service_Replicapool_Operation");
+ }
+ /**
+ * Deletes the specified instances. The instances are deleted, then removed from
+ * the instance group and any target pools of which they were a member. 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 Google_Service_Replicapool_InstanceGroupManagersDeleteInstancesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapool_Operation
+ */
+ public function deleteInstances($project, $zone, $instanceGroupManager, 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), "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 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), "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 Google_Service_Replicapool_InstanceGroupManager $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapool_Operation
+ */
+ public function insert($project, $zone, $size, 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), "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 maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @return 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), "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 Google_Service_Replicapool_InstanceGroupManagersRecreateInstancesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapool_Operation
+ */
+ public function recreateInstances($project, $zone, $instanceGroupManager, 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), "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 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), "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 Google_Service_Replicapool_InstanceGroupManagersSetInstanceTemplateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapool_Operation
+ */
+ public function setInstanceTemplate($project, $zone, $instanceGroupManager, 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), "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 Google_Service_Replicapool_InstanceGroupManagersSetTargetPoolsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapool_Operation
+ */
+ public function setTargetPools($project, $zone, $instanceGroupManager, 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), "Google_Service_Replicapool_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Resource/ZoneOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Resource/ZoneOperations.php
new file mode 100644
index 00000000..8f13f026
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Resource/ZoneOperations.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "zoneOperations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $replicapoolService = new Google_Service_Replicapool(...);
+ * $zoneOperations = $replicapoolService->zoneOperations;
+ * </code>
+ */
+class Google_Service_Replicapool_Resource_ZoneOperations extends 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 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), "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 maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @return 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), "Google_Service_Replicapool_OperationList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater.php
new file mode 100644
index 00000000..909d9a8d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater.php
@@ -0,0 +1,306 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * [Deprecated. Please use compute.instanceGroupManagers.update method.
+ * replicapoolupdater API will be disabled after December 30th, 2016] Updates
+ * 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 Google_Service_Replicapoolupdater extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM_READ_ONLY =
+ "https://www.googleapis.com/auth/cloud-platform.read-only";
+ /** 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 $rollingUpdates;
+ public $zoneOperations;
+
+ /**
+ * Constructs the internal representation of the Replicapoolupdater service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'replicapoolupdater/v1beta1/projects/';
+ $this->version = 'v1beta1';
+ $this->serviceName = 'replicapoolupdater';
+
+ $this->rollingUpdates = new Google_Service_Replicapoolupdater_Resource_RollingUpdates(
+ $this,
+ $this->serviceName,
+ 'rollingUpdates',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'rollingUpdate' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'rollingUpdate' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/zones/{zone}/rollingUpdates',
+ '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}/rollingUpdates',
+ '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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listInstanceUpdates' => array(
+ 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/instanceUpdates',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'rollingUpdate' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'pause' => array(
+ 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/pause',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'rollingUpdate' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'resume' => array(
+ 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/resume',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'rollingUpdate' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'rollback' => array(
+ 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/rollback',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'rollingUpdate' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->zoneOperations = new Google_Service_Replicapoolupdater_Resource_ZoneOperations(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdate.php
new file mode 100644
index 00000000..bd05a8b1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdate.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapoolupdater_InstanceUpdate extends Google_Model
+{
+ protected $errorType = 'Google_Service_Replicapoolupdater_InstanceUpdateError';
+ protected $errorDataType = '';
+ public $instance;
+ public $status;
+
+ public function setError(Google_Service_Replicapoolupdater_InstanceUpdateError $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 setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateError.php
new file mode 100644
index 00000000..22184541
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateError.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapoolupdater_InstanceUpdateError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $errorsType = 'Google_Service_Replicapoolupdater_InstanceUpdateErrorErrors';
+ protected $errorsDataType = 'array';
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateErrorErrors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateErrorErrors.php
new file mode 100644
index 00000000..f2ab73f9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateErrorErrors.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapoolupdater_InstanceUpdateErrorErrors extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateList.php
new file mode 100644
index 00000000..15e0df5b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapoolupdater_InstanceUpdateList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_Replicapoolupdater_InstanceUpdate';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Operation.php
new file mode 100644
index 00000000..5db33d80
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Operation.php
@@ -0,0 +1,222 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapoolupdater_Operation extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = 'Google_Service_Replicapoolupdater_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 = 'Google_Service_Replicapoolupdater_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(Google_Service_Replicapoolupdater_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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationError.php
new file mode 100644
index 00000000..b22a03f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationError.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapoolupdater_OperationError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $errorsType = 'Google_Service_Replicapoolupdater_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationErrorErrors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationErrorErrors.php
new file mode 100644
index 00000000..3f2719f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationErrorErrors.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapoolupdater_OperationErrorErrors extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationList.php
new file mode 100644
index 00000000..3383b680
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapoolupdater_OperationList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Replicapoolupdater_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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationWarnings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationWarnings.php
new file mode 100644
index 00000000..20745152
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationWarnings.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapoolupdater_OperationWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = 'Google_Service_Replicapoolupdater_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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationWarningsData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationWarningsData.php
new file mode 100644
index 00000000..b5dd229a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationWarningsData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapoolupdater_OperationWarningsData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Resource/RollingUpdates.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Resource/RollingUpdates.php
new file mode 100644
index 00000000..2899ab75
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Resource/RollingUpdates.php
@@ -0,0 +1,177 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "rollingUpdates" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $replicapoolupdaterService = new Google_Service_Replicapoolupdater(...);
+ * $rollingUpdates = $replicapoolupdaterService->rollingUpdates;
+ * </code>
+ */
+class Google_Service_Replicapoolupdater_Resource_RollingUpdates extends Google_Service_Resource
+{
+ /**
+ * Cancels an update. The update must be PAUSED before it can be cancelled. This
+ * has no effect if the update is already CANCELLED. (rollingUpdates.cancel)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the update's target
+ * resides.
+ * @param string $rollingUpdate The name of the update.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapoolupdater_Operation
+ */
+ public function cancel($project, $zone, $rollingUpdate, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_Replicapoolupdater_Operation");
+ }
+ /**
+ * Returns information about an update. (rollingUpdates.get)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the update's target
+ * resides.
+ * @param string $rollingUpdate The name of the update.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapoolupdater_RollingUpdate
+ */
+ public function get($project, $zone, $rollingUpdate, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Replicapoolupdater_RollingUpdate");
+ }
+ /**
+ * Inserts and starts a new update. (rollingUpdates.insert)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the update's target
+ * resides.
+ * @param Google_Service_Replicapoolupdater_RollingUpdate $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapoolupdater_Operation
+ */
+ public function insert($project, $zone, Google_Service_Replicapoolupdater_RollingUpdate $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Replicapoolupdater_Operation");
+ }
+ /**
+ * Lists recent updates for a given managed instance group, in reverse
+ * chronological order and paginated format. (rollingUpdates.listRollingUpdates)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the update's target
+ * resides.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @return Google_Service_Replicapoolupdater_RollingUpdateList
+ */
+ public function listRollingUpdates($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Replicapoolupdater_RollingUpdateList");
+ }
+ /**
+ * Lists the current status for each instance within a given update.
+ * (rollingUpdates.listInstanceUpdates)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the update's target
+ * resides.
+ * @param string $rollingUpdate The name of the update.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @return Google_Service_Replicapoolupdater_InstanceUpdateList
+ */
+ public function listInstanceUpdates($project, $zone, $rollingUpdate, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
+ $params = array_merge($params, $optParams);
+ return $this->call('listInstanceUpdates', array($params), "Google_Service_Replicapoolupdater_InstanceUpdateList");
+ }
+ /**
+ * Pauses the update in state from ROLLING_FORWARD or ROLLING_BACK. Has no
+ * effect if invoked when the state of the update is PAUSED.
+ * (rollingUpdates.pause)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the update's target
+ * resides.
+ * @param string $rollingUpdate The name of the update.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapoolupdater_Operation
+ */
+ public function pause($project, $zone, $rollingUpdate, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
+ $params = array_merge($params, $optParams);
+ return $this->call('pause', array($params), "Google_Service_Replicapoolupdater_Operation");
+ }
+ /**
+ * Continues an update in PAUSED state. Has no effect if invoked when the state
+ * of the update is ROLLED_OUT. (rollingUpdates.resume)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the update's target
+ * resides.
+ * @param string $rollingUpdate The name of the update.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapoolupdater_Operation
+ */
+ public function resume($project, $zone, $rollingUpdate, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
+ $params = array_merge($params, $optParams);
+ return $this->call('resume', array($params), "Google_Service_Replicapoolupdater_Operation");
+ }
+ /**
+ * Rolls back the update in state from ROLLING_FORWARD or PAUSED. Has no effect
+ * if invoked when the state of the update is ROLLED_BACK.
+ * (rollingUpdates.rollback)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the update's target
+ * resides.
+ * @param string $rollingUpdate The name of the update.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapoolupdater_Operation
+ */
+ public function rollback($project, $zone, $rollingUpdate, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
+ $params = array_merge($params, $optParams);
+ return $this->call('rollback', array($params), "Google_Service_Replicapoolupdater_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Resource/ZoneOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Resource/ZoneOperations.php
new file mode 100644
index 00000000..5f8a13fb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Resource/ZoneOperations.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "zoneOperations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $replicapoolupdaterService = new Google_Service_Replicapoolupdater(...);
+ * $zoneOperations = $replicapoolupdaterService->zoneOperations;
+ * </code>
+ */
+class Google_Service_Replicapoolupdater_Resource_ZoneOperations extends 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 Google_Service_Replicapoolupdater_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), "Google_Service_Replicapoolupdater_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 maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @return Google_Service_Replicapoolupdater_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), "Google_Service_Replicapoolupdater_OperationList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdate.php
new file mode 100644
index 00000000..ad7ca9d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdate.php
@@ -0,0 +1,167 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapoolupdater_RollingUpdate extends Google_Model
+{
+ public $actionType;
+ public $creationTimestamp;
+ public $description;
+ protected $errorType = 'Google_Service_Replicapoolupdater_RollingUpdateError';
+ protected $errorDataType = '';
+ public $id;
+ public $instanceGroup;
+ public $instanceGroupManager;
+ public $instanceTemplate;
+ public $kind;
+ public $oldInstanceTemplate;
+ protected $policyType = 'Google_Service_Replicapoolupdater_RollingUpdatePolicy';
+ protected $policyDataType = '';
+ public $progress;
+ public $selfLink;
+ public $status;
+ public $statusMessage;
+ public $user;
+
+ public function setActionType($actionType)
+ {
+ $this->actionType = $actionType;
+ }
+ public function getActionType()
+ {
+ return $this->actionType;
+ }
+ 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 setError(Google_Service_Replicapoolupdater_RollingUpdateError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInstanceGroup($instanceGroup)
+ {
+ $this->instanceGroup = $instanceGroup;
+ }
+ public function getInstanceGroup()
+ {
+ return $this->instanceGroup;
+ }
+ public function setInstanceGroupManager($instanceGroupManager)
+ {
+ $this->instanceGroupManager = $instanceGroupManager;
+ }
+ public function getInstanceGroupManager()
+ {
+ return $this->instanceGroupManager;
+ }
+ 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 setOldInstanceTemplate($oldInstanceTemplate)
+ {
+ $this->oldInstanceTemplate = $oldInstanceTemplate;
+ }
+ public function getOldInstanceTemplate()
+ {
+ return $this->oldInstanceTemplate;
+ }
+ public function setPolicy(Google_Service_Replicapoolupdater_RollingUpdatePolicy $policy)
+ {
+ $this->policy = $policy;
+ }
+ public function getPolicy()
+ {
+ return $this->policy;
+ }
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ 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 setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateError.php
new file mode 100644
index 00000000..9138b3ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateError.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapoolupdater_RollingUpdateError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $errorsType = 'Google_Service_Replicapoolupdater_RollingUpdateErrorErrors';
+ protected $errorsDataType = 'array';
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateErrorErrors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateErrorErrors.php
new file mode 100644
index 00000000..7763a026
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateErrorErrors.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapoolupdater_RollingUpdateErrorErrors extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateList.php
new file mode 100644
index 00000000..e16cb6d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapoolupdater_RollingUpdateList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_Replicapoolupdater_RollingUpdate';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdatePolicy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdatePolicy.php
new file mode 100644
index 00000000..257cd67d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdatePolicy.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Replicapoolupdater_RollingUpdatePolicy extends Google_Model
+{
+ public $autoPauseAfterInstances;
+ public $instanceStartupTimeoutSec;
+ public $maxNumConcurrentInstances;
+ public $maxNumFailedInstances;
+ public $minInstanceUpdateTimeSec;
+
+ public function setAutoPauseAfterInstances($autoPauseAfterInstances)
+ {
+ $this->autoPauseAfterInstances = $autoPauseAfterInstances;
+ }
+ public function getAutoPauseAfterInstances()
+ {
+ return $this->autoPauseAfterInstances;
+ }
+ public function setInstanceStartupTimeoutSec($instanceStartupTimeoutSec)
+ {
+ $this->instanceStartupTimeoutSec = $instanceStartupTimeoutSec;
+ }
+ public function getInstanceStartupTimeoutSec()
+ {
+ return $this->instanceStartupTimeoutSec;
+ }
+ public function setMaxNumConcurrentInstances($maxNumConcurrentInstances)
+ {
+ $this->maxNumConcurrentInstances = $maxNumConcurrentInstances;
+ }
+ public function getMaxNumConcurrentInstances()
+ {
+ return $this->maxNumConcurrentInstances;
+ }
+ public function setMaxNumFailedInstances($maxNumFailedInstances)
+ {
+ $this->maxNumFailedInstances = $maxNumFailedInstances;
+ }
+ public function getMaxNumFailedInstances()
+ {
+ return $this->maxNumFailedInstances;
+ }
+ public function setMinInstanceUpdateTimeSec($minInstanceUpdateTimeSec)
+ {
+ $this->minInstanceUpdateTimeSec = $minInstanceUpdateTimeSec;
+ }
+ public function getMinInstanceUpdateTimeSec()
+ {
+ return $this->minInstanceUpdateTimeSec;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports.php
new file mode 100644
index 00000000..f068d386
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports.php
@@ -0,0 +1,255 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Fetches reports for the administrators of Google Apps customers 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 Google_Service_Reports extends Google_Service
+{
+ /** View audit reports for your G Suite domain. */
+ const ADMIN_REPORTS_AUDIT_READONLY =
+ "https://www.googleapis.com/auth/admin.reports.audit.readonly";
+ /** View usage reports for your G Suite 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'admin/reports/v1/';
+ $this->version = 'reports_v1';
+ $this->serviceName = 'admin';
+
+ $this->activities = new Google_Service_Reports_Resource_Activities(
+ $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,
+ ),
+ 'actorIpAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'eventName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startTime' => 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,
+ ),
+ 'actorIpAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'eventName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->channels = new Google_Service_Reports_Resource_Channels(
+ $this,
+ $this->serviceName,
+ 'channels',
+ array(
+ 'methods' => array(
+ 'stop' => array(
+ 'path' => '/admin/reports_v1/channels/stop',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->customerUsageReports = new Google_Service_Reports_Resource_CustomerUsageReports(
+ $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,
+ ),
+ 'customerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'parameters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->userUsageReport = new Google_Service_Reports_Resource_UserUsageReport(
+ $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,
+ ),
+ 'customerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'parameters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Activities.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Activities.php
new file mode 100644
index 00000000..fd2ec9f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Activities.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reports_Activities extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Activity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Activity.php
new file mode 100644
index 00000000..608bc02d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Activity.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reports_Activity extends Google_Collection
+{
+ protected $collection_key = 'events';
+ protected $actorType = 'Google_Service_Reports_ActivityActor';
+ protected $actorDataType = '';
+ public $etag;
+ protected $eventsType = 'Google_Service_Reports_ActivityEvents';
+ protected $eventsDataType = 'array';
+ protected $idType = 'Google_Service_Reports_ActivityId';
+ protected $idDataType = '';
+ public $ipAddress;
+ public $kind;
+ public $ownerDomain;
+
+ public function setActor(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityActor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityActor.php
new file mode 100644
index 00000000..311fc13f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityActor.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reports_ActivityActor extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityEvents.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityEvents.php
new file mode 100644
index 00000000..93e9be92
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityEvents.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reports_ActivityEvents extends Google_Collection
+{
+ protected $collection_key = 'parameters';
+ public $name;
+ protected $parametersType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityEventsParameters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityEventsParameters.php
new file mode 100644
index 00000000..33ff073f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityEventsParameters.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reports_ActivityEventsParameters extends Google_Collection
+{
+ protected $collection_key = 'multiValue';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityId.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityId.php
new file mode 100644
index 00000000..5db0ed64
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityId.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reports_ActivityId extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Channel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Channel.php
new file mode 100644
index 00000000..96c0702e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Channel.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reports_Channel extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/Activities.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/Activities.php
new file mode 100644
index 00000000..f87b1e4b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/Activities.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "activities" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Reports(...);
+ * $activities = $adminService->activities;
+ * </code>
+ */
+class Google_Service_Reports_Resource_Activities extends 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 actorIpAddress IP Address of host where the event was
+ * performed. Supports both IPv4 and IPv6 addresses.
+ * @opt_param string customerId Represents the customer for which the data is to
+ * be fetched.
+ * @opt_param string endTime Return events which occured at or before this time.
+ * @opt_param string eventName Name of the event being queried.
+ * @opt_param string filters Event parameters in the form [parameter1
+ * name][operator][parameter1 value],[parameter2 name][operator][parameter2
+ * value],...
+ * @opt_param int maxResults Number of activity records to be shown in each
+ * page.
+ * @opt_param string pageToken Token to specify next page.
+ * @opt_param string startTime Return events which occured at or after this
+ * time.
+ * @return 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), "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 Google_Service_Reports_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string actorIpAddress IP Address of host where the event was
+ * performed. Supports both IPv4 and IPv6 addresses.
+ * @opt_param string customerId Represents the customer for which the data is to
+ * be fetched.
+ * @opt_param string endTime Return events which occured at or before this time.
+ * @opt_param string eventName Name of the event being queried.
+ * @opt_param string filters Event parameters in the form [parameter1
+ * name][operator][parameter1 value],[parameter2 name][operator][parameter2
+ * value],...
+ * @opt_param int maxResults Number of activity records to be shown in each
+ * page.
+ * @opt_param string pageToken Token to specify next page.
+ * @opt_param string startTime Return events which occured at or after this
+ * time.
+ * @return Google_Service_Reports_Channel
+ */
+ public function watch($userKey, $applicationName, 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), "Google_Service_Reports_Channel");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/Channels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/Channels.php
new file mode 100644
index 00000000..819cb561
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/Channels.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "channels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Reports(...);
+ * $channels = $adminService->channels;
+ * </code>
+ */
+class Google_Service_Reports_Resource_Channels extends Google_Service_Resource
+{
+ /**
+ * Stop watching resources through this channel (channels.stop)
+ *
+ * @param Google_Service_Reports_Channel $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function stop(Google_Service_Reports_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/CustomerUsageReports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/CustomerUsageReports.php
new file mode 100644
index 00000000..f8b8959d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/CustomerUsageReports.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "customerUsageReports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Reports(...);
+ * $customerUsageReports = $adminService->customerUsageReports;
+ * </code>
+ */
+class Google_Service_Reports_Resource_CustomerUsageReports extends 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 customerId Represents the customer for which the data is to
+ * be fetched.
+ * @opt_param string pageToken Token to specify next page.
+ * @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 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), "Google_Service_Reports_UsageReports");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/UserUsageReport.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/UserUsageReport.php
new file mode 100644
index 00000000..1ec4ab96
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/UserUsageReport.php
@@ -0,0 +1,55 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "userUsageReport" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Google_Service_Reports(...);
+ * $userUsageReport = $adminService->userUsageReport;
+ * </code>
+ */
+class Google_Service_Reports_Resource_UserUsageReport extends 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 customerId Represents the customer for which the data is to
+ * be fetched.
+ * @opt_param string filters Represents the set of filters including parameter
+ * operator value.
+ * @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 parameters Represents the application name, parameter name
+ * pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2.
+ * @return 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), "Google_Service_Reports_UsageReports");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReport.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReport.php
new file mode 100644
index 00000000..69971b6d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReport.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reports_UsageReport extends Google_Collection
+{
+ protected $collection_key = 'parameters';
+ public $date;
+ protected $entityType = 'Google_Service_Reports_UsageReportEntity';
+ protected $entityDataType = '';
+ public $etag;
+ public $kind;
+ protected $parametersType = 'Google_Service_Reports_UsageReportParameters';
+ protected $parametersDataType = 'array';
+
+ public function setDate($date)
+ {
+ $this->date = $date;
+ }
+ public function getDate()
+ {
+ return $this->date;
+ }
+ public function setEntity(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportEntity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportEntity.php
new file mode 100644
index 00000000..ee9299cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportEntity.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reports_UsageReportEntity extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportParameters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportParameters.php
new file mode 100644
index 00000000..81b85c15
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportParameters.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reports_UsageReportParameters extends Google_Collection
+{
+ protected $collection_key = 'msgValue';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReports.php
new file mode 100644
index 00000000..bd19a0c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReports.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reports_UsageReports extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $etag;
+ public $kind;
+ public $nextPageToken;
+ protected $usageReportsType = 'Google_Service_Reports_UsageReport';
+ protected $usageReportsDataType = 'array';
+ protected $warningsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportsWarnings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportsWarnings.php
new file mode 100644
index 00000000..397f357a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportsWarnings.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reports_UsageReportsWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportsWarningsData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportsWarningsData.php
new file mode 100644
index 00000000..2db80258
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportsWarningsData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reports_UsageReportsWarningsData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller.php
new file mode 100644
index 00000000..66a94051
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller.php
@@ -0,0 +1,313 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Creates and manages 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 Google_Service_Reseller extends 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 $resellernotify;
+ public $subscriptions;
+
+ /**
+ * Constructs the internal representation of the Reseller service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'apps/reseller/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'reseller';
+
+ $this->customers = new Google_Service_Reseller_Resource_Customers(
+ $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->resellernotify = new Google_Service_Reseller_Resource_Resellernotify(
+ $this,
+ $this->serviceName,
+ 'resellernotify',
+ array(
+ 'methods' => array(
+ 'getwatchdetails' => array(
+ 'path' => 'resellernotify/getwatchdetails',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),'register' => array(
+ 'path' => 'resellernotify/register',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'serviceAccountEmailAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'unregister' => array(
+ 'path' => 'resellernotify/unregister',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'serviceAccountEmailAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->subscriptions = new Google_Service_Reseller_Resource_Subscriptions(
+ $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',
+ ),
+ 'customerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customerNamePrefix' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => 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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Address.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Address.php
new file mode 100644
index 00000000..47d9a7d8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Address.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reseller_Address extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ChangePlanRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ChangePlanRequest.php
new file mode 100644
index 00000000..f757f0ba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ChangePlanRequest.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reseller_ChangePlanRequest extends Google_Model
+{
+ public $dealCode;
+ public $kind;
+ public $planName;
+ public $purchaseOrderId;
+ protected $seatsType = 'Google_Service_Reseller_Seats';
+ protected $seatsDataType = '';
+
+ public function setDealCode($dealCode)
+ {
+ $this->dealCode = $dealCode;
+ }
+ public function getDealCode()
+ {
+ return $this->dealCode;
+ }
+ 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(Google_Service_Reseller_Seats $seats)
+ {
+ $this->seats = $seats;
+ }
+ public function getSeats()
+ {
+ return $this->seats;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Customer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Customer.php
new file mode 100644
index 00000000..7328be2d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Customer.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reseller_Customer extends Google_Model
+{
+ public $alternateEmail;
+ public $customerDomain;
+ public $customerDomainVerified;
+ public $customerId;
+ public $kind;
+ public $phoneNumber;
+ protected $postalAddressType = '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 setCustomerDomainVerified($customerDomainVerified)
+ {
+ $this->customerDomainVerified = $customerDomainVerified;
+ }
+ public function getCustomerDomainVerified()
+ {
+ return $this->customerDomainVerified;
+ }
+ 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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/RenewalSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/RenewalSettings.php
new file mode 100644
index 00000000..2e820233
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/RenewalSettings.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reseller_RenewalSettings extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyGetwatchdetailsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyGetwatchdetailsResponse.php
new file mode 100644
index 00000000..d617842e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyGetwatchdetailsResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reseller_ResellernotifyGetwatchdetailsResponse extends Google_Collection
+{
+ protected $collection_key = 'serviceAccountEmailAddresses';
+ public $serviceAccountEmailAddresses;
+ public $topicName;
+
+ public function setServiceAccountEmailAddresses($serviceAccountEmailAddresses)
+ {
+ $this->serviceAccountEmailAddresses = $serviceAccountEmailAddresses;
+ }
+ public function getServiceAccountEmailAddresses()
+ {
+ return $this->serviceAccountEmailAddresses;
+ }
+ public function setTopicName($topicName)
+ {
+ $this->topicName = $topicName;
+ }
+ public function getTopicName()
+ {
+ return $this->topicName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyResource.php
new file mode 100644
index 00000000..5124167e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyResource.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reseller_ResellernotifyResource extends Google_Model
+{
+ public $topicName;
+
+ public function setTopicName($topicName)
+ {
+ $this->topicName = $topicName;
+ }
+ public function getTopicName()
+ {
+ return $this->topicName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Customers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Customers.php
new file mode 100644
index 00000000..2d87a3b4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Customers.php
@@ -0,0 +1,99 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "customers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $resellerService = new Google_Service_Reseller(...);
+ * $customers = $resellerService->customers;
+ * </code>
+ */
+class Google_Service_Reseller_Resource_Customers extends Google_Service_Resource
+{
+ /**
+ * Get a customer account. (customers.get)
+ *
+ * @param string $customerId Either the customer's primary domain name or the
+ * customer's unique identifier. If using the domain name, we do not recommend
+ * using a customerId as a key for persistent data. If the domain name for a
+ * customerId is changed, the Google system automatically updates.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Reseller_Customer");
+ }
+ /**
+ * Order a new customer's account. (customers.insert)
+ *
+ * @param Google_Service_Reseller_Customer $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string customerAuthToken The customerAuthToken query string is
+ * required when creating a resold account that transfers a direct customer's
+ * subscription or transfers another reseller customer's subscription to your
+ * reseller management. This is a hexadecimal authentication token needed to
+ * complete the subscription transfer. For more information, see the
+ * administrator help center.
+ * @return Google_Service_Reseller_Customer
+ */
+ public function insert(Google_Service_Reseller_Customer $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Reseller_Customer");
+ }
+ /**
+ * Update a customer account's settings. This method supports patch semantics.
+ * (customers.patch)
+ *
+ * @param string $customerId Either the customer's primary domain name or the
+ * customer's unique identifier. If using the domain name, we do not recommend
+ * using a customerId as a key for persistent data. If the domain name for a
+ * customerId is changed, the Google system automatically updates.
+ * @param Google_Service_Reseller_Customer $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Reseller_Customer
+ */
+ public function patch($customerId, Google_Service_Reseller_Customer $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Reseller_Customer");
+ }
+ /**
+ * Update a customer account's settings. (customers.update)
+ *
+ * @param string $customerId Either the customer's primary domain name or the
+ * customer's unique identifier. If using the domain name, we do not recommend
+ * using a customerId as a key for persistent data. If the domain name for a
+ * customerId is changed, the Google system automatically updates.
+ * @param Google_Service_Reseller_Customer $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Reseller_Customer
+ */
+ public function update($customerId, Google_Service_Reseller_Customer $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Reseller_Customer");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Resellernotify.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Resellernotify.php
new file mode 100644
index 00000000..6bfc10fa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Resellernotify.php
@@ -0,0 +1,72 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "resellernotify" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $resellerService = new Google_Service_Reseller(...);
+ * $resellernotify = $resellerService->resellernotify;
+ * </code>
+ */
+class Google_Service_Reseller_Resource_Resellernotify extends Google_Service_Resource
+{
+ /**
+ * Returns all the details of the watch corresponding to the reseller.
+ * (resellernotify.getwatchdetails)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Reseller_ResellernotifyGetwatchdetailsResponse
+ */
+ public function getwatchdetails($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('getwatchdetails', array($params), "Google_Service_Reseller_ResellernotifyGetwatchdetailsResponse");
+ }
+ /**
+ * Registers a Reseller for receiving notifications. (resellernotify.register)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string serviceAccountEmailAddress The service account which will
+ * own the created Cloud-PubSub topic.
+ * @return Google_Service_Reseller_ResellernotifyResource
+ */
+ public function register($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('register', array($params), "Google_Service_Reseller_ResellernotifyResource");
+ }
+ /**
+ * Unregisters a Reseller for receiving notifications.
+ * (resellernotify.unregister)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string serviceAccountEmailAddress The service account which owns
+ * the Cloud-PubSub topic.
+ * @return Google_Service_Reseller_ResellernotifyResource
+ */
+ public function unregister($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('unregister', array($params), "Google_Service_Reseller_ResellernotifyResource");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Subscriptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Subscriptions.php
new file mode 100644
index 00000000..3a8b81fc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Subscriptions.php
@@ -0,0 +1,265 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "subscriptions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $resellerService = new Google_Service_Reseller(...);
+ * $subscriptions = $resellerService->subscriptions;
+ * </code>
+ */
+class Google_Service_Reseller_Resource_Subscriptions extends Google_Service_Resource
+{
+ /**
+ * Activates a subscription previously suspended by the reseller
+ * (subscriptions.activate)
+ *
+ * @param string $customerId Either the customer's primary domain name or the
+ * customer's unique identifier. If using the domain name, we do not recommend
+ * using a customerId as a key for persistent data. If the domain name for a
+ * customerId is changed, the Google system automatically updates.
+ * @param string $subscriptionId This is a required property. The subscriptionId
+ * is the subscription identifier and is unique for each customer. Since a
+ * subscriptionId changes when a subscription is updated, we recommend to not
+ * use this ID as a key for persistent data. And the subscriptionId can be found
+ * using the retrieve all reseller subscriptions method.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Reseller_Subscription");
+ }
+ /**
+ * Update a subscription plan. Use this method to update a plan for a 30-day
+ * trial or a flexible plan subscription to an annual commitment plan with
+ * monthly or yearly payments. (subscriptions.changePlan)
+ *
+ * @param string $customerId Either the customer's primary domain name or the
+ * customer's unique identifier. If using the domain name, we do not recommend
+ * using a customerId as a key for persistent data. If the domain name for a
+ * customerId is changed, the Google system automatically updates.
+ * @param string $subscriptionId This is a required property. The subscriptionId
+ * is the subscription identifier and is unique for each customer. Since a
+ * subscriptionId changes when a subscription is updated, we recommend to not
+ * use this ID as a key for persistent data. And the subscriptionId can be found
+ * using the retrieve all reseller subscriptions method.
+ * @param Google_Service_Reseller_ChangePlanRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Reseller_Subscription
+ */
+ public function changePlan($customerId, $subscriptionId, 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), "Google_Service_Reseller_Subscription");
+ }
+ /**
+ * Update a user license's renewal settings. This is applicable for accounts
+ * with annual commitment plans only. (subscriptions.changeRenewalSettings)
+ *
+ * @param string $customerId Either the customer's primary domain name or the
+ * customer's unique identifier. If using the domain name, we do not recommend
+ * using a customerId as a key for persistent data. If the domain name for a
+ * customerId is changed, the Google system automatically updates.
+ * @param string $subscriptionId This is a required property. The subscriptionId
+ * is the subscription identifier and is unique for each customer. Since a
+ * subscriptionId changes when a subscription is updated, we recommend to not
+ * use this ID as a key for persistent data. And the subscriptionId can be found
+ * using the retrieve all reseller subscriptions method.
+ * @param Google_Service_Reseller_RenewalSettings $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Reseller_Subscription
+ */
+ public function changeRenewalSettings($customerId, $subscriptionId, 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), "Google_Service_Reseller_Subscription");
+ }
+ /**
+ * Update a subscription's user license settings. (subscriptions.changeSeats)
+ *
+ * @param string $customerId Either the customer's primary domain name or the
+ * customer's unique identifier. If using the domain name, we do not recommend
+ * using a customerId as a key for persistent data. If the domain name for a
+ * customerId is changed, the Google system automatically updates.
+ * @param string $subscriptionId This is a required property. The subscriptionId
+ * is the subscription identifier and is unique for each customer. Since a
+ * subscriptionId changes when a subscription is updated, we recommend to not
+ * use this ID as a key for persistent data. And the subscriptionId can be found
+ * using the retrieve all reseller subscriptions method.
+ * @param Google_Service_Reseller_Seats $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Reseller_Subscription
+ */
+ public function changeSeats($customerId, $subscriptionId, 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), "Google_Service_Reseller_Subscription");
+ }
+ /**
+ * Cancel, suspend or transfer a subscription to direct. (subscriptions.delete)
+ *
+ * @param string $customerId Either the customer's primary domain name or the
+ * customer's unique identifier. If using the domain name, we do not recommend
+ * using a customerId as a key for persistent data. If the domain name for a
+ * customerId is changed, the Google system automatically updates.
+ * @param string $subscriptionId This is a required property. The subscriptionId
+ * is the subscription identifier and is unique for each customer. Since a
+ * subscriptionId changes when a subscription is updated, we recommend to not
+ * use this ID as a key for persistent data. And the subscriptionId can be found
+ * using the retrieve all reseller subscriptions method.
+ * @param string $deletionType The deletionType query string enables the
+ * cancellation, downgrade, or suspension of a subscription.
+ * @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));
+ }
+ /**
+ * Get a specific subscription. (subscriptions.get)
+ *
+ * @param string $customerId Either the customer's primary domain name or the
+ * customer's unique identifier. If using the domain name, we do not recommend
+ * using a customerId as a key for persistent data. If the domain name for a
+ * customerId is changed, the Google system automatically updates.
+ * @param string $subscriptionId This is a required property. The subscriptionId
+ * is the subscription identifier and is unique for each customer. Since a
+ * subscriptionId changes when a subscription is updated, we recommend to not
+ * use this ID as a key for persistent data. And the subscriptionId can be found
+ * using the retrieve all reseller subscriptions method.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Reseller_Subscription");
+ }
+ /**
+ * Create or transfer a subscription. (subscriptions.insert)
+ *
+ * @param string $customerId Either the customer's primary domain name or the
+ * customer's unique identifier. If using the domain name, we do not recommend
+ * using a customerId as a key for persistent data. If the domain name for a
+ * customerId is changed, the Google system automatically updates.
+ * @param Google_Service_Reseller_Subscription $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string customerAuthToken The customerAuthToken query string is
+ * required when creating a resold account that transfers a direct customer's
+ * subscription or transfers another reseller customer's subscription to your
+ * reseller management. This is a hexadecimal authentication token needed to
+ * complete the subscription transfer. For more information, see the
+ * administrator help center.
+ * @return Google_Service_Reseller_Subscription
+ */
+ public function insert($customerId, Google_Service_Reseller_Subscription $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Reseller_Subscription");
+ }
+ /**
+ * List of subscriptions managed by the reseller. The list can be all
+ * subscriptions, all of a customer's subscriptions, or all of a customer's
+ * transferable subscriptions. (subscriptions.listSubscriptions)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string customerAuthToken The customerAuthToken query string is
+ * required when creating a resold account that transfers a direct customer's
+ * subscription or transfers another reseller customer's subscription to your
+ * reseller management. This is a hexadecimal authentication token needed to
+ * complete the subscription transfer. For more information, see the
+ * administrator help center.
+ * @opt_param string customerId Either the customer's primary domain name or the
+ * customer's unique identifier. If using the domain name, we do not recommend
+ * using a customerId as a key for persistent data. If the domain name for a
+ * customerId is changed, the Google system automatically updates.
+ * @opt_param string customerNamePrefix When retrieving all of your
+ * subscriptions and filtering for specific customers, you can enter a prefix
+ * for a customer name. Using an example customer group that includes exam.com,
+ * example20.com and example.com: - exa -- Returns all customer names that start
+ * with 'exa' which could include exam.com, example20.com, and example.com. A
+ * name prefix is similar to using a regular expression's asterisk, exa*. -
+ * example -- Returns example20.com and example.com.
+ * @opt_param string maxResults When retrieving a large list, the maxResults is
+ * the maximum number of results per page. The nextPageToken value takes you to
+ * the next page. The default is 20.
+ * @opt_param string pageToken Token to specify next page in the list
+ * @return Google_Service_Reseller_Subscriptions
+ */
+ public function listSubscriptions($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Reseller_Subscriptions");
+ }
+ /**
+ * Immediately move a 30-day free trial subscription to a paid service
+ * subscription. (subscriptions.startPaidService)
+ *
+ * @param string $customerId Either the customer's primary domain name or the
+ * customer's unique identifier. If using the domain name, we do not recommend
+ * using a customerId as a key for persistent data. If the domain name for a
+ * customerId is changed, the Google system automatically updates.
+ * @param string $subscriptionId This is a required property. The subscriptionId
+ * is the subscription identifier and is unique for each customer. Since a
+ * subscriptionId changes when a subscription is updated, we recommend to not
+ * use this ID as a key for persistent data. And the subscriptionId can be found
+ * using the retrieve all reseller subscriptions method.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Reseller_Subscription");
+ }
+ /**
+ * Suspends an active subscription. (subscriptions.suspend)
+ *
+ * @param string $customerId Either the customer's primary domain name or the
+ * customer's unique identifier. If using the domain name, we do not recommend
+ * using a customerId as a key for persistent data. If the domain name for a
+ * customerId is changed, the Google system automatically updates.
+ * @param string $subscriptionId This is a required property. The subscriptionId
+ * is the subscription identifier and is unique for each customer. Since a
+ * subscriptionId changes when a subscription is updated, we recommend to not
+ * use this ID as a key for persistent data. And the subscriptionId can be found
+ * using the retrieve all reseller subscriptions method.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Reseller_Subscription");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Seats.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Seats.php
new file mode 100644
index 00000000..5847a2ab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Seats.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reseller_Seats extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Subscription.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Subscription.php
new file mode 100644
index 00000000..ab62a7ef
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Subscription.php
@@ -0,0 +1,189 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reseller_Subscription extends Google_Collection
+{
+ protected $collection_key = 'suspensionReasons';
+ public $billingMethod;
+ public $creationTime;
+ public $customerDomain;
+ public $customerId;
+ public $dealCode;
+ public $kind;
+ protected $planType = 'Google_Service_Reseller_SubscriptionPlan';
+ protected $planDataType = '';
+ public $purchaseOrderId;
+ protected $renewalSettingsType = 'Google_Service_Reseller_RenewalSettings';
+ protected $renewalSettingsDataType = '';
+ public $resourceUiUrl;
+ protected $seatsType = 'Google_Service_Reseller_Seats';
+ protected $seatsDataType = '';
+ public $skuId;
+ public $skuName;
+ public $status;
+ public $subscriptionId;
+ public $suspensionReasons;
+ protected $transferInfoType = 'Google_Service_Reseller_SubscriptionTransferInfo';
+ protected $transferInfoDataType = '';
+ protected $trialSettingsType = 'Google_Service_Reseller_SubscriptionTrialSettings';
+ protected $trialSettingsDataType = '';
+
+ public function setBillingMethod($billingMethod)
+ {
+ $this->billingMethod = $billingMethod;
+ }
+ public function getBillingMethod()
+ {
+ return $this->billingMethod;
+ }
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ 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 setDealCode($dealCode)
+ {
+ $this->dealCode = $dealCode;
+ }
+ public function getDealCode()
+ {
+ return $this->dealCode;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPlan(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(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(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 setSkuName($skuName)
+ {
+ $this->skuName = $skuName;
+ }
+ public function getSkuName()
+ {
+ return $this->skuName;
+ }
+ 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 setSuspensionReasons($suspensionReasons)
+ {
+ $this->suspensionReasons = $suspensionReasons;
+ }
+ public function getSuspensionReasons()
+ {
+ return $this->suspensionReasons;
+ }
+ public function setTransferInfo(Google_Service_Reseller_SubscriptionTransferInfo $transferInfo)
+ {
+ $this->transferInfo = $transferInfo;
+ }
+ public function getTransferInfo()
+ {
+ return $this->transferInfo;
+ }
+ public function setTrialSettings(Google_Service_Reseller_SubscriptionTrialSettings $trialSettings)
+ {
+ $this->trialSettings = $trialSettings;
+ }
+ public function getTrialSettings()
+ {
+ return $this->trialSettings;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlan.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlan.php
new file mode 100644
index 00000000..e3ee1d79
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlan.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reseller_SubscriptionPlan extends Google_Model
+{
+ protected $commitmentIntervalType = 'Google_Service_Reseller_SubscriptionPlanCommitmentInterval';
+ protected $commitmentIntervalDataType = '';
+ public $isCommitmentPlan;
+ public $planName;
+
+ public function setCommitmentInterval(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlanCommitmentInterval.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlanCommitmentInterval.php
new file mode 100644
index 00000000..69f2bccd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlanCommitmentInterval.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reseller_SubscriptionPlanCommitmentInterval extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTransferInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTransferInfo.php
new file mode 100644
index 00000000..75f6cfb3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTransferInfo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reseller_SubscriptionTransferInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTrialSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTrialSettings.php
new file mode 100644
index 00000000..a16afb49
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTrialSettings.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reseller_SubscriptionTrialSettings extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Subscriptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Subscriptions.php
new file mode 100644
index 00000000..708fb5ab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Subscriptions.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Reseller_Subscriptions extends Google_Collection
+{
+ protected $collection_key = 'subscriptions';
+ public $kind;
+ public $nextPageToken;
+ protected $subscriptionsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews.php
new file mode 100644
index 00000000..80d3bd3e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews.php
@@ -0,0 +1,339 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM_READ_ONLY =
+ "https://www.googleapis.com/auth/cloud-platform.read-only";
+ /** 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'resourceviews/v1beta2/projects/';
+ $this->version = 'v1beta2';
+ $this->serviceName = 'resourceviews';
+
+ $this->zoneOperations = new Google_Service_Resourceviews_Resource_ZoneOperations(
+ $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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->zoneViews = new Google_Service_Resourceviews_Resource_ZoneViews(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ 'format' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'listState' => 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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Label.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Label.php
new file mode 100644
index 00000000..a6fdc018
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Label.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews_Label extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ListResourceResponseItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ListResourceResponseItem.php
new file mode 100644
index 00000000..6a6ad8ee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ListResourceResponseItem.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews_ListResourceResponseItem extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Operation.php
new file mode 100644
index 00000000..78207f62
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Operation.php
@@ -0,0 +1,222 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews_Operation extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = '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 = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationError.php
new file mode 100644
index 00000000..5aea2113
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationError.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews_OperationError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $errorsType = 'Google_Service_Resourceviews_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationErrorErrors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationErrorErrors.php
new file mode 100644
index 00000000..bcbc36ed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationErrorErrors.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews_OperationErrorErrors extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationList.php
new file mode 100644
index 00000000..e1bc4b6e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationList.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews_OperationList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationWarnings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationWarnings.php
new file mode 100644
index 00000000..0ba5ef48
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationWarnings.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews_OperationWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationWarningsData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationWarningsData.php
new file mode 100644
index 00000000..0c5fd964
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationWarningsData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews_OperationWarningsData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Resource/ZoneOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Resource/ZoneOperations.php
new file mode 100644
index 00000000..7bc6bb65
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Resource/ZoneOperations.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "zoneOperations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $resourceviewsService = new Google_Service_Resourceviews(...);
+ * $zoneOperations = $resourceviewsService->zoneOperations;
+ * </code>
+ */
+class Google_Service_Resourceviews_Resource_ZoneOperations extends 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 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), "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 maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @return 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), "Google_Service_Resourceviews_OperationList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Resource/ZoneViews.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Resource/ZoneViews.php
new file mode 100644
index 00000000..fc4aeade
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Resource/ZoneViews.php
@@ -0,0 +1,190 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "zoneViews" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $resourceviewsService = new Google_Service_Resourceviews(...);
+ * $zoneViews = $resourceviewsService->zoneViews;
+ * </code>
+ */
+class Google_Service_Resourceviews_Resource_ZoneViews extends 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 Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Resourceviews_Operation
+ */
+ public function addResources($project, $zone, $resourceView, 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), "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 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), "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 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), "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 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), "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 Google_Service_Resourceviews_ResourceView $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Resourceviews_Operation
+ */
+ public function insert($project, $zone, 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), "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 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.
+ * @return 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), "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 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 string listState The state of the instance to list. By default, it
+ * lists all instances.
+ * @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 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), "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 Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Resourceviews_Operation
+ */
+ public function removeResources($project, $zone, $resourceView, 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), "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 Google_Service_Resourceviews_ZoneViewsSetServiceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Resourceviews_Operation
+ */
+ public function setService($project, $zone, $resourceView, 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), "Google_Service_Resourceviews_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ResourceView.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ResourceView.php
new file mode 100644
index 00000000..d0767580
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ResourceView.php
@@ -0,0 +1,132 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews_ResourceView extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ public $creationTimestamp;
+ public $description;
+ protected $endpointsType = 'Google_Service_Resourceviews_ServiceEndpoint';
+ protected $endpointsDataType = 'array';
+ public $fingerprint;
+ public $id;
+ public $kind;
+ protected $labelsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ServiceEndpoint.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ServiceEndpoint.php
new file mode 100644
index 00000000..8c8aeabb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ServiceEndpoint.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews_ServiceEndpoint extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsAddResourcesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsAddResourcesRequest.php
new file mode 100644
index 00000000..20e615e8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsAddResourcesRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews_ZoneViewsAddResourcesRequest extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ public $resources;
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsGetServiceResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsGetServiceResponse.php
new file mode 100644
index 00000000..b5a61984
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsGetServiceResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews_ZoneViewsGetServiceResponse extends Google_Collection
+{
+ protected $collection_key = 'endpoints';
+ protected $endpointsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsList.php
new file mode 100644
index 00000000..c2a62314
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsList.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews_ZoneViewsList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsListResourcesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsListResourcesResponse.php
new file mode 100644
index 00000000..299c85ae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsListResourcesResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews_ZoneViewsListResourcesResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsRemoveResourcesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsRemoveResourcesRequest.php
new file mode 100644
index 00000000..ccaa19bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsRemoveResourcesRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ public $resources;
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsSetServiceRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsSetServiceRequest.php
new file mode 100644
index 00000000..184c8170
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsSetServiceRequest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Resourceviews_ZoneViewsSetServiceRequest extends Google_Collection
+{
+ protected $collection_key = 'endpoints';
+ protected $endpointsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin.php
new file mode 100644
index 00000000..a70911dd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin.php
@@ -0,0 +1,811 @@
+<?php
+/*
+ * Copyright 2016 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 (v1beta4).
+ *
+ * <p>
+ * Creates and configures Cloud SQL instances, which provide fully-managed MySQL
+ * databases.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/sql/docs/reference/latest" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_SQLAdmin extends 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 $databases;
+ public $flags;
+ public $instances;
+ public $operations;
+ public $sslCerts;
+ public $tiers;
+ public $users;
+
+ /**
+ * Constructs the internal representation of the SQLAdmin service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'sql/v1beta4/';
+ $this->version = 'v1beta4';
+ $this->serviceName = 'sqladmin';
+
+ $this->backupRuns = new Google_Service_SQLAdmin_Resource_BackupRuns(
+ $this,
+ $this->serviceName,
+ 'backupRuns',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'projects/{project}/instances/{instance}/backupRuns/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'projects/{project}/instances/{instance}/backupRuns/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'projects/{project}/instances/{instance}/backupRuns',
+ '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}/backupRuns',
+ '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->databases = new Google_Service_SQLAdmin_Resource_Databases(
+ $this,
+ $this->serviceName,
+ 'databases',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'projects/{project}/instances/{instance}/databases/{database}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'database' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'projects/{project}/instances/{instance}/databases/{database}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'database' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'projects/{project}/instances/{instance}/databases',
+ '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}/databases',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'projects/{project}/instances/{instance}/databases/{database}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'database' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'projects/{project}/instances/{instance}/databases/{database}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'database' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->flags = new Google_Service_SQLAdmin_Resource_Flags(
+ $this,
+ $this->serviceName,
+ 'flags',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'flags',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'databaseVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->instances = new Google_Service_SQLAdmin_Resource_Instances(
+ $this,
+ $this->serviceName,
+ 'instances',
+ array(
+ 'methods' => array(
+ 'clone' => array(
+ 'path' => 'projects/{project}/instances/{instance}/clone',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => 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,
+ ),
+ ),
+ ),'failover' => array(
+ 'path' => 'projects/{project}/instances/{instance}/failover',
+ '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,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ ),
+ ),'startReplica' => array(
+ 'path' => 'projects/{project}/instances/{instance}/startReplica',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'stopReplica' => array(
+ 'path' => 'projects/{project}/instances/{instance}/stopReplica',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'truncateLog' => array(
+ 'path' => 'projects/{project}/instances/{instance}/truncateLog',
+ '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 Google_Service_SQLAdmin_Resource_Operations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'projects/{project}/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' => 'projects/{project}/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->sslCerts = new Google_Service_SQLAdmin_Resource_SslCerts(
+ $this,
+ $this->serviceName,
+ 'sslCerts',
+ array(
+ 'methods' => array(
+ 'createEphemeral' => array(
+ 'path' => 'projects/{project}/instances/{instance}/createEphemeral',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'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 Google_Service_SQLAdmin_Resource_Tiers(
+ $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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users = new Google_Service_SQLAdmin_Resource_Users(
+ $this,
+ $this->serviceName,
+ 'users',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'projects/{project}/instances/{instance}/users',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'host' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'projects/{project}/instances/{instance}/users',
+ '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}/users',
+ 'httpMethod' => 'GET',
+ '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}/users',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'host' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/AclEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/AclEntry.php
new file mode 100644
index 00000000..33dbb082
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/AclEntry.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_AclEntry extends Google_Model
+{
+ public $expirationTime;
+ public $kind;
+ public $name;
+ public $value;
+
+ public function setExpirationTime($expirationTime)
+ {
+ $this->expirationTime = $expirationTime;
+ }
+ public function getExpirationTime()
+ {
+ return $this->expirationTime;
+ }
+ 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 setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupConfiguration.php
new file mode 100644
index 00000000..0b53bd18
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupConfiguration.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_BackupConfiguration extends Google_Model
+{
+ public $binaryLogEnabled;
+ public $enabled;
+ 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 setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupRun.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupRun.php
new file mode 100644
index 00000000..86ab90cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupRun.php
@@ -0,0 +1,130 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_BackupRun extends Google_Model
+{
+ public $description;
+ public $endTime;
+ public $enqueuedTime;
+ protected $errorType = 'Google_Service_SQLAdmin_OperationError';
+ protected $errorDataType = '';
+ public $id;
+ public $instance;
+ public $kind;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $type;
+ public $windowStartTime;
+
+ 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 setEnqueuedTime($enqueuedTime)
+ {
+ $this->enqueuedTime = $enqueuedTime;
+ }
+ public function getEnqueuedTime()
+ {
+ return $this->enqueuedTime;
+ }
+ public function setError(Google_Service_SQLAdmin_OperationError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ 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 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 setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setWindowStartTime($windowStartTime)
+ {
+ $this->windowStartTime = $windowStartTime;
+ }
+ public function getWindowStartTime()
+ {
+ return $this->windowStartTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupRunsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupRunsListResponse.php
new file mode 100644
index 00000000..7e71cd40
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupRunsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_BackupRunsListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BinLogCoordinates.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BinLogCoordinates.php
new file mode 100644
index 00000000..e6d92e32
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BinLogCoordinates.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_BinLogCoordinates extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/CloneContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/CloneContext.php
new file mode 100644
index 00000000..d2f6ddc0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/CloneContext.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_CloneContext extends Google_Model
+{
+ protected $binLogCoordinatesType = 'Google_Service_SQLAdmin_BinLogCoordinates';
+ protected $binLogCoordinatesDataType = '';
+ public $destinationInstanceName;
+ public $kind;
+
+ public function setBinLogCoordinates(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Database.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Database.php
new file mode 100644
index 00000000..d9d0070b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Database.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_Database extends Google_Model
+{
+ public $charset;
+ public $collation;
+ public $etag;
+ public $instance;
+ public $kind;
+ public $name;
+ public $project;
+ public $selfLink;
+
+ public function setCharset($charset)
+ {
+ $this->charset = $charset;
+ }
+ public function getCharset()
+ {
+ return $this->charset;
+ }
+ public function setCollation($collation)
+ {
+ $this->collation = $collation;
+ }
+ public function getCollation()
+ {
+ return $this->collation;
+ }
+ 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 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 setProject($project)
+ {
+ $this->project = $project;
+ }
+ public function getProject()
+ {
+ return $this->project;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseFlags.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseFlags.php
new file mode 100644
index 00000000..f56052f5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseFlags.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_DatabaseFlags extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseInstance.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseInstance.php
new file mode 100644
index 00000000..292b7229
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseInstance.php
@@ -0,0 +1,244 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_DatabaseInstance extends Google_Collection
+{
+ protected $collection_key = 'suspensionReason';
+ public $backendType;
+ public $connectionName;
+ public $currentDiskSize;
+ public $databaseVersion;
+ public $etag;
+ protected $failoverReplicaType = 'Google_Service_SQLAdmin_DatabaseInstanceFailoverReplica';
+ protected $failoverReplicaDataType = '';
+ public $instanceType;
+ protected $ipAddressesType = 'Google_Service_SQLAdmin_IpMapping';
+ protected $ipAddressesDataType = 'array';
+ public $ipv6Address;
+ public $kind;
+ public $masterInstanceName;
+ public $maxDiskSize;
+ public $name;
+ protected $onPremisesConfigurationType = 'Google_Service_SQLAdmin_OnPremisesConfiguration';
+ protected $onPremisesConfigurationDataType = '';
+ public $project;
+ public $region;
+ protected $replicaConfigurationType = 'Google_Service_SQLAdmin_ReplicaConfiguration';
+ protected $replicaConfigurationDataType = '';
+ public $replicaNames;
+ public $selfLink;
+ protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert';
+ protected $serverCaCertDataType = '';
+ public $serviceAccountEmailAddress;
+ protected $settingsType = 'Google_Service_SQLAdmin_Settings';
+ protected $settingsDataType = '';
+ public $state;
+ public $suspensionReason;
+
+ public function setBackendType($backendType)
+ {
+ $this->backendType = $backendType;
+ }
+ public function getBackendType()
+ {
+ return $this->backendType;
+ }
+ public function setConnectionName($connectionName)
+ {
+ $this->connectionName = $connectionName;
+ }
+ public function getConnectionName()
+ {
+ return $this->connectionName;
+ }
+ 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 setFailoverReplica(Google_Service_SQLAdmin_DatabaseInstanceFailoverReplica $failoverReplica)
+ {
+ $this->failoverReplica = $failoverReplica;
+ }
+ public function getFailoverReplica()
+ {
+ return $this->failoverReplica;
+ }
+ 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 setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOnPremisesConfiguration(Google_Service_SQLAdmin_OnPremisesConfiguration $onPremisesConfiguration)
+ {
+ $this->onPremisesConfiguration = $onPremisesConfiguration;
+ }
+ public function getOnPremisesConfiguration()
+ {
+ return $this->onPremisesConfiguration;
+ }
+ 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 setReplicaConfiguration(Google_Service_SQLAdmin_ReplicaConfiguration $replicaConfiguration)
+ {
+ $this->replicaConfiguration = $replicaConfiguration;
+ }
+ public function getReplicaConfiguration()
+ {
+ return $this->replicaConfiguration;
+ }
+ public function setReplicaNames($replicaNames)
+ {
+ $this->replicaNames = $replicaNames;
+ }
+ public function getReplicaNames()
+ {
+ return $this->replicaNames;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert)
+ {
+ $this->serverCaCert = $serverCaCert;
+ }
+ public function getServerCaCert()
+ {
+ return $this->serverCaCert;
+ }
+ public function setServiceAccountEmailAddress($serviceAccountEmailAddress)
+ {
+ $this->serviceAccountEmailAddress = $serviceAccountEmailAddress;
+ }
+ public function getServiceAccountEmailAddress()
+ {
+ return $this->serviceAccountEmailAddress;
+ }
+ public function setSettings(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;
+ }
+ public function setSuspensionReason($suspensionReason)
+ {
+ $this->suspensionReason = $suspensionReason;
+ }
+ public function getSuspensionReason()
+ {
+ return $this->suspensionReason;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseInstanceFailoverReplica.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseInstanceFailoverReplica.php
new file mode 100644
index 00000000..f9a22dc0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseInstanceFailoverReplica.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_DatabaseInstanceFailoverReplica extends Google_Model
+{
+ public $available;
+ public $name;
+
+ public function setAvailable($available)
+ {
+ $this->available = $available;
+ }
+ public function getAvailable()
+ {
+ return $this->available;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabasesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabasesListResponse.php
new file mode 100644
index 00000000..b74a7010
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabasesListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_DatabasesListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_SQLAdmin_Database';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContext.php
new file mode 100644
index 00000000..fd64961d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContext.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_ExportContext extends Google_Collection
+{
+ protected $collection_key = 'databases';
+ protected $csvExportOptionsType = 'Google_Service_SQLAdmin_ExportContextCsvExportOptions';
+ protected $csvExportOptionsDataType = '';
+ public $databases;
+ public $fileType;
+ public $kind;
+ protected $sqlExportOptionsType = 'Google_Service_SQLAdmin_ExportContextSqlExportOptions';
+ protected $sqlExportOptionsDataType = '';
+ public $uri;
+
+ public function setCsvExportOptions(Google_Service_SQLAdmin_ExportContextCsvExportOptions $csvExportOptions)
+ {
+ $this->csvExportOptions = $csvExportOptions;
+ }
+ public function getCsvExportOptions()
+ {
+ return $this->csvExportOptions;
+ }
+ public function setDatabases($databases)
+ {
+ $this->databases = $databases;
+ }
+ public function getDatabases()
+ {
+ return $this->databases;
+ }
+ public function setFileType($fileType)
+ {
+ $this->fileType = $fileType;
+ }
+ public function getFileType()
+ {
+ return $this->fileType;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSqlExportOptions(Google_Service_SQLAdmin_ExportContextSqlExportOptions $sqlExportOptions)
+ {
+ $this->sqlExportOptions = $sqlExportOptions;
+ }
+ public function getSqlExportOptions()
+ {
+ return $this->sqlExportOptions;
+ }
+ public function setUri($uri)
+ {
+ $this->uri = $uri;
+ }
+ public function getUri()
+ {
+ return $this->uri;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContextCsvExportOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContextCsvExportOptions.php
new file mode 100644
index 00000000..0e4a21ba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContextCsvExportOptions.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_ExportContextCsvExportOptions extends Google_Model
+{
+ public $selectQuery;
+
+ public function setSelectQuery($selectQuery)
+ {
+ $this->selectQuery = $selectQuery;
+ }
+ public function getSelectQuery()
+ {
+ return $this->selectQuery;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContextSqlExportOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContextSqlExportOptions.php
new file mode 100644
index 00000000..8b78affe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContextSqlExportOptions.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_ExportContextSqlExportOptions extends Google_Collection
+{
+ protected $collection_key = 'tables';
+ public $schemaOnly;
+ public $tables;
+
+ public function setSchemaOnly($schemaOnly)
+ {
+ $this->schemaOnly = $schemaOnly;
+ }
+ public function getSchemaOnly()
+ {
+ return $this->schemaOnly;
+ }
+ public function setTables($tables)
+ {
+ $this->tables = $tables;
+ }
+ public function getTables()
+ {
+ return $this->tables;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/FailoverContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/FailoverContext.php
new file mode 100644
index 00000000..07de18a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/FailoverContext.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_FailoverContext extends Google_Model
+{
+ public $kind;
+ public $settingsVersion;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSettingsVersion($settingsVersion)
+ {
+ $this->settingsVersion = $settingsVersion;
+ }
+ public function getSettingsVersion()
+ {
+ return $this->settingsVersion;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Flag.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Flag.php
new file mode 100644
index 00000000..ebe43c2f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Flag.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_Flag extends Google_Collection
+{
+ protected $collection_key = 'appliesTo';
+ public $allowedStringValues;
+ public $appliesTo;
+ public $kind;
+ public $maxValue;
+ public $minValue;
+ public $name;
+ public $requiresRestart;
+ 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 setRequiresRestart($requiresRestart)
+ {
+ $this->requiresRestart = $requiresRestart;
+ }
+ public function getRequiresRestart()
+ {
+ return $this->requiresRestart;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/FlagsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/FlagsListResponse.php
new file mode 100644
index 00000000..c5616917
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/FlagsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_FlagsListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ImportContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ImportContext.php
new file mode 100644
index 00000000..a81111c4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ImportContext.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_ImportContext extends Google_Model
+{
+ protected $csvImportOptionsType = 'Google_Service_SQLAdmin_ImportContextCsvImportOptions';
+ protected $csvImportOptionsDataType = '';
+ public $database;
+ public $fileType;
+ public $kind;
+ public $uri;
+
+ public function setCsvImportOptions(Google_Service_SQLAdmin_ImportContextCsvImportOptions $csvImportOptions)
+ {
+ $this->csvImportOptions = $csvImportOptions;
+ }
+ public function getCsvImportOptions()
+ {
+ return $this->csvImportOptions;
+ }
+ public function setDatabase($database)
+ {
+ $this->database = $database;
+ }
+ public function getDatabase()
+ {
+ return $this->database;
+ }
+ public function setFileType($fileType)
+ {
+ $this->fileType = $fileType;
+ }
+ public function getFileType()
+ {
+ return $this->fileType;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ImportContextCsvImportOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ImportContextCsvImportOptions.php
new file mode 100644
index 00000000..e0bfd089
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ImportContextCsvImportOptions.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_ImportContextCsvImportOptions extends Google_Collection
+{
+ protected $collection_key = 'columns';
+ public $columns;
+ public $table;
+
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+ public function setTable($table)
+ {
+ $this->table = $table;
+ }
+ public function getTable()
+ {
+ return $this->table;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesCloneRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesCloneRequest.php
new file mode 100644
index 00000000..8a8e5754
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesCloneRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_InstancesCloneRequest extends Google_Model
+{
+ protected $cloneContextType = 'Google_Service_SQLAdmin_CloneContext';
+ protected $cloneContextDataType = '';
+
+ public function setCloneContext(Google_Service_SQLAdmin_CloneContext $cloneContext)
+ {
+ $this->cloneContext = $cloneContext;
+ }
+ public function getCloneContext()
+ {
+ return $this->cloneContext;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesExportRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesExportRequest.php
new file mode 100644
index 00000000..0b00dda6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesExportRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_InstancesExportRequest extends Google_Model
+{
+ protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext';
+ protected $exportContextDataType = '';
+
+ public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext)
+ {
+ $this->exportContext = $exportContext;
+ }
+ public function getExportContext()
+ {
+ return $this->exportContext;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesFailoverRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesFailoverRequest.php
new file mode 100644
index 00000000..c003108a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesFailoverRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_InstancesFailoverRequest extends Google_Model
+{
+ protected $failoverContextType = 'Google_Service_SQLAdmin_FailoverContext';
+ protected $failoverContextDataType = '';
+
+ public function setFailoverContext(Google_Service_SQLAdmin_FailoverContext $failoverContext)
+ {
+ $this->failoverContext = $failoverContext;
+ }
+ public function getFailoverContext()
+ {
+ return $this->failoverContext;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesImportRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesImportRequest.php
new file mode 100644
index 00000000..cdbf3d39
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesImportRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_InstancesImportRequest extends Google_Model
+{
+ protected $importContextType = 'Google_Service_SQLAdmin_ImportContext';
+ protected $importContextDataType = '';
+
+ public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext)
+ {
+ $this->importContext = $importContext;
+ }
+ public function getImportContext()
+ {
+ return $this->importContext;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesListResponse.php
new file mode 100644
index 00000000..31fbb1ec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_InstancesListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesRestoreBackupRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesRestoreBackupRequest.php
new file mode 100644
index 00000000..23cbfd5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesRestoreBackupRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_InstancesRestoreBackupRequest extends Google_Model
+{
+ protected $restoreBackupContextType = 'Google_Service_SQLAdmin_RestoreBackupContext';
+ protected $restoreBackupContextDataType = '';
+
+ public function setRestoreBackupContext(Google_Service_SQLAdmin_RestoreBackupContext $restoreBackupContext)
+ {
+ $this->restoreBackupContext = $restoreBackupContext;
+ }
+ public function getRestoreBackupContext()
+ {
+ return $this->restoreBackupContext;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesTruncateLogRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesTruncateLogRequest.php
new file mode 100644
index 00000000..fb5e9910
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesTruncateLogRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_InstancesTruncateLogRequest extends Google_Model
+{
+ protected $truncateLogContextType = 'Google_Service_SQLAdmin_TruncateLogContext';
+ protected $truncateLogContextDataType = '';
+
+ public function setTruncateLogContext(Google_Service_SQLAdmin_TruncateLogContext $truncateLogContext)
+ {
+ $this->truncateLogContext = $truncateLogContext;
+ }
+ public function getTruncateLogContext()
+ {
+ return $this->truncateLogContext;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/IpConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/IpConfiguration.php
new file mode 100644
index 00000000..bf6dcdac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/IpConfiguration.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_IpConfiguration extends Google_Collection
+{
+ protected $collection_key = 'authorizedNetworks';
+ protected $authorizedNetworksType = 'Google_Service_SQLAdmin_AclEntry';
+ protected $authorizedNetworksDataType = 'array';
+ public $ipv4Enabled;
+ public $requireSsl;
+
+ public function setAuthorizedNetworks($authorizedNetworks)
+ {
+ $this->authorizedNetworks = $authorizedNetworks;
+ }
+ public function getAuthorizedNetworks()
+ {
+ return $this->authorizedNetworks;
+ }
+ public function setIpv4Enabled($ipv4Enabled)
+ {
+ $this->ipv4Enabled = $ipv4Enabled;
+ }
+ public function getIpv4Enabled()
+ {
+ return $this->ipv4Enabled;
+ }
+ public function setRequireSsl($requireSsl)
+ {
+ $this->requireSsl = $requireSsl;
+ }
+ public function getRequireSsl()
+ {
+ return $this->requireSsl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/IpMapping.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/IpMapping.php
new file mode 100644
index 00000000..e63e278a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/IpMapping.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_IpMapping extends Google_Model
+{
+ public $ipAddress;
+ public $timeToRetire;
+ public $type;
+
+ 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;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Labels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Labels.php
new file mode 100644
index 00000000..b3653abb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Labels.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_Labels extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/LocationPreference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/LocationPreference.php
new file mode 100644
index 00000000..9a81e1d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/LocationPreference.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_LocationPreference extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/MaintenanceWindow.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/MaintenanceWindow.php
new file mode 100644
index 00000000..970da198
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/MaintenanceWindow.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_MaintenanceWindow extends Google_Model
+{
+ public $day;
+ public $hour;
+ public $kind;
+ public $updateTrack;
+
+ public function setDay($day)
+ {
+ $this->day = $day;
+ }
+ public function getDay()
+ {
+ return $this->day;
+ }
+ public function setHour($hour)
+ {
+ $this->hour = $hour;
+ }
+ public function getHour()
+ {
+ return $this->hour;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUpdateTrack($updateTrack)
+ {
+ $this->updateTrack = $updateTrack;
+ }
+ public function getUpdateTrack()
+ {
+ return $this->updateTrack;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/MySqlReplicaConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/MySqlReplicaConfiguration.php
new file mode 100644
index 00000000..f4a1e515
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/MySqlReplicaConfiguration.php
@@ -0,0 +1,120 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_MySqlReplicaConfiguration extends Google_Model
+{
+ public $caCertificate;
+ public $clientCertificate;
+ public $clientKey;
+ public $connectRetryInterval;
+ public $dumpFilePath;
+ public $kind;
+ public $masterHeartbeatPeriod;
+ public $password;
+ public $sslCipher;
+ public $username;
+ public $verifyServerCertificate;
+
+ public function setCaCertificate($caCertificate)
+ {
+ $this->caCertificate = $caCertificate;
+ }
+ public function getCaCertificate()
+ {
+ return $this->caCertificate;
+ }
+ public function setClientCertificate($clientCertificate)
+ {
+ $this->clientCertificate = $clientCertificate;
+ }
+ public function getClientCertificate()
+ {
+ return $this->clientCertificate;
+ }
+ public function setClientKey($clientKey)
+ {
+ $this->clientKey = $clientKey;
+ }
+ public function getClientKey()
+ {
+ return $this->clientKey;
+ }
+ public function setConnectRetryInterval($connectRetryInterval)
+ {
+ $this->connectRetryInterval = $connectRetryInterval;
+ }
+ public function getConnectRetryInterval()
+ {
+ return $this->connectRetryInterval;
+ }
+ public function setDumpFilePath($dumpFilePath)
+ {
+ $this->dumpFilePath = $dumpFilePath;
+ }
+ public function getDumpFilePath()
+ {
+ return $this->dumpFilePath;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMasterHeartbeatPeriod($masterHeartbeatPeriod)
+ {
+ $this->masterHeartbeatPeriod = $masterHeartbeatPeriod;
+ }
+ public function getMasterHeartbeatPeriod()
+ {
+ return $this->masterHeartbeatPeriod;
+ }
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+ public function getPassword()
+ {
+ return $this->password;
+ }
+ public function setSslCipher($sslCipher)
+ {
+ $this->sslCipher = $sslCipher;
+ }
+ public function getSslCipher()
+ {
+ return $this->sslCipher;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+ public function setVerifyServerCertificate($verifyServerCertificate)
+ {
+ $this->verifyServerCertificate = $verifyServerCertificate;
+ }
+ public function getVerifyServerCertificate()
+ {
+ return $this->verifyServerCertificate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OnPremisesConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OnPremisesConfiguration.php
new file mode 100644
index 00000000..962c8ba2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OnPremisesConfiguration.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_OnPremisesConfiguration extends Google_Model
+{
+ public $hostPort;
+ public $kind;
+
+ public function setHostPort($hostPort)
+ {
+ $this->hostPort = $hostPort;
+ }
+ public function getHostPort()
+ {
+ return $this->hostPort;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Operation.php
new file mode 100644
index 00000000..ab7797db
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Operation.php
@@ -0,0 +1,159 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_Operation extends Google_Model
+{
+ public $endTime;
+ protected $errorType = 'Google_Service_SQLAdmin_OperationErrors';
+ protected $errorDataType = '';
+ protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext';
+ protected $exportContextDataType = '';
+ protected $importContextType = 'Google_Service_SQLAdmin_ImportContext';
+ protected $importContextDataType = '';
+ public $insertTime;
+ public $kind;
+ public $name;
+ public $operationType;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $targetId;
+ public $targetLink;
+ public $targetProject;
+ public $user;
+
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setError(Google_Service_SQLAdmin_OperationErrors $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext)
+ {
+ $this->exportContext = $exportContext;
+ }
+ public function getExportContext()
+ {
+ return $this->exportContext;
+ }
+ public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext)
+ {
+ $this->importContext = $importContext;
+ }
+ public function getImportContext()
+ {
+ return $this->importContext;
+ }
+ 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 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 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 setTargetProject($targetProject)
+ {
+ $this->targetProject = $targetProject;
+ }
+ public function getTargetProject()
+ {
+ return $this->targetProject;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationError.php
new file mode 100644
index 00000000..431da35b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationError.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_OperationError extends Google_Model
+{
+ public $code;
+ public $kind;
+ public $message;
+
+ 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 setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationErrors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationErrors.php
new file mode 100644
index 00000000..8bcbec4a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationErrors.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_OperationErrors extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $errorsType = 'Google_Service_SQLAdmin_OperationError';
+ protected $errorsDataType = 'array';
+ public $kind;
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationsListResponse.php
new file mode 100644
index 00000000..d8d9eed6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_OperationsListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_SQLAdmin_Operation';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ReplicaConfiguration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ReplicaConfiguration.php
new file mode 100644
index 00000000..105758b9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ReplicaConfiguration.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_ReplicaConfiguration extends Google_Model
+{
+ public $failoverTarget;
+ public $kind;
+ protected $mysqlReplicaConfigurationType = 'Google_Service_SQLAdmin_MySqlReplicaConfiguration';
+ protected $mysqlReplicaConfigurationDataType = '';
+
+ public function setFailoverTarget($failoverTarget)
+ {
+ $this->failoverTarget = $failoverTarget;
+ }
+ public function getFailoverTarget()
+ {
+ return $this->failoverTarget;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMysqlReplicaConfiguration(Google_Service_SQLAdmin_MySqlReplicaConfiguration $mysqlReplicaConfiguration)
+ {
+ $this->mysqlReplicaConfiguration = $mysqlReplicaConfiguration;
+ }
+ public function getMysqlReplicaConfiguration()
+ {
+ return $this->mysqlReplicaConfiguration;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/BackupRuns.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/BackupRuns.php
new file mode 100644
index 00000000..f6a5fb17
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/BackupRuns.php
@@ -0,0 +1,100 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "backupRuns" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $backupRuns = $sqladminService->backupRuns;
+ * </code>
+ */
+class Google_Service_SQLAdmin_Resource_BackupRuns extends Google_Service_Resource
+{
+ /**
+ * Deletes the backup taken by a backup run. (backupRuns.delete)
+ *
+ * @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 $id The ID of the Backup Run to delete. To find a Backup Run
+ * ID, use the list method.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function delete($project, $instance, $id, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Retrieves a resource containing information about a backup run.
+ * (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 $id The ID of this Backup Run.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_BackupRun
+ */
+ public function get($project, $instance, $id, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_SQLAdmin_BackupRun");
+ }
+ /**
+ * Creates a new backup run on demand. This method is applicable only to Second
+ * Generation instances. (backupRuns.insert)
+ *
+ * @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 Google_Service_SQLAdmin_BackupRun $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function insert($project, $instance, Google_Service_SQLAdmin_BackupRun $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Lists all backup runs associated with a given instance and configuration in
+ * the reverse chronological order of the enqueued time.
+ * (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 array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults Maximum number of backup runs per response.
+ * @opt_param string pageToken A previously-returned page token representing
+ * part of the larger set of results to view.
+ * @return Google_Service_SQLAdmin_BackupRunsListResponse
+ */
+ public function listBackupRuns($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_BackupRunsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Databases.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Databases.php
new file mode 100644
index 00000000..3893b526
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Databases.php
@@ -0,0 +1,131 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "databases" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $databases = $sqladminService->databases;
+ * </code>
+ */
+class Google_Service_SQLAdmin_Resource_Databases extends Google_Service_Resource
+{
+ /**
+ * Deletes a database from a Cloud SQL instance. (databases.delete)
+ *
+ * @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 string $database Name of the database to be deleted in the instance.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function delete($project, $instance, $database, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'database' => $database);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Retrieves a resource containing information about a database inside a Cloud
+ * SQL instance. (databases.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 string $database Name of the database in the instance.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Database
+ */
+ public function get($project, $instance, $database, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'database' => $database);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_SQLAdmin_Database");
+ }
+ /**
+ * Inserts a resource containing information about a database inside a Cloud SQL
+ * instance. (databases.insert)
+ *
+ * @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 Google_Service_SQLAdmin_Database $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function insert($project, $instance, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Lists databases in the specified Cloud SQL instance.
+ * (databases.listDatabases)
+ *
+ * @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 Google_Service_SQLAdmin_DatabasesListResponse
+ */
+ public function listDatabases($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_DatabasesListResponse");
+ }
+ /**
+ * Updates a resource containing information about a database inside a Cloud SQL
+ * instance. This method supports patch semantics. (databases.patch)
+ *
+ * @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 string $database Name of the database to be updated in the instance.
+ * @param Google_Service_SQLAdmin_Database $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function patch($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'database' => $database, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Updates a resource containing information about a database inside a Cloud SQL
+ * instance. (databases.update)
+ *
+ * @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 string $database Name of the database to be updated in the instance.
+ * @param Google_Service_SQLAdmin_Database $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function update($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'database' => $database, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Flags.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Flags.php
new file mode 100644
index 00000000..c1a886e5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Flags.php
@@ -0,0 +1,44 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "flags" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $flags = $sqladminService->flags;
+ * </code>
+ */
+class Google_Service_SQLAdmin_Resource_Flags extends Google_Service_Resource
+{
+ /**
+ * List all available database flags for Google Cloud SQL instances.
+ * (flags.listFlags)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string databaseVersion Database version for flag retrieval. Flags
+ * are specific to the database version.
+ * @return Google_Service_SQLAdmin_FlagsListResponse
+ */
+ public function listFlags($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_FlagsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Instances.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Instances.php
new file mode 100644
index 00000000..4aa20919
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Instances.php
@@ -0,0 +1,311 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "instances" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $instances = $sqladminService->instances;
+ * </code>
+ */
+class Google_Service_SQLAdmin_Resource_Instances extends Google_Service_Resource
+{
+ /**
+ * Creates a Cloud SQL instance as a clone of the source instance. The API is
+ * not ready for Second Generation instances yet. (instances.cloneInstances)
+ *
+ * @param string $project Project ID of the source as well as the clone Cloud
+ * SQL instance.
+ * @param string $instance The ID of the Cloud SQL instance to be cloned
+ * (source). This does not include the project ID.
+ * @param Google_Service_SQLAdmin_InstancesCloneRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function cloneInstances($project, $instance, Google_Service_SQLAdmin_InstancesCloneRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('clone', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * 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 Google_Service_SQLAdmin_Operation
+ */
+ public function delete($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * 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 Google_Service_SQLAdmin_InstancesExportRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function export($project, $instance, 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), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Failover the instance to its failover replica instance. (instances.failover)
+ *
+ * @param string $project ID of the project that contains the read replica.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param Google_Service_SQLAdmin_InstancesFailoverRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function failover($project, $instance, Google_Service_SQLAdmin_InstancesFailoverRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('failover', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Retrieves a resource containing 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 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), "Google_Service_SQLAdmin_DatabaseInstance");
+ }
+ /**
+ * Imports data into a Cloud SQL instance from a MySQL dump file in Google Cloud
+ * Storage. (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 Google_Service_SQLAdmin_InstancesImportRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function import($project, $instance, 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), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * 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 Google_Service_SQLAdmin_DatabaseInstance $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function insert($project, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Lists instances under a given project in the alphabetical order of the
+ * 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 filter A filter expression for filtering listed instances.
+ * @opt_param string maxResults The maximum number of results to return per
+ * response.
+ * @opt_param string pageToken A previously-returned page token representing
+ * part of the larger set of results to view.
+ * @return 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), "Google_Service_SQLAdmin_InstancesListResponse");
+ }
+ /**
+ * Updates settings of a Cloud SQL instance. Caution: This is not a partial
+ * update, so you must include values for all the settings that you want to
+ * retain. For partial updates, use patch.. 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 Google_Service_SQLAdmin_DatabaseInstance $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function patch($project, $instance, 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), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * 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 Google_Service_SQLAdmin_Operation
+ */
+ public function promoteReplica($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('promoteReplica', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Deletes all client certificates and generates a new server SSL certificate
+ * for the instance. The changes will not take effect until the instance is
+ * restarted. Existing instances without a server certificate will need to call
+ * this once to set a server certificate. (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 Google_Service_SQLAdmin_Operation
+ */
+ public function resetSslConfig($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetSslConfig', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * 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 Google_Service_SQLAdmin_Operation
+ */
+ public function restart($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('restart', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * 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 Google_Service_SQLAdmin_InstancesRestoreBackupRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function restoreBackup($project, $instance, Google_Service_SQLAdmin_InstancesRestoreBackupRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('restoreBackup', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Starts the replication in the read replica instance. (instances.startReplica)
+ *
+ * @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 Google_Service_SQLAdmin_Operation
+ */
+ public function startReplica($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('startReplica', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Stops the replication in the read replica instance. (instances.stopReplica)
+ *
+ * @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 Google_Service_SQLAdmin_Operation
+ */
+ public function stopReplica($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('stopReplica', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Truncate MySQL general and slow query log tables (instances.truncateLog)
+ *
+ * @param string $project Project ID of the Cloud SQL project.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param Google_Service_SQLAdmin_InstancesTruncateLogRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function truncateLog($project, $instance, Google_Service_SQLAdmin_InstancesTruncateLogRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('truncateLog', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Updates settings of a Cloud SQL instance. Caution: This is not a partial
+ * update, so you must include values for all the settings that you want to
+ * retain. For partial updates, use patch. (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 Google_Service_SQLAdmin_DatabaseInstance $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function update($project, $instance, 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), "Google_Service_SQLAdmin_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Operations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Operations.php
new file mode 100644
index 00000000..e7f9684a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Operations.php
@@ -0,0 +1,64 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $operations = $sqladminService->operations;
+ * </code>
+ */
+class Google_Service_SQLAdmin_Resource_Operations extends Google_Service_Resource
+{
+ /**
+ * Retrieves an instance operation that has been performed on an instance.
+ * (operations.get)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $operation Instance operation ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_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), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Lists all instance operations that have been performed on the given Cloud SQL
+ * instance in the reverse chronological order of the start time.
+ * (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 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), "Google_Service_SQLAdmin_OperationsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/SslCerts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/SslCerts.php
new file mode 100644
index 00000000..be44ef8b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/SslCerts.php
@@ -0,0 +1,119 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "sslCerts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $sslCerts = $sqladminService->sslCerts;
+ * </code>
+ */
+class Google_Service_SQLAdmin_Resource_SslCerts extends Google_Service_Resource
+{
+ /**
+ * Generates a short-lived X509 certificate containing the provided public key
+ * and signed by a private key specific to the target instance. Users may use
+ * the certificate to authenticate as themselves when connecting to the
+ * database. (sslCerts.createEphemeral)
+ *
+ * @param string $project Project ID of the Cloud SQL project.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param Google_Service_SQLAdmin_SslCertsCreateEphemeralRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_SslCert
+ */
+ public function createEphemeral($project, $instance, Google_Service_SQLAdmin_SslCertsCreateEphemeralRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('createEphemeral', array($params), "Google_Service_SQLAdmin_SslCert");
+ }
+ /**
+ * Deletes the SSL certificate. The change will not take effect until the
+ * instance is restarted. (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 Google_Service_SQLAdmin_Operation
+ */
+ 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), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Retrieves a particular SSL certificate. Does not include the private key
+ * (required for usage). The private key must be saved from the response to
+ * initial creation. (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 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), "Google_Service_SQLAdmin_SslCert");
+ }
+ /**
+ * Creates an SSL certificate and returns it along with the private key and
+ * server certificate authority. The new certificate will not be usable until
+ * the instance is restarted. (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 Google_Service_SQLAdmin_SslCertsInsertRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_SslCertsInsertResponse
+ */
+ public function insert($project, $instance, 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), "Google_Service_SQLAdmin_SslCertsInsertResponse");
+ }
+ /**
+ * Lists all of the current SSL certificates for the 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 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), "Google_Service_SQLAdmin_SslCertsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Tiers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Tiers.php
new file mode 100644
index 00000000..fa3d4bd3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Tiers.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "tiers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $tiers = $sqladminService->tiers;
+ * </code>
+ */
+class Google_Service_SQLAdmin_Resource_Tiers extends Google_Service_Resource
+{
+ /**
+ * Lists all available service tiers for Google Cloud SQL, for example D1, D2.
+ * For related information, see Pricing. (tiers.listTiers)
+ *
+ * @param string $project Project ID of the project for which to list tiers.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_SQLAdmin_TiersListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Users.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Users.php
new file mode 100644
index 00000000..29ce3af0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Users.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $users = $sqladminService->users;
+ * </code>
+ */
+class Google_Service_SQLAdmin_Resource_Users extends Google_Service_Resource
+{
+ /**
+ * Deletes a user from a Cloud SQL instance. (users.delete)
+ *
+ * @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 string $host Host of the user in the instance.
+ * @param string $name Name of the user in the instance.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function delete($project, $instance, $host, $name, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'host' => $host, 'name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Creates a new user in a Cloud SQL instance. (users.insert)
+ *
+ * @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 Google_Service_SQLAdmin_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function insert($project, $instance, Google_Service_SQLAdmin_User $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+ /**
+ * Lists users in the specified Cloud SQL instance. (users.listUsers)
+ *
+ * @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 Google_Service_SQLAdmin_UsersListResponse
+ */
+ public function listUsers($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_UsersListResponse");
+ }
+ /**
+ * Updates an existing user in a Cloud SQL instance. (users.update)
+ *
+ * @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 string $host Host of the user in the instance.
+ * @param string $name Name of the user in the instance.
+ * @param Google_Service_SQLAdmin_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function update($project, $instance, $host, $name, Google_Service_SQLAdmin_User $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'host' => $host, 'name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/RestoreBackupContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/RestoreBackupContext.php
new file mode 100644
index 00000000..01c25d7a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/RestoreBackupContext.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_RestoreBackupContext extends Google_Model
+{
+ public $backupRunId;
+ public $instanceId;
+ public $kind;
+
+ public function setBackupRunId($backupRunId)
+ {
+ $this->backupRunId = $backupRunId;
+ }
+ public function getBackupRunId()
+ {
+ return $this->backupRunId;
+ }
+ public function setInstanceId($instanceId)
+ {
+ $this->instanceId = $instanceId;
+ }
+ public function getInstanceId()
+ {
+ return $this->instanceId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Settings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Settings.php
new file mode 100644
index 00000000..6dd5b864
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Settings.php
@@ -0,0 +1,208 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_Settings extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ public $activationPolicy;
+ public $authorizedGaeApplications;
+ public $availabilityType;
+ protected $backupConfigurationType = 'Google_Service_SQLAdmin_BackupConfiguration';
+ protected $backupConfigurationDataType = '';
+ public $crashSafeReplicationEnabled;
+ public $dataDiskSizeGb;
+ public $dataDiskType;
+ protected $databaseFlagsType = 'Google_Service_SQLAdmin_DatabaseFlags';
+ protected $databaseFlagsDataType = 'array';
+ public $databaseReplicationEnabled;
+ protected $ipConfigurationType = 'Google_Service_SQLAdmin_IpConfiguration';
+ protected $ipConfigurationDataType = '';
+ public $kind;
+ protected $labelsType = 'Google_Service_SQLAdmin_Labels';
+ protected $labelsDataType = 'array';
+ protected $locationPreferenceType = 'Google_Service_SQLAdmin_LocationPreference';
+ protected $locationPreferenceDataType = '';
+ protected $maintenanceWindowType = 'Google_Service_SQLAdmin_MaintenanceWindow';
+ protected $maintenanceWindowDataType = '';
+ public $pricingPlan;
+ public $replicationType;
+ public $settingsVersion;
+ public $storageAutoResize;
+ public $storageAutoResizeLimit;
+ 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 setAvailabilityType($availabilityType)
+ {
+ $this->availabilityType = $availabilityType;
+ }
+ public function getAvailabilityType()
+ {
+ return $this->availabilityType;
+ }
+ public function setBackupConfiguration(Google_Service_SQLAdmin_BackupConfiguration $backupConfiguration)
+ {
+ $this->backupConfiguration = $backupConfiguration;
+ }
+ public function getBackupConfiguration()
+ {
+ return $this->backupConfiguration;
+ }
+ public function setCrashSafeReplicationEnabled($crashSafeReplicationEnabled)
+ {
+ $this->crashSafeReplicationEnabled = $crashSafeReplicationEnabled;
+ }
+ public function getCrashSafeReplicationEnabled()
+ {
+ return $this->crashSafeReplicationEnabled;
+ }
+ public function setDataDiskSizeGb($dataDiskSizeGb)
+ {
+ $this->dataDiskSizeGb = $dataDiskSizeGb;
+ }
+ public function getDataDiskSizeGb()
+ {
+ return $this->dataDiskSizeGb;
+ }
+ public function setDataDiskType($dataDiskType)
+ {
+ $this->dataDiskType = $dataDiskType;
+ }
+ public function getDataDiskType()
+ {
+ return $this->dataDiskType;
+ }
+ 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(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 setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLocationPreference(Google_Service_SQLAdmin_LocationPreference $locationPreference)
+ {
+ $this->locationPreference = $locationPreference;
+ }
+ public function getLocationPreference()
+ {
+ return $this->locationPreference;
+ }
+ public function setMaintenanceWindow(Google_Service_SQLAdmin_MaintenanceWindow $maintenanceWindow)
+ {
+ $this->maintenanceWindow = $maintenanceWindow;
+ }
+ public function getMaintenanceWindow()
+ {
+ return $this->maintenanceWindow;
+ }
+ 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 setStorageAutoResize($storageAutoResize)
+ {
+ $this->storageAutoResize = $storageAutoResize;
+ }
+ public function getStorageAutoResize()
+ {
+ return $this->storageAutoResize;
+ }
+ public function setStorageAutoResizeLimit($storageAutoResizeLimit)
+ {
+ $this->storageAutoResizeLimit = $storageAutoResizeLimit;
+ }
+ public function getStorageAutoResizeLimit()
+ {
+ return $this->storageAutoResizeLimit;
+ }
+ public function setTier($tier)
+ {
+ $this->tier = $tier;
+ }
+ public function getTier()
+ {
+ return $this->tier;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCert.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCert.php
new file mode 100644
index 00000000..bfe016b6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCert.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_SslCert extends Google_Model
+{
+ public $cert;
+ public $certSerialNumber;
+ public $commonName;
+ public $createTime;
+ public $expirationTime;
+ public $instance;
+ public $kind;
+ public $selfLink;
+ 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 setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setSha1Fingerprint($sha1Fingerprint)
+ {
+ $this->sha1Fingerprint = $sha1Fingerprint;
+ }
+ public function getSha1Fingerprint()
+ {
+ return $this->sha1Fingerprint;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertDetail.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertDetail.php
new file mode 100644
index 00000000..8b6caa14
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertDetail.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_SslCertDetail extends Google_Model
+{
+ protected $certInfoType = 'Google_Service_SQLAdmin_SslCert';
+ protected $certInfoDataType = '';
+ public $certPrivateKey;
+
+ public function setCertInfo(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsCreateEphemeralRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsCreateEphemeralRequest.php
new file mode 100644
index 00000000..b649ea1b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsCreateEphemeralRequest.php
@@ -0,0 +1,33 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_SslCertsCreateEphemeralRequest extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "publicKey" => "public_key",
+ );
+ public $publicKey;
+
+ public function setPublicKey($publicKey)
+ {
+ $this->publicKey = $publicKey;
+ }
+ public function getPublicKey()
+ {
+ return $this->publicKey;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsInsertRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsInsertRequest.php
new file mode 100644
index 00000000..d3ba4771
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsInsertRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_SslCertsInsertRequest extends Google_Model
+{
+ public $commonName;
+
+ public function setCommonName($commonName)
+ {
+ $this->commonName = $commonName;
+ }
+ public function getCommonName()
+ {
+ return $this->commonName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsInsertResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsInsertResponse.php
new file mode 100644
index 00000000..023a85a1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsInsertResponse.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_SslCertsInsertResponse extends Google_Model
+{
+ protected $clientCertType = 'Google_Service_SQLAdmin_SslCertDetail';
+ protected $clientCertDataType = '';
+ public $kind;
+ protected $operationType = 'Google_Service_SQLAdmin_Operation';
+ protected $operationDataType = '';
+ protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert';
+ protected $serverCaCertDataType = '';
+
+ public function setClientCert(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 setOperation(Google_Service_SQLAdmin_Operation $operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+ public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert)
+ {
+ $this->serverCaCert = $serverCaCert;
+ }
+ public function getServerCaCert()
+ {
+ return $this->serverCaCert;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsListResponse.php
new file mode 100644
index 00000000..e5102c1a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_SslCertsListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Tier.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Tier.php
new file mode 100644
index 00000000..c21d761e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Tier.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_Tier extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/TiersListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/TiersListResponse.php
new file mode 100644
index 00000000..eea0512a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/TiersListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_TiersListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/TruncateLogContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/TruncateLogContext.php
new file mode 100644
index 00000000..c90d8f89
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/TruncateLogContext.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_TruncateLogContext extends Google_Model
+{
+ public $kind;
+ public $logType;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLogType($logType)
+ {
+ $this->logType = $logType;
+ }
+ public function getLogType()
+ {
+ return $this->logType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/User.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/User.php
new file mode 100644
index 00000000..90f36436
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/User.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_User extends Google_Model
+{
+ public $etag;
+ public $host;
+ public $instance;
+ public $kind;
+ public $name;
+ public $password;
+ public $project;
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setHost($host)
+ {
+ $this->host = $host;
+ }
+ public function getHost()
+ {
+ return $this->host;
+ }
+ 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 setPassword($password)
+ {
+ $this->password = $password;
+ }
+ public function getPassword()
+ {
+ return $this->password;
+ }
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+ public function getProject()
+ {
+ return $this->project;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/UsersListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/UsersListResponse.php
new file mode 100644
index 00000000..d5ec5772
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/UsersListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SQLAdmin_UsersListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_SQLAdmin_User';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing.php
new file mode 100644
index 00000000..d4bc5055
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing.php
@@ -0,0 +1,171 @@
+<?php
+/*
+ * Copyright 2016 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 Safebrowsing (v4).
+ *
+ * <p>
+ * The Safe Browsing API is an experimental API that allows client applications
+ * to check URLs against Google's constantly-updated blacklists of suspected
+ * phishing and malware pages. Your client application can use the API to
+ * download an encrypted table for local, client-side lookups of URLs.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/safe-browsing/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Safebrowsing extends Google_Service
+{
+
+
+ public $encodedFullHashes;
+ public $encodedUpdates;
+ public $fullHashes;
+ public $threatListUpdates;
+ public $threatLists;
+ public $threatMatches;
+
+ /**
+ * Constructs the internal representation of the Safebrowsing service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://safebrowsing.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v4';
+ $this->serviceName = 'safebrowsing';
+
+ $this->encodedFullHashes = new Google_Service_Safebrowsing_Resource_EncodedFullHashes(
+ $this,
+ $this->serviceName,
+ 'encodedFullHashes',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v4/encodedFullHashes/{encodedRequest}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'encodedRequest' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clientId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'clientVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->encodedUpdates = new Google_Service_Safebrowsing_Resource_EncodedUpdates(
+ $this,
+ $this->serviceName,
+ 'encodedUpdates',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v4/encodedUpdates/{encodedRequest}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'encodedRequest' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clientId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'clientVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->fullHashes = new Google_Service_Safebrowsing_Resource_FullHashes(
+ $this,
+ $this->serviceName,
+ 'fullHashes',
+ array(
+ 'methods' => array(
+ 'find' => array(
+ 'path' => 'v4/fullHashes:find',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->threatListUpdates = new Google_Service_Safebrowsing_Resource_ThreatListUpdates(
+ $this,
+ $this->serviceName,
+ 'threatListUpdates',
+ array(
+ 'methods' => array(
+ 'fetch' => array(
+ 'path' => 'v4/threatListUpdates:fetch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->threatLists = new Google_Service_Safebrowsing_Resource_ThreatLists(
+ $this,
+ $this->serviceName,
+ 'threatLists',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v4/threatLists',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->threatMatches = new Google_Service_Safebrowsing_Resource_ThreatMatches(
+ $this,
+ $this->serviceName,
+ 'threatMatches',
+ array(
+ 'methods' => array(
+ 'find' => array(
+ 'path' => 'v4/threatMatches:find',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Checksum.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Checksum.php
new file mode 100644
index 00000000..476ec48e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Checksum.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_Checksum extends Google_Model
+{
+ public $sha256;
+
+ public function setSha256($sha256)
+ {
+ $this->sha256 = $sha256;
+ }
+ public function getSha256()
+ {
+ return $this->sha256;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ClientInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ClientInfo.php
new file mode 100644
index 00000000..55e0eb7d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ClientInfo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_ClientInfo extends Google_Model
+{
+ public $clientId;
+ public $clientVersion;
+
+ public function setClientId($clientId)
+ {
+ $this->clientId = $clientId;
+ }
+ public function getClientId()
+ {
+ return $this->clientId;
+ }
+ public function setClientVersion($clientVersion)
+ {
+ $this->clientVersion = $clientVersion;
+ }
+ public function getClientVersion()
+ {
+ return $this->clientVersion;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Constraints.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Constraints.php
new file mode 100644
index 00000000..e4846bc5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Constraints.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_Constraints extends Google_Collection
+{
+ protected $collection_key = 'supportedCompressions';
+ public $maxDatabaseEntries;
+ public $maxUpdateEntries;
+ public $region;
+ public $supportedCompressions;
+
+ public function setMaxDatabaseEntries($maxDatabaseEntries)
+ {
+ $this->maxDatabaseEntries = $maxDatabaseEntries;
+ }
+ public function getMaxDatabaseEntries()
+ {
+ return $this->maxDatabaseEntries;
+ }
+ public function setMaxUpdateEntries($maxUpdateEntries)
+ {
+ $this->maxUpdateEntries = $maxUpdateEntries;
+ }
+ public function getMaxUpdateEntries()
+ {
+ return $this->maxUpdateEntries;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSupportedCompressions($supportedCompressions)
+ {
+ $this->supportedCompressions = $supportedCompressions;
+ }
+ public function getSupportedCompressions()
+ {
+ return $this->supportedCompressions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FetchThreatListUpdatesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FetchThreatListUpdatesRequest.php
new file mode 100644
index 00000000..b414786d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FetchThreatListUpdatesRequest.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_FetchThreatListUpdatesRequest extends Google_Collection
+{
+ protected $collection_key = 'listUpdateRequests';
+ protected $clientType = 'Google_Service_Safebrowsing_ClientInfo';
+ protected $clientDataType = '';
+ protected $listUpdateRequestsType = 'Google_Service_Safebrowsing_ListUpdateRequest';
+ protected $listUpdateRequestsDataType = 'array';
+
+ public function setClient(Google_Service_Safebrowsing_ClientInfo $client)
+ {
+ $this->client = $client;
+ }
+ public function getClient()
+ {
+ return $this->client;
+ }
+ public function setListUpdateRequests($listUpdateRequests)
+ {
+ $this->listUpdateRequests = $listUpdateRequests;
+ }
+ public function getListUpdateRequests()
+ {
+ return $this->listUpdateRequests;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FetchThreatListUpdatesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FetchThreatListUpdatesResponse.php
new file mode 100644
index 00000000..67db90a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FetchThreatListUpdatesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_FetchThreatListUpdatesResponse extends Google_Collection
+{
+ protected $collection_key = 'listUpdateResponses';
+ protected $listUpdateResponsesType = 'Google_Service_Safebrowsing_ListUpdateResponse';
+ protected $listUpdateResponsesDataType = 'array';
+ public $minimumWaitDuration;
+
+ public function setListUpdateResponses($listUpdateResponses)
+ {
+ $this->listUpdateResponses = $listUpdateResponses;
+ }
+ public function getListUpdateResponses()
+ {
+ return $this->listUpdateResponses;
+ }
+ public function setMinimumWaitDuration($minimumWaitDuration)
+ {
+ $this->minimumWaitDuration = $minimumWaitDuration;
+ }
+ public function getMinimumWaitDuration()
+ {
+ return $this->minimumWaitDuration;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindFullHashesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindFullHashesRequest.php
new file mode 100644
index 00000000..11f4226c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindFullHashesRequest.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_FindFullHashesRequest extends Google_Collection
+{
+ protected $collection_key = 'clientStates';
+ protected $apiClientType = 'Google_Service_Safebrowsing_ClientInfo';
+ protected $apiClientDataType = '';
+ protected $clientType = 'Google_Service_Safebrowsing_ClientInfo';
+ protected $clientDataType = '';
+ public $clientStates;
+ protected $threatInfoType = 'Google_Service_Safebrowsing_ThreatInfo';
+ protected $threatInfoDataType = '';
+
+ public function setApiClient(Google_Service_Safebrowsing_ClientInfo $apiClient)
+ {
+ $this->apiClient = $apiClient;
+ }
+ public function getApiClient()
+ {
+ return $this->apiClient;
+ }
+ public function setClient(Google_Service_Safebrowsing_ClientInfo $client)
+ {
+ $this->client = $client;
+ }
+ public function getClient()
+ {
+ return $this->client;
+ }
+ public function setClientStates($clientStates)
+ {
+ $this->clientStates = $clientStates;
+ }
+ public function getClientStates()
+ {
+ return $this->clientStates;
+ }
+ public function setThreatInfo(Google_Service_Safebrowsing_ThreatInfo $threatInfo)
+ {
+ $this->threatInfo = $threatInfo;
+ }
+ public function getThreatInfo()
+ {
+ return $this->threatInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindFullHashesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindFullHashesResponse.php
new file mode 100644
index 00000000..e226d21a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindFullHashesResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_FindFullHashesResponse extends Google_Collection
+{
+ protected $collection_key = 'matches';
+ protected $matchesType = 'Google_Service_Safebrowsing_ThreatMatch';
+ protected $matchesDataType = 'array';
+ public $minimumWaitDuration;
+ public $negativeCacheDuration;
+
+ public function setMatches($matches)
+ {
+ $this->matches = $matches;
+ }
+ public function getMatches()
+ {
+ return $this->matches;
+ }
+ public function setMinimumWaitDuration($minimumWaitDuration)
+ {
+ $this->minimumWaitDuration = $minimumWaitDuration;
+ }
+ public function getMinimumWaitDuration()
+ {
+ return $this->minimumWaitDuration;
+ }
+ public function setNegativeCacheDuration($negativeCacheDuration)
+ {
+ $this->negativeCacheDuration = $negativeCacheDuration;
+ }
+ public function getNegativeCacheDuration()
+ {
+ return $this->negativeCacheDuration;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindThreatMatchesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindThreatMatchesRequest.php
new file mode 100644
index 00000000..30a1a2d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindThreatMatchesRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_FindThreatMatchesRequest extends Google_Model
+{
+ protected $clientType = 'Google_Service_Safebrowsing_ClientInfo';
+ protected $clientDataType = '';
+ protected $threatInfoType = 'Google_Service_Safebrowsing_ThreatInfo';
+ protected $threatInfoDataType = '';
+
+ public function setClient(Google_Service_Safebrowsing_ClientInfo $client)
+ {
+ $this->client = $client;
+ }
+ public function getClient()
+ {
+ return $this->client;
+ }
+ public function setThreatInfo(Google_Service_Safebrowsing_ThreatInfo $threatInfo)
+ {
+ $this->threatInfo = $threatInfo;
+ }
+ public function getThreatInfo()
+ {
+ return $this->threatInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindThreatMatchesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindThreatMatchesResponse.php
new file mode 100644
index 00000000..276bdbdd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindThreatMatchesResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_FindThreatMatchesResponse extends Google_Collection
+{
+ protected $collection_key = 'matches';
+ protected $matchesType = 'Google_Service_Safebrowsing_ThreatMatch';
+ protected $matchesDataType = 'array';
+
+ public function setMatches($matches)
+ {
+ $this->matches = $matches;
+ }
+ public function getMatches()
+ {
+ return $this->matches;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListThreatListsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListThreatListsResponse.php
new file mode 100644
index 00000000..4a3d3f52
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListThreatListsResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_ListThreatListsResponse extends Google_Collection
+{
+ protected $collection_key = 'threatLists';
+ protected $threatListsType = 'Google_Service_Safebrowsing_ThreatListDescriptor';
+ protected $threatListsDataType = 'array';
+
+ public function setThreatLists($threatLists)
+ {
+ $this->threatLists = $threatLists;
+ }
+ public function getThreatLists()
+ {
+ return $this->threatLists;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListUpdateRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListUpdateRequest.php
new file mode 100644
index 00000000..3d390075
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListUpdateRequest.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_ListUpdateRequest extends Google_Model
+{
+ protected $constraintsType = 'Google_Service_Safebrowsing_Constraints';
+ protected $constraintsDataType = '';
+ public $platformType;
+ public $state;
+ public $threatEntryType;
+ public $threatType;
+
+ public function setConstraints(Google_Service_Safebrowsing_Constraints $constraints)
+ {
+ $this->constraints = $constraints;
+ }
+ public function getConstraints()
+ {
+ return $this->constraints;
+ }
+ public function setPlatformType($platformType)
+ {
+ $this->platformType = $platformType;
+ }
+ public function getPlatformType()
+ {
+ return $this->platformType;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setThreatEntryType($threatEntryType)
+ {
+ $this->threatEntryType = $threatEntryType;
+ }
+ public function getThreatEntryType()
+ {
+ return $this->threatEntryType;
+ }
+ public function setThreatType($threatType)
+ {
+ $this->threatType = $threatType;
+ }
+ public function getThreatType()
+ {
+ return $this->threatType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListUpdateResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListUpdateResponse.php
new file mode 100644
index 00000000..9c313bc2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListUpdateResponse.php
@@ -0,0 +1,97 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_ListUpdateResponse extends Google_Collection
+{
+ protected $collection_key = 'removals';
+ protected $additionsType = 'Google_Service_Safebrowsing_ThreatEntrySet';
+ protected $additionsDataType = 'array';
+ protected $checksumType = 'Google_Service_Safebrowsing_Checksum';
+ protected $checksumDataType = '';
+ public $newClientState;
+ public $platformType;
+ protected $removalsType = 'Google_Service_Safebrowsing_ThreatEntrySet';
+ protected $removalsDataType = 'array';
+ public $responseType;
+ public $threatEntryType;
+ public $threatType;
+
+ public function setAdditions($additions)
+ {
+ $this->additions = $additions;
+ }
+ public function getAdditions()
+ {
+ return $this->additions;
+ }
+ public function setChecksum(Google_Service_Safebrowsing_Checksum $checksum)
+ {
+ $this->checksum = $checksum;
+ }
+ public function getChecksum()
+ {
+ return $this->checksum;
+ }
+ public function setNewClientState($newClientState)
+ {
+ $this->newClientState = $newClientState;
+ }
+ public function getNewClientState()
+ {
+ return $this->newClientState;
+ }
+ public function setPlatformType($platformType)
+ {
+ $this->platformType = $platformType;
+ }
+ public function getPlatformType()
+ {
+ return $this->platformType;
+ }
+ public function setRemovals($removals)
+ {
+ $this->removals = $removals;
+ }
+ public function getRemovals()
+ {
+ return $this->removals;
+ }
+ public function setResponseType($responseType)
+ {
+ $this->responseType = $responseType;
+ }
+ public function getResponseType()
+ {
+ return $this->responseType;
+ }
+ public function setThreatEntryType($threatEntryType)
+ {
+ $this->threatEntryType = $threatEntryType;
+ }
+ public function getThreatEntryType()
+ {
+ return $this->threatEntryType;
+ }
+ public function setThreatType($threatType)
+ {
+ $this->threatType = $threatType;
+ }
+ public function getThreatType()
+ {
+ return $this->threatType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/MetadataEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/MetadataEntry.php
new file mode 100644
index 00000000..1fbfbcd4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/MetadataEntry.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_MetadataEntry extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RawHashes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RawHashes.php
new file mode 100644
index 00000000..27e50f65
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RawHashes.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_RawHashes extends Google_Model
+{
+ public $prefixSize;
+ public $rawHashes;
+
+ public function setPrefixSize($prefixSize)
+ {
+ $this->prefixSize = $prefixSize;
+ }
+ public function getPrefixSize()
+ {
+ return $this->prefixSize;
+ }
+ public function setRawHashes($rawHashes)
+ {
+ $this->rawHashes = $rawHashes;
+ }
+ public function getRawHashes()
+ {
+ return $this->rawHashes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RawIndices.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RawIndices.php
new file mode 100644
index 00000000..6254eedd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RawIndices.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_RawIndices extends Google_Collection
+{
+ protected $collection_key = 'indices';
+ public $indices;
+
+ public function setIndices($indices)
+ {
+ $this->indices = $indices;
+ }
+ public function getIndices()
+ {
+ return $this->indices;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/EncodedFullHashes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/EncodedFullHashes.php
new file mode 100644
index 00000000..39c514c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/EncodedFullHashes.php
@@ -0,0 +1,45 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "encodedFullHashes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $safebrowsingService = new Google_Service_Safebrowsing(...);
+ * $encodedFullHashes = $safebrowsingService->encodedFullHashes;
+ * </code>
+ */
+class Google_Service_Safebrowsing_Resource_EncodedFullHashes extends Google_Service_Resource
+{
+ /**
+ * (encodedFullHashes.get)
+ *
+ * @param string $encodedRequest A serialized FindFullHashesRequest proto.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string clientId A client ID that (hopefully) uniquely identifies
+ * the client implementation of the Safe Browsing API.
+ * @opt_param string clientVersion The version of the client implementation.
+ * @return Google_Service_Safebrowsing_FindFullHashesResponse
+ */
+ public function get($encodedRequest, $optParams = array())
+ {
+ $params = array('encodedRequest' => $encodedRequest);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Safebrowsing_FindFullHashesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/EncodedUpdates.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/EncodedUpdates.php
new file mode 100644
index 00000000..4e6e5b74
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/EncodedUpdates.php
@@ -0,0 +1,46 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "encodedUpdates" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $safebrowsingService = new Google_Service_Safebrowsing(...);
+ * $encodedUpdates = $safebrowsingService->encodedUpdates;
+ * </code>
+ */
+class Google_Service_Safebrowsing_Resource_EncodedUpdates extends Google_Service_Resource
+{
+ /**
+ * (encodedUpdates.get)
+ *
+ * @param string $encodedRequest A serialized FetchThreatListUpdatesRequest
+ * proto.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string clientId A client ID that uniquely identifies the client
+ * implementation of the Safe Browsing API.
+ * @opt_param string clientVersion The version of the client implementation.
+ * @return Google_Service_Safebrowsing_FetchThreatListUpdatesResponse
+ */
+ public function get($encodedRequest, $optParams = array())
+ {
+ $params = array('encodedRequest' => $encodedRequest);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Safebrowsing_FetchThreatListUpdatesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/FullHashes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/FullHashes.php
new file mode 100644
index 00000000..e50cd33f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/FullHashes.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "fullHashes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $safebrowsingService = new Google_Service_Safebrowsing(...);
+ * $fullHashes = $safebrowsingService->fullHashes;
+ * </code>
+ */
+class Google_Service_Safebrowsing_Resource_FullHashes extends Google_Service_Resource
+{
+ /**
+ * Finds the full hashes that match the requested hash prefixes.
+ * (fullHashes.find)
+ *
+ * @param Google_Service_Safebrowsing_FindFullHashesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Safebrowsing_FindFullHashesResponse
+ */
+ public function find(Google_Service_Safebrowsing_FindFullHashesRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('find', array($params), "Google_Service_Safebrowsing_FindFullHashesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatListUpdates.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatListUpdates.php
new file mode 100644
index 00000000..3fcfac7c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatListUpdates.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "threatListUpdates" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $safebrowsingService = new Google_Service_Safebrowsing(...);
+ * $threatListUpdates = $safebrowsingService->threatListUpdates;
+ * </code>
+ */
+class Google_Service_Safebrowsing_Resource_ThreatListUpdates extends Google_Service_Resource
+{
+ /**
+ * Fetches the most recent threat list updates. A client can request updates for
+ * multiple lists at once. (threatListUpdates.fetch)
+ *
+ * @param Google_Service_Safebrowsing_FetchThreatListUpdatesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Safebrowsing_FetchThreatListUpdatesResponse
+ */
+ public function fetch(Google_Service_Safebrowsing_FetchThreatListUpdatesRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('fetch', array($params), "Google_Service_Safebrowsing_FetchThreatListUpdatesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatLists.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatLists.php
new file mode 100644
index 00000000..68315a23
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatLists.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "threatLists" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $safebrowsingService = new Google_Service_Safebrowsing(...);
+ * $threatLists = $safebrowsingService->threatLists;
+ * </code>
+ */
+class Google_Service_Safebrowsing_Resource_ThreatLists extends Google_Service_Resource
+{
+ /**
+ * Lists the Safe Browsing threat lists available for download.
+ * (threatLists.listThreatLists)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Safebrowsing_ListThreatListsResponse
+ */
+ public function listThreatLists($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Safebrowsing_ListThreatListsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatMatches.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatMatches.php
new file mode 100644
index 00000000..13654410
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatMatches.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "threatMatches" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $safebrowsingService = new Google_Service_Safebrowsing(...);
+ * $threatMatches = $safebrowsingService->threatMatches;
+ * </code>
+ */
+class Google_Service_Safebrowsing_Resource_ThreatMatches extends Google_Service_Resource
+{
+ /**
+ * Finds the threat entries that match the Safe Browsing lists.
+ * (threatMatches.find)
+ *
+ * @param Google_Service_Safebrowsing_FindThreatMatchesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Safebrowsing_FindThreatMatchesResponse
+ */
+ public function find(Google_Service_Safebrowsing_FindThreatMatchesRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('find', array($params), "Google_Service_Safebrowsing_FindThreatMatchesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RiceDeltaEncoding.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RiceDeltaEncoding.php
new file mode 100644
index 00000000..43ebb382
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RiceDeltaEncoding.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_RiceDeltaEncoding extends Google_Model
+{
+ public $encodedData;
+ public $firstValue;
+ public $numEntries;
+ public $riceParameter;
+
+ public function setEncodedData($encodedData)
+ {
+ $this->encodedData = $encodedData;
+ }
+ public function getEncodedData()
+ {
+ return $this->encodedData;
+ }
+ public function setFirstValue($firstValue)
+ {
+ $this->firstValue = $firstValue;
+ }
+ public function getFirstValue()
+ {
+ return $this->firstValue;
+ }
+ public function setNumEntries($numEntries)
+ {
+ $this->numEntries = $numEntries;
+ }
+ public function getNumEntries()
+ {
+ return $this->numEntries;
+ }
+ public function setRiceParameter($riceParameter)
+ {
+ $this->riceParameter = $riceParameter;
+ }
+ public function getRiceParameter()
+ {
+ return $this->riceParameter;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntry.php
new file mode 100644
index 00000000..200b81c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntry.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_ThreatEntry extends Google_Model
+{
+ public $digest;
+ public $hash;
+ public $url;
+
+ public function setDigest($digest)
+ {
+ $this->digest = $digest;
+ }
+ public function getDigest()
+ {
+ return $this->digest;
+ }
+ public function setHash($hash)
+ {
+ $this->hash = $hash;
+ }
+ public function getHash()
+ {
+ return $this->hash;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntryMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntryMetadata.php
new file mode 100644
index 00000000..280e245f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntryMetadata.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_ThreatEntryMetadata extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_Safebrowsing_MetadataEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntrySet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntrySet.php
new file mode 100644
index 00000000..a791aee5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntrySet.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_ThreatEntrySet extends Google_Model
+{
+ public $compressionType;
+ protected $rawHashesType = 'Google_Service_Safebrowsing_RawHashes';
+ protected $rawHashesDataType = '';
+ protected $rawIndicesType = 'Google_Service_Safebrowsing_RawIndices';
+ protected $rawIndicesDataType = '';
+ protected $riceHashesType = 'Google_Service_Safebrowsing_RiceDeltaEncoding';
+ protected $riceHashesDataType = '';
+ protected $riceIndicesType = 'Google_Service_Safebrowsing_RiceDeltaEncoding';
+ protected $riceIndicesDataType = '';
+
+ public function setCompressionType($compressionType)
+ {
+ $this->compressionType = $compressionType;
+ }
+ public function getCompressionType()
+ {
+ return $this->compressionType;
+ }
+ public function setRawHashes(Google_Service_Safebrowsing_RawHashes $rawHashes)
+ {
+ $this->rawHashes = $rawHashes;
+ }
+ public function getRawHashes()
+ {
+ return $this->rawHashes;
+ }
+ public function setRawIndices(Google_Service_Safebrowsing_RawIndices $rawIndices)
+ {
+ $this->rawIndices = $rawIndices;
+ }
+ public function getRawIndices()
+ {
+ return $this->rawIndices;
+ }
+ public function setRiceHashes(Google_Service_Safebrowsing_RiceDeltaEncoding $riceHashes)
+ {
+ $this->riceHashes = $riceHashes;
+ }
+ public function getRiceHashes()
+ {
+ return $this->riceHashes;
+ }
+ public function setRiceIndices(Google_Service_Safebrowsing_RiceDeltaEncoding $riceIndices)
+ {
+ $this->riceIndices = $riceIndices;
+ }
+ public function getRiceIndices()
+ {
+ return $this->riceIndices;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatInfo.php
new file mode 100644
index 00000000..c570c941
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatInfo.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_ThreatInfo extends Google_Collection
+{
+ protected $collection_key = 'threatTypes';
+ public $platformTypes;
+ protected $threatEntriesType = 'Google_Service_Safebrowsing_ThreatEntry';
+ protected $threatEntriesDataType = 'array';
+ public $threatEntryTypes;
+ public $threatTypes;
+
+ public function setPlatformTypes($platformTypes)
+ {
+ $this->platformTypes = $platformTypes;
+ }
+ public function getPlatformTypes()
+ {
+ return $this->platformTypes;
+ }
+ public function setThreatEntries($threatEntries)
+ {
+ $this->threatEntries = $threatEntries;
+ }
+ public function getThreatEntries()
+ {
+ return $this->threatEntries;
+ }
+ public function setThreatEntryTypes($threatEntryTypes)
+ {
+ $this->threatEntryTypes = $threatEntryTypes;
+ }
+ public function getThreatEntryTypes()
+ {
+ return $this->threatEntryTypes;
+ }
+ public function setThreatTypes($threatTypes)
+ {
+ $this->threatTypes = $threatTypes;
+ }
+ public function getThreatTypes()
+ {
+ return $this->threatTypes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatListDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatListDescriptor.php
new file mode 100644
index 00000000..eb62254d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatListDescriptor.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_ThreatListDescriptor extends Google_Model
+{
+ public $platformType;
+ public $threatEntryType;
+ public $threatType;
+
+ public function setPlatformType($platformType)
+ {
+ $this->platformType = $platformType;
+ }
+ public function getPlatformType()
+ {
+ return $this->platformType;
+ }
+ public function setThreatEntryType($threatEntryType)
+ {
+ $this->threatEntryType = $threatEntryType;
+ }
+ public function getThreatEntryType()
+ {
+ return $this->threatEntryType;
+ }
+ public function setThreatType($threatType)
+ {
+ $this->threatType = $threatType;
+ }
+ public function getThreatType()
+ {
+ return $this->threatType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatMatch.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatMatch.php
new file mode 100644
index 00000000..344f1511
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatMatch.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Safebrowsing_ThreatMatch extends Google_Model
+{
+ public $cacheDuration;
+ public $platformType;
+ protected $threatDataType = '';
+ protected $threatEntryMetadataType = 'Google_Service_Safebrowsing_ThreatEntryMetadata';
+ protected $threatEntryMetadataDataType = '';
+ public $threatEntryType;
+ public $threatType;
+
+ public function setCacheDuration($cacheDuration)
+ {
+ $this->cacheDuration = $cacheDuration;
+ }
+ public function getCacheDuration()
+ {
+ return $this->cacheDuration;
+ }
+ public function setPlatformType($platformType)
+ {
+ $this->platformType = $platformType;
+ }
+ public function getPlatformType()
+ {
+ return $this->platformType;
+ }
+ public function setThreat(Google_Service_Safebrowsing_ThreatEntry $threat)
+ {
+ $this->threat = $threat;
+ }
+ public function getThreat()
+ {
+ return $this->threat;
+ }
+ public function setThreatEntryMetadata(Google_Service_Safebrowsing_ThreatEntryMetadata $threatEntryMetadata)
+ {
+ $this->threatEntryMetadata = $threatEntryMetadata;
+ }
+ public function getThreatEntryMetadata()
+ {
+ return $this->threatEntryMetadata;
+ }
+ public function setThreatEntryType($threatEntryType)
+ {
+ $this->threatEntryType = $threatEntryType;
+ }
+ public function getThreatEntryType()
+ {
+ return $this->threatEntryType;
+ }
+ public function setThreatType($threatType)
+ {
+ $this->threatType = $threatType;
+ }
+ public function getThreatType()
+ {
+ return $this->threatType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script.php
new file mode 100644
index 00000000..f231790e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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 Script (v1).
+ *
+ * <p>
+ * Executes Google Apps Script projects.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/apps-script/execution/rest/v1/scripts/run" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Script extends Google_Service
+{
+ /** Read, send, delete, and manage your email. */
+ const MAIL_GOOGLE_COM =
+ "https://mail.google.com/";
+ /** Manage your calendars. */
+ const WWW_GOOGLE_COM_CALENDAR_FEEDS =
+ "https://www.google.com/calendar/feeds";
+ /** Manage your contacts. */
+ const WWW_GOOGLE_COM_M8_FEEDS =
+ "https://www.google.com/m8/feeds";
+ /** 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 the provisioning of users on your domain. */
+ const ADMIN_DIRECTORY_USER =
+ "https://www.googleapis.com/auth/admin.directory.user";
+ /** View and manage the files in your Google Drive. */
+ const DRIVE =
+ "https://www.googleapis.com/auth/drive";
+ /** View and manage your forms in Google Drive. */
+ const FORMS =
+ "https://www.googleapis.com/auth/forms";
+ /** View and manage forms that this application has been installed in. */
+ const FORMS_CURRENTONLY =
+ "https://www.googleapis.com/auth/forms.currentonly";
+ /** View and manage your Google Groups. */
+ const GROUPS =
+ "https://www.googleapis.com/auth/groups";
+ /** View and manage your spreadsheets in Google Drive. */
+ const SPREADSHEETS =
+ "https://www.googleapis.com/auth/spreadsheets";
+ /** View your email address. */
+ const USERINFO_EMAIL =
+ "https://www.googleapis.com/auth/userinfo.email";
+
+ public $scripts;
+
+ /**
+ * Constructs the internal representation of the Script service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://script.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'script';
+
+ $this->scripts = new Google_Service_Script_Resource_Scripts(
+ $this,
+ $this->serviceName,
+ 'scripts',
+ array(
+ 'methods' => array(
+ 'run' => array(
+ 'path' => 'v1/scripts/{scriptId}:run',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'scriptId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionError.php
new file mode 100644
index 00000000..a2c9f400
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionError.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Script_ExecutionError extends Google_Collection
+{
+ protected $collection_key = 'scriptStackTraceElements';
+ public $errorMessage;
+ public $errorType;
+ protected $scriptStackTraceElementsType = 'Google_Service_Script_ScriptStackTraceElement';
+ protected $scriptStackTraceElementsDataType = 'array';
+
+ public function setErrorMessage($errorMessage)
+ {
+ $this->errorMessage = $errorMessage;
+ }
+ public function getErrorMessage()
+ {
+ return $this->errorMessage;
+ }
+ public function setErrorType($errorType)
+ {
+ $this->errorType = $errorType;
+ }
+ public function getErrorType()
+ {
+ return $this->errorType;
+ }
+ public function setScriptStackTraceElements($scriptStackTraceElements)
+ {
+ $this->scriptStackTraceElements = $scriptStackTraceElements;
+ }
+ public function getScriptStackTraceElements()
+ {
+ return $this->scriptStackTraceElements;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionRequest.php
new file mode 100644
index 00000000..8f08f9b1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Script_ExecutionRequest extends Google_Collection
+{
+ protected $collection_key = 'parameters';
+ public $devMode;
+ public $function;
+ public $parameters;
+ public $sessionState;
+
+ public function setDevMode($devMode)
+ {
+ $this->devMode = $devMode;
+ }
+ public function getDevMode()
+ {
+ return $this->devMode;
+ }
+ public function setFunction($function)
+ {
+ $this->function = $function;
+ }
+ public function getFunction()
+ {
+ return $this->function;
+ }
+ public function setParameters($parameters)
+ {
+ $this->parameters = $parameters;
+ }
+ public function getParameters()
+ {
+ return $this->parameters;
+ }
+ public function setSessionState($sessionState)
+ {
+ $this->sessionState = $sessionState;
+ }
+ public function getSessionState()
+ {
+ return $this->sessionState;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionResponse.php
new file mode 100644
index 00000000..bdc12a90
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Script_ExecutionResponse extends Google_Model
+{
+ public $result;
+
+ public function setResult($result)
+ {
+ $this->result = $result;
+ }
+ public function getResult()
+ {
+ return $this->result;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Operation.php
new file mode 100644
index 00000000..b818bc11
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Operation.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Script_Operation extends Google_Model
+{
+ public $done;
+ protected $errorType = 'Google_Service_Script_Status';
+ protected $errorDataType = '';
+ public $metadata;
+ public $name;
+ public $response;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_Script_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setMetadata($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 setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Resource/Scripts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Resource/Scripts.php
new file mode 100644
index 00000000..80cac1bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Resource/Scripts.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "scripts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $scriptService = new Google_Service_Script(...);
+ * $scripts = $scriptService->scripts;
+ * </code>
+ */
+class Google_Service_Script_Resource_Scripts extends Google_Service_Resource
+{
+ /**
+ * Runs a function in an Apps Script project. The project must be deployed for
+ * use with the Apps Script Execution API.
+ *
+ * This method requires authorization with an OAuth 2.0 token that includes at
+ * least one of the scopes listed in the [Authorization](#authorization)
+ * section; script projects that do not require authorization cannot be executed
+ * through this API. To find the correct scopes to include in the authentication
+ * token, open the project in the script editor, then select **File > Project
+ * properties** and click the **Scopes** tab. (scripts.run)
+ *
+ * @param string $scriptId The project key of the script to be executed. To find
+ * the project key, open the project in the script editor and select **File >
+ * Project properties**.
+ * @param Google_Service_Script_ExecutionRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Script_Operation
+ */
+ public function run($scriptId, Google_Service_Script_ExecutionRequest $postBody, $optParams = array())
+ {
+ $params = array('scriptId' => $scriptId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('run', array($params), "Google_Service_Script_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ScriptStackTraceElement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ScriptStackTraceElement.php
new file mode 100644
index 00000000..e2043612
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ScriptStackTraceElement.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Script_ScriptStackTraceElement extends Google_Model
+{
+ public $function;
+ public $lineNumber;
+
+ public function setFunction($function)
+ {
+ $this->function = $function;
+ }
+ public function getFunction()
+ {
+ return $this->function;
+ }
+ public function setLineNumber($lineNumber)
+ {
+ $this->lineNumber = $lineNumber;
+ }
+ public function getLineNumber()
+ {
+ return $this->lineNumber;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Status.php
new file mode 100644
index 00000000..12bd8803
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Script_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole.php
new file mode 100644
index 00000000..560a2fed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole.php
@@ -0,0 +1,65 @@
+<?php
+/*
+ * Copyright 2016 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 SearchConsole (v1).
+ *
+ * <p>
+ * Provides tools for running validation tests against single URLs</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/webmaster-tools/search-console-api/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_SearchConsole extends Google_Service
+{
+
+
+ public $urlTestingTools_mobileFriendlyTest;
+
+ /**
+ * Constructs the internal representation of the SearchConsole service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://searchconsole.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'searchconsole';
+
+ $this->urlTestingTools_mobileFriendlyTest = new Google_Service_SearchConsole_Resource_UrlTestingToolsMobileFriendlyTest(
+ $this,
+ $this->serviceName,
+ 'mobileFriendlyTest',
+ array(
+ 'methods' => array(
+ 'run' => array(
+ 'path' => 'v1/urlTestingTools/mobileFriendlyTest:run',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/BlockedResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/BlockedResource.php
new file mode 100644
index 00000000..bbc71cf7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/BlockedResource.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SearchConsole_BlockedResource extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Image.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Image.php
new file mode 100644
index 00000000..16601977
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Image.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SearchConsole_Image extends Google_Model
+{
+ public $data;
+ public $mimeType;
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/MobileFriendlyIssue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/MobileFriendlyIssue.php
new file mode 100644
index 00000000..34df5fad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/MobileFriendlyIssue.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SearchConsole_MobileFriendlyIssue extends Google_Model
+{
+ public $rule;
+
+ public function setRule($rule)
+ {
+ $this->rule = $rule;
+ }
+ public function getRule()
+ {
+ return $this->rule;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Resource/UrlTestingTools.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Resource/UrlTestingTools.php
new file mode 100644
index 00000000..3508d9db
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Resource/UrlTestingTools.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "urlTestingTools" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $searchconsoleService = new Google_Service_SearchConsole(...);
+ * $urlTestingTools = $searchconsoleService->urlTestingTools;
+ * </code>
+ */
+class Google_Service_SearchConsole_Resource_UrlTestingTools extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Resource/UrlTestingToolsMobileFriendlyTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Resource/UrlTestingToolsMobileFriendlyTest.php
new file mode 100644
index 00000000..26544134
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Resource/UrlTestingToolsMobileFriendlyTest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "mobileFriendlyTest" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $searchconsoleService = new Google_Service_SearchConsole(...);
+ * $mobileFriendlyTest = $searchconsoleService->mobileFriendlyTest;
+ * </code>
+ */
+class Google_Service_SearchConsole_Resource_UrlTestingToolsMobileFriendlyTest extends Google_Service_Resource
+{
+ /**
+ * Runs Mobile-Friendly Test for a given URL. (mobileFriendlyTest.run)
+ *
+ * @param Google_Service_SearchConsole_RunMobileFriendlyTestRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SearchConsole_RunMobileFriendlyTestResponse
+ */
+ public function run(Google_Service_SearchConsole_RunMobileFriendlyTestRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('run', array($params), "Google_Service_SearchConsole_RunMobileFriendlyTestResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/ResourceIssue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/ResourceIssue.php
new file mode 100644
index 00000000..e52db726
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/ResourceIssue.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SearchConsole_ResourceIssue extends Google_Model
+{
+ protected $blockedResourceType = 'Google_Service_SearchConsole_BlockedResource';
+ protected $blockedResourceDataType = '';
+
+ public function setBlockedResource(Google_Service_SearchConsole_BlockedResource $blockedResource)
+ {
+ $this->blockedResource = $blockedResource;
+ }
+ public function getBlockedResource()
+ {
+ return $this->blockedResource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/RunMobileFriendlyTestRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/RunMobileFriendlyTestRequest.php
new file mode 100644
index 00000000..53cfff68
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/RunMobileFriendlyTestRequest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SearchConsole_RunMobileFriendlyTestRequest extends Google_Model
+{
+ public $requestScreenshot;
+ public $url;
+
+ public function setRequestScreenshot($requestScreenshot)
+ {
+ $this->requestScreenshot = $requestScreenshot;
+ }
+ public function getRequestScreenshot()
+ {
+ return $this->requestScreenshot;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/RunMobileFriendlyTestResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/RunMobileFriendlyTestResponse.php
new file mode 100644
index 00000000..95f64b3c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/RunMobileFriendlyTestResponse.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SearchConsole_RunMobileFriendlyTestResponse extends Google_Collection
+{
+ protected $collection_key = 'resourceIssues';
+ public $mobileFriendliness;
+ protected $mobileFriendlyIssuesType = 'Google_Service_SearchConsole_MobileFriendlyIssue';
+ protected $mobileFriendlyIssuesDataType = 'array';
+ protected $resourceIssuesType = 'Google_Service_SearchConsole_ResourceIssue';
+ protected $resourceIssuesDataType = 'array';
+ protected $screenshotType = 'Google_Service_SearchConsole_Image';
+ protected $screenshotDataType = '';
+ protected $testStatusType = 'Google_Service_SearchConsole_TestStatus';
+ protected $testStatusDataType = '';
+
+ public function setMobileFriendliness($mobileFriendliness)
+ {
+ $this->mobileFriendliness = $mobileFriendliness;
+ }
+ public function getMobileFriendliness()
+ {
+ return $this->mobileFriendliness;
+ }
+ public function setMobileFriendlyIssues($mobileFriendlyIssues)
+ {
+ $this->mobileFriendlyIssues = $mobileFriendlyIssues;
+ }
+ public function getMobileFriendlyIssues()
+ {
+ return $this->mobileFriendlyIssues;
+ }
+ public function setResourceIssues($resourceIssues)
+ {
+ $this->resourceIssues = $resourceIssues;
+ }
+ public function getResourceIssues()
+ {
+ return $this->resourceIssues;
+ }
+ public function setScreenshot(Google_Service_SearchConsole_Image $screenshot)
+ {
+ $this->screenshot = $screenshot;
+ }
+ public function getScreenshot()
+ {
+ return $this->screenshot;
+ }
+ public function setTestStatus(Google_Service_SearchConsole_TestStatus $testStatus)
+ {
+ $this->testStatus = $testStatus;
+ }
+ public function getTestStatus()
+ {
+ return $this->testStatus;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/TestStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/TestStatus.php
new file mode 100644
index 00000000..9212ac66
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/TestStatus.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SearchConsole_TestStatus extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl.php
new file mode 100644
index 00000000..8ab8fc6a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl.php
@@ -0,0 +1,127 @@
+<?php
+/*
+ * Copyright 2016 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 ServiceControl (v1).
+ *
+ * <p>
+ * Google Service Control provides control plane functionality to managed
+ * services, such as logging, monitoring, and status checks.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/service-control/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_ServiceControl extends 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 Service Control data. */
+ const SERVICECONTROL =
+ "https://www.googleapis.com/auth/servicecontrol";
+
+ public $services;
+
+ /**
+ * Constructs the internal representation of the ServiceControl service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://servicecontrol.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'servicecontrol';
+
+ $this->services = new Google_Service_ServiceControl_Resource_Services(
+ $this,
+ $this->serviceName,
+ 'services',
+ array(
+ 'methods' => array(
+ 'allocateQuota' => array(
+ 'path' => 'v1/services/{serviceName}:allocateQuota',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'check' => array(
+ 'path' => 'v1/services/{serviceName}:check',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'endReconciliation' => array(
+ 'path' => 'v1/services/{serviceName}:endReconciliation',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'releaseQuota' => array(
+ 'path' => 'v1/services/{serviceName}:releaseQuota',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'report' => array(
+ 'path' => 'v1/services/{serviceName}:report',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'startReconciliation' => array(
+ 'path' => 'v1/services/{serviceName}:startReconciliation',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AllocateQuotaRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AllocateQuotaRequest.php
new file mode 100644
index 00000000..407662e8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AllocateQuotaRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_AllocateQuotaRequest extends Google_Model
+{
+ protected $allocateOperationType = 'Google_Service_ServiceControl_QuotaOperation';
+ protected $allocateOperationDataType = '';
+ public $allocationMode;
+ public $serviceConfigId;
+
+ public function setAllocateOperation(Google_Service_ServiceControl_QuotaOperation $allocateOperation)
+ {
+ $this->allocateOperation = $allocateOperation;
+ }
+ public function getAllocateOperation()
+ {
+ return $this->allocateOperation;
+ }
+ public function setAllocationMode($allocationMode)
+ {
+ $this->allocationMode = $allocationMode;
+ }
+ public function getAllocationMode()
+ {
+ return $this->allocationMode;
+ }
+ public function setServiceConfigId($serviceConfigId)
+ {
+ $this->serviceConfigId = $serviceConfigId;
+ }
+ public function getServiceConfigId()
+ {
+ return $this->serviceConfigId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AllocateQuotaResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AllocateQuotaResponse.php
new file mode 100644
index 00000000..5bd7f566
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AllocateQuotaResponse.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_AllocateQuotaResponse extends Google_Collection
+{
+ protected $collection_key = 'quotaMetrics';
+ protected $allocateErrorsType = 'Google_Service_ServiceControl_QuotaError';
+ protected $allocateErrorsDataType = 'array';
+ public $operationId;
+ protected $quotaMetricsType = 'Google_Service_ServiceControl_MetricValueSet';
+ protected $quotaMetricsDataType = 'array';
+ public $serviceConfigId;
+
+ public function setAllocateErrors($allocateErrors)
+ {
+ $this->allocateErrors = $allocateErrors;
+ }
+ public function getAllocateErrors()
+ {
+ return $this->allocateErrors;
+ }
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setQuotaMetrics($quotaMetrics)
+ {
+ $this->quotaMetrics = $quotaMetrics;
+ }
+ public function getQuotaMetrics()
+ {
+ return $this->quotaMetrics;
+ }
+ public function setServiceConfigId($serviceConfigId)
+ {
+ $this->serviceConfigId = $serviceConfigId;
+ }
+ public function getServiceConfigId()
+ {
+ return $this->serviceConfigId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuditLog.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuditLog.php
new file mode 100644
index 00000000..c6c25dd1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuditLog.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_AuditLog extends Google_Collection
+{
+ protected $collection_key = 'authorizationInfo';
+ protected $authenticationInfoType = 'Google_Service_ServiceControl_AuthenticationInfo';
+ protected $authenticationInfoDataType = '';
+ protected $authorizationInfoType = 'Google_Service_ServiceControl_AuthorizationInfo';
+ protected $authorizationInfoDataType = 'array';
+ public $methodName;
+ public $numResponseItems;
+ public $request;
+ protected $requestMetadataType = 'Google_Service_ServiceControl_RequestMetadata';
+ protected $requestMetadataDataType = '';
+ public $resourceName;
+ public $response;
+ public $serviceData;
+ public $serviceName;
+ protected $statusType = 'Google_Service_ServiceControl_Status';
+ protected $statusDataType = '';
+
+ public function setAuthenticationInfo(Google_Service_ServiceControl_AuthenticationInfo $authenticationInfo)
+ {
+ $this->authenticationInfo = $authenticationInfo;
+ }
+ public function getAuthenticationInfo()
+ {
+ return $this->authenticationInfo;
+ }
+ public function setAuthorizationInfo($authorizationInfo)
+ {
+ $this->authorizationInfo = $authorizationInfo;
+ }
+ public function getAuthorizationInfo()
+ {
+ return $this->authorizationInfo;
+ }
+ public function setMethodName($methodName)
+ {
+ $this->methodName = $methodName;
+ }
+ public function getMethodName()
+ {
+ return $this->methodName;
+ }
+ public function setNumResponseItems($numResponseItems)
+ {
+ $this->numResponseItems = $numResponseItems;
+ }
+ public function getNumResponseItems()
+ {
+ return $this->numResponseItems;
+ }
+ public function setRequest($request)
+ {
+ $this->request = $request;
+ }
+ public function getRequest()
+ {
+ return $this->request;
+ }
+ public function setRequestMetadata(Google_Service_ServiceControl_RequestMetadata $requestMetadata)
+ {
+ $this->requestMetadata = $requestMetadata;
+ }
+ public function getRequestMetadata()
+ {
+ return $this->requestMetadata;
+ }
+ public function setResourceName($resourceName)
+ {
+ $this->resourceName = $resourceName;
+ }
+ public function getResourceName()
+ {
+ return $this->resourceName;
+ }
+ public function setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+ public function setServiceData($serviceData)
+ {
+ $this->serviceData = $serviceData;
+ }
+ public function getServiceData()
+ {
+ return $this->serviceData;
+ }
+ public function setServiceName($serviceName)
+ {
+ $this->serviceName = $serviceName;
+ }
+ public function getServiceName()
+ {
+ return $this->serviceName;
+ }
+ public function setStatus(Google_Service_ServiceControl_Status $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuthenticationInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuthenticationInfo.php
new file mode 100644
index 00000000..d253b170
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuthenticationInfo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_AuthenticationInfo extends Google_Model
+{
+ public $authoritySelector;
+ public $principalEmail;
+
+ public function setAuthoritySelector($authoritySelector)
+ {
+ $this->authoritySelector = $authoritySelector;
+ }
+ public function getAuthoritySelector()
+ {
+ return $this->authoritySelector;
+ }
+ public function setPrincipalEmail($principalEmail)
+ {
+ $this->principalEmail = $principalEmail;
+ }
+ public function getPrincipalEmail()
+ {
+ return $this->principalEmail;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuthorizationInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuthorizationInfo.php
new file mode 100644
index 00000000..91777eff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuthorizationInfo.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_AuthorizationInfo extends Google_Model
+{
+ public $granted;
+ public $permission;
+ public $resource;
+
+ public function setGranted($granted)
+ {
+ $this->granted = $granted;
+ }
+ public function getGranted()
+ {
+ return $this->granted;
+ }
+ public function setPermission($permission)
+ {
+ $this->permission = $permission;
+ }
+ public function getPermission()
+ {
+ return $this->permission;
+ }
+ public function setResource($resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckError.php
new file mode 100644
index 00000000..a2382bb5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckError.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_CheckError extends Google_Model
+{
+ public $code;
+ public $detail;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetail($detail)
+ {
+ $this->detail = $detail;
+ }
+ public function getDetail()
+ {
+ return $this->detail;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckInfo.php
new file mode 100644
index 00000000..d9f18c8f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckInfo.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_CheckInfo extends Google_Collection
+{
+ protected $collection_key = 'unusedArguments';
+ public $unusedArguments;
+
+ public function setUnusedArguments($unusedArguments)
+ {
+ $this->unusedArguments = $unusedArguments;
+ }
+ public function getUnusedArguments()
+ {
+ return $this->unusedArguments;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckRequest.php
new file mode 100644
index 00000000..597e6de7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_CheckRequest extends Google_Model
+{
+ protected $operationType = 'Google_Service_ServiceControl_Operation';
+ protected $operationDataType = '';
+ public $requestProjectSettings;
+ public $serviceConfigId;
+ public $skipActivationCheck;
+
+ public function setOperation(Google_Service_ServiceControl_Operation $operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+ public function setRequestProjectSettings($requestProjectSettings)
+ {
+ $this->requestProjectSettings = $requestProjectSettings;
+ }
+ public function getRequestProjectSettings()
+ {
+ return $this->requestProjectSettings;
+ }
+ public function setServiceConfigId($serviceConfigId)
+ {
+ $this->serviceConfigId = $serviceConfigId;
+ }
+ public function getServiceConfigId()
+ {
+ return $this->serviceConfigId;
+ }
+ public function setSkipActivationCheck($skipActivationCheck)
+ {
+ $this->skipActivationCheck = $skipActivationCheck;
+ }
+ public function getSkipActivationCheck()
+ {
+ return $this->skipActivationCheck;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckResponse.php
new file mode 100644
index 00000000..c3e496cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckResponse.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_CheckResponse extends Google_Collection
+{
+ protected $collection_key = 'checkErrors';
+ protected $checkErrorsType = 'Google_Service_ServiceControl_CheckError';
+ protected $checkErrorsDataType = 'array';
+ protected $checkInfoType = 'Google_Service_ServiceControl_CheckInfo';
+ protected $checkInfoDataType = '';
+ public $operationId;
+ protected $quotaInfoType = 'Google_Service_ServiceControl_QuotaInfo';
+ protected $quotaInfoDataType = '';
+ public $serviceConfigId;
+
+ public function setCheckErrors($checkErrors)
+ {
+ $this->checkErrors = $checkErrors;
+ }
+ public function getCheckErrors()
+ {
+ return $this->checkErrors;
+ }
+ public function setCheckInfo(Google_Service_ServiceControl_CheckInfo $checkInfo)
+ {
+ $this->checkInfo = $checkInfo;
+ }
+ public function getCheckInfo()
+ {
+ return $this->checkInfo;
+ }
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setQuotaInfo(Google_Service_ServiceControl_QuotaInfo $quotaInfo)
+ {
+ $this->quotaInfo = $quotaInfo;
+ }
+ public function getQuotaInfo()
+ {
+ return $this->quotaInfo;
+ }
+ public function setServiceConfigId($serviceConfigId)
+ {
+ $this->serviceConfigId = $serviceConfigId;
+ }
+ public function getServiceConfigId()
+ {
+ return $this->serviceConfigId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Distribution.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Distribution.php
new file mode 100644
index 00000000..99f45e46
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Distribution.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_Distribution extends Google_Collection
+{
+ protected $collection_key = 'bucketCounts';
+ public $bucketCounts;
+ public $count;
+ protected $explicitBucketsType = 'Google_Service_ServiceControl_ExplicitBuckets';
+ protected $explicitBucketsDataType = '';
+ protected $exponentialBucketsType = 'Google_Service_ServiceControl_ExponentialBuckets';
+ protected $exponentialBucketsDataType = '';
+ protected $linearBucketsType = 'Google_Service_ServiceControl_LinearBuckets';
+ protected $linearBucketsDataType = '';
+ public $maximum;
+ public $mean;
+ public $minimum;
+ public $sumOfSquaredDeviation;
+
+ public function setBucketCounts($bucketCounts)
+ {
+ $this->bucketCounts = $bucketCounts;
+ }
+ public function getBucketCounts()
+ {
+ return $this->bucketCounts;
+ }
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setExplicitBuckets(Google_Service_ServiceControl_ExplicitBuckets $explicitBuckets)
+ {
+ $this->explicitBuckets = $explicitBuckets;
+ }
+ public function getExplicitBuckets()
+ {
+ return $this->explicitBuckets;
+ }
+ public function setExponentialBuckets(Google_Service_ServiceControl_ExponentialBuckets $exponentialBuckets)
+ {
+ $this->exponentialBuckets = $exponentialBuckets;
+ }
+ public function getExponentialBuckets()
+ {
+ return $this->exponentialBuckets;
+ }
+ public function setLinearBuckets(Google_Service_ServiceControl_LinearBuckets $linearBuckets)
+ {
+ $this->linearBuckets = $linearBuckets;
+ }
+ public function getLinearBuckets()
+ {
+ return $this->linearBuckets;
+ }
+ public function setMaximum($maximum)
+ {
+ $this->maximum = $maximum;
+ }
+ public function getMaximum()
+ {
+ return $this->maximum;
+ }
+ public function setMean($mean)
+ {
+ $this->mean = $mean;
+ }
+ public function getMean()
+ {
+ return $this->mean;
+ }
+ public function setMinimum($minimum)
+ {
+ $this->minimum = $minimum;
+ }
+ public function getMinimum()
+ {
+ return $this->minimum;
+ }
+ public function setSumOfSquaredDeviation($sumOfSquaredDeviation)
+ {
+ $this->sumOfSquaredDeviation = $sumOfSquaredDeviation;
+ }
+ public function getSumOfSquaredDeviation()
+ {
+ return $this->sumOfSquaredDeviation;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/EndReconciliationRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/EndReconciliationRequest.php
new file mode 100644
index 00000000..30e3bd3d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/EndReconciliationRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_EndReconciliationRequest extends Google_Model
+{
+ protected $reconciliationOperationType = 'Google_Service_ServiceControl_QuotaOperation';
+ protected $reconciliationOperationDataType = '';
+ public $serviceConfigId;
+
+ public function setReconciliationOperation(Google_Service_ServiceControl_QuotaOperation $reconciliationOperation)
+ {
+ $this->reconciliationOperation = $reconciliationOperation;
+ }
+ public function getReconciliationOperation()
+ {
+ return $this->reconciliationOperation;
+ }
+ public function setServiceConfigId($serviceConfigId)
+ {
+ $this->serviceConfigId = $serviceConfigId;
+ }
+ public function getServiceConfigId()
+ {
+ return $this->serviceConfigId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/EndReconciliationResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/EndReconciliationResponse.php
new file mode 100644
index 00000000..23145bad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/EndReconciliationResponse.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_EndReconciliationResponse extends Google_Collection
+{
+ protected $collection_key = 'reconciliationErrors';
+ public $operationId;
+ protected $quotaMetricsType = 'Google_Service_ServiceControl_MetricValueSet';
+ protected $quotaMetricsDataType = 'array';
+ protected $reconciliationErrorsType = 'Google_Service_ServiceControl_QuotaError';
+ protected $reconciliationErrorsDataType = 'array';
+ public $serviceConfigId;
+
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setQuotaMetrics($quotaMetrics)
+ {
+ $this->quotaMetrics = $quotaMetrics;
+ }
+ public function getQuotaMetrics()
+ {
+ return $this->quotaMetrics;
+ }
+ public function setReconciliationErrors($reconciliationErrors)
+ {
+ $this->reconciliationErrors = $reconciliationErrors;
+ }
+ public function getReconciliationErrors()
+ {
+ return $this->reconciliationErrors;
+ }
+ public function setServiceConfigId($serviceConfigId)
+ {
+ $this->serviceConfigId = $serviceConfigId;
+ }
+ public function getServiceConfigId()
+ {
+ return $this->serviceConfigId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ExplicitBuckets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ExplicitBuckets.php
new file mode 100644
index 00000000..aad45478
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ExplicitBuckets.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_ExplicitBuckets extends Google_Collection
+{
+ protected $collection_key = 'bounds';
+ public $bounds;
+
+ public function setBounds($bounds)
+ {
+ $this->bounds = $bounds;
+ }
+ public function getBounds()
+ {
+ return $this->bounds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ExponentialBuckets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ExponentialBuckets.php
new file mode 100644
index 00000000..7872fac7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ExponentialBuckets.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_ExponentialBuckets extends Google_Model
+{
+ public $growthFactor;
+ public $numFiniteBuckets;
+ public $scale;
+
+ public function setGrowthFactor($growthFactor)
+ {
+ $this->growthFactor = $growthFactor;
+ }
+ public function getGrowthFactor()
+ {
+ return $this->growthFactor;
+ }
+ public function setNumFiniteBuckets($numFiniteBuckets)
+ {
+ $this->numFiniteBuckets = $numFiniteBuckets;
+ }
+ public function getNumFiniteBuckets()
+ {
+ return $this->numFiniteBuckets;
+ }
+ public function setScale($scale)
+ {
+ $this->scale = $scale;
+ }
+ public function getScale()
+ {
+ return $this->scale;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/LinearBuckets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/LinearBuckets.php
new file mode 100644
index 00000000..8ae7ecd8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/LinearBuckets.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_LinearBuckets extends Google_Model
+{
+ public $numFiniteBuckets;
+ public $offset;
+ public $width;
+
+ public function setNumFiniteBuckets($numFiniteBuckets)
+ {
+ $this->numFiniteBuckets = $numFiniteBuckets;
+ }
+ public function getNumFiniteBuckets()
+ {
+ return $this->numFiniteBuckets;
+ }
+ public function setOffset($offset)
+ {
+ $this->offset = $offset;
+ }
+ public function getOffset()
+ {
+ return $this->offset;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/LogEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/LogEntry.php
new file mode 100644
index 00000000..84a8c511
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/LogEntry.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_LogEntry extends Google_Model
+{
+ public $insertId;
+ public $labels;
+ public $name;
+ public $protoPayload;
+ public $severity;
+ public $structPayload;
+ public $textPayload;
+ public $timestamp;
+
+ public function setInsertId($insertId)
+ {
+ $this->insertId = $insertId;
+ }
+ public function getInsertId()
+ {
+ return $this->insertId;
+ }
+ 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 setProtoPayload($protoPayload)
+ {
+ $this->protoPayload = $protoPayload;
+ }
+ public function getProtoPayload()
+ {
+ return $this->protoPayload;
+ }
+ public function setSeverity($severity)
+ {
+ $this->severity = $severity;
+ }
+ public function getSeverity()
+ {
+ return $this->severity;
+ }
+ public function setStructPayload($structPayload)
+ {
+ $this->structPayload = $structPayload;
+ }
+ public function getStructPayload()
+ {
+ return $this->structPayload;
+ }
+ public function setTextPayload($textPayload)
+ {
+ $this->textPayload = $textPayload;
+ }
+ public function getTextPayload()
+ {
+ return $this->textPayload;
+ }
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/MetricValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/MetricValue.php
new file mode 100644
index 00000000..a71b8be3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/MetricValue.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_MetricValue extends Google_Model
+{
+ public $boolValue;
+ protected $distributionValueType = 'Google_Service_ServiceControl_Distribution';
+ protected $distributionValueDataType = '';
+ public $doubleValue;
+ public $endTime;
+ public $int64Value;
+ public $labels;
+ protected $moneyValueType = 'Google_Service_ServiceControl_Money';
+ protected $moneyValueDataType = '';
+ public $startTime;
+ public $stringValue;
+
+ public function setBoolValue($boolValue)
+ {
+ $this->boolValue = $boolValue;
+ }
+ public function getBoolValue()
+ {
+ return $this->boolValue;
+ }
+ public function setDistributionValue(Google_Service_ServiceControl_Distribution $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 setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setInt64Value($int64Value)
+ {
+ $this->int64Value = $int64Value;
+ }
+ public function getInt64Value()
+ {
+ return $this->int64Value;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setMoneyValue(Google_Service_ServiceControl_Money $moneyValue)
+ {
+ $this->moneyValue = $moneyValue;
+ }
+ public function getMoneyValue()
+ {
+ return $this->moneyValue;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStringValue($stringValue)
+ {
+ $this->stringValue = $stringValue;
+ }
+ public function getStringValue()
+ {
+ return $this->stringValue;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/MetricValueSet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/MetricValueSet.php
new file mode 100644
index 00000000..7164abf3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/MetricValueSet.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_MetricValueSet extends Google_Collection
+{
+ protected $collection_key = 'metricValues';
+ public $metricName;
+ protected $metricValuesType = 'Google_Service_ServiceControl_MetricValue';
+ protected $metricValuesDataType = 'array';
+
+ public function setMetricName($metricName)
+ {
+ $this->metricName = $metricName;
+ }
+ public function getMetricName()
+ {
+ return $this->metricName;
+ }
+ public function setMetricValues($metricValues)
+ {
+ $this->metricValues = $metricValues;
+ }
+ public function getMetricValues()
+ {
+ return $this->metricValues;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Money.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Money.php
new file mode 100644
index 00000000..55b7874e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Money.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_Money extends Google_Model
+{
+ public $currencyCode;
+ public $nanos;
+ public $units;
+
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+ public function setNanos($nanos)
+ {
+ $this->nanos = $nanos;
+ }
+ public function getNanos()
+ {
+ return $this->nanos;
+ }
+ public function setUnits($units)
+ {
+ $this->units = $units;
+ }
+ public function getUnits()
+ {
+ return $this->units;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Operation.php
new file mode 100644
index 00000000..d58e975a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Operation.php
@@ -0,0 +1,133 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_Operation extends Google_Collection
+{
+ protected $collection_key = 'metricValueSets';
+ public $consumerId;
+ public $endTime;
+ public $importance;
+ public $labels;
+ protected $logEntriesType = 'Google_Service_ServiceControl_LogEntry';
+ protected $logEntriesDataType = 'array';
+ protected $metricValueSetsType = 'Google_Service_ServiceControl_MetricValueSet';
+ protected $metricValueSetsDataType = 'array';
+ public $operationId;
+ public $operationName;
+ protected $quotaPropertiesType = 'Google_Service_ServiceControl_QuotaProperties';
+ protected $quotaPropertiesDataType = '';
+ public $resourceContainer;
+ public $startTime;
+ public $userLabels;
+
+ public function setConsumerId($consumerId)
+ {
+ $this->consumerId = $consumerId;
+ }
+ public function getConsumerId()
+ {
+ return $this->consumerId;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setImportance($importance)
+ {
+ $this->importance = $importance;
+ }
+ public function getImportance()
+ {
+ return $this->importance;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLogEntries($logEntries)
+ {
+ $this->logEntries = $logEntries;
+ }
+ public function getLogEntries()
+ {
+ return $this->logEntries;
+ }
+ public function setMetricValueSets($metricValueSets)
+ {
+ $this->metricValueSets = $metricValueSets;
+ }
+ public function getMetricValueSets()
+ {
+ return $this->metricValueSets;
+ }
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setOperationName($operationName)
+ {
+ $this->operationName = $operationName;
+ }
+ public function getOperationName()
+ {
+ return $this->operationName;
+ }
+ public function setQuotaProperties(Google_Service_ServiceControl_QuotaProperties $quotaProperties)
+ {
+ $this->quotaProperties = $quotaProperties;
+ }
+ public function getQuotaProperties()
+ {
+ return $this->quotaProperties;
+ }
+ public function setResourceContainer($resourceContainer)
+ {
+ $this->resourceContainer = $resourceContainer;
+ }
+ public function getResourceContainer()
+ {
+ return $this->resourceContainer;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setUserLabels($userLabels)
+ {
+ $this->userLabels = $userLabels;
+ }
+ public function getUserLabels()
+ {
+ return $this->userLabels;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaError.php
new file mode 100644
index 00000000..3ab44fb5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaError.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_QuotaError extends Google_Model
+{
+ public $code;
+ public $description;
+ public $subject;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setSubject($subject)
+ {
+ $this->subject = $subject;
+ }
+ public function getSubject()
+ {
+ return $this->subject;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaInfo.php
new file mode 100644
index 00000000..748c2bf9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaInfo.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_QuotaInfo extends Google_Collection
+{
+ protected $collection_key = 'quotaMetrics';
+ public $limitExceeded;
+ public $quotaConsumed;
+ protected $quotaMetricsType = 'Google_Service_ServiceControl_MetricValueSet';
+ protected $quotaMetricsDataType = 'array';
+
+ public function setLimitExceeded($limitExceeded)
+ {
+ $this->limitExceeded = $limitExceeded;
+ }
+ public function getLimitExceeded()
+ {
+ return $this->limitExceeded;
+ }
+ public function setQuotaConsumed($quotaConsumed)
+ {
+ $this->quotaConsumed = $quotaConsumed;
+ }
+ public function getQuotaConsumed()
+ {
+ return $this->quotaConsumed;
+ }
+ public function setQuotaMetrics($quotaMetrics)
+ {
+ $this->quotaMetrics = $quotaMetrics;
+ }
+ public function getQuotaMetrics()
+ {
+ return $this->quotaMetrics;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaOperation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaOperation.php
new file mode 100644
index 00000000..37b4144d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaOperation.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_QuotaOperation extends Google_Collection
+{
+ protected $collection_key = 'quotaMetrics';
+ public $consumerId;
+ public $labels;
+ public $methodName;
+ public $operationId;
+ protected $quotaMetricsType = 'Google_Service_ServiceControl_MetricValueSet';
+ protected $quotaMetricsDataType = 'array';
+ public $quotaMode;
+
+ public function setConsumerId($consumerId)
+ {
+ $this->consumerId = $consumerId;
+ }
+ public function getConsumerId()
+ {
+ return $this->consumerId;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setMethodName($methodName)
+ {
+ $this->methodName = $methodName;
+ }
+ public function getMethodName()
+ {
+ return $this->methodName;
+ }
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setQuotaMetrics($quotaMetrics)
+ {
+ $this->quotaMetrics = $quotaMetrics;
+ }
+ public function getQuotaMetrics()
+ {
+ return $this->quotaMetrics;
+ }
+ public function setQuotaMode($quotaMode)
+ {
+ $this->quotaMode = $quotaMode;
+ }
+ public function getQuotaMode()
+ {
+ return $this->quotaMode;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaProperties.php
new file mode 100644
index 00000000..b8bb2ef2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaProperties.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_QuotaProperties extends Google_Model
+{
+ public $limitByIds;
+ public $quotaMode;
+
+ public function setLimitByIds($limitByIds)
+ {
+ $this->limitByIds = $limitByIds;
+ }
+ public function getLimitByIds()
+ {
+ return $this->limitByIds;
+ }
+ public function setQuotaMode($quotaMode)
+ {
+ $this->quotaMode = $quotaMode;
+ }
+ public function getQuotaMode()
+ {
+ return $this->quotaMode;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReleaseQuotaRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReleaseQuotaRequest.php
new file mode 100644
index 00000000..d6dd8fa0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReleaseQuotaRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_ReleaseQuotaRequest extends Google_Model
+{
+ protected $releaseOperationType = 'Google_Service_ServiceControl_QuotaOperation';
+ protected $releaseOperationDataType = '';
+ public $serviceConfigId;
+
+ public function setReleaseOperation(Google_Service_ServiceControl_QuotaOperation $releaseOperation)
+ {
+ $this->releaseOperation = $releaseOperation;
+ }
+ public function getReleaseOperation()
+ {
+ return $this->releaseOperation;
+ }
+ public function setServiceConfigId($serviceConfigId)
+ {
+ $this->serviceConfigId = $serviceConfigId;
+ }
+ public function getServiceConfigId()
+ {
+ return $this->serviceConfigId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReleaseQuotaResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReleaseQuotaResponse.php
new file mode 100644
index 00000000..e78b09d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReleaseQuotaResponse.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_ReleaseQuotaResponse extends Google_Collection
+{
+ protected $collection_key = 'releaseErrors';
+ public $operationId;
+ protected $quotaMetricsType = 'Google_Service_ServiceControl_MetricValueSet';
+ protected $quotaMetricsDataType = 'array';
+ protected $releaseErrorsType = 'Google_Service_ServiceControl_QuotaError';
+ protected $releaseErrorsDataType = 'array';
+ public $serviceConfigId;
+
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setQuotaMetrics($quotaMetrics)
+ {
+ $this->quotaMetrics = $quotaMetrics;
+ }
+ public function getQuotaMetrics()
+ {
+ return $this->quotaMetrics;
+ }
+ public function setReleaseErrors($releaseErrors)
+ {
+ $this->releaseErrors = $releaseErrors;
+ }
+ public function getReleaseErrors()
+ {
+ return $this->releaseErrors;
+ }
+ public function setServiceConfigId($serviceConfigId)
+ {
+ $this->serviceConfigId = $serviceConfigId;
+ }
+ public function getServiceConfigId()
+ {
+ return $this->serviceConfigId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportError.php
new file mode 100644
index 00000000..d5db0b9f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportError.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_ReportError extends Google_Model
+{
+ public $operationId;
+ protected $statusType = 'Google_Service_ServiceControl_Status';
+ protected $statusDataType = '';
+
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setStatus(Google_Service_ServiceControl_Status $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportInfo.php
new file mode 100644
index 00000000..3ff863df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportInfo.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_ReportInfo extends Google_Model
+{
+ public $operationId;
+ protected $quotaInfoType = 'Google_Service_ServiceControl_QuotaInfo';
+ protected $quotaInfoDataType = '';
+
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setQuotaInfo(Google_Service_ServiceControl_QuotaInfo $quotaInfo)
+ {
+ $this->quotaInfo = $quotaInfo;
+ }
+ public function getQuotaInfo()
+ {
+ return $this->quotaInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportRequest.php
new file mode 100644
index 00000000..5fa09d42
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_ReportRequest extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ protected $operationsType = 'Google_Service_ServiceControl_Operation';
+ protected $operationsDataType = 'array';
+ public $serviceConfigId;
+
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+ public function setServiceConfigId($serviceConfigId)
+ {
+ $this->serviceConfigId = $serviceConfigId;
+ }
+ public function getServiceConfigId()
+ {
+ return $this->serviceConfigId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportResponse.php
new file mode 100644
index 00000000..a32a1ef9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportResponse.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_ReportResponse extends Google_Collection
+{
+ protected $collection_key = 'reportInfos';
+ protected $reportErrorsType = 'Google_Service_ServiceControl_ReportError';
+ protected $reportErrorsDataType = 'array';
+ protected $reportInfosType = 'Google_Service_ServiceControl_ReportInfo';
+ protected $reportInfosDataType = 'array';
+ public $serviceConfigId;
+
+ public function setReportErrors($reportErrors)
+ {
+ $this->reportErrors = $reportErrors;
+ }
+ public function getReportErrors()
+ {
+ return $this->reportErrors;
+ }
+ public function setReportInfos($reportInfos)
+ {
+ $this->reportInfos = $reportInfos;
+ }
+ public function getReportInfos()
+ {
+ return $this->reportInfos;
+ }
+ public function setServiceConfigId($serviceConfigId)
+ {
+ $this->serviceConfigId = $serviceConfigId;
+ }
+ public function getServiceConfigId()
+ {
+ return $this->serviceConfigId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/RequestMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/RequestMetadata.php
new file mode 100644
index 00000000..3eac6ed8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/RequestMetadata.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_RequestMetadata extends Google_Model
+{
+ public $callerIp;
+ public $callerSuppliedUserAgent;
+
+ public function setCallerIp($callerIp)
+ {
+ $this->callerIp = $callerIp;
+ }
+ public function getCallerIp()
+ {
+ return $this->callerIp;
+ }
+ public function setCallerSuppliedUserAgent($callerSuppliedUserAgent)
+ {
+ $this->callerSuppliedUserAgent = $callerSuppliedUserAgent;
+ }
+ public function getCallerSuppliedUserAgent()
+ {
+ return $this->callerSuppliedUserAgent;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Resource/Services.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Resource/Services.php
new file mode 100644
index 00000000..f88318cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Resource/Services.php
@@ -0,0 +1,191 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "services" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $servicecontrolService = new Google_Service_ServiceControl(...);
+ * $services = $servicecontrolService->services;
+ * </code>
+ */
+class Google_Service_ServiceControl_Resource_Services extends Google_Service_Resource
+{
+ /**
+ * Attempts to allocate quota for the specified consumer. It should be called
+ * before the operation is executed.
+ *
+ * This method requires the `servicemanagement.services.quota` permission on the
+ * specified service. For more information, see [Google Cloud
+ * IAM](https://cloud.google.com/iam). (services.allocateQuota)
+ *
+ * @param string $serviceName Name of the service as specified in the service
+ * configuration. For example, `"pubsub.googleapis.com"`.
+ *
+ * See google.api.Service for the definition of a service name.
+ * @param Google_Service_ServiceControl_AllocateQuotaRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceControl_AllocateQuotaResponse
+ */
+ public function allocateQuota($serviceName, Google_Service_ServiceControl_AllocateQuotaRequest $postBody, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('allocateQuota', array($params), "Google_Service_ServiceControl_AllocateQuotaResponse");
+ }
+ /**
+ * Checks an operation with Google Service Control to decide whether the given
+ * operation should proceed. It should be called before the operation is
+ * executed.
+ *
+ * If feasible, the client should cache the check results and reuse them for 60
+ * seconds. In case of server errors, the client can rely on the cached results
+ * for longer time.
+ *
+ * NOTE: the `CheckRequest` has the size limit of 64KB.
+ *
+ * This method requires the `servicemanagement.services.check` permission on the
+ * specified service. For more information, see [Google Cloud
+ * IAM](https://cloud.google.com/iam). (services.check)
+ *
+ * @param string $serviceName The service name as specified in its service
+ * configuration. For example, `"pubsub.googleapis.com"`.
+ *
+ * See google.api.Service for the definition of a service name.
+ * @param Google_Service_ServiceControl_CheckRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceControl_CheckResponse
+ */
+ public function check($serviceName, Google_Service_ServiceControl_CheckRequest $postBody, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('check', array($params), "Google_Service_ServiceControl_CheckResponse");
+ }
+ /**
+ * Signals the quota controller that service ends the ongoing usage
+ * reconciliation.
+ *
+ * This method requires the `servicemanagement.services.quota` permission on the
+ * specified service. For more information, see [Google Cloud
+ * IAM](https://cloud.google.com/iam). (services.endReconciliation)
+ *
+ * @param string $serviceName Name of the service as specified in the service
+ * configuration. For example, `"pubsub.googleapis.com"`.
+ *
+ * See google.api.Service for the definition of a service name.
+ * @param Google_Service_ServiceControl_EndReconciliationRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceControl_EndReconciliationResponse
+ */
+ public function endReconciliation($serviceName, Google_Service_ServiceControl_EndReconciliationRequest $postBody, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('endReconciliation', array($params), "Google_Service_ServiceControl_EndReconciliationResponse");
+ }
+ /**
+ * Releases previously allocated quota done through AllocateQuota method.
+ *
+ * This method requires the `servicemanagement.services.quota` permission on the
+ * specified service. For more information, see [Google Cloud
+ * IAM](https://cloud.google.com/iam). (services.releaseQuota)
+ *
+ * @param string $serviceName Name of the service as specified in the service
+ * configuration. For example, `"pubsub.googleapis.com"`.
+ *
+ * See google.api.Service for the definition of a service name.
+ * @param Google_Service_ServiceControl_ReleaseQuotaRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceControl_ReleaseQuotaResponse
+ */
+ public function releaseQuota($serviceName, Google_Service_ServiceControl_ReleaseQuotaRequest $postBody, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('releaseQuota', array($params), "Google_Service_ServiceControl_ReleaseQuotaResponse");
+ }
+ /**
+ * Reports operation results to Google Service Control, such as logs and
+ * metrics. It should be called after an operation is completed.
+ *
+ * If feasible, the client should aggregate reporting data for up to 5 seconds
+ * to reduce API traffic. Limiting aggregation to 5 seconds is to reduce data
+ * loss during client crashes. Clients should carefully choose the aggregation
+ * time window to avoid data loss risk more than 0.01% for business and
+ * compliance reasons.
+ *
+ * NOTE: the `ReportRequest` has the size limit of 1MB.
+ *
+ * This method requires the `servicemanagement.services.report` permission on
+ * the specified service. For more information, see [Google Cloud
+ * IAM](https://cloud.google.com/iam). (services.report)
+ *
+ * @param string $serviceName The service name as specified in its service
+ * configuration. For example, `"pubsub.googleapis.com"`.
+ *
+ * See google.api.Service for the definition of a service name.
+ * @param Google_Service_ServiceControl_ReportRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceControl_ReportResponse
+ */
+ public function report($serviceName, Google_Service_ServiceControl_ReportRequest $postBody, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('report', array($params), "Google_Service_ServiceControl_ReportResponse");
+ }
+ /**
+ * Unlike rate quota, allocation quota does not get refilled periodically. So,
+ * it is possible that the quota usage as seen by the service differs from what
+ * the One Platform considers the usage is. This is expected to happen only
+ * rarely, but over time this can accumulate. Services can invoke
+ * StartReconciliation and EndReconciliation to correct this usage drift, as
+ * described below: 1. Service sends StartReconciliation with a timestamp in
+ * future for each metric that needs to be reconciled. The timestamp being in
+ * future allows to account for in-flight AllocateQuota and ReleaseQuota
+ * requests for the same metric. 2. One Platform records this timestamp and
+ * starts tracking subsequent AllocateQuota and ReleaseQuota requests until
+ * EndReconciliation is called. 3. At or after the time specified in the
+ * StartReconciliation, service sends EndReconciliation with the usage that
+ * needs to be reconciled to. 4. One Platform adjusts its own record of usage
+ * for that metric to the value specified in EndReconciliation by taking in
+ * to account any allocation or release between StartReconciliation and
+ * EndReconciliation.
+ *
+ * Signals the quota controller that the service wants to perform a usage
+ * reconciliation as specified in the request.
+ *
+ * This method requires the `servicemanagement.services.quota` permission on the
+ * specified service. For more information, see [Google Cloud
+ * IAM](https://cloud.google.com/iam). (services.startReconciliation)
+ *
+ * @param string $serviceName Name of the service as specified in the service
+ * configuration. For example, `"pubsub.googleapis.com"`.
+ *
+ * See google.api.Service for the definition of a service name.
+ * @param Google_Service_ServiceControl_StartReconciliationRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceControl_StartReconciliationResponse
+ */
+ public function startReconciliation($serviceName, Google_Service_ServiceControl_StartReconciliationRequest $postBody, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('startReconciliation', array($params), "Google_Service_ServiceControl_StartReconciliationResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/StartReconciliationRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/StartReconciliationRequest.php
new file mode 100644
index 00000000..1bcb79af
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/StartReconciliationRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_StartReconciliationRequest extends Google_Model
+{
+ protected $reconciliationOperationType = 'Google_Service_ServiceControl_QuotaOperation';
+ protected $reconciliationOperationDataType = '';
+ public $serviceConfigId;
+
+ public function setReconciliationOperation(Google_Service_ServiceControl_QuotaOperation $reconciliationOperation)
+ {
+ $this->reconciliationOperation = $reconciliationOperation;
+ }
+ public function getReconciliationOperation()
+ {
+ return $this->reconciliationOperation;
+ }
+ public function setServiceConfigId($serviceConfigId)
+ {
+ $this->serviceConfigId = $serviceConfigId;
+ }
+ public function getServiceConfigId()
+ {
+ return $this->serviceConfigId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/StartReconciliationResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/StartReconciliationResponse.php
new file mode 100644
index 00000000..5c153fd3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/StartReconciliationResponse.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_StartReconciliationResponse extends Google_Collection
+{
+ protected $collection_key = 'reconciliationErrors';
+ public $operationId;
+ protected $quotaMetricsType = 'Google_Service_ServiceControl_MetricValueSet';
+ protected $quotaMetricsDataType = 'array';
+ protected $reconciliationErrorsType = 'Google_Service_ServiceControl_QuotaError';
+ protected $reconciliationErrorsDataType = 'array';
+ public $serviceConfigId;
+
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setQuotaMetrics($quotaMetrics)
+ {
+ $this->quotaMetrics = $quotaMetrics;
+ }
+ public function getQuotaMetrics()
+ {
+ return $this->quotaMetrics;
+ }
+ public function setReconciliationErrors($reconciliationErrors)
+ {
+ $this->reconciliationErrors = $reconciliationErrors;
+ }
+ public function getReconciliationErrors()
+ {
+ return $this->reconciliationErrors;
+ }
+ public function setServiceConfigId($serviceConfigId)
+ {
+ $this->serviceConfigId = $serviceConfigId;
+ }
+ public function getServiceConfigId()
+ {
+ return $this->serviceConfigId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Status.php
new file mode 100644
index 00000000..98bf6b0c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceControl_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement.php
new file mode 100644
index 00000000..e87d359f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement.php
@@ -0,0 +1,366 @@
+<?php
+/*
+ * Copyright 2016 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 ServiceManagement (v1).
+ *
+ * <p>
+ * Google Service Management allows service producers to publish their services
+ * on Google Cloud Platform so that they can be discovered and used by service
+ * consumers.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/service-management/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_ServiceManagement extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM_READ_ONLY =
+ "https://www.googleapis.com/auth/cloud-platform.read-only";
+ /** Manage your Google API service configuration. */
+ const SERVICE_MANAGEMENT =
+ "https://www.googleapis.com/auth/service.management";
+ /** View your Google API service configuration. */
+ const SERVICE_MANAGEMENT_READONLY =
+ "https://www.googleapis.com/auth/service.management.readonly";
+
+ public $operations;
+ public $services;
+ public $services_configs;
+ public $services_rollouts;
+
+ /**
+ * Constructs the internal representation of the ServiceManagement service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://servicemanagement.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'servicemanagement';
+
+ $this->operations = new Google_Service_ServiceManagement_Resource_Operations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->services = new Google_Service_ServiceManagement_Resource_Services(
+ $this,
+ $this->serviceName,
+ 'services',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/services',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'v1/services/{serviceName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'disable' => array(
+ 'path' => 'v1/services/{serviceName}:disable',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'enable' => array(
+ 'path' => 'v1/services/{serviceName}:enable',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'generateConfigReport' => array(
+ 'path' => 'v1/services:generateConfigReport',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => 'v1/services/{serviceName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getConfig' => array(
+ 'path' => 'v1/services/{serviceName}/config',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'configId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => 'v1/{+resource}:getIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/services',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'consumerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'producerProjectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => 'v1/{+resource}:setIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => 'v1/{+resource}:testIamPermissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'undelete' => array(
+ 'path' => 'v1/services/{serviceName}:undelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->services_configs = new Google_Service_ServiceManagement_Resource_ServicesConfigs(
+ $this,
+ $this->serviceName,
+ 'configs',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/services/{serviceName}/configs',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/services/{serviceName}/configs/{configId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'configId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/services/{serviceName}/configs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'submit' => array(
+ 'path' => 'v1/services/{serviceName}/configs:submit',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->services_rollouts = new Google_Service_ServiceManagement_Resource_ServicesRollouts(
+ $this,
+ $this->serviceName,
+ 'rollouts',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/services/{serviceName}/rollouts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/services/{serviceName}/rollouts/{rolloutId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'rolloutId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/services/{serviceName}/rollouts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'serviceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Advice.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Advice.php
new file mode 100644
index 00000000..ea85b5d4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Advice.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Advice extends Google_Model
+{
+ public $description;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Analytics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Analytics.php
new file mode 100644
index 00000000..c1f6fd09
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Analytics.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Analytics extends Google_Collection
+{
+ protected $collection_key = 'producerDestinations';
+ protected $producerDestinationsType = 'Google_Service_ServiceManagement_AnalyticsDestination';
+ protected $producerDestinationsDataType = 'array';
+
+ public function setProducerDestinations($producerDestinations)
+ {
+ $this->producerDestinations = $producerDestinations;
+ }
+ public function getProducerDestinations()
+ {
+ return $this->producerDestinations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AnalyticsDestination.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AnalyticsDestination.php
new file mode 100644
index 00000000..75172d5c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AnalyticsDestination.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_AnalyticsDestination extends Google_Collection
+{
+ protected $collection_key = 'metrics';
+ public $metrics;
+ public $monitoredResource;
+
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setMonitoredResource($monitoredResource)
+ {
+ $this->monitoredResource = $monitoredResource;
+ }
+ public function getMonitoredResource()
+ {
+ return $this->monitoredResource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Api.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Api.php
new file mode 100644
index 00000000..029bc79a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Api.php
@@ -0,0 +1,89 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Api extends Google_Collection
+{
+ protected $collection_key = 'options';
+ protected $methodsType = 'Google_Service_ServiceManagement_Method';
+ protected $methodsDataType = 'array';
+ protected $mixinsType = 'Google_Service_ServiceManagement_Mixin';
+ protected $mixinsDataType = 'array';
+ public $name;
+ protected $optionsType = 'Google_Service_ServiceManagement_Option';
+ protected $optionsDataType = 'array';
+ protected $sourceContextType = 'Google_Service_ServiceManagement_SourceContext';
+ protected $sourceContextDataType = '';
+ public $syntax;
+ public $version;
+
+ public function setMethods($methods)
+ {
+ $this->methods = $methods;
+ }
+ public function getMethods()
+ {
+ return $this->methods;
+ }
+ public function setMixins($mixins)
+ {
+ $this->mixins = $mixins;
+ }
+ public function getMixins()
+ {
+ return $this->mixins;
+ }
+ 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 setSourceContext(Google_Service_ServiceManagement_SourceContext $sourceContext)
+ {
+ $this->sourceContext = $sourceContext;
+ }
+ public function getSourceContext()
+ {
+ return $this->sourceContext;
+ }
+ public function setSyntax($syntax)
+ {
+ $this->syntax = $syntax;
+ }
+ public function getSyntax()
+ {
+ return $this->syntax;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuditConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuditConfig.php
new file mode 100644
index 00000000..4b118b43
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuditConfig.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_AuditConfig extends Google_Collection
+{
+ protected $collection_key = 'exemptedMembers';
+ protected $auditLogConfigsType = 'Google_Service_ServiceManagement_AuditLogConfig';
+ protected $auditLogConfigsDataType = 'array';
+ public $exemptedMembers;
+ public $service;
+
+ public function setAuditLogConfigs($auditLogConfigs)
+ {
+ $this->auditLogConfigs = $auditLogConfigs;
+ }
+ public function getAuditLogConfigs()
+ {
+ return $this->auditLogConfigs;
+ }
+ public function setExemptedMembers($exemptedMembers)
+ {
+ $this->exemptedMembers = $exemptedMembers;
+ }
+ public function getExemptedMembers()
+ {
+ return $this->exemptedMembers;
+ }
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+ public function getService()
+ {
+ return $this->service;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuditLogConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuditLogConfig.php
new file mode 100644
index 00000000..7c83ca3a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuditLogConfig.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_AuditLogConfig extends Google_Collection
+{
+ protected $collection_key = 'exemptedMembers';
+ public $exemptedMembers;
+ public $logType;
+
+ public function setExemptedMembers($exemptedMembers)
+ {
+ $this->exemptedMembers = $exemptedMembers;
+ }
+ public function getExemptedMembers()
+ {
+ return $this->exemptedMembers;
+ }
+ public function setLogType($logType)
+ {
+ $this->logType = $logType;
+ }
+ public function getLogType()
+ {
+ return $this->logType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthProvider.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthProvider.php
new file mode 100644
index 00000000..c88ac099
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthProvider.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_AuthProvider extends Google_Model
+{
+ public $audiences;
+ public $id;
+ public $issuer;
+ public $jwksUri;
+
+ public function setAudiences($audiences)
+ {
+ $this->audiences = $audiences;
+ }
+ public function getAudiences()
+ {
+ return $this->audiences;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIssuer($issuer)
+ {
+ $this->issuer = $issuer;
+ }
+ public function getIssuer()
+ {
+ return $this->issuer;
+ }
+ public function setJwksUri($jwksUri)
+ {
+ $this->jwksUri = $jwksUri;
+ }
+ public function getJwksUri()
+ {
+ return $this->jwksUri;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthRequirement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthRequirement.php
new file mode 100644
index 00000000..6ab3b963
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthRequirement.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_AuthRequirement extends Google_Model
+{
+ public $audiences;
+ public $providerId;
+
+ public function setAudiences($audiences)
+ {
+ $this->audiences = $audiences;
+ }
+ public function getAudiences()
+ {
+ return $this->audiences;
+ }
+ public function setProviderId($providerId)
+ {
+ $this->providerId = $providerId;
+ }
+ public function getProviderId()
+ {
+ return $this->providerId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Authentication.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Authentication.php
new file mode 100644
index 00000000..01962ef2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Authentication.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Authentication extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $providersType = 'Google_Service_ServiceManagement_AuthProvider';
+ protected $providersDataType = 'array';
+ protected $rulesType = 'Google_Service_ServiceManagement_AuthenticationRule';
+ protected $rulesDataType = 'array';
+
+ public function setProviders($providers)
+ {
+ $this->providers = $providers;
+ }
+ public function getProviders()
+ {
+ return $this->providers;
+ }
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthenticationRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthenticationRule.php
new file mode 100644
index 00000000..f24ae16d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthenticationRule.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_AuthenticationRule extends Google_Collection
+{
+ protected $collection_key = 'requirements';
+ public $allowWithoutCredential;
+ protected $oauthType = 'Google_Service_ServiceManagement_OAuthRequirements';
+ protected $oauthDataType = '';
+ protected $requirementsType = 'Google_Service_ServiceManagement_AuthRequirement';
+ protected $requirementsDataType = 'array';
+ public $selector;
+
+ public function setAllowWithoutCredential($allowWithoutCredential)
+ {
+ $this->allowWithoutCredential = $allowWithoutCredential;
+ }
+ public function getAllowWithoutCredential()
+ {
+ return $this->allowWithoutCredential;
+ }
+ public function setOauth(Google_Service_ServiceManagement_OAuthRequirements $oauth)
+ {
+ $this->oauth = $oauth;
+ }
+ public function getOauth()
+ {
+ return $this->oauth;
+ }
+ public function setRequirements($requirements)
+ {
+ $this->requirements = $requirements;
+ }
+ public function getRequirements()
+ {
+ return $this->requirements;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthorizationConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthorizationConfig.php
new file mode 100644
index 00000000..e565cdb9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthorizationConfig.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_AuthorizationConfig extends Google_Model
+{
+ public $provider;
+
+ public function setProvider($provider)
+ {
+ $this->provider = $provider;
+ }
+ public function getProvider()
+ {
+ return $this->provider;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Backend.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Backend.php
new file mode 100644
index 00000000..f472c079
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Backend.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Backend extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $rulesType = 'Google_Service_ServiceManagement_BackendRule';
+ protected $rulesDataType = 'array';
+
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/BackendRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/BackendRule.php
new file mode 100644
index 00000000..02b0c65c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/BackendRule.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_BackendRule extends Google_Model
+{
+ public $address;
+ public $deadline;
+ public $selector;
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setDeadline($deadline)
+ {
+ $this->deadline = $deadline;
+ }
+ public function getDeadline()
+ {
+ return $this->deadline;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Binding.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Binding.php
new file mode 100644
index 00000000..653a8442
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Binding.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Binding extends Google_Collection
+{
+ protected $collection_key = 'members';
+ public $members;
+ public $role;
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ChangeReport.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ChangeReport.php
new file mode 100644
index 00000000..356d282c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ChangeReport.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_ChangeReport extends Google_Collection
+{
+ protected $collection_key = 'configChanges';
+ protected $configChangesType = 'Google_Service_ServiceManagement_ConfigChange';
+ protected $configChangesDataType = 'array';
+
+ public function setConfigChanges($configChanges)
+ {
+ $this->configChanges = $configChanges;
+ }
+ public function getConfigChanges()
+ {
+ return $this->configChanges;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CloudAuditOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CloudAuditOptions.php
new file mode 100644
index 00000000..348d6b83
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CloudAuditOptions.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_CloudAuditOptions extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Condition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Condition.php
new file mode 100644
index 00000000..594dfe8d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Condition.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Condition extends Google_Collection
+{
+ protected $collection_key = 'values';
+ public $iam;
+ public $op;
+ public $svc;
+ public $sys;
+ public $value;
+ public $values;
+
+ public function setIam($iam)
+ {
+ $this->iam = $iam;
+ }
+ public function getIam()
+ {
+ return $this->iam;
+ }
+ public function setOp($op)
+ {
+ $this->op = $op;
+ }
+ public function getOp()
+ {
+ return $this->op;
+ }
+ public function setSvc($svc)
+ {
+ $this->svc = $svc;
+ }
+ public function getSvc()
+ {
+ return $this->svc;
+ }
+ public function setSys($sys)
+ {
+ $this->sys = $sys;
+ }
+ public function getSys()
+ {
+ return $this->sys;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigChange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigChange.php
new file mode 100644
index 00000000..e360f097
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigChange.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_ConfigChange extends Google_Collection
+{
+ protected $collection_key = 'advices';
+ protected $advicesType = 'Google_Service_ServiceManagement_Advice';
+ protected $advicesDataType = 'array';
+ public $changeType;
+ public $element;
+ public $newValue;
+ public $oldValue;
+
+ public function setAdvices($advices)
+ {
+ $this->advices = $advices;
+ }
+ public function getAdvices()
+ {
+ return $this->advices;
+ }
+ public function setChangeType($changeType)
+ {
+ $this->changeType = $changeType;
+ }
+ public function getChangeType()
+ {
+ return $this->changeType;
+ }
+ public function setElement($element)
+ {
+ $this->element = $element;
+ }
+ public function getElement()
+ {
+ return $this->element;
+ }
+ public function setNewValue($newValue)
+ {
+ $this->newValue = $newValue;
+ }
+ public function getNewValue()
+ {
+ return $this->newValue;
+ }
+ public function setOldValue($oldValue)
+ {
+ $this->oldValue = $oldValue;
+ }
+ public function getOldValue()
+ {
+ return $this->oldValue;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigFile.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigFile.php
new file mode 100644
index 00000000..b34518cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigFile.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_ConfigFile extends Google_Model
+{
+ public $fileContents;
+ public $filePath;
+ public $fileType;
+
+ public function setFileContents($fileContents)
+ {
+ $this->fileContents = $fileContents;
+ }
+ public function getFileContents()
+ {
+ return $this->fileContents;
+ }
+ public function setFilePath($filePath)
+ {
+ $this->filePath = $filePath;
+ }
+ public function getFilePath()
+ {
+ return $this->filePath;
+ }
+ public function setFileType($fileType)
+ {
+ $this->fileType = $fileType;
+ }
+ public function getFileType()
+ {
+ return $this->fileType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigOptions.php
new file mode 100644
index 00000000..53a13c72
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigOptions.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_ConfigOptions extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigRef.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigRef.php
new file mode 100644
index 00000000..510564d4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigRef.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_ConfigRef extends Google_Model
+{
+ public $name;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigSource.php
new file mode 100644
index 00000000..312da61d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigSource.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_ConfigSource extends Google_Collection
+{
+ protected $collection_key = 'files';
+ protected $filesType = 'Google_Service_ServiceManagement_ConfigFile';
+ protected $filesDataType = 'array';
+ public $id;
+
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Context.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Context.php
new file mode 100644
index 00000000..d0fb9e36
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Context.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Context extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $rulesType = 'Google_Service_ServiceManagement_ContextRule';
+ protected $rulesDataType = 'array';
+
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ContextRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ContextRule.php
new file mode 100644
index 00000000..3d58609d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ContextRule.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_ContextRule extends Google_Collection
+{
+ protected $collection_key = 'requested';
+ public $provided;
+ public $requested;
+ public $selector;
+
+ public function setProvided($provided)
+ {
+ $this->provided = $provided;
+ }
+ public function getProvided()
+ {
+ return $this->provided;
+ }
+ public function setRequested($requested)
+ {
+ $this->requested = $requested;
+ }
+ public function getRequested()
+ {
+ return $this->requested;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Control.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Control.php
new file mode 100644
index 00000000..cd384856
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Control.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Control extends Google_Model
+{
+ public $environment;
+
+ public function setEnvironment($environment)
+ {
+ $this->environment = $environment;
+ }
+ public function getEnvironment()
+ {
+ return $this->environment;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CounterOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CounterOptions.php
new file mode 100644
index 00000000..e9887b08
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CounterOptions.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_CounterOptions extends Google_Model
+{
+ public $field;
+ public $metric;
+
+ public function setField($field)
+ {
+ $this->field = $field;
+ }
+ public function getField()
+ {
+ return $this->field;
+ }
+ public function setMetric($metric)
+ {
+ $this->metric = $metric;
+ }
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomError.php
new file mode 100644
index 00000000..3cdf5f1b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomError.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_CustomError extends Google_Collection
+{
+ protected $collection_key = 'types';
+ protected $rulesType = 'Google_Service_ServiceManagement_CustomErrorRule';
+ protected $rulesDataType = 'array';
+ public $types;
+
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+ public function setTypes($types)
+ {
+ $this->types = $types;
+ }
+ public function getTypes()
+ {
+ return $this->types;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomErrorRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomErrorRule.php
new file mode 100644
index 00000000..4335060c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomErrorRule.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_CustomErrorRule extends Google_Model
+{
+ public $isErrorType;
+ public $selector;
+
+ public function setIsErrorType($isErrorType)
+ {
+ $this->isErrorType = $isErrorType;
+ }
+ public function getIsErrorType()
+ {
+ return $this->isErrorType;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomHttpPattern.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomHttpPattern.php
new file mode 100644
index 00000000..864728cf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomHttpPattern.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_CustomHttpPattern extends Google_Model
+{
+ public $kind;
+ public $path;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+ public function getPath()
+ {
+ return $this->path;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DataAccessOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DataAccessOptions.php
new file mode 100644
index 00000000..e3255d92
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DataAccessOptions.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_DataAccessOptions extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DeleteServiceStrategy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DeleteServiceStrategy.php
new file mode 100644
index 00000000..d3175953
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DeleteServiceStrategy.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_DeleteServiceStrategy extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Diagnostic.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Diagnostic.php
new file mode 100644
index 00000000..07049e4d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Diagnostic.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Diagnostic extends Google_Model
+{
+ public $kind;
+ public $location;
+ public $message;
+
+ 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 setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DisableServiceRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DisableServiceRequest.php
new file mode 100644
index 00000000..642c07dd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DisableServiceRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_DisableServiceRequest extends Google_Model
+{
+ public $consumerId;
+
+ public function setConsumerId($consumerId)
+ {
+ $this->consumerId = $consumerId;
+ }
+ public function getConsumerId()
+ {
+ return $this->consumerId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Documentation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Documentation.php
new file mode 100644
index 00000000..0815b6b0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Documentation.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Documentation extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ public $documentationRootUrl;
+ public $overview;
+ protected $pagesType = 'Google_Service_ServiceManagement_Page';
+ protected $pagesDataType = 'array';
+ protected $rulesType = 'Google_Service_ServiceManagement_DocumentationRule';
+ protected $rulesDataType = 'array';
+ public $summary;
+
+ public function setDocumentationRootUrl($documentationRootUrl)
+ {
+ $this->documentationRootUrl = $documentationRootUrl;
+ }
+ public function getDocumentationRootUrl()
+ {
+ return $this->documentationRootUrl;
+ }
+ public function setOverview($overview)
+ {
+ $this->overview = $overview;
+ }
+ public function getOverview()
+ {
+ return $this->overview;
+ }
+ public function setPages($pages)
+ {
+ $this->pages = $pages;
+ }
+ public function getPages()
+ {
+ return $this->pages;
+ }
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+ public function setSummary($summary)
+ {
+ $this->summary = $summary;
+ }
+ public function getSummary()
+ {
+ return $this->summary;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DocumentationRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DocumentationRule.php
new file mode 100644
index 00000000..be1dddb4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DocumentationRule.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_DocumentationRule extends Google_Model
+{
+ public $deprecationDescription;
+ public $description;
+ public $selector;
+
+ public function setDeprecationDescription($deprecationDescription)
+ {
+ $this->deprecationDescription = $deprecationDescription;
+ }
+ public function getDeprecationDescription()
+ {
+ return $this->deprecationDescription;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/EnableServiceRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/EnableServiceRequest.php
new file mode 100644
index 00000000..a220199a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/EnableServiceRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_EnableServiceRequest extends Google_Model
+{
+ public $consumerId;
+
+ public function setConsumerId($consumerId)
+ {
+ $this->consumerId = $consumerId;
+ }
+ public function getConsumerId()
+ {
+ return $this->consumerId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Endpoint.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Endpoint.php
new file mode 100644
index 00000000..428b6e1b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Endpoint.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Endpoint extends Google_Collection
+{
+ protected $collection_key = 'features';
+ public $aliases;
+ public $allowCors;
+ public $apis;
+ public $features;
+ public $name;
+
+ public function setAliases($aliases)
+ {
+ $this->aliases = $aliases;
+ }
+ public function getAliases()
+ {
+ return $this->aliases;
+ }
+ public function setAllowCors($allowCors)
+ {
+ $this->allowCors = $allowCors;
+ }
+ public function getAllowCors()
+ {
+ return $this->allowCors;
+ }
+ public function setApis($apis)
+ {
+ $this->apis = $apis;
+ }
+ public function getApis()
+ {
+ return $this->apis;
+ }
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Enum.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Enum.php
new file mode 100644
index 00000000..2791e8f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Enum.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Enum extends Google_Collection
+{
+ protected $collection_key = 'options';
+ protected $enumvalueType = 'Google_Service_ServiceManagement_EnumValue';
+ protected $enumvalueDataType = 'array';
+ public $name;
+ protected $optionsType = 'Google_Service_ServiceManagement_Option';
+ protected $optionsDataType = 'array';
+ protected $sourceContextType = 'Google_Service_ServiceManagement_SourceContext';
+ protected $sourceContextDataType = '';
+ public $syntax;
+
+ public function setEnumvalue($enumvalue)
+ {
+ $this->enumvalue = $enumvalue;
+ }
+ public function getEnumvalue()
+ {
+ return $this->enumvalue;
+ }
+ 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 setSourceContext(Google_Service_ServiceManagement_SourceContext $sourceContext)
+ {
+ $this->sourceContext = $sourceContext;
+ }
+ public function getSourceContext()
+ {
+ return $this->sourceContext;
+ }
+ public function setSyntax($syntax)
+ {
+ $this->syntax = $syntax;
+ }
+ public function getSyntax()
+ {
+ return $this->syntax;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/EnumValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/EnumValue.php
new file mode 100644
index 00000000..50d5d481
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/EnumValue.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_EnumValue extends Google_Collection
+{
+ protected $collection_key = 'options';
+ public $name;
+ public $number;
+ protected $optionsType = 'Google_Service_ServiceManagement_Option';
+ protected $optionsDataType = 'array';
+
+ 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 setOptions($options)
+ {
+ $this->options = $options;
+ }
+ public function getOptions()
+ {
+ return $this->options;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Experimental.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Experimental.php
new file mode 100644
index 00000000..cd26e618
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Experimental.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Experimental extends Google_Model
+{
+ protected $authorizationType = 'Google_Service_ServiceManagement_AuthorizationConfig';
+ protected $authorizationDataType = '';
+
+ public function setAuthorization(Google_Service_ServiceManagement_AuthorizationConfig $authorization)
+ {
+ $this->authorization = $authorization;
+ }
+ public function getAuthorization()
+ {
+ return $this->authorization;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Field.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Field.php
new file mode 100644
index 00000000..bb7ba6fc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Field.php
@@ -0,0 +1,113 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Field extends Google_Collection
+{
+ protected $collection_key = 'options';
+ public $cardinality;
+ public $defaultValue;
+ public $jsonName;
+ public $kind;
+ public $name;
+ public $number;
+ public $oneofIndex;
+ protected $optionsType = 'Google_Service_ServiceManagement_Option';
+ protected $optionsDataType = 'array';
+ public $packed;
+ public $typeUrl;
+
+ public function setCardinality($cardinality)
+ {
+ $this->cardinality = $cardinality;
+ }
+ public function getCardinality()
+ {
+ return $this->cardinality;
+ }
+ public function setDefaultValue($defaultValue)
+ {
+ $this->defaultValue = $defaultValue;
+ }
+ public function getDefaultValue()
+ {
+ return $this->defaultValue;
+ }
+ public function setJsonName($jsonName)
+ {
+ $this->jsonName = $jsonName;
+ }
+ public function getJsonName()
+ {
+ return $this->jsonName;
+ }
+ 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 setNumber($number)
+ {
+ $this->number = $number;
+ }
+ public function getNumber()
+ {
+ return $this->number;
+ }
+ public function setOneofIndex($oneofIndex)
+ {
+ $this->oneofIndex = $oneofIndex;
+ }
+ public function getOneofIndex()
+ {
+ return $this->oneofIndex;
+ }
+ public function setOptions($options)
+ {
+ $this->options = $options;
+ }
+ public function getOptions()
+ {
+ return $this->options;
+ }
+ public function setPacked($packed)
+ {
+ $this->packed = $packed;
+ }
+ public function getPacked()
+ {
+ return $this->packed;
+ }
+ public function setTypeUrl($typeUrl)
+ {
+ $this->typeUrl = $typeUrl;
+ }
+ public function getTypeUrl()
+ {
+ return $this->typeUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GenerateConfigReportRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GenerateConfigReportRequest.php
new file mode 100644
index 00000000..69b2b040
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GenerateConfigReportRequest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_GenerateConfigReportRequest extends Google_Model
+{
+ public $newConfig;
+ public $oldConfig;
+
+ public function setNewConfig($newConfig)
+ {
+ $this->newConfig = $newConfig;
+ }
+ public function getNewConfig()
+ {
+ return $this->newConfig;
+ }
+ public function setOldConfig($oldConfig)
+ {
+ $this->oldConfig = $oldConfig;
+ }
+ public function getOldConfig()
+ {
+ return $this->oldConfig;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GenerateConfigReportResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GenerateConfigReportResponse.php
new file mode 100644
index 00000000..29f74874
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GenerateConfigReportResponse.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_GenerateConfigReportResponse extends Google_Collection
+{
+ protected $collection_key = 'diagnostics';
+ protected $changeReportsType = 'Google_Service_ServiceManagement_ChangeReport';
+ protected $changeReportsDataType = 'array';
+ protected $diagnosticsType = 'Google_Service_ServiceManagement_Diagnostic';
+ protected $diagnosticsDataType = 'array';
+ public $id;
+ public $serviceName;
+
+ public function setChangeReports($changeReports)
+ {
+ $this->changeReports = $changeReports;
+ }
+ public function getChangeReports()
+ {
+ return $this->changeReports;
+ }
+ public function setDiagnostics($diagnostics)
+ {
+ $this->diagnostics = $diagnostics;
+ }
+ public function getDiagnostics()
+ {
+ return $this->diagnostics;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setServiceName($serviceName)
+ {
+ $this->serviceName = $serviceName;
+ }
+ public function getServiceName()
+ {
+ return $this->serviceName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GetIamPolicyRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GetIamPolicyRequest.php
new file mode 100644
index 00000000..9424ea28
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GetIamPolicyRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_GetIamPolicyRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Http.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Http.php
new file mode 100644
index 00000000..52ddbab3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Http.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Http extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $rulesType = 'Google_Service_ServiceManagement_HttpRule';
+ protected $rulesDataType = 'array';
+
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/HttpRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/HttpRule.php
new file mode 100644
index 00000000..f020e39c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/HttpRule.php
@@ -0,0 +1,134 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_HttpRule extends Google_Collection
+{
+ protected $collection_key = 'additionalBindings';
+ protected $additionalBindingsType = 'Google_Service_ServiceManagement_HttpRule';
+ protected $additionalBindingsDataType = 'array';
+ public $body;
+ protected $customType = 'Google_Service_ServiceManagement_CustomHttpPattern';
+ protected $customDataType = '';
+ public $delete;
+ public $get;
+ protected $mediaDownloadType = 'Google_Service_ServiceManagement_MediaDownload';
+ protected $mediaDownloadDataType = '';
+ protected $mediaUploadType = 'Google_Service_ServiceManagement_MediaUpload';
+ protected $mediaUploadDataType = '';
+ public $patch;
+ public $post;
+ public $put;
+ public $responseBody;
+ public $selector;
+
+ public function setAdditionalBindings($additionalBindings)
+ {
+ $this->additionalBindings = $additionalBindings;
+ }
+ public function getAdditionalBindings()
+ {
+ return $this->additionalBindings;
+ }
+ public function setBody($body)
+ {
+ $this->body = $body;
+ }
+ public function getBody()
+ {
+ return $this->body;
+ }
+ public function setCustom(Google_Service_ServiceManagement_CustomHttpPattern $custom)
+ {
+ $this->custom = $custom;
+ }
+ public function getCustom()
+ {
+ return $this->custom;
+ }
+ public function setDelete($delete)
+ {
+ $this->delete = $delete;
+ }
+ public function getDelete()
+ {
+ return $this->delete;
+ }
+ public function setGet($get)
+ {
+ $this->get = $get;
+ }
+ public function getGet()
+ {
+ return $this->get;
+ }
+ public function setMediaDownload(Google_Service_ServiceManagement_MediaDownload $mediaDownload)
+ {
+ $this->mediaDownload = $mediaDownload;
+ }
+ public function getMediaDownload()
+ {
+ return $this->mediaDownload;
+ }
+ public function setMediaUpload(Google_Service_ServiceManagement_MediaUpload $mediaUpload)
+ {
+ $this->mediaUpload = $mediaUpload;
+ }
+ public function getMediaUpload()
+ {
+ return $this->mediaUpload;
+ }
+ public function setPatch($patch)
+ {
+ $this->patch = $patch;
+ }
+ public function getPatch()
+ {
+ return $this->patch;
+ }
+ public function setPost($post)
+ {
+ $this->post = $post;
+ }
+ public function getPost()
+ {
+ return $this->post;
+ }
+ public function setPut($put)
+ {
+ $this->put = $put;
+ }
+ public function getPut()
+ {
+ return $this->put;
+ }
+ public function setResponseBody($responseBody)
+ {
+ $this->responseBody = $responseBody;
+ }
+ public function getResponseBody()
+ {
+ return $this->responseBody;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LabelDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LabelDescriptor.php
new file mode 100644
index 00000000..82d3f600
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LabelDescriptor.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_LabelDescriptor extends Google_Model
+{
+ public $description;
+ public $key;
+ public $valueType;
+
+ 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;
+ }
+ public function setValueType($valueType)
+ {
+ $this->valueType = $valueType;
+ }
+ public function getValueType()
+ {
+ return $this->valueType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListOperationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListOperationsResponse.php
new file mode 100644
index 00000000..0065fb0b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListOperationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_ListOperationsResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_ServiceManagement_Operation';
+ protected $operationsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServiceConfigsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServiceConfigsResponse.php
new file mode 100644
index 00000000..cb40067c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServiceConfigsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_ListServiceConfigsResponse extends Google_Collection
+{
+ protected $collection_key = 'serviceConfigs';
+ public $nextPageToken;
+ protected $serviceConfigsType = 'Google_Service_ServiceManagement_Service';
+ protected $serviceConfigsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setServiceConfigs($serviceConfigs)
+ {
+ $this->serviceConfigs = $serviceConfigs;
+ }
+ public function getServiceConfigs()
+ {
+ return $this->serviceConfigs;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServiceRolloutsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServiceRolloutsResponse.php
new file mode 100644
index 00000000..f3362657
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServiceRolloutsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_ListServiceRolloutsResponse extends Google_Collection
+{
+ protected $collection_key = 'rollouts';
+ public $nextPageToken;
+ protected $rolloutsType = 'Google_Service_ServiceManagement_Rollout';
+ protected $rolloutsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setRollouts($rollouts)
+ {
+ $this->rollouts = $rollouts;
+ }
+ public function getRollouts()
+ {
+ return $this->rollouts;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServicesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServicesResponse.php
new file mode 100644
index 00000000..d71d5236
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServicesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_ListServicesResponse extends Google_Collection
+{
+ protected $collection_key = 'services';
+ public $nextPageToken;
+ protected $servicesType = 'Google_Service_ServiceManagement_ManagedService';
+ protected $servicesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setServices($services)
+ {
+ $this->services = $services;
+ }
+ public function getServices()
+ {
+ return $this->services;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LogConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LogConfig.php
new file mode 100644
index 00000000..e56803a8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LogConfig.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_LogConfig extends Google_Model
+{
+ protected $cloudAuditType = 'Google_Service_ServiceManagement_CloudAuditOptions';
+ protected $cloudAuditDataType = '';
+ protected $counterType = 'Google_Service_ServiceManagement_CounterOptions';
+ protected $counterDataType = '';
+ protected $dataAccessType = 'Google_Service_ServiceManagement_DataAccessOptions';
+ protected $dataAccessDataType = '';
+
+ public function setCloudAudit(Google_Service_ServiceManagement_CloudAuditOptions $cloudAudit)
+ {
+ $this->cloudAudit = $cloudAudit;
+ }
+ public function getCloudAudit()
+ {
+ return $this->cloudAudit;
+ }
+ public function setCounter(Google_Service_ServiceManagement_CounterOptions $counter)
+ {
+ $this->counter = $counter;
+ }
+ public function getCounter()
+ {
+ return $this->counter;
+ }
+ public function setDataAccess(Google_Service_ServiceManagement_DataAccessOptions $dataAccess)
+ {
+ $this->dataAccess = $dataAccess;
+ }
+ public function getDataAccess()
+ {
+ return $this->dataAccess;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LogDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LogDescriptor.php
new file mode 100644
index 00000000..6c1f9bac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LogDescriptor.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_LogDescriptor extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ public $description;
+ public $displayName;
+ protected $labelsType = 'Google_Service_ServiceManagement_LabelDescriptor';
+ protected $labelsDataType = 'array';
+ public $name;
+
+ 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 setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Logging.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Logging.php
new file mode 100644
index 00000000..6fb5798a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Logging.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Logging extends Google_Collection
+{
+ protected $collection_key = 'producerDestinations';
+ protected $consumerDestinationsType = 'Google_Service_ServiceManagement_LoggingDestination';
+ protected $consumerDestinationsDataType = 'array';
+ protected $producerDestinationsType = 'Google_Service_ServiceManagement_LoggingDestination';
+ protected $producerDestinationsDataType = 'array';
+
+ public function setConsumerDestinations($consumerDestinations)
+ {
+ $this->consumerDestinations = $consumerDestinations;
+ }
+ public function getConsumerDestinations()
+ {
+ return $this->consumerDestinations;
+ }
+ public function setProducerDestinations($producerDestinations)
+ {
+ $this->producerDestinations = $producerDestinations;
+ }
+ public function getProducerDestinations()
+ {
+ return $this->producerDestinations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LoggingDestination.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LoggingDestination.php
new file mode 100644
index 00000000..9a2138c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LoggingDestination.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_LoggingDestination extends Google_Collection
+{
+ protected $collection_key = 'logs';
+ public $logs;
+ public $monitoredResource;
+
+ public function setLogs($logs)
+ {
+ $this->logs = $logs;
+ }
+ public function getLogs()
+ {
+ return $this->logs;
+ }
+ public function setMonitoredResource($monitoredResource)
+ {
+ $this->monitoredResource = $monitoredResource;
+ }
+ public function getMonitoredResource()
+ {
+ return $this->monitoredResource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ManagedService.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ManagedService.php
new file mode 100644
index 00000000..4f15460e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ManagedService.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_ManagedService extends Google_Model
+{
+ public $producerProjectId;
+ public $serviceName;
+
+ public function setProducerProjectId($producerProjectId)
+ {
+ $this->producerProjectId = $producerProjectId;
+ }
+ public function getProducerProjectId()
+ {
+ return $this->producerProjectId;
+ }
+ public function setServiceName($serviceName)
+ {
+ $this->serviceName = $serviceName;
+ }
+ public function getServiceName()
+ {
+ return $this->serviceName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MediaDownload.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MediaDownload.php
new file mode 100644
index 00000000..864a9a78
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MediaDownload.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_MediaDownload extends Google_Model
+{
+ public $downloadService;
+ public $enabled;
+
+ public function setDownloadService($downloadService)
+ {
+ $this->downloadService = $downloadService;
+ }
+ public function getDownloadService()
+ {
+ return $this->downloadService;
+ }
+ public function setEnabled($enabled)
+ {
+ $this->enabled = $enabled;
+ }
+ public function getEnabled()
+ {
+ return $this->enabled;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MediaUpload.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MediaUpload.php
new file mode 100644
index 00000000..467cabef
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MediaUpload.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_MediaUpload extends Google_Model
+{
+ public $enabled;
+ public $uploadService;
+
+ public function setEnabled($enabled)
+ {
+ $this->enabled = $enabled;
+ }
+ public function getEnabled()
+ {
+ return $this->enabled;
+ }
+ public function setUploadService($uploadService)
+ {
+ $this->uploadService = $uploadService;
+ }
+ public function getUploadService()
+ {
+ return $this->uploadService;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Method.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Method.php
new file mode 100644
index 00000000..c1e6a66f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Method.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Method extends Google_Collection
+{
+ protected $collection_key = 'options';
+ public $name;
+ protected $optionsType = 'Google_Service_ServiceManagement_Option';
+ protected $optionsDataType = 'array';
+ public $requestStreaming;
+ public $requestTypeUrl;
+ public $responseStreaming;
+ public $responseTypeUrl;
+ public $syntax;
+
+ 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 setRequestStreaming($requestStreaming)
+ {
+ $this->requestStreaming = $requestStreaming;
+ }
+ public function getRequestStreaming()
+ {
+ return $this->requestStreaming;
+ }
+ public function setRequestTypeUrl($requestTypeUrl)
+ {
+ $this->requestTypeUrl = $requestTypeUrl;
+ }
+ public function getRequestTypeUrl()
+ {
+ return $this->requestTypeUrl;
+ }
+ public function setResponseStreaming($responseStreaming)
+ {
+ $this->responseStreaming = $responseStreaming;
+ }
+ public function getResponseStreaming()
+ {
+ return $this->responseStreaming;
+ }
+ public function setResponseTypeUrl($responseTypeUrl)
+ {
+ $this->responseTypeUrl = $responseTypeUrl;
+ }
+ public function getResponseTypeUrl()
+ {
+ return $this->responseTypeUrl;
+ }
+ public function setSyntax($syntax)
+ {
+ $this->syntax = $syntax;
+ }
+ public function getSyntax()
+ {
+ return $this->syntax;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MetricDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MetricDescriptor.php
new file mode 100644
index 00000000..c269d902
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MetricDescriptor.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_MetricDescriptor extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ public $description;
+ public $displayName;
+ protected $labelsType = 'Google_Service_ServiceManagement_LabelDescriptor';
+ protected $labelsDataType = 'array';
+ public $metricKind;
+ public $name;
+ public $type;
+ public $unit;
+ public $valueType;
+
+ 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 setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setMetricKind($metricKind)
+ {
+ $this->metricKind = $metricKind;
+ }
+ public function getMetricKind()
+ {
+ return $this->metricKind;
+ }
+ 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 setValueType($valueType)
+ {
+ $this->valueType = $valueType;
+ }
+ public function getValueType()
+ {
+ return $this->valueType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Mixin.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Mixin.php
new file mode 100644
index 00000000..fd3ed06d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Mixin.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Mixin extends Google_Model
+{
+ public $name;
+ public $root;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRoot($root)
+ {
+ $this->root = $root;
+ }
+ public function getRoot()
+ {
+ return $this->root;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MonitoredResourceDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MonitoredResourceDescriptor.php
new file mode 100644
index 00000000..8852c0ae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MonitoredResourceDescriptor.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_MonitoredResourceDescriptor extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ public $description;
+ public $displayName;
+ protected $labelsType = 'Google_Service_ServiceManagement_LabelDescriptor';
+ protected $labelsDataType = 'array';
+ public $name;
+ public $type;
+
+ 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 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 setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Monitoring.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Monitoring.php
new file mode 100644
index 00000000..fab80287
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Monitoring.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Monitoring extends Google_Collection
+{
+ protected $collection_key = 'producerDestinations';
+ protected $consumerDestinationsType = 'Google_Service_ServiceManagement_MonitoringDestination';
+ protected $consumerDestinationsDataType = 'array';
+ protected $producerDestinationsType = 'Google_Service_ServiceManagement_MonitoringDestination';
+ protected $producerDestinationsDataType = 'array';
+
+ public function setConsumerDestinations($consumerDestinations)
+ {
+ $this->consumerDestinations = $consumerDestinations;
+ }
+ public function getConsumerDestinations()
+ {
+ return $this->consumerDestinations;
+ }
+ public function setProducerDestinations($producerDestinations)
+ {
+ $this->producerDestinations = $producerDestinations;
+ }
+ public function getProducerDestinations()
+ {
+ return $this->producerDestinations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MonitoringDestination.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MonitoringDestination.php
new file mode 100644
index 00000000..06ee909d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MonitoringDestination.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_MonitoringDestination extends Google_Collection
+{
+ protected $collection_key = 'metrics';
+ public $metrics;
+ public $monitoredResource;
+
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setMonitoredResource($monitoredResource)
+ {
+ $this->monitoredResource = $monitoredResource;
+ }
+ public function getMonitoredResource()
+ {
+ return $this->monitoredResource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/OAuthRequirements.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/OAuthRequirements.php
new file mode 100644
index 00000000..1d75e701
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/OAuthRequirements.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_OAuthRequirements extends Google_Model
+{
+ public $canonicalScopes;
+
+ public function setCanonicalScopes($canonicalScopes)
+ {
+ $this->canonicalScopes = $canonicalScopes;
+ }
+ public function getCanonicalScopes()
+ {
+ return $this->canonicalScopes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Operation.php
new file mode 100644
index 00000000..c1e9a914
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Operation.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Operation extends Google_Model
+{
+ public $done;
+ protected $errorType = 'Google_Service_ServiceManagement_Status';
+ protected $errorDataType = '';
+ public $metadata;
+ public $name;
+ public $response;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_ServiceManagement_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setMetadata($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 setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/OperationMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/OperationMetadata.php
new file mode 100644
index 00000000..d77bd9de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/OperationMetadata.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_OperationMetadata extends Google_Collection
+{
+ protected $collection_key = 'steps';
+ public $progressPercentage;
+ public $resourceNames;
+ public $startTime;
+ protected $stepsType = 'Google_Service_ServiceManagement_Step';
+ protected $stepsDataType = 'array';
+
+ public function setProgressPercentage($progressPercentage)
+ {
+ $this->progressPercentage = $progressPercentage;
+ }
+ public function getProgressPercentage()
+ {
+ return $this->progressPercentage;
+ }
+ public function setResourceNames($resourceNames)
+ {
+ $this->resourceNames = $resourceNames;
+ }
+ public function getResourceNames()
+ {
+ return $this->resourceNames;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setSteps($steps)
+ {
+ $this->steps = $steps;
+ }
+ public function getSteps()
+ {
+ return $this->steps;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Option.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Option.php
new file mode 100644
index 00000000..00ad2eb5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Option.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Option extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Page.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Page.php
new file mode 100644
index 00000000..ab37f03c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Page.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Page extends Google_Collection
+{
+ protected $collection_key = 'subpages';
+ public $content;
+ public $name;
+ protected $subpagesType = 'Google_Service_ServiceManagement_Page';
+ protected $subpagesDataType = 'array';
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSubpages($subpages)
+ {
+ $this->subpages = $subpages;
+ }
+ public function getSubpages()
+ {
+ return $this->subpages;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Policy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Policy.php
new file mode 100644
index 00000000..5890f138
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Policy.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Policy extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $auditConfigsType = 'Google_Service_ServiceManagement_AuditConfig';
+ protected $auditConfigsDataType = 'array';
+ protected $bindingsType = 'Google_Service_ServiceManagement_Binding';
+ protected $bindingsDataType = 'array';
+ public $etag;
+ public $iamOwned;
+ protected $rulesType = 'Google_Service_ServiceManagement_Rule';
+ protected $rulesDataType = 'array';
+ public $version;
+
+ public function setAuditConfigs($auditConfigs)
+ {
+ $this->auditConfigs = $auditConfigs;
+ }
+ public function getAuditConfigs()
+ {
+ return $this->auditConfigs;
+ }
+ public function setBindings($bindings)
+ {
+ $this->bindings = $bindings;
+ }
+ public function getBindings()
+ {
+ return $this->bindings;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setIamOwned($iamOwned)
+ {
+ $this->iamOwned = $iamOwned;
+ }
+ public function getIamOwned()
+ {
+ return $this->iamOwned;
+ }
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/Operations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/Operations.php
new file mode 100644
index 00000000..0ea5492e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/Operations.php
@@ -0,0 +1,65 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $servicemanagementService = new Google_Service_ServiceManagement(...);
+ * $operations = $servicemanagementService->operations;
+ * </code>
+ */
+class Google_Service_ServiceManagement_Resource_Operations extends Google_Service_Resource
+{
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this
+ * method to poll the operation result at intervals as recommended by the API
+ * service. (operations.get)
+ *
+ * @param string $name The name of the operation resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceManagement_Operation
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ServiceManagement_Operation");
+ }
+ /**
+ * Lists operations that match the specified filter in the request. If the
+ * server doesn't support this method, it returns `UNIMPLEMENTED`.
+ *
+ * NOTE: the `name` binding below allows API services to override the binding to
+ * use different resource name schemes, such as `users/operations`.
+ * (operations.listOperations)
+ *
+ * @param string $name The name of the operation collection.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter The standard list filter.
+ * @opt_param string pageToken The standard list page token.
+ * @opt_param int pageSize The standard list page size.
+ * @return Google_Service_ServiceManagement_ListOperationsResponse
+ */
+ public function listOperations($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ServiceManagement_ListOperationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/Services.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/Services.php
new file mode 100644
index 00000000..374aeceb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/Services.php
@@ -0,0 +1,265 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "services" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $servicemanagementService = new Google_Service_ServiceManagement(...);
+ * $services = $servicemanagementService->services;
+ * </code>
+ */
+class Google_Service_ServiceManagement_Resource_Services extends Google_Service_Resource
+{
+ /**
+ * Creates a new managed service. Please note one producer project can own no
+ * more than 20 services.
+ *
+ * Operation (services.create)
+ *
+ * @param Google_Service_ServiceManagement_ManagedService $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceManagement_Operation
+ */
+ public function create(Google_Service_ServiceManagement_ManagedService $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_ServiceManagement_Operation");
+ }
+ /**
+ * Deletes a managed service. This method will change the service to the `Soft-
+ * Delete` state for 30 days. Within this period, service producers may call
+ * UndeleteService to restore the service. After 30 days, the service will be
+ * permanently deleted.
+ *
+ * Operation (services.delete)
+ *
+ * @param string $serviceName The name of the service. See the [overview
+ * ](/service-management/overview) for naming requirements. For example:
+ * `example.googleapis.com`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceManagement_Operation
+ */
+ public function delete($serviceName, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_ServiceManagement_Operation");
+ }
+ /**
+ * Disables a service for a project, so it can no longer be be used for the
+ * project. It prevents accidental usage that may cause unexpected billing
+ * charges or security leaks.
+ *
+ * Operation (services.disable)
+ *
+ * @param string $serviceName Name of the service to disable. Specifying an
+ * unknown service name will cause the request to fail.
+ * @param Google_Service_ServiceManagement_DisableServiceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceManagement_Operation
+ */
+ public function disable($serviceName, Google_Service_ServiceManagement_DisableServiceRequest $postBody, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('disable', array($params), "Google_Service_ServiceManagement_Operation");
+ }
+ /**
+ * Enables a service for a project, so it can be used for the project. See
+ * [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for more
+ * information.
+ *
+ * Operation (services.enable)
+ *
+ * @param string $serviceName Name of the service to enable. Specifying an
+ * unknown service name will cause the request to fail.
+ * @param Google_Service_ServiceManagement_EnableServiceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceManagement_Operation
+ */
+ public function enable($serviceName, Google_Service_ServiceManagement_EnableServiceRequest $postBody, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('enable', array($params), "Google_Service_ServiceManagement_Operation");
+ }
+ /**
+ * Generates and returns a report (errors, warnings and changes from existing
+ * configurations) associated with GenerateConfigReportRequest.new_value
+ *
+ * If GenerateConfigReportRequest.old_value is specified,
+ * GenerateConfigReportRequest will contain a single ChangeReport based on the
+ * comparison between GenerateConfigReportRequest.new_value and
+ * GenerateConfigReportRequest.old_value. If
+ * GenerateConfigReportRequest.old_value is not specified, this method will
+ * compare GenerateConfigReportRequest.new_value with the last pushed service
+ * configuration. (services.generateConfigReport)
+ *
+ * @param Google_Service_ServiceManagement_GenerateConfigReportRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceManagement_GenerateConfigReportResponse
+ */
+ public function generateConfigReport(Google_Service_ServiceManagement_GenerateConfigReportRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('generateConfigReport', array($params), "Google_Service_ServiceManagement_GenerateConfigReportResponse");
+ }
+ /**
+ * Gets a managed service. Authentication is required unless the service is
+ * public. (services.get)
+ *
+ * @param string $serviceName The name of the service. See the `ServiceManager`
+ * overview for naming requirements. For example: `example.googleapis.com`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceManagement_ManagedService
+ */
+ public function get($serviceName, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ServiceManagement_ManagedService");
+ }
+ /**
+ * Gets a service configuration (version) for a managed service.
+ * (services.getConfig)
+ *
+ * @param string $serviceName The name of the service. See the [overview
+ * ](/service-management/overview) for naming requirements. For example:
+ * `example.googleapis.com`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string configId The id of the service configuration resource.
+ * @opt_param string view Specifies which parts of the Service Config should be
+ * returned in the response.
+ * @return Google_Service_ServiceManagement_Service
+ */
+ public function getConfig($serviceName, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName);
+ $params = array_merge($params, $optParams);
+ return $this->call('getConfig', array($params), "Google_Service_ServiceManagement_Service");
+ }
+ /**
+ * Gets the access control policy for a resource. Returns an empty policy if the
+ * resource exists and does not have a policy set. (services.getIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * requested. See the operation documentation for the appropriate value for this
+ * field.
+ * @param Google_Service_ServiceManagement_GetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceManagement_Policy
+ */
+ public function getIamPolicy($resource, Google_Service_ServiceManagement_GetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_ServiceManagement_Policy");
+ }
+ /**
+ * Lists managed services.
+ *
+ * Returns all public services. For authenticated users, also returns all
+ * services the calling user has "servicemanagement.services.get" permission
+ * for.
+ *
+ * **BETA:** If the caller specifies the `consumer_id`, it returns only the
+ * services enabled on the consumer. The `consumer_id` must have the format of
+ * "project:{PROJECT-ID}". (services.listServices)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string consumerId Include services consumed by the specified
+ * consumer.
+ *
+ * The Google Service Management implementation accepts the following forms: -
+ * project:
+ * @opt_param string pageToken Token identifying which result to start with;
+ * returned by a previous list call.
+ * @opt_param int pageSize Requested size of the next page of data.
+ * @opt_param string producerProjectId Include services produced by the
+ * specified project.
+ * @return Google_Service_ServiceManagement_ListServicesResponse
+ */
+ public function listServices($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ServiceManagement_ListServicesResponse");
+ }
+ /**
+ * Sets the access control policy on the specified resource. Replaces any
+ * existing policy. (services.setIamPolicy)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy is being
+ * specified. See the operation documentation for the appropriate value for this
+ * field.
+ * @param Google_Service_ServiceManagement_SetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceManagement_Policy
+ */
+ public function setIamPolicy($resource, Google_Service_ServiceManagement_SetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_ServiceManagement_Policy");
+ }
+ /**
+ * Returns permissions that a caller has on the specified resource. If the
+ * resource does not exist, this will return an empty set of permissions, not a
+ * NOT_FOUND error.
+ *
+ * Note: This operation is designed to be used for building permission-aware UIs
+ * and command-line tools, not for authorization checking. This operation may
+ * "fail open" without warning. (services.testIamPermissions)
+ *
+ * @param string $resource REQUIRED: The resource for which the policy detail is
+ * being requested. See the operation documentation for the appropriate value
+ * for this field.
+ * @param Google_Service_ServiceManagement_TestIamPermissionsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceManagement_TestIamPermissionsResponse
+ */
+ public function testIamPermissions($resource, Google_Service_ServiceManagement_TestIamPermissionsRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_ServiceManagement_TestIamPermissionsResponse");
+ }
+ /**
+ * Revives a previously deleted managed service. The method restores the service
+ * using the configuration at the time the service was deleted. The target
+ * service must exist and must have been deleted within the last 30 days.
+ *
+ * Operation (services.undelete)
+ *
+ * @param string $serviceName The name of the service. See the [overview
+ * ](/service-management/overview) for naming requirements. For example:
+ * `example.googleapis.com`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceManagement_Operation
+ */
+ public function undelete($serviceName, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName);
+ $params = array_merge($params, $optParams);
+ return $this->call('undelete', array($params), "Google_Service_ServiceManagement_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/ServicesConfigs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/ServicesConfigs.php
new file mode 100644
index 00000000..0dac08dd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/ServicesConfigs.php
@@ -0,0 +1,108 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "configs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $servicemanagementService = new Google_Service_ServiceManagement(...);
+ * $configs = $servicemanagementService->configs;
+ * </code>
+ */
+class Google_Service_ServiceManagement_Resource_ServicesConfigs extends Google_Service_Resource
+{
+ /**
+ * Creates a new service configuration (version) for a managed service. This
+ * method only stores the service configuration. To roll out the service
+ * configuration to backend systems please call CreateServiceRollout.
+ * (configs.create)
+ *
+ * @param string $serviceName The name of the service. See the [overview
+ * ](/service-management/overview) for naming requirements. For example:
+ * `example.googleapis.com`.
+ * @param Google_Service_ServiceManagement_Service $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceManagement_Service
+ */
+ public function create($serviceName, Google_Service_ServiceManagement_Service $postBody, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_ServiceManagement_Service");
+ }
+ /**
+ * Gets a service configuration (version) for a managed service. (configs.get)
+ *
+ * @param string $serviceName The name of the service. See the [overview
+ * ](/service-management/overview) for naming requirements. For example:
+ * `example.googleapis.com`.
+ * @param string $configId The id of the service configuration resource.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view Specifies which parts of the Service Config should be
+ * returned in the response.
+ * @return Google_Service_ServiceManagement_Service
+ */
+ public function get($serviceName, $configId, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName, 'configId' => $configId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ServiceManagement_Service");
+ }
+ /**
+ * Lists the history of the service configuration for a managed service, from
+ * the newest to the oldest. (configs.listServicesConfigs)
+ *
+ * @param string $serviceName The name of the service. See the [overview
+ * ](/service-management/overview) for naming requirements. For example:
+ * `example.googleapis.com`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token of the page to retrieve.
+ * @opt_param int pageSize The max number of items to include in the response
+ * list.
+ * @return Google_Service_ServiceManagement_ListServiceConfigsResponse
+ */
+ public function listServicesConfigs($serviceName, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ServiceManagement_ListServiceConfigsResponse");
+ }
+ /**
+ * Creates a new service configuration (version) for a managed service based on
+ * user-supplied configuration source files (for example: OpenAPI
+ * Specification). This method stores the source configurations as well as the
+ * generated service configuration. To rollout the service configuration to
+ * other services, please call CreateServiceRollout.
+ *
+ * Operation (configs.submit)
+ *
+ * @param string $serviceName The name of the service. See the [overview
+ * ](/service-management/overview) for naming requirements. For example:
+ * `example.googleapis.com`.
+ * @param Google_Service_ServiceManagement_SubmitConfigSourceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceManagement_Operation
+ */
+ public function submit($serviceName, Google_Service_ServiceManagement_SubmitConfigSourceRequest $postBody, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('submit', array($params), "Google_Service_ServiceManagement_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/ServicesRollouts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/ServicesRollouts.php
new file mode 100644
index 00000000..c15475d2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/ServicesRollouts.php
@@ -0,0 +1,89 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "rollouts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $servicemanagementService = new Google_Service_ServiceManagement(...);
+ * $rollouts = $servicemanagementService->rollouts;
+ * </code>
+ */
+class Google_Service_ServiceManagement_Resource_ServicesRollouts extends Google_Service_Resource
+{
+ /**
+ * Creates a new service configuration rollout. Based on rollout, the Google
+ * Service Management will roll out the service configurations to different
+ * backend services. For example, the logging configuration will be pushed to
+ * Google Cloud Logging.
+ *
+ * Please note that any previous pending and running Rollouts and associated
+ * Operations will be automatically cancelled so that the latest Rollout will
+ * not be blocked by previous Rollouts.
+ *
+ * Operation (rollouts.create)
+ *
+ * @param string $serviceName The name of the service. See the [overview
+ * ](/service-management/overview) for naming requirements. For example:
+ * `example.googleapis.com`.
+ * @param Google_Service_ServiceManagement_Rollout $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceManagement_Operation
+ */
+ public function create($serviceName, Google_Service_ServiceManagement_Rollout $postBody, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_ServiceManagement_Operation");
+ }
+ /**
+ * Gets a service configuration rollout. (rollouts.get)
+ *
+ * @param string $serviceName The name of the service. See the [overview
+ * ](/service-management/overview) for naming requirements. For example:
+ * `example.googleapis.com`.
+ * @param string $rolloutId The id of the rollout resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceManagement_Rollout
+ */
+ public function get($serviceName, $rolloutId, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName, 'rolloutId' => $rolloutId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ServiceManagement_Rollout");
+ }
+ /**
+ * Lists the history of the service configuration rollouts for a managed
+ * service, from the newest to the oldest. (rollouts.listServicesRollouts)
+ *
+ * @param string $serviceName The name of the service. See the [overview
+ * ](/service-management/overview) for naming requirements. For example:
+ * `example.googleapis.com`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token of the page to retrieve.
+ * @opt_param int pageSize The max number of items to include in the response
+ * list.
+ * @return Google_Service_ServiceManagement_ListServiceRolloutsResponse
+ */
+ public function listServicesRollouts($serviceName, $optParams = array())
+ {
+ $params = array('serviceName' => $serviceName);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ServiceManagement_ListServiceRolloutsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Rollout.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Rollout.php
new file mode 100644
index 00000000..cd465993
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Rollout.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Rollout extends Google_Model
+{
+ public $createTime;
+ public $createdBy;
+ protected $deleteServiceStrategyType = 'Google_Service_ServiceManagement_DeleteServiceStrategy';
+ protected $deleteServiceStrategyDataType = '';
+ public $rolloutId;
+ public $serviceName;
+ public $status;
+ protected $trafficPercentStrategyType = 'Google_Service_ServiceManagement_TrafficPercentStrategy';
+ protected $trafficPercentStrategyDataType = '';
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setCreatedBy($createdBy)
+ {
+ $this->createdBy = $createdBy;
+ }
+ public function getCreatedBy()
+ {
+ return $this->createdBy;
+ }
+ public function setDeleteServiceStrategy(Google_Service_ServiceManagement_DeleteServiceStrategy $deleteServiceStrategy)
+ {
+ $this->deleteServiceStrategy = $deleteServiceStrategy;
+ }
+ public function getDeleteServiceStrategy()
+ {
+ return $this->deleteServiceStrategy;
+ }
+ public function setRolloutId($rolloutId)
+ {
+ $this->rolloutId = $rolloutId;
+ }
+ public function getRolloutId()
+ {
+ return $this->rolloutId;
+ }
+ public function setServiceName($serviceName)
+ {
+ $this->serviceName = $serviceName;
+ }
+ public function getServiceName()
+ {
+ return $this->serviceName;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTrafficPercentStrategy(Google_Service_ServiceManagement_TrafficPercentStrategy $trafficPercentStrategy)
+ {
+ $this->trafficPercentStrategy = $trafficPercentStrategy;
+ }
+ public function getTrafficPercentStrategy()
+ {
+ return $this->trafficPercentStrategy;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Rule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Rule.php
new file mode 100644
index 00000000..e31e5b43
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Rule.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Rule extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $action;
+ protected $conditionsType = 'Google_Service_ServiceManagement_Condition';
+ protected $conditionsDataType = 'array';
+ public $description;
+ public $in;
+ protected $logConfigType = 'Google_Service_ServiceManagement_LogConfig';
+ protected $logConfigDataType = 'array';
+ public $notIn;
+ public $permissions;
+
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setConditions($conditions)
+ {
+ $this->conditions = $conditions;
+ }
+ public function getConditions()
+ {
+ return $this->conditions;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setIn($in)
+ {
+ $this->in = $in;
+ }
+ public function getIn()
+ {
+ return $this->in;
+ }
+ public function setLogConfig($logConfig)
+ {
+ $this->logConfig = $logConfig;
+ }
+ public function getLogConfig()
+ {
+ return $this->logConfig;
+ }
+ public function setNotIn($notIn)
+ {
+ $this->notIn = $notIn;
+ }
+ public function getNotIn()
+ {
+ return $this->notIn;
+ }
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Service.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Service.php
new file mode 100644
index 00000000..ee4dfa99
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Service.php
@@ -0,0 +1,287 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Service extends Google_Collection
+{
+ protected $collection_key = 'types';
+ protected $apisType = 'Google_Service_ServiceManagement_Api';
+ protected $apisDataType = 'array';
+ protected $authenticationType = 'Google_Service_ServiceManagement_Authentication';
+ protected $authenticationDataType = '';
+ protected $backendType = 'Google_Service_ServiceManagement_Backend';
+ protected $backendDataType = '';
+ public $configVersion;
+ protected $contextType = 'Google_Service_ServiceManagement_Context';
+ protected $contextDataType = '';
+ protected $controlType = 'Google_Service_ServiceManagement_Control';
+ protected $controlDataType = '';
+ protected $customErrorType = 'Google_Service_ServiceManagement_CustomError';
+ protected $customErrorDataType = '';
+ protected $documentationType = 'Google_Service_ServiceManagement_Documentation';
+ protected $documentationDataType = '';
+ protected $endpointsType = 'Google_Service_ServiceManagement_Endpoint';
+ protected $endpointsDataType = 'array';
+ protected $enumsType = 'Google_Service_ServiceManagement_Enum';
+ protected $enumsDataType = 'array';
+ protected $experimentalType = 'Google_Service_ServiceManagement_Experimental';
+ protected $experimentalDataType = '';
+ protected $httpType = 'Google_Service_ServiceManagement_Http';
+ protected $httpDataType = '';
+ public $id;
+ protected $loggingType = 'Google_Service_ServiceManagement_Logging';
+ protected $loggingDataType = '';
+ protected $logsType = 'Google_Service_ServiceManagement_LogDescriptor';
+ protected $logsDataType = 'array';
+ protected $metricsType = 'Google_Service_ServiceManagement_MetricDescriptor';
+ protected $metricsDataType = 'array';
+ protected $monitoredResourcesType = 'Google_Service_ServiceManagement_MonitoredResourceDescriptor';
+ protected $monitoredResourcesDataType = 'array';
+ protected $monitoringType = 'Google_Service_ServiceManagement_Monitoring';
+ protected $monitoringDataType = '';
+ public $name;
+ public $producerProjectId;
+ protected $sourceInfoType = 'Google_Service_ServiceManagement_SourceInfo';
+ protected $sourceInfoDataType = '';
+ protected $systemParametersType = 'Google_Service_ServiceManagement_SystemParameters';
+ protected $systemParametersDataType = '';
+ protected $systemTypesType = 'Google_Service_ServiceManagement_Type';
+ protected $systemTypesDataType = 'array';
+ public $title;
+ protected $typesType = 'Google_Service_ServiceManagement_Type';
+ protected $typesDataType = 'array';
+ protected $usageType = 'Google_Service_ServiceManagement_Usage';
+ protected $usageDataType = '';
+ protected $visibilityType = 'Google_Service_ServiceManagement_Visibility';
+ protected $visibilityDataType = '';
+
+ public function setApis($apis)
+ {
+ $this->apis = $apis;
+ }
+ public function getApis()
+ {
+ return $this->apis;
+ }
+ public function setAuthentication(Google_Service_ServiceManagement_Authentication $authentication)
+ {
+ $this->authentication = $authentication;
+ }
+ public function getAuthentication()
+ {
+ return $this->authentication;
+ }
+ public function setBackend(Google_Service_ServiceManagement_Backend $backend)
+ {
+ $this->backend = $backend;
+ }
+ public function getBackend()
+ {
+ return $this->backend;
+ }
+ public function setConfigVersion($configVersion)
+ {
+ $this->configVersion = $configVersion;
+ }
+ public function getConfigVersion()
+ {
+ return $this->configVersion;
+ }
+ public function setContext(Google_Service_ServiceManagement_Context $context)
+ {
+ $this->context = $context;
+ }
+ public function getContext()
+ {
+ return $this->context;
+ }
+ public function setControl(Google_Service_ServiceManagement_Control $control)
+ {
+ $this->control = $control;
+ }
+ public function getControl()
+ {
+ return $this->control;
+ }
+ public function setCustomError(Google_Service_ServiceManagement_CustomError $customError)
+ {
+ $this->customError = $customError;
+ }
+ public function getCustomError()
+ {
+ return $this->customError;
+ }
+ public function setDocumentation(Google_Service_ServiceManagement_Documentation $documentation)
+ {
+ $this->documentation = $documentation;
+ }
+ public function getDocumentation()
+ {
+ return $this->documentation;
+ }
+ public function setEndpoints($endpoints)
+ {
+ $this->endpoints = $endpoints;
+ }
+ public function getEndpoints()
+ {
+ return $this->endpoints;
+ }
+ public function setEnums($enums)
+ {
+ $this->enums = $enums;
+ }
+ public function getEnums()
+ {
+ return $this->enums;
+ }
+ public function setExperimental(Google_Service_ServiceManagement_Experimental $experimental)
+ {
+ $this->experimental = $experimental;
+ }
+ public function getExperimental()
+ {
+ return $this->experimental;
+ }
+ public function setHttp(Google_Service_ServiceManagement_Http $http)
+ {
+ $this->http = $http;
+ }
+ public function getHttp()
+ {
+ return $this->http;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLogging(Google_Service_ServiceManagement_Logging $logging)
+ {
+ $this->logging = $logging;
+ }
+ public function getLogging()
+ {
+ return $this->logging;
+ }
+ public function setLogs($logs)
+ {
+ $this->logs = $logs;
+ }
+ public function getLogs()
+ {
+ return $this->logs;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setMonitoredResources($monitoredResources)
+ {
+ $this->monitoredResources = $monitoredResources;
+ }
+ public function getMonitoredResources()
+ {
+ return $this->monitoredResources;
+ }
+ public function setMonitoring(Google_Service_ServiceManagement_Monitoring $monitoring)
+ {
+ $this->monitoring = $monitoring;
+ }
+ public function getMonitoring()
+ {
+ return $this->monitoring;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProducerProjectId($producerProjectId)
+ {
+ $this->producerProjectId = $producerProjectId;
+ }
+ public function getProducerProjectId()
+ {
+ return $this->producerProjectId;
+ }
+ public function setSourceInfo(Google_Service_ServiceManagement_SourceInfo $sourceInfo)
+ {
+ $this->sourceInfo = $sourceInfo;
+ }
+ public function getSourceInfo()
+ {
+ return $this->sourceInfo;
+ }
+ public function setSystemParameters(Google_Service_ServiceManagement_SystemParameters $systemParameters)
+ {
+ $this->systemParameters = $systemParameters;
+ }
+ public function getSystemParameters()
+ {
+ return $this->systemParameters;
+ }
+ public function setSystemTypes($systemTypes)
+ {
+ $this->systemTypes = $systemTypes;
+ }
+ public function getSystemTypes()
+ {
+ return $this->systemTypes;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setTypes($types)
+ {
+ $this->types = $types;
+ }
+ public function getTypes()
+ {
+ return $this->types;
+ }
+ public function setUsage(Google_Service_ServiceManagement_Usage $usage)
+ {
+ $this->usage = $usage;
+ }
+ public function getUsage()
+ {
+ return $this->usage;
+ }
+ public function setVisibility(Google_Service_ServiceManagement_Visibility $visibility)
+ {
+ $this->visibility = $visibility;
+ }
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SetIamPolicyRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SetIamPolicyRequest.php
new file mode 100644
index 00000000..fba45ae7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SetIamPolicyRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_SetIamPolicyRequest extends Google_Model
+{
+ protected $policyType = 'Google_Service_ServiceManagement_Policy';
+ protected $policyDataType = '';
+ public $updateMask;
+
+ public function setPolicy(Google_Service_ServiceManagement_Policy $policy)
+ {
+ $this->policy = $policy;
+ }
+ public function getPolicy()
+ {
+ return $this->policy;
+ }
+ public function setUpdateMask($updateMask)
+ {
+ $this->updateMask = $updateMask;
+ }
+ public function getUpdateMask()
+ {
+ return $this->updateMask;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SourceContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SourceContext.php
new file mode 100644
index 00000000..523a21c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SourceContext.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_SourceContext extends Google_Model
+{
+ public $fileName;
+
+ public function setFileName($fileName)
+ {
+ $this->fileName = $fileName;
+ }
+ public function getFileName()
+ {
+ return $this->fileName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SourceInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SourceInfo.php
new file mode 100644
index 00000000..8432cf17
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SourceInfo.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_SourceInfo extends Google_Collection
+{
+ protected $collection_key = 'sourceFiles';
+ public $sourceFiles;
+
+ public function setSourceFiles($sourceFiles)
+ {
+ $this->sourceFiles = $sourceFiles;
+ }
+ public function getSourceFiles()
+ {
+ return $this->sourceFiles;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Status.php
new file mode 100644
index 00000000..11e63b3c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Step.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Step.php
new file mode 100644
index 00000000..18687c7e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Step.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Step extends Google_Model
+{
+ public $description;
+ public $status;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SubmitConfigSourceRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SubmitConfigSourceRequest.php
new file mode 100644
index 00000000..e8069c5e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SubmitConfigSourceRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_SubmitConfigSourceRequest extends Google_Model
+{
+ protected $configSourceType = 'Google_Service_ServiceManagement_ConfigSource';
+ protected $configSourceDataType = '';
+ public $validateOnly;
+
+ public function setConfigSource(Google_Service_ServiceManagement_ConfigSource $configSource)
+ {
+ $this->configSource = $configSource;
+ }
+ public function getConfigSource()
+ {
+ return $this->configSource;
+ }
+ public function setValidateOnly($validateOnly)
+ {
+ $this->validateOnly = $validateOnly;
+ }
+ public function getValidateOnly()
+ {
+ return $this->validateOnly;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SubmitConfigSourceResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SubmitConfigSourceResponse.php
new file mode 100644
index 00000000..8b89f21f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SubmitConfigSourceResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_SubmitConfigSourceResponse extends Google_Model
+{
+ protected $serviceConfigType = 'Google_Service_ServiceManagement_Service';
+ protected $serviceConfigDataType = '';
+
+ public function setServiceConfig(Google_Service_ServiceManagement_Service $serviceConfig)
+ {
+ $this->serviceConfig = $serviceConfig;
+ }
+ public function getServiceConfig()
+ {
+ return $this->serviceConfig;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameter.php
new file mode 100644
index 00000000..0c5421c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameter.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_SystemParameter extends Google_Model
+{
+ public $httpHeader;
+ public $name;
+ public $urlQueryParameter;
+
+ public function setHttpHeader($httpHeader)
+ {
+ $this->httpHeader = $httpHeader;
+ }
+ public function getHttpHeader()
+ {
+ return $this->httpHeader;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setUrlQueryParameter($urlQueryParameter)
+ {
+ $this->urlQueryParameter = $urlQueryParameter;
+ }
+ public function getUrlQueryParameter()
+ {
+ return $this->urlQueryParameter;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameterRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameterRule.php
new file mode 100644
index 00000000..7d8b879c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameterRule.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_SystemParameterRule extends Google_Collection
+{
+ protected $collection_key = 'parameters';
+ protected $parametersType = 'Google_Service_ServiceManagement_SystemParameter';
+ protected $parametersDataType = 'array';
+ public $selector;
+
+ public function setParameters($parameters)
+ {
+ $this->parameters = $parameters;
+ }
+ public function getParameters()
+ {
+ return $this->parameters;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameters.php
new file mode 100644
index 00000000..9e4a8b02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameters.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_SystemParameters extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $rulesType = 'Google_Service_ServiceManagement_SystemParameterRule';
+ protected $rulesDataType = 'array';
+
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TestIamPermissionsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TestIamPermissionsRequest.php
new file mode 100644
index 00000000..c98630ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TestIamPermissionsRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_TestIamPermissionsRequest extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TestIamPermissionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TestIamPermissionsResponse.php
new file mode 100644
index 00000000..26dabfb9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TestIamPermissionsResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_TestIamPermissionsResponse extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TrafficPercentStrategy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TrafficPercentStrategy.php
new file mode 100644
index 00000000..8dd7f83d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TrafficPercentStrategy.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_TrafficPercentStrategy extends Google_Model
+{
+ public $percentages;
+
+ public function setPercentages($percentages)
+ {
+ $this->percentages = $percentages;
+ }
+ public function getPercentages()
+ {
+ return $this->percentages;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Type.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Type.php
new file mode 100644
index 00000000..7174f5fa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Type.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Type extends Google_Collection
+{
+ protected $collection_key = 'options';
+ protected $fieldsType = 'Google_Service_ServiceManagement_Field';
+ protected $fieldsDataType = 'array';
+ public $name;
+ public $oneofs;
+ protected $optionsType = 'Google_Service_ServiceManagement_Option';
+ protected $optionsDataType = 'array';
+ protected $sourceContextType = 'Google_Service_ServiceManagement_SourceContext';
+ protected $sourceContextDataType = '';
+ public $syntax;
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOneofs($oneofs)
+ {
+ $this->oneofs = $oneofs;
+ }
+ public function getOneofs()
+ {
+ return $this->oneofs;
+ }
+ public function setOptions($options)
+ {
+ $this->options = $options;
+ }
+ public function getOptions()
+ {
+ return $this->options;
+ }
+ public function setSourceContext(Google_Service_ServiceManagement_SourceContext $sourceContext)
+ {
+ $this->sourceContext = $sourceContext;
+ }
+ public function getSourceContext()
+ {
+ return $this->sourceContext;
+ }
+ public function setSyntax($syntax)
+ {
+ $this->syntax = $syntax;
+ }
+ public function getSyntax()
+ {
+ return $this->syntax;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/UndeleteServiceResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/UndeleteServiceResponse.php
new file mode 100644
index 00000000..2344c234
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/UndeleteServiceResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_UndeleteServiceResponse extends Google_Model
+{
+ protected $serviceType = 'Google_Service_ServiceManagement_ManagedService';
+ protected $serviceDataType = '';
+
+ public function setService(Google_Service_ServiceManagement_ManagedService $service)
+ {
+ $this->service = $service;
+ }
+ public function getService()
+ {
+ return $this->service;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Usage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Usage.php
new file mode 100644
index 00000000..e2de7ab8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Usage.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Usage extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ public $producerNotificationChannel;
+ public $requirements;
+ protected $rulesType = 'Google_Service_ServiceManagement_UsageRule';
+ protected $rulesDataType = 'array';
+
+ public function setProducerNotificationChannel($producerNotificationChannel)
+ {
+ $this->producerNotificationChannel = $producerNotificationChannel;
+ }
+ public function getProducerNotificationChannel()
+ {
+ return $this->producerNotificationChannel;
+ }
+ public function setRequirements($requirements)
+ {
+ $this->requirements = $requirements;
+ }
+ public function getRequirements()
+ {
+ return $this->requirements;
+ }
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/UsageRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/UsageRule.php
new file mode 100644
index 00000000..e87e18bd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/UsageRule.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_UsageRule extends Google_Model
+{
+ public $allowUnregisteredCalls;
+ public $selector;
+
+ public function setAllowUnregisteredCalls($allowUnregisteredCalls)
+ {
+ $this->allowUnregisteredCalls = $allowUnregisteredCalls;
+ }
+ public function getAllowUnregisteredCalls()
+ {
+ return $this->allowUnregisteredCalls;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Visibility.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Visibility.php
new file mode 100644
index 00000000..1f34a01b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Visibility.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_Visibility extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $rulesType = 'Google_Service_ServiceManagement_VisibilityRule';
+ protected $rulesDataType = 'array';
+
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/VisibilityRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/VisibilityRule.php
new file mode 100644
index 00000000..a3838e74
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/VisibilityRule.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceManagement_VisibilityRule extends Google_Model
+{
+ public $restriction;
+ public $selector;
+
+ public function setRestriction($restriction)
+ {
+ $this->restriction = $restriction;
+ }
+ public function getRestriction()
+ {
+ return $this->restriction;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry.php
new file mode 100644
index 00000000..9bd67083
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry.php
@@ -0,0 +1,221 @@
+<?php
+/*
+ * Copyright 2016 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 ServiceRegistry (alpha).
+ *
+ * <p>
+ * Manages service endpoints in Service Registry and provides integration with
+ * DNS for service discovery and name resolution.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/service-registry/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_ServiceRegistry extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM_READ_ONLY =
+ "https://www.googleapis.com/auth/cloud-platform.read-only";
+ /** 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 $endpoints;
+ public $operations;
+
+ /**
+ * Constructs the internal representation of the ServiceRegistry service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'serviceregistry/alpha/projects/';
+ $this->version = 'alpha';
+ $this->serviceName = 'serviceregistry';
+
+ $this->endpoints = new Google_Service_ServiceRegistry_Resource_Endpoints(
+ $this,
+ $this->serviceName,
+ 'endpoints',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/endpoints/{endpoint}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endpoint' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/endpoints/{endpoint}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endpoint' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/endpoints',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/endpoints',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{project}/global/endpoints/{endpoint}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endpoint' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{project}/global/endpoints/{endpoint}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endpoint' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->operations = new Google_Service_ServiceRegistry_Resource_Operations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ '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',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Endpoint.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Endpoint.php
new file mode 100644
index 00000000..48ebee2c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Endpoint.php
@@ -0,0 +1,112 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceRegistry_Endpoint extends Google_Model
+{
+ public $address;
+ public $creationTimestamp;
+ public $description;
+ public $fingerprint;
+ public $id;
+ public $name;
+ public $port;
+ public $selfLink;
+ public $state;
+ protected $visibilityType = 'Google_Service_ServiceRegistry_EndpointEndpointVisibility';
+ protected $visibilityDataType = '';
+
+ 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 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 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 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 setVisibility(Google_Service_ServiceRegistry_EndpointEndpointVisibility $visibility)
+ {
+ $this->visibility = $visibility;
+ }
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/EndpointEndpointVisibility.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/EndpointEndpointVisibility.php
new file mode 100644
index 00000000..50460aba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/EndpointEndpointVisibility.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceRegistry_EndpointEndpointVisibility extends Google_Collection
+{
+ protected $collection_key = 'networks';
+ public $internalDnsName;
+ public $networks;
+
+ public function setInternalDnsName($internalDnsName)
+ {
+ $this->internalDnsName = $internalDnsName;
+ }
+ public function getInternalDnsName()
+ {
+ return $this->internalDnsName;
+ }
+ public function setNetworks($networks)
+ {
+ $this->networks = $networks;
+ }
+ public function getNetworks()
+ {
+ return $this->networks;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/EndpointsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/EndpointsListResponse.php
new file mode 100644
index 00000000..c4e2e9d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/EndpointsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceRegistry_EndpointsListResponse extends Google_Collection
+{
+ protected $collection_key = 'endpoints';
+ protected $endpointsType = 'Google_Service_ServiceRegistry_Endpoint';
+ protected $endpointsDataType = 'array';
+ public $nextPageToken;
+
+ public function setEndpoints($endpoints)
+ {
+ $this->endpoints = $endpoints;
+ }
+ public function getEndpoints()
+ {
+ return $this->endpoints;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Operation.php
new file mode 100644
index 00000000..3548e6e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Operation.php
@@ -0,0 +1,231 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceRegistry_Operation extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $description;
+ public $endTime;
+ protected $errorType = 'Google_Service_ServiceRegistry_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 = 'Google_Service_ServiceRegistry_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 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 setError(Google_Service_ServiceRegistry_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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationError.php
new file mode 100644
index 00000000..6c39ebeb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationError.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceRegistry_OperationError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $errorsType = 'Google_Service_ServiceRegistry_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationErrorErrors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationErrorErrors.php
new file mode 100644
index 00000000..d4108f12
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationErrorErrors.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceRegistry_OperationErrorErrors extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationWarnings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationWarnings.php
new file mode 100644
index 00000000..d377edde
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationWarnings.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceRegistry_OperationWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = 'Google_Service_ServiceRegistry_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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationWarningsData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationWarningsData.php
new file mode 100644
index 00000000..24bf06a2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationWarningsData.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceRegistry_OperationWarningsData extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationsListResponse.php
new file mode 100644
index 00000000..26e3a5f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationsListResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceRegistry_OperationsListResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_ServiceRegistry_Operation';
+ protected $operationsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Resource/Endpoints.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Resource/Endpoints.php
new file mode 100644
index 00000000..c5569668
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Resource/Endpoints.php
@@ -0,0 +1,157 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "endpoints" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $serviceregistryService = new Google_Service_ServiceRegistry(...);
+ * $endpoints = $serviceregistryService->endpoints;
+ * </code>
+ */
+class Google_Service_ServiceRegistry_Resource_Endpoints extends Google_Service_Resource
+{
+ /**
+ * Deletes an endpoint. (endpoints.delete)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $endpoint The name of the endpoint for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceRegistry_Operation
+ */
+ public function delete($project, $endpoint, $optParams = array())
+ {
+ $params = array('project' => $project, 'endpoint' => $endpoint);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_ServiceRegistry_Operation");
+ }
+ /**
+ * Gets an endpoint. (endpoints.get)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $endpoint The name of the endpoint for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceRegistry_Endpoint
+ */
+ public function get($project, $endpoint, $optParams = array())
+ {
+ $params = array('project' => $project, 'endpoint' => $endpoint);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ServiceRegistry_Endpoint");
+ }
+ /**
+ * Creates an endpoint. (endpoints.insert)
+ *
+ * @param string $project The project ID for this request.
+ * @param Google_Service_ServiceRegistry_Endpoint $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceRegistry_Operation
+ */
+ public function insert($project, Google_Service_ServiceRegistry_Endpoint $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_ServiceRegistry_Operation");
+ }
+ /**
+ * Lists endpoints for a project. (endpoints.listEndpoints)
+ *
+ * @param string $project The project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * Compute Engine Beta API Only: When filtering in the Beta API, you can also
+ * filter on nested fields. For example, you could filter on instances that have
+ * set the scheduling.automaticRestart field to true. Use filtering on nested
+ * fields to take advantage of labels to organize and search for results based
+ * on label values.
+ *
+ * The Beta API also supports filtering on multiple expressions by providing
+ * each separate expression within parentheses. For example,
+ * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
+ * expressions are treated as AND expressions, meaning that resources must match
+ * all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests.
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_ServiceRegistry_EndpointsListResponse
+ */
+ public function listEndpoints($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ServiceRegistry_EndpointsListResponse");
+ }
+ /**
+ * Updates an endpoint. This method supports patch semantics. (endpoints.patch)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $endpoint The name of the endpoint for this request.
+ * @param Google_Service_ServiceRegistry_Endpoint $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceRegistry_Operation
+ */
+ public function patch($project, $endpoint, Google_Service_ServiceRegistry_Endpoint $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'endpoint' => $endpoint, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_ServiceRegistry_Operation");
+ }
+ /**
+ * Updates an endpoint. (endpoints.update)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $endpoint The name of the endpoint for this request.
+ * @param Google_Service_ServiceRegistry_Endpoint $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceRegistry_Operation
+ */
+ public function update($project, $endpoint, Google_Service_ServiceRegistry_Endpoint $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'endpoint' => $endpoint, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_ServiceRegistry_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Resource/Operations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Resource/Operations.php
new file mode 100644
index 00000000..17467cfa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Resource/Operations.php
@@ -0,0 +1,99 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $serviceregistryService = new Google_Service_ServiceRegistry(...);
+ * $operations = $serviceregistryService->operations;
+ * </code>
+ */
+class Google_Service_ServiceRegistry_Resource_Operations extends Google_Service_Resource
+{
+ /**
+ * Gets information about a specific operation. (operations.get)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $operation The name of the operation for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceRegistry_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), "Google_Service_ServiceRegistry_Operation");
+ }
+ /**
+ * Lists all operations for a project. (operations.listOperations)
+ *
+ * @param string $project The project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must be in the
+ * format: field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields, the
+ * literal value is interpreted as a regular expression using RE2 syntax. The
+ * literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of example-
+ * instance, you would use filter=name ne example-instance.
+ *
+ * Compute Engine Beta API Only: When filtering in the Beta API, you can also
+ * filter on nested fields. For example, you could filter on instances that have
+ * set the scheduling.automaticRestart field to true. Use filtering on nested
+ * fields to take advantage of labels to organize and search for results based
+ * on label values.
+ *
+ * The Beta API also supports filtering on multiple expressions by providing
+ * each separate expression within parentheses. For example,
+ * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
+ * expressions are treated as AND expressions, meaning that resources must match
+ * all expressions to pass the filters.
+ * @opt_param string maxResults The maximum number of results per page that
+ * should be returned. If the number of available results is larger than
+ * maxResults, Compute Engine returns a nextPageToken that can be used to get
+ * the next page of results in subsequent list requests.
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Set pageToken to
+ * the nextPageToken returned by a previous list request to get the next page of
+ * results.
+ * @return Google_Service_ServiceRegistry_OperationsListResponse
+ */
+ public function listOperations($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ServiceRegistry_OperationsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser.php
new file mode 100644
index 00000000..cf28a691
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser.php
@@ -0,0 +1,133 @@
+<?php
+/*
+ * Copyright 2016 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 ServiceUser (v1).
+ *
+ * <p>
+ * Enables services that service consumers want to use on Google Cloud Platform,
+ * lists the available or enabled services, or disables services that service
+ * consumers no longer use.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/service-management/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_ServiceUser extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM_READ_ONLY =
+ "https://www.googleapis.com/auth/cloud-platform.read-only";
+ /** Manage your Google API service configuration. */
+ const SERVICE_MANAGEMENT =
+ "https://www.googleapis.com/auth/service.management";
+
+ public $projects_services;
+ public $services;
+
+ /**
+ * Constructs the internal representation of the ServiceUser service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://serviceuser.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'serviceuser';
+
+ $this->projects_services = new Google_Service_ServiceUser_Resource_ProjectsServices(
+ $this,
+ $this->serviceName,
+ 'services',
+ array(
+ 'methods' => array(
+ 'disable' => array(
+ 'path' => 'v1/{+name}:disable',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'enable' => array(
+ 'path' => 'v1/{+name}:enable',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+parent}/services',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->services = new Google_Service_ServiceUser_Resource_Services(
+ $this,
+ $this->serviceName,
+ 'services',
+ array(
+ 'methods' => array(
+ 'search' => array(
+ 'path' => 'v1/services:search',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Api.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Api.php
new file mode 100644
index 00000000..efd6c8af
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Api.php
@@ -0,0 +1,89 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Api extends Google_Collection
+{
+ protected $collection_key = 'options';
+ protected $methodsType = 'Google_Service_ServiceUser_Method';
+ protected $methodsDataType = 'array';
+ protected $mixinsType = 'Google_Service_ServiceUser_Mixin';
+ protected $mixinsDataType = 'array';
+ public $name;
+ protected $optionsType = 'Google_Service_ServiceUser_Option';
+ protected $optionsDataType = 'array';
+ protected $sourceContextType = 'Google_Service_ServiceUser_SourceContext';
+ protected $sourceContextDataType = '';
+ public $syntax;
+ public $version;
+
+ public function setMethods($methods)
+ {
+ $this->methods = $methods;
+ }
+ public function getMethods()
+ {
+ return $this->methods;
+ }
+ public function setMixins($mixins)
+ {
+ $this->mixins = $mixins;
+ }
+ public function getMixins()
+ {
+ return $this->mixins;
+ }
+ 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 setSourceContext(Google_Service_ServiceUser_SourceContext $sourceContext)
+ {
+ $this->sourceContext = $sourceContext;
+ }
+ public function getSourceContext()
+ {
+ return $this->sourceContext;
+ }
+ public function setSyntax($syntax)
+ {
+ $this->syntax = $syntax;
+ }
+ public function getSyntax()
+ {
+ return $this->syntax;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthProvider.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthProvider.php
new file mode 100644
index 00000000..75c6e24e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthProvider.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_AuthProvider extends Google_Model
+{
+ public $audiences;
+ public $id;
+ public $issuer;
+ public $jwksUri;
+
+ public function setAudiences($audiences)
+ {
+ $this->audiences = $audiences;
+ }
+ public function getAudiences()
+ {
+ return $this->audiences;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIssuer($issuer)
+ {
+ $this->issuer = $issuer;
+ }
+ public function getIssuer()
+ {
+ return $this->issuer;
+ }
+ public function setJwksUri($jwksUri)
+ {
+ $this->jwksUri = $jwksUri;
+ }
+ public function getJwksUri()
+ {
+ return $this->jwksUri;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthRequirement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthRequirement.php
new file mode 100644
index 00000000..761a094b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthRequirement.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_AuthRequirement extends Google_Model
+{
+ public $audiences;
+ public $providerId;
+
+ public function setAudiences($audiences)
+ {
+ $this->audiences = $audiences;
+ }
+ public function getAudiences()
+ {
+ return $this->audiences;
+ }
+ public function setProviderId($providerId)
+ {
+ $this->providerId = $providerId;
+ }
+ public function getProviderId()
+ {
+ return $this->providerId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Authentication.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Authentication.php
new file mode 100644
index 00000000..67d4481e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Authentication.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Authentication extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $providersType = 'Google_Service_ServiceUser_AuthProvider';
+ protected $providersDataType = 'array';
+ protected $rulesType = 'Google_Service_ServiceUser_AuthenticationRule';
+ protected $rulesDataType = 'array';
+
+ public function setProviders($providers)
+ {
+ $this->providers = $providers;
+ }
+ public function getProviders()
+ {
+ return $this->providers;
+ }
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthenticationRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthenticationRule.php
new file mode 100644
index 00000000..c0dc5942
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthenticationRule.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_AuthenticationRule extends Google_Collection
+{
+ protected $collection_key = 'requirements';
+ public $allowWithoutCredential;
+ protected $oauthType = 'Google_Service_ServiceUser_OAuthRequirements';
+ protected $oauthDataType = '';
+ protected $requirementsType = 'Google_Service_ServiceUser_AuthRequirement';
+ protected $requirementsDataType = 'array';
+ public $selector;
+
+ public function setAllowWithoutCredential($allowWithoutCredential)
+ {
+ $this->allowWithoutCredential = $allowWithoutCredential;
+ }
+ public function getAllowWithoutCredential()
+ {
+ return $this->allowWithoutCredential;
+ }
+ public function setOauth(Google_Service_ServiceUser_OAuthRequirements $oauth)
+ {
+ $this->oauth = $oauth;
+ }
+ public function getOauth()
+ {
+ return $this->oauth;
+ }
+ public function setRequirements($requirements)
+ {
+ $this->requirements = $requirements;
+ }
+ public function getRequirements()
+ {
+ return $this->requirements;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthorizationConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthorizationConfig.php
new file mode 100644
index 00000000..35f15a00
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthorizationConfig.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_AuthorizationConfig extends Google_Model
+{
+ public $provider;
+
+ public function setProvider($provider)
+ {
+ $this->provider = $provider;
+ }
+ public function getProvider()
+ {
+ return $this->provider;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Backend.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Backend.php
new file mode 100644
index 00000000..b42a27ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Backend.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Backend extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $rulesType = 'Google_Service_ServiceUser_BackendRule';
+ protected $rulesDataType = 'array';
+
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/BackendRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/BackendRule.php
new file mode 100644
index 00000000..ce56a4e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/BackendRule.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_BackendRule extends Google_Model
+{
+ public $address;
+ public $deadline;
+ public $selector;
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setDeadline($deadline)
+ {
+ $this->deadline = $deadline;
+ }
+ public function getDeadline()
+ {
+ return $this->deadline;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Context.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Context.php
new file mode 100644
index 00000000..76023810
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Context.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Context extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $rulesType = 'Google_Service_ServiceUser_ContextRule';
+ protected $rulesDataType = 'array';
+
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/ContextRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/ContextRule.php
new file mode 100644
index 00000000..e6161dae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/ContextRule.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_ContextRule extends Google_Collection
+{
+ protected $collection_key = 'requested';
+ public $provided;
+ public $requested;
+ public $selector;
+
+ public function setProvided($provided)
+ {
+ $this->provided = $provided;
+ }
+ public function getProvided()
+ {
+ return $this->provided;
+ }
+ public function setRequested($requested)
+ {
+ $this->requested = $requested;
+ }
+ public function getRequested()
+ {
+ return $this->requested;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Control.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Control.php
new file mode 100644
index 00000000..dd4c3583
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Control.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Control extends Google_Model
+{
+ public $environment;
+
+ public function setEnvironment($environment)
+ {
+ $this->environment = $environment;
+ }
+ public function getEnvironment()
+ {
+ return $this->environment;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomError.php
new file mode 100644
index 00000000..17c90f0a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomError.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_CustomError extends Google_Collection
+{
+ protected $collection_key = 'types';
+ protected $rulesType = 'Google_Service_ServiceUser_CustomErrorRule';
+ protected $rulesDataType = 'array';
+ public $types;
+
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+ public function setTypes($types)
+ {
+ $this->types = $types;
+ }
+ public function getTypes()
+ {
+ return $this->types;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomErrorRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomErrorRule.php
new file mode 100644
index 00000000..ff562edb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomErrorRule.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_CustomErrorRule extends Google_Model
+{
+ public $isErrorType;
+ public $selector;
+
+ public function setIsErrorType($isErrorType)
+ {
+ $this->isErrorType = $isErrorType;
+ }
+ public function getIsErrorType()
+ {
+ return $this->isErrorType;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomHttpPattern.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomHttpPattern.php
new file mode 100644
index 00000000..dc223c90
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomHttpPattern.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_CustomHttpPattern extends Google_Model
+{
+ public $kind;
+ public $path;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+ public function getPath()
+ {
+ return $this->path;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/DisableServiceRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/DisableServiceRequest.php
new file mode 100644
index 00000000..51d8f336
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/DisableServiceRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_DisableServiceRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Documentation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Documentation.php
new file mode 100644
index 00000000..da2139cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Documentation.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Documentation extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ public $documentationRootUrl;
+ public $overview;
+ protected $pagesType = 'Google_Service_ServiceUser_Page';
+ protected $pagesDataType = 'array';
+ protected $rulesType = 'Google_Service_ServiceUser_DocumentationRule';
+ protected $rulesDataType = 'array';
+ public $summary;
+
+ public function setDocumentationRootUrl($documentationRootUrl)
+ {
+ $this->documentationRootUrl = $documentationRootUrl;
+ }
+ public function getDocumentationRootUrl()
+ {
+ return $this->documentationRootUrl;
+ }
+ public function setOverview($overview)
+ {
+ $this->overview = $overview;
+ }
+ public function getOverview()
+ {
+ return $this->overview;
+ }
+ public function setPages($pages)
+ {
+ $this->pages = $pages;
+ }
+ public function getPages()
+ {
+ return $this->pages;
+ }
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+ public function setSummary($summary)
+ {
+ $this->summary = $summary;
+ }
+ public function getSummary()
+ {
+ return $this->summary;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/DocumentationRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/DocumentationRule.php
new file mode 100644
index 00000000..de4c1a34
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/DocumentationRule.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_DocumentationRule extends Google_Model
+{
+ public $deprecationDescription;
+ public $description;
+ public $selector;
+
+ public function setDeprecationDescription($deprecationDescription)
+ {
+ $this->deprecationDescription = $deprecationDescription;
+ }
+ public function getDeprecationDescription()
+ {
+ return $this->deprecationDescription;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/EnableServiceRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/EnableServiceRequest.php
new file mode 100644
index 00000000..cfdab0d4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/EnableServiceRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_EnableServiceRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Endpoint.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Endpoint.php
new file mode 100644
index 00000000..936cc85e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Endpoint.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Endpoint extends Google_Collection
+{
+ protected $collection_key = 'features';
+ public $aliases;
+ public $allowCors;
+ public $apis;
+ public $features;
+ public $name;
+
+ public function setAliases($aliases)
+ {
+ $this->aliases = $aliases;
+ }
+ public function getAliases()
+ {
+ return $this->aliases;
+ }
+ public function setAllowCors($allowCors)
+ {
+ $this->allowCors = $allowCors;
+ }
+ public function getAllowCors()
+ {
+ return $this->allowCors;
+ }
+ public function setApis($apis)
+ {
+ $this->apis = $apis;
+ }
+ public function getApis()
+ {
+ return $this->apis;
+ }
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Enum.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Enum.php
new file mode 100644
index 00000000..4d89024d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Enum.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Enum extends Google_Collection
+{
+ protected $collection_key = 'options';
+ protected $enumvalueType = 'Google_Service_ServiceUser_EnumValue';
+ protected $enumvalueDataType = 'array';
+ public $name;
+ protected $optionsType = 'Google_Service_ServiceUser_Option';
+ protected $optionsDataType = 'array';
+ protected $sourceContextType = 'Google_Service_ServiceUser_SourceContext';
+ protected $sourceContextDataType = '';
+ public $syntax;
+
+ public function setEnumvalue($enumvalue)
+ {
+ $this->enumvalue = $enumvalue;
+ }
+ public function getEnumvalue()
+ {
+ return $this->enumvalue;
+ }
+ 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 setSourceContext(Google_Service_ServiceUser_SourceContext $sourceContext)
+ {
+ $this->sourceContext = $sourceContext;
+ }
+ public function getSourceContext()
+ {
+ return $this->sourceContext;
+ }
+ public function setSyntax($syntax)
+ {
+ $this->syntax = $syntax;
+ }
+ public function getSyntax()
+ {
+ return $this->syntax;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/EnumValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/EnumValue.php
new file mode 100644
index 00000000..9c9ad449
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/EnumValue.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_EnumValue extends Google_Collection
+{
+ protected $collection_key = 'options';
+ public $name;
+ public $number;
+ protected $optionsType = 'Google_Service_ServiceUser_Option';
+ protected $optionsDataType = 'array';
+
+ 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 setOptions($options)
+ {
+ $this->options = $options;
+ }
+ public function getOptions()
+ {
+ return $this->options;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Experimental.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Experimental.php
new file mode 100644
index 00000000..93c30ec4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Experimental.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Experimental extends Google_Model
+{
+ protected $authorizationType = 'Google_Service_ServiceUser_AuthorizationConfig';
+ protected $authorizationDataType = '';
+
+ public function setAuthorization(Google_Service_ServiceUser_AuthorizationConfig $authorization)
+ {
+ $this->authorization = $authorization;
+ }
+ public function getAuthorization()
+ {
+ return $this->authorization;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Field.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Field.php
new file mode 100644
index 00000000..6c65173f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Field.php
@@ -0,0 +1,113 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Field extends Google_Collection
+{
+ protected $collection_key = 'options';
+ public $cardinality;
+ public $defaultValue;
+ public $jsonName;
+ public $kind;
+ public $name;
+ public $number;
+ public $oneofIndex;
+ protected $optionsType = 'Google_Service_ServiceUser_Option';
+ protected $optionsDataType = 'array';
+ public $packed;
+ public $typeUrl;
+
+ public function setCardinality($cardinality)
+ {
+ $this->cardinality = $cardinality;
+ }
+ public function getCardinality()
+ {
+ return $this->cardinality;
+ }
+ public function setDefaultValue($defaultValue)
+ {
+ $this->defaultValue = $defaultValue;
+ }
+ public function getDefaultValue()
+ {
+ return $this->defaultValue;
+ }
+ public function setJsonName($jsonName)
+ {
+ $this->jsonName = $jsonName;
+ }
+ public function getJsonName()
+ {
+ return $this->jsonName;
+ }
+ 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 setNumber($number)
+ {
+ $this->number = $number;
+ }
+ public function getNumber()
+ {
+ return $this->number;
+ }
+ public function setOneofIndex($oneofIndex)
+ {
+ $this->oneofIndex = $oneofIndex;
+ }
+ public function getOneofIndex()
+ {
+ return $this->oneofIndex;
+ }
+ public function setOptions($options)
+ {
+ $this->options = $options;
+ }
+ public function getOptions()
+ {
+ return $this->options;
+ }
+ public function setPacked($packed)
+ {
+ $this->packed = $packed;
+ }
+ public function getPacked()
+ {
+ return $this->packed;
+ }
+ public function setTypeUrl($typeUrl)
+ {
+ $this->typeUrl = $typeUrl;
+ }
+ public function getTypeUrl()
+ {
+ return $this->typeUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Http.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Http.php
new file mode 100644
index 00000000..462d638d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Http.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Http extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $rulesType = 'Google_Service_ServiceUser_HttpRule';
+ protected $rulesDataType = 'array';
+
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/HttpRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/HttpRule.php
new file mode 100644
index 00000000..c2355e8f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/HttpRule.php
@@ -0,0 +1,134 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_HttpRule extends Google_Collection
+{
+ protected $collection_key = 'additionalBindings';
+ protected $additionalBindingsType = 'Google_Service_ServiceUser_HttpRule';
+ protected $additionalBindingsDataType = 'array';
+ public $body;
+ protected $customType = 'Google_Service_ServiceUser_CustomHttpPattern';
+ protected $customDataType = '';
+ public $delete;
+ public $get;
+ protected $mediaDownloadType = 'Google_Service_ServiceUser_MediaDownload';
+ protected $mediaDownloadDataType = '';
+ protected $mediaUploadType = 'Google_Service_ServiceUser_MediaUpload';
+ protected $mediaUploadDataType = '';
+ public $patch;
+ public $post;
+ public $put;
+ public $responseBody;
+ public $selector;
+
+ public function setAdditionalBindings($additionalBindings)
+ {
+ $this->additionalBindings = $additionalBindings;
+ }
+ public function getAdditionalBindings()
+ {
+ return $this->additionalBindings;
+ }
+ public function setBody($body)
+ {
+ $this->body = $body;
+ }
+ public function getBody()
+ {
+ return $this->body;
+ }
+ public function setCustom(Google_Service_ServiceUser_CustomHttpPattern $custom)
+ {
+ $this->custom = $custom;
+ }
+ public function getCustom()
+ {
+ return $this->custom;
+ }
+ public function setDelete($delete)
+ {
+ $this->delete = $delete;
+ }
+ public function getDelete()
+ {
+ return $this->delete;
+ }
+ public function setGet($get)
+ {
+ $this->get = $get;
+ }
+ public function getGet()
+ {
+ return $this->get;
+ }
+ public function setMediaDownload(Google_Service_ServiceUser_MediaDownload $mediaDownload)
+ {
+ $this->mediaDownload = $mediaDownload;
+ }
+ public function getMediaDownload()
+ {
+ return $this->mediaDownload;
+ }
+ public function setMediaUpload(Google_Service_ServiceUser_MediaUpload $mediaUpload)
+ {
+ $this->mediaUpload = $mediaUpload;
+ }
+ public function getMediaUpload()
+ {
+ return $this->mediaUpload;
+ }
+ public function setPatch($patch)
+ {
+ $this->patch = $patch;
+ }
+ public function getPatch()
+ {
+ return $this->patch;
+ }
+ public function setPost($post)
+ {
+ $this->post = $post;
+ }
+ public function getPost()
+ {
+ return $this->post;
+ }
+ public function setPut($put)
+ {
+ $this->put = $put;
+ }
+ public function getPut()
+ {
+ return $this->put;
+ }
+ public function setResponseBody($responseBody)
+ {
+ $this->responseBody = $responseBody;
+ }
+ public function getResponseBody()
+ {
+ return $this->responseBody;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LabelDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LabelDescriptor.php
new file mode 100644
index 00000000..f23ef890
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LabelDescriptor.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_LabelDescriptor extends Google_Model
+{
+ public $description;
+ public $key;
+ public $valueType;
+
+ 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;
+ }
+ public function setValueType($valueType)
+ {
+ $this->valueType = $valueType;
+ }
+ public function getValueType()
+ {
+ return $this->valueType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/ListEnabledServicesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/ListEnabledServicesResponse.php
new file mode 100644
index 00000000..4cc52d91
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/ListEnabledServicesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_ListEnabledServicesResponse extends Google_Collection
+{
+ protected $collection_key = 'services';
+ public $nextPageToken;
+ protected $servicesType = 'Google_Service_ServiceUser_PublishedService';
+ protected $servicesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setServices($services)
+ {
+ $this->services = $services;
+ }
+ public function getServices()
+ {
+ return $this->services;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LogDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LogDescriptor.php
new file mode 100644
index 00000000..1d8fdf4c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LogDescriptor.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_LogDescriptor extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ public $description;
+ public $displayName;
+ protected $labelsType = 'Google_Service_ServiceUser_LabelDescriptor';
+ protected $labelsDataType = 'array';
+ public $name;
+
+ 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 setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Logging.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Logging.php
new file mode 100644
index 00000000..ff37b8b9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Logging.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Logging extends Google_Collection
+{
+ protected $collection_key = 'producerDestinations';
+ protected $consumerDestinationsType = 'Google_Service_ServiceUser_LoggingDestination';
+ protected $consumerDestinationsDataType = 'array';
+ protected $producerDestinationsType = 'Google_Service_ServiceUser_LoggingDestination';
+ protected $producerDestinationsDataType = 'array';
+
+ public function setConsumerDestinations($consumerDestinations)
+ {
+ $this->consumerDestinations = $consumerDestinations;
+ }
+ public function getConsumerDestinations()
+ {
+ return $this->consumerDestinations;
+ }
+ public function setProducerDestinations($producerDestinations)
+ {
+ $this->producerDestinations = $producerDestinations;
+ }
+ public function getProducerDestinations()
+ {
+ return $this->producerDestinations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LoggingDestination.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LoggingDestination.php
new file mode 100644
index 00000000..c2361a14
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LoggingDestination.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_LoggingDestination extends Google_Collection
+{
+ protected $collection_key = 'logs';
+ public $logs;
+ public $monitoredResource;
+
+ public function setLogs($logs)
+ {
+ $this->logs = $logs;
+ }
+ public function getLogs()
+ {
+ return $this->logs;
+ }
+ public function setMonitoredResource($monitoredResource)
+ {
+ $this->monitoredResource = $monitoredResource;
+ }
+ public function getMonitoredResource()
+ {
+ return $this->monitoredResource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MediaDownload.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MediaDownload.php
new file mode 100644
index 00000000..bb320f02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MediaDownload.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_MediaDownload extends Google_Model
+{
+ public $downloadService;
+ public $enabled;
+
+ public function setDownloadService($downloadService)
+ {
+ $this->downloadService = $downloadService;
+ }
+ public function getDownloadService()
+ {
+ return $this->downloadService;
+ }
+ public function setEnabled($enabled)
+ {
+ $this->enabled = $enabled;
+ }
+ public function getEnabled()
+ {
+ return $this->enabled;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MediaUpload.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MediaUpload.php
new file mode 100644
index 00000000..e6a58c91
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MediaUpload.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_MediaUpload extends Google_Model
+{
+ public $enabled;
+ public $uploadService;
+
+ public function setEnabled($enabled)
+ {
+ $this->enabled = $enabled;
+ }
+ public function getEnabled()
+ {
+ return $this->enabled;
+ }
+ public function setUploadService($uploadService)
+ {
+ $this->uploadService = $uploadService;
+ }
+ public function getUploadService()
+ {
+ return $this->uploadService;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Method.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Method.php
new file mode 100644
index 00000000..dbc2dea2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Method.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Method extends Google_Collection
+{
+ protected $collection_key = 'options';
+ public $name;
+ protected $optionsType = 'Google_Service_ServiceUser_Option';
+ protected $optionsDataType = 'array';
+ public $requestStreaming;
+ public $requestTypeUrl;
+ public $responseStreaming;
+ public $responseTypeUrl;
+ public $syntax;
+
+ 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 setRequestStreaming($requestStreaming)
+ {
+ $this->requestStreaming = $requestStreaming;
+ }
+ public function getRequestStreaming()
+ {
+ return $this->requestStreaming;
+ }
+ public function setRequestTypeUrl($requestTypeUrl)
+ {
+ $this->requestTypeUrl = $requestTypeUrl;
+ }
+ public function getRequestTypeUrl()
+ {
+ return $this->requestTypeUrl;
+ }
+ public function setResponseStreaming($responseStreaming)
+ {
+ $this->responseStreaming = $responseStreaming;
+ }
+ public function getResponseStreaming()
+ {
+ return $this->responseStreaming;
+ }
+ public function setResponseTypeUrl($responseTypeUrl)
+ {
+ $this->responseTypeUrl = $responseTypeUrl;
+ }
+ public function getResponseTypeUrl()
+ {
+ return $this->responseTypeUrl;
+ }
+ public function setSyntax($syntax)
+ {
+ $this->syntax = $syntax;
+ }
+ public function getSyntax()
+ {
+ return $this->syntax;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MetricDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MetricDescriptor.php
new file mode 100644
index 00000000..7a7e33f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MetricDescriptor.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_MetricDescriptor extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ public $description;
+ public $displayName;
+ protected $labelsType = 'Google_Service_ServiceUser_LabelDescriptor';
+ protected $labelsDataType = 'array';
+ public $metricKind;
+ public $name;
+ public $type;
+ public $unit;
+ public $valueType;
+
+ 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 setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setMetricKind($metricKind)
+ {
+ $this->metricKind = $metricKind;
+ }
+ public function getMetricKind()
+ {
+ return $this->metricKind;
+ }
+ 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 setValueType($valueType)
+ {
+ $this->valueType = $valueType;
+ }
+ public function getValueType()
+ {
+ return $this->valueType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Mixin.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Mixin.php
new file mode 100644
index 00000000..0489f985
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Mixin.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Mixin extends Google_Model
+{
+ public $name;
+ public $root;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRoot($root)
+ {
+ $this->root = $root;
+ }
+ public function getRoot()
+ {
+ return $this->root;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MonitoredResourceDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MonitoredResourceDescriptor.php
new file mode 100644
index 00000000..fca17b93
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MonitoredResourceDescriptor.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_MonitoredResourceDescriptor extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ public $description;
+ public $displayName;
+ protected $labelsType = 'Google_Service_ServiceUser_LabelDescriptor';
+ protected $labelsDataType = 'array';
+ public $name;
+ public $type;
+
+ 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 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 setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Monitoring.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Monitoring.php
new file mode 100644
index 00000000..37c2c670
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Monitoring.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Monitoring extends Google_Collection
+{
+ protected $collection_key = 'producerDestinations';
+ protected $consumerDestinationsType = 'Google_Service_ServiceUser_MonitoringDestination';
+ protected $consumerDestinationsDataType = 'array';
+ protected $producerDestinationsType = 'Google_Service_ServiceUser_MonitoringDestination';
+ protected $producerDestinationsDataType = 'array';
+
+ public function setConsumerDestinations($consumerDestinations)
+ {
+ $this->consumerDestinations = $consumerDestinations;
+ }
+ public function getConsumerDestinations()
+ {
+ return $this->consumerDestinations;
+ }
+ public function setProducerDestinations($producerDestinations)
+ {
+ $this->producerDestinations = $producerDestinations;
+ }
+ public function getProducerDestinations()
+ {
+ return $this->producerDestinations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MonitoringDestination.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MonitoringDestination.php
new file mode 100644
index 00000000..b149e4cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MonitoringDestination.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_MonitoringDestination extends Google_Collection
+{
+ protected $collection_key = 'metrics';
+ public $metrics;
+ public $monitoredResource;
+
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setMonitoredResource($monitoredResource)
+ {
+ $this->monitoredResource = $monitoredResource;
+ }
+ public function getMonitoredResource()
+ {
+ return $this->monitoredResource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/OAuthRequirements.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/OAuthRequirements.php
new file mode 100644
index 00000000..ce523d55
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/OAuthRequirements.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_OAuthRequirements extends Google_Model
+{
+ public $canonicalScopes;
+
+ public function setCanonicalScopes($canonicalScopes)
+ {
+ $this->canonicalScopes = $canonicalScopes;
+ }
+ public function getCanonicalScopes()
+ {
+ return $this->canonicalScopes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Operation.php
new file mode 100644
index 00000000..67ef77b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Operation.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Operation extends Google_Model
+{
+ public $done;
+ protected $errorType = 'Google_Service_ServiceUser_Status';
+ protected $errorDataType = '';
+ public $metadata;
+ public $name;
+ public $response;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_ServiceUser_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setMetadata($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 setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/OperationMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/OperationMetadata.php
new file mode 100644
index 00000000..fd5081d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/OperationMetadata.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_OperationMetadata extends Google_Collection
+{
+ protected $collection_key = 'steps';
+ public $progressPercentage;
+ public $resourceNames;
+ public $startTime;
+ protected $stepsType = 'Google_Service_ServiceUser_Step';
+ protected $stepsDataType = 'array';
+
+ public function setProgressPercentage($progressPercentage)
+ {
+ $this->progressPercentage = $progressPercentage;
+ }
+ public function getProgressPercentage()
+ {
+ return $this->progressPercentage;
+ }
+ public function setResourceNames($resourceNames)
+ {
+ $this->resourceNames = $resourceNames;
+ }
+ public function getResourceNames()
+ {
+ return $this->resourceNames;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setSteps($steps)
+ {
+ $this->steps = $steps;
+ }
+ public function getSteps()
+ {
+ return $this->steps;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Option.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Option.php
new file mode 100644
index 00000000..f6b448d4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Option.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Option extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Page.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Page.php
new file mode 100644
index 00000000..2b060a36
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Page.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Page extends Google_Collection
+{
+ protected $collection_key = 'subpages';
+ public $content;
+ public $name;
+ protected $subpagesType = 'Google_Service_ServiceUser_Page';
+ protected $subpagesDataType = 'array';
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSubpages($subpages)
+ {
+ $this->subpages = $subpages;
+ }
+ public function getSubpages()
+ {
+ return $this->subpages;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/PublishedService.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/PublishedService.php
new file mode 100644
index 00000000..04e4c4f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/PublishedService.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_PublishedService extends Google_Model
+{
+ public $name;
+ protected $serviceType = 'Google_Service_ServiceUser_Service';
+ protected $serviceDataType = '';
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setService(Google_Service_ServiceUser_Service $service)
+ {
+ $this->service = $service;
+ }
+ public function getService()
+ {
+ return $this->service;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/Projects.php
new file mode 100644
index 00000000..b8cd2398
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/Projects.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $serviceuserService = new Google_Service_ServiceUser(...);
+ * $projects = $serviceuserService->projects;
+ * </code>
+ */
+class Google_Service_ServiceUser_Resource_Projects extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/ProjectsServices.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/ProjectsServices.php
new file mode 100644
index 00000000..df3ce1c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/ProjectsServices.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "services" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $serviceuserService = new Google_Service_ServiceUser(...);
+ * $services = $serviceuserService->services;
+ * </code>
+ */
+class Google_Service_ServiceUser_Resource_ProjectsServices extends Google_Service_Resource
+{
+ /**
+ * Disable a service so it can no longer be used with a project. This prevents
+ * unintended usage that may cause unexpected billing charges or security leaks.
+ *
+ * Operation (services.disable)
+ *
+ * @param string $name Name of the consumer and the service to disable for that
+ * consumer.
+ *
+ * The Service User implementation accepts the following forms for consumer: -
+ * "project:"
+ *
+ * A valid path would be: - /v1/projects/my-
+ * project/services/servicemanagement.googleapis.com:disable
+ * @param Google_Service_ServiceUser_DisableServiceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceUser_Operation
+ */
+ public function disable($name, Google_Service_ServiceUser_DisableServiceRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('disable', array($params), "Google_Service_ServiceUser_Operation");
+ }
+ /**
+ * Enable a service so it can be used with a project. See [Cloud Auth
+ * Guide](https://cloud.google.com/docs/authentication) for more information.
+ *
+ * Operation (services.enable)
+ *
+ * @param string $name Name of the consumer and the service to enable for that
+ * consumer.
+ *
+ * A valid path would be: - /v1/projects/my-
+ * project/services/servicemanagement.googleapis.com:enable
+ * @param Google_Service_ServiceUser_EnableServiceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ServiceUser_Operation
+ */
+ public function enable($name, Google_Service_ServiceUser_EnableServiceRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('enable', array($params), "Google_Service_ServiceUser_Operation");
+ }
+ /**
+ * List enabled services for the specified consumer.
+ * (services.listProjectsServices)
+ *
+ * @param string $parent List enabled services for the specified parent.
+ *
+ * An example valid parent would be: - projects/my-project
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Token identifying which result to start with;
+ * returned by a previous list call.
+ * @opt_param int pageSize Requested size of the next page of data.
+ * @return Google_Service_ServiceUser_ListEnabledServicesResponse
+ */
+ public function listProjectsServices($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ServiceUser_ListEnabledServicesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/Services.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/Services.php
new file mode 100644
index 00000000..c3db071f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/Services.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "services" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $serviceuserService = new Google_Service_ServiceUser(...);
+ * $services = $serviceuserService->services;
+ * </code>
+ */
+class Google_Service_ServiceUser_Resource_Services extends Google_Service_Resource
+{
+ /**
+ * Search available services.
+ *
+ * When no filter is specified, returns all accessible services. For
+ * authenticated users, also returns all services the calling user has
+ * "servicemanagement.services.bind" permission for. (services.search)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Token identifying which result to start with;
+ * returned by a previous list call.
+ * @opt_param int pageSize Requested size of the next page of data.
+ * @return Google_Service_ServiceUser_SearchServicesResponse
+ */
+ public function search($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_ServiceUser_SearchServicesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SearchServicesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SearchServicesResponse.php
new file mode 100644
index 00000000..4ce9ad9f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SearchServicesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_SearchServicesResponse extends Google_Collection
+{
+ protected $collection_key = 'services';
+ public $nextPageToken;
+ protected $servicesType = 'Google_Service_ServiceUser_PublishedService';
+ protected $servicesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setServices($services)
+ {
+ $this->services = $services;
+ }
+ public function getServices()
+ {
+ return $this->services;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Service.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Service.php
new file mode 100644
index 00000000..1fcc527e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Service.php
@@ -0,0 +1,287 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Service extends Google_Collection
+{
+ protected $collection_key = 'types';
+ protected $apisType = 'Google_Service_ServiceUser_Api';
+ protected $apisDataType = 'array';
+ protected $authenticationType = 'Google_Service_ServiceUser_Authentication';
+ protected $authenticationDataType = '';
+ protected $backendType = 'Google_Service_ServiceUser_Backend';
+ protected $backendDataType = '';
+ public $configVersion;
+ protected $contextType = 'Google_Service_ServiceUser_Context';
+ protected $contextDataType = '';
+ protected $controlType = 'Google_Service_ServiceUser_Control';
+ protected $controlDataType = '';
+ protected $customErrorType = 'Google_Service_ServiceUser_CustomError';
+ protected $customErrorDataType = '';
+ protected $documentationType = 'Google_Service_ServiceUser_Documentation';
+ protected $documentationDataType = '';
+ protected $endpointsType = 'Google_Service_ServiceUser_Endpoint';
+ protected $endpointsDataType = 'array';
+ protected $enumsType = 'Google_Service_ServiceUser_Enum';
+ protected $enumsDataType = 'array';
+ protected $experimentalType = 'Google_Service_ServiceUser_Experimental';
+ protected $experimentalDataType = '';
+ protected $httpType = 'Google_Service_ServiceUser_Http';
+ protected $httpDataType = '';
+ public $id;
+ protected $loggingType = 'Google_Service_ServiceUser_Logging';
+ protected $loggingDataType = '';
+ protected $logsType = 'Google_Service_ServiceUser_LogDescriptor';
+ protected $logsDataType = 'array';
+ protected $metricsType = 'Google_Service_ServiceUser_MetricDescriptor';
+ protected $metricsDataType = 'array';
+ protected $monitoredResourcesType = 'Google_Service_ServiceUser_MonitoredResourceDescriptor';
+ protected $monitoredResourcesDataType = 'array';
+ protected $monitoringType = 'Google_Service_ServiceUser_Monitoring';
+ protected $monitoringDataType = '';
+ public $name;
+ public $producerProjectId;
+ protected $sourceInfoType = 'Google_Service_ServiceUser_SourceInfo';
+ protected $sourceInfoDataType = '';
+ protected $systemParametersType = 'Google_Service_ServiceUser_SystemParameters';
+ protected $systemParametersDataType = '';
+ protected $systemTypesType = 'Google_Service_ServiceUser_Type';
+ protected $systemTypesDataType = 'array';
+ public $title;
+ protected $typesType = 'Google_Service_ServiceUser_Type';
+ protected $typesDataType = 'array';
+ protected $usageType = 'Google_Service_ServiceUser_Usage';
+ protected $usageDataType = '';
+ protected $visibilityType = 'Google_Service_ServiceUser_Visibility';
+ protected $visibilityDataType = '';
+
+ public function setApis($apis)
+ {
+ $this->apis = $apis;
+ }
+ public function getApis()
+ {
+ return $this->apis;
+ }
+ public function setAuthentication(Google_Service_ServiceUser_Authentication $authentication)
+ {
+ $this->authentication = $authentication;
+ }
+ public function getAuthentication()
+ {
+ return $this->authentication;
+ }
+ public function setBackend(Google_Service_ServiceUser_Backend $backend)
+ {
+ $this->backend = $backend;
+ }
+ public function getBackend()
+ {
+ return $this->backend;
+ }
+ public function setConfigVersion($configVersion)
+ {
+ $this->configVersion = $configVersion;
+ }
+ public function getConfigVersion()
+ {
+ return $this->configVersion;
+ }
+ public function setContext(Google_Service_ServiceUser_Context $context)
+ {
+ $this->context = $context;
+ }
+ public function getContext()
+ {
+ return $this->context;
+ }
+ public function setControl(Google_Service_ServiceUser_Control $control)
+ {
+ $this->control = $control;
+ }
+ public function getControl()
+ {
+ return $this->control;
+ }
+ public function setCustomError(Google_Service_ServiceUser_CustomError $customError)
+ {
+ $this->customError = $customError;
+ }
+ public function getCustomError()
+ {
+ return $this->customError;
+ }
+ public function setDocumentation(Google_Service_ServiceUser_Documentation $documentation)
+ {
+ $this->documentation = $documentation;
+ }
+ public function getDocumentation()
+ {
+ return $this->documentation;
+ }
+ public function setEndpoints($endpoints)
+ {
+ $this->endpoints = $endpoints;
+ }
+ public function getEndpoints()
+ {
+ return $this->endpoints;
+ }
+ public function setEnums($enums)
+ {
+ $this->enums = $enums;
+ }
+ public function getEnums()
+ {
+ return $this->enums;
+ }
+ public function setExperimental(Google_Service_ServiceUser_Experimental $experimental)
+ {
+ $this->experimental = $experimental;
+ }
+ public function getExperimental()
+ {
+ return $this->experimental;
+ }
+ public function setHttp(Google_Service_ServiceUser_Http $http)
+ {
+ $this->http = $http;
+ }
+ public function getHttp()
+ {
+ return $this->http;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLogging(Google_Service_ServiceUser_Logging $logging)
+ {
+ $this->logging = $logging;
+ }
+ public function getLogging()
+ {
+ return $this->logging;
+ }
+ public function setLogs($logs)
+ {
+ $this->logs = $logs;
+ }
+ public function getLogs()
+ {
+ return $this->logs;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setMonitoredResources($monitoredResources)
+ {
+ $this->monitoredResources = $monitoredResources;
+ }
+ public function getMonitoredResources()
+ {
+ return $this->monitoredResources;
+ }
+ public function setMonitoring(Google_Service_ServiceUser_Monitoring $monitoring)
+ {
+ $this->monitoring = $monitoring;
+ }
+ public function getMonitoring()
+ {
+ return $this->monitoring;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProducerProjectId($producerProjectId)
+ {
+ $this->producerProjectId = $producerProjectId;
+ }
+ public function getProducerProjectId()
+ {
+ return $this->producerProjectId;
+ }
+ public function setSourceInfo(Google_Service_ServiceUser_SourceInfo $sourceInfo)
+ {
+ $this->sourceInfo = $sourceInfo;
+ }
+ public function getSourceInfo()
+ {
+ return $this->sourceInfo;
+ }
+ public function setSystemParameters(Google_Service_ServiceUser_SystemParameters $systemParameters)
+ {
+ $this->systemParameters = $systemParameters;
+ }
+ public function getSystemParameters()
+ {
+ return $this->systemParameters;
+ }
+ public function setSystemTypes($systemTypes)
+ {
+ $this->systemTypes = $systemTypes;
+ }
+ public function getSystemTypes()
+ {
+ return $this->systemTypes;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setTypes($types)
+ {
+ $this->types = $types;
+ }
+ public function getTypes()
+ {
+ return $this->types;
+ }
+ public function setUsage(Google_Service_ServiceUser_Usage $usage)
+ {
+ $this->usage = $usage;
+ }
+ public function getUsage()
+ {
+ return $this->usage;
+ }
+ public function setVisibility(Google_Service_ServiceUser_Visibility $visibility)
+ {
+ $this->visibility = $visibility;
+ }
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SourceContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SourceContext.php
new file mode 100644
index 00000000..fb1f7993
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SourceContext.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_SourceContext extends Google_Model
+{
+ public $fileName;
+
+ public function setFileName($fileName)
+ {
+ $this->fileName = $fileName;
+ }
+ public function getFileName()
+ {
+ return $this->fileName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SourceInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SourceInfo.php
new file mode 100644
index 00000000..7d77d9e2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SourceInfo.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_SourceInfo extends Google_Collection
+{
+ protected $collection_key = 'sourceFiles';
+ public $sourceFiles;
+
+ public function setSourceFiles($sourceFiles)
+ {
+ $this->sourceFiles = $sourceFiles;
+ }
+ public function getSourceFiles()
+ {
+ return $this->sourceFiles;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Status.php
new file mode 100644
index 00000000..2e0b2697
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Step.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Step.php
new file mode 100644
index 00000000..186d1769
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Step.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Step extends Google_Model
+{
+ public $description;
+ public $status;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameter.php
new file mode 100644
index 00000000..80357ba6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameter.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_SystemParameter extends Google_Model
+{
+ public $httpHeader;
+ public $name;
+ public $urlQueryParameter;
+
+ public function setHttpHeader($httpHeader)
+ {
+ $this->httpHeader = $httpHeader;
+ }
+ public function getHttpHeader()
+ {
+ return $this->httpHeader;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setUrlQueryParameter($urlQueryParameter)
+ {
+ $this->urlQueryParameter = $urlQueryParameter;
+ }
+ public function getUrlQueryParameter()
+ {
+ return $this->urlQueryParameter;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameterRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameterRule.php
new file mode 100644
index 00000000..90eeea36
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameterRule.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_SystemParameterRule extends Google_Collection
+{
+ protected $collection_key = 'parameters';
+ protected $parametersType = 'Google_Service_ServiceUser_SystemParameter';
+ protected $parametersDataType = 'array';
+ public $selector;
+
+ public function setParameters($parameters)
+ {
+ $this->parameters = $parameters;
+ }
+ public function getParameters()
+ {
+ return $this->parameters;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameters.php
new file mode 100644
index 00000000..4a7ee021
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameters.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_SystemParameters extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $rulesType = 'Google_Service_ServiceUser_SystemParameterRule';
+ protected $rulesDataType = 'array';
+
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Type.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Type.php
new file mode 100644
index 00000000..b5b6c763
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Type.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Type extends Google_Collection
+{
+ protected $collection_key = 'options';
+ protected $fieldsType = 'Google_Service_ServiceUser_Field';
+ protected $fieldsDataType = 'array';
+ public $name;
+ public $oneofs;
+ protected $optionsType = 'Google_Service_ServiceUser_Option';
+ protected $optionsDataType = 'array';
+ protected $sourceContextType = 'Google_Service_ServiceUser_SourceContext';
+ protected $sourceContextDataType = '';
+ public $syntax;
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOneofs($oneofs)
+ {
+ $this->oneofs = $oneofs;
+ }
+ public function getOneofs()
+ {
+ return $this->oneofs;
+ }
+ public function setOptions($options)
+ {
+ $this->options = $options;
+ }
+ public function getOptions()
+ {
+ return $this->options;
+ }
+ public function setSourceContext(Google_Service_ServiceUser_SourceContext $sourceContext)
+ {
+ $this->sourceContext = $sourceContext;
+ }
+ public function getSourceContext()
+ {
+ return $this->sourceContext;
+ }
+ public function setSyntax($syntax)
+ {
+ $this->syntax = $syntax;
+ }
+ public function getSyntax()
+ {
+ return $this->syntax;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Usage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Usage.php
new file mode 100644
index 00000000..edbba99a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Usage.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Usage extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ public $producerNotificationChannel;
+ public $requirements;
+ protected $rulesType = 'Google_Service_ServiceUser_UsageRule';
+ protected $rulesDataType = 'array';
+
+ public function setProducerNotificationChannel($producerNotificationChannel)
+ {
+ $this->producerNotificationChannel = $producerNotificationChannel;
+ }
+ public function getProducerNotificationChannel()
+ {
+ return $this->producerNotificationChannel;
+ }
+ public function setRequirements($requirements)
+ {
+ $this->requirements = $requirements;
+ }
+ public function getRequirements()
+ {
+ return $this->requirements;
+ }
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/UsageRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/UsageRule.php
new file mode 100644
index 00000000..488211d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/UsageRule.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_UsageRule extends Google_Model
+{
+ public $allowUnregisteredCalls;
+ public $selector;
+
+ public function setAllowUnregisteredCalls($allowUnregisteredCalls)
+ {
+ $this->allowUnregisteredCalls = $allowUnregisteredCalls;
+ }
+ public function getAllowUnregisteredCalls()
+ {
+ return $this->allowUnregisteredCalls;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Visibility.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Visibility.php
new file mode 100644
index 00000000..02bbd8a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Visibility.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_Visibility extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $rulesType = 'Google_Service_ServiceUser_VisibilityRule';
+ protected $rulesDataType = 'array';
+
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/VisibilityRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/VisibilityRule.php
new file mode 100644
index 00000000..89c9a4c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/VisibilityRule.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ServiceUser_VisibilityRule extends Google_Model
+{
+ public $restriction;
+ public $selector;
+
+ public function setRestriction($restriction)
+ {
+ $this->restriction = $restriction;
+ }
+ public function getRestriction()
+ {
+ return $this->restriction;
+ }
+ public function setSelector($selector)
+ {
+ $this->selector = $selector;
+ }
+ public function getSelector()
+ {
+ return $this->selector;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets.php
new file mode 100644
index 00000000..61bd238d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets.php
@@ -0,0 +1,297 @@
+<?php
+/*
+ * Copyright 2016 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 Sheets (v4).
+ *
+ * <p>
+ * Reads and writes Google Sheets.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/sheets/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Sheets extends Google_Service
+{
+ /** View and manage the files in your Google Drive. */
+ const DRIVE =
+ "https://www.googleapis.com/auth/drive";
+ /** View the files in your Google Drive. */
+ const DRIVE_READONLY =
+ "https://www.googleapis.com/auth/drive.readonly";
+ /** View and manage your spreadsheets in Google Drive. */
+ const SPREADSHEETS =
+ "https://www.googleapis.com/auth/spreadsheets";
+ /** View your Google Spreadsheets. */
+ const SPREADSHEETS_READONLY =
+ "https://www.googleapis.com/auth/spreadsheets.readonly";
+
+ public $spreadsheets;
+ public $spreadsheets_sheets;
+ public $spreadsheets_values;
+
+ /**
+ * Constructs the internal representation of the Sheets service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://sheets.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v4';
+ $this->serviceName = 'sheets';
+
+ $this->spreadsheets = new Google_Service_Sheets_Resource_Spreadsheets(
+ $this,
+ $this->serviceName,
+ 'spreadsheets',
+ array(
+ 'methods' => array(
+ 'batchUpdate' => array(
+ 'path' => 'v4/spreadsheets/{spreadsheetId}:batchUpdate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'spreadsheetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'v4/spreadsheets',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => 'v4/spreadsheets/{spreadsheetId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'spreadsheetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ranges' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'includeGridData' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->spreadsheets_sheets = new Google_Service_Sheets_Resource_SpreadsheetsSheets(
+ $this,
+ $this->serviceName,
+ 'sheets',
+ array(
+ 'methods' => array(
+ 'copyTo' => array(
+ 'path' => 'v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'spreadsheetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sheetId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->spreadsheets_values = new Google_Service_Sheets_Resource_SpreadsheetsValues(
+ $this,
+ $this->serviceName,
+ 'values',
+ array(
+ 'methods' => array(
+ 'append' => array(
+ 'path' => 'v4/spreadsheets/{spreadsheetId}/values/{range}:append',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'spreadsheetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'range' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'includeValuesInResponse' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'responseValueRenderOption' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'insertDataOption' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'valueInputOption' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'responseDateTimeRenderOption' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'batchClear' => array(
+ 'path' => 'v4/spreadsheets/{spreadsheetId}/values:batchClear',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'spreadsheetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'batchGet' => array(
+ 'path' => 'v4/spreadsheets/{spreadsheetId}/values:batchGet',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'spreadsheetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'valueRenderOption' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'dateTimeRenderOption' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ranges' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'majorDimension' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'batchUpdate' => array(
+ 'path' => 'v4/spreadsheets/{spreadsheetId}/values:batchUpdate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'spreadsheetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'clear' => array(
+ 'path' => 'v4/spreadsheets/{spreadsheetId}/values/{range}:clear',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'spreadsheetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'range' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v4/spreadsheets/{spreadsheetId}/values/{range}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'spreadsheetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'range' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'valueRenderOption' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'dateTimeRenderOption' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'majorDimension' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'v4/spreadsheets/{spreadsheetId}/values/{range}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'spreadsheetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'range' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'responseValueRenderOption' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'valueInputOption' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'responseDateTimeRenderOption' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeValuesInResponse' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddBandingRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddBandingRequest.php
new file mode 100644
index 00000000..37ebaab0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddBandingRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AddBandingRequest extends Google_Model
+{
+ protected $bandedRangeType = 'Google_Service_Sheets_BandedRange';
+ protected $bandedRangeDataType = '';
+
+ public function setBandedRange(Google_Service_Sheets_BandedRange $bandedRange)
+ {
+ $this->bandedRange = $bandedRange;
+ }
+ public function getBandedRange()
+ {
+ return $this->bandedRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddBandingResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddBandingResponse.php
new file mode 100644
index 00000000..113cf126
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddBandingResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AddBandingResponse extends Google_Model
+{
+ protected $bandedRangeType = 'Google_Service_Sheets_BandedRange';
+ protected $bandedRangeDataType = '';
+
+ public function setBandedRange(Google_Service_Sheets_BandedRange $bandedRange)
+ {
+ $this->bandedRange = $bandedRange;
+ }
+ public function getBandedRange()
+ {
+ return $this->bandedRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddChartRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddChartRequest.php
new file mode 100644
index 00000000..2bfa3275
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddChartRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AddChartRequest extends Google_Model
+{
+ protected $chartType = 'Google_Service_Sheets_EmbeddedChart';
+ protected $chartDataType = '';
+
+ public function setChart(Google_Service_Sheets_EmbeddedChart $chart)
+ {
+ $this->chart = $chart;
+ }
+ public function getChart()
+ {
+ return $this->chart;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddChartResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddChartResponse.php
new file mode 100644
index 00000000..9d3f1302
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddChartResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AddChartResponse extends Google_Model
+{
+ protected $chartType = 'Google_Service_Sheets_EmbeddedChart';
+ protected $chartDataType = '';
+
+ public function setChart(Google_Service_Sheets_EmbeddedChart $chart)
+ {
+ $this->chart = $chart;
+ }
+ public function getChart()
+ {
+ return $this->chart;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddConditionalFormatRuleRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddConditionalFormatRuleRequest.php
new file mode 100644
index 00000000..3a182df3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddConditionalFormatRuleRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AddConditionalFormatRuleRequest extends Google_Model
+{
+ public $index;
+ protected $ruleType = 'Google_Service_Sheets_ConditionalFormatRule';
+ protected $ruleDataType = '';
+
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+ public function setRule(Google_Service_Sheets_ConditionalFormatRule $rule)
+ {
+ $this->rule = $rule;
+ }
+ public function getRule()
+ {
+ return $this->rule;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddFilterViewRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddFilterViewRequest.php
new file mode 100644
index 00000000..6128be09
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddFilterViewRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AddFilterViewRequest extends Google_Model
+{
+ protected $filterType = 'Google_Service_Sheets_FilterView';
+ protected $filterDataType = '';
+
+ public function setFilter(Google_Service_Sheets_FilterView $filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddFilterViewResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddFilterViewResponse.php
new file mode 100644
index 00000000..590570c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddFilterViewResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AddFilterViewResponse extends Google_Model
+{
+ protected $filterType = 'Google_Service_Sheets_FilterView';
+ protected $filterDataType = '';
+
+ public function setFilter(Google_Service_Sheets_FilterView $filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddNamedRangeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddNamedRangeRequest.php
new file mode 100644
index 00000000..b13259d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddNamedRangeRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AddNamedRangeRequest extends Google_Model
+{
+ protected $namedRangeType = 'Google_Service_Sheets_NamedRange';
+ protected $namedRangeDataType = '';
+
+ public function setNamedRange(Google_Service_Sheets_NamedRange $namedRange)
+ {
+ $this->namedRange = $namedRange;
+ }
+ public function getNamedRange()
+ {
+ return $this->namedRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddNamedRangeResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddNamedRangeResponse.php
new file mode 100644
index 00000000..67899f1e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddNamedRangeResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AddNamedRangeResponse extends Google_Model
+{
+ protected $namedRangeType = 'Google_Service_Sheets_NamedRange';
+ protected $namedRangeDataType = '';
+
+ public function setNamedRange(Google_Service_Sheets_NamedRange $namedRange)
+ {
+ $this->namedRange = $namedRange;
+ }
+ public function getNamedRange()
+ {
+ return $this->namedRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddProtectedRangeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddProtectedRangeRequest.php
new file mode 100644
index 00000000..09d71864
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddProtectedRangeRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AddProtectedRangeRequest extends Google_Model
+{
+ protected $protectedRangeType = 'Google_Service_Sheets_ProtectedRange';
+ protected $protectedRangeDataType = '';
+
+ public function setProtectedRange(Google_Service_Sheets_ProtectedRange $protectedRange)
+ {
+ $this->protectedRange = $protectedRange;
+ }
+ public function getProtectedRange()
+ {
+ return $this->protectedRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddProtectedRangeResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddProtectedRangeResponse.php
new file mode 100644
index 00000000..9cae479a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddProtectedRangeResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AddProtectedRangeResponse extends Google_Model
+{
+ protected $protectedRangeType = 'Google_Service_Sheets_ProtectedRange';
+ protected $protectedRangeDataType = '';
+
+ public function setProtectedRange(Google_Service_Sheets_ProtectedRange $protectedRange)
+ {
+ $this->protectedRange = $protectedRange;
+ }
+ public function getProtectedRange()
+ {
+ return $this->protectedRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddSheetRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddSheetRequest.php
new file mode 100644
index 00000000..fafb3a6c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddSheetRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AddSheetRequest extends Google_Model
+{
+ protected $propertiesType = 'Google_Service_Sheets_SheetProperties';
+ protected $propertiesDataType = '';
+
+ public function setProperties(Google_Service_Sheets_SheetProperties $properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddSheetResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddSheetResponse.php
new file mode 100644
index 00000000..bf097025
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddSheetResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AddSheetResponse extends Google_Model
+{
+ protected $propertiesType = 'Google_Service_Sheets_SheetProperties';
+ protected $propertiesDataType = '';
+
+ public function setProperties(Google_Service_Sheets_SheetProperties $properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendCellsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendCellsRequest.php
new file mode 100644
index 00000000..b4d917a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendCellsRequest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AppendCellsRequest extends Google_Collection
+{
+ protected $collection_key = 'rows';
+ public $fields;
+ protected $rowsType = 'Google_Service_Sheets_RowData';
+ protected $rowsDataType = 'array';
+ public $sheetId;
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+ public function setSheetId($sheetId)
+ {
+ $this->sheetId = $sheetId;
+ }
+ public function getSheetId()
+ {
+ return $this->sheetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendDimensionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendDimensionRequest.php
new file mode 100644
index 00000000..0fcf960c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendDimensionRequest.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AppendDimensionRequest extends Google_Model
+{
+ public $dimension;
+ public $length;
+ public $sheetId;
+
+ public function setDimension($dimension)
+ {
+ $this->dimension = $dimension;
+ }
+ public function getDimension()
+ {
+ return $this->dimension;
+ }
+ public function setLength($length)
+ {
+ $this->length = $length;
+ }
+ public function getLength()
+ {
+ return $this->length;
+ }
+ public function setSheetId($sheetId)
+ {
+ $this->sheetId = $sheetId;
+ }
+ public function getSheetId()
+ {
+ return $this->sheetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendValuesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendValuesResponse.php
new file mode 100644
index 00000000..8c88ac22
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendValuesResponse.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AppendValuesResponse extends Google_Model
+{
+ public $spreadsheetId;
+ public $tableRange;
+ protected $updatesType = 'Google_Service_Sheets_UpdateValuesResponse';
+ protected $updatesDataType = '';
+
+ public function setSpreadsheetId($spreadsheetId)
+ {
+ $this->spreadsheetId = $spreadsheetId;
+ }
+ public function getSpreadsheetId()
+ {
+ return $this->spreadsheetId;
+ }
+ public function setTableRange($tableRange)
+ {
+ $this->tableRange = $tableRange;
+ }
+ public function getTableRange()
+ {
+ return $this->tableRange;
+ }
+ public function setUpdates(Google_Service_Sheets_UpdateValuesResponse $updates)
+ {
+ $this->updates = $updates;
+ }
+ public function getUpdates()
+ {
+ return $this->updates;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AutoFillRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AutoFillRequest.php
new file mode 100644
index 00000000..ef69a642
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AutoFillRequest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AutoFillRequest extends Google_Model
+{
+ protected $rangeType = 'Google_Service_Sheets_GridRange';
+ protected $rangeDataType = '';
+ protected $sourceAndDestinationType = 'Google_Service_Sheets_SourceAndDestination';
+ protected $sourceAndDestinationDataType = '';
+ public $useAlternateSeries;
+
+ public function setRange(Google_Service_Sheets_GridRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+ public function setSourceAndDestination(Google_Service_Sheets_SourceAndDestination $sourceAndDestination)
+ {
+ $this->sourceAndDestination = $sourceAndDestination;
+ }
+ public function getSourceAndDestination()
+ {
+ return $this->sourceAndDestination;
+ }
+ public function setUseAlternateSeries($useAlternateSeries)
+ {
+ $this->useAlternateSeries = $useAlternateSeries;
+ }
+ public function getUseAlternateSeries()
+ {
+ return $this->useAlternateSeries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AutoResizeDimensionsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AutoResizeDimensionsRequest.php
new file mode 100644
index 00000000..acd9caec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AutoResizeDimensionsRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_AutoResizeDimensionsRequest extends Google_Model
+{
+ protected $dimensionsType = 'Google_Service_Sheets_DimensionRange';
+ protected $dimensionsDataType = '';
+
+ public function setDimensions(Google_Service_Sheets_DimensionRange $dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BandedRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BandedRange.php
new file mode 100644
index 00000000..c3dfb2f9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BandedRange.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_BandedRange extends Google_Model
+{
+ public $bandedRangeId;
+ protected $columnPropertiesType = 'Google_Service_Sheets_BandingProperties';
+ protected $columnPropertiesDataType = '';
+ protected $rangeType = 'Google_Service_Sheets_GridRange';
+ protected $rangeDataType = '';
+ protected $rowPropertiesType = 'Google_Service_Sheets_BandingProperties';
+ protected $rowPropertiesDataType = '';
+
+ public function setBandedRangeId($bandedRangeId)
+ {
+ $this->bandedRangeId = $bandedRangeId;
+ }
+ public function getBandedRangeId()
+ {
+ return $this->bandedRangeId;
+ }
+ public function setColumnProperties(Google_Service_Sheets_BandingProperties $columnProperties)
+ {
+ $this->columnProperties = $columnProperties;
+ }
+ public function getColumnProperties()
+ {
+ return $this->columnProperties;
+ }
+ public function setRange(Google_Service_Sheets_GridRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+ public function setRowProperties(Google_Service_Sheets_BandingProperties $rowProperties)
+ {
+ $this->rowProperties = $rowProperties;
+ }
+ public function getRowProperties()
+ {
+ return $this->rowProperties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BandingProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BandingProperties.php
new file mode 100644
index 00000000..e146ffcb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BandingProperties.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_BandingProperties extends Google_Model
+{
+ protected $firstBandColorType = 'Google_Service_Sheets_Color';
+ protected $firstBandColorDataType = '';
+ protected $footerColorType = 'Google_Service_Sheets_Color';
+ protected $footerColorDataType = '';
+ protected $headerColorType = 'Google_Service_Sheets_Color';
+ protected $headerColorDataType = '';
+ protected $secondBandColorType = 'Google_Service_Sheets_Color';
+ protected $secondBandColorDataType = '';
+
+ public function setFirstBandColor(Google_Service_Sheets_Color $firstBandColor)
+ {
+ $this->firstBandColor = $firstBandColor;
+ }
+ public function getFirstBandColor()
+ {
+ return $this->firstBandColor;
+ }
+ public function setFooterColor(Google_Service_Sheets_Color $footerColor)
+ {
+ $this->footerColor = $footerColor;
+ }
+ public function getFooterColor()
+ {
+ return $this->footerColor;
+ }
+ public function setHeaderColor(Google_Service_Sheets_Color $headerColor)
+ {
+ $this->headerColor = $headerColor;
+ }
+ public function getHeaderColor()
+ {
+ return $this->headerColor;
+ }
+ public function setSecondBandColor(Google_Service_Sheets_Color $secondBandColor)
+ {
+ $this->secondBandColor = $secondBandColor;
+ }
+ public function getSecondBandColor()
+ {
+ return $this->secondBandColor;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartAxis.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartAxis.php
new file mode 100644
index 00000000..2c2482a0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartAxis.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_BasicChartAxis extends Google_Model
+{
+ protected $formatType = 'Google_Service_Sheets_TextFormat';
+ protected $formatDataType = '';
+ public $position;
+ public $title;
+
+ public function setFormat(Google_Service_Sheets_TextFormat $format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setPosition($position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartDomain.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartDomain.php
new file mode 100644
index 00000000..4a770999
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartDomain.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_BasicChartDomain extends Google_Model
+{
+ protected $domainType = 'Google_Service_Sheets_ChartData';
+ protected $domainDataType = '';
+
+ public function setDomain(Google_Service_Sheets_ChartData $domain)
+ {
+ $this->domain = $domain;
+ }
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartSeries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartSeries.php
new file mode 100644
index 00000000..02080351
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartSeries.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_BasicChartSeries extends Google_Model
+{
+ protected $seriesType = 'Google_Service_Sheets_ChartData';
+ protected $seriesDataType = '';
+ public $targetAxis;
+ public $type;
+
+ public function setSeries(Google_Service_Sheets_ChartData $series)
+ {
+ $this->series = $series;
+ }
+ public function getSeries()
+ {
+ return $this->series;
+ }
+ public function setTargetAxis($targetAxis)
+ {
+ $this->targetAxis = $targetAxis;
+ }
+ public function getTargetAxis()
+ {
+ return $this->targetAxis;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartSpec.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartSpec.php
new file mode 100644
index 00000000..e54738ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartSpec.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_BasicChartSpec extends Google_Collection
+{
+ protected $collection_key = 'series';
+ protected $axisType = 'Google_Service_Sheets_BasicChartAxis';
+ protected $axisDataType = 'array';
+ public $chartType;
+ protected $domainsType = 'Google_Service_Sheets_BasicChartDomain';
+ protected $domainsDataType = 'array';
+ public $headerCount;
+ public $legendPosition;
+ protected $seriesType = 'Google_Service_Sheets_BasicChartSeries';
+ protected $seriesDataType = 'array';
+
+ public function setAxis($axis)
+ {
+ $this->axis = $axis;
+ }
+ public function getAxis()
+ {
+ return $this->axis;
+ }
+ public function setChartType($chartType)
+ {
+ $this->chartType = $chartType;
+ }
+ public function getChartType()
+ {
+ return $this->chartType;
+ }
+ public function setDomains($domains)
+ {
+ $this->domains = $domains;
+ }
+ public function getDomains()
+ {
+ return $this->domains;
+ }
+ public function setHeaderCount($headerCount)
+ {
+ $this->headerCount = $headerCount;
+ }
+ public function getHeaderCount()
+ {
+ return $this->headerCount;
+ }
+ public function setLegendPosition($legendPosition)
+ {
+ $this->legendPosition = $legendPosition;
+ }
+ public function getLegendPosition()
+ {
+ return $this->legendPosition;
+ }
+ public function setSeries($series)
+ {
+ $this->series = $series;
+ }
+ public function getSeries()
+ {
+ return $this->series;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicFilter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicFilter.php
new file mode 100644
index 00000000..b6f46494
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicFilter.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_BasicFilter extends Google_Collection
+{
+ protected $collection_key = 'sortSpecs';
+ protected $criteriaType = 'Google_Service_Sheets_FilterCriteria';
+ protected $criteriaDataType = 'map';
+ protected $rangeType = 'Google_Service_Sheets_GridRange';
+ protected $rangeDataType = '';
+ protected $sortSpecsType = 'Google_Service_Sheets_SortSpec';
+ protected $sortSpecsDataType = 'array';
+
+ public function setCriteria($criteria)
+ {
+ $this->criteria = $criteria;
+ }
+ public function getCriteria()
+ {
+ return $this->criteria;
+ }
+ public function setRange(Google_Service_Sheets_GridRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+ public function setSortSpecs($sortSpecs)
+ {
+ $this->sortSpecs = $sortSpecs;
+ }
+ public function getSortSpecs()
+ {
+ return $this->sortSpecs;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchClearValuesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchClearValuesRequest.php
new file mode 100644
index 00000000..aa48408b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchClearValuesRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_BatchClearValuesRequest extends Google_Collection
+{
+ protected $collection_key = 'ranges';
+ public $ranges;
+
+ public function setRanges($ranges)
+ {
+ $this->ranges = $ranges;
+ }
+ public function getRanges()
+ {
+ return $this->ranges;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchClearValuesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchClearValuesResponse.php
new file mode 100644
index 00000000..f3d5c571
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchClearValuesResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_BatchClearValuesResponse extends Google_Collection
+{
+ protected $collection_key = 'clearedRanges';
+ public $clearedRanges;
+ public $spreadsheetId;
+
+ public function setClearedRanges($clearedRanges)
+ {
+ $this->clearedRanges = $clearedRanges;
+ }
+ public function getClearedRanges()
+ {
+ return $this->clearedRanges;
+ }
+ public function setSpreadsheetId($spreadsheetId)
+ {
+ $this->spreadsheetId = $spreadsheetId;
+ }
+ public function getSpreadsheetId()
+ {
+ return $this->spreadsheetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchGetValuesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchGetValuesResponse.php
new file mode 100644
index 00000000..70da92cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchGetValuesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_BatchGetValuesResponse extends Google_Collection
+{
+ protected $collection_key = 'valueRanges';
+ public $spreadsheetId;
+ protected $valueRangesType = 'Google_Service_Sheets_ValueRange';
+ protected $valueRangesDataType = 'array';
+
+ public function setSpreadsheetId($spreadsheetId)
+ {
+ $this->spreadsheetId = $spreadsheetId;
+ }
+ public function getSpreadsheetId()
+ {
+ return $this->spreadsheetId;
+ }
+ public function setValueRanges($valueRanges)
+ {
+ $this->valueRanges = $valueRanges;
+ }
+ public function getValueRanges()
+ {
+ return $this->valueRanges;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateSpreadsheetRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateSpreadsheetRequest.php
new file mode 100644
index 00000000..a8547419
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateSpreadsheetRequest.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_BatchUpdateSpreadsheetRequest extends Google_Collection
+{
+ protected $collection_key = 'responseRanges';
+ public $includeSpreadsheetInResponse;
+ protected $requestsType = 'Google_Service_Sheets_Request';
+ protected $requestsDataType = 'array';
+ public $responseIncludeGridData;
+ public $responseRanges;
+
+ public function setIncludeSpreadsheetInResponse($includeSpreadsheetInResponse)
+ {
+ $this->includeSpreadsheetInResponse = $includeSpreadsheetInResponse;
+ }
+ public function getIncludeSpreadsheetInResponse()
+ {
+ return $this->includeSpreadsheetInResponse;
+ }
+ public function setRequests($requests)
+ {
+ $this->requests = $requests;
+ }
+ public function getRequests()
+ {
+ return $this->requests;
+ }
+ public function setResponseIncludeGridData($responseIncludeGridData)
+ {
+ $this->responseIncludeGridData = $responseIncludeGridData;
+ }
+ public function getResponseIncludeGridData()
+ {
+ return $this->responseIncludeGridData;
+ }
+ public function setResponseRanges($responseRanges)
+ {
+ $this->responseRanges = $responseRanges;
+ }
+ public function getResponseRanges()
+ {
+ return $this->responseRanges;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateSpreadsheetResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateSpreadsheetResponse.php
new file mode 100644
index 00000000..adc77749
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateSpreadsheetResponse.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_BatchUpdateSpreadsheetResponse extends Google_Collection
+{
+ protected $collection_key = 'replies';
+ protected $repliesType = 'Google_Service_Sheets_Response';
+ protected $repliesDataType = 'array';
+ public $spreadsheetId;
+ protected $updatedSpreadsheetType = 'Google_Service_Sheets_Spreadsheet';
+ protected $updatedSpreadsheetDataType = '';
+
+ public function setReplies($replies)
+ {
+ $this->replies = $replies;
+ }
+ public function getReplies()
+ {
+ return $this->replies;
+ }
+ public function setSpreadsheetId($spreadsheetId)
+ {
+ $this->spreadsheetId = $spreadsheetId;
+ }
+ public function getSpreadsheetId()
+ {
+ return $this->spreadsheetId;
+ }
+ public function setUpdatedSpreadsheet(Google_Service_Sheets_Spreadsheet $updatedSpreadsheet)
+ {
+ $this->updatedSpreadsheet = $updatedSpreadsheet;
+ }
+ public function getUpdatedSpreadsheet()
+ {
+ return $this->updatedSpreadsheet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateValuesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateValuesRequest.php
new file mode 100644
index 00000000..e7052497
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateValuesRequest.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_BatchUpdateValuesRequest extends Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $dataType = 'Google_Service_Sheets_ValueRange';
+ protected $dataDataType = 'array';
+ public $includeValuesInResponse;
+ public $responseDateTimeRenderOption;
+ public $responseValueRenderOption;
+ public $valueInputOption;
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setIncludeValuesInResponse($includeValuesInResponse)
+ {
+ $this->includeValuesInResponse = $includeValuesInResponse;
+ }
+ public function getIncludeValuesInResponse()
+ {
+ return $this->includeValuesInResponse;
+ }
+ public function setResponseDateTimeRenderOption($responseDateTimeRenderOption)
+ {
+ $this->responseDateTimeRenderOption = $responseDateTimeRenderOption;
+ }
+ public function getResponseDateTimeRenderOption()
+ {
+ return $this->responseDateTimeRenderOption;
+ }
+ public function setResponseValueRenderOption($responseValueRenderOption)
+ {
+ $this->responseValueRenderOption = $responseValueRenderOption;
+ }
+ public function getResponseValueRenderOption()
+ {
+ return $this->responseValueRenderOption;
+ }
+ public function setValueInputOption($valueInputOption)
+ {
+ $this->valueInputOption = $valueInputOption;
+ }
+ public function getValueInputOption()
+ {
+ return $this->valueInputOption;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateValuesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateValuesResponse.php
new file mode 100644
index 00000000..3d9364b4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateValuesResponse.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_BatchUpdateValuesResponse extends Google_Collection
+{
+ protected $collection_key = 'responses';
+ protected $responsesType = 'Google_Service_Sheets_UpdateValuesResponse';
+ protected $responsesDataType = 'array';
+ public $spreadsheetId;
+ public $totalUpdatedCells;
+ public $totalUpdatedColumns;
+ public $totalUpdatedRows;
+ public $totalUpdatedSheets;
+
+ public function setResponses($responses)
+ {
+ $this->responses = $responses;
+ }
+ public function getResponses()
+ {
+ return $this->responses;
+ }
+ public function setSpreadsheetId($spreadsheetId)
+ {
+ $this->spreadsheetId = $spreadsheetId;
+ }
+ public function getSpreadsheetId()
+ {
+ return $this->spreadsheetId;
+ }
+ public function setTotalUpdatedCells($totalUpdatedCells)
+ {
+ $this->totalUpdatedCells = $totalUpdatedCells;
+ }
+ public function getTotalUpdatedCells()
+ {
+ return $this->totalUpdatedCells;
+ }
+ public function setTotalUpdatedColumns($totalUpdatedColumns)
+ {
+ $this->totalUpdatedColumns = $totalUpdatedColumns;
+ }
+ public function getTotalUpdatedColumns()
+ {
+ return $this->totalUpdatedColumns;
+ }
+ public function setTotalUpdatedRows($totalUpdatedRows)
+ {
+ $this->totalUpdatedRows = $totalUpdatedRows;
+ }
+ public function getTotalUpdatedRows()
+ {
+ return $this->totalUpdatedRows;
+ }
+ public function setTotalUpdatedSheets($totalUpdatedSheets)
+ {
+ $this->totalUpdatedSheets = $totalUpdatedSheets;
+ }
+ public function getTotalUpdatedSheets()
+ {
+ return $this->totalUpdatedSheets;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BooleanCondition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BooleanCondition.php
new file mode 100644
index 00000000..d180587f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BooleanCondition.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_BooleanCondition extends Google_Collection
+{
+ protected $collection_key = 'values';
+ public $type;
+ protected $valuesType = 'Google_Service_Sheets_ConditionValue';
+ protected $valuesDataType = 'array';
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BooleanRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BooleanRule.php
new file mode 100644
index 00000000..d24200bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BooleanRule.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_BooleanRule extends Google_Model
+{
+ protected $conditionType = 'Google_Service_Sheets_BooleanCondition';
+ protected $conditionDataType = '';
+ protected $formatType = 'Google_Service_Sheets_CellFormat';
+ protected $formatDataType = '';
+
+ public function setCondition(Google_Service_Sheets_BooleanCondition $condition)
+ {
+ $this->condition = $condition;
+ }
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+ public function setFormat(Google_Service_Sheets_CellFormat $format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Border.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Border.php
new file mode 100644
index 00000000..9ddbfc0e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Border.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_Border extends Google_Model
+{
+ protected $colorType = 'Google_Service_Sheets_Color';
+ protected $colorDataType = '';
+ public $style;
+ public $width;
+
+ public function setColor(Google_Service_Sheets_Color $color)
+ {
+ $this->color = $color;
+ }
+ public function getColor()
+ {
+ return $this->color;
+ }
+ public function setStyle($style)
+ {
+ $this->style = $style;
+ }
+ public function getStyle()
+ {
+ return $this->style;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Borders.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Borders.php
new file mode 100644
index 00000000..46308e90
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Borders.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_Borders extends Google_Model
+{
+ protected $bottomType = 'Google_Service_Sheets_Border';
+ protected $bottomDataType = '';
+ protected $leftType = 'Google_Service_Sheets_Border';
+ protected $leftDataType = '';
+ protected $rightType = 'Google_Service_Sheets_Border';
+ protected $rightDataType = '';
+ protected $topType = 'Google_Service_Sheets_Border';
+ protected $topDataType = '';
+
+ public function setBottom(Google_Service_Sheets_Border $bottom)
+ {
+ $this->bottom = $bottom;
+ }
+ public function getBottom()
+ {
+ return $this->bottom;
+ }
+ public function setLeft(Google_Service_Sheets_Border $left)
+ {
+ $this->left = $left;
+ }
+ public function getLeft()
+ {
+ return $this->left;
+ }
+ public function setRight(Google_Service_Sheets_Border $right)
+ {
+ $this->right = $right;
+ }
+ public function getRight()
+ {
+ return $this->right;
+ }
+ public function setTop(Google_Service_Sheets_Border $top)
+ {
+ $this->top = $top;
+ }
+ public function getTop()
+ {
+ return $this->top;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CellData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CellData.php
new file mode 100644
index 00000000..737155c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CellData.php
@@ -0,0 +1,119 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_CellData extends Google_Collection
+{
+ protected $collection_key = 'textFormatRuns';
+ protected $dataValidationType = 'Google_Service_Sheets_DataValidationRule';
+ protected $dataValidationDataType = '';
+ protected $effectiveFormatType = 'Google_Service_Sheets_CellFormat';
+ protected $effectiveFormatDataType = '';
+ protected $effectiveValueType = 'Google_Service_Sheets_ExtendedValue';
+ protected $effectiveValueDataType = '';
+ public $formattedValue;
+ public $hyperlink;
+ public $note;
+ protected $pivotTableType = 'Google_Service_Sheets_PivotTable';
+ protected $pivotTableDataType = '';
+ protected $textFormatRunsType = 'Google_Service_Sheets_TextFormatRun';
+ protected $textFormatRunsDataType = 'array';
+ protected $userEnteredFormatType = 'Google_Service_Sheets_CellFormat';
+ protected $userEnteredFormatDataType = '';
+ protected $userEnteredValueType = 'Google_Service_Sheets_ExtendedValue';
+ protected $userEnteredValueDataType = '';
+
+ public function setDataValidation(Google_Service_Sheets_DataValidationRule $dataValidation)
+ {
+ $this->dataValidation = $dataValidation;
+ }
+ public function getDataValidation()
+ {
+ return $this->dataValidation;
+ }
+ public function setEffectiveFormat(Google_Service_Sheets_CellFormat $effectiveFormat)
+ {
+ $this->effectiveFormat = $effectiveFormat;
+ }
+ public function getEffectiveFormat()
+ {
+ return $this->effectiveFormat;
+ }
+ public function setEffectiveValue(Google_Service_Sheets_ExtendedValue $effectiveValue)
+ {
+ $this->effectiveValue = $effectiveValue;
+ }
+ public function getEffectiveValue()
+ {
+ return $this->effectiveValue;
+ }
+ public function setFormattedValue($formattedValue)
+ {
+ $this->formattedValue = $formattedValue;
+ }
+ public function getFormattedValue()
+ {
+ return $this->formattedValue;
+ }
+ public function setHyperlink($hyperlink)
+ {
+ $this->hyperlink = $hyperlink;
+ }
+ public function getHyperlink()
+ {
+ return $this->hyperlink;
+ }
+ public function setNote($note)
+ {
+ $this->note = $note;
+ }
+ public function getNote()
+ {
+ return $this->note;
+ }
+ public function setPivotTable(Google_Service_Sheets_PivotTable $pivotTable)
+ {
+ $this->pivotTable = $pivotTable;
+ }
+ public function getPivotTable()
+ {
+ return $this->pivotTable;
+ }
+ public function setTextFormatRuns($textFormatRuns)
+ {
+ $this->textFormatRuns = $textFormatRuns;
+ }
+ public function getTextFormatRuns()
+ {
+ return $this->textFormatRuns;
+ }
+ public function setUserEnteredFormat(Google_Service_Sheets_CellFormat $userEnteredFormat)
+ {
+ $this->userEnteredFormat = $userEnteredFormat;
+ }
+ public function getUserEnteredFormat()
+ {
+ return $this->userEnteredFormat;
+ }
+ public function setUserEnteredValue(Google_Service_Sheets_ExtendedValue $userEnteredValue)
+ {
+ $this->userEnteredValue = $userEnteredValue;
+ }
+ public function getUserEnteredValue()
+ {
+ return $this->userEnteredValue;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CellFormat.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CellFormat.php
new file mode 100644
index 00000000..395fb851
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CellFormat.php
@@ -0,0 +1,126 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_CellFormat extends Google_Model
+{
+ protected $backgroundColorType = 'Google_Service_Sheets_Color';
+ protected $backgroundColorDataType = '';
+ protected $bordersType = 'Google_Service_Sheets_Borders';
+ protected $bordersDataType = '';
+ public $horizontalAlignment;
+ public $hyperlinkDisplayType;
+ protected $numberFormatType = 'Google_Service_Sheets_NumberFormat';
+ protected $numberFormatDataType = '';
+ protected $paddingType = 'Google_Service_Sheets_Padding';
+ protected $paddingDataType = '';
+ public $textDirection;
+ protected $textFormatType = 'Google_Service_Sheets_TextFormat';
+ protected $textFormatDataType = '';
+ protected $textRotationType = 'Google_Service_Sheets_TextRotation';
+ protected $textRotationDataType = '';
+ public $verticalAlignment;
+ public $wrapStrategy;
+
+ public function setBackgroundColor(Google_Service_Sheets_Color $backgroundColor)
+ {
+ $this->backgroundColor = $backgroundColor;
+ }
+ public function getBackgroundColor()
+ {
+ return $this->backgroundColor;
+ }
+ public function setBorders(Google_Service_Sheets_Borders $borders)
+ {
+ $this->borders = $borders;
+ }
+ public function getBorders()
+ {
+ return $this->borders;
+ }
+ public function setHorizontalAlignment($horizontalAlignment)
+ {
+ $this->horizontalAlignment = $horizontalAlignment;
+ }
+ public function getHorizontalAlignment()
+ {
+ return $this->horizontalAlignment;
+ }
+ public function setHyperlinkDisplayType($hyperlinkDisplayType)
+ {
+ $this->hyperlinkDisplayType = $hyperlinkDisplayType;
+ }
+ public function getHyperlinkDisplayType()
+ {
+ return $this->hyperlinkDisplayType;
+ }
+ public function setNumberFormat(Google_Service_Sheets_NumberFormat $numberFormat)
+ {
+ $this->numberFormat = $numberFormat;
+ }
+ public function getNumberFormat()
+ {
+ return $this->numberFormat;
+ }
+ public function setPadding(Google_Service_Sheets_Padding $padding)
+ {
+ $this->padding = $padding;
+ }
+ public function getPadding()
+ {
+ return $this->padding;
+ }
+ public function setTextDirection($textDirection)
+ {
+ $this->textDirection = $textDirection;
+ }
+ public function getTextDirection()
+ {
+ return $this->textDirection;
+ }
+ public function setTextFormat(Google_Service_Sheets_TextFormat $textFormat)
+ {
+ $this->textFormat = $textFormat;
+ }
+ public function getTextFormat()
+ {
+ return $this->textFormat;
+ }
+ public function setTextRotation(Google_Service_Sheets_TextRotation $textRotation)
+ {
+ $this->textRotation = $textRotation;
+ }
+ public function getTextRotation()
+ {
+ return $this->textRotation;
+ }
+ public function setVerticalAlignment($verticalAlignment)
+ {
+ $this->verticalAlignment = $verticalAlignment;
+ }
+ public function getVerticalAlignment()
+ {
+ return $this->verticalAlignment;
+ }
+ public function setWrapStrategy($wrapStrategy)
+ {
+ $this->wrapStrategy = $wrapStrategy;
+ }
+ public function getWrapStrategy()
+ {
+ return $this->wrapStrategy;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartData.php
new file mode 100644
index 00000000..c9e96f12
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartData.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_ChartData extends Google_Model
+{
+ protected $sourceRangeType = 'Google_Service_Sheets_ChartSourceRange';
+ protected $sourceRangeDataType = '';
+
+ public function setSourceRange(Google_Service_Sheets_ChartSourceRange $sourceRange)
+ {
+ $this->sourceRange = $sourceRange;
+ }
+ public function getSourceRange()
+ {
+ return $this->sourceRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartSourceRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartSourceRange.php
new file mode 100644
index 00000000..b8be07ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartSourceRange.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_ChartSourceRange extends Google_Collection
+{
+ protected $collection_key = 'sources';
+ protected $sourcesType = 'Google_Service_Sheets_GridRange';
+ protected $sourcesDataType = 'array';
+
+ public function setSources($sources)
+ {
+ $this->sources = $sources;
+ }
+ public function getSources()
+ {
+ return $this->sources;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartSpec.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartSpec.php
new file mode 100644
index 00000000..44e0e944
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartSpec.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_ChartSpec extends Google_Model
+{
+ protected $basicChartType = 'Google_Service_Sheets_BasicChartSpec';
+ protected $basicChartDataType = '';
+ public $hiddenDimensionStrategy;
+ protected $pieChartType = 'Google_Service_Sheets_PieChartSpec';
+ protected $pieChartDataType = '';
+ public $title;
+
+ public function setBasicChart(Google_Service_Sheets_BasicChartSpec $basicChart)
+ {
+ $this->basicChart = $basicChart;
+ }
+ public function getBasicChart()
+ {
+ return $this->basicChart;
+ }
+ public function setHiddenDimensionStrategy($hiddenDimensionStrategy)
+ {
+ $this->hiddenDimensionStrategy = $hiddenDimensionStrategy;
+ }
+ public function getHiddenDimensionStrategy()
+ {
+ return $this->hiddenDimensionStrategy;
+ }
+ public function setPieChart(Google_Service_Sheets_PieChartSpec $pieChart)
+ {
+ $this->pieChart = $pieChart;
+ }
+ public function getPieChart()
+ {
+ return $this->pieChart;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearBasicFilterRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearBasicFilterRequest.php
new file mode 100644
index 00000000..e76fd116
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearBasicFilterRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_ClearBasicFilterRequest extends Google_Model
+{
+ public $sheetId;
+
+ public function setSheetId($sheetId)
+ {
+ $this->sheetId = $sheetId;
+ }
+ public function getSheetId()
+ {
+ return $this->sheetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearValuesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearValuesRequest.php
new file mode 100644
index 00000000..f0d93815
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearValuesRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_ClearValuesRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearValuesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearValuesResponse.php
new file mode 100644
index 00000000..76365b24
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearValuesResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_ClearValuesResponse extends Google_Model
+{
+ public $clearedRange;
+ public $spreadsheetId;
+
+ public function setClearedRange($clearedRange)
+ {
+ $this->clearedRange = $clearedRange;
+ }
+ public function getClearedRange()
+ {
+ return $this->clearedRange;
+ }
+ public function setSpreadsheetId($spreadsheetId)
+ {
+ $this->spreadsheetId = $spreadsheetId;
+ }
+ public function getSpreadsheetId()
+ {
+ return $this->spreadsheetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Color.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Color.php
new file mode 100644
index 00000000..bd8732a1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Color.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_Color extends Google_Model
+{
+ public $alpha;
+ public $blue;
+ public $green;
+ public $red;
+
+ public function setAlpha($alpha)
+ {
+ $this->alpha = $alpha;
+ }
+ public function getAlpha()
+ {
+ return $this->alpha;
+ }
+ public function setBlue($blue)
+ {
+ $this->blue = $blue;
+ }
+ public function getBlue()
+ {
+ return $this->blue;
+ }
+ public function setGreen($green)
+ {
+ $this->green = $green;
+ }
+ public function getGreen()
+ {
+ return $this->green;
+ }
+ public function setRed($red)
+ {
+ $this->red = $red;
+ }
+ public function getRed()
+ {
+ return $this->red;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ConditionValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ConditionValue.php
new file mode 100644
index 00000000..6979ec2b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ConditionValue.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_ConditionValue extends Google_Model
+{
+ public $relativeDate;
+ public $userEnteredValue;
+
+ public function setRelativeDate($relativeDate)
+ {
+ $this->relativeDate = $relativeDate;
+ }
+ public function getRelativeDate()
+ {
+ return $this->relativeDate;
+ }
+ public function setUserEnteredValue($userEnteredValue)
+ {
+ $this->userEnteredValue = $userEnteredValue;
+ }
+ public function getUserEnteredValue()
+ {
+ return $this->userEnteredValue;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ConditionalFormatRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ConditionalFormatRule.php
new file mode 100644
index 00000000..965429d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ConditionalFormatRule.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_ConditionalFormatRule extends Google_Collection
+{
+ protected $collection_key = 'ranges';
+ protected $booleanRuleType = 'Google_Service_Sheets_BooleanRule';
+ protected $booleanRuleDataType = '';
+ protected $gradientRuleType = 'Google_Service_Sheets_GradientRule';
+ protected $gradientRuleDataType = '';
+ protected $rangesType = 'Google_Service_Sheets_GridRange';
+ protected $rangesDataType = 'array';
+
+ public function setBooleanRule(Google_Service_Sheets_BooleanRule $booleanRule)
+ {
+ $this->booleanRule = $booleanRule;
+ }
+ public function getBooleanRule()
+ {
+ return $this->booleanRule;
+ }
+ public function setGradientRule(Google_Service_Sheets_GradientRule $gradientRule)
+ {
+ $this->gradientRule = $gradientRule;
+ }
+ public function getGradientRule()
+ {
+ return $this->gradientRule;
+ }
+ public function setRanges($ranges)
+ {
+ $this->ranges = $ranges;
+ }
+ public function getRanges()
+ {
+ return $this->ranges;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CopyPasteRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CopyPasteRequest.php
new file mode 100644
index 00000000..a0a890ef
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CopyPasteRequest.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_CopyPasteRequest extends Google_Model
+{
+ protected $destinationType = 'Google_Service_Sheets_GridRange';
+ protected $destinationDataType = '';
+ public $pasteOrientation;
+ public $pasteType;
+ protected $sourceType = 'Google_Service_Sheets_GridRange';
+ protected $sourceDataType = '';
+
+ public function setDestination(Google_Service_Sheets_GridRange $destination)
+ {
+ $this->destination = $destination;
+ }
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+ public function setPasteOrientation($pasteOrientation)
+ {
+ $this->pasteOrientation = $pasteOrientation;
+ }
+ public function getPasteOrientation()
+ {
+ return $this->pasteOrientation;
+ }
+ public function setPasteType($pasteType)
+ {
+ $this->pasteType = $pasteType;
+ }
+ public function getPasteType()
+ {
+ return $this->pasteType;
+ }
+ public function setSource(Google_Service_Sheets_GridRange $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CopySheetToAnotherSpreadsheetRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CopySheetToAnotherSpreadsheetRequest.php
new file mode 100644
index 00000000..13a56b1a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CopySheetToAnotherSpreadsheetRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_CopySheetToAnotherSpreadsheetRequest extends Google_Model
+{
+ public $destinationSpreadsheetId;
+
+ public function setDestinationSpreadsheetId($destinationSpreadsheetId)
+ {
+ $this->destinationSpreadsheetId = $destinationSpreadsheetId;
+ }
+ public function getDestinationSpreadsheetId()
+ {
+ return $this->destinationSpreadsheetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CutPasteRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CutPasteRequest.php
new file mode 100644
index 00000000..8e3a2e05
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CutPasteRequest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_CutPasteRequest extends Google_Model
+{
+ protected $destinationType = 'Google_Service_Sheets_GridCoordinate';
+ protected $destinationDataType = '';
+ public $pasteType;
+ protected $sourceType = 'Google_Service_Sheets_GridRange';
+ protected $sourceDataType = '';
+
+ public function setDestination(Google_Service_Sheets_GridCoordinate $destination)
+ {
+ $this->destination = $destination;
+ }
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+ public function setPasteType($pasteType)
+ {
+ $this->pasteType = $pasteType;
+ }
+ public function getPasteType()
+ {
+ return $this->pasteType;
+ }
+ public function setSource(Google_Service_Sheets_GridRange $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DataValidationRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DataValidationRule.php
new file mode 100644
index 00000000..35aba97d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DataValidationRule.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DataValidationRule extends Google_Model
+{
+ protected $conditionType = 'Google_Service_Sheets_BooleanCondition';
+ protected $conditionDataType = '';
+ public $inputMessage;
+ public $showCustomUi;
+ public $strict;
+
+ public function setCondition(Google_Service_Sheets_BooleanCondition $condition)
+ {
+ $this->condition = $condition;
+ }
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+ public function setInputMessage($inputMessage)
+ {
+ $this->inputMessage = $inputMessage;
+ }
+ public function getInputMessage()
+ {
+ return $this->inputMessage;
+ }
+ public function setShowCustomUi($showCustomUi)
+ {
+ $this->showCustomUi = $showCustomUi;
+ }
+ public function getShowCustomUi()
+ {
+ return $this->showCustomUi;
+ }
+ public function setStrict($strict)
+ {
+ $this->strict = $strict;
+ }
+ public function getStrict()
+ {
+ return $this->strict;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteBandingRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteBandingRequest.php
new file mode 100644
index 00000000..71463ac3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteBandingRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DeleteBandingRequest extends Google_Model
+{
+ public $bandedRangeId;
+
+ public function setBandedRangeId($bandedRangeId)
+ {
+ $this->bandedRangeId = $bandedRangeId;
+ }
+ public function getBandedRangeId()
+ {
+ return $this->bandedRangeId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteConditionalFormatRuleRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteConditionalFormatRuleRequest.php
new file mode 100644
index 00000000..971327a5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteConditionalFormatRuleRequest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DeleteConditionalFormatRuleRequest extends Google_Model
+{
+ public $index;
+ public $sheetId;
+
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+ public function setSheetId($sheetId)
+ {
+ $this->sheetId = $sheetId;
+ }
+ public function getSheetId()
+ {
+ return $this->sheetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteConditionalFormatRuleResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteConditionalFormatRuleResponse.php
new file mode 100644
index 00000000..414f9c9a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteConditionalFormatRuleResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DeleteConditionalFormatRuleResponse extends Google_Model
+{
+ protected $ruleType = 'Google_Service_Sheets_ConditionalFormatRule';
+ protected $ruleDataType = '';
+
+ public function setRule(Google_Service_Sheets_ConditionalFormatRule $rule)
+ {
+ $this->rule = $rule;
+ }
+ public function getRule()
+ {
+ return $this->rule;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteDimensionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteDimensionRequest.php
new file mode 100644
index 00000000..e0c79491
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteDimensionRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DeleteDimensionRequest extends Google_Model
+{
+ protected $rangeType = 'Google_Service_Sheets_DimensionRange';
+ protected $rangeDataType = '';
+
+ public function setRange(Google_Service_Sheets_DimensionRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteEmbeddedObjectRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteEmbeddedObjectRequest.php
new file mode 100644
index 00000000..9a056420
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteEmbeddedObjectRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DeleteEmbeddedObjectRequest extends Google_Model
+{
+ public $objectId;
+
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteFilterViewRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteFilterViewRequest.php
new file mode 100644
index 00000000..0be66871
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteFilterViewRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DeleteFilterViewRequest extends Google_Model
+{
+ public $filterId;
+
+ public function setFilterId($filterId)
+ {
+ $this->filterId = $filterId;
+ }
+ public function getFilterId()
+ {
+ return $this->filterId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteNamedRangeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteNamedRangeRequest.php
new file mode 100644
index 00000000..1296fbce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteNamedRangeRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DeleteNamedRangeRequest extends Google_Model
+{
+ public $namedRangeId;
+
+ public function setNamedRangeId($namedRangeId)
+ {
+ $this->namedRangeId = $namedRangeId;
+ }
+ public function getNamedRangeId()
+ {
+ return $this->namedRangeId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteProtectedRangeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteProtectedRangeRequest.php
new file mode 100644
index 00000000..cf375b7c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteProtectedRangeRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DeleteProtectedRangeRequest extends Google_Model
+{
+ public $protectedRangeId;
+
+ public function setProtectedRangeId($protectedRangeId)
+ {
+ $this->protectedRangeId = $protectedRangeId;
+ }
+ public function getProtectedRangeId()
+ {
+ return $this->protectedRangeId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteRangeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteRangeRequest.php
new file mode 100644
index 00000000..d90b01da
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteRangeRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DeleteRangeRequest extends Google_Model
+{
+ protected $rangeType = 'Google_Service_Sheets_GridRange';
+ protected $rangeDataType = '';
+ public $shiftDimension;
+
+ public function setRange(Google_Service_Sheets_GridRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+ public function setShiftDimension($shiftDimension)
+ {
+ $this->shiftDimension = $shiftDimension;
+ }
+ public function getShiftDimension()
+ {
+ return $this->shiftDimension;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteSheetRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteSheetRequest.php
new file mode 100644
index 00000000..3ac8ffac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteSheetRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DeleteSheetRequest extends Google_Model
+{
+ public $sheetId;
+
+ public function setSheetId($sheetId)
+ {
+ $this->sheetId = $sheetId;
+ }
+ public function getSheetId()
+ {
+ return $this->sheetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DimensionProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DimensionProperties.php
new file mode 100644
index 00000000..154eb12e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DimensionProperties.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DimensionProperties extends Google_Model
+{
+ public $hiddenByFilter;
+ public $hiddenByUser;
+ public $pixelSize;
+
+ public function setHiddenByFilter($hiddenByFilter)
+ {
+ $this->hiddenByFilter = $hiddenByFilter;
+ }
+ public function getHiddenByFilter()
+ {
+ return $this->hiddenByFilter;
+ }
+ public function setHiddenByUser($hiddenByUser)
+ {
+ $this->hiddenByUser = $hiddenByUser;
+ }
+ public function getHiddenByUser()
+ {
+ return $this->hiddenByUser;
+ }
+ public function setPixelSize($pixelSize)
+ {
+ $this->pixelSize = $pixelSize;
+ }
+ public function getPixelSize()
+ {
+ return $this->pixelSize;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DimensionRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DimensionRange.php
new file mode 100644
index 00000000..b21351a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DimensionRange.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DimensionRange extends Google_Model
+{
+ public $dimension;
+ public $endIndex;
+ public $sheetId;
+ public $startIndex;
+
+ public function setDimension($dimension)
+ {
+ $this->dimension = $dimension;
+ }
+ public function getDimension()
+ {
+ return $this->dimension;
+ }
+ public function setEndIndex($endIndex)
+ {
+ $this->endIndex = $endIndex;
+ }
+ public function getEndIndex()
+ {
+ return $this->endIndex;
+ }
+ public function setSheetId($sheetId)
+ {
+ $this->sheetId = $sheetId;
+ }
+ public function getSheetId()
+ {
+ return $this->sheetId;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateFilterViewRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateFilterViewRequest.php
new file mode 100644
index 00000000..c9c1366d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateFilterViewRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DuplicateFilterViewRequest extends Google_Model
+{
+ public $filterId;
+
+ public function setFilterId($filterId)
+ {
+ $this->filterId = $filterId;
+ }
+ public function getFilterId()
+ {
+ return $this->filterId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateFilterViewResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateFilterViewResponse.php
new file mode 100644
index 00000000..d220cfa7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateFilterViewResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DuplicateFilterViewResponse extends Google_Model
+{
+ protected $filterType = 'Google_Service_Sheets_FilterView';
+ protected $filterDataType = '';
+
+ public function setFilter(Google_Service_Sheets_FilterView $filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateSheetRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateSheetRequest.php
new file mode 100644
index 00000000..80af6214
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateSheetRequest.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DuplicateSheetRequest extends Google_Model
+{
+ public $insertSheetIndex;
+ public $newSheetId;
+ public $newSheetName;
+ public $sourceSheetId;
+
+ public function setInsertSheetIndex($insertSheetIndex)
+ {
+ $this->insertSheetIndex = $insertSheetIndex;
+ }
+ public function getInsertSheetIndex()
+ {
+ return $this->insertSheetIndex;
+ }
+ public function setNewSheetId($newSheetId)
+ {
+ $this->newSheetId = $newSheetId;
+ }
+ public function getNewSheetId()
+ {
+ return $this->newSheetId;
+ }
+ public function setNewSheetName($newSheetName)
+ {
+ $this->newSheetName = $newSheetName;
+ }
+ public function getNewSheetName()
+ {
+ return $this->newSheetName;
+ }
+ public function setSourceSheetId($sourceSheetId)
+ {
+ $this->sourceSheetId = $sourceSheetId;
+ }
+ public function getSourceSheetId()
+ {
+ return $this->sourceSheetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateSheetResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateSheetResponse.php
new file mode 100644
index 00000000..0080c3b2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateSheetResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_DuplicateSheetResponse extends Google_Model
+{
+ protected $propertiesType = 'Google_Service_Sheets_SheetProperties';
+ protected $propertiesDataType = '';
+
+ public function setProperties(Google_Service_Sheets_SheetProperties $properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Editors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Editors.php
new file mode 100644
index 00000000..0fd13e5c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Editors.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_Editors extends Google_Collection
+{
+ protected $collection_key = 'users';
+ public $domainUsersCanEdit;
+ public $groups;
+ public $users;
+
+ public function setDomainUsersCanEdit($domainUsersCanEdit)
+ {
+ $this->domainUsersCanEdit = $domainUsersCanEdit;
+ }
+ public function getDomainUsersCanEdit()
+ {
+ return $this->domainUsersCanEdit;
+ }
+ public function setGroups($groups)
+ {
+ $this->groups = $groups;
+ }
+ public function getGroups()
+ {
+ return $this->groups;
+ }
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/EmbeddedChart.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/EmbeddedChart.php
new file mode 100644
index 00000000..e727fb51
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/EmbeddedChart.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_EmbeddedChart extends Google_Model
+{
+ public $chartId;
+ protected $positionType = 'Google_Service_Sheets_EmbeddedObjectPosition';
+ protected $positionDataType = '';
+ protected $specType = 'Google_Service_Sheets_ChartSpec';
+ protected $specDataType = '';
+
+ public function setChartId($chartId)
+ {
+ $this->chartId = $chartId;
+ }
+ public function getChartId()
+ {
+ return $this->chartId;
+ }
+ public function setPosition(Google_Service_Sheets_EmbeddedObjectPosition $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+ public function setSpec(Google_Service_Sheets_ChartSpec $spec)
+ {
+ $this->spec = $spec;
+ }
+ public function getSpec()
+ {
+ return $this->spec;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/EmbeddedObjectPosition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/EmbeddedObjectPosition.php
new file mode 100644
index 00000000..96363fd1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/EmbeddedObjectPosition.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_EmbeddedObjectPosition extends Google_Model
+{
+ public $newSheet;
+ protected $overlayPositionType = 'Google_Service_Sheets_OverlayPosition';
+ protected $overlayPositionDataType = '';
+ public $sheetId;
+
+ public function setNewSheet($newSheet)
+ {
+ $this->newSheet = $newSheet;
+ }
+ public function getNewSheet()
+ {
+ return $this->newSheet;
+ }
+ public function setOverlayPosition(Google_Service_Sheets_OverlayPosition $overlayPosition)
+ {
+ $this->overlayPosition = $overlayPosition;
+ }
+ public function getOverlayPosition()
+ {
+ return $this->overlayPosition;
+ }
+ public function setSheetId($sheetId)
+ {
+ $this->sheetId = $sheetId;
+ }
+ public function getSheetId()
+ {
+ return $this->sheetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ErrorValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ErrorValue.php
new file mode 100644
index 00000000..0686b232
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ErrorValue.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_ErrorValue extends Google_Model
+{
+ public $message;
+ public $type;
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ExtendedValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ExtendedValue.php
new file mode 100644
index 00000000..96423d65
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ExtendedValue.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_ExtendedValue extends Google_Model
+{
+ public $boolValue;
+ protected $errorValueType = 'Google_Service_Sheets_ErrorValue';
+ protected $errorValueDataType = '';
+ public $formulaValue;
+ public $numberValue;
+ public $stringValue;
+
+ public function setBoolValue($boolValue)
+ {
+ $this->boolValue = $boolValue;
+ }
+ public function getBoolValue()
+ {
+ return $this->boolValue;
+ }
+ public function setErrorValue(Google_Service_Sheets_ErrorValue $errorValue)
+ {
+ $this->errorValue = $errorValue;
+ }
+ public function getErrorValue()
+ {
+ return $this->errorValue;
+ }
+ public function setFormulaValue($formulaValue)
+ {
+ $this->formulaValue = $formulaValue;
+ }
+ public function getFormulaValue()
+ {
+ return $this->formulaValue;
+ }
+ public function setNumberValue($numberValue)
+ {
+ $this->numberValue = $numberValue;
+ }
+ public function getNumberValue()
+ {
+ return $this->numberValue;
+ }
+ public function setStringValue($stringValue)
+ {
+ $this->stringValue = $stringValue;
+ }
+ public function getStringValue()
+ {
+ return $this->stringValue;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FilterCriteria.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FilterCriteria.php
new file mode 100644
index 00000000..2760f2b9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FilterCriteria.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_FilterCriteria extends Google_Collection
+{
+ protected $collection_key = 'hiddenValues';
+ protected $conditionType = 'Google_Service_Sheets_BooleanCondition';
+ protected $conditionDataType = '';
+ public $hiddenValues;
+
+ public function setCondition(Google_Service_Sheets_BooleanCondition $condition)
+ {
+ $this->condition = $condition;
+ }
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+ public function setHiddenValues($hiddenValues)
+ {
+ $this->hiddenValues = $hiddenValues;
+ }
+ public function getHiddenValues()
+ {
+ return $this->hiddenValues;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FilterView.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FilterView.php
new file mode 100644
index 00000000..0a498f75
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FilterView.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_FilterView extends Google_Collection
+{
+ protected $collection_key = 'sortSpecs';
+ protected $criteriaType = 'Google_Service_Sheets_FilterCriteria';
+ protected $criteriaDataType = 'map';
+ public $filterViewId;
+ public $namedRangeId;
+ protected $rangeType = 'Google_Service_Sheets_GridRange';
+ protected $rangeDataType = '';
+ protected $sortSpecsType = 'Google_Service_Sheets_SortSpec';
+ protected $sortSpecsDataType = 'array';
+ public $title;
+
+ public function setCriteria($criteria)
+ {
+ $this->criteria = $criteria;
+ }
+ public function getCriteria()
+ {
+ return $this->criteria;
+ }
+ public function setFilterViewId($filterViewId)
+ {
+ $this->filterViewId = $filterViewId;
+ }
+ public function getFilterViewId()
+ {
+ return $this->filterViewId;
+ }
+ public function setNamedRangeId($namedRangeId)
+ {
+ $this->namedRangeId = $namedRangeId;
+ }
+ public function getNamedRangeId()
+ {
+ return $this->namedRangeId;
+ }
+ public function setRange(Google_Service_Sheets_GridRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+ public function setSortSpecs($sortSpecs)
+ {
+ $this->sortSpecs = $sortSpecs;
+ }
+ public function getSortSpecs()
+ {
+ return $this->sortSpecs;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FindReplaceRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FindReplaceRequest.php
new file mode 100644
index 00000000..73202ce6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FindReplaceRequest.php
@@ -0,0 +1,103 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_FindReplaceRequest extends Google_Model
+{
+ public $allSheets;
+ public $find;
+ public $includeFormulas;
+ public $matchCase;
+ public $matchEntireCell;
+ protected $rangeType = 'Google_Service_Sheets_GridRange';
+ protected $rangeDataType = '';
+ public $replacement;
+ public $searchByRegex;
+ public $sheetId;
+
+ public function setAllSheets($allSheets)
+ {
+ $this->allSheets = $allSheets;
+ }
+ public function getAllSheets()
+ {
+ return $this->allSheets;
+ }
+ public function setFind($find)
+ {
+ $this->find = $find;
+ }
+ public function getFind()
+ {
+ return $this->find;
+ }
+ public function setIncludeFormulas($includeFormulas)
+ {
+ $this->includeFormulas = $includeFormulas;
+ }
+ public function getIncludeFormulas()
+ {
+ return $this->includeFormulas;
+ }
+ public function setMatchCase($matchCase)
+ {
+ $this->matchCase = $matchCase;
+ }
+ public function getMatchCase()
+ {
+ return $this->matchCase;
+ }
+ public function setMatchEntireCell($matchEntireCell)
+ {
+ $this->matchEntireCell = $matchEntireCell;
+ }
+ public function getMatchEntireCell()
+ {
+ return $this->matchEntireCell;
+ }
+ public function setRange(Google_Service_Sheets_GridRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+ public function setReplacement($replacement)
+ {
+ $this->replacement = $replacement;
+ }
+ public function getReplacement()
+ {
+ return $this->replacement;
+ }
+ public function setSearchByRegex($searchByRegex)
+ {
+ $this->searchByRegex = $searchByRegex;
+ }
+ public function getSearchByRegex()
+ {
+ return $this->searchByRegex;
+ }
+ public function setSheetId($sheetId)
+ {
+ $this->sheetId = $sheetId;
+ }
+ public function getSheetId()
+ {
+ return $this->sheetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FindReplaceResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FindReplaceResponse.php
new file mode 100644
index 00000000..119767fc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FindReplaceResponse.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_FindReplaceResponse extends Google_Model
+{
+ public $formulasChanged;
+ public $occurrencesChanged;
+ public $rowsChanged;
+ public $sheetsChanged;
+ public $valuesChanged;
+
+ public function setFormulasChanged($formulasChanged)
+ {
+ $this->formulasChanged = $formulasChanged;
+ }
+ public function getFormulasChanged()
+ {
+ return $this->formulasChanged;
+ }
+ public function setOccurrencesChanged($occurrencesChanged)
+ {
+ $this->occurrencesChanged = $occurrencesChanged;
+ }
+ public function getOccurrencesChanged()
+ {
+ return $this->occurrencesChanged;
+ }
+ public function setRowsChanged($rowsChanged)
+ {
+ $this->rowsChanged = $rowsChanged;
+ }
+ public function getRowsChanged()
+ {
+ return $this->rowsChanged;
+ }
+ public function setSheetsChanged($sheetsChanged)
+ {
+ $this->sheetsChanged = $sheetsChanged;
+ }
+ public function getSheetsChanged()
+ {
+ return $this->sheetsChanged;
+ }
+ public function setValuesChanged($valuesChanged)
+ {
+ $this->valuesChanged = $valuesChanged;
+ }
+ public function getValuesChanged()
+ {
+ return $this->valuesChanged;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GradientRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GradientRule.php
new file mode 100644
index 00000000..f06f9cc6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GradientRule.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_GradientRule extends Google_Model
+{
+ protected $maxpointType = 'Google_Service_Sheets_InterpolationPoint';
+ protected $maxpointDataType = '';
+ protected $midpointType = 'Google_Service_Sheets_InterpolationPoint';
+ protected $midpointDataType = '';
+ protected $minpointType = 'Google_Service_Sheets_InterpolationPoint';
+ protected $minpointDataType = '';
+
+ public function setMaxpoint(Google_Service_Sheets_InterpolationPoint $maxpoint)
+ {
+ $this->maxpoint = $maxpoint;
+ }
+ public function getMaxpoint()
+ {
+ return $this->maxpoint;
+ }
+ public function setMidpoint(Google_Service_Sheets_InterpolationPoint $midpoint)
+ {
+ $this->midpoint = $midpoint;
+ }
+ public function getMidpoint()
+ {
+ return $this->midpoint;
+ }
+ public function setMinpoint(Google_Service_Sheets_InterpolationPoint $minpoint)
+ {
+ $this->minpoint = $minpoint;
+ }
+ public function getMinpoint()
+ {
+ return $this->minpoint;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridCoordinate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridCoordinate.php
new file mode 100644
index 00000000..c92c07bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridCoordinate.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_GridCoordinate extends Google_Model
+{
+ public $columnIndex;
+ public $rowIndex;
+ public $sheetId;
+
+ public function setColumnIndex($columnIndex)
+ {
+ $this->columnIndex = $columnIndex;
+ }
+ public function getColumnIndex()
+ {
+ return $this->columnIndex;
+ }
+ public function setRowIndex($rowIndex)
+ {
+ $this->rowIndex = $rowIndex;
+ }
+ public function getRowIndex()
+ {
+ return $this->rowIndex;
+ }
+ public function setSheetId($sheetId)
+ {
+ $this->sheetId = $sheetId;
+ }
+ public function getSheetId()
+ {
+ return $this->sheetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridData.php
new file mode 100644
index 00000000..dcf624de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridData.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_GridData extends Google_Collection
+{
+ protected $collection_key = 'rowMetadata';
+ protected $columnMetadataType = 'Google_Service_Sheets_DimensionProperties';
+ protected $columnMetadataDataType = 'array';
+ protected $rowDataType = 'Google_Service_Sheets_RowData';
+ protected $rowDataDataType = 'array';
+ protected $rowMetadataType = 'Google_Service_Sheets_DimensionProperties';
+ protected $rowMetadataDataType = 'array';
+ public $startColumn;
+ public $startRow;
+
+ public function setColumnMetadata($columnMetadata)
+ {
+ $this->columnMetadata = $columnMetadata;
+ }
+ public function getColumnMetadata()
+ {
+ return $this->columnMetadata;
+ }
+ public function setRowData($rowData)
+ {
+ $this->rowData = $rowData;
+ }
+ public function getRowData()
+ {
+ return $this->rowData;
+ }
+ public function setRowMetadata($rowMetadata)
+ {
+ $this->rowMetadata = $rowMetadata;
+ }
+ public function getRowMetadata()
+ {
+ return $this->rowMetadata;
+ }
+ public function setStartColumn($startColumn)
+ {
+ $this->startColumn = $startColumn;
+ }
+ public function getStartColumn()
+ {
+ return $this->startColumn;
+ }
+ public function setStartRow($startRow)
+ {
+ $this->startRow = $startRow;
+ }
+ public function getStartRow()
+ {
+ return $this->startRow;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridProperties.php
new file mode 100644
index 00000000..b6692ba8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridProperties.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_GridProperties extends Google_Model
+{
+ public $columnCount;
+ public $frozenColumnCount;
+ public $frozenRowCount;
+ public $hideGridlines;
+ public $rowCount;
+
+ public function setColumnCount($columnCount)
+ {
+ $this->columnCount = $columnCount;
+ }
+ public function getColumnCount()
+ {
+ return $this->columnCount;
+ }
+ public function setFrozenColumnCount($frozenColumnCount)
+ {
+ $this->frozenColumnCount = $frozenColumnCount;
+ }
+ public function getFrozenColumnCount()
+ {
+ return $this->frozenColumnCount;
+ }
+ public function setFrozenRowCount($frozenRowCount)
+ {
+ $this->frozenRowCount = $frozenRowCount;
+ }
+ public function getFrozenRowCount()
+ {
+ return $this->frozenRowCount;
+ }
+ public function setHideGridlines($hideGridlines)
+ {
+ $this->hideGridlines = $hideGridlines;
+ }
+ public function getHideGridlines()
+ {
+ return $this->hideGridlines;
+ }
+ public function setRowCount($rowCount)
+ {
+ $this->rowCount = $rowCount;
+ }
+ public function getRowCount()
+ {
+ return $this->rowCount;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridRange.php
new file mode 100644
index 00000000..26c47b5c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridRange.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_GridRange extends Google_Model
+{
+ public $endColumnIndex;
+ public $endRowIndex;
+ public $sheetId;
+ public $startColumnIndex;
+ public $startRowIndex;
+
+ public function setEndColumnIndex($endColumnIndex)
+ {
+ $this->endColumnIndex = $endColumnIndex;
+ }
+ public function getEndColumnIndex()
+ {
+ return $this->endColumnIndex;
+ }
+ public function setEndRowIndex($endRowIndex)
+ {
+ $this->endRowIndex = $endRowIndex;
+ }
+ public function getEndRowIndex()
+ {
+ return $this->endRowIndex;
+ }
+ public function setSheetId($sheetId)
+ {
+ $this->sheetId = $sheetId;
+ }
+ public function getSheetId()
+ {
+ return $this->sheetId;
+ }
+ public function setStartColumnIndex($startColumnIndex)
+ {
+ $this->startColumnIndex = $startColumnIndex;
+ }
+ public function getStartColumnIndex()
+ {
+ return $this->startColumnIndex;
+ }
+ public function setStartRowIndex($startRowIndex)
+ {
+ $this->startRowIndex = $startRowIndex;
+ }
+ public function getStartRowIndex()
+ {
+ return $this->startRowIndex;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InsertDimensionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InsertDimensionRequest.php
new file mode 100644
index 00000000..d8c4fb78
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InsertDimensionRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_InsertDimensionRequest extends Google_Model
+{
+ public $inheritFromBefore;
+ protected $rangeType = 'Google_Service_Sheets_DimensionRange';
+ protected $rangeDataType = '';
+
+ public function setInheritFromBefore($inheritFromBefore)
+ {
+ $this->inheritFromBefore = $inheritFromBefore;
+ }
+ public function getInheritFromBefore()
+ {
+ return $this->inheritFromBefore;
+ }
+ public function setRange(Google_Service_Sheets_DimensionRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InsertRangeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InsertRangeRequest.php
new file mode 100644
index 00000000..4dace9db
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InsertRangeRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_InsertRangeRequest extends Google_Model
+{
+ protected $rangeType = 'Google_Service_Sheets_GridRange';
+ protected $rangeDataType = '';
+ public $shiftDimension;
+
+ public function setRange(Google_Service_Sheets_GridRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+ public function setShiftDimension($shiftDimension)
+ {
+ $this->shiftDimension = $shiftDimension;
+ }
+ public function getShiftDimension()
+ {
+ return $this->shiftDimension;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InterpolationPoint.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InterpolationPoint.php
new file mode 100644
index 00000000..8468334f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InterpolationPoint.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_InterpolationPoint extends Google_Model
+{
+ protected $colorType = 'Google_Service_Sheets_Color';
+ protected $colorDataType = '';
+ public $type;
+ public $value;
+
+ public function setColor(Google_Service_Sheets_Color $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 setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/IterativeCalculationSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/IterativeCalculationSettings.php
new file mode 100644
index 00000000..297a42e7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/IterativeCalculationSettings.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_IterativeCalculationSettings extends Google_Model
+{
+ public $convergenceThreshold;
+ public $maxIterations;
+
+ public function setConvergenceThreshold($convergenceThreshold)
+ {
+ $this->convergenceThreshold = $convergenceThreshold;
+ }
+ public function getConvergenceThreshold()
+ {
+ return $this->convergenceThreshold;
+ }
+ public function setMaxIterations($maxIterations)
+ {
+ $this->maxIterations = $maxIterations;
+ }
+ public function getMaxIterations()
+ {
+ return $this->maxIterations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/MergeCellsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/MergeCellsRequest.php
new file mode 100644
index 00000000..53a18342
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/MergeCellsRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_MergeCellsRequest extends Google_Model
+{
+ public $mergeType;
+ protected $rangeType = 'Google_Service_Sheets_GridRange';
+ protected $rangeDataType = '';
+
+ public function setMergeType($mergeType)
+ {
+ $this->mergeType = $mergeType;
+ }
+ public function getMergeType()
+ {
+ return $this->mergeType;
+ }
+ public function setRange(Google_Service_Sheets_GridRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/MoveDimensionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/MoveDimensionRequest.php
new file mode 100644
index 00000000..21b409fe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/MoveDimensionRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_MoveDimensionRequest extends Google_Model
+{
+ public $destinationIndex;
+ protected $sourceType = 'Google_Service_Sheets_DimensionRange';
+ protected $sourceDataType = '';
+
+ public function setDestinationIndex($destinationIndex)
+ {
+ $this->destinationIndex = $destinationIndex;
+ }
+ public function getDestinationIndex()
+ {
+ return $this->destinationIndex;
+ }
+ public function setSource(Google_Service_Sheets_DimensionRange $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/NamedRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/NamedRange.php
new file mode 100644
index 00000000..5239c68f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/NamedRange.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_NamedRange extends Google_Model
+{
+ public $name;
+ public $namedRangeId;
+ protected $rangeType = 'Google_Service_Sheets_GridRange';
+ protected $rangeDataType = '';
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNamedRangeId($namedRangeId)
+ {
+ $this->namedRangeId = $namedRangeId;
+ }
+ public function getNamedRangeId()
+ {
+ return $this->namedRangeId;
+ }
+ public function setRange(Google_Service_Sheets_GridRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/NumberFormat.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/NumberFormat.php
new file mode 100644
index 00000000..52fcbc96
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/NumberFormat.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_NumberFormat extends Google_Model
+{
+ public $pattern;
+ public $type;
+
+ public function setPattern($pattern)
+ {
+ $this->pattern = $pattern;
+ }
+ public function getPattern()
+ {
+ return $this->pattern;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/OverlayPosition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/OverlayPosition.php
new file mode 100644
index 00000000..a7916097
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/OverlayPosition.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_OverlayPosition extends Google_Model
+{
+ protected $anchorCellType = 'Google_Service_Sheets_GridCoordinate';
+ protected $anchorCellDataType = '';
+ public $heightPixels;
+ public $offsetXPixels;
+ public $offsetYPixels;
+ public $widthPixels;
+
+ public function setAnchorCell(Google_Service_Sheets_GridCoordinate $anchorCell)
+ {
+ $this->anchorCell = $anchorCell;
+ }
+ public function getAnchorCell()
+ {
+ return $this->anchorCell;
+ }
+ public function setHeightPixels($heightPixels)
+ {
+ $this->heightPixels = $heightPixels;
+ }
+ public function getHeightPixels()
+ {
+ return $this->heightPixels;
+ }
+ public function setOffsetXPixels($offsetXPixels)
+ {
+ $this->offsetXPixels = $offsetXPixels;
+ }
+ public function getOffsetXPixels()
+ {
+ return $this->offsetXPixels;
+ }
+ public function setOffsetYPixels($offsetYPixels)
+ {
+ $this->offsetYPixels = $offsetYPixels;
+ }
+ public function getOffsetYPixels()
+ {
+ return $this->offsetYPixels;
+ }
+ public function setWidthPixels($widthPixels)
+ {
+ $this->widthPixels = $widthPixels;
+ }
+ public function getWidthPixels()
+ {
+ return $this->widthPixels;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Padding.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Padding.php
new file mode 100644
index 00000000..336a105e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Padding.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_Padding extends Google_Model
+{
+ public $bottom;
+ public $left;
+ public $right;
+ public $top;
+
+ public function setBottom($bottom)
+ {
+ $this->bottom = $bottom;
+ }
+ public function getBottom()
+ {
+ return $this->bottom;
+ }
+ public function setLeft($left)
+ {
+ $this->left = $left;
+ }
+ public function getLeft()
+ {
+ return $this->left;
+ }
+ public function setRight($right)
+ {
+ $this->right = $right;
+ }
+ public function getRight()
+ {
+ return $this->right;
+ }
+ public function setTop($top)
+ {
+ $this->top = $top;
+ }
+ public function getTop()
+ {
+ return $this->top;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PasteDataRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PasteDataRequest.php
new file mode 100644
index 00000000..877e6d30
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PasteDataRequest.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_PasteDataRequest extends Google_Model
+{
+ protected $coordinateType = 'Google_Service_Sheets_GridCoordinate';
+ protected $coordinateDataType = '';
+ public $data;
+ public $delimiter;
+ public $html;
+ public $type;
+
+ public function setCoordinate(Google_Service_Sheets_GridCoordinate $coordinate)
+ {
+ $this->coordinate = $coordinate;
+ }
+ public function getCoordinate()
+ {
+ return $this->coordinate;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setDelimiter($delimiter)
+ {
+ $this->delimiter = $delimiter;
+ }
+ public function getDelimiter()
+ {
+ return $this->delimiter;
+ }
+ public function setHtml($html)
+ {
+ $this->html = $html;
+ }
+ public function getHtml()
+ {
+ return $this->html;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PieChartSpec.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PieChartSpec.php
new file mode 100644
index 00000000..bca13294
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PieChartSpec.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_PieChartSpec extends Google_Model
+{
+ protected $domainType = 'Google_Service_Sheets_ChartData';
+ protected $domainDataType = '';
+ public $legendPosition;
+ public $pieHole;
+ protected $seriesType = 'Google_Service_Sheets_ChartData';
+ protected $seriesDataType = '';
+ public $threeDimensional;
+
+ public function setDomain(Google_Service_Sheets_ChartData $domain)
+ {
+ $this->domain = $domain;
+ }
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+ public function setLegendPosition($legendPosition)
+ {
+ $this->legendPosition = $legendPosition;
+ }
+ public function getLegendPosition()
+ {
+ return $this->legendPosition;
+ }
+ public function setPieHole($pieHole)
+ {
+ $this->pieHole = $pieHole;
+ }
+ public function getPieHole()
+ {
+ return $this->pieHole;
+ }
+ public function setSeries(Google_Service_Sheets_ChartData $series)
+ {
+ $this->series = $series;
+ }
+ public function getSeries()
+ {
+ return $this->series;
+ }
+ public function setThreeDimensional($threeDimensional)
+ {
+ $this->threeDimensional = $threeDimensional;
+ }
+ public function getThreeDimensional()
+ {
+ return $this->threeDimensional;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotFilterCriteria.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotFilterCriteria.php
new file mode 100644
index 00000000..9d5aa1ee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotFilterCriteria.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_PivotFilterCriteria extends Google_Collection
+{
+ protected $collection_key = 'visibleValues';
+ public $visibleValues;
+
+ public function setVisibleValues($visibleValues)
+ {
+ $this->visibleValues = $visibleValues;
+ }
+ public function getVisibleValues()
+ {
+ return $this->visibleValues;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroup.php
new file mode 100644
index 00000000..9f50fa5e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroup.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_PivotGroup extends Google_Collection
+{
+ protected $collection_key = 'valueMetadata';
+ public $showTotals;
+ public $sortOrder;
+ public $sourceColumnOffset;
+ protected $valueBucketType = 'Google_Service_Sheets_PivotGroupSortValueBucket';
+ protected $valueBucketDataType = '';
+ protected $valueMetadataType = 'Google_Service_Sheets_PivotGroupValueMetadata';
+ protected $valueMetadataDataType = 'array';
+
+ public function setShowTotals($showTotals)
+ {
+ $this->showTotals = $showTotals;
+ }
+ public function getShowTotals()
+ {
+ return $this->showTotals;
+ }
+ public function setSortOrder($sortOrder)
+ {
+ $this->sortOrder = $sortOrder;
+ }
+ public function getSortOrder()
+ {
+ return $this->sortOrder;
+ }
+ public function setSourceColumnOffset($sourceColumnOffset)
+ {
+ $this->sourceColumnOffset = $sourceColumnOffset;
+ }
+ public function getSourceColumnOffset()
+ {
+ return $this->sourceColumnOffset;
+ }
+ public function setValueBucket(Google_Service_Sheets_PivotGroupSortValueBucket $valueBucket)
+ {
+ $this->valueBucket = $valueBucket;
+ }
+ public function getValueBucket()
+ {
+ return $this->valueBucket;
+ }
+ public function setValueMetadata($valueMetadata)
+ {
+ $this->valueMetadata = $valueMetadata;
+ }
+ public function getValueMetadata()
+ {
+ return $this->valueMetadata;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroupSortValueBucket.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroupSortValueBucket.php
new file mode 100644
index 00000000..9d3457e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroupSortValueBucket.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_PivotGroupSortValueBucket extends Google_Collection
+{
+ protected $collection_key = 'buckets';
+ protected $bucketsType = 'Google_Service_Sheets_ExtendedValue';
+ protected $bucketsDataType = 'array';
+ public $valuesIndex;
+
+ public function setBuckets($buckets)
+ {
+ $this->buckets = $buckets;
+ }
+ public function getBuckets()
+ {
+ return $this->buckets;
+ }
+ public function setValuesIndex($valuesIndex)
+ {
+ $this->valuesIndex = $valuesIndex;
+ }
+ public function getValuesIndex()
+ {
+ return $this->valuesIndex;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroupValueMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroupValueMetadata.php
new file mode 100644
index 00000000..5b314d29
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroupValueMetadata.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_PivotGroupValueMetadata extends Google_Model
+{
+ public $collapsed;
+ protected $valueType = 'Google_Service_Sheets_ExtendedValue';
+ protected $valueDataType = '';
+
+ public function setCollapsed($collapsed)
+ {
+ $this->collapsed = $collapsed;
+ }
+ public function getCollapsed()
+ {
+ return $this->collapsed;
+ }
+ public function setValue(Google_Service_Sheets_ExtendedValue $value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotTable.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotTable.php
new file mode 100644
index 00000000..3e45f9d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotTable.php
@@ -0,0 +1,81 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_PivotTable extends Google_Collection
+{
+ protected $collection_key = 'values';
+ protected $columnsType = 'Google_Service_Sheets_PivotGroup';
+ protected $columnsDataType = 'array';
+ protected $criteriaType = 'Google_Service_Sheets_PivotFilterCriteria';
+ protected $criteriaDataType = 'map';
+ protected $rowsType = 'Google_Service_Sheets_PivotGroup';
+ protected $rowsDataType = 'array';
+ protected $sourceType = 'Google_Service_Sheets_GridRange';
+ protected $sourceDataType = '';
+ public $valueLayout;
+ protected $valuesType = 'Google_Service_Sheets_PivotValue';
+ protected $valuesDataType = 'array';
+
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+ public function setCriteria($criteria)
+ {
+ $this->criteria = $criteria;
+ }
+ public function getCriteria()
+ {
+ return $this->criteria;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+ public function setSource(Google_Service_Sheets_GridRange $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setValueLayout($valueLayout)
+ {
+ $this->valueLayout = $valueLayout;
+ }
+ public function getValueLayout()
+ {
+ return $this->valueLayout;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotValue.php
new file mode 100644
index 00000000..2e3312be
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotValue.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_PivotValue extends Google_Model
+{
+ public $formula;
+ public $name;
+ public $sourceColumnOffset;
+ public $summarizeFunction;
+
+ public function setFormula($formula)
+ {
+ $this->formula = $formula;
+ }
+ public function getFormula()
+ {
+ return $this->formula;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSourceColumnOffset($sourceColumnOffset)
+ {
+ $this->sourceColumnOffset = $sourceColumnOffset;
+ }
+ public function getSourceColumnOffset()
+ {
+ return $this->sourceColumnOffset;
+ }
+ public function setSummarizeFunction($summarizeFunction)
+ {
+ $this->summarizeFunction = $summarizeFunction;
+ }
+ public function getSummarizeFunction()
+ {
+ return $this->summarizeFunction;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ProtectedRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ProtectedRange.php
new file mode 100644
index 00000000..4f3a364f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ProtectedRange.php
@@ -0,0 +1,97 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_ProtectedRange extends Google_Collection
+{
+ protected $collection_key = 'unprotectedRanges';
+ public $description;
+ protected $editorsType = 'Google_Service_Sheets_Editors';
+ protected $editorsDataType = '';
+ public $namedRangeId;
+ public $protectedRangeId;
+ protected $rangeType = 'Google_Service_Sheets_GridRange';
+ protected $rangeDataType = '';
+ public $requestingUserCanEdit;
+ protected $unprotectedRangesType = 'Google_Service_Sheets_GridRange';
+ protected $unprotectedRangesDataType = 'array';
+ public $warningOnly;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEditors(Google_Service_Sheets_Editors $editors)
+ {
+ $this->editors = $editors;
+ }
+ public function getEditors()
+ {
+ return $this->editors;
+ }
+ public function setNamedRangeId($namedRangeId)
+ {
+ $this->namedRangeId = $namedRangeId;
+ }
+ public function getNamedRangeId()
+ {
+ return $this->namedRangeId;
+ }
+ public function setProtectedRangeId($protectedRangeId)
+ {
+ $this->protectedRangeId = $protectedRangeId;
+ }
+ public function getProtectedRangeId()
+ {
+ return $this->protectedRangeId;
+ }
+ public function setRange(Google_Service_Sheets_GridRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+ public function setRequestingUserCanEdit($requestingUserCanEdit)
+ {
+ $this->requestingUserCanEdit = $requestingUserCanEdit;
+ }
+ public function getRequestingUserCanEdit()
+ {
+ return $this->requestingUserCanEdit;
+ }
+ public function setUnprotectedRanges($unprotectedRanges)
+ {
+ $this->unprotectedRanges = $unprotectedRanges;
+ }
+ public function getUnprotectedRanges()
+ {
+ return $this->unprotectedRanges;
+ }
+ public function setWarningOnly($warningOnly)
+ {
+ $this->warningOnly = $warningOnly;
+ }
+ public function getWarningOnly()
+ {
+ return $this->warningOnly;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/RepeatCellRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/RepeatCellRequest.php
new file mode 100644
index 00000000..9552256b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/RepeatCellRequest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_RepeatCellRequest extends Google_Model
+{
+ protected $cellType = 'Google_Service_Sheets_CellData';
+ protected $cellDataType = '';
+ public $fields;
+ protected $rangeType = 'Google_Service_Sheets_GridRange';
+ protected $rangeDataType = '';
+
+ public function setCell(Google_Service_Sheets_CellData $cell)
+ {
+ $this->cell = $cell;
+ }
+ public function getCell()
+ {
+ return $this->cell;
+ }
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setRange(Google_Service_Sheets_GridRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Request.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Request.php
new file mode 100644
index 00000000..2165967f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Request.php
@@ -0,0 +1,511 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_Request extends Google_Model
+{
+ protected $addBandingType = 'Google_Service_Sheets_AddBandingRequest';
+ protected $addBandingDataType = '';
+ protected $addChartType = 'Google_Service_Sheets_AddChartRequest';
+ protected $addChartDataType = '';
+ protected $addConditionalFormatRuleType = 'Google_Service_Sheets_AddConditionalFormatRuleRequest';
+ protected $addConditionalFormatRuleDataType = '';
+ protected $addFilterViewType = 'Google_Service_Sheets_AddFilterViewRequest';
+ protected $addFilterViewDataType = '';
+ protected $addNamedRangeType = 'Google_Service_Sheets_AddNamedRangeRequest';
+ protected $addNamedRangeDataType = '';
+ protected $addProtectedRangeType = 'Google_Service_Sheets_AddProtectedRangeRequest';
+ protected $addProtectedRangeDataType = '';
+ protected $addSheetType = 'Google_Service_Sheets_AddSheetRequest';
+ protected $addSheetDataType = '';
+ protected $appendCellsType = 'Google_Service_Sheets_AppendCellsRequest';
+ protected $appendCellsDataType = '';
+ protected $appendDimensionType = 'Google_Service_Sheets_AppendDimensionRequest';
+ protected $appendDimensionDataType = '';
+ protected $autoFillType = 'Google_Service_Sheets_AutoFillRequest';
+ protected $autoFillDataType = '';
+ protected $autoResizeDimensionsType = 'Google_Service_Sheets_AutoResizeDimensionsRequest';
+ protected $autoResizeDimensionsDataType = '';
+ protected $clearBasicFilterType = 'Google_Service_Sheets_ClearBasicFilterRequest';
+ protected $clearBasicFilterDataType = '';
+ protected $copyPasteType = 'Google_Service_Sheets_CopyPasteRequest';
+ protected $copyPasteDataType = '';
+ protected $cutPasteType = 'Google_Service_Sheets_CutPasteRequest';
+ protected $cutPasteDataType = '';
+ protected $deleteBandingType = 'Google_Service_Sheets_DeleteBandingRequest';
+ protected $deleteBandingDataType = '';
+ protected $deleteConditionalFormatRuleType = 'Google_Service_Sheets_DeleteConditionalFormatRuleRequest';
+ protected $deleteConditionalFormatRuleDataType = '';
+ protected $deleteDimensionType = 'Google_Service_Sheets_DeleteDimensionRequest';
+ protected $deleteDimensionDataType = '';
+ protected $deleteEmbeddedObjectType = 'Google_Service_Sheets_DeleteEmbeddedObjectRequest';
+ protected $deleteEmbeddedObjectDataType = '';
+ protected $deleteFilterViewType = 'Google_Service_Sheets_DeleteFilterViewRequest';
+ protected $deleteFilterViewDataType = '';
+ protected $deleteNamedRangeType = 'Google_Service_Sheets_DeleteNamedRangeRequest';
+ protected $deleteNamedRangeDataType = '';
+ protected $deleteProtectedRangeType = 'Google_Service_Sheets_DeleteProtectedRangeRequest';
+ protected $deleteProtectedRangeDataType = '';
+ protected $deleteRangeType = 'Google_Service_Sheets_DeleteRangeRequest';
+ protected $deleteRangeDataType = '';
+ protected $deleteSheetType = 'Google_Service_Sheets_DeleteSheetRequest';
+ protected $deleteSheetDataType = '';
+ protected $duplicateFilterViewType = 'Google_Service_Sheets_DuplicateFilterViewRequest';
+ protected $duplicateFilterViewDataType = '';
+ protected $duplicateSheetType = 'Google_Service_Sheets_DuplicateSheetRequest';
+ protected $duplicateSheetDataType = '';
+ protected $findReplaceType = 'Google_Service_Sheets_FindReplaceRequest';
+ protected $findReplaceDataType = '';
+ protected $insertDimensionType = 'Google_Service_Sheets_InsertDimensionRequest';
+ protected $insertDimensionDataType = '';
+ protected $insertRangeType = 'Google_Service_Sheets_InsertRangeRequest';
+ protected $insertRangeDataType = '';
+ protected $mergeCellsType = 'Google_Service_Sheets_MergeCellsRequest';
+ protected $mergeCellsDataType = '';
+ protected $moveDimensionType = 'Google_Service_Sheets_MoveDimensionRequest';
+ protected $moveDimensionDataType = '';
+ protected $pasteDataType = 'Google_Service_Sheets_PasteDataRequest';
+ protected $pasteDataDataType = '';
+ protected $repeatCellType = 'Google_Service_Sheets_RepeatCellRequest';
+ protected $repeatCellDataType = '';
+ protected $setBasicFilterType = 'Google_Service_Sheets_SetBasicFilterRequest';
+ protected $setBasicFilterDataType = '';
+ protected $setDataValidationType = 'Google_Service_Sheets_SetDataValidationRequest';
+ protected $setDataValidationDataType = '';
+ protected $sortRangeType = 'Google_Service_Sheets_SortRangeRequest';
+ protected $sortRangeDataType = '';
+ protected $textToColumnsType = 'Google_Service_Sheets_TextToColumnsRequest';
+ protected $textToColumnsDataType = '';
+ protected $unmergeCellsType = 'Google_Service_Sheets_UnmergeCellsRequest';
+ protected $unmergeCellsDataType = '';
+ protected $updateBandingType = 'Google_Service_Sheets_UpdateBandingRequest';
+ protected $updateBandingDataType = '';
+ protected $updateBordersType = 'Google_Service_Sheets_UpdateBordersRequest';
+ protected $updateBordersDataType = '';
+ protected $updateCellsType = 'Google_Service_Sheets_UpdateCellsRequest';
+ protected $updateCellsDataType = '';
+ protected $updateChartSpecType = 'Google_Service_Sheets_UpdateChartSpecRequest';
+ protected $updateChartSpecDataType = '';
+ protected $updateConditionalFormatRuleType = 'Google_Service_Sheets_UpdateConditionalFormatRuleRequest';
+ protected $updateConditionalFormatRuleDataType = '';
+ protected $updateDimensionPropertiesType = 'Google_Service_Sheets_UpdateDimensionPropertiesRequest';
+ protected $updateDimensionPropertiesDataType = '';
+ protected $updateEmbeddedObjectPositionType = 'Google_Service_Sheets_UpdateEmbeddedObjectPositionRequest';
+ protected $updateEmbeddedObjectPositionDataType = '';
+ protected $updateFilterViewType = 'Google_Service_Sheets_UpdateFilterViewRequest';
+ protected $updateFilterViewDataType = '';
+ protected $updateNamedRangeType = 'Google_Service_Sheets_UpdateNamedRangeRequest';
+ protected $updateNamedRangeDataType = '';
+ protected $updateProtectedRangeType = 'Google_Service_Sheets_UpdateProtectedRangeRequest';
+ protected $updateProtectedRangeDataType = '';
+ protected $updateSheetPropertiesType = 'Google_Service_Sheets_UpdateSheetPropertiesRequest';
+ protected $updateSheetPropertiesDataType = '';
+ protected $updateSpreadsheetPropertiesType = 'Google_Service_Sheets_UpdateSpreadsheetPropertiesRequest';
+ protected $updateSpreadsheetPropertiesDataType = '';
+
+ public function setAddBanding(Google_Service_Sheets_AddBandingRequest $addBanding)
+ {
+ $this->addBanding = $addBanding;
+ }
+ public function getAddBanding()
+ {
+ return $this->addBanding;
+ }
+ public function setAddChart(Google_Service_Sheets_AddChartRequest $addChart)
+ {
+ $this->addChart = $addChart;
+ }
+ public function getAddChart()
+ {
+ return $this->addChart;
+ }
+ public function setAddConditionalFormatRule(Google_Service_Sheets_AddConditionalFormatRuleRequest $addConditionalFormatRule)
+ {
+ $this->addConditionalFormatRule = $addConditionalFormatRule;
+ }
+ public function getAddConditionalFormatRule()
+ {
+ return $this->addConditionalFormatRule;
+ }
+ public function setAddFilterView(Google_Service_Sheets_AddFilterViewRequest $addFilterView)
+ {
+ $this->addFilterView = $addFilterView;
+ }
+ public function getAddFilterView()
+ {
+ return $this->addFilterView;
+ }
+ public function setAddNamedRange(Google_Service_Sheets_AddNamedRangeRequest $addNamedRange)
+ {
+ $this->addNamedRange = $addNamedRange;
+ }
+ public function getAddNamedRange()
+ {
+ return $this->addNamedRange;
+ }
+ public function setAddProtectedRange(Google_Service_Sheets_AddProtectedRangeRequest $addProtectedRange)
+ {
+ $this->addProtectedRange = $addProtectedRange;
+ }
+ public function getAddProtectedRange()
+ {
+ return $this->addProtectedRange;
+ }
+ public function setAddSheet(Google_Service_Sheets_AddSheetRequest $addSheet)
+ {
+ $this->addSheet = $addSheet;
+ }
+ public function getAddSheet()
+ {
+ return $this->addSheet;
+ }
+ public function setAppendCells(Google_Service_Sheets_AppendCellsRequest $appendCells)
+ {
+ $this->appendCells = $appendCells;
+ }
+ public function getAppendCells()
+ {
+ return $this->appendCells;
+ }
+ public function setAppendDimension(Google_Service_Sheets_AppendDimensionRequest $appendDimension)
+ {
+ $this->appendDimension = $appendDimension;
+ }
+ public function getAppendDimension()
+ {
+ return $this->appendDimension;
+ }
+ public function setAutoFill(Google_Service_Sheets_AutoFillRequest $autoFill)
+ {
+ $this->autoFill = $autoFill;
+ }
+ public function getAutoFill()
+ {
+ return $this->autoFill;
+ }
+ public function setAutoResizeDimensions(Google_Service_Sheets_AutoResizeDimensionsRequest $autoResizeDimensions)
+ {
+ $this->autoResizeDimensions = $autoResizeDimensions;
+ }
+ public function getAutoResizeDimensions()
+ {
+ return $this->autoResizeDimensions;
+ }
+ public function setClearBasicFilter(Google_Service_Sheets_ClearBasicFilterRequest $clearBasicFilter)
+ {
+ $this->clearBasicFilter = $clearBasicFilter;
+ }
+ public function getClearBasicFilter()
+ {
+ return $this->clearBasicFilter;
+ }
+ public function setCopyPaste(Google_Service_Sheets_CopyPasteRequest $copyPaste)
+ {
+ $this->copyPaste = $copyPaste;
+ }
+ public function getCopyPaste()
+ {
+ return $this->copyPaste;
+ }
+ public function setCutPaste(Google_Service_Sheets_CutPasteRequest $cutPaste)
+ {
+ $this->cutPaste = $cutPaste;
+ }
+ public function getCutPaste()
+ {
+ return $this->cutPaste;
+ }
+ public function setDeleteBanding(Google_Service_Sheets_DeleteBandingRequest $deleteBanding)
+ {
+ $this->deleteBanding = $deleteBanding;
+ }
+ public function getDeleteBanding()
+ {
+ return $this->deleteBanding;
+ }
+ public function setDeleteConditionalFormatRule(Google_Service_Sheets_DeleteConditionalFormatRuleRequest $deleteConditionalFormatRule)
+ {
+ $this->deleteConditionalFormatRule = $deleteConditionalFormatRule;
+ }
+ public function getDeleteConditionalFormatRule()
+ {
+ return $this->deleteConditionalFormatRule;
+ }
+ public function setDeleteDimension(Google_Service_Sheets_DeleteDimensionRequest $deleteDimension)
+ {
+ $this->deleteDimension = $deleteDimension;
+ }
+ public function getDeleteDimension()
+ {
+ return $this->deleteDimension;
+ }
+ public function setDeleteEmbeddedObject(Google_Service_Sheets_DeleteEmbeddedObjectRequest $deleteEmbeddedObject)
+ {
+ $this->deleteEmbeddedObject = $deleteEmbeddedObject;
+ }
+ public function getDeleteEmbeddedObject()
+ {
+ return $this->deleteEmbeddedObject;
+ }
+ public function setDeleteFilterView(Google_Service_Sheets_DeleteFilterViewRequest $deleteFilterView)
+ {
+ $this->deleteFilterView = $deleteFilterView;
+ }
+ public function getDeleteFilterView()
+ {
+ return $this->deleteFilterView;
+ }
+ public function setDeleteNamedRange(Google_Service_Sheets_DeleteNamedRangeRequest $deleteNamedRange)
+ {
+ $this->deleteNamedRange = $deleteNamedRange;
+ }
+ public function getDeleteNamedRange()
+ {
+ return $this->deleteNamedRange;
+ }
+ public function setDeleteProtectedRange(Google_Service_Sheets_DeleteProtectedRangeRequest $deleteProtectedRange)
+ {
+ $this->deleteProtectedRange = $deleteProtectedRange;
+ }
+ public function getDeleteProtectedRange()
+ {
+ return $this->deleteProtectedRange;
+ }
+ public function setDeleteRange(Google_Service_Sheets_DeleteRangeRequest $deleteRange)
+ {
+ $this->deleteRange = $deleteRange;
+ }
+ public function getDeleteRange()
+ {
+ return $this->deleteRange;
+ }
+ public function setDeleteSheet(Google_Service_Sheets_DeleteSheetRequest $deleteSheet)
+ {
+ $this->deleteSheet = $deleteSheet;
+ }
+ public function getDeleteSheet()
+ {
+ return $this->deleteSheet;
+ }
+ public function setDuplicateFilterView(Google_Service_Sheets_DuplicateFilterViewRequest $duplicateFilterView)
+ {
+ $this->duplicateFilterView = $duplicateFilterView;
+ }
+ public function getDuplicateFilterView()
+ {
+ return $this->duplicateFilterView;
+ }
+ public function setDuplicateSheet(Google_Service_Sheets_DuplicateSheetRequest $duplicateSheet)
+ {
+ $this->duplicateSheet = $duplicateSheet;
+ }
+ public function getDuplicateSheet()
+ {
+ return $this->duplicateSheet;
+ }
+ public function setFindReplace(Google_Service_Sheets_FindReplaceRequest $findReplace)
+ {
+ $this->findReplace = $findReplace;
+ }
+ public function getFindReplace()
+ {
+ return $this->findReplace;
+ }
+ public function setInsertDimension(Google_Service_Sheets_InsertDimensionRequest $insertDimension)
+ {
+ $this->insertDimension = $insertDimension;
+ }
+ public function getInsertDimension()
+ {
+ return $this->insertDimension;
+ }
+ public function setInsertRange(Google_Service_Sheets_InsertRangeRequest $insertRange)
+ {
+ $this->insertRange = $insertRange;
+ }
+ public function getInsertRange()
+ {
+ return $this->insertRange;
+ }
+ public function setMergeCells(Google_Service_Sheets_MergeCellsRequest $mergeCells)
+ {
+ $this->mergeCells = $mergeCells;
+ }
+ public function getMergeCells()
+ {
+ return $this->mergeCells;
+ }
+ public function setMoveDimension(Google_Service_Sheets_MoveDimensionRequest $moveDimension)
+ {
+ $this->moveDimension = $moveDimension;
+ }
+ public function getMoveDimension()
+ {
+ return $this->moveDimension;
+ }
+ public function setPasteData(Google_Service_Sheets_PasteDataRequest $pasteData)
+ {
+ $this->pasteData = $pasteData;
+ }
+ public function getPasteData()
+ {
+ return $this->pasteData;
+ }
+ public function setRepeatCell(Google_Service_Sheets_RepeatCellRequest $repeatCell)
+ {
+ $this->repeatCell = $repeatCell;
+ }
+ public function getRepeatCell()
+ {
+ return $this->repeatCell;
+ }
+ public function setSetBasicFilter(Google_Service_Sheets_SetBasicFilterRequest $setBasicFilter)
+ {
+ $this->setBasicFilter = $setBasicFilter;
+ }
+ public function getSetBasicFilter()
+ {
+ return $this->setBasicFilter;
+ }
+ public function setSetDataValidation(Google_Service_Sheets_SetDataValidationRequest $setDataValidation)
+ {
+ $this->setDataValidation = $setDataValidation;
+ }
+ public function getSetDataValidation()
+ {
+ return $this->setDataValidation;
+ }
+ public function setSortRange(Google_Service_Sheets_SortRangeRequest $sortRange)
+ {
+ $this->sortRange = $sortRange;
+ }
+ public function getSortRange()
+ {
+ return $this->sortRange;
+ }
+ public function setTextToColumns(Google_Service_Sheets_TextToColumnsRequest $textToColumns)
+ {
+ $this->textToColumns = $textToColumns;
+ }
+ public function getTextToColumns()
+ {
+ return $this->textToColumns;
+ }
+ public function setUnmergeCells(Google_Service_Sheets_UnmergeCellsRequest $unmergeCells)
+ {
+ $this->unmergeCells = $unmergeCells;
+ }
+ public function getUnmergeCells()
+ {
+ return $this->unmergeCells;
+ }
+ public function setUpdateBanding(Google_Service_Sheets_UpdateBandingRequest $updateBanding)
+ {
+ $this->updateBanding = $updateBanding;
+ }
+ public function getUpdateBanding()
+ {
+ return $this->updateBanding;
+ }
+ public function setUpdateBorders(Google_Service_Sheets_UpdateBordersRequest $updateBorders)
+ {
+ $this->updateBorders = $updateBorders;
+ }
+ public function getUpdateBorders()
+ {
+ return $this->updateBorders;
+ }
+ public function setUpdateCells(Google_Service_Sheets_UpdateCellsRequest $updateCells)
+ {
+ $this->updateCells = $updateCells;
+ }
+ public function getUpdateCells()
+ {
+ return $this->updateCells;
+ }
+ public function setUpdateChartSpec(Google_Service_Sheets_UpdateChartSpecRequest $updateChartSpec)
+ {
+ $this->updateChartSpec = $updateChartSpec;
+ }
+ public function getUpdateChartSpec()
+ {
+ return $this->updateChartSpec;
+ }
+ public function setUpdateConditionalFormatRule(Google_Service_Sheets_UpdateConditionalFormatRuleRequest $updateConditionalFormatRule)
+ {
+ $this->updateConditionalFormatRule = $updateConditionalFormatRule;
+ }
+ public function getUpdateConditionalFormatRule()
+ {
+ return $this->updateConditionalFormatRule;
+ }
+ public function setUpdateDimensionProperties(Google_Service_Sheets_UpdateDimensionPropertiesRequest $updateDimensionProperties)
+ {
+ $this->updateDimensionProperties = $updateDimensionProperties;
+ }
+ public function getUpdateDimensionProperties()
+ {
+ return $this->updateDimensionProperties;
+ }
+ public function setUpdateEmbeddedObjectPosition(Google_Service_Sheets_UpdateEmbeddedObjectPositionRequest $updateEmbeddedObjectPosition)
+ {
+ $this->updateEmbeddedObjectPosition = $updateEmbeddedObjectPosition;
+ }
+ public function getUpdateEmbeddedObjectPosition()
+ {
+ return $this->updateEmbeddedObjectPosition;
+ }
+ public function setUpdateFilterView(Google_Service_Sheets_UpdateFilterViewRequest $updateFilterView)
+ {
+ $this->updateFilterView = $updateFilterView;
+ }
+ public function getUpdateFilterView()
+ {
+ return $this->updateFilterView;
+ }
+ public function setUpdateNamedRange(Google_Service_Sheets_UpdateNamedRangeRequest $updateNamedRange)
+ {
+ $this->updateNamedRange = $updateNamedRange;
+ }
+ public function getUpdateNamedRange()
+ {
+ return $this->updateNamedRange;
+ }
+ public function setUpdateProtectedRange(Google_Service_Sheets_UpdateProtectedRangeRequest $updateProtectedRange)
+ {
+ $this->updateProtectedRange = $updateProtectedRange;
+ }
+ public function getUpdateProtectedRange()
+ {
+ return $this->updateProtectedRange;
+ }
+ public function setUpdateSheetProperties(Google_Service_Sheets_UpdateSheetPropertiesRequest $updateSheetProperties)
+ {
+ $this->updateSheetProperties = $updateSheetProperties;
+ }
+ public function getUpdateSheetProperties()
+ {
+ return $this->updateSheetProperties;
+ }
+ public function setUpdateSpreadsheetProperties(Google_Service_Sheets_UpdateSpreadsheetPropertiesRequest $updateSpreadsheetProperties)
+ {
+ $this->updateSpreadsheetProperties = $updateSpreadsheetProperties;
+ }
+ public function getUpdateSpreadsheetProperties()
+ {
+ return $this->updateSpreadsheetProperties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/Spreadsheets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/Spreadsheets.php
new file mode 100644
index 00000000..178f97ec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/Spreadsheets.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "spreadsheets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sheetsService = new Google_Service_Sheets(...);
+ * $spreadsheets = $sheetsService->spreadsheets;
+ * </code>
+ */
+class Google_Service_Sheets_Resource_Spreadsheets extends Google_Service_Resource
+{
+ /**
+ * Applies one or more updates to the spreadsheet.
+ *
+ * Each request is validated before being applied. If any request is not valid
+ * then the entire request will fail and nothing will be applied.
+ *
+ * Some requests have replies to give you some information about how they are
+ * applied. The replies will mirror the requests. For example, if you applied 4
+ * updates and the 3rd one had a reply, then the response will have 2 empty
+ * replies, the actual reply, and another empty reply, in that order.
+ *
+ * Due to the collaborative nature of spreadsheets, it is not guaranteed that
+ * the spreadsheet will reflect exactly your changes after this completes,
+ * however it is guaranteed that the updates in the request will be applied
+ * together atomically. Your changes may be altered with respect to collaborator
+ * changes. If there are no collaborators, the spreadsheet should reflect your
+ * changes. (spreadsheets.batchUpdate)
+ *
+ * @param string $spreadsheetId The spreadsheet to apply the updates to.
+ * @param Google_Service_Sheets_BatchUpdateSpreadsheetRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Sheets_BatchUpdateSpreadsheetResponse
+ */
+ public function batchUpdate($spreadsheetId, Google_Service_Sheets_BatchUpdateSpreadsheetRequest $postBody, $optParams = array())
+ {
+ $params = array('spreadsheetId' => $spreadsheetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchUpdate', array($params), "Google_Service_Sheets_BatchUpdateSpreadsheetResponse");
+ }
+ /**
+ * Creates a spreadsheet, returning the newly created spreadsheet.
+ * (spreadsheets.create)
+ *
+ * @param Google_Service_Sheets_Spreadsheet $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Sheets_Spreadsheet
+ */
+ public function create(Google_Service_Sheets_Spreadsheet $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Sheets_Spreadsheet");
+ }
+ /**
+ * Returns the spreadsheet at the given ID. The caller must specify the
+ * spreadsheet ID.
+ *
+ * By default, data within grids will not be returned. You can include grid data
+ * one of two ways:
+ *
+ * * Specify a field mask listing your desired fields using the `fields` URL
+ * parameter in HTTP
+ *
+ * * Set the includeGridData URL parameter to true. If a field mask is set, the
+ * `includeGridData` parameter is ignored
+ *
+ * For large spreadsheets, it is recommended to retrieve only the specific
+ * fields of the spreadsheet that you want.
+ *
+ * To retrieve only subsets of the spreadsheet, use the ranges URL parameter.
+ * Multiple ranges can be specified. Limiting the range will return only the
+ * portions of the spreadsheet that intersect the requested ranges. Ranges are
+ * specified using A1 notation. (spreadsheets.get)
+ *
+ * @param string $spreadsheetId The spreadsheet to request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ranges The ranges to retrieve from the spreadsheet.
+ * @opt_param bool includeGridData True if grid data should be returned. This
+ * parameter is ignored if a field mask was set in the request.
+ * @return Google_Service_Sheets_Spreadsheet
+ */
+ public function get($spreadsheetId, $optParams = array())
+ {
+ $params = array('spreadsheetId' => $spreadsheetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Sheets_Spreadsheet");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/SpreadsheetsSheets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/SpreadsheetsSheets.php
new file mode 100644
index 00000000..5714ae58
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/SpreadsheetsSheets.php
@@ -0,0 +1,45 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "sheets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sheetsService = new Google_Service_Sheets(...);
+ * $sheets = $sheetsService->sheets;
+ * </code>
+ */
+class Google_Service_Sheets_Resource_SpreadsheetsSheets extends Google_Service_Resource
+{
+ /**
+ * Copies a single sheet from a spreadsheet to another spreadsheet. Returns the
+ * properties of the newly created sheet. (sheets.copyTo)
+ *
+ * @param string $spreadsheetId The ID of the spreadsheet containing the sheet
+ * to copy.
+ * @param int $sheetId The ID of the sheet to copy.
+ * @param Google_Service_Sheets_CopySheetToAnotherSpreadsheetRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Sheets_SheetProperties
+ */
+ public function copyTo($spreadsheetId, $sheetId, Google_Service_Sheets_CopySheetToAnotherSpreadsheetRequest $postBody, $optParams = array())
+ {
+ $params = array('spreadsheetId' => $spreadsheetId, 'sheetId' => $sheetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('copyTo', array($params), "Google_Service_Sheets_SheetProperties");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/SpreadsheetsValues.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/SpreadsheetsValues.php
new file mode 100644
index 00000000..c3482dd1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/SpreadsheetsValues.php
@@ -0,0 +1,203 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "values" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sheetsService = new Google_Service_Sheets(...);
+ * $values = $sheetsService->values;
+ * </code>
+ */
+class Google_Service_Sheets_Resource_SpreadsheetsValues extends Google_Service_Resource
+{
+ /**
+ * Appends values to a spreadsheet. The input range is used to search for
+ * existing data and find a "table" within that range. Values will be appended
+ * to the next row of the table, starting with the first column of the table.
+ * See the [guide](/sheets/api/guides/values#appending_values) and [sample
+ * code](/sheets/api/samples/writing#append_values) for specific details of how
+ * tables are detected and data is appended.
+ *
+ * The caller must specify the spreadsheet ID, range, and a valueInputOption.
+ * The `valueInputOption` only controls how the input data will be added to the
+ * sheet (column-wise or row-wise), it does not influence what cell the data
+ * starts being written to. (values.append)
+ *
+ * @param string $spreadsheetId The ID of the spreadsheet to update.
+ * @param string $range The A1 notation of a range to search for a logical table
+ * of data. Values will be appended after the last row of the table.
+ * @param Google_Service_Sheets_ValueRange $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeValuesInResponse Determines if the update response
+ * should include the values of the cells that were appended. By default,
+ * responses do not include the updated values.
+ * @opt_param string responseValueRenderOption Determines how values in the
+ * response should be rendered. The default render option is
+ * ValueRenderOption.FORMATTED_VALUE.
+ * @opt_param string insertDataOption How the input data should be inserted.
+ * @opt_param string valueInputOption How the input data should be interpreted.
+ * @opt_param string responseDateTimeRenderOption Determines how dates, times,
+ * and durations in the response should be rendered. This is ignored if
+ * response_value_render_option is FORMATTED_VALUE. The default dateTime render
+ * option is [DateTimeRenderOption.SERIAL_NUMBER].
+ * @return Google_Service_Sheets_AppendValuesResponse
+ */
+ public function append($spreadsheetId, $range, Google_Service_Sheets_ValueRange $postBody, $optParams = array())
+ {
+ $params = array('spreadsheetId' => $spreadsheetId, 'range' => $range, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('append', array($params), "Google_Service_Sheets_AppendValuesResponse");
+ }
+ /**
+ * Clears one or more ranges of values from a spreadsheet. The caller must
+ * specify the spreadsheet ID and one or more ranges. Only values are cleared --
+ * all other properties of the cell (such as formatting, data validation, etc..)
+ * are kept. (values.batchClear)
+ *
+ * @param string $spreadsheetId The ID of the spreadsheet to update.
+ * @param Google_Service_Sheets_BatchClearValuesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Sheets_BatchClearValuesResponse
+ */
+ public function batchClear($spreadsheetId, Google_Service_Sheets_BatchClearValuesRequest $postBody, $optParams = array())
+ {
+ $params = array('spreadsheetId' => $spreadsheetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchClear', array($params), "Google_Service_Sheets_BatchClearValuesResponse");
+ }
+ /**
+ * Returns one or more ranges of values from a spreadsheet. The caller must
+ * specify the spreadsheet ID and one or more ranges. (values.batchGet)
+ *
+ * @param string $spreadsheetId The ID of the spreadsheet to retrieve data from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string valueRenderOption How values should be represented in the
+ * output. The default render option is ValueRenderOption.FORMATTED_VALUE.
+ * @opt_param string dateTimeRenderOption How dates, times, and durations should
+ * be represented in the output. This is ignored if value_render_option is
+ * FORMATTED_VALUE. The default dateTime render option is
+ * [DateTimeRenderOption.SERIAL_NUMBER].
+ * @opt_param string ranges The A1 notation of the values to retrieve.
+ * @opt_param string majorDimension The major dimension that results should use.
+ *
+ * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then
+ * requesting `range=A1:B2,majorDimension=ROWS` will return `[[1,2],[3,4]]`,
+ * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return
+ * `[[1,3],[2,4]]`.
+ * @return Google_Service_Sheets_BatchGetValuesResponse
+ */
+ public function batchGet($spreadsheetId, $optParams = array())
+ {
+ $params = array('spreadsheetId' => $spreadsheetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchGet', array($params), "Google_Service_Sheets_BatchGetValuesResponse");
+ }
+ /**
+ * Sets values in one or more ranges of a spreadsheet. The caller must specify
+ * the spreadsheet ID, a valueInputOption, and one or more ValueRanges.
+ * (values.batchUpdate)
+ *
+ * @param string $spreadsheetId The ID of the spreadsheet to update.
+ * @param Google_Service_Sheets_BatchUpdateValuesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Sheets_BatchUpdateValuesResponse
+ */
+ public function batchUpdate($spreadsheetId, Google_Service_Sheets_BatchUpdateValuesRequest $postBody, $optParams = array())
+ {
+ $params = array('spreadsheetId' => $spreadsheetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchUpdate', array($params), "Google_Service_Sheets_BatchUpdateValuesResponse");
+ }
+ /**
+ * Clears values from a spreadsheet. The caller must specify the spreadsheet ID
+ * and range. Only values are cleared -- all other properties of the cell (such
+ * as formatting, data validation, etc..) are kept. (values.clear)
+ *
+ * @param string $spreadsheetId The ID of the spreadsheet to update.
+ * @param string $range The A1 notation of the values to clear.
+ * @param Google_Service_Sheets_ClearValuesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Sheets_ClearValuesResponse
+ */
+ public function clear($spreadsheetId, $range, Google_Service_Sheets_ClearValuesRequest $postBody, $optParams = array())
+ {
+ $params = array('spreadsheetId' => $spreadsheetId, 'range' => $range, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('clear', array($params), "Google_Service_Sheets_ClearValuesResponse");
+ }
+ /**
+ * Returns a range of values from a spreadsheet. The caller must specify the
+ * spreadsheet ID and a range. (values.get)
+ *
+ * @param string $spreadsheetId The ID of the spreadsheet to retrieve data from.
+ * @param string $range The A1 notation of the values to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string valueRenderOption How values should be represented in the
+ * output. The default render option is ValueRenderOption.FORMATTED_VALUE.
+ * @opt_param string dateTimeRenderOption How dates, times, and durations should
+ * be represented in the output. This is ignored if value_render_option is
+ * FORMATTED_VALUE. The default dateTime render option is
+ * [DateTimeRenderOption.SERIAL_NUMBER].
+ * @opt_param string majorDimension The major dimension that results should use.
+ *
+ * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then
+ * requesting `range=A1:B2,majorDimension=ROWS` will return `[[1,2],[3,4]]`,
+ * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return
+ * `[[1,3],[2,4]]`.
+ * @return Google_Service_Sheets_ValueRange
+ */
+ public function get($spreadsheetId, $range, $optParams = array())
+ {
+ $params = array('spreadsheetId' => $spreadsheetId, 'range' => $range);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Sheets_ValueRange");
+ }
+ /**
+ * Sets values in a range of a spreadsheet. The caller must specify the
+ * spreadsheet ID, range, and a valueInputOption. (values.update)
+ *
+ * @param string $spreadsheetId The ID of the spreadsheet to update.
+ * @param string $range The A1 notation of the values to update.
+ * @param Google_Service_Sheets_ValueRange $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string responseValueRenderOption Determines how values in the
+ * response should be rendered. The default render option is
+ * ValueRenderOption.FORMATTED_VALUE.
+ * @opt_param string valueInputOption How the input data should be interpreted.
+ * @opt_param string responseDateTimeRenderOption Determines how dates, times,
+ * and durations in the response should be rendered. This is ignored if
+ * response_value_render_option is FORMATTED_VALUE. The default dateTime render
+ * option is [DateTimeRenderOption.SERIAL_NUMBER].
+ * @opt_param bool includeValuesInResponse Determines if the update response
+ * should include the values of the cells that were updated. By default,
+ * responses do not include the updated values. If the range to write was larger
+ * than than the range actually written, the response will include all values in
+ * the requested range (excluding trailing empty rows and columns).
+ * @return Google_Service_Sheets_UpdateValuesResponse
+ */
+ public function update($spreadsheetId, $range, Google_Service_Sheets_ValueRange $postBody, $optParams = array())
+ {
+ $params = array('spreadsheetId' => $spreadsheetId, 'range' => $range, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Sheets_UpdateValuesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Response.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Response.php
new file mode 100644
index 00000000..2b0e0733
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Response.php
@@ -0,0 +1,141 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_Response extends Google_Model
+{
+ protected $addBandingType = 'Google_Service_Sheets_AddBandingResponse';
+ protected $addBandingDataType = '';
+ protected $addChartType = 'Google_Service_Sheets_AddChartResponse';
+ protected $addChartDataType = '';
+ protected $addFilterViewType = 'Google_Service_Sheets_AddFilterViewResponse';
+ protected $addFilterViewDataType = '';
+ protected $addNamedRangeType = 'Google_Service_Sheets_AddNamedRangeResponse';
+ protected $addNamedRangeDataType = '';
+ protected $addProtectedRangeType = 'Google_Service_Sheets_AddProtectedRangeResponse';
+ protected $addProtectedRangeDataType = '';
+ protected $addSheetType = 'Google_Service_Sheets_AddSheetResponse';
+ protected $addSheetDataType = '';
+ protected $deleteConditionalFormatRuleType = 'Google_Service_Sheets_DeleteConditionalFormatRuleResponse';
+ protected $deleteConditionalFormatRuleDataType = '';
+ protected $duplicateFilterViewType = 'Google_Service_Sheets_DuplicateFilterViewResponse';
+ protected $duplicateFilterViewDataType = '';
+ protected $duplicateSheetType = 'Google_Service_Sheets_DuplicateSheetResponse';
+ protected $duplicateSheetDataType = '';
+ protected $findReplaceType = 'Google_Service_Sheets_FindReplaceResponse';
+ protected $findReplaceDataType = '';
+ protected $updateConditionalFormatRuleType = 'Google_Service_Sheets_UpdateConditionalFormatRuleResponse';
+ protected $updateConditionalFormatRuleDataType = '';
+ protected $updateEmbeddedObjectPositionType = 'Google_Service_Sheets_UpdateEmbeddedObjectPositionResponse';
+ protected $updateEmbeddedObjectPositionDataType = '';
+
+ public function setAddBanding(Google_Service_Sheets_AddBandingResponse $addBanding)
+ {
+ $this->addBanding = $addBanding;
+ }
+ public function getAddBanding()
+ {
+ return $this->addBanding;
+ }
+ public function setAddChart(Google_Service_Sheets_AddChartResponse $addChart)
+ {
+ $this->addChart = $addChart;
+ }
+ public function getAddChart()
+ {
+ return $this->addChart;
+ }
+ public function setAddFilterView(Google_Service_Sheets_AddFilterViewResponse $addFilterView)
+ {
+ $this->addFilterView = $addFilterView;
+ }
+ public function getAddFilterView()
+ {
+ return $this->addFilterView;
+ }
+ public function setAddNamedRange(Google_Service_Sheets_AddNamedRangeResponse $addNamedRange)
+ {
+ $this->addNamedRange = $addNamedRange;
+ }
+ public function getAddNamedRange()
+ {
+ return $this->addNamedRange;
+ }
+ public function setAddProtectedRange(Google_Service_Sheets_AddProtectedRangeResponse $addProtectedRange)
+ {
+ $this->addProtectedRange = $addProtectedRange;
+ }
+ public function getAddProtectedRange()
+ {
+ return $this->addProtectedRange;
+ }
+ public function setAddSheet(Google_Service_Sheets_AddSheetResponse $addSheet)
+ {
+ $this->addSheet = $addSheet;
+ }
+ public function getAddSheet()
+ {
+ return $this->addSheet;
+ }
+ public function setDeleteConditionalFormatRule(Google_Service_Sheets_DeleteConditionalFormatRuleResponse $deleteConditionalFormatRule)
+ {
+ $this->deleteConditionalFormatRule = $deleteConditionalFormatRule;
+ }
+ public function getDeleteConditionalFormatRule()
+ {
+ return $this->deleteConditionalFormatRule;
+ }
+ public function setDuplicateFilterView(Google_Service_Sheets_DuplicateFilterViewResponse $duplicateFilterView)
+ {
+ $this->duplicateFilterView = $duplicateFilterView;
+ }
+ public function getDuplicateFilterView()
+ {
+ return $this->duplicateFilterView;
+ }
+ public function setDuplicateSheet(Google_Service_Sheets_DuplicateSheetResponse $duplicateSheet)
+ {
+ $this->duplicateSheet = $duplicateSheet;
+ }
+ public function getDuplicateSheet()
+ {
+ return $this->duplicateSheet;
+ }
+ public function setFindReplace(Google_Service_Sheets_FindReplaceResponse $findReplace)
+ {
+ $this->findReplace = $findReplace;
+ }
+ public function getFindReplace()
+ {
+ return $this->findReplace;
+ }
+ public function setUpdateConditionalFormatRule(Google_Service_Sheets_UpdateConditionalFormatRuleResponse $updateConditionalFormatRule)
+ {
+ $this->updateConditionalFormatRule = $updateConditionalFormatRule;
+ }
+ public function getUpdateConditionalFormatRule()
+ {
+ return $this->updateConditionalFormatRule;
+ }
+ public function setUpdateEmbeddedObjectPosition(Google_Service_Sheets_UpdateEmbeddedObjectPositionResponse $updateEmbeddedObjectPosition)
+ {
+ $this->updateEmbeddedObjectPosition = $updateEmbeddedObjectPosition;
+ }
+ public function getUpdateEmbeddedObjectPosition()
+ {
+ return $this->updateEmbeddedObjectPosition;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/RowData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/RowData.php
new file mode 100644
index 00000000..63a44c67
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/RowData.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_RowData extends Google_Collection
+{
+ protected $collection_key = 'values';
+ protected $valuesType = 'Google_Service_Sheets_CellData';
+ protected $valuesDataType = 'array';
+
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SetBasicFilterRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SetBasicFilterRequest.php
new file mode 100644
index 00000000..86178726
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SetBasicFilterRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_SetBasicFilterRequest extends Google_Model
+{
+ protected $filterType = 'Google_Service_Sheets_BasicFilter';
+ protected $filterDataType = '';
+
+ public function setFilter(Google_Service_Sheets_BasicFilter $filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SetDataValidationRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SetDataValidationRequest.php
new file mode 100644
index 00000000..d1264bcc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SetDataValidationRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_SetDataValidationRequest extends Google_Model
+{
+ protected $rangeType = 'Google_Service_Sheets_GridRange';
+ protected $rangeDataType = '';
+ protected $ruleType = 'Google_Service_Sheets_DataValidationRule';
+ protected $ruleDataType = '';
+
+ public function setRange(Google_Service_Sheets_GridRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+ public function setRule(Google_Service_Sheets_DataValidationRule $rule)
+ {
+ $this->rule = $rule;
+ }
+ public function getRule()
+ {
+ return $this->rule;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Sheet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Sheet.php
new file mode 100644
index 00000000..8f6c92a1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Sheet.php
@@ -0,0 +1,112 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_Sheet extends Google_Collection
+{
+ protected $collection_key = 'protectedRanges';
+ protected $bandedRangesType = 'Google_Service_Sheets_BandedRange';
+ protected $bandedRangesDataType = 'array';
+ protected $basicFilterType = 'Google_Service_Sheets_BasicFilter';
+ protected $basicFilterDataType = '';
+ protected $chartsType = 'Google_Service_Sheets_EmbeddedChart';
+ protected $chartsDataType = 'array';
+ protected $conditionalFormatsType = 'Google_Service_Sheets_ConditionalFormatRule';
+ protected $conditionalFormatsDataType = 'array';
+ protected $dataType = 'Google_Service_Sheets_GridData';
+ protected $dataDataType = 'array';
+ protected $filterViewsType = 'Google_Service_Sheets_FilterView';
+ protected $filterViewsDataType = 'array';
+ protected $mergesType = 'Google_Service_Sheets_GridRange';
+ protected $mergesDataType = 'array';
+ protected $propertiesType = 'Google_Service_Sheets_SheetProperties';
+ protected $propertiesDataType = '';
+ protected $protectedRangesType = 'Google_Service_Sheets_ProtectedRange';
+ protected $protectedRangesDataType = 'array';
+
+ public function setBandedRanges($bandedRanges)
+ {
+ $this->bandedRanges = $bandedRanges;
+ }
+ public function getBandedRanges()
+ {
+ return $this->bandedRanges;
+ }
+ public function setBasicFilter(Google_Service_Sheets_BasicFilter $basicFilter)
+ {
+ $this->basicFilter = $basicFilter;
+ }
+ public function getBasicFilter()
+ {
+ return $this->basicFilter;
+ }
+ public function setCharts($charts)
+ {
+ $this->charts = $charts;
+ }
+ public function getCharts()
+ {
+ return $this->charts;
+ }
+ public function setConditionalFormats($conditionalFormats)
+ {
+ $this->conditionalFormats = $conditionalFormats;
+ }
+ public function getConditionalFormats()
+ {
+ return $this->conditionalFormats;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setFilterViews($filterViews)
+ {
+ $this->filterViews = $filterViews;
+ }
+ public function getFilterViews()
+ {
+ return $this->filterViews;
+ }
+ public function setMerges($merges)
+ {
+ $this->merges = $merges;
+ }
+ public function getMerges()
+ {
+ return $this->merges;
+ }
+ public function setProperties(Google_Service_Sheets_SheetProperties $properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+ public function setProtectedRanges($protectedRanges)
+ {
+ $this->protectedRanges = $protectedRanges;
+ }
+ public function getProtectedRanges()
+ {
+ return $this->protectedRanges;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SheetProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SheetProperties.php
new file mode 100644
index 00000000..e885b969
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SheetProperties.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_SheetProperties extends Google_Model
+{
+ protected $gridPropertiesType = 'Google_Service_Sheets_GridProperties';
+ protected $gridPropertiesDataType = '';
+ public $hidden;
+ public $index;
+ public $rightToLeft;
+ public $sheetId;
+ public $sheetType;
+ protected $tabColorType = 'Google_Service_Sheets_Color';
+ protected $tabColorDataType = '';
+ public $title;
+
+ public function setGridProperties(Google_Service_Sheets_GridProperties $gridProperties)
+ {
+ $this->gridProperties = $gridProperties;
+ }
+ public function getGridProperties()
+ {
+ return $this->gridProperties;
+ }
+ public function setHidden($hidden)
+ {
+ $this->hidden = $hidden;
+ }
+ public function getHidden()
+ {
+ return $this->hidden;
+ }
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+ public function setRightToLeft($rightToLeft)
+ {
+ $this->rightToLeft = $rightToLeft;
+ }
+ public function getRightToLeft()
+ {
+ return $this->rightToLeft;
+ }
+ public function setSheetId($sheetId)
+ {
+ $this->sheetId = $sheetId;
+ }
+ public function getSheetId()
+ {
+ return $this->sheetId;
+ }
+ public function setSheetType($sheetType)
+ {
+ $this->sheetType = $sheetType;
+ }
+ public function getSheetType()
+ {
+ return $this->sheetType;
+ }
+ public function setTabColor(Google_Service_Sheets_Color $tabColor)
+ {
+ $this->tabColor = $tabColor;
+ }
+ public function getTabColor()
+ {
+ return $this->tabColor;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SortRangeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SortRangeRequest.php
new file mode 100644
index 00000000..672ac463
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SortRangeRequest.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_SortRangeRequest extends Google_Collection
+{
+ protected $collection_key = 'sortSpecs';
+ protected $rangeType = 'Google_Service_Sheets_GridRange';
+ protected $rangeDataType = '';
+ protected $sortSpecsType = 'Google_Service_Sheets_SortSpec';
+ protected $sortSpecsDataType = 'array';
+
+ public function setRange(Google_Service_Sheets_GridRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+ public function setSortSpecs($sortSpecs)
+ {
+ $this->sortSpecs = $sortSpecs;
+ }
+ public function getSortSpecs()
+ {
+ return $this->sortSpecs;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SortSpec.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SortSpec.php
new file mode 100644
index 00000000..23ca6643
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SortSpec.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_SortSpec extends Google_Model
+{
+ public $dimensionIndex;
+ public $sortOrder;
+
+ public function setDimensionIndex($dimensionIndex)
+ {
+ $this->dimensionIndex = $dimensionIndex;
+ }
+ public function getDimensionIndex()
+ {
+ return $this->dimensionIndex;
+ }
+ public function setSortOrder($sortOrder)
+ {
+ $this->sortOrder = $sortOrder;
+ }
+ public function getSortOrder()
+ {
+ return $this->sortOrder;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SourceAndDestination.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SourceAndDestination.php
new file mode 100644
index 00000000..cc8ba7cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SourceAndDestination.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_SourceAndDestination extends Google_Model
+{
+ public $dimension;
+ public $fillLength;
+ protected $sourceType = 'Google_Service_Sheets_GridRange';
+ protected $sourceDataType = '';
+
+ public function setDimension($dimension)
+ {
+ $this->dimension = $dimension;
+ }
+ public function getDimension()
+ {
+ return $this->dimension;
+ }
+ public function setFillLength($fillLength)
+ {
+ $this->fillLength = $fillLength;
+ }
+ public function getFillLength()
+ {
+ return $this->fillLength;
+ }
+ public function setSource(Google_Service_Sheets_GridRange $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Spreadsheet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Spreadsheet.php
new file mode 100644
index 00000000..deb06fce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Spreadsheet.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_Spreadsheet extends Google_Collection
+{
+ protected $collection_key = 'sheets';
+ protected $namedRangesType = 'Google_Service_Sheets_NamedRange';
+ protected $namedRangesDataType = 'array';
+ protected $propertiesType = 'Google_Service_Sheets_SpreadsheetProperties';
+ protected $propertiesDataType = '';
+ protected $sheetsType = 'Google_Service_Sheets_Sheet';
+ protected $sheetsDataType = 'array';
+ public $spreadsheetId;
+ public $spreadsheetUrl;
+
+ public function setNamedRanges($namedRanges)
+ {
+ $this->namedRanges = $namedRanges;
+ }
+ public function getNamedRanges()
+ {
+ return $this->namedRanges;
+ }
+ public function setProperties(Google_Service_Sheets_SpreadsheetProperties $properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+ public function setSheets($sheets)
+ {
+ $this->sheets = $sheets;
+ }
+ public function getSheets()
+ {
+ return $this->sheets;
+ }
+ public function setSpreadsheetId($spreadsheetId)
+ {
+ $this->spreadsheetId = $spreadsheetId;
+ }
+ public function getSpreadsheetId()
+ {
+ return $this->spreadsheetId;
+ }
+ public function setSpreadsheetUrl($spreadsheetUrl)
+ {
+ $this->spreadsheetUrl = $spreadsheetUrl;
+ }
+ public function getSpreadsheetUrl()
+ {
+ return $this->spreadsheetUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SpreadsheetProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SpreadsheetProperties.php
new file mode 100644
index 00000000..2b33c488
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SpreadsheetProperties.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_SpreadsheetProperties extends Google_Model
+{
+ public $autoRecalc;
+ protected $defaultFormatType = 'Google_Service_Sheets_CellFormat';
+ protected $defaultFormatDataType = '';
+ protected $iterativeCalculationSettingsType = 'Google_Service_Sheets_IterativeCalculationSettings';
+ protected $iterativeCalculationSettingsDataType = '';
+ public $locale;
+ public $timeZone;
+ public $title;
+
+ public function setAutoRecalc($autoRecalc)
+ {
+ $this->autoRecalc = $autoRecalc;
+ }
+ public function getAutoRecalc()
+ {
+ return $this->autoRecalc;
+ }
+ public function setDefaultFormat(Google_Service_Sheets_CellFormat $defaultFormat)
+ {
+ $this->defaultFormat = $defaultFormat;
+ }
+ public function getDefaultFormat()
+ {
+ return $this->defaultFormat;
+ }
+ public function setIterativeCalculationSettings(Google_Service_Sheets_IterativeCalculationSettings $iterativeCalculationSettings)
+ {
+ $this->iterativeCalculationSettings = $iterativeCalculationSettings;
+ }
+ public function getIterativeCalculationSettings()
+ {
+ return $this->iterativeCalculationSettings;
+ }
+ public function setLocale($locale)
+ {
+ $this->locale = $locale;
+ }
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+ public function setTimeZone($timeZone)
+ {
+ $this->timeZone = $timeZone;
+ }
+ public function getTimeZone()
+ {
+ return $this->timeZone;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextFormat.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextFormat.php
new file mode 100644
index 00000000..c51a1828
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextFormat.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_TextFormat extends Google_Model
+{
+ public $bold;
+ public $fontFamily;
+ public $fontSize;
+ protected $foregroundColorType = 'Google_Service_Sheets_Color';
+ protected $foregroundColorDataType = '';
+ public $italic;
+ public $strikethrough;
+ public $underline;
+
+ public function setBold($bold)
+ {
+ $this->bold = $bold;
+ }
+ public function getBold()
+ {
+ return $this->bold;
+ }
+ public function setFontFamily($fontFamily)
+ {
+ $this->fontFamily = $fontFamily;
+ }
+ public function getFontFamily()
+ {
+ return $this->fontFamily;
+ }
+ public function setFontSize($fontSize)
+ {
+ $this->fontSize = $fontSize;
+ }
+ public function getFontSize()
+ {
+ return $this->fontSize;
+ }
+ public function setForegroundColor(Google_Service_Sheets_Color $foregroundColor)
+ {
+ $this->foregroundColor = $foregroundColor;
+ }
+ public function getForegroundColor()
+ {
+ return $this->foregroundColor;
+ }
+ public function setItalic($italic)
+ {
+ $this->italic = $italic;
+ }
+ public function getItalic()
+ {
+ return $this->italic;
+ }
+ public function setStrikethrough($strikethrough)
+ {
+ $this->strikethrough = $strikethrough;
+ }
+ public function getStrikethrough()
+ {
+ return $this->strikethrough;
+ }
+ public function setUnderline($underline)
+ {
+ $this->underline = $underline;
+ }
+ public function getUnderline()
+ {
+ return $this->underline;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextFormatRun.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextFormatRun.php
new file mode 100644
index 00000000..7ee1c236
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextFormatRun.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_TextFormatRun extends Google_Model
+{
+ protected $formatType = 'Google_Service_Sheets_TextFormat';
+ protected $formatDataType = '';
+ public $startIndex;
+
+ public function setFormat(Google_Service_Sheets_TextFormat $format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextRotation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextRotation.php
new file mode 100644
index 00000000..55f8902f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextRotation.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_TextRotation extends Google_Model
+{
+ public $angle;
+ public $vertical;
+
+ public function setAngle($angle)
+ {
+ $this->angle = $angle;
+ }
+ public function getAngle()
+ {
+ return $this->angle;
+ }
+ public function setVertical($vertical)
+ {
+ $this->vertical = $vertical;
+ }
+ public function getVertical()
+ {
+ return $this->vertical;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextToColumnsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextToColumnsRequest.php
new file mode 100644
index 00000000..4229cdc3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextToColumnsRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_TextToColumnsRequest extends Google_Model
+{
+ public $delimiter;
+ public $delimiterType;
+ protected $sourceType = 'Google_Service_Sheets_GridRange';
+ protected $sourceDataType = '';
+
+ public function setDelimiter($delimiter)
+ {
+ $this->delimiter = $delimiter;
+ }
+ public function getDelimiter()
+ {
+ return $this->delimiter;
+ }
+ public function setDelimiterType($delimiterType)
+ {
+ $this->delimiterType = $delimiterType;
+ }
+ public function getDelimiterType()
+ {
+ return $this->delimiterType;
+ }
+ public function setSource(Google_Service_Sheets_GridRange $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UnmergeCellsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UnmergeCellsRequest.php
new file mode 100644
index 00000000..c83ddb28
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UnmergeCellsRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_UnmergeCellsRequest extends Google_Model
+{
+ protected $rangeType = 'Google_Service_Sheets_GridRange';
+ protected $rangeDataType = '';
+
+ public function setRange(Google_Service_Sheets_GridRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateBandingRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateBandingRequest.php
new file mode 100644
index 00000000..f4cea769
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateBandingRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_UpdateBandingRequest extends Google_Model
+{
+ protected $bandedRangeType = 'Google_Service_Sheets_BandedRange';
+ protected $bandedRangeDataType = '';
+ public $fields;
+
+ public function setBandedRange(Google_Service_Sheets_BandedRange $bandedRange)
+ {
+ $this->bandedRange = $bandedRange;
+ }
+ public function getBandedRange()
+ {
+ return $this->bandedRange;
+ }
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateBordersRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateBordersRequest.php
new file mode 100644
index 00000000..18b53b3e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateBordersRequest.php
@@ -0,0 +1,91 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_UpdateBordersRequest extends Google_Model
+{
+ protected $bottomType = 'Google_Service_Sheets_Border';
+ protected $bottomDataType = '';
+ protected $innerHorizontalType = 'Google_Service_Sheets_Border';
+ protected $innerHorizontalDataType = '';
+ protected $innerVerticalType = 'Google_Service_Sheets_Border';
+ protected $innerVerticalDataType = '';
+ protected $leftType = 'Google_Service_Sheets_Border';
+ protected $leftDataType = '';
+ protected $rangeType = 'Google_Service_Sheets_GridRange';
+ protected $rangeDataType = '';
+ protected $rightType = 'Google_Service_Sheets_Border';
+ protected $rightDataType = '';
+ protected $topType = 'Google_Service_Sheets_Border';
+ protected $topDataType = '';
+
+ public function setBottom(Google_Service_Sheets_Border $bottom)
+ {
+ $this->bottom = $bottom;
+ }
+ public function getBottom()
+ {
+ return $this->bottom;
+ }
+ public function setInnerHorizontal(Google_Service_Sheets_Border $innerHorizontal)
+ {
+ $this->innerHorizontal = $innerHorizontal;
+ }
+ public function getInnerHorizontal()
+ {
+ return $this->innerHorizontal;
+ }
+ public function setInnerVertical(Google_Service_Sheets_Border $innerVertical)
+ {
+ $this->innerVertical = $innerVertical;
+ }
+ public function getInnerVertical()
+ {
+ return $this->innerVertical;
+ }
+ public function setLeft(Google_Service_Sheets_Border $left)
+ {
+ $this->left = $left;
+ }
+ public function getLeft()
+ {
+ return $this->left;
+ }
+ public function setRange(Google_Service_Sheets_GridRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+ public function setRight(Google_Service_Sheets_Border $right)
+ {
+ $this->right = $right;
+ }
+ public function getRight()
+ {
+ return $this->right;
+ }
+ public function setTop(Google_Service_Sheets_Border $top)
+ {
+ $this->top = $top;
+ }
+ public function getTop()
+ {
+ return $this->top;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateCellsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateCellsRequest.php
new file mode 100644
index 00000000..6d629d30
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateCellsRequest.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_UpdateCellsRequest extends Google_Collection
+{
+ protected $collection_key = 'rows';
+ public $fields;
+ protected $rangeType = 'Google_Service_Sheets_GridRange';
+ protected $rangeDataType = '';
+ protected $rowsType = 'Google_Service_Sheets_RowData';
+ protected $rowsDataType = 'array';
+ protected $startType = 'Google_Service_Sheets_GridCoordinate';
+ protected $startDataType = '';
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setRange(Google_Service_Sheets_GridRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+ public function setStart(Google_Service_Sheets_GridCoordinate $start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateChartSpecRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateChartSpecRequest.php
new file mode 100644
index 00000000..c40fd3fe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateChartSpecRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_UpdateChartSpecRequest extends Google_Model
+{
+ public $chartId;
+ protected $specType = 'Google_Service_Sheets_ChartSpec';
+ protected $specDataType = '';
+
+ public function setChartId($chartId)
+ {
+ $this->chartId = $chartId;
+ }
+ public function getChartId()
+ {
+ return $this->chartId;
+ }
+ public function setSpec(Google_Service_Sheets_ChartSpec $spec)
+ {
+ $this->spec = $spec;
+ }
+ public function getSpec()
+ {
+ return $this->spec;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateConditionalFormatRuleRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateConditionalFormatRuleRequest.php
new file mode 100644
index 00000000..10aefd7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateConditionalFormatRuleRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_UpdateConditionalFormatRuleRequest extends Google_Model
+{
+ public $index;
+ public $newIndex;
+ protected $ruleType = 'Google_Service_Sheets_ConditionalFormatRule';
+ protected $ruleDataType = '';
+ public $sheetId;
+
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+ public function setNewIndex($newIndex)
+ {
+ $this->newIndex = $newIndex;
+ }
+ public function getNewIndex()
+ {
+ return $this->newIndex;
+ }
+ public function setRule(Google_Service_Sheets_ConditionalFormatRule $rule)
+ {
+ $this->rule = $rule;
+ }
+ public function getRule()
+ {
+ return $this->rule;
+ }
+ public function setSheetId($sheetId)
+ {
+ $this->sheetId = $sheetId;
+ }
+ public function getSheetId()
+ {
+ return $this->sheetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateConditionalFormatRuleResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateConditionalFormatRuleResponse.php
new file mode 100644
index 00000000..3313cdc2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateConditionalFormatRuleResponse.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_UpdateConditionalFormatRuleResponse extends Google_Model
+{
+ public $newIndex;
+ protected $newRuleType = 'Google_Service_Sheets_ConditionalFormatRule';
+ protected $newRuleDataType = '';
+ public $oldIndex;
+ protected $oldRuleType = 'Google_Service_Sheets_ConditionalFormatRule';
+ protected $oldRuleDataType = '';
+
+ public function setNewIndex($newIndex)
+ {
+ $this->newIndex = $newIndex;
+ }
+ public function getNewIndex()
+ {
+ return $this->newIndex;
+ }
+ public function setNewRule(Google_Service_Sheets_ConditionalFormatRule $newRule)
+ {
+ $this->newRule = $newRule;
+ }
+ public function getNewRule()
+ {
+ return $this->newRule;
+ }
+ public function setOldIndex($oldIndex)
+ {
+ $this->oldIndex = $oldIndex;
+ }
+ public function getOldIndex()
+ {
+ return $this->oldIndex;
+ }
+ public function setOldRule(Google_Service_Sheets_ConditionalFormatRule $oldRule)
+ {
+ $this->oldRule = $oldRule;
+ }
+ public function getOldRule()
+ {
+ return $this->oldRule;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateDimensionPropertiesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateDimensionPropertiesRequest.php
new file mode 100644
index 00000000..b96c8ff0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateDimensionPropertiesRequest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_UpdateDimensionPropertiesRequest extends Google_Model
+{
+ public $fields;
+ protected $propertiesType = 'Google_Service_Sheets_DimensionProperties';
+ protected $propertiesDataType = '';
+ protected $rangeType = 'Google_Service_Sheets_DimensionRange';
+ protected $rangeDataType = '';
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setProperties(Google_Service_Sheets_DimensionProperties $properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+ public function setRange(Google_Service_Sheets_DimensionRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateEmbeddedObjectPositionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateEmbeddedObjectPositionRequest.php
new file mode 100644
index 00000000..153dccec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateEmbeddedObjectPositionRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_UpdateEmbeddedObjectPositionRequest extends Google_Model
+{
+ public $fields;
+ protected $newPositionType = 'Google_Service_Sheets_EmbeddedObjectPosition';
+ protected $newPositionDataType = '';
+ public $objectId;
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setNewPosition(Google_Service_Sheets_EmbeddedObjectPosition $newPosition)
+ {
+ $this->newPosition = $newPosition;
+ }
+ public function getNewPosition()
+ {
+ return $this->newPosition;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateEmbeddedObjectPositionResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateEmbeddedObjectPositionResponse.php
new file mode 100644
index 00000000..e5bbd48d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateEmbeddedObjectPositionResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_UpdateEmbeddedObjectPositionResponse extends Google_Model
+{
+ protected $positionType = 'Google_Service_Sheets_EmbeddedObjectPosition';
+ protected $positionDataType = '';
+
+ public function setPosition(Google_Service_Sheets_EmbeddedObjectPosition $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateFilterViewRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateFilterViewRequest.php
new file mode 100644
index 00000000..7fe57b56
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateFilterViewRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_UpdateFilterViewRequest extends Google_Model
+{
+ public $fields;
+ protected $filterType = 'Google_Service_Sheets_FilterView';
+ protected $filterDataType = '';
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setFilter(Google_Service_Sheets_FilterView $filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateNamedRangeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateNamedRangeRequest.php
new file mode 100644
index 00000000..7d9d8890
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateNamedRangeRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_UpdateNamedRangeRequest extends Google_Model
+{
+ public $fields;
+ protected $namedRangeType = 'Google_Service_Sheets_NamedRange';
+ protected $namedRangeDataType = '';
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setNamedRange(Google_Service_Sheets_NamedRange $namedRange)
+ {
+ $this->namedRange = $namedRange;
+ }
+ public function getNamedRange()
+ {
+ return $this->namedRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateProtectedRangeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateProtectedRangeRequest.php
new file mode 100644
index 00000000..6f5b8327
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateProtectedRangeRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_UpdateProtectedRangeRequest extends Google_Model
+{
+ public $fields;
+ protected $protectedRangeType = 'Google_Service_Sheets_ProtectedRange';
+ protected $protectedRangeDataType = '';
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setProtectedRange(Google_Service_Sheets_ProtectedRange $protectedRange)
+ {
+ $this->protectedRange = $protectedRange;
+ }
+ public function getProtectedRange()
+ {
+ return $this->protectedRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateSheetPropertiesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateSheetPropertiesRequest.php
new file mode 100644
index 00000000..c14acfc1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateSheetPropertiesRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_UpdateSheetPropertiesRequest extends Google_Model
+{
+ public $fields;
+ protected $propertiesType = 'Google_Service_Sheets_SheetProperties';
+ protected $propertiesDataType = '';
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setProperties(Google_Service_Sheets_SheetProperties $properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateSpreadsheetPropertiesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateSpreadsheetPropertiesRequest.php
new file mode 100644
index 00000000..1bcea29e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateSpreadsheetPropertiesRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_UpdateSpreadsheetPropertiesRequest extends Google_Model
+{
+ public $fields;
+ protected $propertiesType = 'Google_Service_Sheets_SpreadsheetProperties';
+ protected $propertiesDataType = '';
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setProperties(Google_Service_Sheets_SpreadsheetProperties $properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateValuesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateValuesResponse.php
new file mode 100644
index 00000000..46dc85f2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateValuesResponse.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_UpdateValuesResponse extends Google_Model
+{
+ public $spreadsheetId;
+ public $updatedCells;
+ public $updatedColumns;
+ protected $updatedDataType = 'Google_Service_Sheets_ValueRange';
+ protected $updatedDataDataType = '';
+ public $updatedRange;
+ public $updatedRows;
+
+ public function setSpreadsheetId($spreadsheetId)
+ {
+ $this->spreadsheetId = $spreadsheetId;
+ }
+ public function getSpreadsheetId()
+ {
+ return $this->spreadsheetId;
+ }
+ public function setUpdatedCells($updatedCells)
+ {
+ $this->updatedCells = $updatedCells;
+ }
+ public function getUpdatedCells()
+ {
+ return $this->updatedCells;
+ }
+ public function setUpdatedColumns($updatedColumns)
+ {
+ $this->updatedColumns = $updatedColumns;
+ }
+ public function getUpdatedColumns()
+ {
+ return $this->updatedColumns;
+ }
+ public function setUpdatedData(Google_Service_Sheets_ValueRange $updatedData)
+ {
+ $this->updatedData = $updatedData;
+ }
+ public function getUpdatedData()
+ {
+ return $this->updatedData;
+ }
+ public function setUpdatedRange($updatedRange)
+ {
+ $this->updatedRange = $updatedRange;
+ }
+ public function getUpdatedRange()
+ {
+ return $this->updatedRange;
+ }
+ public function setUpdatedRows($updatedRows)
+ {
+ $this->updatedRows = $updatedRows;
+ }
+ public function getUpdatedRows()
+ {
+ return $this->updatedRows;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ValueRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ValueRange.php
new file mode 100644
index 00000000..3bc7a4b3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ValueRange.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Sheets_ValueRange extends Google_Collection
+{
+ protected $collection_key = 'values';
+ public $majorDimension;
+ public $range;
+ public $values;
+
+ public function setMajorDimension($majorDimension)
+ {
+ $this->majorDimension = $majorDimension;
+ }
+ public function getMajorDimension()
+ {
+ return $this->majorDimension;
+ }
+ public function setRange($range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent.php
new file mode 100644
index 00000000..16f60c56
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent.php
@@ -0,0 +1,1114 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Manages 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" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_ShoppingContent extends Google_Service
+{
+ /** Manage your product listings and accounts for Google Shopping. */
+ const CONTENT =
+ "https://www.googleapis.com/auth/content";
+
+ public $accounts;
+ public $accountshipping;
+ public $accountstatuses;
+ public $accounttax;
+ public $datafeeds;
+ public $datafeedstatuses;
+ public $inventory;
+ public $orders;
+ public $products;
+ public $productstatuses;
+ public $shippingsettings;
+
+ /**
+ * Constructs the internal representation of the ShoppingContent service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'content/v2/';
+ $this->version = 'v2';
+ $this->serviceName = 'content';
+
+ $this->accounts = new Google_Service_ShoppingContent_Resource_Accounts(
+ $this,
+ $this->serviceName,
+ 'accounts',
+ array(
+ 'methods' => array(
+ 'authinfo' => array(
+ 'path' => 'accounts/authinfo',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),'custombatch' => array(
+ 'path' => 'accounts/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'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,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'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,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/accounts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'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,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accountshipping = new Google_Service_ShoppingContent_Resource_Accountshipping(
+ $this,
+ $this->serviceName,
+ 'accountshipping',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'accountshipping/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{merchantId}/accountshipping/{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}/accountshipping',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{merchantId}/accountshipping/{accountId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{merchantId}/accountshipping/{accountId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accountstatuses = new Google_Service_ShoppingContent_Resource_Accountstatuses(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounttax = new Google_Service_ShoppingContent_Resource_Accounttax(
+ $this,
+ $this->serviceName,
+ 'accounttax',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'accounttax/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{merchantId}/accounttax/{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}/accounttax',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{merchantId}/accounttax/{accountId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{merchantId}/accounttax/{accountId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->datafeeds = new Google_Service_ShoppingContent_Resource_Datafeeds(
+ $this,
+ $this->serviceName,
+ 'datafeeds',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'datafeeds/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'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,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'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,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/datafeeds',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'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,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->datafeedstatuses = new Google_Service_ShoppingContent_Resource_Datafeedstatuses(
+ $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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->inventory = new Google_Service_ShoppingContent_Resource_Inventory(
+ $this,
+ $this->serviceName,
+ 'inventory',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'inventory/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'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,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->orders = new Google_Service_ShoppingContent_Resource_Orders(
+ $this,
+ $this->serviceName,
+ 'orders',
+ array(
+ 'methods' => array(
+ 'acknowledge' => array(
+ 'path' => '{merchantId}/orders/{orderId}/acknowledge',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'advancetestorder' => array(
+ 'path' => '{merchantId}/testorders/{orderId}/advance',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'cancel' => array(
+ 'path' => '{merchantId}/orders/{orderId}/cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'cancellineitem' => array(
+ 'path' => '{merchantId}/orders/{orderId}/cancelLineItem',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'createtestorder' => array(
+ 'path' => '{merchantId}/testorders',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'custombatch' => array(
+ 'path' => 'orders/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => '{merchantId}/orders/{orderId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getbymerchantorderid' => array(
+ 'path' => '{merchantId}/ordersbymerchantid/{merchantOrderId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'merchantOrderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'gettestordertemplate' => array(
+ 'path' => '{merchantId}/testordertemplates/{templateName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'templateName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/orders',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'acknowledged' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'placedDateEnd' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'placedDateStart' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'statuses' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'refund' => array(
+ 'path' => '{merchantId}/orders/{orderId}/refund',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'returnlineitem' => array(
+ 'path' => '{merchantId}/orders/{orderId}/returnLineItem',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'shiplineitems' => array(
+ 'path' => '{merchantId}/orders/{orderId}/shipLineItems',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'updatemerchantorderid' => array(
+ 'path' => '{merchantId}/orders/{orderId}/updateMerchantOrderId',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'updateshipment' => array(
+ 'path' => '{merchantId}/orders/{orderId}/updateShipment',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->products = new Google_Service_ShoppingContent_Resource_Products(
+ $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,
+ ),
+ 'includeInvalidInsertedItems' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->productstatuses = new Google_Service_ShoppingContent_Resource_Productstatuses(
+ $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,
+ ),
+ 'includeInvalidInsertedItems' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->shippingsettings = new Google_Service_ShoppingContent_Resource_Shippingsettings(
+ $this,
+ $this->serviceName,
+ 'shippingsettings',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'shippingsettings/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{merchantId}/shippingsettings/{accountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getsupportedcarriers' => array(
+ 'path' => '{merchantId}/supportedCarriers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/shippingsettings',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{merchantId}/shippingsettings/{accountId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{merchantId}/shippingsettings/{accountId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Account.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Account.php
new file mode 100644
index 00000000..818b624f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Account.php
@@ -0,0 +1,105 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_Account extends Google_Collection
+{
+ protected $collection_key = 'users';
+ public $adultContent;
+ protected $adwordsLinksType = 'Google_Service_ShoppingContent_AccountAdwordsLink';
+ protected $adwordsLinksDataType = 'array';
+ public $id;
+ public $kind;
+ public $name;
+ public $reviewsUrl;
+ public $sellerId;
+ protected $usersType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountAdwordsLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountAdwordsLink.php
new file mode 100644
index 00000000..7545618e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountAdwordsLink.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountAdwordsLink extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountIdentifier.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountIdentifier.php
new file mode 100644
index 00000000..79b5ecfb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountIdentifier.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountIdentifier extends Google_Model
+{
+ public $aggregatorId;
+ public $merchantId;
+
+ public function setAggregatorId($aggregatorId)
+ {
+ $this->aggregatorId = $aggregatorId;
+ }
+ public function getAggregatorId()
+ {
+ return $this->aggregatorId;
+ }
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShipping.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShipping.php
new file mode 100644
index 00000000..bd5cceb3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShipping.php
@@ -0,0 +1,80 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountShipping extends Google_Collection
+{
+ protected $collection_key = 'services';
+ public $accountId;
+ protected $carrierRatesType = 'Google_Service_ShoppingContent_AccountShippingCarrierRate';
+ protected $carrierRatesDataType = 'array';
+ public $kind;
+ protected $locationGroupsType = 'Google_Service_ShoppingContent_AccountShippingLocationGroup';
+ protected $locationGroupsDataType = 'array';
+ protected $rateTablesType = 'Google_Service_ShoppingContent_AccountShippingRateTable';
+ protected $rateTablesDataType = 'array';
+ protected $servicesType = 'Google_Service_ShoppingContent_AccountShippingShippingService';
+ protected $servicesDataType = 'array';
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setCarrierRates($carrierRates)
+ {
+ $this->carrierRates = $carrierRates;
+ }
+ public function getCarrierRates()
+ {
+ return $this->carrierRates;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocationGroups($locationGroups)
+ {
+ $this->locationGroups = $locationGroups;
+ }
+ public function getLocationGroups()
+ {
+ return $this->locationGroups;
+ }
+ public function setRateTables($rateTables)
+ {
+ $this->rateTables = $rateTables;
+ }
+ public function getRateTables()
+ {
+ return $this->rateTables;
+ }
+ public function setServices($services)
+ {
+ $this->services = $services;
+ }
+ public function getServices()
+ {
+ return $this->services;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingCarrierRate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingCarrierRate.php
new file mode 100644
index 00000000..e3019122
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingCarrierRate.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountShippingCarrierRate extends Google_Model
+{
+ public $carrier;
+ public $carrierService;
+ protected $modifierFlatRateType = 'Google_Service_ShoppingContent_Price';
+ protected $modifierFlatRateDataType = '';
+ public $modifierPercent;
+ public $name;
+ public $saleCountry;
+ public $shippingOrigin;
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+ public function setCarrierService($carrierService)
+ {
+ $this->carrierService = $carrierService;
+ }
+ public function getCarrierService()
+ {
+ return $this->carrierService;
+ }
+ public function setModifierFlatRate(Google_Service_ShoppingContent_Price $modifierFlatRate)
+ {
+ $this->modifierFlatRate = $modifierFlatRate;
+ }
+ public function getModifierFlatRate()
+ {
+ return $this->modifierFlatRate;
+ }
+ public function setModifierPercent($modifierPercent)
+ {
+ $this->modifierPercent = $modifierPercent;
+ }
+ public function getModifierPercent()
+ {
+ return $this->modifierPercent;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSaleCountry($saleCountry)
+ {
+ $this->saleCountry = $saleCountry;
+ }
+ public function getSaleCountry()
+ {
+ return $this->saleCountry;
+ }
+ public function setShippingOrigin($shippingOrigin)
+ {
+ $this->shippingOrigin = $shippingOrigin;
+ }
+ public function getShippingOrigin()
+ {
+ return $this->shippingOrigin;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingCondition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingCondition.php
new file mode 100644
index 00000000..9bd68b91
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingCondition.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountShippingCondition extends Google_Model
+{
+ public $deliveryLocationGroup;
+ public $deliveryLocationId;
+ public $deliveryPostalCode;
+ protected $deliveryPostalCodeRangeType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange';
+ protected $deliveryPostalCodeRangeDataType = '';
+ protected $priceMaxType = 'Google_Service_ShoppingContent_Price';
+ protected $priceMaxDataType = '';
+ public $shippingLabel;
+ protected $weightMaxType = 'Google_Service_ShoppingContent_Weight';
+ protected $weightMaxDataType = '';
+
+ public function setDeliveryLocationGroup($deliveryLocationGroup)
+ {
+ $this->deliveryLocationGroup = $deliveryLocationGroup;
+ }
+ public function getDeliveryLocationGroup()
+ {
+ return $this->deliveryLocationGroup;
+ }
+ public function setDeliveryLocationId($deliveryLocationId)
+ {
+ $this->deliveryLocationId = $deliveryLocationId;
+ }
+ public function getDeliveryLocationId()
+ {
+ return $this->deliveryLocationId;
+ }
+ public function setDeliveryPostalCode($deliveryPostalCode)
+ {
+ $this->deliveryPostalCode = $deliveryPostalCode;
+ }
+ public function getDeliveryPostalCode()
+ {
+ return $this->deliveryPostalCode;
+ }
+ public function setDeliveryPostalCodeRange(Google_Service_ShoppingContent_AccountShippingPostalCodeRange $deliveryPostalCodeRange)
+ {
+ $this->deliveryPostalCodeRange = $deliveryPostalCodeRange;
+ }
+ public function getDeliveryPostalCodeRange()
+ {
+ return $this->deliveryPostalCodeRange;
+ }
+ public function setPriceMax(Google_Service_ShoppingContent_Price $priceMax)
+ {
+ $this->priceMax = $priceMax;
+ }
+ public function getPriceMax()
+ {
+ return $this->priceMax;
+ }
+ public function setShippingLabel($shippingLabel)
+ {
+ $this->shippingLabel = $shippingLabel;
+ }
+ public function getShippingLabel()
+ {
+ return $this->shippingLabel;
+ }
+ public function setWeightMax(Google_Service_ShoppingContent_Weight $weightMax)
+ {
+ $this->weightMax = $weightMax;
+ }
+ public function getWeightMax()
+ {
+ return $this->weightMax;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingLocationGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingLocationGroup.php
new file mode 100644
index 00000000..5e0ca75f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingLocationGroup.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountShippingLocationGroup extends Google_Collection
+{
+ protected $collection_key = 'postalCodes';
+ public $country;
+ public $locationIds;
+ public $name;
+ protected $postalCodeRangesType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange';
+ protected $postalCodeRangesDataType = 'array';
+ public $postalCodes;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setLocationIds($locationIds)
+ {
+ $this->locationIds = $locationIds;
+ }
+ public function getLocationIds()
+ {
+ return $this->locationIds;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPostalCodeRanges($postalCodeRanges)
+ {
+ $this->postalCodeRanges = $postalCodeRanges;
+ }
+ public function getPostalCodeRanges()
+ {
+ return $this->postalCodeRanges;
+ }
+ public function setPostalCodes($postalCodes)
+ {
+ $this->postalCodes = $postalCodes;
+ }
+ public function getPostalCodes()
+ {
+ return $this->postalCodes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingPostalCodeRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingPostalCodeRange.php
new file mode 100644
index 00000000..d2151ace
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingPostalCodeRange.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountShippingPostalCodeRange extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingRateTable.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingRateTable.php
new file mode 100644
index 00000000..c8b0e177
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingRateTable.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountShippingRateTable extends Google_Collection
+{
+ protected $collection_key = 'content';
+ protected $contentType = 'Google_Service_ShoppingContent_AccountShippingRateTableCell';
+ protected $contentDataType = 'array';
+ public $name;
+ public $saleCountry;
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSaleCountry($saleCountry)
+ {
+ $this->saleCountry = $saleCountry;
+ }
+ public function getSaleCountry()
+ {
+ return $this->saleCountry;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingRateTableCell.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingRateTableCell.php
new file mode 100644
index 00000000..543395d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingRateTableCell.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountShippingRateTableCell extends Google_Model
+{
+ protected $conditionType = 'Google_Service_ShoppingContent_AccountShippingCondition';
+ protected $conditionDataType = '';
+ protected $rateType = 'Google_Service_ShoppingContent_Price';
+ protected $rateDataType = '';
+
+ public function setCondition(Google_Service_ShoppingContent_AccountShippingCondition $condition)
+ {
+ $this->condition = $condition;
+ }
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+ public function setRate(Google_Service_ShoppingContent_Price $rate)
+ {
+ $this->rate = $rate;
+ }
+ public function getRate()
+ {
+ return $this->rate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingService.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingService.php
new file mode 100644
index 00000000..555ef16e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingService.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountShippingShippingService extends Google_Model
+{
+ public $active;
+ protected $calculationMethodType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod';
+ protected $calculationMethodDataType = '';
+ protected $costRuleTreeType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule';
+ protected $costRuleTreeDataType = '';
+ public $maxDaysInTransit;
+ public $minDaysInTransit;
+ public $name;
+ public $saleCountry;
+
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setCalculationMethod(Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod $calculationMethod)
+ {
+ $this->calculationMethod = $calculationMethod;
+ }
+ public function getCalculationMethod()
+ {
+ return $this->calculationMethod;
+ }
+ public function setCostRuleTree(Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule $costRuleTree)
+ {
+ $this->costRuleTree = $costRuleTree;
+ }
+ public function getCostRuleTree()
+ {
+ return $this->costRuleTree;
+ }
+ public function setMaxDaysInTransit($maxDaysInTransit)
+ {
+ $this->maxDaysInTransit = $maxDaysInTransit;
+ }
+ public function getMaxDaysInTransit()
+ {
+ return $this->maxDaysInTransit;
+ }
+ public function setMinDaysInTransit($minDaysInTransit)
+ {
+ $this->minDaysInTransit = $minDaysInTransit;
+ }
+ public function getMinDaysInTransit()
+ {
+ return $this->minDaysInTransit;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSaleCountry($saleCountry)
+ {
+ $this->saleCountry = $saleCountry;
+ }
+ public function getSaleCountry()
+ {
+ return $this->saleCountry;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingServiceCalculationMethod.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingServiceCalculationMethod.php
new file mode 100644
index 00000000..3540f418
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingServiceCalculationMethod.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod extends Google_Model
+{
+ public $carrierRate;
+ public $excluded;
+ protected $flatRateType = 'Google_Service_ShoppingContent_Price';
+ protected $flatRateDataType = '';
+ public $percentageRate;
+ public $rateTable;
+
+ public function setCarrierRate($carrierRate)
+ {
+ $this->carrierRate = $carrierRate;
+ }
+ public function getCarrierRate()
+ {
+ return $this->carrierRate;
+ }
+ public function setExcluded($excluded)
+ {
+ $this->excluded = $excluded;
+ }
+ public function getExcluded()
+ {
+ return $this->excluded;
+ }
+ public function setFlatRate(Google_Service_ShoppingContent_Price $flatRate)
+ {
+ $this->flatRate = $flatRate;
+ }
+ public function getFlatRate()
+ {
+ return $this->flatRate;
+ }
+ public function setPercentageRate($percentageRate)
+ {
+ $this->percentageRate = $percentageRate;
+ }
+ public function getPercentageRate()
+ {
+ return $this->percentageRate;
+ }
+ public function setRateTable($rateTable)
+ {
+ $this->rateTable = $rateTable;
+ }
+ public function getRateTable()
+ {
+ return $this->rateTable;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingServiceCostRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingServiceCostRule.php
new file mode 100644
index 00000000..cef52308
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingServiceCostRule.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule extends Google_Collection
+{
+ protected $collection_key = 'children';
+ protected $calculationMethodType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod';
+ protected $calculationMethodDataType = '';
+ protected $childrenType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule';
+ protected $childrenDataType = 'array';
+ protected $conditionType = 'Google_Service_ShoppingContent_AccountShippingCondition';
+ protected $conditionDataType = '';
+
+ public function setCalculationMethod(Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod $calculationMethod)
+ {
+ $this->calculationMethod = $calculationMethod;
+ }
+ public function getCalculationMethod()
+ {
+ return $this->calculationMethod;
+ }
+ public function setChildren($children)
+ {
+ $this->children = $children;
+ }
+ public function getChildren()
+ {
+ return $this->children;
+ }
+ public function setCondition(Google_Service_ShoppingContent_AccountShippingCondition $condition)
+ {
+ $this->condition = $condition;
+ }
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatus.php
new file mode 100644
index 00000000..36fbb5d5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatus.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountStatus extends Google_Collection
+{
+ protected $collection_key = 'dataQualityIssues';
+ public $accountId;
+ protected $dataQualityIssuesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusDataQualityIssue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusDataQualityIssue.php
new file mode 100644
index 00000000..300fd262
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusDataQualityIssue.php
@@ -0,0 +1,113 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountStatusDataQualityIssue extends Google_Collection
+{
+ protected $collection_key = 'exampleItems';
+ public $country;
+ public $detail;
+ public $displayedValue;
+ protected $exampleItemsType = 'Google_Service_ShoppingContent_AccountStatusExampleItem';
+ protected $exampleItemsDataType = 'array';
+ public $id;
+ public $lastChecked;
+ public $location;
+ public $numItems;
+ public $severity;
+ public $submittedValue;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setDetail($detail)
+ {
+ $this->detail = $detail;
+ }
+ public function getDetail()
+ {
+ return $this->detail;
+ }
+ 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 setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusExampleItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusExampleItem.php
new file mode 100644
index 00000000..f8a5b560
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusExampleItem.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountStatusExampleItem extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountTax.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountTax.php
new file mode 100644
index 00000000..a1fd005c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountTax.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountTax extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ public $accountId;
+ public $kind;
+ protected $rulesType = 'Google_Service_ShoppingContent_AccountTaxTaxRule';
+ protected $rulesDataType = 'array';
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountTaxTaxRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountTaxTaxRule.php
new file mode 100644
index 00000000..96392bc5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountTaxTaxRule.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountTaxTaxRule extends Google_Model
+{
+ public $country;
+ public $locationId;
+ public $ratePercent;
+ public $shippingTaxed;
+ public $useGlobalRate;
+
+ 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 setRatePercent($ratePercent)
+ {
+ $this->ratePercent = $ratePercent;
+ }
+ public function getRatePercent()
+ {
+ return $this->ratePercent;
+ }
+ public function setShippingTaxed($shippingTaxed)
+ {
+ $this->shippingTaxed = $shippingTaxed;
+ }
+ public function getShippingTaxed()
+ {
+ return $this->shippingTaxed;
+ }
+ public function setUseGlobalRate($useGlobalRate)
+ {
+ $this->useGlobalRate = $useGlobalRate;
+ }
+ public function getUseGlobalRate()
+ {
+ return $this->useGlobalRate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountUser.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountUser.php
new file mode 100644
index 00000000..362063b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountUser.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountUser extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsAuthInfoResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsAuthInfoResponse.php
new file mode 100644
index 00000000..e3584f51
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsAuthInfoResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountsAuthInfoResponse extends Google_Collection
+{
+ protected $collection_key = 'accountIdentifiers';
+ protected $accountIdentifiersType = 'Google_Service_ShoppingContent_AccountIdentifier';
+ protected $accountIdentifiersDataType = 'array';
+ public $kind;
+
+ public function setAccountIdentifiers($accountIdentifiers)
+ {
+ $this->accountIdentifiers = $accountIdentifiers;
+ }
+ public function getAccountIdentifiers()
+ {
+ return $this->accountIdentifiers;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchRequest.php
new file mode 100644
index 00000000..ab20c936
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountsCustomBatchRequest extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchRequestEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchRequestEntry.php
new file mode 100644
index 00000000..3dc1d680
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchRequestEntry.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry extends Google_Model
+{
+ protected $accountType = 'Google_Service_ShoppingContent_Account';
+ protected $accountDataType = '';
+ public $accountId;
+ public $batchId;
+ public $merchantId;
+ public $method;
+
+ public function setAccount(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchResponse.php
new file mode 100644
index 00000000..80a842b1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountsCustomBatchResponse extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchResponseEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchResponseEntry.php
new file mode 100644
index 00000000..13bf5d7c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchResponseEntry.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry extends Google_Model
+{
+ protected $accountType = 'Google_Service_ShoppingContent_Account';
+ protected $accountDataType = '';
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+
+ public function setAccount(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsListResponse.php
new file mode 100644
index 00000000..bdc618f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountsListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchRequest.php
new file mode 100644
index 00000000..41af4e86
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountshippingCustomBatchRequest extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountshippingCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchRequestEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchRequestEntry.php
new file mode 100644
index 00000000..c0848ec0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchRequestEntry.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountshippingCustomBatchRequestEntry extends Google_Model
+{
+ public $accountId;
+ protected $accountShippingType = 'Google_Service_ShoppingContent_AccountShipping';
+ protected $accountShippingDataType = '';
+ public $batchId;
+ public $merchantId;
+ public $method;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAccountShipping(Google_Service_ShoppingContent_AccountShipping $accountShipping)
+ {
+ $this->accountShipping = $accountShipping;
+ }
+ public function getAccountShipping()
+ {
+ return $this->accountShipping;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchResponse.php
new file mode 100644
index 00000000..62d66179
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountshippingCustomBatchResponse extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountshippingCustomBatchResponseEntry';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchResponseEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchResponseEntry.php
new file mode 100644
index 00000000..b0528ddf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchResponseEntry.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountshippingCustomBatchResponseEntry extends Google_Model
+{
+ protected $accountShippingType = 'Google_Service_ShoppingContent_AccountShipping';
+ protected $accountShippingDataType = '';
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+
+ public function setAccountShipping(Google_Service_ShoppingContent_AccountShipping $accountShipping)
+ {
+ $this->accountShipping = $accountShipping;
+ }
+ public function getAccountShipping()
+ {
+ return $this->accountShipping;
+ }
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setErrors(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingListResponse.php
new file mode 100644
index 00000000..bb9a7bf0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountshippingListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_ShoppingContent_AccountShipping';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchRequest.php
new file mode 100644
index 00000000..543f2a22
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchRequestEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchRequestEntry.php
new file mode 100644
index 00000000..5d81ce10
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchRequestEntry.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchResponse.php
new file mode 100644
index 00000000..122ad14c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchResponseEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchResponseEntry.php
new file mode 100644
index 00000000..9b9b81d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchResponseEntry.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry extends Google_Model
+{
+ protected $accountStatusType = 'Google_Service_ShoppingContent_AccountStatus';
+ protected $accountStatusDataType = '';
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+
+ public function setAccountStatus(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(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesListResponse.php
new file mode 100644
index 00000000..2ee02e44
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccountstatusesListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchRequest.php
new file mode 100644
index 00000000..74d5621f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccounttaxCustomBatchRequest extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_ShoppingContent_AccounttaxCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchRequestEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchRequestEntry.php
new file mode 100644
index 00000000..4daddcf6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchRequestEntry.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccounttaxCustomBatchRequestEntry extends Google_Model
+{
+ public $accountId;
+ protected $accountTaxType = 'Google_Service_ShoppingContent_AccountTax';
+ protected $accountTaxDataType = '';
+ public $batchId;
+ public $merchantId;
+ public $method;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAccountTax(Google_Service_ShoppingContent_AccountTax $accountTax)
+ {
+ $this->accountTax = $accountTax;
+ }
+ public function getAccountTax()
+ {
+ return $this->accountTax;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchResponse.php
new file mode 100644
index 00000000..af6cf096
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccounttaxCustomBatchResponse extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_ShoppingContent_AccounttaxCustomBatchResponseEntry';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchResponseEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchResponseEntry.php
new file mode 100644
index 00000000..47fde886
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchResponseEntry.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccounttaxCustomBatchResponseEntry extends Google_Model
+{
+ protected $accountTaxType = 'Google_Service_ShoppingContent_AccountTax';
+ protected $accountTaxDataType = '';
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+
+ public function setAccountTax(Google_Service_ShoppingContent_AccountTax $accountTax)
+ {
+ $this->accountTax = $accountTax;
+ }
+ public function getAccountTax()
+ {
+ return $this->accountTax;
+ }
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setErrors(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxListResponse.php
new file mode 100644
index 00000000..e066451e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_AccounttaxListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_ShoppingContent_AccountTax';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/CarrierRate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/CarrierRate.php
new file mode 100644
index 00000000..fdcd0ba2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/CarrierRate.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_CarrierRate extends Google_Model
+{
+ public $carrierName;
+ public $carrierService;
+ protected $flatAdjustmentType = 'Google_Service_ShoppingContent_Price';
+ protected $flatAdjustmentDataType = '';
+ public $name;
+ public $originPostalCode;
+ public $percentageAdjustment;
+
+ public function setCarrierName($carrierName)
+ {
+ $this->carrierName = $carrierName;
+ }
+ public function getCarrierName()
+ {
+ return $this->carrierName;
+ }
+ public function setCarrierService($carrierService)
+ {
+ $this->carrierService = $carrierService;
+ }
+ public function getCarrierService()
+ {
+ return $this->carrierService;
+ }
+ public function setFlatAdjustment(Google_Service_ShoppingContent_Price $flatAdjustment)
+ {
+ $this->flatAdjustment = $flatAdjustment;
+ }
+ public function getFlatAdjustment()
+ {
+ return $this->flatAdjustment;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOriginPostalCode($originPostalCode)
+ {
+ $this->originPostalCode = $originPostalCode;
+ }
+ public function getOriginPostalCode()
+ {
+ return $this->originPostalCode;
+ }
+ public function setPercentageAdjustment($percentageAdjustment)
+ {
+ $this->percentageAdjustment = $percentageAdjustment;
+ }
+ public function getPercentageAdjustment()
+ {
+ return $this->percentageAdjustment;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/CarriersCarrier.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/CarriersCarrier.php
new file mode 100644
index 00000000..1bcec7f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/CarriersCarrier.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_CarriersCarrier extends Google_Collection
+{
+ protected $collection_key = 'services';
+ public $country;
+ public $name;
+ public $services;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setServices($services)
+ {
+ $this->services = $services;
+ }
+ public function getServices()
+ {
+ return $this->services;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Datafeed.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Datafeed.php
new file mode 100644
index 00000000..0666c0d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Datafeed.php
@@ -0,0 +1,123 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_Datafeed extends Google_Collection
+{
+ protected $collection_key = 'intendedDestinations';
+ public $attributeLanguage;
+ public $contentLanguage;
+ public $contentType;
+ protected $fetchScheduleType = 'Google_Service_ShoppingContent_DatafeedFetchSchedule';
+ protected $fetchScheduleDataType = '';
+ public $fileName;
+ protected $formatType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedFetchSchedule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedFetchSchedule.php
new file mode 100644
index 00000000..289db369
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedFetchSchedule.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_DatafeedFetchSchedule extends Google_Model
+{
+ public $dayOfMonth;
+ public $fetchUrl;
+ public $hour;
+ public $minuteOfHour;
+ 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 setMinuteOfHour($minuteOfHour)
+ {
+ $this->minuteOfHour = $minuteOfHour;
+ }
+ public function getMinuteOfHour()
+ {
+ return $this->minuteOfHour;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedFormat.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedFormat.php
new file mode 100644
index 00000000..e3f55163
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedFormat.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_DatafeedFormat extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatus.php
new file mode 100644
index 00000000..c563297e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatus.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_DatafeedStatus extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $datafeedId;
+ protected $errorsType = 'Google_Service_ShoppingContent_DatafeedStatusError';
+ protected $errorsDataType = 'array';
+ public $itemsTotal;
+ public $itemsValid;
+ public $kind;
+ public $lastUploadDate;
+ public $processingStatus;
+ protected $warningsType = '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 setLastUploadDate($lastUploadDate)
+ {
+ $this->lastUploadDate = $lastUploadDate;
+ }
+ public function getLastUploadDate()
+ {
+ return $this->lastUploadDate;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatusError.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatusError.php
new file mode 100644
index 00000000..3f276d27
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatusError.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_DatafeedStatusError extends Google_Collection
+{
+ protected $collection_key = 'examples';
+ public $code;
+ public $count;
+ protected $examplesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatusExample.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatusExample.php
new file mode 100644
index 00000000..cfbeb268
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatusExample.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_DatafeedStatusExample extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchRequest.php
new file mode 100644
index 00000000..d0432f0d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_DatafeedsCustomBatchRequest extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchRequestEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchRequestEntry.php
new file mode 100644
index 00000000..8d537c30
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchRequestEntry.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchResponse.php
new file mode 100644
index 00000000..85898c9a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_DatafeedsCustomBatchResponse extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchResponseEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchResponseEntry.php
new file mode 100644
index 00000000..42e0b206
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchResponseEntry.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $datafeedDataType = '';
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setDatafeed(Google_Service_ShoppingContent_Datafeed $datafeed)
+ {
+ $this->datafeed = $datafeed;
+ }
+ public function getDatafeed()
+ {
+ return $this->datafeed;
+ }
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsListResponse.php
new file mode 100644
index 00000000..0092ece7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_DatafeedsListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchRequest.php
new file mode 100644
index 00000000..808ad5a5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchRequestEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchRequestEntry.php
new file mode 100644
index 00000000..58457c5d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchRequestEntry.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchResponse.php
new file mode 100644
index 00000000..b85a0bc3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchResponseEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchResponseEntry.php
new file mode 100644
index 00000000..7244943a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchResponseEntry.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedStatusType = 'Google_Service_ShoppingContent_DatafeedStatus';
+ protected $datafeedStatusDataType = '';
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setDatafeedStatus(Google_Service_ShoppingContent_DatafeedStatus $datafeedStatus)
+ {
+ $this->datafeedStatus = $datafeedStatus;
+ }
+ public function getDatafeedStatus()
+ {
+ return $this->datafeedStatus;
+ }
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesListResponse.php
new file mode 100644
index 00000000..0f272931
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_DatafeedstatusesListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DeliveryTime.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DeliveryTime.php
new file mode 100644
index 00000000..fd69f4bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DeliveryTime.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_DeliveryTime extends Google_Model
+{
+ public $maxTransitTimeInDays;
+ public $minTransitTimeInDays;
+
+ public function setMaxTransitTimeInDays($maxTransitTimeInDays)
+ {
+ $this->maxTransitTimeInDays = $maxTransitTimeInDays;
+ }
+ public function getMaxTransitTimeInDays()
+ {
+ return $this->maxTransitTimeInDays;
+ }
+ public function setMinTransitTimeInDays($minTransitTimeInDays)
+ {
+ $this->minTransitTimeInDays = $minTransitTimeInDays;
+ }
+ public function getMinTransitTimeInDays()
+ {
+ return $this->minTransitTimeInDays;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Error.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Error.php
new file mode 100644
index 00000000..0166ea57
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Error.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_Error extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Errors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Errors.php
new file mode 100644
index 00000000..751c741e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Errors.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_Errors extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ public $code;
+ protected $errorsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Headers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Headers.php
new file mode 100644
index 00000000..8d41b365
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Headers.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_Headers extends Google_Collection
+{
+ protected $collection_key = 'weights';
+ protected $locationsType = 'Google_Service_ShoppingContent_LocationIdSet';
+ protected $locationsDataType = 'array';
+ public $numberOfItems;
+ public $postalCodeGroupNames;
+ protected $pricesType = 'Google_Service_ShoppingContent_Price';
+ protected $pricesDataType = 'array';
+ protected $weightsType = 'Google_Service_ShoppingContent_Weight';
+ protected $weightsDataType = 'array';
+
+ public function setLocations($locations)
+ {
+ $this->locations = $locations;
+ }
+ public function getLocations()
+ {
+ return $this->locations;
+ }
+ public function setNumberOfItems($numberOfItems)
+ {
+ $this->numberOfItems = $numberOfItems;
+ }
+ public function getNumberOfItems()
+ {
+ return $this->numberOfItems;
+ }
+ public function setPostalCodeGroupNames($postalCodeGroupNames)
+ {
+ $this->postalCodeGroupNames = $postalCodeGroupNames;
+ }
+ public function getPostalCodeGroupNames()
+ {
+ return $this->postalCodeGroupNames;
+ }
+ public function setPrices($prices)
+ {
+ $this->prices = $prices;
+ }
+ public function getPrices()
+ {
+ return $this->prices;
+ }
+ public function setWeights($weights)
+ {
+ $this->weights = $weights;
+ }
+ public function getWeights()
+ {
+ return $this->weights;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Installment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Installment.php
new file mode 100644
index 00000000..8444cb75
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Installment.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_Installment extends Google_Model
+{
+ protected $amountType = 'Google_Service_ShoppingContent_Price';
+ protected $amountDataType = '';
+ public $months;
+
+ public function setAmount(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Inventory.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Inventory.php
new file mode 100644
index 00000000..026be0d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Inventory.php
@@ -0,0 +1,116 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_Inventory extends Google_Model
+{
+ public $availability;
+ protected $installmentType = 'Google_Service_ShoppingContent_Installment';
+ protected $installmentDataType = '';
+ public $kind;
+ protected $loyaltyPointsType = 'Google_Service_ShoppingContent_LoyaltyPoints';
+ protected $loyaltyPointsDataType = '';
+ protected $pickupType = 'Google_Service_ShoppingContent_InventoryPickup';
+ protected $pickupDataType = '';
+ protected $priceType = 'Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $quantity;
+ protected $salePriceType = 'Google_Service_ShoppingContent_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+ public $sellOnGoogleQuantity;
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+ public function setInstallment(Google_Service_ShoppingContent_Installment $installment)
+ {
+ $this->installment = $installment;
+ }
+ public function getInstallment()
+ {
+ return $this->installment;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLoyaltyPoints(Google_Service_ShoppingContent_LoyaltyPoints $loyaltyPoints)
+ {
+ $this->loyaltyPoints = $loyaltyPoints;
+ }
+ public function getLoyaltyPoints()
+ {
+ return $this->loyaltyPoints;
+ }
+ public function setPickup(Google_Service_ShoppingContent_InventoryPickup $pickup)
+ {
+ $this->pickup = $pickup;
+ }
+ public function getPickup()
+ {
+ return $this->pickup;
+ }
+ public function setPrice(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(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 setSellOnGoogleQuantity($sellOnGoogleQuantity)
+ {
+ $this->sellOnGoogleQuantity = $sellOnGoogleQuantity;
+ }
+ public function getSellOnGoogleQuantity()
+ {
+ return $this->sellOnGoogleQuantity;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchRequest.php
new file mode 100644
index 00000000..301966b2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_InventoryCustomBatchRequest extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchRequestEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchRequestEntry.php
new file mode 100644
index 00000000..672359fb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchRequestEntry.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $inventoryType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchResponse.php
new file mode 100644
index 00000000..be3550cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_InventoryCustomBatchResponse extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchResponseEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchResponseEntry.php
new file mode 100644
index 00000000..4daae555
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchResponseEntry.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setErrors(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryPickup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryPickup.php
new file mode 100644
index 00000000..18ef3b0c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryPickup.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_InventoryPickup extends Google_Model
+{
+ public $pickupMethod;
+ public $pickupSla;
+
+ public function setPickupMethod($pickupMethod)
+ {
+ $this->pickupMethod = $pickupMethod;
+ }
+ public function getPickupMethod()
+ {
+ return $this->pickupMethod;
+ }
+ public function setPickupSla($pickupSla)
+ {
+ $this->pickupSla = $pickupSla;
+ }
+ public function getPickupSla()
+ {
+ return $this->pickupSla;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventorySetRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventorySetRequest.php
new file mode 100644
index 00000000..2f178e29
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventorySetRequest.php
@@ -0,0 +1,107 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_InventorySetRequest extends Google_Model
+{
+ public $availability;
+ protected $installmentType = 'Google_Service_ShoppingContent_Installment';
+ protected $installmentDataType = '';
+ protected $loyaltyPointsType = 'Google_Service_ShoppingContent_LoyaltyPoints';
+ protected $loyaltyPointsDataType = '';
+ protected $pickupType = 'Google_Service_ShoppingContent_InventoryPickup';
+ protected $pickupDataType = '';
+ protected $priceType = 'Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $quantity;
+ protected $salePriceType = 'Google_Service_ShoppingContent_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+ public $sellOnGoogleQuantity;
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+ public function setInstallment(Google_Service_ShoppingContent_Installment $installment)
+ {
+ $this->installment = $installment;
+ }
+ public function getInstallment()
+ {
+ return $this->installment;
+ }
+ public function setLoyaltyPoints(Google_Service_ShoppingContent_LoyaltyPoints $loyaltyPoints)
+ {
+ $this->loyaltyPoints = $loyaltyPoints;
+ }
+ public function getLoyaltyPoints()
+ {
+ return $this->loyaltyPoints;
+ }
+ public function setPickup(Google_Service_ShoppingContent_InventoryPickup $pickup)
+ {
+ $this->pickup = $pickup;
+ }
+ public function getPickup()
+ {
+ return $this->pickup;
+ }
+ public function setPrice(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(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 setSellOnGoogleQuantity($sellOnGoogleQuantity)
+ {
+ $this->sellOnGoogleQuantity = $sellOnGoogleQuantity;
+ }
+ public function getSellOnGoogleQuantity()
+ {
+ return $this->sellOnGoogleQuantity;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventorySetResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventorySetResponse.php
new file mode 100644
index 00000000..d96ea0d3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventorySetResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_InventorySetResponse extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/LocationIdSet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/LocationIdSet.php
new file mode 100644
index 00000000..b4e5fd8c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/LocationIdSet.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_LocationIdSet extends Google_Collection
+{
+ protected $collection_key = 'locationIds';
+ public $locationIds;
+
+ public function setLocationIds($locationIds)
+ {
+ $this->locationIds = $locationIds;
+ }
+ public function getLocationIds()
+ {
+ return $this->locationIds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/LoyaltyPoints.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/LoyaltyPoints.php
new file mode 100644
index 00000000..4a7efdda
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/LoyaltyPoints.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_LoyaltyPoints extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Order.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Order.php
new file mode 100644
index 00000000..d728d6c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Order.php
@@ -0,0 +1,212 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_Order extends Google_Collection
+{
+ protected $collection_key = 'shipments';
+ public $acknowledged;
+ public $channelType;
+ protected $customerType = 'Google_Service_ShoppingContent_OrderCustomer';
+ protected $customerDataType = '';
+ protected $deliveryDetailsType = 'Google_Service_ShoppingContent_OrderDeliveryDetails';
+ protected $deliveryDetailsDataType = '';
+ public $id;
+ public $kind;
+ protected $lineItemsType = 'Google_Service_ShoppingContent_OrderLineItem';
+ protected $lineItemsDataType = 'array';
+ public $merchantId;
+ public $merchantOrderId;
+ protected $netAmountType = 'Google_Service_ShoppingContent_Price';
+ protected $netAmountDataType = '';
+ protected $paymentMethodType = 'Google_Service_ShoppingContent_OrderPaymentMethod';
+ protected $paymentMethodDataType = '';
+ public $paymentStatus;
+ public $placedDate;
+ protected $promotionsType = 'Google_Service_ShoppingContent_OrderPromotion';
+ protected $promotionsDataType = 'array';
+ protected $refundsType = 'Google_Service_ShoppingContent_OrderRefund';
+ protected $refundsDataType = 'array';
+ protected $shipmentsType = 'Google_Service_ShoppingContent_OrderShipment';
+ protected $shipmentsDataType = 'array';
+ protected $shippingCostType = 'Google_Service_ShoppingContent_Price';
+ protected $shippingCostDataType = '';
+ protected $shippingCostTaxType = 'Google_Service_ShoppingContent_Price';
+ protected $shippingCostTaxDataType = '';
+ public $shippingOption;
+ public $status;
+
+ public function setAcknowledged($acknowledged)
+ {
+ $this->acknowledged = $acknowledged;
+ }
+ public function getAcknowledged()
+ {
+ return $this->acknowledged;
+ }
+ public function setChannelType($channelType)
+ {
+ $this->channelType = $channelType;
+ }
+ public function getChannelType()
+ {
+ return $this->channelType;
+ }
+ public function setCustomer(Google_Service_ShoppingContent_OrderCustomer $customer)
+ {
+ $this->customer = $customer;
+ }
+ public function getCustomer()
+ {
+ return $this->customer;
+ }
+ public function setDeliveryDetails(Google_Service_ShoppingContent_OrderDeliveryDetails $deliveryDetails)
+ {
+ $this->deliveryDetails = $deliveryDetails;
+ }
+ public function getDeliveryDetails()
+ {
+ return $this->deliveryDetails;
+ }
+ 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 setLineItems($lineItems)
+ {
+ $this->lineItems = $lineItems;
+ }
+ public function getLineItems()
+ {
+ return $this->lineItems;
+ }
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+ public function setMerchantOrderId($merchantOrderId)
+ {
+ $this->merchantOrderId = $merchantOrderId;
+ }
+ public function getMerchantOrderId()
+ {
+ return $this->merchantOrderId;
+ }
+ public function setNetAmount(Google_Service_ShoppingContent_Price $netAmount)
+ {
+ $this->netAmount = $netAmount;
+ }
+ public function getNetAmount()
+ {
+ return $this->netAmount;
+ }
+ public function setPaymentMethod(Google_Service_ShoppingContent_OrderPaymentMethod $paymentMethod)
+ {
+ $this->paymentMethod = $paymentMethod;
+ }
+ public function getPaymentMethod()
+ {
+ return $this->paymentMethod;
+ }
+ public function setPaymentStatus($paymentStatus)
+ {
+ $this->paymentStatus = $paymentStatus;
+ }
+ public function getPaymentStatus()
+ {
+ return $this->paymentStatus;
+ }
+ public function setPlacedDate($placedDate)
+ {
+ $this->placedDate = $placedDate;
+ }
+ public function getPlacedDate()
+ {
+ return $this->placedDate;
+ }
+ public function setPromotions($promotions)
+ {
+ $this->promotions = $promotions;
+ }
+ public function getPromotions()
+ {
+ return $this->promotions;
+ }
+ public function setRefunds($refunds)
+ {
+ $this->refunds = $refunds;
+ }
+ public function getRefunds()
+ {
+ return $this->refunds;
+ }
+ public function setShipments($shipments)
+ {
+ $this->shipments = $shipments;
+ }
+ public function getShipments()
+ {
+ return $this->shipments;
+ }
+ public function setShippingCost(Google_Service_ShoppingContent_Price $shippingCost)
+ {
+ $this->shippingCost = $shippingCost;
+ }
+ public function getShippingCost()
+ {
+ return $this->shippingCost;
+ }
+ public function setShippingCostTax(Google_Service_ShoppingContent_Price $shippingCostTax)
+ {
+ $this->shippingCostTax = $shippingCostTax;
+ }
+ public function getShippingCostTax()
+ {
+ return $this->shippingCostTax;
+ }
+ public function setShippingOption($shippingOption)
+ {
+ $this->shippingOption = $shippingOption;
+ }
+ public function getShippingOption()
+ {
+ return $this->shippingOption;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderAddress.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderAddress.php
new file mode 100644
index 00000000..f563025a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderAddress.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderAddress extends Google_Collection
+{
+ protected $collection_key = 'streetAddress';
+ public $country;
+ public $fullAddress;
+ public $isPostOfficeBox;
+ public $locality;
+ public $postalCode;
+ public $recipientName;
+ public $region;
+ public $streetAddress;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setFullAddress($fullAddress)
+ {
+ $this->fullAddress = $fullAddress;
+ }
+ public function getFullAddress()
+ {
+ return $this->fullAddress;
+ }
+ public function setIsPostOfficeBox($isPostOfficeBox)
+ {
+ $this->isPostOfficeBox = $isPostOfficeBox;
+ }
+ public function getIsPostOfficeBox()
+ {
+ return $this->isPostOfficeBox;
+ }
+ public function setLocality($locality)
+ {
+ $this->locality = $locality;
+ }
+ public function getLocality()
+ {
+ return $this->locality;
+ }
+ public function setPostalCode($postalCode)
+ {
+ $this->postalCode = $postalCode;
+ }
+ public function getPostalCode()
+ {
+ return $this->postalCode;
+ }
+ public function setRecipientName($recipientName)
+ {
+ $this->recipientName = $recipientName;
+ }
+ public function getRecipientName()
+ {
+ return $this->recipientName;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setStreetAddress($streetAddress)
+ {
+ $this->streetAddress = $streetAddress;
+ }
+ public function getStreetAddress()
+ {
+ return $this->streetAddress;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderCancellation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderCancellation.php
new file mode 100644
index 00000000..7811b102
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderCancellation.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderCancellation extends Google_Model
+{
+ public $actor;
+ public $creationDate;
+ public $quantity;
+ public $reason;
+ public $reasonText;
+
+ public function setActor($actor)
+ {
+ $this->actor = $actor;
+ }
+ public function getActor()
+ {
+ return $this->actor;
+ }
+ public function setCreationDate($creationDate)
+ {
+ $this->creationDate = $creationDate;
+ }
+ public function getCreationDate()
+ {
+ return $this->creationDate;
+ }
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+ public function setReasonText($reasonText)
+ {
+ $this->reasonText = $reasonText;
+ }
+ public function getReasonText()
+ {
+ return $this->reasonText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderCustomer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderCustomer.php
new file mode 100644
index 00000000..08bf0aa9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderCustomer.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderCustomer extends Google_Model
+{
+ public $email;
+ public $explicitMarketingPreference;
+ public $fullName;
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setExplicitMarketingPreference($explicitMarketingPreference)
+ {
+ $this->explicitMarketingPreference = $explicitMarketingPreference;
+ }
+ public function getExplicitMarketingPreference()
+ {
+ return $this->explicitMarketingPreference;
+ }
+ public function setFullName($fullName)
+ {
+ $this->fullName = $fullName;
+ }
+ public function getFullName()
+ {
+ return $this->fullName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderDeliveryDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderDeliveryDetails.php
new file mode 100644
index 00000000..0952f787
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderDeliveryDetails.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderDeliveryDetails extends Google_Model
+{
+ protected $addressType = 'Google_Service_ShoppingContent_OrderAddress';
+ protected $addressDataType = '';
+ public $phoneNumber;
+
+ public function setAddress(Google_Service_ShoppingContent_OrderAddress $address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setPhoneNumber($phoneNumber)
+ {
+ $this->phoneNumber = $phoneNumber;
+ }
+ public function getPhoneNumber()
+ {
+ return $this->phoneNumber;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItem.php
new file mode 100644
index 00000000..1e71e8a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItem.php
@@ -0,0 +1,155 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderLineItem extends Google_Collection
+{
+ protected $collection_key = 'returns';
+ protected $cancellationsType = 'Google_Service_ShoppingContent_OrderCancellation';
+ protected $cancellationsDataType = 'array';
+ public $id;
+ protected $priceType = 'Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ protected $productType = 'Google_Service_ShoppingContent_OrderLineItemProduct';
+ protected $productDataType = '';
+ public $quantityCanceled;
+ public $quantityDelivered;
+ public $quantityOrdered;
+ public $quantityPending;
+ public $quantityReturned;
+ public $quantityShipped;
+ protected $returnInfoType = 'Google_Service_ShoppingContent_OrderLineItemReturnInfo';
+ protected $returnInfoDataType = '';
+ protected $returnsType = 'Google_Service_ShoppingContent_OrderReturn';
+ protected $returnsDataType = 'array';
+ protected $shippingDetailsType = 'Google_Service_ShoppingContent_OrderLineItemShippingDetails';
+ protected $shippingDetailsDataType = '';
+ protected $taxType = 'Google_Service_ShoppingContent_Price';
+ protected $taxDataType = '';
+
+ public function setCancellations($cancellations)
+ {
+ $this->cancellations = $cancellations;
+ }
+ public function getCancellations()
+ {
+ return $this->cancellations;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setPrice(Google_Service_ShoppingContent_Price $price)
+ {
+ $this->price = $price;
+ }
+ public function getPrice()
+ {
+ return $this->price;
+ }
+ public function setProduct(Google_Service_ShoppingContent_OrderLineItemProduct $product)
+ {
+ $this->product = $product;
+ }
+ public function getProduct()
+ {
+ return $this->product;
+ }
+ public function setQuantityCanceled($quantityCanceled)
+ {
+ $this->quantityCanceled = $quantityCanceled;
+ }
+ public function getQuantityCanceled()
+ {
+ return $this->quantityCanceled;
+ }
+ public function setQuantityDelivered($quantityDelivered)
+ {
+ $this->quantityDelivered = $quantityDelivered;
+ }
+ public function getQuantityDelivered()
+ {
+ return $this->quantityDelivered;
+ }
+ public function setQuantityOrdered($quantityOrdered)
+ {
+ $this->quantityOrdered = $quantityOrdered;
+ }
+ public function getQuantityOrdered()
+ {
+ return $this->quantityOrdered;
+ }
+ public function setQuantityPending($quantityPending)
+ {
+ $this->quantityPending = $quantityPending;
+ }
+ public function getQuantityPending()
+ {
+ return $this->quantityPending;
+ }
+ public function setQuantityReturned($quantityReturned)
+ {
+ $this->quantityReturned = $quantityReturned;
+ }
+ public function getQuantityReturned()
+ {
+ return $this->quantityReturned;
+ }
+ public function setQuantityShipped($quantityShipped)
+ {
+ $this->quantityShipped = $quantityShipped;
+ }
+ public function getQuantityShipped()
+ {
+ return $this->quantityShipped;
+ }
+ public function setReturnInfo(Google_Service_ShoppingContent_OrderLineItemReturnInfo $returnInfo)
+ {
+ $this->returnInfo = $returnInfo;
+ }
+ public function getReturnInfo()
+ {
+ return $this->returnInfo;
+ }
+ public function setReturns($returns)
+ {
+ $this->returns = $returns;
+ }
+ public function getReturns()
+ {
+ return $this->returns;
+ }
+ public function setShippingDetails(Google_Service_ShoppingContent_OrderLineItemShippingDetails $shippingDetails)
+ {
+ $this->shippingDetails = $shippingDetails;
+ }
+ public function getShippingDetails()
+ {
+ return $this->shippingDetails;
+ }
+ public function setTax(Google_Service_ShoppingContent_Price $tax)
+ {
+ $this->tax = $tax;
+ }
+ public function getTax()
+ {
+ return $this->tax;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemProduct.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemProduct.php
new file mode 100644
index 00000000..bcea3e5d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemProduct.php
@@ -0,0 +1,159 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderLineItemProduct extends Google_Collection
+{
+ protected $collection_key = 'variantAttributes';
+ public $brand;
+ public $channel;
+ public $condition;
+ public $contentLanguage;
+ public $gtin;
+ public $id;
+ public $imageLink;
+ public $itemGroupId;
+ public $mpn;
+ public $offerId;
+ protected $priceType = 'Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $shownImage;
+ public $targetCountry;
+ public $title;
+ protected $variantAttributesType = 'Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute';
+ protected $variantAttributesDataType = 'array';
+
+ 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 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 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 setImageLink($imageLink)
+ {
+ $this->imageLink = $imageLink;
+ }
+ public function getImageLink()
+ {
+ return $this->imageLink;
+ }
+ public function setItemGroupId($itemGroupId)
+ {
+ $this->itemGroupId = $itemGroupId;
+ }
+ public function getItemGroupId()
+ {
+ return $this->itemGroupId;
+ }
+ public function setMpn($mpn)
+ {
+ $this->mpn = $mpn;
+ }
+ public function getMpn()
+ {
+ return $this->mpn;
+ }
+ public function setOfferId($offerId)
+ {
+ $this->offerId = $offerId;
+ }
+ public function getOfferId()
+ {
+ return $this->offerId;
+ }
+ public function setPrice(Google_Service_ShoppingContent_Price $price)
+ {
+ $this->price = $price;
+ }
+ public function getPrice()
+ {
+ return $this->price;
+ }
+ public function setShownImage($shownImage)
+ {
+ $this->shownImage = $shownImage;
+ }
+ public function getShownImage()
+ {
+ return $this->shownImage;
+ }
+ public function setTargetCountry($targetCountry)
+ {
+ $this->targetCountry = $targetCountry;
+ }
+ public function getTargetCountry()
+ {
+ return $this->targetCountry;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setVariantAttributes($variantAttributes)
+ {
+ $this->variantAttributes = $variantAttributes;
+ }
+ public function getVariantAttributes()
+ {
+ return $this->variantAttributes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemProductVariantAttribute.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemProductVariantAttribute.php
new file mode 100644
index 00000000..683abc5a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemProductVariantAttribute.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute extends Google_Model
+{
+ public $dimension;
+ public $value;
+
+ public function setDimension($dimension)
+ {
+ $this->dimension = $dimension;
+ }
+ public function getDimension()
+ {
+ return $this->dimension;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemReturnInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemReturnInfo.php
new file mode 100644
index 00000000..9a6751be
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemReturnInfo.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderLineItemReturnInfo extends Google_Model
+{
+ public $daysToReturn;
+ public $isReturnable;
+ public $policyUrl;
+
+ public function setDaysToReturn($daysToReturn)
+ {
+ $this->daysToReturn = $daysToReturn;
+ }
+ public function getDaysToReturn()
+ {
+ return $this->daysToReturn;
+ }
+ public function setIsReturnable($isReturnable)
+ {
+ $this->isReturnable = $isReturnable;
+ }
+ public function getIsReturnable()
+ {
+ return $this->isReturnable;
+ }
+ public function setPolicyUrl($policyUrl)
+ {
+ $this->policyUrl = $policyUrl;
+ }
+ public function getPolicyUrl()
+ {
+ return $this->policyUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemShippingDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemShippingDetails.php
new file mode 100644
index 00000000..06835aae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemShippingDetails.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderLineItemShippingDetails extends Google_Model
+{
+ public $deliverByDate;
+ protected $methodType = 'Google_Service_ShoppingContent_OrderLineItemShippingDetailsMethod';
+ protected $methodDataType = '';
+ public $shipByDate;
+
+ public function setDeliverByDate($deliverByDate)
+ {
+ $this->deliverByDate = $deliverByDate;
+ }
+ public function getDeliverByDate()
+ {
+ return $this->deliverByDate;
+ }
+ public function setMethod(Google_Service_ShoppingContent_OrderLineItemShippingDetailsMethod $method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+ public function setShipByDate($shipByDate)
+ {
+ $this->shipByDate = $shipByDate;
+ }
+ public function getShipByDate()
+ {
+ return $this->shipByDate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemShippingDetailsMethod.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemShippingDetailsMethod.php
new file mode 100644
index 00000000..d118b871
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemShippingDetailsMethod.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderLineItemShippingDetailsMethod extends Google_Model
+{
+ public $carrier;
+ public $maxDaysInTransit;
+ public $methodName;
+ public $minDaysInTransit;
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+ public function setMaxDaysInTransit($maxDaysInTransit)
+ {
+ $this->maxDaysInTransit = $maxDaysInTransit;
+ }
+ public function getMaxDaysInTransit()
+ {
+ return $this->maxDaysInTransit;
+ }
+ public function setMethodName($methodName)
+ {
+ $this->methodName = $methodName;
+ }
+ public function getMethodName()
+ {
+ return $this->methodName;
+ }
+ public function setMinDaysInTransit($minDaysInTransit)
+ {
+ $this->minDaysInTransit = $minDaysInTransit;
+ }
+ public function getMinDaysInTransit()
+ {
+ return $this->minDaysInTransit;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPaymentMethod.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPaymentMethod.php
new file mode 100644
index 00000000..cdcc1a33
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPaymentMethod.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderPaymentMethod extends Google_Model
+{
+ protected $billingAddressType = 'Google_Service_ShoppingContent_OrderAddress';
+ protected $billingAddressDataType = '';
+ public $expirationMonth;
+ public $expirationYear;
+ public $lastFourDigits;
+ public $phoneNumber;
+ public $type;
+
+ public function setBillingAddress(Google_Service_ShoppingContent_OrderAddress $billingAddress)
+ {
+ $this->billingAddress = $billingAddress;
+ }
+ public function getBillingAddress()
+ {
+ return $this->billingAddress;
+ }
+ public function setExpirationMonth($expirationMonth)
+ {
+ $this->expirationMonth = $expirationMonth;
+ }
+ public function getExpirationMonth()
+ {
+ return $this->expirationMonth;
+ }
+ public function setExpirationYear($expirationYear)
+ {
+ $this->expirationYear = $expirationYear;
+ }
+ public function getExpirationYear()
+ {
+ return $this->expirationYear;
+ }
+ public function setLastFourDigits($lastFourDigits)
+ {
+ $this->lastFourDigits = $lastFourDigits;
+ }
+ public function getLastFourDigits()
+ {
+ return $this->lastFourDigits;
+ }
+ public function setPhoneNumber($phoneNumber)
+ {
+ $this->phoneNumber = $phoneNumber;
+ }
+ public function getPhoneNumber()
+ {
+ return $this->phoneNumber;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPromotion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPromotion.php
new file mode 100644
index 00000000..f694ac57
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPromotion.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderPromotion extends Google_Collection
+{
+ protected $collection_key = 'benefits';
+ protected $benefitsType = 'Google_Service_ShoppingContent_OrderPromotionBenefit';
+ protected $benefitsDataType = 'array';
+ public $effectiveDates;
+ public $genericRedemptionCode;
+ public $id;
+ public $longTitle;
+ public $productApplicability;
+ public $redemptionChannel;
+
+ public function setBenefits($benefits)
+ {
+ $this->benefits = $benefits;
+ }
+ public function getBenefits()
+ {
+ return $this->benefits;
+ }
+ public function setEffectiveDates($effectiveDates)
+ {
+ $this->effectiveDates = $effectiveDates;
+ }
+ public function getEffectiveDates()
+ {
+ return $this->effectiveDates;
+ }
+ public function setGenericRedemptionCode($genericRedemptionCode)
+ {
+ $this->genericRedemptionCode = $genericRedemptionCode;
+ }
+ public function getGenericRedemptionCode()
+ {
+ return $this->genericRedemptionCode;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLongTitle($longTitle)
+ {
+ $this->longTitle = $longTitle;
+ }
+ public function getLongTitle()
+ {
+ return $this->longTitle;
+ }
+ public function setProductApplicability($productApplicability)
+ {
+ $this->productApplicability = $productApplicability;
+ }
+ public function getProductApplicability()
+ {
+ return $this->productApplicability;
+ }
+ public function setRedemptionChannel($redemptionChannel)
+ {
+ $this->redemptionChannel = $redemptionChannel;
+ }
+ public function getRedemptionChannel()
+ {
+ return $this->redemptionChannel;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPromotionBenefit.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPromotionBenefit.php
new file mode 100644
index 00000000..285932e5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPromotionBenefit.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderPromotionBenefit extends Google_Collection
+{
+ protected $collection_key = 'offerIds';
+ protected $discountType = 'Google_Service_ShoppingContent_Price';
+ protected $discountDataType = '';
+ public $offerIds;
+ public $subType;
+ protected $taxImpactType = 'Google_Service_ShoppingContent_Price';
+ protected $taxImpactDataType = '';
+ public $type;
+
+ public function setDiscount(Google_Service_ShoppingContent_Price $discount)
+ {
+ $this->discount = $discount;
+ }
+ public function getDiscount()
+ {
+ return $this->discount;
+ }
+ public function setOfferIds($offerIds)
+ {
+ $this->offerIds = $offerIds;
+ }
+ public function getOfferIds()
+ {
+ return $this->offerIds;
+ }
+ public function setSubType($subType)
+ {
+ $this->subType = $subType;
+ }
+ public function getSubType()
+ {
+ return $this->subType;
+ }
+ public function setTaxImpact(Google_Service_ShoppingContent_Price $taxImpact)
+ {
+ $this->taxImpact = $taxImpact;
+ }
+ public function getTaxImpact()
+ {
+ return $this->taxImpact;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderRefund.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderRefund.php
new file mode 100644
index 00000000..b277b5d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderRefund.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderRefund extends Google_Model
+{
+ public $actor;
+ protected $amountType = 'Google_Service_ShoppingContent_Price';
+ protected $amountDataType = '';
+ public $creationDate;
+ public $reason;
+ public $reasonText;
+
+ public function setActor($actor)
+ {
+ $this->actor = $actor;
+ }
+ public function getActor()
+ {
+ return $this->actor;
+ }
+ public function setAmount(Google_Service_ShoppingContent_Price $amount)
+ {
+ $this->amount = $amount;
+ }
+ public function getAmount()
+ {
+ return $this->amount;
+ }
+ public function setCreationDate($creationDate)
+ {
+ $this->creationDate = $creationDate;
+ }
+ public function getCreationDate()
+ {
+ return $this->creationDate;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+ public function setReasonText($reasonText)
+ {
+ $this->reasonText = $reasonText;
+ }
+ public function getReasonText()
+ {
+ return $this->reasonText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderReturn.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderReturn.php
new file mode 100644
index 00000000..7af5e517
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderReturn.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderReturn extends Google_Model
+{
+ public $actor;
+ public $creationDate;
+ public $quantity;
+ public $reason;
+ public $reasonText;
+
+ public function setActor($actor)
+ {
+ $this->actor = $actor;
+ }
+ public function getActor()
+ {
+ return $this->actor;
+ }
+ public function setCreationDate($creationDate)
+ {
+ $this->creationDate = $creationDate;
+ }
+ public function getCreationDate()
+ {
+ return $this->creationDate;
+ }
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+ public function setReasonText($reasonText)
+ {
+ $this->reasonText = $reasonText;
+ }
+ public function getReasonText()
+ {
+ return $this->reasonText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipment.php
new file mode 100644
index 00000000..0b2aab78
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipment.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderShipment extends Google_Collection
+{
+ protected $collection_key = 'lineItems';
+ public $carrier;
+ public $creationDate;
+ public $deliveryDate;
+ public $id;
+ protected $lineItemsType = 'Google_Service_ShoppingContent_OrderShipmentLineItemShipment';
+ protected $lineItemsDataType = 'array';
+ public $status;
+ public $trackingId;
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+ public function setCreationDate($creationDate)
+ {
+ $this->creationDate = $creationDate;
+ }
+ public function getCreationDate()
+ {
+ return $this->creationDate;
+ }
+ public function setDeliveryDate($deliveryDate)
+ {
+ $this->deliveryDate = $deliveryDate;
+ }
+ public function getDeliveryDate()
+ {
+ return $this->deliveryDate;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLineItems($lineItems)
+ {
+ $this->lineItems = $lineItems;
+ }
+ public function getLineItems()
+ {
+ return $this->lineItems;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTrackingId($trackingId)
+ {
+ $this->trackingId = $trackingId;
+ }
+ public function getTrackingId()
+ {
+ return $this->trackingId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipmentLineItemShipment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipmentLineItemShipment.php
new file mode 100644
index 00000000..7173efc2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipmentLineItemShipment.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrderShipmentLineItemShipment extends Google_Model
+{
+ public $lineItemId;
+ public $quantity;
+
+ public function setLineItemId($lineItemId)
+ {
+ $this->lineItemId = $lineItemId;
+ }
+ public function getLineItemId()
+ {
+ return $this->lineItemId;
+ }
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAcknowledgeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAcknowledgeRequest.php
new file mode 100644
index 00000000..ccbae30c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAcknowledgeRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersAcknowledgeRequest extends Google_Model
+{
+ public $operationId;
+
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAcknowledgeResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAcknowledgeResponse.php
new file mode 100644
index 00000000..2d586e78
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAcknowledgeResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersAcknowledgeResponse extends Google_Model
+{
+ public $executionStatus;
+ public $kind;
+
+ public function setExecutionStatus($executionStatus)
+ {
+ $this->executionStatus = $executionStatus;
+ }
+ public function getExecutionStatus()
+ {
+ return $this->executionStatus;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAdvanceTestOrderResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAdvanceTestOrderResponse.php
new file mode 100644
index 00000000..b430fd5d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAdvanceTestOrderResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelLineItemRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelLineItemRequest.php
new file mode 100644
index 00000000..489b773f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelLineItemRequest.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersCancelLineItemRequest extends Google_Model
+{
+ protected $amountType = 'Google_Service_ShoppingContent_Price';
+ protected $amountDataType = '';
+ public $lineItemId;
+ public $operationId;
+ public $quantity;
+ public $reason;
+ public $reasonText;
+
+ public function setAmount(Google_Service_ShoppingContent_Price $amount)
+ {
+ $this->amount = $amount;
+ }
+ public function getAmount()
+ {
+ return $this->amount;
+ }
+ public function setLineItemId($lineItemId)
+ {
+ $this->lineItemId = $lineItemId;
+ }
+ public function getLineItemId()
+ {
+ return $this->lineItemId;
+ }
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+ public function setReasonText($reasonText)
+ {
+ $this->reasonText = $reasonText;
+ }
+ public function getReasonText()
+ {
+ return $this->reasonText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelLineItemResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelLineItemResponse.php
new file mode 100644
index 00000000..30842da8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelLineItemResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersCancelLineItemResponse extends Google_Model
+{
+ public $executionStatus;
+ public $kind;
+
+ public function setExecutionStatus($executionStatus)
+ {
+ $this->executionStatus = $executionStatus;
+ }
+ public function getExecutionStatus()
+ {
+ return $this->executionStatus;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelRequest.php
new file mode 100644
index 00000000..13dce6d5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelRequest.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersCancelRequest extends Google_Model
+{
+ public $operationId;
+ public $reason;
+ public $reasonText;
+
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+ public function setReasonText($reasonText)
+ {
+ $this->reasonText = $reasonText;
+ }
+ public function getReasonText()
+ {
+ return $this->reasonText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelResponse.php
new file mode 100644
index 00000000..125b5247
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersCancelResponse extends Google_Model
+{
+ public $executionStatus;
+ public $kind;
+
+ public function setExecutionStatus($executionStatus)
+ {
+ $this->executionStatus = $executionStatus;
+ }
+ public function getExecutionStatus()
+ {
+ return $this->executionStatus;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCreateTestOrderRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCreateTestOrderRequest.php
new file mode 100644
index 00000000..318781df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCreateTestOrderRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersCreateTestOrderRequest extends Google_Model
+{
+ public $templateName;
+ protected $testOrderType = 'Google_Service_ShoppingContent_TestOrder';
+ protected $testOrderDataType = '';
+
+ public function setTemplateName($templateName)
+ {
+ $this->templateName = $templateName;
+ }
+ public function getTemplateName()
+ {
+ return $this->templateName;
+ }
+ public function setTestOrder(Google_Service_ShoppingContent_TestOrder $testOrder)
+ {
+ $this->testOrder = $testOrder;
+ }
+ public function getTestOrder()
+ {
+ return $this->testOrder;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCreateTestOrderResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCreateTestOrderResponse.php
new file mode 100644
index 00000000..87d8ac84
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCreateTestOrderResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersCreateTestOrderResponse extends Google_Model
+{
+ public $kind;
+ public $orderId;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+ }
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequest.php
new file mode 100644
index 00000000..2af01536
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersCustomBatchRequest extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntry.php
new file mode 100644
index 00000000..6b6e91bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntry.php
@@ -0,0 +1,135 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $cancelType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancel';
+ protected $cancelDataType = '';
+ protected $cancelLineItemType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancelLineItem';
+ protected $cancelLineItemDataType = '';
+ public $merchantId;
+ public $merchantOrderId;
+ public $method;
+ public $operationId;
+ public $orderId;
+ protected $refundType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryRefund';
+ protected $refundDataType = '';
+ protected $returnLineItemType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryReturnLineItem';
+ protected $returnLineItemDataType = '';
+ protected $shipLineItemsType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryShipLineItems';
+ protected $shipLineItemsDataType = '';
+ protected $updateShipmentType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryUpdateShipment';
+ protected $updateShipmentDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setCancel(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancel $cancel)
+ {
+ $this->cancel = $cancel;
+ }
+ public function getCancel()
+ {
+ return $this->cancel;
+ }
+ public function setCancelLineItem(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancelLineItem $cancelLineItem)
+ {
+ $this->cancelLineItem = $cancelLineItem;
+ }
+ public function getCancelLineItem()
+ {
+ return $this->cancelLineItem;
+ }
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+ public function setMerchantOrderId($merchantOrderId)
+ {
+ $this->merchantOrderId = $merchantOrderId;
+ }
+ public function getMerchantOrderId()
+ {
+ return $this->merchantOrderId;
+ }
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+ }
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+ public function setRefund(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryRefund $refund)
+ {
+ $this->refund = $refund;
+ }
+ public function getRefund()
+ {
+ return $this->refund;
+ }
+ public function setReturnLineItem(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryReturnLineItem $returnLineItem)
+ {
+ $this->returnLineItem = $returnLineItem;
+ }
+ public function getReturnLineItem()
+ {
+ return $this->returnLineItem;
+ }
+ public function setShipLineItems(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryShipLineItems $shipLineItems)
+ {
+ $this->shipLineItems = $shipLineItems;
+ }
+ public function getShipLineItems()
+ {
+ return $this->shipLineItems;
+ }
+ public function setUpdateShipment(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryUpdateShipment $updateShipment)
+ {
+ $this->updateShipment = $updateShipment;
+ }
+ public function getUpdateShipment()
+ {
+ return $this->updateShipment;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryCancel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryCancel.php
new file mode 100644
index 00000000..742b2ab8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryCancel.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancel extends Google_Model
+{
+ public $reason;
+ public $reasonText;
+
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+ public function setReasonText($reasonText)
+ {
+ $this->reasonText = $reasonText;
+ }
+ public function getReasonText()
+ {
+ return $this->reasonText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryCancelLineItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryCancelLineItem.php
new file mode 100644
index 00000000..09d00aca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryCancelLineItem.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancelLineItem extends Google_Model
+{
+ protected $amountType = 'Google_Service_ShoppingContent_Price';
+ protected $amountDataType = '';
+ public $lineItemId;
+ public $quantity;
+ public $reason;
+ public $reasonText;
+
+ public function setAmount(Google_Service_ShoppingContent_Price $amount)
+ {
+ $this->amount = $amount;
+ }
+ public function getAmount()
+ {
+ return $this->amount;
+ }
+ public function setLineItemId($lineItemId)
+ {
+ $this->lineItemId = $lineItemId;
+ }
+ public function getLineItemId()
+ {
+ return $this->lineItemId;
+ }
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+ public function setReasonText($reasonText)
+ {
+ $this->reasonText = $reasonText;
+ }
+ public function getReasonText()
+ {
+ return $this->reasonText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryRefund.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryRefund.php
new file mode 100644
index 00000000..5ba294a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryRefund.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryRefund extends Google_Model
+{
+ protected $amountType = 'Google_Service_ShoppingContent_Price';
+ protected $amountDataType = '';
+ public $reason;
+ public $reasonText;
+
+ public function setAmount(Google_Service_ShoppingContent_Price $amount)
+ {
+ $this->amount = $amount;
+ }
+ public function getAmount()
+ {
+ return $this->amount;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+ public function setReasonText($reasonText)
+ {
+ $this->reasonText = $reasonText;
+ }
+ public function getReasonText()
+ {
+ return $this->reasonText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryReturnLineItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryReturnLineItem.php
new file mode 100644
index 00000000..81051113
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryReturnLineItem.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryReturnLineItem extends Google_Model
+{
+ public $lineItemId;
+ public $quantity;
+ public $reason;
+ public $reasonText;
+
+ public function setLineItemId($lineItemId)
+ {
+ $this->lineItemId = $lineItemId;
+ }
+ public function getLineItemId()
+ {
+ return $this->lineItemId;
+ }
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+ public function setReasonText($reasonText)
+ {
+ $this->reasonText = $reasonText;
+ }
+ public function getReasonText()
+ {
+ return $this->reasonText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryShipLineItems.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryShipLineItems.php
new file mode 100644
index 00000000..70078c3d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryShipLineItems.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryShipLineItems extends Google_Collection
+{
+ protected $collection_key = 'lineItems';
+ public $carrier;
+ protected $lineItemsType = 'Google_Service_ShoppingContent_OrderShipmentLineItemShipment';
+ protected $lineItemsDataType = 'array';
+ public $shipmentId;
+ public $trackingId;
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+ public function setLineItems($lineItems)
+ {
+ $this->lineItems = $lineItems;
+ }
+ public function getLineItems()
+ {
+ return $this->lineItems;
+ }
+ public function setShipmentId($shipmentId)
+ {
+ $this->shipmentId = $shipmentId;
+ }
+ public function getShipmentId()
+ {
+ return $this->shipmentId;
+ }
+ public function setTrackingId($trackingId)
+ {
+ $this->trackingId = $trackingId;
+ }
+ public function getTrackingId()
+ {
+ return $this->trackingId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryUpdateShipment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryUpdateShipment.php
new file mode 100644
index 00000000..5e60cda8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryUpdateShipment.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryUpdateShipment extends Google_Model
+{
+ public $carrier;
+ public $shipmentId;
+ public $status;
+ public $trackingId;
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+ public function setShipmentId($shipmentId)
+ {
+ $this->shipmentId = $shipmentId;
+ }
+ public function getShipmentId()
+ {
+ return $this->shipmentId;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTrackingId($trackingId)
+ {
+ $this->trackingId = $trackingId;
+ }
+ public function getTrackingId()
+ {
+ return $this->trackingId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchResponse.php
new file mode 100644
index 00000000..14ce89c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersCustomBatchResponse extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_ShoppingContent_OrdersCustomBatchResponseEntry';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchResponseEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchResponseEntry.php
new file mode 100644
index 00000000..789f6fdd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchResponseEntry.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $executionStatus;
+ public $kind;
+ protected $orderType = 'Google_Service_ShoppingContent_Order';
+ protected $orderDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setExecutionStatus($executionStatus)
+ {
+ $this->executionStatus = $executionStatus;
+ }
+ public function getExecutionStatus()
+ {
+ return $this->executionStatus;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOrder(Google_Service_ShoppingContent_Order $order)
+ {
+ $this->order = $order;
+ }
+ public function getOrder()
+ {
+ return $this->order;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersGetByMerchantOrderIdResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersGetByMerchantOrderIdResponse.php
new file mode 100644
index 00000000..b0259ccb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersGetByMerchantOrderIdResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse extends Google_Model
+{
+ public $kind;
+ protected $orderType = 'Google_Service_ShoppingContent_Order';
+ protected $orderDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOrder(Google_Service_ShoppingContent_Order $order)
+ {
+ $this->order = $order;
+ }
+ public function getOrder()
+ {
+ return $this->order;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersGetTestOrderTemplateResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersGetTestOrderTemplateResponse.php
new file mode 100644
index 00000000..a4f79521
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersGetTestOrderTemplateResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse extends Google_Model
+{
+ public $kind;
+ protected $templateType = 'Google_Service_ShoppingContent_TestOrder';
+ protected $templateDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTemplate(Google_Service_ShoppingContent_TestOrder $template)
+ {
+ $this->template = $template;
+ }
+ public function getTemplate()
+ {
+ return $this->template;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersListResponse.php
new file mode 100644
index 00000000..37d40dec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_ShoppingContent_Order';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersRefundRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersRefundRequest.php
new file mode 100644
index 00000000..cc240840
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersRefundRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersRefundRequest extends Google_Model
+{
+ protected $amountType = 'Google_Service_ShoppingContent_Price';
+ protected $amountDataType = '';
+ public $operationId;
+ public $reason;
+ public $reasonText;
+
+ public function setAmount(Google_Service_ShoppingContent_Price $amount)
+ {
+ $this->amount = $amount;
+ }
+ public function getAmount()
+ {
+ return $this->amount;
+ }
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+ public function setReasonText($reasonText)
+ {
+ $this->reasonText = $reasonText;
+ }
+ public function getReasonText()
+ {
+ return $this->reasonText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersRefundResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersRefundResponse.php
new file mode 100644
index 00000000..8c961600
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersRefundResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersRefundResponse extends Google_Model
+{
+ public $executionStatus;
+ public $kind;
+
+ public function setExecutionStatus($executionStatus)
+ {
+ $this->executionStatus = $executionStatus;
+ }
+ public function getExecutionStatus()
+ {
+ return $this->executionStatus;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersReturnLineItemRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersReturnLineItemRequest.php
new file mode 100644
index 00000000..27ed6e67
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersReturnLineItemRequest.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersReturnLineItemRequest extends Google_Model
+{
+ public $lineItemId;
+ public $operationId;
+ public $quantity;
+ public $reason;
+ public $reasonText;
+
+ public function setLineItemId($lineItemId)
+ {
+ $this->lineItemId = $lineItemId;
+ }
+ public function getLineItemId()
+ {
+ return $this->lineItemId;
+ }
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+ public function setReasonText($reasonText)
+ {
+ $this->reasonText = $reasonText;
+ }
+ public function getReasonText()
+ {
+ return $this->reasonText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersReturnLineItemResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersReturnLineItemResponse.php
new file mode 100644
index 00000000..4178a38f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersReturnLineItemResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersReturnLineItemResponse extends Google_Model
+{
+ public $executionStatus;
+ public $kind;
+
+ public function setExecutionStatus($executionStatus)
+ {
+ $this->executionStatus = $executionStatus;
+ }
+ public function getExecutionStatus()
+ {
+ return $this->executionStatus;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersShipLineItemsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersShipLineItemsRequest.php
new file mode 100644
index 00000000..287aa028
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersShipLineItemsRequest.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersShipLineItemsRequest extends Google_Collection
+{
+ protected $collection_key = 'lineItems';
+ public $carrier;
+ protected $lineItemsType = 'Google_Service_ShoppingContent_OrderShipmentLineItemShipment';
+ protected $lineItemsDataType = 'array';
+ public $operationId;
+ public $shipmentId;
+ public $trackingId;
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+ public function setLineItems($lineItems)
+ {
+ $this->lineItems = $lineItems;
+ }
+ public function getLineItems()
+ {
+ return $this->lineItems;
+ }
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setShipmentId($shipmentId)
+ {
+ $this->shipmentId = $shipmentId;
+ }
+ public function getShipmentId()
+ {
+ return $this->shipmentId;
+ }
+ public function setTrackingId($trackingId)
+ {
+ $this->trackingId = $trackingId;
+ }
+ public function getTrackingId()
+ {
+ return $this->trackingId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersShipLineItemsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersShipLineItemsResponse.php
new file mode 100644
index 00000000..a5240168
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersShipLineItemsResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersShipLineItemsResponse extends Google_Model
+{
+ public $executionStatus;
+ public $kind;
+
+ public function setExecutionStatus($executionStatus)
+ {
+ $this->executionStatus = $executionStatus;
+ }
+ public function getExecutionStatus()
+ {
+ return $this->executionStatus;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateMerchantOrderIdRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateMerchantOrderIdRequest.php
new file mode 100644
index 00000000..b2d27871
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateMerchantOrderIdRequest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdRequest extends Google_Model
+{
+ public $merchantOrderId;
+ public $operationId;
+
+ public function setMerchantOrderId($merchantOrderId)
+ {
+ $this->merchantOrderId = $merchantOrderId;
+ }
+ public function getMerchantOrderId()
+ {
+ return $this->merchantOrderId;
+ }
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateMerchantOrderIdResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateMerchantOrderIdResponse.php
new file mode 100644
index 00000000..56e0290b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateMerchantOrderIdResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse extends Google_Model
+{
+ public $executionStatus;
+ public $kind;
+
+ public function setExecutionStatus($executionStatus)
+ {
+ $this->executionStatus = $executionStatus;
+ }
+ public function getExecutionStatus()
+ {
+ return $this->executionStatus;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateShipmentRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateShipmentRequest.php
new file mode 100644
index 00000000..07359f4a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateShipmentRequest.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersUpdateShipmentRequest extends Google_Model
+{
+ public $carrier;
+ public $operationId;
+ public $shipmentId;
+ public $status;
+ public $trackingId;
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setShipmentId($shipmentId)
+ {
+ $this->shipmentId = $shipmentId;
+ }
+ public function getShipmentId()
+ {
+ return $this->shipmentId;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTrackingId($trackingId)
+ {
+ $this->trackingId = $trackingId;
+ }
+ public function getTrackingId()
+ {
+ return $this->trackingId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateShipmentResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateShipmentResponse.php
new file mode 100644
index 00000000..871098e1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateShipmentResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_OrdersUpdateShipmentResponse extends Google_Model
+{
+ public $executionStatus;
+ public $kind;
+
+ public function setExecutionStatus($executionStatus)
+ {
+ $this->executionStatus = $executionStatus;
+ }
+ public function getExecutionStatus()
+ {
+ return $this->executionStatus;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/PostalCodeGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/PostalCodeGroup.php
new file mode 100644
index 00000000..e5497fc8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/PostalCodeGroup.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_PostalCodeGroup extends Google_Collection
+{
+ protected $collection_key = 'postalCodeRanges';
+ public $country;
+ public $name;
+ protected $postalCodeRangesType = 'Google_Service_ShoppingContent_PostalCodeRange';
+ protected $postalCodeRangesDataType = 'array';
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPostalCodeRanges($postalCodeRanges)
+ {
+ $this->postalCodeRanges = $postalCodeRanges;
+ }
+ public function getPostalCodeRanges()
+ {
+ return $this->postalCodeRanges;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/PostalCodeRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/PostalCodeRange.php
new file mode 100644
index 00000000..70692f31
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/PostalCodeRange.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_PostalCodeRange extends Google_Model
+{
+ public $postalCodeRangeBegin;
+ public $postalCodeRangeEnd;
+
+ public function setPostalCodeRangeBegin($postalCodeRangeBegin)
+ {
+ $this->postalCodeRangeBegin = $postalCodeRangeBegin;
+ }
+ public function getPostalCodeRangeBegin()
+ {
+ return $this->postalCodeRangeBegin;
+ }
+ public function setPostalCodeRangeEnd($postalCodeRangeEnd)
+ {
+ $this->postalCodeRangeEnd = $postalCodeRangeEnd;
+ }
+ public function getPostalCodeRangeEnd()
+ {
+ return $this->postalCodeRangeEnd;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Price.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Price.php
new file mode 100644
index 00000000..8132f85c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Price.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_Price extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Product.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Product.php
new file mode 100644
index 00000000..f2dd0c92
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Product.php
@@ -0,0 +1,687 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_Product extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $additionalImageLinks;
+ public $additionalProductTypes;
+ public $adult;
+ public $adwordsGrouping;
+ public $adwordsLabels;
+ public $adwordsRedirect;
+ public $ageGroup;
+ protected $aspectsType = 'Google_Service_ShoppingContent_ProductAspect';
+ protected $aspectsDataType = 'array';
+ public $availability;
+ public $availabilityDate;
+ public $brand;
+ public $channel;
+ public $color;
+ public $condition;
+ public $contentLanguage;
+ protected $customAttributesType = 'Google_Service_ShoppingContent_ProductCustomAttribute';
+ protected $customAttributesDataType = 'array';
+ protected $customGroupsType = 'Google_Service_ShoppingContent_ProductCustomGroup';
+ protected $customGroupsDataType = 'array';
+ public $customLabel0;
+ public $customLabel1;
+ public $customLabel2;
+ public $customLabel3;
+ public $customLabel4;
+ public $description;
+ protected $destinationsType = 'Google_Service_ShoppingContent_ProductDestination';
+ protected $destinationsDataType = 'array';
+ public $displayAdsId;
+ public $displayAdsLink;
+ public $displayAdsSimilarIds;
+ public $displayAdsTitle;
+ public $displayAdsValue;
+ public $energyEfficiencyClass;
+ public $expirationDate;
+ public $gender;
+ public $googleProductCategory;
+ public $gtin;
+ public $id;
+ public $identifierExists;
+ public $imageLink;
+ protected $installmentType = 'Google_Service_ShoppingContent_Installment';
+ protected $installmentDataType = '';
+ public $isBundle;
+ public $itemGroupId;
+ public $kind;
+ public $link;
+ protected $loyaltyPointsType = 'Google_Service_ShoppingContent_LoyaltyPoints';
+ protected $loyaltyPointsDataType = '';
+ public $material;
+ public $mobileLink;
+ public $mpn;
+ public $multipack;
+ public $offerId;
+ public $onlineOnly;
+ public $pattern;
+ protected $priceType = 'Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $productType;
+ public $promotionIds;
+ protected $salePriceType = 'Google_Service_ShoppingContent_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+ public $sellOnGoogleQuantity;
+ protected $shippingType = 'Google_Service_ShoppingContent_ProductShipping';
+ protected $shippingDataType = 'array';
+ protected $shippingHeightType = 'Google_Service_ShoppingContent_ProductShippingDimension';
+ protected $shippingHeightDataType = '';
+ public $shippingLabel;
+ protected $shippingLengthType = 'Google_Service_ShoppingContent_ProductShippingDimension';
+ protected $shippingLengthDataType = '';
+ protected $shippingWeightType = 'Google_Service_ShoppingContent_ProductShippingWeight';
+ protected $shippingWeightDataType = '';
+ protected $shippingWidthType = 'Google_Service_ShoppingContent_ProductShippingDimension';
+ protected $shippingWidthDataType = '';
+ public $sizeSystem;
+ public $sizeType;
+ public $sizes;
+ public $targetCountry;
+ protected $taxesType = 'Google_Service_ShoppingContent_ProductTax';
+ protected $taxesDataType = 'array';
+ public $title;
+ protected $unitPricingBaseMeasureType = 'Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure';
+ protected $unitPricingBaseMeasureDataType = '';
+ protected $unitPricingMeasureType = 'Google_Service_ShoppingContent_ProductUnitPricingMeasure';
+ protected $unitPricingMeasureDataType = '';
+ public $validatedDestinations;
+ protected $warningsType = 'Google_Service_ShoppingContent_Error';
+ protected $warningsDataType = 'array';
+
+ public function setAdditionalImageLinks($additionalImageLinks)
+ {
+ $this->additionalImageLinks = $additionalImageLinks;
+ }
+ public function getAdditionalImageLinks()
+ {
+ return $this->additionalImageLinks;
+ }
+ public function setAdditionalProductTypes($additionalProductTypes)
+ {
+ $this->additionalProductTypes = $additionalProductTypes;
+ }
+ public function getAdditionalProductTypes()
+ {
+ return $this->additionalProductTypes;
+ }
+ 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 setAspects($aspects)
+ {
+ $this->aspects = $aspects;
+ }
+ public function getAspects()
+ {
+ return $this->aspects;
+ }
+ 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 setDisplayAdsId($displayAdsId)
+ {
+ $this->displayAdsId = $displayAdsId;
+ }
+ public function getDisplayAdsId()
+ {
+ return $this->displayAdsId;
+ }
+ public function setDisplayAdsLink($displayAdsLink)
+ {
+ $this->displayAdsLink = $displayAdsLink;
+ }
+ public function getDisplayAdsLink()
+ {
+ return $this->displayAdsLink;
+ }
+ public function setDisplayAdsSimilarIds($displayAdsSimilarIds)
+ {
+ $this->displayAdsSimilarIds = $displayAdsSimilarIds;
+ }
+ public function getDisplayAdsSimilarIds()
+ {
+ return $this->displayAdsSimilarIds;
+ }
+ public function setDisplayAdsTitle($displayAdsTitle)
+ {
+ $this->displayAdsTitle = $displayAdsTitle;
+ }
+ public function getDisplayAdsTitle()
+ {
+ return $this->displayAdsTitle;
+ }
+ public function setDisplayAdsValue($displayAdsValue)
+ {
+ $this->displayAdsValue = $displayAdsValue;
+ }
+ public function getDisplayAdsValue()
+ {
+ return $this->displayAdsValue;
+ }
+ 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(Google_Service_ShoppingContent_Installment $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(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(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 setPromotionIds($promotionIds)
+ {
+ $this->promotionIds = $promotionIds;
+ }
+ public function getPromotionIds()
+ {
+ return $this->promotionIds;
+ }
+ public function setSalePrice(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 setSellOnGoogleQuantity($sellOnGoogleQuantity)
+ {
+ $this->sellOnGoogleQuantity = $sellOnGoogleQuantity;
+ }
+ public function getSellOnGoogleQuantity()
+ {
+ return $this->sellOnGoogleQuantity;
+ }
+ public function setShipping($shipping)
+ {
+ $this->shipping = $shipping;
+ }
+ public function getShipping()
+ {
+ return $this->shipping;
+ }
+ public function setShippingHeight(Google_Service_ShoppingContent_ProductShippingDimension $shippingHeight)
+ {
+ $this->shippingHeight = $shippingHeight;
+ }
+ public function getShippingHeight()
+ {
+ return $this->shippingHeight;
+ }
+ public function setShippingLabel($shippingLabel)
+ {
+ $this->shippingLabel = $shippingLabel;
+ }
+ public function getShippingLabel()
+ {
+ return $this->shippingLabel;
+ }
+ public function setShippingLength(Google_Service_ShoppingContent_ProductShippingDimension $shippingLength)
+ {
+ $this->shippingLength = $shippingLength;
+ }
+ public function getShippingLength()
+ {
+ return $this->shippingLength;
+ }
+ public function setShippingWeight(Google_Service_ShoppingContent_ProductShippingWeight $shippingWeight)
+ {
+ $this->shippingWeight = $shippingWeight;
+ }
+ public function getShippingWeight()
+ {
+ return $this->shippingWeight;
+ }
+ public function setShippingWidth(Google_Service_ShoppingContent_ProductShippingDimension $shippingWidth)
+ {
+ $this->shippingWidth = $shippingWidth;
+ }
+ public function getShippingWidth()
+ {
+ return $this->shippingWidth;
+ }
+ 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(Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure $unitPricingBaseMeasure)
+ {
+ $this->unitPricingBaseMeasure = $unitPricingBaseMeasure;
+ }
+ public function getUnitPricingBaseMeasure()
+ {
+ return $this->unitPricingBaseMeasure;
+ }
+ public function setUnitPricingMeasure(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductAspect.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductAspect.php
new file mode 100644
index 00000000..6f1f84ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductAspect.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductAspect extends Google_Model
+{
+ public $aspectName;
+ public $destinationName;
+ public $intention;
+
+ public function setAspectName($aspectName)
+ {
+ $this->aspectName = $aspectName;
+ }
+ public function getAspectName()
+ {
+ return $this->aspectName;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductCustomAttribute.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductCustomAttribute.php
new file mode 100644
index 00000000..f7e46d66
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductCustomAttribute.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductCustomAttribute extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductCustomGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductCustomGroup.php
new file mode 100644
index 00000000..f8e683c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductCustomGroup.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductCustomGroup extends Google_Collection
+{
+ protected $collection_key = 'attributes';
+ protected $attributesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductDestination.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductDestination.php
new file mode 100644
index 00000000..82394cac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductDestination.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductDestination extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShipping.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShipping.php
new file mode 100644
index 00000000..9dfe3259
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShipping.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductShipping extends Google_Model
+{
+ public $country;
+ public $locationGroupName;
+ public $locationId;
+ public $postalCode;
+ protected $priceType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShippingDimension.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShippingDimension.php
new file mode 100644
index 00000000..5800f56d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShippingDimension.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductShippingDimension extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShippingWeight.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShippingWeight.php
new file mode 100644
index 00000000..843311e8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShippingWeight.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductShippingWeight extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatus.php
new file mode 100644
index 00000000..fffe96bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatus.php
@@ -0,0 +1,105 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductStatus extends Google_Collection
+{
+ protected $collection_key = 'destinationStatuses';
+ public $creationDate;
+ protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_ProductStatusDataQualityIssue';
+ protected $dataQualityIssuesDataType = 'array';
+ protected $destinationStatusesType = 'Google_Service_ShoppingContent_ProductStatusDestinationStatus';
+ protected $destinationStatusesDataType = 'array';
+ public $googleExpirationDate;
+ public $kind;
+ public $lastUpdateDate;
+ public $link;
+ public $productId;
+ public $title;
+
+ public function setCreationDate($creationDate)
+ {
+ $this->creationDate = $creationDate;
+ }
+ public function getCreationDate()
+ {
+ return $this->creationDate;
+ }
+ 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 setGoogleExpirationDate($googleExpirationDate)
+ {
+ $this->googleExpirationDate = $googleExpirationDate;
+ }
+ public function getGoogleExpirationDate()
+ {
+ return $this->googleExpirationDate;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastUpdateDate($lastUpdateDate)
+ {
+ $this->lastUpdateDate = $lastUpdateDate;
+ }
+ public function getLastUpdateDate()
+ {
+ return $this->lastUpdateDate;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatusDataQualityIssue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatusDataQualityIssue.php
new file mode 100644
index 00000000..9ed656ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatusDataQualityIssue.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductStatusDataQualityIssue extends Google_Model
+{
+ public $detail;
+ public $fetchStatus;
+ public $id;
+ public $location;
+ public $severity;
+ 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 setSeverity($severity)
+ {
+ $this->severity = $severity;
+ }
+ public function getSeverity()
+ {
+ return $this->severity;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatusDestinationStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatusDestinationStatus.php
new file mode 100644
index 00000000..bf226817
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatusDestinationStatus.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductStatusDestinationStatus extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductTax.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductTax.php
new file mode 100644
index 00000000..9fc29aa8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductTax.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductTax extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductUnitPricingBaseMeasure.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductUnitPricingBaseMeasure.php
new file mode 100644
index 00000000..dc01d044
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductUnitPricingBaseMeasure.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductUnitPricingMeasure.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductUnitPricingMeasure.php
new file mode 100644
index 00000000..b0ec16cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductUnitPricingMeasure.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductUnitPricingMeasure extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchRequest.php
new file mode 100644
index 00000000..f165a303
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductsCustomBatchRequest extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchRequestEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchRequestEntry.php
new file mode 100644
index 00000000..958cefed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchRequestEntry.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $merchantId;
+ public $method;
+ protected $productType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchResponse.php
new file mode 100644
index 00000000..163b8781
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductsCustomBatchResponse extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchResponseEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchResponseEntry.php
new file mode 100644
index 00000000..728e45fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchResponseEntry.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+ protected $productType = 'Google_Service_ShoppingContent_Product';
+ protected $productDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setErrors(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(Google_Service_ShoppingContent_Product $product)
+ {
+ $this->product = $product;
+ }
+ public function getProduct()
+ {
+ return $this->product;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsListResponse.php
new file mode 100644
index 00000000..e8d91dbf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductsListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchRequest.php
new file mode 100644
index 00000000..8be0fb9c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchRequestEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchRequestEntry.php
new file mode 100644
index 00000000..5ae900a0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchRequestEntry.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchResponse.php
new file mode 100644
index 00000000..869f3f80
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchResponseEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchResponseEntry.php
new file mode 100644
index 00000000..0e0f46fc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchResponseEntry.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+ protected $productStatusType = 'Google_Service_ShoppingContent_ProductStatus';
+ protected $productStatusDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setErrors(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(Google_Service_ShoppingContent_ProductStatus $productStatus)
+ {
+ $this->productStatus = $productStatus;
+ }
+ public function getProductStatus()
+ {
+ return $this->productStatus;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesListResponse.php
new file mode 100644
index 00000000..0461a4bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ProductstatusesListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/RateGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/RateGroup.php
new file mode 100644
index 00000000..ff8e04c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/RateGroup.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_RateGroup extends Google_Collection
+{
+ protected $collection_key = 'subtables';
+ public $applicableShippingLabels;
+ protected $carrierRatesType = 'Google_Service_ShoppingContent_CarrierRate';
+ protected $carrierRatesDataType = 'array';
+ protected $mainTableType = 'Google_Service_ShoppingContent_Table';
+ protected $mainTableDataType = '';
+ protected $singleValueType = 'Google_Service_ShoppingContent_Value';
+ protected $singleValueDataType = '';
+ protected $subtablesType = 'Google_Service_ShoppingContent_Table';
+ protected $subtablesDataType = 'array';
+
+ public function setApplicableShippingLabels($applicableShippingLabels)
+ {
+ $this->applicableShippingLabels = $applicableShippingLabels;
+ }
+ public function getApplicableShippingLabels()
+ {
+ return $this->applicableShippingLabels;
+ }
+ public function setCarrierRates($carrierRates)
+ {
+ $this->carrierRates = $carrierRates;
+ }
+ public function getCarrierRates()
+ {
+ return $this->carrierRates;
+ }
+ public function setMainTable(Google_Service_ShoppingContent_Table $mainTable)
+ {
+ $this->mainTable = $mainTable;
+ }
+ public function getMainTable()
+ {
+ return $this->mainTable;
+ }
+ public function setSingleValue(Google_Service_ShoppingContent_Value $singleValue)
+ {
+ $this->singleValue = $singleValue;
+ }
+ public function getSingleValue()
+ {
+ return $this->singleValue;
+ }
+ public function setSubtables($subtables)
+ {
+ $this->subtables = $subtables;
+ }
+ public function getSubtables()
+ {
+ return $this->subtables;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accounts.php
new file mode 100644
index 00000000..65ef757b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accounts.php
@@ -0,0 +1,164 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $accounts = $contentService->accounts;
+ * </code>
+ */
+class Google_Service_ShoppingContent_Resource_Accounts extends Google_Service_Resource
+{
+ /**
+ * Returns information about the authenticated user. (accounts.authinfo)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountsAuthInfoResponse
+ */
+ public function authinfo($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('authinfo', array($params), "Google_Service_ShoppingContent_AccountsAuthInfoResponse");
+ }
+ /**
+ * Retrieves, inserts, updates, and deletes multiple Merchant Center
+ * (sub-)accounts in a single request. (accounts.custombatch)
+ *
+ * @param Google_Service_ShoppingContent_AccountsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_AccountsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_AccountsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountsCustomBatchResponse");
+ }
+ /**
+ * Deletes a Merchant Center sub-account. This method can only be called for
+ * multi-client accounts. (accounts.delete)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ */
+ 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. This method can only be called for
+ * accounts to which the managing account has access: either the managing
+ * account itself or sub-accounts if the managing account is a multi-client
+ * 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 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), "Google_Service_ShoppingContent_Account");
+ }
+ /**
+ * Creates a Merchant Center sub-account. This method can only be called for
+ * multi-client accounts. (accounts.insert)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param Google_Service_ShoppingContent_Account $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_Account
+ */
+ public function insert($merchantId, Google_Service_ShoppingContent_Account $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_ShoppingContent_Account");
+ }
+ /**
+ * Lists the sub-accounts in your Merchant Center account. This method can only
+ * be called for multi-client accounts. (accounts.listAccounts)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults The maximum number of accounts to return in the
+ * response, used for paging.
+ * @opt_param string pageToken The token returned by the previous request.
+ * @return 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), "Google_Service_ShoppingContent_AccountsListResponse");
+ }
+ /**
+ * Updates a Merchant Center account. This method can only be called for
+ * accounts to which the managing account has access: either the managing
+ * account itself or sub-accounts if the managing account is a multi-client
+ * 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 Google_Service_ShoppingContent_Account $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_Account
+ */
+ public function patch($merchantId, $accountId, 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), "Google_Service_ShoppingContent_Account");
+ }
+ /**
+ * Updates a Merchant Center account. This method can only be called for
+ * accounts to which the managing account has access: either the managing
+ * account itself or sub-accounts if the managing account is a multi-client
+ * account. (accounts.update)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account.
+ * @param Google_Service_ShoppingContent_Account $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_Account
+ */
+ public function update($merchantId, $accountId, 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), "Google_Service_ShoppingContent_Account");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accountshipping.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accountshipping.php
new file mode 100644
index 00000000..a28f530a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accountshipping.php
@@ -0,0 +1,123 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accountshipping" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $accountshipping = $contentService->accountshipping;
+ * </code>
+ */
+class Google_Service_ShoppingContent_Resource_Accountshipping extends Google_Service_Resource
+{
+ /**
+ * Retrieves and updates the shipping settings of multiple accounts in a single
+ * request. (accountshipping.custombatch)
+ *
+ * @param Google_Service_ShoppingContent_AccountshippingCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_AccountshippingCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_AccountshippingCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountshippingCustomBatchResponse");
+ }
+ /**
+ * Retrieves the shipping settings of the account. This method can only be
+ * called for accounts to which the managing account has access: either the
+ * managing account itself or sub-accounts if the managing account is a multi-
+ * client account. (accountshipping.get)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account for which to get/update
+ * account shipping settings.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountShipping
+ */
+ public function get($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountShipping");
+ }
+ /**
+ * Lists the shipping settings of the sub-accounts in your Merchant Center
+ * account. This method can only be called for multi-client accounts.
+ * (accountshipping.listAccountshipping)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults The maximum number of shipping settings to
+ * return in the response, used for paging.
+ * @opt_param string pageToken The token returned by the previous request.
+ * @return Google_Service_ShoppingContent_AccountshippingListResponse
+ */
+ public function listAccountshipping($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountshippingListResponse");
+ }
+ /**
+ * Updates the shipping settings of the account. This method can only be called
+ * for accounts to which the managing account has access: either the managing
+ * account itself or sub-accounts if the managing account is a multi-client
+ * account. This method supports patch semantics. (accountshipping.patch)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account for which to get/update
+ * account shipping settings.
+ * @param Google_Service_ShoppingContent_AccountShipping $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_AccountShipping
+ */
+ public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountShipping $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountShipping");
+ }
+ /**
+ * Updates the shipping settings of the account. This method can only be called
+ * for accounts to which the managing account has access: either the managing
+ * account itself or sub-accounts if the managing account is a multi-client
+ * account. (accountshipping.update)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account for which to get/update
+ * account shipping settings.
+ * @param Google_Service_ShoppingContent_AccountShipping $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_AccountShipping
+ */
+ public function update($merchantId, $accountId, Google_Service_ShoppingContent_AccountShipping $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_ShoppingContent_AccountShipping");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accountstatuses.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accountstatuses.php
new file mode 100644
index 00000000..2abf0d9a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accountstatuses.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accountstatuses" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $accountstatuses = $contentService->accountstatuses;
+ * </code>
+ */
+class Google_Service_ShoppingContent_Resource_Accountstatuses extends Google_Service_Resource
+{
+ /**
+ * (accountstatuses.custombatch)
+ *
+ * @param Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse");
+ }
+ /**
+ * Retrieves the status of a Merchant Center account. This method can only be
+ * called for accounts to which the managing account has access: either the
+ * managing account itself or sub-accounts if the managing account is a multi-
+ * client 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 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), "Google_Service_ShoppingContent_AccountStatus");
+ }
+ /**
+ * Lists the statuses of the sub-accounts in your Merchant Center account. This
+ * method can only be called for multi-client accounts.
+ * (accountstatuses.listAccountstatuses)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults The maximum number of account statuses to return
+ * in the response, used for paging.
+ * @opt_param string pageToken The token returned by the previous request.
+ * @return 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), "Google_Service_ShoppingContent_AccountstatusesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accounttax.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accounttax.php
new file mode 100644
index 00000000..79ee23e1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accounttax.php
@@ -0,0 +1,123 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accounttax" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $accounttax = $contentService->accounttax;
+ * </code>
+ */
+class Google_Service_ShoppingContent_Resource_Accounttax extends Google_Service_Resource
+{
+ /**
+ * Retrieves and updates tax settings of multiple accounts in a single request.
+ * (accounttax.custombatch)
+ *
+ * @param Google_Service_ShoppingContent_AccounttaxCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_AccounttaxCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_AccounttaxCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccounttaxCustomBatchResponse");
+ }
+ /**
+ * Retrieves the tax settings of the account. This method can only be called for
+ * accounts to which the managing account has access: either the managing
+ * account itself or sub-accounts if the managing account is a multi-client
+ * account. (accounttax.get)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account for which to get/update
+ * account tax settings.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountTax
+ */
+ public function get($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountTax");
+ }
+ /**
+ * Lists the tax settings of the sub-accounts in your Merchant Center account.
+ * This method can only be called for multi-client accounts.
+ * (accounttax.listAccounttax)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults The maximum number of tax settings to return in
+ * the response, used for paging.
+ * @opt_param string pageToken The token returned by the previous request.
+ * @return Google_Service_ShoppingContent_AccounttaxListResponse
+ */
+ public function listAccounttax($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_AccounttaxListResponse");
+ }
+ /**
+ * Updates the tax settings of the account. This method can only be called for
+ * accounts to which the managing account has access: either the managing
+ * account itself or sub-accounts if the managing account is a multi-client
+ * account. This method supports patch semantics. (accounttax.patch)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account for which to get/update
+ * account tax settings.
+ * @param Google_Service_ShoppingContent_AccountTax $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_AccountTax
+ */
+ public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountTax");
+ }
+ /**
+ * Updates the tax settings of the account. This method can only be called for
+ * accounts to which the managing account has access: either the managing
+ * account itself or sub-accounts if the managing account is a multi-client
+ * account. (accounttax.update)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account for which to get/update
+ * account tax settings.
+ * @param Google_Service_ShoppingContent_AccountTax $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_AccountTax
+ */
+ public function update($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_ShoppingContent_AccountTax");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Datafeeds.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Datafeeds.php
new file mode 100644
index 00000000..4f1c058b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Datafeeds.php
@@ -0,0 +1,146 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "datafeeds" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $datafeeds = $contentService->datafeeds;
+ * </code>
+ */
+class Google_Service_ShoppingContent_Resource_Datafeeds extends Google_Service_Resource
+{
+ /**
+ * (datafeeds.custombatch)
+ *
+ * @param Google_Service_ShoppingContent_DatafeedsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_DatafeedsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_DatafeedsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedsCustomBatchResponse");
+ }
+ /**
+ * Deletes a datafeed from your Merchant Center account. This method can only be
+ * called for non-multi-client accounts. (datafeeds.delete)
+ *
+ * @param string $merchantId
+ * @param string $datafeedId
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ */
+ 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. This method can only
+ * be called for non-multi-client accounts. (datafeeds.get)
+ *
+ * @param string $merchantId
+ * @param string $datafeedId
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_ShoppingContent_Datafeed");
+ }
+ /**
+ * Registers a datafeed with your Merchant Center account. This method can only
+ * be called for non-multi-client accounts. (datafeeds.insert)
+ *
+ * @param string $merchantId
+ * @param Google_Service_ShoppingContent_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_Datafeed
+ */
+ public function insert($merchantId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_ShoppingContent_Datafeed");
+ }
+ /**
+ * Lists the datafeeds in your Merchant Center account. This method can only be
+ * called for non-multi-client accounts. (datafeeds.listDatafeeds)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults The maximum number of products to return in the
+ * response, used for paging.
+ * @opt_param string pageToken The token returned by the previous request.
+ * @return 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), "Google_Service_ShoppingContent_DatafeedsListResponse");
+ }
+ /**
+ * Updates a datafeed of your Merchant Center account. This method can only be
+ * called for non-multi-client accounts. This method supports patch semantics.
+ * (datafeeds.patch)
+ *
+ * @param string $merchantId
+ * @param string $datafeedId
+ * @param Google_Service_ShoppingContent_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_Datafeed
+ */
+ public function patch($merchantId, $datafeedId, 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), "Google_Service_ShoppingContent_Datafeed");
+ }
+ /**
+ * Updates a datafeed of your Merchant Center account. This method can only be
+ * called for non-multi-client accounts. (datafeeds.update)
+ *
+ * @param string $merchantId
+ * @param string $datafeedId
+ * @param Google_Service_ShoppingContent_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_Datafeed
+ */
+ public function update($merchantId, $datafeedId, 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), "Google_Service_ShoppingContent_Datafeed");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Datafeedstatuses.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Datafeedstatuses.php
new file mode 100644
index 00000000..520fc0fa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Datafeedstatuses.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "datafeedstatuses" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $datafeedstatuses = $contentService->datafeedstatuses;
+ * </code>
+ */
+class Google_Service_ShoppingContent_Resource_Datafeedstatuses extends Google_Service_Resource
+{
+ /**
+ * (datafeedstatuses.custombatch)
+ *
+ * @param Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse");
+ }
+ /**
+ * Retrieves the status of a datafeed from your Merchant Center account. This
+ * method can only be called for non-multi-client accounts.
+ * (datafeedstatuses.get)
+ *
+ * @param string $merchantId
+ * @param string $datafeedId
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_ShoppingContent_DatafeedStatus");
+ }
+ /**
+ * Lists the statuses of the datafeeds in your Merchant Center account. This
+ * method can only be called for non-multi-client accounts.
+ * (datafeedstatuses.listDatafeedstatuses)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults The maximum number of products to return in the
+ * response, used for paging.
+ * @opt_param string pageToken The token returned by the previous request.
+ * @return 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), "Google_Service_ShoppingContent_DatafeedstatusesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Inventory.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Inventory.php
new file mode 100644
index 00000000..1b5e80cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Inventory.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "inventory" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $inventory = $contentService->inventory;
+ * </code>
+ */
+class Google_Service_ShoppingContent_Resource_Inventory extends Google_Service_Resource
+{
+ /**
+ * Updates price and availability for multiple products or stores in a single
+ * request. This operation does not update the expiration date of the products.
+ * This method can only be called for non-multi-client accounts.
+ * (inventory.custombatch)
+ *
+ * @param Google_Service_ShoppingContent_InventoryCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_InventoryCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_InventoryCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_InventoryCustomBatchResponse");
+ }
+ /**
+ * Updates price and availability of a product in your Merchant Center account.
+ * This operation does not update the expiration date of the product. This
+ * method can only be called for non-multi-client accounts. (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 Google_Service_ShoppingContent_InventorySetRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_InventorySetResponse
+ */
+ public function set($merchantId, $storeCode, $productId, 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), "Google_Service_ShoppingContent_InventorySetResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Orders.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Orders.php
new file mode 100644
index 00000000..962c1646
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Orders.php
@@ -0,0 +1,287 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "orders" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $orders = $contentService->orders;
+ * </code>
+ */
+class Google_Service_ShoppingContent_Resource_Orders extends Google_Service_Resource
+{
+ /**
+ * Marks an order as acknowledged. This method can only be called for non-multi-
+ * client accounts. (orders.acknowledge)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $orderId The ID of the order.
+ * @param Google_Service_ShoppingContent_OrdersAcknowledgeRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_OrdersAcknowledgeResponse
+ */
+ public function acknowledge($merchantId, $orderId, Google_Service_ShoppingContent_OrdersAcknowledgeRequest $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('acknowledge', array($params), "Google_Service_ShoppingContent_OrdersAcknowledgeResponse");
+ }
+ /**
+ * Sandbox only. Moves a test order from state "inProgress" to state
+ * "pendingShipment". This method can only be called for non-multi-client
+ * accounts. (orders.advancetestorder)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $orderId The ID of the test order to modify.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse
+ */
+ public function advancetestorder($merchantId, $orderId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'orderId' => $orderId);
+ $params = array_merge($params, $optParams);
+ return $this->call('advancetestorder', array($params), "Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse");
+ }
+ /**
+ * Cancels all line items in an order. This method can only be called for non-
+ * multi-client accounts. (orders.cancel)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $orderId The ID of the order to cancel.
+ * @param Google_Service_ShoppingContent_OrdersCancelRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_OrdersCancelResponse
+ */
+ public function cancel($merchantId, $orderId, Google_Service_ShoppingContent_OrdersCancelRequest $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_ShoppingContent_OrdersCancelResponse");
+ }
+ /**
+ * Cancels a line item. This method can only be called for non-multi-client
+ * accounts. (orders.cancellineitem)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $orderId The ID of the order.
+ * @param Google_Service_ShoppingContent_OrdersCancelLineItemRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_OrdersCancelLineItemResponse
+ */
+ public function cancellineitem($merchantId, $orderId, Google_Service_ShoppingContent_OrdersCancelLineItemRequest $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancellineitem', array($params), "Google_Service_ShoppingContent_OrdersCancelLineItemResponse");
+ }
+ /**
+ * Sandbox only. Creates a test order. This method can only be called for non-
+ * multi-client accounts. (orders.createtestorder)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param Google_Service_ShoppingContent_OrdersCreateTestOrderRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_OrdersCreateTestOrderResponse
+ */
+ public function createtestorder($merchantId, Google_Service_ShoppingContent_OrdersCreateTestOrderRequest $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('createtestorder', array($params), "Google_Service_ShoppingContent_OrdersCreateTestOrderResponse");
+ }
+ /**
+ * Retrieves or modifies multiple orders in a single request. This method can
+ * only be called for non-multi-client accounts. (orders.custombatch)
+ *
+ * @param Google_Service_ShoppingContent_OrdersCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_OrdersCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_OrdersCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_OrdersCustomBatchResponse");
+ }
+ /**
+ * Retrieves an order from your Merchant Center account. This method can only be
+ * called for non-multi-client accounts. (orders.get)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $orderId The ID of the order.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Order
+ */
+ public function get($merchantId, $orderId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'orderId' => $orderId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_Order");
+ }
+ /**
+ * Retrieves an order using merchant order id. This method can only be called
+ * for non-multi-client accounts. (orders.getbymerchantorderid)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $merchantOrderId The merchant order id to be looked for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse
+ */
+ public function getbymerchantorderid($merchantId, $merchantOrderId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'merchantOrderId' => $merchantOrderId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getbymerchantorderid', array($params), "Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse");
+ }
+ /**
+ * Sandbox only. Retrieves an order template that can be used to quickly create
+ * a new order in sandbox. This method can only be called for non-multi-client
+ * accounts. (orders.gettestordertemplate)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $templateName The name of the template to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse
+ */
+ public function gettestordertemplate($merchantId, $templateName, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'templateName' => $templateName);
+ $params = array_merge($params, $optParams);
+ return $this->call('gettestordertemplate', array($params), "Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse");
+ }
+ /**
+ * Lists the orders in your Merchant Center account. This method can only be
+ * called for non-multi-client accounts. (orders.listOrders)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool acknowledged Obtains orders that match the acknowledgement
+ * status. When set to true, obtains orders that have been acknowledged. When
+ * false, obtains orders that have not been acknowledged. We recommend using
+ * this filter set to false, in conjunction with the acknowledge call, such that
+ * only un-acknowledged orders are returned.
+ * @opt_param string maxResults The maximum number of orders to return in the
+ * response, used for paging. The default value is 25 orders per page, and the
+ * maximum allowed value is 250 orders per page. Known issue: All List calls
+ * will return all Orders without limit regardless of the value of this field.
+ * @opt_param string orderBy The ordering of the returned list. The only
+ * supported value are placedDate desc and placedDate asc for now, which returns
+ * orders sorted by placement date. "placedDate desc" stands for listing orders
+ * by placement date, from oldest to most recent. "placedDate asc" stands for
+ * listing orders by placement date, from most recent to oldest. In future
+ * releases we'll support other sorting criteria.
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param string placedDateEnd Obtains orders placed before this date
+ * (exclusively), in ISO 8601 format.
+ * @opt_param string placedDateStart Obtains orders placed after this date
+ * (inclusively), in ISO 8601 format.
+ * @opt_param string statuses Obtains orders that match any of the specified
+ * statuses. Multiple values can be specified with comma separation.
+ * Additionally, please note that active is a shortcut for pendingShipment and
+ * partiallyShipped, and completed is a shortcut for shipped ,
+ * partiallyDelivered, delivered, partiallyReturned, returned, and canceled.
+ * @return Google_Service_ShoppingContent_OrdersListResponse
+ */
+ public function listOrders($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_OrdersListResponse");
+ }
+ /**
+ * Refund a portion of the order, up to the full amount paid. This method can
+ * only be called for non-multi-client accounts. (orders.refund)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $orderId The ID of the order to refund.
+ * @param Google_Service_ShoppingContent_OrdersRefundRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_OrdersRefundResponse
+ */
+ public function refund($merchantId, $orderId, Google_Service_ShoppingContent_OrdersRefundRequest $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('refund', array($params), "Google_Service_ShoppingContent_OrdersRefundResponse");
+ }
+ /**
+ * Returns a line item. This method can only be called for non-multi-client
+ * accounts. (orders.returnlineitem)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $orderId The ID of the order.
+ * @param Google_Service_ShoppingContent_OrdersReturnLineItemRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_OrdersReturnLineItemResponse
+ */
+ public function returnlineitem($merchantId, $orderId, Google_Service_ShoppingContent_OrdersReturnLineItemRequest $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('returnlineitem', array($params), "Google_Service_ShoppingContent_OrdersReturnLineItemResponse");
+ }
+ /**
+ * Marks line item(s) as shipped. This method can only be called for non-multi-
+ * client accounts. (orders.shiplineitems)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $orderId The ID of the order.
+ * @param Google_Service_ShoppingContent_OrdersShipLineItemsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_OrdersShipLineItemsResponse
+ */
+ public function shiplineitems($merchantId, $orderId, Google_Service_ShoppingContent_OrdersShipLineItemsRequest $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('shiplineitems', array($params), "Google_Service_ShoppingContent_OrdersShipLineItemsResponse");
+ }
+ /**
+ * Updates the merchant order ID for a given order. This method can only be
+ * called for non-multi-client accounts. (orders.updatemerchantorderid)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $orderId The ID of the order.
+ * @param Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse
+ */
+ public function updatemerchantorderid($merchantId, $orderId, Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdRequest $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updatemerchantorderid', array($params), "Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse");
+ }
+ /**
+ * Updates a shipment's status, carrier, and/or tracking ID. This method can
+ * only be called for non-multi-client accounts. (orders.updateshipment)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $orderId The ID of the order.
+ * @param Google_Service_ShoppingContent_OrdersUpdateShipmentRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_OrdersUpdateShipmentResponse
+ */
+ public function updateshipment($merchantId, $orderId, Google_Service_ShoppingContent_OrdersUpdateShipmentRequest $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateshipment', array($params), "Google_Service_ShoppingContent_OrdersUpdateShipmentResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Products.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Products.php
new file mode 100644
index 00000000..1ff1e43c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Products.php
@@ -0,0 +1,116 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "products" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $products = $contentService->products;
+ * </code>
+ */
+class Google_Service_ShoppingContent_Resource_Products extends Google_Service_Resource
+{
+ /**
+ * Retrieves, inserts, and deletes multiple products in a single request. This
+ * method can only be called for non-multi-client accounts.
+ * (products.custombatch)
+ *
+ * @param Google_Service_ShoppingContent_ProductsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_ProductsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_ProductsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ProductsCustomBatchResponse");
+ }
+ /**
+ * Deletes a product from your Merchant Center account. This method can only be
+ * called for non-multi-client accounts. (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. This method can only
+ * be called for non-multi-client accounts. (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 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), "Google_Service_ShoppingContent_Product");
+ }
+ /**
+ * Uploads a product to your Merchant Center account. If an item with the same
+ * channel, contentLanguage, offerId, and targetCountry already exists, this
+ * method updates that entry. This method can only be called for non-multi-
+ * client accounts. (products.insert)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param Google_Service_ShoppingContent_Product $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_Product
+ */
+ public function insert($merchantId, Google_Service_ShoppingContent_Product $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_ShoppingContent_Product");
+ }
+ /**
+ * Lists the products in your Merchant Center account. This method can only be
+ * called for non-multi-client accounts. (products.listProducts)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeInvalidInsertedItems Flag to include the invalid
+ * inserted items in the result of the list request. By default the invalid
+ * items are not shown (the default value is false).
+ * @opt_param string maxResults The maximum number of products to return in the
+ * response, used for paging.
+ * @opt_param string pageToken The token returned by the previous request.
+ * @return 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), "Google_Service_ShoppingContent_ProductsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Productstatuses.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Productstatuses.php
new file mode 100644
index 00000000..5e1ab09e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Productstatuses.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "productstatuses" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $productstatuses = $contentService->productstatuses;
+ * </code>
+ */
+class Google_Service_ShoppingContent_Resource_Productstatuses extends Google_Service_Resource
+{
+ /**
+ * Gets the statuses of multiple products in a single request. This method can
+ * only be called for non-multi-client accounts. (productstatuses.custombatch)
+ *
+ * @param Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse");
+ }
+ /**
+ * Gets the status of a product from your Merchant Center account. This method
+ * can only be called for non-multi-client accounts. (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 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), "Google_Service_ShoppingContent_ProductStatus");
+ }
+ /**
+ * Lists the statuses of the products in your Merchant Center account. This
+ * method can only be called for non-multi-client accounts.
+ * (productstatuses.listProductstatuses)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeInvalidInsertedItems Flag to include the invalid
+ * inserted items in the result of the list request. By default the invalid
+ * items are not shown (the default value is false).
+ * @opt_param string maxResults The maximum number of product statuses to return
+ * in the response, used for paging.
+ * @opt_param string pageToken The token returned by the previous request.
+ * @return 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), "Google_Service_ShoppingContent_ProductstatusesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Shippingsettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Shippingsettings.php
new file mode 100644
index 00000000..5bb94aa9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Shippingsettings.php
@@ -0,0 +1,138 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "shippingsettings" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $shippingsettings = $contentService->shippingsettings;
+ * </code>
+ */
+class Google_Service_ShoppingContent_Resource_Shippingsettings extends Google_Service_Resource
+{
+ /**
+ * Retrieves and updates the shipping settings of multiple accounts in a single
+ * request. (shippingsettings.custombatch)
+ *
+ * @param Google_Service_ShoppingContent_ShippingsettingsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_ShippingsettingsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_ShippingsettingsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ShippingsettingsCustomBatchResponse");
+ }
+ /**
+ * Retrieves the shipping settings of the account. This method can only be
+ * called for accounts to which the managing account has access: either the
+ * managing account itself or sub-accounts if the managing account is a multi-
+ * client account. (shippingsettings.get)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account for which to get/update
+ * shipping settings.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_ShippingSettings
+ */
+ public function get($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_ShippingSettings");
+ }
+ /**
+ * Retrieves supported carriers and carrier services for an account.
+ * (shippingsettings.getsupportedcarriers)
+ *
+ * @param string $merchantId The ID of the account for which to retrieve the
+ * supported carriers.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_ShippingsettingsGetSupportedCarriersResponse
+ */
+ public function getsupportedcarriers($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getsupportedcarriers', array($params), "Google_Service_ShoppingContent_ShippingsettingsGetSupportedCarriersResponse");
+ }
+ /**
+ * Lists the shipping settings of the sub-accounts in your Merchant Center
+ * account. This method can only be called for multi-client accounts.
+ * (shippingsettings.listShippingsettings)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults The maximum number of shipping settings to
+ * return in the response, used for paging.
+ * @opt_param string pageToken The token returned by the previous request.
+ * @return Google_Service_ShoppingContent_ShippingsettingsListResponse
+ */
+ public function listShippingsettings($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_ShippingsettingsListResponse");
+ }
+ /**
+ * Updates the shipping settings of the account. This method can only be called
+ * for accounts to which the managing account has access: either the managing
+ * account itself or sub-accounts if the managing account is a multi-client
+ * account. This method supports patch semantics. (shippingsettings.patch)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account for which to get/update
+ * shipping settings.
+ * @param Google_Service_ShoppingContent_ShippingSettings $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_ShippingSettings
+ */
+ public function patch($merchantId, $accountId, Google_Service_ShoppingContent_ShippingSettings $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_ShoppingContent_ShippingSettings");
+ }
+ /**
+ * Updates the shipping settings of the account. This method can only be called
+ * for accounts to which the managing account has access: either the managing
+ * account itself or sub-accounts if the managing account is a multi-client
+ * account. (shippingsettings.update)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account for which to get/update
+ * shipping settings.
+ * @param Google_Service_ShoppingContent_ShippingSettings $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_ShippingSettings
+ */
+ public function update($merchantId, $accountId, Google_Service_ShoppingContent_ShippingSettings $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_ShoppingContent_ShippingSettings");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Row.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Row.php
new file mode 100644
index 00000000..911cc870
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Row.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_Row extends Google_Collection
+{
+ protected $collection_key = 'cells';
+ protected $cellsType = 'Google_Service_ShoppingContent_Value';
+ protected $cellsDataType = 'array';
+
+ public function setCells($cells)
+ {
+ $this->cells = $cells;
+ }
+ public function getCells()
+ {
+ return $this->cells;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Service.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Service.php
new file mode 100644
index 00000000..ba428e9e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Service.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_Service extends Google_Collection
+{
+ protected $collection_key = 'rateGroups';
+ public $active;
+ public $currency;
+ public $deliveryCountry;
+ protected $deliveryTimeType = 'Google_Service_ShoppingContent_DeliveryTime';
+ protected $deliveryTimeDataType = '';
+ public $name;
+ protected $rateGroupsType = 'Google_Service_ShoppingContent_RateGroup';
+ protected $rateGroupsDataType = 'array';
+
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+ public function setDeliveryCountry($deliveryCountry)
+ {
+ $this->deliveryCountry = $deliveryCountry;
+ }
+ public function getDeliveryCountry()
+ {
+ return $this->deliveryCountry;
+ }
+ public function setDeliveryTime(Google_Service_ShoppingContent_DeliveryTime $deliveryTime)
+ {
+ $this->deliveryTime = $deliveryTime;
+ }
+ public function getDeliveryTime()
+ {
+ return $this->deliveryTime;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRateGroups($rateGroups)
+ {
+ $this->rateGroups = $rateGroups;
+ }
+ public function getRateGroups()
+ {
+ return $this->rateGroups;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingSettings.php
new file mode 100644
index 00000000..8e63dfa0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingSettings.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ShippingSettings extends Google_Collection
+{
+ protected $collection_key = 'services';
+ public $accountId;
+ protected $postalCodeGroupsType = 'Google_Service_ShoppingContent_PostalCodeGroup';
+ protected $postalCodeGroupsDataType = 'array';
+ protected $servicesType = 'Google_Service_ShoppingContent_Service';
+ protected $servicesDataType = 'array';
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setPostalCodeGroups($postalCodeGroups)
+ {
+ $this->postalCodeGroups = $postalCodeGroups;
+ }
+ public function getPostalCodeGroups()
+ {
+ return $this->postalCodeGroups;
+ }
+ public function setServices($services)
+ {
+ $this->services = $services;
+ }
+ public function getServices()
+ {
+ return $this->services;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchRequest.php
new file mode 100644
index 00000000..e77b003b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ShippingsettingsCustomBatchRequest extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_ShoppingContent_ShippingsettingsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchRequestEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchRequestEntry.php
new file mode 100644
index 00000000..b27d568a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchRequestEntry.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ShippingsettingsCustomBatchRequestEntry extends Google_Model
+{
+ public $accountId;
+ public $batchId;
+ public $merchantId;
+ public $method;
+ protected $shippingSettingsType = 'Google_Service_ShoppingContent_ShippingSettings';
+ protected $shippingSettingsDataType = '';
+
+ 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;
+ }
+ public function setShippingSettings(Google_Service_ShoppingContent_ShippingSettings $shippingSettings)
+ {
+ $this->shippingSettings = $shippingSettings;
+ }
+ public function getShippingSettings()
+ {
+ return $this->shippingSettings;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchResponse.php
new file mode 100644
index 00000000..97ef6d22
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ShippingsettingsCustomBatchResponse extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $entriesType = 'Google_Service_ShoppingContent_ShippingsettingsCustomBatchResponseEntry';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchResponseEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchResponseEntry.php
new file mode 100644
index 00000000..b9690e96
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchResponseEntry.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ShippingsettingsCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+ protected $shippingSettingsType = 'Google_Service_ShoppingContent_ShippingSettings';
+ protected $shippingSettingsDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setErrors(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 setShippingSettings(Google_Service_ShoppingContent_ShippingSettings $shippingSettings)
+ {
+ $this->shippingSettings = $shippingSettings;
+ }
+ public function getShippingSettings()
+ {
+ return $this->shippingSettings;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsGetSupportedCarriersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsGetSupportedCarriersResponse.php
new file mode 100644
index 00000000..470c0e5d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsGetSupportedCarriersResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ShippingsettingsGetSupportedCarriersResponse extends Google_Collection
+{
+ protected $collection_key = 'carriers';
+ protected $carriersType = 'Google_Service_ShoppingContent_CarriersCarrier';
+ protected $carriersDataType = 'array';
+ public $kind;
+
+ public function setCarriers($carriers)
+ {
+ $this->carriers = $carriers;
+ }
+ public function getCarriers()
+ {
+ return $this->carriers;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsListResponse.php
new file mode 100644
index 00000000..0f09f051
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_ShippingsettingsListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_ShoppingContent_ShippingSettings';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Table.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Table.php
new file mode 100644
index 00000000..ef4a1114
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Table.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_Table extends Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $columnHeadersType = 'Google_Service_ShoppingContent_Headers';
+ protected $columnHeadersDataType = '';
+ public $name;
+ protected $rowHeadersType = 'Google_Service_ShoppingContent_Headers';
+ protected $rowHeadersDataType = '';
+ protected $rowsType = 'Google_Service_ShoppingContent_Row';
+ protected $rowsDataType = 'array';
+
+ public function setColumnHeaders(Google_Service_ShoppingContent_Headers $columnHeaders)
+ {
+ $this->columnHeaders = $columnHeaders;
+ }
+ public function getColumnHeaders()
+ {
+ return $this->columnHeaders;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRowHeaders(Google_Service_ShoppingContent_Headers $rowHeaders)
+ {
+ $this->rowHeaders = $rowHeaders;
+ }
+ public function getRowHeaders()
+ {
+ return $this->rowHeaders;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrder.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrder.php
new file mode 100644
index 00000000..cb4ff108
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrder.php
@@ -0,0 +1,109 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_TestOrder extends Google_Collection
+{
+ protected $collection_key = 'promotions';
+ protected $customerType = 'Google_Service_ShoppingContent_TestOrderCustomer';
+ protected $customerDataType = '';
+ public $kind;
+ protected $lineItemsType = 'Google_Service_ShoppingContent_TestOrderLineItem';
+ protected $lineItemsDataType = 'array';
+ protected $paymentMethodType = 'Google_Service_ShoppingContent_TestOrderPaymentMethod';
+ protected $paymentMethodDataType = '';
+ public $predefinedDeliveryAddress;
+ protected $promotionsType = 'Google_Service_ShoppingContent_OrderPromotion';
+ protected $promotionsDataType = 'array';
+ protected $shippingCostType = 'Google_Service_ShoppingContent_Price';
+ protected $shippingCostDataType = '';
+ protected $shippingCostTaxType = 'Google_Service_ShoppingContent_Price';
+ protected $shippingCostTaxDataType = '';
+ public $shippingOption;
+
+ public function setCustomer(Google_Service_ShoppingContent_TestOrderCustomer $customer)
+ {
+ $this->customer = $customer;
+ }
+ public function getCustomer()
+ {
+ return $this->customer;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLineItems($lineItems)
+ {
+ $this->lineItems = $lineItems;
+ }
+ public function getLineItems()
+ {
+ return $this->lineItems;
+ }
+ public function setPaymentMethod(Google_Service_ShoppingContent_TestOrderPaymentMethod $paymentMethod)
+ {
+ $this->paymentMethod = $paymentMethod;
+ }
+ public function getPaymentMethod()
+ {
+ return $this->paymentMethod;
+ }
+ public function setPredefinedDeliveryAddress($predefinedDeliveryAddress)
+ {
+ $this->predefinedDeliveryAddress = $predefinedDeliveryAddress;
+ }
+ public function getPredefinedDeliveryAddress()
+ {
+ return $this->predefinedDeliveryAddress;
+ }
+ public function setPromotions($promotions)
+ {
+ $this->promotions = $promotions;
+ }
+ public function getPromotions()
+ {
+ return $this->promotions;
+ }
+ public function setShippingCost(Google_Service_ShoppingContent_Price $shippingCost)
+ {
+ $this->shippingCost = $shippingCost;
+ }
+ public function getShippingCost()
+ {
+ return $this->shippingCost;
+ }
+ public function setShippingCostTax(Google_Service_ShoppingContent_Price $shippingCostTax)
+ {
+ $this->shippingCostTax = $shippingCostTax;
+ }
+ public function getShippingCostTax()
+ {
+ return $this->shippingCostTax;
+ }
+ public function setShippingOption($shippingOption)
+ {
+ $this->shippingOption = $shippingOption;
+ }
+ public function getShippingOption()
+ {
+ return $this->shippingOption;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderCustomer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderCustomer.php
new file mode 100644
index 00000000..23a1bae8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderCustomer.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_TestOrderCustomer extends Google_Model
+{
+ public $email;
+ public $explicitMarketingPreference;
+ public $fullName;
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setExplicitMarketingPreference($explicitMarketingPreference)
+ {
+ $this->explicitMarketingPreference = $explicitMarketingPreference;
+ }
+ public function getExplicitMarketingPreference()
+ {
+ return $this->explicitMarketingPreference;
+ }
+ public function setFullName($fullName)
+ {
+ $this->fullName = $fullName;
+ }
+ public function getFullName()
+ {
+ return $this->fullName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderLineItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderLineItem.php
new file mode 100644
index 00000000..cacf4f6a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderLineItem.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_TestOrderLineItem extends Google_Model
+{
+ protected $productType = 'Google_Service_ShoppingContent_TestOrderLineItemProduct';
+ protected $productDataType = '';
+ public $quantityOrdered;
+ protected $returnInfoType = 'Google_Service_ShoppingContent_OrderLineItemReturnInfo';
+ protected $returnInfoDataType = '';
+ protected $shippingDetailsType = 'Google_Service_ShoppingContent_OrderLineItemShippingDetails';
+ protected $shippingDetailsDataType = '';
+ protected $unitTaxType = 'Google_Service_ShoppingContent_Price';
+ protected $unitTaxDataType = '';
+
+ public function setProduct(Google_Service_ShoppingContent_TestOrderLineItemProduct $product)
+ {
+ $this->product = $product;
+ }
+ public function getProduct()
+ {
+ return $this->product;
+ }
+ public function setQuantityOrdered($quantityOrdered)
+ {
+ $this->quantityOrdered = $quantityOrdered;
+ }
+ public function getQuantityOrdered()
+ {
+ return $this->quantityOrdered;
+ }
+ public function setReturnInfo(Google_Service_ShoppingContent_OrderLineItemReturnInfo $returnInfo)
+ {
+ $this->returnInfo = $returnInfo;
+ }
+ public function getReturnInfo()
+ {
+ return $this->returnInfo;
+ }
+ public function setShippingDetails(Google_Service_ShoppingContent_OrderLineItemShippingDetails $shippingDetails)
+ {
+ $this->shippingDetails = $shippingDetails;
+ }
+ public function getShippingDetails()
+ {
+ return $this->shippingDetails;
+ }
+ public function setUnitTax(Google_Service_ShoppingContent_Price $unitTax)
+ {
+ $this->unitTax = $unitTax;
+ }
+ public function getUnitTax()
+ {
+ return $this->unitTax;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderLineItemProduct.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderLineItemProduct.php
new file mode 100644
index 00000000..ed3d0cbb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderLineItemProduct.php
@@ -0,0 +1,141 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_TestOrderLineItemProduct extends Google_Collection
+{
+ protected $collection_key = 'variantAttributes';
+ public $brand;
+ public $channel;
+ public $condition;
+ public $contentLanguage;
+ public $gtin;
+ public $imageLink;
+ public $itemGroupId;
+ public $mpn;
+ public $offerId;
+ protected $priceType = 'Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $targetCountry;
+ public $title;
+ protected $variantAttributesType = 'Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute';
+ protected $variantAttributesDataType = 'array';
+
+ 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 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 setGtin($gtin)
+ {
+ $this->gtin = $gtin;
+ }
+ public function getGtin()
+ {
+ return $this->gtin;
+ }
+ public function setImageLink($imageLink)
+ {
+ $this->imageLink = $imageLink;
+ }
+ public function getImageLink()
+ {
+ return $this->imageLink;
+ }
+ public function setItemGroupId($itemGroupId)
+ {
+ $this->itemGroupId = $itemGroupId;
+ }
+ public function getItemGroupId()
+ {
+ return $this->itemGroupId;
+ }
+ public function setMpn($mpn)
+ {
+ $this->mpn = $mpn;
+ }
+ public function getMpn()
+ {
+ return $this->mpn;
+ }
+ public function setOfferId($offerId)
+ {
+ $this->offerId = $offerId;
+ }
+ public function getOfferId()
+ {
+ return $this->offerId;
+ }
+ public function setPrice(Google_Service_ShoppingContent_Price $price)
+ {
+ $this->price = $price;
+ }
+ public function getPrice()
+ {
+ return $this->price;
+ }
+ public function setTargetCountry($targetCountry)
+ {
+ $this->targetCountry = $targetCountry;
+ }
+ public function getTargetCountry()
+ {
+ return $this->targetCountry;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setVariantAttributes($variantAttributes)
+ {
+ $this->variantAttributes = $variantAttributes;
+ }
+ public function getVariantAttributes()
+ {
+ return $this->variantAttributes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderPaymentMethod.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderPaymentMethod.php
new file mode 100644
index 00000000..e63041f1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderPaymentMethod.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_TestOrderPaymentMethod extends Google_Model
+{
+ public $expirationMonth;
+ public $expirationYear;
+ public $lastFourDigits;
+ public $predefinedBillingAddress;
+ public $type;
+
+ public function setExpirationMonth($expirationMonth)
+ {
+ $this->expirationMonth = $expirationMonth;
+ }
+ public function getExpirationMonth()
+ {
+ return $this->expirationMonth;
+ }
+ public function setExpirationYear($expirationYear)
+ {
+ $this->expirationYear = $expirationYear;
+ }
+ public function getExpirationYear()
+ {
+ return $this->expirationYear;
+ }
+ public function setLastFourDigits($lastFourDigits)
+ {
+ $this->lastFourDigits = $lastFourDigits;
+ }
+ public function getLastFourDigits()
+ {
+ return $this->lastFourDigits;
+ }
+ public function setPredefinedBillingAddress($predefinedBillingAddress)
+ {
+ $this->predefinedBillingAddress = $predefinedBillingAddress;
+ }
+ public function getPredefinedBillingAddress()
+ {
+ return $this->predefinedBillingAddress;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Value.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Value.php
new file mode 100644
index 00000000..a3f550d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Value.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_Value extends Google_Model
+{
+ public $carrierRateName;
+ protected $flatRateType = 'Google_Service_ShoppingContent_Price';
+ protected $flatRateDataType = '';
+ public $noShipping;
+ public $pricePercentage;
+ public $subtableName;
+
+ public function setCarrierRateName($carrierRateName)
+ {
+ $this->carrierRateName = $carrierRateName;
+ }
+ public function getCarrierRateName()
+ {
+ return $this->carrierRateName;
+ }
+ public function setFlatRate(Google_Service_ShoppingContent_Price $flatRate)
+ {
+ $this->flatRate = $flatRate;
+ }
+ public function getFlatRate()
+ {
+ return $this->flatRate;
+ }
+ public function setNoShipping($noShipping)
+ {
+ $this->noShipping = $noShipping;
+ }
+ public function getNoShipping()
+ {
+ return $this->noShipping;
+ }
+ public function setPricePercentage($pricePercentage)
+ {
+ $this->pricePercentage = $pricePercentage;
+ }
+ public function getPricePercentage()
+ {
+ return $this->pricePercentage;
+ }
+ public function setSubtableName($subtableName)
+ {
+ $this->subtableName = $subtableName;
+ }
+ public function getSubtableName()
+ {
+ return $this->subtableName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Weight.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Weight.php
new file mode 100644
index 00000000..16ef3e6d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Weight.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ShoppingContent_Weight extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification.php
new file mode 100644
index 00000000..f9c0fac0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification.php
@@ -0,0 +1,124 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Verifies 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 Google_Service_SiteVerification extends 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'siteVerification/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'siteVerification';
+
+ $this->webResource = new Google_Service_SiteVerification_Resource_WebResource(
+ $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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/Resource/WebResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/Resource/WebResource.php
new file mode 100644
index 00000000..f931e68f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/Resource/WebResource.php
@@ -0,0 +1,124 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "webResource" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $siteVerificationService = new Google_Service_SiteVerification(...);
+ * $webResource = $siteVerificationService->webResource;
+ * </code>
+ */
+class Google_Service_SiteVerification_Resource_WebResource extends 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 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), "Google_Service_SiteVerification_SiteVerificationWebResourceResource");
+ }
+ /**
+ * Get a verification token for placing on a website or domain.
+ * (webResource.getToken)
+ *
+ * @param Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse
+ */
+ public function getToken(Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getToken', array($params), "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 Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SiteVerification_SiteVerificationWebResourceResource
+ */
+ public function insert($verificationMethod, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array())
+ {
+ $params = array('verificationMethod' => $verificationMethod, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceResource");
+ }
+ /**
+ * Get the list of your verified websites and domains.
+ * (webResource.listWebResource)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SiteVerification_SiteVerificationWebResourceListResponse
+ */
+ public function listWebResource($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "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 Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SiteVerification_SiteVerificationWebResourceResource
+ */
+ public function patch($id, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "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 Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SiteVerification_SiteVerificationWebResourceResource
+ */
+ public function update($id, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceResource");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenRequest.php
new file mode 100644
index 00000000..3c3f8f1e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest extends Google_Model
+{
+ protected $siteType = 'Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequestSite';
+ protected $siteDataType = '';
+ public $verificationMethod;
+
+ public function setSite(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenRequestSite.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenRequestSite.php
new file mode 100644
index 00000000..2f6a965c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenRequestSite.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequestSite extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenResponse.php
new file mode 100644
index 00000000..10f7f616
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenResponse.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceListResponse.php
new file mode 100644
index 00000000..437c6dcb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceListResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SiteVerification_SiteVerificationWebResourceListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_SiteVerification_SiteVerificationWebResourceResource';
+ protected $itemsDataType = 'array';
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceResource.php
new file mode 100644
index 00000000..431bc171
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceResource.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SiteVerification_SiteVerificationWebResourceResource extends Google_Collection
+{
+ protected $collection_key = 'owners';
+ public $id;
+ public $owners;
+ protected $siteType = '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(Google_Service_SiteVerification_SiteVerificationWebResourceResourceSite $site)
+ {
+ $this->site = $site;
+ }
+ public function getSite()
+ {
+ return $this->site;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceResourceSite.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceResourceSite.php
new file mode 100644
index 00000000..12cd103f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceResourceSite.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_SiteVerification_SiteVerificationWebResourceResourceSite extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides.php
new file mode 100644
index 00000000..4b3b3eb7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides.php
@@ -0,0 +1,128 @@
+<?php
+/*
+ * Copyright 2016 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 Slides (v1).
+ *
+ * <p>
+ * An API for creating and editing Google Slides presentations.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/slides/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Slides extends Google_Service
+{
+ /** View and manage the files in your Google Drive. */
+ const DRIVE =
+ "https://www.googleapis.com/auth/drive";
+ /** View the files in your Google Drive. */
+ const DRIVE_READONLY =
+ "https://www.googleapis.com/auth/drive.readonly";
+ /** View and manage your Google Slides presentations. */
+ const PRESENTATIONS =
+ "https://www.googleapis.com/auth/presentations";
+ /** View your Google Slides presentations. */
+ const PRESENTATIONS_READONLY =
+ "https://www.googleapis.com/auth/presentations.readonly";
+ /** View and manage your spreadsheets in Google Drive. */
+ const SPREADSHEETS =
+ "https://www.googleapis.com/auth/spreadsheets";
+ /** View your Google Spreadsheets. */
+ const SPREADSHEETS_READONLY =
+ "https://www.googleapis.com/auth/spreadsheets.readonly";
+
+ public $presentations;
+ public $presentations_pages;
+
+ /**
+ * Constructs the internal representation of the Slides service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://slides.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'slides';
+
+ $this->presentations = new Google_Service_Slides_Resource_Presentations(
+ $this,
+ $this->serviceName,
+ 'presentations',
+ array(
+ 'methods' => array(
+ 'batchUpdate' => array(
+ 'path' => 'v1/presentations/{presentationId}:batchUpdate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'presentationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'v1/presentations',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => 'v1/presentations/{+presentationId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'presentationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->presentations_pages = new Google_Service_Slides_Resource_PresentationsPages(
+ $this,
+ $this->serviceName,
+ 'pages',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/presentations/{presentationId}/pages/{pageObjectId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'presentationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageObjectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/AffineTransform.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/AffineTransform.php
new file mode 100644
index 00000000..519770d4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/AffineTransform.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_AffineTransform extends Google_Model
+{
+ public $scaleX;
+ public $scaleY;
+ public $shearX;
+ public $shearY;
+ public $translateX;
+ public $translateY;
+ public $unit;
+
+ public function setScaleX($scaleX)
+ {
+ $this->scaleX = $scaleX;
+ }
+ public function getScaleX()
+ {
+ return $this->scaleX;
+ }
+ public function setScaleY($scaleY)
+ {
+ $this->scaleY = $scaleY;
+ }
+ public function getScaleY()
+ {
+ return $this->scaleY;
+ }
+ public function setShearX($shearX)
+ {
+ $this->shearX = $shearX;
+ }
+ public function getShearX()
+ {
+ return $this->shearX;
+ }
+ public function setShearY($shearY)
+ {
+ $this->shearY = $shearY;
+ }
+ public function getShearY()
+ {
+ return $this->shearY;
+ }
+ public function setTranslateX($translateX)
+ {
+ $this->translateX = $translateX;
+ }
+ public function getTranslateX()
+ {
+ return $this->translateX;
+ }
+ public function setTranslateY($translateY)
+ {
+ $this->translateY = $translateY;
+ }
+ public function getTranslateY()
+ {
+ return $this->translateY;
+ }
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/AutoText.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/AutoText.php
new file mode 100644
index 00000000..c27ca0d5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/AutoText.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_AutoText extends Google_Model
+{
+ public $content;
+ protected $styleType = 'Google_Service_Slides_TextStyle';
+ protected $styleDataType = '';
+ public $type;
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setStyle(Google_Service_Slides_TextStyle $style)
+ {
+ $this->style = $style;
+ }
+ public function getStyle()
+ {
+ return $this->style;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/BatchUpdatePresentationRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/BatchUpdatePresentationRequest.php
new file mode 100644
index 00000000..cc885add
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/BatchUpdatePresentationRequest.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_BatchUpdatePresentationRequest extends Google_Collection
+{
+ protected $collection_key = 'requests';
+ protected $requestsType = 'Google_Service_Slides_Request';
+ protected $requestsDataType = 'array';
+ protected $writeControlType = 'Google_Service_Slides_WriteControl';
+ protected $writeControlDataType = '';
+
+ public function setRequests($requests)
+ {
+ $this->requests = $requests;
+ }
+ public function getRequests()
+ {
+ return $this->requests;
+ }
+ public function setWriteControl(Google_Service_Slides_WriteControl $writeControl)
+ {
+ $this->writeControl = $writeControl;
+ }
+ public function getWriteControl()
+ {
+ return $this->writeControl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/BatchUpdatePresentationResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/BatchUpdatePresentationResponse.php
new file mode 100644
index 00000000..08185adf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/BatchUpdatePresentationResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_BatchUpdatePresentationResponse extends Google_Collection
+{
+ protected $collection_key = 'replies';
+ public $presentationId;
+ protected $repliesType = 'Google_Service_Slides_Response';
+ protected $repliesDataType = 'array';
+
+ public function setPresentationId($presentationId)
+ {
+ $this->presentationId = $presentationId;
+ }
+ public function getPresentationId()
+ {
+ return $this->presentationId;
+ }
+ public function setReplies($replies)
+ {
+ $this->replies = $replies;
+ }
+ public function getReplies()
+ {
+ return $this->replies;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Bullet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Bullet.php
new file mode 100644
index 00000000..b7464996
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Bullet.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Bullet extends Google_Model
+{
+ protected $bulletStyleType = 'Google_Service_Slides_TextStyle';
+ protected $bulletStyleDataType = '';
+ public $glyph;
+ public $listId;
+ public $nestingLevel;
+
+ public function setBulletStyle(Google_Service_Slides_TextStyle $bulletStyle)
+ {
+ $this->bulletStyle = $bulletStyle;
+ }
+ public function getBulletStyle()
+ {
+ return $this->bulletStyle;
+ }
+ public function setGlyph($glyph)
+ {
+ $this->glyph = $glyph;
+ }
+ public function getGlyph()
+ {
+ return $this->glyph;
+ }
+ public function setListId($listId)
+ {
+ $this->listId = $listId;
+ }
+ public function getListId()
+ {
+ return $this->listId;
+ }
+ public function setNestingLevel($nestingLevel)
+ {
+ $this->nestingLevel = $nestingLevel;
+ }
+ public function getNestingLevel()
+ {
+ return $this->nestingLevel;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ColorScheme.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ColorScheme.php
new file mode 100644
index 00000000..85e2c00f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ColorScheme.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_ColorScheme extends Google_Collection
+{
+ protected $collection_key = 'colors';
+ protected $colorsType = 'Google_Service_Slides_ThemeColorPair';
+ protected $colorsDataType = 'array';
+
+ public function setColors($colors)
+ {
+ $this->colors = $colors;
+ }
+ public function getColors()
+ {
+ return $this->colors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ColorStop.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ColorStop.php
new file mode 100644
index 00000000..fe032c79
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ColorStop.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_ColorStop extends Google_Model
+{
+ public $alpha;
+ protected $colorType = 'Google_Service_Slides_OpaqueColor';
+ protected $colorDataType = '';
+ public $position;
+
+ public function setAlpha($alpha)
+ {
+ $this->alpha = $alpha;
+ }
+ public function getAlpha()
+ {
+ return $this->alpha;
+ }
+ public function setColor(Google_Service_Slides_OpaqueColor $color)
+ {
+ $this->color = $color;
+ }
+ public function getColor()
+ {
+ return $this->color;
+ }
+ public function setPosition($position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateImageRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateImageRequest.php
new file mode 100644
index 00000000..d582ce7f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateImageRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_CreateImageRequest extends Google_Model
+{
+ protected $elementPropertiesType = 'Google_Service_Slides_PageElementProperties';
+ protected $elementPropertiesDataType = '';
+ public $objectId;
+ public $url;
+
+ public function setElementProperties(Google_Service_Slides_PageElementProperties $elementProperties)
+ {
+ $this->elementProperties = $elementProperties;
+ }
+ public function getElementProperties()
+ {
+ return $this->elementProperties;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateImageResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateImageResponse.php
new file mode 100644
index 00000000..90db1eb7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateImageResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_CreateImageResponse extends Google_Model
+{
+ public $objectId;
+
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateLineRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateLineRequest.php
new file mode 100644
index 00000000..67a88d06
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateLineRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_CreateLineRequest extends Google_Model
+{
+ protected $elementPropertiesType = 'Google_Service_Slides_PageElementProperties';
+ protected $elementPropertiesDataType = '';
+ public $lineCategory;
+ public $objectId;
+
+ public function setElementProperties(Google_Service_Slides_PageElementProperties $elementProperties)
+ {
+ $this->elementProperties = $elementProperties;
+ }
+ public function getElementProperties()
+ {
+ return $this->elementProperties;
+ }
+ public function setLineCategory($lineCategory)
+ {
+ $this->lineCategory = $lineCategory;
+ }
+ public function getLineCategory()
+ {
+ return $this->lineCategory;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateLineResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateLineResponse.php
new file mode 100644
index 00000000..8083b38a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateLineResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_CreateLineResponse extends Google_Model
+{
+ public $objectId;
+
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateParagraphBulletsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateParagraphBulletsRequest.php
new file mode 100644
index 00000000..cc6654cf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateParagraphBulletsRequest.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_CreateParagraphBulletsRequest extends Google_Model
+{
+ public $bulletPreset;
+ protected $cellLocationType = 'Google_Service_Slides_TableCellLocation';
+ protected $cellLocationDataType = '';
+ public $objectId;
+ protected $textRangeType = 'Google_Service_Slides_Range';
+ protected $textRangeDataType = '';
+
+ public function setBulletPreset($bulletPreset)
+ {
+ $this->bulletPreset = $bulletPreset;
+ }
+ public function getBulletPreset()
+ {
+ return $this->bulletPreset;
+ }
+ public function setCellLocation(Google_Service_Slides_TableCellLocation $cellLocation)
+ {
+ $this->cellLocation = $cellLocation;
+ }
+ public function getCellLocation()
+ {
+ return $this->cellLocation;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setTextRange(Google_Service_Slides_Range $textRange)
+ {
+ $this->textRange = $textRange;
+ }
+ public function getTextRange()
+ {
+ return $this->textRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateShapeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateShapeRequest.php
new file mode 100644
index 00000000..099a48b9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateShapeRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_CreateShapeRequest extends Google_Model
+{
+ protected $elementPropertiesType = 'Google_Service_Slides_PageElementProperties';
+ protected $elementPropertiesDataType = '';
+ public $objectId;
+ public $shapeType;
+
+ public function setElementProperties(Google_Service_Slides_PageElementProperties $elementProperties)
+ {
+ $this->elementProperties = $elementProperties;
+ }
+ public function getElementProperties()
+ {
+ return $this->elementProperties;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setShapeType($shapeType)
+ {
+ $this->shapeType = $shapeType;
+ }
+ public function getShapeType()
+ {
+ return $this->shapeType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateShapeResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateShapeResponse.php
new file mode 100644
index 00000000..7f4d17d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateShapeResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_CreateShapeResponse extends Google_Model
+{
+ public $objectId;
+
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSheetsChartRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSheetsChartRequest.php
new file mode 100644
index 00000000..1bdf5b74
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSheetsChartRequest.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_CreateSheetsChartRequest extends Google_Model
+{
+ public $chartId;
+ protected $elementPropertiesType = 'Google_Service_Slides_PageElementProperties';
+ protected $elementPropertiesDataType = '';
+ public $linkingMode;
+ public $objectId;
+ public $spreadsheetId;
+
+ public function setChartId($chartId)
+ {
+ $this->chartId = $chartId;
+ }
+ public function getChartId()
+ {
+ return $this->chartId;
+ }
+ public function setElementProperties(Google_Service_Slides_PageElementProperties $elementProperties)
+ {
+ $this->elementProperties = $elementProperties;
+ }
+ public function getElementProperties()
+ {
+ return $this->elementProperties;
+ }
+ public function setLinkingMode($linkingMode)
+ {
+ $this->linkingMode = $linkingMode;
+ }
+ public function getLinkingMode()
+ {
+ return $this->linkingMode;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setSpreadsheetId($spreadsheetId)
+ {
+ $this->spreadsheetId = $spreadsheetId;
+ }
+ public function getSpreadsheetId()
+ {
+ return $this->spreadsheetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSheetsChartResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSheetsChartResponse.php
new file mode 100644
index 00000000..5397c6cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSheetsChartResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_CreateSheetsChartResponse extends Google_Model
+{
+ public $objectId;
+
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSlideRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSlideRequest.php
new file mode 100644
index 00000000..a494cdc5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSlideRequest.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_CreateSlideRequest extends Google_Collection
+{
+ protected $collection_key = 'placeholderIdMappings';
+ public $insertionIndex;
+ public $objectId;
+ protected $placeholderIdMappingsType = 'Google_Service_Slides_LayoutPlaceholderIdMapping';
+ protected $placeholderIdMappingsDataType = 'array';
+ protected $slideLayoutReferenceType = 'Google_Service_Slides_LayoutReference';
+ protected $slideLayoutReferenceDataType = '';
+
+ public function setInsertionIndex($insertionIndex)
+ {
+ $this->insertionIndex = $insertionIndex;
+ }
+ public function getInsertionIndex()
+ {
+ return $this->insertionIndex;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setPlaceholderIdMappings($placeholderIdMappings)
+ {
+ $this->placeholderIdMappings = $placeholderIdMappings;
+ }
+ public function getPlaceholderIdMappings()
+ {
+ return $this->placeholderIdMappings;
+ }
+ public function setSlideLayoutReference(Google_Service_Slides_LayoutReference $slideLayoutReference)
+ {
+ $this->slideLayoutReference = $slideLayoutReference;
+ }
+ public function getSlideLayoutReference()
+ {
+ return $this->slideLayoutReference;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSlideResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSlideResponse.php
new file mode 100644
index 00000000..b307975b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSlideResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_CreateSlideResponse extends Google_Model
+{
+ public $objectId;
+
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateTableRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateTableRequest.php
new file mode 100644
index 00000000..4136352e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateTableRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_CreateTableRequest extends Google_Model
+{
+ public $columns;
+ protected $elementPropertiesType = 'Google_Service_Slides_PageElementProperties';
+ protected $elementPropertiesDataType = '';
+ public $objectId;
+ public $rows;
+
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+ public function setElementProperties(Google_Service_Slides_PageElementProperties $elementProperties)
+ {
+ $this->elementProperties = $elementProperties;
+ }
+ public function getElementProperties()
+ {
+ return $this->elementProperties;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateTableResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateTableResponse.php
new file mode 100644
index 00000000..b5d4f977
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateTableResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_CreateTableResponse extends Google_Model
+{
+ public $objectId;
+
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateVideoRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateVideoRequest.php
new file mode 100644
index 00000000..9a417d9e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateVideoRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_CreateVideoRequest extends Google_Model
+{
+ protected $elementPropertiesType = 'Google_Service_Slides_PageElementProperties';
+ protected $elementPropertiesDataType = '';
+ public $id;
+ public $objectId;
+ public $source;
+
+ public function setElementProperties(Google_Service_Slides_PageElementProperties $elementProperties)
+ {
+ $this->elementProperties = $elementProperties;
+ }
+ public function getElementProperties()
+ {
+ return $this->elementProperties;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateVideoResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateVideoResponse.php
new file mode 100644
index 00000000..d8b3ada6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateVideoResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_CreateVideoResponse extends Google_Model
+{
+ public $objectId;
+
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CropProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CropProperties.php
new file mode 100644
index 00000000..4a403a2a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CropProperties.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_CropProperties extends Google_Model
+{
+ public $angle;
+ public $bottomOffset;
+ public $leftOffset;
+ public $rightOffset;
+ public $topOffset;
+
+ public function setAngle($angle)
+ {
+ $this->angle = $angle;
+ }
+ public function getAngle()
+ {
+ return $this->angle;
+ }
+ public function setBottomOffset($bottomOffset)
+ {
+ $this->bottomOffset = $bottomOffset;
+ }
+ public function getBottomOffset()
+ {
+ return $this->bottomOffset;
+ }
+ public function setLeftOffset($leftOffset)
+ {
+ $this->leftOffset = $leftOffset;
+ }
+ public function getLeftOffset()
+ {
+ return $this->leftOffset;
+ }
+ public function setRightOffset($rightOffset)
+ {
+ $this->rightOffset = $rightOffset;
+ }
+ public function getRightOffset()
+ {
+ return $this->rightOffset;
+ }
+ public function setTopOffset($topOffset)
+ {
+ $this->topOffset = $topOffset;
+ }
+ public function getTopOffset()
+ {
+ return $this->topOffset;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteObjectRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteObjectRequest.php
new file mode 100644
index 00000000..2a738e5c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteObjectRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_DeleteObjectRequest extends Google_Model
+{
+ public $objectId;
+
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteParagraphBulletsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteParagraphBulletsRequest.php
new file mode 100644
index 00000000..66e8adbb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteParagraphBulletsRequest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_DeleteParagraphBulletsRequest extends Google_Model
+{
+ protected $cellLocationType = 'Google_Service_Slides_TableCellLocation';
+ protected $cellLocationDataType = '';
+ public $objectId;
+ protected $textRangeType = 'Google_Service_Slides_Range';
+ protected $textRangeDataType = '';
+
+ public function setCellLocation(Google_Service_Slides_TableCellLocation $cellLocation)
+ {
+ $this->cellLocation = $cellLocation;
+ }
+ public function getCellLocation()
+ {
+ return $this->cellLocation;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setTextRange(Google_Service_Slides_Range $textRange)
+ {
+ $this->textRange = $textRange;
+ }
+ public function getTextRange()
+ {
+ return $this->textRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTableColumnRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTableColumnRequest.php
new file mode 100644
index 00000000..d9486046
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTableColumnRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_DeleteTableColumnRequest extends Google_Model
+{
+ protected $cellLocationType = 'Google_Service_Slides_TableCellLocation';
+ protected $cellLocationDataType = '';
+ public $tableObjectId;
+
+ public function setCellLocation(Google_Service_Slides_TableCellLocation $cellLocation)
+ {
+ $this->cellLocation = $cellLocation;
+ }
+ public function getCellLocation()
+ {
+ return $this->cellLocation;
+ }
+ public function setTableObjectId($tableObjectId)
+ {
+ $this->tableObjectId = $tableObjectId;
+ }
+ public function getTableObjectId()
+ {
+ return $this->tableObjectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTableRowRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTableRowRequest.php
new file mode 100644
index 00000000..da99eee1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTableRowRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_DeleteTableRowRequest extends Google_Model
+{
+ protected $cellLocationType = 'Google_Service_Slides_TableCellLocation';
+ protected $cellLocationDataType = '';
+ public $tableObjectId;
+
+ public function setCellLocation(Google_Service_Slides_TableCellLocation $cellLocation)
+ {
+ $this->cellLocation = $cellLocation;
+ }
+ public function getCellLocation()
+ {
+ return $this->cellLocation;
+ }
+ public function setTableObjectId($tableObjectId)
+ {
+ $this->tableObjectId = $tableObjectId;
+ }
+ public function getTableObjectId()
+ {
+ return $this->tableObjectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTextRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTextRequest.php
new file mode 100644
index 00000000..3c3cce85
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTextRequest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_DeleteTextRequest extends Google_Model
+{
+ protected $cellLocationType = 'Google_Service_Slides_TableCellLocation';
+ protected $cellLocationDataType = '';
+ public $objectId;
+ protected $textRangeType = 'Google_Service_Slides_Range';
+ protected $textRangeDataType = '';
+
+ public function setCellLocation(Google_Service_Slides_TableCellLocation $cellLocation)
+ {
+ $this->cellLocation = $cellLocation;
+ }
+ public function getCellLocation()
+ {
+ return $this->cellLocation;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setTextRange(Google_Service_Slides_Range $textRange)
+ {
+ $this->textRange = $textRange;
+ }
+ public function getTextRange()
+ {
+ return $this->textRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Dimension.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Dimension.php
new file mode 100644
index 00000000..255e1c33
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Dimension.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Dimension extends Google_Model
+{
+ public $magnitude;
+ public $unit;
+
+ public function setMagnitude($magnitude)
+ {
+ $this->magnitude = $magnitude;
+ }
+ public function getMagnitude()
+ {
+ return $this->magnitude;
+ }
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DuplicateObjectRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DuplicateObjectRequest.php
new file mode 100644
index 00000000..0b40d75a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DuplicateObjectRequest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_DuplicateObjectRequest extends Google_Model
+{
+ public $objectId;
+ public $objectIds;
+
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setObjectIds($objectIds)
+ {
+ $this->objectIds = $objectIds;
+ }
+ public function getObjectIds()
+ {
+ return $this->objectIds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DuplicateObjectResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DuplicateObjectResponse.php
new file mode 100644
index 00000000..8088d345
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DuplicateObjectResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_DuplicateObjectResponse extends Google_Model
+{
+ public $objectId;
+
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Group.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Group.php
new file mode 100644
index 00000000..3e304f09
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Group.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Group extends Google_Collection
+{
+ protected $collection_key = 'children';
+ protected $childrenType = 'Google_Service_Slides_PageElement';
+ protected $childrenDataType = 'array';
+
+ public function setChildren($children)
+ {
+ $this->children = $children;
+ }
+ public function getChildren()
+ {
+ return $this->children;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Image.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Image.php
new file mode 100644
index 00000000..a6bef02e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Image.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Image extends Google_Model
+{
+ public $contentUrl;
+ protected $imagePropertiesType = 'Google_Service_Slides_ImageProperties';
+ protected $imagePropertiesDataType = '';
+
+ public function setContentUrl($contentUrl)
+ {
+ $this->contentUrl = $contentUrl;
+ }
+ public function getContentUrl()
+ {
+ return $this->contentUrl;
+ }
+ public function setImageProperties(Google_Service_Slides_ImageProperties $imageProperties)
+ {
+ $this->imageProperties = $imageProperties;
+ }
+ public function getImageProperties()
+ {
+ return $this->imageProperties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ImageProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ImageProperties.php
new file mode 100644
index 00000000..a4e58c21
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ImageProperties.php
@@ -0,0 +1,98 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_ImageProperties extends Google_Model
+{
+ public $brightness;
+ public $contrast;
+ protected $cropPropertiesType = 'Google_Service_Slides_CropProperties';
+ protected $cropPropertiesDataType = '';
+ protected $linkType = 'Google_Service_Slides_Link';
+ protected $linkDataType = '';
+ protected $outlineType = 'Google_Service_Slides_Outline';
+ protected $outlineDataType = '';
+ protected $recolorType = 'Google_Service_Slides_Recolor';
+ protected $recolorDataType = '';
+ protected $shadowType = 'Google_Service_Slides_Shadow';
+ protected $shadowDataType = '';
+ public $transparency;
+
+ public function setBrightness($brightness)
+ {
+ $this->brightness = $brightness;
+ }
+ public function getBrightness()
+ {
+ return $this->brightness;
+ }
+ public function setContrast($contrast)
+ {
+ $this->contrast = $contrast;
+ }
+ public function getContrast()
+ {
+ return $this->contrast;
+ }
+ public function setCropProperties(Google_Service_Slides_CropProperties $cropProperties)
+ {
+ $this->cropProperties = $cropProperties;
+ }
+ public function getCropProperties()
+ {
+ return $this->cropProperties;
+ }
+ public function setLink(Google_Service_Slides_Link $link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setOutline(Google_Service_Slides_Outline $outline)
+ {
+ $this->outline = $outline;
+ }
+ public function getOutline()
+ {
+ return $this->outline;
+ }
+ public function setRecolor(Google_Service_Slides_Recolor $recolor)
+ {
+ $this->recolor = $recolor;
+ }
+ public function getRecolor()
+ {
+ return $this->recolor;
+ }
+ public function setShadow(Google_Service_Slides_Shadow $shadow)
+ {
+ $this->shadow = $shadow;
+ }
+ public function getShadow()
+ {
+ return $this->shadow;
+ }
+ public function setTransparency($transparency)
+ {
+ $this->transparency = $transparency;
+ }
+ public function getTransparency()
+ {
+ return $this->transparency;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTableColumnsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTableColumnsRequest.php
new file mode 100644
index 00000000..d4203744
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTableColumnsRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_InsertTableColumnsRequest extends Google_Model
+{
+ protected $cellLocationType = 'Google_Service_Slides_TableCellLocation';
+ protected $cellLocationDataType = '';
+ public $insertRight;
+ public $number;
+ public $tableObjectId;
+
+ public function setCellLocation(Google_Service_Slides_TableCellLocation $cellLocation)
+ {
+ $this->cellLocation = $cellLocation;
+ }
+ public function getCellLocation()
+ {
+ return $this->cellLocation;
+ }
+ public function setInsertRight($insertRight)
+ {
+ $this->insertRight = $insertRight;
+ }
+ public function getInsertRight()
+ {
+ return $this->insertRight;
+ }
+ public function setNumber($number)
+ {
+ $this->number = $number;
+ }
+ public function getNumber()
+ {
+ return $this->number;
+ }
+ public function setTableObjectId($tableObjectId)
+ {
+ $this->tableObjectId = $tableObjectId;
+ }
+ public function getTableObjectId()
+ {
+ return $this->tableObjectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTableRowsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTableRowsRequest.php
new file mode 100644
index 00000000..2926ed4d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTableRowsRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_InsertTableRowsRequest extends Google_Model
+{
+ protected $cellLocationType = 'Google_Service_Slides_TableCellLocation';
+ protected $cellLocationDataType = '';
+ public $insertBelow;
+ public $number;
+ public $tableObjectId;
+
+ public function setCellLocation(Google_Service_Slides_TableCellLocation $cellLocation)
+ {
+ $this->cellLocation = $cellLocation;
+ }
+ public function getCellLocation()
+ {
+ return $this->cellLocation;
+ }
+ public function setInsertBelow($insertBelow)
+ {
+ $this->insertBelow = $insertBelow;
+ }
+ public function getInsertBelow()
+ {
+ return $this->insertBelow;
+ }
+ public function setNumber($number)
+ {
+ $this->number = $number;
+ }
+ public function getNumber()
+ {
+ return $this->number;
+ }
+ public function setTableObjectId($tableObjectId)
+ {
+ $this->tableObjectId = $tableObjectId;
+ }
+ public function getTableObjectId()
+ {
+ return $this->tableObjectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTextRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTextRequest.php
new file mode 100644
index 00000000..c5722029
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTextRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_InsertTextRequest extends Google_Model
+{
+ protected $cellLocationType = 'Google_Service_Slides_TableCellLocation';
+ protected $cellLocationDataType = '';
+ public $insertionIndex;
+ public $objectId;
+ public $text;
+
+ public function setCellLocation(Google_Service_Slides_TableCellLocation $cellLocation)
+ {
+ $this->cellLocation = $cellLocation;
+ }
+ public function getCellLocation()
+ {
+ return $this->cellLocation;
+ }
+ public function setInsertionIndex($insertionIndex)
+ {
+ $this->insertionIndex = $insertionIndex;
+ }
+ public function getInsertionIndex()
+ {
+ return $this->insertionIndex;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutPlaceholderIdMapping.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutPlaceholderIdMapping.php
new file mode 100644
index 00000000..454f305b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutPlaceholderIdMapping.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_LayoutPlaceholderIdMapping extends Google_Model
+{
+ protected $layoutPlaceholderType = 'Google_Service_Slides_Placeholder';
+ protected $layoutPlaceholderDataType = '';
+ public $layoutPlaceholderObjectId;
+ public $objectId;
+
+ public function setLayoutPlaceholder(Google_Service_Slides_Placeholder $layoutPlaceholder)
+ {
+ $this->layoutPlaceholder = $layoutPlaceholder;
+ }
+ public function getLayoutPlaceholder()
+ {
+ return $this->layoutPlaceholder;
+ }
+ public function setLayoutPlaceholderObjectId($layoutPlaceholderObjectId)
+ {
+ $this->layoutPlaceholderObjectId = $layoutPlaceholderObjectId;
+ }
+ public function getLayoutPlaceholderObjectId()
+ {
+ return $this->layoutPlaceholderObjectId;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutProperties.php
new file mode 100644
index 00000000..92a9dcae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutProperties.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_LayoutProperties extends Google_Model
+{
+ public $displayName;
+ public $masterObjectId;
+ public $name;
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setMasterObjectId($masterObjectId)
+ {
+ $this->masterObjectId = $masterObjectId;
+ }
+ public function getMasterObjectId()
+ {
+ return $this->masterObjectId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutReference.php
new file mode 100644
index 00000000..f616d7f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutReference.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_LayoutReference extends Google_Model
+{
+ public $layoutId;
+ public $predefinedLayout;
+
+ public function setLayoutId($layoutId)
+ {
+ $this->layoutId = $layoutId;
+ }
+ public function getLayoutId()
+ {
+ return $this->layoutId;
+ }
+ public function setPredefinedLayout($predefinedLayout)
+ {
+ $this->predefinedLayout = $predefinedLayout;
+ }
+ public function getPredefinedLayout()
+ {
+ return $this->predefinedLayout;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Line.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Line.php
new file mode 100644
index 00000000..4f97653f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Line.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Line extends Google_Model
+{
+ protected $linePropertiesType = 'Google_Service_Slides_LineProperties';
+ protected $linePropertiesDataType = '';
+ public $lineType;
+
+ public function setLineProperties(Google_Service_Slides_LineProperties $lineProperties)
+ {
+ $this->lineProperties = $lineProperties;
+ }
+ public function getLineProperties()
+ {
+ return $this->lineProperties;
+ }
+ public function setLineType($lineType)
+ {
+ $this->lineType = $lineType;
+ }
+ public function getLineType()
+ {
+ return $this->lineType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LineFill.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LineFill.php
new file mode 100644
index 00000000..5095de44
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LineFill.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_LineFill extends Google_Model
+{
+ protected $solidFillType = 'Google_Service_Slides_SolidFill';
+ protected $solidFillDataType = '';
+
+ public function setSolidFill(Google_Service_Slides_SolidFill $solidFill)
+ {
+ $this->solidFill = $solidFill;
+ }
+ public function getSolidFill()
+ {
+ return $this->solidFill;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LineProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LineProperties.php
new file mode 100644
index 00000000..e9f2fdd3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LineProperties.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_LineProperties extends Google_Model
+{
+ public $dashStyle;
+ public $endArrow;
+ protected $lineFillType = 'Google_Service_Slides_LineFill';
+ protected $lineFillDataType = '';
+ protected $linkType = 'Google_Service_Slides_Link';
+ protected $linkDataType = '';
+ public $startArrow;
+ protected $weightType = 'Google_Service_Slides_Dimension';
+ protected $weightDataType = '';
+
+ public function setDashStyle($dashStyle)
+ {
+ $this->dashStyle = $dashStyle;
+ }
+ public function getDashStyle()
+ {
+ return $this->dashStyle;
+ }
+ public function setEndArrow($endArrow)
+ {
+ $this->endArrow = $endArrow;
+ }
+ public function getEndArrow()
+ {
+ return $this->endArrow;
+ }
+ public function setLineFill(Google_Service_Slides_LineFill $lineFill)
+ {
+ $this->lineFill = $lineFill;
+ }
+ public function getLineFill()
+ {
+ return $this->lineFill;
+ }
+ public function setLink(Google_Service_Slides_Link $link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setStartArrow($startArrow)
+ {
+ $this->startArrow = $startArrow;
+ }
+ public function getStartArrow()
+ {
+ return $this->startArrow;
+ }
+ public function setWeight(Google_Service_Slides_Dimension $weight)
+ {
+ $this->weight = $weight;
+ }
+ public function getWeight()
+ {
+ return $this->weight;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Link.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Link.php
new file mode 100644
index 00000000..18aab419
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Link.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Link extends Google_Model
+{
+ public $pageObjectId;
+ public $relativeLink;
+ public $slideIndex;
+ public $url;
+
+ public function setPageObjectId($pageObjectId)
+ {
+ $this->pageObjectId = $pageObjectId;
+ }
+ public function getPageObjectId()
+ {
+ return $this->pageObjectId;
+ }
+ public function setRelativeLink($relativeLink)
+ {
+ $this->relativeLink = $relativeLink;
+ }
+ public function getRelativeLink()
+ {
+ return $this->relativeLink;
+ }
+ public function setSlideIndex($slideIndex)
+ {
+ $this->slideIndex = $slideIndex;
+ }
+ public function getSlideIndex()
+ {
+ return $this->slideIndex;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/NestingLevel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/NestingLevel.php
new file mode 100644
index 00000000..01d97773
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/NestingLevel.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_NestingLevel extends Google_Model
+{
+ protected $bulletStyleType = 'Google_Service_Slides_TextStyle';
+ protected $bulletStyleDataType = '';
+
+ public function setBulletStyle(Google_Service_Slides_TextStyle $bulletStyle)
+ {
+ $this->bulletStyle = $bulletStyle;
+ }
+ public function getBulletStyle()
+ {
+ return $this->bulletStyle;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/NotesProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/NotesProperties.php
new file mode 100644
index 00000000..60fa69df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/NotesProperties.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_NotesProperties extends Google_Model
+{
+ public $speakerNotesObjectId;
+
+ public function setSpeakerNotesObjectId($speakerNotesObjectId)
+ {
+ $this->speakerNotesObjectId = $speakerNotesObjectId;
+ }
+ public function getSpeakerNotesObjectId()
+ {
+ return $this->speakerNotesObjectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OpaqueColor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OpaqueColor.php
new file mode 100644
index 00000000..f24dda55
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OpaqueColor.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_OpaqueColor extends Google_Model
+{
+ protected $rgbColorType = 'Google_Service_Slides_RgbColor';
+ protected $rgbColorDataType = '';
+ public $themeColor;
+
+ public function setRgbColor(Google_Service_Slides_RgbColor $rgbColor)
+ {
+ $this->rgbColor = $rgbColor;
+ }
+ public function getRgbColor()
+ {
+ return $this->rgbColor;
+ }
+ public function setThemeColor($themeColor)
+ {
+ $this->themeColor = $themeColor;
+ }
+ public function getThemeColor()
+ {
+ return $this->themeColor;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OptionalColor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OptionalColor.php
new file mode 100644
index 00000000..2be9bdfc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OptionalColor.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_OptionalColor extends Google_Model
+{
+ protected $opaqueColorType = 'Google_Service_Slides_OpaqueColor';
+ protected $opaqueColorDataType = '';
+
+ public function setOpaqueColor(Google_Service_Slides_OpaqueColor $opaqueColor)
+ {
+ $this->opaqueColor = $opaqueColor;
+ }
+ public function getOpaqueColor()
+ {
+ return $this->opaqueColor;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Outline.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Outline.php
new file mode 100644
index 00000000..b8c1bb6d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Outline.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Outline extends Google_Model
+{
+ public $dashStyle;
+ protected $outlineFillType = 'Google_Service_Slides_OutlineFill';
+ protected $outlineFillDataType = '';
+ public $propertyState;
+ protected $weightType = 'Google_Service_Slides_Dimension';
+ protected $weightDataType = '';
+
+ public function setDashStyle($dashStyle)
+ {
+ $this->dashStyle = $dashStyle;
+ }
+ public function getDashStyle()
+ {
+ return $this->dashStyle;
+ }
+ public function setOutlineFill(Google_Service_Slides_OutlineFill $outlineFill)
+ {
+ $this->outlineFill = $outlineFill;
+ }
+ public function getOutlineFill()
+ {
+ return $this->outlineFill;
+ }
+ public function setPropertyState($propertyState)
+ {
+ $this->propertyState = $propertyState;
+ }
+ public function getPropertyState()
+ {
+ return $this->propertyState;
+ }
+ public function setWeight(Google_Service_Slides_Dimension $weight)
+ {
+ $this->weight = $weight;
+ }
+ public function getWeight()
+ {
+ return $this->weight;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OutlineFill.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OutlineFill.php
new file mode 100644
index 00000000..f881e82b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OutlineFill.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_OutlineFill extends Google_Model
+{
+ protected $solidFillType = 'Google_Service_Slides_SolidFill';
+ protected $solidFillDataType = '';
+
+ public function setSolidFill(Google_Service_Slides_SolidFill $solidFill)
+ {
+ $this->solidFill = $solidFill;
+ }
+ public function getSolidFill()
+ {
+ return $this->solidFill;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Page.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Page.php
new file mode 100644
index 00000000..bf060dca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Page.php
@@ -0,0 +1,99 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Page extends Google_Collection
+{
+ protected $collection_key = 'pageElements';
+ protected $layoutPropertiesType = 'Google_Service_Slides_LayoutProperties';
+ protected $layoutPropertiesDataType = '';
+ protected $notesPropertiesType = 'Google_Service_Slides_NotesProperties';
+ protected $notesPropertiesDataType = '';
+ public $objectId;
+ protected $pageElementsType = 'Google_Service_Slides_PageElement';
+ protected $pageElementsDataType = 'array';
+ protected $pagePropertiesType = 'Google_Service_Slides_PageProperties';
+ protected $pagePropertiesDataType = '';
+ public $pageType;
+ public $revisionId;
+ protected $slidePropertiesType = 'Google_Service_Slides_SlideProperties';
+ protected $slidePropertiesDataType = '';
+
+ public function setLayoutProperties(Google_Service_Slides_LayoutProperties $layoutProperties)
+ {
+ $this->layoutProperties = $layoutProperties;
+ }
+ public function getLayoutProperties()
+ {
+ return $this->layoutProperties;
+ }
+ public function setNotesProperties(Google_Service_Slides_NotesProperties $notesProperties)
+ {
+ $this->notesProperties = $notesProperties;
+ }
+ public function getNotesProperties()
+ {
+ return $this->notesProperties;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setPageElements($pageElements)
+ {
+ $this->pageElements = $pageElements;
+ }
+ public function getPageElements()
+ {
+ return $this->pageElements;
+ }
+ public function setPageProperties(Google_Service_Slides_PageProperties $pageProperties)
+ {
+ $this->pageProperties = $pageProperties;
+ }
+ public function getPageProperties()
+ {
+ return $this->pageProperties;
+ }
+ public function setPageType($pageType)
+ {
+ $this->pageType = $pageType;
+ }
+ public function getPageType()
+ {
+ return $this->pageType;
+ }
+ public function setRevisionId($revisionId)
+ {
+ $this->revisionId = $revisionId;
+ }
+ public function getRevisionId()
+ {
+ return $this->revisionId;
+ }
+ public function setSlideProperties(Google_Service_Slides_SlideProperties $slideProperties)
+ {
+ $this->slideProperties = $slideProperties;
+ }
+ public function getSlideProperties()
+ {
+ return $this->slideProperties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageBackgroundFill.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageBackgroundFill.php
new file mode 100644
index 00000000..83ea0530
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageBackgroundFill.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_PageBackgroundFill extends Google_Model
+{
+ public $propertyState;
+ protected $solidFillType = 'Google_Service_Slides_SolidFill';
+ protected $solidFillDataType = '';
+ protected $stretchedPictureFillType = 'Google_Service_Slides_StretchedPictureFill';
+ protected $stretchedPictureFillDataType = '';
+
+ public function setPropertyState($propertyState)
+ {
+ $this->propertyState = $propertyState;
+ }
+ public function getPropertyState()
+ {
+ return $this->propertyState;
+ }
+ public function setSolidFill(Google_Service_Slides_SolidFill $solidFill)
+ {
+ $this->solidFill = $solidFill;
+ }
+ public function getSolidFill()
+ {
+ return $this->solidFill;
+ }
+ public function setStretchedPictureFill(Google_Service_Slides_StretchedPictureFill $stretchedPictureFill)
+ {
+ $this->stretchedPictureFill = $stretchedPictureFill;
+ }
+ public function getStretchedPictureFill()
+ {
+ return $this->stretchedPictureFill;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageElement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageElement.php
new file mode 100644
index 00000000..de293ebc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageElement.php
@@ -0,0 +1,148 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_PageElement extends Google_Model
+{
+ public $description;
+ protected $elementGroupType = 'Google_Service_Slides_Group';
+ protected $elementGroupDataType = '';
+ protected $imageType = 'Google_Service_Slides_Image';
+ protected $imageDataType = '';
+ protected $lineType = 'Google_Service_Slides_Line';
+ protected $lineDataType = '';
+ public $objectId;
+ protected $shapeType = 'Google_Service_Slides_Shape';
+ protected $shapeDataType = '';
+ protected $sheetsChartType = 'Google_Service_Slides_SheetsChart';
+ protected $sheetsChartDataType = '';
+ protected $sizeType = 'Google_Service_Slides_Size';
+ protected $sizeDataType = '';
+ protected $tableType = 'Google_Service_Slides_Table';
+ protected $tableDataType = '';
+ public $title;
+ protected $transformType = 'Google_Service_Slides_AffineTransform';
+ protected $transformDataType = '';
+ protected $videoType = 'Google_Service_Slides_Video';
+ protected $videoDataType = '';
+ protected $wordArtType = 'Google_Service_Slides_WordArt';
+ protected $wordArtDataType = '';
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setElementGroup(Google_Service_Slides_Group $elementGroup)
+ {
+ $this->elementGroup = $elementGroup;
+ }
+ public function getElementGroup()
+ {
+ return $this->elementGroup;
+ }
+ public function setImage(Google_Service_Slides_Image $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setLine(Google_Service_Slides_Line $line)
+ {
+ $this->line = $line;
+ }
+ public function getLine()
+ {
+ return $this->line;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setShape(Google_Service_Slides_Shape $shape)
+ {
+ $this->shape = $shape;
+ }
+ public function getShape()
+ {
+ return $this->shape;
+ }
+ public function setSheetsChart(Google_Service_Slides_SheetsChart $sheetsChart)
+ {
+ $this->sheetsChart = $sheetsChart;
+ }
+ public function getSheetsChart()
+ {
+ return $this->sheetsChart;
+ }
+ public function setSize(Google_Service_Slides_Size $size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setTable(Google_Service_Slides_Table $table)
+ {
+ $this->table = $table;
+ }
+ public function getTable()
+ {
+ return $this->table;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setTransform(Google_Service_Slides_AffineTransform $transform)
+ {
+ $this->transform = $transform;
+ }
+ public function getTransform()
+ {
+ return $this->transform;
+ }
+ public function setVideo(Google_Service_Slides_Video $video)
+ {
+ $this->video = $video;
+ }
+ public function getVideo()
+ {
+ return $this->video;
+ }
+ public function setWordArt(Google_Service_Slides_WordArt $wordArt)
+ {
+ $this->wordArt = $wordArt;
+ }
+ public function getWordArt()
+ {
+ return $this->wordArt;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageElementProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageElementProperties.php
new file mode 100644
index 00000000..4cc2b53b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageElementProperties.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_PageElementProperties extends Google_Model
+{
+ public $pageObjectId;
+ protected $sizeType = 'Google_Service_Slides_Size';
+ protected $sizeDataType = '';
+ protected $transformType = 'Google_Service_Slides_AffineTransform';
+ protected $transformDataType = '';
+
+ public function setPageObjectId($pageObjectId)
+ {
+ $this->pageObjectId = $pageObjectId;
+ }
+ public function getPageObjectId()
+ {
+ return $this->pageObjectId;
+ }
+ public function setSize(Google_Service_Slides_Size $size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setTransform(Google_Service_Slides_AffineTransform $transform)
+ {
+ $this->transform = $transform;
+ }
+ public function getTransform()
+ {
+ return $this->transform;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageProperties.php
new file mode 100644
index 00000000..944402ce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageProperties.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_PageProperties extends Google_Model
+{
+ protected $colorSchemeType = 'Google_Service_Slides_ColorScheme';
+ protected $colorSchemeDataType = '';
+ protected $pageBackgroundFillType = 'Google_Service_Slides_PageBackgroundFill';
+ protected $pageBackgroundFillDataType = '';
+
+ public function setColorScheme(Google_Service_Slides_ColorScheme $colorScheme)
+ {
+ $this->colorScheme = $colorScheme;
+ }
+ public function getColorScheme()
+ {
+ return $this->colorScheme;
+ }
+ public function setPageBackgroundFill(Google_Service_Slides_PageBackgroundFill $pageBackgroundFill)
+ {
+ $this->pageBackgroundFill = $pageBackgroundFill;
+ }
+ public function getPageBackgroundFill()
+ {
+ return $this->pageBackgroundFill;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ParagraphMarker.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ParagraphMarker.php
new file mode 100644
index 00000000..4076c623
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ParagraphMarker.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_ParagraphMarker extends Google_Model
+{
+ protected $bulletType = 'Google_Service_Slides_Bullet';
+ protected $bulletDataType = '';
+ protected $styleType = 'Google_Service_Slides_ParagraphStyle';
+ protected $styleDataType = '';
+
+ public function setBullet(Google_Service_Slides_Bullet $bullet)
+ {
+ $this->bullet = $bullet;
+ }
+ public function getBullet()
+ {
+ return $this->bullet;
+ }
+ public function setStyle(Google_Service_Slides_ParagraphStyle $style)
+ {
+ $this->style = $style;
+ }
+ public function getStyle()
+ {
+ return $this->style;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ParagraphStyle.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ParagraphStyle.php
new file mode 100644
index 00000000..b34c6fc2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ParagraphStyle.php
@@ -0,0 +1,107 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_ParagraphStyle extends Google_Model
+{
+ public $alignment;
+ public $direction;
+ protected $indentEndType = 'Google_Service_Slides_Dimension';
+ protected $indentEndDataType = '';
+ protected $indentFirstLineType = 'Google_Service_Slides_Dimension';
+ protected $indentFirstLineDataType = '';
+ protected $indentStartType = 'Google_Service_Slides_Dimension';
+ protected $indentStartDataType = '';
+ public $lineSpacing;
+ protected $spaceAboveType = 'Google_Service_Slides_Dimension';
+ protected $spaceAboveDataType = '';
+ protected $spaceBelowType = 'Google_Service_Slides_Dimension';
+ protected $spaceBelowDataType = '';
+ public $spacingMode;
+
+ public function setAlignment($alignment)
+ {
+ $this->alignment = $alignment;
+ }
+ public function getAlignment()
+ {
+ return $this->alignment;
+ }
+ public function setDirection($direction)
+ {
+ $this->direction = $direction;
+ }
+ public function getDirection()
+ {
+ return $this->direction;
+ }
+ public function setIndentEnd(Google_Service_Slides_Dimension $indentEnd)
+ {
+ $this->indentEnd = $indentEnd;
+ }
+ public function getIndentEnd()
+ {
+ return $this->indentEnd;
+ }
+ public function setIndentFirstLine(Google_Service_Slides_Dimension $indentFirstLine)
+ {
+ $this->indentFirstLine = $indentFirstLine;
+ }
+ public function getIndentFirstLine()
+ {
+ return $this->indentFirstLine;
+ }
+ public function setIndentStart(Google_Service_Slides_Dimension $indentStart)
+ {
+ $this->indentStart = $indentStart;
+ }
+ public function getIndentStart()
+ {
+ return $this->indentStart;
+ }
+ public function setLineSpacing($lineSpacing)
+ {
+ $this->lineSpacing = $lineSpacing;
+ }
+ public function getLineSpacing()
+ {
+ return $this->lineSpacing;
+ }
+ public function setSpaceAbove(Google_Service_Slides_Dimension $spaceAbove)
+ {
+ $this->spaceAbove = $spaceAbove;
+ }
+ public function getSpaceAbove()
+ {
+ return $this->spaceAbove;
+ }
+ public function setSpaceBelow(Google_Service_Slides_Dimension $spaceBelow)
+ {
+ $this->spaceBelow = $spaceBelow;
+ }
+ public function getSpaceBelow()
+ {
+ return $this->spaceBelow;
+ }
+ public function setSpacingMode($spacingMode)
+ {
+ $this->spacingMode = $spacingMode;
+ }
+ public function getSpacingMode()
+ {
+ return $this->spacingMode;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Placeholder.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Placeholder.php
new file mode 100644
index 00000000..e11f04aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Placeholder.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Placeholder extends Google_Model
+{
+ public $index;
+ public $parentObjectId;
+ public $type;
+
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+ public function setParentObjectId($parentObjectId)
+ {
+ $this->parentObjectId = $parentObjectId;
+ }
+ public function getParentObjectId()
+ {
+ return $this->parentObjectId;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Presentation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Presentation.php
new file mode 100644
index 00000000..186fe3b3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Presentation.php
@@ -0,0 +1,108 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Presentation extends Google_Collection
+{
+ protected $collection_key = 'slides';
+ protected $layoutsType = 'Google_Service_Slides_Page';
+ protected $layoutsDataType = 'array';
+ public $locale;
+ protected $mastersType = 'Google_Service_Slides_Page';
+ protected $mastersDataType = 'array';
+ protected $notesMasterType = 'Google_Service_Slides_Page';
+ protected $notesMasterDataType = '';
+ protected $pageSizeType = 'Google_Service_Slides_Size';
+ protected $pageSizeDataType = '';
+ public $presentationId;
+ public $revisionId;
+ protected $slidesType = 'Google_Service_Slides_Page';
+ protected $slidesDataType = 'array';
+ public $title;
+
+ public function setLayouts($layouts)
+ {
+ $this->layouts = $layouts;
+ }
+ public function getLayouts()
+ {
+ return $this->layouts;
+ }
+ public function setLocale($locale)
+ {
+ $this->locale = $locale;
+ }
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+ public function setMasters($masters)
+ {
+ $this->masters = $masters;
+ }
+ public function getMasters()
+ {
+ return $this->masters;
+ }
+ public function setNotesMaster(Google_Service_Slides_Page $notesMaster)
+ {
+ $this->notesMaster = $notesMaster;
+ }
+ public function getNotesMaster()
+ {
+ return $this->notesMaster;
+ }
+ public function setPageSize(Google_Service_Slides_Size $pageSize)
+ {
+ $this->pageSize = $pageSize;
+ }
+ public function getPageSize()
+ {
+ return $this->pageSize;
+ }
+ public function setPresentationId($presentationId)
+ {
+ $this->presentationId = $presentationId;
+ }
+ public function getPresentationId()
+ {
+ return $this->presentationId;
+ }
+ public function setRevisionId($revisionId)
+ {
+ $this->revisionId = $revisionId;
+ }
+ public function getRevisionId()
+ {
+ return $this->revisionId;
+ }
+ public function setSlides($slides)
+ {
+ $this->slides = $slides;
+ }
+ public function getSlides()
+ {
+ return $this->slides;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Range.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Range.php
new file mode 100644
index 00000000..8c12ca83
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Range.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Range extends Google_Model
+{
+ public $endIndex;
+ public $startIndex;
+ public $type;
+
+ public function setEndIndex($endIndex)
+ {
+ $this->endIndex = $endIndex;
+ }
+ public function getEndIndex()
+ {
+ return $this->endIndex;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Recolor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Recolor.php
new file mode 100644
index 00000000..d824fd01
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Recolor.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Recolor extends Google_Collection
+{
+ protected $collection_key = 'recolorStops';
+ public $name;
+ protected $recolorStopsType = 'Google_Service_Slides_ColorStop';
+ protected $recolorStopsDataType = 'array';
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRecolorStops($recolorStops)
+ {
+ $this->recolorStops = $recolorStops;
+ }
+ public function getRecolorStops()
+ {
+ return $this->recolorStops;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/RefreshSheetsChartRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/RefreshSheetsChartRequest.php
new file mode 100644
index 00000000..5fba9e4b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/RefreshSheetsChartRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_RefreshSheetsChartRequest extends Google_Model
+{
+ public $objectId;
+
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithImageRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithImageRequest.php
new file mode 100644
index 00000000..4ef20027
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithImageRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_ReplaceAllShapesWithImageRequest extends Google_Model
+{
+ protected $containsTextType = 'Google_Service_Slides_SubstringMatchCriteria';
+ protected $containsTextDataType = '';
+ public $imageUrl;
+ public $replaceMethod;
+
+ public function setContainsText(Google_Service_Slides_SubstringMatchCriteria $containsText)
+ {
+ $this->containsText = $containsText;
+ }
+ public function getContainsText()
+ {
+ return $this->containsText;
+ }
+ public function setImageUrl($imageUrl)
+ {
+ $this->imageUrl = $imageUrl;
+ }
+ public function getImageUrl()
+ {
+ return $this->imageUrl;
+ }
+ public function setReplaceMethod($replaceMethod)
+ {
+ $this->replaceMethod = $replaceMethod;
+ }
+ public function getReplaceMethod()
+ {
+ return $this->replaceMethod;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithImageResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithImageResponse.php
new file mode 100644
index 00000000..78a538ce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithImageResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_ReplaceAllShapesWithImageResponse extends Google_Model
+{
+ public $occurrencesChanged;
+
+ public function setOccurrencesChanged($occurrencesChanged)
+ {
+ $this->occurrencesChanged = $occurrencesChanged;
+ }
+ public function getOccurrencesChanged()
+ {
+ return $this->occurrencesChanged;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithSheetsChartRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithSheetsChartRequest.php
new file mode 100644
index 00000000..4cef0ae4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithSheetsChartRequest.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_ReplaceAllShapesWithSheetsChartRequest extends Google_Model
+{
+ public $chartId;
+ protected $containsTextType = 'Google_Service_Slides_SubstringMatchCriteria';
+ protected $containsTextDataType = '';
+ public $linkingMode;
+ public $spreadsheetId;
+
+ public function setChartId($chartId)
+ {
+ $this->chartId = $chartId;
+ }
+ public function getChartId()
+ {
+ return $this->chartId;
+ }
+ public function setContainsText(Google_Service_Slides_SubstringMatchCriteria $containsText)
+ {
+ $this->containsText = $containsText;
+ }
+ public function getContainsText()
+ {
+ return $this->containsText;
+ }
+ public function setLinkingMode($linkingMode)
+ {
+ $this->linkingMode = $linkingMode;
+ }
+ public function getLinkingMode()
+ {
+ return $this->linkingMode;
+ }
+ public function setSpreadsheetId($spreadsheetId)
+ {
+ $this->spreadsheetId = $spreadsheetId;
+ }
+ public function getSpreadsheetId()
+ {
+ return $this->spreadsheetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithSheetsChartResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithSheetsChartResponse.php
new file mode 100644
index 00000000..2a0add5d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithSheetsChartResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_ReplaceAllShapesWithSheetsChartResponse extends Google_Model
+{
+ public $occurrencesChanged;
+
+ public function setOccurrencesChanged($occurrencesChanged)
+ {
+ $this->occurrencesChanged = $occurrencesChanged;
+ }
+ public function getOccurrencesChanged()
+ {
+ return $this->occurrencesChanged;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllTextRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllTextRequest.php
new file mode 100644
index 00000000..76e3819f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllTextRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_ReplaceAllTextRequest extends Google_Model
+{
+ protected $containsTextType = 'Google_Service_Slides_SubstringMatchCriteria';
+ protected $containsTextDataType = '';
+ public $replaceText;
+
+ public function setContainsText(Google_Service_Slides_SubstringMatchCriteria $containsText)
+ {
+ $this->containsText = $containsText;
+ }
+ public function getContainsText()
+ {
+ return $this->containsText;
+ }
+ public function setReplaceText($replaceText)
+ {
+ $this->replaceText = $replaceText;
+ }
+ public function getReplaceText()
+ {
+ return $this->replaceText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllTextResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllTextResponse.php
new file mode 100644
index 00000000..fa431f9d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllTextResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_ReplaceAllTextResponse extends Google_Model
+{
+ public $occurrencesChanged;
+
+ public function setOccurrencesChanged($occurrencesChanged)
+ {
+ $this->occurrencesChanged = $occurrencesChanged;
+ }
+ public function getOccurrencesChanged()
+ {
+ return $this->occurrencesChanged;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Request.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Request.php
new file mode 100644
index 00000000..caa28e2d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Request.php
@@ -0,0 +1,331 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Request extends Google_Model
+{
+ protected $createImageType = 'Google_Service_Slides_CreateImageRequest';
+ protected $createImageDataType = '';
+ protected $createLineType = 'Google_Service_Slides_CreateLineRequest';
+ protected $createLineDataType = '';
+ protected $createParagraphBulletsType = 'Google_Service_Slides_CreateParagraphBulletsRequest';
+ protected $createParagraphBulletsDataType = '';
+ protected $createShapeType = 'Google_Service_Slides_CreateShapeRequest';
+ protected $createShapeDataType = '';
+ protected $createSheetsChartType = 'Google_Service_Slides_CreateSheetsChartRequest';
+ protected $createSheetsChartDataType = '';
+ protected $createSlideType = 'Google_Service_Slides_CreateSlideRequest';
+ protected $createSlideDataType = '';
+ protected $createTableType = 'Google_Service_Slides_CreateTableRequest';
+ protected $createTableDataType = '';
+ protected $createVideoType = 'Google_Service_Slides_CreateVideoRequest';
+ protected $createVideoDataType = '';
+ protected $deleteObjectType = 'Google_Service_Slides_DeleteObjectRequest';
+ protected $deleteObjectDataType = '';
+ protected $deleteParagraphBulletsType = 'Google_Service_Slides_DeleteParagraphBulletsRequest';
+ protected $deleteParagraphBulletsDataType = '';
+ protected $deleteTableColumnType = 'Google_Service_Slides_DeleteTableColumnRequest';
+ protected $deleteTableColumnDataType = '';
+ protected $deleteTableRowType = 'Google_Service_Slides_DeleteTableRowRequest';
+ protected $deleteTableRowDataType = '';
+ protected $deleteTextType = 'Google_Service_Slides_DeleteTextRequest';
+ protected $deleteTextDataType = '';
+ protected $duplicateObjectType = 'Google_Service_Slides_DuplicateObjectRequest';
+ protected $duplicateObjectDataType = '';
+ protected $insertTableColumnsType = 'Google_Service_Slides_InsertTableColumnsRequest';
+ protected $insertTableColumnsDataType = '';
+ protected $insertTableRowsType = 'Google_Service_Slides_InsertTableRowsRequest';
+ protected $insertTableRowsDataType = '';
+ protected $insertTextType = 'Google_Service_Slides_InsertTextRequest';
+ protected $insertTextDataType = '';
+ protected $refreshSheetsChartType = 'Google_Service_Slides_RefreshSheetsChartRequest';
+ protected $refreshSheetsChartDataType = '';
+ protected $replaceAllShapesWithImageType = 'Google_Service_Slides_ReplaceAllShapesWithImageRequest';
+ protected $replaceAllShapesWithImageDataType = '';
+ protected $replaceAllShapesWithSheetsChartType = 'Google_Service_Slides_ReplaceAllShapesWithSheetsChartRequest';
+ protected $replaceAllShapesWithSheetsChartDataType = '';
+ protected $replaceAllTextType = 'Google_Service_Slides_ReplaceAllTextRequest';
+ protected $replaceAllTextDataType = '';
+ protected $updateImagePropertiesType = 'Google_Service_Slides_UpdateImagePropertiesRequest';
+ protected $updateImagePropertiesDataType = '';
+ protected $updateLinePropertiesType = 'Google_Service_Slides_UpdateLinePropertiesRequest';
+ protected $updateLinePropertiesDataType = '';
+ protected $updatePageElementTransformType = 'Google_Service_Slides_UpdatePageElementTransformRequest';
+ protected $updatePageElementTransformDataType = '';
+ protected $updatePagePropertiesType = 'Google_Service_Slides_UpdatePagePropertiesRequest';
+ protected $updatePagePropertiesDataType = '';
+ protected $updateParagraphStyleType = 'Google_Service_Slides_UpdateParagraphStyleRequest';
+ protected $updateParagraphStyleDataType = '';
+ protected $updateShapePropertiesType = 'Google_Service_Slides_UpdateShapePropertiesRequest';
+ protected $updateShapePropertiesDataType = '';
+ protected $updateSlidesPositionType = 'Google_Service_Slides_UpdateSlidesPositionRequest';
+ protected $updateSlidesPositionDataType = '';
+ protected $updateTableCellPropertiesType = 'Google_Service_Slides_UpdateTableCellPropertiesRequest';
+ protected $updateTableCellPropertiesDataType = '';
+ protected $updateTextStyleType = 'Google_Service_Slides_UpdateTextStyleRequest';
+ protected $updateTextStyleDataType = '';
+ protected $updateVideoPropertiesType = 'Google_Service_Slides_UpdateVideoPropertiesRequest';
+ protected $updateVideoPropertiesDataType = '';
+
+ public function setCreateImage(Google_Service_Slides_CreateImageRequest $createImage)
+ {
+ $this->createImage = $createImage;
+ }
+ public function getCreateImage()
+ {
+ return $this->createImage;
+ }
+ public function setCreateLine(Google_Service_Slides_CreateLineRequest $createLine)
+ {
+ $this->createLine = $createLine;
+ }
+ public function getCreateLine()
+ {
+ return $this->createLine;
+ }
+ public function setCreateParagraphBullets(Google_Service_Slides_CreateParagraphBulletsRequest $createParagraphBullets)
+ {
+ $this->createParagraphBullets = $createParagraphBullets;
+ }
+ public function getCreateParagraphBullets()
+ {
+ return $this->createParagraphBullets;
+ }
+ public function setCreateShape(Google_Service_Slides_CreateShapeRequest $createShape)
+ {
+ $this->createShape = $createShape;
+ }
+ public function getCreateShape()
+ {
+ return $this->createShape;
+ }
+ public function setCreateSheetsChart(Google_Service_Slides_CreateSheetsChartRequest $createSheetsChart)
+ {
+ $this->createSheetsChart = $createSheetsChart;
+ }
+ public function getCreateSheetsChart()
+ {
+ return $this->createSheetsChart;
+ }
+ public function setCreateSlide(Google_Service_Slides_CreateSlideRequest $createSlide)
+ {
+ $this->createSlide = $createSlide;
+ }
+ public function getCreateSlide()
+ {
+ return $this->createSlide;
+ }
+ public function setCreateTable(Google_Service_Slides_CreateTableRequest $createTable)
+ {
+ $this->createTable = $createTable;
+ }
+ public function getCreateTable()
+ {
+ return $this->createTable;
+ }
+ public function setCreateVideo(Google_Service_Slides_CreateVideoRequest $createVideo)
+ {
+ $this->createVideo = $createVideo;
+ }
+ public function getCreateVideo()
+ {
+ return $this->createVideo;
+ }
+ public function setDeleteObject(Google_Service_Slides_DeleteObjectRequest $deleteObject)
+ {
+ $this->deleteObject = $deleteObject;
+ }
+ public function getDeleteObject()
+ {
+ return $this->deleteObject;
+ }
+ public function setDeleteParagraphBullets(Google_Service_Slides_DeleteParagraphBulletsRequest $deleteParagraphBullets)
+ {
+ $this->deleteParagraphBullets = $deleteParagraphBullets;
+ }
+ public function getDeleteParagraphBullets()
+ {
+ return $this->deleteParagraphBullets;
+ }
+ public function setDeleteTableColumn(Google_Service_Slides_DeleteTableColumnRequest $deleteTableColumn)
+ {
+ $this->deleteTableColumn = $deleteTableColumn;
+ }
+ public function getDeleteTableColumn()
+ {
+ return $this->deleteTableColumn;
+ }
+ public function setDeleteTableRow(Google_Service_Slides_DeleteTableRowRequest $deleteTableRow)
+ {
+ $this->deleteTableRow = $deleteTableRow;
+ }
+ public function getDeleteTableRow()
+ {
+ return $this->deleteTableRow;
+ }
+ public function setDeleteText(Google_Service_Slides_DeleteTextRequest $deleteText)
+ {
+ $this->deleteText = $deleteText;
+ }
+ public function getDeleteText()
+ {
+ return $this->deleteText;
+ }
+ public function setDuplicateObject(Google_Service_Slides_DuplicateObjectRequest $duplicateObject)
+ {
+ $this->duplicateObject = $duplicateObject;
+ }
+ public function getDuplicateObject()
+ {
+ return $this->duplicateObject;
+ }
+ public function setInsertTableColumns(Google_Service_Slides_InsertTableColumnsRequest $insertTableColumns)
+ {
+ $this->insertTableColumns = $insertTableColumns;
+ }
+ public function getInsertTableColumns()
+ {
+ return $this->insertTableColumns;
+ }
+ public function setInsertTableRows(Google_Service_Slides_InsertTableRowsRequest $insertTableRows)
+ {
+ $this->insertTableRows = $insertTableRows;
+ }
+ public function getInsertTableRows()
+ {
+ return $this->insertTableRows;
+ }
+ public function setInsertText(Google_Service_Slides_InsertTextRequest $insertText)
+ {
+ $this->insertText = $insertText;
+ }
+ public function getInsertText()
+ {
+ return $this->insertText;
+ }
+ public function setRefreshSheetsChart(Google_Service_Slides_RefreshSheetsChartRequest $refreshSheetsChart)
+ {
+ $this->refreshSheetsChart = $refreshSheetsChart;
+ }
+ public function getRefreshSheetsChart()
+ {
+ return $this->refreshSheetsChart;
+ }
+ public function setReplaceAllShapesWithImage(Google_Service_Slides_ReplaceAllShapesWithImageRequest $replaceAllShapesWithImage)
+ {
+ $this->replaceAllShapesWithImage = $replaceAllShapesWithImage;
+ }
+ public function getReplaceAllShapesWithImage()
+ {
+ return $this->replaceAllShapesWithImage;
+ }
+ public function setReplaceAllShapesWithSheetsChart(Google_Service_Slides_ReplaceAllShapesWithSheetsChartRequest $replaceAllShapesWithSheetsChart)
+ {
+ $this->replaceAllShapesWithSheetsChart = $replaceAllShapesWithSheetsChart;
+ }
+ public function getReplaceAllShapesWithSheetsChart()
+ {
+ return $this->replaceAllShapesWithSheetsChart;
+ }
+ public function setReplaceAllText(Google_Service_Slides_ReplaceAllTextRequest $replaceAllText)
+ {
+ $this->replaceAllText = $replaceAllText;
+ }
+ public function getReplaceAllText()
+ {
+ return $this->replaceAllText;
+ }
+ public function setUpdateImageProperties(Google_Service_Slides_UpdateImagePropertiesRequest $updateImageProperties)
+ {
+ $this->updateImageProperties = $updateImageProperties;
+ }
+ public function getUpdateImageProperties()
+ {
+ return $this->updateImageProperties;
+ }
+ public function setUpdateLineProperties(Google_Service_Slides_UpdateLinePropertiesRequest $updateLineProperties)
+ {
+ $this->updateLineProperties = $updateLineProperties;
+ }
+ public function getUpdateLineProperties()
+ {
+ return $this->updateLineProperties;
+ }
+ public function setUpdatePageElementTransform(Google_Service_Slides_UpdatePageElementTransformRequest $updatePageElementTransform)
+ {
+ $this->updatePageElementTransform = $updatePageElementTransform;
+ }
+ public function getUpdatePageElementTransform()
+ {
+ return $this->updatePageElementTransform;
+ }
+ public function setUpdatePageProperties(Google_Service_Slides_UpdatePagePropertiesRequest $updatePageProperties)
+ {
+ $this->updatePageProperties = $updatePageProperties;
+ }
+ public function getUpdatePageProperties()
+ {
+ return $this->updatePageProperties;
+ }
+ public function setUpdateParagraphStyle(Google_Service_Slides_UpdateParagraphStyleRequest $updateParagraphStyle)
+ {
+ $this->updateParagraphStyle = $updateParagraphStyle;
+ }
+ public function getUpdateParagraphStyle()
+ {
+ return $this->updateParagraphStyle;
+ }
+ public function setUpdateShapeProperties(Google_Service_Slides_UpdateShapePropertiesRequest $updateShapeProperties)
+ {
+ $this->updateShapeProperties = $updateShapeProperties;
+ }
+ public function getUpdateShapeProperties()
+ {
+ return $this->updateShapeProperties;
+ }
+ public function setUpdateSlidesPosition(Google_Service_Slides_UpdateSlidesPositionRequest $updateSlidesPosition)
+ {
+ $this->updateSlidesPosition = $updateSlidesPosition;
+ }
+ public function getUpdateSlidesPosition()
+ {
+ return $this->updateSlidesPosition;
+ }
+ public function setUpdateTableCellProperties(Google_Service_Slides_UpdateTableCellPropertiesRequest $updateTableCellProperties)
+ {
+ $this->updateTableCellProperties = $updateTableCellProperties;
+ }
+ public function getUpdateTableCellProperties()
+ {
+ return $this->updateTableCellProperties;
+ }
+ public function setUpdateTextStyle(Google_Service_Slides_UpdateTextStyleRequest $updateTextStyle)
+ {
+ $this->updateTextStyle = $updateTextStyle;
+ }
+ public function getUpdateTextStyle()
+ {
+ return $this->updateTextStyle;
+ }
+ public function setUpdateVideoProperties(Google_Service_Slides_UpdateVideoPropertiesRequest $updateVideoProperties)
+ {
+ $this->updateVideoProperties = $updateVideoProperties;
+ }
+ public function getUpdateVideoProperties()
+ {
+ return $this->updateVideoProperties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Resource/Presentations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Resource/Presentations.php
new file mode 100644
index 00000000..4aea9973
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Resource/Presentations.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "presentations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $slidesService = new Google_Service_Slides(...);
+ * $presentations = $slidesService->presentations;
+ * </code>
+ */
+class Google_Service_Slides_Resource_Presentations extends Google_Service_Resource
+{
+ /**
+ * Applies one or more updates to the presentation.
+ *
+ * Each request is validated before being applied. If any request is not valid,
+ * then the entire request will fail and nothing will be applied.
+ *
+ * Some requests have replies to give you some information about how they are
+ * applied. Other requests do not need to return information; these each return
+ * an empty reply. The order of replies matches that of the requests.
+ *
+ * For example, suppose you call batchUpdate with four updates, and only the
+ * third one returns information. The response would have two empty replies: the
+ * reply to the third request, and another empty reply, in that order.
+ *
+ * Because other users may be editing the presentation, the presentation might
+ * not exactly reflect your changes: your changes may be altered with respect to
+ * collaborator changes. If there are no collaborators, the presentation should
+ * reflect your changes. In any case, the updates in your request are guaranteed
+ * to be applied together atomically. (presentations.batchUpdate)
+ *
+ * @param string $presentationId The presentation to apply the updates to.
+ * @param Google_Service_Slides_BatchUpdatePresentationRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Slides_BatchUpdatePresentationResponse
+ */
+ public function batchUpdate($presentationId, Google_Service_Slides_BatchUpdatePresentationRequest $postBody, $optParams = array())
+ {
+ $params = array('presentationId' => $presentationId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchUpdate', array($params), "Google_Service_Slides_BatchUpdatePresentationResponse");
+ }
+ /**
+ * Creates a new presentation using the title given in the request. Other fields
+ * in the request are ignored. Returns the created presentation.
+ * (presentations.create)
+ *
+ * @param Google_Service_Slides_Presentation $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Slides_Presentation
+ */
+ public function create(Google_Service_Slides_Presentation $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Slides_Presentation");
+ }
+ /**
+ * Gets the latest version of the specified presentation. (presentations.get)
+ *
+ * @param string $presentationId The ID of the presentation to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Slides_Presentation
+ */
+ public function get($presentationId, $optParams = array())
+ {
+ $params = array('presentationId' => $presentationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Slides_Presentation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Resource/PresentationsPages.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Resource/PresentationsPages.php
new file mode 100644
index 00000000..8e54b516
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Resource/PresentationsPages.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "pages" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $slidesService = new Google_Service_Slides(...);
+ * $pages = $slidesService->pages;
+ * </code>
+ */
+class Google_Service_Slides_Resource_PresentationsPages extends Google_Service_Resource
+{
+ /**
+ * Gets the latest version of the specified page in the presentation.
+ * (pages.get)
+ *
+ * @param string $presentationId The ID of the presentation to retrieve.
+ * @param string $pageObjectId The object ID of the page to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Slides_Page
+ */
+ public function get($presentationId, $pageObjectId, $optParams = array())
+ {
+ $params = array('presentationId' => $presentationId, 'pageObjectId' => $pageObjectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Slides_Page");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Response.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Response.php
new file mode 100644
index 00000000..eea62550
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Response.php
@@ -0,0 +1,131 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Response extends Google_Model
+{
+ protected $createImageType = 'Google_Service_Slides_CreateImageResponse';
+ protected $createImageDataType = '';
+ protected $createLineType = 'Google_Service_Slides_CreateLineResponse';
+ protected $createLineDataType = '';
+ protected $createShapeType = 'Google_Service_Slides_CreateShapeResponse';
+ protected $createShapeDataType = '';
+ protected $createSheetsChartType = 'Google_Service_Slides_CreateSheetsChartResponse';
+ protected $createSheetsChartDataType = '';
+ protected $createSlideType = 'Google_Service_Slides_CreateSlideResponse';
+ protected $createSlideDataType = '';
+ protected $createTableType = 'Google_Service_Slides_CreateTableResponse';
+ protected $createTableDataType = '';
+ protected $createVideoType = 'Google_Service_Slides_CreateVideoResponse';
+ protected $createVideoDataType = '';
+ protected $duplicateObjectType = 'Google_Service_Slides_DuplicateObjectResponse';
+ protected $duplicateObjectDataType = '';
+ protected $replaceAllShapesWithImageType = 'Google_Service_Slides_ReplaceAllShapesWithImageResponse';
+ protected $replaceAllShapesWithImageDataType = '';
+ protected $replaceAllShapesWithSheetsChartType = 'Google_Service_Slides_ReplaceAllShapesWithSheetsChartResponse';
+ protected $replaceAllShapesWithSheetsChartDataType = '';
+ protected $replaceAllTextType = 'Google_Service_Slides_ReplaceAllTextResponse';
+ protected $replaceAllTextDataType = '';
+
+ public function setCreateImage(Google_Service_Slides_CreateImageResponse $createImage)
+ {
+ $this->createImage = $createImage;
+ }
+ public function getCreateImage()
+ {
+ return $this->createImage;
+ }
+ public function setCreateLine(Google_Service_Slides_CreateLineResponse $createLine)
+ {
+ $this->createLine = $createLine;
+ }
+ public function getCreateLine()
+ {
+ return $this->createLine;
+ }
+ public function setCreateShape(Google_Service_Slides_CreateShapeResponse $createShape)
+ {
+ $this->createShape = $createShape;
+ }
+ public function getCreateShape()
+ {
+ return $this->createShape;
+ }
+ public function setCreateSheetsChart(Google_Service_Slides_CreateSheetsChartResponse $createSheetsChart)
+ {
+ $this->createSheetsChart = $createSheetsChart;
+ }
+ public function getCreateSheetsChart()
+ {
+ return $this->createSheetsChart;
+ }
+ public function setCreateSlide(Google_Service_Slides_CreateSlideResponse $createSlide)
+ {
+ $this->createSlide = $createSlide;
+ }
+ public function getCreateSlide()
+ {
+ return $this->createSlide;
+ }
+ public function setCreateTable(Google_Service_Slides_CreateTableResponse $createTable)
+ {
+ $this->createTable = $createTable;
+ }
+ public function getCreateTable()
+ {
+ return $this->createTable;
+ }
+ public function setCreateVideo(Google_Service_Slides_CreateVideoResponse $createVideo)
+ {
+ $this->createVideo = $createVideo;
+ }
+ public function getCreateVideo()
+ {
+ return $this->createVideo;
+ }
+ public function setDuplicateObject(Google_Service_Slides_DuplicateObjectResponse $duplicateObject)
+ {
+ $this->duplicateObject = $duplicateObject;
+ }
+ public function getDuplicateObject()
+ {
+ return $this->duplicateObject;
+ }
+ public function setReplaceAllShapesWithImage(Google_Service_Slides_ReplaceAllShapesWithImageResponse $replaceAllShapesWithImage)
+ {
+ $this->replaceAllShapesWithImage = $replaceAllShapesWithImage;
+ }
+ public function getReplaceAllShapesWithImage()
+ {
+ return $this->replaceAllShapesWithImage;
+ }
+ public function setReplaceAllShapesWithSheetsChart(Google_Service_Slides_ReplaceAllShapesWithSheetsChartResponse $replaceAllShapesWithSheetsChart)
+ {
+ $this->replaceAllShapesWithSheetsChart = $replaceAllShapesWithSheetsChart;
+ }
+ public function getReplaceAllShapesWithSheetsChart()
+ {
+ return $this->replaceAllShapesWithSheetsChart;
+ }
+ public function setReplaceAllText(Google_Service_Slides_ReplaceAllTextResponse $replaceAllText)
+ {
+ $this->replaceAllText = $replaceAllText;
+ }
+ public function getReplaceAllText()
+ {
+ return $this->replaceAllText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/RgbColor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/RgbColor.php
new file mode 100644
index 00000000..80d7d24b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/RgbColor.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_RgbColor extends Google_Model
+{
+ public $blue;
+ public $green;
+ public $red;
+
+ public function setBlue($blue)
+ {
+ $this->blue = $blue;
+ }
+ public function getBlue()
+ {
+ return $this->blue;
+ }
+ public function setGreen($green)
+ {
+ $this->green = $green;
+ }
+ public function getGreen()
+ {
+ return $this->green;
+ }
+ public function setRed($red)
+ {
+ $this->red = $red;
+ }
+ public function getRed()
+ {
+ return $this->red;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Shadow.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Shadow.php
new file mode 100644
index 00000000..2d0aa486
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Shadow.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Shadow extends Google_Model
+{
+ public $alignment;
+ public $alpha;
+ protected $blurRadiusType = 'Google_Service_Slides_Dimension';
+ protected $blurRadiusDataType = '';
+ protected $colorType = 'Google_Service_Slides_OpaqueColor';
+ protected $colorDataType = '';
+ public $propertyState;
+ public $rotateWithShape;
+ protected $transformType = 'Google_Service_Slides_AffineTransform';
+ protected $transformDataType = '';
+ public $type;
+
+ public function setAlignment($alignment)
+ {
+ $this->alignment = $alignment;
+ }
+ public function getAlignment()
+ {
+ return $this->alignment;
+ }
+ public function setAlpha($alpha)
+ {
+ $this->alpha = $alpha;
+ }
+ public function getAlpha()
+ {
+ return $this->alpha;
+ }
+ public function setBlurRadius(Google_Service_Slides_Dimension $blurRadius)
+ {
+ $this->blurRadius = $blurRadius;
+ }
+ public function getBlurRadius()
+ {
+ return $this->blurRadius;
+ }
+ public function setColor(Google_Service_Slides_OpaqueColor $color)
+ {
+ $this->color = $color;
+ }
+ public function getColor()
+ {
+ return $this->color;
+ }
+ public function setPropertyState($propertyState)
+ {
+ $this->propertyState = $propertyState;
+ }
+ public function getPropertyState()
+ {
+ return $this->propertyState;
+ }
+ public function setRotateWithShape($rotateWithShape)
+ {
+ $this->rotateWithShape = $rotateWithShape;
+ }
+ public function getRotateWithShape()
+ {
+ return $this->rotateWithShape;
+ }
+ public function setTransform(Google_Service_Slides_AffineTransform $transform)
+ {
+ $this->transform = $transform;
+ }
+ public function getTransform()
+ {
+ return $this->transform;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Shape.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Shape.php
new file mode 100644
index 00000000..46ed9fa9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Shape.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Shape extends Google_Model
+{
+ protected $placeholderType = 'Google_Service_Slides_Placeholder';
+ protected $placeholderDataType = '';
+ protected $shapePropertiesType = 'Google_Service_Slides_ShapeProperties';
+ protected $shapePropertiesDataType = '';
+ public $shapeType;
+ protected $textType = 'Google_Service_Slides_TextContent';
+ protected $textDataType = '';
+
+ public function setPlaceholder(Google_Service_Slides_Placeholder $placeholder)
+ {
+ $this->placeholder = $placeholder;
+ }
+ public function getPlaceholder()
+ {
+ return $this->placeholder;
+ }
+ public function setShapeProperties(Google_Service_Slides_ShapeProperties $shapeProperties)
+ {
+ $this->shapeProperties = $shapeProperties;
+ }
+ public function getShapeProperties()
+ {
+ return $this->shapeProperties;
+ }
+ public function setShapeType($shapeType)
+ {
+ $this->shapeType = $shapeType;
+ }
+ public function getShapeType()
+ {
+ return $this->shapeType;
+ }
+ public function setText(Google_Service_Slides_TextContent $text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ShapeBackgroundFill.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ShapeBackgroundFill.php
new file mode 100644
index 00000000..a40878c4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ShapeBackgroundFill.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_ShapeBackgroundFill extends Google_Model
+{
+ public $propertyState;
+ protected $solidFillType = 'Google_Service_Slides_SolidFill';
+ protected $solidFillDataType = '';
+
+ public function setPropertyState($propertyState)
+ {
+ $this->propertyState = $propertyState;
+ }
+ public function getPropertyState()
+ {
+ return $this->propertyState;
+ }
+ public function setSolidFill(Google_Service_Slides_SolidFill $solidFill)
+ {
+ $this->solidFill = $solidFill;
+ }
+ public function getSolidFill()
+ {
+ return $this->solidFill;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ShapeProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ShapeProperties.php
new file mode 100644
index 00000000..6eeaf915
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ShapeProperties.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_ShapeProperties extends Google_Model
+{
+ protected $linkType = 'Google_Service_Slides_Link';
+ protected $linkDataType = '';
+ protected $outlineType = 'Google_Service_Slides_Outline';
+ protected $outlineDataType = '';
+ protected $shadowType = 'Google_Service_Slides_Shadow';
+ protected $shadowDataType = '';
+ protected $shapeBackgroundFillType = 'Google_Service_Slides_ShapeBackgroundFill';
+ protected $shapeBackgroundFillDataType = '';
+
+ public function setLink(Google_Service_Slides_Link $link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setOutline(Google_Service_Slides_Outline $outline)
+ {
+ $this->outline = $outline;
+ }
+ public function getOutline()
+ {
+ return $this->outline;
+ }
+ public function setShadow(Google_Service_Slides_Shadow $shadow)
+ {
+ $this->shadow = $shadow;
+ }
+ public function getShadow()
+ {
+ return $this->shadow;
+ }
+ public function setShapeBackgroundFill(Google_Service_Slides_ShapeBackgroundFill $shapeBackgroundFill)
+ {
+ $this->shapeBackgroundFill = $shapeBackgroundFill;
+ }
+ public function getShapeBackgroundFill()
+ {
+ return $this->shapeBackgroundFill;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SheetsChart.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SheetsChart.php
new file mode 100644
index 00000000..9117844e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SheetsChart.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_SheetsChart extends Google_Model
+{
+ public $chartId;
+ public $contentUrl;
+ protected $sheetsChartPropertiesType = 'Google_Service_Slides_SheetsChartProperties';
+ protected $sheetsChartPropertiesDataType = '';
+ public $spreadsheetId;
+
+ public function setChartId($chartId)
+ {
+ $this->chartId = $chartId;
+ }
+ public function getChartId()
+ {
+ return $this->chartId;
+ }
+ public function setContentUrl($contentUrl)
+ {
+ $this->contentUrl = $contentUrl;
+ }
+ public function getContentUrl()
+ {
+ return $this->contentUrl;
+ }
+ public function setSheetsChartProperties(Google_Service_Slides_SheetsChartProperties $sheetsChartProperties)
+ {
+ $this->sheetsChartProperties = $sheetsChartProperties;
+ }
+ public function getSheetsChartProperties()
+ {
+ return $this->sheetsChartProperties;
+ }
+ public function setSpreadsheetId($spreadsheetId)
+ {
+ $this->spreadsheetId = $spreadsheetId;
+ }
+ public function getSpreadsheetId()
+ {
+ return $this->spreadsheetId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SheetsChartProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SheetsChartProperties.php
new file mode 100644
index 00000000..3953ab5e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SheetsChartProperties.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_SheetsChartProperties extends Google_Model
+{
+ protected $chartImagePropertiesType = 'Google_Service_Slides_ImageProperties';
+ protected $chartImagePropertiesDataType = '';
+
+ public function setChartImageProperties(Google_Service_Slides_ImageProperties $chartImageProperties)
+ {
+ $this->chartImageProperties = $chartImageProperties;
+ }
+ public function getChartImageProperties()
+ {
+ return $this->chartImageProperties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Size.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Size.php
new file mode 100644
index 00000000..baba3854
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Size.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Size extends Google_Model
+{
+ protected $heightType = 'Google_Service_Slides_Dimension';
+ protected $heightDataType = '';
+ protected $widthType = 'Google_Service_Slides_Dimension';
+ protected $widthDataType = '';
+
+ public function setHeight(Google_Service_Slides_Dimension $height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setWidth(Google_Service_Slides_Dimension $width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SlideProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SlideProperties.php
new file mode 100644
index 00000000..dc9b5986
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SlideProperties.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_SlideProperties extends Google_Model
+{
+ public $layoutObjectId;
+ public $masterObjectId;
+ protected $notesPageType = 'Google_Service_Slides_Page';
+ protected $notesPageDataType = '';
+
+ public function setLayoutObjectId($layoutObjectId)
+ {
+ $this->layoutObjectId = $layoutObjectId;
+ }
+ public function getLayoutObjectId()
+ {
+ return $this->layoutObjectId;
+ }
+ public function setMasterObjectId($masterObjectId)
+ {
+ $this->masterObjectId = $masterObjectId;
+ }
+ public function getMasterObjectId()
+ {
+ return $this->masterObjectId;
+ }
+ public function setNotesPage(Google_Service_Slides_Page $notesPage)
+ {
+ $this->notesPage = $notesPage;
+ }
+ public function getNotesPage()
+ {
+ return $this->notesPage;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SlidesList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SlidesList.php
new file mode 100644
index 00000000..cf360406
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SlidesList.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_SlidesList extends Google_Model
+{
+ public $listId;
+ protected $nestingLevelType = 'Google_Service_Slides_NestingLevel';
+ protected $nestingLevelDataType = 'map';
+
+ public function setListId($listId)
+ {
+ $this->listId = $listId;
+ }
+ public function getListId()
+ {
+ return $this->listId;
+ }
+ public function setNestingLevel($nestingLevel)
+ {
+ $this->nestingLevel = $nestingLevel;
+ }
+ public function getNestingLevel()
+ {
+ return $this->nestingLevel;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SolidFill.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SolidFill.php
new file mode 100644
index 00000000..beaff228
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SolidFill.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_SolidFill extends Google_Model
+{
+ public $alpha;
+ protected $colorType = 'Google_Service_Slides_OpaqueColor';
+ protected $colorDataType = '';
+
+ public function setAlpha($alpha)
+ {
+ $this->alpha = $alpha;
+ }
+ public function getAlpha()
+ {
+ return $this->alpha;
+ }
+ public function setColor(Google_Service_Slides_OpaqueColor $color)
+ {
+ $this->color = $color;
+ }
+ public function getColor()
+ {
+ return $this->color;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/StretchedPictureFill.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/StretchedPictureFill.php
new file mode 100644
index 00000000..a85cda4d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/StretchedPictureFill.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_StretchedPictureFill extends Google_Model
+{
+ public $contentUrl;
+ protected $sizeType = 'Google_Service_Slides_Size';
+ protected $sizeDataType = '';
+
+ public function setContentUrl($contentUrl)
+ {
+ $this->contentUrl = $contentUrl;
+ }
+ public function getContentUrl()
+ {
+ return $this->contentUrl;
+ }
+ public function setSize(Google_Service_Slides_Size $size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SubstringMatchCriteria.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SubstringMatchCriteria.php
new file mode 100644
index 00000000..7afce04f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SubstringMatchCriteria.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_SubstringMatchCriteria extends Google_Model
+{
+ public $matchCase;
+ public $text;
+
+ public function setMatchCase($matchCase)
+ {
+ $this->matchCase = $matchCase;
+ }
+ public function getMatchCase()
+ {
+ return $this->matchCase;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Table.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Table.php
new file mode 100644
index 00000000..fd3d7cd4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Table.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Table extends Google_Collection
+{
+ protected $collection_key = 'tableRows';
+ public $columns;
+ public $rows;
+ protected $tableColumnsType = 'Google_Service_Slides_TableColumnProperties';
+ protected $tableColumnsDataType = 'array';
+ protected $tableRowsType = 'Google_Service_Slides_TableRow';
+ protected $tableRowsDataType = 'array';
+
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+ public function setTableColumns($tableColumns)
+ {
+ $this->tableColumns = $tableColumns;
+ }
+ public function getTableColumns()
+ {
+ return $this->tableColumns;
+ }
+ public function setTableRows($tableRows)
+ {
+ $this->tableRows = $tableRows;
+ }
+ public function getTableRows()
+ {
+ return $this->tableRows;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCell.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCell.php
new file mode 100644
index 00000000..69a431c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCell.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_TableCell extends Google_Model
+{
+ public $columnSpan;
+ protected $locationType = 'Google_Service_Slides_TableCellLocation';
+ protected $locationDataType = '';
+ public $rowSpan;
+ protected $tableCellPropertiesType = 'Google_Service_Slides_TableCellProperties';
+ protected $tableCellPropertiesDataType = '';
+ protected $textType = 'Google_Service_Slides_TextContent';
+ protected $textDataType = '';
+
+ public function setColumnSpan($columnSpan)
+ {
+ $this->columnSpan = $columnSpan;
+ }
+ public function getColumnSpan()
+ {
+ return $this->columnSpan;
+ }
+ public function setLocation(Google_Service_Slides_TableCellLocation $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setRowSpan($rowSpan)
+ {
+ $this->rowSpan = $rowSpan;
+ }
+ public function getRowSpan()
+ {
+ return $this->rowSpan;
+ }
+ public function setTableCellProperties(Google_Service_Slides_TableCellProperties $tableCellProperties)
+ {
+ $this->tableCellProperties = $tableCellProperties;
+ }
+ public function getTableCellProperties()
+ {
+ return $this->tableCellProperties;
+ }
+ public function setText(Google_Service_Slides_TextContent $text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellBackgroundFill.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellBackgroundFill.php
new file mode 100644
index 00000000..38ec818b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellBackgroundFill.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_TableCellBackgroundFill extends Google_Model
+{
+ public $propertyState;
+ protected $solidFillType = 'Google_Service_Slides_SolidFill';
+ protected $solidFillDataType = '';
+
+ public function setPropertyState($propertyState)
+ {
+ $this->propertyState = $propertyState;
+ }
+ public function getPropertyState()
+ {
+ return $this->propertyState;
+ }
+ public function setSolidFill(Google_Service_Slides_SolidFill $solidFill)
+ {
+ $this->solidFill = $solidFill;
+ }
+ public function getSolidFill()
+ {
+ return $this->solidFill;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellLocation.php
new file mode 100644
index 00000000..fd111081
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellLocation.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_TableCellLocation extends Google_Model
+{
+ public $columnIndex;
+ public $rowIndex;
+
+ public function setColumnIndex($columnIndex)
+ {
+ $this->columnIndex = $columnIndex;
+ }
+ public function getColumnIndex()
+ {
+ return $this->columnIndex;
+ }
+ public function setRowIndex($rowIndex)
+ {
+ $this->rowIndex = $rowIndex;
+ }
+ public function getRowIndex()
+ {
+ return $this->rowIndex;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellProperties.php
new file mode 100644
index 00000000..59e6e639
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellProperties.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_TableCellProperties extends Google_Model
+{
+ protected $tableCellBackgroundFillType = 'Google_Service_Slides_TableCellBackgroundFill';
+ protected $tableCellBackgroundFillDataType = '';
+
+ public function setTableCellBackgroundFill(Google_Service_Slides_TableCellBackgroundFill $tableCellBackgroundFill)
+ {
+ $this->tableCellBackgroundFill = $tableCellBackgroundFill;
+ }
+ public function getTableCellBackgroundFill()
+ {
+ return $this->tableCellBackgroundFill;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableColumnProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableColumnProperties.php
new file mode 100644
index 00000000..99d2f10c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableColumnProperties.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_TableColumnProperties extends Google_Model
+{
+ protected $columnWidthType = 'Google_Service_Slides_Dimension';
+ protected $columnWidthDataType = '';
+
+ public function setColumnWidth(Google_Service_Slides_Dimension $columnWidth)
+ {
+ $this->columnWidth = $columnWidth;
+ }
+ public function getColumnWidth()
+ {
+ return $this->columnWidth;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableRange.php
new file mode 100644
index 00000000..bc451847
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableRange.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_TableRange extends Google_Model
+{
+ public $columnSpan;
+ protected $locationType = 'Google_Service_Slides_TableCellLocation';
+ protected $locationDataType = '';
+ public $rowSpan;
+
+ public function setColumnSpan($columnSpan)
+ {
+ $this->columnSpan = $columnSpan;
+ }
+ public function getColumnSpan()
+ {
+ return $this->columnSpan;
+ }
+ public function setLocation(Google_Service_Slides_TableCellLocation $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setRowSpan($rowSpan)
+ {
+ $this->rowSpan = $rowSpan;
+ }
+ public function getRowSpan()
+ {
+ return $this->rowSpan;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableRow.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableRow.php
new file mode 100644
index 00000000..41bce0f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableRow.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_TableRow extends Google_Collection
+{
+ protected $collection_key = 'tableCells';
+ protected $rowHeightType = 'Google_Service_Slides_Dimension';
+ protected $rowHeightDataType = '';
+ protected $tableCellsType = 'Google_Service_Slides_TableCell';
+ protected $tableCellsDataType = 'array';
+
+ public function setRowHeight(Google_Service_Slides_Dimension $rowHeight)
+ {
+ $this->rowHeight = $rowHeight;
+ }
+ public function getRowHeight()
+ {
+ return $this->rowHeight;
+ }
+ public function setTableCells($tableCells)
+ {
+ $this->tableCells = $tableCells;
+ }
+ public function getTableCells()
+ {
+ return $this->tableCells;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextContent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextContent.php
new file mode 100644
index 00000000..e4ec285d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextContent.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_TextContent extends Google_Collection
+{
+ protected $collection_key = 'textElements';
+ protected $listsType = 'Google_Service_Slides_SlidesList';
+ protected $listsDataType = 'map';
+ protected $textElementsType = 'Google_Service_Slides_TextElement';
+ protected $textElementsDataType = 'array';
+
+ public function setLists($lists)
+ {
+ $this->lists = $lists;
+ }
+ public function getLists()
+ {
+ return $this->lists;
+ }
+ public function setTextElements($textElements)
+ {
+ $this->textElements = $textElements;
+ }
+ public function getTextElements()
+ {
+ return $this->textElements;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextElement.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextElement.php
new file mode 100644
index 00000000..30b5c9bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextElement.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_TextElement extends Google_Model
+{
+ protected $autoTextType = 'Google_Service_Slides_AutoText';
+ protected $autoTextDataType = '';
+ public $endIndex;
+ protected $paragraphMarkerType = 'Google_Service_Slides_ParagraphMarker';
+ protected $paragraphMarkerDataType = '';
+ public $startIndex;
+ protected $textRunType = 'Google_Service_Slides_TextRun';
+ protected $textRunDataType = '';
+
+ public function setAutoText(Google_Service_Slides_AutoText $autoText)
+ {
+ $this->autoText = $autoText;
+ }
+ public function getAutoText()
+ {
+ return $this->autoText;
+ }
+ public function setEndIndex($endIndex)
+ {
+ $this->endIndex = $endIndex;
+ }
+ public function getEndIndex()
+ {
+ return $this->endIndex;
+ }
+ public function setParagraphMarker(Google_Service_Slides_ParagraphMarker $paragraphMarker)
+ {
+ $this->paragraphMarker = $paragraphMarker;
+ }
+ public function getParagraphMarker()
+ {
+ return $this->paragraphMarker;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTextRun(Google_Service_Slides_TextRun $textRun)
+ {
+ $this->textRun = $textRun;
+ }
+ public function getTextRun()
+ {
+ return $this->textRun;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextRun.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextRun.php
new file mode 100644
index 00000000..979318fe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextRun.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_TextRun extends Google_Model
+{
+ public $content;
+ protected $styleType = 'Google_Service_Slides_TextStyle';
+ protected $styleDataType = '';
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setStyle(Google_Service_Slides_TextStyle $style)
+ {
+ $this->style = $style;
+ }
+ public function getStyle()
+ {
+ return $this->style;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextStyle.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextStyle.php
new file mode 100644
index 00000000..407fe489
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextStyle.php
@@ -0,0 +1,134 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_TextStyle extends Google_Model
+{
+ protected $backgroundColorType = 'Google_Service_Slides_OptionalColor';
+ protected $backgroundColorDataType = '';
+ public $baselineOffset;
+ public $bold;
+ public $fontFamily;
+ protected $fontSizeType = 'Google_Service_Slides_Dimension';
+ protected $fontSizeDataType = '';
+ protected $foregroundColorType = 'Google_Service_Slides_OptionalColor';
+ protected $foregroundColorDataType = '';
+ public $italic;
+ protected $linkType = 'Google_Service_Slides_Link';
+ protected $linkDataType = '';
+ public $smallCaps;
+ public $strikethrough;
+ public $underline;
+ protected $weightedFontFamilyType = 'Google_Service_Slides_WeightedFontFamily';
+ protected $weightedFontFamilyDataType = '';
+
+ public function setBackgroundColor(Google_Service_Slides_OptionalColor $backgroundColor)
+ {
+ $this->backgroundColor = $backgroundColor;
+ }
+ public function getBackgroundColor()
+ {
+ return $this->backgroundColor;
+ }
+ public function setBaselineOffset($baselineOffset)
+ {
+ $this->baselineOffset = $baselineOffset;
+ }
+ public function getBaselineOffset()
+ {
+ return $this->baselineOffset;
+ }
+ public function setBold($bold)
+ {
+ $this->bold = $bold;
+ }
+ public function getBold()
+ {
+ return $this->bold;
+ }
+ public function setFontFamily($fontFamily)
+ {
+ $this->fontFamily = $fontFamily;
+ }
+ public function getFontFamily()
+ {
+ return $this->fontFamily;
+ }
+ public function setFontSize(Google_Service_Slides_Dimension $fontSize)
+ {
+ $this->fontSize = $fontSize;
+ }
+ public function getFontSize()
+ {
+ return $this->fontSize;
+ }
+ public function setForegroundColor(Google_Service_Slides_OptionalColor $foregroundColor)
+ {
+ $this->foregroundColor = $foregroundColor;
+ }
+ public function getForegroundColor()
+ {
+ return $this->foregroundColor;
+ }
+ public function setItalic($italic)
+ {
+ $this->italic = $italic;
+ }
+ public function getItalic()
+ {
+ return $this->italic;
+ }
+ public function setLink(Google_Service_Slides_Link $link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setSmallCaps($smallCaps)
+ {
+ $this->smallCaps = $smallCaps;
+ }
+ public function getSmallCaps()
+ {
+ return $this->smallCaps;
+ }
+ public function setStrikethrough($strikethrough)
+ {
+ $this->strikethrough = $strikethrough;
+ }
+ public function getStrikethrough()
+ {
+ return $this->strikethrough;
+ }
+ public function setUnderline($underline)
+ {
+ $this->underline = $underline;
+ }
+ public function getUnderline()
+ {
+ return $this->underline;
+ }
+ public function setWeightedFontFamily(Google_Service_Slides_WeightedFontFamily $weightedFontFamily)
+ {
+ $this->weightedFontFamily = $weightedFontFamily;
+ }
+ public function getWeightedFontFamily()
+ {
+ return $this->weightedFontFamily;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ThemeColorPair.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ThemeColorPair.php
new file mode 100644
index 00000000..8424997a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ThemeColorPair.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_ThemeColorPair extends Google_Model
+{
+ protected $colorType = 'Google_Service_Slides_RgbColor';
+ protected $colorDataType = '';
+ public $type;
+
+ public function setColor(Google_Service_Slides_RgbColor $color)
+ {
+ $this->color = $color;
+ }
+ public function getColor()
+ {
+ return $this->color;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateImagePropertiesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateImagePropertiesRequest.php
new file mode 100644
index 00000000..d4fc99d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateImagePropertiesRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_UpdateImagePropertiesRequest extends Google_Model
+{
+ public $fields;
+ protected $imagePropertiesType = 'Google_Service_Slides_ImageProperties';
+ protected $imagePropertiesDataType = '';
+ public $objectId;
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setImageProperties(Google_Service_Slides_ImageProperties $imageProperties)
+ {
+ $this->imageProperties = $imageProperties;
+ }
+ public function getImageProperties()
+ {
+ return $this->imageProperties;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateLinePropertiesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateLinePropertiesRequest.php
new file mode 100644
index 00000000..92c56e2c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateLinePropertiesRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_UpdateLinePropertiesRequest extends Google_Model
+{
+ public $fields;
+ protected $linePropertiesType = 'Google_Service_Slides_LineProperties';
+ protected $linePropertiesDataType = '';
+ public $objectId;
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setLineProperties(Google_Service_Slides_LineProperties $lineProperties)
+ {
+ $this->lineProperties = $lineProperties;
+ }
+ public function getLineProperties()
+ {
+ return $this->lineProperties;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdatePageElementTransformRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdatePageElementTransformRequest.php
new file mode 100644
index 00000000..b4ec320e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdatePageElementTransformRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_UpdatePageElementTransformRequest extends Google_Model
+{
+ public $applyMode;
+ public $objectId;
+ protected $transformType = 'Google_Service_Slides_AffineTransform';
+ protected $transformDataType = '';
+
+ public function setApplyMode($applyMode)
+ {
+ $this->applyMode = $applyMode;
+ }
+ public function getApplyMode()
+ {
+ return $this->applyMode;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setTransform(Google_Service_Slides_AffineTransform $transform)
+ {
+ $this->transform = $transform;
+ }
+ public function getTransform()
+ {
+ return $this->transform;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdatePagePropertiesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdatePagePropertiesRequest.php
new file mode 100644
index 00000000..a4c33639
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdatePagePropertiesRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_UpdatePagePropertiesRequest extends Google_Model
+{
+ public $fields;
+ public $objectId;
+ protected $pagePropertiesType = 'Google_Service_Slides_PageProperties';
+ protected $pagePropertiesDataType = '';
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setPageProperties(Google_Service_Slides_PageProperties $pageProperties)
+ {
+ $this->pageProperties = $pageProperties;
+ }
+ public function getPageProperties()
+ {
+ return $this->pageProperties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateParagraphStyleRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateParagraphStyleRequest.php
new file mode 100644
index 00000000..b0720d00
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateParagraphStyleRequest.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_UpdateParagraphStyleRequest extends Google_Model
+{
+ protected $cellLocationType = 'Google_Service_Slides_TableCellLocation';
+ protected $cellLocationDataType = '';
+ public $fields;
+ public $objectId;
+ protected $styleType = 'Google_Service_Slides_ParagraphStyle';
+ protected $styleDataType = '';
+ protected $textRangeType = 'Google_Service_Slides_Range';
+ protected $textRangeDataType = '';
+
+ public function setCellLocation(Google_Service_Slides_TableCellLocation $cellLocation)
+ {
+ $this->cellLocation = $cellLocation;
+ }
+ public function getCellLocation()
+ {
+ return $this->cellLocation;
+ }
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setStyle(Google_Service_Slides_ParagraphStyle $style)
+ {
+ $this->style = $style;
+ }
+ public function getStyle()
+ {
+ return $this->style;
+ }
+ public function setTextRange(Google_Service_Slides_Range $textRange)
+ {
+ $this->textRange = $textRange;
+ }
+ public function getTextRange()
+ {
+ return $this->textRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateShapePropertiesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateShapePropertiesRequest.php
new file mode 100644
index 00000000..bb3a3af5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateShapePropertiesRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_UpdateShapePropertiesRequest extends Google_Model
+{
+ public $fields;
+ public $objectId;
+ protected $shapePropertiesType = 'Google_Service_Slides_ShapeProperties';
+ protected $shapePropertiesDataType = '';
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setShapeProperties(Google_Service_Slides_ShapeProperties $shapeProperties)
+ {
+ $this->shapeProperties = $shapeProperties;
+ }
+ public function getShapeProperties()
+ {
+ return $this->shapeProperties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateSlidesPositionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateSlidesPositionRequest.php
new file mode 100644
index 00000000..b0f278d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateSlidesPositionRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_UpdateSlidesPositionRequest extends Google_Collection
+{
+ protected $collection_key = 'slideObjectIds';
+ public $insertionIndex;
+ public $slideObjectIds;
+
+ public function setInsertionIndex($insertionIndex)
+ {
+ $this->insertionIndex = $insertionIndex;
+ }
+ public function getInsertionIndex()
+ {
+ return $this->insertionIndex;
+ }
+ public function setSlideObjectIds($slideObjectIds)
+ {
+ $this->slideObjectIds = $slideObjectIds;
+ }
+ public function getSlideObjectIds()
+ {
+ return $this->slideObjectIds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateTableCellPropertiesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateTableCellPropertiesRequest.php
new file mode 100644
index 00000000..bf5d71fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateTableCellPropertiesRequest.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_UpdateTableCellPropertiesRequest extends Google_Model
+{
+ public $fields;
+ public $objectId;
+ protected $tableCellPropertiesType = 'Google_Service_Slides_TableCellProperties';
+ protected $tableCellPropertiesDataType = '';
+ protected $tableRangeType = 'Google_Service_Slides_TableRange';
+ protected $tableRangeDataType = '';
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setTableCellProperties(Google_Service_Slides_TableCellProperties $tableCellProperties)
+ {
+ $this->tableCellProperties = $tableCellProperties;
+ }
+ public function getTableCellProperties()
+ {
+ return $this->tableCellProperties;
+ }
+ public function setTableRange(Google_Service_Slides_TableRange $tableRange)
+ {
+ $this->tableRange = $tableRange;
+ }
+ public function getTableRange()
+ {
+ return $this->tableRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateTextStyleRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateTextStyleRequest.php
new file mode 100644
index 00000000..fb1995d3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateTextStyleRequest.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_UpdateTextStyleRequest extends Google_Model
+{
+ protected $cellLocationType = 'Google_Service_Slides_TableCellLocation';
+ protected $cellLocationDataType = '';
+ public $fields;
+ public $objectId;
+ protected $styleType = 'Google_Service_Slides_TextStyle';
+ protected $styleDataType = '';
+ protected $textRangeType = 'Google_Service_Slides_Range';
+ protected $textRangeDataType = '';
+
+ public function setCellLocation(Google_Service_Slides_TableCellLocation $cellLocation)
+ {
+ $this->cellLocation = $cellLocation;
+ }
+ public function getCellLocation()
+ {
+ return $this->cellLocation;
+ }
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setStyle(Google_Service_Slides_TextStyle $style)
+ {
+ $this->style = $style;
+ }
+ public function getStyle()
+ {
+ return $this->style;
+ }
+ public function setTextRange(Google_Service_Slides_Range $textRange)
+ {
+ $this->textRange = $textRange;
+ }
+ public function getTextRange()
+ {
+ return $this->textRange;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateVideoPropertiesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateVideoPropertiesRequest.php
new file mode 100644
index 00000000..3a0199b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateVideoPropertiesRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_UpdateVideoPropertiesRequest extends Google_Model
+{
+ public $fields;
+ public $objectId;
+ protected $videoPropertiesType = 'Google_Service_Slides_VideoProperties';
+ protected $videoPropertiesDataType = '';
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setVideoProperties(Google_Service_Slides_VideoProperties $videoProperties)
+ {
+ $this->videoProperties = $videoProperties;
+ }
+ public function getVideoProperties()
+ {
+ return $this->videoProperties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Video.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Video.php
new file mode 100644
index 00000000..66d976c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Video.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_Video extends Google_Model
+{
+ public $id;
+ public $source;
+ public $url;
+ protected $videoPropertiesType = 'Google_Service_Slides_VideoProperties';
+ protected $videoPropertiesDataType = '';
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setVideoProperties(Google_Service_Slides_VideoProperties $videoProperties)
+ {
+ $this->videoProperties = $videoProperties;
+ }
+ public function getVideoProperties()
+ {
+ return $this->videoProperties;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/VideoProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/VideoProperties.php
new file mode 100644
index 00000000..9f75bcba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/VideoProperties.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_VideoProperties extends Google_Model
+{
+ protected $outlineType = 'Google_Service_Slides_Outline';
+ protected $outlineDataType = '';
+
+ public function setOutline(Google_Service_Slides_Outline $outline)
+ {
+ $this->outline = $outline;
+ }
+ public function getOutline()
+ {
+ return $this->outline;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WeightedFontFamily.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WeightedFontFamily.php
new file mode 100644
index 00000000..324142ed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WeightedFontFamily.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_WeightedFontFamily extends Google_Model
+{
+ public $fontFamily;
+ public $weight;
+
+ public function setFontFamily($fontFamily)
+ {
+ $this->fontFamily = $fontFamily;
+ }
+ public function getFontFamily()
+ {
+ return $this->fontFamily;
+ }
+ public function setWeight($weight)
+ {
+ $this->weight = $weight;
+ }
+ public function getWeight()
+ {
+ return $this->weight;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WordArt.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WordArt.php
new file mode 100644
index 00000000..52f84ddb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WordArt.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_WordArt extends Google_Model
+{
+ public $renderedText;
+
+ public function setRenderedText($renderedText)
+ {
+ $this->renderedText = $renderedText;
+ }
+ public function getRenderedText()
+ {
+ return $this->renderedText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WriteControl.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WriteControl.php
new file mode 100644
index 00000000..f3d55588
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WriteControl.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Slides_WriteControl extends Google_Model
+{
+ public $requiredRevisionId;
+
+ public function setRequiredRevisionId($requiredRevisionId)
+ {
+ $this->requiredRevisionId = $requiredRevisionId;
+ }
+ public function getRequiredRevisionId()
+ {
+ return $this->requiredRevisionId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner.php
new file mode 100644
index 00000000..66750806
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner.php
@@ -0,0 +1,541 @@
+<?php
+/*
+ * Copyright 2016 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 Spanner (v1).
+ *
+ * <p>
+ * Cloud Spanner is a managed, mission-critical, globally consistent and
+ * scalable relational database service.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/spanner/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Spanner extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $projects_instanceConfigs;
+ public $projects_instances;
+ public $projects_instances_databases;
+ public $projects_instances_databases_operations;
+ public $projects_instances_databases_sessions;
+ public $projects_instances_operations;
+
+ /**
+ * Constructs the internal representation of the Spanner service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://spanner.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'spanner';
+
+ $this->projects_instanceConfigs = new Google_Service_Spanner_Resource_ProjectsInstanceConfigs(
+ $this,
+ $this->serviceName,
+ 'instanceConfigs',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+parent}/instanceConfigs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_instances = new Google_Service_Spanner_Resource_ProjectsInstances(
+ $this,
+ $this->serviceName,
+ 'instances',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/{+parent}/instances',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => 'v1/{+resource}:getIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+parent}/instances',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => 'v1/{+resource}:setIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => 'v1/{+resource}:testIamPermissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_instances_databases = new Google_Service_Spanner_Resource_ProjectsInstancesDatabases(
+ $this,
+ $this->serviceName,
+ 'databases',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/{+parent}/databases',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'dropDatabase' => array(
+ 'path' => 'v1/{+database}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'database' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getDdl' => array(
+ 'path' => 'v1/{+database}/ddl',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'database' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => 'v1/{+resource}:getIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+parent}/databases',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => 'v1/{+resource}:setIamPolicy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => 'v1/{+resource}:testIamPermissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resource' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'updateDdl' => array(
+ 'path' => 'v1/{+database}/ddl',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'database' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_instances_databases_operations = new Google_Service_Spanner_Resource_ProjectsInstancesDatabasesOperations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'v1/{+name}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_instances_databases_sessions = new Google_Service_Spanner_Resource_ProjectsInstancesDatabasesSessions(
+ $this,
+ $this->serviceName,
+ 'sessions',
+ array(
+ 'methods' => array(
+ 'beginTransaction' => array(
+ 'path' => 'v1/{+session}:beginTransaction',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'session' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'commit' => array(
+ 'path' => 'v1/{+session}:commit',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'session' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'v1/{+database}/sessions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'database' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'executeSql' => array(
+ 'path' => 'v1/{+session}:executeSql',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'session' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'executeStreamingSql' => array(
+ 'path' => 'v1/{+session}:executeStreamingSql',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'session' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'read' => array(
+ 'path' => 'v1/{+session}:read',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'session' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'rollback' => array(
+ 'path' => 'v1/{+session}:rollback',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'session' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'streamingRead' => array(
+ 'path' => 'v1/{+session}:streamingRead',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'session' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_instances_operations = new Google_Service_Spanner_Resource_ProjectsInstancesOperations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'v1/{+name}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/AuditConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/AuditConfig.php
new file mode 100644
index 00000000..ce1f192d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/AuditConfig.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_AuditConfig extends Google_Collection
+{
+ protected $collection_key = 'exemptedMembers';
+ protected $auditLogConfigsType = 'Google_Service_Spanner_AuditLogConfig';
+ protected $auditLogConfigsDataType = 'array';
+ public $exemptedMembers;
+ public $service;
+
+ public function setAuditLogConfigs($auditLogConfigs)
+ {
+ $this->auditLogConfigs = $auditLogConfigs;
+ }
+ public function getAuditLogConfigs()
+ {
+ return $this->auditLogConfigs;
+ }
+ public function setExemptedMembers($exemptedMembers)
+ {
+ $this->exemptedMembers = $exemptedMembers;
+ }
+ public function getExemptedMembers()
+ {
+ return $this->exemptedMembers;
+ }
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+ public function getService()
+ {
+ return $this->service;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/AuditLogConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/AuditLogConfig.php
new file mode 100644
index 00000000..78d7a059
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/AuditLogConfig.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_AuditLogConfig extends Google_Collection
+{
+ protected $collection_key = 'exemptedMembers';
+ public $exemptedMembers;
+ public $logType;
+
+ public function setExemptedMembers($exemptedMembers)
+ {
+ $this->exemptedMembers = $exemptedMembers;
+ }
+ public function getExemptedMembers()
+ {
+ return $this->exemptedMembers;
+ }
+ public function setLogType($logType)
+ {
+ $this->logType = $logType;
+ }
+ public function getLogType()
+ {
+ return $this->logType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/BeginTransactionRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/BeginTransactionRequest.php
new file mode 100644
index 00000000..ceb465a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/BeginTransactionRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_BeginTransactionRequest extends Google_Model
+{
+ protected $optionsType = 'Google_Service_Spanner_TransactionOptions';
+ protected $optionsDataType = '';
+
+ public function setOptions(Google_Service_Spanner_TransactionOptions $options)
+ {
+ $this->options = $options;
+ }
+ public function getOptions()
+ {
+ return $this->options;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Binding.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Binding.php
new file mode 100644
index 00000000..ad108a2b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Binding.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_Binding extends Google_Collection
+{
+ protected $collection_key = 'members';
+ public $members;
+ public $role;
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ChildLink.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ChildLink.php
new file mode 100644
index 00000000..5a9025c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ChildLink.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_ChildLink extends Google_Model
+{
+ public $childIndex;
+ public $type;
+ public $variable;
+
+ public function setChildIndex($childIndex)
+ {
+ $this->childIndex = $childIndex;
+ }
+ public function getChildIndex()
+ {
+ return $this->childIndex;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVariable($variable)
+ {
+ $this->variable = $variable;
+ }
+ public function getVariable()
+ {
+ return $this->variable;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CloudAuditOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CloudAuditOptions.php
new file mode 100644
index 00000000..b68c441a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CloudAuditOptions.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_CloudAuditOptions extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CommitRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CommitRequest.php
new file mode 100644
index 00000000..f8c5e48e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CommitRequest.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_CommitRequest extends Google_Collection
+{
+ protected $collection_key = 'mutations';
+ protected $mutationsType = 'Google_Service_Spanner_Mutation';
+ protected $mutationsDataType = 'array';
+ protected $singleUseTransactionType = 'Google_Service_Spanner_TransactionOptions';
+ protected $singleUseTransactionDataType = '';
+ public $transactionId;
+
+ public function setMutations($mutations)
+ {
+ $this->mutations = $mutations;
+ }
+ public function getMutations()
+ {
+ return $this->mutations;
+ }
+ public function setSingleUseTransaction(Google_Service_Spanner_TransactionOptions $singleUseTransaction)
+ {
+ $this->singleUseTransaction = $singleUseTransaction;
+ }
+ public function getSingleUseTransaction()
+ {
+ return $this->singleUseTransaction;
+ }
+ public function setTransactionId($transactionId)
+ {
+ $this->transactionId = $transactionId;
+ }
+ public function getTransactionId()
+ {
+ return $this->transactionId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CommitResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CommitResponse.php
new file mode 100644
index 00000000..43b27026
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CommitResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_CommitResponse extends Google_Model
+{
+ public $commitTimestamp;
+
+ public function setCommitTimestamp($commitTimestamp)
+ {
+ $this->commitTimestamp = $commitTimestamp;
+ }
+ public function getCommitTimestamp()
+ {
+ return $this->commitTimestamp;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Condition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Condition.php
new file mode 100644
index 00000000..a191309b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Condition.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_Condition extends Google_Collection
+{
+ protected $collection_key = 'values';
+ public $iam;
+ public $op;
+ public $svc;
+ public $sys;
+ public $value;
+ public $values;
+
+ public function setIam($iam)
+ {
+ $this->iam = $iam;
+ }
+ public function getIam()
+ {
+ return $this->iam;
+ }
+ public function setOp($op)
+ {
+ $this->op = $op;
+ }
+ public function getOp()
+ {
+ return $this->op;
+ }
+ public function setSvc($svc)
+ {
+ $this->svc = $svc;
+ }
+ public function getSvc()
+ {
+ return $this->svc;
+ }
+ public function setSys($sys)
+ {
+ $this->sys = $sys;
+ }
+ public function getSys()
+ {
+ return $this->sys;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CounterOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CounterOptions.php
new file mode 100644
index 00000000..8a66d6de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CounterOptions.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_CounterOptions extends Google_Model
+{
+ public $field;
+ public $metric;
+
+ public function setField($field)
+ {
+ $this->field = $field;
+ }
+ public function getField()
+ {
+ return $this->field;
+ }
+ public function setMetric($metric)
+ {
+ $this->metric = $metric;
+ }
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateDatabaseMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateDatabaseMetadata.php
new file mode 100644
index 00000000..8d2b3796
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateDatabaseMetadata.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_CreateDatabaseMetadata extends Google_Model
+{
+ public $database;
+
+ public function setDatabase($database)
+ {
+ $this->database = $database;
+ }
+ public function getDatabase()
+ {
+ return $this->database;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateDatabaseRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateDatabaseRequest.php
new file mode 100644
index 00000000..829a77a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateDatabaseRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_CreateDatabaseRequest extends Google_Collection
+{
+ protected $collection_key = 'extraStatements';
+ public $createStatement;
+ public $extraStatements;
+
+ public function setCreateStatement($createStatement)
+ {
+ $this->createStatement = $createStatement;
+ }
+ public function getCreateStatement()
+ {
+ return $this->createStatement;
+ }
+ public function setExtraStatements($extraStatements)
+ {
+ $this->extraStatements = $extraStatements;
+ }
+ public function getExtraStatements()
+ {
+ return $this->extraStatements;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateInstanceMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateInstanceMetadata.php
new file mode 100644
index 00000000..85aa65c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateInstanceMetadata.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_CreateInstanceMetadata extends Google_Model
+{
+ public $cancelTime;
+ public $endTime;
+ protected $instanceType = 'Google_Service_Spanner_Instance';
+ protected $instanceDataType = '';
+ public $startTime;
+
+ public function setCancelTime($cancelTime)
+ {
+ $this->cancelTime = $cancelTime;
+ }
+ public function getCancelTime()
+ {
+ return $this->cancelTime;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setInstance(Google_Service_Spanner_Instance $instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateInstanceRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateInstanceRequest.php
new file mode 100644
index 00000000..5d4ea1bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateInstanceRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_CreateInstanceRequest extends Google_Model
+{
+ protected $instanceType = 'Google_Service_Spanner_Instance';
+ protected $instanceDataType = '';
+ public $instanceId;
+
+ public function setInstance(Google_Service_Spanner_Instance $instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+ public function setInstanceId($instanceId)
+ {
+ $this->instanceId = $instanceId;
+ }
+ public function getInstanceId()
+ {
+ return $this->instanceId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/DataAccessOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/DataAccessOptions.php
new file mode 100644
index 00000000..a5d279c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/DataAccessOptions.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_DataAccessOptions extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Database.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Database.php
new file mode 100644
index 00000000..f1737e52
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Database.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_Database extends Google_Model
+{
+ public $name;
+ public $state;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Delete.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Delete.php
new file mode 100644
index 00000000..be3a760c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Delete.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_Delete extends Google_Model
+{
+ protected $keySetType = 'Google_Service_Spanner_KeySet';
+ protected $keySetDataType = '';
+ public $table;
+
+ public function setKeySet(Google_Service_Spanner_KeySet $keySet)
+ {
+ $this->keySet = $keySet;
+ }
+ public function getKeySet()
+ {
+ return $this->keySet;
+ }
+ public function setTable($table)
+ {
+ $this->table = $table;
+ }
+ public function getTable()
+ {
+ return $this->table;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ExecuteSqlRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ExecuteSqlRequest.php
new file mode 100644
index 00000000..c3840061
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ExecuteSqlRequest.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_ExecuteSqlRequest extends Google_Model
+{
+ protected $paramTypesType = 'Google_Service_Spanner_Type';
+ protected $paramTypesDataType = 'map';
+ public $params;
+ public $queryMode;
+ public $resumeToken;
+ public $sql;
+ protected $transactionType = 'Google_Service_Spanner_TransactionSelector';
+ protected $transactionDataType = '';
+
+ public function setParamTypes($paramTypes)
+ {
+ $this->paramTypes = $paramTypes;
+ }
+ public function getParamTypes()
+ {
+ return $this->paramTypes;
+ }
+ public function setParams($params)
+ {
+ $this->params = $params;
+ }
+ public function getParams()
+ {
+ return $this->params;
+ }
+ public function setQueryMode($queryMode)
+ {
+ $this->queryMode = $queryMode;
+ }
+ public function getQueryMode()
+ {
+ return $this->queryMode;
+ }
+ public function setResumeToken($resumeToken)
+ {
+ $this->resumeToken = $resumeToken;
+ }
+ public function getResumeToken()
+ {
+ return $this->resumeToken;
+ }
+ public function setSql($sql)
+ {
+ $this->sql = $sql;
+ }
+ public function getSql()
+ {
+ return $this->sql;
+ }
+ public function setTransaction(Google_Service_Spanner_TransactionSelector $transaction)
+ {
+ $this->transaction = $transaction;
+ }
+ public function getTransaction()
+ {
+ return $this->transaction;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Field.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Field.php
new file mode 100644
index 00000000..5e45b3c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Field.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_Field extends Google_Model
+{
+ public $name;
+ protected $typeType = 'Google_Service_Spanner_Type';
+ protected $typeDataType = '';
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setType(Google_Service_Spanner_Type $type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/GetDatabaseDdlResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/GetDatabaseDdlResponse.php
new file mode 100644
index 00000000..1870d1f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/GetDatabaseDdlResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_GetDatabaseDdlResponse extends Google_Collection
+{
+ protected $collection_key = 'statements';
+ public $statements;
+
+ public function setStatements($statements)
+ {
+ $this->statements = $statements;
+ }
+ public function getStatements()
+ {
+ return $this->statements;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/GetIamPolicyRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/GetIamPolicyRequest.php
new file mode 100644
index 00000000..f8dbbcc8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/GetIamPolicyRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_GetIamPolicyRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Instance.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Instance.php
new file mode 100644
index 00000000..7550ee39
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Instance.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_Instance extends Google_Model
+{
+ public $config;
+ public $displayName;
+ public $labels;
+ public $name;
+ public $nodeCount;
+ public $state;
+
+ public function setConfig($config)
+ {
+ $this->config = $config;
+ }
+ public function getConfig()
+ {
+ return $this->config;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ 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 setNodeCount($nodeCount)
+ {
+ $this->nodeCount = $nodeCount;
+ }
+ public function getNodeCount()
+ {
+ return $this->nodeCount;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/InstanceConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/InstanceConfig.php
new file mode 100644
index 00000000..38c5d9e1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/InstanceConfig.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_InstanceConfig extends Google_Model
+{
+ public $displayName;
+ public $name;
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/KeyRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/KeyRange.php
new file mode 100644
index 00000000..6b74eee7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/KeyRange.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_KeyRange extends Google_Collection
+{
+ protected $collection_key = 'startOpen';
+ public $endClosed;
+ public $endOpen;
+ public $startClosed;
+ public $startOpen;
+
+ public function setEndClosed($endClosed)
+ {
+ $this->endClosed = $endClosed;
+ }
+ public function getEndClosed()
+ {
+ return $this->endClosed;
+ }
+ public function setEndOpen($endOpen)
+ {
+ $this->endOpen = $endOpen;
+ }
+ public function getEndOpen()
+ {
+ return $this->endOpen;
+ }
+ public function setStartClosed($startClosed)
+ {
+ $this->startClosed = $startClosed;
+ }
+ public function getStartClosed()
+ {
+ return $this->startClosed;
+ }
+ public function setStartOpen($startOpen)
+ {
+ $this->startOpen = $startOpen;
+ }
+ public function getStartOpen()
+ {
+ return $this->startOpen;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/KeySet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/KeySet.php
new file mode 100644
index 00000000..9970900a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/KeySet.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_KeySet extends Google_Collection
+{
+ protected $collection_key = 'ranges';
+ public $all;
+ public $keys;
+ protected $rangesType = 'Google_Service_Spanner_KeyRange';
+ protected $rangesDataType = 'array';
+
+ public function setAll($all)
+ {
+ $this->all = $all;
+ }
+ public function getAll()
+ {
+ return $this->all;
+ }
+ public function setKeys($keys)
+ {
+ $this->keys = $keys;
+ }
+ public function getKeys()
+ {
+ return $this->keys;
+ }
+ public function setRanges($ranges)
+ {
+ $this->ranges = $ranges;
+ }
+ public function getRanges()
+ {
+ return $this->ranges;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListDatabasesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListDatabasesResponse.php
new file mode 100644
index 00000000..fc955dac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListDatabasesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_ListDatabasesResponse extends Google_Collection
+{
+ protected $collection_key = 'databases';
+ protected $databasesType = 'Google_Service_Spanner_Database';
+ protected $databasesDataType = 'array';
+ public $nextPageToken;
+
+ public function setDatabases($databases)
+ {
+ $this->databases = $databases;
+ }
+ public function getDatabases()
+ {
+ return $this->databases;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListInstanceConfigsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListInstanceConfigsResponse.php
new file mode 100644
index 00000000..6900bb7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListInstanceConfigsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_ListInstanceConfigsResponse extends Google_Collection
+{
+ protected $collection_key = 'instanceConfigs';
+ protected $instanceConfigsType = 'Google_Service_Spanner_InstanceConfig';
+ protected $instanceConfigsDataType = 'array';
+ public $nextPageToken;
+
+ public function setInstanceConfigs($instanceConfigs)
+ {
+ $this->instanceConfigs = $instanceConfigs;
+ }
+ public function getInstanceConfigs()
+ {
+ return $this->instanceConfigs;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListInstancesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListInstancesResponse.php
new file mode 100644
index 00000000..89771c18
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListInstancesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_ListInstancesResponse extends Google_Collection
+{
+ protected $collection_key = 'instances';
+ protected $instancesType = 'Google_Service_Spanner_Instance';
+ protected $instancesDataType = 'array';
+ public $nextPageToken;
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListOperationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListOperationsResponse.php
new file mode 100644
index 00000000..60967570
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListOperationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_ListOperationsResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_Spanner_Operation';
+ protected $operationsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/LogConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/LogConfig.php
new file mode 100644
index 00000000..cef56047
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/LogConfig.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_LogConfig extends Google_Model
+{
+ protected $cloudAuditType = 'Google_Service_Spanner_CloudAuditOptions';
+ protected $cloudAuditDataType = '';
+ protected $counterType = 'Google_Service_Spanner_CounterOptions';
+ protected $counterDataType = '';
+ protected $dataAccessType = 'Google_Service_Spanner_DataAccessOptions';
+ protected $dataAccessDataType = '';
+
+ public function setCloudAudit(Google_Service_Spanner_CloudAuditOptions $cloudAudit)
+ {
+ $this->cloudAudit = $cloudAudit;
+ }
+ public function getCloudAudit()
+ {
+ return $this->cloudAudit;
+ }
+ public function setCounter(Google_Service_Spanner_CounterOptions $counter)
+ {
+ $this->counter = $counter;
+ }
+ public function getCounter()
+ {
+ return $this->counter;
+ }
+ public function setDataAccess(Google_Service_Spanner_DataAccessOptions $dataAccess)
+ {
+ $this->dataAccess = $dataAccess;
+ }
+ public function getDataAccess()
+ {
+ return $this->dataAccess;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Mutation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Mutation.php
new file mode 100644
index 00000000..41c618c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Mutation.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_Mutation extends Google_Model
+{
+ protected $deleteType = 'Google_Service_Spanner_Delete';
+ protected $deleteDataType = '';
+ protected $insertType = 'Google_Service_Spanner_Write';
+ protected $insertDataType = '';
+ protected $insertOrUpdateType = 'Google_Service_Spanner_Write';
+ protected $insertOrUpdateDataType = '';
+ protected $replaceType = 'Google_Service_Spanner_Write';
+ protected $replaceDataType = '';
+ protected $updateType = 'Google_Service_Spanner_Write';
+ protected $updateDataType = '';
+
+ public function setDelete(Google_Service_Spanner_Delete $delete)
+ {
+ $this->delete = $delete;
+ }
+ public function getDelete()
+ {
+ return $this->delete;
+ }
+ public function setInsert(Google_Service_Spanner_Write $insert)
+ {
+ $this->insert = $insert;
+ }
+ public function getInsert()
+ {
+ return $this->insert;
+ }
+ public function setInsertOrUpdate(Google_Service_Spanner_Write $insertOrUpdate)
+ {
+ $this->insertOrUpdate = $insertOrUpdate;
+ }
+ public function getInsertOrUpdate()
+ {
+ return $this->insertOrUpdate;
+ }
+ public function setReplace(Google_Service_Spanner_Write $replace)
+ {
+ $this->replace = $replace;
+ }
+ public function getReplace()
+ {
+ return $this->replace;
+ }
+ public function setUpdate(Google_Service_Spanner_Write $update)
+ {
+ $this->update = $update;
+ }
+ public function getUpdate()
+ {
+ return $this->update;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Operation.php
new file mode 100644
index 00000000..fb5b8812
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Operation.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_Operation extends Google_Model
+{
+ public $done;
+ protected $errorType = 'Google_Service_Spanner_Status';
+ protected $errorDataType = '';
+ public $metadata;
+ public $name;
+ public $response;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_Spanner_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setMetadata($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 setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/PartialResultSet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/PartialResultSet.php
new file mode 100644
index 00000000..61904c58
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/PartialResultSet.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_PartialResultSet extends Google_Collection
+{
+ protected $collection_key = 'values';
+ public $chunkedValue;
+ protected $metadataType = 'Google_Service_Spanner_ResultSetMetadata';
+ protected $metadataDataType = '';
+ public $resumeToken;
+ protected $statsType = 'Google_Service_Spanner_ResultSetStats';
+ protected $statsDataType = '';
+ public $values;
+
+ public function setChunkedValue($chunkedValue)
+ {
+ $this->chunkedValue = $chunkedValue;
+ }
+ public function getChunkedValue()
+ {
+ return $this->chunkedValue;
+ }
+ public function setMetadata(Google_Service_Spanner_ResultSetMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setResumeToken($resumeToken)
+ {
+ $this->resumeToken = $resumeToken;
+ }
+ public function getResumeToken()
+ {
+ return $this->resumeToken;
+ }
+ public function setStats(Google_Service_Spanner_ResultSetStats $stats)
+ {
+ $this->stats = $stats;
+ }
+ public function getStats()
+ {
+ return $this->stats;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/PlanNode.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/PlanNode.php
new file mode 100644
index 00000000..a4d08dd2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/PlanNode.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_PlanNode extends Google_Collection
+{
+ protected $collection_key = 'childLinks';
+ protected $childLinksType = 'Google_Service_Spanner_ChildLink';
+ protected $childLinksDataType = 'array';
+ public $displayName;
+ public $executionStats;
+ public $index;
+ public $kind;
+ public $metadata;
+ protected $shortRepresentationType = 'Google_Service_Spanner_ShortRepresentation';
+ protected $shortRepresentationDataType = '';
+
+ public function setChildLinks($childLinks)
+ {
+ $this->childLinks = $childLinks;
+ }
+ public function getChildLinks()
+ {
+ return $this->childLinks;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setExecutionStats($executionStats)
+ {
+ $this->executionStats = $executionStats;
+ }
+ public function getExecutionStats()
+ {
+ return $this->executionStats;
+ }
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetadata($metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setShortRepresentation(Google_Service_Spanner_ShortRepresentation $shortRepresentation)
+ {
+ $this->shortRepresentation = $shortRepresentation;
+ }
+ public function getShortRepresentation()
+ {
+ return $this->shortRepresentation;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Policy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Policy.php
new file mode 100644
index 00000000..4e851430
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Policy.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_Policy extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $auditConfigsType = 'Google_Service_Spanner_AuditConfig';
+ protected $auditConfigsDataType = 'array';
+ protected $bindingsType = 'Google_Service_Spanner_Binding';
+ protected $bindingsDataType = 'array';
+ public $etag;
+ public $iamOwned;
+ protected $rulesType = 'Google_Service_Spanner_Rule';
+ protected $rulesDataType = 'array';
+ public $version;
+
+ public function setAuditConfigs($auditConfigs)
+ {
+ $this->auditConfigs = $auditConfigs;
+ }
+ public function getAuditConfigs()
+ {
+ return $this->auditConfigs;
+ }
+ public function setBindings($bindings)
+ {
+ $this->bindings = $bindings;
+ }
+ public function getBindings()
+ {
+ return $this->bindings;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setIamOwned($iamOwned)
+ {
+ $this->iamOwned = $iamOwned;
+ }
+ public function getIamOwned()
+ {
+ return $this->iamOwned;
+ }
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/QueryPlan.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/QueryPlan.php
new file mode 100644
index 00000000..4f6868ce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/QueryPlan.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_QueryPlan extends Google_Collection
+{
+ protected $collection_key = 'planNodes';
+ protected $planNodesType = 'Google_Service_Spanner_PlanNode';
+ protected $planNodesDataType = 'array';
+
+ public function setPlanNodes($planNodes)
+ {
+ $this->planNodes = $planNodes;
+ }
+ public function getPlanNodes()
+ {
+ return $this->planNodes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadOnly.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadOnly.php
new file mode 100644
index 00000000..1e770c88
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadOnly.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_ReadOnly extends Google_Model
+{
+ public $exactStaleness;
+ public $maxStaleness;
+ public $minReadTimestamp;
+ public $readTimestamp;
+ public $returnReadTimestamp;
+ public $strong;
+
+ public function setExactStaleness($exactStaleness)
+ {
+ $this->exactStaleness = $exactStaleness;
+ }
+ public function getExactStaleness()
+ {
+ return $this->exactStaleness;
+ }
+ public function setMaxStaleness($maxStaleness)
+ {
+ $this->maxStaleness = $maxStaleness;
+ }
+ public function getMaxStaleness()
+ {
+ return $this->maxStaleness;
+ }
+ public function setMinReadTimestamp($minReadTimestamp)
+ {
+ $this->minReadTimestamp = $minReadTimestamp;
+ }
+ public function getMinReadTimestamp()
+ {
+ return $this->minReadTimestamp;
+ }
+ public function setReadTimestamp($readTimestamp)
+ {
+ $this->readTimestamp = $readTimestamp;
+ }
+ public function getReadTimestamp()
+ {
+ return $this->readTimestamp;
+ }
+ public function setReturnReadTimestamp($returnReadTimestamp)
+ {
+ $this->returnReadTimestamp = $returnReadTimestamp;
+ }
+ public function getReturnReadTimestamp()
+ {
+ return $this->returnReadTimestamp;
+ }
+ public function setStrong($strong)
+ {
+ $this->strong = $strong;
+ }
+ public function getStrong()
+ {
+ return $this->strong;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadRequest.php
new file mode 100644
index 00000000..a79cb037
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadRequest.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_ReadRequest extends Google_Collection
+{
+ protected $collection_key = 'columns';
+ public $columns;
+ public $index;
+ protected $keySetType = 'Google_Service_Spanner_KeySet';
+ protected $keySetDataType = '';
+ public $limit;
+ public $resumeToken;
+ public $table;
+ protected $transactionType = 'Google_Service_Spanner_TransactionSelector';
+ protected $transactionDataType = '';
+
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+ public function setKeySet(Google_Service_Spanner_KeySet $keySet)
+ {
+ $this->keySet = $keySet;
+ }
+ public function getKeySet()
+ {
+ return $this->keySet;
+ }
+ public function setLimit($limit)
+ {
+ $this->limit = $limit;
+ }
+ public function getLimit()
+ {
+ return $this->limit;
+ }
+ public function setResumeToken($resumeToken)
+ {
+ $this->resumeToken = $resumeToken;
+ }
+ public function getResumeToken()
+ {
+ return $this->resumeToken;
+ }
+ public function setTable($table)
+ {
+ $this->table = $table;
+ }
+ public function getTable()
+ {
+ return $this->table;
+ }
+ public function setTransaction(Google_Service_Spanner_TransactionSelector $transaction)
+ {
+ $this->transaction = $transaction;
+ }
+ public function getTransaction()
+ {
+ return $this->transaction;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadWrite.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadWrite.php
new file mode 100644
index 00000000..f051fa5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadWrite.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_ReadWrite extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/Projects.php
new file mode 100644
index 00000000..0c4686f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/Projects.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $spannerService = new Google_Service_Spanner(...);
+ * $projects = $spannerService->projects;
+ * </code>
+ */
+class Google_Service_Spanner_Resource_Projects extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstanceConfigs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstanceConfigs.php
new file mode 100644
index 00000000..f385289d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstanceConfigs.php
@@ -0,0 +1,65 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "instanceConfigs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $spannerService = new Google_Service_Spanner(...);
+ * $instanceConfigs = $spannerService->instanceConfigs;
+ * </code>
+ */
+class Google_Service_Spanner_Resource_ProjectsInstanceConfigs extends Google_Service_Resource
+{
+ /**
+ * Gets information about a particular instance configuration.
+ * (instanceConfigs.get)
+ *
+ * @param string $name Required. The name of the requested instance
+ * configuration. Values are of the form `projects//instanceConfigs/`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_InstanceConfig
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Spanner_InstanceConfig");
+ }
+ /**
+ * Lists the supported instance configurations for a given project.
+ * (instanceConfigs.listProjectsInstanceConfigs)
+ *
+ * @param string $parent Required. The name of the project for which a list of
+ * supported instance configurations is requested. Values are of the form
+ * `projects/`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken If non-empty, `page_token` should contain a
+ * next_page_token from a previous ListInstanceConfigsResponse.
+ * @opt_param int pageSize Number of instance configurations to be returned in
+ * the response. If 0 or less, defaults to the server's maximum allowed page
+ * size.
+ * @return Google_Service_Spanner_ListInstanceConfigsResponse
+ */
+ public function listProjectsInstanceConfigs($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Spanner_ListInstanceConfigsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstances.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstances.php
new file mode 100644
index 00000000..6e11f52a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstances.php
@@ -0,0 +1,253 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "instances" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $spannerService = new Google_Service_Spanner(...);
+ * $instances = $spannerService->instances;
+ * </code>
+ */
+class Google_Service_Spanner_Resource_ProjectsInstances extends Google_Service_Resource
+{
+ /**
+ * Creates an instance and begins preparing it to begin serving. The returned
+ * long-running operation can be used to track the progress of preparing the new
+ * instance. The instance name is assigned by the caller. If the named instance
+ * already exists, `CreateInstance` returns `ALREADY_EXISTS`.
+ *
+ * Immediately upon completion of this request:
+ *
+ * * The instance is readable via the API, with all requested attributes
+ * but no allocated resources. Its state is `CREATING`.
+ *
+ * Until completion of the returned operation:
+ *
+ * * Cancelling the operation renders the instance immediately unreadable
+ * via the API. * The instance can be deleted. * All other attempts to
+ * modify the instance are rejected.
+ *
+ * Upon completion of the returned operation:
+ *
+ * * Billing for all successfully-allocated resources begins (some types
+ * may have lower than the requested levels). * Databases can be created in
+ * the instance. * The instance's allocated resource levels are readable via
+ * the API. * The instance's state becomes `READY`.
+ *
+ * The returned long-running operation will have a name of the format
+ * `/operations/` and can be used to track creation of the instance. The
+ * metadata field type is CreateInstanceMetadata. The response field type is
+ * Instance, if successful. (instances.create)
+ *
+ * @param string $parent Required. The name of the project in which to create
+ * the instance. Values are of the form `projects/`.
+ * @param Google_Service_Spanner_CreateInstanceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_Operation
+ */
+ public function create($parent, Google_Service_Spanner_CreateInstanceRequest $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Spanner_Operation");
+ }
+ /**
+ * Deletes an instance.
+ *
+ * Immediately upon completion of the request:
+ *
+ * * Billing ceases for all of the instance's reserved resources.
+ *
+ * Soon afterward:
+ *
+ * * The instance and *all of its databases* immediately and irrevocably
+ * disappear from the API. All data in the databases is permanently deleted.
+ * (instances.delete)
+ *
+ * @param string $name Required. The name of the instance to be deleted. Values
+ * are of the form `projects//instances/`
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_SpannerEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Spanner_SpannerEmpty");
+ }
+ /**
+ * Gets information about a particular instance. (instances.get)
+ *
+ * @param string $name Required. The name of the requested instance. Values are
+ * of the form `projects//instances/`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_Instance
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Spanner_Instance");
+ }
+ /**
+ * Gets the access control policy for an instance resource. Returns an empty
+ * policy if an instance exists but does not have a policy set.
+ *
+ * Authorization requires `spanner.instances.getIamPolicy` on resource.
+ * (instances.getIamPolicy)
+ *
+ * @param string $resource REQUIRED: The Cloud Spanner resource for which the
+ * policy is being retrieved. The format is `projects//instances/` for instance
+ * resources and `projects//instances//databases/` for database resources.
+ * @param Google_Service_Spanner_GetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_Policy
+ */
+ public function getIamPolicy($resource, Google_Service_Spanner_GetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_Spanner_Policy");
+ }
+ /**
+ * Lists all instances in the given project. (instances.listProjectsInstances)
+ *
+ * @param string $parent Required. The name of the project for which a list of
+ * instances is requested. Values are of the form `projects/`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken If non-empty, `page_token` should contain a
+ * next_page_token from a previous ListInstancesResponse.
+ * @opt_param int pageSize Number of instances to be returned in the response.
+ * If 0 or less, defaults to the server's maximum allowed page size.
+ * @opt_param string filter An expression for filtering the results of the
+ * request. Filter rules are case insensitive. The fields eligible for filtering
+ * are:
+ *
+ * * name * display_name * labels.key where key is the name of a label
+ *
+ * Some examples of using filters are:
+ *
+ * * name:* --> The instance has a name. * name:Howl --> The instance's name
+ * contains the string "howl". * name:HOWL --> Equivalent to above. *
+ * NAME:howl --> Equivalent to above. * labels.env:* --> The instance has the
+ * label "env". * labels.env:dev --> The instance has the label "env" and the
+ * value of the label contains the string "dev". *
+ * name:howl labels.env:dev --> The instance's name contains "howl" and
+ * it has the label "env" with its value
+ * containing "dev".
+ * @return Google_Service_Spanner_ListInstancesResponse
+ */
+ public function listProjectsInstances($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Spanner_ListInstancesResponse");
+ }
+ /**
+ * Updates an instance, and begins allocating or releasing resources as
+ * requested. The returned long-running operation can be used to track the
+ * progress of updating the instance. If the named instance does not exist,
+ * returns `NOT_FOUND`.
+ *
+ * Immediately upon completion of this request:
+ *
+ * * For resource types for which a decrease in the instance's allocation
+ * has been requested, billing is based on the newly-requested level.
+ *
+ * Until completion of the returned operation:
+ *
+ * * Cancelling the operation sets its metadata's cancel_time, and begins
+ * restoring resources to their pre-request values. The operation is
+ * guaranteed to succeed at undoing all resource changes, after which point
+ * it terminates with a `CANCELLED` status. * All other attempts to modify the
+ * instance are rejected. * Reading the instance via the API continues to give
+ * the pre-request resource levels.
+ *
+ * Upon completion of the returned operation:
+ *
+ * * Billing begins for all successfully-allocated resources (some types
+ * may have lower than the requested levels). * All newly-reserved resources
+ * are available for serving the instance's tables. * The instance's new
+ * resource levels are readable via the API.
+ *
+ * The returned long-running operation will have a name of the format
+ * `/operations/` and can be used to track the instance modification. The
+ * metadata field type is UpdateInstanceMetadata. The response field type is
+ * Instance, if successful.
+ *
+ * Authorization requires `spanner.instances.update` permission on resource
+ * name. (instances.patch)
+ *
+ * @param string $name Required. A unique identifier for the instance, which
+ * cannot be changed after the instance is created. Values are of the form
+ * `projects//instances/a-z*[a-z0-9]`. The final segment of the name must be
+ * between 6 and 30 characters in length.
+ * @param Google_Service_Spanner_UpdateInstanceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_Operation
+ */
+ public function patch($name, Google_Service_Spanner_UpdateInstanceRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Spanner_Operation");
+ }
+ /**
+ * Sets the access control policy on an instance resource. Replaces any existing
+ * policy.
+ *
+ * Authorization requires `spanner.instances.setIamPolicy` on resource.
+ * (instances.setIamPolicy)
+ *
+ * @param string $resource REQUIRED: The Cloud Spanner resource for which the
+ * policy is being set. The format is `projects//instances/` for instance
+ * resources and `projects//instances//databases/` for databases resources.
+ * @param Google_Service_Spanner_SetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_Policy
+ */
+ public function setIamPolicy($resource, Google_Service_Spanner_SetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_Spanner_Policy");
+ }
+ /**
+ * Returns permissions that the caller has on the specified instance resource.
+ *
+ * Attempting this RPC on a non-existent Cloud Spanner instance resource will
+ * result in a NOT_FOUND error if the user has `spanner.instances.list`
+ * permission on the containing Google Cloud Project. Otherwise returns an empty
+ * set of permissions. (instances.testIamPermissions)
+ *
+ * @param string $resource REQUIRED: The Cloud Spanner resource for which
+ * permissions are being tested. The format is `projects//instances/` for
+ * instance resources and `projects//instances//databases/` for database
+ * resources.
+ * @param Google_Service_Spanner_TestIamPermissionsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_TestIamPermissionsResponse
+ */
+ public function testIamPermissions($resource, Google_Service_Spanner_TestIamPermissionsRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_Spanner_TestIamPermissionsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabases.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabases.php
new file mode 100644
index 00000000..c74a4fe4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabases.php
@@ -0,0 +1,188 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "databases" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $spannerService = new Google_Service_Spanner(...);
+ * $databases = $spannerService->databases;
+ * </code>
+ */
+class Google_Service_Spanner_Resource_ProjectsInstancesDatabases extends Google_Service_Resource
+{
+ /**
+ * Creates a new Cloud Spanner database and starts to prepare it for serving.
+ * The returned long-running operation will have a name of the format
+ * `/operations/` and can be used to track preparation of the database. The
+ * metadata field type is CreateDatabaseMetadata. The response field type is
+ * Database, if successful. (databases.create)
+ *
+ * @param string $parent Required. The name of the instance that will serve the
+ * new database. Values are of the form `projects//instances/`.
+ * @param Google_Service_Spanner_CreateDatabaseRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_Operation
+ */
+ public function create($parent, Google_Service_Spanner_CreateDatabaseRequest $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Spanner_Operation");
+ }
+ /**
+ * Drops (aka deletes) a Cloud Spanner database. (databases.dropDatabase)
+ *
+ * @param string $database Required. The database to be dropped.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_SpannerEmpty
+ */
+ public function dropDatabase($database, $optParams = array())
+ {
+ $params = array('database' => $database);
+ $params = array_merge($params, $optParams);
+ return $this->call('dropDatabase', array($params), "Google_Service_Spanner_SpannerEmpty");
+ }
+ /**
+ * Gets the state of a Cloud Spanner database. (databases.get)
+ *
+ * @param string $name Required. The name of the requested database. Values are
+ * of the form `projects//instances//databases/`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_Database
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Spanner_Database");
+ }
+ /**
+ * Returns the schema of a Cloud Spanner database as a list of formatted DDL
+ * statements. This method does not show pending schema updates, those may be
+ * queried using the Operations API. (databases.getDdl)
+ *
+ * @param string $database Required. The database whose schema we wish to get.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_GetDatabaseDdlResponse
+ */
+ public function getDdl($database, $optParams = array())
+ {
+ $params = array('database' => $database);
+ $params = array_merge($params, $optParams);
+ return $this->call('getDdl', array($params), "Google_Service_Spanner_GetDatabaseDdlResponse");
+ }
+ /**
+ * Gets the access control policy for a database resource. Returns an empty
+ * policy if a database exists but does not have a policy set.
+ *
+ * Authorization requires `spanner.databases.getIamPolicy` permission on
+ * resource. (databases.getIamPolicy)
+ *
+ * @param string $resource REQUIRED: The Cloud Spanner resource for which the
+ * policy is being retrieved. The format is `projects//instances/` for instance
+ * resources and `projects//instances//databases/` for database resources.
+ * @param Google_Service_Spanner_GetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_Policy
+ */
+ public function getIamPolicy($resource, Google_Service_Spanner_GetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_Spanner_Policy");
+ }
+ /**
+ * Lists Cloud Spanner databases. (databases.listProjectsInstancesDatabases)
+ *
+ * @param string $parent Required. The instance whose databases should be
+ * listed. Values are of the form `projects//instances/`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken If non-empty, `page_token` should contain a
+ * next_page_token from a previous ListDatabasesResponse.
+ * @opt_param int pageSize Number of databases to be returned in the response.
+ * If 0 or less, defaults to the server's maximum allowed page size.
+ * @return Google_Service_Spanner_ListDatabasesResponse
+ */
+ public function listProjectsInstancesDatabases($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Spanner_ListDatabasesResponse");
+ }
+ /**
+ * Sets the access control policy on a database resource. Replaces any existing
+ * policy.
+ *
+ * Authorization requires `spanner.databases.setIamPolicy` permission on
+ * resource. (databases.setIamPolicy)
+ *
+ * @param string $resource REQUIRED: The Cloud Spanner resource for which the
+ * policy is being set. The format is `projects//instances/` for instance
+ * resources and `projects//instances//databases/` for databases resources.
+ * @param Google_Service_Spanner_SetIamPolicyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_Policy
+ */
+ public function setIamPolicy($resource, Google_Service_Spanner_SetIamPolicyRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_Spanner_Policy");
+ }
+ /**
+ * Returns permissions that the caller has on the specified database resource.
+ *
+ * Attempting this RPC on a non-existent Cloud Spanner database will result in a
+ * NOT_FOUND error if the user has `spanner.databases.list` permission on the
+ * containing Cloud Spanner instance. Otherwise returns an empty set of
+ * permissions. (databases.testIamPermissions)
+ *
+ * @param string $resource REQUIRED: The Cloud Spanner resource for which
+ * permissions are being tested. The format is `projects//instances/` for
+ * instance resources and `projects//instances//databases/` for database
+ * resources.
+ * @param Google_Service_Spanner_TestIamPermissionsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_TestIamPermissionsResponse
+ */
+ public function testIamPermissions($resource, Google_Service_Spanner_TestIamPermissionsRequest $postBody, $optParams = array())
+ {
+ $params = array('resource' => $resource, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_Spanner_TestIamPermissionsResponse");
+ }
+ /**
+ * Updates the schema of a Cloud Spanner database by creating/altering/dropping
+ * tables, columns, indexes, etc. The returned long-running operation will have
+ * a name of the format `/operations/` and can be used to track execution of the
+ * schema change(s). The metadata field type is UpdateDatabaseDdlMetadata. The
+ * operation has no response. (databases.updateDdl)
+ *
+ * @param string $database Required. The database to update.
+ * @param Google_Service_Spanner_UpdateDatabaseDdlRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_Operation
+ */
+ public function updateDdl($database, Google_Service_Spanner_UpdateDatabaseDdlRequest $postBody, $optParams = array())
+ {
+ $params = array('database' => $database, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateDdl', array($params), "Google_Service_Spanner_Operation");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesOperations.php
new file mode 100644
index 00000000..1e4b6955
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesOperations.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $spannerService = new Google_Service_Spanner(...);
+ * $operations = $spannerService->operations;
+ * </code>
+ */
+class Google_Service_Spanner_Resource_ProjectsInstancesDatabasesOperations extends Google_Service_Resource
+{
+ /**
+ * Starts asynchronous cancellation on a long-running operation. The server
+ * makes a best effort to cancel the operation, but success is not guaranteed.
+ * If the server doesn't support this method, it returns
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
+ * other methods to check whether the cancellation succeeded or whether the
+ * operation completed despite cancellation. On successful cancellation, the
+ * operation is not deleted; instead, it becomes an operation with an
+ * Operation.error value with a google.rpc.Status.code of 1, corresponding to
+ * `Code.CANCELLED`. (operations.cancel)
+ *
+ * @param string $name The name of the operation resource to be cancelled.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_SpannerEmpty
+ */
+ public function cancel($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_Spanner_SpannerEmpty");
+ }
+ /**
+ * Deletes a long-running operation. This method indicates that the client is no
+ * longer interested in the operation result. It does not cancel the operation.
+ * If the server doesn't support this method, it returns
+ * `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
+ *
+ * @param string $name The name of the operation resource to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_SpannerEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Spanner_SpannerEmpty");
+ }
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this
+ * method to poll the operation result at intervals as recommended by the API
+ * service. (operations.get)
+ *
+ * @param string $name The name of the operation resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_Operation
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Spanner_Operation");
+ }
+ /**
+ * Lists operations that match the specified filter in the request. If the
+ * server doesn't support this method, it returns `UNIMPLEMENTED`.
+ *
+ * NOTE: the `name` binding below allows API services to override the binding to
+ * use different resource name schemes, such as `users/operations`.
+ * (operations.listProjectsInstancesDatabasesOperations)
+ *
+ * @param string $name The name of the operation collection.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize The standard list page size.
+ * @opt_param string filter The standard list filter.
+ * @opt_param string pageToken The standard list page token.
+ * @return Google_Service_Spanner_ListOperationsResponse
+ */
+ public function listProjectsInstancesDatabasesOperations($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Spanner_ListOperationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesSessions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesSessions.php
new file mode 100644
index 00000000..67959e0a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesSessions.php
@@ -0,0 +1,231 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "sessions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $spannerService = new Google_Service_Spanner(...);
+ * $sessions = $spannerService->sessions;
+ * </code>
+ */
+class Google_Service_Spanner_Resource_ProjectsInstancesDatabasesSessions extends Google_Service_Resource
+{
+ /**
+ * Begins a new transaction. This step can often be skipped: Read, ExecuteSql
+ * and Commit can begin a new transaction as a side-effect.
+ * (sessions.beginTransaction)
+ *
+ * @param string $session Required. The session in which the transaction runs.
+ * @param Google_Service_Spanner_BeginTransactionRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_Transaction
+ */
+ public function beginTransaction($session, Google_Service_Spanner_BeginTransactionRequest $postBody, $optParams = array())
+ {
+ $params = array('session' => $session, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('beginTransaction', array($params), "Google_Service_Spanner_Transaction");
+ }
+ /**
+ * Commits a transaction. The request includes the mutations to be applied to
+ * rows in the database.
+ *
+ * `Commit` might return an `ABORTED` error. This can occur at any time;
+ * commonly, the cause is conflicts with concurrent transactions. However, it
+ * can also happen for a variety of other reasons. If `Commit` returns
+ * `ABORTED`, the caller should re-attempt the transaction from the beginning,
+ * re-using the same session. (sessions.commit)
+ *
+ * @param string $session Required. The session in which the transaction to be
+ * committed is running.
+ * @param Google_Service_Spanner_CommitRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_CommitResponse
+ */
+ public function commit($session, Google_Service_Spanner_CommitRequest $postBody, $optParams = array())
+ {
+ $params = array('session' => $session, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('commit', array($params), "Google_Service_Spanner_CommitResponse");
+ }
+ /**
+ * Creates a new session. A session can be used to perform transactions that
+ * read and/or modify data in a Cloud Spanner database. Sessions are meant to be
+ * reused for many consecutive transactions.
+ *
+ * Sessions can only execute one transaction at a time. To execute multiple
+ * concurrent read-write/write-only transactions, create multiple sessions. Note
+ * that standalone reads and queries use a transaction internally, and count
+ * toward the one transaction limit.
+ *
+ * Cloud Spanner limits the number of sessions that can exist at any given time;
+ * thus, it is a good idea to delete idle and/or unneeded sessions. Aside from
+ * explicit deletes, Cloud Spanner can delete sessions for which no operations
+ * are sent for more than an hour, or due to internal errors. If a session is
+ * deleted, requests to it return `NOT_FOUND`.
+ *
+ * Idle sessions can be kept alive by sending a trivial SQL query periodically,
+ * e.g., `"SELECT 1"`. (sessions.create)
+ *
+ * @param string $database Required. The database in which the new session is
+ * created.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_Session
+ */
+ public function create($database, $optParams = array())
+ {
+ $params = array('database' => $database);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Spanner_Session");
+ }
+ /**
+ * Ends a session, releasing server resources associated with it.
+ * (sessions.delete)
+ *
+ * @param string $name Required. The name of the session to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_SpannerEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Spanner_SpannerEmpty");
+ }
+ /**
+ * Executes an SQL query, returning all rows in a single reply. This method
+ * cannot be used to return a result set larger than 10 MiB; if the query yields
+ * more data than that, the query fails with a `FAILED_PRECONDITION` error.
+ *
+ * Queries inside read-write transactions might return `ABORTED`. If this
+ * occurs, the application should restart the transaction from the beginning.
+ * See Transaction for more details.
+ *
+ * Larger result sets can be fetched in streaming fashion by calling
+ * ExecuteStreamingSql instead. (sessions.executeSql)
+ *
+ * @param string $session Required. The session in which the SQL query should be
+ * performed.
+ * @param Google_Service_Spanner_ExecuteSqlRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_ResultSet
+ */
+ public function executeSql($session, Google_Service_Spanner_ExecuteSqlRequest $postBody, $optParams = array())
+ {
+ $params = array('session' => $session, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('executeSql', array($params), "Google_Service_Spanner_ResultSet");
+ }
+ /**
+ * Like ExecuteSql, except returns the result set as a stream. Unlike
+ * ExecuteSql, there is no limit on the size of the returned result set.
+ * However, no individual row in the result set can exceed 100 MiB, and no
+ * column value can exceed 10 MiB. (sessions.executeStreamingSql)
+ *
+ * @param string $session Required. The session in which the SQL query should be
+ * performed.
+ * @param Google_Service_Spanner_ExecuteSqlRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_PartialResultSet
+ */
+ public function executeStreamingSql($session, Google_Service_Spanner_ExecuteSqlRequest $postBody, $optParams = array())
+ {
+ $params = array('session' => $session, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('executeStreamingSql', array($params), "Google_Service_Spanner_PartialResultSet");
+ }
+ /**
+ * Gets a session. Returns `NOT_FOUND` if the session does not exist. This is
+ * mainly useful for determining whether a session is still alive.
+ * (sessions.get)
+ *
+ * @param string $name Required. The name of the session to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_Session
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Spanner_Session");
+ }
+ /**
+ * Reads rows from the database using key lookups and scans, as a simple
+ * key/value style alternative to ExecuteSql. This method cannot be used to
+ * return a result set larger than 10 MiB; if the read matches more data than
+ * that, the read fails with a `FAILED_PRECONDITION` error.
+ *
+ * Reads inside read-write transactions might return `ABORTED`. If this occurs,
+ * the application should restart the transaction from the beginning. See
+ * Transaction for more details.
+ *
+ * Larger result sets can be yielded in streaming fashion by calling
+ * StreamingRead instead. (sessions.read)
+ *
+ * @param string $session Required. The session in which the read should be
+ * performed.
+ * @param Google_Service_Spanner_ReadRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_ResultSet
+ */
+ public function read($session, Google_Service_Spanner_ReadRequest $postBody, $optParams = array())
+ {
+ $params = array('session' => $session, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('read', array($params), "Google_Service_Spanner_ResultSet");
+ }
+ /**
+ * Rolls back a transaction, releasing any locks it holds. It is a good idea to
+ * call this for any transaction that includes one or more Read or ExecuteSql
+ * requests and ultimately decides not to commit.
+ *
+ * `Rollback` returns `OK` if it successfully aborts the transaction, the
+ * transaction was already aborted, or the transaction is not found. `Rollback`
+ * never returns `ABORTED`. (sessions.rollback)
+ *
+ * @param string $session Required. The session in which the transaction to roll
+ * back is running.
+ * @param Google_Service_Spanner_RollbackRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_SpannerEmpty
+ */
+ public function rollback($session, Google_Service_Spanner_RollbackRequest $postBody, $optParams = array())
+ {
+ $params = array('session' => $session, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('rollback', array($params), "Google_Service_Spanner_SpannerEmpty");
+ }
+ /**
+ * Like Read, except returns the result set as a stream. Unlike Read, there is
+ * no limit on the size of the returned result set. However, no individual row
+ * in the result set can exceed 100 MiB, and no column value can exceed 10 MiB.
+ * (sessions.streamingRead)
+ *
+ * @param string $session Required. The session in which the read should be
+ * performed.
+ * @param Google_Service_Spanner_ReadRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_PartialResultSet
+ */
+ public function streamingRead($session, Google_Service_Spanner_ReadRequest $postBody, $optParams = array())
+ {
+ $params = array('session' => $session, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('streamingRead', array($params), "Google_Service_Spanner_PartialResultSet");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesOperations.php
new file mode 100644
index 00000000..420aff65
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesOperations.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $spannerService = new Google_Service_Spanner(...);
+ * $operations = $spannerService->operations;
+ * </code>
+ */
+class Google_Service_Spanner_Resource_ProjectsInstancesOperations extends Google_Service_Resource
+{
+ /**
+ * Starts asynchronous cancellation on a long-running operation. The server
+ * makes a best effort to cancel the operation, but success is not guaranteed.
+ * If the server doesn't support this method, it returns
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
+ * other methods to check whether the cancellation succeeded or whether the
+ * operation completed despite cancellation. On successful cancellation, the
+ * operation is not deleted; instead, it becomes an operation with an
+ * Operation.error value with a google.rpc.Status.code of 1, corresponding to
+ * `Code.CANCELLED`. (operations.cancel)
+ *
+ * @param string $name The name of the operation resource to be cancelled.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_SpannerEmpty
+ */
+ public function cancel($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_Spanner_SpannerEmpty");
+ }
+ /**
+ * Deletes a long-running operation. This method indicates that the client is no
+ * longer interested in the operation result. It does not cancel the operation.
+ * If the server doesn't support this method, it returns
+ * `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
+ *
+ * @param string $name The name of the operation resource to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_SpannerEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Spanner_SpannerEmpty");
+ }
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this
+ * method to poll the operation result at intervals as recommended by the API
+ * service. (operations.get)
+ *
+ * @param string $name The name of the operation resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spanner_Operation
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Spanner_Operation");
+ }
+ /**
+ * Lists operations that match the specified filter in the request. If the
+ * server doesn't support this method, it returns `UNIMPLEMENTED`.
+ *
+ * NOTE: the `name` binding below allows API services to override the binding to
+ * use different resource name schemes, such as `users/operations`.
+ * (operations.listProjectsInstancesOperations)
+ *
+ * @param string $name The name of the operation collection.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter The standard list filter.
+ * @opt_param string pageToken The standard list page token.
+ * @opt_param int pageSize The standard list page size.
+ * @return Google_Service_Spanner_ListOperationsResponse
+ */
+ public function listProjectsInstancesOperations($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Spanner_ListOperationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSet.php
new file mode 100644
index 00000000..3a9b8f5a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSet.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_ResultSet extends Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $metadataType = 'Google_Service_Spanner_ResultSetMetadata';
+ protected $metadataDataType = '';
+ public $rows;
+ protected $statsType = 'Google_Service_Spanner_ResultSetStats';
+ protected $statsDataType = '';
+
+ public function setMetadata(Google_Service_Spanner_ResultSetMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+ public function setStats(Google_Service_Spanner_ResultSetStats $stats)
+ {
+ $this->stats = $stats;
+ }
+ public function getStats()
+ {
+ return $this->stats;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSetMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSetMetadata.php
new file mode 100644
index 00000000..11420c85
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSetMetadata.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_ResultSetMetadata extends Google_Model
+{
+ protected $rowTypeType = 'Google_Service_Spanner_StructType';
+ protected $rowTypeDataType = '';
+ protected $transactionType = 'Google_Service_Spanner_Transaction';
+ protected $transactionDataType = '';
+
+ public function setRowType(Google_Service_Spanner_StructType $rowType)
+ {
+ $this->rowType = $rowType;
+ }
+ public function getRowType()
+ {
+ return $this->rowType;
+ }
+ public function setTransaction(Google_Service_Spanner_Transaction $transaction)
+ {
+ $this->transaction = $transaction;
+ }
+ public function getTransaction()
+ {
+ return $this->transaction;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSetStats.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSetStats.php
new file mode 100644
index 00000000..a73f1f74
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSetStats.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_ResultSetStats extends Google_Model
+{
+ protected $queryPlanType = 'Google_Service_Spanner_QueryPlan';
+ protected $queryPlanDataType = '';
+ public $queryStats;
+
+ public function setQueryPlan(Google_Service_Spanner_QueryPlan $queryPlan)
+ {
+ $this->queryPlan = $queryPlan;
+ }
+ public function getQueryPlan()
+ {
+ return $this->queryPlan;
+ }
+ public function setQueryStats($queryStats)
+ {
+ $this->queryStats = $queryStats;
+ }
+ public function getQueryStats()
+ {
+ return $this->queryStats;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/RollbackRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/RollbackRequest.php
new file mode 100644
index 00000000..0be0fb94
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/RollbackRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_RollbackRequest extends Google_Model
+{
+ public $transactionId;
+
+ public function setTransactionId($transactionId)
+ {
+ $this->transactionId = $transactionId;
+ }
+ public function getTransactionId()
+ {
+ return $this->transactionId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Rule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Rule.php
new file mode 100644
index 00000000..f18b4535
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Rule.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_Rule extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $action;
+ protected $conditionsType = 'Google_Service_Spanner_Condition';
+ protected $conditionsDataType = 'array';
+ public $description;
+ public $in;
+ protected $logConfigType = 'Google_Service_Spanner_LogConfig';
+ protected $logConfigDataType = 'array';
+ public $notIn;
+ public $permissions;
+
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setConditions($conditions)
+ {
+ $this->conditions = $conditions;
+ }
+ public function getConditions()
+ {
+ return $this->conditions;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setIn($in)
+ {
+ $this->in = $in;
+ }
+ public function getIn()
+ {
+ return $this->in;
+ }
+ public function setLogConfig($logConfig)
+ {
+ $this->logConfig = $logConfig;
+ }
+ public function getLogConfig()
+ {
+ return $this->logConfig;
+ }
+ public function setNotIn($notIn)
+ {
+ $this->notIn = $notIn;
+ }
+ public function getNotIn()
+ {
+ return $this->notIn;
+ }
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Session.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Session.php
new file mode 100644
index 00000000..db026987
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Session.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_Session extends Google_Model
+{
+ public $name;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/SetIamPolicyRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/SetIamPolicyRequest.php
new file mode 100644
index 00000000..81e0e7d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/SetIamPolicyRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_SetIamPolicyRequest extends Google_Model
+{
+ protected $policyType = 'Google_Service_Spanner_Policy';
+ protected $policyDataType = '';
+ public $updateMask;
+
+ public function setPolicy(Google_Service_Spanner_Policy $policy)
+ {
+ $this->policy = $policy;
+ }
+ public function getPolicy()
+ {
+ return $this->policy;
+ }
+ public function setUpdateMask($updateMask)
+ {
+ $this->updateMask = $updateMask;
+ }
+ public function getUpdateMask()
+ {
+ return $this->updateMask;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ShortRepresentation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ShortRepresentation.php
new file mode 100644
index 00000000..7237aa9a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ShortRepresentation.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_ShortRepresentation extends Google_Model
+{
+ public $description;
+ public $subqueries;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setSubqueries($subqueries)
+ {
+ $this->subqueries = $subqueries;
+ }
+ public function getSubqueries()
+ {
+ return $this->subqueries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/SpannerEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/SpannerEmpty.php
new file mode 100644
index 00000000..5971dd81
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/SpannerEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_SpannerEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Status.php
new file mode 100644
index 00000000..81f68f10
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/StructType.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/StructType.php
new file mode 100644
index 00000000..23b6ba38
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/StructType.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_StructType extends Google_Collection
+{
+ protected $collection_key = 'fields';
+ protected $fieldsType = 'Google_Service_Spanner_Field';
+ protected $fieldsDataType = 'array';
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TestIamPermissionsRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TestIamPermissionsRequest.php
new file mode 100644
index 00000000..c2e7ecf0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TestIamPermissionsRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_TestIamPermissionsRequest extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TestIamPermissionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TestIamPermissionsResponse.php
new file mode 100644
index 00000000..c8448717
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TestIamPermissionsResponse.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_TestIamPermissionsResponse extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $permissions;
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Transaction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Transaction.php
new file mode 100644
index 00000000..3b099486
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Transaction.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_Transaction extends Google_Model
+{
+ public $id;
+ public $readTimestamp;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setReadTimestamp($readTimestamp)
+ {
+ $this->readTimestamp = $readTimestamp;
+ }
+ public function getReadTimestamp()
+ {
+ return $this->readTimestamp;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TransactionOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TransactionOptions.php
new file mode 100644
index 00000000..67996659
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TransactionOptions.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_TransactionOptions extends Google_Model
+{
+ protected $readOnlyType = 'Google_Service_Spanner_ReadOnly';
+ protected $readOnlyDataType = '';
+ protected $readWriteType = 'Google_Service_Spanner_ReadWrite';
+ protected $readWriteDataType = '';
+
+ public function setReadOnly(Google_Service_Spanner_ReadOnly $readOnly)
+ {
+ $this->readOnly = $readOnly;
+ }
+ public function getReadOnly()
+ {
+ return $this->readOnly;
+ }
+ public function setReadWrite(Google_Service_Spanner_ReadWrite $readWrite)
+ {
+ $this->readWrite = $readWrite;
+ }
+ public function getReadWrite()
+ {
+ return $this->readWrite;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TransactionSelector.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TransactionSelector.php
new file mode 100644
index 00000000..17021fce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TransactionSelector.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_TransactionSelector extends Google_Model
+{
+ protected $beginType = 'Google_Service_Spanner_TransactionOptions';
+ protected $beginDataType = '';
+ public $id;
+ protected $singleUseType = 'Google_Service_Spanner_TransactionOptions';
+ protected $singleUseDataType = '';
+
+ public function setBegin(Google_Service_Spanner_TransactionOptions $begin)
+ {
+ $this->begin = $begin;
+ }
+ public function getBegin()
+ {
+ return $this->begin;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setSingleUse(Google_Service_Spanner_TransactionOptions $singleUse)
+ {
+ $this->singleUse = $singleUse;
+ }
+ public function getSingleUse()
+ {
+ return $this->singleUse;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Type.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Type.php
new file mode 100644
index 00000000..92ae0313
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Type.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_Type extends Google_Model
+{
+ protected $arrayElementTypeType = 'Google_Service_Spanner_Type';
+ protected $arrayElementTypeDataType = '';
+ public $code;
+ protected $structTypeType = 'Google_Service_Spanner_StructType';
+ protected $structTypeDataType = '';
+
+ public function setArrayElementType(Google_Service_Spanner_Type $arrayElementType)
+ {
+ $this->arrayElementType = $arrayElementType;
+ }
+ public function getArrayElementType()
+ {
+ return $this->arrayElementType;
+ }
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setStructType(Google_Service_Spanner_StructType $structType)
+ {
+ $this->structType = $structType;
+ }
+ public function getStructType()
+ {
+ return $this->structType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateDatabaseDdlMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateDatabaseDdlMetadata.php
new file mode 100644
index 00000000..0c848dbe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateDatabaseDdlMetadata.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_UpdateDatabaseDdlMetadata extends Google_Collection
+{
+ protected $collection_key = 'statements';
+ public $commitTimestamps;
+ public $database;
+ public $statements;
+
+ public function setCommitTimestamps($commitTimestamps)
+ {
+ $this->commitTimestamps = $commitTimestamps;
+ }
+ public function getCommitTimestamps()
+ {
+ return $this->commitTimestamps;
+ }
+ public function setDatabase($database)
+ {
+ $this->database = $database;
+ }
+ public function getDatabase()
+ {
+ return $this->database;
+ }
+ public function setStatements($statements)
+ {
+ $this->statements = $statements;
+ }
+ public function getStatements()
+ {
+ return $this->statements;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateDatabaseDdlRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateDatabaseDdlRequest.php
new file mode 100644
index 00000000..9bbe073f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateDatabaseDdlRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_UpdateDatabaseDdlRequest extends Google_Collection
+{
+ protected $collection_key = 'statements';
+ public $operationId;
+ public $statements;
+
+ public function setOperationId($operationId)
+ {
+ $this->operationId = $operationId;
+ }
+ public function getOperationId()
+ {
+ return $this->operationId;
+ }
+ public function setStatements($statements)
+ {
+ $this->statements = $statements;
+ }
+ public function getStatements()
+ {
+ return $this->statements;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateInstanceMetadata.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateInstanceMetadata.php
new file mode 100644
index 00000000..6a909d33
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateInstanceMetadata.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_UpdateInstanceMetadata extends Google_Model
+{
+ public $cancelTime;
+ public $endTime;
+ protected $instanceType = 'Google_Service_Spanner_Instance';
+ protected $instanceDataType = '';
+ public $startTime;
+
+ public function setCancelTime($cancelTime)
+ {
+ $this->cancelTime = $cancelTime;
+ }
+ public function getCancelTime()
+ {
+ return $this->cancelTime;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setInstance(Google_Service_Spanner_Instance $instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateInstanceRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateInstanceRequest.php
new file mode 100644
index 00000000..d3dc0068
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateInstanceRequest.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_UpdateInstanceRequest extends Google_Model
+{
+ public $fieldMask;
+ protected $instanceType = 'Google_Service_Spanner_Instance';
+ protected $instanceDataType = '';
+
+ public function setFieldMask($fieldMask)
+ {
+ $this->fieldMask = $fieldMask;
+ }
+ public function getFieldMask()
+ {
+ return $this->fieldMask;
+ }
+ public function setInstance(Google_Service_Spanner_Instance $instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Write.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Write.php
new file mode 100644
index 00000000..c4fcfe07
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Write.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spanner_Write extends Google_Collection
+{
+ protected $collection_key = 'values';
+ public $columns;
+ public $table;
+ public $values;
+
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+ public function setTable($table)
+ {
+ $this->table = $table;
+ }
+ public function getTable()
+ {
+ return $this->table;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum.php
new file mode 100644
index 00000000..7109a61b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum extends Google_Service
+{
+
+
+ public $paws;
+
+ /**
+ * Constructs the internal representation of the Spectrum service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'spectrum/v1explorer/paws/';
+ $this->version = 'v1explorer';
+ $this->serviceName = 'spectrum';
+
+ $this->paws = new Google_Service_Spectrum_Resource_Paws(
+ $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(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/AntennaCharacteristics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/AntennaCharacteristics.php
new file mode 100644
index 00000000..ac4f9651
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/AntennaCharacteristics.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_AntennaCharacteristics extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DatabaseSpec.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DatabaseSpec.php
new file mode 100644
index 00000000..eaead15d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DatabaseSpec.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_DatabaseSpec extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DbUpdateSpec.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DbUpdateSpec.php
new file mode 100644
index 00000000..7252bc2a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DbUpdateSpec.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_DbUpdateSpec extends Google_Collection
+{
+ protected $collection_key = 'databases';
+ protected $databasesType = 'Google_Service_Spectrum_DatabaseSpec';
+ protected $databasesDataType = 'array';
+
+ public function setDatabases($databases)
+ {
+ $this->databases = $databases;
+ }
+ public function getDatabases()
+ {
+ return $this->databases;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceCapabilities.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceCapabilities.php
new file mode 100644
index 00000000..3039fc9a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceCapabilities.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_DeviceCapabilities extends Google_Collection
+{
+ protected $collection_key = 'frequencyRanges';
+ protected $frequencyRangesType = 'Google_Service_Spectrum_FrequencyRange';
+ protected $frequencyRangesDataType = 'array';
+
+ public function setFrequencyRanges($frequencyRanges)
+ {
+ $this->frequencyRanges = $frequencyRanges;
+ }
+ public function getFrequencyRanges()
+ {
+ return $this->frequencyRanges;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceDescriptor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceDescriptor.php
new file mode 100644
index 00000000..555d9df1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceDescriptor.php
@@ -0,0 +1,112 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_DeviceDescriptor extends Google_Collection
+{
+ protected $collection_key = 'rulesetIds';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceOwner.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceOwner.php
new file mode 100644
index 00000000..9e15e502
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceOwner.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_DeviceOwner extends Google_Model
+{
+ protected $operatorType = 'Google_Service_Spectrum_Vcard';
+ protected $operatorDataType = '';
+ protected $ownerType = 'Google_Service_Spectrum_Vcard';
+ protected $ownerDataType = '';
+
+ public function setOperator(Google_Service_Spectrum_Vcard $operator)
+ {
+ $this->operator = $operator;
+ }
+ public function getOperator()
+ {
+ return $this->operator;
+ }
+ public function setOwner(Google_Service_Spectrum_Vcard $owner)
+ {
+ $this->owner = $owner;
+ }
+ public function getOwner()
+ {
+ return $this->owner;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceValidity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceValidity.php
new file mode 100644
index 00000000..763d9b27
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceValidity.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_DeviceValidity extends Google_Model
+{
+ protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescDataType = '';
+ public $isValid;
+ public $reason;
+
+ public function setDeviceDesc(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/EventTime.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/EventTime.php
new file mode 100644
index 00000000..16835fb3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/EventTime.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_EventTime extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/FrequencyRange.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/FrequencyRange.php
new file mode 100644
index 00000000..1c92156f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/FrequencyRange.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_FrequencyRange extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocation.php
new file mode 100644
index 00000000..4b6d0026
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocation.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_GeoLocation extends Google_Model
+{
+ public $confidence;
+ protected $pointType = 'Google_Service_Spectrum_GeoLocationEllipse';
+ protected $pointDataType = '';
+ protected $regionType = 'Google_Service_Spectrum_GeoLocationPolygon';
+ protected $regionDataType = '';
+
+ public function setConfidence($confidence)
+ {
+ $this->confidence = $confidence;
+ }
+ public function getConfidence()
+ {
+ return $this->confidence;
+ }
+ public function setPoint(Google_Service_Spectrum_GeoLocationEllipse $point)
+ {
+ $this->point = $point;
+ }
+ public function getPoint()
+ {
+ return $this->point;
+ }
+ public function setRegion(Google_Service_Spectrum_GeoLocationPolygon $region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationEllipse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationEllipse.php
new file mode 100644
index 00000000..ab7f4346
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationEllipse.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_GeoLocationEllipse extends Google_Model
+{
+ protected $centerType = 'Google_Service_Spectrum_GeoLocationPoint';
+ protected $centerDataType = '';
+ public $orientation;
+ public $semiMajorAxis;
+ public $semiMinorAxis;
+
+ public function setCenter(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationPoint.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationPoint.php
new file mode 100644
index 00000000..3d87cf7c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationPoint.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_GeoLocationPoint extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationPolygon.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationPolygon.php
new file mode 100644
index 00000000..01c3e30c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationPolygon.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_GeoLocationPolygon extends Google_Collection
+{
+ protected $collection_key = 'exterior';
+ protected $exteriorType = 'Google_Service_Spectrum_GeoLocationPoint';
+ protected $exteriorDataType = 'array';
+
+ public function setExterior($exterior)
+ {
+ $this->exterior = $exterior;
+ }
+ public function getExterior()
+ {
+ return $this->exterior;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoSpectrumSchedule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoSpectrumSchedule.php
new file mode 100644
index 00000000..b8babd80
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoSpectrumSchedule.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_GeoSpectrumSchedule extends Google_Collection
+{
+ protected $collection_key = 'spectrumSchedules';
+ protected $locationType = 'Google_Service_Spectrum_GeoLocation';
+ protected $locationDataType = '';
+ protected $spectrumSchedulesType = 'Google_Service_Spectrum_SpectrumSchedule';
+ protected $spectrumSchedulesDataType = 'array';
+
+ public function setLocation(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumBatchRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumBatchRequest.php
new file mode 100644
index 00000000..ca0529f6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumBatchRequest.php
@@ -0,0 +1,109 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_PawsGetSpectrumBatchRequest extends Google_Collection
+{
+ protected $collection_key = 'locations';
+ protected $antennaType = 'Google_Service_Spectrum_AntennaCharacteristics';
+ protected $antennaDataType = '';
+ protected $capabilitiesType = 'Google_Service_Spectrum_DeviceCapabilities';
+ protected $capabilitiesDataType = '';
+ protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescDataType = '';
+ protected $locationsType = 'Google_Service_Spectrum_GeoLocation';
+ protected $locationsDataType = 'array';
+ protected $masterDeviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
+ protected $masterDeviceDescDataType = '';
+ protected $ownerType = 'Google_Service_Spectrum_DeviceOwner';
+ protected $ownerDataType = '';
+ public $requestType;
+ public $type;
+ public $version;
+
+ public function setAntenna(Google_Service_Spectrum_AntennaCharacteristics $antenna)
+ {
+ $this->antenna = $antenna;
+ }
+ public function getAntenna()
+ {
+ return $this->antenna;
+ }
+ public function setCapabilities(Google_Service_Spectrum_DeviceCapabilities $capabilities)
+ {
+ $this->capabilities = $capabilities;
+ }
+ public function getCapabilities()
+ {
+ return $this->capabilities;
+ }
+ public function setDeviceDesc(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(Google_Service_Spectrum_DeviceDescriptor $masterDeviceDesc)
+ {
+ $this->masterDeviceDesc = $masterDeviceDesc;
+ }
+ public function getMasterDeviceDesc()
+ {
+ return $this->masterDeviceDesc;
+ }
+ public function setOwner(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumBatchResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumBatchResponse.php
new file mode 100644
index 00000000..b0215fc9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumBatchResponse.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_PawsGetSpectrumBatchResponse extends Google_Collection
+{
+ protected $collection_key = 'geoSpectrumSchedules';
+ protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec';
+ protected $databaseChangeDataType = '';
+ protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescDataType = '';
+ protected $geoSpectrumSchedulesType = 'Google_Service_Spectrum_GeoSpectrumSchedule';
+ protected $geoSpectrumSchedulesDataType = 'array';
+ public $kind;
+ public $maxContiguousBwHz;
+ public $maxTotalBwHz;
+ public $needsSpectrumReport;
+ protected $rulesetInfoType = 'Google_Service_Spectrum_RulesetInfo';
+ protected $rulesetInfoDataType = '';
+ public $timestamp;
+ public $type;
+ public $version;
+
+ public function setDatabaseChange(Google_Service_Spectrum_DbUpdateSpec $databaseChange)
+ {
+ $this->databaseChange = $databaseChange;
+ }
+ public function getDatabaseChange()
+ {
+ return $this->databaseChange;
+ }
+ public function setDeviceDesc(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumRequest.php
new file mode 100644
index 00000000..5c12166d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumRequest.php
@@ -0,0 +1,108 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_PawsGetSpectrumRequest extends Google_Model
+{
+ protected $antennaType = 'Google_Service_Spectrum_AntennaCharacteristics';
+ protected $antennaDataType = '';
+ protected $capabilitiesType = 'Google_Service_Spectrum_DeviceCapabilities';
+ protected $capabilitiesDataType = '';
+ protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescDataType = '';
+ protected $locationType = 'Google_Service_Spectrum_GeoLocation';
+ protected $locationDataType = '';
+ protected $masterDeviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
+ protected $masterDeviceDescDataType = '';
+ protected $ownerType = 'Google_Service_Spectrum_DeviceOwner';
+ protected $ownerDataType = '';
+ public $requestType;
+ public $type;
+ public $version;
+
+ public function setAntenna(Google_Service_Spectrum_AntennaCharacteristics $antenna)
+ {
+ $this->antenna = $antenna;
+ }
+ public function getAntenna()
+ {
+ return $this->antenna;
+ }
+ public function setCapabilities(Google_Service_Spectrum_DeviceCapabilities $capabilities)
+ {
+ $this->capabilities = $capabilities;
+ }
+ public function getCapabilities()
+ {
+ return $this->capabilities;
+ }
+ public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
+ {
+ $this->deviceDesc = $deviceDesc;
+ }
+ public function getDeviceDesc()
+ {
+ return $this->deviceDesc;
+ }
+ public function setLocation(Google_Service_Spectrum_GeoLocation $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMasterDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $masterDeviceDesc)
+ {
+ $this->masterDeviceDesc = $masterDeviceDesc;
+ }
+ public function getMasterDeviceDesc()
+ {
+ return $this->masterDeviceDesc;
+ }
+ public function setOwner(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumResponse.php
new file mode 100644
index 00000000..a8ee0869
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumResponse.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_PawsGetSpectrumResponse extends Google_Collection
+{
+ protected $collection_key = 'spectrumSchedules';
+ protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec';
+ protected $databaseChangeDataType = '';
+ protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescDataType = '';
+ public $kind;
+ public $maxContiguousBwHz;
+ public $maxTotalBwHz;
+ public $needsSpectrumReport;
+ protected $rulesetInfoType = 'Google_Service_Spectrum_RulesetInfo';
+ protected $rulesetInfoDataType = '';
+ protected $spectrumSchedulesType = 'Google_Service_Spectrum_SpectrumSchedule';
+ protected $spectrumSchedulesDataType = 'array';
+ public $timestamp;
+ public $type;
+ public $version;
+
+ public function setDatabaseChange(Google_Service_Spectrum_DbUpdateSpec $databaseChange)
+ {
+ $this->databaseChange = $databaseChange;
+ }
+ public function getDatabaseChange()
+ {
+ return $this->databaseChange;
+ }
+ public function setDeviceDesc(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsInitRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsInitRequest.php
new file mode 100644
index 00000000..ceb20f80
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsInitRequest.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_PawsInitRequest extends Google_Model
+{
+ protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescDataType = '';
+ protected $locationType = 'Google_Service_Spectrum_GeoLocation';
+ protected $locationDataType = '';
+ public $type;
+ public $version;
+
+ public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
+ {
+ $this->deviceDesc = $deviceDesc;
+ }
+ public function getDeviceDesc()
+ {
+ return $this->deviceDesc;
+ }
+ public function setLocation(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsInitResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsInitResponse.php
new file mode 100644
index 00000000..444b11ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsInitResponse.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_PawsInitResponse extends Google_Model
+{
+ protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec';
+ protected $databaseChangeDataType = '';
+ public $kind;
+ protected $rulesetInfoType = 'Google_Service_Spectrum_RulesetInfo';
+ protected $rulesetInfoDataType = '';
+ public $type;
+ public $version;
+
+ public function setDatabaseChange(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsNotifySpectrumUseRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsNotifySpectrumUseRequest.php
new file mode 100644
index 00000000..5d3dcf15
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsNotifySpectrumUseRequest.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_PawsNotifySpectrumUseRequest extends Google_Collection
+{
+ protected $collection_key = 'spectra';
+ protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescDataType = '';
+ protected $locationType = 'Google_Service_Spectrum_GeoLocation';
+ protected $locationDataType = '';
+ protected $spectraType = 'Google_Service_Spectrum_SpectrumMessage';
+ protected $spectraDataType = 'array';
+ public $type;
+ public $version;
+
+ public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
+ {
+ $this->deviceDesc = $deviceDesc;
+ }
+ public function getDeviceDesc()
+ {
+ return $this->deviceDesc;
+ }
+ public function setLocation(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsNotifySpectrumUseResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsNotifySpectrumUseResponse.php
new file mode 100644
index 00000000..e4480b4d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsNotifySpectrumUseResponse.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_PawsNotifySpectrumUseResponse extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsRegisterRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsRegisterRequest.php
new file mode 100644
index 00000000..b6a1f9d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsRegisterRequest.php
@@ -0,0 +1,79 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_PawsRegisterRequest extends Google_Model
+{
+ protected $antennaType = 'Google_Service_Spectrum_AntennaCharacteristics';
+ protected $antennaDataType = '';
+ protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescDataType = '';
+ protected $deviceOwnerType = 'Google_Service_Spectrum_DeviceOwner';
+ protected $deviceOwnerDataType = '';
+ protected $locationType = 'Google_Service_Spectrum_GeoLocation';
+ protected $locationDataType = '';
+ public $type;
+ public $version;
+
+ public function setAntenna(Google_Service_Spectrum_AntennaCharacteristics $antenna)
+ {
+ $this->antenna = $antenna;
+ }
+ public function getAntenna()
+ {
+ return $this->antenna;
+ }
+ public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
+ {
+ $this->deviceDesc = $deviceDesc;
+ }
+ public function getDeviceDesc()
+ {
+ return $this->deviceDesc;
+ }
+ public function setDeviceOwner(Google_Service_Spectrum_DeviceOwner $deviceOwner)
+ {
+ $this->deviceOwner = $deviceOwner;
+ }
+ public function getDeviceOwner()
+ {
+ return $this->deviceOwner;
+ }
+ public function setLocation(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsRegisterResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsRegisterResponse.php
new file mode 100644
index 00000000..99e8d08c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsRegisterResponse.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_PawsRegisterResponse extends Google_Model
+{
+ protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec';
+ protected $databaseChangeDataType = '';
+ public $kind;
+ public $type;
+ public $version;
+
+ public function setDatabaseChange(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsVerifyDeviceRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsVerifyDeviceRequest.php
new file mode 100644
index 00000000..93d1ef35
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsVerifyDeviceRequest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_PawsVerifyDeviceRequest extends Google_Collection
+{
+ protected $collection_key = 'deviceDescs';
+ protected $deviceDescsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsVerifyDeviceResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsVerifyDeviceResponse.php
new file mode 100644
index 00000000..2ad6777e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsVerifyDeviceResponse.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_PawsVerifyDeviceResponse extends Google_Collection
+{
+ protected $collection_key = 'deviceValidities';
+ protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec';
+ protected $databaseChangeDataType = '';
+ protected $deviceValiditiesType = 'Google_Service_Spectrum_DeviceValidity';
+ protected $deviceValiditiesDataType = 'array';
+ public $kind;
+ public $type;
+ public $version;
+
+ public function setDatabaseChange(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/Resource/Paws.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/Resource/Paws.php
new file mode 100644
index 00000000..f7e30223
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/Resource/Paws.php
@@ -0,0 +1,117 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "paws" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $spectrumService = new Google_Service_Spectrum(...);
+ * $paws = $spectrumService->paws;
+ * </code>
+ */
+class Google_Service_Spectrum_Resource_Paws extends 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 Google_Service_Spectrum_PawsGetSpectrumRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spectrum_PawsGetSpectrumResponse
+ */
+ public function getSpectrum(Google_Service_Spectrum_PawsGetSpectrumRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getSpectrum', array($params), "Google_Service_Spectrum_PawsGetSpectrumResponse");
+ }
+ /**
+ * The Google Spectrum Database does not support batch requests, so this method
+ * always yields an UNIMPLEMENTED error. (paws.getSpectrumBatch)
+ *
+ * @param Google_Service_Spectrum_PawsGetSpectrumBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spectrum_PawsGetSpectrumBatchResponse
+ */
+ public function getSpectrumBatch(Google_Service_Spectrum_PawsGetSpectrumBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getSpectrumBatch', array($params), "Google_Service_Spectrum_PawsGetSpectrumBatchResponse");
+ }
+ /**
+ * Initializes the connection between a white space device and the database.
+ * (paws.init)
+ *
+ * @param Google_Service_Spectrum_PawsInitRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spectrum_PawsInitResponse
+ */
+ public function init(Google_Service_Spectrum_PawsInitRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('init', array($params), "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 Google_Service_Spectrum_PawsNotifySpectrumUseRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spectrum_PawsNotifySpectrumUseResponse
+ */
+ public function notifySpectrumUse(Google_Service_Spectrum_PawsNotifySpectrumUseRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('notifySpectrumUse', array($params), "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 Google_Service_Spectrum_PawsRegisterRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spectrum_PawsRegisterResponse
+ */
+ public function register(Google_Service_Spectrum_PawsRegisterRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('register', array($params), "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 Google_Service_Spectrum_PawsVerifyDeviceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Spectrum_PawsVerifyDeviceResponse
+ */
+ public function verifyDevice(Google_Service_Spectrum_PawsVerifyDeviceRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('verifyDevice', array($params), "Google_Service_Spectrum_PawsVerifyDeviceResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/RulesetInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/RulesetInfo.php
new file mode 100644
index 00000000..89f01215
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/RulesetInfo.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_RulesetInfo extends Google_Collection
+{
+ protected $collection_key = 'rulesetIds';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/SpectrumMessage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/SpectrumMessage.php
new file mode 100644
index 00000000..a1cb27b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/SpectrumMessage.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_SpectrumMessage extends Google_Collection
+{
+ protected $collection_key = 'frequencyRanges';
+ public $bandwidth;
+ protected $frequencyRangesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/SpectrumSchedule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/SpectrumSchedule.php
new file mode 100644
index 00000000..f8085aba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/SpectrumSchedule.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_SpectrumSchedule extends Google_Collection
+{
+ protected $collection_key = 'spectra';
+ protected $eventTimeType = 'Google_Service_Spectrum_EventTime';
+ protected $eventTimeDataType = '';
+ protected $spectraType = 'Google_Service_Spectrum_SpectrumMessage';
+ protected $spectraDataType = 'array';
+
+ public function setEventTime(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/Vcard.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/Vcard.php
new file mode 100644
index 00000000..896bebc1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/Vcard.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_Vcard extends Google_Model
+{
+ protected $adrType = 'Google_Service_Spectrum_VcardAddress';
+ protected $adrDataType = '';
+ protected $emailType = 'Google_Service_Spectrum_VcardTypedText';
+ protected $emailDataType = '';
+ public $fn;
+ protected $orgType = 'Google_Service_Spectrum_VcardTypedText';
+ protected $orgDataType = '';
+ protected $telType = 'Google_Service_Spectrum_VcardTelephone';
+ protected $telDataType = '';
+
+ public function setAdr(Google_Service_Spectrum_VcardAddress $adr)
+ {
+ $this->adr = $adr;
+ }
+ public function getAdr()
+ {
+ return $this->adr;
+ }
+ public function setEmail(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(Google_Service_Spectrum_VcardTypedText $org)
+ {
+ $this->org = $org;
+ }
+ public function getOrg()
+ {
+ return $this->org;
+ }
+ public function setTel(Google_Service_Spectrum_VcardTelephone $tel)
+ {
+ $this->tel = $tel;
+ }
+ public function getTel()
+ {
+ return $this->tel;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardAddress.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardAddress.php
new file mode 100644
index 00000000..fde77cc2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardAddress.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_VcardAddress extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardTelephone.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardTelephone.php
new file mode 100644
index 00000000..afe4b5c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardTelephone.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_VcardTelephone extends Google_Model
+{
+ public $uri;
+
+ public function setUri($uri)
+ {
+ $this->uri = $uri;
+ }
+ public function getUri()
+ {
+ return $this->uri;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardTypedText.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardTypedText.php
new file mode 100644
index 00000000..f21f0a29
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardTypedText.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Spectrum_VcardTypedText extends Google_Model
+{
+ public $text;
+
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech.php
new file mode 100644
index 00000000..ce174d0d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech.php
@@ -0,0 +1,133 @@
+<?php
+/*
+ * Copyright 2016 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 Speech (v1beta1).
+ *
+ * <p>
+ * Google Cloud Speech API.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/speech/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Speech extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $operations;
+ public $speech;
+
+ /**
+ * Constructs the internal representation of the Speech service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://speech.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1beta1';
+ $this->serviceName = 'speech';
+
+ $this->operations = new Google_Service_Speech_Resource_Operations(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'v1beta1/operations/{+name}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1beta1/operations/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1beta1/operations/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1beta1/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->speech = new Google_Service_Speech_Resource_Speech(
+ $this,
+ $this->serviceName,
+ 'speech',
+ array(
+ 'methods' => array(
+ 'asyncrecognize' => array(
+ 'path' => 'v1beta1/speech:asyncrecognize',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'syncrecognize' => array(
+ 'path' => 'v1beta1/speech:syncrecognize',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/AsyncRecognizeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/AsyncRecognizeRequest.php
new file mode 100644
index 00000000..cdbfae6f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/AsyncRecognizeRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Speech_AsyncRecognizeRequest extends Google_Model
+{
+ protected $audioType = 'Google_Service_Speech_RecognitionAudio';
+ protected $audioDataType = '';
+ protected $configType = 'Google_Service_Speech_RecognitionConfig';
+ protected $configDataType = '';
+
+ public function setAudio(Google_Service_Speech_RecognitionAudio $audio)
+ {
+ $this->audio = $audio;
+ }
+ public function getAudio()
+ {
+ return $this->audio;
+ }
+ public function setConfig(Google_Service_Speech_RecognitionConfig $config)
+ {
+ $this->config = $config;
+ }
+ public function getConfig()
+ {
+ return $this->config;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/CancelOperationRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/CancelOperationRequest.php
new file mode 100644
index 00000000..f4692945
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/CancelOperationRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Speech_CancelOperationRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/ListOperationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/ListOperationsResponse.php
new file mode 100644
index 00000000..35514492
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/ListOperationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Speech_ListOperationsResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_Speech_Operation';
+ protected $operationsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Operation.php
new file mode 100644
index 00000000..f413dadd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Operation.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Speech_Operation extends Google_Model
+{
+ public $done;
+ protected $errorType = 'Google_Service_Speech_Status';
+ protected $errorDataType = '';
+ public $metadata;
+ public $name;
+ public $response;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_Speech_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setMetadata($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 setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/RecognitionAudio.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/RecognitionAudio.php
new file mode 100644
index 00000000..511a2425
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/RecognitionAudio.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Speech_RecognitionAudio extends Google_Model
+{
+ public $content;
+ public $uri;
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setUri($uri)
+ {
+ $this->uri = $uri;
+ }
+ public function getUri()
+ {
+ return $this->uri;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/RecognitionConfig.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/RecognitionConfig.php
new file mode 100644
index 00000000..03faa829
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/RecognitionConfig.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Speech_RecognitionConfig extends Google_Model
+{
+ public $encoding;
+ public $languageCode;
+ public $maxAlternatives;
+ public $profanityFilter;
+ public $sampleRate;
+ protected $speechContextType = 'Google_Service_Speech_SpeechContext';
+ protected $speechContextDataType = '';
+
+ public function setEncoding($encoding)
+ {
+ $this->encoding = $encoding;
+ }
+ public function getEncoding()
+ {
+ return $this->encoding;
+ }
+ public function setLanguageCode($languageCode)
+ {
+ $this->languageCode = $languageCode;
+ }
+ public function getLanguageCode()
+ {
+ return $this->languageCode;
+ }
+ public function setMaxAlternatives($maxAlternatives)
+ {
+ $this->maxAlternatives = $maxAlternatives;
+ }
+ public function getMaxAlternatives()
+ {
+ return $this->maxAlternatives;
+ }
+ public function setProfanityFilter($profanityFilter)
+ {
+ $this->profanityFilter = $profanityFilter;
+ }
+ public function getProfanityFilter()
+ {
+ return $this->profanityFilter;
+ }
+ public function setSampleRate($sampleRate)
+ {
+ $this->sampleRate = $sampleRate;
+ }
+ public function getSampleRate()
+ {
+ return $this->sampleRate;
+ }
+ public function setSpeechContext(Google_Service_Speech_SpeechContext $speechContext)
+ {
+ $this->speechContext = $speechContext;
+ }
+ public function getSpeechContext()
+ {
+ return $this->speechContext;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Resource/Operations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Resource/Operations.php
new file mode 100644
index 00000000..b8adab7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Resource/Operations.php
@@ -0,0 +1,102 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $speechService = new Google_Service_Speech(...);
+ * $operations = $speechService->operations;
+ * </code>
+ */
+class Google_Service_Speech_Resource_Operations extends Google_Service_Resource
+{
+ /**
+ * Starts asynchronous cancellation on a long-running operation. The server
+ * makes a best effort to cancel the operation, but success is not guaranteed.
+ * If the server doesn't support this method, it returns
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
+ * other methods to check whether the cancellation succeeded or whether the
+ * operation completed despite cancellation. On successful cancellation, the
+ * operation is not deleted; instead, it becomes an operation with an
+ * Operation.error value with a google.rpc.Status.code of 1, corresponding to
+ * `Code.CANCELLED`. (operations.cancel)
+ *
+ * @param string $name The name of the operation resource to be cancelled.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Speech_SpeechEmpty
+ */
+ public function cancel($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_Speech_SpeechEmpty");
+ }
+ /**
+ * Deletes a long-running operation. This method indicates that the client is no
+ * longer interested in the operation result. It does not cancel the operation.
+ * If the server doesn't support this method, it returns
+ * `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
+ *
+ * @param string $name The name of the operation resource to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Speech_SpeechEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Speech_SpeechEmpty");
+ }
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this
+ * method to poll the operation result at intervals as recommended by the API
+ * service. (operations.get)
+ *
+ * @param string $name The name of the operation resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Speech_Operation
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Speech_Operation");
+ }
+ /**
+ * Lists operations that match the specified filter in the request. If the
+ * server doesn't support this method, it returns `UNIMPLEMENTED`.
+ *
+ * NOTE: the `name` binding below allows API services to override the binding to
+ * use different resource name schemes, such as `users/operations`.
+ * (operations.listOperations)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter The standard list filter.
+ * @opt_param string name The name of the operation collection.
+ * @opt_param string pageToken The standard list page token.
+ * @opt_param int pageSize The standard list page size.
+ * @return Google_Service_Speech_ListOperationsResponse
+ */
+ public function listOperations($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Speech_ListOperationsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Resource/Speech.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Resource/Speech.php
new file mode 100644
index 00000000..17ebda33
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Resource/Speech.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "speech" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $speechService = new Google_Service_Speech(...);
+ * $speech = $speechService->speech;
+ * </code>
+ */
+class Google_Service_Speech_Resource_Speech extends Google_Service_Resource
+{
+ /**
+ * Performs asynchronous speech recognition: receive results via the
+ * [google.longrunning.Operations]
+ * (/speech/reference/rest/v1beta1/operations#Operation) interface. Returns
+ * either an `Operation.error` or an `Operation.response` which contains an
+ * `AsyncRecognizeResponse` message. (speech.asyncrecognize)
+ *
+ * @param Google_Service_Speech_AsyncRecognizeRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Speech_Operation
+ */
+ public function asyncrecognize(Google_Service_Speech_AsyncRecognizeRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('asyncrecognize', array($params), "Google_Service_Speech_Operation");
+ }
+ /**
+ * Performs synchronous speech recognition: receive results after all audio has
+ * been sent and processed. (speech.syncrecognize)
+ *
+ * @param Google_Service_Speech_SyncRecognizeRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Speech_SyncRecognizeResponse
+ */
+ public function syncrecognize(Google_Service_Speech_SyncRecognizeRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('syncrecognize', array($params), "Google_Service_Speech_SyncRecognizeResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechContext.php
new file mode 100644
index 00000000..3069cfc7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechContext.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Speech_SpeechContext extends Google_Collection
+{
+ protected $collection_key = 'phrases';
+ public $phrases;
+
+ public function setPhrases($phrases)
+ {
+ $this->phrases = $phrases;
+ }
+ public function getPhrases()
+ {
+ return $this->phrases;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechEmpty.php
new file mode 100644
index 00000000..53008888
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Speech_SpeechEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechRecognitionAlternative.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechRecognitionAlternative.php
new file mode 100644
index 00000000..e70c8725
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechRecognitionAlternative.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Speech_SpeechRecognitionAlternative extends Google_Model
+{
+ public $confidence;
+ public $transcript;
+
+ public function setConfidence($confidence)
+ {
+ $this->confidence = $confidence;
+ }
+ public function getConfidence()
+ {
+ return $this->confidence;
+ }
+ public function setTranscript($transcript)
+ {
+ $this->transcript = $transcript;
+ }
+ public function getTranscript()
+ {
+ return $this->transcript;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechRecognitionResult.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechRecognitionResult.php
new file mode 100644
index 00000000..28e9723f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechRecognitionResult.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Speech_SpeechRecognitionResult extends Google_Collection
+{
+ protected $collection_key = 'alternatives';
+ protected $alternativesType = 'Google_Service_Speech_SpeechRecognitionAlternative';
+ protected $alternativesDataType = 'array';
+
+ public function setAlternatives($alternatives)
+ {
+ $this->alternatives = $alternatives;
+ }
+ public function getAlternatives()
+ {
+ return $this->alternatives;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Status.php
new file mode 100644
index 00000000..af62f982
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Speech_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SyncRecognizeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SyncRecognizeRequest.php
new file mode 100644
index 00000000..e88be3e7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SyncRecognizeRequest.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Speech_SyncRecognizeRequest extends Google_Model
+{
+ protected $audioType = 'Google_Service_Speech_RecognitionAudio';
+ protected $audioDataType = '';
+ protected $configType = 'Google_Service_Speech_RecognitionConfig';
+ protected $configDataType = '';
+
+ public function setAudio(Google_Service_Speech_RecognitionAudio $audio)
+ {
+ $this->audio = $audio;
+ }
+ public function getAudio()
+ {
+ return $this->audio;
+ }
+ public function setConfig(Google_Service_Speech_RecognitionConfig $config)
+ {
+ $this->config = $config;
+ }
+ public function getConfig()
+ {
+ return $this->config;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SyncRecognizeResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SyncRecognizeResponse.php
new file mode 100644
index 00000000..9a6c348a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SyncRecognizeResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Speech_SyncRecognizeResponse extends Google_Collection
+{
+ protected $collection_key = 'results';
+ protected $resultsType = 'Google_Service_Speech_SpeechRecognitionResult';
+ protected $resultsDataType = 'array';
+
+ public function setResults($results)
+ {
+ $this->results = $results;
+ }
+ public function getResults()
+ {
+ return $this->results;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage.php
new file mode 100644
index 00000000..9e5c8349
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage.php
@@ -0,0 +1,1126 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Stores and retrieves 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 Google_Service_Storage extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM_READ_ONLY =
+ "https://www.googleapis.com/auth/cloud-platform.read-only";
+ /** 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'storage/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'storage';
+
+ $this->bucketAccessControls = new Google_Service_Storage_Resource_BucketAccessControls(
+ $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 Google_Service_Storage_Resource_Buckets(
+ $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',
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => 'b/{bucket}/iam',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'b',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'predefinedDefaultObjectAcl' => 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,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'prefix' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'b/{bucket}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'predefinedDefaultObjectAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => 'b/{bucket}/iam',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => 'b/{bucket}/iam/testPermissions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'permissions' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'b/{bucket}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'predefinedDefaultObjectAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->channels = new Google_Service_Storage_Resource_Channels(
+ $this,
+ $this->serviceName,
+ 'channels',
+ array(
+ 'methods' => array(
+ 'stop' => array(
+ 'path' => 'channels/stop',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->defaultObjectAccessControls = new Google_Service_Storage_Resource_DefaultObjectAccessControls(
+ $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 Google_Service_Storage_Resource_ObjectAccessControls(
+ $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 Google_Service_Storage_Resource_Objects(
+ $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,
+ ),
+ 'destinationPredefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationMatch' => 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,
+ ),
+ 'destinationPredefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifSourceGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifSourceGenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifSourceMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifSourceMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sourceGeneration' => 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,
+ ),
+ 'generation' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationMatch' => 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,
+ ),
+ 'generation' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getIamPolicy' => array(
+ 'path' => 'b/{bucket}/o/{object}/iam',
+ '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',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'b/{bucket}/o',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'contentEncoding' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'b/{bucket}/o',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'delimiter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'prefix' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'versions' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'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,
+ ),
+ 'generation' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'rewrite' => array(
+ 'path' => 'b/{sourceBucket}/o/{sourceObject}/rewriteTo/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,
+ ),
+ 'destinationPredefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifSourceGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifSourceGenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifSourceMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifSourceMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxBytesRewrittenPerCall' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'rewriteToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sourceGeneration' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'setIamPolicy' => array(
+ 'path' => 'b/{bucket}/o/{object}/iam',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'object' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'generation' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'testIamPermissions' => array(
+ 'path' => 'b/{bucket}/o/{object}/iam/testPermissions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'object' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'permissions' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ 'required' => true,
+ ),
+ 'generation' => 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,
+ ),
+ 'generation' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'predefinedAcl' => 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,
+ ),
+ 'delimiter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'prefix' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'versions' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Bucket.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Bucket.php
new file mode 100644
index 00000000..3aa7a99a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Bucket.php
@@ -0,0 +1,201 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_Bucket extends Google_Collection
+{
+ protected $collection_key = 'defaultObjectAcl';
+ protected $aclType = 'Google_Service_Storage_BucketAccessControl';
+ protected $aclDataType = 'array';
+ protected $corsType = 'Google_Service_Storage_BucketCors';
+ protected $corsDataType = 'array';
+ protected $defaultObjectAclType = 'Google_Service_Storage_ObjectAccessControl';
+ protected $defaultObjectAclDataType = 'array';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $lifecycleType = 'Google_Service_Storage_BucketLifecycle';
+ protected $lifecycleDataType = '';
+ public $location;
+ protected $loggingType = 'Google_Service_Storage_BucketLogging';
+ protected $loggingDataType = '';
+ public $metageneration;
+ public $name;
+ protected $ownerType = 'Google_Service_Storage_BucketOwner';
+ protected $ownerDataType = '';
+ public $projectNumber;
+ public $selfLink;
+ public $storageClass;
+ public $timeCreated;
+ public $updated;
+ protected $versioningType = 'Google_Service_Storage_BucketVersioning';
+ protected $versioningDataType = '';
+ protected $websiteType = '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(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(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(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 setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setVersioning(Google_Service_Storage_BucketVersioning $versioning)
+ {
+ $this->versioning = $versioning;
+ }
+ public function getVersioning()
+ {
+ return $this->versioning;
+ }
+ public function setWebsite(Google_Service_Storage_BucketWebsite $website)
+ {
+ $this->website = $website;
+ }
+ public function getWebsite()
+ {
+ return $this->website;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControl.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControl.php
new file mode 100644
index 00000000..ead69b1f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControl.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_BucketAccessControl extends Google_Model
+{
+ public $bucket;
+ public $domain;
+ public $email;
+ public $entity;
+ public $entityId;
+ public $etag;
+ public $id;
+ public $kind;
+ protected $projectTeamType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControlProjectTeam.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControlProjectTeam.php
new file mode 100644
index 00000000..bc2c9a81
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControlProjectTeam.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_BucketAccessControlProjectTeam extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControls.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControls.php
new file mode 100644
index 00000000..108c4b6d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControls.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_BucketAccessControls extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketCors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketCors.php
new file mode 100644
index 00000000..f63800e8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketCors.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_BucketCors extends Google_Collection
+{
+ protected $collection_key = 'responseHeader';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketEncryption.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketEncryption.php
new file mode 100644
index 00000000..dd0cba3d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketEncryption.php
@@ -0,0 +1,33 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_BucketEncryption extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "defaultKmsKeyName" => "default_kms_key_name",
+ );
+ public $defaultKmsKeyName;
+
+ public function setDefaultKmsKeyName($defaultKmsKeyName)
+ {
+ $this->defaultKmsKeyName = $defaultKmsKeyName;
+ }
+ public function getDefaultKmsKeyName()
+ {
+ return $this->defaultKmsKeyName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycle.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycle.php
new file mode 100644
index 00000000..1958f36b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycle.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_BucketLifecycle extends Google_Collection
+{
+ protected $collection_key = 'rule';
+ protected $ruleType = 'Google_Service_Storage_BucketLifecycleRule';
+ protected $ruleDataType = 'array';
+
+ public function setRule($rule)
+ {
+ $this->rule = $rule;
+ }
+ public function getRule()
+ {
+ return $this->rule;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRule.php
new file mode 100644
index 00000000..d983ddfb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRule.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_BucketLifecycleRule extends Google_Model
+{
+ protected $actionType = 'Google_Service_Storage_BucketLifecycleRuleAction';
+ protected $actionDataType = '';
+ protected $conditionType = 'Google_Service_Storage_BucketLifecycleRuleCondition';
+ protected $conditionDataType = '';
+
+ public function setAction(Google_Service_Storage_BucketLifecycleRuleAction $action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setCondition(Google_Service_Storage_BucketLifecycleRuleCondition $condition)
+ {
+ $this->condition = $condition;
+ }
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRuleAction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRuleAction.php
new file mode 100644
index 00000000..869a756d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRuleAction.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_BucketLifecycleRuleAction extends Google_Model
+{
+ public $storageClass;
+ public $type;
+
+ public function setStorageClass($storageClass)
+ {
+ $this->storageClass = $storageClass;
+ }
+ public function getStorageClass()
+ {
+ return $this->storageClass;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRuleCondition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRuleCondition.php
new file mode 100644
index 00000000..90de2837
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRuleCondition.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_BucketLifecycleRuleCondition extends Google_Collection
+{
+ protected $collection_key = 'matchesStorageClass';
+ public $age;
+ public $createdBefore;
+ public $isLive;
+ public $matchesStorageClass;
+ 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 setMatchesStorageClass($matchesStorageClass)
+ {
+ $this->matchesStorageClass = $matchesStorageClass;
+ }
+ public function getMatchesStorageClass()
+ {
+ return $this->matchesStorageClass;
+ }
+ public function setNumNewerVersions($numNewerVersions)
+ {
+ $this->numNewerVersions = $numNewerVersions;
+ }
+ public function getNumNewerVersions()
+ {
+ return $this->numNewerVersions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLogging.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLogging.php
new file mode 100644
index 00000000..0bda63e9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLogging.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_BucketLogging extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketOwner.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketOwner.php
new file mode 100644
index 00000000..c5bfd88c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketOwner.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_BucketOwner extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketVersioning.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketVersioning.php
new file mode 100644
index 00000000..10aeb47e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketVersioning.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_BucketVersioning extends Google_Model
+{
+ public $enabled;
+
+ public function setEnabled($enabled)
+ {
+ $this->enabled = $enabled;
+ }
+ public function getEnabled()
+ {
+ return $this->enabled;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketWebsite.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketWebsite.php
new file mode 100644
index 00000000..02db8c92
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketWebsite.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_BucketWebsite extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Buckets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Buckets.php
new file mode 100644
index 00000000..ff4f4054
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Buckets.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_Buckets extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Channel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Channel.php
new file mode 100644
index 00000000..1efb8034
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Channel.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_Channel extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequest.php
new file mode 100644
index 00000000..2564af36
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequest.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_ComposeRequest extends Google_Collection
+{
+ protected $collection_key = 'sourceObjects';
+ protected $destinationType = 'Google_Service_Storage_StorageObject';
+ protected $destinationDataType = '';
+ public $kind;
+ protected $sourceObjectsType = 'Google_Service_Storage_ComposeRequestSourceObjects';
+ protected $sourceObjectsDataType = 'array';
+
+ public function setDestination(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequestSourceObjects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequestSourceObjects.php
new file mode 100644
index 00000000..c9ced2ef
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequestSourceObjects.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_ComposeRequestSourceObjects extends Google_Model
+{
+ public $generation;
+ public $name;
+ protected $objectPreconditionsType = '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(Google_Service_Storage_ComposeRequestSourceObjectsObjectPreconditions $objectPreconditions)
+ {
+ $this->objectPreconditions = $objectPreconditions;
+ }
+ public function getObjectPreconditions()
+ {
+ return $this->objectPreconditions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequestSourceObjectsObjectPreconditions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequestSourceObjectsObjectPreconditions.php
new file mode 100644
index 00000000..a471179f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequestSourceObjectsObjectPreconditions.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_ComposeRequestSourceObjectsObjectPreconditions extends Google_Model
+{
+ public $ifGenerationMatch;
+
+ public function setIfGenerationMatch($ifGenerationMatch)
+ {
+ $this->ifGenerationMatch = $ifGenerationMatch;
+ }
+ public function getIfGenerationMatch()
+ {
+ return $this->ifGenerationMatch;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControl.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControl.php
new file mode 100644
index 00000000..3dcf3072
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControl.php
@@ -0,0 +1,139 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_ObjectAccessControl extends Google_Model
+{
+ public $bucket;
+ public $domain;
+ public $email;
+ public $entity;
+ public $entityId;
+ public $etag;
+ public $generation;
+ public $id;
+ public $kind;
+ public $object;
+ protected $projectTeamType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControlProjectTeam.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControlProjectTeam.php
new file mode 100644
index 00000000..a4dff126
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControlProjectTeam.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_ObjectAccessControlProjectTeam extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControls.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControls.php
new file mode 100644
index 00000000..4007cb35
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControls.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_ObjectAccessControls extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_Storage_ObjectAccessControl';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Objects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Objects.php
new file mode 100644
index 00000000..e086c248
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Objects.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_Objects extends Google_Collection
+{
+ protected $collection_key = 'prefixes';
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Policy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Policy.php
new file mode 100644
index 00000000..b03c7190
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Policy.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_Policy extends Google_Collection
+{
+ protected $collection_key = 'bindings';
+ protected $bindingsType = 'Google_Service_Storage_PolicyBindings';
+ protected $bindingsDataType = 'array';
+ public $etag;
+ public $kind;
+ public $resourceId;
+
+ public function setBindings($bindings)
+ {
+ $this->bindings = $bindings;
+ }
+ public function getBindings()
+ {
+ return $this->bindings;
+ }
+ 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 setResourceId($resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/PolicyBindings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/PolicyBindings.php
new file mode 100644
index 00000000..158c6bf9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/PolicyBindings.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_PolicyBindings extends Google_Collection
+{
+ protected $collection_key = 'members';
+ public $members;
+ public $role;
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/BucketAccessControls.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/BucketAccessControls.php
new file mode 100644
index 00000000..3475dbb0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/BucketAccessControls.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "bucketAccessControls" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $storageService = new Google_Service_Storage(...);
+ * $bucketAccessControls = $storageService->bucketAccessControls;
+ * </code>
+ */
+class Google_Service_Storage_Resource_BucketAccessControls extends 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 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), "Google_Service_Storage_BucketAccessControl");
+ }
+ /**
+ * Creates a new ACL entry on the specified bucket.
+ * (bucketAccessControls.insert)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param Google_Service_Storage_BucketAccessControl $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storage_BucketAccessControl
+ */
+ public function insert($bucket, Google_Service_Storage_BucketAccessControl $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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), "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 Google_Service_Storage_BucketAccessControl $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storage_BucketAccessControl
+ */
+ public function patch($bucket, $entity, 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), "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 Google_Service_Storage_BucketAccessControl $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storage_BucketAccessControl
+ */
+ public function update($bucket, $entity, 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), "Google_Service_Storage_BucketAccessControl");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Buckets.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Buckets.php
new file mode 100644
index 00000000..facfb352
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Buckets.php
@@ -0,0 +1,208 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "buckets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $storageService = new Google_Service_Storage(...);
+ * $buckets = $storageService->buckets;
+ * </code>
+ */
+class Google_Service_Storage_Resource_Buckets extends 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 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), "Google_Service_Storage_Bucket");
+ }
+ /**
+ * Returns an IAM policy for the specified bucket. (buckets.getIamPolicy)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storage_Policy
+ */
+ public function getIamPolicy($bucket, $optParams = array())
+ {
+ $params = array('bucket' => $bucket);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_Storage_Policy");
+ }
+ /**
+ * Creates a new bucket. (buckets.insert)
+ *
+ * @param string $project A valid API project identifier.
+ * @param Google_Service_Storage_Bucket $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string predefinedAcl Apply a predefined set of access controls to
+ * this bucket.
+ * @opt_param string predefinedDefaultObjectAcl Apply a predefined set of
+ * default object 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 Google_Service_Storage_Bucket
+ */
+ public function insert($project, Google_Service_Storage_Bucket $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 maxResults Maximum number of buckets to return in a single
+ * response. The service will use this parameter or 1,000 items, whichever is
+ * smaller.
+ * @opt_param string pageToken A previously-returned page token representing
+ * part of the larger set of results to view.
+ * @opt_param string prefix Filter results to buckets whose names begin with
+ * this prefix.
+ * @opt_param string projection Set of properties to return. Defaults to noAcl.
+ * @return 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), "Google_Service_Storage_Buckets");
+ }
+ /**
+ * Updates a bucket. Changes to the bucket will be readable immediately after
+ * writing, but configuration changes may take time to propagate. This method
+ * supports patch semantics. (buckets.patch)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param Google_Service_Storage_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 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 predefinedAcl Apply a predefined set of access controls to
+ * this bucket.
+ * @opt_param string predefinedDefaultObjectAcl Apply a predefined set of
+ * default object access controls to this bucket.
+ * @opt_param string projection Set of properties to return. Defaults to full.
+ * @return Google_Service_Storage_Bucket
+ */
+ public function patch($bucket, Google_Service_Storage_Bucket $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Storage_Bucket");
+ }
+ /**
+ * Updates an IAM policy for the specified bucket. (buckets.setIamPolicy)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param Google_Service_Storage_Policy $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storage_Policy
+ */
+ public function setIamPolicy($bucket, Google_Service_Storage_Policy $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_Storage_Policy");
+ }
+ /**
+ * Tests a set of permissions on the given bucket to see which, if any, are held
+ * by the caller. (buckets.testIamPermissions)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param string|array $permissions Permissions to test.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storage_TestIamPermissionsResponse
+ */
+ public function testIamPermissions($bucket, $permissions, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'permissions' => $permissions);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_Storage_TestIamPermissionsResponse");
+ }
+ /**
+ * Updates a bucket. Changes to the bucket will be readable immediately after
+ * writing, but configuration changes may take time to propagate.
+ * (buckets.update)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param Google_Service_Storage_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 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 predefinedAcl Apply a predefined set of access controls to
+ * this bucket.
+ * @opt_param string predefinedDefaultObjectAcl Apply a predefined set of
+ * default object access controls to this bucket.
+ * @opt_param string projection Set of properties to return. Defaults to full.
+ * @return Google_Service_Storage_Bucket
+ */
+ public function update($bucket, Google_Service_Storage_Bucket $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Storage_Bucket");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Channels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Channels.php
new file mode 100644
index 00000000..8c5a1dc6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Channels.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "channels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $storageService = new Google_Service_Storage(...);
+ * $channels = $storageService->channels;
+ * </code>
+ */
+class Google_Service_Storage_Resource_Channels extends Google_Service_Resource
+{
+ /**
+ * Stop watching resources through this channel (channels.stop)
+ *
+ * @param Google_Service_Storage_Channel $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function stop(Google_Service_Storage_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/DefaultObjectAccessControls.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/DefaultObjectAccessControls.php
new file mode 100644
index 00000000..83c6c9ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/DefaultObjectAccessControls.php
@@ -0,0 +1,132 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "defaultObjectAccessControls" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $storageService = new Google_Service_Storage(...);
+ * $defaultObjectAccessControls = $storageService->defaultObjectAccessControls;
+ * </code>
+ */
+class Google_Service_Storage_Resource_DefaultObjectAccessControls extends 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 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), "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 Google_Service_Storage_ObjectAccessControl $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storage_ObjectAccessControl
+ */
+ public function insert($bucket, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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), "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 Google_Service_Storage_ObjectAccessControl $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storage_ObjectAccessControl
+ */
+ public function patch($bucket, $entity, 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), "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 Google_Service_Storage_ObjectAccessControl $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storage_ObjectAccessControl
+ */
+ public function update($bucket, $entity, 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), "Google_Service_Storage_ObjectAccessControl");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/ObjectAccessControls.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/ObjectAccessControls.php
new file mode 100644
index 00000000..04734a83
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/ObjectAccessControls.php
@@ -0,0 +1,155 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "objectAccessControls" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $storageService = new Google_Service_Storage(...);
+ * $objectAccessControls = $storageService->objectAccessControls;
+ * </code>
+ */
+class Google_Service_Storage_Resource_ObjectAccessControls extends 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. For information about how to URL
+ * encode object names to be path safe, see Encoding URI Path Parts.
+ * @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. For information about how to URL
+ * encode object names to be path safe, see Encoding URI Path Parts.
+ * @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 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), "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. For information about how to URL
+ * encode object names to be path safe, see Encoding URI Path Parts.
+ * @param Google_Service_Storage_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 Google_Service_Storage_ObjectAccessControl
+ */
+ public function insert($bucket, $object, 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), "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. For information about how to URL
+ * encode object names to be path safe, see Encoding URI Path Parts.
+ * @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 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), "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. For information about how to URL
+ * encode object names to be path safe, see Encoding URI Path Parts.
+ * @param string $entity The entity holding the permission. Can be user-userId,
+ * user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+ * allAuthenticatedUsers.
+ * @param Google_Service_Storage_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 Google_Service_Storage_ObjectAccessControl
+ */
+ public function patch($bucket, $object, $entity, 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), "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. For information about how to URL
+ * encode object names to be path safe, see Encoding URI Path Parts.
+ * @param string $entity The entity holding the permission. Can be user-userId,
+ * user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+ * allAuthenticatedUsers.
+ * @param Google_Service_Storage_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 Google_Service_Storage_ObjectAccessControl
+ */
+ public function update($bucket, $object, $entity, 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), "Google_Service_Storage_ObjectAccessControl");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Objects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Objects.php
new file mode 100644
index 00000000..98155f25
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Objects.php
@@ -0,0 +1,444 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "objects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $storageService = new Google_Service_Storage(...);
+ * $objects = $storageService->objects;
+ * </code>
+ */
+class Google_Service_Storage_Resource_Objects extends 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. For information
+ * about how to URL encode object names to be path safe, see Encoding URI Path
+ * Parts.
+ * @param Google_Service_Storage_ComposeRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string destinationPredefinedAcl Apply a predefined set of access
+ * controls to the destination object.
+ * @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.
+ * @return Google_Service_Storage_StorageObject
+ */
+ public function compose($destinationBucket, $destinationObject, 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), "Google_Service_Storage_StorageObject");
+ }
+ /**
+ * Copies a source object to a destination object. 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. For information about
+ * how to URL encode object names to be path safe, see Encoding URI Path Parts.
+ * @param string $destinationBucket Name of the bucket in which to store the new
+ * object. Overrides the provided object metadata's bucket value, if any.For
+ * information about how to URL encode object names to be path safe, see
+ * Encoding URI Path Parts.
+ * @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 Google_Service_Storage_StorageObject $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string destinationPredefinedAcl Apply a predefined set of access
+ * controls to the destination object.
+ * @opt_param string ifGenerationMatch Makes the operation conditional on
+ * whether the destination object's current generation matches 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 ifMetagenerationMatch Makes the operation conditional on
+ * whether the destination object's current metageneration 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 ifSourceGenerationMatch Makes the operation conditional on
+ * whether the source object's generation matches the given value.
+ * @opt_param string ifSourceGenerationNotMatch Makes the operation conditional
+ * on whether the source object's generation does not match 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 ifSourceMetagenerationNotMatch Makes the operation
+ * conditional on whether the source 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.
+ * @opt_param string sourceGeneration If present, selects a specific revision of
+ * the source object (as opposed to the latest version, the default).
+ * @return Google_Service_Storage_StorageObject
+ */
+ public function copy($sourceBucket, $sourceObject, $destinationBucket, $destinationObject, 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), "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. For information about how to URL
+ * encode object names to be path safe, see Encoding URI Path Parts.
+ * @param array $optParams Optional parameters.
+ *
+ * @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 ifGenerationMatch Makes the operation conditional on
+ * whether the object's current generation matches the given value.
+ * @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 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. For information about how to URL
+ * encode object names to be path safe, see Encoding URI Path Parts.
+ * @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).
+ * @opt_param string ifGenerationMatch Makes the operation conditional on
+ * whether the object's generation matches the given value.
+ * @opt_param string ifGenerationNotMatch Makes the operation conditional on
+ * whether the object's 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 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 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), "Google_Service_Storage_StorageObject");
+ }
+ /**
+ * Returns an IAM policy for the specified object. (objects.getIamPolicy)
+ *
+ * @param string $bucket Name of the bucket in which the object resides.
+ * @param string $object Name of the object. For information about how to URL
+ * encode object names to be path safe, see Encoding URI Path Parts.
+ * @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 Google_Service_Storage_Policy
+ */
+ public function getIamPolicy($bucket, $object, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'object' => $object);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIamPolicy', array($params), "Google_Service_Storage_Policy");
+ }
+ /**
+ * 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 Google_Service_Storage_StorageObject $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @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 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 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. For information about how to URL encode object names to be path safe,
+ * see Encoding URI Path Parts.
+ * @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.
+ * @return Google_Service_Storage_StorageObject
+ */
+ public function insert($bucket, Google_Service_Storage_StorageObject $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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.
+ * @opt_param string maxResults Maximum number of items plus prefixes to return
+ * in a single page of responses. As duplicate prefixes are omitted, fewer total
+ * results may be returned than requested. The service will use this parameter
+ * or 1,000 items, whichever is smaller.
+ * @opt_param string pageToken A previously-returned page token representing
+ * part of the larger set of results to view.
+ * @opt_param string prefix Filter results to objects whose names begin with
+ * this prefix.
+ * @opt_param string projection Set of properties to return. Defaults to noAcl.
+ * @opt_param bool versions If true, lists all versions of an object as distinct
+ * results. The default is false. For more information, see Object Versioning.
+ * @return 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), "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. For information about how to URL
+ * encode object names to be path safe, see Encoding URI Path Parts.
+ * @param Google_Service_Storage_StorageObject $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).
+ * @opt_param string ifGenerationMatch Makes the operation conditional on
+ * whether the object's current generation matches the given value.
+ * @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 ifMetagenerationNotMatch Makes the operation conditional on
+ * whether the object's current metageneration does not match the given value.
+ * @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 full.
+ * @return Google_Service_Storage_StorageObject
+ */
+ public function patch($bucket, $object, 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), "Google_Service_Storage_StorageObject");
+ }
+ /**
+ * Rewrites a source object to a destination object. Optionally overrides
+ * metadata. (objects.rewrite)
+ *
+ * @param string $sourceBucket Name of the bucket in which to find the source
+ * object.
+ * @param string $sourceObject Name of the source object. For information about
+ * how to URL encode object names to be path safe, see Encoding URI Path Parts.
+ * @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. For information about how to URL encode object names to
+ * be path safe, see Encoding URI Path Parts.
+ * @param Google_Service_Storage_StorageObject $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string destinationPredefinedAcl Apply a predefined set of access
+ * controls to the destination object.
+ * @opt_param string ifGenerationMatch Makes the operation conditional on
+ * whether the destination object's current generation matches 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 ifMetagenerationMatch Makes the operation conditional on
+ * whether the destination object's current metageneration 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 ifSourceGenerationMatch Makes the operation conditional on
+ * whether the source object's generation matches the given value.
+ * @opt_param string ifSourceGenerationNotMatch Makes the operation conditional
+ * on whether the source object's generation does not match 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 ifSourceMetagenerationNotMatch Makes the operation
+ * conditional on whether the source object's current metageneration does not
+ * match the given value.
+ * @opt_param string maxBytesRewrittenPerCall The maximum number of bytes that
+ * will be rewritten per rewrite request. Most callers shouldn't need to specify
+ * this parameter - it is primarily in place to support testing. If specified
+ * the value must be an integral multiple of 1 MiB (1048576). Also, this only
+ * applies to requests where the source and destination span locations and/or
+ * storage classes. Finally, this value must not change across rewrite calls
+ * else you'll get an error that the rewriteToken is invalid.
+ * @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 rewriteToken Include this field (from the previous rewrite
+ * response) on each rewrite request after the first one, until the rewrite
+ * response 'done' flag is true. Calls that provide a rewriteToken can omit all
+ * other request fields, but if included those fields must match the values
+ * provided in the first rewrite request.
+ * @opt_param string sourceGeneration If present, selects a specific revision of
+ * the source object (as opposed to the latest version, the default).
+ * @return Google_Service_Storage_RewriteResponse
+ */
+ public function rewrite($sourceBucket, $sourceObject, $destinationBucket, $destinationObject, 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('rewrite', array($params), "Google_Service_Storage_RewriteResponse");
+ }
+ /**
+ * Updates an IAM policy for the specified object. (objects.setIamPolicy)
+ *
+ * @param string $bucket Name of the bucket in which the object resides.
+ * @param string $object Name of the object. For information about how to URL
+ * encode object names to be path safe, see Encoding URI Path Parts.
+ * @param Google_Service_Storage_Policy $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 Google_Service_Storage_Policy
+ */
+ public function setIamPolicy($bucket, $object, Google_Service_Storage_Policy $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'object' => $object, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setIamPolicy', array($params), "Google_Service_Storage_Policy");
+ }
+ /**
+ * Tests a set of permissions on the given object to see which, if any, are held
+ * by the caller. (objects.testIamPermissions)
+ *
+ * @param string $bucket Name of the bucket in which the object resides.
+ * @param string $object Name of the object. For information about how to URL
+ * encode object names to be path safe, see Encoding URI Path Parts.
+ * @param string|array $permissions Permissions to test.
+ * @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 Google_Service_Storage_TestIamPermissionsResponse
+ */
+ public function testIamPermissions($bucket, $object, $permissions, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'object' => $object, 'permissions' => $permissions);
+ $params = array_merge($params, $optParams);
+ return $this->call('testIamPermissions', array($params), "Google_Service_Storage_TestIamPermissionsResponse");
+ }
+ /**
+ * 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. For information about how to URL
+ * encode object names to be path safe, see Encoding URI Path Parts.
+ * @param Google_Service_Storage_StorageObject $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).
+ * @opt_param string ifGenerationMatch Makes the operation conditional on
+ * whether the object's current generation matches the given value.
+ * @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 ifMetagenerationNotMatch Makes the operation conditional on
+ * whether the object's current metageneration does not match the given value.
+ * @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 full.
+ * @return Google_Service_Storage_StorageObject
+ */
+ public function update($bucket, $object, 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), "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 Google_Service_Storage_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @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.
+ * @opt_param string maxResults Maximum number of items plus prefixes to return
+ * in a single page of responses. As duplicate prefixes are omitted, fewer total
+ * results may be returned than requested. The service will use this parameter
+ * or 1,000 items, whichever is smaller.
+ * @opt_param string pageToken A previously-returned page token representing
+ * part of the larger set of results to view.
+ * @opt_param string prefix Filter results to objects whose names begin with
+ * this prefix.
+ * @opt_param string projection Set of properties to return. Defaults to noAcl.
+ * @opt_param bool versions If true, lists all versions of an object as distinct
+ * results. The default is false. For more information, see Object Versioning.
+ * @return Google_Service_Storage_Channel
+ */
+ public function watchAll($bucket, Google_Service_Storage_Channel $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watchAll', array($params), "Google_Service_Storage_Channel");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/RewriteResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/RewriteResponse.php
new file mode 100644
index 00000000..aa8f1c65
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/RewriteResponse.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_RewriteResponse extends Google_Model
+{
+ public $done;
+ public $kind;
+ public $objectSize;
+ protected $resourceType = 'Google_Service_Storage_StorageObject';
+ protected $resourceDataType = '';
+ public $rewriteToken;
+ public $totalBytesRewritten;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setObjectSize($objectSize)
+ {
+ $this->objectSize = $objectSize;
+ }
+ public function getObjectSize()
+ {
+ return $this->objectSize;
+ }
+ public function setResource(Google_Service_Storage_StorageObject $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+ public function setRewriteToken($rewriteToken)
+ {
+ $this->rewriteToken = $rewriteToken;
+ }
+ public function getRewriteToken()
+ {
+ return $this->rewriteToken;
+ }
+ public function setTotalBytesRewritten($totalBytesRewritten)
+ {
+ $this->totalBytesRewritten = $totalBytesRewritten;
+ }
+ public function getTotalBytesRewritten()
+ {
+ return $this->totalBytesRewritten;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObject.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObject.php
new file mode 100644
index 00000000..4cfb91ba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObject.php
@@ -0,0 +1,268 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_StorageObject extends Google_Collection
+{
+ protected $collection_key = 'acl';
+ protected $aclType = 'Google_Service_Storage_ObjectAccessControl';
+ protected $aclDataType = 'array';
+ public $bucket;
+ public $cacheControl;
+ public $componentCount;
+ public $contentDisposition;
+ public $contentEncoding;
+ public $contentLanguage;
+ public $contentType;
+ public $crc32c;
+ protected $customerEncryptionType = 'Google_Service_Storage_StorageObjectCustomerEncryption';
+ protected $customerEncryptionDataType = '';
+ public $etag;
+ public $generation;
+ public $id;
+ public $kind;
+ public $md5Hash;
+ public $mediaLink;
+ public $metadata;
+ public $metageneration;
+ public $name;
+ protected $ownerType = 'Google_Service_Storage_StorageObjectOwner';
+ protected $ownerDataType = '';
+ public $selfLink;
+ public $size;
+ public $storageClass;
+ public $timeCreated;
+ public $timeDeleted;
+ public $timeStorageClassUpdated;
+ 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 setCustomerEncryption(Google_Service_Storage_StorageObjectCustomerEncryption $customerEncryption)
+ {
+ $this->customerEncryption = $customerEncryption;
+ }
+ public function getCustomerEncryption()
+ {
+ return $this->customerEncryption;
+ }
+ 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(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 setTimeCreated($timeCreated)
+ {
+ $this->timeCreated = $timeCreated;
+ }
+ public function getTimeCreated()
+ {
+ return $this->timeCreated;
+ }
+ public function setTimeDeleted($timeDeleted)
+ {
+ $this->timeDeleted = $timeDeleted;
+ }
+ public function getTimeDeleted()
+ {
+ return $this->timeDeleted;
+ }
+ public function setTimeStorageClassUpdated($timeStorageClassUpdated)
+ {
+ $this->timeStorageClassUpdated = $timeStorageClassUpdated;
+ }
+ public function getTimeStorageClassUpdated()
+ {
+ return $this->timeStorageClassUpdated;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObjectCustomerEncryption.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObjectCustomerEncryption.php
new file mode 100644
index 00000000..8dc403cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObjectCustomerEncryption.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_StorageObjectCustomerEncryption extends Google_Model
+{
+ public $encryptionAlgorithm;
+ public $keySha256;
+
+ public function setEncryptionAlgorithm($encryptionAlgorithm)
+ {
+ $this->encryptionAlgorithm = $encryptionAlgorithm;
+ }
+ public function getEncryptionAlgorithm()
+ {
+ return $this->encryptionAlgorithm;
+ }
+ public function setKeySha256($keySha256)
+ {
+ $this->keySha256 = $keySha256;
+ }
+ public function getKeySha256()
+ {
+ return $this->keySha256;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObjectOwner.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObjectOwner.php
new file mode 100644
index 00000000..f2bddfab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObjectOwner.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_StorageObjectOwner extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/TestIamPermissionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/TestIamPermissionsResponse.php
new file mode 100644
index 00000000..54b16af6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/TestIamPermissionsResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storage_TestIamPermissionsResponse extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ public $kind;
+ public $permissions;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer.php
new file mode 100644
index 00000000..9c16b470
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer.php
@@ -0,0 +1,233 @@
+<?php
+/*
+ * Copyright 2016 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 Storagetransfer (v1).
+ *
+ * <p>
+ * Transfers data from external data sources to a Google Cloud Storage bucket or
+ * between Google Cloud Storage buckets.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/storage/transfer" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Storagetransfer extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $googleServiceAccounts;
+ public $transferJobs;
+ public $transferOperations;
+ public $v1;
+
+ /**
+ * Constructs the internal representation of the Storagetransfer service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://storagetransfer.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'storagetransfer';
+
+ $this->googleServiceAccounts = new Google_Service_Storagetransfer_Resource_GoogleServiceAccounts(
+ $this,
+ $this->serviceName,
+ 'googleServiceAccounts',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/googleServiceAccounts/{projectId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->transferJobs = new Google_Service_Storagetransfer_Resource_TransferJobs(
+ $this,
+ $this->serviceName,
+ 'transferJobs',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/transferJobs',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => 'v1/{+jobName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'jobName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/transferJobs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'v1/{+jobName}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'jobName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->transferOperations = new Google_Service_Storagetransfer_Resource_TransferOperations(
+ $this,
+ $this->serviceName,
+ 'transferOperations',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'v1/{+name}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'pause' => array(
+ 'path' => 'v1/{+name}:pause',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'resume' => array(
+ 'path' => 'v1/{+name}:resume',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->v1 = new Google_Service_Storagetransfer_Resource_V1(
+ $this,
+ $this->serviceName,
+ 'v1',
+ array(
+ 'methods' => array(
+ 'getGoogleServiceAccount' => array(
+ 'path' => 'v1:getGoogleServiceAccount',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/AwsAccessKey.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/AwsAccessKey.php
new file mode 100644
index 00000000..f04f3abe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/AwsAccessKey.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_AwsAccessKey extends Google_Model
+{
+ public $accessKeyId;
+ public $secretAccessKey;
+
+ public function setAccessKeyId($accessKeyId)
+ {
+ $this->accessKeyId = $accessKeyId;
+ }
+ public function getAccessKeyId()
+ {
+ return $this->accessKeyId;
+ }
+ public function setSecretAccessKey($secretAccessKey)
+ {
+ $this->secretAccessKey = $secretAccessKey;
+ }
+ public function getSecretAccessKey()
+ {
+ return $this->secretAccessKey;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/AwsS3Data.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/AwsS3Data.php
new file mode 100644
index 00000000..8fa56645
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/AwsS3Data.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_AwsS3Data extends Google_Model
+{
+ protected $awsAccessKeyType = 'Google_Service_Storagetransfer_AwsAccessKey';
+ protected $awsAccessKeyDataType = '';
+ public $bucketName;
+
+ public function setAwsAccessKey(Google_Service_Storagetransfer_AwsAccessKey $awsAccessKey)
+ {
+ $this->awsAccessKey = $awsAccessKey;
+ }
+ public function getAwsAccessKey()
+ {
+ return $this->awsAccessKey;
+ }
+ public function setBucketName($bucketName)
+ {
+ $this->bucketName = $bucketName;
+ }
+ public function getBucketName()
+ {
+ return $this->bucketName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Date.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Date.php
new file mode 100644
index 00000000..dd664def
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Date.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_Date extends Google_Model
+{
+ public $day;
+ public $month;
+ public $year;
+
+ 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;
+ }
+ public function setYear($year)
+ {
+ $this->year = $year;
+ }
+ public function getYear()
+ {
+ return $this->year;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorLogEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorLogEntry.php
new file mode 100644
index 00000000..ceb040c2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorLogEntry.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_ErrorLogEntry extends Google_Collection
+{
+ protected $collection_key = 'errorDetails';
+ public $errorDetails;
+ public $url;
+
+ public function setErrorDetails($errorDetails)
+ {
+ $this->errorDetails = $errorDetails;
+ }
+ public function getErrorDetails()
+ {
+ return $this->errorDetails;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorSummary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorSummary.php
new file mode 100644
index 00000000..2f35fa3e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorSummary.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_ErrorSummary extends Google_Collection
+{
+ protected $collection_key = 'errorLogEntries';
+ public $errorCode;
+ public $errorCount;
+ protected $errorLogEntriesType = 'Google_Service_Storagetransfer_ErrorLogEntry';
+ protected $errorLogEntriesDataType = 'array';
+
+ public function setErrorCode($errorCode)
+ {
+ $this->errorCode = $errorCode;
+ }
+ public function getErrorCode()
+ {
+ return $this->errorCode;
+ }
+ public function setErrorCount($errorCount)
+ {
+ $this->errorCount = $errorCount;
+ }
+ public function getErrorCount()
+ {
+ return $this->errorCount;
+ }
+ public function setErrorLogEntries($errorLogEntries)
+ {
+ $this->errorLogEntries = $errorLogEntries;
+ }
+ public function getErrorLogEntries()
+ {
+ return $this->errorLogEntries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/GcsData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/GcsData.php
new file mode 100644
index 00000000..66c336a3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/GcsData.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_GcsData extends Google_Model
+{
+ public $bucketName;
+
+ public function setBucketName($bucketName)
+ {
+ $this->bucketName = $bucketName;
+ }
+ public function getBucketName()
+ {
+ return $this->bucketName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/GoogleServiceAccount.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/GoogleServiceAccount.php
new file mode 100644
index 00000000..8bd338f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/GoogleServiceAccount.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_GoogleServiceAccount extends Google_Model
+{
+ public $accountEmail;
+
+ public function setAccountEmail($accountEmail)
+ {
+ $this->accountEmail = $accountEmail;
+ }
+ public function getAccountEmail()
+ {
+ return $this->accountEmail;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/HttpData.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/HttpData.php
new file mode 100644
index 00000000..13b56c59
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/HttpData.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_HttpData extends Google_Model
+{
+ public $listUrl;
+
+ public function setListUrl($listUrl)
+ {
+ $this->listUrl = $listUrl;
+ }
+ public function getListUrl()
+ {
+ return $this->listUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ListOperationsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ListOperationsResponse.php
new file mode 100644
index 00000000..fa0562bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ListOperationsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_ListOperationsResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_Storagetransfer_Operation';
+ protected $operationsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ListTransferJobsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ListTransferJobsResponse.php
new file mode 100644
index 00000000..48a95f7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ListTransferJobsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_ListTransferJobsResponse extends Google_Collection
+{
+ protected $collection_key = 'transferJobs';
+ public $nextPageToken;
+ protected $transferJobsType = 'Google_Service_Storagetransfer_TransferJob';
+ protected $transferJobsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTransferJobs($transferJobs)
+ {
+ $this->transferJobs = $transferJobs;
+ }
+ public function getTransferJobs()
+ {
+ return $this->transferJobs;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ObjectConditions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ObjectConditions.php
new file mode 100644
index 00000000..37bee489
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ObjectConditions.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_ObjectConditions extends Google_Collection
+{
+ protected $collection_key = 'includePrefixes';
+ public $excludePrefixes;
+ public $includePrefixes;
+ public $maxTimeElapsedSinceLastModification;
+ public $minTimeElapsedSinceLastModification;
+
+ public function setExcludePrefixes($excludePrefixes)
+ {
+ $this->excludePrefixes = $excludePrefixes;
+ }
+ public function getExcludePrefixes()
+ {
+ return $this->excludePrefixes;
+ }
+ public function setIncludePrefixes($includePrefixes)
+ {
+ $this->includePrefixes = $includePrefixes;
+ }
+ public function getIncludePrefixes()
+ {
+ return $this->includePrefixes;
+ }
+ public function setMaxTimeElapsedSinceLastModification($maxTimeElapsedSinceLastModification)
+ {
+ $this->maxTimeElapsedSinceLastModification = $maxTimeElapsedSinceLastModification;
+ }
+ public function getMaxTimeElapsedSinceLastModification()
+ {
+ return $this->maxTimeElapsedSinceLastModification;
+ }
+ public function setMinTimeElapsedSinceLastModification($minTimeElapsedSinceLastModification)
+ {
+ $this->minTimeElapsedSinceLastModification = $minTimeElapsedSinceLastModification;
+ }
+ public function getMinTimeElapsedSinceLastModification()
+ {
+ return $this->minTimeElapsedSinceLastModification;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Operation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Operation.php
new file mode 100644
index 00000000..f80fb2a3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Operation.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_Operation extends Google_Model
+{
+ public $done;
+ protected $errorType = 'Google_Service_Storagetransfer_Status';
+ protected $errorDataType = '';
+ public $metadata;
+ public $name;
+ public $response;
+
+ public function setDone($done)
+ {
+ $this->done = $done;
+ }
+ public function getDone()
+ {
+ return $this->done;
+ }
+ public function setError(Google_Service_Storagetransfer_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setMetadata($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 setResponse($response)
+ {
+ $this->response = $response;
+ }
+ public function getResponse()
+ {
+ return $this->response;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/PauseTransferOperationRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/PauseTransferOperationRequest.php
new file mode 100644
index 00000000..f466122e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/PauseTransferOperationRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_PauseTransferOperationRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/GoogleServiceAccounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/GoogleServiceAccounts.php
new file mode 100644
index 00000000..b6cc0102
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/GoogleServiceAccounts.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "googleServiceAccounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $storagetransferService = new Google_Service_Storagetransfer(...);
+ * $googleServiceAccounts = $storagetransferService->googleServiceAccounts;
+ * </code>
+ */
+class Google_Service_Storagetransfer_Resource_GoogleServiceAccounts extends Google_Service_Resource
+{
+ /**
+ * Returns the Google service account that is used by Storage Transfer Service
+ * to access buckets in the project where transfers run or in other projects.
+ * Each Google service account is associated with one Google Developers Console
+ * project. Users should add this service account to the Google Cloud Storage
+ * bucket ACLs to grant access to Storage Transfer Service. This service account
+ * is created and owned by Storage Transfer Service and can only be used by
+ * Storage Transfer Service. (googleServiceAccounts.get)
+ *
+ * @param string $projectId The ID of the Google Developers Console project that
+ * the Google service account is associated with. Required.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storagetransfer_GoogleServiceAccount
+ */
+ public function get($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Storagetransfer_GoogleServiceAccount");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferJobs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferJobs.php
new file mode 100644
index 00000000..6e910a4a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferJobs.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "transferJobs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $storagetransferService = new Google_Service_Storagetransfer(...);
+ * $transferJobs = $storagetransferService->transferJobs;
+ * </code>
+ */
+class Google_Service_Storagetransfer_Resource_TransferJobs extends Google_Service_Resource
+{
+ /**
+ * Creates a transfer job that runs periodically. (transferJobs.create)
+ *
+ * @param Google_Service_Storagetransfer_TransferJob $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storagetransfer_TransferJob
+ */
+ public function create(Google_Service_Storagetransfer_TransferJob $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Storagetransfer_TransferJob");
+ }
+ /**
+ * Gets a transfer job. (transferJobs.get)
+ *
+ * @param string $jobName The job to get. Required.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projectId The ID of the Google Developers Console project
+ * that owns the job. Required.
+ * @return Google_Service_Storagetransfer_TransferJob
+ */
+ public function get($jobName, $optParams = array())
+ {
+ $params = array('jobName' => $jobName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Storagetransfer_TransferJob");
+ }
+ /**
+ * Lists transfer jobs. (transferJobs.listTransferJobs)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter A list of query parameters specified as JSON text in
+ * the form of {"`project_id`":"my_project_id",
+ * "`job_names`":["jobid1","jobid2",...],
+ * "`job_statuses`":["status1","status2",...]}. Since `job_names` and
+ * `job_statuses` support multiple values, their values must be specified with
+ * array notation. `project_id` is required. `job_names` and `job_statuses` are
+ * optional. The valid values for `job_statuses` are case-insensitive:
+ * `ENABLED`, `DISABLED`, and `DELETED`.
+ * @opt_param int pageSize The list page size. The max allowed value is 256.
+ * @opt_param string pageToken The list page token.
+ * @return Google_Service_Storagetransfer_ListTransferJobsResponse
+ */
+ public function listTransferJobs($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Storagetransfer_ListTransferJobsResponse");
+ }
+ /**
+ * Updates a transfer job. Updating a job's transfer spec does not affect
+ * transfer operations that are running already. Updating the scheduling of a
+ * job is not allowed. (transferJobs.patch)
+ *
+ * @param string $jobName The name of job to update. Required.
+ * @param Google_Service_Storagetransfer_UpdateTransferJobRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storagetransfer_TransferJob
+ */
+ public function patch($jobName, Google_Service_Storagetransfer_UpdateTransferJobRequest $postBody, $optParams = array())
+ {
+ $params = array('jobName' => $jobName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Storagetransfer_TransferJob");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferOperations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferOperations.php
new file mode 100644
index 00000000..f1c9cfbd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferOperations.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "transferOperations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $storagetransferService = new Google_Service_Storagetransfer(...);
+ * $transferOperations = $storagetransferService->transferOperations;
+ * </code>
+ */
+class Google_Service_Storagetransfer_Resource_TransferOperations extends Google_Service_Resource
+{
+ /**
+ * Cancels a transfer. Use the get method to check whether the cancellation
+ * succeeded or whether the operation completed despite cancellation.
+ * (transferOperations.cancel)
+ *
+ * @param string $name The name of the operation resource to be cancelled.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storagetransfer_StoragetransferEmpty
+ */
+ public function cancel($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params), "Google_Service_Storagetransfer_StoragetransferEmpty");
+ }
+ /**
+ * This method is not supported and the server returns `UNIMPLEMENTED`.
+ * (transferOperations.delete)
+ *
+ * @param string $name The name of the operation resource to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storagetransfer_StoragetransferEmpty
+ */
+ public function delete($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Storagetransfer_StoragetransferEmpty");
+ }
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this
+ * method to poll the operation result at intervals as recommended by the API
+ * service. (transferOperations.get)
+ *
+ * @param string $name The name of the operation resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storagetransfer_Operation
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Storagetransfer_Operation");
+ }
+ /**
+ * Lists operations that match the specified filter in the request. If the
+ * server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the
+ * `name` binding below allows API services to override the binding to use
+ * different resource name schemes, such as `users/operations`.
+ * (transferOperations.listTransferOperations)
+ *
+ * @param string $name The value `transferOperations`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter The standard list filter.
+ * @opt_param int pageSize The standard list page size.
+ * @opt_param string pageToken The standard list page token.
+ * @return Google_Service_Storagetransfer_ListOperationsResponse
+ */
+ public function listTransferOperations($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Storagetransfer_ListOperationsResponse");
+ }
+ /**
+ * Pauses a transfer operation. (transferOperations.pause)
+ *
+ * @param string $name The name of the transfer operation. Required.
+ * @param Google_Service_Storagetransfer_PauseTransferOperationRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storagetransfer_StoragetransferEmpty
+ */
+ public function pause($name, Google_Service_Storagetransfer_PauseTransferOperationRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('pause', array($params), "Google_Service_Storagetransfer_StoragetransferEmpty");
+ }
+ /**
+ * Resumes a transfer operation that is paused. (transferOperations.resume)
+ *
+ * @param string $name The name of the transfer operation. Required.
+ * @param Google_Service_Storagetransfer_ResumeTransferOperationRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Storagetransfer_StoragetransferEmpty
+ */
+ public function resume($name, Google_Service_Storagetransfer_ResumeTransferOperationRequest $postBody, $optParams = array())
+ {
+ $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('resume', array($params), "Google_Service_Storagetransfer_StoragetransferEmpty");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/V1.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/V1.php
new file mode 100644
index 00000000..9e9a7106
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/V1.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "v1" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $storagetransferService = new Google_Service_Storagetransfer(...);
+ * $v1 = $storagetransferService->v1;
+ * </code>
+ */
+class Google_Service_Storagetransfer_Resource_V1 extends Google_Service_Resource
+{
+ /**
+ * Returns the Google service account that is used by Storage Transfer Service
+ * to access buckets in the project where transfers run or in other projects.
+ * Each Google service account is associated with one Google Developers Console
+ * project. Users should add this service account to the Google Cloud Storage
+ * bucket ACLs to grant access to Storage Transfer Service. This service account
+ * is created and owned by Storage Transfer Service and can only be used by
+ * Storage Transfer Service. (v1.getGoogleServiceAccount)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projectId The ID of the Google Developers Console project
+ * that the Google service account is associated with. Required.
+ * @return Google_Service_Storagetransfer_GoogleServiceAccount
+ */
+ public function getGoogleServiceAccount($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('getGoogleServiceAccount', array($params), "Google_Service_Storagetransfer_GoogleServiceAccount");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ResumeTransferOperationRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ResumeTransferOperationRequest.php
new file mode 100644
index 00000000..517b12bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ResumeTransferOperationRequest.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_ResumeTransferOperationRequest extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Schedule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Schedule.php
new file mode 100644
index 00000000..6f812e4b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Schedule.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_Schedule extends Google_Model
+{
+ protected $scheduleEndDateType = 'Google_Service_Storagetransfer_Date';
+ protected $scheduleEndDateDataType = '';
+ protected $scheduleStartDateType = 'Google_Service_Storagetransfer_Date';
+ protected $scheduleStartDateDataType = '';
+ protected $startTimeOfDayType = 'Google_Service_Storagetransfer_TimeOfDay';
+ protected $startTimeOfDayDataType = '';
+
+ public function setScheduleEndDate(Google_Service_Storagetransfer_Date $scheduleEndDate)
+ {
+ $this->scheduleEndDate = $scheduleEndDate;
+ }
+ public function getScheduleEndDate()
+ {
+ return $this->scheduleEndDate;
+ }
+ public function setScheduleStartDate(Google_Service_Storagetransfer_Date $scheduleStartDate)
+ {
+ $this->scheduleStartDate = $scheduleStartDate;
+ }
+ public function getScheduleStartDate()
+ {
+ return $this->scheduleStartDate;
+ }
+ public function setStartTimeOfDay(Google_Service_Storagetransfer_TimeOfDay $startTimeOfDay)
+ {
+ $this->startTimeOfDay = $startTimeOfDay;
+ }
+ public function getStartTimeOfDay()
+ {
+ return $this->startTimeOfDay;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Status.php
new file mode 100644
index 00000000..fd4e4ba4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/StoragetransferEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/StoragetransferEmpty.php
new file mode 100644
index 00000000..f69378d3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/StoragetransferEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_StoragetransferEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TimeOfDay.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TimeOfDay.php
new file mode 100644
index 00000000..a613688b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TimeOfDay.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_TimeOfDay extends Google_Model
+{
+ public $hours;
+ public $minutes;
+ public $nanos;
+ public $seconds;
+
+ public function setHours($hours)
+ {
+ $this->hours = $hours;
+ }
+ public function getHours()
+ {
+ return $this->hours;
+ }
+ public function setMinutes($minutes)
+ {
+ $this->minutes = $minutes;
+ }
+ public function getMinutes()
+ {
+ return $this->minutes;
+ }
+ public function setNanos($nanos)
+ {
+ $this->nanos = $nanos;
+ }
+ public function getNanos()
+ {
+ return $this->nanos;
+ }
+ public function setSeconds($seconds)
+ {
+ $this->seconds = $seconds;
+ }
+ public function getSeconds()
+ {
+ return $this->seconds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferCounters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferCounters.php
new file mode 100644
index 00000000..a948b81b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferCounters.php
@@ -0,0 +1,165 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_TransferCounters extends Google_Model
+{
+ public $bytesCopiedToSink;
+ public $bytesDeletedFromSink;
+ public $bytesDeletedFromSource;
+ public $bytesFailedToDeleteFromSink;
+ public $bytesFoundFromSource;
+ public $bytesFoundOnlyFromSink;
+ public $bytesFromSourceFailed;
+ public $bytesFromSourceSkippedBySync;
+ public $objectsCopiedToSink;
+ public $objectsDeletedFromSink;
+ public $objectsDeletedFromSource;
+ public $objectsFailedToDeleteFromSink;
+ public $objectsFoundFromSource;
+ public $objectsFoundOnlyFromSink;
+ public $objectsFromSourceFailed;
+ public $objectsFromSourceSkippedBySync;
+
+ public function setBytesCopiedToSink($bytesCopiedToSink)
+ {
+ $this->bytesCopiedToSink = $bytesCopiedToSink;
+ }
+ public function getBytesCopiedToSink()
+ {
+ return $this->bytesCopiedToSink;
+ }
+ public function setBytesDeletedFromSink($bytesDeletedFromSink)
+ {
+ $this->bytesDeletedFromSink = $bytesDeletedFromSink;
+ }
+ public function getBytesDeletedFromSink()
+ {
+ return $this->bytesDeletedFromSink;
+ }
+ public function setBytesDeletedFromSource($bytesDeletedFromSource)
+ {
+ $this->bytesDeletedFromSource = $bytesDeletedFromSource;
+ }
+ public function getBytesDeletedFromSource()
+ {
+ return $this->bytesDeletedFromSource;
+ }
+ public function setBytesFailedToDeleteFromSink($bytesFailedToDeleteFromSink)
+ {
+ $this->bytesFailedToDeleteFromSink = $bytesFailedToDeleteFromSink;
+ }
+ public function getBytesFailedToDeleteFromSink()
+ {
+ return $this->bytesFailedToDeleteFromSink;
+ }
+ public function setBytesFoundFromSource($bytesFoundFromSource)
+ {
+ $this->bytesFoundFromSource = $bytesFoundFromSource;
+ }
+ public function getBytesFoundFromSource()
+ {
+ return $this->bytesFoundFromSource;
+ }
+ public function setBytesFoundOnlyFromSink($bytesFoundOnlyFromSink)
+ {
+ $this->bytesFoundOnlyFromSink = $bytesFoundOnlyFromSink;
+ }
+ public function getBytesFoundOnlyFromSink()
+ {
+ return $this->bytesFoundOnlyFromSink;
+ }
+ public function setBytesFromSourceFailed($bytesFromSourceFailed)
+ {
+ $this->bytesFromSourceFailed = $bytesFromSourceFailed;
+ }
+ public function getBytesFromSourceFailed()
+ {
+ return $this->bytesFromSourceFailed;
+ }
+ public function setBytesFromSourceSkippedBySync($bytesFromSourceSkippedBySync)
+ {
+ $this->bytesFromSourceSkippedBySync = $bytesFromSourceSkippedBySync;
+ }
+ public function getBytesFromSourceSkippedBySync()
+ {
+ return $this->bytesFromSourceSkippedBySync;
+ }
+ public function setObjectsCopiedToSink($objectsCopiedToSink)
+ {
+ $this->objectsCopiedToSink = $objectsCopiedToSink;
+ }
+ public function getObjectsCopiedToSink()
+ {
+ return $this->objectsCopiedToSink;
+ }
+ public function setObjectsDeletedFromSink($objectsDeletedFromSink)
+ {
+ $this->objectsDeletedFromSink = $objectsDeletedFromSink;
+ }
+ public function getObjectsDeletedFromSink()
+ {
+ return $this->objectsDeletedFromSink;
+ }
+ public function setObjectsDeletedFromSource($objectsDeletedFromSource)
+ {
+ $this->objectsDeletedFromSource = $objectsDeletedFromSource;
+ }
+ public function getObjectsDeletedFromSource()
+ {
+ return $this->objectsDeletedFromSource;
+ }
+ public function setObjectsFailedToDeleteFromSink($objectsFailedToDeleteFromSink)
+ {
+ $this->objectsFailedToDeleteFromSink = $objectsFailedToDeleteFromSink;
+ }
+ public function getObjectsFailedToDeleteFromSink()
+ {
+ return $this->objectsFailedToDeleteFromSink;
+ }
+ public function setObjectsFoundFromSource($objectsFoundFromSource)
+ {
+ $this->objectsFoundFromSource = $objectsFoundFromSource;
+ }
+ public function getObjectsFoundFromSource()
+ {
+ return $this->objectsFoundFromSource;
+ }
+ public function setObjectsFoundOnlyFromSink($objectsFoundOnlyFromSink)
+ {
+ $this->objectsFoundOnlyFromSink = $objectsFoundOnlyFromSink;
+ }
+ public function getObjectsFoundOnlyFromSink()
+ {
+ return $this->objectsFoundOnlyFromSink;
+ }
+ public function setObjectsFromSourceFailed($objectsFromSourceFailed)
+ {
+ $this->objectsFromSourceFailed = $objectsFromSourceFailed;
+ }
+ public function getObjectsFromSourceFailed()
+ {
+ return $this->objectsFromSourceFailed;
+ }
+ public function setObjectsFromSourceSkippedBySync($objectsFromSourceSkippedBySync)
+ {
+ $this->objectsFromSourceSkippedBySync = $objectsFromSourceSkippedBySync;
+ }
+ public function getObjectsFromSourceSkippedBySync()
+ {
+ return $this->objectsFromSourceSkippedBySync;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferJob.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferJob.php
new file mode 100644
index 00000000..e362fe93
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferJob.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_TransferJob extends Google_Model
+{
+ public $creationTime;
+ public $deletionTime;
+ public $description;
+ public $lastModificationTime;
+ public $name;
+ public $projectId;
+ protected $scheduleType = 'Google_Service_Storagetransfer_Schedule';
+ protected $scheduleDataType = '';
+ public $status;
+ protected $transferSpecType = 'Google_Service_Storagetransfer_TransferSpec';
+ protected $transferSpecDataType = '';
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setDeletionTime($deletionTime)
+ {
+ $this->deletionTime = $deletionTime;
+ }
+ public function getDeletionTime()
+ {
+ return $this->deletionTime;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setLastModificationTime($lastModificationTime)
+ {
+ $this->lastModificationTime = $lastModificationTime;
+ }
+ public function getLastModificationTime()
+ {
+ return $this->lastModificationTime;
+ }
+ 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 setSchedule(Google_Service_Storagetransfer_Schedule $schedule)
+ {
+ $this->schedule = $schedule;
+ }
+ public function getSchedule()
+ {
+ return $this->schedule;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTransferSpec(Google_Service_Storagetransfer_TransferSpec $transferSpec)
+ {
+ $this->transferSpec = $transferSpec;
+ }
+ public function getTransferSpec()
+ {
+ return $this->transferSpec;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOperation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOperation.php
new file mode 100644
index 00000000..7a93c26b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOperation.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_TransferOperation extends Google_Collection
+{
+ protected $collection_key = 'errorBreakdowns';
+ protected $countersType = 'Google_Service_Storagetransfer_TransferCounters';
+ protected $countersDataType = '';
+ public $endTime;
+ protected $errorBreakdownsType = 'Google_Service_Storagetransfer_ErrorSummary';
+ protected $errorBreakdownsDataType = 'array';
+ public $name;
+ public $projectId;
+ public $startTime;
+ public $status;
+ public $transferJobName;
+ protected $transferSpecType = 'Google_Service_Storagetransfer_TransferSpec';
+ protected $transferSpecDataType = '';
+
+ public function setCounters(Google_Service_Storagetransfer_TransferCounters $counters)
+ {
+ $this->counters = $counters;
+ }
+ public function getCounters()
+ {
+ return $this->counters;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setErrorBreakdowns($errorBreakdowns)
+ {
+ $this->errorBreakdowns = $errorBreakdowns;
+ }
+ public function getErrorBreakdowns()
+ {
+ return $this->errorBreakdowns;
+ }
+ 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 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 setTransferJobName($transferJobName)
+ {
+ $this->transferJobName = $transferJobName;
+ }
+ public function getTransferJobName()
+ {
+ return $this->transferJobName;
+ }
+ public function setTransferSpec(Google_Service_Storagetransfer_TransferSpec $transferSpec)
+ {
+ $this->transferSpec = $transferSpec;
+ }
+ public function getTransferSpec()
+ {
+ return $this->transferSpec;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOptions.php
new file mode 100644
index 00000000..da15ff71
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOptions.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_TransferOptions extends Google_Model
+{
+ public $deleteObjectsFromSourceAfterTransfer;
+ public $deleteObjectsUniqueInSink;
+ public $overwriteObjectsAlreadyExistingInSink;
+
+ public function setDeleteObjectsFromSourceAfterTransfer($deleteObjectsFromSourceAfterTransfer)
+ {
+ $this->deleteObjectsFromSourceAfterTransfer = $deleteObjectsFromSourceAfterTransfer;
+ }
+ public function getDeleteObjectsFromSourceAfterTransfer()
+ {
+ return $this->deleteObjectsFromSourceAfterTransfer;
+ }
+ public function setDeleteObjectsUniqueInSink($deleteObjectsUniqueInSink)
+ {
+ $this->deleteObjectsUniqueInSink = $deleteObjectsUniqueInSink;
+ }
+ public function getDeleteObjectsUniqueInSink()
+ {
+ return $this->deleteObjectsUniqueInSink;
+ }
+ public function setOverwriteObjectsAlreadyExistingInSink($overwriteObjectsAlreadyExistingInSink)
+ {
+ $this->overwriteObjectsAlreadyExistingInSink = $overwriteObjectsAlreadyExistingInSink;
+ }
+ public function getOverwriteObjectsAlreadyExistingInSink()
+ {
+ return $this->overwriteObjectsAlreadyExistingInSink;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferSpec.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferSpec.php
new file mode 100644
index 00000000..1d9ea626
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferSpec.php
@@ -0,0 +1,81 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_TransferSpec extends Google_Model
+{
+ protected $awsS3DataSourceType = 'Google_Service_Storagetransfer_AwsS3Data';
+ protected $awsS3DataSourceDataType = '';
+ protected $gcsDataSinkType = 'Google_Service_Storagetransfer_GcsData';
+ protected $gcsDataSinkDataType = '';
+ protected $gcsDataSourceType = 'Google_Service_Storagetransfer_GcsData';
+ protected $gcsDataSourceDataType = '';
+ protected $httpDataSourceType = 'Google_Service_Storagetransfer_HttpData';
+ protected $httpDataSourceDataType = '';
+ protected $objectConditionsType = 'Google_Service_Storagetransfer_ObjectConditions';
+ protected $objectConditionsDataType = '';
+ protected $transferOptionsType = 'Google_Service_Storagetransfer_TransferOptions';
+ protected $transferOptionsDataType = '';
+
+ public function setAwsS3DataSource(Google_Service_Storagetransfer_AwsS3Data $awsS3DataSource)
+ {
+ $this->awsS3DataSource = $awsS3DataSource;
+ }
+ public function getAwsS3DataSource()
+ {
+ return $this->awsS3DataSource;
+ }
+ public function setGcsDataSink(Google_Service_Storagetransfer_GcsData $gcsDataSink)
+ {
+ $this->gcsDataSink = $gcsDataSink;
+ }
+ public function getGcsDataSink()
+ {
+ return $this->gcsDataSink;
+ }
+ public function setGcsDataSource(Google_Service_Storagetransfer_GcsData $gcsDataSource)
+ {
+ $this->gcsDataSource = $gcsDataSource;
+ }
+ public function getGcsDataSource()
+ {
+ return $this->gcsDataSource;
+ }
+ public function setHttpDataSource(Google_Service_Storagetransfer_HttpData $httpDataSource)
+ {
+ $this->httpDataSource = $httpDataSource;
+ }
+ public function getHttpDataSource()
+ {
+ return $this->httpDataSource;
+ }
+ public function setObjectConditions(Google_Service_Storagetransfer_ObjectConditions $objectConditions)
+ {
+ $this->objectConditions = $objectConditions;
+ }
+ public function getObjectConditions()
+ {
+ return $this->objectConditions;
+ }
+ public function setTransferOptions(Google_Service_Storagetransfer_TransferOptions $transferOptions)
+ {
+ $this->transferOptions = $transferOptions;
+ }
+ public function getTransferOptions()
+ {
+ return $this->transferOptions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/UpdateTransferJobRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/UpdateTransferJobRequest.php
new file mode 100644
index 00000000..335e299d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/UpdateTransferJobRequest.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Storagetransfer_UpdateTransferJobRequest extends Google_Model
+{
+ public $projectId;
+ protected $transferJobType = 'Google_Service_Storagetransfer_TransferJob';
+ protected $transferJobDataType = '';
+ public $updateTransferJobFieldMask;
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setTransferJob(Google_Service_Storagetransfer_TransferJob $transferJob)
+ {
+ $this->transferJob = $transferJob;
+ }
+ public function getTransferJob()
+ {
+ return $this->transferJob;
+ }
+ public function setUpdateTransferJobFieldMask($updateTransferJobFieldMask)
+ {
+ $this->updateTransferJobFieldMask = $updateTransferJobFieldMask;
+ }
+ public function getUpdateTransferJobFieldMask()
+ {
+ return $this->updateTransferJobFieldMask;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys.php
new file mode 100644
index 00000000..330337be
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys.php
@@ -0,0 +1,210 @@
+<?php
+/*
+ * Copyright 2016 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 Surveys (v2).
+ *
+ * <p>
+ * Creates and conducts surveys, lists the surveys that an authenticated user
+ * owns, and retrieves survey results and information about specified surveys.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Surveys extends Google_Service
+{
+ /** View and manage your surveys and results. */
+ const SURVEYS =
+ "https://www.googleapis.com/auth/surveys";
+ /** View your surveys and survey results. */
+ const SURVEYS_READONLY =
+ "https://www.googleapis.com/auth/surveys.readonly";
+ /** View your email address. */
+ const USERINFO_EMAIL =
+ "https://www.googleapis.com/auth/userinfo.email";
+
+ public $mobileapppanels;
+ public $results;
+ public $surveys;
+
+ /**
+ * Constructs the internal representation of the Surveys service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'surveys/v2/';
+ $this->version = 'v2';
+ $this->serviceName = 'surveys';
+
+ $this->mobileapppanels = new Google_Service_Surveys_Resource_Mobileapppanels(
+ $this,
+ $this->serviceName,
+ 'mobileapppanels',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'mobileAppPanels/{panelId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'panelId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'mobileAppPanels',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'mobileAppPanels/{panelId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'panelId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->results = new Google_Service_Surveys_Resource_Results(
+ $this,
+ $this->serviceName,
+ 'results',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'surveys/{surveyUrlId}/results',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'surveyUrlId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->surveys = new Google_Service_Surveys_Resource_Surveys(
+ $this,
+ $this->serviceName,
+ 'surveys',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'surveys/{surveyUrlId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'surveyUrlId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'surveys/{surveyUrlId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'surveyUrlId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'surveys',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'list' => array(
+ 'path' => 'surveys',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'start' => array(
+ 'path' => 'surveys/{resourceId}/start',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'stop' => array(
+ 'path' => 'surveys/{resourceId}/stop',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'resourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'surveys/{surveyUrlId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'surveyUrlId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/FieldMask.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/FieldMask.php
new file mode 100644
index 00000000..76062663
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/FieldMask.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_FieldMask extends Google_Collection
+{
+ protected $collection_key = 'fields';
+ protected $fieldsType = 'Google_Service_Surveys_FieldMask';
+ protected $fieldsDataType = 'array';
+ public $id;
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/MobileAppPanel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/MobileAppPanel.php
new file mode 100644
index 00000000..a85b1ed7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/MobileAppPanel.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_MobileAppPanel extends Google_Collection
+{
+ protected $collection_key = 'owners';
+ public $country;
+ public $isPublicPanel;
+ public $language;
+ public $mobileAppPanelId;
+ public $name;
+ public $owners;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setIsPublicPanel($isPublicPanel)
+ {
+ $this->isPublicPanel = $isPublicPanel;
+ }
+ public function getIsPublicPanel()
+ {
+ return $this->isPublicPanel;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setMobileAppPanelId($mobileAppPanelId)
+ {
+ $this->mobileAppPanelId = $mobileAppPanelId;
+ }
+ public function getMobileAppPanelId()
+ {
+ return $this->mobileAppPanelId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOwners($owners)
+ {
+ $this->owners = $owners;
+ }
+ public function getOwners()
+ {
+ return $this->owners;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/MobileAppPanelsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/MobileAppPanelsListResponse.php
new file mode 100644
index 00000000..942bf858
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/MobileAppPanelsListResponse.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_MobileAppPanelsListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $pageInfoType = 'Google_Service_Surveys_PageInfo';
+ protected $pageInfoDataType = '';
+ public $requestId;
+ protected $resourcesType = 'Google_Service_Surveys_MobileAppPanel';
+ protected $resourcesDataType = 'array';
+ protected $tokenPaginationType = 'Google_Service_Surveys_TokenPagination';
+ protected $tokenPaginationDataType = '';
+
+ public function setPageInfo(Google_Service_Surveys_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+ public function setTokenPagination(Google_Service_Surveys_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/PageInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/PageInfo.php
new file mode 100644
index 00000000..bd07806c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/PageInfo.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_PageInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Mobileapppanels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Mobileapppanels.php
new file mode 100644
index 00000000..6e3265d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Mobileapppanels.php
@@ -0,0 +1,74 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "mobileapppanels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $surveysService = new Google_Service_Surveys(...);
+ * $mobileapppanels = $surveysService->mobileapppanels;
+ * </code>
+ */
+class Google_Service_Surveys_Resource_Mobileapppanels extends Google_Service_Resource
+{
+ /**
+ * Retrieves a MobileAppPanel that is available to the authenticated user.
+ * (mobileapppanels.get)
+ *
+ * @param string $panelId External URL ID for the panel.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Surveys_MobileAppPanel
+ */
+ public function get($panelId, $optParams = array())
+ {
+ $params = array('panelId' => $panelId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Surveys_MobileAppPanel");
+ }
+ /**
+ * Lists the MobileAppPanels available to the authenticated user.
+ * (mobileapppanels.listMobileapppanels)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults
+ * @opt_param string startIndex
+ * @opt_param string token
+ * @return Google_Service_Surveys_MobileAppPanelsListResponse
+ */
+ public function listMobileapppanels($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Surveys_MobileAppPanelsListResponse");
+ }
+ /**
+ * Updates a MobileAppPanel. Currently the only property that can be updated is
+ * the owners property. (mobileapppanels.update)
+ *
+ * @param string $panelId External URL ID for the panel.
+ * @param Google_Service_Surveys_MobileAppPanel $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Surveys_MobileAppPanel
+ */
+ public function update($panelId, Google_Service_Surveys_MobileAppPanel $postBody, $optParams = array())
+ {
+ $params = array('panelId' => $panelId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Surveys_MobileAppPanel");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Results.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Results.php
new file mode 100644
index 00000000..ec6346dd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Results.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "results" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $surveysService = new Google_Service_Surveys(...);
+ * $results = $surveysService->results;
+ * </code>
+ */
+class Google_Service_Surveys_Resource_Results extends Google_Service_Resource
+{
+ /**
+ * Retrieves any survey results that have been produced so far. Results are
+ * formatted as an Excel file. You must add "?alt=media" to the URL as an
+ * argument to get results. (results.get)
+ *
+ * @param string $surveyUrlId External URL ID for the survey.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Surveys_SurveyResults
+ */
+ public function get($surveyUrlId, $optParams = array())
+ {
+ $params = array('surveyUrlId' => $surveyUrlId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Surveys_SurveyResults");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Surveys.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Surveys.php
new file mode 100644
index 00000000..86765b01
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Surveys.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "surveys" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $surveysService = new Google_Service_Surveys(...);
+ * $surveys = $surveysService->surveys;
+ * </code>
+ */
+class Google_Service_Surveys_Resource_Surveys extends Google_Service_Resource
+{
+ /**
+ * Removes a survey from view in all user GET requests. (surveys.delete)
+ *
+ * @param string $surveyUrlId External URL ID for the survey.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Surveys_SurveysDeleteResponse
+ */
+ public function delete($surveyUrlId, $optParams = array())
+ {
+ $params = array('surveyUrlId' => $surveyUrlId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Surveys_SurveysDeleteResponse");
+ }
+ /**
+ * Retrieves information about the specified survey. (surveys.get)
+ *
+ * @param string $surveyUrlId External URL ID for the survey.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Surveys_Survey
+ */
+ public function get($surveyUrlId, $optParams = array())
+ {
+ $params = array('surveyUrlId' => $surveyUrlId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Surveys_Survey");
+ }
+ /**
+ * Creates a survey. (surveys.insert)
+ *
+ * @param Google_Service_Surveys_Survey $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Surveys_Survey
+ */
+ public function insert(Google_Service_Surveys_Survey $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Surveys_Survey");
+ }
+ /**
+ * Lists the surveys owned by the authenticated user. (surveys.listSurveys)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults
+ * @opt_param string startIndex
+ * @opt_param string token
+ * @return Google_Service_Surveys_SurveysListResponse
+ */
+ public function listSurveys($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Surveys_SurveysListResponse");
+ }
+ /**
+ * Begins running a survey. (surveys.start)
+ *
+ * @param string $resourceId
+ * @param Google_Service_Surveys_SurveysStartRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Surveys_SurveysStartResponse
+ */
+ public function start($resourceId, Google_Service_Surveys_SurveysStartRequest $postBody, $optParams = array())
+ {
+ $params = array('resourceId' => $resourceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('start', array($params), "Google_Service_Surveys_SurveysStartResponse");
+ }
+ /**
+ * Stops a running survey. (surveys.stop)
+ *
+ * @param string $resourceId
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Surveys_SurveysStopResponse
+ */
+ public function stop($resourceId, $optParams = array())
+ {
+ $params = array('resourceId' => $resourceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params), "Google_Service_Surveys_SurveysStopResponse");
+ }
+ /**
+ * Updates a survey. Currently the only property that can be updated is the
+ * owners property. (surveys.update)
+ *
+ * @param string $surveyUrlId External URL ID for the survey.
+ * @param Google_Service_Surveys_Survey $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Surveys_Survey
+ */
+ public function update($surveyUrlId, Google_Service_Surveys_Survey $postBody, $optParams = array())
+ {
+ $params = array('surveyUrlId' => $surveyUrlId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Surveys_Survey");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/ResultsGetRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/ResultsGetRequest.php
new file mode 100644
index 00000000..3d8324e9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/ResultsGetRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_ResultsGetRequest extends Google_Model
+{
+ protected $resultMaskType = 'Google_Service_Surveys_ResultsMask';
+ protected $resultMaskDataType = '';
+
+ public function setResultMask(Google_Service_Surveys_ResultsMask $resultMask)
+ {
+ $this->resultMask = $resultMask;
+ }
+ public function getResultMask()
+ {
+ return $this->resultMask;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/ResultsMask.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/ResultsMask.php
new file mode 100644
index 00000000..594b86a3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/ResultsMask.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_ResultsMask extends Google_Collection
+{
+ protected $collection_key = 'fields';
+ protected $fieldsType = 'Google_Service_Surveys_FieldMask';
+ protected $fieldsDataType = 'array';
+ public $projection;
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setProjection($projection)
+ {
+ $this->projection = $projection;
+ }
+ public function getProjection()
+ {
+ return $this->projection;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Survey.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Survey.php
new file mode 100644
index 00000000..481abf86
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Survey.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_Survey extends Google_Collection
+{
+ protected $collection_key = 'questions';
+ protected $audienceType = 'Google_Service_Surveys_SurveyAudience';
+ protected $audienceDataType = '';
+ protected $costType = 'Google_Service_Surveys_SurveyCost';
+ protected $costDataType = '';
+ public $customerData;
+ public $description;
+ public $owners;
+ protected $questionsType = 'Google_Service_Surveys_SurveyQuestion';
+ protected $questionsDataType = 'array';
+ protected $rejectionReasonType = 'Google_Service_Surveys_SurveyRejection';
+ protected $rejectionReasonDataType = '';
+ public $state;
+ public $surveyUrlId;
+ public $title;
+ public $wantedResponseCount;
+
+ public function setAudience(Google_Service_Surveys_SurveyAudience $audience)
+ {
+ $this->audience = $audience;
+ }
+ public function getAudience()
+ {
+ return $this->audience;
+ }
+ public function setCost(Google_Service_Surveys_SurveyCost $cost)
+ {
+ $this->cost = $cost;
+ }
+ public function getCost()
+ {
+ return $this->cost;
+ }
+ public function setCustomerData($customerData)
+ {
+ $this->customerData = $customerData;
+ }
+ public function getCustomerData()
+ {
+ return $this->customerData;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setOwners($owners)
+ {
+ $this->owners = $owners;
+ }
+ public function getOwners()
+ {
+ return $this->owners;
+ }
+ public function setQuestions($questions)
+ {
+ $this->questions = $questions;
+ }
+ public function getQuestions()
+ {
+ return $this->questions;
+ }
+ public function setRejectionReason(Google_Service_Surveys_SurveyRejection $rejectionReason)
+ {
+ $this->rejectionReason = $rejectionReason;
+ }
+ public function getRejectionReason()
+ {
+ return $this->rejectionReason;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setSurveyUrlId($surveyUrlId)
+ {
+ $this->surveyUrlId = $surveyUrlId;
+ }
+ public function getSurveyUrlId()
+ {
+ return $this->surveyUrlId;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setWantedResponseCount($wantedResponseCount)
+ {
+ $this->wantedResponseCount = $wantedResponseCount;
+ }
+ public function getWantedResponseCount()
+ {
+ return $this->wantedResponseCount;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyAudience.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyAudience.php
new file mode 100644
index 00000000..b37f43bd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyAudience.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_SurveyAudience extends Google_Collection
+{
+ protected $collection_key = 'languages';
+ public $ages;
+ public $country;
+ public $countrySubdivision;
+ public $gender;
+ public $languages;
+ public $mobileAppPanelId;
+ public $populationSource;
+
+ public function setAges($ages)
+ {
+ $this->ages = $ages;
+ }
+ public function getAges()
+ {
+ return $this->ages;
+ }
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setCountrySubdivision($countrySubdivision)
+ {
+ $this->countrySubdivision = $countrySubdivision;
+ }
+ public function getCountrySubdivision()
+ {
+ return $this->countrySubdivision;
+ }
+ public function setGender($gender)
+ {
+ $this->gender = $gender;
+ }
+ public function getGender()
+ {
+ return $this->gender;
+ }
+ public function setLanguages($languages)
+ {
+ $this->languages = $languages;
+ }
+ public function getLanguages()
+ {
+ return $this->languages;
+ }
+ public function setMobileAppPanelId($mobileAppPanelId)
+ {
+ $this->mobileAppPanelId = $mobileAppPanelId;
+ }
+ public function getMobileAppPanelId()
+ {
+ return $this->mobileAppPanelId;
+ }
+ public function setPopulationSource($populationSource)
+ {
+ $this->populationSource = $populationSource;
+ }
+ public function getPopulationSource()
+ {
+ return $this->populationSource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyCost.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyCost.php
new file mode 100644
index 00000000..bdbd1d71
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyCost.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_SurveyCost extends Google_Model
+{
+ public $costPerResponseNanos;
+ public $currencyCode;
+ public $maxCostPerResponseNanos;
+ public $nanos;
+
+ public function setCostPerResponseNanos($costPerResponseNanos)
+ {
+ $this->costPerResponseNanos = $costPerResponseNanos;
+ }
+ public function getCostPerResponseNanos()
+ {
+ return $this->costPerResponseNanos;
+ }
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+ public function setMaxCostPerResponseNanos($maxCostPerResponseNanos)
+ {
+ $this->maxCostPerResponseNanos = $maxCostPerResponseNanos;
+ }
+ public function getMaxCostPerResponseNanos()
+ {
+ return $this->maxCostPerResponseNanos;
+ }
+ public function setNanos($nanos)
+ {
+ $this->nanos = $nanos;
+ }
+ public function getNanos()
+ {
+ return $this->nanos;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyQuestion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyQuestion.php
new file mode 100644
index 00000000..c7f60c8a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyQuestion.php
@@ -0,0 +1,185 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_SurveyQuestion extends Google_Collection
+{
+ protected $collection_key = 'thresholdAnswers';
+ public $answerOrder;
+ public $answers;
+ public $hasOther;
+ public $highValueLabel;
+ protected $imagesType = 'Google_Service_Surveys_SurveyQuestionImage';
+ protected $imagesDataType = 'array';
+ public $lastAnswerPositionPinned;
+ public $lowValueLabel;
+ public $mustPickSuggestion;
+ public $numStars;
+ public $openTextPlaceholder;
+ public $openTextSuggestions;
+ public $question;
+ public $sentimentText;
+ public $singleLineResponse;
+ public $thresholdAnswers;
+ public $type;
+ public $unitOfMeasurementLabel;
+ public $videoId;
+
+ public function setAnswerOrder($answerOrder)
+ {
+ $this->answerOrder = $answerOrder;
+ }
+ public function getAnswerOrder()
+ {
+ return $this->answerOrder;
+ }
+ public function setAnswers($answers)
+ {
+ $this->answers = $answers;
+ }
+ public function getAnswers()
+ {
+ return $this->answers;
+ }
+ public function setHasOther($hasOther)
+ {
+ $this->hasOther = $hasOther;
+ }
+ public function getHasOther()
+ {
+ return $this->hasOther;
+ }
+ public function setHighValueLabel($highValueLabel)
+ {
+ $this->highValueLabel = $highValueLabel;
+ }
+ public function getHighValueLabel()
+ {
+ return $this->highValueLabel;
+ }
+ public function setImages($images)
+ {
+ $this->images = $images;
+ }
+ public function getImages()
+ {
+ return $this->images;
+ }
+ public function setLastAnswerPositionPinned($lastAnswerPositionPinned)
+ {
+ $this->lastAnswerPositionPinned = $lastAnswerPositionPinned;
+ }
+ public function getLastAnswerPositionPinned()
+ {
+ return $this->lastAnswerPositionPinned;
+ }
+ public function setLowValueLabel($lowValueLabel)
+ {
+ $this->lowValueLabel = $lowValueLabel;
+ }
+ public function getLowValueLabel()
+ {
+ return $this->lowValueLabel;
+ }
+ public function setMustPickSuggestion($mustPickSuggestion)
+ {
+ $this->mustPickSuggestion = $mustPickSuggestion;
+ }
+ public function getMustPickSuggestion()
+ {
+ return $this->mustPickSuggestion;
+ }
+ public function setNumStars($numStars)
+ {
+ $this->numStars = $numStars;
+ }
+ public function getNumStars()
+ {
+ return $this->numStars;
+ }
+ public function setOpenTextPlaceholder($openTextPlaceholder)
+ {
+ $this->openTextPlaceholder = $openTextPlaceholder;
+ }
+ public function getOpenTextPlaceholder()
+ {
+ return $this->openTextPlaceholder;
+ }
+ public function setOpenTextSuggestions($openTextSuggestions)
+ {
+ $this->openTextSuggestions = $openTextSuggestions;
+ }
+ public function getOpenTextSuggestions()
+ {
+ return $this->openTextSuggestions;
+ }
+ public function setQuestion($question)
+ {
+ $this->question = $question;
+ }
+ public function getQuestion()
+ {
+ return $this->question;
+ }
+ public function setSentimentText($sentimentText)
+ {
+ $this->sentimentText = $sentimentText;
+ }
+ public function getSentimentText()
+ {
+ return $this->sentimentText;
+ }
+ public function setSingleLineResponse($singleLineResponse)
+ {
+ $this->singleLineResponse = $singleLineResponse;
+ }
+ public function getSingleLineResponse()
+ {
+ return $this->singleLineResponse;
+ }
+ public function setThresholdAnswers($thresholdAnswers)
+ {
+ $this->thresholdAnswers = $thresholdAnswers;
+ }
+ public function getThresholdAnswers()
+ {
+ return $this->thresholdAnswers;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUnitOfMeasurementLabel($unitOfMeasurementLabel)
+ {
+ $this->unitOfMeasurementLabel = $unitOfMeasurementLabel;
+ }
+ public function getUnitOfMeasurementLabel()
+ {
+ return $this->unitOfMeasurementLabel;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyQuestionImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyQuestionImage.php
new file mode 100644
index 00000000..5249a2f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyQuestionImage.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_SurveyQuestionImage extends Google_Model
+{
+ public $altText;
+ public $data;
+ public $url;
+
+ public function setAltText($altText)
+ {
+ $this->altText = $altText;
+ }
+ public function getAltText()
+ {
+ return $this->altText;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyRejection.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyRejection.php
new file mode 100644
index 00000000..62efd4cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyRejection.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_SurveyRejection extends Google_Model
+{
+ public $explanation;
+ public $type;
+
+ public function setExplanation($explanation)
+ {
+ $this->explanation = $explanation;
+ }
+ public function getExplanation()
+ {
+ return $this->explanation;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyResults.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyResults.php
new file mode 100644
index 00000000..8a03734e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyResults.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_SurveyResults extends Google_Model
+{
+ public $status;
+ public $surveyUrlId;
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setSurveyUrlId($surveyUrlId)
+ {
+ $this->surveyUrlId = $surveyUrlId;
+ }
+ public function getSurveyUrlId()
+ {
+ return $this->surveyUrlId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysDeleteResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysDeleteResponse.php
new file mode 100644
index 00000000..66a41e9c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysDeleteResponse.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_SurveysDeleteResponse extends Google_Model
+{
+ public $requestId;
+
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysListResponse.php
new file mode 100644
index 00000000..a1958989
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysListResponse.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_SurveysListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $pageInfoType = 'Google_Service_Surveys_PageInfo';
+ protected $pageInfoDataType = '';
+ public $requestId;
+ protected $resourcesType = 'Google_Service_Surveys_Survey';
+ protected $resourcesDataType = 'array';
+ protected $tokenPaginationType = 'Google_Service_Surveys_TokenPagination';
+ protected $tokenPaginationDataType = '';
+
+ public function setPageInfo(Google_Service_Surveys_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+ public function setTokenPagination(Google_Service_Surveys_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStartRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStartRequest.php
new file mode 100644
index 00000000..963512ab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStartRequest.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_SurveysStartRequest extends Google_Model
+{
+ public $maxCostPerResponseNanos;
+
+ public function setMaxCostPerResponseNanos($maxCostPerResponseNanos)
+ {
+ $this->maxCostPerResponseNanos = $maxCostPerResponseNanos;
+ }
+ public function getMaxCostPerResponseNanos()
+ {
+ return $this->maxCostPerResponseNanos;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStartResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStartResponse.php
new file mode 100644
index 00000000..623c0e4a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStartResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_SurveysStartResponse extends Google_Model
+{
+ public $requestId;
+ protected $resourceType = 'Google_Service_Surveys_Survey';
+ protected $resourceDataType = '';
+
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+ public function setResource(Google_Service_Surveys_Survey $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStopResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStopResponse.php
new file mode 100644
index 00000000..502cf1c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStopResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_SurveysStopResponse extends Google_Model
+{
+ public $requestId;
+ protected $resourceType = 'Google_Service_Surveys_Survey';
+ protected $resourceDataType = '';
+
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+ public function setResource(Google_Service_Surveys_Survey $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/TokenPagination.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/TokenPagination.php
new file mode 100644
index 00000000..74208738
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/TokenPagination.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Surveys_TokenPagination extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager.php
new file mode 100644
index 00000000..7e03dd5d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager.php
@@ -0,0 +1,1099 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Accesses 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 Google_Service_TagManager extends 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 container and its subcomponents, excluding versioning and publishing. */
+ 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";
+ /** View and 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 account and container. */
+ const TAGMANAGER_MANAGE_USERS =
+ "https://www.googleapis.com/auth/tagmanager.manage.users";
+ /** Publish your Google Tag Manager container versions. */
+ const TAGMANAGER_PUBLISH =
+ "https://www.googleapis.com/auth/tagmanager.publish";
+ /** View your Google Tag Manager container and its subcomponents. */
+ const TAGMANAGER_READONLY =
+ "https://www.googleapis.com/auth/tagmanager.readonly";
+
+ public $accounts;
+ public $accounts_containers;
+ public $accounts_containers_environments;
+ public $accounts_containers_folders;
+ public $accounts_containers_folders_entities;
+ public $accounts_containers_move_folders;
+ public $accounts_containers_reauthorize_environments;
+ 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'tagmanager/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'tagmanager';
+
+ $this->accounts = new Google_Service_TagManager_Resource_Accounts(
+ $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 Google_Service_TagManager_Resource_AccountsContainers(
+ $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_environments = new Google_Service_TagManager_Resource_AccountsContainersEnvironments(
+ $this,
+ $this->serviceName,
+ 'environments',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/environments',
+ '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}/environments/{environmentId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'environmentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/environments/{environmentId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'environmentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/environments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/environments/{environmentId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'environmentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fingerprint' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/environments/{environmentId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'environmentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fingerprint' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_containers_folders = new Google_Service_TagManager_Resource_AccountsContainersFolders(
+ $this,
+ $this->serviceName,
+ 'folders',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/folders',
+ '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}/folders/{folderId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'folderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'folderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/folders',
+ '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}/folders/{folderId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'folderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fingerprint' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_containers_folders_entities = new Google_Service_TagManager_Resource_AccountsContainersFoldersEntities(
+ $this,
+ $this->serviceName,
+ 'entities',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'folderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_containers_move_folders = new Google_Service_TagManager_Resource_AccountsContainersMoveFolders(
+ $this,
+ $this->serviceName,
+ 'move_folders',
+ array(
+ 'methods' => array(
+ 'update' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/move_folders/{folderId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'folderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'tagId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'triggerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'variableId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_containers_reauthorize_environments = new Google_Service_TagManager_Resource_AccountsContainersReauthorizeEnvironments(
+ $this,
+ $this->serviceName,
+ 'reauthorize_environments',
+ array(
+ 'methods' => array(
+ 'update' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/reauthorize_environments/{environmentId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'environmentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_containers_tags = new Google_Service_TagManager_Resource_AccountsContainersTags(
+ $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 Google_Service_TagManager_Resource_AccountsContainersTriggers(
+ $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 Google_Service_TagManager_Resource_AccountsContainersVariables(
+ $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 Google_Service_TagManager_Resource_AccountsContainersVersions(
+ $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',
+ ),
+ 'includeDeleted' => 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 Google_Service_TagManager_Resource_AccountsPermissions(
+ $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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Account.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Account.php
new file mode 100644
index 00000000..7f55dd39
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Account.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_Account extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/AccountAccess.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/AccountAccess.php
new file mode 100644
index 00000000..7f331b38
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/AccountAccess.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_AccountAccess extends Google_Collection
+{
+ protected $collection_key = 'permission';
+ public $permission;
+
+ public function setPermission($permission)
+ {
+ $this->permission = $permission;
+ }
+ public function getPermission()
+ {
+ return $this->permission;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Condition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Condition.php
new file mode 100644
index 00000000..ae346be9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Condition.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_Condition extends Google_Collection
+{
+ protected $collection_key = 'parameter';
+ protected $parameterType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Container.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Container.php
new file mode 100644
index 00000000..1b0eac31
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Container.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_Container extends Google_Collection
+{
+ protected $collection_key = 'usageContext';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerAccess.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerAccess.php
new file mode 100644
index 00000000..14dffc35
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerAccess.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_ContainerAccess extends Google_Collection
+{
+ protected $collection_key = 'permission';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerVersion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerVersion.php
new file mode 100644
index 00000000..ea14afd3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerVersion.php
@@ -0,0 +1,155 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_ContainerVersion extends Google_Collection
+{
+ protected $collection_key = 'variable';
+ public $accountId;
+ protected $containerType = 'Google_Service_TagManager_Container';
+ protected $containerDataType = '';
+ public $containerId;
+ public $containerVersionId;
+ public $deleted;
+ public $fingerprint;
+ protected $folderType = 'Google_Service_TagManager_Folder';
+ protected $folderDataType = 'array';
+ protected $macroType = 'Google_Service_TagManager_Macro';
+ protected $macroDataType = 'array';
+ public $name;
+ public $notes;
+ protected $ruleType = 'Google_Service_TagManager_Rule';
+ protected $ruleDataType = 'array';
+ protected $tagType = 'Google_Service_TagManager_Tag';
+ protected $tagDataType = 'array';
+ protected $triggerType = 'Google_Service_TagManager_Trigger';
+ protected $triggerDataType = 'array';
+ protected $variableType = 'Google_Service_TagManager_Variable';
+ protected $variableDataType = 'array';
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setContainer(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 setFolder($folder)
+ {
+ $this->folder = $folder;
+ }
+ public function getFolder()
+ {
+ return $this->folder;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerVersionHeader.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerVersionHeader.php
new file mode 100644
index 00000000..44105c90
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerVersionHeader.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_ContainerVersionHeader extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/CreateContainerVersionRequestVersionOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/CreateContainerVersionRequestVersionOptions.php
new file mode 100644
index 00000000..46f73525
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/CreateContainerVersionRequestVersionOptions.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_CreateContainerVersionRequestVersionOptions extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/CreateContainerVersionResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/CreateContainerVersionResponse.php
new file mode 100644
index 00000000..754eed54
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/CreateContainerVersionResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_CreateContainerVersionResponse extends Google_Model
+{
+ public $compilerError;
+ protected $containerVersionType = 'Google_Service_TagManager_ContainerVersion';
+ protected $containerVersionDataType = '';
+
+ public function setCompilerError($compilerError)
+ {
+ $this->compilerError = $compilerError;
+ }
+ public function getCompilerError()
+ {
+ return $this->compilerError;
+ }
+ public function setContainerVersion(Google_Service_TagManager_ContainerVersion $containerVersion)
+ {
+ $this->containerVersion = $containerVersion;
+ }
+ public function getContainerVersion()
+ {
+ return $this->containerVersion;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Environment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Environment.php
new file mode 100644
index 00000000..b4368183
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Environment.php
@@ -0,0 +1,129 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_Environment extends Google_Model
+{
+ public $accountId;
+ public $authorizationCode;
+ public $authorizationTimestampMs;
+ public $containerId;
+ public $containerVersionId;
+ public $description;
+ public $enableDebug;
+ public $environmentId;
+ public $fingerprint;
+ public $name;
+ public $type;
+ public $url;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAuthorizationCode($authorizationCode)
+ {
+ $this->authorizationCode = $authorizationCode;
+ }
+ public function getAuthorizationCode()
+ {
+ return $this->authorizationCode;
+ }
+ public function setAuthorizationTimestampMs($authorizationTimestampMs)
+ {
+ $this->authorizationTimestampMs = $authorizationTimestampMs;
+ }
+ public function getAuthorizationTimestampMs()
+ {
+ return $this->authorizationTimestampMs;
+ }
+ 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 setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEnableDebug($enableDebug)
+ {
+ $this->enableDebug = $enableDebug;
+ }
+ public function getEnableDebug()
+ {
+ return $this->enableDebug;
+ }
+ public function setEnvironmentId($environmentId)
+ {
+ $this->environmentId = $environmentId;
+ }
+ public function getEnvironmentId()
+ {
+ return $this->environmentId;
+ }
+ 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 setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Folder.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Folder.php
new file mode 100644
index 00000000..c7de2387
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Folder.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_Folder extends Google_Model
+{
+ public $accountId;
+ public $containerId;
+ public $fingerprint;
+ public $folderId;
+ public $name;
+
+ 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 setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setFolderId($folderId)
+ {
+ $this->folderId = $folderId;
+ }
+ public function getFolderId()
+ {
+ return $this->folderId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/FolderEntities.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/FolderEntities.php
new file mode 100644
index 00000000..e13ba62e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/FolderEntities.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_FolderEntities extends Google_Collection
+{
+ protected $collection_key = 'variable';
+ protected $tagType = 'Google_Service_TagManager_Tag';
+ protected $tagDataType = 'array';
+ protected $triggerType = 'Google_Service_TagManager_Trigger';
+ protected $triggerDataType = 'array';
+ protected $variableType = 'Google_Service_TagManager_Variable';
+ protected $variableDataType = 'array';
+
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListAccountUsersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListAccountUsersResponse.php
new file mode 100644
index 00000000..ea3637ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListAccountUsersResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_ListAccountUsersResponse extends Google_Collection
+{
+ protected $collection_key = 'userAccess';
+ protected $userAccessType = 'Google_Service_TagManager_UserAccess';
+ protected $userAccessDataType = 'array';
+
+ public function setUserAccess($userAccess)
+ {
+ $this->userAccess = $userAccess;
+ }
+ public function getUserAccess()
+ {
+ return $this->userAccess;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListAccountsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListAccountsResponse.php
new file mode 100644
index 00000000..0b533124
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListAccountsResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_ListAccountsResponse extends Google_Collection
+{
+ protected $collection_key = 'accounts';
+ protected $accountsType = 'Google_Service_TagManager_Account';
+ protected $accountsDataType = 'array';
+
+ public function setAccounts($accounts)
+ {
+ $this->accounts = $accounts;
+ }
+ public function getAccounts()
+ {
+ return $this->accounts;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListContainerVersionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListContainerVersionsResponse.php
new file mode 100644
index 00000000..278de0b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListContainerVersionsResponse.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_ListContainerVersionsResponse extends Google_Collection
+{
+ protected $collection_key = 'containerVersionHeader';
+ protected $containerVersionType = 'Google_Service_TagManager_ContainerVersion';
+ protected $containerVersionDataType = 'array';
+ protected $containerVersionHeaderType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListContainersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListContainersResponse.php
new file mode 100644
index 00000000..7b4f449a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListContainersResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_ListContainersResponse extends Google_Collection
+{
+ protected $collection_key = 'containers';
+ protected $containersType = 'Google_Service_TagManager_Container';
+ protected $containersDataType = 'array';
+
+ public function setContainers($containers)
+ {
+ $this->containers = $containers;
+ }
+ public function getContainers()
+ {
+ return $this->containers;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListEnvironmentsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListEnvironmentsResponse.php
new file mode 100644
index 00000000..581c1892
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListEnvironmentsResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_ListEnvironmentsResponse extends Google_Collection
+{
+ protected $collection_key = 'environments';
+ protected $environmentsType = 'Google_Service_TagManager_Environment';
+ protected $environmentsDataType = 'array';
+
+ public function setEnvironments($environments)
+ {
+ $this->environments = $environments;
+ }
+ public function getEnvironments()
+ {
+ return $this->environments;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListFoldersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListFoldersResponse.php
new file mode 100644
index 00000000..8b830d6e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListFoldersResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_ListFoldersResponse extends Google_Collection
+{
+ protected $collection_key = 'folders';
+ protected $foldersType = 'Google_Service_TagManager_Folder';
+ protected $foldersDataType = 'array';
+
+ public function setFolders($folders)
+ {
+ $this->folders = $folders;
+ }
+ public function getFolders()
+ {
+ return $this->folders;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListTagsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListTagsResponse.php
new file mode 100644
index 00000000..95f29bd2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListTagsResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_ListTagsResponse extends Google_Collection
+{
+ protected $collection_key = 'tags';
+ protected $tagsType = 'Google_Service_TagManager_Tag';
+ protected $tagsDataType = 'array';
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListTriggersResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListTriggersResponse.php
new file mode 100644
index 00000000..fa744c81
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListTriggersResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_ListTriggersResponse extends Google_Collection
+{
+ protected $collection_key = 'triggers';
+ protected $triggersType = 'Google_Service_TagManager_Trigger';
+ protected $triggersDataType = 'array';
+
+ public function setTriggers($triggers)
+ {
+ $this->triggers = $triggers;
+ }
+ public function getTriggers()
+ {
+ return $this->triggers;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListVariablesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListVariablesResponse.php
new file mode 100644
index 00000000..e72c1f53
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListVariablesResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_ListVariablesResponse extends Google_Collection
+{
+ protected $collection_key = 'variables';
+ protected $variablesType = 'Google_Service_TagManager_Variable';
+ protected $variablesDataType = 'array';
+
+ public function setVariables($variables)
+ {
+ $this->variables = $variables;
+ }
+ public function getVariables()
+ {
+ return $this->variables;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Macro.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Macro.php
new file mode 100644
index 00000000..b04c2e45
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Macro.php
@@ -0,0 +1,140 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_Macro extends Google_Collection
+{
+ protected $collection_key = 'parameter';
+ public $accountId;
+ public $containerId;
+ public $disablingRuleId;
+ public $enablingRuleId;
+ public $fingerprint;
+ public $macroId;
+ public $name;
+ public $notes;
+ protected $parameterType = 'Google_Service_TagManager_Parameter';
+ protected $parameterDataType = 'array';
+ public $parentFolderId;
+ 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 setParentFolderId($parentFolderId)
+ {
+ $this->parentFolderId = $parentFolderId;
+ }
+ public function getParentFolderId()
+ {
+ return $this->parentFolderId;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Parameter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Parameter.php
new file mode 100644
index 00000000..6bb3be77
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Parameter.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_Parameter extends Google_Collection
+{
+ protected $collection_key = 'map';
+ public $key;
+ protected $listType = 'Google_Service_TagManager_Parameter';
+ protected $listDataType = 'array';
+ protected $mapType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/PublishContainerVersionResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/PublishContainerVersionResponse.php
new file mode 100644
index 00000000..673ea70c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/PublishContainerVersionResponse.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_PublishContainerVersionResponse extends Google_Model
+{
+ public $compilerError;
+ protected $containerVersionType = 'Google_Service_TagManager_ContainerVersion';
+ protected $containerVersionDataType = '';
+
+ public function setCompilerError($compilerError)
+ {
+ $this->compilerError = $compilerError;
+ }
+ public function getCompilerError()
+ {
+ return $this->compilerError;
+ }
+ public function setContainerVersion(Google_Service_TagManager_ContainerVersion $containerVersion)
+ {
+ $this->containerVersion = $containerVersion;
+ }
+ public function getContainerVersion()
+ {
+ return $this->containerVersion;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/Accounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/Accounts.php
new file mode 100644
index 00000000..1a649394
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/Accounts.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Google_Service_TagManager(...);
+ * $accounts = $tagmanagerService->accounts;
+ * </code>
+ */
+class Google_Service_TagManager_Resource_Accounts extends Google_Service_Resource
+{
+ /**
+ * Gets a GTM Account. (accounts.get)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_TagManager_Account");
+ }
+ /**
+ * Lists all GTM Accounts that a user has access to. (accounts.listAccounts)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_TagManager_ListAccountsResponse
+ */
+ public function listAccounts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_TagManager_ListAccountsResponse");
+ }
+ /**
+ * Updates a GTM Account. (accounts.update)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param Google_Service_TagManager_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 Google_Service_TagManager_Account
+ */
+ public function update($accountId, Google_Service_TagManager_Account $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_TagManager_Account");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainers.php
new file mode 100644
index 00000000..9da840ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainers.php
@@ -0,0 +1,101 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "containers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Google_Service_TagManager(...);
+ * $containers = $tagmanagerService->containers;
+ * </code>
+ */
+class Google_Service_TagManager_Resource_AccountsContainers extends Google_Service_Resource
+{
+ /**
+ * Creates a Container. (containers.create)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param Google_Service_TagManager_Container $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_TagManager_Container
+ */
+ public function create($accountId, Google_Service_TagManager_Container $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "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 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), "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 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), "Google_Service_TagManager_ListContainersResponse");
+ }
+ /**
+ * Updates a Container. (containers.update)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param Google_Service_TagManager_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 Google_Service_TagManager_Container
+ */
+ public function update($accountId, $containerId, 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), "Google_Service_TagManager_Container");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersEnvironments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersEnvironments.php
new file mode 100644
index 00000000..368f8a2e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersEnvironments.php
@@ -0,0 +1,126 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "environments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Google_Service_TagManager(...);
+ * $environments = $tagmanagerService->environments;
+ * </code>
+ */
+class Google_Service_TagManager_Resource_AccountsContainersEnvironments extends Google_Service_Resource
+{
+ /**
+ * Creates a GTM Environment. (environments.create)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param Google_Service_TagManager_Environment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_TagManager_Environment
+ */
+ public function create($accountId, $containerId, Google_Service_TagManager_Environment $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_TagManager_Environment");
+ }
+ /**
+ * Deletes a GTM Environment. (environments.delete)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $environmentId The GTM Environment ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $containerId, $environmentId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'environmentId' => $environmentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets a GTM Environment. (environments.get)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $environmentId The GTM Environment ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_TagManager_Environment
+ */
+ public function get($accountId, $containerId, $environmentId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'environmentId' => $environmentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_TagManager_Environment");
+ }
+ /**
+ * Lists all GTM Environments of a GTM Container.
+ * (environments.listAccountsContainersEnvironments)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_TagManager_ListEnvironmentsResponse
+ */
+ public function listAccountsContainersEnvironments($accountId, $containerId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_TagManager_ListEnvironmentsResponse");
+ }
+ /**
+ * Updates a GTM Environment. This method supports patch semantics.
+ * (environments.patch)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $environmentId The GTM Environment ID.
+ * @param Google_Service_TagManager_Environment $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string fingerprint When provided, this fingerprint must match the
+ * fingerprint of the environment in storage.
+ * @return Google_Service_TagManager_Environment
+ */
+ public function patch($accountId, $containerId, $environmentId, Google_Service_TagManager_Environment $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'environmentId' => $environmentId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_TagManager_Environment");
+ }
+ /**
+ * Updates a GTM Environment. (environments.update)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $environmentId The GTM Environment ID.
+ * @param Google_Service_TagManager_Environment $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string fingerprint When provided, this fingerprint must match the
+ * fingerprint of the environment in storage.
+ * @return Google_Service_TagManager_Environment
+ */
+ public function update($accountId, $containerId, $environmentId, Google_Service_TagManager_Environment $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'environmentId' => $environmentId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_TagManager_Environment");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersFolders.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersFolders.php
new file mode 100644
index 00000000..14dc80ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersFolders.php
@@ -0,0 +1,105 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "folders" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Google_Service_TagManager(...);
+ * $folders = $tagmanagerService->folders;
+ * </code>
+ */
+class Google_Service_TagManager_Resource_AccountsContainersFolders extends Google_Service_Resource
+{
+ /**
+ * Creates a GTM Folder. (folders.create)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param Google_Service_TagManager_Folder $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_TagManager_Folder
+ */
+ public function create($accountId, $containerId, Google_Service_TagManager_Folder $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_TagManager_Folder");
+ }
+ /**
+ * Deletes a GTM Folder. (folders.delete)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $folderId The GTM Folder ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $containerId, $folderId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets a GTM Folder. (folders.get)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $folderId The GTM Folder ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_TagManager_Folder
+ */
+ public function get($accountId, $containerId, $folderId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_TagManager_Folder");
+ }
+ /**
+ * Lists all GTM Folders of a Container. (folders.listAccountsContainersFolders)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_TagManager_ListFoldersResponse
+ */
+ public function listAccountsContainersFolders($accountId, $containerId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_TagManager_ListFoldersResponse");
+ }
+ /**
+ * Updates a GTM Folder. (folders.update)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $folderId The GTM Folder ID.
+ * @param Google_Service_TagManager_Folder $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string fingerprint When provided, this fingerprint must match the
+ * fingerprint of the folder in storage.
+ * @return Google_Service_TagManager_Folder
+ */
+ public function update($accountId, $containerId, $folderId, Google_Service_TagManager_Folder $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_TagManager_Folder");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersFoldersEntities.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersFoldersEntities.php
new file mode 100644
index 00000000..cc587718
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersFoldersEntities.php
@@ -0,0 +1,44 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "entities" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Google_Service_TagManager(...);
+ * $entities = $tagmanagerService->entities;
+ * </code>
+ */
+class Google_Service_TagManager_Resource_AccountsContainersFoldersEntities extends Google_Service_Resource
+{
+ /**
+ * List all entities in a GTM Folder.
+ * (entities.listAccountsContainersFoldersEntities)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $folderId The GTM Folder ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_TagManager_FolderEntities
+ */
+ public function listAccountsContainersFoldersEntities($accountId, $containerId, $folderId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_TagManager_FolderEntities");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersMoveFolders.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersMoveFolders.php
new file mode 100644
index 00000000..7e18b61c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersMoveFolders.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "move_folders" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Google_Service_TagManager(...);
+ * $move_folders = $tagmanagerService->move_folders;
+ * </code>
+ */
+class Google_Service_TagManager_Resource_AccountsContainersMoveFolders extends Google_Service_Resource
+{
+ /**
+ * Moves entities to a GTM Folder. (move_folders.update)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $folderId The GTM Folder ID.
+ * @param Google_Service_TagManager_Folder $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string tagId The tags to be moved to the folder.
+ * @opt_param string triggerId The triggers to be moved to the folder.
+ * @opt_param string variableId The variables to be moved to the folder.
+ */
+ public function update($accountId, $containerId, $folderId, Google_Service_TagManager_Folder $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersReauthorizeEnvironments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersReauthorizeEnvironments.php
new file mode 100644
index 00000000..7d7be2a1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersReauthorizeEnvironments.php
@@ -0,0 +1,45 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "reauthorize_environments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Google_Service_TagManager(...);
+ * $reauthorize_environments = $tagmanagerService->reauthorize_environments;
+ * </code>
+ */
+class Google_Service_TagManager_Resource_AccountsContainersReauthorizeEnvironments extends Google_Service_Resource
+{
+ /**
+ * Re-generates the authorization code for a GTM Environment.
+ * (reauthorize_environments.update)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $environmentId The GTM Environment ID.
+ * @param Google_Service_TagManager_Environment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_TagManager_Environment
+ */
+ public function update($accountId, $containerId, $environmentId, Google_Service_TagManager_Environment $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'environmentId' => $environmentId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_TagManager_Environment");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersTags.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersTags.php
new file mode 100644
index 00000000..f1ca469e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersTags.php
@@ -0,0 +1,105 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "tags" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Google_Service_TagManager(...);
+ * $tags = $tagmanagerService->tags;
+ * </code>
+ */
+class Google_Service_TagManager_Resource_AccountsContainersTags extends Google_Service_Resource
+{
+ /**
+ * Creates a GTM Tag. (tags.create)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param Google_Service_TagManager_Tag $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_TagManager_Tag
+ */
+ public function create($accountId, $containerId, 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), "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 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), "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 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), "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 Google_Service_TagManager_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 Google_Service_TagManager_Tag
+ */
+ public function update($accountId, $containerId, $tagId, 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), "Google_Service_TagManager_Tag");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersTriggers.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersTriggers.php
new file mode 100644
index 00000000..bcd55b2d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersTriggers.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "triggers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Google_Service_TagManager(...);
+ * $triggers = $tagmanagerService->triggers;
+ * </code>
+ */
+class Google_Service_TagManager_Resource_AccountsContainersTriggers extends Google_Service_Resource
+{
+ /**
+ * Creates a GTM Trigger. (triggers.create)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param Google_Service_TagManager_Trigger $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_TagManager_Trigger
+ */
+ public function create($accountId, $containerId, 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), "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 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), "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 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), "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 Google_Service_TagManager_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 Google_Service_TagManager_Trigger
+ */
+ public function update($accountId, $containerId, $triggerId, 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), "Google_Service_TagManager_Trigger");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersVariables.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersVariables.php
new file mode 100644
index 00000000..52a8da84
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersVariables.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "variables" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Google_Service_TagManager(...);
+ * $variables = $tagmanagerService->variables;
+ * </code>
+ */
+class Google_Service_TagManager_Resource_AccountsContainersVariables extends Google_Service_Resource
+{
+ /**
+ * Creates a GTM Variable. (variables.create)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param Google_Service_TagManager_Variable $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_TagManager_Variable
+ */
+ public function create($accountId, $containerId, 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), "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 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), "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 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), "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 Google_Service_TagManager_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 Google_Service_TagManager_Variable
+ */
+ public function update($accountId, $containerId, $variableId, 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), "Google_Service_TagManager_Variable");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersVersions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersVersions.php
new file mode 100644
index 00000000..3ed0e924
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersVersions.php
@@ -0,0 +1,162 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "versions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Google_Service_TagManager(...);
+ * $versions = $tagmanagerService->versions;
+ * </code>
+ */
+class Google_Service_TagManager_Resource_AccountsContainersVersions extends Google_Service_Resource
+{
+ /**
+ * Creates a Container Version. (versions.create)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param Google_Service_TagManager_CreateContainerVersionRequestVersionOptions $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_TagManager_CreateContainerVersionResponse
+ */
+ public function create($accountId, $containerId, 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), "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 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), "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.
+ * @opt_param bool includeDeleted Also retrieve deleted (archived) versions when
+ * true.
+ * @return 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), "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 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), "Google_Service_TagManager_PublishContainerVersionResponse");
+ }
+ /**
+ * Restores a Container Version. This will overwrite the container's current
+ * configuration (including its variables, triggers 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 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), "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 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), "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 Google_Service_TagManager_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 Google_Service_TagManager_ContainerVersion
+ */
+ public function update($accountId, $containerId, $containerVersionId, 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), "Google_Service_TagManager_ContainerVersion");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsPermissions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsPermissions.php
new file mode 100644
index 00000000..009a2d65
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsPermissions.php
@@ -0,0 +1,101 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Google_Service_TagManager(...);
+ * $permissions = $tagmanagerService->permissions;
+ * </code>
+ */
+class Google_Service_TagManager_Resource_AccountsPermissions extends Google_Service_Resource
+{
+ /**
+ * Creates a user's Account & Container Permissions. (permissions.create)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param Google_Service_TagManager_UserAccess $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_TagManager_UserAccess
+ */
+ public function create($accountId, Google_Service_TagManager_UserAccess $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "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 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), "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 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), "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 Google_Service_TagManager_UserAccess $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_TagManager_UserAccess
+ */
+ public function update($accountId, $permissionId, 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), "Google_Service_TagManager_UserAccess");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Rule.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Rule.php
new file mode 100644
index 00000000..ef38ca26
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Rule.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_Rule extends Google_Collection
+{
+ protected $collection_key = 'condition';
+ public $accountId;
+ protected $conditionType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/SetupTag.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/SetupTag.php
new file mode 100644
index 00000000..98c24d66
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/SetupTag.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_SetupTag extends Google_Model
+{
+ public $stopOnSetupFailure;
+ public $tagName;
+
+ public function setStopOnSetupFailure($stopOnSetupFailure)
+ {
+ $this->stopOnSetupFailure = $stopOnSetupFailure;
+ }
+ public function getStopOnSetupFailure()
+ {
+ return $this->stopOnSetupFailure;
+ }
+ public function setTagName($tagName)
+ {
+ $this->tagName = $tagName;
+ }
+ public function getTagName()
+ {
+ return $this->tagName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Tag.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Tag.php
new file mode 100644
index 00000000..92a18b72
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Tag.php
@@ -0,0 +1,206 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_Tag extends Google_Collection
+{
+ protected $collection_key = 'teardownTag';
+ public $accountId;
+ public $blockingRuleId;
+ public $blockingTriggerId;
+ public $containerId;
+ public $fingerprint;
+ public $firingRuleId;
+ public $firingTriggerId;
+ public $liveOnly;
+ public $name;
+ public $notes;
+ protected $parameterType = 'Google_Service_TagManager_Parameter';
+ protected $parameterDataType = 'array';
+ public $parentFolderId;
+ protected $priorityType = 'Google_Service_TagManager_Parameter';
+ protected $priorityDataType = '';
+ public $scheduleEndMs;
+ public $scheduleStartMs;
+ protected $setupTagType = 'Google_Service_TagManager_SetupTag';
+ protected $setupTagDataType = 'array';
+ public $tagFiringOption;
+ public $tagId;
+ protected $teardownTagType = 'Google_Service_TagManager_TeardownTag';
+ protected $teardownTagDataType = 'array';
+ 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 setParentFolderId($parentFolderId)
+ {
+ $this->parentFolderId = $parentFolderId;
+ }
+ public function getParentFolderId()
+ {
+ return $this->parentFolderId;
+ }
+ public function setPriority(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 setSetupTag($setupTag)
+ {
+ $this->setupTag = $setupTag;
+ }
+ public function getSetupTag()
+ {
+ return $this->setupTag;
+ }
+ public function setTagFiringOption($tagFiringOption)
+ {
+ $this->tagFiringOption = $tagFiringOption;
+ }
+ public function getTagFiringOption()
+ {
+ return $this->tagFiringOption;
+ }
+ public function setTagId($tagId)
+ {
+ $this->tagId = $tagId;
+ }
+ public function getTagId()
+ {
+ return $this->tagId;
+ }
+ public function setTeardownTag($teardownTag)
+ {
+ $this->teardownTag = $teardownTag;
+ }
+ public function getTeardownTag()
+ {
+ return $this->teardownTag;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/TeardownTag.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/TeardownTag.php
new file mode 100644
index 00000000..f0a8e3c2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/TeardownTag.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_TeardownTag extends Google_Model
+{
+ public $stopTeardownOnFailure;
+ public $tagName;
+
+ public function setStopTeardownOnFailure($stopTeardownOnFailure)
+ {
+ $this->stopTeardownOnFailure = $stopTeardownOnFailure;
+ }
+ public function getStopTeardownOnFailure()
+ {
+ return $this->stopTeardownOnFailure;
+ }
+ public function setTagName($tagName)
+ {
+ $this->tagName = $tagName;
+ }
+ public function getTagName()
+ {
+ return $this->tagName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Trigger.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Trigger.php
new file mode 100644
index 00000000..5f8391a8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Trigger.php
@@ -0,0 +1,205 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_Trigger extends Google_Collection
+{
+ protected $collection_key = 'filter';
+ public $accountId;
+ protected $autoEventFilterType = 'Google_Service_TagManager_Condition';
+ protected $autoEventFilterDataType = 'array';
+ protected $checkValidationType = 'Google_Service_TagManager_Parameter';
+ protected $checkValidationDataType = '';
+ public $containerId;
+ protected $customEventFilterType = 'Google_Service_TagManager_Condition';
+ protected $customEventFilterDataType = 'array';
+ protected $enableAllVideosType = 'Google_Service_TagManager_Parameter';
+ protected $enableAllVideosDataType = '';
+ protected $eventNameType = 'Google_Service_TagManager_Parameter';
+ protected $eventNameDataType = '';
+ protected $filterType = 'Google_Service_TagManager_Condition';
+ protected $filterDataType = 'array';
+ public $fingerprint;
+ protected $intervalType = 'Google_Service_TagManager_Parameter';
+ protected $intervalDataType = '';
+ protected $limitType = 'Google_Service_TagManager_Parameter';
+ protected $limitDataType = '';
+ public $name;
+ public $parentFolderId;
+ public $triggerId;
+ public $type;
+ protected $uniqueTriggerIdType = 'Google_Service_TagManager_Parameter';
+ protected $uniqueTriggerIdDataType = '';
+ protected $videoPercentageListType = 'Google_Service_TagManager_Parameter';
+ protected $videoPercentageListDataType = '';
+ protected $waitForTagsType = 'Google_Service_TagManager_Parameter';
+ protected $waitForTagsDataType = '';
+ protected $waitForTagsTimeoutType = '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(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(Google_Service_TagManager_Parameter $enableAllVideos)
+ {
+ $this->enableAllVideos = $enableAllVideos;
+ }
+ public function getEnableAllVideos()
+ {
+ return $this->enableAllVideos;
+ }
+ public function setEventName(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(Google_Service_TagManager_Parameter $interval)
+ {
+ $this->interval = $interval;
+ }
+ public function getInterval()
+ {
+ return $this->interval;
+ }
+ public function setLimit(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 setParentFolderId($parentFolderId)
+ {
+ $this->parentFolderId = $parentFolderId;
+ }
+ public function getParentFolderId()
+ {
+ return $this->parentFolderId;
+ }
+ 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(Google_Service_TagManager_Parameter $uniqueTriggerId)
+ {
+ $this->uniqueTriggerId = $uniqueTriggerId;
+ }
+ public function getUniqueTriggerId()
+ {
+ return $this->uniqueTriggerId;
+ }
+ public function setVideoPercentageList(Google_Service_TagManager_Parameter $videoPercentageList)
+ {
+ $this->videoPercentageList = $videoPercentageList;
+ }
+ public function getVideoPercentageList()
+ {
+ return $this->videoPercentageList;
+ }
+ public function setWaitForTags(Google_Service_TagManager_Parameter $waitForTags)
+ {
+ $this->waitForTags = $waitForTags;
+ }
+ public function getWaitForTags()
+ {
+ return $this->waitForTags;
+ }
+ public function setWaitForTagsTimeout(Google_Service_TagManager_Parameter $waitForTagsTimeout)
+ {
+ $this->waitForTagsTimeout = $waitForTagsTimeout;
+ }
+ public function getWaitForTagsTimeout()
+ {
+ return $this->waitForTagsTimeout;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/UserAccess.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/UserAccess.php
new file mode 100644
index 00000000..267eefeb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/UserAccess.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_UserAccess extends Google_Collection
+{
+ protected $collection_key = 'containerAccess';
+ protected $accountAccessType = 'Google_Service_TagManager_AccountAccess';
+ protected $accountAccessDataType = '';
+ public $accountId;
+ protected $containerAccessType = 'Google_Service_TagManager_ContainerAccess';
+ protected $containerAccessDataType = 'array';
+ public $emailAddress;
+ public $permissionId;
+
+ public function setAccountAccess(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Variable.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Variable.php
new file mode 100644
index 00000000..31558978
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Variable.php
@@ -0,0 +1,140 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_TagManager_Variable extends Google_Collection
+{
+ protected $collection_key = 'parameter';
+ public $accountId;
+ public $containerId;
+ public $disablingTriggerId;
+ public $enablingTriggerId;
+ public $fingerprint;
+ public $name;
+ public $notes;
+ protected $parameterType = 'Google_Service_TagManager_Parameter';
+ protected $parameterDataType = 'array';
+ public $parentFolderId;
+ 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 setParentFolderId($parentFolderId)
+ {
+ $this->parentFolderId = $parentFolderId;
+ }
+ public function getParentFolderId()
+ {
+ return $this->parentFolderId;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue.php
new file mode 100644
index 00000000..7f3221d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue.php
@@ -0,0 +1,249 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Accesses 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 Google_Service_Taskqueue extends 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'taskqueue/v1beta2/projects/';
+ $this->version = 'v1beta2';
+ $this->serviceName = 'taskqueue';
+
+ $this->taskqueues = new Google_Service_Taskqueue_Resource_Taskqueues(
+ $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 Google_Service_Taskqueue_Resource_Tasks(
+ $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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Resource/Taskqueues.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Resource/Taskqueues.php
new file mode 100644
index 00000000..75e6c36f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Resource/Taskqueues.php
@@ -0,0 +1,44 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "taskqueues" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $taskqueueService = new Google_Service_Taskqueue(...);
+ * $taskqueues = $taskqueueService->taskqueues;
+ * </code>
+ */
+class Google_Service_Taskqueue_Resource_Taskqueues extends 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 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), "Google_Service_Taskqueue_TaskQueue");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Resource/Tasks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Resource/Tasks.php
new file mode 100644
index 00000000..79afd4ce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Resource/Tasks.php
@@ -0,0 +1,144 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "tasks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $taskqueueService = new Google_Service_Taskqueue(...);
+ * $tasks = $taskqueueService->tasks;
+ * </code>
+ */
+class Google_Service_Taskqueue_Resource_Tasks extends 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 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), "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 Google_Service_Taskqueue_Task $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Taskqueue_Task
+ */
+ public function insert($project, $taskqueue, 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), "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 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), "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 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), "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 Google_Service_Taskqueue_Task $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Taskqueue_Task
+ */
+ public function patch($project, $taskqueue, $task, $newLeaseSeconds, 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), "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 Google_Service_Taskqueue_Task $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Taskqueue_Task
+ */
+ public function update($project, $taskqueue, $task, $newLeaseSeconds, 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), "Google_Service_Taskqueue_Task");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Task.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Task.php
new file mode 100644
index 00000000..3807b721
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Task.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Taskqueue_Task extends 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueue.php
new file mode 100644
index 00000000..dc3ea493
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueue.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Taskqueue_TaskQueue extends Google_Model
+{
+ protected $aclType = 'Google_Service_Taskqueue_TaskQueueAcl';
+ protected $aclDataType = '';
+ public $id;
+ public $kind;
+ public $maxLeases;
+ protected $statsType = 'Google_Service_Taskqueue_TaskQueueStats';
+ protected $statsDataType = '';
+
+ public function setAcl(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(Google_Service_Taskqueue_TaskQueueStats $stats)
+ {
+ $this->stats = $stats;
+ }
+ public function getStats()
+ {
+ return $this->stats;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueueAcl.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueueAcl.php
new file mode 100644
index 00000000..afbfd590
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueueAcl.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Taskqueue_TaskQueueAcl extends Google_Collection
+{
+ protected $collection_key = 'producerEmails';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueueStats.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueueStats.php
new file mode 100644
index 00000000..dfba1306
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueueStats.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Taskqueue_TaskQueueStats extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Tasks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Tasks.php
new file mode 100644
index 00000000..837377e3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Tasks.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Taskqueue_Tasks extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Tasks2.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Tasks2.php
new file mode 100644
index 00000000..52843027
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Tasks2.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Taskqueue_Tasks2 extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks.php
new file mode 100644
index 00000000..23380b73
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks.php
@@ -0,0 +1,295 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tasks extends 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'tasks/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'tasks';
+
+ $this->tasklists = new Google_Service_Tasks_Resource_Tasklists(
+ $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(
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => 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 Google_Service_Tasks_Resource_Tasks(
+ $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,
+ ),
+ 'completedMax' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'completedMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'dueMax' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'dueMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showCompleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'showHidden' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'updatedMin' => 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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Resource/Tasklists.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Resource/Tasklists.php
new file mode 100644
index 00000000..20d4696a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Resource/Tasklists.php
@@ -0,0 +1,113 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "tasklists" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tasksService = new Google_Service_Tasks(...);
+ * $tasklists = $tasksService->tasklists;
+ * </code>
+ */
+class Google_Service_Tasks_Resource_Tasklists extends 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 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), "Google_Service_Tasks_TaskList");
+ }
+ /**
+ * Creates a new task list and adds it to the authenticated user's task lists.
+ * (tasklists.insert)
+ *
+ * @param Google_Service_Tasks_TaskList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Tasks_TaskList
+ */
+ public function insert(Google_Service_Tasks_TaskList $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Tasks_TaskList");
+ }
+ /**
+ * Returns all the authenticated user's task lists. (tasklists.listTasklists)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults Maximum number of task lists returned on one
+ * page. Optional. The default is 100.
+ * @opt_param string pageToken Token specifying the result page to return.
+ * Optional.
+ * @return Google_Service_Tasks_TaskLists
+ */
+ public function listTasklists($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "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 Google_Service_Tasks_TaskList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Tasks_TaskList
+ */
+ public function patch($tasklist, Google_Service_Tasks_TaskList $postBody, $optParams = array())
+ {
+ $params = array('tasklist' => $tasklist, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Tasks_TaskList");
+ }
+ /**
+ * Updates the authenticated user's specified task list. (tasklists.update)
+ *
+ * @param string $tasklist Task list identifier.
+ * @param Google_Service_Tasks_TaskList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Tasks_TaskList
+ */
+ public function update($tasklist, Google_Service_Tasks_TaskList $postBody, $optParams = array())
+ {
+ $params = array('tasklist' => $tasklist, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Tasks_TaskList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Resource/Tasks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Resource/Tasks.php
new file mode 100644
index 00000000..d6217020
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Resource/Tasks.php
@@ -0,0 +1,179 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "tasks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tasksService = new Google_Service_Tasks(...);
+ * $tasks = $tasksService->tasks;
+ * </code>
+ */
+class Google_Service_Tasks_Resource_Tasks extends 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 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), "Google_Service_Tasks_Task");
+ }
+ /**
+ * Creates a new task on the specified task list. (tasks.insert)
+ *
+ * @param string $tasklist Task list identifier.
+ * @param Google_Service_Tasks_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 Google_Service_Tasks_Task
+ */
+ public function insert($tasklist, Google_Service_Tasks_Task $postBody, $optParams = array())
+ {
+ $params = array('tasklist' => $tasklist, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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 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 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 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.
+ * @opt_param string maxResults Maximum number of task lists returned on one
+ * page. Optional. The default is 100.
+ * @opt_param string pageToken Token specifying the result page to return.
+ * Optional.
+ * @opt_param bool showCompleted Flag indicating whether completed tasks are
+ * returned in the result. Optional. The default is True.
+ * @opt_param bool showDeleted Flag indicating whether deleted tasks are
+ * returned in the result. Optional. The default is False.
+ * @opt_param bool showHidden Flag indicating whether hidden 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.
+ * @return 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), "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 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), "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 Google_Service_Tasks_Task $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Tasks_Task
+ */
+ public function patch($tasklist, $task, 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), "Google_Service_Tasks_Task");
+ }
+ /**
+ * Updates the specified task. (tasks.update)
+ *
+ * @param string $tasklist Task list identifier.
+ * @param string $task Task identifier.
+ * @param Google_Service_Tasks_Task $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Tasks_Task
+ */
+ public function update($tasklist, $task, 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), "Google_Service_Tasks_Task");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Task.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Task.php
new file mode 100644
index 00000000..9f4742ab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Task.php
@@ -0,0 +1,158 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tasks_Task extends Google_Collection
+{
+ protected $collection_key = 'links';
+ public $completed;
+ public $deleted;
+ public $due;
+ public $etag;
+ public $hidden;
+ public $id;
+ public $kind;
+ protected $linksType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskLinks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskLinks.php
new file mode 100644
index 00000000..78cffe6a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskLinks.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tasks_TaskLinks extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskList.php
new file mode 100644
index 00000000..6eef024b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskList.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tasks_TaskList extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskLists.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskLists.php
new file mode 100644
index 00000000..64e24a36
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskLists.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tasks_TaskLists extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Tasks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Tasks.php
new file mode 100644
index 00000000..01b5bb79
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Tasks.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tasks_Tasks extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults.php
new file mode 100644
index 00000000..3f51b3ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults.php
@@ -0,0 +1,664 @@
+<?php
+/*
+ * Copyright 2016 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 ToolResults (v1beta3).
+ *
+ * <p>
+ * Reads and publishes results from Firebase Test Lab.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://firebase.google.com/docs/test-lab/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_ToolResults extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $projects;
+ public $projects_histories;
+ public $projects_histories_executions;
+ public $projects_histories_executions_steps;
+ public $projects_histories_executions_steps_perfMetricsSummary;
+ public $projects_histories_executions_steps_perfSampleSeries;
+ public $projects_histories_executions_steps_perfSampleSeries_samples;
+ public $projects_histories_executions_steps_thumbnails;
+
+ /**
+ * Constructs the internal representation of the ToolResults service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'toolresults/v1beta3/projects/';
+ $this->version = 'v1beta3';
+ $this->serviceName = 'toolresults';
+
+ $this->projects = new Google_Service_ToolResults_Resource_Projects(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'getSettings' => array(
+ 'path' => '{projectId}/settings',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'initializeSettings' => array(
+ 'path' => '{projectId}:initializeSettings',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_histories = new Google_Service_ToolResults_Resource_ProjectsHistories(
+ $this,
+ $this->serviceName,
+ 'histories',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => '{projectId}/histories',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'requestId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{projectId}/histories/{historyId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{projectId}/histories',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filterByName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_histories_executions = new Google_Service_ToolResults_Resource_ProjectsHistoriesExecutions(
+ $this,
+ $this->serviceName,
+ 'executions',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'requestId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions/{executionId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'executionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions/{executionId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'executionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'requestId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_histories_executions_steps = new Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsSteps(
+ $this,
+ $this->serviceName,
+ 'steps',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'executionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'requestId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'executionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'stepId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getPerfMetricsSummary' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'executionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'stepId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'executionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'executionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'stepId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'requestId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'publishXunitXmlFiles' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'executionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'stepId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_histories_executions_steps_perfMetricsSummary = new Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsPerfMetricsSummary(
+ $this,
+ $this->serviceName,
+ 'perfMetricsSummary',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'executionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'stepId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_histories_executions_steps_perfSampleSeries = new Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsPerfSampleSeries(
+ $this,
+ $this->serviceName,
+ 'perfSampleSeries',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'executionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'stepId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'executionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'stepId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sampleSeriesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'executionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'stepId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_histories_executions_steps_perfSampleSeries_samples = new Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples(
+ $this,
+ $this->serviceName,
+ 'samples',
+ array(
+ 'methods' => array(
+ 'batchCreate' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'executionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'stepId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sampleSeriesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'executionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'stepId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sampleSeriesId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_histories_executions_steps_thumbnails = new Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsThumbnails(
+ $this,
+ $this->serviceName,
+ 'thumbnails',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'historyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'executionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'stepId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Any.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Any.php
new file mode 100644
index 00000000..1e9ea9d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Any.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_Any extends Google_Model
+{
+ public $typeUrl;
+ public $value;
+
+ public function setTypeUrl($typeUrl)
+ {
+ $this->typeUrl = $typeUrl;
+ }
+ public function getTypeUrl()
+ {
+ return $this->typeUrl;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BasicPerfSampleSeries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BasicPerfSampleSeries.php
new file mode 100644
index 00000000..74053423
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BasicPerfSampleSeries.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_BasicPerfSampleSeries extends Google_Model
+{
+ public $perfMetricType;
+ public $perfUnit;
+ public $sampleSeriesLabel;
+
+ public function setPerfMetricType($perfMetricType)
+ {
+ $this->perfMetricType = $perfMetricType;
+ }
+ public function getPerfMetricType()
+ {
+ return $this->perfMetricType;
+ }
+ public function setPerfUnit($perfUnit)
+ {
+ $this->perfUnit = $perfUnit;
+ }
+ public function getPerfUnit()
+ {
+ return $this->perfUnit;
+ }
+ public function setSampleSeriesLabel($sampleSeriesLabel)
+ {
+ $this->sampleSeriesLabel = $sampleSeriesLabel;
+ }
+ public function getSampleSeriesLabel()
+ {
+ return $this->sampleSeriesLabel;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BatchCreatePerfSamplesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BatchCreatePerfSamplesRequest.php
new file mode 100644
index 00000000..ecb60fc1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BatchCreatePerfSamplesRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_BatchCreatePerfSamplesRequest extends Google_Collection
+{
+ protected $collection_key = 'perfSamples';
+ protected $perfSamplesType = 'Google_Service_ToolResults_PerfSample';
+ protected $perfSamplesDataType = 'array';
+
+ public function setPerfSamples($perfSamples)
+ {
+ $this->perfSamples = $perfSamples;
+ }
+ public function getPerfSamples()
+ {
+ return $this->perfSamples;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BatchCreatePerfSamplesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BatchCreatePerfSamplesResponse.php
new file mode 100644
index 00000000..cc61e10d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BatchCreatePerfSamplesResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_BatchCreatePerfSamplesResponse extends Google_Collection
+{
+ protected $collection_key = 'perfSamples';
+ protected $perfSamplesType = 'Google_Service_ToolResults_PerfSample';
+ protected $perfSamplesDataType = 'array';
+
+ public function setPerfSamples($perfSamples)
+ {
+ $this->perfSamples = $perfSamples;
+ }
+ public function getPerfSamples()
+ {
+ return $this->perfSamples;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/CPUInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/CPUInfo.php
new file mode 100644
index 00000000..430d7907
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/CPUInfo.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_CPUInfo extends Google_Model
+{
+ public $cpuProcessor;
+ public $cpuSpeedInGhz;
+ public $numberOfCores;
+
+ public function setCpuProcessor($cpuProcessor)
+ {
+ $this->cpuProcessor = $cpuProcessor;
+ }
+ public function getCpuProcessor()
+ {
+ return $this->cpuProcessor;
+ }
+ public function setCpuSpeedInGhz($cpuSpeedInGhz)
+ {
+ $this->cpuSpeedInGhz = $cpuSpeedInGhz;
+ }
+ public function getCpuSpeedInGhz()
+ {
+ return $this->cpuSpeedInGhz;
+ }
+ public function setNumberOfCores($numberOfCores)
+ {
+ $this->numberOfCores = $numberOfCores;
+ }
+ public function getNumberOfCores()
+ {
+ return $this->numberOfCores;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Duration.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Duration.php
new file mode 100644
index 00000000..d6baa1f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Duration.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_Duration extends Google_Model
+{
+ public $nanos;
+ public $seconds;
+
+ public function setNanos($nanos)
+ {
+ $this->nanos = $nanos;
+ }
+ public function getNanos()
+ {
+ return $this->nanos;
+ }
+ public function setSeconds($seconds)
+ {
+ $this->seconds = $seconds;
+ }
+ public function getSeconds()
+ {
+ return $this->seconds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Execution.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Execution.php
new file mode 100644
index 00000000..69ebbdd0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Execution.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_Execution extends Google_Model
+{
+ protected $completionTimeType = 'Google_Service_ToolResults_Timestamp';
+ protected $completionTimeDataType = '';
+ protected $creationTimeType = 'Google_Service_ToolResults_Timestamp';
+ protected $creationTimeDataType = '';
+ public $executionId;
+ protected $outcomeType = 'Google_Service_ToolResults_Outcome';
+ protected $outcomeDataType = '';
+ public $state;
+ public $testExecutionMatrixId;
+
+ public function setCompletionTime(Google_Service_ToolResults_Timestamp $completionTime)
+ {
+ $this->completionTime = $completionTime;
+ }
+ public function getCompletionTime()
+ {
+ return $this->completionTime;
+ }
+ public function setCreationTime(Google_Service_ToolResults_Timestamp $creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setExecutionId($executionId)
+ {
+ $this->executionId = $executionId;
+ }
+ public function getExecutionId()
+ {
+ return $this->executionId;
+ }
+ public function setOutcome(Google_Service_ToolResults_Outcome $outcome)
+ {
+ $this->outcome = $outcome;
+ }
+ public function getOutcome()
+ {
+ return $this->outcome;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setTestExecutionMatrixId($testExecutionMatrixId)
+ {
+ $this->testExecutionMatrixId = $testExecutionMatrixId;
+ }
+ public function getTestExecutionMatrixId()
+ {
+ return $this->testExecutionMatrixId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/FailureDetail.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/FailureDetail.php
new file mode 100644
index 00000000..959f860d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/FailureDetail.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_FailureDetail extends Google_Model
+{
+ public $crashed;
+ public $notInstalled;
+ public $otherNativeCrash;
+ public $timedOut;
+ public $unableToCrawl;
+
+ public function setCrashed($crashed)
+ {
+ $this->crashed = $crashed;
+ }
+ public function getCrashed()
+ {
+ return $this->crashed;
+ }
+ public function setNotInstalled($notInstalled)
+ {
+ $this->notInstalled = $notInstalled;
+ }
+ public function getNotInstalled()
+ {
+ return $this->notInstalled;
+ }
+ public function setOtherNativeCrash($otherNativeCrash)
+ {
+ $this->otherNativeCrash = $otherNativeCrash;
+ }
+ public function getOtherNativeCrash()
+ {
+ return $this->otherNativeCrash;
+ }
+ public function setTimedOut($timedOut)
+ {
+ $this->timedOut = $timedOut;
+ }
+ public function getTimedOut()
+ {
+ return $this->timedOut;
+ }
+ public function setUnableToCrawl($unableToCrawl)
+ {
+ $this->unableToCrawl = $unableToCrawl;
+ }
+ public function getUnableToCrawl()
+ {
+ return $this->unableToCrawl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/FileReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/FileReference.php
new file mode 100644
index 00000000..f54ea1e9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/FileReference.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_FileReference extends Google_Model
+{
+ public $fileUri;
+
+ public function setFileUri($fileUri)
+ {
+ $this->fileUri = $fileUri;
+ }
+ public function getFileUri()
+ {
+ return $this->fileUri;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/History.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/History.php
new file mode 100644
index 00000000..54df1ed0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/History.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_History extends Google_Model
+{
+ public $displayName;
+ public $historyId;
+ public $name;
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setHistoryId($historyId)
+ {
+ $this->historyId = $historyId;
+ }
+ public function getHistoryId()
+ {
+ return $this->historyId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Image.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Image.php
new file mode 100644
index 00000000..4d35ed25
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Image.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_Image extends Google_Model
+{
+ protected $errorType = 'Google_Service_ToolResults_Status';
+ protected $errorDataType = '';
+ protected $sourceImageType = 'Google_Service_ToolResults_ToolOutputReference';
+ protected $sourceImageDataType = '';
+ public $stepId;
+ protected $thumbnailType = 'Google_Service_ToolResults_Thumbnail';
+ protected $thumbnailDataType = '';
+
+ public function setError(Google_Service_ToolResults_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setSourceImage(Google_Service_ToolResults_ToolOutputReference $sourceImage)
+ {
+ $this->sourceImage = $sourceImage;
+ }
+ public function getSourceImage()
+ {
+ return $this->sourceImage;
+ }
+ public function setStepId($stepId)
+ {
+ $this->stepId = $stepId;
+ }
+ public function getStepId()
+ {
+ return $this->stepId;
+ }
+ public function setThumbnail(Google_Service_ToolResults_Thumbnail $thumbnail)
+ {
+ $this->thumbnail = $thumbnail;
+ }
+ public function getThumbnail()
+ {
+ return $this->thumbnail;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/InconclusiveDetail.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/InconclusiveDetail.php
new file mode 100644
index 00000000..b5e888a0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/InconclusiveDetail.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_InconclusiveDetail extends Google_Model
+{
+ public $abortedByUser;
+ public $infrastructureFailure;
+
+ public function setAbortedByUser($abortedByUser)
+ {
+ $this->abortedByUser = $abortedByUser;
+ }
+ public function getAbortedByUser()
+ {
+ return $this->abortedByUser;
+ }
+ public function setInfrastructureFailure($infrastructureFailure)
+ {
+ $this->infrastructureFailure = $infrastructureFailure;
+ }
+ public function getInfrastructureFailure()
+ {
+ return $this->infrastructureFailure;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListExecutionsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListExecutionsResponse.php
new file mode 100644
index 00000000..479b644f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListExecutionsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_ListExecutionsResponse extends Google_Collection
+{
+ protected $collection_key = 'executions';
+ protected $executionsType = 'Google_Service_ToolResults_Execution';
+ protected $executionsDataType = 'array';
+ public $nextPageToken;
+
+ public function setExecutions($executions)
+ {
+ $this->executions = $executions;
+ }
+ public function getExecutions()
+ {
+ return $this->executions;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListHistoriesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListHistoriesResponse.php
new file mode 100644
index 00000000..b4c5b5a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListHistoriesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_ListHistoriesResponse extends Google_Collection
+{
+ protected $collection_key = 'histories';
+ protected $historiesType = 'Google_Service_ToolResults_History';
+ protected $historiesDataType = 'array';
+ public $nextPageToken;
+
+ public function setHistories($histories)
+ {
+ $this->histories = $histories;
+ }
+ public function getHistories()
+ {
+ return $this->histories;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListPerfSampleSeriesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListPerfSampleSeriesResponse.php
new file mode 100644
index 00000000..360b07a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListPerfSampleSeriesResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_ListPerfSampleSeriesResponse extends Google_Collection
+{
+ protected $collection_key = 'perfSampleSeries';
+ protected $perfSampleSeriesType = 'Google_Service_ToolResults_PerfSampleSeries';
+ protected $perfSampleSeriesDataType = 'array';
+
+ public function setPerfSampleSeries($perfSampleSeries)
+ {
+ $this->perfSampleSeries = $perfSampleSeries;
+ }
+ public function getPerfSampleSeries()
+ {
+ return $this->perfSampleSeries;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListPerfSamplesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListPerfSamplesResponse.php
new file mode 100644
index 00000000..e6670e1b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListPerfSamplesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_ListPerfSamplesResponse extends Google_Collection
+{
+ protected $collection_key = 'perfSamples';
+ public $nextPageToken;
+ protected $perfSamplesType = 'Google_Service_ToolResults_PerfSample';
+ protected $perfSamplesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPerfSamples($perfSamples)
+ {
+ $this->perfSamples = $perfSamples;
+ }
+ public function getPerfSamples()
+ {
+ return $this->perfSamples;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListStepThumbnailsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListStepThumbnailsResponse.php
new file mode 100644
index 00000000..9ed07d75
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListStepThumbnailsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_ListStepThumbnailsResponse extends Google_Collection
+{
+ protected $collection_key = 'thumbnails';
+ public $nextPageToken;
+ protected $thumbnailsType = 'Google_Service_ToolResults_Image';
+ protected $thumbnailsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setThumbnails($thumbnails)
+ {
+ $this->thumbnails = $thumbnails;
+ }
+ public function getThumbnails()
+ {
+ return $this->thumbnails;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListStepsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListStepsResponse.php
new file mode 100644
index 00000000..96fe5e76
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListStepsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_ListStepsResponse extends Google_Collection
+{
+ protected $collection_key = 'steps';
+ public $nextPageToken;
+ protected $stepsType = 'Google_Service_ToolResults_Step';
+ protected $stepsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSteps($steps)
+ {
+ $this->steps = $steps;
+ }
+ public function getSteps()
+ {
+ return $this->steps;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/MemoryInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/MemoryInfo.php
new file mode 100644
index 00000000..e445bdb4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/MemoryInfo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_MemoryInfo extends Google_Model
+{
+ public $memoryCapInKibibyte;
+ public $memoryTotalInKibibyte;
+
+ public function setMemoryCapInKibibyte($memoryCapInKibibyte)
+ {
+ $this->memoryCapInKibibyte = $memoryCapInKibibyte;
+ }
+ public function getMemoryCapInKibibyte()
+ {
+ return $this->memoryCapInKibibyte;
+ }
+ public function setMemoryTotalInKibibyte($memoryTotalInKibibyte)
+ {
+ $this->memoryTotalInKibibyte = $memoryTotalInKibibyte;
+ }
+ public function getMemoryTotalInKibibyte()
+ {
+ return $this->memoryTotalInKibibyte;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Outcome.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Outcome.php
new file mode 100644
index 00000000..f7bada97
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Outcome.php
@@ -0,0 +1,70 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_Outcome extends Google_Model
+{
+ protected $failureDetailType = 'Google_Service_ToolResults_FailureDetail';
+ protected $failureDetailDataType = '';
+ protected $inconclusiveDetailType = 'Google_Service_ToolResults_InconclusiveDetail';
+ protected $inconclusiveDetailDataType = '';
+ protected $skippedDetailType = 'Google_Service_ToolResults_SkippedDetail';
+ protected $skippedDetailDataType = '';
+ protected $successDetailType = 'Google_Service_ToolResults_SuccessDetail';
+ protected $successDetailDataType = '';
+ public $summary;
+
+ public function setFailureDetail(Google_Service_ToolResults_FailureDetail $failureDetail)
+ {
+ $this->failureDetail = $failureDetail;
+ }
+ public function getFailureDetail()
+ {
+ return $this->failureDetail;
+ }
+ public function setInconclusiveDetail(Google_Service_ToolResults_InconclusiveDetail $inconclusiveDetail)
+ {
+ $this->inconclusiveDetail = $inconclusiveDetail;
+ }
+ public function getInconclusiveDetail()
+ {
+ return $this->inconclusiveDetail;
+ }
+ public function setSkippedDetail(Google_Service_ToolResults_SkippedDetail $skippedDetail)
+ {
+ $this->skippedDetail = $skippedDetail;
+ }
+ public function getSkippedDetail()
+ {
+ return $this->skippedDetail;
+ }
+ public function setSuccessDetail(Google_Service_ToolResults_SuccessDetail $successDetail)
+ {
+ $this->successDetail = $successDetail;
+ }
+ public function getSuccessDetail()
+ {
+ return $this->successDetail;
+ }
+ public function setSummary($summary)
+ {
+ $this->summary = $summary;
+ }
+ public function getSummary()
+ {
+ return $this->summary;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfEnvironment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfEnvironment.php
new file mode 100644
index 00000000..2b5672aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfEnvironment.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_PerfEnvironment extends Google_Model
+{
+ protected $cpuInfoType = 'Google_Service_ToolResults_CPUInfo';
+ protected $cpuInfoDataType = '';
+ protected $memoryInfoType = 'Google_Service_ToolResults_MemoryInfo';
+ protected $memoryInfoDataType = '';
+
+ public function setCpuInfo(Google_Service_ToolResults_CPUInfo $cpuInfo)
+ {
+ $this->cpuInfo = $cpuInfo;
+ }
+ public function getCpuInfo()
+ {
+ return $this->cpuInfo;
+ }
+ public function setMemoryInfo(Google_Service_ToolResults_MemoryInfo $memoryInfo)
+ {
+ $this->memoryInfo = $memoryInfo;
+ }
+ public function getMemoryInfo()
+ {
+ return $this->memoryInfo;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfMetricsSummary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfMetricsSummary.php
new file mode 100644
index 00000000..03bc72a5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfMetricsSummary.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_PerfMetricsSummary extends Google_Collection
+{
+ protected $collection_key = 'perfMetrics';
+ public $executionId;
+ public $historyId;
+ protected $perfEnvironmentType = 'Google_Service_ToolResults_PerfEnvironment';
+ protected $perfEnvironmentDataType = '';
+ public $perfMetrics;
+ public $projectId;
+ public $stepId;
+
+ public function setExecutionId($executionId)
+ {
+ $this->executionId = $executionId;
+ }
+ public function getExecutionId()
+ {
+ return $this->executionId;
+ }
+ public function setHistoryId($historyId)
+ {
+ $this->historyId = $historyId;
+ }
+ public function getHistoryId()
+ {
+ return $this->historyId;
+ }
+ public function setPerfEnvironment(Google_Service_ToolResults_PerfEnvironment $perfEnvironment)
+ {
+ $this->perfEnvironment = $perfEnvironment;
+ }
+ public function getPerfEnvironment()
+ {
+ return $this->perfEnvironment;
+ }
+ public function setPerfMetrics($perfMetrics)
+ {
+ $this->perfMetrics = $perfMetrics;
+ }
+ public function getPerfMetrics()
+ {
+ return $this->perfMetrics;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setStepId($stepId)
+ {
+ $this->stepId = $stepId;
+ }
+ public function getStepId()
+ {
+ return $this->stepId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfSample.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfSample.php
new file mode 100644
index 00000000..c1ddf723
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfSample.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_PerfSample extends Google_Model
+{
+ protected $sampleTimeType = 'Google_Service_ToolResults_Timestamp';
+ protected $sampleTimeDataType = '';
+ public $value;
+
+ public function setSampleTime(Google_Service_ToolResults_Timestamp $sampleTime)
+ {
+ $this->sampleTime = $sampleTime;
+ }
+ public function getSampleTime()
+ {
+ return $this->sampleTime;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfSampleSeries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfSampleSeries.php
new file mode 100644
index 00000000..79e0364f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfSampleSeries.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_PerfSampleSeries extends Google_Model
+{
+ protected $basicPerfSampleSeriesType = 'Google_Service_ToolResults_BasicPerfSampleSeries';
+ protected $basicPerfSampleSeriesDataType = '';
+ public $executionId;
+ public $historyId;
+ public $projectId;
+ public $sampleSeriesId;
+ public $stepId;
+
+ public function setBasicPerfSampleSeries(Google_Service_ToolResults_BasicPerfSampleSeries $basicPerfSampleSeries)
+ {
+ $this->basicPerfSampleSeries = $basicPerfSampleSeries;
+ }
+ public function getBasicPerfSampleSeries()
+ {
+ return $this->basicPerfSampleSeries;
+ }
+ public function setExecutionId($executionId)
+ {
+ $this->executionId = $executionId;
+ }
+ public function getExecutionId()
+ {
+ return $this->executionId;
+ }
+ public function setHistoryId($historyId)
+ {
+ $this->historyId = $historyId;
+ }
+ public function getHistoryId()
+ {
+ return $this->historyId;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setSampleSeriesId($sampleSeriesId)
+ {
+ $this->sampleSeriesId = $sampleSeriesId;
+ }
+ public function getSampleSeriesId()
+ {
+ return $this->sampleSeriesId;
+ }
+ public function setStepId($stepId)
+ {
+ $this->stepId = $stepId;
+ }
+ public function getStepId()
+ {
+ return $this->stepId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ProjectSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ProjectSettings.php
new file mode 100644
index 00000000..c1edd51a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ProjectSettings.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_ProjectSettings extends Google_Model
+{
+ public $defaultBucket;
+ public $name;
+
+ public function setDefaultBucket($defaultBucket)
+ {
+ $this->defaultBucket = $defaultBucket;
+ }
+ public function getDefaultBucket()
+ {
+ return $this->defaultBucket;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PublishXunitXmlFilesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PublishXunitXmlFilesRequest.php
new file mode 100644
index 00000000..c9480516
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PublishXunitXmlFilesRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_PublishXunitXmlFilesRequest extends Google_Collection
+{
+ protected $collection_key = 'xunitXmlFiles';
+ protected $xunitXmlFilesType = 'Google_Service_ToolResults_FileReference';
+ protected $xunitXmlFilesDataType = 'array';
+
+ public function setXunitXmlFiles($xunitXmlFiles)
+ {
+ $this->xunitXmlFiles = $xunitXmlFiles;
+ }
+ public function getXunitXmlFiles()
+ {
+ return $this->xunitXmlFiles;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/Projects.php
new file mode 100644
index 00000000..506811c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/Projects.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $toolresultsService = new Google_Service_ToolResults(...);
+ * $projects = $toolresultsService->projects;
+ * </code>
+ */
+class Google_Service_ToolResults_Resource_Projects extends Google_Service_Resource
+{
+ /**
+ * Gets the Tool Results settings for a project.
+ *
+ * May return any of the following canonical error codes:
+ *
+ * - PERMISSION_DENIED - if the user is not authorized to read from project
+ * (projects.getSettings)
+ *
+ * @param string $projectId A Project id.
+ *
+ * Required.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ToolResults_ProjectSettings
+ */
+ public function getSettings($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getSettings', array($params), "Google_Service_ToolResults_ProjectSettings");
+ }
+ /**
+ * Creates resources for settings which have not yet been set.
+ *
+ * Currently, this creates a single resource: a Google Cloud Storage bucket, to
+ * be used as the default bucket for this project. The bucket is created in the
+ * name of the user calling. Except in rare cases, calling this method in
+ * parallel from multiple clients will only create a single bucket. In order to
+ * avoid unnecessary storage charges, the bucket is configured to automatically
+ * delete objects older than 90 days.
+ *
+ * The bucket is created with the project-private ACL: All project team members
+ * are given permissions to the bucket and objects created within it according
+ * to their roles. Project owners have owners rights, and so on. The default ACL
+ * on objects created in the bucket is project-private as well. See Google Cloud
+ * Storage documentation for more details.
+ *
+ * If there is already a default bucket set and the project can access the
+ * bucket, this call does nothing. However, if the project doesn't have the
+ * permission to access the bucket or the bucket is deteleted, a new bucket will
+ * be created.
+ *
+ * May return any canonical error codes, including the following:
+ *
+ * - PERMISSION_DENIED - if the user is not authorized to write to project - Any
+ * error code raised by Google Cloud Storage (projects.initializeSettings)
+ *
+ * @param string $projectId A Project id.
+ *
+ * Required.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ToolResults_ProjectSettings
+ */
+ public function initializeSettings($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('initializeSettings', array($params), "Google_Service_ToolResults_ProjectSettings");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistories.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistories.php
new file mode 100644
index 00000000..801a938a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistories.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "histories" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $toolresultsService = new Google_Service_ToolResults(...);
+ * $histories = $toolresultsService->histories;
+ * </code>
+ */
+class Google_Service_ToolResults_Resource_ProjectsHistories extends Google_Service_Resource
+{
+ /**
+ * Creates a History.
+ *
+ * The returned History will have the id set.
+ *
+ * May return any of the following canonical error codes:
+ *
+ * - PERMISSION_DENIED - if the user is not authorized to write to project -
+ * INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the
+ * containing project does not exist (histories.create)
+ *
+ * @param string $projectId A Project id.
+ *
+ * Required.
+ * @param Google_Service_ToolResults_History $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestId A unique request ID for server to detect
+ * duplicated requests. For example, a UUID.
+ *
+ * Optional, but strongly recommended.
+ * @return Google_Service_ToolResults_History
+ */
+ public function create($projectId, Google_Service_ToolResults_History $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_ToolResults_History");
+ }
+ /**
+ * Gets a History.
+ *
+ * May return any of the following canonical error codes:
+ *
+ * - PERMISSION_DENIED - if the user is not authorized to read project -
+ * INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History
+ * does not exist (histories.get)
+ *
+ * @param string $projectId A Project id.
+ *
+ * Required.
+ * @param string $historyId A History id.
+ *
+ * Required.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ToolResults_History
+ */
+ public function get($projectId, $historyId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ToolResults_History");
+ }
+ /**
+ * Lists Histories for a given Project.
+ *
+ * The histories are sorted by modification time in descending order. The
+ * history_id key will be used to order the history with the same modification
+ * time.
+ *
+ * May return any of the following canonical error codes:
+ *
+ * - PERMISSION_DENIED - if the user is not authorized to read project -
+ * INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History
+ * does not exist (histories.listProjectsHistories)
+ *
+ * @param string $projectId A Project id.
+ *
+ * Required.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filterByName If set, only return histories with the given
+ * name.
+ *
+ * Optional.
+ * @opt_param int pageSize The maximum number of Histories to fetch.
+ *
+ * Default value: 20. The server will use this default if the field is not set
+ * or has a value of 0. Any value greater than 100 will be treated as 100.
+ *
+ * Optional.
+ * @opt_param string pageToken A continuation token to resume the query at the
+ * next item.
+ *
+ * Optional.
+ * @return Google_Service_ToolResults_ListHistoriesResponse
+ */
+ public function listProjectsHistories($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ToolResults_ListHistoriesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutions.php
new file mode 100644
index 00000000..b1641597
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutions.php
@@ -0,0 +1,155 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "executions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $toolresultsService = new Google_Service_ToolResults(...);
+ * $executions = $toolresultsService->executions;
+ * </code>
+ */
+class Google_Service_ToolResults_Resource_ProjectsHistoriesExecutions extends Google_Service_Resource
+{
+ /**
+ * Creates an Execution.
+ *
+ * The returned Execution will have the id set.
+ *
+ * May return any of the following canonical error codes:
+ *
+ * - PERMISSION_DENIED - if the user is not authorized to write to project -
+ * INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the
+ * containing History does not exist (executions.create)
+ *
+ * @param string $projectId A Project id.
+ *
+ * Required.
+ * @param string $historyId A History id.
+ *
+ * Required.
+ * @param Google_Service_ToolResults_Execution $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestId A unique request ID for server to detect
+ * duplicated requests. For example, a UUID.
+ *
+ * Optional, but strongly recommended.
+ * @return Google_Service_ToolResults_Execution
+ */
+ public function create($projectId, $historyId, Google_Service_ToolResults_Execution $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_ToolResults_Execution");
+ }
+ /**
+ * Gets an Execution.
+ *
+ * May return any of the following canonical error codes:
+ *
+ * - PERMISSION_DENIED - if the user is not authorized to write to project -
+ * INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Execution
+ * does not exist (executions.get)
+ *
+ * @param string $projectId A Project id.
+ *
+ * Required.
+ * @param string $historyId A History id.
+ *
+ * Required.
+ * @param string $executionId An Execution id.
+ *
+ * Required.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ToolResults_Execution
+ */
+ public function get($projectId, $historyId, $executionId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ToolResults_Execution");
+ }
+ /**
+ * Lists Histories for a given Project.
+ *
+ * The executions are sorted by creation_time in descending order. The
+ * execution_id key will be used to order the executions with the same
+ * creation_time.
+ *
+ * May return any of the following canonical error codes:
+ *
+ * - PERMISSION_DENIED - if the user is not authorized to read project -
+ * INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the
+ * containing History does not exist
+ * (executions.listProjectsHistoriesExecutions)
+ *
+ * @param string $projectId A Project id.
+ *
+ * Required.
+ * @param string $historyId A History id.
+ *
+ * Required.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize The maximum number of Executions to fetch.
+ *
+ * Default value: 25. The server will use this default if the field is not set
+ * or has a value of 0.
+ *
+ * Optional.
+ * @opt_param string pageToken A continuation token to resume the query at the
+ * next item.
+ *
+ * Optional.
+ * @return Google_Service_ToolResults_ListExecutionsResponse
+ */
+ public function listProjectsHistoriesExecutions($projectId, $historyId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ToolResults_ListExecutionsResponse");
+ }
+ /**
+ * Updates an existing Execution with the supplied partial entity.
+ *
+ * May return any of the following canonical error codes:
+ *
+ * - PERMISSION_DENIED - if the user is not authorized to write to project -
+ * INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the
+ * requested state transition is illegal - NOT_FOUND - if the containing History
+ * does not exist (executions.patch)
+ *
+ * @param string $projectId A Project id. Required.
+ * @param string $historyId Required.
+ * @param string $executionId Required.
+ * @param Google_Service_ToolResults_Execution $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestId A unique request ID for server to detect
+ * duplicated requests. For example, a UUID.
+ *
+ * Optional, but strongly recommended.
+ * @return Google_Service_ToolResults_Execution
+ */
+ public function patch($projectId, $historyId, $executionId, Google_Service_ToolResults_Execution $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_ToolResults_Execution");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsSteps.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsSteps.php
new file mode 100644
index 00000000..b7e11095
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsSteps.php
@@ -0,0 +1,228 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "steps" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $toolresultsService = new Google_Service_ToolResults(...);
+ * $steps = $toolresultsService->steps;
+ * </code>
+ */
+class Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsSteps extends Google_Service_Resource
+{
+ /**
+ * Creates a Step.
+ *
+ * The returned Step will have the id set.
+ *
+ * May return any of the following canonical error codes:
+ *
+ * - PERMISSION_DENIED - if the user is not authorized to write to project -
+ * INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the
+ * step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution
+ * does not exist (steps.create)
+ *
+ * @param string $projectId A Project id.
+ *
+ * Required.
+ * @param string $historyId A History id.
+ *
+ * Required.
+ * @param string $executionId A Execution id.
+ *
+ * Required.
+ * @param Google_Service_ToolResults_Step $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestId A unique request ID for server to detect
+ * duplicated requests. For example, a UUID.
+ *
+ * Optional, but strongly recommended.
+ * @return Google_Service_ToolResults_Step
+ */
+ public function create($projectId, $historyId, $executionId, Google_Service_ToolResults_Step $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_ToolResults_Step");
+ }
+ /**
+ * Gets a Step.
+ *
+ * May return any of the following canonical error codes:
+ *
+ * - PERMISSION_DENIED - if the user is not authorized to read project -
+ * INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Step does
+ * not exist (steps.get)
+ *
+ * @param string $projectId A Project id.
+ *
+ * Required.
+ * @param string $historyId A History id.
+ *
+ * Required.
+ * @param string $executionId A Execution id.
+ *
+ * Required.
+ * @param string $stepId A Step id.
+ *
+ * Required.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ToolResults_Step
+ */
+ public function get($projectId, $historyId, $executionId, $stepId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ToolResults_Step");
+ }
+ /**
+ * Retrieves a PerfMetricsSummary.
+ *
+ * May return any of the following error code(s): - NOT_FOUND - The specified
+ * PerfMetricsSummary does not exist (steps.getPerfMetricsSummary)
+ *
+ * @param string $projectId The cloud project
+ * @param string $historyId A tool results history ID.
+ * @param string $executionId A tool results execution ID.
+ * @param string $stepId A tool results step ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ToolResults_PerfMetricsSummary
+ */
+ public function getPerfMetricsSummary($projectId, $historyId, $executionId, $stepId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getPerfMetricsSummary', array($params), "Google_Service_ToolResults_PerfMetricsSummary");
+ }
+ /**
+ * Lists Steps for a given Execution.
+ *
+ * The steps are sorted by creation_time in descending order. The step_id key
+ * will be used to order the steps with the same creation_time.
+ *
+ * May return any of the following canonical error codes:
+ *
+ * - PERMISSION_DENIED - if the user is not authorized to read project -
+ * INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if an
+ * argument in the request happens to be invalid; e.g. if an attempt is made to
+ * list the children of a nonexistent Step - NOT_FOUND - if the containing
+ * Execution does not exist (steps.listProjectsHistoriesExecutionsSteps)
+ *
+ * @param string $projectId A Project id.
+ *
+ * Required.
+ * @param string $historyId A History id.
+ *
+ * Required.
+ * @param string $executionId A Execution id.
+ *
+ * Required.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize The maximum number of Steps to fetch.
+ *
+ * Default value: 25. The server will use this default if the field is not set
+ * or has a value of 0.
+ *
+ * Optional.
+ * @opt_param string pageToken A continuation token to resume the query at the
+ * next item.
+ *
+ * Optional.
+ * @return Google_Service_ToolResults_ListStepsResponse
+ */
+ public function listProjectsHistoriesExecutionsSteps($projectId, $historyId, $executionId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ToolResults_ListStepsResponse");
+ }
+ /**
+ * Updates an existing Step with the supplied partial entity.
+ *
+ * May return any of the following canonical error codes:
+ *
+ * - PERMISSION_DENIED - if the user is not authorized to write project -
+ * INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the
+ * requested state transition is illegal (e.g try to upload a duplicate xml
+ * file), if the updated step is too large (more than 10Mib) - NOT_FOUND - if
+ * the containing Execution does not exist (steps.patch)
+ *
+ * @param string $projectId A Project id.
+ *
+ * Required.
+ * @param string $historyId A History id.
+ *
+ * Required.
+ * @param string $executionId A Execution id.
+ *
+ * Required.
+ * @param string $stepId A Step id.
+ *
+ * Required.
+ * @param Google_Service_ToolResults_Step $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestId A unique request ID for server to detect
+ * duplicated requests. For example, a UUID.
+ *
+ * Optional, but strongly recommended.
+ * @return Google_Service_ToolResults_Step
+ */
+ public function patch($projectId, $historyId, $executionId, $stepId, Google_Service_ToolResults_Step $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_ToolResults_Step");
+ }
+ /**
+ * Publish xml files to an existing Step.
+ *
+ * May return any of the following canonical error codes:
+ *
+ * - PERMISSION_DENIED - if the user is not authorized to write project -
+ * INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the
+ * requested state transition is illegal, e.g try to upload a duplicate xml file
+ * or a file too large. - NOT_FOUND - if the containing Execution does not exist
+ * (steps.publishXunitXmlFiles)
+ *
+ * @param string $projectId A Project id.
+ *
+ * Required.
+ * @param string $historyId A History id.
+ *
+ * Required.
+ * @param string $executionId A Execution id.
+ *
+ * Required.
+ * @param string $stepId A Step id. Note: This step must include a
+ * TestExecutionStep.
+ *
+ * Required.
+ * @param Google_Service_ToolResults_PublishXunitXmlFilesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ToolResults_Step
+ */
+ public function publishXunitXmlFiles($projectId, $historyId, $executionId, $stepId, Google_Service_ToolResults_PublishXunitXmlFilesRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('publishXunitXmlFiles', array($params), "Google_Service_ToolResults_Step");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfMetricsSummary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfMetricsSummary.php
new file mode 100644
index 00000000..dbde0b5e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfMetricsSummary.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "perfMetricsSummary" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $toolresultsService = new Google_Service_ToolResults(...);
+ * $perfMetricsSummary = $toolresultsService->perfMetricsSummary;
+ * </code>
+ */
+class Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsPerfMetricsSummary extends Google_Service_Resource
+{
+ /**
+ * Creates a PerfMetricsSummary resource.
+ *
+ * May return any of the following error code(s): - ALREADY_EXISTS - A
+ * PerfMetricSummary already exists for the given Step - NOT_FOUND - The
+ * containing Step does not exist (perfMetricsSummary.create)
+ *
+ * @param string $projectId The cloud project
+ * @param string $historyId A tool results history ID.
+ * @param string $executionId A tool results execution ID.
+ * @param string $stepId A tool results step ID.
+ * @param Google_Service_ToolResults_PerfMetricsSummary $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ToolResults_PerfMetricsSummary
+ */
+ public function create($projectId, $historyId, $executionId, $stepId, Google_Service_ToolResults_PerfMetricsSummary $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_ToolResults_PerfMetricsSummary");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfSampleSeries.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfSampleSeries.php
new file mode 100644
index 00000000..84779a15
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfSampleSeries.php
@@ -0,0 +1,96 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "perfSampleSeries" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $toolresultsService = new Google_Service_ToolResults(...);
+ * $perfSampleSeries = $toolresultsService->perfSampleSeries;
+ * </code>
+ */
+class Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsPerfSampleSeries extends Google_Service_Resource
+{
+ /**
+ * Creates a PerfSampleSeries.
+ *
+ * May return any of the following error code(s): - ALREADY_EXISTS -
+ * PerfMetricSummary already exists for the given Step - NOT_FOUND - The
+ * containing Step does not exist (perfSampleSeries.create)
+ *
+ * @param string $projectId The cloud project
+ * @param string $historyId A tool results history ID.
+ * @param string $executionId A tool results execution ID.
+ * @param string $stepId A tool results step ID.
+ * @param Google_Service_ToolResults_PerfSampleSeries $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ToolResults_PerfSampleSeries
+ */
+ public function create($projectId, $historyId, $executionId, $stepId, Google_Service_ToolResults_PerfSampleSeries $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_ToolResults_PerfSampleSeries");
+ }
+ /**
+ * Gets a PerfSampleSeries.
+ *
+ * May return any of the following error code(s): - NOT_FOUND - The specified
+ * PerfSampleSeries does not exist (perfSampleSeries.get)
+ *
+ * @param string $projectId The cloud project
+ * @param string $historyId A tool results history ID.
+ * @param string $executionId A tool results execution ID.
+ * @param string $stepId A tool results step ID.
+ * @param string $sampleSeriesId A sample series id
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ToolResults_PerfSampleSeries
+ */
+ public function get($projectId, $historyId, $executionId, $stepId, $sampleSeriesId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'sampleSeriesId' => $sampleSeriesId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ToolResults_PerfSampleSeries");
+ }
+ /**
+ * Lists PerfSampleSeries for a given Step.
+ *
+ * The request provides an optional filter which specifies one or more
+ * PerfMetricsType to include in the result; if none returns all. The resulting
+ * PerfSampleSeries are sorted by ids.
+ *
+ * May return any of the following canonical error codes: - NOT_FOUND - The
+ * containing Step does not exist
+ * (perfSampleSeries.listProjectsHistoriesExecutionsStepsPerfSampleSeries)
+ *
+ * @param string $projectId The cloud project
+ * @param string $historyId A tool results history ID.
+ * @param string $executionId A tool results execution ID.
+ * @param string $stepId A tool results step ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Specify one or more PerfMetricType values such as
+ * CPU to filter the result
+ * @return Google_Service_ToolResults_ListPerfSampleSeriesResponse
+ */
+ public function listProjectsHistoriesExecutionsStepsPerfSampleSeries($projectId, $historyId, $executionId, $stepId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ToolResults_ListPerfSampleSeriesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples.php
new file mode 100644
index 00000000..1c4a55b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples.php
@@ -0,0 +1,87 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "samples" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $toolresultsService = new Google_Service_ToolResults(...);
+ * $samples = $toolresultsService->samples;
+ * </code>
+ */
+class Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples extends Google_Service_Resource
+{
+ /**
+ * Creates a batch of PerfSamples - a client can submit multiple batches of Perf
+ * Samples through repeated calls to this method in order to split up a large
+ * request payload - duplicates and existing timestamp entries will be ignored.
+ * - the batch operation may partially succeed - the set of elements
+ * successfully inserted is returned in the response (omits items which already
+ * existed in the database).
+ *
+ * May return any of the following canonical error codes: - NOT_FOUND - The
+ * containing PerfSampleSeries does not exist (samples.batchCreate)
+ *
+ * @param string $projectId The cloud project
+ * @param string $historyId A tool results history ID.
+ * @param string $executionId A tool results execution ID.
+ * @param string $stepId A tool results step ID.
+ * @param string $sampleSeriesId A sample series id
+ * @param Google_Service_ToolResults_BatchCreatePerfSamplesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ToolResults_BatchCreatePerfSamplesResponse
+ */
+ public function batchCreate($projectId, $historyId, $executionId, $stepId, $sampleSeriesId, Google_Service_ToolResults_BatchCreatePerfSamplesRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'sampleSeriesId' => $sampleSeriesId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchCreate', array($params), "Google_Service_ToolResults_BatchCreatePerfSamplesResponse");
+ }
+ /**
+ * Lists the Performance Samples of a given Sample Series - The list results are
+ * sorted by timestamps ascending - The default page size is 500 samples; and
+ * maximum size allowed 5000 - The response token indicates the last returned
+ * PerfSample timestamp - When the results size exceeds the page size, submit a
+ * subsequent request including the page token to return the rest of the samples
+ * up to the page limit
+ *
+ * May return any of the following canonical error codes: - OUT_OF_RANGE - The
+ * specified request page_token is out of valid range - NOT_FOUND - The
+ * containing PerfSampleSeries does not exist
+ * (samples.listProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples)
+ *
+ * @param string $projectId The cloud project
+ * @param string $historyId A tool results history ID.
+ * @param string $executionId A tool results execution ID.
+ * @param string $stepId A tool results step ID.
+ * @param string $sampleSeriesId A sample series id
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize The default page size is 500 samples, and the maximum
+ * size is 5000. If the page_size is greater than 5000, the effective page size
+ * will be 5000
+ * @opt_param string pageToken Optional, the next_page_token returned in the
+ * previous response
+ * @return Google_Service_ToolResults_ListPerfSamplesResponse
+ */
+ public function listProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples($projectId, $historyId, $executionId, $stepId, $sampleSeriesId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'sampleSeriesId' => $sampleSeriesId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ToolResults_ListPerfSamplesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsThumbnails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsThumbnails.php
new file mode 100644
index 00000000..c4fdfd74
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsThumbnails.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "thumbnails" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $toolresultsService = new Google_Service_ToolResults(...);
+ * $thumbnails = $toolresultsService->thumbnails;
+ * </code>
+ */
+class Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsThumbnails extends Google_Service_Resource
+{
+ /**
+ * Lists thumbnails of images attached to a step.
+ *
+ * May return any of the following canonical error codes: - PERMISSION_DENIED -
+ * if the user is not authorized to read from the project, or from any of the
+ * images - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the
+ * step does not exist, or if any of the images do not exist
+ * (thumbnails.listProjectsHistoriesExecutionsStepsThumbnails)
+ *
+ * @param string $projectId A Project id.
+ *
+ * Required.
+ * @param string $historyId A History id.
+ *
+ * Required.
+ * @param string $executionId An Execution id.
+ *
+ * Required.
+ * @param string $stepId A Step id.
+ *
+ * Required.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize The maximum number of thumbnails to fetch.
+ *
+ * Default value: 50. The server will use this default if the field is not set
+ * or has a value of 0.
+ *
+ * Optional.
+ * @opt_param string pageToken A continuation token to resume the query at the
+ * next item.
+ *
+ * Optional.
+ * @return Google_Service_ToolResults_ListStepThumbnailsResponse
+ */
+ public function listProjectsHistoriesExecutionsStepsThumbnails($projectId, $historyId, $executionId, $stepId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ToolResults_ListStepThumbnailsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/SkippedDetail.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/SkippedDetail.php
new file mode 100644
index 00000000..eceaab36
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/SkippedDetail.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_SkippedDetail extends Google_Model
+{
+ public $incompatibleAppVersion;
+ public $incompatibleArchitecture;
+ public $incompatibleDevice;
+
+ public function setIncompatibleAppVersion($incompatibleAppVersion)
+ {
+ $this->incompatibleAppVersion = $incompatibleAppVersion;
+ }
+ public function getIncompatibleAppVersion()
+ {
+ return $this->incompatibleAppVersion;
+ }
+ public function setIncompatibleArchitecture($incompatibleArchitecture)
+ {
+ $this->incompatibleArchitecture = $incompatibleArchitecture;
+ }
+ public function getIncompatibleArchitecture()
+ {
+ return $this->incompatibleArchitecture;
+ }
+ public function setIncompatibleDevice($incompatibleDevice)
+ {
+ $this->incompatibleDevice = $incompatibleDevice;
+ }
+ public function getIncompatibleDevice()
+ {
+ return $this->incompatibleDevice;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StackTrace.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StackTrace.php
new file mode 100644
index 00000000..7a86b325
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StackTrace.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_StackTrace extends Google_Model
+{
+ public $exception;
+
+ public function setException($exception)
+ {
+ $this->exception = $exception;
+ }
+ public function getException()
+ {
+ return $this->exception;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Status.php
new file mode 100644
index 00000000..679c1001
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Status.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ protected $detailsType = 'Google_Service_ToolResults_Any';
+ protected $detailsDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Step.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Step.php
new file mode 100644
index 00000000..34cf165b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Step.php
@@ -0,0 +1,157 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_Step extends Google_Collection
+{
+ protected $collection_key = 'labels';
+ protected $completionTimeType = 'Google_Service_ToolResults_Timestamp';
+ protected $completionTimeDataType = '';
+ protected $creationTimeType = 'Google_Service_ToolResults_Timestamp';
+ protected $creationTimeDataType = '';
+ public $description;
+ protected $deviceUsageDurationType = 'Google_Service_ToolResults_Duration';
+ protected $deviceUsageDurationDataType = '';
+ protected $dimensionValueType = 'Google_Service_ToolResults_StepDimensionValueEntry';
+ protected $dimensionValueDataType = 'array';
+ public $hasImages;
+ protected $labelsType = 'Google_Service_ToolResults_StepLabelsEntry';
+ protected $labelsDataType = 'array';
+ public $name;
+ protected $outcomeType = 'Google_Service_ToolResults_Outcome';
+ protected $outcomeDataType = '';
+ protected $runDurationType = 'Google_Service_ToolResults_Duration';
+ protected $runDurationDataType = '';
+ public $state;
+ public $stepId;
+ protected $testExecutionStepType = 'Google_Service_ToolResults_TestExecutionStep';
+ protected $testExecutionStepDataType = '';
+ protected $toolExecutionStepType = 'Google_Service_ToolResults_ToolExecutionStep';
+ protected $toolExecutionStepDataType = '';
+
+ public function setCompletionTime(Google_Service_ToolResults_Timestamp $completionTime)
+ {
+ $this->completionTime = $completionTime;
+ }
+ public function getCompletionTime()
+ {
+ return $this->completionTime;
+ }
+ public function setCreationTime(Google_Service_ToolResults_Timestamp $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 setDeviceUsageDuration(Google_Service_ToolResults_Duration $deviceUsageDuration)
+ {
+ $this->deviceUsageDuration = $deviceUsageDuration;
+ }
+ public function getDeviceUsageDuration()
+ {
+ return $this->deviceUsageDuration;
+ }
+ public function setDimensionValue($dimensionValue)
+ {
+ $this->dimensionValue = $dimensionValue;
+ }
+ public function getDimensionValue()
+ {
+ return $this->dimensionValue;
+ }
+ public function setHasImages($hasImages)
+ {
+ $this->hasImages = $hasImages;
+ }
+ public function getHasImages()
+ {
+ return $this->hasImages;
+ }
+ 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 setOutcome(Google_Service_ToolResults_Outcome $outcome)
+ {
+ $this->outcome = $outcome;
+ }
+ public function getOutcome()
+ {
+ return $this->outcome;
+ }
+ public function setRunDuration(Google_Service_ToolResults_Duration $runDuration)
+ {
+ $this->runDuration = $runDuration;
+ }
+ public function getRunDuration()
+ {
+ return $this->runDuration;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setStepId($stepId)
+ {
+ $this->stepId = $stepId;
+ }
+ public function getStepId()
+ {
+ return $this->stepId;
+ }
+ public function setTestExecutionStep(Google_Service_ToolResults_TestExecutionStep $testExecutionStep)
+ {
+ $this->testExecutionStep = $testExecutionStep;
+ }
+ public function getTestExecutionStep()
+ {
+ return $this->testExecutionStep;
+ }
+ public function setToolExecutionStep(Google_Service_ToolResults_ToolExecutionStep $toolExecutionStep)
+ {
+ $this->toolExecutionStep = $toolExecutionStep;
+ }
+ public function getToolExecutionStep()
+ {
+ return $this->toolExecutionStep;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StepDimensionValueEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StepDimensionValueEntry.php
new file mode 100644
index 00000000..ea9eaafa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StepDimensionValueEntry.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_StepDimensionValueEntry extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StepLabelsEntry.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StepLabelsEntry.php
new file mode 100644
index 00000000..465e82de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StepLabelsEntry.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_StepLabelsEntry extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/SuccessDetail.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/SuccessDetail.php
new file mode 100644
index 00000000..40ecfdec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/SuccessDetail.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_SuccessDetail extends Google_Model
+{
+ public $otherNativeCrash;
+
+ public function setOtherNativeCrash($otherNativeCrash)
+ {
+ $this->otherNativeCrash = $otherNativeCrash;
+ }
+ public function getOtherNativeCrash()
+ {
+ return $this->otherNativeCrash;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestCaseReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestCaseReference.php
new file mode 100644
index 00000000..09a02a5a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestCaseReference.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_TestCaseReference extends Google_Model
+{
+ public $className;
+ public $name;
+ public $testSuiteName;
+
+ public function setClassName($className)
+ {
+ $this->className = $className;
+ }
+ public function getClassName()
+ {
+ return $this->className;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setTestSuiteName($testSuiteName)
+ {
+ $this->testSuiteName = $testSuiteName;
+ }
+ public function getTestSuiteName()
+ {
+ return $this->testSuiteName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestExecutionStep.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestExecutionStep.php
new file mode 100644
index 00000000..905c89ee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestExecutionStep.php
@@ -0,0 +1,62 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_TestExecutionStep extends Google_Collection
+{
+ protected $collection_key = 'testSuiteOverviews';
+ protected $testIssuesType = 'Google_Service_ToolResults_TestIssue';
+ protected $testIssuesDataType = 'array';
+ protected $testSuiteOverviewsType = 'Google_Service_ToolResults_TestSuiteOverview';
+ protected $testSuiteOverviewsDataType = 'array';
+ protected $testTimingType = 'Google_Service_ToolResults_TestTiming';
+ protected $testTimingDataType = '';
+ protected $toolExecutionType = 'Google_Service_ToolResults_ToolExecution';
+ protected $toolExecutionDataType = '';
+
+ public function setTestIssues($testIssues)
+ {
+ $this->testIssues = $testIssues;
+ }
+ public function getTestIssues()
+ {
+ return $this->testIssues;
+ }
+ public function setTestSuiteOverviews($testSuiteOverviews)
+ {
+ $this->testSuiteOverviews = $testSuiteOverviews;
+ }
+ public function getTestSuiteOverviews()
+ {
+ return $this->testSuiteOverviews;
+ }
+ public function setTestTiming(Google_Service_ToolResults_TestTiming $testTiming)
+ {
+ $this->testTiming = $testTiming;
+ }
+ public function getTestTiming()
+ {
+ return $this->testTiming;
+ }
+ public function setToolExecution(Google_Service_ToolResults_ToolExecution $toolExecution)
+ {
+ $this->toolExecution = $toolExecution;
+ }
+ public function getToolExecution()
+ {
+ return $this->toolExecution;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestIssue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestIssue.php
new file mode 100644
index 00000000..249b1401
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestIssue.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_TestIssue extends Google_Model
+{
+ public $errorMessage;
+ protected $stackTraceType = 'Google_Service_ToolResults_StackTrace';
+ protected $stackTraceDataType = '';
+
+ public function setErrorMessage($errorMessage)
+ {
+ $this->errorMessage = $errorMessage;
+ }
+ public function getErrorMessage()
+ {
+ return $this->errorMessage;
+ }
+ public function setStackTrace(Google_Service_ToolResults_StackTrace $stackTrace)
+ {
+ $this->stackTrace = $stackTrace;
+ }
+ public function getStackTrace()
+ {
+ return $this->stackTrace;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestSuiteOverview.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestSuiteOverview.php
new file mode 100644
index 00000000..1d414d48
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestSuiteOverview.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_TestSuiteOverview extends Google_Model
+{
+ public $errorCount;
+ public $failureCount;
+ public $name;
+ public $skippedCount;
+ public $totalCount;
+ protected $xmlSourceType = 'Google_Service_ToolResults_FileReference';
+ protected $xmlSourceDataType = '';
+
+ public function setErrorCount($errorCount)
+ {
+ $this->errorCount = $errorCount;
+ }
+ public function getErrorCount()
+ {
+ return $this->errorCount;
+ }
+ public function setFailureCount($failureCount)
+ {
+ $this->failureCount = $failureCount;
+ }
+ public function getFailureCount()
+ {
+ return $this->failureCount;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSkippedCount($skippedCount)
+ {
+ $this->skippedCount = $skippedCount;
+ }
+ public function getSkippedCount()
+ {
+ return $this->skippedCount;
+ }
+ public function setTotalCount($totalCount)
+ {
+ $this->totalCount = $totalCount;
+ }
+ public function getTotalCount()
+ {
+ return $this->totalCount;
+ }
+ public function setXmlSource(Google_Service_ToolResults_FileReference $xmlSource)
+ {
+ $this->xmlSource = $xmlSource;
+ }
+ public function getXmlSource()
+ {
+ return $this->xmlSource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestTiming.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestTiming.php
new file mode 100644
index 00000000..c423ad0b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestTiming.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_TestTiming extends Google_Model
+{
+ protected $testProcessDurationType = 'Google_Service_ToolResults_Duration';
+ protected $testProcessDurationDataType = '';
+
+ public function setTestProcessDuration(Google_Service_ToolResults_Duration $testProcessDuration)
+ {
+ $this->testProcessDuration = $testProcessDuration;
+ }
+ public function getTestProcessDuration()
+ {
+ return $this->testProcessDuration;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Thumbnail.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Thumbnail.php
new file mode 100644
index 00000000..d25ce8a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Thumbnail.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_Thumbnail extends Google_Model
+{
+ public $contentType;
+ public $data;
+ public $heightPx;
+ public $widthPx;
+
+ public function setContentType($contentType)
+ {
+ $this->contentType = $contentType;
+ }
+ public function getContentType()
+ {
+ return $this->contentType;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setHeightPx($heightPx)
+ {
+ $this->heightPx = $heightPx;
+ }
+ public function getHeightPx()
+ {
+ return $this->heightPx;
+ }
+ public function setWidthPx($widthPx)
+ {
+ $this->widthPx = $widthPx;
+ }
+ public function getWidthPx()
+ {
+ return $this->widthPx;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Timestamp.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Timestamp.php
new file mode 100644
index 00000000..4e329bfe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Timestamp.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_Timestamp extends Google_Model
+{
+ public $nanos;
+ public $seconds;
+
+ public function setNanos($nanos)
+ {
+ $this->nanos = $nanos;
+ }
+ public function getNanos()
+ {
+ return $this->nanos;
+ }
+ public function setSeconds($seconds)
+ {
+ $this->seconds = $seconds;
+ }
+ public function getSeconds()
+ {
+ return $this->seconds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExecution.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExecution.php
new file mode 100644
index 00000000..f462f129
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExecution.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_ToolExecution extends Google_Collection
+{
+ protected $collection_key = 'toolOutputs';
+ public $commandLineArguments;
+ protected $exitCodeType = 'Google_Service_ToolResults_ToolExitCode';
+ protected $exitCodeDataType = '';
+ protected $toolLogsType = 'Google_Service_ToolResults_FileReference';
+ protected $toolLogsDataType = 'array';
+ protected $toolOutputsType = 'Google_Service_ToolResults_ToolOutputReference';
+ protected $toolOutputsDataType = 'array';
+
+ public function setCommandLineArguments($commandLineArguments)
+ {
+ $this->commandLineArguments = $commandLineArguments;
+ }
+ public function getCommandLineArguments()
+ {
+ return $this->commandLineArguments;
+ }
+ public function setExitCode(Google_Service_ToolResults_ToolExitCode $exitCode)
+ {
+ $this->exitCode = $exitCode;
+ }
+ public function getExitCode()
+ {
+ return $this->exitCode;
+ }
+ public function setToolLogs($toolLogs)
+ {
+ $this->toolLogs = $toolLogs;
+ }
+ public function getToolLogs()
+ {
+ return $this->toolLogs;
+ }
+ public function setToolOutputs($toolOutputs)
+ {
+ $this->toolOutputs = $toolOutputs;
+ }
+ public function getToolOutputs()
+ {
+ return $this->toolOutputs;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExecutionStep.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExecutionStep.php
new file mode 100644
index 00000000..32a0e013
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExecutionStep.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_ToolExecutionStep extends Google_Model
+{
+ protected $toolExecutionType = 'Google_Service_ToolResults_ToolExecution';
+ protected $toolExecutionDataType = '';
+
+ public function setToolExecution(Google_Service_ToolResults_ToolExecution $toolExecution)
+ {
+ $this->toolExecution = $toolExecution;
+ }
+ public function getToolExecution()
+ {
+ return $this->toolExecution;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExitCode.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExitCode.php
new file mode 100644
index 00000000..8d25d55e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExitCode.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_ToolExitCode extends Google_Model
+{
+ public $number;
+
+ public function setNumber($number)
+ {
+ $this->number = $number;
+ }
+ public function getNumber()
+ {
+ return $this->number;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolOutputReference.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolOutputReference.php
new file mode 100644
index 00000000..4d2f255d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolOutputReference.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_ToolResults_ToolOutputReference extends Google_Model
+{
+ protected $creationTimeType = 'Google_Service_ToolResults_Timestamp';
+ protected $creationTimeDataType = '';
+ protected $outputType = 'Google_Service_ToolResults_FileReference';
+ protected $outputDataType = '';
+ protected $testCaseType = 'Google_Service_ToolResults_TestCaseReference';
+ protected $testCaseDataType = '';
+
+ public function setCreationTime(Google_Service_ToolResults_Timestamp $creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setOutput(Google_Service_ToolResults_FileReference $output)
+ {
+ $this->output = $output;
+ }
+ public function getOutput()
+ {
+ return $this->output;
+ }
+ public function setTestCase(Google_Service_ToolResults_TestCaseReference $testCase)
+ {
+ $this->testCase = $testCase;
+ }
+ public function getTestCase()
+ {
+ return $this->testCase;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing.php
new file mode 100644
index 00000000..75dc0e22
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing.php
@@ -0,0 +1,137 @@
+<?php
+/*
+ * Copyright 2016 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 Tracing (v1).
+ *
+ * <p>
+ * Send and retrieve trace data from Google Stackdriver Trace.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/trace" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Tracing extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** Write Trace data for a project or application. */
+ const TRACE_APPEND =
+ "https://www.googleapis.com/auth/trace.append";
+ /** Read Trace data for a project or application. */
+ const TRACE_READONLY =
+ "https://www.googleapis.com/auth/trace.readonly";
+
+ public $projects_traces;
+
+ /**
+ * Constructs the internal representation of the Tracing service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://tracing.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'tracing';
+
+ $this->projects_traces = new Google_Service_Tracing_Resource_ProjectsTraces(
+ $this,
+ $this->serviceName,
+ 'traces',
+ array(
+ 'methods' => array(
+ 'batchUpdate' => array(
+ 'path' => 'v1/{+parent}/traces:batchUpdate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/{+name}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/{+parent}/traces',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'parent' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listSpans' => array(
+ 'path' => 'v1/{+name}:listSpans',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Annotation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Annotation.php
new file mode 100644
index 00000000..7f13a0fc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Annotation.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tracing_Annotation extends Google_Model
+{
+ protected $attributesType = 'Google_Service_Tracing_AttributeValue';
+ protected $attributesDataType = 'map';
+ public $description;
+
+ public function setAttributes($attributes)
+ {
+ $this->attributes = $attributes;
+ }
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/AttributeValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/AttributeValue.php
new file mode 100644
index 00000000..4f106b2a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/AttributeValue.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tracing_AttributeValue extends Google_Model
+{
+ public $boolValue;
+ public $intValue;
+ public $stringValue;
+
+ 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 setStringValue($stringValue)
+ {
+ $this->stringValue = $stringValue;
+ }
+ public function getStringValue()
+ {
+ return $this->stringValue;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/BatchUpdateSpansRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/BatchUpdateSpansRequest.php
new file mode 100644
index 00000000..35b349f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/BatchUpdateSpansRequest.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tracing_BatchUpdateSpansRequest extends Google_Model
+{
+ protected $spanUpdatesType = 'Google_Service_Tracing_SpanUpdates';
+ protected $spanUpdatesDataType = 'map';
+
+ public function setSpanUpdates($spanUpdates)
+ {
+ $this->spanUpdates = $spanUpdates;
+ }
+ public function getSpanUpdates()
+ {
+ return $this->spanUpdates;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Link.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Link.php
new file mode 100644
index 00000000..0eaad74a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Link.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tracing_Link extends Google_Model
+{
+ public $spanId;
+ public $traceId;
+ public $type;
+
+ public function setSpanId($spanId)
+ {
+ $this->spanId = $spanId;
+ }
+ public function getSpanId()
+ {
+ return $this->spanId;
+ }
+ public function setTraceId($traceId)
+ {
+ $this->traceId = $traceId;
+ }
+ public function getTraceId()
+ {
+ return $this->traceId;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/ListSpansResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/ListSpansResponse.php
new file mode 100644
index 00000000..70903e55
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/ListSpansResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tracing_ListSpansResponse extends Google_Collection
+{
+ protected $collection_key = 'spans';
+ public $nextPageToken;
+ protected $spansType = 'Google_Service_Tracing_Span';
+ protected $spansDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSpans($spans)
+ {
+ $this->spans = $spans;
+ }
+ public function getSpans()
+ {
+ return $this->spans;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/ListTracesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/ListTracesResponse.php
new file mode 100644
index 00000000..82b58491
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/ListTracesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tracing_ListTracesResponse extends Google_Collection
+{
+ protected $collection_key = 'traces';
+ public $nextPageToken;
+ protected $tracesType = 'Google_Service_Tracing_Trace';
+ protected $tracesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTraces($traces)
+ {
+ $this->traces = $traces;
+ }
+ public function getTraces()
+ {
+ return $this->traces;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Module.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Module.php
new file mode 100644
index 00000000..88d87b88
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Module.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tracing_Module extends Google_Model
+{
+ public $buildId;
+ public $module;
+
+ public function setBuildId($buildId)
+ {
+ $this->buildId = $buildId;
+ }
+ public function getBuildId()
+ {
+ return $this->buildId;
+ }
+ public function setModule($module)
+ {
+ $this->module = $module;
+ }
+ public function getModule()
+ {
+ return $this->module;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/NetworkEvent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/NetworkEvent.php
new file mode 100644
index 00000000..4c71f090
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/NetworkEvent.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tracing_NetworkEvent extends Google_Model
+{
+ public $kernelTime;
+ public $messageId;
+ public $messageSize;
+ public $type;
+
+ public function setKernelTime($kernelTime)
+ {
+ $this->kernelTime = $kernelTime;
+ }
+ public function getKernelTime()
+ {
+ return $this->kernelTime;
+ }
+ public function setMessageId($messageId)
+ {
+ $this->messageId = $messageId;
+ }
+ public function getMessageId()
+ {
+ return $this->messageId;
+ }
+ public function setMessageSize($messageSize)
+ {
+ $this->messageSize = $messageSize;
+ }
+ public function getMessageSize()
+ {
+ return $this->messageSize;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Resource/Projects.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Resource/Projects.php
new file mode 100644
index 00000000..40f60eaa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Resource/Projects.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tracingService = new Google_Service_Tracing(...);
+ * $projects = $tracingService->projects;
+ * </code>
+ */
+class Google_Service_Tracing_Resource_Projects extends Google_Service_Resource
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Resource/ProjectsTraces.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Resource/ProjectsTraces.php
new file mode 100644
index 00000000..b92f2420
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Resource/ProjectsTraces.php
@@ -0,0 +1,116 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "traces" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tracingService = new Google_Service_Tracing(...);
+ * $traces = $tracingService->traces;
+ * </code>
+ */
+class Google_Service_Tracing_Resource_ProjectsTraces extends Google_Service_Resource
+{
+ /**
+ * Sends new spans to Stackdriver Trace or updates existing spans. If the name
+ * of a trace that you send matches that of an existing trace, any fields in the
+ * existing trace and its spans are overwritten by the provided values, and any
+ * new fields provided are merged with the existing trace data. If the name does
+ * not match, a new trace is created with given set of spans.
+ * (traces.batchUpdate)
+ *
+ * @param string $parent ID of the Cloud project where the trace data is stored.
+ * @param Google_Service_Tracing_BatchUpdateSpansRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Tracing_TracingEmpty
+ */
+ public function batchUpdate($parent, Google_Service_Tracing_BatchUpdateSpansRequest $postBody, $optParams = array())
+ {
+ $params = array('parent' => $parent, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchUpdate', array($params), "Google_Service_Tracing_TracingEmpty");
+ }
+ /**
+ * Returns a specific trace. (traces.get)
+ *
+ * @param string $name ID of the trace which is "projects//traces/".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Tracing_Trace
+ */
+ public function get($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Tracing_Trace");
+ }
+ /**
+ * Returns of a list of traces that match the specified filter conditions.
+ * (traces.listProjectsTraces)
+ *
+ * @param string $parent ID of the Cloud project where the trace data is stored.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter An optional filter for the request. Example:
+ * "version_label_key:a some_label:some_label_key" returns traces from version a
+ * and has some_label with some_label_key.
+ * @opt_param string endTime End of the time interval (inclusive) during which
+ * the trace data was collected from the application.
+ * @opt_param string pageToken Token identifying the page of results to return.
+ * If provided, use the value of the `next_page_token` field from a previous
+ * request. Optional.
+ * @opt_param string startTime Start of the time interval (inclusive) during
+ * which the trace data was collected from the application.
+ * @opt_param int pageSize Maximum number of traces to return. If not specified
+ * or <= 0, the implementation selects a reasonable value. The implementation
+ * may return fewer traces than the requested page size. Optional.
+ * @opt_param string orderBy Field used to sort the returned traces. Optional.
+ * Can be one of the following:
+ *
+ * * `trace_id` * `name` (`name` field of root span in the trace) *
+ * `duration` (difference between `end_time` and `start_time` fields of the
+ * root span) * `start` (`start_time` field of the root span)
+ *
+ * Descending order can be specified by appending `desc` to the sort field (for
+ * example, `name desc`).
+ *
+ * Only one sort field is permitted.
+ * @return Google_Service_Tracing_ListTracesResponse
+ */
+ public function listProjectsTraces($parent, $optParams = array())
+ {
+ $params = array('parent' => $parent);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Tracing_ListTracesResponse");
+ }
+ /**
+ * Returns a list of spans within a trace. (traces.listSpans)
+ *
+ * @param string $name ID of the span set where is "projects//traces/".
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Token identifying the page of results to return.
+ * If provided, use the value of the `page_token` field from a previous request.
+ * Optional.
+ * @return Google_Service_Tracing_ListSpansResponse
+ */
+ public function listSpans($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('listSpans', array($params), "Google_Service_Tracing_ListSpansResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Span.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Span.php
new file mode 100644
index 00000000..f10fb7ce
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Span.php
@@ -0,0 +1,126 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tracing_Span extends Google_Collection
+{
+ protected $collection_key = 'timeEvents';
+ protected $attributesType = 'Google_Service_Tracing_AttributeValue';
+ protected $attributesDataType = 'map';
+ public $hasRemoteParent;
+ public $id;
+ protected $linksType = 'Google_Service_Tracing_Link';
+ protected $linksDataType = 'array';
+ public $localEndTime;
+ public $localStartTime;
+ public $name;
+ public $parentId;
+ protected $stackTraceType = 'Google_Service_Tracing_StackTrace';
+ protected $stackTraceDataType = '';
+ protected $statusType = 'Google_Service_Tracing_Status';
+ protected $statusDataType = '';
+ protected $timeEventsType = 'Google_Service_Tracing_TimeEvent';
+ protected $timeEventsDataType = 'array';
+
+ public function setAttributes($attributes)
+ {
+ $this->attributes = $attributes;
+ }
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+ public function setHasRemoteParent($hasRemoteParent)
+ {
+ $this->hasRemoteParent = $hasRemoteParent;
+ }
+ public function getHasRemoteParent()
+ {
+ return $this->hasRemoteParent;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLinks($links)
+ {
+ $this->links = $links;
+ }
+ public function getLinks()
+ {
+ return $this->links;
+ }
+ public function setLocalEndTime($localEndTime)
+ {
+ $this->localEndTime = $localEndTime;
+ }
+ public function getLocalEndTime()
+ {
+ return $this->localEndTime;
+ }
+ public function setLocalStartTime($localStartTime)
+ {
+ $this->localStartTime = $localStartTime;
+ }
+ public function getLocalStartTime()
+ {
+ return $this->localStartTime;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParentId($parentId)
+ {
+ $this->parentId = $parentId;
+ }
+ public function getParentId()
+ {
+ return $this->parentId;
+ }
+ public function setStackTrace(Google_Service_Tracing_StackTrace $stackTrace)
+ {
+ $this->stackTrace = $stackTrace;
+ }
+ public function getStackTrace()
+ {
+ return $this->stackTrace;
+ }
+ public function setStatus(Google_Service_Tracing_Status $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTimeEvents($timeEvents)
+ {
+ $this->timeEvents = $timeEvents;
+ }
+ public function getTimeEvents()
+ {
+ return $this->timeEvents;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/SpanUpdates.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/SpanUpdates.php
new file mode 100644
index 00000000..189adbca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/SpanUpdates.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tracing_SpanUpdates extends Google_Collection
+{
+ protected $collection_key = 'spans';
+ protected $spansType = 'Google_Service_Tracing_Span';
+ protected $spansDataType = 'array';
+
+ public function setSpans($spans)
+ {
+ $this->spans = $spans;
+ }
+ public function getSpans()
+ {
+ return $this->spans;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/StackFrame.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/StackFrame.php
new file mode 100644
index 00000000..c415bd26
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/StackFrame.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tracing_StackFrame extends Google_Model
+{
+ public $columnNumber;
+ public $fileName;
+ public $functionName;
+ public $lineNumber;
+ protected $loadModuleType = 'Google_Service_Tracing_Module';
+ protected $loadModuleDataType = '';
+ public $originalFunctionName;
+ public $sourceVersion;
+
+ public function setColumnNumber($columnNumber)
+ {
+ $this->columnNumber = $columnNumber;
+ }
+ public function getColumnNumber()
+ {
+ return $this->columnNumber;
+ }
+ public function setFileName($fileName)
+ {
+ $this->fileName = $fileName;
+ }
+ public function getFileName()
+ {
+ return $this->fileName;
+ }
+ public function setFunctionName($functionName)
+ {
+ $this->functionName = $functionName;
+ }
+ public function getFunctionName()
+ {
+ return $this->functionName;
+ }
+ public function setLineNumber($lineNumber)
+ {
+ $this->lineNumber = $lineNumber;
+ }
+ public function getLineNumber()
+ {
+ return $this->lineNumber;
+ }
+ public function setLoadModule(Google_Service_Tracing_Module $loadModule)
+ {
+ $this->loadModule = $loadModule;
+ }
+ public function getLoadModule()
+ {
+ return $this->loadModule;
+ }
+ public function setOriginalFunctionName($originalFunctionName)
+ {
+ $this->originalFunctionName = $originalFunctionName;
+ }
+ public function getOriginalFunctionName()
+ {
+ return $this->originalFunctionName;
+ }
+ public function setSourceVersion($sourceVersion)
+ {
+ $this->sourceVersion = $sourceVersion;
+ }
+ public function getSourceVersion()
+ {
+ return $this->sourceVersion;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/StackTrace.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/StackTrace.php
new file mode 100644
index 00000000..83e70068
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/StackTrace.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tracing_StackTrace extends Google_Collection
+{
+ protected $collection_key = 'stackFrame';
+ protected $stackFrameType = 'Google_Service_Tracing_StackFrame';
+ protected $stackFrameDataType = 'array';
+ public $stackTraceHashId;
+
+ public function setStackFrame($stackFrame)
+ {
+ $this->stackFrame = $stackFrame;
+ }
+ public function getStackFrame()
+ {
+ return $this->stackFrame;
+ }
+ public function setStackTraceHashId($stackTraceHashId)
+ {
+ $this->stackTraceHashId = $stackTraceHashId;
+ }
+ public function getStackTraceHashId()
+ {
+ return $this->stackTraceHashId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Status.php
new file mode 100644
index 00000000..37d913d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tracing_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/TimeEvent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/TimeEvent.php
new file mode 100644
index 00000000..21c9b2c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/TimeEvent.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tracing_TimeEvent extends Google_Model
+{
+ protected $annotationType = 'Google_Service_Tracing_Annotation';
+ protected $annotationDataType = '';
+ public $localTime;
+ protected $networkEventType = 'Google_Service_Tracing_NetworkEvent';
+ protected $networkEventDataType = '';
+
+ public function setAnnotation(Google_Service_Tracing_Annotation $annotation)
+ {
+ $this->annotation = $annotation;
+ }
+ public function getAnnotation()
+ {
+ return $this->annotation;
+ }
+ public function setLocalTime($localTime)
+ {
+ $this->localTime = $localTime;
+ }
+ public function getLocalTime()
+ {
+ return $this->localTime;
+ }
+ public function setNetworkEvent(Google_Service_Tracing_NetworkEvent $networkEvent)
+ {
+ $this->networkEvent = $networkEvent;
+ }
+ public function getNetworkEvent()
+ {
+ return $this->networkEvent;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Trace.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Trace.php
new file mode 100644
index 00000000..732912c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Trace.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tracing_Trace extends Google_Model
+{
+ public $name;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/TracingEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/TracingEmpty.php
new file mode 100644
index 00000000..21a5e473
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/TracingEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Tracing_TracingEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate.php
new file mode 100644
index 00000000..aeca74a2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate.php
@@ -0,0 +1,132 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Translates 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 Google_Service_Translate extends Google_Service
+{
+
+
+ public $detections;
+ public $languages;
+ public $translations;
+
+ /**
+ * Constructs the internal representation of the Translate service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'language/translate/';
+ $this->version = 'v2';
+ $this->serviceName = 'translate';
+
+ $this->detections = new Google_Service_Translate_Resource_Detections(
+ $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 Google_Service_Translate_Resource_Languages(
+ $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 Google_Service_Translate_Resource_Translations(
+ $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,
+ ),
+ 'cid' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'format' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/DetectionsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/DetectionsListResponse.php
new file mode 100644
index 00000000..c336dd68
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/DetectionsListResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Translate_DetectionsListResponse extends Google_Collection
+{
+ protected $collection_key = 'detections';
+ protected $detectionsType = 'Google_Service_Translate_DetectionsResourceItems';
+ protected $detectionsDataType = 'array';
+
+ public function setDetections($detections)
+ {
+ $this->detections = $detections;
+ }
+ public function getDetections()
+ {
+ return $this->detections;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/DetectionsResourceItems.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/DetectionsResourceItems.php
new file mode 100644
index 00000000..c36f65d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/DetectionsResourceItems.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Translate_DetectionsResourceItems extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/LanguagesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/LanguagesListResponse.php
new file mode 100644
index 00000000..d884671a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/LanguagesListResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Translate_LanguagesListResponse extends Google_Collection
+{
+ protected $collection_key = 'languages';
+ protected $languagesType = 'Google_Service_Translate_LanguagesResource';
+ protected $languagesDataType = 'array';
+
+ public function setLanguages($languages)
+ {
+ $this->languages = $languages;
+ }
+ public function getLanguages()
+ {
+ return $this->languages;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/LanguagesResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/LanguagesResource.php
new file mode 100644
index 00000000..1b711286
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/LanguagesResource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Translate_LanguagesResource extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Detections.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Detections.php
new file mode 100644
index 00000000..9c534293
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Detections.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "detections" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $translateService = new Google_Service_Translate(...);
+ * $detections = $translateService->detections;
+ * </code>
+ */
+class Google_Service_Translate_Resource_Detections extends Google_Service_Resource
+{
+ /**
+ * Detect the language of text. (detections.listDetections)
+ *
+ * @param string|array $q The text to detect
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Translate_DetectionsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Languages.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Languages.php
new file mode 100644
index 00000000..f1ee702a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Languages.php
@@ -0,0 +1,44 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "languages" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $translateService = new Google_Service_Translate(...);
+ * $languages = $translateService->languages;
+ * </code>
+ */
+class Google_Service_Translate_Resource_Languages extends 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 Google_Service_Translate_LanguagesListResponse
+ */
+ public function listLanguages($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Translate_LanguagesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Translations.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Translations.php
new file mode 100644
index 00000000..771d576e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Translations.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "translations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $translateService = new Google_Service_Translate(...);
+ * $translations = $translateService->translations;
+ * </code>
+ */
+class Google_Service_Translate_Resource_Translations extends Google_Service_Resource
+{
+ /**
+ * Returns text translations from one language to another.
+ * (translations.listTranslations)
+ *
+ * @param string|array $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 cid The customization id for translate
+ * @opt_param string format The format of the text
+ * @opt_param string source The source language of the text
+ * @return 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), "Google_Service_Translate_TranslationsListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/TranslationsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/TranslationsListResponse.php
new file mode 100644
index 00000000..0a402cc3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/TranslationsListResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Translate_TranslationsListResponse extends Google_Collection
+{
+ protected $collection_key = 'translations';
+ protected $translationsType = 'Google_Service_Translate_TranslationsResource';
+ protected $translationsDataType = 'array';
+
+ public function setTranslations($translations)
+ {
+ $this->translations = $translations;
+ }
+ public function getTranslations()
+ {
+ return $this->translations;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/TranslationsResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/TranslationsResource.php
new file mode 100644
index 00000000..f68731f9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/TranslationsResource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Translate_TranslationsResource extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener.php
new file mode 100644
index 00000000..9780c28d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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="https://developers.google.com/url-shortener/v1/getting_started" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Urlshortener extends 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 Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'urlshortener/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'urlshortener';
+
+ $this->url = new Google_Service_Urlshortener_Resource_Url(
+ $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(
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'start-token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/AnalyticsSnapshot.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/AnalyticsSnapshot.php
new file mode 100644
index 00000000..fcfa736c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/AnalyticsSnapshot.php
@@ -0,0 +1,80 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Urlshortener_AnalyticsSnapshot extends Google_Collection
+{
+ protected $collection_key = 'referrers';
+ protected $browsersType = 'Google_Service_Urlshortener_StringCount';
+ protected $browsersDataType = 'array';
+ protected $countriesType = 'Google_Service_Urlshortener_StringCount';
+ protected $countriesDataType = 'array';
+ public $longUrlClicks;
+ protected $platformsType = 'Google_Service_Urlshortener_StringCount';
+ protected $platformsDataType = 'array';
+ protected $referrersType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/AnalyticsSummary.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/AnalyticsSummary.php
new file mode 100644
index 00000000..308ba121
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/AnalyticsSummary.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Urlshortener_AnalyticsSummary extends Google_Model
+{
+ protected $allTimeType = 'Google_Service_Urlshortener_AnalyticsSnapshot';
+ protected $allTimeDataType = '';
+ protected $dayType = 'Google_Service_Urlshortener_AnalyticsSnapshot';
+ protected $dayDataType = '';
+ protected $monthType = 'Google_Service_Urlshortener_AnalyticsSnapshot';
+ protected $monthDataType = '';
+ protected $twoHoursType = 'Google_Service_Urlshortener_AnalyticsSnapshot';
+ protected $twoHoursDataType = '';
+ protected $weekType = 'Google_Service_Urlshortener_AnalyticsSnapshot';
+ protected $weekDataType = '';
+
+ public function setAllTime(Google_Service_Urlshortener_AnalyticsSnapshot $allTime)
+ {
+ $this->allTime = $allTime;
+ }
+ public function getAllTime()
+ {
+ return $this->allTime;
+ }
+ public function setDay(Google_Service_Urlshortener_AnalyticsSnapshot $day)
+ {
+ $this->day = $day;
+ }
+ public function getDay()
+ {
+ return $this->day;
+ }
+ public function setMonth(Google_Service_Urlshortener_AnalyticsSnapshot $month)
+ {
+ $this->month = $month;
+ }
+ public function getMonth()
+ {
+ return $this->month;
+ }
+ public function setTwoHours(Google_Service_Urlshortener_AnalyticsSnapshot $twoHours)
+ {
+ $this->twoHours = $twoHours;
+ }
+ public function getTwoHours()
+ {
+ return $this->twoHours;
+ }
+ public function setWeek(Google_Service_Urlshortener_AnalyticsSnapshot $week)
+ {
+ $this->week = $week;
+ }
+ public function getWeek()
+ {
+ return $this->week;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/Resource/Url.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/Resource/Url.php
new file mode 100644
index 00000000..f016a7c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/Resource/Url.php
@@ -0,0 +1,72 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "url" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $urlshortenerService = new Google_Service_Urlshortener(...);
+ * $url = $urlshortenerService->url;
+ * </code>
+ */
+class Google_Service_Urlshortener_Resource_Url extends 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 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), "Google_Service_Urlshortener_Url");
+ }
+ /**
+ * Creates a new short URL. (url.insert)
+ *
+ * @param Google_Service_Urlshortener_Url $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Urlshortener_Url
+ */
+ public function insert(Google_Service_Urlshortener_Url $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Urlshortener_Url");
+ }
+ /**
+ * Retrieves a list of URLs shortened by a user. (url.listUrl)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projection Additional information to return.
+ * @opt_param string start-token Token for requesting successive pages of
+ * results.
+ * @return Google_Service_Urlshortener_UrlHistory
+ */
+ public function listUrl($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Urlshortener_UrlHistory");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/StringCount.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/StringCount.php
new file mode 100644
index 00000000..c6284d1b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/StringCount.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Urlshortener_StringCount extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/Url.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/Url.php
new file mode 100644
index 00000000..c70d4972
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/Url.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Urlshortener_Url extends Google_Model
+{
+ protected $analyticsType = 'Google_Service_Urlshortener_AnalyticsSummary';
+ protected $analyticsDataType = '';
+ public $created;
+ public $id;
+ public $kind;
+ public $longUrl;
+ public $status;
+
+ public function setAnalytics(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/UrlHistory.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/UrlHistory.php
new file mode 100644
index 00000000..e406d4a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/UrlHistory.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Urlshortener_UrlHistory extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision.php
new file mode 100644
index 00000000..23613136
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2016 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 Vision (v1).
+ *
+ * <p>
+ * Integrates Google Vision features, including image labeling, face, logo, and
+ * landmark detection, optical character recognition (OCR), and detection of
+ * explicit content, into applications.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/vision/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Vision extends Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $images;
+
+ /**
+ * Constructs the internal representation of the Vision service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://vision.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'vision';
+
+ $this->images = new Google_Service_Vision_Resource_Images(
+ $this,
+ $this->serviceName,
+ 'images',
+ array(
+ 'methods' => array(
+ 'annotate' => array(
+ 'path' => 'v1/images:annotate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/AnnotateImageRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/AnnotateImageRequest.php
new file mode 100644
index 00000000..06d8673a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/AnnotateImageRequest.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_AnnotateImageRequest extends Google_Collection
+{
+ protected $collection_key = 'features';
+ protected $featuresType = 'Google_Service_Vision_Feature';
+ protected $featuresDataType = 'array';
+ protected $imageType = 'Google_Service_Vision_Image';
+ protected $imageDataType = '';
+ protected $imageContextType = 'Google_Service_Vision_ImageContext';
+ protected $imageContextDataType = '';
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+ public function setImage(Google_Service_Vision_Image $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setImageContext(Google_Service_Vision_ImageContext $imageContext)
+ {
+ $this->imageContext = $imageContext;
+ }
+ public function getImageContext()
+ {
+ return $this->imageContext;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/AnnotateImageResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/AnnotateImageResponse.php
new file mode 100644
index 00000000..6c9aa54c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/AnnotateImageResponse.php
@@ -0,0 +1,132 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_AnnotateImageResponse extends Google_Collection
+{
+ protected $collection_key = 'textAnnotations';
+ protected $cropHintsAnnotationType = 'Google_Service_Vision_CropHintsAnnotation';
+ protected $cropHintsAnnotationDataType = '';
+ protected $errorType = 'Google_Service_Vision_Status';
+ protected $errorDataType = '';
+ protected $faceAnnotationsType = 'Google_Service_Vision_FaceAnnotation';
+ protected $faceAnnotationsDataType = 'array';
+ protected $fullTextAnnotationType = 'Google_Service_Vision_TextAnnotation';
+ protected $fullTextAnnotationDataType = '';
+ protected $imagePropertiesAnnotationType = 'Google_Service_Vision_ImageProperties';
+ protected $imagePropertiesAnnotationDataType = '';
+ protected $labelAnnotationsType = 'Google_Service_Vision_EntityAnnotation';
+ protected $labelAnnotationsDataType = 'array';
+ protected $landmarkAnnotationsType = 'Google_Service_Vision_EntityAnnotation';
+ protected $landmarkAnnotationsDataType = 'array';
+ protected $logoAnnotationsType = 'Google_Service_Vision_EntityAnnotation';
+ protected $logoAnnotationsDataType = 'array';
+ protected $safeSearchAnnotationType = 'Google_Service_Vision_SafeSearchAnnotation';
+ protected $safeSearchAnnotationDataType = '';
+ protected $textAnnotationsType = 'Google_Service_Vision_EntityAnnotation';
+ protected $textAnnotationsDataType = 'array';
+ protected $webDetectionType = 'Google_Service_Vision_WebDetection';
+ protected $webDetectionDataType = '';
+
+ public function setCropHintsAnnotation(Google_Service_Vision_CropHintsAnnotation $cropHintsAnnotation)
+ {
+ $this->cropHintsAnnotation = $cropHintsAnnotation;
+ }
+ public function getCropHintsAnnotation()
+ {
+ return $this->cropHintsAnnotation;
+ }
+ public function setError(Google_Service_Vision_Status $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setFaceAnnotations($faceAnnotations)
+ {
+ $this->faceAnnotations = $faceAnnotations;
+ }
+ public function getFaceAnnotations()
+ {
+ return $this->faceAnnotations;
+ }
+ public function setFullTextAnnotation(Google_Service_Vision_TextAnnotation $fullTextAnnotation)
+ {
+ $this->fullTextAnnotation = $fullTextAnnotation;
+ }
+ public function getFullTextAnnotation()
+ {
+ return $this->fullTextAnnotation;
+ }
+ public function setImagePropertiesAnnotation(Google_Service_Vision_ImageProperties $imagePropertiesAnnotation)
+ {
+ $this->imagePropertiesAnnotation = $imagePropertiesAnnotation;
+ }
+ public function getImagePropertiesAnnotation()
+ {
+ return $this->imagePropertiesAnnotation;
+ }
+ public function setLabelAnnotations($labelAnnotations)
+ {
+ $this->labelAnnotations = $labelAnnotations;
+ }
+ public function getLabelAnnotations()
+ {
+ return $this->labelAnnotations;
+ }
+ public function setLandmarkAnnotations($landmarkAnnotations)
+ {
+ $this->landmarkAnnotations = $landmarkAnnotations;
+ }
+ public function getLandmarkAnnotations()
+ {
+ return $this->landmarkAnnotations;
+ }
+ public function setLogoAnnotations($logoAnnotations)
+ {
+ $this->logoAnnotations = $logoAnnotations;
+ }
+ public function getLogoAnnotations()
+ {
+ return $this->logoAnnotations;
+ }
+ public function setSafeSearchAnnotation(Google_Service_Vision_SafeSearchAnnotation $safeSearchAnnotation)
+ {
+ $this->safeSearchAnnotation = $safeSearchAnnotation;
+ }
+ public function getSafeSearchAnnotation()
+ {
+ return $this->safeSearchAnnotation;
+ }
+ public function setTextAnnotations($textAnnotations)
+ {
+ $this->textAnnotations = $textAnnotations;
+ }
+ public function getTextAnnotations()
+ {
+ return $this->textAnnotations;
+ }
+ public function setWebDetection(Google_Service_Vision_WebDetection $webDetection)
+ {
+ $this->webDetection = $webDetection;
+ }
+ public function getWebDetection()
+ {
+ return $this->webDetection;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BatchAnnotateImagesRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BatchAnnotateImagesRequest.php
new file mode 100644
index 00000000..2ad78a61
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BatchAnnotateImagesRequest.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_BatchAnnotateImagesRequest extends Google_Collection
+{
+ protected $collection_key = 'requests';
+ protected $requestsType = 'Google_Service_Vision_AnnotateImageRequest';
+ protected $requestsDataType = 'array';
+
+ public function setRequests($requests)
+ {
+ $this->requests = $requests;
+ }
+ public function getRequests()
+ {
+ return $this->requests;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BatchAnnotateImagesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BatchAnnotateImagesResponse.php
new file mode 100644
index 00000000..4a7f0222
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BatchAnnotateImagesResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_BatchAnnotateImagesResponse extends Google_Collection
+{
+ protected $collection_key = 'responses';
+ protected $responsesType = 'Google_Service_Vision_AnnotateImageResponse';
+ protected $responsesDataType = 'array';
+
+ public function setResponses($responses)
+ {
+ $this->responses = $responses;
+ }
+ public function getResponses()
+ {
+ return $this->responses;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Block.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Block.php
new file mode 100644
index 00000000..1935aac9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Block.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_Block extends Google_Collection
+{
+ protected $collection_key = 'paragraphs';
+ public $blockType;
+ protected $boundingBoxType = 'Google_Service_Vision_BoundingPoly';
+ protected $boundingBoxDataType = '';
+ protected $paragraphsType = 'Google_Service_Vision_Paragraph';
+ protected $paragraphsDataType = 'array';
+ protected $propertyType = 'Google_Service_Vision_TextProperty';
+ protected $propertyDataType = '';
+
+ public function setBlockType($blockType)
+ {
+ $this->blockType = $blockType;
+ }
+ public function getBlockType()
+ {
+ return $this->blockType;
+ }
+ public function setBoundingBox(Google_Service_Vision_BoundingPoly $boundingBox)
+ {
+ $this->boundingBox = $boundingBox;
+ }
+ public function getBoundingBox()
+ {
+ return $this->boundingBox;
+ }
+ public function setParagraphs($paragraphs)
+ {
+ $this->paragraphs = $paragraphs;
+ }
+ public function getParagraphs()
+ {
+ return $this->paragraphs;
+ }
+ public function setProperty(Google_Service_Vision_TextProperty $property)
+ {
+ $this->property = $property;
+ }
+ public function getProperty()
+ {
+ return $this->property;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BoundingPoly.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BoundingPoly.php
new file mode 100644
index 00000000..d987d617
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BoundingPoly.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_BoundingPoly extends Google_Collection
+{
+ protected $collection_key = 'vertices';
+ protected $verticesType = 'Google_Service_Vision_Vertex';
+ protected $verticesDataType = 'array';
+
+ public function setVertices($vertices)
+ {
+ $this->vertices = $vertices;
+ }
+ public function getVertices()
+ {
+ return $this->vertices;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Color.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Color.php
new file mode 100644
index 00000000..b65813bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Color.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_Color extends Google_Model
+{
+ public $alpha;
+ public $blue;
+ public $green;
+ public $red;
+
+ public function setAlpha($alpha)
+ {
+ $this->alpha = $alpha;
+ }
+ public function getAlpha()
+ {
+ return $this->alpha;
+ }
+ public function setBlue($blue)
+ {
+ $this->blue = $blue;
+ }
+ public function getBlue()
+ {
+ return $this->blue;
+ }
+ public function setGreen($green)
+ {
+ $this->green = $green;
+ }
+ public function getGreen()
+ {
+ return $this->green;
+ }
+ public function setRed($red)
+ {
+ $this->red = $red;
+ }
+ public function getRed()
+ {
+ return $this->red;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ColorInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ColorInfo.php
new file mode 100644
index 00000000..7add72d8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ColorInfo.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_ColorInfo extends Google_Model
+{
+ protected $colorType = 'Google_Service_Vision_Color';
+ protected $colorDataType = '';
+ public $pixelFraction;
+ public $score;
+
+ public function setColor(Google_Service_Vision_Color $color)
+ {
+ $this->color = $color;
+ }
+ public function getColor()
+ {
+ return $this->color;
+ }
+ public function setPixelFraction($pixelFraction)
+ {
+ $this->pixelFraction = $pixelFraction;
+ }
+ public function getPixelFraction()
+ {
+ return $this->pixelFraction;
+ }
+ public function setScore($score)
+ {
+ $this->score = $score;
+ }
+ public function getScore()
+ {
+ return $this->score;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHint.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHint.php
new file mode 100644
index 00000000..39bf9f09
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHint.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_CropHint extends Google_Model
+{
+ protected $boundingPolyType = 'Google_Service_Vision_BoundingPoly';
+ protected $boundingPolyDataType = '';
+ public $confidence;
+ public $importanceFraction;
+
+ public function setBoundingPoly(Google_Service_Vision_BoundingPoly $boundingPoly)
+ {
+ $this->boundingPoly = $boundingPoly;
+ }
+ public function getBoundingPoly()
+ {
+ return $this->boundingPoly;
+ }
+ public function setConfidence($confidence)
+ {
+ $this->confidence = $confidence;
+ }
+ public function getConfidence()
+ {
+ return $this->confidence;
+ }
+ public function setImportanceFraction($importanceFraction)
+ {
+ $this->importanceFraction = $importanceFraction;
+ }
+ public function getImportanceFraction()
+ {
+ return $this->importanceFraction;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHintsAnnotation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHintsAnnotation.php
new file mode 100644
index 00000000..2d3167b9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHintsAnnotation.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_CropHintsAnnotation extends Google_Collection
+{
+ protected $collection_key = 'cropHints';
+ protected $cropHintsType = 'Google_Service_Vision_CropHint';
+ protected $cropHintsDataType = 'array';
+
+ public function setCropHints($cropHints)
+ {
+ $this->cropHints = $cropHints;
+ }
+ public function getCropHints()
+ {
+ return $this->cropHints;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHintsParams.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHintsParams.php
new file mode 100644
index 00000000..92844265
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHintsParams.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_CropHintsParams extends Google_Collection
+{
+ protected $collection_key = 'aspectRatios';
+ public $aspectRatios;
+
+ public function setAspectRatios($aspectRatios)
+ {
+ $this->aspectRatios = $aspectRatios;
+ }
+ public function getAspectRatios()
+ {
+ return $this->aspectRatios;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DetectedBreak.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DetectedBreak.php
new file mode 100644
index 00000000..8dae7df7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DetectedBreak.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_DetectedBreak extends Google_Model
+{
+ public $isPrefix;
+ public $type;
+
+ public function setIsPrefix($isPrefix)
+ {
+ $this->isPrefix = $isPrefix;
+ }
+ public function getIsPrefix()
+ {
+ return $this->isPrefix;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DetectedLanguage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DetectedLanguage.php
new file mode 100644
index 00000000..024ed967
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DetectedLanguage.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_DetectedLanguage extends Google_Model
+{
+ public $confidence;
+ public $languageCode;
+
+ public function setConfidence($confidence)
+ {
+ $this->confidence = $confidence;
+ }
+ public function getConfidence()
+ {
+ return $this->confidence;
+ }
+ public function setLanguageCode($languageCode)
+ {
+ $this->languageCode = $languageCode;
+ }
+ public function getLanguageCode()
+ {
+ return $this->languageCode;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DominantColorsAnnotation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DominantColorsAnnotation.php
new file mode 100644
index 00000000..6e7d803b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DominantColorsAnnotation.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_DominantColorsAnnotation extends Google_Collection
+{
+ protected $collection_key = 'colors';
+ protected $colorsType = 'Google_Service_Vision_ColorInfo';
+ protected $colorsDataType = 'array';
+
+ public function setColors($colors)
+ {
+ $this->colors = $colors;
+ }
+ public function getColors()
+ {
+ return $this->colors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/EntityAnnotation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/EntityAnnotation.php
new file mode 100644
index 00000000..19512918
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/EntityAnnotation.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_EntityAnnotation extends Google_Collection
+{
+ protected $collection_key = 'properties';
+ protected $boundingPolyType = 'Google_Service_Vision_BoundingPoly';
+ protected $boundingPolyDataType = '';
+ public $confidence;
+ public $description;
+ public $locale;
+ protected $locationsType = 'Google_Service_Vision_LocationInfo';
+ protected $locationsDataType = 'array';
+ public $mid;
+ protected $propertiesType = 'Google_Service_Vision_Property';
+ protected $propertiesDataType = 'array';
+ public $score;
+ public $topicality;
+
+ public function setBoundingPoly(Google_Service_Vision_BoundingPoly $boundingPoly)
+ {
+ $this->boundingPoly = $boundingPoly;
+ }
+ public function getBoundingPoly()
+ {
+ return $this->boundingPoly;
+ }
+ public function setConfidence($confidence)
+ {
+ $this->confidence = $confidence;
+ }
+ public function getConfidence()
+ {
+ return $this->confidence;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setLocale($locale)
+ {
+ $this->locale = $locale;
+ }
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+ public function setLocations($locations)
+ {
+ $this->locations = $locations;
+ }
+ public function getLocations()
+ {
+ return $this->locations;
+ }
+ public function setMid($mid)
+ {
+ $this->mid = $mid;
+ }
+ public function getMid()
+ {
+ return $this->mid;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+ public function setScore($score)
+ {
+ $this->score = $score;
+ }
+ public function getScore()
+ {
+ return $this->score;
+ }
+ public function setTopicality($topicality)
+ {
+ $this->topicality = $topicality;
+ }
+ public function getTopicality()
+ {
+ return $this->topicality;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/FaceAnnotation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/FaceAnnotation.php
new file mode 100644
index 00000000..7a28066b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/FaceAnnotation.php
@@ -0,0 +1,160 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_FaceAnnotation extends Google_Collection
+{
+ protected $collection_key = 'landmarks';
+ public $angerLikelihood;
+ public $blurredLikelihood;
+ protected $boundingPolyType = 'Google_Service_Vision_BoundingPoly';
+ protected $boundingPolyDataType = '';
+ public $detectionConfidence;
+ protected $fdBoundingPolyType = 'Google_Service_Vision_BoundingPoly';
+ protected $fdBoundingPolyDataType = '';
+ public $headwearLikelihood;
+ public $joyLikelihood;
+ public $landmarkingConfidence;
+ protected $landmarksType = 'Google_Service_Vision_Landmark';
+ protected $landmarksDataType = 'array';
+ public $panAngle;
+ public $rollAngle;
+ public $sorrowLikelihood;
+ public $surpriseLikelihood;
+ public $tiltAngle;
+ public $underExposedLikelihood;
+
+ public function setAngerLikelihood($angerLikelihood)
+ {
+ $this->angerLikelihood = $angerLikelihood;
+ }
+ public function getAngerLikelihood()
+ {
+ return $this->angerLikelihood;
+ }
+ public function setBlurredLikelihood($blurredLikelihood)
+ {
+ $this->blurredLikelihood = $blurredLikelihood;
+ }
+ public function getBlurredLikelihood()
+ {
+ return $this->blurredLikelihood;
+ }
+ public function setBoundingPoly(Google_Service_Vision_BoundingPoly $boundingPoly)
+ {
+ $this->boundingPoly = $boundingPoly;
+ }
+ public function getBoundingPoly()
+ {
+ return $this->boundingPoly;
+ }
+ public function setDetectionConfidence($detectionConfidence)
+ {
+ $this->detectionConfidence = $detectionConfidence;
+ }
+ public function getDetectionConfidence()
+ {
+ return $this->detectionConfidence;
+ }
+ public function setFdBoundingPoly(Google_Service_Vision_BoundingPoly $fdBoundingPoly)
+ {
+ $this->fdBoundingPoly = $fdBoundingPoly;
+ }
+ public function getFdBoundingPoly()
+ {
+ return $this->fdBoundingPoly;
+ }
+ public function setHeadwearLikelihood($headwearLikelihood)
+ {
+ $this->headwearLikelihood = $headwearLikelihood;
+ }
+ public function getHeadwearLikelihood()
+ {
+ return $this->headwearLikelihood;
+ }
+ public function setJoyLikelihood($joyLikelihood)
+ {
+ $this->joyLikelihood = $joyLikelihood;
+ }
+ public function getJoyLikelihood()
+ {
+ return $this->joyLikelihood;
+ }
+ public function setLandmarkingConfidence($landmarkingConfidence)
+ {
+ $this->landmarkingConfidence = $landmarkingConfidence;
+ }
+ public function getLandmarkingConfidence()
+ {
+ return $this->landmarkingConfidence;
+ }
+ public function setLandmarks($landmarks)
+ {
+ $this->landmarks = $landmarks;
+ }
+ public function getLandmarks()
+ {
+ return $this->landmarks;
+ }
+ public function setPanAngle($panAngle)
+ {
+ $this->panAngle = $panAngle;
+ }
+ public function getPanAngle()
+ {
+ return $this->panAngle;
+ }
+ public function setRollAngle($rollAngle)
+ {
+ $this->rollAngle = $rollAngle;
+ }
+ public function getRollAngle()
+ {
+ return $this->rollAngle;
+ }
+ public function setSorrowLikelihood($sorrowLikelihood)
+ {
+ $this->sorrowLikelihood = $sorrowLikelihood;
+ }
+ public function getSorrowLikelihood()
+ {
+ return $this->sorrowLikelihood;
+ }
+ public function setSurpriseLikelihood($surpriseLikelihood)
+ {
+ $this->surpriseLikelihood = $surpriseLikelihood;
+ }
+ public function getSurpriseLikelihood()
+ {
+ return $this->surpriseLikelihood;
+ }
+ public function setTiltAngle($tiltAngle)
+ {
+ $this->tiltAngle = $tiltAngle;
+ }
+ public function getTiltAngle()
+ {
+ return $this->tiltAngle;
+ }
+ public function setUnderExposedLikelihood($underExposedLikelihood)
+ {
+ $this->underExposedLikelihood = $underExposedLikelihood;
+ }
+ public function getUnderExposedLikelihood()
+ {
+ return $this->underExposedLikelihood;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Feature.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Feature.php
new file mode 100644
index 00000000..5e65b0fb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Feature.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_Feature extends Google_Model
+{
+ public $maxResults;
+ public $type;
+
+ public function setMaxResults($maxResults)
+ {
+ $this->maxResults = $maxResults;
+ }
+ public function getMaxResults()
+ {
+ return $this->maxResults;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Image.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Image.php
new file mode 100644
index 00000000..60ed158a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Image.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_Image extends Google_Model
+{
+ public $content;
+ protected $sourceType = 'Google_Service_Vision_ImageSource';
+ protected $sourceDataType = '';
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setSource(Google_Service_Vision_ImageSource $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageContext.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageContext.php
new file mode 100644
index 00000000..1949b904
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageContext.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_ImageContext extends Google_Collection
+{
+ protected $collection_key = 'languageHints';
+ protected $cropHintsParamsType = 'Google_Service_Vision_CropHintsParams';
+ protected $cropHintsParamsDataType = '';
+ public $languageHints;
+ protected $latLongRectType = 'Google_Service_Vision_LatLongRect';
+ protected $latLongRectDataType = '';
+
+ public function setCropHintsParams(Google_Service_Vision_CropHintsParams $cropHintsParams)
+ {
+ $this->cropHintsParams = $cropHintsParams;
+ }
+ public function getCropHintsParams()
+ {
+ return $this->cropHintsParams;
+ }
+ public function setLanguageHints($languageHints)
+ {
+ $this->languageHints = $languageHints;
+ }
+ public function getLanguageHints()
+ {
+ return $this->languageHints;
+ }
+ public function setLatLongRect(Google_Service_Vision_LatLongRect $latLongRect)
+ {
+ $this->latLongRect = $latLongRect;
+ }
+ public function getLatLongRect()
+ {
+ return $this->latLongRect;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageProperties.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageProperties.php
new file mode 100644
index 00000000..9b6f1ba2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageProperties.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_ImageProperties extends Google_Model
+{
+ protected $dominantColorsType = 'Google_Service_Vision_DominantColorsAnnotation';
+ protected $dominantColorsDataType = '';
+
+ public function setDominantColors(Google_Service_Vision_DominantColorsAnnotation $dominantColors)
+ {
+ $this->dominantColors = $dominantColors;
+ }
+ public function getDominantColors()
+ {
+ return $this->dominantColors;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageSource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageSource.php
new file mode 100644
index 00000000..5d9de3c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageSource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_ImageSource extends Google_Model
+{
+ public $gcsImageUri;
+ public $imageUri;
+
+ public function setGcsImageUri($gcsImageUri)
+ {
+ $this->gcsImageUri = $gcsImageUri;
+ }
+ public function getGcsImageUri()
+ {
+ return $this->gcsImageUri;
+ }
+ public function setImageUri($imageUri)
+ {
+ $this->imageUri = $imageUri;
+ }
+ public function getImageUri()
+ {
+ return $this->imageUri;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Landmark.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Landmark.php
new file mode 100644
index 00000000..b16eb51b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Landmark.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_Landmark extends Google_Model
+{
+ protected $positionType = 'Google_Service_Vision_Position';
+ protected $positionDataType = '';
+ public $type;
+
+ public function setPosition(Google_Service_Vision_Position $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LatLng.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LatLng.php
new file mode 100644
index 00000000..06911233
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LatLng.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_LatLng extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LatLongRect.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LatLongRect.php
new file mode 100644
index 00000000..f9544a85
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LatLongRect.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_LatLongRect extends Google_Model
+{
+ protected $maxLatLngType = 'Google_Service_Vision_LatLng';
+ protected $maxLatLngDataType = '';
+ protected $minLatLngType = 'Google_Service_Vision_LatLng';
+ protected $minLatLngDataType = '';
+
+ public function setMaxLatLng(Google_Service_Vision_LatLng $maxLatLng)
+ {
+ $this->maxLatLng = $maxLatLng;
+ }
+ public function getMaxLatLng()
+ {
+ return $this->maxLatLng;
+ }
+ public function setMinLatLng(Google_Service_Vision_LatLng $minLatLng)
+ {
+ $this->minLatLng = $minLatLng;
+ }
+ public function getMinLatLng()
+ {
+ return $this->minLatLng;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LocationInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LocationInfo.php
new file mode 100644
index 00000000..1fb3fca9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LocationInfo.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_LocationInfo extends Google_Model
+{
+ protected $latLngType = 'Google_Service_Vision_LatLng';
+ protected $latLngDataType = '';
+
+ public function setLatLng(Google_Service_Vision_LatLng $latLng)
+ {
+ $this->latLng = $latLng;
+ }
+ public function getLatLng()
+ {
+ return $this->latLng;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Page.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Page.php
new file mode 100644
index 00000000..ccb0c2f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Page.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_Page extends Google_Collection
+{
+ protected $collection_key = 'blocks';
+ protected $blocksType = 'Google_Service_Vision_Block';
+ protected $blocksDataType = 'array';
+ public $height;
+ protected $propertyType = 'Google_Service_Vision_TextProperty';
+ protected $propertyDataType = '';
+ public $width;
+
+ public function setBlocks($blocks)
+ {
+ $this->blocks = $blocks;
+ }
+ public function getBlocks()
+ {
+ return $this->blocks;
+ }
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setProperty(Google_Service_Vision_TextProperty $property)
+ {
+ $this->property = $property;
+ }
+ public function getProperty()
+ {
+ return $this->property;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Paragraph.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Paragraph.php
new file mode 100644
index 00000000..e045ebf6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Paragraph.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_Paragraph extends Google_Collection
+{
+ protected $collection_key = 'words';
+ protected $boundingBoxType = 'Google_Service_Vision_BoundingPoly';
+ protected $boundingBoxDataType = '';
+ protected $propertyType = 'Google_Service_Vision_TextProperty';
+ protected $propertyDataType = '';
+ protected $wordsType = 'Google_Service_Vision_Word';
+ protected $wordsDataType = 'array';
+
+ public function setBoundingBox(Google_Service_Vision_BoundingPoly $boundingBox)
+ {
+ $this->boundingBox = $boundingBox;
+ }
+ public function getBoundingBox()
+ {
+ return $this->boundingBox;
+ }
+ public function setProperty(Google_Service_Vision_TextProperty $property)
+ {
+ $this->property = $property;
+ }
+ public function getProperty()
+ {
+ return $this->property;
+ }
+ public function setWords($words)
+ {
+ $this->words = $words;
+ }
+ public function getWords()
+ {
+ return $this->words;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Position.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Position.php
new file mode 100644
index 00000000..c362b1e7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Position.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_Position extends Google_Model
+{
+ public $x;
+ public $y;
+ public $z;
+
+ public function setX($x)
+ {
+ $this->x = $x;
+ }
+ public function getX()
+ {
+ return $this->x;
+ }
+ public function setY($y)
+ {
+ $this->y = $y;
+ }
+ public function getY()
+ {
+ return $this->y;
+ }
+ public function setZ($z)
+ {
+ $this->z = $z;
+ }
+ public function getZ()
+ {
+ return $this->z;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Property.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Property.php
new file mode 100644
index 00000000..074a7051
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Property.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_Property extends Google_Model
+{
+ public $name;
+ public $uint64Value;
+ public $value;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setUint64Value($uint64Value)
+ {
+ $this->uint64Value = $uint64Value;
+ }
+ public function getUint64Value()
+ {
+ return $this->uint64Value;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Resource/Images.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Resource/Images.php
new file mode 100644
index 00000000..0da6915e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Resource/Images.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "images" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $visionService = new Google_Service_Vision(...);
+ * $images = $visionService->images;
+ * </code>
+ */
+class Google_Service_Vision_Resource_Images extends Google_Service_Resource
+{
+ /**
+ * Run image detection and annotation for a batch of images. (images.annotate)
+ *
+ * @param Google_Service_Vision_BatchAnnotateImagesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Vision_BatchAnnotateImagesResponse
+ */
+ public function annotate(Google_Service_Vision_BatchAnnotateImagesRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('annotate', array($params), "Google_Service_Vision_BatchAnnotateImagesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/SafeSearchAnnotation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/SafeSearchAnnotation.php
new file mode 100644
index 00000000..f945252a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/SafeSearchAnnotation.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_SafeSearchAnnotation extends Google_Model
+{
+ public $adult;
+ public $medical;
+ public $spoof;
+ public $violence;
+
+ public function setAdult($adult)
+ {
+ $this->adult = $adult;
+ }
+ public function getAdult()
+ {
+ return $this->adult;
+ }
+ public function setMedical($medical)
+ {
+ $this->medical = $medical;
+ }
+ public function getMedical()
+ {
+ return $this->medical;
+ }
+ public function setSpoof($spoof)
+ {
+ $this->spoof = $spoof;
+ }
+ public function getSpoof()
+ {
+ return $this->spoof;
+ }
+ public function setViolence($violence)
+ {
+ $this->violence = $violence;
+ }
+ public function getViolence()
+ {
+ return $this->violence;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Status.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Status.php
new file mode 100644
index 00000000..d82689fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Status.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ public $code;
+ public $details;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Symbol.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Symbol.php
new file mode 100644
index 00000000..0f455035
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Symbol.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_Symbol extends Google_Model
+{
+ protected $boundingBoxType = 'Google_Service_Vision_BoundingPoly';
+ protected $boundingBoxDataType = '';
+ protected $propertyType = 'Google_Service_Vision_TextProperty';
+ protected $propertyDataType = '';
+ public $text;
+
+ public function setBoundingBox(Google_Service_Vision_BoundingPoly $boundingBox)
+ {
+ $this->boundingBox = $boundingBox;
+ }
+ public function getBoundingBox()
+ {
+ return $this->boundingBox;
+ }
+ public function setProperty(Google_Service_Vision_TextProperty $property)
+ {
+ $this->property = $property;
+ }
+ public function getProperty()
+ {
+ return $this->property;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/TextAnnotation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/TextAnnotation.php
new file mode 100644
index 00000000..4e8fc461
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/TextAnnotation.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_TextAnnotation extends Google_Collection
+{
+ protected $collection_key = 'pages';
+ protected $pagesType = 'Google_Service_Vision_Page';
+ protected $pagesDataType = 'array';
+ public $text;
+
+ public function setPages($pages)
+ {
+ $this->pages = $pages;
+ }
+ public function getPages()
+ {
+ return $this->pages;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/TextProperty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/TextProperty.php
new file mode 100644
index 00000000..0e259339
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/TextProperty.php
@@ -0,0 +1,42 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_TextProperty extends Google_Collection
+{
+ protected $collection_key = 'detectedLanguages';
+ protected $detectedBreakType = 'Google_Service_Vision_DetectedBreak';
+ protected $detectedBreakDataType = '';
+ protected $detectedLanguagesType = 'Google_Service_Vision_DetectedLanguage';
+ protected $detectedLanguagesDataType = 'array';
+
+ public function setDetectedBreak(Google_Service_Vision_DetectedBreak $detectedBreak)
+ {
+ $this->detectedBreak = $detectedBreak;
+ }
+ public function getDetectedBreak()
+ {
+ return $this->detectedBreak;
+ }
+ public function setDetectedLanguages($detectedLanguages)
+ {
+ $this->detectedLanguages = $detectedLanguages;
+ }
+ public function getDetectedLanguages()
+ {
+ return $this->detectedLanguages;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Vertex.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Vertex.php
new file mode 100644
index 00000000..3c03e088
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Vertex.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_Vertex extends Google_Model
+{
+ public $x;
+ public $y;
+
+ public function setX($x)
+ {
+ $this->x = $x;
+ }
+ public function getX()
+ {
+ return $this->x;
+ }
+ public function setY($y)
+ {
+ $this->y = $y;
+ }
+ public function getY()
+ {
+ return $this->y;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebDetection.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebDetection.php
new file mode 100644
index 00000000..326c040f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebDetection.php
@@ -0,0 +1,62 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_WebDetection extends Google_Collection
+{
+ protected $collection_key = 'webEntities';
+ protected $fullMatchingImagesType = 'Google_Service_Vision_WebImage';
+ protected $fullMatchingImagesDataType = 'array';
+ protected $pagesWithMatchingImagesType = 'Google_Service_Vision_WebPage';
+ protected $pagesWithMatchingImagesDataType = 'array';
+ protected $partialMatchingImagesType = 'Google_Service_Vision_WebImage';
+ protected $partialMatchingImagesDataType = 'array';
+ protected $webEntitiesType = 'Google_Service_Vision_WebEntity';
+ protected $webEntitiesDataType = 'array';
+
+ public function setFullMatchingImages($fullMatchingImages)
+ {
+ $this->fullMatchingImages = $fullMatchingImages;
+ }
+ public function getFullMatchingImages()
+ {
+ return $this->fullMatchingImages;
+ }
+ public function setPagesWithMatchingImages($pagesWithMatchingImages)
+ {
+ $this->pagesWithMatchingImages = $pagesWithMatchingImages;
+ }
+ public function getPagesWithMatchingImages()
+ {
+ return $this->pagesWithMatchingImages;
+ }
+ public function setPartialMatchingImages($partialMatchingImages)
+ {
+ $this->partialMatchingImages = $partialMatchingImages;
+ }
+ public function getPartialMatchingImages()
+ {
+ return $this->partialMatchingImages;
+ }
+ public function setWebEntities($webEntities)
+ {
+ $this->webEntities = $webEntities;
+ }
+ public function getWebEntities()
+ {
+ return $this->webEntities;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebEntity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebEntity.php
new file mode 100644
index 00000000..fa425fdb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebEntity.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_WebEntity extends Google_Model
+{
+ public $description;
+ public $entityId;
+ public $score;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEntityId($entityId)
+ {
+ $this->entityId = $entityId;
+ }
+ public function getEntityId()
+ {
+ return $this->entityId;
+ }
+ public function setScore($score)
+ {
+ $this->score = $score;
+ }
+ public function getScore()
+ {
+ return $this->score;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebImage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebImage.php
new file mode 100644
index 00000000..a5d06e2c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebImage.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_WebImage extends Google_Model
+{
+ public $score;
+ public $url;
+
+ public function setScore($score)
+ {
+ $this->score = $score;
+ }
+ public function getScore()
+ {
+ return $this->score;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebPage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebPage.php
new file mode 100644
index 00000000..7187e0d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebPage.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_WebPage extends Google_Model
+{
+ public $score;
+ public $url;
+
+ public function setScore($score)
+ {
+ $this->score = $score;
+ }
+ public function getScore()
+ {
+ return $this->score;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Word.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Word.php
new file mode 100644
index 00000000..e688655f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Word.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Vision_Word extends Google_Collection
+{
+ protected $collection_key = 'symbols';
+ protected $boundingBoxType = 'Google_Service_Vision_BoundingPoly';
+ protected $boundingBoxDataType = '';
+ protected $propertyType = 'Google_Service_Vision_TextProperty';
+ protected $propertyDataType = '';
+ protected $symbolsType = 'Google_Service_Vision_Symbol';
+ protected $symbolsDataType = 'array';
+
+ public function setBoundingBox(Google_Service_Vision_BoundingPoly $boundingBox)
+ {
+ $this->boundingBox = $boundingBox;
+ }
+ public function getBoundingBox()
+ {
+ return $this->boundingBox;
+ }
+ public function setProperty(Google_Service_Vision_TextProperty $property)
+ {
+ $this->property = $property;
+ }
+ public function getProperty()
+ {
+ return $this->property;
+ }
+ public function setSymbols($symbols)
+ {
+ $this->symbols = $symbols;
+ }
+ public function getSymbols()
+ {
+ return $this->symbols;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts.php
new file mode 100644
index 00000000..282c9ace
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts.php
@@ -0,0 +1,72 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Accesses the metadata for all families served by Google Fonts, providing a
+ * list of families currently available (including available styles and a list
+ * of supported script subsets).</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 Google_Service_Webfonts extends Google_Service
+{
+
+
+ public $webfonts;
+
+ /**
+ * Constructs the internal representation of the Webfonts service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'webfonts/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'webfonts';
+
+ $this->webfonts = new Google_Service_Webfonts_Resource_Webfonts(
+ $this,
+ $this->serviceName,
+ 'webfonts',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'webfonts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/Resource/Webfonts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/Resource/Webfonts.php
new file mode 100644
index 00000000..e13afa3f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/Resource/Webfonts.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "webfonts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $webfontsService = new Google_Service_Webfonts(...);
+ * $webfonts = $webfontsService->webfonts;
+ * </code>
+ */
+class Google_Service_Webfonts_Resource_Webfonts extends 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 Google_Service_Webfonts_WebfontList
+ */
+ public function listWebfonts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Webfonts_WebfontList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/Webfont.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/Webfont.php
new file mode 100644
index 00000000..3168302b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/Webfont.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webfonts_Webfont extends Google_Collection
+{
+ protected $collection_key = 'variants';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/WebfontList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/WebfontList.php
new file mode 100644
index 00000000..59e5b684
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/WebfontList.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webfonts_WebfontList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = '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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters.php
new file mode 100644
index 00000000..936b48a0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters.php
@@ -0,0 +1,305 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * View Google Search Console data for your verified sites.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/webmaster-tools/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Webmasters extends Google_Service
+{
+ /** View and manage Search Console data for your verified sites. */
+ const WEBMASTERS =
+ "https://www.googleapis.com/auth/webmasters";
+ /** View Search Console data for your verified sites. */
+ const WEBMASTERS_READONLY =
+ "https://www.googleapis.com/auth/webmasters.readonly";
+
+ public $searchanalytics;
+ public $sitemaps;
+ public $sites;
+ public $urlcrawlerrorscounts;
+ public $urlcrawlerrorssamples;
+
+ /**
+ * Constructs the internal representation of the Webmasters service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'webmasters/v3/';
+ $this->version = 'v3';
+ $this->serviceName = 'webmasters';
+
+ $this->searchanalytics = new Google_Service_Webmasters_Resource_Searchanalytics(
+ $this,
+ $this->serviceName,
+ 'searchanalytics',
+ array(
+ 'methods' => array(
+ 'query' => array(
+ 'path' => 'sites/{siteUrl}/searchAnalytics/query',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'siteUrl' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->sitemaps = new Google_Service_Webmasters_Resource_Sitemaps(
+ $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 Google_Service_Webmasters_Resource_Sites(
+ $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 Google_Service_Webmasters_Resource_Urlcrawlerrorscounts(
+ $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',
+ ),
+ 'latestCountsOnly' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'platform' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->urlcrawlerrorssamples = new Google_Service_Webmasters_Resource_Urlcrawlerrorssamples(
+ $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,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDataRow.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDataRow.php
new file mode 100644
index 00000000..869b76c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDataRow.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webmasters_ApiDataRow extends Google_Collection
+{
+ protected $collection_key = 'keys';
+ public $clicks;
+ public $ctr;
+ public $impressions;
+ public $keys;
+ public $position;
+
+ public function setClicks($clicks)
+ {
+ $this->clicks = $clicks;
+ }
+ public function getClicks()
+ {
+ return $this->clicks;
+ }
+ public function setCtr($ctr)
+ {
+ $this->ctr = $ctr;
+ }
+ public function getCtr()
+ {
+ return $this->ctr;
+ }
+ public function setImpressions($impressions)
+ {
+ $this->impressions = $impressions;
+ }
+ public function getImpressions()
+ {
+ return $this->impressions;
+ }
+ public function setKeys($keys)
+ {
+ $this->keys = $keys;
+ }
+ public function getKeys()
+ {
+ return $this->keys;
+ }
+ public function setPosition($position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDimensionFilter.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDimensionFilter.php
new file mode 100644
index 00000000..49e83645
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDimensionFilter.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webmasters_ApiDimensionFilter extends Google_Model
+{
+ public $dimension;
+ public $expression;
+ public $operator;
+
+ public function setDimension($dimension)
+ {
+ $this->dimension = $dimension;
+ }
+ public function getDimension()
+ {
+ return $this->dimension;
+ }
+ public function setExpression($expression)
+ {
+ $this->expression = $expression;
+ }
+ public function getExpression()
+ {
+ return $this->expression;
+ }
+ public function setOperator($operator)
+ {
+ $this->operator = $operator;
+ }
+ public function getOperator()
+ {
+ return $this->operator;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDimensionFilterGroup.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDimensionFilterGroup.php
new file mode 100644
index 00000000..1b18a888
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDimensionFilterGroup.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webmasters_ApiDimensionFilterGroup extends Google_Collection
+{
+ protected $collection_key = 'filters';
+ protected $filtersType = 'Google_Service_Webmasters_ApiDimensionFilter';
+ protected $filtersDataType = 'array';
+ public $groupType;
+
+ public function setFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+ public function setGroupType($groupType)
+ {
+ $this->groupType = $groupType;
+ }
+ public function getGroupType()
+ {
+ return $this->groupType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Searchanalytics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Searchanalytics.php
new file mode 100644
index 00000000..865a404a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Searchanalytics.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "searchanalytics" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $webmastersService = new Google_Service_Webmasters(...);
+ * $searchanalytics = $webmastersService->searchanalytics;
+ * </code>
+ */
+class Google_Service_Webmasters_Resource_Searchanalytics extends Google_Service_Resource
+{
+ /**
+ * Query your data with filters and parameters that you define. Returns zero or
+ * more rows grouped by the row keys that you define. You must define a date
+ * range of one or more days.
+ *
+ * When date is one of the group by values, any days without data are omitted
+ * from the result list. If you need to know which days have data, issue a broad
+ * date range query grouped by date for any metric, and see which day rows are
+ * returned. (searchanalytics.query)
+ *
+ * @param string $siteUrl The site's URL, including protocol. For example:
+ * http://www.example.com/
+ * @param Google_Service_Webmasters_SearchAnalyticsQueryRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Webmasters_SearchAnalyticsQueryResponse
+ */
+ public function query($siteUrl, Google_Service_Webmasters_SearchAnalyticsQueryRequest $postBody, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('query', array($params), "Google_Service_Webmasters_SearchAnalyticsQueryResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Sitemaps.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Sitemaps.php
new file mode 100644
index 00000000..b0e69fdf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Sitemaps.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "sitemaps" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $webmastersService = new Google_Service_Webmasters(...);
+ * $sitemaps = $webmastersService->sitemaps;
+ * </code>
+ */
+class Google_Service_Webmasters_Resource_Sitemaps extends 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 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), "Google_Service_Webmasters_WmxSitemap");
+ }
+ /**
+ * Lists the sitemaps-entries submitted for this site, or included in the
+ * sitemap index file (if sitemapIndex is specified in the request).
+ * (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. For example:
+ * http://www.example.com/sitemapindex.xml
+ * @return 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), "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. For example:
+ * http://www.example.com/sitemap.xml
+ * @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));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Sites.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Sites.php
new file mode 100644
index 00000000..7af6cc72
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Sites.php
@@ -0,0 +1,80 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "sites" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $webmastersService = new Google_Service_Webmasters(...);
+ * $sites = $webmastersService->sites;
+ * </code>
+ */
+class Google_Service_Webmasters_Resource_Sites extends Google_Service_Resource
+{
+ /**
+ * Adds a site to the set of the user's sites in Search Console. (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 Search Console sites.
+ * (sites.delete)
+ *
+ * @param string $siteUrl The URI of the property as defined in Search Console.
+ * Examples: http://www.example.com/ or android-app://com.example/
+ * @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 URI of the property as defined in Search Console.
+ * Examples: http://www.example.com/ or android-app://com.example/
+ * @param array $optParams Optional parameters.
+ * @return 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), "Google_Service_Webmasters_WmxSite");
+ }
+ /**
+ * Lists the user's Search Console sites. (sites.listSites)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Webmasters_SitesListResponse
+ */
+ public function listSites($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Webmasters_SitesListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Urlcrawlerrorscounts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Urlcrawlerrorscounts.php
new file mode 100644
index 00000000..c86bd72d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Urlcrawlerrorscounts.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "urlcrawlerrorscounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $webmastersService = new Google_Service_Webmasters(...);
+ * $urlcrawlerrorscounts = $webmastersService->urlcrawlerrorscounts;
+ * </code>
+ */
+class Google_Service_Webmasters_Resource_Urlcrawlerrorscounts extends 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, returns results for all categories.
+ * @opt_param bool latestCountsOnly If true, returns only the latest crawl error
+ * counts.
+ * @opt_param string platform The user agent type (platform) that made the
+ * request. For example: web. If not specified, returns results for all
+ * platforms.
+ * @return 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), "Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Urlcrawlerrorssamples.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Urlcrawlerrorssamples.php
new file mode 100644
index 00000000..647656d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Urlcrawlerrorssamples.php
@@ -0,0 +1,92 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "urlcrawlerrorssamples" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $webmastersService = new Google_Service_Webmasters(...);
+ * $urlcrawlerrorssamples = $webmastersService->urlcrawlerrorssamples;
+ * </code>
+ */
+class Google_Service_Webmasters_Resource_Urlcrawlerrorssamples extends 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. It
+ * must be one of the URLs returned by list(). For example, for the URL
+ * https://www.example.com/pagename on the site https://www.example.com/, the
+ * url value is pagename
+ * @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 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), "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 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), "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. It
+ * must be one of the URLs returned by list(). For example, for the URL
+ * https://www.example.com/pagename on the site https://www.example.com/, the
+ * url value is pagename
+ * @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));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SearchAnalyticsQueryRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SearchAnalyticsQueryRequest.php
new file mode 100644
index 00000000..2f12765a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SearchAnalyticsQueryRequest.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webmasters_SearchAnalyticsQueryRequest extends Google_Collection
+{
+ protected $collection_key = 'dimensions';
+ public $aggregationType;
+ protected $dimensionFilterGroupsType = 'Google_Service_Webmasters_ApiDimensionFilterGroup';
+ protected $dimensionFilterGroupsDataType = 'array';
+ public $dimensions;
+ public $endDate;
+ public $rowLimit;
+ public $searchType;
+ public $startDate;
+ public $startRow;
+
+ public function setAggregationType($aggregationType)
+ {
+ $this->aggregationType = $aggregationType;
+ }
+ public function getAggregationType()
+ {
+ return $this->aggregationType;
+ }
+ public function setDimensionFilterGroups($dimensionFilterGroups)
+ {
+ $this->dimensionFilterGroups = $dimensionFilterGroups;
+ }
+ public function getDimensionFilterGroups()
+ {
+ return $this->dimensionFilterGroups;
+ }
+ 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 setRowLimit($rowLimit)
+ {
+ $this->rowLimit = $rowLimit;
+ }
+ public function getRowLimit()
+ {
+ return $this->rowLimit;
+ }
+ public function setSearchType($searchType)
+ {
+ $this->searchType = $searchType;
+ }
+ public function getSearchType()
+ {
+ return $this->searchType;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setStartRow($startRow)
+ {
+ $this->startRow = $startRow;
+ }
+ public function getStartRow()
+ {
+ return $this->startRow;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SearchAnalyticsQueryResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SearchAnalyticsQueryResponse.php
new file mode 100644
index 00000000..1674d175
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SearchAnalyticsQueryResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webmasters_SearchAnalyticsQueryResponse extends Google_Collection
+{
+ protected $collection_key = 'rows';
+ public $responseAggregationType;
+ protected $rowsType = 'Google_Service_Webmasters_ApiDataRow';
+ protected $rowsDataType = 'array';
+
+ public function setResponseAggregationType($responseAggregationType)
+ {
+ $this->responseAggregationType = $responseAggregationType;
+ }
+ public function getResponseAggregationType()
+ {
+ return $this->responseAggregationType;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SitemapsListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SitemapsListResponse.php
new file mode 100644
index 00000000..c458f576
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SitemapsListResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webmasters_SitemapsListResponse extends Google_Collection
+{
+ protected $collection_key = 'sitemap';
+ protected $sitemapType = 'Google_Service_Webmasters_WmxSitemap';
+ protected $sitemapDataType = 'array';
+
+ public function setSitemap($sitemap)
+ {
+ $this->sitemap = $sitemap;
+ }
+ public function getSitemap()
+ {
+ return $this->sitemap;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SitesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SitesListResponse.php
new file mode 100644
index 00000000..52fdc667
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SitesListResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webmasters_SitesListResponse extends Google_Collection
+{
+ protected $collection_key = 'siteEntry';
+ protected $siteEntryType = 'Google_Service_Webmasters_WmxSite';
+ protected $siteEntryDataType = 'array';
+
+ public function setSiteEntry($siteEntry)
+ {
+ $this->siteEntry = $siteEntry;
+ }
+ public function getSiteEntry()
+ {
+ return $this->siteEntry;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorCount.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorCount.php
new file mode 100644
index 00000000..fd128f94
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorCount.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webmasters_UrlCrawlErrorCount extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorCountsPerType.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorCountsPerType.php
new file mode 100644
index 00000000..57e3e2ed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorCountsPerType.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webmasters_UrlCrawlErrorCountsPerType extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ public $category;
+ protected $entriesType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsCountsQueryResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsCountsQueryResponse.php
new file mode 100644
index 00000000..40590d75
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsCountsQueryResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse extends Google_Collection
+{
+ protected $collection_key = 'countPerTypes';
+ protected $countPerTypesType = 'Google_Service_Webmasters_UrlCrawlErrorCountsPerType';
+ protected $countPerTypesDataType = 'array';
+
+ public function setCountPerTypes($countPerTypes)
+ {
+ $this->countPerTypes = $countPerTypes;
+ }
+ public function getCountPerTypes()
+ {
+ return $this->countPerTypes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsSample.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsSample.php
new file mode 100644
index 00000000..5291a57d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsSample.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webmasters_UrlCrawlErrorsSample extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "firstDetected" => "first_detected",
+ "lastCrawled" => "last_crawled",
+ );
+ public $firstDetected;
+ public $lastCrawled;
+ public $pageUrl;
+ public $responseCode;
+ protected $urlDetailsType = '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(Google_Service_Webmasters_UrlSampleDetails $urlDetails)
+ {
+ $this->urlDetails = $urlDetails;
+ }
+ public function getUrlDetails()
+ {
+ return $this->urlDetails;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsSamplesListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsSamplesListResponse.php
new file mode 100644
index 00000000..5835d3f1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsSamplesListResponse.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webmasters_UrlCrawlErrorsSamplesListResponse extends Google_Collection
+{
+ protected $collection_key = 'urlCrawlErrorSample';
+ protected $urlCrawlErrorSampleType = 'Google_Service_Webmasters_UrlCrawlErrorsSample';
+ protected $urlCrawlErrorSampleDataType = 'array';
+
+ public function setUrlCrawlErrorSample($urlCrawlErrorSample)
+ {
+ $this->urlCrawlErrorSample = $urlCrawlErrorSample;
+ }
+ public function getUrlCrawlErrorSample()
+ {
+ return $this->urlCrawlErrorSample;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlSampleDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlSampleDetails.php
new file mode 100644
index 00000000..3d50187b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlSampleDetails.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webmasters_UrlSampleDetails extends Google_Collection
+{
+ protected $collection_key = 'linkedFromUrls';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSite.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSite.php
new file mode 100644
index 00000000..6d0dc5f5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSite.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webmasters_WmxSite extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSitemap.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSitemap.php
new file mode 100644
index 00000000..493bd27c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSitemap.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webmasters_WmxSitemap extends Google_Collection
+{
+ protected $collection_key = 'contents';
+ protected $contentsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSitemapContent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSitemapContent.php
new file mode 100644
index 00000000..904a377c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSitemapContent.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_Webmasters_WmxSitemapContent extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube.php
new file mode 100644
index 00000000..17a45cfd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube.php
@@ -0,0 +1,1944 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Supports core YouTube features, such as uploading videos, creating and
+ * managing playlists, searching for content, and much more.</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 Google_Service_YouTube extends Google_Service
+{
+ /** Manage your YouTube account. */
+ const YOUTUBE =
+ "https://www.googleapis.com/auth/youtube";
+ /** Manage your YouTube account. */
+ const YOUTUBE_FORCE_SSL =
+ "https://www.googleapis.com/auth/youtube.force-ssl";
+ /** 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 $captions;
+ public $channelBanners;
+ public $channelSections;
+ public $channels;
+ public $commentThreads;
+ public $comments;
+ public $fanFundingEvents;
+ public $guideCategories;
+ public $i18nLanguages;
+ public $i18nRegions;
+ public $liveBroadcasts;
+ public $liveChatBans;
+ public $liveChatMessages;
+ public $liveChatModerators;
+ public $liveStreams;
+ public $playlistItems;
+ public $playlists;
+ public $search;
+ public $sponsors;
+ public $subscriptions;
+ public $superChatEvents;
+ public $thumbnails;
+ public $videoAbuseReportReasons;
+ public $videoCategories;
+ public $videos;
+ public $watermarks;
+
+ /**
+ * Constructs the internal representation of the YouTube service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'youtube/v3/';
+ $this->version = 'v3';
+ $this->serviceName = 'youtube';
+
+ $this->activities = new Google_Service_YouTube_Resource_Activities(
+ $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,
+ ),
+ 'channelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'home' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'mine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'publishedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'publishedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'regionCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->captions = new Google_Service_YouTube_Resource_Captions(
+ $this,
+ $this->serviceName,
+ 'captions',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'captions',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOf' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'download' => array(
+ 'path' => 'captions/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOf' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'tfmt' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'tlang' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'captions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOf' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sync' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'captions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'videoId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOf' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'captions',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOf' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sync' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->channelBanners = new Google_Service_YouTube_Resource_ChannelBanners(
+ $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 Google_Service_YouTube_Resource_ChannelSections(
+ $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,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'channelSections',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'channelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'hl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'mine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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 Google_Service_YouTube_Resource_Channels(
+ $this,
+ $this->serviceName,
+ 'channels',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'channels',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'categoryId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'forUsername' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'hl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'managedByMe' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'mine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'mySubscribers' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => 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->commentThreads = new Google_Service_YouTube_Resource_CommentThreads(
+ $this,
+ $this->serviceName,
+ 'commentThreads',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => 'commentThreads',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'commentThreads',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'allThreadsRelatedToChannelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'channelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'moderationStatus' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'order' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchTerms' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'textFormat' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'commentThreads',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->comments = new Google_Service_YouTube_Resource_Comments(
+ $this,
+ $this->serviceName,
+ 'comments',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'comments',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'comments',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'comments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'parentId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'textFormat' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'markAsSpam' => array(
+ 'path' => 'comments/markAsSpam',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setModerationStatus' => array(
+ 'path' => 'comments/setModerationStatus',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'moderationStatus' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'banAuthor' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'comments',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->fanFundingEvents = new Google_Service_YouTube_Resource_FanFundingEvents(
+ $this,
+ $this->serviceName,
+ 'fanFundingEvents',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'fanFundingEvents',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'hl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->guideCategories = new Google_Service_YouTube_Resource_GuideCategories(
+ $this,
+ $this->serviceName,
+ 'guideCategories',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'guideCategories',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'hl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'regionCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->i18nLanguages = new Google_Service_YouTube_Resource_I18nLanguages(
+ $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 Google_Service_YouTube_Resource_I18nRegions(
+ $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 Google_Service_YouTube_Resource_LiveBroadcasts(
+ $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,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => 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,
+ ),
+ 'displaySlate' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'offsetTimeMs' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => 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,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'liveBroadcasts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => 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',
+ ),
+ 'broadcastType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'mine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => 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,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'liveBroadcasts',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->liveChatBans = new Google_Service_YouTube_Resource_LiveChatBans(
+ $this,
+ $this->serviceName,
+ 'liveChatBans',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'liveChat/bans',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'liveChat/bans',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->liveChatMessages = new Google_Service_YouTube_Resource_LiveChatMessages(
+ $this,
+ $this->serviceName,
+ 'liveChatMessages',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'liveChat/messages',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'liveChat/messages',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'liveChat/messages',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'liveChatId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'hl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'profileImageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->liveChatModerators = new Google_Service_YouTube_Resource_LiveChatModerators(
+ $this,
+ $this->serviceName,
+ 'liveChatModerators',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'liveChat/moderators',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'liveChat/moderators',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'liveChat/moderators',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'liveChatId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->liveStreams = new Google_Service_YouTube_Resource_LiveStreams(
+ $this,
+ $this->serviceName,
+ 'liveStreams',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'liveStreams',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'liveStreams',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'liveStreams',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'mine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'liveStreams',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->playlistItems = new Google_Service_YouTube_Resource_PlaylistItems(
+ $this,
+ $this->serviceName,
+ 'playlistItems',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'playlistItems',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'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,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'playlistId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'playlistItems',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->playlists = new Google_Service_YouTube_Resource_Playlists(
+ $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,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'playlists',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'channelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'hl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'mine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => 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 Google_Service_YouTube_Resource_Search(
+ $this,
+ $this->serviceName,
+ 'search',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'search',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'channelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'channelType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'eventType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'forContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'forDeveloper' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'forMine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'location' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'locationRadius' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'order' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'publishedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'publishedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'regionCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'relatedToVideoId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'relevanceLanguage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'safeSearch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'topicId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoCaption' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoCategoryId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoDefinition' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoDimension' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoDuration' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoEmbeddable' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoLicense' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoSyndicated' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->sponsors = new Google_Service_YouTube_Resource_Sponsors(
+ $this,
+ $this->serviceName,
+ 'sponsors',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'sponsors',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->subscriptions = new Google_Service_YouTube_Resource_Subscriptions(
+ $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,
+ ),
+ 'channelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'forChannelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'mine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'myRecentSubscribers' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'mySubscribers' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'order' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->superChatEvents = new Google_Service_YouTube_Resource_SuperChatEvents(
+ $this,
+ $this->serviceName,
+ 'superChatEvents',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'superChatEvents',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'hl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->thumbnails = new Google_Service_YouTube_Resource_Thumbnails(
+ $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->videoAbuseReportReasons = new Google_Service_YouTube_Resource_VideoAbuseReportReasons(
+ $this,
+ $this->serviceName,
+ 'videoAbuseReportReasons',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'videoAbuseReportReasons',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'hl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->videoCategories = new Google_Service_YouTube_Resource_VideoCategories(
+ $this,
+ $this->serviceName,
+ 'videoCategories',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'videoCategories',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'hl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'regionCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->videos = new Google_Service_YouTube_Resource_Videos(
+ $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,
+ ),
+ 'autoLevels' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'notifySubscribers' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'stabilize' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'videos',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'chart' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'hl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxHeight' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxWidth' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'myRating' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'regionCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoCategoryId' => 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,
+ ),
+ ),
+ ),'reportAbuse' => array(
+ 'path' => 'videos/reportAbuse',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ '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 Google_Service_YouTube_Resource_Watermarks(
+ $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',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/AccessPolicy.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/AccessPolicy.php
new file mode 100644
index 00000000..0d0dd350
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/AccessPolicy.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_AccessPolicy extends Google_Collection
+{
+ protected $collection_key = 'exception';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Activity.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Activity.php
new file mode 100644
index 00000000..6fe1f6dc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Activity.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_Activity extends Google_Model
+{
+ protected $contentDetailsType = 'Google_Service_YouTube_ActivityContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_ActivitySnippet';
+ protected $snippetDataType = '';
+
+ public function setContentDetails(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(Google_Service_YouTube_ActivitySnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetails.php
new file mode 100644
index 00000000..58fe8e34
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetails.php
@@ -0,0 +1,131 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ActivityContentDetails extends Google_Model
+{
+ protected $bulletinType = 'Google_Service_YouTube_ActivityContentDetailsBulletin';
+ protected $bulletinDataType = '';
+ protected $channelItemType = 'Google_Service_YouTube_ActivityContentDetailsChannelItem';
+ protected $channelItemDataType = '';
+ protected $commentType = 'Google_Service_YouTube_ActivityContentDetailsComment';
+ protected $commentDataType = '';
+ protected $favoriteType = 'Google_Service_YouTube_ActivityContentDetailsFavorite';
+ protected $favoriteDataType = '';
+ protected $likeType = 'Google_Service_YouTube_ActivityContentDetailsLike';
+ protected $likeDataType = '';
+ protected $playlistItemType = 'Google_Service_YouTube_ActivityContentDetailsPlaylistItem';
+ protected $playlistItemDataType = '';
+ protected $promotedItemType = 'Google_Service_YouTube_ActivityContentDetailsPromotedItem';
+ protected $promotedItemDataType = '';
+ protected $recommendationType = 'Google_Service_YouTube_ActivityContentDetailsRecommendation';
+ protected $recommendationDataType = '';
+ protected $socialType = 'Google_Service_YouTube_ActivityContentDetailsSocial';
+ protected $socialDataType = '';
+ protected $subscriptionType = 'Google_Service_YouTube_ActivityContentDetailsSubscription';
+ protected $subscriptionDataType = '';
+ protected $uploadType = 'Google_Service_YouTube_ActivityContentDetailsUpload';
+ protected $uploadDataType = '';
+
+ public function setBulletin(Google_Service_YouTube_ActivityContentDetailsBulletin $bulletin)
+ {
+ $this->bulletin = $bulletin;
+ }
+ public function getBulletin()
+ {
+ return $this->bulletin;
+ }
+ public function setChannelItem(Google_Service_YouTube_ActivityContentDetailsChannelItem $channelItem)
+ {
+ $this->channelItem = $channelItem;
+ }
+ public function getChannelItem()
+ {
+ return $this->channelItem;
+ }
+ public function setComment(Google_Service_YouTube_ActivityContentDetailsComment $comment)
+ {
+ $this->comment = $comment;
+ }
+ public function getComment()
+ {
+ return $this->comment;
+ }
+ public function setFavorite(Google_Service_YouTube_ActivityContentDetailsFavorite $favorite)
+ {
+ $this->favorite = $favorite;
+ }
+ public function getFavorite()
+ {
+ return $this->favorite;
+ }
+ public function setLike(Google_Service_YouTube_ActivityContentDetailsLike $like)
+ {
+ $this->like = $like;
+ }
+ public function getLike()
+ {
+ return $this->like;
+ }
+ public function setPlaylistItem(Google_Service_YouTube_ActivityContentDetailsPlaylistItem $playlistItem)
+ {
+ $this->playlistItem = $playlistItem;
+ }
+ public function getPlaylistItem()
+ {
+ return $this->playlistItem;
+ }
+ public function setPromotedItem(Google_Service_YouTube_ActivityContentDetailsPromotedItem $promotedItem)
+ {
+ $this->promotedItem = $promotedItem;
+ }
+ public function getPromotedItem()
+ {
+ return $this->promotedItem;
+ }
+ public function setRecommendation(Google_Service_YouTube_ActivityContentDetailsRecommendation $recommendation)
+ {
+ $this->recommendation = $recommendation;
+ }
+ public function getRecommendation()
+ {
+ return $this->recommendation;
+ }
+ public function setSocial(Google_Service_YouTube_ActivityContentDetailsSocial $social)
+ {
+ $this->social = $social;
+ }
+ public function getSocial()
+ {
+ return $this->social;
+ }
+ public function setSubscription(Google_Service_YouTube_ActivityContentDetailsSubscription $subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+ public function setUpload(Google_Service_YouTube_ActivityContentDetailsUpload $upload)
+ {
+ $this->upload = $upload;
+ }
+ public function getUpload()
+ {
+ return $this->upload;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsBulletin.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsBulletin.php
new file mode 100644
index 00000000..781ac027
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsBulletin.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ActivityContentDetailsBulletin extends Google_Model
+{
+ protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+
+ public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsChannelItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsChannelItem.php
new file mode 100644
index 00000000..4880bd12
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsChannelItem.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ActivityContentDetailsChannelItem extends Google_Model
+{
+ protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+
+ public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsComment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsComment.php
new file mode 100644
index 00000000..5d3c0f76
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsComment.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ActivityContentDetailsComment extends Google_Model
+{
+ protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+
+ public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsFavorite.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsFavorite.php
new file mode 100644
index 00000000..3a20df97
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsFavorite.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ActivityContentDetailsFavorite extends Google_Model
+{
+ protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+
+ public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsLike.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsLike.php
new file mode 100644
index 00000000..565f74a3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsLike.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ActivityContentDetailsLike extends Google_Model
+{
+ protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+
+ public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsPlaylistItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsPlaylistItem.php
new file mode 100644
index 00000000..ab73188e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsPlaylistItem.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ActivityContentDetailsPlaylistItem extends Google_Model
+{
+ public $playlistId;
+ public $playlistItemId;
+ protected $resourceIdType = '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(Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsPromotedItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsPromotedItem.php
new file mode 100644
index 00000000..4c385b8b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsPromotedItem.php
@@ -0,0 +1,112 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ActivityContentDetailsPromotedItem extends Google_Collection
+{
+ protected $collection_key = 'impressionUrl';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsRecommendation.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsRecommendation.php
new file mode 100644
index 00000000..db75327c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsRecommendation.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ActivityContentDetailsRecommendation extends Google_Model
+{
+ public $reason;
+ protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+ protected $seedResourceIdType = 'Google_Service_YouTube_ResourceId';
+ protected $seedResourceIdDataType = '';
+
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+ public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setSeedResourceId(Google_Service_YouTube_ResourceId $seedResourceId)
+ {
+ $this->seedResourceId = $seedResourceId;
+ }
+ public function getSeedResourceId()
+ {
+ return $this->seedResourceId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsSocial.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsSocial.php
new file mode 100644
index 00000000..c2aeb6dd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsSocial.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ActivityContentDetailsSocial extends Google_Model
+{
+ public $author;
+ public $imageUrl;
+ public $referenceUrl;
+ protected $resourceIdType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsSubscription.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsSubscription.php
new file mode 100644
index 00000000..d394ef33
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsSubscription.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ActivityContentDetailsSubscription extends Google_Model
+{
+ protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+
+ public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsUpload.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsUpload.php
new file mode 100644
index 00000000..c642753d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsUpload.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ActivityContentDetailsUpload extends Google_Model
+{
+ public $videoId;
+
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityListResponse.php
new file mode 100644
index 00000000..4c8f1db2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityListResponse.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ActivityListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_Activity';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivitySnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivitySnippet.php
new file mode 100644
index 00000000..5e67c25e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivitySnippet.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ActivitySnippet extends Google_Model
+{
+ public $channelId;
+ public $channelTitle;
+ public $description;
+ public $groupId;
+ public $publishedAt;
+ protected $thumbnailsType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Caption.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Caption.php
new file mode 100644
index 00000000..9fe9edaa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Caption.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_Caption extends Google_Model
+{
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_CaptionSnippet';
+ 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(Google_Service_YouTube_CaptionSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CaptionListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CaptionListResponse.php
new file mode 100644
index 00000000..6d1eba6a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CaptionListResponse.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_CaptionListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_Caption';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CaptionSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CaptionSnippet.php
new file mode 100644
index 00000000..c37ce942
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CaptionSnippet.php
@@ -0,0 +1,138 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_CaptionSnippet extends Google_Model
+{
+ public $audioTrackType;
+ public $failureReason;
+ public $isAutoSynced;
+ public $isCC;
+ public $isDraft;
+ public $isEasyReader;
+ public $isLarge;
+ public $language;
+ public $lastUpdated;
+ public $name;
+ public $status;
+ public $trackKind;
+ public $videoId;
+
+ public function setAudioTrackType($audioTrackType)
+ {
+ $this->audioTrackType = $audioTrackType;
+ }
+ public function getAudioTrackType()
+ {
+ return $this->audioTrackType;
+ }
+ public function setFailureReason($failureReason)
+ {
+ $this->failureReason = $failureReason;
+ }
+ public function getFailureReason()
+ {
+ return $this->failureReason;
+ }
+ public function setIsAutoSynced($isAutoSynced)
+ {
+ $this->isAutoSynced = $isAutoSynced;
+ }
+ public function getIsAutoSynced()
+ {
+ return $this->isAutoSynced;
+ }
+ public function setIsCC($isCC)
+ {
+ $this->isCC = $isCC;
+ }
+ public function getIsCC()
+ {
+ return $this->isCC;
+ }
+ public function setIsDraft($isDraft)
+ {
+ $this->isDraft = $isDraft;
+ }
+ public function getIsDraft()
+ {
+ return $this->isDraft;
+ }
+ public function setIsEasyReader($isEasyReader)
+ {
+ $this->isEasyReader = $isEasyReader;
+ }
+ public function getIsEasyReader()
+ {
+ return $this->isEasyReader;
+ }
+ public function setIsLarge($isLarge)
+ {
+ $this->isLarge = $isLarge;
+ }
+ public function getIsLarge()
+ {
+ return $this->isLarge;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setLastUpdated($lastUpdated)
+ {
+ $this->lastUpdated = $lastUpdated;
+ }
+ public function getLastUpdated()
+ {
+ return $this->lastUpdated;
+ }
+ 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 setTrackKind($trackKind)
+ {
+ $this->trackKind = $trackKind;
+ }
+ public function getTrackKind()
+ {
+ return $this->trackKind;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CdnSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CdnSettings.php
new file mode 100644
index 00000000..4c334b35
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CdnSettings.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_CdnSettings extends Google_Model
+{
+ public $format;
+ public $frameRate;
+ protected $ingestionInfoType = 'Google_Service_YouTube_IngestionInfo';
+ protected $ingestionInfoDataType = '';
+ public $ingestionType;
+ public $resolution;
+
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setFrameRate($frameRate)
+ {
+ $this->frameRate = $frameRate;
+ }
+ public function getFrameRate()
+ {
+ return $this->frameRate;
+ }
+ public function setIngestionInfo(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;
+ }
+ public function setResolution($resolution)
+ {
+ $this->resolution = $resolution;
+ }
+ public function getResolution()
+ {
+ return $this->resolution;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Channel.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Channel.php
new file mode 100644
index 00000000..9800cd59
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Channel.php
@@ -0,0 +1,158 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_Channel extends Google_Model
+{
+ protected $auditDetailsType = 'Google_Service_YouTube_ChannelAuditDetails';
+ protected $auditDetailsDataType = '';
+ protected $brandingSettingsType = 'Google_Service_YouTube_ChannelBrandingSettings';
+ protected $brandingSettingsDataType = '';
+ protected $contentDetailsType = 'Google_Service_YouTube_ChannelContentDetails';
+ protected $contentDetailsDataType = '';
+ protected $contentOwnerDetailsType = 'Google_Service_YouTube_ChannelContentOwnerDetails';
+ protected $contentOwnerDetailsDataType = '';
+ protected $conversionPingsType = 'Google_Service_YouTube_ChannelConversionPings';
+ protected $conversionPingsDataType = '';
+ public $etag;
+ public $id;
+ protected $invideoPromotionType = 'Google_Service_YouTube_InvideoPromotion';
+ protected $invideoPromotionDataType = '';
+ public $kind;
+ protected $localizationsType = 'Google_Service_YouTube_ChannelLocalization';
+ protected $localizationsDataType = 'map';
+ protected $snippetType = 'Google_Service_YouTube_ChannelSnippet';
+ protected $snippetDataType = '';
+ protected $statisticsType = 'Google_Service_YouTube_ChannelStatistics';
+ protected $statisticsDataType = '';
+ protected $statusType = 'Google_Service_YouTube_ChannelStatus';
+ protected $statusDataType = '';
+ protected $topicDetailsType = 'Google_Service_YouTube_ChannelTopicDetails';
+ protected $topicDetailsDataType = '';
+
+ public function setAuditDetails(Google_Service_YouTube_ChannelAuditDetails $auditDetails)
+ {
+ $this->auditDetails = $auditDetails;
+ }
+ public function getAuditDetails()
+ {
+ return $this->auditDetails;
+ }
+ public function setBrandingSettings(Google_Service_YouTube_ChannelBrandingSettings $brandingSettings)
+ {
+ $this->brandingSettings = $brandingSettings;
+ }
+ public function getBrandingSettings()
+ {
+ return $this->brandingSettings;
+ }
+ public function setContentDetails(Google_Service_YouTube_ChannelContentDetails $contentDetails)
+ {
+ $this->contentDetails = $contentDetails;
+ }
+ public function getContentDetails()
+ {
+ return $this->contentDetails;
+ }
+ public function setContentOwnerDetails(Google_Service_YouTube_ChannelContentOwnerDetails $contentOwnerDetails)
+ {
+ $this->contentOwnerDetails = $contentOwnerDetails;
+ }
+ public function getContentOwnerDetails()
+ {
+ return $this->contentOwnerDetails;
+ }
+ public function setConversionPings(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(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 setLocalizations($localizations)
+ {
+ $this->localizations = $localizations;
+ }
+ public function getLocalizations()
+ {
+ return $this->localizations;
+ }
+ public function setSnippet(Google_Service_YouTube_ChannelSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setStatistics(Google_Service_YouTube_ChannelStatistics $statistics)
+ {
+ $this->statistics = $statistics;
+ }
+ public function getStatistics()
+ {
+ return $this->statistics;
+ }
+ public function setStatus(Google_Service_YouTube_ChannelStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTopicDetails(Google_Service_YouTube_ChannelTopicDetails $topicDetails)
+ {
+ $this->topicDetails = $topicDetails;
+ }
+ public function getTopicDetails()
+ {
+ return $this->topicDetails;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelAuditDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelAuditDetails.php
new file mode 100644
index 00000000..2a6907cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelAuditDetails.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelAuditDetails extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelBannerResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelBannerResource.php
new file mode 100644
index 00000000..58f48d58
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelBannerResource.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelBannerResource extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelBrandingSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelBrandingSettings.php
new file mode 100644
index 00000000..e2d4a935
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelBrandingSettings.php
@@ -0,0 +1,62 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelBrandingSettings extends Google_Collection
+{
+ protected $collection_key = 'hints';
+ protected $channelType = 'Google_Service_YouTube_ChannelSettings';
+ protected $channelDataType = '';
+ protected $hintsType = 'Google_Service_YouTube_PropertyValue';
+ protected $hintsDataType = 'array';
+ protected $imageType = 'Google_Service_YouTube_ImageSettings';
+ protected $imageDataType = '';
+ protected $watchType = 'Google_Service_YouTube_WatchSettings';
+ protected $watchDataType = '';
+
+ public function setChannel(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(Google_Service_YouTube_ImageSettings $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setWatch(Google_Service_YouTube_WatchSettings $watch)
+ {
+ $this->watch = $watch;
+ }
+ public function getWatch()
+ {
+ return $this->watch;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentDetails.php
new file mode 100644
index 00000000..d397e718
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentDetails.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelContentDetails extends Google_Model
+{
+ protected $relatedPlaylistsType = 'Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists';
+ protected $relatedPlaylistsDataType = '';
+
+ public function setRelatedPlaylists(Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists $relatedPlaylists)
+ {
+ $this->relatedPlaylists = $relatedPlaylists;
+ }
+ public function getRelatedPlaylists()
+ {
+ return $this->relatedPlaylists;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentDetailsRelatedPlaylists.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentDetailsRelatedPlaylists.php
new file mode 100644
index 00000000..efb14984
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentDetailsRelatedPlaylists.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentOwnerDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentOwnerDetails.php
new file mode 100644
index 00000000..0a0bfaf4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentOwnerDetails.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelContentOwnerDetails extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelConversionPing.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelConversionPing.php
new file mode 100644
index 00000000..16cd26a8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelConversionPing.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelConversionPing extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelConversionPings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelConversionPings.php
new file mode 100644
index 00000000..801e11bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelConversionPings.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelConversionPings extends Google_Collection
+{
+ protected $collection_key = 'pings';
+ protected $pingsType = 'Google_Service_YouTube_ChannelConversionPing';
+ protected $pingsDataType = 'array';
+
+ public function setPings($pings)
+ {
+ $this->pings = $pings;
+ }
+ public function getPings()
+ {
+ return $this->pings;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelListResponse.php
new file mode 100644
index 00000000..89f9d08d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelListResponse.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_Channel';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelLocalization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelLocalization.php
new file mode 100644
index 00000000..388ed7d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelLocalization.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelLocalization extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelProfileDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelProfileDetails.php
new file mode 100644
index 00000000..ec10ae72
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelProfileDetails.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelProfileDetails extends Google_Model
+{
+ public $channelId;
+ public $channelUrl;
+ public $displayName;
+ public $profileImageUrl;
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setChannelUrl($channelUrl)
+ {
+ $this->channelUrl = $channelUrl;
+ }
+ public function getChannelUrl()
+ {
+ return $this->channelUrl;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setProfileImageUrl($profileImageUrl)
+ {
+ $this->profileImageUrl = $profileImageUrl;
+ }
+ public function getProfileImageUrl()
+ {
+ return $this->profileImageUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSection.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSection.php
new file mode 100644
index 00000000..83218e96
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSection.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelSection extends Google_Model
+{
+ protected $contentDetailsType = 'Google_Service_YouTube_ChannelSectionContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $localizationsType = 'Google_Service_YouTube_ChannelSectionLocalization';
+ protected $localizationsDataType = 'map';
+ protected $snippetType = 'Google_Service_YouTube_ChannelSectionSnippet';
+ protected $snippetDataType = '';
+ protected $targetingType = 'Google_Service_YouTube_ChannelSectionTargeting';
+ protected $targetingDataType = '';
+
+ public function setContentDetails(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 setLocalizations($localizations)
+ {
+ $this->localizations = $localizations;
+ }
+ public function getLocalizations()
+ {
+ return $this->localizations;
+ }
+ public function setSnippet(Google_Service_YouTube_ChannelSectionSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setTargeting(Google_Service_YouTube_ChannelSectionTargeting $targeting)
+ {
+ $this->targeting = $targeting;
+ }
+ public function getTargeting()
+ {
+ return $this->targeting;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionContentDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionContentDetails.php
new file mode 100644
index 00000000..8bcb8e98
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionContentDetails.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelSectionContentDetails extends Google_Collection
+{
+ protected $collection_key = 'playlists';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionListResponse.php
new file mode 100644
index 00000000..eccac741
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionListResponse.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelSectionListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionLocalization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionLocalization.php
new file mode 100644
index 00000000..6fb5e23a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionLocalization.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelSectionLocalization extends Google_Model
+{
+ public $title;
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionSnippet.php
new file mode 100644
index 00000000..3209a4c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionSnippet.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelSectionSnippet extends Google_Model
+{
+ public $channelId;
+ public $defaultLanguage;
+ protected $localizedType = 'Google_Service_YouTube_ChannelSectionLocalization';
+ protected $localizedDataType = '';
+ public $position;
+ public $style;
+ public $title;
+ public $type;
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setDefaultLanguage($defaultLanguage)
+ {
+ $this->defaultLanguage = $defaultLanguage;
+ }
+ public function getDefaultLanguage()
+ {
+ return $this->defaultLanguage;
+ }
+ public function setLocalized(Google_Service_YouTube_ChannelSectionLocalization $localized)
+ {
+ $this->localized = $localized;
+ }
+ public function getLocalized()
+ {
+ return $this->localized;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionTargeting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionTargeting.php
new file mode 100644
index 00000000..f72036bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionTargeting.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelSectionTargeting extends Google_Collection
+{
+ protected $collection_key = 'regions';
+ public $countries;
+ public $languages;
+ public $regions;
+
+ public function setCountries($countries)
+ {
+ $this->countries = $countries;
+ }
+ public function getCountries()
+ {
+ return $this->countries;
+ }
+ public function setLanguages($languages)
+ {
+ $this->languages = $languages;
+ }
+ public function getLanguages()
+ {
+ return $this->languages;
+ }
+ public function setRegions($regions)
+ {
+ $this->regions = $regions;
+ }
+ public function getRegions()
+ {
+ return $this->regions;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSettings.php
new file mode 100644
index 00000000..24669344
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSettings.php
@@ -0,0 +1,148 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelSettings extends Google_Collection
+{
+ protected $collection_key = 'featuredChannelsUrls';
+ public $country;
+ public $defaultLanguage;
+ 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 setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setDefaultLanguage($defaultLanguage)
+ {
+ $this->defaultLanguage = $defaultLanguage;
+ }
+ public function getDefaultLanguage()
+ {
+ return $this->defaultLanguage;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSnippet.php
new file mode 100644
index 00000000..318d3b45
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSnippet.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelSnippet extends Google_Model
+{
+ public $country;
+ public $customUrl;
+ public $defaultLanguage;
+ public $description;
+ protected $localizedType = 'Google_Service_YouTube_ChannelLocalization';
+ protected $localizedDataType = '';
+ public $publishedAt;
+ protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails';
+ protected $thumbnailsDataType = '';
+ public $title;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setCustomUrl($customUrl)
+ {
+ $this->customUrl = $customUrl;
+ }
+ public function getCustomUrl()
+ {
+ return $this->customUrl;
+ }
+ public function setDefaultLanguage($defaultLanguage)
+ {
+ $this->defaultLanguage = $defaultLanguage;
+ }
+ public function getDefaultLanguage()
+ {
+ return $this->defaultLanguage;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setLocalized(Google_Service_YouTube_ChannelLocalization $localized)
+ {
+ $this->localized = $localized;
+ }
+ public function getLocalized()
+ {
+ return $this->localized;
+ }
+ public function setPublishedAt($publishedAt)
+ {
+ $this->publishedAt = $publishedAt;
+ }
+ public function getPublishedAt()
+ {
+ return $this->publishedAt;
+ }
+ public function setThumbnails(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelStatistics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelStatistics.php
new file mode 100644
index 00000000..f5c07786
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelStatistics.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelStatistics extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelStatus.php
new file mode 100644
index 00000000..ff4bcaaf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelStatus.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelStatus extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelTopicDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelTopicDetails.php
new file mode 100644
index 00000000..8c2b336c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelTopicDetails.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ChannelTopicDetails extends Google_Collection
+{
+ protected $collection_key = 'topicIds';
+ public $topicCategories;
+ public $topicIds;
+
+ public function setTopicCategories($topicCategories)
+ {
+ $this->topicCategories = $topicCategories;
+ }
+ public function getTopicCategories()
+ {
+ return $this->topicCategories;
+ }
+ public function setTopicIds($topicIds)
+ {
+ $this->topicIds = $topicIds;
+ }
+ public function getTopicIds()
+ {
+ return $this->topicIds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Comment.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Comment.php
new file mode 100644
index 00000000..f0bc3332
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Comment.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_Comment extends Google_Model
+{
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_CommentSnippet';
+ 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(Google_Service_YouTube_CommentSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentListResponse.php
new file mode 100644
index 00000000..710a32e5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentListResponse.php
@@ -0,0 +1,97 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_CommentListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_Comment';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ protected $tokenPaginationType = '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(Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setTokenPagination(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentSnippet.php
new file mode 100644
index 00000000..8f44790a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentSnippet.php
@@ -0,0 +1,156 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_CommentSnippet extends Google_Model
+{
+ public $authorChannelId;
+ public $authorChannelUrl;
+ public $authorDisplayName;
+ public $authorProfileImageUrl;
+ public $canRate;
+ public $channelId;
+ public $likeCount;
+ public $moderationStatus;
+ public $parentId;
+ public $publishedAt;
+ public $textDisplay;
+ public $textOriginal;
+ public $updatedAt;
+ public $videoId;
+ public $viewerRating;
+
+ public function setAuthorChannelId($authorChannelId)
+ {
+ $this->authorChannelId = $authorChannelId;
+ }
+ public function getAuthorChannelId()
+ {
+ return $this->authorChannelId;
+ }
+ public function setAuthorChannelUrl($authorChannelUrl)
+ {
+ $this->authorChannelUrl = $authorChannelUrl;
+ }
+ public function getAuthorChannelUrl()
+ {
+ return $this->authorChannelUrl;
+ }
+ public function setAuthorDisplayName($authorDisplayName)
+ {
+ $this->authorDisplayName = $authorDisplayName;
+ }
+ public function getAuthorDisplayName()
+ {
+ return $this->authorDisplayName;
+ }
+ public function setAuthorProfileImageUrl($authorProfileImageUrl)
+ {
+ $this->authorProfileImageUrl = $authorProfileImageUrl;
+ }
+ public function getAuthorProfileImageUrl()
+ {
+ return $this->authorProfileImageUrl;
+ }
+ public function setCanRate($canRate)
+ {
+ $this->canRate = $canRate;
+ }
+ public function getCanRate()
+ {
+ return $this->canRate;
+ }
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setLikeCount($likeCount)
+ {
+ $this->likeCount = $likeCount;
+ }
+ public function getLikeCount()
+ {
+ return $this->likeCount;
+ }
+ public function setModerationStatus($moderationStatus)
+ {
+ $this->moderationStatus = $moderationStatus;
+ }
+ public function getModerationStatus()
+ {
+ return $this->moderationStatus;
+ }
+ public function setParentId($parentId)
+ {
+ $this->parentId = $parentId;
+ }
+ public function getParentId()
+ {
+ return $this->parentId;
+ }
+ public function setPublishedAt($publishedAt)
+ {
+ $this->publishedAt = $publishedAt;
+ }
+ public function getPublishedAt()
+ {
+ return $this->publishedAt;
+ }
+ public function setTextDisplay($textDisplay)
+ {
+ $this->textDisplay = $textDisplay;
+ }
+ public function getTextDisplay()
+ {
+ return $this->textDisplay;
+ }
+ public function setTextOriginal($textOriginal)
+ {
+ $this->textOriginal = $textOriginal;
+ }
+ public function getTextOriginal()
+ {
+ return $this->textOriginal;
+ }
+ public function setUpdatedAt($updatedAt)
+ {
+ $this->updatedAt = $updatedAt;
+ }
+ public function getUpdatedAt()
+ {
+ return $this->updatedAt;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+ public function setViewerRating($viewerRating)
+ {
+ $this->viewerRating = $viewerRating;
+ }
+ public function getViewerRating()
+ {
+ return $this->viewerRating;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThread.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThread.php
new file mode 100644
index 00000000..f5e85fae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThread.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_CommentThread extends Google_Model
+{
+ public $etag;
+ public $id;
+ public $kind;
+ protected $repliesType = 'Google_Service_YouTube_CommentThreadReplies';
+ protected $repliesDataType = '';
+ protected $snippetType = 'Google_Service_YouTube_CommentThreadSnippet';
+ 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 setReplies(Google_Service_YouTube_CommentThreadReplies $replies)
+ {
+ $this->replies = $replies;
+ }
+ public function getReplies()
+ {
+ return $this->replies;
+ }
+ public function setSnippet(Google_Service_YouTube_CommentThreadSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadListResponse.php
new file mode 100644
index 00000000..eeab0f03
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadListResponse.php
@@ -0,0 +1,97 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_CommentThreadListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_CommentThread';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ protected $tokenPaginationType = '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(Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setTokenPagination(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadReplies.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadReplies.php
new file mode 100644
index 00000000..1077c6b3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadReplies.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_CommentThreadReplies extends Google_Collection
+{
+ protected $collection_key = 'comments';
+ protected $commentsType = 'Google_Service_YouTube_Comment';
+ protected $commentsDataType = 'array';
+
+ public function setComments($comments)
+ {
+ $this->comments = $comments;
+ }
+ public function getComments()
+ {
+ return $this->comments;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadSnippet.php
new file mode 100644
index 00000000..21f22ade
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadSnippet.php
@@ -0,0 +1,76 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_CommentThreadSnippet extends Google_Model
+{
+ public $canReply;
+ public $channelId;
+ public $isPublic;
+ protected $topLevelCommentType = 'Google_Service_YouTube_Comment';
+ protected $topLevelCommentDataType = '';
+ public $totalReplyCount;
+ public $videoId;
+
+ public function setCanReply($canReply)
+ {
+ $this->canReply = $canReply;
+ }
+ public function getCanReply()
+ {
+ return $this->canReply;
+ }
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setIsPublic($isPublic)
+ {
+ $this->isPublic = $isPublic;
+ }
+ public function getIsPublic()
+ {
+ return $this->isPublic;
+ }
+ public function setTopLevelComment(Google_Service_YouTube_Comment $topLevelComment)
+ {
+ $this->topLevelComment = $topLevelComment;
+ }
+ public function getTopLevelComment()
+ {
+ return $this->topLevelComment;
+ }
+ public function setTotalReplyCount($totalReplyCount)
+ {
+ $this->totalReplyCount = $totalReplyCount;
+ }
+ public function getTotalReplyCount()
+ {
+ return $this->totalReplyCount;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ContentRating.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ContentRating.php
new file mode 100644
index 00000000..77652392
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ContentRating.php
@@ -0,0 +1,634 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ContentRating extends Google_Collection
+{
+ protected $collection_key = 'fpbRatingReasons';
+ 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 $cncRating;
+ public $csaRating;
+ public $cscfRating;
+ public $czfilmRating;
+ public $djctqRating;
+ public $djctqRatingReasons;
+ public $ecbmctRating;
+ public $eefilmRating;
+ public $egfilmRating;
+ public $eirinRating;
+ public $fcbmRating;
+ public $fcoRating;
+ public $fmocRating;
+ public $fpbRating;
+ public $fpbRatingReasons;
+ 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 $mcstRating;
+ 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 setCncRating($cncRating)
+ {
+ $this->cncRating = $cncRating;
+ }
+ public function getCncRating()
+ {
+ return $this->cncRating;
+ }
+ 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 setEcbmctRating($ecbmctRating)
+ {
+ $this->ecbmctRating = $ecbmctRating;
+ }
+ public function getEcbmctRating()
+ {
+ return $this->ecbmctRating;
+ }
+ 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 setFpbRatingReasons($fpbRatingReasons)
+ {
+ $this->fpbRatingReasons = $fpbRatingReasons;
+ }
+ public function getFpbRatingReasons()
+ {
+ return $this->fpbRatingReasons;
+ }
+ 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 setMcstRating($mcstRating)
+ {
+ $this->mcstRating = $mcstRating;
+ }
+ public function getMcstRating()
+ {
+ return $this->mcstRating;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEvent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEvent.php
new file mode 100644
index 00000000..77d04b03
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEvent.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_FanFundingEvent extends Google_Model
+{
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_FanFundingEventSnippet';
+ 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(Google_Service_YouTube_FanFundingEventSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEventListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEventListResponse.php
new file mode 100644
index 00000000..46ddef64
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEventListResponse.php
@@ -0,0 +1,97 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_FanFundingEventListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_FanFundingEvent';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ protected $tokenPaginationType = '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(Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setTokenPagination(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEventSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEventSnippet.php
new file mode 100644
index 00000000..4006cd74
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEventSnippet.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_FanFundingEventSnippet extends Google_Model
+{
+ public $amountMicros;
+ public $channelId;
+ public $commentText;
+ public $createdAt;
+ public $currency;
+ public $displayString;
+ protected $supporterDetailsType = 'Google_Service_YouTube_ChannelProfileDetails';
+ protected $supporterDetailsDataType = '';
+
+ public function setAmountMicros($amountMicros)
+ {
+ $this->amountMicros = $amountMicros;
+ }
+ public function getAmountMicros()
+ {
+ return $this->amountMicros;
+ }
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setCommentText($commentText)
+ {
+ $this->commentText = $commentText;
+ }
+ public function getCommentText()
+ {
+ return $this->commentText;
+ }
+ public function setCreatedAt($createdAt)
+ {
+ $this->createdAt = $createdAt;
+ }
+ public function getCreatedAt()
+ {
+ return $this->createdAt;
+ }
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+ public function setDisplayString($displayString)
+ {
+ $this->displayString = $displayString;
+ }
+ public function getDisplayString()
+ {
+ return $this->displayString;
+ }
+ public function setSupporterDetails(Google_Service_YouTube_ChannelProfileDetails $supporterDetails)
+ {
+ $this->supporterDetails = $supporterDetails;
+ }
+ public function getSupporterDetails()
+ {
+ return $this->supporterDetails;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GeoPoint.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GeoPoint.php
new file mode 100644
index 00000000..b80b0367
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GeoPoint.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_GeoPoint extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategory.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategory.php
new file mode 100644
index 00000000..e5ab0fa0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategory.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_GuideCategory extends Google_Model
+{
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = '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(Google_Service_YouTube_GuideCategorySnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategoryListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategoryListResponse.php
new file mode 100644
index 00000000..74b7c53a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategoryListResponse.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_GuideCategoryListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_GuideCategory';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategorySnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategorySnippet.php
new file mode 100644
index 00000000..10faecaf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategorySnippet.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_GuideCategorySnippet extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguage.php
new file mode 100644
index 00000000..35d1f4e7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguage.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_I18nLanguage extends Google_Model
+{
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = '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(Google_Service_YouTube_I18nLanguageSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguageListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguageListResponse.php
new file mode 100644
index 00000000..e6dbeee4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguageListResponse.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_I18nLanguageListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguageSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguageSnippet.php
new file mode 100644
index 00000000..c3800383
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguageSnippet.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_I18nLanguageSnippet extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegion.php
new file mode 100644
index 00000000..752e4654
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegion.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_I18nRegion extends Google_Model
+{
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = '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(Google_Service_YouTube_I18nRegionSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegionListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegionListResponse.php
new file mode 100644
index 00000000..6803eed9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegionListResponse.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_I18nRegionListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegionSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegionSnippet.php
new file mode 100644
index 00000000..8170918e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegionSnippet.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_I18nRegionSnippet extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ImageSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ImageSettings.php
new file mode 100644
index 00000000..c2bfc9c0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ImageSettings.php
@@ -0,0 +1,224 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ImageSettings extends Google_Model
+{
+ protected $backgroundImageUrlType = '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 = 'Google_Service_YouTube_LocalizedProperty';
+ protected $largeBrandedBannerImageImapScriptDataType = '';
+ protected $largeBrandedBannerImageUrlType = 'Google_Service_YouTube_LocalizedProperty';
+ protected $largeBrandedBannerImageUrlDataType = '';
+ protected $smallBrandedBannerImageImapScriptType = 'Google_Service_YouTube_LocalizedProperty';
+ protected $smallBrandedBannerImageImapScriptDataType = '';
+ protected $smallBrandedBannerImageUrlType = 'Google_Service_YouTube_LocalizedProperty';
+ protected $smallBrandedBannerImageUrlDataType = '';
+ public $trackingImageUrl;
+ public $watchIconImageUrl;
+
+ public function setBackgroundImageUrl(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(Google_Service_YouTube_LocalizedProperty $largeBrandedBannerImageImapScript)
+ {
+ $this->largeBrandedBannerImageImapScript = $largeBrandedBannerImageImapScript;
+ }
+ public function getLargeBrandedBannerImageImapScript()
+ {
+ return $this->largeBrandedBannerImageImapScript;
+ }
+ public function setLargeBrandedBannerImageUrl(Google_Service_YouTube_LocalizedProperty $largeBrandedBannerImageUrl)
+ {
+ $this->largeBrandedBannerImageUrl = $largeBrandedBannerImageUrl;
+ }
+ public function getLargeBrandedBannerImageUrl()
+ {
+ return $this->largeBrandedBannerImageUrl;
+ }
+ public function setSmallBrandedBannerImageImapScript(Google_Service_YouTube_LocalizedProperty $smallBrandedBannerImageImapScript)
+ {
+ $this->smallBrandedBannerImageImapScript = $smallBrandedBannerImageImapScript;
+ }
+ public function getSmallBrandedBannerImageImapScript()
+ {
+ return $this->smallBrandedBannerImageImapScript;
+ }
+ public function setSmallBrandedBannerImageUrl(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/IngestionInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/IngestionInfo.php
new file mode 100644
index 00000000..aaac80c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/IngestionInfo.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_IngestionInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoBranding.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoBranding.php
new file mode 100644
index 00000000..1fc32ae8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoBranding.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_InvideoBranding extends Google_Model
+{
+ public $imageBytes;
+ public $imageUrl;
+ protected $positionType = 'Google_Service_YouTube_InvideoPosition';
+ protected $positionDataType = '';
+ public $targetChannelId;
+ protected $timingType = '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(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(Google_Service_YouTube_InvideoTiming $timing)
+ {
+ $this->timing = $timing;
+ }
+ public function getTiming()
+ {
+ return $this->timing;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoPosition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoPosition.php
new file mode 100644
index 00000000..8ebf440c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoPosition.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_InvideoPosition extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoPromotion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoPromotion.php
new file mode 100644
index 00000000..451634d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoPromotion.php
@@ -0,0 +1,61 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_InvideoPromotion extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $defaultTimingType = 'Google_Service_YouTube_InvideoTiming';
+ protected $defaultTimingDataType = '';
+ protected $itemsType = 'Google_Service_YouTube_PromotedItem';
+ protected $itemsDataType = 'array';
+ protected $positionType = 'Google_Service_YouTube_InvideoPosition';
+ protected $positionDataType = '';
+ public $useSmartTiming;
+
+ public function setDefaultTiming(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoTiming.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoTiming.php
new file mode 100644
index 00000000..d6d99ea9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoTiming.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_InvideoTiming extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LanguageTag.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LanguageTag.php
new file mode 100644
index 00000000..8f033e3b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LanguageTag.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LanguageTag extends Google_Model
+{
+ public $value;
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcast.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcast.php
new file mode 100644
index 00000000..c87763d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcast.php
@@ -0,0 +1,98 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveBroadcast extends Google_Model
+{
+ protected $contentDetailsType = 'Google_Service_YouTube_LiveBroadcastContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_LiveBroadcastSnippet';
+ protected $snippetDataType = '';
+ protected $statisticsType = 'Google_Service_YouTube_LiveBroadcastStatistics';
+ protected $statisticsDataType = '';
+ protected $statusType = 'Google_Service_YouTube_LiveBroadcastStatus';
+ protected $statusDataType = '';
+ protected $topicDetailsType = 'Google_Service_YouTube_LiveBroadcastTopicDetails';
+ protected $topicDetailsDataType = '';
+
+ public function setContentDetails(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(Google_Service_YouTube_LiveBroadcastSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setStatistics(Google_Service_YouTube_LiveBroadcastStatistics $statistics)
+ {
+ $this->statistics = $statistics;
+ }
+ public function getStatistics()
+ {
+ return $this->statistics;
+ }
+ public function setStatus(Google_Service_YouTube_LiveBroadcastStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTopicDetails(Google_Service_YouTube_LiveBroadcastTopicDetails $topicDetails)
+ {
+ $this->topicDetails = $topicDetails;
+ }
+ public function getTopicDetails()
+ {
+ return $this->topicDetails;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastContentDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastContentDetails.php
new file mode 100644
index 00000000..ea790e0d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastContentDetails.php
@@ -0,0 +1,130 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveBroadcastContentDetails extends Google_Model
+{
+ public $boundStreamId;
+ public $boundStreamLastUpdateTimeMs;
+ public $closedCaptionsType;
+ public $enableClosedCaptions;
+ public $enableContentEncryption;
+ public $enableDvr;
+ public $enableEmbed;
+ public $enableLowLatency;
+ protected $monitorStreamType = 'Google_Service_YouTube_MonitorStreamInfo';
+ protected $monitorStreamDataType = '';
+ public $projection;
+ public $recordFromStart;
+ public $startWithSlate;
+
+ public function setBoundStreamId($boundStreamId)
+ {
+ $this->boundStreamId = $boundStreamId;
+ }
+ public function getBoundStreamId()
+ {
+ return $this->boundStreamId;
+ }
+ public function setBoundStreamLastUpdateTimeMs($boundStreamLastUpdateTimeMs)
+ {
+ $this->boundStreamLastUpdateTimeMs = $boundStreamLastUpdateTimeMs;
+ }
+ public function getBoundStreamLastUpdateTimeMs()
+ {
+ return $this->boundStreamLastUpdateTimeMs;
+ }
+ public function setClosedCaptionsType($closedCaptionsType)
+ {
+ $this->closedCaptionsType = $closedCaptionsType;
+ }
+ public function getClosedCaptionsType()
+ {
+ return $this->closedCaptionsType;
+ }
+ 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 setEnableLowLatency($enableLowLatency)
+ {
+ $this->enableLowLatency = $enableLowLatency;
+ }
+ public function getEnableLowLatency()
+ {
+ return $this->enableLowLatency;
+ }
+ public function setMonitorStream(Google_Service_YouTube_MonitorStreamInfo $monitorStream)
+ {
+ $this->monitorStream = $monitorStream;
+ }
+ public function getMonitorStream()
+ {
+ return $this->monitorStream;
+ }
+ public function setProjection($projection)
+ {
+ $this->projection = $projection;
+ }
+ public function getProjection()
+ {
+ return $this->projection;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastListResponse.php
new file mode 100644
index 00000000..f3a9725e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastListResponse.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveBroadcastListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_LiveBroadcast';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastSnippet.php
new file mode 100644
index 00000000..950e7776
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastSnippet.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveBroadcastSnippet extends Google_Model
+{
+ public $actualEndTime;
+ public $actualStartTime;
+ public $channelId;
+ public $description;
+ public $isDefaultBroadcast;
+ public $liveChatId;
+ public $publishedAt;
+ public $scheduledEndTime;
+ public $scheduledStartTime;
+ protected $thumbnailsType = '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 setIsDefaultBroadcast($isDefaultBroadcast)
+ {
+ $this->isDefaultBroadcast = $isDefaultBroadcast;
+ }
+ public function getIsDefaultBroadcast()
+ {
+ return $this->isDefaultBroadcast;
+ }
+ public function setLiveChatId($liveChatId)
+ {
+ $this->liveChatId = $liveChatId;
+ }
+ public function getLiveChatId()
+ {
+ return $this->liveChatId;
+ }
+ 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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastStatistics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastStatistics.php
new file mode 100644
index 00000000..6a4f8f3d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastStatistics.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveBroadcastStatistics extends Google_Model
+{
+ public $concurrentViewers;
+ public $totalChatCount;
+
+ public function setConcurrentViewers($concurrentViewers)
+ {
+ $this->concurrentViewers = $concurrentViewers;
+ }
+ public function getConcurrentViewers()
+ {
+ return $this->concurrentViewers;
+ }
+ public function setTotalChatCount($totalChatCount)
+ {
+ $this->totalChatCount = $totalChatCount;
+ }
+ public function getTotalChatCount()
+ {
+ return $this->totalChatCount;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastStatus.php
new file mode 100644
index 00000000..74e17468
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastStatus.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveBroadcastStatus extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopic.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopic.php
new file mode 100644
index 00000000..247b433f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopic.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveBroadcastTopic extends Google_Model
+{
+ protected $snippetType = 'Google_Service_YouTube_LiveBroadcastTopicSnippet';
+ protected $snippetDataType = '';
+ public $type;
+ public $unmatched;
+
+ public function setSnippet(Google_Service_YouTube_LiveBroadcastTopicSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUnmatched($unmatched)
+ {
+ $this->unmatched = $unmatched;
+ }
+ public function getUnmatched()
+ {
+ return $this->unmatched;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopicDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopicDetails.php
new file mode 100644
index 00000000..8cc4578e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopicDetails.php
@@ -0,0 +1,32 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveBroadcastTopicDetails extends Google_Collection
+{
+ protected $collection_key = 'topics';
+ protected $topicsType = 'Google_Service_YouTube_LiveBroadcastTopic';
+ protected $topicsDataType = 'array';
+
+ public function setTopics($topics)
+ {
+ $this->topics = $topics;
+ }
+ public function getTopics()
+ {
+ return $this->topics;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopicSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopicSnippet.php
new file mode 100644
index 00000000..ad6724ee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopicSnippet.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveBroadcastTopicSnippet extends Google_Model
+{
+ public $name;
+ public $releaseDate;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setReleaseDate($releaseDate)
+ {
+ $this->releaseDate = $releaseDate;
+ }
+ public function getReleaseDate()
+ {
+ return $this->releaseDate;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatBan.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatBan.php
new file mode 100644
index 00000000..d835437d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatBan.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatBan extends Google_Model
+{
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_LiveChatBanSnippet';
+ 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(Google_Service_YouTube_LiveChatBanSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatBanSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatBanSnippet.php
new file mode 100644
index 00000000..cc595994
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatBanSnippet.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatBanSnippet extends Google_Model
+{
+ public $banDurationSeconds;
+ protected $bannedUserDetailsType = 'Google_Service_YouTube_ChannelProfileDetails';
+ protected $bannedUserDetailsDataType = '';
+ public $liveChatId;
+ public $type;
+
+ public function setBanDurationSeconds($banDurationSeconds)
+ {
+ $this->banDurationSeconds = $banDurationSeconds;
+ }
+ public function getBanDurationSeconds()
+ {
+ return $this->banDurationSeconds;
+ }
+ public function setBannedUserDetails(Google_Service_YouTube_ChannelProfileDetails $bannedUserDetails)
+ {
+ $this->bannedUserDetails = $bannedUserDetails;
+ }
+ public function getBannedUserDetails()
+ {
+ return $this->bannedUserDetails;
+ }
+ public function setLiveChatId($liveChatId)
+ {
+ $this->liveChatId = $liveChatId;
+ }
+ public function getLiveChatId()
+ {
+ return $this->liveChatId;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatFanFundingEventDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatFanFundingEventDetails.php
new file mode 100644
index 00000000..b7f316d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatFanFundingEventDetails.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatFanFundingEventDetails extends Google_Model
+{
+ public $amountDisplayString;
+ public $amountMicros;
+ public $currency;
+ public $userComment;
+
+ public function setAmountDisplayString($amountDisplayString)
+ {
+ $this->amountDisplayString = $amountDisplayString;
+ }
+ public function getAmountDisplayString()
+ {
+ return $this->amountDisplayString;
+ }
+ public function setAmountMicros($amountMicros)
+ {
+ $this->amountMicros = $amountMicros;
+ }
+ public function getAmountMicros()
+ {
+ return $this->amountMicros;
+ }
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+ public function setUserComment($userComment)
+ {
+ $this->userComment = $userComment;
+ }
+ public function getUserComment()
+ {
+ return $this->userComment;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessage.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessage.php
new file mode 100644
index 00000000..01bf15c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessage.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatMessage extends Google_Model
+{
+ protected $authorDetailsType = 'Google_Service_YouTube_LiveChatMessageAuthorDetails';
+ protected $authorDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_LiveChatMessageSnippet';
+ protected $snippetDataType = '';
+
+ public function setAuthorDetails(Google_Service_YouTube_LiveChatMessageAuthorDetails $authorDetails)
+ {
+ $this->authorDetails = $authorDetails;
+ }
+ public function getAuthorDetails()
+ {
+ return $this->authorDetails;
+ }
+ 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(Google_Service_YouTube_LiveChatMessageSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageAuthorDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageAuthorDetails.php
new file mode 100644
index 00000000..0f77bf66
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageAuthorDetails.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatMessageAuthorDetails extends Google_Model
+{
+ public $channelId;
+ public $channelUrl;
+ public $displayName;
+ public $isChatModerator;
+ public $isChatOwner;
+ public $isChatSponsor;
+ public $isVerified;
+ public $profileImageUrl;
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setChannelUrl($channelUrl)
+ {
+ $this->channelUrl = $channelUrl;
+ }
+ public function getChannelUrl()
+ {
+ return $this->channelUrl;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setIsChatModerator($isChatModerator)
+ {
+ $this->isChatModerator = $isChatModerator;
+ }
+ public function getIsChatModerator()
+ {
+ return $this->isChatModerator;
+ }
+ public function setIsChatOwner($isChatOwner)
+ {
+ $this->isChatOwner = $isChatOwner;
+ }
+ public function getIsChatOwner()
+ {
+ return $this->isChatOwner;
+ }
+ public function setIsChatSponsor($isChatSponsor)
+ {
+ $this->isChatSponsor = $isChatSponsor;
+ }
+ public function getIsChatSponsor()
+ {
+ return $this->isChatSponsor;
+ }
+ public function setIsVerified($isVerified)
+ {
+ $this->isVerified = $isVerified;
+ }
+ public function getIsVerified()
+ {
+ return $this->isVerified;
+ }
+ public function setProfileImageUrl($profileImageUrl)
+ {
+ $this->profileImageUrl = $profileImageUrl;
+ }
+ public function getProfileImageUrl()
+ {
+ return $this->profileImageUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageDeletedDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageDeletedDetails.php
new file mode 100644
index 00000000..8d5b7ecb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageDeletedDetails.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatMessageDeletedDetails extends Google_Model
+{
+ public $deletedMessageId;
+
+ public function setDeletedMessageId($deletedMessageId)
+ {
+ $this->deletedMessageId = $deletedMessageId;
+ }
+ public function getDeletedMessageId()
+ {
+ return $this->deletedMessageId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageListResponse.php
new file mode 100644
index 00000000..c3e5b326
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageListResponse.php
@@ -0,0 +1,115 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatMessageListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_LiveChatMessage';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $offlineAt;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $pollingIntervalMillis;
+ protected $tokenPaginationType = '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 setOfflineAt($offlineAt)
+ {
+ $this->offlineAt = $offlineAt;
+ }
+ public function getOfflineAt()
+ {
+ return $this->offlineAt;
+ }
+ public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setPollingIntervalMillis($pollingIntervalMillis)
+ {
+ $this->pollingIntervalMillis = $pollingIntervalMillis;
+ }
+ public function getPollingIntervalMillis()
+ {
+ return $this->pollingIntervalMillis;
+ }
+ public function setTokenPagination(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageRetractedDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageRetractedDetails.php
new file mode 100644
index 00000000..9a84f4f2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageRetractedDetails.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatMessageRetractedDetails extends Google_Model
+{
+ public $retractedMessageId;
+
+ public function setRetractedMessageId($retractedMessageId)
+ {
+ $this->retractedMessageId = $retractedMessageId;
+ }
+ public function getRetractedMessageId()
+ {
+ return $this->retractedMessageId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageSnippet.php
new file mode 100644
index 00000000..b7f6250b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageSnippet.php
@@ -0,0 +1,175 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatMessageSnippet extends Google_Model
+{
+ public $authorChannelId;
+ public $displayMessage;
+ protected $fanFundingEventDetailsType = 'Google_Service_YouTube_LiveChatFanFundingEventDetails';
+ protected $fanFundingEventDetailsDataType = '';
+ public $hasDisplayContent;
+ public $liveChatId;
+ protected $messageDeletedDetailsType = 'Google_Service_YouTube_LiveChatMessageDeletedDetails';
+ protected $messageDeletedDetailsDataType = '';
+ protected $messageRetractedDetailsType = 'Google_Service_YouTube_LiveChatMessageRetractedDetails';
+ protected $messageRetractedDetailsDataType = '';
+ protected $pollClosedDetailsType = 'Google_Service_YouTube_LiveChatPollClosedDetails';
+ protected $pollClosedDetailsDataType = '';
+ protected $pollEditedDetailsType = 'Google_Service_YouTube_LiveChatPollEditedDetails';
+ protected $pollEditedDetailsDataType = '';
+ protected $pollOpenedDetailsType = 'Google_Service_YouTube_LiveChatPollOpenedDetails';
+ protected $pollOpenedDetailsDataType = '';
+ protected $pollVotedDetailsType = 'Google_Service_YouTube_LiveChatPollVotedDetails';
+ protected $pollVotedDetailsDataType = '';
+ public $publishedAt;
+ protected $superChatDetailsType = 'Google_Service_YouTube_LiveChatSuperChatDetails';
+ protected $superChatDetailsDataType = '';
+ protected $textMessageDetailsType = 'Google_Service_YouTube_LiveChatTextMessageDetails';
+ protected $textMessageDetailsDataType = '';
+ public $type;
+ protected $userBannedDetailsType = 'Google_Service_YouTube_LiveChatUserBannedMessageDetails';
+ protected $userBannedDetailsDataType = '';
+
+ public function setAuthorChannelId($authorChannelId)
+ {
+ $this->authorChannelId = $authorChannelId;
+ }
+ public function getAuthorChannelId()
+ {
+ return $this->authorChannelId;
+ }
+ public function setDisplayMessage($displayMessage)
+ {
+ $this->displayMessage = $displayMessage;
+ }
+ public function getDisplayMessage()
+ {
+ return $this->displayMessage;
+ }
+ public function setFanFundingEventDetails(Google_Service_YouTube_LiveChatFanFundingEventDetails $fanFundingEventDetails)
+ {
+ $this->fanFundingEventDetails = $fanFundingEventDetails;
+ }
+ public function getFanFundingEventDetails()
+ {
+ return $this->fanFundingEventDetails;
+ }
+ public function setHasDisplayContent($hasDisplayContent)
+ {
+ $this->hasDisplayContent = $hasDisplayContent;
+ }
+ public function getHasDisplayContent()
+ {
+ return $this->hasDisplayContent;
+ }
+ public function setLiveChatId($liveChatId)
+ {
+ $this->liveChatId = $liveChatId;
+ }
+ public function getLiveChatId()
+ {
+ return $this->liveChatId;
+ }
+ public function setMessageDeletedDetails(Google_Service_YouTube_LiveChatMessageDeletedDetails $messageDeletedDetails)
+ {
+ $this->messageDeletedDetails = $messageDeletedDetails;
+ }
+ public function getMessageDeletedDetails()
+ {
+ return $this->messageDeletedDetails;
+ }
+ public function setMessageRetractedDetails(Google_Service_YouTube_LiveChatMessageRetractedDetails $messageRetractedDetails)
+ {
+ $this->messageRetractedDetails = $messageRetractedDetails;
+ }
+ public function getMessageRetractedDetails()
+ {
+ return $this->messageRetractedDetails;
+ }
+ public function setPollClosedDetails(Google_Service_YouTube_LiveChatPollClosedDetails $pollClosedDetails)
+ {
+ $this->pollClosedDetails = $pollClosedDetails;
+ }
+ public function getPollClosedDetails()
+ {
+ return $this->pollClosedDetails;
+ }
+ public function setPollEditedDetails(Google_Service_YouTube_LiveChatPollEditedDetails $pollEditedDetails)
+ {
+ $this->pollEditedDetails = $pollEditedDetails;
+ }
+ public function getPollEditedDetails()
+ {
+ return $this->pollEditedDetails;
+ }
+ public function setPollOpenedDetails(Google_Service_YouTube_LiveChatPollOpenedDetails $pollOpenedDetails)
+ {
+ $this->pollOpenedDetails = $pollOpenedDetails;
+ }
+ public function getPollOpenedDetails()
+ {
+ return $this->pollOpenedDetails;
+ }
+ public function setPollVotedDetails(Google_Service_YouTube_LiveChatPollVotedDetails $pollVotedDetails)
+ {
+ $this->pollVotedDetails = $pollVotedDetails;
+ }
+ public function getPollVotedDetails()
+ {
+ return $this->pollVotedDetails;
+ }
+ public function setPublishedAt($publishedAt)
+ {
+ $this->publishedAt = $publishedAt;
+ }
+ public function getPublishedAt()
+ {
+ return $this->publishedAt;
+ }
+ public function setSuperChatDetails(Google_Service_YouTube_LiveChatSuperChatDetails $superChatDetails)
+ {
+ $this->superChatDetails = $superChatDetails;
+ }
+ public function getSuperChatDetails()
+ {
+ return $this->superChatDetails;
+ }
+ public function setTextMessageDetails(Google_Service_YouTube_LiveChatTextMessageDetails $textMessageDetails)
+ {
+ $this->textMessageDetails = $textMessageDetails;
+ }
+ public function getTextMessageDetails()
+ {
+ return $this->textMessageDetails;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUserBannedDetails(Google_Service_YouTube_LiveChatUserBannedMessageDetails $userBannedDetails)
+ {
+ $this->userBannedDetails = $userBannedDetails;
+ }
+ public function getUserBannedDetails()
+ {
+ return $this->userBannedDetails;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModerator.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModerator.php
new file mode 100644
index 00000000..29b77e03
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModerator.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatModerator extends Google_Model
+{
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_LiveChatModeratorSnippet';
+ 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(Google_Service_YouTube_LiveChatModeratorSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModeratorListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModeratorListResponse.php
new file mode 100644
index 00000000..7655eb94
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModeratorListResponse.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatModeratorListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_LiveChatModerator';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModeratorSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModeratorSnippet.php
new file mode 100644
index 00000000..b3581c77
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModeratorSnippet.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatModeratorSnippet extends Google_Model
+{
+ public $liveChatId;
+ protected $moderatorDetailsType = 'Google_Service_YouTube_ChannelProfileDetails';
+ protected $moderatorDetailsDataType = '';
+
+ public function setLiveChatId($liveChatId)
+ {
+ $this->liveChatId = $liveChatId;
+ }
+ public function getLiveChatId()
+ {
+ return $this->liveChatId;
+ }
+ public function setModeratorDetails(Google_Service_YouTube_ChannelProfileDetails $moderatorDetails)
+ {
+ $this->moderatorDetails = $moderatorDetails;
+ }
+ public function getModeratorDetails()
+ {
+ return $this->moderatorDetails;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollClosedDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollClosedDetails.php
new file mode 100644
index 00000000..a720614b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollClosedDetails.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatPollClosedDetails extends Google_Model
+{
+ public $pollId;
+
+ public function setPollId($pollId)
+ {
+ $this->pollId = $pollId;
+ }
+ public function getPollId()
+ {
+ return $this->pollId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollEditedDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollEditedDetails.php
new file mode 100644
index 00000000..d34084fa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollEditedDetails.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatPollEditedDetails extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_YouTube_LiveChatPollItem';
+ protected $itemsDataType = 'array';
+ public $prompt;
+
+ 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 setPrompt($prompt)
+ {
+ $this->prompt = $prompt;
+ }
+ public function getPrompt()
+ {
+ return $this->prompt;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollItem.php
new file mode 100644
index 00000000..cfc23838
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollItem.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatPollItem extends Google_Model
+{
+ public $description;
+ public $itemId;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setItemId($itemId)
+ {
+ $this->itemId = $itemId;
+ }
+ public function getItemId()
+ {
+ return $this->itemId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollOpenedDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollOpenedDetails.php
new file mode 100644
index 00000000..b63881d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollOpenedDetails.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatPollOpenedDetails extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_YouTube_LiveChatPollItem';
+ protected $itemsDataType = 'array';
+ public $prompt;
+
+ 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 setPrompt($prompt)
+ {
+ $this->prompt = $prompt;
+ }
+ public function getPrompt()
+ {
+ return $this->prompt;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollVotedDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollVotedDetails.php
new file mode 100644
index 00000000..5ffc4229
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollVotedDetails.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatPollVotedDetails extends Google_Model
+{
+ public $itemId;
+ public $pollId;
+
+ public function setItemId($itemId)
+ {
+ $this->itemId = $itemId;
+ }
+ public function getItemId()
+ {
+ return $this->itemId;
+ }
+ public function setPollId($pollId)
+ {
+ $this->pollId = $pollId;
+ }
+ public function getPollId()
+ {
+ return $this->pollId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatSuperChatDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatSuperChatDetails.php
new file mode 100644
index 00000000..0d66d058
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatSuperChatDetails.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatSuperChatDetails extends Google_Model
+{
+ public $amountDisplayString;
+ public $amountMicros;
+ public $currency;
+ public $tier;
+ public $userComment;
+
+ public function setAmountDisplayString($amountDisplayString)
+ {
+ $this->amountDisplayString = $amountDisplayString;
+ }
+ public function getAmountDisplayString()
+ {
+ return $this->amountDisplayString;
+ }
+ public function setAmountMicros($amountMicros)
+ {
+ $this->amountMicros = $amountMicros;
+ }
+ public function getAmountMicros()
+ {
+ return $this->amountMicros;
+ }
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+ public function setTier($tier)
+ {
+ $this->tier = $tier;
+ }
+ public function getTier()
+ {
+ return $this->tier;
+ }
+ public function setUserComment($userComment)
+ {
+ $this->userComment = $userComment;
+ }
+ public function getUserComment()
+ {
+ return $this->userComment;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatTextMessageDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatTextMessageDetails.php
new file mode 100644
index 00000000..c3708022
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatTextMessageDetails.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatTextMessageDetails extends Google_Model
+{
+ public $messageText;
+
+ public function setMessageText($messageText)
+ {
+ $this->messageText = $messageText;
+ }
+ public function getMessageText()
+ {
+ return $this->messageText;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatUserBannedMessageDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatUserBannedMessageDetails.php
new file mode 100644
index 00000000..317bcea2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatUserBannedMessageDetails.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveChatUserBannedMessageDetails extends Google_Model
+{
+ public $banDurationSeconds;
+ public $banType;
+ protected $bannedUserDetailsType = 'Google_Service_YouTube_ChannelProfileDetails';
+ protected $bannedUserDetailsDataType = '';
+
+ public function setBanDurationSeconds($banDurationSeconds)
+ {
+ $this->banDurationSeconds = $banDurationSeconds;
+ }
+ public function getBanDurationSeconds()
+ {
+ return $this->banDurationSeconds;
+ }
+ public function setBanType($banType)
+ {
+ $this->banType = $banType;
+ }
+ public function getBanType()
+ {
+ return $this->banType;
+ }
+ public function setBannedUserDetails(Google_Service_YouTube_ChannelProfileDetails $bannedUserDetails)
+ {
+ $this->bannedUserDetails = $bannedUserDetails;
+ }
+ public function getBannedUserDetails()
+ {
+ return $this->bannedUserDetails;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStream.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStream.php
new file mode 100644
index 00000000..a768fa85
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStream.php
@@ -0,0 +1,88 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveStream extends Google_Model
+{
+ protected $cdnType = 'Google_Service_YouTube_CdnSettings';
+ protected $cdnDataType = '';
+ protected $contentDetailsType = 'Google_Service_YouTube_LiveStreamContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_LiveStreamSnippet';
+ protected $snippetDataType = '';
+ protected $statusType = 'Google_Service_YouTube_LiveStreamStatus';
+ protected $statusDataType = '';
+
+ public function setCdn(Google_Service_YouTube_CdnSettings $cdn)
+ {
+ $this->cdn = $cdn;
+ }
+ public function getCdn()
+ {
+ return $this->cdn;
+ }
+ public function setContentDetails(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(Google_Service_YouTube_LiveStreamSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setStatus(Google_Service_YouTube_LiveStreamStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamConfigurationIssue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamConfigurationIssue.php
new file mode 100644
index 00000000..dc8e55aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamConfigurationIssue.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveStreamConfigurationIssue extends Google_Model
+{
+ public $description;
+ public $reason;
+ public $severity;
+ public $type;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamContentDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamContentDetails.php
new file mode 100644
index 00000000..d6ad34e1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamContentDetails.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveStreamContentDetails extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamHealthStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamHealthStatus.php
new file mode 100644
index 00000000..5d1f3ae4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamHealthStatus.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveStreamHealthStatus extends Google_Collection
+{
+ protected $collection_key = 'configurationIssues';
+ protected $configurationIssuesType = 'Google_Service_YouTube_LiveStreamConfigurationIssue';
+ protected $configurationIssuesDataType = 'array';
+ public $lastUpdateTimeSeconds;
+ public $status;
+
+ public function setConfigurationIssues($configurationIssues)
+ {
+ $this->configurationIssues = $configurationIssues;
+ }
+ public function getConfigurationIssues()
+ {
+ return $this->configurationIssues;
+ }
+ public function setLastUpdateTimeSeconds($lastUpdateTimeSeconds)
+ {
+ $this->lastUpdateTimeSeconds = $lastUpdateTimeSeconds;
+ }
+ public function getLastUpdateTimeSeconds()
+ {
+ return $this->lastUpdateTimeSeconds;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamListResponse.php
new file mode 100644
index 00000000..d6b312b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamListResponse.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveStreamListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_LiveStream';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamSnippet.php
new file mode 100644
index 00000000..8b2a2ba0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamSnippet.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveStreamSnippet extends Google_Model
+{
+ public $channelId;
+ public $description;
+ public $isDefaultStream;
+ 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 setIsDefaultStream($isDefaultStream)
+ {
+ $this->isDefaultStream = $isDefaultStream;
+ }
+ public function getIsDefaultStream()
+ {
+ return $this->isDefaultStream;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamStatus.php
new file mode 100644
index 00000000..fe1084a1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamStatus.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LiveStreamStatus extends Google_Model
+{
+ protected $healthStatusType = 'Google_Service_YouTube_LiveStreamHealthStatus';
+ protected $healthStatusDataType = '';
+ public $streamStatus;
+
+ public function setHealthStatus(Google_Service_YouTube_LiveStreamHealthStatus $healthStatus)
+ {
+ $this->healthStatus = $healthStatus;
+ }
+ public function getHealthStatus()
+ {
+ return $this->healthStatus;
+ }
+ public function setStreamStatus($streamStatus)
+ {
+ $this->streamStatus = $streamStatus;
+ }
+ public function getStreamStatus()
+ {
+ return $this->streamStatus;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LocalizedProperty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LocalizedProperty.php
new file mode 100644
index 00000000..fd69cd81
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LocalizedProperty.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LocalizedProperty extends Google_Collection
+{
+ protected $collection_key = 'localized';
+ public $default;
+ protected $defaultLanguageType = 'Google_Service_YouTube_LanguageTag';
+ protected $defaultLanguageDataType = '';
+ protected $localizedType = 'Google_Service_YouTube_LocalizedString';
+ protected $localizedDataType = 'array';
+
+ public function setDefault($default)
+ {
+ $this->default = $default;
+ }
+ public function getDefault()
+ {
+ return $this->default;
+ }
+ public function setDefaultLanguage(Google_Service_YouTube_LanguageTag $defaultLanguage)
+ {
+ $this->defaultLanguage = $defaultLanguage;
+ }
+ public function getDefaultLanguage()
+ {
+ return $this->defaultLanguage;
+ }
+ public function setLocalized($localized)
+ {
+ $this->localized = $localized;
+ }
+ public function getLocalized()
+ {
+ return $this->localized;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LocalizedString.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LocalizedString.php
new file mode 100644
index 00000000..49c26622
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LocalizedString.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_LocalizedString extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/MonitorStreamInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/MonitorStreamInfo.php
new file mode 100644
index 00000000..abaf875f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/MonitorStreamInfo.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_MonitorStreamInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PageInfo.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PageInfo.php
new file mode 100644
index 00000000..186195dd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PageInfo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_PageInfo extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Playlist.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Playlist.php
new file mode 100644
index 00000000..ae07be22
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Playlist.php
@@ -0,0 +1,98 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_Playlist extends Google_Model
+{
+ protected $contentDetailsType = 'Google_Service_YouTube_PlaylistContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $localizationsType = 'Google_Service_YouTube_PlaylistLocalization';
+ protected $localizationsDataType = 'map';
+ protected $playerType = 'Google_Service_YouTube_PlaylistPlayer';
+ protected $playerDataType = '';
+ protected $snippetType = 'Google_Service_YouTube_PlaylistSnippet';
+ protected $snippetDataType = '';
+ protected $statusType = 'Google_Service_YouTube_PlaylistStatus';
+ protected $statusDataType = '';
+
+ public function setContentDetails(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 setLocalizations($localizations)
+ {
+ $this->localizations = $localizations;
+ }
+ public function getLocalizations()
+ {
+ return $this->localizations;
+ }
+ public function setPlayer(Google_Service_YouTube_PlaylistPlayer $player)
+ {
+ $this->player = $player;
+ }
+ public function getPlayer()
+ {
+ return $this->player;
+ }
+ public function setSnippet(Google_Service_YouTube_PlaylistSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setStatus(Google_Service_YouTube_PlaylistStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistContentDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistContentDetails.php
new file mode 100644
index 00000000..bd6ba396
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistContentDetails.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_PlaylistContentDetails extends Google_Model
+{
+ public $itemCount;
+
+ public function setItemCount($itemCount)
+ {
+ $this->itemCount = $itemCount;
+ }
+ public function getItemCount()
+ {
+ return $this->itemCount;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItem.php
new file mode 100644
index 00000000..04682ef9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItem.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_PlaylistItem extends Google_Model
+{
+ protected $contentDetailsType = 'Google_Service_YouTube_PlaylistItemContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_PlaylistItemSnippet';
+ protected $snippetDataType = '';
+ protected $statusType = 'Google_Service_YouTube_PlaylistItemStatus';
+ protected $statusDataType = '';
+
+ public function setContentDetails(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(Google_Service_YouTube_PlaylistItemSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setStatus(Google_Service_YouTube_PlaylistItemStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemContentDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemContentDetails.php
new file mode 100644
index 00000000..2799050d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemContentDetails.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_PlaylistItemContentDetails extends Google_Model
+{
+ public $endAt;
+ public $note;
+ public $startAt;
+ public $videoId;
+ public $videoPublishedAt;
+
+ 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;
+ }
+ public function setVideoPublishedAt($videoPublishedAt)
+ {
+ $this->videoPublishedAt = $videoPublishedAt;
+ }
+ public function getVideoPublishedAt()
+ {
+ return $this->videoPublishedAt;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemListResponse.php
new file mode 100644
index 00000000..ae601848
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemListResponse.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_PlaylistItemListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_PlaylistItem';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemSnippet.php
new file mode 100644
index 00000000..c837145f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemSnippet.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_PlaylistItemSnippet extends Google_Model
+{
+ public $channelId;
+ public $channelTitle;
+ public $description;
+ public $playlistId;
+ public $position;
+ public $publishedAt;
+ protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+ protected $thumbnailsType = '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(Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setThumbnails(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemStatus.php
new file mode 100644
index 00000000..369bea1c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemStatus.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_PlaylistItemStatus extends Google_Model
+{
+ public $privacyStatus;
+
+ public function setPrivacyStatus($privacyStatus)
+ {
+ $this->privacyStatus = $privacyStatus;
+ }
+ public function getPrivacyStatus()
+ {
+ return $this->privacyStatus;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistListResponse.php
new file mode 100644
index 00000000..1728d214
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistListResponse.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_PlaylistListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_Playlist';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistLocalization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistLocalization.php
new file mode 100644
index 00000000..15dc4243
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistLocalization.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_PlaylistLocalization extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistPlayer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistPlayer.php
new file mode 100644
index 00000000..2689dc13
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistPlayer.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_PlaylistPlayer extends Google_Model
+{
+ public $embedHtml;
+
+ public function setEmbedHtml($embedHtml)
+ {
+ $this->embedHtml = $embedHtml;
+ }
+ public function getEmbedHtml()
+ {
+ return $this->embedHtml;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistSnippet.php
new file mode 100644
index 00000000..89e191cf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistSnippet.php
@@ -0,0 +1,105 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_PlaylistSnippet extends Google_Collection
+{
+ protected $collection_key = 'tags';
+ public $channelId;
+ public $channelTitle;
+ public $defaultLanguage;
+ public $description;
+ protected $localizedType = 'Google_Service_YouTube_PlaylistLocalization';
+ protected $localizedDataType = '';
+ public $publishedAt;
+ public $tags;
+ protected $thumbnailsType = '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 setDefaultLanguage($defaultLanguage)
+ {
+ $this->defaultLanguage = $defaultLanguage;
+ }
+ public function getDefaultLanguage()
+ {
+ return $this->defaultLanguage;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setLocalized(Google_Service_YouTube_PlaylistLocalization $localized)
+ {
+ $this->localized = $localized;
+ }
+ public function getLocalized()
+ {
+ return $this->localized;
+ }
+ 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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistStatus.php
new file mode 100644
index 00000000..3d9ddb5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistStatus.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_PlaylistStatus extends Google_Model
+{
+ public $privacyStatus;
+
+ public function setPrivacyStatus($privacyStatus)
+ {
+ $this->privacyStatus = $privacyStatus;
+ }
+ public function getPrivacyStatus()
+ {
+ return $this->privacyStatus;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PromotedItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PromotedItem.php
new file mode 100644
index 00000000..7d39b65d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PromotedItem.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_PromotedItem extends Google_Model
+{
+ public $customMessage;
+ protected $idType = 'Google_Service_YouTube_PromotedItemId';
+ protected $idDataType = '';
+ public $promotedByContentOwner;
+ protected $timingType = 'Google_Service_YouTube_InvideoTiming';
+ protected $timingDataType = '';
+
+ public function setCustomMessage($customMessage)
+ {
+ $this->customMessage = $customMessage;
+ }
+ public function getCustomMessage()
+ {
+ return $this->customMessage;
+ }
+ public function setId(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(Google_Service_YouTube_InvideoTiming $timing)
+ {
+ $this->timing = $timing;
+ }
+ public function getTiming()
+ {
+ return $this->timing;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PromotedItemId.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PromotedItemId.php
new file mode 100644
index 00000000..64f3b33c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PromotedItemId.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_PromotedItemId extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PropertyValue.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PropertyValue.php
new file mode 100644
index 00000000..23e2a2bd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PropertyValue.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_PropertyValue extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Activities.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Activities.php
new file mode 100644
index 00000000..eb30ba16
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Activities.php
@@ -0,0 +1,109 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "activities" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $activities = $youtubeService->activities;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_Activities extends 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.
+ * @param Google_Service_YouTube_Activity $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTube_Activity
+ */
+ public function insert($part, Google_Service_YouTube_Activity $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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.
+ *
+ * If the parameter identifies a property that contains child properties, the
+ * child properties will be included in the response. For example, in an
+ * 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 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 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 maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ * @opt_param bool mine Set this parameter's value to true to retrieve a feed of
+ * the authenticated user's activities.
+ * @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 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.
+ * @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 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.
+ * @return 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), "Google_Service_YouTube_ActivityListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Captions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Captions.php
new file mode 100644
index 00000000..3335b6ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Captions.php
@@ -0,0 +1,215 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "captions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $captions = $youtubeService->captions;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_Captions extends Google_Service_Resource
+{
+ /**
+ * Deletes a specified caption track. (captions.delete)
+ *
+ * @param string $id The id parameter identifies the caption track that is being
+ * deleted. The value is a caption track ID as identified by the id property in
+ * a caption resource.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the
+ * request is be on behalf of
+ * @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));
+ }
+ /**
+ * Downloads a caption track. The caption track is returned in its original
+ * format unless the request specifies a value for the tfmt parameter and in its
+ * original language unless the request specifies a value for the tlang
+ * parameter. (captions.download)
+ *
+ * @param string $id The id parameter identifies the caption track that is being
+ * retrieved. The value is a caption track ID as identified by the id property
+ * in a caption resource.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the
+ * request is be on behalf of
+ * @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.
+ * @opt_param string tfmt The tfmt parameter specifies that the caption track
+ * should be returned in a specific format. If the parameter is not included in
+ * the request, the track is returned in its original format.
+ * @opt_param string tlang The tlang parameter specifies that the API response
+ * should return a translation of the specified caption track. The parameter
+ * value is an ISO 639-1 two-letter language code that identifies the desired
+ * caption language. The translation is generated by using machine translation,
+ * such as Google Translate.
+ */
+ public function download($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('download', array($params));
+ }
+ /**
+ * Uploads a caption track. (captions.insert)
+ *
+ * @param string $part The part parameter specifies the caption resource parts
+ * that the API response will include. Set the parameter value to snippet.
+ * @param Google_Service_YouTube_Caption $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the
+ * request is be on behalf of
+ * @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.
+ * @opt_param bool sync The sync parameter indicates whether YouTube should
+ * automatically synchronize the caption file with the audio track of the video.
+ * If you set the value to true, YouTube will disregard any time codes that are
+ * in the uploaded caption file and generate new time codes for the captions.
+ *
+ * You should set the sync parameter to true if you are uploading a transcript,
+ * which has no time codes, or if you suspect the time codes in your file are
+ * incorrect and want YouTube to try to fix them.
+ * @return Google_Service_YouTube_Caption
+ */
+ public function insert($part, Google_Service_YouTube_Caption $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_YouTube_Caption");
+ }
+ /**
+ * Returns a list of caption tracks that are associated with a specified video.
+ * Note that the API response does not contain the actual captions and that the
+ * captions.download method provides the ability to retrieve a caption track.
+ * (captions.listCaptions)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more caption resource parts that the API response will include. The
+ * part names that you can include in the parameter value are id and snippet.
+ * @param string $videoId The videoId parameter specifies the YouTube video ID
+ * of the video for which the API should return caption tracks.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string id The id parameter specifies a comma-separated list of IDs
+ * that identify the caption resources that should be retrieved. Each ID must
+ * identify a caption track associated with the specified video.
+ * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the
+ * request is on behalf of.
+ * @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 Google_Service_YouTube_CaptionListResponse
+ */
+ public function listCaptions($part, $videoId, $optParams = array())
+ {
+ $params = array('part' => $part, 'videoId' => $videoId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_CaptionListResponse");
+ }
+ /**
+ * Updates a caption track. When updating a caption track, you can change the
+ * track's draft status, upload a new caption file for the track, or both.
+ * (captions.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. Set the property value to
+ * snippet if you are updating the track's draft status. Otherwise, set the
+ * property value to id.
+ * @param Google_Service_YouTube_Caption $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the
+ * request is be on behalf of
+ * @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.
+ * @opt_param bool sync Note: The API server only processes the parameter value
+ * if the request contains an updated caption file.
+ *
+ * The sync parameter indicates whether YouTube should automatically synchronize
+ * the caption file with the audio track of the video. If you set the value to
+ * true, YouTube will automatically synchronize the caption track with the audio
+ * track.
+ * @return Google_Service_YouTube_Caption
+ */
+ public function update($part, Google_Service_YouTube_Caption $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTube_Caption");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/ChannelBanners.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/ChannelBanners.php
new file mode 100644
index 00000000..c03b33d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/ChannelBanners.php
@@ -0,0 +1,62 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "channelBanners" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $channelBanners = $youtubeService->channelBanners;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_ChannelBanners extends 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 Google_Service_YouTube_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 Google_Service_YouTube_ChannelBannerResource
+ */
+ public function insert(Google_Service_YouTube_ChannelBannerResource $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_YouTube_ChannelBannerResource");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/ChannelSections.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/ChannelSections.php
new file mode 100644
index 00000000..2ad138f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/ChannelSections.php
@@ -0,0 +1,190 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "channelSections" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $channelSections = $youtubeService->channelSections;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_ChannelSections extends 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 Google_Service_YouTube_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.
+ * @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.
+ * @return Google_Service_YouTube_ChannelSection
+ */
+ public function insert($part, Google_Service_YouTube_ChannelSection $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 channelId The channelId parameter specifies a YouTube
+ * channel ID. The API will only return that channel's channelSections.
+ * @opt_param string hl The hl parameter indicates that the snippet.localized
+ * property values in the returned channelSection resources should be in the
+ * specified language if localized values for that language are available. For
+ * example, if the API request specifies hl=de, the snippet.localized properties
+ * in the API response will contain German titles if German titles are
+ * available. Channel owners can provide localized channel section titles using
+ * either the channelSections.insert or channelSections.update method.
+ * @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.
+ * @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 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), "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 Google_Service_YouTube_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 Google_Service_YouTube_ChannelSection
+ */
+ public function update($part, Google_Service_YouTube_ChannelSection $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTube_ChannelSection");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Channels.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Channels.php
new file mode 100644
index 00000000..cc79713c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Channels.php
@@ -0,0 +1,126 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "channels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $channels = $youtubeService->channels;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_Channels extends 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.
+ *
+ * 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 string categoryId The categoryId parameter specifies a YouTube
+ * guide category, thereby requesting YouTube channels associated with that
+ * category.
+ * @opt_param string forUsername The forUsername parameter specifies a YouTube
+ * username, thereby requesting the channel associated with that username.
+ * @opt_param string hl The hl parameter should be used for filter out the
+ * properties that are not in the given language. Used for the brandingSettings
+ * part.
+ * @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 bool managedByMe Note: This parameter is intended exclusively for
+ * YouTube content partners.
+ *
+ * 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 maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ * @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 bool mySubscribers Use the subscriptions.list method and its
+ * mySubscribers parameter to retrieve a list of subscribers to the
+ * authenticated user's 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 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.
+ * @return 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), "Google_Service_YouTube_ChannelListResponse");
+ }
+ /**
+ * Updates a channel's metadata. Note that this method currently only supports
+ * updates to the channel resource's brandingSettings and invideoPromotion
+ * objects and their child properties. (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 API currently only allows the parameter value to be set to either
+ * brandingSettings or invideoPromotion. (You cannot update both of those parts
+ * with a single request.)
+ *
+ * Note that this method overrides the existing values for all of the mutable
+ * properties that are contained in any parts that the parameter value
+ * specifies.
+ * @param Google_Service_YouTube_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 Google_Service_YouTube_Channel
+ */
+ public function update($part, Google_Service_YouTube_Channel $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTube_Channel");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/CommentThreads.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/CommentThreads.php
new file mode 100644
index 00000000..4e09a3ad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/CommentThreads.php
@@ -0,0 +1,121 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "commentThreads" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $commentThreads = $youtubeService->commentThreads;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_CommentThreads extends Google_Service_Resource
+{
+ /**
+ * Creates a new top-level comment. To add a reply to an existing comment, use
+ * the comments.insert method instead. (commentThreads.insert)
+ *
+ * @param string $part The part parameter identifies the properties that the API
+ * response will include. Set the parameter value to snippet. The snippet part
+ * has a quota cost of 2 units.
+ * @param Google_Service_YouTube_CommentThread $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTube_CommentThread
+ */
+ public function insert($part, Google_Service_YouTube_CommentThread $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_YouTube_CommentThread");
+ }
+ /**
+ * Returns a list of comment threads that match the API request parameters.
+ * (commentThreads.listCommentThreads)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more commentThread resource properties that the API response will
+ * include.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string allThreadsRelatedToChannelId The
+ * allThreadsRelatedToChannelId parameter instructs the API to return all
+ * comment threads associated with the specified channel. The response can
+ * include comments about the channel or about the channel's videos.
+ * @opt_param string channelId The channelId parameter instructs the API to
+ * return comment threads containing comments about the specified channel. (The
+ * response will not include comments left on videos that the channel uploaded.)
+ * @opt_param string id The id parameter specifies a comma-separated list of
+ * comment thread IDs for the resources that should be retrieved.
+ * @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 not supported for use in conjunction with the id
+ * parameter.
+ * @opt_param string moderationStatus Set this parameter to limit the returned
+ * comment threads to a particular moderation state.
+ *
+ * Note: This parameter is not supported for use in conjunction with the id
+ * parameter.
+ * @opt_param string order The order parameter specifies the order in which the
+ * API response should list comment threads. Valid values are: - time - Comment
+ * threads are ordered by time. This is the default behavior. - relevance -
+ * Comment threads are ordered by relevance.Note: This parameter 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 property identifies the next page of the result that can be
+ * retrieved.
+ *
+ * Note: This parameter is not supported for use in conjunction with the id
+ * parameter.
+ * @opt_param string searchTerms The searchTerms parameter instructs the API to
+ * limit the API response to only contain comments that contain the specified
+ * search terms.
+ *
+ * Note: This parameter is not supported for use in conjunction with the id
+ * parameter.
+ * @opt_param string textFormat Set this parameter's value to html or plainText
+ * to instruct the API to return the comments left by users in html formatted or
+ * in plain text.
+ * @opt_param string videoId The videoId parameter instructs the API to return
+ * comment threads associated with the specified video ID.
+ * @return Google_Service_YouTube_CommentThreadListResponse
+ */
+ public function listCommentThreads($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_CommentThreadListResponse");
+ }
+ /**
+ * Modifies the top-level comment in a comment thread. (commentThreads.update)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * commentThread resource properties that the API response will include. You
+ * must at least include the snippet part in the parameter value since that part
+ * contains all of the properties that the API request can update.
+ * @param Google_Service_YouTube_CommentThread $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTube_CommentThread
+ */
+ public function update($part, Google_Service_YouTube_CommentThread $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTube_CommentThread");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Comments.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Comments.php
new file mode 100644
index 00000000..44bb7f61
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Comments.php
@@ -0,0 +1,151 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "comments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $comments = $youtubeService->comments;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_Comments extends Google_Service_Resource
+{
+ /**
+ * Deletes a comment. (comments.delete)
+ *
+ * @param string $id The id parameter specifies the comment ID for the resource
+ * that is being deleted.
+ * @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 reply to an existing comment. Note: To create a top-level comment,
+ * use the commentThreads.insert method. (comments.insert)
+ *
+ * @param string $part The part parameter identifies the properties that the API
+ * response will include. Set the parameter value to snippet. The snippet part
+ * has a quota cost of 2 units.
+ * @param Google_Service_YouTube_Comment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTube_Comment
+ */
+ public function insert($part, Google_Service_YouTube_Comment $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_YouTube_Comment");
+ }
+ /**
+ * Returns a list of comments that match the API request parameters.
+ * (comments.listComments)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more comment resource properties that the API response will include.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string id The id parameter specifies a comma-separated list of
+ * comment IDs for the resources that are being retrieved. In a comment
+ * resource, the id property specifies the comment's ID.
+ * @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 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 property identifies the next page of the result that can be
+ * retrieved.
+ *
+ * Note: This parameter is not supported for use in conjunction with the id
+ * parameter.
+ * @opt_param string parentId The parentId parameter specifies the ID of the
+ * comment for which replies should be retrieved.
+ *
+ * Note: YouTube currently supports replies only for top-level comments.
+ * However, replies to replies may be supported in the future.
+ * @opt_param string textFormat This parameter indicates whether the API should
+ * return comments formatted as HTML or as plain text.
+ * @return Google_Service_YouTube_CommentListResponse
+ */
+ public function listComments($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_CommentListResponse");
+ }
+ /**
+ * Expresses the caller's opinion that one or more comments should be flagged as
+ * spam. (comments.markAsSpam)
+ *
+ * @param string $id The id parameter specifies a comma-separated list of IDs of
+ * comments that the caller believes should be classified as spam.
+ * @param array $optParams Optional parameters.
+ */
+ public function markAsSpam($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('markAsSpam', array($params));
+ }
+ /**
+ * Sets the moderation status of one or more comments. The API request must be
+ * authorized by the owner of the channel or video associated with the comments.
+ * (comments.setModerationStatus)
+ *
+ * @param string $id The id parameter specifies a comma-separated list of IDs
+ * that identify the comments for which you are updating the moderation status.
+ * @param string $moderationStatus Identifies the new moderation status of the
+ * specified comments.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool banAuthor The banAuthor parameter lets you indicate that you
+ * want to automatically reject any additional comments written by the comment's
+ * author. Set the parameter value to true to ban the author.
+ *
+ * Note: This parameter is only valid if the moderationStatus parameter is also
+ * set to rejected.
+ */
+ public function setModerationStatus($id, $moderationStatus, $optParams = array())
+ {
+ $params = array('id' => $id, 'moderationStatus' => $moderationStatus);
+ $params = array_merge($params, $optParams);
+ return $this->call('setModerationStatus', array($params));
+ }
+ /**
+ * Modifies a comment. (comments.update)
+ *
+ * @param string $part The part parameter identifies the properties that the API
+ * response will include. You must at least include the snippet part in the
+ * parameter value since that part contains all of the properties that the API
+ * request can update.
+ * @param Google_Service_YouTube_Comment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTube_Comment
+ */
+ public function update($part, Google_Service_YouTube_Comment $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTube_Comment");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/FanFundingEvents.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/FanFundingEvents.php
new file mode 100644
index 00000000..1a52421b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/FanFundingEvents.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "fanFundingEvents" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $fanFundingEvents = $youtubeService->fanFundingEvents;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_FanFundingEvents extends Google_Service_Resource
+{
+ /**
+ * Lists fan funding events for a channel.
+ * (fanFundingEvents.listFanFundingEvents)
+ *
+ * @param string $part The part parameter specifies the fanFundingEvent resource
+ * parts that the API response will include. Supported values are id and
+ * snippet.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string hl The hl parameter instructs the API to retrieve localized
+ * resource metadata for a specific application language that the YouTube
+ * website supports. The parameter value must be a language code included in the
+ * list returned by the i18nLanguages.list method.
+ *
+ * If localized resource details are available in that language, the resource's
+ * snippet.localized object will contain the localized values. However, if
+ * localized details are not available, the snippet.localized object will
+ * contain resource details in the resource's default language.
+ * @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.
+ * @return Google_Service_YouTube_FanFundingEventListResponse
+ */
+ public function listFanFundingEvents($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_FanFundingEventListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/GuideCategories.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/GuideCategories.php
new file mode 100644
index 00000000..6ca0020c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/GuideCategories.php
@@ -0,0 +1,54 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "guideCategories" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $guideCategories = $youtubeService->guideCategories;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_GuideCategories extends Google_Service_Resource
+{
+ /**
+ * Returns a list of categories that can be associated with YouTube channels.
+ * (guideCategories.listGuideCategories)
+ *
+ * @param string $part The part parameter specifies the guideCategory resource
+ * properties that the API response will include. Set the parameter value to
+ * snippet.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string hl The hl parameter specifies the language that will be
+ * used for text values in the API response.
+ * @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 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.
+ * @return 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), "Google_Service_YouTube_GuideCategoryListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/I18nLanguages.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/I18nLanguages.php
new file mode 100644
index 00000000..d6b11761
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/I18nLanguages.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "i18nLanguages" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $i18nLanguages = $youtubeService->i18nLanguages;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_I18nLanguages extends Google_Service_Resource
+{
+ /**
+ * Returns a list of application languages that the YouTube website supports.
+ * (i18nLanguages.listI18nLanguages)
+ *
+ * @param string $part The part parameter specifies the i18nLanguage resource
+ * properties that the API response will include. Set the parameter value to
+ * 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 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), "Google_Service_YouTube_I18nLanguageListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/I18nRegions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/I18nRegions.php
new file mode 100644
index 00000000..107f39fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/I18nRegions.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "i18nRegions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $i18nRegions = $youtubeService->i18nRegions;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_I18nRegions extends Google_Service_Resource
+{
+ /**
+ * Returns a list of content regions that the YouTube website supports.
+ * (i18nRegions.listI18nRegions)
+ *
+ * @param string $part The part parameter specifies the i18nRegion resource
+ * properties that the API response will include. Set the parameter value to
+ * 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 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), "Google_Service_YouTube_I18nRegionListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveBroadcasts.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveBroadcasts.php
new file mode 100644
index 00000000..ae19831b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveBroadcasts.php
@@ -0,0 +1,438 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "liveBroadcasts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $liveBroadcasts = $youtubeService->liveBroadcasts;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_LiveBroadcasts extends 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,
+ * though a video stream may be bound to more than one broadcast.
+ * (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 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 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 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), "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 bool displaySlate The displaySlate parameter specifies whether the
+ * slate is being enabled or disabled.
+ * @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 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 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 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), "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 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.
+ */
+ 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 Google_Service_YouTube_LiveBroadcast $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 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.
+ * @return Google_Service_YouTube_LiveBroadcast
+ */
+ public function insert($part, Google_Service_YouTube_LiveBroadcast $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 broadcastType The broadcastType parameter filters the API
+ * response to only include broadcasts with the specified type. This is only
+ * compatible with the mine filter for now.
+ * @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.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ * @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 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 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.
+ * @return 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), "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 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.
+ * @return 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), "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 Google_Service_YouTube_LiveBroadcast $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 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.
+ * @return Google_Service_YouTube_LiveBroadcast
+ */
+ public function update($part, Google_Service_YouTube_LiveBroadcast $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTube_LiveBroadcast");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatBans.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatBans.php
new file mode 100644
index 00000000..629393a0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatBans.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "liveChatBans" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $liveChatBans = $youtubeService->liveChatBans;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_LiveChatBans extends Google_Service_Resource
+{
+ /**
+ * Removes a chat ban. (liveChatBans.delete)
+ *
+ * @param string $id The id parameter identifies the chat ban to remove. The
+ * value uniquely identifies both the ban and the chat.
+ * @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 new ban to the chat. (liveChatBans.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 returns. Set the parameter value to snippet.
+ * @param Google_Service_YouTube_LiveChatBan $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTube_LiveChatBan
+ */
+ public function insert($part, Google_Service_YouTube_LiveChatBan $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_YouTube_LiveChatBan");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatMessages.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatMessages.php
new file mode 100644
index 00000000..46033d51
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatMessages.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "liveChatMessages" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $liveChatMessages = $youtubeService->liveChatMessages;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_LiveChatMessages extends Google_Service_Resource
+{
+ /**
+ * Deletes a chat message. (liveChatMessages.delete)
+ *
+ * @param string $id The id parameter specifies the YouTube chat message ID of
+ * the resource that is being deleted.
+ * @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 message to a live chat. (liveChatMessages.insert)
+ *
+ * @param string $part The part parameter serves two purposes. It identifies the
+ * properties that the write operation will set as well as the properties that
+ * the API response will include. Set the parameter value to snippet.
+ * @param Google_Service_YouTube_LiveChatMessage $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTube_LiveChatMessage
+ */
+ public function insert($part, Google_Service_YouTube_LiveChatMessage $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_YouTube_LiveChatMessage");
+ }
+ /**
+ * Lists live chat messages for a specific chat.
+ * (liveChatMessages.listLiveChatMessages)
+ *
+ * @param string $liveChatId The liveChatId parameter specifies the ID of the
+ * chat whose messages will be returned.
+ * @param string $part The part parameter specifies the liveChatComment resource
+ * parts that the API response will include. Supported values are id and
+ * snippet.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string hl The hl parameter instructs the API to retrieve localized
+ * resource metadata for a specific application language that the YouTube
+ * website supports. The parameter value must be a language code included in the
+ * list returned by the i18nLanguages.list method.
+ *
+ * If localized resource details are available in that language, the resource's
+ * snippet.localized object will contain the localized values. However, if
+ * localized details are not available, the snippet.localized object will
+ * contain resource details in the resource's default language.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of messages 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 property identify other pages that could be retrieved.
+ * @opt_param string profileImageSize The profileImageSize parameter specifies
+ * the size of the user profile pictures that should be returned in the result
+ * set. Default: 88.
+ * @return Google_Service_YouTube_LiveChatMessageListResponse
+ */
+ public function listLiveChatMessages($liveChatId, $part, $optParams = array())
+ {
+ $params = array('liveChatId' => $liveChatId, 'part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_LiveChatMessageListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatModerators.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatModerators.php
new file mode 100644
index 00000000..e9bd09f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatModerators.php
@@ -0,0 +1,81 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "liveChatModerators" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $liveChatModerators = $youtubeService->liveChatModerators;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_LiveChatModerators extends Google_Service_Resource
+{
+ /**
+ * Removes a chat moderator. (liveChatModerators.delete)
+ *
+ * @param string $id The id parameter identifies the chat moderator to remove.
+ * The value uniquely identifies both the moderator and the chat.
+ * @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 new moderator for the chat. (liveChatModerators.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 returns. Set the parameter value to snippet.
+ * @param Google_Service_YouTube_LiveChatModerator $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTube_LiveChatModerator
+ */
+ public function insert($part, Google_Service_YouTube_LiveChatModerator $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_YouTube_LiveChatModerator");
+ }
+ /**
+ * Lists moderators for a live chat. (liveChatModerators.listLiveChatModerators)
+ *
+ * @param string $liveChatId The liveChatId parameter specifies the YouTube live
+ * chat for which the API should return moderators.
+ * @param string $part The part parameter specifies the liveChatModerator
+ * resource parts that the API response will include. Supported values are id
+ * and snippet.
+ * @param array $optParams Optional parameters.
+ *
+ * @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.
+ * @return Google_Service_YouTube_LiveChatModeratorListResponse
+ */
+ public function listLiveChatModerators($liveChatId, $part, $optParams = array())
+ {
+ $params = array('liveChatId' => $liveChatId, 'part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_LiveChatModeratorListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveStreams.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveStreams.php
new file mode 100644
index 00000000..002da409
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveStreams.php
@@ -0,0 +1,244 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "liveStreams" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $liveStreams = $youtubeService->liveStreams;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_LiveStreams extends 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 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.
+ */
+ 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 Google_Service_YouTube_LiveStream $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 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.
+ * @return Google_Service_YouTube_LiveStream
+ */
+ public function insert($part, Google_Service_YouTube_LiveStream $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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 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.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ * @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 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 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.
+ * @return 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), "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 Google_Service_YouTube_LiveStream $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 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.
+ * @return Google_Service_YouTube_LiveStream
+ */
+ public function update($part, Google_Service_YouTube_LiveStream $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTube_LiveStream");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/PlaylistItems.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/PlaylistItems.php
new file mode 100644
index 00000000..1b2cc29d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/PlaylistItems.php
@@ -0,0 +1,178 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "playlistItems" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $playlistItems = $youtubeService->playlistItems;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_PlaylistItems extends 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.
+ *
+ * @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 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.
+ * @param Google_Service_YouTube_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 Google_Service_YouTube_PlaylistItem
+ */
+ public function insert($part, Google_Service_YouTube_PlaylistItem $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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.
+ *
+ * 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 id The id parameter specifies a comma-separated list of one
+ * or more unique playlist item IDs.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ * @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 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.
+ * @return 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), "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.
+ *
+ * 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 Google_Service_YouTube_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 Google_Service_YouTube_PlaylistItem
+ */
+ public function update($part, Google_Service_YouTube_PlaylistItem $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTube_PlaylistItem");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Playlists.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Playlists.php
new file mode 100644
index 00000000..cba9b15a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Playlists.php
@@ -0,0 +1,211 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "playlists" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $playlists = $youtubeService->playlists;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_Playlists extends 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.
+ * @param Google_Service_YouTube_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.
+ * @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.
+ * @return Google_Service_YouTube_Playlist
+ */
+ public function insert($part, Google_Service_YouTube_Playlist $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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.
+ *
+ * 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 channelId This value indicates that the API should only
+ * return the specified channel's playlists.
+ * @opt_param string hl The hl parameter should be used for filter out the
+ * properties that are not in the given language. Used for the snippet part.
+ * @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.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ * @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 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 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.
+ * @return 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), "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.
+ *
+ * Note that this method will override the existing values for mutable
+ * properties that are contained in any parts that the request body specifies.
+ * For example, a playlist's description is contained in the snippet part, which
+ * must be included in the request body. If the request does not specify a value
+ * for the snippet.description property, the playlist's existing description
+ * will be deleted.
+ * @param Google_Service_YouTube_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 Google_Service_YouTube_Playlist
+ */
+ public function update($part, Google_Service_YouTube_Playlist $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTube_Playlist");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Search.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Search.php
new file mode 100644
index 00000000..aa7dd4de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Search.php
@@ -0,0 +1,185 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "search" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $search = $youtubeService->search;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_Search extends 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.
+ * Set the parameter value to snippet.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string channelId The channelId parameter indicates that the API
+ * response should only contain resources created by the channel
+ * @opt_param string channelType The channelType parameter lets you restrict a
+ * search to a particular type of channel.
+ * @opt_param string eventType The eventType parameter restricts a search to
+ * broadcast events. If you specify a value for this parameter, you must also
+ * set the type parameter's value to video.
+ * @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 bool forDeveloper The forDeveloper parameter restricts the search
+ * to only retrieve videos uploaded via the developer's application or website.
+ * The API server uses the request's authorization credentials to identify the
+ * developer. Therefore, a developer can restrict results to videos uploaded
+ * through the developer's own app or website but not to videos uploaded through
+ * other apps or sites.
+ * @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 location The location parameter, in conjunction with the
+ * locationRadius parameter, defines a circular geographic area and also
+ * restricts a search to videos that specify, in their metadata, a geographic
+ * location that falls within that area. The parameter value is a string that
+ * specifies latitude/longitude coordinates e.g. (37.42307,-122.08427).
+ *
+ * - The location parameter value identifies the point at the center of the
+ * area. - The locationRadius parameter specifies the maximum distance that the
+ * location associated with a video can be from that point for the video to
+ * still be included in the search results.The API returns an error if your
+ * request specifies a value for the location parameter but does not also
+ * specify a value for the locationRadius parameter.
+ * @opt_param string locationRadius The locationRadius parameter, in conjunction
+ * with the location parameter, defines a circular geographic area.
+ *
+ * The 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.
+ *
+ * Note: See the definition of the location parameter for more information.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ * @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 order The order parameter specifies the method that will be
+ * used to order resources in the API response.
+ * @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 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 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 q The q parameter specifies the query term to search for.
+ *
+ * Your request can also use the Boolean NOT (-) and OR (|) operators to exclude
+ * videos or to find videos that are associated with one of several search
+ * terms. For example, to search for videos matching either "boating" or
+ * "sailing", set the q parameter value to boating|sailing. Similarly, to search
+ * for videos matching either "boating" or "sailing" but not "fishing", set the
+ * q parameter value to boating|sailing -fishing. Note that the pipe character
+ * must be URL-escaped when it is sent in your API request. The URL-escaped
+ * value for the pipe character is %7C.
+ * @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 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 relevanceLanguage The relevanceLanguage parameter instructs
+ * the API to return search results that are most relevant to the specified
+ * language. The parameter value is typically an ISO 639-1 two-letter language
+ * code. However, you should use the values zh-Hans for simplified Chinese and
+ * zh-Hant for traditional Chinese. Please note that results in other languages
+ * will still be returned if they are highly relevant to the search query term.
+ * @opt_param string safeSearch The safeSearch parameter indicates whether the
+ * search results should include restricted content as well as standard content.
+ * @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 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 videoCaption The videoCaption parameter indicates whether
+ * the API should filter video search results based on whether they have
+ * captions. If you specify a value for this parameter, you must also set the
+ * type parameter's value to video.
+ * @opt_param string videoCategoryId The videoCategoryId parameter filters video
+ * search results based on their category. If you specify a value for this
+ * parameter, you must also set the type parameter's value 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. If you
+ * specify a value for this parameter, you must also set the type parameter's
+ * value to video.
+ * @opt_param string videoDimension The videoDimension parameter lets you
+ * restrict a search to only retrieve 2D or 3D videos. If you specify a value
+ * for this parameter, you must also set the type parameter's value to video.
+ * @opt_param string videoDuration The videoDuration parameter filters video
+ * search results based on their duration. If you specify a value for this
+ * parameter, you must also set the type parameter's value to video.
+ * @opt_param string videoEmbeddable The videoEmbeddable parameter lets you to
+ * restrict a search to only videos that can be embedded into a webpage. If you
+ * specify a value for this parameter, you must also set the type parameter's
+ * value to video.
+ * @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. If you specify a value for
+ * this parameter, you must also set the type parameter's value to video.
+ * @opt_param string videoSyndicated The videoSyndicated parameter lets you to
+ * restrict a search to only videos that can be played outside youtube.com. If
+ * you specify a value for this parameter, you must also set the type
+ * parameter's value to video.
+ * @opt_param string videoType The videoType parameter lets you restrict a
+ * search to a particular type of videos. If you specify a value for this
+ * parameter, you must also set the type parameter's value to video.
+ * @return 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), "Google_Service_YouTube_SearchListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Sponsors.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Sponsors.php
new file mode 100644
index 00000000..50590de3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Sponsors.php
@@ -0,0 +1,51 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "sponsors" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $sponsors = $youtubeService->sponsors;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_Sponsors extends Google_Service_Resource
+{
+ /**
+ * Lists sponsors for a channel. (sponsors.listSponsors)
+ *
+ * @param string $part The part parameter specifies the sponsor resource parts
+ * that the API response will include. Supported values are id and snippet.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter The filter parameter specifies which channel
+ * sponsors to return.
+ * @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.
+ * @return Google_Service_YouTube_SponsorListResponse
+ */
+ public function listSponsors($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_SponsorListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Subscriptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Subscriptions.php
new file mode 100644
index 00000000..712ad99b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Subscriptions.php
@@ -0,0 +1,136 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "subscriptions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $subscriptions = $youtubeService->subscriptions;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_Subscriptions extends 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.
+ * @param Google_Service_YouTube_Subscription $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTube_Subscription
+ */
+ public function insert($part, Google_Service_YouTube_Subscription $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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.
+ *
+ * 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 channelId The channelId parameter specifies a YouTube
+ * channel ID. The API will only return that channel's subscriptions.
+ * @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 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.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ * @opt_param bool mine Set this parameter's value to true to retrieve a feed of
+ * the authenticated user's subscriptions.
+ * @opt_param bool myRecentSubscribers Set this parameter's value to true to
+ * retrieve a feed of the subscribers of the authenticated user in reverse
+ * chronological order (newest first).
+ * @opt_param bool mySubscribers Set this parameter's value to true to retrieve
+ * a feed of the subscribers of the authenticated user in no particular order.
+ * @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 order The order parameter specifies the method that will be
+ * used to sort resources in the API response.
+ * @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.
+ * @return 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), "Google_Service_YouTube_SubscriptionListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/SuperChatEvents.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/SuperChatEvents.php
new file mode 100644
index 00000000..1e796c30
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/SuperChatEvents.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "superChatEvents" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $superChatEvents = $youtubeService->superChatEvents;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_SuperChatEvents extends Google_Service_Resource
+{
+ /**
+ * Lists Super Chat events for a channel. (superChatEvents.listSuperChatEvents)
+ *
+ * @param string $part The part parameter specifies the superChatEvent resource
+ * parts that the API response will include. Supported values are id and
+ * snippet.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string hl The hl parameter instructs the API to retrieve localized
+ * resource metadata for a specific application language that the YouTube
+ * website supports. The parameter value must be a language code included in the
+ * list returned by the i18nLanguages.list method.
+ *
+ * If localized resource details are available in that language, the resource's
+ * snippet.localized object will contain the localized values. However, if
+ * localized details are not available, the snippet.localized object will
+ * contain resource details in the resource's default language.
+ * @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.
+ * @return Google_Service_YouTube_SuperChatEventListResponse
+ */
+ public function listSuperChatEvents($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_SuperChatEventListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Thumbnails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Thumbnails.php
new file mode 100644
index 00000000..774ca9da
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Thumbnails.php
@@ -0,0 +1,56 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "thumbnails" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $thumbnails = $youtubeService->thumbnails;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_Thumbnails extends 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 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 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), "Google_Service_YouTube_ThumbnailSetResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoAbuseReportReasons.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoAbuseReportReasons.php
new file mode 100644
index 00000000..234c1122
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoAbuseReportReasons.php
@@ -0,0 +1,47 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "videoAbuseReportReasons" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $videoAbuseReportReasons = $youtubeService->videoAbuseReportReasons;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_VideoAbuseReportReasons extends Google_Service_Resource
+{
+ /**
+ * Returns a list of abuse reasons that can be used for reporting abusive
+ * videos. (videoAbuseReportReasons.listVideoAbuseReportReasons)
+ *
+ * @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 hl The hl parameter specifies the language that should be
+ * used for text values in the API response.
+ * @return Google_Service_YouTube_VideoAbuseReportReasonListResponse
+ */
+ public function listVideoAbuseReportReasons($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_VideoAbuseReportReasonListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoCategories.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoCategories.php
new file mode 100644
index 00000000..fe46542a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoCategories.php
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "videoCategories" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $videoCategories = $youtubeService->videoCategories;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_VideoCategories extends 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
+ * properties that the API response will include. Set the parameter value to
+ * 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.
+ * @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 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.
+ * @return 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), "Google_Service_YouTube_VideoCategoryListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Videos.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Videos.php
new file mode 100644
index 00000000..69b02890
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Videos.php
@@ -0,0 +1,315 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "videos" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $videos = $youtubeService->videos;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_Videos extends 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 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), "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.
+ *
+ * Note that not all parts contain properties that can be set when inserting or
+ * updating a video. 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 Google_Service_YouTube_Video $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool autoLevels The autoLevels parameter indicates whether YouTube
+ * should automatically enhance the video's lighting and color.
+ * @opt_param bool notifySubscribers The notifySubscribers parameter indicates
+ * whether YouTube should send a notification about the new video to users who
+ * subscribe to the video's channel. A parameter value of True indicates that
+ * subscribers will be notified of newly uploaded videos. However, a channel
+ * owner who is uploading many videos might prefer to set the value to False to
+ * avoid sending a notification about each new video to the channel's
+ * subscribers.
+ * @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 stabilize The stabilize parameter indicates whether YouTube
+ * should adjust the video to remove shaky camera motions.
+ * @return Google_Service_YouTube_Video
+ */
+ public function insert($part, Google_Service_YouTube_Video $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "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.
+ *
+ * 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 chart The chart parameter identifies the chart that you
+ * want to retrieve.
+ * @opt_param string hl The hl parameter instructs the API to retrieve localized
+ * resource metadata for a specific application language that the YouTube
+ * website supports. The parameter value must be a language code included in the
+ * list returned by the i18nLanguages.list method.
+ *
+ * If localized resource details are available in that language, the resource's
+ * snippet.localized object will contain the localized values. However, if
+ * localized details are not available, the snippet.localized object will
+ * contain resource details in the resource's default language.
+ * @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.
+ * @opt_param string locale DEPRECATED
+ * @opt_param string maxHeight The maxHeight parameter specifies a maximum
+ * height of the embedded player. If maxWidth is provided, maxHeight may not be
+ * reached in order to not violate the width request.
+ * @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
+ * and chart parameters, but it is not supported for use in conjunction with the
+ * id parameter.
+ * @opt_param string maxWidth The maxWidth parameter specifies a maximum width
+ * of the embedded player. If maxHeight is provided, maxWidth may not be reached
+ * in order to not violate the height request.
+ * @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 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.
+ *
+ * Note: This parameter is supported for use in conjunction with the myRating
+ * and chart parameters, but it is not supported for use in conjunction with the
+ * id parameter.
+ * @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 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.
+ * @return 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), "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.
+ */
+ public function rate($id, $rating, $optParams = array())
+ {
+ $params = array('id' => $id, 'rating' => $rating);
+ $params = array_merge($params, $optParams);
+ return $this->call('rate', array($params));
+ }
+ /**
+ * Report abuse for a video. (videos.reportAbuse)
+ *
+ * @param Google_Service_YouTube_VideoAbuseReport $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.
+ */
+ public function reportAbuse(Google_Service_YouTube_VideoAbuseReport $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('reportAbuse', 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.
+ *
+ * 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 parts contain properties that can be set when inserting
+ * or updating a video. 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 Google_Service_YouTube_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 Google_Service_YouTube_Video
+ */
+ public function update($part, Google_Service_YouTube_Video $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTube_Video");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Watermarks.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Watermarks.php
new file mode 100644
index 00000000..2f7735ed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Watermarks.php
@@ -0,0 +1,82 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "watermarks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $watermarks = $youtubeService->watermarks;
+ * </code>
+ */
+class Google_Service_YouTube_Resource_Watermarks extends Google_Service_Resource
+{
+ /**
+ * Uploads a watermark image to YouTube and sets it for a channel.
+ * (watermarks.set)
+ *
+ * @param string $channelId The channelId parameter specifies the YouTube
+ * channel ID for which the watermark is being provided.
+ * @param Google_Service_YouTube_InvideoBranding $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.
+ */
+ public function set($channelId, 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 channel's watermark image. (watermarks.unsetWatermarks)
+ *
+ * @param string $channelId The channelId parameter specifies the YouTube
+ * channel ID for which the watermark is being unset.
+ * @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 unsetWatermarks($channelId, $optParams = array())
+ {
+ $params = array('channelId' => $channelId);
+ $params = array_merge($params, $optParams);
+ return $this->call('unset', array($params));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ResourceId.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ResourceId.php
new file mode 100644
index 00000000..0e924c88
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ResourceId.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ResourceId extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchListResponse.php
new file mode 100644
index 00000000..61a69ed2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchListResponse.php
@@ -0,0 +1,115 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_SearchListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_SearchResult';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ public $regionCode;
+ protected $tokenPaginationType = '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(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 setRegionCode($regionCode)
+ {
+ $this->regionCode = $regionCode;
+ }
+ public function getRegionCode()
+ {
+ return $this->regionCode;
+ }
+ public function setTokenPagination(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchResult.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchResult.php
new file mode 100644
index 00000000..35e8a2b3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchResult.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_SearchResult extends Google_Model
+{
+ public $etag;
+ protected $idType = 'Google_Service_YouTube_ResourceId';
+ protected $idDataType = '';
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_SearchResultSnippet';
+ protected $snippetDataType = '';
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId(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(Google_Service_YouTube_SearchResultSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchResultSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchResultSnippet.php
new file mode 100644
index 00000000..f40562e4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchResultSnippet.php
@@ -0,0 +1,85 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_SearchResultSnippet extends Google_Model
+{
+ public $channelId;
+ public $channelTitle;
+ public $description;
+ public $liveBroadcastContent;
+ public $publishedAt;
+ protected $thumbnailsType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Sponsor.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Sponsor.php
new file mode 100644
index 00000000..7c91fd2d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Sponsor.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_Sponsor extends Google_Model
+{
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_SponsorSnippet';
+ 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(Google_Service_YouTube_SponsorSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SponsorListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SponsorListResponse.php
new file mode 100644
index 00000000..f85333f6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SponsorListResponse.php
@@ -0,0 +1,97 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_SponsorListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_Sponsor';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ protected $tokenPaginationType = '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(Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setTokenPagination(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SponsorSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SponsorSnippet.php
new file mode 100644
index 00000000..3cbdfd56
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SponsorSnippet.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_SponsorSnippet extends Google_Model
+{
+ public $channelId;
+ protected $sponsorDetailsType = 'Google_Service_YouTube_ChannelProfileDetails';
+ protected $sponsorDetailsDataType = '';
+ public $sponsorSince;
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setSponsorDetails(Google_Service_YouTube_ChannelProfileDetails $sponsorDetails)
+ {
+ $this->sponsorDetails = $sponsorDetails;
+ }
+ public function getSponsorDetails()
+ {
+ return $this->sponsorDetails;
+ }
+ public function setSponsorSince($sponsorSince)
+ {
+ $this->sponsorSince = $sponsorSince;
+ }
+ public function getSponsorSince()
+ {
+ return $this->sponsorSince;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Subscription.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Subscription.php
new file mode 100644
index 00000000..6a299f57
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Subscription.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_Subscription extends Google_Model
+{
+ protected $contentDetailsType = 'Google_Service_YouTube_SubscriptionContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_SubscriptionSnippet';
+ protected $snippetDataType = '';
+ protected $subscriberSnippetType = 'Google_Service_YouTube_SubscriptionSubscriberSnippet';
+ protected $subscriberSnippetDataType = '';
+
+ public function setContentDetails(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(Google_Service_YouTube_SubscriptionSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setSubscriberSnippet(Google_Service_YouTube_SubscriptionSubscriberSnippet $subscriberSnippet)
+ {
+ $this->subscriberSnippet = $subscriberSnippet;
+ }
+ public function getSubscriberSnippet()
+ {
+ return $this->subscriberSnippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionContentDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionContentDetails.php
new file mode 100644
index 00000000..09d5d830
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionContentDetails.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_SubscriptionContentDetails extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionListResponse.php
new file mode 100644
index 00000000..83af0cae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionListResponse.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_SubscriptionListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_Subscription';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionSnippet.php
new file mode 100644
index 00000000..87981a18
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionSnippet.php
@@ -0,0 +1,86 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_SubscriptionSnippet extends Google_Model
+{
+ public $channelId;
+ public $channelTitle;
+ public $description;
+ public $publishedAt;
+ protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+ protected $thumbnailsType = '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(Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setThumbnails(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionSubscriberSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionSubscriberSnippet.php
new file mode 100644
index 00000000..131f6901
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionSubscriberSnippet.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_SubscriptionSubscriberSnippet extends Google_Model
+{
+ public $channelId;
+ public $description;
+ protected $thumbnailsType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEvent.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEvent.php
new file mode 100644
index 00000000..efba5c14
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEvent.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_SuperChatEvent extends Google_Model
+{
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_SuperChatEventSnippet';
+ 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(Google_Service_YouTube_SuperChatEventSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEventListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEventListResponse.php
new file mode 100644
index 00000000..b5119dab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEventListResponse.php
@@ -0,0 +1,97 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_SuperChatEventListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_SuperChatEvent';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ protected $tokenPaginationType = '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(Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setTokenPagination(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEventSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEventSnippet.php
new file mode 100644
index 00000000..466aec3e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEventSnippet.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_SuperChatEventSnippet extends Google_Model
+{
+ public $amountMicros;
+ public $channelId;
+ public $commentText;
+ public $createdAt;
+ public $currency;
+ public $displayString;
+ public $messageType;
+ protected $supporterDetailsType = 'Google_Service_YouTube_ChannelProfileDetails';
+ protected $supporterDetailsDataType = '';
+
+ public function setAmountMicros($amountMicros)
+ {
+ $this->amountMicros = $amountMicros;
+ }
+ public function getAmountMicros()
+ {
+ return $this->amountMicros;
+ }
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setCommentText($commentText)
+ {
+ $this->commentText = $commentText;
+ }
+ public function getCommentText()
+ {
+ return $this->commentText;
+ }
+ public function setCreatedAt($createdAt)
+ {
+ $this->createdAt = $createdAt;
+ }
+ public function getCreatedAt()
+ {
+ return $this->createdAt;
+ }
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+ public function setDisplayString($displayString)
+ {
+ $this->displayString = $displayString;
+ }
+ public function getDisplayString()
+ {
+ return $this->displayString;
+ }
+ public function setMessageType($messageType)
+ {
+ $this->messageType = $messageType;
+ }
+ public function getMessageType()
+ {
+ return $this->messageType;
+ }
+ public function setSupporterDetails(Google_Service_YouTube_ChannelProfileDetails $supporterDetails)
+ {
+ $this->supporterDetails = $supporterDetails;
+ }
+ public function getSupporterDetails()
+ {
+ return $this->supporterDetails;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Thumbnail.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Thumbnail.php
new file mode 100644
index 00000000..ce02b03e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Thumbnail.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_Thumbnail extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ThumbnailDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ThumbnailDetails.php
new file mode 100644
index 00000000..2c391af5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ThumbnailDetails.php
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ThumbnailDetails extends Google_Model
+{
+ protected $defaultType = 'Google_Service_YouTube_Thumbnail';
+ protected $defaultDataType = '';
+ protected $highType = 'Google_Service_YouTube_Thumbnail';
+ protected $highDataType = '';
+ protected $maxresType = 'Google_Service_YouTube_Thumbnail';
+ protected $maxresDataType = '';
+ protected $mediumType = 'Google_Service_YouTube_Thumbnail';
+ protected $mediumDataType = '';
+ protected $standardType = 'Google_Service_YouTube_Thumbnail';
+ protected $standardDataType = '';
+
+ public function setDefault(Google_Service_YouTube_Thumbnail $default)
+ {
+ $this->default = $default;
+ }
+ public function getDefault()
+ {
+ return $this->default;
+ }
+ public function setHigh(Google_Service_YouTube_Thumbnail $high)
+ {
+ $this->high = $high;
+ }
+ public function getHigh()
+ {
+ return $this->high;
+ }
+ public function setMaxres(Google_Service_YouTube_Thumbnail $maxres)
+ {
+ $this->maxres = $maxres;
+ }
+ public function getMaxres()
+ {
+ return $this->maxres;
+ }
+ public function setMedium(Google_Service_YouTube_Thumbnail $medium)
+ {
+ $this->medium = $medium;
+ }
+ public function getMedium()
+ {
+ return $this->medium;
+ }
+ public function setStandard(Google_Service_YouTube_Thumbnail $standard)
+ {
+ $this->standard = $standard;
+ }
+ public function getStandard()
+ {
+ return $this->standard;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ThumbnailSetResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ThumbnailSetResponse.php
new file mode 100644
index 00000000..0c7893a5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ThumbnailSetResponse.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_ThumbnailSetResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/TokenPagination.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/TokenPagination.php
new file mode 100644
index 00000000..ead77041
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/TokenPagination.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_TokenPagination extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Video.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Video.php
new file mode 100644
index 00000000..ece1e072
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Video.php
@@ -0,0 +1,198 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_Video extends Google_Model
+{
+ protected $ageGatingType = 'Google_Service_YouTube_VideoAgeGating';
+ protected $ageGatingDataType = '';
+ protected $contentDetailsType = 'Google_Service_YouTube_VideoContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ protected $fileDetailsType = 'Google_Service_YouTube_VideoFileDetails';
+ protected $fileDetailsDataType = '';
+ public $id;
+ public $kind;
+ protected $liveStreamingDetailsType = 'Google_Service_YouTube_VideoLiveStreamingDetails';
+ protected $liveStreamingDetailsDataType = '';
+ protected $localizationsType = 'Google_Service_YouTube_VideoLocalization';
+ protected $localizationsDataType = 'map';
+ protected $monetizationDetailsType = 'Google_Service_YouTube_VideoMonetizationDetails';
+ protected $monetizationDetailsDataType = '';
+ protected $playerType = 'Google_Service_YouTube_VideoPlayer';
+ protected $playerDataType = '';
+ protected $processingDetailsType = 'Google_Service_YouTube_VideoProcessingDetails';
+ protected $processingDetailsDataType = '';
+ protected $projectDetailsType = 'Google_Service_YouTube_VideoProjectDetails';
+ protected $projectDetailsDataType = '';
+ protected $recordingDetailsType = 'Google_Service_YouTube_VideoRecordingDetails';
+ protected $recordingDetailsDataType = '';
+ protected $snippetType = 'Google_Service_YouTube_VideoSnippet';
+ protected $snippetDataType = '';
+ protected $statisticsType = 'Google_Service_YouTube_VideoStatistics';
+ protected $statisticsDataType = '';
+ protected $statusType = 'Google_Service_YouTube_VideoStatus';
+ protected $statusDataType = '';
+ protected $suggestionsType = 'Google_Service_YouTube_VideoSuggestions';
+ protected $suggestionsDataType = '';
+ protected $topicDetailsType = 'Google_Service_YouTube_VideoTopicDetails';
+ protected $topicDetailsDataType = '';
+
+ public function setAgeGating(Google_Service_YouTube_VideoAgeGating $ageGating)
+ {
+ $this->ageGating = $ageGating;
+ }
+ public function getAgeGating()
+ {
+ return $this->ageGating;
+ }
+ public function setContentDetails(Google_Service_YouTube_VideoContentDetails $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 setFileDetails(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(Google_Service_YouTube_VideoLiveStreamingDetails $liveStreamingDetails)
+ {
+ $this->liveStreamingDetails = $liveStreamingDetails;
+ }
+ public function getLiveStreamingDetails()
+ {
+ return $this->liveStreamingDetails;
+ }
+ public function setLocalizations($localizations)
+ {
+ $this->localizations = $localizations;
+ }
+ public function getLocalizations()
+ {
+ return $this->localizations;
+ }
+ public function setMonetizationDetails(Google_Service_YouTube_VideoMonetizationDetails $monetizationDetails)
+ {
+ $this->monetizationDetails = $monetizationDetails;
+ }
+ public function getMonetizationDetails()
+ {
+ return $this->monetizationDetails;
+ }
+ public function setPlayer(Google_Service_YouTube_VideoPlayer $player)
+ {
+ $this->player = $player;
+ }
+ public function getPlayer()
+ {
+ return $this->player;
+ }
+ public function setProcessingDetails(Google_Service_YouTube_VideoProcessingDetails $processingDetails)
+ {
+ $this->processingDetails = $processingDetails;
+ }
+ public function getProcessingDetails()
+ {
+ return $this->processingDetails;
+ }
+ public function setProjectDetails(Google_Service_YouTube_VideoProjectDetails $projectDetails)
+ {
+ $this->projectDetails = $projectDetails;
+ }
+ public function getProjectDetails()
+ {
+ return $this->projectDetails;
+ }
+ public function setRecordingDetails(Google_Service_YouTube_VideoRecordingDetails $recordingDetails)
+ {
+ $this->recordingDetails = $recordingDetails;
+ }
+ public function getRecordingDetails()
+ {
+ return $this->recordingDetails;
+ }
+ public function setSnippet(Google_Service_YouTube_VideoSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setStatistics(Google_Service_YouTube_VideoStatistics $statistics)
+ {
+ $this->statistics = $statistics;
+ }
+ public function getStatistics()
+ {
+ return $this->statistics;
+ }
+ public function setStatus(Google_Service_YouTube_VideoStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setSuggestions(Google_Service_YouTube_VideoSuggestions $suggestions)
+ {
+ $this->suggestions = $suggestions;
+ }
+ public function getSuggestions()
+ {
+ return $this->suggestions;
+ }
+ public function setTopicDetails(Google_Service_YouTube_VideoTopicDetails $topicDetails)
+ {
+ $this->topicDetails = $topicDetails;
+ }
+ public function getTopicDetails()
+ {
+ return $this->topicDetails;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReport.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReport.php
new file mode 100644
index 00000000..d8c36670
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReport.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoAbuseReport extends Google_Model
+{
+ public $comments;
+ public $language;
+ public $reasonId;
+ public $secondaryReasonId;
+ public $videoId;
+
+ public function setComments($comments)
+ {
+ $this->comments = $comments;
+ }
+ public function getComments()
+ {
+ return $this->comments;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setReasonId($reasonId)
+ {
+ $this->reasonId = $reasonId;
+ }
+ public function getReasonId()
+ {
+ return $this->reasonId;
+ }
+ public function setSecondaryReasonId($secondaryReasonId)
+ {
+ $this->secondaryReasonId = $secondaryReasonId;
+ }
+ public function getSecondaryReasonId()
+ {
+ return $this->secondaryReasonId;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReason.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReason.php
new file mode 100644
index 00000000..50007d7c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReason.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoAbuseReportReason extends Google_Model
+{
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_VideoAbuseReportReasonSnippet';
+ 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(Google_Service_YouTube_VideoAbuseReportReasonSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReasonListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReasonListResponse.php
new file mode 100644
index 00000000..cb3b8acd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReasonListResponse.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoAbuseReportReasonListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_VideoAbuseReportReason';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReasonSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReasonSnippet.php
new file mode 100644
index 00000000..ae0e2c0c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReasonSnippet.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoAbuseReportReasonSnippet extends Google_Collection
+{
+ protected $collection_key = 'secondaryReasons';
+ public $label;
+ protected $secondaryReasonsType = 'Google_Service_YouTube_VideoAbuseReportSecondaryReason';
+ protected $secondaryReasonsDataType = 'array';
+
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setSecondaryReasons($secondaryReasons)
+ {
+ $this->secondaryReasons = $secondaryReasons;
+ }
+ public function getSecondaryReasons()
+ {
+ return $this->secondaryReasons;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportSecondaryReason.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportSecondaryReason.php
new file mode 100644
index 00000000..03cff4ef
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportSecondaryReason.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoAbuseReportSecondaryReason extends Google_Model
+{
+ public $id;
+ public $label;
+
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAgeGating.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAgeGating.php
new file mode 100644
index 00000000..51994787
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAgeGating.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoAgeGating extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategory.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategory.php
new file mode 100644
index 00000000..e909d75e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategory.php
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoCategory extends Google_Model
+{
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = '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(Google_Service_YouTube_VideoCategorySnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategoryListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategoryListResponse.php
new file mode 100644
index 00000000..6759c9a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategoryListResponse.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoCategoryListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_VideoCategory';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategorySnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategorySnippet.php
new file mode 100644
index 00000000..09452e13
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategorySnippet.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoCategorySnippet extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoContentDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoContentDetails.php
new file mode 100644
index 00000000..52c0a1a3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoContentDetails.php
@@ -0,0 +1,114 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoContentDetails extends Google_Model
+{
+ public $caption;
+ protected $contentRatingType = 'Google_Service_YouTube_ContentRating';
+ protected $contentRatingDataType = '';
+ protected $countryRestrictionType = 'Google_Service_YouTube_AccessPolicy';
+ protected $countryRestrictionDataType = '';
+ public $definition;
+ public $dimension;
+ public $duration;
+ public $hasCustomThumbnail;
+ public $licensedContent;
+ public $projection;
+ protected $regionRestrictionType = 'Google_Service_YouTube_VideoContentDetailsRegionRestriction';
+ protected $regionRestrictionDataType = '';
+
+ public function setCaption($caption)
+ {
+ $this->caption = $caption;
+ }
+ public function getCaption()
+ {
+ return $this->caption;
+ }
+ public function setContentRating(Google_Service_YouTube_ContentRating $contentRating)
+ {
+ $this->contentRating = $contentRating;
+ }
+ public function getContentRating()
+ {
+ return $this->contentRating;
+ }
+ public function setCountryRestriction(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 setHasCustomThumbnail($hasCustomThumbnail)
+ {
+ $this->hasCustomThumbnail = $hasCustomThumbnail;
+ }
+ public function getHasCustomThumbnail()
+ {
+ return $this->hasCustomThumbnail;
+ }
+ public function setLicensedContent($licensedContent)
+ {
+ $this->licensedContent = $licensedContent;
+ }
+ public function getLicensedContent()
+ {
+ return $this->licensedContent;
+ }
+ public function setProjection($projection)
+ {
+ $this->projection = $projection;
+ }
+ public function getProjection()
+ {
+ return $this->projection;
+ }
+ public function setRegionRestriction(Google_Service_YouTube_VideoContentDetailsRegionRestriction $regionRestriction)
+ {
+ $this->regionRestriction = $regionRestriction;
+ }
+ public function getRegionRestriction()
+ {
+ return $this->regionRestriction;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoContentDetailsRegionRestriction.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoContentDetailsRegionRestriction.php
new file mode 100644
index 00000000..8a276d01
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoContentDetailsRegionRestriction.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoContentDetailsRegionRestriction extends Google_Collection
+{
+ protected $collection_key = 'blocked';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetails.php
new file mode 100644
index 00000000..eb04edf2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetails.php
@@ -0,0 +1,105 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoFileDetails extends Google_Collection
+{
+ protected $collection_key = 'videoStreams';
+ protected $audioStreamsType = 'Google_Service_YouTube_VideoFileDetailsAudioStream';
+ protected $audioStreamsDataType = 'array';
+ public $bitrateBps;
+ public $container;
+ public $creationTime;
+ public $durationMs;
+ public $fileName;
+ public $fileSize;
+ public $fileType;
+ protected $videoStreamsType = '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 setVideoStreams($videoStreams)
+ {
+ $this->videoStreams = $videoStreams;
+ }
+ public function getVideoStreams()
+ {
+ return $this->videoStreams;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetailsAudioStream.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetailsAudioStream.php
new file mode 100644
index 00000000..3220b52e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetailsAudioStream.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoFileDetailsAudioStream extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetailsVideoStream.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetailsVideoStream.php
new file mode 100644
index 00000000..89a88237
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetailsVideoStream.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoFileDetailsVideoStream extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoGetRatingResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoGetRatingResponse.php
new file mode 100644
index 00000000..d8d9f033
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoGetRatingResponse.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoGetRatingResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoListResponse.php
new file mode 100644
index 00000000..2f1f4df0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoListResponse.php
@@ -0,0 +1,106 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_Video';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = '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(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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoLiveStreamingDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoLiveStreamingDetails.php
new file mode 100644
index 00000000..14de20da
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoLiveStreamingDetails.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoLiveStreamingDetails extends Google_Model
+{
+ public $activeLiveChatId;
+ public $actualEndTime;
+ public $actualStartTime;
+ public $concurrentViewers;
+ public $scheduledEndTime;
+ public $scheduledStartTime;
+
+ public function setActiveLiveChatId($activeLiveChatId)
+ {
+ $this->activeLiveChatId = $activeLiveChatId;
+ }
+ public function getActiveLiveChatId()
+ {
+ return $this->activeLiveChatId;
+ }
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoLocalization.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoLocalization.php
new file mode 100644
index 00000000..6947da5c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoLocalization.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoLocalization extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoMonetizationDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoMonetizationDetails.php
new file mode 100644
index 00000000..8352fcb6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoMonetizationDetails.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoMonetizationDetails extends Google_Model
+{
+ protected $accessType = 'Google_Service_YouTube_AccessPolicy';
+ protected $accessDataType = '';
+
+ public function setAccess(Google_Service_YouTube_AccessPolicy $access)
+ {
+ $this->access = $access;
+ }
+ public function getAccess()
+ {
+ return $this->access;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoPlayer.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoPlayer.php
new file mode 100644
index 00000000..025dbadf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoPlayer.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoPlayer extends Google_Model
+{
+ public $embedHeight;
+ public $embedHtml;
+ public $embedWidth;
+
+ public function setEmbedHeight($embedHeight)
+ {
+ $this->embedHeight = $embedHeight;
+ }
+ public function getEmbedHeight()
+ {
+ return $this->embedHeight;
+ }
+ public function setEmbedHtml($embedHtml)
+ {
+ $this->embedHtml = $embedHtml;
+ }
+ public function getEmbedHtml()
+ {
+ return $this->embedHtml;
+ }
+ public function setEmbedWidth($embedWidth)
+ {
+ $this->embedWidth = $embedWidth;
+ }
+ public function getEmbedWidth()
+ {
+ return $this->embedWidth;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProcessingDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProcessingDetails.php
new file mode 100644
index 00000000..1db7f2a5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProcessingDetails.php
@@ -0,0 +1,94 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoProcessingDetails extends Google_Model
+{
+ public $editorSuggestionsAvailability;
+ public $fileDetailsAvailability;
+ public $processingFailureReason;
+ public $processingIssuesAvailability;
+ protected $processingProgressType = '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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProcessingDetailsProcessingProgress.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProcessingDetailsProcessingProgress.php
new file mode 100644
index 00000000..0a93151d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProcessingDetailsProcessingProgress.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoProcessingDetailsProcessingProgress extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProjectDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProjectDetails.php
new file mode 100644
index 00000000..22e5f1ef
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProjectDetails.php
@@ -0,0 +1,31 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoProjectDetails extends Google_Collection
+{
+ protected $collection_key = 'tags';
+ public $tags;
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoRating.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoRating.php
new file mode 100644
index 00000000..b396f6b3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoRating.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoRating extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoRecordingDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoRecordingDetails.php
new file mode 100644
index 00000000..eda99ea0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoRecordingDetails.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoRecordingDetails extends Google_Model
+{
+ protected $locationType = 'Google_Service_YouTube_GeoPoint';
+ protected $locationDataType = '';
+ public $locationDescription;
+ public $recordingDate;
+
+ public function setLocation(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSnippet.php
new file mode 100644
index 00000000..67e33d45
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSnippet.php
@@ -0,0 +1,132 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoSnippet extends Google_Collection
+{
+ protected $collection_key = 'tags';
+ public $categoryId;
+ public $channelId;
+ public $channelTitle;
+ public $defaultAudioLanguage;
+ public $defaultLanguage;
+ public $description;
+ public $liveBroadcastContent;
+ protected $localizedType = 'Google_Service_YouTube_VideoLocalization';
+ protected $localizedDataType = '';
+ public $publishedAt;
+ public $tags;
+ protected $thumbnailsType = '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 setDefaultAudioLanguage($defaultAudioLanguage)
+ {
+ $this->defaultAudioLanguage = $defaultAudioLanguage;
+ }
+ public function getDefaultAudioLanguage()
+ {
+ return $this->defaultAudioLanguage;
+ }
+ public function setDefaultLanguage($defaultLanguage)
+ {
+ $this->defaultLanguage = $defaultLanguage;
+ }
+ public function getDefaultLanguage()
+ {
+ return $this->defaultLanguage;
+ }
+ 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 setLocalized(Google_Service_YouTube_VideoLocalization $localized)
+ {
+ $this->localized = $localized;
+ }
+ public function getLocalized()
+ {
+ return $this->localized;
+ }
+ 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(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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoStatistics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoStatistics.php
new file mode 100644
index 00000000..18c20900
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoStatistics.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoStatistics extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoStatus.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoStatus.php
new file mode 100644
index 00000000..d367f3c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoStatus.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoStatus extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSuggestions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSuggestions.php
new file mode 100644
index 00000000..e2b96d8b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSuggestions.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoSuggestions extends Google_Collection
+{
+ protected $collection_key = 'tagSuggestions';
+ public $editorSuggestions;
+ public $processingErrors;
+ public $processingHints;
+ public $processingWarnings;
+ protected $tagSuggestionsType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSuggestionsTagSuggestion.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSuggestionsTagSuggestion.php
new file mode 100644
index 00000000..fef8bfbd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSuggestionsTagSuggestion.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoSuggestionsTagSuggestion extends Google_Collection
+{
+ protected $collection_key = 'categoryRestricts';
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoTopicDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoTopicDetails.php
new file mode 100644
index 00000000..f2f2fec0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoTopicDetails.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_VideoTopicDetails extends Google_Collection
+{
+ protected $collection_key = 'topicIds';
+ public $relevantTopicIds;
+ public $topicCategories;
+ public $topicIds;
+
+ public function setRelevantTopicIds($relevantTopicIds)
+ {
+ $this->relevantTopicIds = $relevantTopicIds;
+ }
+ public function getRelevantTopicIds()
+ {
+ return $this->relevantTopicIds;
+ }
+ public function setTopicCategories($topicCategories)
+ {
+ $this->topicCategories = $topicCategories;
+ }
+ public function getTopicCategories()
+ {
+ return $this->topicCategories;
+ }
+ public function setTopicIds($topicIds)
+ {
+ $this->topicIds = $topicIds;
+ }
+ public function getTopicIds()
+ {
+ return $this->topicIds;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/WatchSettings.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/WatchSettings.php
new file mode 100644
index 00000000..bfc29521
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/WatchSettings.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTube_WatchSettings extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics.php
new file mode 100644
index 00000000..9d30f156
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics.php
@@ -0,0 +1,240 @@
+<?php
+/*
+ * Copyright 2016 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>
+ * Retrieves your YouTube Analytics data.</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 Google_Service_YouTubeAnalytics extends 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";
+ /** View and manage your assets and associated content on YouTube. */
+ const YOUTUBEPARTNER =
+ "https://www.googleapis.com/auth/youtubepartner";
+ /** View monetary and non-monetary YouTube Analytics 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 $groupItems;
+ public $groups;
+ public $reports;
+
+ /**
+ * Constructs the internal representation of the YouTubeAnalytics service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://www.googleapis.com/';
+ $this->servicePath = 'youtube/analytics/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'youtubeAnalytics';
+
+ $this->groupItems = new Google_Service_YouTubeAnalytics_Resource_GroupItems(
+ $this,
+ $this->serviceName,
+ 'groupItems',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'groupItems',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'groupItems',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'groupItems',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'groupId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->groups = new Google_Service_YouTubeAnalytics_Resource_Groups(
+ $this,
+ $this->serviceName,
+ 'groups',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'groups',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'groups',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'groups',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'mine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'groups',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reports = new Google_Service_YouTubeAnalytics_Resource_Reports(
+ $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,
+ ),
+ 'currency' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'dimensions' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'include-historical-channel-data' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReport.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReport.php
new file mode 100644
index 00000000..d0193100
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReport.php
@@ -0,0 +1,78 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeAnalytics_BatchReport extends Google_Collection
+{
+ protected $collection_key = 'outputs';
+ public $id;
+ public $kind;
+ protected $outputsType = 'Google_Service_YouTubeAnalytics_BatchReportOutputs';
+ protected $outputsDataType = 'array';
+ public $reportId;
+ protected $timeSpanType = 'Google_Service_YouTubeAnalytics_BatchReportTimeSpan';
+ protected $timeSpanDataType = '';
+ public $timeUpdated;
+
+ 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 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(Google_Service_YouTubeAnalytics_BatchReportTimeSpan $timeSpan)
+ {
+ $this->timeSpan = $timeSpan;
+ }
+ public function getTimeSpan()
+ {
+ return $this->timeSpan;
+ }
+ public function setTimeUpdated($timeUpdated)
+ {
+ $this->timeUpdated = $timeUpdated;
+ }
+ public function getTimeUpdated()
+ {
+ return $this->timeUpdated;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportDefinition.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportDefinition.php
new file mode 100644
index 00000000..233b2560
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportDefinition.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeAnalytics_BatchReportDefinition extends Google_Model
+{
+ public $id;
+ public $kind;
+ public $name;
+ public $status;
+ 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 setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportDefinitionList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportDefinitionList.php
new file mode 100644
index 00000000..116f141b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportDefinitionList.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeAnalytics_BatchReportDefinitionList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_YouTubeAnalytics_BatchReportDefinition';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportList.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportList.php
new file mode 100644
index 00000000..5119337b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportList.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeAnalytics_BatchReportList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_YouTubeAnalytics_BatchReport';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportOutputs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportOutputs.php
new file mode 100644
index 00000000..9d95f26e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportOutputs.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeAnalytics_BatchReportOutputs extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportTimeSpan.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportTimeSpan.php
new file mode 100644
index 00000000..33a952a0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportTimeSpan.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeAnalytics_BatchReportTimeSpan extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Group.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Group.php
new file mode 100644
index 00000000..4f767bd3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Group.php
@@ -0,0 +1,68 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeAnalytics_Group extends Google_Model
+{
+ protected $contentDetailsType = 'Google_Service_YouTubeAnalytics_GroupContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTubeAnalytics_GroupSnippet';
+ protected $snippetDataType = '';
+
+ public function setContentDetails(Google_Service_YouTubeAnalytics_GroupContentDetails $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(Google_Service_YouTubeAnalytics_GroupSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupContentDetails.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupContentDetails.php
new file mode 100644
index 00000000..acb50c3f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupContentDetails.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeAnalytics_GroupContentDetails extends Google_Model
+{
+ public $itemCount;
+ public $itemType;
+
+ public function setItemCount($itemCount)
+ {
+ $this->itemCount = $itemCount;
+ }
+ public function getItemCount()
+ {
+ return $this->itemCount;
+ }
+ public function setItemType($itemType)
+ {
+ $this->itemType = $itemType;
+ }
+ public function getItemType()
+ {
+ return $this->itemType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItem.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItem.php
new file mode 100644
index 00000000..988c6206
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItem.php
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeAnalytics_GroupItem extends Google_Model
+{
+ public $etag;
+ public $groupId;
+ public $id;
+ public $kind;
+ protected $resourceType = 'Google_Service_YouTubeAnalytics_GroupItemResource';
+ protected $resourceDataType = '';
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setGroupId($groupId)
+ {
+ $this->groupId = $groupId;
+ }
+ public function getGroupId()
+ {
+ return $this->groupId;
+ }
+ 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 setResource(Google_Service_YouTubeAnalytics_GroupItemResource $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItemListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItemListResponse.php
new file mode 100644
index 00000000..5fd9f6e2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItemListResponse.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeAnalytics_GroupItemListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = 'Google_Service_YouTubeAnalytics_GroupItem';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItemResource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItemResource.php
new file mode 100644
index 00000000..2e5c220b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItemResource.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeAnalytics_GroupItemResource extends Google_Model
+{
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupListResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupListResponse.php
new file mode 100644
index 00000000..dfdf12fc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupListResponse.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeAnalytics_GroupListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $etag;
+ protected $itemsType = 'Google_Service_YouTubeAnalytics_Group';
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupSnippet.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupSnippet.php
new file mode 100644
index 00000000..46e9b765
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupSnippet.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeAnalytics_GroupSnippet extends Google_Model
+{
+ public $publishedAt;
+ public $title;
+
+ 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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/BatchReportDefinitions.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/BatchReportDefinitions.php
new file mode 100644
index 00000000..08a95a72
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/BatchReportDefinitions.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "batchReportDefinitions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...);
+ * $batchReportDefinitions = $youtubeAnalyticsService->batchReportDefinitions;
+ * </code>
+ */
+class Google_Service_YouTubeAnalytics_Resource_BatchReportDefinitions extends 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 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), "Google_Service_YouTubeAnalytics_BatchReportDefinitionList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/BatchReports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/BatchReports.php
new file mode 100644
index 00000000..852ae2c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/BatchReports.php
@@ -0,0 +1,45 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "batchReports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...);
+ * $batchReports = $youtubeAnalyticsService->batchReports;
+ * </code>
+ */
+class Google_Service_YouTubeAnalytics_Resource_BatchReports extends 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 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), "Google_Service_YouTubeAnalytics_BatchReportList");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/GroupItems.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/GroupItems.php
new file mode 100644
index 00000000..a0302c62
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/GroupItems.php
@@ -0,0 +1,108 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "groupItems" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...);
+ * $groupItems = $youtubeAnalyticsService->groupItems;
+ * </code>
+ */
+class Google_Service_YouTubeAnalytics_Resource_GroupItems extends Google_Service_Resource
+{
+ /**
+ * Removes an item from a group. (groupItems.delete)
+ *
+ * @param string $id The id parameter specifies the YouTube group item ID for
+ * the group that is being deleted.
+ * @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 group item. (groupItems.insert)
+ *
+ * @param Google_Service_YouTubeAnalytics_GroupItem $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 Google_Service_YouTubeAnalytics_GroupItem
+ */
+ public function insert(Google_Service_YouTubeAnalytics_GroupItem $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_YouTubeAnalytics_GroupItem");
+ }
+ /**
+ * Returns a collection of group items that match the API request parameters.
+ * (groupItems.listGroupItems)
+ *
+ * @param string $groupId The id parameter specifies the unique ID of the group
+ * for which you want to retrieve group items.
+ * @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 Google_Service_YouTubeAnalytics_GroupItemListResponse
+ */
+ public function listGroupItems($groupId, $optParams = array())
+ {
+ $params = array('groupId' => $groupId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTubeAnalytics_GroupItemListResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/Groups.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/Groups.php
new file mode 100644
index 00000000..9c983ba5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/Groups.php
@@ -0,0 +1,142 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "groups" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...);
+ * $groups = $youtubeAnalyticsService->groups;
+ * </code>
+ */
+class Google_Service_YouTubeAnalytics_Resource_Groups extends Google_Service_Resource
+{
+ /**
+ * Deletes a group. (groups.delete)
+ *
+ * @param string $id The id parameter specifies the YouTube group ID for the
+ * group that is being deleted.
+ * @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 group. (groups.insert)
+ *
+ * @param Google_Service_YouTubeAnalytics_Group $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 Google_Service_YouTubeAnalytics_Group
+ */
+ public function insert(Google_Service_YouTubeAnalytics_Group $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_YouTubeAnalytics_Group");
+ }
+ /**
+ * Returns a collection of groups that match the API request parameters. For
+ * example, you can retrieve all groups that the authenticated user owns, or you
+ * can retrieve one or more groups by their unique IDs. (groups.listGroups)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string id The id parameter specifies a comma-separated list of the
+ * YouTube group ID(s) for the resource(s) that are being retrieved. In a group
+ * resource, the id property specifies the group's YouTube group ID.
+ * @opt_param bool mine Set this parameter's value to true to instruct the API
+ * to only return groups owned by the authenticated user.
+ * @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 property identifies the next page that can be retrieved.
+ * @return Google_Service_YouTubeAnalytics_GroupListResponse
+ */
+ public function listGroups($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTubeAnalytics_GroupListResponse");
+ }
+ /**
+ * Modifies a group. For example, you could change a group's title.
+ * (groups.update)
+ *
+ * @param Google_Service_YouTubeAnalytics_Group $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 Google_Service_YouTubeAnalytics_Group
+ */
+ public function update(Google_Service_YouTubeAnalytics_Group $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTubeAnalytics_Group");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/Reports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/Reports.php
new file mode 100644
index 00000000..6f6f116f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/Reports.php
@@ -0,0 +1,83 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...);
+ * $reports = $youtubeAnalyticsService->reports;
+ * </code>
+ */
+class Google_Service_YouTubeAnalytics_Resource_Reports extends 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 string currency The currency to which financial metrics should be
+ * converted. The default is US Dollar (USD). If the result contains no
+ * financial metrics, this flag will be ignored. Responds with an error if the
+ * specified currency is not recognized.
+ * @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 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.
+ * @opt_param bool include-historical-channel-data If set to true historical
+ * data (i.e. channel data from before the linking of the channel to the content
+ * owner) will be retrieved.
+ * @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 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).
+ * @return 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), "Google_Service_YouTubeAnalytics_ResultTable");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/ResultTable.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/ResultTable.php
new file mode 100644
index 00000000..0accde01
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/ResultTable.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeAnalytics_ResultTable extends Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $columnHeadersType = '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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/ResultTableColumnHeaders.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/ResultTableColumnHeaders.php
new file mode 100644
index 00000000..1798672a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/ResultTableColumnHeaders.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeAnalytics_ResultTableColumnHeaders extends Google_Model
+{
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting.php
new file mode 100644
index 00000000..f7932338
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting.php
@@ -0,0 +1,242 @@
+<?php
+/*
+ * Copyright 2016 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 YouTubeReporting (v1).
+ *
+ * <p>
+ * Schedules reporting jobs containing your YouTube Analytics data and downloads
+ * the resulting bulk data reports in the form of CSV files.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/youtube/reporting/v1/reports/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_YouTubeReporting extends Google_Service
+{
+ /** View monetary and non-monetary YouTube Analytics 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 $jobs;
+ public $jobs_reports;
+ public $media;
+ public $reportTypes;
+
+ /**
+ * Constructs the internal representation of the YouTubeReporting service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->rootUrl = 'https://youtubereporting.googleapis.com/';
+ $this->servicePath = '';
+ $this->version = 'v1';
+ $this->serviceName = 'youtubereporting';
+
+ $this->jobs = new Google_Service_YouTubeReporting_Resource_Jobs(
+ $this,
+ $this->serviceName,
+ 'jobs',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'v1/jobs',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'v1/jobs/{jobId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'v1/jobs/{jobId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/jobs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeSystemManaged' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->jobs_reports = new Google_Service_YouTubeReporting_Resource_JobsReports(
+ $this,
+ $this->serviceName,
+ 'reports',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'v1/jobs/{jobId}/reports/{reportId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'v1/jobs/{jobId}/reports',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startTimeBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startTimeAtOrAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->media = new Google_Service_YouTubeReporting_Resource_Media(
+ $this,
+ $this->serviceName,
+ 'media',
+ array(
+ 'methods' => array(
+ 'download' => array(
+ 'path' => 'v1/media/{+resourceName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'resourceName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reportTypes = new Google_Service_YouTubeReporting_Resource_ReportTypes(
+ $this,
+ $this->serviceName,
+ 'reportTypes',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1/reportTypes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeSystemManaged' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Job.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Job.php
new file mode 100644
index 00000000..290613fb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Job.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeReporting_Job extends Google_Model
+{
+ public $createTime;
+ public $expireTime;
+ public $id;
+ public $name;
+ public $reportTypeId;
+ public $systemManaged;
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setExpireTime($expireTime)
+ {
+ $this->expireTime = $expireTime;
+ }
+ public function getExpireTime()
+ {
+ return $this->expireTime;
+ }
+ 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 setReportTypeId($reportTypeId)
+ {
+ $this->reportTypeId = $reportTypeId;
+ }
+ public function getReportTypeId()
+ {
+ return $this->reportTypeId;
+ }
+ public function setSystemManaged($systemManaged)
+ {
+ $this->systemManaged = $systemManaged;
+ }
+ public function getSystemManaged()
+ {
+ return $this->systemManaged;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListJobsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListJobsResponse.php
new file mode 100644
index 00000000..e5052171
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListJobsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeReporting_ListJobsResponse extends Google_Collection
+{
+ protected $collection_key = 'jobs';
+ protected $jobsType = 'Google_Service_YouTubeReporting_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;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListReportTypesResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListReportTypesResponse.php
new file mode 100644
index 00000000..08d87d71
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListReportTypesResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeReporting_ListReportTypesResponse extends Google_Collection
+{
+ protected $collection_key = 'reportTypes';
+ public $nextPageToken;
+ protected $reportTypesType = 'Google_Service_YouTubeReporting_ReportType';
+ protected $reportTypesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setReportTypes($reportTypes)
+ {
+ $this->reportTypes = $reportTypes;
+ }
+ public function getReportTypes()
+ {
+ return $this->reportTypes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListReportsResponse.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListReportsResponse.php
new file mode 100644
index 00000000..d5c66055
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListReportsResponse.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeReporting_ListReportsResponse extends Google_Collection
+{
+ protected $collection_key = 'reports';
+ public $nextPageToken;
+ protected $reportsType = 'Google_Service_YouTubeReporting_Report';
+ protected $reportsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setReports($reports)
+ {
+ $this->reports = $reports;
+ }
+ public function getReports()
+ {
+ return $this->reports;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Media.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Media.php
new file mode 100644
index 00000000..2035d8bd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Media.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeReporting_Media extends Google_Model
+{
+ public $resourceName;
+
+ public function setResourceName($resourceName)
+ {
+ $this->resourceName = $resourceName;
+ }
+ public function getResourceName()
+ {
+ return $this->resourceName;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Report.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Report.php
new file mode 100644
index 00000000..60f26843
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Report.php
@@ -0,0 +1,84 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeReporting_Report extends Google_Model
+{
+ public $createTime;
+ public $downloadUrl;
+ public $endTime;
+ public $id;
+ public $jobExpireTime;
+ public $jobId;
+ public $startTime;
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setDownloadUrl($downloadUrl)
+ {
+ $this->downloadUrl = $downloadUrl;
+ }
+ public function getDownloadUrl()
+ {
+ return $this->downloadUrl;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setJobExpireTime($jobExpireTime)
+ {
+ $this->jobExpireTime = $jobExpireTime;
+ }
+ public function getJobExpireTime()
+ {
+ return $this->jobExpireTime;
+ }
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ReportType.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ReportType.php
new file mode 100644
index 00000000..6c027afe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ReportType.php
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeReporting_ReportType extends Google_Model
+{
+ public $deprecateTime;
+ public $id;
+ public $name;
+ public $systemManaged;
+
+ public function setDeprecateTime($deprecateTime)
+ {
+ $this->deprecateTime = $deprecateTime;
+ }
+ public function getDeprecateTime()
+ {
+ return $this->deprecateTime;
+ }
+ 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 setSystemManaged($systemManaged)
+ {
+ $this->systemManaged = $systemManaged;
+ }
+ public function getSystemManaged()
+ {
+ return $this->systemManaged;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/Jobs.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/Jobs.php
new file mode 100644
index 00000000..f8707f9b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/Jobs.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubereportingService = new Google_Service_YouTubeReporting(...);
+ * $jobs = $youtubereportingService->jobs;
+ * </code>
+ */
+class Google_Service_YouTubeReporting_Resource_Jobs extends Google_Service_Resource
+{
+ /**
+ * Creates a job and returns it. (jobs.create)
+ *
+ * @param Google_Service_YouTubeReporting_Job $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner The content owner's external ID on
+ * which behalf the user is acting on. If not set, the user is acting for
+ * himself (his own channel).
+ * @return Google_Service_YouTubeReporting_Job
+ */
+ public function create(Google_Service_YouTubeReporting_Job $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_YouTubeReporting_Job");
+ }
+ /**
+ * Deletes a job. (jobs.delete)
+ *
+ * @param string $jobId The ID of the job to delete.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner The content owner's external ID on
+ * which behalf the user is acting on. If not set, the user is acting for
+ * himself (his own channel).
+ * @return Google_Service_YouTubeReporting_YoutubereportingEmpty
+ */
+ public function delete($jobId, $optParams = array())
+ {
+ $params = array('jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_YouTubeReporting_YoutubereportingEmpty");
+ }
+ /**
+ * Gets a job. (jobs.get)
+ *
+ * @param string $jobId The ID of the job to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner The content owner's external ID on
+ * which behalf the user is acting on. If not set, the user is acting for
+ * himself (his own channel).
+ * @return Google_Service_YouTubeReporting_Job
+ */
+ public function get($jobId, $optParams = array())
+ {
+ $params = array('jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_YouTubeReporting_Job");
+ }
+ /**
+ * Lists jobs. (jobs.listJobs)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner The content owner's external ID on
+ * which behalf the user is acting on. If not set, the user is acting for
+ * himself (his own channel).
+ * @opt_param string pageToken A token identifying a page of results the server
+ * should return. Typically, this is the value of
+ * ListReportTypesResponse.next_page_token returned in response to the previous
+ * call to the `ListJobs` method.
+ * @opt_param bool includeSystemManaged If set to true, also system-managed jobs
+ * will be returned; otherwise only user-created jobs will be returned. System-
+ * managed jobs can neither be modified nor deleted.
+ * @opt_param int pageSize Requested page size. Server may return fewer jobs
+ * than requested. If unspecified, server will pick an appropriate default.
+ * @return Google_Service_YouTubeReporting_ListJobsResponse
+ */
+ public function listJobs($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTubeReporting_ListJobsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/JobsReports.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/JobsReports.php
new file mode 100644
index 00000000..27b92a2c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/JobsReports.php
@@ -0,0 +1,77 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubereportingService = new Google_Service_YouTubeReporting(...);
+ * $reports = $youtubereportingService->reports;
+ * </code>
+ */
+class Google_Service_YouTubeReporting_Resource_JobsReports extends Google_Service_Resource
+{
+ /**
+ * Gets the metadata of a specific report. (reports.get)
+ *
+ * @param string $jobId The ID of the job.
+ * @param string $reportId The ID of the report to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner The content owner's external ID on
+ * which behalf the user is acting on. If not set, the user is acting for
+ * himself (his own channel).
+ * @return Google_Service_YouTubeReporting_Report
+ */
+ public function get($jobId, $reportId, $optParams = array())
+ {
+ $params = array('jobId' => $jobId, 'reportId' => $reportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_YouTubeReporting_Report");
+ }
+ /**
+ * Lists reports created by a specific job. Returns NOT_FOUND if the job does
+ * not exist. (reports.listJobsReports)
+ *
+ * @param string $jobId The ID of the job.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner The content owner's external ID on
+ * which behalf the user is acting on. If not set, the user is acting for
+ * himself (his own channel).
+ * @opt_param string startTimeBefore If set, only reports whose start time is
+ * smaller than the specified date/time are returned.
+ * @opt_param string createdAfter If set, only reports created after the
+ * specified date/time are returned.
+ * @opt_param string pageToken A token identifying a page of results the server
+ * should return. Typically, this is the value of
+ * ListReportsResponse.next_page_token returned in response to the previous call
+ * to the `ListReports` method.
+ * @opt_param string startTimeAtOrAfter If set, only reports whose start time is
+ * greater than or equal the specified date/time are returned.
+ * @opt_param int pageSize Requested page size. Server may return fewer report
+ * types than requested. If unspecified, server will pick an appropriate
+ * default.
+ * @return Google_Service_YouTubeReporting_ListReportsResponse
+ */
+ public function listJobsReports($jobId, $optParams = array())
+ {
+ $params = array('jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTubeReporting_ListReportsResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/Media.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/Media.php
new file mode 100644
index 00000000..9c9a947e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/Media.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "media" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubereportingService = new Google_Service_YouTubeReporting(...);
+ * $media = $youtubereportingService->media;
+ * </code>
+ */
+class Google_Service_YouTubeReporting_Resource_Media extends Google_Service_Resource
+{
+ /**
+ * Method for media download. Download is supported on the URI
+ * `/v1/media/{+name}?alt=media`. (media.download)
+ *
+ * @param string $resourceName Name of the media that is being downloaded. See
+ * ReadRequest.resource_name.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTubeReporting_Media
+ */
+ public function download($resourceName, $optParams = array())
+ {
+ $params = array('resourceName' => $resourceName);
+ $params = array_merge($params, $optParams);
+ return $this->call('download', array($params), "Google_Service_YouTubeReporting_Media");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/ReportTypes.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/ReportTypes.php
new file mode 100644
index 00000000..724db661
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/ReportTypes.php
@@ -0,0 +1,54 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+/**
+ * The "reportTypes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubereportingService = new Google_Service_YouTubeReporting(...);
+ * $reportTypes = $youtubereportingService->reportTypes;
+ * </code>
+ */
+class Google_Service_YouTubeReporting_Resource_ReportTypes extends Google_Service_Resource
+{
+ /**
+ * Lists report types. (reportTypes.listReportTypes)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner The content owner's external ID on
+ * which behalf the user is acting on. If not set, the user is acting for
+ * himself (his own channel).
+ * @opt_param string pageToken A token identifying a page of results the server
+ * should return. Typically, this is the value of
+ * ListReportTypesResponse.next_page_token returned in response to the previous
+ * call to the `ListReportTypes` method.
+ * @opt_param bool includeSystemManaged If set to true, also system-managed
+ * report types will be returned; otherwise only the report types that can be
+ * used to create new reporting jobs will be returned.
+ * @opt_param int pageSize Requested page size. Server may return fewer report
+ * types than requested. If unspecified, server will pick an appropriate
+ * default.
+ * @return Google_Service_YouTubeReporting_ListReportTypesResponse
+ */
+ public function listReportTypes($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTubeReporting_ListReportTypesResponse");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/YoutubereportingEmpty.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/YoutubereportingEmpty.php
new file mode 100644
index 00000000..9ca9fbbe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/YoutubereportingEmpty.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2016 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 Google_Service_YouTubeReporting_YoutubereportingEmpty extends Google_Model
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/tests/ServiceTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/tests/ServiceTest.php
new file mode 100644
index 00000000..67f2a6aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/tests/ServiceTest.php
@@ -0,0 +1,61 @@
+<?php
+/**
+ * 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.
+ */
+
+require_once __DIR__ . '/../vendor/autoload.php';
+
+class Google_Service_ServiceTest extends PHPUnit_Framework_TestCase
+{
+ public function setUp()
+ {
+ // ensure dependent classes exist
+ $this->getMock('Google_Service');
+ $this->getMock('Google_Model');
+ $this->getMock('Google_Collection');
+ $this->getMock('Google_Service_Resource');
+ }
+ /**
+ * @dataProvider serviceProvider
+ */
+ public function testIncludes($class)
+ {
+ $this->assertTrue(
+ class_exists($class),
+ sprintf('Failed asserting class %s exists.', $class)
+ );
+ }
+
+ public function serviceProvider()
+ {
+ $classes = array();
+ $path = __DIR__ . '/../src/Google/Service/';
+ foreach (glob($path . "*.php") as $file) {
+ $service = basename($file, '.php');
+ $classes[] = array('Google_Service_' . $service);
+ foreach (glob($path . "{$service}/*.php") as $file) {
+ $classes[] = array("Google_Service_{$service}_" . basename($file, '.php'));
+ }
+ foreach (glob($path . "{$service}/Resource/*.php") as $file) {
+ $classes[] = array("Google_Service_{$service}_Resource_" . basename($file, '.php'));
+ }
+ }
+
+ return $classes;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/tests/bootstrap.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/tests/bootstrap.php
new file mode 100644
index 00000000..e15933af
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient-services/tests/bootstrap.php
@@ -0,0 +1,3 @@
+<?php
+
+require_once __DIR__ .'/../vendor/autoload.php'; \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/.gitattributes b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/.gitattributes
new file mode 100644
index 00000000..d4e9c251
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/.gitattributes
@@ -0,0 +1,9 @@
+/.github export-ignore
+/.gitignore export-ignore
+/.travis.yml export-ignore
+/CONTRIBUTING.md export-ignore
+/examples export-ignore
+/phpunit.xml.dist export-ignore
+/style export-ignore
+/tests export-ignore
+/UPGRADING.md export-ignore
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/LICENSE b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/LICENSE
new file mode 100644
index 00000000..a148ba56
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/README.md b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/README.md
new file mode 100644
index 00000000..e2d6eb85
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/README.md
@@ -0,0 +1,366 @@
+[![Build Status](https://travis-ci.org/google/google-api-php-client.svg?branch=master)](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.
+
+## Requirements ##
+* [PHP 5.4.0 or higher](http://www.php.net/)
+
+## Google Cloud Platform APIs
+If you're looking to call the **Google Cloud Platform** APIs, you will want to use the [Google Cloud PHP](https://github.com/googlecloudplatform/google-cloud-php) library instead of this one.
+
+## Developer Documentation ##
+http://developers.google.com/api-client-library/php
+
+## Installation ##
+
+You can use **Composer** or simply **Download the Release**
+
+### Composer
+
+The preferred method is via [composer](https://getcomposer.org). Follow the
+[installation instructions](https://getcomposer.org/doc/00-intro.md) if you do not already have
+composer installed.
+
+Once composer is installed, execute the following command in your project root to install this library:
+
+```sh
+composer require google/apiclient:^2.0
+```
+
+Finally, be sure to include the autoloader:
+
+```php
+require_once '/path/to/your-project/vendor/autoload.php';
+```
+
+### Download the Release
+
+If you abhor using composer, you can download the package in its entirety. The [Releases](https://github.com/google/google-api-php-client/releases) page lists all stable versions. Download any file
+with the name `google-api-php-client-[RELEASE_NAME].zip` for a package including this library and its dependencies.
+
+Uncompress the zip file you download, and include the autoloader in your project:
+
+```php
+require_once '/path/to/google-api-php-client/vendor/autoload.php';
+```
+
+For additional installation and setup instructions, see [the documentation](https://developers.google.com/api-client-library/php/start/installation).
+
+## Examples ##
+See the [`examples/`](examples) directory for examples of the key client features. You can
+view them in your browser by running the php built-in web server.
+
+```
+$ php -S localhost:8000 -t examples/
+```
+
+And then browsing to the host and port you specified
+(in the above example, `http://localhost:8000`).
+
+### Basic Example ###
+
+```php
+// include your composer dependencies
+require_once 'vendor/autoload.php';
+
+$client = new Google_Client();
+$client->setApplicationName("Client_Library_Examples");
+$client->setDeveloperKey("YOUR_APP_KEY");
+
+$service = new 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";
+}
+```
+
+### Authentication with OAuth ###
+
+> An example of this can be seen in [`examples/simple-file-upload.php`](examples/simple-file-upload.php).
+
+1. Follow the instructions to [Create Web Application Credentials](https://developers.google.com/api-client-library/php/auth/web-app#creatingcred)
+1. Download the JSON credentials
+1. Set the path to these credentials using `Google_Client::setAuthConfig`:
+
+ ```php
+ $client = new Google_Client();
+ $client->setAuthConfig('/path/to/client_credentials.json');
+ ```
+
+1. Set the scopes required for the API you are going to call
+
+ ```php
+ $client->addScope(Google_Service_Drive::DRIVE);
+ ```
+
+1. Set your application's redirect URI
+
+ ```php
+ // Your redirect URI can be any registered URI, but in this example
+ // we redirect back to this same page
+ $redirect_uri = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
+ $client->setRedirectUri($redirect_uri);
+ ```
+
+1. In the script handling the redirect URI, exchange the authorization code for an access token:
+
+ ```php
+ if (isset($_GET['code'])) {
+ $token = $client->fetchAccessTokenWithAuthCode($_GET['code']);
+ $client->setAccessToken($token);
+ }
+ ```
+
+### Authentication with Service Accounts ###
+
+> An example of this can be seen in [`examples/service-account.php`](examples/service-account.php).
+
+1. Follow the instructions to [Create a Service Account](https://developers.google.com/api-client-library/php/auth/service-accounts#creatinganaccount)
+1. Download the JSON credentials
+1. Set the path to these credentials using the `GOOGLE_APPLICATION_CREDENTIALS` environment variable:
+
+ ```php
+ putenv('GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json');
+ ```
+
+1. Tell the Google client to use your service account credentials to authenticate:
+
+ ```php
+ $client = new Google_Client();
+ $client->useApplicationDefaultCredentials();
+ ```
+
+1. Set the scopes required for the API you are going to call
+
+ ```php
+ $client->addScope(Google_Service_Drive::DRIVE);
+ ```
+
+1. If you have delegated domain-wide access to the service account and you want to impersonate a user account, specify the email address of the user account using the method setSubject:
+
+ ```php
+ $client->setSubject($user_to_impersonate);
+ ```
+
+### Making Requests ###
+
+The classes used to call the API in [google-api-php-client-services](https://github.com/Google/google-api-php-client-services) are autogenerated. They map directly to the JSON requests and responses found in the [APIs Explorer](https://developers.google.com/apis-explorer/#p/).
+
+A JSON request to the [Datastore API](https://developers.google.com/apis-explorer/#p/datastore/v1beta3/datastore.projects.runQuery) would look like this:
+
+```json
+POST https://datastore.googleapis.com/v1beta3/projects/YOUR_PROJECT_ID:runQuery?key=YOUR_API_KEY
+
+{
+ "query": {
+ "kind": [{
+ "name": "Book"
+ }],
+ "order": [{
+ "property": {
+ "name": "title"
+ },
+ "direction": "descending"
+ }],
+ "limit": 10
+ }
+}
+```
+
+Using this library, the same call would look something like this:
+
+```php
+// create the datastore service class
+$datastore = new Google_Service_Datastore($client);
+
+// build the query - this maps directly to the JSON
+$query = new Google_Service_Datastore_Query([
+ 'kind' => [
+ [
+ 'name' => 'Book',
+ ],
+ ],
+ 'order' => [
+ 'property' => [
+ 'name' => 'title',
+ ],
+ 'direction' => 'descending',
+ ],
+ 'limit' => 10,
+]);
+
+// build the request and response
+$request = new Google_Service_Datastore_RunQueryRequest(['query' => $query]);
+$response = $datastore->projects->runQuery('YOUR_DATASET_ID', $request);
+```
+
+However, as each property of the JSON API has a corresponding generated class, the above code could also be written like this:
+
+```php
+// create the datastore service class
+$datastore = new Google_Service_Datastore($client);
+
+// build the query
+$request = new Google_Service_Datastore_RunQueryRequest();
+$query = new Google_Service_Datastore_Query();
+// - set the order
+$order = new Google_Service_Datastore_PropertyOrder();
+$order->setDirection('descending');
+$property = new Google_Service_Datastore_PropertyReference();
+$property->setName('title');
+$order->setProperty($property);
+$query->setOrder([$order]);
+// - set the kinds
+$kind = new Google_Service_Datastore_KindExpression();
+$kind->setName('Book');
+$query->setKinds([$kind]);
+// - set the limit
+$query->setLimit(10);
+
+// add the query to the request and make the request
+$request->setQuery($query);
+$response = $datastore->projects->runQuery('YOUR_DATASET_ID', $request);
+```
+
+The method used is a matter of preference, but *it will be very difficult to use this library without first understanding the JSON syntax for the API*, so it is recommended to look at the [APIs Explorer](https://developers.google.com/apis-explorer/#p/) before using any of the services here.
+
+### Making HTTP Requests Directly ###
+
+If Google Authentication is desired for external applications, or a Google API is not available yet in this library, HTTP requests can be made directly.
+
+The `authorize` method returns an authorized [Guzzle Client](http://docs.guzzlephp.org/), so any request made using the client will contain the corresponding authorization.
+
+```php
+// create the Google client
+$client = new Google_Client();
+
+/**
+ * Set your method for authentication. Depending on the API, This could be
+ * directly with an access token, API key, or (recommended) using
+ * Application Default Credentials.
+ */
+$client->useApplicationDefaultCredentials();
+$client->addScope(Google_Service_Plus::PLUS_ME);
+
+// returns a Guzzle HTTP Client
+$httpClient = $client->authorize();
+
+// make an HTTP request
+$response = $httpClient->get('https://www.googleapis.com/plus/v1/people/me');
+```
+
+### Caching ###
+
+It is recommended to use another caching library to improve performance. This can be done by passing a [PSR-6](http://www.php-fig.org/psr/psr-6/) compatible library to the client:
+
+```php
+$cache = new Stash\Pool(new Stash\Driver\FileSystem);
+$client->setCache($cache);
+```
+
+In this example we use [StashPHP](http://www.stashphp.com/). Add this to your project with composer:
+
+```
+composer require tedivm/stash
+```
+
+### Updating Tokens ###
+
+When using [Refresh Tokens](https://developers.google.com/identity/protocols/OAuth2InstalledApp#refresh) or [Service Account Credentials](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#overview), it may be useful to perform some action when a new access token is granted. To do this, pass a callable to the `setTokenCallback` method on the client:
+
+```php
+$logger = new Monolog\Logger;
+$tokenCallback = function ($cacheKey, $accessToken) use ($logger) {
+ $logger->debug(sprintf('new access token received at cache key %s', $cacheKey));
+};
+$client->setTokenCallback($tokenCallback);
+```
+
+### Debugging Your HTTP Request using Charles ###
+
+It is often very useful to debug your API calls by viewing the raw HTTP request. This library supports the use of [Charles Web Proxy](https://www.charlesproxy.com/documentation/getting-started/). Download and run Charles, and then capture all HTTP traffic through Charles with the following code:
+
+```php
+// FOR DEBUGGING ONLY
+$httpClient = new GuzzleHttp\Client([
+ 'proxy' => 'localhost:8888', // by default, Charles runs on localhost port 8888
+ 'verify' => false, // otherwise HTTPS requests will fail.
+]);
+
+$client = new Google_Client();
+$client->setHttpClient($httpClient);
+```
+
+Now all calls made by this library will appear in the Charles UI.
+
+One additional step is required in Charles to view SSL requests. Go to **Charles > Proxy > SSL Proxying Settings** and add the domain you'd like captured. In the case of the Google APIs, this is usually `*.googleapis.com`.
+
+### Service Specific Examples ###
+
+YouTube: https://github.com/youtube/api-samples/tree/master/php
+
+## How Do I Contribute? ##
+
+Please see the [contributing](CONTRIBUTING.md) page for more information. In particular, we love pull requests - but please make sure to sign the [contributor license agreement](https://developers.google.com/api-client-library/php/contribute).
+
+## 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](https://github.com/google/google-api-php-client/issues) in the Github issues tracker, including an 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.
+
+### I want an example of X! ###
+
+If X is a feature of the library, file away! If X is an example of using a specific service, the best place to go is to the teams for those specific APIs - our preference is to link to their examples rather than add them to the library, as they can then pin to specific versions of the library. If you have any examples for other APIs, let us know and we will happily add a link to the README above!
+
+### 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 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"
+);
+```
+
+### How do I set a field to null? ###
+
+The library strips out nulls from the objects sent to the Google APIs as its the default value of all of the uninitialized properties. To work around this, set the field you want to null to `Google_Model::NULL_VALUE`. This is a placeholder that will be replaced with a true null when sent over the wire.
+
+## Code Quality ##
+
+Run the PHPUnit tests with PHPUnit. You can configure an API key and token in BaseTest.php to run all calls, but this will require some setup on the Google Developer Console.
+
+ phpunit tests/
+
+### Coding Style
+
+To check for coding style violations, run
+
+```
+vendor/bin/phpcs src --standard=style/ruleset.xml -np
+```
+
+To automatically fix (fixable) coding style violations, run
+
+```
+vendor/bin/phpcbf src --standard=style/ruleset.xml
+```
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/composer.json b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/composer.json
new file mode 100644
index 00000000..3f0619c1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/composer.json
@@ -0,0 +1,41 @@
+{
+ "name": "google/apiclient",
+ "type": "library",
+ "description": "Client library for Google APIs",
+ "keywords": ["google"],
+ "homepage": "http://developers.google.com/api-client-library/php",
+ "license": "Apache-2.0",
+ "require": {
+ "php": ">=5.4",
+ "google/auth": "^0.11",
+ "google/apiclient-services": "^0.11",
+ "firebase/php-jwt": "~2.0|~3.0|~4.0",
+ "monolog/monolog": "^1.17",
+ "phpseclib/phpseclib": "~0.3.10|~2.0",
+ "guzzlehttp/guzzle": "~5.2|~6.0",
+ "guzzlehttp/psr7": "^1.2"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4",
+ "squizlabs/php_codesniffer": "~2.3",
+ "symfony/dom-crawler": "~2.1",
+ "symfony/css-selector": "~2.1",
+ "cache/filesystem-adapter": "^0.3.2"
+ },
+ "suggest": {
+ "cache/filesystem-adapter": "For caching certs and tokens (using Google_Client::setCache)"
+ },
+ "autoload": {
+ "psr-0": {
+ "Google_": "src/"
+ },
+ "classmap": [
+ "src/Google/Service/"
+ ]
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.x-dev"
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AccessToken/Revoke.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AccessToken/Revoke.php
new file mode 100644
index 00000000..29eb3fb3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AccessToken/Revoke.php
@@ -0,0 +1,78 @@
+<?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.
+ */
+
+use Google\Auth\HttpHandler\HttpHandlerFactory;
+use GuzzleHttp\ClientInterface;
+use GuzzleHttp\Psr7;
+use GuzzleHttp\Psr7\Request;
+
+/**
+ * Wrapper around Google Access Tokens which provides convenience functions
+ *
+ */
+class Google_AccessToken_Revoke
+{
+ /**
+ * @var GuzzleHttp\ClientInterface The http client
+ */
+ private $http;
+
+ /**
+ * Instantiates the class, but does not initiate the login flow, leaving it
+ * to the discretion of the caller.
+ */
+ public function __construct(ClientInterface $http = null)
+ {
+ $this->http = $http;
+ }
+
+ /**
+ * Revoke an OAuth2 access token or refresh token. This method will revoke the current access
+ * token, if a token isn't provided.
+ *
+ * @param string|array $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)
+ {
+ if (is_array($token)) {
+ if (isset($token['refresh_token'])) {
+ $token = $token['refresh_token'];
+ } else {
+ $token = $token['access_token'];
+ }
+ }
+
+ $body = Psr7\stream_for(http_build_query(array('token' => $token)));
+ $request = new Request(
+ 'POST',
+ Google_Client::OAUTH2_REVOKE_URI,
+ [
+ 'Cache-Control' => 'no-store',
+ 'Content-Type' => 'application/x-www-form-urlencoded',
+ ],
+ $body
+ );
+
+ $httpHandler = HttpHandlerFactory::build($this->http);
+
+ $response = $httpHandler($request);
+
+ return $response->getStatusCode() == 200;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AccessToken/Verify.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AccessToken/Verify.php
new file mode 100644
index 00000000..748aa3df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AccessToken/Verify.php
@@ -0,0 +1,269 @@
+<?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.
+ */
+
+use Firebase\JWT\ExpiredException as ExpiredExceptionV3;
+use GuzzleHttp\Client;
+use GuzzleHttp\ClientInterface;
+use Psr\Cache\CacheItemPoolInterface;
+use Google\Auth\Cache\MemoryCacheItemPool;
+use Stash\Driver\FileSystem;
+use Stash\Pool;
+
+/**
+ * Wrapper around Google Access Tokens which provides convenience functions
+ *
+ */
+class Google_AccessToken_Verify
+{
+ const FEDERATED_SIGNON_CERT_URL = 'https://www.googleapis.com/oauth2/v3/certs';
+ const OAUTH2_ISSUER = 'accounts.google.com';
+ const OAUTH2_ISSUER_HTTPS = 'https://accounts.google.com';
+
+ /**
+ * @var GuzzleHttp\ClientInterface The http client
+ */
+ private $http;
+
+ /**
+ * @var Psr\Cache\CacheItemPoolInterface cache class
+ */
+ private $cache;
+
+ /**
+ * Instantiates the class, but does not initiate the login flow, leaving it
+ * to the discretion of the caller.
+ */
+ public function __construct(
+ ClientInterface $http = null,
+ CacheItemPoolInterface $cache = null,
+ $jwt = null
+ ) {
+ if (null === $http) {
+ $http = new Client();
+ }
+
+ if (null === $cache) {
+ $cache = new MemoryCacheItemPool;
+ }
+
+ $this->http = $http;
+ $this->cache = $cache;
+ $this->jwt = $jwt ?: $this->getJwtService();
+ }
+
+ /**
+ * 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 $audience
+ * @return array the token payload, if successful
+ */
+ public function verifyIdToken($idToken, $audience = null)
+ {
+ if (empty($idToken)) {
+ throw new LogicException('id_token cannot be null');
+ }
+
+ // set phpseclib constants if applicable
+ $this->setPhpsecConstants();
+
+ // Check signature
+ $certs = $this->getFederatedSignOnCerts();
+ foreach ($certs as $cert) {
+ $bigIntClass = $this->getBigIntClass();
+ $rsaClass = $this->getRsaClass();
+ $modulus = new $bigIntClass($this->jwt->urlsafeB64Decode($cert['n']), 256);
+ $exponent = new $bigIntClass($this->jwt->urlsafeB64Decode($cert['e']), 256);
+
+ $rsa = new $rsaClass();
+ $rsa->loadKey(array('n' => $modulus, 'e' => $exponent));
+
+ try {
+ $payload = $this->jwt->decode(
+ $idToken,
+ $rsa->getPublicKey(),
+ array('RS256')
+ );
+
+ if (property_exists($payload, 'aud')) {
+ if ($audience && $payload->aud != $audience) {
+ return false;
+ }
+ }
+
+ // support HTTP and HTTPS issuers
+ // @see https://developers.google.com/identity/sign-in/web/backend-auth
+ $issuers = array(self::OAUTH2_ISSUER, self::OAUTH2_ISSUER_HTTPS);
+ if (!isset($payload->iss) || !in_array($payload->iss, $issuers)) {
+ return false;
+ }
+
+ return (array) $payload;
+ } catch (ExpiredException $e) {
+ return false;
+ } catch (ExpiredExceptionV3 $e) {
+ return false;
+ } catch (DomainException $e) {
+ // continue
+ }
+ }
+
+ return false;
+ }
+
+ private function getCache()
+ {
+ return $this->cache;
+ }
+
+ /**
+ * Retrieve and cache a certificates file.
+ *
+ * @param $url string location
+ * @throws Google_Exception
+ * @return array certificates
+ */
+ private function retrieveCertsFromLocation($url)
+ {
+ // If we're retrieving a local file, just grab it.
+ if (0 !== strpos($url, 'http')) {
+ if (!$file = file_get_contents($url)) {
+ throw new Google_Exception(
+ "Failed to retrieve verification certificates: '" .
+ $url . "'."
+ );
+ }
+
+ return json_decode($file, true);
+ }
+
+ $response = $this->http->get($url);
+
+ if ($response->getStatusCode() == 200) {
+ return json_decode((string) $response->getBody(), true);
+ }
+ throw new Google_Exception(
+ sprintf(
+ 'Failed to retrieve verification certificates: "%s".',
+ $response->getBody()->getContents()
+ ),
+ $response->getStatusCode()
+ );
+ }
+
+ // 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()
+ {
+ $certs = null;
+ if ($cache = $this->getCache()) {
+ $cacheItem = $cache->getItem('federated_signon_certs_v3', 3600);
+ $certs = $cacheItem->get();
+ }
+
+
+ if (!$certs) {
+ $certs = $this->retrieveCertsFromLocation(
+ self::FEDERATED_SIGNON_CERT_URL
+ );
+
+ if ($cache) {
+ $cacheItem->set($certs);
+ $cache->save($cacheItem);
+ }
+ }
+
+ if (!isset($certs['keys'])) {
+ throw new InvalidArgumentException(
+ 'federated sign-on certs expects "keys" to be set'
+ );
+ }
+
+ return $certs['keys'];
+ }
+
+ private function getJwtService()
+ {
+ $jwtClass = 'JWT';
+ if (class_exists('\Firebase\JWT\JWT')) {
+ $jwtClass = 'Firebase\JWT\JWT';
+ }
+
+ if (property_exists($jwtClass, 'leeway')) {
+ // adds 1 second to JWT leeway
+ // @see https://github.com/google/google-api-php-client/issues/827
+ $jwtClass::$leeway = 1;
+ }
+
+ return new $jwtClass;
+ }
+
+ private function getRsaClass()
+ {
+ if (class_exists('phpseclib\Crypt\RSA')) {
+ return 'phpseclib\Crypt\RSA';
+ }
+
+ return 'Crypt_RSA';
+ }
+
+ private function getBigIntClass()
+ {
+ if (class_exists('phpseclib\Math\BigInteger')) {
+ return 'phpseclib\Math\BigInteger';
+ }
+
+ return 'Math_BigInteger';
+ }
+
+ private function getOpenSslConstant()
+ {
+ if (class_exists('phpseclib\Crypt\RSA')) {
+ return 'phpseclib\Crypt\RSA::MODE_OPENSSL';
+ }
+
+ if (class_exists('Crypt_RSA')) {
+ return 'CRYPT_RSA_MODE_OPENSSL';
+ }
+
+ throw new \Exception('Cannot find RSA class');
+ }
+
+ /**
+ * phpseclib calls "phpinfo" by default, which requires special
+ * whitelisting in the AppEngine VM environment. This function
+ * sets constants to bypass the need for phpseclib to check phpinfo
+ *
+ * @see phpseclib/Math/BigInteger
+ * @see https://github.com/GoogleCloudPlatform/getting-started-php/issues/85
+ */
+ private function setPhpsecConstants()
+ {
+ if (filter_var(getenv('GAE_VM'), FILTER_VALIDATE_BOOLEAN)) {
+ if (!defined('MATH_BIGINTEGER_OPENSSL_ENABLED')) {
+ define('MATH_BIGINTEGER_OPENSSL_ENABLED', true);
+ }
+ if (!defined('CRYPT_RSA_MODE')) {
+ define('CRYPT_RSA_MODE', constant($this->getOpenSslConstant()));
+ }
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/AuthHandlerFactory.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/AuthHandlerFactory.php
new file mode 100644
index 00000000..f1a3229a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/AuthHandlerFactory.php
@@ -0,0 +1,42 @@
+<?php
+/**
+ * Copyright 2015 Google Inc. All Rights Reserved.
+ *
+ * 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.
+ */
+
+use GuzzleHttp\Client;
+use GuzzleHttp\ClientInterface;
+
+class Google_AuthHandler_AuthHandlerFactory
+{
+ /**
+ * Builds out a default http handler for the installed version of guzzle.
+ *
+ * @return Google_AuthHandler_Guzzle5AuthHandler|Google_AuthHandler_Guzzle6AuthHandler
+ * @throws Exception
+ */
+ public static function build($cache = null, array $cacheConfig = [])
+ {
+ $version = ClientInterface::VERSION;
+
+ switch ($version[0]) {
+ case '5':
+ return new Google_AuthHandler_Guzzle5AuthHandler($cache, $cacheConfig);
+ case '6':
+ return new Google_AuthHandler_Guzzle6AuthHandler($cache, $cacheConfig);
+ default:
+ throw new Exception('Version not supported');
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/Guzzle5AuthHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/Guzzle5AuthHandler.php
new file mode 100644
index 00000000..4e4a8d68
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/Guzzle5AuthHandler.php
@@ -0,0 +1,99 @@
+<?php
+
+use Google\Auth\CredentialsLoader;
+use Google\Auth\HttpHandler\HttpHandlerFactory;
+use Google\Auth\FetchAuthTokenCache;
+use Google\Auth\Subscriber\AuthTokenSubscriber;
+use Google\Auth\Subscriber\ScopedAccessTokenSubscriber;
+use Google\Auth\Subscriber\SimpleSubscriber;
+use GuzzleHttp\Client;
+use GuzzleHttp\ClientInterface;
+use Psr\Cache\CacheItemPoolInterface;
+
+/**
+*
+*/
+class Google_AuthHandler_Guzzle5AuthHandler
+{
+ protected $cache;
+ protected $cacheConfig;
+
+ public function __construct(CacheItemPoolInterface $cache = null, array $cacheConfig = [])
+ {
+ $this->cache = $cache;
+ $this->cacheConfig = $cacheConfig;
+ }
+
+ public function attachCredentials(
+ ClientInterface $http,
+ CredentialsLoader $credentials,
+ callable $tokenCallback = null
+ ) {
+ // use the provided cache
+ if ($this->cache) {
+ $credentials = new FetchAuthTokenCache(
+ $credentials,
+ $this->cacheConfig,
+ $this->cache
+ );
+ }
+ // if we end up needing to make an HTTP request to retrieve credentials, we
+ // can use our existing one, but we need to throw exceptions so the error
+ // bubbles up.
+ $authHttp = $this->createAuthHttp($http);
+ $authHttpHandler = HttpHandlerFactory::build($authHttp);
+ $subscriber = new AuthTokenSubscriber(
+ $credentials,
+ $authHttpHandler,
+ $tokenCallback
+ );
+
+ $http->setDefaultOption('auth', 'google_auth');
+ $http->getEmitter()->attach($subscriber);
+
+ return $http;
+ }
+
+ public function attachToken(ClientInterface $http, array $token, array $scopes)
+ {
+ $tokenFunc = function ($scopes) use ($token) {
+ return $token['access_token'];
+ };
+
+ $subscriber = new ScopedAccessTokenSubscriber(
+ $tokenFunc,
+ $scopes,
+ $this->cacheConfig,
+ $this->cache
+ );
+
+ $http->setDefaultOption('auth', 'scoped');
+ $http->getEmitter()->attach($subscriber);
+
+ return $http;
+ }
+
+ public function attachKey(ClientInterface $http, $key)
+ {
+ $subscriber = new SimpleSubscriber(['key' => $key]);
+
+ $http->setDefaultOption('auth', 'simple');
+ $http->getEmitter()->attach($subscriber);
+
+ return $http;
+ }
+
+ private function createAuthHttp(ClientInterface $http)
+ {
+ return new Client(
+ [
+ 'base_url' => $http->getBaseUrl(),
+ 'defaults' => [
+ 'exceptions' => true,
+ 'verify' => $http->getDefaultOption('verify'),
+ 'proxy' => $http->getDefaultOption('proxy'),
+ ]
+ ]
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/Guzzle6AuthHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/Guzzle6AuthHandler.php
new file mode 100644
index 00000000..fcdfb3b0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/Guzzle6AuthHandler.php
@@ -0,0 +1,106 @@
+<?php
+
+use Google\Auth\CredentialsLoader;
+use Google\Auth\HttpHandler\HttpHandlerFactory;
+use Google\Auth\FetchAuthTokenCache;
+use Google\Auth\Middleware\AuthTokenMiddleware;
+use Google\Auth\Middleware\ScopedAccessTokenMiddleware;
+use Google\Auth\Middleware\SimpleMiddleware;
+use GuzzleHttp\Client;
+use GuzzleHttp\ClientInterface;
+use Psr\Cache\CacheItemPoolInterface;
+
+/**
+*
+*/
+class Google_AuthHandler_Guzzle6AuthHandler
+{
+ protected $cache;
+ protected $cacheConfig;
+
+ public function __construct(CacheItemPoolInterface $cache = null, array $cacheConfig = [])
+ {
+ $this->cache = $cache;
+ $this->cacheConfig = $cacheConfig;
+ }
+
+ public function attachCredentials(
+ ClientInterface $http,
+ CredentialsLoader $credentials,
+ callable $tokenCallback = null
+ ) {
+ // use the provided cache
+ if ($this->cache) {
+ $credentials = new FetchAuthTokenCache(
+ $credentials,
+ $this->cacheConfig,
+ $this->cache
+ );
+ }
+ // if we end up needing to make an HTTP request to retrieve credentials, we
+ // can use our existing one, but we need to throw exceptions so the error
+ // bubbles up.
+ $authHttp = $this->createAuthHttp($http);
+ $authHttpHandler = HttpHandlerFactory::build($authHttp);
+ $middleware = new AuthTokenMiddleware(
+ $credentials,
+ $authHttpHandler,
+ $tokenCallback
+ );
+
+ $config = $http->getConfig();
+ $config['handler']->remove('google_auth');
+ $config['handler']->push($middleware, 'google_auth');
+ $config['auth'] = 'google_auth';
+ $http = new Client($config);
+
+ return $http;
+ }
+
+ public function attachToken(ClientInterface $http, array $token, array $scopes)
+ {
+ $tokenFunc = function ($scopes) use ($token) {
+ return $token['access_token'];
+ };
+
+ $middleware = new ScopedAccessTokenMiddleware(
+ $tokenFunc,
+ $scopes,
+ $this->cacheConfig,
+ $this->cache
+ );
+
+ $config = $http->getConfig();
+ $config['handler']->remove('google_auth');
+ $config['handler']->push($middleware, 'google_auth');
+ $config['auth'] = 'scoped';
+ $http = new Client($config);
+
+ return $http;
+ }
+
+ public function attachKey(ClientInterface $http, $key)
+ {
+ $middleware = new SimpleMiddleware(['key' => $key]);
+
+ $config = $http->getConfig();
+ $config['handler']->remove('google_auth');
+ $config['handler']->push($middleware, 'google_auth');
+ $config['auth'] = 'simple';
+ $http = new Client($config);
+
+ return $http;
+ }
+
+ private function createAuthHttp(ClientInterface $http)
+ {
+ return new Client(
+ [
+ 'base_uri' => $http->getConfig('base_uri'),
+ 'exceptions' => true,
+ 'verify' => $http->getConfig('verify'),
+ 'proxy' => $http->getConfig('proxy'),
+ ]
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Client.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Client.php
new file mode 100644
index 00000000..2fb29578
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Client.php
@@ -0,0 +1,1118 @@
+<?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.
+ */
+
+use Google\Auth\ApplicationDefaultCredentials;
+use Google\Auth\Cache\MemoryCacheItemPool;
+use Google\Auth\CredentialsLoader;
+use Google\Auth\HttpHandler\HttpHandlerFactory;
+use Google\Auth\OAuth2;
+use Google\Auth\Credentials\ServiceAccountCredentials;
+use Google\Auth\Credentials\UserRefreshCredentials;
+use GuzzleHttp\Client;
+use GuzzleHttp\ClientInterface;
+use GuzzleHttp\Ring\Client\StreamHandler;
+use GuzzleHttp\Psr7;
+use Psr\Cache\CacheItemPoolInterface;
+use Psr\Http\Message\RequestInterface;
+use Psr\Log\LoggerInterface;
+use Monolog\Logger;
+use Monolog\Handler\StreamHandler as MonologStreamHandler;
+use Monolog\Handler\SyslogHandler as MonologSyslogHandler;
+
+/**
+ * The Google API Client
+ * https://github.com/google/google-api-php-client
+ */
+class Google_Client
+{
+ const LIBVER = "2.1.2";
+ const USER_AGENT_SUFFIX = "google-api-php-client/";
+ const OAUTH2_REVOKE_URI = 'https://accounts.google.com/o/oauth2/revoke';
+ const OAUTH2_TOKEN_URI = 'https://www.googleapis.com/oauth2/v4/token';
+ const OAUTH2_AUTH_URL = 'https://accounts.google.com/o/oauth2/auth';
+ const API_BASE_PATH = 'https://www.googleapis.com';
+
+ /**
+ * @var Google\Auth\OAuth2 $auth
+ */
+ private $auth;
+
+ /**
+ * @var GuzzleHttp\ClientInterface $http
+ */
+ private $http;
+
+ /**
+ * @var Psr\Cache\CacheItemPoolInterface $cache
+ */
+ private $cache;
+
+ /**
+ * @var array access token
+ */
+ private $token;
+
+ /**
+ * @var array $config
+ */
+ private $config;
+
+ /**
+ * @var Google_Logger_Abstract $logger
+ */
+ private $logger;
+
+ /**
+ * @var boolean $deferExecution
+ */
+ private $deferExecution = false;
+
+ /** @var array $scopes */
+ // Scopes requested by the client
+ protected $requestedScopes = [];
+
+ /**
+ * Construct the Google Client.
+ *
+ * @param array $config
+ */
+ public function __construct(array $config = array())
+ {
+ $this->config = array_merge(
+ [
+ 'application_name' => '',
+
+ // Don't change these unless you're working against a special development
+ // or testing environment.
+ 'base_path' => self::API_BASE_PATH,
+
+ // https://developers.google.com/console
+ 'client_id' => '',
+ 'client_secret' => '',
+ 'redirect_uri' => null,
+ 'state' => null,
+
+ // Simple API access key, also from the API console. Ensure you get
+ // a Server key, and not a Browser key.
+ 'developer_key' => '',
+
+ // For use with Google Cloud Platform
+ // fetch the ApplicationDefaultCredentials, if applicable
+ // @see https://developers.google.com/identity/protocols/application-default-credentials
+ 'use_application_default_credentials' => false,
+ 'signing_key' => null,
+ 'signing_algorithm' => null,
+ 'subject' => null,
+
+ // Other OAuth2 parameters.
+ 'hd' => '',
+ 'prompt' => '',
+ 'openid.realm' => '',
+ 'include_granted_scopes' => null,
+ 'login_hint' => '',
+ 'request_visible_actions' => '',
+ 'access_type' => 'online',
+ 'approval_prompt' => 'auto',
+
+ // Task Runner retry configuration
+ // @see Google_Task_Runner
+ 'retry' => array(),
+
+ // cache config for downstream auth caching
+ 'cache_config' => [],
+
+ // function to be called when an access token is fetched
+ // follows the signature function ($cacheKey, $accessToken)
+ 'token_callback' => null,
+
+ // Service class used in Google_Client::verifyIdToken.
+ // Explicitly pass this in to avoid setting JWT::$leeway
+ 'jwt' => null,
+ ],
+ $config
+ );
+ }
+
+ /**
+ * Get a string containing the version of the library.
+ *
+ * @return string
+ */
+ public function getLibraryVersion()
+ {
+ return self::LIBVER;
+ }
+
+ /**
+ * For backwards compatibility
+ * alias for fetchAccessTokenWithAuthCode
+ *
+ * @param $code string code from accounts.google.com
+ * @return array access token
+ * @deprecated
+ */
+ public function authenticate($code)
+ {
+ return $this->fetchAccessTokenWithAuthCode($code);
+ }
+
+ /**
+ * 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 array access token
+ */
+ public function fetchAccessTokenWithAuthCode($code)
+ {
+ if (strlen($code) == 0) {
+ throw new InvalidArgumentException("Invalid code");
+ }
+
+ $auth = $this->getOAuth2Service();
+ $auth->setCode($code);
+ $auth->setRedirectUri($this->getRedirectUri());
+
+ $httpHandler = HttpHandlerFactory::build($this->getHttpClient());
+ $creds = $auth->fetchAuthToken($httpHandler);
+ if ($creds && isset($creds['access_token'])) {
+ $creds['created'] = time();
+ $this->setAccessToken($creds);
+ }
+
+ return $creds;
+ }
+
+ /**
+ * For backwards compatibility
+ * alias for fetchAccessTokenWithAssertion
+ *
+ * @return array access token
+ * @deprecated
+ */
+ public function refreshTokenWithAssertion()
+ {
+ return $this->fetchAccessTokenWithAssertion();
+ }
+
+ /**
+ * Fetches a fresh access token with a given assertion token.
+ * @param $assertionCredentials optional.
+ * @return array access token
+ */
+ public function fetchAccessTokenWithAssertion(ClientInterface $authHttp = null)
+ {
+ if (!$this->isUsingApplicationDefaultCredentials()) {
+ throw new DomainException(
+ 'set the JSON service account credentials using'
+ . ' Google_Client::setAuthConfig or set the path to your JSON file'
+ . ' with the "GOOGLE_APPLICATION_CREDENTIALS" environment variable'
+ . ' and call Google_Client::useApplicationDefaultCredentials to'
+ . ' refresh a token with assertion.'
+ );
+ }
+
+ $this->getLogger()->log(
+ 'info',
+ 'OAuth2 access token refresh with Signed JWT assertion grants.'
+ );
+
+ $credentials = $this->createApplicationDefaultCredentials();
+
+ $httpHandler = HttpHandlerFactory::build($authHttp);
+ $creds = $credentials->fetchAuthToken($httpHandler);
+ if ($creds && isset($creds['access_token'])) {
+ $creds['created'] = time();
+ $this->setAccessToken($creds);
+ }
+
+ return $creds;
+ }
+
+ /**
+ * For backwards compatibility
+ * alias for fetchAccessTokenWithRefreshToken
+ *
+ * @param string $refreshToken
+ * @return array access token
+ */
+ public function refreshToken($refreshToken)
+ {
+ return $this->fetchAccessTokenWithRefreshToken($refreshToken);
+ }
+
+ /**
+ * Fetches a fresh OAuth 2.0 access token with the given refresh token.
+ * @param string $refreshToken
+ * @return array access token
+ */
+ public function fetchAccessTokenWithRefreshToken($refreshToken = null)
+ {
+ if (null === $refreshToken) {
+ if (!isset($this->token['refresh_token'])) {
+ throw new LogicException(
+ 'refresh token must be passed in or set as part of setAccessToken'
+ );
+ }
+ $refreshToken = $this->token['refresh_token'];
+ }
+ $this->getLogger()->info('OAuth2 access token refresh');
+ $auth = $this->getOAuth2Service();
+ $auth->setRefreshToken($refreshToken);
+
+ $httpHandler = HttpHandlerFactory::build($this->getHttpClient());
+ $creds = $auth->fetchAuthToken($httpHandler);
+ if ($creds && isset($creds['access_token'])) {
+ $creds['created'] = time();
+ if (!isset($creds['refresh_token'])) {
+ $creds['refresh_token'] = $refreshToken;
+ }
+ $this->setAccessToken($creds);
+ }
+
+ return $creds;
+ }
+
+ /**
+ * 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|array $scope The scope is expressed as an array or list of space-delimited strings.
+ * @return string
+ */
+ public function createAuthUrl($scope = null)
+ {
+ if (empty($scope)) {
+ $scope = $this->prepareScopes();
+ }
+ if (is_array($scope)) {
+ $scope = implode(' ', $scope);
+ }
+
+ // only accept one of prompt or approval_prompt
+ $approvalPrompt = $this->config['prompt']
+ ? null
+ : $this->config['approval_prompt'];
+
+ // include_granted_scopes should be string "true", string "false", or null
+ $includeGrantedScopes = $this->config['include_granted_scopes'] === null
+ ? null
+ : var_export($this->config['include_granted_scopes'], true);
+
+ $params = array_filter(
+ [
+ 'access_type' => $this->config['access_type'],
+ 'approval_prompt' => $approvalPrompt,
+ 'hd' => $this->config['hd'],
+ 'include_granted_scopes' => $includeGrantedScopes,
+ 'login_hint' => $this->config['login_hint'],
+ 'openid.realm' => $this->config['openid.realm'],
+ 'prompt' => $this->config['prompt'],
+ 'response_type' => 'code',
+ 'scope' => $scope,
+ 'state' => $this->config['state'],
+ ]
+ );
+
+ // If the list of scopes contains plus.login, add request_visible_actions
+ // to auth URL.
+ $rva = $this->config['request_visible_actions'];
+ if (strlen($rva) > 0 && false !== strpos($scope, 'plus.login')) {
+ $params['request_visible_actions'] = $rva;
+ }
+
+ $auth = $this->getOAuth2Service();
+
+ return (string) $auth->buildFullAuthorizationUri($params);
+ }
+
+ /**
+ * Adds auth listeners to the HTTP client based on the credentials
+ * set in the Google API Client object
+ *
+ * @param GuzzleHttp\ClientInterface $http the http client object.
+ * @return GuzzleHttp\ClientInterface the http client object
+ */
+ public function authorize(ClientInterface $http = null)
+ {
+ $credentials = null;
+ $token = null;
+ $scopes = null;
+ if (null === $http) {
+ $http = $this->getHttpClient();
+ }
+
+ // These conditionals represent the decision tree for authentication
+ // 1. Check for Application Default Credentials
+ // 2. Check for API Key
+ // 3a. Check for an Access Token
+ // 3b. If access token exists but is expired, try to refresh it
+ if ($this->isUsingApplicationDefaultCredentials()) {
+ $credentials = $this->createApplicationDefaultCredentials();
+ } elseif ($token = $this->getAccessToken()) {
+ $scopes = $this->prepareScopes();
+ // add refresh subscriber to request a new token
+ if (isset($token['refresh_token']) && $this->isAccessTokenExpired()) {
+ $credentials = $this->createUserRefreshCredentials(
+ $scopes,
+ $token['refresh_token']
+ );
+ }
+ }
+
+ $authHandler = $this->getAuthHandler();
+
+ if ($credentials) {
+ $callback = $this->config['token_callback'];
+ $http = $authHandler->attachCredentials($http, $credentials, $callback);
+ } elseif ($token) {
+ $http = $authHandler->attachToken($http, $token, (array) $scopes);
+ } elseif ($key = $this->config['developer_key']) {
+ $http = $authHandler->attachKey($http, $key);
+ }
+
+ return $http;
+ }
+
+ /**
+ * Set the configuration to use application default credentials for
+ * authentication
+ *
+ * @see https://developers.google.com/identity/protocols/application-default-credentials
+ * @param boolean $useAppCreds
+ */
+ public function useApplicationDefaultCredentials($useAppCreds = true)
+ {
+ $this->config['use_application_default_credentials'] = $useAppCreds;
+ }
+
+ /**
+ * To prevent useApplicationDefaultCredentials from inappropriately being
+ * called in a conditional
+ *
+ * @see https://developers.google.com/identity/protocols/application-default-credentials
+ */
+ public function isUsingApplicationDefaultCredentials()
+ {
+ return $this->config['use_application_default_credentials'];
+ }
+
+ /**
+ * @param string|array $token
+ * @throws InvalidArgumentException
+ */
+ public function setAccessToken($token)
+ {
+ if (is_string($token)) {
+ if ($json = json_decode($token, true)) {
+ $token = $json;
+ } else {
+ // assume $token is just the token string
+ $token = array(
+ 'access_token' => $token,
+ );
+ }
+ }
+ if ($token == null) {
+ throw new InvalidArgumentException('invalid json token');
+ }
+ if (!isset($token['access_token'])) {
+ throw new InvalidArgumentException("Invalid token format");
+ }
+ $this->token = $token;
+ }
+
+ public function getAccessToken()
+ {
+ return $this->token;
+ }
+
+ public function getRefreshToken()
+ {
+ if (isset($this->token['refresh_token'])) {
+ return $this->token['refresh_token'];
+ }
+ }
+
+ /**
+ * Returns if the access_token is expired.
+ * @return bool Returns True if the access_token is expired.
+ */
+ public function isAccessTokenExpired()
+ {
+ if (!$this->token) {
+ return true;
+ }
+
+ $created = 0;
+ if (isset($this->token['created'])) {
+ $created = $this->token['created'];
+ } elseif (isset($this->token['id_token'])) {
+ // check the ID token for "iat"
+ // signature verification is not required here, as we are just
+ // using this for convenience to save a round trip request
+ // to the Google API server
+ $idToken = $this->token['id_token'];
+ if (substr_count($idToken, '.') == 2) {
+ $parts = explode('.', $idToken);
+ $payload = json_decode(base64_decode($parts[1]), true);
+ if ($payload && isset($payload['iat'])) {
+ $created = $payload['iat'];
+ }
+ }
+ }
+
+ // If the token is set to expire in the next 30 seconds.
+ return ($created + ($this->token['expires_in'] - 30)) < time();
+ }
+
+ public function getAuth()
+ {
+ throw new BadMethodCallException(
+ 'This function no longer exists. See UPGRADING.md for more information'
+ );
+ }
+
+ public function setAuth($auth)
+ {
+ throw new BadMethodCallException(
+ 'This function no longer exists. See UPGRADING.md for more information'
+ );
+ }
+
+ /**
+ * Set the OAuth 2.0 Client ID.
+ * @param string $clientId
+ */
+ public function setClientId($clientId)
+ {
+ $this->config['client_id'] = $clientId;
+ }
+
+ public function getClientId()
+ {
+ return $this->config['client_id'];
+ }
+
+ /**
+ * Set the OAuth 2.0 Client Secret.
+ * @param string $clientSecret
+ */
+ public function setClientSecret($clientSecret)
+ {
+ $this->config['client_secret'] = $clientSecret;
+ }
+
+ public function getClientSecret()
+ {
+ return $this->config['client_secret'];
+ }
+
+ /**
+ * Set the OAuth 2.0 Redirect URI.
+ * @param string $redirectUri
+ */
+ public function setRedirectUri($redirectUri)
+ {
+ $this->config['redirect_uri'] = $redirectUri;
+ }
+
+ public function getRedirectUri()
+ {
+ return $this->config['redirect_uri'];
+ }
+
+ /**
+ * 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->config['state'] = $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['access_type'] = $accessType;
+ }
+
+ /**
+ * @param string $approvalPrompt Possible values for approval_prompt include:
+ * {@code "force"} to force the approval UI to appear.
+ * {@code "auto"} to request auto-approval when possible. (This is the default value)
+ */
+ public function setApprovalPrompt($approvalPrompt)
+ {
+ $this->config['approval_prompt'] = $approvalPrompt;
+ }
+
+ /**
+ * Set the login hint, email address or sub id.
+ * @param string $loginHint
+ */
+ public function setLoginHint($loginHint)
+ {
+ $this->config['login_hint'] = $loginHint;
+ }
+
+ /**
+ * Set the application name, this is included in the User-Agent HTTP header.
+ * @param string $applicationName
+ */
+ public function setApplicationName($applicationName)
+ {
+ $this->config['application_name'] = $applicationName;
+ }
+
+ /**
+ * 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 = implode(" ", $requestVisibleActions);
+ }
+ $this->config['request_visible_actions'] = $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['developer_key'] = $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['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->config['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->config['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->config['include_granted_scopes'] = $include;
+ }
+
+ /**
+ * sets function to be called when an access token is fetched
+ * @param callable $tokenCallback - function ($cacheKey, $accessToken)
+ */
+ public function setTokenCallback(callable $tokenCallback)
+ {
+ $this->config['token_callback'] = $tokenCallback;
+ }
+
+ /**
+ * Revoke an OAuth2 access token or refresh token. This method will revoke the current access
+ * token, if a token isn't provided.
+ *
+ * @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)
+ {
+ $tokenRevoker = new Google_AccessToken_Revoke(
+ $this->getHttpClient()
+ );
+
+ return $tokenRevoker->revokeToken($token ?: $this->getAccessToken());
+ }
+
+ /**
+ * Verify an id_token. This method will verify the current id_token, if one
+ * isn't provided.
+ *
+ * @throws LogicException
+ * @param string|null $idToken The token (id_token) that should be verified.
+ * @return array|false Returns the token payload as an array if the verification was
+ * successful, false otherwise.
+ */
+ public function verifyIdToken($idToken = null)
+ {
+ $tokenVerifier = new Google_AccessToken_Verify(
+ $this->getHttpClient(),
+ $this->getCache(),
+ $this->config['jwt']
+ );
+
+ if (null === $idToken) {
+ $token = $this->getAccessToken();
+ if (!isset($token['id_token'])) {
+ throw new LogicException(
+ 'id_token must be passed in or set as part of setAccessToken'
+ );
+ }
+ $idToken = $token['id_token'];
+ }
+
+ return $tokenVerifier->verifyIdToken(
+ $idToken,
+ $this->getClientId()
+ );
+ }
+
+ /**
+ * 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;
+ }
+
+ /**
+ * @return array
+ * @visible For Testing
+ */
+ public function prepareScopes()
+ {
+ if (empty($this->requestedScopes)) {
+ return null;
+ }
+
+ return implode(' ', $this->requestedScopes);
+ }
+
+ /**
+ * Helper method to execute deferred HTTP requests.
+ *
+ * @param $request Psr\Http\Message\RequestInterface|Google_Http_Batch
+ * @throws Google_Exception
+ * @return object of the type of the expected class or Psr\Http\Message\ResponseInterface.
+ */
+ public function execute(RequestInterface $request, $expectedClass = null)
+ {
+ $request = $request->withHeader(
+ 'User-Agent',
+ $this->config['application_name']
+ . " " . self::USER_AGENT_SUFFIX
+ . $this->getLibraryVersion()
+ );
+
+ // call the authorize method
+ // this is where most of the grunt work is done
+ $http = $this->authorize();
+
+ return Google_Http_REST::execute($http, $request, $expectedClass, $this->config['retry']);
+ }
+
+ /**
+ * 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);
+ }
+
+ /**
+ * Are we running in Google AppEngine?
+ * return bool
+ */
+ public function isAppEngine()
+ {
+ return (isset($_SERVER['SERVER_SOFTWARE']) &&
+ strpos($_SERVER['SERVER_SOFTWARE'], 'Google App Engine') !== false);
+ }
+
+ public function setConfig($name, $value)
+ {
+ $this->config[$name] = $value;
+ }
+
+ public function getConfig($name, $default = null)
+ {
+ return isset($this->config[$name]) ? $this->config[$name] : $default;
+ }
+
+ /**
+ * For backwards compatibility
+ * alias for setAuthConfig
+ *
+ * @param string $file the configuration file
+ * @throws Google_Exception
+ * @deprecated
+ */
+ public function setAuthConfigFile($file)
+ {
+ $this->setAuthConfig($file);
+ }
+
+ /**
+ * Set the auth config from new or deprecated JSON config.
+ * This structure should match the file downloaded from
+ * the "Download JSON" button on in the Google Developer
+ * Console.
+ * @param string|array $config the configuration json
+ * @throws Google_Exception
+ */
+ public function setAuthConfig($config)
+ {
+ if (is_string($config)) {
+ if (!file_exists($config)) {
+ throw new InvalidArgumentException('file does not exist');
+ }
+
+ $json = file_get_contents($config);
+
+ if (!$config = json_decode($json, true)) {
+ throw new LogicException('invalid json for auth config');
+ }
+ }
+
+ $key = isset($config['installed']) ? 'installed' : 'web';
+ if (isset($config['type']) && $config['type'] == 'service_account') {
+ // application default credentials
+ $this->useApplicationDefaultCredentials();
+
+ // set the information from the config
+ $this->setClientId($config['client_id']);
+ $this->config['client_email'] = $config['client_email'];
+ $this->config['signing_key'] = $config['private_key'];
+ $this->config['signing_algorithm'] = 'HS256';
+ } elseif (isset($config[$key])) {
+ // old-style
+ $this->setClientId($config[$key]['client_id']);
+ $this->setClientSecret($config[$key]['client_secret']);
+ if (isset($config[$key]['redirect_uris'])) {
+ $this->setRedirectUri($config[$key]['redirect_uris'][0]);
+ }
+ } else {
+ // new-style
+ $this->setClientId($config['client_id']);
+ $this->setClientSecret($config['client_secret']);
+ if (isset($config['redirect_uris'])) {
+ $this->setRedirectUri($config['redirect_uris'][0]);
+ }
+ }
+ }
+
+ /**
+ * Use when the service account has been delegated domain wide access.
+ *
+ * @param string subject an email address account to impersonate
+ */
+ public function setSubject($subject)
+ {
+ $this->config['subject'] = $subject;
+ }
+
+ /**
+ * 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;
+ }
+
+ /**
+ * Whether or not to return raw requests
+ * @return boolean
+ */
+ public function shouldDefer()
+ {
+ return $this->deferExecution;
+ }
+
+ /**
+ * @return Google\Auth\OAuth2 implementation
+ */
+ public function getOAuth2Service()
+ {
+ if (!isset($this->auth)) {
+ $this->auth = $this->createOAuth2Service();
+ }
+
+ return $this->auth;
+ }
+
+ /**
+ * create a default google auth object
+ */
+ protected function createOAuth2Service()
+ {
+ $auth = new OAuth2(
+ [
+ 'clientId' => $this->getClientId(),
+ 'clientSecret' => $this->getClientSecret(),
+ 'authorizationUri' => self::OAUTH2_AUTH_URL,
+ 'tokenCredentialUri' => self::OAUTH2_TOKEN_URI,
+ 'redirectUri' => $this->getRedirectUri(),
+ 'issuer' => $this->config['client_id'],
+ 'signingKey' => $this->config['signing_key'],
+ 'signingAlgorithm' => $this->config['signing_algorithm'],
+ ]
+ );
+
+ return $auth;
+ }
+
+ /**
+ * Set the Cache object
+ * @param Psr\Cache\CacheItemPoolInterface $cache
+ */
+ public function setCache(CacheItemPoolInterface $cache)
+ {
+ $this->cache = $cache;
+ }
+
+ /**
+ * @return Psr\Cache\CacheItemPoolInterface Cache implementation
+ */
+ public function getCache()
+ {
+ if (!$this->cache) {
+ $this->cache = $this->createDefaultCache();
+ }
+
+ return $this->cache;
+ }
+
+ /**
+ * @return Google\Auth\CacheInterface Cache implementation
+ */
+ public function setCacheConfig(array $cacheConfig)
+ {
+ $this->config['cache_config'] = $cacheConfig;
+ }
+
+ /**
+ * Set the Logger object
+ * @param Psr\Log\LoggerInterface $logger
+ */
+ public function setLogger(LoggerInterface $logger)
+ {
+ $this->logger = $logger;
+ }
+
+ /**
+ * @return Psr\Log\LoggerInterface implementation
+ */
+ public function getLogger()
+ {
+ if (!isset($this->logger)) {
+ $this->logger = $this->createDefaultLogger();
+ }
+
+ return $this->logger;
+ }
+
+ protected function createDefaultLogger()
+ {
+ $logger = new Logger('google-api-php-client');
+ if ($this->isAppEngine()) {
+ $handler = new MonologSyslogHandler('app', LOG_USER, Logger::NOTICE);
+ } else {
+ $handler = new MonologStreamHandler('php://stderr', Logger::NOTICE);
+ }
+ $logger->pushHandler($handler);
+
+ return $logger;
+ }
+
+ protected function createDefaultCache()
+ {
+ return new MemoryCacheItemPool;
+ }
+
+ /**
+ * Set the Http Client object
+ * @param GuzzleHttp\ClientInterface $http
+ */
+ public function setHttpClient(ClientInterface $http)
+ {
+ $this->http = $http;
+ }
+
+ /**
+ * @return GuzzleHttp\ClientInterface implementation
+ */
+ public function getHttpClient()
+ {
+ if (null === $this->http) {
+ $this->http = $this->createDefaultHttpClient();
+ }
+
+ return $this->http;
+ }
+
+ protected function createDefaultHttpClient()
+ {
+ $options = ['exceptions' => false];
+
+ $version = ClientInterface::VERSION;
+ if ('5' === $version[0]) {
+ $options = [
+ 'base_url' => $this->config['base_path'],
+ 'defaults' => $options,
+ ];
+ if ($this->isAppEngine()) {
+ // set StreamHandler on AppEngine by default
+ $options['handler'] = new StreamHandler();
+ $options['defaults']['verify'] = '/etc/ca-certificates.crt';
+ }
+ } else {
+ // guzzle 6
+ $options['base_uri'] = $this->config['base_path'];
+ }
+
+ return new Client($options);
+ }
+
+ private function createApplicationDefaultCredentials()
+ {
+ $scopes = $this->prepareScopes();
+ $sub = $this->config['subject'];
+ $signingKey = $this->config['signing_key'];
+
+ // create credentials using values supplied in setAuthConfig
+ if ($signingKey) {
+ $serviceAccountCredentials = array(
+ 'client_id' => $this->config['client_id'],
+ 'client_email' => $this->config['client_email'],
+ 'private_key' => $signingKey,
+ 'type' => 'service_account',
+ );
+ $credentials = CredentialsLoader::makeCredentials($scopes, $serviceAccountCredentials);
+ } else {
+ $credentials = ApplicationDefaultCredentials::getCredentials($scopes);
+ }
+
+ // for service account domain-wide authority (impersonating a user)
+ // @see https://developers.google.com/identity/protocols/OAuth2ServiceAccount
+ if ($sub) {
+ if (!$credentials instanceof ServiceAccountCredentials) {
+ throw new DomainException('domain-wide authority requires service account credentials');
+ }
+
+ $credentials->setSub($sub);
+ }
+
+ return $credentials;
+ }
+
+ protected function getAuthHandler()
+ {
+ // Be very careful using the cache, as the underlying auth library's cache
+ // implementation is naive, and the cache keys do not account for user
+ // sessions.
+ //
+ // @see https://github.com/google/google-api-php-client/issues/821
+ return Google_AuthHandler_AuthHandlerFactory::build(
+ $this->getCache(),
+ $this->config['cache_config']
+ );
+ }
+
+ private function createUserRefreshCredentials($scope, $refreshToken)
+ {
+ $creds = array_filter(
+ array(
+ 'client_id' => $this->getClientId(),
+ 'client_secret' => $this->getClientSecret(),
+ 'refresh_token' => $refreshToken,
+ )
+ );
+
+ return new UserRefreshCredentials($scope, $creds);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Collection.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Collection.php
new file mode 100644
index 00000000..7c478bc0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Collection.php
@@ -0,0 +1,101 @@
+<?php
+
+if (!class_exists('Google_Client')) {
+ require_once __DIR__ . '/autoload.php';
+}
+
+/**
+ * Extension to the regular Google_Model that automatically
+ * exposes the items array for iteration, so you can just
+ * iterate over the object rather than a reference inside.
+ */
+class Google_Collection extends 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()
+ {
+ if (!isset($this->modelData[$this->collection_key])) {
+ return 0;
+ }
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Exception.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Exception.php
new file mode 100644
index 00000000..af802697
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/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 Google_Exception extends Exception
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Http/Batch.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Http/Batch.php
new file mode 100644
index 00000000..4c486848
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Http/Batch.php
@@ -0,0 +1,249 @@
+<?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.
+ */
+
+use GuzzleHttp\Psr7;
+use GuzzleHttp\Psr7\Request;
+use GuzzleHttp\Psr7\Response;
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+
+/**
+ * Class to handle batched requests to the Google API service.
+ */
+class Google_Http_Batch
+{
+ const BATCH_PATH = 'batch';
+
+ 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",
+ );
+
+ /** @var string Multipart Boundary. */
+ private $boundary;
+
+ /** @var array service requests to be executed. */
+ private $requests = array();
+
+ /** @var Google_Client */
+ private $client;
+
+ private $rootUrl;
+
+ private $batchPath;
+
+ public function __construct(
+ Google_Client $client,
+ $boundary = false,
+ $rootUrl = null,
+ $batchPath = null
+ ) {
+ $this->client = $client;
+ $this->boundary = $boundary ?: mt_rand();
+ $this->rootUrl = rtrim($rootUrl ?: $this->client->getConfig('base_path'), '/');
+ $this->batchPath = $batchPath ?: self::BATCH_PATH;
+ }
+
+ public function add(RequestInterface $request, $key = false)
+ {
+ if (false == $key) {
+ $key = mt_rand();
+ }
+
+ $this->requests[$key] = $request;
+ }
+
+ public function execute()
+ {
+ $body = '';
+ $classes = array();
+ $batchHttpTemplate = <<<EOF
+--%s
+Content-Type: application/http
+Content-Transfer-Encoding: binary
+MIME-Version: 1.0
+Content-ID: %s
+
+%s
+%s%s
+
+
+EOF;
+
+ /** @var Google_Http_Request $req */
+ foreach ($this->requests as $key => $request) {
+ $firstLine = sprintf(
+ '%s %s HTTP/%s',
+ $request->getMethod(),
+ $request->getRequestTarget(),
+ $request->getProtocolVersion()
+ );
+
+ $content = (string) $request->getBody();
+
+ $headers = '';
+ foreach ($request->getHeaders() as $name => $values) {
+ $headers .= sprintf("%s:%s\r\n", $name, implode(', ', $values));
+ }
+
+ $body .= sprintf(
+ $batchHttpTemplate,
+ $this->boundary,
+ $key,
+ $firstLine,
+ $headers,
+ $content ? "\n".$content : ''
+ );
+
+ $classes['response-' . $key] = $request->getHeaderLine('X-Php-Expected-Class');
+ }
+
+ $body .= "--{$this->boundary}--";
+ $body = trim($body);
+ $url = $this->rootUrl . '/' . $this->batchPath;
+ $headers = array(
+ 'Content-Type' => sprintf('multipart/mixed; boundary=%s', $this->boundary),
+ 'Content-Length' => strlen($body),
+ );
+
+ $request = new Request(
+ 'POST',
+ $url,
+ $headers,
+ $body
+ );
+
+ $response = $this->client->execute($request);
+
+ return $this->parseResponse($response, $classes);
+ }
+
+ public function parseResponse(ResponseInterface $response, $classes = array())
+ {
+ $contentType = $response->getHeaderLine('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 = (string) $response->getBody();
+ if (!empty($body)) {
+ $body = str_replace("--$boundary--", "--$boundary", $body);
+ $parts = explode("--$boundary", $body);
+ $responses = array();
+ $requests = array_values($this->requests);
+
+ foreach ($parts as $i => $part) {
+ $part = trim($part);
+ if (!empty($part)) {
+ list($rawHeaders, $part) = explode("\r\n\r\n", $part, 2);
+ $headers = $this->parseRawHeaders($rawHeaders);
+
+ $status = substr($part, 0, strpos($part, "\n"));
+ $status = explode(" ", $status);
+ $status = $status[1];
+
+ list($partHeaders, $partBody) = $this->parseHttpResponse($part, false);
+ $response = new Response(
+ $status,
+ $partHeaders,
+ Psr7\stream_for($partBody)
+ );
+
+ // Need content id.
+ $key = $headers['content-id'];
+
+ try {
+ $response = Google_Http_REST::decodeHttpResponse($response, $requests[$i-1]);
+ } catch (Google_Service_Exception $e) {
+ // Store the exception as the response, so successful responses
+ // can be processed.
+ $response = $e;
+ }
+
+ $responses[$key] = $response;
+ }
+ }
+
+ return $responses;
+ }
+
+ return null;
+ }
+
+ private function parseRawHeaders($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;
+ }
+
+ /**
+ * Used by the IO lib and also the batch processing.
+ *
+ * @param $respData
+ * @param $headerSize
+ * @return array
+ */
+ private 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.
+ // @TODO look into this
+ // 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->parseRawHeaders($responseHeaders);
+
+ return array($responseHeaders, $responseBody);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Http/MediaFileUpload.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Http/MediaFileUpload.php
new file mode 100644
index 00000000..bd38a71b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Http/MediaFileUpload.php
@@ -0,0 +1,348 @@
+<?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.
+ */
+
+use GuzzleHttp\Psr7;
+use GuzzleHttp\Psr7\Request;
+use GuzzleHttp\Psr7\Uri;
+use Psr\Http\Message\RequestInterface;
+
+/**
+ * Manage large file uploads, which may be media but can be any type
+ * of sizable data.
+ */
+class 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 Google_Client */
+ private $client;
+
+ /** @var Psr\Http\Message\RequestInterface */
+ 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(
+ Google_Client $client,
+ RequestInterface $request,
+ $mimeType,
+ $data,
+ $resumable = false,
+ $chunkSize = false
+ ) {
+ $this->client = $client;
+ $this->request = $request;
+ $this->mimeType = $mimeType;
+ $this->data = $data;
+ $this->resumable = $resumable;
+ $this->chunkSize = $chunkSize;
+ $this->progress = 0;
+
+ $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;
+ }
+
+ /**
+ * 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)
+ {
+ $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-length' => strlen($chunk),
+ 'expect' => '',
+ );
+
+ $request = new Request(
+ 'PUT',
+ $resumeUri,
+ $headers,
+ Psr7\stream_for($chunk)
+ );
+
+ return $this->makePutRequest($request);
+ }
+
+ /**
+ * Return the HTTP result code from the last call made.
+ * @return int code
+ */
+ public function getHttpResultCode()
+ {
+ return $this->httpResultCode;
+ }
+
+ /**
+ * Sends a PUT-Request to google drive and parses the response,
+ * setting the appropiate variables from the response()
+ *
+ * @param Google_Http_Request $httpRequest the Reuqest which will be send
+ *
+ * @return false|mixed false when the upload is unfinished or the decoded http response
+ *
+ */
+ private function makePutRequest(RequestInterface $request)
+ {
+ $response = $this->client->execute($request);
+ $this->httpResultCode = $response->getStatusCode();
+
+ if (308 == $this->httpResultCode) {
+ // Track the amount uploaded.
+ $range = explode('-', $response->getHeaderLine('range'));
+ $this->progress = $range[1] + 1;
+
+ // Allow for changing upload URLs.
+ $location = $response->getHeaderLine('location');
+ if ($location) {
+ $this->resumeUri = $location;
+ }
+
+ // No problems, but upload not complete.
+ return false;
+ }
+
+ return Google_Http_REST::decodeHttpResponse($response, $this->request);
+ }
+
+ /**
+ * Resume a previously unfinished upload
+ * @param $resumeUri the resume-URI of the unfinished, resumable upload.
+ */
+ public function resume($resumeUri)
+ {
+ $this->resumeUri = $resumeUri;
+ $headers = array(
+ 'content-range' => "bytes */$this->size",
+ 'content-length' => 0,
+ );
+ $httpRequest = new Request(
+ 'PUT',
+ $this->resumeUri,
+ $headers
+ );
+
+ return $this->makePutRequest($httpRequest);
+ }
+
+ /**
+ * @return Psr\Http\Message\RequestInterface $request
+ * @visible for testing
+ */
+ private function process()
+ {
+ $this->transformToUploadUrl();
+ $request = $this->request;
+
+ $postBody = '';
+ $contentType = false;
+
+ $meta = (string) $request->getBody();
+ $meta = is_string($meta) ? json_decode($meta, true) : $meta;
+
+ $uploadType = $this->getUploadType($meta);
+ $request = $request->withUri(
+ Uri::withQueryValue($request->getUri(), 'uploadType', $uploadType)
+ );
+
+ $mimeType = $this->mimeType ?: $request->getHeaderLine('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 ?: 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;
+ }
+
+ $request = $request->withBody(Psr7\stream_for($postBody));
+
+ if (isset($contentType) && $contentType) {
+ $request = $request->withHeader('content-type', $contentType);
+ }
+
+ return $this->request = $request;
+ }
+
+ /**
+ * 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;
+ }
+
+ public function getResumeUri()
+ {
+ if (null === $this->resumeUri) {
+ $this->resumeUri = $this->fetchResumeUri();
+ }
+
+ return $this->resumeUri;
+ }
+
+ private function fetchResumeUri()
+ {
+ $body = $this->request->getBody();
+ if ($body) {
+ $headers = array(
+ 'content-type' => 'application/json; charset=UTF-8',
+ 'content-length' => $body->getSize(),
+ 'x-upload-content-type' => $this->mimeType,
+ 'x-upload-content-length' => $this->size,
+ 'expect' => '',
+ );
+ foreach ($headers as $key => $value) {
+ $this->request = $this->request->withHeader($key, $value);
+ }
+ }
+
+ $response = $this->client->execute($this->request, false);
+ $location = $response->getHeaderLine('location');
+ $code = $response->getStatusCode();
+
+ if (200 == $code && true == $location) {
+ return $location;
+ }
+
+ $message = $code;
+ $body = json_decode((string) $this->request->getBody(), true);
+ if (isset($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 Google_Exception($error);
+ }
+
+ private function transformToUploadUrl()
+ {
+ $parts = parse_url((string) $this->request->getUri());
+ if (!isset($parts['path'])) {
+ $parts['path'] = '';
+ }
+ $parts['path'] = '/upload' . $parts['path'];
+ $uri = Uri::fromParts($parts);
+ $this->request = $this->request->withUri($uri);
+ }
+
+ public function setChunkSize($chunkSize)
+ {
+ $this->chunkSize = $chunkSize;
+ }
+
+ public function getRequest()
+ {
+ return $this->request;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Http/REST.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Http/REST.php
new file mode 100644
index 00000000..c2156a2e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Http/REST.php
@@ -0,0 +1,182 @@
+<?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.
+ */
+
+use Google\Auth\HttpHandler\HttpHandlerFactory;
+use GuzzleHttp\ClientInterface;
+use GuzzleHttp\Exception\RequestException;
+use GuzzleHttp\Psr7\Response;
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+
+/**
+ * This class implements the RESTful transport of apiServiceRequest()'s
+ */
+class Google_Http_REST
+{
+ /**
+ * Executes a Psr\Http\Message\RequestInterface and (if applicable) automatically retries
+ * when errors occur.
+ *
+ * @param Google_Client $client
+ * @param Psr\Http\Message\RequestInterface $req
+ * @return array decoded result
+ * @throws Google_Service_Exception on server side error (ie: not authenticated,
+ * invalid or malformed post body, invalid url)
+ */
+ public static function execute(
+ ClientInterface $client,
+ RequestInterface $request,
+ $expectedClass = null,
+ $config = array(),
+ $retryMap = null
+ ) {
+ $runner = new Google_Task_Runner(
+ $config,
+ sprintf('%s %s', $request->getMethod(), (string) $request->getUri()),
+ array(get_class(), 'doExecute'),
+ array($client, $request, $expectedClass)
+ );
+
+ if (null !== $retryMap) {
+ $runner->setRetryMap($retryMap);
+ }
+
+ return $runner->run();
+ }
+
+ /**
+ * Executes a Psr\Http\Message\RequestInterface
+ *
+ * @param Google_Client $client
+ * @param Psr\Http\Message\RequestInterface $request
+ * @return array decoded result
+ * @throws Google_Service_Exception on server side error (ie: not authenticated,
+ * invalid or malformed post body, invalid url)
+ */
+ public static function doExecute(ClientInterface $client, RequestInterface $request, $expectedClass = null)
+ {
+ try {
+ $httpHandler = HttpHandlerFactory::build($client);
+ $response = $httpHandler($request);
+ } catch (RequestException $e) {
+ // if Guzzle throws an exception, catch it and handle the response
+ if (!$e->hasResponse()) {
+ throw $e;
+ }
+
+ $response = $e->getResponse();
+ // specific checking for Guzzle 5: convert to PSR7 response
+ if ($response instanceof \GuzzleHttp\Message\ResponseInterface) {
+ $response = new Response(
+ $response->getStatusCode(),
+ $response->getHeaders() ?: [],
+ $response->getBody(),
+ $response->getProtocolVersion(),
+ $response->getReasonPhrase()
+ );
+ }
+ }
+
+ return self::decodeHttpResponse($response, $request, $expectedClass);
+ }
+
+ /**
+ * Decode an HTTP Response.
+ * @static
+ * @throws Google_Service_Exception
+ * @param Psr\Http\Message\RequestInterface $response The http response to be decoded.
+ * @param Psr\Http\Message\ResponseInterface $response
+ * @return mixed|null
+ */
+ public static function decodeHttpResponse(
+ ResponseInterface $response,
+ RequestInterface $request = null,
+ $expectedClass = null
+ ) {
+ $code = $response->getStatusCode();
+
+ // retry strategy
+ if (intVal($code) >= 400) {
+ // if we errored out, it should be safe to grab the response body
+ $body = (string) $response->getBody();
+
+ // Check if we received errors, and add those to the Exception for convenience
+ throw new Google_Service_Exception($body, $code, null, self::getResponseErrors($body));
+ }
+
+ // Ensure we only pull the entire body into memory if the request is not
+ // of media type
+ $body = self::decodeBody($response, $request);
+
+ if ($expectedClass = self::determineExpectedClass($expectedClass, $request)) {
+ $json = json_decode($body, true);
+
+ return new $expectedClass($json);
+ }
+
+ return $response;
+ }
+
+ private static function decodeBody(ResponseInterface $response, RequestInterface $request = null)
+ {
+ if (self::isAltMedia($request)) {
+ // don't decode the body, it's probably a really long string
+ return '';
+ }
+
+ return (string) $response->getBody();
+ }
+
+ private static function determineExpectedClass($expectedClass, RequestInterface $request = null)
+ {
+ // "false" is used to explicitly prevent an expected class from being returned
+ if (false === $expectedClass) {
+ return null;
+ }
+
+ // if we don't have a request, we just use what's passed in
+ if (null === $request) {
+ return $expectedClass;
+ }
+
+ // return what we have in the request header if one was not supplied
+ return $expectedClass ?: $request->getHeaderLine('X-Php-Expected-Class');
+ }
+
+ private static function getResponseErrors($body)
+ {
+ $json = json_decode($body, true);
+
+ if (isset($json['error']['errors'])) {
+ return $json['error']['errors'];
+ }
+
+ return null;
+ }
+
+ private static function isAltMedia(RequestInterface $request = null)
+ {
+ if ($request && $qs = $request->getUri()->getQuery()) {
+ parse_str($qs, $query);
+ if (isset($query['alt']) && $query['alt'] == 'media') {
+ return true;
+ }
+ }
+
+ return false;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Model.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Model.php
new file mode 100644
index 00000000..cd50c9a5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Model.php
@@ -0,0 +1,307 @@
+<?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
+ *
+ */
+class Google_Model implements ArrayAccess
+{
+ /**
+ * If you need to specify a NULL JSON value, use Google_Model::NULL_VALUE
+ * instead - it will be replaced when converting to JSON with a real null.
+ */
+ const NULL_VALUE = "{}gapi-php-null";
+ 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 initialise 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 = $this->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 = $this->nullPlaceholderCheck($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 = $this->nullPlaceholderCheck($result);
+ }
+ }
+
+ return $object;
+ }
+
+ /**
+ * Handle different types of values, primarily
+ * other objects and map and array data types.
+ */
+ private function getSimpleValue($value)
+ {
+ if ($value instanceof 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] = $this->nullPlaceholderCheck($a_value);
+ }
+ }
+ return $return;
+ }
+ return $value;
+ }
+
+ /**
+ * Check whether the value is the null placeholder and return true null.
+ */
+ private function nullPlaceholderCheck($value)
+ {
+ if ($value === self::NULL_VALUE) {
+ return null;
+ }
+ return $value;
+ }
+
+ /**
+ * If there is an internal name mapping, use that.
+ */
+ private function getMappedName($key)
+ {
+ if (isset($this->internal_gapi_mappings, $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 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 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]);
+ }
+
+ /**
+ * Convert a string to camelCase
+ * @param string $value
+ * @return string
+ */
+ private function camelCase($value)
+ {
+ $value = ucwords(str_replace(array('-', '_'), ' ', $value));
+ $value = str_replace(' ', '', $value);
+ $value[0] = strtolower($value[0]);
+ return $value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Service.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Service.php
new file mode 100644
index 00000000..d3fd3b49
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Service.php
@@ -0,0 +1,56 @@
+<?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 Google_Service
+{
+ public $batchPath;
+ public $rootUrl;
+ public $version;
+ public $servicePath;
+ public $availableScopes;
+ public $resource;
+ private $client;
+
+ public function __construct(Google_Client $client)
+ {
+ $this->client = $client;
+ }
+
+ /**
+ * Return the associated Google_Client class.
+ * @return Google_Client
+ */
+ public function getClient()
+ {
+ return $this->client;
+ }
+
+ /**
+ * Create a new HTTP Batch handler for this service
+ *
+ * @return Google_Http_Batch
+ */
+ public function createBatch()
+ {
+ return new Google_Http_Batch(
+ $this->client,
+ false,
+ $this->rootUrl,
+ $this->batchPath
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Service/Exception.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Service/Exception.php
new file mode 100644
index 00000000..abfd3f7f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Service/Exception.php
@@ -0,0 +1,68 @@
+<?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.
+ */
+
+class Google_Service_Exception extends Google_Exception
+{
+ /**
+ * Optional list of errors returned in a JSON body of an HTTP error response.
+ */
+ protected $errors = array();
+
+ /**
+ * Override default constructor to add the ability to set $errors and a retry
+ * map.
+ *
+ * @param string $message
+ * @param int $code
+ * @param Exception|null $previous
+ * @param [{string, string}] errors List of errors returned in an HTTP
+ * response. Defaults to [].
+ * @param array|null $retryMap Map of errors with retry counts.
+ */
+ 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Service/README.md b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Service/README.md
new file mode 100644
index 00000000..0de48620
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Service/README.md
@@ -0,0 +1,5 @@
+# Google API Client Services
+
+Google API Client Service classes have been moved to the
+[google-api-php-client-services](https://github.com/google/google-api-php-client-services)
+repository.
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Service/Resource.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Service/Resource.php
new file mode 100644
index 00000000..a3c57ee2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Service/Resource.php
@@ -0,0 +1,296 @@
+<?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.
+ */
+
+use GuzzleHttp\Psr7\Request;
+
+/**
+ * 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.
+ *
+ */
+class 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'),
+ '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'),
+ 'prettyPrint' => array('type' => 'string', 'location' => 'query'),
+ );
+
+ /** @var string $rootUrl */
+ private $rootUrl;
+
+ /** @var Google_Client $client */
+ private $client;
+
+ /** @var string $serviceName */
+ private $serviceName;
+
+ /** @var string $servicePath */
+ private $servicePath;
+
+ /** @var string $resourceName */
+ private $resourceName;
+
+ /** @var array $methods */
+ private $methods;
+
+ public function __construct($service, $serviceName, $resourceName, $resource)
+ {
+ $this->rootUrl = $service->rootUrl;
+ $this->client = $service->getClient();
+ $this->servicePath = $service->servicePath;
+ $this->serviceName = $serviceName;
+ $this->resourceName = $resourceName;
+ $this->methods = is_array($resource) && isset($resource['methods']) ?
+ $resource['methods'] :
+ array($resourceName => $resource);
+ }
+
+ /**
+ * TODO: This function needs simplifying.
+ * @param $name
+ * @param $arguments
+ * @param $expectedClass - optional, the expected class name
+ * @return Google_Http_Request|expectedClass
+ * @throws Google_Exception
+ */
+ public function call($name, $arguments, $expectedClass = null)
+ {
+ if (! isset($this->methods[$name])) {
+ $this->client->getLogger()->error(
+ 'Service method unknown',
+ array(
+ 'service' => $this->serviceName,
+ 'resource' => $this->resourceName,
+ 'method' => $name
+ )
+ );
+
+ throw new 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 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 = (array) $parameters['postBody'];
+ unset($parameters['postBody']);
+ }
+
+ // TODO: 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(
+ $this->stackParameters,
+ $method['parameters']
+ );
+
+ 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 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 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]);
+ }
+ }
+
+ $this->client->getLogger()->info(
+ 'Service Call',
+ array(
+ 'service' => $this->serviceName,
+ 'resource' => $this->resourceName,
+ 'method' => $name,
+ 'arguments' => $parameters,
+ )
+ );
+
+ // build the service uri
+ $url = $this->createRequestUri(
+ $method['path'],
+ $parameters
+ );
+
+ // NOTE: because we're creating the request by hand,
+ // and because the service has a rootUrl property
+ // the "base_uri" of the Http Client is not accounted for
+ $request = new Request(
+ $method['httpMethod'],
+ $url,
+ ['content-type' => 'application/json'],
+ $postBody ? json_encode($postBody) : ''
+ );
+
+ // support uploads
+ if (isset($parameters['data'])) {
+ $mimeType = isset($parameters['mimeType'])
+ ? $parameters['mimeType']['value']
+ : 'application/octet-stream';
+ $data = $parameters['data']['value'];
+ $upload = new Google_Http_MediaFileUpload($this->client, $request, $mimeType, $data);
+
+ // pull down the modified request
+ $request = $upload->getRequest();
+ }
+
+ // if this is a media type, we will return the raw response
+ // rather than using an expected class
+ if (isset($parameters['alt']) && $parameters['alt']['value'] == 'media') {
+ $expectedClass = null;
+ }
+
+ // if the client is marked for deferring, rather than
+ // execute the request, return the response
+ if ($this->client->shouldDefer()) {
+ // @TODO find a better way to do this
+ $request = $request
+ ->withHeader('X-Php-Expected-Class', $expectedClass);
+
+ return $request;
+ }
+
+ return $this->client->execute($request, $expectedClass);
+ }
+
+ 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;
+ }
+
+ /**
+ * Parse/expand request parameters and create a fully qualified
+ * request uri.
+ * @static
+ * @param string $restPath
+ * @param array $params
+ * @return string $requestUrl
+ */
+ public function createRequestUri($restPath, $params)
+ {
+ // code for leading slash
+ $requestUrl = $this->servicePath . $restPath;
+ if ($this->rootUrl) {
+ if ('/' !== substr($this->rootUrl, -1) && '/' !== substr($requestUrl, 0, 1)) {
+ $requestUrl = '/' . $requestUrl;
+ }
+ $requestUrl = $this->rootUrl . $requestUrl;
+ }
+ $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(rawurldecode($value));
+ }
+ } else {
+ $queryVars[] = $paramName . '=' . rawurlencode(rawurldecode($paramSpec['value']));
+ }
+ }
+ }
+
+ if (count($uriTemplateVars)) {
+ $uriTemplateParser = new Google_Utils_UriTemplate();
+ $requestUrl = $uriTemplateParser->parse($requestUrl, $uriTemplateVars);
+ }
+
+ if (count($queryVars)) {
+ $requestUrl .= '?' . implode($queryVars, '&');
+ }
+
+ return $requestUrl;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Task/Exception.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Task/Exception.php
new file mode 100644
index 00000000..5422e6fc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Task/Exception.php
@@ -0,0 +1,20 @@
+<?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.
+ */
+
+class Google_Task_Exception extends Google_Exception
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Task/Retryable.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Task/Retryable.php
new file mode 100644
index 00000000..19aa4ddc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Task/Retryable.php
@@ -0,0 +1,24 @@
+<?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.
+ */
+
+/**
+ * Interface for checking how many times a given task can be retried following
+ * a failure.
+ */
+interface Google_Task_Retryable
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Task/Runner.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Task/Runner.php
new file mode 100644
index 00000000..2f25e990
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Task/Runner.php
@@ -0,0 +1,281 @@
+<?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.
+ */
+
+/**
+ * A task runner with exponential backoff support.
+ *
+ * @see https://developers.google.com/drive/web/handle-errors#implementing_exponential_backoff
+ */
+class Google_Task_Runner
+{
+ const TASK_RETRY_NEVER = 0;
+ const TASK_RETRY_ONCE = 1;
+ const TASK_RETRY_ALWAYS = -1;
+
+ /**
+ * @var integer $maxDelay The max time (in seconds) to wait before a retry.
+ */
+ private $maxDelay = 60;
+ /**
+ * @var integer $delay The previous delay from which the next is calculated.
+ */
+ private $delay = 1;
+
+ /**
+ * @var integer $factor The base number for the exponential back off.
+ */
+ private $factor = 2;
+ /**
+ * @var float $jitter A random number between -$jitter and $jitter will be
+ * added to $factor on each iteration to allow for a better distribution of
+ * retries.
+ */
+ private $jitter = 0.5;
+
+ /**
+ * @var integer $attempts The number of attempts that have been tried so far.
+ */
+ private $attempts = 0;
+ /**
+ * @var integer $maxAttempts The max number of attempts allowed.
+ */
+ private $maxAttempts = 1;
+
+ /**
+ * @var callable $action The task to run and possibly retry.
+ */
+ private $action;
+ /**
+ * @var array $arguments The task arguments.
+ */
+ private $arguments;
+
+ /**
+ * @var array $retryMap Map of errors with retry counts.
+ */
+ protected $retryMap = [
+ '500' => self::TASK_RETRY_ALWAYS,
+ '503' => self::TASK_RETRY_ALWAYS,
+ 'rateLimitExceeded' => self::TASK_RETRY_ALWAYS,
+ 'userRateLimitExceeded' => self::TASK_RETRY_ALWAYS,
+ 6 => self::TASK_RETRY_ALWAYS, // CURLE_COULDNT_RESOLVE_HOST
+ 7 => self::TASK_RETRY_ALWAYS, // CURLE_COULDNT_CONNECT
+ 28 => self::TASK_RETRY_ALWAYS, // CURLE_OPERATION_TIMEOUTED
+ 35 => self::TASK_RETRY_ALWAYS, // CURLE_SSL_CONNECT_ERROR
+ 52 => self::TASK_RETRY_ALWAYS // CURLE_GOT_NOTHING
+ ];
+
+ /**
+ * Creates a new task runner with exponential backoff support.
+ *
+ * @param array $config The task runner config
+ * @param string $name The name of the current task (used for logging)
+ * @param callable $action The task to run and possibly retry
+ * @param array $arguments The task arguments
+ * @throws Google_Task_Exception when misconfigured
+ */
+ public function __construct(
+ $config,
+ $name,
+ $action,
+ array $arguments = array()
+ ) {
+ if (isset($config['initial_delay'])) {
+ if ($config['initial_delay'] < 0) {
+ throw new Google_Task_Exception(
+ 'Task configuration `initial_delay` must not be negative.'
+ );
+ }
+
+ $this->delay = $config['initial_delay'];
+ }
+
+ if (isset($config['max_delay'])) {
+ if ($config['max_delay'] <= 0) {
+ throw new Google_Task_Exception(
+ 'Task configuration `max_delay` must be greater than 0.'
+ );
+ }
+
+ $this->maxDelay = $config['max_delay'];
+ }
+
+ if (isset($config['factor'])) {
+ if ($config['factor'] <= 0) {
+ throw new Google_Task_Exception(
+ 'Task configuration `factor` must be greater than 0.'
+ );
+ }
+
+ $this->factor = $config['factor'];
+ }
+
+ if (isset($config['jitter'])) {
+ if ($config['jitter'] <= 0) {
+ throw new Google_Task_Exception(
+ 'Task configuration `jitter` must be greater than 0.'
+ );
+ }
+
+ $this->jitter = $config['jitter'];
+ }
+
+ if (isset($config['retries'])) {
+ if ($config['retries'] < 0) {
+ throw new Google_Task_Exception(
+ 'Task configuration `retries` must not be negative.'
+ );
+ }
+ $this->maxAttempts += $config['retries'];
+ }
+
+ if (!is_callable($action)) {
+ throw new Google_Task_Exception(
+ 'Task argument `$action` must be a valid callable.'
+ );
+ }
+
+ $this->action = $action;
+ $this->arguments = $arguments;
+ }
+
+ /**
+ * Checks if a retry can be attempted.
+ *
+ * @return boolean
+ */
+ public function canAttempt()
+ {
+ return $this->attempts < $this->maxAttempts;
+ }
+
+ /**
+ * Runs the task and (if applicable) automatically retries when errors occur.
+ *
+ * @return mixed
+ * @throws Google_Task_Retryable on failure when no retries are available.
+ */
+ public function run()
+ {
+ while ($this->attempt()) {
+ try {
+ return call_user_func_array($this->action, $this->arguments);
+ } catch (Google_Service_Exception $exception) {
+ $allowedRetries = $this->allowedRetries(
+ $exception->getCode(),
+ $exception->getErrors()
+ );
+
+ if (!$this->canAttempt() || !$allowedRetries) {
+ throw $exception;
+ }
+
+ if ($allowedRetries > 0) {
+ $this->maxAttempts = min(
+ $this->maxAttempts,
+ $this->attempts + $allowedRetries
+ );
+ }
+ }
+ }
+ }
+
+ /**
+ * Runs a task once, if possible. This is useful for bypassing the `run()`
+ * loop.
+ *
+ * NOTE: If this is not the first attempt, this function will sleep in
+ * accordance to the backoff configurations before running the task.
+ *
+ * @return boolean
+ */
+ public function attempt()
+ {
+ if (!$this->canAttempt()) {
+ return false;
+ }
+
+ if ($this->attempts > 0) {
+ $this->backOff();
+ }
+
+ $this->attempts++;
+ return true;
+ }
+
+ /**
+ * Sleeps in accordance to the backoff configurations.
+ */
+ private function backOff()
+ {
+ $delay = $this->getDelay();
+
+ usleep($delay * 1000000);
+ }
+
+ /**
+ * Gets the delay (in seconds) for the current backoff period.
+ *
+ * @return float
+ */
+ private function getDelay()
+ {
+ $jitter = $this->getJitter();
+ $factor = $this->attempts > 1 ? $this->factor + $jitter : 1 + abs($jitter);
+
+ return $this->delay = min($this->maxDelay, $this->delay * $factor);
+ }
+
+ /**
+ * Gets the current jitter (random number between -$this->jitter and
+ * $this->jitter).
+ *
+ * @return float
+ */
+ private function getJitter()
+ {
+ return $this->jitter * 2 * mt_rand() / mt_getrandmax() - $this->jitter;
+ }
+
+ /**
+ * Gets the number of times the associated task can be retried.
+ *
+ * NOTE: -1 is returned if the task can be retried indefinitely
+ *
+ * @return integer
+ */
+ public function allowedRetries($code, $errors = array())
+ {
+ if (isset($this->retryMap[$code])) {
+ return $this->retryMap[$code];
+ }
+
+ if (
+ !empty($errors) &&
+ isset($errors[0]['reason'], $this->retryMap[$errors[0]['reason']])
+ ) {
+ return $this->retryMap[$errors[0]['reason']];
+ }
+
+ return 0;
+ }
+
+ public function setRetryMap($retryMap)
+ {
+ $this->retryMap = $retryMap;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Utils/UriTemplate.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/Utils/UriTemplate.php
new file mode 100644
index 00000000..e59fe9f2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/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 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/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/autoload.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/autoload.php
new file mode 100644
index 00000000..8b493010
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/apiclient/src/Google/autoload.php
@@ -0,0 +1,21 @@
+<?php
+
+/**
+ * THIS FILE IS FOR BACKWARDS COMPATIBLITY ONLY
+ *
+ * If you were not already including this file in your project, please ignore it
+ */
+
+$file = __DIR__ . '/../../vendor/autoload.php';
+
+if (!file_exists($file)) {
+ $exception = 'This library must be installed via composer or by downloading the full package.';
+ $exception .= ' See the instructions at https://github.com/google/google-api-php-client#installation.';
+ throw new Exception($exception);
+}
+
+$error = 'google-api-php-client\'s autoloader was moved to vendor/autoload.php in 2.0.0. This ';
+$error .= 'redirect will be removed in 2.1. Please adjust your code to use the new location.';
+trigger_error($error, E_USER_DEPRECATED);
+
+require_once $file;
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/.editorconfig b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/.editorconfig
new file mode 100644
index 00000000..6bc23e62
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/.editorconfig
@@ -0,0 +1,18 @@
+# EditorConfig is awesome: http://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+charset = utf-8
+
+# Get rid of whitespace to avoid diffs with a bunch of EOL changes
+trim_trailing_whitespace = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+end_of_line = lf
+insert_final_newline = true
+
+# PHP-Files
+[*.php]
+indent_style = space
+indent_size = 4
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/.gitignore b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/.gitignore
new file mode 100644
index 00000000..1cb030a2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/.gitignore
@@ -0,0 +1,3 @@
+*~
+vendor
+composer.lock
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/.php_cs b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/.php_cs
new file mode 100644
index 00000000..d5d4f5a5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/.php_cs
@@ -0,0 +1,54 @@
+<?php
+/**
+ * This file represents the configuration for Code Sniffing PSR-2-related
+ * automatic checks of coding guidelines
+ * Install @fabpot's great php-cs-fixer tool via
+ *
+ * $ composer global require fabpot/php-cs-fixer
+ *
+ * And then simply run
+ *
+ * $ php-cs-fixer fix --config-file .php_cs
+ *
+ * inside the root directory.
+ *
+ * http://www.php-fig.org/psr/psr-2/
+ * http://cs.sensiolabs.org
+ */
+
+if (PHP_SAPI !== 'cli') {
+ die('This script supports command line usage only. Please check your command.');
+}
+// Define in which folders to search and which folders to exclude
+// Exclude some directories that are excluded by Git anyways to speed up the sniffing
+$finder = Symfony\CS\Finder\DefaultFinder::create()
+ ->exclude('vendor')
+ ->in(__DIR__);
+
+// Return a Code Sniffing configuration using
+// all sniffers needed for PSR-2
+// and additionally:
+// - Remove leading slashes in use clauses.
+// - PHP single-line arrays should not have trailing comma.
+// - Single-line whitespace before closing semicolon are prohibited.
+// - Remove unused use statements in the PHP source code
+// - Ensure Concatenation to have at least one whitespace around
+// - Remove trailing whitespace at the end of blank lines.
+return Symfony\CS\Config\Config::create()
+ ->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
+ ->fixers([
+ 'remove_leading_slash_use',
+ 'single_array_no_trailing_comma',
+ 'spaces_before_semicolon',
+ 'unused_use',
+ 'concat_with_spaces',
+ 'whitespacy_lines',
+ 'ordered_use',
+ 'single_quote',
+ 'duplicate_semicolon',
+ 'extra_empty_lines',
+ 'phpdoc_no_package',
+ 'phpdoc_scalar',
+ 'no_empty_lines_after_phpdocs'
+ ])
+ ->finder($finder);
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/.travis.yml b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/.travis.yml
new file mode 100644
index 00000000..c51e2c33
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/.travis.yml
@@ -0,0 +1,31 @@
+language: php
+
+branches:
+ only: [master]
+
+sudo: false
+
+php:
+ - 5.4
+ - 5.5
+ - 5.6
+ - 7.0
+ - hhvm
+
+env:
+ - COMPOSER_CMD="composer install"
+ - COMPOSER_CMD="composer update --prefer-lowest"
+matrix:
+ include:
+ - php: "7.0"
+ env: RUN_CS_FIXER=true COMPOSER_CMD="composer install"
+
+before_script:
+ - $(echo $COMPOSER_CMD)
+
+script:
+ - if [ "${RUN_CS_FIXER}" = "true" ]; then
+ vendor/bin/php-cs-fixer fix --dry-run --diff --config-file=.php_cs .;
+ else
+ vendor/bin/phpunit;
+ fi
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/CHANGELOG.md b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/CHANGELOG.md
new file mode 100644
index 00000000..1628dc51
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/CHANGELOG.md
@@ -0,0 +1,8 @@
+## 0.4.0 (23/04/2015)
+
+### Changes
+
+* Export callback function to update auth metadata ([@stanley-cheung][])
+* Adds an implementation of User Refresh Token auth ([@stanley-cheung][])
+
+[@stanley-cheung]: https://github.com/stanley-cheung
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/CONTRIBUTING.md b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/CONTRIBUTING.md
new file mode 100644
index 00000000..0cfb74b6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/CONTRIBUTING.md
@@ -0,0 +1,73 @@
+# How to become a contributor and submit your own code
+
+## Contributor License Agreements
+
+We'd love to accept your sample apps and patches! 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,
+ 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 be able to
+accept your pull requests.
+
+## Issue reporting
+
+* Check that the issue has not already been reported.
+* Check that the issue has not already been fixed in the latest code
+ (a.k.a. `master`).
+* Be clear, concise and precise in your description of the problem.
+* Open an issue with a descriptive title and a summary in grammatically correct,
+ complete sentences.
+* Include any relevant code to the issue summary.
+
+## Pull requests
+
+* Read [how to properly contribute to open source projects on Github][2].
+* Fork the project.
+* Use a topic/feature branch to easily amend a pull request later, if necessary.
+* Write [good commit messages][3].
+* Use the same coding conventions as the rest of the project.
+* Commit and push until you are happy with your contribution.
+* Make sure to add tests for it. This is important so I don't break it
+ in a future version unintentionally.
+* Add an entry to the [Changelog](CHANGELOG.md) accordingly. See [changelog entry format](#changelog-entry-format).
+* Please try not to mess with the Rakefile, version, or history. If you want to
+ have your own version, or is otherwise necessary, that is fine, but please
+ isolate to its own commit so I can cherry-pick around it.
+* Make sure the test suite is passing and the code you wrote doesn't produce
+ phpunit or phplint offenses.
+* [Squash related commits together][5].
+* Open a [pull request][4] that relates to *only* one subject with a clear title
+ and description in grammatically correct, complete sentences.
+
+### Changelog entry format
+
+Here are a few examples:
+
+```
+* ADC Support for User Refresh Tokens (@tbetbetbe[])
+* [#16](https://github.com/google/google-auth-library-php/issues/16): ADC Support for User Refresh Tokens ([@tbetbetbe][])
+```
+
+* Mark it up in [Markdown syntax][6].
+* The entry line should start with `* ` (an asterisk and a space).
+* If the change has a related GitHub issue (e.g. a bug fix for a reported issue), put a link to the issue as `[#16](https://github.com/google/google-auth-library-php/issues/16): `.
+* Describe the brief of the change. The sentence should end with a punctuation.
+* At the end of the entry, add an implicit link to your GitHub user page as `([@username][])`.
+* If this is your first contribution to google-auth-library-php project, add a link definition for the implicit link to the bottom of the changelog as `[@username]: https://github.com/username`.
+
+[1]: https://github.com/google/google-auth-php-library/issues
+[2]: http://gun.io/blog/how-to-github-fork-branch-and-pull-request
+[3]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
+[4]: https://help.github.com/articles/using-pull-requests
+[5]: http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html
+[6]: http://daringfireball.net/projects/markdown/syntax
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/COPYING b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/COPYING
new file mode 100644
index 00000000..b5d5055a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/COPYING
@@ -0,0 +1,202 @@
+
+ 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 2015 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.
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/LICENSE b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/LICENSE
new file mode 100644
index 00000000..a148ba56
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/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/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/README.md b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/README.md
new file mode 100644
index 00000000..05265f71
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/README.md
@@ -0,0 +1,150 @@
+# Google Auth Library for PHP
+
+<dl>
+ <dt>Homepage</dt><dd><a href="http://www.github.com/google/google-auth-library-php">http://www.github.com/google/google-auth-library-php</a></dd>
+ <dt>Authors</dt>
+ <dd><a href="mailto:temiola@google.com">Tim Emiola</a></dd>
+ <dd><a href="mailto:stanleycheung@google.com">Stanley Cheung</a></dd>
+ <dd><a href="mailto:betterbrent@google.com">Brent Shaffer</a></dd>
+ <dt>Copyright</dt><dd>Copyright © 2015 Google, Inc.</dd>
+ <dt>License</dt><dd>Apache 2.0</dd>
+</dl>
+
+## Description
+
+This is Google's officially supported PHP client library for using OAuth 2.0
+authorization and authentication with Google APIs.
+
+### Installing via Composer
+
+The recommended way to install the google auth library is through
+[Composer](http://getcomposer.org).
+
+```bash
+# Install Composer
+curl -sS https://getcomposer.org/installer | php
+```
+
+Next, run the Composer command to install the latest stable version:
+
+```bash
+composer.phar require google/auth
+```
+
+## Application Default Credentials
+
+This library provides an implementation of
+[application default credentials][application default credentials] for PHP.
+
+The Application Default Credentials provide a simple way to get authorization
+credentials for use in calling Google APIs.
+
+They are best suited for cases when the call needs to have the same identity
+and authorization level for the application independent of the user. This is
+the recommended approach to authorize calls to Cloud APIs, particularly when
+you're building an application that uses Google Compute Engine.
+
+#### Download your Service Account Credentials JSON file
+
+To use `Application Default Credentials`, You first need to download a set of
+JSON credentials for your project. Go to **APIs & Auth** > **Credentials** in
+the [Google Developers Console][developer console] and select
+**Service account** from the **Add credentials** dropdown.
+
+> This file is your *only copy* of these credentials. It should never be
+> committed with your source code, and should be stored securely.
+
+Once downloaded, store the path to this file in the
+`GOOGLE_APPLICATION_CREDENTIALS` environment variable.
+
+```php
+putenv('GOOGLE_APPLICATION_CREDENTIALS=/path/to/my/credentials.json');
+```
+
+> PHP's `putenv` function is just one way to set an environment variable.
+> Consider using `.htaccess` or apache configuration files as well.
+
+#### Enable the API you want to use
+
+Before making your API call, you must be sure the API you're calling has been
+enabled. Go to **APIs & Auth** > **APIs** in the
+[Google Developers Console][developer console] and enable the APIs you'd like to
+call. For the example below, you must enable the `Drive API`.
+
+#### Call the APIs
+
+As long as you update the environment variable below to point to *your* JSON
+credentials file, the following code should output a list of your Drive files.
+
+```php
+use Google\Auth\ApplicationDefaultCredentials;
+use GuzzleHttp\Client;
+use GuzzleHttp\HandlerStack;
+
+// specify the path to your application credentials
+putenv('GOOGLE_APPLICATION_CREDENTIALS=/path/to/my/credentials.json');
+
+// define the scopes for your API call
+$scopes = ['https://www.googleapis.com/auth/drive.readonly'];
+
+// create middleware
+$middleware = ApplicationDefaultCredentials::getMiddleware($scopes);
+$stack = HandlerStack::create();
+$stack->push($middleware);
+
+// create the HTTP client
+$client = new Client([
+ 'handler' => $stack,
+ 'base_url' => 'https://www.googleapis.com',
+ 'auth' => 'google_auth' // authorize all requests
+]);
+
+// make the request
+$response = $client->get('drive/v2/files');
+
+// show the result!
+print_r((string) $response->getBody());
+```
+
+##### Guzzle 5 Compatibility
+
+If you are using [Guzzle 5][Guzzle 5], replace the `create middleware` and
+`create the HTTP Client` steps with the following:
+
+```php
+// create the HTTP client
+$client = new Client([
+ 'base_url' => 'https://www.googleapis.com',
+ 'auth' => 'google_auth' // authorize all requests
+]);
+
+// create subscriber
+$subscriber = ApplicationDefaultCredentials::getSubscriber($scopes);
+$client->getEmitter()->attach($subscriber);
+
+```
+
+## License
+
+This library is licensed under Apache 2.0. Full license text is
+available in [COPYING][copying].
+
+## Contributing
+
+See [CONTRIBUTING][contributing].
+
+## Support
+
+Please
+[report bugs at the project on Github](https://github.com/google/google-auth-library-php/issues). Don't
+hesitate to
+[ask questions](http://stackoverflow.com/questions/tagged/google-auth-library-php)
+about the client or APIs on [StackOverflow](http://stackoverflow.com).
+
+[google-apis-php-client]: https://github.com/google/google-api-php-client
+[application default credentials]: https://developers.google.com/accounts/docs/application-default-credentials
+[contributing]: https://github.com/google/google-auth-library-php/tree/master/CONTRIBUTING.md
+[copying]: https://github.com/google/google-auth-library-php/tree/master/COPYING
+[Guzzle]: https://github.com/guzzle/guzzle
+[Guzzle 5]: http://docs.guzzlephp.org/en/5.3
+[developer console]: https://console.developers.google.com
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/autoload.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/autoload.php
new file mode 100644
index 00000000..f5473378
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/autoload.php
@@ -0,0 +1,34 @@
+<?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 oauth2client_php_autoload($className)
+{
+ $classPath = explode('_', $className);
+ if ($classPath[0] != 'Google') {
+ return;
+ }
+ if (count($classPath) > 3) {
+ // Maximum class file path depth in this project is 3.
+ $classPath = array_slice($classPath, 0, 3);
+ }
+ $filePath = dirname(__FILE__) . '/src/' . implode('/', $classPath) . '.php';
+ if (file_exists($filePath)) {
+ require_once $filePath;
+ }
+}
+
+spl_autoload_register('oauth2client_php_autoload');
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/composer.json b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/composer.json
new file mode 100644
index 00000000..c528ada1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/composer.json
@@ -0,0 +1,28 @@
+{
+ "name": "google/auth",
+ "type": "library",
+ "description": "Google Auth Library for PHP",
+ "keywords": ["google", "oauth2", "authentication"],
+ "homepage": "http://github.com/google/google-auth-library-php",
+ "license": "Apache-2.0",
+ "require": {
+ "php": ">=5.4",
+ "firebase/php-jwt": "~2.0|~3.0|~4.0",
+ "guzzlehttp/guzzle": "~5.3|~6.0",
+ "guzzlehttp/psr7": "~1.2",
+ "psr/http-message": "^1.0",
+ "psr/cache": "^1.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "3.7.*",
+ "friendsofphp/php-cs-fixer": "^1.11"
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ],
+ "psr-4": {
+ "Google\\Auth\\": "src"
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/phpunit.xml.dist b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/phpunit.xml.dist
new file mode 100644
index 00000000..bace58bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/phpunit.xml.dist
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit bootstrap="tests/bootstrap.php" colors="true">
+ <testsuites>
+ <testsuite name="google-auth-tests">
+ <directory suffix="Test.php">tests</directory>
+ </testsuite>
+ </testsuites>
+ <filter>
+ <whitelist>
+ <directory suffix=".php">src</directory>
+ <exclude>
+ <directory suffix="Interface.php">src/</directory>
+ </exclude>
+ </whitelist>
+ </filter>
+</phpunit>
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/ApplicationDefaultCredentials.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/ApplicationDefaultCredentials.php
new file mode 100644
index 00000000..5d944db9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/ApplicationDefaultCredentials.php
@@ -0,0 +1,173 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth;
+
+use DomainException;
+use Google\Auth\Credentials\AppIdentityCredentials;
+use Google\Auth\Credentials\GCECredentials;
+use Google\Auth\Middleware\AuthTokenMiddleware;
+use Google\Auth\Subscriber\AuthTokenSubscriber;
+use Psr\Cache\CacheItemPoolInterface;
+
+/**
+ * ApplicationDefaultCredentials obtains the default credentials for
+ * authorizing a request to a Google service.
+ *
+ * Application Default Credentials are described here:
+ * https://developers.google.com/accounts/docs/application-default-credentials
+ *
+ * This class implements the search for the application default credentials as
+ * described in the link.
+ *
+ * It provides three factory methods:
+ * - #get returns the computed credentials object
+ * - #getSubscriber returns an AuthTokenSubscriber built from the credentials object
+ * - #getMiddleware returns an AuthTokenMiddleware built from the credentials object
+ *
+ * This allows it to be used as follows with GuzzleHttp\Client:
+ *
+ * use Google\Auth\ApplicationDefaultCredentials;
+ * use GuzzleHttp\Client;
+ * use GuzzleHttp\HandlerStack;
+ *
+ * $middleware = ApplicationDefaultCredentials::getMiddleware(
+ * 'https://www.googleapis.com/auth/taskqueue'
+ * );
+ * $stack = HandlerStack::create();
+ * $stack->push($middleware);
+ *
+ * $client = new Client([
+ * 'handler' => $stack,
+ * 'base_uri' => 'https://www.googleapis.com/taskqueue/v1beta2/projects/',
+ * 'auth' => 'google_auth' // authorize all requests
+ * ]);
+ *
+ * $res = $client->get('myproject/taskqueues/myqueue');
+ */
+class ApplicationDefaultCredentials
+{
+ /**
+ * Obtains an AuthTokenSubscriber that uses the default FetchAuthTokenInterface
+ * implementation to use in this environment.
+ *
+ * If supplied, $scope is used to in creating the credentials instance if
+ * this does not fallback to the compute engine defaults.
+ *
+ * @param string|array scope the scope of the access request, expressed
+ * either as an Array or as a space-delimited String.
+ * @param callable $httpHandler callback which delivers psr7 request
+ * @param array $cacheConfig configuration for the cache when it's present
+ * @param CacheItemPoolInterface $cache an implementation of CacheItemPoolInterface
+ *
+ * @return AuthTokenSubscriber
+ *
+ * @throws DomainException if no implementation can be obtained.
+ */
+ public static function getSubscriber(
+ $scope = null,
+ callable $httpHandler = null,
+ array $cacheConfig = null,
+ CacheItemPoolInterface $cache = null
+ ) {
+ $creds = self::getCredentials($scope, $httpHandler, $cacheConfig, $cache);
+
+ return new AuthTokenSubscriber($creds, $cacheConfig);
+ }
+
+ /**
+ * Obtains an AuthTokenMiddleware that uses the default FetchAuthTokenInterface
+ * implementation to use in this environment.
+ *
+ * If supplied, $scope is used to in creating the credentials instance if
+ * this does not fallback to the compute engine defaults.
+ *
+ * @param string|array scope the scope of the access request, expressed
+ * either as an Array or as a space-delimited String.
+ * @param callable $httpHandler callback which delivers psr7 request
+ * @param array $cacheConfig configuration for the cache when it's present
+ * @param CacheItemPoolInterface $cache
+ *
+ * @return AuthTokenMiddleware
+ *
+ * @throws DomainException if no implementation can be obtained.
+ */
+ public static function getMiddleware(
+ $scope = null,
+ callable $httpHandler = null,
+ array $cacheConfig = null,
+ CacheItemPoolInterface $cache = null
+ ) {
+ $creds = self::getCredentials($scope, $httpHandler, $cacheConfig, $cache);
+
+ return new AuthTokenMiddleware($creds, $cacheConfig);
+ }
+
+ /**
+ * Obtains the default FetchAuthTokenInterface implementation to use
+ * in this environment.
+ *
+ * If supplied, $scope is used to in creating the credentials instance if
+ * this does not fallback to the Compute Engine defaults.
+ *
+ * @param string|array scope the scope of the access request, expressed
+ * either as an Array or as a space-delimited String.
+ * @param callable $httpHandler callback which delivers psr7 request
+ * @param array $cacheConfig configuration for the cache when it's present
+ * @param CacheItemPoolInterface $cache
+ *
+ * @return CredentialsLoader
+ *
+ * @throws DomainException if no implementation can be obtained.
+ */
+ public static function getCredentials(
+ $scope = null,
+ callable $httpHandler = null,
+ array $cacheConfig = null,
+ CacheItemPoolInterface $cache = null
+ ) {
+ $creds = null;
+ $jsonKey = CredentialsLoader::fromEnv()
+ ?: CredentialsLoader::fromWellKnownFile();
+
+ if (!is_null($jsonKey)) {
+ $creds = CredentialsLoader::makeCredentials($scope, $jsonKey);
+ } elseif (AppIdentityCredentials::onAppEngine() && !GCECredentials::onAppEngineFlexible()) {
+ $creds = new AppIdentityCredentials($scope);
+ } elseif (GCECredentials::onGce($httpHandler)) {
+ $creds = new GCECredentials();
+ }
+
+ if (is_null($creds)) {
+ throw new \DomainException(self::notFound());
+ }
+ if (!is_null($cache)) {
+ $creds = new FetchAuthTokenCache($creds, $cacheConfig, $cache);
+ }
+ return $creds;
+ }
+
+ private static function notFound()
+ {
+ $msg = 'Could not load the default credentials. Browse to ';
+ $msg .= 'https://developers.google.com';
+ $msg .= '/accounts/docs/application-default-credentials';
+ $msg .= ' for more information';
+
+ return $msg;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Cache/InvalidArgumentException.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Cache/InvalidArgumentException.php
new file mode 100644
index 00000000..331e5611
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Cache/InvalidArgumentException.php
@@ -0,0 +1,24 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+namespace Google\Auth\Cache;
+
+use Psr\Cache\InvalidArgumentException as PsrInvalidArgumentException;
+
+class InvalidArgumentException extends \InvalidArgumentException implements PsrInvalidArgumentException
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Cache/Item.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Cache/Item.php
new file mode 100644
index 00000000..cebc93cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Cache/Item.php
@@ -0,0 +1,185 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+namespace Google\Auth\Cache;
+
+use Psr\Cache\CacheItemInterface;
+
+/**
+ * A cache item.
+ */
+final class Item implements CacheItemInterface
+{
+ /**
+ * @var string
+ */
+ private $key;
+
+ /**
+ * @var mixed
+ */
+ private $value;
+
+ /**
+ * @var \DateTime
+ */
+ private $expiration;
+
+ /**
+ * @var bool
+ */
+ private $isHit = false;
+
+ /**
+ * @param string $key
+ */
+ public function __construct($key)
+ {
+ $this->key = $key;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function get()
+ {
+ return $this->isHit() ? $this->value : null;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function isHit()
+ {
+ if (!$this->isHit) {
+ return false;
+ }
+
+ if ($this->expiration === null) {
+ return true;
+ }
+
+ return new \DateTime() < $this->expiration;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function set($value)
+ {
+ $this->isHit = true;
+ $this->value = $value;
+
+ return $this;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function expiresAt($expiration)
+ {
+ if ($this->isValidExpiration($expiration)) {
+ $this->expiration = $expiration;
+
+ return $this;
+ }
+
+ $implementationMessage = interface_exists('DateTimeInterface')
+ ? 'implement interface DateTimeInterface'
+ : 'be an instance of DateTime';
+
+ $error = sprintf(
+ 'Argument 1 passed to %s::expiresAt() must %s, %s given',
+ get_class($this),
+ $implementationMessage,
+ gettype($expiration)
+ );
+
+ $this->handleError($error);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function expiresAfter($time)
+ {
+ if (is_int($time)) {
+ $this->expiration = new \DateTime("now + $time seconds");
+ } elseif ($time instanceof \DateInterval) {
+ $this->expiration = (new \DateTime())->add($time);
+ } elseif ($time === null) {
+ $this->expiration = $time;
+ } else {
+ $message = 'Argument 1 passed to %s::expiresAfter() must be an ' .
+ 'instance of DateInterval or of the type integer, %s given';
+ $error = sprintf($message, get_class($this), gettype($expiration));
+
+ $this->handleError($error);
+ }
+
+ return $this;
+ }
+
+ /**
+ * Handles an error.
+ *
+ * @param string $error
+ * @throws \TypeError
+ */
+ private function handleError($error)
+ {
+ if (class_exists('TypeError')) {
+ throw new \TypeError($error);
+ }
+
+ trigger_error($error, E_USER_ERROR);
+ }
+
+ /**
+ * Determines if an expiration is valid based on the rules defined by PSR6.
+ *
+ * @param mixed $expiration
+ * @return bool
+ */
+ private function isValidExpiration($expiration)
+ {
+ if ($expiration === null) {
+ return true;
+ }
+
+ // We test for two types here due to the fact the DateTimeInterface
+ // was not introduced until PHP 5.5. Checking for the DateTime type as
+ // well allows us to support 5.4.
+ if ($expiration instanceof \DateTimeInterface) {
+ return true;
+ }
+
+ if ($expiration instanceof \DateTime) {
+ return true;
+ }
+
+ return false;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Cache/MemoryCacheItemPool.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Cache/MemoryCacheItemPool.php
new file mode 100644
index 00000000..9533c2cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Cache/MemoryCacheItemPool.php
@@ -0,0 +1,155 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+namespace Google\Auth\Cache;
+
+use Psr\Cache\CacheItemInterface;
+use Psr\Cache\CacheItemPoolInterface;
+
+/**
+ * Simple in-memory cache implementation.
+ */
+final class MemoryCacheItemPool implements CacheItemPoolInterface
+{
+ /**
+ * @var CacheItemInterface[]
+ */
+ private $items;
+
+ /**
+ * @var CacheItemInterface[]
+ */
+ private $deferredItems;
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getItem($key)
+ {
+ return current($this->getItems([$key]));
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getItems(array $keys = [])
+ {
+ $items = [];
+
+ foreach ($keys as $key) {
+ $this->isValidKey($key);
+ $items[$key] = $this->hasItem($key) ? clone $this->items[$key] : new Item($key);
+ }
+
+ return $items;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function hasItem($key)
+ {
+ $this->isValidKey($key);
+
+ return isset($this->items[$key]) && $this->items[$key]->isHit();
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function clear()
+ {
+ $this->items = [];
+ $this->deferred = [];
+
+ return true;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function deleteItem($key)
+ {
+ return $this->deleteItems([$key]);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function deleteItems(array $keys)
+ {
+ array_walk($keys, [$this, 'isValidKey']);
+
+ foreach ($keys as $key) {
+ unset($this->items[$key]);
+ }
+
+ return true;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function save(CacheItemInterface $item)
+ {
+ $this->items[$item->getKey()] = $item;
+
+ return true;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function saveDeferred(CacheItemInterface $item)
+ {
+ $this->deferredItems[$item->getKey()] = $item;
+
+ return true;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function commit()
+ {
+ foreach ($this->deferredItems as $item) {
+ $this->save($item);
+ }
+
+ $this->deferredItems = [];
+
+ return true;
+ }
+
+ /**
+ * Determines if the provided key is valid.
+ *
+ * @param string $key
+ * @return bool
+ * @throws InvalidArgumentException
+ */
+ private function isValidKey($key)
+ {
+ $invalidCharacters = '{}()/\\\\@:';
+
+ if (!is_string($key) || preg_match("#[$invalidCharacters]#", $key)) {
+ throw new InvalidArgumentException('The provided key is not valid: ' . var_export($key, true));
+ }
+
+ return true;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/CacheTrait.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/CacheTrait.php
new file mode 100644
index 00000000..02b4b923
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/CacheTrait.php
@@ -0,0 +1,72 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth;
+
+trait CacheTrait
+{
+ /**
+ * Gets the cached value if it is present in the cache when that is
+ * available.
+ */
+ private function getCachedValue($k)
+ {
+ if (is_null($this->cache)) {
+ return;
+ }
+
+ $key = $this->getFullCacheKey($k);
+ if (is_null($key)) {
+ return;
+ }
+
+ $cacheItem = $this->cache->getItem($key);
+ return $cacheItem->get();
+ }
+
+ /**
+ * Saves the value in the cache when that is available.
+ */
+ private function setCachedValue($k, $v)
+ {
+ if (is_null($this->cache)) {
+ return;
+ }
+
+ $key = $this->getFullCacheKey($k);
+ if (is_null($key)) {
+ return;
+ }
+
+ $cacheItem = $this->cache->getItem($key);
+ $cacheItem->set($v);
+ $cacheItem->expiresAfter($this->cacheConfig['lifetime']);
+ return $this->cache->save($cacheItem);
+ }
+
+ private function getFullCacheKey($key)
+ {
+ if (is_null($key)) {
+ return;
+ }
+
+ $key = $this->cacheConfig['prefix'] . $key;
+
+ // ensure we do not have illegal characters
+ return preg_replace('|[^a-zA-Z0-9_\.!]|', '', $key);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/AppIdentityCredentials.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/AppIdentityCredentials.php
new file mode 100644
index 00000000..661c64c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/AppIdentityCredentials.php
@@ -0,0 +1,149 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Credentials;
+
+/*
+ * The AppIdentityService class is automatically defined on App Engine,
+ * so including this dependency is not necessary, and will result in a
+ * PHP fatal error in the App Engine environment.
+ */
+use google\appengine\api\app_identity\AppIdentityService;
+use Google\Auth\CredentialsLoader;
+
+/**
+ * AppIdentityCredentials supports authorization on Google App Engine.
+ *
+ * It can be used to authorize requests using the AuthTokenMiddleware or
+ * AuthTokenSubscriber, but will only succeed if being run on App Engine:
+ *
+ * use Google\Auth\Credentials\AppIdentityCredentials;
+ * use Google\Auth\Middleware\AuthTokenMiddleware;
+ * use GuzzleHttp\Client;
+ * use GuzzleHttp\HandlerStack;
+ *
+ * $gae = new AppIdentityCredentials('https://www.googleapis.com/auth/books');
+ * $middleware = new AuthTokenMiddleware($gae);
+ * $stack = HandlerStack::create();
+ * $stack->push($middleware);
+ *
+ * $client = new Client([
+ * 'handler' => $stack,
+ * 'base_uri' => 'https://www.googleapis.com/books/v1',
+ * 'auth' => 'google_auth'
+ * ]);
+ *
+ * $res = $client->get('volumes?q=Henry+David+Thoreau&country=US');
+ */
+class AppIdentityCredentials extends CredentialsLoader
+{
+ /**
+ * Result of fetchAuthToken.
+ *
+ * @array
+ */
+ protected $lastReceivedToken;
+
+ /**
+ * Array of OAuth2 scopes to be requested.
+ */
+ private $scope;
+
+ public function __construct($scope = array())
+ {
+ $this->scope = $scope;
+ }
+
+ /**
+ * Determines if this an App Engine instance, by accessing the SERVER_SOFTWARE
+ * environment variable.
+ *
+ * @return true if this an App Engine Instance, false otherwise
+ */
+ public static function onAppEngine()
+ {
+ return isset($_SERVER['SERVER_SOFTWARE']) &&
+ strpos($_SERVER['SERVER_SOFTWARE'], 'Google App Engine') !== false;
+ }
+
+ /**
+ * Implements FetchAuthTokenInterface#fetchAuthToken.
+ *
+ * Fetches the auth tokens using the AppIdentityService if available.
+ * As the AppIdentityService uses protobufs to fetch the access token,
+ * the GuzzleHttp\ClientInterface instance passed in will not be used.
+ *
+ * @param callable $httpHandler callback which delivers psr7 request
+ *
+ * @return array the auth metadata:
+ * array(2) {
+ * ["access_token"]=>
+ * string(3) "xyz"
+ * ["expiration_time"]=>
+ * string(10) "1444339905"
+ * }
+ *
+ * @throws \Exception
+ */
+ public function fetchAuthToken(callable $httpHandler = null)
+ {
+ if (!self::onAppEngine()) {
+ return array();
+ }
+
+ if (!class_exists('google\appengine\api\app_identity\AppIdentityService')) {
+ throw new \Exception(
+ 'This class must be run in App Engine, or you must include the AppIdentityService '
+ . 'mock class defined in tests/mocks/AppIdentityService.php'
+ );
+ }
+
+ // AppIdentityService expects an array when multiple scopes are supplied
+ $scope = is_array($this->scope) ? $this->scope : explode(' ', $this->scope);
+
+ $token = AppIdentityService::getAccessToken($scope);
+ $this->lastReceivedToken = $token;
+
+ return $token;
+ }
+
+ /**
+ * @return array|null
+ */
+ public function getLastReceivedToken()
+ {
+ if ($this->lastReceivedToken) {
+ return [
+ 'access_token' => $this->lastReceivedToken['access_token'],
+ 'expires_at' => $this->lastReceivedToken['expiration_time'],
+ ];
+ }
+
+ return null;
+ }
+
+ /**
+ * Caching is handled by the underlying AppIdentityService, return empty string
+ * to prevent caching.
+ *
+ * @return string
+ */
+ public function getCacheKey()
+ {
+ return '';
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/GCECredentials.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/GCECredentials.php
new file mode 100644
index 00000000..43115290
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/GCECredentials.php
@@ -0,0 +1,219 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Credentials;
+
+use Google\Auth\CredentialsLoader;
+use Google\Auth\HttpHandler\HttpHandlerFactory;
+use GuzzleHttp\Exception\ClientException;
+use GuzzleHttp\Exception\RequestException;
+use GuzzleHttp\Exception\ServerException;
+use GuzzleHttp\Psr7\Request;
+
+/**
+ * GCECredentials supports authorization on Google Compute Engine.
+ *
+ * It can be used to authorize requests using the AuthTokenMiddleware, but will
+ * only succeed if being run on GCE:
+ *
+ * use Google\Auth\Credentials\GCECredentials;
+ * use Google\Auth\Middleware\AuthTokenMiddleware;
+ * use GuzzleHttp\Client;
+ * use GuzzleHttp\HandlerStack;
+ *
+ * $gce = new GCECredentials();
+ * $middleware = new AuthTokenMiddleware($gce);
+ * $stack = HandlerStack::create();
+ * $stack->push($middleware);
+ *
+ * $client = new Client([
+ * 'handler' => $stack,
+ * 'base_uri' => 'https://www.googleapis.com/taskqueue/v1beta2/projects/',
+ * 'auth' => 'google_auth'
+ * ]);
+ *
+ * $res = $client->get('myproject/taskqueues/myqueue');
+ */
+class GCECredentials extends CredentialsLoader
+{
+ const cacheKey = 'GOOGLE_AUTH_PHP_GCE';
+ /**
+ * The metadata IP address on appengine instances.
+ *
+ * The IP is used instead of the domain 'metadata' to avoid slow responses
+ * when not on Compute Engine.
+ */
+ const METADATA_IP = '169.254.169.254';
+
+ /**
+ * The metadata path of the default token.
+ */
+ const TOKEN_URI_PATH = 'v1/instance/service-accounts/default/token';
+
+ /**
+ * The header whose presence indicates GCE presence.
+ */
+ const FLAVOR_HEADER = 'Metadata-Flavor';
+
+ /**
+ * Flag used to ensure that the onGCE test is only done once;.
+ *
+ * @var bool
+ */
+ private $hasCheckedOnGce = false;
+
+ /**
+ * Flag that stores the value of the onGCE check.
+ *
+ * @var bool
+ */
+ private $isOnGce = false;
+
+ /**
+ * Result of fetchAuthToken.
+ */
+ protected $lastReceivedToken;
+
+ /**
+ * The full uri for accessing the default token.
+ *
+ * @return string
+ */
+ public static function getTokenUri()
+ {
+ $base = 'http://' . self::METADATA_IP . '/computeMetadata/';
+
+ return $base . self::TOKEN_URI_PATH;
+ }
+
+ /**
+ * Determines if this an App Engine Flexible instance, by accessing the
+ * GAE_VM environment variable.
+ *
+ * @return true if this an App Engine Flexible Instance, false otherwise
+ */
+ public static function onAppEngineFlexible()
+ {
+ return isset($_SERVER['GAE_VM']) && 'true' === $_SERVER['GAE_VM'];
+ }
+
+ /**
+ * Determines if this a GCE instance, by accessing the expected metadata
+ * host.
+ * If $httpHandler is not specified a the default HttpHandler is used.
+ *
+ * @param callable $httpHandler callback which delivers psr7 request
+ *
+ * @return true if this a GCEInstance false otherwise
+ */
+ public static function onGce(callable $httpHandler = null)
+ {
+ if (is_null($httpHandler)) {
+ $httpHandler = HttpHandlerFactory::build();
+ }
+ $checkUri = 'http://' . self::METADATA_IP;
+ try {
+ // Comment from: oauth2client/client.py
+ //
+ // Note: the explicit `timeout` below is a workaround. The underlying
+ // issue is that resolving an unknown host on some networks will take
+ // 20-30 seconds; making this timeout short fixes the issue, but
+ // could lead to false negatives in the event that we are on GCE, but
+ // the metadata resolution was particularly slow. The latter case is
+ // "unlikely".
+ $resp = $httpHandler(
+ new Request('GET', $checkUri),
+ ['timeout' => 0.3]
+ );
+
+ return $resp->getHeaderLine(self::FLAVOR_HEADER) == 'Google';
+ } catch (ClientException $e) {
+ return false;
+ } catch (ServerException $e) {
+ return false;
+ } catch (RequestException $e) {
+ return false;
+ }
+ }
+
+ /**
+ * Implements FetchAuthTokenInterface#fetchAuthToken.
+ *
+ * Fetches the auth tokens from the GCE metadata host if it is available.
+ * If $httpHandler is not specified a the default HttpHandler is used.
+ *
+ * @param callable $httpHandler callback which delivers psr7 request
+ *
+ * @return array the response
+ *
+ * @throws \Exception
+ */
+ public function fetchAuthToken(callable $httpHandler = null)
+ {
+ if (is_null($httpHandler)) {
+ $httpHandler = HttpHandlerFactory::build();
+ }
+ if (!$this->hasCheckedOnGce) {
+ $this->isOnGce = self::onGce($httpHandler);
+ }
+ if (!$this->isOnGce) {
+ return array(); // return an empty array with no access token
+ }
+ $resp = $httpHandler(
+ new Request(
+ 'GET',
+ self::getTokenUri(),
+ [self::FLAVOR_HEADER => 'Google']
+ )
+ );
+ $body = (string)$resp->getBody();
+
+ // Assume it's JSON; if it's not throw an exception
+ if (null === $json = json_decode($body, true)) {
+ throw new \Exception('Invalid JSON response');
+ }
+
+ // store this so we can retrieve it later
+ $this->lastReceivedToken = $json;
+ $this->lastReceivedToken['expires_at'] = time() + $json['expires_in'];
+
+ return $json;
+ }
+
+ /**
+ * @return string
+ */
+ public function getCacheKey()
+ {
+ return self::cacheKey;
+ }
+
+ /**
+ * @return array|null
+ */
+ public function getLastReceivedToken()
+ {
+ if ($this->lastReceivedToken) {
+ return [
+ 'access_token' => $this->lastReceivedToken['access_token'],
+ 'expires_at' => $this->lastReceivedToken['expires_at'],
+ ];
+ }
+
+ return null;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/IAMCredentials.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/IAMCredentials.php
new file mode 100644
index 00000000..0d2a37d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/IAMCredentials.php
@@ -0,0 +1,89 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Credentials;
+
+/**
+ * Authenticates requests using IAM credentials.
+ */
+class IAMCredentials
+{
+ const SELECTOR_KEY = 'x-goog-iam-authority-selector';
+ const TOKEN_KEY = 'x-goog-iam-authorization-token';
+
+ /**
+ * @var string
+ */
+ private $selector;
+
+ /**
+ * @var string
+ */
+ private $token;
+
+ /**
+ * @param $selector string the IAM selector
+ * @param $token string the IAM token
+ */
+ public function __construct($selector, $token)
+ {
+ if (!is_string($selector)) {
+ throw new \InvalidArgumentException(
+ 'selector must be a string');
+ }
+ if (!is_string($token)) {
+ throw new \InvalidArgumentException(
+ 'token must be a string');
+ }
+
+ $this->selector = $selector;
+ $this->token = $token;
+ }
+
+ /**
+ * export a callback function which updates runtime metadata.
+ *
+ * @return array updateMetadata function
+ */
+ public function getUpdateMetadataFunc()
+ {
+ return array($this, 'updateMetadata');
+ }
+
+ /**
+ * Updates metadata with the appropriate header metadata.
+ *
+ * @param array $metadata metadata hashmap
+ * @param string $unusedAuthUri optional auth uri
+ * @param callable $httpHandler callback which delivers psr7 request
+ * Note: this param is unused here, only included here for
+ * consistency with other credentials class
+ *
+ * @return array updated metadata hashmap
+ */
+ public function updateMetadata(
+ $metadata,
+ $unusedAuthUri = null,
+ callable $httpHandler = null
+ ) {
+ $metadata_copy = $metadata;
+ $metadata_copy[self::SELECTOR_KEY] = $this->selector;
+ $metadata_copy[self::TOKEN_KEY] = $this->token;
+
+ return $metadata_copy;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/ServiceAccountCredentials.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/ServiceAccountCredentials.php
new file mode 100644
index 00000000..db391ecf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/ServiceAccountCredentials.php
@@ -0,0 +1,177 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Credentials;
+
+use Google\Auth\CredentialsLoader;
+use Google\Auth\OAuth2;
+
+/**
+ * ServiceAccountCredentials supports authorization using a Google service
+ * account.
+ *
+ * (cf https://developers.google.com/accounts/docs/OAuth2ServiceAccount)
+ *
+ * It's initialized using the json key file that's downloadable from developer
+ * console, which should contain a private_key and client_email fields that it
+ * uses.
+ *
+ * Use it with AuthTokenMiddleware to authorize http requests:
+ *
+ * use Google\Auth\Credentials\ServiceAccountCredentials;
+ * use Google\Auth\Middleware\AuthTokenMiddleware;
+ * use GuzzleHttp\Client;
+ * use GuzzleHttp\HandlerStack;
+ *
+ * $sa = new ServiceAccountCredentials(
+ * 'https://www.googleapis.com/auth/taskqueue',
+ * '/path/to/your/json/key_file.json'
+ * );
+ * $middleware = new AuthTokenMiddleware($sa);
+ * $stack = HandlerStack::create();
+ * $stack->push($middleware);
+ *
+ * $client = new Client([
+ * 'handler' => $stack,
+ * 'base_uri' => 'https://www.googleapis.com/taskqueue/v1beta2/projects/',
+ * 'auth' => 'google_auth' // authorize all requests
+ * ]);
+ *
+ * $res = $client->get('myproject/taskqueues/myqueue');
+ */
+class ServiceAccountCredentials extends CredentialsLoader
+{
+ /**
+ * The OAuth2 instance used to conduct authorization.
+ *
+ * @var OAuth2
+ */
+ protected $auth;
+
+ /**
+ * Create a new ServiceAccountCredentials.
+ *
+ * @param string|array $scope the scope of the access request, expressed
+ * either as an Array or as a space-delimited String.
+ * @param string|array $jsonKey JSON credential file path or JSON credentials
+ * as an associative array
+ * @param string $sub an email address account to impersonate, in situations when
+ * the service account has been delegated domain wide access.
+ */
+ public function __construct(
+ $scope,
+ $jsonKey,
+ $sub = null
+ ) {
+ if (is_string($jsonKey)) {
+ if (!file_exists($jsonKey)) {
+ throw new \InvalidArgumentException('file does not exist');
+ }
+ $jsonKeyStream = file_get_contents($jsonKey);
+ if (!$jsonKey = json_decode($jsonKeyStream, true)) {
+ throw new \LogicException('invalid json for auth config');
+ }
+ }
+ if (!array_key_exists('client_email', $jsonKey)) {
+ throw new \InvalidArgumentException(
+ 'json key is missing the client_email field');
+ }
+ if (!array_key_exists('private_key', $jsonKey)) {
+ throw new \InvalidArgumentException(
+ 'json key is missing the private_key field');
+ }
+ $this->auth = new OAuth2([
+ 'audience' => self::TOKEN_CREDENTIAL_URI,
+ 'issuer' => $jsonKey['client_email'],
+ 'scope' => $scope,
+ 'signingAlgorithm' => 'RS256',
+ 'signingKey' => $jsonKey['private_key'],
+ 'sub' => $sub,
+ 'tokenCredentialUri' => self::TOKEN_CREDENTIAL_URI,
+ ]);
+ }
+
+ /**
+ * @param callable $httpHandler
+ *
+ * @return array
+ */
+ public function fetchAuthToken(callable $httpHandler = null)
+ {
+ return $this->auth->fetchAuthToken($httpHandler);
+ }
+
+ /**
+ * @return string
+ */
+ public function getCacheKey()
+ {
+ $key = $this->auth->getIssuer() . ':' . $this->auth->getCacheKey();
+ if ($sub = $this->auth->getSub()) {
+ $key .= ':' . $sub;
+ }
+
+ return $key;
+ }
+
+ /**
+ * @return array
+ */
+ public function getLastReceivedToken()
+ {
+ return $this->auth->getLastReceivedToken();
+ }
+
+ /**
+ * Updates metadata with the authorization token.
+ *
+ * @param array $metadata metadata hashmap
+ * @param string $authUri optional auth uri
+ * @param callable $httpHandler callback which delivers psr7 request
+ *
+ * @return array updated metadata hashmap
+ */
+ public function updateMetadata(
+ $metadata,
+ $authUri = null,
+ callable $httpHandler = null
+ ) {
+ // scope exists. use oauth implementation
+ $scope = $this->auth->getScope();
+ if (!is_null($scope)) {
+ return parent::updateMetadata($metadata, $authUri, $httpHandler);
+ }
+
+ // no scope found. create jwt with the auth uri
+ $credJson = array(
+ 'private_key' => $this->auth->getSigningKey(),
+ 'client_email' => $this->auth->getIssuer(),
+ );
+ $jwtCreds = new ServiceAccountJwtAccessCredentials($credJson);
+
+ return $jwtCreds->updateMetadata($metadata, $authUri, $httpHandler);
+ }
+
+ /**
+ * @param string $sub an email address account to impersonate, in situations when
+ * the service account has been delegated domain wide access.
+ */
+ public function setSub($sub)
+ {
+ $this->auth->setSub($sub);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php
new file mode 100644
index 00000000..28cc7096
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php
@@ -0,0 +1,131 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Credentials;
+
+use Google\Auth\CredentialsLoader;
+use Google\Auth\OAuth2;
+
+/**
+ * Authenticates requests using Google's Service Account credentials via
+ * JWT Access.
+ *
+ * This class allows authorizing requests for service accounts directly
+ * from credentials from a json key file downloaded from the developer
+ * console (via 'Generate new Json Key'). It is not part of any OAuth2
+ * flow, rather it creates a JWT and sends that as a credential.
+ */
+class ServiceAccountJwtAccessCredentials extends CredentialsLoader
+{
+ /**
+ * The OAuth2 instance used to conduct authorization.
+ *
+ * @var OAuth2
+ */
+ protected $auth;
+
+ /**
+ * Create a new ServiceAccountJwtAccessCredentials.
+ *
+ * @param string|array $jsonKey JSON credential file path or JSON credentials
+ * as an associative array
+ */
+ public function __construct($jsonKey)
+ {
+ if (is_string($jsonKey)) {
+ if (!file_exists($jsonKey)) {
+ throw new \InvalidArgumentException('file does not exist');
+ }
+ $jsonKeyStream = file_get_contents($jsonKey);
+ if (!$jsonKey = json_decode($jsonKeyStream, true)) {
+ throw new \LogicException('invalid json for auth config');
+ }
+ }
+ if (!array_key_exists('client_email', $jsonKey)) {
+ throw new \InvalidArgumentException(
+ 'json key is missing the client_email field');
+ }
+ if (!array_key_exists('private_key', $jsonKey)) {
+ throw new \InvalidArgumentException(
+ 'json key is missing the private_key field');
+ }
+ $this->auth = new OAuth2([
+ 'issuer' => $jsonKey['client_email'],
+ 'sub' => $jsonKey['client_email'],
+ 'signingAlgorithm' => 'RS256',
+ 'signingKey' => $jsonKey['private_key'],
+ ]);
+ }
+
+ /**
+ * Updates metadata with the authorization token.
+ *
+ * @param array $metadata metadata hashmap
+ * @param string $authUri optional auth uri
+ * @param callable $httpHandler callback which delivers psr7 request
+ *
+ * @return array updated metadata hashmap
+ */
+ public function updateMetadata(
+ $metadata,
+ $authUri = null,
+ callable $httpHandler = null
+ ) {
+ if (empty($authUri)) {
+ return $metadata;
+ }
+
+ $this->auth->setAudience($authUri);
+
+ return parent::updateMetadata($metadata, $authUri, $httpHandler);
+ }
+
+ /**
+ * Implements FetchAuthTokenInterface#fetchAuthToken.
+ *
+ * @param callable $httpHandler
+ *
+ * @return array|void
+ */
+ public function fetchAuthToken(callable $httpHandler = null)
+ {
+ $audience = $this->auth->getAudience();
+ if (empty($audience)) {
+ return null;
+ }
+
+ $access_token = $this->auth->toJwt();
+
+ return array('access_token' => $access_token);
+ }
+
+ /**
+ * @return string
+ */
+ public function getCacheKey()
+ {
+ return $this->auth->getCacheKey();
+ }
+
+ /**
+ * @return array
+ */
+ public function getLastReceivedToken()
+ {
+ return $this->auth->getLastReceivedToken();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/UserRefreshCredentials.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/UserRefreshCredentials.php
new file mode 100644
index 00000000..6c7e5cfa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Credentials/UserRefreshCredentials.php
@@ -0,0 +1,110 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Credentials;
+
+use Google\Auth\CredentialsLoader;
+use Google\Auth\OAuth2;
+
+/**
+ * Authenticates requests using User Refresh credentials.
+ *
+ * This class allows authorizing requests from user refresh tokens.
+ *
+ * This the end of the result of a 3LO flow. E.g, the end result of
+ * 'gcloud auth login' saves a file with these contents in well known
+ * location
+ *
+ * @see [Application Default Credentials](http://goo.gl/mkAHpZ)
+ */
+class UserRefreshCredentials extends CredentialsLoader
+{
+ /**
+ * The OAuth2 instance used to conduct authorization.
+ *
+ * @var OAuth2
+ */
+ protected $auth;
+
+ /**
+ * Create a new UserRefreshCredentials.
+ *
+ * @param string|array $scope the scope of the access request, expressed
+ * either as an Array or as a space-delimited String.
+ * @param string|array $jsonKey JSON credential file path or JSON credentials
+ * as an associative array
+ */
+ public function __construct(
+ $scope,
+ $jsonKey
+ ) {
+ if (is_string($jsonKey)) {
+ if (!file_exists($jsonKey)) {
+ throw new \InvalidArgumentException('file does not exist');
+ }
+ $jsonKeyStream = file_get_contents($jsonKey);
+ if (!$jsonKey = json_decode($jsonKeyStream, true)) {
+ throw new \LogicException('invalid json for auth config');
+ }
+ }
+ if (!array_key_exists('client_id', $jsonKey)) {
+ throw new \InvalidArgumentException(
+ 'json key is missing the client_id field');
+ }
+ if (!array_key_exists('client_secret', $jsonKey)) {
+ throw new \InvalidArgumentException(
+ 'json key is missing the client_secret field');
+ }
+ if (!array_key_exists('refresh_token', $jsonKey)) {
+ throw new \InvalidArgumentException(
+ 'json key is missing the refresh_token field');
+ }
+ $this->auth = new OAuth2([
+ 'clientId' => $jsonKey['client_id'],
+ 'clientSecret' => $jsonKey['client_secret'],
+ 'refresh_token' => $jsonKey['refresh_token'],
+ 'scope' => $scope,
+ 'tokenCredentialUri' => self::TOKEN_CREDENTIAL_URI,
+ ]);
+ }
+
+ /**
+ * @param callable $httpHandler
+ *
+ * @return array
+ */
+ public function fetchAuthToken(callable $httpHandler = null)
+ {
+ return $this->auth->fetchAuthToken($httpHandler);
+ }
+
+ /**
+ * @return string
+ */
+ public function getCacheKey()
+ {
+ return $this->auth->getClientId() . ':' . $this->auth->getCacheKey();
+ }
+
+ /**
+ * @return array
+ */
+ public function getLastReceivedToken()
+ {
+ return $this->auth->getLastReceivedToken();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/CredentialsLoader.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/CredentialsLoader.php
new file mode 100644
index 00000000..5ddeda5e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/CredentialsLoader.php
@@ -0,0 +1,163 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth;
+
+use Google\Auth\Credentials\ServiceAccountCredentials;
+use Google\Auth\Credentials\UserRefreshCredentials;
+
+/**
+ * CredentialsLoader contains the behaviour used to locate and find default
+ * credentials files on the file system.
+ */
+abstract class CredentialsLoader implements FetchAuthTokenInterface
+{
+ const TOKEN_CREDENTIAL_URI = 'https://www.googleapis.com/oauth2/v4/token';
+ const ENV_VAR = 'GOOGLE_APPLICATION_CREDENTIALS';
+ const WELL_KNOWN_PATH = 'gcloud/application_default_credentials.json';
+ const NON_WINDOWS_WELL_KNOWN_PATH_BASE = '.config';
+ const AUTH_METADATA_KEY = 'Authorization';
+
+ /**
+ * @param string $cause
+ * @return string
+ */
+ private static function unableToReadEnv($cause)
+ {
+ $msg = 'Unable to read the credential file specified by ';
+ $msg .= ' GOOGLE_APPLICATION_CREDENTIALS: ';
+ $msg .= $cause;
+
+ return $msg;
+ }
+
+ /**
+ * @return bool
+ */
+ private static function isOnWindows()
+ {
+ return strtoupper(substr(PHP_OS, 0, 3)) === 'WIN';
+ }
+
+ /**
+ * Load a JSON key from the path specified in the environment.
+ *
+ * Load a JSON key from the path specified in the environment
+ * variable GOOGLE_APPLICATION_CREDENTIALS. Return null if
+ * GOOGLE_APPLICATION_CREDENTIALS is not specified.
+ *
+ * @return array JSON key | null
+ */
+ public static function fromEnv()
+ {
+ $path = getenv(self::ENV_VAR);
+ if (empty($path)) {
+ return;
+ }
+ if (!file_exists($path)) {
+ $cause = 'file ' . $path . ' does not exist';
+ throw new \DomainException(self::unableToReadEnv($cause));
+ }
+ $jsonKey = file_get_contents($path);
+ return json_decode($jsonKey, true);
+ }
+
+ /**
+ * Load a JSON key from a well known path.
+ *
+ * The well known path is OS dependent:
+ * - windows: %APPDATA%/gcloud/application_default_credentials.json
+ * - others: $HOME/.config/gcloud/application_default_credentials.json
+ *
+ * If the file does not exists, this returns null.
+ *
+ * @return array JSON key | null
+ */
+ public static function fromWellKnownFile()
+ {
+ $rootEnv = self::isOnWindows() ? 'APPDATA' : 'HOME';
+ $path = [getenv($rootEnv)];
+ if (!self::isOnWindows()) {
+ $path[] = self::NON_WINDOWS_WELL_KNOWN_PATH_BASE;
+ }
+ $path[] = self::WELL_KNOWN_PATH;
+ $path = implode(DIRECTORY_SEPARATOR, $path);
+ if (!file_exists($path)) {
+ return;
+ }
+ $jsonKey = file_get_contents($path);
+ return json_decode($jsonKey, true);
+ }
+
+ /**
+ * Create a new Credentials instance.
+ *
+ * @param string|array scope the scope of the access request, expressed
+ * either as an Array or as a space-delimited String.
+ * @param array $jsonKey the JSON credentials.
+ *
+ * @return ServiceAccountCredentials|UserRefreshCredentials
+ */
+ public static function makeCredentials($scope, array $jsonKey)
+ {
+ if (!array_key_exists('type', $jsonKey)) {
+ throw new \InvalidArgumentException('json key is missing the type field');
+ }
+
+ if ($jsonKey['type'] == 'service_account') {
+ return new ServiceAccountCredentials($scope, $jsonKey);
+ } elseif ($jsonKey['type'] == 'authorized_user') {
+ return new UserRefreshCredentials($scope, $jsonKey);
+ } else {
+ throw new \InvalidArgumentException('invalid value in the type field');
+ }
+ }
+
+ /**
+ * export a callback function which updates runtime metadata.
+ *
+ * @return array updateMetadata function
+ */
+ public function getUpdateMetadataFunc()
+ {
+ return array($this, 'updateMetadata');
+ }
+
+ /**
+ * Updates metadata with the authorization token.
+ *
+ * @param array $metadata metadata hashmap
+ * @param string $authUri optional auth uri
+ * @param callable $httpHandler callback which delivers psr7 request
+ *
+ * @return array updated metadata hashmap
+ */
+ public function updateMetadata(
+ $metadata,
+ $authUri = null,
+ callable $httpHandler = null
+ ) {
+ $result = $this->fetchAuthToken($httpHandler);
+ if (!isset($result['access_token'])) {
+ return $metadata;
+ }
+ $metadata_copy = $metadata;
+ $metadata_copy[self::AUTH_METADATA_KEY] = array('Bearer ' . $result['access_token']);
+
+ return $metadata_copy;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/FetchAuthTokenCache.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/FetchAuthTokenCache.php
new file mode 100644
index 00000000..5b8e01b0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/FetchAuthTokenCache.php
@@ -0,0 +1,108 @@
+<?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.
+ */
+
+namespace Google\Auth;
+
+use Psr\Cache\CacheItemPoolInterface;
+
+/**
+ * A class to implement caching for any object implementing
+ * FetchAuthTokenInterface
+ */
+class FetchAuthTokenCache implements FetchAuthTokenInterface
+{
+ use CacheTrait;
+
+ /**
+ * @var FetchAuthTokenInterface
+ */
+ private $fetcher;
+
+ /**
+ * @var array
+ */
+ private $cacheConfig;
+
+ /**
+ * @var CacheItemPoolInterface
+ */
+ private $cache;
+
+ public function __construct(
+ FetchAuthTokenInterface $fetcher,
+ array $cacheConfig = null,
+ CacheItemPoolInterface $cache
+ ) {
+ $this->fetcher = $fetcher;
+ $this->cache = $cache;
+ $this->cacheConfig = array_merge([
+ 'lifetime' => 1500,
+ 'prefix' => '',
+ ], (array) $cacheConfig);
+ }
+
+ /**
+ * Implements FetchAuthTokenInterface#fetchAuthToken.
+ *
+ * Checks the cache for a valid auth token and fetches the auth tokens
+ * from the supplied fetcher.
+ *
+ * @param callable $httpHandler callback which delivers psr7 request
+ *
+ * @return array the response
+ *
+ * @throws \Exception
+ */
+ public function fetchAuthToken(callable $httpHandler = null)
+ {
+ // Use the cached value if its available.
+ //
+ // TODO: correct caching; update the call to setCachedValue to set the expiry
+ // to the value returned with the auth token.
+ //
+ // TODO: correct caching; enable the cache to be cleared.
+ $cacheKey = $this->fetcher->getCacheKey();
+ $cached = $this->getCachedValue($cacheKey);
+ if (!empty($cached)) {
+ return ['access_token' => $cached];
+ }
+
+ $auth_token = $this->fetcher->fetchAuthToken($httpHandler);
+
+ if (isset($auth_token['access_token'])) {
+ $this->setCachedValue($cacheKey, $auth_token['access_token']);
+ }
+
+ return $auth_token;
+ }
+
+ /**
+ * @return string
+ */
+ public function getCacheKey()
+ {
+ return $this->getFullCacheKey($this->fetcher->getCacheKey());
+ }
+
+ /**
+ * @return array|null
+ */
+ public function getLastReceivedToken()
+ {
+ return $this->fetcher->getLastReceivedToken();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/FetchAuthTokenInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/FetchAuthTokenInterface.php
new file mode 100644
index 00000000..e3d8d28b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/FetchAuthTokenInterface.php
@@ -0,0 +1,55 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth;
+
+/**
+ * An interface implemented by objects that can fetch auth tokens.
+ */
+interface FetchAuthTokenInterface
+{
+ /**
+ * Fetches the auth tokens based on the current state.
+ *
+ * @param callable $httpHandler callback which delivers psr7 request
+ *
+ * @return array a hash of auth tokens
+ */
+ public function fetchAuthToken(callable $httpHandler = null);
+
+ /**
+ * Obtains a key that can used to cache the results of #fetchAuthToken.
+ *
+ * If the value is empty, the auth token is not cached.
+ *
+ * @return string a key that may be used to cache the auth token.
+ */
+ public function getCacheKey();
+
+ /**
+ * Returns an associative array with the token and
+ * expiration time.
+ *
+ * @return null|array {
+ * The last received access token.
+ *
+ * @var string $access_token The access token string.
+ * @var int $expires_at The time the token expires as a UNIX timestamp.
+ * }
+ */
+ public function getLastReceivedToken();
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/HttpHandler/Guzzle5HttpHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/HttpHandler/Guzzle5HttpHandler.php
new file mode 100644
index 00000000..7ef647c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/HttpHandler/Guzzle5HttpHandler.php
@@ -0,0 +1,68 @@
+<?php
+/**
+ * Copyright 2015 Google Inc. All Rights Reserved.
+ *
+ * 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.
+ */
+namespace Google\Auth\HttpHandler;
+
+use GuzzleHttp\ClientInterface;
+use GuzzleHttp\Psr7\Response;
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+
+class Guzzle5HttpHandler
+{
+ /**
+ * @var ClientInterface
+ */
+ private $client;
+
+ /**
+ * @param ClientInterface $client
+ */
+ public function __construct(ClientInterface $client)
+ {
+ $this->client = $client;
+ }
+
+ /**
+ * Accepts a PSR-7 Request and an array of options and returns a PSR-7 response.
+ *
+ * @param RequestInterface $request
+ * @param array $options
+ *
+ * @return ResponseInterface
+ */
+ public function __invoke(RequestInterface $request, array $options = [])
+ {
+ $request = $this->client->createRequest(
+ $request->getMethod(),
+ $request->getUri(),
+ array_merge([
+ 'headers' => $request->getHeaders(),
+ 'body' => $request->getBody(),
+ ], $options)
+ );
+
+ $response = $this->client->send($request);
+
+ return new Response(
+ $response->getStatusCode(),
+ $response->getHeaders() ?: [],
+ $response->getBody(),
+ $response->getProtocolVersion(),
+ $response->getReasonPhrase()
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/HttpHandler/Guzzle6HttpHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/HttpHandler/Guzzle6HttpHandler.php
new file mode 100644
index 00000000..79cc7954
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/HttpHandler/Guzzle6HttpHandler.php
@@ -0,0 +1,36 @@
+<?php
+
+namespace Google\Auth\HttpHandler;
+
+use GuzzleHttp\ClientInterface;
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+
+class Guzzle6HttpHandler
+{
+ /**
+ * @var ClientInterface
+ */
+ private $client;
+
+ /**
+ * @param ClientInterface $client
+ */
+ public function __construct(ClientInterface $client)
+ {
+ $this->client = $client;
+ }
+
+ /**
+ * Accepts a PSR-7 request and an array of options and returns a PSR-7 response.
+ *
+ * @param RequestInterface $request
+ * @param array $options
+ *
+ * @return ResponseInterface
+ */
+ public function __invoke(RequestInterface $request, array $options = [])
+ {
+ return $this->client->send($request, $options);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/HttpHandler/HttpHandlerFactory.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/HttpHandler/HttpHandlerFactory.php
new file mode 100644
index 00000000..1ede7982
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/HttpHandler/HttpHandlerFactory.php
@@ -0,0 +1,47 @@
+<?php
+/**
+ * Copyright 2015 Google Inc. All Rights Reserved.
+ *
+ * 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.
+ */
+namespace Google\Auth\HttpHandler;
+
+use GuzzleHttp\Client;
+use GuzzleHttp\ClientInterface;
+
+class HttpHandlerFactory
+{
+ /**
+ * Builds out a default http handler for the installed version of guzzle.
+ *
+ * @param ClientInterface $client
+ *
+ * @return Guzzle5HttpHandler|Guzzle6HttpHandler
+ *
+ * @throws \Exception
+ */
+ public static function build(ClientInterface $client = null)
+ {
+ $version = ClientInterface::VERSION;
+ $client = $client ?: new Client();
+
+ switch ($version[0]) {
+ case '5':
+ return new Guzzle5HttpHandler($client);
+ case '6':
+ return new Guzzle6HttpHandler($client);
+ default:
+ throw new \Exception('Version not supported');
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Middleware/AuthTokenMiddleware.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Middleware/AuthTokenMiddleware.php
new file mode 100644
index 00000000..6d4da69d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Middleware/AuthTokenMiddleware.php
@@ -0,0 +1,126 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Middleware;
+
+use Google\Auth\FetchAuthTokenInterface;
+use Psr\Http\Message\RequestInterface;
+
+/**
+ * AuthTokenMiddleware is a Guzzle Middleware that adds an Authorization header
+ * provided by an object implementing FetchAuthTokenInterface.
+ *
+ * The FetchAuthTokenInterface#fetchAuthToken is used to obtain a hash; one of
+ * the values value in that hash is added as the authorization header.
+ *
+ * Requests will be accessed with the authorization header:
+ *
+ * 'Authorization' 'Bearer <value of auth_token>'
+ */
+class AuthTokenMiddleware
+{
+ /**
+ * @var callback
+ */
+ private $httpHandler;
+
+ /**
+ * @var FetchAuthTokenInterface
+ */
+ private $fetcher;
+
+ /**
+ * @var callable
+ */
+ private $tokenCallback;
+
+ /**
+ * Creates a new AuthTokenMiddleware.
+ *
+ * @param FetchAuthTokenInterface $fetcher is used to fetch the auth token
+ * @param callable $httpHandler (optional) callback which delivers psr7 request
+ * @param callable $tokenCallback (optional) function to be called when a new token is fetched.
+ */
+ public function __construct(
+ FetchAuthTokenInterface $fetcher,
+ callable $httpHandler = null,
+ callable $tokenCallback = null
+ ) {
+ $this->fetcher = $fetcher;
+ $this->httpHandler = $httpHandler;
+ $this->tokenCallback = $tokenCallback;
+ }
+
+ /**
+ * Updates the request with an Authorization header when auth is 'google_auth'.
+ *
+ * use Google\Auth\Middleware\AuthTokenMiddleware;
+ * use Google\Auth\OAuth2;
+ * use GuzzleHttp\Client;
+ * use GuzzleHttp\HandlerStack;
+ *
+ * $config = [..<oauth config param>.];
+ * $oauth2 = new OAuth2($config)
+ * $middleware = new AuthTokenMiddleware($oauth2);
+ * $stack = HandlerStack::create();
+ * $stack->push($middleware);
+ *
+ * $client = new Client([
+ * 'handler' => $stack,
+ * 'base_uri' => 'https://www.googleapis.com/taskqueue/v1beta2/projects/',
+ * 'auth' => 'google_auth' // authorize all requests
+ * ]);
+ *
+ * $res = $client->get('myproject/taskqueues/myqueue');
+ *
+ * @param callable $handler
+ *
+ * @return \Closure
+ */
+ public function __invoke(callable $handler)
+ {
+ return function (RequestInterface $request, array $options) use ($handler) {
+ // Requests using "auth"="google_auth" will be authorized.
+ if (!isset($options['auth']) || $options['auth'] !== 'google_auth') {
+ return $handler($request, $options);
+ }
+
+ $request = $request->withHeader('Authorization', 'Bearer ' . $this->fetchToken());
+
+ return $handler($request, $options);
+ };
+ }
+
+ /**
+ * Call fetcher to fetch the token.
+ *
+ * @return string
+ */
+ private function fetchToken()
+ {
+ $auth_tokens = $this->fetcher->fetchAuthToken($this->httpHandler);
+
+ if (array_key_exists('access_token', $auth_tokens)) {
+ // notify the callback if applicable
+ if ($this->tokenCallback) {
+ call_user_func($this->tokenCallback, $this->fetcher->getCacheKey(), $auth_tokens['access_token']);
+ }
+
+ return $auth_tokens['access_token'];
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php
new file mode 100644
index 00000000..f0d533cf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php
@@ -0,0 +1,175 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Middleware;
+
+use Google\Auth\CacheTrait;
+use Psr\Cache\CacheItemPoolInterface;
+use Psr\Http\Message\RequestInterface;
+
+/**
+ * ScopedAccessTokenMiddleware is a Guzzle Middleware that adds an Authorization
+ * header provided by a closure.
+ *
+ * The closure returns an access token, taking the scope, either a single
+ * string or an array of strings, as its value. If provided, a cache will be
+ * used to preserve the access token for a given lifetime.
+ *
+ * Requests will be accessed with the authorization header:
+ *
+ * 'Authorization' 'Bearer <value of auth_token>'
+ */
+class ScopedAccessTokenMiddleware
+{
+ use CacheTrait;
+
+ const DEFAULT_CACHE_LIFETIME = 1500;
+
+ /**
+ * @var CacheItemPoolInterface
+ */
+ private $cache;
+
+ /**
+ * @var array configuration
+ */
+ private $cacheConfig;
+
+ /**
+ * @var callable
+ */
+ private $tokenFunc;
+
+ /**
+ * @var array|string
+ */
+ private $scopes;
+
+ /**
+ * Creates a new ScopedAccessTokenMiddleware.
+ *
+ * @param callable $tokenFunc a token generator function
+ * @param array|string $scopes the token authentication scopes
+ * @param array $cacheConfig configuration for the cache when it's present
+ * @param CacheItemPoolInterface $cache an implementation of CacheItemPoolInterface
+ */
+ public function __construct(
+ callable $tokenFunc,
+ $scopes,
+ array $cacheConfig = null,
+ CacheItemPoolInterface $cache = null
+ ) {
+ $this->tokenFunc = $tokenFunc;
+ if (!(is_string($scopes) || is_array($scopes))) {
+ throw new \InvalidArgumentException(
+ 'wants scope should be string or array');
+ }
+ $this->scopes = $scopes;
+
+ if (!is_null($cache)) {
+ $this->cache = $cache;
+ $this->cacheConfig = array_merge([
+ 'lifetime' => self::DEFAULT_CACHE_LIFETIME,
+ 'prefix' => '',
+ ], $cacheConfig);
+ }
+ }
+
+ /**
+ * Updates the request with an Authorization header when auth is 'scoped'.
+ *
+ * E.g this could be used to authenticate using the AppEngine
+ * AppIdentityService.
+ *
+ * use google\appengine\api\app_identity\AppIdentityService;
+ * use Google\Auth\Middleware\ScopedAccessTokenMiddleware;
+ * use GuzzleHttp\Client;
+ * use GuzzleHttp\HandlerStack;
+ *
+ * $scope = 'https://www.googleapis.com/auth/taskqueue'
+ * $middleware = new ScopedAccessTokenMiddleware(
+ * 'AppIdentityService::getAccessToken',
+ * $scope,
+ * [ 'prefix' => 'Google\Auth\ScopedAccessToken::' ],
+ * $cache = new Memcache()
+ * );
+ * $stack = HandlerStack::create();
+ * $stack->push($middleware);
+ *
+ * $client = new Client([
+ * 'handler' => $stack,
+ * 'base_url' => 'https://www.googleapis.com/taskqueue/v1beta2/projects/',
+ * 'auth' => 'google_auth' // authorize all requests
+ * ]);
+ *
+ * $res = $client->get('myproject/taskqueues/myqueue');
+ *
+ * @param callable $handler
+ *
+ * @return \Closure
+ */
+ public function __invoke(callable $handler)
+ {
+ return function (RequestInterface $request, array $options) use ($handler) {
+ // Requests using "auth"="scoped" will be authorized.
+ if (!isset($options['auth']) || $options['auth'] !== 'scoped') {
+ return $handler($request, $options);
+ }
+
+ $request = $request->withHeader('Authorization', 'Bearer ' . $this->fetchToken());
+
+ return $handler($request, $options);
+ };
+ }
+
+ /**
+ * @return string
+ */
+ private function getCacheKey()
+ {
+ $key = null;
+
+ if (is_string($this->scopes)) {
+ $key .= $this->scopes;
+ } elseif (is_array($this->scopes)) {
+ $key .= implode(':', $this->scopes);
+ }
+
+ return $key;
+ }
+
+ /**
+ * Determine if token is available in the cache, if not call tokenFunc to
+ * fetch it.
+ *
+ * @return string
+ */
+ private function fetchToken()
+ {
+ $cacheKey = $this->getCacheKey();
+ $cached = $this->getCachedValue($cacheKey);
+
+ if (!empty($cached)) {
+ return $cached;
+ }
+
+ $token = call_user_func($this->tokenFunc, $this->scopes);
+ $this->setCachedValue($cacheKey, $token);
+
+ return $token;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Middleware/SimpleMiddleware.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Middleware/SimpleMiddleware.php
new file mode 100644
index 00000000..c31fc657
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Middleware/SimpleMiddleware.php
@@ -0,0 +1,93 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Middleware;
+
+use GuzzleHttp\Psr7;
+use Psr\Http\Message\RequestInterface;
+
+/**
+ * SimpleMiddleware is a Guzzle Middleware that implements Google's Simple API
+ * access.
+ *
+ * Requests are accessed using the Simple API access developer key.
+ */
+class SimpleMiddleware
+{
+ /**
+ * @var array
+ */
+ private $config;
+
+ /**
+ * Create a new Simple plugin.
+ *
+ * The configuration array expects one option
+ * - key: required, otherwise InvalidArgumentException is thrown
+ *
+ * @param array $config Configuration array
+ */
+ public function __construct(array $config)
+ {
+ if (!isset($config['key'])) {
+ throw new \InvalidArgumentException('requires a key to have been set');
+ }
+
+ $this->config = array_merge(['key' => null], $config);
+ }
+
+ /**
+ * Updates the request query with the developer key if auth is set to simple.
+ *
+ * use Google\Auth\Middleware\SimpleMiddleware;
+ * use GuzzleHttp\Client;
+ * use GuzzleHttp\HandlerStack;
+ *
+ * $my_key = 'is not the same as yours';
+ * $middleware = new SimpleMiddleware(['key' => $my_key]);
+ * $stack = HandlerStack::create();
+ * $stack->push($middleware);
+ *
+ * $client = new Client([
+ * 'handler' => $stack,
+ * 'base_uri' => 'https://www.googleapis.com/discovery/v1/',
+ * 'auth' => 'simple'
+ * ]);
+ *
+ * $res = $client->get('drive/v2/rest');
+ *
+ * @param callable $handler
+ *
+ * @return \Closure
+ */
+ public function __invoke(callable $handler)
+ {
+ return function (RequestInterface $request, array $options) use ($handler) {
+ // Requests using "auth"="scoped" will be authorized.
+ if (!isset($options['auth']) || $options['auth'] !== 'simple') {
+ return $handler($request, $options);
+ }
+
+ $query = Psr7\parse_query($request->getUri()->getQuery());
+ $params = array_merge($query, $this->config);
+ $uri = $request->getUri()->withQuery(Psr7\build_query($params));
+ $request = $request->withUri($uri);
+
+ return $handler($request, $options);
+ };
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/OAuth2.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/OAuth2.php
new file mode 100644
index 00000000..d5378239
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/OAuth2.php
@@ -0,0 +1,1306 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth;
+
+use Google\Auth\HttpHandler\HttpHandlerFactory;
+use GuzzleHttp\Psr7;
+use GuzzleHttp\Psr7\Request;
+use InvalidArgumentException;
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+use Psr\Http\Message\UriInterface;
+
+/**
+ * OAuth2 supports authentication by OAuth2 2-legged flows.
+ *
+ * It primary supports
+ * - service account authorization
+ * - authorization where a user already has an access token
+ */
+class OAuth2 implements FetchAuthTokenInterface
+{
+ const DEFAULT_EXPIRY_SECONDS = 3600; // 1 hour
+ const DEFAULT_SKEW_SECONDS = 60; // 1 minute
+ const JWT_URN = 'urn:ietf:params:oauth:grant-type:jwt-bearer';
+
+ /**
+ * TODO: determine known methods from the keys of JWT::methods.
+ */
+ public static $knownSigningAlgorithms = array(
+ 'HS256',
+ 'HS512',
+ 'HS384',
+ 'RS256',
+ );
+
+ /**
+ * The well known grant types.
+ *
+ * @var array
+ */
+ public static $knownGrantTypes = array(
+ 'authorization_code',
+ 'refresh_token',
+ 'password',
+ 'client_credentials',
+ );
+
+ /**
+ * - authorizationUri
+ * The authorization server's HTTP endpoint capable of
+ * authenticating the end-user and obtaining authorization.
+ *
+ * @var UriInterface
+ */
+ private $authorizationUri;
+
+ /**
+ * - tokenCredentialUri
+ * The authorization server's HTTP endpoint capable of issuing
+ * tokens and refreshing expired tokens.
+ *
+ * @var UriInterface
+ */
+ private $tokenCredentialUri;
+
+ /**
+ * The redirection URI used in the initial request.
+ *
+ * @var string
+ */
+ private $redirectUri;
+
+ /**
+ * A unique identifier issued to the client to identify itself to the
+ * authorization server.
+ *
+ * @var string
+ */
+ private $clientId;
+
+ /**
+ * A shared symmetric secret issued by the authorization server, which is
+ * used to authenticate the client.
+ *
+ * @var string
+ */
+ private $clientSecret;
+
+ /**
+ * The resource owner's username.
+ *
+ * @var string
+ */
+ private $username;
+
+ /**
+ * The resource owner's password.
+ *
+ * @var string
+ */
+ private $password;
+
+ /**
+ * The scope of the access request, expressed either as an Array or as a
+ * space-delimited string.
+ *
+ * @var string
+ */
+ private $scope;
+
+ /**
+ * An arbitrary string designed to allow the client to maintain state.
+ *
+ * @var string
+ */
+ private $state;
+
+ /**
+ * The authorization code issued to this client.
+ *
+ * Only used by the authorization code access grant type.
+ *
+ * @var string
+ */
+ private $code;
+
+ /**
+ * The issuer ID when using assertion profile.
+ *
+ * @var string
+ */
+ private $issuer;
+
+ /**
+ * The target audience for assertions.
+ *
+ * @var string
+ */
+ private $audience;
+
+ /**
+ * The target sub when issuing assertions.
+ *
+ * @var string
+ */
+ private $sub;
+
+ /**
+ * The number of seconds assertions are valid for.
+ *
+ * @var int
+ */
+ private $expiry;
+
+ /**
+ * The signing key when using assertion profile.
+ *
+ * @var string
+ */
+ private $signingKey;
+
+ /**
+ * The signing algorithm when using an assertion profile.
+ *
+ * @var string
+ */
+ private $signingAlgorithm;
+
+ /**
+ * The refresh token associated with the access token to be refreshed.
+ *
+ * @var string
+ */
+ private $refreshToken;
+
+ /**
+ * The current access token.
+ *
+ * @var string
+ */
+ private $accessToken;
+
+ /**
+ * The current ID token.
+ *
+ * @var string
+ */
+ private $idToken;
+
+ /**
+ * The lifetime in seconds of the current access token.
+ *
+ * @var int
+ */
+ private $expiresIn;
+
+ /**
+ * The expiration time of the access token as a number of seconds since the
+ * unix epoch.
+ *
+ * @var int
+ */
+ private $expiresAt;
+
+ /**
+ * The issue time of the access token as a number of seconds since the unix
+ * epoch.
+ *
+ * @var int
+ */
+ private $issuedAt;
+
+ /**
+ * The current grant type.
+ *
+ * @var string
+ */
+ private $grantType;
+
+ /**
+ * When using an extension grant type, this is the set of parameters used by
+ * that extension.
+ */
+ private $extensionParams;
+
+ /**
+ * Create a new OAuthCredentials.
+ *
+ * The configuration array accepts various options
+ *
+ * - authorizationUri
+ * The authorization server's HTTP endpoint capable of
+ * authenticating the end-user and obtaining authorization.
+ *
+ * - tokenCredentialUri
+ * The authorization server's HTTP endpoint capable of issuing
+ * tokens and refreshing expired tokens.
+ *
+ * - clientId
+ * A unique identifier issued to the client to identify itself to the
+ * authorization server.
+ *
+ * - clientSecret
+ * A shared symmetric secret issued by the authorization server,
+ * which is used to authenticate the client.
+ *
+ * - scope
+ * The scope of the access request, expressed either as an Array
+ * or as a space-delimited String.
+ *
+ * - state
+ * An arbitrary string designed to allow the client to maintain state.
+ *
+ * - redirectUri
+ * The redirection URI used in the initial request.
+ *
+ * - username
+ * The resource owner's username.
+ *
+ * - password
+ * The resource owner's password.
+ *
+ * - issuer
+ * Issuer ID when using assertion profile
+ *
+ * - audience
+ * Target audience for assertions
+ *
+ * - expiry
+ * Number of seconds assertions are valid for
+ *
+ * - signingKey
+ * Signing key when using assertion profile
+ *
+ * - refreshToken
+ * The refresh token associated with the access token
+ * to be refreshed.
+ *
+ * - accessToken
+ * The current access token for this client.
+ *
+ * - idToken
+ * The current ID token for this client.
+ *
+ * - extensionParams
+ * When using an extension grant type, this is the set of parameters used
+ * by that extension.
+ *
+ * @param array $config Configuration array
+ */
+ public function __construct(array $config)
+ {
+ $opts = array_merge([
+ 'expiry' => self::DEFAULT_EXPIRY_SECONDS,
+ 'extensionParams' => [],
+ 'authorizationUri' => null,
+ 'redirectUri' => null,
+ 'tokenCredentialUri' => null,
+ 'state' => null,
+ 'username' => null,
+ 'password' => null,
+ 'clientId' => null,
+ 'clientSecret' => null,
+ 'issuer' => null,
+ 'sub' => null,
+ 'audience' => null,
+ 'signingKey' => null,
+ 'signingAlgorithm' => null,
+ 'scope' => null,
+ ], $config);
+
+ $this->setAuthorizationUri($opts['authorizationUri']);
+ $this->setRedirectUri($opts['redirectUri']);
+ $this->setTokenCredentialUri($opts['tokenCredentialUri']);
+ $this->setState($opts['state']);
+ $this->setUsername($opts['username']);
+ $this->setPassword($opts['password']);
+ $this->setClientId($opts['clientId']);
+ $this->setClientSecret($opts['clientSecret']);
+ $this->setIssuer($opts['issuer']);
+ $this->setSub($opts['sub']);
+ $this->setExpiry($opts['expiry']);
+ $this->setAudience($opts['audience']);
+ $this->setSigningKey($opts['signingKey']);
+ $this->setSigningAlgorithm($opts['signingAlgorithm']);
+ $this->setScope($opts['scope']);
+ $this->setExtensionParams($opts['extensionParams']);
+ $this->updateToken($opts);
+ }
+
+ /**
+ * Verifies the idToken if present.
+ *
+ * - if none is present, return null
+ * - if present, but invalid, raises DomainException.
+ * - otherwise returns the payload in the idtoken as a PHP object.
+ *
+ * if $publicKey is null, the key is decoded without being verified.
+ *
+ * @param string $publicKey The public key to use to authenticate the token
+ * @param array $allowed_algs List of supported verification algorithms
+ *
+ * @return null|object
+ */
+ public function verifyIdToken($publicKey = null, $allowed_algs = array())
+ {
+ $idToken = $this->getIdToken();
+ if (is_null($idToken)) {
+ return null;
+ }
+
+ $resp = $this->jwtDecode($idToken, $publicKey, $allowed_algs);
+ if (!property_exists($resp, 'aud')) {
+ throw new \DomainException('No audience found the id token');
+ }
+ if ($resp->aud != $this->getAudience()) {
+ throw new \DomainException('Wrong audience present in the id token');
+ }
+
+ return $resp;
+ }
+
+ /**
+ * Obtains the encoded jwt from the instance data.
+ *
+ * @param array $config array optional configuration parameters
+ *
+ * @return string
+ */
+ public function toJwt(array $config = [])
+ {
+ if (is_null($this->getSigningKey())) {
+ throw new \DomainException('No signing key available');
+ }
+ if (is_null($this->getSigningAlgorithm())) {
+ throw new \DomainException('No signing algorithm specified');
+ }
+ $now = time();
+
+ $opts = array_merge([
+ 'skew' => self::DEFAULT_SKEW_SECONDS,
+ ], $config);
+
+ $assertion = [
+ 'iss' => $this->getIssuer(),
+ 'aud' => $this->getAudience(),
+ 'exp' => ($now + $this->getExpiry()),
+ 'iat' => ($now - $opts['skew']),
+ ];
+ foreach ($assertion as $k => $v) {
+ if (is_null($v)) {
+ throw new \DomainException($k . ' should not be null');
+ }
+ }
+ if (!(is_null($this->getScope()))) {
+ $assertion['scope'] = $this->getScope();
+ }
+ if (!(is_null($this->getSub()))) {
+ $assertion['sub'] = $this->getSub();
+ }
+
+ return $this->jwtEncode($assertion, $this->getSigningKey(),
+ $this->getSigningAlgorithm());
+ }
+
+ /**
+ * Generates a request for token credentials.
+ *
+ * @return RequestInterface the authorization Url.
+ */
+ public function generateCredentialsRequest()
+ {
+ $uri = $this->getTokenCredentialUri();
+ if (is_null($uri)) {
+ throw new \DomainException('No token credential URI was set.');
+ }
+
+ $grantType = $this->getGrantType();
+ $params = array('grant_type' => $grantType);
+ switch ($grantType) {
+ case 'authorization_code':
+ $params['code'] = $this->getCode();
+ $params['redirect_uri'] = $this->getRedirectUri();
+ $this->addClientCredentials($params);
+ break;
+ case 'password':
+ $params['username'] = $this->getUsername();
+ $params['password'] = $this->getPassword();
+ $this->addClientCredentials($params);
+ break;
+ case 'refresh_token':
+ $params['refresh_token'] = $this->getRefreshToken();
+ $this->addClientCredentials($params);
+ break;
+ case self::JWT_URN:
+ $params['assertion'] = $this->toJwt();
+ break;
+ default:
+ if (!is_null($this->getRedirectUri())) {
+ # Grant type was supposed to be 'authorization_code', as there
+ # is a redirect URI.
+ throw new \DomainException('Missing authorization code');
+ }
+ unset($params['grant_type']);
+ if (!is_null($grantType)) {
+ $params['grant_type'] = $grantType;
+ }
+ $params = array_merge($params, $this->getExtensionParams());
+ }
+
+ $headers = [
+ 'Cache-Control' => 'no-store',
+ 'Content-Type' => 'application/x-www-form-urlencoded',
+ ];
+
+ return new Request(
+ 'POST',
+ $uri,
+ $headers,
+ Psr7\build_query($params)
+ );
+ }
+
+ /**
+ * Fetches the auth tokens based on the current state.
+ *
+ * @param callable $httpHandler callback which delivers psr7 request
+ *
+ * @return array the response
+ */
+ public function fetchAuthToken(callable $httpHandler = null)
+ {
+ if (is_null($httpHandler)) {
+ $httpHandler = HttpHandlerFactory::build();
+ }
+
+ $response = $httpHandler($this->generateCredentialsRequest());
+ $credentials = $this->parseTokenResponse($response);
+ $this->updateToken($credentials);
+
+ return $credentials;
+ }
+
+ /**
+ * Obtains a key that can used to cache the results of #fetchAuthToken.
+ *
+ * The key is derived from the scopes.
+ *
+ * @return string a key that may be used to cache the auth token.
+ */
+ public function getCacheKey()
+ {
+ if (is_string($this->scope)) {
+ return $this->scope;
+ } elseif (is_array($this->scope)) {
+ return implode(':', $this->scope);
+ }
+
+ // If scope has not set, return null to indicate no caching.
+ return null;
+ }
+
+ /**
+ * Parses the fetched tokens.
+ *
+ * @param ResponseInterface $resp the response.
+ *
+ * @return array the tokens parsed from the response body.
+ *
+ * @throws \Exception
+ */
+ public function parseTokenResponse(ResponseInterface $resp)
+ {
+ $body = (string)$resp->getBody();
+ if ($resp->hasHeader('Content-Type') &&
+ $resp->getHeaderLine('Content-Type') == 'application/x-www-form-urlencoded'
+ ) {
+ $res = array();
+ parse_str($body, $res);
+
+ return $res;
+ } else {
+ // Assume it's JSON; if it's not throw an exception
+ if (null === $res = json_decode($body, true)) {
+ throw new \Exception('Invalid JSON response');
+ }
+
+ return $res;
+ }
+ }
+
+ /**
+ * Updates an OAuth 2.0 client.
+ *
+ * @example
+ * client.updateToken([
+ * 'refresh_token' => 'n4E9O119d',
+ * 'access_token' => 'FJQbwq9',
+ * 'expires_in' => 3600
+ * ])
+ *
+ * @param array $config
+ * The configuration parameters related to the token.
+ *
+ * - refresh_token
+ * The refresh token associated with the access token
+ * to be refreshed.
+ *
+ * - access_token
+ * The current access token for this client.
+ *
+ * - id_token
+ * The current ID token for this client.
+ *
+ * - expires_in
+ * The time in seconds until access token expiration.
+ *
+ * - expires_at
+ * The time as an integer number of seconds since the Epoch
+ *
+ * - issued_at
+ * The timestamp that the token was issued at.
+ */
+ public function updateToken(array $config)
+ {
+ $opts = array_merge([
+ 'extensionParams' => [],
+ 'access_token' => null,
+ 'id_token' => null,
+ 'expires_in' => null,
+ 'expires_at' => null,
+ 'issued_at' => null,
+ ], $config);
+
+ $this->setExpiresAt($opts['expires_at']);
+ $this->setExpiresIn($opts['expires_in']);
+ // By default, the token is issued at `Time.now` when `expiresIn` is set,
+ // but this can be used to supply a more precise time.
+ if (!is_null($opts['issued_at'])) {
+ $this->setIssuedAt($opts['issued_at']);
+ }
+
+ $this->setAccessToken($opts['access_token']);
+ $this->setIdToken($opts['id_token']);
+ // The refresh token should only be updated if a value is explicitly
+ // passed in, as some access token responses do not include a refresh
+ // token.
+ if (array_key_exists('refresh_token', $opts)) {
+ $this->setRefreshToken($opts['refresh_token']);
+ }
+ }
+
+ /**
+ * Builds the authorization Uri that the user should be redirected to.
+ *
+ * @param array $config configuration options that customize the return url
+ *
+ * @return UriInterface the authorization Url.
+ *
+ * @throws InvalidArgumentException
+ */
+ public function buildFullAuthorizationUri(array $config = [])
+ {
+ if (is_null($this->getAuthorizationUri())) {
+ throw new InvalidArgumentException(
+ 'requires an authorizationUri to have been set');
+ }
+
+ $params = array_merge([
+ 'response_type' => 'code',
+ 'access_type' => 'offline',
+ 'client_id' => $this->clientId,
+ 'redirect_uri' => $this->redirectUri,
+ 'state' => $this->state,
+ 'scope' => $this->getScope(),
+ ], $config);
+
+ // Validate the auth_params
+ if (is_null($params['client_id'])) {
+ throw new InvalidArgumentException(
+ 'missing the required client identifier');
+ }
+ if (is_null($params['redirect_uri'])) {
+ throw new InvalidArgumentException('missing the required redirect URI');
+ }
+ if (!empty($params['prompt']) && !empty($params['approval_prompt'])) {
+ throw new InvalidArgumentException(
+ 'prompt and approval_prompt are mutually exclusive');
+ }
+
+ // Construct the uri object; return it if it is valid.
+ $result = clone $this->authorizationUri;
+ $existingParams = Psr7\parse_query($result->getQuery());
+
+ $result = $result->withQuery(
+ Psr7\build_query(array_merge($existingParams, $params))
+ );
+
+ if ($result->getScheme() != 'https') {
+ throw new InvalidArgumentException(
+ 'Authorization endpoint must be protected by TLS');
+ }
+
+ return $result;
+ }
+
+ /**
+ * Sets the authorization server's HTTP endpoint capable of authenticating
+ * the end-user and obtaining authorization.
+ *
+ * @param string $uri
+ */
+ public function setAuthorizationUri($uri)
+ {
+ $this->authorizationUri = $this->coerceUri($uri);
+ }
+
+ /**
+ * Gets the authorization server's HTTP endpoint capable of authenticating
+ * the end-user and obtaining authorization.
+ *
+ * @return UriInterface
+ */
+ public function getAuthorizationUri()
+ {
+ return $this->authorizationUri;
+ }
+
+ /**
+ * Gets the authorization server's HTTP endpoint capable of issuing tokens
+ * and refreshing expired tokens.
+ *
+ * @return string
+ */
+ public function getTokenCredentialUri()
+ {
+ return $this->tokenCredentialUri;
+ }
+
+ /**
+ * Sets the authorization server's HTTP endpoint capable of issuing tokens
+ * and refreshing expired tokens.
+ *
+ * @param string $uri
+ */
+ public function setTokenCredentialUri($uri)
+ {
+ $this->tokenCredentialUri = $this->coerceUri($uri);
+ }
+
+ /**
+ * Gets the redirection URI used in the initial request.
+ *
+ * @return string
+ */
+ public function getRedirectUri()
+ {
+ return $this->redirectUri;
+ }
+
+ /**
+ * Sets the redirection URI used in the initial request.
+ *
+ * @param string $uri
+ */
+ public function setRedirectUri($uri)
+ {
+ if (is_null($uri)) {
+ $this->redirectUri = null;
+
+ return;
+ }
+ // redirect URI must be absolute
+ if (!$this->isAbsoluteUri($uri)) {
+ // "postmessage" is a reserved URI string in Google-land
+ // @see https://developers.google.com/identity/sign-in/web/server-side-flow
+ if ('postmessage' !== (string)$uri) {
+ throw new InvalidArgumentException(
+ 'Redirect URI must be absolute');
+ }
+ }
+ $this->redirectUri = (string)$uri;
+ }
+
+ /**
+ * Gets the scope of the access requests as a space-delimited String.
+ *
+ * @return string
+ */
+ public function getScope()
+ {
+ if (is_null($this->scope)) {
+ return $this->scope;
+ }
+
+ return implode(' ', $this->scope);
+ }
+
+ /**
+ * Sets the scope of the access request, expressed either as an Array or as
+ * a space-delimited String.
+ *
+ * @param string|array $scope
+ *
+ * @throws InvalidArgumentException
+ */
+ public function setScope($scope)
+ {
+ if (is_null($scope)) {
+ $this->scope = null;
+ } elseif (is_string($scope)) {
+ $this->scope = explode(' ', $scope);
+ } elseif (is_array($scope)) {
+ foreach ($scope as $s) {
+ $pos = strpos($s, ' ');
+ if ($pos !== false) {
+ throw new InvalidArgumentException(
+ 'array scope values should not contain spaces');
+ }
+ }
+ $this->scope = $scope;
+ } else {
+ throw new InvalidArgumentException(
+ 'scopes should be a string or array of strings');
+ }
+ }
+
+ /**
+ * Gets the current grant type.
+ *
+ * @return string
+ */
+ public function getGrantType()
+ {
+ if (!is_null($this->grantType)) {
+ return $this->grantType;
+ }
+
+ // Returns the inferred grant type, based on the current object instance
+ // state.
+ if (!is_null($this->code)) {
+ return 'authorization_code';
+ } elseif (!is_null($this->refreshToken)) {
+ return 'refresh_token';
+ } elseif (!is_null($this->username) && !is_null($this->password)) {
+ return 'password';
+ } elseif (!is_null($this->issuer) && !is_null($this->signingKey)) {
+ return self::JWT_URN;
+ } else {
+ return null;
+ }
+ }
+
+ /**
+ * Sets the current grant type.
+ *
+ * @param $grantType
+ *
+ * @throws InvalidArgumentException
+ */
+ public function setGrantType($grantType)
+ {
+ if (in_array($grantType, self::$knownGrantTypes)) {
+ $this->grantType = $grantType;
+ } else {
+ // validate URI
+ if (!$this->isAbsoluteUri($grantType)) {
+ throw new InvalidArgumentException(
+ 'invalid grant type');
+ }
+ $this->grantType = (string)$grantType;
+ }
+ }
+
+ /**
+ * Gets an arbitrary string designed to allow the client to maintain state.
+ *
+ * @return string
+ */
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ /**
+ * Sets an arbitrary string designed to allow the client to maintain state.
+ *
+ * @param string $state
+ */
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+
+ /**
+ * Gets the authorization code issued to this client.
+ */
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ /**
+ * Sets the authorization code issued to this client.
+ *
+ * @param string $code
+ */
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ /**
+ * Gets the resource owner's username.
+ */
+ public function getUsername()
+ {
+ return $this->username;
+ }
+
+ /**
+ * Sets the resource owner's username.
+ *
+ * @param string $username
+ */
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+
+ /**
+ * Gets the resource owner's password.
+ */
+ public function getPassword()
+ {
+ return $this->password;
+ }
+
+ /**
+ * Sets the resource owner's password.
+ *
+ * @param $password
+ */
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+
+ /**
+ * Sets a unique identifier issued to the client to identify itself to the
+ * authorization server.
+ */
+ public function getClientId()
+ {
+ return $this->clientId;
+ }
+
+ /**
+ * Sets a unique identifier issued to the client to identify itself to the
+ * authorization server.
+ *
+ * @param $clientId
+ */
+ public function setClientId($clientId)
+ {
+ $this->clientId = $clientId;
+ }
+
+ /**
+ * Gets a shared symmetric secret issued by the authorization server, which
+ * is used to authenticate the client.
+ */
+ public function getClientSecret()
+ {
+ return $this->clientSecret;
+ }
+
+ /**
+ * Sets a shared symmetric secret issued by the authorization server, which
+ * is used to authenticate the client.
+ *
+ * @param $clientSecret
+ */
+ public function setClientSecret($clientSecret)
+ {
+ $this->clientSecret = $clientSecret;
+ }
+
+ /**
+ * Gets the Issuer ID when using assertion profile.
+ */
+ public function getIssuer()
+ {
+ return $this->issuer;
+ }
+
+ /**
+ * Sets the Issuer ID when using assertion profile.
+ *
+ * @param string $issuer
+ */
+ public function setIssuer($issuer)
+ {
+ $this->issuer = $issuer;
+ }
+
+ /**
+ * Gets the target sub when issuing assertions.
+ */
+ public function getSub()
+ {
+ return $this->sub;
+ }
+
+ /**
+ * Sets the target sub when issuing assertions.
+ *
+ * @param string $sub
+ */
+ public function setSub($sub)
+ {
+ $this->sub = $sub;
+ }
+
+ /**
+ * Gets the target audience when issuing assertions.
+ */
+ public function getAudience()
+ {
+ return $this->audience;
+ }
+
+ /**
+ * Sets the target audience when issuing assertions.
+ *
+ * @param string $audience
+ */
+ public function setAudience($audience)
+ {
+ $this->audience = $audience;
+ }
+
+ /**
+ * Gets the signing key when using an assertion profile.
+ */
+ public function getSigningKey()
+ {
+ return $this->signingKey;
+ }
+
+ /**
+ * Sets the signing key when using an assertion profile.
+ *
+ * @param string $signingKey
+ */
+ public function setSigningKey($signingKey)
+ {
+ $this->signingKey = $signingKey;
+ }
+
+ /**
+ * Gets the signing algorithm when using an assertion profile.
+ *
+ * @return string
+ */
+ public function getSigningAlgorithm()
+ {
+ return $this->signingAlgorithm;
+ }
+
+ /**
+ * Sets the signing algorithm when using an assertion profile.
+ *
+ * @param string $signingAlgorithm
+ */
+ public function setSigningAlgorithm($signingAlgorithm)
+ {
+ if (is_null($signingAlgorithm)) {
+ $this->signingAlgorithm = null;
+ } elseif (!in_array($signingAlgorithm, self::$knownSigningAlgorithms)) {
+ throw new InvalidArgumentException('unknown signing algorithm');
+ } else {
+ $this->signingAlgorithm = $signingAlgorithm;
+ }
+ }
+
+ /**
+ * Gets the set of parameters used by extension when using an extension
+ * grant type.
+ */
+ public function getExtensionParams()
+ {
+ return $this->extensionParams;
+ }
+
+ /**
+ * Sets the set of parameters used by extension when using an extension
+ * grant type.
+ *
+ * @param $extensionParams
+ */
+ public function setExtensionParams($extensionParams)
+ {
+ $this->extensionParams = $extensionParams;
+ }
+
+ /**
+ * Gets the number of seconds assertions are valid for.
+ */
+ public function getExpiry()
+ {
+ return $this->expiry;
+ }
+
+ /**
+ * Sets the number of seconds assertions are valid for.
+ *
+ * @param int $expiry
+ */
+ public function setExpiry($expiry)
+ {
+ $this->expiry = $expiry;
+ }
+
+ /**
+ * Gets the lifetime of the access token in seconds.
+ */
+ public function getExpiresIn()
+ {
+ return $this->expiresIn;
+ }
+
+ /**
+ * Sets the lifetime of the access token in seconds.
+ *
+ * @param int $expiresIn
+ */
+ public function setExpiresIn($expiresIn)
+ {
+ if (is_null($expiresIn)) {
+ $this->expiresIn = null;
+ $this->issuedAt = null;
+ } else {
+ $this->issuedAt = time();
+ $this->expiresIn = (int)$expiresIn;
+ }
+ }
+
+ /**
+ * Gets the time the current access token expires at.
+ *
+ * @return int
+ */
+ public function getExpiresAt()
+ {
+ if (!is_null($this->expiresAt)) {
+ return $this->expiresAt;
+ } elseif (!is_null($this->issuedAt) && !is_null($this->expiresIn)) {
+ return $this->issuedAt + $this->expiresIn;
+ }
+
+ return null;
+ }
+
+ /**
+ * Returns true if the acccess token has expired.
+ *
+ * @return bool
+ */
+ public function isExpired()
+ {
+ $expiration = $this->getExpiresAt();
+ $now = time();
+
+ return !is_null($expiration) && $now >= $expiration;
+ }
+
+ /**
+ * Sets the time the current access token expires at.
+ *
+ * @param int $expiresAt
+ */
+ public function setExpiresAt($expiresAt)
+ {
+ $this->expiresAt = $expiresAt;
+ }
+
+ /**
+ * Gets the time the current access token was issued at.
+ */
+ public function getIssuedAt()
+ {
+ return $this->issuedAt;
+ }
+
+ /**
+ * Sets the time the current access token was issued at.
+ *
+ * @param int $issuedAt
+ */
+ public function setIssuedAt($issuedAt)
+ {
+ $this->issuedAt = $issuedAt;
+ }
+
+ /**
+ * Gets the current access token.
+ */
+ public function getAccessToken()
+ {
+ return $this->accessToken;
+ }
+
+ /**
+ * Sets the current access token.
+ *
+ * @param string $accessToken
+ */
+ public function setAccessToken($accessToken)
+ {
+ $this->accessToken = $accessToken;
+ }
+
+ /**
+ * Gets the current ID token.
+ */
+ public function getIdToken()
+ {
+ return $this->idToken;
+ }
+
+ /**
+ * Sets the current ID token.
+ *
+ * @param $idToken
+ */
+ public function setIdToken($idToken)
+ {
+ $this->idToken = $idToken;
+ }
+
+ /**
+ * Gets the refresh token associated with the current access token.
+ */
+ public function getRefreshToken()
+ {
+ return $this->refreshToken;
+ }
+
+ /**
+ * Sets the refresh token associated with the current access token.
+ *
+ * @param $refreshToken
+ */
+ public function setRefreshToken($refreshToken)
+ {
+ $this->refreshToken = $refreshToken;
+ }
+
+ /**
+ * The expiration of the last received token.
+ *
+ * @return array
+ */
+ public function getLastReceivedToken()
+ {
+ if ($token = $this->getAccessToken()) {
+ return [
+ 'access_token' => $token,
+ 'expires_at' => $this->getExpiresAt(),
+ ];
+ }
+
+ return null;
+ }
+
+ /**
+ * @todo handle uri as array
+ *
+ * @param string $uri
+ *
+ * @return null|UriInterface
+ */
+ private function coerceUri($uri)
+ {
+ if (is_null($uri)) {
+ return;
+ }
+
+ return Psr7\uri_for($uri);
+ }
+
+ /**
+ * @param string $idToken
+ * @param string|array|null $publicKey
+ * @param array $allowedAlgs
+ *
+ * @return object
+ */
+ private function jwtDecode($idToken, $publicKey, $allowedAlgs)
+ {
+ if (class_exists('Firebase\JWT\JWT')) {
+ return \Firebase\JWT\JWT::decode($idToken, $publicKey, $allowedAlgs);
+ }
+
+ return \JWT::decode($idToken, $publicKey, $allowedAlgs);
+ }
+
+ private function jwtEncode($assertion, $signingKey, $signingAlgorithm)
+ {
+ if (class_exists('Firebase\JWT\JWT')) {
+ return \Firebase\JWT\JWT::encode($assertion, $signingKey,
+ $signingAlgorithm);
+ }
+
+ return \JWT::encode($assertion, $signingKey, $signingAlgorithm);
+ }
+
+ /**
+ * Determines if the URI is absolute based on its scheme and host or path
+ * (RFC 3986).
+ *
+ * @param string $uri
+ *
+ * @return bool
+ */
+ private function isAbsoluteUri($uri)
+ {
+ $uri = $this->coerceUri($uri);
+
+ return $uri->getScheme() && ($uri->getHost() || $uri->getPath());
+ }
+
+ /**
+ * @param array $params
+ *
+ * @return array
+ */
+ private function addClientCredentials(&$params)
+ {
+ $clientId = $this->getClientId();
+ $clientSecret = $this->getClientSecret();
+
+ if ($clientId && $clientSecret) {
+ $params['client_id'] = $clientId;
+ $params['client_secret'] = $clientSecret;
+ }
+
+ return $params;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Subscriber/AuthTokenSubscriber.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Subscriber/AuthTokenSubscriber.php
new file mode 100644
index 00000000..0df8027f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Subscriber/AuthTokenSubscriber.php
@@ -0,0 +1,118 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Subscriber;
+
+use Google\Auth\FetchAuthTokenInterface;
+use GuzzleHttp\Event\BeforeEvent;
+use GuzzleHttp\Event\RequestEvents;
+use GuzzleHttp\Event\SubscriberInterface;
+
+/**
+ * AuthTokenSubscriber is a Guzzle Subscriber that adds an Authorization header
+ * provided by an object implementing FetchAuthTokenInterface.
+ *
+ * The FetchAuthTokenInterface#fetchAuthToken is used to obtain a hash; one of
+ * the values value in that hash is added as the authorization header.
+ *
+ * Requests will be accessed with the authorization header:
+ *
+ * 'Authorization' 'Bearer <value of auth_token>'
+ */
+class AuthTokenSubscriber implements SubscriberInterface
+{
+ /**
+ * @var callable
+ */
+ private $httpHandler;
+
+ /**
+ * @var FetchAuthTokenInterface
+ */
+ private $fetcher;
+
+ /**
+ * @var callable
+ */
+ private $tokenCallback;
+
+ /**
+ * Creates a new AuthTokenSubscriber.
+ *
+ * @param FetchAuthTokenInterface $fetcher is used to fetch the auth token
+ * @param callable $httpHandler (optional) http client to fetch the token.
+ * @param callable $tokenCallback (optional) function to be called when a new token is fetched.
+ */
+ public function __construct(
+ FetchAuthTokenInterface $fetcher,
+ callable $httpHandler = null,
+ callable $tokenCallback = null
+ ) {
+ $this->fetcher = $fetcher;
+ $this->httpHandler = $httpHandler;
+ $this->tokenCallback = $tokenCallback;
+ }
+
+ /**
+ * @return array
+ */
+ public function getEvents()
+ {
+ return ['before' => ['onBefore', RequestEvents::SIGN_REQUEST]];
+ }
+
+ /**
+ * Updates the request with an Authorization header when auth is 'fetched_auth_token'.
+ *
+ * use GuzzleHttp\Client;
+ * use Google\Auth\OAuth2;
+ * use Google\Auth\Subscriber\AuthTokenSubscriber;
+ *
+ * $config = [..<oauth config param>.];
+ * $oauth2 = new OAuth2($config)
+ * $subscriber = new AuthTokenSubscriber($oauth2);
+ *
+ * $client = new Client([
+ * 'base_url' => 'https://www.googleapis.com/taskqueue/v1beta2/projects/',
+ * 'defaults' => ['auth' => 'google_auth']
+ * ]);
+ * $client->getEmitter()->attach($subscriber);
+ *
+ * $res = $client->get('myproject/taskqueues/myqueue');
+ *
+ * @param BeforeEvent $event
+ */
+ public function onBefore(BeforeEvent $event)
+ {
+ // Requests using "auth"="google_auth" will be authorized.
+ $request = $event->getRequest();
+ if ($request->getConfig()['auth'] != 'google_auth') {
+ return;
+ }
+
+ // Fetch the auth token.
+ $auth_tokens = $this->fetcher->fetchAuthToken($this->httpHandler);
+ if (array_key_exists('access_token', $auth_tokens)) {
+ $request->setHeader('Authorization', 'Bearer ' . $auth_tokens['access_token']);
+
+ // notify the callback if applicable
+ if ($this->tokenCallback) {
+ call_user_func($this->tokenCallback, $this->fetcher->getCacheKey(), $auth_tokens['access_token']);
+ }
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Subscriber/ScopedAccessTokenSubscriber.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Subscriber/ScopedAccessTokenSubscriber.php
new file mode 100644
index 00000000..ad744ead
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Subscriber/ScopedAccessTokenSubscriber.php
@@ -0,0 +1,177 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Subscriber;
+
+use Google\Auth\CacheTrait;
+use GuzzleHttp\Event\BeforeEvent;
+use GuzzleHttp\Event\RequestEvents;
+use GuzzleHttp\Event\SubscriberInterface;
+use Psr\Cache\CacheItemPoolInterface;
+
+/**
+ * ScopedAccessTokenSubscriber is a Guzzle Subscriber that adds an Authorization
+ * header provided by a closure.
+ *
+ * The closure returns an access token, taking the scope, either a single
+ * string or an array of strings, as its value. If provided, a cache will be
+ * used to preserve the access token for a given lifetime.
+ *
+ * Requests will be accessed with the authorization header:
+ *
+ * 'Authorization' 'Bearer <access token obtained from the closure>'
+ */
+class ScopedAccessTokenSubscriber implements SubscriberInterface
+{
+ use CacheTrait;
+
+ const DEFAULT_CACHE_LIFETIME = 1500;
+
+ /**
+ * @var CacheItemPoolInterface
+ */
+ private $cache;
+
+ /**
+ * @var callable The access token generator function
+ */
+ private $tokenFunc;
+
+ /**
+ * @var array|string The scopes used to generate the token
+ */
+ private $scopes;
+
+ /**
+ * @var array
+ */
+ private $cacheConfig;
+
+ /**
+ * Creates a new ScopedAccessTokenSubscriber.
+ *
+ * @param callable $tokenFunc a token generator function
+ * @param array|string $scopes the token authentication scopes
+ * @param array $cacheConfig configuration for the cache when it's present
+ * @param CacheItemPoolInterface $cache an implementation of CacheItemPoolInterface
+ */
+ public function __construct(
+ callable $tokenFunc,
+ $scopes,
+ array $cacheConfig = null,
+ CacheItemPoolInterface $cache = null
+ ) {
+ $this->tokenFunc = $tokenFunc;
+ if (!(is_string($scopes) || is_array($scopes))) {
+ throw new \InvalidArgumentException(
+ 'wants scope should be string or array');
+ }
+ $this->scopes = $scopes;
+
+ if (!is_null($cache)) {
+ $this->cache = $cache;
+ $this->cacheConfig = array_merge([
+ 'lifetime' => self::DEFAULT_CACHE_LIFETIME,
+ 'prefix' => '',
+ ], $cacheConfig);
+ }
+ }
+
+ /**
+ * @return array
+ */
+ public function getEvents()
+ {
+ return ['before' => ['onBefore', RequestEvents::SIGN_REQUEST]];
+ }
+
+ /**
+ * Updates the request with an Authorization header when auth is 'scoped'.
+ *
+ * E.g this could be used to authenticate using the AppEngine
+ * AppIdentityService.
+ *
+ * use google\appengine\api\app_identity\AppIdentityService;
+ * use Google\Auth\Subscriber\ScopedAccessTokenSubscriber;
+ * use GuzzleHttp\Client;
+ *
+ * $scope = 'https://www.googleapis.com/auth/taskqueue'
+ * $subscriber = new ScopedAccessToken(
+ * 'AppIdentityService::getAccessToken',
+ * $scope,
+ * ['prefix' => 'Google\Auth\ScopedAccessToken::'],
+ * $cache = new Memcache()
+ * );
+ *
+ * $client = new Client([
+ * 'base_url' => 'https://www.googleapis.com/taskqueue/v1beta2/projects/',
+ * 'defaults' => ['auth' => 'scoped']
+ * ]);
+ * $client->getEmitter()->attach($subscriber);
+ *
+ * $res = $client->get('myproject/taskqueues/myqueue');
+ *
+ * @param BeforeEvent $event
+ */
+ public function onBefore(BeforeEvent $event)
+ {
+ // Requests using "auth"="scoped" will be authorized.
+ $request = $event->getRequest();
+ if ($request->getConfig()['auth'] != 'scoped') {
+ return;
+ }
+ $auth_header = 'Bearer ' . $this->fetchToken();
+ $request->setHeader('Authorization', $auth_header);
+ }
+
+ /**
+ * @return string
+ */
+ private function getCacheKey()
+ {
+ $key = null;
+
+ if (is_string($this->scopes)) {
+ $key .= $this->scopes;
+ } elseif (is_array($this->scopes)) {
+ $key .= implode(':', $this->scopes);
+ }
+
+ return $key;
+ }
+
+ /**
+ * Determine if token is available in the cache, if not call tokenFunc to
+ * fetch it.
+ *
+ * @return string
+ */
+ private function fetchToken()
+ {
+ $cacheKey = $this->getCacheKey();
+ $cached = $this->getCachedValue($cacheKey);
+
+ if (!empty($cached)) {
+ return $cached;
+ }
+
+ $token = call_user_func($this->tokenFunc, $this->scopes);
+ $this->setCachedValue($cacheKey, $token);
+
+ return $token;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Subscriber/SimpleSubscriber.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Subscriber/SimpleSubscriber.php
new file mode 100644
index 00000000..0c567313
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/src/Subscriber/SimpleSubscriber.php
@@ -0,0 +1,90 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Subscriber;
+
+use GuzzleHttp\Event\BeforeEvent;
+use GuzzleHttp\Event\RequestEvents;
+use GuzzleHttp\Event\SubscriberInterface;
+
+/**
+ * SimpleSubscriber is a Guzzle Subscriber that implements Google's Simple API
+ * access.
+ *
+ * Requests are accessed using the Simple API access developer key.
+ */
+class SimpleSubscriber implements SubscriberInterface
+{
+ /**
+ * @var array
+ */
+ private $config;
+
+ /**
+ * Create a new Simple plugin.
+ *
+ * The configuration array expects one option
+ * - key: required, otherwise InvalidArgumentException is thrown
+ *
+ * @param array $config Configuration array
+ */
+ public function __construct(array $config)
+ {
+ if (!isset($config['key'])) {
+ throw new \InvalidArgumentException('requires a key to have been set');
+ }
+
+ $this->config = array_merge([], $config);
+ }
+
+ /**
+ * @return array
+ */
+ public function getEvents()
+ {
+ return ['before' => ['onBefore', RequestEvents::SIGN_REQUEST]];
+ }
+
+ /**
+ * Updates the request query with the developer key if auth is set to simple.
+ *
+ * use Google\Auth\Subscriber\SimpleSubscriber;
+ * use GuzzleHttp\Client;
+ *
+ * $my_key = 'is not the same as yours';
+ * $subscriber = new SimpleSubscriber(['key' => $my_key]);
+ *
+ * $client = new Client([
+ * 'base_url' => 'https://www.googleapis.com/discovery/v1/',
+ * 'defaults' => ['auth' => 'simple']
+ * ]);
+ * $client->getEmitter()->attach($subscriber);
+ *
+ * $res = $client->get('drive/v2/rest');
+ *
+ * @param BeforeEvent $event
+ */
+ public function onBefore(BeforeEvent $event)
+ {
+ // Requests using "auth"="simple" with the developer key.
+ $request = $event->getRequest();
+ if ($request->getConfig()['auth'] != 'simple') {
+ return;
+ }
+ $request->getQuery()->overwriteWith($this->config);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/ApplicationDefaultCredentialsTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/ApplicationDefaultCredentialsTest.php
new file mode 100644
index 00000000..b7cda07e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/ApplicationDefaultCredentialsTest.php
@@ -0,0 +1,299 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\ApplicationDefaultCredentials;
+use Google\Auth\Credentials\GCECredentials;
+use Google\Auth\Credentials\ServiceAccountCredentials;
+use GuzzleHttp\Psr7;
+
+class ADCGetTest extends \PHPUnit_Framework_TestCase
+{
+ private $originalHome;
+
+ protected function setUp()
+ {
+ $this->originalHome = getenv('HOME');
+ }
+
+ protected function tearDown()
+ {
+ if ($this->originalHome != getenv('HOME')) {
+ putenv('HOME=' . $this->originalHome);
+ }
+ putenv(ServiceAccountCredentials::ENV_VAR); // removes it from
+ }
+
+ /**
+ * @expectedException DomainException
+ */
+ public function testIsFailsEnvSpecifiesNonExistentFile()
+ {
+ $keyFile = __DIR__ . '/fixtures' . '/does-not-exist-private.json';
+ putenv(ServiceAccountCredentials::ENV_VAR . '=' . $keyFile);
+ ApplicationDefaultCredentials::getCredentials('a scope');
+ }
+
+ public function testLoadsOKIfEnvSpecifiedIsValid()
+ {
+ $keyFile = __DIR__ . '/fixtures' . '/private.json';
+ putenv(ServiceAccountCredentials::ENV_VAR . '=' . $keyFile);
+ $this->assertNotNull(
+ ApplicationDefaultCredentials::getCredentials('a scope')
+ );
+ }
+
+ public function testLoadsDefaultFileIfPresentAndEnvVarIsNotSet()
+ {
+ putenv('HOME=' . __DIR__ . '/fixtures');
+ $this->assertNotNull(
+ ApplicationDefaultCredentials::getCredentials('a scope')
+ );
+ }
+
+ /**
+ * @expectedException DomainException
+ */
+ public function testFailsIfNotOnGceAndNoDefaultFileFound()
+ {
+ putenv('HOME=' . __DIR__ . '/not_exist_fixtures');
+ // simulate not being GCE by return 500
+ $httpHandler = getHandler([
+ buildResponse(500),
+ ]);
+
+ ApplicationDefaultCredentials::getCredentials('a scope', $httpHandler);
+ }
+
+ public function testSuccedsIfNoDefaultFilesButIsOnGCE()
+ {
+ $wantedTokens = [
+ 'access_token' => '1/abdef1234567890',
+ 'expires_in' => '57',
+ 'token_type' => 'Bearer',
+ ];
+ $jsonTokens = json_encode($wantedTokens);
+
+ // simulate the response from GCE.
+ $httpHandler = getHandler([
+ buildResponse(200, [GCECredentials::FLAVOR_HEADER => 'Google']),
+ buildResponse(200, [], Psr7\stream_for($jsonTokens)),
+ ]);
+
+ $this->assertNotNull(
+ ApplicationDefaultCredentials::getCredentials('a scope', $httpHandler)
+ );
+ }
+}
+
+class ADCGetMiddlewareTest extends \PHPUnit_Framework_TestCase
+{
+ private $originalHome;
+
+ protected function setUp()
+ {
+ $this->originalHome = getenv('HOME');
+ }
+
+ protected function tearDown()
+ {
+ if ($this->originalHome != getenv('HOME')) {
+ putenv('HOME=' . $this->originalHome);
+ }
+ putenv(ServiceAccountCredentials::ENV_VAR); // removes it if assigned
+ }
+
+ /**
+ * @expectedException DomainException
+ */
+ public function testIsFailsEnvSpecifiesNonExistentFile()
+ {
+ $keyFile = __DIR__ . '/fixtures' . '/does-not-exist-private.json';
+ putenv(ServiceAccountCredentials::ENV_VAR . '=' . $keyFile);
+ ApplicationDefaultCredentials::getMiddleware('a scope');
+ }
+
+ public function testLoadsOKIfEnvSpecifiedIsValid()
+ {
+ $keyFile = __DIR__ . '/fixtures' . '/private.json';
+ putenv(ServiceAccountCredentials::ENV_VAR . '=' . $keyFile);
+ $this->assertNotNull(ApplicationDefaultCredentials::getMiddleware('a scope'));
+ }
+
+ public function testLoadsDefaultFileIfPresentAndEnvVarIsNotSet()
+ {
+ putenv('HOME=' . __DIR__ . '/fixtures');
+ $this->assertNotNull(ApplicationDefaultCredentials::getMiddleware('a scope'));
+ }
+
+ /**
+ * @expectedException DomainException
+ */
+ public function testFailsIfNotOnGceAndNoDefaultFileFound()
+ {
+ putenv('HOME=' . __DIR__ . '/not_exist_fixtures');
+
+ // simulate not being GCE by return 500
+ $httpHandler = getHandler([
+ buildResponse(500),
+ ]);
+
+ ApplicationDefaultCredentials::getMiddleware('a scope', $httpHandler);
+ }
+
+ public function testSuccedsIfNoDefaultFilesButIsOnGCE()
+ {
+ $wantedTokens = [
+ 'access_token' => '1/abdef1234567890',
+ 'expires_in' => '57',
+ 'token_type' => 'Bearer',
+ ];
+ $jsonTokens = json_encode($wantedTokens);
+
+ // simulate the response from GCE.
+ $httpHandler = getHandler([
+ buildResponse(200, [GCECredentials::FLAVOR_HEADER => 'Google']),
+ buildResponse(200, [], Psr7\stream_for($jsonTokens)),
+ ]);
+
+ $this->assertNotNull(ApplicationDefaultCredentials::getMiddleware('a scope', $httpHandler));
+ }
+}
+
+class ADCGetCredentialsAppEngineTest extends BaseTest
+{
+ private $originalHome;
+ private $originalServiceAccount;
+
+ protected function setUp()
+ {
+ // set home to be somewhere else
+ $this->originalHome = getenv('HOME');
+ putenv('HOME=' . __DIR__ . '/not_exist_fixtures');
+
+ // remove service account path
+ $this->originalServiceAccount = getenv(ServiceAccountCredentials::ENV_VAR);
+ putenv(ServiceAccountCredentials::ENV_VAR);
+ }
+
+ protected function tearDown()
+ {
+ // removes it if assigned
+ putenv('HOME=' . $this->originalHome);
+ putenv(ServiceAccountCredentials::ENV_VAR . '=' . $this->originalServiceAccount);
+ }
+
+ public function testAppEngineStandard()
+ {
+ $_SERVER['SERVER_SOFTWARE'] = 'Google App Engine';
+ $this->assertInstanceOf(
+ 'Google\Auth\Credentials\AppIdentityCredentials',
+ ApplicationDefaultCredentials::getCredentials()
+ );
+ }
+
+ public function testAppEngineFlexible()
+ {
+ $_SERVER['SERVER_SOFTWARE'] = 'Google App Engine';
+ $_SERVER['GAE_VM'] = 'true';
+ $httpHandler = getHandler([
+ buildResponse(200, [GCECredentials::FLAVOR_HEADER => 'Google']),
+ ]);
+ $this->assertInstanceOf(
+ 'Google\Auth\Credentials\GCECredentials',
+ ApplicationDefaultCredentials::getCredentials(null, $httpHandler)
+ );
+ }
+}
+
+// @todo consider a way to DRY this and above class up
+class ADCGetSubscriberTest extends BaseTest
+{
+ private $originalHome;
+
+ protected function setUp()
+ {
+ $this->onlyGuzzle5();
+
+ $this->originalHome = getenv('HOME');
+ }
+
+ protected function tearDown()
+ {
+ if ($this->originalHome != getenv('HOME')) {
+ putenv('HOME=' . $this->originalHome);
+ }
+ putenv(ServiceAccountCredentials::ENV_VAR); // removes it if assigned
+ }
+
+ /**
+ * @expectedException DomainException
+ */
+ public function testIsFailsEnvSpecifiesNonExistentFile()
+ {
+ $keyFile = __DIR__ . '/fixtures' . '/does-not-exist-private.json';
+ putenv(ServiceAccountCredentials::ENV_VAR . '=' . $keyFile);
+ ApplicationDefaultCredentials::getSubscriber('a scope');
+ }
+
+ public function testLoadsOKIfEnvSpecifiedIsValid()
+ {
+ $keyFile = __DIR__ . '/fixtures' . '/private.json';
+ putenv(ServiceAccountCredentials::ENV_VAR . '=' . $keyFile);
+ $this->assertNotNull(ApplicationDefaultCredentials::getSubscriber('a scope'));
+ }
+
+ public function testLoadsDefaultFileIfPresentAndEnvVarIsNotSet()
+ {
+ putenv('HOME=' . __DIR__ . '/fixtures');
+ $this->assertNotNull(ApplicationDefaultCredentials::getSubscriber('a scope'));
+ }
+
+ /**
+ * @expectedException DomainException
+ */
+ public function testFailsIfNotOnGceAndNoDefaultFileFound()
+ {
+ putenv('HOME=' . __DIR__ . '/not_exist_fixtures');
+
+ // simulate not being GCE by return 500
+ $httpHandler = getHandler([
+ buildResponse(500),
+ ]);
+
+ ApplicationDefaultCredentials::getSubscriber('a scope', $httpHandler);
+ }
+
+ public function testSuccedsIfNoDefaultFilesButIsOnGCE()
+ {
+ $wantedTokens = [
+ 'access_token' => '1/abdef1234567890',
+ 'expires_in' => '57',
+ 'token_type' => 'Bearer',
+ ];
+ $jsonTokens = json_encode($wantedTokens);
+
+ // simulate the response from GCE.
+ $httpHandler = getHandler([
+ buildResponse(200, [GCECredentials::FLAVOR_HEADER => 'Google']),
+ buildResponse(200, [], Psr7\stream_for($jsonTokens)),
+ ]);
+
+ $this->assertNotNull(ApplicationDefaultCredentials::getSubscriber('a scope', $httpHandler));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/BaseTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/BaseTest.php
new file mode 100644
index 00000000..b005e341
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/BaseTest.php
@@ -0,0 +1,32 @@
+<?php
+
+namespace Google\Auth\tests;
+
+use GuzzleHttp\ClientInterface;
+
+abstract class BaseTest extends \PHPUnit_Framework_TestCase
+{
+ public function onlyGuzzle6()
+ {
+ $version = ClientInterface::VERSION;
+ if ('6' !== $version[0]) {
+ $this->markTestSkipped('Guzzle 6 only');
+ }
+ }
+
+ public function onlyGuzzle5()
+ {
+ $version = ClientInterface::VERSION;
+ if ('5' !== $version[0]) {
+ $this->markTestSkipped('Guzzle 5 only');
+ }
+ }
+
+ /**
+ * @see Google\Auth\$this->getValidKeyName
+ */
+ public function getValidKeyName($key)
+ {
+ return preg_replace('|[^a-zA-Z0-9_\.! ]|', '', $key);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Cache/ItemTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Cache/ItemTest.php
new file mode 100644
index 00000000..2d00f36c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Cache/ItemTest.php
@@ -0,0 +1,125 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\Cache\Item;
+
+class ItemTest extends \PHPUnit_Framework_TestCase
+{
+ public function getItem($key)
+ {
+ return new Item($key);
+ }
+
+ public function testGetsKey()
+ {
+ $key = 'item';
+
+ $this->assertEquals($key, $this->getItem($key)->getKey());
+ }
+
+ public function testGetsNull()
+ {
+ $item = $this->getItem('item');
+
+ $this->assertNull($item->get());
+ $this->assertFalse($item->isHit());
+ }
+
+ public function testGetsValue()
+ {
+ $value = 'value';
+ $item = $this->getItem('item');
+ $item->set($value);
+
+ $this->assertEquals('value', $item->get());
+ }
+
+ /**
+ * @dataProvider values
+ */
+ public function testSetsValue($value)
+ {
+ $item = $this->getItem('item');
+ $item->set($value);
+
+ $this->assertEquals($value, $item->get());
+ }
+
+ public function values()
+ {
+ return [
+ [1],
+ [1.5],
+ [true],
+ [null],
+ [new \DateTime()],
+ [['test']],
+ ['value']
+ ];
+ }
+
+ public function testIsHit()
+ {
+ $item = $this->getItem('item');
+
+ $this->assertFalse($item->isHit());
+
+ $item->set('value');
+
+ $this->assertTrue($item->isHit());
+ }
+
+ public function testExpiresAt()
+ {
+ $item = $this->getItem('item');
+ $item->set('value');
+ $item->expiresAt(new \DateTime('now + 1 hour'));
+
+ $this->assertTrue($item->isHit());
+
+ $item->expiresAt(null);
+
+ $this->assertTrue($item->isHit());
+
+ $item->expiresAt(new \DateTime('yesterday'));
+
+ $this->assertFalse($item->isHit());
+ }
+
+ public function testExpiresAfter()
+ {
+ $item = $this->getItem('item');
+ $item->set('value');
+ $item->expiresAfter(30);
+
+ $this->assertTrue($item->isHit());
+
+ $item->expiresAfter(0);
+
+ $this->assertFalse($item->isHit());
+
+ $item->expiresAfter(new \DateInterval('PT30S'));
+
+ $this->assertTrue($item->isHit());
+
+ $item->expiresAfter(null);
+
+ $this->assertTrue($item->isHit());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Cache/MemoryCacheItemPoolTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Cache/MemoryCacheItemPoolTest.php
new file mode 100644
index 00000000..950d614a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Cache/MemoryCacheItemPoolTest.php
@@ -0,0 +1,189 @@
+<?php
+/*
+ * Copyright 2016 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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\Cache\MemoryCacheItemPool;
+use Psr\Cache\InvalidArgumentException;
+
+class MemoryCacheItemPoolTest extends \PHPUnit_Framework_TestCase
+{
+ private $pool;
+
+ public function setUp()
+ {
+ $this->pool = new MemoryCacheItemPool();
+ }
+
+ public function saveItem($key, $value)
+ {
+ $item = $this->pool->getItem($key);
+ $item->set($value);
+ $this->assertTrue($this->pool->save($item));
+
+ return $item;
+ }
+
+ public function testGetsFreshItem()
+ {
+ $item = $this->pool->getItem('item');
+
+ $this->assertInstanceOf('Google\Auth\Cache\Item', $item);
+ $this->assertNull($item->get());
+ $this->assertFalse($item->isHit());
+ }
+
+ public function testGetsExistingItem()
+ {
+ $key = 'item';
+ $value = 'value';
+ $this->saveItem($key, $value);
+ $item = $this->pool->getItem($key);
+
+ $this->assertInstanceOf('Google\Auth\Cache\Item', $item);
+ $this->assertEquals($value, $item->get());
+ $this->assertTrue($item->isHit());
+ }
+
+ public function testGetsMultipleItems()
+ {
+ $keys = ['item1', 'item2'];
+ $items = $this->pool->getItems($keys);
+
+ $this->assertEquals($keys, array_keys($items));
+ $this->assertContainsOnlyInstancesOf('Google\Auth\Cache\Item', $items);
+ }
+
+ public function testHasItem()
+ {
+ $existsKey = 'does-exist';
+ $this->saveItem($existsKey, 'value');
+
+ $this->assertTrue($this->pool->hasItem($existsKey));
+ $this->assertFalse($this->pool->hasItem('does-not-exist'));
+ }
+
+ public function testClear()
+ {
+ $key = 'item';
+ $this->saveItem($key, 'value');
+
+ $this->assertTrue($this->pool->hasItem($key));
+ $this->assertTrue($this->pool->clear());
+ $this->assertFalse($this->pool->hasItem($key));
+ }
+
+ public function testDeletesItem()
+ {
+ $key = 'item';
+ $this->saveItem($key, 'value');
+
+ $this->assertTrue($this->pool->deleteItem($key));
+ $this->assertFalse($this->pool->hasItem($key));
+ }
+
+ public function testDeletesItems()
+ {
+ $keys = ['item1', 'item2'];
+
+ foreach ($keys as $key) {
+ $this->saveItem($key, 'value');
+ }
+
+ $this->assertTrue($this->pool->deleteItems($keys));
+ $this->assertFalse($this->pool->hasItem($keys[0]));
+ $this->assertFalse($this->pool->hasItem($keys[1]));
+ }
+
+ public function testDoesNotDeleteItemsWithInvalidKey()
+ {
+ $keys = ['item1', '{item2}', 'item3'];
+ $value = 'value';
+ $this->saveItem($keys[0], $value);
+ $this->saveItem($keys[2], $value);
+
+ try {
+ $this->pool->deleteItems($keys);
+ } catch (InvalidArgumentException $ex) {
+ // continue execution
+ }
+
+ $this->assertTrue($this->pool->hasItem($keys[0]));
+ $this->assertTrue($this->pool->hasItem($keys[2]));
+ }
+
+ public function testSavesItem()
+ {
+ $key = 'item';
+ $this->saveItem($key, 'value');
+
+ $this->assertTrue($this->pool->hasItem($key));
+ }
+
+ public function testSavesDeferredItem()
+ {
+ $item = $this->pool->getItem('item');
+ $this->assertTrue($this->pool->saveDeferred($item));
+ }
+
+ public function testCommitsDeferredItems()
+ {
+ $keys = ['item1', 'item2'];
+
+ foreach ($keys as $key) {
+ $item = $this->pool->getItem($key);
+ $item->set('value');
+ $this->pool->saveDeferred($item);
+ }
+
+ $this->assertTrue($this->pool->commit());
+ $this->assertTrue($this->pool->hasItem($keys[0]));
+ $this->assertTrue($this->pool->hasItem($keys[1]));
+ }
+
+ /**
+ * @expectedException \Psr\Cache\InvalidArgumentException
+ * @dataProvider invalidKeys
+ */
+ public function testCheckInvalidKeys($key)
+ {
+ $this->pool->getItem($key);
+ $this->pool->getItems([$key]);
+ $this->pool->hasItem($key);
+ $this->pool->deleteItem($key);
+ $this->pool->deleteItems([$key]);
+ }
+
+ public function invalidKeys()
+ {
+ return [
+ [1],
+ [true],
+ [null],
+ [new \DateTime()],
+ ['{'],
+ ['}'],
+ ['('],
+ [')'],
+ ['/'],
+ ['\\'],
+ ['@'],
+ [':'],
+ [[]]
+ ];
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/CacheTraitTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/CacheTraitTest.php
new file mode 100644
index 00000000..6946cdbe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/CacheTraitTest.php
@@ -0,0 +1,151 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\CacheTrait;
+
+class CacheTraitTest extends \PHPUnit_Framework_TestCase
+{
+ private $mockFetcher;
+ private $mockCacheItem;
+ private $mockCache;
+
+ public function setUp()
+ {
+ $this->mockFetcher =
+ $this
+ ->getMockBuilder('Google\Auth\FetchAuthTokenInterface')
+ ->getMock();
+ $this->mockCacheItem =
+ $this
+ ->getMockBuilder('Psr\Cache\CacheItemInterface')
+ ->getMock();
+ $this->mockCache =
+ $this
+ ->getMockBuilder('Psr\Cache\CacheItemPoolInterface')
+ ->getMock();
+ }
+
+ public function testSuccessfullyPullsFromCache()
+ {
+ $expectedValue = '1234';
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('get')
+ ->will($this->returnValue($expectedValue));
+ $this->mockCache
+ ->expects($this->once())
+ ->method('getItem')
+ ->will($this->returnValue($this->mockCacheItem));
+
+ $implementation = new CacheTraitImplementation([
+ 'cache' => $this->mockCache,
+ ]);
+
+ $cachedValue = $implementation->gCachedValue();
+ $this->assertEquals($expectedValue, $cachedValue);
+ }
+
+ public function testFailsPullFromCacheWithNoCache()
+ {
+ $implementation = new CacheTraitImplementation();
+
+ $cachedValue = $implementation->gCachedValue();
+ $this->assertEquals(null, $cachedValue);
+ }
+
+ public function testFailsPullFromCacheWithoutKey()
+ {
+ $implementation = new CacheTraitImplementation([
+ 'cache' => $this->mockCache,
+ 'key' => null,
+ ]);
+
+ $cachedValue = $implementation->gCachedValue();
+ }
+
+ public function testSuccessfullySetsToCache()
+ {
+ $value = '1234';
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('set')
+ ->with($value);
+ $this->mockCache
+ ->expects($this->once())
+ ->method('getItem')
+ ->with($this->equalTo('key'))
+ ->will($this->returnValue($this->mockCacheItem));
+
+ $implementation = new CacheTraitImplementation([
+ 'cache' => $this->mockCache,
+ ]);
+
+ $implementation->sCachedValue($value);
+ }
+
+ public function testFailsSetToCacheWithNoCache()
+ {
+ $implementation = new CacheTraitImplementation();
+
+ $implementation->sCachedValue('1234');
+
+ $cachedValue = $implementation->sCachedValue('1234');
+ $this->assertNull($cachedValue);
+ }
+
+ public function testFailsSetToCacheWithoutKey()
+ {
+ $implementation = new CacheTraitImplementation([
+ 'cache' => $this->mockCache,
+ 'key' => null,
+ ]);
+
+ $cachedValue = $implementation->sCachedValue('1234');
+ $this->assertNull($cachedValue);
+ }
+}
+
+class CacheTraitImplementation
+{
+ use CacheTrait;
+
+ private $cache;
+ private $cacheConfig;
+
+ public function __construct(array $config = [])
+ {
+ $this->key = array_key_exists('key', $config) ? $config['key'] : 'key';
+ $this->cache = isset($config['cache']) ? $config['cache'] : null;
+ $this->cacheConfig = [
+ 'prefix' => '',
+ 'lifetime' => 1000,
+ ];
+ }
+
+ // allows us to keep trait methods private
+ public function gCachedValue()
+ {
+ return $this->getCachedValue($this->key);
+ }
+
+ public function sCachedValue($v)
+ {
+ $this->setCachedValue($this->key, $v);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/AppIndentityCredentialsTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/AppIndentityCredentialsTest.php
new file mode 100644
index 00000000..a47db8d3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/AppIndentityCredentialsTest.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Tests;
+
+use google\appengine\api\app_identity\AppIdentityService;
+// included from tests\mocks\AppIdentityService.php
+use Google\Auth\Credentials\AppIdentityCredentials;
+
+class AppIdentityCredentialsOnAppEngineTest extends \PHPUnit_Framework_TestCase
+{
+ public function testIsFalseByDefault()
+ {
+ $this->assertFalse(AppIdentityCredentials::onAppEngine());
+ }
+
+ public function testIsTrueWhenServerSoftwareIsGoogleAppEngine()
+ {
+ $_SERVER['SERVER_SOFTWARE'] = 'Google App Engine';
+ $this->assertTrue(AppIdentityCredentials::onAppEngine());
+ }
+}
+
+class AppIdentityCredentialsGetCacheKeyTest extends \PHPUnit_Framework_TestCase
+{
+ public function testShouldBeEmpty()
+ {
+ $g = new AppIdentityCredentials();
+ $this->assertEmpty($g->getCacheKey());
+ }
+}
+
+class AppIdentityCredentialsFetchAuthTokenTest extends \PHPUnit_Framework_TestCase
+{
+ public function testShouldBeEmptyIfNotOnAppEngine()
+ {
+ $g = new AppIdentityCredentials();
+ $this->assertEquals(array(), $g->fetchAuthToken());
+ }
+
+ /* @expectedException */
+ public function testThrowsExceptionIfClassDoesntExist()
+ {
+ $_SERVER['SERVER_SOFTWARE'] = 'Google App Engine';
+ $g = new AppIdentityCredentials();
+ }
+
+ public function testReturnsExpectedToken()
+ {
+ // include the mock AppIdentityService class
+ require_once __DIR__ . '/../mocks/AppIdentityService.php';
+
+ $wantedToken = [
+ 'access_token' => '1/abdef1234567890',
+ 'expires_in' => '57',
+ 'token_type' => 'Bearer',
+ ];
+
+ AppIdentityService::$accessToken = $wantedToken;
+
+ $_SERVER['SERVER_SOFTWARE'] = 'Google App Engine';
+
+ $g = new AppIdentityCredentials();
+ $this->assertEquals($wantedToken, $g->fetchAuthToken());
+ }
+
+ public function testScopeIsAlwaysArray()
+ {
+ // include the mock AppIdentityService class
+ require_once __DIR__ . '/../mocks/AppIdentityService.php';
+
+ $scope1 = ['scopeA', 'scopeB'];
+ $scope2 = 'scopeA scopeB';
+ $scope3 = 'scopeA';
+
+ $_SERVER['SERVER_SOFTWARE'] = 'Google App Engine';
+
+ $g = new AppIdentityCredentials($scope1);
+ $g->fetchAuthToken();
+ $this->assertEquals($scope1, AppIdentityService::$scope);
+
+ $g = new AppIdentityCredentials($scope2);
+ $g->fetchAuthToken();
+ $this->assertEquals(explode(' ', $scope2), AppIdentityService::$scope);
+
+ $g = new AppIdentityCredentials($scope3);
+ $g->fetchAuthToken();
+ $this->assertEquals([$scope3], AppIdentityService::$scope);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/GCECredentialsTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/GCECredentialsTest.php
new file mode 100644
index 00000000..fe2bb25a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/GCECredentialsTest.php
@@ -0,0 +1,124 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\Credentials\GCECredentials;
+use GuzzleHttp\Psr7;
+use GuzzleHttp\Psr7\Response;
+
+class GCECredentialsOnGCETest extends \PHPUnit_Framework_TestCase
+{
+ public function testIsFalseOnClientErrorStatus()
+ {
+ $httpHandler = getHandler([
+ buildResponse(400),
+ ]);
+ $this->assertFalse(GCECredentials::onGCE($httpHandler));
+ }
+
+ public function testIsFalseOnServerErrorStatus()
+ {
+ $httpHandler = getHandler([
+ buildResponse(500),
+ ]);
+ $this->assertFalse(GCECredentials::onGCE($httpHandler));
+ }
+
+ public function testIsFalseOnOkStatusWithoutExpectedHeader()
+ {
+ $httpHandler = getHandler([
+ buildResponse(200),
+ ]);
+ $this->assertFalse(GCECredentials::onGCE($httpHandler));
+ }
+
+ public function testIsOkIfGoogleIsTheFlavor()
+ {
+ $httpHandler = getHandler([
+ buildResponse(200, [GCECredentials::FLAVOR_HEADER => 'Google']),
+ ]);
+ $this->assertTrue(GCECredentials::onGCE($httpHandler));
+ }
+}
+
+class GCECredentialsOnAppEngineFlexibleTest extends \PHPUnit_Framework_TestCase
+{
+ public function testIsFalseByDefault()
+ {
+ $this->assertFalse(GCECredentials::onAppEngineFlexible());
+ }
+
+ public function testIsTrueWhenGaeVmIsTrue()
+ {
+ $_SERVER['GAE_VM'] = 'true';
+ $this->assertTrue(GCECredentials::onAppEngineFlexible());
+ }
+}
+
+class GCECredentialsGetCacheKeyTest extends \PHPUnit_Framework_TestCase
+{
+ public function testShouldNotBeEmpty()
+ {
+ $g = new GCECredentials();
+ $this->assertNotEmpty($g->getCacheKey());
+ }
+}
+
+class GCECredentialsFetchAuthTokenTest extends \PHPUnit_Framework_TestCase
+{
+ public function testShouldBeEmptyIfNotOnGCE()
+ {
+ $httpHandler = getHandler([
+ buildResponse(500),
+ ]);
+ $g = new GCECredentials();
+ $this->assertEquals(array(), $g->fetchAuthToken($httpHandler));
+ }
+
+ /**
+ * @expectedException Exception
+ * @expectedExceptionMessage Invalid JSON response
+ */
+ public function testShouldFailIfResponseIsNotJson()
+ {
+ $notJson = '{"foo": , this is cannot be passed as json" "bar"}';
+ $httpHandler = getHandler([
+ buildResponse(200, [GCECredentials::FLAVOR_HEADER => 'Google']),
+ buildResponse(200, [], $notJson),
+ ]);
+ $g = new GCECredentials();
+ $g->fetchAuthToken($httpHandler);
+ }
+
+ public function testShouldReturnTokenInfo()
+ {
+ $wantedTokens = [
+ 'access_token' => '1/abdef1234567890',
+ 'expires_in' => '57',
+ 'token_type' => 'Bearer',
+ ];
+ $jsonTokens = json_encode($wantedTokens);
+ $httpHandler = getHandler([
+ buildResponse(200, [GCECredentials::FLAVOR_HEADER => 'Google']),
+ buildResponse(200, [], Psr7\stream_for($jsonTokens)),
+ ]);
+ $g = new GCECredentials();
+ $this->assertEquals($wantedTokens, $g->fetchAuthToken($httpHandler));
+ $this->assertEquals(time() + 57, $g->getLastReceivedToken()['expires_at']);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/IAMCredentialsTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/IAMCredentialsTest.php
new file mode 100644
index 00000000..fc9c8650
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/IAMCredentialsTest.php
@@ -0,0 +1,83 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\Credentials\IAMCredentials;
+
+class IAMConstructorTest extends \PHPUnit_Framework_TestCase
+{
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testShouldFailIfSelectorIsNotString()
+ {
+ $notAString = new \stdClass();
+ $iam = new IAMCredentials(
+ $notAString,
+ ''
+ );
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testShouldFailIfTokenIsNotString()
+ {
+ $notAString = new \stdClass();
+ $iam = new IAMCredentials(
+ '',
+ $notAString
+ );
+ }
+
+ public function testInitializeSuccess()
+ {
+ $this->assertNotNull(
+ new IAMCredentials('iam-selector', 'iam-token')
+ );
+ }
+}
+
+class IAMUpdateMetadataCallbackTest extends \PHPUnit_Framework_TestCase
+{
+ public function testUpdateMetadataFunc()
+ {
+ $selector = 'iam-selector';
+ $token = 'iam-token';
+ $iam = new IAMCredentials(
+ $selector,
+ $token
+ );
+
+ $update_metadata = $iam->getUpdateMetadataFunc();
+ $this->assertTrue(is_callable($update_metadata));
+
+ $actual_metadata = call_user_func($update_metadata,
+ $metadata = array('foo' => 'bar'));
+ $this->assertTrue(
+ isset($actual_metadata[IAMCredentials::SELECTOR_KEY]));
+ $this->assertEquals(
+ $actual_metadata[IAMCredentials::SELECTOR_KEY],
+ $selector);
+ $this->assertTrue(
+ isset($actual_metadata[IAMCredentials::TOKEN_KEY]));
+ $this->assertEquals(
+ $actual_metadata[IAMCredentials::TOKEN_KEY],
+ $token);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/ServiceAccountCredentialsTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/ServiceAccountCredentialsTest.php
new file mode 100644
index 00000000..d7066dac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/ServiceAccountCredentialsTest.php
@@ -0,0 +1,508 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\ApplicationDefaultCredentials;
+use Google\Auth\Credentials\ServiceAccountCredentials;
+use Google\Auth\Credentials\ServiceAccountJwtAccessCredentials;
+use Google\Auth\CredentialsLoader;
+use Google\Auth\OAuth2;
+use GuzzleHttp\Psr7;
+
+// Creates a standard JSON auth object for testing.
+function createTestJson()
+{
+ return [
+ 'private_key_id' => 'key123',
+ 'private_key' => 'privatekey',
+ 'client_email' => 'test@example.com',
+ 'client_id' => 'client123',
+ 'type' => 'service_account',
+ ];
+}
+
+class SACGetCacheKeyTest extends \PHPUnit_Framework_TestCase
+{
+ public function testShouldBeTheSameAsOAuth2WithTheSameScope()
+ {
+ $testJson = createTestJson();
+ $scope = ['scope/1', 'scope/2'];
+ $sa = new ServiceAccountCredentials(
+ $scope,
+ $testJson);
+ $o = new OAuth2(['scope' => $scope]);
+ $this->assertSame(
+ $testJson['client_email'] . ':' . $o->getCacheKey(),
+ $sa->getCacheKey()
+ );
+ }
+
+ public function testShouldBeTheSameAsOAuth2WithTheSameScopeWithSub()
+ {
+ $testJson = createTestJson();
+ $scope = ['scope/1', 'scope/2'];
+ $sub = 'sub123';
+ $sa = new ServiceAccountCredentials(
+ $scope,
+ $testJson,
+ $sub);
+ $o = new OAuth2(['scope' => $scope]);
+ $this->assertSame(
+ $testJson['client_email'] . ':' . $o->getCacheKey() . ':' . $sub,
+ $sa->getCacheKey()
+ );
+ }
+
+ public function testShouldBeTheSameAsOAuth2WithTheSameScopeWithSubAddedLater()
+ {
+ $testJson = createTestJson();
+ $scope = ['scope/1', 'scope/2'];
+ $sub = 'sub123';
+ $sa = new ServiceAccountCredentials(
+ $scope,
+ $testJson,
+ null);
+ $sa->setSub($sub);
+
+ $o = new OAuth2(['scope' => $scope]);
+ $this->assertSame(
+ $testJson['client_email'] . ':' . $o->getCacheKey() . ':' . $sub,
+ $sa->getCacheKey()
+ );
+ }
+}
+
+class SACConstructorTest extends \PHPUnit_Framework_TestCase
+{
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testShouldFailIfScopeIsNotAValidType()
+ {
+ $testJson = createTestJson();
+ $notAnArrayOrString = new \stdClass();
+ $sa = new ServiceAccountCredentials(
+ $notAnArrayOrString,
+ $testJson
+ );
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testShouldFailIfJsonDoesNotHaveClientEmail()
+ {
+ $testJson = createTestJson();
+ unset($testJson['client_email']);
+ $scope = ['scope/1', 'scope/2'];
+ $sa = new ServiceAccountCredentials(
+ $scope,
+ $testJson
+ );
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testShouldFailIfJsonDoesNotHavePrivateKey()
+ {
+ $testJson = createTestJson();
+ unset($testJson['private_key']);
+ $scope = ['scope/1', 'scope/2'];
+ $sa = new ServiceAccountCredentials(
+ $scope,
+ $testJson
+ );
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testFailsToInitalizeFromANonExistentFile()
+ {
+ $keyFile = __DIR__ . '/../fixtures' . '/does-not-exist-private.json';
+ new ServiceAccountCredentials('scope/1', $keyFile);
+ }
+
+ public function testInitalizeFromAFile()
+ {
+ $keyFile = __DIR__ . '/../fixtures' . '/private.json';
+ $this->assertNotNull(
+ new ServiceAccountCredentials('scope/1', $keyFile)
+ );
+ }
+}
+
+class SACFromEnvTest extends \PHPUnit_Framework_TestCase
+{
+ protected function tearDown()
+ {
+ putenv(ServiceAccountCredentials::ENV_VAR); // removes it from
+ }
+
+ public function testIsNullIfEnvVarIsNotSet()
+ {
+ $this->assertNull(ServiceAccountCredentials::fromEnv());
+ }
+
+ /**
+ * @expectedException DomainException
+ */
+ public function testFailsIfEnvSpecifiesNonExistentFile()
+ {
+ $keyFile = __DIR__ . '/../fixtures' . '/does-not-exist-private.json';
+ putenv(ServiceAccountCredentials::ENV_VAR . '=' . $keyFile);
+ ApplicationDefaultCredentials::getCredentials('a scope');
+ }
+
+ public function testSucceedIfFileExists()
+ {
+ $keyFile = __DIR__ . '/../fixtures' . '/private.json';
+ putenv(ServiceAccountCredentials::ENV_VAR . '=' . $keyFile);
+ $this->assertNotNull(ApplicationDefaultCredentials::getCredentials('a scope'));
+ }
+}
+
+class SACFromWellKnownFileTest extends \PHPUnit_Framework_TestCase
+{
+ private $originalHome;
+
+ protected function setUp()
+ {
+ $this->originalHome = getenv('HOME');
+ }
+
+ protected function tearDown()
+ {
+ if ($this->originalHome != getenv('HOME')) {
+ putenv('HOME=' . $this->originalHome);
+ }
+ }
+
+ public function testIsNullIfFileDoesNotExist()
+ {
+ putenv('HOME=' . __DIR__ . '/../not_exists_fixtures');
+ $this->assertNull(
+ ServiceAccountCredentials::fromWellKnownFile()
+ );
+ }
+
+ public function testSucceedIfFileIsPresent()
+ {
+ putenv('HOME=' . __DIR__ . '/../fixtures');
+ $this->assertNotNull(
+ ApplicationDefaultCredentials::getCredentials('a scope')
+ );
+ }
+}
+
+class SACFetchAuthTokenTest extends \PHPUnit_Framework_TestCase
+{
+ private $privateKey;
+
+ public function setUp()
+ {
+ $this->privateKey =
+ file_get_contents(__DIR__ . '/../fixtures' . '/private.pem');
+ }
+
+ private function createTestJson()
+ {
+ $testJson = createTestJson();
+ $testJson['private_key'] = $this->privateKey;
+
+ return $testJson;
+ }
+
+ /**
+ * @expectedException GuzzleHttp\Exception\ClientException
+ */
+ public function testFailsOnClientErrors()
+ {
+ $testJson = $this->createTestJson();
+ $scope = ['scope/1', 'scope/2'];
+ $httpHandler = getHandler([
+ buildResponse(400),
+ ]);
+ $sa = new ServiceAccountCredentials(
+ $scope,
+ $testJson
+ );
+ $sa->fetchAuthToken($httpHandler);
+ }
+
+ /**
+ * @expectedException GuzzleHttp\Exception\ServerException
+ */
+ public function testFailsOnServerErrors()
+ {
+ $testJson = $this->createTestJson();
+ $scope = ['scope/1', 'scope/2'];
+ $httpHandler = getHandler([
+ buildResponse(500),
+ ]);
+ $sa = new ServiceAccountCredentials(
+ $scope,
+ $testJson
+ );
+ $sa->fetchAuthToken($httpHandler);
+ }
+
+ public function testCanFetchCredsOK()
+ {
+ $testJson = $this->createTestJson();
+ $testJsonText = json_encode($testJson);
+ $scope = ['scope/1', 'scope/2'];
+ $httpHandler = getHandler([
+ buildResponse(200, [], Psr7\stream_for($testJsonText)),
+ ]);
+ $sa = new ServiceAccountCredentials(
+ $scope,
+ $testJson
+ );
+ $tokens = $sa->fetchAuthToken($httpHandler);
+ $this->assertEquals($testJson, $tokens);
+ }
+
+ public function testUpdateMetadataFunc()
+ {
+ $testJson = $this->createTestJson();
+ $scope = ['scope/1', 'scope/2'];
+ $access_token = 'accessToken123';
+ $responseText = json_encode(array('access_token' => $access_token));
+ $httpHandler = getHandler([
+ buildResponse(200, [], Psr7\stream_for($responseText)),
+ ]);
+ $sa = new ServiceAccountCredentials(
+ $scope,
+ $testJson
+ );
+ $update_metadata = $sa->getUpdateMetadataFunc();
+ $this->assertTrue(is_callable($update_metadata));
+
+ $actual_metadata = call_user_func($update_metadata,
+ $metadata = array('foo' => 'bar'),
+ $authUri = null,
+ $httpHandler);
+ $this->assertTrue(
+ isset($actual_metadata[CredentialsLoader::AUTH_METADATA_KEY]));
+ $this->assertEquals(
+ $actual_metadata[CredentialsLoader::AUTH_METADATA_KEY],
+ array('Bearer ' . $access_token));
+ }
+}
+
+class SACJwtAccessTest extends \PHPUnit_Framework_TestCase
+{
+ private $privateKey;
+
+ public function setUp()
+ {
+ $this->privateKey =
+ file_get_contents(__DIR__ . '/../fixtures' . '/private.pem');
+ }
+
+ private function createTestJson()
+ {
+ $testJson = createTestJson();
+ $testJson['private_key'] = $this->privateKey;
+
+ return $testJson;
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testFailsOnMissingClientEmail()
+ {
+ $testJson = $this->createTestJson();
+ unset($testJson['client_email']);
+ $sa = new ServiceAccountJwtAccessCredentials(
+ $testJson
+ );
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testFailsOnMissingPrivateKey()
+ {
+ $testJson = $this->createTestJson();
+ unset($testJson['private_key']);
+ $sa = new ServiceAccountJwtAccessCredentials(
+ $testJson
+ );
+ }
+
+ public function testCanInitializeFromJson()
+ {
+ $testJson = $this->createTestJson();
+ $sa = new ServiceAccountJwtAccessCredentials(
+ $testJson
+ );
+ $this->assertNotNull($sa);
+ }
+
+ public function testNoOpOnFetchAuthToken()
+ {
+ $testJson = $this->createTestJson();
+ $sa = new ServiceAccountJwtAccessCredentials(
+ $testJson
+ );
+ $this->assertNotNull($sa);
+
+ $httpHandler = getHandler([
+ buildResponse(200),
+ ]);
+ $result = $sa->fetchAuthToken($httpHandler); // authUri has not been set
+ $this->assertNull($result);
+ }
+
+ public function testAuthUriIsNotSet()
+ {
+ $testJson = $this->createTestJson();
+ $sa = new ServiceAccountJwtAccessCredentials(
+ $testJson
+ );
+ $this->assertNotNull($sa);
+
+ $update_metadata = $sa->getUpdateMetadataFunc();
+ $this->assertTrue(is_callable($update_metadata));
+
+ $actual_metadata = call_user_func($update_metadata,
+ $metadata = array('foo' => 'bar'),
+ $authUri = null);
+ $this->assertTrue(
+ !isset($actual_metadata[CredentialsLoader::AUTH_METADATA_KEY]));
+ }
+
+ public function testUpdateMetadataFunc()
+ {
+ $testJson = $this->createTestJson();
+ $sa = new ServiceAccountJwtAccessCredentials(
+ $testJson
+ );
+ $this->assertNotNull($sa);
+
+ $update_metadata = $sa->getUpdateMetadataFunc();
+ $this->assertTrue(is_callable($update_metadata));
+
+ $actual_metadata = call_user_func($update_metadata,
+ $metadata = array('foo' => 'bar'),
+ $authUri = 'https://example.com/service');
+ $this->assertTrue(
+ isset($actual_metadata[CredentialsLoader::AUTH_METADATA_KEY]));
+
+ $authorization = $actual_metadata[CredentialsLoader::AUTH_METADATA_KEY];
+ $this->assertTrue(is_array($authorization));
+
+ $bearer_token = current($authorization);
+ $this->assertTrue(is_string($bearer_token));
+ $this->assertTrue(strpos($bearer_token, 'Bearer ') == 0);
+ $this->assertTrue(strlen($bearer_token) > 30);
+
+ $actual_metadata2 = call_user_func($update_metadata,
+ $metadata = array('foo' => 'bar'),
+ $authUri = 'https://example.com/anotherService');
+ $this->assertTrue(
+ isset($actual_metadata2[CredentialsLoader::AUTH_METADATA_KEY]));
+
+ $authorization2 = $actual_metadata2[CredentialsLoader::AUTH_METADATA_KEY];
+ $this->assertTrue(is_array($authorization2));
+
+ $bearer_token2 = current($authorization2);
+ $this->assertTrue(is_string($bearer_token2));
+ $this->assertTrue(strpos($bearer_token2, 'Bearer ') == 0);
+ $this->assertTrue(strlen($bearer_token2) > 30);
+ $this->assertTrue($bearer_token != $bearer_token2);
+ }
+}
+
+class SACJwtAccessComboTest extends \PHPUnit_Framework_TestCase
+{
+ private $privateKey;
+
+ public function setUp()
+ {
+ $this->privateKey =
+ file_get_contents(__DIR__ . '/../fixtures' . '/private.pem');
+ }
+
+ private function createTestJson()
+ {
+ $testJson = createTestJson();
+ $testJson['private_key'] = $this->privateKey;
+
+ return $testJson;
+ }
+
+ public function testNoScopeUseJwtAccess()
+ {
+ $testJson = $this->createTestJson();
+ // no scope, jwt access should be used, no outbound
+ // call should be made
+ $scope = null;
+ $sa = new ServiceAccountCredentials(
+ $scope,
+ $testJson
+ );
+ $this->assertNotNull($sa);
+
+ $update_metadata = $sa->getUpdateMetadataFunc();
+ $this->assertTrue(is_callable($update_metadata));
+
+ $actual_metadata = call_user_func($update_metadata,
+ $metadata = array('foo' => 'bar'),
+ $authUri = 'https://example.com/service');
+ $this->assertTrue(
+ isset($actual_metadata[CredentialsLoader::AUTH_METADATA_KEY]));
+
+ $authorization = $actual_metadata[CredentialsLoader::AUTH_METADATA_KEY];
+ $this->assertTrue(is_array($authorization));
+
+ $bearer_token = current($authorization);
+ $this->assertTrue(is_string($bearer_token));
+ $this->assertTrue(strpos($bearer_token, 'Bearer ') == 0);
+ $this->assertTrue(strlen($bearer_token) > 30);
+ }
+
+ public function testNoScopeAndNoAuthUri()
+ {
+ $testJson = $this->createTestJson();
+ // no scope, jwt access should be used, no outbound
+ // call should be made
+ $scope = null;
+ $sa = new ServiceAccountCredentials(
+ $scope,
+ $testJson
+ );
+ $this->assertNotNull($sa);
+
+ $update_metadata = $sa->getUpdateMetadataFunc();
+ $this->assertTrue(is_callable($update_metadata));
+
+ $actual_metadata = call_user_func($update_metadata,
+ $metadata = array('foo' => 'bar'),
+ $authUri = null);
+ // no access_token is added to the metadata hash
+ // but also, no error should be thrown
+ $this->assertTrue(is_array($actual_metadata));
+ $this->assertTrue(
+ !isset($actual_metadata[CredentialsLoader::AUTH_METADATA_KEY]));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/UserRefreshCredentialsTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/UserRefreshCredentialsTest.php
new file mode 100644
index 00000000..accf448d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Credentials/UserRefreshCredentialsTest.php
@@ -0,0 +1,228 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\ApplicationDefaultCredentials;
+use Google\Auth\Credentials\UserRefreshCredentials;
+use Google\Auth\OAuth2;
+use GuzzleHttp\Psr7;
+
+// Creates a standard JSON auth object for testing.
+function createURCTestJson()
+{
+ return [
+ 'client_id' => 'client123',
+ 'client_secret' => 'clientSecret123',
+ 'refresh_token' => 'refreshToken123',
+ 'type' => 'authorized_user',
+ ];
+}
+
+class URCGetCacheKeyTest extends \PHPUnit_Framework_TestCase
+{
+ public function testShouldBeTheSameAsOAuth2WithTheSameScope()
+ {
+ $testJson = createURCTestJson();
+ $scope = ['scope/1', 'scope/2'];
+ $sa = new UserRefreshCredentials(
+ $scope,
+ $testJson);
+ $o = new OAuth2(['scope' => $scope]);
+ $this->assertSame(
+ $testJson['client_id'] . ':' . $o->getCacheKey(),
+ $sa->getCacheKey()
+ );
+ }
+}
+
+class URCConstructorTest extends \PHPUnit_Framework_TestCase
+{
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testShouldFailIfScopeIsNotAValidType()
+ {
+ $testJson = createURCTestJson();
+ $notAnArrayOrString = new \stdClass();
+ $sa = new UserRefreshCredentials(
+ $notAnArrayOrString,
+ $testJson
+ );
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testShouldFailIfJsonDoesNotHaveClientSecret()
+ {
+ $testJson = createURCTestJson();
+ unset($testJson['client_secret']);
+ $scope = ['scope/1', 'scope/2'];
+ $sa = new UserRefreshCredentials(
+ $scope,
+ $testJson
+ );
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testShouldFailIfJsonDoesNotHaveRefreshToken()
+ {
+ $testJson = createURCTestJson();
+ unset($testJson['refresh_token']);
+ $scope = ['scope/1', 'scope/2'];
+ $sa = new UserRefreshCredentials(
+ $scope,
+ $testJson
+ );
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testFailsToInitalizeFromANonExistentFile()
+ {
+ $keyFile = __DIR__ . '/../fixtures' . '/does-not-exist-private.json';
+ new UserRefreshCredentials('scope/1', $keyFile);
+ }
+
+ public function testInitalizeFromAFile()
+ {
+ $keyFile = __DIR__ . '/../fixtures2' . '/private.json';
+ $this->assertNotNull(
+ new UserRefreshCredentials('scope/1', $keyFile)
+ );
+ }
+}
+
+class URCFromEnvTest extends \PHPUnit_Framework_TestCase
+{
+ protected function tearDown()
+ {
+ putenv(UserRefreshCredentials::ENV_VAR); // removes it from
+ }
+
+ public function testIsNullIfEnvVarIsNotSet()
+ {
+ $this->assertNull(UserRefreshCredentials::fromEnv('a scope'));
+ }
+
+ /**
+ * @expectedException DomainException
+ */
+ public function testFailsIfEnvSpecifiesNonExistentFile()
+ {
+ $keyFile = __DIR__ . '/../fixtures' . '/does-not-exist-private.json';
+ putenv(UserRefreshCredentials::ENV_VAR . '=' . $keyFile);
+ UserRefreshCredentials::fromEnv('a scope');
+ }
+
+ public function testSucceedIfFileExists()
+ {
+ $keyFile = __DIR__ . '/../fixtures2' . '/private.json';
+ putenv(UserRefreshCredentials::ENV_VAR . '=' . $keyFile);
+ $this->assertNotNull(ApplicationDefaultCredentials::getCredentials('a scope'));
+ }
+}
+
+class URCFromWellKnownFileTest extends \PHPUnit_Framework_TestCase
+{
+ private $originalHome;
+
+ protected function setUp()
+ {
+ $this->originalHome = getenv('HOME');
+ }
+
+ protected function tearDown()
+ {
+ if ($this->originalHome != getenv('HOME')) {
+ putenv('HOME=' . $this->originalHome);
+ }
+ }
+
+ public function testIsNullIfFileDoesNotExist()
+ {
+ putenv('HOME=' . __DIR__ . '/../not_exist_fixtures');
+ $this->assertNull(
+ UserRefreshCredentials::fromWellKnownFile('a scope')
+ );
+ }
+
+ public function testSucceedIfFileIsPresent()
+ {
+ putenv('HOME=' . __DIR__ . '/../fixtures2');
+ $this->assertNotNull(
+ ApplicationDefaultCredentials::getCredentials('a scope')
+ );
+ }
+}
+
+class URCFetchAuthTokenTest extends \PHPUnit_Framework_TestCase
+{
+ /**
+ * @expectedException GuzzleHttp\Exception\ClientException
+ */
+ public function testFailsOnClientErrors()
+ {
+ $testJson = createURCTestJson();
+ $scope = ['scope/1', 'scope/2'];
+ $httpHandler = getHandler([
+ buildResponse(400),
+ ]);
+ $sa = new UserRefreshCredentials(
+ $scope,
+ $testJson
+ );
+ $sa->fetchAuthToken($httpHandler);
+ }
+
+ /**
+ * @expectedException GuzzleHttp\Exception\ServerException
+ */
+ public function testFailsOnServerErrors()
+ {
+ $testJson = createURCTestJson();
+ $scope = ['scope/1', 'scope/2'];
+ $httpHandler = getHandler([
+ buildResponse(500),
+ ]);
+ $sa = new UserRefreshCredentials(
+ $scope,
+ $testJson
+ );
+ $sa->fetchAuthToken($httpHandler);
+ }
+
+ public function testCanFetchCredsOK()
+ {
+ $testJson = createURCTestJson();
+ $testJsonText = json_encode($testJson);
+ $scope = ['scope/1', 'scope/2'];
+ $httpHandler = getHandler([
+ buildResponse(200, [], Psr7\stream_for($testJsonText)),
+ ]);
+ $sa = new UserRefreshCredentials(
+ $scope,
+ $testJson
+ );
+ $tokens = $sa->fetchAuthToken($httpHandler);
+ $this->assertEquals($testJson, $tokens);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/FetchAuthTokenCacheTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/FetchAuthTokenCacheTest.php
new file mode 100644
index 00000000..359094a8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/FetchAuthTokenCacheTest.php
@@ -0,0 +1,146 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\tests;
+
+use Google\Auth\FetchAuthTokenCache;
+
+class FetchAuthTokenCacheTest extends BaseTest
+{
+ protected function setUp()
+ {
+ $this->mockFetcher =
+ $this
+ ->getMockBuilder('Google\Auth\FetchAuthTokenInterface')
+ ->getMock();
+ $this->mockCacheItem =
+ $this
+ ->getMockBuilder('Psr\Cache\CacheItemInterface')
+ ->getMock();
+ $this->mockCache =
+ $this
+ ->getMockBuilder('Psr\Cache\CacheItemPoolInterface')
+ ->getMock();
+ }
+
+ public function testUsesCachedAuthToken()
+ {
+ $cacheKey = 'myKey';
+ $cachedValue = '2/abcdef1234567890';
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('get')
+ ->will($this->returnValue($cachedValue));
+ $this->mockCache
+ ->expects($this->once())
+ ->method('getItem')
+ ->with($this->equalTo($cacheKey))
+ ->will($this->returnValue($this->mockCacheItem));
+ $this->mockFetcher
+ ->expects($this->never())
+ ->method('fetchAuthToken');
+ $this->mockFetcher
+ ->expects($this->any())
+ ->method('getCacheKey')
+ ->will($this->returnValue($cacheKey));
+
+ // Run the test.
+ $cachedFetcher = new FetchAuthTokenCache(
+ $this->mockFetcher,
+ null,
+ $this->mockCache
+ );
+ $accessToken = $cachedFetcher->fetchAuthToken();
+ $this->assertEquals($accessToken, ['access_token' => $cachedValue]);
+ }
+
+ public function testGetsCachedAuthTokenUsingCachePrefix()
+ {
+ $prefix = 'test_prefix_';
+ $cacheKey = 'myKey';
+ $cachedValue = '2/abcdef1234567890';
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('get')
+ ->will($this->returnValue($cachedValue));
+ $this->mockCache
+ ->expects($this->once())
+ ->method('getItem')
+ ->with($this->equalTo($prefix . $cacheKey))
+ ->will($this->returnValue($this->mockCacheItem));
+ $this->mockFetcher
+ ->expects($this->never())
+ ->method('fetchAuthToken');
+ $this->mockFetcher
+ ->expects($this->any())
+ ->method('getCacheKey')
+ ->will($this->returnValue($cacheKey));
+
+ // Run the test
+ $cachedFetcher = new FetchAuthTokenCache(
+ $this->mockFetcher,
+ ['prefix' => $prefix],
+ $this->mockCache
+ );
+ $accessToken = $cachedFetcher->fetchAuthToken();
+ $this->assertEquals($accessToken, ['access_token' => $cachedValue]);
+ }
+
+ public function testShouldSaveValueInCacheWithCacheOptions()
+ {
+ $prefix = 'test_prefix_';
+ $lifetime = '70707';
+ $cacheKey = 'myKey';
+ $token = '1/abcdef1234567890';
+ $authResult = ['access_token' => $token];
+ $this->mockCacheItem
+ ->expects($this->any())
+ ->method('get')
+ ->will($this->returnValue(null));
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('set')
+ ->with($this->equalTo($token))
+ ->will($this->returnValue(false));
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('expiresAfter')
+ ->with($this->equalTo($lifetime));
+ $this->mockCache
+ ->expects($this->exactly(2))
+ ->method('getItem')
+ ->with($this->equalTo($prefix . $cacheKey))
+ ->will($this->returnValue($this->mockCacheItem));
+ $this->mockFetcher
+ ->expects($this->any())
+ ->method('getCacheKey')
+ ->will($this->returnValue($cacheKey));
+ $this->mockFetcher
+ ->expects($this->once())
+ ->method('fetchAuthToken')
+ ->will($this->returnValue($authResult));
+
+ // Run the test
+ $cachedFetcher = new FetchAuthTokenCache(
+ $this->mockFetcher,
+ ['prefix' => $prefix, 'lifetime' => $lifetime],
+ $this->mockCache
+ );
+ $accessToken = $cachedFetcher->fetchAuthToken();
+ $this->assertEquals($accessToken, ['access_token' => $token]);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/FetchAuthTokenTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/FetchAuthTokenTest.php
new file mode 100644
index 00000000..8616993b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/FetchAuthTokenTest.php
@@ -0,0 +1,170 @@
+<?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.
+ */
+
+namespace Google\Auth\tests;
+
+use Google\Auth\Credentials\AppIdentityCredentials;
+use Google\Auth\Credentials\GCECredentials;
+use Google\Auth\Credentials\ServiceAccountCredentials;
+use Google\Auth\Credentials\ServiceAccountJwtAccessCredentials;
+use Google\Auth\Credentials\UserRefreshCredentials;
+use Google\Auth\CredentialsLoader;
+use Google\Auth\FetchAuthTokenInterface;
+use Google\Auth\OAuth2;
+
+class FetchAuthTokenTest extends BaseTest
+{
+ /** @dataProvider provideAuthTokenFetcher */
+ public function testGetLastReceivedToken(FetchAuthTokenInterface $fetcher)
+ {
+ $accessToken = $fetcher->getLastReceivedToken();
+
+ $this->assertNotNull($accessToken);
+ $this->assertArrayHasKey('access_token', $accessToken);
+ $this->assertArrayHasKey('expires_at', $accessToken);
+
+ $this->assertEquals('xyz', $accessToken['access_token']);
+ $this->assertEquals(strtotime('2001'), $accessToken['expires_at']);
+ }
+
+ public function provideAuthTokenFetcher()
+ {
+ $scopes = ['https://www.googleapis.com/auth/drive.readonly'];
+ $jsonPath = sprintf(
+ '%s/fixtures/.config/%s',
+ __DIR__,
+ CredentialsLoader::WELL_KNOWN_PATH
+ );
+ $jsonPath2 = sprintf(
+ '%s/fixtures2/.config/%s',
+ __DIR__,
+ CredentialsLoader::WELL_KNOWN_PATH
+ );
+
+ return [
+ [$this->getAppIdentityCredentials()],
+ [$this->getGCECredentials()],
+ [$this->getServiceAccountCredentials($scopes, $jsonPath)],
+ [$this->getServiceAccountJwtAccessCredentials($jsonPath)],
+ [$this->getUserRefreshCredentials($scopes, $jsonPath2)],
+ [$this->getOAuth2()],
+ ];
+ }
+
+ private function getAppIdentityCredentials()
+ {
+ $class = new \ReflectionClass(
+ 'Google\Auth\Credentials\AppIdentityCredentials'
+ );
+ $property = $class->getProperty('lastReceivedToken');
+ $property->setAccessible(true);
+
+ $credentials = new AppIdentityCredentials();
+ $property->setValue($credentials, [
+ 'access_token' => 'xyz',
+ 'expiration_time' => strtotime('2001'),
+ ]);
+
+ return $credentials;
+ }
+
+ private function getGCECredentials()
+ {
+ $class = new \ReflectionClass(
+ 'Google\Auth\Credentials\GCECredentials'
+ );
+ $property = $class->getProperty('lastReceivedToken');
+ $property->setAccessible(true);
+
+ $credentials = new GCECredentials();
+ $property->setValue($credentials, [
+ 'access_token' => 'xyz',
+ 'expires_at' => strtotime('2001'),
+ ]);
+
+ return $credentials;
+ }
+
+ private function getServiceAccountCredentials($scopes, $jsonPath)
+ {
+ $class = new \ReflectionClass(
+ 'Google\Auth\Credentials\ServiceAccountCredentials'
+ );
+ $property = $class->getProperty('auth');
+ $property->setAccessible(true);
+
+ $credentials = new ServiceAccountCredentials($scopes, $jsonPath);
+ $property->setValue($credentials, $this->getOAuth2Mock());
+
+ return $credentials;
+ }
+
+ private function getServiceAccountJwtAccessCredentials($jsonPath)
+ {
+ $class = new \ReflectionClass(
+ 'Google\Auth\Credentials\ServiceAccountJwtAccessCredentials'
+ );
+ $property = $class->getProperty('auth');
+ $property->setAccessible(true);
+
+ $credentials = new ServiceAccountJwtAccessCredentials($jsonPath);
+ $property->setValue($credentials, $this->getOAuth2Mock());
+
+ return $credentials;
+ }
+
+ private function getUserRefreshCredentials($scopes, $jsonPath)
+ {
+ $class = new \ReflectionClass(
+ 'Google\Auth\Credentials\UserRefreshCredentials'
+ );
+ $property = $class->getProperty('auth');
+ $property->setAccessible(true);
+
+ $credentials = new UserRefreshCredentials($scopes, $jsonPath);
+ $property->setValue($credentials, $this->getOAuth2Mock());
+
+ return $credentials;
+ }
+
+ private function getOAuth2()
+ {
+ $oauth = new OAuth2([
+ 'access_token' => 'xyz',
+ 'expires_at' => strtotime('2001'),
+ ]);
+
+ return $oauth;
+ }
+
+ private function getOAuth2Mock()
+ {
+ $mock = $this->getMockBuilder('Google\Auth\OAuth2')
+ ->disableOriginalConstructor()
+ ->getMock();
+
+ $mock
+ ->expects($this->once())
+ ->method('getLastReceivedToken')
+ ->will($this->returnValue([
+ 'access_token' => 'xyz',
+ 'expires_at' => strtotime('2001'),
+ ]));
+
+ return $mock;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/HttpHandler/Guzzle5HttpHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/HttpHandler/Guzzle5HttpHandlerTest.php
new file mode 100644
index 00000000..f8560b17
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/HttpHandler/Guzzle5HttpHandlerTest.php
@@ -0,0 +1,59 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\HttpHandler\Guzzle5HttpHandler;
+use GuzzleHttp\Message\Response;
+
+class Guzzle5HttpHandlerTest extends BaseTest
+{
+ public function setUp()
+ {
+ $this->onlyGuzzle5();
+
+ $this->mockPsr7Request =
+ $this
+ ->getMockBuilder('Psr\Http\Message\RequestInterface')
+ ->getMock();
+ $this->mockRequest =
+ $this
+ ->getMockBuilder('GuzzleHttp\Message\RequestInterface')
+ ->getMock();
+ $this->mockClient =
+ $this
+ ->getMockBuilder('GuzzleHttp\Client')
+ ->disableOriginalConstructor()
+ ->getMock();
+ }
+
+ public function testSuccessfullySendsRequest()
+ {
+ $this->mockClient
+ ->expects($this->any())
+ ->method('send')
+ ->will($this->returnValue(new Response(200)));
+ $this->mockClient
+ ->expects($this->any())
+ ->method('createRequest')
+ ->will($this->returnValue($this->mockRequest));
+
+ $handler = new Guzzle5HttpHandler($this->mockClient);
+ $response = $handler($this->mockPsr7Request);
+ $this->assertInstanceOf('Psr\Http\Message\ResponseInterface', $response);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/HttpHandler/Guzzle6HttpHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/HttpHandler/Guzzle6HttpHandlerTest.php
new file mode 100644
index 00000000..dfd90db9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/HttpHandler/Guzzle6HttpHandlerTest.php
@@ -0,0 +1,50 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\HttpHandler\Guzzle6HttpHandler;
+use GuzzleHttp\Psr7\Response;
+
+class Guzzle6HttpHandlerTest extends BaseTest
+{
+ public function setUp()
+ {
+ $this->onlyGuzzle6();
+
+ $this->mockRequest =
+ $this
+ ->getMockBuilder('Psr\Http\Message\RequestInterface')
+ ->getMock();
+ $this->mockClient =
+ $this
+ ->getMockBuilder('GuzzleHttp\Client')
+ ->getMock();
+ }
+
+ public function testSuccessfullySendsRequest()
+ {
+ $this->mockClient
+ ->expects($this->any())
+ ->method('send')
+ ->will($this->returnValue(new Response(200)));
+
+ $handler = new Guzzle6HttpHandler($this->mockClient);
+ $response = $handler($this->mockRequest);
+ $this->assertInstanceOf('Psr\Http\Message\ResponseInterface', $response);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/HttpHandler/HttpHandlerFactoryTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/HttpHandler/HttpHandlerFactoryTest.php
new file mode 100644
index 00000000..73126e60
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/HttpHandler/HttpHandlerFactoryTest.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\HttpHandler\HttpHandlerFactory;
+
+class HttpHandlerFactoryTest extends BaseTest
+{
+ public function testBuildsGuzzle5Handler()
+ {
+ $this->onlyGuzzle5();
+
+ $handler = HttpHandlerFactory::build();
+ $this->assertInstanceOf('Google\Auth\HttpHandler\Guzzle5HttpHandler', $handler);
+ }
+
+ public function testBuildsGuzzle6Handler()
+ {
+ $this->onlyGuzzle6();
+
+ $handler = HttpHandlerFactory::build();
+ $this->assertInstanceOf('Google\Auth\HttpHandler\Guzzle6HttpHandler', $handler);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Middleware/AuthTokenMiddlewareTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Middleware/AuthTokenMiddlewareTest.php
new file mode 100644
index 00000000..43f03705
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Middleware/AuthTokenMiddlewareTest.php
@@ -0,0 +1,336 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\FetchAuthTokenCache;
+use Google\Auth\Middleware\AuthTokenMiddleware;
+use GuzzleHttp\Handler\MockHandler;
+use GuzzleHttp\Psr7\Response;
+
+class AuthTokenMiddlewareTest extends BaseTest
+{
+ private $mockFetcher;
+ private $mockCacheItem;
+ private $mockCache;
+ private $mockRequest;
+
+ protected function setUp()
+ {
+ $this->onlyGuzzle6();
+
+ $this->mockFetcher =
+ $this
+ ->getMockBuilder('Google\Auth\FetchAuthTokenInterface')
+ ->getMock();
+ $this->mockCacheItem =
+ $this
+ ->getMockBuilder('Psr\Cache\CacheItemInterface')
+ ->getMock();
+ $this->mockCache =
+ $this
+ ->getMockBuilder('Psr\Cache\CacheItemPoolInterface')
+ ->getMock();
+ $this->mockRequest =
+ $this
+ ->getMockBuilder('GuzzleHttp\Psr7\Request')
+ ->disableOriginalConstructor()
+ ->getMock();
+ }
+
+ public function testOnlyTouchesWhenAuthConfigScoped()
+ {
+ $this->mockFetcher
+ ->expects($this->any())
+ ->method('fetchAuthToken')
+ ->will($this->returnValue([]));
+ $this->mockRequest
+ ->expects($this->never())
+ ->method('withHeader');
+
+ $middleware = new AuthTokenMiddleware($this->mockFetcher);
+ $mock = new MockHandler([new Response(200)]);
+ $callable = $middleware($mock);
+ $callable($this->mockRequest, ['auth' => 'not_google_auth']);
+ }
+
+ public function testAddsTheTokenAsAnAuthorizationHeader()
+ {
+ $authResult = ['access_token' => '1/abcdef1234567890'];
+ $this->mockFetcher
+ ->expects($this->once())
+ ->method('fetchAuthToken')
+ ->will($this->returnValue($authResult));
+ $this->mockRequest
+ ->expects($this->once())
+ ->method('withHeader')
+ ->with('Authorization', 'Bearer ' . $authResult['access_token'])
+ ->will($this->returnValue($this->mockRequest));
+
+ // Run the test.
+ $middleware = new AuthTokenMiddleware($this->mockFetcher);
+ $mock = new MockHandler([new Response(200)]);
+ $callable = $middleware($mock);
+ $callable($this->mockRequest, ['auth' => 'google_auth']);
+ }
+
+ public function testDoesNotAddAnAuthorizationHeaderOnNoAccessToken()
+ {
+ $authResult = ['not_access_token' => '1/abcdef1234567890'];
+ $this->mockFetcher
+ ->expects($this->once())
+ ->method('fetchAuthToken')
+ ->will($this->returnValue($authResult));
+ $this->mockRequest
+ ->expects($this->once())
+ ->method('withHeader')
+ ->with('Authorization', 'Bearer ')
+ ->will($this->returnValue($this->mockRequest));
+
+ // Run the test.
+ $middleware = new AuthTokenMiddleware($this->mockFetcher);
+ $mock = new MockHandler([new Response(200)]);
+ $callable = $middleware($mock);
+ $callable($this->mockRequest, ['auth' => 'google_auth']);
+ }
+
+ public function testUsesCachedAuthToken()
+ {
+ $cacheKey = 'myKey';
+ $cachedValue = '2/abcdef1234567890';
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('get')
+ ->will($this->returnValue($cachedValue));
+ $this->mockCache
+ ->expects($this->once())
+ ->method('getItem')
+ ->with($this->equalTo($cacheKey))
+ ->will($this->returnValue($this->mockCacheItem));
+ $this->mockFetcher
+ ->expects($this->never())
+ ->method('fetchAuthToken');
+ $this->mockFetcher
+ ->expects($this->any())
+ ->method('getCacheKey')
+ ->will($this->returnValue($cacheKey));
+ $this->mockRequest
+ ->expects($this->once())
+ ->method('withHeader')
+ ->with('Authorization', 'Bearer ' . $cachedValue)
+ ->will($this->returnValue($this->mockRequest));
+
+ // Run the test.
+ $cachedFetcher = new FetchAuthTokenCache(
+ $this->mockFetcher,
+ null,
+ $this->mockCache
+ );
+ $middleware = new AuthTokenMiddleware($cachedFetcher);
+ $mock = new MockHandler([new Response(200)]);
+ $callable = $middleware($mock);
+ $callable($this->mockRequest, ['auth' => 'google_auth']);
+ }
+
+ public function testGetsCachedAuthTokenUsingCacheOptions()
+ {
+ $prefix = 'test_prefix_';
+ $cacheKey = 'myKey';
+ $cachedValue = '2/abcdef1234567890';
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('get')
+ ->will($this->returnValue($cachedValue));
+ $this->mockCache
+ ->expects($this->once())
+ ->method('getItem')
+ ->with($this->equalTo($prefix . $cacheKey))
+ ->will($this->returnValue($this->mockCacheItem));
+ $this->mockFetcher
+ ->expects($this->never())
+ ->method('fetchAuthToken');
+ $this->mockFetcher
+ ->expects($this->any())
+ ->method('getCacheKey')
+ ->will($this->returnValue($cacheKey));
+ $this->mockRequest
+ ->expects($this->once())
+ ->method('withHeader')
+ ->with('Authorization', 'Bearer ' . $cachedValue)
+ ->will($this->returnValue($this->mockRequest));
+
+ // Run the test.
+ $cachedFetcher = new FetchAuthTokenCache(
+ $this->mockFetcher,
+ ['prefix' => $prefix],
+ $this->mockCache
+ );
+ $middleware = new AuthTokenMiddleware($cachedFetcher);
+ $mock = new MockHandler([new Response(200)]);
+ $callable = $middleware($mock);
+ $callable($this->mockRequest, ['auth' => 'google_auth']);
+ }
+
+ public function testShouldSaveValueInCacheWithSpecifiedPrefix()
+ {
+ $prefix = 'test_prefix_';
+ $lifetime = '70707';
+ $cacheKey = 'myKey';
+ $token = '1/abcdef1234567890';
+ $authResult = ['access_token' => $token];
+ $this->mockCacheItem
+ ->expects($this->any())
+ ->method('get')
+ ->will($this->returnValue(null));
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('set')
+ ->with($this->equalTo($token))
+ ->will($this->returnValue(false));
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('expiresAfter')
+ ->with($this->equalTo($lifetime));
+ $this->mockCache
+ ->expects($this->any())
+ ->method('getItem')
+ ->with($this->equalTo($prefix . $cacheKey))
+ ->will($this->returnValue($this->mockCacheItem));
+ $this->mockFetcher
+ ->expects($this->any())
+ ->method('getCacheKey')
+ ->will($this->returnValue($cacheKey));
+ $this->mockFetcher
+ ->expects($this->once())
+ ->method('fetchAuthToken')
+ ->will($this->returnValue($authResult));
+ $this->mockRequest
+ ->expects($this->once())
+ ->method('withHeader')
+ ->with('Authorization', 'Bearer ' . $token)
+ ->will($this->returnValue($this->mockRequest));
+
+ // Run the test.
+ $cachedFetcher = new FetchAuthTokenCache(
+ $this->mockFetcher,
+ ['prefix' => $prefix, 'lifetime' => $lifetime],
+ $this->mockCache
+ );
+ $middleware = new AuthTokenMiddleware($cachedFetcher);
+ $mock = new MockHandler([new Response(200)]);
+ $callable = $middleware($mock);
+ $callable($this->mockRequest, ['auth' => 'google_auth']);
+ }
+
+ /** @dataProvider provideShouldNotifyTokenCallback */
+ public function testShouldNotifyTokenCallback(callable $tokenCallback)
+ {
+ $prefix = 'test_prefix_';
+ $cacheKey = 'myKey';
+ $token = '1/abcdef1234567890';
+ $authResult = ['access_token' => $token];
+ $this->mockCacheItem
+ ->expects($this->any())
+ ->method('get')
+ ->will($this->returnValue(null));
+ $this->mockCache
+ ->expects($this->any())
+ ->method('getItem')
+ ->with($this->equalTo($prefix . $cacheKey))
+ ->will($this->returnValue($this->mockCacheItem));
+ $this->mockFetcher
+ ->expects($this->any())
+ ->method('getCacheKey')
+ ->will($this->returnValue($cacheKey));
+ $this->mockFetcher
+ ->expects($this->once())
+ ->method('fetchAuthToken')
+ ->will($this->returnValue($authResult));
+ $this->mockRequest
+ ->expects($this->once())
+ ->method('withHeader')
+ ->will($this->returnValue($this->mockRequest));
+
+ MiddlewareCallback::$expectedKey = $this->getValidKeyName($prefix . $cacheKey);
+ MiddlewareCallback::$expectedValue = $token;
+ MiddlewareCallback::$called = false;
+
+ // Run the test.
+ $cachedFetcher = new FetchAuthTokenCache(
+ $this->mockFetcher,
+ ['prefix' => $prefix],
+ $this->mockCache
+ );
+ $middleware = new AuthTokenMiddleware(
+ $cachedFetcher,
+ null,
+ $tokenCallback
+ );
+ $mock = new MockHandler([new Response(200)]);
+ $callable = $middleware($mock);
+ $callable($this->mockRequest, ['auth' => 'google_auth']);
+ $this->assertTrue(MiddlewareCallback::$called);
+ }
+
+ public function provideShouldNotifyTokenCallback()
+ {
+ MiddlewareCallback::$phpunit = $this;
+ $anonymousFunc = function ($key, $value) {
+ MiddlewareCallback::staticInvoke($key, $value);
+ };
+ return [
+ ['Google\Auth\Tests\MiddlewareCallbackFunction'],
+ ['Google\Auth\Tests\MiddlewareCallback::staticInvoke'],
+ [['Google\Auth\Tests\MiddlewareCallback', 'staticInvoke']],
+ [$anonymousFunc],
+ [[new MiddlewareCallback, 'staticInvoke']],
+ [[new MiddlewareCallback, 'methodInvoke']],
+ [new MiddlewareCallback],
+ ];
+ }
+}
+
+class MiddlewareCallback
+{
+ public static $phpunit;
+ public static $expectedKey;
+ public static $expectedValue;
+ public static $called = false;
+
+ public function __invoke($key, $value)
+ {
+ self::$phpunit->assertEquals(self::$expectedKey, $key);
+ self::$phpunit->assertEquals(self::$expectedValue, $value);
+ self::$called = true;
+ }
+
+ public function methodInvoke($key, $value)
+ {
+ return $this($key, $value);
+ }
+
+ public static function staticInvoke($key, $value)
+ {
+ $instance = new self();
+ return $instance($key, $value);
+ }
+}
+
+function MiddlewareCallbackFunction($key, $value)
+{
+ return MiddlewareCallback::staticInvoke($key, $value);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Middleware/ScopedAccessTokenMiddlewareTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Middleware/ScopedAccessTokenMiddlewareTest.php
new file mode 100644
index 00000000..27182e0c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Middleware/ScopedAccessTokenMiddlewareTest.php
@@ -0,0 +1,245 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\Middleware\ScopedAccessTokenMiddleware;
+use GuzzleHttp\Handler\MockHandler;
+use GuzzleHttp\Psr7\Response;
+
+class ScopedAccessTokenMiddlewareTest extends BaseTest
+{
+ const TEST_SCOPE = 'https://www.googleapis.com/auth/cloud-taskqueue';
+
+ private $mockCacheItem;
+ private $mockCache;
+ private $mockRequest;
+
+ protected function setUp()
+ {
+ $this->onlyGuzzle6();
+
+ $this->mockCacheItem =
+ $this
+ ->getMockBuilder('Psr\Cache\CacheItemInterface')
+ ->getMock();
+ $this->mockCache =
+ $this
+ ->getMockBuilder('Psr\Cache\CacheItemPoolInterface')
+ ->getMock();
+ $this->mockRequest =
+ $this
+ ->getMockBuilder('GuzzleHttp\Psr7\Request')
+ ->disableOriginalConstructor()
+ ->getMock();
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testRequiresScopeAsAStringOrArray()
+ {
+ $fakeAuthFunc = function ($unused_scopes) {
+ return '1/abcdef1234567890';
+ };
+ new ScopedAccessTokenMiddleware($fakeAuthFunc, new \stdClass());
+ }
+
+ public function testAddsTheTokenAsAnAuthorizationHeader()
+ {
+ $token = '1/abcdef1234567890';
+ $fakeAuthFunc = function ($unused_scopes) use ($token) {
+ return $token;
+ };
+ $this->mockRequest
+ ->expects($this->once())
+ ->method('withHeader')
+ ->with('Authorization', 'Bearer ' . $token)
+ ->will($this->returnValue($this->mockRequest));
+
+ // Run the test
+ $middleware = new ScopedAccessTokenMiddleware($fakeAuthFunc, self::TEST_SCOPE);
+ $mock = new MockHandler([new Response(200)]);
+ $callable = $middleware($mock);
+ $callable($this->mockRequest, ['auth' => 'scoped']);
+ }
+
+ public function testUsesCachedAuthToken()
+ {
+ $cachedValue = '2/abcdef1234567890';
+ $fakeAuthFunc = function ($unused_scopes) {
+ return '';
+ };
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('get')
+ ->will($this->returnValue($cachedValue));
+ $this->mockCache
+ ->expects($this->once())
+ ->method('getItem')
+ ->with($this->equalTo($this->getValidKeyName(self::TEST_SCOPE)))
+ ->will($this->returnValue($this->mockCacheItem));
+ $this->mockRequest
+ ->expects($this->once())
+ ->method('withHeader')
+ ->with('Authorization', 'Bearer ' . $cachedValue)
+ ->will($this->returnValue($this->mockRequest));
+
+ // Run the test
+ $middleware = new ScopedAccessTokenMiddleware(
+ $fakeAuthFunc,
+ self::TEST_SCOPE,
+ [],
+ $this->mockCache
+ );
+ $mock = new MockHandler([new Response(200)]);
+ $callable = $middleware($mock);
+ $callable($this->mockRequest, ['auth' => 'scoped']);
+ }
+
+ public function testGetsCachedAuthTokenUsingCachePrefix()
+ {
+ $prefix = 'test_prefix_';
+ $cachedValue = '2/abcdef1234567890';
+ $fakeAuthFunc = function ($unused_scopes) {
+ return '';
+ };
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('get')
+ ->will($this->returnValue($cachedValue));
+ $this->mockCache
+ ->expects($this->once())
+ ->method('getItem')
+ ->with($this->equalTo($prefix . $this->getValidKeyName(self::TEST_SCOPE)))
+ ->will($this->returnValue($this->mockCacheItem));
+ $this->mockRequest
+ ->expects($this->once())
+ ->method('withHeader')
+ ->with('Authorization', 'Bearer ' . $cachedValue)
+ ->will($this->returnValue($this->mockRequest));
+
+ // Run the test
+ $middleware = new ScopedAccessTokenMiddleware(
+ $fakeAuthFunc,
+ self::TEST_SCOPE,
+ ['prefix' => $prefix],
+ $this->mockCache
+ );
+ $mock = new MockHandler([new Response(200)]);
+ $callable = $middleware($mock);
+ $callable($this->mockRequest, ['auth' => 'scoped']);
+ }
+
+ public function testShouldSaveValueInCache()
+ {
+ $token = '2/abcdef1234567890';
+ $fakeAuthFunc = function ($unused_scopes) use ($token) {
+ return $token;
+ };
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('get')
+ ->will($this->returnValue(false));
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('set')
+ ->with($this->equalTo($token))
+ ->will($this->returnValue(false));
+ $this->mockCache
+ ->expects($this->exactly(2))
+ ->method('getItem')
+ ->with($this->equalTo($this->getValidKeyName(self::TEST_SCOPE)))
+ ->will($this->returnValue($this->mockCacheItem));
+ $this->mockRequest
+ ->expects($this->once())
+ ->method('withHeader')
+ ->with('Authorization', 'Bearer ' . $token)
+ ->will($this->returnValue($this->mockRequest));
+
+ // Run the test
+ $middleware = new ScopedAccessTokenMiddleware(
+ $fakeAuthFunc,
+ self::TEST_SCOPE,
+ [],
+ $this->mockCache
+ );
+ $mock = new MockHandler([new Response(200)]);
+ $callable = $middleware($mock);
+ $callable($this->mockRequest, ['auth' => 'scoped']);
+ }
+
+ public function testShouldSaveValueInCacheWithCacheOptions()
+ {
+ $token = '2/abcdef1234567890';
+ $prefix = 'test_prefix_';
+ $lifetime = '70707';
+ $fakeAuthFunc = function ($unused_scopes) use ($token) {
+ return $token;
+ };
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('get')
+ ->will($this->returnValue(false));
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('set')
+ ->with($this->equalTo($token))
+ ->will($this->returnValue(false));
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('expiresAfter')
+ ->with($this->equalTo($lifetime));
+ $this->mockCache
+ ->expects($this->exactly(2))
+ ->method('getItem')
+ ->with($this->equalTo($prefix . $this->getValidKeyName(self::TEST_SCOPE)))
+ ->will($this->returnValue($this->mockCacheItem));
+ $this->mockRequest
+ ->expects($this->once())
+ ->method('withHeader')
+ ->with('Authorization', 'Bearer ' . $token)
+ ->will($this->returnValue($this->mockRequest));
+
+ // Run the test
+ $middleware = new ScopedAccessTokenMiddleware(
+ $fakeAuthFunc,
+ self::TEST_SCOPE,
+ ['prefix' => $prefix, 'lifetime' => $lifetime],
+ $this->mockCache
+ );
+ $mock = new MockHandler([new Response(200)]);
+ $callable = $middleware($mock);
+ $callable($this->mockRequest, ['auth' => 'scoped']);
+ }
+
+ public function testOnlyTouchesWhenAuthConfigScoped()
+ {
+ $fakeAuthFunc = function ($unused_scopes) {
+ return '1/abcdef1234567890';
+ };
+ $this->mockRequest
+ ->expects($this->never())
+ ->method('withHeader');
+
+ // Run the test
+ $middleware = new ScopedAccessTokenMiddleware($fakeAuthFunc, self::TEST_SCOPE);
+ $mock = new MockHandler([new Response(200)]);
+ $callable = $middleware($mock);
+ $callable($this->mockRequest, ['auth' => 'not_scoped']);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Middleware/SimpleMiddlewareTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Middleware/SimpleMiddlewareTest.php
new file mode 100644
index 00000000..61807aa5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Middleware/SimpleMiddlewareTest.php
@@ -0,0 +1,41 @@
+<?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.
+ */
+
+namespace Google\Auth\Tests;
+
+class SimpleMiddlewareTest extends BaseTest
+{
+ private $mockRequest;
+
+ /**
+ * @todo finish
+ */
+ protected function setUp()
+ {
+ $this->onlyGuzzle6();
+
+ $this->mockRequest =
+ $this
+ ->getMockBuilder('GuzzleHttp\Psr7\Request')
+ ->disableOriginalConstructor()
+ ->getMock();
+ }
+
+ public function testTest()
+ {
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/OAuth2Test.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/OAuth2Test.php
new file mode 100644
index 00000000..59492986
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/OAuth2Test.php
@@ -0,0 +1,858 @@
+<?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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\OAuth2;
+use GuzzleHttp\Psr7;
+use GuzzleHttp\Psr7\Response;
+
+class OAuth2AuthorizationUriTest extends \PHPUnit_Framework_TestCase
+{
+ private $minimal = [
+ 'authorizationUri' => 'https://accounts.test.org/insecure/url',
+ 'redirectUri' => 'https://accounts.test.org/redirect/url',
+ 'clientId' => 'aClientID',
+ ];
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testIsNullIfAuthorizationUriIsNull()
+ {
+ $o = new OAuth2([]);
+ $this->assertNull($o->buildFullAuthorizationUri());
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testRequiresTheClientId()
+ {
+ $o = new OAuth2([
+ 'authorizationUri' => 'https://accounts.test.org/auth/url',
+ 'redirectUri' => 'https://accounts.test.org/redirect/url',
+ ]);
+ $o->buildFullAuthorizationUri();
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testRequiresTheRedirectUri()
+ {
+ $o = new OAuth2([
+ 'authorizationUri' => 'https://accounts.test.org/auth/url',
+ 'clientId' => 'aClientID',
+ ]);
+ $o->buildFullAuthorizationUri();
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testCannotHavePromptAndApprovalPrompt()
+ {
+ $o = new OAuth2([
+ 'authorizationUri' => 'https://accounts.test.org/auth/url',
+ 'clientId' => 'aClientID',
+ ]);
+ $o->buildFullAuthorizationUri([
+ 'approval_prompt' => 'an approval prompt',
+ 'prompt' => 'a prompt',
+ ]);
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testCannotHaveInsecureAuthorizationUri()
+ {
+ $o = new OAuth2([
+ 'authorizationUri' => 'http://accounts.test.org/insecure/url',
+ 'redirectUri' => 'https://accounts.test.org/redirect/url',
+ 'clientId' => 'aClientID',
+ ]);
+ $o->buildFullAuthorizationUri();
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testCannotHaveRelativeRedirectUri()
+ {
+ $o = new OAuth2([
+ 'authorizationUri' => 'http://accounts.test.org/insecure/url',
+ 'redirectUri' => '/redirect/url',
+ 'clientId' => 'aClientID',
+ ]);
+ $o->buildFullAuthorizationUri();
+ }
+
+ public function testHasDefaultXXXTypeParams()
+ {
+ $o = new OAuth2($this->minimal);
+ $q = Psr7\parse_query($o->buildFullAuthorizationUri()->getQuery());
+ $this->assertEquals('code', $q['response_type']);
+ $this->assertEquals('offline', $q['access_type']);
+ }
+
+ public function testCanBeUrlObject()
+ {
+ $config = array_merge($this->minimal, [
+ 'authorizationUri' => Psr7\uri_for('https://another/uri'),
+ ]);
+ $o = new OAuth2($config);
+ $this->assertEquals('/uri', $o->buildFullAuthorizationUri()->getPath());
+ }
+
+ public function testCanOverrideParams()
+ {
+ $overrides = [
+ 'access_type' => 'o_access_type',
+ 'client_id' => 'o_client_id',
+ 'redirect_uri' => 'o_redirect_uri',
+ 'response_type' => 'o_response_type',
+ 'state' => 'o_state',
+ ];
+ $config = array_merge($this->minimal, ['state' => 'the_state']);
+ $o = new OAuth2($config);
+ $q = Psr7\parse_query($o->buildFullAuthorizationUri($overrides)->getQuery());
+ $this->assertEquals('o_access_type', $q['access_type']);
+ $this->assertEquals('o_client_id', $q['client_id']);
+ $this->assertEquals('o_redirect_uri', $q['redirect_uri']);
+ $this->assertEquals('o_response_type', $q['response_type']);
+ $this->assertEquals('o_state', $q['state']);
+ }
+
+ public function testIncludesTheScope()
+ {
+ $with_strings = array_merge($this->minimal, ['scope' => 'scope1 scope2']);
+ $o = new OAuth2($with_strings);
+ $q = Psr7\parse_query($o->buildFullAuthorizationUri()->getQuery());
+ $this->assertEquals('scope1 scope2', $q['scope']);
+
+ $with_array = array_merge($this->minimal, [
+ 'scope' => ['scope1', 'scope2'],
+ ]);
+ $o = new OAuth2($with_array);
+ $q = Psr7\parse_query($o->buildFullAuthorizationUri()->getQuery());
+ $this->assertEquals('scope1 scope2', $q['scope']);
+ }
+
+ public function testRedirectUriPostmessageIsAllowed()
+ {
+ $o = new OAuth2([
+ 'authorizationUri' => 'https://accounts.test.org/insecure/url',
+ 'redirectUri' => 'postmessage',
+ 'clientId' => 'aClientID',
+ ]);
+ $this->assertEquals('postmessage', $o->getRedirectUri());
+ $url = $o->buildFullAuthorizationUri();
+ $parts = parse_url((string)$url);
+ parse_str($parts['query'], $query);
+ $this->assertArrayHasKey('redirect_uri', $query);
+ $this->assertEquals('postmessage', $query['redirect_uri']);
+ }
+}
+
+class OAuth2GrantTypeTest extends \PHPUnit_Framework_TestCase
+{
+ private $minimal = [
+ 'authorizationUri' => 'https://accounts.test.org/insecure/url',
+ 'redirectUri' => 'https://accounts.test.org/redirect/url',
+ 'clientId' => 'aClientID',
+ ];
+
+ public function testReturnsNullIfCannotBeInferred()
+ {
+ $o = new OAuth2($this->minimal);
+ $this->assertNull($o->getGrantType());
+ }
+
+ public function testInfersAuthorizationCode()
+ {
+ $o = new OAuth2($this->minimal);
+ $o->setCode('an auth code');
+ $this->assertEquals('authorization_code', $o->getGrantType());
+ }
+
+ public function testInfersRefreshToken()
+ {
+ $o = new OAuth2($this->minimal);
+ $o->setRefreshToken('a refresh token');
+ $this->assertEquals('refresh_token', $o->getGrantType());
+ }
+
+ public function testInfersPassword()
+ {
+ $o = new OAuth2($this->minimal);
+ $o->setPassword('a password');
+ $o->setUsername('a username');
+ $this->assertEquals('password', $o->getGrantType());
+ }
+
+ public function testInfersJwtBearer()
+ {
+ $o = new OAuth2($this->minimal);
+ $o->setIssuer('an issuer');
+ $o->setSigningKey('a key');
+ $this->assertEquals('urn:ietf:params:oauth:grant-type:jwt-bearer',
+ $o->getGrantType());
+ }
+
+ public function testSetsKnownTypes()
+ {
+ $o = new OAuth2($this->minimal);
+ foreach (OAuth2::$knownGrantTypes as $t) {
+ $o->setGrantType($t);
+ $this->assertEquals($t, $o->getGrantType());
+ }
+ }
+
+ public function testSetsUrlAsGrantType()
+ {
+ $o = new OAuth2($this->minimal);
+ $o->setGrantType('http://a/grant/url');
+ $this->assertEquals('http://a/grant/url', $o->getGrantType());
+ }
+}
+
+class OAuth2GetCacheKeyTest extends \PHPUnit_Framework_TestCase
+{
+ private $minimal = [
+ 'clientID' => 'aClientID',
+ ];
+
+ public function testIsNullWithNoScopes()
+ {
+ $o = new OAuth2($this->minimal);
+ $this->assertNull($o->getCacheKey());
+ }
+
+ public function testIsScopeIfSingleScope()
+ {
+ $o = new OAuth2($this->minimal);
+ $o->setScope('test/scope/1');
+ $this->assertEquals('test/scope/1', $o->getCacheKey());
+ }
+
+ public function testIsAllScopesWhenScopeIsArray()
+ {
+ $o = new OAuth2($this->minimal);
+ $o->setScope(['test/scope/1', 'test/scope/2']);
+ $this->assertEquals('test/scope/1:test/scope/2', $o->getCacheKey());
+ }
+}
+
+class OAuth2TimingTest extends \PHPUnit_Framework_TestCase
+{
+ private $minimal = [
+ 'authorizationUri' => 'https://accounts.test.org/insecure/url',
+ 'redirectUri' => 'https://accounts.test.org/redirect/url',
+ 'clientId' => 'aClientID',
+ ];
+
+ public function testIssuedAtDefaultsToNull()
+ {
+ $o = new OAuth2($this->minimal);
+ $this->assertNull($o->getIssuedAt());
+ }
+
+ public function testExpiresAtDefaultsToNull()
+ {
+ $o = new OAuth2($this->minimal);
+ $this->assertNull($o->getExpiresAt());
+ }
+
+ public function testExpiresInDefaultsToNull()
+ {
+ $o = new OAuth2($this->minimal);
+ $this->assertNull($o->getExpiresIn());
+ }
+
+ public function testSettingExpiresInSetsIssuedAt()
+ {
+ $o = new OAuth2($this->minimal);
+ $this->assertNull($o->getIssuedAt());
+ $aShortWhile = 5;
+ $o->setExpiresIn($aShortWhile);
+ $this->assertEquals($aShortWhile, $o->getExpiresIn());
+ $this->assertNotNull($o->getIssuedAt());
+ }
+
+ public function testSettingExpiresInSetsExpireAt()
+ {
+ $o = new OAuth2($this->minimal);
+ $this->assertNull($o->getExpiresAt());
+ $aShortWhile = 5;
+ $o->setExpiresIn($aShortWhile);
+ $this->assertNotNull($o->getExpiresAt());
+ $this->assertEquals($aShortWhile, $o->getExpiresAt() - $o->getIssuedAt());
+ }
+
+ public function testIsNotExpiredByDefault()
+ {
+ $o = new OAuth2($this->minimal);
+ $this->assertFalse($o->isExpired());
+ }
+
+ public function testIsNotExpiredIfExpiresAtIsOld()
+ {
+ $o = new OAuth2($this->minimal);
+ $o->setExpiresAt(time() - 2);
+ $this->assertTrue($o->isExpired());
+ }
+}
+
+class OAuth2GeneralTest extends \PHPUnit_Framework_TestCase
+{
+ private $minimal = [
+ 'authorizationUri' => 'https://accounts.test.org/insecure/url',
+ 'redirectUri' => 'https://accounts.test.org/redirect/url',
+ 'clientId' => 'aClientID',
+ ];
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testFailsOnUnknownSigningAlgorithm()
+ {
+ $o = new OAuth2($this->minimal);
+ $o->setSigningAlgorithm('this is definitely not an algorithm name');
+ }
+
+ public function testAllowsKnownSigningAlgorithms()
+ {
+ $o = new OAuth2($this->minimal);
+ foreach (OAuth2::$knownSigningAlgorithms as $a) {
+ $o->setSigningAlgorithm($a);
+ $this->assertEquals($a, $o->getSigningAlgorithm());
+ }
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testFailsOnRelativeRedirectUri()
+ {
+ $o = new OAuth2($this->minimal);
+ $o->setRedirectUri('/relative/url');
+ }
+
+ public function testAllowsUrnRedirectUri()
+ {
+ $urn = 'urn:ietf:wg:oauth:2.0:oob';
+ $o = new OAuth2($this->minimal);
+ $o->setRedirectUri($urn);
+ $this->assertEquals($urn, $o->getRedirectUri());
+ }
+}
+
+class OAuth2JwtTest extends \PHPUnit_Framework_TestCase
+{
+ private $signingMinimal = [
+ 'signingKey' => 'example_key',
+ 'signingAlgorithm' => 'HS256',
+ 'scope' => 'https://www.googleapis.com/auth/userinfo.profile',
+ 'issuer' => 'app@example.com',
+ 'audience' => 'accounts.google.com',
+ 'clientId' => 'aClientID',
+ ];
+
+ /**
+ * @expectedException DomainException
+ */
+ public function testFailsWithMissingAudience()
+ {
+ $testConfig = $this->signingMinimal;
+ unset($testConfig['audience']);
+ $o = new OAuth2($testConfig);
+ $o->toJwt();
+ }
+
+ /**
+ * @expectedException DomainException
+ */
+ public function testFailsWithMissingIssuer()
+ {
+ $testConfig = $this->signingMinimal;
+ unset($testConfig['issuer']);
+ $o = new OAuth2($testConfig);
+ $o->toJwt();
+ }
+
+ /**
+ */
+ public function testCanHaveNoScope()
+ {
+ $testConfig = $this->signingMinimal;
+ unset($testConfig['scope']);
+ $o = new OAuth2($testConfig);
+ $o->toJwt();
+ }
+
+ /**
+ * @expectedException DomainException
+ */
+ public function testFailsWithMissingSigningKey()
+ {
+ $testConfig = $this->signingMinimal;
+ unset($testConfig['signingKey']);
+ $o = new OAuth2($testConfig);
+ $o->toJwt();
+ }
+
+ /**
+ * @expectedException DomainException
+ */
+ public function testFailsWithMissingSigningAlgorithm()
+ {
+ $testConfig = $this->signingMinimal;
+ unset($testConfig['signingAlgorithm']);
+ $o = new OAuth2($testConfig);
+ $o->toJwt();
+ }
+
+ public function testCanHS256EncodeAValidPayload()
+ {
+ $testConfig = $this->signingMinimal;
+ $o = new OAuth2($testConfig);
+ $payload = $o->toJwt();
+ $roundTrip = $this->jwtDecode($payload, $testConfig['signingKey'], array('HS256'));
+ $this->assertEquals($roundTrip->iss, $testConfig['issuer']);
+ $this->assertEquals($roundTrip->aud, $testConfig['audience']);
+ $this->assertEquals($roundTrip->scope, $testConfig['scope']);
+ }
+
+ public function testCanRS256EncodeAValidPayload()
+ {
+ $publicKey = file_get_contents(__DIR__ . '/fixtures' . '/public.pem');
+ $privateKey = file_get_contents(__DIR__ . '/fixtures' . '/private.pem');
+ $testConfig = $this->signingMinimal;
+ $o = new OAuth2($testConfig);
+ $o->setSigningAlgorithm('RS256');
+ $o->setSigningKey($privateKey);
+ $payload = $o->toJwt();
+ $roundTrip = $this->jwtDecode($payload, $publicKey, array('RS256'));
+ $this->assertEquals($roundTrip->iss, $testConfig['issuer']);
+ $this->assertEquals($roundTrip->aud, $testConfig['audience']);
+ $this->assertEquals($roundTrip->scope, $testConfig['scope']);
+ }
+
+ private function jwtDecode()
+ {
+ $args = func_get_args();
+ $class = 'JWT';
+ if (class_exists('Firebase\JWT\JWT')) {
+ $class = 'Firebase\JWT\JWT';
+ }
+
+ return call_user_func_array("$class::decode", $args);
+ }
+}
+
+class OAuth2GenerateAccessTokenRequestTest extends \PHPUnit_Framework_TestCase
+{
+ private $tokenRequestMinimal = [
+ 'tokenCredentialUri' => 'https://tokens_r_us/test',
+ 'scope' => 'https://www.googleapis.com/auth/userinfo.profile',
+ 'issuer' => 'app@example.com',
+ 'audience' => 'accounts.google.com',
+ 'clientId' => 'aClientID',
+ ];
+
+ /**
+ * @expectedException DomainException
+ */
+ public function testFailsIfNoTokenCredentialUri()
+ {
+ $testConfig = $this->tokenRequestMinimal;
+ unset($testConfig['tokenCredentialUri']);
+ $o = new OAuth2($testConfig);
+ $o->generateCredentialsRequest();
+ }
+
+ /**
+ * @expectedException DomainException
+ */
+ public function testFailsIfAuthorizationCodeIsMissing()
+ {
+ $testConfig = $this->tokenRequestMinimal;
+ $testConfig['redirectUri'] = 'https://has/redirect/uri';
+ $o = new OAuth2($testConfig);
+ $o->generateCredentialsRequest();
+ }
+
+ public function testGeneratesAuthorizationCodeRequests()
+ {
+ $testConfig = $this->tokenRequestMinimal;
+ $testConfig['redirectUri'] = 'https://has/redirect/uri';
+ $o = new OAuth2($testConfig);
+ $o->setCode('an_auth_code');
+
+ // Generate the request and confirm that it's correct.
+ $req = $o->generateCredentialsRequest();
+ $this->assertInstanceOf('Psr\Http\Message\RequestInterface', $req);
+ $this->assertEquals('POST', $req->getMethod());
+ $fields = Psr7\parse_query((string)$req->getBody());
+ $this->assertEquals('authorization_code', $fields['grant_type']);
+ $this->assertEquals('an_auth_code', $fields['code']);
+ }
+
+ public function testGeneratesPasswordRequests()
+ {
+ $testConfig = $this->tokenRequestMinimal;
+ $o = new OAuth2($testConfig);
+ $o->setUsername('a_username');
+ $o->setPassword('a_password');
+
+ // Generate the request and confirm that it's correct.
+ $req = $o->generateCredentialsRequest();
+ $this->assertInstanceOf('Psr\Http\Message\RequestInterface', $req);
+ $this->assertEquals('POST', $req->getMethod());
+ $fields = Psr7\parse_query((string)$req->getBody());
+ $this->assertEquals('password', $fields['grant_type']);
+ $this->assertEquals('a_password', $fields['password']);
+ $this->assertEquals('a_username', $fields['username']);
+ }
+
+ public function testGeneratesRefreshTokenRequests()
+ {
+ $testConfig = $this->tokenRequestMinimal;
+ $o = new OAuth2($testConfig);
+ $o->setRefreshToken('a_refresh_token');
+
+ // Generate the request and confirm that it's correct.
+ $req = $o->generateCredentialsRequest();
+ $this->assertInstanceOf('Psr\Http\Message\RequestInterface', $req);
+ $this->assertEquals('POST', $req->getMethod());
+ $fields = Psr7\parse_query((string)$req->getBody());
+ $this->assertEquals('refresh_token', $fields['grant_type']);
+ $this->assertEquals('a_refresh_token', $fields['refresh_token']);
+ }
+
+ public function testClientSecretAddedIfSetForAuthorizationCodeRequests()
+ {
+ $testConfig = $this->tokenRequestMinimal;
+ $testConfig['clientSecret'] = 'a_client_secret';
+ $testConfig['redirectUri'] = 'https://has/redirect/uri';
+ $o = new OAuth2($testConfig);
+ $o->setCode('an_auth_code');
+ $request = $o->generateCredentialsRequest();
+ $fields = Psr7\parse_query((string)$request->getBody());
+ $this->assertEquals('a_client_secret', $fields['client_secret']);
+ }
+
+ public function testClientSecretAddedIfSetForRefreshTokenRequests()
+ {
+ $testConfig = $this->tokenRequestMinimal;
+ $testConfig['clientSecret'] = 'a_client_secret';
+ $o = new OAuth2($testConfig);
+ $o->setRefreshToken('a_refresh_token');
+ $request = $o->generateCredentialsRequest();
+ $fields = Psr7\parse_query((string)$request->getBody());
+ $this->assertEquals('a_client_secret', $fields['client_secret']);
+ }
+
+ public function testClientSecretAddedIfSetForPasswordRequests()
+ {
+ $testConfig = $this->tokenRequestMinimal;
+ $testConfig['clientSecret'] = 'a_client_secret';
+ $o = new OAuth2($testConfig);
+ $o->setUsername('a_username');
+ $o->setPassword('a_password');
+ $request = $o->generateCredentialsRequest();
+ $fields = Psr7\parse_query((string)$request->getBody());
+ $this->assertEquals('a_client_secret', $fields['client_secret']);
+ }
+
+ public function testGeneratesAssertionRequests()
+ {
+ $testConfig = $this->tokenRequestMinimal;
+ $o = new OAuth2($testConfig);
+ $o->setSigningKey('a_key');
+ $o->setSigningAlgorithm('HS256');
+
+ // Generate the request and confirm that it's correct.
+ $req = $o->generateCredentialsRequest();
+ $this->assertInstanceOf('Psr\Http\Message\RequestInterface', $req);
+ $this->assertEquals('POST', $req->getMethod());
+ $fields = Psr7\parse_query((string)$req->getBody());
+ $this->assertEquals(OAuth2::JWT_URN, $fields['grant_type']);
+ $this->assertTrue(array_key_exists('assertion', $fields));
+ }
+
+ public function testGeneratesExtendedRequests()
+ {
+ $testConfig = $this->tokenRequestMinimal;
+ $o = new OAuth2($testConfig);
+ $o->setGrantType('urn:my_test_grant_type');
+ $o->setExtensionParams(['my_param' => 'my_value']);
+
+ // Generate the request and confirm that it's correct.
+ $req = $o->generateCredentialsRequest();
+ $this->assertInstanceOf('Psr\Http\Message\RequestInterface', $req);
+ $this->assertEquals('POST', $req->getMethod());
+ $fields = Psr7\parse_query((string)$req->getBody());
+ $this->assertEquals('my_value', $fields['my_param']);
+ $this->assertEquals('urn:my_test_grant_type', $fields['grant_type']);
+ }
+}
+
+class OAuth2FetchAuthTokenTest extends \PHPUnit_Framework_TestCase
+{
+ private $fetchAuthTokenMinimal = [
+ 'tokenCredentialUri' => 'https://tokens_r_us/test',
+ 'scope' => 'https://www.googleapis.com/auth/userinfo.profile',
+ 'signingKey' => 'example_key',
+ 'signingAlgorithm' => 'HS256',
+ 'issuer' => 'app@example.com',
+ 'audience' => 'accounts.google.com',
+ 'clientId' => 'aClientID',
+ ];
+
+ /**
+ * @expectedException GuzzleHttp\Exception\ClientException
+ */
+ public function testFailsOn400()
+ {
+ $testConfig = $this->fetchAuthTokenMinimal;
+ $httpHandler = getHandler([
+ buildResponse(400),
+ ]);
+ $o = new OAuth2($testConfig);
+ $o->fetchAuthToken($httpHandler);
+ }
+
+ /**
+ * @expectedException GuzzleHttp\Exception\ServerException
+ */
+ public function testFailsOn500()
+ {
+ $testConfig = $this->fetchAuthTokenMinimal;
+ $httpHandler = getHandler([
+ buildResponse(500),
+ ]);
+ $o = new OAuth2($testConfig);
+ $o->fetchAuthToken($httpHandler);
+ }
+
+ /**
+ * @expectedException Exception
+ * @expectedExceptionMessage Invalid JSON response
+ */
+ public function testFailsOnNoContentTypeIfResponseIsNotJSON()
+ {
+ $testConfig = $this->fetchAuthTokenMinimal;
+ $notJson = '{"foo": , this is cannot be passed as json" "bar"}';
+ $httpHandler = getHandler([
+ buildResponse(200, [], Psr7\stream_for($notJson)),
+ ]);
+ $o = new OAuth2($testConfig);
+ $o->fetchAuthToken($httpHandler);
+ }
+
+ public function testFetchesJsonResponseOnNoContentTypeOK()
+ {
+ $testConfig = $this->fetchAuthTokenMinimal;
+ $json = '{"foo": "bar"}';
+ $httpHandler = getHandler([
+ buildResponse(200, [], Psr7\stream_for($json)),
+ ]);
+ $o = new OAuth2($testConfig);
+ $tokens = $o->fetchAuthToken($httpHandler);
+ $this->assertEquals($tokens['foo'], 'bar');
+ }
+
+ public function testFetchesFromFormEncodedResponseOK()
+ {
+ $testConfig = $this->fetchAuthTokenMinimal;
+ $json = 'foo=bar&spice=nice';
+ $httpHandler = getHandler([
+ buildResponse(
+ 200,
+ ['Content-Type' => 'application/x-www-form-urlencoded'],
+ Psr7\stream_for($json)
+ ),
+ ]);
+ $o = new OAuth2($testConfig);
+ $tokens = $o->fetchAuthToken($httpHandler);
+ $this->assertEquals($tokens['foo'], 'bar');
+ $this->assertEquals($tokens['spice'], 'nice');
+ }
+
+ public function testUpdatesTokenFieldsOnFetch()
+ {
+ $testConfig = $this->fetchAuthTokenMinimal;
+ $wanted_updates = [
+ 'expires_at' => '1',
+ 'expires_in' => '57',
+ 'issued_at' => '2',
+ 'access_token' => 'an_access_token',
+ 'id_token' => 'an_id_token',
+ 'refresh_token' => 'a_refresh_token',
+ ];
+ $json = json_encode($wanted_updates);
+ $httpHandler = getHandler([
+ buildResponse(200, [], Psr7\stream_for($json)),
+ ]);
+ $o = new OAuth2($testConfig);
+ $this->assertNull($o->getExpiresAt());
+ $this->assertNull($o->getExpiresIn());
+ $this->assertNull($o->getIssuedAt());
+ $this->assertNull($o->getAccessToken());
+ $this->assertNull($o->getIdToken());
+ $this->assertNull($o->getRefreshToken());
+ $tokens = $o->fetchAuthToken($httpHandler);
+ $this->assertEquals(1, $o->getExpiresAt());
+ $this->assertEquals(57, $o->getExpiresIn());
+ $this->assertEquals(2, $o->getIssuedAt());
+ $this->assertEquals('an_access_token', $o->getAccessToken());
+ $this->assertEquals('an_id_token', $o->getIdToken());
+ $this->assertEquals('a_refresh_token', $o->getRefreshToken());
+ }
+
+ public function testUpdatesTokenFieldsOnFetchMissingRefreshToken()
+ {
+ $testConfig = $this->fetchAuthTokenMinimal;
+ $testConfig['refresh_token'] = 'a_refresh_token';
+ $wanted_updates = [
+ 'expires_at' => '1',
+ 'expires_in' => '57',
+ 'issued_at' => '2',
+ 'access_token' => 'an_access_token',
+ 'id_token' => 'an_id_token',
+ ];
+ $json = json_encode($wanted_updates);
+ $httpHandler = getHandler([
+ buildResponse(200, [], Psr7\stream_for($json)),
+ ]);
+ $o = new OAuth2($testConfig);
+ $this->assertNull($o->getExpiresAt());
+ $this->assertNull($o->getExpiresIn());
+ $this->assertNull($o->getIssuedAt());
+ $this->assertNull($o->getAccessToken());
+ $this->assertNull($o->getIdToken());
+ $this->assertEquals('a_refresh_token', $o->getRefreshToken());
+ $tokens = $o->fetchAuthToken($httpHandler);
+ $this->assertEquals(1, $o->getExpiresAt());
+ $this->assertEquals(57, $o->getExpiresIn());
+ $this->assertEquals(2, $o->getIssuedAt());
+ $this->assertEquals('an_access_token', $o->getAccessToken());
+ $this->assertEquals('an_id_token', $o->getIdToken());
+ $this->assertEquals('a_refresh_token', $o->getRefreshToken());
+ }
+}
+
+class OAuth2VerifyIdTokenTest extends \PHPUnit_Framework_TestCase
+{
+ private $publicKey;
+ private $privateKey;
+ private $verifyIdTokenMinimal = [
+ 'scope' => 'https://www.googleapis.com/auth/userinfo.profile',
+ 'audience' => 'myaccount.on.host.issuer.com',
+ 'issuer' => 'an.issuer.com',
+ 'clientId' => 'myaccount.on.host.issuer.com',
+ ];
+
+ public function setUp()
+ {
+ $this->publicKey =
+ file_get_contents(__DIR__ . '/fixtures' . '/public.pem');
+ $this->privateKey =
+ file_get_contents(__DIR__ . '/fixtures' . '/private.pem');
+ }
+
+ /**
+ * @expectedException UnexpectedValueException
+ */
+ public function testFailsIfIdTokenIsInvalid()
+ {
+ $testConfig = $this->verifyIdTokenMinimal;
+ $not_a_jwt = 'not a jot';
+ $o = new OAuth2($testConfig);
+ $o->setIdToken($not_a_jwt);
+ $o->verifyIdToken($this->publicKey);
+ }
+
+ /**
+ * @expectedException DomainException
+ */
+ public function testFailsIfAudienceIsMissing()
+ {
+ $testConfig = $this->verifyIdTokenMinimal;
+ $now = time();
+ $origIdToken = [
+ 'issuer' => $testConfig['issuer'],
+ 'exp' => $now + 65, // arbitrary
+ 'iat' => $now,
+ ];
+ $o = new OAuth2($testConfig);
+ $jwtIdToken = $this->jwtEncode($origIdToken, $this->privateKey, 'RS256');
+ $o->setIdToken($jwtIdToken);
+ $o->verifyIdToken($this->publicKey, ['RS256']);
+ }
+
+ /**
+ * @expectedException DomainException
+ */
+ public function testFailsIfAudienceIsWrong()
+ {
+ $now = time();
+ $testConfig = $this->verifyIdTokenMinimal;
+ $origIdToken = [
+ 'aud' => 'a different audience',
+ 'iss' => $testConfig['issuer'],
+ 'exp' => $now + 65, // arbitrary
+ 'iat' => $now,
+ ];
+ $o = new OAuth2($testConfig);
+ $jwtIdToken = $this->jwtEncode($origIdToken, $this->privateKey, 'RS256');
+ $o->setIdToken($jwtIdToken);
+ $o->verifyIdToken($this->publicKey, ['RS256']);
+ }
+
+ public function testShouldReturnAValidIdToken()
+ {
+ $testConfig = $this->verifyIdTokenMinimal;
+ $now = time();
+ $origIdToken = [
+ 'aud' => $testConfig['audience'],
+ 'iss' => $testConfig['issuer'],
+ 'exp' => $now + 65, // arbitrary
+ 'iat' => $now,
+ ];
+ $o = new OAuth2($testConfig);
+ $alg = 'RS256';
+ $jwtIdToken = $this->jwtEncode($origIdToken, $this->privateKey, $alg);
+ $o->setIdToken($jwtIdToken);
+ $roundTrip = $o->verifyIdToken($this->publicKey, array($alg));
+ $this->assertEquals($origIdToken['aud'], $roundTrip->aud);
+ }
+
+ private function jwtEncode()
+ {
+ $args = func_get_args();
+ $class = 'JWT';
+ if (class_exists('Firebase\JWT\JWT')) {
+ $class = 'Firebase\JWT\JWT';
+ }
+
+ return call_user_func_array("$class::encode", $args);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Subscriber/AuthTokenSubscriberTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Subscriber/AuthTokenSubscriberTest.php
new file mode 100644
index 00000000..287692b0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Subscriber/AuthTokenSubscriberTest.php
@@ -0,0 +1,325 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\FetchAuthTokenCache;
+use Google\Auth\Subscriber\AuthTokenSubscriber;
+use GuzzleHttp\Client;
+use GuzzleHttp\Event\BeforeEvent;
+use GuzzleHttp\Transaction;
+
+class AuthTokenSubscriberTest extends BaseTest
+{
+ private $mockFetcher;
+ private $mockCacheItem;
+ private $mockCache;
+
+ protected function setUp()
+ {
+ $this->onlyGuzzle5();
+
+ $this->mockFetcher =
+ $this
+ ->getMockBuilder('Google\Auth\FetchAuthTokenInterface')
+ ->getMock();
+ $this->mockCacheItem =
+ $this
+ ->getMockBuilder('Psr\Cache\CacheItemInterface')
+ ->getMock();
+ $this->mockCache =
+ $this
+ ->getMockBuilder('Psr\Cache\CacheItemPoolInterface')
+ ->getMock();
+ }
+
+ public function testSubscribesToEvents()
+ {
+ $a = new AuthTokenSubscriber($this->mockFetcher);
+ $this->assertArrayHasKey('before', $a->getEvents());
+ }
+
+ public function testOnlyTouchesWhenAuthConfigScoped()
+ {
+ $s = new AuthTokenSubscriber($this->mockFetcher);
+ $client = new Client();
+ $request = $client->createRequest('GET', 'http://testing.org',
+ ['auth' => 'not_google_auth']);
+ $before = new BeforeEvent(new Transaction($client, $request));
+ $s->onBefore($before);
+ $this->assertSame($request->getHeader('Authorization'), '');
+ }
+
+ public function testAddsTheTokenAsAnAuthorizationHeader()
+ {
+ $authResult = ['access_token' => '1/abcdef1234567890'];
+ $this->mockFetcher
+ ->expects($this->once())
+ ->method('fetchAuthToken')
+ ->will($this->returnValue($authResult));
+
+ // Run the test.
+ $a = new AuthTokenSubscriber($this->mockFetcher);
+ $client = new Client();
+ $request = $client->createRequest('GET', 'http://testing.org',
+ ['auth' => 'google_auth']);
+ $before = new BeforeEvent(new Transaction($client, $request));
+ $a->onBefore($before);
+ $this->assertSame($request->getHeader('Authorization'),
+ 'Bearer 1/abcdef1234567890');
+ }
+
+ public function testDoesNotAddAnAuthorizationHeaderOnNoAccessToken()
+ {
+ $authResult = ['not_access_token' => '1/abcdef1234567890'];
+ $this->mockFetcher
+ ->expects($this->once())
+ ->method('fetchAuthToken')
+ ->will($this->returnValue($authResult));
+
+ // Run the test.
+ $a = new AuthTokenSubscriber($this->mockFetcher);
+ $client = new Client();
+ $request = $client->createRequest('GET', 'http://testing.org',
+ ['auth' => 'google_auth']);
+ $before = new BeforeEvent(new Transaction($client, $request));
+ $a->onBefore($before);
+ $this->assertSame($request->getHeader('Authorization'), '');
+ }
+
+ public function testUsesCachedAuthToken()
+ {
+ $cacheKey = 'myKey';
+ $cachedValue = '2/abcdef1234567890';
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('get')
+ ->will($this->returnValue($cachedValue));
+ $this->mockCache
+ ->expects($this->once())
+ ->method('getItem')
+ ->with($this->equalTo($cacheKey))
+ ->will($this->returnValue($this->mockCacheItem));
+ $this->mockFetcher
+ ->expects($this->never())
+ ->method('fetchAuthToken');
+ $this->mockFetcher
+ ->expects($this->any())
+ ->method('getCacheKey')
+ ->will($this->returnValue($cacheKey));
+
+ // Run the test.
+ $cachedFetcher = new FetchAuthTokenCache(
+ $this->mockFetcher,
+ null,
+ $this->mockCache
+ );
+ $a = new AuthTokenSubscriber($cachedFetcher);
+ $client = new Client();
+ $request = $client->createRequest('GET', 'http://testing.org',
+ ['auth' => 'google_auth']);
+ $before = new BeforeEvent(new Transaction($client, $request));
+ $a->onBefore($before);
+ $this->assertSame($request->getHeader('Authorization'),
+ 'Bearer 2/abcdef1234567890');
+ }
+
+ public function testGetsCachedAuthTokenUsingCachePrefix()
+ {
+ $prefix = 'test_prefix_';
+ $cacheKey = 'myKey';
+ $cachedValue = '2/abcdef1234567890';
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('get')
+ ->will($this->returnValue($cachedValue));
+ $this->mockCache
+ ->expects($this->once())
+ ->method('getItem')
+ ->with($this->equalTo($prefix . $cacheKey))
+ ->will($this->returnValue($this->mockCacheItem));
+ $this->mockFetcher
+ ->expects($this->never())
+ ->method('fetchAuthToken');
+ $this->mockFetcher
+ ->expects($this->any())
+ ->method('getCacheKey')
+ ->will($this->returnValue($cacheKey));
+
+ // Run the test
+ $cachedFetcher = new FetchAuthTokenCache(
+ $this->mockFetcher,
+ ['prefix' => $prefix],
+ $this->mockCache
+ );
+ $a = new AuthTokenSubscriber($cachedFetcher);
+ $client = new Client();
+ $request = $client->createRequest('GET', 'http://testing.org',
+ ['auth' => 'google_auth']);
+ $before = new BeforeEvent(new Transaction($client, $request));
+ $a->onBefore($before);
+ $this->assertSame($request->getHeader('Authorization'),
+ 'Bearer 2/abcdef1234567890');
+ }
+
+ public function testShouldSaveValueInCacheWithCacheOptions()
+ {
+ $prefix = 'test_prefix_';
+ $lifetime = '70707';
+ $cacheKey = 'myKey';
+ $token = '1/abcdef1234567890';
+ $authResult = ['access_token' => $token];
+ $this->mockCacheItem
+ ->expects($this->any())
+ ->method('get')
+ ->will($this->returnValue(null));
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('set')
+ ->with($this->equalTo($token))
+ ->will($this->returnValue(false));
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('expiresAfter')
+ ->with($this->equalTo($lifetime));
+ $this->mockCache
+ ->expects($this->exactly(2))
+ ->method('getItem')
+ ->with($this->equalTo($prefix . $cacheKey))
+ ->will($this->returnValue($this->mockCacheItem));
+ $this->mockFetcher
+ ->expects($this->any())
+ ->method('getCacheKey')
+ ->will($this->returnValue($cacheKey));
+ $this->mockFetcher
+ ->expects($this->once())
+ ->method('fetchAuthToken')
+ ->will($this->returnValue($authResult));
+
+ // Run the test
+ $cachedFetcher = new FetchAuthTokenCache(
+ $this->mockFetcher,
+ ['prefix' => $prefix, 'lifetime' => $lifetime],
+ $this->mockCache
+ );
+ $a = new AuthTokenSubscriber($cachedFetcher);
+ $client = new Client();
+ $request = $client->createRequest('GET', 'http://testing.org',
+ ['auth' => 'google_auth']);
+ $before = new BeforeEvent(new Transaction($client, $request));
+ $a->onBefore($before);
+ $this->assertSame($request->getHeader('Authorization'),
+ 'Bearer 1/abcdef1234567890');
+ }
+
+ /** @dataProvider provideShouldNotifyTokenCallback */
+ public function testShouldNotifyTokenCallback(callable $tokenCallback)
+ {
+ $prefix = 'test_prefix_';
+ $cacheKey = 'myKey';
+ $token = '1/abcdef1234567890';
+ $authResult = ['access_token' => $token];
+ $this->mockCacheItem
+ ->expects($this->any())
+ ->method('get')
+ ->will($this->returnValue(null));
+ $this->mockCache
+ ->expects($this->any())
+ ->method('getItem')
+ ->with($this->equalTo($prefix . $cacheKey))
+ ->will($this->returnValue($this->mockCacheItem));
+ $this->mockFetcher
+ ->expects($this->any())
+ ->method('getCacheKey')
+ ->will($this->returnValue($cacheKey));
+ $this->mockFetcher
+ ->expects($this->once())
+ ->method('fetchAuthToken')
+ ->will($this->returnValue($authResult));
+
+ SubscriberCallback::$expectedKey = $this->getValidKeyName($prefix . $cacheKey);
+ SubscriberCallback::$expectedValue = $token;
+ SubscriberCallback::$called = false;
+
+ // Run the test
+ $cachedFetcher = new FetchAuthTokenCache(
+ $this->mockFetcher,
+ ['prefix' => $prefix],
+ $this->mockCache
+ );
+ $a = new AuthTokenSubscriber(
+ $cachedFetcher,
+ null,
+ $tokenCallback
+ );
+
+ $client = new Client();
+ $request = $client->createRequest('GET', 'http://testing.org',
+ ['auth' => 'google_auth']);
+ $before = new BeforeEvent(new Transaction($client, $request));
+ $a->onBefore($before);
+ $this->assertTrue(SubscriberCallback::$called);
+ }
+
+ public function provideShouldNotifyTokenCallback()
+ {
+ SubscriberCallback::$phpunit = $this;
+ $anonymousFunc = function ($key, $value) {
+ SubscriberCallback::staticInvoke($key, $value);
+ };
+ return [
+ ['Google\Auth\Tests\SubscriberCallbackFunction'],
+ ['Google\Auth\Tests\SubscriberCallback::staticInvoke'],
+ [['Google\Auth\Tests\SubscriberCallback', 'staticInvoke']],
+ [$anonymousFunc],
+ [[new SubscriberCallback, 'staticInvoke']],
+ [[new SubscriberCallback, 'methodInvoke']],
+ [new SubscriberCallback],
+ ];
+ }
+}
+
+class SubscriberCallback
+{
+ public static $phpunit;
+ public static $expectedKey;
+ public static $expectedValue;
+ public static $called = false;
+
+ public function __invoke($key, $value)
+ {
+ self::$phpunit->assertEquals(self::$expectedKey, $key);
+ self::$phpunit->assertEquals(self::$expectedValue, $value);
+ self::$called = true;
+ }
+
+ public function methodInvoke($key, $value)
+ {
+ return $this($key, $value);
+ }
+
+ public static function staticInvoke($key, $value)
+ {
+ $instance = new self();
+ return $instance($key, $value);
+ }
+}
+
+function SubscriberCallbackFunction($key, $value)
+{
+ return SubscriberCallback::staticInvoke($key, $value);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Subscriber/ScopedAccessTokenSubscriberTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Subscriber/ScopedAccessTokenSubscriberTest.php
new file mode 100644
index 00000000..b85dda56
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Subscriber/ScopedAccessTokenSubscriberTest.php
@@ -0,0 +1,238 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\Subscriber\ScopedAccessTokenSubscriber;
+use GuzzleHttp\Client;
+use GuzzleHttp\Event\BeforeEvent;
+use GuzzleHttp\Transaction;
+
+class ScopedAccessTokenSubscriberTest extends BaseTest
+{
+ const TEST_SCOPE = 'https://www.googleapis.com/auth/cloud-taskqueue';
+
+ private $mockCacheItem;
+ private $mockCache;
+ private $mockRequest;
+
+ protected function setUp()
+ {
+ $this->onlyGuzzle5();
+
+ $this->mockCacheItem =
+ $this
+ ->getMockBuilder('Psr\Cache\CacheItemInterface')
+ ->getMock();
+ $this->mockCache =
+ $this
+ ->getMockBuilder('Psr\Cache\CacheItemPoolInterface')
+ ->getMock();
+ $this->mockRequest =
+ $this
+ ->getMockBuilder('GuzzleHttp\Psr7\Request')
+ ->disableOriginalConstructor()
+ ->getMock();
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testRequiresScopeAsAStringOrArray()
+ {
+ $fakeAuthFunc = function ($unused_scopes) {
+ return '1/abcdef1234567890';
+ };
+ new ScopedAccessTokenSubscriber($fakeAuthFunc, new \stdClass(), array());
+ }
+
+ public function testSubscribesToEvents()
+ {
+ $fakeAuthFunc = function ($unused_scopes) {
+ return '1/abcdef1234567890';
+ };
+ $s = new ScopedAccessTokenSubscriber($fakeAuthFunc, self::TEST_SCOPE, array());
+ $this->assertArrayHasKey('before', $s->getEvents());
+ }
+
+ public function testAddsTheTokenAsAnAuthorizationHeader()
+ {
+ $fakeAuthFunc = function ($unused_scopes) {
+ return '1/abcdef1234567890';
+ };
+ $s = new ScopedAccessTokenSubscriber($fakeAuthFunc, self::TEST_SCOPE, array());
+ $client = new Client();
+ $request = $client->createRequest('GET', 'http://testing.org',
+ ['auth' => 'scoped']);
+ $before = new BeforeEvent(new Transaction($client, $request));
+ $s->onBefore($before);
+ $this->assertSame(
+ 'Bearer 1/abcdef1234567890',
+ $request->getHeader('Authorization')
+ );
+ }
+
+ public function testUsesCachedAuthToken()
+ {
+ $cachedValue = '2/abcdef1234567890';
+ $fakeAuthFunc = function ($unused_scopes) {
+ return '';
+ };
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('get')
+ ->will($this->returnValue($cachedValue));
+ $this->mockCache
+ ->expects($this->once())
+ ->method('getItem')
+ ->with($this->getValidKeyName(self::TEST_SCOPE))
+ ->will($this->returnValue($this->mockCacheItem));
+
+ // Run the test
+ $s = new ScopedAccessTokenSubscriber($fakeAuthFunc, self::TEST_SCOPE, array(),
+ $this->mockCache);
+ $client = new Client();
+ $request = $client->createRequest('GET', 'http://testing.org',
+ ['auth' => 'scoped']);
+ $before = new BeforeEvent(new Transaction($client, $request));
+ $s->onBefore($before);
+ $this->assertSame(
+ 'Bearer 2/abcdef1234567890',
+ $request->getHeader('Authorization')
+ );
+ }
+
+ public function testGetsCachedAuthTokenUsingCachePrefix()
+ {
+ $prefix = 'test_prefix_';
+ $cachedValue = '2/abcdef1234567890';
+ $fakeAuthFunc = function ($unused_scopes) {
+ return '';
+ };
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('get')
+ ->will($this->returnValue($cachedValue));
+ $this->mockCache
+ ->expects($this->once())
+ ->method('getItem')
+ ->with($prefix . $this->getValidKeyName(self::TEST_SCOPE))
+ ->will($this->returnValue($this->mockCacheItem));
+
+ // Run the test
+ $s = new ScopedAccessTokenSubscriber($fakeAuthFunc, self::TEST_SCOPE,
+ ['prefix' => $prefix],
+ $this->mockCache);
+ $client = new Client();
+ $request = $client->createRequest('GET', 'http://testing.org',
+ ['auth' => 'scoped']);
+ $before = new BeforeEvent(new Transaction($client, $request));
+ $s->onBefore($before);
+ $this->assertSame(
+ 'Bearer 2/abcdef1234567890',
+ $request->getHeader('Authorization')
+ );
+ }
+
+ public function testShouldSaveValueInCache()
+ {
+ $token = '2/abcdef1234567890';
+ $fakeAuthFunc = function ($unused_scopes) {
+ return '2/abcdef1234567890';
+ };
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('get')
+ ->will($this->returnValue(false));
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('set')
+ ->with($this->equalTo($token))
+ ->will($this->returnValue(false));
+ $this->mockCache
+ ->expects($this->exactly(2))
+ ->method('getItem')
+ ->with($this->getValidKeyName(self::TEST_SCOPE))
+ ->will($this->returnValue($this->mockCacheItem));
+ $s = new ScopedAccessTokenSubscriber($fakeAuthFunc, self::TEST_SCOPE, array(),
+ $this->mockCache);
+ $client = new Client();
+ $request = $client->createRequest('GET', 'http://testing.org',
+ ['auth' => 'scoped']);
+ $before = new BeforeEvent(new Transaction($client, $request));
+ $s->onBefore($before);
+ $this->assertSame(
+ 'Bearer 2/abcdef1234567890',
+ $request->getHeader('Authorization')
+ );
+ }
+
+ public function testShouldSaveValueInCacheWithCacheOptions()
+ {
+ $token = '2/abcdef1234567890';
+ $prefix = 'test_prefix_';
+ $lifetime = '70707';
+ $fakeAuthFunc = function ($unused_scopes) {
+ return '2/abcdef1234567890';
+ };
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('get')
+ ->will($this->returnValue(false));
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('set')
+ ->with($this->equalTo($token));
+ $this->mockCacheItem
+ ->expects($this->once())
+ ->method('expiresAfter')
+ ->with($this->equalTo($lifetime));
+ $this->mockCache
+ ->expects($this->exactly(2))
+ ->method('getItem')
+ ->with($prefix . $this->getValidKeyName(self::TEST_SCOPE))
+ ->will($this->returnValue($this->mockCacheItem));
+
+ // Run the test
+ $s = new ScopedAccessTokenSubscriber($fakeAuthFunc, self::TEST_SCOPE,
+ ['prefix' => $prefix, 'lifetime' => $lifetime],
+ $this->mockCache);
+ $client = new Client();
+ $request = $client->createRequest('GET', 'http://testing.org',
+ ['auth' => 'scoped']);
+ $before = new BeforeEvent(new Transaction($client, $request));
+ $s->onBefore($before);
+ $this->assertSame(
+ 'Bearer 2/abcdef1234567890',
+ $request->getHeader('Authorization')
+ );
+ }
+
+ public function testOnlyTouchesWhenAuthConfigScoped()
+ {
+ $fakeAuthFunc = function ($unused_scopes) {
+ return '1/abcdef1234567890';
+ };
+ $s = new ScopedAccessTokenSubscriber($fakeAuthFunc, self::TEST_SCOPE, array());
+ $client = new Client();
+ $request = $client->createRequest('GET', 'http://testing.org',
+ ['auth' => 'notscoped']);
+ $before = new BeforeEvent(new Transaction($client, $request));
+ $s->onBefore($before);
+ $this->assertSame('', $request->getHeader('Authorization'));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Subscriber/SimpleSubscriberTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Subscriber/SimpleSubscriberTest.php
new file mode 100644
index 00000000..6c392e66
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/Subscriber/SimpleSubscriberTest.php
@@ -0,0 +1,69 @@
+<?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.
+ */
+
+namespace Google\Auth\Tests;
+
+use Google\Auth\Subscriber\SimpleSubscriber;
+use GuzzleHttp\Client;
+use GuzzleHttp\Event\BeforeEvent;
+use GuzzleHttp\Transaction;
+
+class SimpleSubscriberTest extends BaseTest
+{
+ protected function setUp()
+ {
+ $this->onlyGuzzle5();
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testRequiresADeveloperKey()
+ {
+ new SimpleSubscriber(['not_key' => 'a test key']);
+ }
+
+ public function testSubscribesToEvents()
+ {
+ $events = (new SimpleSubscriber(['key' => 'a test key']))->getEvents();
+ $this->assertArrayHasKey('before', $events);
+ }
+
+ public function testAddsTheKeyToTheQuery()
+ {
+ $s = new SimpleSubscriber(['key' => 'test_key']);
+ $client = new Client();
+ $request = $client->createRequest('GET', 'http://testing.org',
+ ['auth' => 'simple']);
+ $before = new BeforeEvent(new Transaction($client, $request));
+ $s->onBefore($before);
+ $this->assertCount(1, $request->getQuery());
+ $this->assertTrue($request->getQuery()->hasKey('key'));
+ $this->assertSame($request->getQuery()->get('key'), 'test_key');
+ }
+
+ public function testOnlyTouchesWhenAuthConfigIsSimple()
+ {
+ $s = new SimpleSubscriber(['key' => 'test_key']);
+ $client = new Client();
+ $request = $client->createRequest('GET', 'http://testing.org',
+ ['auth' => 'notsimple']);
+ $before = new BeforeEvent(new Transaction($client, $request));
+ $s->onBefore($before);
+ $this->assertCount(0, $request->getQuery());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/bootstrap.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/bootstrap.php
new file mode 100644
index 00000000..6e7b7d5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/bootstrap.php
@@ -0,0 +1,55 @@
+<?php
+/*
+ * Copyright 2015 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.
+ */
+
+error_reporting(E_ALL | E_STRICT);
+require dirname(__DIR__) . '/vendor/autoload.php';
+date_default_timezone_set('UTC');
+
+// autoload base test
+require_once __DIR__ . '/BaseTest.php';
+
+function buildResponse($code, array $headers = [], $body = null)
+{
+ if (class_exists('GuzzleHttp\HandlerStack')) {
+ return new \GuzzleHttp\Psr7\Response($code, $headers, $body);
+ }
+
+ return new \GuzzleHttp\Message\Response(
+ $code,
+ $headers,
+ \GuzzleHttp\Stream\Stream::factory((string)$body)
+ );
+}
+
+function getHandler(array $mockResponses = [])
+{
+ if (class_exists('GuzzleHttp\HandlerStack')) {
+ $mock = new \GuzzleHttp\Handler\MockHandler($mockResponses);
+
+ $handler = \GuzzleHttp\HandlerStack::create($mock);
+ $client = new \GuzzleHttp\Client(['handler' => $handler]);
+
+ return new \Google\Auth\HttpHandler\Guzzle6HttpHandler($client);
+ }
+
+ $client = new \GuzzleHttp\Client();
+ $client->getEmitter()->attach(
+ new \GuzzleHttp\Subscriber\Mock($mockResponses)
+ );
+
+ return new \Google\Auth\HttpHandler\Guzzle5HttpHandler($client);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures/.config/gcloud/application_default_credentials.json b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures/.config/gcloud/application_default_credentials.json
new file mode 100644
index 00000000..608d325c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures/.config/gcloud/application_default_credentials.json
@@ -0,0 +1,7 @@
+{
+ "private_key_id": "key123",
+ "private_key": "privatekey",
+ "client_email": "hello@youarecool.com",
+ "client_id": "client123",
+ "type": "service_account"
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures/private.json b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures/private.json
new file mode 100644
index 00000000..608d325c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures/private.json
@@ -0,0 +1,7 @@
+{
+ "private_key_id": "key123",
+ "private_key": "privatekey",
+ "client_email": "hello@youarecool.com",
+ "client_id": "client123",
+ "type": "service_account"
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures/private.pem b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures/private.pem
new file mode 100644
index 00000000..00a658fe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures/private.pem
@@ -0,0 +1,15 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIICXQIBAAKBgQDzU+jLTzW6154Joezxrd2+5pCNYP0HcaMoYqEyXfNRpkNE7wrQ
+UEG830o4Qcaae2BhqZoujwSW7RkR6h0Fkd0WTR8h5J8rSGNHv/1jJoUUjP9iZ/5S
+FAyIIyEYfDPqtnA4iF1QWO2lXWlEFSuZjwM/8jBmeGzoiw17akNThIw8NwIDAQAB
+AoGATpboVloEAY/IdFX/QGOmfhTb1T3hG3lheBa695iOkO2BRo9qT7PMN6NqxlbA
+PX7ht0lfCfCZS+HSOg4CR50/6WXHMSmwlvcjGuDIDKWjviQTTYE77MlVBQHw9WzY
+PfiRBbtouyPGQtO4rk42zkIILC6exBZ1vKpRPOmTAnxrjCECQQD+56r6hYcS6GNp
+NOWyv0eVFMBX4iNWAsRf9JVVvGDz2rVuhnkNiN73vfffDWvSXkCydL1jFmalgdQD
+gm77UZQHAkEA9F+CauU0aZsJ1SthQ6H0sDQ+eNRUgnz4itnkSC2C20fZ3DaSpCMC
+0go81CcZOhftNO730ILqiS67C3d3rqLqUQJBAP10ROHMmz4Fq7MUUcClyPtHIuk/
+hXskTTZL76DMKmrN8NDxDLSUf38+eJRkt+z4osPOp/E6eN3gdXr32nox50kCQCl8
+hXGMU+eR0IuF/88xkY7Qb8KnmWlFuhQohZ7TSyHbAttl0GNZJkNuRYFm2duI8FZK
+M3wMnbCIZGy/7WuScOECQQCV+0yrf5dL1M2GHjJfwuTb00wRKalKQEH1v/kvE5vS
+FmdN7BPK5Ra50MaecMNoYqu9rmtyWRBn93dcvKrL57nY
+-----END RSA PRIVATE KEY-----
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures/public.pem b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures/public.pem
new file mode 100644
index 00000000..00a8f7af
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures/public.pem
@@ -0,0 +1,6 @@
+-----BEGIN PUBLIC KEY-----
+MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDzU+jLTzW6154Joezxrd2+5pCN
+YP0HcaMoYqEyXfNRpkNE7wrQUEG830o4Qcaae2BhqZoujwSW7RkR6h0Fkd0WTR8h
+5J8rSGNHv/1jJoUUjP9iZ/5SFAyIIyEYfDPqtnA4iF1QWO2lXWlEFSuZjwM/8jBm
+eGzoiw17akNThIw8NwIDAQAB
+-----END PUBLIC KEY-----
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures2/.config/gcloud/application_default_credentials.json b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures2/.config/gcloud/application_default_credentials.json
new file mode 100644
index 00000000..5b5063d8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures2/.config/gcloud/application_default_credentials.json
@@ -0,0 +1,6 @@
+{
+ "client_id": "client123",
+ "client_secret": "clientSecret123",
+ "refresh_token": "refreshToken123",
+ "type": "authorized_user"
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures2/private.json b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures2/private.json
new file mode 100644
index 00000000..5b5063d8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/fixtures2/private.json
@@ -0,0 +1,6 @@
+{
+ "client_id": "client123",
+ "client_secret": "clientSecret123",
+ "refresh_token": "refreshToken123",
+ "type": "authorized_user"
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/mocks/AppIdentityService.php b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/mocks/AppIdentityService.php
new file mode 100644
index 00000000..324292a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/google/auth/tests/mocks/AppIdentityService.php
@@ -0,0 +1,19 @@
+<?php
+
+namespace google\appengine\api\app_identity;
+
+class AppIdentityService
+{
+ public static $scope;
+ public static $accessToken = array(
+ 'access_token' => 'xyz',
+ 'expiration_time' => '2147483646',
+ );
+
+ public static function getAccessToken($scope)
+ {
+ self::$scope = $scope;
+
+ return self::$accessToken;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/CHANGELOG.md b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/CHANGELOG.md
new file mode 100644
index 00000000..b265cbcd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/CHANGELOG.md
@@ -0,0 +1,1264 @@
+# CHANGELOG
+
+## 6.3.0 - 2017-06-22
+
+* Feature: force IP resolution (ipv4 or ipv6) [#1608](https://github.com/guzzle/guzzle/pull/1608), [#1659](https://github.com/guzzle/guzzle/pull/1659)
+* Improvement: Don't include summary in exception message when body is empty [#1621](https://github.com/guzzle/guzzle/pull/1621)
+* Improvement: Handle `on_headers` option in MockHandler [#1580](https://github.com/guzzle/guzzle/pull/1580)
+* Improvement: Added SUSE Linux CA path [#1609](https://github.com/guzzle/guzzle/issues/1609)
+* Improvement: Use class reference for getting the name of the class instead of using hardcoded strings [#1641](https://github.com/guzzle/guzzle/pull/1641)
+* Feature: Added `read_timeout` option [#1611](https://github.com/guzzle/guzzle/pull/1611)
+* Bug fix: PHP 7.x fixes [#1685](https://github.com/guzzle/guzzle/pull/1685), [#1686](https://github.com/guzzle/guzzle/pull/1686), [#1811](https://github.com/guzzle/guzzle/pull/1811)
+* Deprecation: BadResponseException instantiation without a response [#1642](https://github.com/guzzle/guzzle/pull/1642)
+* Feature: Added NTLM auth [#1569](https://github.com/guzzle/guzzle/pull/1569)
+* Feature: Track redirect HTTP status codes [#1711](https://github.com/guzzle/guzzle/pull/1711)
+* Improvement: Check handler type during construction [#1745](https://github.com/guzzle/guzzle/pull/1745)
+* Improvement: Always include the Content-Length if there's a body [#1721](https://github.com/guzzle/guzzle/pull/1721)
+* Feature: Added convenience method to access a cookie by name [#1318](https://github.com/guzzle/guzzle/pull/1318)
+* Bug fix: Fill `CURLOPT_CAPATH` and `CURLOPT_CAINFO` properly [#1684](https://github.com/guzzle/guzzle/pull/1684)
+* Improvement: Use `\GuzzleHttp\Promise\rejection_for` function instead of object init [#1827](https://github.com/guzzle/guzzle/pull/1827)
+
+
++ Minor code cleanups, documentation fixes and clarifications.
+
+## 6.2.3 - 2017-02-28
+
+* Fix deprecations with guzzle/psr7 version 1.4
+
+## 6.2.2 - 2016-10-08
+
+* Allow to pass nullable Response to delay callable
+* Only add scheme when host is present
+* Fix drain case where content-length is the literal string zero
+* Obfuscate in-URL credentials in exceptions
+
+## 6.2.1 - 2016-07-18
+
+* Address HTTP_PROXY security vulnerability, CVE-2016-5385:
+ https://httpoxy.org/
+* Fixing timeout bug with StreamHandler:
+ https://github.com/guzzle/guzzle/pull/1488
+* Only read up to `Content-Length` in PHP StreamHandler to avoid timeouts when
+ a server does not honor `Connection: close`.
+* Ignore URI fragment when sending requests.
+
+## 6.2.0 - 2016-03-21
+
+* Feature: added `GuzzleHttp\json_encode` and `GuzzleHttp\json_decode`.
+ https://github.com/guzzle/guzzle/pull/1389
+* Bug fix: Fix sleep calculation when waiting for delayed requests.
+ https://github.com/guzzle/guzzle/pull/1324
+* Feature: More flexible history containers.
+ https://github.com/guzzle/guzzle/pull/1373
+* Bug fix: defer sink stream opening in StreamHandler.
+ https://github.com/guzzle/guzzle/pull/1377
+* Bug fix: do not attempt to escape cookie values.
+ https://github.com/guzzle/guzzle/pull/1406
+* Feature: report original content encoding and length on decoded responses.
+ https://github.com/guzzle/guzzle/pull/1409
+* Bug fix: rewind seekable request bodies before dispatching to cURL.
+ https://github.com/guzzle/guzzle/pull/1422
+* Bug fix: provide an empty string to `http_build_query` for HHVM workaround.
+ https://github.com/guzzle/guzzle/pull/1367
+
+## 6.1.1 - 2015-11-22
+
+* Bug fix: Proxy::wrapSync() now correctly proxies to the appropriate handler
+ https://github.com/guzzle/guzzle/commit/911bcbc8b434adce64e223a6d1d14e9a8f63e4e4
+* Feature: HandlerStack is now more generic.
+ https://github.com/guzzle/guzzle/commit/f2102941331cda544745eedd97fc8fd46e1ee33e
+* Bug fix: setting verify to false in the StreamHandler now disables peer
+ verification. https://github.com/guzzle/guzzle/issues/1256
+* Feature: Middleware now uses an exception factory, including more error
+ context. https://github.com/guzzle/guzzle/pull/1282
+* Feature: better support for disabled functions.
+ https://github.com/guzzle/guzzle/pull/1287
+* Bug fix: fixed regression where MockHandler was not using `sink`.
+ https://github.com/guzzle/guzzle/pull/1292
+
+## 6.1.0 - 2015-09-08
+
+* Feature: Added the `on_stats` request option to provide access to transfer
+ statistics for requests. https://github.com/guzzle/guzzle/pull/1202
+* Feature: Added the ability to persist session cookies in CookieJars.
+ https://github.com/guzzle/guzzle/pull/1195
+* Feature: Some compatibility updates for Google APP Engine
+ https://github.com/guzzle/guzzle/pull/1216
+* Feature: Added support for NO_PROXY to prevent the use of a proxy based on
+ a simple set of rules. https://github.com/guzzle/guzzle/pull/1197
+* Feature: Cookies can now contain square brackets.
+ https://github.com/guzzle/guzzle/pull/1237
+* Bug fix: Now correctly parsing `=` inside of quotes in Cookies.
+ https://github.com/guzzle/guzzle/pull/1232
+* Bug fix: Cusotm cURL options now correctly override curl options of the
+ same name. https://github.com/guzzle/guzzle/pull/1221
+* Bug fix: Content-Type header is now added when using an explicitly provided
+ multipart body. https://github.com/guzzle/guzzle/pull/1218
+* Bug fix: Now ignoring Set-Cookie headers that have no name.
+* Bug fix: Reason phrase is no longer cast to an int in some cases in the
+ cURL handler. https://github.com/guzzle/guzzle/pull/1187
+* Bug fix: Remove the Authorization header when redirecting if the Host
+ header changes. https://github.com/guzzle/guzzle/pull/1207
+* Bug fix: Cookie path matching fixes
+ https://github.com/guzzle/guzzle/issues/1129
+* Bug fix: Fixing the cURL `body_as_string` setting
+ https://github.com/guzzle/guzzle/pull/1201
+* Bug fix: quotes are no longer stripped when parsing cookies.
+ https://github.com/guzzle/guzzle/issues/1172
+* Bug fix: `form_params` and `query` now always uses the `&` separator.
+ https://github.com/guzzle/guzzle/pull/1163
+* Bug fix: Adding a Content-Length to PHP stream wrapper requests if not set.
+ https://github.com/guzzle/guzzle/pull/1189
+
+## 6.0.2 - 2015-07-04
+
+* Fixed a memory leak in the curl handlers in which references to callbacks
+ were not being removed by `curl_reset`.
+* Cookies are now extracted properly before redirects.
+* Cookies now allow more character ranges.
+* Decoded Content-Encoding responses are now modified to correctly reflect
+ their state if the encoding was automatically removed by a handler. This
+ means that the `Content-Encoding` header may be removed an the
+ `Content-Length` modified to reflect the message size after removing the
+ encoding.
+* Added a more explicit error message when trying to use `form_params` and
+ `multipart` in the same request.
+* Several fixes for HHVM support.
+* Functions are now conditionally required using an additional level of
+ indirection to help with global Composer installations.
+
+## 6.0.1 - 2015-05-27
+
+* Fixed a bug with serializing the `query` request option where the `&`
+ separator was missing.
+* Added a better error message for when `body` is provided as an array. Please
+ use `form_params` or `multipart` instead.
+* Various doc fixes.
+
+## 6.0.0 - 2015-05-26
+
+* See the UPGRADING.md document for more information.
+* Added `multipart` and `form_params` request options.
+* Added `synchronous` request option.
+* Added the `on_headers` request option.
+* Fixed `expect` handling.
+* No longer adding default middlewares in the client ctor. These need to be
+ present on the provided handler in order to work.
+* Requests are no longer initiated when sending async requests with the
+ CurlMultiHandler. This prevents unexpected recursion from requests completing
+ while ticking the cURL loop.
+* Removed the semantics of setting `default` to `true`. This is no longer
+ required now that the cURL loop is not ticked for async requests.
+* Added request and response logging middleware.
+* No longer allowing self signed certificates when using the StreamHandler.
+* Ensuring that `sink` is valid if saving to a file.
+* Request exceptions now include a "handler context" which provides handler
+ specific contextual information.
+* Added `GuzzleHttp\RequestOptions` to allow request options to be applied
+ using constants.
+* `$maxHandles` has been removed from CurlMultiHandler.
+* `MultipartPostBody` is now part of the `guzzlehttp/psr7` package.
+
+## 5.3.0 - 2015-05-19
+
+* Mock now supports `save_to`
+* Marked `AbstractRequestEvent::getTransaction()` as public.
+* Fixed a bug in which multiple headers using different casing would overwrite
+ previous headers in the associative array.
+* Added `Utils::getDefaultHandler()`
+* Marked `GuzzleHttp\Client::getDefaultUserAgent` as deprecated.
+* URL scheme is now always lowercased.
+
+## 6.0.0-beta.1
+
+* Requires PHP >= 5.5
+* Updated to use PSR-7
+ * Requires immutable messages, which basically means an event based system
+ owned by a request instance is no longer possible.
+ * Utilizing the [Guzzle PSR-7 package](https://github.com/guzzle/psr7).
+ * Removed the dependency on `guzzlehttp/streams`. These stream abstractions
+ are available in the `guzzlehttp/psr7` package under the `GuzzleHttp\Psr7`
+ namespace.
+* Added middleware and handler system
+ * Replaced the Guzzle event and subscriber system with a middleware system.
+ * No longer depends on RingPHP, but rather places the HTTP handlers directly
+ in Guzzle, operating on PSR-7 messages.
+ * Retry logic is now encapsulated in `GuzzleHttp\Middleware::retry`, which
+ means the `guzzlehttp/retry-subscriber` is now obsolete.
+ * Mocking responses is now handled using `GuzzleHttp\Handler\MockHandler`.
+* Asynchronous responses
+ * No longer supports the `future` request option to send an async request.
+ Instead, use one of the `*Async` methods of a client (e.g., `requestAsync`,
+ `getAsync`, etc.).
+ * Utilizing `GuzzleHttp\Promise` instead of React's promise library to avoid
+ recursion required by chaining and forwarding react promises. See
+ https://github.com/guzzle/promises
+ * Added `requestAsync` and `sendAsync` to send request asynchronously.
+ * Added magic methods for `getAsync()`, `postAsync()`, etc. to send requests
+ asynchronously.
+* Request options
+ * POST and form updates
+ * Added the `form_fields` and `form_files` request options.
+ * Removed the `GuzzleHttp\Post` namespace.
+ * The `body` request option no longer accepts an array for POST requests.
+ * The `exceptions` request option has been deprecated in favor of the
+ `http_errors` request options.
+ * The `save_to` request option has been deprecated in favor of `sink` request
+ option.
+* Clients no longer accept an array of URI template string and variables for
+ URI variables. You will need to expand URI templates before passing them
+ into a client constructor or request method.
+* Client methods `get()`, `post()`, `put()`, `patch()`, `options()`, etc. are
+ now magic methods that will send synchronous requests.
+* Replaced `Utils.php` with plain functions in `functions.php`.
+* Removed `GuzzleHttp\Collection`.
+* Removed `GuzzleHttp\BatchResults`. Batched pool results are now returned as
+ an array.
+* Removed `GuzzleHttp\Query`. Query string handling is now handled using an
+ associative array passed into the `query` request option. The query string
+ is serialized using PHP's `http_build_query`. If you need more control, you
+ can pass the query string in as a string.
+* `GuzzleHttp\QueryParser` has been replaced with the
+ `GuzzleHttp\Psr7\parse_query`.
+
+## 5.2.0 - 2015-01-27
+
+* Added `AppliesHeadersInterface` to make applying headers to a request based
+ on the body more generic and not specific to `PostBodyInterface`.
+* Reduced the number of stack frames needed to send requests.
+* Nested futures are now resolved in the client rather than the RequestFsm
+* Finishing state transitions is now handled in the RequestFsm rather than the
+ RingBridge.
+* Added a guard in the Pool class to not use recursion for request retries.
+
+## 5.1.0 - 2014-12-19
+
+* Pool class no longer uses recursion when a request is intercepted.
+* The size of a Pool can now be dynamically adjusted using a callback.
+ See https://github.com/guzzle/guzzle/pull/943.
+* Setting a request option to `null` when creating a request with a client will
+ ensure that the option is not set. This allows you to overwrite default
+ request options on a per-request basis.
+ See https://github.com/guzzle/guzzle/pull/937.
+* Added the ability to limit which protocols are allowed for redirects by
+ specifying a `protocols` array in the `allow_redirects` request option.
+* Nested futures due to retries are now resolved when waiting for synchronous
+ responses. See https://github.com/guzzle/guzzle/pull/947.
+* `"0"` is now an allowed URI path. See
+ https://github.com/guzzle/guzzle/pull/935.
+* `Query` no longer typehints on the `$query` argument in the constructor,
+ allowing for strings and arrays.
+* Exceptions thrown in the `end` event are now correctly wrapped with Guzzle
+ specific exceptions if necessary.
+
+## 5.0.3 - 2014-11-03
+
+This change updates query strings so that they are treated as un-encoded values
+by default where the value represents an un-encoded value to send over the
+wire. A Query object then encodes the value before sending over the wire. This
+means that even value query string values (e.g., ":") are url encoded. This
+makes the Query class match PHP's http_build_query function. However, if you
+want to send requests over the wire using valid query string characters that do
+not need to be encoded, then you can provide a string to Url::setQuery() and
+pass true as the second argument to specify that the query string is a raw
+string that should not be parsed or encoded (unless a call to getQuery() is
+subsequently made, forcing the query-string to be converted into a Query
+object).
+
+## 5.0.2 - 2014-10-30
+
+* Added a trailing `\r\n` to multipart/form-data payloads. See
+ https://github.com/guzzle/guzzle/pull/871
+* Added a `GuzzleHttp\Pool::send()` convenience method to match the docs.
+* Status codes are now returned as integers. See
+ https://github.com/guzzle/guzzle/issues/881
+* No longer overwriting an existing `application/x-www-form-urlencoded` header
+ when sending POST requests, allowing for customized headers. See
+ https://github.com/guzzle/guzzle/issues/877
+* Improved path URL serialization.
+
+ * No longer double percent-encoding characters in the path or query string if
+ they are already encoded.
+ * Now properly encoding the supplied path to a URL object, instead of only
+ encoding ' ' and '?'.
+ * Note: This has been changed in 5.0.3 to now encode query string values by
+ default unless the `rawString` argument is provided when setting the query
+ string on a URL: Now allowing many more characters to be present in the
+ query string without being percent encoded. See http://tools.ietf.org/html/rfc3986#appendix-A
+
+## 5.0.1 - 2014-10-16
+
+Bugfix release.
+
+* Fixed an issue where connection errors still returned response object in
+ error and end events event though the response is unusable. This has been
+ corrected so that a response is not returned in the `getResponse` method of
+ these events if the response did not complete. https://github.com/guzzle/guzzle/issues/867
+* Fixed an issue where transfer statistics were not being populated in the
+ RingBridge. https://github.com/guzzle/guzzle/issues/866
+
+## 5.0.0 - 2014-10-12
+
+Adding support for non-blocking responses and some minor API cleanup.
+
+### New Features
+
+* Added support for non-blocking responses based on `guzzlehttp/guzzle-ring`.
+* Added a public API for creating a default HTTP adapter.
+* Updated the redirect plugin to be non-blocking so that redirects are sent
+ concurrently. Other plugins like this can now be updated to be non-blocking.
+* Added a "progress" event so that you can get upload and download progress
+ events.
+* Added `GuzzleHttp\Pool` which implements FutureInterface and transfers
+ requests concurrently using a capped pool size as efficiently as possible.
+* Added `hasListeners()` to EmitterInterface.
+* Removed `GuzzleHttp\ClientInterface::sendAll` and marked
+ `GuzzleHttp\Client::sendAll` as deprecated (it's still there, just not the
+ recommended way).
+
+### Breaking changes
+
+The breaking changes in this release are relatively minor. The biggest thing to
+look out for is that request and response objects no longer implement fluent
+interfaces.
+
+* Removed the fluent interfaces (i.e., `return $this`) from requests,
+ responses, `GuzzleHttp\Collection`, `GuzzleHttp\Url`,
+ `GuzzleHttp\Query`, `GuzzleHttp\Post\PostBody`, and
+ `GuzzleHttp\Cookie\SetCookie`. This blog post provides a good outline of
+ why I did this: http://ocramius.github.io/blog/fluent-interfaces-are-evil/.
+ This also makes the Guzzle message interfaces compatible with the current
+ PSR-7 message proposal.
+* Removed "functions.php", so that Guzzle is truly PSR-4 compliant. Except
+ for the HTTP request functions from function.php, these functions are now
+ implemented in `GuzzleHttp\Utils` using camelCase. `GuzzleHttp\json_decode`
+ moved to `GuzzleHttp\Utils::jsonDecode`. `GuzzleHttp\get_path` moved to
+ `GuzzleHttp\Utils::getPath`. `GuzzleHttp\set_path` moved to
+ `GuzzleHttp\Utils::setPath`. `GuzzleHttp\batch` should now be
+ `GuzzleHttp\Pool::batch`, which returns an `objectStorage`. Using functions.php
+ caused problems for many users: they aren't PSR-4 compliant, require an
+ explicit include, and needed an if-guard to ensure that the functions are not
+ declared multiple times.
+* Rewrote adapter layer.
+ * Removing all classes from `GuzzleHttp\Adapter`, these are now
+ implemented as callables that are stored in `GuzzleHttp\Ring\Client`.
+ * Removed the concept of "parallel adapters". Sending requests serially or
+ concurrently is now handled using a single adapter.
+ * Moved `GuzzleHttp\Adapter\Transaction` to `GuzzleHttp\Transaction`. The
+ Transaction object now exposes the request, response, and client as public
+ properties. The getters and setters have been removed.
+* Removed the "headers" event. This event was only useful for changing the
+ body a response once the headers of the response were known. You can implement
+ a similar behavior in a number of ways. One example might be to use a
+ FnStream that has access to the transaction being sent. For example, when the
+ first byte is written, you could check if the response headers match your
+ expectations, and if so, change the actual stream body that is being
+ written to.
+* Removed the `asArray` parameter from
+ `GuzzleHttp\Message\MessageInterface::getHeader`. If you want to get a header
+ value as an array, then use the newly added `getHeaderAsArray()` method of
+ `MessageInterface`. This change makes the Guzzle interfaces compatible with
+ the PSR-7 interfaces.
+* `GuzzleHttp\Message\MessageFactory` no longer allows subclasses to add
+ custom request options using double-dispatch (this was an implementation
+ detail). Instead, you should now provide an associative array to the
+ constructor which is a mapping of the request option name mapping to a
+ function that applies the option value to a request.
+* Removed the concept of "throwImmediately" from exceptions and error events.
+ This control mechanism was used to stop a transfer of concurrent requests
+ from completing. This can now be handled by throwing the exception or by
+ cancelling a pool of requests or each outstanding future request individually.
+* Updated to "GuzzleHttp\Streams" 3.0.
+ * `GuzzleHttp\Stream\StreamInterface::getContents()` no longer accepts a
+ `maxLen` parameter. This update makes the Guzzle streams project
+ compatible with the current PSR-7 proposal.
+ * `GuzzleHttp\Stream\Stream::__construct`,
+ `GuzzleHttp\Stream\Stream::factory`, and
+ `GuzzleHttp\Stream\Utils::create` no longer accept a size in the second
+ argument. They now accept an associative array of options, including the
+ "size" key and "metadata" key which can be used to provide custom metadata.
+
+## 4.2.2 - 2014-09-08
+
+* Fixed a memory leak in the CurlAdapter when reusing cURL handles.
+* No longer using `request_fulluri` in stream adapter proxies.
+* Relative redirects are now based on the last response, not the first response.
+
+## 4.2.1 - 2014-08-19
+
+* Ensuring that the StreamAdapter does not always add a Content-Type header
+* Adding automated github releases with a phar and zip
+
+## 4.2.0 - 2014-08-17
+
+* Now merging in default options using a case-insensitive comparison.
+ Closes https://github.com/guzzle/guzzle/issues/767
+* Added the ability to automatically decode `Content-Encoding` response bodies
+ using the `decode_content` request option. This is set to `true` by default
+ to decode the response body if it comes over the wire with a
+ `Content-Encoding`. Set this value to `false` to disable decoding the
+ response content, and pass a string to provide a request `Accept-Encoding`
+ header and turn on automatic response decoding. This feature now allows you
+ to pass an `Accept-Encoding` header in the headers of a request but still
+ disable automatic response decoding.
+ Closes https://github.com/guzzle/guzzle/issues/764
+* Added the ability to throw an exception immediately when transferring
+ requests in parallel. Closes https://github.com/guzzle/guzzle/issues/760
+* Updating guzzlehttp/streams dependency to ~2.1
+* No longer utilizing the now deprecated namespaced methods from the stream
+ package.
+
+## 4.1.8 - 2014-08-14
+
+* Fixed an issue in the CurlFactory that caused setting the `stream=false`
+ request option to throw an exception.
+ See: https://github.com/guzzle/guzzle/issues/769
+* TransactionIterator now calls rewind on the inner iterator.
+ See: https://github.com/guzzle/guzzle/pull/765
+* You can now set the `Content-Type` header to `multipart/form-data`
+ when creating POST requests to force multipart bodies.
+ See https://github.com/guzzle/guzzle/issues/768
+
+## 4.1.7 - 2014-08-07
+
+* Fixed an error in the HistoryPlugin that caused the same request and response
+ to be logged multiple times when an HTTP protocol error occurs.
+* Ensuring that cURL does not add a default Content-Type when no Content-Type
+ has been supplied by the user. This prevents the adapter layer from modifying
+ the request that is sent over the wire after any listeners may have already
+ put the request in a desired state (e.g., signed the request).
+* Throwing an exception when you attempt to send requests that have the
+ "stream" set to true in parallel using the MultiAdapter.
+* Only calling curl_multi_select when there are active cURL handles. This was
+ previously changed and caused performance problems on some systems due to PHP
+ always selecting until the maximum select timeout.
+* Fixed a bug where multipart/form-data POST fields were not correctly
+ aggregated (e.g., values with "&").
+
+## 4.1.6 - 2014-08-03
+
+* Added helper methods to make it easier to represent messages as strings,
+ including getting the start line and getting headers as a string.
+
+## 4.1.5 - 2014-08-02
+
+* Automatically retrying cURL "Connection died, retrying a fresh connect"
+ errors when possible.
+* cURL implementation cleanup
+* Allowing multiple event subscriber listeners to be registered per event by
+ passing an array of arrays of listener configuration.
+
+## 4.1.4 - 2014-07-22
+
+* Fixed a bug that caused multi-part POST requests with more than one field to
+ serialize incorrectly.
+* Paths can now be set to "0"
+* `ResponseInterface::xml` now accepts a `libxml_options` option and added a
+ missing default argument that was required when parsing XML response bodies.
+* A `save_to` stream is now created lazily, which means that files are not
+ created on disk unless a request succeeds.
+
+## 4.1.3 - 2014-07-15
+
+* Various fixes to multipart/form-data POST uploads
+* Wrapping function.php in an if-statement to ensure Guzzle can be used
+ globally and in a Composer install
+* Fixed an issue with generating and merging in events to an event array
+* POST headers are only applied before sending a request to allow you to change
+ the query aggregator used before uploading
+* Added much more robust query string parsing
+* Fixed various parsing and normalization issues with URLs
+* Fixing an issue where multi-valued headers were not being utilized correctly
+ in the StreamAdapter
+
+## 4.1.2 - 2014-06-18
+
+* Added support for sending payloads with GET requests
+
+## 4.1.1 - 2014-06-08
+
+* Fixed an issue related to using custom message factory options in subclasses
+* Fixed an issue with nested form fields in a multi-part POST
+* Fixed an issue with using the `json` request option for POST requests
+* Added `ToArrayInterface` to `GuzzleHttp\Cookie\CookieJar`
+
+## 4.1.0 - 2014-05-27
+
+* Added a `json` request option to easily serialize JSON payloads.
+* Added a `GuzzleHttp\json_decode()` wrapper to safely parse JSON.
+* Added `setPort()` and `getPort()` to `GuzzleHttp\Message\RequestInterface`.
+* Added the ability to provide an emitter to a client in the client constructor.
+* Added the ability to persist a cookie session using $_SESSION.
+* Added a trait that can be used to add event listeners to an iterator.
+* Removed request method constants from RequestInterface.
+* Fixed warning when invalid request start-lines are received.
+* Updated MessageFactory to work with custom request option methods.
+* Updated cacert bundle to latest build.
+
+4.0.2 (2014-04-16)
+------------------
+
+* Proxy requests using the StreamAdapter now properly use request_fulluri (#632)
+* Added the ability to set scalars as POST fields (#628)
+
+## 4.0.1 - 2014-04-04
+
+* The HTTP status code of a response is now set as the exception code of
+ RequestException objects.
+* 303 redirects will now correctly switch from POST to GET requests.
+* The default parallel adapter of a client now correctly uses the MultiAdapter.
+* HasDataTrait now initializes the internal data array as an empty array so
+ that the toArray() method always returns an array.
+
+## 4.0.0 - 2014-03-29
+
+* For more information on the 4.0 transition, see:
+ http://mtdowling.com/blog/2014/03/15/guzzle-4-rc/
+* For information on changes and upgrading, see:
+ https://github.com/guzzle/guzzle/blob/master/UPGRADING.md#3x-to-40
+* Added `GuzzleHttp\batch()` as a convenience function for sending requests in
+ parallel without needing to write asynchronous code.
+* Restructured how events are added to `GuzzleHttp\ClientInterface::sendAll()`.
+ You can now pass a callable or an array of associative arrays where each
+ associative array contains the "fn", "priority", and "once" keys.
+
+## 4.0.0.rc-2 - 2014-03-25
+
+* Removed `getConfig()` and `setConfig()` from clients to avoid confusion
+ around whether things like base_url, message_factory, etc. should be able to
+ be retrieved or modified.
+* Added `getDefaultOption()` and `setDefaultOption()` to ClientInterface
+* functions.php functions were renamed using snake_case to match PHP idioms
+* Added support for `HTTP_PROXY`, `HTTPS_PROXY`, and
+ `GUZZLE_CURL_SELECT_TIMEOUT` environment variables
+* Added the ability to specify custom `sendAll()` event priorities
+* Added the ability to specify custom stream context options to the stream
+ adapter.
+* Added a functions.php function for `get_path()` and `set_path()`
+* CurlAdapter and MultiAdapter now use a callable to generate curl resources
+* MockAdapter now properly reads a body and emits a `headers` event
+* Updated Url class to check if a scheme and host are set before adding ":"
+ and "//". This allows empty Url (e.g., "") to be serialized as "".
+* Parsing invalid XML no longer emits warnings
+* Curl classes now properly throw AdapterExceptions
+* Various performance optimizations
+* Streams are created with the faster `Stream\create()` function
+* Marked deprecation_proxy() as internal
+* Test server is now a collection of static methods on a class
+
+## 4.0.0-rc.1 - 2014-03-15
+
+* See https://github.com/guzzle/guzzle/blob/master/UPGRADING.md#3x-to-40
+
+## 3.8.1 - 2014-01-28
+
+* Bug: Always using GET requests when redirecting from a 303 response
+* Bug: CURLOPT_SSL_VERIFYHOST is now correctly set to false when setting `$certificateAuthority` to false in
+ `Guzzle\Http\ClientInterface::setSslVerification()`
+* Bug: RedirectPlugin now uses strict RFC 3986 compliance when combining a base URL with a relative URL
+* Bug: The body of a request can now be set to `"0"`
+* Sending PHP stream requests no longer forces `HTTP/1.0`
+* Adding more information to ExceptionCollection exceptions so that users have more context, including a stack trace of
+ each sub-exception
+* Updated the `$ref` attribute in service descriptions to merge over any existing parameters of a schema (rather than
+ clobbering everything).
+* Merging URLs will now use the query string object from the relative URL (thus allowing custom query aggregators)
+* Query strings are now parsed in a way that they do no convert empty keys with no value to have a dangling `=`.
+ For example `foo&bar=baz` is now correctly parsed and recognized as `foo&bar=baz` rather than `foo=&bar=baz`.
+* Now properly escaping the regular expression delimiter when matching Cookie domains.
+* Network access is now disabled when loading XML documents
+
+## 3.8.0 - 2013-12-05
+
+* Added the ability to define a POST name for a file
+* JSON response parsing now properly walks additionalProperties
+* cURL error code 18 is now retried automatically in the BackoffPlugin
+* Fixed a cURL error when URLs contain fragments
+* Fixed an issue in the BackoffPlugin retry event where it was trying to access all exceptions as if they were
+ CurlExceptions
+* CURLOPT_PROGRESS function fix for PHP 5.5 (69fcc1e)
+* Added the ability for Guzzle to work with older versions of cURL that do not support `CURLOPT_TIMEOUT_MS`
+* Fixed a bug that was encountered when parsing empty header parameters
+* UriTemplate now has a `setRegex()` method to match the docs
+* The `debug` request parameter now checks if it is truthy rather than if it exists
+* Setting the `debug` request parameter to true shows verbose cURL output instead of using the LogPlugin
+* Added the ability to combine URLs using strict RFC 3986 compliance
+* Command objects can now return the validation errors encountered by the command
+* Various fixes to cache revalidation (#437 and 29797e5)
+* Various fixes to the AsyncPlugin
+* Cleaned up build scripts
+
+## 3.7.4 - 2013-10-02
+
+* Bug fix: 0 is now an allowed value in a description parameter that has a default value (#430)
+* Bug fix: SchemaFormatter now returns an integer when formatting to a Unix timestamp
+ (see https://github.com/aws/aws-sdk-php/issues/147)
+* Bug fix: Cleaned up and fixed URL dot segment removal to properly resolve internal dots
+* Minimum PHP version is now properly specified as 5.3.3 (up from 5.3.2) (#420)
+* Updated the bundled cacert.pem (#419)
+* OauthPlugin now supports adding authentication to headers or query string (#425)
+
+## 3.7.3 - 2013-09-08
+
+* Added the ability to get the exception associated with a request/command when using `MultiTransferException` and
+ `CommandTransferException`.
+* Setting `additionalParameters` of a response to false is now honored when parsing responses with a service description
+* Schemas are only injected into response models when explicitly configured.
+* No longer guessing Content-Type based on the path of a request. Content-Type is now only guessed based on the path of
+ an EntityBody.
+* Bug fix: ChunkedIterator can now properly chunk a \Traversable as well as an \Iterator.
+* Bug fix: FilterIterator now relies on `\Iterator` instead of `\Traversable`.
+* Bug fix: Gracefully handling malformed responses in RequestMediator::writeResponseBody()
+* Bug fix: Replaced call to canCache with canCacheRequest in the CallbackCanCacheStrategy of the CachePlugin
+* Bug fix: Visiting XML attributes first before visiting XML children when serializing requests
+* Bug fix: Properly parsing headers that contain commas contained in quotes
+* Bug fix: mimetype guessing based on a filename is now case-insensitive
+
+## 3.7.2 - 2013-08-02
+
+* Bug fix: Properly URL encoding paths when using the PHP-only version of the UriTemplate expander
+ See https://github.com/guzzle/guzzle/issues/371
+* Bug fix: Cookie domains are now matched correctly according to RFC 6265
+ See https://github.com/guzzle/guzzle/issues/377
+* Bug fix: GET parameters are now used when calculating an OAuth signature
+* Bug fix: Fixed an issue with cache revalidation where the If-None-Match header was being double quoted
+* `Guzzle\Common\AbstractHasDispatcher::dispatch()` now returns the event that was dispatched
+* `Guzzle\Http\QueryString::factory()` now guesses the most appropriate query aggregator to used based on the input.
+ See https://github.com/guzzle/guzzle/issues/379
+* Added a way to add custom domain objects to service description parsing using the `operation.parse_class` event. See
+ https://github.com/guzzle/guzzle/pull/380
+* cURL multi cleanup and optimizations
+
+## 3.7.1 - 2013-07-05
+
+* Bug fix: Setting default options on a client now works
+* Bug fix: Setting options on HEAD requests now works. See #352
+* Bug fix: Moving stream factory before send event to before building the stream. See #353
+* Bug fix: Cookies no longer match on IP addresses per RFC 6265
+* Bug fix: Correctly parsing header parameters that are in `<>` and quotes
+* Added `cert` and `ssl_key` as request options
+* `Host` header can now diverge from the host part of a URL if the header is set manually
+* `Guzzle\Service\Command\LocationVisitor\Request\XmlVisitor` was rewritten to change from using SimpleXML to XMLWriter
+* OAuth parameters are only added via the plugin if they aren't already set
+* Exceptions are now thrown when a URL cannot be parsed
+* Returning `false` if `Guzzle\Http\EntityBody::getContentMd5()` fails
+* Not setting a `Content-MD5` on a command if calculating the Content-MD5 fails via the CommandContentMd5Plugin
+
+## 3.7.0 - 2013-06-10
+
+* See UPGRADING.md for more information on how to upgrade.
+* Requests now support the ability to specify an array of $options when creating a request to more easily modify a
+ request. You can pass a 'request.options' configuration setting to a client to apply default request options to
+ every request created by a client (e.g. default query string variables, headers, curl options, etc.).
+* Added a static facade class that allows you to use Guzzle with static methods and mount the class to `\Guzzle`.
+ See `Guzzle\Http\StaticClient::mount`.
+* Added `command.request_options` to `Guzzle\Service\Command\AbstractCommand` to pass request options to requests
+ created by a command (e.g. custom headers, query string variables, timeout settings, etc.).
+* Stream size in `Guzzle\Stream\PhpStreamRequestFactory` will now be set if Content-Length is returned in the
+ headers of a response
+* Added `Guzzle\Common\Collection::setPath($path, $value)` to set a value into an array using a nested key
+ (e.g. `$collection->setPath('foo/baz/bar', 'test'); echo $collection['foo']['bar']['bar'];`)
+* ServiceBuilders now support storing and retrieving arbitrary data
+* CachePlugin can now purge all resources for a given URI
+* CachePlugin can automatically purge matching cached items when a non-idempotent request is sent to a resource
+* CachePlugin now uses the Vary header to determine if a resource is a cache hit
+* `Guzzle\Http\Message\Response` now implements `\Serializable`
+* Added `Guzzle\Cache\CacheAdapterFactory::fromCache()` to more easily create cache adapters
+* `Guzzle\Service\ClientInterface::execute()` now accepts an array, single command, or Traversable
+* Fixed a bug in `Guzzle\Http\Message\Header\Link::addLink()`
+* Better handling of calculating the size of a stream in `Guzzle\Stream\Stream` using fstat() and caching the size
+* `Guzzle\Common\Exception\ExceptionCollection` now creates a more readable exception message
+* Fixing BC break: Added back the MonologLogAdapter implementation rather than extending from PsrLog so that older
+ Symfony users can still use the old version of Monolog.
+* Fixing BC break: Added the implementation back in for `Guzzle\Http\Message\AbstractMessage::getTokenizedHeader()`.
+ Now triggering an E_USER_DEPRECATED warning when used. Use `$message->getHeader()->parseParams()`.
+* Several performance improvements to `Guzzle\Common\Collection`
+* Added an `$options` argument to the end of the following methods of `Guzzle\Http\ClientInterface`:
+ createRequest, head, delete, put, patch, post, options, prepareRequest
+* Added an `$options` argument to the end of `Guzzle\Http\Message\Request\RequestFactoryInterface::createRequest()`
+* Added an `applyOptions()` method to `Guzzle\Http\Message\Request\RequestFactoryInterface`
+* Changed `Guzzle\Http\ClientInterface::get($uri = null, $headers = null, $body = null)` to
+ `Guzzle\Http\ClientInterface::get($uri = null, $headers = null, $options = array())`. You can still pass in a
+ resource, string, or EntityBody into the $options parameter to specify the download location of the response.
+* Changed `Guzzle\Common\Collection::__construct($data)` to no longer accepts a null value for `$data` but a
+ default `array()`
+* Added `Guzzle\Stream\StreamInterface::isRepeatable`
+* Removed `Guzzle\Http\ClientInterface::setDefaultHeaders(). Use
+ $client->getConfig()->setPath('request.options/headers/{header_name}', 'value')`. or
+ $client->getConfig()->setPath('request.options/headers', array('header_name' => 'value'))`.
+* Removed `Guzzle\Http\ClientInterface::getDefaultHeaders(). Use $client->getConfig()->getPath('request.options/headers')`.
+* Removed `Guzzle\Http\ClientInterface::expandTemplate()`
+* Removed `Guzzle\Http\ClientInterface::setRequestFactory()`
+* Removed `Guzzle\Http\ClientInterface::getCurlMulti()`
+* Removed `Guzzle\Http\Message\RequestInterface::canCache`
+* Removed `Guzzle\Http\Message\RequestInterface::setIsRedirect`
+* Removed `Guzzle\Http\Message\RequestInterface::isRedirect`
+* Made `Guzzle\Http\Client::expandTemplate` and `getUriTemplate` protected methods.
+* You can now enable E_USER_DEPRECATED warnings to see if you are using a deprecated method by setting
+ `Guzzle\Common\Version::$emitWarnings` to true.
+* Marked `Guzzle\Http\Message\Request::isResponseBodyRepeatable()` as deprecated. Use
+ `$request->getResponseBody()->isRepeatable()` instead.
+* Marked `Guzzle\Http\Message\Request::canCache()` as deprecated. Use
+ `Guzzle\Plugin\Cache\DefaultCanCacheStrategy->canCacheRequest()` instead.
+* Marked `Guzzle\Http\Message\Request::canCache()` as deprecated. Use
+ `Guzzle\Plugin\Cache\DefaultCanCacheStrategy->canCacheRequest()` instead.
+* Marked `Guzzle\Http\Message\Request::setIsRedirect()` as deprecated. Use the HistoryPlugin instead.
+* Marked `Guzzle\Http\Message\Request::isRedirect()` as deprecated. Use the HistoryPlugin instead.
+* Marked `Guzzle\Cache\CacheAdapterFactory::factory()` as deprecated
+* Marked 'command.headers', 'command.response_body' and 'command.on_complete' as deprecated for AbstractCommand.
+ These will work through Guzzle 4.0
+* Marked 'request.params' for `Guzzle\Http\Client` as deprecated. Use [request.options][params].
+* Marked `Guzzle\Service\Client::enableMagicMethods()` as deprecated. Magic methods can no longer be disabled on a Guzzle\Service\Client.
+* Marked `Guzzle\Service\Client::getDefaultHeaders()` as deprecated. Use $client->getConfig()->getPath('request.options/headers')`.
+* Marked `Guzzle\Service\Client::setDefaultHeaders()` as deprecated. Use $client->getConfig()->setPath('request.options/headers/{header_name}', 'value')`.
+* Marked `Guzzle\Parser\Url\UrlParser` as deprecated. Just use PHP's `parse_url()` and percent encode your UTF-8.
+* Marked `Guzzle\Common\Collection::inject()` as deprecated.
+* Marked `Guzzle\Plugin\CurlAuth\CurlAuthPlugin` as deprecated. Use `$client->getConfig()->setPath('request.options/auth', array('user', 'pass', 'Basic|Digest');`
+* CacheKeyProviderInterface and DefaultCacheKeyProvider are no longer used. All of this logic is handled in a
+ CacheStorageInterface. These two objects and interface will be removed in a future version.
+* Always setting X-cache headers on cached responses
+* Default cache TTLs are now handled by the CacheStorageInterface of a CachePlugin
+* `CacheStorageInterface::cache($key, Response $response, $ttl = null)` has changed to `cache(RequestInterface
+ $request, Response $response);`
+* `CacheStorageInterface::fetch($key)` has changed to `fetch(RequestInterface $request);`
+* `CacheStorageInterface::delete($key)` has changed to `delete(RequestInterface $request);`
+* Added `CacheStorageInterface::purge($url)`
+* `DefaultRevalidation::__construct(CacheKeyProviderInterface $cacheKey, CacheStorageInterface $cache, CachePlugin
+ $plugin)` has changed to `DefaultRevalidation::__construct(CacheStorageInterface $cache,
+ CanCacheStrategyInterface $canCache = null)`
+* Added `RevalidationInterface::shouldRevalidate(RequestInterface $request, Response $response)`
+
+## 3.6.0 - 2013-05-29
+
+* ServiceDescription now implements ToArrayInterface
+* Added command.hidden_params to blacklist certain headers from being treated as additionalParameters
+* Guzzle can now correctly parse incomplete URLs
+* Mixed casing of headers are now forced to be a single consistent casing across all values for that header.
+* Messages internally use a HeaderCollection object to delegate handling case-insensitive header resolution
+* Removed the whole changedHeader() function system of messages because all header changes now go through addHeader().
+* Specific header implementations can be created for complex headers. When a message creates a header, it uses a
+ HeaderFactory which can map specific headers to specific header classes. There is now a Link header and
+ CacheControl header implementation.
+* Removed from interface: Guzzle\Http\ClientInterface::setUriTemplate
+* Removed from interface: Guzzle\Http\ClientInterface::setCurlMulti()
+* Removed Guzzle\Http\Message\Request::receivedRequestHeader() and implemented this functionality in
+ Guzzle\Http\Curl\RequestMediator
+* Removed the optional $asString parameter from MessageInterface::getHeader(). Just cast the header to a string.
+* Removed the optional $tryChunkedTransfer option from Guzzle\Http\Message\EntityEnclosingRequestInterface
+* Removed the $asObjects argument from Guzzle\Http\Message\MessageInterface::getHeaders()
+* Removed Guzzle\Parser\ParserRegister::get(). Use getParser()
+* Removed Guzzle\Parser\ParserRegister::set(). Use registerParser().
+* All response header helper functions return a string rather than mixing Header objects and strings inconsistently
+* Removed cURL blacklist support. This is no longer necessary now that Expect, Accept, etc. are managed by Guzzle
+ directly via interfaces
+* Removed the injecting of a request object onto a response object. The methods to get and set a request still exist
+ but are a no-op until removed.
+* Most classes that used to require a `Guzzle\Service\Command\CommandInterface` typehint now request a
+ `Guzzle\Service\Command\ArrayCommandInterface`.
+* Added `Guzzle\Http\Message\RequestInterface::startResponse()` to the RequestInterface to handle injecting a response
+ on a request while the request is still being transferred
+* The ability to case-insensitively search for header values
+* Guzzle\Http\Message\Header::hasExactHeader
+* Guzzle\Http\Message\Header::raw. Use getAll()
+* Deprecated cache control specific methods on Guzzle\Http\Message\AbstractMessage. Use the CacheControl header object
+ instead.
+* `Guzzle\Service\Command\CommandInterface` now extends from ToArrayInterface and ArrayAccess
+* Added the ability to cast Model objects to a string to view debug information.
+
+## 3.5.0 - 2013-05-13
+
+* Bug: Fixed a regression so that request responses are parsed only once per oncomplete event rather than multiple times
+* Bug: Better cleanup of one-time events across the board (when an event is meant to fire once, it will now remove
+ itself from the EventDispatcher)
+* Bug: `Guzzle\Log\MessageFormatter` now properly writes "total_time" and "connect_time" values
+* Bug: Cloning an EntityEnclosingRequest now clones the EntityBody too
+* Bug: Fixed an undefined index error when parsing nested JSON responses with a sentAs parameter that reference a
+ non-existent key
+* Bug: All __call() method arguments are now required (helps with mocking frameworks)
+* Deprecating Response::getRequest() and now using a shallow clone of a request object to remove a circular reference
+ to help with refcount based garbage collection of resources created by sending a request
+* Deprecating ZF1 cache and log adapters. These will be removed in the next major version.
+* Deprecating `Response::getPreviousResponse()` (method signature still exists, but it's deprecated). Use the
+ HistoryPlugin for a history.
+* Added a `responseBody` alias for the `response_body` location
+* Refactored internals to no longer rely on Response::getRequest()
+* HistoryPlugin can now be cast to a string
+* HistoryPlugin now logs transactions rather than requests and responses to more accurately keep track of the requests
+ and responses that are sent over the wire
+* Added `getEffectiveUrl()` and `getRedirectCount()` to Response objects
+
+## 3.4.3 - 2013-04-30
+
+* Bug fix: Fixing bug introduced in 3.4.2 where redirect responses are duplicated on the final redirected response
+* Added a check to re-extract the temp cacert bundle from the phar before sending each request
+
+## 3.4.2 - 2013-04-29
+
+* Bug fix: Stream objects now work correctly with "a" and "a+" modes
+* Bug fix: Removing `Transfer-Encoding: chunked` header when a Content-Length is present
+* Bug fix: AsyncPlugin no longer forces HEAD requests
+* Bug fix: DateTime timezones are now properly handled when using the service description schema formatter
+* Bug fix: CachePlugin now properly handles stale-if-error directives when a request to the origin server fails
+* Setting a response on a request will write to the custom request body from the response body if one is specified
+* LogPlugin now writes to php://output when STDERR is undefined
+* Added the ability to set multiple POST files for the same key in a single call
+* application/x-www-form-urlencoded POSTs now use the utf-8 charset by default
+* Added the ability to queue CurlExceptions to the MockPlugin
+* Cleaned up how manual responses are queued on requests (removed "queued_response" and now using request.before_send)
+* Configuration loading now allows remote files
+
+## 3.4.1 - 2013-04-16
+
+* Large refactoring to how CurlMulti handles work. There is now a proxy that sits in front of a pool of CurlMulti
+ handles. This greatly simplifies the implementation, fixes a couple bugs, and provides a small performance boost.
+* Exceptions are now properly grouped when sending requests in parallel
+* Redirects are now properly aggregated when a multi transaction fails
+* Redirects now set the response on the original object even in the event of a failure
+* Bug fix: Model names are now properly set even when using $refs
+* Added support for PHP 5.5's CurlFile to prevent warnings with the deprecated @ syntax
+* Added support for oauth_callback in OAuth signatures
+* Added support for oauth_verifier in OAuth signatures
+* Added support to attempt to retrieve a command first literally, then ucfirst, the with inflection
+
+## 3.4.0 - 2013-04-11
+
+* Bug fix: URLs are now resolved correctly based on http://tools.ietf.org/html/rfc3986#section-5.2. #289
+* Bug fix: Absolute URLs with a path in a service description will now properly override the base URL. #289
+* Bug fix: Parsing a query string with a single PHP array value will now result in an array. #263
+* Bug fix: Better normalization of the User-Agent header to prevent duplicate headers. #264.
+* Bug fix: Added `number` type to service descriptions.
+* Bug fix: empty parameters are removed from an OAuth signature
+* Bug fix: Revalidating a cache entry prefers the Last-Modified over the Date header
+* Bug fix: Fixed "array to string" error when validating a union of types in a service description
+* Bug fix: Removed code that attempted to determine the size of a stream when data is written to the stream
+* Bug fix: Not including an `oauth_token` if the value is null in the OauthPlugin.
+* Bug fix: Now correctly aggregating successful requests and failed requests in CurlMulti when a redirect occurs.
+* The new default CURLOPT_TIMEOUT setting has been increased to 150 seconds so that Guzzle works on poor connections.
+* Added a feature to EntityEnclosingRequest::setBody() that will automatically set the Content-Type of the request if
+ the Content-Type can be determined based on the entity body or the path of the request.
+* Added the ability to overwrite configuration settings in a client when grabbing a throwaway client from a builder.
+* Added support for a PSR-3 LogAdapter.
+* Added a `command.after_prepare` event
+* Added `oauth_callback` parameter to the OauthPlugin
+* Added the ability to create a custom stream class when using a stream factory
+* Added a CachingEntityBody decorator
+* Added support for `additionalParameters` in service descriptions to define how custom parameters are serialized.
+* The bundled SSL certificate is now provided in the phar file and extracted when running Guzzle from a phar.
+* You can now send any EntityEnclosingRequest with POST fields or POST files and cURL will handle creating bodies
+* POST requests using a custom entity body are now treated exactly like PUT requests but with a custom cURL method. This
+ means that the redirect behavior of POST requests with custom bodies will not be the same as POST requests that use
+ POST fields or files (the latter is only used when emulating a form POST in the browser).
+* Lots of cleanup to CurlHandle::factory and RequestFactory::createRequest
+
+## 3.3.1 - 2013-03-10
+
+* Added the ability to create PHP streaming responses from HTTP requests
+* Bug fix: Running any filters when parsing response headers with service descriptions
+* Bug fix: OauthPlugin fixes to allow for multi-dimensional array signing, and sorting parameters before signing
+* Bug fix: Removed the adding of default empty arrays and false Booleans to responses in order to be consistent across
+ response location visitors.
+* Bug fix: Removed the possibility of creating configuration files with circular dependencies
+* RequestFactory::create() now uses the key of a POST file when setting the POST file name
+* Added xmlAllowEmpty to serialize an XML body even if no XML specific parameters are set
+
+## 3.3.0 - 2013-03-03
+
+* A large number of performance optimizations have been made
+* Bug fix: Added 'wb' as a valid write mode for streams
+* Bug fix: `Guzzle\Http\Message\Response::json()` now allows scalar values to be returned
+* Bug fix: Fixed bug in `Guzzle\Http\Message\Response` where wrapping quotes were stripped from `getEtag()`
+* BC: Removed `Guzzle\Http\Utils` class
+* BC: Setting a service description on a client will no longer modify the client's command factories.
+* BC: Emitting IO events from a RequestMediator is now a parameter that must be set in a request's curl options using
+ the 'emit_io' key. This was previously set under a request's parameters using 'curl.emit_io'
+* BC: `Guzzle\Stream\Stream::getWrapper()` and `Guzzle\Stream\Stream::getSteamType()` are no longer converted to
+ lowercase
+* Operation parameter objects are now lazy loaded internally
+* Added ErrorResponsePlugin that can throw errors for responses defined in service description operations' errorResponses
+* Added support for instantiating responseType=class responseClass classes. Classes must implement
+ `Guzzle\Service\Command\ResponseClassInterface`
+* Added support for additionalProperties for top-level parameters in responseType=model responseClasses. These
+ additional properties also support locations and can be used to parse JSON responses where the outermost part of the
+ JSON is an array
+* Added support for nested renaming of JSON models (rename sentAs to name)
+* CachePlugin
+ * Added support for stale-if-error so that the CachePlugin can now serve stale content from the cache on error
+ * Debug headers can now added to cached response in the CachePlugin
+
+## 3.2.0 - 2013-02-14
+
+* CurlMulti is no longer reused globally. A new multi object is created per-client. This helps to isolate clients.
+* URLs with no path no longer contain a "/" by default
+* Guzzle\Http\QueryString does no longer manages the leading "?". This is now handled in Guzzle\Http\Url.
+* BadResponseException no longer includes the full request and response message
+* Adding setData() to Guzzle\Service\Description\ServiceDescriptionInterface
+* Adding getResponseBody() to Guzzle\Http\Message\RequestInterface
+* Various updates to classes to use ServiceDescriptionInterface type hints rather than ServiceDescription
+* Header values can now be normalized into distinct values when multiple headers are combined with a comma separated list
+* xmlEncoding can now be customized for the XML declaration of a XML service description operation
+* Guzzle\Http\QueryString now uses Guzzle\Http\QueryAggregator\QueryAggregatorInterface objects to add custom value
+ aggregation and no longer uses callbacks
+* The URL encoding implementation of Guzzle\Http\QueryString can now be customized
+* Bug fix: Filters were not always invoked for array service description parameters
+* Bug fix: Redirects now use a target response body rather than a temporary response body
+* Bug fix: The default exponential backoff BackoffPlugin was not giving when the request threshold was exceeded
+* Bug fix: Guzzle now takes the first found value when grabbing Cache-Control directives
+
+## 3.1.2 - 2013-01-27
+
+* Refactored how operation responses are parsed. Visitors now include a before() method responsible for parsing the
+ response body. For example, the XmlVisitor now parses the XML response into an array in the before() method.
+* Fixed an issue where cURL would not automatically decompress responses when the Accept-Encoding header was sent
+* CURLOPT_SSL_VERIFYHOST is never set to 1 because it is deprecated (see 5e0ff2ef20f839e19d1eeb298f90ba3598784444)
+* Fixed a bug where redirect responses were not chained correctly using getPreviousResponse()
+* Setting default headers on a client after setting the user-agent will not erase the user-agent setting
+
+## 3.1.1 - 2013-01-20
+
+* Adding wildcard support to Guzzle\Common\Collection::getPath()
+* Adding alias support to ServiceBuilder configs
+* Adding Guzzle\Service\Resource\CompositeResourceIteratorFactory and cleaning up factory interface
+
+## 3.1.0 - 2013-01-12
+
+* BC: CurlException now extends from RequestException rather than BadResponseException
+* BC: Renamed Guzzle\Plugin\Cache\CanCacheStrategyInterface::canCache() to canCacheRequest() and added CanCacheResponse()
+* Added getData to ServiceDescriptionInterface
+* Added context array to RequestInterface::setState()
+* Bug: Removing hard dependency on the BackoffPlugin from Guzzle\Http
+* Bug: Adding required content-type when JSON request visitor adds JSON to a command
+* Bug: Fixing the serialization of a service description with custom data
+* Made it easier to deal with exceptions thrown when transferring commands or requests in parallel by providing
+ an array of successful and failed responses
+* Moved getPath from Guzzle\Service\Resource\Model to Guzzle\Common\Collection
+* Added Guzzle\Http\IoEmittingEntityBody
+* Moved command filtration from validators to location visitors
+* Added `extends` attributes to service description parameters
+* Added getModels to ServiceDescriptionInterface
+
+## 3.0.7 - 2012-12-19
+
+* Fixing phar detection when forcing a cacert to system if null or true
+* Allowing filename to be passed to `Guzzle\Http\Message\Request::setResponseBody()`
+* Cleaning up `Guzzle\Common\Collection::inject` method
+* Adding a response_body location to service descriptions
+
+## 3.0.6 - 2012-12-09
+
+* CurlMulti performance improvements
+* Adding setErrorResponses() to Operation
+* composer.json tweaks
+
+## 3.0.5 - 2012-11-18
+
+* Bug: Fixing an infinite recursion bug caused from revalidating with the CachePlugin
+* Bug: Response body can now be a string containing "0"
+* Bug: Using Guzzle inside of a phar uses system by default but now allows for a custom cacert
+* Bug: QueryString::fromString now properly parses query string parameters that contain equal signs
+* Added support for XML attributes in service description responses
+* DefaultRequestSerializer now supports array URI parameter values for URI template expansion
+* Added better mimetype guessing to requests and post files
+
+## 3.0.4 - 2012-11-11
+
+* Bug: Fixed a bug when adding multiple cookies to a request to use the correct glue value
+* Bug: Cookies can now be added that have a name, domain, or value set to "0"
+* Bug: Using the system cacert bundle when using the Phar
+* Added json and xml methods to Response to make it easier to parse JSON and XML response data into data structures
+* Enhanced cookie jar de-duplication
+* Added the ability to enable strict cookie jars that throw exceptions when invalid cookies are added
+* Added setStream to StreamInterface to actually make it possible to implement custom rewind behavior for entity bodies
+* Added the ability to create any sort of hash for a stream rather than just an MD5 hash
+
+## 3.0.3 - 2012-11-04
+
+* Implementing redirects in PHP rather than cURL
+* Added PECL URI template extension and using as default parser if available
+* Bug: Fixed Content-Length parsing of Response factory
+* Adding rewind() method to entity bodies and streams. Allows for custom rewinding of non-repeatable streams.
+* Adding ToArrayInterface throughout library
+* Fixing OauthPlugin to create unique nonce values per request
+
+## 3.0.2 - 2012-10-25
+
+* Magic methods are enabled by default on clients
+* Magic methods return the result of a command
+* Service clients no longer require a base_url option in the factory
+* Bug: Fixed an issue with URI templates where null template variables were being expanded
+
+## 3.0.1 - 2012-10-22
+
+* Models can now be used like regular collection objects by calling filter, map, etc.
+* Models no longer require a Parameter structure or initial data in the constructor
+* Added a custom AppendIterator to get around a PHP bug with the `\AppendIterator`
+
+## 3.0.0 - 2012-10-15
+
+* Rewrote service description format to be based on Swagger
+ * Now based on JSON schema
+ * Added nested input structures and nested response models
+ * Support for JSON and XML input and output models
+ * Renamed `commands` to `operations`
+ * Removed dot class notation
+ * Removed custom types
+* Broke the project into smaller top-level namespaces to be more component friendly
+* Removed support for XML configs and descriptions. Use arrays or JSON files.
+* Removed the Validation component and Inspector
+* Moved all cookie code to Guzzle\Plugin\Cookie
+* Magic methods on a Guzzle\Service\Client now return the command un-executed.
+* Calling getResult() or getResponse() on a command will lazily execute the command if needed.
+* Now shipping with cURL's CA certs and using it by default
+* Added previousResponse() method to response objects
+* No longer sending Accept and Accept-Encoding headers on every request
+* Only sending an Expect header by default when a payload is greater than 1MB
+* Added/moved client options:
+ * curl.blacklist to curl.option.blacklist
+ * Added ssl.certificate_authority
+* Added a Guzzle\Iterator component
+* Moved plugins from Guzzle\Http\Plugin to Guzzle\Plugin
+* Added a more robust backoff retry strategy (replaced the ExponentialBackoffPlugin)
+* Added a more robust caching plugin
+* Added setBody to response objects
+* Updating LogPlugin to use a more flexible MessageFormatter
+* Added a completely revamped build process
+* Cleaning up Collection class and removing default values from the get method
+* Fixed ZF2 cache adapters
+
+## 2.8.8 - 2012-10-15
+
+* Bug: Fixed a cookie issue that caused dot prefixed domains to not match where popular browsers did
+
+## 2.8.7 - 2012-09-30
+
+* Bug: Fixed config file aliases for JSON includes
+* Bug: Fixed cookie bug on a request object by using CookieParser to parse cookies on requests
+* Bug: Removing the path to a file when sending a Content-Disposition header on a POST upload
+* Bug: Hardening request and response parsing to account for missing parts
+* Bug: Fixed PEAR packaging
+* Bug: Fixed Request::getInfo
+* Bug: Fixed cases where CURLM_CALL_MULTI_PERFORM return codes were causing curl transactions to fail
+* Adding the ability for the namespace Iterator factory to look in multiple directories
+* Added more getters/setters/removers from service descriptions
+* Added the ability to remove POST fields from OAuth signatures
+* OAuth plugin now supports 2-legged OAuth
+
+## 2.8.6 - 2012-09-05
+
+* Added the ability to modify and build service descriptions
+* Added the use of visitors to apply parameters to locations in service descriptions using the dynamic command
+* Added a `json` parameter location
+* Now allowing dot notation for classes in the CacheAdapterFactory
+* Using the union of two arrays rather than an array_merge when extending service builder services and service params
+* Ensuring that a service is a string before doing strpos() checks on it when substituting services for references
+ in service builder config files.
+* Services defined in two different config files that include one another will by default replace the previously
+ defined service, but you can now create services that extend themselves and merge their settings over the previous
+* The JsonLoader now supports aliasing filenames with different filenames. This allows you to alias something like
+ '_default' with a default JSON configuration file.
+
+## 2.8.5 - 2012-08-29
+
+* Bug: Suppressed empty arrays from URI templates
+* Bug: Added the missing $options argument from ServiceDescription::factory to enable caching
+* Added support for HTTP responses that do not contain a reason phrase in the start-line
+* AbstractCommand commands are now invokable
+* Added a way to get the data used when signing an Oauth request before a request is sent
+
+## 2.8.4 - 2012-08-15
+
+* Bug: Custom delay time calculations are no longer ignored in the ExponentialBackoffPlugin
+* Added the ability to transfer entity bodies as a string rather than streamed. This gets around curl error 65. Set `body_as_string` in a request's curl options to enable.
+* Added a StreamInterface, EntityBodyInterface, and added ftell() to Guzzle\Common\Stream
+* Added an AbstractEntityBodyDecorator and a ReadLimitEntityBody decorator to transfer only a subset of a decorated stream
+* Stream and EntityBody objects will now return the file position to the previous position after a read required operation (e.g. getContentMd5())
+* Added additional response status codes
+* Removed SSL information from the default User-Agent header
+* DELETE requests can now send an entity body
+* Added an EventDispatcher to the ExponentialBackoffPlugin and added an ExponentialBackoffLogger to log backoff retries
+* Added the ability of the MockPlugin to consume mocked request bodies
+* LogPlugin now exposes request and response objects in the extras array
+
+## 2.8.3 - 2012-07-30
+
+* Bug: Fixed a case where empty POST requests were sent as GET requests
+* Bug: Fixed a bug in ExponentialBackoffPlugin that caused fatal errors when retrying an EntityEnclosingRequest that does not have a body
+* Bug: Setting the response body of a request to null after completing a request, not when setting the state of a request to new
+* Added multiple inheritance to service description commands
+* Added an ApiCommandInterface and added `getParamNames()` and `hasParam()`
+* Removed the default 2mb size cutoff from the Md5ValidatorPlugin so that it now defaults to validating everything
+* Changed CurlMulti::perform to pass a smaller timeout to CurlMulti::executeHandles
+
+## 2.8.2 - 2012-07-24
+
+* Bug: Query string values set to 0 are no longer dropped from the query string
+* Bug: A Collection object is no longer created each time a call is made to `Guzzle\Service\Command\AbstractCommand::getRequestHeaders()`
+* Bug: `+` is now treated as an encoded space when parsing query strings
+* QueryString and Collection performance improvements
+* Allowing dot notation for class paths in filters attribute of a service descriptions
+
+## 2.8.1 - 2012-07-16
+
+* Loosening Event Dispatcher dependency
+* POST redirects can now be customized using CURLOPT_POSTREDIR
+
+## 2.8.0 - 2012-07-15
+
+* BC: Guzzle\Http\Query
+ * Query strings with empty variables will always show an equal sign unless the variable is set to QueryString::BLANK (e.g. ?acl= vs ?acl)
+ * Changed isEncodingValues() and isEncodingFields() to isUrlEncoding()
+ * Changed setEncodeValues(bool) and setEncodeFields(bool) to useUrlEncoding(bool)
+ * Changed the aggregation functions of QueryString to be static methods
+ * Can now use fromString() with querystrings that have a leading ?
+* cURL configuration values can be specified in service descriptions using `curl.` prefixed parameters
+* Content-Length is set to 0 before emitting the request.before_send event when sending an empty request body
+* Cookies are no longer URL decoded by default
+* Bug: URI template variables set to null are no longer expanded
+
+## 2.7.2 - 2012-07-02
+
+* BC: Moving things to get ready for subtree splits. Moving Inflection into Common. Moving Guzzle\Http\Parser to Guzzle\Parser.
+* BC: Removing Guzzle\Common\Batch\Batch::count() and replacing it with isEmpty()
+* CachePlugin now allows for a custom request parameter function to check if a request can be cached
+* Bug fix: CachePlugin now only caches GET and HEAD requests by default
+* Bug fix: Using header glue when transferring headers over the wire
+* Allowing deeply nested arrays for composite variables in URI templates
+* Batch divisors can now return iterators or arrays
+
+## 2.7.1 - 2012-06-26
+
+* Minor patch to update version number in UA string
+* Updating build process
+
+## 2.7.0 - 2012-06-25
+
+* BC: Inflection classes moved to Guzzle\Inflection. No longer static methods. Can now inject custom inflectors into classes.
+* BC: Removed magic setX methods from commands
+* BC: Magic methods mapped to service description commands are now inflected in the command factory rather than the client __call() method
+* Verbose cURL options are no longer enabled by default. Set curl.debug to true on a client to enable.
+* Bug: Now allowing colons in a response start-line (e.g. HTTP/1.1 503 Service Unavailable: Back-end server is at capacity)
+* Guzzle\Service\Resource\ResourceIteratorApplyBatched now internally uses the Guzzle\Common\Batch namespace
+* Added Guzzle\Service\Plugin namespace and a PluginCollectionPlugin
+* Added the ability to set POST fields and files in a service description
+* Guzzle\Http\EntityBody::factory() now accepts objects with a __toString() method
+* Adding a command.before_prepare event to clients
+* Added BatchClosureTransfer and BatchClosureDivisor
+* BatchTransferException now includes references to the batch divisor and transfer strategies
+* Fixed some tests so that they pass more reliably
+* Added Guzzle\Common\Log\ArrayLogAdapter
+
+## 2.6.6 - 2012-06-10
+
+* BC: Removing Guzzle\Http\Plugin\BatchQueuePlugin
+* BC: Removing Guzzle\Service\Command\CommandSet
+* Adding generic batching system (replaces the batch queue plugin and command set)
+* Updating ZF cache and log adapters and now using ZF's composer repository
+* Bug: Setting the name of each ApiParam when creating through an ApiCommand
+* Adding result_type, result_doc, deprecated, and doc_url to service descriptions
+* Bug: Changed the default cookie header casing back to 'Cookie'
+
+## 2.6.5 - 2012-06-03
+
+* BC: Renaming Guzzle\Http\Message\RequestInterface::getResourceUri() to getResource()
+* BC: Removing unused AUTH_BASIC and AUTH_DIGEST constants from
+* BC: Guzzle\Http\Cookie is now used to manage Set-Cookie data, not Cookie data
+* BC: Renaming methods in the CookieJarInterface
+* Moving almost all cookie logic out of the CookiePlugin and into the Cookie or CookieJar implementations
+* Making the default glue for HTTP headers ';' instead of ','
+* Adding a removeValue to Guzzle\Http\Message\Header
+* Adding getCookies() to request interface.
+* Making it easier to add event subscribers to HasDispatcherInterface classes. Can now directly call addSubscriber()
+
+## 2.6.4 - 2012-05-30
+
+* BC: Cleaning up how POST files are stored in EntityEnclosingRequest objects. Adding PostFile class.
+* BC: Moving ApiCommand specific functionality from the Inspector and on to the ApiCommand
+* Bug: Fixing magic method command calls on clients
+* Bug: Email constraint only validates strings
+* Bug: Aggregate POST fields when POST files are present in curl handle
+* Bug: Fixing default User-Agent header
+* Bug: Only appending or prepending parameters in commands if they are specified
+* Bug: Not requiring response reason phrases or status codes to match a predefined list of codes
+* Allowing the use of dot notation for class namespaces when using instance_of constraint
+* Added any_match validation constraint
+* Added an AsyncPlugin
+* Passing request object to the calculateWait method of the ExponentialBackoffPlugin
+* Allowing the result of a command object to be changed
+* Parsing location and type sub values when instantiating a service description rather than over and over at runtime
+
+## 2.6.3 - 2012-05-23
+
+* [BC] Guzzle\Common\FromConfigInterface no longer requires any config options.
+* [BC] Refactoring how POST files are stored on an EntityEnclosingRequest. They are now separate from POST fields.
+* You can now use an array of data when creating PUT request bodies in the request factory.
+* Removing the requirement that HTTPS requests needed a Cache-Control: public directive to be cacheable.
+* [Http] Adding support for Content-Type in multipart POST uploads per upload
+* [Http] Added support for uploading multiple files using the same name (foo[0], foo[1])
+* Adding more POST data operations for easier manipulation of POST data.
+* You can now set empty POST fields.
+* The body of a request is only shown on EntityEnclosingRequest objects that do not use POST files.
+* Split the Guzzle\Service\Inspector::validateConfig method into two methods. One to initialize when a command is created, and one to validate.
+* CS updates
+
+## 2.6.2 - 2012-05-19
+
+* [Http] Better handling of nested scope requests in CurlMulti. Requests are now always prepares in the send() method rather than the addRequest() method.
+
+## 2.6.1 - 2012-05-19
+
+* [BC] Removing 'path' support in service descriptions. Use 'uri'.
+* [BC] Guzzle\Service\Inspector::parseDocBlock is now protected. Adding getApiParamsForClass() with cache.
+* [BC] Removing Guzzle\Common\NullObject. Use https://github.com/mtdowling/NullObject if you need it.
+* [BC] Removing Guzzle\Common\XmlElement.
+* All commands, both dynamic and concrete, have ApiCommand objects.
+* Adding a fix for CurlMulti so that if all of the connections encounter some sort of curl error, then the loop exits.
+* Adding checks to EntityEnclosingRequest so that empty POST files and fields are ignored.
+* Making the method signature of Guzzle\Service\Builder\ServiceBuilder::factory more flexible.
+
+## 2.6.0 - 2012-05-15
+
+* [BC] Moving Guzzle\Service\Builder to Guzzle\Service\Builder\ServiceBuilder
+* [BC] Executing a Command returns the result of the command rather than the command
+* [BC] Moving all HTTP parsing logic to Guzzle\Http\Parsers. Allows for faster C implementations if needed.
+* [BC] Changing the Guzzle\Http\Message\Response::setProtocol() method to accept a protocol and version in separate args.
+* [BC] Moving ResourceIterator* to Guzzle\Service\Resource
+* [BC] Completely refactored ResourceIterators to iterate over a cloned command object
+* [BC] Moved Guzzle\Http\UriTemplate to Guzzle\Http\Parser\UriTemplate\UriTemplate
+* [BC] Guzzle\Guzzle is now deprecated
+* Moving Guzzle\Common\Guzzle::inject to Guzzle\Common\Collection::inject
+* Adding Guzzle\Version class to give version information about Guzzle
+* Adding Guzzle\Http\Utils class to provide getDefaultUserAgent() and getHttpDate()
+* Adding Guzzle\Curl\CurlVersion to manage caching curl_version() data
+* ServiceDescription and ServiceBuilder are now cacheable using similar configs
+* Changing the format of XML and JSON service builder configs. Backwards compatible.
+* Cleaned up Cookie parsing
+* Trimming the default Guzzle User-Agent header
+* Adding a setOnComplete() method to Commands that is called when a command completes
+* Keeping track of requests that were mocked in the MockPlugin
+* Fixed a caching bug in the CacheAdapterFactory
+* Inspector objects can be injected into a Command object
+* Refactoring a lot of code and tests to be case insensitive when dealing with headers
+* Adding Guzzle\Http\Message\HeaderComparison for easy comparison of HTTP headers using a DSL
+* Adding the ability to set global option overrides to service builder configs
+* Adding the ability to include other service builder config files from within XML and JSON files
+* Moving the parseQuery method out of Url and on to QueryString::fromString() as a static factory method.
+
+## 2.5.0 - 2012-05-08
+
+* Major performance improvements
+* [BC] Simplifying Guzzle\Common\Collection. Please check to see if you are using features that are now deprecated.
+* [BC] Using a custom validation system that allows a flyweight implementation for much faster validation. No longer using Symfony2 Validation component.
+* [BC] No longer supporting "{{ }}" for injecting into command or UriTemplates. Use "{}"
+* Added the ability to passed parameters to all requests created by a client
+* Added callback functionality to the ExponentialBackoffPlugin
+* Using microtime in ExponentialBackoffPlugin to allow more granular backoff strategies.
+* Rewinding request stream bodies when retrying requests
+* Exception is thrown when JSON response body cannot be decoded
+* Added configurable magic method calls to clients and commands. This is off by default.
+* Fixed a defect that added a hash to every parsed URL part
+* Fixed duplicate none generation for OauthPlugin.
+* Emitting an event each time a client is generated by a ServiceBuilder
+* Using an ApiParams object instead of a Collection for parameters of an ApiCommand
+* cache.* request parameters should be renamed to params.cache.*
+* Added the ability to set arbitrary curl options on requests (disable_wire, progress, etc.). See CurlHandle.
+* Added the ability to disable type validation of service descriptions
+* ServiceDescriptions and ServiceBuilders are now Serializable
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/LICENSE b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/LICENSE
new file mode 100644
index 00000000..ea7f07c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2011-2016 Michael Dowling, https://github.com/mtdowling <mtdowling@gmail.com>
+
+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/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/README.md b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/README.md
new file mode 100644
index 00000000..2f614d6f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/README.md
@@ -0,0 +1,89 @@
+Guzzle, PHP HTTP client
+=======================
+
+[![Build Status](https://travis-ci.org/guzzle/guzzle.svg?branch=master)](https://travis-ci.org/guzzle/guzzle)
+
+Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and
+trivial to integrate with web services.
+
+- Simple interface for building query strings, POST requests, streaming large
+ uploads, streaming large downloads, using HTTP cookies, uploading JSON data,
+ etc...
+- Can send both synchronous and asynchronous requests using the same interface.
+- Uses PSR-7 interfaces for requests, responses, and streams. This allows you
+ to utilize other PSR-7 compatible libraries with Guzzle.
+- Abstracts away the underlying HTTP transport, allowing you to write
+ environment and transport agnostic code; i.e., no hard dependency on cURL,
+ PHP streams, sockets, or non-blocking event loops.
+- Middleware system allows you to augment and compose client behavior.
+
+```php
+$client = new \GuzzleHttp\Client();
+$res = $client->request('GET', 'https://api.github.com/repos/guzzle/guzzle');
+echo $res->getStatusCode();
+// 200
+echo $res->getHeaderLine('content-type');
+// 'application/json; charset=utf8'
+echo $res->getBody();
+// '{"id": 1420053, "name": "guzzle", ...}'
+
+// Send an asynchronous request.
+$request = new \GuzzleHttp\Psr7\Request('GET', 'http://httpbin.org');
+$promise = $client->sendAsync($request)->then(function ($response) {
+ echo 'I completed! ' . $response->getBody();
+});
+$promise->wait();
+```
+
+## Help and docs
+
+- [Documentation](http://guzzlephp.org/)
+- [Stack Overflow](http://stackoverflow.com/questions/tagged/guzzle)
+- [Gitter](https://gitter.im/guzzle/guzzle)
+
+
+## Installing Guzzle
+
+The recommended way to install Guzzle is through
+[Composer](http://getcomposer.org).
+
+```bash
+# Install Composer
+curl -sS https://getcomposer.org/installer | php
+```
+
+Next, run the Composer command to install the latest stable version of Guzzle:
+
+```bash
+php composer.phar require guzzlehttp/guzzle
+```
+
+After installing, you need to require Composer's autoloader:
+
+```php
+require 'vendor/autoload.php';
+```
+
+You can then later update Guzzle using composer:
+
+ ```bash
+composer.phar update
+ ```
+
+
+## Version Guidance
+
+| Version | Status | Packagist | Namespace | Repo | Docs | PSR-7 | PHP Version |
+|---------|------------|---------------------|--------------|---------------------|---------------------|-------|-------------|
+| 3.x | EOL | `guzzle/guzzle` | `Guzzle` | [v3][guzzle-3-repo] | [v3][guzzle-3-docs] | No | >= 5.3.3 |
+| 4.x | EOL | `guzzlehttp/guzzle` | `GuzzleHttp` | [v4][guzzle-4-repo] | N/A | No | >= 5.4 |
+| 5.x | Maintained | `guzzlehttp/guzzle` | `GuzzleHttp` | [v5][guzzle-5-repo] | [v5][guzzle-5-docs] | No | >= 5.4 |
+| 6.x | Latest | `guzzlehttp/guzzle` | `GuzzleHttp` | [v6][guzzle-6-repo] | [v6][guzzle-6-docs] | Yes | >= 5.5 |
+
+[guzzle-3-repo]: https://github.com/guzzle/guzzle3
+[guzzle-4-repo]: https://github.com/guzzle/guzzle/tree/4.x
+[guzzle-5-repo]: https://github.com/guzzle/guzzle/tree/5.3
+[guzzle-6-repo]: https://github.com/guzzle/guzzle
+[guzzle-3-docs]: http://guzzle3.readthedocs.org/en/latest/
+[guzzle-5-docs]: http://guzzle.readthedocs.org/en/5.3/
+[guzzle-6-docs]: http://guzzle.readthedocs.org/en/latest/
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/UPGRADING.md b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/UPGRADING.md
new file mode 100644
index 00000000..91d1dcc9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/UPGRADING.md
@@ -0,0 +1,1203 @@
+Guzzle Upgrade Guide
+====================
+
+5.0 to 6.0
+----------
+
+Guzzle now uses [PSR-7](http://www.php-fig.org/psr/psr-7/) for HTTP messages.
+Due to the fact that these messages are immutable, this prompted a refactoring
+of Guzzle to use a middleware based system rather than an event system. Any
+HTTP message interaction (e.g., `GuzzleHttp\Message\Request`) need to be
+updated to work with the new immutable PSR-7 request and response objects. Any
+event listeners or subscribers need to be updated to become middleware
+functions that wrap handlers (or are injected into a
+`GuzzleHttp\HandlerStack`).
+
+- Removed `GuzzleHttp\BatchResults`
+- Removed `GuzzleHttp\Collection`
+- Removed `GuzzleHttp\HasDataTrait`
+- Removed `GuzzleHttp\ToArrayInterface`
+- The `guzzlehttp/streams` dependency has been removed. Stream functionality
+ is now present in the `GuzzleHttp\Psr7` namespace provided by the
+ `guzzlehttp/psr7` package.
+- Guzzle no longer uses ReactPHP promises and now uses the
+ `guzzlehttp/promises` library. We use a custom promise library for three
+ significant reasons:
+ 1. React promises (at the time of writing this) are recursive. Promise
+ chaining and promise resolution will eventually blow the stack. Guzzle
+ promises are not recursive as they use a sort of trampolining technique.
+ Note: there has been movement in the React project to modify promises to
+ no longer utilize recursion.
+ 2. Guzzle needs to have the ability to synchronously block on a promise to
+ wait for a result. Guzzle promises allows this functionality (and does
+ not require the use of recursion).
+ 3. Because we need to be able to wait on a result, doing so using React
+ promises requires wrapping react promises with RingPHP futures. This
+ overhead is no longer needed, reducing stack sizes, reducing complexity,
+ and improving performance.
+- `GuzzleHttp\Mimetypes` has been moved to a function in
+ `GuzzleHttp\Psr7\mimetype_from_extension` and
+ `GuzzleHttp\Psr7\mimetype_from_filename`.
+- `GuzzleHttp\Query` and `GuzzleHttp\QueryParser` have been removed. Query
+ strings must now be passed into request objects as strings, or provided to
+ the `query` request option when creating requests with clients. The `query`
+ option uses PHP's `http_build_query` to convert an array to a string. If you
+ need a different serialization technique, you will need to pass the query
+ string in as a string. There are a couple helper functions that will make
+ working with query strings easier: `GuzzleHttp\Psr7\parse_query` and
+ `GuzzleHttp\Psr7\build_query`.
+- Guzzle no longer has a dependency on RingPHP. Due to the use of a middleware
+ system based on PSR-7, using RingPHP and it's middleware system as well adds
+ more complexity than the benefits it provides. All HTTP handlers that were
+ present in RingPHP have been modified to work directly with PSR-7 messages
+ and placed in the `GuzzleHttp\Handler` namespace. This significantly reduces
+ complexity in Guzzle, removes a dependency, and improves performance. RingPHP
+ will be maintained for Guzzle 5 support, but will no longer be a part of
+ Guzzle 6.
+- As Guzzle now uses a middleware based systems the event system and RingPHP
+ integration has been removed. Note: while the event system has been removed,
+ it is possible to add your own type of event system that is powered by the
+ middleware system.
+ - Removed the `Event` namespace.
+ - Removed the `Subscriber` namespace.
+ - Removed `Transaction` class
+ - Removed `RequestFsm`
+ - Removed `RingBridge`
+ - `GuzzleHttp\Subscriber\Cookie` is now provided by
+ `GuzzleHttp\Middleware::cookies`
+ - `GuzzleHttp\Subscriber\HttpError` is now provided by
+ `GuzzleHttp\Middleware::httpError`
+ - `GuzzleHttp\Subscriber\History` is now provided by
+ `GuzzleHttp\Middleware::history`
+ - `GuzzleHttp\Subscriber\Mock` is now provided by
+ `GuzzleHttp\Handler\MockHandler`
+ - `GuzzleHttp\Subscriber\Prepare` is now provided by
+ `GuzzleHttp\PrepareBodyMiddleware`
+ - `GuzzleHttp\Subscriber\Redirect` is now provided by
+ `GuzzleHttp\RedirectMiddleware`
+- Guzzle now uses `Psr\Http\Message\UriInterface` (implements in
+ `GuzzleHttp\Psr7\Uri`) for URI support. `GuzzleHttp\Url` is now gone.
+- Static functions in `GuzzleHttp\Utils` have been moved to namespaced
+ functions under the `GuzzleHttp` namespace. This requires either a Composer
+ based autoloader or you to include functions.php.
+- `GuzzleHttp\ClientInterface::getDefaultOption` has been renamed to
+ `GuzzleHttp\ClientInterface::getConfig`.
+- `GuzzleHttp\ClientInterface::setDefaultOption` has been removed.
+- The `json` and `xml` methods of response objects has been removed. With the
+ migration to strictly adhering to PSR-7 as the interface for Guzzle messages,
+ adding methods to message interfaces would actually require Guzzle messages
+ to extend from PSR-7 messages rather then work with them directly.
+
+## Migrating to middleware
+
+The change to PSR-7 unfortunately required significant refactoring to Guzzle
+due to the fact that PSR-7 messages are immutable. Guzzle 5 relied on an event
+system from plugins. The event system relied on mutability of HTTP messages and
+side effects in order to work. With immutable messages, you have to change your
+workflow to become more about either returning a value (e.g., functional
+middlewares) or setting a value on an object. Guzzle v6 has chosen the
+functional middleware approach.
+
+Instead of using the event system to listen for things like the `before` event,
+you now create a stack based middleware function that intercepts a request on
+the way in and the promise of the response on the way out. This is a much
+simpler and more predictable approach than the event system and works nicely
+with PSR-7 middleware. Due to the use of promises, the middleware system is
+also asynchronous.
+
+v5:
+
+```php
+use GuzzleHttp\Event\BeforeEvent;
+$client = new GuzzleHttp\Client();
+// Get the emitter and listen to the before event.
+$client->getEmitter()->on('before', function (BeforeEvent $e) {
+ // Guzzle v5 events relied on mutation
+ $e->getRequest()->setHeader('X-Foo', 'Bar');
+});
+```
+
+v6:
+
+In v6, you can modify the request before it is sent using the `mapRequest`
+middleware. The idiomatic way in v6 to modify the request/response lifecycle is
+to setup a handler middleware stack up front and inject the handler into a
+client.
+
+```php
+use GuzzleHttp\Middleware;
+// Create a handler stack that has all of the default middlewares attached
+$handler = GuzzleHttp\HandlerStack::create();
+// Push the handler onto the handler stack
+$handler->push(Middleware::mapRequest(function (RequestInterface $request) {
+ // Notice that we have to return a request object
+ return $request->withHeader('X-Foo', 'Bar');
+}));
+// Inject the handler into the client
+$client = new GuzzleHttp\Client(['handler' => $handler]);
+```
+
+## POST Requests
+
+This version added the [`form_params`](http://guzzle.readthedocs.org/en/latest/request-options.html#form_params)
+and `multipart` request options. `form_params` is an associative array of
+strings or array of strings and is used to serialize an
+`application/x-www-form-urlencoded` POST request. The
+[`multipart`](http://guzzle.readthedocs.org/en/latest/request-options.html#multipart)
+option is now used to send a multipart/form-data POST request.
+
+`GuzzleHttp\Post\PostFile` has been removed. Use the `multipart` option to add
+POST files to a multipart/form-data request.
+
+The `body` option no longer accepts an array to send POST requests. Please use
+`multipart` or `form_params` instead.
+
+The `base_url` option has been renamed to `base_uri`.
+
+4.x to 5.0
+----------
+
+## Rewritten Adapter Layer
+
+Guzzle now uses [RingPHP](http://ringphp.readthedocs.org/en/latest) to send
+HTTP requests. The `adapter` option in a `GuzzleHttp\Client` constructor
+is still supported, but it has now been renamed to `handler`. Instead of
+passing a `GuzzleHttp\Adapter\AdapterInterface`, you must now pass a PHP
+`callable` that follows the RingPHP specification.
+
+## Removed Fluent Interfaces
+
+[Fluent interfaces were removed](http://ocramius.github.io/blog/fluent-interfaces-are-evil)
+from the following classes:
+
+- `GuzzleHttp\Collection`
+- `GuzzleHttp\Url`
+- `GuzzleHttp\Query`
+- `GuzzleHttp\Post\PostBody`
+- `GuzzleHttp\Cookie\SetCookie`
+
+## Removed functions.php
+
+Removed "functions.php", so that Guzzle is truly PSR-4 compliant. The following
+functions can be used as replacements.
+
+- `GuzzleHttp\json_decode` -> `GuzzleHttp\Utils::jsonDecode`
+- `GuzzleHttp\get_path` -> `GuzzleHttp\Utils::getPath`
+- `GuzzleHttp\Utils::setPath` -> `GuzzleHttp\set_path`
+- `GuzzleHttp\Pool::batch` -> `GuzzleHttp\batch`. This function is, however,
+ deprecated in favor of using `GuzzleHttp\Pool::batch()`.
+
+The "procedural" global client has been removed with no replacement (e.g.,
+`GuzzleHttp\get()`, `GuzzleHttp\post()`, etc.). Use a `GuzzleHttp\Client`
+object as a replacement.
+
+## `throwImmediately` has been removed
+
+The concept of "throwImmediately" has been removed from exceptions and error
+events. This control mechanism was used to stop a transfer of concurrent
+requests from completing. This can now be handled by throwing the exception or
+by cancelling a pool of requests or each outstanding future request
+individually.
+
+## headers event has been removed
+
+Removed the "headers" event. This event was only useful for changing the
+body a response once the headers of the response were known. You can implement
+a similar behavior in a number of ways. One example might be to use a
+FnStream that has access to the transaction being sent. For example, when the
+first byte is written, you could check if the response headers match your
+expectations, and if so, change the actual stream body that is being
+written to.
+
+## Updates to HTTP Messages
+
+Removed the `asArray` parameter from
+`GuzzleHttp\Message\MessageInterface::getHeader`. If you want to get a header
+value as an array, then use the newly added `getHeaderAsArray()` method of
+`MessageInterface`. This change makes the Guzzle interfaces compatible with
+the PSR-7 interfaces.
+
+3.x to 4.0
+----------
+
+## Overarching changes:
+
+- Now requires PHP 5.4 or greater.
+- No longer requires cURL to send requests.
+- Guzzle no longer wraps every exception it throws. Only exceptions that are
+ recoverable are now wrapped by Guzzle.
+- Various namespaces have been removed or renamed.
+- No longer requiring the Symfony EventDispatcher. A custom event dispatcher
+ based on the Symfony EventDispatcher is
+ now utilized in `GuzzleHttp\Event\EmitterInterface` (resulting in significant
+ speed and functionality improvements).
+
+Changes per Guzzle 3.x namespace are described below.
+
+## Batch
+
+The `Guzzle\Batch` namespace has been removed. This is best left to
+third-parties to implement on top of Guzzle's core HTTP library.
+
+## Cache
+
+The `Guzzle\Cache` namespace has been removed. (Todo: No suitable replacement
+has been implemented yet, but hoping to utilize a PSR cache interface).
+
+## Common
+
+- Removed all of the wrapped exceptions. It's better to use the standard PHP
+ library for unrecoverable exceptions.
+- `FromConfigInterface` has been removed.
+- `Guzzle\Common\Version` has been removed. The VERSION constant can be found
+ at `GuzzleHttp\ClientInterface::VERSION`.
+
+### Collection
+
+- `getAll` has been removed. Use `toArray` to convert a collection to an array.
+- `inject` has been removed.
+- `keySearch` has been removed.
+- `getPath` no longer supports wildcard expressions. Use something better like
+ JMESPath for this.
+- `setPath` now supports appending to an existing array via the `[]` notation.
+
+### Events
+
+Guzzle no longer requires Symfony's EventDispatcher component. Guzzle now uses
+`GuzzleHttp\Event\Emitter`.
+
+- `Symfony\Component\EventDispatcher\EventDispatcherInterface` is replaced by
+ `GuzzleHttp\Event\EmitterInterface`.
+- `Symfony\Component\EventDispatcher\EventDispatcher` is replaced by
+ `GuzzleHttp\Event\Emitter`.
+- `Symfony\Component\EventDispatcher\Event` is replaced by
+ `GuzzleHttp\Event\Event`, and Guzzle now has an EventInterface in
+ `GuzzleHttp\Event\EventInterface`.
+- `AbstractHasDispatcher` has moved to a trait, `HasEmitterTrait`, and
+ `HasDispatcherInterface` has moved to `HasEmitterInterface`. Retrieving the
+ event emitter of a request, client, etc. now uses the `getEmitter` method
+ rather than the `getDispatcher` method.
+
+#### Emitter
+
+- Use the `once()` method to add a listener that automatically removes itself
+ the first time it is invoked.
+- Use the `listeners()` method to retrieve a list of event listeners rather than
+ the `getListeners()` method.
+- Use `emit()` instead of `dispatch()` to emit an event from an emitter.
+- Use `attach()` instead of `addSubscriber()` and `detach()` instead of
+ `removeSubscriber()`.
+
+```php
+$mock = new Mock();
+// 3.x
+$request->getEventDispatcher()->addSubscriber($mock);
+$request->getEventDispatcher()->removeSubscriber($mock);
+// 4.x
+$request->getEmitter()->attach($mock);
+$request->getEmitter()->detach($mock);
+```
+
+Use the `on()` method to add a listener rather than the `addListener()` method.
+
+```php
+// 3.x
+$request->getEventDispatcher()->addListener('foo', function (Event $event) { /* ... */ } );
+// 4.x
+$request->getEmitter()->on('foo', function (Event $event, $name) { /* ... */ } );
+```
+
+## Http
+
+### General changes
+
+- The cacert.pem certificate has been moved to `src/cacert.pem`.
+- Added the concept of adapters that are used to transfer requests over the
+ wire.
+- Simplified the event system.
+- Sending requests in parallel is still possible, but batching is no longer a
+ concept of the HTTP layer. Instead, you must use the `complete` and `error`
+ events to asynchronously manage parallel request transfers.
+- `Guzzle\Http\Url` has moved to `GuzzleHttp\Url`.
+- `Guzzle\Http\QueryString` has moved to `GuzzleHttp\Query`.
+- QueryAggregators have been rewritten so that they are simply callable
+ functions.
+- `GuzzleHttp\StaticClient` has been removed. Use the functions provided in
+ `functions.php` for an easy to use static client instance.
+- Exceptions in `GuzzleHttp\Exception` have been updated to all extend from
+ `GuzzleHttp\Exception\TransferException`.
+
+### Client
+
+Calling methods like `get()`, `post()`, `head()`, etc. no longer create and
+return a request, but rather creates a request, sends the request, and returns
+the response.
+
+```php
+// 3.0
+$request = $client->get('/');
+$response = $request->send();
+
+// 4.0
+$response = $client->get('/');
+
+// or, to mirror the previous behavior
+$request = $client->createRequest('GET', '/');
+$response = $client->send($request);
+```
+
+`GuzzleHttp\ClientInterface` has changed.
+
+- The `send` method no longer accepts more than one request. Use `sendAll` to
+ send multiple requests in parallel.
+- `setUserAgent()` has been removed. Use a default request option instead. You
+ could, for example, do something like:
+ `$client->setConfig('defaults/headers/User-Agent', 'Foo/Bar ' . $client::getDefaultUserAgent())`.
+- `setSslVerification()` has been removed. Use default request options instead,
+ like `$client->setConfig('defaults/verify', true)`.
+
+`GuzzleHttp\Client` has changed.
+
+- The constructor now accepts only an associative array. You can include a
+ `base_url` string or array to use a URI template as the base URL of a client.
+ You can also specify a `defaults` key that is an associative array of default
+ request options. You can pass an `adapter` to use a custom adapter,
+ `batch_adapter` to use a custom adapter for sending requests in parallel, or
+ a `message_factory` to change the factory used to create HTTP requests and
+ responses.
+- The client no longer emits a `client.create_request` event.
+- Creating requests with a client no longer automatically utilize a URI
+ template. You must pass an array into a creational method (e.g.,
+ `createRequest`, `get`, `put`, etc.) in order to expand a URI template.
+
+### Messages
+
+Messages no longer have references to their counterparts (i.e., a request no
+longer has a reference to it's response, and a response no loger has a
+reference to its request). This association is now managed through a
+`GuzzleHttp\Adapter\TransactionInterface` object. You can get references to
+these transaction objects using request events that are emitted over the
+lifecycle of a request.
+
+#### Requests with a body
+
+- `GuzzleHttp\Message\EntityEnclosingRequest` and
+ `GuzzleHttp\Message\EntityEnclosingRequestInterface` have been removed. The
+ separation between requests that contain a body and requests that do not
+ contain a body has been removed, and now `GuzzleHttp\Message\RequestInterface`
+ handles both use cases.
+- Any method that previously accepts a `GuzzleHttp\Response` object now accept a
+ `GuzzleHttp\Message\ResponseInterface`.
+- `GuzzleHttp\Message\RequestFactoryInterface` has been renamed to
+ `GuzzleHttp\Message\MessageFactoryInterface`. This interface is used to create
+ both requests and responses and is implemented in
+ `GuzzleHttp\Message\MessageFactory`.
+- POST field and file methods have been removed from the request object. You
+ must now use the methods made available to `GuzzleHttp\Post\PostBodyInterface`
+ to control the format of a POST body. Requests that are created using a
+ standard `GuzzleHttp\Message\MessageFactoryInterface` will automatically use
+ a `GuzzleHttp\Post\PostBody` body if the body was passed as an array or if
+ the method is POST and no body is provided.
+
+```php
+$request = $client->createRequest('POST', '/');
+$request->getBody()->setField('foo', 'bar');
+$request->getBody()->addFile(new PostFile('file_key', fopen('/path/to/content', 'r')));
+```
+
+#### Headers
+
+- `GuzzleHttp\Message\Header` has been removed. Header values are now simply
+ represented by an array of values or as a string. Header values are returned
+ as a string by default when retrieving a header value from a message. You can
+ pass an optional argument of `true` to retrieve a header value as an array
+ of strings instead of a single concatenated string.
+- `GuzzleHttp\PostFile` and `GuzzleHttp\PostFileInterface` have been moved to
+ `GuzzleHttp\Post`. This interface has been simplified and now allows the
+ addition of arbitrary headers.
+- Custom headers like `GuzzleHttp\Message\Header\Link` have been removed. Most
+ of the custom headers are now handled separately in specific
+ subscribers/plugins, and `GuzzleHttp\Message\HeaderValues::parseParams()` has
+ been updated to properly handle headers that contain parameters (like the
+ `Link` header).
+
+#### Responses
+
+- `GuzzleHttp\Message\Response::getInfo()` and
+ `GuzzleHttp\Message\Response::setInfo()` have been removed. Use the event
+ system to retrieve this type of information.
+- `GuzzleHttp\Message\Response::getRawHeaders()` has been removed.
+- `GuzzleHttp\Message\Response::getMessage()` has been removed.
+- `GuzzleHttp\Message\Response::calculateAge()` and other cache specific
+ methods have moved to the CacheSubscriber.
+- Header specific helper functions like `getContentMd5()` have been removed.
+ Just use `getHeader('Content-MD5')` instead.
+- `GuzzleHttp\Message\Response::setRequest()` and
+ `GuzzleHttp\Message\Response::getRequest()` have been removed. Use the event
+ system to work with request and response objects as a transaction.
+- `GuzzleHttp\Message\Response::getRedirectCount()` has been removed. Use the
+ Redirect subscriber instead.
+- `GuzzleHttp\Message\Response::isSuccessful()` and other related methods have
+ been removed. Use `getStatusCode()` instead.
+
+#### Streaming responses
+
+Streaming requests can now be created by a client directly, returning a
+`GuzzleHttp\Message\ResponseInterface` object that contains a body stream
+referencing an open PHP HTTP stream.
+
+```php
+// 3.0
+use Guzzle\Stream\PhpStreamRequestFactory;
+$request = $client->get('/');
+$factory = new PhpStreamRequestFactory();
+$stream = $factory->fromRequest($request);
+$data = $stream->read(1024);
+
+// 4.0
+$response = $client->get('/', ['stream' => true]);
+// Read some data off of the stream in the response body
+$data = $response->getBody()->read(1024);
+```
+
+#### Redirects
+
+The `configureRedirects()` method has been removed in favor of a
+`allow_redirects` request option.
+
+```php
+// Standard redirects with a default of a max of 5 redirects
+$request = $client->createRequest('GET', '/', ['allow_redirects' => true]);
+
+// Strict redirects with a custom number of redirects
+$request = $client->createRequest('GET', '/', [
+ 'allow_redirects' => ['max' => 5, 'strict' => true]
+]);
+```
+
+#### EntityBody
+
+EntityBody interfaces and classes have been removed or moved to
+`GuzzleHttp\Stream`. All classes and interfaces that once required
+`GuzzleHttp\EntityBodyInterface` now require
+`GuzzleHttp\Stream\StreamInterface`. Creating a new body for a request no
+longer uses `GuzzleHttp\EntityBody::factory` but now uses
+`GuzzleHttp\Stream\Stream::factory` or even better:
+`GuzzleHttp\Stream\create()`.
+
+- `Guzzle\Http\EntityBodyInterface` is now `GuzzleHttp\Stream\StreamInterface`
+- `Guzzle\Http\EntityBody` is now `GuzzleHttp\Stream\Stream`
+- `Guzzle\Http\CachingEntityBody` is now `GuzzleHttp\Stream\CachingStream`
+- `Guzzle\Http\ReadLimitEntityBody` is now `GuzzleHttp\Stream\LimitStream`
+- `Guzzle\Http\IoEmittyinEntityBody` has been removed.
+
+#### Request lifecycle events
+
+Requests previously submitted a large number of requests. The number of events
+emitted over the lifecycle of a request has been significantly reduced to make
+it easier to understand how to extend the behavior of a request. All events
+emitted during the lifecycle of a request now emit a custom
+`GuzzleHttp\Event\EventInterface` object that contains context providing
+methods and a way in which to modify the transaction at that specific point in
+time (e.g., intercept the request and set a response on the transaction).
+
+- `request.before_send` has been renamed to `before` and now emits a
+ `GuzzleHttp\Event\BeforeEvent`
+- `request.complete` has been renamed to `complete` and now emits a
+ `GuzzleHttp\Event\CompleteEvent`.
+- `request.sent` has been removed. Use `complete`.
+- `request.success` has been removed. Use `complete`.
+- `error` is now an event that emits a `GuzzleHttp\Event\ErrorEvent`.
+- `request.exception` has been removed. Use `error`.
+- `request.receive.status_line` has been removed.
+- `curl.callback.progress` has been removed. Use a custom `StreamInterface` to
+ maintain a status update.
+- `curl.callback.write` has been removed. Use a custom `StreamInterface` to
+ intercept writes.
+- `curl.callback.read` has been removed. Use a custom `StreamInterface` to
+ intercept reads.
+
+`headers` is a new event that is emitted after the response headers of a
+request have been received before the body of the response is downloaded. This
+event emits a `GuzzleHttp\Event\HeadersEvent`.
+
+You can intercept a request and inject a response using the `intercept()` event
+of a `GuzzleHttp\Event\BeforeEvent`, `GuzzleHttp\Event\CompleteEvent`, and
+`GuzzleHttp\Event\ErrorEvent` event.
+
+See: http://docs.guzzlephp.org/en/latest/events.html
+
+## Inflection
+
+The `Guzzle\Inflection` namespace has been removed. This is not a core concern
+of Guzzle.
+
+## Iterator
+
+The `Guzzle\Iterator` namespace has been removed.
+
+- `Guzzle\Iterator\AppendIterator`, `Guzzle\Iterator\ChunkedIterator`, and
+ `Guzzle\Iterator\MethodProxyIterator` are nice, but not a core requirement of
+ Guzzle itself.
+- `Guzzle\Iterator\FilterIterator` is no longer needed because an equivalent
+ class is shipped with PHP 5.4.
+- `Guzzle\Iterator\MapIterator` is not really needed when using PHP 5.5 because
+ it's easier to just wrap an iterator in a generator that maps values.
+
+For a replacement of these iterators, see https://github.com/nikic/iter
+
+## Log
+
+The LogPlugin has moved to https://github.com/guzzle/log-subscriber. The
+`Guzzle\Log` namespace has been removed. Guzzle now relies on
+`Psr\Log\LoggerInterface` for all logging. The MessageFormatter class has been
+moved to `GuzzleHttp\Subscriber\Log\Formatter`.
+
+## Parser
+
+The `Guzzle\Parser` namespace has been removed. This was previously used to
+make it possible to plug in custom parsers for cookies, messages, URI
+templates, and URLs; however, this level of complexity is not needed in Guzzle
+so it has been removed.
+
+- Cookie: Cookie parsing logic has been moved to
+ `GuzzleHttp\Cookie\SetCookie::fromString`.
+- Message: Message parsing logic for both requests and responses has been moved
+ to `GuzzleHttp\Message\MessageFactory::fromMessage`. Message parsing is only
+ used in debugging or deserializing messages, so it doesn't make sense for
+ Guzzle as a library to add this level of complexity to parsing messages.
+- UriTemplate: URI template parsing has been moved to
+ `GuzzleHttp\UriTemplate`. The Guzzle library will automatically use the PECL
+ URI template library if it is installed.
+- Url: URL parsing is now performed in `GuzzleHttp\Url::fromString` (previously
+ it was `Guzzle\Http\Url::factory()`). If custom URL parsing is necessary,
+ then developers are free to subclass `GuzzleHttp\Url`.
+
+## Plugin
+
+The `Guzzle\Plugin` namespace has been renamed to `GuzzleHttp\Subscriber`.
+Several plugins are shipping with the core Guzzle library under this namespace.
+
+- `GuzzleHttp\Subscriber\Cookie`: Replaces the old CookiePlugin. Cookie jar
+ code has moved to `GuzzleHttp\Cookie`.
+- `GuzzleHttp\Subscriber\History`: Replaces the old HistoryPlugin.
+- `GuzzleHttp\Subscriber\HttpError`: Throws errors when a bad HTTP response is
+ received.
+- `GuzzleHttp\Subscriber\Mock`: Replaces the old MockPlugin.
+- `GuzzleHttp\Subscriber\Prepare`: Prepares the body of a request just before
+ sending. This subscriber is attached to all requests by default.
+- `GuzzleHttp\Subscriber\Redirect`: Replaces the RedirectPlugin.
+
+The following plugins have been removed (third-parties are free to re-implement
+these if needed):
+
+- `GuzzleHttp\Plugin\Async` has been removed.
+- `GuzzleHttp\Plugin\CurlAuth` has been removed.
+- `GuzzleHttp\Plugin\ErrorResponse\ErrorResponsePlugin` has been removed. This
+ functionality should instead be implemented with event listeners that occur
+ after normal response parsing occurs in the guzzle/command package.
+
+The following plugins are not part of the core Guzzle package, but are provided
+in separate repositories:
+
+- `Guzzle\Http\Plugin\BackoffPlugin` has been rewritten to be much simpler
+ to build custom retry policies using simple functions rather than various
+ chained classes. See: https://github.com/guzzle/retry-subscriber
+- `Guzzle\Http\Plugin\Cache\CachePlugin` has moved to
+ https://github.com/guzzle/cache-subscriber
+- `Guzzle\Http\Plugin\Log\LogPlugin` has moved to
+ https://github.com/guzzle/log-subscriber
+- `Guzzle\Http\Plugin\Md5\Md5Plugin` has moved to
+ https://github.com/guzzle/message-integrity-subscriber
+- `Guzzle\Http\Plugin\Mock\MockPlugin` has moved to
+ `GuzzleHttp\Subscriber\MockSubscriber`.
+- `Guzzle\Http\Plugin\Oauth\OauthPlugin` has moved to
+ https://github.com/guzzle/oauth-subscriber
+
+## Service
+
+The service description layer of Guzzle has moved into two separate packages:
+
+- http://github.com/guzzle/command Provides a high level abstraction over web
+ services by representing web service operations using commands.
+- http://github.com/guzzle/guzzle-services Provides an implementation of
+ guzzle/command that provides request serialization and response parsing using
+ Guzzle service descriptions.
+
+## Stream
+
+Stream have moved to a separate package available at
+https://github.com/guzzle/streams.
+
+`Guzzle\Stream\StreamInterface` has been given a large update to cleanly take
+on the responsibilities of `Guzzle\Http\EntityBody` and
+`Guzzle\Http\EntityBodyInterface` now that they have been removed. The number
+of methods implemented by the `StreamInterface` has been drastically reduced to
+allow developers to more easily extend and decorate stream behavior.
+
+## Removed methods from StreamInterface
+
+- `getStream` and `setStream` have been removed to better encapsulate streams.
+- `getMetadata` and `setMetadata` have been removed in favor of
+ `GuzzleHttp\Stream\MetadataStreamInterface`.
+- `getWrapper`, `getWrapperData`, `getStreamType`, and `getUri` have all been
+ removed. This data is accessible when
+ using streams that implement `GuzzleHttp\Stream\MetadataStreamInterface`.
+- `rewind` has been removed. Use `seek(0)` for a similar behavior.
+
+## Renamed methods
+
+- `detachStream` has been renamed to `detach`.
+- `feof` has been renamed to `eof`.
+- `ftell` has been renamed to `tell`.
+- `readLine` has moved from an instance method to a static class method of
+ `GuzzleHttp\Stream\Stream`.
+
+## Metadata streams
+
+`GuzzleHttp\Stream\MetadataStreamInterface` has been added to denote streams
+that contain additional metadata accessible via `getMetadata()`.
+`GuzzleHttp\Stream\StreamInterface::getMetadata` and
+`GuzzleHttp\Stream\StreamInterface::setMetadata` have been removed.
+
+## StreamRequestFactory
+
+The entire concept of the StreamRequestFactory has been removed. The way this
+was used in Guzzle 3 broke the actual interface of sending streaming requests
+(instead of getting back a Response, you got a StreamInterface). Streaming
+PHP requests are now implemented through the `GuzzleHttp\Adapter\StreamAdapter`.
+
+3.6 to 3.7
+----------
+
+### Deprecations
+
+- You can now enable E_USER_DEPRECATED warnings to see if you are using any deprecated methods.:
+
+```php
+\Guzzle\Common\Version::$emitWarnings = true;
+```
+
+The following APIs and options have been marked as deprecated:
+
+- Marked `Guzzle\Http\Message\Request::isResponseBodyRepeatable()` as deprecated. Use `$request->getResponseBody()->isRepeatable()` instead.
+- Marked `Guzzle\Http\Message\Request::canCache()` as deprecated. Use `Guzzle\Plugin\Cache\DefaultCanCacheStrategy->canCacheRequest()` instead.
+- Marked `Guzzle\Http\Message\Request::canCache()` as deprecated. Use `Guzzle\Plugin\Cache\DefaultCanCacheStrategy->canCacheRequest()` instead.
+- Marked `Guzzle\Http\Message\Request::setIsRedirect()` as deprecated. Use the HistoryPlugin instead.
+- Marked `Guzzle\Http\Message\Request::isRedirect()` as deprecated. Use the HistoryPlugin instead.
+- Marked `Guzzle\Cache\CacheAdapterFactory::factory()` as deprecated
+- Marked `Guzzle\Service\Client::enableMagicMethods()` as deprecated. Magic methods can no longer be disabled on a Guzzle\Service\Client.
+- Marked `Guzzle\Parser\Url\UrlParser` as deprecated. Just use PHP's `parse_url()` and percent encode your UTF-8.
+- Marked `Guzzle\Common\Collection::inject()` as deprecated.
+- Marked `Guzzle\Plugin\CurlAuth\CurlAuthPlugin` as deprecated. Use
+ `$client->getConfig()->setPath('request.options/auth', array('user', 'pass', 'Basic|Digest|NTLM|Any'));` or
+ `$client->setDefaultOption('auth', array('user', 'pass', 'Basic|Digest|NTLM|Any'));`
+
+3.7 introduces `request.options` as a parameter for a client configuration and as an optional argument to all creational
+request methods. When paired with a client's configuration settings, these options allow you to specify default settings
+for various aspects of a request. Because these options make other previous configuration options redundant, several
+configuration options and methods of a client and AbstractCommand have been deprecated.
+
+- Marked `Guzzle\Service\Client::getDefaultHeaders()` as deprecated. Use `$client->getDefaultOption('headers')`.
+- Marked `Guzzle\Service\Client::setDefaultHeaders()` as deprecated. Use `$client->setDefaultOption('headers/{header_name}', 'value')`.
+- Marked 'request.params' for `Guzzle\Http\Client` as deprecated. Use `$client->setDefaultOption('params/{param_name}', 'value')`
+- Marked 'command.headers', 'command.response_body' and 'command.on_complete' as deprecated for AbstractCommand. These will work through Guzzle 4.0
+
+ $command = $client->getCommand('foo', array(
+ 'command.headers' => array('Test' => '123'),
+ 'command.response_body' => '/path/to/file'
+ ));
+
+ // Should be changed to:
+
+ $command = $client->getCommand('foo', array(
+ 'command.request_options' => array(
+ 'headers' => array('Test' => '123'),
+ 'save_as' => '/path/to/file'
+ )
+ ));
+
+### Interface changes
+
+Additions and changes (you will need to update any implementations or subclasses you may have created):
+
+- Added an `$options` argument to the end of the following methods of `Guzzle\Http\ClientInterface`:
+ createRequest, head, delete, put, patch, post, options, prepareRequest
+- Added an `$options` argument to the end of `Guzzle\Http\Message\Request\RequestFactoryInterface::createRequest()`
+- Added an `applyOptions()` method to `Guzzle\Http\Message\Request\RequestFactoryInterface`
+- Changed `Guzzle\Http\ClientInterface::get($uri = null, $headers = null, $body = null)` to
+ `Guzzle\Http\ClientInterface::get($uri = null, $headers = null, $options = array())`. You can still pass in a
+ resource, string, or EntityBody into the $options parameter to specify the download location of the response.
+- Changed `Guzzle\Common\Collection::__construct($data)` to no longer accepts a null value for `$data` but a
+ default `array()`
+- Added `Guzzle\Stream\StreamInterface::isRepeatable`
+- Made `Guzzle\Http\Client::expandTemplate` and `getUriTemplate` protected methods.
+
+The following methods were removed from interfaces. All of these methods are still available in the concrete classes
+that implement them, but you should update your code to use alternative methods:
+
+- Removed `Guzzle\Http\ClientInterface::setDefaultHeaders(). Use
+ `$client->getConfig()->setPath('request.options/headers/{header_name}', 'value')`. or
+ `$client->getConfig()->setPath('request.options/headers', array('header_name' => 'value'))` or
+ `$client->setDefaultOption('headers/{header_name}', 'value')`. or
+ `$client->setDefaultOption('headers', array('header_name' => 'value'))`.
+- Removed `Guzzle\Http\ClientInterface::getDefaultHeaders(). Use `$client->getConfig()->getPath('request.options/headers')`.
+- Removed `Guzzle\Http\ClientInterface::expandTemplate()`. This is an implementation detail.
+- Removed `Guzzle\Http\ClientInterface::setRequestFactory()`. This is an implementation detail.
+- Removed `Guzzle\Http\ClientInterface::getCurlMulti()`. This is a very specific implementation detail.
+- Removed `Guzzle\Http\Message\RequestInterface::canCache`. Use the CachePlugin.
+- Removed `Guzzle\Http\Message\RequestInterface::setIsRedirect`. Use the HistoryPlugin.
+- Removed `Guzzle\Http\Message\RequestInterface::isRedirect`. Use the HistoryPlugin.
+
+### Cache plugin breaking changes
+
+- CacheKeyProviderInterface and DefaultCacheKeyProvider are no longer used. All of this logic is handled in a
+ CacheStorageInterface. These two objects and interface will be removed in a future version.
+- Always setting X-cache headers on cached responses
+- Default cache TTLs are now handled by the CacheStorageInterface of a CachePlugin
+- `CacheStorageInterface::cache($key, Response $response, $ttl = null)` has changed to `cache(RequestInterface
+ $request, Response $response);`
+- `CacheStorageInterface::fetch($key)` has changed to `fetch(RequestInterface $request);`
+- `CacheStorageInterface::delete($key)` has changed to `delete(RequestInterface $request);`
+- Added `CacheStorageInterface::purge($url)`
+- `DefaultRevalidation::__construct(CacheKeyProviderInterface $cacheKey, CacheStorageInterface $cache, CachePlugin
+ $plugin)` has changed to `DefaultRevalidation::__construct(CacheStorageInterface $cache,
+ CanCacheStrategyInterface $canCache = null)`
+- Added `RevalidationInterface::shouldRevalidate(RequestInterface $request, Response $response)`
+
+3.5 to 3.6
+----------
+
+* Mixed casing of headers are now forced to be a single consistent casing across all values for that header.
+* Messages internally use a HeaderCollection object to delegate handling case-insensitive header resolution
+* Removed the whole changedHeader() function system of messages because all header changes now go through addHeader().
+ For example, setHeader() first removes the header using unset on a HeaderCollection and then calls addHeader().
+ Keeping the Host header and URL host in sync is now handled by overriding the addHeader method in Request.
+* Specific header implementations can be created for complex headers. When a message creates a header, it uses a
+ HeaderFactory which can map specific headers to specific header classes. There is now a Link header and
+ CacheControl header implementation.
+* Moved getLinks() from Response to just be used on a Link header object.
+
+If you previously relied on Guzzle\Http\Message\Header::raw(), then you will need to update your code to use the
+HeaderInterface (e.g. toArray(), getAll(), etc.).
+
+### Interface changes
+
+* Removed from interface: Guzzle\Http\ClientInterface::setUriTemplate
+* Removed from interface: Guzzle\Http\ClientInterface::setCurlMulti()
+* Removed Guzzle\Http\Message\Request::receivedRequestHeader() and implemented this functionality in
+ Guzzle\Http\Curl\RequestMediator
+* Removed the optional $asString parameter from MessageInterface::getHeader(). Just cast the header to a string.
+* Removed the optional $tryChunkedTransfer option from Guzzle\Http\Message\EntityEnclosingRequestInterface
+* Removed the $asObjects argument from Guzzle\Http\Message\MessageInterface::getHeaders()
+
+### Removed deprecated functions
+
+* Removed Guzzle\Parser\ParserRegister::get(). Use getParser()
+* Removed Guzzle\Parser\ParserRegister::set(). Use registerParser().
+
+### Deprecations
+
+* The ability to case-insensitively search for header values
+* Guzzle\Http\Message\Header::hasExactHeader
+* Guzzle\Http\Message\Header::raw. Use getAll()
+* Deprecated cache control specific methods on Guzzle\Http\Message\AbstractMessage. Use the CacheControl header object
+ instead.
+
+### Other changes
+
+* All response header helper functions return a string rather than mixing Header objects and strings inconsistently
+* Removed cURL blacklist support. This is no longer necessary now that Expect, Accept, etc. are managed by Guzzle
+ directly via interfaces
+* Removed the injecting of a request object onto a response object. The methods to get and set a request still exist
+ but are a no-op until removed.
+* Most classes that used to require a `Guzzle\Service\Command\CommandInterface` typehint now request a
+ `Guzzle\Service\Command\ArrayCommandInterface`.
+* Added `Guzzle\Http\Message\RequestInterface::startResponse()` to the RequestInterface to handle injecting a response
+ on a request while the request is still being transferred
+* `Guzzle\Service\Command\CommandInterface` now extends from ToArrayInterface and ArrayAccess
+
+3.3 to 3.4
+----------
+
+Base URLs of a client now follow the rules of http://tools.ietf.org/html/rfc3986#section-5.2.2 when merging URLs.
+
+3.2 to 3.3
+----------
+
+### Response::getEtag() quote stripping removed
+
+`Guzzle\Http\Message\Response::getEtag()` no longer strips quotes around the ETag response header
+
+### Removed `Guzzle\Http\Utils`
+
+The `Guzzle\Http\Utils` class was removed. This class was only used for testing.
+
+### Stream wrapper and type
+
+`Guzzle\Stream\Stream::getWrapper()` and `Guzzle\Stream\Stream::getStreamType()` are no longer converted to lowercase.
+
+### curl.emit_io became emit_io
+
+Emitting IO events from a RequestMediator is now a parameter that must be set in a request's curl options using the
+'emit_io' key. This was previously set under a request's parameters using 'curl.emit_io'
+
+3.1 to 3.2
+----------
+
+### CurlMulti is no longer reused globally
+
+Before 3.2, the same CurlMulti object was reused globally for each client. This can cause issue where plugins added
+to a single client can pollute requests dispatched from other clients.
+
+If you still wish to reuse the same CurlMulti object with each client, then you can add a listener to the
+ServiceBuilder's `service_builder.create_client` event to inject a custom CurlMulti object into each client as it is
+created.
+
+```php
+$multi = new Guzzle\Http\Curl\CurlMulti();
+$builder = Guzzle\Service\Builder\ServiceBuilder::factory('/path/to/config.json');
+$builder->addListener('service_builder.create_client', function ($event) use ($multi) {
+ $event['client']->setCurlMulti($multi);
+}
+});
+```
+
+### No default path
+
+URLs no longer have a default path value of '/' if no path was specified.
+
+Before:
+
+```php
+$request = $client->get('http://www.foo.com');
+echo $request->getUrl();
+// >> http://www.foo.com/
+```
+
+After:
+
+```php
+$request = $client->get('http://www.foo.com');
+echo $request->getUrl();
+// >> http://www.foo.com
+```
+
+### Less verbose BadResponseException
+
+The exception message for `Guzzle\Http\Exception\BadResponseException` no longer contains the full HTTP request and
+response information. You can, however, get access to the request and response object by calling `getRequest()` or
+`getResponse()` on the exception object.
+
+### Query parameter aggregation
+
+Multi-valued query parameters are no longer aggregated using a callback function. `Guzzle\Http\Query` now has a
+setAggregator() method that accepts a `Guzzle\Http\QueryAggregator\QueryAggregatorInterface` object. This object is
+responsible for handling the aggregation of multi-valued query string variables into a flattened hash.
+
+2.8 to 3.x
+----------
+
+### Guzzle\Service\Inspector
+
+Change `\Guzzle\Service\Inspector::fromConfig` to `\Guzzle\Common\Collection::fromConfig`
+
+**Before**
+
+```php
+use Guzzle\Service\Inspector;
+
+class YourClient extends \Guzzle\Service\Client
+{
+ public static function factory($config = array())
+ {
+ $default = array();
+ $required = array('base_url', 'username', 'api_key');
+ $config = Inspector::fromConfig($config, $default, $required);
+
+ $client = new self(
+ $config->get('base_url'),
+ $config->get('username'),
+ $config->get('api_key')
+ );
+ $client->setConfig($config);
+
+ $client->setDescription(ServiceDescription::factory(__DIR__ . DIRECTORY_SEPARATOR . 'client.json'));
+
+ return $client;
+ }
+```
+
+**After**
+
+```php
+use Guzzle\Common\Collection;
+
+class YourClient extends \Guzzle\Service\Client
+{
+ public static function factory($config = array())
+ {
+ $default = array();
+ $required = array('base_url', 'username', 'api_key');
+ $config = Collection::fromConfig($config, $default, $required);
+
+ $client = new self(
+ $config->get('base_url'),
+ $config->get('username'),
+ $config->get('api_key')
+ );
+ $client->setConfig($config);
+
+ $client->setDescription(ServiceDescription::factory(__DIR__ . DIRECTORY_SEPARATOR . 'client.json'));
+
+ return $client;
+ }
+```
+
+### Convert XML Service Descriptions to JSON
+
+**Before**
+
+```xml
+<?xml version="1.0" encoding="UTF-8"?>
+<client>
+ <commands>
+ <!-- Groups -->
+ <command name="list_groups" method="GET" uri="groups.json">
+ <doc>Get a list of groups</doc>
+ </command>
+ <command name="search_groups" method="GET" uri='search.json?query="{{query}} type:group"'>
+ <doc>Uses a search query to get a list of groups</doc>
+ <param name="query" type="string" required="true" />
+ </command>
+ <command name="create_group" method="POST" uri="groups.json">
+ <doc>Create a group</doc>
+ <param name="data" type="array" location="body" filters="json_encode" doc="Group JSON"/>
+ <param name="Content-Type" location="header" static="application/json"/>
+ </command>
+ <command name="delete_group" method="DELETE" uri="groups/{{id}}.json">
+ <doc>Delete a group by ID</doc>
+ <param name="id" type="integer" required="true"/>
+ </command>
+ <command name="get_group" method="GET" uri="groups/{{id}}.json">
+ <param name="id" type="integer" required="true"/>
+ </command>
+ <command name="update_group" method="PUT" uri="groups/{{id}}.json">
+ <doc>Update a group</doc>
+ <param name="id" type="integer" required="true"/>
+ <param name="data" type="array" location="body" filters="json_encode" doc="Group JSON"/>
+ <param name="Content-Type" location="header" static="application/json"/>
+ </command>
+ </commands>
+</client>
+```
+
+**After**
+
+```json
+{
+ "name": "Zendesk REST API v2",
+ "apiVersion": "2012-12-31",
+ "description":"Provides access to Zendesk views, groups, tickets, ticket fields, and users",
+ "operations": {
+ "list_groups": {
+ "httpMethod":"GET",
+ "uri": "groups.json",
+ "summary": "Get a list of groups"
+ },
+ "search_groups":{
+ "httpMethod":"GET",
+ "uri": "search.json?query=\"{query} type:group\"",
+ "summary": "Uses a search query to get a list of groups",
+ "parameters":{
+ "query":{
+ "location": "uri",
+ "description":"Zendesk Search Query",
+ "type": "string",
+ "required": true
+ }
+ }
+ },
+ "create_group": {
+ "httpMethod":"POST",
+ "uri": "groups.json",
+ "summary": "Create a group",
+ "parameters":{
+ "data": {
+ "type": "array",
+ "location": "body",
+ "description":"Group JSON",
+ "filters": "json_encode",
+ "required": true
+ },
+ "Content-Type":{
+ "type": "string",
+ "location":"header",
+ "static": "application/json"
+ }
+ }
+ },
+ "delete_group": {
+ "httpMethod":"DELETE",
+ "uri": "groups/{id}.json",
+ "summary": "Delete a group",
+ "parameters":{
+ "id":{
+ "location": "uri",
+ "description":"Group to delete by ID",
+ "type": "integer",
+ "required": true
+ }
+ }
+ },
+ "get_group": {
+ "httpMethod":"GET",
+ "uri": "groups/{id}.json",
+ "summary": "Get a ticket",
+ "parameters":{
+ "id":{
+ "location": "uri",
+ "description":"Group to get by ID",
+ "type": "integer",
+ "required": true
+ }
+ }
+ },
+ "update_group": {
+ "httpMethod":"PUT",
+ "uri": "groups/{id}.json",
+ "summary": "Update a group",
+ "parameters":{
+ "id": {
+ "location": "uri",
+ "description":"Group to update by ID",
+ "type": "integer",
+ "required": true
+ },
+ "data": {
+ "type": "array",
+ "location": "body",
+ "description":"Group JSON",
+ "filters": "json_encode",
+ "required": true
+ },
+ "Content-Type":{
+ "type": "string",
+ "location":"header",
+ "static": "application/json"
+ }
+ }
+ }
+}
+```
+
+### Guzzle\Service\Description\ServiceDescription
+
+Commands are now called Operations
+
+**Before**
+
+```php
+use Guzzle\Service\Description\ServiceDescription;
+
+$sd = new ServiceDescription();
+$sd->getCommands(); // @returns ApiCommandInterface[]
+$sd->hasCommand($name);
+$sd->getCommand($name); // @returns ApiCommandInterface|null
+$sd->addCommand($command); // @param ApiCommandInterface $command
+```
+
+**After**
+
+```php
+use Guzzle\Service\Description\ServiceDescription;
+
+$sd = new ServiceDescription();
+$sd->getOperations(); // @returns OperationInterface[]
+$sd->hasOperation($name);
+$sd->getOperation($name); // @returns OperationInterface|null
+$sd->addOperation($operation); // @param OperationInterface $operation
+```
+
+### Guzzle\Common\Inflection\Inflector
+
+Namespace is now `Guzzle\Inflection\Inflector`
+
+### Guzzle\Http\Plugin
+
+Namespace is now `Guzzle\Plugin`. Many other changes occur within this namespace and are detailed in their own sections below.
+
+### Guzzle\Http\Plugin\LogPlugin and Guzzle\Common\Log
+
+Now `Guzzle\Plugin\Log\LogPlugin` and `Guzzle\Log` respectively.
+
+**Before**
+
+```php
+use Guzzle\Common\Log\ClosureLogAdapter;
+use Guzzle\Http\Plugin\LogPlugin;
+
+/** @var \Guzzle\Http\Client */
+$client;
+
+// $verbosity is an integer indicating desired message verbosity level
+$client->addSubscriber(new LogPlugin(new ClosureLogAdapter(function($m) { echo $m; }, $verbosity = LogPlugin::LOG_VERBOSE);
+```
+
+**After**
+
+```php
+use Guzzle\Log\ClosureLogAdapter;
+use Guzzle\Log\MessageFormatter;
+use Guzzle\Plugin\Log\LogPlugin;
+
+/** @var \Guzzle\Http\Client */
+$client;
+
+// $format is a string indicating desired message format -- @see MessageFormatter
+$client->addSubscriber(new LogPlugin(new ClosureLogAdapter(function($m) { echo $m; }, $format = MessageFormatter::DEBUG_FORMAT);
+```
+
+### Guzzle\Http\Plugin\CurlAuthPlugin
+
+Now `Guzzle\Plugin\CurlAuth\CurlAuthPlugin`.
+
+### Guzzle\Http\Plugin\ExponentialBackoffPlugin
+
+Now `Guzzle\Plugin\Backoff\BackoffPlugin`, and other changes.
+
+**Before**
+
+```php
+use Guzzle\Http\Plugin\ExponentialBackoffPlugin;
+
+$backoffPlugin = new ExponentialBackoffPlugin($maxRetries, array_merge(
+ ExponentialBackoffPlugin::getDefaultFailureCodes(), array(429)
+ ));
+
+$client->addSubscriber($backoffPlugin);
+```
+
+**After**
+
+```php
+use Guzzle\Plugin\Backoff\BackoffPlugin;
+use Guzzle\Plugin\Backoff\HttpBackoffStrategy;
+
+// Use convenient factory method instead -- see implementation for ideas of what
+// you can do with chaining backoff strategies
+$backoffPlugin = BackoffPlugin::getExponentialBackoff($maxRetries, array_merge(
+ HttpBackoffStrategy::getDefaultFailureCodes(), array(429)
+ ));
+$client->addSubscriber($backoffPlugin);
+```
+
+### Known Issues
+
+#### [BUG] Accept-Encoding header behavior changed unintentionally.
+
+(See #217) (Fixed in 09daeb8c666fb44499a0646d655a8ae36456575e)
+
+In version 2.8 setting the `Accept-Encoding` header would set the CURLOPT_ENCODING option, which permitted cURL to
+properly handle gzip/deflate compressed responses from the server. In versions affected by this bug this does not happen.
+See issue #217 for a workaround, or use a version containing the fix.
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/composer.json b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/composer.json
new file mode 100644
index 00000000..65687a58
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/composer.json
@@ -0,0 +1,44 @@
+{
+ "name": "guzzlehttp/guzzle",
+ "type": "library",
+ "description": "Guzzle is a PHP HTTP client library",
+ "keywords": ["framework", "http", "rest", "web service", "curl", "client", "HTTP client"],
+ "homepage": "http://guzzlephp.org/",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Michael Dowling",
+ "email": "mtdowling@gmail.com",
+ "homepage": "https://github.com/mtdowling"
+ }
+ ],
+ "require": {
+ "php": ">=5.5",
+ "guzzlehttp/psr7": "^1.4",
+ "guzzlehttp/promises": "^1.0"
+ },
+ "require-dev": {
+ "ext-curl": "*",
+ "phpunit/phpunit": "^4.0 || ^5.0",
+ "psr/log": "^1.0"
+ },
+ "autoload": {
+ "files": ["src/functions_include.php"],
+ "psr-4": {
+ "GuzzleHttp\\": "src/"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "GuzzleHttp\\Tests\\": "tests/"
+ }
+ },
+ "suggest": {
+ "psr/log": "Required for using the Log middleware"
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "6.2-dev"
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Client.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Client.php
new file mode 100644
index 00000000..de4df8a5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Client.php
@@ -0,0 +1,414 @@
+<?php
+namespace GuzzleHttp;
+
+use GuzzleHttp\Cookie\CookieJar;
+use GuzzleHttp\Promise;
+use GuzzleHttp\Psr7;
+use Psr\Http\Message\UriInterface;
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+
+/**
+ * @method ResponseInterface get(string|UriInterface $uri, array $options = [])
+ * @method ResponseInterface head(string|UriInterface $uri, array $options = [])
+ * @method ResponseInterface put(string|UriInterface $uri, array $options = [])
+ * @method ResponseInterface post(string|UriInterface $uri, array $options = [])
+ * @method ResponseInterface patch(string|UriInterface $uri, array $options = [])
+ * @method ResponseInterface delete(string|UriInterface $uri, array $options = [])
+ * @method Promise\PromiseInterface getAsync(string|UriInterface $uri, array $options = [])
+ * @method Promise\PromiseInterface headAsync(string|UriInterface $uri, array $options = [])
+ * @method Promise\PromiseInterface putAsync(string|UriInterface $uri, array $options = [])
+ * @method Promise\PromiseInterface postAsync(string|UriInterface $uri, array $options = [])
+ * @method Promise\PromiseInterface patchAsync(string|UriInterface $uri, array $options = [])
+ * @method Promise\PromiseInterface deleteAsync(string|UriInterface $uri, array $options = [])
+ */
+class Client implements ClientInterface
+{
+ /** @var array Default request options */
+ private $config;
+
+ /**
+ * Clients accept an array of constructor parameters.
+ *
+ * Here's an example of creating a client using a base_uri and an array of
+ * default request options to apply to each request:
+ *
+ * $client = new Client([
+ * 'base_uri' => 'http://www.foo.com/1.0/',
+ * 'timeout' => 0,
+ * 'allow_redirects' => false,
+ * 'proxy' => '192.168.16.1:10'
+ * ]);
+ *
+ * Client configuration settings include the following options:
+ *
+ * - handler: (callable) Function that transfers HTTP requests over the
+ * wire. The function is called with a Psr7\Http\Message\RequestInterface
+ * and array of transfer options, and must return a
+ * GuzzleHttp\Promise\PromiseInterface that is fulfilled with a
+ * Psr7\Http\Message\ResponseInterface on success. "handler" is a
+ * constructor only option that cannot be overridden in per/request
+ * options. If no handler is provided, a default handler will be created
+ * that enables all of the request options below by attaching all of the
+ * default middleware to the handler.
+ * - base_uri: (string|UriInterface) Base URI of the client that is merged
+ * into relative URIs. Can be a string or instance of UriInterface.
+ * - **: any request option
+ *
+ * @param array $config Client configuration settings.
+ *
+ * @see \GuzzleHttp\RequestOptions for a list of available request options.
+ */
+ public function __construct(array $config = [])
+ {
+ if (!isset($config['handler'])) {
+ $config['handler'] = HandlerStack::create();
+ } elseif (!is_callable($config['handler'])) {
+ throw new \InvalidArgumentException('handler must be a callable');
+ }
+
+ // Convert the base_uri to a UriInterface
+ if (isset($config['base_uri'])) {
+ $config['base_uri'] = Psr7\uri_for($config['base_uri']);
+ }
+
+ $this->configureDefaults($config);
+ }
+
+ public function __call($method, $args)
+ {
+ if (count($args) < 1) {
+ throw new \InvalidArgumentException('Magic request methods require a URI and optional options array');
+ }
+
+ $uri = $args[0];
+ $opts = isset($args[1]) ? $args[1] : [];
+
+ return substr($method, -5) === 'Async'
+ ? $this->requestAsync(substr($method, 0, -5), $uri, $opts)
+ : $this->request($method, $uri, $opts);
+ }
+
+ public function sendAsync(RequestInterface $request, array $options = [])
+ {
+ // Merge the base URI into the request URI if needed.
+ $options = $this->prepareDefaults($options);
+
+ return $this->transfer(
+ $request->withUri($this->buildUri($request->getUri(), $options), $request->hasHeader('Host')),
+ $options
+ );
+ }
+
+ public function send(RequestInterface $request, array $options = [])
+ {
+ $options[RequestOptions::SYNCHRONOUS] = true;
+ return $this->sendAsync($request, $options)->wait();
+ }
+
+ public function requestAsync($method, $uri = '', array $options = [])
+ {
+ $options = $this->prepareDefaults($options);
+ // Remove request modifying parameter because it can be done up-front.
+ $headers = isset($options['headers']) ? $options['headers'] : [];
+ $body = isset($options['body']) ? $options['body'] : null;
+ $version = isset($options['version']) ? $options['version'] : '1.1';
+ // Merge the URI into the base URI.
+ $uri = $this->buildUri($uri, $options);
+ if (is_array($body)) {
+ $this->invalidBody();
+ }
+ $request = new Psr7\Request($method, $uri, $headers, $body, $version);
+ // Remove the option so that they are not doubly-applied.
+ unset($options['headers'], $options['body'], $options['version']);
+
+ return $this->transfer($request, $options);
+ }
+
+ public function request($method, $uri = '', array $options = [])
+ {
+ $options[RequestOptions::SYNCHRONOUS] = true;
+ return $this->requestAsync($method, $uri, $options)->wait();
+ }
+
+ public function getConfig($option = null)
+ {
+ return $option === null
+ ? $this->config
+ : (isset($this->config[$option]) ? $this->config[$option] : null);
+ }
+
+ private function buildUri($uri, array $config)
+ {
+ // for BC we accept null which would otherwise fail in uri_for
+ $uri = Psr7\uri_for($uri === null ? '' : $uri);
+
+ if (isset($config['base_uri'])) {
+ $uri = Psr7\UriResolver::resolve(Psr7\uri_for($config['base_uri']), $uri);
+ }
+
+ return $uri->getScheme() === '' && $uri->getHost() !== '' ? $uri->withScheme('http') : $uri;
+ }
+
+ /**
+ * Configures the default options for a client.
+ *
+ * @param array $config
+ */
+ private function configureDefaults(array $config)
+ {
+ $defaults = [
+ 'allow_redirects' => RedirectMiddleware::$defaultSettings,
+ 'http_errors' => true,
+ 'decode_content' => true,
+ 'verify' => true,
+ 'cookies' => false
+ ];
+
+ // Use the standard Linux HTTP_PROXY and HTTPS_PROXY if set.
+
+ // We can only trust the HTTP_PROXY environment variable in a CLI
+ // process due to the fact that PHP has no reliable mechanism to
+ // get environment variables that start with "HTTP_".
+ if (php_sapi_name() == 'cli' && getenv('HTTP_PROXY')) {
+ $defaults['proxy']['http'] = getenv('HTTP_PROXY');
+ }
+
+ if ($proxy = getenv('HTTPS_PROXY')) {
+ $defaults['proxy']['https'] = $proxy;
+ }
+
+ if ($noProxy = getenv('NO_PROXY')) {
+ $cleanedNoProxy = str_replace(' ', '', $noProxy);
+ $defaults['proxy']['no'] = explode(',', $cleanedNoProxy);
+ }
+
+ $this->config = $config + $defaults;
+
+ if (!empty($config['cookies']) && $config['cookies'] === true) {
+ $this->config['cookies'] = new CookieJar();
+ }
+
+ // Add the default user-agent header.
+ if (!isset($this->config['headers'])) {
+ $this->config['headers'] = ['User-Agent' => default_user_agent()];
+ } else {
+ // Add the User-Agent header if one was not already set.
+ foreach (array_keys($this->config['headers']) as $name) {
+ if (strtolower($name) === 'user-agent') {
+ return;
+ }
+ }
+ $this->config['headers']['User-Agent'] = default_user_agent();
+ }
+ }
+
+ /**
+ * Merges default options into the array.
+ *
+ * @param array $options Options to modify by reference
+ *
+ * @return array
+ */
+ private function prepareDefaults($options)
+ {
+ $defaults = $this->config;
+
+ if (!empty($defaults['headers'])) {
+ // Default headers are only added if they are not present.
+ $defaults['_conditional'] = $defaults['headers'];
+ unset($defaults['headers']);
+ }
+
+ // Special handling for headers is required as they are added as
+ // conditional headers and as headers passed to a request ctor.
+ if (array_key_exists('headers', $options)) {
+ // Allows default headers to be unset.
+ if ($options['headers'] === null) {
+ $defaults['_conditional'] = null;
+ unset($options['headers']);
+ } elseif (!is_array($options['headers'])) {
+ throw new \InvalidArgumentException('headers must be an array');
+ }
+ }
+
+ // Shallow merge defaults underneath options.
+ $result = $options + $defaults;
+
+ // Remove null values.
+ foreach ($result as $k => $v) {
+ if ($v === null) {
+ unset($result[$k]);
+ }
+ }
+
+ return $result;
+ }
+
+ /**
+ * Transfers the given request and applies request options.
+ *
+ * The URI of the request is not modified and the request options are used
+ * as-is without merging in default options.
+ *
+ * @param RequestInterface $request
+ * @param array $options
+ *
+ * @return Promise\PromiseInterface
+ */
+ private function transfer(RequestInterface $request, array $options)
+ {
+ // save_to -> sink
+ if (isset($options['save_to'])) {
+ $options['sink'] = $options['save_to'];
+ unset($options['save_to']);
+ }
+
+ // exceptions -> http_errors
+ if (isset($options['exceptions'])) {
+ $options['http_errors'] = $options['exceptions'];
+ unset($options['exceptions']);
+ }
+
+ $request = $this->applyOptions($request, $options);
+ $handler = $options['handler'];
+
+ try {
+ return Promise\promise_for($handler($request, $options));
+ } catch (\Exception $e) {
+ return Promise\rejection_for($e);
+ }
+ }
+
+ /**
+ * Applies the array of request options to a request.
+ *
+ * @param RequestInterface $request
+ * @param array $options
+ *
+ * @return RequestInterface
+ */
+ private function applyOptions(RequestInterface $request, array &$options)
+ {
+ $modify = [];
+
+ if (isset($options['form_params'])) {
+ if (isset($options['multipart'])) {
+ throw new \InvalidArgumentException('You cannot use '
+ . 'form_params and multipart at the same time. Use the '
+ . 'form_params option if you want to send application/'
+ . 'x-www-form-urlencoded requests, and the multipart '
+ . 'option to send multipart/form-data requests.');
+ }
+ $options['body'] = http_build_query($options['form_params'], '', '&');
+ unset($options['form_params']);
+ $options['_conditional']['Content-Type'] = 'application/x-www-form-urlencoded';
+ }
+
+ if (isset($options['multipart'])) {
+ $options['body'] = new Psr7\MultipartStream($options['multipart']);
+ unset($options['multipart']);
+ }
+
+ if (isset($options['json'])) {
+ $options['body'] = \GuzzleHttp\json_encode($options['json']);
+ unset($options['json']);
+ $options['_conditional']['Content-Type'] = 'application/json';
+ }
+
+ if (!empty($options['decode_content'])
+ && $options['decode_content'] !== true
+ ) {
+ $modify['set_headers']['Accept-Encoding'] = $options['decode_content'];
+ }
+
+ if (isset($options['headers'])) {
+ if (isset($modify['set_headers'])) {
+ $modify['set_headers'] = $options['headers'] + $modify['set_headers'];
+ } else {
+ $modify['set_headers'] = $options['headers'];
+ }
+ unset($options['headers']);
+ }
+
+ if (isset($options['body'])) {
+ if (is_array($options['body'])) {
+ $this->invalidBody();
+ }
+ $modify['body'] = Psr7\stream_for($options['body']);
+ unset($options['body']);
+ }
+
+ if (!empty($options['auth']) && is_array($options['auth'])) {
+ $value = $options['auth'];
+ $type = isset($value[2]) ? strtolower($value[2]) : 'basic';
+ switch ($type) {
+ case 'basic':
+ $modify['set_headers']['Authorization'] = 'Basic '
+ . base64_encode("$value[0]:$value[1]");
+ break;
+ case 'digest':
+ // @todo: Do not rely on curl
+ $options['curl'][CURLOPT_HTTPAUTH] = CURLAUTH_DIGEST;
+ $options['curl'][CURLOPT_USERPWD] = "$value[0]:$value[1]";
+ break;
+ case 'ntlm':
+ $options['curl'][CURLOPT_HTTPAUTH] = CURLAUTH_NTLM;
+ $options['curl'][CURLOPT_USERPWD] = "$value[0]:$value[1]";
+ break;
+ }
+ }
+
+ if (isset($options['query'])) {
+ $value = $options['query'];
+ if (is_array($value)) {
+ $value = http_build_query($value, null, '&', PHP_QUERY_RFC3986);
+ }
+ if (!is_string($value)) {
+ throw new \InvalidArgumentException('query must be a string or array');
+ }
+ $modify['query'] = $value;
+ unset($options['query']);
+ }
+
+ // Ensure that sink is not an invalid value.
+ if (isset($options['sink'])) {
+ // TODO: Add more sink validation?
+ if (is_bool($options['sink'])) {
+ throw new \InvalidArgumentException('sink must not be a boolean');
+ }
+ }
+
+ $request = Psr7\modify_request($request, $modify);
+ if ($request->getBody() instanceof Psr7\MultipartStream) {
+ // Use a multipart/form-data POST if a Content-Type is not set.
+ $options['_conditional']['Content-Type'] = 'multipart/form-data; boundary='
+ . $request->getBody()->getBoundary();
+ }
+
+ // Merge in conditional headers if they are not present.
+ if (isset($options['_conditional'])) {
+ // Build up the changes so it's in a single clone of the message.
+ $modify = [];
+ foreach ($options['_conditional'] as $k => $v) {
+ if (!$request->hasHeader($k)) {
+ $modify['set_headers'][$k] = $v;
+ }
+ }
+ $request = Psr7\modify_request($request, $modify);
+ // Don't pass this internal value along to middleware/handlers.
+ unset($options['_conditional']);
+ }
+
+ return $request;
+ }
+
+ private function invalidBody()
+ {
+ throw new \InvalidArgumentException('Passing in the "body" request '
+ . 'option as an array to send a POST request has been deprecated. '
+ . 'Please use the "form_params" request option to send a '
+ . 'application/x-www-form-urlencoded request, or the "multipart" '
+ . 'request option to send a multipart/form-data request.');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/ClientInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/ClientInterface.php
new file mode 100644
index 00000000..5a67b66b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/ClientInterface.php
@@ -0,0 +1,84 @@
+<?php
+namespace GuzzleHttp;
+
+use GuzzleHttp\Promise\PromiseInterface;
+use GuzzleHttp\Exception\GuzzleException;
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+use Psr\Http\Message\UriInterface;
+
+/**
+ * Client interface for sending HTTP requests.
+ */
+interface ClientInterface
+{
+ const VERSION = '6.2.1';
+
+ /**
+ * Send an HTTP request.
+ *
+ * @param RequestInterface $request Request to send
+ * @param array $options Request options to apply to the given
+ * request and to the transfer.
+ *
+ * @return ResponseInterface
+ * @throws GuzzleException
+ */
+ public function send(RequestInterface $request, array $options = []);
+
+ /**
+ * Asynchronously send an HTTP request.
+ *
+ * @param RequestInterface $request Request to send
+ * @param array $options Request options to apply to the given
+ * request and to the transfer.
+ *
+ * @return PromiseInterface
+ */
+ public function sendAsync(RequestInterface $request, array $options = []);
+
+ /**
+ * Create and send an HTTP request.
+ *
+ * Use an absolute path to override the base path of the client, or a
+ * relative path to append to the base path of the client. The URL can
+ * contain the query string as well.
+ *
+ * @param string $method HTTP method.
+ * @param string|UriInterface $uri URI object or string.
+ * @param array $options Request options to apply.
+ *
+ * @return ResponseInterface
+ * @throws GuzzleException
+ */
+ public function request($method, $uri, array $options = []);
+
+ /**
+ * Create and send an asynchronous HTTP request.
+ *
+ * Use an absolute path to override the base path of the client, or a
+ * relative path to append to the base path of the client. The URL can
+ * contain the query string as well. Use an array to provide a URL
+ * template and additional variables to use in the URL template expansion.
+ *
+ * @param string $method HTTP method
+ * @param string|UriInterface $uri URI object or string.
+ * @param array $options Request options to apply.
+ *
+ * @return PromiseInterface
+ */
+ public function requestAsync($method, $uri, array $options = []);
+
+ /**
+ * Get a client configuration option.
+ *
+ * These options include default request options of the client, a "handler"
+ * (if utilized by the concrete client), and a "base_uri" if utilized by
+ * the concrete client.
+ *
+ * @param string|null $option The config option to retrieve.
+ *
+ * @return mixed
+ */
+ public function getConfig($option = null);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/CookieJar.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/CookieJar.php
new file mode 100644
index 00000000..1c17b5a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/CookieJar.php
@@ -0,0 +1,314 @@
+<?php
+namespace GuzzleHttp\Cookie;
+
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+
+/**
+ * Cookie jar that stores cookies as an array
+ */
+class CookieJar implements CookieJarInterface
+{
+ /** @var SetCookie[] Loaded cookie data */
+ private $cookies = [];
+
+ /** @var bool */
+ private $strictMode;
+
+ /**
+ * @param bool $strictMode Set to true to throw exceptions when invalid
+ * cookies are added to the cookie jar.
+ * @param array $cookieArray Array of SetCookie objects or a hash of
+ * arrays that can be used with the SetCookie
+ * constructor
+ */
+ public function __construct($strictMode = false, $cookieArray = [])
+ {
+ $this->strictMode = $strictMode;
+
+ foreach ($cookieArray as $cookie) {
+ if (!($cookie instanceof SetCookie)) {
+ $cookie = new SetCookie($cookie);
+ }
+ $this->setCookie($cookie);
+ }
+ }
+
+ /**
+ * Create a new Cookie jar from an associative array and domain.
+ *
+ * @param array $cookies Cookies to create the jar from
+ * @param string $domain Domain to set the cookies to
+ *
+ * @return self
+ */
+ public static function fromArray(array $cookies, $domain)
+ {
+ $cookieJar = new self();
+ foreach ($cookies as $name => $value) {
+ $cookieJar->setCookie(new SetCookie([
+ 'Domain' => $domain,
+ 'Name' => $name,
+ 'Value' => $value,
+ 'Discard' => true
+ ]));
+ }
+
+ return $cookieJar;
+ }
+
+ /**
+ * @deprecated
+ */
+ public static function getCookieValue($value)
+ {
+ return $value;
+ }
+
+ /**
+ * Evaluate if this cookie should be persisted to storage
+ * that survives between requests.
+ *
+ * @param SetCookie $cookie Being evaluated.
+ * @param bool $allowSessionCookies If we should persist session cookies
+ * @return bool
+ */
+ public static function shouldPersist(
+ SetCookie $cookie,
+ $allowSessionCookies = false
+ ) {
+ if ($cookie->getExpires() || $allowSessionCookies) {
+ if (!$cookie->getDiscard()) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Finds and returns the cookie based on the name
+ *
+ * @param string $name cookie name to search for
+ * @return SetCookie|null cookie that was found or null if not found
+ */
+ public function getCookieByName($name)
+ {
+ // don't allow a null name
+ if($name === null) {
+ return null;
+ }
+ foreach($this->cookies as $cookie) {
+ if($cookie->getName() !== null && strcasecmp($cookie->getName(), $name) === 0) {
+ return $cookie;
+ }
+ }
+ }
+
+ public function toArray()
+ {
+ return array_map(function (SetCookie $cookie) {
+ return $cookie->toArray();
+ }, $this->getIterator()->getArrayCopy());
+ }
+
+ public function clear($domain = null, $path = null, $name = null)
+ {
+ if (!$domain) {
+ $this->cookies = [];
+ return;
+ } elseif (!$path) {
+ $this->cookies = array_filter(
+ $this->cookies,
+ function (SetCookie $cookie) use ($path, $domain) {
+ return !$cookie->matchesDomain($domain);
+ }
+ );
+ } elseif (!$name) {
+ $this->cookies = array_filter(
+ $this->cookies,
+ function (SetCookie $cookie) use ($path, $domain) {
+ return !($cookie->matchesPath($path) &&
+ $cookie->matchesDomain($domain));
+ }
+ );
+ } else {
+ $this->cookies = array_filter(
+ $this->cookies,
+ function (SetCookie $cookie) use ($path, $domain, $name) {
+ return !($cookie->getName() == $name &&
+ $cookie->matchesPath($path) &&
+ $cookie->matchesDomain($domain));
+ }
+ );
+ }
+ }
+
+ public function clearSessionCookies()
+ {
+ $this->cookies = array_filter(
+ $this->cookies,
+ function (SetCookie $cookie) {
+ return !$cookie->getDiscard() && $cookie->getExpires();
+ }
+ );
+ }
+
+ public function setCookie(SetCookie $cookie)
+ {
+ // If the name string is empty (but not 0), ignore the set-cookie
+ // string entirely.
+ $name = $cookie->getName();
+ if (!$name && $name !== '0') {
+ return false;
+ }
+
+ // Only allow cookies with set and valid domain, name, value
+ $result = $cookie->validate();
+ if ($result !== true) {
+ if ($this->strictMode) {
+ throw new \RuntimeException('Invalid cookie: ' . $result);
+ } else {
+ $this->removeCookieIfEmpty($cookie);
+ return false;
+ }
+ }
+
+ // Resolve conflicts with previously set cookies
+ foreach ($this->cookies as $i => $c) {
+
+ // Two cookies are identical, when their path, and domain are
+ // identical.
+ if ($c->getPath() != $cookie->getPath() ||
+ $c->getDomain() != $cookie->getDomain() ||
+ $c->getName() != $cookie->getName()
+ ) {
+ continue;
+ }
+
+ // The previously set cookie is a discard cookie and this one is
+ // not so allow the new cookie to be set
+ if (!$cookie->getDiscard() && $c->getDiscard()) {
+ unset($this->cookies[$i]);
+ continue;
+ }
+
+ // If the new cookie's expiration is further into the future, then
+ // replace the old cookie
+ if ($cookie->getExpires() > $c->getExpires()) {
+ unset($this->cookies[$i]);
+ continue;
+ }
+
+ // If the value has changed, we better change it
+ if ($cookie->getValue() !== $c->getValue()) {
+ unset($this->cookies[$i]);
+ continue;
+ }
+
+ // The cookie exists, so no need to continue
+ return false;
+ }
+
+ $this->cookies[] = $cookie;
+
+ return true;
+ }
+
+ public function count()
+ {
+ return count($this->cookies);
+ }
+
+ public function getIterator()
+ {
+ return new \ArrayIterator(array_values($this->cookies));
+ }
+
+ public function extractCookies(
+ RequestInterface $request,
+ ResponseInterface $response
+ ) {
+ if ($cookieHeader = $response->getHeader('Set-Cookie')) {
+ foreach ($cookieHeader as $cookie) {
+ $sc = SetCookie::fromString($cookie);
+ if (!$sc->getDomain()) {
+ $sc->setDomain($request->getUri()->getHost());
+ }
+ if (0 !== strpos($sc->getPath(), '/')) {
+ $sc->setPath($this->getCookiePathFromRequest($request));
+ }
+ $this->setCookie($sc);
+ }
+ }
+ }
+
+ /**
+ * Computes cookie path following RFC 6265 section 5.1.4
+ *
+ * @link https://tools.ietf.org/html/rfc6265#section-5.1.4
+ *
+ * @param RequestInterface $request
+ * @return string
+ */
+ private function getCookiePathFromRequest(RequestInterface $request)
+ {
+ $uriPath = $request->getUri()->getPath();
+ if ('' === $uriPath) {
+ return '/';
+ }
+ if (0 !== strpos($uriPath, '/')) {
+ return '/';
+ }
+ if ('/' === $uriPath) {
+ return '/';
+ }
+ if (0 === $lastSlashPos = strrpos($uriPath, '/')) {
+ return '/';
+ }
+
+ return substr($uriPath, 0, $lastSlashPos);
+ }
+
+ public function withCookieHeader(RequestInterface $request)
+ {
+ $values = [];
+ $uri = $request->getUri();
+ $scheme = $uri->getScheme();
+ $host = $uri->getHost();
+ $path = $uri->getPath() ?: '/';
+
+ foreach ($this->cookies as $cookie) {
+ if ($cookie->matchesPath($path) &&
+ $cookie->matchesDomain($host) &&
+ !$cookie->isExpired() &&
+ (!$cookie->getSecure() || $scheme === 'https')
+ ) {
+ $values[] = $cookie->getName() . '='
+ . $cookie->getValue();
+ }
+ }
+
+ return $values
+ ? $request->withHeader('Cookie', implode('; ', $values))
+ : $request;
+ }
+
+ /**
+ * If a cookie already exists and the server asks to set it again with a
+ * null value, the cookie must be deleted.
+ *
+ * @param SetCookie $cookie
+ */
+ private function removeCookieIfEmpty(SetCookie $cookie)
+ {
+ $cookieValue = $cookie->getValue();
+ if ($cookieValue === null || $cookieValue === '') {
+ $this->clear(
+ $cookie->getDomain(),
+ $cookie->getPath(),
+ $cookie->getName()
+ );
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php
new file mode 100644
index 00000000..2cf298a8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php
@@ -0,0 +1,84 @@
+<?php
+namespace GuzzleHttp\Cookie;
+
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+
+/**
+ * Stores HTTP cookies.
+ *
+ * It extracts cookies from HTTP requests, and returns them in HTTP responses.
+ * CookieJarInterface instances automatically expire contained cookies when
+ * necessary. Subclasses are also responsible for storing and retrieving
+ * cookies from a file, database, etc.
+ *
+ * @link http://docs.python.org/2/library/cookielib.html Inspiration
+ */
+interface CookieJarInterface extends \Countable, \IteratorAggregate
+{
+ /**
+ * Create a request with added cookie headers.
+ *
+ * If no matching cookies are found in the cookie jar, then no Cookie
+ * header is added to the request and the same request is returned.
+ *
+ * @param RequestInterface $request Request object to modify.
+ *
+ * @return RequestInterface returns the modified request.
+ */
+ public function withCookieHeader(RequestInterface $request);
+
+ /**
+ * Extract cookies from an HTTP response and store them in the CookieJar.
+ *
+ * @param RequestInterface $request Request that was sent
+ * @param ResponseInterface $response Response that was received
+ */
+ public function extractCookies(
+ RequestInterface $request,
+ ResponseInterface $response
+ );
+
+ /**
+ * Sets a cookie in the cookie jar.
+ *
+ * @param SetCookie $cookie Cookie to set.
+ *
+ * @return bool Returns true on success or false on failure
+ */
+ public function setCookie(SetCookie $cookie);
+
+ /**
+ * Remove cookies currently held in the cookie jar.
+ *
+ * Invoking this method without arguments will empty the whole cookie jar.
+ * If given a $domain argument only cookies belonging to that domain will
+ * be removed. If given a $domain and $path argument, cookies belonging to
+ * the specified path within that domain are removed. If given all three
+ * arguments, then the cookie with the specified name, path and domain is
+ * removed.
+ *
+ * @param string $domain Clears cookies matching a domain
+ * @param string $path Clears cookies matching a domain and path
+ * @param string $name Clears cookies matching a domain, path, and name
+ *
+ * @return CookieJarInterface
+ */
+ public function clear($domain = null, $path = null, $name = null);
+
+ /**
+ * Discard all sessions cookies.
+ *
+ * Removes cookies that don't have an expire field or a have a discard
+ * field set to true. To be called when the user agent shuts down according
+ * to RFC 2965.
+ */
+ public function clearSessionCookies();
+
+ /**
+ * Converts the cookie jar to an array.
+ *
+ * @return array
+ */
+ public function toArray();
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php
new file mode 100644
index 00000000..9887c1d5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php
@@ -0,0 +1,90 @@
+<?php
+namespace GuzzleHttp\Cookie;
+
+/**
+ * Persists non-session cookies using a JSON formatted file
+ */
+class FileCookieJar extends CookieJar
+{
+ /** @var string filename */
+ private $filename;
+
+ /** @var bool Control whether to persist session cookies or not. */
+ private $storeSessionCookies;
+
+ /**
+ * Create a new FileCookieJar object
+ *
+ * @param string $cookieFile File to store the cookie data
+ * @param bool $storeSessionCookies Set to true to store session cookies
+ * in the cookie jar.
+ *
+ * @throws \RuntimeException if the file cannot be found or created
+ */
+ public function __construct($cookieFile, $storeSessionCookies = false)
+ {
+ $this->filename = $cookieFile;
+ $this->storeSessionCookies = $storeSessionCookies;
+
+ if (file_exists($cookieFile)) {
+ $this->load($cookieFile);
+ }
+ }
+
+ /**
+ * Saves the file when shutting down
+ */
+ public function __destruct()
+ {
+ $this->save($this->filename);
+ }
+
+ /**
+ * Saves the cookies to a file.
+ *
+ * @param string $filename File to save
+ * @throws \RuntimeException if the file cannot be found or created
+ */
+ public function save($filename)
+ {
+ $json = [];
+ foreach ($this as $cookie) {
+ /** @var SetCookie $cookie */
+ if (CookieJar::shouldPersist($cookie, $this->storeSessionCookies)) {
+ $json[] = $cookie->toArray();
+ }
+ }
+
+ $jsonStr = \GuzzleHttp\json_encode($json);
+ if (false === file_put_contents($filename, $jsonStr)) {
+ throw new \RuntimeException("Unable to save file {$filename}");
+ }
+ }
+
+ /**
+ * Load cookies from a JSON formatted file.
+ *
+ * Old cookies are kept unless overwritten by newly loaded ones.
+ *
+ * @param string $filename Cookie file to load.
+ * @throws \RuntimeException if the file cannot be loaded.
+ */
+ public function load($filename)
+ {
+ $json = file_get_contents($filename);
+ if (false === $json) {
+ throw new \RuntimeException("Unable to load file {$filename}");
+ } elseif ($json === '') {
+ return;
+ }
+
+ $data = \GuzzleHttp\json_decode($json, true);
+ if (is_array($data)) {
+ foreach (json_decode($json, true) as $cookie) {
+ $this->setCookie(new SetCookie($cookie));
+ }
+ } elseif (strlen($data)) {
+ throw new \RuntimeException("Invalid cookie file: {$filename}");
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php
new file mode 100644
index 00000000..e4bfafd4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php
@@ -0,0 +1,71 @@
+<?php
+namespace GuzzleHttp\Cookie;
+
+/**
+ * Persists cookies in the client session
+ */
+class SessionCookieJar extends CookieJar
+{
+ /** @var string session key */
+ private $sessionKey;
+
+ /** @var bool Control whether to persist session cookies or not. */
+ private $storeSessionCookies;
+
+ /**
+ * Create a new SessionCookieJar object
+ *
+ * @param string $sessionKey Session key name to store the cookie
+ * data in session
+ * @param bool $storeSessionCookies Set to true to store session cookies
+ * in the cookie jar.
+ */
+ public function __construct($sessionKey, $storeSessionCookies = false)
+ {
+ $this->sessionKey = $sessionKey;
+ $this->storeSessionCookies = $storeSessionCookies;
+ $this->load();
+ }
+
+ /**
+ * Saves cookies to session when shutting down
+ */
+ public function __destruct()
+ {
+ $this->save();
+ }
+
+ /**
+ * Save cookies to the client session
+ */
+ public function save()
+ {
+ $json = [];
+ foreach ($this as $cookie) {
+ /** @var SetCookie $cookie */
+ if (CookieJar::shouldPersist($cookie, $this->storeSessionCookies)) {
+ $json[] = $cookie->toArray();
+ }
+ }
+
+ $_SESSION[$this->sessionKey] = json_encode($json);
+ }
+
+ /**
+ * Load the contents of the client session into the data array
+ */
+ protected function load()
+ {
+ if (!isset($_SESSION[$this->sessionKey])) {
+ return;
+ }
+ $data = json_decode($_SESSION[$this->sessionKey], true);
+ if (is_array($data)) {
+ foreach ($data as $cookie) {
+ $this->setCookie(new SetCookie($cookie));
+ }
+ } elseif (strlen($data)) {
+ throw new \RuntimeException("Invalid cookie data");
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/SetCookie.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/SetCookie.php
new file mode 100644
index 00000000..c911e2a3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/SetCookie.php
@@ -0,0 +1,404 @@
+<?php
+namespace GuzzleHttp\Cookie;
+
+/**
+ * Set-Cookie object
+ */
+class SetCookie
+{
+ /** @var array */
+ private static $defaults = [
+ 'Name' => null,
+ 'Value' => null,
+ 'Domain' => null,
+ 'Path' => '/',
+ 'Max-Age' => null,
+ 'Expires' => null,
+ 'Secure' => false,
+ 'Discard' => false,
+ 'HttpOnly' => false
+ ];
+
+ /** @var array Cookie data */
+ private $data;
+
+ /**
+ * Create a new SetCookie object from a string
+ *
+ * @param string $cookie Set-Cookie header string
+ *
+ * @return self
+ */
+ public static function fromString($cookie)
+ {
+ // Create the default return array
+ $data = self::$defaults;
+ // Explode the cookie string using a series of semicolons
+ $pieces = array_filter(array_map('trim', explode(';', $cookie)));
+ // The name of the cookie (first kvp) must include an equal sign.
+ if (empty($pieces) || !strpos($pieces[0], '=')) {
+ return new self($data);
+ }
+
+ // Add the cookie pieces into the parsed data array
+ foreach ($pieces as $part) {
+
+ $cookieParts = explode('=', $part, 2);
+ $key = trim($cookieParts[0]);
+ $value = isset($cookieParts[1])
+ ? trim($cookieParts[1], " \n\r\t\0\x0B")
+ : true;
+
+ // Only check for non-cookies when cookies have been found
+ if (empty($data['Name'])) {
+ $data['Name'] = $key;
+ $data['Value'] = $value;
+ } else {
+ foreach (array_keys(self::$defaults) as $search) {
+ if (!strcasecmp($search, $key)) {
+ $data[$search] = $value;
+ continue 2;
+ }
+ }
+ $data[$key] = $value;
+ }
+ }
+
+ return new self($data);
+ }
+
+ /**
+ * @param array $data Array of cookie data provided by a Cookie parser
+ */
+ public function __construct(array $data = [])
+ {
+ $this->data = array_replace(self::$defaults, $data);
+ // Extract the Expires value and turn it into a UNIX timestamp if needed
+ if (!$this->getExpires() && $this->getMaxAge()) {
+ // Calculate the Expires date
+ $this->setExpires(time() + $this->getMaxAge());
+ } elseif ($this->getExpires() && !is_numeric($this->getExpires())) {
+ $this->setExpires($this->getExpires());
+ }
+ }
+
+ public function __toString()
+ {
+ $str = $this->data['Name'] . '=' . $this->data['Value'] . '; ';
+ foreach ($this->data as $k => $v) {
+ if ($k !== 'Name' && $k !== 'Value' && $v !== null && $v !== false) {
+ if ($k === 'Expires') {
+ $str .= 'Expires=' . gmdate('D, d M Y H:i:s \G\M\T', $v) . '; ';
+ } else {
+ $str .= ($v === true ? $k : "{$k}={$v}") . '; ';
+ }
+ }
+ }
+
+ return rtrim($str, '; ');
+ }
+
+ public function toArray()
+ {
+ return $this->data;
+ }
+
+ /**
+ * Get the cookie name
+ *
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->data['Name'];
+ }
+
+ /**
+ * Set the cookie name
+ *
+ * @param string $name Cookie name
+ */
+ public function setName($name)
+ {
+ $this->data['Name'] = $name;
+ }
+
+ /**
+ * Get the cookie value
+ *
+ * @return string
+ */
+ public function getValue()
+ {
+ return $this->data['Value'];
+ }
+
+ /**
+ * Set the cookie value
+ *
+ * @param string $value Cookie value
+ */
+ public function setValue($value)
+ {
+ $this->data['Value'] = $value;
+ }
+
+ /**
+ * Get the domain
+ *
+ * @return string|null
+ */
+ public function getDomain()
+ {
+ return $this->data['Domain'];
+ }
+
+ /**
+ * Set the domain of the cookie
+ *
+ * @param string $domain
+ */
+ public function setDomain($domain)
+ {
+ $this->data['Domain'] = $domain;
+ }
+
+ /**
+ * Get the path
+ *
+ * @return string
+ */
+ public function getPath()
+ {
+ return $this->data['Path'];
+ }
+
+ /**
+ * Set the path of the cookie
+ *
+ * @param string $path Path of the cookie
+ */
+ public function setPath($path)
+ {
+ $this->data['Path'] = $path;
+ }
+
+ /**
+ * Maximum lifetime of the cookie in seconds
+ *
+ * @return int|null
+ */
+ public function getMaxAge()
+ {
+ return $this->data['Max-Age'];
+ }
+
+ /**
+ * Set the max-age of the cookie
+ *
+ * @param int $maxAge Max age of the cookie in seconds
+ */
+ public function setMaxAge($maxAge)
+ {
+ $this->data['Max-Age'] = $maxAge;
+ }
+
+ /**
+ * The UNIX timestamp when the cookie Expires
+ *
+ * @return mixed
+ */
+ public function getExpires()
+ {
+ return $this->data['Expires'];
+ }
+
+ /**
+ * Set the unix timestamp for which the cookie will expire
+ *
+ * @param int $timestamp Unix timestamp
+ */
+ public function setExpires($timestamp)
+ {
+ $this->data['Expires'] = is_numeric($timestamp)
+ ? (int) $timestamp
+ : strtotime($timestamp);
+ }
+
+ /**
+ * Get whether or not this is a secure cookie
+ *
+ * @return null|bool
+ */
+ public function getSecure()
+ {
+ return $this->data['Secure'];
+ }
+
+ /**
+ * Set whether or not the cookie is secure
+ *
+ * @param bool $secure Set to true or false if secure
+ */
+ public function setSecure($secure)
+ {
+ $this->data['Secure'] = $secure;
+ }
+
+ /**
+ * Get whether or not this is a session cookie
+ *
+ * @return null|bool
+ */
+ public function getDiscard()
+ {
+ return $this->data['Discard'];
+ }
+
+ /**
+ * Set whether or not this is a session cookie
+ *
+ * @param bool $discard Set to true or false if this is a session cookie
+ */
+ public function setDiscard($discard)
+ {
+ $this->data['Discard'] = $discard;
+ }
+
+ /**
+ * Get whether or not this is an HTTP only cookie
+ *
+ * @return bool
+ */
+ public function getHttpOnly()
+ {
+ return $this->data['HttpOnly'];
+ }
+
+ /**
+ * Set whether or not this is an HTTP only cookie
+ *
+ * @param bool $httpOnly Set to true or false if this is HTTP only
+ */
+ public function setHttpOnly($httpOnly)
+ {
+ $this->data['HttpOnly'] = $httpOnly;
+ }
+
+ /**
+ * Check if the cookie matches a path value.
+ *
+ * A request-path path-matches a given cookie-path if at least one of
+ * the following conditions holds:
+ *
+ * - The cookie-path and the request-path are identical.
+ * - The cookie-path is a prefix of the request-path, and the last
+ * character of the cookie-path is %x2F ("/").
+ * - The cookie-path is a prefix of the request-path, and the first
+ * character of the request-path that is not included in the cookie-
+ * path is a %x2F ("/") character.
+ *
+ * @param string $requestPath Path to check against
+ *
+ * @return bool
+ */
+ public function matchesPath($requestPath)
+ {
+ $cookiePath = $this->getPath();
+
+ // Match on exact matches or when path is the default empty "/"
+ if ($cookiePath === '/' || $cookiePath == $requestPath) {
+ return true;
+ }
+
+ // Ensure that the cookie-path is a prefix of the request path.
+ if (0 !== strpos($requestPath, $cookiePath)) {
+ return false;
+ }
+
+ // Match if the last character of the cookie-path is "/"
+ if (substr($cookiePath, -1, 1) === '/') {
+ return true;
+ }
+
+ // Match if the first character not included in cookie path is "/"
+ return substr($requestPath, strlen($cookiePath), 1) === '/';
+ }
+
+ /**
+ * Check if the cookie matches a domain value
+ *
+ * @param string $domain Domain to check against
+ *
+ * @return bool
+ */
+ public function matchesDomain($domain)
+ {
+ // Remove the leading '.' as per spec in RFC 6265.
+ // http://tools.ietf.org/html/rfc6265#section-5.2.3
+ $cookieDomain = ltrim($this->getDomain(), '.');
+
+ // Domain not set or exact match.
+ if (!$cookieDomain || !strcasecmp($domain, $cookieDomain)) {
+ return true;
+ }
+
+ // Matching the subdomain according to RFC 6265.
+ // http://tools.ietf.org/html/rfc6265#section-5.1.3
+ if (filter_var($domain, FILTER_VALIDATE_IP)) {
+ return false;
+ }
+
+ return (bool) preg_match('/\.' . preg_quote($cookieDomain) . '$/', $domain);
+ }
+
+ /**
+ * Check if the cookie is expired
+ *
+ * @return bool
+ */
+ public function isExpired()
+ {
+ return $this->getExpires() && time() > $this->getExpires();
+ }
+
+ /**
+ * Check if the cookie is valid according to RFC 6265
+ *
+ * @return bool|string Returns true if valid or an error message if invalid
+ */
+ public function validate()
+ {
+ // Names must not be empty, but can be 0
+ $name = $this->getName();
+ if (empty($name) && !is_numeric($name)) {
+ return 'The cookie name must not be empty';
+ }
+
+ // Check if any of the invalid characters are present in the cookie name
+ if (preg_match(
+ '/[\x00-\x20\x22\x28-\x29\x2c\x2f\x3a-\x40\x5c\x7b\x7d\x7f]/',
+ $name)
+ ) {
+ return 'Cookie name must not contain invalid characters: ASCII '
+ . 'Control characters (0-31;127), space, tab and the '
+ . 'following characters: ()<>@,;:\"/?={}';
+ }
+
+ // Value must not be empty, but can be 0
+ $value = $this->getValue();
+ if (empty($value) && !is_numeric($value)) {
+ return 'The cookie value must not be empty';
+ }
+
+ // Domains must not be empty, but can be 0
+ // A "0" is not a valid internet domain, but may be used as server name
+ // in a private network.
+ $domain = $this->getDomain();
+ if (empty($domain) && !is_numeric($domain)) {
+ return 'The cookie domain must not be empty';
+ }
+
+ return true;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/BadResponseException.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/BadResponseException.php
new file mode 100644
index 00000000..427d896f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/BadResponseException.php
@@ -0,0 +1,27 @@
+<?php
+namespace GuzzleHttp\Exception;
+
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+
+/**
+ * Exception when an HTTP error occurs (4xx or 5xx error)
+ */
+class BadResponseException extends RequestException
+{
+ public function __construct(
+ $message,
+ RequestInterface $request,
+ ResponseInterface $response = null,
+ \Exception $previous = null,
+ array $handlerContext = []
+ ) {
+ if (null === $response) {
+ @trigger_error(
+ 'Instantiating the ' . __CLASS__ . ' class without a Response is deprecated since version 6.3 and will be removed in 7.0.',
+ E_USER_DEPRECATED
+ );
+ }
+ parent::__construct($message, $request, $response, $previous, $handlerContext);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ClientException.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ClientException.php
new file mode 100644
index 00000000..f95c09f2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ClientException.php
@@ -0,0 +1,7 @@
+<?php
+namespace GuzzleHttp\Exception;
+
+/**
+ * Exception when a client error is encountered (4xx codes)
+ */
+class ClientException extends BadResponseException {}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ConnectException.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ConnectException.php
new file mode 100644
index 00000000..d33b0cc1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ConnectException.php
@@ -0,0 +1,37 @@
+<?php
+namespace GuzzleHttp\Exception;
+
+use Psr\Http\Message\RequestInterface;
+
+/**
+ * Exception thrown when a connection cannot be established.
+ *
+ * Note that no response is present for a ConnectException
+ */
+class ConnectException extends RequestException
+{
+ public function __construct(
+ $message,
+ RequestInterface $request,
+ \Exception $previous = null,
+ array $handlerContext = []
+ ) {
+ parent::__construct($message, $request, null, $previous, $handlerContext);
+ }
+
+ /**
+ * @return null
+ */
+ public function getResponse()
+ {
+ return null;
+ }
+
+ /**
+ * @return bool
+ */
+ public function hasResponse()
+ {
+ return false;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/GuzzleException.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/GuzzleException.php
new file mode 100644
index 00000000..c82998e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/GuzzleException.php
@@ -0,0 +1,4 @@
+<?php
+namespace GuzzleHttp\Exception;
+
+interface GuzzleException {}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/RequestException.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/RequestException.php
new file mode 100644
index 00000000..39de327e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/RequestException.php
@@ -0,0 +1,217 @@
+<?php
+namespace GuzzleHttp\Exception;
+
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+use GuzzleHttp\Promise\PromiseInterface;
+use Psr\Http\Message\UriInterface;
+
+/**
+ * HTTP Request exception
+ */
+class RequestException extends TransferException
+{
+ /** @var RequestInterface */
+ private $request;
+
+ /** @var ResponseInterface */
+ private $response;
+
+ /** @var array */
+ private $handlerContext;
+
+ public function __construct(
+ $message,
+ RequestInterface $request,
+ ResponseInterface $response = null,
+ \Exception $previous = null,
+ array $handlerContext = []
+ ) {
+ // Set the code of the exception if the response is set and not future.
+ $code = $response && !($response instanceof PromiseInterface)
+ ? $response->getStatusCode()
+ : 0;
+ parent::__construct($message, $code, $previous);
+ $this->request = $request;
+ $this->response = $response;
+ $this->handlerContext = $handlerContext;
+ }
+
+ /**
+ * Wrap non-RequestExceptions with a RequestException
+ *
+ * @param RequestInterface $request
+ * @param \Exception $e
+ *
+ * @return RequestException
+ */
+ public static function wrapException(RequestInterface $request, \Exception $e)
+ {
+ return $e instanceof RequestException
+ ? $e
+ : new RequestException($e->getMessage(), $request, null, $e);
+ }
+
+ /**
+ * Factory method to create a new exception with a normalized error message
+ *
+ * @param RequestInterface $request Request
+ * @param ResponseInterface $response Response received
+ * @param \Exception $previous Previous exception
+ * @param array $ctx Optional handler context.
+ *
+ * @return self
+ */
+ public static function create(
+ RequestInterface $request,
+ ResponseInterface $response = null,
+ \Exception $previous = null,
+ array $ctx = []
+ ) {
+ if (!$response) {
+ return new self(
+ 'Error completing request',
+ $request,
+ null,
+ $previous,
+ $ctx
+ );
+ }
+
+ $level = (int) floor($response->getStatusCode() / 100);
+ if ($level === 4) {
+ $label = 'Client error';
+ $className = ClientException::class;
+ } elseif ($level === 5) {
+ $label = 'Server error';
+ $className = ServerException::class;
+ } else {
+ $label = 'Unsuccessful request';
+ $className = __CLASS__;
+ }
+
+ $uri = $request->getUri();
+ $uri = static::obfuscateUri($uri);
+
+ // Client Error: `GET /` resulted in a `404 Not Found` response:
+ // <html> ... (truncated)
+ $message = sprintf(
+ '%s: `%s %s` resulted in a `%s %s` response',
+ $label,
+ $request->getMethod(),
+ $uri,
+ $response->getStatusCode(),
+ $response->getReasonPhrase()
+ );
+
+ $summary = static::getResponseBodySummary($response);
+
+ if ($summary !== null) {
+ $message .= ":\n{$summary}\n";
+ }
+
+ return new $className($message, $request, $response, $previous, $ctx);
+ }
+
+ /**
+ * Get a short summary of the response
+ *
+ * Will return `null` if the response is not printable.
+ *
+ * @param ResponseInterface $response
+ *
+ * @return string|null
+ */
+ public static function getResponseBodySummary(ResponseInterface $response)
+ {
+ $body = $response->getBody();
+
+ if (!$body->isSeekable()) {
+ return null;
+ }
+
+ $size = $body->getSize();
+
+ if ($size === 0) {
+ return null;
+ }
+
+ $summary = $body->read(120);
+ $body->rewind();
+
+ if ($size > 120) {
+ $summary .= ' (truncated...)';
+ }
+
+ // Matches any printable character, including unicode characters:
+ // letters, marks, numbers, punctuation, spacing, and separators.
+ if (preg_match('/[^\pL\pM\pN\pP\pS\pZ\n\r\t]/', $summary)) {
+ return null;
+ }
+
+ return $summary;
+ }
+
+ /**
+ * Obfuscates URI if there is an username and a password present
+ *
+ * @param UriInterface $uri
+ *
+ * @return UriInterface
+ */
+ private static function obfuscateUri($uri)
+ {
+ $userInfo = $uri->getUserInfo();
+
+ if (false !== ($pos = strpos($userInfo, ':'))) {
+ return $uri->withUserInfo(substr($userInfo, 0, $pos), '***');
+ }
+
+ return $uri;
+ }
+
+ /**
+ * Get the request that caused the exception
+ *
+ * @return RequestInterface
+ */
+ public function getRequest()
+ {
+ return $this->request;
+ }
+
+ /**
+ * Get the associated response
+ *
+ * @return ResponseInterface|null
+ */
+ public function getResponse()
+ {
+ return $this->response;
+ }
+
+ /**
+ * Check if a response was received
+ *
+ * @return bool
+ */
+ public function hasResponse()
+ {
+ return $this->response !== null;
+ }
+
+ /**
+ * Get contextual information about the error from the underlying handler.
+ *
+ * The contents of this array will vary depending on which handler you are
+ * using. It may also be just an empty array. Relying on this data will
+ * couple you to a specific handler, but can give more debug information
+ * when needed.
+ *
+ * @return array
+ */
+ public function getHandlerContext()
+ {
+ return $this->handlerContext;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/SeekException.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/SeekException.php
new file mode 100644
index 00000000..a77c2892
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/SeekException.php
@@ -0,0 +1,27 @@
+<?php
+namespace GuzzleHttp\Exception;
+
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * Exception thrown when a seek fails on a stream.
+ */
+class SeekException extends \RuntimeException implements GuzzleException
+{
+ private $stream;
+
+ public function __construct(StreamInterface $stream, $pos = 0, $msg = '')
+ {
+ $this->stream = $stream;
+ $msg = $msg ?: 'Could not seek the stream to position ' . $pos;
+ parent::__construct($msg);
+ }
+
+ /**
+ * @return StreamInterface
+ */
+ public function getStream()
+ {
+ return $this->stream;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ServerException.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ServerException.php
new file mode 100644
index 00000000..7cdd3408
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ServerException.php
@@ -0,0 +1,7 @@
+<?php
+namespace GuzzleHttp\Exception;
+
+/**
+ * Exception when a server error is encountered (5xx codes)
+ */
+class ServerException extends BadResponseException {}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php
new file mode 100644
index 00000000..b60a9678
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php
@@ -0,0 +1,4 @@
+<?php
+namespace GuzzleHttp\Exception;
+
+class TooManyRedirectsException extends RequestException {}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/TransferException.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/TransferException.php
new file mode 100644
index 00000000..b92071ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/TransferException.php
@@ -0,0 +1,4 @@
+<?php
+namespace GuzzleHttp\Exception;
+
+class TransferException extends \RuntimeException implements GuzzleException {}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlFactory.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlFactory.php
new file mode 100644
index 00000000..49808e5c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlFactory.php
@@ -0,0 +1,559 @@
+<?php
+namespace GuzzleHttp\Handler;
+
+use GuzzleHttp\Exception\RequestException;
+use GuzzleHttp\Exception\ConnectException;
+use GuzzleHttp\Promise\FulfilledPromise;
+use GuzzleHttp\Promise\RejectedPromise;
+use GuzzleHttp\Psr7;
+use GuzzleHttp\Psr7\LazyOpenStream;
+use GuzzleHttp\TransferStats;
+use Psr\Http\Message\RequestInterface;
+
+/**
+ * Creates curl resources from a request
+ */
+class CurlFactory implements CurlFactoryInterface
+{
+ /** @var array */
+ private $handles = [];
+
+ /** @var int Total number of idle handles to keep in cache */
+ private $maxHandles;
+
+ /**
+ * @param int $maxHandles Maximum number of idle handles.
+ */
+ public function __construct($maxHandles)
+ {
+ $this->maxHandles = $maxHandles;
+ }
+
+ public function create(RequestInterface $request, array $options)
+ {
+ if (isset($options['curl']['body_as_string'])) {
+ $options['_body_as_string'] = $options['curl']['body_as_string'];
+ unset($options['curl']['body_as_string']);
+ }
+
+ $easy = new EasyHandle;
+ $easy->request = $request;
+ $easy->options = $options;
+ $conf = $this->getDefaultConf($easy);
+ $this->applyMethod($easy, $conf);
+ $this->applyHandlerOptions($easy, $conf);
+ $this->applyHeaders($easy, $conf);
+ unset($conf['_headers']);
+
+ // Add handler options from the request configuration options
+ if (isset($options['curl'])) {
+ $conf = array_replace($conf, $options['curl']);
+ }
+
+ $conf[CURLOPT_HEADERFUNCTION] = $this->createHeaderFn($easy);
+ $easy->handle = $this->handles
+ ? array_pop($this->handles)
+ : curl_init();
+ curl_setopt_array($easy->handle, $conf);
+
+ return $easy;
+ }
+
+ public function release(EasyHandle $easy)
+ {
+ $resource = $easy->handle;
+ unset($easy->handle);
+
+ if (count($this->handles) >= $this->maxHandles) {
+ curl_close($resource);
+ } else {
+ // Remove all callback functions as they can hold onto references
+ // and are not cleaned up by curl_reset. Using curl_setopt_array
+ // does not work for some reason, so removing each one
+ // individually.
+ curl_setopt($resource, CURLOPT_HEADERFUNCTION, null);
+ curl_setopt($resource, CURLOPT_READFUNCTION, null);
+ curl_setopt($resource, CURLOPT_WRITEFUNCTION, null);
+ curl_setopt($resource, CURLOPT_PROGRESSFUNCTION, null);
+ curl_reset($resource);
+ $this->handles[] = $resource;
+ }
+ }
+
+ /**
+ * Completes a cURL transaction, either returning a response promise or a
+ * rejected promise.
+ *
+ * @param callable $handler
+ * @param EasyHandle $easy
+ * @param CurlFactoryInterface $factory Dictates how the handle is released
+ *
+ * @return \GuzzleHttp\Promise\PromiseInterface
+ */
+ public static function finish(
+ callable $handler,
+ EasyHandle $easy,
+ CurlFactoryInterface $factory
+ ) {
+ if (isset($easy->options['on_stats'])) {
+ self::invokeStats($easy);
+ }
+
+ if (!$easy->response || $easy->errno) {
+ return self::finishError($handler, $easy, $factory);
+ }
+
+ // Return the response if it is present and there is no error.
+ $factory->release($easy);
+
+ // Rewind the body of the response if possible.
+ $body = $easy->response->getBody();
+ if ($body->isSeekable()) {
+ $body->rewind();
+ }
+
+ return new FulfilledPromise($easy->response);
+ }
+
+ private static function invokeStats(EasyHandle $easy)
+ {
+ $curlStats = curl_getinfo($easy->handle);
+ $stats = new TransferStats(
+ $easy->request,
+ $easy->response,
+ $curlStats['total_time'],
+ $easy->errno,
+ $curlStats
+ );
+ call_user_func($easy->options['on_stats'], $stats);
+ }
+
+ private static function finishError(
+ callable $handler,
+ EasyHandle $easy,
+ CurlFactoryInterface $factory
+ ) {
+ // Get error information and release the handle to the factory.
+ $ctx = [
+ 'errno' => $easy->errno,
+ 'error' => curl_error($easy->handle),
+ ] + curl_getinfo($easy->handle);
+ $factory->release($easy);
+
+ // Retry when nothing is present or when curl failed to rewind.
+ if (empty($easy->options['_err_message'])
+ && (!$easy->errno || $easy->errno == 65)
+ ) {
+ return self::retryFailedRewind($handler, $easy, $ctx);
+ }
+
+ return self::createRejection($easy, $ctx);
+ }
+
+ private static function createRejection(EasyHandle $easy, array $ctx)
+ {
+ static $connectionErrors = [
+ CURLE_OPERATION_TIMEOUTED => true,
+ CURLE_COULDNT_RESOLVE_HOST => true,
+ CURLE_COULDNT_CONNECT => true,
+ CURLE_SSL_CONNECT_ERROR => true,
+ CURLE_GOT_NOTHING => true,
+ ];
+
+ // If an exception was encountered during the onHeaders event, then
+ // return a rejected promise that wraps that exception.
+ if ($easy->onHeadersException) {
+ return \GuzzleHttp\Promise\rejection_for(
+ new RequestException(
+ 'An error was encountered during the on_headers event',
+ $easy->request,
+ $easy->response,
+ $easy->onHeadersException,
+ $ctx
+ )
+ );
+ }
+
+ $message = sprintf(
+ 'cURL error %s: %s (%s)',
+ $ctx['errno'],
+ $ctx['error'],
+ 'see http://curl.haxx.se/libcurl/c/libcurl-errors.html'
+ );
+
+ // Create a connection exception if it was a specific error code.
+ $error = isset($connectionErrors[$easy->errno])
+ ? new ConnectException($message, $easy->request, null, $ctx)
+ : new RequestException($message, $easy->request, $easy->response, null, $ctx);
+
+ return \GuzzleHttp\Promise\rejection_for($error);
+ }
+
+ private function getDefaultConf(EasyHandle $easy)
+ {
+ $conf = [
+ '_headers' => $easy->request->getHeaders(),
+ CURLOPT_CUSTOMREQUEST => $easy->request->getMethod(),
+ CURLOPT_URL => (string) $easy->request->getUri()->withFragment(''),
+ CURLOPT_RETURNTRANSFER => false,
+ CURLOPT_HEADER => false,
+ CURLOPT_CONNECTTIMEOUT => 150,
+ ];
+
+ if (defined('CURLOPT_PROTOCOLS')) {
+ $conf[CURLOPT_PROTOCOLS] = CURLPROTO_HTTP | CURLPROTO_HTTPS;
+ }
+
+ $version = $easy->request->getProtocolVersion();
+ if ($version == 1.1) {
+ $conf[CURLOPT_HTTP_VERSION] = CURL_HTTP_VERSION_1_1;
+ } elseif ($version == 2.0) {
+ $conf[CURLOPT_HTTP_VERSION] = CURL_HTTP_VERSION_2_0;
+ } else {
+ $conf[CURLOPT_HTTP_VERSION] = CURL_HTTP_VERSION_1_0;
+ }
+
+ return $conf;
+ }
+
+ private function applyMethod(EasyHandle $easy, array &$conf)
+ {
+ $body = $easy->request->getBody();
+ $size = $body->getSize();
+
+ if ($size === null || $size > 0) {
+ $this->applyBody($easy->request, $easy->options, $conf);
+ return;
+ }
+
+ $method = $easy->request->getMethod();
+ if ($method === 'PUT' || $method === 'POST') {
+ // See http://tools.ietf.org/html/rfc7230#section-3.3.2
+ if (!$easy->request->hasHeader('Content-Length')) {
+ $conf[CURLOPT_HTTPHEADER][] = 'Content-Length: 0';
+ }
+ } elseif ($method === 'HEAD') {
+ $conf[CURLOPT_NOBODY] = true;
+ unset(
+ $conf[CURLOPT_WRITEFUNCTION],
+ $conf[CURLOPT_READFUNCTION],
+ $conf[CURLOPT_FILE],
+ $conf[CURLOPT_INFILE]
+ );
+ }
+ }
+
+ private function applyBody(RequestInterface $request, array $options, array &$conf)
+ {
+ $size = $request->hasHeader('Content-Length')
+ ? (int) $request->getHeaderLine('Content-Length')
+ : null;
+
+ // Send the body as a string if the size is less than 1MB OR if the
+ // [curl][body_as_string] request value is set.
+ if (($size !== null && $size < 1000000) ||
+ !empty($options['_body_as_string'])
+ ) {
+ $conf[CURLOPT_POSTFIELDS] = (string) $request->getBody();
+ // Don't duplicate the Content-Length header
+ $this->removeHeader('Content-Length', $conf);
+ $this->removeHeader('Transfer-Encoding', $conf);
+ } else {
+ $conf[CURLOPT_UPLOAD] = true;
+ if ($size !== null) {
+ $conf[CURLOPT_INFILESIZE] = $size;
+ $this->removeHeader('Content-Length', $conf);
+ }
+ $body = $request->getBody();
+ if ($body->isSeekable()) {
+ $body->rewind();
+ }
+ $conf[CURLOPT_READFUNCTION] = function ($ch, $fd, $length) use ($body) {
+ return $body->read($length);
+ };
+ }
+
+ // If the Expect header is not present, prevent curl from adding it
+ if (!$request->hasHeader('Expect')) {
+ $conf[CURLOPT_HTTPHEADER][] = 'Expect:';
+ }
+
+ // cURL sometimes adds a content-type by default. Prevent this.
+ if (!$request->hasHeader('Content-Type')) {
+ $conf[CURLOPT_HTTPHEADER][] = 'Content-Type:';
+ }
+ }
+
+ private function applyHeaders(EasyHandle $easy, array &$conf)
+ {
+ foreach ($conf['_headers'] as $name => $values) {
+ foreach ($values as $value) {
+ $conf[CURLOPT_HTTPHEADER][] = "$name: $value";
+ }
+ }
+
+ // Remove the Accept header if one was not set
+ if (!$easy->request->hasHeader('Accept')) {
+ $conf[CURLOPT_HTTPHEADER][] = 'Accept:';
+ }
+ }
+
+ /**
+ * Remove a header from the options array.
+ *
+ * @param string $name Case-insensitive header to remove
+ * @param array $options Array of options to modify
+ */
+ private function removeHeader($name, array &$options)
+ {
+ foreach (array_keys($options['_headers']) as $key) {
+ if (!strcasecmp($key, $name)) {
+ unset($options['_headers'][$key]);
+ return;
+ }
+ }
+ }
+
+ private function applyHandlerOptions(EasyHandle $easy, array &$conf)
+ {
+ $options = $easy->options;
+ if (isset($options['verify'])) {
+ if ($options['verify'] === false) {
+ unset($conf[CURLOPT_CAINFO]);
+ $conf[CURLOPT_SSL_VERIFYHOST] = 0;
+ $conf[CURLOPT_SSL_VERIFYPEER] = false;
+ } else {
+ $conf[CURLOPT_SSL_VERIFYHOST] = 2;
+ $conf[CURLOPT_SSL_VERIFYPEER] = true;
+ if (is_string($options['verify'])) {
+ // Throw an error if the file/folder/link path is not valid or doesn't exist.
+ if (!file_exists($options['verify'])) {
+ throw new \InvalidArgumentException(
+ "SSL CA bundle not found: {$options['verify']}"
+ );
+ }
+ // If it's a directory or a link to a directory use CURLOPT_CAPATH.
+ // If not, it's probably a file, or a link to a file, so use CURLOPT_CAINFO.
+ if (is_dir($options['verify']) ||
+ (is_link($options['verify']) && is_dir(readlink($options['verify'])))) {
+ $conf[CURLOPT_CAPATH] = $options['verify'];
+ } else {
+ $conf[CURLOPT_CAINFO] = $options['verify'];
+ }
+ }
+ }
+ }
+
+ if (!empty($options['decode_content'])) {
+ $accept = $easy->request->getHeaderLine('Accept-Encoding');
+ if ($accept) {
+ $conf[CURLOPT_ENCODING] = $accept;
+ } else {
+ $conf[CURLOPT_ENCODING] = '';
+ // Don't let curl send the header over the wire
+ $conf[CURLOPT_HTTPHEADER][] = 'Accept-Encoding:';
+ }
+ }
+
+ if (isset($options['sink'])) {
+ $sink = $options['sink'];
+ if (!is_string($sink)) {
+ $sink = \GuzzleHttp\Psr7\stream_for($sink);
+ } elseif (!is_dir(dirname($sink))) {
+ // Ensure that the directory exists before failing in curl.
+ throw new \RuntimeException(sprintf(
+ 'Directory %s does not exist for sink value of %s',
+ dirname($sink),
+ $sink
+ ));
+ } else {
+ $sink = new LazyOpenStream($sink, 'w+');
+ }
+ $easy->sink = $sink;
+ $conf[CURLOPT_WRITEFUNCTION] = function ($ch, $write) use ($sink) {
+ return $sink->write($write);
+ };
+ } else {
+ // Use a default temp stream if no sink was set.
+ $conf[CURLOPT_FILE] = fopen('php://temp', 'w+');
+ $easy->sink = Psr7\stream_for($conf[CURLOPT_FILE]);
+ }
+ $timeoutRequiresNoSignal = false;
+ if (isset($options['timeout'])) {
+ $timeoutRequiresNoSignal |= $options['timeout'] < 1;
+ $conf[CURLOPT_TIMEOUT_MS] = $options['timeout'] * 1000;
+ }
+
+ // CURL default value is CURL_IPRESOLVE_WHATEVER
+ if (isset($options['force_ip_resolve'])) {
+ if ('v4' === $options['force_ip_resolve']) {
+ $conf[CURLOPT_IPRESOLVE] = CURL_IPRESOLVE_V4;
+ } else if ('v6' === $options['force_ip_resolve']) {
+ $conf[CURLOPT_IPRESOLVE] = CURL_IPRESOLVE_V6;
+ }
+ }
+
+ if (isset($options['connect_timeout'])) {
+ $timeoutRequiresNoSignal |= $options['connect_timeout'] < 1;
+ $conf[CURLOPT_CONNECTTIMEOUT_MS] = $options['connect_timeout'] * 1000;
+ }
+
+ if ($timeoutRequiresNoSignal && strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN') {
+ $conf[CURLOPT_NOSIGNAL] = true;
+ }
+
+ if (isset($options['proxy'])) {
+ if (!is_array($options['proxy'])) {
+ $conf[CURLOPT_PROXY] = $options['proxy'];
+ } else {
+ $scheme = $easy->request->getUri()->getScheme();
+ if (isset($options['proxy'][$scheme])) {
+ $host = $easy->request->getUri()->getHost();
+ if (!isset($options['proxy']['no']) ||
+ !\GuzzleHttp\is_host_in_noproxy($host, $options['proxy']['no'])
+ ) {
+ $conf[CURLOPT_PROXY] = $options['proxy'][$scheme];
+ }
+ }
+ }
+ }
+
+ if (isset($options['cert'])) {
+ $cert = $options['cert'];
+ if (is_array($cert)) {
+ $conf[CURLOPT_SSLCERTPASSWD] = $cert[1];
+ $cert = $cert[0];
+ }
+ if (!file_exists($cert)) {
+ throw new \InvalidArgumentException(
+ "SSL certificate not found: {$cert}"
+ );
+ }
+ $conf[CURLOPT_SSLCERT] = $cert;
+ }
+
+ if (isset($options['ssl_key'])) {
+ $sslKey = $options['ssl_key'];
+ if (is_array($sslKey)) {
+ $conf[CURLOPT_SSLKEYPASSWD] = $sslKey[1];
+ $sslKey = $sslKey[0];
+ }
+ if (!file_exists($sslKey)) {
+ throw new \InvalidArgumentException(
+ "SSL private key not found: {$sslKey}"
+ );
+ }
+ $conf[CURLOPT_SSLKEY] = $sslKey;
+ }
+
+ if (isset($options['progress'])) {
+ $progress = $options['progress'];
+ if (!is_callable($progress)) {
+ throw new \InvalidArgumentException(
+ 'progress client option must be callable'
+ );
+ }
+ $conf[CURLOPT_NOPROGRESS] = false;
+ $conf[CURLOPT_PROGRESSFUNCTION] = function () use ($progress) {
+ $args = func_get_args();
+ // PHP 5.5 pushed the handle onto the start of the args
+ if (is_resource($args[0])) {
+ array_shift($args);
+ }
+ call_user_func_array($progress, $args);
+ };
+ }
+
+ if (!empty($options['debug'])) {
+ $conf[CURLOPT_STDERR] = \GuzzleHttp\debug_resource($options['debug']);
+ $conf[CURLOPT_VERBOSE] = true;
+ }
+ }
+
+ /**
+ * This function ensures that a response was set on a transaction. If one
+ * was not set, then the request is retried if possible. This error
+ * typically means you are sending a payload, curl encountered a
+ * "Connection died, retrying a fresh connect" error, tried to rewind the
+ * stream, and then encountered a "necessary data rewind wasn't possible"
+ * error, causing the request to be sent through curl_multi_info_read()
+ * without an error status.
+ */
+ private static function retryFailedRewind(
+ callable $handler,
+ EasyHandle $easy,
+ array $ctx
+ ) {
+ try {
+ // Only rewind if the body has been read from.
+ $body = $easy->request->getBody();
+ if ($body->tell() > 0) {
+ $body->rewind();
+ }
+ } catch (\RuntimeException $e) {
+ $ctx['error'] = 'The connection unexpectedly failed without '
+ . 'providing an error. The request would have been retried, '
+ . 'but attempting to rewind the request body failed. '
+ . 'Exception: ' . $e;
+ return self::createRejection($easy, $ctx);
+ }
+
+ // Retry no more than 3 times before giving up.
+ if (!isset($easy->options['_curl_retries'])) {
+ $easy->options['_curl_retries'] = 1;
+ } elseif ($easy->options['_curl_retries'] == 2) {
+ $ctx['error'] = 'The cURL request was retried 3 times '
+ . 'and did not succeed. The most likely reason for the failure '
+ . 'is that cURL was unable to rewind the body of the request '
+ . 'and subsequent retries resulted in the same error. Turn on '
+ . 'the debug option to see what went wrong. See '
+ . 'https://bugs.php.net/bug.php?id=47204 for more information.';
+ return self::createRejection($easy, $ctx);
+ } else {
+ $easy->options['_curl_retries']++;
+ }
+
+ return $handler($easy->request, $easy->options);
+ }
+
+ private function createHeaderFn(EasyHandle $easy)
+ {
+ if (isset($easy->options['on_headers'])) {
+ $onHeaders = $easy->options['on_headers'];
+
+ if (!is_callable($onHeaders)) {
+ throw new \InvalidArgumentException('on_headers must be callable');
+ }
+ } else {
+ $onHeaders = null;
+ }
+
+ return function ($ch, $h) use (
+ $onHeaders,
+ $easy,
+ &$startingResponse
+ ) {
+ $value = trim($h);
+ if ($value === '') {
+ $startingResponse = true;
+ $easy->createResponse();
+ if ($onHeaders !== null) {
+ try {
+ $onHeaders($easy->response);
+ } catch (\Exception $e) {
+ // Associate the exception with the handle and trigger
+ // a curl header write error by returning 0.
+ $easy->onHeadersException = $e;
+ return -1;
+ }
+ }
+ } elseif ($startingResponse) {
+ $startingResponse = false;
+ $easy->headers = [$value];
+ } else {
+ $easy->headers[] = $value;
+ }
+ return strlen($h);
+ };
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php
new file mode 100644
index 00000000..b0fc2368
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php
@@ -0,0 +1,27 @@
+<?php
+namespace GuzzleHttp\Handler;
+
+use Psr\Http\Message\RequestInterface;
+
+interface CurlFactoryInterface
+{
+ /**
+ * Creates a cURL handle resource.
+ *
+ * @param RequestInterface $request Request
+ * @param array $options Transfer options
+ *
+ * @return EasyHandle
+ * @throws \RuntimeException when an option cannot be applied
+ */
+ public function create(RequestInterface $request, array $options);
+
+ /**
+ * Release an easy handle, allowing it to be reused or closed.
+ *
+ * This function must call unset on the easy handle's "handle" property.
+ *
+ * @param EasyHandle $easy
+ */
+ public function release(EasyHandle $easy);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlHandler.php
new file mode 100644
index 00000000..43577da6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlHandler.php
@@ -0,0 +1,45 @@
+<?php
+namespace GuzzleHttp\Handler;
+
+use GuzzleHttp\Psr7;
+use Psr\Http\Message\RequestInterface;
+
+/**
+ * HTTP handler that uses cURL easy handles as a transport layer.
+ *
+ * When using the CurlHandler, custom curl options can be specified as an
+ * associative array of curl option constants mapping to values in the
+ * **curl** key of the "client" key of the request.
+ */
+class CurlHandler
+{
+ /** @var CurlFactoryInterface */
+ private $factory;
+
+ /**
+ * Accepts an associative array of options:
+ *
+ * - factory: Optional curl factory used to create cURL handles.
+ *
+ * @param array $options Array of options to use with the handler
+ */
+ public function __construct(array $options = [])
+ {
+ $this->factory = isset($options['handle_factory'])
+ ? $options['handle_factory']
+ : new CurlFactory(3);
+ }
+
+ public function __invoke(RequestInterface $request, array $options)
+ {
+ if (isset($options['delay'])) {
+ usleep($options['delay'] * 1000);
+ }
+
+ $easy = $this->factory->create($request, $options);
+ curl_exec($easy->handle);
+ $easy->errno = curl_errno($easy->handle);
+
+ return CurlFactory::finish($this, $easy, $this->factory);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php
new file mode 100644
index 00000000..945d06ee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php
@@ -0,0 +1,197 @@
+<?php
+namespace GuzzleHttp\Handler;
+
+use GuzzleHttp\Promise as P;
+use GuzzleHttp\Promise\Promise;
+use GuzzleHttp\Psr7;
+use Psr\Http\Message\RequestInterface;
+
+/**
+ * Returns an asynchronous response using curl_multi_* functions.
+ *
+ * When using the CurlMultiHandler, custom curl options can be specified as an
+ * associative array of curl option constants mapping to values in the
+ * **curl** key of the provided request options.
+ *
+ * @property resource $_mh Internal use only. Lazy loaded multi-handle.
+ */
+class CurlMultiHandler
+{
+ /** @var CurlFactoryInterface */
+ private $factory;
+ private $selectTimeout;
+ private $active;
+ private $handles = [];
+ private $delays = [];
+
+ /**
+ * This handler accepts the following options:
+ *
+ * - handle_factory: An optional factory used to create curl handles
+ * - select_timeout: Optional timeout (in seconds) to block before timing
+ * out while selecting curl handles. Defaults to 1 second.
+ *
+ * @param array $options
+ */
+ public function __construct(array $options = [])
+ {
+ $this->factory = isset($options['handle_factory'])
+ ? $options['handle_factory'] : new CurlFactory(50);
+ $this->selectTimeout = isset($options['select_timeout'])
+ ? $options['select_timeout'] : 1;
+ }
+
+ public function __get($name)
+ {
+ if ($name === '_mh') {
+ return $this->_mh = curl_multi_init();
+ }
+
+ throw new \BadMethodCallException();
+ }
+
+ public function __destruct()
+ {
+ if (isset($this->_mh)) {
+ curl_multi_close($this->_mh);
+ unset($this->_mh);
+ }
+ }
+
+ public function __invoke(RequestInterface $request, array $options)
+ {
+ $easy = $this->factory->create($request, $options);
+ $id = (int) $easy->handle;
+
+ $promise = new Promise(
+ [$this, 'execute'],
+ function () use ($id) { return $this->cancel($id); }
+ );
+
+ $this->addRequest(['easy' => $easy, 'deferred' => $promise]);
+
+ return $promise;
+ }
+
+ /**
+ * Ticks the curl event loop.
+ */
+ public function tick()
+ {
+ // Add any delayed handles if needed.
+ if ($this->delays) {
+ $currentTime = microtime(true);
+ foreach ($this->delays as $id => $delay) {
+ if ($currentTime >= $delay) {
+ unset($this->delays[$id]);
+ curl_multi_add_handle(
+ $this->_mh,
+ $this->handles[$id]['easy']->handle
+ );
+ }
+ }
+ }
+
+ // Step through the task queue which may add additional requests.
+ P\queue()->run();
+
+ if ($this->active &&
+ curl_multi_select($this->_mh, $this->selectTimeout) === -1
+ ) {
+ // Perform a usleep if a select returns -1.
+ // See: https://bugs.php.net/bug.php?id=61141
+ usleep(250);
+ }
+
+ while (curl_multi_exec($this->_mh, $this->active) === CURLM_CALL_MULTI_PERFORM);
+
+ $this->processMessages();
+ }
+
+ /**
+ * Runs until all outstanding connections have completed.
+ */
+ public function execute()
+ {
+ $queue = P\queue();
+
+ while ($this->handles || !$queue->isEmpty()) {
+ // If there are no transfers, then sleep for the next delay
+ if (!$this->active && $this->delays) {
+ usleep($this->timeToNext());
+ }
+ $this->tick();
+ }
+ }
+
+ private function addRequest(array $entry)
+ {
+ $easy = $entry['easy'];
+ $id = (int) $easy->handle;
+ $this->handles[$id] = $entry;
+ if (empty($easy->options['delay'])) {
+ curl_multi_add_handle($this->_mh, $easy->handle);
+ } else {
+ $this->delays[$id] = microtime(true) + ($easy->options['delay'] / 1000);
+ }
+ }
+
+ /**
+ * Cancels a handle from sending and removes references to it.
+ *
+ * @param int $id Handle ID to cancel and remove.
+ *
+ * @return bool True on success, false on failure.
+ */
+ private function cancel($id)
+ {
+ // Cannot cancel if it has been processed.
+ if (!isset($this->handles[$id])) {
+ return false;
+ }
+
+ $handle = $this->handles[$id]['easy']->handle;
+ unset($this->delays[$id], $this->handles[$id]);
+ curl_multi_remove_handle($this->_mh, $handle);
+ curl_close($handle);
+
+ return true;
+ }
+
+ private function processMessages()
+ {
+ while ($done = curl_multi_info_read($this->_mh)) {
+ $id = (int) $done['handle'];
+ curl_multi_remove_handle($this->_mh, $done['handle']);
+
+ if (!isset($this->handles[$id])) {
+ // Probably was cancelled.
+ continue;
+ }
+
+ $entry = $this->handles[$id];
+ unset($this->handles[$id], $this->delays[$id]);
+ $entry['easy']->errno = $done['result'];
+ $entry['deferred']->resolve(
+ CurlFactory::finish(
+ $this,
+ $entry['easy'],
+ $this->factory
+ )
+ );
+ }
+ }
+
+ private function timeToNext()
+ {
+ $currentTime = microtime(true);
+ $nextTime = PHP_INT_MAX;
+ foreach ($this->delays as $time) {
+ if ($time < $nextTime) {
+ $nextTime = $time;
+ }
+ }
+
+ return max(0, $nextTime - $currentTime) * 1000000;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/EasyHandle.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/EasyHandle.php
new file mode 100644
index 00000000..7754e911
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/EasyHandle.php
@@ -0,0 +1,92 @@
+<?php
+namespace GuzzleHttp\Handler;
+
+use GuzzleHttp\Psr7\Response;
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * Represents a cURL easy handle and the data it populates.
+ *
+ * @internal
+ */
+final class EasyHandle
+{
+ /** @var resource cURL resource */
+ public $handle;
+
+ /** @var StreamInterface Where data is being written */
+ public $sink;
+
+ /** @var array Received HTTP headers so far */
+ public $headers = [];
+
+ /** @var ResponseInterface Received response (if any) */
+ public $response;
+
+ /** @var RequestInterface Request being sent */
+ public $request;
+
+ /** @var array Request options */
+ public $options = [];
+
+ /** @var int cURL error number (if any) */
+ public $errno = 0;
+
+ /** @var \Exception Exception during on_headers (if any) */
+ public $onHeadersException;
+
+ /**
+ * Attach a response to the easy handle based on the received headers.
+ *
+ * @throws \RuntimeException if no headers have been received.
+ */
+ public function createResponse()
+ {
+ if (empty($this->headers)) {
+ throw new \RuntimeException('No headers have been received');
+ }
+
+ // HTTP-version SP status-code SP reason-phrase
+ $startLine = explode(' ', array_shift($this->headers), 3);
+ $headers = \GuzzleHttp\headers_from_lines($this->headers);
+ $normalizedKeys = \GuzzleHttp\normalize_header_keys($headers);
+
+ if (!empty($this->options['decode_content'])
+ && isset($normalizedKeys['content-encoding'])
+ ) {
+ $headers['x-encoded-content-encoding']
+ = $headers[$normalizedKeys['content-encoding']];
+ unset($headers[$normalizedKeys['content-encoding']]);
+ if (isset($normalizedKeys['content-length'])) {
+ $headers['x-encoded-content-length']
+ = $headers[$normalizedKeys['content-length']];
+
+ $bodyLength = (int) $this->sink->getSize();
+ if ($bodyLength) {
+ $headers[$normalizedKeys['content-length']] = $bodyLength;
+ } else {
+ unset($headers[$normalizedKeys['content-length']]);
+ }
+ }
+ }
+
+ // Attach a response to the easy handle with the parsed headers.
+ $this->response = new Response(
+ $startLine[1],
+ $headers,
+ $this->sink,
+ substr($startLine[0], 5),
+ isset($startLine[2]) ? (string) $startLine[2] : null
+ );
+ }
+
+ public function __get($name)
+ {
+ $msg = $name === 'handle'
+ ? 'The EasyHandle has been released'
+ : 'Invalid property: ' . $name;
+ throw new \BadMethodCallException($msg);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/MockHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/MockHandler.php
new file mode 100644
index 00000000..d892061c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/MockHandler.php
@@ -0,0 +1,189 @@
+<?php
+namespace GuzzleHttp\Handler;
+
+use GuzzleHttp\Exception\RequestException;
+use GuzzleHttp\HandlerStack;
+use GuzzleHttp\Promise\PromiseInterface;
+use GuzzleHttp\Promise\RejectedPromise;
+use GuzzleHttp\TransferStats;
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+
+/**
+ * Handler that returns responses or throw exceptions from a queue.
+ */
+class MockHandler implements \Countable
+{
+ private $queue = [];
+ private $lastRequest;
+ private $lastOptions;
+ private $onFulfilled;
+ private $onRejected;
+
+ /**
+ * Creates a new MockHandler that uses the default handler stack list of
+ * middlewares.
+ *
+ * @param array $queue Array of responses, callables, or exceptions.
+ * @param callable $onFulfilled Callback to invoke when the return value is fulfilled.
+ * @param callable $onRejected Callback to invoke when the return value is rejected.
+ *
+ * @return HandlerStack
+ */
+ public static function createWithMiddleware(
+ array $queue = null,
+ callable $onFulfilled = null,
+ callable $onRejected = null
+ ) {
+ return HandlerStack::create(new self($queue, $onFulfilled, $onRejected));
+ }
+
+ /**
+ * The passed in value must be an array of
+ * {@see Psr7\Http\Message\ResponseInterface} objects, Exceptions,
+ * callables, or Promises.
+ *
+ * @param array $queue
+ * @param callable $onFulfilled Callback to invoke when the return value is fulfilled.
+ * @param callable $onRejected Callback to invoke when the return value is rejected.
+ */
+ public function __construct(
+ array $queue = null,
+ callable $onFulfilled = null,
+ callable $onRejected = null
+ ) {
+ $this->onFulfilled = $onFulfilled;
+ $this->onRejected = $onRejected;
+
+ if ($queue) {
+ call_user_func_array([$this, 'append'], $queue);
+ }
+ }
+
+ public function __invoke(RequestInterface $request, array $options)
+ {
+ if (!$this->queue) {
+ throw new \OutOfBoundsException('Mock queue is empty');
+ }
+
+ if (isset($options['delay'])) {
+ usleep($options['delay'] * 1000);
+ }
+
+ $this->lastRequest = $request;
+ $this->lastOptions = $options;
+ $response = array_shift($this->queue);
+
+ if (isset($options['on_headers'])) {
+ if (!is_callable($options['on_headers'])) {
+ throw new \InvalidArgumentException('on_headers must be callable');
+ }
+ try {
+ $options['on_headers']($response);
+ } catch (\Exception $e) {
+ $msg = 'An error was encountered during the on_headers event';
+ $response = new RequestException($msg, $request, $response, $e);
+ }
+ }
+
+ if (is_callable($response)) {
+ $response = call_user_func($response, $request, $options);
+ }
+
+ $response = $response instanceof \Exception
+ ? \GuzzleHttp\Promise\rejection_for($response)
+ : \GuzzleHttp\Promise\promise_for($response);
+
+ return $response->then(
+ function ($value) use ($request, $options) {
+ $this->invokeStats($request, $options, $value);
+ if ($this->onFulfilled) {
+ call_user_func($this->onFulfilled, $value);
+ }
+ if (isset($options['sink'])) {
+ $contents = (string) $value->getBody();
+ $sink = $options['sink'];
+
+ if (is_resource($sink)) {
+ fwrite($sink, $contents);
+ } elseif (is_string($sink)) {
+ file_put_contents($sink, $contents);
+ } elseif ($sink instanceof \Psr\Http\Message\StreamInterface) {
+ $sink->write($contents);
+ }
+ }
+
+ return $value;
+ },
+ function ($reason) use ($request, $options) {
+ $this->invokeStats($request, $options, null, $reason);
+ if ($this->onRejected) {
+ call_user_func($this->onRejected, $reason);
+ }
+ return \GuzzleHttp\Promise\rejection_for($reason);
+ }
+ );
+ }
+
+ /**
+ * Adds one or more variadic requests, exceptions, callables, or promises
+ * to the queue.
+ */
+ public function append()
+ {
+ foreach (func_get_args() as $value) {
+ if ($value instanceof ResponseInterface
+ || $value instanceof \Exception
+ || $value instanceof PromiseInterface
+ || is_callable($value)
+ ) {
+ $this->queue[] = $value;
+ } else {
+ throw new \InvalidArgumentException('Expected a response or '
+ . 'exception. Found ' . \GuzzleHttp\describe_type($value));
+ }
+ }
+ }
+
+ /**
+ * Get the last received request.
+ *
+ * @return RequestInterface
+ */
+ public function getLastRequest()
+ {
+ return $this->lastRequest;
+ }
+
+ /**
+ * Get the last received request options.
+ *
+ * @return array
+ */
+ public function getLastOptions()
+ {
+ return $this->lastOptions;
+ }
+
+ /**
+ * Returns the number of remaining items in the queue.
+ *
+ * @return int
+ */
+ public function count()
+ {
+ return count($this->queue);
+ }
+
+ private function invokeStats(
+ RequestInterface $request,
+ array $options,
+ ResponseInterface $response = null,
+ $reason = null
+ ) {
+ if (isset($options['on_stats'])) {
+ $stats = new TransferStats($request, $response, 0, $reason);
+ call_user_func($options['on_stats'], $stats);
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/Proxy.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/Proxy.php
new file mode 100644
index 00000000..f8b00be0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/Proxy.php
@@ -0,0 +1,55 @@
+<?php
+namespace GuzzleHttp\Handler;
+
+use GuzzleHttp\RequestOptions;
+use Psr\Http\Message\RequestInterface;
+
+/**
+ * Provides basic proxies for handlers.
+ */
+class Proxy
+{
+ /**
+ * Sends synchronous requests to a specific handler while sending all other
+ * requests to another handler.
+ *
+ * @param callable $default Handler used for normal responses
+ * @param callable $sync Handler used for synchronous responses.
+ *
+ * @return callable Returns the composed handler.
+ */
+ public static function wrapSync(
+ callable $default,
+ callable $sync
+ ) {
+ return function (RequestInterface $request, array $options) use ($default, $sync) {
+ return empty($options[RequestOptions::SYNCHRONOUS])
+ ? $default($request, $options)
+ : $sync($request, $options);
+ };
+ }
+
+ /**
+ * Sends streaming requests to a streaming compatible handler while sending
+ * all other requests to a default handler.
+ *
+ * This, for example, could be useful for taking advantage of the
+ * performance benefits of curl while still supporting true streaming
+ * through the StreamHandler.
+ *
+ * @param callable $default Handler used for non-streaming responses
+ * @param callable $streaming Handler used for streaming responses
+ *
+ * @return callable Returns the composed handler.
+ */
+ public static function wrapStreaming(
+ callable $default,
+ callable $streaming
+ ) {
+ return function (RequestInterface $request, array $options) use ($default, $streaming) {
+ return empty($options['stream'])
+ ? $default($request, $options)
+ : $streaming($request, $options);
+ };
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/StreamHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/StreamHandler.php
new file mode 100644
index 00000000..b12bfd94
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/StreamHandler.php
@@ -0,0 +1,533 @@
+<?php
+namespace GuzzleHttp\Handler;
+
+use GuzzleHttp\Exception\RequestException;
+use GuzzleHttp\Exception\ConnectException;
+use GuzzleHttp\Promise\FulfilledPromise;
+use GuzzleHttp\Promise\RejectedPromise;
+use GuzzleHttp\Promise\PromiseInterface;
+use GuzzleHttp\Psr7;
+use GuzzleHttp\TransferStats;
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * HTTP handler that uses PHP's HTTP stream wrapper.
+ */
+class StreamHandler
+{
+ private $lastHeaders = [];
+
+ /**
+ * Sends an HTTP request.
+ *
+ * @param RequestInterface $request Request to send.
+ * @param array $options Request transfer options.
+ *
+ * @return PromiseInterface
+ */
+ public function __invoke(RequestInterface $request, array $options)
+ {
+ // Sleep if there is a delay specified.
+ if (isset($options['delay'])) {
+ usleep($options['delay'] * 1000);
+ }
+
+ $startTime = isset($options['on_stats']) ? microtime(true) : null;
+
+ try {
+ // Does not support the expect header.
+ $request = $request->withoutHeader('Expect');
+
+ // Append a content-length header if body size is zero to match
+ // cURL's behavior.
+ if (0 === $request->getBody()->getSize()) {
+ $request = $request->withHeader('Content-Length', 0);
+ }
+
+ return $this->createResponse(
+ $request,
+ $options,
+ $this->createStream($request, $options),
+ $startTime
+ );
+ } catch (\InvalidArgumentException $e) {
+ throw $e;
+ } catch (\Exception $e) {
+ // Determine if the error was a networking error.
+ $message = $e->getMessage();
+ // This list can probably get more comprehensive.
+ if (strpos($message, 'getaddrinfo') // DNS lookup failed
+ || strpos($message, 'Connection refused')
+ || strpos($message, "couldn't connect to host") // error on HHVM
+ ) {
+ $e = new ConnectException($e->getMessage(), $request, $e);
+ }
+ $e = RequestException::wrapException($request, $e);
+ $this->invokeStats($options, $request, $startTime, null, $e);
+
+ return \GuzzleHttp\Promise\rejection_for($e);
+ }
+ }
+
+ private function invokeStats(
+ array $options,
+ RequestInterface $request,
+ $startTime,
+ ResponseInterface $response = null,
+ $error = null
+ ) {
+ if (isset($options['on_stats'])) {
+ $stats = new TransferStats(
+ $request,
+ $response,
+ microtime(true) - $startTime,
+ $error,
+ []
+ );
+ call_user_func($options['on_stats'], $stats);
+ }
+ }
+
+ private function createResponse(
+ RequestInterface $request,
+ array $options,
+ $stream,
+ $startTime
+ ) {
+ $hdrs = $this->lastHeaders;
+ $this->lastHeaders = [];
+ $parts = explode(' ', array_shift($hdrs), 3);
+ $ver = explode('/', $parts[0])[1];
+ $status = $parts[1];
+ $reason = isset($parts[2]) ? $parts[2] : null;
+ $headers = \GuzzleHttp\headers_from_lines($hdrs);
+ list ($stream, $headers) = $this->checkDecode($options, $headers, $stream);
+ $stream = Psr7\stream_for($stream);
+ $sink = $stream;
+
+ if (strcasecmp('HEAD', $request->getMethod())) {
+ $sink = $this->createSink($stream, $options);
+ }
+
+ $response = new Psr7\Response($status, $headers, $sink, $ver, $reason);
+
+ if (isset($options['on_headers'])) {
+ try {
+ $options['on_headers']($response);
+ } catch (\Exception $e) {
+ $msg = 'An error was encountered during the on_headers event';
+ $ex = new RequestException($msg, $request, $response, $e);
+ return \GuzzleHttp\Promise\rejection_for($ex);
+ }
+ }
+
+ // Do not drain when the request is a HEAD request because they have
+ // no body.
+ if ($sink !== $stream) {
+ $this->drain(
+ $stream,
+ $sink,
+ $response->getHeaderLine('Content-Length')
+ );
+ }
+
+ $this->invokeStats($options, $request, $startTime, $response, null);
+
+ return new FulfilledPromise($response);
+ }
+
+ private function createSink(StreamInterface $stream, array $options)
+ {
+ if (!empty($options['stream'])) {
+ return $stream;
+ }
+
+ $sink = isset($options['sink'])
+ ? $options['sink']
+ : fopen('php://temp', 'r+');
+
+ return is_string($sink)
+ ? new Psr7\LazyOpenStream($sink, 'w+')
+ : Psr7\stream_for($sink);
+ }
+
+ private function checkDecode(array $options, array $headers, $stream)
+ {
+ // Automatically decode responses when instructed.
+ if (!empty($options['decode_content'])) {
+ $normalizedKeys = \GuzzleHttp\normalize_header_keys($headers);
+ if (isset($normalizedKeys['content-encoding'])) {
+ $encoding = $headers[$normalizedKeys['content-encoding']];
+ if ($encoding[0] === 'gzip' || $encoding[0] === 'deflate') {
+ $stream = new Psr7\InflateStream(
+ Psr7\stream_for($stream)
+ );
+ $headers['x-encoded-content-encoding']
+ = $headers[$normalizedKeys['content-encoding']];
+ // Remove content-encoding header
+ unset($headers[$normalizedKeys['content-encoding']]);
+ // Fix content-length header
+ if (isset($normalizedKeys['content-length'])) {
+ $headers['x-encoded-content-length']
+ = $headers[$normalizedKeys['content-length']];
+
+ $length = (int) $stream->getSize();
+ if ($length === 0) {
+ unset($headers[$normalizedKeys['content-length']]);
+ } else {
+ $headers[$normalizedKeys['content-length']] = [$length];
+ }
+ }
+ }
+ }
+ }
+
+ return [$stream, $headers];
+ }
+
+ /**
+ * Drains the source stream into the "sink" client option.
+ *
+ * @param StreamInterface $source
+ * @param StreamInterface $sink
+ * @param string $contentLength Header specifying the amount of
+ * data to read.
+ *
+ * @return StreamInterface
+ * @throws \RuntimeException when the sink option is invalid.
+ */
+ private function drain(
+ StreamInterface $source,
+ StreamInterface $sink,
+ $contentLength
+ ) {
+ // If a content-length header is provided, then stop reading once
+ // that number of bytes has been read. This can prevent infinitely
+ // reading from a stream when dealing with servers that do not honor
+ // Connection: Close headers.
+ Psr7\copy_to_stream(
+ $source,
+ $sink,
+ (strlen($contentLength) > 0 && (int) $contentLength > 0) ? (int) $contentLength : -1
+ );
+
+ $sink->seek(0);
+ $source->close();
+
+ return $sink;
+ }
+
+ /**
+ * Create a resource and check to ensure it was created successfully
+ *
+ * @param callable $callback Callable that returns stream resource
+ *
+ * @return resource
+ * @throws \RuntimeException on error
+ */
+ private function createResource(callable $callback)
+ {
+ $errors = null;
+ set_error_handler(function ($_, $msg, $file, $line) use (&$errors) {
+ $errors[] = [
+ 'message' => $msg,
+ 'file' => $file,
+ 'line' => $line
+ ];
+ return true;
+ });
+
+ $resource = $callback();
+ restore_error_handler();
+
+ if (!$resource) {
+ $message = 'Error creating resource: ';
+ foreach ($errors as $err) {
+ foreach ($err as $key => $value) {
+ $message .= "[$key] $value" . PHP_EOL;
+ }
+ }
+ throw new \RuntimeException(trim($message));
+ }
+
+ return $resource;
+ }
+
+ private function createStream(RequestInterface $request, array $options)
+ {
+ static $methods;
+ if (!$methods) {
+ $methods = array_flip(get_class_methods(__CLASS__));
+ }
+
+ // HTTP/1.1 streams using the PHP stream wrapper require a
+ // Connection: close header
+ if ($request->getProtocolVersion() == '1.1'
+ && !$request->hasHeader('Connection')
+ ) {
+ $request = $request->withHeader('Connection', 'close');
+ }
+
+ // Ensure SSL is verified by default
+ if (!isset($options['verify'])) {
+ $options['verify'] = true;
+ }
+
+ $params = [];
+ $context = $this->getDefaultContext($request, $options);
+
+ if (isset($options['on_headers']) && !is_callable($options['on_headers'])) {
+ throw new \InvalidArgumentException('on_headers must be callable');
+ }
+
+ if (!empty($options)) {
+ foreach ($options as $key => $value) {
+ $method = "add_{$key}";
+ if (isset($methods[$method])) {
+ $this->{$method}($request, $context, $value, $params);
+ }
+ }
+ }
+
+ if (isset($options['stream_context'])) {
+ if (!is_array($options['stream_context'])) {
+ throw new \InvalidArgumentException('stream_context must be an array');
+ }
+ $context = array_replace_recursive(
+ $context,
+ $options['stream_context']
+ );
+ }
+
+ // Microsoft NTLM authentication only supported with curl handler
+ if (isset($options['auth'])
+ && is_array($options['auth'])
+ && isset($options['auth'][2])
+ && 'ntlm' == $options['auth'][2]
+ ) {
+
+ throw new \InvalidArgumentException('Microsoft NTLM authentication only supported with curl handler');
+ }
+
+ $uri = $this->resolveHost($request, $options);
+
+ $context = $this->createResource(
+ function () use ($context, $params) {
+ return stream_context_create($context, $params);
+ }
+ );
+
+ return $this->createResource(
+ function () use ($uri, &$http_response_header, $context, $options) {
+ $resource = fopen((string) $uri, 'r', null, $context);
+ $this->lastHeaders = $http_response_header;
+
+ if (isset($options['read_timeout'])) {
+ $readTimeout = $options['read_timeout'];
+ $sec = (int) $readTimeout;
+ $usec = ($readTimeout - $sec) * 100000;
+ stream_set_timeout($resource, $sec, $usec);
+ }
+
+ return $resource;
+ }
+ );
+ }
+
+ private function resolveHost(RequestInterface $request, array $options)
+ {
+ $uri = $request->getUri();
+
+ if (isset($options['force_ip_resolve']) && !filter_var($uri->getHost(), FILTER_VALIDATE_IP)) {
+ if ('v4' === $options['force_ip_resolve']) {
+ $records = dns_get_record($uri->getHost(), DNS_A);
+ if (!isset($records[0]['ip'])) {
+ throw new ConnectException(sprintf("Could not resolve IPv4 address for host '%s'", $uri->getHost()), $request);
+ }
+ $uri = $uri->withHost($records[0]['ip']);
+ } elseif ('v6' === $options['force_ip_resolve']) {
+ $records = dns_get_record($uri->getHost(), DNS_AAAA);
+ if (!isset($records[0]['ipv6'])) {
+ throw new ConnectException(sprintf("Could not resolve IPv6 address for host '%s'", $uri->getHost()), $request);
+ }
+ $uri = $uri->withHost('[' . $records[0]['ipv6'] . ']');
+ }
+ }
+
+ return $uri;
+ }
+
+ private function getDefaultContext(RequestInterface $request)
+ {
+ $headers = '';
+ foreach ($request->getHeaders() as $name => $value) {
+ foreach ($value as $val) {
+ $headers .= "$name: $val\r\n";
+ }
+ }
+
+ $context = [
+ 'http' => [
+ 'method' => $request->getMethod(),
+ 'header' => $headers,
+ 'protocol_version' => $request->getProtocolVersion(),
+ 'ignore_errors' => true,
+ 'follow_location' => 0,
+ ],
+ ];
+
+ $body = (string) $request->getBody();
+
+ if (!empty($body)) {
+ $context['http']['content'] = $body;
+ // Prevent the HTTP handler from adding a Content-Type header.
+ if (!$request->hasHeader('Content-Type')) {
+ $context['http']['header'] .= "Content-Type:\r\n";
+ }
+ }
+
+ $context['http']['header'] = rtrim($context['http']['header']);
+
+ return $context;
+ }
+
+ private function add_proxy(RequestInterface $request, &$options, $value, &$params)
+ {
+ if (!is_array($value)) {
+ $options['http']['proxy'] = $value;
+ } else {
+ $scheme = $request->getUri()->getScheme();
+ if (isset($value[$scheme])) {
+ if (!isset($value['no'])
+ || !\GuzzleHttp\is_host_in_noproxy(
+ $request->getUri()->getHost(),
+ $value['no']
+ )
+ ) {
+ $options['http']['proxy'] = $value[$scheme];
+ }
+ }
+ }
+ }
+
+ private function add_timeout(RequestInterface $request, &$options, $value, &$params)
+ {
+ if ($value > 0) {
+ $options['http']['timeout'] = $value;
+ }
+ }
+
+ private function add_verify(RequestInterface $request, &$options, $value, &$params)
+ {
+ if ($value === true) {
+ // PHP 5.6 or greater will find the system cert by default. When
+ // < 5.6, use the Guzzle bundled cacert.
+ if (PHP_VERSION_ID < 50600) {
+ $options['ssl']['cafile'] = \GuzzleHttp\default_ca_bundle();
+ }
+ } elseif (is_string($value)) {
+ $options['ssl']['cafile'] = $value;
+ if (!file_exists($value)) {
+ throw new \RuntimeException("SSL CA bundle not found: $value");
+ }
+ } elseif ($value === false) {
+ $options['ssl']['verify_peer'] = false;
+ $options['ssl']['verify_peer_name'] = false;
+ return;
+ } else {
+ throw new \InvalidArgumentException('Invalid verify request option');
+ }
+
+ $options['ssl']['verify_peer'] = true;
+ $options['ssl']['verify_peer_name'] = true;
+ $options['ssl']['allow_self_signed'] = false;
+ }
+
+ private function add_cert(RequestInterface $request, &$options, $value, &$params)
+ {
+ if (is_array($value)) {
+ $options['ssl']['passphrase'] = $value[1];
+ $value = $value[0];
+ }
+
+ if (!file_exists($value)) {
+ throw new \RuntimeException("SSL certificate not found: {$value}");
+ }
+
+ $options['ssl']['local_cert'] = $value;
+ }
+
+ private function add_progress(RequestInterface $request, &$options, $value, &$params)
+ {
+ $this->addNotification(
+ $params,
+ function ($code, $a, $b, $c, $transferred, $total) use ($value) {
+ if ($code == STREAM_NOTIFY_PROGRESS) {
+ $value($total, $transferred, null, null);
+ }
+ }
+ );
+ }
+
+ private function add_debug(RequestInterface $request, &$options, $value, &$params)
+ {
+ if ($value === false) {
+ return;
+ }
+
+ static $map = [
+ STREAM_NOTIFY_CONNECT => 'CONNECT',
+ STREAM_NOTIFY_AUTH_REQUIRED => 'AUTH_REQUIRED',
+ STREAM_NOTIFY_AUTH_RESULT => 'AUTH_RESULT',
+ STREAM_NOTIFY_MIME_TYPE_IS => 'MIME_TYPE_IS',
+ STREAM_NOTIFY_FILE_SIZE_IS => 'FILE_SIZE_IS',
+ STREAM_NOTIFY_REDIRECTED => 'REDIRECTED',
+ STREAM_NOTIFY_PROGRESS => 'PROGRESS',
+ STREAM_NOTIFY_FAILURE => 'FAILURE',
+ STREAM_NOTIFY_COMPLETED => 'COMPLETED',
+ STREAM_NOTIFY_RESOLVE => 'RESOLVE',
+ ];
+ static $args = ['severity', 'message', 'message_code',
+ 'bytes_transferred', 'bytes_max'];
+
+ $value = \GuzzleHttp\debug_resource($value);
+ $ident = $request->getMethod() . ' ' . $request->getUri()->withFragment('');
+ $this->addNotification(
+ $params,
+ function () use ($ident, $value, $map, $args) {
+ $passed = func_get_args();
+ $code = array_shift($passed);
+ fprintf($value, '<%s> [%s] ', $ident, $map[$code]);
+ foreach (array_filter($passed) as $i => $v) {
+ fwrite($value, $args[$i] . ': "' . $v . '" ');
+ }
+ fwrite($value, "\n");
+ }
+ );
+ }
+
+ private function addNotification(array &$params, callable $notify)
+ {
+ // Wrap the existing function if needed.
+ if (!isset($params['notification'])) {
+ $params['notification'] = $notify;
+ } else {
+ $params['notification'] = $this->callArray([
+ $params['notification'],
+ $notify
+ ]);
+ }
+ }
+
+ private function callArray(array $functions)
+ {
+ return function () use ($functions) {
+ $args = func_get_args();
+ foreach ($functions as $fn) {
+ call_user_func_array($fn, $args);
+ }
+ };
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/HandlerStack.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/HandlerStack.php
new file mode 100644
index 00000000..a72e38a5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/HandlerStack.php
@@ -0,0 +1,273 @@
+<?php
+namespace GuzzleHttp;
+
+use Psr\Http\Message\RequestInterface;
+
+/**
+ * Creates a composed Guzzle handler function by stacking middlewares on top of
+ * an HTTP handler function.
+ */
+class HandlerStack
+{
+ /** @var callable */
+ private $handler;
+
+ /** @var array */
+ private $stack = [];
+
+ /** @var callable|null */
+ private $cached;
+
+ /**
+ * Creates a default handler stack that can be used by clients.
+ *
+ * The returned handler will wrap the provided handler or use the most
+ * appropriate default handler for you system. The returned HandlerStack has
+ * support for cookies, redirects, HTTP error exceptions, and preparing a body
+ * before sending.
+ *
+ * The returned handler stack can be passed to a client in the "handler"
+ * option.
+ *
+ * @param callable $handler HTTP handler function to use with the stack. If no
+ * handler is provided, the best handler for your
+ * system will be utilized.
+ *
+ * @return HandlerStack
+ */
+ public static function create(callable $handler = null)
+ {
+ $stack = new self($handler ?: choose_handler());
+ $stack->push(Middleware::httpErrors(), 'http_errors');
+ $stack->push(Middleware::redirect(), 'allow_redirects');
+ $stack->push(Middleware::cookies(), 'cookies');
+ $stack->push(Middleware::prepareBody(), 'prepare_body');
+
+ return $stack;
+ }
+
+ /**
+ * @param callable $handler Underlying HTTP handler.
+ */
+ public function __construct(callable $handler = null)
+ {
+ $this->handler = $handler;
+ }
+
+ /**
+ * Invokes the handler stack as a composed handler
+ *
+ * @param RequestInterface $request
+ * @param array $options
+ */
+ public function __invoke(RequestInterface $request, array $options)
+ {
+ $handler = $this->resolve();
+
+ return $handler($request, $options);
+ }
+
+ /**
+ * Dumps a string representation of the stack.
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ $depth = 0;
+ $stack = [];
+ if ($this->handler) {
+ $stack[] = "0) Handler: " . $this->debugCallable($this->handler);
+ }
+
+ $result = '';
+ foreach (array_reverse($this->stack) as $tuple) {
+ $depth++;
+ $str = "{$depth}) Name: '{$tuple[1]}', ";
+ $str .= "Function: " . $this->debugCallable($tuple[0]);
+ $result = "> {$str}\n{$result}";
+ $stack[] = $str;
+ }
+
+ foreach (array_keys($stack) as $k) {
+ $result .= "< {$stack[$k]}\n";
+ }
+
+ return $result;
+ }
+
+ /**
+ * Set the HTTP handler that actually returns a promise.
+ *
+ * @param callable $handler Accepts a request and array of options and
+ * returns a Promise.
+ */
+ public function setHandler(callable $handler)
+ {
+ $this->handler = $handler;
+ $this->cached = null;
+ }
+
+ /**
+ * Returns true if the builder has a handler.
+ *
+ * @return bool
+ */
+ public function hasHandler()
+ {
+ return (bool) $this->handler;
+ }
+
+ /**
+ * Unshift a middleware to the bottom of the stack.
+ *
+ * @param callable $middleware Middleware function
+ * @param string $name Name to register for this middleware.
+ */
+ public function unshift(callable $middleware, $name = null)
+ {
+ array_unshift($this->stack, [$middleware, $name]);
+ $this->cached = null;
+ }
+
+ /**
+ * Push a middleware to the top of the stack.
+ *
+ * @param callable $middleware Middleware function
+ * @param string $name Name to register for this middleware.
+ */
+ public function push(callable $middleware, $name = '')
+ {
+ $this->stack[] = [$middleware, $name];
+ $this->cached = null;
+ }
+
+ /**
+ * Add a middleware before another middleware by name.
+ *
+ * @param string $findName Middleware to find
+ * @param callable $middleware Middleware function
+ * @param string $withName Name to register for this middleware.
+ */
+ public function before($findName, callable $middleware, $withName = '')
+ {
+ $this->splice($findName, $withName, $middleware, true);
+ }
+
+ /**
+ * Add a middleware after another middleware by name.
+ *
+ * @param string $findName Middleware to find
+ * @param callable $middleware Middleware function
+ * @param string $withName Name to register for this middleware.
+ */
+ public function after($findName, callable $middleware, $withName = '')
+ {
+ $this->splice($findName, $withName, $middleware, false);
+ }
+
+ /**
+ * Remove a middleware by instance or name from the stack.
+ *
+ * @param callable|string $remove Middleware to remove by instance or name.
+ */
+ public function remove($remove)
+ {
+ $this->cached = null;
+ $idx = is_callable($remove) ? 0 : 1;
+ $this->stack = array_values(array_filter(
+ $this->stack,
+ function ($tuple) use ($idx, $remove) {
+ return $tuple[$idx] !== $remove;
+ }
+ ));
+ }
+
+ /**
+ * Compose the middleware and handler into a single callable function.
+ *
+ * @return callable
+ */
+ public function resolve()
+ {
+ if (!$this->cached) {
+ if (!($prev = $this->handler)) {
+ throw new \LogicException('No handler has been specified');
+ }
+
+ foreach (array_reverse($this->stack) as $fn) {
+ $prev = $fn[0]($prev);
+ }
+
+ $this->cached = $prev;
+ }
+
+ return $this->cached;
+ }
+
+ /**
+ * @param $name
+ * @return int
+ */
+ private function findByName($name)
+ {
+ foreach ($this->stack as $k => $v) {
+ if ($v[1] === $name) {
+ return $k;
+ }
+ }
+
+ throw new \InvalidArgumentException("Middleware not found: $name");
+ }
+
+ /**
+ * Splices a function into the middleware list at a specific position.
+ *
+ * @param $findName
+ * @param $withName
+ * @param callable $middleware
+ * @param $before
+ */
+ private function splice($findName, $withName, callable $middleware, $before)
+ {
+ $this->cached = null;
+ $idx = $this->findByName($findName);
+ $tuple = [$middleware, $withName];
+
+ if ($before) {
+ if ($idx === 0) {
+ array_unshift($this->stack, $tuple);
+ } else {
+ $replacement = [$tuple, $this->stack[$idx]];
+ array_splice($this->stack, $idx, 1, $replacement);
+ }
+ } elseif ($idx === count($this->stack) - 1) {
+ $this->stack[] = $tuple;
+ } else {
+ $replacement = [$this->stack[$idx], $tuple];
+ array_splice($this->stack, $idx, 1, $replacement);
+ }
+ }
+
+ /**
+ * Provides a debug string for a given callable.
+ *
+ * @param array|callable $fn Function to write as a string.
+ *
+ * @return string
+ */
+ private function debugCallable($fn)
+ {
+ if (is_string($fn)) {
+ return "callable({$fn})";
+ }
+
+ if (is_array($fn)) {
+ return is_string($fn[0])
+ ? "callable({$fn[0]}::{$fn[1]})"
+ : "callable(['" . get_class($fn[0]) . "', '{$fn[1]}'])";
+ }
+
+ return 'callable(' . spl_object_hash($fn) . ')';
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/MessageFormatter.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/MessageFormatter.php
new file mode 100644
index 00000000..6b090a97
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/MessageFormatter.php
@@ -0,0 +1,182 @@
+<?php
+namespace GuzzleHttp;
+
+use Psr\Http\Message\MessageInterface;
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+
+/**
+ * Formats log messages using variable substitutions for requests, responses,
+ * and other transactional data.
+ *
+ * The following variable substitutions are supported:
+ *
+ * - {request}: Full HTTP request message
+ * - {response}: Full HTTP response message
+ * - {ts}: ISO 8601 date in GMT
+ * - {date_iso_8601} ISO 8601 date in GMT
+ * - {date_common_log} Apache common log date using the configured timezone.
+ * - {host}: Host of the request
+ * - {method}: Method of the request
+ * - {uri}: URI of the request
+ * - {host}: Host of the request
+ * - {version}: Protocol version
+ * - {target}: Request target of the request (path + query + fragment)
+ * - {hostname}: Hostname of the machine that sent the request
+ * - {code}: Status code of the response (if available)
+ * - {phrase}: Reason phrase of the response (if available)
+ * - {error}: Any error messages (if available)
+ * - {req_header_*}: Replace `*` with the lowercased name of a request header to add to the message
+ * - {res_header_*}: Replace `*` with the lowercased name of a response header to add to the message
+ * - {req_headers}: Request headers
+ * - {res_headers}: Response headers
+ * - {req_body}: Request body
+ * - {res_body}: Response body
+ */
+class MessageFormatter
+{
+ /**
+ * Apache Common Log Format.
+ * @link http://httpd.apache.org/docs/2.4/logs.html#common
+ * @var string
+ */
+ const CLF = "{hostname} {req_header_User-Agent} - [{date_common_log}] \"{method} {target} HTTP/{version}\" {code} {res_header_Content-Length}";
+ const DEBUG = ">>>>>>>>\n{request}\n<<<<<<<<\n{response}\n--------\n{error}";
+ const SHORT = '[{ts}] "{method} {target} HTTP/{version}" {code}';
+
+ /** @var string Template used to format log messages */
+ private $template;
+
+ /**
+ * @param string $template Log message template
+ */
+ public function __construct($template = self::CLF)
+ {
+ $this->template = $template ?: self::CLF;
+ }
+
+ /**
+ * Returns a formatted message string.
+ *
+ * @param RequestInterface $request Request that was sent
+ * @param ResponseInterface $response Response that was received
+ * @param \Exception $error Exception that was received
+ *
+ * @return string
+ */
+ public function format(
+ RequestInterface $request,
+ ResponseInterface $response = null,
+ \Exception $error = null
+ ) {
+ $cache = [];
+
+ return preg_replace_callback(
+ '/{\s*([A-Za-z_\-\.0-9]+)\s*}/',
+ function (array $matches) use ($request, $response, $error, &$cache) {
+
+ if (isset($cache[$matches[1]])) {
+ return $cache[$matches[1]];
+ }
+
+ $result = '';
+ switch ($matches[1]) {
+ case 'request':
+ $result = Psr7\str($request);
+ break;
+ case 'response':
+ $result = $response ? Psr7\str($response) : '';
+ break;
+ case 'req_headers':
+ $result = trim($request->getMethod()
+ . ' ' . $request->getRequestTarget())
+ . ' HTTP/' . $request->getProtocolVersion() . "\r\n"
+ . $this->headers($request);
+ break;
+ case 'res_headers':
+ $result = $response ?
+ sprintf(
+ 'HTTP/%s %d %s',
+ $response->getProtocolVersion(),
+ $response->getStatusCode(),
+ $response->getReasonPhrase()
+ ) . "\r\n" . $this->headers($response)
+ : 'NULL';
+ break;
+ case 'req_body':
+ $result = $request->getBody();
+ break;
+ case 'res_body':
+ $result = $response ? $response->getBody() : 'NULL';
+ break;
+ case 'ts':
+ case 'date_iso_8601':
+ $result = gmdate('c');
+ break;
+ case 'date_common_log':
+ $result = date('d/M/Y:H:i:s O');
+ break;
+ case 'method':
+ $result = $request->getMethod();
+ break;
+ case 'version':
+ $result = $request->getProtocolVersion();
+ break;
+ case 'uri':
+ case 'url':
+ $result = $request->getUri();
+ break;
+ case 'target':
+ $result = $request->getRequestTarget();
+ break;
+ case 'req_version':
+ $result = $request->getProtocolVersion();
+ break;
+ case 'res_version':
+ $result = $response
+ ? $response->getProtocolVersion()
+ : 'NULL';
+ break;
+ case 'host':
+ $result = $request->getHeaderLine('Host');
+ break;
+ case 'hostname':
+ $result = gethostname();
+ break;
+ case 'code':
+ $result = $response ? $response->getStatusCode() : 'NULL';
+ break;
+ case 'phrase':
+ $result = $response ? $response->getReasonPhrase() : 'NULL';
+ break;
+ case 'error':
+ $result = $error ? $error->getMessage() : 'NULL';
+ break;
+ default:
+ // handle prefixed dynamic headers
+ if (strpos($matches[1], 'req_header_') === 0) {
+ $result = $request->getHeaderLine(substr($matches[1], 11));
+ } elseif (strpos($matches[1], 'res_header_') === 0) {
+ $result = $response
+ ? $response->getHeaderLine(substr($matches[1], 11))
+ : 'NULL';
+ }
+ }
+
+ $cache[$matches[1]] = $result;
+ return $result;
+ },
+ $this->template
+ );
+ }
+
+ private function headers(MessageInterface $message)
+ {
+ $result = '';
+ foreach ($message->getHeaders() as $name => $values) {
+ $result .= $name . ': ' . implode(', ', $values) . "\r\n";
+ }
+
+ return trim($result);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Middleware.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Middleware.php
new file mode 100644
index 00000000..9d79bd26
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Middleware.php
@@ -0,0 +1,254 @@
+<?php
+namespace GuzzleHttp;
+
+use GuzzleHttp\Cookie\CookieJarInterface;
+use GuzzleHttp\Exception\RequestException;
+use GuzzleHttp\Promise\RejectedPromise;
+use GuzzleHttp\Psr7;
+use Psr\Http\Message\ResponseInterface;
+use Psr\Log\LoggerInterface;
+use Psr\Log\LogLevel;
+
+/**
+ * Functions used to create and wrap handlers with handler middleware.
+ */
+final class Middleware
+{
+ /**
+ * Middleware that adds cookies to requests.
+ *
+ * The options array must be set to a CookieJarInterface in order to use
+ * cookies. This is typically handled for you by a client.
+ *
+ * @return callable Returns a function that accepts the next handler.
+ */
+ public static function cookies()
+ {
+ return function (callable $handler) {
+ return function ($request, array $options) use ($handler) {
+ if (empty($options['cookies'])) {
+ return $handler($request, $options);
+ } elseif (!($options['cookies'] instanceof CookieJarInterface)) {
+ throw new \InvalidArgumentException('cookies must be an instance of GuzzleHttp\Cookie\CookieJarInterface');
+ }
+ $cookieJar = $options['cookies'];
+ $request = $cookieJar->withCookieHeader($request);
+ return $handler($request, $options)
+ ->then(function ($response) use ($cookieJar, $request) {
+ $cookieJar->extractCookies($request, $response);
+ return $response;
+ }
+ );
+ };
+ };
+ }
+
+ /**
+ * Middleware that throws exceptions for 4xx or 5xx responses when the
+ * "http_error" request option is set to true.
+ *
+ * @return callable Returns a function that accepts the next handler.
+ */
+ public static function httpErrors()
+ {
+ return function (callable $handler) {
+ return function ($request, array $options) use ($handler) {
+ if (empty($options['http_errors'])) {
+ return $handler($request, $options);
+ }
+ return $handler($request, $options)->then(
+ function (ResponseInterface $response) use ($request, $handler) {
+ $code = $response->getStatusCode();
+ if ($code < 400) {
+ return $response;
+ }
+ throw RequestException::create($request, $response);
+ }
+ );
+ };
+ };
+ }
+
+ /**
+ * Middleware that pushes history data to an ArrayAccess container.
+ *
+ * @param array $container Container to hold the history (by reference).
+ *
+ * @return callable Returns a function that accepts the next handler.
+ * @throws \InvalidArgumentException if container is not an array or ArrayAccess.
+ */
+ public static function history(&$container)
+ {
+ if (!is_array($container) && !$container instanceof \ArrayAccess) {
+ throw new \InvalidArgumentException('history container must be an array or object implementing ArrayAccess');
+ }
+
+ return function (callable $handler) use (&$container) {
+ return function ($request, array $options) use ($handler, &$container) {
+ return $handler($request, $options)->then(
+ function ($value) use ($request, &$container, $options) {
+ $container[] = [
+ 'request' => $request,
+ 'response' => $value,
+ 'error' => null,
+ 'options' => $options
+ ];
+ return $value;
+ },
+ function ($reason) use ($request, &$container, $options) {
+ $container[] = [
+ 'request' => $request,
+ 'response' => null,
+ 'error' => $reason,
+ 'options' => $options
+ ];
+ return \GuzzleHttp\Promise\rejection_for($reason);
+ }
+ );
+ };
+ };
+ }
+
+ /**
+ * Middleware that invokes a callback before and after sending a request.
+ *
+ * The provided listener cannot modify or alter the response. It simply
+ * "taps" into the chain to be notified before returning the promise. The
+ * before listener accepts a request and options array, and the after
+ * listener accepts a request, options array, and response promise.
+ *
+ * @param callable $before Function to invoke before forwarding the request.
+ * @param callable $after Function invoked after forwarding.
+ *
+ * @return callable Returns a function that accepts the next handler.
+ */
+ public static function tap(callable $before = null, callable $after = null)
+ {
+ return function (callable $handler) use ($before, $after) {
+ return function ($request, array $options) use ($handler, $before, $after) {
+ if ($before) {
+ $before($request, $options);
+ }
+ $response = $handler($request, $options);
+ if ($after) {
+ $after($request, $options, $response);
+ }
+ return $response;
+ };
+ };
+ }
+
+ /**
+ * Middleware that handles request redirects.
+ *
+ * @return callable Returns a function that accepts the next handler.
+ */
+ public static function redirect()
+ {
+ return function (callable $handler) {
+ return new RedirectMiddleware($handler);
+ };
+ }
+
+ /**
+ * Middleware that retries requests based on the boolean result of
+ * invoking the provided "decider" function.
+ *
+ * If no delay function is provided, a simple implementation of exponential
+ * backoff will be utilized.
+ *
+ * @param callable $decider Function that accepts the number of retries,
+ * a request, [response], and [exception] and
+ * returns true if the request is to be retried.
+ * @param callable $delay Function that accepts the number of retries and
+ * returns the number of milliseconds to delay.
+ *
+ * @return callable Returns a function that accepts the next handler.
+ */
+ public static function retry(callable $decider, callable $delay = null)
+ {
+ return function (callable $handler) use ($decider, $delay) {
+ return new RetryMiddleware($decider, $handler, $delay);
+ };
+ }
+
+ /**
+ * Middleware that logs requests, responses, and errors using a message
+ * formatter.
+ *
+ * @param LoggerInterface $logger Logs messages.
+ * @param MessageFormatter $formatter Formatter used to create message strings.
+ * @param string $logLevel Level at which to log requests.
+ *
+ * @return callable Returns a function that accepts the next handler.
+ */
+ public static function log(LoggerInterface $logger, MessageFormatter $formatter, $logLevel = LogLevel::INFO)
+ {
+ return function (callable $handler) use ($logger, $formatter, $logLevel) {
+ return function ($request, array $options) use ($handler, $logger, $formatter, $logLevel) {
+ return $handler($request, $options)->then(
+ function ($response) use ($logger, $request, $formatter, $logLevel) {
+ $message = $formatter->format($request, $response);
+ $logger->log($logLevel, $message);
+ return $response;
+ },
+ function ($reason) use ($logger, $request, $formatter) {
+ $response = $reason instanceof RequestException
+ ? $reason->getResponse()
+ : null;
+ $message = $formatter->format($request, $response, $reason);
+ $logger->notice($message);
+ return \GuzzleHttp\Promise\rejection_for($reason);
+ }
+ );
+ };
+ };
+ }
+
+ /**
+ * This middleware adds a default content-type if possible, a default
+ * content-length or transfer-encoding header, and the expect header.
+ *
+ * @return callable
+ */
+ public static function prepareBody()
+ {
+ return function (callable $handler) {
+ return new PrepareBodyMiddleware($handler);
+ };
+ }
+
+ /**
+ * Middleware that applies a map function to the request before passing to
+ * the next handler.
+ *
+ * @param callable $fn Function that accepts a RequestInterface and returns
+ * a RequestInterface.
+ * @return callable
+ */
+ public static function mapRequest(callable $fn)
+ {
+ return function (callable $handler) use ($fn) {
+ return function ($request, array $options) use ($handler, $fn) {
+ return $handler($fn($request), $options);
+ };
+ };
+ }
+
+ /**
+ * Middleware that applies a map function to the resolved promise's
+ * response.
+ *
+ * @param callable $fn Function that accepts a ResponseInterface and
+ * returns a ResponseInterface.
+ * @return callable
+ */
+ public static function mapResponse(callable $fn)
+ {
+ return function (callable $handler) use ($fn) {
+ return function ($request, array $options) use ($handler, $fn) {
+ return $handler($request, $options)->then($fn);
+ };
+ };
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Pool.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Pool.php
new file mode 100644
index 00000000..8f1be33c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/Pool.php
@@ -0,0 +1,123 @@
+<?php
+namespace GuzzleHttp;
+
+use GuzzleHttp\Promise\PromisorInterface;
+use Psr\Http\Message\RequestInterface;
+use GuzzleHttp\Promise\EachPromise;
+
+/**
+ * Sends and iterator of requests concurrently using a capped pool size.
+ *
+ * The pool will read from an iterator until it is cancelled or until the
+ * iterator is consumed. When a request is yielded, the request is sent after
+ * applying the "request_options" request options (if provided in the ctor).
+ *
+ * When a function is yielded by the iterator, the function is provided the
+ * "request_options" array that should be merged on top of any existing
+ * options, and the function MUST then return a wait-able promise.
+ */
+class Pool implements PromisorInterface
+{
+ /** @var EachPromise */
+ private $each;
+
+ /**
+ * @param ClientInterface $client Client used to send the requests.
+ * @param array|\Iterator $requests Requests or functions that return
+ * requests to send concurrently.
+ * @param array $config Associative array of options
+ * - concurrency: (int) Maximum number of requests to send concurrently
+ * - options: Array of request options to apply to each request.
+ * - fulfilled: (callable) Function to invoke when a request completes.
+ * - rejected: (callable) Function to invoke when a request is rejected.
+ */
+ public function __construct(
+ ClientInterface $client,
+ $requests,
+ array $config = []
+ ) {
+ // Backwards compatibility.
+ if (isset($config['pool_size'])) {
+ $config['concurrency'] = $config['pool_size'];
+ } elseif (!isset($config['concurrency'])) {
+ $config['concurrency'] = 25;
+ }
+
+ if (isset($config['options'])) {
+ $opts = $config['options'];
+ unset($config['options']);
+ } else {
+ $opts = [];
+ }
+
+ $iterable = \GuzzleHttp\Promise\iter_for($requests);
+ $requests = function () use ($iterable, $client, $opts) {
+ foreach ($iterable as $key => $rfn) {
+ if ($rfn instanceof RequestInterface) {
+ yield $key => $client->sendAsync($rfn, $opts);
+ } elseif (is_callable($rfn)) {
+ yield $key => $rfn($opts);
+ } else {
+ throw new \InvalidArgumentException('Each value yielded by '
+ . 'the iterator must be a Psr7\Http\Message\RequestInterface '
+ . 'or a callable that returns a promise that fulfills '
+ . 'with a Psr7\Message\Http\ResponseInterface object.');
+ }
+ }
+ };
+
+ $this->each = new EachPromise($requests(), $config);
+ }
+
+ public function promise()
+ {
+ return $this->each->promise();
+ }
+
+ /**
+ * Sends multiple requests concurrently and returns an array of responses
+ * and exceptions that uses the same ordering as the provided requests.
+ *
+ * IMPORTANT: This method keeps every request and response in memory, and
+ * as such, is NOT recommended when sending a large number or an
+ * indeterminate number of requests concurrently.
+ *
+ * @param ClientInterface $client Client used to send the requests
+ * @param array|\Iterator $requests Requests to send concurrently.
+ * @param array $options Passes through the options available in
+ * {@see GuzzleHttp\Pool::__construct}
+ *
+ * @return array Returns an array containing the response or an exception
+ * in the same order that the requests were sent.
+ * @throws \InvalidArgumentException if the event format is incorrect.
+ */
+ public static function batch(
+ ClientInterface $client,
+ $requests,
+ array $options = []
+ ) {
+ $res = [];
+ self::cmpCallback($options, 'fulfilled', $res);
+ self::cmpCallback($options, 'rejected', $res);
+ $pool = new static($client, $requests, $options);
+ $pool->promise()->wait();
+ ksort($res);
+
+ return $res;
+ }
+
+ private static function cmpCallback(array &$options, $name, array &$results)
+ {
+ if (!isset($options[$name])) {
+ $options[$name] = function ($v, $k) use (&$results) {
+ $results[$k] = $v;
+ };
+ } else {
+ $currentFn = $options[$name];
+ $options[$name] = function ($v, $k) use (&$results, $currentFn) {
+ $currentFn($v, $k);
+ $results[$k] = $v;
+ };
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php
new file mode 100644
index 00000000..2eb95f9b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php
@@ -0,0 +1,106 @@
+<?php
+namespace GuzzleHttp;
+
+use GuzzleHttp\Promise\PromiseInterface;
+use GuzzleHttp\Psr7;
+use Psr\Http\Message\RequestInterface;
+
+/**
+ * Prepares requests that contain a body, adding the Content-Length,
+ * Content-Type, and Expect headers.
+ */
+class PrepareBodyMiddleware
+{
+ /** @var callable */
+ private $nextHandler;
+
+ /**
+ * @param callable $nextHandler Next handler to invoke.
+ */
+ public function __construct(callable $nextHandler)
+ {
+ $this->nextHandler = $nextHandler;
+ }
+
+ /**
+ * @param RequestInterface $request
+ * @param array $options
+ *
+ * @return PromiseInterface
+ */
+ public function __invoke(RequestInterface $request, array $options)
+ {
+ $fn = $this->nextHandler;
+
+ // Don't do anything if the request has no body.
+ if ($request->getBody()->getSize() === 0) {
+ return $fn($request, $options);
+ }
+
+ $modify = [];
+
+ // Add a default content-type if possible.
+ if (!$request->hasHeader('Content-Type')) {
+ if ($uri = $request->getBody()->getMetadata('uri')) {
+ if ($type = Psr7\mimetype_from_filename($uri)) {
+ $modify['set_headers']['Content-Type'] = $type;
+ }
+ }
+ }
+
+ // Add a default content-length or transfer-encoding header.
+ if (!$request->hasHeader('Content-Length')
+ && !$request->hasHeader('Transfer-Encoding')
+ ) {
+ $size = $request->getBody()->getSize();
+ if ($size !== null) {
+ $modify['set_headers']['Content-Length'] = $size;
+ } else {
+ $modify['set_headers']['Transfer-Encoding'] = 'chunked';
+ }
+ }
+
+ // Add the expect header if needed.
+ $this->addExpectHeader($request, $options, $modify);
+
+ return $fn(Psr7\modify_request($request, $modify), $options);
+ }
+
+ private function addExpectHeader(
+ RequestInterface $request,
+ array $options,
+ array &$modify
+ ) {
+ // Determine if the Expect header should be used
+ if ($request->hasHeader('Expect')) {
+ return;
+ }
+
+ $expect = isset($options['expect']) ? $options['expect'] : null;
+
+ // Return if disabled or if you're not using HTTP/1.1 or HTTP/2.0
+ if ($expect === false || $request->getProtocolVersion() < 1.1) {
+ return;
+ }
+
+ // The expect header is unconditionally enabled
+ if ($expect === true) {
+ $modify['set_headers']['Expect'] = '100-Continue';
+ return;
+ }
+
+ // By default, send the expect header when the payload is > 1mb
+ if ($expect === null) {
+ $expect = 1048576;
+ }
+
+ // Always add if the body cannot be rewound, the size cannot be
+ // determined, or the size is greater than the cutoff threshold
+ $body = $request->getBody();
+ $size = $body->getSize();
+
+ if ($size === null || $size >= (int) $expect || !$body->isSeekable()) {
+ $modify['set_headers']['Expect'] = '100-Continue';
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/RedirectMiddleware.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/RedirectMiddleware.php
new file mode 100644
index 00000000..131b7717
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/RedirectMiddleware.php
@@ -0,0 +1,237 @@
+<?php
+namespace GuzzleHttp;
+
+use GuzzleHttp\Exception\BadResponseException;
+use GuzzleHttp\Exception\TooManyRedirectsException;
+use GuzzleHttp\Promise\PromiseInterface;
+use GuzzleHttp\Psr7;
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+use Psr\Http\Message\UriInterface;
+
+/**
+ * Request redirect middleware.
+ *
+ * Apply this middleware like other middleware using
+ * {@see GuzzleHttp\Middleware::redirect()}.
+ */
+class RedirectMiddleware
+{
+ const HISTORY_HEADER = 'X-Guzzle-Redirect-History';
+
+ const STATUS_HISTORY_HEADER = 'X-Guzzle-Redirect-Status-History';
+
+ public static $defaultSettings = [
+ 'max' => 5,
+ 'protocols' => ['http', 'https'],
+ 'strict' => false,
+ 'referer' => false,
+ 'track_redirects' => false,
+ ];
+
+ /** @var callable */
+ private $nextHandler;
+
+ /**
+ * @param callable $nextHandler Next handler to invoke.
+ */
+ public function __construct(callable $nextHandler)
+ {
+ $this->nextHandler = $nextHandler;
+ }
+
+ /**
+ * @param RequestInterface $request
+ * @param array $options
+ *
+ * @return PromiseInterface
+ */
+ public function __invoke(RequestInterface $request, array $options)
+ {
+ $fn = $this->nextHandler;
+
+ if (empty($options['allow_redirects'])) {
+ return $fn($request, $options);
+ }
+
+ if ($options['allow_redirects'] === true) {
+ $options['allow_redirects'] = self::$defaultSettings;
+ } elseif (!is_array($options['allow_redirects'])) {
+ throw new \InvalidArgumentException('allow_redirects must be true, false, or array');
+ } else {
+ // Merge the default settings with the provided settings
+ $options['allow_redirects'] += self::$defaultSettings;
+ }
+
+ if (empty($options['allow_redirects']['max'])) {
+ return $fn($request, $options);
+ }
+
+ return $fn($request, $options)
+ ->then(function (ResponseInterface $response) use ($request, $options) {
+ return $this->checkRedirect($request, $options, $response);
+ });
+ }
+
+ /**
+ * @param RequestInterface $request
+ * @param array $options
+ * @param ResponseInterface|PromiseInterface $response
+ *
+ * @return ResponseInterface|PromiseInterface
+ */
+ public function checkRedirect(
+ RequestInterface $request,
+ array $options,
+ ResponseInterface $response
+ ) {
+ if (substr($response->getStatusCode(), 0, 1) != '3'
+ || !$response->hasHeader('Location')
+ ) {
+ return $response;
+ }
+
+ $this->guardMax($request, $options);
+ $nextRequest = $this->modifyRequest($request, $options, $response);
+
+ if (isset($options['allow_redirects']['on_redirect'])) {
+ call_user_func(
+ $options['allow_redirects']['on_redirect'],
+ $request,
+ $response,
+ $nextRequest->getUri()
+ );
+ }
+
+ /** @var PromiseInterface|ResponseInterface $promise */
+ $promise = $this($nextRequest, $options);
+
+ // Add headers to be able to track history of redirects.
+ if (!empty($options['allow_redirects']['track_redirects'])) {
+ return $this->withTracking(
+ $promise,
+ (string) $nextRequest->getUri(),
+ $response->getStatusCode()
+ );
+ }
+
+ return $promise;
+ }
+
+ private function withTracking(PromiseInterface $promise, $uri, $statusCode)
+ {
+ return $promise->then(
+ function (ResponseInterface $response) use ($uri, $statusCode) {
+ // Note that we are pushing to the front of the list as this
+ // would be an earlier response than what is currently present
+ // in the history header.
+ $historyHeader = $response->getHeader(self::HISTORY_HEADER);
+ $statusHeader = $response->getHeader(self::STATUS_HISTORY_HEADER);
+ array_unshift($historyHeader, $uri);
+ array_unshift($statusHeader, $statusCode);
+ return $response->withHeader(self::HISTORY_HEADER, $historyHeader)
+ ->withHeader(self::STATUS_HISTORY_HEADER, $statusHeader);
+ }
+ );
+ }
+
+ private function guardMax(RequestInterface $request, array &$options)
+ {
+ $current = isset($options['__redirect_count'])
+ ? $options['__redirect_count']
+ : 0;
+ $options['__redirect_count'] = $current + 1;
+ $max = $options['allow_redirects']['max'];
+
+ if ($options['__redirect_count'] > $max) {
+ throw new TooManyRedirectsException(
+ "Will not follow more than {$max} redirects",
+ $request
+ );
+ }
+ }
+
+ /**
+ * @param RequestInterface $request
+ * @param array $options
+ * @param ResponseInterface $response
+ *
+ * @return RequestInterface
+ */
+ public function modifyRequest(
+ RequestInterface $request,
+ array $options,
+ ResponseInterface $response
+ ) {
+ // Request modifications to apply.
+ $modify = [];
+ $protocols = $options['allow_redirects']['protocols'];
+
+ // Use a GET request if this is an entity enclosing request and we are
+ // not forcing RFC compliance, but rather emulating what all browsers
+ // would do.
+ $statusCode = $response->getStatusCode();
+ if ($statusCode == 303 ||
+ ($statusCode <= 302 && $request->getBody() && !$options['allow_redirects']['strict'])
+ ) {
+ $modify['method'] = 'GET';
+ $modify['body'] = '';
+ }
+
+ $modify['uri'] = $this->redirectUri($request, $response, $protocols);
+ Psr7\rewind_body($request);
+
+ // Add the Referer header if it is told to do so and only
+ // add the header if we are not redirecting from https to http.
+ if ($options['allow_redirects']['referer']
+ && $modify['uri']->getScheme() === $request->getUri()->getScheme()
+ ) {
+ $uri = $request->getUri()->withUserInfo('', '');
+ $modify['set_headers']['Referer'] = (string) $uri;
+ } else {
+ $modify['remove_headers'][] = 'Referer';
+ }
+
+ // Remove Authorization header if host is different.
+ if ($request->getUri()->getHost() !== $modify['uri']->getHost()) {
+ $modify['remove_headers'][] = 'Authorization';
+ }
+
+ return Psr7\modify_request($request, $modify);
+ }
+
+ /**
+ * Set the appropriate URL on the request based on the location header
+ *
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
+ * @param array $protocols
+ *
+ * @return UriInterface
+ */
+ private function redirectUri(
+ RequestInterface $request,
+ ResponseInterface $response,
+ array $protocols
+ ) {
+ $location = Psr7\UriResolver::resolve(
+ $request->getUri(),
+ new Psr7\Uri($response->getHeaderLine('Location'))
+ );
+
+ // Ensure that the redirect URI is allowed based on the protocols.
+ if (!in_array($location->getScheme(), $protocols)) {
+ throw new BadResponseException(
+ sprintf(
+ 'Redirect URI, %s, does not use one of the allowed redirect protocols: %s',
+ $location,
+ implode(', ', $protocols)
+ ),
+ $request,
+ $response
+ );
+ }
+
+ return $location;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/RequestOptions.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/RequestOptions.php
new file mode 100644
index 00000000..c6aacfb1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/RequestOptions.php
@@ -0,0 +1,255 @@
+<?php
+namespace GuzzleHttp;
+
+/**
+ * This class contains a list of built-in Guzzle request options.
+ *
+ * More documentation for each option can be found at http://guzzlephp.org/.
+ *
+ * @link http://docs.guzzlephp.org/en/v6/request-options.html
+ */
+final class RequestOptions
+{
+ /**
+ * allow_redirects: (bool|array) Controls redirect behavior. Pass false
+ * to disable redirects, pass true to enable redirects, pass an
+ * associative to provide custom redirect settings. Defaults to "false".
+ * This option only works if your handler has the RedirectMiddleware. When
+ * passing an associative array, you can provide the following key value
+ * pairs:
+ *
+ * - max: (int, default=5) maximum number of allowed redirects.
+ * - strict: (bool, default=false) Set to true to use strict redirects
+ * meaning redirect POST requests with POST requests vs. doing what most
+ * browsers do which is redirect POST requests with GET requests
+ * - referer: (bool, default=true) Set to false to disable the Referer
+ * header.
+ * - protocols: (array, default=['http', 'https']) Allowed redirect
+ * protocols.
+ * - on_redirect: (callable) PHP callable that is invoked when a redirect
+ * is encountered. The callable is invoked with the request, the redirect
+ * response that was received, and the effective URI. Any return value
+ * from the on_redirect function is ignored.
+ */
+ const ALLOW_REDIRECTS = 'allow_redirects';
+
+ /**
+ * auth: (array) Pass an array of HTTP authentication parameters to use
+ * with the request. The array must contain the username in index [0],
+ * the password in index [1], and you can optionally provide a built-in
+ * authentication type in index [2]. Pass null to disable authentication
+ * for a request.
+ */
+ const AUTH = 'auth';
+
+ /**
+ * body: (resource|string|null|int|float|StreamInterface|callable|\Iterator)
+ * Body to send in the request.
+ */
+ const BODY = 'body';
+
+ /**
+ * cert: (string|array) Set to a string to specify the path to a file
+ * containing a PEM formatted SSL client side certificate. If a password
+ * is required, then set cert to an array containing the path to the PEM
+ * file in the first array element followed by the certificate password
+ * in the second array element.
+ */
+ const CERT = 'cert';
+
+ /**
+ * cookies: (bool|GuzzleHttp\Cookie\CookieJarInterface, default=false)
+ * Specifies whether or not cookies are used in a request or what cookie
+ * jar to use or what cookies to send. This option only works if your
+ * handler has the `cookie` middleware. Valid values are `false` and
+ * an instance of {@see GuzzleHttp\Cookie\CookieJarInterface}.
+ */
+ const COOKIES = 'cookies';
+
+ /**
+ * connect_timeout: (float, default=0) Float describing the number of
+ * seconds to wait while trying to connect to a server. Use 0 to wait
+ * indefinitely (the default behavior).
+ */
+ const CONNECT_TIMEOUT = 'connect_timeout';
+
+ /**
+ * debug: (bool|resource) Set to true or set to a PHP stream returned by
+ * fopen() enable debug output with the HTTP handler used to send a
+ * request.
+ */
+ const DEBUG = 'debug';
+
+ /**
+ * decode_content: (bool, default=true) Specify whether or not
+ * Content-Encoding responses (gzip, deflate, etc.) are automatically
+ * decoded.
+ */
+ const DECODE_CONTENT = 'decode_content';
+
+ /**
+ * delay: (int) The amount of time to delay before sending in milliseconds.
+ */
+ const DELAY = 'delay';
+
+ /**
+ * expect: (bool|integer) Controls the behavior of the
+ * "Expect: 100-Continue" header.
+ *
+ * Set to `true` to enable the "Expect: 100-Continue" header for all
+ * requests that sends a body. Set to `false` to disable the
+ * "Expect: 100-Continue" header for all requests. Set to a number so that
+ * the size of the payload must be greater than the number in order to send
+ * the Expect header. Setting to a number will send the Expect header for
+ * all requests in which the size of the payload cannot be determined or
+ * where the body is not rewindable.
+ *
+ * By default, Guzzle will add the "Expect: 100-Continue" header when the
+ * size of the body of a request is greater than 1 MB and a request is
+ * using HTTP/1.1.
+ */
+ const EXPECT = 'expect';
+
+ /**
+ * form_params: (array) Associative array of form field names to values
+ * where each value is a string or array of strings. Sets the Content-Type
+ * header to application/x-www-form-urlencoded when no Content-Type header
+ * is already present.
+ */
+ const FORM_PARAMS = 'form_params';
+
+ /**
+ * headers: (array) Associative array of HTTP headers. Each value MUST be
+ * a string or array of strings.
+ */
+ const HEADERS = 'headers';
+
+ /**
+ * http_errors: (bool, default=true) Set to false to disable exceptions
+ * when a non- successful HTTP response is received. By default,
+ * exceptions will be thrown for 4xx and 5xx responses. This option only
+ * works if your handler has the `httpErrors` middleware.
+ */
+ const HTTP_ERRORS = 'http_errors';
+
+ /**
+ * json: (mixed) Adds JSON data to a request. The provided value is JSON
+ * encoded and a Content-Type header of application/json will be added to
+ * the request if no Content-Type header is already present.
+ */
+ const JSON = 'json';
+
+ /**
+ * multipart: (array) Array of associative arrays, each containing a
+ * required "name" key mapping to the form field, name, a required
+ * "contents" key mapping to a StreamInterface|resource|string, an
+ * optional "headers" associative array of custom headers, and an
+ * optional "filename" key mapping to a string to send as the filename in
+ * the part. If no "filename" key is present, then no "filename" attribute
+ * will be added to the part.
+ */
+ const MULTIPART = 'multipart';
+
+ /**
+ * on_headers: (callable) A callable that is invoked when the HTTP headers
+ * of the response have been received but the body has not yet begun to
+ * download.
+ */
+ const ON_HEADERS = 'on_headers';
+
+ /**
+ * on_stats: (callable) allows you to get access to transfer statistics of
+ * a request and access the lower level transfer details of the handler
+ * associated with your client. ``on_stats`` is a callable that is invoked
+ * when a handler has finished sending a request. The callback is invoked
+ * with transfer statistics about the request, the response received, or
+ * the error encountered. Included in the data is the total amount of time
+ * taken to send the request.
+ */
+ const ON_STATS = 'on_stats';
+
+ /**
+ * progress: (callable) Defines a function to invoke when transfer
+ * progress is made. The function accepts the following positional
+ * arguments: the total number of bytes expected to be downloaded, the
+ * number of bytes downloaded so far, the number of bytes expected to be
+ * uploaded, the number of bytes uploaded so far.
+ */
+ const PROGRESS = 'progress';
+
+ /**
+ * proxy: (string|array) Pass a string to specify an HTTP proxy, or an
+ * array to specify different proxies for different protocols (where the
+ * key is the protocol and the value is a proxy string).
+ */
+ const PROXY = 'proxy';
+
+ /**
+ * query: (array|string) Associative array of query string values to add
+ * to the request. This option uses PHP's http_build_query() to create
+ * the string representation. Pass a string value if you need more
+ * control than what this method provides
+ */
+ const QUERY = 'query';
+
+ /**
+ * sink: (resource|string|StreamInterface) Where the data of the
+ * response is written to. Defaults to a PHP temp stream. Providing a
+ * string will write data to a file by the given name.
+ */
+ const SINK = 'sink';
+
+ /**
+ * synchronous: (bool) Set to true to inform HTTP handlers that you intend
+ * on waiting on the response. This can be useful for optimizations. Note
+ * that a promise is still returned if you are using one of the async
+ * client methods.
+ */
+ const SYNCHRONOUS = 'synchronous';
+
+ /**
+ * ssl_key: (array|string) Specify the path to a file containing a private
+ * SSL key in PEM format. If a password is required, then set to an array
+ * containing the path to the SSL key in the first array element followed
+ * by the password required for the certificate in the second element.
+ */
+ const SSL_KEY = 'ssl_key';
+
+ /**
+ * stream: Set to true to attempt to stream a response rather than
+ * download it all up-front.
+ */
+ const STREAM = 'stream';
+
+ /**
+ * verify: (bool|string, default=true) Describes the SSL certificate
+ * verification behavior of a request. Set to true to enable SSL
+ * certificate verification using the system CA bundle when available
+ * (the default). Set to false to disable certificate verification (this
+ * is insecure!). Set to a string to provide the path to a CA bundle on
+ * disk to enable verification using a custom certificate.
+ */
+ const VERIFY = 'verify';
+
+ /**
+ * timeout: (float, default=0) Float describing the timeout of the
+ * request in seconds. Use 0 to wait indefinitely (the default behavior).
+ */
+ const TIMEOUT = 'timeout';
+
+ /**
+ * read_timeout: (float, default=default_socket_timeout ini setting) Float describing
+ * the body read timeout, for stream requests.
+ */
+ const READ_TIMEOUT = 'read_timeout';
+
+ /**
+ * version: (float) Specifies the HTTP protocol version to attempt to use.
+ */
+ const VERSION = 'version';
+
+ /**
+ * force_ip_resolve: (bool) Force client to use only ipv4 or ipv6 protocol
+ */
+ const FORCE_IP_RESOLVE = 'force_ip_resolve';
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/RetryMiddleware.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/RetryMiddleware.php
new file mode 100644
index 00000000..f27090fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/RetryMiddleware.php
@@ -0,0 +1,112 @@
+<?php
+namespace GuzzleHttp;
+
+use GuzzleHttp\Promise\PromiseInterface;
+use GuzzleHttp\Promise\RejectedPromise;
+use GuzzleHttp\Psr7;
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+
+/**
+ * Middleware that retries requests based on the boolean result of
+ * invoking the provided "decider" function.
+ */
+class RetryMiddleware
+{
+ /** @var callable */
+ private $nextHandler;
+
+ /** @var callable */
+ private $decider;
+
+ /**
+ * @param callable $decider Function that accepts the number of retries,
+ * a request, [response], and [exception] and
+ * returns true if the request is to be
+ * retried.
+ * @param callable $nextHandler Next handler to invoke.
+ * @param callable $delay Function that accepts the number of retries
+ * and [response] and returns the number of
+ * milliseconds to delay.
+ */
+ public function __construct(
+ callable $decider,
+ callable $nextHandler,
+ callable $delay = null
+ ) {
+ $this->decider = $decider;
+ $this->nextHandler = $nextHandler;
+ $this->delay = $delay ?: __CLASS__ . '::exponentialDelay';
+ }
+
+ /**
+ * Default exponential backoff delay function.
+ *
+ * @param $retries
+ *
+ * @return int
+ */
+ public static function exponentialDelay($retries)
+ {
+ return (int) pow(2, $retries - 1);
+ }
+
+ /**
+ * @param RequestInterface $request
+ * @param array $options
+ *
+ * @return PromiseInterface
+ */
+ public function __invoke(RequestInterface $request, array $options)
+ {
+ if (!isset($options['retries'])) {
+ $options['retries'] = 0;
+ }
+
+ $fn = $this->nextHandler;
+ return $fn($request, $options)
+ ->then(
+ $this->onFulfilled($request, $options),
+ $this->onRejected($request, $options)
+ );
+ }
+
+ private function onFulfilled(RequestInterface $req, array $options)
+ {
+ return function ($value) use ($req, $options) {
+ if (!call_user_func(
+ $this->decider,
+ $options['retries'],
+ $req,
+ $value,
+ null
+ )) {
+ return $value;
+ }
+ return $this->doRetry($req, $options, $value);
+ };
+ }
+
+ private function onRejected(RequestInterface $req, array $options)
+ {
+ return function ($reason) use ($req, $options) {
+ if (!call_user_func(
+ $this->decider,
+ $options['retries'],
+ $req,
+ null,
+ $reason
+ )) {
+ return \GuzzleHttp\Promise\rejection_for($reason);
+ }
+ return $this->doRetry($req, $options);
+ };
+ }
+
+ private function doRetry(RequestInterface $request, array $options, ResponseInterface $response = null)
+ {
+ $options['delay'] = call_user_func($this->delay, ++$options['retries'], $response);
+
+ return $this($request, $options);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/TransferStats.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/TransferStats.php
new file mode 100644
index 00000000..15f717e1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/TransferStats.php
@@ -0,0 +1,126 @@
+<?php
+namespace GuzzleHttp;
+
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+use Psr\Http\Message\UriInterface;
+
+/**
+ * Represents data at the point after it was transferred either successfully
+ * or after a network error.
+ */
+final class TransferStats
+{
+ private $request;
+ private $response;
+ private $transferTime;
+ private $handlerStats;
+ private $handlerErrorData;
+
+ /**
+ * @param RequestInterface $request Request that was sent.
+ * @param ResponseInterface $response Response received (if any)
+ * @param null $transferTime Total handler transfer time.
+ * @param mixed $handlerErrorData Handler error data.
+ * @param array $handlerStats Handler specific stats.
+ */
+ public function __construct(
+ RequestInterface $request,
+ ResponseInterface $response = null,
+ $transferTime = null,
+ $handlerErrorData = null,
+ $handlerStats = []
+ ) {
+ $this->request = $request;
+ $this->response = $response;
+ $this->transferTime = $transferTime;
+ $this->handlerErrorData = $handlerErrorData;
+ $this->handlerStats = $handlerStats;
+ }
+
+ /**
+ * @return RequestInterface
+ */
+ public function getRequest()
+ {
+ return $this->request;
+ }
+
+ /**
+ * Returns the response that was received (if any).
+ *
+ * @return ResponseInterface|null
+ */
+ public function getResponse()
+ {
+ return $this->response;
+ }
+
+ /**
+ * Returns true if a response was received.
+ *
+ * @return bool
+ */
+ public function hasResponse()
+ {
+ return $this->response !== null;
+ }
+
+ /**
+ * Gets handler specific error data.
+ *
+ * This might be an exception, a integer representing an error code, or
+ * anything else. Relying on this value assumes that you know what handler
+ * you are using.
+ *
+ * @return mixed
+ */
+ public function getHandlerErrorData()
+ {
+ return $this->handlerErrorData;
+ }
+
+ /**
+ * Get the effective URI the request was sent to.
+ *
+ * @return UriInterface
+ */
+ public function getEffectiveUri()
+ {
+ return $this->request->getUri();
+ }
+
+ /**
+ * Get the estimated time the request was being transferred by the handler.
+ *
+ * @return float Time in seconds.
+ */
+ public function getTransferTime()
+ {
+ return $this->transferTime;
+ }
+
+ /**
+ * Gets an array of all of the handler specific transfer data.
+ *
+ * @return array
+ */
+ public function getHandlerStats()
+ {
+ return $this->handlerStats;
+ }
+
+ /**
+ * Get a specific handler statistic from the handler by name.
+ *
+ * @param string $stat Handler specific transfer stat to retrieve.
+ *
+ * @return mixed|null
+ */
+ public function getHandlerStat($stat)
+ {
+ return isset($this->handlerStats[$stat])
+ ? $this->handlerStats[$stat]
+ : null;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/UriTemplate.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/UriTemplate.php
new file mode 100644
index 00000000..0b1623ec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/UriTemplate.php
@@ -0,0 +1,241 @@
+<?php
+namespace GuzzleHttp;
+
+/**
+ * Expands URI templates. Userland implementation of PECL uri_template.
+ *
+ * @link http://tools.ietf.org/html/rfc6570
+ */
+class UriTemplate
+{
+ /** @var string URI template */
+ private $template;
+
+ /** @var array Variables to use in the template expansion */
+ private $variables;
+
+ /** @var array Hash for quick operator lookups */
+ private static $operatorHash = [
+ '' => ['prefix' => '', 'joiner' => ',', 'query' => false],
+ '+' => ['prefix' => '', 'joiner' => ',', 'query' => false],
+ '#' => ['prefix' => '#', 'joiner' => ',', 'query' => false],
+ '.' => ['prefix' => '.', 'joiner' => '.', 'query' => false],
+ '/' => ['prefix' => '/', 'joiner' => '/', 'query' => false],
+ ';' => ['prefix' => ';', 'joiner' => ';', 'query' => true],
+ '?' => ['prefix' => '?', 'joiner' => '&', 'query' => true],
+ '&' => ['prefix' => '&', 'joiner' => '&', 'query' => true]
+ ];
+
+ /** @var array Delimiters */
+ private static $delims = [':', '/', '?', '#', '[', ']', '@', '!', '$',
+ '&', '\'', '(', ')', '*', '+', ',', ';', '='];
+
+ /** @var array Percent encoded delimiters */
+ private static $delimsPct = ['%3A', '%2F', '%3F', '%23', '%5B', '%5D',
+ '%40', '%21', '%24', '%26', '%27', '%28', '%29', '%2A', '%2B', '%2C',
+ '%3B', '%3D'];
+
+ public function expand($template, array $variables)
+ {
+ if (false === strpos($template, '{')) {
+ return $template;
+ }
+
+ $this->template = $template;
+ $this->variables = $variables;
+
+ return preg_replace_callback(
+ '/\{([^\}]+)\}/',
+ [$this, 'expandMatch'],
+ $this->template
+ );
+ }
+
+ /**
+ * Parse an expression into parts
+ *
+ * @param string $expression Expression to parse
+ *
+ * @return array Returns an associative array of parts
+ */
+ private function parseExpression($expression)
+ {
+ $result = [];
+
+ if (isset(self::$operatorHash[$expression[0]])) {
+ $result['operator'] = $expression[0];
+ $expression = substr($expression, 1);
+ } else {
+ $result['operator'] = '';
+ }
+
+ foreach (explode(',', $expression) as $value) {
+ $value = trim($value);
+ $varspec = [];
+ if ($colonPos = strpos($value, ':')) {
+ $varspec['value'] = substr($value, 0, $colonPos);
+ $varspec['modifier'] = ':';
+ $varspec['position'] = (int) substr($value, $colonPos + 1);
+ } elseif (substr($value, -1) === '*') {
+ $varspec['modifier'] = '*';
+ $varspec['value'] = substr($value, 0, -1);
+ } else {
+ $varspec['value'] = (string) $value;
+ $varspec['modifier'] = '';
+ }
+ $result['values'][] = $varspec;
+ }
+
+ return $result;
+ }
+
+ /**
+ * Process an expansion
+ *
+ * @param array $matches Matches met in the preg_replace_callback
+ *
+ * @return string Returns the replacement string
+ */
+ private function expandMatch(array $matches)
+ {
+ static $rfc1738to3986 = ['+' => '%20', '%7e' => '~'];
+
+ $replacements = [];
+ $parsed = self::parseExpression($matches[1]);
+ $prefix = self::$operatorHash[$parsed['operator']]['prefix'];
+ $joiner = self::$operatorHash[$parsed['operator']]['joiner'];
+ $useQuery = self::$operatorHash[$parsed['operator']]['query'];
+
+ foreach ($parsed['values'] as $value) {
+
+ if (!isset($this->variables[$value['value']])) {
+ continue;
+ }
+
+ $variable = $this->variables[$value['value']];
+ $actuallyUseQuery = $useQuery;
+ $expanded = '';
+
+ if (is_array($variable)) {
+
+ $isAssoc = $this->isAssoc($variable);
+ $kvp = [];
+ foreach ($variable as $key => $var) {
+
+ if ($isAssoc) {
+ $key = rawurlencode($key);
+ $isNestedArray = is_array($var);
+ } else {
+ $isNestedArray = false;
+ }
+
+ if (!$isNestedArray) {
+ $var = rawurlencode($var);
+ if ($parsed['operator'] === '+' ||
+ $parsed['operator'] === '#'
+ ) {
+ $var = $this->decodeReserved($var);
+ }
+ }
+
+ if ($value['modifier'] === '*') {
+ if ($isAssoc) {
+ if ($isNestedArray) {
+ // Nested arrays must allow for deeply nested
+ // structures.
+ $var = strtr(
+ http_build_query([$key => $var]),
+ $rfc1738to3986
+ );
+ } else {
+ $var = $key . '=' . $var;
+ }
+ } elseif ($key > 0 && $actuallyUseQuery) {
+ $var = $value['value'] . '=' . $var;
+ }
+ }
+
+ $kvp[$key] = $var;
+ }
+
+ if (empty($variable)) {
+ $actuallyUseQuery = false;
+ } elseif ($value['modifier'] === '*') {
+ $expanded = implode($joiner, $kvp);
+ if ($isAssoc) {
+ // Don't prepend the value name when using the explode
+ // modifier with an associative array.
+ $actuallyUseQuery = false;
+ }
+ } else {
+ if ($isAssoc) {
+ // When an associative array is encountered and the
+ // explode modifier is not set, then the result must be
+ // a comma separated list of keys followed by their
+ // respective values.
+ foreach ($kvp as $k => &$v) {
+ $v = $k . ',' . $v;
+ }
+ }
+ $expanded = implode(',', $kvp);
+ }
+
+ } else {
+ if ($value['modifier'] === ':') {
+ $variable = substr($variable, 0, $value['position']);
+ }
+ $expanded = rawurlencode($variable);
+ if ($parsed['operator'] === '+' || $parsed['operator'] === '#') {
+ $expanded = $this->decodeReserved($expanded);
+ }
+ }
+
+ if ($actuallyUseQuery) {
+ if (!$expanded && $joiner !== '&') {
+ $expanded = $value['value'];
+ } else {
+ $expanded = $value['value'] . '=' . $expanded;
+ }
+ }
+
+ $replacements[] = $expanded;
+ }
+
+ $ret = implode($joiner, $replacements);
+ if ($ret && $prefix) {
+ return $prefix . $ret;
+ }
+
+ return $ret;
+ }
+
+ /**
+ * Determines if an array is associative.
+ *
+ * This makes the assumption that input arrays are sequences or hashes.
+ * This assumption is a tradeoff for accuracy in favor of speed, but it
+ * should work in almost every case where input is supplied for a URI
+ * template.
+ *
+ * @param array $array Array to check
+ *
+ * @return bool
+ */
+ private function isAssoc(array $array)
+ {
+ return $array && array_keys($array)[0] !== 0;
+ }
+
+ /**
+ * Removes percent encoding on reserved characters (used with + and #
+ * modifiers).
+ *
+ * @param string $string String to fix
+ *
+ * @return string
+ */
+ private function decodeReserved($string)
+ {
+ return str_replace(self::$delimsPct, self::$delims, $string);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/functions.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/functions.php
new file mode 100644
index 00000000..59e212ed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/functions.php
@@ -0,0 +1,331 @@
+<?php
+namespace GuzzleHttp;
+
+use GuzzleHttp\Handler\CurlHandler;
+use GuzzleHttp\Handler\CurlMultiHandler;
+use GuzzleHttp\Handler\Proxy;
+use GuzzleHttp\Handler\StreamHandler;
+
+/**
+ * Expands a URI template
+ *
+ * @param string $template URI template
+ * @param array $variables Template variables
+ *
+ * @return string
+ */
+function uri_template($template, array $variables)
+{
+ if (extension_loaded('uri_template')) {
+ // @codeCoverageIgnoreStart
+ return \uri_template($template, $variables);
+ // @codeCoverageIgnoreEnd
+ }
+
+ static $uriTemplate;
+ if (!$uriTemplate) {
+ $uriTemplate = new UriTemplate();
+ }
+
+ return $uriTemplate->expand($template, $variables);
+}
+
+/**
+ * Debug function used to describe the provided value type and class.
+ *
+ * @param mixed $input
+ *
+ * @return string Returns a string containing the type of the variable and
+ * if a class is provided, the class name.
+ */
+function describe_type($input)
+{
+ switch (gettype($input)) {
+ case 'object':
+ return 'object(' . get_class($input) . ')';
+ case 'array':
+ return 'array(' . count($input) . ')';
+ default:
+ ob_start();
+ var_dump($input);
+ // normalize float vs double
+ return str_replace('double(', 'float(', rtrim(ob_get_clean()));
+ }
+}
+
+/**
+ * Parses an array of header lines into an associative array of headers.
+ *
+ * @param array $lines Header lines array of strings in the following
+ * format: "Name: Value"
+ * @return array
+ */
+function headers_from_lines($lines)
+{
+ $headers = [];
+
+ foreach ($lines as $line) {
+ $parts = explode(':', $line, 2);
+ $headers[trim($parts[0])][] = isset($parts[1])
+ ? trim($parts[1])
+ : null;
+ }
+
+ return $headers;
+}
+
+/**
+ * Returns a debug stream based on the provided variable.
+ *
+ * @param mixed $value Optional value
+ *
+ * @return resource
+ */
+function debug_resource($value = null)
+{
+ if (is_resource($value)) {
+ return $value;
+ } elseif (defined('STDOUT')) {
+ return STDOUT;
+ }
+
+ return fopen('php://output', 'w');
+}
+
+/**
+ * Chooses and creates a default handler to use based on the environment.
+ *
+ * The returned handler is not wrapped by any default middlewares.
+ *
+ * @throws \RuntimeException if no viable Handler is available.
+ * @return callable Returns the best handler for the given system.
+ */
+function choose_handler()
+{
+ $handler = null;
+ if (function_exists('curl_multi_exec') && function_exists('curl_exec')) {
+ $handler = Proxy::wrapSync(new CurlMultiHandler(), new CurlHandler());
+ } elseif (function_exists('curl_exec')) {
+ $handler = new CurlHandler();
+ } elseif (function_exists('curl_multi_exec')) {
+ $handler = new CurlMultiHandler();
+ }
+
+ if (ini_get('allow_url_fopen')) {
+ $handler = $handler
+ ? Proxy::wrapStreaming($handler, new StreamHandler())
+ : new StreamHandler();
+ } elseif (!$handler) {
+ throw new \RuntimeException('GuzzleHttp requires cURL, the '
+ . 'allow_url_fopen ini setting, or a custom HTTP handler.');
+ }
+
+ return $handler;
+}
+
+/**
+ * Get the default User-Agent string to use with Guzzle
+ *
+ * @return string
+ */
+function default_user_agent()
+{
+ static $defaultAgent = '';
+
+ if (!$defaultAgent) {
+ $defaultAgent = 'GuzzleHttp/' . Client::VERSION;
+ if (extension_loaded('curl') && function_exists('curl_version')) {
+ $defaultAgent .= ' curl/' . \curl_version()['version'];
+ }
+ $defaultAgent .= ' PHP/' . PHP_VERSION;
+ }
+
+ return $defaultAgent;
+}
+
+/**
+ * Returns the default cacert bundle for the current system.
+ *
+ * First, the openssl.cafile and curl.cainfo php.ini settings are checked.
+ * If those settings are not configured, then the common locations for
+ * bundles found on Red Hat, CentOS, Fedora, Ubuntu, Debian, FreeBSD, OS X
+ * and Windows are checked. If any of these file locations are found on
+ * disk, they will be utilized.
+ *
+ * Note: the result of this function is cached for subsequent calls.
+ *
+ * @return string
+ * @throws \RuntimeException if no bundle can be found.
+ */
+function default_ca_bundle()
+{
+ static $cached = null;
+ static $cafiles = [
+ // Red Hat, CentOS, Fedora (provided by the ca-certificates package)
+ '/etc/pki/tls/certs/ca-bundle.crt',
+ // Ubuntu, Debian (provided by the ca-certificates package)
+ '/etc/ssl/certs/ca-certificates.crt',
+ // FreeBSD (provided by the ca_root_nss package)
+ '/usr/local/share/certs/ca-root-nss.crt',
+ // SLES 12 (provided by the ca-certificates package)
+ '/var/lib/ca-certificates/ca-bundle.pem',
+ // OS X provided by homebrew (using the default path)
+ '/usr/local/etc/openssl/cert.pem',
+ // Google app engine
+ '/etc/ca-certificates.crt',
+ // Windows?
+ 'C:\\windows\\system32\\curl-ca-bundle.crt',
+ 'C:\\windows\\curl-ca-bundle.crt',
+ ];
+
+ if ($cached) {
+ return $cached;
+ }
+
+ if ($ca = ini_get('openssl.cafile')) {
+ return $cached = $ca;
+ }
+
+ if ($ca = ini_get('curl.cainfo')) {
+ return $cached = $ca;
+ }
+
+ foreach ($cafiles as $filename) {
+ if (file_exists($filename)) {
+ return $cached = $filename;
+ }
+ }
+
+ throw new \RuntimeException(<<< EOT
+No system CA bundle could be found in any of the the common system locations.
+PHP versions earlier than 5.6 are not properly configured to use the system's
+CA bundle by default. In order to verify peer certificates, you will need to
+supply the path on disk to a certificate bundle to the 'verify' request
+option: http://docs.guzzlephp.org/en/latest/clients.html#verify. If you do not
+need a specific certificate bundle, then Mozilla provides a commonly used CA
+bundle which can be downloaded here (provided by the maintainer of cURL):
+https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt. Once
+you have a CA bundle available on disk, you can set the 'openssl.cafile' PHP
+ini setting to point to the path to the file, allowing you to omit the 'verify'
+request option. See http://curl.haxx.se/docs/sslcerts.html for more
+information.
+EOT
+ );
+}
+
+/**
+ * Creates an associative array of lowercase header names to the actual
+ * header casing.
+ *
+ * @param array $headers
+ *
+ * @return array
+ */
+function normalize_header_keys(array $headers)
+{
+ $result = [];
+ foreach (array_keys($headers) as $key) {
+ $result[strtolower($key)] = $key;
+ }
+
+ return $result;
+}
+
+/**
+ * Returns true if the provided host matches any of the no proxy areas.
+ *
+ * This method will strip a port from the host if it is present. Each pattern
+ * can be matched with an exact match (e.g., "foo.com" == "foo.com") or a
+ * partial match: (e.g., "foo.com" == "baz.foo.com" and ".foo.com" ==
+ * "baz.foo.com", but ".foo.com" != "foo.com").
+ *
+ * Areas are matched in the following cases:
+ * 1. "*" (without quotes) always matches any hosts.
+ * 2. An exact match.
+ * 3. The area starts with "." and the area is the last part of the host. e.g.
+ * '.mit.edu' will match any host that ends with '.mit.edu'.
+ *
+ * @param string $host Host to check against the patterns.
+ * @param array $noProxyArray An array of host patterns.
+ *
+ * @return bool
+ */
+function is_host_in_noproxy($host, array $noProxyArray)
+{
+ if (strlen($host) === 0) {
+ throw new \InvalidArgumentException('Empty host provided');
+ }
+
+ // Strip port if present.
+ if (strpos($host, ':')) {
+ $host = explode($host, ':', 2)[0];
+ }
+
+ foreach ($noProxyArray as $area) {
+ // Always match on wildcards.
+ if ($area === '*') {
+ return true;
+ } elseif (empty($area)) {
+ // Don't match on empty values.
+ continue;
+ } elseif ($area === $host) {
+ // Exact matches.
+ return true;
+ } else {
+ // Special match if the area when prefixed with ".". Remove any
+ // existing leading "." and add a new leading ".".
+ $area = '.' . ltrim($area, '.');
+ if (substr($host, -(strlen($area))) === $area) {
+ return true;
+ }
+ }
+ }
+
+ return false;
+}
+
+/**
+ * Wrapper for json_decode that throws when an error occurs.
+ *
+ * @param string $json JSON data to parse
+ * @param bool $assoc When true, returned objects will be converted
+ * into associative arrays.
+ * @param int $depth User specified recursion depth.
+ * @param int $options Bitmask of JSON decode options.
+ *
+ * @return mixed
+ * @throws \InvalidArgumentException if the JSON cannot be decoded.
+ * @link http://www.php.net/manual/en/function.json-decode.php
+ */
+function json_decode($json, $assoc = false, $depth = 512, $options = 0)
+{
+ $data = \json_decode($json, $assoc, $depth, $options);
+ if (JSON_ERROR_NONE !== json_last_error()) {
+ throw new \InvalidArgumentException(
+ 'json_decode error: ' . json_last_error_msg());
+ }
+
+ return $data;
+}
+
+/**
+ * Wrapper for JSON encoding that throws when an error occurs.
+ *
+ * @param mixed $value The value being encoded
+ * @param int $options JSON encode option bitmask
+ * @param int $depth Set the maximum depth. Must be greater than zero.
+ *
+ * @return string
+ * @throws \InvalidArgumentException if the JSON cannot be encoded.
+ * @link http://www.php.net/manual/en/function.json-encode.php
+ */
+function json_encode($value, $options = 0, $depth = 512)
+{
+ $json = \json_encode($value, $options, $depth);
+ if (JSON_ERROR_NONE !== json_last_error()) {
+ throw new \InvalidArgumentException(
+ 'json_encode error: ' . json_last_error_msg());
+ }
+
+ return $json;
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/functions_include.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/functions_include.php
new file mode 100644
index 00000000..a93393ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/guzzle/src/functions_include.php
@@ -0,0 +1,6 @@
+<?php
+
+// Don't redefine the functions if included multiple times.
+if (!function_exists('GuzzleHttp\uri_template')) {
+ require __DIR__ . '/functions.php';
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/CHANGELOG.md b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/CHANGELOG.md
new file mode 100644
index 00000000..551929f6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/CHANGELOG.md
@@ -0,0 +1,65 @@
+# CHANGELOG
+
+
+## 1.3.1 - 2016-12-20
+
+### Fixed
+
+- `wait()` foreign promise compatibility
+
+
+## 1.3.0 - 2016-11-18
+
+### Added
+
+- Adds support for custom task queues.
+
+### Fixed
+
+- Fixed coroutine promise memory leak.
+
+
+## 1.2.0 - 2016-05-18
+
+### Changed
+
+- Update to now catch `\Throwable` on PHP 7+
+
+
+## 1.1.0 - 2016-03-07
+
+### Changed
+
+- Update EachPromise to prevent recurring on a iterator when advancing, as this
+ could trigger fatal generator errors.
+- Update Promise to allow recursive waiting without unwrapping exceptions.
+
+
+## 1.0.3 - 2015-10-15
+
+### Changed
+
+- Update EachPromise to immediately resolve when the underlying promise iterator
+ is empty. Previously, such a promise would throw an exception when its `wait`
+ function was called.
+
+
+## 1.0.2 - 2015-05-15
+
+### Changed
+
+- Conditionally require functions.php.
+
+
+## 1.0.1 - 2015-06-24
+
+### Changed
+
+- Updating EachPromise to call next on the underlying promise iterator as late
+ as possible to ensure that generators that generate new requests based on
+ callbacks are not iterated until after callbacks are invoked.
+
+
+## 1.0.0 - 2015-05-12
+
+- Initial release
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/LICENSE b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/LICENSE
new file mode 100644
index 00000000..67f91a14
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2015-2016 Michael Dowling, https://github.com/mtdowling <mtdowling@gmail.com>
+
+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/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/Makefile b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/Makefile
new file mode 100644
index 00000000..8d5b3ef9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/Makefile
@@ -0,0 +1,13 @@
+all: clean test
+
+test:
+ vendor/bin/phpunit
+
+coverage:
+ vendor/bin/phpunit --coverage-html=artifacts/coverage
+
+view-coverage:
+ open artifacts/coverage/index.html
+
+clean:
+ rm -rf artifacts/*
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/README.md b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/README.md
new file mode 100644
index 00000000..7b607e28
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/README.md
@@ -0,0 +1,504 @@
+# Guzzle Promises
+
+[Promises/A+](https://promisesaplus.com/) implementation that handles promise
+chaining and resolution iteratively, allowing for "infinite" promise chaining
+while keeping the stack size constant. Read [this blog post](https://blog.domenic.me/youre-missing-the-point-of-promises/)
+for a general introduction to promises.
+
+- [Features](#features)
+- [Quick start](#quick-start)
+- [Synchronous wait](#synchronous-wait)
+- [Cancellation](#cancellation)
+- [API](#api)
+ - [Promise](#promise)
+ - [FulfilledPromise](#fulfilledpromise)
+ - [RejectedPromise](#rejectedpromise)
+- [Promise interop](#promise-interop)
+- [Implementation notes](#implementation-notes)
+
+
+# Features
+
+- [Promises/A+](https://promisesaplus.com/) implementation.
+- Promise resolution and chaining is handled iteratively, allowing for
+ "infinite" promise chaining.
+- Promises have a synchronous `wait` method.
+- Promises can be cancelled.
+- Works with any object that has a `then` function.
+- C# style async/await coroutine promises using
+ `GuzzleHttp\Promise\coroutine()`.
+
+
+# Quick start
+
+A *promise* represents the eventual result of an asynchronous operation. The
+primary way of interacting with a promise is through its `then` method, which
+registers callbacks to receive either a promise's eventual value or the reason
+why the promise cannot be fulfilled.
+
+
+## Callbacks
+
+Callbacks are registered with the `then` method by providing an optional
+`$onFulfilled` followed by an optional `$onRejected` function.
+
+
+```php
+use GuzzleHttp\Promise\Promise;
+
+$promise = new Promise();
+$promise->then(
+ // $onFulfilled
+ function ($value) {
+ echo 'The promise was fulfilled.';
+ },
+ // $onRejected
+ function ($reason) {
+ echo 'The promise was rejected.';
+ }
+);
+```
+
+*Resolving* a promise means that you either fulfill a promise with a *value* or
+reject a promise with a *reason*. Resolving a promises triggers callbacks
+registered with the promises's `then` method. These callbacks are triggered
+only once and in the order in which they were added.
+
+
+## Resolving a promise
+
+Promises are fulfilled using the `resolve($value)` method. Resolving a promise
+with any value other than a `GuzzleHttp\Promise\RejectedPromise` will trigger
+all of the onFulfilled callbacks (resolving a promise with a rejected promise
+will reject the promise and trigger the `$onRejected` callbacks).
+
+```php
+use GuzzleHttp\Promise\Promise;
+
+$promise = new Promise();
+$promise
+ ->then(function ($value) {
+ // Return a value and don't break the chain
+ return "Hello, " . $value;
+ })
+ // This then is executed after the first then and receives the value
+ // returned from the first then.
+ ->then(function ($value) {
+ echo $value;
+ });
+
+// Resolving the promise triggers the $onFulfilled callbacks and outputs
+// "Hello, reader".
+$promise->resolve('reader.');
+```
+
+
+## Promise forwarding
+
+Promises can be chained one after the other. Each then in the chain is a new
+promise. The return value of a promise is what's forwarded to the next
+promise in the chain. Returning a promise in a `then` callback will cause the
+subsequent promises in the chain to only be fulfilled when the returned promise
+has been fulfilled. The next promise in the chain will be invoked with the
+resolved value of the promise.
+
+```php
+use GuzzleHttp\Promise\Promise;
+
+$promise = new Promise();
+$nextPromise = new Promise();
+
+$promise
+ ->then(function ($value) use ($nextPromise) {
+ echo $value;
+ return $nextPromise;
+ })
+ ->then(function ($value) {
+ echo $value;
+ });
+
+// Triggers the first callback and outputs "A"
+$promise->resolve('A');
+// Triggers the second callback and outputs "B"
+$nextPromise->resolve('B');
+```
+
+## Promise rejection
+
+When a promise is rejected, the `$onRejected` callbacks are invoked with the
+rejection reason.
+
+```php
+use GuzzleHttp\Promise\Promise;
+
+$promise = new Promise();
+$promise->then(null, function ($reason) {
+ echo $reason;
+});
+
+$promise->reject('Error!');
+// Outputs "Error!"
+```
+
+## Rejection forwarding
+
+If an exception is thrown in an `$onRejected` callback, subsequent
+`$onRejected` callbacks are invoked with the thrown exception as the reason.
+
+```php
+use GuzzleHttp\Promise\Promise;
+
+$promise = new Promise();
+$promise->then(null, function ($reason) {
+ throw new \Exception($reason);
+})->then(null, function ($reason) {
+ assert($reason->getMessage() === 'Error!');
+});
+
+$promise->reject('Error!');
+```
+
+You can also forward a rejection down the promise chain by returning a
+`GuzzleHttp\Promise\RejectedPromise` in either an `$onFulfilled` or
+`$onRejected` callback.
+
+```php
+use GuzzleHttp\Promise\Promise;
+use GuzzleHttp\Promise\RejectedPromise;
+
+$promise = new Promise();
+$promise->then(null, function ($reason) {
+ return new RejectedPromise($reason);
+})->then(null, function ($reason) {
+ assert($reason === 'Error!');
+});
+
+$promise->reject('Error!');
+```
+
+If an exception is not thrown in a `$onRejected` callback and the callback
+does not return a rejected promise, downstream `$onFulfilled` callbacks are
+invoked using the value returned from the `$onRejected` callback.
+
+```php
+use GuzzleHttp\Promise\Promise;
+use GuzzleHttp\Promise\RejectedPromise;
+
+$promise = new Promise();
+$promise
+ ->then(null, function ($reason) {
+ return "It's ok";
+ })
+ ->then(function ($value) {
+ assert($value === "It's ok");
+ });
+
+$promise->reject('Error!');
+```
+
+# Synchronous wait
+
+You can synchronously force promises to complete using a promise's `wait`
+method. When creating a promise, you can provide a wait function that is used
+to synchronously force a promise to complete. When a wait function is invoked
+it is expected to deliver a value to the promise or reject the promise. If the
+wait function does not deliver a value, then an exception is thrown. The wait
+function provided to a promise constructor is invoked when the `wait` function
+of the promise is called.
+
+```php
+$promise = new Promise(function () use (&$promise) {
+ $promise->resolve('foo');
+});
+
+// Calling wait will return the value of the promise.
+echo $promise->wait(); // outputs "foo"
+```
+
+If an exception is encountered while invoking the wait function of a promise,
+the promise is rejected with the exception and the exception is thrown.
+
+```php
+$promise = new Promise(function () use (&$promise) {
+ throw new \Exception('foo');
+});
+
+$promise->wait(); // throws the exception.
+```
+
+Calling `wait` on a promise that has been fulfilled will not trigger the wait
+function. It will simply return the previously resolved value.
+
+```php
+$promise = new Promise(function () { die('this is not called!'); });
+$promise->resolve('foo');
+echo $promise->wait(); // outputs "foo"
+```
+
+Calling `wait` on a promise that has been rejected will throw an exception. If
+the rejection reason is an instance of `\Exception` the reason is thrown.
+Otherwise, a `GuzzleHttp\Promise\RejectionException` is thrown and the reason
+can be obtained by calling the `getReason` method of the exception.
+
+```php
+$promise = new Promise();
+$promise->reject('foo');
+$promise->wait();
+```
+
+> PHP Fatal error: Uncaught exception 'GuzzleHttp\Promise\RejectionException' with message 'The promise was rejected with value: foo'
+
+
+## Unwrapping a promise
+
+When synchronously waiting on a promise, you are joining the state of the
+promise into the current state of execution (i.e., return the value of the
+promise if it was fulfilled or throw an exception if it was rejected). This is
+called "unwrapping" the promise. Waiting on a promise will by default unwrap
+the promise state.
+
+You can force a promise to resolve and *not* unwrap the state of the promise
+by passing `false` to the first argument of the `wait` function:
+
+```php
+$promise = new Promise();
+$promise->reject('foo');
+// This will not throw an exception. It simply ensures the promise has
+// been resolved.
+$promise->wait(false);
+```
+
+When unwrapping a promise, the resolved value of the promise will be waited
+upon until the unwrapped value is not a promise. This means that if you resolve
+promise A with a promise B and unwrap promise A, the value returned by the
+wait function will be the value delivered to promise B.
+
+**Note**: when you do not unwrap the promise, no value is returned.
+
+
+# Cancellation
+
+You can cancel a promise that has not yet been fulfilled using the `cancel()`
+method of a promise. When creating a promise you can provide an optional
+cancel function that when invoked cancels the action of computing a resolution
+of the promise.
+
+
+# API
+
+
+## Promise
+
+When creating a promise object, you can provide an optional `$waitFn` and
+`$cancelFn`. `$waitFn` is a function that is invoked with no arguments and is
+expected to resolve the promise. `$cancelFn` is a function with no arguments
+that is expected to cancel the computation of a promise. It is invoked when the
+`cancel()` method of a promise is called.
+
+```php
+use GuzzleHttp\Promise\Promise;
+
+$promise = new Promise(
+ function () use (&$promise) {
+ $promise->resolve('waited');
+ },
+ function () {
+ // do something that will cancel the promise computation (e.g., close
+ // a socket, cancel a database query, etc...)
+ }
+);
+
+assert('waited' === $promise->wait());
+```
+
+A promise has the following methods:
+
+- `then(callable $onFulfilled, callable $onRejected) : PromiseInterface`
+
+ Appends fulfillment and rejection handlers to the promise, and returns a new promise resolving to the return value of the called handler.
+
+- `otherwise(callable $onRejected) : PromiseInterface`
+
+ Appends a rejection handler callback to the promise, and returns a new promise resolving to the return value of the callback if it is called, or to its original fulfillment value if the promise is instead fulfilled.
+
+- `wait($unwrap = true) : mixed`
+
+ Synchronously waits on the promise to complete.
+
+ `$unwrap` controls whether or not the value of the promise is returned for a
+ fulfilled promise or if an exception is thrown if the promise is rejected.
+ This is set to `true` by default.
+
+- `cancel()`
+
+ Attempts to cancel the promise if possible. The promise being cancelled and
+ the parent most ancestor that has not yet been resolved will also be
+ cancelled. Any promises waiting on the cancelled promise to resolve will also
+ be cancelled.
+
+- `getState() : string`
+
+ Returns the state of the promise. One of `pending`, `fulfilled`, or
+ `rejected`.
+
+- `resolve($value)`
+
+ Fulfills the promise with the given `$value`.
+
+- `reject($reason)`
+
+ Rejects the promise with the given `$reason`.
+
+
+## FulfilledPromise
+
+A fulfilled promise can be created to represent a promise that has been
+fulfilled.
+
+```php
+use GuzzleHttp\Promise\FulfilledPromise;
+
+$promise = new FulfilledPromise('value');
+
+// Fulfilled callbacks are immediately invoked.
+$promise->then(function ($value) {
+ echo $value;
+});
+```
+
+
+## RejectedPromise
+
+A rejected promise can be created to represent a promise that has been
+rejected.
+
+```php
+use GuzzleHttp\Promise\RejectedPromise;
+
+$promise = new RejectedPromise('Error');
+
+// Rejected callbacks are immediately invoked.
+$promise->then(null, function ($reason) {
+ echo $reason;
+});
+```
+
+
+# Promise interop
+
+This library works with foreign promises that have a `then` method. This means
+you can use Guzzle promises with [React promises](https://github.com/reactphp/promise)
+for example. When a foreign promise is returned inside of a then method
+callback, promise resolution will occur recursively.
+
+```php
+// Create a React promise
+$deferred = new React\Promise\Deferred();
+$reactPromise = $deferred->promise();
+
+// Create a Guzzle promise that is fulfilled with a React promise.
+$guzzlePromise = new \GuzzleHttp\Promise\Promise();
+$guzzlePromise->then(function ($value) use ($reactPromise) {
+ // Do something something with the value...
+ // Return the React promise
+ return $reactPromise;
+});
+```
+
+Please note that wait and cancel chaining is no longer possible when forwarding
+a foreign promise. You will need to wrap a third-party promise with a Guzzle
+promise in order to utilize wait and cancel functions with foreign promises.
+
+
+## Event Loop Integration
+
+In order to keep the stack size constant, Guzzle promises are resolved
+asynchronously using a task queue. When waiting on promises synchronously, the
+task queue will be automatically run to ensure that the blocking promise and
+any forwarded promises are resolved. When using promises asynchronously in an
+event loop, you will need to run the task queue on each tick of the loop. If
+you do not run the task queue, then promises will not be resolved.
+
+You can run the task queue using the `run()` method of the global task queue
+instance.
+
+```php
+// Get the global task queue
+$queue = \GuzzleHttp\Promise\queue();
+$queue->run();
+```
+
+For example, you could use Guzzle promises with React using a periodic timer:
+
+```php
+$loop = React\EventLoop\Factory::create();
+$loop->addPeriodicTimer(0, [$queue, 'run']);
+```
+
+*TODO*: Perhaps adding a `futureTick()` on each tick would be faster?
+
+
+# Implementation notes
+
+
+## Promise resolution and chaining is handled iteratively
+
+By shuffling pending handlers from one owner to another, promises are
+resolved iteratively, allowing for "infinite" then chaining.
+
+```php
+<?php
+require 'vendor/autoload.php';
+
+use GuzzleHttp\Promise\Promise;
+
+$parent = new Promise();
+$p = $parent;
+
+for ($i = 0; $i < 1000; $i++) {
+ $p = $p->then(function ($v) {
+ // The stack size remains constant (a good thing)
+ echo xdebug_get_stack_depth() . ', ';
+ return $v + 1;
+ });
+}
+
+$parent->resolve(0);
+var_dump($p->wait()); // int(1000)
+
+```
+
+When a promise is fulfilled or rejected with a non-promise value, the promise
+then takes ownership of the handlers of each child promise and delivers values
+down the chain without using recursion.
+
+When a promise is resolved with another promise, the original promise transfers
+all of its pending handlers to the new promise. When the new promise is
+eventually resolved, all of the pending handlers are delivered the forwarded
+value.
+
+
+## A promise is the deferred.
+
+Some promise libraries implement promises using a deferred object to represent
+a computation and a promise object to represent the delivery of the result of
+the computation. This is a nice separation of computation and delivery because
+consumers of the promise cannot modify the value that will be eventually
+delivered.
+
+One side effect of being able to implement promise resolution and chaining
+iteratively is that you need to be able for one promise to reach into the state
+of another promise to shuffle around ownership of handlers. In order to achieve
+this without making the handlers of a promise publicly mutable, a promise is
+also the deferred value, allowing promises of the same parent class to reach
+into and modify the private properties of promises of the same type. While this
+does allow consumers of the value to modify the resolution or rejection of the
+deferred, it is a small price to pay for keeping the stack size constant.
+
+```php
+$promise = new Promise();
+$promise->then(function ($value) { echo $value; });
+// The promise is the deferred value, so you can deliver a value to it.
+$promise->resolve('foo');
+// prints "foo"
+```
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/composer.json b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/composer.json
new file mode 100644
index 00000000..ec41a61e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/composer.json
@@ -0,0 +1,34 @@
+{
+ "name": "guzzlehttp/promises",
+ "description": "Guzzle promises library",
+ "keywords": ["promise"],
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Michael Dowling",
+ "email": "mtdowling@gmail.com",
+ "homepage": "https://github.com/mtdowling"
+ }
+ ],
+ "require": {
+ "php": ">=5.5.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.0"
+ },
+ "autoload": {
+ "psr-4": {
+ "GuzzleHttp\\Promise\\": "src/"
+ },
+ "files": ["src/functions_include.php"]
+ },
+ "scripts": {
+ "test": "vendor/bin/phpunit",
+ "test-ci": "vendor/bin/phpunit --coverage-text"
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.4-dev"
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/AggregateException.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/AggregateException.php
new file mode 100644
index 00000000..6a5690c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/AggregateException.php
@@ -0,0 +1,16 @@
+<?php
+namespace GuzzleHttp\Promise;
+
+/**
+ * Exception thrown when too many errors occur in the some() or any() methods.
+ */
+class AggregateException extends RejectionException
+{
+ public function __construct($msg, array $reasons)
+ {
+ parent::__construct(
+ $reasons,
+ sprintf('%s; %d rejected promises', $msg, count($reasons))
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/CancellationException.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/CancellationException.php
new file mode 100644
index 00000000..cb360b80
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/CancellationException.php
@@ -0,0 +1,9 @@
+<?php
+namespace GuzzleHttp\Promise;
+
+/**
+ * Exception that is set as the reason for a promise that has been cancelled.
+ */
+class CancellationException extends RejectionException
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/Coroutine.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/Coroutine.php
new file mode 100644
index 00000000..6aa09587
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/Coroutine.php
@@ -0,0 +1,151 @@
+<?php
+namespace GuzzleHttp\Promise;
+
+use Exception;
+use Generator;
+use Throwable;
+
+/**
+ * Creates a promise that is resolved using a generator that yields values or
+ * promises (somewhat similar to C#'s async keyword).
+ *
+ * When called, the coroutine function will start an instance of the generator
+ * and returns a promise that is fulfilled with its final yielded value.
+ *
+ * Control is returned back to the generator when the yielded promise settles.
+ * This can lead to less verbose code when doing lots of sequential async calls
+ * with minimal processing in between.
+ *
+ * use GuzzleHttp\Promise;
+ *
+ * function createPromise($value) {
+ * return new Promise\FulfilledPromise($value);
+ * }
+ *
+ * $promise = Promise\coroutine(function () {
+ * $value = (yield createPromise('a'));
+ * try {
+ * $value = (yield createPromise($value . 'b'));
+ * } catch (\Exception $e) {
+ * // The promise was rejected.
+ * }
+ * yield $value . 'c';
+ * });
+ *
+ * // Outputs "abc"
+ * $promise->then(function ($v) { echo $v; });
+ *
+ * @param callable $generatorFn Generator function to wrap into a promise.
+ *
+ * @return Promise
+ * @link https://github.com/petkaantonov/bluebird/blob/master/API.md#generators inspiration
+ */
+final class Coroutine implements PromiseInterface
+{
+ /**
+ * @var PromiseInterface|null
+ */
+ private $currentPromise;
+
+ /**
+ * @var Generator
+ */
+ private $generator;
+
+ /**
+ * @var Promise
+ */
+ private $result;
+
+ public function __construct(callable $generatorFn)
+ {
+ $this->generator = $generatorFn();
+ $this->result = new Promise(function () {
+ while (isset($this->currentPromise)) {
+ $this->currentPromise->wait();
+ }
+ });
+ $this->nextCoroutine($this->generator->current());
+ }
+
+ public function then(
+ callable $onFulfilled = null,
+ callable $onRejected = null
+ ) {
+ return $this->result->then($onFulfilled, $onRejected);
+ }
+
+ public function otherwise(callable $onRejected)
+ {
+ return $this->result->otherwise($onRejected);
+ }
+
+ public function wait($unwrap = true)
+ {
+ return $this->result->wait($unwrap);
+ }
+
+ public function getState()
+ {
+ return $this->result->getState();
+ }
+
+ public function resolve($value)
+ {
+ $this->result->resolve($value);
+ }
+
+ public function reject($reason)
+ {
+ $this->result->reject($reason);
+ }
+
+ public function cancel()
+ {
+ $this->currentPromise->cancel();
+ $this->result->cancel();
+ }
+
+ private function nextCoroutine($yielded)
+ {
+ $this->currentPromise = promise_for($yielded)
+ ->then([$this, '_handleSuccess'], [$this, '_handleFailure']);
+ }
+
+ /**
+ * @internal
+ */
+ public function _handleSuccess($value)
+ {
+ unset($this->currentPromise);
+ try {
+ $next = $this->generator->send($value);
+ if ($this->generator->valid()) {
+ $this->nextCoroutine($next);
+ } else {
+ $this->result->resolve($value);
+ }
+ } catch (Exception $exception) {
+ $this->result->reject($exception);
+ } catch (Throwable $throwable) {
+ $this->result->reject($throwable);
+ }
+ }
+
+ /**
+ * @internal
+ */
+ public function _handleFailure($reason)
+ {
+ unset($this->currentPromise);
+ try {
+ $nextYield = $this->generator->throw(exception_for($reason));
+ // The throw was caught, so keep iterating on the coroutine
+ $this->nextCoroutine($nextYield);
+ } catch (Exception $exception) {
+ $this->result->reject($exception);
+ } catch (Throwable $throwable) {
+ $this->result->reject($throwable);
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/EachPromise.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/EachPromise.php
new file mode 100644
index 00000000..d0ddf603
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/EachPromise.php
@@ -0,0 +1,229 @@
+<?php
+namespace GuzzleHttp\Promise;
+
+/**
+ * Represents a promise that iterates over many promises and invokes
+ * side-effect functions in the process.
+ */
+class EachPromise implements PromisorInterface
+{
+ private $pending = [];
+
+ /** @var \Iterator */
+ private $iterable;
+
+ /** @var callable|int */
+ private $concurrency;
+
+ /** @var callable */
+ private $onFulfilled;
+
+ /** @var callable */
+ private $onRejected;
+
+ /** @var Promise */
+ private $aggregate;
+
+ /** @var bool */
+ private $mutex;
+
+ /**
+ * Configuration hash can include the following key value pairs:
+ *
+ * - fulfilled: (callable) Invoked when a promise fulfills. The function
+ * is invoked with three arguments: the fulfillment value, the index
+ * position from the iterable list of the promise, and the aggregate
+ * promise that manages all of the promises. The aggregate promise may
+ * be resolved from within the callback to short-circuit the promise.
+ * - rejected: (callable) Invoked when a promise is rejected. The
+ * function is invoked with three arguments: the rejection reason, the
+ * index position from the iterable list of the promise, and the
+ * aggregate promise that manages all of the promises. The aggregate
+ * promise may be resolved from within the callback to short-circuit
+ * the promise.
+ * - concurrency: (integer) Pass this configuration option to limit the
+ * allowed number of outstanding concurrently executing promises,
+ * creating a capped pool of promises. There is no limit by default.
+ *
+ * @param mixed $iterable Promises or values to iterate.
+ * @param array $config Configuration options
+ */
+ public function __construct($iterable, array $config = [])
+ {
+ $this->iterable = iter_for($iterable);
+
+ if (isset($config['concurrency'])) {
+ $this->concurrency = $config['concurrency'];
+ }
+
+ if (isset($config['fulfilled'])) {
+ $this->onFulfilled = $config['fulfilled'];
+ }
+
+ if (isset($config['rejected'])) {
+ $this->onRejected = $config['rejected'];
+ }
+ }
+
+ public function promise()
+ {
+ if ($this->aggregate) {
+ return $this->aggregate;
+ }
+
+ try {
+ $this->createPromise();
+ $this->iterable->rewind();
+ $this->refillPending();
+ } catch (\Throwable $e) {
+ $this->aggregate->reject($e);
+ } catch (\Exception $e) {
+ $this->aggregate->reject($e);
+ }
+
+ return $this->aggregate;
+ }
+
+ private function createPromise()
+ {
+ $this->mutex = false;
+ $this->aggregate = new Promise(function () {
+ reset($this->pending);
+ if (empty($this->pending) && !$this->iterable->valid()) {
+ $this->aggregate->resolve(null);
+ return;
+ }
+
+ // Consume a potentially fluctuating list of promises while
+ // ensuring that indexes are maintained (precluding array_shift).
+ while ($promise = current($this->pending)) {
+ next($this->pending);
+ $promise->wait();
+ if ($this->aggregate->getState() !== PromiseInterface::PENDING) {
+ return;
+ }
+ }
+ });
+
+ // Clear the references when the promise is resolved.
+ $clearFn = function () {
+ $this->iterable = $this->concurrency = $this->pending = null;
+ $this->onFulfilled = $this->onRejected = null;
+ };
+
+ $this->aggregate->then($clearFn, $clearFn);
+ }
+
+ private function refillPending()
+ {
+ if (!$this->concurrency) {
+ // Add all pending promises.
+ while ($this->addPending() && $this->advanceIterator());
+ return;
+ }
+
+ // Add only up to N pending promises.
+ $concurrency = is_callable($this->concurrency)
+ ? call_user_func($this->concurrency, count($this->pending))
+ : $this->concurrency;
+ $concurrency = max($concurrency - count($this->pending), 0);
+ // Concurrency may be set to 0 to disallow new promises.
+ if (!$concurrency) {
+ return;
+ }
+ // Add the first pending promise.
+ $this->addPending();
+ // Note this is special handling for concurrency=1 so that we do
+ // not advance the iterator after adding the first promise. This
+ // helps work around issues with generators that might not have the
+ // next value to yield until promise callbacks are called.
+ while (--$concurrency
+ && $this->advanceIterator()
+ && $this->addPending());
+ }
+
+ private function addPending()
+ {
+ if (!$this->iterable || !$this->iterable->valid()) {
+ return false;
+ }
+
+ $promise = promise_for($this->iterable->current());
+ $idx = $this->iterable->key();
+
+ $this->pending[$idx] = $promise->then(
+ function ($value) use ($idx) {
+ if ($this->onFulfilled) {
+ call_user_func(
+ $this->onFulfilled, $value, $idx, $this->aggregate
+ );
+ }
+ $this->step($idx);
+ },
+ function ($reason) use ($idx) {
+ if ($this->onRejected) {
+ call_user_func(
+ $this->onRejected, $reason, $idx, $this->aggregate
+ );
+ }
+ $this->step($idx);
+ }
+ );
+
+ return true;
+ }
+
+ private function advanceIterator()
+ {
+ // Place a lock on the iterator so that we ensure to not recurse,
+ // preventing fatal generator errors.
+ if ($this->mutex) {
+ return false;
+ }
+
+ $this->mutex = true;
+
+ try {
+ $this->iterable->next();
+ $this->mutex = false;
+ return true;
+ } catch (\Throwable $e) {
+ $this->aggregate->reject($e);
+ $this->mutex = false;
+ return false;
+ } catch (\Exception $e) {
+ $this->aggregate->reject($e);
+ $this->mutex = false;
+ return false;
+ }
+ }
+
+ private function step($idx)
+ {
+ // If the promise was already resolved, then ignore this step.
+ if ($this->aggregate->getState() !== PromiseInterface::PENDING) {
+ return;
+ }
+
+ unset($this->pending[$idx]);
+
+ // Only refill pending promises if we are not locked, preventing the
+ // EachPromise to recursively invoke the provided iterator, which
+ // cause a fatal error: "Cannot resume an already running generator"
+ if ($this->advanceIterator() && !$this->checkIfFinished()) {
+ // Add more pending promises if possible.
+ $this->refillPending();
+ }
+ }
+
+ private function checkIfFinished()
+ {
+ if (!$this->pending && !$this->iterable->valid()) {
+ // Resolve the promise if there's nothing left to do.
+ $this->aggregate->resolve(null);
+ return true;
+ }
+
+ return false;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/FulfilledPromise.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/FulfilledPromise.php
new file mode 100644
index 00000000..dbbeeb9f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/FulfilledPromise.php
@@ -0,0 +1,82 @@
+<?php
+namespace GuzzleHttp\Promise;
+
+/**
+ * A promise that has been fulfilled.
+ *
+ * Thenning off of this promise will invoke the onFulfilled callback
+ * immediately and ignore other callbacks.
+ */
+class FulfilledPromise implements PromiseInterface
+{
+ private $value;
+
+ public function __construct($value)
+ {
+ if (method_exists($value, 'then')) {
+ throw new \InvalidArgumentException(
+ 'You cannot create a FulfilledPromise with a promise.');
+ }
+
+ $this->value = $value;
+ }
+
+ public function then(
+ callable $onFulfilled = null,
+ callable $onRejected = null
+ ) {
+ // Return itself if there is no onFulfilled function.
+ if (!$onFulfilled) {
+ return $this;
+ }
+
+ $queue = queue();
+ $p = new Promise([$queue, 'run']);
+ $value = $this->value;
+ $queue->add(static function () use ($p, $value, $onFulfilled) {
+ if ($p->getState() === self::PENDING) {
+ try {
+ $p->resolve($onFulfilled($value));
+ } catch (\Throwable $e) {
+ $p->reject($e);
+ } catch (\Exception $e) {
+ $p->reject($e);
+ }
+ }
+ });
+
+ return $p;
+ }
+
+ public function otherwise(callable $onRejected)
+ {
+ return $this->then(null, $onRejected);
+ }
+
+ public function wait($unwrap = true, $defaultDelivery = null)
+ {
+ return $unwrap ? $this->value : null;
+ }
+
+ public function getState()
+ {
+ return self::FULFILLED;
+ }
+
+ public function resolve($value)
+ {
+ if ($value !== $this->value) {
+ throw new \LogicException("Cannot resolve a fulfilled promise");
+ }
+ }
+
+ public function reject($reason)
+ {
+ throw new \LogicException("Cannot reject a fulfilled promise");
+ }
+
+ public function cancel()
+ {
+ // pass
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/Promise.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/Promise.php
new file mode 100644
index 00000000..844ada07
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/Promise.php
@@ -0,0 +1,280 @@
+<?php
+namespace GuzzleHttp\Promise;
+
+/**
+ * Promises/A+ implementation that avoids recursion when possible.
+ *
+ * @link https://promisesaplus.com/
+ */
+class Promise implements PromiseInterface
+{
+ private $state = self::PENDING;
+ private $result;
+ private $cancelFn;
+ private $waitFn;
+ private $waitList;
+ private $handlers = [];
+
+ /**
+ * @param callable $waitFn Fn that when invoked resolves the promise.
+ * @param callable $cancelFn Fn that when invoked cancels the promise.
+ */
+ public function __construct(
+ callable $waitFn = null,
+ callable $cancelFn = null
+ ) {
+ $this->waitFn = $waitFn;
+ $this->cancelFn = $cancelFn;
+ }
+
+ public function then(
+ callable $onFulfilled = null,
+ callable $onRejected = null
+ ) {
+ if ($this->state === self::PENDING) {
+ $p = new Promise(null, [$this, 'cancel']);
+ $this->handlers[] = [$p, $onFulfilled, $onRejected];
+ $p->waitList = $this->waitList;
+ $p->waitList[] = $this;
+ return $p;
+ }
+
+ // Return a fulfilled promise and immediately invoke any callbacks.
+ if ($this->state === self::FULFILLED) {
+ return $onFulfilled
+ ? promise_for($this->result)->then($onFulfilled)
+ : promise_for($this->result);
+ }
+
+ // It's either cancelled or rejected, so return a rejected promise
+ // and immediately invoke any callbacks.
+ $rejection = rejection_for($this->result);
+ return $onRejected ? $rejection->then(null, $onRejected) : $rejection;
+ }
+
+ public function otherwise(callable $onRejected)
+ {
+ return $this->then(null, $onRejected);
+ }
+
+ public function wait($unwrap = true)
+ {
+ $this->waitIfPending();
+
+ $inner = $this->result instanceof PromiseInterface
+ ? $this->result->wait($unwrap)
+ : $this->result;
+
+ if ($unwrap) {
+ if ($this->result instanceof PromiseInterface
+ || $this->state === self::FULFILLED
+ ) {
+ return $inner;
+ } else {
+ // It's rejected so "unwrap" and throw an exception.
+ throw exception_for($inner);
+ }
+ }
+ }
+
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ public function cancel()
+ {
+ if ($this->state !== self::PENDING) {
+ return;
+ }
+
+ $this->waitFn = $this->waitList = null;
+
+ if ($this->cancelFn) {
+ $fn = $this->cancelFn;
+ $this->cancelFn = null;
+ try {
+ $fn();
+ } catch (\Throwable $e) {
+ $this->reject($e);
+ } catch (\Exception $e) {
+ $this->reject($e);
+ }
+ }
+
+ // Reject the promise only if it wasn't rejected in a then callback.
+ if ($this->state === self::PENDING) {
+ $this->reject(new CancellationException('Promise has been cancelled'));
+ }
+ }
+
+ public function resolve($value)
+ {
+ $this->settle(self::FULFILLED, $value);
+ }
+
+ public function reject($reason)
+ {
+ $this->settle(self::REJECTED, $reason);
+ }
+
+ private function settle($state, $value)
+ {
+ if ($this->state !== self::PENDING) {
+ // Ignore calls with the same resolution.
+ if ($state === $this->state && $value === $this->result) {
+ return;
+ }
+ throw $this->state === $state
+ ? new \LogicException("The promise is already {$state}.")
+ : new \LogicException("Cannot change a {$this->state} promise to {$state}");
+ }
+
+ if ($value === $this) {
+ throw new \LogicException('Cannot fulfill or reject a promise with itself');
+ }
+
+ // Clear out the state of the promise but stash the handlers.
+ $this->state = $state;
+ $this->result = $value;
+ $handlers = $this->handlers;
+ $this->handlers = null;
+ $this->waitList = $this->waitFn = null;
+ $this->cancelFn = null;
+
+ if (!$handlers) {
+ return;
+ }
+
+ // If the value was not a settled promise or a thenable, then resolve
+ // it in the task queue using the correct ID.
+ if (!method_exists($value, 'then')) {
+ $id = $state === self::FULFILLED ? 1 : 2;
+ // It's a success, so resolve the handlers in the queue.
+ queue()->add(static function () use ($id, $value, $handlers) {
+ foreach ($handlers as $handler) {
+ self::callHandler($id, $value, $handler);
+ }
+ });
+ } elseif ($value instanceof Promise
+ && $value->getState() === self::PENDING
+ ) {
+ // We can just merge our handlers onto the next promise.
+ $value->handlers = array_merge($value->handlers, $handlers);
+ } else {
+ // Resolve the handlers when the forwarded promise is resolved.
+ $value->then(
+ static function ($value) use ($handlers) {
+ foreach ($handlers as $handler) {
+ self::callHandler(1, $value, $handler);
+ }
+ },
+ static function ($reason) use ($handlers) {
+ foreach ($handlers as $handler) {
+ self::callHandler(2, $reason, $handler);
+ }
+ }
+ );
+ }
+ }
+
+ /**
+ * Call a stack of handlers using a specific callback index and value.
+ *
+ * @param int $index 1 (resolve) or 2 (reject).
+ * @param mixed $value Value to pass to the callback.
+ * @param array $handler Array of handler data (promise and callbacks).
+ *
+ * @return array Returns the next group to resolve.
+ */
+ private static function callHandler($index, $value, array $handler)
+ {
+ /** @var PromiseInterface $promise */
+ $promise = $handler[0];
+
+ // The promise may have been cancelled or resolved before placing
+ // this thunk in the queue.
+ if ($promise->getState() !== self::PENDING) {
+ return;
+ }
+
+ try {
+ if (isset($handler[$index])) {
+ $promise->resolve($handler[$index]($value));
+ } elseif ($index === 1) {
+ // Forward resolution values as-is.
+ $promise->resolve($value);
+ } else {
+ // Forward rejections down the chain.
+ $promise->reject($value);
+ }
+ } catch (\Throwable $reason) {
+ $promise->reject($reason);
+ } catch (\Exception $reason) {
+ $promise->reject($reason);
+ }
+ }
+
+ private function waitIfPending()
+ {
+ if ($this->state !== self::PENDING) {
+ return;
+ } elseif ($this->waitFn) {
+ $this->invokeWaitFn();
+ } elseif ($this->waitList) {
+ $this->invokeWaitList();
+ } else {
+ // If there's not wait function, then reject the promise.
+ $this->reject('Cannot wait on a promise that has '
+ . 'no internal wait function. You must provide a wait '
+ . 'function when constructing the promise to be able to '
+ . 'wait on a promise.');
+ }
+
+ queue()->run();
+
+ if ($this->state === self::PENDING) {
+ $this->reject('Invoking the wait callback did not resolve the promise');
+ }
+ }
+
+ private function invokeWaitFn()
+ {
+ try {
+ $wfn = $this->waitFn;
+ $this->waitFn = null;
+ $wfn(true);
+ } catch (\Exception $reason) {
+ if ($this->state === self::PENDING) {
+ // The promise has not been resolved yet, so reject the promise
+ // with the exception.
+ $this->reject($reason);
+ } else {
+ // The promise was already resolved, so there's a problem in
+ // the application.
+ throw $reason;
+ }
+ }
+ }
+
+ private function invokeWaitList()
+ {
+ $waitList = $this->waitList;
+ $this->waitList = null;
+
+ foreach ($waitList as $result) {
+ while (true) {
+ $result->waitIfPending();
+
+ if ($result->result instanceof Promise) {
+ $result = $result->result;
+ } else {
+ if ($result->result instanceof PromiseInterface) {
+ $result->result->wait(false);
+ }
+ break;
+ }
+ }
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/PromiseInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/PromiseInterface.php
new file mode 100644
index 00000000..8f5f4b99
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/PromiseInterface.php
@@ -0,0 +1,93 @@
+<?php
+namespace GuzzleHttp\Promise;
+
+/**
+ * A promise represents the eventual result of an asynchronous operation.
+ *
+ * The primary way of interacting with a promise is through its then method,
+ * which registers callbacks to receive either a promise’s eventual value or
+ * the reason why the promise cannot be fulfilled.
+ *
+ * @link https://promisesaplus.com/
+ */
+interface PromiseInterface
+{
+ const PENDING = 'pending';
+ const FULFILLED = 'fulfilled';
+ const REJECTED = 'rejected';
+
+ /**
+ * Appends fulfillment and rejection handlers to the promise, and returns
+ * a new promise resolving to the return value of the called handler.
+ *
+ * @param callable $onFulfilled Invoked when the promise fulfills.
+ * @param callable $onRejected Invoked when the promise is rejected.
+ *
+ * @return PromiseInterface
+ */
+ public function then(
+ callable $onFulfilled = null,
+ callable $onRejected = null
+ );
+
+ /**
+ * Appends a rejection handler callback to the promise, and returns a new
+ * promise resolving to the return value of the callback if it is called,
+ * or to its original fulfillment value if the promise is instead
+ * fulfilled.
+ *
+ * @param callable $onRejected Invoked when the promise is rejected.
+ *
+ * @return PromiseInterface
+ */
+ public function otherwise(callable $onRejected);
+
+ /**
+ * Get the state of the promise ("pending", "rejected", or "fulfilled").
+ *
+ * The three states can be checked against the constants defined on
+ * PromiseInterface: PENDING, FULFILLED, and REJECTED.
+ *
+ * @return string
+ */
+ public function getState();
+
+ /**
+ * Resolve the promise with the given value.
+ *
+ * @param mixed $value
+ * @throws \RuntimeException if the promise is already resolved.
+ */
+ public function resolve($value);
+
+ /**
+ * Reject the promise with the given reason.
+ *
+ * @param mixed $reason
+ * @throws \RuntimeException if the promise is already resolved.
+ */
+ public function reject($reason);
+
+ /**
+ * Cancels the promise if possible.
+ *
+ * @link https://github.com/promises-aplus/cancellation-spec/issues/7
+ */
+ public function cancel();
+
+ /**
+ * Waits until the promise completes if possible.
+ *
+ * Pass $unwrap as true to unwrap the result of the promise, either
+ * returning the resolved value or throwing the rejected exception.
+ *
+ * If the promise cannot be waited on, then the promise will be rejected.
+ *
+ * @param bool $unwrap
+ *
+ * @return mixed
+ * @throws \LogicException if the promise has no wait function or if the
+ * promise does not settle after waiting.
+ */
+ public function wait($unwrap = true);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/PromisorInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/PromisorInterface.php
new file mode 100644
index 00000000..b07fe32b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/PromisorInterface.php
@@ -0,0 +1,15 @@
+<?php
+namespace GuzzleHttp\Promise;
+
+/**
+ * Interface used with classes that return a promise.
+ */
+interface PromisorInterface
+{
+ /**
+ * Returns a promise.
+ *
+ * @return PromiseInterface
+ */
+ public function promise();
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/RejectedPromise.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/RejectedPromise.php
new file mode 100644
index 00000000..2bc6508e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/RejectedPromise.php
@@ -0,0 +1,87 @@
+<?php
+namespace GuzzleHttp\Promise;
+
+/**
+ * A promise that has been rejected.
+ *
+ * Thenning off of this promise will invoke the onRejected callback
+ * immediately and ignore other callbacks.
+ */
+class RejectedPromise implements PromiseInterface
+{
+ private $reason;
+
+ public function __construct($reason)
+ {
+ if (method_exists($reason, 'then')) {
+ throw new \InvalidArgumentException(
+ 'You cannot create a RejectedPromise with a promise.');
+ }
+
+ $this->reason = $reason;
+ }
+
+ public function then(
+ callable $onFulfilled = null,
+ callable $onRejected = null
+ ) {
+ // If there's no onRejected callback then just return self.
+ if (!$onRejected) {
+ return $this;
+ }
+
+ $queue = queue();
+ $reason = $this->reason;
+ $p = new Promise([$queue, 'run']);
+ $queue->add(static function () use ($p, $reason, $onRejected) {
+ if ($p->getState() === self::PENDING) {
+ try {
+ // Return a resolved promise if onRejected does not throw.
+ $p->resolve($onRejected($reason));
+ } catch (\Throwable $e) {
+ // onRejected threw, so return a rejected promise.
+ $p->reject($e);
+ } catch (\Exception $e) {
+ // onRejected threw, so return a rejected promise.
+ $p->reject($e);
+ }
+ }
+ });
+
+ return $p;
+ }
+
+ public function otherwise(callable $onRejected)
+ {
+ return $this->then(null, $onRejected);
+ }
+
+ public function wait($unwrap = true, $defaultDelivery = null)
+ {
+ if ($unwrap) {
+ throw exception_for($this->reason);
+ }
+ }
+
+ public function getState()
+ {
+ return self::REJECTED;
+ }
+
+ public function resolve($value)
+ {
+ throw new \LogicException("Cannot resolve a rejected promise");
+ }
+
+ public function reject($reason)
+ {
+ if ($reason !== $this->reason) {
+ throw new \LogicException("Cannot reject a rejected promise");
+ }
+ }
+
+ public function cancel()
+ {
+ // pass
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/RejectionException.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/RejectionException.php
new file mode 100644
index 00000000..07c1136d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/RejectionException.php
@@ -0,0 +1,47 @@
+<?php
+namespace GuzzleHttp\Promise;
+
+/**
+ * A special exception that is thrown when waiting on a rejected promise.
+ *
+ * The reason value is available via the getReason() method.
+ */
+class RejectionException extends \RuntimeException
+{
+ /** @var mixed Rejection reason. */
+ private $reason;
+
+ /**
+ * @param mixed $reason Rejection reason.
+ * @param string $description Optional description
+ */
+ public function __construct($reason, $description = null)
+ {
+ $this->reason = $reason;
+
+ $message = 'The promise was rejected';
+
+ if ($description) {
+ $message .= ' with reason: ' . $description;
+ } elseif (is_string($reason)
+ || (is_object($reason) && method_exists($reason, '__toString'))
+ ) {
+ $message .= ' with reason: ' . $this->reason;
+ } elseif ($reason instanceof \JsonSerializable) {
+ $message .= ' with reason: '
+ . json_encode($this->reason, JSON_PRETTY_PRINT);
+ }
+
+ parent::__construct($message);
+ }
+
+ /**
+ * Returns the rejection reason.
+ *
+ * @return mixed
+ */
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/TaskQueue.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/TaskQueue.php
new file mode 100644
index 00000000..6e8a2a08
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/TaskQueue.php
@@ -0,0 +1,66 @@
+<?php
+namespace GuzzleHttp\Promise;
+
+/**
+ * A task queue that executes tasks in a FIFO order.
+ *
+ * This task queue class is used to settle promises asynchronously and
+ * maintains a constant stack size. You can use the task queue asynchronously
+ * by calling the `run()` function of the global task queue in an event loop.
+ *
+ * GuzzleHttp\Promise\queue()->run();
+ */
+class TaskQueue implements TaskQueueInterface
+{
+ private $enableShutdown = true;
+ private $queue = [];
+
+ public function __construct($withShutdown = true)
+ {
+ if ($withShutdown) {
+ register_shutdown_function(function () {
+ if ($this->enableShutdown) {
+ // Only run the tasks if an E_ERROR didn't occur.
+ $err = error_get_last();
+ if (!$err || ($err['type'] ^ E_ERROR)) {
+ $this->run();
+ }
+ }
+ });
+ }
+ }
+
+ public function isEmpty()
+ {
+ return !$this->queue;
+ }
+
+ public function add(callable $task)
+ {
+ $this->queue[] = $task;
+ }
+
+ public function run()
+ {
+ /** @var callable $task */
+ while ($task = array_shift($this->queue)) {
+ $task();
+ }
+ }
+
+ /**
+ * The task queue will be run and exhausted by default when the process
+ * exits IFF the exit is not the result of a PHP E_ERROR error.
+ *
+ * You can disable running the automatic shutdown of the queue by calling
+ * this function. If you disable the task queue shutdown process, then you
+ * MUST either run the task queue (as a result of running your event loop
+ * or manually using the run() method) or wait on each outstanding promise.
+ *
+ * Note: This shutdown will occur before any destructors are triggered.
+ */
+ public function disableShutdown()
+ {
+ $this->enableShutdown = false;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/TaskQueueInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/TaskQueueInterface.php
new file mode 100644
index 00000000..ac8306e1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/TaskQueueInterface.php
@@ -0,0 +1,25 @@
+<?php
+namespace GuzzleHttp\Promise;
+
+interface TaskQueueInterface
+{
+ /**
+ * Returns true if the queue is empty.
+ *
+ * @return bool
+ */
+ public function isEmpty();
+
+ /**
+ * Adds a task to the queue that will be executed the next time run is
+ * called.
+ *
+ * @param callable $task
+ */
+ public function add(callable $task);
+
+ /**
+ * Execute all of the pending task in the queue.
+ */
+ public function run();
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/functions.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/functions.php
new file mode 100644
index 00000000..4e27709a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/functions.php
@@ -0,0 +1,457 @@
+<?php
+namespace GuzzleHttp\Promise;
+
+/**
+ * Get the global task queue used for promise resolution.
+ *
+ * This task queue MUST be run in an event loop in order for promises to be
+ * settled asynchronously. It will be automatically run when synchronously
+ * waiting on a promise.
+ *
+ * <code>
+ * while ($eventLoop->isRunning()) {
+ * GuzzleHttp\Promise\queue()->run();
+ * }
+ * </code>
+ *
+ * @param TaskQueueInterface $assign Optionally specify a new queue instance.
+ *
+ * @return TaskQueueInterface
+ */
+function queue(TaskQueueInterface $assign = null)
+{
+ static $queue;
+
+ if ($assign) {
+ $queue = $assign;
+ } elseif (!$queue) {
+ $queue = new TaskQueue();
+ }
+
+ return $queue;
+}
+
+/**
+ * Adds a function to run in the task queue when it is next `run()` and returns
+ * a promise that is fulfilled or rejected with the result.
+ *
+ * @param callable $task Task function to run.
+ *
+ * @return PromiseInterface
+ */
+function task(callable $task)
+{
+ $queue = queue();
+ $promise = new Promise([$queue, 'run']);
+ $queue->add(function () use ($task, $promise) {
+ try {
+ $promise->resolve($task());
+ } catch (\Throwable $e) {
+ $promise->reject($e);
+ } catch (\Exception $e) {
+ $promise->reject($e);
+ }
+ });
+
+ return $promise;
+}
+
+/**
+ * Creates a promise for a value if the value is not a promise.
+ *
+ * @param mixed $value Promise or value.
+ *
+ * @return PromiseInterface
+ */
+function promise_for($value)
+{
+ if ($value instanceof PromiseInterface) {
+ return $value;
+ }
+
+ // Return a Guzzle promise that shadows the given promise.
+ if (method_exists($value, 'then')) {
+ $wfn = method_exists($value, 'wait') ? [$value, 'wait'] : null;
+ $cfn = method_exists($value, 'cancel') ? [$value, 'cancel'] : null;
+ $promise = new Promise($wfn, $cfn);
+ $value->then([$promise, 'resolve'], [$promise, 'reject']);
+ return $promise;
+ }
+
+ return new FulfilledPromise($value);
+}
+
+/**
+ * Creates a rejected promise for a reason if the reason is not a promise. If
+ * the provided reason is a promise, then it is returned as-is.
+ *
+ * @param mixed $reason Promise or reason.
+ *
+ * @return PromiseInterface
+ */
+function rejection_for($reason)
+{
+ if ($reason instanceof PromiseInterface) {
+ return $reason;
+ }
+
+ return new RejectedPromise($reason);
+}
+
+/**
+ * Create an exception for a rejected promise value.
+ *
+ * @param mixed $reason
+ *
+ * @return \Exception|\Throwable
+ */
+function exception_for($reason)
+{
+ return $reason instanceof \Exception || $reason instanceof \Throwable
+ ? $reason
+ : new RejectionException($reason);
+}
+
+/**
+ * Returns an iterator for the given value.
+ *
+ * @param mixed $value
+ *
+ * @return \Iterator
+ */
+function iter_for($value)
+{
+ if ($value instanceof \Iterator) {
+ return $value;
+ } elseif (is_array($value)) {
+ return new \ArrayIterator($value);
+ } else {
+ return new \ArrayIterator([$value]);
+ }
+}
+
+/**
+ * Synchronously waits on a promise to resolve and returns an inspection state
+ * array.
+ *
+ * Returns a state associative array containing a "state" key mapping to a
+ * valid promise state. If the state of the promise is "fulfilled", the array
+ * will contain a "value" key mapping to the fulfilled value of the promise. If
+ * the promise is rejected, the array will contain a "reason" key mapping to
+ * the rejection reason of the promise.
+ *
+ * @param PromiseInterface $promise Promise or value.
+ *
+ * @return array
+ */
+function inspect(PromiseInterface $promise)
+{
+ try {
+ return [
+ 'state' => PromiseInterface::FULFILLED,
+ 'value' => $promise->wait()
+ ];
+ } catch (RejectionException $e) {
+ return ['state' => PromiseInterface::REJECTED, 'reason' => $e->getReason()];
+ } catch (\Throwable $e) {
+ return ['state' => PromiseInterface::REJECTED, 'reason' => $e];
+ } catch (\Exception $e) {
+ return ['state' => PromiseInterface::REJECTED, 'reason' => $e];
+ }
+}
+
+/**
+ * Waits on all of the provided promises, but does not unwrap rejected promises
+ * as thrown exception.
+ *
+ * Returns an array of inspection state arrays.
+ *
+ * @param PromiseInterface[] $promises Traversable of promises to wait upon.
+ *
+ * @return array
+ * @see GuzzleHttp\Promise\inspect for the inspection state array format.
+ */
+function inspect_all($promises)
+{
+ $results = [];
+ foreach ($promises as $key => $promise) {
+ $results[$key] = inspect($promise);
+ }
+
+ return $results;
+}
+
+/**
+ * Waits on all of the provided promises and returns the fulfilled values.
+ *
+ * Returns an array that contains the value of each promise (in the same order
+ * the promises were provided). An exception is thrown if any of the promises
+ * are rejected.
+ *
+ * @param mixed $promises Iterable of PromiseInterface objects to wait on.
+ *
+ * @return array
+ * @throws \Exception on error
+ * @throws \Throwable on error in PHP >=7
+ */
+function unwrap($promises)
+{
+ $results = [];
+ foreach ($promises as $key => $promise) {
+ $results[$key] = $promise->wait();
+ }
+
+ return $results;
+}
+
+/**
+ * Given an array of promises, return a promise that is fulfilled when all the
+ * items in the array are fulfilled.
+ *
+ * The promise's fulfillment value is an array with fulfillment values at
+ * respective positions to the original array. If any promise in the array
+ * rejects, the returned promise is rejected with the rejection reason.
+ *
+ * @param mixed $promises Promises or values.
+ *
+ * @return PromiseInterface
+ */
+function all($promises)
+{
+ $results = [];
+ return each(
+ $promises,
+ function ($value, $idx) use (&$results) {
+ $results[$idx] = $value;
+ },
+ function ($reason, $idx, Promise $aggregate) {
+ $aggregate->reject($reason);
+ }
+ )->then(function () use (&$results) {
+ ksort($results);
+ return $results;
+ });
+}
+
+/**
+ * Initiate a competitive race between multiple promises or values (values will
+ * become immediately fulfilled promises).
+ *
+ * When count amount of promises have been fulfilled, the returned promise is
+ * fulfilled with an array that contains the fulfillment values of the winners
+ * in order of resolution.
+ *
+ * This prommise is rejected with a {@see GuzzleHttp\Promise\AggregateException}
+ * if the number of fulfilled promises is less than the desired $count.
+ *
+ * @param int $count Total number of promises.
+ * @param mixed $promises Promises or values.
+ *
+ * @return PromiseInterface
+ */
+function some($count, $promises)
+{
+ $results = [];
+ $rejections = [];
+
+ return each(
+ $promises,
+ function ($value, $idx, PromiseInterface $p) use (&$results, $count) {
+ if ($p->getState() !== PromiseInterface::PENDING) {
+ return;
+ }
+ $results[$idx] = $value;
+ if (count($results) >= $count) {
+ $p->resolve(null);
+ }
+ },
+ function ($reason) use (&$rejections) {
+ $rejections[] = $reason;
+ }
+ )->then(
+ function () use (&$results, &$rejections, $count) {
+ if (count($results) !== $count) {
+ throw new AggregateException(
+ 'Not enough promises to fulfill count',
+ $rejections
+ );
+ }
+ ksort($results);
+ return array_values($results);
+ }
+ );
+}
+
+/**
+ * Like some(), with 1 as count. However, if the promise fulfills, the
+ * fulfillment value is not an array of 1 but the value directly.
+ *
+ * @param mixed $promises Promises or values.
+ *
+ * @return PromiseInterface
+ */
+function any($promises)
+{
+ return some(1, $promises)->then(function ($values) { return $values[0]; });
+}
+
+/**
+ * Returns a promise that is fulfilled when all of the provided promises have
+ * been fulfilled or rejected.
+ *
+ * The returned promise is fulfilled with an array of inspection state arrays.
+ *
+ * @param mixed $promises Promises or values.
+ *
+ * @return PromiseInterface
+ * @see GuzzleHttp\Promise\inspect for the inspection state array format.
+ */
+function settle($promises)
+{
+ $results = [];
+
+ return each(
+ $promises,
+ function ($value, $idx) use (&$results) {
+ $results[$idx] = ['state' => PromiseInterface::FULFILLED, 'value' => $value];
+ },
+ function ($reason, $idx) use (&$results) {
+ $results[$idx] = ['state' => PromiseInterface::REJECTED, 'reason' => $reason];
+ }
+ )->then(function () use (&$results) {
+ ksort($results);
+ return $results;
+ });
+}
+
+/**
+ * Given an iterator that yields promises or values, returns a promise that is
+ * fulfilled with a null value when the iterator has been consumed or the
+ * aggregate promise has been fulfilled or rejected.
+ *
+ * $onFulfilled is a function that accepts the fulfilled value, iterator
+ * index, and the aggregate promise. The callback can invoke any necessary side
+ * effects and choose to resolve or reject the aggregate promise if needed.
+ *
+ * $onRejected is a function that accepts the rejection reason, iterator
+ * index, and the aggregate promise. The callback can invoke any necessary side
+ * effects and choose to resolve or reject the aggregate promise if needed.
+ *
+ * @param mixed $iterable Iterator or array to iterate over.
+ * @param callable $onFulfilled
+ * @param callable $onRejected
+ *
+ * @return PromiseInterface
+ */
+function each(
+ $iterable,
+ callable $onFulfilled = null,
+ callable $onRejected = null
+) {
+ return (new EachPromise($iterable, [
+ 'fulfilled' => $onFulfilled,
+ 'rejected' => $onRejected
+ ]))->promise();
+}
+
+/**
+ * Like each, but only allows a certain number of outstanding promises at any
+ * given time.
+ *
+ * $concurrency may be an integer or a function that accepts the number of
+ * pending promises and returns a numeric concurrency limit value to allow for
+ * dynamic a concurrency size.
+ *
+ * @param mixed $iterable
+ * @param int|callable $concurrency
+ * @param callable $onFulfilled
+ * @param callable $onRejected
+ *
+ * @return PromiseInterface
+ */
+function each_limit(
+ $iterable,
+ $concurrency,
+ callable $onFulfilled = null,
+ callable $onRejected = null
+) {
+ return (new EachPromise($iterable, [
+ 'fulfilled' => $onFulfilled,
+ 'rejected' => $onRejected,
+ 'concurrency' => $concurrency
+ ]))->promise();
+}
+
+/**
+ * Like each_limit, but ensures that no promise in the given $iterable argument
+ * is rejected. If any promise is rejected, then the aggregate promise is
+ * rejected with the encountered rejection.
+ *
+ * @param mixed $iterable
+ * @param int|callable $concurrency
+ * @param callable $onFulfilled
+ *
+ * @return PromiseInterface
+ */
+function each_limit_all(
+ $iterable,
+ $concurrency,
+ callable $onFulfilled = null
+) {
+ return each_limit(
+ $iterable,
+ $concurrency,
+ $onFulfilled,
+ function ($reason, $idx, PromiseInterface $aggregate) {
+ $aggregate->reject($reason);
+ }
+ );
+}
+
+/**
+ * Returns true if a promise is fulfilled.
+ *
+ * @param PromiseInterface $promise
+ *
+ * @return bool
+ */
+function is_fulfilled(PromiseInterface $promise)
+{
+ return $promise->getState() === PromiseInterface::FULFILLED;
+}
+
+/**
+ * Returns true if a promise is rejected.
+ *
+ * @param PromiseInterface $promise
+ *
+ * @return bool
+ */
+function is_rejected(PromiseInterface $promise)
+{
+ return $promise->getState() === PromiseInterface::REJECTED;
+}
+
+/**
+ * Returns true if a promise is fulfilled or rejected.
+ *
+ * @param PromiseInterface $promise
+ *
+ * @return bool
+ */
+function is_settled(PromiseInterface $promise)
+{
+ return $promise->getState() !== PromiseInterface::PENDING;
+}
+
+/**
+ * @see Coroutine
+ *
+ * @param callable $generatorFn
+ *
+ * @return PromiseInterface
+ */
+function coroutine(callable $generatorFn)
+{
+ return new Coroutine($generatorFn);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/functions_include.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/functions_include.php
new file mode 100644
index 00000000..34cd1710
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/promises/src/functions_include.php
@@ -0,0 +1,6 @@
+<?php
+
+// Don't redefine the functions if included multiple times.
+if (!function_exists('GuzzleHttp\Promise\promise_for')) {
+ require __DIR__ . '/functions.php';
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/CHANGELOG.md b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/CHANGELOG.md
new file mode 100644
index 00000000..5c252b3a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/CHANGELOG.md
@@ -0,0 +1,110 @@
+# CHANGELOG
+
+## 1.4.2 - 2017-03-20
+
+* Reverted BC break to `Uri::resolve` and `Uri::removeDotSegments` by removing
+ calls to `trigger_error` when deprecated methods are invoked.
+
+## 1.4.1 - 2017-02-27
+
+* Reverted BC break by reintroducing behavior to automagically fix a URI with a
+ relative path and an authority by adding a leading slash to the path. It's only
+ deprecated now.
+* Added triggering of silenced deprecation warnings.
+
+## 1.4.0 - 2017-02-21
+
+* Fix `Stream::read` when length parameter <= 0.
+* `copy_to_stream` reads bytes in chunks instead of `maxLen` into memory.
+* Fix `ServerRequest::getUriFromGlobals` when `Host` header contains port.
+* Ensure `ServerRequest::getUriFromGlobals` returns a URI in absolute form.
+* Allow `parse_response` to parse a response without delimiting space and reason.
+* Ensure each URI modification results in a valid URI according to PSR-7 discussions.
+ Invalid modifications will throw an exception instead of returning a wrong URI or
+ doing some magic.
+ - `(new Uri)->withPath('foo')->withHost('example.com')` will throw an exception
+ because the path of a URI with an authority must start with a slash "/" or be empty
+ - `(new Uri())->withScheme('http')` will return `'http://localhost'`
+* Fix compatibility of URIs with `file` scheme and empty host.
+* Added common URI utility methods based on RFC 3986 (see documentation in the readme):
+ - `Uri::isDefaultPort`
+ - `Uri::isAbsolute`
+ - `Uri::isNetworkPathReference`
+ - `Uri::isAbsolutePathReference`
+ - `Uri::isRelativePathReference`
+ - `Uri::isSameDocumentReference`
+ - `Uri::composeComponents`
+ - `UriNormalizer::normalize`
+ - `UriNormalizer::isEquivalent`
+ - `UriResolver::relativize`
+* Deprecated `Uri::resolve` in favor of `UriResolver::resolve`
+* Deprecated `Uri::removeDotSegments` in favor of `UriResolver::removeDotSegments`
+
+## 1.3.1 - 2016-06-25
+
+* Fix `Uri::__toString` for network path references, e.g. `//example.org`.
+* Fix missing lowercase normalization for host.
+* Fix handling of URI components in case they are `'0'` in a lot of places,
+ e.g. as a user info password.
+* Fix `Uri::withAddedHeader` to correctly merge headers with different case.
+* Fix trimming of header values in `Uri::withAddedHeader`. Header values may
+ be surrounded by whitespace which should be ignored according to RFC 7230
+ Section 3.2.4. This does not apply to header names.
+* Fix `Uri::withAddedHeader` with an array of header values.
+* Fix `Uri::resolve` when base path has no slash and handling of fragment.
+* Fix handling of encoding in `Uri::with(out)QueryValue` so one can pass the
+ key/value both in encoded as well as decoded form to those methods. This is
+ consistent with withPath, withQuery etc.
+* Fix `ServerRequest::withoutAttribute` when attribute value is null.
+
+## 1.3.0 - 2016-04-13
+
+* Added remaining interfaces needed for full PSR7 compatibility
+ (ServerRequestInterface, UploadedFileInterface, etc.).
+* Added support for stream_for from scalars.
+* Can now extend Uri.
+* Fixed a bug in validating request methods by making it more permissive.
+
+## 1.2.3 - 2016-02-18
+
+* Fixed support in `GuzzleHttp\Psr7\CachingStream` for seeking forward on remote
+ streams, which can sometimes return fewer bytes than requested with `fread`.
+* Fixed handling of gzipped responses with FNAME headers.
+
+## 1.2.2 - 2016-01-22
+
+* Added support for URIs without any authority.
+* Added support for HTTP 451 'Unavailable For Legal Reasons.'
+* Added support for using '0' as a filename.
+* Added support for including non-standard ports in Host headers.
+
+## 1.2.1 - 2015-11-02
+
+* Now supporting negative offsets when seeking to SEEK_END.
+
+## 1.2.0 - 2015-08-15
+
+* Body as `"0"` is now properly added to a response.
+* Now allowing forward seeking in CachingStream.
+* Now properly parsing HTTP requests that contain proxy targets in
+ `parse_request`.
+* functions.php is now conditionally required.
+* user-info is no longer dropped when resolving URIs.
+
+## 1.1.0 - 2015-06-24
+
+* URIs can now be relative.
+* `multipart/form-data` headers are now overridden case-insensitively.
+* URI paths no longer encode the following characters because they are allowed
+ in URIs: "(", ")", "*", "!", "'"
+* A port is no longer added to a URI when the scheme is missing and no port is
+ present.
+
+## 1.0.0 - 2015-05-19
+
+Initial release.
+
+Currently unsupported:
+
+- `Psr\Http\Message\ServerRequestInterface`
+- `Psr\Http\Message\UploadedFileInterface`
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/LICENSE b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/LICENSE
new file mode 100644
index 00000000..581d95f9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2015 Michael Dowling, https://github.com/mtdowling <mtdowling@gmail.com>
+
+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/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/README.md b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/README.md
new file mode 100644
index 00000000..16499358
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/README.md
@@ -0,0 +1,739 @@
+# PSR-7 Message Implementation
+
+This repository contains a full [PSR-7](http://www.php-fig.org/psr/psr-7/)
+message implementation, several stream decorators, and some helpful
+functionality like query string parsing.
+
+
+[![Build Status](https://travis-ci.org/guzzle/psr7.svg?branch=master)](https://travis-ci.org/guzzle/psr7)
+
+
+# Stream implementation
+
+This package comes with a number of stream implementations and stream
+decorators.
+
+
+## AppendStream
+
+`GuzzleHttp\Psr7\AppendStream`
+
+Reads from multiple streams, one after the other.
+
+```php
+use GuzzleHttp\Psr7;
+
+$a = Psr7\stream_for('abc, ');
+$b = Psr7\stream_for('123.');
+$composed = new Psr7\AppendStream([$a, $b]);
+
+$composed->addStream(Psr7\stream_for(' Above all listen to me'));
+
+echo $composed; // abc, 123. Above all listen to me.
+```
+
+
+## BufferStream
+
+`GuzzleHttp\Psr7\BufferStream`
+
+Provides a buffer stream that can be written to fill a buffer, and read
+from to remove bytes from the buffer.
+
+This stream returns a "hwm" metadata value that tells upstream consumers
+what the configured high water mark of the stream is, or the maximum
+preferred size of the buffer.
+
+```php
+use GuzzleHttp\Psr7;
+
+// When more than 1024 bytes are in the buffer, it will begin returning
+// false to writes. This is an indication that writers should slow down.
+$buffer = new Psr7\BufferStream(1024);
+```
+
+
+## CachingStream
+
+The CachingStream is used to allow seeking over previously read bytes on
+non-seekable streams. This can be useful when transferring a non-seekable
+entity body fails due to needing to rewind the stream (for example, resulting
+from a redirect). Data that is read from the remote stream will be buffered in
+a PHP temp stream so that previously read bytes are cached first in memory,
+then on disk.
+
+```php
+use GuzzleHttp\Psr7;
+
+$original = Psr7\stream_for(fopen('http://www.google.com', 'r'));
+$stream = new Psr7\CachingStream($original);
+
+$stream->read(1024);
+echo $stream->tell();
+// 1024
+
+$stream->seek(0);
+echo $stream->tell();
+// 0
+```
+
+
+## DroppingStream
+
+`GuzzleHttp\Psr7\DroppingStream`
+
+Stream decorator that begins dropping data once the size of the underlying
+stream becomes too full.
+
+```php
+use GuzzleHttp\Psr7;
+
+// Create an empty stream
+$stream = Psr7\stream_for();
+
+// Start dropping data when the stream has more than 10 bytes
+$dropping = new Psr7\DroppingStream($stream, 10);
+
+$dropping->write('01234567890123456789');
+echo $stream; // 0123456789
+```
+
+
+## FnStream
+
+`GuzzleHttp\Psr7\FnStream`
+
+Compose stream implementations based on a hash of functions.
+
+Allows for easy testing and extension of a provided stream without needing
+to create a concrete class for a simple extension point.
+
+```php
+
+use GuzzleHttp\Psr7;
+
+$stream = Psr7\stream_for('hi');
+$fnStream = Psr7\FnStream::decorate($stream, [
+ 'rewind' => function () use ($stream) {
+ echo 'About to rewind - ';
+ $stream->rewind();
+ echo 'rewound!';
+ }
+]);
+
+$fnStream->rewind();
+// Outputs: About to rewind - rewound!
+```
+
+
+## InflateStream
+
+`GuzzleHttp\Psr7\InflateStream`
+
+Uses PHP's zlib.inflate filter to inflate deflate or gzipped content.
+
+This stream decorator skips the first 10 bytes of the given stream to remove
+the gzip header, converts the provided stream to a PHP stream resource,
+then appends the zlib.inflate filter. The stream is then converted back
+to a Guzzle stream resource to be used as a Guzzle stream.
+
+
+## LazyOpenStream
+
+`GuzzleHttp\Psr7\LazyOpenStream`
+
+Lazily reads or writes to a file that is opened only after an IO operation
+take place on the stream.
+
+```php
+use GuzzleHttp\Psr7;
+
+$stream = new Psr7\LazyOpenStream('/path/to/file', 'r');
+// The file has not yet been opened...
+
+echo $stream->read(10);
+// The file is opened and read from only when needed.
+```
+
+
+## LimitStream
+
+`GuzzleHttp\Psr7\LimitStream`
+
+LimitStream can be used to read a subset or slice of an existing stream object.
+This can be useful for breaking a large file into smaller pieces to be sent in
+chunks (e.g. Amazon S3's multipart upload API).
+
+```php
+use GuzzleHttp\Psr7;
+
+$original = Psr7\stream_for(fopen('/tmp/test.txt', 'r+'));
+echo $original->getSize();
+// >>> 1048576
+
+// Limit the size of the body to 1024 bytes and start reading from byte 2048
+$stream = new Psr7\LimitStream($original, 1024, 2048);
+echo $stream->getSize();
+// >>> 1024
+echo $stream->tell();
+// >>> 0
+```
+
+
+## MultipartStream
+
+`GuzzleHttp\Psr7\MultipartStream`
+
+Stream that when read returns bytes for a streaming multipart or
+multipart/form-data stream.
+
+
+## NoSeekStream
+
+`GuzzleHttp\Psr7\NoSeekStream`
+
+NoSeekStream wraps a stream and does not allow seeking.
+
+```php
+use GuzzleHttp\Psr7;
+
+$original = Psr7\stream_for('foo');
+$noSeek = new Psr7\NoSeekStream($original);
+
+echo $noSeek->read(3);
+// foo
+var_export($noSeek->isSeekable());
+// false
+$noSeek->seek(0);
+var_export($noSeek->read(3));
+// NULL
+```
+
+
+## PumpStream
+
+`GuzzleHttp\Psr7\PumpStream`
+
+Provides a read only stream that pumps data from a PHP callable.
+
+When invoking the provided callable, the PumpStream will pass the amount of
+data requested to read to the callable. The callable can choose to ignore
+this value and return fewer or more bytes than requested. Any extra data
+returned by the provided callable is buffered internally until drained using
+the read() function of the PumpStream. The provided callable MUST return
+false when there is no more data to read.
+
+
+## Implementing stream decorators
+
+Creating a stream decorator is very easy thanks to the
+`GuzzleHttp\Psr7\StreamDecoratorTrait`. This trait provides methods that
+implement `Psr\Http\Message\StreamInterface` by proxying to an underlying
+stream. Just `use` the `StreamDecoratorTrait` and implement your custom
+methods.
+
+For example, let's say we wanted to call a specific function each time the last
+byte is read from a stream. This could be implemented by overriding the
+`read()` method.
+
+```php
+use Psr\Http\Message\StreamInterface;
+use GuzzleHttp\Psr7\StreamDecoratorTrait;
+
+class EofCallbackStream implements StreamInterface
+{
+ use StreamDecoratorTrait;
+
+ private $callback;
+
+ public function __construct(StreamInterface $stream, callable $cb)
+ {
+ $this->stream = $stream;
+ $this->callback = $cb;
+ }
+
+ public function read($length)
+ {
+ $result = $this->stream->read($length);
+
+ // Invoke the callback when EOF is hit.
+ if ($this->eof()) {
+ call_user_func($this->callback);
+ }
+
+ return $result;
+ }
+}
+```
+
+This decorator could be added to any existing stream and used like so:
+
+```php
+use GuzzleHttp\Psr7;
+
+$original = Psr7\stream_for('foo');
+
+$eofStream = new EofCallbackStream($original, function () {
+ echo 'EOF!';
+});
+
+$eofStream->read(2);
+$eofStream->read(1);
+// echoes "EOF!"
+$eofStream->seek(0);
+$eofStream->read(3);
+// echoes "EOF!"
+```
+
+
+## PHP StreamWrapper
+
+You can use the `GuzzleHttp\Psr7\StreamWrapper` class if you need to use a
+PSR-7 stream as a PHP stream resource.
+
+Use the `GuzzleHttp\Psr7\StreamWrapper::getResource()` method to create a PHP
+stream from a PSR-7 stream.
+
+```php
+use GuzzleHttp\Psr7\StreamWrapper;
+
+$stream = GuzzleHttp\Psr7\stream_for('hello!');
+$resource = StreamWrapper::getResource($stream);
+echo fread($resource, 6); // outputs hello!
+```
+
+
+# Function API
+
+There are various functions available under the `GuzzleHttp\Psr7` namespace.
+
+
+## `function str`
+
+`function str(MessageInterface $message)`
+
+Returns the string representation of an HTTP message.
+
+```php
+$request = new GuzzleHttp\Psr7\Request('GET', 'http://example.com');
+echo GuzzleHttp\Psr7\str($request);
+```
+
+
+## `function uri_for`
+
+`function uri_for($uri)`
+
+This function accepts a string or `Psr\Http\Message\UriInterface` and returns a
+UriInterface for the given value. If the value is already a `UriInterface`, it
+is returned as-is.
+
+```php
+$uri = GuzzleHttp\Psr7\uri_for('http://example.com');
+assert($uri === GuzzleHttp\Psr7\uri_for($uri));
+```
+
+
+## `function stream_for`
+
+`function stream_for($resource = '', array $options = [])`
+
+Create a new stream based on the input type.
+
+Options is an associative array that can contain the following keys:
+
+* - metadata: Array of custom metadata.
+* - size: Size of the stream.
+
+This method accepts the following `$resource` types:
+
+- `Psr\Http\Message\StreamInterface`: Returns the value as-is.
+- `string`: Creates a stream object that uses the given string as the contents.
+- `resource`: Creates a stream object that wraps the given PHP stream resource.
+- `Iterator`: If the provided value implements `Iterator`, then a read-only
+ stream object will be created that wraps the given iterable. Each time the
+ stream is read from, data from the iterator will fill a buffer and will be
+ continuously called until the buffer is equal to the requested read size.
+ Subsequent read calls will first read from the buffer and then call `next`
+ on the underlying iterator until it is exhausted.
+- `object` with `__toString()`: If the object has the `__toString()` method,
+ the object will be cast to a string and then a stream will be returned that
+ uses the string value.
+- `NULL`: When `null` is passed, an empty stream object is returned.
+- `callable` When a callable is passed, a read-only stream object will be
+ created that invokes the given callable. The callable is invoked with the
+ number of suggested bytes to read. The callable can return any number of
+ bytes, but MUST return `false` when there is no more data to return. The
+ stream object that wraps the callable will invoke the callable until the
+ number of requested bytes are available. Any additional bytes will be
+ buffered and used in subsequent reads.
+
+```php
+$stream = GuzzleHttp\Psr7\stream_for('foo');
+$stream = GuzzleHttp\Psr7\stream_for(fopen('/path/to/file', 'r'));
+
+$generator function ($bytes) {
+ for ($i = 0; $i < $bytes; $i++) {
+ yield ' ';
+ }
+}
+
+$stream = GuzzleHttp\Psr7\stream_for($generator(100));
+```
+
+
+## `function parse_header`
+
+`function parse_header($header)`
+
+Parse an array of header values containing ";" separated data into an array of
+associative arrays representing the header key value pair data of the header.
+When a parameter does not contain a value, but just contains a key, this
+function will inject a key with a '' string value.
+
+
+## `function normalize_header`
+
+`function normalize_header($header)`
+
+Converts an array of header values that may contain comma separated headers
+into an array of headers with no comma separated values.
+
+
+## `function modify_request`
+
+`function modify_request(RequestInterface $request, array $changes)`
+
+Clone and modify a request with the given changes. This method is useful for
+reducing the number of clones needed to mutate a message.
+
+The changes can be one of:
+
+- method: (string) Changes the HTTP method.
+- set_headers: (array) Sets the given headers.
+- remove_headers: (array) Remove the given headers.
+- body: (mixed) Sets the given body.
+- uri: (UriInterface) Set the URI.
+- query: (string) Set the query string value of the URI.
+- version: (string) Set the protocol version.
+
+
+## `function rewind_body`
+
+`function rewind_body(MessageInterface $message)`
+
+Attempts to rewind a message body and throws an exception on failure. The body
+of the message will only be rewound if a call to `tell()` returns a value other
+than `0`.
+
+
+## `function try_fopen`
+
+`function try_fopen($filename, $mode)`
+
+Safely opens a PHP stream resource using a filename.
+
+When fopen fails, PHP normally raises a warning. This function adds an error
+handler that checks for errors and throws an exception instead.
+
+
+## `function copy_to_string`
+
+`function copy_to_string(StreamInterface $stream, $maxLen = -1)`
+
+Copy the contents of a stream into a string until the given number of bytes
+have been read.
+
+
+## `function copy_to_stream`
+
+`function copy_to_stream(StreamInterface $source, StreamInterface $dest, $maxLen = -1)`
+
+Copy the contents of a stream into another stream until the given number of
+bytes have been read.
+
+
+## `function hash`
+
+`function hash(StreamInterface $stream, $algo, $rawOutput = false)`
+
+Calculate a hash of a Stream. This method reads the entire stream to calculate
+a rolling hash (based on PHP's hash_init functions).
+
+
+## `function readline`
+
+`function readline(StreamInterface $stream, $maxLength = null)`
+
+Read a line from the stream up to the maximum allowed buffer length.
+
+
+## `function parse_request`
+
+`function parse_request($message)`
+
+Parses a request message string into a request object.
+
+
+## `function parse_response`
+
+`function parse_response($message)`
+
+Parses a response message string into a response object.
+
+
+## `function parse_query`
+
+`function parse_query($str, $urlEncoding = true)`
+
+Parse a query string into an associative array.
+
+If multiple values are found for the same key, the value of that key value pair
+will become an array. This function does not parse nested PHP style arrays into
+an associative array (e.g., `foo[a]=1&foo[b]=2` will be parsed into
+`['foo[a]' => '1', 'foo[b]' => '2']`).
+
+
+## `function build_query`
+
+`function build_query(array $params, $encoding = PHP_QUERY_RFC3986)`
+
+Build a query string from an array of key value pairs.
+
+This function can use the return value of parse_query() to build a query string.
+This function does not modify the provided keys when an array is encountered
+(like http_build_query would).
+
+
+## `function mimetype_from_filename`
+
+`function mimetype_from_filename($filename)`
+
+Determines the mimetype of a file by looking at its extension.
+
+
+## `function mimetype_from_extension`
+
+`function mimetype_from_extension($extension)`
+
+Maps a file extensions to a mimetype.
+
+
+# Additional URI Methods
+
+Aside from the standard `Psr\Http\Message\UriInterface` implementation in form of the `GuzzleHttp\Psr7\Uri` class,
+this library also provides additional functionality when working with URIs as static methods.
+
+## URI Types
+
+An instance of `Psr\Http\Message\UriInterface` can either be an absolute URI or a relative reference.
+An absolute URI has a scheme. A relative reference is used to express a URI relative to another URI,
+the base URI. Relative references can be divided into several forms according to
+[RFC 3986 Section 4.2](https://tools.ietf.org/html/rfc3986#section-4.2):
+
+- network-path references, e.g. `//example.com/path`
+- absolute-path references, e.g. `/path`
+- relative-path references, e.g. `subpath`
+
+The following methods can be used to identify the type of the URI.
+
+### `GuzzleHttp\Psr7\Uri::isAbsolute`
+
+`public static function isAbsolute(UriInterface $uri): bool`
+
+Whether the URI is absolute, i.e. it has a scheme.
+
+### `GuzzleHttp\Psr7\Uri::isNetworkPathReference`
+
+`public static function isNetworkPathReference(UriInterface $uri): bool`
+
+Whether the URI is a network-path reference. A relative reference that begins with two slash characters is
+termed an network-path reference.
+
+### `GuzzleHttp\Psr7\Uri::isAbsolutePathReference`
+
+`public static function isAbsolutePathReference(UriInterface $uri): bool`
+
+Whether the URI is a absolute-path reference. A relative reference that begins with a single slash character is
+termed an absolute-path reference.
+
+### `GuzzleHttp\Psr7\Uri::isRelativePathReference`
+
+`public static function isRelativePathReference(UriInterface $uri): bool`
+
+Whether the URI is a relative-path reference. A relative reference that does not begin with a slash character is
+termed a relative-path reference.
+
+### `GuzzleHttp\Psr7\Uri::isSameDocumentReference`
+
+`public static function isSameDocumentReference(UriInterface $uri, UriInterface $base = null): bool`
+
+Whether the URI is a same-document reference. A same-document reference refers to a URI that is, aside from its
+fragment component, identical to the base URI. When no base URI is given, only an empty URI reference
+(apart from its fragment) is considered a same-document reference.
+
+## URI Components
+
+Additional methods to work with URI components.
+
+### `GuzzleHttp\Psr7\Uri::isDefaultPort`
+
+`public static function isDefaultPort(UriInterface $uri): bool`
+
+Whether the URI has the default port of the current scheme. `Psr\Http\Message\UriInterface::getPort` may return null
+or the standard port. This method can be used independently of the implementation.
+
+### `GuzzleHttp\Psr7\Uri::composeComponents`
+
+`public static function composeComponents($scheme, $authority, $path, $query, $fragment): string`
+
+Composes a URI reference string from its various components according to
+[RFC 3986 Section 5.3](https://tools.ietf.org/html/rfc3986#section-5.3). Usually this method does not need to be called
+manually but instead is used indirectly via `Psr\Http\Message\UriInterface::__toString`.
+
+### `GuzzleHttp\Psr7\Uri::fromParts`
+
+`public static function fromParts(array $parts): UriInterface`
+
+Creates a URI from a hash of [`parse_url`](http://php.net/manual/en/function.parse-url.php) components.
+
+
+### `GuzzleHttp\Psr7\Uri::withQueryValue`
+
+`public static function withQueryValue(UriInterface $uri, $key, $value): UriInterface`
+
+Creates a new URI with a specific query string value. Any existing query string values that exactly match the
+provided key are removed and replaced with the given key value pair. A value of null will set the query string
+key without a value, e.g. "key" instead of "key=value".
+
+
+### `GuzzleHttp\Psr7\Uri::withoutQueryValue`
+
+`public static function withoutQueryValue(UriInterface $uri, $key): UriInterface`
+
+Creates a new URI with a specific query string value removed. Any existing query string values that exactly match the
+provided key are removed.
+
+## Reference Resolution
+
+`GuzzleHttp\Psr7\UriResolver` provides methods to resolve a URI reference in the context of a base URI according
+to [RFC 3986 Section 5](https://tools.ietf.org/html/rfc3986#section-5). This is for example also what web browsers
+do when resolving a link in a website based on the current request URI.
+
+### `GuzzleHttp\Psr7\UriResolver::resolve`
+
+`public static function resolve(UriInterface $base, UriInterface $rel): UriInterface`
+
+Converts the relative URI into a new URI that is resolved against the base URI.
+
+### `GuzzleHttp\Psr7\UriResolver::removeDotSegments`
+
+`public static function removeDotSegments(string $path): string`
+
+Removes dot segments from a path and returns the new path according to
+[RFC 3986 Section 5.2.4](https://tools.ietf.org/html/rfc3986#section-5.2.4).
+
+### `GuzzleHttp\Psr7\UriResolver::relativize`
+
+`public static function relativize(UriInterface $base, UriInterface $target): UriInterface`
+
+Returns the target URI as a relative reference from the base URI. This method is the counterpart to resolve():
+
+```php
+(string) $target === (string) UriResolver::resolve($base, UriResolver::relativize($base, $target))
+```
+
+One use-case is to use the current request URI as base URI and then generate relative links in your documents
+to reduce the document size or offer self-contained downloadable document archives.
+
+```php
+$base = new Uri('http://example.com/a/b/');
+echo UriResolver::relativize($base, new Uri('http://example.com/a/b/c')); // prints 'c'.
+echo UriResolver::relativize($base, new Uri('http://example.com/a/x/y')); // prints '../x/y'.
+echo UriResolver::relativize($base, new Uri('http://example.com/a/b/?q')); // prints '?q'.
+echo UriResolver::relativize($base, new Uri('http://example.org/a/b/')); // prints '//example.org/a/b/'.
+```
+
+## Normalization and Comparison
+
+`GuzzleHttp\Psr7\UriNormalizer` provides methods to normalize and compare URIs according to
+[RFC 3986 Section 6](https://tools.ietf.org/html/rfc3986#section-6).
+
+### `GuzzleHttp\Psr7\UriNormalizer::normalize`
+
+`public static function normalize(UriInterface $uri, $flags = self::PRESERVING_NORMALIZATIONS): UriInterface`
+
+Returns a normalized URI. The scheme and host component are already normalized to lowercase per PSR-7 UriInterface.
+This methods adds additional normalizations that can be configured with the `$flags` parameter which is a bitmask
+of normalizations to apply. The following normalizations are available:
+
+- `UriNormalizer::PRESERVING_NORMALIZATIONS`
+
+ Default normalizations which only include the ones that preserve semantics.
+
+- `UriNormalizer::CAPITALIZE_PERCENT_ENCODING`
+
+ All letters within a percent-encoding triplet (e.g., "%3A") are case-insensitive, and should be capitalized.
+
+ Example: `http://example.org/a%c2%b1b` → `http://example.org/a%C2%B1b`
+
+- `UriNormalizer::DECODE_UNRESERVED_CHARACTERS`
+
+ Decodes percent-encoded octets of unreserved characters. For consistency, percent-encoded octets in the ranges of
+ ALPHA (%41–%5A and %61–%7A), DIGIT (%30–%39), hyphen (%2D), period (%2E), underscore (%5F), or tilde (%7E) should
+ not be created by URI producers and, when found in a URI, should be decoded to their corresponding unreserved
+ characters by URI normalizers.
+
+ Example: `http://example.org/%7Eusern%61me/` → `http://example.org/~username/`
+
+- `UriNormalizer::CONVERT_EMPTY_PATH`
+
+ Converts the empty path to "/" for http and https URIs.
+
+ Example: `http://example.org` → `http://example.org/`
+
+- `UriNormalizer::REMOVE_DEFAULT_HOST`
+
+ Removes the default host of the given URI scheme from the URI. Only the "file" scheme defines the default host
+ "localhost". All of `file:/myfile`, `file:///myfile`, and `file://localhost/myfile` are equivalent according to
+ RFC 3986.
+
+ Example: `file://localhost/myfile` → `file:///myfile`
+
+- `UriNormalizer::REMOVE_DEFAULT_PORT`
+
+ Removes the default port of the given URI scheme from the URI.
+
+ Example: `http://example.org:80/` → `http://example.org/`
+
+- `UriNormalizer::REMOVE_DOT_SEGMENTS`
+
+ Removes unnecessary dot-segments. Dot-segments in relative-path references are not removed as it would
+ change the semantics of the URI reference.
+
+ Example: `http://example.org/../a/b/../c/./d.html` → `http://example.org/a/c/d.html`
+
+- `UriNormalizer::REMOVE_DUPLICATE_SLASHES`
+
+ Paths which include two or more adjacent slashes are converted to one. Webservers usually ignore duplicate slashes
+ and treat those URIs equivalent. But in theory those URIs do not need to be equivalent. So this normalization
+ may change the semantics. Encoded slashes (%2F) are not removed.
+
+ Example: `http://example.org//foo///bar.html` → `http://example.org/foo/bar.html`
+
+- `UriNormalizer::SORT_QUERY_PARAMETERS`
+
+ Sort query parameters with their values in alphabetical order. However, the order of parameters in a URI may be
+ significant (this is not defined by the standard). So this normalization is not safe and may change the semantics
+ of the URI.
+
+ Example: `?lang=en&article=fred` → `?article=fred&lang=en`
+
+### `GuzzleHttp\Psr7\UriNormalizer::isEquivalent`
+
+`public static function isEquivalent(UriInterface $uri1, UriInterface $uri2, $normalizations = self::PRESERVING_NORMALIZATIONS): bool`
+
+Whether two URIs can be considered equivalent. Both URIs are normalized automatically before comparison with the given
+`$normalizations` bitmask. The method also accepts relative URI references and returns true when they are equivalent.
+This of course assumes they will be resolved against the same base URI. If this is not the case, determination of
+equivalence or difference of relative references does not mean anything.
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/composer.json b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/composer.json
new file mode 100644
index 00000000..b1c5a90b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/composer.json
@@ -0,0 +1,39 @@
+{
+ "name": "guzzlehttp/psr7",
+ "type": "library",
+ "description": "PSR-7 message implementation that also provides common utility methods",
+ "keywords": ["request", "response", "message", "stream", "http", "uri", "url"],
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Michael Dowling",
+ "email": "mtdowling@gmail.com",
+ "homepage": "https://github.com/mtdowling"
+ },
+ {
+ "name": "Tobias Schultze",
+ "homepage": "https://github.com/Tobion"
+ }
+ ],
+ "require": {
+ "php": ">=5.4.0",
+ "psr/http-message": "~1.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.0"
+ },
+ "provide": {
+ "psr/http-message-implementation": "1.0"
+ },
+ "autoload": {
+ "psr-4": {
+ "GuzzleHttp\\Psr7\\": "src/"
+ },
+ "files": ["src/functions_include.php"]
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.4-dev"
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/AppendStream.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/AppendStream.php
new file mode 100644
index 00000000..23039fd7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/AppendStream.php
@@ -0,0 +1,233 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * Reads from multiple streams, one after the other.
+ *
+ * This is a read-only stream decorator.
+ */
+class AppendStream implements StreamInterface
+{
+ /** @var StreamInterface[] Streams being decorated */
+ private $streams = [];
+
+ private $seekable = true;
+ private $current = 0;
+ private $pos = 0;
+ private $detached = false;
+
+ /**
+ * @param StreamInterface[] $streams Streams to decorate. Each stream must
+ * be readable.
+ */
+ public function __construct(array $streams = [])
+ {
+ foreach ($streams as $stream) {
+ $this->addStream($stream);
+ }
+ }
+
+ public function __toString()
+ {
+ try {
+ $this->rewind();
+ return $this->getContents();
+ } catch (\Exception $e) {
+ return '';
+ }
+ }
+
+ /**
+ * Add a stream to the AppendStream
+ *
+ * @param StreamInterface $stream Stream to append. Must be readable.
+ *
+ * @throws \InvalidArgumentException if the stream is not readable
+ */
+ public function addStream(StreamInterface $stream)
+ {
+ if (!$stream->isReadable()) {
+ throw new \InvalidArgumentException('Each stream must be readable');
+ }
+
+ // The stream is only seekable if all streams are seekable
+ if (!$stream->isSeekable()) {
+ $this->seekable = false;
+ }
+
+ $this->streams[] = $stream;
+ }
+
+ public function getContents()
+ {
+ return copy_to_string($this);
+ }
+
+ /**
+ * Closes each attached stream.
+ *
+ * {@inheritdoc}
+ */
+ public function close()
+ {
+ $this->pos = $this->current = 0;
+
+ foreach ($this->streams as $stream) {
+ $stream->close();
+ }
+
+ $this->streams = [];
+ }
+
+ /**
+ * Detaches each attached stream
+ *
+ * {@inheritdoc}
+ */
+ public function detach()
+ {
+ $this->close();
+ $this->detached = true;
+ }
+
+ public function tell()
+ {
+ return $this->pos;
+ }
+
+ /**
+ * Tries to calculate the size by adding the size of each stream.
+ *
+ * If any of the streams do not return a valid number, then the size of the
+ * append stream cannot be determined and null is returned.
+ *
+ * {@inheritdoc}
+ */
+ public function getSize()
+ {
+ $size = 0;
+
+ foreach ($this->streams as $stream) {
+ $s = $stream->getSize();
+ if ($s === null) {
+ return null;
+ }
+ $size += $s;
+ }
+
+ return $size;
+ }
+
+ public function eof()
+ {
+ return !$this->streams ||
+ ($this->current >= count($this->streams) - 1 &&
+ $this->streams[$this->current]->eof());
+ }
+
+ public function rewind()
+ {
+ $this->seek(0);
+ }
+
+ /**
+ * Attempts to seek to the given position. Only supports SEEK_SET.
+ *
+ * {@inheritdoc}
+ */
+ public function seek($offset, $whence = SEEK_SET)
+ {
+ if (!$this->seekable) {
+ throw new \RuntimeException('This AppendStream is not seekable');
+ } elseif ($whence !== SEEK_SET) {
+ throw new \RuntimeException('The AppendStream can only seek with SEEK_SET');
+ }
+
+ $this->pos = $this->current = 0;
+
+ // Rewind each stream
+ foreach ($this->streams as $i => $stream) {
+ try {
+ $stream->rewind();
+ } catch (\Exception $e) {
+ throw new \RuntimeException('Unable to seek stream '
+ . $i . ' of the AppendStream', 0, $e);
+ }
+ }
+
+ // Seek to the actual position by reading from each stream
+ while ($this->pos < $offset && !$this->eof()) {
+ $result = $this->read(min(8096, $offset - $this->pos));
+ if ($result === '') {
+ break;
+ }
+ }
+ }
+
+ /**
+ * Reads from all of the appended streams until the length is met or EOF.
+ *
+ * {@inheritdoc}
+ */
+ public function read($length)
+ {
+ $buffer = '';
+ $total = count($this->streams) - 1;
+ $remaining = $length;
+ $progressToNext = false;
+
+ while ($remaining > 0) {
+
+ // Progress to the next stream if needed.
+ if ($progressToNext || $this->streams[$this->current]->eof()) {
+ $progressToNext = false;
+ if ($this->current === $total) {
+ break;
+ }
+ $this->current++;
+ }
+
+ $result = $this->streams[$this->current]->read($remaining);
+
+ // Using a loose comparison here to match on '', false, and null
+ if ($result == null) {
+ $progressToNext = true;
+ continue;
+ }
+
+ $buffer .= $result;
+ $remaining = $length - strlen($buffer);
+ }
+
+ $this->pos += strlen($buffer);
+
+ return $buffer;
+ }
+
+ public function isReadable()
+ {
+ return true;
+ }
+
+ public function isWritable()
+ {
+ return false;
+ }
+
+ public function isSeekable()
+ {
+ return $this->seekable;
+ }
+
+ public function write($string)
+ {
+ throw new \RuntimeException('Cannot write to an AppendStream');
+ }
+
+ public function getMetadata($key = null)
+ {
+ return $key ? null : [];
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/BufferStream.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/BufferStream.php
new file mode 100644
index 00000000..af4d4c22
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/BufferStream.php
@@ -0,0 +1,137 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * Provides a buffer stream that can be written to to fill a buffer, and read
+ * from to remove bytes from the buffer.
+ *
+ * This stream returns a "hwm" metadata value that tells upstream consumers
+ * what the configured high water mark of the stream is, or the maximum
+ * preferred size of the buffer.
+ */
+class BufferStream implements StreamInterface
+{
+ private $hwm;
+ private $buffer = '';
+
+ /**
+ * @param int $hwm High water mark, representing the preferred maximum
+ * buffer size. If the size of the buffer exceeds the high
+ * water mark, then calls to write will continue to succeed
+ * but will return false to inform writers to slow down
+ * until the buffer has been drained by reading from it.
+ */
+ public function __construct($hwm = 16384)
+ {
+ $this->hwm = $hwm;
+ }
+
+ public function __toString()
+ {
+ return $this->getContents();
+ }
+
+ public function getContents()
+ {
+ $buffer = $this->buffer;
+ $this->buffer = '';
+
+ return $buffer;
+ }
+
+ public function close()
+ {
+ $this->buffer = '';
+ }
+
+ public function detach()
+ {
+ $this->close();
+ }
+
+ public function getSize()
+ {
+ return strlen($this->buffer);
+ }
+
+ public function isReadable()
+ {
+ return true;
+ }
+
+ public function isWritable()
+ {
+ return true;
+ }
+
+ public function isSeekable()
+ {
+ return false;
+ }
+
+ public function rewind()
+ {
+ $this->seek(0);
+ }
+
+ public function seek($offset, $whence = SEEK_SET)
+ {
+ throw new \RuntimeException('Cannot seek a BufferStream');
+ }
+
+ public function eof()
+ {
+ return strlen($this->buffer) === 0;
+ }
+
+ public function tell()
+ {
+ throw new \RuntimeException('Cannot determine the position of a BufferStream');
+ }
+
+ /**
+ * Reads data from the buffer.
+ */
+ public function read($length)
+ {
+ $currentLength = strlen($this->buffer);
+
+ if ($length >= $currentLength) {
+ // No need to slice the buffer because we don't have enough data.
+ $result = $this->buffer;
+ $this->buffer = '';
+ } else {
+ // Slice up the result to provide a subset of the buffer.
+ $result = substr($this->buffer, 0, $length);
+ $this->buffer = substr($this->buffer, $length);
+ }
+
+ return $result;
+ }
+
+ /**
+ * Writes data to the buffer.
+ */
+ public function write($string)
+ {
+ $this->buffer .= $string;
+
+ // TODO: What should happen here?
+ if (strlen($this->buffer) >= $this->hwm) {
+ return false;
+ }
+
+ return strlen($string);
+ }
+
+ public function getMetadata($key = null)
+ {
+ if ($key == 'hwm') {
+ return $this->hwm;
+ }
+
+ return $key ? null : [];
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/CachingStream.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/CachingStream.php
new file mode 100644
index 00000000..ed68f086
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/CachingStream.php
@@ -0,0 +1,138 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * Stream decorator that can cache previously read bytes from a sequentially
+ * read stream.
+ */
+class CachingStream implements StreamInterface
+{
+ use StreamDecoratorTrait;
+
+ /** @var StreamInterface Stream being wrapped */
+ private $remoteStream;
+
+ /** @var int Number of bytes to skip reading due to a write on the buffer */
+ private $skipReadBytes = 0;
+
+ /**
+ * We will treat the buffer object as the body of the stream
+ *
+ * @param StreamInterface $stream Stream to cache
+ * @param StreamInterface $target Optionally specify where data is cached
+ */
+ public function __construct(
+ StreamInterface $stream,
+ StreamInterface $target = null
+ ) {
+ $this->remoteStream = $stream;
+ $this->stream = $target ?: new Stream(fopen('php://temp', 'r+'));
+ }
+
+ public function getSize()
+ {
+ return max($this->stream->getSize(), $this->remoteStream->getSize());
+ }
+
+ public function rewind()
+ {
+ $this->seek(0);
+ }
+
+ public function seek($offset, $whence = SEEK_SET)
+ {
+ if ($whence == SEEK_SET) {
+ $byte = $offset;
+ } elseif ($whence == SEEK_CUR) {
+ $byte = $offset + $this->tell();
+ } elseif ($whence == SEEK_END) {
+ $size = $this->remoteStream->getSize();
+ if ($size === null) {
+ $size = $this->cacheEntireStream();
+ }
+ $byte = $size + $offset;
+ } else {
+ throw new \InvalidArgumentException('Invalid whence');
+ }
+
+ $diff = $byte - $this->stream->getSize();
+
+ if ($diff > 0) {
+ // Read the remoteStream until we have read in at least the amount
+ // of bytes requested, or we reach the end of the file.
+ while ($diff > 0 && !$this->remoteStream->eof()) {
+ $this->read($diff);
+ $diff = $byte - $this->stream->getSize();
+ }
+ } else {
+ // We can just do a normal seek since we've already seen this byte.
+ $this->stream->seek($byte);
+ }
+ }
+
+ public function read($length)
+ {
+ // Perform a regular read on any previously read data from the buffer
+ $data = $this->stream->read($length);
+ $remaining = $length - strlen($data);
+
+ // More data was requested so read from the remote stream
+ if ($remaining) {
+ // If data was written to the buffer in a position that would have
+ // been filled from the remote stream, then we must skip bytes on
+ // the remote stream to emulate overwriting bytes from that
+ // position. This mimics the behavior of other PHP stream wrappers.
+ $remoteData = $this->remoteStream->read(
+ $remaining + $this->skipReadBytes
+ );
+
+ if ($this->skipReadBytes) {
+ $len = strlen($remoteData);
+ $remoteData = substr($remoteData, $this->skipReadBytes);
+ $this->skipReadBytes = max(0, $this->skipReadBytes - $len);
+ }
+
+ $data .= $remoteData;
+ $this->stream->write($remoteData);
+ }
+
+ return $data;
+ }
+
+ public function write($string)
+ {
+ // When appending to the end of the currently read stream, you'll want
+ // to skip bytes from being read from the remote stream to emulate
+ // other stream wrappers. Basically replacing bytes of data of a fixed
+ // length.
+ $overflow = (strlen($string) + $this->tell()) - $this->remoteStream->tell();
+ if ($overflow > 0) {
+ $this->skipReadBytes += $overflow;
+ }
+
+ return $this->stream->write($string);
+ }
+
+ public function eof()
+ {
+ return $this->stream->eof() && $this->remoteStream->eof();
+ }
+
+ /**
+ * Close both the remote stream and buffer stream
+ */
+ public function close()
+ {
+ $this->remoteStream->close() && $this->stream->close();
+ }
+
+ private function cacheEntireStream()
+ {
+ $target = new FnStream(['write' => 'strlen']);
+ copy_to_stream($this, $target);
+
+ return $this->tell();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/DroppingStream.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/DroppingStream.php
new file mode 100644
index 00000000..8935c80d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/DroppingStream.php
@@ -0,0 +1,42 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * Stream decorator that begins dropping data once the size of the underlying
+ * stream becomes too full.
+ */
+class DroppingStream implements StreamInterface
+{
+ use StreamDecoratorTrait;
+
+ private $maxLength;
+
+ /**
+ * @param StreamInterface $stream Underlying stream to decorate.
+ * @param int $maxLength Maximum size before dropping data.
+ */
+ public function __construct(StreamInterface $stream, $maxLength)
+ {
+ $this->stream = $stream;
+ $this->maxLength = $maxLength;
+ }
+
+ public function write($string)
+ {
+ $diff = $this->maxLength - $this->stream->getSize();
+
+ // Begin returning 0 when the underlying stream is too large.
+ if ($diff <= 0) {
+ return 0;
+ }
+
+ // Write the stream or a subset of the stream if needed.
+ if (strlen($string) < $diff) {
+ return $this->stream->write($string);
+ }
+
+ return $this->stream->write(substr($string, 0, $diff));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/FnStream.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/FnStream.php
new file mode 100644
index 00000000..cc9b4453
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/FnStream.php
@@ -0,0 +1,149 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * Compose stream implementations based on a hash of functions.
+ *
+ * Allows for easy testing and extension of a provided stream without needing
+ * to create a concrete class for a simple extension point.
+ */
+class FnStream implements StreamInterface
+{
+ /** @var array */
+ private $methods;
+
+ /** @var array Methods that must be implemented in the given array */
+ private static $slots = ['__toString', 'close', 'detach', 'rewind',
+ 'getSize', 'tell', 'eof', 'isSeekable', 'seek', 'isWritable', 'write',
+ 'isReadable', 'read', 'getContents', 'getMetadata'];
+
+ /**
+ * @param array $methods Hash of method name to a callable.
+ */
+ public function __construct(array $methods)
+ {
+ $this->methods = $methods;
+
+ // Create the functions on the class
+ foreach ($methods as $name => $fn) {
+ $this->{'_fn_' . $name} = $fn;
+ }
+ }
+
+ /**
+ * Lazily determine which methods are not implemented.
+ * @throws \BadMethodCallException
+ */
+ public function __get($name)
+ {
+ throw new \BadMethodCallException(str_replace('_fn_', '', $name)
+ . '() is not implemented in the FnStream');
+ }
+
+ /**
+ * The close method is called on the underlying stream only if possible.
+ */
+ public function __destruct()
+ {
+ if (isset($this->_fn_close)) {
+ call_user_func($this->_fn_close);
+ }
+ }
+
+ /**
+ * Adds custom functionality to an underlying stream by intercepting
+ * specific method calls.
+ *
+ * @param StreamInterface $stream Stream to decorate
+ * @param array $methods Hash of method name to a closure
+ *
+ * @return FnStream
+ */
+ public static function decorate(StreamInterface $stream, array $methods)
+ {
+ // If any of the required methods were not provided, then simply
+ // proxy to the decorated stream.
+ foreach (array_diff(self::$slots, array_keys($methods)) as $diff) {
+ $methods[$diff] = [$stream, $diff];
+ }
+
+ return new self($methods);
+ }
+
+ public function __toString()
+ {
+ return call_user_func($this->_fn___toString);
+ }
+
+ public function close()
+ {
+ return call_user_func($this->_fn_close);
+ }
+
+ public function detach()
+ {
+ return call_user_func($this->_fn_detach);
+ }
+
+ public function getSize()
+ {
+ return call_user_func($this->_fn_getSize);
+ }
+
+ public function tell()
+ {
+ return call_user_func($this->_fn_tell);
+ }
+
+ public function eof()
+ {
+ return call_user_func($this->_fn_eof);
+ }
+
+ public function isSeekable()
+ {
+ return call_user_func($this->_fn_isSeekable);
+ }
+
+ public function rewind()
+ {
+ call_user_func($this->_fn_rewind);
+ }
+
+ public function seek($offset, $whence = SEEK_SET)
+ {
+ call_user_func($this->_fn_seek, $offset, $whence);
+ }
+
+ public function isWritable()
+ {
+ return call_user_func($this->_fn_isWritable);
+ }
+
+ public function write($string)
+ {
+ return call_user_func($this->_fn_write, $string);
+ }
+
+ public function isReadable()
+ {
+ return call_user_func($this->_fn_isReadable);
+ }
+
+ public function read($length)
+ {
+ return call_user_func($this->_fn_read, $length);
+ }
+
+ public function getContents()
+ {
+ return call_user_func($this->_fn_getContents);
+ }
+
+ public function getMetadata($key = null)
+ {
+ return call_user_func($this->_fn_getMetadata, $key);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/InflateStream.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/InflateStream.php
new file mode 100644
index 00000000..0051d3fe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/InflateStream.php
@@ -0,0 +1,52 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * Uses PHP's zlib.inflate filter to inflate deflate or gzipped content.
+ *
+ * This stream decorator skips the first 10 bytes of the given stream to remove
+ * the gzip header, converts the provided stream to a PHP stream resource,
+ * then appends the zlib.inflate filter. The stream is then converted back
+ * to a Guzzle stream resource to be used as a Guzzle stream.
+ *
+ * @link http://tools.ietf.org/html/rfc1952
+ * @link http://php.net/manual/en/filters.compression.php
+ */
+class InflateStream implements StreamInterface
+{
+ use StreamDecoratorTrait;
+
+ public function __construct(StreamInterface $stream)
+ {
+ // read the first 10 bytes, ie. gzip header
+ $header = $stream->read(10);
+ $filenameHeaderLength = $this->getLengthOfPossibleFilenameHeader($stream, $header);
+ // Skip the header, that is 10 + length of filename + 1 (nil) bytes
+ $stream = new LimitStream($stream, -1, 10 + $filenameHeaderLength);
+ $resource = StreamWrapper::getResource($stream);
+ stream_filter_append($resource, 'zlib.inflate', STREAM_FILTER_READ);
+ $this->stream = new Stream($resource);
+ }
+
+ /**
+ * @param StreamInterface $stream
+ * @param $header
+ * @return int
+ */
+ private function getLengthOfPossibleFilenameHeader(StreamInterface $stream, $header)
+ {
+ $filename_header_length = 0;
+
+ if (substr(bin2hex($header), 6, 2) === '08') {
+ // we have a filename, read until nil
+ $filename_header_length = 1;
+ while ($stream->read(1) !== chr(0)) {
+ $filename_header_length++;
+ }
+ }
+
+ return $filename_header_length;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/LazyOpenStream.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/LazyOpenStream.php
new file mode 100644
index 00000000..02cec3af
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/LazyOpenStream.php
@@ -0,0 +1,39 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * Lazily reads or writes to a file that is opened only after an IO operation
+ * take place on the stream.
+ */
+class LazyOpenStream implements StreamInterface
+{
+ use StreamDecoratorTrait;
+
+ /** @var string File to open */
+ private $filename;
+
+ /** @var string $mode */
+ private $mode;
+
+ /**
+ * @param string $filename File to lazily open
+ * @param string $mode fopen mode to use when opening the stream
+ */
+ public function __construct($filename, $mode)
+ {
+ $this->filename = $filename;
+ $this->mode = $mode;
+ }
+
+ /**
+ * Creates the underlying stream lazily when required.
+ *
+ * @return StreamInterface
+ */
+ protected function createStream()
+ {
+ return stream_for(try_fopen($this->filename, $this->mode));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/LimitStream.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/LimitStream.php
new file mode 100644
index 00000000..3c13d4f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/LimitStream.php
@@ -0,0 +1,155 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\StreamInterface;
+
+
+/**
+ * Decorator used to return only a subset of a stream
+ */
+class LimitStream implements StreamInterface
+{
+ use StreamDecoratorTrait;
+
+ /** @var int Offset to start reading from */
+ private $offset;
+
+ /** @var int Limit the number of bytes that can be read */
+ private $limit;
+
+ /**
+ * @param StreamInterface $stream Stream to wrap
+ * @param int $limit Total number of bytes to allow to be read
+ * from the stream. Pass -1 for no limit.
+ * @param int $offset Position to seek to before reading (only
+ * works on seekable streams).
+ */
+ public function __construct(
+ StreamInterface $stream,
+ $limit = -1,
+ $offset = 0
+ ) {
+ $this->stream = $stream;
+ $this->setLimit($limit);
+ $this->setOffset($offset);
+ }
+
+ public function eof()
+ {
+ // Always return true if the underlying stream is EOF
+ if ($this->stream->eof()) {
+ return true;
+ }
+
+ // No limit and the underlying stream is not at EOF
+ if ($this->limit == -1) {
+ return false;
+ }
+
+ return $this->stream->tell() >= $this->offset + $this->limit;
+ }
+
+ /**
+ * Returns the size of the limited subset of data
+ * {@inheritdoc}
+ */
+ public function getSize()
+ {
+ if (null === ($length = $this->stream->getSize())) {
+ return null;
+ } elseif ($this->limit == -1) {
+ return $length - $this->offset;
+ } else {
+ return min($this->limit, $length - $this->offset);
+ }
+ }
+
+ /**
+ * Allow for a bounded seek on the read limited stream
+ * {@inheritdoc}
+ */
+ public function seek($offset, $whence = SEEK_SET)
+ {
+ if ($whence !== SEEK_SET || $offset < 0) {
+ throw new \RuntimeException(sprintf(
+ 'Cannot seek to offset % with whence %s',
+ $offset,
+ $whence
+ ));
+ }
+
+ $offset += $this->offset;
+
+ if ($this->limit !== -1) {
+ if ($offset > $this->offset + $this->limit) {
+ $offset = $this->offset + $this->limit;
+ }
+ }
+
+ $this->stream->seek($offset);
+ }
+
+ /**
+ * Give a relative tell()
+ * {@inheritdoc}
+ */
+ public function tell()
+ {
+ return $this->stream->tell() - $this->offset;
+ }
+
+ /**
+ * Set the offset to start limiting from
+ *
+ * @param int $offset Offset to seek to and begin byte limiting from
+ *
+ * @throws \RuntimeException if the stream cannot be seeked.
+ */
+ public function setOffset($offset)
+ {
+ $current = $this->stream->tell();
+
+ if ($current !== $offset) {
+ // If the stream cannot seek to the offset position, then read to it
+ if ($this->stream->isSeekable()) {
+ $this->stream->seek($offset);
+ } elseif ($current > $offset) {
+ throw new \RuntimeException("Could not seek to stream offset $offset");
+ } else {
+ $this->stream->read($offset - $current);
+ }
+ }
+
+ $this->offset = $offset;
+ }
+
+ /**
+ * Set the limit of bytes that the decorator allows to be read from the
+ * stream.
+ *
+ * @param int $limit Number of bytes to allow to be read from the stream.
+ * Use -1 for no limit.
+ */
+ public function setLimit($limit)
+ {
+ $this->limit = $limit;
+ }
+
+ public function read($length)
+ {
+ if ($this->limit == -1) {
+ return $this->stream->read($length);
+ }
+
+ // Check if the current position is less than the total allowed
+ // bytes + original offset
+ $remaining = ($this->offset + $this->limit) - $this->stream->tell();
+ if ($remaining > 0) {
+ // Only return the amount of requested data, ensuring that the byte
+ // limit is not exceeded
+ return $this->stream->read(min($remaining, $length));
+ }
+
+ return '';
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/MessageTrait.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/MessageTrait.php
new file mode 100644
index 00000000..1e4da649
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/MessageTrait.php
@@ -0,0 +1,183 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * Trait implementing functionality common to requests and responses.
+ */
+trait MessageTrait
+{
+ /** @var array Map of all registered headers, as original name => array of values */
+ private $headers = [];
+
+ /** @var array Map of lowercase header name => original name at registration */
+ private $headerNames = [];
+
+ /** @var string */
+ private $protocol = '1.1';
+
+ /** @var StreamInterface */
+ private $stream;
+
+ public function getProtocolVersion()
+ {
+ return $this->protocol;
+ }
+
+ public function withProtocolVersion($version)
+ {
+ if ($this->protocol === $version) {
+ return $this;
+ }
+
+ $new = clone $this;
+ $new->protocol = $version;
+ return $new;
+ }
+
+ public function getHeaders()
+ {
+ return $this->headers;
+ }
+
+ public function hasHeader($header)
+ {
+ return isset($this->headerNames[strtolower($header)]);
+ }
+
+ public function getHeader($header)
+ {
+ $header = strtolower($header);
+
+ if (!isset($this->headerNames[$header])) {
+ return [];
+ }
+
+ $header = $this->headerNames[$header];
+
+ return $this->headers[$header];
+ }
+
+ public function getHeaderLine($header)
+ {
+ return implode(', ', $this->getHeader($header));
+ }
+
+ public function withHeader($header, $value)
+ {
+ if (!is_array($value)) {
+ $value = [$value];
+ }
+
+ $value = $this->trimHeaderValues($value);
+ $normalized = strtolower($header);
+
+ $new = clone $this;
+ if (isset($new->headerNames[$normalized])) {
+ unset($new->headers[$new->headerNames[$normalized]]);
+ }
+ $new->headerNames[$normalized] = $header;
+ $new->headers[$header] = $value;
+
+ return $new;
+ }
+
+ public function withAddedHeader($header, $value)
+ {
+ if (!is_array($value)) {
+ $value = [$value];
+ }
+
+ $value = $this->trimHeaderValues($value);
+ $normalized = strtolower($header);
+
+ $new = clone $this;
+ if (isset($new->headerNames[$normalized])) {
+ $header = $this->headerNames[$normalized];
+ $new->headers[$header] = array_merge($this->headers[$header], $value);
+ } else {
+ $new->headerNames[$normalized] = $header;
+ $new->headers[$header] = $value;
+ }
+
+ return $new;
+ }
+
+ public function withoutHeader($header)
+ {
+ $normalized = strtolower($header);
+
+ if (!isset($this->headerNames[$normalized])) {
+ return $this;
+ }
+
+ $header = $this->headerNames[$normalized];
+
+ $new = clone $this;
+ unset($new->headers[$header], $new->headerNames[$normalized]);
+
+ return $new;
+ }
+
+ public function getBody()
+ {
+ if (!$this->stream) {
+ $this->stream = stream_for('');
+ }
+
+ return $this->stream;
+ }
+
+ public function withBody(StreamInterface $body)
+ {
+ if ($body === $this->stream) {
+ return $this;
+ }
+
+ $new = clone $this;
+ $new->stream = $body;
+ return $new;
+ }
+
+ private function setHeaders(array $headers)
+ {
+ $this->headerNames = $this->headers = [];
+ foreach ($headers as $header => $value) {
+ if (!is_array($value)) {
+ $value = [$value];
+ }
+
+ $value = $this->trimHeaderValues($value);
+ $normalized = strtolower($header);
+ if (isset($this->headerNames[$normalized])) {
+ $header = $this->headerNames[$normalized];
+ $this->headers[$header] = array_merge($this->headers[$header], $value);
+ } else {
+ $this->headerNames[$normalized] = $header;
+ $this->headers[$header] = $value;
+ }
+ }
+ }
+
+ /**
+ * Trims whitespace from the header values.
+ *
+ * Spaces and tabs ought to be excluded by parsers when extracting the field value from a header field.
+ *
+ * header-field = field-name ":" OWS field-value OWS
+ * OWS = *( SP / HTAB )
+ *
+ * @param string[] $values Header values
+ *
+ * @return string[] Trimmed header values
+ *
+ * @see https://tools.ietf.org/html/rfc7230#section-3.2.4
+ */
+ private function trimHeaderValues(array $values)
+ {
+ return array_map(function ($value) {
+ return trim($value, " \t");
+ }, $values);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/MultipartStream.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/MultipartStream.php
new file mode 100644
index 00000000..c0fd584f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/MultipartStream.php
@@ -0,0 +1,153 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * Stream that when read returns bytes for a streaming multipart or
+ * multipart/form-data stream.
+ */
+class MultipartStream implements StreamInterface
+{
+ use StreamDecoratorTrait;
+
+ private $boundary;
+
+ /**
+ * @param array $elements Array of associative arrays, each containing a
+ * required "name" key mapping to the form field,
+ * name, a required "contents" key mapping to a
+ * StreamInterface/resource/string, an optional
+ * "headers" associative array of custom headers,
+ * and an optional "filename" key mapping to a
+ * string to send as the filename in the part.
+ * @param string $boundary You can optionally provide a specific boundary
+ *
+ * @throws \InvalidArgumentException
+ */
+ public function __construct(array $elements = [], $boundary = null)
+ {
+ $this->boundary = $boundary ?: sha1(uniqid('', true));
+ $this->stream = $this->createStream($elements);
+ }
+
+ /**
+ * Get the boundary
+ *
+ * @return string
+ */
+ public function getBoundary()
+ {
+ return $this->boundary;
+ }
+
+ public function isWritable()
+ {
+ return false;
+ }
+
+ /**
+ * Get the headers needed before transferring the content of a POST file
+ */
+ private function getHeaders(array $headers)
+ {
+ $str = '';
+ foreach ($headers as $key => $value) {
+ $str .= "{$key}: {$value}\r\n";
+ }
+
+ return "--{$this->boundary}\r\n" . trim($str) . "\r\n\r\n";
+ }
+
+ /**
+ * Create the aggregate stream that will be used to upload the POST data
+ */
+ protected function createStream(array $elements)
+ {
+ $stream = new AppendStream();
+
+ foreach ($elements as $element) {
+ $this->addElement($stream, $element);
+ }
+
+ // Add the trailing boundary with CRLF
+ $stream->addStream(stream_for("--{$this->boundary}--\r\n"));
+
+ return $stream;
+ }
+
+ private function addElement(AppendStream $stream, array $element)
+ {
+ foreach (['contents', 'name'] as $key) {
+ if (!array_key_exists($key, $element)) {
+ throw new \InvalidArgumentException("A '{$key}' key is required");
+ }
+ }
+
+ $element['contents'] = stream_for($element['contents']);
+
+ if (empty($element['filename'])) {
+ $uri = $element['contents']->getMetadata('uri');
+ if (substr($uri, 0, 6) !== 'php://') {
+ $element['filename'] = $uri;
+ }
+ }
+
+ list($body, $headers) = $this->createElement(
+ $element['name'],
+ $element['contents'],
+ isset($element['filename']) ? $element['filename'] : null,
+ isset($element['headers']) ? $element['headers'] : []
+ );
+
+ $stream->addStream(stream_for($this->getHeaders($headers)));
+ $stream->addStream($body);
+ $stream->addStream(stream_for("\r\n"));
+ }
+
+ /**
+ * @return array
+ */
+ private function createElement($name, StreamInterface $stream, $filename, array $headers)
+ {
+ // Set a default content-disposition header if one was no provided
+ $disposition = $this->getHeader($headers, 'content-disposition');
+ if (!$disposition) {
+ $headers['Content-Disposition'] = ($filename === '0' || $filename)
+ ? sprintf('form-data; name="%s"; filename="%s"',
+ $name,
+ basename($filename))
+ : "form-data; name=\"{$name}\"";
+ }
+
+ // Set a default content-length header if one was no provided
+ $length = $this->getHeader($headers, 'content-length');
+ if (!$length) {
+ if ($length = $stream->getSize()) {
+ $headers['Content-Length'] = (string) $length;
+ }
+ }
+
+ // Set a default Content-Type if one was not supplied
+ $type = $this->getHeader($headers, 'content-type');
+ if (!$type && ($filename === '0' || $filename)) {
+ if ($type = mimetype_from_filename($filename)) {
+ $headers['Content-Type'] = $type;
+ }
+ }
+
+ return [$stream, $headers];
+ }
+
+ private function getHeader(array $headers, $key)
+ {
+ $lowercaseHeader = strtolower($key);
+ foreach ($headers as $k => $v) {
+ if (strtolower($k) === $lowercaseHeader) {
+ return $v;
+ }
+ }
+
+ return null;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/NoSeekStream.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/NoSeekStream.php
new file mode 100644
index 00000000..23322180
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/NoSeekStream.php
@@ -0,0 +1,22 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * Stream decorator that prevents a stream from being seeked
+ */
+class NoSeekStream implements StreamInterface
+{
+ use StreamDecoratorTrait;
+
+ public function seek($offset, $whence = SEEK_SET)
+ {
+ throw new \RuntimeException('Cannot seek a NoSeekStream');
+ }
+
+ public function isSeekable()
+ {
+ return false;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/PumpStream.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/PumpStream.php
new file mode 100644
index 00000000..ffb5440d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/PumpStream.php
@@ -0,0 +1,165 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * Provides a read only stream that pumps data from a PHP callable.
+ *
+ * When invoking the provided callable, the PumpStream will pass the amount of
+ * data requested to read to the callable. The callable can choose to ignore
+ * this value and return fewer or more bytes than requested. Any extra data
+ * returned by the provided callable is buffered internally until drained using
+ * the read() function of the PumpStream. The provided callable MUST return
+ * false when there is no more data to read.
+ */
+class PumpStream implements StreamInterface
+{
+ /** @var callable */
+ private $source;
+
+ /** @var int */
+ private $size;
+
+ /** @var int */
+ private $tellPos = 0;
+
+ /** @var array */
+ private $metadata;
+
+ /** @var BufferStream */
+ private $buffer;
+
+ /**
+ * @param callable $source Source of the stream data. The callable MAY
+ * accept an integer argument used to control the
+ * amount of data to return. The callable MUST
+ * return a string when called, or false on error
+ * or EOF.
+ * @param array $options Stream options:
+ * - metadata: Hash of metadata to use with stream.
+ * - size: Size of the stream, if known.
+ */
+ public function __construct(callable $source, array $options = [])
+ {
+ $this->source = $source;
+ $this->size = isset($options['size']) ? $options['size'] : null;
+ $this->metadata = isset($options['metadata']) ? $options['metadata'] : [];
+ $this->buffer = new BufferStream();
+ }
+
+ public function __toString()
+ {
+ try {
+ return copy_to_string($this);
+ } catch (\Exception $e) {
+ return '';
+ }
+ }
+
+ public function close()
+ {
+ $this->detach();
+ }
+
+ public function detach()
+ {
+ $this->tellPos = false;
+ $this->source = null;
+ }
+
+ public function getSize()
+ {
+ return $this->size;
+ }
+
+ public function tell()
+ {
+ return $this->tellPos;
+ }
+
+ public function eof()
+ {
+ return !$this->source;
+ }
+
+ public function isSeekable()
+ {
+ return false;
+ }
+
+ public function rewind()
+ {
+ $this->seek(0);
+ }
+
+ public function seek($offset, $whence = SEEK_SET)
+ {
+ throw new \RuntimeException('Cannot seek a PumpStream');
+ }
+
+ public function isWritable()
+ {
+ return false;
+ }
+
+ public function write($string)
+ {
+ throw new \RuntimeException('Cannot write to a PumpStream');
+ }
+
+ public function isReadable()
+ {
+ return true;
+ }
+
+ public function read($length)
+ {
+ $data = $this->buffer->read($length);
+ $readLen = strlen($data);
+ $this->tellPos += $readLen;
+ $remaining = $length - $readLen;
+
+ if ($remaining) {
+ $this->pump($remaining);
+ $data .= $this->buffer->read($remaining);
+ $this->tellPos += strlen($data) - $readLen;
+ }
+
+ return $data;
+ }
+
+ public function getContents()
+ {
+ $result = '';
+ while (!$this->eof()) {
+ $result .= $this->read(1000000);
+ }
+
+ return $result;
+ }
+
+ public function getMetadata($key = null)
+ {
+ if (!$key) {
+ return $this->metadata;
+ }
+
+ return isset($this->metadata[$key]) ? $this->metadata[$key] : null;
+ }
+
+ private function pump($length)
+ {
+ if ($this->source) {
+ do {
+ $data = call_user_func($this->source, $length);
+ if ($data === false || $data === null) {
+ $this->source = null;
+ return;
+ }
+ $this->buffer->write($data);
+ $length -= strlen($data);
+ } while ($length > 0);
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/Request.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/Request.php
new file mode 100644
index 00000000..08285484
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/Request.php
@@ -0,0 +1,142 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use InvalidArgumentException;
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\StreamInterface;
+use Psr\Http\Message\UriInterface;
+
+/**
+ * PSR-7 request implementation.
+ */
+class Request implements RequestInterface
+{
+ use MessageTrait;
+
+ /** @var string */
+ private $method;
+
+ /** @var null|string */
+ private $requestTarget;
+
+ /** @var UriInterface */
+ private $uri;
+
+ /**
+ * @param string $method HTTP method
+ * @param string|UriInterface $uri URI
+ * @param array $headers Request headers
+ * @param string|null|resource|StreamInterface $body Request body
+ * @param string $version Protocol version
+ */
+ public function __construct(
+ $method,
+ $uri,
+ array $headers = [],
+ $body = null,
+ $version = '1.1'
+ ) {
+ if (!($uri instanceof UriInterface)) {
+ $uri = new Uri($uri);
+ }
+
+ $this->method = strtoupper($method);
+ $this->uri = $uri;
+ $this->setHeaders($headers);
+ $this->protocol = $version;
+
+ if (!$this->hasHeader('Host')) {
+ $this->updateHostFromUri();
+ }
+
+ if ($body !== '' && $body !== null) {
+ $this->stream = stream_for($body);
+ }
+ }
+
+ public function getRequestTarget()
+ {
+ if ($this->requestTarget !== null) {
+ return $this->requestTarget;
+ }
+
+ $target = $this->uri->getPath();
+ if ($target == '') {
+ $target = '/';
+ }
+ if ($this->uri->getQuery() != '') {
+ $target .= '?' . $this->uri->getQuery();
+ }
+
+ return $target;
+ }
+
+ public function withRequestTarget($requestTarget)
+ {
+ if (preg_match('#\s#', $requestTarget)) {
+ throw new InvalidArgumentException(
+ 'Invalid request target provided; cannot contain whitespace'
+ );
+ }
+
+ $new = clone $this;
+ $new->requestTarget = $requestTarget;
+ return $new;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+
+ public function withMethod($method)
+ {
+ $new = clone $this;
+ $new->method = strtoupper($method);
+ return $new;
+ }
+
+ public function getUri()
+ {
+ return $this->uri;
+ }
+
+ public function withUri(UriInterface $uri, $preserveHost = false)
+ {
+ if ($uri === $this->uri) {
+ return $this;
+ }
+
+ $new = clone $this;
+ $new->uri = $uri;
+
+ if (!$preserveHost) {
+ $new->updateHostFromUri();
+ }
+
+ return $new;
+ }
+
+ private function updateHostFromUri()
+ {
+ $host = $this->uri->getHost();
+
+ if ($host == '') {
+ return;
+ }
+
+ if (($port = $this->uri->getPort()) !== null) {
+ $host .= ':' . $port;
+ }
+
+ if (isset($this->headerNames['host'])) {
+ $header = $this->headerNames['host'];
+ } else {
+ $header = 'Host';
+ $this->headerNames['host'] = 'Host';
+ }
+ // Ensure Host is the first header.
+ // See: http://tools.ietf.org/html/rfc7230#section-5.4
+ $this->headers = [$header => [$host]] + $this->headers;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/Response.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/Response.php
new file mode 100644
index 00000000..2830c6c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/Response.php
@@ -0,0 +1,132 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\ResponseInterface;
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * PSR-7 response implementation.
+ */
+class Response implements ResponseInterface
+{
+ use MessageTrait;
+
+ /** @var array Map of standard HTTP status code/reason phrases */
+ private static $phrases = [
+ 100 => 'Continue',
+ 101 => 'Switching Protocols',
+ 102 => 'Processing',
+ 200 => 'OK',
+ 201 => 'Created',
+ 202 => 'Accepted',
+ 203 => 'Non-Authoritative Information',
+ 204 => 'No Content',
+ 205 => 'Reset Content',
+ 206 => 'Partial Content',
+ 207 => 'Multi-status',
+ 208 => 'Already Reported',
+ 300 => 'Multiple Choices',
+ 301 => 'Moved Permanently',
+ 302 => 'Found',
+ 303 => 'See Other',
+ 304 => 'Not Modified',
+ 305 => 'Use Proxy',
+ 306 => 'Switch Proxy',
+ 307 => 'Temporary Redirect',
+ 400 => 'Bad Request',
+ 401 => 'Unauthorized',
+ 402 => 'Payment Required',
+ 403 => 'Forbidden',
+ 404 => 'Not Found',
+ 405 => 'Method Not Allowed',
+ 406 => 'Not Acceptable',
+ 407 => 'Proxy Authentication Required',
+ 408 => 'Request Time-out',
+ 409 => 'Conflict',
+ 410 => 'Gone',
+ 411 => 'Length Required',
+ 412 => 'Precondition Failed',
+ 413 => 'Request Entity Too Large',
+ 414 => 'Request-URI Too Large',
+ 415 => 'Unsupported Media Type',
+ 416 => 'Requested range not satisfiable',
+ 417 => 'Expectation Failed',
+ 418 => 'I\'m a teapot',
+ 422 => 'Unprocessable Entity',
+ 423 => 'Locked',
+ 424 => 'Failed Dependency',
+ 425 => 'Unordered Collection',
+ 426 => 'Upgrade Required',
+ 428 => 'Precondition Required',
+ 429 => 'Too Many Requests',
+ 431 => 'Request Header Fields Too Large',
+ 451 => 'Unavailable For Legal Reasons',
+ 500 => 'Internal Server Error',
+ 501 => 'Not Implemented',
+ 502 => 'Bad Gateway',
+ 503 => 'Service Unavailable',
+ 504 => 'Gateway Time-out',
+ 505 => 'HTTP Version not supported',
+ 506 => 'Variant Also Negotiates',
+ 507 => 'Insufficient Storage',
+ 508 => 'Loop Detected',
+ 511 => 'Network Authentication Required',
+ ];
+
+ /** @var string */
+ private $reasonPhrase = '';
+
+ /** @var int */
+ private $statusCode = 200;
+
+ /**
+ * @param int $status Status code
+ * @param array $headers Response headers
+ * @param string|null|resource|StreamInterface $body Response body
+ * @param string $version Protocol version
+ * @param string|null $reason Reason phrase (when empty a default will be used based on the status code)
+ */
+ public function __construct(
+ $status = 200,
+ array $headers = [],
+ $body = null,
+ $version = '1.1',
+ $reason = null
+ ) {
+ $this->statusCode = (int) $status;
+
+ if ($body !== '' && $body !== null) {
+ $this->stream = stream_for($body);
+ }
+
+ $this->setHeaders($headers);
+ if ($reason == '' && isset(self::$phrases[$this->statusCode])) {
+ $this->reasonPhrase = self::$phrases[$this->statusCode];
+ } else {
+ $this->reasonPhrase = (string) $reason;
+ }
+
+ $this->protocol = $version;
+ }
+
+ public function getStatusCode()
+ {
+ return $this->statusCode;
+ }
+
+ public function getReasonPhrase()
+ {
+ return $this->reasonPhrase;
+ }
+
+ public function withStatus($code, $reasonPhrase = '')
+ {
+ $new = clone $this;
+ $new->statusCode = (int) $code;
+ if ($reasonPhrase == '' && isset(self::$phrases[$new->statusCode])) {
+ $reasonPhrase = self::$phrases[$new->statusCode];
+ }
+ $new->reasonPhrase = $reasonPhrase;
+ return $new;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/ServerRequest.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/ServerRequest.php
new file mode 100644
index 00000000..575aab84
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/ServerRequest.php
@@ -0,0 +1,358 @@
+<?php
+
+namespace GuzzleHttp\Psr7;
+
+use InvalidArgumentException;
+use Psr\Http\Message\ServerRequestInterface;
+use Psr\Http\Message\UriInterface;
+use Psr\Http\Message\StreamInterface;
+use Psr\Http\Message\UploadedFileInterface;
+
+/**
+ * Server-side HTTP request
+ *
+ * Extends the Request definition to add methods for accessing incoming data,
+ * specifically server parameters, cookies, matched path parameters, query
+ * string arguments, body parameters, and upload file information.
+ *
+ * "Attributes" are discovered via decomposing the request (and usually
+ * specifically the URI path), and typically will be injected by the application.
+ *
+ * Requests are considered immutable; all methods that might change state are
+ * implemented such that they retain the internal state of the current
+ * message and return a new instance that contains the changed state.
+ */
+class ServerRequest extends Request implements ServerRequestInterface
+{
+ /**
+ * @var array
+ */
+ private $attributes = [];
+
+ /**
+ * @var array
+ */
+ private $cookieParams = [];
+
+ /**
+ * @var null|array|object
+ */
+ private $parsedBody;
+
+ /**
+ * @var array
+ */
+ private $queryParams = [];
+
+ /**
+ * @var array
+ */
+ private $serverParams;
+
+ /**
+ * @var array
+ */
+ private $uploadedFiles = [];
+
+ /**
+ * @param string $method HTTP method
+ * @param string|UriInterface $uri URI
+ * @param array $headers Request headers
+ * @param string|null|resource|StreamInterface $body Request body
+ * @param string $version Protocol version
+ * @param array $serverParams Typically the $_SERVER superglobal
+ */
+ public function __construct(
+ $method,
+ $uri,
+ array $headers = [],
+ $body = null,
+ $version = '1.1',
+ array $serverParams = []
+ ) {
+ $this->serverParams = $serverParams;
+
+ parent::__construct($method, $uri, $headers, $body, $version);
+ }
+
+ /**
+ * Return an UploadedFile instance array.
+ *
+ * @param array $files A array which respect $_FILES structure
+ * @throws InvalidArgumentException for unrecognized values
+ * @return array
+ */
+ public static function normalizeFiles(array $files)
+ {
+ $normalized = [];
+
+ foreach ($files as $key => $value) {
+ if ($value instanceof UploadedFileInterface) {
+ $normalized[$key] = $value;
+ } elseif (is_array($value) && isset($value['tmp_name'])) {
+ $normalized[$key] = self::createUploadedFileFromSpec($value);
+ } elseif (is_array($value)) {
+ $normalized[$key] = self::normalizeFiles($value);
+ continue;
+ } else {
+ throw new InvalidArgumentException('Invalid value in files specification');
+ }
+ }
+
+ return $normalized;
+ }
+
+ /**
+ * Create and return an UploadedFile instance from a $_FILES specification.
+ *
+ * If the specification represents an array of values, this method will
+ * delegate to normalizeNestedFileSpec() and return that return value.
+ *
+ * @param array $value $_FILES struct
+ * @return array|UploadedFileInterface
+ */
+ private static function createUploadedFileFromSpec(array $value)
+ {
+ if (is_array($value['tmp_name'])) {
+ return self::normalizeNestedFileSpec($value);
+ }
+
+ return new UploadedFile(
+ $value['tmp_name'],
+ (int) $value['size'],
+ (int) $value['error'],
+ $value['name'],
+ $value['type']
+ );
+ }
+
+ /**
+ * Normalize an array of file specifications.
+ *
+ * Loops through all nested files and returns a normalized array of
+ * UploadedFileInterface instances.
+ *
+ * @param array $files
+ * @return UploadedFileInterface[]
+ */
+ private static function normalizeNestedFileSpec(array $files = [])
+ {
+ $normalizedFiles = [];
+
+ foreach (array_keys($files['tmp_name']) as $key) {
+ $spec = [
+ 'tmp_name' => $files['tmp_name'][$key],
+ 'size' => $files['size'][$key],
+ 'error' => $files['error'][$key],
+ 'name' => $files['name'][$key],
+ 'type' => $files['type'][$key],
+ ];
+ $normalizedFiles[$key] = self::createUploadedFileFromSpec($spec);
+ }
+
+ return $normalizedFiles;
+ }
+
+ /**
+ * Return a ServerRequest populated with superglobals:
+ * $_GET
+ * $_POST
+ * $_COOKIE
+ * $_FILES
+ * $_SERVER
+ *
+ * @return ServerRequestInterface
+ */
+ public static function fromGlobals()
+ {
+ $method = isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] : 'GET';
+ $headers = function_exists('getallheaders') ? getallheaders() : [];
+ $uri = self::getUriFromGlobals();
+ $body = new LazyOpenStream('php://input', 'r+');
+ $protocol = isset($_SERVER['SERVER_PROTOCOL']) ? str_replace('HTTP/', '', $_SERVER['SERVER_PROTOCOL']) : '1.1';
+
+ $serverRequest = new ServerRequest($method, $uri, $headers, $body, $protocol, $_SERVER);
+
+ return $serverRequest
+ ->withCookieParams($_COOKIE)
+ ->withQueryParams($_GET)
+ ->withParsedBody($_POST)
+ ->withUploadedFiles(self::normalizeFiles($_FILES));
+ }
+
+ /**
+ * Get a Uri populated with values from $_SERVER.
+ *
+ * @return UriInterface
+ */
+ public static function getUriFromGlobals() {
+ $uri = new Uri('');
+
+ $uri = $uri->withScheme(!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' ? 'https' : 'http');
+
+ $hasPort = false;
+ if (isset($_SERVER['HTTP_HOST'])) {
+ $hostHeaderParts = explode(':', $_SERVER['HTTP_HOST']);
+ $uri = $uri->withHost($hostHeaderParts[0]);
+ if (isset($hostHeaderParts[1])) {
+ $hasPort = true;
+ $uri = $uri->withPort($hostHeaderParts[1]);
+ }
+ } elseif (isset($_SERVER['SERVER_NAME'])) {
+ $uri = $uri->withHost($_SERVER['SERVER_NAME']);
+ } elseif (isset($_SERVER['SERVER_ADDR'])) {
+ $uri = $uri->withHost($_SERVER['SERVER_ADDR']);
+ }
+
+ if (!$hasPort && isset($_SERVER['SERVER_PORT'])) {
+ $uri = $uri->withPort($_SERVER['SERVER_PORT']);
+ }
+
+ $hasQuery = false;
+ if (isset($_SERVER['REQUEST_URI'])) {
+ $requestUriParts = explode('?', $_SERVER['REQUEST_URI']);
+ $uri = $uri->withPath($requestUriParts[0]);
+ if (isset($requestUriParts[1])) {
+ $hasQuery = true;
+ $uri = $uri->withQuery($requestUriParts[1]);
+ }
+ }
+
+ if (!$hasQuery && isset($_SERVER['QUERY_STRING'])) {
+ $uri = $uri->withQuery($_SERVER['QUERY_STRING']);
+ }
+
+ return $uri;
+ }
+
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getServerParams()
+ {
+ return $this->serverParams;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getUploadedFiles()
+ {
+ return $this->uploadedFiles;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function withUploadedFiles(array $uploadedFiles)
+ {
+ $new = clone $this;
+ $new->uploadedFiles = $uploadedFiles;
+
+ return $new;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getCookieParams()
+ {
+ return $this->cookieParams;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function withCookieParams(array $cookies)
+ {
+ $new = clone $this;
+ $new->cookieParams = $cookies;
+
+ return $new;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getQueryParams()
+ {
+ return $this->queryParams;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function withQueryParams(array $query)
+ {
+ $new = clone $this;
+ $new->queryParams = $query;
+
+ return $new;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getParsedBody()
+ {
+ return $this->parsedBody;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function withParsedBody($data)
+ {
+ $new = clone $this;
+ $new->parsedBody = $data;
+
+ return $new;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getAttribute($attribute, $default = null)
+ {
+ if (false === array_key_exists($attribute, $this->attributes)) {
+ return $default;
+ }
+
+ return $this->attributes[$attribute];
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function withAttribute($attribute, $value)
+ {
+ $new = clone $this;
+ $new->attributes[$attribute] = $value;
+
+ return $new;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function withoutAttribute($attribute)
+ {
+ if (false === array_key_exists($attribute, $this->attributes)) {
+ return $this;
+ }
+
+ $new = clone $this;
+ unset($new->attributes[$attribute]);
+
+ return $new;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/Stream.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/Stream.php
new file mode 100644
index 00000000..e3366287
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/Stream.php
@@ -0,0 +1,257 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * PHP stream implementation.
+ *
+ * @var $stream
+ */
+class Stream implements StreamInterface
+{
+ private $stream;
+ private $size;
+ private $seekable;
+ private $readable;
+ private $writable;
+ private $uri;
+ private $customMetadata;
+
+ /** @var array Hash of readable and writable stream types */
+ private static $readWriteHash = [
+ 'read' => [
+ 'r' => true, 'w+' => true, 'r+' => true, 'x+' => true, 'c+' => true,
+ 'rb' => true, 'w+b' => true, 'r+b' => true, 'x+b' => true,
+ 'c+b' => true, 'rt' => true, 'w+t' => true, 'r+t' => true,
+ 'x+t' => true, 'c+t' => true, 'a+' => true
+ ],
+ 'write' => [
+ 'w' => true, 'w+' => true, 'rw' => true, 'r+' => true, 'x+' => true,
+ 'c+' => true, 'wb' => true, 'w+b' => true, 'r+b' => true,
+ 'x+b' => true, 'c+b' => true, 'w+t' => true, 'r+t' => true,
+ 'x+t' => true, 'c+t' => true, 'a' => true, 'a+' => true
+ ]
+ ];
+
+ /**
+ * This constructor accepts an associative array of options.
+ *
+ * - size: (int) If a read stream would otherwise have an indeterminate
+ * size, but the size is known due to foreknowledge, then you can
+ * provide that size, in bytes.
+ * - metadata: (array) Any additional metadata to return when the metadata
+ * of the stream is accessed.
+ *
+ * @param resource $stream Stream resource to wrap.
+ * @param array $options Associative array of options.
+ *
+ * @throws \InvalidArgumentException if the stream is not a stream resource
+ */
+ public function __construct($stream, $options = [])
+ {
+ if (!is_resource($stream)) {
+ throw new \InvalidArgumentException('Stream must be a resource');
+ }
+
+ if (isset($options['size'])) {
+ $this->size = $options['size'];
+ }
+
+ $this->customMetadata = isset($options['metadata'])
+ ? $options['metadata']
+ : [];
+
+ $this->stream = $stream;
+ $meta = stream_get_meta_data($this->stream);
+ $this->seekable = $meta['seekable'];
+ $this->readable = isset(self::$readWriteHash['read'][$meta['mode']]);
+ $this->writable = isset(self::$readWriteHash['write'][$meta['mode']]);
+ $this->uri = $this->getMetadata('uri');
+ }
+
+ public function __get($name)
+ {
+ if ($name == 'stream') {
+ throw new \RuntimeException('The stream is detached');
+ }
+
+ throw new \BadMethodCallException('No value for ' . $name);
+ }
+
+ /**
+ * Closes the stream when the destructed
+ */
+ public function __destruct()
+ {
+ $this->close();
+ }
+
+ public function __toString()
+ {
+ try {
+ $this->seek(0);
+ return (string) stream_get_contents($this->stream);
+ } catch (\Exception $e) {
+ return '';
+ }
+ }
+
+ public function getContents()
+ {
+ $contents = stream_get_contents($this->stream);
+
+ if ($contents === false) {
+ throw new \RuntimeException('Unable to read stream contents');
+ }
+
+ return $contents;
+ }
+
+ public function close()
+ {
+ if (isset($this->stream)) {
+ if (is_resource($this->stream)) {
+ fclose($this->stream);
+ }
+ $this->detach();
+ }
+ }
+
+ public function detach()
+ {
+ if (!isset($this->stream)) {
+ return null;
+ }
+
+ $result = $this->stream;
+ unset($this->stream);
+ $this->size = $this->uri = null;
+ $this->readable = $this->writable = $this->seekable = false;
+
+ return $result;
+ }
+
+ public function getSize()
+ {
+ if ($this->size !== null) {
+ return $this->size;
+ }
+
+ if (!isset($this->stream)) {
+ return null;
+ }
+
+ // Clear the stat cache if the stream has a URI
+ if ($this->uri) {
+ clearstatcache(true, $this->uri);
+ }
+
+ $stats = fstat($this->stream);
+ if (isset($stats['size'])) {
+ $this->size = $stats['size'];
+ return $this->size;
+ }
+
+ return null;
+ }
+
+ public function isReadable()
+ {
+ return $this->readable;
+ }
+
+ public function isWritable()
+ {
+ return $this->writable;
+ }
+
+ public function isSeekable()
+ {
+ return $this->seekable;
+ }
+
+ public function eof()
+ {
+ return !$this->stream || feof($this->stream);
+ }
+
+ public function tell()
+ {
+ $result = ftell($this->stream);
+
+ if ($result === false) {
+ throw new \RuntimeException('Unable to determine stream position');
+ }
+
+ return $result;
+ }
+
+ public function rewind()
+ {
+ $this->seek(0);
+ }
+
+ public function seek($offset, $whence = SEEK_SET)
+ {
+ if (!$this->seekable) {
+ throw new \RuntimeException('Stream is not seekable');
+ } elseif (fseek($this->stream, $offset, $whence) === -1) {
+ throw new \RuntimeException('Unable to seek to stream position '
+ . $offset . ' with whence ' . var_export($whence, true));
+ }
+ }
+
+ public function read($length)
+ {
+ if (!$this->readable) {
+ throw new \RuntimeException('Cannot read from non-readable stream');
+ }
+ if ($length < 0) {
+ throw new \RuntimeException('Length parameter cannot be negative');
+ }
+
+ if (0 === $length) {
+ return '';
+ }
+
+ $string = fread($this->stream, $length);
+ if (false === $string) {
+ throw new \RuntimeException('Unable to read from stream');
+ }
+
+ return $string;
+ }
+
+ public function write($string)
+ {
+ if (!$this->writable) {
+ throw new \RuntimeException('Cannot write to a non-writable stream');
+ }
+
+ // We can't know the size after writing anything
+ $this->size = null;
+ $result = fwrite($this->stream, $string);
+
+ if ($result === false) {
+ throw new \RuntimeException('Unable to write to stream');
+ }
+
+ return $result;
+ }
+
+ public function getMetadata($key = null)
+ {
+ if (!isset($this->stream)) {
+ return $key ? null : [];
+ } elseif (!$key) {
+ return $this->customMetadata + stream_get_meta_data($this->stream);
+ } elseif (isset($this->customMetadata[$key])) {
+ return $this->customMetadata[$key];
+ }
+
+ $meta = stream_get_meta_data($this->stream);
+
+ return isset($meta[$key]) ? $meta[$key] : null;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/StreamDecoratorTrait.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/StreamDecoratorTrait.php
new file mode 100644
index 00000000..daec6f52
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/StreamDecoratorTrait.php
@@ -0,0 +1,149 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * Stream decorator trait
+ * @property StreamInterface stream
+ */
+trait StreamDecoratorTrait
+{
+ /**
+ * @param StreamInterface $stream Stream to decorate
+ */
+ public function __construct(StreamInterface $stream)
+ {
+ $this->stream = $stream;
+ }
+
+ /**
+ * Magic method used to create a new stream if streams are not added in
+ * the constructor of a decorator (e.g., LazyOpenStream).
+ *
+ * @param string $name Name of the property (allows "stream" only).
+ *
+ * @return StreamInterface
+ */
+ public function __get($name)
+ {
+ if ($name == 'stream') {
+ $this->stream = $this->createStream();
+ return $this->stream;
+ }
+
+ throw new \UnexpectedValueException("$name not found on class");
+ }
+
+ public function __toString()
+ {
+ try {
+ if ($this->isSeekable()) {
+ $this->seek(0);
+ }
+ return $this->getContents();
+ } catch (\Exception $e) {
+ // Really, PHP? https://bugs.php.net/bug.php?id=53648
+ trigger_error('StreamDecorator::__toString exception: '
+ . (string) $e, E_USER_ERROR);
+ return '';
+ }
+ }
+
+ public function getContents()
+ {
+ return copy_to_string($this);
+ }
+
+ /**
+ * Allow decorators to implement custom methods
+ *
+ * @param string $method Missing method name
+ * @param array $args Method arguments
+ *
+ * @return mixed
+ */
+ public function __call($method, array $args)
+ {
+ $result = call_user_func_array([$this->stream, $method], $args);
+
+ // Always return the wrapped object if the result is a return $this
+ return $result === $this->stream ? $this : $result;
+ }
+
+ public function close()
+ {
+ $this->stream->close();
+ }
+
+ public function getMetadata($key = null)
+ {
+ return $this->stream->getMetadata($key);
+ }
+
+ public function detach()
+ {
+ return $this->stream->detach();
+ }
+
+ public function getSize()
+ {
+ return $this->stream->getSize();
+ }
+
+ public function eof()
+ {
+ return $this->stream->eof();
+ }
+
+ public function tell()
+ {
+ return $this->stream->tell();
+ }
+
+ public function isReadable()
+ {
+ return $this->stream->isReadable();
+ }
+
+ public function isWritable()
+ {
+ return $this->stream->isWritable();
+ }
+
+ public function isSeekable()
+ {
+ return $this->stream->isSeekable();
+ }
+
+ public function rewind()
+ {
+ $this->seek(0);
+ }
+
+ public function seek($offset, $whence = SEEK_SET)
+ {
+ $this->stream->seek($offset, $whence);
+ }
+
+ public function read($length)
+ {
+ return $this->stream->read($length);
+ }
+
+ public function write($string)
+ {
+ return $this->stream->write($string);
+ }
+
+ /**
+ * Implement in subclasses to dynamically create streams when requested.
+ *
+ * @return StreamInterface
+ * @throws \BadMethodCallException
+ */
+ protected function createStream()
+ {
+ throw new \BadMethodCallException('Not implemented');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/StreamWrapper.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/StreamWrapper.php
new file mode 100644
index 00000000..cf7b2232
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/StreamWrapper.php
@@ -0,0 +1,121 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * Converts Guzzle streams into PHP stream resources.
+ */
+class StreamWrapper
+{
+ /** @var resource */
+ public $context;
+
+ /** @var StreamInterface */
+ private $stream;
+
+ /** @var string r, r+, or w */
+ private $mode;
+
+ /**
+ * Returns a resource representing the stream.
+ *
+ * @param StreamInterface $stream The stream to get a resource for
+ *
+ * @return resource
+ * @throws \InvalidArgumentException if stream is not readable or writable
+ */
+ public static function getResource(StreamInterface $stream)
+ {
+ self::register();
+
+ if ($stream->isReadable()) {
+ $mode = $stream->isWritable() ? 'r+' : 'r';
+ } elseif ($stream->isWritable()) {
+ $mode = 'w';
+ } else {
+ throw new \InvalidArgumentException('The stream must be readable, '
+ . 'writable, or both.');
+ }
+
+ return fopen('guzzle://stream', $mode, null, stream_context_create([
+ 'guzzle' => ['stream' => $stream]
+ ]));
+ }
+
+ /**
+ * Registers the stream wrapper if needed
+ */
+ public static function register()
+ {
+ if (!in_array('guzzle', stream_get_wrappers())) {
+ stream_wrapper_register('guzzle', __CLASS__);
+ }
+ }
+
+ public function stream_open($path, $mode, $options, &$opened_path)
+ {
+ $options = stream_context_get_options($this->context);
+
+ if (!isset($options['guzzle']['stream'])) {
+ return false;
+ }
+
+ $this->mode = $mode;
+ $this->stream = $options['guzzle']['stream'];
+
+ return true;
+ }
+
+ public function stream_read($count)
+ {
+ return $this->stream->read($count);
+ }
+
+ public function stream_write($data)
+ {
+ return (int) $this->stream->write($data);
+ }
+
+ public function stream_tell()
+ {
+ return $this->stream->tell();
+ }
+
+ public function stream_eof()
+ {
+ return $this->stream->eof();
+ }
+
+ public function stream_seek($offset, $whence)
+ {
+ $this->stream->seek($offset, $whence);
+
+ return true;
+ }
+
+ public function stream_stat()
+ {
+ static $modeMap = [
+ 'r' => 33060,
+ 'r+' => 33206,
+ 'w' => 33188
+ ];
+
+ return [
+ 'dev' => 0,
+ 'ino' => 0,
+ 'mode' => $modeMap[$this->mode],
+ 'nlink' => 0,
+ 'uid' => 0,
+ 'gid' => 0,
+ 'rdev' => 0,
+ 'size' => $this->stream->getSize() ?: 0,
+ 'atime' => 0,
+ 'mtime' => 0,
+ 'ctime' => 0,
+ 'blksize' => 0,
+ 'blocks' => 0
+ ];
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/UploadedFile.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/UploadedFile.php
new file mode 100644
index 00000000..e62bd5c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/UploadedFile.php
@@ -0,0 +1,316 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use InvalidArgumentException;
+use Psr\Http\Message\StreamInterface;
+use Psr\Http\Message\UploadedFileInterface;
+use RuntimeException;
+
+class UploadedFile implements UploadedFileInterface
+{
+ /**
+ * @var int[]
+ */
+ private static $errors = [
+ UPLOAD_ERR_OK,
+ UPLOAD_ERR_INI_SIZE,
+ UPLOAD_ERR_FORM_SIZE,
+ UPLOAD_ERR_PARTIAL,
+ UPLOAD_ERR_NO_FILE,
+ UPLOAD_ERR_NO_TMP_DIR,
+ UPLOAD_ERR_CANT_WRITE,
+ UPLOAD_ERR_EXTENSION,
+ ];
+
+ /**
+ * @var string
+ */
+ private $clientFilename;
+
+ /**
+ * @var string
+ */
+ private $clientMediaType;
+
+ /**
+ * @var int
+ */
+ private $error;
+
+ /**
+ * @var null|string
+ */
+ private $file;
+
+ /**
+ * @var bool
+ */
+ private $moved = false;
+
+ /**
+ * @var int
+ */
+ private $size;
+
+ /**
+ * @var StreamInterface|null
+ */
+ private $stream;
+
+ /**
+ * @param StreamInterface|string|resource $streamOrFile
+ * @param int $size
+ * @param int $errorStatus
+ * @param string|null $clientFilename
+ * @param string|null $clientMediaType
+ */
+ public function __construct(
+ $streamOrFile,
+ $size,
+ $errorStatus,
+ $clientFilename = null,
+ $clientMediaType = null
+ ) {
+ $this->setError($errorStatus);
+ $this->setSize($size);
+ $this->setClientFilename($clientFilename);
+ $this->setClientMediaType($clientMediaType);
+
+ if ($this->isOk()) {
+ $this->setStreamOrFile($streamOrFile);
+ }
+ }
+
+ /**
+ * Depending on the value set file or stream variable
+ *
+ * @param mixed $streamOrFile
+ * @throws InvalidArgumentException
+ */
+ private function setStreamOrFile($streamOrFile)
+ {
+ if (is_string($streamOrFile)) {
+ $this->file = $streamOrFile;
+ } elseif (is_resource($streamOrFile)) {
+ $this->stream = new Stream($streamOrFile);
+ } elseif ($streamOrFile instanceof StreamInterface) {
+ $this->stream = $streamOrFile;
+ } else {
+ throw new InvalidArgumentException(
+ 'Invalid stream or file provided for UploadedFile'
+ );
+ }
+ }
+
+ /**
+ * @param int $error
+ * @throws InvalidArgumentException
+ */
+ private function setError($error)
+ {
+ if (false === is_int($error)) {
+ throw new InvalidArgumentException(
+ 'Upload file error status must be an integer'
+ );
+ }
+
+ if (false === in_array($error, UploadedFile::$errors)) {
+ throw new InvalidArgumentException(
+ 'Invalid error status for UploadedFile'
+ );
+ }
+
+ $this->error = $error;
+ }
+
+ /**
+ * @param int $size
+ * @throws InvalidArgumentException
+ */
+ private function setSize($size)
+ {
+ if (false === is_int($size)) {
+ throw new InvalidArgumentException(
+ 'Upload file size must be an integer'
+ );
+ }
+
+ $this->size = $size;
+ }
+
+ /**
+ * @param mixed $param
+ * @return boolean
+ */
+ private function isStringOrNull($param)
+ {
+ return in_array(gettype($param), ['string', 'NULL']);
+ }
+
+ /**
+ * @param mixed $param
+ * @return boolean
+ */
+ private function isStringNotEmpty($param)
+ {
+ return is_string($param) && false === empty($param);
+ }
+
+ /**
+ * @param string|null $clientFilename
+ * @throws InvalidArgumentException
+ */
+ private function setClientFilename($clientFilename)
+ {
+ if (false === $this->isStringOrNull($clientFilename)) {
+ throw new InvalidArgumentException(
+ 'Upload file client filename must be a string or null'
+ );
+ }
+
+ $this->clientFilename = $clientFilename;
+ }
+
+ /**
+ * @param string|null $clientMediaType
+ * @throws InvalidArgumentException
+ */
+ private function setClientMediaType($clientMediaType)
+ {
+ if (false === $this->isStringOrNull($clientMediaType)) {
+ throw new InvalidArgumentException(
+ 'Upload file client media type must be a string or null'
+ );
+ }
+
+ $this->clientMediaType = $clientMediaType;
+ }
+
+ /**
+ * Return true if there is no upload error
+ *
+ * @return boolean
+ */
+ private function isOk()
+ {
+ return $this->error === UPLOAD_ERR_OK;
+ }
+
+ /**
+ * @return boolean
+ */
+ public function isMoved()
+ {
+ return $this->moved;
+ }
+
+ /**
+ * @throws RuntimeException if is moved or not ok
+ */
+ private function validateActive()
+ {
+ if (false === $this->isOk()) {
+ throw new RuntimeException('Cannot retrieve stream due to upload error');
+ }
+
+ if ($this->isMoved()) {
+ throw new RuntimeException('Cannot retrieve stream after it has already been moved');
+ }
+ }
+
+ /**
+ * {@inheritdoc}
+ * @throws RuntimeException if the upload was not successful.
+ */
+ public function getStream()
+ {
+ $this->validateActive();
+
+ if ($this->stream instanceof StreamInterface) {
+ return $this->stream;
+ }
+
+ return new LazyOpenStream($this->file, 'r+');
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @see http://php.net/is_uploaded_file
+ * @see http://php.net/move_uploaded_file
+ * @param string $targetPath Path to which to move the uploaded file.
+ * @throws RuntimeException if the upload was not successful.
+ * @throws InvalidArgumentException if the $path specified is invalid.
+ * @throws RuntimeException on any error during the move operation, or on
+ * the second or subsequent call to the method.
+ */
+ public function moveTo($targetPath)
+ {
+ $this->validateActive();
+
+ if (false === $this->isStringNotEmpty($targetPath)) {
+ throw new InvalidArgumentException(
+ 'Invalid path provided for move operation; must be a non-empty string'
+ );
+ }
+
+ if ($this->file) {
+ $this->moved = php_sapi_name() == 'cli'
+ ? rename($this->file, $targetPath)
+ : move_uploaded_file($this->file, $targetPath);
+ } else {
+ copy_to_stream(
+ $this->getStream(),
+ new LazyOpenStream($targetPath, 'w')
+ );
+
+ $this->moved = true;
+ }
+
+ if (false === $this->moved) {
+ throw new RuntimeException(
+ sprintf('Uploaded file could not be moved to %s', $targetPath)
+ );
+ }
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @return int|null The file size in bytes or null if unknown.
+ */
+ public function getSize()
+ {
+ return $this->size;
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @see http://php.net/manual/en/features.file-upload.errors.php
+ * @return int One of PHP's UPLOAD_ERR_XXX constants.
+ */
+ public function getError()
+ {
+ return $this->error;
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @return string|null The filename sent by the client or null if none
+ * was provided.
+ */
+ public function getClientFilename()
+ {
+ return $this->clientFilename;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getClientMediaType()
+ {
+ return $this->clientMediaType;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/Uri.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/Uri.php
new file mode 100644
index 00000000..f46c1db9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/Uri.php
@@ -0,0 +1,702 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\UriInterface;
+
+/**
+ * PSR-7 URI implementation.
+ *
+ * @author Michael Dowling
+ * @author Tobias Schultze
+ * @author Matthew Weier O'Phinney
+ */
+class Uri implements UriInterface
+{
+ /**
+ * Absolute http and https URIs require a host per RFC 7230 Section 2.7
+ * but in generic URIs the host can be empty. So for http(s) URIs
+ * we apply this default host when no host is given yet to form a
+ * valid URI.
+ */
+ const HTTP_DEFAULT_HOST = 'localhost';
+
+ private static $defaultPorts = [
+ 'http' => 80,
+ 'https' => 443,
+ 'ftp' => 21,
+ 'gopher' => 70,
+ 'nntp' => 119,
+ 'news' => 119,
+ 'telnet' => 23,
+ 'tn3270' => 23,
+ 'imap' => 143,
+ 'pop' => 110,
+ 'ldap' => 389,
+ ];
+
+ private static $charUnreserved = 'a-zA-Z0-9_\-\.~';
+ private static $charSubDelims = '!\$&\'\(\)\*\+,;=';
+ private static $replaceQuery = ['=' => '%3D', '&' => '%26'];
+
+ /** @var string Uri scheme. */
+ private $scheme = '';
+
+ /** @var string Uri user info. */
+ private $userInfo = '';
+
+ /** @var string Uri host. */
+ private $host = '';
+
+ /** @var int|null Uri port. */
+ private $port;
+
+ /** @var string Uri path. */
+ private $path = '';
+
+ /** @var string Uri query string. */
+ private $query = '';
+
+ /** @var string Uri fragment. */
+ private $fragment = '';
+
+ /**
+ * @param string $uri URI to parse
+ */
+ public function __construct($uri = '')
+ {
+ // weak type check to also accept null until we can add scalar type hints
+ if ($uri != '') {
+ $parts = parse_url($uri);
+ if ($parts === false) {
+ throw new \InvalidArgumentException("Unable to parse URI: $uri");
+ }
+ $this->applyParts($parts);
+ }
+ }
+
+ public function __toString()
+ {
+ return self::composeComponents(
+ $this->scheme,
+ $this->getAuthority(),
+ $this->path,
+ $this->query,
+ $this->fragment
+ );
+ }
+
+ /**
+ * Composes a URI reference string from its various components.
+ *
+ * Usually this method does not need to be called manually but instead is used indirectly via
+ * `Psr\Http\Message\UriInterface::__toString`.
+ *
+ * PSR-7 UriInterface treats an empty component the same as a missing component as
+ * getQuery(), getFragment() etc. always return a string. This explains the slight
+ * difference to RFC 3986 Section 5.3.
+ *
+ * Another adjustment is that the authority separator is added even when the authority is missing/empty
+ * for the "file" scheme. This is because PHP stream functions like `file_get_contents` only work with
+ * `file:///myfile` but not with `file:/myfile` although they are equivalent according to RFC 3986. But
+ * `file:///` is the more common syntax for the file scheme anyway (Chrome for example redirects to
+ * that format).
+ *
+ * @param string $scheme
+ * @param string $authority
+ * @param string $path
+ * @param string $query
+ * @param string $fragment
+ *
+ * @return string
+ *
+ * @link https://tools.ietf.org/html/rfc3986#section-5.3
+ */
+ public static function composeComponents($scheme, $authority, $path, $query, $fragment)
+ {
+ $uri = '';
+
+ // weak type checks to also accept null until we can add scalar type hints
+ if ($scheme != '') {
+ $uri .= $scheme . ':';
+ }
+
+ if ($authority != ''|| $scheme === 'file') {
+ $uri .= '//' . $authority;
+ }
+
+ $uri .= $path;
+
+ if ($query != '') {
+ $uri .= '?' . $query;
+ }
+
+ if ($fragment != '') {
+ $uri .= '#' . $fragment;
+ }
+
+ return $uri;
+ }
+
+ /**
+ * Whether the URI has the default port of the current scheme.
+ *
+ * `Psr\Http\Message\UriInterface::getPort` may return null or the standard port. This method can be used
+ * independently of the implementation.
+ *
+ * @param UriInterface $uri
+ *
+ * @return bool
+ */
+ public static function isDefaultPort(UriInterface $uri)
+ {
+ return $uri->getPort() === null
+ || (isset(self::$defaultPorts[$uri->getScheme()]) && $uri->getPort() === self::$defaultPorts[$uri->getScheme()]);
+ }
+
+ /**
+ * Whether the URI is absolute, i.e. it has a scheme.
+ *
+ * An instance of UriInterface can either be an absolute URI or a relative reference. This method returns true
+ * if it is the former. An absolute URI has a scheme. A relative reference is used to express a URI relative
+ * to another URI, the base URI. Relative references can be divided into several forms:
+ * - network-path references, e.g. '//example.com/path'
+ * - absolute-path references, e.g. '/path'
+ * - relative-path references, e.g. 'subpath'
+ *
+ * @param UriInterface $uri
+ *
+ * @return bool
+ * @see Uri::isNetworkPathReference
+ * @see Uri::isAbsolutePathReference
+ * @see Uri::isRelativePathReference
+ * @link https://tools.ietf.org/html/rfc3986#section-4
+ */
+ public static function isAbsolute(UriInterface $uri)
+ {
+ return $uri->getScheme() !== '';
+ }
+
+ /**
+ * Whether the URI is a network-path reference.
+ *
+ * A relative reference that begins with two slash characters is termed an network-path reference.
+ *
+ * @param UriInterface $uri
+ *
+ * @return bool
+ * @link https://tools.ietf.org/html/rfc3986#section-4.2
+ */
+ public static function isNetworkPathReference(UriInterface $uri)
+ {
+ return $uri->getScheme() === '' && $uri->getAuthority() !== '';
+ }
+
+ /**
+ * Whether the URI is a absolute-path reference.
+ *
+ * A relative reference that begins with a single slash character is termed an absolute-path reference.
+ *
+ * @param UriInterface $uri
+ *
+ * @return bool
+ * @link https://tools.ietf.org/html/rfc3986#section-4.2
+ */
+ public static function isAbsolutePathReference(UriInterface $uri)
+ {
+ return $uri->getScheme() === ''
+ && $uri->getAuthority() === ''
+ && isset($uri->getPath()[0])
+ && $uri->getPath()[0] === '/';
+ }
+
+ /**
+ * Whether the URI is a relative-path reference.
+ *
+ * A relative reference that does not begin with a slash character is termed a relative-path reference.
+ *
+ * @param UriInterface $uri
+ *
+ * @return bool
+ * @link https://tools.ietf.org/html/rfc3986#section-4.2
+ */
+ public static function isRelativePathReference(UriInterface $uri)
+ {
+ return $uri->getScheme() === ''
+ && $uri->getAuthority() === ''
+ && (!isset($uri->getPath()[0]) || $uri->getPath()[0] !== '/');
+ }
+
+ /**
+ * Whether the URI is a same-document reference.
+ *
+ * A same-document reference refers to a URI that is, aside from its fragment
+ * component, identical to the base URI. When no base URI is given, only an empty
+ * URI reference (apart from its fragment) is considered a same-document reference.
+ *
+ * @param UriInterface $uri The URI to check
+ * @param UriInterface|null $base An optional base URI to compare against
+ *
+ * @return bool
+ * @link https://tools.ietf.org/html/rfc3986#section-4.4
+ */
+ public static function isSameDocumentReference(UriInterface $uri, UriInterface $base = null)
+ {
+ if ($base !== null) {
+ $uri = UriResolver::resolve($base, $uri);
+
+ return ($uri->getScheme() === $base->getScheme())
+ && ($uri->getAuthority() === $base->getAuthority())
+ && ($uri->getPath() === $base->getPath())
+ && ($uri->getQuery() === $base->getQuery());
+ }
+
+ return $uri->getScheme() === '' && $uri->getAuthority() === '' && $uri->getPath() === '' && $uri->getQuery() === '';
+ }
+
+ /**
+ * Removes dot segments from a path and returns the new path.
+ *
+ * @param string $path
+ *
+ * @return string
+ *
+ * @deprecated since version 1.4. Use UriResolver::removeDotSegments instead.
+ * @see UriResolver::removeDotSegments
+ */
+ public static function removeDotSegments($path)
+ {
+ return UriResolver::removeDotSegments($path);
+ }
+
+ /**
+ * Converts the relative URI into a new URI that is resolved against the base URI.
+ *
+ * @param UriInterface $base Base URI
+ * @param string|UriInterface $rel Relative URI
+ *
+ * @return UriInterface
+ *
+ * @deprecated since version 1.4. Use UriResolver::resolve instead.
+ * @see UriResolver::resolve
+ */
+ public static function resolve(UriInterface $base, $rel)
+ {
+ if (!($rel instanceof UriInterface)) {
+ $rel = new self($rel);
+ }
+
+ return UriResolver::resolve($base, $rel);
+ }
+
+ /**
+ * Creates a new URI with a specific query string value removed.
+ *
+ * Any existing query string values that exactly match the provided key are
+ * removed.
+ *
+ * @param UriInterface $uri URI to use as a base.
+ * @param string $key Query string key to remove.
+ *
+ * @return UriInterface
+ */
+ public static function withoutQueryValue(UriInterface $uri, $key)
+ {
+ $current = $uri->getQuery();
+ if ($current === '') {
+ return $uri;
+ }
+
+ $decodedKey = rawurldecode($key);
+ $result = array_filter(explode('&', $current), function ($part) use ($decodedKey) {
+ return rawurldecode(explode('=', $part)[0]) !== $decodedKey;
+ });
+
+ return $uri->withQuery(implode('&', $result));
+ }
+
+ /**
+ * Creates a new URI with a specific query string value.
+ *
+ * Any existing query string values that exactly match the provided key are
+ * removed and replaced with the given key value pair.
+ *
+ * A value of null will set the query string key without a value, e.g. "key"
+ * instead of "key=value".
+ *
+ * @param UriInterface $uri URI to use as a base.
+ * @param string $key Key to set.
+ * @param string|null $value Value to set
+ *
+ * @return UriInterface
+ */
+ public static function withQueryValue(UriInterface $uri, $key, $value)
+ {
+ $current = $uri->getQuery();
+
+ if ($current === '') {
+ $result = [];
+ } else {
+ $decodedKey = rawurldecode($key);
+ $result = array_filter(explode('&', $current), function ($part) use ($decodedKey) {
+ return rawurldecode(explode('=', $part)[0]) !== $decodedKey;
+ });
+ }
+
+ // Query string separators ("=", "&") within the key or value need to be encoded
+ // (while preventing double-encoding) before setting the query string. All other
+ // chars that need percent-encoding will be encoded by withQuery().
+ $key = strtr($key, self::$replaceQuery);
+
+ if ($value !== null) {
+ $result[] = $key . '=' . strtr($value, self::$replaceQuery);
+ } else {
+ $result[] = $key;
+ }
+
+ return $uri->withQuery(implode('&', $result));
+ }
+
+ /**
+ * Creates a URI from a hash of `parse_url` components.
+ *
+ * @param array $parts
+ *
+ * @return UriInterface
+ * @link http://php.net/manual/en/function.parse-url.php
+ *
+ * @throws \InvalidArgumentException If the components do not form a valid URI.
+ */
+ public static function fromParts(array $parts)
+ {
+ $uri = new self();
+ $uri->applyParts($parts);
+ $uri->validateState();
+
+ return $uri;
+ }
+
+ public function getScheme()
+ {
+ return $this->scheme;
+ }
+
+ public function getAuthority()
+ {
+ $authority = $this->host;
+ if ($this->userInfo !== '') {
+ $authority = $this->userInfo . '@' . $authority;
+ }
+
+ if ($this->port !== null) {
+ $authority .= ':' . $this->port;
+ }
+
+ return $authority;
+ }
+
+ public function getUserInfo()
+ {
+ return $this->userInfo;
+ }
+
+ public function getHost()
+ {
+ return $this->host;
+ }
+
+ public function getPort()
+ {
+ return $this->port;
+ }
+
+ public function getPath()
+ {
+ return $this->path;
+ }
+
+ public function getQuery()
+ {
+ return $this->query;
+ }
+
+ public function getFragment()
+ {
+ return $this->fragment;
+ }
+
+ public function withScheme($scheme)
+ {
+ $scheme = $this->filterScheme($scheme);
+
+ if ($this->scheme === $scheme) {
+ return $this;
+ }
+
+ $new = clone $this;
+ $new->scheme = $scheme;
+ $new->removeDefaultPort();
+ $new->validateState();
+
+ return $new;
+ }
+
+ public function withUserInfo($user, $password = null)
+ {
+ $info = $user;
+ if ($password != '') {
+ $info .= ':' . $password;
+ }
+
+ if ($this->userInfo === $info) {
+ return $this;
+ }
+
+ $new = clone $this;
+ $new->userInfo = $info;
+ $new->validateState();
+
+ return $new;
+ }
+
+ public function withHost($host)
+ {
+ $host = $this->filterHost($host);
+
+ if ($this->host === $host) {
+ return $this;
+ }
+
+ $new = clone $this;
+ $new->host = $host;
+ $new->validateState();
+
+ return $new;
+ }
+
+ public function withPort($port)
+ {
+ $port = $this->filterPort($port);
+
+ if ($this->port === $port) {
+ return $this;
+ }
+
+ $new = clone $this;
+ $new->port = $port;
+ $new->removeDefaultPort();
+ $new->validateState();
+
+ return $new;
+ }
+
+ public function withPath($path)
+ {
+ $path = $this->filterPath($path);
+
+ if ($this->path === $path) {
+ return $this;
+ }
+
+ $new = clone $this;
+ $new->path = $path;
+ $new->validateState();
+
+ return $new;
+ }
+
+ public function withQuery($query)
+ {
+ $query = $this->filterQueryAndFragment($query);
+
+ if ($this->query === $query) {
+ return $this;
+ }
+
+ $new = clone $this;
+ $new->query = $query;
+
+ return $new;
+ }
+
+ public function withFragment($fragment)
+ {
+ $fragment = $this->filterQueryAndFragment($fragment);
+
+ if ($this->fragment === $fragment) {
+ return $this;
+ }
+
+ $new = clone $this;
+ $new->fragment = $fragment;
+
+ return $new;
+ }
+
+ /**
+ * Apply parse_url parts to a URI.
+ *
+ * @param array $parts Array of parse_url parts to apply.
+ */
+ private function applyParts(array $parts)
+ {
+ $this->scheme = isset($parts['scheme'])
+ ? $this->filterScheme($parts['scheme'])
+ : '';
+ $this->userInfo = isset($parts['user']) ? $parts['user'] : '';
+ $this->host = isset($parts['host'])
+ ? $this->filterHost($parts['host'])
+ : '';
+ $this->port = isset($parts['port'])
+ ? $this->filterPort($parts['port'])
+ : null;
+ $this->path = isset($parts['path'])
+ ? $this->filterPath($parts['path'])
+ : '';
+ $this->query = isset($parts['query'])
+ ? $this->filterQueryAndFragment($parts['query'])
+ : '';
+ $this->fragment = isset($parts['fragment'])
+ ? $this->filterQueryAndFragment($parts['fragment'])
+ : '';
+ if (isset($parts['pass'])) {
+ $this->userInfo .= ':' . $parts['pass'];
+ }
+
+ $this->removeDefaultPort();
+ }
+
+ /**
+ * @param string $scheme
+ *
+ * @return string
+ *
+ * @throws \InvalidArgumentException If the scheme is invalid.
+ */
+ private function filterScheme($scheme)
+ {
+ if (!is_string($scheme)) {
+ throw new \InvalidArgumentException('Scheme must be a string');
+ }
+
+ return strtolower($scheme);
+ }
+
+ /**
+ * @param string $host
+ *
+ * @return string
+ *
+ * @throws \InvalidArgumentException If the host is invalid.
+ */
+ private function filterHost($host)
+ {
+ if (!is_string($host)) {
+ throw new \InvalidArgumentException('Host must be a string');
+ }
+
+ return strtolower($host);
+ }
+
+ /**
+ * @param int|null $port
+ *
+ * @return int|null
+ *
+ * @throws \InvalidArgumentException If the port is invalid.
+ */
+ private function filterPort($port)
+ {
+ if ($port === null) {
+ return null;
+ }
+
+ $port = (int) $port;
+ if (1 > $port || 0xffff < $port) {
+ throw new \InvalidArgumentException(
+ sprintf('Invalid port: %d. Must be between 1 and 65535', $port)
+ );
+ }
+
+ return $port;
+ }
+
+ private function removeDefaultPort()
+ {
+ if ($this->port !== null && self::isDefaultPort($this)) {
+ $this->port = null;
+ }
+ }
+
+ /**
+ * Filters the path of a URI
+ *
+ * @param string $path
+ *
+ * @return string
+ *
+ * @throws \InvalidArgumentException If the path is invalid.
+ */
+ private function filterPath($path)
+ {
+ if (!is_string($path)) {
+ throw new \InvalidArgumentException('Path must be a string');
+ }
+
+ return preg_replace_callback(
+ '/(?:[^' . self::$charUnreserved . self::$charSubDelims . '%:@\/]++|%(?![A-Fa-f0-9]{2}))/',
+ [$this, 'rawurlencodeMatchZero'],
+ $path
+ );
+ }
+
+ /**
+ * Filters the query string or fragment of a URI.
+ *
+ * @param string $str
+ *
+ * @return string
+ *
+ * @throws \InvalidArgumentException If the query or fragment is invalid.
+ */
+ private function filterQueryAndFragment($str)
+ {
+ if (!is_string($str)) {
+ throw new \InvalidArgumentException('Query and fragment must be a string');
+ }
+
+ return preg_replace_callback(
+ '/(?:[^' . self::$charUnreserved . self::$charSubDelims . '%:@\/\?]++|%(?![A-Fa-f0-9]{2}))/',
+ [$this, 'rawurlencodeMatchZero'],
+ $str
+ );
+ }
+
+ private function rawurlencodeMatchZero(array $match)
+ {
+ return rawurlencode($match[0]);
+ }
+
+ private function validateState()
+ {
+ if ($this->host === '' && ($this->scheme === 'http' || $this->scheme === 'https')) {
+ $this->host = self::HTTP_DEFAULT_HOST;
+ }
+
+ if ($this->getAuthority() === '') {
+ if (0 === strpos($this->path, '//')) {
+ throw new \InvalidArgumentException('The path of a URI without an authority must not start with two slashes "//"');
+ }
+ if ($this->scheme === '' && false !== strpos(explode('/', $this->path, 2)[0], ':')) {
+ throw new \InvalidArgumentException('A relative URI must not have a path beginning with a segment containing a colon');
+ }
+ } elseif (isset($this->path[0]) && $this->path[0] !== '/') {
+ @trigger_error(
+ 'The path of a URI with an authority must start with a slash "/" or be empty. Automagically fixing the URI ' .
+ 'by adding a leading slash to the path is deprecated since version 1.4 and will throw an exception instead.',
+ E_USER_DEPRECATED
+ );
+ $this->path = '/'. $this->path;
+ //throw new \InvalidArgumentException('The path of a URI with an authority must start with a slash "/" or be empty');
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/UriNormalizer.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/UriNormalizer.php
new file mode 100644
index 00000000..384c29e5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/UriNormalizer.php
@@ -0,0 +1,216 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\UriInterface;
+
+/**
+ * Provides methods to normalize and compare URIs.
+ *
+ * @author Tobias Schultze
+ *
+ * @link https://tools.ietf.org/html/rfc3986#section-6
+ */
+final class UriNormalizer
+{
+ /**
+ * Default normalizations which only include the ones that preserve semantics.
+ *
+ * self::CAPITALIZE_PERCENT_ENCODING | self::DECODE_UNRESERVED_CHARACTERS | self::CONVERT_EMPTY_PATH |
+ * self::REMOVE_DEFAULT_HOST | self::REMOVE_DEFAULT_PORT | self::REMOVE_DOT_SEGMENTS
+ */
+ const PRESERVING_NORMALIZATIONS = 63;
+
+ /**
+ * All letters within a percent-encoding triplet (e.g., "%3A") are case-insensitive, and should be capitalized.
+ *
+ * Example: http://example.org/a%c2%b1b → http://example.org/a%C2%B1b
+ */
+ const CAPITALIZE_PERCENT_ENCODING = 1;
+
+ /**
+ * Decodes percent-encoded octets of unreserved characters.
+ *
+ * For consistency, percent-encoded octets in the ranges of ALPHA (%41–%5A and %61–%7A), DIGIT (%30–%39),
+ * hyphen (%2D), period (%2E), underscore (%5F), or tilde (%7E) should not be created by URI producers and,
+ * when found in a URI, should be decoded to their corresponding unreserved characters by URI normalizers.
+ *
+ * Example: http://example.org/%7Eusern%61me/ → http://example.org/~username/
+ */
+ const DECODE_UNRESERVED_CHARACTERS = 2;
+
+ /**
+ * Converts the empty path to "/" for http and https URIs.
+ *
+ * Example: http://example.org → http://example.org/
+ */
+ const CONVERT_EMPTY_PATH = 4;
+
+ /**
+ * Removes the default host of the given URI scheme from the URI.
+ *
+ * Only the "file" scheme defines the default host "localhost".
+ * All of `file:/myfile`, `file:///myfile`, and `file://localhost/myfile`
+ * are equivalent according to RFC 3986. The first format is not accepted
+ * by PHPs stream functions and thus already normalized implicitly to the
+ * second format in the Uri class. See `GuzzleHttp\Psr7\Uri::composeComponents`.
+ *
+ * Example: file://localhost/myfile → file:///myfile
+ */
+ const REMOVE_DEFAULT_HOST = 8;
+
+ /**
+ * Removes the default port of the given URI scheme from the URI.
+ *
+ * Example: http://example.org:80/ → http://example.org/
+ */
+ const REMOVE_DEFAULT_PORT = 16;
+
+ /**
+ * Removes unnecessary dot-segments.
+ *
+ * Dot-segments in relative-path references are not removed as it would
+ * change the semantics of the URI reference.
+ *
+ * Example: http://example.org/../a/b/../c/./d.html → http://example.org/a/c/d.html
+ */
+ const REMOVE_DOT_SEGMENTS = 32;
+
+ /**
+ * Paths which include two or more adjacent slashes are converted to one.
+ *
+ * Webservers usually ignore duplicate slashes and treat those URIs equivalent.
+ * But in theory those URIs do not need to be equivalent. So this normalization
+ * may change the semantics. Encoded slashes (%2F) are not removed.
+ *
+ * Example: http://example.org//foo///bar.html → http://example.org/foo/bar.html
+ */
+ const REMOVE_DUPLICATE_SLASHES = 64;
+
+ /**
+ * Sort query parameters with their values in alphabetical order.
+ *
+ * However, the order of parameters in a URI may be significant (this is not defined by the standard).
+ * So this normalization is not safe and may change the semantics of the URI.
+ *
+ * Example: ?lang=en&article=fred → ?article=fred&lang=en
+ *
+ * Note: The sorting is neither locale nor Unicode aware (the URI query does not get decoded at all) as the
+ * purpose is to be able to compare URIs in a reproducible way, not to have the params sorted perfectly.
+ */
+ const SORT_QUERY_PARAMETERS = 128;
+
+ /**
+ * Returns a normalized URI.
+ *
+ * The scheme and host component are already normalized to lowercase per PSR-7 UriInterface.
+ * This methods adds additional normalizations that can be configured with the $flags parameter.
+ *
+ * PSR-7 UriInterface cannot distinguish between an empty component and a missing component as
+ * getQuery(), getFragment() etc. always return a string. This means the URIs "/?#" and "/" are
+ * treated equivalent which is not necessarily true according to RFC 3986. But that difference
+ * is highly uncommon in reality. So this potential normalization is implied in PSR-7 as well.
+ *
+ * @param UriInterface $uri The URI to normalize
+ * @param int $flags A bitmask of normalizations to apply, see constants
+ *
+ * @return UriInterface The normalized URI
+ * @link https://tools.ietf.org/html/rfc3986#section-6.2
+ */
+ public static function normalize(UriInterface $uri, $flags = self::PRESERVING_NORMALIZATIONS)
+ {
+ if ($flags & self::CAPITALIZE_PERCENT_ENCODING) {
+ $uri = self::capitalizePercentEncoding($uri);
+ }
+
+ if ($flags & self::DECODE_UNRESERVED_CHARACTERS) {
+ $uri = self::decodeUnreservedCharacters($uri);
+ }
+
+ if ($flags & self::CONVERT_EMPTY_PATH && $uri->getPath() === '' &&
+ ($uri->getScheme() === 'http' || $uri->getScheme() === 'https')
+ ) {
+ $uri = $uri->withPath('/');
+ }
+
+ if ($flags & self::REMOVE_DEFAULT_HOST && $uri->getScheme() === 'file' && $uri->getHost() === 'localhost') {
+ $uri = $uri->withHost('');
+ }
+
+ if ($flags & self::REMOVE_DEFAULT_PORT && $uri->getPort() !== null && Uri::isDefaultPort($uri)) {
+ $uri = $uri->withPort(null);
+ }
+
+ if ($flags & self::REMOVE_DOT_SEGMENTS && !Uri::isRelativePathReference($uri)) {
+ $uri = $uri->withPath(UriResolver::removeDotSegments($uri->getPath()));
+ }
+
+ if ($flags & self::REMOVE_DUPLICATE_SLASHES) {
+ $uri = $uri->withPath(preg_replace('#//++#', '/', $uri->getPath()));
+ }
+
+ if ($flags & self::SORT_QUERY_PARAMETERS && $uri->getQuery() !== '') {
+ $queryKeyValues = explode('&', $uri->getQuery());
+ sort($queryKeyValues);
+ $uri = $uri->withQuery(implode('&', $queryKeyValues));
+ }
+
+ return $uri;
+ }
+
+ /**
+ * Whether two URIs can be considered equivalent.
+ *
+ * Both URIs are normalized automatically before comparison with the given $normalizations bitmask. The method also
+ * accepts relative URI references and returns true when they are equivalent. This of course assumes they will be
+ * resolved against the same base URI. If this is not the case, determination of equivalence or difference of
+ * relative references does not mean anything.
+ *
+ * @param UriInterface $uri1 An URI to compare
+ * @param UriInterface $uri2 An URI to compare
+ * @param int $normalizations A bitmask of normalizations to apply, see constants
+ *
+ * @return bool
+ * @link https://tools.ietf.org/html/rfc3986#section-6.1
+ */
+ public static function isEquivalent(UriInterface $uri1, UriInterface $uri2, $normalizations = self::PRESERVING_NORMALIZATIONS)
+ {
+ return (string) self::normalize($uri1, $normalizations) === (string) self::normalize($uri2, $normalizations);
+ }
+
+ private static function capitalizePercentEncoding(UriInterface $uri)
+ {
+ $regex = '/(?:%[A-Fa-f0-9]{2})++/';
+
+ $callback = function (array $match) {
+ return strtoupper($match[0]);
+ };
+
+ return
+ $uri->withPath(
+ preg_replace_callback($regex, $callback, $uri->getPath())
+ )->withQuery(
+ preg_replace_callback($regex, $callback, $uri->getQuery())
+ );
+ }
+
+ private static function decodeUnreservedCharacters(UriInterface $uri)
+ {
+ $regex = '/%(?:2D|2E|5F|7E|3[0-9]|[46][1-9A-F]|[57][0-9A])/i';
+
+ $callback = function (array $match) {
+ return rawurldecode($match[0]);
+ };
+
+ return
+ $uri->withPath(
+ preg_replace_callback($regex, $callback, $uri->getPath())
+ )->withQuery(
+ preg_replace_callback($regex, $callback, $uri->getQuery())
+ );
+ }
+
+ private function __construct()
+ {
+ // cannot be instantiated
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/UriResolver.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/UriResolver.php
new file mode 100644
index 00000000..c1cb8a27
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/UriResolver.php
@@ -0,0 +1,219 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\UriInterface;
+
+/**
+ * Resolves a URI reference in the context of a base URI and the opposite way.
+ *
+ * @author Tobias Schultze
+ *
+ * @link https://tools.ietf.org/html/rfc3986#section-5
+ */
+final class UriResolver
+{
+ /**
+ * Removes dot segments from a path and returns the new path.
+ *
+ * @param string $path
+ *
+ * @return string
+ * @link http://tools.ietf.org/html/rfc3986#section-5.2.4
+ */
+ public static function removeDotSegments($path)
+ {
+ if ($path === '' || $path === '/') {
+ return $path;
+ }
+
+ $results = [];
+ $segments = explode('/', $path);
+ foreach ($segments as $segment) {
+ if ($segment === '..') {
+ array_pop($results);
+ } elseif ($segment !== '.') {
+ $results[] = $segment;
+ }
+ }
+
+ $newPath = implode('/', $results);
+
+ if ($path[0] === '/' && (!isset($newPath[0]) || $newPath[0] !== '/')) {
+ // Re-add the leading slash if necessary for cases like "/.."
+ $newPath = '/' . $newPath;
+ } elseif ($newPath !== '' && ($segment === '.' || $segment === '..')) {
+ // Add the trailing slash if necessary
+ // If newPath is not empty, then $segment must be set and is the last segment from the foreach
+ $newPath .= '/';
+ }
+
+ return $newPath;
+ }
+
+ /**
+ * Converts the relative URI into a new URI that is resolved against the base URI.
+ *
+ * @param UriInterface $base Base URI
+ * @param UriInterface $rel Relative URI
+ *
+ * @return UriInterface
+ * @link http://tools.ietf.org/html/rfc3986#section-5.2
+ */
+ public static function resolve(UriInterface $base, UriInterface $rel)
+ {
+ if ((string) $rel === '') {
+ // we can simply return the same base URI instance for this same-document reference
+ return $base;
+ }
+
+ if ($rel->getScheme() != '') {
+ return $rel->withPath(self::removeDotSegments($rel->getPath()));
+ }
+
+ if ($rel->getAuthority() != '') {
+ $targetAuthority = $rel->getAuthority();
+ $targetPath = self::removeDotSegments($rel->getPath());
+ $targetQuery = $rel->getQuery();
+ } else {
+ $targetAuthority = $base->getAuthority();
+ if ($rel->getPath() === '') {
+ $targetPath = $base->getPath();
+ $targetQuery = $rel->getQuery() != '' ? $rel->getQuery() : $base->getQuery();
+ } else {
+ if ($rel->getPath()[0] === '/') {
+ $targetPath = $rel->getPath();
+ } else {
+ if ($targetAuthority != '' && $base->getPath() === '') {
+ $targetPath = '/' . $rel->getPath();
+ } else {
+ $lastSlashPos = strrpos($base->getPath(), '/');
+ if ($lastSlashPos === false) {
+ $targetPath = $rel->getPath();
+ } else {
+ $targetPath = substr($base->getPath(), 0, $lastSlashPos + 1) . $rel->getPath();
+ }
+ }
+ }
+ $targetPath = self::removeDotSegments($targetPath);
+ $targetQuery = $rel->getQuery();
+ }
+ }
+
+ return new Uri(Uri::composeComponents(
+ $base->getScheme(),
+ $targetAuthority,
+ $targetPath,
+ $targetQuery,
+ $rel->getFragment()
+ ));
+ }
+
+ /**
+ * Returns the target URI as a relative reference from the base URI.
+ *
+ * This method is the counterpart to resolve():
+ *
+ * (string) $target === (string) UriResolver::resolve($base, UriResolver::relativize($base, $target))
+ *
+ * One use-case is to use the current request URI as base URI and then generate relative links in your documents
+ * to reduce the document size or offer self-contained downloadable document archives.
+ *
+ * $base = new Uri('http://example.com/a/b/');
+ * echo UriResolver::relativize($base, new Uri('http://example.com/a/b/c')); // prints 'c'.
+ * echo UriResolver::relativize($base, new Uri('http://example.com/a/x/y')); // prints '../x/y'.
+ * echo UriResolver::relativize($base, new Uri('http://example.com/a/b/?q')); // prints '?q'.
+ * echo UriResolver::relativize($base, new Uri('http://example.org/a/b/')); // prints '//example.org/a/b/'.
+ *
+ * This method also accepts a target that is already relative and will try to relativize it further. Only a
+ * relative-path reference will be returned as-is.
+ *
+ * echo UriResolver::relativize($base, new Uri('/a/b/c')); // prints 'c' as well
+ *
+ * @param UriInterface $base Base URI
+ * @param UriInterface $target Target URI
+ *
+ * @return UriInterface The relative URI reference
+ */
+ public static function relativize(UriInterface $base, UriInterface $target)
+ {
+ if ($target->getScheme() !== '' &&
+ ($base->getScheme() !== $target->getScheme() || $target->getAuthority() === '' && $base->getAuthority() !== '')
+ ) {
+ return $target;
+ }
+
+ if (Uri::isRelativePathReference($target)) {
+ // As the target is already highly relative we return it as-is. It would be possible to resolve
+ // the target with `$target = self::resolve($base, $target);` and then try make it more relative
+ // by removing a duplicate query. But let's not do that automatically.
+ return $target;
+ }
+
+ if ($target->getAuthority() !== '' && $base->getAuthority() !== $target->getAuthority()) {
+ return $target->withScheme('');
+ }
+
+ // We must remove the path before removing the authority because if the path starts with two slashes, the URI
+ // would turn invalid. And we also cannot set a relative path before removing the authority, as that is also
+ // invalid.
+ $emptyPathUri = $target->withScheme('')->withPath('')->withUserInfo('')->withPort(null)->withHost('');
+
+ if ($base->getPath() !== $target->getPath()) {
+ return $emptyPathUri->withPath(self::getRelativePath($base, $target));
+ }
+
+ if ($base->getQuery() === $target->getQuery()) {
+ // Only the target fragment is left. And it must be returned even if base and target fragment are the same.
+ return $emptyPathUri->withQuery('');
+ }
+
+ // If the base URI has a query but the target has none, we cannot return an empty path reference as it would
+ // inherit the base query component when resolving.
+ if ($target->getQuery() === '') {
+ $segments = explode('/', $target->getPath());
+ $lastSegment = end($segments);
+
+ return $emptyPathUri->withPath($lastSegment === '' ? './' : $lastSegment);
+ }
+
+ return $emptyPathUri;
+ }
+
+ private static function getRelativePath(UriInterface $base, UriInterface $target)
+ {
+ $sourceSegments = explode('/', $base->getPath());
+ $targetSegments = explode('/', $target->getPath());
+ array_pop($sourceSegments);
+ $targetLastSegment = array_pop($targetSegments);
+ foreach ($sourceSegments as $i => $segment) {
+ if (isset($targetSegments[$i]) && $segment === $targetSegments[$i]) {
+ unset($sourceSegments[$i], $targetSegments[$i]);
+ } else {
+ break;
+ }
+ }
+ $targetSegments[] = $targetLastSegment;
+ $relativePath = str_repeat('../', count($sourceSegments)) . implode('/', $targetSegments);
+
+ // A reference to am empty last segment or an empty first sub-segment must be prefixed with "./".
+ // This also applies to a segment with a colon character (e.g., "file:colon") that cannot be used
+ // as the first segment of a relative-path reference, as it would be mistaken for a scheme name.
+ if ('' === $relativePath || false !== strpos(explode('/', $relativePath, 2)[0], ':')) {
+ $relativePath = "./$relativePath";
+ } elseif ('/' === $relativePath[0]) {
+ if ($base->getAuthority() != '' && $base->getPath() === '') {
+ // In this case an extra slash is added by resolve() automatically. So we must not add one here.
+ $relativePath = ".$relativePath";
+ } else {
+ $relativePath = "./$relativePath";
+ }
+ }
+
+ return $relativePath;
+ }
+
+ private function __construct()
+ {
+ // cannot be instantiated
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/functions.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/functions.php
new file mode 100644
index 00000000..e40348d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/functions.php
@@ -0,0 +1,828 @@
+<?php
+namespace GuzzleHttp\Psr7;
+
+use Psr\Http\Message\MessageInterface;
+use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
+use Psr\Http\Message\ServerRequestInterface;
+use Psr\Http\Message\StreamInterface;
+use Psr\Http\Message\UriInterface;
+
+/**
+ * Returns the string representation of an HTTP message.
+ *
+ * @param MessageInterface $message Message to convert to a string.
+ *
+ * @return string
+ */
+function str(MessageInterface $message)
+{
+ if ($message instanceof RequestInterface) {
+ $msg = trim($message->getMethod() . ' '
+ . $message->getRequestTarget())
+ . ' HTTP/' . $message->getProtocolVersion();
+ if (!$message->hasHeader('host')) {
+ $msg .= "\r\nHost: " . $message->getUri()->getHost();
+ }
+ } elseif ($message instanceof ResponseInterface) {
+ $msg = 'HTTP/' . $message->getProtocolVersion() . ' '
+ . $message->getStatusCode() . ' '
+ . $message->getReasonPhrase();
+ } else {
+ throw new \InvalidArgumentException('Unknown message type');
+ }
+
+ foreach ($message->getHeaders() as $name => $values) {
+ $msg .= "\r\n{$name}: " . implode(', ', $values);
+ }
+
+ return "{$msg}\r\n\r\n" . $message->getBody();
+}
+
+/**
+ * Returns a UriInterface for the given value.
+ *
+ * This function accepts a string or {@see Psr\Http\Message\UriInterface} and
+ * returns a UriInterface for the given value. If the value is already a
+ * `UriInterface`, it is returned as-is.
+ *
+ * @param string|UriInterface $uri
+ *
+ * @return UriInterface
+ * @throws \InvalidArgumentException
+ */
+function uri_for($uri)
+{
+ if ($uri instanceof UriInterface) {
+ return $uri;
+ } elseif (is_string($uri)) {
+ return new Uri($uri);
+ }
+
+ throw new \InvalidArgumentException('URI must be a string or UriInterface');
+}
+
+/**
+ * Create a new stream based on the input type.
+ *
+ * Options is an associative array that can contain the following keys:
+ * - metadata: Array of custom metadata.
+ * - size: Size of the stream.
+ *
+ * @param resource|string|null|int|float|bool|StreamInterface|callable $resource Entity body data
+ * @param array $options Additional options
+ *
+ * @return Stream
+ * @throws \InvalidArgumentException if the $resource arg is not valid.
+ */
+function stream_for($resource = '', array $options = [])
+{
+ if (is_scalar($resource)) {
+ $stream = fopen('php://temp', 'r+');
+ if ($resource !== '') {
+ fwrite($stream, $resource);
+ fseek($stream, 0);
+ }
+ return new Stream($stream, $options);
+ }
+
+ switch (gettype($resource)) {
+ case 'resource':
+ return new Stream($resource, $options);
+ case 'object':
+ if ($resource instanceof StreamInterface) {
+ return $resource;
+ } elseif ($resource instanceof \Iterator) {
+ return new PumpStream(function () use ($resource) {
+ if (!$resource->valid()) {
+ return false;
+ }
+ $result = $resource->current();
+ $resource->next();
+ return $result;
+ }, $options);
+ } elseif (method_exists($resource, '__toString')) {
+ return stream_for((string) $resource, $options);
+ }
+ break;
+ case 'NULL':
+ return new Stream(fopen('php://temp', 'r+'), $options);
+ }
+
+ if (is_callable($resource)) {
+ return new PumpStream($resource, $options);
+ }
+
+ throw new \InvalidArgumentException('Invalid resource type: ' . gettype($resource));
+}
+
+/**
+ * Parse an array of header values containing ";" separated data into an
+ * array of associative arrays representing the header key value pair
+ * data of the header. When a parameter does not contain a value, but just
+ * contains a key, this function will inject a key with a '' string value.
+ *
+ * @param string|array $header Header to parse into components.
+ *
+ * @return array Returns the parsed header values.
+ */
+function parse_header($header)
+{
+ static $trimmed = "\"' \n\t\r";
+ $params = $matches = [];
+
+ foreach (normalize_header($header) as $val) {
+ $part = [];
+ foreach (preg_split('/;(?=([^"]*"[^"]*")*[^"]*$)/', $val) as $kvp) {
+ if (preg_match_all('/<[^>]+>|[^=]+/', $kvp, $matches)) {
+ $m = $matches[0];
+ if (isset($m[1])) {
+ $part[trim($m[0], $trimmed)] = trim($m[1], $trimmed);
+ } else {
+ $part[] = trim($m[0], $trimmed);
+ }
+ }
+ }
+ if ($part) {
+ $params[] = $part;
+ }
+ }
+
+ return $params;
+}
+
+/**
+ * Converts an array of header values that may contain comma separated
+ * headers into an array of headers with no comma separated values.
+ *
+ * @param string|array $header Header to normalize.
+ *
+ * @return array Returns the normalized header field values.
+ */
+function normalize_header($header)
+{
+ if (!is_array($header)) {
+ return array_map('trim', explode(',', $header));
+ }
+
+ $result = [];
+ foreach ($header as $value) {
+ foreach ((array) $value as $v) {
+ if (strpos($v, ',') === false) {
+ $result[] = $v;
+ continue;
+ }
+ foreach (preg_split('/,(?=([^"]*"[^"]*")*[^"]*$)/', $v) as $vv) {
+ $result[] = trim($vv);
+ }
+ }
+ }
+
+ return $result;
+}
+
+/**
+ * Clone and modify a request with the given changes.
+ *
+ * The changes can be one of:
+ * - method: (string) Changes the HTTP method.
+ * - set_headers: (array) Sets the given headers.
+ * - remove_headers: (array) Remove the given headers.
+ * - body: (mixed) Sets the given body.
+ * - uri: (UriInterface) Set the URI.
+ * - query: (string) Set the query string value of the URI.
+ * - version: (string) Set the protocol version.
+ *
+ * @param RequestInterface $request Request to clone and modify.
+ * @param array $changes Changes to apply.
+ *
+ * @return RequestInterface
+ */
+function modify_request(RequestInterface $request, array $changes)
+{
+ if (!$changes) {
+ return $request;
+ }
+
+ $headers = $request->getHeaders();
+
+ if (!isset($changes['uri'])) {
+ $uri = $request->getUri();
+ } else {
+ // Remove the host header if one is on the URI
+ if ($host = $changes['uri']->getHost()) {
+ $changes['set_headers']['Host'] = $host;
+
+ if ($port = $changes['uri']->getPort()) {
+ $standardPorts = ['http' => 80, 'https' => 443];
+ $scheme = $changes['uri']->getScheme();
+ if (isset($standardPorts[$scheme]) && $port != $standardPorts[$scheme]) {
+ $changes['set_headers']['Host'] .= ':'.$port;
+ }
+ }
+ }
+ $uri = $changes['uri'];
+ }
+
+ if (!empty($changes['remove_headers'])) {
+ $headers = _caseless_remove($changes['remove_headers'], $headers);
+ }
+
+ if (!empty($changes['set_headers'])) {
+ $headers = _caseless_remove(array_keys($changes['set_headers']), $headers);
+ $headers = $changes['set_headers'] + $headers;
+ }
+
+ if (isset($changes['query'])) {
+ $uri = $uri->withQuery($changes['query']);
+ }
+
+ if ($request instanceof ServerRequestInterface) {
+ return new ServerRequest(
+ isset($changes['method']) ? $changes['method'] : $request->getMethod(),
+ $uri,
+ $headers,
+ isset($changes['body']) ? $changes['body'] : $request->getBody(),
+ isset($changes['version'])
+ ? $changes['version']
+ : $request->getProtocolVersion(),
+ $request->getServerParams()
+ );
+ }
+
+ return new Request(
+ isset($changes['method']) ? $changes['method'] : $request->getMethod(),
+ $uri,
+ $headers,
+ isset($changes['body']) ? $changes['body'] : $request->getBody(),
+ isset($changes['version'])
+ ? $changes['version']
+ : $request->getProtocolVersion()
+ );
+}
+
+/**
+ * Attempts to rewind a message body and throws an exception on failure.
+ *
+ * The body of the message will only be rewound if a call to `tell()` returns a
+ * value other than `0`.
+ *
+ * @param MessageInterface $message Message to rewind
+ *
+ * @throws \RuntimeException
+ */
+function rewind_body(MessageInterface $message)
+{
+ $body = $message->getBody();
+
+ if ($body->tell()) {
+ $body->rewind();
+ }
+}
+
+/**
+ * Safely opens a PHP stream resource using a filename.
+ *
+ * When fopen fails, PHP normally raises a warning. This function adds an
+ * error handler that checks for errors and throws an exception instead.
+ *
+ * @param string $filename File to open
+ * @param string $mode Mode used to open the file
+ *
+ * @return resource
+ * @throws \RuntimeException if the file cannot be opened
+ */
+function try_fopen($filename, $mode)
+{
+ $ex = null;
+ set_error_handler(function () use ($filename, $mode, &$ex) {
+ $ex = new \RuntimeException(sprintf(
+ 'Unable to open %s using mode %s: %s',
+ $filename,
+ $mode,
+ func_get_args()[1]
+ ));
+ });
+
+ $handle = fopen($filename, $mode);
+ restore_error_handler();
+
+ if ($ex) {
+ /** @var $ex \RuntimeException */
+ throw $ex;
+ }
+
+ return $handle;
+}
+
+/**
+ * Copy the contents of a stream into a string until the given number of
+ * bytes have been read.
+ *
+ * @param StreamInterface $stream Stream to read
+ * @param int $maxLen Maximum number of bytes to read. Pass -1
+ * to read the entire stream.
+ * @return string
+ * @throws \RuntimeException on error.
+ */
+function copy_to_string(StreamInterface $stream, $maxLen = -1)
+{
+ $buffer = '';
+
+ if ($maxLen === -1) {
+ while (!$stream->eof()) {
+ $buf = $stream->read(1048576);
+ // Using a loose equality here to match on '' and false.
+ if ($buf == null) {
+ break;
+ }
+ $buffer .= $buf;
+ }
+ return $buffer;
+ }
+
+ $len = 0;
+ while (!$stream->eof() && $len < $maxLen) {
+ $buf = $stream->read($maxLen - $len);
+ // Using a loose equality here to match on '' and false.
+ if ($buf == null) {
+ break;
+ }
+ $buffer .= $buf;
+ $len = strlen($buffer);
+ }
+
+ return $buffer;
+}
+
+/**
+ * Copy the contents of a stream into another stream until the given number
+ * of bytes have been read.
+ *
+ * @param StreamInterface $source Stream to read from
+ * @param StreamInterface $dest Stream to write to
+ * @param int $maxLen Maximum number of bytes to read. Pass -1
+ * to read the entire stream.
+ *
+ * @throws \RuntimeException on error.
+ */
+function copy_to_stream(
+ StreamInterface $source,
+ StreamInterface $dest,
+ $maxLen = -1
+) {
+ $bufferSize = 8192;
+
+ if ($maxLen === -1) {
+ while (!$source->eof()) {
+ if (!$dest->write($source->read($bufferSize))) {
+ break;
+ }
+ }
+ } else {
+ $remaining = $maxLen;
+ while ($remaining > 0 && !$source->eof()) {
+ $buf = $source->read(min($bufferSize, $remaining));
+ $len = strlen($buf);
+ if (!$len) {
+ break;
+ }
+ $remaining -= $len;
+ $dest->write($buf);
+ }
+ }
+}
+
+/**
+ * Calculate a hash of a Stream
+ *
+ * @param StreamInterface $stream Stream to calculate the hash for
+ * @param string $algo Hash algorithm (e.g. md5, crc32, etc)
+ * @param bool $rawOutput Whether or not to use raw output
+ *
+ * @return string Returns the hash of the stream
+ * @throws \RuntimeException on error.
+ */
+function hash(
+ StreamInterface $stream,
+ $algo,
+ $rawOutput = false
+) {
+ $pos = $stream->tell();
+
+ if ($pos > 0) {
+ $stream->rewind();
+ }
+
+ $ctx = hash_init($algo);
+ while (!$stream->eof()) {
+ hash_update($ctx, $stream->read(1048576));
+ }
+
+ $out = hash_final($ctx, (bool) $rawOutput);
+ $stream->seek($pos);
+
+ return $out;
+}
+
+/**
+ * Read a line from the stream up to the maximum allowed buffer length
+ *
+ * @param StreamInterface $stream Stream to read from
+ * @param int $maxLength Maximum buffer length
+ *
+ * @return string|bool
+ */
+function readline(StreamInterface $stream, $maxLength = null)
+{
+ $buffer = '';
+ $size = 0;
+
+ while (!$stream->eof()) {
+ // Using a loose equality here to match on '' and false.
+ if (null == ($byte = $stream->read(1))) {
+ return $buffer;
+ }
+ $buffer .= $byte;
+ // Break when a new line is found or the max length - 1 is reached
+ if ($byte === "\n" || ++$size === $maxLength - 1) {
+ break;
+ }
+ }
+
+ return $buffer;
+}
+
+/**
+ * Parses a request message string into a request object.
+ *
+ * @param string $message Request message string.
+ *
+ * @return Request
+ */
+function parse_request($message)
+{
+ $data = _parse_message($message);
+ $matches = [];
+ if (!preg_match('/^[\S]+\s+([a-zA-Z]+:\/\/|\/).*/', $data['start-line'], $matches)) {
+ throw new \InvalidArgumentException('Invalid request string');
+ }
+ $parts = explode(' ', $data['start-line'], 3);
+ $version = isset($parts[2]) ? explode('/', $parts[2])[1] : '1.1';
+
+ $request = new Request(
+ $parts[0],
+ $matches[1] === '/' ? _parse_request_uri($parts[1], $data['headers']) : $parts[1],
+ $data['headers'],
+ $data['body'],
+ $version
+ );
+
+ return $matches[1] === '/' ? $request : $request->withRequestTarget($parts[1]);
+}
+
+/**
+ * Parses a response message string into a response object.
+ *
+ * @param string $message Response message string.
+ *
+ * @return Response
+ */
+function parse_response($message)
+{
+ $data = _parse_message($message);
+ // According to https://tools.ietf.org/html/rfc7230#section-3.1.2 the space
+ // between status-code and reason-phrase is required. But browsers accept
+ // responses without space and reason as well.
+ if (!preg_match('/^HTTP\/.* [0-9]{3}( .*|$)/', $data['start-line'])) {
+ throw new \InvalidArgumentException('Invalid response string');
+ }
+ $parts = explode(' ', $data['start-line'], 3);
+
+ return new Response(
+ $parts[1],
+ $data['headers'],
+ $data['body'],
+ explode('/', $parts[0])[1],
+ isset($parts[2]) ? $parts[2] : null
+ );
+}
+
+/**
+ * Parse a query string into an associative array.
+ *
+ * If multiple values are found for the same key, the value of that key
+ * value pair will become an array. This function does not parse nested
+ * PHP style arrays into an associative array (e.g., foo[a]=1&foo[b]=2 will
+ * be parsed into ['foo[a]' => '1', 'foo[b]' => '2']).
+ *
+ * @param string $str Query string to parse
+ * @param bool|string $urlEncoding How the query string is encoded
+ *
+ * @return array
+ */
+function parse_query($str, $urlEncoding = true)
+{
+ $result = [];
+
+ if ($str === '') {
+ return $result;
+ }
+
+ if ($urlEncoding === true) {
+ $decoder = function ($value) {
+ return rawurldecode(str_replace('+', ' ', $value));
+ };
+ } elseif ($urlEncoding == PHP_QUERY_RFC3986) {
+ $decoder = 'rawurldecode';
+ } elseif ($urlEncoding == PHP_QUERY_RFC1738) {
+ $decoder = 'urldecode';
+ } else {
+ $decoder = function ($str) { return $str; };
+ }
+
+ foreach (explode('&', $str) as $kvp) {
+ $parts = explode('=', $kvp, 2);
+ $key = $decoder($parts[0]);
+ $value = isset($parts[1]) ? $decoder($parts[1]) : null;
+ if (!isset($result[$key])) {
+ $result[$key] = $value;
+ } else {
+ if (!is_array($result[$key])) {
+ $result[$key] = [$result[$key]];
+ }
+ $result[$key][] = $value;
+ }
+ }
+
+ return $result;
+}
+
+/**
+ * Build a query string from an array of key value pairs.
+ *
+ * This function can use the return value of parse_query() to build a query
+ * string. This function does not modify the provided keys when an array is
+ * encountered (like http_build_query would).
+ *
+ * @param array $params Query string parameters.
+ * @param int|false $encoding Set to false to not encode, PHP_QUERY_RFC3986
+ * to encode using RFC3986, or PHP_QUERY_RFC1738
+ * to encode using RFC1738.
+ * @return string
+ */
+function build_query(array $params, $encoding = PHP_QUERY_RFC3986)
+{
+ if (!$params) {
+ return '';
+ }
+
+ if ($encoding === false) {
+ $encoder = function ($str) { return $str; };
+ } elseif ($encoding === PHP_QUERY_RFC3986) {
+ $encoder = 'rawurlencode';
+ } elseif ($encoding === PHP_QUERY_RFC1738) {
+ $encoder = 'urlencode';
+ } else {
+ throw new \InvalidArgumentException('Invalid type');
+ }
+
+ $qs = '';
+ foreach ($params as $k => $v) {
+ $k = $encoder($k);
+ if (!is_array($v)) {
+ $qs .= $k;
+ if ($v !== null) {
+ $qs .= '=' . $encoder($v);
+ }
+ $qs .= '&';
+ } else {
+ foreach ($v as $vv) {
+ $qs .= $k;
+ if ($vv !== null) {
+ $qs .= '=' . $encoder($vv);
+ }
+ $qs .= '&';
+ }
+ }
+ }
+
+ return $qs ? (string) substr($qs, 0, -1) : '';
+}
+
+/**
+ * Determines the mimetype of a file by looking at its extension.
+ *
+ * @param $filename
+ *
+ * @return null|string
+ */
+function mimetype_from_filename($filename)
+{
+ return mimetype_from_extension(pathinfo($filename, PATHINFO_EXTENSION));
+}
+
+/**
+ * Maps a file extensions to a mimetype.
+ *
+ * @param $extension string The file extension.
+ *
+ * @return string|null
+ * @link http://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types
+ */
+function mimetype_from_extension($extension)
+{
+ static $mimetypes = [
+ '7z' => 'application/x-7z-compressed',
+ 'aac' => 'audio/x-aac',
+ 'ai' => 'application/postscript',
+ 'aif' => 'audio/x-aiff',
+ 'asc' => 'text/plain',
+ 'asf' => 'video/x-ms-asf',
+ 'atom' => 'application/atom+xml',
+ 'avi' => 'video/x-msvideo',
+ 'bmp' => 'image/bmp',
+ 'bz2' => 'application/x-bzip2',
+ 'cer' => 'application/pkix-cert',
+ 'crl' => 'application/pkix-crl',
+ 'crt' => 'application/x-x509-ca-cert',
+ 'css' => 'text/css',
+ 'csv' => 'text/csv',
+ 'cu' => 'application/cu-seeme',
+ 'deb' => 'application/x-debian-package',
+ 'doc' => 'application/msword',
+ 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
+ 'dvi' => 'application/x-dvi',
+ 'eot' => 'application/vnd.ms-fontobject',
+ 'eps' => 'application/postscript',
+ 'epub' => 'application/epub+zip',
+ 'etx' => 'text/x-setext',
+ 'flac' => 'audio/flac',
+ 'flv' => 'video/x-flv',
+ 'gif' => 'image/gif',
+ 'gz' => 'application/gzip',
+ 'htm' => 'text/html',
+ 'html' => 'text/html',
+ 'ico' => 'image/x-icon',
+ 'ics' => 'text/calendar',
+ 'ini' => 'text/plain',
+ 'iso' => 'application/x-iso9660-image',
+ 'jar' => 'application/java-archive',
+ 'jpe' => 'image/jpeg',
+ 'jpeg' => 'image/jpeg',
+ 'jpg' => 'image/jpeg',
+ 'js' => 'text/javascript',
+ 'json' => 'application/json',
+ 'latex' => 'application/x-latex',
+ 'log' => 'text/plain',
+ 'm4a' => 'audio/mp4',
+ 'm4v' => 'video/mp4',
+ 'mid' => 'audio/midi',
+ 'midi' => 'audio/midi',
+ 'mov' => 'video/quicktime',
+ 'mp3' => 'audio/mpeg',
+ 'mp4' => 'video/mp4',
+ 'mp4a' => 'audio/mp4',
+ 'mp4v' => 'video/mp4',
+ 'mpe' => 'video/mpeg',
+ 'mpeg' => 'video/mpeg',
+ 'mpg' => 'video/mpeg',
+ 'mpg4' => 'video/mp4',
+ 'oga' => 'audio/ogg',
+ 'ogg' => 'audio/ogg',
+ 'ogv' => 'video/ogg',
+ 'ogx' => 'application/ogg',
+ 'pbm' => 'image/x-portable-bitmap',
+ 'pdf' => 'application/pdf',
+ 'pgm' => 'image/x-portable-graymap',
+ 'png' => 'image/png',
+ 'pnm' => 'image/x-portable-anymap',
+ 'ppm' => 'image/x-portable-pixmap',
+ 'ppt' => 'application/vnd.ms-powerpoint',
+ 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
+ 'ps' => 'application/postscript',
+ 'qt' => 'video/quicktime',
+ 'rar' => 'application/x-rar-compressed',
+ 'ras' => 'image/x-cmu-raster',
+ 'rss' => 'application/rss+xml',
+ 'rtf' => 'application/rtf',
+ 'sgm' => 'text/sgml',
+ 'sgml' => 'text/sgml',
+ 'svg' => 'image/svg+xml',
+ 'swf' => 'application/x-shockwave-flash',
+ 'tar' => 'application/x-tar',
+ 'tif' => 'image/tiff',
+ 'tiff' => 'image/tiff',
+ 'torrent' => 'application/x-bittorrent',
+ 'ttf' => 'application/x-font-ttf',
+ 'txt' => 'text/plain',
+ 'wav' => 'audio/x-wav',
+ 'webm' => 'video/webm',
+ 'wma' => 'audio/x-ms-wma',
+ 'wmv' => 'video/x-ms-wmv',
+ 'woff' => 'application/x-font-woff',
+ 'wsdl' => 'application/wsdl+xml',
+ 'xbm' => 'image/x-xbitmap',
+ 'xls' => 'application/vnd.ms-excel',
+ 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
+ 'xml' => 'application/xml',
+ 'xpm' => 'image/x-xpixmap',
+ 'xwd' => 'image/x-xwindowdump',
+ 'yaml' => 'text/yaml',
+ 'yml' => 'text/yaml',
+ 'zip' => 'application/zip',
+ ];
+
+ $extension = strtolower($extension);
+
+ return isset($mimetypes[$extension])
+ ? $mimetypes[$extension]
+ : null;
+}
+
+/**
+ * Parses an HTTP message into an associative array.
+ *
+ * The array contains the "start-line" key containing the start line of
+ * the message, "headers" key containing an associative array of header
+ * array values, and a "body" key containing the body of the message.
+ *
+ * @param string $message HTTP request or response to parse.
+ *
+ * @return array
+ * @internal
+ */
+function _parse_message($message)
+{
+ if (!$message) {
+ throw new \InvalidArgumentException('Invalid message');
+ }
+
+ // Iterate over each line in the message, accounting for line endings
+ $lines = preg_split('/(\\r?\\n)/', $message, -1, PREG_SPLIT_DELIM_CAPTURE);
+ $result = ['start-line' => array_shift($lines), 'headers' => [], 'body' => ''];
+ array_shift($lines);
+
+ for ($i = 0, $totalLines = count($lines); $i < $totalLines; $i += 2) {
+ $line = $lines[$i];
+ // If two line breaks were encountered, then this is the end of body
+ if (empty($line)) {
+ if ($i < $totalLines - 1) {
+ $result['body'] = implode('', array_slice($lines, $i + 2));
+ }
+ break;
+ }
+ if (strpos($line, ':')) {
+ $parts = explode(':', $line, 2);
+ $key = trim($parts[0]);
+ $value = isset($parts[1]) ? trim($parts[1]) : '';
+ $result['headers'][$key][] = $value;
+ }
+ }
+
+ return $result;
+}
+
+/**
+ * Constructs a URI for an HTTP request message.
+ *
+ * @param string $path Path from the start-line
+ * @param array $headers Array of headers (each value an array).
+ *
+ * @return string
+ * @internal
+ */
+function _parse_request_uri($path, array $headers)
+{
+ $hostKey = array_filter(array_keys($headers), function ($k) {
+ return strtolower($k) === 'host';
+ });
+
+ // If no host is found, then a full URI cannot be constructed.
+ if (!$hostKey) {
+ return $path;
+ }
+
+ $host = $headers[reset($hostKey)][0];
+ $scheme = substr($host, -4) === ':443' ? 'https' : 'http';
+
+ return $scheme . '://' . $host . '/' . ltrim($path, '/');
+}
+
+/** @internal */
+function _caseless_remove($keys, array $data)
+{
+ $result = [];
+
+ foreach ($keys as &$key) {
+ $key = strtolower($key);
+ }
+
+ foreach ($data as $k => $v) {
+ if (!in_array(strtolower($k), $keys)) {
+ $result[$k] = $v;
+ }
+ }
+
+ return $result;
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/functions_include.php b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/functions_include.php
new file mode 100644
index 00000000..96a4a83a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/guzzlehttp/psr7/src/functions_include.php
@@ -0,0 +1,6 @@
+<?php
+
+// Don't redefine the functions if included multiple times.
+if (!function_exists('GuzzleHttp\Psr7\str')) {
+ require __DIR__ . '/functions.php';
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/.php_cs b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/.php_cs
new file mode 100644
index 00000000..366ccd08
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/.php_cs
@@ -0,0 +1,59 @@
+<?php
+
+$header = <<<EOF
+This file is part of the Monolog package.
+
+(c) Jordi Boggiano <j.boggiano@seld.be>
+
+For the full copyright and license information, please view the LICENSE
+file that was distributed with this source code.
+EOF;
+
+$finder = Symfony\CS\Finder::create()
+ ->files()
+ ->name('*.php')
+ ->exclude('Fixtures')
+ ->in(__DIR__.'/src')
+ ->in(__DIR__.'/tests')
+;
+
+return Symfony\CS\Config::create()
+ ->setUsingCache(true)
+ //->setUsingLinter(false)
+ ->setRiskyAllowed(true)
+ ->setRules(array(
+ '@PSR2' => true,
+ 'binary_operator_spaces' => true,
+ 'blank_line_before_return' => true,
+ 'header_comment' => array('header' => $header),
+ 'include' => true,
+ 'long_array_syntax' => true,
+ 'method_separation' => true,
+ 'no_blank_lines_after_class_opening' => true,
+ 'no_blank_lines_after_phpdoc' => true,
+ 'no_blank_lines_between_uses' => true,
+ 'no_duplicate_semicolons' => true,
+ 'no_extra_consecutive_blank_lines' => true,
+ 'no_leading_import_slash' => true,
+ 'no_leading_namespace_whitespace' => true,
+ 'no_trailing_comma_in_singleline_array' => true,
+ 'no_unused_imports' => true,
+ 'object_operator_without_whitespace' => true,
+ 'phpdoc_align' => true,
+ 'phpdoc_indent' => true,
+ 'phpdoc_no_access' => true,
+ 'phpdoc_no_package' => true,
+ 'phpdoc_order' => true,
+ 'phpdoc_scalar' => true,
+ 'phpdoc_trim' => true,
+ 'phpdoc_type_to_var' => true,
+ 'psr0' => true,
+ 'single_blank_line_before_namespace' => true,
+ 'spaces_cast' => true,
+ 'standardize_not_equals' => true,
+ 'ternary_operator_spaces' => true,
+ 'trailing_comma_in_multiline_array' => true,
+ 'whitespacy_lines' => true,
+ ))
+ ->finder($finder)
+;
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/CHANGELOG.md b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/CHANGELOG.md
new file mode 100644
index 00000000..cd1142d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/CHANGELOG.md
@@ -0,0 +1,342 @@
+### 1.23.0 (2017-06-19)
+
+ * Improved SyslogUdpHandler's support for RFC5424 and added optional `$ident` argument
+ * Fixed GelfHandler truncation to be per field and not per message
+ * Fixed compatibility issue with PHP <5.3.6
+ * Fixed support for headless Chrome in ChromePHPHandler
+ * Fixed support for latest Aws SDK in DynamoDbHandler
+ * Fixed support for SwiftMailer 6.0+ in SwiftMailerHandler
+
+### 1.22.1 (2017-03-13)
+
+ * Fixed lots of minor issues in the new Slack integrations
+ * Fixed support for allowInlineLineBreaks in LineFormatter when formatting exception backtraces
+
+### 1.22.0 (2016-11-26)
+
+ * Added SlackbotHandler and SlackWebhookHandler to set up Slack integration more easily
+ * Added MercurialProcessor to add mercurial revision and branch names to log records
+ * Added support for AWS SDK v3 in DynamoDbHandler
+ * Fixed fatal errors occuring when normalizing generators that have been fully consumed
+ * Fixed RollbarHandler to include a level (rollbar level), monolog_level (original name), channel and datetime (unix)
+ * Fixed RollbarHandler not flushing records automatically, calling close() explicitly is not necessary anymore
+ * Fixed SyslogUdpHandler to avoid sending empty frames
+ * Fixed a few PHP 7.0 and 7.1 compatibility issues
+
+### 1.21.0 (2016-07-29)
+
+ * Break: Reverted the addition of $context when the ErrorHandler handles regular php errors from 1.20.0 as it was causing issues
+ * Added support for more formats in RotatingFileHandler::setFilenameFormat as long as they have Y, m and d in order
+ * Added ability to format the main line of text the SlackHandler sends by explictly setting a formatter on the handler
+ * Added information about SoapFault instances in NormalizerFormatter
+ * Added $handleOnlyReportedErrors option on ErrorHandler::registerErrorHandler (default true) to allow logging of all errors no matter the error_reporting level
+
+### 1.20.0 (2016-07-02)
+
+ * Added FingersCrossedHandler::activate() to manually trigger the handler regardless of the activation policy
+ * Added StreamHandler::getUrl to retrieve the stream's URL
+ * Added ability to override addRow/addTitle in HtmlFormatter
+ * Added the $context to context information when the ErrorHandler handles a regular php error
+ * Deprecated RotatingFileHandler::setFilenameFormat to only support 3 formats: Y, Y-m and Y-m-d
+ * Fixed WhatFailureGroupHandler to work with PHP7 throwables
+ * Fixed a few minor bugs
+
+### 1.19.0 (2016-04-12)
+
+ * Break: StreamHandler will not close streams automatically that it does not own. If you pass in a stream (not a path/url), then it will not close it for you. You can retrieve those using getStream() if needed
+ * Added DeduplicationHandler to remove duplicate records from notifications across multiple requests, useful for email or other notifications on errors
+ * Added ability to use `%message%` and other LineFormatter replacements in the subject line of emails sent with NativeMailHandler and SwiftMailerHandler
+ * Fixed HipChatHandler handling of long messages
+
+### 1.18.2 (2016-04-02)
+
+ * Fixed ElasticaFormatter to use more precise dates
+ * Fixed GelfMessageFormatter sending too long messages
+
+### 1.18.1 (2016-03-13)
+
+ * Fixed SlackHandler bug where slack dropped messages randomly
+ * Fixed RedisHandler issue when using with the PHPRedis extension
+ * Fixed AmqpHandler content-type being incorrectly set when using with the AMQP extension
+ * Fixed BrowserConsoleHandler regression
+
+### 1.18.0 (2016-03-01)
+
+ * Added optional reduction of timestamp precision via `Logger->useMicrosecondTimestamps(false)`, disabling it gets you a bit of performance boost but reduces the precision to the second instead of microsecond
+ * Added possibility to skip some extra stack frames in IntrospectionProcessor if you have some library wrapping Monolog that is always adding frames
+ * Added `Logger->withName` to clone a logger (keeping all handlers) with a new name
+ * Added FluentdFormatter for the Fluentd unix socket protocol
+ * Added HandlerWrapper base class to ease the creation of handler wrappers, just extend it and override as needed
+ * Added support for replacing context sub-keys using `%context.*%` in LineFormatter
+ * Added support for `payload` context value in RollbarHandler
+ * Added setRelease to RavenHandler to describe the application version, sent with every log
+ * Added support for `fingerprint` context value in RavenHandler
+ * Fixed JSON encoding errors that would gobble up the whole log record, we now handle those more gracefully by dropping chars as needed
+ * Fixed write timeouts in SocketHandler and derivatives, set to 10sec by default, lower it with `setWritingTimeout()`
+ * Fixed PHP7 compatibility with regard to Exception/Throwable handling in a few places
+
+### 1.17.2 (2015-10-14)
+
+ * Fixed ErrorHandler compatibility with non-Monolog PSR-3 loggers
+ * Fixed SlackHandler handling to use slack functionalities better
+ * Fixed SwiftMailerHandler bug when sending multiple emails they all had the same id
+ * Fixed 5.3 compatibility regression
+
+### 1.17.1 (2015-08-31)
+
+ * Fixed RollbarHandler triggering PHP notices
+
+### 1.17.0 (2015-08-30)
+
+ * Added support for `checksum` and `release` context/extra values in RavenHandler
+ * Added better support for exceptions in RollbarHandler
+ * Added UidProcessor::getUid
+ * Added support for showing the resource type in NormalizedFormatter
+ * Fixed IntrospectionProcessor triggering PHP notices
+
+### 1.16.0 (2015-08-09)
+
+ * Added IFTTTHandler to notify ifttt.com triggers
+ * Added Logger::setHandlers() to allow setting/replacing all handlers
+ * Added $capSize in RedisHandler to cap the log size
+ * Fixed StreamHandler creation of directory to only trigger when the first log write happens
+ * Fixed bug in the handling of curl failures
+ * Fixed duplicate logging of fatal errors when both error and fatal error handlers are registered in monolog's ErrorHandler
+ * Fixed missing fatal errors records with handlers that need to be closed to flush log records
+ * Fixed TagProcessor::addTags support for associative arrays
+
+### 1.15.0 (2015-07-12)
+
+ * Added addTags and setTags methods to change a TagProcessor
+ * Added automatic creation of directories if they are missing for a StreamHandler to open a log file
+ * Added retry functionality to Loggly, Cube and Mandrill handlers so they retry up to 5 times in case of network failure
+ * Fixed process exit code being incorrectly reset to 0 if ErrorHandler::registerExceptionHandler was used
+ * Fixed HTML/JS escaping in BrowserConsoleHandler
+ * Fixed JSON encoding errors being silently suppressed (PHP 5.5+ only)
+
+### 1.14.0 (2015-06-19)
+
+ * Added PHPConsoleHandler to send record to Chrome's PHP Console extension and library
+ * Added support for objects implementing __toString in the NormalizerFormatter
+ * Added support for HipChat's v2 API in HipChatHandler
+ * Added Logger::setTimezone() to initialize the timezone monolog should use in case date.timezone isn't correct for your app
+ * Added an option to send formatted message instead of the raw record on PushoverHandler via ->useFormattedMessage(true)
+ * Fixed curl errors being silently suppressed
+
+### 1.13.1 (2015-03-09)
+
+ * Fixed regression in HipChat requiring a new token to be created
+
+### 1.13.0 (2015-03-05)
+
+ * Added Registry::hasLogger to check for the presence of a logger instance
+ * Added context.user support to RavenHandler
+ * Added HipChat API v2 support in the HipChatHandler
+ * Added NativeMailerHandler::addParameter to pass params to the mail() process
+ * Added context data to SlackHandler when $includeContextAndExtra is true
+ * Added ability to customize the Swift_Message per-email in SwiftMailerHandler
+ * Fixed SwiftMailerHandler to lazily create message instances if a callback is provided
+ * Fixed serialization of INF and NaN values in Normalizer and LineFormatter
+
+### 1.12.0 (2014-12-29)
+
+ * Break: HandlerInterface::isHandling now receives a partial record containing only a level key. This was always the intent and does not break any Monolog handler but is strictly speaking a BC break and you should check if you relied on any other field in your own handlers.
+ * Added PsrHandler to forward records to another PSR-3 logger
+ * Added SamplingHandler to wrap around a handler and include only every Nth record
+ * Added MongoDBFormatter to support better storage with MongoDBHandler (it must be enabled manually for now)
+ * Added exception codes in the output of most formatters
+ * Added LineFormatter::includeStacktraces to enable exception stack traces in logs (uses more than one line)
+ * Added $useShortAttachment to SlackHandler to minify attachment size and $includeExtra to append extra data
+ * Added $host to HipChatHandler for users of private instances
+ * Added $transactionName to NewRelicHandler and support for a transaction_name context value
+ * Fixed MandrillHandler to avoid outputing API call responses
+ * Fixed some non-standard behaviors in SyslogUdpHandler
+
+### 1.11.0 (2014-09-30)
+
+ * Break: The NewRelicHandler extra and context data are now prefixed with extra_ and context_ to avoid clashes. Watch out if you have scripts reading those from the API and rely on names
+ * Added WhatFailureGroupHandler to suppress any exception coming from the wrapped handlers and avoid chain failures if a logging service fails
+ * Added MandrillHandler to send emails via the Mandrillapp.com API
+ * Added SlackHandler to log records to a Slack.com account
+ * Added FleepHookHandler to log records to a Fleep.io account
+ * Added LogglyHandler::addTag to allow adding tags to an existing handler
+ * Added $ignoreEmptyContextAndExtra to LineFormatter to avoid empty [] at the end
+ * Added $useLocking to StreamHandler and RotatingFileHandler to enable flock() while writing
+ * Added support for PhpAmqpLib in the AmqpHandler
+ * Added FingersCrossedHandler::clear and BufferHandler::clear to reset them between batches in long running jobs
+ * Added support for adding extra fields from $_SERVER in the WebProcessor
+ * Fixed support for non-string values in PrsLogMessageProcessor
+ * Fixed SwiftMailer messages being sent with the wrong date in long running scripts
+ * Fixed minor PHP 5.6 compatibility issues
+ * Fixed BufferHandler::close being called twice
+
+### 1.10.0 (2014-06-04)
+
+ * Added Logger::getHandlers() and Logger::getProcessors() methods
+ * Added $passthruLevel argument to FingersCrossedHandler to let it always pass some records through even if the trigger level is not reached
+ * Added support for extra data in NewRelicHandler
+ * Added $expandNewlines flag to the ErrorLogHandler to create multiple log entries when a message has multiple lines
+
+### 1.9.1 (2014-04-24)
+
+ * Fixed regression in RotatingFileHandler file permissions
+ * Fixed initialization of the BufferHandler to make sure it gets flushed after receiving records
+ * Fixed ChromePHPHandler and FirePHPHandler's activation strategies to be more conservative
+
+### 1.9.0 (2014-04-20)
+
+ * Added LogEntriesHandler to send logs to a LogEntries account
+ * Added $filePermissions to tweak file mode on StreamHandler and RotatingFileHandler
+ * Added $useFormatting flag to MemoryProcessor to make it send raw data in bytes
+ * Added support for table formatting in FirePHPHandler via the table context key
+ * Added a TagProcessor to add tags to records, and support for tags in RavenHandler
+ * Added $appendNewline flag to the JsonFormatter to enable using it when logging to files
+ * Added sound support to the PushoverHandler
+ * Fixed multi-threading support in StreamHandler
+ * Fixed empty headers issue when ChromePHPHandler received no records
+ * Fixed default format of the ErrorLogHandler
+
+### 1.8.0 (2014-03-23)
+
+ * Break: the LineFormatter now strips newlines by default because this was a bug, set $allowInlineLineBreaks to true if you need them
+ * Added BrowserConsoleHandler to send logs to any browser's console via console.log() injection in the output
+ * Added FilterHandler to filter records and only allow those of a given list of levels through to the wrapped handler
+ * Added FlowdockHandler to send logs to a Flowdock account
+ * Added RollbarHandler to send logs to a Rollbar account
+ * Added HtmlFormatter to send prettier log emails with colors for each log level
+ * Added GitProcessor to add the current branch/commit to extra record data
+ * Added a Monolog\Registry class to allow easier global access to pre-configured loggers
+ * Added support for the new official graylog2/gelf-php lib for GelfHandler, upgrade if you can by replacing the mlehner/gelf-php requirement
+ * Added support for HHVM
+ * Added support for Loggly batch uploads
+ * Added support for tweaking the content type and encoding in NativeMailerHandler
+ * Added $skipClassesPartials to tweak the ignored classes in the IntrospectionProcessor
+ * Fixed batch request support in GelfHandler
+
+### 1.7.0 (2013-11-14)
+
+ * Added ElasticSearchHandler to send logs to an Elastic Search server
+ * Added DynamoDbHandler and ScalarFormatter to send logs to Amazon's Dynamo DB
+ * Added SyslogUdpHandler to send logs to a remote syslogd server
+ * Added LogglyHandler to send logs to a Loggly account
+ * Added $level to IntrospectionProcessor so it only adds backtraces when needed
+ * Added $version to LogstashFormatter to allow using the new v1 Logstash format
+ * Added $appName to NewRelicHandler
+ * Added configuration of Pushover notification retries/expiry
+ * Added $maxColumnWidth to NativeMailerHandler to change the 70 chars default
+ * Added chainability to most setters for all handlers
+ * Fixed RavenHandler batch processing so it takes the message from the record with highest priority
+ * Fixed HipChatHandler batch processing so it sends all messages at once
+ * Fixed issues with eAccelerator
+ * Fixed and improved many small things
+
+### 1.6.0 (2013-07-29)
+
+ * Added HipChatHandler to send logs to a HipChat chat room
+ * Added ErrorLogHandler to send logs to PHP's error_log function
+ * Added NewRelicHandler to send logs to NewRelic's service
+ * Added Monolog\ErrorHandler helper class to register a Logger as exception/error/fatal handler
+ * Added ChannelLevelActivationStrategy for the FingersCrossedHandler to customize levels by channel
+ * Added stack traces output when normalizing exceptions (json output & co)
+ * Added Monolog\Logger::API constant (currently 1)
+ * Added support for ChromePHP's v4.0 extension
+ * Added support for message priorities in PushoverHandler, see $highPriorityLevel and $emergencyLevel
+ * Added support for sending messages to multiple users at once with the PushoverHandler
+ * Fixed RavenHandler's support for batch sending of messages (when behind a Buffer or FingersCrossedHandler)
+ * Fixed normalization of Traversables with very large data sets, only the first 1000 items are shown now
+ * Fixed issue in RotatingFileHandler when an open_basedir restriction is active
+ * Fixed minor issues in RavenHandler and bumped the API to Raven 0.5.0
+ * Fixed SyslogHandler issue when many were used concurrently with different facilities
+
+### 1.5.0 (2013-04-23)
+
+ * Added ProcessIdProcessor to inject the PID in log records
+ * Added UidProcessor to inject a unique identifier to all log records of one request/run
+ * Added support for previous exceptions in the LineFormatter exception serialization
+ * Added Monolog\Logger::getLevels() to get all available levels
+ * Fixed ChromePHPHandler so it avoids sending headers larger than Chrome can handle
+
+### 1.4.1 (2013-04-01)
+
+ * Fixed exception formatting in the LineFormatter to be more minimalistic
+ * Fixed RavenHandler's handling of context/extra data, requires Raven client >0.1.0
+ * Fixed log rotation in RotatingFileHandler to work with long running scripts spanning multiple days
+ * Fixed WebProcessor array access so it checks for data presence
+ * Fixed Buffer, Group and FingersCrossed handlers to make use of their processors
+
+### 1.4.0 (2013-02-13)
+
+ * Added RedisHandler to log to Redis via the Predis library or the phpredis extension
+ * Added ZendMonitorHandler to log to the Zend Server monitor
+ * Added the possibility to pass arrays of handlers and processors directly in the Logger constructor
+ * Added `$useSSL` option to the PushoverHandler which is enabled by default
+ * Fixed ChromePHPHandler and FirePHPHandler issue when multiple instances are used simultaneously
+ * Fixed header injection capability in the NativeMailHandler
+
+### 1.3.1 (2013-01-11)
+
+ * Fixed LogstashFormatter to be usable with stream handlers
+ * Fixed GelfMessageFormatter levels on Windows
+
+### 1.3.0 (2013-01-08)
+
+ * Added PSR-3 compliance, the `Monolog\Logger` class is now an instance of `Psr\Log\LoggerInterface`
+ * Added PsrLogMessageProcessor that you can selectively enable for full PSR-3 compliance
+ * Added LogstashFormatter (combine with SocketHandler or StreamHandler to send logs to Logstash)
+ * Added PushoverHandler to send mobile notifications
+ * Added CouchDBHandler and DoctrineCouchDBHandler
+ * Added RavenHandler to send data to Sentry servers
+ * Added support for the new MongoClient class in MongoDBHandler
+ * Added microsecond precision to log records' timestamps
+ * Added `$flushOnOverflow` param to BufferHandler to flush by batches instead of losing
+ the oldest entries
+ * Fixed normalization of objects with cyclic references
+
+### 1.2.1 (2012-08-29)
+
+ * Added new $logopts arg to SyslogHandler to provide custom openlog options
+ * Fixed fatal error in SyslogHandler
+
+### 1.2.0 (2012-08-18)
+
+ * Added AmqpHandler (for use with AMQP servers)
+ * Added CubeHandler
+ * Added NativeMailerHandler::addHeader() to send custom headers in mails
+ * Added the possibility to specify more than one recipient in NativeMailerHandler
+ * Added the possibility to specify float timeouts in SocketHandler
+ * Added NOTICE and EMERGENCY levels to conform with RFC 5424
+ * Fixed the log records to use the php default timezone instead of UTC
+ * Fixed BufferHandler not being flushed properly on PHP fatal errors
+ * Fixed normalization of exotic resource types
+ * Fixed the default format of the SyslogHandler to avoid duplicating datetimes in syslog
+
+### 1.1.0 (2012-04-23)
+
+ * Added Monolog\Logger::isHandling() to check if a handler will
+ handle the given log level
+ * Added ChromePHPHandler
+ * Added MongoDBHandler
+ * Added GelfHandler (for use with Graylog2 servers)
+ * Added SocketHandler (for use with syslog-ng for example)
+ * Added NormalizerFormatter
+ * Added the possibility to change the activation strategy of the FingersCrossedHandler
+ * Added possibility to show microseconds in logs
+ * Added `server` and `referer` to WebProcessor output
+
+### 1.0.2 (2011-10-24)
+
+ * Fixed bug in IE with large response headers and FirePHPHandler
+
+### 1.0.1 (2011-08-25)
+
+ * Added MemoryPeakUsageProcessor and MemoryUsageProcessor
+ * Added Monolog\Logger::getName() to get a logger's channel name
+
+### 1.0.0 (2011-07-06)
+
+ * Added IntrospectionProcessor to get info from where the logger was called
+ * Fixed WebProcessor in CLI
+
+### 1.0.0-RC1 (2011-07-01)
+
+ * Initial release
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/LICENSE b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/LICENSE
new file mode 100644
index 00000000..16473219
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2011-2016 Jordi Boggiano
+
+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/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/README.md b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/README.md
new file mode 100644
index 00000000..7d8ade52
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/README.md
@@ -0,0 +1,95 @@
+# Monolog - Logging for PHP [![Build Status](https://img.shields.io/travis/Seldaek/monolog.svg)](https://travis-ci.org/Seldaek/monolog)
+
+[![Total Downloads](https://img.shields.io/packagist/dt/monolog/monolog.svg)](https://packagist.org/packages/monolog/monolog)
+[![Latest Stable Version](https://img.shields.io/packagist/v/monolog/monolog.svg)](https://packagist.org/packages/monolog/monolog)
+[![Reference Status](https://www.versioneye.com/php/monolog:monolog/reference_badge.svg)](https://www.versioneye.com/php/monolog:monolog/references)
+
+
+Monolog sends your logs to files, sockets, inboxes, databases and various
+web services. See the complete list of handlers below. Special handlers
+allow you to build advanced logging strategies.
+
+This library implements the [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md)
+interface that you can type-hint against in your own libraries to keep
+a maximum of interoperability. You can also use it in your applications to
+make sure you can always use another compatible logger at a later time.
+As of 1.11.0 Monolog public APIs will also accept PSR-3 log levels.
+Internally Monolog still uses its own level scheme since it predates PSR-3.
+
+## Installation
+
+Install the latest version with
+
+```bash
+$ composer require monolog/monolog
+```
+
+## Basic Usage
+
+```php
+<?php
+
+use Monolog\Logger;
+use Monolog\Handler\StreamHandler;
+
+// create a log channel
+$log = new Logger('name');
+$log->pushHandler(new StreamHandler('path/to/your.log', Logger::WARNING));
+
+// add records to the log
+$log->addWarning('Foo');
+$log->addError('Bar');
+```
+
+## Documentation
+
+- [Usage Instructions](doc/01-usage.md)
+- [Handlers, Formatters and Processors](doc/02-handlers-formatters-processors.md)
+- [Utility classes](doc/03-utilities.md)
+- [Extending Monolog](doc/04-extending.md)
+
+## Third Party Packages
+
+Third party handlers, formatters and processors are
+[listed in the wiki](https://github.com/Seldaek/monolog/wiki/Third-Party-Packages). You
+can also add your own there if you publish one.
+
+## About
+
+### Requirements
+
+- Monolog works with PHP 5.3 or above, and is also tested to work with HHVM.
+
+### Submitting bugs and feature requests
+
+Bugs and feature request are tracked on [GitHub](https://github.com/Seldaek/monolog/issues)
+
+### Framework Integrations
+
+- Frameworks and libraries using [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md)
+ can be used very easily with Monolog since it implements the interface.
+- [Symfony2](http://symfony.com) comes out of the box with Monolog.
+- [Silex](http://silex.sensiolabs.org/) comes out of the box with Monolog.
+- [Laravel 4 & 5](http://laravel.com/) come out of the box with Monolog.
+- [Lumen](http://lumen.laravel.com/) comes out of the box with Monolog.
+- [PPI](http://www.ppi.io/) comes out of the box with Monolog.
+- [CakePHP](http://cakephp.org/) is usable with Monolog via the [cakephp-monolog](https://github.com/jadb/cakephp-monolog) plugin.
+- [Slim](http://www.slimframework.com/) is usable with Monolog via the [Slim-Monolog](https://github.com/Flynsarmy/Slim-Monolog) log writer.
+- [XOOPS 2.6](http://xoops.org/) comes out of the box with Monolog.
+- [Aura.Web_Project](https://github.com/auraphp/Aura.Web_Project) comes out of the box with Monolog.
+- [Nette Framework](http://nette.org/en/) can be used with Monolog via [Kdyby/Monolog](https://github.com/Kdyby/Monolog) extension.
+- [Proton Micro Framework](https://github.com/alexbilbie/Proton) comes out of the box with Monolog.
+
+### Author
+
+Jordi Boggiano - <j.boggiano@seld.be> - <http://twitter.com/seldaek><br />
+See also the list of [contributors](https://github.com/Seldaek/monolog/contributors) which participated in this project.
+
+### License
+
+Monolog is licensed under the MIT License - see the `LICENSE` file for details
+
+### Acknowledgements
+
+This library is heavily inspired by Python's [Logbook](http://packages.python.org/Logbook/)
+library, although most concepts have been adjusted to fit to the PHP world.
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/composer.json b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/composer.json
new file mode 100644
index 00000000..3b0c8805
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/composer.json
@@ -0,0 +1,66 @@
+{
+ "name": "monolog/monolog",
+ "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
+ "keywords": ["log", "logging", "psr-3"],
+ "homepage": "http://github.com/Seldaek/monolog",
+ "type": "library",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Jordi Boggiano",
+ "email": "j.boggiano@seld.be",
+ "homepage": "http://seld.be"
+ }
+ ],
+ "require": {
+ "php": ">=5.3.0",
+ "psr/log": "~1.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.5",
+ "graylog2/gelf-php": "~1.0",
+ "sentry/sentry": "^0.13",
+ "ruflin/elastica": ">=0.90 <3.0",
+ "doctrine/couchdb": "~1.0@dev",
+ "aws/aws-sdk-php": "^2.4.9 || ^3.0",
+ "php-amqplib/php-amqplib": "~2.4",
+ "swiftmailer/swiftmailer": "^5.3|^6.0",
+ "php-console/php-console": "^3.1.3",
+ "phpunit/phpunit-mock-objects": "2.3.0",
+ "jakub-onderka/php-parallel-lint": "0.9"
+ },
+ "_": "phpunit/phpunit-mock-objects required in 2.3.0 due to https://github.com/sebastianbergmann/phpunit-mock-objects/issues/223 - needs hhvm 3.8+ on travis",
+ "suggest": {
+ "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
+ "sentry/sentry": "Allow sending log messages to a Sentry server",
+ "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
+ "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
+ "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
+ "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
+ "ext-mongo": "Allow sending log messages to a MongoDB server",
+ "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
+ "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
+ "rollbar/rollbar": "Allow sending log messages to Rollbar",
+ "php-console/php-console": "Allow sending log messages to Google Chrome"
+ },
+ "autoload": {
+ "psr-4": {"Monolog\\": "src/Monolog"}
+ },
+ "autoload-dev": {
+ "psr-4": {"Monolog\\": "tests/Monolog"}
+ },
+ "provide": {
+ "psr/log-implementation": "1.0.0"
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0.x-dev"
+ }
+ },
+ "scripts": {
+ "test": [
+ "parallel-lint . --exclude vendor",
+ "phpunit"
+ ]
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/01-usage.md b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/01-usage.md
new file mode 100644
index 00000000..8e2551f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/01-usage.md
@@ -0,0 +1,231 @@
+# Using Monolog
+
+- [Installation](#installation)
+- [Core Concepts](#core-concepts)
+- [Log Levels](#log-levels)
+- [Configuring a logger](#configuring-a-logger)
+- [Adding extra data in the records](#adding-extra-data-in-the-records)
+- [Leveraging channels](#leveraging-channels)
+- [Customizing the log format](#customizing-the-log-format)
+
+## Installation
+
+Monolog is available on Packagist ([monolog/monolog](http://packagist.org/packages/monolog/monolog))
+and as such installable via [Composer](http://getcomposer.org/).
+
+```bash
+composer require monolog/monolog
+```
+
+If you do not use Composer, you can grab the code from GitHub, and use any
+PSR-0 compatible autoloader (e.g. the [Symfony2 ClassLoader component](https://github.com/symfony/ClassLoader))
+to load Monolog classes.
+
+## Core Concepts
+
+Every `Logger` instance has a channel (name) and a stack of handlers. Whenever
+you add a record to the logger, it traverses the handler stack. Each handler
+decides whether it fully handled the record, and if so, the propagation of the
+record ends there.
+
+This allows for flexible logging setups, for example having a `StreamHandler` at
+the bottom of the stack that will log anything to disk, and on top of that add
+a `MailHandler` that will send emails only when an error message is logged.
+Handlers also have a `$bubble` property which defines whether they block the
+record or not if they handled it. In this example, setting the `MailHandler`'s
+`$bubble` argument to false means that records handled by the `MailHandler` will
+not propagate to the `StreamHandler` anymore.
+
+You can create many `Logger`s, each defining a channel (e.g.: db, request,
+router, ..) and each of them combining various handlers, which can be shared
+or not. The channel is reflected in the logs and allows you to easily see or
+filter records.
+
+Each Handler also has a Formatter, a default one with settings that make sense
+will be created if you don't set one. The formatters normalize and format
+incoming records so that they can be used by the handlers to output useful
+information.
+
+Custom severity levels are not available. Only the eight
+[RFC 5424](http://tools.ietf.org/html/rfc5424) levels (debug, info, notice,
+warning, error, critical, alert, emergency) are present for basic filtering
+purposes, but for sorting and other use cases that would require
+flexibility, you should add Processors to the Logger that can add extra
+information (tags, user ip, ..) to the records before they are handled.
+
+## Log Levels
+
+Monolog supports the logging levels described by [RFC 5424](http://tools.ietf.org/html/rfc5424).
+
+- **DEBUG** (100): Detailed debug information.
+
+- **INFO** (200): Interesting events. Examples: User logs in, SQL logs.
+
+- **NOTICE** (250): Normal but significant events.
+
+- **WARNING** (300): Exceptional occurrences that are not errors. Examples:
+ Use of deprecated APIs, poor use of an API, undesirable things that are not
+ necessarily wrong.
+
+- **ERROR** (400): Runtime errors that do not require immediate action but
+ should typically be logged and monitored.
+
+- **CRITICAL** (500): Critical conditions. Example: Application component
+ unavailable, unexpected exception.
+
+- **ALERT** (550): Action must be taken immediately. Example: Entire website
+ down, database unavailable, etc. This should trigger the SMS alerts and wake
+ you up.
+
+- **EMERGENCY** (600): Emergency: system is unusable.
+
+## Configuring a logger
+
+Here is a basic setup to log to a file and to firephp on the DEBUG level:
+
+```php
+<?php
+
+use Monolog\Logger;
+use Monolog\Handler\StreamHandler;
+use Monolog\Handler\FirePHPHandler;
+
+// Create the logger
+$logger = new Logger('my_logger');
+// Now add some handlers
+$logger->pushHandler(new StreamHandler(__DIR__.'/my_app.log', Logger::DEBUG));
+$logger->pushHandler(new FirePHPHandler());
+
+// You can now use your logger
+$logger->addInfo('My logger is now ready');
+```
+
+Let's explain it. The first step is to create the logger instance which will
+be used in your code. The argument is a channel name, which is useful when
+you use several loggers (see below for more details about it).
+
+The logger itself does not know how to handle a record. It delegates it to
+some handlers. The code above registers two handlers in the stack to allow
+handling records in two different ways.
+
+Note that the FirePHPHandler is called first as it is added on top of the
+stack. This allows you to temporarily add a logger with bubbling disabled if
+you want to override other configured loggers.
+
+> If you use Monolog standalone and are looking for an easy way to
+> configure many handlers, the [theorchard/monolog-cascade](https://github.com/theorchard/monolog-cascade)
+> can help you build complex logging configs via PHP arrays, yaml or json configs.
+
+## Adding extra data in the records
+
+Monolog provides two different ways to add extra informations along the simple
+textual message.
+
+### Using the logging context
+
+The first way is the context, allowing to pass an array of data along the
+record:
+
+```php
+<?php
+
+$logger->addInfo('Adding a new user', array('username' => 'Seldaek'));
+```
+
+Simple handlers (like the StreamHandler for instance) will simply format
+the array to a string but richer handlers can take advantage of the context
+(FirePHP is able to display arrays in pretty way for instance).
+
+### Using processors
+
+The second way is to add extra data for all records by using a processor.
+Processors can be any callable. They will get the record as parameter and
+must return it after having eventually changed the `extra` part of it. Let's
+write a processor adding some dummy data in the record:
+
+```php
+<?php
+
+$logger->pushProcessor(function ($record) {
+ $record['extra']['dummy'] = 'Hello world!';
+
+ return $record;
+});
+```
+
+Monolog provides some built-in processors that can be used in your project.
+Look at the [dedicated chapter](https://github.com/Seldaek/monolog/blob/master/doc/02-handlers-formatters-processors.md#processors) for the list.
+
+> Tip: processors can also be registered on a specific handler instead of
+ the logger to apply only for this handler.
+
+## Leveraging channels
+
+Channels are a great way to identify to which part of the application a record
+is related. This is useful in big applications (and is leveraged by
+MonologBundle in Symfony2).
+
+Picture two loggers sharing a handler that writes to a single log file.
+Channels would allow you to identify the logger that issued every record.
+You can easily grep through the log files filtering this or that channel.
+
+```php
+<?php
+
+use Monolog\Logger;
+use Monolog\Handler\StreamHandler;
+use Monolog\Handler\FirePHPHandler;
+
+// Create some handlers
+$stream = new StreamHandler(__DIR__.'/my_app.log', Logger::DEBUG);
+$firephp = new FirePHPHandler();
+
+// Create the main logger of the app
+$logger = new Logger('my_logger');
+$logger->pushHandler($stream);
+$logger->pushHandler($firephp);
+
+// Create a logger for the security-related stuff with a different channel
+$securityLogger = new Logger('security');
+$securityLogger->pushHandler($stream);
+$securityLogger->pushHandler($firephp);
+
+// Or clone the first one to only change the channel
+$securityLogger = $logger->withName('security');
+```
+
+## Customizing the log format
+
+In Monolog it's easy to customize the format of the logs written into files,
+sockets, mails, databases and other handlers. Most of the handlers use the
+
+```php
+$record['formatted']
+```
+
+value to be automatically put into the log device. This value depends on the
+formatter settings. You can choose between predefined formatter classes or
+write your own (e.g. a multiline text file for human-readable output).
+
+To configure a predefined formatter class, just set it as the handler's field:
+
+```php
+// the default date format is "Y-m-d H:i:s"
+$dateFormat = "Y n j, g:i a";
+// the default output format is "[%datetime%] %channel%.%level_name%: %message% %context% %extra%\n"
+$output = "%datetime% > %level_name% > %message% %context% %extra%\n";
+// finally, create a formatter
+$formatter = new LineFormatter($output, $dateFormat);
+
+// Create a handler
+$stream = new StreamHandler(__DIR__.'/my_app.log', Logger::DEBUG);
+$stream->setFormatter($formatter);
+// bind it to a logger object
+$securityLogger = new Logger('security');
+$securityLogger->pushHandler($stream);
+```
+
+You may also reuse the same formatter between multiple handlers and share those
+handlers between multiple loggers.
+
+[Handlers, Formatters and Processors](02-handlers-formatters-processors.md) &rarr;
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/02-handlers-formatters-processors.md b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/02-handlers-formatters-processors.md
new file mode 100644
index 00000000..bea968ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/02-handlers-formatters-processors.md
@@ -0,0 +1,157 @@
+# Handlers, Formatters and Processors
+
+- [Handlers](#handlers)
+ - [Log to files and syslog](#log-to-files-and-syslog)
+ - [Send alerts and emails](#send-alerts-and-emails)
+ - [Log specific servers and networked logging](#log-specific-servers-and-networked-logging)
+ - [Logging in development](#logging-in-development)
+ - [Log to databases](#log-to-databases)
+ - [Wrappers / Special Handlers](#wrappers--special-handlers)
+- [Formatters](#formatters)
+- [Processors](#processors)
+- [Third Party Packages](#third-party-packages)
+
+## Handlers
+
+### Log to files and syslog
+
+- _StreamHandler_: Logs records into any PHP stream, use this for log files.
+- _RotatingFileHandler_: Logs records to a file and creates one logfile per day.
+ It will also delete files older than `$maxFiles`. You should use
+ [logrotate](http://linuxcommand.org/man_pages/logrotate8.html) for high profile
+ setups though, this is just meant as a quick and dirty solution.
+- _SyslogHandler_: Logs records to the syslog.
+- _ErrorLogHandler_: Logs records to PHP's
+ [`error_log()`](http://docs.php.net/manual/en/function.error-log.php) function.
+
+### Send alerts and emails
+
+- _NativeMailerHandler_: Sends emails using PHP's
+ [`mail()`](http://php.net/manual/en/function.mail.php) function.
+- _SwiftMailerHandler_: Sends emails using a [`Swift_Mailer`](http://swiftmailer.org/) instance.
+- _PushoverHandler_: Sends mobile notifications via the [Pushover](https://www.pushover.net/) API.
+- _HipChatHandler_: Logs records to a [HipChat](http://hipchat.com) chat room using its API.
+- _FlowdockHandler_: Logs records to a [Flowdock](https://www.flowdock.com/) account.
+- _SlackHandler_: Logs records to a [Slack](https://www.slack.com/) account using the Slack API.
+- _SlackbotHandler_: Logs records to a [Slack](https://www.slack.com/) account using the Slackbot incoming hook.
+- _SlackWebhookHandler_: Logs records to a [Slack](https://www.slack.com/) account using Slack Webhooks.
+- _MandrillHandler_: Sends emails via the Mandrill API using a [`Swift_Message`](http://swiftmailer.org/) instance.
+- _FleepHookHandler_: Logs records to a [Fleep](https://fleep.io/) conversation using Webhooks.
+- _IFTTTHandler_: Notifies an [IFTTT](https://ifttt.com/maker) trigger with the log channel, level name and message.
+
+### Log specific servers and networked logging
+
+- _SocketHandler_: Logs records to [sockets](http://php.net/fsockopen), use this
+ for UNIX and TCP sockets. See an [example](sockets.md).
+- _AmqpHandler_: Logs records to an [amqp](http://www.amqp.org/) compatible
+ server. Requires the [php-amqp](http://pecl.php.net/package/amqp) extension (1.0+).
+- _GelfHandler_: Logs records to a [Graylog2](http://www.graylog2.org) server.
+- _CubeHandler_: Logs records to a [Cube](http://square.github.com/cube/) server.
+- _RavenHandler_: Logs records to a [Sentry](http://getsentry.com/) server using
+ [raven](https://packagist.org/packages/raven/raven).
+- _ZendMonitorHandler_: Logs records to the Zend Monitor present in Zend Server.
+- _NewRelicHandler_: Logs records to a [NewRelic](http://newrelic.com/) application.
+- _LogglyHandler_: Logs records to a [Loggly](http://www.loggly.com/) account.
+- _RollbarHandler_: Logs records to a [Rollbar](https://rollbar.com/) account.
+- _SyslogUdpHandler_: Logs records to a remote [Syslogd](http://www.rsyslog.com/) server.
+- _LogEntriesHandler_: Logs records to a [LogEntries](http://logentries.com/) account.
+
+### Logging in development
+
+- _FirePHPHandler_: Handler for [FirePHP](http://www.firephp.org/), providing
+ inline `console` messages within [FireBug](http://getfirebug.com/).
+- _ChromePHPHandler_: Handler for [ChromePHP](http://www.chromephp.com/), providing
+ inline `console` messages within Chrome.
+- _BrowserConsoleHandler_: Handler to send logs to browser's Javascript `console` with
+ no browser extension required. Most browsers supporting `console` API are supported.
+- _PHPConsoleHandler_: Handler for [PHP Console](https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef), providing
+ inline `console` and notification popup messages within Chrome.
+
+### Log to databases
+
+- _RedisHandler_: Logs records to a [redis](http://redis.io) server.
+- _MongoDBHandler_: Handler to write records in MongoDB via a
+ [Mongo](http://pecl.php.net/package/mongo) extension connection.
+- _CouchDBHandler_: Logs records to a CouchDB server.
+- _DoctrineCouchDBHandler_: Logs records to a CouchDB server via the Doctrine CouchDB ODM.
+- _ElasticSearchHandler_: Logs records to an Elastic Search server.
+- _DynamoDbHandler_: Logs records to a DynamoDB table with the [AWS SDK](https://github.com/aws/aws-sdk-php).
+
+### Wrappers / Special Handlers
+
+- _FingersCrossedHandler_: A very interesting wrapper. It takes a logger as
+ parameter and will accumulate log records of all levels until a record
+ exceeds the defined severity level. At which point it delivers all records,
+ including those of lower severity, to the handler it wraps. This means that
+ until an error actually happens you will not see anything in your logs, but
+ when it happens you will have the full information, including debug and info
+ records. This provides you with all the information you need, but only when
+ you need it.
+- _DeduplicationHandler_: Useful if you are sending notifications or emails
+ when critical errors occur. It takes a logger as parameter and will
+ accumulate log records of all levels until the end of the request (or
+ `flush()` is called). At that point it delivers all records to the handler
+ it wraps, but only if the records are unique over a given time period
+ (60seconds by default). If the records are duplicates they are simply
+ discarded. The main use of this is in case of critical failure like if your
+ database is unreachable for example all your requests will fail and that
+ can result in a lot of notifications being sent. Adding this handler reduces
+ the amount of notifications to a manageable level.
+- _WhatFailureGroupHandler_: This handler extends the _GroupHandler_ ignoring
+ exceptions raised by each child handler. This allows you to ignore issues
+ where a remote tcp connection may have died but you do not want your entire
+ application to crash and may wish to continue to log to other handlers.
+- _BufferHandler_: This handler will buffer all the log records it receives
+ until `close()` is called at which point it will call `handleBatch()` on the
+ handler it wraps with all the log messages at once. This is very useful to
+ send an email with all records at once for example instead of having one mail
+ for every log record.
+- _GroupHandler_: This handler groups other handlers. Every record received is
+ sent to all the handlers it is configured with.
+- _FilterHandler_: This handler only lets records of the given levels through
+ to the wrapped handler.
+- _SamplingHandler_: Wraps around another handler and lets you sample records
+ if you only want to store some of them.
+- _NullHandler_: Any record it can handle will be thrown away. This can be used
+ to put on top of an existing handler stack to disable it temporarily.
+- _PsrHandler_: Can be used to forward log records to an existing PSR-3 logger
+- _TestHandler_: Used for testing, it records everything that is sent to it and
+ has accessors to read out the information.
+- _HandlerWrapper_: A simple handler wrapper you can inherit from to create
+ your own wrappers easily.
+
+## Formatters
+
+- _LineFormatter_: Formats a log record into a one-line string.
+- _HtmlFormatter_: Used to format log records into a human readable html table, mainly suitable for emails.
+- _NormalizerFormatter_: Normalizes objects/resources down to strings so a record can easily be serialized/encoded.
+- _ScalarFormatter_: Used to format log records into an associative array of scalar values.
+- _JsonFormatter_: Encodes a log record into json.
+- _WildfireFormatter_: Used to format log records into the Wildfire/FirePHP protocol, only useful for the FirePHPHandler.
+- _ChromePHPFormatter_: Used to format log records into the ChromePHP format, only useful for the ChromePHPHandler.
+- _GelfMessageFormatter_: Used to format log records into Gelf message instances, only useful for the GelfHandler.
+- _LogstashFormatter_: Used to format log records into [logstash](http://logstash.net/) event json, useful for any handler listed under inputs [here](http://logstash.net/docs/latest).
+- _ElasticaFormatter_: Used to format log records into an Elastica\Document object, only useful for the ElasticSearchHandler.
+- _LogglyFormatter_: Used to format log records into Loggly messages, only useful for the LogglyHandler.
+- _FlowdockFormatter_: Used to format log records into Flowdock messages, only useful for the FlowdockHandler.
+- _MongoDBFormatter_: Converts \DateTime instances to \MongoDate and objects recursively to arrays, only useful with the MongoDBHandler.
+
+## Processors
+
+- _PsrLogMessageProcessor_: Processes a log record's message according to PSR-3 rules, replacing `{foo}` with the value from `$context['foo']`.
+- _IntrospectionProcessor_: Adds the line/file/class/method from which the log call originated.
+- _WebProcessor_: Adds the current request URI, request method and client IP to a log record.
+- _MemoryUsageProcessor_: Adds the current memory usage to a log record.
+- _MemoryPeakUsageProcessor_: Adds the peak memory usage to a log record.
+- _ProcessIdProcessor_: Adds the process id to a log record.
+- _UidProcessor_: Adds a unique identifier to a log record.
+- _GitProcessor_: Adds the current git branch and commit to a log record.
+- _TagProcessor_: Adds an array of predefined tags to a log record.
+
+## Third Party Packages
+
+Third party handlers, formatters and processors are
+[listed in the wiki](https://github.com/Seldaek/monolog/wiki/Third-Party-Packages). You
+can also add your own there if you publish one.
+
+&larr; [Usage](01-usage.md) | [Utility classes](03-utilities.md) &rarr;
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/03-utilities.md b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/03-utilities.md
new file mode 100644
index 00000000..c62aa416
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/03-utilities.md
@@ -0,0 +1,13 @@
+# Utilities
+
+- _Registry_: The `Monolog\Registry` class lets you configure global loggers that you
+ can then statically access from anywhere. It is not really a best practice but can
+ help in some older codebases or for ease of use.
+- _ErrorHandler_: The `Monolog\ErrorHandler` class allows you to easily register
+ a Logger instance as an exception handler, error handler or fatal error handler.
+- _ErrorLevelActivationStrategy_: Activates a FingersCrossedHandler when a certain log
+ level is reached.
+- _ChannelLevelActivationStrategy_: Activates a FingersCrossedHandler when a certain
+ log level is reached, depending on which channel received the log record.
+
+&larr; [Handlers, Formatters and Processors](02-handlers-formatters-processors.md) | [Extending Monolog](04-extending.md) &rarr;
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/04-extending.md b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/04-extending.md
new file mode 100644
index 00000000..ebd9104d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/04-extending.md
@@ -0,0 +1,76 @@
+# Extending Monolog
+
+Monolog is fully extensible, allowing you to adapt your logger to your needs.
+
+## Writing your own handler
+
+Monolog provides many built-in handlers. But if the one you need does not
+exist, you can write it and use it in your logger. The only requirement is
+to implement `Monolog\Handler\HandlerInterface`.
+
+Let's write a PDOHandler to log records to a database. We will extend the
+abstract class provided by Monolog to keep things DRY.
+
+```php
+<?php
+
+use Monolog\Logger;
+use Monolog\Handler\AbstractProcessingHandler;
+
+class PDOHandler extends AbstractProcessingHandler
+{
+ private $initialized = false;
+ private $pdo;
+ private $statement;
+
+ public function __construct(PDO $pdo, $level = Logger::DEBUG, $bubble = true)
+ {
+ $this->pdo = $pdo;
+ parent::__construct($level, $bubble);
+ }
+
+ protected function write(array $record)
+ {
+ if (!$this->initialized) {
+ $this->initialize();
+ }
+
+ $this->statement->execute(array(
+ 'channel' => $record['channel'],
+ 'level' => $record['level'],
+ 'message' => $record['formatted'],
+ 'time' => $record['datetime']->format('U'),
+ ));
+ }
+
+ private function initialize()
+ {
+ $this->pdo->exec(
+ 'CREATE TABLE IF NOT EXISTS monolog '
+ .'(channel VARCHAR(255), level INTEGER, message LONGTEXT, time INTEGER UNSIGNED)'
+ );
+ $this->statement = $this->pdo->prepare(
+ 'INSERT INTO monolog (channel, level, message, time) VALUES (:channel, :level, :message, :time)'
+ );
+
+ $this->initialized = true;
+ }
+}
+```
+
+You can now use this handler in your logger:
+
+```php
+<?php
+
+$logger->pushHandler(new PDOHandler(new PDO('sqlite:logs.sqlite')));
+
+// You can now use your logger
+$logger->addInfo('My logger is now ready');
+```
+
+The `Monolog\Handler\AbstractProcessingHandler` class provides most of the
+logic needed for the handler, including the use of processors and the formatting
+of the record (which is why we use ``$record['formatted']`` instead of ``$record['message']``).
+
+&larr; [Utility classes](03-utilities.md)
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/sockets.md b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/sockets.md
new file mode 100644
index 00000000..ea9cf0ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/doc/sockets.md
@@ -0,0 +1,39 @@
+Sockets Handler
+===============
+
+This handler allows you to write your logs to sockets using [fsockopen](http://php.net/fsockopen)
+or [pfsockopen](http://php.net/pfsockopen).
+
+Persistent sockets are mainly useful in web environments where you gain some performance not closing/opening
+the connections between requests.
+
+You can use a `unix://` prefix to access unix sockets and `udp://` to open UDP sockets instead of the default TCP.
+
+Basic Example
+-------------
+
+```php
+<?php
+
+use Monolog\Logger;
+use Monolog\Handler\SocketHandler;
+
+// Create the logger
+$logger = new Logger('my_logger');
+
+// Create the handler
+$handler = new SocketHandler('unix:///var/log/httpd_app_log.socket');
+$handler->setPersistent(true);
+
+// Now add the handler
+$logger->pushHandler($handler, Logger::DEBUG);
+
+// You can now use your logger
+$logger->addInfo('My logger is now ready');
+
+```
+
+In this example, using syslog-ng, you should see the log on the log server:
+
+ cweb1 [2012-02-26 00:12:03] my_logger.INFO: My logger is now ready [] []
+
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/phpunit.xml.dist b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/phpunit.xml.dist
new file mode 100644
index 00000000..20d82b63
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/phpunit.xml.dist
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<phpunit bootstrap="vendor/autoload.php" colors="true">
+ <testsuites>
+ <testsuite name="Monolog Test Suite">
+ <directory>tests/Monolog/</directory>
+ </testsuite>
+ </testsuites>
+
+ <filter>
+ <whitelist>
+ <directory suffix=".php">src/Monolog/</directory>
+ </whitelist>
+ </filter>
+
+ <php>
+ <ini name="date.timezone" value="UTC"/>
+ </php>
+</phpunit>
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/ErrorHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/ErrorHandler.php
new file mode 100644
index 00000000..7bfcd833
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/ErrorHandler.php
@@ -0,0 +1,230 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog;
+
+use Psr\Log\LoggerInterface;
+use Psr\Log\LogLevel;
+use Monolog\Handler\AbstractHandler;
+
+/**
+ * Monolog error handler
+ *
+ * A facility to enable logging of runtime errors, exceptions and fatal errors.
+ *
+ * Quick setup: <code>ErrorHandler::register($logger);</code>
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+class ErrorHandler
+{
+ private $logger;
+
+ private $previousExceptionHandler;
+ private $uncaughtExceptionLevel;
+
+ private $previousErrorHandler;
+ private $errorLevelMap;
+ private $handleOnlyReportedErrors;
+
+ private $hasFatalErrorHandler;
+ private $fatalLevel;
+ private $reservedMemory;
+ private static $fatalErrors = array(E_ERROR, E_PARSE, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR);
+
+ public function __construct(LoggerInterface $logger)
+ {
+ $this->logger = $logger;
+ }
+
+ /**
+ * Registers a new ErrorHandler for a given Logger
+ *
+ * By default it will handle errors, exceptions and fatal errors
+ *
+ * @param LoggerInterface $logger
+ * @param array|false $errorLevelMap an array of E_* constant to LogLevel::* constant mapping, or false to disable error handling
+ * @param int|false $exceptionLevel a LogLevel::* constant, or false to disable exception handling
+ * @param int|false $fatalLevel a LogLevel::* constant, or false to disable fatal error handling
+ * @return ErrorHandler
+ */
+ public static function register(LoggerInterface $logger, $errorLevelMap = array(), $exceptionLevel = null, $fatalLevel = null)
+ {
+ //Forces the autoloader to run for LogLevel. Fixes an autoload issue at compile-time on PHP5.3. See https://github.com/Seldaek/monolog/pull/929
+ class_exists('\\Psr\\Log\\LogLevel', true);
+
+ $handler = new static($logger);
+ if ($errorLevelMap !== false) {
+ $handler->registerErrorHandler($errorLevelMap);
+ }
+ if ($exceptionLevel !== false) {
+ $handler->registerExceptionHandler($exceptionLevel);
+ }
+ if ($fatalLevel !== false) {
+ $handler->registerFatalHandler($fatalLevel);
+ }
+
+ return $handler;
+ }
+
+ public function registerExceptionHandler($level = null, $callPrevious = true)
+ {
+ $prev = set_exception_handler(array($this, 'handleException'));
+ $this->uncaughtExceptionLevel = $level;
+ if ($callPrevious && $prev) {
+ $this->previousExceptionHandler = $prev;
+ }
+ }
+
+ public function registerErrorHandler(array $levelMap = array(), $callPrevious = true, $errorTypes = -1, $handleOnlyReportedErrors = true)
+ {
+ $prev = set_error_handler(array($this, 'handleError'), $errorTypes);
+ $this->errorLevelMap = array_replace($this->defaultErrorLevelMap(), $levelMap);
+ if ($callPrevious) {
+ $this->previousErrorHandler = $prev ?: true;
+ }
+
+ $this->handleOnlyReportedErrors = $handleOnlyReportedErrors;
+ }
+
+ public function registerFatalHandler($level = null, $reservedMemorySize = 20)
+ {
+ register_shutdown_function(array($this, 'handleFatalError'));
+
+ $this->reservedMemory = str_repeat(' ', 1024 * $reservedMemorySize);
+ $this->fatalLevel = $level;
+ $this->hasFatalErrorHandler = true;
+ }
+
+ protected function defaultErrorLevelMap()
+ {
+ return array(
+ E_ERROR => LogLevel::CRITICAL,
+ E_WARNING => LogLevel::WARNING,
+ E_PARSE => LogLevel::ALERT,
+ E_NOTICE => LogLevel::NOTICE,
+ E_CORE_ERROR => LogLevel::CRITICAL,
+ E_CORE_WARNING => LogLevel::WARNING,
+ E_COMPILE_ERROR => LogLevel::ALERT,
+ E_COMPILE_WARNING => LogLevel::WARNING,
+ E_USER_ERROR => LogLevel::ERROR,
+ E_USER_WARNING => LogLevel::WARNING,
+ E_USER_NOTICE => LogLevel::NOTICE,
+ E_STRICT => LogLevel::NOTICE,
+ E_RECOVERABLE_ERROR => LogLevel::ERROR,
+ E_DEPRECATED => LogLevel::NOTICE,
+ E_USER_DEPRECATED => LogLevel::NOTICE,
+ );
+ }
+
+ /**
+ * @private
+ */
+ public function handleException($e)
+ {
+ $this->logger->log(
+ $this->uncaughtExceptionLevel === null ? LogLevel::ERROR : $this->uncaughtExceptionLevel,
+ sprintf('Uncaught Exception %s: "%s" at %s line %s', get_class($e), $e->getMessage(), $e->getFile(), $e->getLine()),
+ array('exception' => $e)
+ );
+
+ if ($this->previousExceptionHandler) {
+ call_user_func($this->previousExceptionHandler, $e);
+ }
+
+ exit(255);
+ }
+
+ /**
+ * @private
+ */
+ public function handleError($code, $message, $file = '', $line = 0, $context = array())
+ {
+ if ($this->handleOnlyReportedErrors && !(error_reporting() & $code)) {
+ return;
+ }
+
+ // fatal error codes are ignored if a fatal error handler is present as well to avoid duplicate log entries
+ if (!$this->hasFatalErrorHandler || !in_array($code, self::$fatalErrors, true)) {
+ $level = isset($this->errorLevelMap[$code]) ? $this->errorLevelMap[$code] : LogLevel::CRITICAL;
+ $this->logger->log($level, self::codeToString($code).': '.$message, array('code' => $code, 'message' => $message, 'file' => $file, 'line' => $line));
+ }
+
+ if ($this->previousErrorHandler === true) {
+ return false;
+ } elseif ($this->previousErrorHandler) {
+ return call_user_func($this->previousErrorHandler, $code, $message, $file, $line, $context);
+ }
+ }
+
+ /**
+ * @private
+ */
+ public function handleFatalError()
+ {
+ $this->reservedMemory = null;
+
+ $lastError = error_get_last();
+ if ($lastError && in_array($lastError['type'], self::$fatalErrors, true)) {
+ $this->logger->log(
+ $this->fatalLevel === null ? LogLevel::ALERT : $this->fatalLevel,
+ 'Fatal Error ('.self::codeToString($lastError['type']).'): '.$lastError['message'],
+ array('code' => $lastError['type'], 'message' => $lastError['message'], 'file' => $lastError['file'], 'line' => $lastError['line'])
+ );
+
+ if ($this->logger instanceof Logger) {
+ foreach ($this->logger->getHandlers() as $handler) {
+ if ($handler instanceof AbstractHandler) {
+ $handler->close();
+ }
+ }
+ }
+ }
+ }
+
+ private static function codeToString($code)
+ {
+ switch ($code) {
+ case E_ERROR:
+ return 'E_ERROR';
+ case E_WARNING:
+ return 'E_WARNING';
+ case E_PARSE:
+ return 'E_PARSE';
+ case E_NOTICE:
+ return 'E_NOTICE';
+ case E_CORE_ERROR:
+ return 'E_CORE_ERROR';
+ case E_CORE_WARNING:
+ return 'E_CORE_WARNING';
+ case E_COMPILE_ERROR:
+ return 'E_COMPILE_ERROR';
+ case E_COMPILE_WARNING:
+ return 'E_COMPILE_WARNING';
+ case E_USER_ERROR:
+ return 'E_USER_ERROR';
+ case E_USER_WARNING:
+ return 'E_USER_WARNING';
+ case E_USER_NOTICE:
+ return 'E_USER_NOTICE';
+ case E_STRICT:
+ return 'E_STRICT';
+ case E_RECOVERABLE_ERROR:
+ return 'E_RECOVERABLE_ERROR';
+ case E_DEPRECATED:
+ return 'E_DEPRECATED';
+ case E_USER_DEPRECATED:
+ return 'E_USER_DEPRECATED';
+ }
+
+ return 'Unknown PHP error';
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ChromePHPFormatter.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ChromePHPFormatter.php
new file mode 100644
index 00000000..9beda1e7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ChromePHPFormatter.php
@@ -0,0 +1,78 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Monolog\Logger;
+
+/**
+ * Formats a log message according to the ChromePHP array format
+ *
+ * @author Christophe Coevoet <stof@notk.org>
+ */
+class ChromePHPFormatter implements FormatterInterface
+{
+ /**
+ * Translates Monolog log levels to Wildfire levels.
+ */
+ private $logLevels = array(
+ Logger::DEBUG => 'log',
+ Logger::INFO => 'info',
+ Logger::NOTICE => 'info',
+ Logger::WARNING => 'warn',
+ Logger::ERROR => 'error',
+ Logger::CRITICAL => 'error',
+ Logger::ALERT => 'error',
+ Logger::EMERGENCY => 'error',
+ );
+
+ /**
+ * {@inheritdoc}
+ */
+ public function format(array $record)
+ {
+ // Retrieve the line and file if set and remove them from the formatted extra
+ $backtrace = 'unknown';
+ if (isset($record['extra']['file'], $record['extra']['line'])) {
+ $backtrace = $record['extra']['file'].' : '.$record['extra']['line'];
+ unset($record['extra']['file'], $record['extra']['line']);
+ }
+
+ $message = array('message' => $record['message']);
+ if ($record['context']) {
+ $message['context'] = $record['context'];
+ }
+ if ($record['extra']) {
+ $message['extra'] = $record['extra'];
+ }
+ if (count($message) === 1) {
+ $message = reset($message);
+ }
+
+ return array(
+ $record['channel'],
+ $message,
+ $backtrace,
+ $this->logLevels[$record['level']],
+ );
+ }
+
+ public function formatBatch(array $records)
+ {
+ $formatted = array();
+
+ foreach ($records as $record) {
+ $formatted[] = $this->format($record);
+ }
+
+ return $formatted;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ElasticaFormatter.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ElasticaFormatter.php
new file mode 100644
index 00000000..4c556cf1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ElasticaFormatter.php
@@ -0,0 +1,89 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Elastica\Document;
+
+/**
+ * Format a log message into an Elastica Document
+ *
+ * @author Jelle Vink <jelle.vink@gmail.com>
+ */
+class ElasticaFormatter extends NormalizerFormatter
+{
+ /**
+ * @var string Elastic search index name
+ */
+ protected $index;
+
+ /**
+ * @var string Elastic search document type
+ */
+ protected $type;
+
+ /**
+ * @param string $index Elastic Search index name
+ * @param string $type Elastic Search document type
+ */
+ public function __construct($index, $type)
+ {
+ // elasticsearch requires a ISO 8601 format date with optional millisecond precision.
+ parent::__construct('Y-m-d\TH:i:s.uP');
+
+ $this->index = $index;
+ $this->type = $type;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function format(array $record)
+ {
+ $record = parent::format($record);
+
+ return $this->getDocument($record);
+ }
+
+ /**
+ * Getter index
+ * @return string
+ */
+ public function getIndex()
+ {
+ return $this->index;
+ }
+
+ /**
+ * Getter type
+ * @return string
+ */
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ /**
+ * Convert a log message into an Elastica Document
+ *
+ * @param array $record Log message
+ * @return Document
+ */
+ protected function getDocument($record)
+ {
+ $document = new Document();
+ $document->setData($record);
+ $document->setType($this->type);
+ $document->setIndex($this->index);
+
+ return $document;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FlowdockFormatter.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FlowdockFormatter.php
new file mode 100644
index 00000000..5094af3c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FlowdockFormatter.php
@@ -0,0 +1,116 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+/**
+ * formats the record to be used in the FlowdockHandler
+ *
+ * @author Dominik Liebler <liebler.dominik@gmail.com>
+ */
+class FlowdockFormatter implements FormatterInterface
+{
+ /**
+ * @var string
+ */
+ private $source;
+
+ /**
+ * @var string
+ */
+ private $sourceEmail;
+
+ /**
+ * @param string $source
+ * @param string $sourceEmail
+ */
+ public function __construct($source, $sourceEmail)
+ {
+ $this->source = $source;
+ $this->sourceEmail = $sourceEmail;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function format(array $record)
+ {
+ $tags = array(
+ '#logs',
+ '#' . strtolower($record['level_name']),
+ '#' . $record['channel'],
+ );
+
+ foreach ($record['extra'] as $value) {
+ $tags[] = '#' . $value;
+ }
+
+ $subject = sprintf(
+ 'in %s: %s - %s',
+ $this->source,
+ $record['level_name'],
+ $this->getShortMessage($record['message'])
+ );
+
+ $record['flowdock'] = array(
+ 'source' => $this->source,
+ 'from_address' => $this->sourceEmail,
+ 'subject' => $subject,
+ 'content' => $record['message'],
+ 'tags' => $tags,
+ 'project' => $this->source,
+ );
+
+ return $record;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function formatBatch(array $records)
+ {
+ $formatted = array();
+
+ foreach ($records as $record) {
+ $formatted[] = $this->format($record);
+ }
+
+ return $formatted;
+ }
+
+ /**
+ * @param string $message
+ *
+ * @return string
+ */
+ public function getShortMessage($message)
+ {
+ static $hasMbString;
+
+ if (null === $hasMbString) {
+ $hasMbString = function_exists('mb_strlen');
+ }
+
+ $maxLength = 45;
+
+ if ($hasMbString) {
+ if (mb_strlen($message, 'UTF-8') > $maxLength) {
+ $message = mb_substr($message, 0, $maxLength - 4, 'UTF-8') . ' ...';
+ }
+ } else {
+ if (strlen($message) > $maxLength) {
+ $message = substr($message, 0, $maxLength - 4) . ' ...';
+ }
+ }
+
+ return $message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FluentdFormatter.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FluentdFormatter.php
new file mode 100644
index 00000000..02632bb5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FluentdFormatter.php
@@ -0,0 +1,85 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+/**
+ * Class FluentdFormatter
+ *
+ * Serializes a log message to Fluentd unix socket protocol
+ *
+ * Fluentd config:
+ *
+ * <source>
+ * type unix
+ * path /var/run/td-agent/td-agent.sock
+ * </source>
+ *
+ * Monolog setup:
+ *
+ * $logger = new Monolog\Logger('fluent.tag');
+ * $fluentHandler = new Monolog\Handler\SocketHandler('unix:///var/run/td-agent/td-agent.sock');
+ * $fluentHandler->setFormatter(new Monolog\Formatter\FluentdFormatter());
+ * $logger->pushHandler($fluentHandler);
+ *
+ * @author Andrius Putna <fordnox@gmail.com>
+ */
+class FluentdFormatter implements FormatterInterface
+{
+ /**
+ * @var bool $levelTag should message level be a part of the fluentd tag
+ */
+ protected $levelTag = false;
+
+ public function __construct($levelTag = false)
+ {
+ if (!function_exists('json_encode')) {
+ throw new \RuntimeException('PHP\'s json extension is required to use Monolog\'s FluentdUnixFormatter');
+ }
+
+ $this->levelTag = (bool) $levelTag;
+ }
+
+ public function isUsingLevelsInTag()
+ {
+ return $this->levelTag;
+ }
+
+ public function format(array $record)
+ {
+ $tag = $record['channel'];
+ if ($this->levelTag) {
+ $tag .= '.' . strtolower($record['level_name']);
+ }
+
+ $message = array(
+ 'message' => $record['message'],
+ 'extra' => $record['extra'],
+ );
+
+ if (!$this->levelTag) {
+ $message['level'] = $record['level'];
+ $message['level_name'] = $record['level_name'];
+ }
+
+ return json_encode(array($tag, $record['datetime']->getTimestamp(), $message));
+ }
+
+ public function formatBatch(array $records)
+ {
+ $message = '';
+ foreach ($records as $record) {
+ $message .= $this->format($record);
+ }
+
+ return $message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FormatterInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FormatterInterface.php
new file mode 100644
index 00000000..b5de7511
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FormatterInterface.php
@@ -0,0 +1,36 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+/**
+ * Interface for formatters
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+interface FormatterInterface
+{
+ /**
+ * Formats a log record.
+ *
+ * @param array $record A record to format
+ * @return mixed The formatted record
+ */
+ public function format(array $record);
+
+ /**
+ * Formats a set of log records.
+ *
+ * @param array $records A set of records to format
+ * @return mixed The formatted set of records
+ */
+ public function formatBatch(array $records);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/GelfMessageFormatter.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/GelfMessageFormatter.php
new file mode 100644
index 00000000..2c1b0e86
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/GelfMessageFormatter.php
@@ -0,0 +1,138 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Monolog\Logger;
+use Gelf\Message;
+
+/**
+ * Serializes a log message to GELF
+ * @see http://www.graylog2.org/about/gelf
+ *
+ * @author Matt Lehner <mlehner@gmail.com>
+ */
+class GelfMessageFormatter extends NormalizerFormatter
+{
+ const DEFAULT_MAX_LENGTH = 32766;
+
+ /**
+ * @var string the name of the system for the Gelf log message
+ */
+ protected $systemName;
+
+ /**
+ * @var string a prefix for 'extra' fields from the Monolog record (optional)
+ */
+ protected $extraPrefix;
+
+ /**
+ * @var string a prefix for 'context' fields from the Monolog record (optional)
+ */
+ protected $contextPrefix;
+
+ /**
+ * @var int max length per field
+ */
+ protected $maxLength;
+
+ /**
+ * Translates Monolog log levels to Graylog2 log priorities.
+ */
+ private $logLevels = array(
+ Logger::DEBUG => 7,
+ Logger::INFO => 6,
+ Logger::NOTICE => 5,
+ Logger::WARNING => 4,
+ Logger::ERROR => 3,
+ Logger::CRITICAL => 2,
+ Logger::ALERT => 1,
+ Logger::EMERGENCY => 0,
+ );
+
+ public function __construct($systemName = null, $extraPrefix = null, $contextPrefix = 'ctxt_', $maxLength = null)
+ {
+ parent::__construct('U.u');
+
+ $this->systemName = $systemName ?: gethostname();
+
+ $this->extraPrefix = $extraPrefix;
+ $this->contextPrefix = $contextPrefix;
+ $this->maxLength = is_null($maxLength) ? self::DEFAULT_MAX_LENGTH : $maxLength;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function format(array $record)
+ {
+ $record = parent::format($record);
+
+ if (!isset($record['datetime'], $record['message'], $record['level'])) {
+ throw new \InvalidArgumentException('The record should at least contain datetime, message and level keys, '.var_export($record, true).' given');
+ }
+
+ $message = new Message();
+ $message
+ ->setTimestamp($record['datetime'])
+ ->setShortMessage((string) $record['message'])
+ ->setHost($this->systemName)
+ ->setLevel($this->logLevels[$record['level']]);
+
+ // message length + system name length + 200 for padding / metadata
+ $len = 200 + strlen((string) $record['message']) + strlen($this->systemName);
+
+ if ($len > $this->maxLength) {
+ $message->setShortMessage(substr($record['message'], 0, $this->maxLength));
+ }
+
+ if (isset($record['channel'])) {
+ $message->setFacility($record['channel']);
+ }
+ if (isset($record['extra']['line'])) {
+ $message->setLine($record['extra']['line']);
+ unset($record['extra']['line']);
+ }
+ if (isset($record['extra']['file'])) {
+ $message->setFile($record['extra']['file']);
+ unset($record['extra']['file']);
+ }
+
+ foreach ($record['extra'] as $key => $val) {
+ $val = is_scalar($val) || null === $val ? $val : $this->toJson($val);
+ $len = strlen($this->extraPrefix . $key . $val);
+ if ($len > $this->maxLength) {
+ $message->setAdditional($this->extraPrefix . $key, substr($val, 0, $this->maxLength));
+ break;
+ }
+ $message->setAdditional($this->extraPrefix . $key, $val);
+ }
+
+ foreach ($record['context'] as $key => $val) {
+ $val = is_scalar($val) || null === $val ? $val : $this->toJson($val);
+ $len = strlen($this->contextPrefix . $key . $val);
+ if ($len > $this->maxLength) {
+ $message->setAdditional($this->contextPrefix . $key, substr($val, 0, $this->maxLength));
+ break;
+ }
+ $message->setAdditional($this->contextPrefix . $key, $val);
+ }
+
+ if (null === $message->getFile() && isset($record['context']['exception']['file'])) {
+ if (preg_match("/^(.+):([0-9]+)$/", $record['context']['exception']['file'], $matches)) {
+ $message->setFile($matches[1]);
+ $message->setLine($matches[2]);
+ }
+ }
+
+ return $message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/HtmlFormatter.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/HtmlFormatter.php
new file mode 100644
index 00000000..3eec95f6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/HtmlFormatter.php
@@ -0,0 +1,141 @@
+<?php
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Monolog\Logger;
+
+/**
+ * Formats incoming records into an HTML table
+ *
+ * This is especially useful for html email logging
+ *
+ * @author Tiago Brito <tlfbrito@gmail.com>
+ */
+class HtmlFormatter extends NormalizerFormatter
+{
+ /**
+ * Translates Monolog log levels to html color priorities.
+ */
+ protected $logLevels = array(
+ Logger::DEBUG => '#cccccc',
+ Logger::INFO => '#468847',
+ Logger::NOTICE => '#3a87ad',
+ Logger::WARNING => '#c09853',
+ Logger::ERROR => '#f0ad4e',
+ Logger::CRITICAL => '#FF7708',
+ Logger::ALERT => '#C12A19',
+ Logger::EMERGENCY => '#000000',
+ );
+
+ /**
+ * @param string $dateFormat The format of the timestamp: one supported by DateTime::format
+ */
+ public function __construct($dateFormat = null)
+ {
+ parent::__construct($dateFormat);
+ }
+
+ /**
+ * Creates an HTML table row
+ *
+ * @param string $th Row header content
+ * @param string $td Row standard cell content
+ * @param bool $escapeTd false if td content must not be html escaped
+ * @return string
+ */
+ protected function addRow($th, $td = ' ', $escapeTd = true)
+ {
+ $th = htmlspecialchars($th, ENT_NOQUOTES, 'UTF-8');
+ if ($escapeTd) {
+ $td = '<pre>'.htmlspecialchars($td, ENT_NOQUOTES, 'UTF-8').'</pre>';
+ }
+
+ return "<tr style=\"padding: 4px;spacing: 0;text-align: left;\">\n<th style=\"background: #cccccc\" width=\"100px\">$th:</th>\n<td style=\"padding: 4px;spacing: 0;text-align: left;background: #eeeeee\">".$td."</td>\n</tr>";
+ }
+
+ /**
+ * Create a HTML h1 tag
+ *
+ * @param string $title Text to be in the h1
+ * @param int $level Error level
+ * @return string
+ */
+ protected function addTitle($title, $level)
+ {
+ $title = htmlspecialchars($title, ENT_NOQUOTES, 'UTF-8');
+
+ return '<h1 style="background: '.$this->logLevels[$level].';color: #ffffff;padding: 5px;" class="monolog-output">'.$title.'</h1>';
+ }
+
+ /**
+ * Formats a log record.
+ *
+ * @param array $record A record to format
+ * @return mixed The formatted record
+ */
+ public function format(array $record)
+ {
+ $output = $this->addTitle($record['level_name'], $record['level']);
+ $output .= '<table cellspacing="1" width="100%" class="monolog-output">';
+
+ $output .= $this->addRow('Message', (string) $record['message']);
+ $output .= $this->addRow('Time', $record['datetime']->format($this->dateFormat));
+ $output .= $this->addRow('Channel', $record['channel']);
+ if ($record['context']) {
+ $embeddedTable = '<table cellspacing="1" width="100%">';
+ foreach ($record['context'] as $key => $value) {
+ $embeddedTable .= $this->addRow($key, $this->convertToString($value));
+ }
+ $embeddedTable .= '</table>';
+ $output .= $this->addRow('Context', $embeddedTable, false);
+ }
+ if ($record['extra']) {
+ $embeddedTable = '<table cellspacing="1" width="100%">';
+ foreach ($record['extra'] as $key => $value) {
+ $embeddedTable .= $this->addRow($key, $this->convertToString($value));
+ }
+ $embeddedTable .= '</table>';
+ $output .= $this->addRow('Extra', $embeddedTable, false);
+ }
+
+ return $output.'</table>';
+ }
+
+ /**
+ * Formats a set of log records.
+ *
+ * @param array $records A set of records to format
+ * @return mixed The formatted set of records
+ */
+ public function formatBatch(array $records)
+ {
+ $message = '';
+ foreach ($records as $record) {
+ $message .= $this->format($record);
+ }
+
+ return $message;
+ }
+
+ protected function convertToString($data)
+ {
+ if (null === $data || is_scalar($data)) {
+ return (string) $data;
+ }
+
+ $data = $this->normalize($data);
+ if (version_compare(PHP_VERSION, '5.4.0', '>=')) {
+ return json_encode($data, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
+ }
+
+ return str_replace('\\/', '/', json_encode($data));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php
new file mode 100644
index 00000000..0782f149
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php
@@ -0,0 +1,208 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Exception;
+use Throwable;
+
+/**
+ * Encodes whatever record data is passed to it as json
+ *
+ * This can be useful to log to databases or remote APIs
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+class JsonFormatter extends NormalizerFormatter
+{
+ const BATCH_MODE_JSON = 1;
+ const BATCH_MODE_NEWLINES = 2;
+
+ protected $batchMode;
+ protected $appendNewline;
+
+ /**
+ * @var bool
+ */
+ protected $includeStacktraces = false;
+
+ /**
+ * @param int $batchMode
+ * @param bool $appendNewline
+ */
+ public function __construct($batchMode = self::BATCH_MODE_JSON, $appendNewline = true)
+ {
+ $this->batchMode = $batchMode;
+ $this->appendNewline = $appendNewline;
+ }
+
+ /**
+ * The batch mode option configures the formatting style for
+ * multiple records. By default, multiple records will be
+ * formatted as a JSON-encoded array. However, for
+ * compatibility with some API endpoints, alternative styles
+ * are available.
+ *
+ * @return int
+ */
+ public function getBatchMode()
+ {
+ return $this->batchMode;
+ }
+
+ /**
+ * True if newlines are appended to every formatted record
+ *
+ * @return bool
+ */
+ public function isAppendingNewlines()
+ {
+ return $this->appendNewline;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function format(array $record)
+ {
+ return $this->toJson($this->normalize($record), true) . ($this->appendNewline ? "\n" : '');
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function formatBatch(array $records)
+ {
+ switch ($this->batchMode) {
+ case static::BATCH_MODE_NEWLINES:
+ return $this->formatBatchNewlines($records);
+
+ case static::BATCH_MODE_JSON:
+ default:
+ return $this->formatBatchJson($records);
+ }
+ }
+
+ /**
+ * @param bool $include
+ */
+ public function includeStacktraces($include = true)
+ {
+ $this->includeStacktraces = $include;
+ }
+
+ /**
+ * Return a JSON-encoded array of records.
+ *
+ * @param array $records
+ * @return string
+ */
+ protected function formatBatchJson(array $records)
+ {
+ return $this->toJson($this->normalize($records), true);
+ }
+
+ /**
+ * Use new lines to separate records instead of a
+ * JSON-encoded array.
+ *
+ * @param array $records
+ * @return string
+ */
+ protected function formatBatchNewlines(array $records)
+ {
+ $instance = $this;
+
+ $oldNewline = $this->appendNewline;
+ $this->appendNewline = false;
+ array_walk($records, function (&$value, $key) use ($instance) {
+ $value = $instance->format($value);
+ });
+ $this->appendNewline = $oldNewline;
+
+ return implode("\n", $records);
+ }
+
+ /**
+ * Normalizes given $data.
+ *
+ * @param mixed $data
+ *
+ * @return mixed
+ */
+ protected function normalize($data)
+ {
+ if (is_array($data) || $data instanceof \Traversable) {
+ $normalized = array();
+
+ $count = 1;
+ foreach ($data as $key => $value) {
+ if ($count++ >= 1000) {
+ $normalized['...'] = 'Over 1000 items, aborting normalization';
+ break;
+ }
+ $normalized[$key] = $this->normalize($value);
+ }
+
+ return $normalized;
+ }
+
+ if ($data instanceof Exception || $data instanceof Throwable) {
+ return $this->normalizeException($data);
+ }
+
+ return $data;
+ }
+
+ /**
+ * Normalizes given exception with or without its own stack trace based on
+ * `includeStacktraces` property.
+ *
+ * @param Exception|Throwable $e
+ *
+ * @return array
+ */
+ protected function normalizeException($e)
+ {
+ // TODO 2.0 only check for Throwable
+ if (!$e instanceof Exception && !$e instanceof Throwable) {
+ throw new \InvalidArgumentException('Exception/Throwable expected, got '.gettype($e).' / '.get_class($e));
+ }
+
+ $data = array(
+ 'class' => get_class($e),
+ 'message' => $e->getMessage(),
+ 'code' => $e->getCode(),
+ 'file' => $e->getFile().':'.$e->getLine(),
+ );
+
+ if ($this->includeStacktraces) {
+ $trace = $e->getTrace();
+ foreach ($trace as $frame) {
+ if (isset($frame['file'])) {
+ $data['trace'][] = $frame['file'].':'.$frame['line'];
+ } elseif (isset($frame['function']) && $frame['function'] === '{closure}') {
+ // We should again normalize the frames, because it might contain invalid items
+ $data['trace'][] = $frame['function'];
+ } else {
+ // We should again normalize the frames, because it might contain invalid items
+ $data['trace'][] = $this->normalize($frame);
+ }
+ }
+ }
+
+ if ($previous = $e->getPrevious()) {
+ $data['previous'] = $this->normalizeException($previous);
+ }
+
+ return $data;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LineFormatter.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LineFormatter.php
new file mode 100644
index 00000000..d3e209e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LineFormatter.php
@@ -0,0 +1,179 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+/**
+ * Formats incoming records into a one-line string
+ *
+ * This is especially useful for logging to files
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ * @author Christophe Coevoet <stof@notk.org>
+ */
+class LineFormatter extends NormalizerFormatter
+{
+ const SIMPLE_FORMAT = "[%datetime%] %channel%.%level_name%: %message% %context% %extra%\n";
+
+ protected $format;
+ protected $allowInlineLineBreaks;
+ protected $ignoreEmptyContextAndExtra;
+ protected $includeStacktraces;
+
+ /**
+ * @param string $format The format of the message
+ * @param string $dateFormat The format of the timestamp: one supported by DateTime::format
+ * @param bool $allowInlineLineBreaks Whether to allow inline line breaks in log entries
+ * @param bool $ignoreEmptyContextAndExtra
+ */
+ public function __construct($format = null, $dateFormat = null, $allowInlineLineBreaks = false, $ignoreEmptyContextAndExtra = false)
+ {
+ $this->format = $format ?: static::SIMPLE_FORMAT;
+ $this->allowInlineLineBreaks = $allowInlineLineBreaks;
+ $this->ignoreEmptyContextAndExtra = $ignoreEmptyContextAndExtra;
+ parent::__construct($dateFormat);
+ }
+
+ public function includeStacktraces($include = true)
+ {
+ $this->includeStacktraces = $include;
+ if ($this->includeStacktraces) {
+ $this->allowInlineLineBreaks = true;
+ }
+ }
+
+ public function allowInlineLineBreaks($allow = true)
+ {
+ $this->allowInlineLineBreaks = $allow;
+ }
+
+ public function ignoreEmptyContextAndExtra($ignore = true)
+ {
+ $this->ignoreEmptyContextAndExtra = $ignore;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function format(array $record)
+ {
+ $vars = parent::format($record);
+
+ $output = $this->format;
+
+ foreach ($vars['extra'] as $var => $val) {
+ if (false !== strpos($output, '%extra.'.$var.'%')) {
+ $output = str_replace('%extra.'.$var.'%', $this->stringify($val), $output);
+ unset($vars['extra'][$var]);
+ }
+ }
+
+
+ foreach ($vars['context'] as $var => $val) {
+ if (false !== strpos($output, '%context.'.$var.'%')) {
+ $output = str_replace('%context.'.$var.'%', $this->stringify($val), $output);
+ unset($vars['context'][$var]);
+ }
+ }
+
+ if ($this->ignoreEmptyContextAndExtra) {
+ if (empty($vars['context'])) {
+ unset($vars['context']);
+ $output = str_replace('%context%', '', $output);
+ }
+
+ if (empty($vars['extra'])) {
+ unset($vars['extra']);
+ $output = str_replace('%extra%', '', $output);
+ }
+ }
+
+ foreach ($vars as $var => $val) {
+ if (false !== strpos($output, '%'.$var.'%')) {
+ $output = str_replace('%'.$var.'%', $this->stringify($val), $output);
+ }
+ }
+
+ // remove leftover %extra.xxx% and %context.xxx% if any
+ if (false !== strpos($output, '%')) {
+ $output = preg_replace('/%(?:extra|context)\..+?%/', '', $output);
+ }
+
+ return $output;
+ }
+
+ public function formatBatch(array $records)
+ {
+ $message = '';
+ foreach ($records as $record) {
+ $message .= $this->format($record);
+ }
+
+ return $message;
+ }
+
+ public function stringify($value)
+ {
+ return $this->replaceNewlines($this->convertToString($value));
+ }
+
+ protected function normalizeException($e)
+ {
+ // TODO 2.0 only check for Throwable
+ if (!$e instanceof \Exception && !$e instanceof \Throwable) {
+ throw new \InvalidArgumentException('Exception/Throwable expected, got '.gettype($e).' / '.get_class($e));
+ }
+
+ $previousText = '';
+ if ($previous = $e->getPrevious()) {
+ do {
+ $previousText .= ', '.get_class($previous).'(code: '.$previous->getCode().'): '.$previous->getMessage().' at '.$previous->getFile().':'.$previous->getLine();
+ } while ($previous = $previous->getPrevious());
+ }
+
+ $str = '[object] ('.get_class($e).'(code: '.$e->getCode().'): '.$e->getMessage().' at '.$e->getFile().':'.$e->getLine().$previousText.')';
+ if ($this->includeStacktraces) {
+ $str .= "\n[stacktrace]\n".$e->getTraceAsString()."\n";
+ }
+
+ return $str;
+ }
+
+ protected function convertToString($data)
+ {
+ if (null === $data || is_bool($data)) {
+ return var_export($data, true);
+ }
+
+ if (is_scalar($data)) {
+ return (string) $data;
+ }
+
+ if (version_compare(PHP_VERSION, '5.4.0', '>=')) {
+ return $this->toJson($data, true);
+ }
+
+ return str_replace('\\/', '/', @json_encode($data));
+ }
+
+ protected function replaceNewlines($str)
+ {
+ if ($this->allowInlineLineBreaks) {
+ if (0 === strpos($str, '{')) {
+ return str_replace(array('\r', '\n'), array("\r", "\n"), $str);
+ }
+
+ return $str;
+ }
+
+ return str_replace(array("\r\n", "\r", "\n"), ' ', $str);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LogglyFormatter.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LogglyFormatter.php
new file mode 100644
index 00000000..401859bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LogglyFormatter.php
@@ -0,0 +1,47 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+/**
+ * Encodes message information into JSON in a format compatible with Loggly.
+ *
+ * @author Adam Pancutt <adam@pancutt.com>
+ */
+class LogglyFormatter extends JsonFormatter
+{
+ /**
+ * Overrides the default batch mode to new lines for compatibility with the
+ * Loggly bulk API.
+ *
+ * @param int $batchMode
+ */
+ public function __construct($batchMode = self::BATCH_MODE_NEWLINES, $appendNewline = false)
+ {
+ parent::__construct($batchMode, $appendNewline);
+ }
+
+ /**
+ * Appends the 'timestamp' parameter for indexing by Loggly.
+ *
+ * @see https://www.loggly.com/docs/automated-parsing/#json
+ * @see \Monolog\Formatter\JsonFormatter::format()
+ */
+ public function format(array $record)
+ {
+ if (isset($record["datetime"]) && ($record["datetime"] instanceof \DateTime)) {
+ $record["timestamp"] = $record["datetime"]->format("Y-m-d\TH:i:s.uO");
+ // TODO 2.0 unset the 'datetime' parameter, retained for BC
+ }
+
+ return parent::format($record);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LogstashFormatter.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LogstashFormatter.php
new file mode 100644
index 00000000..8f83bec0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LogstashFormatter.php
@@ -0,0 +1,166 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+/**
+ * Serializes a log message to Logstash Event Format
+ *
+ * @see http://logstash.net/
+ * @see https://github.com/logstash/logstash/blob/master/lib/logstash/event.rb
+ *
+ * @author Tim Mower <timothy.mower@gmail.com>
+ */
+class LogstashFormatter extends NormalizerFormatter
+{
+ const V0 = 0;
+ const V1 = 1;
+
+ /**
+ * @var string the name of the system for the Logstash log message, used to fill the @source field
+ */
+ protected $systemName;
+
+ /**
+ * @var string an application name for the Logstash log message, used to fill the @type field
+ */
+ protected $applicationName;
+
+ /**
+ * @var string a prefix for 'extra' fields from the Monolog record (optional)
+ */
+ protected $extraPrefix;
+
+ /**
+ * @var string a prefix for 'context' fields from the Monolog record (optional)
+ */
+ protected $contextPrefix;
+
+ /**
+ * @var int logstash format version to use
+ */
+ protected $version;
+
+ /**
+ * @param string $applicationName the application that sends the data, used as the "type" field of logstash
+ * @param string $systemName the system/machine name, used as the "source" field of logstash, defaults to the hostname of the machine
+ * @param string $extraPrefix prefix for extra keys inside logstash "fields"
+ * @param string $contextPrefix prefix for context keys inside logstash "fields", defaults to ctxt_
+ * @param int $version the logstash format version to use, defaults to 0
+ */
+ public function __construct($applicationName, $systemName = null, $extraPrefix = null, $contextPrefix = 'ctxt_', $version = self::V0)
+ {
+ // logstash requires a ISO 8601 format date with optional millisecond precision.
+ parent::__construct('Y-m-d\TH:i:s.uP');
+
+ $this->systemName = $systemName ?: gethostname();
+ $this->applicationName = $applicationName;
+ $this->extraPrefix = $extraPrefix;
+ $this->contextPrefix = $contextPrefix;
+ $this->version = $version;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function format(array $record)
+ {
+ $record = parent::format($record);
+
+ if ($this->version === self::V1) {
+ $message = $this->formatV1($record);
+ } else {
+ $message = $this->formatV0($record);
+ }
+
+ return $this->toJson($message) . "\n";
+ }
+
+ protected function formatV0(array $record)
+ {
+ if (empty($record['datetime'])) {
+ $record['datetime'] = gmdate('c');
+ }
+ $message = array(
+ '@timestamp' => $record['datetime'],
+ '@source' => $this->systemName,
+ '@fields' => array(),
+ );
+ if (isset($record['message'])) {
+ $message['@message'] = $record['message'];
+ }
+ if (isset($record['channel'])) {
+ $message['@tags'] = array($record['channel']);
+ $message['@fields']['channel'] = $record['channel'];
+ }
+ if (isset($record['level'])) {
+ $message['@fields']['level'] = $record['level'];
+ }
+ if ($this->applicationName) {
+ $message['@type'] = $this->applicationName;
+ }
+ if (isset($record['extra']['server'])) {
+ $message['@source_host'] = $record['extra']['server'];
+ }
+ if (isset($record['extra']['url'])) {
+ $message['@source_path'] = $record['extra']['url'];
+ }
+ if (!empty($record['extra'])) {
+ foreach ($record['extra'] as $key => $val) {
+ $message['@fields'][$this->extraPrefix . $key] = $val;
+ }
+ }
+ if (!empty($record['context'])) {
+ foreach ($record['context'] as $key => $val) {
+ $message['@fields'][$this->contextPrefix . $key] = $val;
+ }
+ }
+
+ return $message;
+ }
+
+ protected function formatV1(array $record)
+ {
+ if (empty($record['datetime'])) {
+ $record['datetime'] = gmdate('c');
+ }
+ $message = array(
+ '@timestamp' => $record['datetime'],
+ '@version' => 1,
+ 'host' => $this->systemName,
+ );
+ if (isset($record['message'])) {
+ $message['message'] = $record['message'];
+ }
+ if (isset($record['channel'])) {
+ $message['type'] = $record['channel'];
+ $message['channel'] = $record['channel'];
+ }
+ if (isset($record['level_name'])) {
+ $message['level'] = $record['level_name'];
+ }
+ if ($this->applicationName) {
+ $message['type'] = $this->applicationName;
+ }
+ if (!empty($record['extra'])) {
+ foreach ($record['extra'] as $key => $val) {
+ $message[$this->extraPrefix . $key] = $val;
+ }
+ }
+ if (!empty($record['context'])) {
+ foreach ($record['context'] as $key => $val) {
+ $message[$this->contextPrefix . $key] = $val;
+ }
+ }
+
+ return $message;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/MongoDBFormatter.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/MongoDBFormatter.php
new file mode 100644
index 00000000..eb067bb7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/MongoDBFormatter.php
@@ -0,0 +1,105 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+/**
+ * Formats a record for use with the MongoDBHandler.
+ *
+ * @author Florian Plattner <me@florianplattner.de>
+ */
+class MongoDBFormatter implements FormatterInterface
+{
+ private $exceptionTraceAsString;
+ private $maxNestingLevel;
+
+ /**
+ * @param int $maxNestingLevel 0 means infinite nesting, the $record itself is level 1, $record['context'] is 2
+ * @param bool $exceptionTraceAsString set to false to log exception traces as a sub documents instead of strings
+ */
+ public function __construct($maxNestingLevel = 3, $exceptionTraceAsString = true)
+ {
+ $this->maxNestingLevel = max($maxNestingLevel, 0);
+ $this->exceptionTraceAsString = (bool) $exceptionTraceAsString;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public function format(array $record)
+ {
+ return $this->formatArray($record);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public function formatBatch(array $records)
+ {
+ foreach ($records as $key => $record) {
+ $records[$key] = $this->format($record);
+ }
+
+ return $records;
+ }
+
+ protected function formatArray(array $record, $nestingLevel = 0)
+ {
+ if ($this->maxNestingLevel == 0 || $nestingLevel <= $this->maxNestingLevel) {
+ foreach ($record as $name => $value) {
+ if ($value instanceof \DateTime) {
+ $record[$name] = $this->formatDate($value, $nestingLevel + 1);
+ } elseif ($value instanceof \Exception) {
+ $record[$name] = $this->formatException($value, $nestingLevel + 1);
+ } elseif (is_array($value)) {
+ $record[$name] = $this->formatArray($value, $nestingLevel + 1);
+ } elseif (is_object($value)) {
+ $record[$name] = $this->formatObject($value, $nestingLevel + 1);
+ }
+ }
+ } else {
+ $record = '[...]';
+ }
+
+ return $record;
+ }
+
+ protected function formatObject($value, $nestingLevel)
+ {
+ $objectVars = get_object_vars($value);
+ $objectVars['class'] = get_class($value);
+
+ return $this->formatArray($objectVars, $nestingLevel);
+ }
+
+ protected function formatException(\Exception $exception, $nestingLevel)
+ {
+ $formattedException = array(
+ 'class' => get_class($exception),
+ 'message' => $exception->getMessage(),
+ 'code' => $exception->getCode(),
+ 'file' => $exception->getFile() . ':' . $exception->getLine(),
+ );
+
+ if ($this->exceptionTraceAsString === true) {
+ $formattedException['trace'] = $exception->getTraceAsString();
+ } else {
+ $formattedException['trace'] = $exception->getTrace();
+ }
+
+ return $this->formatArray($formattedException, $nestingLevel);
+ }
+
+ protected function formatDate(\DateTime $value, $nestingLevel)
+ {
+ return new \MongoDate($value->getTimestamp());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php
new file mode 100644
index 00000000..d4414882
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php
@@ -0,0 +1,297 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Exception;
+
+/**
+ * Normalizes incoming records to remove objects/resources so it's easier to dump to various targets
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+class NormalizerFormatter implements FormatterInterface
+{
+ const SIMPLE_DATE = "Y-m-d H:i:s";
+
+ protected $dateFormat;
+
+ /**
+ * @param string $dateFormat The format of the timestamp: one supported by DateTime::format
+ */
+ public function __construct($dateFormat = null)
+ {
+ $this->dateFormat = $dateFormat ?: static::SIMPLE_DATE;
+ if (!function_exists('json_encode')) {
+ throw new \RuntimeException('PHP\'s json extension is required to use Monolog\'s NormalizerFormatter');
+ }
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function format(array $record)
+ {
+ return $this->normalize($record);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function formatBatch(array $records)
+ {
+ foreach ($records as $key => $record) {
+ $records[$key] = $this->format($record);
+ }
+
+ return $records;
+ }
+
+ protected function normalize($data)
+ {
+ if (null === $data || is_scalar($data)) {
+ if (is_float($data)) {
+ if (is_infinite($data)) {
+ return ($data > 0 ? '' : '-') . 'INF';
+ }
+ if (is_nan($data)) {
+ return 'NaN';
+ }
+ }
+
+ return $data;
+ }
+
+ if (is_array($data)) {
+ $normalized = array();
+
+ $count = 1;
+ foreach ($data as $key => $value) {
+ if ($count++ >= 1000) {
+ $normalized['...'] = 'Over 1000 items ('.count($data).' total), aborting normalization';
+ break;
+ }
+ $normalized[$key] = $this->normalize($value);
+ }
+
+ return $normalized;
+ }
+
+ if ($data instanceof \DateTime) {
+ return $data->format($this->dateFormat);
+ }
+
+ if (is_object($data)) {
+ // TODO 2.0 only check for Throwable
+ if ($data instanceof Exception || (PHP_VERSION_ID > 70000 && $data instanceof \Throwable)) {
+ return $this->normalizeException($data);
+ }
+
+ // non-serializable objects that implement __toString stringified
+ if (method_exists($data, '__toString') && !$data instanceof \JsonSerializable) {
+ $value = $data->__toString();
+ } else {
+ // the rest is json-serialized in some way
+ $value = $this->toJson($data, true);
+ }
+
+ return sprintf("[object] (%s: %s)", get_class($data), $value);
+ }
+
+ if (is_resource($data)) {
+ return sprintf('[resource] (%s)', get_resource_type($data));
+ }
+
+ return '[unknown('.gettype($data).')]';
+ }
+
+ protected function normalizeException($e)
+ {
+ // TODO 2.0 only check for Throwable
+ if (!$e instanceof Exception && !$e instanceof \Throwable) {
+ throw new \InvalidArgumentException('Exception/Throwable expected, got '.gettype($e).' / '.get_class($e));
+ }
+
+ $data = array(
+ 'class' => get_class($e),
+ 'message' => $e->getMessage(),
+ 'code' => $e->getCode(),
+ 'file' => $e->getFile().':'.$e->getLine(),
+ );
+
+ if ($e instanceof \SoapFault) {
+ if (isset($e->faultcode)) {
+ $data['faultcode'] = $e->faultcode;
+ }
+
+ if (isset($e->faultactor)) {
+ $data['faultactor'] = $e->faultactor;
+ }
+
+ if (isset($e->detail)) {
+ $data['detail'] = $e->detail;
+ }
+ }
+
+ $trace = $e->getTrace();
+ foreach ($trace as $frame) {
+ if (isset($frame['file'])) {
+ $data['trace'][] = $frame['file'].':'.$frame['line'];
+ } elseif (isset($frame['function']) && $frame['function'] === '{closure}') {
+ // We should again normalize the frames, because it might contain invalid items
+ $data['trace'][] = $frame['function'];
+ } else {
+ // We should again normalize the frames, because it might contain invalid items
+ $data['trace'][] = $this->toJson($this->normalize($frame), true);
+ }
+ }
+
+ if ($previous = $e->getPrevious()) {
+ $data['previous'] = $this->normalizeException($previous);
+ }
+
+ return $data;
+ }
+
+ /**
+ * Return the JSON representation of a value
+ *
+ * @param mixed $data
+ * @param bool $ignoreErrors
+ * @throws \RuntimeException if encoding fails and errors are not ignored
+ * @return string
+ */
+ protected function toJson($data, $ignoreErrors = false)
+ {
+ // suppress json_encode errors since it's twitchy with some inputs
+ if ($ignoreErrors) {
+ return @$this->jsonEncode($data);
+ }
+
+ $json = $this->jsonEncode($data);
+
+ if ($json === false) {
+ $json = $this->handleJsonError(json_last_error(), $data);
+ }
+
+ return $json;
+ }
+
+ /**
+ * @param mixed $data
+ * @return string JSON encoded data or null on failure
+ */
+ private function jsonEncode($data)
+ {
+ if (version_compare(PHP_VERSION, '5.4.0', '>=')) {
+ return json_encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
+ }
+
+ return json_encode($data);
+ }
+
+ /**
+ * Handle a json_encode failure.
+ *
+ * If the failure is due to invalid string encoding, try to clean the
+ * input and encode again. If the second encoding attempt fails, the
+ * inital error is not encoding related or the input can't be cleaned then
+ * raise a descriptive exception.
+ *
+ * @param int $code return code of json_last_error function
+ * @param mixed $data data that was meant to be encoded
+ * @throws \RuntimeException if failure can't be corrected
+ * @return string JSON encoded data after error correction
+ */
+ private function handleJsonError($code, $data)
+ {
+ if ($code !== JSON_ERROR_UTF8) {
+ $this->throwEncodeError($code, $data);
+ }
+
+ if (is_string($data)) {
+ $this->detectAndCleanUtf8($data);
+ } elseif (is_array($data)) {
+ array_walk_recursive($data, array($this, 'detectAndCleanUtf8'));
+ } else {
+ $this->throwEncodeError($code, $data);
+ }
+
+ $json = $this->jsonEncode($data);
+
+ if ($json === false) {
+ $this->throwEncodeError(json_last_error(), $data);
+ }
+
+ return $json;
+ }
+
+ /**
+ * Throws an exception according to a given code with a customized message
+ *
+ * @param int $code return code of json_last_error function
+ * @param mixed $data data that was meant to be encoded
+ * @throws \RuntimeException
+ */
+ private function throwEncodeError($code, $data)
+ {
+ switch ($code) {
+ case JSON_ERROR_DEPTH:
+ $msg = 'Maximum stack depth exceeded';
+ break;
+ case JSON_ERROR_STATE_MISMATCH:
+ $msg = 'Underflow or the modes mismatch';
+ break;
+ case JSON_ERROR_CTRL_CHAR:
+ $msg = 'Unexpected control character found';
+ break;
+ case JSON_ERROR_UTF8:
+ $msg = 'Malformed UTF-8 characters, possibly incorrectly encoded';
+ break;
+ default:
+ $msg = 'Unknown error';
+ }
+
+ throw new \RuntimeException('JSON encoding failed: '.$msg.'. Encoding: '.var_export($data, true));
+ }
+
+ /**
+ * Detect invalid UTF-8 string characters and convert to valid UTF-8.
+ *
+ * Valid UTF-8 input will be left unmodified, but strings containing
+ * invalid UTF-8 codepoints will be reencoded as UTF-8 with an assumed
+ * original encoding of ISO-8859-15. This conversion may result in
+ * incorrect output if the actual encoding was not ISO-8859-15, but it
+ * will be clean UTF-8 output and will not rely on expensive and fragile
+ * detection algorithms.
+ *
+ * Function converts the input in place in the passed variable so that it
+ * can be used as a callback for array_walk_recursive.
+ *
+ * @param mixed &$data Input to check and convert if needed
+ * @private
+ */
+ public function detectAndCleanUtf8(&$data)
+ {
+ if (is_string($data) && !preg_match('//u', $data)) {
+ $data = preg_replace_callback(
+ '/[\x80-\xFF]+/',
+ function ($m) { return utf8_encode($m[0]); },
+ $data
+ );
+ $data = str_replace(
+ array('¤', '¦', '¨', '´', '¸', '¼', '½', '¾'),
+ array('€', 'Š', 'š', 'Ž', 'ž', 'Œ', 'œ', 'Ÿ'),
+ $data
+ );
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ScalarFormatter.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ScalarFormatter.php
new file mode 100644
index 00000000..5d345d53
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ScalarFormatter.php
@@ -0,0 +1,48 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+/**
+ * Formats data into an associative array of scalar values.
+ * Objects and arrays will be JSON encoded.
+ *
+ * @author Andrew Lawson <adlawson@gmail.com>
+ */
+class ScalarFormatter extends NormalizerFormatter
+{
+ /**
+ * {@inheritdoc}
+ */
+ public function format(array $record)
+ {
+ foreach ($record as $key => $value) {
+ $record[$key] = $this->normalizeValue($value);
+ }
+
+ return $record;
+ }
+
+ /**
+ * @param mixed $value
+ * @return mixed
+ */
+ protected function normalizeValue($value)
+ {
+ $normalized = $this->normalize($value);
+
+ if (is_array($normalized) || is_object($normalized)) {
+ return $this->toJson($normalized, true);
+ }
+
+ return $normalized;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/WildfireFormatter.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/WildfireFormatter.php
new file mode 100644
index 00000000..654710a8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/WildfireFormatter.php
@@ -0,0 +1,113 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Monolog\Logger;
+
+/**
+ * Serializes a log message according to Wildfire's header requirements
+ *
+ * @author Eric Clemmons (@ericclemmons) <eric@uxdriven.com>
+ * @author Christophe Coevoet <stof@notk.org>
+ * @author Kirill chEbba Chebunin <iam@chebba.org>
+ */
+class WildfireFormatter extends NormalizerFormatter
+{
+ const TABLE = 'table';
+
+ /**
+ * Translates Monolog log levels to Wildfire levels.
+ */
+ private $logLevels = array(
+ Logger::DEBUG => 'LOG',
+ Logger::INFO => 'INFO',
+ Logger::NOTICE => 'INFO',
+ Logger::WARNING => 'WARN',
+ Logger::ERROR => 'ERROR',
+ Logger::CRITICAL => 'ERROR',
+ Logger::ALERT => 'ERROR',
+ Logger::EMERGENCY => 'ERROR',
+ );
+
+ /**
+ * {@inheritdoc}
+ */
+ public function format(array $record)
+ {
+ // Retrieve the line and file if set and remove them from the formatted extra
+ $file = $line = '';
+ if (isset($record['extra']['file'])) {
+ $file = $record['extra']['file'];
+ unset($record['extra']['file']);
+ }
+ if (isset($record['extra']['line'])) {
+ $line = $record['extra']['line'];
+ unset($record['extra']['line']);
+ }
+
+ $record = $this->normalize($record);
+ $message = array('message' => $record['message']);
+ $handleError = false;
+ if ($record['context']) {
+ $message['context'] = $record['context'];
+ $handleError = true;
+ }
+ if ($record['extra']) {
+ $message['extra'] = $record['extra'];
+ $handleError = true;
+ }
+ if (count($message) === 1) {
+ $message = reset($message);
+ }
+
+ if (isset($record['context'][self::TABLE])) {
+ $type = 'TABLE';
+ $label = $record['channel'] .': '. $record['message'];
+ $message = $record['context'][self::TABLE];
+ } else {
+ $type = $this->logLevels[$record['level']];
+ $label = $record['channel'];
+ }
+
+ // Create JSON object describing the appearance of the message in the console
+ $json = $this->toJson(array(
+ array(
+ 'Type' => $type,
+ 'File' => $file,
+ 'Line' => $line,
+ 'Label' => $label,
+ ),
+ $message,
+ ), $handleError);
+
+ // The message itself is a serialization of the above JSON object + it's length
+ return sprintf(
+ '%s|%s|',
+ strlen($json),
+ $json
+ );
+ }
+
+ public function formatBatch(array $records)
+ {
+ throw new \BadMethodCallException('Batch formatting does not make sense for the WildfireFormatter');
+ }
+
+ protected function normalize($data)
+ {
+ if (is_object($data) && !$data instanceof \DateTime) {
+ return $data;
+ }
+
+ return parent::normalize($data);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractHandler.php
new file mode 100644
index 00000000..758a425c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractHandler.php
@@ -0,0 +1,186 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+use Monolog\Formatter\FormatterInterface;
+use Monolog\Formatter\LineFormatter;
+
+/**
+ * Base Handler class providing the Handler structure
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+abstract class AbstractHandler implements HandlerInterface
+{
+ protected $level = Logger::DEBUG;
+ protected $bubble = true;
+
+ /**
+ * @var FormatterInterface
+ */
+ protected $formatter;
+ protected $processors = array();
+
+ /**
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct($level = Logger::DEBUG, $bubble = true)
+ {
+ $this->setLevel($level);
+ $this->bubble = $bubble;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function isHandling(array $record)
+ {
+ return $record['level'] >= $this->level;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function handleBatch(array $records)
+ {
+ foreach ($records as $record) {
+ $this->handle($record);
+ }
+ }
+
+ /**
+ * Closes the handler.
+ *
+ * This will be called automatically when the object is destroyed
+ */
+ public function close()
+ {
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function pushProcessor($callback)
+ {
+ if (!is_callable($callback)) {
+ throw new \InvalidArgumentException('Processors must be valid callables (callback or object with an __invoke method), '.var_export($callback, true).' given');
+ }
+ array_unshift($this->processors, $callback);
+
+ return $this;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function popProcessor()
+ {
+ if (!$this->processors) {
+ throw new \LogicException('You tried to pop from an empty processor stack.');
+ }
+
+ return array_shift($this->processors);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function setFormatter(FormatterInterface $formatter)
+ {
+ $this->formatter = $formatter;
+
+ return $this;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getFormatter()
+ {
+ if (!$this->formatter) {
+ $this->formatter = $this->getDefaultFormatter();
+ }
+
+ return $this->formatter;
+ }
+
+ /**
+ * Sets minimum logging level at which this handler will be triggered.
+ *
+ * @param int|string $level Level or level name
+ * @return self
+ */
+ public function setLevel($level)
+ {
+ $this->level = Logger::toMonologLevel($level);
+
+ return $this;
+ }
+
+ /**
+ * Gets minimum logging level at which this handler will be triggered.
+ *
+ * @return int
+ */
+ public function getLevel()
+ {
+ return $this->level;
+ }
+
+ /**
+ * Sets the bubbling behavior.
+ *
+ * @param Boolean $bubble true means that this handler allows bubbling.
+ * false means that bubbling is not permitted.
+ * @return self
+ */
+ public function setBubble($bubble)
+ {
+ $this->bubble = $bubble;
+
+ return $this;
+ }
+
+ /**
+ * Gets the bubbling behavior.
+ *
+ * @return Boolean true means that this handler allows bubbling.
+ * false means that bubbling is not permitted.
+ */
+ public function getBubble()
+ {
+ return $this->bubble;
+ }
+
+ public function __destruct()
+ {
+ try {
+ $this->close();
+ } catch (\Exception $e) {
+ // do nothing
+ } catch (\Throwable $e) {
+ // do nothing
+ }
+ }
+
+ /**
+ * Gets the default formatter.
+ *
+ * @return FormatterInterface
+ */
+ protected function getDefaultFormatter()
+ {
+ return new LineFormatter();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php
new file mode 100644
index 00000000..6f18f72e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php
@@ -0,0 +1,66 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+/**
+ * Base Handler class providing the Handler structure
+ *
+ * Classes extending it should (in most cases) only implement write($record)
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ * @author Christophe Coevoet <stof@notk.org>
+ */
+abstract class AbstractProcessingHandler extends AbstractHandler
+{
+ /**
+ * {@inheritdoc}
+ */
+ public function handle(array $record)
+ {
+ if (!$this->isHandling($record)) {
+ return false;
+ }
+
+ $record = $this->processRecord($record);
+
+ $record['formatted'] = $this->getFormatter()->format($record);
+
+ $this->write($record);
+
+ return false === $this->bubble;
+ }
+
+ /**
+ * Writes the record down to the log of the implementing handler
+ *
+ * @param array $record
+ * @return void
+ */
+ abstract protected function write(array $record);
+
+ /**
+ * Processes a record.
+ *
+ * @param array $record
+ * @return array
+ */
+ protected function processRecord(array $record)
+ {
+ if ($this->processors) {
+ foreach ($this->processors as $processor) {
+ $record = call_user_func($processor, $record);
+ }
+ }
+
+ return $record;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractSyslogHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractSyslogHandler.php
new file mode 100644
index 00000000..e2b2832d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractSyslogHandler.php
@@ -0,0 +1,101 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+use Monolog\Formatter\LineFormatter;
+
+/**
+ * Common syslog functionality
+ */
+abstract class AbstractSyslogHandler extends AbstractProcessingHandler
+{
+ protected $facility;
+
+ /**
+ * Translates Monolog log levels to syslog log priorities.
+ */
+ protected $logLevels = array(
+ Logger::DEBUG => LOG_DEBUG,
+ Logger::INFO => LOG_INFO,
+ Logger::NOTICE => LOG_NOTICE,
+ Logger::WARNING => LOG_WARNING,
+ Logger::ERROR => LOG_ERR,
+ Logger::CRITICAL => LOG_CRIT,
+ Logger::ALERT => LOG_ALERT,
+ Logger::EMERGENCY => LOG_EMERG,
+ );
+
+ /**
+ * List of valid log facility names.
+ */
+ protected $facilities = array(
+ 'auth' => LOG_AUTH,
+ 'authpriv' => LOG_AUTHPRIV,
+ 'cron' => LOG_CRON,
+ 'daemon' => LOG_DAEMON,
+ 'kern' => LOG_KERN,
+ 'lpr' => LOG_LPR,
+ 'mail' => LOG_MAIL,
+ 'news' => LOG_NEWS,
+ 'syslog' => LOG_SYSLOG,
+ 'user' => LOG_USER,
+ 'uucp' => LOG_UUCP,
+ );
+
+ /**
+ * @param mixed $facility
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct($facility = LOG_USER, $level = Logger::DEBUG, $bubble = true)
+ {
+ parent::__construct($level, $bubble);
+
+ if (!defined('PHP_WINDOWS_VERSION_BUILD')) {
+ $this->facilities['local0'] = LOG_LOCAL0;
+ $this->facilities['local1'] = LOG_LOCAL1;
+ $this->facilities['local2'] = LOG_LOCAL2;
+ $this->facilities['local3'] = LOG_LOCAL3;
+ $this->facilities['local4'] = LOG_LOCAL4;
+ $this->facilities['local5'] = LOG_LOCAL5;
+ $this->facilities['local6'] = LOG_LOCAL6;
+ $this->facilities['local7'] = LOG_LOCAL7;
+ } else {
+ $this->facilities['local0'] = 128; // LOG_LOCAL0
+ $this->facilities['local1'] = 136; // LOG_LOCAL1
+ $this->facilities['local2'] = 144; // LOG_LOCAL2
+ $this->facilities['local3'] = 152; // LOG_LOCAL3
+ $this->facilities['local4'] = 160; // LOG_LOCAL4
+ $this->facilities['local5'] = 168; // LOG_LOCAL5
+ $this->facilities['local6'] = 176; // LOG_LOCAL6
+ $this->facilities['local7'] = 184; // LOG_LOCAL7
+ }
+
+ // convert textual description of facility to syslog constant
+ if (array_key_exists(strtolower($facility), $this->facilities)) {
+ $facility = $this->facilities[strtolower($facility)];
+ } elseif (!in_array($facility, array_values($this->facilities), true)) {
+ throw new \UnexpectedValueException('Unknown facility value "'.$facility.'" given');
+ }
+
+ $this->facility = $facility;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function getDefaultFormatter()
+ {
+ return new LineFormatter('%channel%.%level_name%: %message% %context% %extra%');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AmqpHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AmqpHandler.php
new file mode 100644
index 00000000..e5a46bc0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AmqpHandler.php
@@ -0,0 +1,148 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+use Monolog\Formatter\JsonFormatter;
+use PhpAmqpLib\Message\AMQPMessage;
+use PhpAmqpLib\Channel\AMQPChannel;
+use AMQPExchange;
+
+class AmqpHandler extends AbstractProcessingHandler
+{
+ /**
+ * @var AMQPExchange|AMQPChannel $exchange
+ */
+ protected $exchange;
+
+ /**
+ * @var string
+ */
+ protected $exchangeName;
+
+ /**
+ * @param AMQPExchange|AMQPChannel $exchange AMQPExchange (php AMQP ext) or PHP AMQP lib channel, ready for use
+ * @param string $exchangeName
+ * @param int $level
+ * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct($exchange, $exchangeName = 'log', $level = Logger::DEBUG, $bubble = true)
+ {
+ if ($exchange instanceof AMQPExchange) {
+ $exchange->setName($exchangeName);
+ } elseif ($exchange instanceof AMQPChannel) {
+ $this->exchangeName = $exchangeName;
+ } else {
+ throw new \InvalidArgumentException('PhpAmqpLib\Channel\AMQPChannel or AMQPExchange instance required');
+ }
+ $this->exchange = $exchange;
+
+ parent::__construct($level, $bubble);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function write(array $record)
+ {
+ $data = $record["formatted"];
+ $routingKey = $this->getRoutingKey($record);
+
+ if ($this->exchange instanceof AMQPExchange) {
+ $this->exchange->publish(
+ $data,
+ $routingKey,
+ 0,
+ array(
+ 'delivery_mode' => 2,
+ 'content_type' => 'application/json',
+ )
+ );
+ } else {
+ $this->exchange->basic_publish(
+ $this->createAmqpMessage($data),
+ $this->exchangeName,
+ $routingKey
+ );
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public function handleBatch(array $records)
+ {
+ if ($this->exchange instanceof AMQPExchange) {
+ parent::handleBatch($records);
+
+ return;
+ }
+
+ foreach ($records as $record) {
+ if (!$this->isHandling($record)) {
+ continue;
+ }
+
+ $record = $this->processRecord($record);
+ $data = $this->getFormatter()->format($record);
+
+ $this->exchange->batch_basic_publish(
+ $this->createAmqpMessage($data),
+ $this->exchangeName,
+ $this->getRoutingKey($record)
+ );
+ }
+
+ $this->exchange->publish_batch();
+ }
+
+ /**
+ * Gets the routing key for the AMQP exchange
+ *
+ * @param array $record
+ * @return string
+ */
+ protected function getRoutingKey(array $record)
+ {
+ $routingKey = sprintf(
+ '%s.%s',
+ // TODO 2.0 remove substr call
+ substr($record['level_name'], 0, 4),
+ $record['channel']
+ );
+
+ return strtolower($routingKey);
+ }
+
+ /**
+ * @param string $data
+ * @return AMQPMessage
+ */
+ private function createAmqpMessage($data)
+ {
+ return new AMQPMessage(
+ (string) $data,
+ array(
+ 'delivery_mode' => 2,
+ 'content_type' => 'application/json',
+ )
+ );
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function getDefaultFormatter()
+ {
+ return new JsonFormatter(JsonFormatter::BATCH_MODE_JSON, false);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php
new file mode 100644
index 00000000..b3a21bd4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php
@@ -0,0 +1,230 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\LineFormatter;
+
+/**
+ * Handler sending logs to browser's javascript console with no browser extension required
+ *
+ * @author Olivier Poitrey <rs@dailymotion.com>
+ */
+class BrowserConsoleHandler extends AbstractProcessingHandler
+{
+ protected static $initialized = false;
+ protected static $records = array();
+
+ /**
+ * {@inheritDoc}
+ *
+ * Formatted output may contain some formatting markers to be transferred to `console.log` using the %c format.
+ *
+ * Example of formatted string:
+ *
+ * You can do [[blue text]]{color: blue} or [[green background]]{background-color: green; color: white}
+ */
+ protected function getDefaultFormatter()
+ {
+ return new LineFormatter('[[%channel%]]{macro: autolabel} [[%level_name%]]{font-weight: bold} %message%');
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function write(array $record)
+ {
+ // Accumulate records
+ self::$records[] = $record;
+
+ // Register shutdown handler if not already done
+ if (!self::$initialized) {
+ self::$initialized = true;
+ $this->registerShutdownFunction();
+ }
+ }
+
+ /**
+ * Convert records to javascript console commands and send it to the browser.
+ * This method is automatically called on PHP shutdown if output is HTML or Javascript.
+ */
+ public static function send()
+ {
+ $format = self::getResponseFormat();
+ if ($format === 'unknown') {
+ return;
+ }
+
+ if (count(self::$records)) {
+ if ($format === 'html') {
+ self::writeOutput('<script>' . self::generateScript() . '</script>');
+ } elseif ($format === 'js') {
+ self::writeOutput(self::generateScript());
+ }
+ self::reset();
+ }
+ }
+
+ /**
+ * Forget all logged records
+ */
+ public static function reset()
+ {
+ self::$records = array();
+ }
+
+ /**
+ * Wrapper for register_shutdown_function to allow overriding
+ */
+ protected function registerShutdownFunction()
+ {
+ if (PHP_SAPI !== 'cli') {
+ register_shutdown_function(array('Monolog\Handler\BrowserConsoleHandler', 'send'));
+ }
+ }
+
+ /**
+ * Wrapper for echo to allow overriding
+ *
+ * @param string $str
+ */
+ protected static function writeOutput($str)
+ {
+ echo $str;
+ }
+
+ /**
+ * Checks the format of the response
+ *
+ * If Content-Type is set to application/javascript or text/javascript -> js
+ * If Content-Type is set to text/html, or is unset -> html
+ * If Content-Type is anything else -> unknown
+ *
+ * @return string One of 'js', 'html' or 'unknown'
+ */
+ protected static function getResponseFormat()
+ {
+ // Check content type
+ foreach (headers_list() as $header) {
+ if (stripos($header, 'content-type:') === 0) {
+ // This handler only works with HTML and javascript outputs
+ // text/javascript is obsolete in favour of application/javascript, but still used
+ if (stripos($header, 'application/javascript') !== false || stripos($header, 'text/javascript') !== false) {
+ return 'js';
+ }
+ if (stripos($header, 'text/html') === false) {
+ return 'unknown';
+ }
+ break;
+ }
+ }
+
+ return 'html';
+ }
+
+ private static function generateScript()
+ {
+ $script = array();
+ foreach (self::$records as $record) {
+ $context = self::dump('Context', $record['context']);
+ $extra = self::dump('Extra', $record['extra']);
+
+ if (empty($context) && empty($extra)) {
+ $script[] = self::call_array('log', self::handleStyles($record['formatted']));
+ } else {
+ $script = array_merge($script,
+ array(self::call_array('groupCollapsed', self::handleStyles($record['formatted']))),
+ $context,
+ $extra,
+ array(self::call('groupEnd'))
+ );
+ }
+ }
+
+ return "(function (c) {if (c && c.groupCollapsed) {\n" . implode("\n", $script) . "\n}})(console);";
+ }
+
+ private static function handleStyles($formatted)
+ {
+ $args = array(self::quote('font-weight: normal'));
+ $format = '%c' . $formatted;
+ preg_match_all('/\[\[(.*?)\]\]\{([^}]*)\}/s', $format, $matches, PREG_OFFSET_CAPTURE | PREG_SET_ORDER);
+
+ foreach (array_reverse($matches) as $match) {
+ $args[] = self::quote(self::handleCustomStyles($match[2][0], $match[1][0]));
+ $args[] = '"font-weight: normal"';
+
+ $pos = $match[0][1];
+ $format = substr($format, 0, $pos) . '%c' . $match[1][0] . '%c' . substr($format, $pos + strlen($match[0][0]));
+ }
+
+ array_unshift($args, self::quote($format));
+
+ return $args;
+ }
+
+ private static function handleCustomStyles($style, $string)
+ {
+ static $colors = array('blue', 'green', 'red', 'magenta', 'orange', 'black', 'grey');
+ static $labels = array();
+
+ return preg_replace_callback('/macro\s*:(.*?)(?:;|$)/', function ($m) use ($string, &$colors, &$labels) {
+ if (trim($m[1]) === 'autolabel') {
+ // Format the string as a label with consistent auto assigned background color
+ if (!isset($labels[$string])) {
+ $labels[$string] = $colors[count($labels) % count($colors)];
+ }
+ $color = $labels[$string];
+
+ return "background-color: $color; color: white; border-radius: 3px; padding: 0 2px 0 2px";
+ }
+
+ return $m[1];
+ }, $style);
+ }
+
+ private static function dump($title, array $dict)
+ {
+ $script = array();
+ $dict = array_filter($dict);
+ if (empty($dict)) {
+ return $script;
+ }
+ $script[] = self::call('log', self::quote('%c%s'), self::quote('font-weight: bold'), self::quote($title));
+ foreach ($dict as $key => $value) {
+ $value = json_encode($value);
+ if (empty($value)) {
+ $value = self::quote('');
+ }
+ $script[] = self::call('log', self::quote('%s: %o'), self::quote($key), $value);
+ }
+
+ return $script;
+ }
+
+ private static function quote($arg)
+ {
+ return '"' . addcslashes($arg, "\"\n\\") . '"';
+ }
+
+ private static function call()
+ {
+ $args = func_get_args();
+ $method = array_shift($args);
+
+ return self::call_array($method, $args);
+ }
+
+ private static function call_array($method, array $args)
+ {
+ return 'c.' . $method . '(' . implode(', ', $args) . ');';
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/BufferHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/BufferHandler.php
new file mode 100644
index 00000000..72f89535
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/BufferHandler.php
@@ -0,0 +1,117 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+
+/**
+ * Buffers all records until closing the handler and then pass them as batch.
+ *
+ * This is useful for a MailHandler to send only one mail per request instead of
+ * sending one per log message.
+ *
+ * @author Christophe Coevoet <stof@notk.org>
+ */
+class BufferHandler extends AbstractHandler
+{
+ protected $handler;
+ protected $bufferSize = 0;
+ protected $bufferLimit;
+ protected $flushOnOverflow;
+ protected $buffer = array();
+ protected $initialized = false;
+
+ /**
+ * @param HandlerInterface $handler Handler.
+ * @param int $bufferLimit How many entries should be buffered at most, beyond that the oldest items are removed from the buffer.
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ * @param Boolean $flushOnOverflow If true, the buffer is flushed when the max size has been reached, by default oldest entries are discarded
+ */
+ public function __construct(HandlerInterface $handler, $bufferLimit = 0, $level = Logger::DEBUG, $bubble = true, $flushOnOverflow = false)
+ {
+ parent::__construct($level, $bubble);
+ $this->handler = $handler;
+ $this->bufferLimit = (int) $bufferLimit;
+ $this->flushOnOverflow = $flushOnOverflow;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function handle(array $record)
+ {
+ if ($record['level'] < $this->level) {
+ return false;
+ }
+
+ if (!$this->initialized) {
+ // __destructor() doesn't get called on Fatal errors
+ register_shutdown_function(array($this, 'close'));
+ $this->initialized = true;
+ }
+
+ if ($this->bufferLimit > 0 && $this->bufferSize === $this->bufferLimit) {
+ if ($this->flushOnOverflow) {
+ $this->flush();
+ } else {
+ array_shift($this->buffer);
+ $this->bufferSize--;
+ }
+ }
+
+ if ($this->processors) {
+ foreach ($this->processors as $processor) {
+ $record = call_user_func($processor, $record);
+ }
+ }
+
+ $this->buffer[] = $record;
+ $this->bufferSize++;
+
+ return false === $this->bubble;
+ }
+
+ public function flush()
+ {
+ if ($this->bufferSize === 0) {
+ return;
+ }
+
+ $this->handler->handleBatch($this->buffer);
+ $this->clear();
+ }
+
+ public function __destruct()
+ {
+ // suppress the parent behavior since we already have register_shutdown_function()
+ // to call close(), and the reference contained there will prevent this from being
+ // GC'd until the end of the request
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function close()
+ {
+ $this->flush();
+ }
+
+ /**
+ * Clears the buffer without flushing any messages down to the wrapped handler.
+ */
+ public function clear()
+ {
+ $this->bufferSize = 0;
+ $this->buffer = array();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ChromePHPHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ChromePHPHandler.php
new file mode 100644
index 00000000..785cb0c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ChromePHPHandler.php
@@ -0,0 +1,211 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\ChromePHPFormatter;
+use Monolog\Logger;
+
+/**
+ * Handler sending logs to the ChromePHP extension (http://www.chromephp.com/)
+ *
+ * This also works out of the box with Firefox 43+
+ *
+ * @author Christophe Coevoet <stof@notk.org>
+ */
+class ChromePHPHandler extends AbstractProcessingHandler
+{
+ /**
+ * Version of the extension
+ */
+ const VERSION = '4.0';
+
+ /**
+ * Header name
+ */
+ const HEADER_NAME = 'X-ChromeLogger-Data';
+
+ /**
+ * Regular expression to detect supported browsers (matches any Chrome, or Firefox 43+)
+ */
+ const USER_AGENT_REGEX = '{\b(?:Chrome/\d+(?:\.\d+)*|HeadlessChrome|Firefox/(?:4[3-9]|[5-9]\d|\d{3,})(?:\.\d)*)\b}';
+
+ protected static $initialized = false;
+
+ /**
+ * Tracks whether we sent too much data
+ *
+ * Chrome limits the headers to 256KB, so when we sent 240KB we stop sending
+ *
+ * @var Boolean
+ */
+ protected static $overflowed = false;
+
+ protected static $json = array(
+ 'version' => self::VERSION,
+ 'columns' => array('label', 'log', 'backtrace', 'type'),
+ 'rows' => array(),
+ );
+
+ protected static $sendHeaders = true;
+
+ /**
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct($level = Logger::DEBUG, $bubble = true)
+ {
+ parent::__construct($level, $bubble);
+ if (!function_exists('json_encode')) {
+ throw new \RuntimeException('PHP\'s json extension is required to use Monolog\'s ChromePHPHandler');
+ }
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function handleBatch(array $records)
+ {
+ $messages = array();
+
+ foreach ($records as $record) {
+ if ($record['level'] < $this->level) {
+ continue;
+ }
+ $messages[] = $this->processRecord($record);
+ }
+
+ if (!empty($messages)) {
+ $messages = $this->getFormatter()->formatBatch($messages);
+ self::$json['rows'] = array_merge(self::$json['rows'], $messages);
+ $this->send();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function getDefaultFormatter()
+ {
+ return new ChromePHPFormatter();
+ }
+
+ /**
+ * Creates & sends header for a record
+ *
+ * @see sendHeader()
+ * @see send()
+ * @param array $record
+ */
+ protected function write(array $record)
+ {
+ self::$json['rows'][] = $record['formatted'];
+
+ $this->send();
+ }
+
+ /**
+ * Sends the log header
+ *
+ * @see sendHeader()
+ */
+ protected function send()
+ {
+ if (self::$overflowed || !self::$sendHeaders) {
+ return;
+ }
+
+ if (!self::$initialized) {
+ self::$initialized = true;
+
+ self::$sendHeaders = $this->headersAccepted();
+ if (!self::$sendHeaders) {
+ return;
+ }
+
+ self::$json['request_uri'] = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '';
+ }
+
+ $json = @json_encode(self::$json);
+ $data = base64_encode(utf8_encode($json));
+ if (strlen($data) > 240 * 1024) {
+ self::$overflowed = true;
+
+ $record = array(
+ 'message' => 'Incomplete logs, chrome header size limit reached',
+ 'context' => array(),
+ 'level' => Logger::WARNING,
+ 'level_name' => Logger::getLevelName(Logger::WARNING),
+ 'channel' => 'monolog',
+ 'datetime' => new \DateTime(),
+ 'extra' => array(),
+ );
+ self::$json['rows'][count(self::$json['rows']) - 1] = $this->getFormatter()->format($record);
+ $json = @json_encode(self::$json);
+ $data = base64_encode(utf8_encode($json));
+ }
+
+ if (trim($data) !== '') {
+ $this->sendHeader(self::HEADER_NAME, $data);
+ }
+ }
+
+ /**
+ * Send header string to the client
+ *
+ * @param string $header
+ * @param string $content
+ */
+ protected function sendHeader($header, $content)
+ {
+ if (!headers_sent() && self::$sendHeaders) {
+ header(sprintf('%s: %s', $header, $content));
+ }
+ }
+
+ /**
+ * Verifies if the headers are accepted by the current user agent
+ *
+ * @return Boolean
+ */
+ protected function headersAccepted()
+ {
+ if (empty($_SERVER['HTTP_USER_AGENT'])) {
+ return false;
+ }
+
+ return preg_match(self::USER_AGENT_REGEX, $_SERVER['HTTP_USER_AGENT']);
+ }
+
+ /**
+ * BC getter for the sendHeaders property that has been made static
+ */
+ public function __get($property)
+ {
+ if ('sendHeaders' !== $property) {
+ throw new \InvalidArgumentException('Undefined property '.$property);
+ }
+
+ return static::$sendHeaders;
+ }
+
+ /**
+ * BC setter for the sendHeaders property that has been made static
+ */
+ public function __set($property, $value)
+ {
+ if ('sendHeaders' !== $property) {
+ throw new \InvalidArgumentException('Undefined property '.$property);
+ }
+
+ static::$sendHeaders = $value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/CouchDBHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/CouchDBHandler.php
new file mode 100644
index 00000000..cc986971
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/CouchDBHandler.php
@@ -0,0 +1,72 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\JsonFormatter;
+use Monolog\Logger;
+
+/**
+ * CouchDB handler
+ *
+ * @author Markus Bachmann <markus.bachmann@bachi.biz>
+ */
+class CouchDBHandler extends AbstractProcessingHandler
+{
+ private $options;
+
+ public function __construct(array $options = array(), $level = Logger::DEBUG, $bubble = true)
+ {
+ $this->options = array_merge(array(
+ 'host' => 'localhost',
+ 'port' => 5984,
+ 'dbname' => 'logger',
+ 'username' => null,
+ 'password' => null,
+ ), $options);
+
+ parent::__construct($level, $bubble);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function write(array $record)
+ {
+ $basicAuth = null;
+ if ($this->options['username']) {
+ $basicAuth = sprintf('%s:%s@', $this->options['username'], $this->options['password']);
+ }
+
+ $url = 'http://'.$basicAuth.$this->options['host'].':'.$this->options['port'].'/'.$this->options['dbname'];
+ $context = stream_context_create(array(
+ 'http' => array(
+ 'method' => 'POST',
+ 'content' => $record['formatted'],
+ 'ignore_errors' => true,
+ 'max_redirects' => 0,
+ 'header' => 'Content-type: application/json',
+ ),
+ ));
+
+ if (false === @file_get_contents($url, null, $context)) {
+ throw new \RuntimeException(sprintf('Could not connect to %s', $url));
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function getDefaultFormatter()
+ {
+ return new JsonFormatter(JsonFormatter::BATCH_MODE_JSON, false);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/CubeHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/CubeHandler.php
new file mode 100644
index 00000000..96b3ca0c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/CubeHandler.php
@@ -0,0 +1,151 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+
+/**
+ * Logs to Cube.
+ *
+ * @link http://square.github.com/cube/
+ * @author Wan Chen <kami@kamisama.me>
+ */
+class CubeHandler extends AbstractProcessingHandler
+{
+ private $udpConnection;
+ private $httpConnection;
+ private $scheme;
+ private $host;
+ private $port;
+ private $acceptedSchemes = array('http', 'udp');
+
+ /**
+ * Create a Cube handler
+ *
+ * @throws \UnexpectedValueException when given url is not a valid url.
+ * A valid url must consist of three parts : protocol://host:port
+ * Only valid protocols used by Cube are http and udp
+ */
+ public function __construct($url, $level = Logger::DEBUG, $bubble = true)
+ {
+ $urlInfo = parse_url($url);
+
+ if (!isset($urlInfo['scheme'], $urlInfo['host'], $urlInfo['port'])) {
+ throw new \UnexpectedValueException('URL "'.$url.'" is not valid');
+ }
+
+ if (!in_array($urlInfo['scheme'], $this->acceptedSchemes)) {
+ throw new \UnexpectedValueException(
+ 'Invalid protocol (' . $urlInfo['scheme'] . ').'
+ . ' Valid options are ' . implode(', ', $this->acceptedSchemes));
+ }
+
+ $this->scheme = $urlInfo['scheme'];
+ $this->host = $urlInfo['host'];
+ $this->port = $urlInfo['port'];
+
+ parent::__construct($level, $bubble);
+ }
+
+ /**
+ * Establish a connection to an UDP socket
+ *
+ * @throws \LogicException when unable to connect to the socket
+ * @throws MissingExtensionException when there is no socket extension
+ */
+ protected function connectUdp()
+ {
+ if (!extension_loaded('sockets')) {
+ throw new MissingExtensionException('The sockets extension is required to use udp URLs with the CubeHandler');
+ }
+
+ $this->udpConnection = socket_create(AF_INET, SOCK_DGRAM, 0);
+ if (!$this->udpConnection) {
+ throw new \LogicException('Unable to create a socket');
+ }
+
+ if (!socket_connect($this->udpConnection, $this->host, $this->port)) {
+ throw new \LogicException('Unable to connect to the socket at ' . $this->host . ':' . $this->port);
+ }
+ }
+
+ /**
+ * Establish a connection to a http server
+ * @throws \LogicException when no curl extension
+ */
+ protected function connectHttp()
+ {
+ if (!extension_loaded('curl')) {
+ throw new \LogicException('The curl extension is needed to use http URLs with the CubeHandler');
+ }
+
+ $this->httpConnection = curl_init('http://'.$this->host.':'.$this->port.'/1.0/event/put');
+
+ if (!$this->httpConnection) {
+ throw new \LogicException('Unable to connect to ' . $this->host . ':' . $this->port);
+ }
+
+ curl_setopt($this->httpConnection, CURLOPT_CUSTOMREQUEST, "POST");
+ curl_setopt($this->httpConnection, CURLOPT_RETURNTRANSFER, true);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function write(array $record)
+ {
+ $date = $record['datetime'];
+
+ $data = array('time' => $date->format('Y-m-d\TH:i:s.uO'));
+ unset($record['datetime']);
+
+ if (isset($record['context']['type'])) {
+ $data['type'] = $record['context']['type'];
+ unset($record['context']['type']);
+ } else {
+ $data['type'] = $record['channel'];
+ }
+
+ $data['data'] = $record['context'];
+ $data['data']['level'] = $record['level'];
+
+ if ($this->scheme === 'http') {
+ $this->writeHttp(json_encode($data));
+ } else {
+ $this->writeUdp(json_encode($data));
+ }
+ }
+
+ private function writeUdp($data)
+ {
+ if (!$this->udpConnection) {
+ $this->connectUdp();
+ }
+
+ socket_send($this->udpConnection, $data, strlen($data), 0);
+ }
+
+ private function writeHttp($data)
+ {
+ if (!$this->httpConnection) {
+ $this->connectHttp();
+ }
+
+ curl_setopt($this->httpConnection, CURLOPT_POSTFIELDS, '['.$data.']');
+ curl_setopt($this->httpConnection, CURLOPT_HTTPHEADER, array(
+ 'Content-Type: application/json',
+ 'Content-Length: ' . strlen('['.$data.']'),
+ ));
+
+ Curl\Util::execute($this->httpConnection, 5, false);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/Curl/Util.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/Curl/Util.php
new file mode 100644
index 00000000..48d30b35
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/Curl/Util.php
@@ -0,0 +1,57 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler\Curl;
+
+class Util
+{
+ private static $retriableErrorCodes = array(
+ CURLE_COULDNT_RESOLVE_HOST,
+ CURLE_COULDNT_CONNECT,
+ CURLE_HTTP_NOT_FOUND,
+ CURLE_READ_ERROR,
+ CURLE_OPERATION_TIMEOUTED,
+ CURLE_HTTP_POST_ERROR,
+ CURLE_SSL_CONNECT_ERROR,
+ );
+
+ /**
+ * Executes a CURL request with optional retries and exception on failure
+ *
+ * @param resource $ch curl handler
+ * @throws \RuntimeException
+ */
+ public static function execute($ch, $retries = 5, $closeAfterDone = true)
+ {
+ while ($retries--) {
+ if (curl_exec($ch) === false) {
+ $curlErrno = curl_errno($ch);
+
+ if (false === in_array($curlErrno, self::$retriableErrorCodes, true) || !$retries) {
+ $curlError = curl_error($ch);
+
+ if ($closeAfterDone) {
+ curl_close($ch);
+ }
+
+ throw new \RuntimeException(sprintf('Curl error (code %s): %s', $curlErrno, $curlError));
+ }
+
+ continue;
+ }
+
+ if ($closeAfterDone) {
+ curl_close($ch);
+ }
+ break;
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DeduplicationHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DeduplicationHandler.php
new file mode 100644
index 00000000..7778c22a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DeduplicationHandler.php
@@ -0,0 +1,169 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+
+/**
+ * Simple handler wrapper that deduplicates log records across multiple requests
+ *
+ * It also includes the BufferHandler functionality and will buffer
+ * all messages until the end of the request or flush() is called.
+ *
+ * This works by storing all log records' messages above $deduplicationLevel
+ * to the file specified by $deduplicationStore. When further logs come in at the end of the
+ * request (or when flush() is called), all those above $deduplicationLevel are checked
+ * against the existing stored logs. If they match and the timestamps in the stored log is
+ * not older than $time seconds, the new log record is discarded. If no log record is new, the
+ * whole data set is discarded.
+ *
+ * This is mainly useful in combination with Mail handlers or things like Slack or HipChat handlers
+ * that send messages to people, to avoid spamming with the same message over and over in case of
+ * a major component failure like a database server being down which makes all requests fail in the
+ * same way.
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+class DeduplicationHandler extends BufferHandler
+{
+ /**
+ * @var string
+ */
+ protected $deduplicationStore;
+
+ /**
+ * @var int
+ */
+ protected $deduplicationLevel;
+
+ /**
+ * @var int
+ */
+ protected $time;
+
+ /**
+ * @var bool
+ */
+ private $gc = false;
+
+ /**
+ * @param HandlerInterface $handler Handler.
+ * @param string $deduplicationStore The file/path where the deduplication log should be kept
+ * @param int $deduplicationLevel The minimum logging level for log records to be looked at for deduplication purposes
+ * @param int $time The period (in seconds) during which duplicate entries should be suppressed after a given log is sent through
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct(HandlerInterface $handler, $deduplicationStore = null, $deduplicationLevel = Logger::ERROR, $time = 60, $bubble = true)
+ {
+ parent::__construct($handler, 0, Logger::DEBUG, $bubble, false);
+
+ $this->deduplicationStore = $deduplicationStore === null ? sys_get_temp_dir() . '/monolog-dedup-' . substr(md5(__FILE__), 0, 20) .'.log' : $deduplicationStore;
+ $this->deduplicationLevel = Logger::toMonologLevel($deduplicationLevel);
+ $this->time = $time;
+ }
+
+ public function flush()
+ {
+ if ($this->bufferSize === 0) {
+ return;
+ }
+
+ $passthru = null;
+
+ foreach ($this->buffer as $record) {
+ if ($record['level'] >= $this->deduplicationLevel) {
+
+ $passthru = $passthru || !$this->isDuplicate($record);
+ if ($passthru) {
+ $this->appendRecord($record);
+ }
+ }
+ }
+
+ // default of null is valid as well as if no record matches duplicationLevel we just pass through
+ if ($passthru === true || $passthru === null) {
+ $this->handler->handleBatch($this->buffer);
+ }
+
+ $this->clear();
+
+ if ($this->gc) {
+ $this->collectLogs();
+ }
+ }
+
+ private function isDuplicate(array $record)
+ {
+ if (!file_exists($this->deduplicationStore)) {
+ return false;
+ }
+
+ $store = file($this->deduplicationStore, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
+ if (!is_array($store)) {
+ return false;
+ }
+
+ $yesterday = time() - 86400;
+ $timestampValidity = $record['datetime']->getTimestamp() - $this->time;
+ $expectedMessage = preg_replace('{[\r\n].*}', '', $record['message']);
+
+ for ($i = count($store) - 1; $i >= 0; $i--) {
+ list($timestamp, $level, $message) = explode(':', $store[$i], 3);
+
+ if ($level === $record['level_name'] && $message === $expectedMessage && $timestamp > $timestampValidity) {
+ return true;
+ }
+
+ if ($timestamp < $yesterday) {
+ $this->gc = true;
+ }
+ }
+
+ return false;
+ }
+
+ private function collectLogs()
+ {
+ if (!file_exists($this->deduplicationStore)) {
+ return false;
+ }
+
+ $handle = fopen($this->deduplicationStore, 'rw+');
+ flock($handle, LOCK_EX);
+ $validLogs = array();
+
+ $timestampValidity = time() - $this->time;
+
+ while (!feof($handle)) {
+ $log = fgets($handle);
+ if (substr($log, 0, 10) >= $timestampValidity) {
+ $validLogs[] = $log;
+ }
+ }
+
+ ftruncate($handle, 0);
+ rewind($handle);
+ foreach ($validLogs as $log) {
+ fwrite($handle, $log);
+ }
+
+ flock($handle, LOCK_UN);
+ fclose($handle);
+
+ $this->gc = false;
+ }
+
+ private function appendRecord(array $record)
+ {
+ file_put_contents($this->deduplicationStore, $record['datetime']->getTimestamp() . ':' . $record['level_name'] . ':' . preg_replace('{[\r\n].*}', '', $record['message']) . "\n", FILE_APPEND);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php
new file mode 100644
index 00000000..b91ffec9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php
@@ -0,0 +1,45 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+use Monolog\Formatter\NormalizerFormatter;
+use Doctrine\CouchDB\CouchDBClient;
+
+/**
+ * CouchDB handler for Doctrine CouchDB ODM
+ *
+ * @author Markus Bachmann <markus.bachmann@bachi.biz>
+ */
+class DoctrineCouchDBHandler extends AbstractProcessingHandler
+{
+ private $client;
+
+ public function __construct(CouchDBClient $client, $level = Logger::DEBUG, $bubble = true)
+ {
+ $this->client = $client;
+ parent::__construct($level, $bubble);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function write(array $record)
+ {
+ $this->client->postDocument($record['formatted']);
+ }
+
+ protected function getDefaultFormatter()
+ {
+ return new NormalizerFormatter;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DynamoDbHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DynamoDbHandler.php
new file mode 100644
index 00000000..237b71f6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DynamoDbHandler.php
@@ -0,0 +1,107 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Aws\Sdk;
+use Aws\DynamoDb\DynamoDbClient;
+use Aws\DynamoDb\Marshaler;
+use Monolog\Formatter\ScalarFormatter;
+use Monolog\Logger;
+
+/**
+ * Amazon DynamoDB handler (http://aws.amazon.com/dynamodb/)
+ *
+ * @link https://github.com/aws/aws-sdk-php/
+ * @author Andrew Lawson <adlawson@gmail.com>
+ */
+class DynamoDbHandler extends AbstractProcessingHandler
+{
+ const DATE_FORMAT = 'Y-m-d\TH:i:s.uO';
+
+ /**
+ * @var DynamoDbClient
+ */
+ protected $client;
+
+ /**
+ * @var string
+ */
+ protected $table;
+
+ /**
+ * @var int
+ */
+ protected $version;
+
+ /**
+ * @var Marshaler
+ */
+ protected $marshaler;
+
+ /**
+ * @param DynamoDbClient $client
+ * @param string $table
+ * @param int $level
+ * @param bool $bubble
+ */
+ public function __construct(DynamoDbClient $client, $table, $level = Logger::DEBUG, $bubble = true)
+ {
+ if (defined('Aws\Sdk::VERSION') && version_compare(Sdk::VERSION, '3.0', '>=')) {
+ $this->version = 3;
+ $this->marshaler = new Marshaler;
+ } else {
+ $this->version = 2;
+ }
+
+ $this->client = $client;
+ $this->table = $table;
+
+ parent::__construct($level, $bubble);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function write(array $record)
+ {
+ $filtered = $this->filterEmptyFields($record['formatted']);
+ if ($this->version === 3) {
+ $formatted = $this->marshaler->marshalItem($filtered);
+ } else {
+ $formatted = $this->client->formatAttributes($filtered);
+ }
+
+ $this->client->putItem(array(
+ 'TableName' => $this->table,
+ 'Item' => $formatted,
+ ));
+ }
+
+ /**
+ * @param array $record
+ * @return array
+ */
+ protected function filterEmptyFields(array $record)
+ {
+ return array_filter($record, function ($value) {
+ return !empty($value) || false === $value || 0 === $value;
+ });
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function getDefaultFormatter()
+ {
+ return new ScalarFormatter(self::DATE_FORMAT);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ElasticSearchHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ElasticSearchHandler.php
new file mode 100644
index 00000000..81967406
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ElasticSearchHandler.php
@@ -0,0 +1,128 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\FormatterInterface;
+use Monolog\Formatter\ElasticaFormatter;
+use Monolog\Logger;
+use Elastica\Client;
+use Elastica\Exception\ExceptionInterface;
+
+/**
+ * Elastic Search handler
+ *
+ * Usage example:
+ *
+ * $client = new \Elastica\Client();
+ * $options = array(
+ * 'index' => 'elastic_index_name',
+ * 'type' => 'elastic_doc_type',
+ * );
+ * $handler = new ElasticSearchHandler($client, $options);
+ * $log = new Logger('application');
+ * $log->pushHandler($handler);
+ *
+ * @author Jelle Vink <jelle.vink@gmail.com>
+ */
+class ElasticSearchHandler extends AbstractProcessingHandler
+{
+ /**
+ * @var Client
+ */
+ protected $client;
+
+ /**
+ * @var array Handler config options
+ */
+ protected $options = array();
+
+ /**
+ * @param Client $client Elastica Client object
+ * @param array $options Handler configuration
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct(Client $client, array $options = array(), $level = Logger::DEBUG, $bubble = true)
+ {
+ parent::__construct($level, $bubble);
+ $this->client = $client;
+ $this->options = array_merge(
+ array(
+ 'index' => 'monolog', // Elastic index name
+ 'type' => 'record', // Elastic document type
+ 'ignore_error' => false, // Suppress Elastica exceptions
+ ),
+ $options
+ );
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function write(array $record)
+ {
+ $this->bulkSend(array($record['formatted']));
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function setFormatter(FormatterInterface $formatter)
+ {
+ if ($formatter instanceof ElasticaFormatter) {
+ return parent::setFormatter($formatter);
+ }
+ throw new \InvalidArgumentException('ElasticSearchHandler is only compatible with ElasticaFormatter');
+ }
+
+ /**
+ * Getter options
+ * @return array
+ */
+ public function getOptions()
+ {
+ return $this->options;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function getDefaultFormatter()
+ {
+ return new ElasticaFormatter($this->options['index'], $this->options['type']);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function handleBatch(array $records)
+ {
+ $documents = $this->getFormatter()->formatBatch($records);
+ $this->bulkSend($documents);
+ }
+
+ /**
+ * Use Elasticsearch bulk API to send list of documents
+ * @param array $documents
+ * @throws \RuntimeException
+ */
+ protected function bulkSend(array $documents)
+ {
+ try {
+ $this->client->addDocuments($documents);
+ } catch (ExceptionInterface $e) {
+ if (!$this->options['ignore_error']) {
+ throw new \RuntimeException("Error sending messages to Elasticsearch", 0, $e);
+ }
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php
new file mode 100644
index 00000000..1447a584
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php
@@ -0,0 +1,82 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\LineFormatter;
+use Monolog\Logger;
+
+/**
+ * Stores to PHP error_log() handler.
+ *
+ * @author Elan Ruusamäe <glen@delfi.ee>
+ */
+class ErrorLogHandler extends AbstractProcessingHandler
+{
+ const OPERATING_SYSTEM = 0;
+ const SAPI = 4;
+
+ protected $messageType;
+ protected $expandNewlines;
+
+ /**
+ * @param int $messageType Says where the error should go.
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ * @param Boolean $expandNewlines If set to true, newlines in the message will be expanded to be take multiple log entries
+ */
+ public function __construct($messageType = self::OPERATING_SYSTEM, $level = Logger::DEBUG, $bubble = true, $expandNewlines = false)
+ {
+ parent::__construct($level, $bubble);
+
+ if (false === in_array($messageType, self::getAvailableTypes())) {
+ $message = sprintf('The given message type "%s" is not supported', print_r($messageType, true));
+ throw new \InvalidArgumentException($message);
+ }
+
+ $this->messageType = $messageType;
+ $this->expandNewlines = $expandNewlines;
+ }
+
+ /**
+ * @return array With all available types
+ */
+ public static function getAvailableTypes()
+ {
+ return array(
+ self::OPERATING_SYSTEM,
+ self::SAPI,
+ );
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function getDefaultFormatter()
+ {
+ return new LineFormatter('[%datetime%] %channel%.%level_name%: %message% %context% %extra%');
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function write(array $record)
+ {
+ if ($this->expandNewlines) {
+ $lines = preg_split('{[\r\n]+}', (string) $record['formatted']);
+ foreach ($lines as $line) {
+ error_log($line, $this->messageType);
+ }
+ } else {
+ error_log((string) $record['formatted'], $this->messageType);
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FilterHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FilterHandler.php
new file mode 100644
index 00000000..2a0f7fd1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FilterHandler.php
@@ -0,0 +1,140 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+
+/**
+ * Simple handler wrapper that filters records based on a list of levels
+ *
+ * It can be configured with an exact list of levels to allow, or a min/max level.
+ *
+ * @author Hennadiy Verkh
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+class FilterHandler extends AbstractHandler
+{
+ /**
+ * Handler or factory callable($record, $this)
+ *
+ * @var callable|\Monolog\Handler\HandlerInterface
+ */
+ protected $handler;
+
+ /**
+ * Minimum level for logs that are passed to handler
+ *
+ * @var int[]
+ */
+ protected $acceptedLevels;
+
+ /**
+ * Whether the messages that are handled can bubble up the stack or not
+ *
+ * @var Boolean
+ */
+ protected $bubble;
+
+ /**
+ * @param callable|HandlerInterface $handler Handler or factory callable($record, $this).
+ * @param int|array $minLevelOrList A list of levels to accept or a minimum level if maxLevel is provided
+ * @param int $maxLevel Maximum level to accept, only used if $minLevelOrList is not an array
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct($handler, $minLevelOrList = Logger::DEBUG, $maxLevel = Logger::EMERGENCY, $bubble = true)
+ {
+ $this->handler = $handler;
+ $this->bubble = $bubble;
+ $this->setAcceptedLevels($minLevelOrList, $maxLevel);
+
+ if (!$this->handler instanceof HandlerInterface && !is_callable($this->handler)) {
+ throw new \RuntimeException("The given handler (".json_encode($this->handler).") is not a callable nor a Monolog\Handler\HandlerInterface object");
+ }
+ }
+
+ /**
+ * @return array
+ */
+ public function getAcceptedLevels()
+ {
+ return array_flip($this->acceptedLevels);
+ }
+
+ /**
+ * @param int|string|array $minLevelOrList A list of levels to accept or a minimum level or level name if maxLevel is provided
+ * @param int|string $maxLevel Maximum level or level name to accept, only used if $minLevelOrList is not an array
+ */
+ public function setAcceptedLevels($minLevelOrList = Logger::DEBUG, $maxLevel = Logger::EMERGENCY)
+ {
+ if (is_array($minLevelOrList)) {
+ $acceptedLevels = array_map('Monolog\Logger::toMonologLevel', $minLevelOrList);
+ } else {
+ $minLevelOrList = Logger::toMonologLevel($minLevelOrList);
+ $maxLevel = Logger::toMonologLevel($maxLevel);
+ $acceptedLevels = array_values(array_filter(Logger::getLevels(), function ($level) use ($minLevelOrList, $maxLevel) {
+ return $level >= $minLevelOrList && $level <= $maxLevel;
+ }));
+ }
+ $this->acceptedLevels = array_flip($acceptedLevels);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function isHandling(array $record)
+ {
+ return isset($this->acceptedLevels[$record['level']]);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function handle(array $record)
+ {
+ if (!$this->isHandling($record)) {
+ return false;
+ }
+
+ // The same logic as in FingersCrossedHandler
+ if (!$this->handler instanceof HandlerInterface) {
+ $this->handler = call_user_func($this->handler, $record, $this);
+ if (!$this->handler instanceof HandlerInterface) {
+ throw new \RuntimeException("The factory callable should return a HandlerInterface");
+ }
+ }
+
+ if ($this->processors) {
+ foreach ($this->processors as $processor) {
+ $record = call_user_func($processor, $record);
+ }
+ }
+
+ $this->handler->handle($record);
+
+ return false === $this->bubble;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function handleBatch(array $records)
+ {
+ $filtered = array();
+ foreach ($records as $record) {
+ if ($this->isHandling($record)) {
+ $filtered[] = $record;
+ }
+ }
+
+ $this->handler->handleBatch($filtered);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php
new file mode 100644
index 00000000..c3e42efe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php
@@ -0,0 +1,28 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler\FingersCrossed;
+
+/**
+ * Interface for activation strategies for the FingersCrossedHandler.
+ *
+ * @author Johannes M. Schmitt <schmittjoh@gmail.com>
+ */
+interface ActivationStrategyInterface
+{
+ /**
+ * Returns whether the given record activates the handler.
+ *
+ * @param array $record
+ * @return Boolean
+ */
+ public function isHandlerActivated(array $record);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php
new file mode 100644
index 00000000..2a2a64d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php
@@ -0,0 +1,59 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler\FingersCrossed;
+
+use Monolog\Logger;
+
+/**
+ * Channel and Error level based monolog activation strategy. Allows to trigger activation
+ * based on level per channel. e.g. trigger activation on level 'ERROR' by default, except
+ * for records of the 'sql' channel; those should trigger activation on level 'WARN'.
+ *
+ * Example:
+ *
+ * <code>
+ * $activationStrategy = new ChannelLevelActivationStrategy(
+ * Logger::CRITICAL,
+ * array(
+ * 'request' => Logger::ALERT,
+ * 'sensitive' => Logger::ERROR,
+ * )
+ * );
+ * $handler = new FingersCrossedHandler(new StreamHandler('php://stderr'), $activationStrategy);
+ * </code>
+ *
+ * @author Mike Meessen <netmikey@gmail.com>
+ */
+class ChannelLevelActivationStrategy implements ActivationStrategyInterface
+{
+ private $defaultActionLevel;
+ private $channelToActionLevel;
+
+ /**
+ * @param int $defaultActionLevel The default action level to be used if the record's category doesn't match any
+ * @param array $channelToActionLevel An array that maps channel names to action levels.
+ */
+ public function __construct($defaultActionLevel, $channelToActionLevel = array())
+ {
+ $this->defaultActionLevel = Logger::toMonologLevel($defaultActionLevel);
+ $this->channelToActionLevel = array_map('Monolog\Logger::toMonologLevel', $channelToActionLevel);
+ }
+
+ public function isHandlerActivated(array $record)
+ {
+ if (isset($this->channelToActionLevel[$record['channel']])) {
+ return $record['level'] >= $this->channelToActionLevel[$record['channel']];
+ }
+
+ return $record['level'] >= $this->defaultActionLevel;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php
new file mode 100644
index 00000000..6e630852
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php
@@ -0,0 +1,34 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler\FingersCrossed;
+
+use Monolog\Logger;
+
+/**
+ * Error level based activation strategy.
+ *
+ * @author Johannes M. Schmitt <schmittjoh@gmail.com>
+ */
+class ErrorLevelActivationStrategy implements ActivationStrategyInterface
+{
+ private $actionLevel;
+
+ public function __construct($actionLevel)
+ {
+ $this->actionLevel = Logger::toMonologLevel($actionLevel);
+ }
+
+ public function isHandlerActivated(array $record)
+ {
+ return $record['level'] >= $this->actionLevel;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php
new file mode 100644
index 00000000..d1dcaacf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php
@@ -0,0 +1,163 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy;
+use Monolog\Handler\FingersCrossed\ActivationStrategyInterface;
+use Monolog\Logger;
+
+/**
+ * Buffers all records until a certain level is reached
+ *
+ * The advantage of this approach is that you don't get any clutter in your log files.
+ * Only requests which actually trigger an error (or whatever your actionLevel is) will be
+ * in the logs, but they will contain all records, not only those above the level threshold.
+ *
+ * You can find the various activation strategies in the
+ * Monolog\Handler\FingersCrossed\ namespace.
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+class FingersCrossedHandler extends AbstractHandler
+{
+ protected $handler;
+ protected $activationStrategy;
+ protected $buffering = true;
+ protected $bufferSize;
+ protected $buffer = array();
+ protected $stopBuffering;
+ protected $passthruLevel;
+
+ /**
+ * @param callable|HandlerInterface $handler Handler or factory callable($record, $fingersCrossedHandler).
+ * @param int|ActivationStrategyInterface $activationStrategy Strategy which determines when this handler takes action
+ * @param int $bufferSize How many entries should be buffered at most, beyond that the oldest items are removed from the buffer.
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ * @param Boolean $stopBuffering Whether the handler should stop buffering after being triggered (default true)
+ * @param int $passthruLevel Minimum level to always flush to handler on close, even if strategy not triggered
+ */
+ public function __construct($handler, $activationStrategy = null, $bufferSize = 0, $bubble = true, $stopBuffering = true, $passthruLevel = null)
+ {
+ if (null === $activationStrategy) {
+ $activationStrategy = new ErrorLevelActivationStrategy(Logger::WARNING);
+ }
+
+ // convert simple int activationStrategy to an object
+ if (!$activationStrategy instanceof ActivationStrategyInterface) {
+ $activationStrategy = new ErrorLevelActivationStrategy($activationStrategy);
+ }
+
+ $this->handler = $handler;
+ $this->activationStrategy = $activationStrategy;
+ $this->bufferSize = $bufferSize;
+ $this->bubble = $bubble;
+ $this->stopBuffering = $stopBuffering;
+
+ if ($passthruLevel !== null) {
+ $this->passthruLevel = Logger::toMonologLevel($passthruLevel);
+ }
+
+ if (!$this->handler instanceof HandlerInterface && !is_callable($this->handler)) {
+ throw new \RuntimeException("The given handler (".json_encode($this->handler).") is not a callable nor a Monolog\Handler\HandlerInterface object");
+ }
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function isHandling(array $record)
+ {
+ return true;
+ }
+
+ /**
+ * Manually activate this logger regardless of the activation strategy
+ */
+ public function activate()
+ {
+ if ($this->stopBuffering) {
+ $this->buffering = false;
+ }
+ if (!$this->handler instanceof HandlerInterface) {
+ $record = end($this->buffer) ?: null;
+
+ $this->handler = call_user_func($this->handler, $record, $this);
+ if (!$this->handler instanceof HandlerInterface) {
+ throw new \RuntimeException("The factory callable should return a HandlerInterface");
+ }
+ }
+ $this->handler->handleBatch($this->buffer);
+ $this->buffer = array();
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function handle(array $record)
+ {
+ if ($this->processors) {
+ foreach ($this->processors as $processor) {
+ $record = call_user_func($processor, $record);
+ }
+ }
+
+ if ($this->buffering) {
+ $this->buffer[] = $record;
+ if ($this->bufferSize > 0 && count($this->buffer) > $this->bufferSize) {
+ array_shift($this->buffer);
+ }
+ if ($this->activationStrategy->isHandlerActivated($record)) {
+ $this->activate();
+ }
+ } else {
+ $this->handler->handle($record);
+ }
+
+ return false === $this->bubble;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function close()
+ {
+ if (null !== $this->passthruLevel) {
+ $level = $this->passthruLevel;
+ $this->buffer = array_filter($this->buffer, function ($record) use ($level) {
+ return $record['level'] >= $level;
+ });
+ if (count($this->buffer) > 0) {
+ $this->handler->handleBatch($this->buffer);
+ $this->buffer = array();
+ }
+ }
+ }
+
+ /**
+ * Resets the state of the handler. Stops forwarding records to the wrapped handler.
+ */
+ public function reset()
+ {
+ $this->buffering = true;
+ }
+
+ /**
+ * Clears the buffer without flushing any messages down to the wrapped handler.
+ *
+ * It also resets the handler to its initial buffering state.
+ */
+ public function clear()
+ {
+ $this->buffer = array();
+ $this->reset();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FirePHPHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FirePHPHandler.php
new file mode 100644
index 00000000..fee47950
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FirePHPHandler.php
@@ -0,0 +1,195 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\WildfireFormatter;
+
+/**
+ * Simple FirePHP Handler (http://www.firephp.org/), which uses the Wildfire protocol.
+ *
+ * @author Eric Clemmons (@ericclemmons) <eric@uxdriven.com>
+ */
+class FirePHPHandler extends AbstractProcessingHandler
+{
+ /**
+ * WildFire JSON header message format
+ */
+ const PROTOCOL_URI = 'http://meta.wildfirehq.org/Protocol/JsonStream/0.2';
+
+ /**
+ * FirePHP structure for parsing messages & their presentation
+ */
+ const STRUCTURE_URI = 'http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1';
+
+ /**
+ * Must reference a "known" plugin, otherwise headers won't display in FirePHP
+ */
+ const PLUGIN_URI = 'http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3';
+
+ /**
+ * Header prefix for Wildfire to recognize & parse headers
+ */
+ const HEADER_PREFIX = 'X-Wf';
+
+ /**
+ * Whether or not Wildfire vendor-specific headers have been generated & sent yet
+ */
+ protected static $initialized = false;
+
+ /**
+ * Shared static message index between potentially multiple handlers
+ * @var int
+ */
+ protected static $messageIndex = 1;
+
+ protected static $sendHeaders = true;
+
+ /**
+ * Base header creation function used by init headers & record headers
+ *
+ * @param array $meta Wildfire Plugin, Protocol & Structure Indexes
+ * @param string $message Log message
+ * @return array Complete header string ready for the client as key and message as value
+ */
+ protected function createHeader(array $meta, $message)
+ {
+ $header = sprintf('%s-%s', self::HEADER_PREFIX, join('-', $meta));
+
+ return array($header => $message);
+ }
+
+ /**
+ * Creates message header from record
+ *
+ * @see createHeader()
+ * @param array $record
+ * @return string
+ */
+ protected function createRecordHeader(array $record)
+ {
+ // Wildfire is extensible to support multiple protocols & plugins in a single request,
+ // but we're not taking advantage of that (yet), so we're using "1" for simplicity's sake.
+ return $this->createHeader(
+ array(1, 1, 1, self::$messageIndex++),
+ $record['formatted']
+ );
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function getDefaultFormatter()
+ {
+ return new WildfireFormatter();
+ }
+
+ /**
+ * Wildfire initialization headers to enable message parsing
+ *
+ * @see createHeader()
+ * @see sendHeader()
+ * @return array
+ */
+ protected function getInitHeaders()
+ {
+ // Initial payload consists of required headers for Wildfire
+ return array_merge(
+ $this->createHeader(array('Protocol', 1), self::PROTOCOL_URI),
+ $this->createHeader(array(1, 'Structure', 1), self::STRUCTURE_URI),
+ $this->createHeader(array(1, 'Plugin', 1), self::PLUGIN_URI)
+ );
+ }
+
+ /**
+ * Send header string to the client
+ *
+ * @param string $header
+ * @param string $content
+ */
+ protected function sendHeader($header, $content)
+ {
+ if (!headers_sent() && self::$sendHeaders) {
+ header(sprintf('%s: %s', $header, $content));
+ }
+ }
+
+ /**
+ * Creates & sends header for a record, ensuring init headers have been sent prior
+ *
+ * @see sendHeader()
+ * @see sendInitHeaders()
+ * @param array $record
+ */
+ protected function write(array $record)
+ {
+ if (!self::$sendHeaders) {
+ return;
+ }
+
+ // WildFire-specific headers must be sent prior to any messages
+ if (!self::$initialized) {
+ self::$initialized = true;
+
+ self::$sendHeaders = $this->headersAccepted();
+ if (!self::$sendHeaders) {
+ return;
+ }
+
+ foreach ($this->getInitHeaders() as $header => $content) {
+ $this->sendHeader($header, $content);
+ }
+ }
+
+ $header = $this->createRecordHeader($record);
+ if (trim(current($header)) !== '') {
+ $this->sendHeader(key($header), current($header));
+ }
+ }
+
+ /**
+ * Verifies if the headers are accepted by the current user agent
+ *
+ * @return Boolean
+ */
+ protected function headersAccepted()
+ {
+ if (!empty($_SERVER['HTTP_USER_AGENT']) && preg_match('{\bFirePHP/\d+\.\d+\b}', $_SERVER['HTTP_USER_AGENT'])) {
+ return true;
+ }
+
+ return isset($_SERVER['HTTP_X_FIREPHP_VERSION']);
+ }
+
+ /**
+ * BC getter for the sendHeaders property that has been made static
+ */
+ public function __get($property)
+ {
+ if ('sendHeaders' !== $property) {
+ throw new \InvalidArgumentException('Undefined property '.$property);
+ }
+
+ return static::$sendHeaders;
+ }
+
+ /**
+ * BC setter for the sendHeaders property that has been made static
+ */
+ public function __set($property, $value)
+ {
+ if ('sendHeaders' !== $property) {
+ throw new \InvalidArgumentException('Undefined property '.$property);
+ }
+
+ static::$sendHeaders = $value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FleepHookHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FleepHookHandler.php
new file mode 100644
index 00000000..c43c0134
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FleepHookHandler.php
@@ -0,0 +1,126 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\LineFormatter;
+use Monolog\Logger;
+
+/**
+ * Sends logs to Fleep.io using Webhook integrations
+ *
+ * You'll need a Fleep.io account to use this handler.
+ *
+ * @see https://fleep.io/integrations/webhooks/ Fleep Webhooks Documentation
+ * @author Ando Roots <ando@sqroot.eu>
+ */
+class FleepHookHandler extends SocketHandler
+{
+ const FLEEP_HOST = 'fleep.io';
+
+ const FLEEP_HOOK_URI = '/hook/';
+
+ /**
+ * @var string Webhook token (specifies the conversation where logs are sent)
+ */
+ protected $token;
+
+ /**
+ * Construct a new Fleep.io Handler.
+ *
+ * For instructions on how to create a new web hook in your conversations
+ * see https://fleep.io/integrations/webhooks/
+ *
+ * @param string $token Webhook token
+ * @param bool|int $level The minimum logging level at which this handler will be triggered
+ * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
+ * @throws MissingExtensionException
+ */
+ public function __construct($token, $level = Logger::DEBUG, $bubble = true)
+ {
+ if (!extension_loaded('openssl')) {
+ throw new MissingExtensionException('The OpenSSL PHP extension is required to use the FleepHookHandler');
+ }
+
+ $this->token = $token;
+
+ $connectionString = 'ssl://' . self::FLEEP_HOST . ':443';
+ parent::__construct($connectionString, $level, $bubble);
+ }
+
+ /**
+ * Returns the default formatter to use with this handler
+ *
+ * Overloaded to remove empty context and extra arrays from the end of the log message.
+ *
+ * @return LineFormatter
+ */
+ protected function getDefaultFormatter()
+ {
+ return new LineFormatter(null, null, true, true);
+ }
+
+ /**
+ * Handles a log record
+ *
+ * @param array $record
+ */
+ public function write(array $record)
+ {
+ parent::write($record);
+ $this->closeSocket();
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @param array $record
+ * @return string
+ */
+ protected function generateDataStream($record)
+ {
+ $content = $this->buildContent($record);
+
+ return $this->buildHeader($content) . $content;
+ }
+
+ /**
+ * Builds the header of the API Call
+ *
+ * @param string $content
+ * @return string
+ */
+ private function buildHeader($content)
+ {
+ $header = "POST " . self::FLEEP_HOOK_URI . $this->token . " HTTP/1.1\r\n";
+ $header .= "Host: " . self::FLEEP_HOST . "\r\n";
+ $header .= "Content-Type: application/x-www-form-urlencoded\r\n";
+ $header .= "Content-Length: " . strlen($content) . "\r\n";
+ $header .= "\r\n";
+
+ return $header;
+ }
+
+ /**
+ * Builds the body of API call
+ *
+ * @param array $record
+ * @return string
+ */
+ private function buildContent($record)
+ {
+ $dataArray = array(
+ 'message' => $record['formatted'],
+ );
+
+ return http_build_query($dataArray);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FlowdockHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FlowdockHandler.php
new file mode 100644
index 00000000..dd9a361c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FlowdockHandler.php
@@ -0,0 +1,127 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+use Monolog\Formatter\FlowdockFormatter;
+use Monolog\Formatter\FormatterInterface;
+
+/**
+ * Sends notifications through the Flowdock push API
+ *
+ * This must be configured with a FlowdockFormatter instance via setFormatter()
+ *
+ * Notes:
+ * API token - Flowdock API token
+ *
+ * @author Dominik Liebler <liebler.dominik@gmail.com>
+ * @see https://www.flowdock.com/api/push
+ */
+class FlowdockHandler extends SocketHandler
+{
+ /**
+ * @var string
+ */
+ protected $apiToken;
+
+ /**
+ * @param string $apiToken
+ * @param bool|int $level The minimum logging level at which this handler will be triggered
+ * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
+ *
+ * @throws MissingExtensionException if OpenSSL is missing
+ */
+ public function __construct($apiToken, $level = Logger::DEBUG, $bubble = true)
+ {
+ if (!extension_loaded('openssl')) {
+ throw new MissingExtensionException('The OpenSSL PHP extension is required to use the FlowdockHandler');
+ }
+
+ parent::__construct('ssl://api.flowdock.com:443', $level, $bubble);
+ $this->apiToken = $apiToken;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function setFormatter(FormatterInterface $formatter)
+ {
+ if (!$formatter instanceof FlowdockFormatter) {
+ throw new \InvalidArgumentException('The FlowdockHandler requires an instance of Monolog\Formatter\FlowdockFormatter to function correctly');
+ }
+
+ return parent::setFormatter($formatter);
+ }
+
+ /**
+ * Gets the default formatter.
+ *
+ * @return FormatterInterface
+ */
+ protected function getDefaultFormatter()
+ {
+ throw new \InvalidArgumentException('The FlowdockHandler must be configured (via setFormatter) with an instance of Monolog\Formatter\FlowdockFormatter to function correctly');
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @param array $record
+ */
+ protected function write(array $record)
+ {
+ parent::write($record);
+
+ $this->closeSocket();
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @param array $record
+ * @return string
+ */
+ protected function generateDataStream($record)
+ {
+ $content = $this->buildContent($record);
+
+ return $this->buildHeader($content) . $content;
+ }
+
+ /**
+ * Builds the body of API call
+ *
+ * @param array $record
+ * @return string
+ */
+ private function buildContent($record)
+ {
+ return json_encode($record['formatted']['flowdock']);
+ }
+
+ /**
+ * Builds the header of the API Call
+ *
+ * @param string $content
+ * @return string
+ */
+ private function buildHeader($content)
+ {
+ $header = "POST /v1/messages/team_inbox/" . $this->apiToken . " HTTP/1.1\r\n";
+ $header .= "Host: api.flowdock.com\r\n";
+ $header .= "Content-Type: application/json\r\n";
+ $header .= "Content-Length: " . strlen($content) . "\r\n";
+ $header .= "\r\n";
+
+ return $header;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/GelfHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/GelfHandler.php
new file mode 100644
index 00000000..d3847d82
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/GelfHandler.php
@@ -0,0 +1,73 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Gelf\IMessagePublisher;
+use Gelf\PublisherInterface;
+use Gelf\Publisher;
+use InvalidArgumentException;
+use Monolog\Logger;
+use Monolog\Formatter\GelfMessageFormatter;
+
+/**
+ * Handler to send messages to a Graylog2 (http://www.graylog2.org) server
+ *
+ * @author Matt Lehner <mlehner@gmail.com>
+ * @author Benjamin Zikarsky <benjamin@zikarsky.de>
+ */
+class GelfHandler extends AbstractProcessingHandler
+{
+ /**
+ * @var Publisher the publisher object that sends the message to the server
+ */
+ protected $publisher;
+
+ /**
+ * @param PublisherInterface|IMessagePublisher|Publisher $publisher a publisher object
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct($publisher, $level = Logger::DEBUG, $bubble = true)
+ {
+ parent::__construct($level, $bubble);
+
+ if (!$publisher instanceof Publisher && !$publisher instanceof IMessagePublisher && !$publisher instanceof PublisherInterface) {
+ throw new InvalidArgumentException('Invalid publisher, expected a Gelf\Publisher, Gelf\IMessagePublisher or Gelf\PublisherInterface instance');
+ }
+
+ $this->publisher = $publisher;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function close()
+ {
+ $this->publisher = null;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function write(array $record)
+ {
+ $this->publisher->publish($record['formatted']);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function getDefaultFormatter()
+ {
+ return new GelfMessageFormatter();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/GroupHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/GroupHandler.php
new file mode 100644
index 00000000..663f5a92
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/GroupHandler.php
@@ -0,0 +1,104 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\FormatterInterface;
+
+/**
+ * Forwards records to multiple handlers
+ *
+ * @author Lenar Lõhmus <lenar@city.ee>
+ */
+class GroupHandler extends AbstractHandler
+{
+ protected $handlers;
+
+ /**
+ * @param array $handlers Array of Handlers.
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct(array $handlers, $bubble = true)
+ {
+ foreach ($handlers as $handler) {
+ if (!$handler instanceof HandlerInterface) {
+ throw new \InvalidArgumentException('The first argument of the GroupHandler must be an array of HandlerInterface instances.');
+ }
+ }
+
+ $this->handlers = $handlers;
+ $this->bubble = $bubble;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function isHandling(array $record)
+ {
+ foreach ($this->handlers as $handler) {
+ if ($handler->isHandling($record)) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function handle(array $record)
+ {
+ if ($this->processors) {
+ foreach ($this->processors as $processor) {
+ $record = call_user_func($processor, $record);
+ }
+ }
+
+ foreach ($this->handlers as $handler) {
+ $handler->handle($record);
+ }
+
+ return false === $this->bubble;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function handleBatch(array $records)
+ {
+ if ($this->processors) {
+ $processed = array();
+ foreach ($records as $record) {
+ foreach ($this->processors as $processor) {
+ $processed[] = call_user_func($processor, $record);
+ }
+ }
+ $records = $processed;
+ }
+
+ foreach ($this->handlers as $handler) {
+ $handler->handleBatch($records);
+ }
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function setFormatter(FormatterInterface $formatter)
+ {
+ foreach ($this->handlers as $handler) {
+ $handler->setFormatter($formatter);
+ }
+
+ return $this;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HandlerInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HandlerInterface.php
new file mode 100644
index 00000000..d920c4ba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HandlerInterface.php
@@ -0,0 +1,90 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\FormatterInterface;
+
+/**
+ * Interface that all Monolog Handlers must implement
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+interface HandlerInterface
+{
+ /**
+ * Checks whether the given record will be handled by this handler.
+ *
+ * This is mostly done for performance reasons, to avoid calling processors for nothing.
+ *
+ * Handlers should still check the record levels within handle(), returning false in isHandling()
+ * is no guarantee that handle() will not be called, and isHandling() might not be called
+ * for a given record.
+ *
+ * @param array $record Partial log record containing only a level key
+ *
+ * @return Boolean
+ */
+ public function isHandling(array $record);
+
+ /**
+ * Handles a record.
+ *
+ * All records may be passed to this method, and the handler should discard
+ * those that it does not want to handle.
+ *
+ * The return value of this function controls the bubbling process of the handler stack.
+ * Unless the bubbling is interrupted (by returning true), the Logger class will keep on
+ * calling further handlers in the stack with a given log record.
+ *
+ * @param array $record The record to handle
+ * @return Boolean true means that this handler handled the record, and that bubbling is not permitted.
+ * false means the record was either not processed or that this handler allows bubbling.
+ */
+ public function handle(array $record);
+
+ /**
+ * Handles a set of records at once.
+ *
+ * @param array $records The records to handle (an array of record arrays)
+ */
+ public function handleBatch(array $records);
+
+ /**
+ * Adds a processor in the stack.
+ *
+ * @param callable $callback
+ * @return self
+ */
+ public function pushProcessor($callback);
+
+ /**
+ * Removes the processor on top of the stack and returns it.
+ *
+ * @return callable
+ */
+ public function popProcessor();
+
+ /**
+ * Sets the formatter.
+ *
+ * @param FormatterInterface $formatter
+ * @return self
+ */
+ public function setFormatter(FormatterInterface $formatter);
+
+ /**
+ * Gets the formatter.
+ *
+ * @return FormatterInterface
+ */
+ public function getFormatter();
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HandlerWrapper.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HandlerWrapper.php
new file mode 100644
index 00000000..e540d80f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HandlerWrapper.php
@@ -0,0 +1,108 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\FormatterInterface;
+
+/**
+ * This simple wrapper class can be used to extend handlers functionality.
+ *
+ * Example: A custom filtering that can be applied to any handler.
+ *
+ * Inherit from this class and override handle() like this:
+ *
+ * public function handle(array $record)
+ * {
+ * if ($record meets certain conditions) {
+ * return false;
+ * }
+ * return $this->handler->handle($record);
+ * }
+ *
+ * @author Alexey Karapetov <alexey@karapetov.com>
+ */
+class HandlerWrapper implements HandlerInterface
+{
+ /**
+ * @var HandlerInterface
+ */
+ protected $handler;
+
+ /**
+ * HandlerWrapper constructor.
+ * @param HandlerInterface $handler
+ */
+ public function __construct(HandlerInterface $handler)
+ {
+ $this->handler = $handler;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function isHandling(array $record)
+ {
+ return $this->handler->isHandling($record);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function handle(array $record)
+ {
+ return $this->handler->handle($record);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function handleBatch(array $records)
+ {
+ return $this->handler->handleBatch($records);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function pushProcessor($callback)
+ {
+ $this->handler->pushProcessor($callback);
+
+ return $this;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function popProcessor()
+ {
+ return $this->handler->popProcessor();
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function setFormatter(FormatterInterface $formatter)
+ {
+ $this->handler->setFormatter($formatter);
+
+ return $this;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getFormatter()
+ {
+ return $this->handler->getFormatter();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HipChatHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HipChatHandler.php
new file mode 100644
index 00000000..73049f36
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HipChatHandler.php
@@ -0,0 +1,350 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+
+/**
+ * Sends notifications through the hipchat api to a hipchat room
+ *
+ * Notes:
+ * API token - HipChat API token
+ * Room - HipChat Room Id or name, where messages are sent
+ * Name - Name used to send the message (from)
+ * notify - Should the message trigger a notification in the clients
+ * version - The API version to use (HipChatHandler::API_V1 | HipChatHandler::API_V2)
+ *
+ * @author Rafael Dohms <rafael@doh.ms>
+ * @see https://www.hipchat.com/docs/api
+ */
+class HipChatHandler extends SocketHandler
+{
+ /**
+ * Use API version 1
+ */
+ const API_V1 = 'v1';
+
+ /**
+ * Use API version v2
+ */
+ const API_V2 = 'v2';
+
+ /**
+ * The maximum allowed length for the name used in the "from" field.
+ */
+ const MAXIMUM_NAME_LENGTH = 15;
+
+ /**
+ * The maximum allowed length for the message.
+ */
+ const MAXIMUM_MESSAGE_LENGTH = 9500;
+
+ /**
+ * @var string
+ */
+ private $token;
+
+ /**
+ * @var string
+ */
+ private $room;
+
+ /**
+ * @var string
+ */
+ private $name;
+
+ /**
+ * @var bool
+ */
+ private $notify;
+
+ /**
+ * @var string
+ */
+ private $format;
+
+ /**
+ * @var string
+ */
+ private $host;
+
+ /**
+ * @var string
+ */
+ private $version;
+
+ /**
+ * @param string $token HipChat API Token
+ * @param string $room The room that should be alerted of the message (Id or Name)
+ * @param string $name Name used in the "from" field.
+ * @param bool $notify Trigger a notification in clients or not
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
+ * @param bool $useSSL Whether to connect via SSL.
+ * @param string $format The format of the messages (default to text, can be set to html if you have html in the messages)
+ * @param string $host The HipChat server hostname.
+ * @param string $version The HipChat API version (default HipChatHandler::API_V1)
+ */
+ public function __construct($token, $room, $name = 'Monolog', $notify = false, $level = Logger::CRITICAL, $bubble = true, $useSSL = true, $format = 'text', $host = 'api.hipchat.com', $version = self::API_V1)
+ {
+ if ($version == self::API_V1 && !$this->validateStringLength($name, static::MAXIMUM_NAME_LENGTH)) {
+ throw new \InvalidArgumentException('The supplied name is too long. HipChat\'s v1 API supports names up to 15 UTF-8 characters.');
+ }
+
+ $connectionString = $useSSL ? 'ssl://'.$host.':443' : $host.':80';
+ parent::__construct($connectionString, $level, $bubble);
+
+ $this->token = $token;
+ $this->name = $name;
+ $this->notify = $notify;
+ $this->room = $room;
+ $this->format = $format;
+ $this->host = $host;
+ $this->version = $version;
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @param array $record
+ * @return string
+ */
+ protected function generateDataStream($record)
+ {
+ $content = $this->buildContent($record);
+
+ return $this->buildHeader($content) . $content;
+ }
+
+ /**
+ * Builds the body of API call
+ *
+ * @param array $record
+ * @return string
+ */
+ private function buildContent($record)
+ {
+ $dataArray = array(
+ 'notify' => $this->version == self::API_V1 ?
+ ($this->notify ? 1 : 0) :
+ ($this->notify ? 'true' : 'false'),
+ 'message' => $record['formatted'],
+ 'message_format' => $this->format,
+ 'color' => $this->getAlertColor($record['level']),
+ );
+
+ if (!$this->validateStringLength($dataArray['message'], static::MAXIMUM_MESSAGE_LENGTH)) {
+ if (function_exists('mb_substr')) {
+ $dataArray['message'] = mb_substr($dataArray['message'], 0, static::MAXIMUM_MESSAGE_LENGTH).' [truncated]';
+ } else {
+ $dataArray['message'] = substr($dataArray['message'], 0, static::MAXIMUM_MESSAGE_LENGTH).' [truncated]';
+ }
+ }
+
+ // if we are using the legacy API then we need to send some additional information
+ if ($this->version == self::API_V1) {
+ $dataArray['room_id'] = $this->room;
+ }
+
+ // append the sender name if it is set
+ // always append it if we use the v1 api (it is required in v1)
+ if ($this->version == self::API_V1 || $this->name !== null) {
+ $dataArray['from'] = (string) $this->name;
+ }
+
+ return http_build_query($dataArray);
+ }
+
+ /**
+ * Builds the header of the API Call
+ *
+ * @param string $content
+ * @return string
+ */
+ private function buildHeader($content)
+ {
+ if ($this->version == self::API_V1) {
+ $header = "POST /v1/rooms/message?format=json&auth_token={$this->token} HTTP/1.1\r\n";
+ } else {
+ // needed for rooms with special (spaces, etc) characters in the name
+ $room = rawurlencode($this->room);
+ $header = "POST /v2/room/{$room}/notification?auth_token={$this->token} HTTP/1.1\r\n";
+ }
+
+ $header .= "Host: {$this->host}\r\n";
+ $header .= "Content-Type: application/x-www-form-urlencoded\r\n";
+ $header .= "Content-Length: " . strlen($content) . "\r\n";
+ $header .= "\r\n";
+
+ return $header;
+ }
+
+ /**
+ * Assigns a color to each level of log records.
+ *
+ * @param int $level
+ * @return string
+ */
+ protected function getAlertColor($level)
+ {
+ switch (true) {
+ case $level >= Logger::ERROR:
+ return 'red';
+ case $level >= Logger::WARNING:
+ return 'yellow';
+ case $level >= Logger::INFO:
+ return 'green';
+ case $level == Logger::DEBUG:
+ return 'gray';
+ default:
+ return 'yellow';
+ }
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @param array $record
+ */
+ protected function write(array $record)
+ {
+ parent::write($record);
+ $this->closeSocket();
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function handleBatch(array $records)
+ {
+ if (count($records) == 0) {
+ return true;
+ }
+
+ $batchRecords = $this->combineRecords($records);
+
+ $handled = false;
+ foreach ($batchRecords as $batchRecord) {
+ if ($this->isHandling($batchRecord)) {
+ $this->write($batchRecord);
+ $handled = true;
+ }
+ }
+
+ if (!$handled) {
+ return false;
+ }
+
+ return false === $this->bubble;
+ }
+
+ /**
+ * Combines multiple records into one. Error level of the combined record
+ * will be the highest level from the given records. Datetime will be taken
+ * from the first record.
+ *
+ * @param $records
+ * @return array
+ */
+ private function combineRecords($records)
+ {
+ $batchRecord = null;
+ $batchRecords = array();
+ $messages = array();
+ $formattedMessages = array();
+ $level = 0;
+ $levelName = null;
+ $datetime = null;
+
+ foreach ($records as $record) {
+ $record = $this->processRecord($record);
+
+ if ($record['level'] > $level) {
+ $level = $record['level'];
+ $levelName = $record['level_name'];
+ }
+
+ if (null === $datetime) {
+ $datetime = $record['datetime'];
+ }
+
+ $messages[] = $record['message'];
+ $messageStr = implode(PHP_EOL, $messages);
+ $formattedMessages[] = $this->getFormatter()->format($record);
+ $formattedMessageStr = implode('', $formattedMessages);
+
+ $batchRecord = array(
+ 'message' => $messageStr,
+ 'formatted' => $formattedMessageStr,
+ 'context' => array(),
+ 'extra' => array(),
+ );
+
+ if (!$this->validateStringLength($batchRecord['formatted'], static::MAXIMUM_MESSAGE_LENGTH)) {
+ // Pop the last message and implode the remaining messages
+ $lastMessage = array_pop($messages);
+ $lastFormattedMessage = array_pop($formattedMessages);
+ $batchRecord['message'] = implode(PHP_EOL, $messages);
+ $batchRecord['formatted'] = implode('', $formattedMessages);
+
+ $batchRecords[] = $batchRecord;
+ $messages = array($lastMessage);
+ $formattedMessages = array($lastFormattedMessage);
+
+ $batchRecord = null;
+ }
+ }
+
+ if (null !== $batchRecord) {
+ $batchRecords[] = $batchRecord;
+ }
+
+ // Set the max level and datetime for all records
+ foreach ($batchRecords as &$batchRecord) {
+ $batchRecord = array_merge(
+ $batchRecord,
+ array(
+ 'level' => $level,
+ 'level_name' => $levelName,
+ 'datetime' => $datetime,
+ )
+ );
+ }
+
+ return $batchRecords;
+ }
+
+ /**
+ * Validates the length of a string.
+ *
+ * If the `mb_strlen()` function is available, it will use that, as HipChat
+ * allows UTF-8 characters. Otherwise, it will fall back to `strlen()`.
+ *
+ * Note that this might cause false failures in the specific case of using
+ * a valid name with less than 16 characters, but 16 or more bytes, on a
+ * system where `mb_strlen()` is unavailable.
+ *
+ * @param string $str
+ * @param int $length
+ *
+ * @return bool
+ */
+ private function validateStringLength($str, $length)
+ {
+ if (function_exists('mb_strlen')) {
+ return (mb_strlen($str) <= $length);
+ }
+
+ return (strlen($str) <= $length);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/IFTTTHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/IFTTTHandler.php
new file mode 100644
index 00000000..d60a3c82
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/IFTTTHandler.php
@@ -0,0 +1,69 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+
+/**
+ * IFTTTHandler uses cURL to trigger IFTTT Maker actions
+ *
+ * Register a secret key and trigger/event name at https://ifttt.com/maker
+ *
+ * value1 will be the channel from monolog's Logger constructor,
+ * value2 will be the level name (ERROR, WARNING, ..)
+ * value3 will be the log record's message
+ *
+ * @author Nehal Patel <nehal@nehalpatel.me>
+ */
+class IFTTTHandler extends AbstractProcessingHandler
+{
+ private $eventName;
+ private $secretKey;
+
+ /**
+ * @param string $eventName The name of the IFTTT Maker event that should be triggered
+ * @param string $secretKey A valid IFTTT secret key
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct($eventName, $secretKey, $level = Logger::ERROR, $bubble = true)
+ {
+ $this->eventName = $eventName;
+ $this->secretKey = $secretKey;
+
+ parent::__construct($level, $bubble);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function write(array $record)
+ {
+ $postData = array(
+ "value1" => $record["channel"],
+ "value2" => $record["level_name"],
+ "value3" => $record["message"],
+ );
+ $postString = json_encode($postData);
+
+ $ch = curl_init();
+ curl_setopt($ch, CURLOPT_URL, "https://maker.ifttt.com/trigger/" . $this->eventName . "/with/key/" . $this->secretKey);
+ curl_setopt($ch, CURLOPT_POST, true);
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $postString);
+ curl_setopt($ch, CURLOPT_HTTPHEADER, array(
+ "Content-Type: application/json",
+ ));
+
+ Curl\Util::execute($ch);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/LogEntriesHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/LogEntriesHandler.php
new file mode 100644
index 00000000..494c605b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/LogEntriesHandler.php
@@ -0,0 +1,55 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+
+/**
+ * @author Robert Kaufmann III <rok3@rok3.me>
+ */
+class LogEntriesHandler extends SocketHandler
+{
+ /**
+ * @var string
+ */
+ protected $logToken;
+
+ /**
+ * @param string $token Log token supplied by LogEntries
+ * @param bool $useSSL Whether or not SSL encryption should be used.
+ * @param int $level The minimum logging level to trigger this handler
+ * @param bool $bubble Whether or not messages that are handled should bubble up the stack.
+ *
+ * @throws MissingExtensionException If SSL encryption is set to true and OpenSSL is missing
+ */
+ public function __construct($token, $useSSL = true, $level = Logger::DEBUG, $bubble = true)
+ {
+ if ($useSSL && !extension_loaded('openssl')) {
+ throw new MissingExtensionException('The OpenSSL PHP plugin is required to use SSL encrypted connection for LogEntriesHandler');
+ }
+
+ $endpoint = $useSSL ? 'ssl://data.logentries.com:443' : 'data.logentries.com:80';
+ parent::__construct($endpoint, $level, $bubble);
+ $this->logToken = $token;
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @param array $record
+ * @return string
+ */
+ protected function generateDataStream($record)
+ {
+ return $this->logToken . ' ' . $record['formatted'];
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/LogglyHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/LogglyHandler.php
new file mode 100644
index 00000000..bcd62e1c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/LogglyHandler.php
@@ -0,0 +1,102 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+use Monolog\Formatter\LogglyFormatter;
+
+/**
+ * Sends errors to Loggly.
+ *
+ * @author Przemek Sobstel <przemek@sobstel.org>
+ * @author Adam Pancutt <adam@pancutt.com>
+ * @author Gregory Barchard <gregory@barchard.net>
+ */
+class LogglyHandler extends AbstractProcessingHandler
+{
+ const HOST = 'logs-01.loggly.com';
+ const ENDPOINT_SINGLE = 'inputs';
+ const ENDPOINT_BATCH = 'bulk';
+
+ protected $token;
+
+ protected $tag = array();
+
+ public function __construct($token, $level = Logger::DEBUG, $bubble = true)
+ {
+ if (!extension_loaded('curl')) {
+ throw new \LogicException('The curl extension is needed to use the LogglyHandler');
+ }
+
+ $this->token = $token;
+
+ parent::__construct($level, $bubble);
+ }
+
+ public function setTag($tag)
+ {
+ $tag = !empty($tag) ? $tag : array();
+ $this->tag = is_array($tag) ? $tag : array($tag);
+ }
+
+ public function addTag($tag)
+ {
+ if (!empty($tag)) {
+ $tag = is_array($tag) ? $tag : array($tag);
+ $this->tag = array_unique(array_merge($this->tag, $tag));
+ }
+ }
+
+ protected function write(array $record)
+ {
+ $this->send($record["formatted"], self::ENDPOINT_SINGLE);
+ }
+
+ public function handleBatch(array $records)
+ {
+ $level = $this->level;
+
+ $records = array_filter($records, function ($record) use ($level) {
+ return ($record['level'] >= $level);
+ });
+
+ if ($records) {
+ $this->send($this->getFormatter()->formatBatch($records), self::ENDPOINT_BATCH);
+ }
+ }
+
+ protected function send($data, $endpoint)
+ {
+ $url = sprintf("https://%s/%s/%s/", self::HOST, $endpoint, $this->token);
+
+ $headers = array('Content-Type: application/json');
+
+ if (!empty($this->tag)) {
+ $headers[] = 'X-LOGGLY-TAG: '.implode(',', $this->tag);
+ }
+
+ $ch = curl_init();
+
+ curl_setopt($ch, CURLOPT_URL, $url);
+ curl_setopt($ch, CURLOPT_POST, true);
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
+ curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
+
+ Curl\Util::execute($ch);
+ }
+
+ protected function getDefaultFormatter()
+ {
+ return new LogglyFormatter();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MailHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MailHandler.php
new file mode 100644
index 00000000..9e232838
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MailHandler.php
@@ -0,0 +1,67 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+/**
+ * Base class for all mail handlers
+ *
+ * @author Gyula Sallai
+ */
+abstract class MailHandler extends AbstractProcessingHandler
+{
+ /**
+ * {@inheritdoc}
+ */
+ public function handleBatch(array $records)
+ {
+ $messages = array();
+
+ foreach ($records as $record) {
+ if ($record['level'] < $this->level) {
+ continue;
+ }
+ $messages[] = $this->processRecord($record);
+ }
+
+ if (!empty($messages)) {
+ $this->send((string) $this->getFormatter()->formatBatch($messages), $messages);
+ }
+ }
+
+ /**
+ * Send a mail with the given content
+ *
+ * @param string $content formatted email body to be sent
+ * @param array $records the array of log records that formed this content
+ */
+ abstract protected function send($content, array $records);
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function write(array $record)
+ {
+ $this->send((string) $record['formatted'], array($record));
+ }
+
+ protected function getHighestRecord(array $records)
+ {
+ $highestRecord = null;
+ foreach ($records as $record) {
+ if ($highestRecord === null || $highestRecord['level'] < $record['level']) {
+ $highestRecord = $record;
+ }
+ }
+
+ return $highestRecord;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MandrillHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MandrillHandler.php
new file mode 100644
index 00000000..ab95924f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MandrillHandler.php
@@ -0,0 +1,68 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+
+/**
+ * MandrillHandler uses cURL to send the emails to the Mandrill API
+ *
+ * @author Adam Nicholson <adamnicholson10@gmail.com>
+ */
+class MandrillHandler extends MailHandler
+{
+ protected $message;
+ protected $apiKey;
+
+ /**
+ * @param string $apiKey A valid Mandrill API key
+ * @param callable|\Swift_Message $message An example message for real messages, only the body will be replaced
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct($apiKey, $message, $level = Logger::ERROR, $bubble = true)
+ {
+ parent::__construct($level, $bubble);
+
+ if (!$message instanceof \Swift_Message && is_callable($message)) {
+ $message = call_user_func($message);
+ }
+ if (!$message instanceof \Swift_Message) {
+ throw new \InvalidArgumentException('You must provide either a Swift_Message instance or a callable returning it');
+ }
+ $this->message = $message;
+ $this->apiKey = $apiKey;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function send($content, array $records)
+ {
+ $message = clone $this->message;
+ $message->setBody($content);
+ $message->setDate(time());
+
+ $ch = curl_init();
+
+ curl_setopt($ch, CURLOPT_URL, 'https://mandrillapp.com/api/1.0/messages/send-raw.json');
+ curl_setopt($ch, CURLOPT_POST, 1);
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
+ curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(array(
+ 'key' => $this->apiKey,
+ 'raw_message' => (string) $message,
+ 'async' => false,
+ )));
+
+ Curl\Util::execute($ch);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MissingExtensionException.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MissingExtensionException.php
new file mode 100644
index 00000000..4724a7e2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MissingExtensionException.php
@@ -0,0 +1,21 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+/**
+ * Exception can be thrown if an extension for an handler is missing
+ *
+ * @author Christian Bergau <cbergau86@gmail.com>
+ */
+class MissingExtensionException extends \Exception
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MongoDBHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MongoDBHandler.php
new file mode 100644
index 00000000..56fe755b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MongoDBHandler.php
@@ -0,0 +1,59 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+use Monolog\Formatter\NormalizerFormatter;
+
+/**
+ * Logs to a MongoDB database.
+ *
+ * usage example:
+ *
+ * $log = new Logger('application');
+ * $mongodb = new MongoDBHandler(new \Mongo("mongodb://localhost:27017"), "logs", "prod");
+ * $log->pushHandler($mongodb);
+ *
+ * @author Thomas Tourlourat <thomas@tourlourat.com>
+ */
+class MongoDBHandler extends AbstractProcessingHandler
+{
+ protected $mongoCollection;
+
+ public function __construct($mongo, $database, $collection, $level = Logger::DEBUG, $bubble = true)
+ {
+ if (!($mongo instanceof \MongoClient || $mongo instanceof \Mongo || $mongo instanceof \MongoDB\Client)) {
+ throw new \InvalidArgumentException('MongoClient, Mongo or MongoDB\Client instance required');
+ }
+
+ $this->mongoCollection = $mongo->selectCollection($database, $collection);
+
+ parent::__construct($level, $bubble);
+ }
+
+ protected function write(array $record)
+ {
+ if ($this->mongoCollection instanceof \MongoDB\Collection) {
+ $this->mongoCollection->insertOne($record["formatted"]);
+ } else {
+ $this->mongoCollection->save($record["formatted"]);
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function getDefaultFormatter()
+ {
+ return new NormalizerFormatter();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php
new file mode 100644
index 00000000..d7807fd1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php
@@ -0,0 +1,185 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+use Monolog\Formatter\LineFormatter;
+
+/**
+ * NativeMailerHandler uses the mail() function to send the emails
+ *
+ * @author Christophe Coevoet <stof@notk.org>
+ * @author Mark Garrett <mark@moderndeveloperllc.com>
+ */
+class NativeMailerHandler extends MailHandler
+{
+ /**
+ * The email addresses to which the message will be sent
+ * @var array
+ */
+ protected $to;
+
+ /**
+ * The subject of the email
+ * @var string
+ */
+ protected $subject;
+
+ /**
+ * Optional headers for the message
+ * @var array
+ */
+ protected $headers = array();
+
+ /**
+ * Optional parameters for the message
+ * @var array
+ */
+ protected $parameters = array();
+
+ /**
+ * The wordwrap length for the message
+ * @var int
+ */
+ protected $maxColumnWidth;
+
+ /**
+ * The Content-type for the message
+ * @var string
+ */
+ protected $contentType = 'text/plain';
+
+ /**
+ * The encoding for the message
+ * @var string
+ */
+ protected $encoding = 'utf-8';
+
+ /**
+ * @param string|array $to The receiver of the mail
+ * @param string $subject The subject of the mail
+ * @param string $from The sender of the mail
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
+ * @param int $maxColumnWidth The maximum column width that the message lines will have
+ */
+ public function __construct($to, $subject, $from, $level = Logger::ERROR, $bubble = true, $maxColumnWidth = 70)
+ {
+ parent::__construct($level, $bubble);
+ $this->to = is_array($to) ? $to : array($to);
+ $this->subject = $subject;
+ $this->addHeader(sprintf('From: %s', $from));
+ $this->maxColumnWidth = $maxColumnWidth;
+ }
+
+ /**
+ * Add headers to the message
+ *
+ * @param string|array $headers Custom added headers
+ * @return self
+ */
+ public function addHeader($headers)
+ {
+ foreach ((array) $headers as $header) {
+ if (strpos($header, "\n") !== false || strpos($header, "\r") !== false) {
+ throw new \InvalidArgumentException('Headers can not contain newline characters for security reasons');
+ }
+ $this->headers[] = $header;
+ }
+
+ return $this;
+ }
+
+ /**
+ * Add parameters to the message
+ *
+ * @param string|array $parameters Custom added parameters
+ * @return self
+ */
+ public function addParameter($parameters)
+ {
+ $this->parameters = array_merge($this->parameters, (array) $parameters);
+
+ return $this;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function send($content, array $records)
+ {
+ $content = wordwrap($content, $this->maxColumnWidth);
+ $headers = ltrim(implode("\r\n", $this->headers) . "\r\n", "\r\n");
+ $headers .= 'Content-type: ' . $this->getContentType() . '; charset=' . $this->getEncoding() . "\r\n";
+ if ($this->getContentType() == 'text/html' && false === strpos($headers, 'MIME-Version:')) {
+ $headers .= 'MIME-Version: 1.0' . "\r\n";
+ }
+
+ $subject = $this->subject;
+ if ($records) {
+ $subjectFormatter = new LineFormatter($this->subject);
+ $subject = $subjectFormatter->format($this->getHighestRecord($records));
+ }
+
+ $parameters = implode(' ', $this->parameters);
+ foreach ($this->to as $to) {
+ mail($to, $subject, $content, $headers, $parameters);
+ }
+ }
+
+ /**
+ * @return string $contentType
+ */
+ public function getContentType()
+ {
+ return $this->contentType;
+ }
+
+ /**
+ * @return string $encoding
+ */
+ public function getEncoding()
+ {
+ return $this->encoding;
+ }
+
+ /**
+ * @param string $contentType The content type of the email - Defaults to text/plain. Use text/html for HTML
+ * messages.
+ * @return self
+ */
+ public function setContentType($contentType)
+ {
+ if (strpos($contentType, "\n") !== false || strpos($contentType, "\r") !== false) {
+ throw new \InvalidArgumentException('The content type can not contain newline characters to prevent email header injection');
+ }
+
+ $this->contentType = $contentType;
+
+ return $this;
+ }
+
+ /**
+ * @param string $encoding
+ * @return self
+ */
+ public function setEncoding($encoding)
+ {
+ if (strpos($encoding, "\n") !== false || strpos($encoding, "\r") !== false) {
+ throw new \InvalidArgumentException('The encoding can not contain newline characters to prevent email header injection');
+ }
+
+ $this->encoding = $encoding;
+
+ return $this;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php
new file mode 100644
index 00000000..6718e9e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php
@@ -0,0 +1,202 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+use Monolog\Formatter\NormalizerFormatter;
+
+/**
+ * Class to record a log on a NewRelic application.
+ * Enabling New Relic High Security mode may prevent capture of useful information.
+ *
+ * @see https://docs.newrelic.com/docs/agents/php-agent
+ * @see https://docs.newrelic.com/docs/accounts-partnerships/accounts/security/high-security
+ */
+class NewRelicHandler extends AbstractProcessingHandler
+{
+ /**
+ * Name of the New Relic application that will receive logs from this handler.
+ *
+ * @var string
+ */
+ protected $appName;
+
+ /**
+ * Name of the current transaction
+ *
+ * @var string
+ */
+ protected $transactionName;
+
+ /**
+ * Some context and extra data is passed into the handler as arrays of values. Do we send them as is
+ * (useful if we are using the API), or explode them for display on the NewRelic RPM website?
+ *
+ * @var bool
+ */
+ protected $explodeArrays;
+
+ /**
+ * {@inheritDoc}
+ *
+ * @param string $appName
+ * @param bool $explodeArrays
+ * @param string $transactionName
+ */
+ public function __construct(
+ $level = Logger::ERROR,
+ $bubble = true,
+ $appName = null,
+ $explodeArrays = false,
+ $transactionName = null
+ ) {
+ parent::__construct($level, $bubble);
+
+ $this->appName = $appName;
+ $this->explodeArrays = $explodeArrays;
+ $this->transactionName = $transactionName;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function write(array $record)
+ {
+ if (!$this->isNewRelicEnabled()) {
+ throw new MissingExtensionException('The newrelic PHP extension is required to use the NewRelicHandler');
+ }
+
+ if ($appName = $this->getAppName($record['context'])) {
+ $this->setNewRelicAppName($appName);
+ }
+
+ if ($transactionName = $this->getTransactionName($record['context'])) {
+ $this->setNewRelicTransactionName($transactionName);
+ unset($record['formatted']['context']['transaction_name']);
+ }
+
+ if (isset($record['context']['exception']) && $record['context']['exception'] instanceof \Exception) {
+ newrelic_notice_error($record['message'], $record['context']['exception']);
+ unset($record['formatted']['context']['exception']);
+ } else {
+ newrelic_notice_error($record['message']);
+ }
+
+ if (isset($record['formatted']['context']) && is_array($record['formatted']['context'])) {
+ foreach ($record['formatted']['context'] as $key => $parameter) {
+ if (is_array($parameter) && $this->explodeArrays) {
+ foreach ($parameter as $paramKey => $paramValue) {
+ $this->setNewRelicParameter('context_' . $key . '_' . $paramKey, $paramValue);
+ }
+ } else {
+ $this->setNewRelicParameter('context_' . $key, $parameter);
+ }
+ }
+ }
+
+ if (isset($record['formatted']['extra']) && is_array($record['formatted']['extra'])) {
+ foreach ($record['formatted']['extra'] as $key => $parameter) {
+ if (is_array($parameter) && $this->explodeArrays) {
+ foreach ($parameter as $paramKey => $paramValue) {
+ $this->setNewRelicParameter('extra_' . $key . '_' . $paramKey, $paramValue);
+ }
+ } else {
+ $this->setNewRelicParameter('extra_' . $key, $parameter);
+ }
+ }
+ }
+ }
+
+ /**
+ * Checks whether the NewRelic extension is enabled in the system.
+ *
+ * @return bool
+ */
+ protected function isNewRelicEnabled()
+ {
+ return extension_loaded('newrelic');
+ }
+
+ /**
+ * Returns the appname where this log should be sent. Each log can override the default appname, set in this
+ * handler's constructor, by providing the appname in it's context.
+ *
+ * @param array $context
+ * @return null|string
+ */
+ protected function getAppName(array $context)
+ {
+ if (isset($context['appname'])) {
+ return $context['appname'];
+ }
+
+ return $this->appName;
+ }
+
+ /**
+ * Returns the name of the current transaction. Each log can override the default transaction name, set in this
+ * handler's constructor, by providing the transaction_name in it's context
+ *
+ * @param array $context
+ *
+ * @return null|string
+ */
+ protected function getTransactionName(array $context)
+ {
+ if (isset($context['transaction_name'])) {
+ return $context['transaction_name'];
+ }
+
+ return $this->transactionName;
+ }
+
+ /**
+ * Sets the NewRelic application that should receive this log.
+ *
+ * @param string $appName
+ */
+ protected function setNewRelicAppName($appName)
+ {
+ newrelic_set_appname($appName);
+ }
+
+ /**
+ * Overwrites the name of the current transaction
+ *
+ * @param string $transactionName
+ */
+ protected function setNewRelicTransactionName($transactionName)
+ {
+ newrelic_name_transaction($transactionName);
+ }
+
+ /**
+ * @param string $key
+ * @param mixed $value
+ */
+ protected function setNewRelicParameter($key, $value)
+ {
+ if (null === $value || is_scalar($value)) {
+ newrelic_add_custom_parameter($key, $value);
+ } else {
+ newrelic_add_custom_parameter($key, @json_encode($value));
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function getDefaultFormatter()
+ {
+ return new NormalizerFormatter();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NullHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NullHandler.php
new file mode 100644
index 00000000..4b845883
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NullHandler.php
@@ -0,0 +1,45 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+
+/**
+ * Blackhole
+ *
+ * Any record it can handle will be thrown away. This can be used
+ * to put on top of an existing stack to override it temporarily.
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+class NullHandler extends AbstractHandler
+{
+ /**
+ * @param int $level The minimum logging level at which this handler will be triggered
+ */
+ public function __construct($level = Logger::DEBUG)
+ {
+ parent::__construct($level, false);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function handle(array $record)
+ {
+ if ($record['level'] < $this->level) {
+ return false;
+ }
+
+ return true;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PHPConsoleHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PHPConsoleHandler.php
new file mode 100644
index 00000000..1f2076a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PHPConsoleHandler.php
@@ -0,0 +1,242 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Exception;
+use Monolog\Formatter\LineFormatter;
+use Monolog\Logger;
+use PhpConsole\Connector;
+use PhpConsole\Handler;
+use PhpConsole\Helper;
+
+/**
+ * Monolog handler for Google Chrome extension "PHP Console"
+ *
+ * Display PHP error/debug log messages in Google Chrome console and notification popups, executes PHP code remotely
+ *
+ * Usage:
+ * 1. Install Google Chrome extension https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef
+ * 2. See overview https://github.com/barbushin/php-console#overview
+ * 3. Install PHP Console library https://github.com/barbushin/php-console#installation
+ * 4. Example (result will looks like http://i.hizliresim.com/vg3Pz4.png)
+ *
+ * $logger = new \Monolog\Logger('all', array(new \Monolog\Handler\PHPConsoleHandler()));
+ * \Monolog\ErrorHandler::register($logger);
+ * echo $undefinedVar;
+ * $logger->addDebug('SELECT * FROM users', array('db', 'time' => 0.012));
+ * PC::debug($_SERVER); // PHP Console debugger for any type of vars
+ *
+ * @author Sergey Barbushin https://www.linkedin.com/in/barbushin
+ */
+class PHPConsoleHandler extends AbstractProcessingHandler
+{
+ private $options = array(
+ 'enabled' => true, // bool Is PHP Console server enabled
+ 'classesPartialsTraceIgnore' => array('Monolog\\'), // array Hide calls of classes started with...
+ 'debugTagsKeysInContext' => array(0, 'tag'), // bool Is PHP Console server enabled
+ 'useOwnErrorsHandler' => false, // bool Enable errors handling
+ 'useOwnExceptionsHandler' => false, // bool Enable exceptions handling
+ 'sourcesBasePath' => null, // string Base path of all project sources to strip in errors source paths
+ 'registerHelper' => true, // bool Register PhpConsole\Helper that allows short debug calls like PC::debug($var, 'ta.g.s')
+ 'serverEncoding' => null, // string|null Server internal encoding
+ 'headersLimit' => null, // int|null Set headers size limit for your web-server
+ 'password' => null, // string|null Protect PHP Console connection by password
+ 'enableSslOnlyMode' => false, // bool Force connection by SSL for clients with PHP Console installed
+ 'ipMasks' => array(), // array Set IP masks of clients that will be allowed to connect to PHP Console: array('192.168.*.*', '127.0.0.1')
+ 'enableEvalListener' => false, // bool Enable eval request to be handled by eval dispatcher(if enabled, 'password' option is also required)
+ 'dumperDetectCallbacks' => false, // bool Convert callback items in dumper vars to (callback SomeClass::someMethod) strings
+ 'dumperLevelLimit' => 5, // int Maximum dumped vars array or object nested dump level
+ 'dumperItemsCountLimit' => 100, // int Maximum dumped var same level array items or object properties number
+ 'dumperItemSizeLimit' => 5000, // int Maximum length of any string or dumped array item
+ 'dumperDumpSizeLimit' => 500000, // int Maximum approximate size of dumped vars result formatted in JSON
+ 'detectDumpTraceAndSource' => false, // bool Autodetect and append trace data to debug
+ 'dataStorage' => null, // PhpConsole\Storage|null Fixes problem with custom $_SESSION handler(see http://goo.gl/Ne8juJ)
+ );
+
+ /** @var Connector */
+ private $connector;
+
+ /**
+ * @param array $options See \Monolog\Handler\PHPConsoleHandler::$options for more details
+ * @param Connector|null $connector Instance of \PhpConsole\Connector class (optional)
+ * @param int $level
+ * @param bool $bubble
+ * @throws Exception
+ */
+ public function __construct(array $options = array(), Connector $connector = null, $level = Logger::DEBUG, $bubble = true)
+ {
+ if (!class_exists('PhpConsole\Connector')) {
+ throw new Exception('PHP Console library not found. See https://github.com/barbushin/php-console#installation');
+ }
+ parent::__construct($level, $bubble);
+ $this->options = $this->initOptions($options);
+ $this->connector = $this->initConnector($connector);
+ }
+
+ private function initOptions(array $options)
+ {
+ $wrongOptions = array_diff(array_keys($options), array_keys($this->options));
+ if ($wrongOptions) {
+ throw new Exception('Unknown options: ' . implode(', ', $wrongOptions));
+ }
+
+ return array_replace($this->options, $options);
+ }
+
+ private function initConnector(Connector $connector = null)
+ {
+ if (!$connector) {
+ if ($this->options['dataStorage']) {
+ Connector::setPostponeStorage($this->options['dataStorage']);
+ }
+ $connector = Connector::getInstance();
+ }
+
+ if ($this->options['registerHelper'] && !Helper::isRegistered()) {
+ Helper::register();
+ }
+
+ if ($this->options['enabled'] && $connector->isActiveClient()) {
+ if ($this->options['useOwnErrorsHandler'] || $this->options['useOwnExceptionsHandler']) {
+ $handler = Handler::getInstance();
+ $handler->setHandleErrors($this->options['useOwnErrorsHandler']);
+ $handler->setHandleExceptions($this->options['useOwnExceptionsHandler']);
+ $handler->start();
+ }
+ if ($this->options['sourcesBasePath']) {
+ $connector->setSourcesBasePath($this->options['sourcesBasePath']);
+ }
+ if ($this->options['serverEncoding']) {
+ $connector->setServerEncoding($this->options['serverEncoding']);
+ }
+ if ($this->options['password']) {
+ $connector->setPassword($this->options['password']);
+ }
+ if ($this->options['enableSslOnlyMode']) {
+ $connector->enableSslOnlyMode();
+ }
+ if ($this->options['ipMasks']) {
+ $connector->setAllowedIpMasks($this->options['ipMasks']);
+ }
+ if ($this->options['headersLimit']) {
+ $connector->setHeadersLimit($this->options['headersLimit']);
+ }
+ if ($this->options['detectDumpTraceAndSource']) {
+ $connector->getDebugDispatcher()->detectTraceAndSource = true;
+ }
+ $dumper = $connector->getDumper();
+ $dumper->levelLimit = $this->options['dumperLevelLimit'];
+ $dumper->itemsCountLimit = $this->options['dumperItemsCountLimit'];
+ $dumper->itemSizeLimit = $this->options['dumperItemSizeLimit'];
+ $dumper->dumpSizeLimit = $this->options['dumperDumpSizeLimit'];
+ $dumper->detectCallbacks = $this->options['dumperDetectCallbacks'];
+ if ($this->options['enableEvalListener']) {
+ $connector->startEvalRequestsListener();
+ }
+ }
+
+ return $connector;
+ }
+
+ public function getConnector()
+ {
+ return $this->connector;
+ }
+
+ public function getOptions()
+ {
+ return $this->options;
+ }
+
+ public function handle(array $record)
+ {
+ if ($this->options['enabled'] && $this->connector->isActiveClient()) {
+ return parent::handle($record);
+ }
+
+ return !$this->bubble;
+ }
+
+ /**
+ * Writes the record down to the log of the implementing handler
+ *
+ * @param array $record
+ * @return void
+ */
+ protected function write(array $record)
+ {
+ if ($record['level'] < Logger::NOTICE) {
+ $this->handleDebugRecord($record);
+ } elseif (isset($record['context']['exception']) && $record['context']['exception'] instanceof Exception) {
+ $this->handleExceptionRecord($record);
+ } else {
+ $this->handleErrorRecord($record);
+ }
+ }
+
+ private function handleDebugRecord(array $record)
+ {
+ $tags = $this->getRecordTags($record);
+ $message = $record['message'];
+ if ($record['context']) {
+ $message .= ' ' . json_encode($this->connector->getDumper()->dump(array_filter($record['context'])));
+ }
+ $this->connector->getDebugDispatcher()->dispatchDebug($message, $tags, $this->options['classesPartialsTraceIgnore']);
+ }
+
+ private function handleExceptionRecord(array $record)
+ {
+ $this->connector->getErrorsDispatcher()->dispatchException($record['context']['exception']);
+ }
+
+ private function handleErrorRecord(array $record)
+ {
+ $context = $record['context'];
+
+ $this->connector->getErrorsDispatcher()->dispatchError(
+ isset($context['code']) ? $context['code'] : null,
+ isset($context['message']) ? $context['message'] : $record['message'],
+ isset($context['file']) ? $context['file'] : null,
+ isset($context['line']) ? $context['line'] : null,
+ $this->options['classesPartialsTraceIgnore']
+ );
+ }
+
+ private function getRecordTags(array &$record)
+ {
+ $tags = null;
+ if (!empty($record['context'])) {
+ $context = & $record['context'];
+ foreach ($this->options['debugTagsKeysInContext'] as $key) {
+ if (!empty($context[$key])) {
+ $tags = $context[$key];
+ if ($key === 0) {
+ array_shift($context);
+ } else {
+ unset($context[$key]);
+ }
+ break;
+ }
+ }
+ }
+
+ return $tags ?: strtolower($record['level_name']);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function getDefaultFormatter()
+ {
+ return new LineFormatter('%message%');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PsrHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PsrHandler.php
new file mode 100644
index 00000000..1ae85845
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PsrHandler.php
@@ -0,0 +1,56 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+use Psr\Log\LoggerInterface;
+
+/**
+ * Proxies log messages to an existing PSR-3 compliant logger.
+ *
+ * @author Michael Moussa <michael.moussa@gmail.com>
+ */
+class PsrHandler extends AbstractHandler
+{
+ /**
+ * PSR-3 compliant logger
+ *
+ * @var LoggerInterface
+ */
+ protected $logger;
+
+ /**
+ * @param LoggerInterface $logger The underlying PSR-3 compliant logger to which messages will be proxied
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct(LoggerInterface $logger, $level = Logger::DEBUG, $bubble = true)
+ {
+ parent::__construct($level, $bubble);
+
+ $this->logger = $logger;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public function handle(array $record)
+ {
+ if (!$this->isHandling($record)) {
+ return false;
+ }
+
+ $this->logger->log(strtolower($record['level_name']), $record['message'], $record['context']);
+
+ return false === $this->bubble;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PushoverHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PushoverHandler.php
new file mode 100644
index 00000000..bba72005
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PushoverHandler.php
@@ -0,0 +1,185 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+
+/**
+ * Sends notifications through the pushover api to mobile phones
+ *
+ * @author Sebastian Göttschkes <sebastian.goettschkes@googlemail.com>
+ * @see https://www.pushover.net/api
+ */
+class PushoverHandler extends SocketHandler
+{
+ private $token;
+ private $users;
+ private $title;
+ private $user;
+ private $retry;
+ private $expire;
+
+ private $highPriorityLevel;
+ private $emergencyLevel;
+ private $useFormattedMessage = false;
+
+ /**
+ * All parameters that can be sent to Pushover
+ * @see https://pushover.net/api
+ * @var array
+ */
+ private $parameterNames = array(
+ 'token' => true,
+ 'user' => true,
+ 'message' => true,
+ 'device' => true,
+ 'title' => true,
+ 'url' => true,
+ 'url_title' => true,
+ 'priority' => true,
+ 'timestamp' => true,
+ 'sound' => true,
+ 'retry' => true,
+ 'expire' => true,
+ 'callback' => true,
+ );
+
+ /**
+ * Sounds the api supports by default
+ * @see https://pushover.net/api#sounds
+ * @var array
+ */
+ private $sounds = array(
+ 'pushover', 'bike', 'bugle', 'cashregister', 'classical', 'cosmic', 'falling', 'gamelan', 'incoming',
+ 'intermission', 'magic', 'mechanical', 'pianobar', 'siren', 'spacealarm', 'tugboat', 'alien', 'climb',
+ 'persistent', 'echo', 'updown', 'none',
+ );
+
+ /**
+ * @param string $token Pushover api token
+ * @param string|array $users Pushover user id or array of ids the message will be sent to
+ * @param string $title Title sent to the Pushover API
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ * @param Boolean $useSSL Whether to connect via SSL. Required when pushing messages to users that are not
+ * the pushover.net app owner. OpenSSL is required for this option.
+ * @param int $highPriorityLevel The minimum logging level at which this handler will start
+ * sending "high priority" requests to the Pushover API
+ * @param int $emergencyLevel The minimum logging level at which this handler will start
+ * sending "emergency" requests to the Pushover API
+ * @param int $retry The retry parameter specifies how often (in seconds) the Pushover servers will send the same notification to the user.
+ * @param int $expire The expire parameter specifies how many seconds your notification will continue to be retried for (every retry seconds).
+ */
+ public function __construct($token, $users, $title = null, $level = Logger::CRITICAL, $bubble = true, $useSSL = true, $highPriorityLevel = Logger::CRITICAL, $emergencyLevel = Logger::EMERGENCY, $retry = 30, $expire = 25200)
+ {
+ $connectionString = $useSSL ? 'ssl://api.pushover.net:443' : 'api.pushover.net:80';
+ parent::__construct($connectionString, $level, $bubble);
+
+ $this->token = $token;
+ $this->users = (array) $users;
+ $this->title = $title ?: gethostname();
+ $this->highPriorityLevel = Logger::toMonologLevel($highPriorityLevel);
+ $this->emergencyLevel = Logger::toMonologLevel($emergencyLevel);
+ $this->retry = $retry;
+ $this->expire = $expire;
+ }
+
+ protected function generateDataStream($record)
+ {
+ $content = $this->buildContent($record);
+
+ return $this->buildHeader($content) . $content;
+ }
+
+ private function buildContent($record)
+ {
+ // Pushover has a limit of 512 characters on title and message combined.
+ $maxMessageLength = 512 - strlen($this->title);
+
+ $message = ($this->useFormattedMessage) ? $record['formatted'] : $record['message'];
+ $message = substr($message, 0, $maxMessageLength);
+
+ $timestamp = $record['datetime']->getTimestamp();
+
+ $dataArray = array(
+ 'token' => $this->token,
+ 'user' => $this->user,
+ 'message' => $message,
+ 'title' => $this->title,
+ 'timestamp' => $timestamp,
+ );
+
+ if (isset($record['level']) && $record['level'] >= $this->emergencyLevel) {
+ $dataArray['priority'] = 2;
+ $dataArray['retry'] = $this->retry;
+ $dataArray['expire'] = $this->expire;
+ } elseif (isset($record['level']) && $record['level'] >= $this->highPriorityLevel) {
+ $dataArray['priority'] = 1;
+ }
+
+ // First determine the available parameters
+ $context = array_intersect_key($record['context'], $this->parameterNames);
+ $extra = array_intersect_key($record['extra'], $this->parameterNames);
+
+ // Least important info should be merged with subsequent info
+ $dataArray = array_merge($extra, $context, $dataArray);
+
+ // Only pass sounds that are supported by the API
+ if (isset($dataArray['sound']) && !in_array($dataArray['sound'], $this->sounds)) {
+ unset($dataArray['sound']);
+ }
+
+ return http_build_query($dataArray);
+ }
+
+ private function buildHeader($content)
+ {
+ $header = "POST /1/messages.json HTTP/1.1\r\n";
+ $header .= "Host: api.pushover.net\r\n";
+ $header .= "Content-Type: application/x-www-form-urlencoded\r\n";
+ $header .= "Content-Length: " . strlen($content) . "\r\n";
+ $header .= "\r\n";
+
+ return $header;
+ }
+
+ protected function write(array $record)
+ {
+ foreach ($this->users as $user) {
+ $this->user = $user;
+
+ parent::write($record);
+ $this->closeSocket();
+ }
+
+ $this->user = null;
+ }
+
+ public function setHighPriorityLevel($value)
+ {
+ $this->highPriorityLevel = $value;
+ }
+
+ public function setEmergencyLevel($value)
+ {
+ $this->emergencyLevel = $value;
+ }
+
+ /**
+ * Use the formatted message?
+ * @param bool $value
+ */
+ public function useFormattedMessage($value)
+ {
+ $this->useFormattedMessage = (boolean) $value;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RavenHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RavenHandler.php
new file mode 100644
index 00000000..53a8b391
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RavenHandler.php
@@ -0,0 +1,232 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\LineFormatter;
+use Monolog\Formatter\FormatterInterface;
+use Monolog\Logger;
+use Raven_Client;
+
+/**
+ * Handler to send messages to a Sentry (https://github.com/getsentry/sentry) server
+ * using raven-php (https://github.com/getsentry/raven-php)
+ *
+ * @author Marc Abramowitz <marc@marc-abramowitz.com>
+ */
+class RavenHandler extends AbstractProcessingHandler
+{
+ /**
+ * Translates Monolog log levels to Raven log levels.
+ */
+ private $logLevels = array(
+ Logger::DEBUG => Raven_Client::DEBUG,
+ Logger::INFO => Raven_Client::INFO,
+ Logger::NOTICE => Raven_Client::INFO,
+ Logger::WARNING => Raven_Client::WARNING,
+ Logger::ERROR => Raven_Client::ERROR,
+ Logger::CRITICAL => Raven_Client::FATAL,
+ Logger::ALERT => Raven_Client::FATAL,
+ Logger::EMERGENCY => Raven_Client::FATAL,
+ );
+
+ /**
+ * @var string should represent the current version of the calling
+ * software. Can be any string (git commit, version number)
+ */
+ private $release;
+
+ /**
+ * @var Raven_Client the client object that sends the message to the server
+ */
+ protected $ravenClient;
+
+ /**
+ * @var LineFormatter The formatter to use for the logs generated via handleBatch()
+ */
+ protected $batchFormatter;
+
+ /**
+ * @param Raven_Client $ravenClient
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct(Raven_Client $ravenClient, $level = Logger::DEBUG, $bubble = true)
+ {
+ parent::__construct($level, $bubble);
+
+ $this->ravenClient = $ravenClient;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function handleBatch(array $records)
+ {
+ $level = $this->level;
+
+ // filter records based on their level
+ $records = array_filter($records, function ($record) use ($level) {
+ return $record['level'] >= $level;
+ });
+
+ if (!$records) {
+ return;
+ }
+
+ // the record with the highest severity is the "main" one
+ $record = array_reduce($records, function ($highest, $record) {
+ if ($record['level'] > $highest['level']) {
+ return $record;
+ }
+
+ return $highest;
+ });
+
+ // the other ones are added as a context item
+ $logs = array();
+ foreach ($records as $r) {
+ $logs[] = $this->processRecord($r);
+ }
+
+ if ($logs) {
+ $record['context']['logs'] = (string) $this->getBatchFormatter()->formatBatch($logs);
+ }
+
+ $this->handle($record);
+ }
+
+ /**
+ * Sets the formatter for the logs generated by handleBatch().
+ *
+ * @param FormatterInterface $formatter
+ */
+ public function setBatchFormatter(FormatterInterface $formatter)
+ {
+ $this->batchFormatter = $formatter;
+ }
+
+ /**
+ * Gets the formatter for the logs generated by handleBatch().
+ *
+ * @return FormatterInterface
+ */
+ public function getBatchFormatter()
+ {
+ if (!$this->batchFormatter) {
+ $this->batchFormatter = $this->getDefaultBatchFormatter();
+ }
+
+ return $this->batchFormatter;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function write(array $record)
+ {
+ $previousUserContext = false;
+ $options = array();
+ $options['level'] = $this->logLevels[$record['level']];
+ $options['tags'] = array();
+ if (!empty($record['extra']['tags'])) {
+ $options['tags'] = array_merge($options['tags'], $record['extra']['tags']);
+ unset($record['extra']['tags']);
+ }
+ if (!empty($record['context']['tags'])) {
+ $options['tags'] = array_merge($options['tags'], $record['context']['tags']);
+ unset($record['context']['tags']);
+ }
+ if (!empty($record['context']['fingerprint'])) {
+ $options['fingerprint'] = $record['context']['fingerprint'];
+ unset($record['context']['fingerprint']);
+ }
+ if (!empty($record['context']['logger'])) {
+ $options['logger'] = $record['context']['logger'];
+ unset($record['context']['logger']);
+ } else {
+ $options['logger'] = $record['channel'];
+ }
+ foreach ($this->getExtraParameters() as $key) {
+ foreach (array('extra', 'context') as $source) {
+ if (!empty($record[$source][$key])) {
+ $options[$key] = $record[$source][$key];
+ unset($record[$source][$key]);
+ }
+ }
+ }
+ if (!empty($record['context'])) {
+ $options['extra']['context'] = $record['context'];
+ if (!empty($record['context']['user'])) {
+ $previousUserContext = $this->ravenClient->context->user;
+ $this->ravenClient->user_context($record['context']['user']);
+ unset($options['extra']['context']['user']);
+ }
+ }
+ if (!empty($record['extra'])) {
+ $options['extra']['extra'] = $record['extra'];
+ }
+
+ if (!empty($this->release) && !isset($options['release'])) {
+ $options['release'] = $this->release;
+ }
+
+ if (isset($record['context']['exception']) && ($record['context']['exception'] instanceof \Exception || (PHP_VERSION_ID >= 70000 && $record['context']['exception'] instanceof \Throwable))) {
+ $options['extra']['message'] = $record['formatted'];
+ $this->ravenClient->captureException($record['context']['exception'], $options);
+ } else {
+ $this->ravenClient->captureMessage($record['formatted'], array(), $options);
+ }
+
+ if ($previousUserContext !== false) {
+ $this->ravenClient->user_context($previousUserContext);
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function getDefaultFormatter()
+ {
+ return new LineFormatter('[%channel%] %message%');
+ }
+
+ /**
+ * Gets the default formatter for the logs generated by handleBatch().
+ *
+ * @return FormatterInterface
+ */
+ protected function getDefaultBatchFormatter()
+ {
+ return new LineFormatter();
+ }
+
+ /**
+ * Gets extra parameters supported by Raven that can be found in "extra" and "context"
+ *
+ * @return array
+ */
+ protected function getExtraParameters()
+ {
+ return array('checksum', 'release', 'event_id');
+ }
+
+ /**
+ * @param string $value
+ * @return self
+ */
+ public function setRelease($value)
+ {
+ $this->release = $value;
+
+ return $this;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RedisHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RedisHandler.php
new file mode 100644
index 00000000..590f9965
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RedisHandler.php
@@ -0,0 +1,97 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\LineFormatter;
+use Monolog\Logger;
+
+/**
+ * Logs to a Redis key using rpush
+ *
+ * usage example:
+ *
+ * $log = new Logger('application');
+ * $redis = new RedisHandler(new Predis\Client("tcp://localhost:6379"), "logs", "prod");
+ * $log->pushHandler($redis);
+ *
+ * @author Thomas Tourlourat <thomas@tourlourat.com>
+ */
+class RedisHandler extends AbstractProcessingHandler
+{
+ private $redisClient;
+ private $redisKey;
+ protected $capSize;
+
+ /**
+ * @param \Predis\Client|\Redis $redis The redis instance
+ * @param string $key The key name to push records to
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
+ * @param int $capSize Number of entries to limit list size to
+ */
+ public function __construct($redis, $key, $level = Logger::DEBUG, $bubble = true, $capSize = false)
+ {
+ if (!(($redis instanceof \Predis\Client) || ($redis instanceof \Redis))) {
+ throw new \InvalidArgumentException('Predis\Client or Redis instance required');
+ }
+
+ $this->redisClient = $redis;
+ $this->redisKey = $key;
+ $this->capSize = $capSize;
+
+ parent::__construct($level, $bubble);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function write(array $record)
+ {
+ if ($this->capSize) {
+ $this->writeCapped($record);
+ } else {
+ $this->redisClient->rpush($this->redisKey, $record["formatted"]);
+ }
+ }
+
+ /**
+ * Write and cap the collection
+ * Writes the record to the redis list and caps its
+ *
+ * @param array $record associative record array
+ * @return void
+ */
+ protected function writeCapped(array $record)
+ {
+ if ($this->redisClient instanceof \Redis) {
+ $this->redisClient->multi()
+ ->rpush($this->redisKey, $record["formatted"])
+ ->ltrim($this->redisKey, -$this->capSize, -1)
+ ->exec();
+ } else {
+ $redisKey = $this->redisKey;
+ $capSize = $this->capSize;
+ $this->redisClient->transaction(function ($tx) use ($record, $redisKey, $capSize) {
+ $tx->rpush($redisKey, $record["formatted"]);
+ $tx->ltrim($redisKey, -$capSize, -1);
+ });
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function getDefaultFormatter()
+ {
+ return new LineFormatter();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RollbarHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RollbarHandler.php
new file mode 100644
index 00000000..6c8a3e3e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RollbarHandler.php
@@ -0,0 +1,132 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use RollbarNotifier;
+use Exception;
+use Monolog\Logger;
+
+/**
+ * Sends errors to Rollbar
+ *
+ * If the context data contains a `payload` key, that is used as an array
+ * of payload options to RollbarNotifier's report_message/report_exception methods.
+ *
+ * Rollbar's context info will contain the context + extra keys from the log record
+ * merged, and then on top of that a few keys:
+ *
+ * - level (rollbar level name)
+ * - monolog_level (monolog level name, raw level, as rollbar only has 5 but monolog 8)
+ * - channel
+ * - datetime (unix timestamp)
+ *
+ * @author Paul Statezny <paulstatezny@gmail.com>
+ */
+class RollbarHandler extends AbstractProcessingHandler
+{
+ /**
+ * Rollbar notifier
+ *
+ * @var RollbarNotifier
+ */
+ protected $rollbarNotifier;
+
+ protected $levelMap = array(
+ Logger::DEBUG => 'debug',
+ Logger::INFO => 'info',
+ Logger::NOTICE => 'info',
+ Logger::WARNING => 'warning',
+ Logger::ERROR => 'error',
+ Logger::CRITICAL => 'critical',
+ Logger::ALERT => 'critical',
+ Logger::EMERGENCY => 'critical',
+ );
+
+ /**
+ * Records whether any log records have been added since the last flush of the rollbar notifier
+ *
+ * @var bool
+ */
+ private $hasRecords = false;
+
+ protected $initialized = false;
+
+ /**
+ * @param RollbarNotifier $rollbarNotifier RollbarNotifier object constructed with valid token
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct(RollbarNotifier $rollbarNotifier, $level = Logger::ERROR, $bubble = true)
+ {
+ $this->rollbarNotifier = $rollbarNotifier;
+
+ parent::__construct($level, $bubble);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function write(array $record)
+ {
+ if (!$this->initialized) {
+ // __destructor() doesn't get called on Fatal errors
+ register_shutdown_function(array($this, 'close'));
+ $this->initialized = true;
+ }
+
+ $context = $record['context'];
+ $payload = array();
+ if (isset($context['payload'])) {
+ $payload = $context['payload'];
+ unset($context['payload']);
+ }
+ $context = array_merge($context, $record['extra'], array(
+ 'level' => $this->levelMap[$record['level']],
+ 'monolog_level' => $record['level_name'],
+ 'channel' => $record['channel'],
+ 'datetime' => $record['datetime']->format('U'),
+ ));
+
+ if (isset($context['exception']) && $context['exception'] instanceof Exception) {
+ $payload['level'] = $context['level'];
+ $exception = $context['exception'];
+ unset($context['exception']);
+
+ $this->rollbarNotifier->report_exception($exception, $context, $payload);
+ } else {
+ $this->rollbarNotifier->report_message(
+ $record['message'],
+ $context['level'],
+ $context,
+ $payload
+ );
+ }
+
+ $this->hasRecords = true;
+ }
+
+ public function flush()
+ {
+ if ($this->hasRecords) {
+ $this->rollbarNotifier->flush();
+ $this->hasRecords = false;
+ }
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function close()
+ {
+ $this->flush();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php
new file mode 100644
index 00000000..3b60b3d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php
@@ -0,0 +1,178 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+
+/**
+ * Stores logs to files that are rotated every day and a limited number of files are kept.
+ *
+ * This rotation is only intended to be used as a workaround. Using logrotate to
+ * handle the rotation is strongly encouraged when you can use it.
+ *
+ * @author Christophe Coevoet <stof@notk.org>
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+class RotatingFileHandler extends StreamHandler
+{
+ const FILE_PER_DAY = 'Y-m-d';
+ const FILE_PER_MONTH = 'Y-m';
+ const FILE_PER_YEAR = 'Y';
+
+ protected $filename;
+ protected $maxFiles;
+ protected $mustRotate;
+ protected $nextRotation;
+ protected $filenameFormat;
+ protected $dateFormat;
+
+ /**
+ * @param string $filename
+ * @param int $maxFiles The maximal amount of files to keep (0 means unlimited)
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ * @param int|null $filePermission Optional file permissions (default (0644) are only for owner read/write)
+ * @param Boolean $useLocking Try to lock log file before doing any writes
+ */
+ public function __construct($filename, $maxFiles = 0, $level = Logger::DEBUG, $bubble = true, $filePermission = null, $useLocking = false)
+ {
+ $this->filename = $filename;
+ $this->maxFiles = (int) $maxFiles;
+ $this->nextRotation = new \DateTime('tomorrow');
+ $this->filenameFormat = '{filename}-{date}';
+ $this->dateFormat = 'Y-m-d';
+
+ parent::__construct($this->getTimedFilename(), $level, $bubble, $filePermission, $useLocking);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function close()
+ {
+ parent::close();
+
+ if (true === $this->mustRotate) {
+ $this->rotate();
+ }
+ }
+
+ public function setFilenameFormat($filenameFormat, $dateFormat)
+ {
+ if (!preg_match('{^Y(([/_.-]?m)([/_.-]?d)?)?$}', $dateFormat)) {
+ trigger_error(
+ 'Invalid date format - format must be one of '.
+ 'RotatingFileHandler::FILE_PER_DAY ("Y-m-d"), RotatingFileHandler::FILE_PER_MONTH ("Y-m") '.
+ 'or RotatingFileHandler::FILE_PER_YEAR ("Y"), or you can set one of the '.
+ 'date formats using slashes, underscores and/or dots instead of dashes.',
+ E_USER_DEPRECATED
+ );
+ }
+ if (substr_count($filenameFormat, '{date}') === 0) {
+ trigger_error(
+ 'Invalid filename format - format should contain at least `{date}`, because otherwise rotating is impossible.',
+ E_USER_DEPRECATED
+ );
+ }
+ $this->filenameFormat = $filenameFormat;
+ $this->dateFormat = $dateFormat;
+ $this->url = $this->getTimedFilename();
+ $this->close();
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function write(array $record)
+ {
+ // on the first record written, if the log is new, we should rotate (once per day)
+ if (null === $this->mustRotate) {
+ $this->mustRotate = !file_exists($this->url);
+ }
+
+ if ($this->nextRotation < $record['datetime']) {
+ $this->mustRotate = true;
+ $this->close();
+ }
+
+ parent::write($record);
+ }
+
+ /**
+ * Rotates the files.
+ */
+ protected function rotate()
+ {
+ // update filename
+ $this->url = $this->getTimedFilename();
+ $this->nextRotation = new \DateTime('tomorrow');
+
+ // skip GC of old logs if files are unlimited
+ if (0 === $this->maxFiles) {
+ return;
+ }
+
+ $logFiles = glob($this->getGlobPattern());
+ if ($this->maxFiles >= count($logFiles)) {
+ // no files to remove
+ return;
+ }
+
+ // Sorting the files by name to remove the older ones
+ usort($logFiles, function ($a, $b) {
+ return strcmp($b, $a);
+ });
+
+ foreach (array_slice($logFiles, $this->maxFiles) as $file) {
+ if (is_writable($file)) {
+ // suppress errors here as unlink() might fail if two processes
+ // are cleaning up/rotating at the same time
+ set_error_handler(function ($errno, $errstr, $errfile, $errline) {});
+ unlink($file);
+ restore_error_handler();
+ }
+ }
+
+ $this->mustRotate = false;
+ }
+
+ protected function getTimedFilename()
+ {
+ $fileInfo = pathinfo($this->filename);
+ $timedFilename = str_replace(
+ array('{filename}', '{date}'),
+ array($fileInfo['filename'], date($this->dateFormat)),
+ $fileInfo['dirname'] . '/' . $this->filenameFormat
+ );
+
+ if (!empty($fileInfo['extension'])) {
+ $timedFilename .= '.'.$fileInfo['extension'];
+ }
+
+ return $timedFilename;
+ }
+
+ protected function getGlobPattern()
+ {
+ $fileInfo = pathinfo($this->filename);
+ $glob = str_replace(
+ array('{filename}', '{date}'),
+ array($fileInfo['filename'], '*'),
+ $fileInfo['dirname'] . '/' . $this->filenameFormat
+ );
+ if (!empty($fileInfo['extension'])) {
+ $glob .= '.'.$fileInfo['extension'];
+ }
+
+ return $glob;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SamplingHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SamplingHandler.php
new file mode 100644
index 00000000..9509ae37
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SamplingHandler.php
@@ -0,0 +1,82 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+/**
+ * Sampling handler
+ *
+ * A sampled event stream can be useful for logging high frequency events in
+ * a production environment where you only need an idea of what is happening
+ * and are not concerned with capturing every occurrence. Since the decision to
+ * handle or not handle a particular event is determined randomly, the
+ * resulting sampled log is not guaranteed to contain 1/N of the events that
+ * occurred in the application, but based on the Law of large numbers, it will
+ * tend to be close to this ratio with a large number of attempts.
+ *
+ * @author Bryan Davis <bd808@wikimedia.org>
+ * @author Kunal Mehta <legoktm@gmail.com>
+ */
+class SamplingHandler extends AbstractHandler
+{
+ /**
+ * @var callable|HandlerInterface $handler
+ */
+ protected $handler;
+
+ /**
+ * @var int $factor
+ */
+ protected $factor;
+
+ /**
+ * @param callable|HandlerInterface $handler Handler or factory callable($record, $fingersCrossedHandler).
+ * @param int $factor Sample factor
+ */
+ public function __construct($handler, $factor)
+ {
+ parent::__construct();
+ $this->handler = $handler;
+ $this->factor = $factor;
+
+ if (!$this->handler instanceof HandlerInterface && !is_callable($this->handler)) {
+ throw new \RuntimeException("The given handler (".json_encode($this->handler).") is not a callable nor a Monolog\Handler\HandlerInterface object");
+ }
+ }
+
+ public function isHandling(array $record)
+ {
+ return $this->handler->isHandling($record);
+ }
+
+ public function handle(array $record)
+ {
+ if ($this->isHandling($record) && mt_rand(1, $this->factor) === 1) {
+ // The same logic as in FingersCrossedHandler
+ if (!$this->handler instanceof HandlerInterface) {
+ $this->handler = call_user_func($this->handler, $record, $this);
+ if (!$this->handler instanceof HandlerInterface) {
+ throw new \RuntimeException("The factory callable should return a HandlerInterface");
+ }
+ }
+
+ if ($this->processors) {
+ foreach ($this->processors as $processor) {
+ $record = call_user_func($processor, $record);
+ }
+ }
+
+ $this->handler->handle($record);
+ }
+
+ return false === $this->bubble;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/Slack/SlackRecord.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/Slack/SlackRecord.php
new file mode 100644
index 00000000..38bc838a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/Slack/SlackRecord.php
@@ -0,0 +1,294 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler\Slack;
+
+use Monolog\Logger;
+use Monolog\Formatter\NormalizerFormatter;
+use Monolog\Formatter\FormatterInterface;
+
+/**
+ * Slack record utility helping to log to Slack webhooks or API.
+ *
+ * @author Greg Kedzierski <greg@gregkedzierski.com>
+ * @author Haralan Dobrev <hkdobrev@gmail.com>
+ * @see https://api.slack.com/incoming-webhooks
+ * @see https://api.slack.com/docs/message-attachments
+ */
+class SlackRecord
+{
+ const COLOR_DANGER = 'danger';
+
+ const COLOR_WARNING = 'warning';
+
+ const COLOR_GOOD = 'good';
+
+ const COLOR_DEFAULT = '#e3e4e6';
+
+ /**
+ * Slack channel (encoded ID or name)
+ * @var string|null
+ */
+ private $channel;
+
+ /**
+ * Name of a bot
+ * @var string|null
+ */
+ private $username;
+
+ /**
+ * User icon e.g. 'ghost', 'http://example.com/user.png'
+ * @var string
+ */
+ private $userIcon;
+
+ /**
+ * Whether the message should be added to Slack as attachment (plain text otherwise)
+ * @var bool
+ */
+ private $useAttachment;
+
+ /**
+ * Whether the the context/extra messages added to Slack as attachments are in a short style
+ * @var bool
+ */
+ private $useShortAttachment;
+
+ /**
+ * Whether the attachment should include context and extra data
+ * @var bool
+ */
+ private $includeContextAndExtra;
+
+ /**
+ * Dot separated list of fields to exclude from slack message. E.g. ['context.field1', 'extra.field2']
+ * @var array
+ */
+ private $excludeFields;
+
+ /**
+ * @var FormatterInterface
+ */
+ private $formatter;
+
+ /**
+ * @var NormalizerFormatter
+ */
+ private $normalizerFormatter;
+
+ public function __construct($channel = null, $username = null, $useAttachment = true, $userIcon = null, $useShortAttachment = false, $includeContextAndExtra = false, array $excludeFields = array(), FormatterInterface $formatter = null)
+ {
+ $this->channel = $channel;
+ $this->username = $username;
+ $this->userIcon = trim($userIcon, ':');
+ $this->useAttachment = $useAttachment;
+ $this->useShortAttachment = $useShortAttachment;
+ $this->includeContextAndExtra = $includeContextAndExtra;
+ $this->excludeFields = $excludeFields;
+ $this->formatter = $formatter;
+
+ if ($this->includeContextAndExtra) {
+ $this->normalizerFormatter = new NormalizerFormatter();
+ }
+ }
+
+ public function getSlackData(array $record)
+ {
+ $dataArray = array();
+ $record = $this->excludeFields($record);
+
+ if ($this->username) {
+ $dataArray['username'] = $this->username;
+ }
+
+ if ($this->channel) {
+ $dataArray['channel'] = $this->channel;
+ }
+
+ if ($this->formatter && !$this->useAttachment) {
+ $message = $this->formatter->format($record);
+ } else {
+ $message = $record['message'];
+ }
+
+ if ($this->useAttachment) {
+ $attachment = array(
+ 'fallback' => $message,
+ 'text' => $message,
+ 'color' => $this->getAttachmentColor($record['level']),
+ 'fields' => array(),
+ 'mrkdwn_in' => array('fields'),
+ 'ts' => $record['datetime']->getTimestamp()
+ );
+
+ if ($this->useShortAttachment) {
+ $attachment['title'] = $record['level_name'];
+ } else {
+ $attachment['title'] = 'Message';
+ $attachment['fields'][] = $this->generateAttachmentField('Level', $record['level_name']);
+ }
+
+
+ if ($this->includeContextAndExtra) {
+ foreach (array('extra', 'context') as $key) {
+ if (empty($record[$key])) {
+ continue;
+ }
+
+ if ($this->useShortAttachment) {
+ $attachment['fields'][] = $this->generateAttachmentField(
+ ucfirst($key),
+ $record[$key]
+ );
+ } else {
+ // Add all extra fields as individual fields in attachment
+ $attachment['fields'] = array_merge(
+ $attachment['fields'],
+ $this->generateAttachmentFields($record[$key])
+ );
+ }
+ }
+ }
+
+ $dataArray['attachments'] = array($attachment);
+ } else {
+ $dataArray['text'] = $message;
+ }
+
+ if ($this->userIcon) {
+ if (filter_var($this->userIcon, FILTER_VALIDATE_URL)) {
+ $dataArray['icon_url'] = $this->userIcon;
+ } else {
+ $dataArray['icon_emoji'] = ":{$this->userIcon}:";
+ }
+ }
+
+ return $dataArray;
+ }
+
+ /**
+ * Returned a Slack message attachment color associated with
+ * provided level.
+ *
+ * @param int $level
+ * @return string
+ */
+ public function getAttachmentColor($level)
+ {
+ switch (true) {
+ case $level >= Logger::ERROR:
+ return self::COLOR_DANGER;
+ case $level >= Logger::WARNING:
+ return self::COLOR_WARNING;
+ case $level >= Logger::INFO:
+ return self::COLOR_GOOD;
+ default:
+ return self::COLOR_DEFAULT;
+ }
+ }
+
+ /**
+ * Stringifies an array of key/value pairs to be used in attachment fields
+ *
+ * @param array $fields
+ *
+ * @return string
+ */
+ public function stringify($fields)
+ {
+ $normalized = $this->normalizerFormatter->format($fields);
+ $prettyPrintFlag = defined('JSON_PRETTY_PRINT') ? JSON_PRETTY_PRINT : 128;
+
+ $hasSecondDimension = count(array_filter($normalized, 'is_array'));
+ $hasNonNumericKeys = !count(array_filter(array_keys($normalized), 'is_numeric'));
+
+ return $hasSecondDimension || $hasNonNumericKeys
+ ? json_encode($normalized, $prettyPrintFlag)
+ : json_encode($normalized);
+ }
+
+ /**
+ * Sets the formatter
+ *
+ * @param FormatterInterface $formatter
+ */
+ public function setFormatter(FormatterInterface $formatter)
+ {
+ $this->formatter = $formatter;
+ }
+
+ /**
+ * Generates attachment field
+ *
+ * @param string $title
+ * @param string|array $value\
+ *
+ * @return array
+ */
+ private function generateAttachmentField($title, $value)
+ {
+ $value = is_array($value)
+ ? sprintf('```%s```', $this->stringify($value))
+ : $value;
+
+ return array(
+ 'title' => $title,
+ 'value' => $value,
+ 'short' => false
+ );
+ }
+
+ /**
+ * Generates a collection of attachment fields from array
+ *
+ * @param array $data
+ *
+ * @return array
+ */
+ private function generateAttachmentFields(array $data)
+ {
+ $fields = array();
+ foreach ($data as $key => $value) {
+ $fields[] = $this->generateAttachmentField($key, $value);
+ }
+
+ return $fields;
+ }
+
+ /**
+ * Get a copy of record with fields excluded according to $this->excludeFields
+ *
+ * @param array $record
+ *
+ * @return array
+ */
+ private function excludeFields(array $record)
+ {
+ foreach ($this->excludeFields as $field) {
+ $keys = explode('.', $field);
+ $node = &$record;
+ $lastKey = end($keys);
+ foreach ($keys as $key) {
+ if (!isset($node[$key])) {
+ break;
+ }
+ if ($lastKey === $key) {
+ unset($node[$key]);
+ break;
+ }
+ $node = &$node[$key];
+ }
+ }
+
+ return $record;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackHandler.php
new file mode 100644
index 00000000..3ac4d836
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackHandler.php
@@ -0,0 +1,215 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\FormatterInterface;
+use Monolog\Logger;
+use Monolog\Handler\Slack\SlackRecord;
+
+/**
+ * Sends notifications through Slack API
+ *
+ * @author Greg Kedzierski <greg@gregkedzierski.com>
+ * @see https://api.slack.com/
+ */
+class SlackHandler extends SocketHandler
+{
+ /**
+ * Slack API token
+ * @var string
+ */
+ private $token;
+
+ /**
+ * Instance of the SlackRecord util class preparing data for Slack API.
+ * @var SlackRecord
+ */
+ private $slackRecord;
+
+ /**
+ * @param string $token Slack API token
+ * @param string $channel Slack channel (encoded ID or name)
+ * @param string|null $username Name of a bot
+ * @param bool $useAttachment Whether the message should be added to Slack as attachment (plain text otherwise)
+ * @param string|null $iconEmoji The emoji name to use (or null)
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
+ * @param bool $useShortAttachment Whether the the context/extra messages added to Slack as attachments are in a short style
+ * @param bool $includeContextAndExtra Whether the attachment should include context and extra data
+ * @param array $excludeFields Dot separated list of fields to exclude from slack message. E.g. ['context.field1', 'extra.field2']
+ * @throws MissingExtensionException If no OpenSSL PHP extension configured
+ */
+ public function __construct($token, $channel, $username = null, $useAttachment = true, $iconEmoji = null, $level = Logger::CRITICAL, $bubble = true, $useShortAttachment = false, $includeContextAndExtra = false, array $excludeFields = array())
+ {
+ if (!extension_loaded('openssl')) {
+ throw new MissingExtensionException('The OpenSSL PHP extension is required to use the SlackHandler');
+ }
+
+ parent::__construct('ssl://slack.com:443', $level, $bubble);
+
+ $this->slackRecord = new SlackRecord(
+ $channel,
+ $username,
+ $useAttachment,
+ $iconEmoji,
+ $useShortAttachment,
+ $includeContextAndExtra,
+ $excludeFields,
+ $this->formatter
+ );
+
+ $this->token = $token;
+ }
+
+ public function getSlackRecord()
+ {
+ return $this->slackRecord;
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @param array $record
+ * @return string
+ */
+ protected function generateDataStream($record)
+ {
+ $content = $this->buildContent($record);
+
+ return $this->buildHeader($content) . $content;
+ }
+
+ /**
+ * Builds the body of API call
+ *
+ * @param array $record
+ * @return string
+ */
+ private function buildContent($record)
+ {
+ $dataArray = $this->prepareContentData($record);
+
+ return http_build_query($dataArray);
+ }
+
+ /**
+ * Prepares content data
+ *
+ * @param array $record
+ * @return array
+ */
+ protected function prepareContentData($record)
+ {
+ $dataArray = $this->slackRecord->getSlackData($record);
+ $dataArray['token'] = $this->token;
+
+ if (!empty($dataArray['attachments'])) {
+ $dataArray['attachments'] = json_encode($dataArray['attachments']);
+ }
+
+ return $dataArray;
+ }
+
+ /**
+ * Builds the header of the API Call
+ *
+ * @param string $content
+ * @return string
+ */
+ private function buildHeader($content)
+ {
+ $header = "POST /api/chat.postMessage HTTP/1.1\r\n";
+ $header .= "Host: slack.com\r\n";
+ $header .= "Content-Type: application/x-www-form-urlencoded\r\n";
+ $header .= "Content-Length: " . strlen($content) . "\r\n";
+ $header .= "\r\n";
+
+ return $header;
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @param array $record
+ */
+ protected function write(array $record)
+ {
+ parent::write($record);
+ $this->finalizeWrite();
+ }
+
+ /**
+ * Finalizes the request by reading some bytes and then closing the socket
+ *
+ * If we do not read some but close the socket too early, slack sometimes
+ * drops the request entirely.
+ */
+ protected function finalizeWrite()
+ {
+ $res = $this->getResource();
+ if (is_resource($res)) {
+ @fread($res, 2048);
+ }
+ $this->closeSocket();
+ }
+
+ /**
+ * Returned a Slack message attachment color associated with
+ * provided level.
+ *
+ * @param int $level
+ * @return string
+ * @deprecated Use underlying SlackRecord instead
+ */
+ protected function getAttachmentColor($level)
+ {
+ trigger_error(
+ 'SlackHandler::getAttachmentColor() is deprecated. Use underlying SlackRecord instead.',
+ E_USER_DEPRECATED
+ );
+
+ return $this->slackRecord->getAttachmentColor($level);
+ }
+
+ /**
+ * Stringifies an array of key/value pairs to be used in attachment fields
+ *
+ * @param array $fields
+ * @return string
+ * @deprecated Use underlying SlackRecord instead
+ */
+ protected function stringify($fields)
+ {
+ trigger_error(
+ 'SlackHandler::stringify() is deprecated. Use underlying SlackRecord instead.',
+ E_USER_DEPRECATED
+ );
+
+ return $this->slackRecord->stringify($fields);
+ }
+
+ public function setFormatter(FormatterInterface $formatter)
+ {
+ parent::setFormatter($formatter);
+ $this->slackRecord->setFormatter($formatter);
+
+ return $this;
+ }
+
+ public function getFormatter()
+ {
+ $formatter = parent::getFormatter();
+ $this->slackRecord->setFormatter($formatter);
+
+ return $formatter;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackWebhookHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackWebhookHandler.php
new file mode 100644
index 00000000..9a1bbb44
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackWebhookHandler.php
@@ -0,0 +1,115 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\FormatterInterface;
+use Monolog\Logger;
+use Monolog\Handler\Slack\SlackRecord;
+
+/**
+ * Sends notifications through Slack Webhooks
+ *
+ * @author Haralan Dobrev <hkdobrev@gmail.com>
+ * @see https://api.slack.com/incoming-webhooks
+ */
+class SlackWebhookHandler extends AbstractProcessingHandler
+{
+ /**
+ * Slack Webhook token
+ * @var string
+ */
+ private $webhookUrl;
+
+ /**
+ * Instance of the SlackRecord util class preparing data for Slack API.
+ * @var SlackRecord
+ */
+ private $slackRecord;
+
+ /**
+ * @param string $webhookUrl Slack Webhook URL
+ * @param string|null $channel Slack channel (encoded ID or name)
+ * @param string|null $username Name of a bot
+ * @param bool $useAttachment Whether the message should be added to Slack as attachment (plain text otherwise)
+ * @param string|null $iconEmoji The emoji name to use (or null)
+ * @param bool $useShortAttachment Whether the the context/extra messages added to Slack as attachments are in a short style
+ * @param bool $includeContextAndExtra Whether the attachment should include context and extra data
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
+ * @param array $excludeFields Dot separated list of fields to exclude from slack message. E.g. ['context.field1', 'extra.field2']
+ */
+ public function __construct($webhookUrl, $channel = null, $username = null, $useAttachment = true, $iconEmoji = null, $useShortAttachment = false, $includeContextAndExtra = false, $level = Logger::CRITICAL, $bubble = true, array $excludeFields = array())
+ {
+ parent::__construct($level, $bubble);
+
+ $this->webhookUrl = $webhookUrl;
+
+ $this->slackRecord = new SlackRecord(
+ $channel,
+ $username,
+ $useAttachment,
+ $iconEmoji,
+ $useShortAttachment,
+ $includeContextAndExtra,
+ $excludeFields,
+ $this->formatter
+ );
+ }
+
+ public function getSlackRecord()
+ {
+ return $this->slackRecord;
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @param array $record
+ */
+ protected function write(array $record)
+ {
+ $postData = $this->slackRecord->getSlackData($record);
+ $postString = json_encode($postData);
+
+ $ch = curl_init();
+ $options = array(
+ CURLOPT_URL => $this->webhookUrl,
+ CURLOPT_POST => true,
+ CURLOPT_RETURNTRANSFER => true,
+ CURLOPT_HTTPHEADER => array('Content-type: application/json'),
+ CURLOPT_POSTFIELDS => $postString
+ );
+ if (defined('CURLOPT_SAFE_UPLOAD')) {
+ $options[CURLOPT_SAFE_UPLOAD] = true;
+ }
+
+ curl_setopt_array($ch, $options);
+
+ Curl\Util::execute($ch);
+ }
+
+ public function setFormatter(FormatterInterface $formatter)
+ {
+ parent::setFormatter($formatter);
+ $this->slackRecord->setFormatter($formatter);
+
+ return $this;
+ }
+
+ public function getFormatter()
+ {
+ $formatter = parent::getFormatter();
+ $this->slackRecord->setFormatter($formatter);
+
+ return $formatter;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackbotHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackbotHandler.php
new file mode 100644
index 00000000..baead525
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackbotHandler.php
@@ -0,0 +1,80 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+
+/**
+ * Sends notifications through Slack's Slackbot
+ *
+ * @author Haralan Dobrev <hkdobrev@gmail.com>
+ * @see https://slack.com/apps/A0F81R8ET-slackbot
+ */
+class SlackbotHandler extends AbstractProcessingHandler
+{
+ /**
+ * The slug of the Slack team
+ * @var string
+ */
+ private $slackTeam;
+
+ /**
+ * Slackbot token
+ * @var string
+ */
+ private $token;
+
+ /**
+ * Slack channel name
+ * @var string
+ */
+ private $channel;
+
+ /**
+ * @param string $slackTeam Slack team slug
+ * @param string $token Slackbot token
+ * @param string $channel Slack channel (encoded ID or name)
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct($slackTeam, $token, $channel, $level = Logger::CRITICAL, $bubble = true)
+ {
+ parent::__construct($level, $bubble);
+
+ $this->slackTeam = $slackTeam;
+ $this->token = $token;
+ $this->channel = $channel;
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @param array $record
+ */
+ protected function write(array $record)
+ {
+ $slackbotUrl = sprintf(
+ 'https://%s.slack.com/services/hooks/slackbot?token=%s&channel=%s',
+ $this->slackTeam,
+ $this->token,
+ $this->channel
+ );
+
+ $ch = curl_init();
+ curl_setopt($ch, CURLOPT_URL, $slackbotUrl);
+ curl_setopt($ch, CURLOPT_POST, true);
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $record['message']);
+
+ Curl\Util::execute($ch);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SocketHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SocketHandler.php
new file mode 100644
index 00000000..7a61bf4e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SocketHandler.php
@@ -0,0 +1,346 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+
+/**
+ * Stores to any socket - uses fsockopen() or pfsockopen().
+ *
+ * @author Pablo de Leon Belloc <pablolb@gmail.com>
+ * @see http://php.net/manual/en/function.fsockopen.php
+ */
+class SocketHandler extends AbstractProcessingHandler
+{
+ private $connectionString;
+ private $connectionTimeout;
+ private $resource;
+ private $timeout = 0;
+ private $writingTimeout = 10;
+ private $lastSentBytes = null;
+ private $persistent = false;
+ private $errno;
+ private $errstr;
+ private $lastWritingAt;
+
+ /**
+ * @param string $connectionString Socket connection string
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct($connectionString, $level = Logger::DEBUG, $bubble = true)
+ {
+ parent::__construct($level, $bubble);
+ $this->connectionString = $connectionString;
+ $this->connectionTimeout = (float) ini_get('default_socket_timeout');
+ }
+
+ /**
+ * Connect (if necessary) and write to the socket
+ *
+ * @param array $record
+ *
+ * @throws \UnexpectedValueException
+ * @throws \RuntimeException
+ */
+ protected function write(array $record)
+ {
+ $this->connectIfNotConnected();
+ $data = $this->generateDataStream($record);
+ $this->writeToSocket($data);
+ }
+
+ /**
+ * We will not close a PersistentSocket instance so it can be reused in other requests.
+ */
+ public function close()
+ {
+ if (!$this->isPersistent()) {
+ $this->closeSocket();
+ }
+ }
+
+ /**
+ * Close socket, if open
+ */
+ public function closeSocket()
+ {
+ if (is_resource($this->resource)) {
+ fclose($this->resource);
+ $this->resource = null;
+ }
+ }
+
+ /**
+ * Set socket connection to nbe persistent. It only has effect before the connection is initiated.
+ *
+ * @param bool $persistent
+ */
+ public function setPersistent($persistent)
+ {
+ $this->persistent = (boolean) $persistent;
+ }
+
+ /**
+ * Set connection timeout. Only has effect before we connect.
+ *
+ * @param float $seconds
+ *
+ * @see http://php.net/manual/en/function.fsockopen.php
+ */
+ public function setConnectionTimeout($seconds)
+ {
+ $this->validateTimeout($seconds);
+ $this->connectionTimeout = (float) $seconds;
+ }
+
+ /**
+ * Set write timeout. Only has effect before we connect.
+ *
+ * @param float $seconds
+ *
+ * @see http://php.net/manual/en/function.stream-set-timeout.php
+ */
+ public function setTimeout($seconds)
+ {
+ $this->validateTimeout($seconds);
+ $this->timeout = (float) $seconds;
+ }
+
+ /**
+ * Set writing timeout. Only has effect during connection in the writing cycle.
+ *
+ * @param float $seconds 0 for no timeout
+ */
+ public function setWritingTimeout($seconds)
+ {
+ $this->validateTimeout($seconds);
+ $this->writingTimeout = (float) $seconds;
+ }
+
+ /**
+ * Get current connection string
+ *
+ * @return string
+ */
+ public function getConnectionString()
+ {
+ return $this->connectionString;
+ }
+
+ /**
+ * Get persistent setting
+ *
+ * @return bool
+ */
+ public function isPersistent()
+ {
+ return $this->persistent;
+ }
+
+ /**
+ * Get current connection timeout setting
+ *
+ * @return float
+ */
+ public function getConnectionTimeout()
+ {
+ return $this->connectionTimeout;
+ }
+
+ /**
+ * Get current in-transfer timeout
+ *
+ * @return float
+ */
+ public function getTimeout()
+ {
+ return $this->timeout;
+ }
+
+ /**
+ * Get current local writing timeout
+ *
+ * @return float
+ */
+ public function getWritingTimeout()
+ {
+ return $this->writingTimeout;
+ }
+
+ /**
+ * Check to see if the socket is currently available.
+ *
+ * UDP might appear to be connected but might fail when writing. See http://php.net/fsockopen for details.
+ *
+ * @return bool
+ */
+ public function isConnected()
+ {
+ return is_resource($this->resource)
+ && !feof($this->resource); // on TCP - other party can close connection.
+ }
+
+ /**
+ * Wrapper to allow mocking
+ */
+ protected function pfsockopen()
+ {
+ return @pfsockopen($this->connectionString, -1, $this->errno, $this->errstr, $this->connectionTimeout);
+ }
+
+ /**
+ * Wrapper to allow mocking
+ */
+ protected function fsockopen()
+ {
+ return @fsockopen($this->connectionString, -1, $this->errno, $this->errstr, $this->connectionTimeout);
+ }
+
+ /**
+ * Wrapper to allow mocking
+ *
+ * @see http://php.net/manual/en/function.stream-set-timeout.php
+ */
+ protected function streamSetTimeout()
+ {
+ $seconds = floor($this->timeout);
+ $microseconds = round(($this->timeout - $seconds) * 1e6);
+
+ return stream_set_timeout($this->resource, $seconds, $microseconds);
+ }
+
+ /**
+ * Wrapper to allow mocking
+ */
+ protected function fwrite($data)
+ {
+ return @fwrite($this->resource, $data);
+ }
+
+ /**
+ * Wrapper to allow mocking
+ */
+ protected function streamGetMetadata()
+ {
+ return stream_get_meta_data($this->resource);
+ }
+
+ private function validateTimeout($value)
+ {
+ $ok = filter_var($value, FILTER_VALIDATE_FLOAT);
+ if ($ok === false || $value < 0) {
+ throw new \InvalidArgumentException("Timeout must be 0 or a positive float (got $value)");
+ }
+ }
+
+ private function connectIfNotConnected()
+ {
+ if ($this->isConnected()) {
+ return;
+ }
+ $this->connect();
+ }
+
+ protected function generateDataStream($record)
+ {
+ return (string) $record['formatted'];
+ }
+
+ /**
+ * @return resource|null
+ */
+ protected function getResource()
+ {
+ return $this->resource;
+ }
+
+ private function connect()
+ {
+ $this->createSocketResource();
+ $this->setSocketTimeout();
+ }
+
+ private function createSocketResource()
+ {
+ if ($this->isPersistent()) {
+ $resource = $this->pfsockopen();
+ } else {
+ $resource = $this->fsockopen();
+ }
+ if (!$resource) {
+ throw new \UnexpectedValueException("Failed connecting to $this->connectionString ($this->errno: $this->errstr)");
+ }
+ $this->resource = $resource;
+ }
+
+ private function setSocketTimeout()
+ {
+ if (!$this->streamSetTimeout()) {
+ throw new \UnexpectedValueException("Failed setting timeout with stream_set_timeout()");
+ }
+ }
+
+ private function writeToSocket($data)
+ {
+ $length = strlen($data);
+ $sent = 0;
+ $this->lastSentBytes = $sent;
+ while ($this->isConnected() && $sent < $length) {
+ if (0 == $sent) {
+ $chunk = $this->fwrite($data);
+ } else {
+ $chunk = $this->fwrite(substr($data, $sent));
+ }
+ if ($chunk === false) {
+ throw new \RuntimeException("Could not write to socket");
+ }
+ $sent += $chunk;
+ $socketInfo = $this->streamGetMetadata();
+ if ($socketInfo['timed_out']) {
+ throw new \RuntimeException("Write timed-out");
+ }
+
+ if ($this->writingIsTimedOut($sent)) {
+ throw new \RuntimeException("Write timed-out, no data sent for `{$this->writingTimeout}` seconds, probably we got disconnected (sent $sent of $length)");
+ }
+ }
+ if (!$this->isConnected() && $sent < $length) {
+ throw new \RuntimeException("End-of-file reached, probably we got disconnected (sent $sent of $length)");
+ }
+ }
+
+ private function writingIsTimedOut($sent)
+ {
+ $writingTimeout = (int) floor($this->writingTimeout);
+ if (0 === $writingTimeout) {
+ return false;
+ }
+
+ if ($sent !== $this->lastSentBytes) {
+ $this->lastWritingAt = time();
+ $this->lastSentBytes = $sent;
+
+ return false;
+ } else {
+ usleep(100);
+ }
+
+ if ((time() - $this->lastWritingAt) >= $writingTimeout) {
+ $this->closeSocket();
+
+ return true;
+ }
+
+ return false;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/StreamHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/StreamHandler.php
new file mode 100644
index 00000000..09a15738
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/StreamHandler.php
@@ -0,0 +1,176 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+
+/**
+ * Stores to any stream resource
+ *
+ * Can be used to store into php://stderr, remote and local files, etc.
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+class StreamHandler extends AbstractProcessingHandler
+{
+ protected $stream;
+ protected $url;
+ private $errorMessage;
+ protected $filePermission;
+ protected $useLocking;
+ private $dirCreated;
+
+ /**
+ * @param resource|string $stream
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ * @param int|null $filePermission Optional file permissions (default (0644) are only for owner read/write)
+ * @param Boolean $useLocking Try to lock log file before doing any writes
+ *
+ * @throws \Exception If a missing directory is not buildable
+ * @throws \InvalidArgumentException If stream is not a resource or string
+ */
+ public function __construct($stream, $level = Logger::DEBUG, $bubble = true, $filePermission = null, $useLocking = false)
+ {
+ parent::__construct($level, $bubble);
+ if (is_resource($stream)) {
+ $this->stream = $stream;
+ } elseif (is_string($stream)) {
+ $this->url = $stream;
+ } else {
+ throw new \InvalidArgumentException('A stream must either be a resource or a string.');
+ }
+
+ $this->filePermission = $filePermission;
+ $this->useLocking = $useLocking;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function close()
+ {
+ if ($this->url && is_resource($this->stream)) {
+ fclose($this->stream);
+ }
+ $this->stream = null;
+ }
+
+ /**
+ * Return the currently active stream if it is open
+ *
+ * @return resource|null
+ */
+ public function getStream()
+ {
+ return $this->stream;
+ }
+
+ /**
+ * Return the stream URL if it was configured with a URL and not an active resource
+ *
+ * @return string|null
+ */
+ public function getUrl()
+ {
+ return $this->url;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function write(array $record)
+ {
+ if (!is_resource($this->stream)) {
+ if (null === $this->url || '' === $this->url) {
+ throw new \LogicException('Missing stream url, the stream can not be opened. This may be caused by a premature call to close().');
+ }
+ $this->createDir();
+ $this->errorMessage = null;
+ set_error_handler(array($this, 'customErrorHandler'));
+ $this->stream = fopen($this->url, 'a');
+ if ($this->filePermission !== null) {
+ @chmod($this->url, $this->filePermission);
+ }
+ restore_error_handler();
+ if (!is_resource($this->stream)) {
+ $this->stream = null;
+ throw new \UnexpectedValueException(sprintf('The stream or file "%s" could not be opened: '.$this->errorMessage, $this->url));
+ }
+ }
+
+ if ($this->useLocking) {
+ // ignoring errors here, there's not much we can do about them
+ flock($this->stream, LOCK_EX);
+ }
+
+ $this->streamWrite($this->stream, $record);
+
+ if ($this->useLocking) {
+ flock($this->stream, LOCK_UN);
+ }
+ }
+
+ /**
+ * Write to stream
+ * @param resource $stream
+ * @param array $record
+ */
+ protected function streamWrite($stream, array $record)
+ {
+ fwrite($stream, (string) $record['formatted']);
+ }
+
+ private function customErrorHandler($code, $msg)
+ {
+ $this->errorMessage = preg_replace('{^(fopen|mkdir)\(.*?\): }', '', $msg);
+ }
+
+ /**
+ * @param string $stream
+ *
+ * @return null|string
+ */
+ private function getDirFromStream($stream)
+ {
+ $pos = strpos($stream, '://');
+ if ($pos === false) {
+ return dirname($stream);
+ }
+
+ if ('file://' === substr($stream, 0, 7)) {
+ return dirname(substr($stream, 7));
+ }
+
+ return;
+ }
+
+ private function createDir()
+ {
+ // Do not try to create dir if it has already been tried.
+ if ($this->dirCreated) {
+ return;
+ }
+
+ $dir = $this->getDirFromStream($this->url);
+ if (null !== $dir && !is_dir($dir)) {
+ $this->errorMessage = null;
+ set_error_handler(array($this, 'customErrorHandler'));
+ $status = mkdir($dir, 0777, true);
+ restore_error_handler();
+ if (false === $status) {
+ throw new \UnexpectedValueException(sprintf('There is no existing directory at "%s" and its not buildable: '.$this->errorMessage, $dir));
+ }
+ }
+ $this->dirCreated = true;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SwiftMailerHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SwiftMailerHandler.php
new file mode 100644
index 00000000..72f44a53
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SwiftMailerHandler.php
@@ -0,0 +1,99 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+use Monolog\Formatter\LineFormatter;
+use Swift;
+
+/**
+ * SwiftMailerHandler uses Swift_Mailer to send the emails
+ *
+ * @author Gyula Sallai
+ */
+class SwiftMailerHandler extends MailHandler
+{
+ protected $mailer;
+ private $messageTemplate;
+
+ /**
+ * @param \Swift_Mailer $mailer The mailer to use
+ * @param callable|\Swift_Message $message An example message for real messages, only the body will be replaced
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ */
+ public function __construct(\Swift_Mailer $mailer, $message, $level = Logger::ERROR, $bubble = true)
+ {
+ parent::__construct($level, $bubble);
+
+ $this->mailer = $mailer;
+ $this->messageTemplate = $message;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function send($content, array $records)
+ {
+ $this->mailer->send($this->buildMessage($content, $records));
+ }
+
+ /**
+ * Creates instance of Swift_Message to be sent
+ *
+ * @param string $content formatted email body to be sent
+ * @param array $records Log records that formed the content
+ * @return \Swift_Message
+ */
+ protected function buildMessage($content, array $records)
+ {
+ $message = null;
+ if ($this->messageTemplate instanceof \Swift_Message) {
+ $message = clone $this->messageTemplate;
+ $message->generateId();
+ } elseif (is_callable($this->messageTemplate)) {
+ $message = call_user_func($this->messageTemplate, $content, $records);
+ }
+
+ if (!$message instanceof \Swift_Message) {
+ throw new \InvalidArgumentException('Could not resolve message as instance of Swift_Message or a callable returning it');
+ }
+
+ if ($records) {
+ $subjectFormatter = new LineFormatter($message->getSubject());
+ $message->setSubject($subjectFormatter->format($this->getHighestRecord($records)));
+ }
+
+ $message->setBody($content);
+ if (version_compare(Swift::VERSION, '6.0.0', '>=')) {
+ $message->setDate(new \DateTimeImmutable());
+ } else {
+ $message->setDate(time());
+ }
+
+ return $message;
+ }
+
+ /**
+ * BC getter, to be removed in 2.0
+ */
+ public function __get($name)
+ {
+ if ($name === 'message') {
+ trigger_error('SwiftMailerHandler->message is deprecated, use ->buildMessage() instead to retrieve the message', E_USER_DEPRECATED);
+
+ return $this->buildMessage(null, array());
+ }
+
+ throw new \InvalidArgumentException('Invalid property '.$name);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogHandler.php
new file mode 100644
index 00000000..376bc3b2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogHandler.php
@@ -0,0 +1,67 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+
+/**
+ * Logs to syslog service.
+ *
+ * usage example:
+ *
+ * $log = new Logger('application');
+ * $syslog = new SyslogHandler('myfacility', 'local6');
+ * $formatter = new LineFormatter("%channel%.%level_name%: %message% %extra%");
+ * $syslog->setFormatter($formatter);
+ * $log->pushHandler($syslog);
+ *
+ * @author Sven Paulus <sven@karlsruhe.org>
+ */
+class SyslogHandler extends AbstractSyslogHandler
+{
+ protected $ident;
+ protected $logopts;
+
+ /**
+ * @param string $ident
+ * @param mixed $facility
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ * @param int $logopts Option flags for the openlog() call, defaults to LOG_PID
+ */
+ public function __construct($ident, $facility = LOG_USER, $level = Logger::DEBUG, $bubble = true, $logopts = LOG_PID)
+ {
+ parent::__construct($facility, $level, $bubble);
+
+ $this->ident = $ident;
+ $this->logopts = $logopts;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function close()
+ {
+ closelog();
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function write(array $record)
+ {
+ if (!openlog($this->ident, $this->logopts, $this->facility)) {
+ throw new \LogicException('Can\'t open syslog for ident "'.$this->ident.'" and facility "'.$this->facility.'"');
+ }
+ syslog($this->logLevels[$record['level']], (string) $record['formatted']);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php
new file mode 100644
index 00000000..3bff085b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php
@@ -0,0 +1,56 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler\SyslogUdp;
+
+class UdpSocket
+{
+ const DATAGRAM_MAX_LENGTH = 65023;
+
+ protected $ip;
+ protected $port;
+ protected $socket;
+
+ public function __construct($ip, $port = 514)
+ {
+ $this->ip = $ip;
+ $this->port = $port;
+ $this->socket = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
+ }
+
+ public function write($line, $header = "")
+ {
+ $this->send($this->assembleMessage($line, $header));
+ }
+
+ public function close()
+ {
+ if (is_resource($this->socket)) {
+ socket_close($this->socket);
+ $this->socket = null;
+ }
+ }
+
+ protected function send($chunk)
+ {
+ if (!is_resource($this->socket)) {
+ throw new \LogicException('The UdpSocket to '.$this->ip.':'.$this->port.' has been closed and can not be written to anymore');
+ }
+ socket_sendto($this->socket, $chunk, strlen($chunk), $flags = 0, $this->ip, $this->port);
+ }
+
+ protected function assembleMessage($line, $header)
+ {
+ $chunkSize = self::DATAGRAM_MAX_LENGTH - strlen($header);
+
+ return $header . substr($line, 0, $chunkSize);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogUdpHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogUdpHandler.php
new file mode 100644
index 00000000..4718711b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogUdpHandler.php
@@ -0,0 +1,103 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+use Monolog\Handler\SyslogUdp\UdpSocket;
+
+/**
+ * A Handler for logging to a remote syslogd server.
+ *
+ * @author Jesper Skovgaard Nielsen <nulpunkt@gmail.com>
+ */
+class SyslogUdpHandler extends AbstractSyslogHandler
+{
+ protected $socket;
+ protected $ident;
+
+ /**
+ * @param string $host
+ * @param int $port
+ * @param mixed $facility
+ * @param int $level The minimum logging level at which this handler will be triggered
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+ * @param string $ident Program name or tag for each log message.
+ */
+ public function __construct($host, $port = 514, $facility = LOG_USER, $level = Logger::DEBUG, $bubble = true, $ident = 'php')
+ {
+ parent::__construct($facility, $level, $bubble);
+
+ $this->ident = $ident;
+
+ $this->socket = new UdpSocket($host, $port ?: 514);
+ }
+
+ protected function write(array $record)
+ {
+ $lines = $this->splitMessageIntoLines($record['formatted']);
+
+ $header = $this->makeCommonSyslogHeader($this->logLevels[$record['level']]);
+
+ foreach ($lines as $line) {
+ $this->socket->write($line, $header);
+ }
+ }
+
+ public function close()
+ {
+ $this->socket->close();
+ }
+
+ private function splitMessageIntoLines($message)
+ {
+ if (is_array($message)) {
+ $message = implode("\n", $message);
+ }
+
+ return preg_split('/$\R?^/m', $message, -1, PREG_SPLIT_NO_EMPTY);
+ }
+
+ /**
+ * Make common syslog header (see rfc5424)
+ */
+ protected function makeCommonSyslogHeader($severity)
+ {
+ $priority = $severity + $this->facility;
+
+ if (!$pid = getmypid()) {
+ $pid = '-';
+ }
+
+ if (!$hostname = gethostname()) {
+ $hostname = '-';
+ }
+
+ return "<$priority>1 " .
+ $this->getDateTime() . " " .
+ $hostname . " " .
+ $this->ident . " " .
+ $pid . " - - ";
+ }
+
+ protected function getDateTime()
+ {
+ return date(\DateTime::RFC3339);
+ }
+
+ /**
+ * Inject your own socket, mainly used for testing
+ */
+ public function setSocket($socket)
+ {
+ $this->socket = $socket;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/TestHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/TestHandler.php
new file mode 100644
index 00000000..e39cfc66
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/TestHandler.php
@@ -0,0 +1,154 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+/**
+ * Used for testing purposes.
+ *
+ * It records all records and gives you access to them for verification.
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * @method bool hasEmergency($record)
+ * @method bool hasAlert($record)
+ * @method bool hasCritical($record)
+ * @method bool hasError($record)
+ * @method bool hasWarning($record)
+ * @method bool hasNotice($record)
+ * @method bool hasInfo($record)
+ * @method bool hasDebug($record)
+ *
+ * @method bool hasEmergencyRecords()
+ * @method bool hasAlertRecords()
+ * @method bool hasCriticalRecords()
+ * @method bool hasErrorRecords()
+ * @method bool hasWarningRecords()
+ * @method bool hasNoticeRecords()
+ * @method bool hasInfoRecords()
+ * @method bool hasDebugRecords()
+ *
+ * @method bool hasEmergencyThatContains($message)
+ * @method bool hasAlertThatContains($message)
+ * @method bool hasCriticalThatContains($message)
+ * @method bool hasErrorThatContains($message)
+ * @method bool hasWarningThatContains($message)
+ * @method bool hasNoticeThatContains($message)
+ * @method bool hasInfoThatContains($message)
+ * @method bool hasDebugThatContains($message)
+ *
+ * @method bool hasEmergencyThatMatches($message)
+ * @method bool hasAlertThatMatches($message)
+ * @method bool hasCriticalThatMatches($message)
+ * @method bool hasErrorThatMatches($message)
+ * @method bool hasWarningThatMatches($message)
+ * @method bool hasNoticeThatMatches($message)
+ * @method bool hasInfoThatMatches($message)
+ * @method bool hasDebugThatMatches($message)
+ *
+ * @method bool hasEmergencyThatPasses($message)
+ * @method bool hasAlertThatPasses($message)
+ * @method bool hasCriticalThatPasses($message)
+ * @method bool hasErrorThatPasses($message)
+ * @method bool hasWarningThatPasses($message)
+ * @method bool hasNoticeThatPasses($message)
+ * @method bool hasInfoThatPasses($message)
+ * @method bool hasDebugThatPasses($message)
+ */
+class TestHandler extends AbstractProcessingHandler
+{
+ protected $records = array();
+ protected $recordsByLevel = array();
+
+ public function getRecords()
+ {
+ return $this->records;
+ }
+
+ public function clear()
+ {
+ $this->records = array();
+ $this->recordsByLevel = array();
+ }
+
+ public function hasRecords($level)
+ {
+ return isset($this->recordsByLevel[$level]);
+ }
+
+ public function hasRecord($record, $level)
+ {
+ if (is_array($record)) {
+ $record = $record['message'];
+ }
+
+ return $this->hasRecordThatPasses(function ($rec) use ($record) {
+ return $rec['message'] === $record;
+ }, $level);
+ }
+
+ public function hasRecordThatContains($message, $level)
+ {
+ return $this->hasRecordThatPasses(function ($rec) use ($message) {
+ return strpos($rec['message'], $message) !== false;
+ }, $level);
+ }
+
+ public function hasRecordThatMatches($regex, $level)
+ {
+ return $this->hasRecordThatPasses(function ($rec) use ($regex) {
+ return preg_match($regex, $rec['message']) > 0;
+ }, $level);
+ }
+
+ public function hasRecordThatPasses($predicate, $level)
+ {
+ if (!is_callable($predicate)) {
+ throw new \InvalidArgumentException("Expected a callable for hasRecordThatSucceeds");
+ }
+
+ if (!isset($this->recordsByLevel[$level])) {
+ return false;
+ }
+
+ foreach ($this->recordsByLevel[$level] as $i => $rec) {
+ if (call_user_func($predicate, $rec, $i)) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function write(array $record)
+ {
+ $this->recordsByLevel[$record['level']][] = $record;
+ $this->records[] = $record;
+ }
+
+ public function __call($method, $args)
+ {
+ if (preg_match('/(.*)(Debug|Info|Notice|Warning|Error|Critical|Alert|Emergency)(.*)/', $method, $matches) > 0) {
+ $genericMethod = $matches[1] . ('Records' !== $matches[3] ? 'Record' : '') . $matches[3];
+ $level = constant('Monolog\Logger::' . strtoupper($matches[2]));
+ if (method_exists($this, $genericMethod)) {
+ $args[] = $level;
+
+ return call_user_func_array(array($this, $genericMethod), $args);
+ }
+ }
+
+ throw new \BadMethodCallException('Call to undefined method ' . get_class($this) . '::' . $method . '()');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/WhatFailureGroupHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/WhatFailureGroupHandler.php
new file mode 100644
index 00000000..2732ba3d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/WhatFailureGroupHandler.php
@@ -0,0 +1,61 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+/**
+ * Forwards records to multiple handlers suppressing failures of each handler
+ * and continuing through to give every handler a chance to succeed.
+ *
+ * @author Craig D'Amelio <craig@damelio.ca>
+ */
+class WhatFailureGroupHandler extends GroupHandler
+{
+ /**
+ * {@inheritdoc}
+ */
+ public function handle(array $record)
+ {
+ if ($this->processors) {
+ foreach ($this->processors as $processor) {
+ $record = call_user_func($processor, $record);
+ }
+ }
+
+ foreach ($this->handlers as $handler) {
+ try {
+ $handler->handle($record);
+ } catch (\Exception $e) {
+ // What failure?
+ } catch (\Throwable $e) {
+ // What failure?
+ }
+ }
+
+ return false === $this->bubble;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function handleBatch(array $records)
+ {
+ foreach ($this->handlers as $handler) {
+ try {
+ $handler->handleBatch($records);
+ } catch (\Exception $e) {
+ // What failure?
+ } catch (\Throwable $e) {
+ // What failure?
+ }
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ZendMonitorHandler.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ZendMonitorHandler.php
new file mode 100644
index 00000000..f22cf218
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ZendMonitorHandler.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\NormalizerFormatter;
+use Monolog\Logger;
+
+/**
+ * Handler sending logs to Zend Monitor
+ *
+ * @author Christian Bergau <cbergau86@gmail.com>
+ */
+class ZendMonitorHandler extends AbstractProcessingHandler
+{
+ /**
+ * Monolog level / ZendMonitor Custom Event priority map
+ *
+ * @var array
+ */
+ protected $levelMap = array(
+ Logger::DEBUG => 1,
+ Logger::INFO => 2,
+ Logger::NOTICE => 3,
+ Logger::WARNING => 4,
+ Logger::ERROR => 5,
+ Logger::CRITICAL => 6,
+ Logger::ALERT => 7,
+ Logger::EMERGENCY => 0,
+ );
+
+ /**
+ * Construct
+ *
+ * @param int $level
+ * @param bool $bubble
+ * @throws MissingExtensionException
+ */
+ public function __construct($level = Logger::DEBUG, $bubble = true)
+ {
+ if (!function_exists('zend_monitor_custom_event')) {
+ throw new MissingExtensionException('You must have Zend Server installed in order to use this handler');
+ }
+ parent::__construct($level, $bubble);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function write(array $record)
+ {
+ $this->writeZendMonitorCustomEvent(
+ $this->levelMap[$record['level']],
+ $record['message'],
+ $record['formatted']
+ );
+ }
+
+ /**
+ * Write a record to Zend Monitor
+ *
+ * @param int $level
+ * @param string $message
+ * @param array $formatted
+ */
+ protected function writeZendMonitorCustomEvent($level, $message, $formatted)
+ {
+ zend_monitor_custom_event($level, $message, $formatted);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getDefaultFormatter()
+ {
+ return new NormalizerFormatter();
+ }
+
+ /**
+ * Get the level map
+ *
+ * @return array
+ */
+ public function getLevelMap()
+ {
+ return $this->levelMap;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Logger.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Logger.php
new file mode 100644
index 00000000..49d00af1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Logger.php
@@ -0,0 +1,700 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog;
+
+use Monolog\Handler\HandlerInterface;
+use Monolog\Handler\StreamHandler;
+use Psr\Log\LoggerInterface;
+use Psr\Log\InvalidArgumentException;
+
+/**
+ * Monolog log channel
+ *
+ * It contains a stack of Handlers and a stack of Processors,
+ * and uses them to store records that are added to it.
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+class Logger implements LoggerInterface
+{
+ /**
+ * Detailed debug information
+ */
+ const DEBUG = 100;
+
+ /**
+ * Interesting events
+ *
+ * Examples: User logs in, SQL logs.
+ */
+ const INFO = 200;
+
+ /**
+ * Uncommon events
+ */
+ const NOTICE = 250;
+
+ /**
+ * Exceptional occurrences that are not errors
+ *
+ * Examples: Use of deprecated APIs, poor use of an API,
+ * undesirable things that are not necessarily wrong.
+ */
+ const WARNING = 300;
+
+ /**
+ * Runtime errors
+ */
+ const ERROR = 400;
+
+ /**
+ * Critical conditions
+ *
+ * Example: Application component unavailable, unexpected exception.
+ */
+ const CRITICAL = 500;
+
+ /**
+ * Action must be taken immediately
+ *
+ * Example: Entire website down, database unavailable, etc.
+ * This should trigger the SMS alerts and wake you up.
+ */
+ const ALERT = 550;
+
+ /**
+ * Urgent alert.
+ */
+ const EMERGENCY = 600;
+
+ /**
+ * Monolog API version
+ *
+ * This is only bumped when API breaks are done and should
+ * follow the major version of the library
+ *
+ * @var int
+ */
+ const API = 1;
+
+ /**
+ * Logging levels from syslog protocol defined in RFC 5424
+ *
+ * @var array $levels Logging levels
+ */
+ protected static $levels = array(
+ self::DEBUG => 'DEBUG',
+ self::INFO => 'INFO',
+ self::NOTICE => 'NOTICE',
+ self::WARNING => 'WARNING',
+ self::ERROR => 'ERROR',
+ self::CRITICAL => 'CRITICAL',
+ self::ALERT => 'ALERT',
+ self::EMERGENCY => 'EMERGENCY',
+ );
+
+ /**
+ * @var \DateTimeZone
+ */
+ protected static $timezone;
+
+ /**
+ * @var string
+ */
+ protected $name;
+
+ /**
+ * The handler stack
+ *
+ * @var HandlerInterface[]
+ */
+ protected $handlers;
+
+ /**
+ * Processors that will process all log records
+ *
+ * To process records of a single handler instead, add the processor on that specific handler
+ *
+ * @var callable[]
+ */
+ protected $processors;
+
+ /**
+ * @var bool
+ */
+ protected $microsecondTimestamps = true;
+
+ /**
+ * @param string $name The logging channel
+ * @param HandlerInterface[] $handlers Optional stack of handlers, the first one in the array is called first, etc.
+ * @param callable[] $processors Optional array of processors
+ */
+ public function __construct($name, array $handlers = array(), array $processors = array())
+ {
+ $this->name = $name;
+ $this->handlers = $handlers;
+ $this->processors = $processors;
+ }
+
+ /**
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Return a new cloned instance with the name changed
+ *
+ * @return static
+ */
+ public function withName($name)
+ {
+ $new = clone $this;
+ $new->name = $name;
+
+ return $new;
+ }
+
+ /**
+ * Pushes a handler on to the stack.
+ *
+ * @param HandlerInterface $handler
+ * @return $this
+ */
+ public function pushHandler(HandlerInterface $handler)
+ {
+ array_unshift($this->handlers, $handler);
+
+ return $this;
+ }
+
+ /**
+ * Pops a handler from the stack
+ *
+ * @return HandlerInterface
+ */
+ public function popHandler()
+ {
+ if (!$this->handlers) {
+ throw new \LogicException('You tried to pop from an empty handler stack.');
+ }
+
+ return array_shift($this->handlers);
+ }
+
+ /**
+ * Set handlers, replacing all existing ones.
+ *
+ * If a map is passed, keys will be ignored.
+ *
+ * @param HandlerInterface[] $handlers
+ * @return $this
+ */
+ public function setHandlers(array $handlers)
+ {
+ $this->handlers = array();
+ foreach (array_reverse($handlers) as $handler) {
+ $this->pushHandler($handler);
+ }
+
+ return $this;
+ }
+
+ /**
+ * @return HandlerInterface[]
+ */
+ public function getHandlers()
+ {
+ return $this->handlers;
+ }
+
+ /**
+ * Adds a processor on to the stack.
+ *
+ * @param callable $callback
+ * @return $this
+ */
+ public function pushProcessor($callback)
+ {
+ if (!is_callable($callback)) {
+ throw new \InvalidArgumentException('Processors must be valid callables (callback or object with an __invoke method), '.var_export($callback, true).' given');
+ }
+ array_unshift($this->processors, $callback);
+
+ return $this;
+ }
+
+ /**
+ * Removes the processor on top of the stack and returns it.
+ *
+ * @return callable
+ */
+ public function popProcessor()
+ {
+ if (!$this->processors) {
+ throw new \LogicException('You tried to pop from an empty processor stack.');
+ }
+
+ return array_shift($this->processors);
+ }
+
+ /**
+ * @return callable[]
+ */
+ public function getProcessors()
+ {
+ return $this->processors;
+ }
+
+ /**
+ * Control the use of microsecond resolution timestamps in the 'datetime'
+ * member of new records.
+ *
+ * Generating microsecond resolution timestamps by calling
+ * microtime(true), formatting the result via sprintf() and then parsing
+ * the resulting string via \DateTime::createFromFormat() can incur
+ * a measurable runtime overhead vs simple usage of DateTime to capture
+ * a second resolution timestamp in systems which generate a large number
+ * of log events.
+ *
+ * @param bool $micro True to use microtime() to create timestamps
+ */
+ public function useMicrosecondTimestamps($micro)
+ {
+ $this->microsecondTimestamps = (bool) $micro;
+ }
+
+ /**
+ * Adds a log record.
+ *
+ * @param int $level The logging level
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function addRecord($level, $message, array $context = array())
+ {
+ if (!$this->handlers) {
+ $this->pushHandler(new StreamHandler('php://stderr', static::DEBUG));
+ }
+
+ $levelName = static::getLevelName($level);
+
+ // check if any handler will handle this message so we can return early and save cycles
+ $handlerKey = null;
+ reset($this->handlers);
+ while ($handler = current($this->handlers)) {
+ if ($handler->isHandling(array('level' => $level))) {
+ $handlerKey = key($this->handlers);
+ break;
+ }
+
+ next($this->handlers);
+ }
+
+ if (null === $handlerKey) {
+ return false;
+ }
+
+ if (!static::$timezone) {
+ static::$timezone = new \DateTimeZone(date_default_timezone_get() ?: 'UTC');
+ }
+
+ // php7.1+ always has microseconds enabled, so we do not need this hack
+ if ($this->microsecondTimestamps && PHP_VERSION_ID < 70100) {
+ $ts = \DateTime::createFromFormat('U.u', sprintf('%.6F', microtime(true)), static::$timezone);
+ } else {
+ $ts = new \DateTime(null, static::$timezone);
+ }
+ $ts->setTimezone(static::$timezone);
+
+ $record = array(
+ 'message' => (string) $message,
+ 'context' => $context,
+ 'level' => $level,
+ 'level_name' => $levelName,
+ 'channel' => $this->name,
+ 'datetime' => $ts,
+ 'extra' => array(),
+ );
+
+ foreach ($this->processors as $processor) {
+ $record = call_user_func($processor, $record);
+ }
+
+ while ($handler = current($this->handlers)) {
+ if (true === $handler->handle($record)) {
+ break;
+ }
+
+ next($this->handlers);
+ }
+
+ return true;
+ }
+
+ /**
+ * Adds a log record at the DEBUG level.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function addDebug($message, array $context = array())
+ {
+ return $this->addRecord(static::DEBUG, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the INFO level.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function addInfo($message, array $context = array())
+ {
+ return $this->addRecord(static::INFO, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the NOTICE level.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function addNotice($message, array $context = array())
+ {
+ return $this->addRecord(static::NOTICE, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the WARNING level.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function addWarning($message, array $context = array())
+ {
+ return $this->addRecord(static::WARNING, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the ERROR level.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function addError($message, array $context = array())
+ {
+ return $this->addRecord(static::ERROR, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the CRITICAL level.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function addCritical($message, array $context = array())
+ {
+ return $this->addRecord(static::CRITICAL, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the ALERT level.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function addAlert($message, array $context = array())
+ {
+ return $this->addRecord(static::ALERT, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the EMERGENCY level.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function addEmergency($message, array $context = array())
+ {
+ return $this->addRecord(static::EMERGENCY, $message, $context);
+ }
+
+ /**
+ * Gets all supported logging levels.
+ *
+ * @return array Assoc array with human-readable level names => level codes.
+ */
+ public static function getLevels()
+ {
+ return array_flip(static::$levels);
+ }
+
+ /**
+ * Gets the name of the logging level.
+ *
+ * @param int $level
+ * @return string
+ */
+ public static function getLevelName($level)
+ {
+ if (!isset(static::$levels[$level])) {
+ throw new InvalidArgumentException('Level "'.$level.'" is not defined, use one of: '.implode(', ', array_keys(static::$levels)));
+ }
+
+ return static::$levels[$level];
+ }
+
+ /**
+ * Converts PSR-3 levels to Monolog ones if necessary
+ *
+ * @param string|int Level number (monolog) or name (PSR-3)
+ * @return int
+ */
+ public static function toMonologLevel($level)
+ {
+ if (is_string($level) && defined(__CLASS__.'::'.strtoupper($level))) {
+ return constant(__CLASS__.'::'.strtoupper($level));
+ }
+
+ return $level;
+ }
+
+ /**
+ * Checks whether the Logger has a handler that listens on the given level
+ *
+ * @param int $level
+ * @return Boolean
+ */
+ public function isHandling($level)
+ {
+ $record = array(
+ 'level' => $level,
+ );
+
+ foreach ($this->handlers as $handler) {
+ if ($handler->isHandling($record)) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Adds a log record at an arbitrary level.
+ *
+ * This method allows for compatibility with common interfaces.
+ *
+ * @param mixed $level The log level
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function log($level, $message, array $context = array())
+ {
+ $level = static::toMonologLevel($level);
+
+ return $this->addRecord($level, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the DEBUG level.
+ *
+ * This method allows for compatibility with common interfaces.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function debug($message, array $context = array())
+ {
+ return $this->addRecord(static::DEBUG, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the INFO level.
+ *
+ * This method allows for compatibility with common interfaces.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function info($message, array $context = array())
+ {
+ return $this->addRecord(static::INFO, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the NOTICE level.
+ *
+ * This method allows for compatibility with common interfaces.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function notice($message, array $context = array())
+ {
+ return $this->addRecord(static::NOTICE, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the WARNING level.
+ *
+ * This method allows for compatibility with common interfaces.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function warn($message, array $context = array())
+ {
+ return $this->addRecord(static::WARNING, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the WARNING level.
+ *
+ * This method allows for compatibility with common interfaces.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function warning($message, array $context = array())
+ {
+ return $this->addRecord(static::WARNING, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the ERROR level.
+ *
+ * This method allows for compatibility with common interfaces.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function err($message, array $context = array())
+ {
+ return $this->addRecord(static::ERROR, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the ERROR level.
+ *
+ * This method allows for compatibility with common interfaces.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function error($message, array $context = array())
+ {
+ return $this->addRecord(static::ERROR, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the CRITICAL level.
+ *
+ * This method allows for compatibility with common interfaces.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function crit($message, array $context = array())
+ {
+ return $this->addRecord(static::CRITICAL, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the CRITICAL level.
+ *
+ * This method allows for compatibility with common interfaces.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function critical($message, array $context = array())
+ {
+ return $this->addRecord(static::CRITICAL, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the ALERT level.
+ *
+ * This method allows for compatibility with common interfaces.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function alert($message, array $context = array())
+ {
+ return $this->addRecord(static::ALERT, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the EMERGENCY level.
+ *
+ * This method allows for compatibility with common interfaces.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function emerg($message, array $context = array())
+ {
+ return $this->addRecord(static::EMERGENCY, $message, $context);
+ }
+
+ /**
+ * Adds a log record at the EMERGENCY level.
+ *
+ * This method allows for compatibility with common interfaces.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ * @return Boolean Whether the record has been processed
+ */
+ public function emergency($message, array $context = array())
+ {
+ return $this->addRecord(static::EMERGENCY, $message, $context);
+ }
+
+ /**
+ * Set the timezone to be used for the timestamp of log records.
+ *
+ * This is stored globally for all Logger instances
+ *
+ * @param \DateTimeZone $tz Timezone object
+ */
+ public static function setTimezone(\DateTimeZone $tz)
+ {
+ self::$timezone = $tz;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/GitProcessor.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/GitProcessor.php
new file mode 100644
index 00000000..1899400d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/GitProcessor.php
@@ -0,0 +1,64 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+use Monolog\Logger;
+
+/**
+ * Injects Git branch and Git commit SHA in all records
+ *
+ * @author Nick Otter
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+class GitProcessor
+{
+ private $level;
+ private static $cache;
+
+ public function __construct($level = Logger::DEBUG)
+ {
+ $this->level = Logger::toMonologLevel($level);
+ }
+
+ /**
+ * @param array $record
+ * @return array
+ */
+ public function __invoke(array $record)
+ {
+ // return if the level is not high enough
+ if ($record['level'] < $this->level) {
+ return $record;
+ }
+
+ $record['extra']['git'] = self::getGitInfo();
+
+ return $record;
+ }
+
+ private static function getGitInfo()
+ {
+ if (self::$cache) {
+ return self::$cache;
+ }
+
+ $branches = `git branch -v --no-abbrev`;
+ if (preg_match('{^\* (.+?)\s+([a-f0-9]{40})(?:\s|$)}m', $branches, $matches)) {
+ return self::$cache = array(
+ 'branch' => $matches[1],
+ 'commit' => $matches[2],
+ );
+ }
+
+ return self::$cache = array();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php
new file mode 100644
index 00000000..2c07caed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php
@@ -0,0 +1,112 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+use Monolog\Logger;
+
+/**
+ * Injects line/file:class/function where the log message came from
+ *
+ * Warning: This only works if the handler processes the logs directly.
+ * If you put the processor on a handler that is behind a FingersCrossedHandler
+ * for example, the processor will only be called once the trigger level is reached,
+ * and all the log records will have the same file/line/.. data from the call that
+ * triggered the FingersCrossedHandler.
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+class IntrospectionProcessor
+{
+ private $level;
+
+ private $skipClassesPartials;
+
+ private $skipStackFramesCount;
+
+ private $skipFunctions = array(
+ 'call_user_func',
+ 'call_user_func_array',
+ );
+
+ public function __construct($level = Logger::DEBUG, array $skipClassesPartials = array(), $skipStackFramesCount = 0)
+ {
+ $this->level = Logger::toMonologLevel($level);
+ $this->skipClassesPartials = array_merge(array('Monolog\\'), $skipClassesPartials);
+ $this->skipStackFramesCount = $skipStackFramesCount;
+ }
+
+ /**
+ * @param array $record
+ * @return array
+ */
+ public function __invoke(array $record)
+ {
+ // return if the level is not high enough
+ if ($record['level'] < $this->level) {
+ return $record;
+ }
+
+ /*
+ * http://php.net/manual/en/function.debug-backtrace.php
+ * As of 5.3.6, DEBUG_BACKTRACE_IGNORE_ARGS option was added.
+ * Any version less than 5.3.6 must use the DEBUG_BACKTRACE_IGNORE_ARGS constant value '2'.
+ */
+ $trace = debug_backtrace((PHP_VERSION_ID < 50306) ? 2 : DEBUG_BACKTRACE_IGNORE_ARGS);
+
+ // skip first since it's always the current method
+ array_shift($trace);
+ // the call_user_func call is also skipped
+ array_shift($trace);
+
+ $i = 0;
+
+ while ($this->isTraceClassOrSkippedFunction($trace, $i)) {
+ if (isset($trace[$i]['class'])) {
+ foreach ($this->skipClassesPartials as $part) {
+ if (strpos($trace[$i]['class'], $part) !== false) {
+ $i++;
+ continue 2;
+ }
+ }
+ } elseif (in_array($trace[$i]['function'], $this->skipFunctions)) {
+ $i++;
+ continue;
+ }
+
+ break;
+ }
+
+ $i += $this->skipStackFramesCount;
+
+ // we should have the call source now
+ $record['extra'] = array_merge(
+ $record['extra'],
+ array(
+ 'file' => isset($trace[$i - 1]['file']) ? $trace[$i - 1]['file'] : null,
+ 'line' => isset($trace[$i - 1]['line']) ? $trace[$i - 1]['line'] : null,
+ 'class' => isset($trace[$i]['class']) ? $trace[$i]['class'] : null,
+ 'function' => isset($trace[$i]['function']) ? $trace[$i]['function'] : null,
+ )
+ );
+
+ return $record;
+ }
+
+ private function isTraceClassOrSkippedFunction(array $trace, $index)
+ {
+ if (!isset($trace[$index])) {
+ return false;
+ }
+
+ return isset($trace[$index]['class']) || in_array($trace[$index]['function'], $this->skipFunctions);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php
new file mode 100644
index 00000000..0543e929
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php
@@ -0,0 +1,35 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+/**
+ * Injects memory_get_peak_usage in all records
+ *
+ * @see Monolog\Processor\MemoryProcessor::__construct() for options
+ * @author Rob Jensen
+ */
+class MemoryPeakUsageProcessor extends MemoryProcessor
+{
+ /**
+ * @param array $record
+ * @return array
+ */
+ public function __invoke(array $record)
+ {
+ $bytes = memory_get_peak_usage($this->realUsage);
+ $formatted = $this->formatBytes($bytes);
+
+ $record['extra']['memory_peak_usage'] = $formatted;
+
+ return $record;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryProcessor.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryProcessor.php
new file mode 100644
index 00000000..85f9dc5e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryProcessor.php
@@ -0,0 +1,63 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+/**
+ * Some methods that are common for all memory processors
+ *
+ * @author Rob Jensen
+ */
+abstract class MemoryProcessor
+{
+ /**
+ * @var bool If true, get the real size of memory allocated from system. Else, only the memory used by emalloc() is reported.
+ */
+ protected $realUsage;
+
+ /**
+ * @var bool If true, then format memory size to human readable string (MB, KB, B depending on size)
+ */
+ protected $useFormatting;
+
+ /**
+ * @param bool $realUsage Set this to true to get the real size of memory allocated from system.
+ * @param bool $useFormatting If true, then format memory size to human readable string (MB, KB, B depending on size)
+ */
+ public function __construct($realUsage = true, $useFormatting = true)
+ {
+ $this->realUsage = (boolean) $realUsage;
+ $this->useFormatting = (boolean) $useFormatting;
+ }
+
+ /**
+ * Formats bytes into a human readable string if $this->useFormatting is true, otherwise return $bytes as is
+ *
+ * @param int $bytes
+ * @return string|int Formatted string if $this->useFormatting is true, otherwise return $bytes as is
+ */
+ protected function formatBytes($bytes)
+ {
+ $bytes = (int) $bytes;
+
+ if (!$this->useFormatting) {
+ return $bytes;
+ }
+
+ if ($bytes > 1024 * 1024) {
+ return round($bytes / 1024 / 1024, 2).' MB';
+ } elseif ($bytes > 1024) {
+ return round($bytes / 1024, 2).' KB';
+ }
+
+ return $bytes . ' B';
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.php
new file mode 100644
index 00000000..2783d656
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.php
@@ -0,0 +1,35 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+/**
+ * Injects memory_get_usage in all records
+ *
+ * @see Monolog\Processor\MemoryProcessor::__construct() for options
+ * @author Rob Jensen
+ */
+class MemoryUsageProcessor extends MemoryProcessor
+{
+ /**
+ * @param array $record
+ * @return array
+ */
+ public function __invoke(array $record)
+ {
+ $bytes = memory_get_usage($this->realUsage);
+ $formatted = $this->formatBytes($bytes);
+
+ $record['extra']['memory_usage'] = $formatted;
+
+ return $record;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MercurialProcessor.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MercurialProcessor.php
new file mode 100644
index 00000000..7c07a7e9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MercurialProcessor.php
@@ -0,0 +1,63 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jonathan A. Schweder <jonathanschweder@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+use Monolog\Logger;
+
+/**
+ * Injects Hg branch and Hg revision number in all records
+ *
+ * @author Jonathan A. Schweder <jonathanschweder@gmail.com>
+ */
+class MercurialProcessor
+{
+ private $level;
+ private static $cache;
+
+ public function __construct($level = Logger::DEBUG)
+ {
+ $this->level = Logger::toMonologLevel($level);
+ }
+
+ /**
+ * @param array $record
+ * @return array
+ */
+ public function __invoke(array $record)
+ {
+ // return if the level is not high enough
+ if ($record['level'] < $this->level) {
+ return $record;
+ }
+
+ $record['extra']['hg'] = self::getMercurialInfo();
+
+ return $record;
+ }
+
+ private static function getMercurialInfo()
+ {
+ if (self::$cache) {
+ return self::$cache;
+ }
+
+ $result = explode(' ', trim(`hg id -nb`));
+ if (count($result) >= 3) {
+ return self::$cache = array(
+ 'branch' => $result[1],
+ 'revision' => $result[2],
+ );
+ }
+
+ return self::$cache = array();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php
new file mode 100644
index 00000000..9d3f5590
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php
@@ -0,0 +1,31 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+/**
+ * Adds value of getmypid into records
+ *
+ * @author Andreas Hörnicke
+ */
+class ProcessIdProcessor
+{
+ /**
+ * @param array $record
+ * @return array
+ */
+ public function __invoke(array $record)
+ {
+ $record['extra']['process_id'] = getmypid();
+
+ return $record;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/PsrLogMessageProcessor.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/PsrLogMessageProcessor.php
new file mode 100644
index 00000000..c2686ce5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/PsrLogMessageProcessor.php
@@ -0,0 +1,48 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+/**
+ * Processes a record's message according to PSR-3 rules
+ *
+ * It replaces {foo} with the value from $context['foo']
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+class PsrLogMessageProcessor
+{
+ /**
+ * @param array $record
+ * @return array
+ */
+ public function __invoke(array $record)
+ {
+ if (false === strpos($record['message'], '{')) {
+ return $record;
+ }
+
+ $replacements = array();
+ foreach ($record['context'] as $key => $val) {
+ if (is_null($val) || is_scalar($val) || (is_object($val) && method_exists($val, "__toString"))) {
+ $replacements['{'.$key.'}'] = $val;
+ } elseif (is_object($val)) {
+ $replacements['{'.$key.'}'] = '[object '.get_class($val).']';
+ } else {
+ $replacements['{'.$key.'}'] = '['.gettype($val).']';
+ }
+ }
+
+ $record['message'] = strtr($record['message'], $replacements);
+
+ return $record;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/TagProcessor.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/TagProcessor.php
new file mode 100644
index 00000000..7e2df2ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/TagProcessor.php
@@ -0,0 +1,44 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+/**
+ * Adds a tags array into record
+ *
+ * @author Martijn Riemers
+ */
+class TagProcessor
+{
+ private $tags;
+
+ public function __construct(array $tags = array())
+ {
+ $this->setTags($tags);
+ }
+
+ public function addTags(array $tags = array())
+ {
+ $this->tags = array_merge($this->tags, $tags);
+ }
+
+ public function setTags(array $tags = array())
+ {
+ $this->tags = $tags;
+ }
+
+ public function __invoke(array $record)
+ {
+ $record['extra']['tags'] = $this->tags;
+
+ return $record;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/UidProcessor.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/UidProcessor.php
new file mode 100644
index 00000000..812707cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/UidProcessor.php
@@ -0,0 +1,46 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+/**
+ * Adds a unique identifier into records
+ *
+ * @author Simon Mönch <sm@webfactory.de>
+ */
+class UidProcessor
+{
+ private $uid;
+
+ public function __construct($length = 7)
+ {
+ if (!is_int($length) || $length > 32 || $length < 1) {
+ throw new \InvalidArgumentException('The uid length must be an integer between 1 and 32');
+ }
+
+ $this->uid = substr(hash('md5', uniqid('', true)), 0, $length);
+ }
+
+ public function __invoke(array $record)
+ {
+ $record['extra']['uid'] = $this->uid;
+
+ return $record;
+ }
+
+ /**
+ * @return string
+ */
+ public function getUid()
+ {
+ return $this->uid;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/WebProcessor.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/WebProcessor.php
new file mode 100644
index 00000000..ea1d8978
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/WebProcessor.php
@@ -0,0 +1,113 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+/**
+ * Injects url/method and remote IP of the current web request in all records
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+class WebProcessor
+{
+ /**
+ * @var array|\ArrayAccess
+ */
+ protected $serverData;
+
+ /**
+ * Default fields
+ *
+ * Array is structured as [key in record.extra => key in $serverData]
+ *
+ * @var array
+ */
+ protected $extraFields = array(
+ 'url' => 'REQUEST_URI',
+ 'ip' => 'REMOTE_ADDR',
+ 'http_method' => 'REQUEST_METHOD',
+ 'server' => 'SERVER_NAME',
+ 'referrer' => 'HTTP_REFERER',
+ );
+
+ /**
+ * @param array|\ArrayAccess $serverData Array or object w/ ArrayAccess that provides access to the $_SERVER data
+ * @param array|null $extraFields Field names and the related key inside $serverData to be added. If not provided it defaults to: url, ip, http_method, server, referrer
+ */
+ public function __construct($serverData = null, array $extraFields = null)
+ {
+ if (null === $serverData) {
+ $this->serverData = &$_SERVER;
+ } elseif (is_array($serverData) || $serverData instanceof \ArrayAccess) {
+ $this->serverData = $serverData;
+ } else {
+ throw new \UnexpectedValueException('$serverData must be an array or object implementing ArrayAccess.');
+ }
+
+ if (null !== $extraFields) {
+ if (isset($extraFields[0])) {
+ foreach (array_keys($this->extraFields) as $fieldName) {
+ if (!in_array($fieldName, $extraFields)) {
+ unset($this->extraFields[$fieldName]);
+ }
+ }
+ } else {
+ $this->extraFields = $extraFields;
+ }
+ }
+ }
+
+ /**
+ * @param array $record
+ * @return array
+ */
+ public function __invoke(array $record)
+ {
+ // skip processing if for some reason request data
+ // is not present (CLI or wonky SAPIs)
+ if (!isset($this->serverData['REQUEST_URI'])) {
+ return $record;
+ }
+
+ $record['extra'] = $this->appendExtraFields($record['extra']);
+
+ return $record;
+ }
+
+ /**
+ * @param string $extraName
+ * @param string $serverName
+ * @return $this
+ */
+ public function addExtraField($extraName, $serverName)
+ {
+ $this->extraFields[$extraName] = $serverName;
+
+ return $this;
+ }
+
+ /**
+ * @param array $extra
+ * @return array
+ */
+ private function appendExtraFields(array $extra)
+ {
+ foreach ($this->extraFields as $extraName => $serverName) {
+ $extra[$extraName] = isset($this->serverData[$serverName]) ? $this->serverData[$serverName] : null;
+ }
+
+ if (isset($this->serverData['UNIQUE_ID'])) {
+ $extra['unique_id'] = $this->serverData['UNIQUE_ID'];
+ }
+
+ return $extra;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Registry.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Registry.php
new file mode 100644
index 00000000..159b751c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/src/Monolog/Registry.php
@@ -0,0 +1,134 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog;
+
+use InvalidArgumentException;
+
+/**
+ * Monolog log registry
+ *
+ * Allows to get `Logger` instances in the global scope
+ * via static method calls on this class.
+ *
+ * <code>
+ * $application = new Monolog\Logger('application');
+ * $api = new Monolog\Logger('api');
+ *
+ * Monolog\Registry::addLogger($application);
+ * Monolog\Registry::addLogger($api);
+ *
+ * function testLogger()
+ * {
+ * Monolog\Registry::api()->addError('Sent to $api Logger instance');
+ * Monolog\Registry::application()->addError('Sent to $application Logger instance');
+ * }
+ * </code>
+ *
+ * @author Tomas Tatarko <tomas@tatarko.sk>
+ */
+class Registry
+{
+ /**
+ * List of all loggers in the registry (by named indexes)
+ *
+ * @var Logger[]
+ */
+ private static $loggers = array();
+
+ /**
+ * Adds new logging channel to the registry
+ *
+ * @param Logger $logger Instance of the logging channel
+ * @param string|null $name Name of the logging channel ($logger->getName() by default)
+ * @param bool $overwrite Overwrite instance in the registry if the given name already exists?
+ * @throws \InvalidArgumentException If $overwrite set to false and named Logger instance already exists
+ */
+ public static function addLogger(Logger $logger, $name = null, $overwrite = false)
+ {
+ $name = $name ?: $logger->getName();
+
+ if (isset(self::$loggers[$name]) && !$overwrite) {
+ throw new InvalidArgumentException('Logger with the given name already exists');
+ }
+
+ self::$loggers[$name] = $logger;
+ }
+
+ /**
+ * Checks if such logging channel exists by name or instance
+ *
+ * @param string|Logger $logger Name or logger instance
+ */
+ public static function hasLogger($logger)
+ {
+ if ($logger instanceof Logger) {
+ $index = array_search($logger, self::$loggers, true);
+
+ return false !== $index;
+ } else {
+ return isset(self::$loggers[$logger]);
+ }
+ }
+
+ /**
+ * Removes instance from registry by name or instance
+ *
+ * @param string|Logger $logger Name or logger instance
+ */
+ public static function removeLogger($logger)
+ {
+ if ($logger instanceof Logger) {
+ if (false !== ($idx = array_search($logger, self::$loggers, true))) {
+ unset(self::$loggers[$idx]);
+ }
+ } else {
+ unset(self::$loggers[$logger]);
+ }
+ }
+
+ /**
+ * Clears the registry
+ */
+ public static function clear()
+ {
+ self::$loggers = array();
+ }
+
+ /**
+ * Gets Logger instance from the registry
+ *
+ * @param string $name Name of the requested Logger instance
+ * @throws \InvalidArgumentException If named Logger instance is not in the registry
+ * @return Logger Requested instance of Logger
+ */
+ public static function getInstance($name)
+ {
+ if (!isset(self::$loggers[$name])) {
+ throw new InvalidArgumentException(sprintf('Requested "%s" logger instance is not in the registry', $name));
+ }
+
+ return self::$loggers[$name];
+ }
+
+ /**
+ * Gets Logger instance from the registry via static method call
+ *
+ * @param string $name Name of the requested Logger instance
+ * @param array $arguments Arguments passed to static method call
+ * @throws \InvalidArgumentException If named Logger instance is not in the registry
+ * @return Logger Requested instance of Logger
+ */
+ public static function __callStatic($name, $arguments)
+ {
+ return self::getInstance($name);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/ErrorHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/ErrorHandlerTest.php
new file mode 100644
index 00000000..a9a3f301
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/ErrorHandlerTest.php
@@ -0,0 +1,31 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog;
+
+use Monolog\Handler\TestHandler;
+
+class ErrorHandlerTest extends \PHPUnit_Framework_TestCase
+{
+ public function testHandleError()
+ {
+ $logger = new Logger('test', array($handler = new TestHandler));
+ $errHandler = new ErrorHandler($logger);
+
+ $errHandler->registerErrorHandler(array(E_USER_NOTICE => Logger::EMERGENCY), false);
+ trigger_error('Foo', E_USER_ERROR);
+ $this->assertCount(1, $handler->getRecords());
+ $this->assertTrue($handler->hasErrorRecords());
+ trigger_error('Foo', E_USER_NOTICE);
+ $this->assertCount(2, $handler->getRecords());
+ $this->assertTrue($handler->hasEmergencyRecords());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ChromePHPFormatterTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ChromePHPFormatterTest.php
new file mode 100644
index 00000000..71c42046
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ChromePHPFormatterTest.php
@@ -0,0 +1,158 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Monolog\Logger;
+
+class ChromePHPFormatterTest extends \PHPUnit_Framework_TestCase
+{
+ /**
+ * @covers Monolog\Formatter\ChromePHPFormatter::format
+ */
+ public function testDefaultFormat()
+ {
+ $formatter = new ChromePHPFormatter();
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('from' => 'logger'),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('ip' => '127.0.0.1'),
+ 'message' => 'log',
+ );
+
+ $message = $formatter->format($record);
+
+ $this->assertEquals(
+ array(
+ 'meh',
+ array(
+ 'message' => 'log',
+ 'context' => array('from' => 'logger'),
+ 'extra' => array('ip' => '127.0.0.1'),
+ ),
+ 'unknown',
+ 'error',
+ ),
+ $message
+ );
+ }
+
+ /**
+ * @covers Monolog\Formatter\ChromePHPFormatter::format
+ */
+ public function testFormatWithFileAndLine()
+ {
+ $formatter = new ChromePHPFormatter();
+ $record = array(
+ 'level' => Logger::CRITICAL,
+ 'level_name' => 'CRITICAL',
+ 'channel' => 'meh',
+ 'context' => array('from' => 'logger'),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('ip' => '127.0.0.1', 'file' => 'test', 'line' => 14),
+ 'message' => 'log',
+ );
+
+ $message = $formatter->format($record);
+
+ $this->assertEquals(
+ array(
+ 'meh',
+ array(
+ 'message' => 'log',
+ 'context' => array('from' => 'logger'),
+ 'extra' => array('ip' => '127.0.0.1'),
+ ),
+ 'test : 14',
+ 'error',
+ ),
+ $message
+ );
+ }
+
+ /**
+ * @covers Monolog\Formatter\ChromePHPFormatter::format
+ */
+ public function testFormatWithoutContext()
+ {
+ $formatter = new ChromePHPFormatter();
+ $record = array(
+ 'level' => Logger::DEBUG,
+ 'level_name' => 'DEBUG',
+ 'channel' => 'meh',
+ 'context' => array(),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array(),
+ 'message' => 'log',
+ );
+
+ $message = $formatter->format($record);
+
+ $this->assertEquals(
+ array(
+ 'meh',
+ 'log',
+ 'unknown',
+ 'log',
+ ),
+ $message
+ );
+ }
+
+ /**
+ * @covers Monolog\Formatter\ChromePHPFormatter::formatBatch
+ */
+ public function testBatchFormatThrowException()
+ {
+ $formatter = new ChromePHPFormatter();
+ $records = array(
+ array(
+ 'level' => Logger::INFO,
+ 'level_name' => 'INFO',
+ 'channel' => 'meh',
+ 'context' => array(),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array(),
+ 'message' => 'log',
+ ),
+ array(
+ 'level' => Logger::WARNING,
+ 'level_name' => 'WARNING',
+ 'channel' => 'foo',
+ 'context' => array(),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array(),
+ 'message' => 'log2',
+ ),
+ );
+
+ $this->assertEquals(
+ array(
+ array(
+ 'meh',
+ 'log',
+ 'unknown',
+ 'info',
+ ),
+ array(
+ 'foo',
+ 'log2',
+ 'unknown',
+ 'warn',
+ ),
+ ),
+ $formatter->formatBatch($records)
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ElasticaFormatterTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ElasticaFormatterTest.php
new file mode 100644
index 00000000..90cc48dd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ElasticaFormatterTest.php
@@ -0,0 +1,79 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Monolog\Logger;
+
+class ElasticaFormatterTest extends \PHPUnit_Framework_TestCase
+{
+ public function setUp()
+ {
+ if (!class_exists("Elastica\Document")) {
+ $this->markTestSkipped("ruflin/elastica not installed");
+ }
+ }
+
+ /**
+ * @covers Monolog\Formatter\ElasticaFormatter::__construct
+ * @covers Monolog\Formatter\ElasticaFormatter::format
+ * @covers Monolog\Formatter\ElasticaFormatter::getDocument
+ */
+ public function testFormat()
+ {
+ // test log message
+ $msg = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('foo' => 7, 'bar', 'class' => new \stdClass),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array(),
+ 'message' => 'log',
+ );
+
+ // expected values
+ $expected = $msg;
+ $expected['datetime'] = '1970-01-01T00:00:00.000000+00:00';
+ $expected['context'] = array(
+ 'class' => '[object] (stdClass: {})',
+ 'foo' => 7,
+ 0 => 'bar',
+ );
+
+ // format log message
+ $formatter = new ElasticaFormatter('my_index', 'doc_type');
+ $doc = $formatter->format($msg);
+ $this->assertInstanceOf('Elastica\Document', $doc);
+
+ // Document parameters
+ $params = $doc->getParams();
+ $this->assertEquals('my_index', $params['_index']);
+ $this->assertEquals('doc_type', $params['_type']);
+
+ // Document data values
+ $data = $doc->getData();
+ foreach (array_keys($expected) as $key) {
+ $this->assertEquals($expected[$key], $data[$key]);
+ }
+ }
+
+ /**
+ * @covers Monolog\Formatter\ElasticaFormatter::getIndex
+ * @covers Monolog\Formatter\ElasticaFormatter::getType
+ */
+ public function testGetters()
+ {
+ $formatter = new ElasticaFormatter('my_index', 'doc_type');
+ $this->assertEquals('my_index', $formatter->getIndex());
+ $this->assertEquals('doc_type', $formatter->getType());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/FlowdockFormatterTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/FlowdockFormatterTest.php
new file mode 100644
index 00000000..1b2fd97a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/FlowdockFormatterTest.php
@@ -0,0 +1,55 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Monolog\Logger;
+use Monolog\TestCase;
+
+class FlowdockFormatterTest extends TestCase
+{
+ /**
+ * @covers Monolog\Formatter\FlowdockFormatter::format
+ */
+ public function testFormat()
+ {
+ $formatter = new FlowdockFormatter('test_source', 'source@test.com');
+ $record = $this->getRecord();
+
+ $expected = array(
+ 'source' => 'test_source',
+ 'from_address' => 'source@test.com',
+ 'subject' => 'in test_source: WARNING - test',
+ 'content' => 'test',
+ 'tags' => array('#logs', '#warning', '#test'),
+ 'project' => 'test_source',
+ );
+ $formatted = $formatter->format($record);
+
+ $this->assertEquals($expected, $formatted['flowdock']);
+ }
+
+ /**
+ * @ covers Monolog\Formatter\FlowdockFormatter::formatBatch
+ */
+ public function testFormatBatch()
+ {
+ $formatter = new FlowdockFormatter('test_source', 'source@test.com');
+ $records = array(
+ $this->getRecord(Logger::WARNING),
+ $this->getRecord(Logger::DEBUG),
+ );
+ $formatted = $formatter->formatBatch($records);
+
+ $this->assertArrayHasKey('flowdock', $formatted[0]);
+ $this->assertArrayHasKey('flowdock', $formatted[1]);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/FluentdFormatterTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/FluentdFormatterTest.php
new file mode 100644
index 00000000..622b2bae
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/FluentdFormatterTest.php
@@ -0,0 +1,62 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Monolog\Logger;
+use Monolog\TestCase;
+
+class FluentdFormatterTest extends TestCase
+{
+ /**
+ * @covers Monolog\Formatter\FluentdFormatter::__construct
+ * @covers Monolog\Formatter\FluentdFormatter::isUsingLevelsInTag
+ */
+ public function testConstruct()
+ {
+ $formatter = new FluentdFormatter();
+ $this->assertEquals(false, $formatter->isUsingLevelsInTag());
+ $formatter = new FluentdFormatter(false);
+ $this->assertEquals(false, $formatter->isUsingLevelsInTag());
+ $formatter = new FluentdFormatter(true);
+ $this->assertEquals(true, $formatter->isUsingLevelsInTag());
+ }
+
+ /**
+ * @covers Monolog\Formatter\FluentdFormatter::format
+ */
+ public function testFormat()
+ {
+ $record = $this->getRecord(Logger::WARNING);
+ $record['datetime'] = new \DateTime("@0");
+
+ $formatter = new FluentdFormatter();
+ $this->assertEquals(
+ '["test",0,{"message":"test","extra":[],"level":300,"level_name":"WARNING"}]',
+ $formatter->format($record)
+ );
+ }
+
+ /**
+ * @covers Monolog\Formatter\FluentdFormatter::format
+ */
+ public function testFormatWithTag()
+ {
+ $record = $this->getRecord(Logger::ERROR);
+ $record['datetime'] = new \DateTime("@0");
+
+ $formatter = new FluentdFormatter(true);
+ $this->assertEquals(
+ '["test.error",0,{"message":"test","extra":[]}]',
+ $formatter->format($record)
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/GelfMessageFormatterTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/GelfMessageFormatterTest.php
new file mode 100644
index 00000000..4a247616
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/GelfMessageFormatterTest.php
@@ -0,0 +1,258 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Monolog\Logger;
+
+class GelfMessageFormatterTest extends \PHPUnit_Framework_TestCase
+{
+ public function setUp()
+ {
+ if (!class_exists('\Gelf\Message')) {
+ $this->markTestSkipped("graylog2/gelf-php or mlehner/gelf-php is not installed");
+ }
+ }
+
+ /**
+ * @covers Monolog\Formatter\GelfMessageFormatter::format
+ */
+ public function testDefaultFormatter()
+ {
+ $formatter = new GelfMessageFormatter();
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array(),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array(),
+ 'message' => 'log',
+ );
+
+ $message = $formatter->format($record);
+
+ $this->assertInstanceOf('Gelf\Message', $message);
+ $this->assertEquals(0, $message->getTimestamp());
+ $this->assertEquals('log', $message->getShortMessage());
+ $this->assertEquals('meh', $message->getFacility());
+ $this->assertEquals(null, $message->getLine());
+ $this->assertEquals(null, $message->getFile());
+ $this->assertEquals($this->isLegacy() ? 3 : 'error', $message->getLevel());
+ $this->assertNotEmpty($message->getHost());
+
+ $formatter = new GelfMessageFormatter('mysystem');
+
+ $message = $formatter->format($record);
+
+ $this->assertInstanceOf('Gelf\Message', $message);
+ $this->assertEquals('mysystem', $message->getHost());
+ }
+
+ /**
+ * @covers Monolog\Formatter\GelfMessageFormatter::format
+ */
+ public function testFormatWithFileAndLine()
+ {
+ $formatter = new GelfMessageFormatter();
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('from' => 'logger'),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('file' => 'test', 'line' => 14),
+ 'message' => 'log',
+ );
+
+ $message = $formatter->format($record);
+
+ $this->assertInstanceOf('Gelf\Message', $message);
+ $this->assertEquals('test', $message->getFile());
+ $this->assertEquals(14, $message->getLine());
+ }
+
+ /**
+ * @covers Monolog\Formatter\GelfMessageFormatter::format
+ * @expectedException InvalidArgumentException
+ */
+ public function testFormatInvalidFails()
+ {
+ $formatter = new GelfMessageFormatter();
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ );
+
+ $formatter->format($record);
+ }
+
+ /**
+ * @covers Monolog\Formatter\GelfMessageFormatter::format
+ */
+ public function testFormatWithContext()
+ {
+ $formatter = new GelfMessageFormatter();
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('from' => 'logger'),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('key' => 'pair'),
+ 'message' => 'log',
+ );
+
+ $message = $formatter->format($record);
+
+ $this->assertInstanceOf('Gelf\Message', $message);
+
+ $message_array = $message->toArray();
+
+ $this->assertArrayHasKey('_ctxt_from', $message_array);
+ $this->assertEquals('logger', $message_array['_ctxt_from']);
+
+ // Test with extraPrefix
+ $formatter = new GelfMessageFormatter(null, null, 'CTX');
+ $message = $formatter->format($record);
+
+ $this->assertInstanceOf('Gelf\Message', $message);
+
+ $message_array = $message->toArray();
+
+ $this->assertArrayHasKey('_CTXfrom', $message_array);
+ $this->assertEquals('logger', $message_array['_CTXfrom']);
+ }
+
+ /**
+ * @covers Monolog\Formatter\GelfMessageFormatter::format
+ */
+ public function testFormatWithContextContainingException()
+ {
+ $formatter = new GelfMessageFormatter();
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('from' => 'logger', 'exception' => array(
+ 'class' => '\Exception',
+ 'file' => '/some/file/in/dir.php:56',
+ 'trace' => array('/some/file/1.php:23', '/some/file/2.php:3'),
+ )),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array(),
+ 'message' => 'log',
+ );
+
+ $message = $formatter->format($record);
+
+ $this->assertInstanceOf('Gelf\Message', $message);
+
+ $this->assertEquals("/some/file/in/dir.php", $message->getFile());
+ $this->assertEquals("56", $message->getLine());
+ }
+
+ /**
+ * @covers Monolog\Formatter\GelfMessageFormatter::format
+ */
+ public function testFormatWithExtra()
+ {
+ $formatter = new GelfMessageFormatter();
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('from' => 'logger'),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('key' => 'pair'),
+ 'message' => 'log',
+ );
+
+ $message = $formatter->format($record);
+
+ $this->assertInstanceOf('Gelf\Message', $message);
+
+ $message_array = $message->toArray();
+
+ $this->assertArrayHasKey('_key', $message_array);
+ $this->assertEquals('pair', $message_array['_key']);
+
+ // Test with extraPrefix
+ $formatter = new GelfMessageFormatter(null, 'EXT');
+ $message = $formatter->format($record);
+
+ $this->assertInstanceOf('Gelf\Message', $message);
+
+ $message_array = $message->toArray();
+
+ $this->assertArrayHasKey('_EXTkey', $message_array);
+ $this->assertEquals('pair', $message_array['_EXTkey']);
+ }
+
+ public function testFormatWithLargeData()
+ {
+ $formatter = new GelfMessageFormatter();
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('exception' => str_repeat(' ', 32767)),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('key' => str_repeat(' ', 32767)),
+ 'message' => 'log'
+ );
+ $message = $formatter->format($record);
+ $messageArray = $message->toArray();
+
+ // 200 for padding + metadata
+ $length = 200;
+
+ foreach ($messageArray as $key => $value) {
+ if (!in_array($key, array('level', 'timestamp'))) {
+ $length += strlen($value);
+ }
+ }
+
+ $this->assertLessThanOrEqual(65792, $length, 'The message length is no longer than the maximum allowed length');
+ }
+
+ public function testFormatWithUnlimitedLength()
+ {
+ $formatter = new GelfMessageFormatter('LONG_SYSTEM_NAME', null, 'ctxt_', PHP_INT_MAX);
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('exception' => str_repeat(' ', 32767 * 2)),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('key' => str_repeat(' ', 32767 * 2)),
+ 'message' => 'log'
+ );
+ $message = $formatter->format($record);
+ $messageArray = $message->toArray();
+
+ // 200 for padding + metadata
+ $length = 200;
+
+ foreach ($messageArray as $key => $value) {
+ if (!in_array($key, array('level', 'timestamp'))) {
+ $length += strlen($value);
+ }
+ }
+
+ $this->assertGreaterThanOrEqual(131289, $length, 'The message should not be truncated');
+ }
+
+ private function isLegacy()
+ {
+ return interface_exists('\Gelf\IMessagePublisher');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/JsonFormatterTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/JsonFormatterTest.php
new file mode 100644
index 00000000..c9445f36
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/JsonFormatterTest.php
@@ -0,0 +1,183 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Monolog\Logger;
+use Monolog\TestCase;
+
+class JsonFormatterTest extends TestCase
+{
+ /**
+ * @covers Monolog\Formatter\JsonFormatter::__construct
+ * @covers Monolog\Formatter\JsonFormatter::getBatchMode
+ * @covers Monolog\Formatter\JsonFormatter::isAppendingNewlines
+ */
+ public function testConstruct()
+ {
+ $formatter = new JsonFormatter();
+ $this->assertEquals(JsonFormatter::BATCH_MODE_JSON, $formatter->getBatchMode());
+ $this->assertEquals(true, $formatter->isAppendingNewlines());
+ $formatter = new JsonFormatter(JsonFormatter::BATCH_MODE_NEWLINES, false);
+ $this->assertEquals(JsonFormatter::BATCH_MODE_NEWLINES, $formatter->getBatchMode());
+ $this->assertEquals(false, $formatter->isAppendingNewlines());
+ }
+
+ /**
+ * @covers Monolog\Formatter\JsonFormatter::format
+ */
+ public function testFormat()
+ {
+ $formatter = new JsonFormatter();
+ $record = $this->getRecord();
+ $this->assertEquals(json_encode($record)."\n", $formatter->format($record));
+
+ $formatter = new JsonFormatter(JsonFormatter::BATCH_MODE_JSON, false);
+ $record = $this->getRecord();
+ $this->assertEquals(json_encode($record), $formatter->format($record));
+ }
+
+ /**
+ * @covers Monolog\Formatter\JsonFormatter::formatBatch
+ * @covers Monolog\Formatter\JsonFormatter::formatBatchJson
+ */
+ public function testFormatBatch()
+ {
+ $formatter = new JsonFormatter();
+ $records = array(
+ $this->getRecord(Logger::WARNING),
+ $this->getRecord(Logger::DEBUG),
+ );
+ $this->assertEquals(json_encode($records), $formatter->formatBatch($records));
+ }
+
+ /**
+ * @covers Monolog\Formatter\JsonFormatter::formatBatch
+ * @covers Monolog\Formatter\JsonFormatter::formatBatchNewlines
+ */
+ public function testFormatBatchNewlines()
+ {
+ $formatter = new JsonFormatter(JsonFormatter::BATCH_MODE_NEWLINES);
+ $records = $expected = array(
+ $this->getRecord(Logger::WARNING),
+ $this->getRecord(Logger::DEBUG),
+ );
+ array_walk($expected, function (&$value, $key) {
+ $value = json_encode($value);
+ });
+ $this->assertEquals(implode("\n", $expected), $formatter->formatBatch($records));
+ }
+
+ public function testDefFormatWithException()
+ {
+ $formatter = new JsonFormatter();
+ $exception = new \RuntimeException('Foo');
+ $formattedException = $this->formatException($exception);
+
+ $message = $this->formatRecordWithExceptionInContext($formatter, $exception);
+
+ $this->assertContextContainsFormattedException($formattedException, $message);
+ }
+
+ public function testDefFormatWithPreviousException()
+ {
+ $formatter = new JsonFormatter();
+ $exception = new \RuntimeException('Foo', 0, new \LogicException('Wut?'));
+ $formattedPrevException = $this->formatException($exception->getPrevious());
+ $formattedException = $this->formatException($exception, $formattedPrevException);
+
+ $message = $this->formatRecordWithExceptionInContext($formatter, $exception);
+
+ $this->assertContextContainsFormattedException($formattedException, $message);
+ }
+
+ public function testDefFormatWithThrowable()
+ {
+ if (!class_exists('Error') || !is_subclass_of('Error', 'Throwable')) {
+ $this->markTestSkipped('Requires PHP >=7');
+ }
+
+ $formatter = new JsonFormatter();
+ $throwable = new \Error('Foo');
+ $formattedThrowable = $this->formatException($throwable);
+
+ $message = $this->formatRecordWithExceptionInContext($formatter, $throwable);
+
+ $this->assertContextContainsFormattedException($formattedThrowable, $message);
+ }
+
+ /**
+ * @param string $expected
+ * @param string $actual
+ *
+ * @internal param string $exception
+ */
+ private function assertContextContainsFormattedException($expected, $actual)
+ {
+ $this->assertEquals(
+ '{"level_name":"CRITICAL","channel":"core","context":{"exception":'.$expected.'},"datetime":null,"extra":[],"message":"foobar"}'."\n",
+ $actual
+ );
+ }
+
+ /**
+ * @param JsonFormatter $formatter
+ * @param \Exception|\Throwable $exception
+ *
+ * @return string
+ */
+ private function formatRecordWithExceptionInContext(JsonFormatter $formatter, $exception)
+ {
+ $message = $formatter->format(array(
+ 'level_name' => 'CRITICAL',
+ 'channel' => 'core',
+ 'context' => array('exception' => $exception),
+ 'datetime' => null,
+ 'extra' => array(),
+ 'message' => 'foobar',
+ ));
+ return $message;
+ }
+
+ /**
+ * @param \Exception|\Throwable $exception
+ *
+ * @return string
+ */
+ private function formatExceptionFilePathWithLine($exception)
+ {
+ $options = 0;
+ if (version_compare(PHP_VERSION, '5.4.0', '>=')) {
+ $options = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE;
+ }
+ $path = substr(json_encode($exception->getFile(), $options), 1, -1);
+ return $path . ':' . $exception->getLine();
+ }
+
+ /**
+ * @param \Exception|\Throwable $exception
+ *
+ * @param null|string $previous
+ *
+ * @return string
+ */
+ private function formatException($exception, $previous = null)
+ {
+ $formattedException =
+ '{"class":"' . get_class($exception) .
+ '","message":"' . $exception->getMessage() .
+ '","code":' . $exception->getCode() .
+ ',"file":"' . $this->formatExceptionFilePathWithLine($exception) .
+ ($previous ? '","previous":' . $previous : '"') .
+ '}';
+ return $formattedException;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LineFormatterTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LineFormatterTest.php
new file mode 100644
index 00000000..310d93ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LineFormatterTest.php
@@ -0,0 +1,222 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+/**
+ * @covers Monolog\Formatter\LineFormatter
+ */
+class LineFormatterTest extends \PHPUnit_Framework_TestCase
+{
+ public function testDefFormatWithString()
+ {
+ $formatter = new LineFormatter(null, 'Y-m-d');
+ $message = $formatter->format(array(
+ 'level_name' => 'WARNING',
+ 'channel' => 'log',
+ 'context' => array(),
+ 'message' => 'foo',
+ 'datetime' => new \DateTime,
+ 'extra' => array(),
+ ));
+ $this->assertEquals('['.date('Y-m-d').'] log.WARNING: foo [] []'."\n", $message);
+ }
+
+ public function testDefFormatWithArrayContext()
+ {
+ $formatter = new LineFormatter(null, 'Y-m-d');
+ $message = $formatter->format(array(
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'message' => 'foo',
+ 'datetime' => new \DateTime,
+ 'extra' => array(),
+ 'context' => array(
+ 'foo' => 'bar',
+ 'baz' => 'qux',
+ 'bool' => false,
+ 'null' => null,
+ ),
+ ));
+ $this->assertEquals('['.date('Y-m-d').'] meh.ERROR: foo {"foo":"bar","baz":"qux","bool":false,"null":null} []'."\n", $message);
+ }
+
+ public function testDefFormatExtras()
+ {
+ $formatter = new LineFormatter(null, 'Y-m-d');
+ $message = $formatter->format(array(
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array(),
+ 'datetime' => new \DateTime,
+ 'extra' => array('ip' => '127.0.0.1'),
+ 'message' => 'log',
+ ));
+ $this->assertEquals('['.date('Y-m-d').'] meh.ERROR: log [] {"ip":"127.0.0.1"}'."\n", $message);
+ }
+
+ public function testFormatExtras()
+ {
+ $formatter = new LineFormatter("[%datetime%] %channel%.%level_name%: %message% %context% %extra.file% %extra%\n", 'Y-m-d');
+ $message = $formatter->format(array(
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array(),
+ 'datetime' => new \DateTime,
+ 'extra' => array('ip' => '127.0.0.1', 'file' => 'test'),
+ 'message' => 'log',
+ ));
+ $this->assertEquals('['.date('Y-m-d').'] meh.ERROR: log [] test {"ip":"127.0.0.1"}'."\n", $message);
+ }
+
+ public function testContextAndExtraOptionallyNotShownIfEmpty()
+ {
+ $formatter = new LineFormatter(null, 'Y-m-d', false, true);
+ $message = $formatter->format(array(
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array(),
+ 'datetime' => new \DateTime,
+ 'extra' => array(),
+ 'message' => 'log',
+ ));
+ $this->assertEquals('['.date('Y-m-d').'] meh.ERROR: log '."\n", $message);
+ }
+
+ public function testContextAndExtraReplacement()
+ {
+ $formatter = new LineFormatter('%context.foo% => %extra.foo%');
+ $message = $formatter->format(array(
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('foo' => 'bar'),
+ 'datetime' => new \DateTime,
+ 'extra' => array('foo' => 'xbar'),
+ 'message' => 'log',
+ ));
+ $this->assertEquals('bar => xbar', $message);
+ }
+
+ public function testDefFormatWithObject()
+ {
+ $formatter = new LineFormatter(null, 'Y-m-d');
+ $message = $formatter->format(array(
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array(),
+ 'datetime' => new \DateTime,
+ 'extra' => array('foo' => new TestFoo, 'bar' => new TestBar, 'baz' => array(), 'res' => fopen('php://memory', 'rb')),
+ 'message' => 'foobar',
+ ));
+
+ $this->assertEquals('['.date('Y-m-d').'] meh.ERROR: foobar [] {"foo":"[object] (Monolog\\\\Formatter\\\\TestFoo: {\\"foo\\":\\"foo\\"})","bar":"[object] (Monolog\\\\Formatter\\\\TestBar: bar)","baz":[],"res":"[resource] (stream)"}'."\n", $message);
+ }
+
+ public function testDefFormatWithException()
+ {
+ $formatter = new LineFormatter(null, 'Y-m-d');
+ $message = $formatter->format(array(
+ 'level_name' => 'CRITICAL',
+ 'channel' => 'core',
+ 'context' => array('exception' => new \RuntimeException('Foo')),
+ 'datetime' => new \DateTime,
+ 'extra' => array(),
+ 'message' => 'foobar',
+ ));
+
+ $path = str_replace('\\/', '/', json_encode(__FILE__));
+
+ $this->assertEquals('['.date('Y-m-d').'] core.CRITICAL: foobar {"exception":"[object] (RuntimeException(code: 0): Foo at '.substr($path, 1, -1).':'.(__LINE__ - 8).')"} []'."\n", $message);
+ }
+
+ public function testDefFormatWithPreviousException()
+ {
+ $formatter = new LineFormatter(null, 'Y-m-d');
+ $previous = new \LogicException('Wut?');
+ $message = $formatter->format(array(
+ 'level_name' => 'CRITICAL',
+ 'channel' => 'core',
+ 'context' => array('exception' => new \RuntimeException('Foo', 0, $previous)),
+ 'datetime' => new \DateTime,
+ 'extra' => array(),
+ 'message' => 'foobar',
+ ));
+
+ $path = str_replace('\\/', '/', json_encode(__FILE__));
+
+ $this->assertEquals('['.date('Y-m-d').'] core.CRITICAL: foobar {"exception":"[object] (RuntimeException(code: 0): Foo at '.substr($path, 1, -1).':'.(__LINE__ - 8).', LogicException(code: 0): Wut? at '.substr($path, 1, -1).':'.(__LINE__ - 12).')"} []'."\n", $message);
+ }
+
+ public function testBatchFormat()
+ {
+ $formatter = new LineFormatter(null, 'Y-m-d');
+ $message = $formatter->formatBatch(array(
+ array(
+ 'level_name' => 'CRITICAL',
+ 'channel' => 'test',
+ 'message' => 'bar',
+ 'context' => array(),
+ 'datetime' => new \DateTime,
+ 'extra' => array(),
+ ),
+ array(
+ 'level_name' => 'WARNING',
+ 'channel' => 'log',
+ 'message' => 'foo',
+ 'context' => array(),
+ 'datetime' => new \DateTime,
+ 'extra' => array(),
+ ),
+ ));
+ $this->assertEquals('['.date('Y-m-d').'] test.CRITICAL: bar [] []'."\n".'['.date('Y-m-d').'] log.WARNING: foo [] []'."\n", $message);
+ }
+
+ public function testFormatShouldStripInlineLineBreaks()
+ {
+ $formatter = new LineFormatter(null, 'Y-m-d');
+ $message = $formatter->format(
+ array(
+ 'message' => "foo\nbar",
+ 'context' => array(),
+ 'extra' => array(),
+ )
+ );
+
+ $this->assertRegExp('/foo bar/', $message);
+ }
+
+ public function testFormatShouldNotStripInlineLineBreaksWhenFlagIsSet()
+ {
+ $formatter = new LineFormatter(null, 'Y-m-d', true);
+ $message = $formatter->format(
+ array(
+ 'message' => "foo\nbar",
+ 'context' => array(),
+ 'extra' => array(),
+ )
+ );
+
+ $this->assertRegExp('/foo\nbar/', $message);
+ }
+}
+
+class TestFoo
+{
+ public $foo = 'foo';
+}
+
+class TestBar
+{
+ public function __toString()
+ {
+ return 'bar';
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LogglyFormatterTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LogglyFormatterTest.php
new file mode 100644
index 00000000..6d59b3f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LogglyFormatterTest.php
@@ -0,0 +1,40 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Monolog\TestCase;
+
+class LogglyFormatterTest extends TestCase
+{
+ /**
+ * @covers Monolog\Formatter\LogglyFormatter::__construct
+ */
+ public function testConstruct()
+ {
+ $formatter = new LogglyFormatter();
+ $this->assertEquals(LogglyFormatter::BATCH_MODE_NEWLINES, $formatter->getBatchMode());
+ $formatter = new LogglyFormatter(LogglyFormatter::BATCH_MODE_JSON);
+ $this->assertEquals(LogglyFormatter::BATCH_MODE_JSON, $formatter->getBatchMode());
+ }
+
+ /**
+ * @covers Monolog\Formatter\LogglyFormatter::format
+ */
+ public function testFormat()
+ {
+ $formatter = new LogglyFormatter();
+ $record = $this->getRecord();
+ $formatted_decoded = json_decode($formatter->format($record), true);
+ $this->assertArrayHasKey("timestamp", $formatted_decoded);
+ $this->assertEquals(new \DateTime($formatted_decoded["timestamp"]), $record["datetime"]);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LogstashFormatterTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LogstashFormatterTest.php
new file mode 100644
index 00000000..9f6b1cc4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LogstashFormatterTest.php
@@ -0,0 +1,333 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Monolog\Logger;
+
+class LogstashFormatterTest extends \PHPUnit_Framework_TestCase
+{
+ public function tearDown()
+ {
+ \PHPUnit_Framework_Error_Warning::$enabled = true;
+
+ return parent::tearDown();
+ }
+
+ /**
+ * @covers Monolog\Formatter\LogstashFormatter::format
+ */
+ public function testDefaultFormatter()
+ {
+ $formatter = new LogstashFormatter('test', 'hostname');
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array(),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array(),
+ 'message' => 'log',
+ );
+
+ $message = json_decode($formatter->format($record), true);
+
+ $this->assertEquals("1970-01-01T00:00:00.000000+00:00", $message['@timestamp']);
+ $this->assertEquals('log', $message['@message']);
+ $this->assertEquals('meh', $message['@fields']['channel']);
+ $this->assertContains('meh', $message['@tags']);
+ $this->assertEquals(Logger::ERROR, $message['@fields']['level']);
+ $this->assertEquals('test', $message['@type']);
+ $this->assertEquals('hostname', $message['@source']);
+
+ $formatter = new LogstashFormatter('mysystem');
+
+ $message = json_decode($formatter->format($record), true);
+
+ $this->assertEquals('mysystem', $message['@type']);
+ }
+
+ /**
+ * @covers Monolog\Formatter\LogstashFormatter::format
+ */
+ public function testFormatWithFileAndLine()
+ {
+ $formatter = new LogstashFormatter('test');
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('from' => 'logger'),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('file' => 'test', 'line' => 14),
+ 'message' => 'log',
+ );
+
+ $message = json_decode($formatter->format($record), true);
+
+ $this->assertEquals('test', $message['@fields']['file']);
+ $this->assertEquals(14, $message['@fields']['line']);
+ }
+
+ /**
+ * @covers Monolog\Formatter\LogstashFormatter::format
+ */
+ public function testFormatWithContext()
+ {
+ $formatter = new LogstashFormatter('test');
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('from' => 'logger'),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('key' => 'pair'),
+ 'message' => 'log',
+ );
+
+ $message = json_decode($formatter->format($record), true);
+
+ $message_array = $message['@fields'];
+
+ $this->assertArrayHasKey('ctxt_from', $message_array);
+ $this->assertEquals('logger', $message_array['ctxt_from']);
+
+ // Test with extraPrefix
+ $formatter = new LogstashFormatter('test', null, null, 'CTX');
+ $message = json_decode($formatter->format($record), true);
+
+ $message_array = $message['@fields'];
+
+ $this->assertArrayHasKey('CTXfrom', $message_array);
+ $this->assertEquals('logger', $message_array['CTXfrom']);
+ }
+
+ /**
+ * @covers Monolog\Formatter\LogstashFormatter::format
+ */
+ public function testFormatWithExtra()
+ {
+ $formatter = new LogstashFormatter('test');
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('from' => 'logger'),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('key' => 'pair'),
+ 'message' => 'log',
+ );
+
+ $message = json_decode($formatter->format($record), true);
+
+ $message_array = $message['@fields'];
+
+ $this->assertArrayHasKey('key', $message_array);
+ $this->assertEquals('pair', $message_array['key']);
+
+ // Test with extraPrefix
+ $formatter = new LogstashFormatter('test', null, 'EXT');
+ $message = json_decode($formatter->format($record), true);
+
+ $message_array = $message['@fields'];
+
+ $this->assertArrayHasKey('EXTkey', $message_array);
+ $this->assertEquals('pair', $message_array['EXTkey']);
+ }
+
+ public function testFormatWithApplicationName()
+ {
+ $formatter = new LogstashFormatter('app', 'test');
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('from' => 'logger'),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('key' => 'pair'),
+ 'message' => 'log',
+ );
+
+ $message = json_decode($formatter->format($record), true);
+
+ $this->assertArrayHasKey('@type', $message);
+ $this->assertEquals('app', $message['@type']);
+ }
+
+ /**
+ * @covers Monolog\Formatter\LogstashFormatter::format
+ */
+ public function testDefaultFormatterV1()
+ {
+ $formatter = new LogstashFormatter('test', 'hostname', null, 'ctxt_', LogstashFormatter::V1);
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array(),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array(),
+ 'message' => 'log',
+ );
+
+ $message = json_decode($formatter->format($record), true);
+
+ $this->assertEquals("1970-01-01T00:00:00.000000+00:00", $message['@timestamp']);
+ $this->assertEquals("1", $message['@version']);
+ $this->assertEquals('log', $message['message']);
+ $this->assertEquals('meh', $message['channel']);
+ $this->assertEquals('ERROR', $message['level']);
+ $this->assertEquals('test', $message['type']);
+ $this->assertEquals('hostname', $message['host']);
+
+ $formatter = new LogstashFormatter('mysystem', null, null, 'ctxt_', LogstashFormatter::V1);
+
+ $message = json_decode($formatter->format($record), true);
+
+ $this->assertEquals('mysystem', $message['type']);
+ }
+
+ /**
+ * @covers Monolog\Formatter\LogstashFormatter::format
+ */
+ public function testFormatWithFileAndLineV1()
+ {
+ $formatter = new LogstashFormatter('test', null, null, 'ctxt_', LogstashFormatter::V1);
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('from' => 'logger'),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('file' => 'test', 'line' => 14),
+ 'message' => 'log',
+ );
+
+ $message = json_decode($formatter->format($record), true);
+
+ $this->assertEquals('test', $message['file']);
+ $this->assertEquals(14, $message['line']);
+ }
+
+ /**
+ * @covers Monolog\Formatter\LogstashFormatter::format
+ */
+ public function testFormatWithContextV1()
+ {
+ $formatter = new LogstashFormatter('test', null, null, 'ctxt_', LogstashFormatter::V1);
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('from' => 'logger'),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('key' => 'pair'),
+ 'message' => 'log',
+ );
+
+ $message = json_decode($formatter->format($record), true);
+
+ $this->assertArrayHasKey('ctxt_from', $message);
+ $this->assertEquals('logger', $message['ctxt_from']);
+
+ // Test with extraPrefix
+ $formatter = new LogstashFormatter('test', null, null, 'CTX', LogstashFormatter::V1);
+ $message = json_decode($formatter->format($record), true);
+
+ $this->assertArrayHasKey('CTXfrom', $message);
+ $this->assertEquals('logger', $message['CTXfrom']);
+ }
+
+ /**
+ * @covers Monolog\Formatter\LogstashFormatter::format
+ */
+ public function testFormatWithExtraV1()
+ {
+ $formatter = new LogstashFormatter('test', null, null, 'ctxt_', LogstashFormatter::V1);
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('from' => 'logger'),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('key' => 'pair'),
+ 'message' => 'log',
+ );
+
+ $message = json_decode($formatter->format($record), true);
+
+ $this->assertArrayHasKey('key', $message);
+ $this->assertEquals('pair', $message['key']);
+
+ // Test with extraPrefix
+ $formatter = new LogstashFormatter('test', null, 'EXT', 'ctxt_', LogstashFormatter::V1);
+ $message = json_decode($formatter->format($record), true);
+
+ $this->assertArrayHasKey('EXTkey', $message);
+ $this->assertEquals('pair', $message['EXTkey']);
+ }
+
+ public function testFormatWithApplicationNameV1()
+ {
+ $formatter = new LogstashFormatter('app', 'test', null, 'ctxt_', LogstashFormatter::V1);
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('from' => 'logger'),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('key' => 'pair'),
+ 'message' => 'log',
+ );
+
+ $message = json_decode($formatter->format($record), true);
+
+ $this->assertArrayHasKey('type', $message);
+ $this->assertEquals('app', $message['type']);
+ }
+
+ public function testFormatWithLatin9Data()
+ {
+ if (version_compare(PHP_VERSION, '5.5.0', '<')) {
+ // Ignore the warning that will be emitted by PHP <5.5.0
+ \PHPUnit_Framework_Error_Warning::$enabled = false;
+ }
+ $formatter = new LogstashFormatter('test', 'hostname');
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => '¯\_(ツ)_/¯',
+ 'context' => array(),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array(
+ 'user_agent' => "\xD6WN; FBCR/OrangeEspa\xF1a; Vers\xE3o/4.0; F\xE4rist",
+ ),
+ 'message' => 'log',
+ );
+
+ $message = json_decode($formatter->format($record), true);
+
+ $this->assertEquals("1970-01-01T00:00:00.000000+00:00", $message['@timestamp']);
+ $this->assertEquals('log', $message['@message']);
+ $this->assertEquals('¯\_(ツ)_/¯', $message['@fields']['channel']);
+ $this->assertContains('¯\_(ツ)_/¯', $message['@tags']);
+ $this->assertEquals(Logger::ERROR, $message['@fields']['level']);
+ $this->assertEquals('test', $message['@type']);
+ $this->assertEquals('hostname', $message['@source']);
+ if (version_compare(PHP_VERSION, '5.5.0', '>=')) {
+ $this->assertEquals('ÖWN; FBCR/OrangeEspaña; Versão/4.0; Färist', $message['@fields']['user_agent']);
+ } else {
+ // PHP <5.5 does not return false for an element encoding failure,
+ // instead it emits a warning (possibly) and nulls the value.
+ $this->assertEquals(null, $message['@fields']['user_agent']);
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/MongoDBFormatterTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/MongoDBFormatterTest.php
new file mode 100644
index 00000000..52e699e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/MongoDBFormatterTest.php
@@ -0,0 +1,262 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Monolog\Logger;
+
+/**
+ * @author Florian Plattner <me@florianplattner.de>
+ */
+class MongoDBFormatterTest extends \PHPUnit_Framework_TestCase
+{
+ public function setUp()
+ {
+ if (!class_exists('MongoDate')) {
+ $this->markTestSkipped('mongo extension not installed');
+ }
+ }
+
+ public function constructArgumentProvider()
+ {
+ return array(
+ array(1, true, 1, true),
+ array(0, false, 0, false),
+ );
+ }
+
+ /**
+ * @param $traceDepth
+ * @param $traceAsString
+ * @param $expectedTraceDepth
+ * @param $expectedTraceAsString
+ *
+ * @dataProvider constructArgumentProvider
+ */
+ public function testConstruct($traceDepth, $traceAsString, $expectedTraceDepth, $expectedTraceAsString)
+ {
+ $formatter = new MongoDBFormatter($traceDepth, $traceAsString);
+
+ $reflTrace = new \ReflectionProperty($formatter, 'exceptionTraceAsString');
+ $reflTrace->setAccessible(true);
+ $this->assertEquals($expectedTraceAsString, $reflTrace->getValue($formatter));
+
+ $reflDepth = new\ReflectionProperty($formatter, 'maxNestingLevel');
+ $reflDepth->setAccessible(true);
+ $this->assertEquals($expectedTraceDepth, $reflDepth->getValue($formatter));
+ }
+
+ public function testSimpleFormat()
+ {
+ $record = array(
+ 'message' => 'some log message',
+ 'context' => array(),
+ 'level' => Logger::WARNING,
+ 'level_name' => Logger::getLevelName(Logger::WARNING),
+ 'channel' => 'test',
+ 'datetime' => new \DateTime('2014-02-01 00:00:00'),
+ 'extra' => array(),
+ );
+
+ $formatter = new MongoDBFormatter();
+ $formattedRecord = $formatter->format($record);
+
+ $this->assertCount(7, $formattedRecord);
+ $this->assertEquals('some log message', $formattedRecord['message']);
+ $this->assertEquals(array(), $formattedRecord['context']);
+ $this->assertEquals(Logger::WARNING, $formattedRecord['level']);
+ $this->assertEquals(Logger::getLevelName(Logger::WARNING), $formattedRecord['level_name']);
+ $this->assertEquals('test', $formattedRecord['channel']);
+ $this->assertInstanceOf('\MongoDate', $formattedRecord['datetime']);
+ $this->assertEquals('0.00000000 1391212800', $formattedRecord['datetime']->__toString());
+ $this->assertEquals(array(), $formattedRecord['extra']);
+ }
+
+ public function testRecursiveFormat()
+ {
+ $someObject = new \stdClass();
+ $someObject->foo = 'something';
+ $someObject->bar = 'stuff';
+
+ $record = array(
+ 'message' => 'some log message',
+ 'context' => array(
+ 'stuff' => new \DateTime('2014-02-01 02:31:33'),
+ 'some_object' => $someObject,
+ 'context_string' => 'some string',
+ 'context_int' => 123456,
+ 'except' => new \Exception('exception message', 987),
+ ),
+ 'level' => Logger::WARNING,
+ 'level_name' => Logger::getLevelName(Logger::WARNING),
+ 'channel' => 'test',
+ 'datetime' => new \DateTime('2014-02-01 00:00:00'),
+ 'extra' => array(),
+ );
+
+ $formatter = new MongoDBFormatter();
+ $formattedRecord = $formatter->format($record);
+
+ $this->assertCount(5, $formattedRecord['context']);
+ $this->assertInstanceOf('\MongoDate', $formattedRecord['context']['stuff']);
+ $this->assertEquals('0.00000000 1391221893', $formattedRecord['context']['stuff']->__toString());
+ $this->assertEquals(
+ array(
+ 'foo' => 'something',
+ 'bar' => 'stuff',
+ 'class' => 'stdClass',
+ ),
+ $formattedRecord['context']['some_object']
+ );
+ $this->assertEquals('some string', $formattedRecord['context']['context_string']);
+ $this->assertEquals(123456, $formattedRecord['context']['context_int']);
+
+ $this->assertCount(5, $formattedRecord['context']['except']);
+ $this->assertEquals('exception message', $formattedRecord['context']['except']['message']);
+ $this->assertEquals(987, $formattedRecord['context']['except']['code']);
+ $this->assertInternalType('string', $formattedRecord['context']['except']['file']);
+ $this->assertInternalType('integer', $formattedRecord['context']['except']['code']);
+ $this->assertInternalType('string', $formattedRecord['context']['except']['trace']);
+ $this->assertEquals('Exception', $formattedRecord['context']['except']['class']);
+ }
+
+ public function testFormatDepthArray()
+ {
+ $record = array(
+ 'message' => 'some log message',
+ 'context' => array(
+ 'nest2' => array(
+ 'property' => 'anything',
+ 'nest3' => array(
+ 'nest4' => 'value',
+ 'property' => 'nothing',
+ ),
+ ),
+ ),
+ 'level' => Logger::WARNING,
+ 'level_name' => Logger::getLevelName(Logger::WARNING),
+ 'channel' => 'test',
+ 'datetime' => new \DateTime('2014-02-01 00:00:00'),
+ 'extra' => array(),
+ );
+
+ $formatter = new MongoDBFormatter(2);
+ $formattedResult = $formatter->format($record);
+
+ $this->assertEquals(
+ array(
+ 'nest2' => array(
+ 'property' => 'anything',
+ 'nest3' => '[...]',
+ ),
+ ),
+ $formattedResult['context']
+ );
+ }
+
+ public function testFormatDepthArrayInfiniteNesting()
+ {
+ $record = array(
+ 'message' => 'some log message',
+ 'context' => array(
+ 'nest2' => array(
+ 'property' => 'something',
+ 'nest3' => array(
+ 'property' => 'anything',
+ 'nest4' => array(
+ 'property' => 'nothing',
+ ),
+ ),
+ ),
+ ),
+ 'level' => Logger::WARNING,
+ 'level_name' => Logger::getLevelName(Logger::WARNING),
+ 'channel' => 'test',
+ 'datetime' => new \DateTime('2014-02-01 00:00:00'),
+ 'extra' => array(),
+ );
+
+ $formatter = new MongoDBFormatter(0);
+ $formattedResult = $formatter->format($record);
+
+ $this->assertEquals(
+ array(
+ 'nest2' => array(
+ 'property' => 'something',
+ 'nest3' => array(
+ 'property' => 'anything',
+ 'nest4' => array(
+ 'property' => 'nothing',
+ ),
+ ),
+ ),
+ ),
+ $formattedResult['context']
+ );
+ }
+
+ public function testFormatDepthObjects()
+ {
+ $someObject = new \stdClass();
+ $someObject->property = 'anything';
+ $someObject->nest3 = new \stdClass();
+ $someObject->nest3->property = 'nothing';
+ $someObject->nest3->nest4 = 'invisible';
+
+ $record = array(
+ 'message' => 'some log message',
+ 'context' => array(
+ 'nest2' => $someObject,
+ ),
+ 'level' => Logger::WARNING,
+ 'level_name' => Logger::getLevelName(Logger::WARNING),
+ 'channel' => 'test',
+ 'datetime' => new \DateTime('2014-02-01 00:00:00'),
+ 'extra' => array(),
+ );
+
+ $formatter = new MongoDBFormatter(2, true);
+ $formattedResult = $formatter->format($record);
+
+ $this->assertEquals(
+ array(
+ 'nest2' => array(
+ 'property' => 'anything',
+ 'nest3' => '[...]',
+ 'class' => 'stdClass',
+ ),
+ ),
+ $formattedResult['context']
+ );
+ }
+
+ public function testFormatDepthException()
+ {
+ $record = array(
+ 'message' => 'some log message',
+ 'context' => array(
+ 'nest2' => new \Exception('exception message', 987),
+ ),
+ 'level' => Logger::WARNING,
+ 'level_name' => Logger::getLevelName(Logger::WARNING),
+ 'channel' => 'test',
+ 'datetime' => new \DateTime('2014-02-01 00:00:00'),
+ 'extra' => array(),
+ );
+
+ $formatter = new MongoDBFormatter(2, false);
+ $formattedRecord = $formatter->format($record);
+
+ $this->assertEquals('exception message', $formattedRecord['context']['nest2']['message']);
+ $this->assertEquals(987, $formattedRecord['context']['nest2']['code']);
+ $this->assertEquals('[...]', $formattedRecord['context']['nest2']['trace']);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/NormalizerFormatterTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/NormalizerFormatterTest.php
new file mode 100644
index 00000000..57bcdf98
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/NormalizerFormatterTest.php
@@ -0,0 +1,423 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+/**
+ * @covers Monolog\Formatter\NormalizerFormatter
+ */
+class NormalizerFormatterTest extends \PHPUnit_Framework_TestCase
+{
+ public function tearDown()
+ {
+ \PHPUnit_Framework_Error_Warning::$enabled = true;
+
+ return parent::tearDown();
+ }
+
+ public function testFormat()
+ {
+ $formatter = new NormalizerFormatter('Y-m-d');
+ $formatted = $formatter->format(array(
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'message' => 'foo',
+ 'datetime' => new \DateTime,
+ 'extra' => array('foo' => new TestFooNorm, 'bar' => new TestBarNorm, 'baz' => array(), 'res' => fopen('php://memory', 'rb')),
+ 'context' => array(
+ 'foo' => 'bar',
+ 'baz' => 'qux',
+ 'inf' => INF,
+ '-inf' => -INF,
+ 'nan' => acos(4),
+ ),
+ ));
+
+ $this->assertEquals(array(
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'message' => 'foo',
+ 'datetime' => date('Y-m-d'),
+ 'extra' => array(
+ 'foo' => '[object] (Monolog\\Formatter\\TestFooNorm: {"foo":"foo"})',
+ 'bar' => '[object] (Monolog\\Formatter\\TestBarNorm: bar)',
+ 'baz' => array(),
+ 'res' => '[resource] (stream)',
+ ),
+ 'context' => array(
+ 'foo' => 'bar',
+ 'baz' => 'qux',
+ 'inf' => 'INF',
+ '-inf' => '-INF',
+ 'nan' => 'NaN',
+ ),
+ ), $formatted);
+ }
+
+ public function testFormatExceptions()
+ {
+ $formatter = new NormalizerFormatter('Y-m-d');
+ $e = new \LogicException('bar');
+ $e2 = new \RuntimeException('foo', 0, $e);
+ $formatted = $formatter->format(array(
+ 'exception' => $e2,
+ ));
+
+ $this->assertGreaterThan(5, count($formatted['exception']['trace']));
+ $this->assertTrue(isset($formatted['exception']['previous']));
+ unset($formatted['exception']['trace'], $formatted['exception']['previous']);
+
+ $this->assertEquals(array(
+ 'exception' => array(
+ 'class' => get_class($e2),
+ 'message' => $e2->getMessage(),
+ 'code' => $e2->getCode(),
+ 'file' => $e2->getFile().':'.$e2->getLine(),
+ ),
+ ), $formatted);
+ }
+
+ public function testFormatSoapFaultException()
+ {
+ if (!class_exists('SoapFault')) {
+ $this->markTestSkipped('Requires the soap extension');
+ }
+
+ $formatter = new NormalizerFormatter('Y-m-d');
+ $e = new \SoapFault('foo', 'bar', 'hello', 'world');
+ $formatted = $formatter->format(array(
+ 'exception' => $e,
+ ));
+
+ unset($formatted['exception']['trace']);
+
+ $this->assertEquals(array(
+ 'exception' => array(
+ 'class' => 'SoapFault',
+ 'message' => 'bar',
+ 'code' => 0,
+ 'file' => $e->getFile().':'.$e->getLine(),
+ 'faultcode' => 'foo',
+ 'faultactor' => 'hello',
+ 'detail' => 'world',
+ ),
+ ), $formatted);
+ }
+
+ public function testFormatToStringExceptionHandle()
+ {
+ $formatter = new NormalizerFormatter('Y-m-d');
+ $this->setExpectedException('RuntimeException', 'Could not convert to string');
+ $formatter->format(array(
+ 'myObject' => new TestToStringError(),
+ ));
+ }
+
+ public function testBatchFormat()
+ {
+ $formatter = new NormalizerFormatter('Y-m-d');
+ $formatted = $formatter->formatBatch(array(
+ array(
+ 'level_name' => 'CRITICAL',
+ 'channel' => 'test',
+ 'message' => 'bar',
+ 'context' => array(),
+ 'datetime' => new \DateTime,
+ 'extra' => array(),
+ ),
+ array(
+ 'level_name' => 'WARNING',
+ 'channel' => 'log',
+ 'message' => 'foo',
+ 'context' => array(),
+ 'datetime' => new \DateTime,
+ 'extra' => array(),
+ ),
+ ));
+ $this->assertEquals(array(
+ array(
+ 'level_name' => 'CRITICAL',
+ 'channel' => 'test',
+ 'message' => 'bar',
+ 'context' => array(),
+ 'datetime' => date('Y-m-d'),
+ 'extra' => array(),
+ ),
+ array(
+ 'level_name' => 'WARNING',
+ 'channel' => 'log',
+ 'message' => 'foo',
+ 'context' => array(),
+ 'datetime' => date('Y-m-d'),
+ 'extra' => array(),
+ ),
+ ), $formatted);
+ }
+
+ /**
+ * Test issue #137
+ */
+ public function testIgnoresRecursiveObjectReferences()
+ {
+ // set up the recursion
+ $foo = new \stdClass();
+ $bar = new \stdClass();
+
+ $foo->bar = $bar;
+ $bar->foo = $foo;
+
+ // set an error handler to assert that the error is not raised anymore
+ $that = $this;
+ set_error_handler(function ($level, $message, $file, $line, $context) use ($that) {
+ if (error_reporting() & $level) {
+ restore_error_handler();
+ $that->fail("$message should not be raised");
+ }
+ });
+
+ $formatter = new NormalizerFormatter();
+ $reflMethod = new \ReflectionMethod($formatter, 'toJson');
+ $reflMethod->setAccessible(true);
+ $res = $reflMethod->invoke($formatter, array($foo, $bar), true);
+
+ restore_error_handler();
+
+ $this->assertEquals(@json_encode(array($foo, $bar)), $res);
+ }
+
+ public function testIgnoresInvalidTypes()
+ {
+ // set up the recursion
+ $resource = fopen(__FILE__, 'r');
+
+ // set an error handler to assert that the error is not raised anymore
+ $that = $this;
+ set_error_handler(function ($level, $message, $file, $line, $context) use ($that) {
+ if (error_reporting() & $level) {
+ restore_error_handler();
+ $that->fail("$message should not be raised");
+ }
+ });
+
+ $formatter = new NormalizerFormatter();
+ $reflMethod = new \ReflectionMethod($formatter, 'toJson');
+ $reflMethod->setAccessible(true);
+ $res = $reflMethod->invoke($formatter, array($resource), true);
+
+ restore_error_handler();
+
+ $this->assertEquals(@json_encode(array($resource)), $res);
+ }
+
+ public function testNormalizeHandleLargeArrays()
+ {
+ $formatter = new NormalizerFormatter();
+ $largeArray = range(1, 2000);
+
+ $res = $formatter->format(array(
+ 'level_name' => 'CRITICAL',
+ 'channel' => 'test',
+ 'message' => 'bar',
+ 'context' => array($largeArray),
+ 'datetime' => new \DateTime,
+ 'extra' => array(),
+ ));
+
+ $this->assertCount(1000, $res['context'][0]);
+ $this->assertEquals('Over 1000 items (2000 total), aborting normalization', $res['context'][0]['...']);
+ }
+
+ /**
+ * @expectedException RuntimeException
+ */
+ public function testThrowsOnInvalidEncoding()
+ {
+ if (version_compare(PHP_VERSION, '5.5.0', '<')) {
+ // Ignore the warning that will be emitted by PHP <5.5.0
+ \PHPUnit_Framework_Error_Warning::$enabled = false;
+ }
+ $formatter = new NormalizerFormatter();
+ $reflMethod = new \ReflectionMethod($formatter, 'toJson');
+ $reflMethod->setAccessible(true);
+
+ // send an invalid unicode sequence as a object that can't be cleaned
+ $record = new \stdClass;
+ $record->message = "\xB1\x31";
+ $res = $reflMethod->invoke($formatter, $record);
+ if (PHP_VERSION_ID < 50500 && $res === '{"message":null}') {
+ throw new \RuntimeException('PHP 5.3/5.4 throw a warning and null the value instead of returning false entirely');
+ }
+ }
+
+ public function testConvertsInvalidEncodingAsLatin9()
+ {
+ if (version_compare(PHP_VERSION, '5.5.0', '<')) {
+ // Ignore the warning that will be emitted by PHP <5.5.0
+ \PHPUnit_Framework_Error_Warning::$enabled = false;
+ }
+ $formatter = new NormalizerFormatter();
+ $reflMethod = new \ReflectionMethod($formatter, 'toJson');
+ $reflMethod->setAccessible(true);
+
+ $res = $reflMethod->invoke($formatter, array('message' => "\xA4\xA6\xA8\xB4\xB8\xBC\xBD\xBE"));
+
+ if (version_compare(PHP_VERSION, '5.5.0', '>=')) {
+ $this->assertSame('{"message":"€ŠšŽžŒœŸ"}', $res);
+ } else {
+ // PHP <5.5 does not return false for an element encoding failure,
+ // instead it emits a warning (possibly) and nulls the value.
+ $this->assertSame('{"message":null}', $res);
+ }
+ }
+
+ /**
+ * @param mixed $in Input
+ * @param mixed $expect Expected output
+ * @covers Monolog\Formatter\NormalizerFormatter::detectAndCleanUtf8
+ * @dataProvider providesDetectAndCleanUtf8
+ */
+ public function testDetectAndCleanUtf8($in, $expect)
+ {
+ $formatter = new NormalizerFormatter();
+ $formatter->detectAndCleanUtf8($in);
+ $this->assertSame($expect, $in);
+ }
+
+ public function providesDetectAndCleanUtf8()
+ {
+ $obj = new \stdClass;
+
+ return array(
+ 'null' => array(null, null),
+ 'int' => array(123, 123),
+ 'float' => array(123.45, 123.45),
+ 'bool false' => array(false, false),
+ 'bool true' => array(true, true),
+ 'ascii string' => array('abcdef', 'abcdef'),
+ 'latin9 string' => array("\xB1\x31\xA4\xA6\xA8\xB4\xB8\xBC\xBD\xBE\xFF", '±1€ŠšŽžŒœŸÿ'),
+ 'unicode string' => array('¤¦¨´¸¼½¾€ŠšŽžŒœŸ', '¤¦¨´¸¼½¾€ŠšŽžŒœŸ'),
+ 'empty array' => array(array(), array()),
+ 'array' => array(array('abcdef'), array('abcdef')),
+ 'object' => array($obj, $obj),
+ );
+ }
+
+ /**
+ * @param int $code
+ * @param string $msg
+ * @dataProvider providesHandleJsonErrorFailure
+ */
+ public function testHandleJsonErrorFailure($code, $msg)
+ {
+ $formatter = new NormalizerFormatter();
+ $reflMethod = new \ReflectionMethod($formatter, 'handleJsonError');
+ $reflMethod->setAccessible(true);
+
+ $this->setExpectedException('RuntimeException', $msg);
+ $reflMethod->invoke($formatter, $code, 'faked');
+ }
+
+ public function providesHandleJsonErrorFailure()
+ {
+ return array(
+ 'depth' => array(JSON_ERROR_DEPTH, 'Maximum stack depth exceeded'),
+ 'state' => array(JSON_ERROR_STATE_MISMATCH, 'Underflow or the modes mismatch'),
+ 'ctrl' => array(JSON_ERROR_CTRL_CHAR, 'Unexpected control character found'),
+ 'default' => array(-1, 'Unknown error'),
+ );
+ }
+
+ public function testExceptionTraceWithArgs()
+ {
+ if (defined('HHVM_VERSION')) {
+ $this->markTestSkipped('Not supported in HHVM since it detects errors differently');
+ }
+
+ // This happens i.e. in React promises or Guzzle streams where stream wrappers are registered
+ // and no file or line are included in the trace because it's treated as internal function
+ set_error_handler(function ($errno, $errstr, $errfile, $errline) {
+ throw new \ErrorException($errstr, 0, $errno, $errfile, $errline);
+ });
+
+ try {
+ // This will contain $resource and $wrappedResource as arguments in the trace item
+ $resource = fopen('php://memory', 'rw+');
+ fwrite($resource, 'test_resource');
+ $wrappedResource = new TestFooNorm;
+ $wrappedResource->foo = $resource;
+ // Just do something stupid with a resource/wrapped resource as argument
+ array_keys($wrappedResource);
+ } catch (\Exception $e) {
+ restore_error_handler();
+ }
+
+ $formatter = new NormalizerFormatter();
+ $record = array('context' => array('exception' => $e));
+ $result = $formatter->format($record);
+
+ $this->assertRegExp(
+ '%"resource":"\[resource\] \(stream\)"%',
+ $result['context']['exception']['trace'][0]
+ );
+
+ if (version_compare(PHP_VERSION, '5.5.0', '>=')) {
+ $pattern = '%"wrappedResource":"\[object\] \(Monolog\\\\\\\\Formatter\\\\\\\\TestFooNorm: \)"%';
+ } else {
+ $pattern = '%\\\\"foo\\\\":null%';
+ }
+
+ // Tests that the wrapped resource is ignored while encoding, only works for PHP <= 5.4
+ $this->assertRegExp(
+ $pattern,
+ $result['context']['exception']['trace'][0]
+ );
+ }
+}
+
+class TestFooNorm
+{
+ public $foo = 'foo';
+}
+
+class TestBarNorm
+{
+ public function __toString()
+ {
+ return 'bar';
+ }
+}
+
+class TestStreamFoo
+{
+ public $foo;
+ public $resource;
+
+ public function __construct($resource)
+ {
+ $this->resource = $resource;
+ $this->foo = 'BAR';
+ }
+
+ public function __toString()
+ {
+ fseek($this->resource, 0);
+
+ return $this->foo . ' - ' . (string) stream_get_contents($this->resource);
+ }
+}
+
+class TestToStringError
+{
+ public function __toString()
+ {
+ throw new \RuntimeException('Could not convert to string');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ScalarFormatterTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ScalarFormatterTest.php
new file mode 100644
index 00000000..b1c8fd49
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ScalarFormatterTest.php
@@ -0,0 +1,110 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+class ScalarFormatterTest extends \PHPUnit_Framework_TestCase
+{
+ private $formatter;
+
+ public function setUp()
+ {
+ $this->formatter = new ScalarFormatter();
+ }
+
+ public function buildTrace(\Exception $e)
+ {
+ $data = array();
+ $trace = $e->getTrace();
+ foreach ($trace as $frame) {
+ if (isset($frame['file'])) {
+ $data[] = $frame['file'].':'.$frame['line'];
+ } else {
+ $data[] = json_encode($frame);
+ }
+ }
+
+ return $data;
+ }
+
+ public function encodeJson($data)
+ {
+ if (version_compare(PHP_VERSION, '5.4.0', '>=')) {
+ return json_encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
+ }
+
+ return json_encode($data);
+ }
+
+ public function testFormat()
+ {
+ $exception = new \Exception('foo');
+ $formatted = $this->formatter->format(array(
+ 'foo' => 'string',
+ 'bar' => 1,
+ 'baz' => false,
+ 'bam' => array(1, 2, 3),
+ 'bat' => array('foo' => 'bar'),
+ 'bap' => \DateTime::createFromFormat(\DateTime::ISO8601, '1970-01-01T00:00:00+0000'),
+ 'ban' => $exception,
+ ));
+
+ $this->assertSame(array(
+ 'foo' => 'string',
+ 'bar' => 1,
+ 'baz' => false,
+ 'bam' => $this->encodeJson(array(1, 2, 3)),
+ 'bat' => $this->encodeJson(array('foo' => 'bar')),
+ 'bap' => '1970-01-01 00:00:00',
+ 'ban' => $this->encodeJson(array(
+ 'class' => get_class($exception),
+ 'message' => $exception->getMessage(),
+ 'code' => $exception->getCode(),
+ 'file' => $exception->getFile() . ':' . $exception->getLine(),
+ 'trace' => $this->buildTrace($exception),
+ )),
+ ), $formatted);
+ }
+
+ public function testFormatWithErrorContext()
+ {
+ $context = array('file' => 'foo', 'line' => 1);
+ $formatted = $this->formatter->format(array(
+ 'context' => $context,
+ ));
+
+ $this->assertSame(array(
+ 'context' => $this->encodeJson($context),
+ ), $formatted);
+ }
+
+ public function testFormatWithExceptionContext()
+ {
+ $exception = new \Exception('foo');
+ $formatted = $this->formatter->format(array(
+ 'context' => array(
+ 'exception' => $exception,
+ ),
+ ));
+
+ $this->assertSame(array(
+ 'context' => $this->encodeJson(array(
+ 'exception' => array(
+ 'class' => get_class($exception),
+ 'message' => $exception->getMessage(),
+ 'code' => $exception->getCode(),
+ 'file' => $exception->getFile() . ':' . $exception->getLine(),
+ 'trace' => $this->buildTrace($exception),
+ ),
+ )),
+ ), $formatted);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/WildfireFormatterTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/WildfireFormatterTest.php
new file mode 100644
index 00000000..52f15a36
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/WildfireFormatterTest.php
@@ -0,0 +1,142 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Formatter;
+
+use Monolog\Logger;
+
+class WildfireFormatterTest extends \PHPUnit_Framework_TestCase
+{
+ /**
+ * @covers Monolog\Formatter\WildfireFormatter::format
+ */
+ public function testDefaultFormat()
+ {
+ $wildfire = new WildfireFormatter();
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('from' => 'logger'),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('ip' => '127.0.0.1'),
+ 'message' => 'log',
+ );
+
+ $message = $wildfire->format($record);
+
+ $this->assertEquals(
+ '125|[{"Type":"ERROR","File":"","Line":"","Label":"meh"},'
+ .'{"message":"log","context":{"from":"logger"},"extra":{"ip":"127.0.0.1"}}]|',
+ $message
+ );
+ }
+
+ /**
+ * @covers Monolog\Formatter\WildfireFormatter::format
+ */
+ public function testFormatWithFileAndLine()
+ {
+ $wildfire = new WildfireFormatter();
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('from' => 'logger'),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array('ip' => '127.0.0.1', 'file' => 'test', 'line' => 14),
+ 'message' => 'log',
+ );
+
+ $message = $wildfire->format($record);
+
+ $this->assertEquals(
+ '129|[{"Type":"ERROR","File":"test","Line":14,"Label":"meh"},'
+ .'{"message":"log","context":{"from":"logger"},"extra":{"ip":"127.0.0.1"}}]|',
+ $message
+ );
+ }
+
+ /**
+ * @covers Monolog\Formatter\WildfireFormatter::format
+ */
+ public function testFormatWithoutContext()
+ {
+ $wildfire = new WildfireFormatter();
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array(),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array(),
+ 'message' => 'log',
+ );
+
+ $message = $wildfire->format($record);
+
+ $this->assertEquals(
+ '58|[{"Type":"ERROR","File":"","Line":"","Label":"meh"},"log"]|',
+ $message
+ );
+ }
+
+ /**
+ * @covers Monolog\Formatter\WildfireFormatter::formatBatch
+ * @expectedException BadMethodCallException
+ */
+ public function testBatchFormatThrowException()
+ {
+ $wildfire = new WildfireFormatter();
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array(),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array(),
+ 'message' => 'log',
+ );
+
+ $wildfire->formatBatch(array($record));
+ }
+
+ /**
+ * @covers Monolog\Formatter\WildfireFormatter::format
+ */
+ public function testTableFormat()
+ {
+ $wildfire = new WildfireFormatter();
+ $record = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'table-channel',
+ 'context' => array(
+ WildfireFormatter::TABLE => array(
+ array('col1', 'col2', 'col3'),
+ array('val1', 'val2', 'val3'),
+ array('foo1', 'foo2', 'foo3'),
+ array('bar1', 'bar2', 'bar3'),
+ ),
+ ),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array(),
+ 'message' => 'table-message',
+ );
+
+ $message = $wildfire->format($record);
+
+ $this->assertEquals(
+ '171|[{"Type":"TABLE","File":"","Line":"","Label":"table-channel: table-message"},[["col1","col2","col3"],["val1","val2","val3"],["foo1","foo2","foo3"],["bar1","bar2","bar3"]]]|',
+ $message
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AbstractHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AbstractHandlerTest.php
new file mode 100644
index 00000000..568eb9da
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AbstractHandlerTest.php
@@ -0,0 +1,115 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+use Monolog\Formatter\LineFormatter;
+use Monolog\Processor\WebProcessor;
+
+class AbstractHandlerTest extends TestCase
+{
+ /**
+ * @covers Monolog\Handler\AbstractHandler::__construct
+ * @covers Monolog\Handler\AbstractHandler::getLevel
+ * @covers Monolog\Handler\AbstractHandler::setLevel
+ * @covers Monolog\Handler\AbstractHandler::getBubble
+ * @covers Monolog\Handler\AbstractHandler::setBubble
+ * @covers Monolog\Handler\AbstractHandler::getFormatter
+ * @covers Monolog\Handler\AbstractHandler::setFormatter
+ */
+ public function testConstructAndGetSet()
+ {
+ $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractHandler', array(Logger::WARNING, false));
+ $this->assertEquals(Logger::WARNING, $handler->getLevel());
+ $this->assertEquals(false, $handler->getBubble());
+
+ $handler->setLevel(Logger::ERROR);
+ $handler->setBubble(true);
+ $handler->setFormatter($formatter = new LineFormatter);
+ $this->assertEquals(Logger::ERROR, $handler->getLevel());
+ $this->assertEquals(true, $handler->getBubble());
+ $this->assertSame($formatter, $handler->getFormatter());
+ }
+
+ /**
+ * @covers Monolog\Handler\AbstractHandler::handleBatch
+ */
+ public function testHandleBatch()
+ {
+ $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractHandler');
+ $handler->expects($this->exactly(2))
+ ->method('handle');
+ $handler->handleBatch(array($this->getRecord(), $this->getRecord()));
+ }
+
+ /**
+ * @covers Monolog\Handler\AbstractHandler::isHandling
+ */
+ public function testIsHandling()
+ {
+ $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractHandler', array(Logger::WARNING, false));
+ $this->assertTrue($handler->isHandling($this->getRecord()));
+ $this->assertFalse($handler->isHandling($this->getRecord(Logger::DEBUG)));
+ }
+
+ /**
+ * @covers Monolog\Handler\AbstractHandler::__construct
+ */
+ public function testHandlesPsrStyleLevels()
+ {
+ $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractHandler', array('warning', false));
+ $this->assertFalse($handler->isHandling($this->getRecord(Logger::DEBUG)));
+ $handler->setLevel('debug');
+ $this->assertTrue($handler->isHandling($this->getRecord(Logger::DEBUG)));
+ }
+
+ /**
+ * @covers Monolog\Handler\AbstractHandler::getFormatter
+ * @covers Monolog\Handler\AbstractHandler::getDefaultFormatter
+ */
+ public function testGetFormatterInitializesDefault()
+ {
+ $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractHandler');
+ $this->assertInstanceOf('Monolog\Formatter\LineFormatter', $handler->getFormatter());
+ }
+
+ /**
+ * @covers Monolog\Handler\AbstractHandler::pushProcessor
+ * @covers Monolog\Handler\AbstractHandler::popProcessor
+ * @expectedException LogicException
+ */
+ public function testPushPopProcessor()
+ {
+ $logger = $this->getMockForAbstractClass('Monolog\Handler\AbstractHandler');
+ $processor1 = new WebProcessor;
+ $processor2 = new WebProcessor;
+
+ $logger->pushProcessor($processor1);
+ $logger->pushProcessor($processor2);
+
+ $this->assertEquals($processor2, $logger->popProcessor());
+ $this->assertEquals($processor1, $logger->popProcessor());
+ $logger->popProcessor();
+ }
+
+ /**
+ * @covers Monolog\Handler\AbstractHandler::pushProcessor
+ * @expectedException InvalidArgumentException
+ */
+ public function testPushProcessorWithNonCallable()
+ {
+ $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractHandler');
+
+ $handler->pushProcessor(new \stdClass());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AbstractProcessingHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AbstractProcessingHandlerTest.php
new file mode 100644
index 00000000..24d4f63c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AbstractProcessingHandlerTest.php
@@ -0,0 +1,80 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+use Monolog\Processor\WebProcessor;
+
+class AbstractProcessingHandlerTest extends TestCase
+{
+ /**
+ * @covers Monolog\Handler\AbstractProcessingHandler::handle
+ */
+ public function testHandleLowerLevelMessage()
+ {
+ $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractProcessingHandler', array(Logger::WARNING, true));
+ $this->assertFalse($handler->handle($this->getRecord(Logger::DEBUG)));
+ }
+
+ /**
+ * @covers Monolog\Handler\AbstractProcessingHandler::handle
+ */
+ public function testHandleBubbling()
+ {
+ $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractProcessingHandler', array(Logger::DEBUG, true));
+ $this->assertFalse($handler->handle($this->getRecord()));
+ }
+
+ /**
+ * @covers Monolog\Handler\AbstractProcessingHandler::handle
+ */
+ public function testHandleNotBubbling()
+ {
+ $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractProcessingHandler', array(Logger::DEBUG, false));
+ $this->assertTrue($handler->handle($this->getRecord()));
+ }
+
+ /**
+ * @covers Monolog\Handler\AbstractProcessingHandler::handle
+ */
+ public function testHandleIsFalseWhenNotHandled()
+ {
+ $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractProcessingHandler', array(Logger::WARNING, false));
+ $this->assertTrue($handler->handle($this->getRecord()));
+ $this->assertFalse($handler->handle($this->getRecord(Logger::DEBUG)));
+ }
+
+ /**
+ * @covers Monolog\Handler\AbstractProcessingHandler::processRecord
+ */
+ public function testProcessRecord()
+ {
+ $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractProcessingHandler');
+ $handler->pushProcessor(new WebProcessor(array(
+ 'REQUEST_URI' => '',
+ 'REQUEST_METHOD' => '',
+ 'REMOTE_ADDR' => '',
+ 'SERVER_NAME' => '',
+ 'UNIQUE_ID' => '',
+ )));
+ $handledRecord = null;
+ $handler->expects($this->once())
+ ->method('write')
+ ->will($this->returnCallback(function ($record) use (&$handledRecord) {
+ $handledRecord = $record;
+ }))
+ ;
+ $handler->handle($this->getRecord());
+ $this->assertEquals(6, count($handledRecord['extra']));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AmqpHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AmqpHandlerTest.php
new file mode 100644
index 00000000..8e0e7237
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AmqpHandlerTest.php
@@ -0,0 +1,136 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+use PhpAmqpLib\Message\AMQPMessage;
+use PhpAmqpLib\Connection\AMQPConnection;
+
+/**
+ * @covers Monolog\Handler\RotatingFileHandler
+ */
+class AmqpHandlerTest extends TestCase
+{
+ public function testHandleAmqpExt()
+ {
+ if (!class_exists('AMQPConnection') || !class_exists('AMQPExchange')) {
+ $this->markTestSkipped("amqp-php not installed");
+ }
+
+ if (!class_exists('AMQPChannel')) {
+ $this->markTestSkipped("Please update AMQP to version >= 1.0");
+ }
+
+ $messages = array();
+
+ $exchange = $this->getMock('AMQPExchange', array('publish', 'setName'), array(), '', false);
+ $exchange->expects($this->once())
+ ->method('setName')
+ ->with('log')
+ ;
+ $exchange->expects($this->any())
+ ->method('publish')
+ ->will($this->returnCallback(function ($message, $routing_key, $flags = 0, $attributes = array()) use (&$messages) {
+ $messages[] = array($message, $routing_key, $flags, $attributes);
+ }))
+ ;
+
+ $handler = new AmqpHandler($exchange, 'log');
+
+ $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34));
+
+ $expected = array(
+ array(
+ 'message' => 'test',
+ 'context' => array(
+ 'data' => array(),
+ 'foo' => 34,
+ ),
+ 'level' => 300,
+ 'level_name' => 'WARNING',
+ 'channel' => 'test',
+ 'extra' => array(),
+ ),
+ 'warn.test',
+ 0,
+ array(
+ 'delivery_mode' => 2,
+ 'content_type' => 'application/json',
+ ),
+ );
+
+ $handler->handle($record);
+
+ $this->assertCount(1, $messages);
+ $messages[0][0] = json_decode($messages[0][0], true);
+ unset($messages[0][0]['datetime']);
+ $this->assertEquals($expected, $messages[0]);
+ }
+
+ public function testHandlePhpAmqpLib()
+ {
+ if (!class_exists('PhpAmqpLib\Connection\AMQPConnection')) {
+ $this->markTestSkipped("php-amqplib not installed");
+ }
+
+ $messages = array();
+
+ $exchange = $this->getMock('PhpAmqpLib\Channel\AMQPChannel', array('basic_publish', '__destruct'), array(), '', false);
+
+ $exchange->expects($this->any())
+ ->method('basic_publish')
+ ->will($this->returnCallback(function (AMQPMessage $msg, $exchange = "", $routing_key = "", $mandatory = false, $immediate = false, $ticket = null) use (&$messages) {
+ $messages[] = array($msg, $exchange, $routing_key, $mandatory, $immediate, $ticket);
+ }))
+ ;
+
+ $handler = new AmqpHandler($exchange, 'log');
+
+ $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34));
+
+ $expected = array(
+ array(
+ 'message' => 'test',
+ 'context' => array(
+ 'data' => array(),
+ 'foo' => 34,
+ ),
+ 'level' => 300,
+ 'level_name' => 'WARNING',
+ 'channel' => 'test',
+ 'extra' => array(),
+ ),
+ 'log',
+ 'warn.test',
+ false,
+ false,
+ null,
+ array(
+ 'delivery_mode' => 2,
+ 'content_type' => 'application/json',
+ ),
+ );
+
+ $handler->handle($record);
+
+ $this->assertCount(1, $messages);
+
+ /* @var $msg AMQPMessage */
+ $msg = $messages[0][0];
+ $messages[0][0] = json_decode($msg->body, true);
+ $messages[0][] = $msg->get_properties();
+ unset($messages[0][0]['datetime']);
+
+ $this->assertEquals($expected, $messages[0]);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/BrowserConsoleHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/BrowserConsoleHandlerTest.php
new file mode 100644
index 00000000..ffb1d746
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/BrowserConsoleHandlerTest.php
@@ -0,0 +1,130 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+/**
+ * @covers Monolog\Handler\BrowserConsoleHandlerTest
+ */
+class BrowserConsoleHandlerTest extends TestCase
+{
+ protected function setUp()
+ {
+ BrowserConsoleHandler::reset();
+ }
+
+ protected function generateScript()
+ {
+ $reflMethod = new \ReflectionMethod('Monolog\Handler\BrowserConsoleHandler', 'generateScript');
+ $reflMethod->setAccessible(true);
+
+ return $reflMethod->invoke(null);
+ }
+
+ public function testStyling()
+ {
+ $handler = new BrowserConsoleHandler();
+ $handler->setFormatter($this->getIdentityFormatter());
+
+ $handler->handle($this->getRecord(Logger::DEBUG, 'foo[[bar]]{color: red}'));
+
+ $expected = <<<EOF
+(function (c) {if (c && c.groupCollapsed) {
+c.log("%cfoo%cbar%c", "font-weight: normal", "color: red", "font-weight: normal");
+}})(console);
+EOF;
+
+ $this->assertEquals($expected, $this->generateScript());
+ }
+
+ public function testEscaping()
+ {
+ $handler = new BrowserConsoleHandler();
+ $handler->setFormatter($this->getIdentityFormatter());
+
+ $handler->handle($this->getRecord(Logger::DEBUG, "[foo] [[\"bar\n[baz]\"]]{color: red}"));
+
+ $expected = <<<EOF
+(function (c) {if (c && c.groupCollapsed) {
+c.log("%c[foo] %c\"bar\\n[baz]\"%c", "font-weight: normal", "color: red", "font-weight: normal");
+}})(console);
+EOF;
+
+ $this->assertEquals($expected, $this->generateScript());
+ }
+
+ public function testAutolabel()
+ {
+ $handler = new BrowserConsoleHandler();
+ $handler->setFormatter($this->getIdentityFormatter());
+
+ $handler->handle($this->getRecord(Logger::DEBUG, '[[foo]]{macro: autolabel}'));
+ $handler->handle($this->getRecord(Logger::DEBUG, '[[bar]]{macro: autolabel}'));
+ $handler->handle($this->getRecord(Logger::DEBUG, '[[foo]]{macro: autolabel}'));
+
+ $expected = <<<EOF
+(function (c) {if (c && c.groupCollapsed) {
+c.log("%c%cfoo%c", "font-weight: normal", "background-color: blue; color: white; border-radius: 3px; padding: 0 2px 0 2px", "font-weight: normal");
+c.log("%c%cbar%c", "font-weight: normal", "background-color: green; color: white; border-radius: 3px; padding: 0 2px 0 2px", "font-weight: normal");
+c.log("%c%cfoo%c", "font-weight: normal", "background-color: blue; color: white; border-radius: 3px; padding: 0 2px 0 2px", "font-weight: normal");
+}})(console);
+EOF;
+
+ $this->assertEquals($expected, $this->generateScript());
+ }
+
+ public function testContext()
+ {
+ $handler = new BrowserConsoleHandler();
+ $handler->setFormatter($this->getIdentityFormatter());
+
+ $handler->handle($this->getRecord(Logger::DEBUG, 'test', array('foo' => 'bar')));
+
+ $expected = <<<EOF
+(function (c) {if (c && c.groupCollapsed) {
+c.groupCollapsed("%ctest", "font-weight: normal");
+c.log("%c%s", "font-weight: bold", "Context");
+c.log("%s: %o", "foo", "bar");
+c.groupEnd();
+}})(console);
+EOF;
+
+ $this->assertEquals($expected, $this->generateScript());
+ }
+
+ public function testConcurrentHandlers()
+ {
+ $handler1 = new BrowserConsoleHandler();
+ $handler1->setFormatter($this->getIdentityFormatter());
+
+ $handler2 = new BrowserConsoleHandler();
+ $handler2->setFormatter($this->getIdentityFormatter());
+
+ $handler1->handle($this->getRecord(Logger::DEBUG, 'test1'));
+ $handler2->handle($this->getRecord(Logger::DEBUG, 'test2'));
+ $handler1->handle($this->getRecord(Logger::DEBUG, 'test3'));
+ $handler2->handle($this->getRecord(Logger::DEBUG, 'test4'));
+
+ $expected = <<<EOF
+(function (c) {if (c && c.groupCollapsed) {
+c.log("%ctest1", "font-weight: normal");
+c.log("%ctest2", "font-weight: normal");
+c.log("%ctest3", "font-weight: normal");
+c.log("%ctest4", "font-weight: normal");
+}})(console);
+EOF;
+
+ $this->assertEquals($expected, $this->generateScript());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/BufferHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/BufferHandlerTest.php
new file mode 100644
index 00000000..da8b3c39
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/BufferHandlerTest.php
@@ -0,0 +1,158 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+class BufferHandlerTest extends TestCase
+{
+ private $shutdownCheckHandler;
+
+ /**
+ * @covers Monolog\Handler\BufferHandler::__construct
+ * @covers Monolog\Handler\BufferHandler::handle
+ * @covers Monolog\Handler\BufferHandler::close
+ */
+ public function testHandleBuffers()
+ {
+ $test = new TestHandler();
+ $handler = new BufferHandler($test);
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::INFO));
+ $this->assertFalse($test->hasDebugRecords());
+ $this->assertFalse($test->hasInfoRecords());
+ $handler->close();
+ $this->assertTrue($test->hasInfoRecords());
+ $this->assertTrue(count($test->getRecords()) === 2);
+ }
+
+ /**
+ * @covers Monolog\Handler\BufferHandler::close
+ * @covers Monolog\Handler\BufferHandler::flush
+ */
+ public function testPropagatesRecordsAtEndOfRequest()
+ {
+ $test = new TestHandler();
+ $handler = new BufferHandler($test);
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $this->shutdownCheckHandler = $test;
+ register_shutdown_function(array($this, 'checkPropagation'));
+ }
+
+ public function checkPropagation()
+ {
+ if (!$this->shutdownCheckHandler->hasWarningRecords() || !$this->shutdownCheckHandler->hasDebugRecords()) {
+ echo '!!! BufferHandlerTest::testPropagatesRecordsAtEndOfRequest failed to verify that the messages have been propagated' . PHP_EOL;
+ exit(1);
+ }
+ }
+
+ /**
+ * @covers Monolog\Handler\BufferHandler::handle
+ */
+ public function testHandleBufferLimit()
+ {
+ $test = new TestHandler();
+ $handler = new BufferHandler($test, 2);
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::INFO));
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $handler->close();
+ $this->assertTrue($test->hasWarningRecords());
+ $this->assertTrue($test->hasInfoRecords());
+ $this->assertFalse($test->hasDebugRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\BufferHandler::handle
+ */
+ public function testHandleBufferLimitWithFlushOnOverflow()
+ {
+ $test = new TestHandler();
+ $handler = new BufferHandler($test, 3, Logger::DEBUG, true, true);
+
+ // send two records
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $this->assertFalse($test->hasDebugRecords());
+ $this->assertCount(0, $test->getRecords());
+
+ // overflow
+ $handler->handle($this->getRecord(Logger::INFO));
+ $this->assertTrue($test->hasDebugRecords());
+ $this->assertCount(3, $test->getRecords());
+
+ // should buffer again
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $this->assertCount(3, $test->getRecords());
+
+ $handler->close();
+ $this->assertCount(5, $test->getRecords());
+ $this->assertTrue($test->hasWarningRecords());
+ $this->assertTrue($test->hasInfoRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\BufferHandler::handle
+ */
+ public function testHandleLevel()
+ {
+ $test = new TestHandler();
+ $handler = new BufferHandler($test, 0, Logger::INFO);
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::INFO));
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->close();
+ $this->assertTrue($test->hasWarningRecords());
+ $this->assertTrue($test->hasInfoRecords());
+ $this->assertFalse($test->hasDebugRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\BufferHandler::flush
+ */
+ public function testFlush()
+ {
+ $test = new TestHandler();
+ $handler = new BufferHandler($test, 0);
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::INFO));
+ $handler->flush();
+ $this->assertTrue($test->hasInfoRecords());
+ $this->assertTrue($test->hasDebugRecords());
+ $this->assertFalse($test->hasWarningRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\BufferHandler::handle
+ */
+ public function testHandleUsesProcessors()
+ {
+ $test = new TestHandler();
+ $handler = new BufferHandler($test);
+ $handler->pushProcessor(function ($record) {
+ $record['extra']['foo'] = true;
+
+ return $record;
+ });
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $handler->flush();
+ $this->assertTrue($test->hasWarningRecords());
+ $records = $test->getRecords();
+ $this->assertTrue($records[0]['extra']['foo']);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ChromePHPHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ChromePHPHandlerTest.php
new file mode 100644
index 00000000..0449f8b1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ChromePHPHandlerTest.php
@@ -0,0 +1,156 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+/**
+ * @covers Monolog\Handler\ChromePHPHandler
+ */
+class ChromePHPHandlerTest extends TestCase
+{
+ protected function setUp()
+ {
+ TestChromePHPHandler::reset();
+ $_SERVER['HTTP_USER_AGENT'] = 'Monolog Test; Chrome/1.0';
+ }
+
+ /**
+ * @dataProvider agentsProvider
+ */
+ public function testHeaders($agent)
+ {
+ $_SERVER['HTTP_USER_AGENT'] = $agent;
+
+ $handler = new TestChromePHPHandler();
+ $handler->setFormatter($this->getIdentityFormatter());
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::WARNING));
+
+ $expected = array(
+ 'X-ChromeLogger-Data' => base64_encode(utf8_encode(json_encode(array(
+ 'version' => ChromePHPHandler::VERSION,
+ 'columns' => array('label', 'log', 'backtrace', 'type'),
+ 'rows' => array(
+ 'test',
+ 'test',
+ ),
+ 'request_uri' => '',
+ )))),
+ );
+
+ $this->assertEquals($expected, $handler->getHeaders());
+ }
+
+ public static function agentsProvider()
+ {
+ return array(
+ array('Monolog Test; Chrome/1.0'),
+ array('Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0'),
+ array('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/56.0.2924.76 Chrome/56.0.2924.76 Safari/537.36'),
+ array('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome Safari/537.36'),
+ );
+ }
+
+ public function testHeadersOverflow()
+ {
+ $handler = new TestChromePHPHandler();
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::WARNING, str_repeat('a', 150 * 1024)));
+
+ // overflow chrome headers limit
+ $handler->handle($this->getRecord(Logger::WARNING, str_repeat('a', 100 * 1024)));
+
+ $expected = array(
+ 'X-ChromeLogger-Data' => base64_encode(utf8_encode(json_encode(array(
+ 'version' => ChromePHPHandler::VERSION,
+ 'columns' => array('label', 'log', 'backtrace', 'type'),
+ 'rows' => array(
+ array(
+ 'test',
+ 'test',
+ 'unknown',
+ 'log',
+ ),
+ array(
+ 'test',
+ str_repeat('a', 150 * 1024),
+ 'unknown',
+ 'warn',
+ ),
+ array(
+ 'monolog',
+ 'Incomplete logs, chrome header size limit reached',
+ 'unknown',
+ 'warn',
+ ),
+ ),
+ 'request_uri' => '',
+ )))),
+ );
+
+ $this->assertEquals($expected, $handler->getHeaders());
+ }
+
+ public function testConcurrentHandlers()
+ {
+ $handler = new TestChromePHPHandler();
+ $handler->setFormatter($this->getIdentityFormatter());
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::WARNING));
+
+ $handler2 = new TestChromePHPHandler();
+ $handler2->setFormatter($this->getIdentityFormatter());
+ $handler2->handle($this->getRecord(Logger::DEBUG));
+ $handler2->handle($this->getRecord(Logger::WARNING));
+
+ $expected = array(
+ 'X-ChromeLogger-Data' => base64_encode(utf8_encode(json_encode(array(
+ 'version' => ChromePHPHandler::VERSION,
+ 'columns' => array('label', 'log', 'backtrace', 'type'),
+ 'rows' => array(
+ 'test',
+ 'test',
+ 'test',
+ 'test',
+ ),
+ 'request_uri' => '',
+ )))),
+ );
+
+ $this->assertEquals($expected, $handler2->getHeaders());
+ }
+}
+
+class TestChromePHPHandler extends ChromePHPHandler
+{
+ protected $headers = array();
+
+ public static function reset()
+ {
+ self::$initialized = false;
+ self::$overflowed = false;
+ self::$sendHeaders = true;
+ self::$json['rows'] = array();
+ }
+
+ protected function sendHeader($header, $content)
+ {
+ $this->headers[$header] = $content;
+ }
+
+ public function getHeaders()
+ {
+ return $this->headers;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/CouchDBHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/CouchDBHandlerTest.php
new file mode 100644
index 00000000..9fc4b388
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/CouchDBHandlerTest.php
@@ -0,0 +1,31 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+class CouchDBHandlerTest extends TestCase
+{
+ public function testHandle()
+ {
+ $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34));
+
+ $handler = new CouchDBHandler();
+
+ try {
+ $handler->handle($record);
+ } catch (\RuntimeException $e) {
+ $this->markTestSkipped('Could not connect to couchdb server on http://localhost:5984');
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DeduplicationHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DeduplicationHandlerTest.php
new file mode 100644
index 00000000..e2aff868
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DeduplicationHandlerTest.php
@@ -0,0 +1,165 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+class DeduplicationHandlerTest extends TestCase
+{
+ /**
+ * @covers Monolog\Handler\DeduplicationHandler::flush
+ */
+ public function testFlushPassthruIfAllRecordsUnderTrigger()
+ {
+ $test = new TestHandler();
+ @unlink(sys_get_temp_dir().'/monolog_dedup.log');
+ $handler = new DeduplicationHandler($test, sys_get_temp_dir().'/monolog_dedup.log', 0);
+
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::INFO));
+
+ $handler->flush();
+
+ $this->assertTrue($test->hasInfoRecords());
+ $this->assertTrue($test->hasDebugRecords());
+ $this->assertFalse($test->hasWarningRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\DeduplicationHandler::flush
+ * @covers Monolog\Handler\DeduplicationHandler::appendRecord
+ */
+ public function testFlushPassthruIfEmptyLog()
+ {
+ $test = new TestHandler();
+ @unlink(sys_get_temp_dir().'/monolog_dedup.log');
+ $handler = new DeduplicationHandler($test, sys_get_temp_dir().'/monolog_dedup.log', 0);
+
+ $handler->handle($this->getRecord(Logger::ERROR, 'Foo:bar'));
+ $handler->handle($this->getRecord(Logger::CRITICAL, "Foo\nbar"));
+
+ $handler->flush();
+
+ $this->assertTrue($test->hasErrorRecords());
+ $this->assertTrue($test->hasCriticalRecords());
+ $this->assertFalse($test->hasWarningRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\DeduplicationHandler::flush
+ * @covers Monolog\Handler\DeduplicationHandler::appendRecord
+ * @covers Monolog\Handler\DeduplicationHandler::isDuplicate
+ * @depends testFlushPassthruIfEmptyLog
+ */
+ public function testFlushSkipsIfLogExists()
+ {
+ $test = new TestHandler();
+ $handler = new DeduplicationHandler($test, sys_get_temp_dir().'/monolog_dedup.log', 0);
+
+ $handler->handle($this->getRecord(Logger::ERROR, 'Foo:bar'));
+ $handler->handle($this->getRecord(Logger::CRITICAL, "Foo\nbar"));
+
+ $handler->flush();
+
+ $this->assertFalse($test->hasErrorRecords());
+ $this->assertFalse($test->hasCriticalRecords());
+ $this->assertFalse($test->hasWarningRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\DeduplicationHandler::flush
+ * @covers Monolog\Handler\DeduplicationHandler::appendRecord
+ * @covers Monolog\Handler\DeduplicationHandler::isDuplicate
+ * @depends testFlushPassthruIfEmptyLog
+ */
+ public function testFlushPassthruIfLogTooOld()
+ {
+ $test = new TestHandler();
+ $handler = new DeduplicationHandler($test, sys_get_temp_dir().'/monolog_dedup.log', 0);
+
+ $record = $this->getRecord(Logger::ERROR);
+ $record['datetime']->modify('+62seconds');
+ $handler->handle($record);
+ $record = $this->getRecord(Logger::CRITICAL);
+ $record['datetime']->modify('+62seconds');
+ $handler->handle($record);
+
+ $handler->flush();
+
+ $this->assertTrue($test->hasErrorRecords());
+ $this->assertTrue($test->hasCriticalRecords());
+ $this->assertFalse($test->hasWarningRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\DeduplicationHandler::flush
+ * @covers Monolog\Handler\DeduplicationHandler::appendRecord
+ * @covers Monolog\Handler\DeduplicationHandler::isDuplicate
+ * @covers Monolog\Handler\DeduplicationHandler::collectLogs
+ */
+ public function testGcOldLogs()
+ {
+ $test = new TestHandler();
+ @unlink(sys_get_temp_dir().'/monolog_dedup.log');
+ $handler = new DeduplicationHandler($test, sys_get_temp_dir().'/monolog_dedup.log', 0);
+
+ // handle two records from yesterday, and one recent
+ $record = $this->getRecord(Logger::ERROR);
+ $record['datetime']->modify('-1day -10seconds');
+ $handler->handle($record);
+ $record2 = $this->getRecord(Logger::CRITICAL);
+ $record2['datetime']->modify('-1day -10seconds');
+ $handler->handle($record2);
+ $record3 = $this->getRecord(Logger::CRITICAL);
+ $record3['datetime']->modify('-30seconds');
+ $handler->handle($record3);
+
+ // log is written as none of them are duplicate
+ $handler->flush();
+ $this->assertSame(
+ $record['datetime']->getTimestamp() . ":ERROR:test\n" .
+ $record2['datetime']->getTimestamp() . ":CRITICAL:test\n" .
+ $record3['datetime']->getTimestamp() . ":CRITICAL:test\n",
+ file_get_contents(sys_get_temp_dir() . '/monolog_dedup.log')
+ );
+ $this->assertTrue($test->hasErrorRecords());
+ $this->assertTrue($test->hasCriticalRecords());
+ $this->assertFalse($test->hasWarningRecords());
+
+ // clear test handler
+ $test->clear();
+ $this->assertFalse($test->hasErrorRecords());
+ $this->assertFalse($test->hasCriticalRecords());
+
+ // log new records, duplicate log gets GC'd at the end of this flush call
+ $handler->handle($record = $this->getRecord(Logger::ERROR));
+ $handler->handle($record2 = $this->getRecord(Logger::CRITICAL));
+ $handler->flush();
+
+ // log should now contain the new errors and the previous one that was recent enough
+ $this->assertSame(
+ $record3['datetime']->getTimestamp() . ":CRITICAL:test\n" .
+ $record['datetime']->getTimestamp() . ":ERROR:test\n" .
+ $record2['datetime']->getTimestamp() . ":CRITICAL:test\n",
+ file_get_contents(sys_get_temp_dir() . '/monolog_dedup.log')
+ );
+ $this->assertTrue($test->hasErrorRecords());
+ $this->assertTrue($test->hasCriticalRecords());
+ $this->assertFalse($test->hasWarningRecords());
+ }
+
+ public static function tearDownAfterClass()
+ {
+ @unlink(sys_get_temp_dir().'/monolog_dedup.log');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php
new file mode 100644
index 00000000..d67da90a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php
@@ -0,0 +1,52 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+class DoctrineCouchDBHandlerTest extends TestCase
+{
+ protected function setup()
+ {
+ if (!class_exists('Doctrine\CouchDB\CouchDBClient')) {
+ $this->markTestSkipped('The "doctrine/couchdb" package is not installed');
+ }
+ }
+
+ public function testHandle()
+ {
+ $client = $this->getMockBuilder('Doctrine\\CouchDB\\CouchDBClient')
+ ->setMethods(array('postDocument'))
+ ->disableOriginalConstructor()
+ ->getMock();
+
+ $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34));
+
+ $expected = array(
+ 'message' => 'test',
+ 'context' => array('data' => '[object] (stdClass: {})', 'foo' => 34),
+ 'level' => Logger::WARNING,
+ 'level_name' => 'WARNING',
+ 'channel' => 'test',
+ 'datetime' => $record['datetime']->format('Y-m-d H:i:s'),
+ 'extra' => array(),
+ );
+
+ $client->expects($this->once())
+ ->method('postDocument')
+ ->with($expected);
+
+ $handler = new DoctrineCouchDBHandler($client);
+ $handler->handle($record);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DynamoDbHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DynamoDbHandlerTest.php
new file mode 100644
index 00000000..2e6c348d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DynamoDbHandlerTest.php
@@ -0,0 +1,82 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+
+class DynamoDbHandlerTest extends TestCase
+{
+ private $client;
+
+ public function setUp()
+ {
+ if (!class_exists('Aws\DynamoDb\DynamoDbClient')) {
+ $this->markTestSkipped('aws/aws-sdk-php not installed');
+ }
+
+ $this->client = $this->getMockBuilder('Aws\DynamoDb\DynamoDbClient')
+ ->setMethods(array('formatAttributes', '__call'))
+ ->disableOriginalConstructor()->getMock();
+ }
+
+ public function testConstruct()
+ {
+ $this->assertInstanceOf('Monolog\Handler\DynamoDbHandler', new DynamoDbHandler($this->client, 'foo'));
+ }
+
+ public function testInterface()
+ {
+ $this->assertInstanceOf('Monolog\Handler\HandlerInterface', new DynamoDbHandler($this->client, 'foo'));
+ }
+
+ public function testGetFormatter()
+ {
+ $handler = new DynamoDbHandler($this->client, 'foo');
+ $this->assertInstanceOf('Monolog\Formatter\ScalarFormatter', $handler->getFormatter());
+ }
+
+ public function testHandle()
+ {
+ $record = $this->getRecord();
+ $formatter = $this->getMock('Monolog\Formatter\FormatterInterface');
+ $formatted = array('foo' => 1, 'bar' => 2);
+ $handler = new DynamoDbHandler($this->client, 'foo');
+ $handler->setFormatter($formatter);
+
+ $isV3 = defined('Aws\Sdk::VERSION') && version_compare(\Aws\Sdk::VERSION, '3.0', '>=');
+ if ($isV3) {
+ $expFormatted = array('foo' => array('N' => 1), 'bar' => array('N' => 2));
+ } else {
+ $expFormatted = $formatted;
+ }
+
+ $formatter
+ ->expects($this->once())
+ ->method('format')
+ ->with($record)
+ ->will($this->returnValue($formatted));
+ $this->client
+ ->expects($isV3 ? $this->never() : $this->once())
+ ->method('formatAttributes')
+ ->with($this->isType('array'))
+ ->will($this->returnValue($formatted));
+ $this->client
+ ->expects($this->once())
+ ->method('__call')
+ ->with('putItem', array(array(
+ 'TableName' => 'foo',
+ 'Item' => $expFormatted,
+ )));
+
+ $handler->handle($record);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ElasticSearchHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ElasticSearchHandlerTest.php
new file mode 100644
index 00000000..1687074b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ElasticSearchHandlerTest.php
@@ -0,0 +1,239 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\ElasticaFormatter;
+use Monolog\Formatter\NormalizerFormatter;
+use Monolog\TestCase;
+use Monolog\Logger;
+use Elastica\Client;
+use Elastica\Request;
+use Elastica\Response;
+
+class ElasticSearchHandlerTest extends TestCase
+{
+ /**
+ * @var Client mock
+ */
+ protected $client;
+
+ /**
+ * @var array Default handler options
+ */
+ protected $options = array(
+ 'index' => 'my_index',
+ 'type' => 'doc_type',
+ );
+
+ public function setUp()
+ {
+ // Elastica lib required
+ if (!class_exists("Elastica\Client")) {
+ $this->markTestSkipped("ruflin/elastica not installed");
+ }
+
+ // base mock Elastica Client object
+ $this->client = $this->getMockBuilder('Elastica\Client')
+ ->setMethods(array('addDocuments'))
+ ->disableOriginalConstructor()
+ ->getMock();
+ }
+
+ /**
+ * @covers Monolog\Handler\ElasticSearchHandler::write
+ * @covers Monolog\Handler\ElasticSearchHandler::handleBatch
+ * @covers Monolog\Handler\ElasticSearchHandler::bulkSend
+ * @covers Monolog\Handler\ElasticSearchHandler::getDefaultFormatter
+ */
+ public function testHandle()
+ {
+ // log message
+ $msg = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('foo' => 7, 'bar', 'class' => new \stdClass),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array(),
+ 'message' => 'log',
+ );
+
+ // format expected result
+ $formatter = new ElasticaFormatter($this->options['index'], $this->options['type']);
+ $expected = array($formatter->format($msg));
+
+ // setup ES client mock
+ $this->client->expects($this->any())
+ ->method('addDocuments')
+ ->with($expected);
+
+ // perform tests
+ $handler = new ElasticSearchHandler($this->client, $this->options);
+ $handler->handle($msg);
+ $handler->handleBatch(array($msg));
+ }
+
+ /**
+ * @covers Monolog\Handler\ElasticSearchHandler::setFormatter
+ */
+ public function testSetFormatter()
+ {
+ $handler = new ElasticSearchHandler($this->client);
+ $formatter = new ElasticaFormatter('index_new', 'type_new');
+ $handler->setFormatter($formatter);
+ $this->assertInstanceOf('Monolog\Formatter\ElasticaFormatter', $handler->getFormatter());
+ $this->assertEquals('index_new', $handler->getFormatter()->getIndex());
+ $this->assertEquals('type_new', $handler->getFormatter()->getType());
+ }
+
+ /**
+ * @covers Monolog\Handler\ElasticSearchHandler::setFormatter
+ * @expectedException InvalidArgumentException
+ * @expectedExceptionMessage ElasticSearchHandler is only compatible with ElasticaFormatter
+ */
+ public function testSetFormatterInvalid()
+ {
+ $handler = new ElasticSearchHandler($this->client);
+ $formatter = new NormalizerFormatter();
+ $handler->setFormatter($formatter);
+ }
+
+ /**
+ * @covers Monolog\Handler\ElasticSearchHandler::__construct
+ * @covers Monolog\Handler\ElasticSearchHandler::getOptions
+ */
+ public function testOptions()
+ {
+ $expected = array(
+ 'index' => $this->options['index'],
+ 'type' => $this->options['type'],
+ 'ignore_error' => false,
+ );
+ $handler = new ElasticSearchHandler($this->client, $this->options);
+ $this->assertEquals($expected, $handler->getOptions());
+ }
+
+ /**
+ * @covers Monolog\Handler\ElasticSearchHandler::bulkSend
+ * @dataProvider providerTestConnectionErrors
+ */
+ public function testConnectionErrors($ignore, $expectedError)
+ {
+ $clientOpts = array('host' => '127.0.0.1', 'port' => 1);
+ $client = new Client($clientOpts);
+ $handlerOpts = array('ignore_error' => $ignore);
+ $handler = new ElasticSearchHandler($client, $handlerOpts);
+
+ if ($expectedError) {
+ $this->setExpectedException($expectedError[0], $expectedError[1]);
+ $handler->handle($this->getRecord());
+ } else {
+ $this->assertFalse($handler->handle($this->getRecord()));
+ }
+ }
+
+ /**
+ * @return array
+ */
+ public function providerTestConnectionErrors()
+ {
+ return array(
+ array(false, array('RuntimeException', 'Error sending messages to Elasticsearch')),
+ array(true, false),
+ );
+ }
+
+ /**
+ * Integration test using localhost Elastic Search server
+ *
+ * @covers Monolog\Handler\ElasticSearchHandler::__construct
+ * @covers Monolog\Handler\ElasticSearchHandler::handleBatch
+ * @covers Monolog\Handler\ElasticSearchHandler::bulkSend
+ * @covers Monolog\Handler\ElasticSearchHandler::getDefaultFormatter
+ */
+ public function testHandleIntegration()
+ {
+ $msg = array(
+ 'level' => Logger::ERROR,
+ 'level_name' => 'ERROR',
+ 'channel' => 'meh',
+ 'context' => array('foo' => 7, 'bar', 'class' => new \stdClass),
+ 'datetime' => new \DateTime("@0"),
+ 'extra' => array(),
+ 'message' => 'log',
+ );
+
+ $expected = $msg;
+ $expected['datetime'] = $msg['datetime']->format(\DateTime::ISO8601);
+ $expected['context'] = array(
+ 'class' => '[object] (stdClass: {})',
+ 'foo' => 7,
+ 0 => 'bar',
+ );
+
+ $client = new Client();
+ $handler = new ElasticSearchHandler($client, $this->options);
+ try {
+ $handler->handleBatch(array($msg));
+ } catch (\RuntimeException $e) {
+ $this->markTestSkipped("Cannot connect to Elastic Search server on localhost");
+ }
+
+ // check document id from ES server response
+ $documentId = $this->getCreatedDocId($client->getLastResponse());
+ $this->assertNotEmpty($documentId, 'No elastic document id received');
+
+ // retrieve document source from ES and validate
+ $document = $this->getDocSourceFromElastic(
+ $client,
+ $this->options['index'],
+ $this->options['type'],
+ $documentId
+ );
+ $this->assertEquals($expected, $document);
+
+ // remove test index from ES
+ $client->request("/{$this->options['index']}", Request::DELETE);
+ }
+
+ /**
+ * Return last created document id from ES response
+ * @param Response $response Elastica Response object
+ * @return string|null
+ */
+ protected function getCreatedDocId(Response $response)
+ {
+ $data = $response->getData();
+ if (!empty($data['items'][0]['create']['_id'])) {
+ return $data['items'][0]['create']['_id'];
+ }
+ }
+
+ /**
+ * Retrieve document by id from Elasticsearch
+ * @param Client $client Elastica client
+ * @param string $index
+ * @param string $type
+ * @param string $documentId
+ * @return array
+ */
+ protected function getDocSourceFromElastic(Client $client, $index, $type, $documentId)
+ {
+ $resp = $client->request("/{$index}/{$type}/{$documentId}", Request::GET);
+ $data = $resp->getData();
+ if (!empty($data['_source'])) {
+ return $data['_source'];
+ }
+
+ return array();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ErrorLogHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ErrorLogHandlerTest.php
new file mode 100644
index 00000000..99785cbb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ErrorLogHandlerTest.php
@@ -0,0 +1,66 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+use Monolog\Formatter\LineFormatter;
+
+function error_log()
+{
+ $GLOBALS['error_log'][] = func_get_args();
+}
+
+class ErrorLogHandlerTest extends TestCase
+{
+ protected function setUp()
+ {
+ $GLOBALS['error_log'] = array();
+ }
+
+ /**
+ * @covers Monolog\Handler\ErrorLogHandler::__construct
+ * @expectedException InvalidArgumentException
+ * @expectedExceptionMessage The given message type "42" is not supported
+ */
+ public function testShouldNotAcceptAnInvalidTypeOnContructor()
+ {
+ new ErrorLogHandler(42);
+ }
+
+ /**
+ * @covers Monolog\Handler\ErrorLogHandler::write
+ */
+ public function testShouldLogMessagesUsingErrorLogFuncion()
+ {
+ $type = ErrorLogHandler::OPERATING_SYSTEM;
+ $handler = new ErrorLogHandler($type);
+ $handler->setFormatter(new LineFormatter('%channel%.%level_name%: %message% %context% %extra%', null, true));
+ $handler->handle($this->getRecord(Logger::ERROR, "Foo\nBar\r\n\r\nBaz"));
+
+ $this->assertSame("test.ERROR: Foo\nBar\r\n\r\nBaz [] []", $GLOBALS['error_log'][0][0]);
+ $this->assertSame($GLOBALS['error_log'][0][1], $type);
+
+ $handler = new ErrorLogHandler($type, Logger::DEBUG, true, true);
+ $handler->setFormatter(new LineFormatter(null, null, true));
+ $handler->handle($this->getRecord(Logger::ERROR, "Foo\nBar\r\n\r\nBaz"));
+
+ $this->assertStringMatchesFormat('[%s] test.ERROR: Foo', $GLOBALS['error_log'][1][0]);
+ $this->assertSame($GLOBALS['error_log'][1][1], $type);
+
+ $this->assertStringMatchesFormat('Bar', $GLOBALS['error_log'][2][0]);
+ $this->assertSame($GLOBALS['error_log'][2][1], $type);
+
+ $this->assertStringMatchesFormat('Baz [] []', $GLOBALS['error_log'][3][0]);
+ $this->assertSame($GLOBALS['error_log'][3][1], $type);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FilterHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FilterHandlerTest.php
new file mode 100644
index 00000000..31b7686a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FilterHandlerTest.php
@@ -0,0 +1,170 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+use Monolog\TestCase;
+
+class FilterHandlerTest extends TestCase
+{
+ /**
+ * @covers Monolog\Handler\FilterHandler::isHandling
+ */
+ public function testIsHandling()
+ {
+ $test = new TestHandler();
+ $handler = new FilterHandler($test, Logger::INFO, Logger::NOTICE);
+ $this->assertFalse($handler->isHandling($this->getRecord(Logger::DEBUG)));
+ $this->assertTrue($handler->isHandling($this->getRecord(Logger::INFO)));
+ $this->assertTrue($handler->isHandling($this->getRecord(Logger::NOTICE)));
+ $this->assertFalse($handler->isHandling($this->getRecord(Logger::WARNING)));
+ $this->assertFalse($handler->isHandling($this->getRecord(Logger::ERROR)));
+ $this->assertFalse($handler->isHandling($this->getRecord(Logger::CRITICAL)));
+ $this->assertFalse($handler->isHandling($this->getRecord(Logger::ALERT)));
+ $this->assertFalse($handler->isHandling($this->getRecord(Logger::EMERGENCY)));
+ }
+
+ /**
+ * @covers Monolog\Handler\FilterHandler::handle
+ * @covers Monolog\Handler\FilterHandler::setAcceptedLevels
+ * @covers Monolog\Handler\FilterHandler::isHandling
+ */
+ public function testHandleProcessOnlyNeededLevels()
+ {
+ $test = new TestHandler();
+ $handler = new FilterHandler($test, Logger::INFO, Logger::NOTICE);
+
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $this->assertFalse($test->hasDebugRecords());
+
+ $handler->handle($this->getRecord(Logger::INFO));
+ $this->assertTrue($test->hasInfoRecords());
+ $handler->handle($this->getRecord(Logger::NOTICE));
+ $this->assertTrue($test->hasNoticeRecords());
+
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $this->assertFalse($test->hasWarningRecords());
+ $handler->handle($this->getRecord(Logger::ERROR));
+ $this->assertFalse($test->hasErrorRecords());
+ $handler->handle($this->getRecord(Logger::CRITICAL));
+ $this->assertFalse($test->hasCriticalRecords());
+ $handler->handle($this->getRecord(Logger::ALERT));
+ $this->assertFalse($test->hasAlertRecords());
+ $handler->handle($this->getRecord(Logger::EMERGENCY));
+ $this->assertFalse($test->hasEmergencyRecords());
+
+ $test = new TestHandler();
+ $handler = new FilterHandler($test, array(Logger::INFO, Logger::ERROR));
+
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $this->assertFalse($test->hasDebugRecords());
+ $handler->handle($this->getRecord(Logger::INFO));
+ $this->assertTrue($test->hasInfoRecords());
+ $handler->handle($this->getRecord(Logger::NOTICE));
+ $this->assertFalse($test->hasNoticeRecords());
+ $handler->handle($this->getRecord(Logger::ERROR));
+ $this->assertTrue($test->hasErrorRecords());
+ $handler->handle($this->getRecord(Logger::CRITICAL));
+ $this->assertFalse($test->hasCriticalRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\FilterHandler::setAcceptedLevels
+ * @covers Monolog\Handler\FilterHandler::getAcceptedLevels
+ */
+ public function testAcceptedLevelApi()
+ {
+ $test = new TestHandler();
+ $handler = new FilterHandler($test);
+
+ $levels = array(Logger::INFO, Logger::ERROR);
+ $handler->setAcceptedLevels($levels);
+ $this->assertSame($levels, $handler->getAcceptedLevels());
+
+ $handler->setAcceptedLevels(array('info', 'error'));
+ $this->assertSame($levels, $handler->getAcceptedLevels());
+
+ $levels = array(Logger::CRITICAL, Logger::ALERT, Logger::EMERGENCY);
+ $handler->setAcceptedLevels(Logger::CRITICAL, Logger::EMERGENCY);
+ $this->assertSame($levels, $handler->getAcceptedLevels());
+
+ $handler->setAcceptedLevels('critical', 'emergency');
+ $this->assertSame($levels, $handler->getAcceptedLevels());
+ }
+
+ /**
+ * @covers Monolog\Handler\FilterHandler::handle
+ */
+ public function testHandleUsesProcessors()
+ {
+ $test = new TestHandler();
+ $handler = new FilterHandler($test, Logger::DEBUG, Logger::EMERGENCY);
+ $handler->pushProcessor(
+ function ($record) {
+ $record['extra']['foo'] = true;
+
+ return $record;
+ }
+ );
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $this->assertTrue($test->hasWarningRecords());
+ $records = $test->getRecords();
+ $this->assertTrue($records[0]['extra']['foo']);
+ }
+
+ /**
+ * @covers Monolog\Handler\FilterHandler::handle
+ */
+ public function testHandleRespectsBubble()
+ {
+ $test = new TestHandler();
+
+ $handler = new FilterHandler($test, Logger::INFO, Logger::NOTICE, false);
+ $this->assertTrue($handler->handle($this->getRecord(Logger::INFO)));
+ $this->assertFalse($handler->handle($this->getRecord(Logger::WARNING)));
+
+ $handler = new FilterHandler($test, Logger::INFO, Logger::NOTICE, true);
+ $this->assertFalse($handler->handle($this->getRecord(Logger::INFO)));
+ $this->assertFalse($handler->handle($this->getRecord(Logger::WARNING)));
+ }
+
+ /**
+ * @covers Monolog\Handler\FilterHandler::handle
+ */
+ public function testHandleWithCallback()
+ {
+ $test = new TestHandler();
+ $handler = new FilterHandler(
+ function ($record, $handler) use ($test) {
+ return $test;
+ }, Logger::INFO, Logger::NOTICE, false
+ );
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::INFO));
+ $this->assertFalse($test->hasDebugRecords());
+ $this->assertTrue($test->hasInfoRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\FilterHandler::handle
+ * @expectedException \RuntimeException
+ */
+ public function testHandleWithBadCallbackThrowsException()
+ {
+ $handler = new FilterHandler(
+ function ($record, $handler) {
+ return 'foo';
+ }
+ );
+ $handler->handle($this->getRecord(Logger::WARNING));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FingersCrossedHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FingersCrossedHandlerTest.php
new file mode 100644
index 00000000..b92bf437
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FingersCrossedHandlerTest.php
@@ -0,0 +1,279 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+use Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy;
+use Monolog\Handler\FingersCrossed\ChannelLevelActivationStrategy;
+use Psr\Log\LogLevel;
+
+class FingersCrossedHandlerTest extends TestCase
+{
+ /**
+ * @covers Monolog\Handler\FingersCrossedHandler::__construct
+ * @covers Monolog\Handler\FingersCrossedHandler::handle
+ * @covers Monolog\Handler\FingersCrossedHandler::activate
+ */
+ public function testHandleBuffers()
+ {
+ $test = new TestHandler();
+ $handler = new FingersCrossedHandler($test);
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::INFO));
+ $this->assertFalse($test->hasDebugRecords());
+ $this->assertFalse($test->hasInfoRecords());
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $handler->close();
+ $this->assertTrue($test->hasInfoRecords());
+ $this->assertTrue(count($test->getRecords()) === 3);
+ }
+
+ /**
+ * @covers Monolog\Handler\FingersCrossedHandler::handle
+ * @covers Monolog\Handler\FingersCrossedHandler::activate
+ */
+ public function testHandleStopsBufferingAfterTrigger()
+ {
+ $test = new TestHandler();
+ $handler = new FingersCrossedHandler($test);
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->close();
+ $this->assertTrue($test->hasWarningRecords());
+ $this->assertTrue($test->hasDebugRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\FingersCrossedHandler::handle
+ * @covers Monolog\Handler\FingersCrossedHandler::activate
+ * @covers Monolog\Handler\FingersCrossedHandler::reset
+ */
+ public function testHandleRestartBufferingAfterReset()
+ {
+ $test = new TestHandler();
+ $handler = new FingersCrossedHandler($test);
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->reset();
+ $handler->handle($this->getRecord(Logger::INFO));
+ $handler->close();
+ $this->assertTrue($test->hasWarningRecords());
+ $this->assertTrue($test->hasDebugRecords());
+ $this->assertFalse($test->hasInfoRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\FingersCrossedHandler::handle
+ * @covers Monolog\Handler\FingersCrossedHandler::activate
+ */
+ public function testHandleRestartBufferingAfterBeingTriggeredWhenStopBufferingIsDisabled()
+ {
+ $test = new TestHandler();
+ $handler = new FingersCrossedHandler($test, Logger::WARNING, 0, false, false);
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $handler->handle($this->getRecord(Logger::INFO));
+ $handler->close();
+ $this->assertTrue($test->hasWarningRecords());
+ $this->assertTrue($test->hasDebugRecords());
+ $this->assertFalse($test->hasInfoRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\FingersCrossedHandler::handle
+ * @covers Monolog\Handler\FingersCrossedHandler::activate
+ */
+ public function testHandleBufferLimit()
+ {
+ $test = new TestHandler();
+ $handler = new FingersCrossedHandler($test, Logger::WARNING, 2);
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::INFO));
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $this->assertTrue($test->hasWarningRecords());
+ $this->assertTrue($test->hasInfoRecords());
+ $this->assertFalse($test->hasDebugRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\FingersCrossedHandler::handle
+ * @covers Monolog\Handler\FingersCrossedHandler::activate
+ */
+ public function testHandleWithCallback()
+ {
+ $test = new TestHandler();
+ $handler = new FingersCrossedHandler(function ($record, $handler) use ($test) {
+ return $test;
+ });
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::INFO));
+ $this->assertFalse($test->hasDebugRecords());
+ $this->assertFalse($test->hasInfoRecords());
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $this->assertTrue($test->hasInfoRecords());
+ $this->assertTrue(count($test->getRecords()) === 3);
+ }
+
+ /**
+ * @covers Monolog\Handler\FingersCrossedHandler::handle
+ * @covers Monolog\Handler\FingersCrossedHandler::activate
+ * @expectedException RuntimeException
+ */
+ public function testHandleWithBadCallbackThrowsException()
+ {
+ $handler = new FingersCrossedHandler(function ($record, $handler) {
+ return 'foo';
+ });
+ $handler->handle($this->getRecord(Logger::WARNING));
+ }
+
+ /**
+ * @covers Monolog\Handler\FingersCrossedHandler::isHandling
+ */
+ public function testIsHandlingAlways()
+ {
+ $test = new TestHandler();
+ $handler = new FingersCrossedHandler($test, Logger::ERROR);
+ $this->assertTrue($handler->isHandling($this->getRecord(Logger::DEBUG)));
+ }
+
+ /**
+ * @covers Monolog\Handler\FingersCrossedHandler::__construct
+ * @covers Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy::__construct
+ * @covers Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy::isHandlerActivated
+ */
+ public function testErrorLevelActivationStrategy()
+ {
+ $test = new TestHandler();
+ $handler = new FingersCrossedHandler($test, new ErrorLevelActivationStrategy(Logger::WARNING));
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $this->assertFalse($test->hasDebugRecords());
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $this->assertTrue($test->hasDebugRecords());
+ $this->assertTrue($test->hasWarningRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\FingersCrossedHandler::__construct
+ * @covers Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy::__construct
+ * @covers Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy::isHandlerActivated
+ */
+ public function testErrorLevelActivationStrategyWithPsrLevel()
+ {
+ $test = new TestHandler();
+ $handler = new FingersCrossedHandler($test, new ErrorLevelActivationStrategy('warning'));
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $this->assertFalse($test->hasDebugRecords());
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $this->assertTrue($test->hasDebugRecords());
+ $this->assertTrue($test->hasWarningRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\FingersCrossedHandler::__construct
+ * @covers Monolog\Handler\FingersCrossedHandler::activate
+ */
+ public function testOverrideActivationStrategy()
+ {
+ $test = new TestHandler();
+ $handler = new FingersCrossedHandler($test, new ErrorLevelActivationStrategy('warning'));
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $this->assertFalse($test->hasDebugRecords());
+ $handler->activate();
+ $this->assertTrue($test->hasDebugRecords());
+ $handler->handle($this->getRecord(Logger::INFO));
+ $this->assertTrue($test->hasInfoRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\FingersCrossed\ChannelLevelActivationStrategy::__construct
+ * @covers Monolog\Handler\FingersCrossed\ChannelLevelActivationStrategy::isHandlerActivated
+ */
+ public function testChannelLevelActivationStrategy()
+ {
+ $test = new TestHandler();
+ $handler = new FingersCrossedHandler($test, new ChannelLevelActivationStrategy(Logger::ERROR, array('othertest' => Logger::DEBUG)));
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $this->assertFalse($test->hasWarningRecords());
+ $record = $this->getRecord(Logger::DEBUG);
+ $record['channel'] = 'othertest';
+ $handler->handle($record);
+ $this->assertTrue($test->hasDebugRecords());
+ $this->assertTrue($test->hasWarningRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\FingersCrossed\ChannelLevelActivationStrategy::__construct
+ * @covers Monolog\Handler\FingersCrossed\ChannelLevelActivationStrategy::isHandlerActivated
+ */
+ public function testChannelLevelActivationStrategyWithPsrLevels()
+ {
+ $test = new TestHandler();
+ $handler = new FingersCrossedHandler($test, new ChannelLevelActivationStrategy('error', array('othertest' => 'debug')));
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $this->assertFalse($test->hasWarningRecords());
+ $record = $this->getRecord(Logger::DEBUG);
+ $record['channel'] = 'othertest';
+ $handler->handle($record);
+ $this->assertTrue($test->hasDebugRecords());
+ $this->assertTrue($test->hasWarningRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\FingersCrossedHandler::handle
+ * @covers Monolog\Handler\FingersCrossedHandler::activate
+ */
+ public function testHandleUsesProcessors()
+ {
+ $test = new TestHandler();
+ $handler = new FingersCrossedHandler($test, Logger::INFO);
+ $handler->pushProcessor(function ($record) {
+ $record['extra']['foo'] = true;
+
+ return $record;
+ });
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $this->assertTrue($test->hasWarningRecords());
+ $records = $test->getRecords();
+ $this->assertTrue($records[0]['extra']['foo']);
+ }
+
+ /**
+ * @covers Monolog\Handler\FingersCrossedHandler::close
+ */
+ public function testPassthruOnClose()
+ {
+ $test = new TestHandler();
+ $handler = new FingersCrossedHandler($test, new ErrorLevelActivationStrategy(Logger::WARNING), 0, true, true, Logger::INFO);
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::INFO));
+ $handler->close();
+ $this->assertFalse($test->hasDebugRecords());
+ $this->assertTrue($test->hasInfoRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\FingersCrossedHandler::close
+ */
+ public function testPsrLevelPassthruOnClose()
+ {
+ $test = new TestHandler();
+ $handler = new FingersCrossedHandler($test, new ErrorLevelActivationStrategy(Logger::WARNING), 0, true, true, LogLevel::INFO);
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::INFO));
+ $handler->close();
+ $this->assertFalse($test->hasDebugRecords());
+ $this->assertTrue($test->hasInfoRecords());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FirePHPHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FirePHPHandlerTest.php
new file mode 100644
index 00000000..0eb10a63
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FirePHPHandlerTest.php
@@ -0,0 +1,96 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+/**
+ * @covers Monolog\Handler\FirePHPHandler
+ */
+class FirePHPHandlerTest extends TestCase
+{
+ public function setUp()
+ {
+ TestFirePHPHandler::reset();
+ $_SERVER['HTTP_USER_AGENT'] = 'Monolog Test; FirePHP/1.0';
+ }
+
+ public function testHeaders()
+ {
+ $handler = new TestFirePHPHandler;
+ $handler->setFormatter($this->getIdentityFormatter());
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::WARNING));
+
+ $expected = array(
+ 'X-Wf-Protocol-1' => 'http://meta.wildfirehq.org/Protocol/JsonStream/0.2',
+ 'X-Wf-1-Structure-1' => 'http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1',
+ 'X-Wf-1-Plugin-1' => 'http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3',
+ 'X-Wf-1-1-1-1' => 'test',
+ 'X-Wf-1-1-1-2' => 'test',
+ );
+
+ $this->assertEquals($expected, $handler->getHeaders());
+ }
+
+ public function testConcurrentHandlers()
+ {
+ $handler = new TestFirePHPHandler;
+ $handler->setFormatter($this->getIdentityFormatter());
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::WARNING));
+
+ $handler2 = new TestFirePHPHandler;
+ $handler2->setFormatter($this->getIdentityFormatter());
+ $handler2->handle($this->getRecord(Logger::DEBUG));
+ $handler2->handle($this->getRecord(Logger::WARNING));
+
+ $expected = array(
+ 'X-Wf-Protocol-1' => 'http://meta.wildfirehq.org/Protocol/JsonStream/0.2',
+ 'X-Wf-1-Structure-1' => 'http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1',
+ 'X-Wf-1-Plugin-1' => 'http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3',
+ 'X-Wf-1-1-1-1' => 'test',
+ 'X-Wf-1-1-1-2' => 'test',
+ );
+
+ $expected2 = array(
+ 'X-Wf-1-1-1-3' => 'test',
+ 'X-Wf-1-1-1-4' => 'test',
+ );
+
+ $this->assertEquals($expected, $handler->getHeaders());
+ $this->assertEquals($expected2, $handler2->getHeaders());
+ }
+}
+
+class TestFirePHPHandler extends FirePHPHandler
+{
+ protected $headers = array();
+
+ public static function reset()
+ {
+ self::$initialized = false;
+ self::$sendHeaders = true;
+ self::$messageIndex = 1;
+ }
+
+ protected function sendHeader($header, $content)
+ {
+ $this->headers[$header] = $content;
+ }
+
+ public function getHeaders()
+ {
+ return $this->headers;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/Fixtures/.gitkeep b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/Fixtures/.gitkeep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/Fixtures/.gitkeep
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FleepHookHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FleepHookHandlerTest.php
new file mode 100644
index 00000000..91cdd312
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FleepHookHandlerTest.php
@@ -0,0 +1,85 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\LineFormatter;
+use Monolog\Logger;
+use Monolog\TestCase;
+
+/**
+ * @coversDefaultClass \Monolog\Handler\FleepHookHandler
+ */
+class FleepHookHandlerTest extends TestCase
+{
+ /**
+ * Default token to use in tests
+ */
+ const TOKEN = '123abc';
+
+ /**
+ * @var FleepHookHandler
+ */
+ private $handler;
+
+ public function setUp()
+ {
+ parent::setUp();
+
+ if (!extension_loaded('openssl')) {
+ $this->markTestSkipped('This test requires openssl extension to run');
+ }
+
+ // Create instances of the handler and logger for convenience
+ $this->handler = new FleepHookHandler(self::TOKEN);
+ }
+
+ /**
+ * @covers ::__construct
+ */
+ public function testConstructorSetsExpectedDefaults()
+ {
+ $this->assertEquals(Logger::DEBUG, $this->handler->getLevel());
+ $this->assertEquals(true, $this->handler->getBubble());
+ }
+
+ /**
+ * @covers ::getDefaultFormatter
+ */
+ public function testHandlerUsesLineFormatterWhichIgnoresEmptyArrays()
+ {
+ $record = array(
+ 'message' => 'msg',
+ 'context' => array(),
+ 'level' => Logger::DEBUG,
+ 'level_name' => Logger::getLevelName(Logger::DEBUG),
+ 'channel' => 'channel',
+ 'datetime' => new \DateTime(),
+ 'extra' => array(),
+ );
+
+ $expectedFormatter = new LineFormatter(null, null, true, true);
+ $expected = $expectedFormatter->format($record);
+
+ $handlerFormatter = $this->handler->getFormatter();
+ $actual = $handlerFormatter->format($record);
+
+ $this->assertEquals($expected, $actual, 'Empty context and extra arrays should not be rendered');
+ }
+
+ /**
+ * @covers ::__construct
+ */
+ public function testConnectionStringisConstructedCorrectly()
+ {
+ $this->assertEquals('ssl://' . FleepHookHandler::FLEEP_HOST . ':443', $this->handler->getConnectionString());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FlowdockHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FlowdockHandlerTest.php
new file mode 100644
index 00000000..4b120d51
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FlowdockHandlerTest.php
@@ -0,0 +1,88 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\FlowdockFormatter;
+use Monolog\TestCase;
+use Monolog\Logger;
+
+/**
+ * @author Dominik Liebler <liebler.dominik@gmail.com>
+ * @see https://www.hipchat.com/docs/api
+ */
+class FlowdockHandlerTest extends TestCase
+{
+ /**
+ * @var resource
+ */
+ private $res;
+
+ /**
+ * @var FlowdockHandler
+ */
+ private $handler;
+
+ public function setUp()
+ {
+ if (!extension_loaded('openssl')) {
+ $this->markTestSkipped('This test requires openssl to run');
+ }
+ }
+
+ public function testWriteHeader()
+ {
+ $this->createHandler();
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/POST \/v1\/messages\/team_inbox\/.* HTTP\/1.1\\r\\nHost: api.flowdock.com\\r\\nContent-Type: application\/json\\r\\nContent-Length: \d{2,4}\\r\\n\\r\\n/', $content);
+
+ return $content;
+ }
+
+ /**
+ * @depends testWriteHeader
+ */
+ public function testWriteContent($content)
+ {
+ $this->assertRegexp('/"source":"test_source"/', $content);
+ $this->assertRegexp('/"from_address":"source@test\.com"/', $content);
+ }
+
+ private function createHandler($token = 'myToken')
+ {
+ $constructorArgs = array($token, Logger::DEBUG);
+ $this->res = fopen('php://memory', 'a');
+ $this->handler = $this->getMock(
+ '\Monolog\Handler\FlowdockHandler',
+ array('fsockopen', 'streamSetTimeout', 'closeSocket'),
+ $constructorArgs
+ );
+
+ $reflectionProperty = new \ReflectionProperty('\Monolog\Handler\SocketHandler', 'connectionString');
+ $reflectionProperty->setAccessible(true);
+ $reflectionProperty->setValue($this->handler, 'localhost:1234');
+
+ $this->handler->expects($this->any())
+ ->method('fsockopen')
+ ->will($this->returnValue($this->res));
+ $this->handler->expects($this->any())
+ ->method('streamSetTimeout')
+ ->will($this->returnValue(true));
+ $this->handler->expects($this->any())
+ ->method('closeSocket')
+ ->will($this->returnValue(true));
+
+ $this->handler->setFormatter(new FlowdockFormatter('test_source', 'source@test.com'));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfHandlerLegacyTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfHandlerLegacyTest.php
new file mode 100644
index 00000000..9d007b13
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfHandlerLegacyTest.php
@@ -0,0 +1,95 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Gelf\Message;
+use Monolog\TestCase;
+use Monolog\Logger;
+use Monolog\Formatter\GelfMessageFormatter;
+
+class GelfHandlerLegacyTest extends TestCase
+{
+ public function setUp()
+ {
+ if (!class_exists('Gelf\MessagePublisher') || !class_exists('Gelf\Message')) {
+ $this->markTestSkipped("mlehner/gelf-php not installed");
+ }
+
+ require_once __DIR__ . '/GelfMockMessagePublisher.php';
+ }
+
+ /**
+ * @covers Monolog\Handler\GelfHandler::__construct
+ */
+ public function testConstruct()
+ {
+ $handler = new GelfHandler($this->getMessagePublisher());
+ $this->assertInstanceOf('Monolog\Handler\GelfHandler', $handler);
+ }
+
+ protected function getHandler($messagePublisher)
+ {
+ $handler = new GelfHandler($messagePublisher);
+
+ return $handler;
+ }
+
+ protected function getMessagePublisher()
+ {
+ return new GelfMockMessagePublisher('localhost');
+ }
+
+ public function testDebug()
+ {
+ $messagePublisher = $this->getMessagePublisher();
+ $handler = $this->getHandler($messagePublisher);
+
+ $record = $this->getRecord(Logger::DEBUG, "A test debug message");
+ $handler->handle($record);
+
+ $this->assertEquals(7, $messagePublisher->lastMessage->getLevel());
+ $this->assertEquals('test', $messagePublisher->lastMessage->getFacility());
+ $this->assertEquals($record['message'], $messagePublisher->lastMessage->getShortMessage());
+ $this->assertEquals(null, $messagePublisher->lastMessage->getFullMessage());
+ }
+
+ public function testWarning()
+ {
+ $messagePublisher = $this->getMessagePublisher();
+ $handler = $this->getHandler($messagePublisher);
+
+ $record = $this->getRecord(Logger::WARNING, "A test warning message");
+ $handler->handle($record);
+
+ $this->assertEquals(4, $messagePublisher->lastMessage->getLevel());
+ $this->assertEquals('test', $messagePublisher->lastMessage->getFacility());
+ $this->assertEquals($record['message'], $messagePublisher->lastMessage->getShortMessage());
+ $this->assertEquals(null, $messagePublisher->lastMessage->getFullMessage());
+ }
+
+ public function testInjectedGelfMessageFormatter()
+ {
+ $messagePublisher = $this->getMessagePublisher();
+ $handler = $this->getHandler($messagePublisher);
+
+ $handler->setFormatter(new GelfMessageFormatter('mysystem', 'EXT', 'CTX'));
+
+ $record = $this->getRecord(Logger::WARNING, "A test warning message");
+ $record['extra']['blarg'] = 'yep';
+ $record['context']['from'] = 'logger';
+ $handler->handle($record);
+
+ $this->assertEquals('mysystem', $messagePublisher->lastMessage->getHost());
+ $this->assertArrayHasKey('_EXTblarg', $messagePublisher->lastMessage->toArray());
+ $this->assertArrayHasKey('_CTXfrom', $messagePublisher->lastMessage->toArray());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfHandlerTest.php
new file mode 100644
index 00000000..8cdd64f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfHandlerTest.php
@@ -0,0 +1,117 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Gelf\Message;
+use Monolog\TestCase;
+use Monolog\Logger;
+use Monolog\Formatter\GelfMessageFormatter;
+
+class GelfHandlerTest extends TestCase
+{
+ public function setUp()
+ {
+ if (!class_exists('Gelf\Publisher') || !class_exists('Gelf\Message')) {
+ $this->markTestSkipped("graylog2/gelf-php not installed");
+ }
+ }
+
+ /**
+ * @covers Monolog\Handler\GelfHandler::__construct
+ */
+ public function testConstruct()
+ {
+ $handler = new GelfHandler($this->getMessagePublisher());
+ $this->assertInstanceOf('Monolog\Handler\GelfHandler', $handler);
+ }
+
+ protected function getHandler($messagePublisher)
+ {
+ $handler = new GelfHandler($messagePublisher);
+
+ return $handler;
+ }
+
+ protected function getMessagePublisher()
+ {
+ return $this->getMock('Gelf\Publisher', array('publish'), array(), '', false);
+ }
+
+ public function testDebug()
+ {
+ $record = $this->getRecord(Logger::DEBUG, "A test debug message");
+ $expectedMessage = new Message();
+ $expectedMessage
+ ->setLevel(7)
+ ->setFacility("test")
+ ->setShortMessage($record['message'])
+ ->setTimestamp($record['datetime'])
+ ;
+
+ $messagePublisher = $this->getMessagePublisher();
+ $messagePublisher->expects($this->once())
+ ->method('publish')
+ ->with($expectedMessage);
+
+ $handler = $this->getHandler($messagePublisher);
+
+ $handler->handle($record);
+ }
+
+ public function testWarning()
+ {
+ $record = $this->getRecord(Logger::WARNING, "A test warning message");
+ $expectedMessage = new Message();
+ $expectedMessage
+ ->setLevel(4)
+ ->setFacility("test")
+ ->setShortMessage($record['message'])
+ ->setTimestamp($record['datetime'])
+ ;
+
+ $messagePublisher = $this->getMessagePublisher();
+ $messagePublisher->expects($this->once())
+ ->method('publish')
+ ->with($expectedMessage);
+
+ $handler = $this->getHandler($messagePublisher);
+
+ $handler->handle($record);
+ }
+
+ public function testInjectedGelfMessageFormatter()
+ {
+ $record = $this->getRecord(Logger::WARNING, "A test warning message");
+ $record['extra']['blarg'] = 'yep';
+ $record['context']['from'] = 'logger';
+
+ $expectedMessage = new Message();
+ $expectedMessage
+ ->setLevel(4)
+ ->setFacility("test")
+ ->setHost("mysystem")
+ ->setShortMessage($record['message'])
+ ->setTimestamp($record['datetime'])
+ ->setAdditional("EXTblarg", 'yep')
+ ->setAdditional("CTXfrom", 'logger')
+ ;
+
+ $messagePublisher = $this->getMessagePublisher();
+ $messagePublisher->expects($this->once())
+ ->method('publish')
+ ->with($expectedMessage);
+
+ $handler = $this->getHandler($messagePublisher);
+ $handler->setFormatter(new GelfMessageFormatter('mysystem', 'EXT', 'CTX'));
+ $handler->handle($record);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfMockMessagePublisher.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfMockMessagePublisher.php
new file mode 100644
index 00000000..873d92fb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfMockMessagePublisher.php
@@ -0,0 +1,25 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Gelf\MessagePublisher;
+use Gelf\Message;
+
+class GelfMockMessagePublisher extends MessagePublisher
+{
+ public function publish(Message $message)
+ {
+ $this->lastMessage = $message;
+ }
+
+ public $lastMessage = null;
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GroupHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GroupHandlerTest.php
new file mode 100644
index 00000000..a1b86176
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GroupHandlerTest.php
@@ -0,0 +1,112 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+class GroupHandlerTest extends TestCase
+{
+ /**
+ * @covers Monolog\Handler\GroupHandler::__construct
+ * @expectedException InvalidArgumentException
+ */
+ public function testConstructorOnlyTakesHandler()
+ {
+ new GroupHandler(array(new TestHandler(), "foo"));
+ }
+
+ /**
+ * @covers Monolog\Handler\GroupHandler::__construct
+ * @covers Monolog\Handler\GroupHandler::handle
+ */
+ public function testHandle()
+ {
+ $testHandlers = array(new TestHandler(), new TestHandler());
+ $handler = new GroupHandler($testHandlers);
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::INFO));
+ foreach ($testHandlers as $test) {
+ $this->assertTrue($test->hasDebugRecords());
+ $this->assertTrue($test->hasInfoRecords());
+ $this->assertTrue(count($test->getRecords()) === 2);
+ }
+ }
+
+ /**
+ * @covers Monolog\Handler\GroupHandler::handleBatch
+ */
+ public function testHandleBatch()
+ {
+ $testHandlers = array(new TestHandler(), new TestHandler());
+ $handler = new GroupHandler($testHandlers);
+ $handler->handleBatch(array($this->getRecord(Logger::DEBUG), $this->getRecord(Logger::INFO)));
+ foreach ($testHandlers as $test) {
+ $this->assertTrue($test->hasDebugRecords());
+ $this->assertTrue($test->hasInfoRecords());
+ $this->assertTrue(count($test->getRecords()) === 2);
+ }
+ }
+
+ /**
+ * @covers Monolog\Handler\GroupHandler::isHandling
+ */
+ public function testIsHandling()
+ {
+ $testHandlers = array(new TestHandler(Logger::ERROR), new TestHandler(Logger::WARNING));
+ $handler = new GroupHandler($testHandlers);
+ $this->assertTrue($handler->isHandling($this->getRecord(Logger::ERROR)));
+ $this->assertTrue($handler->isHandling($this->getRecord(Logger::WARNING)));
+ $this->assertFalse($handler->isHandling($this->getRecord(Logger::DEBUG)));
+ }
+
+ /**
+ * @covers Monolog\Handler\GroupHandler::handle
+ */
+ public function testHandleUsesProcessors()
+ {
+ $test = new TestHandler();
+ $handler = new GroupHandler(array($test));
+ $handler->pushProcessor(function ($record) {
+ $record['extra']['foo'] = true;
+
+ return $record;
+ });
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $this->assertTrue($test->hasWarningRecords());
+ $records = $test->getRecords();
+ $this->assertTrue($records[0]['extra']['foo']);
+ }
+
+ /**
+ * @covers Monolog\Handler\GroupHandler::handle
+ */
+ public function testHandleBatchUsesProcessors()
+ {
+ $testHandlers = array(new TestHandler(), new TestHandler());
+ $handler = new GroupHandler($testHandlers);
+ $handler->pushProcessor(function ($record) {
+ $record['extra']['foo'] = true;
+
+ return $record;
+ });
+ $handler->handleBatch(array($this->getRecord(Logger::DEBUG), $this->getRecord(Logger::INFO)));
+ foreach ($testHandlers as $test) {
+ $this->assertTrue($test->hasDebugRecords());
+ $this->assertTrue($test->hasInfoRecords());
+ $this->assertTrue(count($test->getRecords()) === 2);
+ $records = $test->getRecords();
+ $this->assertTrue($records[0]['extra']['foo']);
+ $this->assertTrue($records[1]['extra']['foo']);
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/HandlerWrapperTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/HandlerWrapperTest.php
new file mode 100644
index 00000000..d8d0452c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/HandlerWrapperTest.php
@@ -0,0 +1,130 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+
+/**
+ * @author Alexey Karapetov <alexey@karapetov.com>
+ */
+class HandlerWrapperTest extends TestCase
+{
+ /**
+ * @var HandlerWrapper
+ */
+ private $wrapper;
+
+ private $handler;
+
+ public function setUp()
+ {
+ parent::setUp();
+ $this->handler = $this->getMock('Monolog\\Handler\\HandlerInterface');
+ $this->wrapper = new HandlerWrapper($this->handler);
+ }
+
+ /**
+ * @return array
+ */
+ public function trueFalseDataProvider()
+ {
+ return array(
+ array(true),
+ array(false),
+ );
+ }
+
+ /**
+ * @param $result
+ * @dataProvider trueFalseDataProvider
+ */
+ public function testIsHandling($result)
+ {
+ $record = $this->getRecord();
+ $this->handler->expects($this->once())
+ ->method('isHandling')
+ ->with($record)
+ ->willReturn($result);
+
+ $this->assertEquals($result, $this->wrapper->isHandling($record));
+ }
+
+ /**
+ * @param $result
+ * @dataProvider trueFalseDataProvider
+ */
+ public function testHandle($result)
+ {
+ $record = $this->getRecord();
+ $this->handler->expects($this->once())
+ ->method('handle')
+ ->with($record)
+ ->willReturn($result);
+
+ $this->assertEquals($result, $this->wrapper->handle($record));
+ }
+
+ /**
+ * @param $result
+ * @dataProvider trueFalseDataProvider
+ */
+ public function testHandleBatch($result)
+ {
+ $records = $this->getMultipleRecords();
+ $this->handler->expects($this->once())
+ ->method('handleBatch')
+ ->with($records)
+ ->willReturn($result);
+
+ $this->assertEquals($result, $this->wrapper->handleBatch($records));
+ }
+
+ public function testPushProcessor()
+ {
+ $processor = function () {};
+ $this->handler->expects($this->once())
+ ->method('pushProcessor')
+ ->with($processor);
+
+ $this->assertEquals($this->wrapper, $this->wrapper->pushProcessor($processor));
+ }
+
+ public function testPopProcessor()
+ {
+ $processor = function () {};
+ $this->handler->expects($this->once())
+ ->method('popProcessor')
+ ->willReturn($processor);
+
+ $this->assertEquals($processor, $this->wrapper->popProcessor());
+ }
+
+ public function testSetFormatter()
+ {
+ $formatter = $this->getMock('Monolog\\Formatter\\FormatterInterface');
+ $this->handler->expects($this->once())
+ ->method('setFormatter')
+ ->with($formatter);
+
+ $this->assertEquals($this->wrapper, $this->wrapper->setFormatter($formatter));
+ }
+
+ public function testGetFormatter()
+ {
+ $formatter = $this->getMock('Monolog\\Formatter\\FormatterInterface');
+ $this->handler->expects($this->once())
+ ->method('getFormatter')
+ ->willReturn($formatter);
+
+ $this->assertEquals($formatter, $this->wrapper->getFormatter());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/HipChatHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/HipChatHandlerTest.php
new file mode 100644
index 00000000..52dc9dac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/HipChatHandlerTest.php
@@ -0,0 +1,279 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+/**
+ * @author Rafael Dohms <rafael@doh.ms>
+ * @see https://www.hipchat.com/docs/api
+ */
+class HipChatHandlerTest extends TestCase
+{
+ private $res;
+ /** @var HipChatHandler */
+ private $handler;
+
+ public function testWriteHeader()
+ {
+ $this->createHandler();
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/POST \/v1\/rooms\/message\?format=json&auth_token=.* HTTP\/1.1\\r\\nHost: api.hipchat.com\\r\\nContent-Type: application\/x-www-form-urlencoded\\r\\nContent-Length: \d{2,4}\\r\\n\\r\\n/', $content);
+
+ return $content;
+ }
+
+ public function testWriteCustomHostHeader()
+ {
+ $this->createHandler('myToken', 'room1', 'Monolog', true, 'hipchat.foo.bar');
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/POST \/v1\/rooms\/message\?format=json&auth_token=.* HTTP\/1.1\\r\\nHost: hipchat.foo.bar\\r\\nContent-Type: application\/x-www-form-urlencoded\\r\\nContent-Length: \d{2,4}\\r\\n\\r\\n/', $content);
+
+ return $content;
+ }
+
+ public function testWriteV2()
+ {
+ $this->createHandler('myToken', 'room1', 'Monolog', false, 'hipchat.foo.bar', 'v2');
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/POST \/v2\/room\/room1\/notification\?auth_token=.* HTTP\/1.1\\r\\nHost: hipchat.foo.bar\\r\\nContent-Type: application\/x-www-form-urlencoded\\r\\nContent-Length: \d{2,4}\\r\\n\\r\\n/', $content);
+
+ return $content;
+ }
+
+ public function testWriteV2Notify()
+ {
+ $this->createHandler('myToken', 'room1', 'Monolog', true, 'hipchat.foo.bar', 'v2');
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/POST \/v2\/room\/room1\/notification\?auth_token=.* HTTP\/1.1\\r\\nHost: hipchat.foo.bar\\r\\nContent-Type: application\/x-www-form-urlencoded\\r\\nContent-Length: \d{2,4}\\r\\n\\r\\n/', $content);
+
+ return $content;
+ }
+
+ public function testRoomSpaces()
+ {
+ $this->createHandler('myToken', 'room name', 'Monolog', false, 'hipchat.foo.bar', 'v2');
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/POST \/v2\/room\/room%20name\/notification\?auth_token=.* HTTP\/1.1\\r\\nHost: hipchat.foo.bar\\r\\nContent-Type: application\/x-www-form-urlencoded\\r\\nContent-Length: \d{2,4}\\r\\n\\r\\n/', $content);
+
+ return $content;
+ }
+
+ /**
+ * @depends testWriteHeader
+ */
+ public function testWriteContent($content)
+ {
+ $this->assertRegexp('/notify=0&message=test1&message_format=text&color=red&room_id=room1&from=Monolog$/', $content);
+ }
+
+ public function testWriteContentV1WithoutName()
+ {
+ $this->createHandler('myToken', 'room1', null, false, 'hipchat.foo.bar', 'v1');
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/notify=0&message=test1&message_format=text&color=red&room_id=room1&from=$/', $content);
+
+ return $content;
+ }
+
+ /**
+ * @depends testWriteCustomHostHeader
+ */
+ public function testWriteContentNotify($content)
+ {
+ $this->assertRegexp('/notify=1&message=test1&message_format=text&color=red&room_id=room1&from=Monolog$/', $content);
+ }
+
+ /**
+ * @depends testWriteV2
+ */
+ public function testWriteContentV2($content)
+ {
+ $this->assertRegexp('/notify=false&message=test1&message_format=text&color=red&from=Monolog$/', $content);
+ }
+
+ /**
+ * @depends testWriteV2Notify
+ */
+ public function testWriteContentV2Notify($content)
+ {
+ $this->assertRegexp('/notify=true&message=test1&message_format=text&color=red&from=Monolog$/', $content);
+ }
+
+ public function testWriteContentV2WithoutName()
+ {
+ $this->createHandler('myToken', 'room1', null, false, 'hipchat.foo.bar', 'v2');
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/notify=false&message=test1&message_format=text&color=red$/', $content);
+
+ return $content;
+ }
+
+ public function testWriteWithComplexMessage()
+ {
+ $this->createHandler();
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'Backup of database "example" finished in 16 minutes.'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/message=Backup\+of\+database\+%22example%22\+finished\+in\+16\+minutes\./', $content);
+ }
+
+ public function testWriteTruncatesLongMessage()
+ {
+ $this->createHandler();
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, str_repeat('abcde', 2000)));
+ fseek($this->res, 0);
+ $content = fread($this->res, 12000);
+
+ $this->assertRegexp('/message='.str_repeat('abcde', 1900).'\+%5Btruncated%5D/', $content);
+ }
+
+ /**
+ * @dataProvider provideLevelColors
+ */
+ public function testWriteWithErrorLevelsAndColors($level, $expectedColor)
+ {
+ $this->createHandler();
+ $this->handler->handle($this->getRecord($level, 'Backup of database "example" finished in 16 minutes.'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/color='.$expectedColor.'/', $content);
+ }
+
+ public function provideLevelColors()
+ {
+ return array(
+ array(Logger::DEBUG, 'gray'),
+ array(Logger::INFO, 'green'),
+ array(Logger::WARNING, 'yellow'),
+ array(Logger::ERROR, 'red'),
+ array(Logger::CRITICAL, 'red'),
+ array(Logger::ALERT, 'red'),
+ array(Logger::EMERGENCY,'red'),
+ array(Logger::NOTICE, 'green'),
+ );
+ }
+
+ /**
+ * @dataProvider provideBatchRecords
+ */
+ public function testHandleBatch($records, $expectedColor)
+ {
+ $this->createHandler();
+
+ $this->handler->handleBatch($records);
+
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/color='.$expectedColor.'/', $content);
+ }
+
+ public function provideBatchRecords()
+ {
+ return array(
+ array(
+ array(
+ array('level' => Logger::WARNING, 'message' => 'Oh bugger!', 'level_name' => 'warning', 'datetime' => new \DateTime()),
+ array('level' => Logger::NOTICE, 'message' => 'Something noticeable happened.', 'level_name' => 'notice', 'datetime' => new \DateTime()),
+ array('level' => Logger::CRITICAL, 'message' => 'Everything is broken!', 'level_name' => 'critical', 'datetime' => new \DateTime()),
+ ),
+ 'red',
+ ),
+ array(
+ array(
+ array('level' => Logger::WARNING, 'message' => 'Oh bugger!', 'level_name' => 'warning', 'datetime' => new \DateTime()),
+ array('level' => Logger::NOTICE, 'message' => 'Something noticeable happened.', 'level_name' => 'notice', 'datetime' => new \DateTime()),
+ ),
+ 'yellow',
+ ),
+ array(
+ array(
+ array('level' => Logger::DEBUG, 'message' => 'Just debugging.', 'level_name' => 'debug', 'datetime' => new \DateTime()),
+ array('level' => Logger::NOTICE, 'message' => 'Something noticeable happened.', 'level_name' => 'notice', 'datetime' => new \DateTime()),
+ ),
+ 'green',
+ ),
+ array(
+ array(
+ array('level' => Logger::DEBUG, 'message' => 'Just debugging.', 'level_name' => 'debug', 'datetime' => new \DateTime()),
+ ),
+ 'gray',
+ ),
+ );
+ }
+
+ private function createHandler($token = 'myToken', $room = 'room1', $name = 'Monolog', $notify = false, $host = 'api.hipchat.com', $version = 'v1')
+ {
+ $constructorArgs = array($token, $room, $name, $notify, Logger::DEBUG, true, true, 'text', $host, $version);
+ $this->res = fopen('php://memory', 'a');
+ $this->handler = $this->getMock(
+ '\Monolog\Handler\HipChatHandler',
+ array('fsockopen', 'streamSetTimeout', 'closeSocket'),
+ $constructorArgs
+ );
+
+ $reflectionProperty = new \ReflectionProperty('\Monolog\Handler\SocketHandler', 'connectionString');
+ $reflectionProperty->setAccessible(true);
+ $reflectionProperty->setValue($this->handler, 'localhost:1234');
+
+ $this->handler->expects($this->any())
+ ->method('fsockopen')
+ ->will($this->returnValue($this->res));
+ $this->handler->expects($this->any())
+ ->method('streamSetTimeout')
+ ->will($this->returnValue(true));
+ $this->handler->expects($this->any())
+ ->method('closeSocket')
+ ->will($this->returnValue(true));
+
+ $this->handler->setFormatter($this->getIdentityFormatter());
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testCreateWithTooLongName()
+ {
+ $hipChatHandler = new HipChatHandler('token', 'room', 'SixteenCharsHere');
+ }
+
+ public function testCreateWithTooLongNameV2()
+ {
+ // creating a handler with too long of a name but using the v2 api doesn't matter.
+ $hipChatHandler = new HipChatHandler('token', 'room', 'SixteenCharsHere', false, Logger::CRITICAL, true, true, 'test', 'api.hipchat.com', 'v2');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/LogEntriesHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/LogEntriesHandlerTest.php
new file mode 100644
index 00000000..b2deb40a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/LogEntriesHandlerTest.php
@@ -0,0 +1,84 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+/**
+ * @author Robert Kaufmann III <rok3@rok3.me>
+ */
+class LogEntriesHandlerTest extends TestCase
+{
+ /**
+ * @var resource
+ */
+ private $res;
+
+ /**
+ * @var LogEntriesHandler
+ */
+ private $handler;
+
+ public function testWriteContent()
+ {
+ $this->createHandler();
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'Critical write test'));
+
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/testToken \[\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\] test.CRITICAL: Critical write test/', $content);
+ }
+
+ public function testWriteBatchContent()
+ {
+ $records = array(
+ $this->getRecord(),
+ $this->getRecord(),
+ $this->getRecord(),
+ );
+ $this->createHandler();
+ $this->handler->handleBatch($records);
+
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/(testToken \[\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\] .* \[\] \[\]\n){3}/', $content);
+ }
+
+ private function createHandler()
+ {
+ $useSSL = extension_loaded('openssl');
+ $args = array('testToken', $useSSL, Logger::DEBUG, true);
+ $this->res = fopen('php://memory', 'a');
+ $this->handler = $this->getMock(
+ '\Monolog\Handler\LogEntriesHandler',
+ array('fsockopen', 'streamSetTimeout', 'closeSocket'),
+ $args
+ );
+
+ $reflectionProperty = new \ReflectionProperty('\Monolog\Handler\SocketHandler', 'connectionString');
+ $reflectionProperty->setAccessible(true);
+ $reflectionProperty->setValue($this->handler, 'localhost:1234');
+
+ $this->handler->expects($this->any())
+ ->method('fsockopen')
+ ->will($this->returnValue($this->res));
+ $this->handler->expects($this->any())
+ ->method('streamSetTimeout')
+ ->will($this->returnValue(true));
+ $this->handler->expects($this->any())
+ ->method('closeSocket')
+ ->will($this->returnValue(true));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MailHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MailHandlerTest.php
new file mode 100644
index 00000000..6754f3d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MailHandlerTest.php
@@ -0,0 +1,75 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+use Monolog\TestCase;
+
+class MailHandlerTest extends TestCase
+{
+ /**
+ * @covers Monolog\Handler\MailHandler::handleBatch
+ */
+ public function testHandleBatch()
+ {
+ $formatter = $this->getMock('Monolog\\Formatter\\FormatterInterface');
+ $formatter->expects($this->once())
+ ->method('formatBatch'); // Each record is formatted
+
+ $handler = $this->getMockForAbstractClass('Monolog\\Handler\\MailHandler');
+ $handler->expects($this->once())
+ ->method('send');
+ $handler->expects($this->never())
+ ->method('write'); // write is for individual records
+
+ $handler->setFormatter($formatter);
+
+ $handler->handleBatch($this->getMultipleRecords());
+ }
+
+ /**
+ * @covers Monolog\Handler\MailHandler::handleBatch
+ */
+ public function testHandleBatchNotSendsMailIfMessagesAreBelowLevel()
+ {
+ $records = array(
+ $this->getRecord(Logger::DEBUG, 'debug message 1'),
+ $this->getRecord(Logger::DEBUG, 'debug message 2'),
+ $this->getRecord(Logger::INFO, 'information'),
+ );
+
+ $handler = $this->getMockForAbstractClass('Monolog\\Handler\\MailHandler');
+ $handler->expects($this->never())
+ ->method('send');
+ $handler->setLevel(Logger::ERROR);
+
+ $handler->handleBatch($records);
+ }
+
+ /**
+ * @covers Monolog\Handler\MailHandler::write
+ */
+ public function testHandle()
+ {
+ $handler = $this->getMockForAbstractClass('Monolog\\Handler\\MailHandler');
+
+ $record = $this->getRecord();
+ $records = array($record);
+ $records[0]['formatted'] = '['.$record['datetime']->format('Y-m-d H:i:s').'] test.WARNING: test [] []'."\n";
+
+ $handler->expects($this->once())
+ ->method('send')
+ ->with($records[0]['formatted'], $records);
+
+ $handler->handle($record);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MockRavenClient.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MockRavenClient.php
new file mode 100644
index 00000000..a0833225
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MockRavenClient.php
@@ -0,0 +1,27 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Raven_Client;
+
+class MockRavenClient extends Raven_Client
+{
+ public function capture($data, $stack, $vars = null)
+ {
+ $data = array_merge($this->get_user_data(), $data);
+ $this->lastData = $data;
+ $this->lastStack = $stack;
+ }
+
+ public $lastData;
+ public $lastStack;
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MongoDBHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MongoDBHandlerTest.php
new file mode 100644
index 00000000..0fdef63a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MongoDBHandlerTest.php
@@ -0,0 +1,65 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+class MongoDBHandlerTest extends TestCase
+{
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testConstructorShouldThrowExceptionForInvalidMongo()
+ {
+ new MongoDBHandler(new \stdClass(), 'DB', 'Collection');
+ }
+
+ public function testHandle()
+ {
+ $mongo = $this->getMock('Mongo', array('selectCollection'), array(), '', false);
+ $collection = $this->getMock('stdClass', array('save'));
+
+ $mongo->expects($this->once())
+ ->method('selectCollection')
+ ->with('DB', 'Collection')
+ ->will($this->returnValue($collection));
+
+ $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34));
+
+ $expected = array(
+ 'message' => 'test',
+ 'context' => array('data' => '[object] (stdClass: {})', 'foo' => 34),
+ 'level' => Logger::WARNING,
+ 'level_name' => 'WARNING',
+ 'channel' => 'test',
+ 'datetime' => $record['datetime']->format('Y-m-d H:i:s'),
+ 'extra' => array(),
+ );
+
+ $collection->expects($this->once())
+ ->method('save')
+ ->with($expected);
+
+ $handler = new MongoDBHandler($mongo, 'DB', 'Collection');
+ $handler->handle($record);
+ }
+}
+
+if (!class_exists('Mongo')) {
+ class Mongo
+ {
+ public function selectCollection()
+ {
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NativeMailerHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NativeMailerHandlerTest.php
new file mode 100644
index 00000000..ddf545db
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NativeMailerHandlerTest.php
@@ -0,0 +1,111 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+use InvalidArgumentException;
+
+function mail($to, $subject, $message, $additional_headers = null, $additional_parameters = null)
+{
+ $GLOBALS['mail'][] = func_get_args();
+}
+
+class NativeMailerHandlerTest extends TestCase
+{
+ protected function setUp()
+ {
+ $GLOBALS['mail'] = array();
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testConstructorHeaderInjection()
+ {
+ $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', "receiver@example.org\r\nFrom: faked@attacker.org");
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testSetterHeaderInjection()
+ {
+ $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', 'receiver@example.org');
+ $mailer->addHeader("Content-Type: text/html\r\nFrom: faked@attacker.org");
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testSetterArrayHeaderInjection()
+ {
+ $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', 'receiver@example.org');
+ $mailer->addHeader(array("Content-Type: text/html\r\nFrom: faked@attacker.org"));
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testSetterContentTypeInjection()
+ {
+ $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', 'receiver@example.org');
+ $mailer->setContentType("text/html\r\nFrom: faked@attacker.org");
+ }
+
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testSetterEncodingInjection()
+ {
+ $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', 'receiver@example.org');
+ $mailer->setEncoding("utf-8\r\nFrom: faked@attacker.org");
+ }
+
+ public function testSend()
+ {
+ $to = 'spammer@example.org';
+ $subject = 'dear victim';
+ $from = 'receiver@example.org';
+
+ $mailer = new NativeMailerHandler($to, $subject, $from);
+ $mailer->handleBatch(array());
+
+ // batch is empty, nothing sent
+ $this->assertEmpty($GLOBALS['mail']);
+
+ // non-empty batch
+ $mailer->handle($this->getRecord(Logger::ERROR, "Foo\nBar\r\n\r\nBaz"));
+ $this->assertNotEmpty($GLOBALS['mail']);
+ $this->assertInternalType('array', $GLOBALS['mail']);
+ $this->assertArrayHasKey('0', $GLOBALS['mail']);
+ $params = $GLOBALS['mail'][0];
+ $this->assertCount(5, $params);
+ $this->assertSame($to, $params[0]);
+ $this->assertSame($subject, $params[1]);
+ $this->assertStringEndsWith(" test.ERROR: Foo Bar Baz [] []\n", $params[2]);
+ $this->assertSame("From: $from\r\nContent-type: text/plain; charset=utf-8\r\n", $params[3]);
+ $this->assertSame('', $params[4]);
+ }
+
+ public function testMessageSubjectFormatting()
+ {
+ $mailer = new NativeMailerHandler('to@example.org', 'Alert: %level_name% %message%', 'from@example.org');
+ $mailer->handle($this->getRecord(Logger::ERROR, "Foo\nBar\r\n\r\nBaz"));
+ $this->assertNotEmpty($GLOBALS['mail']);
+ $this->assertInternalType('array', $GLOBALS['mail']);
+ $this->assertArrayHasKey('0', $GLOBALS['mail']);
+ $params = $GLOBALS['mail'][0];
+ $this->assertCount(5, $params);
+ $this->assertSame('Alert: ERROR Foo Bar Baz', $params[1]);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NewRelicHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NewRelicHandlerTest.php
new file mode 100644
index 00000000..4d3a615f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NewRelicHandlerTest.php
@@ -0,0 +1,200 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Formatter\LineFormatter;
+use Monolog\TestCase;
+use Monolog\Logger;
+
+class NewRelicHandlerTest extends TestCase
+{
+ public static $appname;
+ public static $customParameters;
+ public static $transactionName;
+
+ public function setUp()
+ {
+ self::$appname = null;
+ self::$customParameters = array();
+ self::$transactionName = null;
+ }
+
+ /**
+ * @expectedException Monolog\Handler\MissingExtensionException
+ */
+ public function testThehandlerThrowsAnExceptionIfTheNRExtensionIsNotLoaded()
+ {
+ $handler = new StubNewRelicHandlerWithoutExtension();
+ $handler->handle($this->getRecord(Logger::ERROR));
+ }
+
+ public function testThehandlerCanHandleTheRecord()
+ {
+ $handler = new StubNewRelicHandler();
+ $handler->handle($this->getRecord(Logger::ERROR));
+ }
+
+ public function testThehandlerCanAddContextParamsToTheNewRelicTrace()
+ {
+ $handler = new StubNewRelicHandler();
+ $handler->handle($this->getRecord(Logger::ERROR, 'log message', array('a' => 'b')));
+ $this->assertEquals(array('context_a' => 'b'), self::$customParameters);
+ }
+
+ public function testThehandlerCanAddExplodedContextParamsToTheNewRelicTrace()
+ {
+ $handler = new StubNewRelicHandler(Logger::ERROR, true, self::$appname, true);
+ $handler->handle($this->getRecord(
+ Logger::ERROR,
+ 'log message',
+ array('a' => array('key1' => 'value1', 'key2' => 'value2'))
+ ));
+ $this->assertEquals(
+ array('context_a_key1' => 'value1', 'context_a_key2' => 'value2'),
+ self::$customParameters
+ );
+ }
+
+ public function testThehandlerCanAddExtraParamsToTheNewRelicTrace()
+ {
+ $record = $this->getRecord(Logger::ERROR, 'log message');
+ $record['extra'] = array('c' => 'd');
+
+ $handler = new StubNewRelicHandler();
+ $handler->handle($record);
+
+ $this->assertEquals(array('extra_c' => 'd'), self::$customParameters);
+ }
+
+ public function testThehandlerCanAddExplodedExtraParamsToTheNewRelicTrace()
+ {
+ $record = $this->getRecord(Logger::ERROR, 'log message');
+ $record['extra'] = array('c' => array('key1' => 'value1', 'key2' => 'value2'));
+
+ $handler = new StubNewRelicHandler(Logger::ERROR, true, self::$appname, true);
+ $handler->handle($record);
+
+ $this->assertEquals(
+ array('extra_c_key1' => 'value1', 'extra_c_key2' => 'value2'),
+ self::$customParameters
+ );
+ }
+
+ public function testThehandlerCanAddExtraContextAndParamsToTheNewRelicTrace()
+ {
+ $record = $this->getRecord(Logger::ERROR, 'log message', array('a' => 'b'));
+ $record['extra'] = array('c' => 'd');
+
+ $handler = new StubNewRelicHandler();
+ $handler->handle($record);
+
+ $expected = array(
+ 'context_a' => 'b',
+ 'extra_c' => 'd',
+ );
+
+ $this->assertEquals($expected, self::$customParameters);
+ }
+
+ public function testThehandlerCanHandleTheRecordsFormattedUsingTheLineFormatter()
+ {
+ $handler = new StubNewRelicHandler();
+ $handler->setFormatter(new LineFormatter());
+ $handler->handle($this->getRecord(Logger::ERROR));
+ }
+
+ public function testTheAppNameIsNullByDefault()
+ {
+ $handler = new StubNewRelicHandler();
+ $handler->handle($this->getRecord(Logger::ERROR, 'log message'));
+
+ $this->assertEquals(null, self::$appname);
+ }
+
+ public function testTheAppNameCanBeInjectedFromtheConstructor()
+ {
+ $handler = new StubNewRelicHandler(Logger::DEBUG, false, 'myAppName');
+ $handler->handle($this->getRecord(Logger::ERROR, 'log message'));
+
+ $this->assertEquals('myAppName', self::$appname);
+ }
+
+ public function testTheAppNameCanBeOverriddenFromEachLog()
+ {
+ $handler = new StubNewRelicHandler(Logger::DEBUG, false, 'myAppName');
+ $handler->handle($this->getRecord(Logger::ERROR, 'log message', array('appname' => 'logAppName')));
+
+ $this->assertEquals('logAppName', self::$appname);
+ }
+
+ public function testTheTransactionNameIsNullByDefault()
+ {
+ $handler = new StubNewRelicHandler();
+ $handler->handle($this->getRecord(Logger::ERROR, 'log message'));
+
+ $this->assertEquals(null, self::$transactionName);
+ }
+
+ public function testTheTransactionNameCanBeInjectedFromTheConstructor()
+ {
+ $handler = new StubNewRelicHandler(Logger::DEBUG, false, null, false, 'myTransaction');
+ $handler->handle($this->getRecord(Logger::ERROR, 'log message'));
+
+ $this->assertEquals('myTransaction', self::$transactionName);
+ }
+
+ public function testTheTransactionNameCanBeOverriddenFromEachLog()
+ {
+ $handler = new StubNewRelicHandler(Logger::DEBUG, false, null, false, 'myTransaction');
+ $handler->handle($this->getRecord(Logger::ERROR, 'log message', array('transaction_name' => 'logTransactName')));
+
+ $this->assertEquals('logTransactName', self::$transactionName);
+ }
+}
+
+class StubNewRelicHandlerWithoutExtension extends NewRelicHandler
+{
+ protected function isNewRelicEnabled()
+ {
+ return false;
+ }
+}
+
+class StubNewRelicHandler extends NewRelicHandler
+{
+ protected function isNewRelicEnabled()
+ {
+ return true;
+ }
+}
+
+function newrelic_notice_error()
+{
+ return true;
+}
+
+function newrelic_set_appname($appname)
+{
+ return NewRelicHandlerTest::$appname = $appname;
+}
+
+function newrelic_name_transaction($transactionName)
+{
+ return NewRelicHandlerTest::$transactionName = $transactionName;
+}
+
+function newrelic_add_custom_parameter($key, $value)
+{
+ NewRelicHandlerTest::$customParameters[$key] = $value;
+
+ return true;
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NullHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NullHandlerTest.php
new file mode 100644
index 00000000..292df78c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NullHandlerTest.php
@@ -0,0 +1,33 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+/**
+ * @covers Monolog\Handler\NullHandler::handle
+ */
+class NullHandlerTest extends TestCase
+{
+ public function testHandle()
+ {
+ $handler = new NullHandler();
+ $this->assertTrue($handler->handle($this->getRecord()));
+ }
+
+ public function testHandleLowerLevelRecord()
+ {
+ $handler = new NullHandler(Logger::WARNING);
+ $this->assertFalse($handler->handle($this->getRecord(Logger::DEBUG)));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PHPConsoleHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PHPConsoleHandlerTest.php
new file mode 100644
index 00000000..152573ef
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PHPConsoleHandlerTest.php
@@ -0,0 +1,273 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Exception;
+use Monolog\ErrorHandler;
+use Monolog\Logger;
+use Monolog\TestCase;
+use PhpConsole\Connector;
+use PhpConsole\Dispatcher\Debug as DebugDispatcher;
+use PhpConsole\Dispatcher\Errors as ErrorDispatcher;
+use PhpConsole\Handler;
+use PHPUnit_Framework_MockObject_MockObject;
+
+/**
+ * @covers Monolog\Handler\PHPConsoleHandler
+ * @author Sergey Barbushin https://www.linkedin.com/in/barbushin
+ */
+class PHPConsoleHandlerTest extends TestCase
+{
+ /** @var Connector|PHPUnit_Framework_MockObject_MockObject */
+ protected $connector;
+ /** @var DebugDispatcher|PHPUnit_Framework_MockObject_MockObject */
+ protected $debugDispatcher;
+ /** @var ErrorDispatcher|PHPUnit_Framework_MockObject_MockObject */
+ protected $errorDispatcher;
+
+ protected function setUp()
+ {
+ if (!class_exists('PhpConsole\Connector')) {
+ $this->markTestSkipped('PHP Console library not found. See https://github.com/barbushin/php-console#installation');
+ }
+ $this->connector = $this->initConnectorMock();
+
+ $this->debugDispatcher = $this->initDebugDispatcherMock($this->connector);
+ $this->connector->setDebugDispatcher($this->debugDispatcher);
+
+ $this->errorDispatcher = $this->initErrorDispatcherMock($this->connector);
+ $this->connector->setErrorsDispatcher($this->errorDispatcher);
+ }
+
+ protected function initDebugDispatcherMock(Connector $connector)
+ {
+ return $this->getMockBuilder('PhpConsole\Dispatcher\Debug')
+ ->disableOriginalConstructor()
+ ->setMethods(array('dispatchDebug'))
+ ->setConstructorArgs(array($connector, $connector->getDumper()))
+ ->getMock();
+ }
+
+ protected function initErrorDispatcherMock(Connector $connector)
+ {
+ return $this->getMockBuilder('PhpConsole\Dispatcher\Errors')
+ ->disableOriginalConstructor()
+ ->setMethods(array('dispatchError', 'dispatchException'))
+ ->setConstructorArgs(array($connector, $connector->getDumper()))
+ ->getMock();
+ }
+
+ protected function initConnectorMock()
+ {
+ $connector = $this->getMockBuilder('PhpConsole\Connector')
+ ->disableOriginalConstructor()
+ ->setMethods(array(
+ 'sendMessage',
+ 'onShutDown',
+ 'isActiveClient',
+ 'setSourcesBasePath',
+ 'setServerEncoding',
+ 'setPassword',
+ 'enableSslOnlyMode',
+ 'setAllowedIpMasks',
+ 'setHeadersLimit',
+ 'startEvalRequestsListener',
+ ))
+ ->getMock();
+
+ $connector->expects($this->any())
+ ->method('isActiveClient')
+ ->will($this->returnValue(true));
+
+ return $connector;
+ }
+
+ protected function getHandlerDefaultOption($name)
+ {
+ $handler = new PHPConsoleHandler(array(), $this->connector);
+ $options = $handler->getOptions();
+
+ return $options[$name];
+ }
+
+ protected function initLogger($handlerOptions = array(), $level = Logger::DEBUG)
+ {
+ return new Logger('test', array(
+ new PHPConsoleHandler($handlerOptions, $this->connector, $level),
+ ));
+ }
+
+ public function testInitWithDefaultConnector()
+ {
+ $handler = new PHPConsoleHandler();
+ $this->assertEquals(spl_object_hash(Connector::getInstance()), spl_object_hash($handler->getConnector()));
+ }
+
+ public function testInitWithCustomConnector()
+ {
+ $handler = new PHPConsoleHandler(array(), $this->connector);
+ $this->assertEquals(spl_object_hash($this->connector), spl_object_hash($handler->getConnector()));
+ }
+
+ public function testDebug()
+ {
+ $this->debugDispatcher->expects($this->once())->method('dispatchDebug')->with($this->equalTo('test'));
+ $this->initLogger()->addDebug('test');
+ }
+
+ public function testDebugContextInMessage()
+ {
+ $message = 'test';
+ $tag = 'tag';
+ $context = array($tag, 'custom' => mt_rand());
+ $expectedMessage = $message . ' ' . json_encode(array_slice($context, 1));
+ $this->debugDispatcher->expects($this->once())->method('dispatchDebug')->with(
+ $this->equalTo($expectedMessage),
+ $this->equalTo($tag)
+ );
+ $this->initLogger()->addDebug($message, $context);
+ }
+
+ public function testDebugTags($tagsContextKeys = null)
+ {
+ $expectedTags = mt_rand();
+ $logger = $this->initLogger($tagsContextKeys ? array('debugTagsKeysInContext' => $tagsContextKeys) : array());
+ if (!$tagsContextKeys) {
+ $tagsContextKeys = $this->getHandlerDefaultOption('debugTagsKeysInContext');
+ }
+ foreach ($tagsContextKeys as $key) {
+ $debugDispatcher = $this->initDebugDispatcherMock($this->connector);
+ $debugDispatcher->expects($this->once())->method('dispatchDebug')->with(
+ $this->anything(),
+ $this->equalTo($expectedTags)
+ );
+ $this->connector->setDebugDispatcher($debugDispatcher);
+ $logger->addDebug('test', array($key => $expectedTags));
+ }
+ }
+
+ public function testError($classesPartialsTraceIgnore = null)
+ {
+ $code = E_USER_NOTICE;
+ $message = 'message';
+ $file = __FILE__;
+ $line = __LINE__;
+ $this->errorDispatcher->expects($this->once())->method('dispatchError')->with(
+ $this->equalTo($code),
+ $this->equalTo($message),
+ $this->equalTo($file),
+ $this->equalTo($line),
+ $classesPartialsTraceIgnore ?: $this->equalTo($this->getHandlerDefaultOption('classesPartialsTraceIgnore'))
+ );
+ $errorHandler = ErrorHandler::register($this->initLogger($classesPartialsTraceIgnore ? array('classesPartialsTraceIgnore' => $classesPartialsTraceIgnore) : array()), false);
+ $errorHandler->registerErrorHandler(array(), false, E_USER_WARNING);
+ $errorHandler->handleError($code, $message, $file, $line);
+ }
+
+ public function testException()
+ {
+ $e = new Exception();
+ $this->errorDispatcher->expects($this->once())->method('dispatchException')->with(
+ $this->equalTo($e)
+ );
+ $handler = $this->initLogger();
+ $handler->log(
+ \Psr\Log\LogLevel::ERROR,
+ sprintf('Uncaught Exception %s: "%s" at %s line %s', get_class($e), $e->getMessage(), $e->getFile(), $e->getLine()),
+ array('exception' => $e)
+ );
+ }
+
+ /**
+ * @expectedException Exception
+ */
+ public function testWrongOptionsThrowsException()
+ {
+ new PHPConsoleHandler(array('xxx' => 1));
+ }
+
+ public function testOptionEnabled()
+ {
+ $this->debugDispatcher->expects($this->never())->method('dispatchDebug');
+ $this->initLogger(array('enabled' => false))->addDebug('test');
+ }
+
+ public function testOptionClassesPartialsTraceIgnore()
+ {
+ $this->testError(array('Class', 'Namespace\\'));
+ }
+
+ public function testOptionDebugTagsKeysInContext()
+ {
+ $this->testDebugTags(array('key1', 'key2'));
+ }
+
+ public function testOptionUseOwnErrorsAndExceptionsHandler()
+ {
+ $this->initLogger(array('useOwnErrorsHandler' => true, 'useOwnExceptionsHandler' => true));
+ $this->assertEquals(array(Handler::getInstance(), 'handleError'), set_error_handler(function () {
+ }));
+ $this->assertEquals(array(Handler::getInstance(), 'handleException'), set_exception_handler(function () {
+ }));
+ }
+
+ public static function provideConnectorMethodsOptionsSets()
+ {
+ return array(
+ array('sourcesBasePath', 'setSourcesBasePath', __DIR__),
+ array('serverEncoding', 'setServerEncoding', 'cp1251'),
+ array('password', 'setPassword', '******'),
+ array('enableSslOnlyMode', 'enableSslOnlyMode', true, false),
+ array('ipMasks', 'setAllowedIpMasks', array('127.0.0.*')),
+ array('headersLimit', 'setHeadersLimit', 2500),
+ array('enableEvalListener', 'startEvalRequestsListener', true, false),
+ );
+ }
+
+ /**
+ * @dataProvider provideConnectorMethodsOptionsSets
+ */
+ public function testOptionCallsConnectorMethod($option, $method, $value, $isArgument = true)
+ {
+ $expectCall = $this->connector->expects($this->once())->method($method);
+ if ($isArgument) {
+ $expectCall->with($value);
+ }
+ new PHPConsoleHandler(array($option => $value), $this->connector);
+ }
+
+ public function testOptionDetectDumpTraceAndSource()
+ {
+ new PHPConsoleHandler(array('detectDumpTraceAndSource' => true), $this->connector);
+ $this->assertTrue($this->connector->getDebugDispatcher()->detectTraceAndSource);
+ }
+
+ public static function provideDumperOptionsValues()
+ {
+ return array(
+ array('dumperLevelLimit', 'levelLimit', 1001),
+ array('dumperItemsCountLimit', 'itemsCountLimit', 1002),
+ array('dumperItemSizeLimit', 'itemSizeLimit', 1003),
+ array('dumperDumpSizeLimit', 'dumpSizeLimit', 1004),
+ array('dumperDetectCallbacks', 'detectCallbacks', true),
+ );
+ }
+
+ /**
+ * @dataProvider provideDumperOptionsValues
+ */
+ public function testDumperOptions($option, $dumperProperty, $value)
+ {
+ new PHPConsoleHandler(array($option => $value), $this->connector);
+ $this->assertEquals($value, $this->connector->getDumper()->$dumperProperty);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PsrHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PsrHandlerTest.php
new file mode 100644
index 00000000..64eaab16
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PsrHandlerTest.php
@@ -0,0 +1,50 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+/**
+ * @covers Monolog\Handler\PsrHandler::handle
+ */
+class PsrHandlerTest extends TestCase
+{
+ public function logLevelProvider()
+ {
+ $levels = array();
+ $monologLogger = new Logger('');
+
+ foreach ($monologLogger->getLevels() as $levelName => $level) {
+ $levels[] = array($levelName, $level);
+ }
+
+ return $levels;
+ }
+
+ /**
+ * @dataProvider logLevelProvider
+ */
+ public function testHandlesAllLevels($levelName, $level)
+ {
+ $message = 'Hello, world! ' . $level;
+ $context = array('foo' => 'bar', 'level' => $level);
+
+ $psrLogger = $this->getMock('Psr\Log\NullLogger');
+ $psrLogger->expects($this->once())
+ ->method('log')
+ ->with(strtolower($levelName), $message, $context);
+
+ $handler = new PsrHandler($psrLogger);
+ $handler->handle(array('level' => $level, 'level_name' => $levelName, 'message' => $message, 'context' => $context));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PushoverHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PushoverHandlerTest.php
new file mode 100644
index 00000000..56df474a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PushoverHandlerTest.php
@@ -0,0 +1,141 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+/**
+ * Almost all examples (expected header, titles, messages) taken from
+ * https://www.pushover.net/api
+ * @author Sebastian Göttschkes <sebastian.goettschkes@googlemail.com>
+ * @see https://www.pushover.net/api
+ */
+class PushoverHandlerTest extends TestCase
+{
+ private $res;
+ private $handler;
+
+ public function testWriteHeader()
+ {
+ $this->createHandler();
+ $this->handler->setHighPriorityLevel(Logger::EMERGENCY); // skip priority notifications
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/POST \/1\/messages.json HTTP\/1.1\\r\\nHost: api.pushover.net\\r\\nContent-Type: application\/x-www-form-urlencoded\\r\\nContent-Length: \d{2,4}\\r\\n\\r\\n/', $content);
+
+ return $content;
+ }
+
+ /**
+ * @depends testWriteHeader
+ */
+ public function testWriteContent($content)
+ {
+ $this->assertRegexp('/token=myToken&user=myUser&message=test1&title=Monolog&timestamp=\d{10}$/', $content);
+ }
+
+ public function testWriteWithComplexTitle()
+ {
+ $this->createHandler('myToken', 'myUser', 'Backup finished - SQL1');
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/title=Backup\+finished\+-\+SQL1/', $content);
+ }
+
+ public function testWriteWithComplexMessage()
+ {
+ $this->createHandler();
+ $this->handler->setHighPriorityLevel(Logger::EMERGENCY); // skip priority notifications
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'Backup of database "example" finished in 16 minutes.'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/message=Backup\+of\+database\+%22example%22\+finished\+in\+16\+minutes\./', $content);
+ }
+
+ public function testWriteWithTooLongMessage()
+ {
+ $message = str_pad('test', 520, 'a');
+ $this->createHandler();
+ $this->handler->setHighPriorityLevel(Logger::EMERGENCY); // skip priority notifications
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, $message));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $expectedMessage = substr($message, 0, 505);
+
+ $this->assertRegexp('/message=' . $expectedMessage . '&title/', $content);
+ }
+
+ public function testWriteWithHighPriority()
+ {
+ $this->createHandler();
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/token=myToken&user=myUser&message=test1&title=Monolog&timestamp=\d{10}&priority=1$/', $content);
+ }
+
+ public function testWriteWithEmergencyPriority()
+ {
+ $this->createHandler();
+ $this->handler->handle($this->getRecord(Logger::EMERGENCY, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/token=myToken&user=myUser&message=test1&title=Monolog&timestamp=\d{10}&priority=2&retry=30&expire=25200$/', $content);
+ }
+
+ public function testWriteToMultipleUsers()
+ {
+ $this->createHandler('myToken', array('userA', 'userB'));
+ $this->handler->handle($this->getRecord(Logger::EMERGENCY, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/token=myToken&user=userA&message=test1&title=Monolog&timestamp=\d{10}&priority=2&retry=30&expire=25200POST/', $content);
+ $this->assertRegexp('/token=myToken&user=userB&message=test1&title=Monolog&timestamp=\d{10}&priority=2&retry=30&expire=25200$/', $content);
+ }
+
+ private function createHandler($token = 'myToken', $user = 'myUser', $title = 'Monolog')
+ {
+ $constructorArgs = array($token, $user, $title);
+ $this->res = fopen('php://memory', 'a');
+ $this->handler = $this->getMock(
+ '\Monolog\Handler\PushoverHandler',
+ array('fsockopen', 'streamSetTimeout', 'closeSocket'),
+ $constructorArgs
+ );
+
+ $reflectionProperty = new \ReflectionProperty('\Monolog\Handler\SocketHandler', 'connectionString');
+ $reflectionProperty->setAccessible(true);
+ $reflectionProperty->setValue($this->handler, 'localhost:1234');
+
+ $this->handler->expects($this->any())
+ ->method('fsockopen')
+ ->will($this->returnValue($this->res));
+ $this->handler->expects($this->any())
+ ->method('streamSetTimeout')
+ ->will($this->returnValue(true));
+ $this->handler->expects($this->any())
+ ->method('closeSocket')
+ ->will($this->returnValue(true));
+
+ $this->handler->setFormatter($this->getIdentityFormatter());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RavenHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RavenHandlerTest.php
new file mode 100644
index 00000000..26d212b9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RavenHandlerTest.php
@@ -0,0 +1,255 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+use Monolog\Formatter\LineFormatter;
+
+class RavenHandlerTest extends TestCase
+{
+ public function setUp()
+ {
+ if (!class_exists('Raven_Client')) {
+ $this->markTestSkipped('raven/raven not installed');
+ }
+
+ require_once __DIR__ . '/MockRavenClient.php';
+ }
+
+ /**
+ * @covers Monolog\Handler\RavenHandler::__construct
+ */
+ public function testConstruct()
+ {
+ $handler = new RavenHandler($this->getRavenClient());
+ $this->assertInstanceOf('Monolog\Handler\RavenHandler', $handler);
+ }
+
+ protected function getHandler($ravenClient)
+ {
+ $handler = new RavenHandler($ravenClient);
+
+ return $handler;
+ }
+
+ protected function getRavenClient()
+ {
+ $dsn = 'http://43f6017361224d098402974103bfc53d:a6a0538fc2934ba2bed32e08741b2cd3@marca.python.live.cheggnet.com:9000/1';
+
+ return new MockRavenClient($dsn);
+ }
+
+ public function testDebug()
+ {
+ $ravenClient = $this->getRavenClient();
+ $handler = $this->getHandler($ravenClient);
+
+ $record = $this->getRecord(Logger::DEBUG, 'A test debug message');
+ $handler->handle($record);
+
+ $this->assertEquals($ravenClient::DEBUG, $ravenClient->lastData['level']);
+ $this->assertContains($record['message'], $ravenClient->lastData['message']);
+ }
+
+ public function testWarning()
+ {
+ $ravenClient = $this->getRavenClient();
+ $handler = $this->getHandler($ravenClient);
+
+ $record = $this->getRecord(Logger::WARNING, 'A test warning message');
+ $handler->handle($record);
+
+ $this->assertEquals($ravenClient::WARNING, $ravenClient->lastData['level']);
+ $this->assertContains($record['message'], $ravenClient->lastData['message']);
+ }
+
+ public function testTag()
+ {
+ $ravenClient = $this->getRavenClient();
+ $handler = $this->getHandler($ravenClient);
+
+ $tags = array(1, 2, 'foo');
+ $record = $this->getRecord(Logger::INFO, 'test', array('tags' => $tags));
+ $handler->handle($record);
+
+ $this->assertEquals($tags, $ravenClient->lastData['tags']);
+ }
+
+ public function testExtraParameters()
+ {
+ $ravenClient = $this->getRavenClient();
+ $handler = $this->getHandler($ravenClient);
+
+ $checksum = '098f6bcd4621d373cade4e832627b4f6';
+ $release = '05a671c66aefea124cc08b76ea6d30bb';
+ $eventId = '31423';
+ $record = $this->getRecord(Logger::INFO, 'test', array('checksum' => $checksum, 'release' => $release, 'event_id' => $eventId));
+ $handler->handle($record);
+
+ $this->assertEquals($checksum, $ravenClient->lastData['checksum']);
+ $this->assertEquals($release, $ravenClient->lastData['release']);
+ $this->assertEquals($eventId, $ravenClient->lastData['event_id']);
+ }
+
+ public function testFingerprint()
+ {
+ $ravenClient = $this->getRavenClient();
+ $handler = $this->getHandler($ravenClient);
+
+ $fingerprint = array('{{ default }}', 'other value');
+ $record = $this->getRecord(Logger::INFO, 'test', array('fingerprint' => $fingerprint));
+ $handler->handle($record);
+
+ $this->assertEquals($fingerprint, $ravenClient->lastData['fingerprint']);
+ }
+
+ public function testUserContext()
+ {
+ $ravenClient = $this->getRavenClient();
+ $handler = $this->getHandler($ravenClient);
+
+ $recordWithNoContext = $this->getRecord(Logger::INFO, 'test with default user context');
+ // set user context 'externally'
+
+ $user = array(
+ 'id' => '123',
+ 'email' => 'test@test.com',
+ );
+
+ $recordWithContext = $this->getRecord(Logger::INFO, 'test', array('user' => $user));
+
+ $ravenClient->user_context(array('id' => 'test_user_id'));
+ // handle context
+ $handler->handle($recordWithContext);
+ $this->assertEquals($user, $ravenClient->lastData['user']);
+
+ // check to see if its reset
+ $handler->handle($recordWithNoContext);
+ $this->assertInternalType('array', $ravenClient->context->user);
+ $this->assertSame('test_user_id', $ravenClient->context->user['id']);
+
+ // handle with null context
+ $ravenClient->user_context(null);
+ $handler->handle($recordWithContext);
+ $this->assertEquals($user, $ravenClient->lastData['user']);
+
+ // check to see if its reset
+ $handler->handle($recordWithNoContext);
+ $this->assertNull($ravenClient->context->user);
+ }
+
+ public function testException()
+ {
+ $ravenClient = $this->getRavenClient();
+ $handler = $this->getHandler($ravenClient);
+
+ try {
+ $this->methodThatThrowsAnException();
+ } catch (\Exception $e) {
+ $record = $this->getRecord(Logger::ERROR, $e->getMessage(), array('exception' => $e));
+ $handler->handle($record);
+ }
+
+ $this->assertEquals($record['message'], $ravenClient->lastData['message']);
+ }
+
+ public function testHandleBatch()
+ {
+ $records = $this->getMultipleRecords();
+ $records[] = $this->getRecord(Logger::WARNING, 'warning');
+ $records[] = $this->getRecord(Logger::WARNING, 'warning');
+
+ $logFormatter = $this->getMock('Monolog\\Formatter\\FormatterInterface');
+ $logFormatter->expects($this->once())->method('formatBatch');
+
+ $formatter = $this->getMock('Monolog\\Formatter\\FormatterInterface');
+ $formatter->expects($this->once())->method('format')->with($this->callback(function ($record) {
+ return $record['level'] == 400;
+ }));
+
+ $handler = $this->getHandler($this->getRavenClient());
+ $handler->setBatchFormatter($logFormatter);
+ $handler->setFormatter($formatter);
+ $handler->handleBatch($records);
+ }
+
+ public function testHandleBatchDoNothingIfRecordsAreBelowLevel()
+ {
+ $records = array(
+ $this->getRecord(Logger::DEBUG, 'debug message 1'),
+ $this->getRecord(Logger::DEBUG, 'debug message 2'),
+ $this->getRecord(Logger::INFO, 'information'),
+ );
+
+ $handler = $this->getMock('Monolog\Handler\RavenHandler', null, array($this->getRavenClient()));
+ $handler->expects($this->never())->method('handle');
+ $handler->setLevel(Logger::ERROR);
+ $handler->handleBatch($records);
+ }
+
+ public function testHandleBatchPicksProperMessage()
+ {
+ $records = array(
+ $this->getRecord(Logger::DEBUG, 'debug message 1'),
+ $this->getRecord(Logger::DEBUG, 'debug message 2'),
+ $this->getRecord(Logger::INFO, 'information 1'),
+ $this->getRecord(Logger::ERROR, 'error 1'),
+ $this->getRecord(Logger::WARNING, 'warning'),
+ $this->getRecord(Logger::ERROR, 'error 2'),
+ $this->getRecord(Logger::INFO, 'information 2'),
+ );
+
+ $logFormatter = $this->getMock('Monolog\\Formatter\\FormatterInterface');
+ $logFormatter->expects($this->once())->method('formatBatch');
+
+ $formatter = $this->getMock('Monolog\\Formatter\\FormatterInterface');
+ $formatter->expects($this->once())->method('format')->with($this->callback(function ($record) use ($records) {
+ return $record['message'] == 'error 1';
+ }));
+
+ $handler = $this->getHandler($this->getRavenClient());
+ $handler->setBatchFormatter($logFormatter);
+ $handler->setFormatter($formatter);
+ $handler->handleBatch($records);
+ }
+
+ public function testGetSetBatchFormatter()
+ {
+ $ravenClient = $this->getRavenClient();
+ $handler = $this->getHandler($ravenClient);
+
+ $handler->setBatchFormatter($formatter = new LineFormatter());
+ $this->assertSame($formatter, $handler->getBatchFormatter());
+ }
+
+ public function testRelease()
+ {
+ $ravenClient = $this->getRavenClient();
+ $handler = $this->getHandler($ravenClient);
+ $release = 'v42.42.42';
+ $handler->setRelease($release);
+ $record = $this->getRecord(Logger::INFO, 'test');
+ $handler->handle($record);
+ $this->assertEquals($release, $ravenClient->lastData['release']);
+
+ $localRelease = 'v41.41.41';
+ $record = $this->getRecord(Logger::INFO, 'test', array('release' => $localRelease));
+ $handler->handle($record);
+ $this->assertEquals($localRelease, $ravenClient->lastData['release']);
+ }
+
+ private function methodThatThrowsAnException()
+ {
+ throw new \Exception('This is an exception');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RedisHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RedisHandlerTest.php
new file mode 100644
index 00000000..689d5278
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RedisHandlerTest.php
@@ -0,0 +1,127 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+use Monolog\Formatter\LineFormatter;
+
+class RedisHandlerTest extends TestCase
+{
+ /**
+ * @expectedException InvalidArgumentException
+ */
+ public function testConstructorShouldThrowExceptionForInvalidRedis()
+ {
+ new RedisHandler(new \stdClass(), 'key');
+ }
+
+ public function testConstructorShouldWorkWithPredis()
+ {
+ $redis = $this->getMock('Predis\Client');
+ $this->assertInstanceof('Monolog\Handler\RedisHandler', new RedisHandler($redis, 'key'));
+ }
+
+ public function testConstructorShouldWorkWithRedis()
+ {
+ $redis = $this->getMock('Redis');
+ $this->assertInstanceof('Monolog\Handler\RedisHandler', new RedisHandler($redis, 'key'));
+ }
+
+ public function testPredisHandle()
+ {
+ $redis = $this->getMock('Predis\Client', array('rpush'));
+
+ // Predis\Client uses rpush
+ $redis->expects($this->once())
+ ->method('rpush')
+ ->with('key', 'test');
+
+ $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34));
+
+ $handler = new RedisHandler($redis, 'key');
+ $handler->setFormatter(new LineFormatter("%message%"));
+ $handler->handle($record);
+ }
+
+ public function testRedisHandle()
+ {
+ $redis = $this->getMock('Redis', array('rpush'));
+
+ // Redis uses rPush
+ $redis->expects($this->once())
+ ->method('rPush')
+ ->with('key', 'test');
+
+ $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34));
+
+ $handler = new RedisHandler($redis, 'key');
+ $handler->setFormatter(new LineFormatter("%message%"));
+ $handler->handle($record);
+ }
+
+ public function testRedisHandleCapped()
+ {
+ $redis = $this->getMock('Redis', array('multi', 'rpush', 'ltrim', 'exec'));
+
+ // Redis uses multi
+ $redis->expects($this->once())
+ ->method('multi')
+ ->will($this->returnSelf());
+
+ $redis->expects($this->once())
+ ->method('rpush')
+ ->will($this->returnSelf());
+
+ $redis->expects($this->once())
+ ->method('ltrim')
+ ->will($this->returnSelf());
+
+ $redis->expects($this->once())
+ ->method('exec')
+ ->will($this->returnSelf());
+
+ $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34));
+
+ $handler = new RedisHandler($redis, 'key', Logger::DEBUG, true, 10);
+ $handler->setFormatter(new LineFormatter("%message%"));
+ $handler->handle($record);
+ }
+
+ public function testPredisHandleCapped()
+ {
+ $redis = $this->getMock('Predis\Client', array('transaction'));
+
+ $redisTransaction = $this->getMock('Predis\Client', array('rpush', 'ltrim'));
+
+ $redisTransaction->expects($this->once())
+ ->method('rpush')
+ ->will($this->returnSelf());
+
+ $redisTransaction->expects($this->once())
+ ->method('ltrim')
+ ->will($this->returnSelf());
+
+ // Redis uses multi
+ $redis->expects($this->once())
+ ->method('transaction')
+ ->will($this->returnCallback(function ($cb) use ($redisTransaction) {
+ $cb($redisTransaction);
+ }));
+
+ $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34));
+
+ $handler = new RedisHandler($redis, 'key', Logger::DEBUG, true, 10);
+ $handler->setFormatter(new LineFormatter("%message%"));
+ $handler->handle($record);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RollbarHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RollbarHandlerTest.php
new file mode 100644
index 00000000..f302e917
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RollbarHandlerTest.php
@@ -0,0 +1,84 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Exception;
+use Monolog\TestCase;
+use Monolog\Logger;
+use PHPUnit_Framework_MockObject_MockObject as MockObject;
+
+/**
+ * @author Erik Johansson <erik.pm.johansson@gmail.com>
+ * @see https://rollbar.com/docs/notifier/rollbar-php/
+ *
+ * @coversDefaultClass Monolog\Handler\RollbarHandler
+ */
+class RollbarHandlerTest extends TestCase
+{
+ /**
+ * @var MockObject
+ */
+ private $rollbarNotifier;
+
+ /**
+ * @var array
+ */
+ public $reportedExceptionArguments = null;
+
+ protected function setUp()
+ {
+ parent::setUp();
+
+ $this->setupRollbarNotifierMock();
+ }
+
+ /**
+ * When reporting exceptions to Rollbar the
+ * level has to be set in the payload data
+ */
+ public function testExceptionLogLevel()
+ {
+ $handler = $this->createHandler();
+
+ $handler->handle($this->createExceptionRecord(Logger::DEBUG));
+
+ $this->assertEquals('debug', $this->reportedExceptionArguments['payload']['level']);
+ }
+
+ private function setupRollbarNotifierMock()
+ {
+ $this->rollbarNotifier = $this->getMockBuilder('RollbarNotifier')
+ ->setMethods(array('report_message', 'report_exception', 'flush'))
+ ->getMock();
+
+ $that = $this;
+
+ $this->rollbarNotifier
+ ->expects($this->any())
+ ->method('report_exception')
+ ->willReturnCallback(function ($exception, $context, $payload) use ($that) {
+ $that->reportedExceptionArguments = compact('exception', 'context', 'payload');
+ });
+ }
+
+ private function createHandler()
+ {
+ return new RollbarHandler($this->rollbarNotifier, Logger::DEBUG);
+ }
+
+ private function createExceptionRecord($level = Logger::DEBUG, $message = 'test', $exception = null)
+ {
+ return $this->getRecord($level, $message, array(
+ 'exception' => $exception ?: new Exception()
+ ));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RotatingFileHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RotatingFileHandlerTest.php
new file mode 100644
index 00000000..f1feb228
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RotatingFileHandlerTest.php
@@ -0,0 +1,211 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use PHPUnit_Framework_Error_Deprecated;
+
+/**
+ * @covers Monolog\Handler\RotatingFileHandler
+ */
+class RotatingFileHandlerTest extends TestCase
+{
+ /**
+ * This var should be private but then the anonymous function
+ * in the `setUp` method won't be able to set it. `$this` cant't
+ * be used in the anonymous function in `setUp` because PHP 5.3
+ * does not support it.
+ */
+ public $lastError;
+
+ public function setUp()
+ {
+ $dir = __DIR__.'/Fixtures';
+ chmod($dir, 0777);
+ if (!is_writable($dir)) {
+ $this->markTestSkipped($dir.' must be writable to test the RotatingFileHandler.');
+ }
+ $this->lastError = null;
+ $self = $this;
+ // workaround with &$self used for PHP 5.3
+ set_error_handler(function($code, $message) use (&$self) {
+ $self->lastError = array(
+ 'code' => $code,
+ 'message' => $message,
+ );
+ });
+ }
+
+ private function assertErrorWasTriggered($code, $message)
+ {
+ if (empty($this->lastError)) {
+ $this->fail(
+ sprintf(
+ 'Failed asserting that error with code `%d` and message `%s` was triggered',
+ $code,
+ $message
+ )
+ );
+ }
+ $this->assertEquals($code, $this->lastError['code'], sprintf('Expected an error with code %d to be triggered, got `%s` instead', $code, $this->lastError['code']));
+ $this->assertEquals($message, $this->lastError['message'], sprintf('Expected an error with message `%d` to be triggered, got `%s` instead', $message, $this->lastError['message']));
+ }
+
+ public function testRotationCreatesNewFile()
+ {
+ touch(__DIR__.'/Fixtures/foo-'.date('Y-m-d', time() - 86400).'.rot');
+
+ $handler = new RotatingFileHandler(__DIR__.'/Fixtures/foo.rot');
+ $handler->setFormatter($this->getIdentityFormatter());
+ $handler->handle($this->getRecord());
+
+ $log = __DIR__.'/Fixtures/foo-'.date('Y-m-d').'.rot';
+ $this->assertTrue(file_exists($log));
+ $this->assertEquals('test', file_get_contents($log));
+ }
+
+ /**
+ * @dataProvider rotationTests
+ */
+ public function testRotation($createFile, $dateFormat, $timeCallback)
+ {
+ touch($old1 = __DIR__.'/Fixtures/foo-'.date($dateFormat, $timeCallback(-1)).'.rot');
+ touch($old2 = __DIR__.'/Fixtures/foo-'.date($dateFormat, $timeCallback(-2)).'.rot');
+ touch($old3 = __DIR__.'/Fixtures/foo-'.date($dateFormat, $timeCallback(-3)).'.rot');
+ touch($old4 = __DIR__.'/Fixtures/foo-'.date($dateFormat, $timeCallback(-4)).'.rot');
+
+ $log = __DIR__.'/Fixtures/foo-'.date($dateFormat).'.rot';
+
+ if ($createFile) {
+ touch($log);
+ }
+
+ $handler = new RotatingFileHandler(__DIR__.'/Fixtures/foo.rot', 2);
+ $handler->setFormatter($this->getIdentityFormatter());
+ $handler->setFilenameFormat('{filename}-{date}', $dateFormat);
+ $handler->handle($this->getRecord());
+
+ $handler->close();
+
+ $this->assertTrue(file_exists($log));
+ $this->assertTrue(file_exists($old1));
+ $this->assertEquals($createFile, file_exists($old2));
+ $this->assertEquals($createFile, file_exists($old3));
+ $this->assertEquals($createFile, file_exists($old4));
+ $this->assertEquals('test', file_get_contents($log));
+ }
+
+ public function rotationTests()
+ {
+ $now = time();
+ $dayCallback = function($ago) use ($now) {
+ return $now + 86400 * $ago;
+ };
+ $monthCallback = function($ago) {
+ return gmmktime(0, 0, 0, date('n') + $ago, 1, date('Y'));
+ };
+ $yearCallback = function($ago) {
+ return gmmktime(0, 0, 0, 1, 1, date('Y') + $ago);
+ };
+
+ return array(
+ 'Rotation is triggered when the file of the current day is not present'
+ => array(true, RotatingFileHandler::FILE_PER_DAY, $dayCallback),
+ 'Rotation is not triggered when the file of the current day is already present'
+ => array(false, RotatingFileHandler::FILE_PER_DAY, $dayCallback),
+
+ 'Rotation is triggered when the file of the current month is not present'
+ => array(true, RotatingFileHandler::FILE_PER_MONTH, $monthCallback),
+ 'Rotation is not triggered when the file of the current month is already present'
+ => array(false, RotatingFileHandler::FILE_PER_MONTH, $monthCallback),
+
+ 'Rotation is triggered when the file of the current year is not present'
+ => array(true, RotatingFileHandler::FILE_PER_YEAR, $yearCallback),
+ 'Rotation is not triggered when the file of the current year is already present'
+ => array(false, RotatingFileHandler::FILE_PER_YEAR, $yearCallback),
+ );
+ }
+
+ /**
+ * @dataProvider dateFormatProvider
+ */
+ public function testAllowOnlyFixedDefinedDateFormats($dateFormat, $valid)
+ {
+ $handler = new RotatingFileHandler(__DIR__.'/Fixtures/foo.rot', 2);
+ $handler->setFilenameFormat('{filename}-{date}', $dateFormat);
+ if (!$valid) {
+ $this->assertErrorWasTriggered(
+ E_USER_DEPRECATED,
+ 'Invalid date format - format must be one of RotatingFileHandler::FILE_PER_DAY ("Y-m-d"), '.
+ 'RotatingFileHandler::FILE_PER_MONTH ("Y-m") or RotatingFileHandler::FILE_PER_YEAR ("Y"), '.
+ 'or you can set one of the date formats using slashes, underscores and/or dots instead of dashes.'
+ );
+ }
+ }
+
+ public function dateFormatProvider()
+ {
+ return array(
+ array(RotatingFileHandler::FILE_PER_DAY, true),
+ array(RotatingFileHandler::FILE_PER_MONTH, true),
+ array(RotatingFileHandler::FILE_PER_YEAR, true),
+ array('m-d-Y', false),
+ array('Y-m-d-h-i', false)
+ );
+ }
+
+ /**
+ * @dataProvider filenameFormatProvider
+ */
+ public function testDisallowFilenameFormatsWithoutDate($filenameFormat, $valid)
+ {
+ $handler = new RotatingFileHandler(__DIR__.'/Fixtures/foo.rot', 2);
+ $handler->setFilenameFormat($filenameFormat, RotatingFileHandler::FILE_PER_DAY);
+ if (!$valid) {
+ $this->assertErrorWasTriggered(
+ E_USER_DEPRECATED,
+ 'Invalid filename format - format should contain at least `{date}`, because otherwise rotating is impossible.'
+ );
+ }
+ }
+
+ public function filenameFormatProvider()
+ {
+ return array(
+ array('{filename}', false),
+ array('{filename}-{date}', true),
+ array('{date}', true),
+ array('foobar-{date}', true),
+ array('foo-{date}-bar', true),
+ array('{date}-foobar', true),
+ array('foobar', false),
+ );
+ }
+
+ public function testReuseCurrentFile()
+ {
+ $log = __DIR__.'/Fixtures/foo-'.date('Y-m-d').'.rot';
+ file_put_contents($log, "foo");
+ $handler = new RotatingFileHandler(__DIR__.'/Fixtures/foo.rot');
+ $handler->setFormatter($this->getIdentityFormatter());
+ $handler->handle($this->getRecord());
+ $this->assertEquals('footest', file_get_contents($log));
+ }
+
+ public function tearDown()
+ {
+ foreach (glob(__DIR__.'/Fixtures/*.rot') as $file) {
+ unlink($file);
+ }
+ restore_error_handler();
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SamplingHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SamplingHandlerTest.php
new file mode 100644
index 00000000..b354cee1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SamplingHandlerTest.php
@@ -0,0 +1,33 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+
+/**
+ * @covers Monolog\Handler\SamplingHandler::handle
+ */
+class SamplingHandlerTest extends TestCase
+{
+ public function testHandle()
+ {
+ $testHandler = new TestHandler();
+ $handler = new SamplingHandler($testHandler, 2);
+ for ($i = 0; $i < 10000; $i++) {
+ $handler->handle($this->getRecord());
+ }
+ $count = count($testHandler->getRecords());
+ // $count should be half of 10k, so between 4k and 6k
+ $this->assertLessThan(6000, $count);
+ $this->assertGreaterThan(4000, $count);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/Slack/SlackRecordTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/Slack/SlackRecordTest.php
new file mode 100644
index 00000000..e1aa96d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/Slack/SlackRecordTest.php
@@ -0,0 +1,387 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler\Slack;
+
+use Monolog\Logger;
+use Monolog\TestCase;
+
+/**
+ * @coversDefaultClass Monolog\Handler\Slack\SlackRecord
+ */
+class SlackRecordTest extends TestCase
+{
+ private $jsonPrettyPrintFlag;
+
+ protected function setUp()
+ {
+ $this->jsonPrettyPrintFlag = defined('JSON_PRETTY_PRINT') ? JSON_PRETTY_PRINT : 128;
+ }
+
+ public function dataGetAttachmentColor()
+ {
+ return array(
+ array(Logger::DEBUG, SlackRecord::COLOR_DEFAULT),
+ array(Logger::INFO, SlackRecord::COLOR_GOOD),
+ array(Logger::NOTICE, SlackRecord::COLOR_GOOD),
+ array(Logger::WARNING, SlackRecord::COLOR_WARNING),
+ array(Logger::ERROR, SlackRecord::COLOR_DANGER),
+ array(Logger::CRITICAL, SlackRecord::COLOR_DANGER),
+ array(Logger::ALERT, SlackRecord::COLOR_DANGER),
+ array(Logger::EMERGENCY, SlackRecord::COLOR_DANGER),
+ );
+ }
+
+ /**
+ * @dataProvider dataGetAttachmentColor
+ * @param int $logLevel
+ * @param string $expectedColour RGB hex color or name of Slack color
+ * @covers ::getAttachmentColor
+ */
+ public function testGetAttachmentColor($logLevel, $expectedColour)
+ {
+ $slackRecord = new SlackRecord();
+ $this->assertSame(
+ $expectedColour,
+ $slackRecord->getAttachmentColor($logLevel)
+ );
+ }
+
+ public function testAddsChannel()
+ {
+ $channel = '#test';
+ $record = new SlackRecord($channel);
+ $data = $record->getSlackData($this->getRecord());
+
+ $this->assertArrayHasKey('channel', $data);
+ $this->assertSame($channel, $data['channel']);
+ }
+
+ public function testNoUsernameByDefault()
+ {
+ $record = new SlackRecord();
+ $data = $record->getSlackData($this->getRecord());
+
+ $this->assertArrayNotHasKey('username', $data);
+ }
+
+ /**
+ * @return array
+ */
+ public function dataStringify()
+ {
+ $jsonPrettyPrintFlag = defined('JSON_PRETTY_PRINT') ? JSON_PRETTY_PRINT : 128;
+
+ $multipleDimensions = array(array(1, 2));
+ $numericKeys = array('library' => 'monolog');
+ $singleDimension = array(1, 'Hello', 'Jordi');
+
+ return array(
+ array(array(), '[]'),
+ array($multipleDimensions, json_encode($multipleDimensions, $jsonPrettyPrintFlag)),
+ array($numericKeys, json_encode($numericKeys, $jsonPrettyPrintFlag)),
+ array($singleDimension, json_encode($singleDimension))
+ );
+ }
+
+ /**
+ * @dataProvider dataStringify
+ */
+ public function testStringify($fields, $expectedResult)
+ {
+ $slackRecord = new SlackRecord(
+ '#test',
+ 'test',
+ true,
+ null,
+ true,
+ true
+ );
+
+ $this->assertSame($expectedResult, $slackRecord->stringify($fields));
+ }
+
+ public function testAddsCustomUsername()
+ {
+ $username = 'Monolog bot';
+ $record = new SlackRecord(null, $username);
+ $data = $record->getSlackData($this->getRecord());
+
+ $this->assertArrayHasKey('username', $data);
+ $this->assertSame($username, $data['username']);
+ }
+
+ public function testNoIcon()
+ {
+ $record = new SlackRecord();
+ $data = $record->getSlackData($this->getRecord());
+
+ $this->assertArrayNotHasKey('icon_emoji', $data);
+ }
+
+ public function testAddsIcon()
+ {
+ $record = $this->getRecord();
+ $slackRecord = new SlackRecord(null, null, false, 'ghost');
+ $data = $slackRecord->getSlackData($record);
+
+ $slackRecord2 = new SlackRecord(null, null, false, 'http://github.com/Seldaek/monolog');
+ $data2 = $slackRecord2->getSlackData($record);
+
+ $this->assertArrayHasKey('icon_emoji', $data);
+ $this->assertSame(':ghost:', $data['icon_emoji']);
+ $this->assertArrayHasKey('icon_url', $data2);
+ $this->assertSame('http://github.com/Seldaek/monolog', $data2['icon_url']);
+ }
+
+ public function testAttachmentsNotPresentIfNoAttachment()
+ {
+ $record = new SlackRecord(null, null, false);
+ $data = $record->getSlackData($this->getRecord());
+
+ $this->assertArrayNotHasKey('attachments', $data);
+ }
+
+ public function testAddsOneAttachment()
+ {
+ $record = new SlackRecord();
+ $data = $record->getSlackData($this->getRecord());
+
+ $this->assertArrayHasKey('attachments', $data);
+ $this->assertArrayHasKey(0, $data['attachments']);
+ $this->assertInternalType('array', $data['attachments'][0]);
+ }
+
+ public function testTextEqualsMessageIfNoAttachment()
+ {
+ $message = 'Test message';
+ $record = new SlackRecord(null, null, false);
+ $data = $record->getSlackData($this->getRecord(Logger::WARNING, $message));
+
+ $this->assertArrayHasKey('text', $data);
+ $this->assertSame($message, $data['text']);
+ }
+
+ public function testTextEqualsFormatterOutput()
+ {
+ $formatter = $this->getMock('Monolog\\Formatter\\FormatterInterface');
+ $formatter
+ ->expects($this->any())
+ ->method('format')
+ ->will($this->returnCallback(function ($record) { return $record['message'] . 'test'; }));
+
+ $formatter2 = $this->getMock('Monolog\\Formatter\\FormatterInterface');
+ $formatter2
+ ->expects($this->any())
+ ->method('format')
+ ->will($this->returnCallback(function ($record) { return $record['message'] . 'test1'; }));
+
+ $message = 'Test message';
+ $record = new SlackRecord(null, null, false, null, false, false, array(), $formatter);
+ $data = $record->getSlackData($this->getRecord(Logger::WARNING, $message));
+
+ $this->assertArrayHasKey('text', $data);
+ $this->assertSame($message . 'test', $data['text']);
+
+ $record->setFormatter($formatter2);
+ $data = $record->getSlackData($this->getRecord(Logger::WARNING, $message));
+
+ $this->assertArrayHasKey('text', $data);
+ $this->assertSame($message . 'test1', $data['text']);
+ }
+
+ public function testAddsFallbackAndTextToAttachment()
+ {
+ $message = 'Test message';
+ $record = new SlackRecord(null);
+ $data = $record->getSlackData($this->getRecord(Logger::WARNING, $message));
+
+ $this->assertSame($message, $data['attachments'][0]['text']);
+ $this->assertSame($message, $data['attachments'][0]['fallback']);
+ }
+
+ public function testMapsLevelToColorAttachmentColor()
+ {
+ $record = new SlackRecord(null);
+ $errorLoggerRecord = $this->getRecord(Logger::ERROR);
+ $emergencyLoggerRecord = $this->getRecord(Logger::EMERGENCY);
+ $warningLoggerRecord = $this->getRecord(Logger::WARNING);
+ $infoLoggerRecord = $this->getRecord(Logger::INFO);
+ $debugLoggerRecord = $this->getRecord(Logger::DEBUG);
+
+ $data = $record->getSlackData($errorLoggerRecord);
+ $this->assertSame(SlackRecord::COLOR_DANGER, $data['attachments'][0]['color']);
+
+ $data = $record->getSlackData($emergencyLoggerRecord);
+ $this->assertSame(SlackRecord::COLOR_DANGER, $data['attachments'][0]['color']);
+
+ $data = $record->getSlackData($warningLoggerRecord);
+ $this->assertSame(SlackRecord::COLOR_WARNING, $data['attachments'][0]['color']);
+
+ $data = $record->getSlackData($infoLoggerRecord);
+ $this->assertSame(SlackRecord::COLOR_GOOD, $data['attachments'][0]['color']);
+
+ $data = $record->getSlackData($debugLoggerRecord);
+ $this->assertSame(SlackRecord::COLOR_DEFAULT, $data['attachments'][0]['color']);
+ }
+
+ public function testAddsShortAttachmentWithoutContextAndExtra()
+ {
+ $level = Logger::ERROR;
+ $levelName = Logger::getLevelName($level);
+ $record = new SlackRecord(null, null, true, null, true);
+ $data = $record->getSlackData($this->getRecord($level, 'test', array('test' => 1)));
+
+ $attachment = $data['attachments'][0];
+ $this->assertArrayHasKey('title', $attachment);
+ $this->assertArrayHasKey('fields', $attachment);
+ $this->assertSame($levelName, $attachment['title']);
+ $this->assertSame(array(), $attachment['fields']);
+ }
+
+ public function testAddsShortAttachmentWithContextAndExtra()
+ {
+ $level = Logger::ERROR;
+ $levelName = Logger::getLevelName($level);
+ $context = array('test' => 1);
+ $extra = array('tags' => array('web'));
+ $record = new SlackRecord(null, null, true, null, true, true);
+ $loggerRecord = $this->getRecord($level, 'test', $context);
+ $loggerRecord['extra'] = $extra;
+ $data = $record->getSlackData($loggerRecord);
+
+ $attachment = $data['attachments'][0];
+ $this->assertArrayHasKey('title', $attachment);
+ $this->assertArrayHasKey('fields', $attachment);
+ $this->assertCount(2, $attachment['fields']);
+ $this->assertSame($levelName, $attachment['title']);
+ $this->assertSame(
+ array(
+ array(
+ 'title' => 'Extra',
+ 'value' => sprintf('```%s```', json_encode($extra, $this->jsonPrettyPrintFlag)),
+ 'short' => false
+ ),
+ array(
+ 'title' => 'Context',
+ 'value' => sprintf('```%s```', json_encode($context, $this->jsonPrettyPrintFlag)),
+ 'short' => false
+ )
+ ),
+ $attachment['fields']
+ );
+ }
+
+ public function testAddsLongAttachmentWithoutContextAndExtra()
+ {
+ $level = Logger::ERROR;
+ $levelName = Logger::getLevelName($level);
+ $record = new SlackRecord(null, null, true, null);
+ $data = $record->getSlackData($this->getRecord($level, 'test', array('test' => 1)));
+
+ $attachment = $data['attachments'][0];
+ $this->assertArrayHasKey('title', $attachment);
+ $this->assertArrayHasKey('fields', $attachment);
+ $this->assertCount(1, $attachment['fields']);
+ $this->assertSame('Message', $attachment['title']);
+ $this->assertSame(
+ array(array(
+ 'title' => 'Level',
+ 'value' => $levelName,
+ 'short' => false
+ )),
+ $attachment['fields']
+ );
+ }
+
+ public function testAddsLongAttachmentWithContextAndExtra()
+ {
+ $level = Logger::ERROR;
+ $levelName = Logger::getLevelName($level);
+ $context = array('test' => 1);
+ $extra = array('tags' => array('web'));
+ $record = new SlackRecord(null, null, true, null, false, true);
+ $loggerRecord = $this->getRecord($level, 'test', $context);
+ $loggerRecord['extra'] = $extra;
+ $data = $record->getSlackData($loggerRecord);
+
+ $expectedFields = array(
+ array(
+ 'title' => 'Level',
+ 'value' => $levelName,
+ 'short' => false,
+ ),
+ array(
+ 'title' => 'tags',
+ 'value' => sprintf('```%s```', json_encode($extra['tags'])),
+ 'short' => false
+ ),
+ array(
+ 'title' => 'test',
+ 'value' => $context['test'],
+ 'short' => false
+ )
+ );
+
+ $attachment = $data['attachments'][0];
+ $this->assertArrayHasKey('title', $attachment);
+ $this->assertArrayHasKey('fields', $attachment);
+ $this->assertCount(3, $attachment['fields']);
+ $this->assertSame('Message', $attachment['title']);
+ $this->assertSame(
+ $expectedFields,
+ $attachment['fields']
+ );
+ }
+
+ public function testAddsTimestampToAttachment()
+ {
+ $record = $this->getRecord();
+ $slackRecord = new SlackRecord();
+ $data = $slackRecord->getSlackData($this->getRecord());
+
+ $attachment = $data['attachments'][0];
+ $this->assertArrayHasKey('ts', $attachment);
+ $this->assertSame($record['datetime']->getTimestamp(), $attachment['ts']);
+ }
+
+ public function testExcludeExtraAndContextFields()
+ {
+ $record = $this->getRecord(
+ Logger::WARNING,
+ 'test',
+ array('info' => array('library' => 'monolog', 'author' => 'Jordi'))
+ );
+ $record['extra'] = array('tags' => array('web', 'cli'));
+
+ $slackRecord = new SlackRecord(null, null, true, null, false, true, array('context.info.library', 'extra.tags.1'));
+ $data = $slackRecord->getSlackData($record);
+ $attachment = $data['attachments'][0];
+
+ $expected = array(
+ array(
+ 'title' => 'info',
+ 'value' => sprintf('```%s```', json_encode(array('author' => 'Jordi'), $this->jsonPrettyPrintFlag)),
+ 'short' => false
+ ),
+ array(
+ 'title' => 'tags',
+ 'value' => sprintf('```%s```', json_encode(array('web'))),
+ 'short' => false
+ ),
+ );
+
+ foreach ($expected as $field) {
+ $this->assertNotFalse(array_search($field, $attachment['fields']));
+ break;
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackHandlerTest.php
new file mode 100644
index 00000000..b12b01f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackHandlerTest.php
@@ -0,0 +1,155 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+use Monolog\Formatter\LineFormatter;
+use Monolog\Handler\Slack\SlackRecord;
+
+/**
+ * @author Greg Kedzierski <greg@gregkedzierski.com>
+ * @see https://api.slack.com/
+ */
+class SlackHandlerTest extends TestCase
+{
+ /**
+ * @var resource
+ */
+ private $res;
+
+ /**
+ * @var SlackHandler
+ */
+ private $handler;
+
+ public function setUp()
+ {
+ if (!extension_loaded('openssl')) {
+ $this->markTestSkipped('This test requires openssl to run');
+ }
+ }
+
+ public function testWriteHeader()
+ {
+ $this->createHandler();
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/POST \/api\/chat.postMessage HTTP\/1.1\\r\\nHost: slack.com\\r\\nContent-Type: application\/x-www-form-urlencoded\\r\\nContent-Length: \d{2,4}\\r\\n\\r\\n/', $content);
+ }
+
+ public function testWriteContent()
+ {
+ $this->createHandler();
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegExp('/username=Monolog/', $content);
+ $this->assertRegExp('/channel=channel1/', $content);
+ $this->assertRegExp('/token=myToken/', $content);
+ $this->assertRegExp('/attachments/', $content);
+ }
+
+ public function testWriteContentUsesFormatterIfProvided()
+ {
+ $this->createHandler('myToken', 'channel1', 'Monolog', false);
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->createHandler('myToken', 'channel1', 'Monolog', false);
+ $this->handler->setFormatter(new LineFormatter('foo--%message%'));
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test2'));
+ fseek($this->res, 0);
+ $content2 = fread($this->res, 1024);
+
+ $this->assertRegexp('/text=test1/', $content);
+ $this->assertRegexp('/text=foo--test2/', $content2);
+ }
+
+ public function testWriteContentWithEmoji()
+ {
+ $this->createHandler('myToken', 'channel1', 'Monolog', true, 'alien');
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/icon_emoji=%3Aalien%3A/', $content);
+ }
+
+ /**
+ * @dataProvider provideLevelColors
+ */
+ public function testWriteContentWithColors($level, $expectedColor)
+ {
+ $this->createHandler();
+ $this->handler->handle($this->getRecord($level, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/%22color%22%3A%22'.$expectedColor.'/', $content);
+ }
+
+ public function testWriteContentWithPlainTextMessage()
+ {
+ $this->createHandler('myToken', 'channel1', 'Monolog', false);
+ $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
+ fseek($this->res, 0);
+ $content = fread($this->res, 1024);
+
+ $this->assertRegexp('/text=test1/', $content);
+ }
+
+ public function provideLevelColors()
+ {
+ return array(
+ array(Logger::DEBUG, urlencode(SlackRecord::COLOR_DEFAULT)),
+ array(Logger::INFO, SlackRecord::COLOR_GOOD),
+ array(Logger::NOTICE, SlackRecord::COLOR_GOOD),
+ array(Logger::WARNING, SlackRecord::COLOR_WARNING),
+ array(Logger::ERROR, SlackRecord::COLOR_DANGER),
+ array(Logger::CRITICAL, SlackRecord::COLOR_DANGER),
+ array(Logger::ALERT, SlackRecord::COLOR_DANGER),
+ array(Logger::EMERGENCY,SlackRecord::COLOR_DANGER),
+ );
+ }
+
+ private function createHandler($token = 'myToken', $channel = 'channel1', $username = 'Monolog', $useAttachment = true, $iconEmoji = null, $useShortAttachment = false, $includeExtra = false)
+ {
+ $constructorArgs = array($token, $channel, $username, $useAttachment, $iconEmoji, Logger::DEBUG, true, $useShortAttachment, $includeExtra);
+ $this->res = fopen('php://memory', 'a');
+ $this->handler = $this->getMock(
+ '\Monolog\Handler\SlackHandler',
+ array('fsockopen', 'streamSetTimeout', 'closeSocket'),
+ $constructorArgs
+ );
+
+ $reflectionProperty = new \ReflectionProperty('\Monolog\Handler\SocketHandler', 'connectionString');
+ $reflectionProperty->setAccessible(true);
+ $reflectionProperty->setValue($this->handler, 'localhost:1234');
+
+ $this->handler->expects($this->any())
+ ->method('fsockopen')
+ ->will($this->returnValue($this->res));
+ $this->handler->expects($this->any())
+ ->method('streamSetTimeout')
+ ->will($this->returnValue(true));
+ $this->handler->expects($this->any())
+ ->method('closeSocket')
+ ->will($this->returnValue(true));
+
+ $this->handler->setFormatter($this->getIdentityFormatter());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackWebhookHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackWebhookHandlerTest.php
new file mode 100644
index 00000000..c9229e26
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackWebhookHandlerTest.php
@@ -0,0 +1,107 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+use Monolog\Formatter\LineFormatter;
+use Monolog\Handler\Slack\SlackRecord;
+
+/**
+ * @author Haralan Dobrev <hkdobrev@gmail.com>
+ * @see https://api.slack.com/incoming-webhooks
+ * @coversDefaultClass Monolog\Handler\SlackWebhookHandler
+ */
+class SlackWebhookHandlerTest extends TestCase
+{
+ const WEBHOOK_URL = 'https://hooks.slack.com/services/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E';
+
+ /**
+ * @covers ::__construct
+ * @covers ::getSlackRecord
+ */
+ public function testConstructorMinimal()
+ {
+ $handler = new SlackWebhookHandler(self::WEBHOOK_URL);
+ $record = $this->getRecord();
+ $slackRecord = $handler->getSlackRecord();
+ $this->assertInstanceOf('Monolog\Handler\Slack\SlackRecord', $slackRecord);
+ $this->assertEquals(array(
+ 'attachments' => array(
+ array(
+ 'fallback' => 'test',
+ 'text' => 'test',
+ 'color' => SlackRecord::COLOR_WARNING,
+ 'fields' => array(
+ array(
+ 'title' => 'Level',
+ 'value' => 'WARNING',
+ 'short' => false,
+ ),
+ ),
+ 'title' => 'Message',
+ 'mrkdwn_in' => array('fields'),
+ 'ts' => $record['datetime']->getTimestamp(),
+ ),
+ ),
+ ), $slackRecord->getSlackData($record));
+ }
+
+ /**
+ * @covers ::__construct
+ * @covers ::getSlackRecord
+ */
+ public function testConstructorFull()
+ {
+ $handler = new SlackWebhookHandler(
+ self::WEBHOOK_URL,
+ 'test-channel',
+ 'test-username',
+ false,
+ ':ghost:',
+ false,
+ false,
+ Logger::DEBUG,
+ false
+ );
+
+ $slackRecord = $handler->getSlackRecord();
+ $this->assertInstanceOf('Monolog\Handler\Slack\SlackRecord', $slackRecord);
+ $this->assertEquals(array(
+ 'username' => 'test-username',
+ 'text' => 'test',
+ 'channel' => 'test-channel',
+ 'icon_emoji' => ':ghost:',
+ ), $slackRecord->getSlackData($this->getRecord()));
+ }
+
+ /**
+ * @covers ::getFormatter
+ */
+ public function testGetFormatter()
+ {
+ $handler = new SlackWebhookHandler(self::WEBHOOK_URL);
+ $formatter = $handler->getFormatter();
+ $this->assertInstanceOf('Monolog\Formatter\FormatterInterface', $formatter);
+ }
+
+ /**
+ * @covers ::setFormatter
+ */
+ public function testSetFormatter()
+ {
+ $handler = new SlackWebhookHandler(self::WEBHOOK_URL);
+ $formatter = new LineFormatter();
+ $handler->setFormatter($formatter);
+ $this->assertSame($formatter, $handler->getFormatter());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackbotHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackbotHandlerTest.php
new file mode 100644
index 00000000..b1b02bde
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackbotHandlerTest.php
@@ -0,0 +1,47 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+/**
+ * @author Haralan Dobrev <hkdobrev@gmail.com>
+ * @see https://slack.com/apps/A0F81R8ET-slackbot
+ * @coversDefaultClass Monolog\Handler\SlackbotHandler
+ */
+class SlackbotHandlerTest extends TestCase
+{
+ /**
+ * @covers ::__construct
+ */
+ public function testConstructorMinimal()
+ {
+ $handler = new SlackbotHandler('test-team', 'test-token', 'test-channel');
+ $this->assertInstanceOf('Monolog\Handler\AbstractProcessingHandler', $handler);
+ }
+
+ /**
+ * @covers ::__construct
+ */
+ public function testConstructorFull()
+ {
+ $handler = new SlackbotHandler(
+ 'test-team',
+ 'test-token',
+ 'test-channel',
+ Logger::DEBUG,
+ false
+ );
+ $this->assertInstanceOf('Monolog\Handler\AbstractProcessingHandler', $handler);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SocketHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SocketHandlerTest.php
new file mode 100644
index 00000000..1f9c1f28
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SocketHandlerTest.php
@@ -0,0 +1,309 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+/**
+ * @author Pablo de Leon Belloc <pablolb@gmail.com>
+ */
+class SocketHandlerTest extends TestCase
+{
+ /**
+ * @var Monolog\Handler\SocketHandler
+ */
+ private $handler;
+
+ /**
+ * @var resource
+ */
+ private $res;
+
+ /**
+ * @expectedException UnexpectedValueException
+ */
+ public function testInvalidHostname()
+ {
+ $this->createHandler('garbage://here');
+ $this->writeRecord('data');
+ }
+
+ /**
+ * @expectedException \InvalidArgumentException
+ */
+ public function testBadConnectionTimeout()
+ {
+ $this->createHandler('localhost:1234');
+ $this->handler->setConnectionTimeout(-1);
+ }
+
+ public function testSetConnectionTimeout()
+ {
+ $this->createHandler('localhost:1234');
+ $this->handler->setConnectionTimeout(10.1);
+ $this->assertEquals(10.1, $this->handler->getConnectionTimeout());
+ }
+
+ /**
+ * @expectedException \InvalidArgumentException
+ */
+ public function testBadTimeout()
+ {
+ $this->createHandler('localhost:1234');
+ $this->handler->setTimeout(-1);
+ }
+
+ public function testSetTimeout()
+ {
+ $this->createHandler('localhost:1234');
+ $this->handler->setTimeout(10.25);
+ $this->assertEquals(10.25, $this->handler->getTimeout());
+ }
+
+ public function testSetWritingTimeout()
+ {
+ $this->createHandler('localhost:1234');
+ $this->handler->setWritingTimeout(10.25);
+ $this->assertEquals(10.25, $this->handler->getWritingTimeout());
+ }
+
+ public function testSetConnectionString()
+ {
+ $this->createHandler('tcp://localhost:9090');
+ $this->assertEquals('tcp://localhost:9090', $this->handler->getConnectionString());
+ }
+
+ /**
+ * @expectedException UnexpectedValueException
+ */
+ public function testExceptionIsThrownOnFsockopenError()
+ {
+ $this->setMockHandler(array('fsockopen'));
+ $this->handler->expects($this->once())
+ ->method('fsockopen')
+ ->will($this->returnValue(false));
+ $this->writeRecord('Hello world');
+ }
+
+ /**
+ * @expectedException UnexpectedValueException
+ */
+ public function testExceptionIsThrownOnPfsockopenError()
+ {
+ $this->setMockHandler(array('pfsockopen'));
+ $this->handler->expects($this->once())
+ ->method('pfsockopen')
+ ->will($this->returnValue(false));
+ $this->handler->setPersistent(true);
+ $this->writeRecord('Hello world');
+ }
+
+ /**
+ * @expectedException UnexpectedValueException
+ */
+ public function testExceptionIsThrownIfCannotSetTimeout()
+ {
+ $this->setMockHandler(array('streamSetTimeout'));
+ $this->handler->expects($this->once())
+ ->method('streamSetTimeout')
+ ->will($this->returnValue(false));
+ $this->writeRecord('Hello world');
+ }
+
+ /**
+ * @expectedException RuntimeException
+ */
+ public function testWriteFailsOnIfFwriteReturnsFalse()
+ {
+ $this->setMockHandler(array('fwrite'));
+
+ $callback = function ($arg) {
+ $map = array(
+ 'Hello world' => 6,
+ 'world' => false,
+ );
+
+ return $map[$arg];
+ };
+
+ $this->handler->expects($this->exactly(2))
+ ->method('fwrite')
+ ->will($this->returnCallback($callback));
+
+ $this->writeRecord('Hello world');
+ }
+
+ /**
+ * @expectedException RuntimeException
+ */
+ public function testWriteFailsIfStreamTimesOut()
+ {
+ $this->setMockHandler(array('fwrite', 'streamGetMetadata'));
+
+ $callback = function ($arg) {
+ $map = array(
+ 'Hello world' => 6,
+ 'world' => 5,
+ );
+
+ return $map[$arg];
+ };
+
+ $this->handler->expects($this->exactly(1))
+ ->method('fwrite')
+ ->will($this->returnCallback($callback));
+ $this->handler->expects($this->exactly(1))
+ ->method('streamGetMetadata')
+ ->will($this->returnValue(array('timed_out' => true)));
+
+ $this->writeRecord('Hello world');
+ }
+
+ /**
+ * @expectedException RuntimeException
+ */
+ public function testWriteFailsOnIncompleteWrite()
+ {
+ $this->setMockHandler(array('fwrite', 'streamGetMetadata'));
+
+ $res = $this->res;
+ $callback = function ($string) use ($res) {
+ fclose($res);
+
+ return strlen('Hello');
+ };
+
+ $this->handler->expects($this->exactly(1))
+ ->method('fwrite')
+ ->will($this->returnCallback($callback));
+ $this->handler->expects($this->exactly(1))
+ ->method('streamGetMetadata')
+ ->will($this->returnValue(array('timed_out' => false)));
+
+ $this->writeRecord('Hello world');
+ }
+
+ public function testWriteWithMemoryFile()
+ {
+ $this->setMockHandler();
+ $this->writeRecord('test1');
+ $this->writeRecord('test2');
+ $this->writeRecord('test3');
+ fseek($this->res, 0);
+ $this->assertEquals('test1test2test3', fread($this->res, 1024));
+ }
+
+ public function testWriteWithMock()
+ {
+ $this->setMockHandler(array('fwrite'));
+
+ $callback = function ($arg) {
+ $map = array(
+ 'Hello world' => 6,
+ 'world' => 5,
+ );
+
+ return $map[$arg];
+ };
+
+ $this->handler->expects($this->exactly(2))
+ ->method('fwrite')
+ ->will($this->returnCallback($callback));
+
+ $this->writeRecord('Hello world');
+ }
+
+ public function testClose()
+ {
+ $this->setMockHandler();
+ $this->writeRecord('Hello world');
+ $this->assertInternalType('resource', $this->res);
+ $this->handler->close();
+ $this->assertFalse(is_resource($this->res), "Expected resource to be closed after closing handler");
+ }
+
+ public function testCloseDoesNotClosePersistentSocket()
+ {
+ $this->setMockHandler();
+ $this->handler->setPersistent(true);
+ $this->writeRecord('Hello world');
+ $this->assertTrue(is_resource($this->res));
+ $this->handler->close();
+ $this->assertTrue(is_resource($this->res));
+ }
+
+ /**
+ * @expectedException \RuntimeException
+ */
+ public function testAvoidInfiniteLoopWhenNoDataIsWrittenForAWritingTimeoutSeconds()
+ {
+ $this->setMockHandler(array('fwrite', 'streamGetMetadata'));
+
+ $this->handler->expects($this->any())
+ ->method('fwrite')
+ ->will($this->returnValue(0));
+
+ $this->handler->expects($this->any())
+ ->method('streamGetMetadata')
+ ->will($this->returnValue(array('timed_out' => false)));
+
+ $this->handler->setWritingTimeout(1);
+
+ $this->writeRecord('Hello world');
+ }
+
+ private function createHandler($connectionString)
+ {
+ $this->handler = new SocketHandler($connectionString);
+ $this->handler->setFormatter($this->getIdentityFormatter());
+ }
+
+ private function writeRecord($string)
+ {
+ $this->handler->handle($this->getRecord(Logger::WARNING, $string));
+ }
+
+ private function setMockHandler(array $methods = array())
+ {
+ $this->res = fopen('php://memory', 'a');
+
+ $defaultMethods = array('fsockopen', 'pfsockopen', 'streamSetTimeout');
+ $newMethods = array_diff($methods, $defaultMethods);
+
+ $finalMethods = array_merge($defaultMethods, $newMethods);
+
+ $this->handler = $this->getMock(
+ '\Monolog\Handler\SocketHandler', $finalMethods, array('localhost:1234')
+ );
+
+ if (!in_array('fsockopen', $methods)) {
+ $this->handler->expects($this->any())
+ ->method('fsockopen')
+ ->will($this->returnValue($this->res));
+ }
+
+ if (!in_array('pfsockopen', $methods)) {
+ $this->handler->expects($this->any())
+ ->method('pfsockopen')
+ ->will($this->returnValue($this->res));
+ }
+
+ if (!in_array('streamSetTimeout', $methods)) {
+ $this->handler->expects($this->any())
+ ->method('streamSetTimeout')
+ ->will($this->returnValue(true));
+ }
+
+ $this->handler->setFormatter($this->getIdentityFormatter());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/StreamHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/StreamHandlerTest.php
new file mode 100644
index 00000000..487030fe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/StreamHandlerTest.php
@@ -0,0 +1,184 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+class StreamHandlerTest extends TestCase
+{
+ /**
+ * @covers Monolog\Handler\StreamHandler::__construct
+ * @covers Monolog\Handler\StreamHandler::write
+ */
+ public function testWrite()
+ {
+ $handle = fopen('php://memory', 'a+');
+ $handler = new StreamHandler($handle);
+ $handler->setFormatter($this->getIdentityFormatter());
+ $handler->handle($this->getRecord(Logger::WARNING, 'test'));
+ $handler->handle($this->getRecord(Logger::WARNING, 'test2'));
+ $handler->handle($this->getRecord(Logger::WARNING, 'test3'));
+ fseek($handle, 0);
+ $this->assertEquals('testtest2test3', fread($handle, 100));
+ }
+
+ /**
+ * @covers Monolog\Handler\StreamHandler::close
+ */
+ public function testCloseKeepsExternalHandlersOpen()
+ {
+ $handle = fopen('php://memory', 'a+');
+ $handler = new StreamHandler($handle);
+ $this->assertTrue(is_resource($handle));
+ $handler->close();
+ $this->assertTrue(is_resource($handle));
+ }
+
+ /**
+ * @covers Monolog\Handler\StreamHandler::close
+ */
+ public function testClose()
+ {
+ $handler = new StreamHandler('php://memory');
+ $handler->handle($this->getRecord(Logger::WARNING, 'test'));
+ $streamProp = new \ReflectionProperty('Monolog\Handler\StreamHandler', 'stream');
+ $streamProp->setAccessible(true);
+ $handle = $streamProp->getValue($handler);
+
+ $this->assertTrue(is_resource($handle));
+ $handler->close();
+ $this->assertFalse(is_resource($handle));
+ }
+
+ /**
+ * @covers Monolog\Handler\StreamHandler::write
+ */
+ public function testWriteCreatesTheStreamResource()
+ {
+ $handler = new StreamHandler('php://memory');
+ $handler->handle($this->getRecord());
+ }
+
+ /**
+ * @covers Monolog\Handler\StreamHandler::__construct
+ * @covers Monolog\Handler\StreamHandler::write
+ */
+ public function testWriteLocking()
+ {
+ $temp = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'monolog_locked_log';
+ $handler = new StreamHandler($temp, Logger::DEBUG, true, null, true);
+ $handler->handle($this->getRecord());
+ }
+
+ /**
+ * @expectedException LogicException
+ * @covers Monolog\Handler\StreamHandler::__construct
+ * @covers Monolog\Handler\StreamHandler::write
+ */
+ public function testWriteMissingResource()
+ {
+ $handler = new StreamHandler(null);
+ $handler->handle($this->getRecord());
+ }
+
+ public function invalidArgumentProvider()
+ {
+ return array(
+ array(1),
+ array(array()),
+ array(array('bogus://url')),
+ );
+ }
+
+ /**
+ * @dataProvider invalidArgumentProvider
+ * @expectedException InvalidArgumentException
+ * @covers Monolog\Handler\StreamHandler::__construct
+ */
+ public function testWriteInvalidArgument($invalidArgument)
+ {
+ $handler = new StreamHandler($invalidArgument);
+ }
+
+ /**
+ * @expectedException UnexpectedValueException
+ * @covers Monolog\Handler\StreamHandler::__construct
+ * @covers Monolog\Handler\StreamHandler::write
+ */
+ public function testWriteInvalidResource()
+ {
+ $handler = new StreamHandler('bogus://url');
+ $handler->handle($this->getRecord());
+ }
+
+ /**
+ * @expectedException UnexpectedValueException
+ * @covers Monolog\Handler\StreamHandler::__construct
+ * @covers Monolog\Handler\StreamHandler::write
+ */
+ public function testWriteNonExistingResource()
+ {
+ $handler = new StreamHandler('ftp://foo/bar/baz/'.rand(0, 10000));
+ $handler->handle($this->getRecord());
+ }
+
+ /**
+ * @covers Monolog\Handler\StreamHandler::__construct
+ * @covers Monolog\Handler\StreamHandler::write
+ */
+ public function testWriteNonExistingPath()
+ {
+ $handler = new StreamHandler(sys_get_temp_dir().'/bar/'.rand(0, 10000).DIRECTORY_SEPARATOR.rand(0, 10000));
+ $handler->handle($this->getRecord());
+ }
+
+ /**
+ * @covers Monolog\Handler\StreamHandler::__construct
+ * @covers Monolog\Handler\StreamHandler::write
+ */
+ public function testWriteNonExistingFileResource()
+ {
+ $handler = new StreamHandler('file://'.sys_get_temp_dir().'/bar/'.rand(0, 10000).DIRECTORY_SEPARATOR.rand(0, 10000));
+ $handler->handle($this->getRecord());
+ }
+
+ /**
+ * @expectedException Exception
+ * @expectedExceptionMessageRegExp /There is no existing directory at/
+ * @covers Monolog\Handler\StreamHandler::__construct
+ * @covers Monolog\Handler\StreamHandler::write
+ */
+ public function testWriteNonExistingAndNotCreatablePath()
+ {
+ if (defined('PHP_WINDOWS_VERSION_BUILD')) {
+ $this->markTestSkipped('Permissions checks can not run on windows');
+ }
+ $handler = new StreamHandler('/foo/bar/'.rand(0, 10000).DIRECTORY_SEPARATOR.rand(0, 10000));
+ $handler->handle($this->getRecord());
+ }
+
+ /**
+ * @expectedException Exception
+ * @expectedExceptionMessageRegExp /There is no existing directory at/
+ * @covers Monolog\Handler\StreamHandler::__construct
+ * @covers Monolog\Handler\StreamHandler::write
+ */
+ public function testWriteNonExistingAndNotCreatableFileResource()
+ {
+ if (defined('PHP_WINDOWS_VERSION_BUILD')) {
+ $this->markTestSkipped('Permissions checks can not run on windows');
+ }
+ $handler = new StreamHandler('file:///foo/bar/'.rand(0, 10000).DIRECTORY_SEPARATOR.rand(0, 10000));
+ $handler->handle($this->getRecord());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SwiftMailerHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SwiftMailerHandlerTest.php
new file mode 100644
index 00000000..1d62940f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SwiftMailerHandlerTest.php
@@ -0,0 +1,113 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+use Monolog\TestCase;
+
+class SwiftMailerHandlerTest extends TestCase
+{
+ /** @var \Swift_Mailer|\PHPUnit_Framework_MockObject_MockObject */
+ private $mailer;
+
+ public function setUp()
+ {
+ $this->mailer = $this
+ ->getMockBuilder('Swift_Mailer')
+ ->disableOriginalConstructor()
+ ->getMock();
+ }
+
+ public function testMessageCreationIsLazyWhenUsingCallback()
+ {
+ $this->mailer->expects($this->never())
+ ->method('send');
+
+ $callback = function () {
+ throw new \RuntimeException('Swift_Message creation callback should not have been called in this test');
+ };
+ $handler = new SwiftMailerHandler($this->mailer, $callback);
+
+ $records = array(
+ $this->getRecord(Logger::DEBUG),
+ $this->getRecord(Logger::INFO),
+ );
+ $handler->handleBatch($records);
+ }
+
+ public function testMessageCanBeCustomizedGivenLoggedData()
+ {
+ // Wire Mailer to expect a specific Swift_Message with a customized Subject
+ $expectedMessage = new \Swift_Message();
+ $this->mailer->expects($this->once())
+ ->method('send')
+ ->with($this->callback(function ($value) use ($expectedMessage) {
+ return $value instanceof \Swift_Message
+ && $value->getSubject() === 'Emergency'
+ && $value === $expectedMessage;
+ }));
+
+ // Callback dynamically changes subject based on number of logged records
+ $callback = function ($content, array $records) use ($expectedMessage) {
+ $subject = count($records) > 0 ? 'Emergency' : 'Normal';
+ $expectedMessage->setSubject($subject);
+
+ return $expectedMessage;
+ };
+ $handler = new SwiftMailerHandler($this->mailer, $callback);
+
+ // Logging 1 record makes this an Emergency
+ $records = array(
+ $this->getRecord(Logger::EMERGENCY),
+ );
+ $handler->handleBatch($records);
+ }
+
+ public function testMessageSubjectFormatting()
+ {
+ // Wire Mailer to expect a specific Swift_Message with a customized Subject
+ $messageTemplate = new \Swift_Message();
+ $messageTemplate->setSubject('Alert: %level_name% %message%');
+ $receivedMessage = null;
+
+ $this->mailer->expects($this->once())
+ ->method('send')
+ ->with($this->callback(function ($value) use (&$receivedMessage) {
+ $receivedMessage = $value;
+ return true;
+ }));
+
+ $handler = new SwiftMailerHandler($this->mailer, $messageTemplate);
+
+ $records = array(
+ $this->getRecord(Logger::EMERGENCY),
+ );
+ $handler->handleBatch($records);
+
+ $this->assertEquals('Alert: EMERGENCY test', $receivedMessage->getSubject());
+ }
+
+ public function testMessageHaveUniqueId()
+ {
+ $messageTemplate = new \Swift_Message();
+ $handler = new SwiftMailerHandler($this->mailer, $messageTemplate);
+
+ $method = new \ReflectionMethod('Monolog\Handler\SwiftMailerHandler', 'buildMessage');
+ $method->setAccessible(true);
+ $method->invokeArgs($handler, array($messageTemplate, array()));
+
+ $builtMessage1 = $method->invoke($handler, $messageTemplate, array());
+ $builtMessage2 = $method->invoke($handler, $messageTemplate, array());
+
+ $this->assertFalse($builtMessage1->getId() === $builtMessage2->getId(), 'Two different messages have the same id');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SyslogHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SyslogHandlerTest.php
new file mode 100644
index 00000000..8f9e46bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SyslogHandlerTest.php
@@ -0,0 +1,44 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\Logger;
+
+class SyslogHandlerTest extends \PHPUnit_Framework_TestCase
+{
+ /**
+ * @covers Monolog\Handler\SyslogHandler::__construct
+ */
+ public function testConstruct()
+ {
+ $handler = new SyslogHandler('test');
+ $this->assertInstanceOf('Monolog\Handler\SyslogHandler', $handler);
+
+ $handler = new SyslogHandler('test', LOG_USER);
+ $this->assertInstanceOf('Monolog\Handler\SyslogHandler', $handler);
+
+ $handler = new SyslogHandler('test', 'user');
+ $this->assertInstanceOf('Monolog\Handler\SyslogHandler', $handler);
+
+ $handler = new SyslogHandler('test', LOG_USER, Logger::DEBUG, true, LOG_PERROR);
+ $this->assertInstanceOf('Monolog\Handler\SyslogHandler', $handler);
+ }
+
+ /**
+ * @covers Monolog\Handler\SyslogHandler::__construct
+ */
+ public function testConstructInvalidFacility()
+ {
+ $this->setExpectedException('UnexpectedValueException');
+ $handler = new SyslogHandler('test', 'unknown');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SyslogUdpHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SyslogUdpHandlerTest.php
new file mode 100644
index 00000000..7ee8a985
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SyslogUdpHandlerTest.php
@@ -0,0 +1,76 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+
+/**
+ * @requires extension sockets
+ */
+class SyslogUdpHandlerTest extends TestCase
+{
+ /**
+ * @expectedException UnexpectedValueException
+ */
+ public function testWeValidateFacilities()
+ {
+ $handler = new SyslogUdpHandler("ip", null, "invalidFacility");
+ }
+
+ public function testWeSplitIntoLines()
+ {
+ $time = '2014-01-07T12:34';
+ $pid = getmypid();
+ $host = gethostname();
+
+ $handler = $this->getMockBuilder('\Monolog\Handler\SyslogUdpHandler')
+ ->setConstructorArgs(array("127.0.0.1", 514, "authpriv"))
+ ->setMethods(array('getDateTime'))
+ ->getMock();
+
+ $handler->method('getDateTime')
+ ->willReturn($time);
+
+ $handler->setFormatter(new \Monolog\Formatter\ChromePHPFormatter());
+
+ $socket = $this->getMock('\Monolog\Handler\SyslogUdp\UdpSocket', array('write'), array('lol', 'lol'));
+ $socket->expects($this->at(0))
+ ->method('write')
+ ->with("lol", "<".(LOG_AUTHPRIV + LOG_WARNING).">1 $time $host php $pid - - ");
+ $socket->expects($this->at(1))
+ ->method('write')
+ ->with("hej", "<".(LOG_AUTHPRIV + LOG_WARNING).">1 $time $host php $pid - - ");
+
+ $handler->setSocket($socket);
+
+ $handler->handle($this->getRecordWithMessage("hej\nlol"));
+ }
+
+ public function testSplitWorksOnEmptyMsg()
+ {
+ $handler = new SyslogUdpHandler("127.0.0.1", 514, "authpriv");
+ $handler->setFormatter($this->getIdentityFormatter());
+
+ $socket = $this->getMock('\Monolog\Handler\SyslogUdp\UdpSocket', array('write'), array('lol', 'lol'));
+ $socket->expects($this->never())
+ ->method('write');
+
+ $handler->setSocket($socket);
+
+ $handler->handle($this->getRecordWithMessage(null));
+ }
+
+ protected function getRecordWithMessage($msg)
+ {
+ return array('message' => $msg, 'level' => \Monolog\Logger::WARNING, 'context' => null, 'extra' => array(), 'channel' => 'lol');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/TestHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/TestHandlerTest.php
new file mode 100644
index 00000000..bfb8d3df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/TestHandlerTest.php
@@ -0,0 +1,70 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+/**
+ * @covers Monolog\Handler\TestHandler
+ */
+class TestHandlerTest extends TestCase
+{
+ /**
+ * @dataProvider methodProvider
+ */
+ public function testHandler($method, $level)
+ {
+ $handler = new TestHandler;
+ $record = $this->getRecord($level, 'test'.$method);
+ $this->assertFalse($handler->hasRecords($level));
+ $this->assertFalse($handler->hasRecord($record, $level));
+ $this->assertFalse($handler->{'has'.$method}($record), 'has'.$method);
+ $this->assertFalse($handler->{'has'.$method.'ThatContains'}('test'), 'has'.$method.'ThatContains');
+ $this->assertFalse($handler->{'has'.$method.'ThatPasses'}(function ($rec) {
+ return true;
+ }), 'has'.$method.'ThatPasses');
+ $this->assertFalse($handler->{'has'.$method.'ThatMatches'}('/test\w+/'));
+ $this->assertFalse($handler->{'has'.$method.'Records'}(), 'has'.$method.'Records');
+ $handler->handle($record);
+
+ $this->assertFalse($handler->{'has'.$method}('bar'), 'has'.$method);
+ $this->assertTrue($handler->hasRecords($level));
+ $this->assertTrue($handler->hasRecord($record, $level));
+ $this->assertTrue($handler->{'has'.$method}($record), 'has'.$method);
+ $this->assertTrue($handler->{'has'.$method}('test'.$method), 'has'.$method);
+ $this->assertTrue($handler->{'has'.$method.'ThatContains'}('test'), 'has'.$method.'ThatContains');
+ $this->assertTrue($handler->{'has'.$method.'ThatPasses'}(function ($rec) {
+ return true;
+ }), 'has'.$method.'ThatPasses');
+ $this->assertTrue($handler->{'has'.$method.'ThatMatches'}('/test\w+/'));
+ $this->assertTrue($handler->{'has'.$method.'Records'}(), 'has'.$method.'Records');
+
+ $records = $handler->getRecords();
+ unset($records[0]['formatted']);
+ $this->assertEquals(array($record), $records);
+ }
+
+ public function methodProvider()
+ {
+ return array(
+ array('Emergency', Logger::EMERGENCY),
+ array('Alert' , Logger::ALERT),
+ array('Critical' , Logger::CRITICAL),
+ array('Error' , Logger::ERROR),
+ array('Warning' , Logger::WARNING),
+ array('Info' , Logger::INFO),
+ array('Notice' , Logger::NOTICE),
+ array('Debug' , Logger::DEBUG),
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/UdpSocketTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/UdpSocketTest.php
new file mode 100644
index 00000000..fa524d00
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/UdpSocketTest.php
@@ -0,0 +1,64 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Handler\SyslogUdp\UdpSocket;
+
+/**
+ * @requires extension sockets
+ */
+class UdpSocketTest extends TestCase
+{
+ public function testWeDoNotTruncateShortMessages()
+ {
+ $socket = $this->getMock('\Monolog\Handler\SyslogUdp\UdpSocket', array('send'), array('lol', 'lol'));
+
+ $socket->expects($this->at(0))
+ ->method('send')
+ ->with("HEADER: The quick brown fox jumps over the lazy dog");
+
+ $socket->write("The quick brown fox jumps over the lazy dog", "HEADER: ");
+ }
+
+ public function testLongMessagesAreTruncated()
+ {
+ $socket = $this->getMock('\Monolog\Handler\SyslogUdp\UdpSocket', array('send'), array('lol', 'lol'));
+
+ $truncatedString = str_repeat("derp", 16254).'d';
+
+ $socket->expects($this->exactly(1))
+ ->method('send')
+ ->with("HEADER" . $truncatedString);
+
+ $longString = str_repeat("derp", 20000);
+
+ $socket->write($longString, "HEADER");
+ }
+
+ public function testDoubleCloseDoesNotError()
+ {
+ $socket = new UdpSocket('127.0.0.1', 514);
+ $socket->close();
+ $socket->close();
+ }
+
+ /**
+ * @expectedException LogicException
+ */
+ public function testWriteAfterCloseErrors()
+ {
+ $socket = new UdpSocket('127.0.0.1', 514);
+ $socket->close();
+ $socket->write('foo', "HEADER");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/WhatFailureGroupHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/WhatFailureGroupHandlerTest.php
new file mode 100644
index 00000000..8d37a1fc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/WhatFailureGroupHandlerTest.php
@@ -0,0 +1,121 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+use Monolog\Logger;
+
+class WhatFailureGroupHandlerTest extends TestCase
+{
+ /**
+ * @covers Monolog\Handler\WhatFailureGroupHandler::__construct
+ * @expectedException InvalidArgumentException
+ */
+ public function testConstructorOnlyTakesHandler()
+ {
+ new WhatFailureGroupHandler(array(new TestHandler(), "foo"));
+ }
+
+ /**
+ * @covers Monolog\Handler\WhatFailureGroupHandler::__construct
+ * @covers Monolog\Handler\WhatFailureGroupHandler::handle
+ */
+ public function testHandle()
+ {
+ $testHandlers = array(new TestHandler(), new TestHandler());
+ $handler = new WhatFailureGroupHandler($testHandlers);
+ $handler->handle($this->getRecord(Logger::DEBUG));
+ $handler->handle($this->getRecord(Logger::INFO));
+ foreach ($testHandlers as $test) {
+ $this->assertTrue($test->hasDebugRecords());
+ $this->assertTrue($test->hasInfoRecords());
+ $this->assertTrue(count($test->getRecords()) === 2);
+ }
+ }
+
+ /**
+ * @covers Monolog\Handler\WhatFailureGroupHandler::handleBatch
+ */
+ public function testHandleBatch()
+ {
+ $testHandlers = array(new TestHandler(), new TestHandler());
+ $handler = new WhatFailureGroupHandler($testHandlers);
+ $handler->handleBatch(array($this->getRecord(Logger::DEBUG), $this->getRecord(Logger::INFO)));
+ foreach ($testHandlers as $test) {
+ $this->assertTrue($test->hasDebugRecords());
+ $this->assertTrue($test->hasInfoRecords());
+ $this->assertTrue(count($test->getRecords()) === 2);
+ }
+ }
+
+ /**
+ * @covers Monolog\Handler\WhatFailureGroupHandler::isHandling
+ */
+ public function testIsHandling()
+ {
+ $testHandlers = array(new TestHandler(Logger::ERROR), new TestHandler(Logger::WARNING));
+ $handler = new WhatFailureGroupHandler($testHandlers);
+ $this->assertTrue($handler->isHandling($this->getRecord(Logger::ERROR)));
+ $this->assertTrue($handler->isHandling($this->getRecord(Logger::WARNING)));
+ $this->assertFalse($handler->isHandling($this->getRecord(Logger::DEBUG)));
+ }
+
+ /**
+ * @covers Monolog\Handler\WhatFailureGroupHandler::handle
+ */
+ public function testHandleUsesProcessors()
+ {
+ $test = new TestHandler();
+ $handler = new WhatFailureGroupHandler(array($test));
+ $handler->pushProcessor(function ($record) {
+ $record['extra']['foo'] = true;
+
+ return $record;
+ });
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $this->assertTrue($test->hasWarningRecords());
+ $records = $test->getRecords();
+ $this->assertTrue($records[0]['extra']['foo']);
+ }
+
+ /**
+ * @covers Monolog\Handler\WhatFailureGroupHandler::handle
+ */
+ public function testHandleException()
+ {
+ $test = new TestHandler();
+ $exception = new ExceptionTestHandler();
+ $handler = new WhatFailureGroupHandler(array($exception, $test, $exception));
+ $handler->pushProcessor(function ($record) {
+ $record['extra']['foo'] = true;
+
+ return $record;
+ });
+ $handler->handle($this->getRecord(Logger::WARNING));
+ $this->assertTrue($test->hasWarningRecords());
+ $records = $test->getRecords();
+ $this->assertTrue($records[0]['extra']['foo']);
+ }
+}
+
+class ExceptionTestHandler extends TestHandler
+{
+ /**
+ * {@inheritdoc}
+ */
+ public function handle(array $record)
+ {
+ parent::handle($record);
+
+ throw new \Exception("ExceptionTestHandler::handle");
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ZendMonitorHandlerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ZendMonitorHandlerTest.php
new file mode 100644
index 00000000..69b001ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ZendMonitorHandlerTest.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Handler;
+
+use Monolog\TestCase;
+
+class ZendMonitorHandlerTest extends TestCase
+{
+ protected $zendMonitorHandler;
+
+ public function setUp()
+ {
+ if (!function_exists('zend_monitor_custom_event')) {
+ $this->markTestSkipped('ZendServer is not installed');
+ }
+ }
+
+ /**
+ * @covers Monolog\Handler\ZendMonitorHandler::write
+ */
+ public function testWrite()
+ {
+ $record = $this->getRecord();
+ $formatterResult = array(
+ 'message' => $record['message'],
+ );
+
+ $zendMonitor = $this->getMockBuilder('Monolog\Handler\ZendMonitorHandler')
+ ->setMethods(array('writeZendMonitorCustomEvent', 'getDefaultFormatter'))
+ ->getMock();
+
+ $formatterMock = $this->getMockBuilder('Monolog\Formatter\NormalizerFormatter')
+ ->disableOriginalConstructor()
+ ->getMock();
+
+ $formatterMock->expects($this->once())
+ ->method('format')
+ ->will($this->returnValue($formatterResult));
+
+ $zendMonitor->expects($this->once())
+ ->method('getDefaultFormatter')
+ ->will($this->returnValue($formatterMock));
+
+ $levelMap = $zendMonitor->getLevelMap();
+
+ $zendMonitor->expects($this->once())
+ ->method('writeZendMonitorCustomEvent')
+ ->with($levelMap[$record['level']], $record['message'], $formatterResult);
+
+ $zendMonitor->handle($record);
+ }
+
+ /**
+ * @covers Monolog\Handler\ZendMonitorHandler::getDefaultFormatter
+ */
+ public function testGetDefaultFormatterReturnsNormalizerFormatter()
+ {
+ $zendMonitor = new ZendMonitorHandler();
+ $this->assertInstanceOf('Monolog\Formatter\NormalizerFormatter', $zendMonitor->getDefaultFormatter());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/LoggerTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/LoggerTest.php
new file mode 100644
index 00000000..1ecc34a0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/LoggerTest.php
@@ -0,0 +1,548 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog;
+
+use Monolog\Processor\WebProcessor;
+use Monolog\Handler\TestHandler;
+
+class LoggerTest extends \PHPUnit_Framework_TestCase
+{
+ /**
+ * @covers Monolog\Logger::getName
+ */
+ public function testGetName()
+ {
+ $logger = new Logger('foo');
+ $this->assertEquals('foo', $logger->getName());
+ }
+
+ /**
+ * @covers Monolog\Logger::getLevelName
+ */
+ public function testGetLevelName()
+ {
+ $this->assertEquals('ERROR', Logger::getLevelName(Logger::ERROR));
+ }
+
+ /**
+ * @covers Monolog\Logger::withName
+ */
+ public function testWithName()
+ {
+ $first = new Logger('first', array($handler = new TestHandler()));
+ $second = $first->withName('second');
+
+ $this->assertSame('first', $first->getName());
+ $this->assertSame('second', $second->getName());
+ $this->assertSame($handler, $second->popHandler());
+ }
+
+ /**
+ * @covers Monolog\Logger::toMonologLevel
+ */
+ public function testConvertPSR3ToMonologLevel()
+ {
+ $this->assertEquals(Logger::toMonologLevel('debug'), 100);
+ $this->assertEquals(Logger::toMonologLevel('info'), 200);
+ $this->assertEquals(Logger::toMonologLevel('notice'), 250);
+ $this->assertEquals(Logger::toMonologLevel('warning'), 300);
+ $this->assertEquals(Logger::toMonologLevel('error'), 400);
+ $this->assertEquals(Logger::toMonologLevel('critical'), 500);
+ $this->assertEquals(Logger::toMonologLevel('alert'), 550);
+ $this->assertEquals(Logger::toMonologLevel('emergency'), 600);
+ }
+
+ /**
+ * @covers Monolog\Logger::getLevelName
+ * @expectedException InvalidArgumentException
+ */
+ public function testGetLevelNameThrows()
+ {
+ Logger::getLevelName(5);
+ }
+
+ /**
+ * @covers Monolog\Logger::__construct
+ */
+ public function testChannel()
+ {
+ $logger = new Logger('foo');
+ $handler = new TestHandler;
+ $logger->pushHandler($handler);
+ $logger->addWarning('test');
+ list($record) = $handler->getRecords();
+ $this->assertEquals('foo', $record['channel']);
+ }
+
+ /**
+ * @covers Monolog\Logger::addRecord
+ */
+ public function testLog()
+ {
+ $logger = new Logger(__METHOD__);
+
+ $handler = $this->getMock('Monolog\Handler\NullHandler', array('handle'));
+ $handler->expects($this->once())
+ ->method('handle');
+ $logger->pushHandler($handler);
+
+ $this->assertTrue($logger->addWarning('test'));
+ }
+
+ /**
+ * @covers Monolog\Logger::addRecord
+ */
+ public function testLogNotHandled()
+ {
+ $logger = new Logger(__METHOD__);
+
+ $handler = $this->getMock('Monolog\Handler\NullHandler', array('handle'), array(Logger::ERROR));
+ $handler->expects($this->never())
+ ->method('handle');
+ $logger->pushHandler($handler);
+
+ $this->assertFalse($logger->addWarning('test'));
+ }
+
+ public function testHandlersInCtor()
+ {
+ $handler1 = new TestHandler;
+ $handler2 = new TestHandler;
+ $logger = new Logger(__METHOD__, array($handler1, $handler2));
+
+ $this->assertEquals($handler1, $logger->popHandler());
+ $this->assertEquals($handler2, $logger->popHandler());
+ }
+
+ public function testProcessorsInCtor()
+ {
+ $processor1 = new WebProcessor;
+ $processor2 = new WebProcessor;
+ $logger = new Logger(__METHOD__, array(), array($processor1, $processor2));
+
+ $this->assertEquals($processor1, $logger->popProcessor());
+ $this->assertEquals($processor2, $logger->popProcessor());
+ }
+
+ /**
+ * @covers Monolog\Logger::pushHandler
+ * @covers Monolog\Logger::popHandler
+ * @expectedException LogicException
+ */
+ public function testPushPopHandler()
+ {
+ $logger = new Logger(__METHOD__);
+ $handler1 = new TestHandler;
+ $handler2 = new TestHandler;
+
+ $logger->pushHandler($handler1);
+ $logger->pushHandler($handler2);
+
+ $this->assertEquals($handler2, $logger->popHandler());
+ $this->assertEquals($handler1, $logger->popHandler());
+ $logger->popHandler();
+ }
+
+ /**
+ * @covers Monolog\Logger::setHandlers
+ */
+ public function testSetHandlers()
+ {
+ $logger = new Logger(__METHOD__);
+ $handler1 = new TestHandler;
+ $handler2 = new TestHandler;
+
+ $logger->pushHandler($handler1);
+ $logger->setHandlers(array($handler2));
+
+ // handler1 has been removed
+ $this->assertEquals(array($handler2), $logger->getHandlers());
+
+ $logger->setHandlers(array(
+ "AMapKey" => $handler1,
+ "Woop" => $handler2,
+ ));
+
+ // Keys have been scrubbed
+ $this->assertEquals(array($handler1, $handler2), $logger->getHandlers());
+ }
+
+ /**
+ * @covers Monolog\Logger::pushProcessor
+ * @covers Monolog\Logger::popProcessor
+ * @expectedException LogicException
+ */
+ public function testPushPopProcessor()
+ {
+ $logger = new Logger(__METHOD__);
+ $processor1 = new WebProcessor;
+ $processor2 = new WebProcessor;
+
+ $logger->pushProcessor($processor1);
+ $logger->pushProcessor($processor2);
+
+ $this->assertEquals($processor2, $logger->popProcessor());
+ $this->assertEquals($processor1, $logger->popProcessor());
+ $logger->popProcessor();
+ }
+
+ /**
+ * @covers Monolog\Logger::pushProcessor
+ * @expectedException InvalidArgumentException
+ */
+ public function testPushProcessorWithNonCallable()
+ {
+ $logger = new Logger(__METHOD__);
+
+ $logger->pushProcessor(new \stdClass());
+ }
+
+ /**
+ * @covers Monolog\Logger::addRecord
+ */
+ public function testProcessorsAreExecuted()
+ {
+ $logger = new Logger(__METHOD__);
+ $handler = new TestHandler;
+ $logger->pushHandler($handler);
+ $logger->pushProcessor(function ($record) {
+ $record['extra']['win'] = true;
+
+ return $record;
+ });
+ $logger->addError('test');
+ list($record) = $handler->getRecords();
+ $this->assertTrue($record['extra']['win']);
+ }
+
+ /**
+ * @covers Monolog\Logger::addRecord
+ */
+ public function testProcessorsAreCalledOnlyOnce()
+ {
+ $logger = new Logger(__METHOD__);
+ $handler = $this->getMock('Monolog\Handler\HandlerInterface');
+ $handler->expects($this->any())
+ ->method('isHandling')
+ ->will($this->returnValue(true))
+ ;
+ $handler->expects($this->any())
+ ->method('handle')
+ ->will($this->returnValue(true))
+ ;
+ $logger->pushHandler($handler);
+
+ $processor = $this->getMockBuilder('Monolog\Processor\WebProcessor')
+ ->disableOriginalConstructor()
+ ->setMethods(array('__invoke'))
+ ->getMock()
+ ;
+ $processor->expects($this->once())
+ ->method('__invoke')
+ ->will($this->returnArgument(0))
+ ;
+ $logger->pushProcessor($processor);
+
+ $logger->addError('test');
+ }
+
+ /**
+ * @covers Monolog\Logger::addRecord
+ */
+ public function testProcessorsNotCalledWhenNotHandled()
+ {
+ $logger = new Logger(__METHOD__);
+ $handler = $this->getMock('Monolog\Handler\HandlerInterface');
+ $handler->expects($this->once())
+ ->method('isHandling')
+ ->will($this->returnValue(false))
+ ;
+ $logger->pushHandler($handler);
+ $that = $this;
+ $logger->pushProcessor(function ($record) use ($that) {
+ $that->fail('The processor should not be called');
+ });
+ $logger->addAlert('test');
+ }
+
+ /**
+ * @covers Monolog\Logger::addRecord
+ */
+ public function testHandlersNotCalledBeforeFirstHandling()
+ {
+ $logger = new Logger(__METHOD__);
+
+ $handler1 = $this->getMock('Monolog\Handler\HandlerInterface');
+ $handler1->expects($this->never())
+ ->method('isHandling')
+ ->will($this->returnValue(false))
+ ;
+ $handler1->expects($this->once())
+ ->method('handle')
+ ->will($this->returnValue(false))
+ ;
+ $logger->pushHandler($handler1);
+
+ $handler2 = $this->getMock('Monolog\Handler\HandlerInterface');
+ $handler2->expects($this->once())
+ ->method('isHandling')
+ ->will($this->returnValue(true))
+ ;
+ $handler2->expects($this->once())
+ ->method('handle')
+ ->will($this->returnValue(false))
+ ;
+ $logger->pushHandler($handler2);
+
+ $handler3 = $this->getMock('Monolog\Handler\HandlerInterface');
+ $handler3->expects($this->once())
+ ->method('isHandling')
+ ->will($this->returnValue(false))
+ ;
+ $handler3->expects($this->never())
+ ->method('handle')
+ ;
+ $logger->pushHandler($handler3);
+
+ $logger->debug('test');
+ }
+
+ /**
+ * @covers Monolog\Logger::addRecord
+ */
+ public function testHandlersNotCalledBeforeFirstHandlingWithAssocArray()
+ {
+ $handler1 = $this->getMock('Monolog\Handler\HandlerInterface');
+ $handler1->expects($this->never())
+ ->method('isHandling')
+ ->will($this->returnValue(false))
+ ;
+ $handler1->expects($this->once())
+ ->method('handle')
+ ->will($this->returnValue(false))
+ ;
+
+ $handler2 = $this->getMock('Monolog\Handler\HandlerInterface');
+ $handler2->expects($this->once())
+ ->method('isHandling')
+ ->will($this->returnValue(true))
+ ;
+ $handler2->expects($this->once())
+ ->method('handle')
+ ->will($this->returnValue(false))
+ ;
+
+ $handler3 = $this->getMock('Monolog\Handler\HandlerInterface');
+ $handler3->expects($this->once())
+ ->method('isHandling')
+ ->will($this->returnValue(false))
+ ;
+ $handler3->expects($this->never())
+ ->method('handle')
+ ;
+
+ $logger = new Logger(__METHOD__, array('last' => $handler3, 'second' => $handler2, 'first' => $handler1));
+
+ $logger->debug('test');
+ }
+
+ /**
+ * @covers Monolog\Logger::addRecord
+ */
+ public function testBubblingWhenTheHandlerReturnsFalse()
+ {
+ $logger = new Logger(__METHOD__);
+
+ $handler1 = $this->getMock('Monolog\Handler\HandlerInterface');
+ $handler1->expects($this->any())
+ ->method('isHandling')
+ ->will($this->returnValue(true))
+ ;
+ $handler1->expects($this->once())
+ ->method('handle')
+ ->will($this->returnValue(false))
+ ;
+ $logger->pushHandler($handler1);
+
+ $handler2 = $this->getMock('Monolog\Handler\HandlerInterface');
+ $handler2->expects($this->any())
+ ->method('isHandling')
+ ->will($this->returnValue(true))
+ ;
+ $handler2->expects($this->once())
+ ->method('handle')
+ ->will($this->returnValue(false))
+ ;
+ $logger->pushHandler($handler2);
+
+ $logger->debug('test');
+ }
+
+ /**
+ * @covers Monolog\Logger::addRecord
+ */
+ public function testNotBubblingWhenTheHandlerReturnsTrue()
+ {
+ $logger = new Logger(__METHOD__);
+
+ $handler1 = $this->getMock('Monolog\Handler\HandlerInterface');
+ $handler1->expects($this->any())
+ ->method('isHandling')
+ ->will($this->returnValue(true))
+ ;
+ $handler1->expects($this->never())
+ ->method('handle')
+ ;
+ $logger->pushHandler($handler1);
+
+ $handler2 = $this->getMock('Monolog\Handler\HandlerInterface');
+ $handler2->expects($this->any())
+ ->method('isHandling')
+ ->will($this->returnValue(true))
+ ;
+ $handler2->expects($this->once())
+ ->method('handle')
+ ->will($this->returnValue(true))
+ ;
+ $logger->pushHandler($handler2);
+
+ $logger->debug('test');
+ }
+
+ /**
+ * @covers Monolog\Logger::isHandling
+ */
+ public function testIsHandling()
+ {
+ $logger = new Logger(__METHOD__);
+
+ $handler1 = $this->getMock('Monolog\Handler\HandlerInterface');
+ $handler1->expects($this->any())
+ ->method('isHandling')
+ ->will($this->returnValue(false))
+ ;
+
+ $logger->pushHandler($handler1);
+ $this->assertFalse($logger->isHandling(Logger::DEBUG));
+
+ $handler2 = $this->getMock('Monolog\Handler\HandlerInterface');
+ $handler2->expects($this->any())
+ ->method('isHandling')
+ ->will($this->returnValue(true))
+ ;
+
+ $logger->pushHandler($handler2);
+ $this->assertTrue($logger->isHandling(Logger::DEBUG));
+ }
+
+ /**
+ * @dataProvider logMethodProvider
+ * @covers Monolog\Logger::addDebug
+ * @covers Monolog\Logger::addInfo
+ * @covers Monolog\Logger::addNotice
+ * @covers Monolog\Logger::addWarning
+ * @covers Monolog\Logger::addError
+ * @covers Monolog\Logger::addCritical
+ * @covers Monolog\Logger::addAlert
+ * @covers Monolog\Logger::addEmergency
+ * @covers Monolog\Logger::debug
+ * @covers Monolog\Logger::info
+ * @covers Monolog\Logger::notice
+ * @covers Monolog\Logger::warn
+ * @covers Monolog\Logger::err
+ * @covers Monolog\Logger::crit
+ * @covers Monolog\Logger::alert
+ * @covers Monolog\Logger::emerg
+ */
+ public function testLogMethods($method, $expectedLevel)
+ {
+ $logger = new Logger('foo');
+ $handler = new TestHandler;
+ $logger->pushHandler($handler);
+ $logger->{$method}('test');
+ list($record) = $handler->getRecords();
+ $this->assertEquals($expectedLevel, $record['level']);
+ }
+
+ public function logMethodProvider()
+ {
+ return array(
+ // monolog methods
+ array('addDebug', Logger::DEBUG),
+ array('addInfo', Logger::INFO),
+ array('addNotice', Logger::NOTICE),
+ array('addWarning', Logger::WARNING),
+ array('addError', Logger::ERROR),
+ array('addCritical', Logger::CRITICAL),
+ array('addAlert', Logger::ALERT),
+ array('addEmergency', Logger::EMERGENCY),
+
+ // ZF/Sf2 compat methods
+ array('debug', Logger::DEBUG),
+ array('info', Logger::INFO),
+ array('notice', Logger::NOTICE),
+ array('warn', Logger::WARNING),
+ array('err', Logger::ERROR),
+ array('crit', Logger::CRITICAL),
+ array('alert', Logger::ALERT),
+ array('emerg', Logger::EMERGENCY),
+ );
+ }
+
+ /**
+ * @dataProvider setTimezoneProvider
+ * @covers Monolog\Logger::setTimezone
+ */
+ public function testSetTimezone($tz)
+ {
+ Logger::setTimezone($tz);
+ $logger = new Logger('foo');
+ $handler = new TestHandler;
+ $logger->pushHandler($handler);
+ $logger->info('test');
+ list($record) = $handler->getRecords();
+ $this->assertEquals($tz, $record['datetime']->getTimezone());
+ }
+
+ public function setTimezoneProvider()
+ {
+ return array_map(
+ function ($tz) { return array(new \DateTimeZone($tz)); },
+ \DateTimeZone::listIdentifiers()
+ );
+ }
+
+ /**
+ * @dataProvider useMicrosecondTimestampsProvider
+ * @covers Monolog\Logger::useMicrosecondTimestamps
+ * @covers Monolog\Logger::addRecord
+ */
+ public function testUseMicrosecondTimestamps($micro, $assert)
+ {
+ $logger = new Logger('foo');
+ $logger->useMicrosecondTimestamps($micro);
+ $handler = new TestHandler;
+ $logger->pushHandler($handler);
+ $logger->info('test');
+ list($record) = $handler->getRecords();
+ $this->{$assert}('000000', $record['datetime']->format('u'));
+ }
+
+ public function useMicrosecondTimestampsProvider()
+ {
+ return array(
+ // this has a very small chance of a false negative (1/10^6)
+ 'with microseconds' => array(true, 'assertNotSame'),
+ 'without microseconds' => array(false, PHP_VERSION_ID >= 70100 ? 'assertNotSame' : 'assertSame'),
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/GitProcessorTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/GitProcessorTest.php
new file mode 100644
index 00000000..5adb505d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/GitProcessorTest.php
@@ -0,0 +1,29 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+use Monolog\TestCase;
+
+class GitProcessorTest extends TestCase
+{
+ /**
+ * @covers Monolog\Processor\GitProcessor::__invoke
+ */
+ public function testProcessor()
+ {
+ $processor = new GitProcessor();
+ $record = $processor($this->getRecord());
+
+ $this->assertArrayHasKey('git', $record['extra']);
+ $this->assertTrue(!is_array($record['extra']['git']['branch']));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/IntrospectionProcessorTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/IntrospectionProcessorTest.php
new file mode 100644
index 00000000..0dd411d7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/IntrospectionProcessorTest.php
@@ -0,0 +1,123 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Acme;
+
+class Tester
+{
+ public function test($handler, $record)
+ {
+ $handler->handle($record);
+ }
+}
+
+function tester($handler, $record)
+{
+ $handler->handle($record);
+}
+
+namespace Monolog\Processor;
+
+use Monolog\Logger;
+use Monolog\TestCase;
+use Monolog\Handler\TestHandler;
+
+class IntrospectionProcessorTest extends TestCase
+{
+ public function getHandler()
+ {
+ $processor = new IntrospectionProcessor();
+ $handler = new TestHandler();
+ $handler->pushProcessor($processor);
+
+ return $handler;
+ }
+
+ public function testProcessorFromClass()
+ {
+ $handler = $this->getHandler();
+ $tester = new \Acme\Tester;
+ $tester->test($handler, $this->getRecord());
+ list($record) = $handler->getRecords();
+ $this->assertEquals(__FILE__, $record['extra']['file']);
+ $this->assertEquals(18, $record['extra']['line']);
+ $this->assertEquals('Acme\Tester', $record['extra']['class']);
+ $this->assertEquals('test', $record['extra']['function']);
+ }
+
+ public function testProcessorFromFunc()
+ {
+ $handler = $this->getHandler();
+ \Acme\tester($handler, $this->getRecord());
+ list($record) = $handler->getRecords();
+ $this->assertEquals(__FILE__, $record['extra']['file']);
+ $this->assertEquals(24, $record['extra']['line']);
+ $this->assertEquals(null, $record['extra']['class']);
+ $this->assertEquals('Acme\tester', $record['extra']['function']);
+ }
+
+ public function testLevelTooLow()
+ {
+ $input = array(
+ 'level' => Logger::DEBUG,
+ 'extra' => array(),
+ );
+
+ $expected = $input;
+
+ $processor = new IntrospectionProcessor(Logger::CRITICAL);
+ $actual = $processor($input);
+
+ $this->assertEquals($expected, $actual);
+ }
+
+ public function testLevelEqual()
+ {
+ $input = array(
+ 'level' => Logger::CRITICAL,
+ 'extra' => array(),
+ );
+
+ $expected = $input;
+ $expected['extra'] = array(
+ 'file' => null,
+ 'line' => null,
+ 'class' => 'ReflectionMethod',
+ 'function' => 'invokeArgs',
+ );
+
+ $processor = new IntrospectionProcessor(Logger::CRITICAL);
+ $actual = $processor($input);
+
+ $this->assertEquals($expected, $actual);
+ }
+
+ public function testLevelHigher()
+ {
+ $input = array(
+ 'level' => Logger::EMERGENCY,
+ 'extra' => array(),
+ );
+
+ $expected = $input;
+ $expected['extra'] = array(
+ 'file' => null,
+ 'line' => null,
+ 'class' => 'ReflectionMethod',
+ 'function' => 'invokeArgs',
+ );
+
+ $processor = new IntrospectionProcessor(Logger::CRITICAL);
+ $actual = $processor($input);
+
+ $this->assertEquals($expected, $actual);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MemoryPeakUsageProcessorTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MemoryPeakUsageProcessorTest.php
new file mode 100644
index 00000000..eb666144
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MemoryPeakUsageProcessorTest.php
@@ -0,0 +1,42 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+use Monolog\TestCase;
+
+class MemoryPeakUsageProcessorTest extends TestCase
+{
+ /**
+ * @covers Monolog\Processor\MemoryPeakUsageProcessor::__invoke
+ * @covers Monolog\Processor\MemoryProcessor::formatBytes
+ */
+ public function testProcessor()
+ {
+ $processor = new MemoryPeakUsageProcessor();
+ $record = $processor($this->getRecord());
+ $this->assertArrayHasKey('memory_peak_usage', $record['extra']);
+ $this->assertRegExp('#[0-9.]+ (M|K)?B$#', $record['extra']['memory_peak_usage']);
+ }
+
+ /**
+ * @covers Monolog\Processor\MemoryPeakUsageProcessor::__invoke
+ * @covers Monolog\Processor\MemoryProcessor::formatBytes
+ */
+ public function testProcessorWithoutFormatting()
+ {
+ $processor = new MemoryPeakUsageProcessor(true, false);
+ $record = $processor($this->getRecord());
+ $this->assertArrayHasKey('memory_peak_usage', $record['extra']);
+ $this->assertInternalType('int', $record['extra']['memory_peak_usage']);
+ $this->assertGreaterThan(0, $record['extra']['memory_peak_usage']);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MemoryUsageProcessorTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MemoryUsageProcessorTest.php
new file mode 100644
index 00000000..4692dbfc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MemoryUsageProcessorTest.php
@@ -0,0 +1,42 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+use Monolog\TestCase;
+
+class MemoryUsageProcessorTest extends TestCase
+{
+ /**
+ * @covers Monolog\Processor\MemoryUsageProcessor::__invoke
+ * @covers Monolog\Processor\MemoryProcessor::formatBytes
+ */
+ public function testProcessor()
+ {
+ $processor = new MemoryUsageProcessor();
+ $record = $processor($this->getRecord());
+ $this->assertArrayHasKey('memory_usage', $record['extra']);
+ $this->assertRegExp('#[0-9.]+ (M|K)?B$#', $record['extra']['memory_usage']);
+ }
+
+ /**
+ * @covers Monolog\Processor\MemoryUsageProcessor::__invoke
+ * @covers Monolog\Processor\MemoryProcessor::formatBytes
+ */
+ public function testProcessorWithoutFormatting()
+ {
+ $processor = new MemoryUsageProcessor(true, false);
+ $record = $processor($this->getRecord());
+ $this->assertArrayHasKey('memory_usage', $record['extra']);
+ $this->assertInternalType('int', $record['extra']['memory_usage']);
+ $this->assertGreaterThan(0, $record['extra']['memory_usage']);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MercurialProcessorTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MercurialProcessorTest.php
new file mode 100644
index 00000000..11f2b35a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MercurialProcessorTest.php
@@ -0,0 +1,41 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jonathan A. Schweder <jonathanschweder@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+use Monolog\TestCase;
+
+class MercurialProcessorTest extends TestCase
+{
+ /**
+ * @covers Monolog\Processor\MercurialProcessor::__invoke
+ */
+ public function testProcessor()
+ {
+ if (defined('PHP_WINDOWS_VERSION_BUILD')) {
+ exec("where hg 2>NUL", $output, $result);
+ } else {
+ exec("which hg 2>/dev/null >/dev/null", $output, $result);
+ }
+ if ($result != 0) {
+ $this->markTestSkipped('hg is missing');
+ return;
+ }
+
+ `hg init`;
+ $processor = new MercurialProcessor();
+ $record = $processor($this->getRecord());
+
+ $this->assertArrayHasKey('hg', $record['extra']);
+ $this->assertTrue(!is_array($record['extra']['hg']['branch']));
+ $this->assertTrue(!is_array($record['extra']['hg']['revision']));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/ProcessIdProcessorTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/ProcessIdProcessorTest.php
new file mode 100644
index 00000000..458d2a33
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/ProcessIdProcessorTest.php
@@ -0,0 +1,30 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+use Monolog\TestCase;
+
+class ProcessIdProcessorTest extends TestCase
+{
+ /**
+ * @covers Monolog\Processor\ProcessIdProcessor::__invoke
+ */
+ public function testProcessor()
+ {
+ $processor = new ProcessIdProcessor();
+ $record = $processor($this->getRecord());
+ $this->assertArrayHasKey('process_id', $record['extra']);
+ $this->assertInternalType('int', $record['extra']['process_id']);
+ $this->assertGreaterThan(0, $record['extra']['process_id']);
+ $this->assertEquals(getmypid(), $record['extra']['process_id']);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/PsrLogMessageProcessorTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/PsrLogMessageProcessorTest.php
new file mode 100644
index 00000000..029a0c02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/PsrLogMessageProcessorTest.php
@@ -0,0 +1,43 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+class PsrLogMessageProcessorTest extends \PHPUnit_Framework_TestCase
+{
+ /**
+ * @dataProvider getPairs
+ */
+ public function testReplacement($val, $expected)
+ {
+ $proc = new PsrLogMessageProcessor;
+
+ $message = $proc(array(
+ 'message' => '{foo}',
+ 'context' => array('foo' => $val),
+ ));
+ $this->assertEquals($expected, $message['message']);
+ }
+
+ public function getPairs()
+ {
+ return array(
+ array('foo', 'foo'),
+ array('3', '3'),
+ array(3, '3'),
+ array(null, ''),
+ array(true, '1'),
+ array(false, ''),
+ array(new \stdClass, '[object stdClass]'),
+ array(array(), '[array]'),
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/TagProcessorTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/TagProcessorTest.php
new file mode 100644
index 00000000..0d860c61
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/TagProcessorTest.php
@@ -0,0 +1,49 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+use Monolog\TestCase;
+
+class TagProcessorTest extends TestCase
+{
+ /**
+ * @covers Monolog\Processor\TagProcessor::__invoke
+ */
+ public function testProcessor()
+ {
+ $tags = array(1, 2, 3);
+ $processor = new TagProcessor($tags);
+ $record = $processor($this->getRecord());
+
+ $this->assertEquals($tags, $record['extra']['tags']);
+ }
+
+ /**
+ * @covers Monolog\Processor\TagProcessor::__invoke
+ */
+ public function testProcessorTagModification()
+ {
+ $tags = array(1, 2, 3);
+ $processor = new TagProcessor($tags);
+
+ $record = $processor($this->getRecord());
+ $this->assertEquals($tags, $record['extra']['tags']);
+
+ $processor->setTags(array('a', 'b'));
+ $record = $processor($this->getRecord());
+ $this->assertEquals(array('a', 'b'), $record['extra']['tags']);
+
+ $processor->addTags(array('a', 'c', 'foo' => 'bar'));
+ $record = $processor($this->getRecord());
+ $this->assertEquals(array('a', 'b', 'a', 'c', 'foo' => 'bar'), $record['extra']['tags']);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/UidProcessorTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/UidProcessorTest.php
new file mode 100644
index 00000000..5d13058f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/UidProcessorTest.php
@@ -0,0 +1,33 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+use Monolog\TestCase;
+
+class UidProcessorTest extends TestCase
+{
+ /**
+ * @covers Monolog\Processor\UidProcessor::__invoke
+ */
+ public function testProcessor()
+ {
+ $processor = new UidProcessor();
+ $record = $processor($this->getRecord());
+ $this->assertArrayHasKey('uid', $record['extra']);
+ }
+
+ public function testGetUid()
+ {
+ $processor = new UidProcessor(10);
+ $this->assertEquals(10, strlen($processor->getUid()));
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/WebProcessorTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/WebProcessorTest.php
new file mode 100644
index 00000000..4105baf7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/WebProcessorTest.php
@@ -0,0 +1,113 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog\Processor;
+
+use Monolog\TestCase;
+
+class WebProcessorTest extends TestCase
+{
+ public function testProcessor()
+ {
+ $server = array(
+ 'REQUEST_URI' => 'A',
+ 'REMOTE_ADDR' => 'B',
+ 'REQUEST_METHOD' => 'C',
+ 'HTTP_REFERER' => 'D',
+ 'SERVER_NAME' => 'F',
+ 'UNIQUE_ID' => 'G',
+ );
+
+ $processor = new WebProcessor($server);
+ $record = $processor($this->getRecord());
+ $this->assertEquals($server['REQUEST_URI'], $record['extra']['url']);
+ $this->assertEquals($server['REMOTE_ADDR'], $record['extra']['ip']);
+ $this->assertEquals($server['REQUEST_METHOD'], $record['extra']['http_method']);
+ $this->assertEquals($server['HTTP_REFERER'], $record['extra']['referrer']);
+ $this->assertEquals($server['SERVER_NAME'], $record['extra']['server']);
+ $this->assertEquals($server['UNIQUE_ID'], $record['extra']['unique_id']);
+ }
+
+ public function testProcessorDoNothingIfNoRequestUri()
+ {
+ $server = array(
+ 'REMOTE_ADDR' => 'B',
+ 'REQUEST_METHOD' => 'C',
+ );
+ $processor = new WebProcessor($server);
+ $record = $processor($this->getRecord());
+ $this->assertEmpty($record['extra']);
+ }
+
+ public function testProcessorReturnNullIfNoHttpReferer()
+ {
+ $server = array(
+ 'REQUEST_URI' => 'A',
+ 'REMOTE_ADDR' => 'B',
+ 'REQUEST_METHOD' => 'C',
+ 'SERVER_NAME' => 'F',
+ );
+ $processor = new WebProcessor($server);
+ $record = $processor($this->getRecord());
+ $this->assertNull($record['extra']['referrer']);
+ }
+
+ public function testProcessorDoesNotAddUniqueIdIfNotPresent()
+ {
+ $server = array(
+ 'REQUEST_URI' => 'A',
+ 'REMOTE_ADDR' => 'B',
+ 'REQUEST_METHOD' => 'C',
+ 'SERVER_NAME' => 'F',
+ );
+ $processor = new WebProcessor($server);
+ $record = $processor($this->getRecord());
+ $this->assertFalse(isset($record['extra']['unique_id']));
+ }
+
+ public function testProcessorAddsOnlyRequestedExtraFields()
+ {
+ $server = array(
+ 'REQUEST_URI' => 'A',
+ 'REMOTE_ADDR' => 'B',
+ 'REQUEST_METHOD' => 'C',
+ 'SERVER_NAME' => 'F',
+ );
+
+ $processor = new WebProcessor($server, array('url', 'http_method'));
+ $record = $processor($this->getRecord());
+
+ $this->assertSame(array('url' => 'A', 'http_method' => 'C'), $record['extra']);
+ }
+
+ public function testProcessorConfiguringOfExtraFields()
+ {
+ $server = array(
+ 'REQUEST_URI' => 'A',
+ 'REMOTE_ADDR' => 'B',
+ 'REQUEST_METHOD' => 'C',
+ 'SERVER_NAME' => 'F',
+ );
+
+ $processor = new WebProcessor($server, array('url' => 'REMOTE_ADDR'));
+ $record = $processor($this->getRecord());
+
+ $this->assertSame(array('url' => 'B'), $record['extra']);
+ }
+
+ /**
+ * @expectedException UnexpectedValueException
+ */
+ public function testInvalidData()
+ {
+ new WebProcessor(new \stdClass);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/PsrLogCompatTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/PsrLogCompatTest.php
new file mode 100644
index 00000000..ab899449
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/PsrLogCompatTest.php
@@ -0,0 +1,47 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog;
+
+use Monolog\Handler\TestHandler;
+use Monolog\Formatter\LineFormatter;
+use Monolog\Processor\PsrLogMessageProcessor;
+use Psr\Log\Test\LoggerInterfaceTest;
+
+class PsrLogCompatTest extends LoggerInterfaceTest
+{
+ private $handler;
+
+ public function getLogger()
+ {
+ $logger = new Logger('foo');
+ $logger->pushHandler($handler = new TestHandler);
+ $logger->pushProcessor(new PsrLogMessageProcessor);
+ $handler->setFormatter(new LineFormatter('%level_name% %message%'));
+
+ $this->handler = $handler;
+
+ return $logger;
+ }
+
+ public function getLogs()
+ {
+ $convert = function ($record) {
+ $lower = function ($match) {
+ return strtolower($match[0]);
+ };
+
+ return preg_replace_callback('{^[A-Z]+}', $lower, $record['formatted']);
+ };
+
+ return array_map($convert, $this->handler->getRecords());
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/RegistryTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/RegistryTest.php
new file mode 100644
index 00000000..15fdfbd2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/RegistryTest.php
@@ -0,0 +1,153 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog;
+
+class RegistryTest extends \PHPUnit_Framework_TestCase
+{
+ protected function setUp()
+ {
+ Registry::clear();
+ }
+
+ /**
+ * @dataProvider hasLoggerProvider
+ * @covers Monolog\Registry::hasLogger
+ */
+ public function testHasLogger(array $loggersToAdd, array $loggersToCheck, array $expectedResult)
+ {
+ foreach ($loggersToAdd as $loggerToAdd) {
+ Registry::addLogger($loggerToAdd);
+ }
+ foreach ($loggersToCheck as $index => $loggerToCheck) {
+ $this->assertSame($expectedResult[$index], Registry::hasLogger($loggerToCheck));
+ }
+ }
+
+ public function hasLoggerProvider()
+ {
+ $logger1 = new Logger('test1');
+ $logger2 = new Logger('test2');
+ $logger3 = new Logger('test3');
+
+ return array(
+ // only instances
+ array(
+ array($logger1),
+ array($logger1, $logger2),
+ array(true, false),
+ ),
+ // only names
+ array(
+ array($logger1),
+ array('test1', 'test2'),
+ array(true, false),
+ ),
+ // mixed case
+ array(
+ array($logger1, $logger2),
+ array('test1', $logger2, 'test3', $logger3),
+ array(true, true, false, false),
+ ),
+ );
+ }
+
+ /**
+ * @covers Monolog\Registry::clear
+ */
+ public function testClearClears()
+ {
+ Registry::addLogger(new Logger('test1'), 'log');
+ Registry::clear();
+
+ $this->setExpectedException('\InvalidArgumentException');
+ Registry::getInstance('log');
+ }
+
+ /**
+ * @dataProvider removedLoggerProvider
+ * @covers Monolog\Registry::addLogger
+ * @covers Monolog\Registry::removeLogger
+ */
+ public function testRemovesLogger($loggerToAdd, $remove)
+ {
+ Registry::addLogger($loggerToAdd);
+ Registry::removeLogger($remove);
+
+ $this->setExpectedException('\InvalidArgumentException');
+ Registry::getInstance($loggerToAdd->getName());
+ }
+
+ public function removedLoggerProvider()
+ {
+ $logger1 = new Logger('test1');
+
+ return array(
+ array($logger1, $logger1),
+ array($logger1, 'test1'),
+ );
+ }
+
+ /**
+ * @covers Monolog\Registry::addLogger
+ * @covers Monolog\Registry::getInstance
+ * @covers Monolog\Registry::__callStatic
+ */
+ public function testGetsSameLogger()
+ {
+ $logger1 = new Logger('test1');
+ $logger2 = new Logger('test2');
+
+ Registry::addLogger($logger1, 'test1');
+ Registry::addLogger($logger2);
+
+ $this->assertSame($logger1, Registry::getInstance('test1'));
+ $this->assertSame($logger2, Registry::test2());
+ }
+
+ /**
+ * @expectedException \InvalidArgumentException
+ * @covers Monolog\Registry::getInstance
+ */
+ public function testFailsOnNonExistantLogger()
+ {
+ Registry::getInstance('test1');
+ }
+
+ /**
+ * @covers Monolog\Registry::addLogger
+ */
+ public function testReplacesLogger()
+ {
+ $log1 = new Logger('test1');
+ $log2 = new Logger('test2');
+
+ Registry::addLogger($log1, 'log');
+
+ Registry::addLogger($log2, 'log', true);
+
+ $this->assertSame($log2, Registry::getInstance('log'));
+ }
+
+ /**
+ * @expectedException \InvalidArgumentException
+ * @covers Monolog\Registry::addLogger
+ */
+ public function testFailsOnUnspecifiedReplacement()
+ {
+ $log1 = new Logger('test1');
+ $log2 = new Logger('test2');
+
+ Registry::addLogger($log1, 'log');
+
+ Registry::addLogger($log2, 'log');
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/TestCase.php b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/TestCase.php
new file mode 100644
index 00000000..4eb7b4c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/monolog/monolog/tests/Monolog/TestCase.php
@@ -0,0 +1,58 @@
+<?php
+
+/*
+ * This file is part of the Monolog package.
+ *
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Monolog;
+
+class TestCase extends \PHPUnit_Framework_TestCase
+{
+ /**
+ * @return array Record
+ */
+ protected function getRecord($level = Logger::WARNING, $message = 'test', $context = array())
+ {
+ return array(
+ 'message' => $message,
+ 'context' => $context,
+ 'level' => $level,
+ 'level_name' => Logger::getLevelName($level),
+ 'channel' => 'test',
+ 'datetime' => \DateTime::createFromFormat('U.u', sprintf('%.6F', microtime(true))),
+ 'extra' => array(),
+ );
+ }
+
+ /**
+ * @return array
+ */
+ protected function getMultipleRecords()
+ {
+ return array(
+ $this->getRecord(Logger::DEBUG, 'debug message 1'),
+ $this->getRecord(Logger::DEBUG, 'debug message 2'),
+ $this->getRecord(Logger::INFO, 'information'),
+ $this->getRecord(Logger::WARNING, 'warning'),
+ $this->getRecord(Logger::ERROR, 'error'),
+ );
+ }
+
+ /**
+ * @return Monolog\Formatter\FormatterInterface
+ */
+ protected function getIdentityFormatter()
+ {
+ $formatter = $this->getMock('Monolog\\Formatter\\FormatterInterface');
+ $formatter->expects($this->any())
+ ->method('format')
+ ->will($this->returnCallback(function ($record) { return $record['message']; }));
+
+ return $formatter;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/AUTHORS b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/AUTHORS
new file mode 100644
index 00000000..a08b3099
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/AUTHORS
@@ -0,0 +1,6 @@
+phpseclib Lead Developer: TerraFrost (Jim Wigginton)
+
+phpseclib Developers: monnerat (Patrick Monnerat)
+ bantu (Andreas Fischer)
+ petrich (Hans-Jürgen Petrich)
+ GrahamCampbell (Graham Campbell)
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/LICENSE b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/LICENSE
new file mode 100644
index 00000000..a8ec8ebd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/LICENSE
@@ -0,0 +1,21 @@
+Copyright 2007-2016 TerraFrost and other contributors
+http://phpseclib.sourceforge.net/
+
+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/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/README.md b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/README.md
new file mode 100644
index 00000000..89f84c24
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/README.md
@@ -0,0 +1,74 @@
+# phpseclib - PHP Secure Communications Library
+
+[![Build Status](https://travis-ci.org/phpseclib/phpseclib.svg?branch=2.0)](https://travis-ci.org/phpseclib/phpseclib)
+
+MIT-licensed pure-PHP implementations of an arbitrary-precision integer
+arithmetic library, fully PKCS#1 (v2.1) compliant RSA, DES, 3DES, RC4, Rijndael,
+AES, Blowfish, Twofish, SSH-1, SSH-2, SFTP, and X.509
+
+* [Browse Git](https://github.com/phpseclib/phpseclib)
+* [Code Coverage Report](https://coverage.phpseclib.org/2.0/latest/)
+
+## Documentation
+
+* [Documentation / Manual](http://phpseclib.sourceforge.net/)
+* [API Documentation](https://api.phpseclib.org/2.0/) (generated by Sami)
+
+## Branches
+
+### master
+
+* Development Branch
+* Unstable API
+* Do not use in production
+
+### 2.0
+
+* Modernized version of 1.0
+* Minimum PHP version: 5.3.3
+* PSR-4 autoloading with namespace rooted at `\phpseclib`
+* Install via Composer: `composer require phpseclib/phpseclib ~2.0`
+
+### 1.0
+
+* Long term support (LTS) release
+* PHP4 compatible
+* Composer compatible (PSR-0 autoloading)
+* Install using Composer: `composer require phpseclib/phpseclib ~1.0`
+* Install using PEAR: See [phpseclib PEAR Channel Documentation](http://phpseclib.sourceforge.net/pear.htm)
+* [Download 1.0.7 as ZIP](http://sourceforge.net/projects/phpseclib/files/phpseclib1.0.7.zip/download)
+
+## Support
+
+Need Support?
+
+* [Checkout Questions and Answers on Stack Overflow](http://stackoverflow.com/questions/tagged/phpseclib)
+* [Create a Support Ticket on GitHub](https://github.com/phpseclib/phpseclib/issues/new)
+* [Browse the Support Forum](http://www.frostjedi.com/phpbb/viewforum.php?f=46) (no longer in use)
+
+## Contributing
+
+1. Fork the Project
+
+2. Ensure you have Composer installed (see [Composer Download Instructions](https://getcomposer.org/download/))
+
+3. Install Development Dependencies
+
+ ``` sh
+ composer install
+ ```
+
+4. Create a Feature Branch
+
+5. (Recommended) Run the Test Suite
+
+ ``` sh
+ vendor/bin/phpunit
+ ```
+6. (Recommended) Check whether your code conforms to our Coding Standards by running
+
+ ``` sh
+ vendor/bin/phing -f build/build.xml sniff
+ ```
+
+7. Send us a Pull Request
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/composer.json b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/composer.json
new file mode 100644
index 00000000..4b84b110
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/composer.json
@@ -0,0 +1,76 @@
+{
+ "name": "phpseclib/phpseclib",
+ "type": "library",
+ "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
+ "keywords": [
+ "security",
+ "crypto",
+ "cryptography",
+ "encryption",
+ "signature",
+ "signing",
+ "rsa",
+ "aes",
+ "blowfish",
+ "twofish",
+ "ssh",
+ "sftp",
+ "x509",
+ "x.509",
+ "asn1",
+ "asn.1",
+ "BigInteger"
+ ],
+ "homepage": "http://phpseclib.sourceforge.net",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Jim Wigginton",
+ "email": "terrafrost@php.net",
+ "role": "Lead Developer"
+ },
+ {
+ "name": "Patrick Monnerat",
+ "email": "pm@datasphere.ch",
+ "role": "Developer"
+ },
+ {
+ "name": "Andreas Fischer",
+ "email": "bantu@phpbb.com",
+ "role": "Developer"
+ },
+ {
+ "name": "Hans-Jürgen Petrich",
+ "email": "petrich@tronic-media.com",
+ "role": "Developer"
+ },
+ {
+ "name": "Graham Campbell",
+ "email": "graham@alt-three.com",
+ "role": "Developer"
+ }
+ ],
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "require-dev": {
+ "phing/phing": "~2.7",
+ "phpunit/phpunit": "~4.0",
+ "sami/sami": "~2.0",
+ "squizlabs/php_codesniffer": "~2.0"
+ },
+ "suggest": {
+ "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.",
+ "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations.",
+ "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.",
+ "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations."
+ },
+ "autoload": {
+ "files": [
+ "phpseclib/bootstrap.php"
+ ],
+ "psr-4": {
+ "phpseclib\\": "phpseclib/"
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/composer.lock b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/composer.lock
new file mode 100644
index 00000000..beda2d64
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/composer.lock
@@ -0,0 +1,1819 @@
+{
+ "_readme": [
+ "This file locks the dependencies of your project to a known state",
+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
+ "This file is @generated automatically"
+ ],
+ "hash": "8599992bf6058a9da82372eb8bcae2c2",
+ "content-hash": "fde47c84178c55c06de858a2128e3d07",
+ "packages": [],
+ "packages-dev": [
+ {
+ "name": "doctrine/instantiator",
+ "version": "1.0.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/doctrine/instantiator.git",
+ "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
+ "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3,<8.0-DEV"
+ },
+ "require-dev": {
+ "athletic/athletic": "~0.1.8",
+ "ext-pdo": "*",
+ "ext-phar": "*",
+ "phpunit/phpunit": "~4.0",
+ "squizlabs/php_codesniffer": "~2.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Marco Pivetta",
+ "email": "ocramius@gmail.com",
+ "homepage": "http://ocramius.github.com/"
+ }
+ ],
+ "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
+ "homepage": "https://github.com/doctrine/instantiator",
+ "keywords": [
+ "constructor",
+ "instantiate"
+ ],
+ "time": "2015-06-14 21:17:01"
+ },
+ {
+ "name": "michelf/php-markdown",
+ "version": "1.6.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/michelf/php-markdown.git",
+ "reference": "156e56ee036505ec637d761ee62dc425d807183c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/michelf/php-markdown/zipball/156e56ee036505ec637d761ee62dc425d807183c",
+ "reference": "156e56ee036505ec637d761ee62dc425d807183c",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-lib": "1.4.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "Michelf": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Michel Fortin",
+ "email": "michel.fortin@michelf.ca",
+ "homepage": "https://michelf.ca/",
+ "role": "Developer"
+ },
+ {
+ "name": "John Gruber",
+ "homepage": "https://daringfireball.net/"
+ }
+ ],
+ "description": "PHP Markdown",
+ "homepage": "https://michelf.ca/projects/php-markdown/",
+ "keywords": [
+ "markdown"
+ ],
+ "time": "2015-12-24 01:37:31"
+ },
+ {
+ "name": "nikic/php-parser",
+ "version": "v0.9.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/nikic/PHP-Parser.git",
+ "reference": "ef70767475434bdb3615b43c327e2cae17ef12eb"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/ef70767475434bdb3615b43c327e2cae17ef12eb",
+ "reference": "ef70767475434bdb3615b43c327e2cae17ef12eb",
+ "shasum": ""
+ },
+ "require": {
+ "ext-tokenizer": "*",
+ "php": ">=5.2"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "0.9-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "PHPParser": "lib/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Nikita Popov"
+ }
+ ],
+ "description": "A PHP parser written in PHP",
+ "keywords": [
+ "parser",
+ "php"
+ ],
+ "time": "2014-07-23 18:24:17"
+ },
+ {
+ "name": "phing/phing",
+ "version": "2.14.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/phingofficial/phing.git",
+ "reference": "7dd73c83c377623def54b58121f46b4dcb35dd61"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/phingofficial/phing/zipball/7dd73c83c377623def54b58121f46b4dcb35dd61",
+ "reference": "7dd73c83c377623def54b58121f46b4dcb35dd61",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.2.0"
+ },
+ "require-dev": {
+ "ext-pdo_sqlite": "*",
+ "lastcraft/simpletest": "@dev",
+ "mikey179/vfsstream": "^1.6",
+ "pdepend/pdepend": "2.x",
+ "pear/archive_tar": "1.4.x",
+ "pear/http_request2": "dev-trunk",
+ "pear/net_growl": "dev-trunk",
+ "pear/pear-core-minimal": "1.10.1",
+ "pear/versioncontrol_git": "@dev",
+ "pear/versioncontrol_svn": "~0.5",
+ "phpdocumentor/phpdocumentor": "2.x",
+ "phploc/phploc": "~2.0.6",
+ "phpmd/phpmd": "~2.2",
+ "phpunit/phpunit": ">=3.7",
+ "sebastian/git": "~1.0",
+ "sebastian/phpcpd": "2.x",
+ "squizlabs/php_codesniffer": "~2.2",
+ "symfony/yaml": "~2.7"
+ },
+ "suggest": {
+ "pdepend/pdepend": "PHP version of JDepend",
+ "pear/archive_tar": "Tar file management class",
+ "pear/versioncontrol_git": "A library that provides OO interface to handle Git repository",
+ "pear/versioncontrol_svn": "A simple OO-style interface for Subversion, the free/open-source version control system",
+ "phpdocumentor/phpdocumentor": "Documentation Generator for PHP",
+ "phploc/phploc": "A tool for quickly measuring the size of a PHP project",
+ "phpmd/phpmd": "PHP version of PMD tool",
+ "phpunit/php-code-coverage": "Library that provides collection, processing, and rendering functionality for PHP code coverage information",
+ "phpunit/phpunit": "The PHP Unit Testing Framework",
+ "sebastian/phpcpd": "Copy/Paste Detector (CPD) for PHP code",
+ "tedivm/jshrink": "Javascript Minifier built in PHP"
+ },
+ "bin": [
+ "bin/phing"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.14.x-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "classes/phing/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "include-path": [
+ "classes"
+ ],
+ "license": [
+ "LGPL-3.0"
+ ],
+ "authors": [
+ {
+ "name": "Michiel Rook",
+ "email": "mrook@php.net"
+ },
+ {
+ "name": "Phing Community",
+ "homepage": "https://www.phing.info/trac/wiki/Development/Contributors"
+ }
+ ],
+ "description": "PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.",
+ "homepage": "https://www.phing.info/",
+ "keywords": [
+ "build",
+ "phing",
+ "task",
+ "tool"
+ ],
+ "time": "2016-03-10 21:39:23"
+ },
+ {
+ "name": "phpdocumentor/reflection-common",
+ "version": "1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
+ "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
+ "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.5"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.6"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "phpDocumentor\\Reflection\\": [
+ "src"
+ ]
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Jaap van Otterdijk",
+ "email": "opensource@ijaap.nl"
+ }
+ ],
+ "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
+ "homepage": "http://www.phpdoc.org",
+ "keywords": [
+ "FQSEN",
+ "phpDocumentor",
+ "phpdoc",
+ "reflection",
+ "static analysis"
+ ],
+ "time": "2015-12-27 11:43:31"
+ },
+ {
+ "name": "phpdocumentor/reflection-docblock",
+ "version": "3.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
+ "reference": "9270140b940ff02e58ec577c237274e92cd40cdd"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/9270140b940ff02e58ec577c237274e92cd40cdd",
+ "reference": "9270140b940ff02e58ec577c237274e92cd40cdd",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.5",
+ "phpdocumentor/reflection-common": "^1.0@dev",
+ "phpdocumentor/type-resolver": "^0.2.0",
+ "webmozart/assert": "^1.0"
+ },
+ "require-dev": {
+ "mockery/mockery": "^0.9.4",
+ "phpunit/phpunit": "^4.4"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "phpDocumentor\\Reflection\\": [
+ "src/"
+ ]
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Mike van Riel",
+ "email": "me@mikevanriel.com"
+ }
+ ],
+ "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
+ "time": "2016-06-10 09:48:41"
+ },
+ {
+ "name": "phpdocumentor/type-resolver",
+ "version": "0.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/phpDocumentor/TypeResolver.git",
+ "reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/b39c7a5b194f9ed7bd0dd345c751007a41862443",
+ "reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.5",
+ "phpdocumentor/reflection-common": "^1.0"
+ },
+ "require-dev": {
+ "mockery/mockery": "^0.9.4",
+ "phpunit/phpunit": "^5.2||^4.8.24"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "phpDocumentor\\Reflection\\": [
+ "src/"
+ ]
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Mike van Riel",
+ "email": "me@mikevanriel.com"
+ }
+ ],
+ "time": "2016-06-10 07:14:17"
+ },
+ {
+ "name": "phpspec/prophecy",
+ "version": "v1.6.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/phpspec/prophecy.git",
+ "reference": "58a8137754bc24b25740d4281399a4a3596058e0"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/phpspec/prophecy/zipball/58a8137754bc24b25740d4281399a4a3596058e0",
+ "reference": "58a8137754bc24b25740d4281399a4a3596058e0",
+ "shasum": ""
+ },
+ "require": {
+ "doctrine/instantiator": "^1.0.2",
+ "php": "^5.3|^7.0",
+ "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
+ "sebastian/comparator": "^1.1",
+ "sebastian/recursion-context": "^1.0"
+ },
+ "require-dev": {
+ "phpspec/phpspec": "^2.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.6.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "Prophecy\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Konstantin Kudryashov",
+ "email": "ever.zet@gmail.com",
+ "homepage": "http://everzet.com"
+ },
+ {
+ "name": "Marcello Duarte",
+ "email": "marcello.duarte@gmail.com"
+ }
+ ],
+ "description": "Highly opinionated mocking framework for PHP 5.3+",
+ "homepage": "https://github.com/phpspec/prophecy",
+ "keywords": [
+ "Double",
+ "Dummy",
+ "fake",
+ "mock",
+ "spy",
+ "stub"
+ ],
+ "time": "2016-06-07 08:13:47"
+ },
+ {
+ "name": "phpunit/php-code-coverage",
+ "version": "2.2.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
+ "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
+ "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3",
+ "phpunit/php-file-iterator": "~1.3",
+ "phpunit/php-text-template": "~1.2",
+ "phpunit/php-token-stream": "~1.3",
+ "sebastian/environment": "^1.3.2",
+ "sebastian/version": "~1.0"
+ },
+ "require-dev": {
+ "ext-xdebug": ">=2.1.4",
+ "phpunit/phpunit": "~4"
+ },
+ "suggest": {
+ "ext-dom": "*",
+ "ext-xdebug": ">=2.2.1",
+ "ext-xmlwriter": "*"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.2.x-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sb@sebastian-bergmann.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
+ "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
+ "keywords": [
+ "coverage",
+ "testing",
+ "xunit"
+ ],
+ "time": "2015-10-06 15:47:00"
+ },
+ {
+ "name": "phpunit/php-file-iterator",
+ "version": "1.4.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
+ "reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/6150bf2c35d3fc379e50c7602b75caceaa39dbf0",
+ "reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.4.x-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sb@sebastian-bergmann.de",
+ "role": "lead"
+ }
+ ],
+ "description": "FilterIterator implementation that filters files based on a list of suffixes.",
+ "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
+ "keywords": [
+ "filesystem",
+ "iterator"
+ ],
+ "time": "2015-06-21 13:08:43"
+ },
+ {
+ "name": "phpunit/php-text-template",
+ "version": "1.2.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-text-template.git",
+ "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
+ "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "type": "library",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Simple template engine.",
+ "homepage": "https://github.com/sebastianbergmann/php-text-template/",
+ "keywords": [
+ "template"
+ ],
+ "time": "2015-06-21 13:50:34"
+ },
+ {
+ "name": "phpunit/php-timer",
+ "version": "1.0.8",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-timer.git",
+ "reference": "38e9124049cf1a164f1e4537caf19c99bf1eb260"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/38e9124049cf1a164f1e4537caf19c99bf1eb260",
+ "reference": "38e9124049cf1a164f1e4537caf19c99bf1eb260",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4|~5"
+ },
+ "type": "library",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sb@sebastian-bergmann.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Utility class for timing",
+ "homepage": "https://github.com/sebastianbergmann/php-timer/",
+ "keywords": [
+ "timer"
+ ],
+ "time": "2016-05-12 18:03:57"
+ },
+ {
+ "name": "phpunit/php-token-stream",
+ "version": "1.4.8",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-token-stream.git",
+ "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da",
+ "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da",
+ "shasum": ""
+ },
+ "require": {
+ "ext-tokenizer": "*",
+ "php": ">=5.3.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.2"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.4-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ }
+ ],
+ "description": "Wrapper around PHP's tokenizer extension.",
+ "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
+ "keywords": [
+ "tokenizer"
+ ],
+ "time": "2015-09-15 10:49:45"
+ },
+ {
+ "name": "phpunit/phpunit",
+ "version": "4.8.26",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/phpunit.git",
+ "reference": "fc1d8cd5b5de11625979125c5639347896ac2c74"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/fc1d8cd5b5de11625979125c5639347896ac2c74",
+ "reference": "fc1d8cd5b5de11625979125c5639347896ac2c74",
+ "shasum": ""
+ },
+ "require": {
+ "ext-dom": "*",
+ "ext-json": "*",
+ "ext-pcre": "*",
+ "ext-reflection": "*",
+ "ext-spl": "*",
+ "php": ">=5.3.3",
+ "phpspec/prophecy": "^1.3.1",
+ "phpunit/php-code-coverage": "~2.1",
+ "phpunit/php-file-iterator": "~1.4",
+ "phpunit/php-text-template": "~1.2",
+ "phpunit/php-timer": "^1.0.6",
+ "phpunit/phpunit-mock-objects": "~2.3",
+ "sebastian/comparator": "~1.1",
+ "sebastian/diff": "~1.2",
+ "sebastian/environment": "~1.3",
+ "sebastian/exporter": "~1.2",
+ "sebastian/global-state": "~1.0",
+ "sebastian/version": "~1.0",
+ "symfony/yaml": "~2.1|~3.0"
+ },
+ "suggest": {
+ "phpunit/php-invoker": "~1.1"
+ },
+ "bin": [
+ "phpunit"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.8.x-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "The PHP Unit Testing framework.",
+ "homepage": "https://phpunit.de/",
+ "keywords": [
+ "phpunit",
+ "testing",
+ "xunit"
+ ],
+ "time": "2016-05-17 03:09:28"
+ },
+ {
+ "name": "phpunit/phpunit-mock-objects",
+ "version": "2.3.8",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
+ "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
+ "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
+ "shasum": ""
+ },
+ "require": {
+ "doctrine/instantiator": "^1.0.2",
+ "php": ">=5.3.3",
+ "phpunit/php-text-template": "~1.2",
+ "sebastian/exporter": "~1.2"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.4"
+ },
+ "suggest": {
+ "ext-soap": "*"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.3.x-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sb@sebastian-bergmann.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Mock Object library for PHPUnit",
+ "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
+ "keywords": [
+ "mock",
+ "xunit"
+ ],
+ "time": "2015-10-02 06:51:40"
+ },
+ {
+ "name": "pimple/pimple",
+ "version": "v2.1.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/silexphp/Pimple.git",
+ "reference": "ea22fb2880faf7b7b0e17c9809c6fe25b071fd76"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/silexphp/Pimple/zipball/ea22fb2880faf7b7b0e17c9809c6fe25b071fd76",
+ "reference": "ea22fb2880faf7b7b0e17c9809c6fe25b071fd76",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.1.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "Pimple": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ }
+ ],
+ "description": "Pimple is a simple Dependency Injection Container for PHP 5.3",
+ "homepage": "http://pimple.sensiolabs.org",
+ "keywords": [
+ "container",
+ "dependency injection"
+ ],
+ "time": "2014-07-24 07:10:08"
+ },
+ {
+ "name": "sami/sami",
+ "version": "v2.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/FriendsOfPHP/Sami.git",
+ "reference": "fa58b324f41aa2aefe21dac4f22d8c98965fc012"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/FriendsOfPHP/Sami/zipball/fa58b324f41aa2aefe21dac4f22d8c98965fc012",
+ "reference": "fa58b324f41aa2aefe21dac4f22d8c98965fc012",
+ "shasum": ""
+ },
+ "require": {
+ "michelf/php-markdown": "~1.3",
+ "nikic/php-parser": "0.9.*",
+ "php": ">=5.3.0",
+ "pimple/pimple": "2.*",
+ "symfony/console": "~2.1",
+ "symfony/filesystem": "~2.1",
+ "symfony/finder": "~2.1",
+ "symfony/process": "~2.1",
+ "symfony/yaml": "~2.1",
+ "twig/twig": "1.*"
+ },
+ "bin": [
+ "sami.php"
+ ],
+ "type": "application",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "Sami": "."
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ }
+ ],
+ "description": "Sami, an API documentation generator",
+ "homepage": "http://sami.sensiolabs.org",
+ "keywords": [
+ "phpdoc"
+ ],
+ "time": "2014-06-25 12:05:18"
+ },
+ {
+ "name": "sebastian/comparator",
+ "version": "1.2.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/comparator.git",
+ "reference": "937efb279bd37a375bcadf584dec0726f84dbf22"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/937efb279bd37a375bcadf584dec0726f84dbf22",
+ "reference": "937efb279bd37a375bcadf584dec0726f84dbf22",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3",
+ "sebastian/diff": "~1.2",
+ "sebastian/exporter": "~1.2"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.4"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.2.x-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Jeff Welch",
+ "email": "whatthejeff@gmail.com"
+ },
+ {
+ "name": "Volker Dusch",
+ "email": "github@wallbash.com"
+ },
+ {
+ "name": "Bernhard Schussek",
+ "email": "bschussek@2bepublished.at"
+ },
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ }
+ ],
+ "description": "Provides the functionality to compare PHP values for equality",
+ "homepage": "http://www.github.com/sebastianbergmann/comparator",
+ "keywords": [
+ "comparator",
+ "compare",
+ "equality"
+ ],
+ "time": "2015-07-26 15:48:44"
+ },
+ {
+ "name": "sebastian/diff",
+ "version": "1.4.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/diff.git",
+ "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e",
+ "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.8"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.4-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Kore Nordmann",
+ "email": "mail@kore-nordmann.de"
+ },
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ }
+ ],
+ "description": "Diff implementation",
+ "homepage": "https://github.com/sebastianbergmann/diff",
+ "keywords": [
+ "diff"
+ ],
+ "time": "2015-12-08 07:14:41"
+ },
+ {
+ "name": "sebastian/environment",
+ "version": "1.3.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/environment.git",
+ "reference": "4e8f0da10ac5802913afc151413bc8c53b6c2716"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/4e8f0da10ac5802913afc151413bc8c53b6c2716",
+ "reference": "4e8f0da10ac5802913afc151413bc8c53b6c2716",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.4"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.3.x-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ }
+ ],
+ "description": "Provides functionality to handle HHVM/PHP environments",
+ "homepage": "http://www.github.com/sebastianbergmann/environment",
+ "keywords": [
+ "Xdebug",
+ "environment",
+ "hhvm"
+ ],
+ "time": "2016-05-17 03:18:57"
+ },
+ {
+ "name": "sebastian/exporter",
+ "version": "1.2.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/exporter.git",
+ "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
+ "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3",
+ "sebastian/recursion-context": "~1.0"
+ },
+ "require-dev": {
+ "ext-mbstring": "*",
+ "phpunit/phpunit": "~4.4"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.3.x-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Jeff Welch",
+ "email": "whatthejeff@gmail.com"
+ },
+ {
+ "name": "Volker Dusch",
+ "email": "github@wallbash.com"
+ },
+ {
+ "name": "Bernhard Schussek",
+ "email": "bschussek@2bepublished.at"
+ },
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ },
+ {
+ "name": "Adam Harvey",
+ "email": "aharvey@php.net"
+ }
+ ],
+ "description": "Provides the functionality to export PHP variables for visualization",
+ "homepage": "http://www.github.com/sebastianbergmann/exporter",
+ "keywords": [
+ "export",
+ "exporter"
+ ],
+ "time": "2016-06-17 09:04:28"
+ },
+ {
+ "name": "sebastian/global-state",
+ "version": "1.1.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/global-state.git",
+ "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
+ "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.2"
+ },
+ "suggest": {
+ "ext-uopz": "*"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ }
+ ],
+ "description": "Snapshotting of global state",
+ "homepage": "http://www.github.com/sebastianbergmann/global-state",
+ "keywords": [
+ "global state"
+ ],
+ "time": "2015-10-12 03:26:01"
+ },
+ {
+ "name": "sebastian/recursion-context",
+ "version": "1.0.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/recursion-context.git",
+ "reference": "913401df809e99e4f47b27cdd781f4a258d58791"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/913401df809e99e4f47b27cdd781f4a258d58791",
+ "reference": "913401df809e99e4f47b27cdd781f4a258d58791",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.4"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Jeff Welch",
+ "email": "whatthejeff@gmail.com"
+ },
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ },
+ {
+ "name": "Adam Harvey",
+ "email": "aharvey@php.net"
+ }
+ ],
+ "description": "Provides functionality to recursively process PHP variables",
+ "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
+ "time": "2015-11-11 19:50:13"
+ },
+ {
+ "name": "sebastian/version",
+ "version": "1.0.6",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/version.git",
+ "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
+ "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
+ "shasum": ""
+ },
+ "type": "library",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Library that helps with managing the version number of Git-hosted PHP projects",
+ "homepage": "https://github.com/sebastianbergmann/version",
+ "time": "2015-06-21 13:59:46"
+ },
+ {
+ "name": "squizlabs/php_codesniffer",
+ "version": "2.6.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
+ "reference": "fb72ed32f8418db5e7770be1653e62e0d6f5dd3d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/fb72ed32f8418db5e7770be1653e62e0d6f5dd3d",
+ "reference": "fb72ed32f8418db5e7770be1653e62e0d6f5dd3d",
+ "shasum": ""
+ },
+ "require": {
+ "ext-simplexml": "*",
+ "ext-tokenizer": "*",
+ "ext-xmlwriter": "*",
+ "php": ">=5.1.2"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.0"
+ },
+ "bin": [
+ "scripts/phpcs",
+ "scripts/phpcbf"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.x-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "CodeSniffer.php",
+ "CodeSniffer/CLI.php",
+ "CodeSniffer/Exception.php",
+ "CodeSniffer/File.php",
+ "CodeSniffer/Fixer.php",
+ "CodeSniffer/Report.php",
+ "CodeSniffer/Reporting.php",
+ "CodeSniffer/Sniff.php",
+ "CodeSniffer/Tokens.php",
+ "CodeSniffer/Reports/",
+ "CodeSniffer/Tokenizers/",
+ "CodeSniffer/DocGenerators/",
+ "CodeSniffer/Standards/AbstractPatternSniff.php",
+ "CodeSniffer/Standards/AbstractScopeSniff.php",
+ "CodeSniffer/Standards/AbstractVariableSniff.php",
+ "CodeSniffer/Standards/IncorrectPatternException.php",
+ "CodeSniffer/Standards/Generic/Sniffs/",
+ "CodeSniffer/Standards/MySource/Sniffs/",
+ "CodeSniffer/Standards/PEAR/Sniffs/",
+ "CodeSniffer/Standards/PSR1/Sniffs/",
+ "CodeSniffer/Standards/PSR2/Sniffs/",
+ "CodeSniffer/Standards/Squiz/Sniffs/",
+ "CodeSniffer/Standards/Zend/Sniffs/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Greg Sherwood",
+ "role": "lead"
+ }
+ ],
+ "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
+ "homepage": "http://www.squizlabs.com/php-codesniffer",
+ "keywords": [
+ "phpcs",
+ "standards"
+ ],
+ "time": "2016-05-30 22:24:32"
+ },
+ {
+ "name": "symfony/console",
+ "version": "v2.8.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/console.git",
+ "reference": "5ac8bc9aa77bb2edf06af3a1bb6bc1020d23acd3"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/console/zipball/5ac8bc9aa77bb2edf06af3a1bb6bc1020d23acd3",
+ "reference": "5ac8bc9aa77bb2edf06af3a1bb6bc1020d23acd3",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.9",
+ "symfony/polyfill-mbstring": "~1.0"
+ },
+ "require-dev": {
+ "psr/log": "~1.0",
+ "symfony/event-dispatcher": "~2.1|~3.0.0",
+ "symfony/process": "~2.1|~3.0.0"
+ },
+ "suggest": {
+ "psr/log": "For using the console logger",
+ "symfony/event-dispatcher": "",
+ "symfony/process": ""
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.8-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Console\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony Console Component",
+ "homepage": "https://symfony.com",
+ "time": "2016-06-06 15:06:25"
+ },
+ {
+ "name": "symfony/filesystem",
+ "version": "v2.8.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/filesystem.git",
+ "reference": "dee379131dceed90a429e951546b33edfe7dccbb"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/filesystem/zipball/dee379131dceed90a429e951546b33edfe7dccbb",
+ "reference": "dee379131dceed90a429e951546b33edfe7dccbb",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.9"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.8-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Filesystem\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony Filesystem Component",
+ "homepage": "https://symfony.com",
+ "time": "2016-04-12 18:01:21"
+ },
+ {
+ "name": "symfony/finder",
+ "version": "v2.8.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/finder.git",
+ "reference": "3ec095fab1800222732ca522a95dce8fa124007b"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/3ec095fab1800222732ca522a95dce8fa124007b",
+ "reference": "3ec095fab1800222732ca522a95dce8fa124007b",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.9"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.8-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Finder\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony Finder Component",
+ "homepage": "https://symfony.com",
+ "time": "2016-06-06 11:11:27"
+ },
+ {
+ "name": "symfony/polyfill-mbstring",
+ "version": "v1.2.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-mbstring.git",
+ "reference": "dff51f72b0706335131b00a7f49606168c582594"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/dff51f72b0706335131b00a7f49606168c582594",
+ "reference": "dff51f72b0706335131b00a7f49606168c582594",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "suggest": {
+ "ext-mbstring": "For best performance"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.2-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Polyfill\\Mbstring\\": ""
+ },
+ "files": [
+ "bootstrap.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for the Mbstring extension",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "mbstring",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "time": "2016-05-18 14:26:46"
+ },
+ {
+ "name": "symfony/process",
+ "version": "v2.8.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/process.git",
+ "reference": "115347d00c342198cdc52a7bd8bc15b5ab43500c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/process/zipball/115347d00c342198cdc52a7bd8bc15b5ab43500c",
+ "reference": "115347d00c342198cdc52a7bd8bc15b5ab43500c",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.9"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.8-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Process\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony Process Component",
+ "homepage": "https://symfony.com",
+ "time": "2016-06-06 11:11:27"
+ },
+ {
+ "name": "symfony/yaml",
+ "version": "v2.8.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/yaml.git",
+ "reference": "815fabf3f48c7d1df345a69d1ad1a88f59757b34"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/815fabf3f48c7d1df345a69d1ad1a88f59757b34",
+ "reference": "815fabf3f48c7d1df345a69d1ad1a88f59757b34",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.9"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.8-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Yaml\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony Yaml Component",
+ "homepage": "https://symfony.com",
+ "time": "2016-06-06 11:11:27"
+ },
+ {
+ "name": "twig/twig",
+ "version": "v1.24.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/twigphp/Twig.git",
+ "reference": "3566d311a92aae4deec6e48682dc5a4528c4a512"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/twigphp/Twig/zipball/3566d311a92aae4deec6e48682dc5a4528c4a512",
+ "reference": "3566d311a92aae4deec6e48682dc5a4528c4a512",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.2.7"
+ },
+ "require-dev": {
+ "symfony/debug": "~2.7",
+ "symfony/phpunit-bridge": "~2.7"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.24-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "Twig_": "lib/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com",
+ "homepage": "http://fabien.potencier.org",
+ "role": "Lead Developer"
+ },
+ {
+ "name": "Armin Ronacher",
+ "email": "armin.ronacher@active-4.com",
+ "role": "Project Founder"
+ },
+ {
+ "name": "Twig Team",
+ "homepage": "http://twig.sensiolabs.org/contributors",
+ "role": "Contributors"
+ }
+ ],
+ "description": "Twig, the flexible, fast, and secure template language for PHP",
+ "homepage": "http://twig.sensiolabs.org",
+ "keywords": [
+ "templating"
+ ],
+ "time": "2016-05-30 09:11:59"
+ },
+ {
+ "name": "webmozart/assert",
+ "version": "1.0.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/webmozart/assert.git",
+ "reference": "30eed06dd6bc88410a4ff7f77b6d22f3ce13dbde"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/webmozart/assert/zipball/30eed06dd6bc88410a4ff7f77b6d22f3ce13dbde",
+ "reference": "30eed06dd6bc88410a4ff7f77b6d22f3ce13dbde",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.6"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Webmozart\\Assert\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Bernhard Schussek",
+ "email": "bschussek@gmail.com"
+ }
+ ],
+ "description": "Assertions to validate method input/output with nice error messages.",
+ "keywords": [
+ "assert",
+ "check",
+ "validate"
+ ],
+ "time": "2015-08-24 13:29:44"
+ }
+ ],
+ "aliases": [],
+ "minimum-stability": "stable",
+ "stability-flags": [],
+ "prefer-stable": false,
+ "prefer-lowest": false,
+ "platform": {
+ "php": ">=5.3.3"
+ },
+ "platform-dev": []
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/AES.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/AES.php
new file mode 100644
index 00000000..7d8cb8b0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/AES.php
@@ -0,0 +1,126 @@
+<?php
+
+/**
+ * Pure-PHP implementation of AES.
+ *
+ * Uses mcrypt, if available/possible, and an internal implementation, otherwise.
+ *
+ * PHP version 5
+ *
+ * NOTE: Since AES.php is (for compatibility and phpseclib-historical reasons) virtually
+ * just a wrapper to Rijndael.php you may consider using Rijndael.php instead of
+ * to save one include_once().
+ *
+ * If {@link self::setKeyLength() setKeyLength()} isn't called, it'll be calculated from
+ * {@link self::setKey() setKey()}. ie. if the key is 128-bits, the key length will be 128-bits. If it's 136-bits
+ * it'll be null-padded to 192-bits and 192 bits will be the key length until {@link self::setKey() setKey()}
+ * is called, again, at which point, it'll be recalculated.
+ *
+ * Since \phpseclib\Crypt\AES extends \phpseclib\Crypt\Rijndael, some functions are available to be called that, in the context of AES, don't
+ * make a whole lot of sense. {@link self::setBlockLength() setBlockLength()}, for instance. Calling that function,
+ * however possible, won't do anything (AES has a fixed block length whereas Rijndael has a variable one).
+ *
+ * Here's a short example of how to use this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $aes = new \phpseclib\Crypt\AES();
+ *
+ * $aes->setKey('abcdefghijklmnop');
+ *
+ * $size = 10 * 1024;
+ * $plaintext = '';
+ * for ($i = 0; $i < $size; $i++) {
+ * $plaintext.= 'a';
+ * }
+ *
+ * echo $aes->decrypt($aes->encrypt($plaintext));
+ * ?>
+ * </code>
+ *
+ * @category Crypt
+ * @package AES
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2008 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Crypt;
+
+/**
+ * Pure-PHP implementation of AES.
+ *
+ * @package AES
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class AES extends Rijndael
+{
+ /**
+ * Dummy function
+ *
+ * Since \phpseclib\Crypt\AES extends \phpseclib\Crypt\Rijndael, this function is, technically, available, but it doesn't do anything.
+ *
+ * @see \phpseclib\Crypt\Rijndael::setBlockLength()
+ * @access public
+ * @param int $length
+ */
+ function setBlockLength($length)
+ {
+ return;
+ }
+
+ /**
+ * Sets the key length
+ *
+ * Valid key lengths are 128, 192, and 256. If the length is less than 128, it will be rounded up to
+ * 128. If the length is greater than 128 and invalid, it will be rounded down to the closest valid amount.
+ *
+ * @see \phpseclib\Crypt\Rijndael:setKeyLength()
+ * @access public
+ * @param int $length
+ */
+ function setKeyLength($length)
+ {
+ switch ($length) {
+ case 160:
+ $length = 192;
+ break;
+ case 224:
+ $length = 256;
+ }
+ parent::setKeyLength($length);
+ }
+
+ /**
+ * Sets the key.
+ *
+ * Rijndael supports five different key lengths, AES only supports three.
+ *
+ * @see \phpseclib\Crypt\Rijndael:setKey()
+ * @see setKeyLength()
+ * @access public
+ * @param string $key
+ */
+ function setKey($key)
+ {
+ parent::setKey($key);
+
+ if (!$this->explicit_key_length) {
+ $length = strlen($key);
+ switch (true) {
+ case $length <= 16:
+ $this->key_length = 16;
+ break;
+ case $length <= 24:
+ $this->key_length = 24;
+ break;
+ default:
+ $this->key_length = 32;
+ }
+ $this->_setEngine();
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Base.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Base.php
new file mode 100644
index 00000000..fd99c44f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Base.php
@@ -0,0 +1,2553 @@
+<?php
+
+/**
+ * Base Class for all \phpseclib\Crypt\* cipher classes
+ *
+ * PHP version 5
+ *
+ * Internally for phpseclib developers:
+ * If you plan to add a new cipher class, please note following rules:
+ *
+ * - The new \phpseclib\Crypt\* cipher class should extend \phpseclib\Crypt\Base
+ *
+ * - Following methods are then required to be overridden/overloaded:
+ *
+ * - _encryptBlock()
+ *
+ * - _decryptBlock()
+ *
+ * - _setupKey()
+ *
+ * - All other methods are optional to be overridden/overloaded
+ *
+ * - Look at the source code of the current ciphers how they extend \phpseclib\Crypt\Base
+ * and take one of them as a start up for the new cipher class.
+ *
+ * - Please read all the other comments/notes/hints here also for each class var/method
+ *
+ * @category Crypt
+ * @package Base
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @author Hans-Juergen Petrich <petrich@tronic-media.com>
+ * @copyright 2007 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Crypt;
+
+/**
+ * Base Class for all \phpseclib\Crypt\* cipher classes
+ *
+ * @package Base
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @author Hans-Juergen Petrich <petrich@tronic-media.com>
+ */
+abstract class Base
+{
+ /**#@+
+ * @access public
+ * @see \phpseclib\Crypt\Base::encrypt()
+ * @see \phpseclib\Crypt\Base::decrypt()
+ */
+ /**
+ * Encrypt / decrypt using the Counter mode.
+ *
+ * Set to -1 since that's what Crypt/Random.php uses to index the CTR mode.
+ *
+ * @link http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Counter_.28CTR.29
+ */
+ const MODE_CTR = -1;
+ /**
+ * Encrypt / decrypt using the Electronic Code Book mode.
+ *
+ * @link http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Electronic_codebook_.28ECB.29
+ */
+ const MODE_ECB = 1;
+ /**
+ * Encrypt / decrypt using the Code Book Chaining mode.
+ *
+ * @link http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Cipher-block_chaining_.28CBC.29
+ */
+ const MODE_CBC = 2;
+ /**
+ * Encrypt / decrypt using the Cipher Feedback mode.
+ *
+ * @link http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Cipher_feedback_.28CFB.29
+ */
+ const MODE_CFB = 3;
+ /**
+ * Encrypt / decrypt using the Output Feedback mode.
+ *
+ * @link http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Output_feedback_.28OFB.29
+ */
+ const MODE_OFB = 4;
+ /**
+ * Encrypt / decrypt using streaming mode.
+ */
+ const MODE_STREAM = 5;
+ /**#@-*/
+
+ /**
+ * Whirlpool available flag
+ *
+ * @see \phpseclib\Crypt\Base::_hashInlineCryptFunction()
+ * @var bool
+ * @access private
+ */
+ static $WHIRLPOOL_AVAILABLE;
+
+ /**#@+
+ * @access private
+ * @see \phpseclib\Crypt\Base::__construct()
+ */
+ /**
+ * Base value for the internal implementation $engine switch
+ */
+ const ENGINE_INTERNAL = 1;
+ /**
+ * Base value for the mcrypt implementation $engine switch
+ */
+ const ENGINE_MCRYPT = 2;
+ /**
+ * Base value for the mcrypt implementation $engine switch
+ */
+ const ENGINE_OPENSSL = 3;
+ /**#@-*/
+
+ /**
+ * The Encryption Mode
+ *
+ * @see self::__construct()
+ * @var int
+ * @access private
+ */
+ var $mode;
+
+ /**
+ * The Block Length of the block cipher
+ *
+ * @var int
+ * @access private
+ */
+ var $block_size = 16;
+
+ /**
+ * The Key
+ *
+ * @see self::setKey()
+ * @var string
+ * @access private
+ */
+ var $key = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
+
+ /**
+ * The Initialization Vector
+ *
+ * @see self::setIV()
+ * @var string
+ * @access private
+ */
+ var $iv;
+
+ /**
+ * A "sliding" Initialization Vector
+ *
+ * @see self::enableContinuousBuffer()
+ * @see self::_clearBuffers()
+ * @var string
+ * @access private
+ */
+ var $encryptIV;
+
+ /**
+ * A "sliding" Initialization Vector
+ *
+ * @see self::enableContinuousBuffer()
+ * @see self::_clearBuffers()
+ * @var string
+ * @access private
+ */
+ var $decryptIV;
+
+ /**
+ * Continuous Buffer status
+ *
+ * @see self::enableContinuousBuffer()
+ * @var bool
+ * @access private
+ */
+ var $continuousBuffer = false;
+
+ /**
+ * Encryption buffer for CTR, OFB and CFB modes
+ *
+ * @see self::encrypt()
+ * @see self::_clearBuffers()
+ * @var array
+ * @access private
+ */
+ var $enbuffer;
+
+ /**
+ * Decryption buffer for CTR, OFB and CFB modes
+ *
+ * @see self::decrypt()
+ * @see self::_clearBuffers()
+ * @var array
+ * @access private
+ */
+ var $debuffer;
+
+ /**
+ * mcrypt resource for encryption
+ *
+ * The mcrypt resource can be recreated every time something needs to be created or it can be created just once.
+ * Since mcrypt operates in continuous mode, by default, it'll need to be recreated when in non-continuous mode.
+ *
+ * @see self::encrypt()
+ * @var resource
+ * @access private
+ */
+ var $enmcrypt;
+
+ /**
+ * mcrypt resource for decryption
+ *
+ * The mcrypt resource can be recreated every time something needs to be created or it can be created just once.
+ * Since mcrypt operates in continuous mode, by default, it'll need to be recreated when in non-continuous mode.
+ *
+ * @see self::decrypt()
+ * @var resource
+ * @access private
+ */
+ var $demcrypt;
+
+ /**
+ * Does the enmcrypt resource need to be (re)initialized?
+ *
+ * @see \phpseclib\Crypt\Twofish::setKey()
+ * @see \phpseclib\Crypt\Twofish::setIV()
+ * @var bool
+ * @access private
+ */
+ var $enchanged = true;
+
+ /**
+ * Does the demcrypt resource need to be (re)initialized?
+ *
+ * @see \phpseclib\Crypt\Twofish::setKey()
+ * @see \phpseclib\Crypt\Twofish::setIV()
+ * @var bool
+ * @access private
+ */
+ var $dechanged = true;
+
+ /**
+ * mcrypt resource for CFB mode
+ *
+ * mcrypt's CFB mode, in (and only in) buffered context,
+ * is broken, so phpseclib implements the CFB mode by it self,
+ * even when the mcrypt php extension is available.
+ *
+ * In order to do the CFB-mode work (fast) phpseclib
+ * use a separate ECB-mode mcrypt resource.
+ *
+ * @link http://phpseclib.sourceforge.net/cfb-demo.phps
+ * @see self::encrypt()
+ * @see self::decrypt()
+ * @see self::_setupMcrypt()
+ * @var resource
+ * @access private
+ */
+ var $ecb;
+
+ /**
+ * Optimizing value while CFB-encrypting
+ *
+ * Only relevant if $continuousBuffer enabled
+ * and $engine == self::ENGINE_MCRYPT
+ *
+ * It's faster to re-init $enmcrypt if
+ * $buffer bytes > $cfb_init_len than
+ * using the $ecb resource furthermore.
+ *
+ * This value depends of the chosen cipher
+ * and the time it would be needed for it's
+ * initialization [by mcrypt_generic_init()]
+ * which, typically, depends on the complexity
+ * on its internaly Key-expanding algorithm.
+ *
+ * @see self::encrypt()
+ * @var int
+ * @access private
+ */
+ var $cfb_init_len = 600;
+
+ /**
+ * Does internal cipher state need to be (re)initialized?
+ *
+ * @see self::setKey()
+ * @see self::setIV()
+ * @see self::disableContinuousBuffer()
+ * @var bool
+ * @access private
+ */
+ var $changed = true;
+
+ /**
+ * Padding status
+ *
+ * @see self::enablePadding()
+ * @var bool
+ * @access private
+ */
+ var $padding = true;
+
+ /**
+ * Is the mode one that is paddable?
+ *
+ * @see self::__construct()
+ * @var bool
+ * @access private
+ */
+ var $paddable = false;
+
+ /**
+ * Holds which crypt engine internaly should be use,
+ * which will be determined automatically on __construct()
+ *
+ * Currently available $engines are:
+ * - self::ENGINE_OPENSSL (very fast, php-extension: openssl, extension_loaded('openssl') required)
+ * - self::ENGINE_MCRYPT (fast, php-extension: mcrypt, extension_loaded('mcrypt') required)
+ * - self::ENGINE_INTERNAL (slower, pure php-engine, no php-extension required)
+ *
+ * @see self::_setEngine()
+ * @see self::encrypt()
+ * @see self::decrypt()
+ * @var int
+ * @access private
+ */
+ var $engine;
+
+ /**
+ * Holds the preferred crypt engine
+ *
+ * @see self::_setEngine()
+ * @see self::setPreferredEngine()
+ * @var int
+ * @access private
+ */
+ var $preferredEngine;
+
+ /**
+ * The mcrypt specific name of the cipher
+ *
+ * Only used if $engine == self::ENGINE_MCRYPT
+ *
+ * @link http://www.php.net/mcrypt_module_open
+ * @link http://www.php.net/mcrypt_list_algorithms
+ * @see self::_setupMcrypt()
+ * @var string
+ * @access private
+ */
+ var $cipher_name_mcrypt;
+
+ /**
+ * The openssl specific name of the cipher
+ *
+ * Only used if $engine == self::ENGINE_OPENSSL
+ *
+ * @link http://www.php.net/openssl-get-cipher-methods
+ * @var string
+ * @access private
+ */
+ var $cipher_name_openssl;
+
+ /**
+ * The openssl specific name of the cipher in ECB mode
+ *
+ * If OpenSSL does not support the mode we're trying to use (CTR)
+ * it can still be emulated with ECB mode.
+ *
+ * @link http://www.php.net/openssl-get-cipher-methods
+ * @var string
+ * @access private
+ */
+ var $cipher_name_openssl_ecb;
+
+ /**
+ * The default salt used by setPassword()
+ *
+ * @see self::setPassword()
+ * @var string
+ * @access private
+ */
+ var $password_default_salt = 'phpseclib/salt';
+
+ /**
+ * The name of the performance-optimized callback function
+ *
+ * Used by encrypt() / decrypt()
+ * only if $engine == self::ENGINE_INTERNAL
+ *
+ * @see self::encrypt()
+ * @see self::decrypt()
+ * @see self::_setupInlineCrypt()
+ * @see self::$use_inline_crypt
+ * @var Callback
+ * @access private
+ */
+ var $inline_crypt;
+
+ /**
+ * Holds whether performance-optimized $inline_crypt() can/should be used.
+ *
+ * @see self::encrypt()
+ * @see self::decrypt()
+ * @see self::inline_crypt
+ * @var mixed
+ * @access private
+ */
+ var $use_inline_crypt;
+
+ /**
+ * If OpenSSL can be used in ECB but not in CTR we can emulate CTR
+ *
+ * @see self::_openssl_ctr_process()
+ * @var bool
+ * @access private
+ */
+ var $openssl_emulate_ctr = false;
+
+ /**
+ * Determines what options are passed to openssl_encrypt/decrypt
+ *
+ * @see self::isValidEngine()
+ * @var mixed
+ * @access private
+ */
+ var $openssl_options;
+
+ /**
+ * Has the key length explicitly been set or should it be derived from the key, itself?
+ *
+ * @see self::setKeyLength()
+ * @var bool
+ * @access private
+ */
+ var $explicit_key_length = false;
+
+ /**
+ * Don't truncate / null pad key
+ *
+ * @see self::_clearBuffers()
+ * @var bool
+ * @access private
+ */
+ var $skip_key_adjustment = false;
+
+ /**
+ * Default Constructor.
+ *
+ * Determines whether or not the mcrypt extension should be used.
+ *
+ * $mode could be:
+ *
+ * - self::MODE_ECB
+ *
+ * - self::MODE_CBC
+ *
+ * - self::MODE_CTR
+ *
+ * - self::MODE_CFB
+ *
+ * - self::MODE_OFB
+ *
+ * If not explicitly set, self::MODE_CBC will be used.
+ *
+ * @param int $mode
+ * @access public
+ */
+ function __construct($mode = self::MODE_CBC)
+ {
+ // $mode dependent settings
+ switch ($mode) {
+ case self::MODE_ECB:
+ $this->paddable = true;
+ $this->mode = self::MODE_ECB;
+ break;
+ case self::MODE_CTR:
+ case self::MODE_CFB:
+ case self::MODE_OFB:
+ case self::MODE_STREAM:
+ $this->mode = $mode;
+ break;
+ case self::MODE_CBC:
+ default:
+ $this->paddable = true;
+ $this->mode = self::MODE_CBC;
+ }
+
+ $this->_setEngine();
+
+ // Determining whether inline crypting can be used by the cipher
+ if ($this->use_inline_crypt !== false && function_exists('create_function')) {
+ $this->use_inline_crypt = true;
+ }
+ }
+
+ /**
+ * Sets the initialization vector. (optional)
+ *
+ * SetIV is not required when self::MODE_ECB (or ie for AES: \phpseclib\Crypt\AES::MODE_ECB) is being used. If not explicitly set, it'll be assumed
+ * to be all zero's.
+ *
+ * @access public
+ * @param string $iv
+ * @internal Can be overwritten by a sub class, but does not have to be
+ */
+ function setIV($iv)
+ {
+ if ($this->mode == self::MODE_ECB) {
+ return;
+ }
+
+ $this->iv = $iv;
+ $this->changed = true;
+ }
+
+ /**
+ * Sets the key length.
+ *
+ * Keys with explicitly set lengths need to be treated accordingly
+ *
+ * @access public
+ * @param int $length
+ */
+ function setKeyLength($length)
+ {
+ $this->explicit_key_length = true;
+ $this->changed = true;
+ $this->_setEngine();
+ }
+
+ /**
+ * Returns the current key length in bits
+ *
+ * @access public
+ * @return int
+ */
+ function getKeyLength()
+ {
+ return $this->key_length << 3;
+ }
+
+ /**
+ * Returns the current block length in bits
+ *
+ * @access public
+ * @return int
+ */
+ function getBlockLength()
+ {
+ return $this->block_size << 3;
+ }
+
+ /**
+ * Sets the key.
+ *
+ * The min/max length(s) of the key depends on the cipher which is used.
+ * If the key not fits the length(s) of the cipher it will paded with null bytes
+ * up to the closest valid key length. If the key is more than max length,
+ * we trim the excess bits.
+ *
+ * If the key is not explicitly set, it'll be assumed to be all null bytes.
+ *
+ * @access public
+ * @param string $key
+ * @internal Could, but not must, extend by the child Crypt_* class
+ */
+ function setKey($key)
+ {
+ if (!$this->explicit_key_length) {
+ $this->setKeyLength(strlen($key) << 3);
+ $this->explicit_key_length = false;
+ }
+
+ $this->key = $key;
+ $this->changed = true;
+ $this->_setEngine();
+ }
+
+ /**
+ * Sets the password.
+ *
+ * Depending on what $method is set to, setPassword()'s (optional) parameters are as follows:
+ * {@link http://en.wikipedia.org/wiki/PBKDF2 pbkdf2} or pbkdf1:
+ * $hash, $salt, $count, $dkLen
+ *
+ * Where $hash (default = sha1) currently supports the following hashes: see: Crypt/Hash.php
+ *
+ * @see Crypt/Hash.php
+ * @param string $password
+ * @param string $method
+ * @return bool
+ * @access public
+ * @internal Could, but not must, extend by the child Crypt_* class
+ */
+ function setPassword($password, $method = 'pbkdf2')
+ {
+ $key = '';
+
+ switch ($method) {
+ default: // 'pbkdf2' or 'pbkdf1'
+ $func_args = func_get_args();
+
+ // Hash function
+ $hash = isset($func_args[2]) ? $func_args[2] : 'sha1';
+
+ // WPA and WPA2 use the SSID as the salt
+ $salt = isset($func_args[3]) ? $func_args[3] : $this->password_default_salt;
+
+ // RFC2898#section-4.2 uses 1,000 iterations by default
+ // WPA and WPA2 use 4,096.
+ $count = isset($func_args[4]) ? $func_args[4] : 1000;
+
+ // Keylength
+ if (isset($func_args[5])) {
+ $dkLen = $func_args[5];
+ } else {
+ $dkLen = $method == 'pbkdf1' ? 2 * $this->key_length : $this->key_length;
+ }
+
+ switch (true) {
+ case $method == 'pbkdf1':
+ $hashObj = new Hash();
+ $hashObj->setHash($hash);
+ if ($dkLen > $hashObj->getLength()) {
+ user_error('Derived key too long');
+ return false;
+ }
+ $t = $password . $salt;
+ for ($i = 0; $i < $count; ++$i) {
+ $t = $hashObj->hash($t);
+ }
+ $key = substr($t, 0, $dkLen);
+
+ $this->setKey(substr($key, 0, $dkLen >> 1));
+ $this->setIV(substr($key, $dkLen >> 1));
+
+ return true;
+ // Determining if php[>=5.5.0]'s hash_pbkdf2() function avail- and useable
+ case !function_exists('hash_pbkdf2'):
+ case !function_exists('hash_algos'):
+ case !in_array($hash, hash_algos()):
+ $i = 1;
+ while (strlen($key) < $dkLen) {
+ $hmac = new Hash();
+ $hmac->setHash($hash);
+ $hmac->setKey($password);
+ $f = $u = $hmac->hash($salt . pack('N', $i++));
+ for ($j = 2; $j <= $count; ++$j) {
+ $u = $hmac->hash($u);
+ $f^= $u;
+ }
+ $key.= $f;
+ }
+ $key = substr($key, 0, $dkLen);
+ break;
+ default:
+ $key = hash_pbkdf2($hash, $password, $salt, $count, $dkLen, true);
+ }
+ }
+
+ $this->setKey($key);
+
+ return true;
+ }
+
+ /**
+ * Encrypts a message.
+ *
+ * $plaintext will be padded with additional bytes such that it's length is a multiple of the block size. Other cipher
+ * implementations may or may not pad in the same manner. Other common approaches to padding and the reasons why it's
+ * necessary are discussed in the following
+ * URL:
+ *
+ * {@link http://www.di-mgt.com.au/cryptopad.html http://www.di-mgt.com.au/cryptopad.html}
+ *
+ * An alternative to padding is to, separately, send the length of the file. This is what SSH, in fact, does.
+ * strlen($plaintext) will still need to be a multiple of the block size, however, arbitrary values can be added to make it that
+ * length.
+ *
+ * @see self::decrypt()
+ * @access public
+ * @param string $plaintext
+ * @return string $ciphertext
+ * @internal Could, but not must, extend by the child Crypt_* class
+ */
+ function encrypt($plaintext)
+ {
+ if ($this->paddable) {
+ $plaintext = $this->_pad($plaintext);
+ }
+
+ if ($this->engine === self::ENGINE_OPENSSL) {
+ if ($this->changed) {
+ $this->_clearBuffers();
+ $this->changed = false;
+ }
+ switch ($this->mode) {
+ case self::MODE_STREAM:
+ return openssl_encrypt($plaintext, $this->cipher_name_openssl, $this->key, $this->openssl_options);
+ case self::MODE_ECB:
+ $result = openssl_encrypt($plaintext, $this->cipher_name_openssl, $this->key, $this->openssl_options);
+ return !defined('OPENSSL_RAW_DATA') ? substr($result, 0, -$this->block_size) : $result;
+ case self::MODE_CBC:
+ $result = openssl_encrypt($plaintext, $this->cipher_name_openssl, $this->key, $this->openssl_options, $this->encryptIV);
+ if (!defined('OPENSSL_RAW_DATA')) {
+ $result = substr($result, 0, -$this->block_size);
+ }
+ if ($this->continuousBuffer) {
+ $this->encryptIV = substr($result, -$this->block_size);
+ }
+ return $result;
+ case self::MODE_CTR:
+ return $this->_openssl_ctr_process($plaintext, $this->encryptIV, $this->enbuffer);
+ case self::MODE_CFB:
+ // cfb loosely routines inspired by openssl's:
+ // {@link http://cvs.openssl.org/fileview?f=openssl/crypto/modes/cfb128.c&v=1.3.2.2.2.1}
+ $ciphertext = '';
+ if ($this->continuousBuffer) {
+ $iv = &$this->encryptIV;
+ $pos = &$this->enbuffer['pos'];
+ } else {
+ $iv = $this->encryptIV;
+ $pos = 0;
+ }
+ $len = strlen($plaintext);
+ $i = 0;
+ if ($pos) {
+ $orig_pos = $pos;
+ $max = $this->block_size - $pos;
+ if ($len >= $max) {
+ $i = $max;
+ $len-= $max;
+ $pos = 0;
+ } else {
+ $i = $len;
+ $pos+= $len;
+ $len = 0;
+ }
+ // ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos%= $blocksize
+ $ciphertext = substr($iv, $orig_pos) ^ $plaintext;
+ $iv = substr_replace($iv, $ciphertext, $orig_pos, $i);
+ $plaintext = substr($plaintext, $i);
+ }
+
+ $overflow = $len % $this->block_size;
+
+ if ($overflow) {
+ $ciphertext.= openssl_encrypt(substr($plaintext, 0, -$overflow) . str_repeat("\0", $this->block_size), $this->cipher_name_openssl, $this->key, $this->openssl_options, $iv);
+ $iv = $this->_string_pop($ciphertext, $this->block_size);
+
+ $size = $len - $overflow;
+ $block = $iv ^ substr($plaintext, -$overflow);
+ $iv = substr_replace($iv, $block, 0, $overflow);
+ $ciphertext.= $block;
+ $pos = $overflow;
+ } elseif ($len) {
+ $ciphertext = openssl_encrypt($plaintext, $this->cipher_name_openssl, $this->key, $this->openssl_options, $iv);
+ $iv = substr($ciphertext, -$this->block_size);
+ }
+
+ return $ciphertext;
+ case self::MODE_OFB:
+ return $this->_openssl_ofb_process($plaintext, $this->encryptIV, $this->enbuffer);
+ }
+ }
+
+ if ($this->engine === self::ENGINE_MCRYPT) {
+ if ($this->changed) {
+ $this->_setupMcrypt();
+ $this->changed = false;
+ }
+ if ($this->enchanged) {
+ @mcrypt_generic_init($this->enmcrypt, $this->key, $this->encryptIV);
+ $this->enchanged = false;
+ }
+
+ // re: {@link http://phpseclib.sourceforge.net/cfb-demo.phps}
+ // using mcrypt's default handing of CFB the above would output two different things. using phpseclib's
+ // rewritten CFB implementation the above outputs the same thing twice.
+ if ($this->mode == self::MODE_CFB && $this->continuousBuffer) {
+ $block_size = $this->block_size;
+ $iv = &$this->encryptIV;
+ $pos = &$this->enbuffer['pos'];
+ $len = strlen($plaintext);
+ $ciphertext = '';
+ $i = 0;
+ if ($pos) {
+ $orig_pos = $pos;
+ $max = $block_size - $pos;
+ if ($len >= $max) {
+ $i = $max;
+ $len-= $max;
+ $pos = 0;
+ } else {
+ $i = $len;
+ $pos+= $len;
+ $len = 0;
+ }
+ $ciphertext = substr($iv, $orig_pos) ^ $plaintext;
+ $iv = substr_replace($iv, $ciphertext, $orig_pos, $i);
+ $this->enbuffer['enmcrypt_init'] = true;
+ }
+ if ($len >= $block_size) {
+ if ($this->enbuffer['enmcrypt_init'] === false || $len > $this->cfb_init_len) {
+ if ($this->enbuffer['enmcrypt_init'] === true) {
+ @mcrypt_generic_init($this->enmcrypt, $this->key, $iv);
+ $this->enbuffer['enmcrypt_init'] = false;
+ }
+ $ciphertext.= @mcrypt_generic($this->enmcrypt, substr($plaintext, $i, $len - $len % $block_size));
+ $iv = substr($ciphertext, -$block_size);
+ $len%= $block_size;
+ } else {
+ while ($len >= $block_size) {
+ $iv = @mcrypt_generic($this->ecb, $iv) ^ substr($plaintext, $i, $block_size);
+ $ciphertext.= $iv;
+ $len-= $block_size;
+ $i+= $block_size;
+ }
+ }
+ }
+
+ if ($len) {
+ $iv = @mcrypt_generic($this->ecb, $iv);
+ $block = $iv ^ substr($plaintext, -$len);
+ $iv = substr_replace($iv, $block, 0, $len);
+ $ciphertext.= $block;
+ $pos = $len;
+ }
+
+ return $ciphertext;
+ }
+
+ $ciphertext = @mcrypt_generic($this->enmcrypt, $plaintext);
+
+ if (!$this->continuousBuffer) {
+ @mcrypt_generic_init($this->enmcrypt, $this->key, $this->encryptIV);
+ }
+
+ return $ciphertext;
+ }
+
+ if ($this->changed) {
+ $this->_setup();
+ $this->changed = false;
+ }
+ if ($this->use_inline_crypt) {
+ $inline = $this->inline_crypt;
+ return $inline('encrypt', $this, $plaintext);
+ }
+
+ $buffer = &$this->enbuffer;
+ $block_size = $this->block_size;
+ $ciphertext = '';
+ switch ($this->mode) {
+ case self::MODE_ECB:
+ for ($i = 0; $i < strlen($plaintext); $i+=$block_size) {
+ $ciphertext.= $this->_encryptBlock(substr($plaintext, $i, $block_size));
+ }
+ break;
+ case self::MODE_CBC:
+ $xor = $this->encryptIV;
+ for ($i = 0; $i < strlen($plaintext); $i+=$block_size) {
+ $block = substr($plaintext, $i, $block_size);
+ $block = $this->_encryptBlock($block ^ $xor);
+ $xor = $block;
+ $ciphertext.= $block;
+ }
+ if ($this->continuousBuffer) {
+ $this->encryptIV = $xor;
+ }
+ break;
+ case self::MODE_CTR:
+ $xor = $this->encryptIV;
+ if (strlen($buffer['ciphertext'])) {
+ for ($i = 0; $i < strlen($plaintext); $i+=$block_size) {
+ $block = substr($plaintext, $i, $block_size);
+ if (strlen($block) > strlen($buffer['ciphertext'])) {
+ $buffer['ciphertext'].= $this->_encryptBlock($xor);
+ }
+ $this->_increment_str($xor);
+ $key = $this->_string_shift($buffer['ciphertext'], $block_size);
+ $ciphertext.= $block ^ $key;
+ }
+ } else {
+ for ($i = 0; $i < strlen($plaintext); $i+=$block_size) {
+ $block = substr($plaintext, $i, $block_size);
+ $key = $this->_encryptBlock($xor);
+ $this->_increment_str($xor);
+ $ciphertext.= $block ^ $key;
+ }
+ }
+ if ($this->continuousBuffer) {
+ $this->encryptIV = $xor;
+ if ($start = strlen($plaintext) % $block_size) {
+ $buffer['ciphertext'] = substr($key, $start) . $buffer['ciphertext'];
+ }
+ }
+ break;
+ case self::MODE_CFB:
+ // cfb loosely routines inspired by openssl's:
+ // {@link http://cvs.openssl.org/fileview?f=openssl/crypto/modes/cfb128.c&v=1.3.2.2.2.1}
+ if ($this->continuousBuffer) {
+ $iv = &$this->encryptIV;
+ $pos = &$buffer['pos'];
+ } else {
+ $iv = $this->encryptIV;
+ $pos = 0;
+ }
+ $len = strlen($plaintext);
+ $i = 0;
+ if ($pos) {
+ $orig_pos = $pos;
+ $max = $block_size - $pos;
+ if ($len >= $max) {
+ $i = $max;
+ $len-= $max;
+ $pos = 0;
+ } else {
+ $i = $len;
+ $pos+= $len;
+ $len = 0;
+ }
+ // ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos%= $blocksize
+ $ciphertext = substr($iv, $orig_pos) ^ $plaintext;
+ $iv = substr_replace($iv, $ciphertext, $orig_pos, $i);
+ }
+ while ($len >= $block_size) {
+ $iv = $this->_encryptBlock($iv) ^ substr($plaintext, $i, $block_size);
+ $ciphertext.= $iv;
+ $len-= $block_size;
+ $i+= $block_size;
+ }
+ if ($len) {
+ $iv = $this->_encryptBlock($iv);
+ $block = $iv ^ substr($plaintext, $i);
+ $iv = substr_replace($iv, $block, 0, $len);
+ $ciphertext.= $block;
+ $pos = $len;
+ }
+ break;
+ case self::MODE_OFB:
+ $xor = $this->encryptIV;
+ if (strlen($buffer['xor'])) {
+ for ($i = 0; $i < strlen($plaintext); $i+=$block_size) {
+ $block = substr($plaintext, $i, $block_size);
+ if (strlen($block) > strlen($buffer['xor'])) {
+ $xor = $this->_encryptBlock($xor);
+ $buffer['xor'].= $xor;
+ }
+ $key = $this->_string_shift($buffer['xor'], $block_size);
+ $ciphertext.= $block ^ $key;
+ }
+ } else {
+ for ($i = 0; $i < strlen($plaintext); $i+=$block_size) {
+ $xor = $this->_encryptBlock($xor);
+ $ciphertext.= substr($plaintext, $i, $block_size) ^ $xor;
+ }
+ $key = $xor;
+ }
+ if ($this->continuousBuffer) {
+ $this->encryptIV = $xor;
+ if ($start = strlen($plaintext) % $block_size) {
+ $buffer['xor'] = substr($key, $start) . $buffer['xor'];
+ }
+ }
+ break;
+ case self::MODE_STREAM:
+ $ciphertext = $this->_encryptBlock($plaintext);
+ break;
+ }
+
+ return $ciphertext;
+ }
+
+ /**
+ * Decrypts a message.
+ *
+ * If strlen($ciphertext) is not a multiple of the block size, null bytes will be added to the end of the string until
+ * it is.
+ *
+ * @see self::encrypt()
+ * @access public
+ * @param string $ciphertext
+ * @return string $plaintext
+ * @internal Could, but not must, extend by the child Crypt_* class
+ */
+ function decrypt($ciphertext)
+ {
+ if ($this->paddable) {
+ // we pad with chr(0) since that's what mcrypt_generic does. to quote from {@link http://www.php.net/function.mcrypt-generic}:
+ // "The data is padded with "\0" to make sure the length of the data is n * blocksize."
+ $ciphertext = str_pad($ciphertext, strlen($ciphertext) + ($this->block_size - strlen($ciphertext) % $this->block_size) % $this->block_size, chr(0));
+ }
+
+ if ($this->engine === self::ENGINE_OPENSSL) {
+ if ($this->changed) {
+ $this->_clearBuffers();
+ $this->changed = false;
+ }
+ switch ($this->mode) {
+ case self::MODE_STREAM:
+ $plaintext = openssl_decrypt($ciphertext, $this->cipher_name_openssl, $this->key, $this->openssl_options);
+ break;
+ case self::MODE_ECB:
+ if (!defined('OPENSSL_RAW_DATA')) {
+ $ciphertext.= openssl_encrypt('', $this->cipher_name_openssl_ecb, $this->key, true);
+ }
+ $plaintext = openssl_decrypt($ciphertext, $this->cipher_name_openssl, $this->key, $this->openssl_options);
+ break;
+ case self::MODE_CBC:
+ if (!defined('OPENSSL_RAW_DATA')) {
+ $padding = str_repeat(chr($this->block_size), $this->block_size) ^ substr($ciphertext, -$this->block_size);
+ $ciphertext.= substr(openssl_encrypt($padding, $this->cipher_name_openssl_ecb, $this->key, true), 0, $this->block_size);
+ $offset = 2 * $this->block_size;
+ } else {
+ $offset = $this->block_size;
+ }
+ $plaintext = openssl_decrypt($ciphertext, $this->cipher_name_openssl, $this->key, $this->openssl_options, $this->decryptIV);
+ if ($this->continuousBuffer) {
+ $this->decryptIV = substr($ciphertext, -$offset, $this->block_size);
+ }
+ break;
+ case self::MODE_CTR:
+ $plaintext = $this->_openssl_ctr_process($ciphertext, $this->decryptIV, $this->debuffer);
+ break;
+ case self::MODE_CFB:
+ // cfb loosely routines inspired by openssl's:
+ // {@link http://cvs.openssl.org/fileview?f=openssl/crypto/modes/cfb128.c&v=1.3.2.2.2.1}
+ $plaintext = '';
+ if ($this->continuousBuffer) {
+ $iv = &$this->decryptIV;
+ $pos = &$this->buffer['pos'];
+ } else {
+ $iv = $this->decryptIV;
+ $pos = 0;
+ }
+ $len = strlen($ciphertext);
+ $i = 0;
+ if ($pos) {
+ $orig_pos = $pos;
+ $max = $this->block_size - $pos;
+ if ($len >= $max) {
+ $i = $max;
+ $len-= $max;
+ $pos = 0;
+ } else {
+ $i = $len;
+ $pos+= $len;
+ $len = 0;
+ }
+ // ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos%= $this->blocksize
+ $plaintext = substr($iv, $orig_pos) ^ $ciphertext;
+ $iv = substr_replace($iv, substr($ciphertext, 0, $i), $orig_pos, $i);
+ $ciphertext = substr($ciphertext, $i);
+ }
+ $overflow = $len % $this->block_size;
+ if ($overflow) {
+ $plaintext.= openssl_decrypt(substr($ciphertext, 0, -$overflow), $this->cipher_name_openssl, $this->key, $this->openssl_options, $iv);
+ if ($len - $overflow) {
+ $iv = substr($ciphertext, -$overflow - $this->block_size, -$overflow);
+ }
+ $iv = openssl_encrypt(str_repeat("\0", $this->block_size), $this->cipher_name_openssl, $this->key, $this->openssl_options, $iv);
+ $plaintext.= $iv ^ substr($ciphertext, -$overflow);
+ $iv = substr_replace($iv, substr($ciphertext, -$overflow), 0, $overflow);
+ $pos = $overflow;
+ } elseif ($len) {
+ $plaintext.= openssl_decrypt($ciphertext, $this->cipher_name_openssl, $this->key, $this->openssl_options, $iv);
+ $iv = substr($ciphertext, -$this->block_size);
+ }
+ break;
+ case self::MODE_OFB:
+ $plaintext = $this->_openssl_ofb_process($ciphertext, $this->decryptIV, $this->debuffer);
+ }
+
+ return $this->paddable ? $this->_unpad($plaintext) : $plaintext;
+ }
+
+ if ($this->engine === self::ENGINE_MCRYPT) {
+ $block_size = $this->block_size;
+ if ($this->changed) {
+ $this->_setupMcrypt();
+ $this->changed = false;
+ }
+ if ($this->dechanged) {
+ @mcrypt_generic_init($this->demcrypt, $this->key, $this->decryptIV);
+ $this->dechanged = false;
+ }
+
+ if ($this->mode == self::MODE_CFB && $this->continuousBuffer) {
+ $iv = &$this->decryptIV;
+ $pos = &$this->debuffer['pos'];
+ $len = strlen($ciphertext);
+ $plaintext = '';
+ $i = 0;
+ if ($pos) {
+ $orig_pos = $pos;
+ $max = $block_size - $pos;
+ if ($len >= $max) {
+ $i = $max;
+ $len-= $max;
+ $pos = 0;
+ } else {
+ $i = $len;
+ $pos+= $len;
+ $len = 0;
+ }
+ // ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos%= $blocksize
+ $plaintext = substr($iv, $orig_pos) ^ $ciphertext;
+ $iv = substr_replace($iv, substr($ciphertext, 0, $i), $orig_pos, $i);
+ }
+ if ($len >= $block_size) {
+ $cb = substr($ciphertext, $i, $len - $len % $block_size);
+ $plaintext.= @mcrypt_generic($this->ecb, $iv . $cb) ^ $cb;
+ $iv = substr($cb, -$block_size);
+ $len%= $block_size;
+ }
+ if ($len) {
+ $iv = @mcrypt_generic($this->ecb, $iv);
+ $plaintext.= $iv ^ substr($ciphertext, -$len);
+ $iv = substr_replace($iv, substr($ciphertext, -$len), 0, $len);
+ $pos = $len;
+ }
+
+ return $plaintext;
+ }
+
+ $plaintext = @mdecrypt_generic($this->demcrypt, $ciphertext);
+
+ if (!$this->continuousBuffer) {
+ @mcrypt_generic_init($this->demcrypt, $this->key, $this->decryptIV);
+ }
+
+ return $this->paddable ? $this->_unpad($plaintext) : $plaintext;
+ }
+
+ if ($this->changed) {
+ $this->_setup();
+ $this->changed = false;
+ }
+ if ($this->use_inline_crypt) {
+ $inline = $this->inline_crypt;
+ return $inline('decrypt', $this, $ciphertext);
+ }
+
+ $block_size = $this->block_size;
+
+ $buffer = &$this->debuffer;
+ $plaintext = '';
+ switch ($this->mode) {
+ case self::MODE_ECB:
+ for ($i = 0; $i < strlen($ciphertext); $i+=$block_size) {
+ $plaintext.= $this->_decryptBlock(substr($ciphertext, $i, $block_size));
+ }
+ break;
+ case self::MODE_CBC:
+ $xor = $this->decryptIV;
+ for ($i = 0; $i < strlen($ciphertext); $i+=$block_size) {
+ $block = substr($ciphertext, $i, $block_size);
+ $plaintext.= $this->_decryptBlock($block) ^ $xor;
+ $xor = $block;
+ }
+ if ($this->continuousBuffer) {
+ $this->decryptIV = $xor;
+ }
+ break;
+ case self::MODE_CTR:
+ $xor = $this->decryptIV;
+ if (strlen($buffer['ciphertext'])) {
+ for ($i = 0; $i < strlen($ciphertext); $i+=$block_size) {
+ $block = substr($ciphertext, $i, $block_size);
+ if (strlen($block) > strlen($buffer['ciphertext'])) {
+ $buffer['ciphertext'].= $this->_encryptBlock($xor);
+ $this->_increment_str($xor);
+ }
+ $key = $this->_string_shift($buffer['ciphertext'], $block_size);
+ $plaintext.= $block ^ $key;
+ }
+ } else {
+ for ($i = 0; $i < strlen($ciphertext); $i+=$block_size) {
+ $block = substr($ciphertext, $i, $block_size);
+ $key = $this->_encryptBlock($xor);
+ $this->_increment_str($xor);
+ $plaintext.= $block ^ $key;
+ }
+ }
+ if ($this->continuousBuffer) {
+ $this->decryptIV = $xor;
+ if ($start = strlen($ciphertext) % $block_size) {
+ $buffer['ciphertext'] = substr($key, $start) . $buffer['ciphertext'];
+ }
+ }
+ break;
+ case self::MODE_CFB:
+ if ($this->continuousBuffer) {
+ $iv = &$this->decryptIV;
+ $pos = &$buffer['pos'];
+ } else {
+ $iv = $this->decryptIV;
+ $pos = 0;
+ }
+ $len = strlen($ciphertext);
+ $i = 0;
+ if ($pos) {
+ $orig_pos = $pos;
+ $max = $block_size - $pos;
+ if ($len >= $max) {
+ $i = $max;
+ $len-= $max;
+ $pos = 0;
+ } else {
+ $i = $len;
+ $pos+= $len;
+ $len = 0;
+ }
+ // ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos%= $blocksize
+ $plaintext = substr($iv, $orig_pos) ^ $ciphertext;
+ $iv = substr_replace($iv, substr($ciphertext, 0, $i), $orig_pos, $i);
+ }
+ while ($len >= $block_size) {
+ $iv = $this->_encryptBlock($iv);
+ $cb = substr($ciphertext, $i, $block_size);
+ $plaintext.= $iv ^ $cb;
+ $iv = $cb;
+ $len-= $block_size;
+ $i+= $block_size;
+ }
+ if ($len) {
+ $iv = $this->_encryptBlock($iv);
+ $plaintext.= $iv ^ substr($ciphertext, $i);
+ $iv = substr_replace($iv, substr($ciphertext, $i), 0, $len);
+ $pos = $len;
+ }
+ break;
+ case self::MODE_OFB:
+ $xor = $this->decryptIV;
+ if (strlen($buffer['xor'])) {
+ for ($i = 0; $i < strlen($ciphertext); $i+=$block_size) {
+ $block = substr($ciphertext, $i, $block_size);
+ if (strlen($block) > strlen($buffer['xor'])) {
+ $xor = $this->_encryptBlock($xor);
+ $buffer['xor'].= $xor;
+ }
+ $key = $this->_string_shift($buffer['xor'], $block_size);
+ $plaintext.= $block ^ $key;
+ }
+ } else {
+ for ($i = 0; $i < strlen($ciphertext); $i+=$block_size) {
+ $xor = $this->_encryptBlock($xor);
+ $plaintext.= substr($ciphertext, $i, $block_size) ^ $xor;
+ }
+ $key = $xor;
+ }
+ if ($this->continuousBuffer) {
+ $this->decryptIV = $xor;
+ if ($start = strlen($ciphertext) % $block_size) {
+ $buffer['xor'] = substr($key, $start) . $buffer['xor'];
+ }
+ }
+ break;
+ case self::MODE_STREAM:
+ $plaintext = $this->_decryptBlock($ciphertext);
+ break;
+ }
+ return $this->paddable ? $this->_unpad($plaintext) : $plaintext;
+ }
+
+ /**
+ * OpenSSL CTR Processor
+ *
+ * PHP's OpenSSL bindings do not operate in continuous mode so we'll wrap around it. Since the keystream
+ * for CTR is the same for both encrypting and decrypting this function is re-used by both Base::encrypt()
+ * and Base::decrypt(). Also, OpenSSL doesn't implement CTR for all of it's symmetric ciphers so this
+ * function will emulate CTR with ECB when necessary.
+ *
+ * @see self::encrypt()
+ * @see self::decrypt()
+ * @param string $plaintext
+ * @param string $encryptIV
+ * @param array $buffer
+ * @return string
+ * @access private
+ */
+ function _openssl_ctr_process($plaintext, &$encryptIV, &$buffer)
+ {
+ $ciphertext = '';
+
+ $block_size = $this->block_size;
+ $key = $this->key;
+
+ if ($this->openssl_emulate_ctr) {
+ $xor = $encryptIV;
+ if (strlen($buffer['ciphertext'])) {
+ for ($i = 0; $i < strlen($plaintext); $i+=$block_size) {
+ $block = substr($plaintext, $i, $block_size);
+ if (strlen($block) > strlen($buffer['ciphertext'])) {
+ $result = openssl_encrypt($xor, $this->cipher_name_openssl_ecb, $key, $this->openssl_options);
+ $result = !defined('OPENSSL_RAW_DATA') ? substr($result, 0, -$this->block_size) : $result;
+ $buffer['ciphertext'].= $result;
+ }
+ $this->_increment_str($xor);
+ $otp = $this->_string_shift($buffer['ciphertext'], $block_size);
+ $ciphertext.= $block ^ $otp;
+ }
+ } else {
+ for ($i = 0; $i < strlen($plaintext); $i+=$block_size) {
+ $block = substr($plaintext, $i, $block_size);
+ $otp = openssl_encrypt($xor, $this->cipher_name_openssl_ecb, $key, $this->openssl_options);
+ $otp = !defined('OPENSSL_RAW_DATA') ? substr($otp, 0, -$this->block_size) : $otp;
+ $this->_increment_str($xor);
+ $ciphertext.= $block ^ $otp;
+ }
+ }
+ if ($this->continuousBuffer) {
+ $encryptIV = $xor;
+ if ($start = strlen($plaintext) % $block_size) {
+ $buffer['ciphertext'] = substr($key, $start) . $buffer['ciphertext'];
+ }
+ }
+
+ return $ciphertext;
+ }
+
+ if (strlen($buffer['ciphertext'])) {
+ $ciphertext = $plaintext ^ $this->_string_shift($buffer['ciphertext'], strlen($plaintext));
+ $plaintext = substr($plaintext, strlen($ciphertext));
+
+ if (!strlen($plaintext)) {
+ return $ciphertext;
+ }
+ }
+
+ $overflow = strlen($plaintext) % $block_size;
+ if ($overflow) {
+ $plaintext2 = $this->_string_pop($plaintext, $overflow); // ie. trim $plaintext to a multiple of $block_size and put rest of $plaintext in $plaintext2
+ $encrypted = openssl_encrypt($plaintext . str_repeat("\0", $block_size), $this->cipher_name_openssl, $key, $this->openssl_options, $encryptIV);
+ $temp = $this->_string_pop($encrypted, $block_size);
+ $ciphertext.= $encrypted . ($plaintext2 ^ $temp);
+ if ($this->continuousBuffer) {
+ $buffer['ciphertext'] = substr($temp, $overflow);
+ $encryptIV = $temp;
+ }
+ } elseif (!strlen($buffer['ciphertext'])) {
+ $ciphertext.= openssl_encrypt($plaintext . str_repeat("\0", $block_size), $this->cipher_name_openssl, $key, $this->openssl_options, $encryptIV);
+ $temp = $this->_string_pop($ciphertext, $block_size);
+ if ($this->continuousBuffer) {
+ $encryptIV = $temp;
+ }
+ }
+ if ($this->continuousBuffer) {
+ if (!defined('OPENSSL_RAW_DATA')) {
+ $encryptIV.= openssl_encrypt('', $this->cipher_name_openssl_ecb, $key, $this->openssl_options);
+ }
+ $encryptIV = openssl_decrypt($encryptIV, $this->cipher_name_openssl_ecb, $key, $this->openssl_options);
+ if ($overflow) {
+ $this->_increment_str($encryptIV);
+ }
+ }
+
+ return $ciphertext;
+ }
+
+ /**
+ * OpenSSL OFB Processor
+ *
+ * PHP's OpenSSL bindings do not operate in continuous mode so we'll wrap around it. Since the keystream
+ * for OFB is the same for both encrypting and decrypting this function is re-used by both Base::encrypt()
+ * and Base::decrypt().
+ *
+ * @see self::encrypt()
+ * @see self::decrypt()
+ * @param string $plaintext
+ * @param string $encryptIV
+ * @param array $buffer
+ * @return string
+ * @access private
+ */
+ function _openssl_ofb_process($plaintext, &$encryptIV, &$buffer)
+ {
+ if (strlen($buffer['xor'])) {
+ $ciphertext = $plaintext ^ $buffer['xor'];
+ $buffer['xor'] = substr($buffer['xor'], strlen($ciphertext));
+ $plaintext = substr($plaintext, strlen($ciphertext));
+ } else {
+ $ciphertext = '';
+ }
+
+ $block_size = $this->block_size;
+
+ $len = strlen($plaintext);
+ $key = $this->key;
+ $overflow = $len % $block_size;
+
+ if (strlen($plaintext)) {
+ if ($overflow) {
+ $ciphertext.= openssl_encrypt(substr($plaintext, 0, -$overflow) . str_repeat("\0", $block_size), $this->cipher_name_openssl, $key, $this->openssl_options, $encryptIV);
+ $xor = $this->_string_pop($ciphertext, $block_size);
+ if ($this->continuousBuffer) {
+ $encryptIV = $xor;
+ }
+ $ciphertext.= $this->_string_shift($xor, $overflow) ^ substr($plaintext, -$overflow);
+ if ($this->continuousBuffer) {
+ $buffer['xor'] = $xor;
+ }
+ } else {
+ $ciphertext = openssl_encrypt($plaintext, $this->cipher_name_openssl, $key, $this->openssl_options, $encryptIV);
+ if ($this->continuousBuffer) {
+ $encryptIV = substr($ciphertext, -$block_size) ^ substr($plaintext, -$block_size);
+ }
+ }
+ }
+
+ return $ciphertext;
+ }
+
+ /**
+ * phpseclib <-> OpenSSL Mode Mapper
+ *
+ * May need to be overwritten by classes extending this one in some cases
+ *
+ * @return int
+ * @access private
+ */
+ function _openssl_translate_mode()
+ {
+ switch ($this->mode) {
+ case self::MODE_ECB:
+ return 'ecb';
+ case self::MODE_CBC:
+ return 'cbc';
+ case self::MODE_CTR:
+ return 'ctr';
+ case self::MODE_CFB:
+ return 'cfb';
+ case self::MODE_OFB:
+ return 'ofb';
+ }
+ }
+
+ /**
+ * Pad "packets".
+ *
+ * Block ciphers working by encrypting between their specified [$this->]block_size at a time
+ * If you ever need to encrypt or decrypt something that isn't of the proper length, it becomes necessary to
+ * pad the input so that it is of the proper length.
+ *
+ * Padding is enabled by default. Sometimes, however, it is undesirable to pad strings. Such is the case in SSH,
+ * where "packets" are padded with random bytes before being encrypted. Unpad these packets and you risk stripping
+ * away characters that shouldn't be stripped away. (SSH knows how many bytes are added because the length is
+ * transmitted separately)
+ *
+ * @see self::disablePadding()
+ * @access public
+ */
+ function enablePadding()
+ {
+ $this->padding = true;
+ }
+
+ /**
+ * Do not pad packets.
+ *
+ * @see self::enablePadding()
+ * @access public
+ */
+ function disablePadding()
+ {
+ $this->padding = false;
+ }
+
+ /**
+ * Treat consecutive "packets" as if they are a continuous buffer.
+ *
+ * Say you have a 32-byte plaintext $plaintext. Using the default behavior, the two following code snippets
+ * will yield different outputs:
+ *
+ * <code>
+ * echo $rijndael->encrypt(substr($plaintext, 0, 16));
+ * echo $rijndael->encrypt(substr($plaintext, 16, 16));
+ * </code>
+ * <code>
+ * echo $rijndael->encrypt($plaintext);
+ * </code>
+ *
+ * The solution is to enable the continuous buffer. Although this will resolve the above discrepancy, it creates
+ * another, as demonstrated with the following:
+ *
+ * <code>
+ * $rijndael->encrypt(substr($plaintext, 0, 16));
+ * echo $rijndael->decrypt($rijndael->encrypt(substr($plaintext, 16, 16)));
+ * </code>
+ * <code>
+ * echo $rijndael->decrypt($rijndael->encrypt(substr($plaintext, 16, 16)));
+ * </code>
+ *
+ * With the continuous buffer disabled, these would yield the same output. With it enabled, they yield different
+ * outputs. The reason is due to the fact that the initialization vector's change after every encryption /
+ * decryption round when the continuous buffer is enabled. When it's disabled, they remain constant.
+ *
+ * Put another way, when the continuous buffer is enabled, the state of the \phpseclib\Crypt\*() object changes after each
+ * encryption / decryption round, whereas otherwise, it'd remain constant. For this reason, it's recommended that
+ * continuous buffers not be used. They do offer better security and are, in fact, sometimes required (SSH uses them),
+ * however, they are also less intuitive and more likely to cause you problems.
+ *
+ * @see self::disableContinuousBuffer()
+ * @access public
+ * @internal Could, but not must, extend by the child Crypt_* class
+ */
+ function enableContinuousBuffer()
+ {
+ if ($this->mode == self::MODE_ECB) {
+ return;
+ }
+
+ $this->continuousBuffer = true;
+
+ $this->_setEngine();
+ }
+
+ /**
+ * Treat consecutive packets as if they are a discontinuous buffer.
+ *
+ * The default behavior.
+ *
+ * @see self::enableContinuousBuffer()
+ * @access public
+ * @internal Could, but not must, extend by the child Crypt_* class
+ */
+ function disableContinuousBuffer()
+ {
+ if ($this->mode == self::MODE_ECB) {
+ return;
+ }
+ if (!$this->continuousBuffer) {
+ return;
+ }
+
+ $this->continuousBuffer = false;
+ $this->changed = true;
+
+ $this->_setEngine();
+ }
+
+ /**
+ * Test for engine validity
+ *
+ * @see self::__construct()
+ * @param int $engine
+ * @access public
+ * @return bool
+ */
+ function isValidEngine($engine)
+ {
+ switch ($engine) {
+ case self::ENGINE_OPENSSL:
+ if ($this->mode == self::MODE_STREAM && $this->continuousBuffer) {
+ return false;
+ }
+ $this->openssl_emulate_ctr = false;
+ $result = $this->cipher_name_openssl &&
+ extension_loaded('openssl') &&
+ // PHP 5.3.0 - 5.3.2 did not let you set IV's
+ version_compare(PHP_VERSION, '5.3.3', '>=');
+ if (!$result) {
+ return false;
+ }
+
+ // prior to PHP 5.4.0 OPENSSL_RAW_DATA and OPENSSL_ZERO_PADDING were not defined. instead of expecting an integer
+ // $options openssl_encrypt expected a boolean $raw_data.
+ if (!defined('OPENSSL_RAW_DATA')) {
+ $this->openssl_options = true;
+ } else {
+ $this->openssl_options = OPENSSL_RAW_DATA | OPENSSL_ZERO_PADDING;
+ }
+
+ $methods = openssl_get_cipher_methods();
+ if (in_array($this->cipher_name_openssl, $methods)) {
+ return true;
+ }
+ // not all of openssl's symmetric cipher's support ctr. for those
+ // that don't we'll emulate it
+ switch ($this->mode) {
+ case self::MODE_CTR:
+ if (in_array($this->cipher_name_openssl_ecb, $methods)) {
+ $this->openssl_emulate_ctr = true;
+ return true;
+ }
+ }
+ return false;
+ case self::ENGINE_MCRYPT:
+ return $this->cipher_name_mcrypt &&
+ extension_loaded('mcrypt') &&
+ in_array($this->cipher_name_mcrypt, @mcrypt_list_algorithms());
+ case self::ENGINE_INTERNAL:
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Sets the preferred crypt engine
+ *
+ * Currently, $engine could be:
+ *
+ * - \phpseclib\Crypt\Base::ENGINE_OPENSSL [very fast]
+ *
+ * - \phpseclib\Crypt\Base::ENGINE_MCRYPT [fast]
+ *
+ * - \phpseclib\Crypt\Base::ENGINE_INTERNAL [slow]
+ *
+ * If the preferred crypt engine is not available the fastest available one will be used
+ *
+ * @see self::__construct()
+ * @param int $engine
+ * @access public
+ */
+ function setPreferredEngine($engine)
+ {
+ switch ($engine) {
+ //case self::ENGINE_OPENSSL;
+ case self::ENGINE_MCRYPT:
+ case self::ENGINE_INTERNAL:
+ $this->preferredEngine = $engine;
+ break;
+ default:
+ $this->preferredEngine = self::ENGINE_OPENSSL;
+ }
+
+ $this->_setEngine();
+ }
+
+ /**
+ * Returns the engine currently being utilized
+ *
+ * @see self::_setEngine()
+ * @access public
+ */
+ function getEngine()
+ {
+ return $this->engine;
+ }
+
+ /**
+ * Sets the engine as appropriate
+ *
+ * @see self::__construct()
+ * @access private
+ */
+ function _setEngine()
+ {
+ $this->engine = null;
+
+ $candidateEngines = array(
+ $this->preferredEngine,
+ self::ENGINE_OPENSSL,
+ self::ENGINE_MCRYPT
+ );
+ foreach ($candidateEngines as $engine) {
+ if ($this->isValidEngine($engine)) {
+ $this->engine = $engine;
+ break;
+ }
+ }
+ if (!$this->engine) {
+ $this->engine = self::ENGINE_INTERNAL;
+ }
+
+ if ($this->engine != self::ENGINE_MCRYPT && $this->enmcrypt) {
+ // Closing the current mcrypt resource(s). _mcryptSetup() will, if needed,
+ // (re)open them with the module named in $this->cipher_name_mcrypt
+ @mcrypt_module_close($this->enmcrypt);
+ @mcrypt_module_close($this->demcrypt);
+ $this->enmcrypt = null;
+ $this->demcrypt = null;
+
+ if ($this->ecb) {
+ @mcrypt_module_close($this->ecb);
+ $this->ecb = null;
+ }
+ }
+
+ $this->changed = true;
+ }
+
+ /**
+ * Encrypts a block
+ *
+ * Note: Must be extended by the child \phpseclib\Crypt\* class
+ *
+ * @access private
+ * @param string $in
+ * @return string
+ */
+ abstract function _encryptBlock($in);
+
+ /**
+ * Decrypts a block
+ *
+ * Note: Must be extended by the child \phpseclib\Crypt\* class
+ *
+ * @access private
+ * @param string $in
+ * @return string
+ */
+ abstract function _decryptBlock($in);
+
+ /**
+ * Setup the key (expansion)
+ *
+ * Only used if $engine == self::ENGINE_INTERNAL
+ *
+ * Note: Must extend by the child \phpseclib\Crypt\* class
+ *
+ * @see self::_setup()
+ * @access private
+ */
+ abstract function _setupKey();
+
+ /**
+ * Setup the self::ENGINE_INTERNAL $engine
+ *
+ * (re)init, if necessary, the internal cipher $engine and flush all $buffers
+ * Used (only) if $engine == self::ENGINE_INTERNAL
+ *
+ * _setup() will be called each time if $changed === true
+ * typically this happens when using one or more of following public methods:
+ *
+ * - setKey()
+ *
+ * - setIV()
+ *
+ * - disableContinuousBuffer()
+ *
+ * - First run of encrypt() / decrypt() with no init-settings
+ *
+ * @see self::setKey()
+ * @see self::setIV()
+ * @see self::disableContinuousBuffer()
+ * @access private
+ * @internal _setup() is always called before en/decryption.
+ * @internal Could, but not must, extend by the child Crypt_* class
+ */
+ function _setup()
+ {
+ $this->_clearBuffers();
+ $this->_setupKey();
+
+ if ($this->use_inline_crypt) {
+ $this->_setupInlineCrypt();
+ }
+ }
+
+ /**
+ * Setup the self::ENGINE_MCRYPT $engine
+ *
+ * (re)init, if necessary, the (ext)mcrypt resources and flush all $buffers
+ * Used (only) if $engine = self::ENGINE_MCRYPT
+ *
+ * _setupMcrypt() will be called each time if $changed === true
+ * typically this happens when using one or more of following public methods:
+ *
+ * - setKey()
+ *
+ * - setIV()
+ *
+ * - disableContinuousBuffer()
+ *
+ * - First run of encrypt() / decrypt()
+ *
+ * @see self::setKey()
+ * @see self::setIV()
+ * @see self::disableContinuousBuffer()
+ * @access private
+ * @internal Could, but not must, extend by the child Crypt_* class
+ */
+ function _setupMcrypt()
+ {
+ $this->_clearBuffers();
+ $this->enchanged = $this->dechanged = true;
+
+ if (!isset($this->enmcrypt)) {
+ static $mcrypt_modes = array(
+ self::MODE_CTR => 'ctr',
+ self::MODE_ECB => MCRYPT_MODE_ECB,
+ self::MODE_CBC => MCRYPT_MODE_CBC,
+ self::MODE_CFB => 'ncfb',
+ self::MODE_OFB => MCRYPT_MODE_NOFB,
+ self::MODE_STREAM => MCRYPT_MODE_STREAM,
+ );
+
+ $this->demcrypt = @mcrypt_module_open($this->cipher_name_mcrypt, '', $mcrypt_modes[$this->mode], '');
+ $this->enmcrypt = @mcrypt_module_open($this->cipher_name_mcrypt, '', $mcrypt_modes[$this->mode], '');
+
+ // we need the $ecb mcrypt resource (only) in MODE_CFB with enableContinuousBuffer()
+ // to workaround mcrypt's broken ncfb implementation in buffered mode
+ // see: {@link http://phpseclib.sourceforge.net/cfb-demo.phps}
+ if ($this->mode == self::MODE_CFB) {
+ $this->ecb = @mcrypt_module_open($this->cipher_name_mcrypt, '', MCRYPT_MODE_ECB, '');
+ }
+ } // else should mcrypt_generic_deinit be called?
+
+ if ($this->mode == self::MODE_CFB) {
+ @mcrypt_generic_init($this->ecb, $this->key, str_repeat("\0", $this->block_size));
+ }
+ }
+
+ /**
+ * Pads a string
+ *
+ * Pads a string using the RSA PKCS padding standards so that its length is a multiple of the blocksize.
+ * $this->block_size - (strlen($text) % $this->block_size) bytes are added, each of which is equal to
+ * chr($this->block_size - (strlen($text) % $this->block_size)
+ *
+ * If padding is disabled and $text is not a multiple of the blocksize, the string will be padded regardless
+ * and padding will, hence forth, be enabled.
+ *
+ * @see self::_unpad()
+ * @param string $text
+ * @access private
+ * @return string
+ */
+ function _pad($text)
+ {
+ $length = strlen($text);
+
+ if (!$this->padding) {
+ if ($length % $this->block_size == 0) {
+ return $text;
+ } else {
+ user_error("The plaintext's length ($length) is not a multiple of the block size ({$this->block_size})");
+ $this->padding = true;
+ }
+ }
+
+ $pad = $this->block_size - ($length % $this->block_size);
+
+ return str_pad($text, $length + $pad, chr($pad));
+ }
+
+ /**
+ * Unpads a string.
+ *
+ * If padding is enabled and the reported padding length is invalid the encryption key will be assumed to be wrong
+ * and false will be returned.
+ *
+ * @see self::_pad()
+ * @param string $text
+ * @access private
+ * @return string
+ */
+ function _unpad($text)
+ {
+ if (!$this->padding) {
+ return $text;
+ }
+
+ $length = ord($text[strlen($text) - 1]);
+
+ if (!$length || $length > $this->block_size) {
+ return false;
+ }
+
+ return substr($text, 0, -$length);
+ }
+
+ /**
+ * Clears internal buffers
+ *
+ * Clearing/resetting the internal buffers is done everytime
+ * after disableContinuousBuffer() or on cipher $engine (re)init
+ * ie after setKey() or setIV()
+ *
+ * @access public
+ * @internal Could, but not must, extend by the child Crypt_* class
+ */
+ function _clearBuffers()
+ {
+ $this->enbuffer = $this->debuffer = array('ciphertext' => '', 'xor' => '', 'pos' => 0, 'enmcrypt_init' => true);
+
+ // mcrypt's handling of invalid's $iv:
+ // $this->encryptIV = $this->decryptIV = strlen($this->iv) == $this->block_size ? $this->iv : str_repeat("\0", $this->block_size);
+ $this->encryptIV = $this->decryptIV = str_pad(substr($this->iv, 0, $this->block_size), $this->block_size, "\0");
+
+ if (!$this->skip_key_adjustment) {
+ $this->key = str_pad(substr($this->key, 0, $this->key_length), $this->key_length, "\0");
+ }
+ }
+
+ /**
+ * String Shift
+ *
+ * Inspired by array_shift
+ *
+ * @param string $string
+ * @param int $index
+ * @access private
+ * @return string
+ */
+ function _string_shift(&$string, $index = 1)
+ {
+ $substr = substr($string, 0, $index);
+ $string = substr($string, $index);
+ return $substr;
+ }
+
+ /**
+ * String Pop
+ *
+ * Inspired by array_pop
+ *
+ * @param string $string
+ * @param int $index
+ * @access private
+ * @return string
+ */
+ function _string_pop(&$string, $index = 1)
+ {
+ $substr = substr($string, -$index);
+ $string = substr($string, 0, -$index);
+ return $substr;
+ }
+
+ /**
+ * Increment the current string
+ *
+ * @see self::decrypt()
+ * @see self::encrypt()
+ * @param string $var
+ * @access private
+ */
+ function _increment_str(&$var)
+ {
+ for ($i = 4; $i <= strlen($var); $i+= 4) {
+ $temp = substr($var, -$i, 4);
+ switch ($temp) {
+ case "\xFF\xFF\xFF\xFF":
+ $var = substr_replace($var, "\x00\x00\x00\x00", -$i, 4);
+ break;
+ case "\x7F\xFF\xFF\xFF":
+ $var = substr_replace($var, "\x80\x00\x00\x00", -$i, 4);
+ return;
+ default:
+ $temp = unpack('Nnum', $temp);
+ $var = substr_replace($var, pack('N', $temp['num'] + 1), -$i, 4);
+ return;
+ }
+ }
+
+ $remainder = strlen($var) % 4;
+
+ if ($remainder == 0) {
+ return;
+ }
+
+ $temp = unpack('Nnum', str_pad(substr($var, 0, $remainder), 4, "\0", STR_PAD_LEFT));
+ $temp = substr(pack('N', $temp['num'] + 1), -$remainder);
+ $var = substr_replace($var, $temp, 0, $remainder);
+ }
+
+ /**
+ * Setup the performance-optimized function for de/encrypt()
+ *
+ * Stores the created (or existing) callback function-name
+ * in $this->inline_crypt
+ *
+ * Internally for phpseclib developers:
+ *
+ * _setupInlineCrypt() would be called only if:
+ *
+ * - $engine == self::ENGINE_INTERNAL and
+ *
+ * - $use_inline_crypt === true
+ *
+ * - each time on _setup(), after(!) _setupKey()
+ *
+ *
+ * This ensures that _setupInlineCrypt() has always a
+ * full ready2go initializated internal cipher $engine state
+ * where, for example, the keys allready expanded,
+ * keys/block_size calculated and such.
+ *
+ * It is, each time if called, the responsibility of _setupInlineCrypt():
+ *
+ * - to set $this->inline_crypt to a valid and fully working callback function
+ * as a (faster) replacement for encrypt() / decrypt()
+ *
+ * - NOT to create unlimited callback functions (for memory reasons!)
+ * no matter how often _setupInlineCrypt() would be called. At some
+ * point of amount they must be generic re-useable.
+ *
+ * - the code of _setupInlineCrypt() it self,
+ * and the generated callback code,
+ * must be, in following order:
+ * - 100% safe
+ * - 100% compatible to encrypt()/decrypt()
+ * - using only php5+ features/lang-constructs/php-extensions if
+ * compatibility (down to php4) or fallback is provided
+ * - readable/maintainable/understandable/commented and... not-cryptic-styled-code :-)
+ * - >= 10% faster than encrypt()/decrypt() [which is, by the way,
+ * the reason for the existence of _setupInlineCrypt() :-)]
+ * - memory-nice
+ * - short (as good as possible)
+ *
+ * Note: - _setupInlineCrypt() is using _createInlineCryptFunction() to create the full callback function code.
+ * - In case of using inline crypting, _setupInlineCrypt() must extend by the child \phpseclib\Crypt\* class.
+ * - The following variable names are reserved:
+ * - $_* (all variable names prefixed with an underscore)
+ * - $self (object reference to it self. Do not use $this, but $self instead)
+ * - $in (the content of $in has to en/decrypt by the generated code)
+ * - The callback function should not use the 'return' statement, but en/decrypt'ing the content of $in only
+ *
+ *
+ * @see self::_setup()
+ * @see self::_createInlineCryptFunction()
+ * @see self::encrypt()
+ * @see self::decrypt()
+ * @access private
+ * @internal If a Crypt_* class providing inline crypting it must extend _setupInlineCrypt()
+ */
+ function _setupInlineCrypt()
+ {
+ // If, for any reason, an extending \phpseclib\Crypt\Base() \phpseclib\Crypt\* class
+ // not using inline crypting then it must be ensured that: $this->use_inline_crypt = false
+ // ie in the class var declaration of $use_inline_crypt in general for the \phpseclib\Crypt\* class,
+ // in the constructor at object instance-time
+ // or, if it's runtime-specific, at runtime
+
+ $this->use_inline_crypt = false;
+ }
+
+ /**
+ * Creates the performance-optimized function for en/decrypt()
+ *
+ * Internally for phpseclib developers:
+ *
+ * _createInlineCryptFunction():
+ *
+ * - merge the $cipher_code [setup'ed by _setupInlineCrypt()]
+ * with the current [$this->]mode of operation code
+ *
+ * - create the $inline function, which called by encrypt() / decrypt()
+ * as its replacement to speed up the en/decryption operations.
+ *
+ * - return the name of the created $inline callback function
+ *
+ * - used to speed up en/decryption
+ *
+ *
+ *
+ * The main reason why can speed up things [up to 50%] this way are:
+ *
+ * - using variables more effective then regular.
+ * (ie no use of expensive arrays but integers $k_0, $k_1 ...
+ * or even, for example, the pure $key[] values hardcoded)
+ *
+ * - avoiding 1000's of function calls of ie _encryptBlock()
+ * but inlining the crypt operations.
+ * in the mode of operation for() loop.
+ *
+ * - full loop unroll the (sometimes key-dependent) rounds
+ * avoiding this way ++$i counters and runtime-if's etc...
+ *
+ * The basic code architectur of the generated $inline en/decrypt()
+ * lambda function, in pseudo php, is:
+ *
+ * <code>
+ * +----------------------------------------------------------------------------------------------+
+ * | callback $inline = create_function: |
+ * | lambda_function_0001_crypt_ECB($action, $text) |
+ * | { |
+ * | INSERT PHP CODE OF: |
+ * | $cipher_code['init_crypt']; // general init code. |
+ * | // ie: $sbox'es declarations used for |
+ * | // encrypt and decrypt'ing. |
+ * | |
+ * | switch ($action) { |
+ * | case 'encrypt': |
+ * | INSERT PHP CODE OF: |
+ * | $cipher_code['init_encrypt']; // encrypt sepcific init code. |
+ * | ie: specified $key or $box |
+ * | declarations for encrypt'ing. |
+ * | |
+ * | foreach ($ciphertext) { |
+ * | $in = $block_size of $ciphertext; |
+ * | |
+ * | INSERT PHP CODE OF: |
+ * | $cipher_code['encrypt_block']; // encrypt's (string) $in, which is always: |
+ * | // strlen($in) == $this->block_size |
+ * | // here comes the cipher algorithm in action |
+ * | // for encryption. |
+ * | // $cipher_code['encrypt_block'] has to |
+ * | // encrypt the content of the $in variable |
+ * | |
+ * | $plaintext .= $in; |
+ * | } |
+ * | return $plaintext; |
+ * | |
+ * | case 'decrypt': |
+ * | INSERT PHP CODE OF: |
+ * | $cipher_code['init_decrypt']; // decrypt sepcific init code |
+ * | ie: specified $key or $box |
+ * | declarations for decrypt'ing. |
+ * | foreach ($plaintext) { |
+ * | $in = $block_size of $plaintext; |
+ * | |
+ * | INSERT PHP CODE OF: |
+ * | $cipher_code['decrypt_block']; // decrypt's (string) $in, which is always |
+ * | // strlen($in) == $this->block_size |
+ * | // here comes the cipher algorithm in action |
+ * | // for decryption. |
+ * | // $cipher_code['decrypt_block'] has to |
+ * | // decrypt the content of the $in variable |
+ * | $ciphertext .= $in; |
+ * | } |
+ * | return $ciphertext; |
+ * | } |
+ * | } |
+ * +----------------------------------------------------------------------------------------------+
+ * </code>
+ *
+ * See also the \phpseclib\Crypt\*::_setupInlineCrypt()'s for
+ * productive inline $cipher_code's how they works.
+ *
+ * Structure of:
+ * <code>
+ * $cipher_code = array(
+ * 'init_crypt' => (string) '', // optional
+ * 'init_encrypt' => (string) '', // optional
+ * 'init_decrypt' => (string) '', // optional
+ * 'encrypt_block' => (string) '', // required
+ * 'decrypt_block' => (string) '' // required
+ * );
+ * </code>
+ *
+ * @see self::_setupInlineCrypt()
+ * @see self::encrypt()
+ * @see self::decrypt()
+ * @param array $cipher_code
+ * @access private
+ * @return string (the name of the created callback function)
+ */
+ function _createInlineCryptFunction($cipher_code)
+ {
+ $block_size = $this->block_size;
+
+ // optional
+ $init_crypt = isset($cipher_code['init_crypt']) ? $cipher_code['init_crypt'] : '';
+ $init_encrypt = isset($cipher_code['init_encrypt']) ? $cipher_code['init_encrypt'] : '';
+ $init_decrypt = isset($cipher_code['init_decrypt']) ? $cipher_code['init_decrypt'] : '';
+ // required
+ $encrypt_block = $cipher_code['encrypt_block'];
+ $decrypt_block = $cipher_code['decrypt_block'];
+
+ // Generating mode of operation inline code,
+ // merged with the $cipher_code algorithm
+ // for encrypt- and decryption.
+ switch ($this->mode) {
+ case self::MODE_ECB:
+ $encrypt = $init_encrypt . '
+ $_ciphertext = "";
+ $_plaintext_len = strlen($_text);
+
+ for ($_i = 0; $_i < $_plaintext_len; $_i+= '.$block_size.') {
+ $in = substr($_text, $_i, '.$block_size.');
+ '.$encrypt_block.'
+ $_ciphertext.= $in;
+ }
+
+ return $_ciphertext;
+ ';
+
+ $decrypt = $init_decrypt . '
+ $_plaintext = "";
+ $_text = str_pad($_text, strlen($_text) + ('.$block_size.' - strlen($_text) % '.$block_size.') % '.$block_size.', chr(0));
+ $_ciphertext_len = strlen($_text);
+
+ for ($_i = 0; $_i < $_ciphertext_len; $_i+= '.$block_size.') {
+ $in = substr($_text, $_i, '.$block_size.');
+ '.$decrypt_block.'
+ $_plaintext.= $in;
+ }
+
+ return $self->_unpad($_plaintext);
+ ';
+ break;
+ case self::MODE_CTR:
+ $encrypt = $init_encrypt . '
+ $_ciphertext = "";
+ $_plaintext_len = strlen($_text);
+ $_xor = $self->encryptIV;
+ $_buffer = &$self->enbuffer;
+ if (strlen($_buffer["ciphertext"])) {
+ for ($_i = 0; $_i < $_plaintext_len; $_i+= '.$block_size.') {
+ $_block = substr($_text, $_i, '.$block_size.');
+ if (strlen($_block) > strlen($_buffer["ciphertext"])) {
+ $in = $_xor;
+ '.$encrypt_block.'
+ $self->_increment_str($_xor);
+ $_buffer["ciphertext"].= $in;
+ }
+ $_key = $self->_string_shift($_buffer["ciphertext"], '.$block_size.');
+ $_ciphertext.= $_block ^ $_key;
+ }
+ } else {
+ for ($_i = 0; $_i < $_plaintext_len; $_i+= '.$block_size.') {
+ $_block = substr($_text, $_i, '.$block_size.');
+ $in = $_xor;
+ '.$encrypt_block.'
+ $self->_increment_str($_xor);
+ $_key = $in;
+ $_ciphertext.= $_block ^ $_key;
+ }
+ }
+ if ($self->continuousBuffer) {
+ $self->encryptIV = $_xor;
+ if ($_start = $_plaintext_len % '.$block_size.') {
+ $_buffer["ciphertext"] = substr($_key, $_start) . $_buffer["ciphertext"];
+ }
+ }
+
+ return $_ciphertext;
+ ';
+
+ $decrypt = $init_encrypt . '
+ $_plaintext = "";
+ $_ciphertext_len = strlen($_text);
+ $_xor = $self->decryptIV;
+ $_buffer = &$self->debuffer;
+
+ if (strlen($_buffer["ciphertext"])) {
+ for ($_i = 0; $_i < $_ciphertext_len; $_i+= '.$block_size.') {
+ $_block = substr($_text, $_i, '.$block_size.');
+ if (strlen($_block) > strlen($_buffer["ciphertext"])) {
+ $in = $_xor;
+ '.$encrypt_block.'
+ $self->_increment_str($_xor);
+ $_buffer["ciphertext"].= $in;
+ }
+ $_key = $self->_string_shift($_buffer["ciphertext"], '.$block_size.');
+ $_plaintext.= $_block ^ $_key;
+ }
+ } else {
+ for ($_i = 0; $_i < $_ciphertext_len; $_i+= '.$block_size.') {
+ $_block = substr($_text, $_i, '.$block_size.');
+ $in = $_xor;
+ '.$encrypt_block.'
+ $self->_increment_str($_xor);
+ $_key = $in;
+ $_plaintext.= $_block ^ $_key;
+ }
+ }
+ if ($self->continuousBuffer) {
+ $self->decryptIV = $_xor;
+ if ($_start = $_ciphertext_len % '.$block_size.') {
+ $_buffer["ciphertext"] = substr($_key, $_start) . $_buffer["ciphertext"];
+ }
+ }
+
+ return $_plaintext;
+ ';
+ break;
+ case self::MODE_CFB:
+ $encrypt = $init_encrypt . '
+ $_ciphertext = "";
+ $_buffer = &$self->enbuffer;
+
+ if ($self->continuousBuffer) {
+ $_iv = &$self->encryptIV;
+ $_pos = &$_buffer["pos"];
+ } else {
+ $_iv = $self->encryptIV;
+ $_pos = 0;
+ }
+ $_len = strlen($_text);
+ $_i = 0;
+ if ($_pos) {
+ $_orig_pos = $_pos;
+ $_max = '.$block_size.' - $_pos;
+ if ($_len >= $_max) {
+ $_i = $_max;
+ $_len-= $_max;
+ $_pos = 0;
+ } else {
+ $_i = $_len;
+ $_pos+= $_len;
+ $_len = 0;
+ }
+ $_ciphertext = substr($_iv, $_orig_pos) ^ $_text;
+ $_iv = substr_replace($_iv, $_ciphertext, $_orig_pos, $_i);
+ }
+ while ($_len >= '.$block_size.') {
+ $in = $_iv;
+ '.$encrypt_block.';
+ $_iv = $in ^ substr($_text, $_i, '.$block_size.');
+ $_ciphertext.= $_iv;
+ $_len-= '.$block_size.';
+ $_i+= '.$block_size.';
+ }
+ if ($_len) {
+ $in = $_iv;
+ '.$encrypt_block.'
+ $_iv = $in;
+ $_block = $_iv ^ substr($_text, $_i);
+ $_iv = substr_replace($_iv, $_block, 0, $_len);
+ $_ciphertext.= $_block;
+ $_pos = $_len;
+ }
+ return $_ciphertext;
+ ';
+
+ $decrypt = $init_encrypt . '
+ $_plaintext = "";
+ $_buffer = &$self->debuffer;
+
+ if ($self->continuousBuffer) {
+ $_iv = &$self->decryptIV;
+ $_pos = &$_buffer["pos"];
+ } else {
+ $_iv = $self->decryptIV;
+ $_pos = 0;
+ }
+ $_len = strlen($_text);
+ $_i = 0;
+ if ($_pos) {
+ $_orig_pos = $_pos;
+ $_max = '.$block_size.' - $_pos;
+ if ($_len >= $_max) {
+ $_i = $_max;
+ $_len-= $_max;
+ $_pos = 0;
+ } else {
+ $_i = $_len;
+ $_pos+= $_len;
+ $_len = 0;
+ }
+ $_plaintext = substr($_iv, $_orig_pos) ^ $_text;
+ $_iv = substr_replace($_iv, substr($_text, 0, $_i), $_orig_pos, $_i);
+ }
+ while ($_len >= '.$block_size.') {
+ $in = $_iv;
+ '.$encrypt_block.'
+ $_iv = $in;
+ $cb = substr($_text, $_i, '.$block_size.');
+ $_plaintext.= $_iv ^ $cb;
+ $_iv = $cb;
+ $_len-= '.$block_size.';
+ $_i+= '.$block_size.';
+ }
+ if ($_len) {
+ $in = $_iv;
+ '.$encrypt_block.'
+ $_iv = $in;
+ $_plaintext.= $_iv ^ substr($_text, $_i);
+ $_iv = substr_replace($_iv, substr($_text, $_i), 0, $_len);
+ $_pos = $_len;
+ }
+
+ return $_plaintext;
+ ';
+ break;
+ case self::MODE_OFB:
+ $encrypt = $init_encrypt . '
+ $_ciphertext = "";
+ $_plaintext_len = strlen($_text);
+ $_xor = $self->encryptIV;
+ $_buffer = &$self->enbuffer;
+
+ if (strlen($_buffer["xor"])) {
+ for ($_i = 0; $_i < $_plaintext_len; $_i+= '.$block_size.') {
+ $_block = substr($_text, $_i, '.$block_size.');
+ if (strlen($_block) > strlen($_buffer["xor"])) {
+ $in = $_xor;
+ '.$encrypt_block.'
+ $_xor = $in;
+ $_buffer["xor"].= $_xor;
+ }
+ $_key = $self->_string_shift($_buffer["xor"], '.$block_size.');
+ $_ciphertext.= $_block ^ $_key;
+ }
+ } else {
+ for ($_i = 0; $_i < $_plaintext_len; $_i+= '.$block_size.') {
+ $in = $_xor;
+ '.$encrypt_block.'
+ $_xor = $in;
+ $_ciphertext.= substr($_text, $_i, '.$block_size.') ^ $_xor;
+ }
+ $_key = $_xor;
+ }
+ if ($self->continuousBuffer) {
+ $self->encryptIV = $_xor;
+ if ($_start = $_plaintext_len % '.$block_size.') {
+ $_buffer["xor"] = substr($_key, $_start) . $_buffer["xor"];
+ }
+ }
+ return $_ciphertext;
+ ';
+
+ $decrypt = $init_encrypt . '
+ $_plaintext = "";
+ $_ciphertext_len = strlen($_text);
+ $_xor = $self->decryptIV;
+ $_buffer = &$self->debuffer;
+
+ if (strlen($_buffer["xor"])) {
+ for ($_i = 0; $_i < $_ciphertext_len; $_i+= '.$block_size.') {
+ $_block = substr($_text, $_i, '.$block_size.');
+ if (strlen($_block) > strlen($_buffer["xor"])) {
+ $in = $_xor;
+ '.$encrypt_block.'
+ $_xor = $in;
+ $_buffer["xor"].= $_xor;
+ }
+ $_key = $self->_string_shift($_buffer["xor"], '.$block_size.');
+ $_plaintext.= $_block ^ $_key;
+ }
+ } else {
+ for ($_i = 0; $_i < $_ciphertext_len; $_i+= '.$block_size.') {
+ $in = $_xor;
+ '.$encrypt_block.'
+ $_xor = $in;
+ $_plaintext.= substr($_text, $_i, '.$block_size.') ^ $_xor;
+ }
+ $_key = $_xor;
+ }
+ if ($self->continuousBuffer) {
+ $self->decryptIV = $_xor;
+ if ($_start = $_ciphertext_len % '.$block_size.') {
+ $_buffer["xor"] = substr($_key, $_start) . $_buffer["xor"];
+ }
+ }
+ return $_plaintext;
+ ';
+ break;
+ case self::MODE_STREAM:
+ $encrypt = $init_encrypt . '
+ $_ciphertext = "";
+ '.$encrypt_block.'
+ return $_ciphertext;
+ ';
+ $decrypt = $init_decrypt . '
+ $_plaintext = "";
+ '.$decrypt_block.'
+ return $_plaintext;
+ ';
+ break;
+ // case self::MODE_CBC:
+ default:
+ $encrypt = $init_encrypt . '
+ $_ciphertext = "";
+ $_plaintext_len = strlen($_text);
+
+ $in = $self->encryptIV;
+
+ for ($_i = 0; $_i < $_plaintext_len; $_i+= '.$block_size.') {
+ $in = substr($_text, $_i, '.$block_size.') ^ $in;
+ '.$encrypt_block.'
+ $_ciphertext.= $in;
+ }
+
+ if ($self->continuousBuffer) {
+ $self->encryptIV = $in;
+ }
+
+ return $_ciphertext;
+ ';
+
+ $decrypt = $init_decrypt . '
+ $_plaintext = "";
+ $_text = str_pad($_text, strlen($_text) + ('.$block_size.' - strlen($_text) % '.$block_size.') % '.$block_size.', chr(0));
+ $_ciphertext_len = strlen($_text);
+
+ $_iv = $self->decryptIV;
+
+ for ($_i = 0; $_i < $_ciphertext_len; $_i+= '.$block_size.') {
+ $in = $_block = substr($_text, $_i, '.$block_size.');
+ '.$decrypt_block.'
+ $_plaintext.= $in ^ $_iv;
+ $_iv = $_block;
+ }
+
+ if ($self->continuousBuffer) {
+ $self->decryptIV = $_iv;
+ }
+
+ return $self->_unpad($_plaintext);
+ ';
+ break;
+ }
+
+ // Create the $inline function and return its name as string. Ready to run!
+ return create_function('$_action, &$self, $_text', $init_crypt . 'if ($_action == "encrypt") { ' . $encrypt . ' } else { ' . $decrypt . ' }');
+ }
+
+ /**
+ * Holds the lambda_functions table (classwide)
+ *
+ * Each name of the lambda function, created from
+ * _setupInlineCrypt() && _createInlineCryptFunction()
+ * is stored, classwide (!), here for reusing.
+ *
+ * The string-based index of $function is a classwide
+ * unique value representing, at least, the $mode of
+ * operation (or more... depends of the optimizing level)
+ * for which $mode the lambda function was created.
+ *
+ * @access private
+ * @return array &$functions
+ */
+ function &_getLambdaFunctions()
+ {
+ static $functions = array();
+ return $functions;
+ }
+
+ /**
+ * Generates a digest from $bytes
+ *
+ * @see self::_setupInlineCrypt()
+ * @access private
+ * @param $bytes
+ * @return string
+ */
+ function _hashInlineCryptFunction($bytes)
+ {
+ if (!isset(self::$WHIRLPOOL_AVAILABLE)) {
+ self::$WHIRLPOOL_AVAILABLE = extension_loaded('hash') && in_array('whirlpool', hash_algos());
+ }
+
+ $result = '';
+ $hash = $bytes;
+
+ switch (true) {
+ case self::$WHIRLPOOL_AVAILABLE:
+ foreach (str_split($bytes, 64) as $t) {
+ $hash = hash('whirlpool', $hash, true);
+ $result .= $t ^ $hash;
+ }
+ return $result . hash('whirlpool', $hash, true);
+ default:
+ $len = strlen($bytes);
+ for ($i = 0; $i < $len; $i+=20) {
+ $t = substr($bytes, $i, 20);
+ $hash = pack('H*', sha1($hash));
+ $result .= $t ^ $hash;
+ }
+ return $result . pack('H*', sha1($hash));
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php
new file mode 100644
index 00000000..19d0a020
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php
@@ -0,0 +1,577 @@
+<?php
+
+/**
+ * Pure-PHP implementation of Blowfish.
+ *
+ * Uses mcrypt, if available, and an internal implementation, otherwise.
+ *
+ * PHP version 5
+ *
+ * Useful resources are as follows:
+ *
+ * - {@link http://en.wikipedia.org/wiki/Blowfish_(cipher) Wikipedia description of Blowfish}
+ *
+ * Here's a short example of how to use this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $blowfish = new \phpseclib\Crypt\Blowfish();
+ *
+ * $blowfish->setKey('12345678901234567890123456789012');
+ *
+ * $plaintext = str_repeat('a', 1024);
+ *
+ * echo $blowfish->decrypt($blowfish->encrypt($plaintext));
+ * ?>
+ * </code>
+ *
+ * @category Crypt
+ * @package Blowfish
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @author Hans-Juergen Petrich <petrich@tronic-media.com>
+ * @copyright 2007 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Crypt;
+
+/**
+ * Pure-PHP implementation of Blowfish.
+ *
+ * @package Blowfish
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @author Hans-Juergen Petrich <petrich@tronic-media.com>
+ * @access public
+ */
+class Blowfish extends Base
+{
+ /**
+ * Block Length of the cipher
+ *
+ * @see \phpseclib\Crypt\Base::block_size
+ * @var int
+ * @access private
+ */
+ var $block_size = 8;
+
+ /**
+ * The mcrypt specific name of the cipher
+ *
+ * @see \phpseclib\Crypt\Base::cipher_name_mcrypt
+ * @var string
+ * @access private
+ */
+ var $cipher_name_mcrypt = 'blowfish';
+
+ /**
+ * Optimizing value while CFB-encrypting
+ *
+ * @see \phpseclib\Crypt\Base::cfb_init_len
+ * @var int
+ * @access private
+ */
+ var $cfb_init_len = 500;
+
+ /**
+ * The fixed subkeys boxes ($sbox0 - $sbox3) with 256 entries each
+ *
+ * S-Box 0
+ *
+ * @access private
+ * @var array
+ */
+ var $sbox0 = array(
+ 0xd1310ba6, 0x98dfb5ac, 0x2ffd72db, 0xd01adfb7, 0xb8e1afed, 0x6a267e96, 0xba7c9045, 0xf12c7f99,
+ 0x24a19947, 0xb3916cf7, 0x0801f2e2, 0x858efc16, 0x636920d8, 0x71574e69, 0xa458fea3, 0xf4933d7e,
+ 0x0d95748f, 0x728eb658, 0x718bcd58, 0x82154aee, 0x7b54a41d, 0xc25a59b5, 0x9c30d539, 0x2af26013,
+ 0xc5d1b023, 0x286085f0, 0xca417918, 0xb8db38ef, 0x8e79dcb0, 0x603a180e, 0x6c9e0e8b, 0xb01e8a3e,
+ 0xd71577c1, 0xbd314b27, 0x78af2fda, 0x55605c60, 0xe65525f3, 0xaa55ab94, 0x57489862, 0x63e81440,
+ 0x55ca396a, 0x2aab10b6, 0xb4cc5c34, 0x1141e8ce, 0xa15486af, 0x7c72e993, 0xb3ee1411, 0x636fbc2a,
+ 0x2ba9c55d, 0x741831f6, 0xce5c3e16, 0x9b87931e, 0xafd6ba33, 0x6c24cf5c, 0x7a325381, 0x28958677,
+ 0x3b8f4898, 0x6b4bb9af, 0xc4bfe81b, 0x66282193, 0x61d809cc, 0xfb21a991, 0x487cac60, 0x5dec8032,
+ 0xef845d5d, 0xe98575b1, 0xdc262302, 0xeb651b88, 0x23893e81, 0xd396acc5, 0x0f6d6ff3, 0x83f44239,
+ 0x2e0b4482, 0xa4842004, 0x69c8f04a, 0x9e1f9b5e, 0x21c66842, 0xf6e96c9a, 0x670c9c61, 0xabd388f0,
+ 0x6a51a0d2, 0xd8542f68, 0x960fa728, 0xab5133a3, 0x6eef0b6c, 0x137a3be4, 0xba3bf050, 0x7efb2a98,
+ 0xa1f1651d, 0x39af0176, 0x66ca593e, 0x82430e88, 0x8cee8619, 0x456f9fb4, 0x7d84a5c3, 0x3b8b5ebe,
+ 0xe06f75d8, 0x85c12073, 0x401a449f, 0x56c16aa6, 0x4ed3aa62, 0x363f7706, 0x1bfedf72, 0x429b023d,
+ 0x37d0d724, 0xd00a1248, 0xdb0fead3, 0x49f1c09b, 0x075372c9, 0x80991b7b, 0x25d479d8, 0xf6e8def7,
+ 0xe3fe501a, 0xb6794c3b, 0x976ce0bd, 0x04c006ba, 0xc1a94fb6, 0x409f60c4, 0x5e5c9ec2, 0x196a2463,
+ 0x68fb6faf, 0x3e6c53b5, 0x1339b2eb, 0x3b52ec6f, 0x6dfc511f, 0x9b30952c, 0xcc814544, 0xaf5ebd09,
+ 0xbee3d004, 0xde334afd, 0x660f2807, 0x192e4bb3, 0xc0cba857, 0x45c8740f, 0xd20b5f39, 0xb9d3fbdb,
+ 0x5579c0bd, 0x1a60320a, 0xd6a100c6, 0x402c7279, 0x679f25fe, 0xfb1fa3cc, 0x8ea5e9f8, 0xdb3222f8,
+ 0x3c7516df, 0xfd616b15, 0x2f501ec8, 0xad0552ab, 0x323db5fa, 0xfd238760, 0x53317b48, 0x3e00df82,
+ 0x9e5c57bb, 0xca6f8ca0, 0x1a87562e, 0xdf1769db, 0xd542a8f6, 0x287effc3, 0xac6732c6, 0x8c4f5573,
+ 0x695b27b0, 0xbbca58c8, 0xe1ffa35d, 0xb8f011a0, 0x10fa3d98, 0xfd2183b8, 0x4afcb56c, 0x2dd1d35b,
+ 0x9a53e479, 0xb6f84565, 0xd28e49bc, 0x4bfb9790, 0xe1ddf2da, 0xa4cb7e33, 0x62fb1341, 0xcee4c6e8,
+ 0xef20cada, 0x36774c01, 0xd07e9efe, 0x2bf11fb4, 0x95dbda4d, 0xae909198, 0xeaad8e71, 0x6b93d5a0,
+ 0xd08ed1d0, 0xafc725e0, 0x8e3c5b2f, 0x8e7594b7, 0x8ff6e2fb, 0xf2122b64, 0x8888b812, 0x900df01c,
+ 0x4fad5ea0, 0x688fc31c, 0xd1cff191, 0xb3a8c1ad, 0x2f2f2218, 0xbe0e1777, 0xea752dfe, 0x8b021fa1,
+ 0xe5a0cc0f, 0xb56f74e8, 0x18acf3d6, 0xce89e299, 0xb4a84fe0, 0xfd13e0b7, 0x7cc43b81, 0xd2ada8d9,
+ 0x165fa266, 0x80957705, 0x93cc7314, 0x211a1477, 0xe6ad2065, 0x77b5fa86, 0xc75442f5, 0xfb9d35cf,
+ 0xebcdaf0c, 0x7b3e89a0, 0xd6411bd3, 0xae1e7e49, 0x00250e2d, 0x2071b35e, 0x226800bb, 0x57b8e0af,
+ 0x2464369b, 0xf009b91e, 0x5563911d, 0x59dfa6aa, 0x78c14389, 0xd95a537f, 0x207d5ba2, 0x02e5b9c5,
+ 0x83260376, 0x6295cfa9, 0x11c81968, 0x4e734a41, 0xb3472dca, 0x7b14a94a, 0x1b510052, 0x9a532915,
+ 0xd60f573f, 0xbc9bc6e4, 0x2b60a476, 0x81e67400, 0x08ba6fb5, 0x571be91f, 0xf296ec6b, 0x2a0dd915,
+ 0xb6636521, 0xe7b9f9b6, 0xff34052e, 0xc5855664, 0x53b02d5d, 0xa99f8fa1, 0x08ba4799, 0x6e85076a
+ );
+
+ /**
+ * S-Box 1
+ *
+ * @access private
+ * @var array
+ */
+ var $sbox1 = array(
+ 0x4b7a70e9, 0xb5b32944, 0xdb75092e, 0xc4192623, 0xad6ea6b0, 0x49a7df7d, 0x9cee60b8, 0x8fedb266,
+ 0xecaa8c71, 0x699a17ff, 0x5664526c, 0xc2b19ee1, 0x193602a5, 0x75094c29, 0xa0591340, 0xe4183a3e,
+ 0x3f54989a, 0x5b429d65, 0x6b8fe4d6, 0x99f73fd6, 0xa1d29c07, 0xefe830f5, 0x4d2d38e6, 0xf0255dc1,
+ 0x4cdd2086, 0x8470eb26, 0x6382e9c6, 0x021ecc5e, 0x09686b3f, 0x3ebaefc9, 0x3c971814, 0x6b6a70a1,
+ 0x687f3584, 0x52a0e286, 0xb79c5305, 0xaa500737, 0x3e07841c, 0x7fdeae5c, 0x8e7d44ec, 0x5716f2b8,
+ 0xb03ada37, 0xf0500c0d, 0xf01c1f04, 0x0200b3ff, 0xae0cf51a, 0x3cb574b2, 0x25837a58, 0xdc0921bd,
+ 0xd19113f9, 0x7ca92ff6, 0x94324773, 0x22f54701, 0x3ae5e581, 0x37c2dadc, 0xc8b57634, 0x9af3dda7,
+ 0xa9446146, 0x0fd0030e, 0xecc8c73e, 0xa4751e41, 0xe238cd99, 0x3bea0e2f, 0x3280bba1, 0x183eb331,
+ 0x4e548b38, 0x4f6db908, 0x6f420d03, 0xf60a04bf, 0x2cb81290, 0x24977c79, 0x5679b072, 0xbcaf89af,
+ 0xde9a771f, 0xd9930810, 0xb38bae12, 0xdccf3f2e, 0x5512721f, 0x2e6b7124, 0x501adde6, 0x9f84cd87,
+ 0x7a584718, 0x7408da17, 0xbc9f9abc, 0xe94b7d8c, 0xec7aec3a, 0xdb851dfa, 0x63094366, 0xc464c3d2,
+ 0xef1c1847, 0x3215d908, 0xdd433b37, 0x24c2ba16, 0x12a14d43, 0x2a65c451, 0x50940002, 0x133ae4dd,
+ 0x71dff89e, 0x10314e55, 0x81ac77d6, 0x5f11199b, 0x043556f1, 0xd7a3c76b, 0x3c11183b, 0x5924a509,
+ 0xf28fe6ed, 0x97f1fbfa, 0x9ebabf2c, 0x1e153c6e, 0x86e34570, 0xeae96fb1, 0x860e5e0a, 0x5a3e2ab3,
+ 0x771fe71c, 0x4e3d06fa, 0x2965dcb9, 0x99e71d0f, 0x803e89d6, 0x5266c825, 0x2e4cc978, 0x9c10b36a,
+ 0xc6150eba, 0x94e2ea78, 0xa5fc3c53, 0x1e0a2df4, 0xf2f74ea7, 0x361d2b3d, 0x1939260f, 0x19c27960,
+ 0x5223a708, 0xf71312b6, 0xebadfe6e, 0xeac31f66, 0xe3bc4595, 0xa67bc883, 0xb17f37d1, 0x018cff28,
+ 0xc332ddef, 0xbe6c5aa5, 0x65582185, 0x68ab9802, 0xeecea50f, 0xdb2f953b, 0x2aef7dad, 0x5b6e2f84,
+ 0x1521b628, 0x29076170, 0xecdd4775, 0x619f1510, 0x13cca830, 0xeb61bd96, 0x0334fe1e, 0xaa0363cf,
+ 0xb5735c90, 0x4c70a239, 0xd59e9e0b, 0xcbaade14, 0xeecc86bc, 0x60622ca7, 0x9cab5cab, 0xb2f3846e,
+ 0x648b1eaf, 0x19bdf0ca, 0xa02369b9, 0x655abb50, 0x40685a32, 0x3c2ab4b3, 0x319ee9d5, 0xc021b8f7,
+ 0x9b540b19, 0x875fa099, 0x95f7997e, 0x623d7da8, 0xf837889a, 0x97e32d77, 0x11ed935f, 0x16681281,
+ 0x0e358829, 0xc7e61fd6, 0x96dedfa1, 0x7858ba99, 0x57f584a5, 0x1b227263, 0x9b83c3ff, 0x1ac24696,
+ 0xcdb30aeb, 0x532e3054, 0x8fd948e4, 0x6dbc3128, 0x58ebf2ef, 0x34c6ffea, 0xfe28ed61, 0xee7c3c73,
+ 0x5d4a14d9, 0xe864b7e3, 0x42105d14, 0x203e13e0, 0x45eee2b6, 0xa3aaabea, 0xdb6c4f15, 0xfacb4fd0,
+ 0xc742f442, 0xef6abbb5, 0x654f3b1d, 0x41cd2105, 0xd81e799e, 0x86854dc7, 0xe44b476a, 0x3d816250,
+ 0xcf62a1f2, 0x5b8d2646, 0xfc8883a0, 0xc1c7b6a3, 0x7f1524c3, 0x69cb7492, 0x47848a0b, 0x5692b285,
+ 0x095bbf00, 0xad19489d, 0x1462b174, 0x23820e00, 0x58428d2a, 0x0c55f5ea, 0x1dadf43e, 0x233f7061,
+ 0x3372f092, 0x8d937e41, 0xd65fecf1, 0x6c223bdb, 0x7cde3759, 0xcbee7460, 0x4085f2a7, 0xce77326e,
+ 0xa6078084, 0x19f8509e, 0xe8efd855, 0x61d99735, 0xa969a7aa, 0xc50c06c2, 0x5a04abfc, 0x800bcadc,
+ 0x9e447a2e, 0xc3453484, 0xfdd56705, 0x0e1e9ec9, 0xdb73dbd3, 0x105588cd, 0x675fda79, 0xe3674340,
+ 0xc5c43465, 0x713e38d8, 0x3d28f89e, 0xf16dff20, 0x153e21e7, 0x8fb03d4a, 0xe6e39f2b, 0xdb83adf7
+ );
+
+ /**
+ * S-Box 2
+ *
+ * @access private
+ * @var array
+ */
+ var $sbox2 = array(
+ 0xe93d5a68, 0x948140f7, 0xf64c261c, 0x94692934, 0x411520f7, 0x7602d4f7, 0xbcf46b2e, 0xd4a20068,
+ 0xd4082471, 0x3320f46a, 0x43b7d4b7, 0x500061af, 0x1e39f62e, 0x97244546, 0x14214f74, 0xbf8b8840,
+ 0x4d95fc1d, 0x96b591af, 0x70f4ddd3, 0x66a02f45, 0xbfbc09ec, 0x03bd9785, 0x7fac6dd0, 0x31cb8504,
+ 0x96eb27b3, 0x55fd3941, 0xda2547e6, 0xabca0a9a, 0x28507825, 0x530429f4, 0x0a2c86da, 0xe9b66dfb,
+ 0x68dc1462, 0xd7486900, 0x680ec0a4, 0x27a18dee, 0x4f3ffea2, 0xe887ad8c, 0xb58ce006, 0x7af4d6b6,
+ 0xaace1e7c, 0xd3375fec, 0xce78a399, 0x406b2a42, 0x20fe9e35, 0xd9f385b9, 0xee39d7ab, 0x3b124e8b,
+ 0x1dc9faf7, 0x4b6d1856, 0x26a36631, 0xeae397b2, 0x3a6efa74, 0xdd5b4332, 0x6841e7f7, 0xca7820fb,
+ 0xfb0af54e, 0xd8feb397, 0x454056ac, 0xba489527, 0x55533a3a, 0x20838d87, 0xfe6ba9b7, 0xd096954b,
+ 0x55a867bc, 0xa1159a58, 0xcca92963, 0x99e1db33, 0xa62a4a56, 0x3f3125f9, 0x5ef47e1c, 0x9029317c,
+ 0xfdf8e802, 0x04272f70, 0x80bb155c, 0x05282ce3, 0x95c11548, 0xe4c66d22, 0x48c1133f, 0xc70f86dc,
+ 0x07f9c9ee, 0x41041f0f, 0x404779a4, 0x5d886e17, 0x325f51eb, 0xd59bc0d1, 0xf2bcc18f, 0x41113564,
+ 0x257b7834, 0x602a9c60, 0xdff8e8a3, 0x1f636c1b, 0x0e12b4c2, 0x02e1329e, 0xaf664fd1, 0xcad18115,
+ 0x6b2395e0, 0x333e92e1, 0x3b240b62, 0xeebeb922, 0x85b2a20e, 0xe6ba0d99, 0xde720c8c, 0x2da2f728,
+ 0xd0127845, 0x95b794fd, 0x647d0862, 0xe7ccf5f0, 0x5449a36f, 0x877d48fa, 0xc39dfd27, 0xf33e8d1e,
+ 0x0a476341, 0x992eff74, 0x3a6f6eab, 0xf4f8fd37, 0xa812dc60, 0xa1ebddf8, 0x991be14c, 0xdb6e6b0d,
+ 0xc67b5510, 0x6d672c37, 0x2765d43b, 0xdcd0e804, 0xf1290dc7, 0xcc00ffa3, 0xb5390f92, 0x690fed0b,
+ 0x667b9ffb, 0xcedb7d9c, 0xa091cf0b, 0xd9155ea3, 0xbb132f88, 0x515bad24, 0x7b9479bf, 0x763bd6eb,
+ 0x37392eb3, 0xcc115979, 0x8026e297, 0xf42e312d, 0x6842ada7, 0xc66a2b3b, 0x12754ccc, 0x782ef11c,
+ 0x6a124237, 0xb79251e7, 0x06a1bbe6, 0x4bfb6350, 0x1a6b1018, 0x11caedfa, 0x3d25bdd8, 0xe2e1c3c9,
+ 0x44421659, 0x0a121386, 0xd90cec6e, 0xd5abea2a, 0x64af674e, 0xda86a85f, 0xbebfe988, 0x64e4c3fe,
+ 0x9dbc8057, 0xf0f7c086, 0x60787bf8, 0x6003604d, 0xd1fd8346, 0xf6381fb0, 0x7745ae04, 0xd736fccc,
+ 0x83426b33, 0xf01eab71, 0xb0804187, 0x3c005e5f, 0x77a057be, 0xbde8ae24, 0x55464299, 0xbf582e61,
+ 0x4e58f48f, 0xf2ddfda2, 0xf474ef38, 0x8789bdc2, 0x5366f9c3, 0xc8b38e74, 0xb475f255, 0x46fcd9b9,
+ 0x7aeb2661, 0x8b1ddf84, 0x846a0e79, 0x915f95e2, 0x466e598e, 0x20b45770, 0x8cd55591, 0xc902de4c,
+ 0xb90bace1, 0xbb8205d0, 0x11a86248, 0x7574a99e, 0xb77f19b6, 0xe0a9dc09, 0x662d09a1, 0xc4324633,
+ 0xe85a1f02, 0x09f0be8c, 0x4a99a025, 0x1d6efe10, 0x1ab93d1d, 0x0ba5a4df, 0xa186f20f, 0x2868f169,
+ 0xdcb7da83, 0x573906fe, 0xa1e2ce9b, 0x4fcd7f52, 0x50115e01, 0xa70683fa, 0xa002b5c4, 0x0de6d027,
+ 0x9af88c27, 0x773f8641, 0xc3604c06, 0x61a806b5, 0xf0177a28, 0xc0f586e0, 0x006058aa, 0x30dc7d62,
+ 0x11e69ed7, 0x2338ea63, 0x53c2dd94, 0xc2c21634, 0xbbcbee56, 0x90bcb6de, 0xebfc7da1, 0xce591d76,
+ 0x6f05e409, 0x4b7c0188, 0x39720a3d, 0x7c927c24, 0x86e3725f, 0x724d9db9, 0x1ac15bb4, 0xd39eb8fc,
+ 0xed545578, 0x08fca5b5, 0xd83d7cd3, 0x4dad0fc4, 0x1e50ef5e, 0xb161e6f8, 0xa28514d9, 0x6c51133c,
+ 0x6fd5c7e7, 0x56e14ec4, 0x362abfce, 0xddc6c837, 0xd79a3234, 0x92638212, 0x670efa8e, 0x406000e0
+ );
+
+ /**
+ * S-Box 3
+ *
+ * @access private
+ * @var array
+ */
+ var $sbox3 = array(
+ 0x3a39ce37, 0xd3faf5cf, 0xabc27737, 0x5ac52d1b, 0x5cb0679e, 0x4fa33742, 0xd3822740, 0x99bc9bbe,
+ 0xd5118e9d, 0xbf0f7315, 0xd62d1c7e, 0xc700c47b, 0xb78c1b6b, 0x21a19045, 0xb26eb1be, 0x6a366eb4,
+ 0x5748ab2f, 0xbc946e79, 0xc6a376d2, 0x6549c2c8, 0x530ff8ee, 0x468dde7d, 0xd5730a1d, 0x4cd04dc6,
+ 0x2939bbdb, 0xa9ba4650, 0xac9526e8, 0xbe5ee304, 0xa1fad5f0, 0x6a2d519a, 0x63ef8ce2, 0x9a86ee22,
+ 0xc089c2b8, 0x43242ef6, 0xa51e03aa, 0x9cf2d0a4, 0x83c061ba, 0x9be96a4d, 0x8fe51550, 0xba645bd6,
+ 0x2826a2f9, 0xa73a3ae1, 0x4ba99586, 0xef5562e9, 0xc72fefd3, 0xf752f7da, 0x3f046f69, 0x77fa0a59,
+ 0x80e4a915, 0x87b08601, 0x9b09e6ad, 0x3b3ee593, 0xe990fd5a, 0x9e34d797, 0x2cf0b7d9, 0x022b8b51,
+ 0x96d5ac3a, 0x017da67d, 0xd1cf3ed6, 0x7c7d2d28, 0x1f9f25cf, 0xadf2b89b, 0x5ad6b472, 0x5a88f54c,
+ 0xe029ac71, 0xe019a5e6, 0x47b0acfd, 0xed93fa9b, 0xe8d3c48d, 0x283b57cc, 0xf8d56629, 0x79132e28,
+ 0x785f0191, 0xed756055, 0xf7960e44, 0xe3d35e8c, 0x15056dd4, 0x88f46dba, 0x03a16125, 0x0564f0bd,
+ 0xc3eb9e15, 0x3c9057a2, 0x97271aec, 0xa93a072a, 0x1b3f6d9b, 0x1e6321f5, 0xf59c66fb, 0x26dcf319,
+ 0x7533d928, 0xb155fdf5, 0x03563482, 0x8aba3cbb, 0x28517711, 0xc20ad9f8, 0xabcc5167, 0xccad925f,
+ 0x4de81751, 0x3830dc8e, 0x379d5862, 0x9320f991, 0xea7a90c2, 0xfb3e7bce, 0x5121ce64, 0x774fbe32,
+ 0xa8b6e37e, 0xc3293d46, 0x48de5369, 0x6413e680, 0xa2ae0810, 0xdd6db224, 0x69852dfd, 0x09072166,
+ 0xb39a460a, 0x6445c0dd, 0x586cdecf, 0x1c20c8ae, 0x5bbef7dd, 0x1b588d40, 0xccd2017f, 0x6bb4e3bb,
+ 0xdda26a7e, 0x3a59ff45, 0x3e350a44, 0xbcb4cdd5, 0x72eacea8, 0xfa6484bb, 0x8d6612ae, 0xbf3c6f47,
+ 0xd29be463, 0x542f5d9e, 0xaec2771b, 0xf64e6370, 0x740e0d8d, 0xe75b1357, 0xf8721671, 0xaf537d5d,
+ 0x4040cb08, 0x4eb4e2cc, 0x34d2466a, 0x0115af84, 0xe1b00428, 0x95983a1d, 0x06b89fb4, 0xce6ea048,
+ 0x6f3f3b82, 0x3520ab82, 0x011a1d4b, 0x277227f8, 0x611560b1, 0xe7933fdc, 0xbb3a792b, 0x344525bd,
+ 0xa08839e1, 0x51ce794b, 0x2f32c9b7, 0xa01fbac9, 0xe01cc87e, 0xbcc7d1f6, 0xcf0111c3, 0xa1e8aac7,
+ 0x1a908749, 0xd44fbd9a, 0xd0dadecb, 0xd50ada38, 0x0339c32a, 0xc6913667, 0x8df9317c, 0xe0b12b4f,
+ 0xf79e59b7, 0x43f5bb3a, 0xf2d519ff, 0x27d9459c, 0xbf97222c, 0x15e6fc2a, 0x0f91fc71, 0x9b941525,
+ 0xfae59361, 0xceb69ceb, 0xc2a86459, 0x12baa8d1, 0xb6c1075e, 0xe3056a0c, 0x10d25065, 0xcb03a442,
+ 0xe0ec6e0e, 0x1698db3b, 0x4c98a0be, 0x3278e964, 0x9f1f9532, 0xe0d392df, 0xd3a0342b, 0x8971f21e,
+ 0x1b0a7441, 0x4ba3348c, 0xc5be7120, 0xc37632d8, 0xdf359f8d, 0x9b992f2e, 0xe60b6f47, 0x0fe3f11d,
+ 0xe54cda54, 0x1edad891, 0xce6279cf, 0xcd3e7e6f, 0x1618b166, 0xfd2c1d05, 0x848fd2c5, 0xf6fb2299,
+ 0xf523f357, 0xa6327623, 0x93a83531, 0x56cccd02, 0xacf08162, 0x5a75ebb5, 0x6e163697, 0x88d273cc,
+ 0xde966292, 0x81b949d0, 0x4c50901b, 0x71c65614, 0xe6c6c7bd, 0x327a140a, 0x45e1d006, 0xc3f27b9a,
+ 0xc9aa53fd, 0x62a80f00, 0xbb25bfe2, 0x35bdd2f6, 0x71126905, 0xb2040222, 0xb6cbcf7c, 0xcd769c2b,
+ 0x53113ec0, 0x1640e3d3, 0x38abbd60, 0x2547adf0, 0xba38209c, 0xf746ce76, 0x77afa1c5, 0x20756060,
+ 0x85cbfe4e, 0x8ae88dd8, 0x7aaaf9b0, 0x4cf9aa7e, 0x1948c25c, 0x02fb8a8c, 0x01c36ae4, 0xd6ebe1f9,
+ 0x90d4f869, 0xa65cdea0, 0x3f09252d, 0xc208e69f, 0xb74e6132, 0xce77e25b, 0x578fdfe3, 0x3ac372e6
+ );
+
+ /**
+ * P-Array consists of 18 32-bit subkeys
+ *
+ * @var array
+ * @access private
+ */
+ var $parray = array(
+ 0x243f6a88, 0x85a308d3, 0x13198a2e, 0x03707344, 0xa4093822, 0x299f31d0,
+ 0x082efa98, 0xec4e6c89, 0x452821e6, 0x38d01377, 0xbe5466cf, 0x34e90c6c,
+ 0xc0ac29b7, 0xc97c50dd, 0x3f84d5b5, 0xb5470917, 0x9216d5d9, 0x8979fb1b
+ );
+
+ /**
+ * The BCTX-working Array
+ *
+ * Holds the expanded key [p] and the key-depended s-boxes [sb]
+ *
+ * @var array
+ * @access private
+ */
+ var $bctx;
+
+ /**
+ * Holds the last used key
+ *
+ * @var array
+ * @access private
+ */
+ var $kl;
+
+ /**
+ * The Key Length (in bytes)
+ *
+ * @see \phpseclib\Crypt\Base::setKeyLength()
+ * @var int
+ * @access private
+ * @internal The max value is 256 / 8 = 32, the min value is 128 / 8 = 16. Exists in conjunction with $Nk
+ * because the encryption / decryption / key schedule creation requires this number and not $key_length. We could
+ * derive this from $key_length or vice versa, but that'd mean we'd have to do multiple shift operations, so in lieu
+ * of that, we'll just precompute it once.
+ */
+ var $key_length = 16;
+
+ /**
+ * Sets the key length.
+ *
+ * Key lengths can be between 32 and 448 bits.
+ *
+ * @access public
+ * @param int $length
+ */
+ function setKeyLength($length)
+ {
+ if ($length < 32) {
+ $this->key_length = 7;
+ } elseif ($length > 448) {
+ $this->key_length = 56;
+ } else {
+ $this->key_length = $length >> 3;
+ }
+
+ parent::setKeyLength($length);
+ }
+
+ /**
+ * Test for engine validity
+ *
+ * This is mainly just a wrapper to set things up for \phpseclib\Crypt\Base::isValidEngine()
+ *
+ * @see \phpseclib\Crypt\Base::isValidEngine()
+ * @param int $engine
+ * @access public
+ * @return bool
+ */
+ function isValidEngine($engine)
+ {
+ if ($engine == self::ENGINE_OPENSSL) {
+ if (version_compare(PHP_VERSION, '5.3.7') < 0 && $this->key_length != 16) {
+ return false;
+ }
+ if ($this->key_length < 16) {
+ return false;
+ }
+ $this->cipher_name_openssl_ecb = 'bf-ecb';
+ $this->cipher_name_openssl = 'bf-' . $this->_openssl_translate_mode();
+ }
+
+ return parent::isValidEngine($engine);
+ }
+
+ /**
+ * Setup the key (expansion)
+ *
+ * @see \phpseclib\Crypt\Base::_setupKey()
+ * @access private
+ */
+ function _setupKey()
+ {
+ if (isset($this->kl['key']) && $this->key === $this->kl['key']) {
+ // already expanded
+ return;
+ }
+ $this->kl = array('key' => $this->key);
+
+ /* key-expanding p[] and S-Box building sb[] */
+ $this->bctx = array(
+ 'p' => array(),
+ 'sb' => array(
+ $this->sbox0,
+ $this->sbox1,
+ $this->sbox2,
+ $this->sbox3
+ )
+ );
+
+ // unpack binary string in unsigned chars
+ $key = array_values(unpack('C*', $this->key));
+ $keyl = count($key);
+ for ($j = 0, $i = 0; $i < 18; ++$i) {
+ // xor P1 with the first 32-bits of the key, xor P2 with the second 32-bits ...
+ for ($data = 0, $k = 0; $k < 4; ++$k) {
+ $data = ($data << 8) | $key[$j];
+ if (++$j >= $keyl) {
+ $j = 0;
+ }
+ }
+ $this->bctx['p'][] = $this->parray[$i] ^ $data;
+ }
+
+ // encrypt the zero-string, replace P1 and P2 with the encrypted data,
+ // encrypt P3 and P4 with the new P1 and P2, do it with all P-array and subkeys
+ $data = "\0\0\0\0\0\0\0\0";
+ for ($i = 0; $i < 18; $i += 2) {
+ list($l, $r) = array_values(unpack('N*', $data = $this->_encryptBlock($data)));
+ $this->bctx['p'][$i ] = $l;
+ $this->bctx['p'][$i + 1] = $r;
+ }
+ for ($i = 0; $i < 4; ++$i) {
+ for ($j = 0; $j < 256; $j += 2) {
+ list($l, $r) = array_values(unpack('N*', $data = $this->_encryptBlock($data)));
+ $this->bctx['sb'][$i][$j ] = $l;
+ $this->bctx['sb'][$i][$j + 1] = $r;
+ }
+ }
+ }
+
+ /**
+ * Encrypts a block
+ *
+ * @access private
+ * @param string $in
+ * @return string
+ */
+ function _encryptBlock($in)
+ {
+ $p = $this->bctx["p"];
+ // extract($this->bctx["sb"], EXTR_PREFIX_ALL, "sb"); // slower
+ $sb_0 = $this->bctx["sb"][0];
+ $sb_1 = $this->bctx["sb"][1];
+ $sb_2 = $this->bctx["sb"][2];
+ $sb_3 = $this->bctx["sb"][3];
+
+ $in = unpack("N*", $in);
+ $l = $in[1];
+ $r = $in[2];
+
+ for ($i = 0; $i < 16; $i+= 2) {
+ $l^= $p[$i];
+ $r^= ($sb_0[$l >> 24 & 0xff] +
+ $sb_1[$l >> 16 & 0xff] ^
+ $sb_2[$l >> 8 & 0xff]) +
+ $sb_3[$l & 0xff];
+
+ $r^= $p[$i + 1];
+ $l^= ($sb_0[$r >> 24 & 0xff] +
+ $sb_1[$r >> 16 & 0xff] ^
+ $sb_2[$r >> 8 & 0xff]) +
+ $sb_3[$r & 0xff];
+ }
+ return pack("N*", $r ^ $p[17], $l ^ $p[16]);
+ }
+
+ /**
+ * Decrypts a block
+ *
+ * @access private
+ * @param string $in
+ * @return string
+ */
+ function _decryptBlock($in)
+ {
+ $p = $this->bctx["p"];
+ $sb_0 = $this->bctx["sb"][0];
+ $sb_1 = $this->bctx["sb"][1];
+ $sb_2 = $this->bctx["sb"][2];
+ $sb_3 = $this->bctx["sb"][3];
+
+ $in = unpack("N*", $in);
+ $l = $in[1];
+ $r = $in[2];
+
+ for ($i = 17; $i > 2; $i-= 2) {
+ $l^= $p[$i];
+ $r^= ($sb_0[$l >> 24 & 0xff] +
+ $sb_1[$l >> 16 & 0xff] ^
+ $sb_2[$l >> 8 & 0xff]) +
+ $sb_3[$l & 0xff];
+
+ $r^= $p[$i - 1];
+ $l^= ($sb_0[$r >> 24 & 0xff] +
+ $sb_1[$r >> 16 & 0xff] ^
+ $sb_2[$r >> 8 & 0xff]) +
+ $sb_3[$r & 0xff];
+ }
+ return pack("N*", $r ^ $p[0], $l ^ $p[1]);
+ }
+
+ /**
+ * Setup the performance-optimized function for de/encrypt()
+ *
+ * @see \phpseclib\Crypt\Base::_setupInlineCrypt()
+ * @access private
+ */
+ function _setupInlineCrypt()
+ {
+ $lambda_functions =& self::_getLambdaFunctions();
+
+ // We create max. 10 hi-optimized code for memory reason. Means: For each $key one ultra fast inline-crypt function.
+ // (Currently, for Blowfish, one generated $lambda_function cost on php5.5@32bit ~100kb unfreeable mem and ~180kb on php5.5@64bit)
+ // After that, we'll still create very fast optimized code but not the hi-ultimative code, for each $mode one.
+ $gen_hi_opt_code = (bool)(count($lambda_functions) < 10);
+
+ // Generation of a unique hash for our generated code
+ $code_hash = "Crypt_Blowfish, {$this->mode}";
+ if ($gen_hi_opt_code) {
+ $code_hash = str_pad($code_hash, 32) . $this->_hashInlineCryptFunction($this->key);
+ }
+
+ if (!isset($lambda_functions[$code_hash])) {
+ switch (true) {
+ case $gen_hi_opt_code:
+ $p = $this->bctx['p'];
+ $init_crypt = '
+ static $sb_0, $sb_1, $sb_2, $sb_3;
+ if (!$sb_0) {
+ $sb_0 = $self->bctx["sb"][0];
+ $sb_1 = $self->bctx["sb"][1];
+ $sb_2 = $self->bctx["sb"][2];
+ $sb_3 = $self->bctx["sb"][3];
+ }
+ ';
+ break;
+ default:
+ $p = array();
+ for ($i = 0; $i < 18; ++$i) {
+ $p[] = '$p_' . $i;
+ }
+ $init_crypt = '
+ list($sb_0, $sb_1, $sb_2, $sb_3) = $self->bctx["sb"];
+ list(' . implode(',', $p) . ') = $self->bctx["p"];
+
+ ';
+ }
+
+ // Generating encrypt code:
+ $encrypt_block = '
+ $in = unpack("N*", $in);
+ $l = $in[1];
+ $r = $in[2];
+ ';
+ for ($i = 0; $i < 16; $i+= 2) {
+ $encrypt_block.= '
+ $l^= ' . $p[$i] . ';
+ $r^= ($sb_0[$l >> 24 & 0xff] +
+ $sb_1[$l >> 16 & 0xff] ^
+ $sb_2[$l >> 8 & 0xff]) +
+ $sb_3[$l & 0xff];
+
+ $r^= ' . $p[$i + 1] . ';
+ $l^= ($sb_0[$r >> 24 & 0xff] +
+ $sb_1[$r >> 16 & 0xff] ^
+ $sb_2[$r >> 8 & 0xff]) +
+ $sb_3[$r & 0xff];
+ ';
+ }
+ $encrypt_block.= '
+ $in = pack("N*",
+ $r ^ ' . $p[17] . ',
+ $l ^ ' . $p[16] . '
+ );
+ ';
+
+ // Generating decrypt code:
+ $decrypt_block = '
+ $in = unpack("N*", $in);
+ $l = $in[1];
+ $r = $in[2];
+ ';
+
+ for ($i = 17; $i > 2; $i-= 2) {
+ $decrypt_block.= '
+ $l^= ' . $p[$i] . ';
+ $r^= ($sb_0[$l >> 24 & 0xff] +
+ $sb_1[$l >> 16 & 0xff] ^
+ $sb_2[$l >> 8 & 0xff]) +
+ $sb_3[$l & 0xff];
+
+ $r^= ' . $p[$i - 1] . ';
+ $l^= ($sb_0[$r >> 24 & 0xff] +
+ $sb_1[$r >> 16 & 0xff] ^
+ $sb_2[$r >> 8 & 0xff]) +
+ $sb_3[$r & 0xff];
+ ';
+ }
+
+ $decrypt_block.= '
+ $in = pack("N*",
+ $r ^ ' . $p[0] . ',
+ $l ^ ' . $p[1] . '
+ );
+ ';
+
+ $lambda_functions[$code_hash] = $this->_createInlineCryptFunction(
+ array(
+ 'init_crypt' => $init_crypt,
+ 'init_encrypt' => '',
+ 'init_decrypt' => '',
+ 'encrypt_block' => $encrypt_block,
+ 'decrypt_block' => $decrypt_block
+ )
+ );
+ }
+ $this->inline_crypt = $lambda_functions[$code_hash];
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/DES.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/DES.php
new file mode 100644
index 00000000..51220469
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/DES.php
@@ -0,0 +1,1443 @@
+<?php
+
+/**
+ * Pure-PHP implementation of DES.
+ *
+ * Uses mcrypt, if available, and an internal implementation, otherwise.
+ *
+ * PHP version 5
+ *
+ * Useful resources are as follows:
+ *
+ * - {@link http://en.wikipedia.org/wiki/DES_supplementary_material Wikipedia: DES supplementary material}
+ * - {@link http://www.itl.nist.gov/fipspubs/fip46-2.htm FIPS 46-2 - (DES), Data Encryption Standard}
+ * - {@link http://www.cs.eku.edu/faculty/styer/460/Encrypt/JS-DES.html JavaScript DES Example}
+ *
+ * Here's a short example of how to use this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $des = new \phpseclib\Crypt\DES();
+ *
+ * $des->setKey('abcdefgh');
+ *
+ * $size = 10 * 1024;
+ * $plaintext = '';
+ * for ($i = 0; $i < $size; $i++) {
+ * $plaintext.= 'a';
+ * }
+ *
+ * echo $des->decrypt($des->encrypt($plaintext));
+ * ?>
+ * </code>
+ *
+ * @category Crypt
+ * @package DES
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2007 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Crypt;
+
+/**
+ * Pure-PHP implementation of DES.
+ *
+ * @package DES
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class DES extends Base
+{
+ /**#@+
+ * @access private
+ * @see \phpseclib\Crypt\DES::_setupKey()
+ * @see \phpseclib\Crypt\DES::_processBlock()
+ */
+ /**
+ * Contains $keys[self::ENCRYPT]
+ */
+ const ENCRYPT = 0;
+ /**
+ * Contains $keys[self::DECRYPT]
+ */
+ const DECRYPT = 1;
+ /**#@-*/
+
+ /**
+ * Block Length of the cipher
+ *
+ * @see \phpseclib\Crypt\Base::block_size
+ * @var int
+ * @access private
+ */
+ var $block_size = 8;
+
+ /**
+ * Key Length (in bytes)
+ *
+ * @see \phpseclib\Crypt\Base::setKeyLength()
+ * @var int
+ * @access private
+ */
+ var $key_length = 8;
+
+ /**
+ * The mcrypt specific name of the cipher
+ *
+ * @see \phpseclib\Crypt\Base::cipher_name_mcrypt
+ * @var string
+ * @access private
+ */
+ var $cipher_name_mcrypt = 'des';
+
+ /**
+ * The OpenSSL names of the cipher / modes
+ *
+ * @see \phpseclib\Crypt\Base::openssl_mode_names
+ * @var array
+ * @access private
+ */
+ var $openssl_mode_names = array(
+ self::MODE_ECB => 'des-ecb',
+ self::MODE_CBC => 'des-cbc',
+ self::MODE_CFB => 'des-cfb',
+ self::MODE_OFB => 'des-ofb'
+ // self::MODE_CTR is undefined for DES
+ );
+
+ /**
+ * Optimizing value while CFB-encrypting
+ *
+ * @see \phpseclib\Crypt\Base::cfb_init_len
+ * @var int
+ * @access private
+ */
+ var $cfb_init_len = 500;
+
+ /**
+ * Switch for DES/3DES encryption
+ *
+ * Used only if $engine == self::ENGINE_INTERNAL
+ *
+ * @see self::_setupKey()
+ * @see self::_processBlock()
+ * @var int
+ * @access private
+ */
+ var $des_rounds = 1;
+
+ /**
+ * max possible size of $key
+ *
+ * @see self::setKey()
+ * @var string
+ * @access private
+ */
+ var $key_length_max = 8;
+
+ /**
+ * The Key Schedule
+ *
+ * @see self::_setupKey()
+ * @var array
+ * @access private
+ */
+ var $keys;
+
+ /**
+ * Shuffle table.
+ *
+ * For each byte value index, the entry holds an 8-byte string
+ * with each byte containing all bits in the same state as the
+ * corresponding bit in the index value.
+ *
+ * @see self::_processBlock()
+ * @see self::_setupKey()
+ * @var array
+ * @access private
+ */
+ var $shuffle = array(
+ "\x00\x00\x00\x00\x00\x00\x00\x00", "\x00\x00\x00\x00\x00\x00\x00\xFF",
+ "\x00\x00\x00\x00\x00\x00\xFF\x00", "\x00\x00\x00\x00\x00\x00\xFF\xFF",
+ "\x00\x00\x00\x00\x00\xFF\x00\x00", "\x00\x00\x00\x00\x00\xFF\x00\xFF",
+ "\x00\x00\x00\x00\x00\xFF\xFF\x00", "\x00\x00\x00\x00\x00\xFF\xFF\xFF",
+ "\x00\x00\x00\x00\xFF\x00\x00\x00", "\x00\x00\x00\x00\xFF\x00\x00\xFF",
+ "\x00\x00\x00\x00\xFF\x00\xFF\x00", "\x00\x00\x00\x00\xFF\x00\xFF\xFF",
+ "\x00\x00\x00\x00\xFF\xFF\x00\x00", "\x00\x00\x00\x00\xFF\xFF\x00\xFF",
+ "\x00\x00\x00\x00\xFF\xFF\xFF\x00", "\x00\x00\x00\x00\xFF\xFF\xFF\xFF",
+ "\x00\x00\x00\xFF\x00\x00\x00\x00", "\x00\x00\x00\xFF\x00\x00\x00\xFF",
+ "\x00\x00\x00\xFF\x00\x00\xFF\x00", "\x00\x00\x00\xFF\x00\x00\xFF\xFF",
+ "\x00\x00\x00\xFF\x00\xFF\x00\x00", "\x00\x00\x00\xFF\x00\xFF\x00\xFF",
+ "\x00\x00\x00\xFF\x00\xFF\xFF\x00", "\x00\x00\x00\xFF\x00\xFF\xFF\xFF",
+ "\x00\x00\x00\xFF\xFF\x00\x00\x00", "\x00\x00\x00\xFF\xFF\x00\x00\xFF",
+ "\x00\x00\x00\xFF\xFF\x00\xFF\x00", "\x00\x00\x00\xFF\xFF\x00\xFF\xFF",
+ "\x00\x00\x00\xFF\xFF\xFF\x00\x00", "\x00\x00\x00\xFF\xFF\xFF\x00\xFF",
+ "\x00\x00\x00\xFF\xFF\xFF\xFF\x00", "\x00\x00\x00\xFF\xFF\xFF\xFF\xFF",
+ "\x00\x00\xFF\x00\x00\x00\x00\x00", "\x00\x00\xFF\x00\x00\x00\x00\xFF",
+ "\x00\x00\xFF\x00\x00\x00\xFF\x00", "\x00\x00\xFF\x00\x00\x00\xFF\xFF",
+ "\x00\x00\xFF\x00\x00\xFF\x00\x00", "\x00\x00\xFF\x00\x00\xFF\x00\xFF",
+ "\x00\x00\xFF\x00\x00\xFF\xFF\x00", "\x00\x00\xFF\x00\x00\xFF\xFF\xFF",
+ "\x00\x00\xFF\x00\xFF\x00\x00\x00", "\x00\x00\xFF\x00\xFF\x00\x00\xFF",
+ "\x00\x00\xFF\x00\xFF\x00\xFF\x00", "\x00\x00\xFF\x00\xFF\x00\xFF\xFF",
+ "\x00\x00\xFF\x00\xFF\xFF\x00\x00", "\x00\x00\xFF\x00\xFF\xFF\x00\xFF",
+ "\x00\x00\xFF\x00\xFF\xFF\xFF\x00", "\x00\x00\xFF\x00\xFF\xFF\xFF\xFF",
+ "\x00\x00\xFF\xFF\x00\x00\x00\x00", "\x00\x00\xFF\xFF\x00\x00\x00\xFF",
+ "\x00\x00\xFF\xFF\x00\x00\xFF\x00", "\x00\x00\xFF\xFF\x00\x00\xFF\xFF",
+ "\x00\x00\xFF\xFF\x00\xFF\x00\x00", "\x00\x00\xFF\xFF\x00\xFF\x00\xFF",
+ "\x00\x00\xFF\xFF\x00\xFF\xFF\x00", "\x00\x00\xFF\xFF\x00\xFF\xFF\xFF",
+ "\x00\x00\xFF\xFF\xFF\x00\x00\x00", "\x00\x00\xFF\xFF\xFF\x00\x00\xFF",
+ "\x00\x00\xFF\xFF\xFF\x00\xFF\x00", "\x00\x00\xFF\xFF\xFF\x00\xFF\xFF",
+ "\x00\x00\xFF\xFF\xFF\xFF\x00\x00", "\x00\x00\xFF\xFF\xFF\xFF\x00\xFF",
+ "\x00\x00\xFF\xFF\xFF\xFF\xFF\x00", "\x00\x00\xFF\xFF\xFF\xFF\xFF\xFF",
+ "\x00\xFF\x00\x00\x00\x00\x00\x00", "\x00\xFF\x00\x00\x00\x00\x00\xFF",
+ "\x00\xFF\x00\x00\x00\x00\xFF\x00", "\x00\xFF\x00\x00\x00\x00\xFF\xFF",
+ "\x00\xFF\x00\x00\x00\xFF\x00\x00", "\x00\xFF\x00\x00\x00\xFF\x00\xFF",
+ "\x00\xFF\x00\x00\x00\xFF\xFF\x00", "\x00\xFF\x00\x00\x00\xFF\xFF\xFF",
+ "\x00\xFF\x00\x00\xFF\x00\x00\x00", "\x00\xFF\x00\x00\xFF\x00\x00\xFF",
+ "\x00\xFF\x00\x00\xFF\x00\xFF\x00", "\x00\xFF\x00\x00\xFF\x00\xFF\xFF",
+ "\x00\xFF\x00\x00\xFF\xFF\x00\x00", "\x00\xFF\x00\x00\xFF\xFF\x00\xFF",
+ "\x00\xFF\x00\x00\xFF\xFF\xFF\x00", "\x00\xFF\x00\x00\xFF\xFF\xFF\xFF",
+ "\x00\xFF\x00\xFF\x00\x00\x00\x00", "\x00\xFF\x00\xFF\x00\x00\x00\xFF",
+ "\x00\xFF\x00\xFF\x00\x00\xFF\x00", "\x00\xFF\x00\xFF\x00\x00\xFF\xFF",
+ "\x00\xFF\x00\xFF\x00\xFF\x00\x00", "\x00\xFF\x00\xFF\x00\xFF\x00\xFF",
+ "\x00\xFF\x00\xFF\x00\xFF\xFF\x00", "\x00\xFF\x00\xFF\x00\xFF\xFF\xFF",
+ "\x00\xFF\x00\xFF\xFF\x00\x00\x00", "\x00\xFF\x00\xFF\xFF\x00\x00\xFF",
+ "\x00\xFF\x00\xFF\xFF\x00\xFF\x00", "\x00\xFF\x00\xFF\xFF\x00\xFF\xFF",
+ "\x00\xFF\x00\xFF\xFF\xFF\x00\x00", "\x00\xFF\x00\xFF\xFF\xFF\x00\xFF",
+ "\x00\xFF\x00\xFF\xFF\xFF\xFF\x00", "\x00\xFF\x00\xFF\xFF\xFF\xFF\xFF",
+ "\x00\xFF\xFF\x00\x00\x00\x00\x00", "\x00\xFF\xFF\x00\x00\x00\x00\xFF",
+ "\x00\xFF\xFF\x00\x00\x00\xFF\x00", "\x00\xFF\xFF\x00\x00\x00\xFF\xFF",
+ "\x00\xFF\xFF\x00\x00\xFF\x00\x00", "\x00\xFF\xFF\x00\x00\xFF\x00\xFF",
+ "\x00\xFF\xFF\x00\x00\xFF\xFF\x00", "\x00\xFF\xFF\x00\x00\xFF\xFF\xFF",
+ "\x00\xFF\xFF\x00\xFF\x00\x00\x00", "\x00\xFF\xFF\x00\xFF\x00\x00\xFF",
+ "\x00\xFF\xFF\x00\xFF\x00\xFF\x00", "\x00\xFF\xFF\x00\xFF\x00\xFF\xFF",
+ "\x00\xFF\xFF\x00\xFF\xFF\x00\x00", "\x00\xFF\xFF\x00\xFF\xFF\x00\xFF",
+ "\x00\xFF\xFF\x00\xFF\xFF\xFF\x00", "\x00\xFF\xFF\x00\xFF\xFF\xFF\xFF",
+ "\x00\xFF\xFF\xFF\x00\x00\x00\x00", "\x00\xFF\xFF\xFF\x00\x00\x00\xFF",
+ "\x00\xFF\xFF\xFF\x00\x00\xFF\x00", "\x00\xFF\xFF\xFF\x00\x00\xFF\xFF",
+ "\x00\xFF\xFF\xFF\x00\xFF\x00\x00", "\x00\xFF\xFF\xFF\x00\xFF\x00\xFF",
+ "\x00\xFF\xFF\xFF\x00\xFF\xFF\x00", "\x00\xFF\xFF\xFF\x00\xFF\xFF\xFF",
+ "\x00\xFF\xFF\xFF\xFF\x00\x00\x00", "\x00\xFF\xFF\xFF\xFF\x00\x00\xFF",
+ "\x00\xFF\xFF\xFF\xFF\x00\xFF\x00", "\x00\xFF\xFF\xFF\xFF\x00\xFF\xFF",
+ "\x00\xFF\xFF\xFF\xFF\xFF\x00\x00", "\x00\xFF\xFF\xFF\xFF\xFF\x00\xFF",
+ "\x00\xFF\xFF\xFF\xFF\xFF\xFF\x00", "\x00\xFF\xFF\xFF\xFF\xFF\xFF\xFF",
+ "\xFF\x00\x00\x00\x00\x00\x00\x00", "\xFF\x00\x00\x00\x00\x00\x00\xFF",
+ "\xFF\x00\x00\x00\x00\x00\xFF\x00", "\xFF\x00\x00\x00\x00\x00\xFF\xFF",
+ "\xFF\x00\x00\x00\x00\xFF\x00\x00", "\xFF\x00\x00\x00\x00\xFF\x00\xFF",
+ "\xFF\x00\x00\x00\x00\xFF\xFF\x00", "\xFF\x00\x00\x00\x00\xFF\xFF\xFF",
+ "\xFF\x00\x00\x00\xFF\x00\x00\x00", "\xFF\x00\x00\x00\xFF\x00\x00\xFF",
+ "\xFF\x00\x00\x00\xFF\x00\xFF\x00", "\xFF\x00\x00\x00\xFF\x00\xFF\xFF",
+ "\xFF\x00\x00\x00\xFF\xFF\x00\x00", "\xFF\x00\x00\x00\xFF\xFF\x00\xFF",
+ "\xFF\x00\x00\x00\xFF\xFF\xFF\x00", "\xFF\x00\x00\x00\xFF\xFF\xFF\xFF",
+ "\xFF\x00\x00\xFF\x00\x00\x00\x00", "\xFF\x00\x00\xFF\x00\x00\x00\xFF",
+ "\xFF\x00\x00\xFF\x00\x00\xFF\x00", "\xFF\x00\x00\xFF\x00\x00\xFF\xFF",
+ "\xFF\x00\x00\xFF\x00\xFF\x00\x00", "\xFF\x00\x00\xFF\x00\xFF\x00\xFF",
+ "\xFF\x00\x00\xFF\x00\xFF\xFF\x00", "\xFF\x00\x00\xFF\x00\xFF\xFF\xFF",
+ "\xFF\x00\x00\xFF\xFF\x00\x00\x00", "\xFF\x00\x00\xFF\xFF\x00\x00\xFF",
+ "\xFF\x00\x00\xFF\xFF\x00\xFF\x00", "\xFF\x00\x00\xFF\xFF\x00\xFF\xFF",
+ "\xFF\x00\x00\xFF\xFF\xFF\x00\x00", "\xFF\x00\x00\xFF\xFF\xFF\x00\xFF",
+ "\xFF\x00\x00\xFF\xFF\xFF\xFF\x00", "\xFF\x00\x00\xFF\xFF\xFF\xFF\xFF",
+ "\xFF\x00\xFF\x00\x00\x00\x00\x00", "\xFF\x00\xFF\x00\x00\x00\x00\xFF",
+ "\xFF\x00\xFF\x00\x00\x00\xFF\x00", "\xFF\x00\xFF\x00\x00\x00\xFF\xFF",
+ "\xFF\x00\xFF\x00\x00\xFF\x00\x00", "\xFF\x00\xFF\x00\x00\xFF\x00\xFF",
+ "\xFF\x00\xFF\x00\x00\xFF\xFF\x00", "\xFF\x00\xFF\x00\x00\xFF\xFF\xFF",
+ "\xFF\x00\xFF\x00\xFF\x00\x00\x00", "\xFF\x00\xFF\x00\xFF\x00\x00\xFF",
+ "\xFF\x00\xFF\x00\xFF\x00\xFF\x00", "\xFF\x00\xFF\x00\xFF\x00\xFF\xFF",
+ "\xFF\x00\xFF\x00\xFF\xFF\x00\x00", "\xFF\x00\xFF\x00\xFF\xFF\x00\xFF",
+ "\xFF\x00\xFF\x00\xFF\xFF\xFF\x00", "\xFF\x00\xFF\x00\xFF\xFF\xFF\xFF",
+ "\xFF\x00\xFF\xFF\x00\x00\x00\x00", "\xFF\x00\xFF\xFF\x00\x00\x00\xFF",
+ "\xFF\x00\xFF\xFF\x00\x00\xFF\x00", "\xFF\x00\xFF\xFF\x00\x00\xFF\xFF",
+ "\xFF\x00\xFF\xFF\x00\xFF\x00\x00", "\xFF\x00\xFF\xFF\x00\xFF\x00\xFF",
+ "\xFF\x00\xFF\xFF\x00\xFF\xFF\x00", "\xFF\x00\xFF\xFF\x00\xFF\xFF\xFF",
+ "\xFF\x00\xFF\xFF\xFF\x00\x00\x00", "\xFF\x00\xFF\xFF\xFF\x00\x00\xFF",
+ "\xFF\x00\xFF\xFF\xFF\x00\xFF\x00", "\xFF\x00\xFF\xFF\xFF\x00\xFF\xFF",
+ "\xFF\x00\xFF\xFF\xFF\xFF\x00\x00", "\xFF\x00\xFF\xFF\xFF\xFF\x00\xFF",
+ "\xFF\x00\xFF\xFF\xFF\xFF\xFF\x00", "\xFF\x00\xFF\xFF\xFF\xFF\xFF\xFF",
+ "\xFF\xFF\x00\x00\x00\x00\x00\x00", "\xFF\xFF\x00\x00\x00\x00\x00\xFF",
+ "\xFF\xFF\x00\x00\x00\x00\xFF\x00", "\xFF\xFF\x00\x00\x00\x00\xFF\xFF",
+ "\xFF\xFF\x00\x00\x00\xFF\x00\x00", "\xFF\xFF\x00\x00\x00\xFF\x00\xFF",
+ "\xFF\xFF\x00\x00\x00\xFF\xFF\x00", "\xFF\xFF\x00\x00\x00\xFF\xFF\xFF",
+ "\xFF\xFF\x00\x00\xFF\x00\x00\x00", "\xFF\xFF\x00\x00\xFF\x00\x00\xFF",
+ "\xFF\xFF\x00\x00\xFF\x00\xFF\x00", "\xFF\xFF\x00\x00\xFF\x00\xFF\xFF",
+ "\xFF\xFF\x00\x00\xFF\xFF\x00\x00", "\xFF\xFF\x00\x00\xFF\xFF\x00\xFF",
+ "\xFF\xFF\x00\x00\xFF\xFF\xFF\x00", "\xFF\xFF\x00\x00\xFF\xFF\xFF\xFF",
+ "\xFF\xFF\x00\xFF\x00\x00\x00\x00", "\xFF\xFF\x00\xFF\x00\x00\x00\xFF",
+ "\xFF\xFF\x00\xFF\x00\x00\xFF\x00", "\xFF\xFF\x00\xFF\x00\x00\xFF\xFF",
+ "\xFF\xFF\x00\xFF\x00\xFF\x00\x00", "\xFF\xFF\x00\xFF\x00\xFF\x00\xFF",
+ "\xFF\xFF\x00\xFF\x00\xFF\xFF\x00", "\xFF\xFF\x00\xFF\x00\xFF\xFF\xFF",
+ "\xFF\xFF\x00\xFF\xFF\x00\x00\x00", "\xFF\xFF\x00\xFF\xFF\x00\x00\xFF",
+ "\xFF\xFF\x00\xFF\xFF\x00\xFF\x00", "\xFF\xFF\x00\xFF\xFF\x00\xFF\xFF",
+ "\xFF\xFF\x00\xFF\xFF\xFF\x00\x00", "\xFF\xFF\x00\xFF\xFF\xFF\x00\xFF",
+ "\xFF\xFF\x00\xFF\xFF\xFF\xFF\x00", "\xFF\xFF\x00\xFF\xFF\xFF\xFF\xFF",
+ "\xFF\xFF\xFF\x00\x00\x00\x00\x00", "\xFF\xFF\xFF\x00\x00\x00\x00\xFF",
+ "\xFF\xFF\xFF\x00\x00\x00\xFF\x00", "\xFF\xFF\xFF\x00\x00\x00\xFF\xFF",
+ "\xFF\xFF\xFF\x00\x00\xFF\x00\x00", "\xFF\xFF\xFF\x00\x00\xFF\x00\xFF",
+ "\xFF\xFF\xFF\x00\x00\xFF\xFF\x00", "\xFF\xFF\xFF\x00\x00\xFF\xFF\xFF",
+ "\xFF\xFF\xFF\x00\xFF\x00\x00\x00", "\xFF\xFF\xFF\x00\xFF\x00\x00\xFF",
+ "\xFF\xFF\xFF\x00\xFF\x00\xFF\x00", "\xFF\xFF\xFF\x00\xFF\x00\xFF\xFF",
+ "\xFF\xFF\xFF\x00\xFF\xFF\x00\x00", "\xFF\xFF\xFF\x00\xFF\xFF\x00\xFF",
+ "\xFF\xFF\xFF\x00\xFF\xFF\xFF\x00", "\xFF\xFF\xFF\x00\xFF\xFF\xFF\xFF",
+ "\xFF\xFF\xFF\xFF\x00\x00\x00\x00", "\xFF\xFF\xFF\xFF\x00\x00\x00\xFF",
+ "\xFF\xFF\xFF\xFF\x00\x00\xFF\x00", "\xFF\xFF\xFF\xFF\x00\x00\xFF\xFF",
+ "\xFF\xFF\xFF\xFF\x00\xFF\x00\x00", "\xFF\xFF\xFF\xFF\x00\xFF\x00\xFF",
+ "\xFF\xFF\xFF\xFF\x00\xFF\xFF\x00", "\xFF\xFF\xFF\xFF\x00\xFF\xFF\xFF",
+ "\xFF\xFF\xFF\xFF\xFF\x00\x00\x00", "\xFF\xFF\xFF\xFF\xFF\x00\x00\xFF",
+ "\xFF\xFF\xFF\xFF\xFF\x00\xFF\x00", "\xFF\xFF\xFF\xFF\xFF\x00\xFF\xFF",
+ "\xFF\xFF\xFF\xFF\xFF\xFF\x00\x00", "\xFF\xFF\xFF\xFF\xFF\xFF\x00\xFF",
+ "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x00", "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
+ );
+
+ /**
+ * IP mapping helper table.
+ *
+ * Indexing this table with each source byte performs the initial bit permutation.
+ *
+ * @var array
+ * @access private
+ */
+ var $ipmap = array(
+ 0x00, 0x10, 0x01, 0x11, 0x20, 0x30, 0x21, 0x31,
+ 0x02, 0x12, 0x03, 0x13, 0x22, 0x32, 0x23, 0x33,
+ 0x40, 0x50, 0x41, 0x51, 0x60, 0x70, 0x61, 0x71,
+ 0x42, 0x52, 0x43, 0x53, 0x62, 0x72, 0x63, 0x73,
+ 0x04, 0x14, 0x05, 0x15, 0x24, 0x34, 0x25, 0x35,
+ 0x06, 0x16, 0x07, 0x17, 0x26, 0x36, 0x27, 0x37,
+ 0x44, 0x54, 0x45, 0x55, 0x64, 0x74, 0x65, 0x75,
+ 0x46, 0x56, 0x47, 0x57, 0x66, 0x76, 0x67, 0x77,
+ 0x80, 0x90, 0x81, 0x91, 0xA0, 0xB0, 0xA1, 0xB1,
+ 0x82, 0x92, 0x83, 0x93, 0xA2, 0xB2, 0xA3, 0xB3,
+ 0xC0, 0xD0, 0xC1, 0xD1, 0xE0, 0xF0, 0xE1, 0xF1,
+ 0xC2, 0xD2, 0xC3, 0xD3, 0xE2, 0xF2, 0xE3, 0xF3,
+ 0x84, 0x94, 0x85, 0x95, 0xA4, 0xB4, 0xA5, 0xB5,
+ 0x86, 0x96, 0x87, 0x97, 0xA6, 0xB6, 0xA7, 0xB7,
+ 0xC4, 0xD4, 0xC5, 0xD5, 0xE4, 0xF4, 0xE5, 0xF5,
+ 0xC6, 0xD6, 0xC7, 0xD7, 0xE6, 0xF6, 0xE7, 0xF7,
+ 0x08, 0x18, 0x09, 0x19, 0x28, 0x38, 0x29, 0x39,
+ 0x0A, 0x1A, 0x0B, 0x1B, 0x2A, 0x3A, 0x2B, 0x3B,
+ 0x48, 0x58, 0x49, 0x59, 0x68, 0x78, 0x69, 0x79,
+ 0x4A, 0x5A, 0x4B, 0x5B, 0x6A, 0x7A, 0x6B, 0x7B,
+ 0x0C, 0x1C, 0x0D, 0x1D, 0x2C, 0x3C, 0x2D, 0x3D,
+ 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F,
+ 0x4C, 0x5C, 0x4D, 0x5D, 0x6C, 0x7C, 0x6D, 0x7D,
+ 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F,
+ 0x88, 0x98, 0x89, 0x99, 0xA8, 0xB8, 0xA9, 0xB9,
+ 0x8A, 0x9A, 0x8B, 0x9B, 0xAA, 0xBA, 0xAB, 0xBB,
+ 0xC8, 0xD8, 0xC9, 0xD9, 0xE8, 0xF8, 0xE9, 0xF9,
+ 0xCA, 0xDA, 0xCB, 0xDB, 0xEA, 0xFA, 0xEB, 0xFB,
+ 0x8C, 0x9C, 0x8D, 0x9D, 0xAC, 0xBC, 0xAD, 0xBD,
+ 0x8E, 0x9E, 0x8F, 0x9F, 0xAE, 0xBE, 0xAF, 0xBF,
+ 0xCC, 0xDC, 0xCD, 0xDD, 0xEC, 0xFC, 0xED, 0xFD,
+ 0xCE, 0xDE, 0xCF, 0xDF, 0xEE, 0xFE, 0xEF, 0xFF
+ );
+
+ /**
+ * Inverse IP mapping helper table.
+ * Indexing this table with a byte value reverses the bit order.
+ *
+ * @var array
+ * @access private
+ */
+ var $invipmap = array(
+ 0x00, 0x80, 0x40, 0xC0, 0x20, 0xA0, 0x60, 0xE0,
+ 0x10, 0x90, 0x50, 0xD0, 0x30, 0xB0, 0x70, 0xF0,
+ 0x08, 0x88, 0x48, 0xC8, 0x28, 0xA8, 0x68, 0xE8,
+ 0x18, 0x98, 0x58, 0xD8, 0x38, 0xB8, 0x78, 0xF8,
+ 0x04, 0x84, 0x44, 0xC4, 0x24, 0xA4, 0x64, 0xE4,
+ 0x14, 0x94, 0x54, 0xD4, 0x34, 0xB4, 0x74, 0xF4,
+ 0x0C, 0x8C, 0x4C, 0xCC, 0x2C, 0xAC, 0x6C, 0xEC,
+ 0x1C, 0x9C, 0x5C, 0xDC, 0x3C, 0xBC, 0x7C, 0xFC,
+ 0x02, 0x82, 0x42, 0xC2, 0x22, 0xA2, 0x62, 0xE2,
+ 0x12, 0x92, 0x52, 0xD2, 0x32, 0xB2, 0x72, 0xF2,
+ 0x0A, 0x8A, 0x4A, 0xCA, 0x2A, 0xAA, 0x6A, 0xEA,
+ 0x1A, 0x9A, 0x5A, 0xDA, 0x3A, 0xBA, 0x7A, 0xFA,
+ 0x06, 0x86, 0x46, 0xC6, 0x26, 0xA6, 0x66, 0xE6,
+ 0x16, 0x96, 0x56, 0xD6, 0x36, 0xB6, 0x76, 0xF6,
+ 0x0E, 0x8E, 0x4E, 0xCE, 0x2E, 0xAE, 0x6E, 0xEE,
+ 0x1E, 0x9E, 0x5E, 0xDE, 0x3E, 0xBE, 0x7E, 0xFE,
+ 0x01, 0x81, 0x41, 0xC1, 0x21, 0xA1, 0x61, 0xE1,
+ 0x11, 0x91, 0x51, 0xD1, 0x31, 0xB1, 0x71, 0xF1,
+ 0x09, 0x89, 0x49, 0xC9, 0x29, 0xA9, 0x69, 0xE9,
+ 0x19, 0x99, 0x59, 0xD9, 0x39, 0xB9, 0x79, 0xF9,
+ 0x05, 0x85, 0x45, 0xC5, 0x25, 0xA5, 0x65, 0xE5,
+ 0x15, 0x95, 0x55, 0xD5, 0x35, 0xB5, 0x75, 0xF5,
+ 0x0D, 0x8D, 0x4D, 0xCD, 0x2D, 0xAD, 0x6D, 0xED,
+ 0x1D, 0x9D, 0x5D, 0xDD, 0x3D, 0xBD, 0x7D, 0xFD,
+ 0x03, 0x83, 0x43, 0xC3, 0x23, 0xA3, 0x63, 0xE3,
+ 0x13, 0x93, 0x53, 0xD3, 0x33, 0xB3, 0x73, 0xF3,
+ 0x0B, 0x8B, 0x4B, 0xCB, 0x2B, 0xAB, 0x6B, 0xEB,
+ 0x1B, 0x9B, 0x5B, 0xDB, 0x3B, 0xBB, 0x7B, 0xFB,
+ 0x07, 0x87, 0x47, 0xC7, 0x27, 0xA7, 0x67, 0xE7,
+ 0x17, 0x97, 0x57, 0xD7, 0x37, 0xB7, 0x77, 0xF7,
+ 0x0F, 0x8F, 0x4F, 0xCF, 0x2F, 0xAF, 0x6F, 0xEF,
+ 0x1F, 0x9F, 0x5F, 0xDF, 0x3F, 0xBF, 0x7F, 0xFF
+ );
+
+ /**
+ * Pre-permuted S-box1
+ *
+ * Each box ($sbox1-$sbox8) has been vectorized, then each value pre-permuted using the
+ * P table: concatenation can then be replaced by exclusive ORs.
+ *
+ * @var array
+ * @access private
+ */
+ var $sbox1 = array(
+ 0x00808200, 0x00000000, 0x00008000, 0x00808202,
+ 0x00808002, 0x00008202, 0x00000002, 0x00008000,
+ 0x00000200, 0x00808200, 0x00808202, 0x00000200,
+ 0x00800202, 0x00808002, 0x00800000, 0x00000002,
+ 0x00000202, 0x00800200, 0x00800200, 0x00008200,
+ 0x00008200, 0x00808000, 0x00808000, 0x00800202,
+ 0x00008002, 0x00800002, 0x00800002, 0x00008002,
+ 0x00000000, 0x00000202, 0x00008202, 0x00800000,
+ 0x00008000, 0x00808202, 0x00000002, 0x00808000,
+ 0x00808200, 0x00800000, 0x00800000, 0x00000200,
+ 0x00808002, 0x00008000, 0x00008200, 0x00800002,
+ 0x00000200, 0x00000002, 0x00800202, 0x00008202,
+ 0x00808202, 0x00008002, 0x00808000, 0x00800202,
+ 0x00800002, 0x00000202, 0x00008202, 0x00808200,
+ 0x00000202, 0x00800200, 0x00800200, 0x00000000,
+ 0x00008002, 0x00008200, 0x00000000, 0x00808002
+ );
+
+ /**
+ * Pre-permuted S-box2
+ *
+ * @var array
+ * @access private
+ */
+ var $sbox2 = array(
+ 0x40084010, 0x40004000, 0x00004000, 0x00084010,
+ 0x00080000, 0x00000010, 0x40080010, 0x40004010,
+ 0x40000010, 0x40084010, 0x40084000, 0x40000000,
+ 0x40004000, 0x00080000, 0x00000010, 0x40080010,
+ 0x00084000, 0x00080010, 0x40004010, 0x00000000,
+ 0x40000000, 0x00004000, 0x00084010, 0x40080000,
+ 0x00080010, 0x40000010, 0x00000000, 0x00084000,
+ 0x00004010, 0x40084000, 0x40080000, 0x00004010,
+ 0x00000000, 0x00084010, 0x40080010, 0x00080000,
+ 0x40004010, 0x40080000, 0x40084000, 0x00004000,
+ 0x40080000, 0x40004000, 0x00000010, 0x40084010,
+ 0x00084010, 0x00000010, 0x00004000, 0x40000000,
+ 0x00004010, 0x40084000, 0x00080000, 0x40000010,
+ 0x00080010, 0x40004010, 0x40000010, 0x00080010,
+ 0x00084000, 0x00000000, 0x40004000, 0x00004010,
+ 0x40000000, 0x40080010, 0x40084010, 0x00084000
+ );
+
+ /**
+ * Pre-permuted S-box3
+ *
+ * @var array
+ * @access private
+ */
+ var $sbox3 = array(
+ 0x00000104, 0x04010100, 0x00000000, 0x04010004,
+ 0x04000100, 0x00000000, 0x00010104, 0x04000100,
+ 0x00010004, 0x04000004, 0x04000004, 0x00010000,
+ 0x04010104, 0x00010004, 0x04010000, 0x00000104,
+ 0x04000000, 0x00000004, 0x04010100, 0x00000100,
+ 0x00010100, 0x04010000, 0x04010004, 0x00010104,
+ 0x04000104, 0x00010100, 0x00010000, 0x04000104,
+ 0x00000004, 0x04010104, 0x00000100, 0x04000000,
+ 0x04010100, 0x04000000, 0x00010004, 0x00000104,
+ 0x00010000, 0x04010100, 0x04000100, 0x00000000,
+ 0x00000100, 0x00010004, 0x04010104, 0x04000100,
+ 0x04000004, 0x00000100, 0x00000000, 0x04010004,
+ 0x04000104, 0x00010000, 0x04000000, 0x04010104,
+ 0x00000004, 0x00010104, 0x00010100, 0x04000004,
+ 0x04010000, 0x04000104, 0x00000104, 0x04010000,
+ 0x00010104, 0x00000004, 0x04010004, 0x00010100
+ );
+
+ /**
+ * Pre-permuted S-box4
+ *
+ * @var array
+ * @access private
+ */
+ var $sbox4 = array(
+ 0x80401000, 0x80001040, 0x80001040, 0x00000040,
+ 0x00401040, 0x80400040, 0x80400000, 0x80001000,
+ 0x00000000, 0x00401000, 0x00401000, 0x80401040,
+ 0x80000040, 0x00000000, 0x00400040, 0x80400000,
+ 0x80000000, 0x00001000, 0x00400000, 0x80401000,
+ 0x00000040, 0x00400000, 0x80001000, 0x00001040,
+ 0x80400040, 0x80000000, 0x00001040, 0x00400040,
+ 0x00001000, 0x00401040, 0x80401040, 0x80000040,
+ 0x00400040, 0x80400000, 0x00401000, 0x80401040,
+ 0x80000040, 0x00000000, 0x00000000, 0x00401000,
+ 0x00001040, 0x00400040, 0x80400040, 0x80000000,
+ 0x80401000, 0x80001040, 0x80001040, 0x00000040,
+ 0x80401040, 0x80000040, 0x80000000, 0x00001000,
+ 0x80400000, 0x80001000, 0x00401040, 0x80400040,
+ 0x80001000, 0x00001040, 0x00400000, 0x80401000,
+ 0x00000040, 0x00400000, 0x00001000, 0x00401040
+ );
+
+ /**
+ * Pre-permuted S-box5
+ *
+ * @var array
+ * @access private
+ */
+ var $sbox5 = array(
+ 0x00000080, 0x01040080, 0x01040000, 0x21000080,
+ 0x00040000, 0x00000080, 0x20000000, 0x01040000,
+ 0x20040080, 0x00040000, 0x01000080, 0x20040080,
+ 0x21000080, 0x21040000, 0x00040080, 0x20000000,
+ 0x01000000, 0x20040000, 0x20040000, 0x00000000,
+ 0x20000080, 0x21040080, 0x21040080, 0x01000080,
+ 0x21040000, 0x20000080, 0x00000000, 0x21000000,
+ 0x01040080, 0x01000000, 0x21000000, 0x00040080,
+ 0x00040000, 0x21000080, 0x00000080, 0x01000000,
+ 0x20000000, 0x01040000, 0x21000080, 0x20040080,
+ 0x01000080, 0x20000000, 0x21040000, 0x01040080,
+ 0x20040080, 0x00000080, 0x01000000, 0x21040000,
+ 0x21040080, 0x00040080, 0x21000000, 0x21040080,
+ 0x01040000, 0x00000000, 0x20040000, 0x21000000,
+ 0x00040080, 0x01000080, 0x20000080, 0x00040000,
+ 0x00000000, 0x20040000, 0x01040080, 0x20000080
+ );
+
+ /**
+ * Pre-permuted S-box6
+ *
+ * @var array
+ * @access private
+ */
+ var $sbox6 = array(
+ 0x10000008, 0x10200000, 0x00002000, 0x10202008,
+ 0x10200000, 0x00000008, 0x10202008, 0x00200000,
+ 0x10002000, 0x00202008, 0x00200000, 0x10000008,
+ 0x00200008, 0x10002000, 0x10000000, 0x00002008,
+ 0x00000000, 0x00200008, 0x10002008, 0x00002000,
+ 0x00202000, 0x10002008, 0x00000008, 0x10200008,
+ 0x10200008, 0x00000000, 0x00202008, 0x10202000,
+ 0x00002008, 0x00202000, 0x10202000, 0x10000000,
+ 0x10002000, 0x00000008, 0x10200008, 0x00202000,
+ 0x10202008, 0x00200000, 0x00002008, 0x10000008,
+ 0x00200000, 0x10002000, 0x10000000, 0x00002008,
+ 0x10000008, 0x10202008, 0x00202000, 0x10200000,
+ 0x00202008, 0x10202000, 0x00000000, 0x10200008,
+ 0x00000008, 0x00002000, 0x10200000, 0x00202008,
+ 0x00002000, 0x00200008, 0x10002008, 0x00000000,
+ 0x10202000, 0x10000000, 0x00200008, 0x10002008
+ );
+
+ /**
+ * Pre-permuted S-box7
+ *
+ * @var array
+ * @access private
+ */
+ var $sbox7 = array(
+ 0x00100000, 0x02100001, 0x02000401, 0x00000000,
+ 0x00000400, 0x02000401, 0x00100401, 0x02100400,
+ 0x02100401, 0x00100000, 0x00000000, 0x02000001,
+ 0x00000001, 0x02000000, 0x02100001, 0x00000401,
+ 0x02000400, 0x00100401, 0x00100001, 0x02000400,
+ 0x02000001, 0x02100000, 0x02100400, 0x00100001,
+ 0x02100000, 0x00000400, 0x00000401, 0x02100401,
+ 0x00100400, 0x00000001, 0x02000000, 0x00100400,
+ 0x02000000, 0x00100400, 0x00100000, 0x02000401,
+ 0x02000401, 0x02100001, 0x02100001, 0x00000001,
+ 0x00100001, 0x02000000, 0x02000400, 0x00100000,
+ 0x02100400, 0x00000401, 0x00100401, 0x02100400,
+ 0x00000401, 0x02000001, 0x02100401, 0x02100000,
+ 0x00100400, 0x00000000, 0x00000001, 0x02100401,
+ 0x00000000, 0x00100401, 0x02100000, 0x00000400,
+ 0x02000001, 0x02000400, 0x00000400, 0x00100001
+ );
+
+ /**
+ * Pre-permuted S-box8
+ *
+ * @var array
+ * @access private
+ */
+ var $sbox8 = array(
+ 0x08000820, 0x00000800, 0x00020000, 0x08020820,
+ 0x08000000, 0x08000820, 0x00000020, 0x08000000,
+ 0x00020020, 0x08020000, 0x08020820, 0x00020800,
+ 0x08020800, 0x00020820, 0x00000800, 0x00000020,
+ 0x08020000, 0x08000020, 0x08000800, 0x00000820,
+ 0x00020800, 0x00020020, 0x08020020, 0x08020800,
+ 0x00000820, 0x00000000, 0x00000000, 0x08020020,
+ 0x08000020, 0x08000800, 0x00020820, 0x00020000,
+ 0x00020820, 0x00020000, 0x08020800, 0x00000800,
+ 0x00000020, 0x08020020, 0x00000800, 0x00020820,
+ 0x08000800, 0x00000020, 0x08000020, 0x08020000,
+ 0x08020020, 0x08000000, 0x00020000, 0x08000820,
+ 0x00000000, 0x08020820, 0x00020020, 0x08000020,
+ 0x08020000, 0x08000800, 0x08000820, 0x00000000,
+ 0x08020820, 0x00020800, 0x00020800, 0x00000820,
+ 0x00000820, 0x00020020, 0x08000000, 0x08020800
+ );
+
+ /**
+ * Test for engine validity
+ *
+ * This is mainly just a wrapper to set things up for \phpseclib\Crypt\Base::isValidEngine()
+ *
+ * @see \phpseclib\Crypt\Base::isValidEngine()
+ * @param int $engine
+ * @access public
+ * @return bool
+ */
+ function isValidEngine($engine)
+ {
+ if ($this->key_length_max == 8) {
+ if ($engine == self::ENGINE_OPENSSL) {
+ $this->cipher_name_openssl_ecb = 'des-ecb';
+ $this->cipher_name_openssl = 'des-' . $this->_openssl_translate_mode();
+ }
+ }
+
+ return parent::isValidEngine($engine);
+ }
+
+ /**
+ * Sets the key.
+ *
+ * Keys can be of any length. DES, itself, uses 64-bit keys (eg. strlen($key) == 8), however, we
+ * only use the first eight, if $key has more then eight characters in it, and pad $key with the
+ * null byte if it is less then eight characters long.
+ *
+ * DES also requires that every eighth bit be a parity bit, however, we'll ignore that.
+ *
+ * If the key is not explicitly set, it'll be assumed to be all zero's.
+ *
+ * @see \phpseclib\Crypt\Base::setKey()
+ * @access public
+ * @param string $key
+ */
+ function setKey($key)
+ {
+ // We check/cut here only up to max length of the key.
+ // Key padding to the proper length will be done in _setupKey()
+ if (strlen($key) > $this->key_length_max) {
+ $key = substr($key, 0, $this->key_length_max);
+ }
+
+ // Sets the key
+ parent::setKey($key);
+ }
+
+ /**
+ * Encrypts a block
+ *
+ * @see \phpseclib\Crypt\Base::_encryptBlock()
+ * @see \phpseclib\Crypt\Base::encrypt()
+ * @see self::encrypt()
+ * @access private
+ * @param string $in
+ * @return string
+ */
+ function _encryptBlock($in)
+ {
+ return $this->_processBlock($in, self::ENCRYPT);
+ }
+
+ /**
+ * Decrypts a block
+ *
+ * @see \phpseclib\Crypt\Base::_decryptBlock()
+ * @see \phpseclib\Crypt\Base::decrypt()
+ * @see self::decrypt()
+ * @access private
+ * @param string $in
+ * @return string
+ */
+ function _decryptBlock($in)
+ {
+ return $this->_processBlock($in, self::DECRYPT);
+ }
+
+ /**
+ * Encrypts or decrypts a 64-bit block
+ *
+ * $mode should be either self::ENCRYPT or self::DECRYPT. See
+ * {@link http://en.wikipedia.org/wiki/Image:Feistel.png Feistel.png} to get a general
+ * idea of what this function does.
+ *
+ * @see self::_encryptBlock()
+ * @see self::_decryptBlock()
+ * @access private
+ * @param string $block
+ * @param int $mode
+ * @return string
+ */
+ function _processBlock($block, $mode)
+ {
+ static $sbox1, $sbox2, $sbox3, $sbox4, $sbox5, $sbox6, $sbox7, $sbox8, $shuffleip, $shuffleinvip;
+ if (!$sbox1) {
+ $sbox1 = array_map("intval", $this->sbox1);
+ $sbox2 = array_map("intval", $this->sbox2);
+ $sbox3 = array_map("intval", $this->sbox3);
+ $sbox4 = array_map("intval", $this->sbox4);
+ $sbox5 = array_map("intval", $this->sbox5);
+ $sbox6 = array_map("intval", $this->sbox6);
+ $sbox7 = array_map("intval", $this->sbox7);
+ $sbox8 = array_map("intval", $this->sbox8);
+ /* Merge $shuffle with $[inv]ipmap */
+ for ($i = 0; $i < 256; ++$i) {
+ $shuffleip[] = $this->shuffle[$this->ipmap[$i]];
+ $shuffleinvip[] = $this->shuffle[$this->invipmap[$i]];
+ }
+ }
+
+ $keys = $this->keys[$mode];
+ $ki = -1;
+
+ // Do the initial IP permutation.
+ $t = unpack('Nl/Nr', $block);
+ list($l, $r) = array($t['l'], $t['r']);
+ $block = ($shuffleip[ $r & 0xFF] & "\x80\x80\x80\x80\x80\x80\x80\x80") |
+ ($shuffleip[($r >> 8) & 0xFF] & "\x40\x40\x40\x40\x40\x40\x40\x40") |
+ ($shuffleip[($r >> 16) & 0xFF] & "\x20\x20\x20\x20\x20\x20\x20\x20") |
+ ($shuffleip[($r >> 24) & 0xFF] & "\x10\x10\x10\x10\x10\x10\x10\x10") |
+ ($shuffleip[ $l & 0xFF] & "\x08\x08\x08\x08\x08\x08\x08\x08") |
+ ($shuffleip[($l >> 8) & 0xFF] & "\x04\x04\x04\x04\x04\x04\x04\x04") |
+ ($shuffleip[($l >> 16) & 0xFF] & "\x02\x02\x02\x02\x02\x02\x02\x02") |
+ ($shuffleip[($l >> 24) & 0xFF] & "\x01\x01\x01\x01\x01\x01\x01\x01");
+
+ // Extract L0 and R0.
+ $t = unpack('Nl/Nr', $block);
+ list($l, $r) = array($t['l'], $t['r']);
+
+ for ($des_round = 0; $des_round < $this->des_rounds; ++$des_round) {
+ // Perform the 16 steps.
+ for ($i = 0; $i < 16; $i++) {
+ // start of "the Feistel (F) function" - see the following URL:
+ // http://en.wikipedia.org/wiki/Image:Data_Encryption_Standard_InfoBox_Diagram.png
+ // Merge key schedule.
+ $b1 = (($r >> 3) & 0x1FFFFFFF) ^ ($r << 29) ^ $keys[++$ki];
+ $b2 = (($r >> 31) & 0x00000001) ^ ($r << 1) ^ $keys[++$ki];
+
+ // S-box indexing.
+ $t = $sbox1[($b1 >> 24) & 0x3F] ^ $sbox2[($b2 >> 24) & 0x3F] ^
+ $sbox3[($b1 >> 16) & 0x3F] ^ $sbox4[($b2 >> 16) & 0x3F] ^
+ $sbox5[($b1 >> 8) & 0x3F] ^ $sbox6[($b2 >> 8) & 0x3F] ^
+ $sbox7[ $b1 & 0x3F] ^ $sbox8[ $b2 & 0x3F] ^ $l;
+ // end of "the Feistel (F) function"
+
+ $l = $r;
+ $r = $t;
+ }
+
+ // Last step should not permute L & R.
+ $t = $l;
+ $l = $r;
+ $r = $t;
+ }
+
+ // Perform the inverse IP permutation.
+ return ($shuffleinvip[($r >> 24) & 0xFF] & "\x80\x80\x80\x80\x80\x80\x80\x80") |
+ ($shuffleinvip[($l >> 24) & 0xFF] & "\x40\x40\x40\x40\x40\x40\x40\x40") |
+ ($shuffleinvip[($r >> 16) & 0xFF] & "\x20\x20\x20\x20\x20\x20\x20\x20") |
+ ($shuffleinvip[($l >> 16) & 0xFF] & "\x10\x10\x10\x10\x10\x10\x10\x10") |
+ ($shuffleinvip[($r >> 8) & 0xFF] & "\x08\x08\x08\x08\x08\x08\x08\x08") |
+ ($shuffleinvip[($l >> 8) & 0xFF] & "\x04\x04\x04\x04\x04\x04\x04\x04") |
+ ($shuffleinvip[ $r & 0xFF] & "\x02\x02\x02\x02\x02\x02\x02\x02") |
+ ($shuffleinvip[ $l & 0xFF] & "\x01\x01\x01\x01\x01\x01\x01\x01");
+ }
+
+ /**
+ * Creates the key schedule
+ *
+ * @see \phpseclib\Crypt\Base::_setupKey()
+ * @access private
+ */
+ function _setupKey()
+ {
+ if (isset($this->kl['key']) && $this->key === $this->kl['key'] && $this->des_rounds === $this->kl['des_rounds']) {
+ // already expanded
+ return;
+ }
+ $this->kl = array('key' => $this->key, 'des_rounds' => $this->des_rounds);
+
+ static $shifts = array( // number of key bits shifted per round
+ 1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1
+ );
+
+ static $pc1map = array(
+ 0x00, 0x00, 0x08, 0x08, 0x04, 0x04, 0x0C, 0x0C,
+ 0x02, 0x02, 0x0A, 0x0A, 0x06, 0x06, 0x0E, 0x0E,
+ 0x10, 0x10, 0x18, 0x18, 0x14, 0x14, 0x1C, 0x1C,
+ 0x12, 0x12, 0x1A, 0x1A, 0x16, 0x16, 0x1E, 0x1E,
+ 0x20, 0x20, 0x28, 0x28, 0x24, 0x24, 0x2C, 0x2C,
+ 0x22, 0x22, 0x2A, 0x2A, 0x26, 0x26, 0x2E, 0x2E,
+ 0x30, 0x30, 0x38, 0x38, 0x34, 0x34, 0x3C, 0x3C,
+ 0x32, 0x32, 0x3A, 0x3A, 0x36, 0x36, 0x3E, 0x3E,
+ 0x40, 0x40, 0x48, 0x48, 0x44, 0x44, 0x4C, 0x4C,
+ 0x42, 0x42, 0x4A, 0x4A, 0x46, 0x46, 0x4E, 0x4E,
+ 0x50, 0x50, 0x58, 0x58, 0x54, 0x54, 0x5C, 0x5C,
+ 0x52, 0x52, 0x5A, 0x5A, 0x56, 0x56, 0x5E, 0x5E,
+ 0x60, 0x60, 0x68, 0x68, 0x64, 0x64, 0x6C, 0x6C,
+ 0x62, 0x62, 0x6A, 0x6A, 0x66, 0x66, 0x6E, 0x6E,
+ 0x70, 0x70, 0x78, 0x78, 0x74, 0x74, 0x7C, 0x7C,
+ 0x72, 0x72, 0x7A, 0x7A, 0x76, 0x76, 0x7E, 0x7E,
+ 0x80, 0x80, 0x88, 0x88, 0x84, 0x84, 0x8C, 0x8C,
+ 0x82, 0x82, 0x8A, 0x8A, 0x86, 0x86, 0x8E, 0x8E,
+ 0x90, 0x90, 0x98, 0x98, 0x94, 0x94, 0x9C, 0x9C,
+ 0x92, 0x92, 0x9A, 0x9A, 0x96, 0x96, 0x9E, 0x9E,
+ 0xA0, 0xA0, 0xA8, 0xA8, 0xA4, 0xA4, 0xAC, 0xAC,
+ 0xA2, 0xA2, 0xAA, 0xAA, 0xA6, 0xA6, 0xAE, 0xAE,
+ 0xB0, 0xB0, 0xB8, 0xB8, 0xB4, 0xB4, 0xBC, 0xBC,
+ 0xB2, 0xB2, 0xBA, 0xBA, 0xB6, 0xB6, 0xBE, 0xBE,
+ 0xC0, 0xC0, 0xC8, 0xC8, 0xC4, 0xC4, 0xCC, 0xCC,
+ 0xC2, 0xC2, 0xCA, 0xCA, 0xC6, 0xC6, 0xCE, 0xCE,
+ 0xD0, 0xD0, 0xD8, 0xD8, 0xD4, 0xD4, 0xDC, 0xDC,
+ 0xD2, 0xD2, 0xDA, 0xDA, 0xD6, 0xD6, 0xDE, 0xDE,
+ 0xE0, 0xE0, 0xE8, 0xE8, 0xE4, 0xE4, 0xEC, 0xEC,
+ 0xE2, 0xE2, 0xEA, 0xEA, 0xE6, 0xE6, 0xEE, 0xEE,
+ 0xF0, 0xF0, 0xF8, 0xF8, 0xF4, 0xF4, 0xFC, 0xFC,
+ 0xF2, 0xF2, 0xFA, 0xFA, 0xF6, 0xF6, 0xFE, 0xFE
+ );
+
+ // Mapping tables for the PC-2 transformation.
+ static $pc2mapc1 = array(
+ 0x00000000, 0x00000400, 0x00200000, 0x00200400,
+ 0x00000001, 0x00000401, 0x00200001, 0x00200401,
+ 0x02000000, 0x02000400, 0x02200000, 0x02200400,
+ 0x02000001, 0x02000401, 0x02200001, 0x02200401
+ );
+ static $pc2mapc2 = array(
+ 0x00000000, 0x00000800, 0x08000000, 0x08000800,
+ 0x00010000, 0x00010800, 0x08010000, 0x08010800,
+ 0x00000000, 0x00000800, 0x08000000, 0x08000800,
+ 0x00010000, 0x00010800, 0x08010000, 0x08010800,
+ 0x00000100, 0x00000900, 0x08000100, 0x08000900,
+ 0x00010100, 0x00010900, 0x08010100, 0x08010900,
+ 0x00000100, 0x00000900, 0x08000100, 0x08000900,
+ 0x00010100, 0x00010900, 0x08010100, 0x08010900,
+ 0x00000010, 0x00000810, 0x08000010, 0x08000810,
+ 0x00010010, 0x00010810, 0x08010010, 0x08010810,
+ 0x00000010, 0x00000810, 0x08000010, 0x08000810,
+ 0x00010010, 0x00010810, 0x08010010, 0x08010810,
+ 0x00000110, 0x00000910, 0x08000110, 0x08000910,
+ 0x00010110, 0x00010910, 0x08010110, 0x08010910,
+ 0x00000110, 0x00000910, 0x08000110, 0x08000910,
+ 0x00010110, 0x00010910, 0x08010110, 0x08010910,
+ 0x00040000, 0x00040800, 0x08040000, 0x08040800,
+ 0x00050000, 0x00050800, 0x08050000, 0x08050800,
+ 0x00040000, 0x00040800, 0x08040000, 0x08040800,
+ 0x00050000, 0x00050800, 0x08050000, 0x08050800,
+ 0x00040100, 0x00040900, 0x08040100, 0x08040900,
+ 0x00050100, 0x00050900, 0x08050100, 0x08050900,
+ 0x00040100, 0x00040900, 0x08040100, 0x08040900,
+ 0x00050100, 0x00050900, 0x08050100, 0x08050900,
+ 0x00040010, 0x00040810, 0x08040010, 0x08040810,
+ 0x00050010, 0x00050810, 0x08050010, 0x08050810,
+ 0x00040010, 0x00040810, 0x08040010, 0x08040810,
+ 0x00050010, 0x00050810, 0x08050010, 0x08050810,
+ 0x00040110, 0x00040910, 0x08040110, 0x08040910,
+ 0x00050110, 0x00050910, 0x08050110, 0x08050910,
+ 0x00040110, 0x00040910, 0x08040110, 0x08040910,
+ 0x00050110, 0x00050910, 0x08050110, 0x08050910,
+ 0x01000000, 0x01000800, 0x09000000, 0x09000800,
+ 0x01010000, 0x01010800, 0x09010000, 0x09010800,
+ 0x01000000, 0x01000800, 0x09000000, 0x09000800,
+ 0x01010000, 0x01010800, 0x09010000, 0x09010800,
+ 0x01000100, 0x01000900, 0x09000100, 0x09000900,
+ 0x01010100, 0x01010900, 0x09010100, 0x09010900,
+ 0x01000100, 0x01000900, 0x09000100, 0x09000900,
+ 0x01010100, 0x01010900, 0x09010100, 0x09010900,
+ 0x01000010, 0x01000810, 0x09000010, 0x09000810,
+ 0x01010010, 0x01010810, 0x09010010, 0x09010810,
+ 0x01000010, 0x01000810, 0x09000010, 0x09000810,
+ 0x01010010, 0x01010810, 0x09010010, 0x09010810,
+ 0x01000110, 0x01000910, 0x09000110, 0x09000910,
+ 0x01010110, 0x01010910, 0x09010110, 0x09010910,
+ 0x01000110, 0x01000910, 0x09000110, 0x09000910,
+ 0x01010110, 0x01010910, 0x09010110, 0x09010910,
+ 0x01040000, 0x01040800, 0x09040000, 0x09040800,
+ 0x01050000, 0x01050800, 0x09050000, 0x09050800,
+ 0x01040000, 0x01040800, 0x09040000, 0x09040800,
+ 0x01050000, 0x01050800, 0x09050000, 0x09050800,
+ 0x01040100, 0x01040900, 0x09040100, 0x09040900,
+ 0x01050100, 0x01050900, 0x09050100, 0x09050900,
+ 0x01040100, 0x01040900, 0x09040100, 0x09040900,
+ 0x01050100, 0x01050900, 0x09050100, 0x09050900,
+ 0x01040010, 0x01040810, 0x09040010, 0x09040810,
+ 0x01050010, 0x01050810, 0x09050010, 0x09050810,
+ 0x01040010, 0x01040810, 0x09040010, 0x09040810,
+ 0x01050010, 0x01050810, 0x09050010, 0x09050810,
+ 0x01040110, 0x01040910, 0x09040110, 0x09040910,
+ 0x01050110, 0x01050910, 0x09050110, 0x09050910,
+ 0x01040110, 0x01040910, 0x09040110, 0x09040910,
+ 0x01050110, 0x01050910, 0x09050110, 0x09050910
+ );
+ static $pc2mapc3 = array(
+ 0x00000000, 0x00000004, 0x00001000, 0x00001004,
+ 0x00000000, 0x00000004, 0x00001000, 0x00001004,
+ 0x10000000, 0x10000004, 0x10001000, 0x10001004,
+ 0x10000000, 0x10000004, 0x10001000, 0x10001004,
+ 0x00000020, 0x00000024, 0x00001020, 0x00001024,
+ 0x00000020, 0x00000024, 0x00001020, 0x00001024,
+ 0x10000020, 0x10000024, 0x10001020, 0x10001024,
+ 0x10000020, 0x10000024, 0x10001020, 0x10001024,
+ 0x00080000, 0x00080004, 0x00081000, 0x00081004,
+ 0x00080000, 0x00080004, 0x00081000, 0x00081004,
+ 0x10080000, 0x10080004, 0x10081000, 0x10081004,
+ 0x10080000, 0x10080004, 0x10081000, 0x10081004,
+ 0x00080020, 0x00080024, 0x00081020, 0x00081024,
+ 0x00080020, 0x00080024, 0x00081020, 0x00081024,
+ 0x10080020, 0x10080024, 0x10081020, 0x10081024,
+ 0x10080020, 0x10080024, 0x10081020, 0x10081024,
+ 0x20000000, 0x20000004, 0x20001000, 0x20001004,
+ 0x20000000, 0x20000004, 0x20001000, 0x20001004,
+ 0x30000000, 0x30000004, 0x30001000, 0x30001004,
+ 0x30000000, 0x30000004, 0x30001000, 0x30001004,
+ 0x20000020, 0x20000024, 0x20001020, 0x20001024,
+ 0x20000020, 0x20000024, 0x20001020, 0x20001024,
+ 0x30000020, 0x30000024, 0x30001020, 0x30001024,
+ 0x30000020, 0x30000024, 0x30001020, 0x30001024,
+ 0x20080000, 0x20080004, 0x20081000, 0x20081004,
+ 0x20080000, 0x20080004, 0x20081000, 0x20081004,
+ 0x30080000, 0x30080004, 0x30081000, 0x30081004,
+ 0x30080000, 0x30080004, 0x30081000, 0x30081004,
+ 0x20080020, 0x20080024, 0x20081020, 0x20081024,
+ 0x20080020, 0x20080024, 0x20081020, 0x20081024,
+ 0x30080020, 0x30080024, 0x30081020, 0x30081024,
+ 0x30080020, 0x30080024, 0x30081020, 0x30081024,
+ 0x00000002, 0x00000006, 0x00001002, 0x00001006,
+ 0x00000002, 0x00000006, 0x00001002, 0x00001006,
+ 0x10000002, 0x10000006, 0x10001002, 0x10001006,
+ 0x10000002, 0x10000006, 0x10001002, 0x10001006,
+ 0x00000022, 0x00000026, 0x00001022, 0x00001026,
+ 0x00000022, 0x00000026, 0x00001022, 0x00001026,
+ 0x10000022, 0x10000026, 0x10001022, 0x10001026,
+ 0x10000022, 0x10000026, 0x10001022, 0x10001026,
+ 0x00080002, 0x00080006, 0x00081002, 0x00081006,
+ 0x00080002, 0x00080006, 0x00081002, 0x00081006,
+ 0x10080002, 0x10080006, 0x10081002, 0x10081006,
+ 0x10080002, 0x10080006, 0x10081002, 0x10081006,
+ 0x00080022, 0x00080026, 0x00081022, 0x00081026,
+ 0x00080022, 0x00080026, 0x00081022, 0x00081026,
+ 0x10080022, 0x10080026, 0x10081022, 0x10081026,
+ 0x10080022, 0x10080026, 0x10081022, 0x10081026,
+ 0x20000002, 0x20000006, 0x20001002, 0x20001006,
+ 0x20000002, 0x20000006, 0x20001002, 0x20001006,
+ 0x30000002, 0x30000006, 0x30001002, 0x30001006,
+ 0x30000002, 0x30000006, 0x30001002, 0x30001006,
+ 0x20000022, 0x20000026, 0x20001022, 0x20001026,
+ 0x20000022, 0x20000026, 0x20001022, 0x20001026,
+ 0x30000022, 0x30000026, 0x30001022, 0x30001026,
+ 0x30000022, 0x30000026, 0x30001022, 0x30001026,
+ 0x20080002, 0x20080006, 0x20081002, 0x20081006,
+ 0x20080002, 0x20080006, 0x20081002, 0x20081006,
+ 0x30080002, 0x30080006, 0x30081002, 0x30081006,
+ 0x30080002, 0x30080006, 0x30081002, 0x30081006,
+ 0x20080022, 0x20080026, 0x20081022, 0x20081026,
+ 0x20080022, 0x20080026, 0x20081022, 0x20081026,
+ 0x30080022, 0x30080026, 0x30081022, 0x30081026,
+ 0x30080022, 0x30080026, 0x30081022, 0x30081026
+ );
+ static $pc2mapc4 = array(
+ 0x00000000, 0x00100000, 0x00000008, 0x00100008,
+ 0x00000200, 0x00100200, 0x00000208, 0x00100208,
+ 0x00000000, 0x00100000, 0x00000008, 0x00100008,
+ 0x00000200, 0x00100200, 0x00000208, 0x00100208,
+ 0x04000000, 0x04100000, 0x04000008, 0x04100008,
+ 0x04000200, 0x04100200, 0x04000208, 0x04100208,
+ 0x04000000, 0x04100000, 0x04000008, 0x04100008,
+ 0x04000200, 0x04100200, 0x04000208, 0x04100208,
+ 0x00002000, 0x00102000, 0x00002008, 0x00102008,
+ 0x00002200, 0x00102200, 0x00002208, 0x00102208,
+ 0x00002000, 0x00102000, 0x00002008, 0x00102008,
+ 0x00002200, 0x00102200, 0x00002208, 0x00102208,
+ 0x04002000, 0x04102000, 0x04002008, 0x04102008,
+ 0x04002200, 0x04102200, 0x04002208, 0x04102208,
+ 0x04002000, 0x04102000, 0x04002008, 0x04102008,
+ 0x04002200, 0x04102200, 0x04002208, 0x04102208,
+ 0x00000000, 0x00100000, 0x00000008, 0x00100008,
+ 0x00000200, 0x00100200, 0x00000208, 0x00100208,
+ 0x00000000, 0x00100000, 0x00000008, 0x00100008,
+ 0x00000200, 0x00100200, 0x00000208, 0x00100208,
+ 0x04000000, 0x04100000, 0x04000008, 0x04100008,
+ 0x04000200, 0x04100200, 0x04000208, 0x04100208,
+ 0x04000000, 0x04100000, 0x04000008, 0x04100008,
+ 0x04000200, 0x04100200, 0x04000208, 0x04100208,
+ 0x00002000, 0x00102000, 0x00002008, 0x00102008,
+ 0x00002200, 0x00102200, 0x00002208, 0x00102208,
+ 0x00002000, 0x00102000, 0x00002008, 0x00102008,
+ 0x00002200, 0x00102200, 0x00002208, 0x00102208,
+ 0x04002000, 0x04102000, 0x04002008, 0x04102008,
+ 0x04002200, 0x04102200, 0x04002208, 0x04102208,
+ 0x04002000, 0x04102000, 0x04002008, 0x04102008,
+ 0x04002200, 0x04102200, 0x04002208, 0x04102208,
+ 0x00020000, 0x00120000, 0x00020008, 0x00120008,
+ 0x00020200, 0x00120200, 0x00020208, 0x00120208,
+ 0x00020000, 0x00120000, 0x00020008, 0x00120008,
+ 0x00020200, 0x00120200, 0x00020208, 0x00120208,
+ 0x04020000, 0x04120000, 0x04020008, 0x04120008,
+ 0x04020200, 0x04120200, 0x04020208, 0x04120208,
+ 0x04020000, 0x04120000, 0x04020008, 0x04120008,
+ 0x04020200, 0x04120200, 0x04020208, 0x04120208,
+ 0x00022000, 0x00122000, 0x00022008, 0x00122008,
+ 0x00022200, 0x00122200, 0x00022208, 0x00122208,
+ 0x00022000, 0x00122000, 0x00022008, 0x00122008,
+ 0x00022200, 0x00122200, 0x00022208, 0x00122208,
+ 0x04022000, 0x04122000, 0x04022008, 0x04122008,
+ 0x04022200, 0x04122200, 0x04022208, 0x04122208,
+ 0x04022000, 0x04122000, 0x04022008, 0x04122008,
+ 0x04022200, 0x04122200, 0x04022208, 0x04122208,
+ 0x00020000, 0x00120000, 0x00020008, 0x00120008,
+ 0x00020200, 0x00120200, 0x00020208, 0x00120208,
+ 0x00020000, 0x00120000, 0x00020008, 0x00120008,
+ 0x00020200, 0x00120200, 0x00020208, 0x00120208,
+ 0x04020000, 0x04120000, 0x04020008, 0x04120008,
+ 0x04020200, 0x04120200, 0x04020208, 0x04120208,
+ 0x04020000, 0x04120000, 0x04020008, 0x04120008,
+ 0x04020200, 0x04120200, 0x04020208, 0x04120208,
+ 0x00022000, 0x00122000, 0x00022008, 0x00122008,
+ 0x00022200, 0x00122200, 0x00022208, 0x00122208,
+ 0x00022000, 0x00122000, 0x00022008, 0x00122008,
+ 0x00022200, 0x00122200, 0x00022208, 0x00122208,
+ 0x04022000, 0x04122000, 0x04022008, 0x04122008,
+ 0x04022200, 0x04122200, 0x04022208, 0x04122208,
+ 0x04022000, 0x04122000, 0x04022008, 0x04122008,
+ 0x04022200, 0x04122200, 0x04022208, 0x04122208
+ );
+ static $pc2mapd1 = array(
+ 0x00000000, 0x00000001, 0x08000000, 0x08000001,
+ 0x00200000, 0x00200001, 0x08200000, 0x08200001,
+ 0x00000002, 0x00000003, 0x08000002, 0x08000003,
+ 0x00200002, 0x00200003, 0x08200002, 0x08200003
+ );
+ static $pc2mapd2 = array(
+ 0x00000000, 0x00100000, 0x00000800, 0x00100800,
+ 0x00000000, 0x00100000, 0x00000800, 0x00100800,
+ 0x04000000, 0x04100000, 0x04000800, 0x04100800,
+ 0x04000000, 0x04100000, 0x04000800, 0x04100800,
+ 0x00000004, 0x00100004, 0x00000804, 0x00100804,
+ 0x00000004, 0x00100004, 0x00000804, 0x00100804,
+ 0x04000004, 0x04100004, 0x04000804, 0x04100804,
+ 0x04000004, 0x04100004, 0x04000804, 0x04100804,
+ 0x00000000, 0x00100000, 0x00000800, 0x00100800,
+ 0x00000000, 0x00100000, 0x00000800, 0x00100800,
+ 0x04000000, 0x04100000, 0x04000800, 0x04100800,
+ 0x04000000, 0x04100000, 0x04000800, 0x04100800,
+ 0x00000004, 0x00100004, 0x00000804, 0x00100804,
+ 0x00000004, 0x00100004, 0x00000804, 0x00100804,
+ 0x04000004, 0x04100004, 0x04000804, 0x04100804,
+ 0x04000004, 0x04100004, 0x04000804, 0x04100804,
+ 0x00000200, 0x00100200, 0x00000A00, 0x00100A00,
+ 0x00000200, 0x00100200, 0x00000A00, 0x00100A00,
+ 0x04000200, 0x04100200, 0x04000A00, 0x04100A00,
+ 0x04000200, 0x04100200, 0x04000A00, 0x04100A00,
+ 0x00000204, 0x00100204, 0x00000A04, 0x00100A04,
+ 0x00000204, 0x00100204, 0x00000A04, 0x00100A04,
+ 0x04000204, 0x04100204, 0x04000A04, 0x04100A04,
+ 0x04000204, 0x04100204, 0x04000A04, 0x04100A04,
+ 0x00000200, 0x00100200, 0x00000A00, 0x00100A00,
+ 0x00000200, 0x00100200, 0x00000A00, 0x00100A00,
+ 0x04000200, 0x04100200, 0x04000A00, 0x04100A00,
+ 0x04000200, 0x04100200, 0x04000A00, 0x04100A00,
+ 0x00000204, 0x00100204, 0x00000A04, 0x00100A04,
+ 0x00000204, 0x00100204, 0x00000A04, 0x00100A04,
+ 0x04000204, 0x04100204, 0x04000A04, 0x04100A04,
+ 0x04000204, 0x04100204, 0x04000A04, 0x04100A04,
+ 0x00020000, 0x00120000, 0x00020800, 0x00120800,
+ 0x00020000, 0x00120000, 0x00020800, 0x00120800,
+ 0x04020000, 0x04120000, 0x04020800, 0x04120800,
+ 0x04020000, 0x04120000, 0x04020800, 0x04120800,
+ 0x00020004, 0x00120004, 0x00020804, 0x00120804,
+ 0x00020004, 0x00120004, 0x00020804, 0x00120804,
+ 0x04020004, 0x04120004, 0x04020804, 0x04120804,
+ 0x04020004, 0x04120004, 0x04020804, 0x04120804,
+ 0x00020000, 0x00120000, 0x00020800, 0x00120800,
+ 0x00020000, 0x00120000, 0x00020800, 0x00120800,
+ 0x04020000, 0x04120000, 0x04020800, 0x04120800,
+ 0x04020000, 0x04120000, 0x04020800, 0x04120800,
+ 0x00020004, 0x00120004, 0x00020804, 0x00120804,
+ 0x00020004, 0x00120004, 0x00020804, 0x00120804,
+ 0x04020004, 0x04120004, 0x04020804, 0x04120804,
+ 0x04020004, 0x04120004, 0x04020804, 0x04120804,
+ 0x00020200, 0x00120200, 0x00020A00, 0x00120A00,
+ 0x00020200, 0x00120200, 0x00020A00, 0x00120A00,
+ 0x04020200, 0x04120200, 0x04020A00, 0x04120A00,
+ 0x04020200, 0x04120200, 0x04020A00, 0x04120A00,
+ 0x00020204, 0x00120204, 0x00020A04, 0x00120A04,
+ 0x00020204, 0x00120204, 0x00020A04, 0x00120A04,
+ 0x04020204, 0x04120204, 0x04020A04, 0x04120A04,
+ 0x04020204, 0x04120204, 0x04020A04, 0x04120A04,
+ 0x00020200, 0x00120200, 0x00020A00, 0x00120A00,
+ 0x00020200, 0x00120200, 0x00020A00, 0x00120A00,
+ 0x04020200, 0x04120200, 0x04020A00, 0x04120A00,
+ 0x04020200, 0x04120200, 0x04020A00, 0x04120A00,
+ 0x00020204, 0x00120204, 0x00020A04, 0x00120A04,
+ 0x00020204, 0x00120204, 0x00020A04, 0x00120A04,
+ 0x04020204, 0x04120204, 0x04020A04, 0x04120A04,
+ 0x04020204, 0x04120204, 0x04020A04, 0x04120A04
+ );
+ static $pc2mapd3 = array(
+ 0x00000000, 0x00010000, 0x02000000, 0x02010000,
+ 0x00000020, 0x00010020, 0x02000020, 0x02010020,
+ 0x00040000, 0x00050000, 0x02040000, 0x02050000,
+ 0x00040020, 0x00050020, 0x02040020, 0x02050020,
+ 0x00002000, 0x00012000, 0x02002000, 0x02012000,
+ 0x00002020, 0x00012020, 0x02002020, 0x02012020,
+ 0x00042000, 0x00052000, 0x02042000, 0x02052000,
+ 0x00042020, 0x00052020, 0x02042020, 0x02052020,
+ 0x00000000, 0x00010000, 0x02000000, 0x02010000,
+ 0x00000020, 0x00010020, 0x02000020, 0x02010020,
+ 0x00040000, 0x00050000, 0x02040000, 0x02050000,
+ 0x00040020, 0x00050020, 0x02040020, 0x02050020,
+ 0x00002000, 0x00012000, 0x02002000, 0x02012000,
+ 0x00002020, 0x00012020, 0x02002020, 0x02012020,
+ 0x00042000, 0x00052000, 0x02042000, 0x02052000,
+ 0x00042020, 0x00052020, 0x02042020, 0x02052020,
+ 0x00000010, 0x00010010, 0x02000010, 0x02010010,
+ 0x00000030, 0x00010030, 0x02000030, 0x02010030,
+ 0x00040010, 0x00050010, 0x02040010, 0x02050010,
+ 0x00040030, 0x00050030, 0x02040030, 0x02050030,
+ 0x00002010, 0x00012010, 0x02002010, 0x02012010,
+ 0x00002030, 0x00012030, 0x02002030, 0x02012030,
+ 0x00042010, 0x00052010, 0x02042010, 0x02052010,
+ 0x00042030, 0x00052030, 0x02042030, 0x02052030,
+ 0x00000010, 0x00010010, 0x02000010, 0x02010010,
+ 0x00000030, 0x00010030, 0x02000030, 0x02010030,
+ 0x00040010, 0x00050010, 0x02040010, 0x02050010,
+ 0x00040030, 0x00050030, 0x02040030, 0x02050030,
+ 0x00002010, 0x00012010, 0x02002010, 0x02012010,
+ 0x00002030, 0x00012030, 0x02002030, 0x02012030,
+ 0x00042010, 0x00052010, 0x02042010, 0x02052010,
+ 0x00042030, 0x00052030, 0x02042030, 0x02052030,
+ 0x20000000, 0x20010000, 0x22000000, 0x22010000,
+ 0x20000020, 0x20010020, 0x22000020, 0x22010020,
+ 0x20040000, 0x20050000, 0x22040000, 0x22050000,
+ 0x20040020, 0x20050020, 0x22040020, 0x22050020,
+ 0x20002000, 0x20012000, 0x22002000, 0x22012000,
+ 0x20002020, 0x20012020, 0x22002020, 0x22012020,
+ 0x20042000, 0x20052000, 0x22042000, 0x22052000,
+ 0x20042020, 0x20052020, 0x22042020, 0x22052020,
+ 0x20000000, 0x20010000, 0x22000000, 0x22010000,
+ 0x20000020, 0x20010020, 0x22000020, 0x22010020,
+ 0x20040000, 0x20050000, 0x22040000, 0x22050000,
+ 0x20040020, 0x20050020, 0x22040020, 0x22050020,
+ 0x20002000, 0x20012000, 0x22002000, 0x22012000,
+ 0x20002020, 0x20012020, 0x22002020, 0x22012020,
+ 0x20042000, 0x20052000, 0x22042000, 0x22052000,
+ 0x20042020, 0x20052020, 0x22042020, 0x22052020,
+ 0x20000010, 0x20010010, 0x22000010, 0x22010010,
+ 0x20000030, 0x20010030, 0x22000030, 0x22010030,
+ 0x20040010, 0x20050010, 0x22040010, 0x22050010,
+ 0x20040030, 0x20050030, 0x22040030, 0x22050030,
+ 0x20002010, 0x20012010, 0x22002010, 0x22012010,
+ 0x20002030, 0x20012030, 0x22002030, 0x22012030,
+ 0x20042010, 0x20052010, 0x22042010, 0x22052010,
+ 0x20042030, 0x20052030, 0x22042030, 0x22052030,
+ 0x20000010, 0x20010010, 0x22000010, 0x22010010,
+ 0x20000030, 0x20010030, 0x22000030, 0x22010030,
+ 0x20040010, 0x20050010, 0x22040010, 0x22050010,
+ 0x20040030, 0x20050030, 0x22040030, 0x22050030,
+ 0x20002010, 0x20012010, 0x22002010, 0x22012010,
+ 0x20002030, 0x20012030, 0x22002030, 0x22012030,
+ 0x20042010, 0x20052010, 0x22042010, 0x22052010,
+ 0x20042030, 0x20052030, 0x22042030, 0x22052030
+ );
+ static $pc2mapd4 = array(
+ 0x00000000, 0x00000400, 0x01000000, 0x01000400,
+ 0x00000000, 0x00000400, 0x01000000, 0x01000400,
+ 0x00000100, 0x00000500, 0x01000100, 0x01000500,
+ 0x00000100, 0x00000500, 0x01000100, 0x01000500,
+ 0x10000000, 0x10000400, 0x11000000, 0x11000400,
+ 0x10000000, 0x10000400, 0x11000000, 0x11000400,
+ 0x10000100, 0x10000500, 0x11000100, 0x11000500,
+ 0x10000100, 0x10000500, 0x11000100, 0x11000500,
+ 0x00080000, 0x00080400, 0x01080000, 0x01080400,
+ 0x00080000, 0x00080400, 0x01080000, 0x01080400,
+ 0x00080100, 0x00080500, 0x01080100, 0x01080500,
+ 0x00080100, 0x00080500, 0x01080100, 0x01080500,
+ 0x10080000, 0x10080400, 0x11080000, 0x11080400,
+ 0x10080000, 0x10080400, 0x11080000, 0x11080400,
+ 0x10080100, 0x10080500, 0x11080100, 0x11080500,
+ 0x10080100, 0x10080500, 0x11080100, 0x11080500,
+ 0x00000008, 0x00000408, 0x01000008, 0x01000408,
+ 0x00000008, 0x00000408, 0x01000008, 0x01000408,
+ 0x00000108, 0x00000508, 0x01000108, 0x01000508,
+ 0x00000108, 0x00000508, 0x01000108, 0x01000508,
+ 0x10000008, 0x10000408, 0x11000008, 0x11000408,
+ 0x10000008, 0x10000408, 0x11000008, 0x11000408,
+ 0x10000108, 0x10000508, 0x11000108, 0x11000508,
+ 0x10000108, 0x10000508, 0x11000108, 0x11000508,
+ 0x00080008, 0x00080408, 0x01080008, 0x01080408,
+ 0x00080008, 0x00080408, 0x01080008, 0x01080408,
+ 0x00080108, 0x00080508, 0x01080108, 0x01080508,
+ 0x00080108, 0x00080508, 0x01080108, 0x01080508,
+ 0x10080008, 0x10080408, 0x11080008, 0x11080408,
+ 0x10080008, 0x10080408, 0x11080008, 0x11080408,
+ 0x10080108, 0x10080508, 0x11080108, 0x11080508,
+ 0x10080108, 0x10080508, 0x11080108, 0x11080508,
+ 0x00001000, 0x00001400, 0x01001000, 0x01001400,
+ 0x00001000, 0x00001400, 0x01001000, 0x01001400,
+ 0x00001100, 0x00001500, 0x01001100, 0x01001500,
+ 0x00001100, 0x00001500, 0x01001100, 0x01001500,
+ 0x10001000, 0x10001400, 0x11001000, 0x11001400,
+ 0x10001000, 0x10001400, 0x11001000, 0x11001400,
+ 0x10001100, 0x10001500, 0x11001100, 0x11001500,
+ 0x10001100, 0x10001500, 0x11001100, 0x11001500,
+ 0x00081000, 0x00081400, 0x01081000, 0x01081400,
+ 0x00081000, 0x00081400, 0x01081000, 0x01081400,
+ 0x00081100, 0x00081500, 0x01081100, 0x01081500,
+ 0x00081100, 0x00081500, 0x01081100, 0x01081500,
+ 0x10081000, 0x10081400, 0x11081000, 0x11081400,
+ 0x10081000, 0x10081400, 0x11081000, 0x11081400,
+ 0x10081100, 0x10081500, 0x11081100, 0x11081500,
+ 0x10081100, 0x10081500, 0x11081100, 0x11081500,
+ 0x00001008, 0x00001408, 0x01001008, 0x01001408,
+ 0x00001008, 0x00001408, 0x01001008, 0x01001408,
+ 0x00001108, 0x00001508, 0x01001108, 0x01001508,
+ 0x00001108, 0x00001508, 0x01001108, 0x01001508,
+ 0x10001008, 0x10001408, 0x11001008, 0x11001408,
+ 0x10001008, 0x10001408, 0x11001008, 0x11001408,
+ 0x10001108, 0x10001508, 0x11001108, 0x11001508,
+ 0x10001108, 0x10001508, 0x11001108, 0x11001508,
+ 0x00081008, 0x00081408, 0x01081008, 0x01081408,
+ 0x00081008, 0x00081408, 0x01081008, 0x01081408,
+ 0x00081108, 0x00081508, 0x01081108, 0x01081508,
+ 0x00081108, 0x00081508, 0x01081108, 0x01081508,
+ 0x10081008, 0x10081408, 0x11081008, 0x11081408,
+ 0x10081008, 0x10081408, 0x11081008, 0x11081408,
+ 0x10081108, 0x10081508, 0x11081108, 0x11081508,
+ 0x10081108, 0x10081508, 0x11081108, 0x11081508
+ );
+
+ $keys = array();
+ for ($des_round = 0; $des_round < $this->des_rounds; ++$des_round) {
+ // pad the key and remove extra characters as appropriate.
+ $key = str_pad(substr($this->key, $des_round * 8, 8), 8, "\0");
+
+ // Perform the PC/1 transformation and compute C and D.
+ $t = unpack('Nl/Nr', $key);
+ list($l, $r) = array($t['l'], $t['r']);
+ $key = ($this->shuffle[$pc1map[ $r & 0xFF]] & "\x80\x80\x80\x80\x80\x80\x80\x00") |
+ ($this->shuffle[$pc1map[($r >> 8) & 0xFF]] & "\x40\x40\x40\x40\x40\x40\x40\x00") |
+ ($this->shuffle[$pc1map[($r >> 16) & 0xFF]] & "\x20\x20\x20\x20\x20\x20\x20\x00") |
+ ($this->shuffle[$pc1map[($r >> 24) & 0xFF]] & "\x10\x10\x10\x10\x10\x10\x10\x00") |
+ ($this->shuffle[$pc1map[ $l & 0xFF]] & "\x08\x08\x08\x08\x08\x08\x08\x00") |
+ ($this->shuffle[$pc1map[($l >> 8) & 0xFF]] & "\x04\x04\x04\x04\x04\x04\x04\x00") |
+ ($this->shuffle[$pc1map[($l >> 16) & 0xFF]] & "\x02\x02\x02\x02\x02\x02\x02\x00") |
+ ($this->shuffle[$pc1map[($l >> 24) & 0xFF]] & "\x01\x01\x01\x01\x01\x01\x01\x00");
+ $key = unpack('Nc/Nd', $key);
+ $c = ( $key['c'] >> 4) & 0x0FFFFFFF;
+ $d = (($key['d'] >> 4) & 0x0FFFFFF0) | ($key['c'] & 0x0F);
+
+ $keys[$des_round] = array(
+ self::ENCRYPT => array(),
+ self::DECRYPT => array_fill(0, 32, 0)
+ );
+ for ($i = 0, $ki = 31; $i < 16; ++$i, $ki-= 2) {
+ $c <<= $shifts[$i];
+ $c = ($c | ($c >> 28)) & 0x0FFFFFFF;
+ $d <<= $shifts[$i];
+ $d = ($d | ($d >> 28)) & 0x0FFFFFFF;
+
+ // Perform the PC-2 transformation.
+ $cp = $pc2mapc1[ $c >> 24 ] | $pc2mapc2[($c >> 16) & 0xFF] |
+ $pc2mapc3[($c >> 8) & 0xFF] | $pc2mapc4[ $c & 0xFF];
+ $dp = $pc2mapd1[ $d >> 24 ] | $pc2mapd2[($d >> 16) & 0xFF] |
+ $pc2mapd3[($d >> 8) & 0xFF] | $pc2mapd4[ $d & 0xFF];
+
+ // Reorder: odd bytes/even bytes. Push the result in key schedule.
+ $val1 = ( $cp & 0xFF000000) | (($cp << 8) & 0x00FF0000) |
+ (($dp >> 16) & 0x0000FF00) | (($dp >> 8) & 0x000000FF);
+ $val2 = (($cp << 8) & 0xFF000000) | (($cp << 16) & 0x00FF0000) |
+ (($dp >> 8) & 0x0000FF00) | ( $dp & 0x000000FF);
+ $keys[$des_round][self::ENCRYPT][ ] = $val1;
+ $keys[$des_round][self::DECRYPT][$ki - 1] = $val1;
+ $keys[$des_round][self::ENCRYPT][ ] = $val2;
+ $keys[$des_round][self::DECRYPT][$ki ] = $val2;
+ }
+ }
+
+ switch ($this->des_rounds) {
+ case 3: // 3DES keys
+ $this->keys = array(
+ self::ENCRYPT => array_merge(
+ $keys[0][self::ENCRYPT],
+ $keys[1][self::DECRYPT],
+ $keys[2][self::ENCRYPT]
+ ),
+ self::DECRYPT => array_merge(
+ $keys[2][self::DECRYPT],
+ $keys[1][self::ENCRYPT],
+ $keys[0][self::DECRYPT]
+ )
+ );
+ break;
+ // case 1: // DES keys
+ default:
+ $this->keys = array(
+ self::ENCRYPT => $keys[0][self::ENCRYPT],
+ self::DECRYPT => $keys[0][self::DECRYPT]
+ );
+ }
+ }
+
+ /**
+ * Setup the performance-optimized function for de/encrypt()
+ *
+ * @see \phpseclib\Crypt\Base::_setupInlineCrypt()
+ * @access private
+ */
+ function _setupInlineCrypt()
+ {
+ $lambda_functions =& self::_getLambdaFunctions();
+
+ // Engine configuration for:
+ // - DES ($des_rounds == 1) or
+ // - 3DES ($des_rounds == 3)
+ $des_rounds = $this->des_rounds;
+
+ // We create max. 10 hi-optimized code for memory reason. Means: For each $key one ultra fast inline-crypt function.
+ // (Currently, for DES, one generated $lambda_function cost on php5.5@32bit ~135kb unfreeable mem and ~230kb on php5.5@64bit)
+ // (Currently, for TripleDES, one generated $lambda_function cost on php5.5@32bit ~240kb unfreeable mem and ~340kb on php5.5@64bit)
+ // After that, we'll still create very fast optimized code but not the hi-ultimative code, for each $mode one
+ $gen_hi_opt_code = (bool)( count($lambda_functions) < 10 );
+
+ // Generation of a unique hash for our generated code
+ $code_hash = "Crypt_DES, $des_rounds, {$this->mode}";
+ if ($gen_hi_opt_code) {
+ // For hi-optimized code, we create for each combination of
+ // $mode, $des_rounds and $this->key its own encrypt/decrypt function.
+ // After max 10 hi-optimized functions, we create generic
+ // (still very fast.. but not ultra) functions for each $mode/$des_rounds
+ // Currently 2 * 5 generic functions will be then max. possible.
+ $code_hash = str_pad($code_hash, 32) . $this->_hashInlineCryptFunction($this->key);
+ }
+
+ // Is there a re-usable $lambda_functions in there? If not, we have to create it.
+ if (!isset($lambda_functions[$code_hash])) {
+ // Init code for both, encrypt and decrypt.
+ $init_crypt = 'static $sbox1, $sbox2, $sbox3, $sbox4, $sbox5, $sbox6, $sbox7, $sbox8, $shuffleip, $shuffleinvip;
+ if (!$sbox1) {
+ $sbox1 = array_map("intval", $self->sbox1);
+ $sbox2 = array_map("intval", $self->sbox2);
+ $sbox3 = array_map("intval", $self->sbox3);
+ $sbox4 = array_map("intval", $self->sbox4);
+ $sbox5 = array_map("intval", $self->sbox5);
+ $sbox6 = array_map("intval", $self->sbox6);
+ $sbox7 = array_map("intval", $self->sbox7);
+ $sbox8 = array_map("intval", $self->sbox8);'
+ /* Merge $shuffle with $[inv]ipmap */ . '
+ for ($i = 0; $i < 256; ++$i) {
+ $shuffleip[] = $self->shuffle[$self->ipmap[$i]];
+ $shuffleinvip[] = $self->shuffle[$self->invipmap[$i]];
+ }
+ }
+ ';
+
+ switch (true) {
+ case $gen_hi_opt_code:
+ // In Hi-optimized code mode, we use our [3]DES key schedule as hardcoded integers.
+ // No futher initialisation of the $keys schedule is necessary.
+ // That is the extra performance boost.
+ $k = array(
+ self::ENCRYPT => $this->keys[self::ENCRYPT],
+ self::DECRYPT => $this->keys[self::DECRYPT]
+ );
+ $init_encrypt = '';
+ $init_decrypt = '';
+ break;
+ default:
+ // In generic optimized code mode, we have to use, as the best compromise [currently],
+ // our key schedule as $ke/$kd arrays. (with hardcoded indexes...)
+ $k = array(
+ self::ENCRYPT => array(),
+ self::DECRYPT => array()
+ );
+ for ($i = 0, $c = count($this->keys[self::ENCRYPT]); $i < $c; ++$i) {
+ $k[self::ENCRYPT][$i] = '$ke[' . $i . ']';
+ $k[self::DECRYPT][$i] = '$kd[' . $i . ']';
+ }
+ $init_encrypt = '$ke = $self->keys[self::ENCRYPT];';
+ $init_decrypt = '$kd = $self->keys[self::DECRYPT];';
+ break;
+ }
+
+ // Creating code for en- and decryption.
+ $crypt_block = array();
+ foreach (array(self::ENCRYPT, self::DECRYPT) as $c) {
+ /* Do the initial IP permutation. */
+ $crypt_block[$c] = '
+ $in = unpack("N*", $in);
+ $l = $in[1];
+ $r = $in[2];
+ $in = unpack("N*",
+ ($shuffleip[ $r & 0xFF] & "\x80\x80\x80\x80\x80\x80\x80\x80") |
+ ($shuffleip[($r >> 8) & 0xFF] & "\x40\x40\x40\x40\x40\x40\x40\x40") |
+ ($shuffleip[($r >> 16) & 0xFF] & "\x20\x20\x20\x20\x20\x20\x20\x20") |
+ ($shuffleip[($r >> 24) & 0xFF] & "\x10\x10\x10\x10\x10\x10\x10\x10") |
+ ($shuffleip[ $l & 0xFF] & "\x08\x08\x08\x08\x08\x08\x08\x08") |
+ ($shuffleip[($l >> 8) & 0xFF] & "\x04\x04\x04\x04\x04\x04\x04\x04") |
+ ($shuffleip[($l >> 16) & 0xFF] & "\x02\x02\x02\x02\x02\x02\x02\x02") |
+ ($shuffleip[($l >> 24) & 0xFF] & "\x01\x01\x01\x01\x01\x01\x01\x01")
+ );
+ ' . /* Extract L0 and R0 */ '
+ $l = $in[1];
+ $r = $in[2];
+ ';
+
+ $l = '$l';
+ $r = '$r';
+
+ // Perform DES or 3DES.
+ for ($ki = -1, $des_round = 0; $des_round < $des_rounds; ++$des_round) {
+ // Perform the 16 steps.
+ for ($i = 0; $i < 16; ++$i) {
+ // start of "the Feistel (F) function" - see the following URL:
+ // http://en.wikipedia.org/wiki/Image:Data_Encryption_Standard_InfoBox_Diagram.png
+ // Merge key schedule.
+ $crypt_block[$c].= '
+ $b1 = ((' . $r . ' >> 3) & 0x1FFFFFFF) ^ (' . $r . ' << 29) ^ ' . $k[$c][++$ki] . ';
+ $b2 = ((' . $r . ' >> 31) & 0x00000001) ^ (' . $r . ' << 1) ^ ' . $k[$c][++$ki] . ';' .
+ /* S-box indexing. */
+ $l . ' = $sbox1[($b1 >> 24) & 0x3F] ^ $sbox2[($b2 >> 24) & 0x3F] ^
+ $sbox3[($b1 >> 16) & 0x3F] ^ $sbox4[($b2 >> 16) & 0x3F] ^
+ $sbox5[($b1 >> 8) & 0x3F] ^ $sbox6[($b2 >> 8) & 0x3F] ^
+ $sbox7[ $b1 & 0x3F] ^ $sbox8[ $b2 & 0x3F] ^ ' . $l . ';
+ ';
+ // end of "the Feistel (F) function"
+
+ // swap L & R
+ list($l, $r) = array($r, $l);
+ }
+ list($l, $r) = array($r, $l);
+ }
+
+ // Perform the inverse IP permutation.
+ $crypt_block[$c].= '$in =
+ ($shuffleinvip[($l >> 24) & 0xFF] & "\x80\x80\x80\x80\x80\x80\x80\x80") |
+ ($shuffleinvip[($r >> 24) & 0xFF] & "\x40\x40\x40\x40\x40\x40\x40\x40") |
+ ($shuffleinvip[($l >> 16) & 0xFF] & "\x20\x20\x20\x20\x20\x20\x20\x20") |
+ ($shuffleinvip[($r >> 16) & 0xFF] & "\x10\x10\x10\x10\x10\x10\x10\x10") |
+ ($shuffleinvip[($l >> 8) & 0xFF] & "\x08\x08\x08\x08\x08\x08\x08\x08") |
+ ($shuffleinvip[($r >> 8) & 0xFF] & "\x04\x04\x04\x04\x04\x04\x04\x04") |
+ ($shuffleinvip[ $l & 0xFF] & "\x02\x02\x02\x02\x02\x02\x02\x02") |
+ ($shuffleinvip[ $r & 0xFF] & "\x01\x01\x01\x01\x01\x01\x01\x01");
+ ';
+ }
+
+ // Creates the inline-crypt function
+ $lambda_functions[$code_hash] = $this->_createInlineCryptFunction(
+ array(
+ 'init_crypt' => $init_crypt,
+ 'init_encrypt' => $init_encrypt,
+ 'init_decrypt' => $init_decrypt,
+ 'encrypt_block' => $crypt_block[self::ENCRYPT],
+ 'decrypt_block' => $crypt_block[self::DECRYPT]
+ )
+ );
+ }
+
+ // Set the inline-crypt function as callback in: $this->inline_crypt
+ $this->inline_crypt = $lambda_functions[$code_hash];
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Hash.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Hash.php
new file mode 100644
index 00000000..07665a16
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Hash.php
@@ -0,0 +1,824 @@
+<?php
+
+/**
+ * Pure-PHP implementations of keyed-hash message authentication codes (HMACs) and various cryptographic hashing functions.
+ *
+ * Uses hash() or mhash() if available and an internal implementation, otherwise. Currently supports the following:
+ *
+ * md2, md5, md5-96, sha1, sha1-96, sha256, sha256-96, sha384, and sha512, sha512-96
+ *
+ * If {@link self::setKey() setKey()} is called, {@link self::hash() hash()} will return the HMAC as opposed to
+ * the hash. If no valid algorithm is provided, sha1 will be used.
+ *
+ * PHP version 5
+ *
+ * {@internal The variable names are the same as those in
+ * {@link http://tools.ietf.org/html/rfc2104#section-2 RFC2104}.}}
+ *
+ * Here's a short example of how to use this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $hash = new \phpseclib\Crypt\Hash('sha1');
+ *
+ * $hash->setKey('abcdefg');
+ *
+ * echo base64_encode($hash->hash('abcdefg'));
+ * ?>
+ * </code>
+ *
+ * @category Crypt
+ * @package Hash
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2007 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Crypt;
+
+use phpseclib\Math\BigInteger;
+
+/**
+ * Pure-PHP implementations of keyed-hash message authentication codes (HMACs) and various cryptographic hashing functions.
+ *
+ * @package Hash
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class Hash
+{
+ /**#@+
+ * @access private
+ * @see \phpseclib\Crypt\Hash::__construct()
+ */
+ /**
+ * Toggles the internal implementation
+ */
+ const MODE_INTERNAL = 1;
+ /**
+ * Toggles the mhash() implementation, which has been deprecated on PHP 5.3.0+.
+ */
+ const MODE_MHASH = 2;
+ /**
+ * Toggles the hash() implementation, which works on PHP 5.1.2+.
+ */
+ const MODE_HASH = 3;
+ /**#@-*/
+
+ /**
+ * Hash Parameter
+ *
+ * @see self::setHash()
+ * @var int
+ * @access private
+ */
+ var $hashParam;
+
+ /**
+ * Byte-length of compression blocks / key (Internal HMAC)
+ *
+ * @see self::setAlgorithm()
+ * @var int
+ * @access private
+ */
+ var $b;
+
+ /**
+ * Byte-length of hash output (Internal HMAC)
+ *
+ * @see self::setHash()
+ * @var int
+ * @access private
+ */
+ var $l = false;
+
+ /**
+ * Hash Algorithm
+ *
+ * @see self::setHash()
+ * @var string
+ * @access private
+ */
+ var $hash;
+
+ /**
+ * Key
+ *
+ * @see self::setKey()
+ * @var string
+ * @access private
+ */
+ var $key = false;
+
+ /**
+ * Outer XOR (Internal HMAC)
+ *
+ * @see self::setKey()
+ * @var string
+ * @access private
+ */
+ var $opad;
+
+ /**
+ * Inner XOR (Internal HMAC)
+ *
+ * @see self::setKey()
+ * @var string
+ * @access private
+ */
+ var $ipad;
+
+ /**
+ * Default Constructor.
+ *
+ * @param string $hash
+ * @return \phpseclib\Crypt\Hash
+ * @access public
+ */
+ function __construct($hash = 'sha1')
+ {
+ if (!defined('CRYPT_HASH_MODE')) {
+ switch (true) {
+ case extension_loaded('hash'):
+ define('CRYPT_HASH_MODE', self::MODE_HASH);
+ break;
+ case extension_loaded('mhash'):
+ define('CRYPT_HASH_MODE', self::MODE_MHASH);
+ break;
+ default:
+ define('CRYPT_HASH_MODE', self::MODE_INTERNAL);
+ }
+ }
+
+ $this->setHash($hash);
+ }
+
+ /**
+ * Sets the key for HMACs
+ *
+ * Keys can be of any length.
+ *
+ * @access public
+ * @param string $key
+ */
+ function setKey($key = false)
+ {
+ $this->key = $key;
+ }
+
+ /**
+ * Gets the hash function.
+ *
+ * As set by the constructor or by the setHash() method.
+ *
+ * @access public
+ * @return string
+ */
+ function getHash()
+ {
+ return $this->hashParam;
+ }
+
+ /**
+ * Sets the hash function.
+ *
+ * @access public
+ * @param string $hash
+ */
+ function setHash($hash)
+ {
+ $this->hashParam = $hash = strtolower($hash);
+ switch ($hash) {
+ case 'md5-96':
+ case 'sha1-96':
+ case 'sha256-96':
+ case 'sha512-96':
+ $hash = substr($hash, 0, -3);
+ $this->l = 12; // 96 / 8 = 12
+ break;
+ case 'md2':
+ case 'md5':
+ $this->l = 16;
+ break;
+ case 'sha1':
+ $this->l = 20;
+ break;
+ case 'sha256':
+ $this->l = 32;
+ break;
+ case 'sha384':
+ $this->l = 48;
+ break;
+ case 'sha512':
+ $this->l = 64;
+ }
+
+ switch ($hash) {
+ case 'md2':
+ $mode = CRYPT_HASH_MODE == self::MODE_HASH && in_array('md2', hash_algos()) ?
+ self::MODE_HASH : self::MODE_INTERNAL;
+ break;
+ case 'sha384':
+ case 'sha512':
+ $mode = CRYPT_HASH_MODE == self::MODE_MHASH ? self::MODE_INTERNAL : CRYPT_HASH_MODE;
+ break;
+ default:
+ $mode = CRYPT_HASH_MODE;
+ }
+
+ switch ($mode) {
+ case self::MODE_MHASH:
+ switch ($hash) {
+ case 'md5':
+ $this->hash = MHASH_MD5;
+ break;
+ case 'sha256':
+ $this->hash = MHASH_SHA256;
+ break;
+ case 'sha1':
+ default:
+ $this->hash = MHASH_SHA1;
+ }
+ return;
+ case self::MODE_HASH:
+ switch ($hash) {
+ case 'md5':
+ $this->hash = 'md5';
+ return;
+ case 'md2':
+ case 'sha256':
+ case 'sha384':
+ case 'sha512':
+ $this->hash = $hash;
+ return;
+ case 'sha1':
+ default:
+ $this->hash = 'sha1';
+ }
+ return;
+ }
+
+ switch ($hash) {
+ case 'md2':
+ $this->b = 16;
+ $this->hash = array($this, '_md2');
+ break;
+ case 'md5':
+ $this->b = 64;
+ $this->hash = array($this, '_md5');
+ break;
+ case 'sha256':
+ $this->b = 64;
+ $this->hash = array($this, '_sha256');
+ break;
+ case 'sha384':
+ case 'sha512':
+ $this->b = 128;
+ $this->hash = array($this, '_sha512');
+ break;
+ case 'sha1':
+ default:
+ $this->b = 64;
+ $this->hash = array($this, '_sha1');
+ }
+
+ $this->ipad = str_repeat(chr(0x36), $this->b);
+ $this->opad = str_repeat(chr(0x5C), $this->b);
+ }
+
+ /**
+ * Compute the HMAC.
+ *
+ * @access public
+ * @param string $text
+ * @return string
+ */
+ function hash($text)
+ {
+ $mode = is_array($this->hash) ? self::MODE_INTERNAL : CRYPT_HASH_MODE;
+
+ if (!empty($this->key) || is_string($this->key)) {
+ switch ($mode) {
+ case self::MODE_MHASH:
+ $output = mhash($this->hash, $text, $this->key);
+ break;
+ case self::MODE_HASH:
+ $output = hash_hmac($this->hash, $text, $this->key, true);
+ break;
+ case self::MODE_INTERNAL:
+ /* "Applications that use keys longer than B bytes will first hash the key using H and then use the
+ resultant L byte string as the actual key to HMAC."
+
+ -- http://tools.ietf.org/html/rfc2104#section-2 */
+ $key = strlen($this->key) > $this->b ? call_user_func($this->hash, $this->key) : $this->key;
+
+ $key = str_pad($key, $this->b, chr(0)); // step 1
+ $temp = $this->ipad ^ $key; // step 2
+ $temp .= $text; // step 3
+ $temp = call_user_func($this->hash, $temp); // step 4
+ $output = $this->opad ^ $key; // step 5
+ $output.= $temp; // step 6
+ $output = call_user_func($this->hash, $output); // step 7
+ }
+ } else {
+ switch ($mode) {
+ case self::MODE_MHASH:
+ $output = mhash($this->hash, $text);
+ break;
+ case self::MODE_HASH:
+ $output = hash($this->hash, $text, true);
+ break;
+ case self::MODE_INTERNAL:
+ $output = call_user_func($this->hash, $text);
+ }
+ }
+
+ return substr($output, 0, $this->l);
+ }
+
+ /**
+ * Returns the hash length (in bytes)
+ *
+ * @access public
+ * @return int
+ */
+ function getLength()
+ {
+ return $this->l;
+ }
+
+ /**
+ * Wrapper for MD5
+ *
+ * @access private
+ * @param string $m
+ */
+ function _md5($m)
+ {
+ return pack('H*', md5($m));
+ }
+
+ /**
+ * Wrapper for SHA1
+ *
+ * @access private
+ * @param string $m
+ */
+ function _sha1($m)
+ {
+ return pack('H*', sha1($m));
+ }
+
+ /**
+ * Pure-PHP implementation of MD2
+ *
+ * See {@link http://tools.ietf.org/html/rfc1319 RFC1319}.
+ *
+ * @access private
+ * @param string $m
+ */
+ function _md2($m)
+ {
+ static $s = array(
+ 41, 46, 67, 201, 162, 216, 124, 1, 61, 54, 84, 161, 236, 240, 6,
+ 19, 98, 167, 5, 243, 192, 199, 115, 140, 152, 147, 43, 217, 188,
+ 76, 130, 202, 30, 155, 87, 60, 253, 212, 224, 22, 103, 66, 111, 24,
+ 138, 23, 229, 18, 190, 78, 196, 214, 218, 158, 222, 73, 160, 251,
+ 245, 142, 187, 47, 238, 122, 169, 104, 121, 145, 21, 178, 7, 63,
+ 148, 194, 16, 137, 11, 34, 95, 33, 128, 127, 93, 154, 90, 144, 50,
+ 39, 53, 62, 204, 231, 191, 247, 151, 3, 255, 25, 48, 179, 72, 165,
+ 181, 209, 215, 94, 146, 42, 172, 86, 170, 198, 79, 184, 56, 210,
+ 150, 164, 125, 182, 118, 252, 107, 226, 156, 116, 4, 241, 69, 157,
+ 112, 89, 100, 113, 135, 32, 134, 91, 207, 101, 230, 45, 168, 2, 27,
+ 96, 37, 173, 174, 176, 185, 246, 28, 70, 97, 105, 52, 64, 126, 15,
+ 85, 71, 163, 35, 221, 81, 175, 58, 195, 92, 249, 206, 186, 197,
+ 234, 38, 44, 83, 13, 110, 133, 40, 132, 9, 211, 223, 205, 244, 65,
+ 129, 77, 82, 106, 220, 55, 200, 108, 193, 171, 250, 36, 225, 123,
+ 8, 12, 189, 177, 74, 120, 136, 149, 139, 227, 99, 232, 109, 233,
+ 203, 213, 254, 59, 0, 29, 57, 242, 239, 183, 14, 102, 88, 208, 228,
+ 166, 119, 114, 248, 235, 117, 75, 10, 49, 68, 80, 180, 143, 237,
+ 31, 26, 219, 153, 141, 51, 159, 17, 131, 20
+ );
+
+ // Step 1. Append Padding Bytes
+ $pad = 16 - (strlen($m) & 0xF);
+ $m.= str_repeat(chr($pad), $pad);
+
+ $length = strlen($m);
+
+ // Step 2. Append Checksum
+ $c = str_repeat(chr(0), 16);
+ $l = chr(0);
+ for ($i = 0; $i < $length; $i+= 16) {
+ for ($j = 0; $j < 16; $j++) {
+ // RFC1319 incorrectly states that C[j] should be set to S[c xor L]
+ //$c[$j] = chr($s[ord($m[$i + $j] ^ $l)]);
+ // per <http://www.rfc-editor.org/errata_search.php?rfc=1319>, however, C[j] should be set to S[c xor L] xor C[j]
+ $c[$j] = chr($s[ord($m[$i + $j] ^ $l)] ^ ord($c[$j]));
+ $l = $c[$j];
+ }
+ }
+ $m.= $c;
+
+ $length+= 16;
+
+ // Step 3. Initialize MD Buffer
+ $x = str_repeat(chr(0), 48);
+
+ // Step 4. Process Message in 16-Byte Blocks
+ for ($i = 0; $i < $length; $i+= 16) {
+ for ($j = 0; $j < 16; $j++) {
+ $x[$j + 16] = $m[$i + $j];
+ $x[$j + 32] = $x[$j + 16] ^ $x[$j];
+ }
+ $t = chr(0);
+ for ($j = 0; $j < 18; $j++) {
+ for ($k = 0; $k < 48; $k++) {
+ $x[$k] = $t = $x[$k] ^ chr($s[ord($t)]);
+ //$t = $x[$k] = $x[$k] ^ chr($s[ord($t)]);
+ }
+ $t = chr(ord($t) + $j);
+ }
+ }
+
+ // Step 5. Output
+ return substr($x, 0, 16);
+ }
+
+ /**
+ * Pure-PHP implementation of SHA256
+ *
+ * See {@link http://en.wikipedia.org/wiki/SHA_hash_functions#SHA-256_.28a_SHA-2_variant.29_pseudocode SHA-256 (a SHA-2 variant) pseudocode - Wikipedia}.
+ *
+ * @access private
+ * @param string $m
+ */
+ function _sha256($m)
+ {
+ if (extension_loaded('suhosin')) {
+ return pack('H*', sha256($m));
+ }
+
+ // Initialize variables
+ $hash = array(
+ 0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19
+ );
+ // Initialize table of round constants
+ // (first 32 bits of the fractional parts of the cube roots of the first 64 primes 2..311)
+ static $k = array(
+ 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5,
+ 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174,
+ 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da,
+ 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967,
+ 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85,
+ 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070,
+ 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3,
+ 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2
+ );
+
+ // Pre-processing
+ $length = strlen($m);
+ // to round to nearest 56 mod 64, we'll add 64 - (length + (64 - 56)) % 64
+ $m.= str_repeat(chr(0), 64 - (($length + 8) & 0x3F));
+ $m[$length] = chr(0x80);
+ // we don't support hashing strings 512MB long
+ $m.= pack('N2', 0, $length << 3);
+
+ // Process the message in successive 512-bit chunks
+ $chunks = str_split($m, 64);
+ foreach ($chunks as $chunk) {
+ $w = array();
+ for ($i = 0; $i < 16; $i++) {
+ extract(unpack('Ntemp', $this->_string_shift($chunk, 4)));
+ $w[] = $temp;
+ }
+
+ // Extend the sixteen 32-bit words into sixty-four 32-bit words
+ for ($i = 16; $i < 64; $i++) {
+ // @codingStandardsIgnoreStart
+ $s0 = $this->_rightRotate($w[$i - 15], 7) ^
+ $this->_rightRotate($w[$i - 15], 18) ^
+ $this->_rightShift( $w[$i - 15], 3);
+ $s1 = $this->_rightRotate($w[$i - 2], 17) ^
+ $this->_rightRotate($w[$i - 2], 19) ^
+ $this->_rightShift( $w[$i - 2], 10);
+ // @codingStandardsIgnoreEnd
+ $w[$i] = $this->_add($w[$i - 16], $s0, $w[$i - 7], $s1);
+ }
+
+ // Initialize hash value for this chunk
+ list($a, $b, $c, $d, $e, $f, $g, $h) = $hash;
+
+ // Main loop
+ for ($i = 0; $i < 64; $i++) {
+ $s0 = $this->_rightRotate($a, 2) ^
+ $this->_rightRotate($a, 13) ^
+ $this->_rightRotate($a, 22);
+ $maj = ($a & $b) ^
+ ($a & $c) ^
+ ($b & $c);
+ $t2 = $this->_add($s0, $maj);
+
+ $s1 = $this->_rightRotate($e, 6) ^
+ $this->_rightRotate($e, 11) ^
+ $this->_rightRotate($e, 25);
+ $ch = ($e & $f) ^
+ ($this->_not($e) & $g);
+ $t1 = $this->_add($h, $s1, $ch, $k[$i], $w[$i]);
+
+ $h = $g;
+ $g = $f;
+ $f = $e;
+ $e = $this->_add($d, $t1);
+ $d = $c;
+ $c = $b;
+ $b = $a;
+ $a = $this->_add($t1, $t2);
+ }
+
+ // Add this chunk's hash to result so far
+ $hash = array(
+ $this->_add($hash[0], $a),
+ $this->_add($hash[1], $b),
+ $this->_add($hash[2], $c),
+ $this->_add($hash[3], $d),
+ $this->_add($hash[4], $e),
+ $this->_add($hash[5], $f),
+ $this->_add($hash[6], $g),
+ $this->_add($hash[7], $h)
+ );
+ }
+
+ // Produce the final hash value (big-endian)
+ return pack('N8', $hash[0], $hash[1], $hash[2], $hash[3], $hash[4], $hash[5], $hash[6], $hash[7]);
+ }
+
+ /**
+ * Pure-PHP implementation of SHA384 and SHA512
+ *
+ * @access private
+ * @param string $m
+ */
+ function _sha512($m)
+ {
+ static $init384, $init512, $k;
+
+ if (!isset($k)) {
+ // Initialize variables
+ $init384 = array( // initial values for SHA384
+ 'cbbb9d5dc1059ed8', '629a292a367cd507', '9159015a3070dd17', '152fecd8f70e5939',
+ '67332667ffc00b31', '8eb44a8768581511', 'db0c2e0d64f98fa7', '47b5481dbefa4fa4'
+ );
+ $init512 = array( // initial values for SHA512
+ '6a09e667f3bcc908', 'bb67ae8584caa73b', '3c6ef372fe94f82b', 'a54ff53a5f1d36f1',
+ '510e527fade682d1', '9b05688c2b3e6c1f', '1f83d9abfb41bd6b', '5be0cd19137e2179'
+ );
+
+ for ($i = 0; $i < 8; $i++) {
+ $init384[$i] = new BigInteger($init384[$i], 16);
+ $init384[$i]->setPrecision(64);
+ $init512[$i] = new BigInteger($init512[$i], 16);
+ $init512[$i]->setPrecision(64);
+ }
+
+ // Initialize table of round constants
+ // (first 64 bits of the fractional parts of the cube roots of the first 80 primes 2..409)
+ $k = array(
+ '428a2f98d728ae22', '7137449123ef65cd', 'b5c0fbcfec4d3b2f', 'e9b5dba58189dbbc',
+ '3956c25bf348b538', '59f111f1b605d019', '923f82a4af194f9b', 'ab1c5ed5da6d8118',
+ 'd807aa98a3030242', '12835b0145706fbe', '243185be4ee4b28c', '550c7dc3d5ffb4e2',
+ '72be5d74f27b896f', '80deb1fe3b1696b1', '9bdc06a725c71235', 'c19bf174cf692694',
+ 'e49b69c19ef14ad2', 'efbe4786384f25e3', '0fc19dc68b8cd5b5', '240ca1cc77ac9c65',
+ '2de92c6f592b0275', '4a7484aa6ea6e483', '5cb0a9dcbd41fbd4', '76f988da831153b5',
+ '983e5152ee66dfab', 'a831c66d2db43210', 'b00327c898fb213f', 'bf597fc7beef0ee4',
+ 'c6e00bf33da88fc2', 'd5a79147930aa725', '06ca6351e003826f', '142929670a0e6e70',
+ '27b70a8546d22ffc', '2e1b21385c26c926', '4d2c6dfc5ac42aed', '53380d139d95b3df',
+ '650a73548baf63de', '766a0abb3c77b2a8', '81c2c92e47edaee6', '92722c851482353b',
+ 'a2bfe8a14cf10364', 'a81a664bbc423001', 'c24b8b70d0f89791', 'c76c51a30654be30',
+ 'd192e819d6ef5218', 'd69906245565a910', 'f40e35855771202a', '106aa07032bbd1b8',
+ '19a4c116b8d2d0c8', '1e376c085141ab53', '2748774cdf8eeb99', '34b0bcb5e19b48a8',
+ '391c0cb3c5c95a63', '4ed8aa4ae3418acb', '5b9cca4f7763e373', '682e6ff3d6b2b8a3',
+ '748f82ee5defb2fc', '78a5636f43172f60', '84c87814a1f0ab72', '8cc702081a6439ec',
+ '90befffa23631e28', 'a4506cebde82bde9', 'bef9a3f7b2c67915', 'c67178f2e372532b',
+ 'ca273eceea26619c', 'd186b8c721c0c207', 'eada7dd6cde0eb1e', 'f57d4f7fee6ed178',
+ '06f067aa72176fba', '0a637dc5a2c898a6', '113f9804bef90dae', '1b710b35131c471b',
+ '28db77f523047d84', '32caab7b40c72493', '3c9ebe0a15c9bebc', '431d67c49c100d4c',
+ '4cc5d4becb3e42b6', '597f299cfc657e2a', '5fcb6fab3ad6faec', '6c44198c4a475817'
+ );
+
+ for ($i = 0; $i < 80; $i++) {
+ $k[$i] = new BigInteger($k[$i], 16);
+ }
+ }
+
+ $hash = $this->l == 48 ? $init384 : $init512;
+
+ // Pre-processing
+ $length = strlen($m);
+ // to round to nearest 112 mod 128, we'll add 128 - (length + (128 - 112)) % 128
+ $m.= str_repeat(chr(0), 128 - (($length + 16) & 0x7F));
+ $m[$length] = chr(0x80);
+ // we don't support hashing strings 512MB long
+ $m.= pack('N4', 0, 0, 0, $length << 3);
+
+ // Process the message in successive 1024-bit chunks
+ $chunks = str_split($m, 128);
+ foreach ($chunks as $chunk) {
+ $w = array();
+ for ($i = 0; $i < 16; $i++) {
+ $temp = new BigInteger($this->_string_shift($chunk, 8), 256);
+ $temp->setPrecision(64);
+ $w[] = $temp;
+ }
+
+ // Extend the sixteen 32-bit words into eighty 32-bit words
+ for ($i = 16; $i < 80; $i++) {
+ $temp = array(
+ $w[$i - 15]->bitwise_rightRotate(1),
+ $w[$i - 15]->bitwise_rightRotate(8),
+ $w[$i - 15]->bitwise_rightShift(7)
+ );
+ $s0 = $temp[0]->bitwise_xor($temp[1]);
+ $s0 = $s0->bitwise_xor($temp[2]);
+ $temp = array(
+ $w[$i - 2]->bitwise_rightRotate(19),
+ $w[$i - 2]->bitwise_rightRotate(61),
+ $w[$i - 2]->bitwise_rightShift(6)
+ );
+ $s1 = $temp[0]->bitwise_xor($temp[1]);
+ $s1 = $s1->bitwise_xor($temp[2]);
+ $w[$i] = $w[$i - 16]->copy();
+ $w[$i] = $w[$i]->add($s0);
+ $w[$i] = $w[$i]->add($w[$i - 7]);
+ $w[$i] = $w[$i]->add($s1);
+ }
+
+ // Initialize hash value for this chunk
+ $a = $hash[0]->copy();
+ $b = $hash[1]->copy();
+ $c = $hash[2]->copy();
+ $d = $hash[3]->copy();
+ $e = $hash[4]->copy();
+ $f = $hash[5]->copy();
+ $g = $hash[6]->copy();
+ $h = $hash[7]->copy();
+
+ // Main loop
+ for ($i = 0; $i < 80; $i++) {
+ $temp = array(
+ $a->bitwise_rightRotate(28),
+ $a->bitwise_rightRotate(34),
+ $a->bitwise_rightRotate(39)
+ );
+ $s0 = $temp[0]->bitwise_xor($temp[1]);
+ $s0 = $s0->bitwise_xor($temp[2]);
+ $temp = array(
+ $a->bitwise_and($b),
+ $a->bitwise_and($c),
+ $b->bitwise_and($c)
+ );
+ $maj = $temp[0]->bitwise_xor($temp[1]);
+ $maj = $maj->bitwise_xor($temp[2]);
+ $t2 = $s0->add($maj);
+
+ $temp = array(
+ $e->bitwise_rightRotate(14),
+ $e->bitwise_rightRotate(18),
+ $e->bitwise_rightRotate(41)
+ );
+ $s1 = $temp[0]->bitwise_xor($temp[1]);
+ $s1 = $s1->bitwise_xor($temp[2]);
+ $temp = array(
+ $e->bitwise_and($f),
+ $g->bitwise_and($e->bitwise_not())
+ );
+ $ch = $temp[0]->bitwise_xor($temp[1]);
+ $t1 = $h->add($s1);
+ $t1 = $t1->add($ch);
+ $t1 = $t1->add($k[$i]);
+ $t1 = $t1->add($w[$i]);
+
+ $h = $g->copy();
+ $g = $f->copy();
+ $f = $e->copy();
+ $e = $d->add($t1);
+ $d = $c->copy();
+ $c = $b->copy();
+ $b = $a->copy();
+ $a = $t1->add($t2);
+ }
+
+ // Add this chunk's hash to result so far
+ $hash = array(
+ $hash[0]->add($a),
+ $hash[1]->add($b),
+ $hash[2]->add($c),
+ $hash[3]->add($d),
+ $hash[4]->add($e),
+ $hash[5]->add($f),
+ $hash[6]->add($g),
+ $hash[7]->add($h)
+ );
+ }
+
+ // Produce the final hash value (big-endian)
+ // (\phpseclib\Crypt\Hash::hash() trims the output for hashes but not for HMACs. as such, we trim the output here)
+ $temp = $hash[0]->toBytes() . $hash[1]->toBytes() . $hash[2]->toBytes() . $hash[3]->toBytes() .
+ $hash[4]->toBytes() . $hash[5]->toBytes();
+ if ($this->l != 48) {
+ $temp.= $hash[6]->toBytes() . $hash[7]->toBytes();
+ }
+
+ return $temp;
+ }
+
+ /**
+ * Right Rotate
+ *
+ * @access private
+ * @param int $int
+ * @param int $amt
+ * @see self::_sha256()
+ * @return int
+ */
+ function _rightRotate($int, $amt)
+ {
+ $invamt = 32 - $amt;
+ $mask = (1 << $invamt) - 1;
+ return (($int << $invamt) & 0xFFFFFFFF) | (($int >> $amt) & $mask);
+ }
+
+ /**
+ * Right Shift
+ *
+ * @access private
+ * @param int $int
+ * @param int $amt
+ * @see self::_sha256()
+ * @return int
+ */
+ function _rightShift($int, $amt)
+ {
+ $mask = (1 << (32 - $amt)) - 1;
+ return ($int >> $amt) & $mask;
+ }
+
+ /**
+ * Not
+ *
+ * @access private
+ * @param int $int
+ * @see self::_sha256()
+ * @return int
+ */
+ function _not($int)
+ {
+ return ~$int & 0xFFFFFFFF;
+ }
+
+ /**
+ * Add
+ *
+ * _sha256() adds multiple unsigned 32-bit integers. Since PHP doesn't support unsigned integers and since the
+ * possibility of overflow exists, care has to be taken. BigInteger could be used but this should be faster.
+ *
+ * @param int $...
+ * @return int
+ * @see self::_sha256()
+ * @access private
+ */
+ function _add()
+ {
+ static $mod;
+ if (!isset($mod)) {
+ $mod = pow(2, 32);
+ }
+
+ $result = 0;
+ $arguments = func_get_args();
+ foreach ($arguments as $argument) {
+ $result+= $argument < 0 ? ($argument & 0x7FFFFFFF) + 0x80000000 : $argument;
+ }
+
+ return fmod($result, $mod);
+ }
+
+ /**
+ * String Shift
+ *
+ * Inspired by array_shift
+ *
+ * @param string $string
+ * @param int $index
+ * @return string
+ * @access private
+ */
+ function _string_shift(&$string, $index = 1)
+ {
+ $substr = substr($string, 0, $index);
+ $string = substr($string, $index);
+ return $substr;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RC2.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RC2.php
new file mode 100644
index 00000000..e9cfa3f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RC2.php
@@ -0,0 +1,688 @@
+<?php
+
+/**
+ * Pure-PHP implementation of RC2.
+ *
+ * Uses mcrypt, if available, and an internal implementation, otherwise.
+ *
+ * PHP version 5
+ *
+ * Useful resources are as follows:
+ *
+ * - {@link http://tools.ietf.org/html/rfc2268}
+ *
+ * Here's a short example of how to use this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $rc2 = new \phpseclib\Crypt\RC2();
+ *
+ * $rc2->setKey('abcdefgh');
+ *
+ * $plaintext = str_repeat('a', 1024);
+ *
+ * echo $rc2->decrypt($rc2->encrypt($plaintext));
+ * ?>
+ * </code>
+ *
+ * @category Crypt
+ * @package RC2
+ * @author Patrick Monnerat <pm@datasphere.ch>
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Crypt;
+
+/**
+ * Pure-PHP implementation of RC2.
+ *
+ * @package RC2
+ * @access public
+ */
+class RC2 extends Base
+{
+ /**
+ * Block Length of the cipher
+ *
+ * @see \phpseclib\Crypt\Base::block_size
+ * @var int
+ * @access private
+ */
+ var $block_size = 8;
+
+ /**
+ * The Key
+ *
+ * @see \phpseclib\Crypt\Base::key
+ * @see self::setKey()
+ * @var string
+ * @access private
+ */
+ var $key;
+
+ /**
+ * The Original (unpadded) Key
+ *
+ * @see \phpseclib\Crypt\Base::key
+ * @see self::setKey()
+ * @see self::encrypt()
+ * @see self::decrypt()
+ * @var string
+ * @access private
+ */
+ var $orig_key;
+
+ /**
+ * Don't truncate / null pad key
+ *
+ * @see \phpseclib\Crypt\Base::_clearBuffers()
+ * @var bool
+ * @access private
+ */
+ var $skip_key_adjustment = true;
+
+ /**
+ * Key Length (in bytes)
+ *
+ * @see \phpseclib\Crypt\RC2::setKeyLength()
+ * @var int
+ * @access private
+ */
+ var $key_length = 16; // = 128 bits
+
+ /**
+ * The mcrypt specific name of the cipher
+ *
+ * @see \phpseclib\Crypt\Base::cipher_name_mcrypt
+ * @var string
+ * @access private
+ */
+ var $cipher_name_mcrypt = 'rc2';
+
+ /**
+ * Optimizing value while CFB-encrypting
+ *
+ * @see \phpseclib\Crypt\Base::cfb_init_len
+ * @var int
+ * @access private
+ */
+ var $cfb_init_len = 500;
+
+ /**
+ * The key length in bits.
+ *
+ * @see self::setKeyLength()
+ * @see self::setKey()
+ * @var int
+ * @access private
+ * @internal Should be in range [1..1024].
+ * @internal Changing this value after setting the key has no effect.
+ */
+ var $default_key_length = 1024;
+
+ /**
+ * The key length in bits.
+ *
+ * @see self::isValidEnine()
+ * @see self::setKey()
+ * @var int
+ * @access private
+ * @internal Should be in range [1..1024].
+ */
+ var $current_key_length;
+
+ /**
+ * The Key Schedule
+ *
+ * @see self::_setupKey()
+ * @var array
+ * @access private
+ */
+ var $keys;
+
+ /**
+ * Key expansion randomization table.
+ * Twice the same 256-value sequence to save a modulus in key expansion.
+ *
+ * @see self::setKey()
+ * @var array
+ * @access private
+ */
+ var $pitable = array(
+ 0xD9, 0x78, 0xF9, 0xC4, 0x19, 0xDD, 0xB5, 0xED,
+ 0x28, 0xE9, 0xFD, 0x79, 0x4A, 0xA0, 0xD8, 0x9D,
+ 0xC6, 0x7E, 0x37, 0x83, 0x2B, 0x76, 0x53, 0x8E,
+ 0x62, 0x4C, 0x64, 0x88, 0x44, 0x8B, 0xFB, 0xA2,
+ 0x17, 0x9A, 0x59, 0xF5, 0x87, 0xB3, 0x4F, 0x13,
+ 0x61, 0x45, 0x6D, 0x8D, 0x09, 0x81, 0x7D, 0x32,
+ 0xBD, 0x8F, 0x40, 0xEB, 0x86, 0xB7, 0x7B, 0x0B,
+ 0xF0, 0x95, 0x21, 0x22, 0x5C, 0x6B, 0x4E, 0x82,
+ 0x54, 0xD6, 0x65, 0x93, 0xCE, 0x60, 0xB2, 0x1C,
+ 0x73, 0x56, 0xC0, 0x14, 0xA7, 0x8C, 0xF1, 0xDC,
+ 0x12, 0x75, 0xCA, 0x1F, 0x3B, 0xBE, 0xE4, 0xD1,
+ 0x42, 0x3D, 0xD4, 0x30, 0xA3, 0x3C, 0xB6, 0x26,
+ 0x6F, 0xBF, 0x0E, 0xDA, 0x46, 0x69, 0x07, 0x57,
+ 0x27, 0xF2, 0x1D, 0x9B, 0xBC, 0x94, 0x43, 0x03,
+ 0xF8, 0x11, 0xC7, 0xF6, 0x90, 0xEF, 0x3E, 0xE7,
+ 0x06, 0xC3, 0xD5, 0x2F, 0xC8, 0x66, 0x1E, 0xD7,
+ 0x08, 0xE8, 0xEA, 0xDE, 0x80, 0x52, 0xEE, 0xF7,
+ 0x84, 0xAA, 0x72, 0xAC, 0x35, 0x4D, 0x6A, 0x2A,
+ 0x96, 0x1A, 0xD2, 0x71, 0x5A, 0x15, 0x49, 0x74,
+ 0x4B, 0x9F, 0xD0, 0x5E, 0x04, 0x18, 0xA4, 0xEC,
+ 0xC2, 0xE0, 0x41, 0x6E, 0x0F, 0x51, 0xCB, 0xCC,
+ 0x24, 0x91, 0xAF, 0x50, 0xA1, 0xF4, 0x70, 0x39,
+ 0x99, 0x7C, 0x3A, 0x85, 0x23, 0xB8, 0xB4, 0x7A,
+ 0xFC, 0x02, 0x36, 0x5B, 0x25, 0x55, 0x97, 0x31,
+ 0x2D, 0x5D, 0xFA, 0x98, 0xE3, 0x8A, 0x92, 0xAE,
+ 0x05, 0xDF, 0x29, 0x10, 0x67, 0x6C, 0xBA, 0xC9,
+ 0xD3, 0x00, 0xE6, 0xCF, 0xE1, 0x9E, 0xA8, 0x2C,
+ 0x63, 0x16, 0x01, 0x3F, 0x58, 0xE2, 0x89, 0xA9,
+ 0x0D, 0x38, 0x34, 0x1B, 0xAB, 0x33, 0xFF, 0xB0,
+ 0xBB, 0x48, 0x0C, 0x5F, 0xB9, 0xB1, 0xCD, 0x2E,
+ 0xC5, 0xF3, 0xDB, 0x47, 0xE5, 0xA5, 0x9C, 0x77,
+ 0x0A, 0xA6, 0x20, 0x68, 0xFE, 0x7F, 0xC1, 0xAD,
+ 0xD9, 0x78, 0xF9, 0xC4, 0x19, 0xDD, 0xB5, 0xED,
+ 0x28, 0xE9, 0xFD, 0x79, 0x4A, 0xA0, 0xD8, 0x9D,
+ 0xC6, 0x7E, 0x37, 0x83, 0x2B, 0x76, 0x53, 0x8E,
+ 0x62, 0x4C, 0x64, 0x88, 0x44, 0x8B, 0xFB, 0xA2,
+ 0x17, 0x9A, 0x59, 0xF5, 0x87, 0xB3, 0x4F, 0x13,
+ 0x61, 0x45, 0x6D, 0x8D, 0x09, 0x81, 0x7D, 0x32,
+ 0xBD, 0x8F, 0x40, 0xEB, 0x86, 0xB7, 0x7B, 0x0B,
+ 0xF0, 0x95, 0x21, 0x22, 0x5C, 0x6B, 0x4E, 0x82,
+ 0x54, 0xD6, 0x65, 0x93, 0xCE, 0x60, 0xB2, 0x1C,
+ 0x73, 0x56, 0xC0, 0x14, 0xA7, 0x8C, 0xF1, 0xDC,
+ 0x12, 0x75, 0xCA, 0x1F, 0x3B, 0xBE, 0xE4, 0xD1,
+ 0x42, 0x3D, 0xD4, 0x30, 0xA3, 0x3C, 0xB6, 0x26,
+ 0x6F, 0xBF, 0x0E, 0xDA, 0x46, 0x69, 0x07, 0x57,
+ 0x27, 0xF2, 0x1D, 0x9B, 0xBC, 0x94, 0x43, 0x03,
+ 0xF8, 0x11, 0xC7, 0xF6, 0x90, 0xEF, 0x3E, 0xE7,
+ 0x06, 0xC3, 0xD5, 0x2F, 0xC8, 0x66, 0x1E, 0xD7,
+ 0x08, 0xE8, 0xEA, 0xDE, 0x80, 0x52, 0xEE, 0xF7,
+ 0x84, 0xAA, 0x72, 0xAC, 0x35, 0x4D, 0x6A, 0x2A,
+ 0x96, 0x1A, 0xD2, 0x71, 0x5A, 0x15, 0x49, 0x74,
+ 0x4B, 0x9F, 0xD0, 0x5E, 0x04, 0x18, 0xA4, 0xEC,
+ 0xC2, 0xE0, 0x41, 0x6E, 0x0F, 0x51, 0xCB, 0xCC,
+ 0x24, 0x91, 0xAF, 0x50, 0xA1, 0xF4, 0x70, 0x39,
+ 0x99, 0x7C, 0x3A, 0x85, 0x23, 0xB8, 0xB4, 0x7A,
+ 0xFC, 0x02, 0x36, 0x5B, 0x25, 0x55, 0x97, 0x31,
+ 0x2D, 0x5D, 0xFA, 0x98, 0xE3, 0x8A, 0x92, 0xAE,
+ 0x05, 0xDF, 0x29, 0x10, 0x67, 0x6C, 0xBA, 0xC9,
+ 0xD3, 0x00, 0xE6, 0xCF, 0xE1, 0x9E, 0xA8, 0x2C,
+ 0x63, 0x16, 0x01, 0x3F, 0x58, 0xE2, 0x89, 0xA9,
+ 0x0D, 0x38, 0x34, 0x1B, 0xAB, 0x33, 0xFF, 0xB0,
+ 0xBB, 0x48, 0x0C, 0x5F, 0xB9, 0xB1, 0xCD, 0x2E,
+ 0xC5, 0xF3, 0xDB, 0x47, 0xE5, 0xA5, 0x9C, 0x77,
+ 0x0A, 0xA6, 0x20, 0x68, 0xFE, 0x7F, 0xC1, 0xAD
+ );
+
+ /**
+ * Inverse key expansion randomization table.
+ *
+ * @see self::setKey()
+ * @var array
+ * @access private
+ */
+ var $invpitable = array(
+ 0xD1, 0xDA, 0xB9, 0x6F, 0x9C, 0xC8, 0x78, 0x66,
+ 0x80, 0x2C, 0xF8, 0x37, 0xEA, 0xE0, 0x62, 0xA4,
+ 0xCB, 0x71, 0x50, 0x27, 0x4B, 0x95, 0xD9, 0x20,
+ 0x9D, 0x04, 0x91, 0xE3, 0x47, 0x6A, 0x7E, 0x53,
+ 0xFA, 0x3A, 0x3B, 0xB4, 0xA8, 0xBC, 0x5F, 0x68,
+ 0x08, 0xCA, 0x8F, 0x14, 0xD7, 0xC0, 0xEF, 0x7B,
+ 0x5B, 0xBF, 0x2F, 0xE5, 0xE2, 0x8C, 0xBA, 0x12,
+ 0xE1, 0xAF, 0xB2, 0x54, 0x5D, 0x59, 0x76, 0xDB,
+ 0x32, 0xA2, 0x58, 0x6E, 0x1C, 0x29, 0x64, 0xF3,
+ 0xE9, 0x96, 0x0C, 0x98, 0x19, 0x8D, 0x3E, 0x26,
+ 0xAB, 0xA5, 0x85, 0x16, 0x40, 0xBD, 0x49, 0x67,
+ 0xDC, 0x22, 0x94, 0xBB, 0x3C, 0xC1, 0x9B, 0xEB,
+ 0x45, 0x28, 0x18, 0xD8, 0x1A, 0x42, 0x7D, 0xCC,
+ 0xFB, 0x65, 0x8E, 0x3D, 0xCD, 0x2A, 0xA3, 0x60,
+ 0xAE, 0x93, 0x8A, 0x48, 0x97, 0x51, 0x15, 0xF7,
+ 0x01, 0x0B, 0xB7, 0x36, 0xB1, 0x2E, 0x11, 0xFD,
+ 0x84, 0x2D, 0x3F, 0x13, 0x88, 0xB3, 0x34, 0x24,
+ 0x1B, 0xDE, 0xC5, 0x1D, 0x4D, 0x2B, 0x17, 0x31,
+ 0x74, 0xA9, 0xC6, 0x43, 0x6D, 0x39, 0x90, 0xBE,
+ 0xC3, 0xB0, 0x21, 0x6B, 0xF6, 0x0F, 0xD5, 0x99,
+ 0x0D, 0xAC, 0x1F, 0x5C, 0x9E, 0xF5, 0xF9, 0x4C,
+ 0xD6, 0xDF, 0x89, 0xE4, 0x8B, 0xFF, 0xC7, 0xAA,
+ 0xE7, 0xED, 0x46, 0x25, 0xB6, 0x06, 0x5E, 0x35,
+ 0xB5, 0xEC, 0xCE, 0xE8, 0x6C, 0x30, 0x55, 0x61,
+ 0x4A, 0xFE, 0xA0, 0x79, 0x03, 0xF0, 0x10, 0x72,
+ 0x7C, 0xCF, 0x52, 0xA6, 0xA7, 0xEE, 0x44, 0xD3,
+ 0x9A, 0x57, 0x92, 0xD0, 0x5A, 0x7A, 0x41, 0x7F,
+ 0x0E, 0x00, 0x63, 0xF2, 0x4F, 0x05, 0x83, 0xC9,
+ 0xA1, 0xD4, 0xDD, 0xC4, 0x56, 0xF4, 0xD2, 0x77,
+ 0x81, 0x09, 0x82, 0x33, 0x9F, 0x07, 0x86, 0x75,
+ 0x38, 0x4E, 0x69, 0xF1, 0xAD, 0x23, 0x73, 0x87,
+ 0x70, 0x02, 0xC2, 0x1E, 0xB8, 0x0A, 0xFC, 0xE6
+ );
+
+ /**
+ * Test for engine validity
+ *
+ * This is mainly just a wrapper to set things up for \phpseclib\Crypt\Base::isValidEngine()
+ *
+ * @see \phpseclib\Crypt\Base::__construct()
+ * @param int $engine
+ * @access public
+ * @return bool
+ */
+ function isValidEngine($engine)
+ {
+ switch ($engine) {
+ case self::ENGINE_OPENSSL:
+ if ($this->current_key_length != 128 || strlen($this->orig_key) < 16) {
+ return false;
+ }
+ $this->cipher_name_openssl_ecb = 'rc2-ecb';
+ $this->cipher_name_openssl = 'rc2-' . $this->_openssl_translate_mode();
+ }
+
+ return parent::isValidEngine($engine);
+ }
+
+ /**
+ * Sets the key length.
+ *
+ * Valid key lengths are 8 to 1024.
+ * Calling this function after setting the key has no effect until the next
+ * \phpseclib\Crypt\RC2::setKey() call.
+ *
+ * @access public
+ * @param int $length in bits
+ */
+ function setKeyLength($length)
+ {
+ if ($length < 8) {
+ $this->default_key_length = 8;
+ } elseif ($length > 1024) {
+ $this->default_key_length = 128;
+ } else {
+ $this->default_key_length = $length;
+ }
+ $this->current_key_length = $this->default_key_length;
+
+ parent::setKeyLength($length);
+ }
+
+ /**
+ * Returns the current key length
+ *
+ * @access public
+ * @return int
+ */
+ function getKeyLength()
+ {
+ return $this->current_key_length;
+ }
+
+ /**
+ * Sets the key.
+ *
+ * Keys can be of any length. RC2, itself, uses 8 to 1024 bit keys (eg.
+ * strlen($key) <= 128), however, we only use the first 128 bytes if $key
+ * has more then 128 bytes in it, and set $key to a single null byte if
+ * it is empty.
+ *
+ * If the key is not explicitly set, it'll be assumed to be a single
+ * null byte.
+ *
+ * @see \phpseclib\Crypt\Base::setKey()
+ * @access public
+ * @param string $key
+ * @param int $t1 optional Effective key length in bits.
+ */
+ function setKey($key, $t1 = 0)
+ {
+ $this->orig_key = $key;
+
+ if ($t1 <= 0) {
+ $t1 = $this->default_key_length;
+ } elseif ($t1 > 1024) {
+ $t1 = 1024;
+ }
+ $this->current_key_length = $t1;
+ // Key byte count should be 1..128.
+ $key = strlen($key) ? substr($key, 0, 128) : "\x00";
+ $t = strlen($key);
+
+ // The mcrypt RC2 implementation only supports effective key length
+ // of 1024 bits. It is however possible to handle effective key
+ // lengths in range 1..1024 by expanding the key and applying
+ // inverse pitable mapping to the first byte before submitting it
+ // to mcrypt.
+
+ // Key expansion.
+ $l = array_values(unpack('C*', $key));
+ $t8 = ($t1 + 7) >> 3;
+ $tm = 0xFF >> (8 * $t8 - $t1);
+
+ // Expand key.
+ $pitable = $this->pitable;
+ for ($i = $t; $i < 128; $i++) {
+ $l[$i] = $pitable[$l[$i - 1] + $l[$i - $t]];
+ }
+ $i = 128 - $t8;
+ $l[$i] = $pitable[$l[$i] & $tm];
+ while ($i--) {
+ $l[$i] = $pitable[$l[$i + 1] ^ $l[$i + $t8]];
+ }
+
+ // Prepare the key for mcrypt.
+ $l[0] = $this->invpitable[$l[0]];
+ array_unshift($l, 'C*');
+
+ parent::setKey(call_user_func_array('pack', $l));
+ }
+
+ /**
+ * Encrypts a message.
+ *
+ * Mostly a wrapper for \phpseclib\Crypt\Base::encrypt, with some additional OpenSSL handling code
+ *
+ * @see self::decrypt()
+ * @access public
+ * @param string $plaintext
+ * @return string $ciphertext
+ */
+ function encrypt($plaintext)
+ {
+ if ($this->engine == self::ENGINE_OPENSSL) {
+ $temp = $this->key;
+ $this->key = $this->orig_key;
+ $result = parent::encrypt($plaintext);
+ $this->key = $temp;
+ return $result;
+ }
+
+ return parent::encrypt($plaintext);
+ }
+
+ /**
+ * Decrypts a message.
+ *
+ * Mostly a wrapper for \phpseclib\Crypt\Base::decrypt, with some additional OpenSSL handling code
+ *
+ * @see self::encrypt()
+ * @access public
+ * @param string $ciphertext
+ * @return string $plaintext
+ */
+ function decrypt($ciphertext)
+ {
+ if ($this->engine == self::ENGINE_OPENSSL) {
+ $temp = $this->key;
+ $this->key = $this->orig_key;
+ $result = parent::decrypt($ciphertext);
+ $this->key = $temp;
+ return $result;
+ }
+
+ return parent::decrypt($ciphertext);
+ }
+
+ /**
+ * Encrypts a block
+ *
+ * @see \phpseclib\Crypt\Base::_encryptBlock()
+ * @see \phpseclib\Crypt\Base::encrypt()
+ * @access private
+ * @param string $in
+ * @return string
+ */
+ function _encryptBlock($in)
+ {
+ list($r0, $r1, $r2, $r3) = array_values(unpack('v*', $in));
+ $keys = $this->keys;
+ $limit = 20;
+ $actions = array($limit => 44, 44 => 64);
+ $j = 0;
+
+ for (;;) {
+ // Mixing round.
+ $r0 = (($r0 + $keys[$j++] + ((($r1 ^ $r2) & $r3) ^ $r1)) & 0xFFFF) << 1;
+ $r0 |= $r0 >> 16;
+ $r1 = (($r1 + $keys[$j++] + ((($r2 ^ $r3) & $r0) ^ $r2)) & 0xFFFF) << 2;
+ $r1 |= $r1 >> 16;
+ $r2 = (($r2 + $keys[$j++] + ((($r3 ^ $r0) & $r1) ^ $r3)) & 0xFFFF) << 3;
+ $r2 |= $r2 >> 16;
+ $r3 = (($r3 + $keys[$j++] + ((($r0 ^ $r1) & $r2) ^ $r0)) & 0xFFFF) << 5;
+ $r3 |= $r3 >> 16;
+
+ if ($j === $limit) {
+ if ($limit === 64) {
+ break;
+ }
+
+ // Mashing round.
+ $r0 += $keys[$r3 & 0x3F];
+ $r1 += $keys[$r0 & 0x3F];
+ $r2 += $keys[$r1 & 0x3F];
+ $r3 += $keys[$r2 & 0x3F];
+ $limit = $actions[$limit];
+ }
+ }
+
+ return pack('vvvv', $r0, $r1, $r2, $r3);
+ }
+
+ /**
+ * Decrypts a block
+ *
+ * @see \phpseclib\Crypt\Base::_decryptBlock()
+ * @see \phpseclib\Crypt\Base::decrypt()
+ * @access private
+ * @param string $in
+ * @return string
+ */
+ function _decryptBlock($in)
+ {
+ list($r0, $r1, $r2, $r3) = array_values(unpack('v*', $in));
+ $keys = $this->keys;
+ $limit = 44;
+ $actions = array($limit => 20, 20 => 0);
+ $j = 64;
+
+ for (;;) {
+ // R-mixing round.
+ $r3 = ($r3 | ($r3 << 16)) >> 5;
+ $r3 = ($r3 - $keys[--$j] - ((($r0 ^ $r1) & $r2) ^ $r0)) & 0xFFFF;
+ $r2 = ($r2 | ($r2 << 16)) >> 3;
+ $r2 = ($r2 - $keys[--$j] - ((($r3 ^ $r0) & $r1) ^ $r3)) & 0xFFFF;
+ $r1 = ($r1 | ($r1 << 16)) >> 2;
+ $r1 = ($r1 - $keys[--$j] - ((($r2 ^ $r3) & $r0) ^ $r2)) & 0xFFFF;
+ $r0 = ($r0 | ($r0 << 16)) >> 1;
+ $r0 = ($r0 - $keys[--$j] - ((($r1 ^ $r2) & $r3) ^ $r1)) & 0xFFFF;
+
+ if ($j === $limit) {
+ if ($limit === 0) {
+ break;
+ }
+
+ // R-mashing round.
+ $r3 = ($r3 - $keys[$r2 & 0x3F]) & 0xFFFF;
+ $r2 = ($r2 - $keys[$r1 & 0x3F]) & 0xFFFF;
+ $r1 = ($r1 - $keys[$r0 & 0x3F]) & 0xFFFF;
+ $r0 = ($r0 - $keys[$r3 & 0x3F]) & 0xFFFF;
+ $limit = $actions[$limit];
+ }
+ }
+
+ return pack('vvvv', $r0, $r1, $r2, $r3);
+ }
+
+ /**
+ * Setup the \phpseclib\Crypt\Base::ENGINE_MCRYPT $engine
+ *
+ * @see \phpseclib\Crypt\Base::_setupMcrypt()
+ * @access private
+ */
+ function _setupMcrypt()
+ {
+ if (!isset($this->key)) {
+ $this->setKey('');
+ }
+
+ parent::_setupMcrypt();
+ }
+
+ /**
+ * Creates the key schedule
+ *
+ * @see \phpseclib\Crypt\Base::_setupKey()
+ * @access private
+ */
+ function _setupKey()
+ {
+ if (!isset($this->key)) {
+ $this->setKey('');
+ }
+
+ // Key has already been expanded in \phpseclib\Crypt\RC2::setKey():
+ // Only the first value must be altered.
+ $l = unpack('Ca/Cb/v*', $this->key);
+ array_unshift($l, $this->pitable[$l['a']] | ($l['b'] << 8));
+ unset($l['a']);
+ unset($l['b']);
+ $this->keys = $l;
+ }
+
+ /**
+ * Setup the performance-optimized function for de/encrypt()
+ *
+ * @see \phpseclib\Crypt\Base::_setupInlineCrypt()
+ * @access private
+ */
+ function _setupInlineCrypt()
+ {
+ $lambda_functions =& self::_getLambdaFunctions();
+
+ // The first 10 generated $lambda_functions will use the $keys hardcoded as integers
+ // for the mixing rounds, for better inline crypt performance [~20% faster].
+ // But for memory reason we have to limit those ultra-optimized $lambda_functions to an amount of 10.
+ // (Currently, for Crypt_RC2, one generated $lambda_function cost on php5.5@32bit ~60kb unfreeable mem and ~100kb on php5.5@64bit)
+ $gen_hi_opt_code = (bool)(count($lambda_functions) < 10);
+
+ // Generation of a unique hash for our generated code
+ $code_hash = "Crypt_RC2, {$this->mode}";
+ if ($gen_hi_opt_code) {
+ $code_hash = str_pad($code_hash, 32) . $this->_hashInlineCryptFunction($this->key);
+ }
+
+ // Is there a re-usable $lambda_functions in there?
+ // If not, we have to create it.
+ if (!isset($lambda_functions[$code_hash])) {
+ // Init code for both, encrypt and decrypt.
+ $init_crypt = '$keys = $self->keys;';
+
+ switch (true) {
+ case $gen_hi_opt_code:
+ $keys = $this->keys;
+ default:
+ $keys = array();
+ foreach ($this->keys as $k => $v) {
+ $keys[$k] = '$keys[' . $k . ']';
+ }
+ }
+
+ // $in is the current 8 bytes block which has to be en/decrypt
+ $encrypt_block = $decrypt_block = '
+ $in = unpack("v4", $in);
+ $r0 = $in[1];
+ $r1 = $in[2];
+ $r2 = $in[3];
+ $r3 = $in[4];
+ ';
+
+ // Create code for encryption.
+ $limit = 20;
+ $actions = array($limit => 44, 44 => 64);
+ $j = 0;
+
+ for (;;) {
+ // Mixing round.
+ $encrypt_block .= '
+ $r0 = (($r0 + ' . $keys[$j++] . ' +
+ ((($r1 ^ $r2) & $r3) ^ $r1)) & 0xFFFF) << 1;
+ $r0 |= $r0 >> 16;
+ $r1 = (($r1 + ' . $keys[$j++] . ' +
+ ((($r2 ^ $r3) & $r0) ^ $r2)) & 0xFFFF) << 2;
+ $r1 |= $r1 >> 16;
+ $r2 = (($r2 + ' . $keys[$j++] . ' +
+ ((($r3 ^ $r0) & $r1) ^ $r3)) & 0xFFFF) << 3;
+ $r2 |= $r2 >> 16;
+ $r3 = (($r3 + ' . $keys[$j++] . ' +
+ ((($r0 ^ $r1) & $r2) ^ $r0)) & 0xFFFF) << 5;
+ $r3 |= $r3 >> 16;';
+
+ if ($j === $limit) {
+ if ($limit === 64) {
+ break;
+ }
+
+ // Mashing round.
+ $encrypt_block .= '
+ $r0 += $keys[$r3 & 0x3F];
+ $r1 += $keys[$r0 & 0x3F];
+ $r2 += $keys[$r1 & 0x3F];
+ $r3 += $keys[$r2 & 0x3F];';
+ $limit = $actions[$limit];
+ }
+ }
+
+ $encrypt_block .= '$in = pack("v4", $r0, $r1, $r2, $r3);';
+
+ // Create code for decryption.
+ $limit = 44;
+ $actions = array($limit => 20, 20 => 0);
+ $j = 64;
+
+ for (;;) {
+ // R-mixing round.
+ $decrypt_block .= '
+ $r3 = ($r3 | ($r3 << 16)) >> 5;
+ $r3 = ($r3 - ' . $keys[--$j] . ' -
+ ((($r0 ^ $r1) & $r2) ^ $r0)) & 0xFFFF;
+ $r2 = ($r2 | ($r2 << 16)) >> 3;
+ $r2 = ($r2 - ' . $keys[--$j] . ' -
+ ((($r3 ^ $r0) & $r1) ^ $r3)) & 0xFFFF;
+ $r1 = ($r1 | ($r1 << 16)) >> 2;
+ $r1 = ($r1 - ' . $keys[--$j] . ' -
+ ((($r2 ^ $r3) & $r0) ^ $r2)) & 0xFFFF;
+ $r0 = ($r0 | ($r0 << 16)) >> 1;
+ $r0 = ($r0 - ' . $keys[--$j] . ' -
+ ((($r1 ^ $r2) & $r3) ^ $r1)) & 0xFFFF;';
+
+ if ($j === $limit) {
+ if ($limit === 0) {
+ break;
+ }
+
+ // R-mashing round.
+ $decrypt_block .= '
+ $r3 = ($r3 - $keys[$r2 & 0x3F]) & 0xFFFF;
+ $r2 = ($r2 - $keys[$r1 & 0x3F]) & 0xFFFF;
+ $r1 = ($r1 - $keys[$r0 & 0x3F]) & 0xFFFF;
+ $r0 = ($r0 - $keys[$r3 & 0x3F]) & 0xFFFF;';
+ $limit = $actions[$limit];
+ }
+ }
+
+ $decrypt_block .= '$in = pack("v4", $r0, $r1, $r2, $r3);';
+
+ // Creates the inline-crypt function
+ $lambda_functions[$code_hash] = $this->_createInlineCryptFunction(
+ array(
+ 'init_crypt' => $init_crypt,
+ 'encrypt_block' => $encrypt_block,
+ 'decrypt_block' => $decrypt_block
+ )
+ );
+ }
+
+ // Set the inline-crypt function as callback in: $this->inline_crypt
+ $this->inline_crypt = $lambda_functions[$code_hash];
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RC4.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RC4.php
new file mode 100644
index 00000000..4812010c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RC4.php
@@ -0,0 +1,342 @@
+<?php
+
+/**
+ * Pure-PHP implementation of RC4.
+ *
+ * Uses mcrypt, if available, and an internal implementation, otherwise.
+ *
+ * PHP version 5
+ *
+ * Useful resources are as follows:
+ *
+ * - {@link http://www.mozilla.org/projects/security/pki/nss/draft-kaukonen-cipher-arcfour-03.txt ARCFOUR Algorithm}
+ * - {@link http://en.wikipedia.org/wiki/RC4 - Wikipedia: RC4}
+ *
+ * RC4 is also known as ARCFOUR or ARC4. The reason is elaborated upon at Wikipedia. This class is named RC4 and not
+ * ARCFOUR or ARC4 because RC4 is how it is referred to in the SSH1 specification.
+ *
+ * Here's a short example of how to use this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $rc4 = new \phpseclib\Crypt\RC4();
+ *
+ * $rc4->setKey('abcdefgh');
+ *
+ * $size = 10 * 1024;
+ * $plaintext = '';
+ * for ($i = 0; $i < $size; $i++) {
+ * $plaintext.= 'a';
+ * }
+ *
+ * echo $rc4->decrypt($rc4->encrypt($plaintext));
+ * ?>
+ * </code>
+ *
+ * @category Crypt
+ * @package RC4
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2007 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Crypt;
+
+/**
+ * Pure-PHP implementation of RC4.
+ *
+ * @package RC4
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class RC4 extends Base
+{
+ /**#@+
+ * @access private
+ * @see \phpseclib\Crypt\RC4::_crypt()
+ */
+ const ENCRYPT = 0;
+ const DECRYPT = 1;
+ /**#@-*/
+
+ /**
+ * Block Length of the cipher
+ *
+ * RC4 is a stream cipher
+ * so we the block_size to 0
+ *
+ * @see \phpseclib\Crypt\Base::block_size
+ * @var int
+ * @access private
+ */
+ var $block_size = 0;
+
+ /**
+ * Key Length (in bytes)
+ *
+ * @see \phpseclib\Crypt\RC4::setKeyLength()
+ * @var int
+ * @access private
+ */
+ var $key_length = 128; // = 1024 bits
+
+ /**
+ * The mcrypt specific name of the cipher
+ *
+ * @see \phpseclib\Crypt\Base::cipher_name_mcrypt
+ * @var string
+ * @access private
+ */
+ var $cipher_name_mcrypt = 'arcfour';
+
+ /**
+ * Holds whether performance-optimized $inline_crypt() can/should be used.
+ *
+ * @see \phpseclib\Crypt\Base::inline_crypt
+ * @var mixed
+ * @access private
+ */
+ var $use_inline_crypt = false; // currently not available
+
+ /**
+ * The Key
+ *
+ * @see self::setKey()
+ * @var string
+ * @access private
+ */
+ var $key = "\0";
+
+ /**
+ * The Key Stream for decryption and encryption
+ *
+ * @see self::setKey()
+ * @var array
+ * @access private
+ */
+ var $stream;
+
+ /**
+ * Default Constructor.
+ *
+ * Determines whether or not the mcrypt extension should be used.
+ *
+ * @see \phpseclib\Crypt\Base::__construct()
+ * @return \phpseclib\Crypt\RC4
+ * @access public
+ */
+ function __construct()
+ {
+ parent::__construct(Base::MODE_STREAM);
+ }
+
+ /**
+ * Test for engine validity
+ *
+ * This is mainly just a wrapper to set things up for \phpseclib\Crypt\Base::isValidEngine()
+ *
+ * @see \phpseclib\Crypt\Base::__construct()
+ * @param int $engine
+ * @access public
+ * @return bool
+ */
+ function isValidEngine($engine)
+ {
+ if ($engine == Base::ENGINE_OPENSSL) {
+ if (version_compare(PHP_VERSION, '5.3.7') >= 0) {
+ $this->cipher_name_openssl = 'rc4-40';
+ } else {
+ switch (strlen($this->key)) {
+ case 5:
+ $this->cipher_name_openssl = 'rc4-40';
+ break;
+ case 8:
+ $this->cipher_name_openssl = 'rc4-64';
+ break;
+ case 16:
+ $this->cipher_name_openssl = 'rc4';
+ break;
+ default:
+ return false;
+ }
+ }
+ }
+
+ return parent::isValidEngine($engine);
+ }
+
+ /**
+ * Dummy function.
+ *
+ * Some protocols, such as WEP, prepend an "initialization vector" to the key, effectively creating a new key [1].
+ * If you need to use an initialization vector in this manner, feel free to prepend it to the key, yourself, before
+ * calling setKey().
+ *
+ * [1] WEP's initialization vectors (IV's) are used in a somewhat insecure way. Since, in that protocol,
+ * the IV's are relatively easy to predict, an attack described by
+ * {@link http://www.drizzle.com/~aboba/IEEE/rc4_ksaproc.pdf Scott Fluhrer, Itsik Mantin, and Adi Shamir}
+ * can be used to quickly guess at the rest of the key. The following links elaborate:
+ *
+ * {@link http://www.rsa.com/rsalabs/node.asp?id=2009 http://www.rsa.com/rsalabs/node.asp?id=2009}
+ * {@link http://en.wikipedia.org/wiki/Related_key_attack http://en.wikipedia.org/wiki/Related_key_attack}
+ *
+ * @param string $iv
+ * @see self::setKey()
+ * @access public
+ */
+ function setIV($iv)
+ {
+ }
+
+ /**
+ * Sets the key length
+ *
+ * Keys can be between 1 and 256 bytes long.
+ *
+ * @access public
+ * @param int $length
+ */
+ function setKeyLength($length)
+ {
+ if ($length < 8) {
+ $this->key_length = 1;
+ } elseif ($length > 2048) {
+ $this->key_length = 256;
+ } else {
+ $this->key_length = $length >> 3;
+ }
+
+ parent::setKeyLength($length);
+ }
+
+ /**
+ * Encrypts a message.
+ *
+ * @see \phpseclib\Crypt\Base::decrypt()
+ * @see self::_crypt()
+ * @access public
+ * @param string $plaintext
+ * @return string $ciphertext
+ */
+ function encrypt($plaintext)
+ {
+ if ($this->engine != Base::ENGINE_INTERNAL) {
+ return parent::encrypt($plaintext);
+ }
+ return $this->_crypt($plaintext, self::ENCRYPT);
+ }
+
+ /**
+ * Decrypts a message.
+ *
+ * $this->decrypt($this->encrypt($plaintext)) == $this->encrypt($this->encrypt($plaintext)).
+ * At least if the continuous buffer is disabled.
+ *
+ * @see \phpseclib\Crypt\Base::encrypt()
+ * @see self::_crypt()
+ * @access public
+ * @param string $ciphertext
+ * @return string $plaintext
+ */
+ function decrypt($ciphertext)
+ {
+ if ($this->engine != Base::ENGINE_INTERNAL) {
+ return parent::decrypt($ciphertext);
+ }
+ return $this->_crypt($ciphertext, self::DECRYPT);
+ }
+
+ /**
+ * Encrypts a block
+ *
+ * @access private
+ * @param string $in
+ */
+ function _encryptBlock($in)
+ {
+ // RC4 does not utilize this method
+ }
+
+ /**
+ * Decrypts a block
+ *
+ * @access private
+ * @param string $in
+ */
+ function _decryptBlock($in)
+ {
+ // RC4 does not utilize this method
+ }
+
+ /**
+ * Setup the key (expansion)
+ *
+ * @see \phpseclib\Crypt\Base::_setupKey()
+ * @access private
+ */
+ function _setupKey()
+ {
+ $key = $this->key;
+ $keyLength = strlen($key);
+ $keyStream = range(0, 255);
+ $j = 0;
+ for ($i = 0; $i < 256; $i++) {
+ $j = ($j + $keyStream[$i] + ord($key[$i % $keyLength])) & 255;
+ $temp = $keyStream[$i];
+ $keyStream[$i] = $keyStream[$j];
+ $keyStream[$j] = $temp;
+ }
+
+ $this->stream = array();
+ $this->stream[self::DECRYPT] = $this->stream[self::ENCRYPT] = array(
+ 0, // index $i
+ 0, // index $j
+ $keyStream
+ );
+ }
+
+ /**
+ * Encrypts or decrypts a message.
+ *
+ * @see self::encrypt()
+ * @see self::decrypt()
+ * @access private
+ * @param string $text
+ * @param int $mode
+ * @return string $text
+ */
+ function _crypt($text, $mode)
+ {
+ if ($this->changed) {
+ $this->_setup();
+ $this->changed = false;
+ }
+
+ $stream = &$this->stream[$mode];
+ if ($this->continuousBuffer) {
+ $i = &$stream[0];
+ $j = &$stream[1];
+ $keyStream = &$stream[2];
+ } else {
+ $i = $stream[0];
+ $j = $stream[1];
+ $keyStream = $stream[2];
+ }
+
+ $len = strlen($text);
+ for ($k = 0; $k < $len; ++$k) {
+ $i = ($i + 1) & 255;
+ $ksi = $keyStream[$i];
+ $j = ($j + $ksi) & 255;
+ $ksj = $keyStream[$j];
+
+ $keyStream[$i] = $ksj;
+ $keyStream[$j] = $ksi;
+ $text[$k] = $text[$k] ^ chr($keyStream[($ksj + $ksi) & 255]);
+ }
+
+ return $text;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RSA.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RSA.php
new file mode 100644
index 00000000..9670c01a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RSA.php
@@ -0,0 +1,3053 @@
+<?php
+
+/**
+ * Pure-PHP PKCS#1 (v2.1) compliant implementation of RSA.
+ *
+ * PHP version 5
+ *
+ * Here's an example of how to encrypt and decrypt text with this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $rsa = new \phpseclib\Crypt\RSA();
+ * extract($rsa->createKey());
+ *
+ * $plaintext = 'terrafrost';
+ *
+ * $rsa->loadKey($privatekey);
+ * $ciphertext = $rsa->encrypt($plaintext);
+ *
+ * $rsa->loadKey($publickey);
+ * echo $rsa->decrypt($ciphertext);
+ * ?>
+ * </code>
+ *
+ * Here's an example of how to create signatures and verify signatures with this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $rsa = new \phpseclib\Crypt\RSA();
+ * extract($rsa->createKey());
+ *
+ * $plaintext = 'terrafrost';
+ *
+ * $rsa->loadKey($privatekey);
+ * $signature = $rsa->sign($plaintext);
+ *
+ * $rsa->loadKey($publickey);
+ * echo $rsa->verify($plaintext, $signature) ? 'verified' : 'unverified';
+ * ?>
+ * </code>
+ *
+ * @category Crypt
+ * @package RSA
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2009 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Crypt;
+
+use phpseclib\Math\BigInteger;
+
+/**
+ * Pure-PHP PKCS#1 compliant implementation of RSA.
+ *
+ * @package RSA
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class RSA
+{
+ /**#@+
+ * @access public
+ * @see self::encrypt()
+ * @see self::decrypt()
+ */
+ /**
+ * Use {@link http://en.wikipedia.org/wiki/Optimal_Asymmetric_Encryption_Padding Optimal Asymmetric Encryption Padding}
+ * (OAEP) for encryption / decryption.
+ *
+ * Uses sha1 by default.
+ *
+ * @see self::setHash()
+ * @see self::setMGFHash()
+ */
+ const ENCRYPTION_OAEP = 1;
+ /**
+ * Use PKCS#1 padding.
+ *
+ * Although self::ENCRYPTION_OAEP offers more security, including PKCS#1 padding is necessary for purposes of backwards
+ * compatibility with protocols (like SSH-1) written before OAEP's introduction.
+ */
+ const ENCRYPTION_PKCS1 = 2;
+ /**
+ * Do not use any padding
+ *
+ * Although this method is not recommended it can none-the-less sometimes be useful if you're trying to decrypt some legacy
+ * stuff, if you're trying to diagnose why an encrypted message isn't decrypting, etc.
+ */
+ const ENCRYPTION_NONE = 3;
+ /**#@-*/
+
+ /**#@+
+ * @access public
+ * @see self::sign()
+ * @see self::verify()
+ * @see self::setHash()
+ */
+ /**
+ * Use the Probabilistic Signature Scheme for signing
+ *
+ * Uses sha1 by default.
+ *
+ * @see self::setSaltLength()
+ * @see self::setMGFHash()
+ */
+ const SIGNATURE_PSS = 1;
+ /**
+ * Use the PKCS#1 scheme by default.
+ *
+ * Although self::SIGNATURE_PSS offers more security, including PKCS#1 signing is necessary for purposes of backwards
+ * compatibility with protocols (like SSH-2) written before PSS's introduction.
+ */
+ const SIGNATURE_PKCS1 = 2;
+ /**#@-*/
+
+ /**#@+
+ * @access private
+ * @see \phpseclib\Crypt\RSA::createKey()
+ */
+ /**
+ * ASN1 Integer
+ */
+ const ASN1_INTEGER = 2;
+ /**
+ * ASN1 Bit String
+ */
+ const ASN1_BITSTRING = 3;
+ /**
+ * ASN1 Octet String
+ */
+ const ASN1_OCTETSTRING = 4;
+ /**
+ * ASN1 Object Identifier
+ */
+ const ASN1_OBJECT = 6;
+ /**
+ * ASN1 Sequence (with the constucted bit set)
+ */
+ const ASN1_SEQUENCE = 48;
+ /**#@-*/
+
+ /**#@+
+ * @access private
+ * @see \phpseclib\Crypt\RSA::__construct()
+ */
+ /**
+ * To use the pure-PHP implementation
+ */
+ const MODE_INTERNAL = 1;
+ /**
+ * To use the OpenSSL library
+ *
+ * (if enabled; otherwise, the internal implementation will be used)
+ */
+ const MODE_OPENSSL = 2;
+ /**#@-*/
+
+ /**#@+
+ * @access public
+ * @see \phpseclib\Crypt\RSA::createKey()
+ * @see \phpseclib\Crypt\RSA::setPrivateKeyFormat()
+ */
+ /**
+ * PKCS#1 formatted private key
+ *
+ * Used by OpenSSH
+ */
+ const PRIVATE_FORMAT_PKCS1 = 0;
+ /**
+ * PuTTY formatted private key
+ */
+ const PRIVATE_FORMAT_PUTTY = 1;
+ /**
+ * XML formatted private key
+ */
+ const PRIVATE_FORMAT_XML = 2;
+ /**
+ * PKCS#8 formatted private key
+ */
+ const PRIVATE_FORMAT_PKCS8 = 8;
+ /**#@-*/
+
+ /**#@+
+ * @access public
+ * @see \phpseclib\Crypt\RSA::createKey()
+ * @see \phpseclib\Crypt\RSA::setPublicKeyFormat()
+ */
+ /**
+ * Raw public key
+ *
+ * An array containing two \phpseclib\Math\BigInteger objects.
+ *
+ * The exponent can be indexed with any of the following:
+ *
+ * 0, e, exponent, publicExponent
+ *
+ * The modulus can be indexed with any of the following:
+ *
+ * 1, n, modulo, modulus
+ */
+ const PUBLIC_FORMAT_RAW = 3;
+ /**
+ * PKCS#1 formatted public key (raw)
+ *
+ * Used by File/X509.php
+ *
+ * Has the following header:
+ *
+ * -----BEGIN RSA PUBLIC KEY-----
+ *
+ * Analogous to ssh-keygen's pem format (as specified by -m)
+ */
+ const PUBLIC_FORMAT_PKCS1 = 4;
+ const PUBLIC_FORMAT_PKCS1_RAW = 4;
+ /**
+ * XML formatted public key
+ */
+ const PUBLIC_FORMAT_XML = 5;
+ /**
+ * OpenSSH formatted public key
+ *
+ * Place in $HOME/.ssh/authorized_keys
+ */
+ const PUBLIC_FORMAT_OPENSSH = 6;
+ /**
+ * PKCS#1 formatted public key (encapsulated)
+ *
+ * Used by PHP's openssl_public_encrypt() and openssl's rsautl (when -pubin is set)
+ *
+ * Has the following header:
+ *
+ * -----BEGIN PUBLIC KEY-----
+ *
+ * Analogous to ssh-keygen's pkcs8 format (as specified by -m). Although PKCS8
+ * is specific to private keys it's basically creating a DER-encoded wrapper
+ * for keys. This just extends that same concept to public keys (much like ssh-keygen)
+ */
+ const PUBLIC_FORMAT_PKCS8 = 7;
+ /**#@-*/
+
+ /**
+ * Precomputed Zero
+ *
+ * @var \phpseclib\Math\BigInteger
+ * @access private
+ */
+ var $zero;
+
+ /**
+ * Precomputed One
+ *
+ * @var \phpseclib\Math\BigInteger
+ * @access private
+ */
+ var $one;
+
+ /**
+ * Private Key Format
+ *
+ * @var int
+ * @access private
+ */
+ var $privateKeyFormat = self::PRIVATE_FORMAT_PKCS1;
+
+ /**
+ * Public Key Format
+ *
+ * @var int
+ * @access public
+ */
+ var $publicKeyFormat = self::PUBLIC_FORMAT_PKCS8;
+
+ /**
+ * Modulus (ie. n)
+ *
+ * @var \phpseclib\Math\BigInteger
+ * @access private
+ */
+ var $modulus;
+
+ /**
+ * Modulus length
+ *
+ * @var \phpseclib\Math\BigInteger
+ * @access private
+ */
+ var $k;
+
+ /**
+ * Exponent (ie. e or d)
+ *
+ * @var \phpseclib\Math\BigInteger
+ * @access private
+ */
+ var $exponent;
+
+ /**
+ * Primes for Chinese Remainder Theorem (ie. p and q)
+ *
+ * @var array
+ * @access private
+ */
+ var $primes;
+
+ /**
+ * Exponents for Chinese Remainder Theorem (ie. dP and dQ)
+ *
+ * @var array
+ * @access private
+ */
+ var $exponents;
+
+ /**
+ * Coefficients for Chinese Remainder Theorem (ie. qInv)
+ *
+ * @var array
+ * @access private
+ */
+ var $coefficients;
+
+ /**
+ * Hash name
+ *
+ * @var string
+ * @access private
+ */
+ var $hashName;
+
+ /**
+ * Hash function
+ *
+ * @var \phpseclib\Crypt\Hash
+ * @access private
+ */
+ var $hash;
+
+ /**
+ * Length of hash function output
+ *
+ * @var int
+ * @access private
+ */
+ var $hLen;
+
+ /**
+ * Length of salt
+ *
+ * @var int
+ * @access private
+ */
+ var $sLen;
+
+ /**
+ * Hash function for the Mask Generation Function
+ *
+ * @var \phpseclib\Crypt\Hash
+ * @access private
+ */
+ var $mgfHash;
+
+ /**
+ * Length of MGF hash function output
+ *
+ * @var int
+ * @access private
+ */
+ var $mgfHLen;
+
+ /**
+ * Encryption mode
+ *
+ * @var int
+ * @access private
+ */
+ var $encryptionMode = self::ENCRYPTION_OAEP;
+
+ /**
+ * Signature mode
+ *
+ * @var int
+ * @access private
+ */
+ var $signatureMode = self::SIGNATURE_PSS;
+
+ /**
+ * Public Exponent
+ *
+ * @var mixed
+ * @access private
+ */
+ var $publicExponent = false;
+
+ /**
+ * Password
+ *
+ * @var string
+ * @access private
+ */
+ var $password = false;
+
+ /**
+ * Components
+ *
+ * For use with parsing XML formatted keys. PHP's XML Parser functions use utilized - instead of PHP's DOM functions -
+ * because PHP's XML Parser functions work on PHP4 whereas PHP's DOM functions - although surperior - don't.
+ *
+ * @see self::_start_element_handler()
+ * @var array
+ * @access private
+ */
+ var $components = array();
+
+ /**
+ * Current String
+ *
+ * For use with parsing XML formatted keys.
+ *
+ * @see self::_character_handler()
+ * @see self::_stop_element_handler()
+ * @var mixed
+ * @access private
+ */
+ var $current;
+
+ /**
+ * OpenSSL configuration file name.
+ *
+ * Set to null to use system configuration file.
+ * @see self::createKey()
+ * @var mixed
+ * @Access public
+ */
+ var $configFile;
+
+ /**
+ * Public key comment field.
+ *
+ * @var string
+ * @access private
+ */
+ var $comment = 'phpseclib-generated-key';
+
+ /**
+ * The constructor
+ *
+ * If you want to make use of the openssl extension, you'll need to set the mode manually, yourself. The reason
+ * \phpseclib\Crypt\RSA doesn't do it is because OpenSSL doesn't fail gracefully. openssl_pkey_new(), in particular, requires
+ * openssl.cnf be present somewhere and, unfortunately, the only real way to find out is too late.
+ *
+ * @return \phpseclib\Crypt\RSA
+ * @access public
+ */
+ function __construct()
+ {
+ $this->configFile = dirname(__FILE__) . '/../openssl.cnf';
+
+ if (!defined('CRYPT_RSA_MODE')) {
+ switch (true) {
+ // Math/BigInteger's openssl requirements are a little less stringent than Crypt/RSA's. in particular,
+ // Math/BigInteger doesn't require an openssl.cfg file whereas Crypt/RSA does. so if Math/BigInteger
+ // can't use OpenSSL it can be pretty trivially assumed, then, that Crypt/RSA can't either.
+ case defined('MATH_BIGINTEGER_OPENSSL_DISABLE'):
+ define('CRYPT_RSA_MODE', self::MODE_INTERNAL);
+ break;
+ case extension_loaded('openssl') && file_exists($this->configFile):
+ // some versions of XAMPP have mismatched versions of OpenSSL which causes it not to work
+ ob_start();
+ @phpinfo();
+ $content = ob_get_contents();
+ ob_end_clean();
+
+ preg_match_all('#OpenSSL (Header|Library) Version(.*)#im', $content, $matches);
+
+ $versions = array();
+ if (!empty($matches[1])) {
+ for ($i = 0; $i < count($matches[1]); $i++) {
+ $fullVersion = trim(str_replace('=>', '', strip_tags($matches[2][$i])));
+
+ // Remove letter part in OpenSSL version
+ if (!preg_match('/(\d+\.\d+\.\d+)/i', $fullVersion, $m)) {
+ $versions[$matches[1][$i]] = $fullVersion;
+ } else {
+ $versions[$matches[1][$i]] = $m[0];
+ }
+ }
+ }
+
+ // it doesn't appear that OpenSSL versions were reported upon until PHP 5.3+
+ switch (true) {
+ case !isset($versions['Header']):
+ case !isset($versions['Library']):
+ case $versions['Header'] == $versions['Library']:
+ case version_compare($versions['Header'], '1.0.0') >= 0 && version_compare($versions['Library'], '1.0.0') >= 0:
+ define('CRYPT_RSA_MODE', self::MODE_OPENSSL);
+ break;
+ default:
+ define('CRYPT_RSA_MODE', self::MODE_INTERNAL);
+ define('MATH_BIGINTEGER_OPENSSL_DISABLE', true);
+ }
+ break;
+ default:
+ define('CRYPT_RSA_MODE', self::MODE_INTERNAL);
+ }
+ }
+
+ $this->zero = new BigInteger();
+ $this->one = new BigInteger(1);
+
+ $this->hash = new Hash('sha1');
+ $this->hLen = $this->hash->getLength();
+ $this->hashName = 'sha1';
+ $this->mgfHash = new Hash('sha1');
+ $this->mgfHLen = $this->mgfHash->getLength();
+ }
+
+ /**
+ * Create public / private key pair
+ *
+ * Returns an array with the following three elements:
+ * - 'privatekey': The private key.
+ * - 'publickey': The public key.
+ * - 'partialkey': A partially computed key (if the execution time exceeded $timeout).
+ * Will need to be passed back to \phpseclib\Crypt\RSA::createKey() as the third parameter for further processing.
+ *
+ * @access public
+ * @param int $bits
+ * @param int $timeout
+ * @param array $p
+ */
+ function createKey($bits = 1024, $timeout = false, $partial = array())
+ {
+ if (!defined('CRYPT_RSA_EXPONENT')) {
+ // http://en.wikipedia.org/wiki/65537_%28number%29
+ define('CRYPT_RSA_EXPONENT', '65537');
+ }
+ // per <http://cseweb.ucsd.edu/~hovav/dist/survey.pdf#page=5>, this number ought not result in primes smaller
+ // than 256 bits. as a consequence if the key you're trying to create is 1024 bits and you've set CRYPT_RSA_SMALLEST_PRIME
+ // to 384 bits then you're going to get a 384 bit prime and a 640 bit prime (384 + 1024 % 384). at least if
+ // CRYPT_RSA_MODE is set to self::MODE_INTERNAL. if CRYPT_RSA_MODE is set to self::MODE_OPENSSL then
+ // CRYPT_RSA_SMALLEST_PRIME is ignored (ie. multi-prime RSA support is more intended as a way to speed up RSA key
+ // generation when there's a chance neither gmp nor OpenSSL are installed)
+ if (!defined('CRYPT_RSA_SMALLEST_PRIME')) {
+ define('CRYPT_RSA_SMALLEST_PRIME', 4096);
+ }
+
+ // OpenSSL uses 65537 as the exponent and requires RSA keys be 384 bits minimum
+ if (CRYPT_RSA_MODE == self::MODE_OPENSSL && $bits >= 384 && CRYPT_RSA_EXPONENT == 65537) {
+ $config = array();
+ if (isset($this->configFile)) {
+ $config['config'] = $this->configFile;
+ }
+ $rsa = openssl_pkey_new(array('private_key_bits' => $bits) + $config);
+ openssl_pkey_export($rsa, $privatekey, null, $config);
+ $publickey = openssl_pkey_get_details($rsa);
+ $publickey = $publickey['key'];
+
+ $privatekey = call_user_func_array(array($this, '_convertPrivateKey'), array_values($this->_parseKey($privatekey, self::PRIVATE_FORMAT_PKCS1)));
+ $publickey = call_user_func_array(array($this, '_convertPublicKey'), array_values($this->_parseKey($publickey, self::PUBLIC_FORMAT_PKCS1)));
+
+ // clear the buffer of error strings stemming from a minimalistic openssl.cnf
+ while (openssl_error_string() !== false) {
+ }
+
+ return array(
+ 'privatekey' => $privatekey,
+ 'publickey' => $publickey,
+ 'partialkey' => false
+ );
+ }
+
+ static $e;
+ if (!isset($e)) {
+ $e = new BigInteger(CRYPT_RSA_EXPONENT);
+ }
+
+ extract($this->_generateMinMax($bits));
+ $absoluteMin = $min;
+ $temp = $bits >> 1; // divide by two to see how many bits P and Q would be
+ if ($temp > CRYPT_RSA_SMALLEST_PRIME) {
+ $num_primes = floor($bits / CRYPT_RSA_SMALLEST_PRIME);
+ $temp = CRYPT_RSA_SMALLEST_PRIME;
+ } else {
+ $num_primes = 2;
+ }
+ extract($this->_generateMinMax($temp + $bits % $temp));
+ $finalMax = $max;
+ extract($this->_generateMinMax($temp));
+
+ $generator = new BigInteger();
+
+ $n = $this->one->copy();
+ if (!empty($partial)) {
+ extract(unserialize($partial));
+ } else {
+ $exponents = $coefficients = $primes = array();
+ $lcm = array(
+ 'top' => $this->one->copy(),
+ 'bottom' => false
+ );
+ }
+
+ $start = time();
+ $i0 = count($primes) + 1;
+
+ do {
+ for ($i = $i0; $i <= $num_primes; $i++) {
+ if ($timeout !== false) {
+ $timeout-= time() - $start;
+ $start = time();
+ if ($timeout <= 0) {
+ return array(
+ 'privatekey' => '',
+ 'publickey' => '',
+ 'partialkey' => serialize(array(
+ 'primes' => $primes,
+ 'coefficients' => $coefficients,
+ 'lcm' => $lcm,
+ 'exponents' => $exponents
+ ))
+ );
+ }
+ }
+
+ if ($i == $num_primes) {
+ list($min, $temp) = $absoluteMin->divide($n);
+ if (!$temp->equals($this->zero)) {
+ $min = $min->add($this->one); // ie. ceil()
+ }
+ $primes[$i] = $generator->randomPrime($min, $finalMax, $timeout);
+ } else {
+ $primes[$i] = $generator->randomPrime($min, $max, $timeout);
+ }
+
+ if ($primes[$i] === false) { // if we've reached the timeout
+ if (count($primes) > 1) {
+ $partialkey = '';
+ } else {
+ array_pop($primes);
+ $partialkey = serialize(array(
+ 'primes' => $primes,
+ 'coefficients' => $coefficients,
+ 'lcm' => $lcm,
+ 'exponents' => $exponents
+ ));
+ }
+
+ return array(
+ 'privatekey' => '',
+ 'publickey' => '',
+ 'partialkey' => $partialkey
+ );
+ }
+
+ // the first coefficient is calculated differently from the rest
+ // ie. instead of being $primes[1]->modInverse($primes[2]), it's $primes[2]->modInverse($primes[1])
+ if ($i > 2) {
+ $coefficients[$i] = $n->modInverse($primes[$i]);
+ }
+
+ $n = $n->multiply($primes[$i]);
+
+ $temp = $primes[$i]->subtract($this->one);
+
+ // textbook RSA implementations use Euler's totient function instead of the least common multiple.
+ // see http://en.wikipedia.org/wiki/Euler%27s_totient_function
+ $lcm['top'] = $lcm['top']->multiply($temp);
+ $lcm['bottom'] = $lcm['bottom'] === false ? $temp : $lcm['bottom']->gcd($temp);
+
+ $exponents[$i] = $e->modInverse($temp);
+ }
+
+ list($temp) = $lcm['top']->divide($lcm['bottom']);
+ $gcd = $temp->gcd($e);
+ $i0 = 1;
+ } while (!$gcd->equals($this->one));
+
+ $d = $e->modInverse($temp);
+
+ $coefficients[2] = $primes[2]->modInverse($primes[1]);
+
+ // from <http://tools.ietf.org/html/rfc3447#appendix-A.1.2>:
+ // RSAPrivateKey ::= SEQUENCE {
+ // version Version,
+ // modulus INTEGER, -- n
+ // publicExponent INTEGER, -- e
+ // privateExponent INTEGER, -- d
+ // prime1 INTEGER, -- p
+ // prime2 INTEGER, -- q
+ // exponent1 INTEGER, -- d mod (p-1)
+ // exponent2 INTEGER, -- d mod (q-1)
+ // coefficient INTEGER, -- (inverse of q) mod p
+ // otherPrimeInfos OtherPrimeInfos OPTIONAL
+ // }
+
+ return array(
+ 'privatekey' => $this->_convertPrivateKey($n, $e, $d, $primes, $exponents, $coefficients),
+ 'publickey' => $this->_convertPublicKey($n, $e),
+ 'partialkey' => false
+ );
+ }
+
+ /**
+ * Convert a private key to the appropriate format.
+ *
+ * @access private
+ * @see self::setPrivateKeyFormat()
+ * @param string $RSAPrivateKey
+ * @return string
+ */
+ function _convertPrivateKey($n, $e, $d, $primes, $exponents, $coefficients)
+ {
+ $signed = $this->privateKeyFormat != self::PRIVATE_FORMAT_XML;
+ $num_primes = count($primes);
+ $raw = array(
+ 'version' => $num_primes == 2 ? chr(0) : chr(1), // two-prime vs. multi
+ 'modulus' => $n->toBytes($signed),
+ 'publicExponent' => $e->toBytes($signed),
+ 'privateExponent' => $d->toBytes($signed),
+ 'prime1' => $primes[1]->toBytes($signed),
+ 'prime2' => $primes[2]->toBytes($signed),
+ 'exponent1' => $exponents[1]->toBytes($signed),
+ 'exponent2' => $exponents[2]->toBytes($signed),
+ 'coefficient' => $coefficients[2]->toBytes($signed)
+ );
+
+ // if the format in question does not support multi-prime rsa and multi-prime rsa was used,
+ // call _convertPublicKey() instead.
+ switch ($this->privateKeyFormat) {
+ case self::PRIVATE_FORMAT_XML:
+ if ($num_primes != 2) {
+ return false;
+ }
+ return "<RSAKeyValue>\r\n" .
+ ' <Modulus>' . base64_encode($raw['modulus']) . "</Modulus>\r\n" .
+ ' <Exponent>' . base64_encode($raw['publicExponent']) . "</Exponent>\r\n" .
+ ' <P>' . base64_encode($raw['prime1']) . "</P>\r\n" .
+ ' <Q>' . base64_encode($raw['prime2']) . "</Q>\r\n" .
+ ' <DP>' . base64_encode($raw['exponent1']) . "</DP>\r\n" .
+ ' <DQ>' . base64_encode($raw['exponent2']) . "</DQ>\r\n" .
+ ' <InverseQ>' . base64_encode($raw['coefficient']) . "</InverseQ>\r\n" .
+ ' <D>' . base64_encode($raw['privateExponent']) . "</D>\r\n" .
+ '</RSAKeyValue>';
+ break;
+ case self::PRIVATE_FORMAT_PUTTY:
+ if ($num_primes != 2) {
+ return false;
+ }
+ $key = "PuTTY-User-Key-File-2: ssh-rsa\r\nEncryption: ";
+ $encryption = (!empty($this->password) || is_string($this->password)) ? 'aes256-cbc' : 'none';
+ $key.= $encryption;
+ $key.= "\r\nComment: " . $this->comment . "\r\n";
+ $public = pack(
+ 'Na*Na*Na*',
+ strlen('ssh-rsa'),
+ 'ssh-rsa',
+ strlen($raw['publicExponent']),
+ $raw['publicExponent'],
+ strlen($raw['modulus']),
+ $raw['modulus']
+ );
+ $source = pack(
+ 'Na*Na*Na*Na*',
+ strlen('ssh-rsa'),
+ 'ssh-rsa',
+ strlen($encryption),
+ $encryption,
+ strlen($this->comment),
+ $this->comment,
+ strlen($public),
+ $public
+ );
+ $public = base64_encode($public);
+ $key.= "Public-Lines: " . ((strlen($public) + 63) >> 6) . "\r\n";
+ $key.= chunk_split($public, 64);
+ $private = pack(
+ 'Na*Na*Na*Na*',
+ strlen($raw['privateExponent']),
+ $raw['privateExponent'],
+ strlen($raw['prime1']),
+ $raw['prime1'],
+ strlen($raw['prime2']),
+ $raw['prime2'],
+ strlen($raw['coefficient']),
+ $raw['coefficient']
+ );
+ if (empty($this->password) && !is_string($this->password)) {
+ $source.= pack('Na*', strlen($private), $private);
+ $hashkey = 'putty-private-key-file-mac-key';
+ } else {
+ $private.= Random::string(16 - (strlen($private) & 15));
+ $source.= pack('Na*', strlen($private), $private);
+ $sequence = 0;
+ $symkey = '';
+ while (strlen($symkey) < 32) {
+ $temp = pack('Na*', $sequence++, $this->password);
+ $symkey.= pack('H*', sha1($temp));
+ }
+ $symkey = substr($symkey, 0, 32);
+ $crypto = new AES();
+
+ $crypto->setKey($symkey);
+ $crypto->disablePadding();
+ $private = $crypto->encrypt($private);
+ $hashkey = 'putty-private-key-file-mac-key' . $this->password;
+ }
+
+ $private = base64_encode($private);
+ $key.= 'Private-Lines: ' . ((strlen($private) + 63) >> 6) . "\r\n";
+ $key.= chunk_split($private, 64);
+ $hash = new Hash('sha1');
+ $hash->setKey(pack('H*', sha1($hashkey)));
+ $key.= 'Private-MAC: ' . bin2hex($hash->hash($source)) . "\r\n";
+
+ return $key;
+ default: // eg. self::PRIVATE_FORMAT_PKCS1
+ $components = array();
+ foreach ($raw as $name => $value) {
+ $components[$name] = pack('Ca*a*', self::ASN1_INTEGER, $this->_encodeLength(strlen($value)), $value);
+ }
+
+ $RSAPrivateKey = implode('', $components);
+
+ if ($num_primes > 2) {
+ $OtherPrimeInfos = '';
+ for ($i = 3; $i <= $num_primes; $i++) {
+ // OtherPrimeInfos ::= SEQUENCE SIZE(1..MAX) OF OtherPrimeInfo
+ //
+ // OtherPrimeInfo ::= SEQUENCE {
+ // prime INTEGER, -- ri
+ // exponent INTEGER, -- di
+ // coefficient INTEGER -- ti
+ // }
+ $OtherPrimeInfo = pack('Ca*a*', self::ASN1_INTEGER, $this->_encodeLength(strlen($primes[$i]->toBytes(true))), $primes[$i]->toBytes(true));
+ $OtherPrimeInfo.= pack('Ca*a*', self::ASN1_INTEGER, $this->_encodeLength(strlen($exponents[$i]->toBytes(true))), $exponents[$i]->toBytes(true));
+ $OtherPrimeInfo.= pack('Ca*a*', self::ASN1_INTEGER, $this->_encodeLength(strlen($coefficients[$i]->toBytes(true))), $coefficients[$i]->toBytes(true));
+ $OtherPrimeInfos.= pack('Ca*a*', self::ASN1_SEQUENCE, $this->_encodeLength(strlen($OtherPrimeInfo)), $OtherPrimeInfo);
+ }
+ $RSAPrivateKey.= pack('Ca*a*', self::ASN1_SEQUENCE, $this->_encodeLength(strlen($OtherPrimeInfos)), $OtherPrimeInfos);
+ }
+
+ $RSAPrivateKey = pack('Ca*a*', self::ASN1_SEQUENCE, $this->_encodeLength(strlen($RSAPrivateKey)), $RSAPrivateKey);
+
+ if ($this->privateKeyFormat == self::PRIVATE_FORMAT_PKCS8) {
+ $rsaOID = pack('H*', '300d06092a864886f70d0101010500'); // hex version of MA0GCSqGSIb3DQEBAQUA
+ $RSAPrivateKey = pack(
+ 'Ca*a*Ca*a*',
+ self::ASN1_INTEGER,
+ "\01\00",
+ $rsaOID,
+ 4,
+ $this->_encodeLength(strlen($RSAPrivateKey)),
+ $RSAPrivateKey
+ );
+ $RSAPrivateKey = pack('Ca*a*', self::ASN1_SEQUENCE, $this->_encodeLength(strlen($RSAPrivateKey)), $RSAPrivateKey);
+ if (!empty($this->password) || is_string($this->password)) {
+ $salt = Random::string(8);
+ $iterationCount = 2048;
+
+ $crypto = new DES();
+ $crypto->setPassword($this->password, 'pbkdf1', 'md5', $salt, $iterationCount);
+ $RSAPrivateKey = $crypto->encrypt($RSAPrivateKey);
+
+ $parameters = pack(
+ 'Ca*a*Ca*N',
+ self::ASN1_OCTETSTRING,
+ $this->_encodeLength(strlen($salt)),
+ $salt,
+ self::ASN1_INTEGER,
+ $this->_encodeLength(4),
+ $iterationCount
+ );
+ $pbeWithMD5AndDES_CBC = "\x2a\x86\x48\x86\xf7\x0d\x01\x05\x03";
+
+ $encryptionAlgorithm = pack(
+ 'Ca*a*Ca*a*',
+ self::ASN1_OBJECT,
+ $this->_encodeLength(strlen($pbeWithMD5AndDES_CBC)),
+ $pbeWithMD5AndDES_CBC,
+ self::ASN1_SEQUENCE,
+ $this->_encodeLength(strlen($parameters)),
+ $parameters
+ );
+
+ $RSAPrivateKey = pack(
+ 'Ca*a*Ca*a*',
+ self::ASN1_SEQUENCE,
+ $this->_encodeLength(strlen($encryptionAlgorithm)),
+ $encryptionAlgorithm,
+ self::ASN1_OCTETSTRING,
+ $this->_encodeLength(strlen($RSAPrivateKey)),
+ $RSAPrivateKey
+ );
+
+ $RSAPrivateKey = pack('Ca*a*', self::ASN1_SEQUENCE, $this->_encodeLength(strlen($RSAPrivateKey)), $RSAPrivateKey);
+
+ $RSAPrivateKey = "-----BEGIN ENCRYPTED PRIVATE KEY-----\r\n" .
+ chunk_split(base64_encode($RSAPrivateKey), 64) .
+ '-----END ENCRYPTED PRIVATE KEY-----';
+ } else {
+ $RSAPrivateKey = "-----BEGIN PRIVATE KEY-----\r\n" .
+ chunk_split(base64_encode($RSAPrivateKey), 64) .
+ '-----END PRIVATE KEY-----';
+ }
+ return $RSAPrivateKey;
+ }
+
+ if (!empty($this->password) || is_string($this->password)) {
+ $iv = Random::string(8);
+ $symkey = pack('H*', md5($this->password . $iv)); // symkey is short for symmetric key
+ $symkey.= substr(pack('H*', md5($symkey . $this->password . $iv)), 0, 8);
+ $des = new TripleDES();
+ $des->setKey($symkey);
+ $des->setIV($iv);
+ $iv = strtoupper(bin2hex($iv));
+ $RSAPrivateKey = "-----BEGIN RSA PRIVATE KEY-----\r\n" .
+ "Proc-Type: 4,ENCRYPTED\r\n" .
+ "DEK-Info: DES-EDE3-CBC,$iv\r\n" .
+ "\r\n" .
+ chunk_split(base64_encode($des->encrypt($RSAPrivateKey)), 64) .
+ '-----END RSA PRIVATE KEY-----';
+ } else {
+ $RSAPrivateKey = "-----BEGIN RSA PRIVATE KEY-----\r\n" .
+ chunk_split(base64_encode($RSAPrivateKey), 64) .
+ '-----END RSA PRIVATE KEY-----';
+ }
+
+ return $RSAPrivateKey;
+ }
+ }
+
+ /**
+ * Convert a public key to the appropriate format
+ *
+ * @access private
+ * @see self::setPublicKeyFormat()
+ * @param string $RSAPrivateKey
+ * @return string
+ */
+ function _convertPublicKey($n, $e)
+ {
+ $signed = $this->publicKeyFormat != self::PUBLIC_FORMAT_XML;
+
+ $modulus = $n->toBytes($signed);
+ $publicExponent = $e->toBytes($signed);
+
+ switch ($this->publicKeyFormat) {
+ case self::PUBLIC_FORMAT_RAW:
+ return array('e' => $e->copy(), 'n' => $n->copy());
+ case self::PUBLIC_FORMAT_XML:
+ return "<RSAKeyValue>\r\n" .
+ ' <Modulus>' . base64_encode($modulus) . "</Modulus>\r\n" .
+ ' <Exponent>' . base64_encode($publicExponent) . "</Exponent>\r\n" .
+ '</RSAKeyValue>';
+ break;
+ case self::PUBLIC_FORMAT_OPENSSH:
+ // from <http://tools.ietf.org/html/rfc4253#page-15>:
+ // string "ssh-rsa"
+ // mpint e
+ // mpint n
+ $RSAPublicKey = pack('Na*Na*Na*', strlen('ssh-rsa'), 'ssh-rsa', strlen($publicExponent), $publicExponent, strlen($modulus), $modulus);
+ $RSAPublicKey = 'ssh-rsa ' . base64_encode($RSAPublicKey) . ' ' . $this->comment;
+
+ return $RSAPublicKey;
+ default: // eg. self::PUBLIC_FORMAT_PKCS1_RAW or self::PUBLIC_FORMAT_PKCS1
+ // from <http://tools.ietf.org/html/rfc3447#appendix-A.1.1>:
+ // RSAPublicKey ::= SEQUENCE {
+ // modulus INTEGER, -- n
+ // publicExponent INTEGER -- e
+ // }
+ $components = array(
+ 'modulus' => pack('Ca*a*', self::ASN1_INTEGER, $this->_encodeLength(strlen($modulus)), $modulus),
+ 'publicExponent' => pack('Ca*a*', self::ASN1_INTEGER, $this->_encodeLength(strlen($publicExponent)), $publicExponent)
+ );
+
+ $RSAPublicKey = pack(
+ 'Ca*a*a*',
+ self::ASN1_SEQUENCE,
+ $this->_encodeLength(strlen($components['modulus']) + strlen($components['publicExponent'])),
+ $components['modulus'],
+ $components['publicExponent']
+ );
+
+ if ($this->publicKeyFormat == self::PUBLIC_FORMAT_PKCS1_RAW) {
+ $RSAPublicKey = "-----BEGIN RSA PUBLIC KEY-----\r\n" .
+ chunk_split(base64_encode($RSAPublicKey), 64) .
+ '-----END RSA PUBLIC KEY-----';
+ } else {
+ // sequence(oid(1.2.840.113549.1.1.1), null)) = rsaEncryption.
+ $rsaOID = pack('H*', '300d06092a864886f70d0101010500'); // hex version of MA0GCSqGSIb3DQEBAQUA
+ $RSAPublicKey = chr(0) . $RSAPublicKey;
+ $RSAPublicKey = chr(3) . $this->_encodeLength(strlen($RSAPublicKey)) . $RSAPublicKey;
+
+ $RSAPublicKey = pack(
+ 'Ca*a*',
+ self::ASN1_SEQUENCE,
+ $this->_encodeLength(strlen($rsaOID . $RSAPublicKey)),
+ $rsaOID . $RSAPublicKey
+ );
+
+ $RSAPublicKey = "-----BEGIN PUBLIC KEY-----\r\n" .
+ chunk_split(base64_encode($RSAPublicKey), 64) .
+ '-----END PUBLIC KEY-----';
+ }
+
+ return $RSAPublicKey;
+ }
+ }
+
+ /**
+ * Break a public or private key down into its constituant components
+ *
+ * @access private
+ * @see self::_convertPublicKey()
+ * @see self::_convertPrivateKey()
+ * @param string $key
+ * @param int $type
+ * @return array
+ */
+ function _parseKey($key, $type)
+ {
+ if ($type != self::PUBLIC_FORMAT_RAW && !is_string($key)) {
+ return false;
+ }
+
+ switch ($type) {
+ case self::PUBLIC_FORMAT_RAW:
+ if (!is_array($key)) {
+ return false;
+ }
+ $components = array();
+ switch (true) {
+ case isset($key['e']):
+ $components['publicExponent'] = $key['e']->copy();
+ break;
+ case isset($key['exponent']):
+ $components['publicExponent'] = $key['exponent']->copy();
+ break;
+ case isset($key['publicExponent']):
+ $components['publicExponent'] = $key['publicExponent']->copy();
+ break;
+ case isset($key[0]):
+ $components['publicExponent'] = $key[0]->copy();
+ }
+ switch (true) {
+ case isset($key['n']):
+ $components['modulus'] = $key['n']->copy();
+ break;
+ case isset($key['modulo']):
+ $components['modulus'] = $key['modulo']->copy();
+ break;
+ case isset($key['modulus']):
+ $components['modulus'] = $key['modulus']->copy();
+ break;
+ case isset($key[1]):
+ $components['modulus'] = $key[1]->copy();
+ }
+ return isset($components['modulus']) && isset($components['publicExponent']) ? $components : false;
+ case self::PRIVATE_FORMAT_PKCS1:
+ case self::PRIVATE_FORMAT_PKCS8:
+ case self::PUBLIC_FORMAT_PKCS1:
+ /* Although PKCS#1 proposes a format that public and private keys can use, encrypting them is
+ "outside the scope" of PKCS#1. PKCS#1 then refers you to PKCS#12 and PKCS#15 if you're wanting to
+ protect private keys, however, that's not what OpenSSL* does. OpenSSL protects private keys by adding
+ two new "fields" to the key - DEK-Info and Proc-Type. These fields are discussed here:
+
+ http://tools.ietf.org/html/rfc1421#section-4.6.1.1
+ http://tools.ietf.org/html/rfc1421#section-4.6.1.3
+
+ DES-EDE3-CBC as an algorithm, however, is not discussed anywhere, near as I can tell.
+ DES-CBC and DES-EDE are discussed in RFC1423, however, DES-EDE3-CBC isn't, nor is its key derivation
+ function. As is, the definitive authority on this encoding scheme isn't the IETF but rather OpenSSL's
+ own implementation. ie. the implementation *is* the standard and any bugs that may exist in that
+ implementation are part of the standard, as well.
+
+ * OpenSSL is the de facto standard. It's utilized by OpenSSH and other projects */
+ if (preg_match('#DEK-Info: (.+),(.+)#', $key, $matches)) {
+ $iv = pack('H*', trim($matches[2]));
+ $symkey = pack('H*', md5($this->password . substr($iv, 0, 8))); // symkey is short for symmetric key
+ $symkey.= pack('H*', md5($symkey . $this->password . substr($iv, 0, 8)));
+ // remove the Proc-Type / DEK-Info sections as they're no longer needed
+ $key = preg_replace('#^(?:Proc-Type|DEK-Info): .*#m', '', $key);
+ $ciphertext = $this->_extractBER($key);
+ if ($ciphertext === false) {
+ $ciphertext = $key;
+ }
+ switch ($matches[1]) {
+ case 'AES-256-CBC':
+ $crypto = new AES();
+ break;
+ case 'AES-128-CBC':
+ $symkey = substr($symkey, 0, 16);
+ $crypto = new AES();
+ break;
+ case 'DES-EDE3-CFB':
+ $crypto = new TripleDES(Base::MODE_CFB);
+ break;
+ case 'DES-EDE3-CBC':
+ $symkey = substr($symkey, 0, 24);
+ $crypto = new TripleDES();
+ break;
+ case 'DES-CBC':
+ $crypto = new DES();
+ break;
+ default:
+ return false;
+ }
+ $crypto->setKey($symkey);
+ $crypto->setIV($iv);
+ $decoded = $crypto->decrypt($ciphertext);
+ } else {
+ $decoded = $this->_extractBER($key);
+ }
+
+ if ($decoded !== false) {
+ $key = $decoded;
+ }
+
+ $components = array();
+
+ if (ord($this->_string_shift($key)) != self::ASN1_SEQUENCE) {
+ return false;
+ }
+ if ($this->_decodeLength($key) != strlen($key)) {
+ return false;
+ }
+
+ $tag = ord($this->_string_shift($key));
+ /* intended for keys for which OpenSSL's asn1parse returns the following:
+
+ 0:d=0 hl=4 l= 631 cons: SEQUENCE
+ 4:d=1 hl=2 l= 1 prim: INTEGER :00
+ 7:d=1 hl=2 l= 13 cons: SEQUENCE
+ 9:d=2 hl=2 l= 9 prim: OBJECT :rsaEncryption
+ 20:d=2 hl=2 l= 0 prim: NULL
+ 22:d=1 hl=4 l= 609 prim: OCTET STRING
+
+ ie. PKCS8 keys*/
+
+ if ($tag == self::ASN1_INTEGER && substr($key, 0, 3) == "\x01\x00\x30") {
+ $this->_string_shift($key, 3);
+ $tag = self::ASN1_SEQUENCE;
+ }
+
+ if ($tag == self::ASN1_SEQUENCE) {
+ $temp = $this->_string_shift($key, $this->_decodeLength($key));
+ if (ord($this->_string_shift($temp)) != self::ASN1_OBJECT) {
+ return false;
+ }
+ $length = $this->_decodeLength($temp);
+ switch ($this->_string_shift($temp, $length)) {
+ case "\x2a\x86\x48\x86\xf7\x0d\x01\x01\x01": // rsaEncryption
+ break;
+ case "\x2a\x86\x48\x86\xf7\x0d\x01\x05\x03": // pbeWithMD5AndDES-CBC
+ /*
+ PBEParameter ::= SEQUENCE {
+ salt OCTET STRING (SIZE(8)),
+ iterationCount INTEGER }
+ */
+ if (ord($this->_string_shift($temp)) != self::ASN1_SEQUENCE) {
+ return false;
+ }
+ if ($this->_decodeLength($temp) != strlen($temp)) {
+ return false;
+ }
+ $this->_string_shift($temp); // assume it's an octet string
+ $salt = $this->_string_shift($temp, $this->_decodeLength($temp));
+ if (ord($this->_string_shift($temp)) != self::ASN1_INTEGER) {
+ return false;
+ }
+ $this->_decodeLength($temp);
+ list(, $iterationCount) = unpack('N', str_pad($temp, 4, chr(0), STR_PAD_LEFT));
+ $this->_string_shift($key); // assume it's an octet string
+ $length = $this->_decodeLength($key);
+ if (strlen($key) != $length) {
+ return false;
+ }
+
+ $crypto = new DES();
+ $crypto->setPassword($this->password, 'pbkdf1', 'md5', $salt, $iterationCount);
+ $key = $crypto->decrypt($key);
+ if ($key === false) {
+ return false;
+ }
+ return $this->_parseKey($key, self::PRIVATE_FORMAT_PKCS1);
+ default:
+ return false;
+ }
+ /* intended for keys for which OpenSSL's asn1parse returns the following:
+
+ 0:d=0 hl=4 l= 290 cons: SEQUENCE
+ 4:d=1 hl=2 l= 13 cons: SEQUENCE
+ 6:d=2 hl=2 l= 9 prim: OBJECT :rsaEncryption
+ 17:d=2 hl=2 l= 0 prim: NULL
+ 19:d=1 hl=4 l= 271 prim: BIT STRING */
+ $tag = ord($this->_string_shift($key)); // skip over the BIT STRING / OCTET STRING tag
+ $this->_decodeLength($key); // skip over the BIT STRING / OCTET STRING length
+ // "The initial octet shall encode, as an unsigned binary integer wtih bit 1 as the least significant bit, the number of
+ // unused bits in the final subsequent octet. The number shall be in the range zero to seven."
+ // -- http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf (section 8.6.2.2)
+ if ($tag == self::ASN1_BITSTRING) {
+ $this->_string_shift($key);
+ }
+ if (ord($this->_string_shift($key)) != self::ASN1_SEQUENCE) {
+ return false;
+ }
+ if ($this->_decodeLength($key) != strlen($key)) {
+ return false;
+ }
+ $tag = ord($this->_string_shift($key));
+ }
+ if ($tag != self::ASN1_INTEGER) {
+ return false;
+ }
+
+ $length = $this->_decodeLength($key);
+ $temp = $this->_string_shift($key, $length);
+ if (strlen($temp) != 1 || ord($temp) > 2) {
+ $components['modulus'] = new BigInteger($temp, 256);
+ $this->_string_shift($key); // skip over self::ASN1_INTEGER
+ $length = $this->_decodeLength($key);
+ $components[$type == self::PUBLIC_FORMAT_PKCS1 ? 'publicExponent' : 'privateExponent'] = new BigInteger($this->_string_shift($key, $length), 256);
+
+ return $components;
+ }
+ if (ord($this->_string_shift($key)) != self::ASN1_INTEGER) {
+ return false;
+ }
+ $length = $this->_decodeLength($key);
+ $components['modulus'] = new BigInteger($this->_string_shift($key, $length), 256);
+ $this->_string_shift($key);
+ $length = $this->_decodeLength($key);
+ $components['publicExponent'] = new BigInteger($this->_string_shift($key, $length), 256);
+ $this->_string_shift($key);
+ $length = $this->_decodeLength($key);
+ $components['privateExponent'] = new BigInteger($this->_string_shift($key, $length), 256);
+ $this->_string_shift($key);
+ $length = $this->_decodeLength($key);
+ $components['primes'] = array(1 => new BigInteger($this->_string_shift($key, $length), 256));
+ $this->_string_shift($key);
+ $length = $this->_decodeLength($key);
+ $components['primes'][] = new BigInteger($this->_string_shift($key, $length), 256);
+ $this->_string_shift($key);
+ $length = $this->_decodeLength($key);
+ $components['exponents'] = array(1 => new BigInteger($this->_string_shift($key, $length), 256));
+ $this->_string_shift($key);
+ $length = $this->_decodeLength($key);
+ $components['exponents'][] = new BigInteger($this->_string_shift($key, $length), 256);
+ $this->_string_shift($key);
+ $length = $this->_decodeLength($key);
+ $components['coefficients'] = array(2 => new BigInteger($this->_string_shift($key, $length), 256));
+
+ if (!empty($key)) {
+ if (ord($this->_string_shift($key)) != self::ASN1_SEQUENCE) {
+ return false;
+ }
+ $this->_decodeLength($key);
+ while (!empty($key)) {
+ if (ord($this->_string_shift($key)) != self::ASN1_SEQUENCE) {
+ return false;
+ }
+ $this->_decodeLength($key);
+ $key = substr($key, 1);
+ $length = $this->_decodeLength($key);
+ $components['primes'][] = new BigInteger($this->_string_shift($key, $length), 256);
+ $this->_string_shift($key);
+ $length = $this->_decodeLength($key);
+ $components['exponents'][] = new BigInteger($this->_string_shift($key, $length), 256);
+ $this->_string_shift($key);
+ $length = $this->_decodeLength($key);
+ $components['coefficients'][] = new BigInteger($this->_string_shift($key, $length), 256);
+ }
+ }
+
+ return $components;
+ case self::PUBLIC_FORMAT_OPENSSH:
+ $parts = explode(' ', $key, 3);
+
+ $key = isset($parts[1]) ? base64_decode($parts[1]) : false;
+ if ($key === false) {
+ return false;
+ }
+
+ $comment = isset($parts[2]) ? $parts[2] : false;
+
+ $cleanup = substr($key, 0, 11) == "\0\0\0\7ssh-rsa";
+
+ if (strlen($key) <= 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($key, 4)));
+ $publicExponent = new BigInteger($this->_string_shift($key, $length), -256);
+ if (strlen($key) <= 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($key, 4)));
+ $modulus = new BigInteger($this->_string_shift($key, $length), -256);
+
+ if ($cleanup && strlen($key)) {
+ if (strlen($key) <= 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($key, 4)));
+ $realModulus = new BigInteger($this->_string_shift($key, $length), -256);
+ return strlen($key) ? false : array(
+ 'modulus' => $realModulus,
+ 'publicExponent' => $modulus,
+ 'comment' => $comment
+ );
+ } else {
+ return strlen($key) ? false : array(
+ 'modulus' => $modulus,
+ 'publicExponent' => $publicExponent,
+ 'comment' => $comment
+ );
+ }
+ // http://www.w3.org/TR/xmldsig-core/#sec-RSAKeyValue
+ // http://en.wikipedia.org/wiki/XML_Signature
+ case self::PRIVATE_FORMAT_XML:
+ case self::PUBLIC_FORMAT_XML:
+ $this->components = array();
+
+ $xml = xml_parser_create('UTF-8');
+ xml_set_object($xml, $this);
+ xml_set_element_handler($xml, '_start_element_handler', '_stop_element_handler');
+ xml_set_character_data_handler($xml, '_data_handler');
+ // add <xml></xml> to account for "dangling" tags like <BitStrength>...</BitStrength> that are sometimes added
+ if (!xml_parse($xml, '<xml>' . $key . '</xml>')) {
+ return false;
+ }
+
+ return isset($this->components['modulus']) && isset($this->components['publicExponent']) ? $this->components : false;
+ // from PuTTY's SSHPUBK.C
+ case self::PRIVATE_FORMAT_PUTTY:
+ $components = array();
+ $key = preg_split('#\r\n|\r|\n#', $key);
+ $type = trim(preg_replace('#PuTTY-User-Key-File-2: (.+)#', '$1', $key[0]));
+ if ($type != 'ssh-rsa') {
+ return false;
+ }
+ $encryption = trim(preg_replace('#Encryption: (.+)#', '$1', $key[1]));
+ $comment = trim(preg_replace('#Comment: (.+)#', '$1', $key[2]));
+
+ $publicLength = trim(preg_replace('#Public-Lines: (\d+)#', '$1', $key[3]));
+ $public = base64_decode(implode('', array_map('trim', array_slice($key, 4, $publicLength))));
+ $public = substr($public, 11);
+ extract(unpack('Nlength', $this->_string_shift($public, 4)));
+ $components['publicExponent'] = new BigInteger($this->_string_shift($public, $length), -256);
+ extract(unpack('Nlength', $this->_string_shift($public, 4)));
+ $components['modulus'] = new BigInteger($this->_string_shift($public, $length), -256);
+
+ $privateLength = trim(preg_replace('#Private-Lines: (\d+)#', '$1', $key[$publicLength + 4]));
+ $private = base64_decode(implode('', array_map('trim', array_slice($key, $publicLength + 5, $privateLength))));
+
+ switch ($encryption) {
+ case 'aes256-cbc':
+ $symkey = '';
+ $sequence = 0;
+ while (strlen($symkey) < 32) {
+ $temp = pack('Na*', $sequence++, $this->password);
+ $symkey.= pack('H*', sha1($temp));
+ }
+ $symkey = substr($symkey, 0, 32);
+ $crypto = new AES();
+ }
+
+ if ($encryption != 'none') {
+ $crypto->setKey($symkey);
+ $crypto->disablePadding();
+ $private = $crypto->decrypt($private);
+ if ($private === false) {
+ return false;
+ }
+ }
+
+ extract(unpack('Nlength', $this->_string_shift($private, 4)));
+ if (strlen($private) < $length) {
+ return false;
+ }
+ $components['privateExponent'] = new BigInteger($this->_string_shift($private, $length), -256);
+ extract(unpack('Nlength', $this->_string_shift($private, 4)));
+ if (strlen($private) < $length) {
+ return false;
+ }
+ $components['primes'] = array(1 => new BigInteger($this->_string_shift($private, $length), -256));
+ extract(unpack('Nlength', $this->_string_shift($private, 4)));
+ if (strlen($private) < $length) {
+ return false;
+ }
+ $components['primes'][] = new BigInteger($this->_string_shift($private, $length), -256);
+
+ $temp = $components['primes'][1]->subtract($this->one);
+ $components['exponents'] = array(1 => $components['publicExponent']->modInverse($temp));
+ $temp = $components['primes'][2]->subtract($this->one);
+ $components['exponents'][] = $components['publicExponent']->modInverse($temp);
+
+ extract(unpack('Nlength', $this->_string_shift($private, 4)));
+ if (strlen($private) < $length) {
+ return false;
+ }
+ $components['coefficients'] = array(2 => new BigInteger($this->_string_shift($private, $length), -256));
+
+ return $components;
+ }
+ }
+
+ /**
+ * Returns the key size
+ *
+ * More specifically, this returns the size of the modulo in bits.
+ *
+ * @access public
+ * @return int
+ */
+ function getSize()
+ {
+ return !isset($this->modulus) ? 0 : strlen($this->modulus->toBits());
+ }
+
+ /**
+ * Start Element Handler
+ *
+ * Called by xml_set_element_handler()
+ *
+ * @access private
+ * @param resource $parser
+ * @param string $name
+ * @param array $attribs
+ */
+ function _start_element_handler($parser, $name, $attribs)
+ {
+ //$name = strtoupper($name);
+ switch ($name) {
+ case 'MODULUS':
+ $this->current = &$this->components['modulus'];
+ break;
+ case 'EXPONENT':
+ $this->current = &$this->components['publicExponent'];
+ break;
+ case 'P':
+ $this->current = &$this->components['primes'][1];
+ break;
+ case 'Q':
+ $this->current = &$this->components['primes'][2];
+ break;
+ case 'DP':
+ $this->current = &$this->components['exponents'][1];
+ break;
+ case 'DQ':
+ $this->current = &$this->components['exponents'][2];
+ break;
+ case 'INVERSEQ':
+ $this->current = &$this->components['coefficients'][2];
+ break;
+ case 'D':
+ $this->current = &$this->components['privateExponent'];
+ }
+ $this->current = '';
+ }
+
+ /**
+ * Stop Element Handler
+ *
+ * Called by xml_set_element_handler()
+ *
+ * @access private
+ * @param resource $parser
+ * @param string $name
+ */
+ function _stop_element_handler($parser, $name)
+ {
+ if (isset($this->current)) {
+ $this->current = new BigInteger(base64_decode($this->current), 256);
+ unset($this->current);
+ }
+ }
+
+ /**
+ * Data Handler
+ *
+ * Called by xml_set_character_data_handler()
+ *
+ * @access private
+ * @param resource $parser
+ * @param string $data
+ */
+ function _data_handler($parser, $data)
+ {
+ if (!isset($this->current) || is_object($this->current)) {
+ return;
+ }
+ $this->current.= trim($data);
+ }
+
+ /**
+ * Loads a public or private key
+ *
+ * Returns true on success and false on failure (ie. an incorrect password was provided or the key was malformed)
+ *
+ * @access public
+ * @param string $key
+ * @param int $type optional
+ */
+ function loadKey($key, $type = false)
+ {
+ if ($key instanceof RSA) {
+ $this->privateKeyFormat = $key->privateKeyFormat;
+ $this->publicKeyFormat = $key->publicKeyFormat;
+ $this->k = $key->k;
+ $this->hLen = $key->hLen;
+ $this->sLen = $key->sLen;
+ $this->mgfHLen = $key->mgfHLen;
+ $this->encryptionMode = $key->encryptionMode;
+ $this->signatureMode = $key->signatureMode;
+ $this->password = $key->password;
+ $this->configFile = $key->configFile;
+ $this->comment = $key->comment;
+
+ if (is_object($key->hash)) {
+ $this->hash = new Hash($key->hash->getHash());
+ }
+ if (is_object($key->mgfHash)) {
+ $this->mgfHash = new Hash($key->mgfHash->getHash());
+ }
+
+ if (is_object($key->modulus)) {
+ $this->modulus = $key->modulus->copy();
+ }
+ if (is_object($key->exponent)) {
+ $this->exponent = $key->exponent->copy();
+ }
+ if (is_object($key->publicExponent)) {
+ $this->publicExponent = $key->publicExponent->copy();
+ }
+
+ $this->primes = array();
+ $this->exponents = array();
+ $this->coefficients = array();
+
+ foreach ($this->primes as $prime) {
+ $this->primes[] = $prime->copy();
+ }
+ foreach ($this->exponents as $exponent) {
+ $this->exponents[] = $exponent->copy();
+ }
+ foreach ($this->coefficients as $coefficient) {
+ $this->coefficients[] = $coefficient->copy();
+ }
+
+ return true;
+ }
+
+ if ($type === false) {
+ $types = array(
+ self::PUBLIC_FORMAT_RAW,
+ self::PRIVATE_FORMAT_PKCS1,
+ self::PRIVATE_FORMAT_XML,
+ self::PRIVATE_FORMAT_PUTTY,
+ self::PUBLIC_FORMAT_OPENSSH
+ );
+ foreach ($types as $type) {
+ $components = $this->_parseKey($key, $type);
+ if ($components !== false) {
+ break;
+ }
+ }
+ } else {
+ $components = $this->_parseKey($key, $type);
+ }
+
+ if ($components === false) {
+ $this->comment = null;
+ $this->modulus = null;
+ $this->k = null;
+ $this->exponent = null;
+ $this->primes = null;
+ $this->exponents = null;
+ $this->coefficients = null;
+ $this->publicExponent = null;
+
+ return false;
+ }
+
+ if (isset($components['comment']) && $components['comment'] !== false) {
+ $this->comment = $components['comment'];
+ }
+ $this->modulus = $components['modulus'];
+ $this->k = strlen($this->modulus->toBytes());
+ $this->exponent = isset($components['privateExponent']) ? $components['privateExponent'] : $components['publicExponent'];
+ if (isset($components['primes'])) {
+ $this->primes = $components['primes'];
+ $this->exponents = $components['exponents'];
+ $this->coefficients = $components['coefficients'];
+ $this->publicExponent = $components['publicExponent'];
+ } else {
+ $this->primes = array();
+ $this->exponents = array();
+ $this->coefficients = array();
+ $this->publicExponent = false;
+ }
+
+ switch ($type) {
+ case self::PUBLIC_FORMAT_OPENSSH:
+ case self::PUBLIC_FORMAT_RAW:
+ $this->setPublicKey();
+ break;
+ case self::PRIVATE_FORMAT_PKCS1:
+ switch (true) {
+ case strpos($key, '-BEGIN PUBLIC KEY-') !== false:
+ case strpos($key, '-BEGIN RSA PUBLIC KEY-') !== false:
+ $this->setPublicKey();
+ }
+ }
+
+ return true;
+ }
+
+ /**
+ * Sets the password
+ *
+ * Private keys can be encrypted with a password. To unset the password, pass in the empty string or false.
+ * Or rather, pass in $password such that empty($password) && !is_string($password) is true.
+ *
+ * @see self::createKey()
+ * @see self::loadKey()
+ * @access public
+ * @param string $password
+ */
+ function setPassword($password = false)
+ {
+ $this->password = $password;
+ }
+
+ /**
+ * Defines the public key
+ *
+ * Some private key formats define the public exponent and some don't. Those that don't define it are problematic when
+ * used in certain contexts. For example, in SSH-2, RSA authentication works by sending the public key along with a
+ * message signed by the private key to the server. The SSH-2 server looks the public key up in an index of public keys
+ * and if it's present then proceeds to verify the signature. Problem is, if your private key doesn't include the public
+ * exponent this won't work unless you manually add the public exponent. phpseclib tries to guess if the key being used
+ * is the public key but in the event that it guesses incorrectly you might still want to explicitly set the key as being
+ * public.
+ *
+ * Do note that when a new key is loaded the index will be cleared.
+ *
+ * Returns true on success, false on failure
+ *
+ * @see self::getPublicKey()
+ * @access public
+ * @param string $key optional
+ * @param int $type optional
+ * @return bool
+ */
+ function setPublicKey($key = false, $type = false)
+ {
+ // if a public key has already been loaded return false
+ if (!empty($this->publicExponent)) {
+ return false;
+ }
+
+ if ($key === false && !empty($this->modulus)) {
+ $this->publicExponent = $this->exponent;
+ return true;
+ }
+
+ if ($type === false) {
+ $types = array(
+ self::PUBLIC_FORMAT_RAW,
+ self::PUBLIC_FORMAT_PKCS1,
+ self::PUBLIC_FORMAT_XML,
+ self::PUBLIC_FORMAT_OPENSSH
+ );
+ foreach ($types as $type) {
+ $components = $this->_parseKey($key, $type);
+ if ($components !== false) {
+ break;
+ }
+ }
+ } else {
+ $components = $this->_parseKey($key, $type);
+ }
+
+ if ($components === false) {
+ return false;
+ }
+
+ if (empty($this->modulus) || !$this->modulus->equals($components['modulus'])) {
+ $this->modulus = $components['modulus'];
+ $this->exponent = $this->publicExponent = $components['publicExponent'];
+ return true;
+ }
+
+ $this->publicExponent = $components['publicExponent'];
+
+ return true;
+ }
+
+ /**
+ * Defines the private key
+ *
+ * If phpseclib guessed a private key was a public key and loaded it as such it might be desirable to force
+ * phpseclib to treat the key as a private key. This function will do that.
+ *
+ * Do note that when a new key is loaded the index will be cleared.
+ *
+ * Returns true on success, false on failure
+ *
+ * @see self::getPublicKey()
+ * @access public
+ * @param string $key optional
+ * @param int $type optional
+ * @return bool
+ */
+ function setPrivateKey($key = false, $type = false)
+ {
+ if ($key === false && !empty($this->publicExponent)) {
+ $this->publicExponent = false;
+ return true;
+ }
+
+ $rsa = new RSA();
+ if (!$rsa->loadKey($key, $type)) {
+ return false;
+ }
+ $rsa->publicExponent = false;
+
+ // don't overwrite the old key if the new key is invalid
+ $this->loadKey($rsa);
+ return true;
+ }
+
+ /**
+ * Returns the public key
+ *
+ * The public key is only returned under two circumstances - if the private key had the public key embedded within it
+ * or if the public key was set via setPublicKey(). If the currently loaded key is supposed to be the public key this
+ * function won't return it since this library, for the most part, doesn't distinguish between public and private keys.
+ *
+ * @see self::getPublicKey()
+ * @access public
+ * @param string $key
+ * @param int $type optional
+ */
+ function getPublicKey($type = self::PUBLIC_FORMAT_PKCS8)
+ {
+ if (empty($this->modulus) || empty($this->publicExponent)) {
+ return false;
+ }
+
+ $oldFormat = $this->publicKeyFormat;
+ $this->publicKeyFormat = $type;
+ $temp = $this->_convertPublicKey($this->modulus, $this->publicExponent);
+ $this->publicKeyFormat = $oldFormat;
+ return $temp;
+ }
+
+ /**
+ * Returns the public key's fingerprint
+ *
+ * The public key's fingerprint is returned, which is equivalent to running `ssh-keygen -lf rsa.pub`. If there is
+ * no public key currently loaded, false is returned.
+ * Example output (md5): "c1:b1:30:29:d7:b8:de:6c:97:77:10:d7:46:41:63:87" (as specified by RFC 4716)
+ *
+ * @access public
+ * @param string $algorithm The hashing algorithm to be used. Valid options are 'md5' and 'sha256'. False is returned
+ * for invalid values.
+ * @return mixed
+ */
+ function getPublicKeyFingerprint($algorithm = 'md5')
+ {
+ if (empty($this->modulus) || empty($this->publicExponent)) {
+ return false;
+ }
+
+ $modulus = $this->modulus->toBytes(true);
+ $publicExponent = $this->publicExponent->toBytes(true);
+
+ $RSAPublicKey = pack('Na*Na*Na*', strlen('ssh-rsa'), 'ssh-rsa', strlen($publicExponent), $publicExponent, strlen($modulus), $modulus);
+
+ switch ($algorithm) {
+ case 'sha256':
+ $hash = new Hash('sha256');
+ $base = base64_encode($hash->hash($RSAPublicKey));
+ return substr($base, 0, strlen($base) - 1);
+ case 'md5':
+ return substr(chunk_split(md5($RSAPublicKey), 2, ':'), 0, -1);
+ default:
+ return false;
+ }
+ }
+
+ /**
+ * Returns the private key
+ *
+ * The private key is only returned if the currently loaded key contains the constituent prime numbers.
+ *
+ * @see self::getPublicKey()
+ * @access public
+ * @param string $key
+ * @param int $type optional
+ * @return mixed
+ */
+ function getPrivateKey($type = self::PUBLIC_FORMAT_PKCS1)
+ {
+ if (empty($this->primes)) {
+ return false;
+ }
+
+ $oldFormat = $this->privateKeyFormat;
+ $this->privateKeyFormat = $type;
+ $temp = $this->_convertPrivateKey($this->modulus, $this->publicExponent, $this->exponent, $this->primes, $this->exponents, $this->coefficients);
+ $this->privateKeyFormat = $oldFormat;
+ return $temp;
+ }
+
+ /**
+ * Returns a minimalistic private key
+ *
+ * Returns the private key without the prime number constituants. Structurally identical to a public key that
+ * hasn't been set as the public key
+ *
+ * @see self::getPrivateKey()
+ * @access private
+ * @param string $key
+ * @param int $type optional
+ */
+ function _getPrivatePublicKey($mode = self::PUBLIC_FORMAT_PKCS8)
+ {
+ if (empty($this->modulus) || empty($this->exponent)) {
+ return false;
+ }
+
+ $oldFormat = $this->publicKeyFormat;
+ $this->publicKeyFormat = $mode;
+ $temp = $this->_convertPublicKey($this->modulus, $this->exponent);
+ $this->publicKeyFormat = $oldFormat;
+ return $temp;
+ }
+
+ /**
+ * __toString() magic method
+ *
+ * @access public
+ * @return string
+ */
+ function __toString()
+ {
+ $key = $this->getPrivateKey($this->privateKeyFormat);
+ if ($key !== false) {
+ return $key;
+ }
+ $key = $this->_getPrivatePublicKey($this->publicKeyFormat);
+ return $key !== false ? $key : '';
+ }
+
+ /**
+ * __clone() magic method
+ *
+ * @access public
+ * @return Crypt_RSA
+ */
+ function __clone()
+ {
+ $key = new RSA();
+ $key->loadKey($this);
+ return $key;
+ }
+
+ /**
+ * Generates the smallest and largest numbers requiring $bits bits
+ *
+ * @access private
+ * @param int $bits
+ * @return array
+ */
+ function _generateMinMax($bits)
+ {
+ $bytes = $bits >> 3;
+ $min = str_repeat(chr(0), $bytes);
+ $max = str_repeat(chr(0xFF), $bytes);
+ $msb = $bits & 7;
+ if ($msb) {
+ $min = chr(1 << ($msb - 1)) . $min;
+ $max = chr((1 << $msb) - 1) . $max;
+ } else {
+ $min[0] = chr(0x80);
+ }
+
+ return array(
+ 'min' => new BigInteger($min, 256),
+ 'max' => new BigInteger($max, 256)
+ );
+ }
+
+ /**
+ * DER-decode the length
+ *
+ * DER supports lengths up to (2**8)**127, however, we'll only support lengths up to (2**8)**4. See
+ * {@link http://itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#p=13 X.690 paragraph 8.1.3} for more information.
+ *
+ * @access private
+ * @param string $string
+ * @return int
+ */
+ function _decodeLength(&$string)
+ {
+ $length = ord($this->_string_shift($string));
+ if ($length & 0x80) { // definite length, long form
+ $length&= 0x7F;
+ $temp = $this->_string_shift($string, $length);
+ list(, $length) = unpack('N', substr(str_pad($temp, 4, chr(0), STR_PAD_LEFT), -4));
+ }
+ return $length;
+ }
+
+ /**
+ * DER-encode the length
+ *
+ * DER supports lengths up to (2**8)**127, however, we'll only support lengths up to (2**8)**4. See
+ * {@link http://itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#p=13 X.690 paragraph 8.1.3} for more information.
+ *
+ * @access private
+ * @param int $length
+ * @return string
+ */
+ function _encodeLength($length)
+ {
+ if ($length <= 0x7F) {
+ return chr($length);
+ }
+
+ $temp = ltrim(pack('N', $length), chr(0));
+ return pack('Ca*', 0x80 | strlen($temp), $temp);
+ }
+
+ /**
+ * String Shift
+ *
+ * Inspired by array_shift
+ *
+ * @param string $string
+ * @param int $index
+ * @return string
+ * @access private
+ */
+ function _string_shift(&$string, $index = 1)
+ {
+ $substr = substr($string, 0, $index);
+ $string = substr($string, $index);
+ return $substr;
+ }
+
+ /**
+ * Determines the private key format
+ *
+ * @see self::createKey()
+ * @access public
+ * @param int $format
+ */
+ function setPrivateKeyFormat($format)
+ {
+ $this->privateKeyFormat = $format;
+ }
+
+ /**
+ * Determines the public key format
+ *
+ * @see self::createKey()
+ * @access public
+ * @param int $format
+ */
+ function setPublicKeyFormat($format)
+ {
+ $this->publicKeyFormat = $format;
+ }
+
+ /**
+ * Determines which hashing function should be used
+ *
+ * Used with signature production / verification and (if the encryption mode is self::ENCRYPTION_OAEP) encryption and
+ * decryption. If $hash isn't supported, sha1 is used.
+ *
+ * @access public
+ * @param string $hash
+ */
+ function setHash($hash)
+ {
+ // \phpseclib\Crypt\Hash supports algorithms that PKCS#1 doesn't support. md5-96 and sha1-96, for example.
+ switch ($hash) {
+ case 'md2':
+ case 'md5':
+ case 'sha1':
+ case 'sha256':
+ case 'sha384':
+ case 'sha512':
+ $this->hash = new Hash($hash);
+ $this->hashName = $hash;
+ break;
+ default:
+ $this->hash = new Hash('sha1');
+ $this->hashName = 'sha1';
+ }
+ $this->hLen = $this->hash->getLength();
+ }
+
+ /**
+ * Determines which hashing function should be used for the mask generation function
+ *
+ * The mask generation function is used by self::ENCRYPTION_OAEP and self::SIGNATURE_PSS and although it's
+ * best if Hash and MGFHash are set to the same thing this is not a requirement.
+ *
+ * @access public
+ * @param string $hash
+ */
+ function setMGFHash($hash)
+ {
+ // \phpseclib\Crypt\Hash supports algorithms that PKCS#1 doesn't support. md5-96 and sha1-96, for example.
+ switch ($hash) {
+ case 'md2':
+ case 'md5':
+ case 'sha1':
+ case 'sha256':
+ case 'sha384':
+ case 'sha512':
+ $this->mgfHash = new Hash($hash);
+ break;
+ default:
+ $this->mgfHash = new Hash('sha1');
+ }
+ $this->mgfHLen = $this->mgfHash->getLength();
+ }
+
+ /**
+ * Determines the salt length
+ *
+ * To quote from {@link http://tools.ietf.org/html/rfc3447#page-38 RFC3447#page-38}:
+ *
+ * Typical salt lengths in octets are hLen (the length of the output
+ * of the hash function Hash) and 0.
+ *
+ * @access public
+ * @param int $format
+ */
+ function setSaltLength($sLen)
+ {
+ $this->sLen = $sLen;
+ }
+
+ /**
+ * Integer-to-Octet-String primitive
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-4.1 RFC3447#section-4.1}.
+ *
+ * @access private
+ * @param \phpseclib\Math\BigInteger $x
+ * @param int $xLen
+ * @return string
+ */
+ function _i2osp($x, $xLen)
+ {
+ $x = $x->toBytes();
+ if (strlen($x) > $xLen) {
+ user_error('Integer too large');
+ return false;
+ }
+ return str_pad($x, $xLen, chr(0), STR_PAD_LEFT);
+ }
+
+ /**
+ * Octet-String-to-Integer primitive
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-4.2 RFC3447#section-4.2}.
+ *
+ * @access private
+ * @param string $x
+ * @return \phpseclib\Math\BigInteger
+ */
+ function _os2ip($x)
+ {
+ return new BigInteger($x, 256);
+ }
+
+ /**
+ * Exponentiate with or without Chinese Remainder Theorem
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-5.1.1 RFC3447#section-5.1.2}.
+ *
+ * @access private
+ * @param \phpseclib\Math\BigInteger $x
+ * @return \phpseclib\Math\BigInteger
+ */
+ function _exponentiate($x)
+ {
+ switch (true) {
+ case empty($this->primes):
+ case $this->primes[1]->equals($this->zero):
+ case empty($this->coefficients):
+ case $this->coefficients[2]->equals($this->zero):
+ case empty($this->exponents):
+ case $this->exponents[1]->equals($this->zero):
+ return $x->modPow($this->exponent, $this->modulus);
+ }
+
+ $num_primes = count($this->primes);
+
+ if (defined('CRYPT_RSA_DISABLE_BLINDING')) {
+ $m_i = array(
+ 1 => $x->modPow($this->exponents[1], $this->primes[1]),
+ 2 => $x->modPow($this->exponents[2], $this->primes[2])
+ );
+ $h = $m_i[1]->subtract($m_i[2]);
+ $h = $h->multiply($this->coefficients[2]);
+ list(, $h) = $h->divide($this->primes[1]);
+ $m = $m_i[2]->add($h->multiply($this->primes[2]));
+
+ $r = $this->primes[1];
+ for ($i = 3; $i <= $num_primes; $i++) {
+ $m_i = $x->modPow($this->exponents[$i], $this->primes[$i]);
+
+ $r = $r->multiply($this->primes[$i - 1]);
+
+ $h = $m_i->subtract($m);
+ $h = $h->multiply($this->coefficients[$i]);
+ list(, $h) = $h->divide($this->primes[$i]);
+
+ $m = $m->add($r->multiply($h));
+ }
+ } else {
+ $smallest = $this->primes[1];
+ for ($i = 2; $i <= $num_primes; $i++) {
+ if ($smallest->compare($this->primes[$i]) > 0) {
+ $smallest = $this->primes[$i];
+ }
+ }
+
+ $one = new BigInteger(1);
+
+ $r = $one->random($one, $smallest->subtract($one));
+
+ $m_i = array(
+ 1 => $this->_blind($x, $r, 1),
+ 2 => $this->_blind($x, $r, 2)
+ );
+ $h = $m_i[1]->subtract($m_i[2]);
+ $h = $h->multiply($this->coefficients[2]);
+ list(, $h) = $h->divide($this->primes[1]);
+ $m = $m_i[2]->add($h->multiply($this->primes[2]));
+
+ $r = $this->primes[1];
+ for ($i = 3; $i <= $num_primes; $i++) {
+ $m_i = $this->_blind($x, $r, $i);
+
+ $r = $r->multiply($this->primes[$i - 1]);
+
+ $h = $m_i->subtract($m);
+ $h = $h->multiply($this->coefficients[$i]);
+ list(, $h) = $h->divide($this->primes[$i]);
+
+ $m = $m->add($r->multiply($h));
+ }
+ }
+
+ return $m;
+ }
+
+ /**
+ * Performs RSA Blinding
+ *
+ * Protects against timing attacks by employing RSA Blinding.
+ * Returns $x->modPow($this->exponents[$i], $this->primes[$i])
+ *
+ * @access private
+ * @param \phpseclib\Math\BigInteger $x
+ * @param \phpseclib\Math\BigInteger $r
+ * @param int $i
+ * @return \phpseclib\Math\BigInteger
+ */
+ function _blind($x, $r, $i)
+ {
+ $x = $x->multiply($r->modPow($this->publicExponent, $this->primes[$i]));
+ $x = $x->modPow($this->exponents[$i], $this->primes[$i]);
+
+ $r = $r->modInverse($this->primes[$i]);
+ $x = $x->multiply($r);
+ list(, $x) = $x->divide($this->primes[$i]);
+
+ return $x;
+ }
+
+ /**
+ * Performs blinded RSA equality testing
+ *
+ * Protects against a particular type of timing attack described.
+ *
+ * See {@link http://codahale.com/a-lesson-in-timing-attacks/ A Lesson In Timing Attacks (or, Don't use MessageDigest.isEquals)}
+ *
+ * Thanks for the heads up singpolyma!
+ *
+ * @access private
+ * @param string $x
+ * @param string $y
+ * @return bool
+ */
+ function _equals($x, $y)
+ {
+ if (strlen($x) != strlen($y)) {
+ return false;
+ }
+
+ $result = 0;
+ for ($i = 0; $i < strlen($x); $i++) {
+ $result |= ord($x[$i]) ^ ord($y[$i]);
+ }
+
+ return $result == 0;
+ }
+
+ /**
+ * RSAEP
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-5.1.1 RFC3447#section-5.1.1}.
+ *
+ * @access private
+ * @param \phpseclib\Math\BigInteger $m
+ * @return \phpseclib\Math\BigInteger
+ */
+ function _rsaep($m)
+ {
+ if ($m->compare($this->zero) < 0 || $m->compare($this->modulus) > 0) {
+ user_error('Message representative out of range');
+ return false;
+ }
+ return $this->_exponentiate($m);
+ }
+
+ /**
+ * RSADP
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-5.1.2 RFC3447#section-5.1.2}.
+ *
+ * @access private
+ * @param \phpseclib\Math\BigInteger $c
+ * @return \phpseclib\Math\BigInteger
+ */
+ function _rsadp($c)
+ {
+ if ($c->compare($this->zero) < 0 || $c->compare($this->modulus) > 0) {
+ user_error('Ciphertext representative out of range');
+ return false;
+ }
+ return $this->_exponentiate($c);
+ }
+
+ /**
+ * RSASP1
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-5.2.1 RFC3447#section-5.2.1}.
+ *
+ * @access private
+ * @param \phpseclib\Math\BigInteger $m
+ * @return \phpseclib\Math\BigInteger
+ */
+ function _rsasp1($m)
+ {
+ if ($m->compare($this->zero) < 0 || $m->compare($this->modulus) > 0) {
+ user_error('Message representative out of range');
+ return false;
+ }
+ return $this->_exponentiate($m);
+ }
+
+ /**
+ * RSAVP1
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-5.2.2 RFC3447#section-5.2.2}.
+ *
+ * @access private
+ * @param \phpseclib\Math\BigInteger $s
+ * @return \phpseclib\Math\BigInteger
+ */
+ function _rsavp1($s)
+ {
+ if ($s->compare($this->zero) < 0 || $s->compare($this->modulus) > 0) {
+ user_error('Signature representative out of range');
+ return false;
+ }
+ return $this->_exponentiate($s);
+ }
+
+ /**
+ * MGF1
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#appendix-B.2.1 RFC3447#appendix-B.2.1}.
+ *
+ * @access private
+ * @param string $mgfSeed
+ * @param int $mgfLen
+ * @return string
+ */
+ function _mgf1($mgfSeed, $maskLen)
+ {
+ // if $maskLen would yield strings larger than 4GB, PKCS#1 suggests a "Mask too long" error be output.
+
+ $t = '';
+ $count = ceil($maskLen / $this->mgfHLen);
+ for ($i = 0; $i < $count; $i++) {
+ $c = pack('N', $i);
+ $t.= $this->mgfHash->hash($mgfSeed . $c);
+ }
+
+ return substr($t, 0, $maskLen);
+ }
+
+ /**
+ * RSAES-OAEP-ENCRYPT
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-7.1.1 RFC3447#section-7.1.1} and
+ * {http://en.wikipedia.org/wiki/Optimal_Asymmetric_Encryption_Padding OAES}.
+ *
+ * @access private
+ * @param string $m
+ * @param string $l
+ * @return string
+ */
+ function _rsaes_oaep_encrypt($m, $l = '')
+ {
+ $mLen = strlen($m);
+
+ // Length checking
+
+ // if $l is larger than two million terrabytes and you're using sha1, PKCS#1 suggests a "Label too long" error
+ // be output.
+
+ if ($mLen > $this->k - 2 * $this->hLen - 2) {
+ user_error('Message too long');
+ return false;
+ }
+
+ // EME-OAEP encoding
+
+ $lHash = $this->hash->hash($l);
+ $ps = str_repeat(chr(0), $this->k - $mLen - 2 * $this->hLen - 2);
+ $db = $lHash . $ps . chr(1) . $m;
+ $seed = Random::string($this->hLen);
+ $dbMask = $this->_mgf1($seed, $this->k - $this->hLen - 1);
+ $maskedDB = $db ^ $dbMask;
+ $seedMask = $this->_mgf1($maskedDB, $this->hLen);
+ $maskedSeed = $seed ^ $seedMask;
+ $em = chr(0) . $maskedSeed . $maskedDB;
+
+ // RSA encryption
+
+ $m = $this->_os2ip($em);
+ $c = $this->_rsaep($m);
+ $c = $this->_i2osp($c, $this->k);
+
+ // Output the ciphertext C
+
+ return $c;
+ }
+
+ /**
+ * RSAES-OAEP-DECRYPT
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-7.1.2 RFC3447#section-7.1.2}. The fact that the error
+ * messages aren't distinguishable from one another hinders debugging, but, to quote from RFC3447#section-7.1.2:
+ *
+ * Note. Care must be taken to ensure that an opponent cannot
+ * distinguish the different error conditions in Step 3.g, whether by
+ * error message or timing, or, more generally, learn partial
+ * information about the encoded message EM. Otherwise an opponent may
+ * be able to obtain useful information about the decryption of the
+ * ciphertext C, leading to a chosen-ciphertext attack such as the one
+ * observed by Manger [36].
+ *
+ * As for $l... to quote from {@link http://tools.ietf.org/html/rfc3447#page-17 RFC3447#page-17}:
+ *
+ * Both the encryption and the decryption operations of RSAES-OAEP take
+ * the value of a label L as input. In this version of PKCS #1, L is
+ * the empty string; other uses of the label are outside the scope of
+ * this document.
+ *
+ * @access private
+ * @param string $c
+ * @param string $l
+ * @return string
+ */
+ function _rsaes_oaep_decrypt($c, $l = '')
+ {
+ // Length checking
+
+ // if $l is larger than two million terrabytes and you're using sha1, PKCS#1 suggests a "Label too long" error
+ // be output.
+
+ if (strlen($c) != $this->k || $this->k < 2 * $this->hLen + 2) {
+ user_error('Decryption error');
+ return false;
+ }
+
+ // RSA decryption
+
+ $c = $this->_os2ip($c);
+ $m = $this->_rsadp($c);
+ if ($m === false) {
+ user_error('Decryption error');
+ return false;
+ }
+ $em = $this->_i2osp($m, $this->k);
+
+ // EME-OAEP decoding
+
+ $lHash = $this->hash->hash($l);
+ $y = ord($em[0]);
+ $maskedSeed = substr($em, 1, $this->hLen);
+ $maskedDB = substr($em, $this->hLen + 1);
+ $seedMask = $this->_mgf1($maskedDB, $this->hLen);
+ $seed = $maskedSeed ^ $seedMask;
+ $dbMask = $this->_mgf1($seed, $this->k - $this->hLen - 1);
+ $db = $maskedDB ^ $dbMask;
+ $lHash2 = substr($db, 0, $this->hLen);
+ $m = substr($db, $this->hLen);
+ if ($lHash != $lHash2) {
+ user_error('Decryption error');
+ return false;
+ }
+ $m = ltrim($m, chr(0));
+ if (ord($m[0]) != 1) {
+ user_error('Decryption error');
+ return false;
+ }
+
+ // Output the message M
+
+ return substr($m, 1);
+ }
+
+ /**
+ * Raw Encryption / Decryption
+ *
+ * Doesn't use padding and is not recommended.
+ *
+ * @access private
+ * @param string $m
+ * @return string
+ */
+ function _raw_encrypt($m)
+ {
+ $temp = $this->_os2ip($m);
+ $temp = $this->_rsaep($temp);
+ return $this->_i2osp($temp, $this->k);
+ }
+
+ /**
+ * RSAES-PKCS1-V1_5-ENCRYPT
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-7.2.1 RFC3447#section-7.2.1}.
+ *
+ * @access private
+ * @param string $m
+ * @return string
+ */
+ function _rsaes_pkcs1_v1_5_encrypt($m)
+ {
+ $mLen = strlen($m);
+
+ // Length checking
+
+ if ($mLen > $this->k - 11) {
+ user_error('Message too long');
+ return false;
+ }
+
+ // EME-PKCS1-v1_5 encoding
+
+ $psLen = $this->k - $mLen - 3;
+ $ps = '';
+ while (strlen($ps) != $psLen) {
+ $temp = Random::string($psLen - strlen($ps));
+ $temp = str_replace("\x00", '', $temp);
+ $ps.= $temp;
+ }
+ $type = 2;
+ // see the comments of _rsaes_pkcs1_v1_5_decrypt() to understand why this is being done
+ if (defined('CRYPT_RSA_PKCS15_COMPAT') && (!isset($this->publicExponent) || $this->exponent !== $this->publicExponent)) {
+ $type = 1;
+ // "The padding string PS shall consist of k-3-||D|| octets. ... for block type 01, they shall have value FF"
+ $ps = str_repeat("\xFF", $psLen);
+ }
+ $em = chr(0) . chr($type) . $ps . chr(0) . $m;
+
+ // RSA encryption
+ $m = $this->_os2ip($em);
+ $c = $this->_rsaep($m);
+ $c = $this->_i2osp($c, $this->k);
+
+ // Output the ciphertext C
+
+ return $c;
+ }
+
+ /**
+ * RSAES-PKCS1-V1_5-DECRYPT
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-7.2.2 RFC3447#section-7.2.2}.
+ *
+ * For compatibility purposes, this function departs slightly from the description given in RFC3447.
+ * The reason being that RFC2313#section-8.1 (PKCS#1 v1.5) states that ciphertext's encrypted by the
+ * private key should have the second byte set to either 0 or 1 and that ciphertext's encrypted by the
+ * public key should have the second byte set to 2. In RFC3447 (PKCS#1 v2.1), the second byte is supposed
+ * to be 2 regardless of which key is used. For compatibility purposes, we'll just check to make sure the
+ * second byte is 2 or less. If it is, we'll accept the decrypted string as valid.
+ *
+ * As a consequence of this, a private key encrypted ciphertext produced with \phpseclib\Crypt\RSA may not decrypt
+ * with a strictly PKCS#1 v1.5 compliant RSA implementation. Public key encrypted ciphertext's should but
+ * not private key encrypted ciphertext's.
+ *
+ * @access private
+ * @param string $c
+ * @return string
+ */
+ function _rsaes_pkcs1_v1_5_decrypt($c)
+ {
+ // Length checking
+
+ if (strlen($c) != $this->k) { // or if k < 11
+ user_error('Decryption error');
+ return false;
+ }
+
+ // RSA decryption
+
+ $c = $this->_os2ip($c);
+ $m = $this->_rsadp($c);
+
+ if ($m === false) {
+ user_error('Decryption error');
+ return false;
+ }
+ $em = $this->_i2osp($m, $this->k);
+
+ // EME-PKCS1-v1_5 decoding
+
+ if (ord($em[0]) != 0 || ord($em[1]) > 2) {
+ user_error('Decryption error');
+ return false;
+ }
+
+ $ps = substr($em, 2, strpos($em, chr(0), 2) - 2);
+ $m = substr($em, strlen($ps) + 3);
+
+ if (strlen($ps) < 8) {
+ user_error('Decryption error');
+ return false;
+ }
+
+ // Output M
+
+ return $m;
+ }
+
+ /**
+ * EMSA-PSS-ENCODE
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-9.1.1 RFC3447#section-9.1.1}.
+ *
+ * @access private
+ * @param string $m
+ * @param int $emBits
+ */
+ function _emsa_pss_encode($m, $emBits)
+ {
+ // if $m is larger than two million terrabytes and you're using sha1, PKCS#1 suggests a "Label too long" error
+ // be output.
+
+ $emLen = ($emBits + 1) >> 3; // ie. ceil($emBits / 8)
+ $sLen = $this->sLen !== null ? $this->sLen : $this->hLen;
+
+ $mHash = $this->hash->hash($m);
+ if ($emLen < $this->hLen + $sLen + 2) {
+ user_error('Encoding error');
+ return false;
+ }
+
+ $salt = Random::string($sLen);
+ $m2 = "\0\0\0\0\0\0\0\0" . $mHash . $salt;
+ $h = $this->hash->hash($m2);
+ $ps = str_repeat(chr(0), $emLen - $sLen - $this->hLen - 2);
+ $db = $ps . chr(1) . $salt;
+ $dbMask = $this->_mgf1($h, $emLen - $this->hLen - 1);
+ $maskedDB = $db ^ $dbMask;
+ $maskedDB[0] = ~chr(0xFF << ($emBits & 7)) & $maskedDB[0];
+ $em = $maskedDB . $h . chr(0xBC);
+
+ return $em;
+ }
+
+ /**
+ * EMSA-PSS-VERIFY
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-9.1.2 RFC3447#section-9.1.2}.
+ *
+ * @access private
+ * @param string $m
+ * @param string $em
+ * @param int $emBits
+ * @return string
+ */
+ function _emsa_pss_verify($m, $em, $emBits)
+ {
+ // if $m is larger than two million terrabytes and you're using sha1, PKCS#1 suggests a "Label too long" error
+ // be output.
+
+ $emLen = ($emBits + 1) >> 3; // ie. ceil($emBits / 8);
+ $sLen = $this->sLen !== null ? $this->sLen : $this->hLen;
+
+ $mHash = $this->hash->hash($m);
+ if ($emLen < $this->hLen + $sLen + 2) {
+ return false;
+ }
+
+ if ($em[strlen($em) - 1] != chr(0xBC)) {
+ return false;
+ }
+
+ $maskedDB = substr($em, 0, -$this->hLen - 1);
+ $h = substr($em, -$this->hLen - 1, $this->hLen);
+ $temp = chr(0xFF << ($emBits & 7));
+ if ((~$maskedDB[0] & $temp) != $temp) {
+ return false;
+ }
+ $dbMask = $this->_mgf1($h, $emLen - $this->hLen - 1);
+ $db = $maskedDB ^ $dbMask;
+ $db[0] = ~chr(0xFF << ($emBits & 7)) & $db[0];
+ $temp = $emLen - $this->hLen - $sLen - 2;
+ if (substr($db, 0, $temp) != str_repeat(chr(0), $temp) || ord($db[$temp]) != 1) {
+ return false;
+ }
+ $salt = substr($db, $temp + 1); // should be $sLen long
+ $m2 = "\0\0\0\0\0\0\0\0" . $mHash . $salt;
+ $h2 = $this->hash->hash($m2);
+ return $this->_equals($h, $h2);
+ }
+
+ /**
+ * RSASSA-PSS-SIGN
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-8.1.1 RFC3447#section-8.1.1}.
+ *
+ * @access private
+ * @param string $m
+ * @return string
+ */
+ function _rsassa_pss_sign($m)
+ {
+ // EMSA-PSS encoding
+
+ $em = $this->_emsa_pss_encode($m, 8 * $this->k - 1);
+
+ // RSA signature
+
+ $m = $this->_os2ip($em);
+ $s = $this->_rsasp1($m);
+ $s = $this->_i2osp($s, $this->k);
+
+ // Output the signature S
+
+ return $s;
+ }
+
+ /**
+ * RSASSA-PSS-VERIFY
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-8.1.2 RFC3447#section-8.1.2}.
+ *
+ * @access private
+ * @param string $m
+ * @param string $s
+ * @return string
+ */
+ function _rsassa_pss_verify($m, $s)
+ {
+ // Length checking
+
+ if (strlen($s) != $this->k) {
+ user_error('Invalid signature');
+ return false;
+ }
+
+ // RSA verification
+
+ $modBits = 8 * $this->k;
+
+ $s2 = $this->_os2ip($s);
+ $m2 = $this->_rsavp1($s2);
+ if ($m2 === false) {
+ user_error('Invalid signature');
+ return false;
+ }
+ $em = $this->_i2osp($m2, $modBits >> 3);
+ if ($em === false) {
+ user_error('Invalid signature');
+ return false;
+ }
+
+ // EMSA-PSS verification
+
+ return $this->_emsa_pss_verify($m, $em, $modBits - 1);
+ }
+
+ /**
+ * EMSA-PKCS1-V1_5-ENCODE
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-9.2 RFC3447#section-9.2}.
+ *
+ * @access private
+ * @param string $m
+ * @param int $emLen
+ * @return string
+ */
+ function _emsa_pkcs1_v1_5_encode($m, $emLen)
+ {
+ $h = $this->hash->hash($m);
+ if ($h === false) {
+ return false;
+ }
+
+ // see http://tools.ietf.org/html/rfc3447#page-43
+ switch ($this->hashName) {
+ case 'md2':
+ $t = pack('H*', '3020300c06082a864886f70d020205000410');
+ break;
+ case 'md5':
+ $t = pack('H*', '3020300c06082a864886f70d020505000410');
+ break;
+ case 'sha1':
+ $t = pack('H*', '3021300906052b0e03021a05000414');
+ break;
+ case 'sha256':
+ $t = pack('H*', '3031300d060960864801650304020105000420');
+ break;
+ case 'sha384':
+ $t = pack('H*', '3041300d060960864801650304020205000430');
+ break;
+ case 'sha512':
+ $t = pack('H*', '3051300d060960864801650304020305000440');
+ }
+ $t.= $h;
+ $tLen = strlen($t);
+
+ if ($emLen < $tLen + 11) {
+ user_error('Intended encoded message length too short');
+ return false;
+ }
+
+ $ps = str_repeat(chr(0xFF), $emLen - $tLen - 3);
+
+ $em = "\0\1$ps\0$t";
+
+ return $em;
+ }
+
+ /**
+ * RSASSA-PKCS1-V1_5-SIGN
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-8.2.1 RFC3447#section-8.2.1}.
+ *
+ * @access private
+ * @param string $m
+ * @return string
+ */
+ function _rsassa_pkcs1_v1_5_sign($m)
+ {
+ // EMSA-PKCS1-v1_5 encoding
+
+ $em = $this->_emsa_pkcs1_v1_5_encode($m, $this->k);
+ if ($em === false) {
+ user_error('RSA modulus too short');
+ return false;
+ }
+
+ // RSA signature
+
+ $m = $this->_os2ip($em);
+ $s = $this->_rsasp1($m);
+ $s = $this->_i2osp($s, $this->k);
+
+ // Output the signature S
+
+ return $s;
+ }
+
+ /**
+ * RSASSA-PKCS1-V1_5-VERIFY
+ *
+ * See {@link http://tools.ietf.org/html/rfc3447#section-8.2.2 RFC3447#section-8.2.2}.
+ *
+ * @access private
+ * @param string $m
+ * @return string
+ */
+ function _rsassa_pkcs1_v1_5_verify($m, $s)
+ {
+ // Length checking
+
+ if (strlen($s) != $this->k) {
+ user_error('Invalid signature');
+ return false;
+ }
+
+ // RSA verification
+
+ $s = $this->_os2ip($s);
+ $m2 = $this->_rsavp1($s);
+ if ($m2 === false) {
+ user_error('Invalid signature');
+ return false;
+ }
+ $em = $this->_i2osp($m2, $this->k);
+ if ($em === false) {
+ user_error('Invalid signature');
+ return false;
+ }
+
+ // EMSA-PKCS1-v1_5 encoding
+
+ $em2 = $this->_emsa_pkcs1_v1_5_encode($m, $this->k);
+ if ($em2 === false) {
+ user_error('RSA modulus too short');
+ return false;
+ }
+
+ // Compare
+ return $this->_equals($em, $em2);
+ }
+
+ /**
+ * Set Encryption Mode
+ *
+ * Valid values include self::ENCRYPTION_OAEP and self::ENCRYPTION_PKCS1.
+ *
+ * @access public
+ * @param int $mode
+ */
+ function setEncryptionMode($mode)
+ {
+ $this->encryptionMode = $mode;
+ }
+
+ /**
+ * Set Signature Mode
+ *
+ * Valid values include self::SIGNATURE_PSS and self::SIGNATURE_PKCS1
+ *
+ * @access public
+ * @param int $mode
+ */
+ function setSignatureMode($mode)
+ {
+ $this->signatureMode = $mode;
+ }
+
+ /**
+ * Set public key comment.
+ *
+ * @access public
+ * @param string $comment
+ */
+ function setComment($comment)
+ {
+ $this->comment = $comment;
+ }
+
+ /**
+ * Get public key comment.
+ *
+ * @access public
+ * @return string
+ */
+ function getComment()
+ {
+ return $this->comment;
+ }
+
+ /**
+ * Encryption
+ *
+ * Both self::ENCRYPTION_OAEP and self::ENCRYPTION_PKCS1 both place limits on how long $plaintext can be.
+ * If $plaintext exceeds those limits it will be broken up so that it does and the resultant ciphertext's will
+ * be concatenated together.
+ *
+ * @see self::decrypt()
+ * @access public
+ * @param string $plaintext
+ * @return string
+ */
+ function encrypt($plaintext)
+ {
+ switch ($this->encryptionMode) {
+ case self::ENCRYPTION_NONE:
+ $plaintext = str_split($plaintext, $this->k);
+ $ciphertext = '';
+ foreach ($plaintext as $m) {
+ $ciphertext.= $this->_raw_encrypt($m);
+ }
+ return $ciphertext;
+ case self::ENCRYPTION_PKCS1:
+ $length = $this->k - 11;
+ if ($length <= 0) {
+ return false;
+ }
+
+ $plaintext = str_split($plaintext, $length);
+ $ciphertext = '';
+ foreach ($plaintext as $m) {
+ $ciphertext.= $this->_rsaes_pkcs1_v1_5_encrypt($m);
+ }
+ return $ciphertext;
+ //case self::ENCRYPTION_OAEP:
+ default:
+ $length = $this->k - 2 * $this->hLen - 2;
+ if ($length <= 0) {
+ return false;
+ }
+
+ $plaintext = str_split($plaintext, $length);
+ $ciphertext = '';
+ foreach ($plaintext as $m) {
+ $ciphertext.= $this->_rsaes_oaep_encrypt($m);
+ }
+ return $ciphertext;
+ }
+ }
+
+ /**
+ * Decryption
+ *
+ * @see self::encrypt()
+ * @access public
+ * @param string $plaintext
+ * @return string
+ */
+ function decrypt($ciphertext)
+ {
+ if ($this->k <= 0) {
+ return false;
+ }
+
+ $ciphertext = str_split($ciphertext, $this->k);
+ $ciphertext[count($ciphertext) - 1] = str_pad($ciphertext[count($ciphertext) - 1], $this->k, chr(0), STR_PAD_LEFT);
+
+ $plaintext = '';
+
+ switch ($this->encryptionMode) {
+ case self::ENCRYPTION_NONE:
+ $decrypt = '_raw_encrypt';
+ break;
+ case self::ENCRYPTION_PKCS1:
+ $decrypt = '_rsaes_pkcs1_v1_5_decrypt';
+ break;
+ //case self::ENCRYPTION_OAEP:
+ default:
+ $decrypt = '_rsaes_oaep_decrypt';
+ }
+
+ foreach ($ciphertext as $c) {
+ $temp = $this->$decrypt($c);
+ if ($temp === false) {
+ return false;
+ }
+ $plaintext.= $temp;
+ }
+
+ return $plaintext;
+ }
+
+ /**
+ * Create a signature
+ *
+ * @see self::verify()
+ * @access public
+ * @param string $message
+ * @return string
+ */
+ function sign($message)
+ {
+ if (empty($this->modulus) || empty($this->exponent)) {
+ return false;
+ }
+
+ switch ($this->signatureMode) {
+ case self::SIGNATURE_PKCS1:
+ return $this->_rsassa_pkcs1_v1_5_sign($message);
+ //case self::SIGNATURE_PSS:
+ default:
+ return $this->_rsassa_pss_sign($message);
+ }
+ }
+
+ /**
+ * Verifies a signature
+ *
+ * @see self::sign()
+ * @access public
+ * @param string $message
+ * @param string $signature
+ * @return bool
+ */
+ function verify($message, $signature)
+ {
+ if (empty($this->modulus) || empty($this->exponent)) {
+ return false;
+ }
+
+ switch ($this->signatureMode) {
+ case self::SIGNATURE_PKCS1:
+ return $this->_rsassa_pkcs1_v1_5_verify($message, $signature);
+ //case self::SIGNATURE_PSS:
+ default:
+ return $this->_rsassa_pss_verify($message, $signature);
+ }
+ }
+
+ /**
+ * Extract raw BER from Base64 encoding
+ *
+ * @access private
+ * @param string $str
+ * @return string
+ */
+ function _extractBER($str)
+ {
+ /* X.509 certs are assumed to be base64 encoded but sometimes they'll have additional things in them
+ * above and beyond the ceritificate.
+ * ie. some may have the following preceding the -----BEGIN CERTIFICATE----- line:
+ *
+ * Bag Attributes
+ * localKeyID: 01 00 00 00
+ * subject=/O=organization/OU=org unit/CN=common name
+ * issuer=/O=organization/CN=common name
+ */
+ $temp = preg_replace('#.*?^-+[^-]+-+[\r\n ]*$#ms', '', $str, 1);
+ // remove the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- stuff
+ $temp = preg_replace('#-+[^-]+-+#', '', $temp);
+ // remove new lines
+ $temp = str_replace(array("\r", "\n", ' '), '', $temp);
+ $temp = preg_match('#^[a-zA-Z\d/+]*={0,2}$#', $temp) ? base64_decode($temp) : false;
+ return $temp != false ? $temp : $str;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Random.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Random.php
new file mode 100644
index 00000000..6b29e751
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Random.php
@@ -0,0 +1,270 @@
+<?php
+
+/**
+ * Random Number Generator
+ *
+ * PHP version 5
+ *
+ * Here's a short example of how to use this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * echo bin2hex(\phpseclib\Crypt\Random::string(8));
+ * ?>
+ * </code>
+ *
+ * @category Crypt
+ * @package Random
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2007 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Crypt;
+
+/**
+ * Pure-PHP Random Number Generator
+ *
+ * @package Random
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class Random
+{
+ /**
+ * Generate a random string.
+ *
+ * Although microoptimizations are generally discouraged as they impair readability this function is ripe with
+ * microoptimizations because this function has the potential of being called a huge number of times.
+ * eg. for RSA key generation.
+ *
+ * @param int $length
+ * @return string
+ */
+ static function string($length)
+ {
+ if (version_compare(PHP_VERSION, '7.0.0', '>=')) {
+ try {
+ return \random_bytes($length);
+ } catch (\Throwable $e) {
+ // If a sufficient source of randomness is unavailable, random_bytes() will throw an
+ // object that implements the Throwable interface (Exception, TypeError, Error).
+ // We don't actually need to do anything here. The string() method should just continue
+ // as normal. Note, however, that if we don't have a sufficient source of randomness for
+ // random_bytes(), most of the other calls here will fail too, so we'll end up using
+ // the PHP implementation.
+ }
+ }
+
+ if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
+ // method 1. prior to PHP 5.3 this would call rand() on windows hence the function_exists('class_alias') call.
+ // ie. class_alias is a function that was introduced in PHP 5.3
+ if (extension_loaded('mcrypt') && function_exists('class_alias')) {
+ return @mcrypt_create_iv($length);
+ }
+ // method 2. openssl_random_pseudo_bytes was introduced in PHP 5.3.0 but prior to PHP 5.3.4 there was,
+ // to quote <http://php.net/ChangeLog-5.php#5.3.4>, "possible blocking behavior". as of 5.3.4
+ // openssl_random_pseudo_bytes and mcrypt_create_iv do the exact same thing on Windows. ie. they both
+ // call php_win32_get_random_bytes():
+ //
+ // https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/ext/openssl/openssl.c#L5008
+ // https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/ext/mcrypt/mcrypt.c#L1392
+ //
+ // php_win32_get_random_bytes() is defined thusly:
+ //
+ // https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/win32/winutil.c#L80
+ //
+ // we're calling it, all the same, in the off chance that the mcrypt extension is not available
+ if (extension_loaded('openssl') && version_compare(PHP_VERSION, '5.3.4', '>=')) {
+ return openssl_random_pseudo_bytes($length);
+ }
+ } else {
+ // method 1. the fastest
+ if (extension_loaded('openssl')) {
+ return openssl_random_pseudo_bytes($length);
+ }
+ // method 2
+ static $fp = true;
+ if ($fp === true) {
+ // warning's will be output unles the error suppression operator is used. errors such as
+ // "open_basedir restriction in effect", "Permission denied", "No such file or directory", etc.
+ $fp = @fopen('/dev/urandom', 'rb');
+ }
+ if ($fp !== true && $fp !== false) { // surprisingly faster than !is_bool() or is_resource()
+ return fread($fp, $length);
+ }
+ // method 3. pretty much does the same thing as method 2 per the following url:
+ // https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/ext/mcrypt/mcrypt.c#L1391
+ // surprisingly slower than method 2. maybe that's because mcrypt_create_iv does a bunch of error checking that we're
+ // not doing. regardless, this'll only be called if this PHP script couldn't open /dev/urandom due to open_basedir
+ // restrictions or some such
+ if (extension_loaded('mcrypt')) {
+ return @mcrypt_create_iv($length, MCRYPT_DEV_URANDOM);
+ }
+ }
+ // at this point we have no choice but to use a pure-PHP CSPRNG
+
+ // cascade entropy across multiple PHP instances by fixing the session and collecting all
+ // environmental variables, including the previous session data and the current session
+ // data.
+ //
+ // mt_rand seeds itself by looking at the PID and the time, both of which are (relatively)
+ // easy to guess at. linux uses mouse clicks, keyboard timings, etc, as entropy sources, but
+ // PHP isn't low level to be able to use those as sources and on a web server there's not likely
+ // going to be a ton of keyboard or mouse action. web servers do have one thing that we can use
+ // however, a ton of people visiting the website. obviously you don't want to base your seeding
+ // soley on parameters a potential attacker sends but (1) not everything in $_SERVER is controlled
+ // by the user and (2) this isn't just looking at the data sent by the current user - it's based
+ // on the data sent by all users. one user requests the page and a hash of their info is saved.
+ // another user visits the page and the serialization of their data is utilized along with the
+ // server envirnment stuff and a hash of the previous http request data (which itself utilizes
+ // a hash of the session data before that). certainly an attacker should be assumed to have
+ // full control over his own http requests. he, however, is not going to have control over
+ // everyone's http requests.
+ static $crypto = false, $v;
+ if ($crypto === false) {
+ // save old session data
+ $old_session_id = session_id();
+ $old_use_cookies = ini_get('session.use_cookies');
+ $old_session_cache_limiter = session_cache_limiter();
+ $_OLD_SESSION = isset($_SESSION) ? $_SESSION : false;
+ if ($old_session_id != '') {
+ session_write_close();
+ }
+
+ session_id(1);
+ ini_set('session.use_cookies', 0);
+ session_cache_limiter('');
+ session_start();
+
+ $v = $seed = $_SESSION['seed'] = pack('H*', sha1(
+ (isset($_SERVER) ? phpseclib_safe_serialize($_SERVER) : '') .
+ (isset($_POST) ? phpseclib_safe_serialize($_POST) : '') .
+ (isset($_GET) ? phpseclib_safe_serialize($_GET) : '') .
+ (isset($_COOKIE) ? phpseclib_safe_serialize($_COOKIE) : '') .
+ phpseclib_safe_serialize($GLOBALS) .
+ phpseclib_safe_serialize($_SESSION) .
+ phpseclib_safe_serialize($_OLD_SESSION)
+ ));
+ if (!isset($_SESSION['count'])) {
+ $_SESSION['count'] = 0;
+ }
+ $_SESSION['count']++;
+
+ session_write_close();
+
+ // restore old session data
+ if ($old_session_id != '') {
+ session_id($old_session_id);
+ session_start();
+ ini_set('session.use_cookies', $old_use_cookies);
+ session_cache_limiter($old_session_cache_limiter);
+ } else {
+ if ($_OLD_SESSION !== false) {
+ $_SESSION = $_OLD_SESSION;
+ unset($_OLD_SESSION);
+ } else {
+ unset($_SESSION);
+ }
+ }
+
+ // in SSH2 a shared secret and an exchange hash are generated through the key exchange process.
+ // the IV client to server is the hash of that "nonce" with the letter A and for the encryption key it's the letter C.
+ // if the hash doesn't produce enough a key or an IV that's long enough concat successive hashes of the
+ // original hash and the current hash. we'll be emulating that. for more info see the following URL:
+ //
+ // http://tools.ietf.org/html/rfc4253#section-7.2
+ //
+ // see the is_string($crypto) part for an example of how to expand the keys
+ $key = pack('H*', sha1($seed . 'A'));
+ $iv = pack('H*', sha1($seed . 'C'));
+
+ // ciphers are used as per the nist.gov link below. also, see this link:
+ //
+ // http://en.wikipedia.org/wiki/Cryptographically_secure_pseudorandom_number_generator#Designs_based_on_cryptographic_primitives
+ switch (true) {
+ case class_exists('\phpseclib\Crypt\AES'):
+ $crypto = new AES(Base::MODE_CTR);
+ break;
+ case class_exists('\phpseclib\Crypt\Twofish'):
+ $crypto = new Twofish(Base::MODE_CTR);
+ break;
+ case class_exists('\phpseclib\Crypt\Blowfish'):
+ $crypto = new Blowfish(Base::MODE_CTR);
+ break;
+ case class_exists('\phpseclib\Crypt\TripleDES'):
+ $crypto = new TripleDES(Base::MODE_CTR);
+ break;
+ case class_exists('\phpseclib\Crypt\DES'):
+ $crypto = new DES(Base::MODE_CTR);
+ break;
+ case class_exists('\phpseclib\Crypt\RC4'):
+ $crypto = new RC4();
+ break;
+ default:
+ user_error(__CLASS__ . ' requires at least one symmetric cipher be loaded');
+ return false;
+ }
+
+ $crypto->setKey($key);
+ $crypto->setIV($iv);
+ $crypto->enableContinuousBuffer();
+ }
+
+ //return $crypto->encrypt(str_repeat("\0", $length));
+
+ // the following is based off of ANSI X9.31:
+ //
+ // http://csrc.nist.gov/groups/STM/cavp/documents/rng/931rngext.pdf
+ //
+ // OpenSSL uses that same standard for it's random numbers:
+ //
+ // http://www.opensource.apple.com/source/OpenSSL/OpenSSL-38/openssl/fips-1.0/rand/fips_rand.c
+ // (do a search for "ANS X9.31 A.2.4")
+ $result = '';
+ while (strlen($result) < $length) {
+ $i = $crypto->encrypt(microtime()); // strlen(microtime()) == 21
+ $r = $crypto->encrypt($i ^ $v); // strlen($v) == 20
+ $v = $crypto->encrypt($r ^ $i); // strlen($r) == 20
+ $result.= $r;
+ }
+ return substr($result, 0, $length);
+ }
+}
+
+if (!function_exists('phpseclib_safe_serialize')) {
+ /**
+ * Safely serialize variables
+ *
+ * If a class has a private __sleep() method it'll give a fatal error on PHP 5.2 and earlier.
+ * PHP 5.3 will emit a warning.
+ *
+ * @param mixed $arr
+ * @access public
+ */
+ function phpseclib_safe_serialize(&$arr)
+ {
+ if (is_object($arr)) {
+ return '';
+ }
+ if (!is_array($arr)) {
+ return serialize($arr);
+ }
+ // prevent circular array recursion
+ if (isset($arr['__phpseclib_marker'])) {
+ return '';
+ }
+ $safearr = array();
+ $arr['__phpseclib_marker'] = true;
+ foreach (array_keys($arr) as $key) {
+ // do not recurse on the '__phpseclib_marker' key itself, for smaller memory usage
+ if ($key !== '__phpseclib_marker') {
+ $safearr[$key] = phpseclib_safe_serialize($arr[$key]);
+ }
+ }
+ unset($arr['__phpseclib_marker']);
+ return serialize($safearr);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Rijndael.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Rijndael.php
new file mode 100644
index 00000000..3648a197
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Rijndael.php
@@ -0,0 +1,936 @@
+<?php
+
+/**
+ * Pure-PHP implementation of Rijndael.
+ *
+ * Uses mcrypt, if available/possible, and an internal implementation, otherwise.
+ *
+ * PHP version 5
+ *
+ * If {@link self::setBlockLength() setBlockLength()} isn't called, it'll be assumed to be 128 bits. If
+ * {@link self::setKeyLength() setKeyLength()} isn't called, it'll be calculated from
+ * {@link self::setKey() setKey()}. ie. if the key is 128-bits, the key length will be 128-bits. If it's
+ * 136-bits it'll be null-padded to 192-bits and 192 bits will be the key length until
+ * {@link self::setKey() setKey()} is called, again, at which point, it'll be recalculated.
+ *
+ * Not all Rijndael implementations may support 160-bits or 224-bits as the block length / key length. mcrypt, for example,
+ * does not. AES, itself, only supports block lengths of 128 and key lengths of 128, 192, and 256.
+ * {@link http://csrc.nist.gov/archive/aes/rijndael/Rijndael-ammended.pdf#page=10 Rijndael-ammended.pdf#page=10} defines the
+ * algorithm for block lengths of 192 and 256 but not for block lengths / key lengths of 160 and 224. Indeed, 160 and 224
+ * are first defined as valid key / block lengths in
+ * {@link http://csrc.nist.gov/archive/aes/rijndael/Rijndael-ammended.pdf#page=44 Rijndael-ammended.pdf#page=44}:
+ * Extensions: Other block and Cipher Key lengths.
+ * Note: Use of 160/224-bit Keys must be explicitly set by setKeyLength(160) respectively setKeyLength(224).
+ *
+ * {@internal The variable names are the same as those in
+ * {@link http://www.csrc.nist.gov/publications/fips/fips197/fips-197.pdf#page=10 fips-197.pdf#page=10}.}}
+ *
+ * Here's a short example of how to use this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $rijndael = new \phpseclib\Crypt\Rijndael();
+ *
+ * $rijndael->setKey('abcdefghijklmnop');
+ *
+ * $size = 10 * 1024;
+ * $plaintext = '';
+ * for ($i = 0; $i < $size; $i++) {
+ * $plaintext.= 'a';
+ * }
+ *
+ * echo $rijndael->decrypt($rijndael->encrypt($plaintext));
+ * ?>
+ * </code>
+ *
+ * @category Crypt
+ * @package Rijndael
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2008 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Crypt;
+
+/**
+ * Pure-PHP implementation of Rijndael.
+ *
+ * @package Rijndael
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class Rijndael extends Base
+{
+ /**
+ * The mcrypt specific name of the cipher
+ *
+ * Mcrypt is useable for 128/192/256-bit $block_size/$key_length. For 160/224 not.
+ * \phpseclib\Crypt\Rijndael determines automatically whether mcrypt is useable
+ * or not for the current $block_size/$key_length.
+ * In case of, $cipher_name_mcrypt will be set dynamically at run time accordingly.
+ *
+ * @see \phpseclib\Crypt\Base::cipher_name_mcrypt
+ * @see \phpseclib\Crypt\Base::engine
+ * @see self::isValidEngine()
+ * @var string
+ * @access private
+ */
+ var $cipher_name_mcrypt = 'rijndael-128';
+
+ /**
+ * The default salt used by setPassword()
+ *
+ * @see \phpseclib\Crypt\Base::password_default_salt
+ * @see \phpseclib\Crypt\Base::setPassword()
+ * @var string
+ * @access private
+ */
+ var $password_default_salt = 'phpseclib';
+
+ /**
+ * The Key Schedule
+ *
+ * @see self::_setup()
+ * @var array
+ * @access private
+ */
+ var $w;
+
+ /**
+ * The Inverse Key Schedule
+ *
+ * @see self::_setup()
+ * @var array
+ * @access private
+ */
+ var $dw;
+
+ /**
+ * The Block Length divided by 32
+ *
+ * @see self::setBlockLength()
+ * @var int
+ * @access private
+ * @internal The max value is 256 / 32 = 8, the min value is 128 / 32 = 4. Exists in conjunction with $block_size
+ * because the encryption / decryption / key schedule creation requires this number and not $block_size. We could
+ * derive this from $block_size or vice versa, but that'd mean we'd have to do multiple shift operations, so in lieu
+ * of that, we'll just precompute it once.
+ */
+ var $Nb = 4;
+
+ /**
+ * The Key Length (in bytes)
+ *
+ * @see self::setKeyLength()
+ * @var int
+ * @access private
+ * @internal The max value is 256 / 8 = 32, the min value is 128 / 8 = 16. Exists in conjunction with $Nk
+ * because the encryption / decryption / key schedule creation requires this number and not $key_length. We could
+ * derive this from $key_length or vice versa, but that'd mean we'd have to do multiple shift operations, so in lieu
+ * of that, we'll just precompute it once.
+ */
+ var $key_length = 16;
+
+ /**
+ * The Key Length divided by 32
+ *
+ * @see self::setKeyLength()
+ * @var int
+ * @access private
+ * @internal The max value is 256 / 32 = 8, the min value is 128 / 32 = 4
+ */
+ var $Nk = 4;
+
+ /**
+ * The Number of Rounds
+ *
+ * @var int
+ * @access private
+ * @internal The max value is 14, the min value is 10.
+ */
+ var $Nr;
+
+ /**
+ * Shift offsets
+ *
+ * @var array
+ * @access private
+ */
+ var $c;
+
+ /**
+ * Holds the last used key- and block_size information
+ *
+ * @var array
+ * @access private
+ */
+ var $kl;
+
+ /**
+ * Sets the key length.
+ *
+ * Valid key lengths are 128, 160, 192, 224, and 256. If the length is less than 128, it will be rounded up to
+ * 128. If the length is greater than 128 and invalid, it will be rounded down to the closest valid amount.
+ *
+ * Note: phpseclib extends Rijndael (and AES) for using 160- and 224-bit keys but they are officially not defined
+ * and the most (if not all) implementations are not able using 160/224-bit keys but round/pad them up to
+ * 192/256 bits as, for example, mcrypt will do.
+ *
+ * That said, if you want be compatible with other Rijndael and AES implementations,
+ * you should not setKeyLength(160) or setKeyLength(224).
+ *
+ * Additional: In case of 160- and 224-bit keys, phpseclib will/can, for that reason, not use
+ * the mcrypt php extension, even if available.
+ * This results then in slower encryption.
+ *
+ * @access public
+ * @param int $length
+ */
+ function setKeyLength($length)
+ {
+ switch (true) {
+ case $length <= 128:
+ $this->key_length = 16;
+ break;
+ case $length <= 160:
+ $this->key_length = 20;
+ break;
+ case $length <= 192:
+ $this->key_length = 24;
+ break;
+ case $length <= 224:
+ $this->key_length = 28;
+ break;
+ default:
+ $this->key_length = 32;
+ }
+
+ parent::setKeyLength($length);
+ }
+
+ /**
+ * Sets the block length
+ *
+ * Valid block lengths are 128, 160, 192, 224, and 256. If the length is less than 128, it will be rounded up to
+ * 128. If the length is greater than 128 and invalid, it will be rounded down to the closest valid amount.
+ *
+ * @access public
+ * @param int $length
+ */
+ function setBlockLength($length)
+ {
+ $length >>= 5;
+ if ($length > 8) {
+ $length = 8;
+ } elseif ($length < 4) {
+ $length = 4;
+ }
+ $this->Nb = $length;
+ $this->block_size = $length << 2;
+ $this->changed = true;
+ $this->_setEngine();
+ }
+
+ /**
+ * Test for engine validity
+ *
+ * This is mainly just a wrapper to set things up for \phpseclib\Crypt\Base::isValidEngine()
+ *
+ * @see \phpseclib\Crypt\Base::__construct()
+ * @param int $engine
+ * @access public
+ * @return bool
+ */
+ function isValidEngine($engine)
+ {
+ switch ($engine) {
+ case self::ENGINE_OPENSSL:
+ if ($this->block_size != 16) {
+ return false;
+ }
+ $this->cipher_name_openssl_ecb = 'aes-' . ($this->key_length << 3) . '-ecb';
+ $this->cipher_name_openssl = 'aes-' . ($this->key_length << 3) . '-' . $this->_openssl_translate_mode();
+ break;
+ case self::ENGINE_MCRYPT:
+ $this->cipher_name_mcrypt = 'rijndael-' . ($this->block_size << 3);
+ if ($this->key_length % 8) { // is it a 160/224-bit key?
+ // mcrypt is not usable for them, only for 128/192/256-bit keys
+ return false;
+ }
+ }
+
+ return parent::isValidEngine($engine);
+ }
+
+ /**
+ * Encrypts a block
+ *
+ * @access private
+ * @param string $in
+ * @return string
+ */
+ function _encryptBlock($in)
+ {
+ static $tables;
+ if (empty($tables)) {
+ $tables = &$this->_getTables();
+ }
+ $t0 = $tables[0];
+ $t1 = $tables[1];
+ $t2 = $tables[2];
+ $t3 = $tables[3];
+ $sbox = $tables[4];
+
+ $state = array();
+ $words = unpack('N*', $in);
+
+ $c = $this->c;
+ $w = $this->w;
+ $Nb = $this->Nb;
+ $Nr = $this->Nr;
+
+ // addRoundKey
+ $wc = $Nb - 1;
+ foreach ($words as $word) {
+ $state[] = $word ^ $w[++$wc];
+ }
+
+ // fips-197.pdf#page=19, "Figure 5. Pseudo Code for the Cipher", states that this loop has four components -
+ // subBytes, shiftRows, mixColumns, and addRoundKey. fips-197.pdf#page=30, "Implementation Suggestions Regarding
+ // Various Platforms" suggests that performs enhanced implementations are described in Rijndael-ammended.pdf.
+ // Rijndael-ammended.pdf#page=20, "Implementation aspects / 32-bit processor", discusses such an optimization.
+ // Unfortunately, the description given there is not quite correct. Per aes.spec.v316.pdf#page=19 [1],
+ // equation (7.4.7) is supposed to use addition instead of subtraction, so we'll do that here, as well.
+
+ // [1] http://fp.gladman.plus.com/cryptography_technology/rijndael/aes.spec.v316.pdf
+ $temp = array();
+ for ($round = 1; $round < $Nr; ++$round) {
+ $i = 0; // $c[0] == 0
+ $j = $c[1];
+ $k = $c[2];
+ $l = $c[3];
+
+ while ($i < $Nb) {
+ $temp[$i] = $t0[$state[$i] >> 24 & 0x000000FF] ^
+ $t1[$state[$j] >> 16 & 0x000000FF] ^
+ $t2[$state[$k] >> 8 & 0x000000FF] ^
+ $t3[$state[$l] & 0x000000FF] ^
+ $w[++$wc];
+ ++$i;
+ $j = ($j + 1) % $Nb;
+ $k = ($k + 1) % $Nb;
+ $l = ($l + 1) % $Nb;
+ }
+ $state = $temp;
+ }
+
+ // subWord
+ for ($i = 0; $i < $Nb; ++$i) {
+ $state[$i] = $sbox[$state[$i] & 0x000000FF] |
+ ($sbox[$state[$i] >> 8 & 0x000000FF] << 8) |
+ ($sbox[$state[$i] >> 16 & 0x000000FF] << 16) |
+ ($sbox[$state[$i] >> 24 & 0x000000FF] << 24);
+ }
+
+ // shiftRows + addRoundKey
+ $i = 0; // $c[0] == 0
+ $j = $c[1];
+ $k = $c[2];
+ $l = $c[3];
+ while ($i < $Nb) {
+ $temp[$i] = ($state[$i] & 0xFF000000) ^
+ ($state[$j] & 0x00FF0000) ^
+ ($state[$k] & 0x0000FF00) ^
+ ($state[$l] & 0x000000FF) ^
+ $w[$i];
+ ++$i;
+ $j = ($j + 1) % $Nb;
+ $k = ($k + 1) % $Nb;
+ $l = ($l + 1) % $Nb;
+ }
+
+ switch ($Nb) {
+ case 8:
+ return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3], $temp[4], $temp[5], $temp[6], $temp[7]);
+ case 7:
+ return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3], $temp[4], $temp[5], $temp[6]);
+ case 6:
+ return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3], $temp[4], $temp[5]);
+ case 5:
+ return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3], $temp[4]);
+ default:
+ return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3]);
+ }
+ }
+
+ /**
+ * Decrypts a block
+ *
+ * @access private
+ * @param string $in
+ * @return string
+ */
+ function _decryptBlock($in)
+ {
+ static $invtables;
+ if (empty($invtables)) {
+ $invtables = &$this->_getInvTables();
+ }
+ $dt0 = $invtables[0];
+ $dt1 = $invtables[1];
+ $dt2 = $invtables[2];
+ $dt3 = $invtables[3];
+ $isbox = $invtables[4];
+
+ $state = array();
+ $words = unpack('N*', $in);
+
+ $c = $this->c;
+ $dw = $this->dw;
+ $Nb = $this->Nb;
+ $Nr = $this->Nr;
+
+ // addRoundKey
+ $wc = $Nb - 1;
+ foreach ($words as $word) {
+ $state[] = $word ^ $dw[++$wc];
+ }
+
+ $temp = array();
+ for ($round = $Nr - 1; $round > 0; --$round) {
+ $i = 0; // $c[0] == 0
+ $j = $Nb - $c[1];
+ $k = $Nb - $c[2];
+ $l = $Nb - $c[3];
+
+ while ($i < $Nb) {
+ $temp[$i] = $dt0[$state[$i] >> 24 & 0x000000FF] ^
+ $dt1[$state[$j] >> 16 & 0x000000FF] ^
+ $dt2[$state[$k] >> 8 & 0x000000FF] ^
+ $dt3[$state[$l] & 0x000000FF] ^
+ $dw[++$wc];
+ ++$i;
+ $j = ($j + 1) % $Nb;
+ $k = ($k + 1) % $Nb;
+ $l = ($l + 1) % $Nb;
+ }
+ $state = $temp;
+ }
+
+ // invShiftRows + invSubWord + addRoundKey
+ $i = 0; // $c[0] == 0
+ $j = $Nb - $c[1];
+ $k = $Nb - $c[2];
+ $l = $Nb - $c[3];
+
+ while ($i < $Nb) {
+ $word = ($state[$i] & 0xFF000000) |
+ ($state[$j] & 0x00FF0000) |
+ ($state[$k] & 0x0000FF00) |
+ ($state[$l] & 0x000000FF);
+
+ $temp[$i] = $dw[$i] ^ ($isbox[$word & 0x000000FF] |
+ ($isbox[$word >> 8 & 0x000000FF] << 8) |
+ ($isbox[$word >> 16 & 0x000000FF] << 16) |
+ ($isbox[$word >> 24 & 0x000000FF] << 24));
+ ++$i;
+ $j = ($j + 1) % $Nb;
+ $k = ($k + 1) % $Nb;
+ $l = ($l + 1) % $Nb;
+ }
+
+ switch ($Nb) {
+ case 8:
+ return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3], $temp[4], $temp[5], $temp[6], $temp[7]);
+ case 7:
+ return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3], $temp[4], $temp[5], $temp[6]);
+ case 6:
+ return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3], $temp[4], $temp[5]);
+ case 5:
+ return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3], $temp[4]);
+ default:
+ return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3]);
+ }
+ }
+
+ /**
+ * Setup the key (expansion)
+ *
+ * @see \phpseclib\Crypt\Base::_setupKey()
+ * @access private
+ */
+ function _setupKey()
+ {
+ // Each number in $rcon is equal to the previous number multiplied by two in Rijndael's finite field.
+ // See http://en.wikipedia.org/wiki/Finite_field_arithmetic#Multiplicative_inverse
+ static $rcon = array(0,
+ 0x01000000, 0x02000000, 0x04000000, 0x08000000, 0x10000000,
+ 0x20000000, 0x40000000, 0x80000000, 0x1B000000, 0x36000000,
+ 0x6C000000, 0xD8000000, 0xAB000000, 0x4D000000, 0x9A000000,
+ 0x2F000000, 0x5E000000, 0xBC000000, 0x63000000, 0xC6000000,
+ 0x97000000, 0x35000000, 0x6A000000, 0xD4000000, 0xB3000000,
+ 0x7D000000, 0xFA000000, 0xEF000000, 0xC5000000, 0x91000000
+ );
+
+ if (isset($this->kl['key']) && $this->key === $this->kl['key'] && $this->key_length === $this->kl['key_length'] && $this->block_size === $this->kl['block_size']) {
+ // already expanded
+ return;
+ }
+ $this->kl = array('key' => $this->key, 'key_length' => $this->key_length, 'block_size' => $this->block_size);
+
+ $this->Nk = $this->key_length >> 2;
+ // see Rijndael-ammended.pdf#page=44
+ $this->Nr = max($this->Nk, $this->Nb) + 6;
+
+ // shift offsets for Nb = 5, 7 are defined in Rijndael-ammended.pdf#page=44,
+ // "Table 8: Shift offsets in Shiftrow for the alternative block lengths"
+ // shift offsets for Nb = 4, 6, 8 are defined in Rijndael-ammended.pdf#page=14,
+ // "Table 2: Shift offsets for different block lengths"
+ switch ($this->Nb) {
+ case 4:
+ case 5:
+ case 6:
+ $this->c = array(0, 1, 2, 3);
+ break;
+ case 7:
+ $this->c = array(0, 1, 2, 4);
+ break;
+ case 8:
+ $this->c = array(0, 1, 3, 4);
+ }
+
+ $w = array_values(unpack('N*words', $this->key));
+
+ $length = $this->Nb * ($this->Nr + 1);
+ for ($i = $this->Nk; $i < $length; $i++) {
+ $temp = $w[$i - 1];
+ if ($i % $this->Nk == 0) {
+ // according to <http://php.net/language.types.integer>, "the size of an integer is platform-dependent".
+ // on a 32-bit machine, it's 32-bits, and on a 64-bit machine, it's 64-bits. on a 32-bit machine,
+ // 0xFFFFFFFF << 8 == 0xFFFFFF00, but on a 64-bit machine, it equals 0xFFFFFFFF00. as such, doing 'and'
+ // with 0xFFFFFFFF (or 0xFFFFFF00) on a 32-bit machine is unnecessary, but on a 64-bit machine, it is.
+ $temp = (($temp << 8) & 0xFFFFFF00) | (($temp >> 24) & 0x000000FF); // rotWord
+ $temp = $this->_subWord($temp) ^ $rcon[$i / $this->Nk];
+ } elseif ($this->Nk > 6 && $i % $this->Nk == 4) {
+ $temp = $this->_subWord($temp);
+ }
+ $w[$i] = $w[$i - $this->Nk] ^ $temp;
+ }
+
+ // convert the key schedule from a vector of $Nb * ($Nr + 1) length to a matrix with $Nr + 1 rows and $Nb columns
+ // and generate the inverse key schedule. more specifically,
+ // according to <http://csrc.nist.gov/archive/aes/rijndael/Rijndael-ammended.pdf#page=23> (section 5.3.3),
+ // "The key expansion for the Inverse Cipher is defined as follows:
+ // 1. Apply the Key Expansion.
+ // 2. Apply InvMixColumn to all Round Keys except the first and the last one."
+ // also, see fips-197.pdf#page=27, "5.3.5 Equivalent Inverse Cipher"
+ list($dt0, $dt1, $dt2, $dt3) = $this->_getInvTables();
+ $temp = $this->w = $this->dw = array();
+ for ($i = $row = $col = 0; $i < $length; $i++, $col++) {
+ if ($col == $this->Nb) {
+ if ($row == 0) {
+ $this->dw[0] = $this->w[0];
+ } else {
+ // subWord + invMixColumn + invSubWord = invMixColumn
+ $j = 0;
+ while ($j < $this->Nb) {
+ $dw = $this->_subWord($this->w[$row][$j]);
+ $temp[$j] = $dt0[$dw >> 24 & 0x000000FF] ^
+ $dt1[$dw >> 16 & 0x000000FF] ^
+ $dt2[$dw >> 8 & 0x000000FF] ^
+ $dt3[$dw & 0x000000FF];
+ $j++;
+ }
+ $this->dw[$row] = $temp;
+ }
+
+ $col = 0;
+ $row++;
+ }
+ $this->w[$row][$col] = $w[$i];
+ }
+
+ $this->dw[$row] = $this->w[$row];
+
+ // Converting to 1-dim key arrays (both ascending)
+ $this->dw = array_reverse($this->dw);
+ $w = array_pop($this->w);
+ $dw = array_pop($this->dw);
+ foreach ($this->w as $r => $wr) {
+ foreach ($wr as $c => $wc) {
+ $w[] = $wc;
+ $dw[] = $this->dw[$r][$c];
+ }
+ }
+ $this->w = $w;
+ $this->dw = $dw;
+ }
+
+ /**
+ * Performs S-Box substitutions
+ *
+ * @access private
+ * @param int $word
+ */
+ function _subWord($word)
+ {
+ static $sbox;
+ if (empty($sbox)) {
+ list(, , , , $sbox) = $this->_getTables();
+ }
+
+ return $sbox[$word & 0x000000FF] |
+ ($sbox[$word >> 8 & 0x000000FF] << 8) |
+ ($sbox[$word >> 16 & 0x000000FF] << 16) |
+ ($sbox[$word >> 24 & 0x000000FF] << 24);
+ }
+
+ /**
+ * Provides the mixColumns and sboxes tables
+ *
+ * @see self::_encryptBlock()
+ * @see self::_setupInlineCrypt()
+ * @see self::_subWord()
+ * @access private
+ * @return array &$tables
+ */
+ function &_getTables()
+ {
+ static $tables;
+ if (empty($tables)) {
+ // according to <http://csrc.nist.gov/archive/aes/rijndael/Rijndael-ammended.pdf#page=19> (section 5.2.1),
+ // precomputed tables can be used in the mixColumns phase. in that example, they're assigned t0...t3, so
+ // those are the names we'll use.
+ $t3 = array_map('intval', array(
+ // with array_map('intval', ...) we ensure we have only int's and not
+ // some slower floats converted by php automatically on high values
+ 0x6363A5C6, 0x7C7C84F8, 0x777799EE, 0x7B7B8DF6, 0xF2F20DFF, 0x6B6BBDD6, 0x6F6FB1DE, 0xC5C55491,
+ 0x30305060, 0x01010302, 0x6767A9CE, 0x2B2B7D56, 0xFEFE19E7, 0xD7D762B5, 0xABABE64D, 0x76769AEC,
+ 0xCACA458F, 0x82829D1F, 0xC9C94089, 0x7D7D87FA, 0xFAFA15EF, 0x5959EBB2, 0x4747C98E, 0xF0F00BFB,
+ 0xADADEC41, 0xD4D467B3, 0xA2A2FD5F, 0xAFAFEA45, 0x9C9CBF23, 0xA4A4F753, 0x727296E4, 0xC0C05B9B,
+ 0xB7B7C275, 0xFDFD1CE1, 0x9393AE3D, 0x26266A4C, 0x36365A6C, 0x3F3F417E, 0xF7F702F5, 0xCCCC4F83,
+ 0x34345C68, 0xA5A5F451, 0xE5E534D1, 0xF1F108F9, 0x717193E2, 0xD8D873AB, 0x31315362, 0x15153F2A,
+ 0x04040C08, 0xC7C75295, 0x23236546, 0xC3C35E9D, 0x18182830, 0x9696A137, 0x05050F0A, 0x9A9AB52F,
+ 0x0707090E, 0x12123624, 0x80809B1B, 0xE2E23DDF, 0xEBEB26CD, 0x2727694E, 0xB2B2CD7F, 0x75759FEA,
+ 0x09091B12, 0x83839E1D, 0x2C2C7458, 0x1A1A2E34, 0x1B1B2D36, 0x6E6EB2DC, 0x5A5AEEB4, 0xA0A0FB5B,
+ 0x5252F6A4, 0x3B3B4D76, 0xD6D661B7, 0xB3B3CE7D, 0x29297B52, 0xE3E33EDD, 0x2F2F715E, 0x84849713,
+ 0x5353F5A6, 0xD1D168B9, 0x00000000, 0xEDED2CC1, 0x20206040, 0xFCFC1FE3, 0xB1B1C879, 0x5B5BEDB6,
+ 0x6A6ABED4, 0xCBCB468D, 0xBEBED967, 0x39394B72, 0x4A4ADE94, 0x4C4CD498, 0x5858E8B0, 0xCFCF4A85,
+ 0xD0D06BBB, 0xEFEF2AC5, 0xAAAAE54F, 0xFBFB16ED, 0x4343C586, 0x4D4DD79A, 0x33335566, 0x85859411,
+ 0x4545CF8A, 0xF9F910E9, 0x02020604, 0x7F7F81FE, 0x5050F0A0, 0x3C3C4478, 0x9F9FBA25, 0xA8A8E34B,
+ 0x5151F3A2, 0xA3A3FE5D, 0x4040C080, 0x8F8F8A05, 0x9292AD3F, 0x9D9DBC21, 0x38384870, 0xF5F504F1,
+ 0xBCBCDF63, 0xB6B6C177, 0xDADA75AF, 0x21216342, 0x10103020, 0xFFFF1AE5, 0xF3F30EFD, 0xD2D26DBF,
+ 0xCDCD4C81, 0x0C0C1418, 0x13133526, 0xECEC2FC3, 0x5F5FE1BE, 0x9797A235, 0x4444CC88, 0x1717392E,
+ 0xC4C45793, 0xA7A7F255, 0x7E7E82FC, 0x3D3D477A, 0x6464ACC8, 0x5D5DE7BA, 0x19192B32, 0x737395E6,
+ 0x6060A0C0, 0x81819819, 0x4F4FD19E, 0xDCDC7FA3, 0x22226644, 0x2A2A7E54, 0x9090AB3B, 0x8888830B,
+ 0x4646CA8C, 0xEEEE29C7, 0xB8B8D36B, 0x14143C28, 0xDEDE79A7, 0x5E5EE2BC, 0x0B0B1D16, 0xDBDB76AD,
+ 0xE0E03BDB, 0x32325664, 0x3A3A4E74, 0x0A0A1E14, 0x4949DB92, 0x06060A0C, 0x24246C48, 0x5C5CE4B8,
+ 0xC2C25D9F, 0xD3D36EBD, 0xACACEF43, 0x6262A6C4, 0x9191A839, 0x9595A431, 0xE4E437D3, 0x79798BF2,
+ 0xE7E732D5, 0xC8C8438B, 0x3737596E, 0x6D6DB7DA, 0x8D8D8C01, 0xD5D564B1, 0x4E4ED29C, 0xA9A9E049,
+ 0x6C6CB4D8, 0x5656FAAC, 0xF4F407F3, 0xEAEA25CF, 0x6565AFCA, 0x7A7A8EF4, 0xAEAEE947, 0x08081810,
+ 0xBABAD56F, 0x787888F0, 0x25256F4A, 0x2E2E725C, 0x1C1C2438, 0xA6A6F157, 0xB4B4C773, 0xC6C65197,
+ 0xE8E823CB, 0xDDDD7CA1, 0x74749CE8, 0x1F1F213E, 0x4B4BDD96, 0xBDBDDC61, 0x8B8B860D, 0x8A8A850F,
+ 0x707090E0, 0x3E3E427C, 0xB5B5C471, 0x6666AACC, 0x4848D890, 0x03030506, 0xF6F601F7, 0x0E0E121C,
+ 0x6161A3C2, 0x35355F6A, 0x5757F9AE, 0xB9B9D069, 0x86869117, 0xC1C15899, 0x1D1D273A, 0x9E9EB927,
+ 0xE1E138D9, 0xF8F813EB, 0x9898B32B, 0x11113322, 0x6969BBD2, 0xD9D970A9, 0x8E8E8907, 0x9494A733,
+ 0x9B9BB62D, 0x1E1E223C, 0x87879215, 0xE9E920C9, 0xCECE4987, 0x5555FFAA, 0x28287850, 0xDFDF7AA5,
+ 0x8C8C8F03, 0xA1A1F859, 0x89898009, 0x0D0D171A, 0xBFBFDA65, 0xE6E631D7, 0x4242C684, 0x6868B8D0,
+ 0x4141C382, 0x9999B029, 0x2D2D775A, 0x0F0F111E, 0xB0B0CB7B, 0x5454FCA8, 0xBBBBD66D, 0x16163A2C
+ ));
+
+ foreach ($t3 as $t3i) {
+ $t0[] = (($t3i << 24) & 0xFF000000) | (($t3i >> 8) & 0x00FFFFFF);
+ $t1[] = (($t3i << 16) & 0xFFFF0000) | (($t3i >> 16) & 0x0000FFFF);
+ $t2[] = (($t3i << 8) & 0xFFFFFF00) | (($t3i >> 24) & 0x000000FF);
+ }
+
+ $tables = array(
+ // The Precomputed mixColumns tables t0 - t3
+ $t0,
+ $t1,
+ $t2,
+ $t3,
+ // The SubByte S-Box
+ array(
+ 0x63, 0x7C, 0x77, 0x7B, 0xF2, 0x6B, 0x6F, 0xC5, 0x30, 0x01, 0x67, 0x2B, 0xFE, 0xD7, 0xAB, 0x76,
+ 0xCA, 0x82, 0xC9, 0x7D, 0xFA, 0x59, 0x47, 0xF0, 0xAD, 0xD4, 0xA2, 0xAF, 0x9C, 0xA4, 0x72, 0xC0,
+ 0xB7, 0xFD, 0x93, 0x26, 0x36, 0x3F, 0xF7, 0xCC, 0x34, 0xA5, 0xE5, 0xF1, 0x71, 0xD8, 0x31, 0x15,
+ 0x04, 0xC7, 0x23, 0xC3, 0x18, 0x96, 0x05, 0x9A, 0x07, 0x12, 0x80, 0xE2, 0xEB, 0x27, 0xB2, 0x75,
+ 0x09, 0x83, 0x2C, 0x1A, 0x1B, 0x6E, 0x5A, 0xA0, 0x52, 0x3B, 0xD6, 0xB3, 0x29, 0xE3, 0x2F, 0x84,
+ 0x53, 0xD1, 0x00, 0xED, 0x20, 0xFC, 0xB1, 0x5B, 0x6A, 0xCB, 0xBE, 0x39, 0x4A, 0x4C, 0x58, 0xCF,
+ 0xD0, 0xEF, 0xAA, 0xFB, 0x43, 0x4D, 0x33, 0x85, 0x45, 0xF9, 0x02, 0x7F, 0x50, 0x3C, 0x9F, 0xA8,
+ 0x51, 0xA3, 0x40, 0x8F, 0x92, 0x9D, 0x38, 0xF5, 0xBC, 0xB6, 0xDA, 0x21, 0x10, 0xFF, 0xF3, 0xD2,
+ 0xCD, 0x0C, 0x13, 0xEC, 0x5F, 0x97, 0x44, 0x17, 0xC4, 0xA7, 0x7E, 0x3D, 0x64, 0x5D, 0x19, 0x73,
+ 0x60, 0x81, 0x4F, 0xDC, 0x22, 0x2A, 0x90, 0x88, 0x46, 0xEE, 0xB8, 0x14, 0xDE, 0x5E, 0x0B, 0xDB,
+ 0xE0, 0x32, 0x3A, 0x0A, 0x49, 0x06, 0x24, 0x5C, 0xC2, 0xD3, 0xAC, 0x62, 0x91, 0x95, 0xE4, 0x79,
+ 0xE7, 0xC8, 0x37, 0x6D, 0x8D, 0xD5, 0x4E, 0xA9, 0x6C, 0x56, 0xF4, 0xEA, 0x65, 0x7A, 0xAE, 0x08,
+ 0xBA, 0x78, 0x25, 0x2E, 0x1C, 0xA6, 0xB4, 0xC6, 0xE8, 0xDD, 0x74, 0x1F, 0x4B, 0xBD, 0x8B, 0x8A,
+ 0x70, 0x3E, 0xB5, 0x66, 0x48, 0x03, 0xF6, 0x0E, 0x61, 0x35, 0x57, 0xB9, 0x86, 0xC1, 0x1D, 0x9E,
+ 0xE1, 0xF8, 0x98, 0x11, 0x69, 0xD9, 0x8E, 0x94, 0x9B, 0x1E, 0x87, 0xE9, 0xCE, 0x55, 0x28, 0xDF,
+ 0x8C, 0xA1, 0x89, 0x0D, 0xBF, 0xE6, 0x42, 0x68, 0x41, 0x99, 0x2D, 0x0F, 0xB0, 0x54, 0xBB, 0x16
+ )
+ );
+ }
+ return $tables;
+ }
+
+ /**
+ * Provides the inverse mixColumns and inverse sboxes tables
+ *
+ * @see self::_decryptBlock()
+ * @see self::_setupInlineCrypt()
+ * @see self::_setupKey()
+ * @access private
+ * @return array &$tables
+ */
+ function &_getInvTables()
+ {
+ static $tables;
+ if (empty($tables)) {
+ $dt3 = array_map('intval', array(
+ 0xF4A75051, 0x4165537E, 0x17A4C31A, 0x275E963A, 0xAB6BCB3B, 0x9D45F11F, 0xFA58ABAC, 0xE303934B,
+ 0x30FA5520, 0x766DF6AD, 0xCC769188, 0x024C25F5, 0xE5D7FC4F, 0x2ACBD7C5, 0x35448026, 0x62A38FB5,
+ 0xB15A49DE, 0xBA1B6725, 0xEA0E9845, 0xFEC0E15D, 0x2F7502C3, 0x4CF01281, 0x4697A38D, 0xD3F9C66B,
+ 0x8F5FE703, 0x929C9515, 0x6D7AEBBF, 0x5259DA95, 0xBE832DD4, 0x7421D358, 0xE0692949, 0xC9C8448E,
+ 0xC2896A75, 0x8E7978F4, 0x583E6B99, 0xB971DD27, 0xE14FB6BE, 0x88AD17F0, 0x20AC66C9, 0xCE3AB47D,
+ 0xDF4A1863, 0x1A3182E5, 0x51336097, 0x537F4562, 0x6477E0B1, 0x6BAE84BB, 0x81A01CFE, 0x082B94F9,
+ 0x48685870, 0x45FD198F, 0xDE6C8794, 0x7BF8B752, 0x73D323AB, 0x4B02E272, 0x1F8F57E3, 0x55AB2A66,
+ 0xEB2807B2, 0xB5C2032F, 0xC57B9A86, 0x3708A5D3, 0x2887F230, 0xBFA5B223, 0x036ABA02, 0x16825CED,
+ 0xCF1C2B8A, 0x79B492A7, 0x07F2F0F3, 0x69E2A14E, 0xDAF4CD65, 0x05BED506, 0x34621FD1, 0xA6FE8AC4,
+ 0x2E539D34, 0xF355A0A2, 0x8AE13205, 0xF6EB75A4, 0x83EC390B, 0x60EFAA40, 0x719F065E, 0x6E1051BD,
+ 0x218AF93E, 0xDD063D96, 0x3E05AEDD, 0xE6BD464D, 0x548DB591, 0xC45D0571, 0x06D46F04, 0x5015FF60,
+ 0x98FB2419, 0xBDE997D6, 0x4043CC89, 0xD99E7767, 0xE842BDB0, 0x898B8807, 0x195B38E7, 0xC8EEDB79,
+ 0x7C0A47A1, 0x420FE97C, 0x841EC9F8, 0x00000000, 0x80868309, 0x2BED4832, 0x1170AC1E, 0x5A724E6C,
+ 0x0EFFFBFD, 0x8538560F, 0xAED51E3D, 0x2D392736, 0x0FD9640A, 0x5CA62168, 0x5B54D19B, 0x362E3A24,
+ 0x0A67B10C, 0x57E70F93, 0xEE96D2B4, 0x9B919E1B, 0xC0C54F80, 0xDC20A261, 0x774B695A, 0x121A161C,
+ 0x93BA0AE2, 0xA02AE5C0, 0x22E0433C, 0x1B171D12, 0x090D0B0E, 0x8BC7ADF2, 0xB6A8B92D, 0x1EA9C814,
+ 0xF1198557, 0x75074CAF, 0x99DDBBEE, 0x7F60FDA3, 0x01269FF7, 0x72F5BC5C, 0x663BC544, 0xFB7E345B,
+ 0x4329768B, 0x23C6DCCB, 0xEDFC68B6, 0xE4F163B8, 0x31DCCAD7, 0x63851042, 0x97224013, 0xC6112084,
+ 0x4A247D85, 0xBB3DF8D2, 0xF93211AE, 0x29A16DC7, 0x9E2F4B1D, 0xB230F3DC, 0x8652EC0D, 0xC1E3D077,
+ 0xB3166C2B, 0x70B999A9, 0x9448FA11, 0xE9642247, 0xFC8CC4A8, 0xF03F1AA0, 0x7D2CD856, 0x3390EF22,
+ 0x494EC787, 0x38D1C1D9, 0xCAA2FE8C, 0xD40B3698, 0xF581CFA6, 0x7ADE28A5, 0xB78E26DA, 0xADBFA43F,
+ 0x3A9DE42C, 0x78920D50, 0x5FCC9B6A, 0x7E466254, 0x8D13C2F6, 0xD8B8E890, 0x39F75E2E, 0xC3AFF582,
+ 0x5D80BE9F, 0xD0937C69, 0xD52DA96F, 0x2512B3CF, 0xAC993BC8, 0x187DA710, 0x9C636EE8, 0x3BBB7BDB,
+ 0x267809CD, 0x5918F46E, 0x9AB701EC, 0x4F9AA883, 0x956E65E6, 0xFFE67EAA, 0xBCCF0821, 0x15E8E6EF,
+ 0xE79BD9BA, 0x6F36CE4A, 0x9F09D4EA, 0xB07CD629, 0xA4B2AF31, 0x3F23312A, 0xA59430C6, 0xA266C035,
+ 0x4EBC3774, 0x82CAA6FC, 0x90D0B0E0, 0xA7D81533, 0x04984AF1, 0xECDAF741, 0xCD500E7F, 0x91F62F17,
+ 0x4DD68D76, 0xEFB04D43, 0xAA4D54CC, 0x9604DFE4, 0xD1B5E39E, 0x6A881B4C, 0x2C1FB8C1, 0x65517F46,
+ 0x5EEA049D, 0x8C355D01, 0x877473FA, 0x0B412EFB, 0x671D5AB3, 0xDBD25292, 0x105633E9, 0xD647136D,
+ 0xD7618C9A, 0xA10C7A37, 0xF8148E59, 0x133C89EB, 0xA927EECE, 0x61C935B7, 0x1CE5EDE1, 0x47B13C7A,
+ 0xD2DF599C, 0xF2733F55, 0x14CE7918, 0xC737BF73, 0xF7CDEA53, 0xFDAA5B5F, 0x3D6F14DF, 0x44DB8678,
+ 0xAFF381CA, 0x68C43EB9, 0x24342C38, 0xA3405FC2, 0x1DC37216, 0xE2250CBC, 0x3C498B28, 0x0D9541FF,
+ 0xA8017139, 0x0CB3DE08, 0xB4E49CD8, 0x56C19064, 0xCB84617B, 0x32B670D5, 0x6C5C7448, 0xB85742D0
+ ));
+
+ foreach ($dt3 as $dt3i) {
+ $dt0[] = (($dt3i << 24) & 0xFF000000) | (($dt3i >> 8) & 0x00FFFFFF);
+ $dt1[] = (($dt3i << 16) & 0xFFFF0000) | (($dt3i >> 16) & 0x0000FFFF);
+ $dt2[] = (($dt3i << 8) & 0xFFFFFF00) | (($dt3i >> 24) & 0x000000FF);
+ };
+
+ $tables = array(
+ // The Precomputed inverse mixColumns tables dt0 - dt3
+ $dt0,
+ $dt1,
+ $dt2,
+ $dt3,
+ // The inverse SubByte S-Box
+ array(
+ 0x52, 0x09, 0x6A, 0xD5, 0x30, 0x36, 0xA5, 0x38, 0xBF, 0x40, 0xA3, 0x9E, 0x81, 0xF3, 0xD7, 0xFB,
+ 0x7C, 0xE3, 0x39, 0x82, 0x9B, 0x2F, 0xFF, 0x87, 0x34, 0x8E, 0x43, 0x44, 0xC4, 0xDE, 0xE9, 0xCB,
+ 0x54, 0x7B, 0x94, 0x32, 0xA6, 0xC2, 0x23, 0x3D, 0xEE, 0x4C, 0x95, 0x0B, 0x42, 0xFA, 0xC3, 0x4E,
+ 0x08, 0x2E, 0xA1, 0x66, 0x28, 0xD9, 0x24, 0xB2, 0x76, 0x5B, 0xA2, 0x49, 0x6D, 0x8B, 0xD1, 0x25,
+ 0x72, 0xF8, 0xF6, 0x64, 0x86, 0x68, 0x98, 0x16, 0xD4, 0xA4, 0x5C, 0xCC, 0x5D, 0x65, 0xB6, 0x92,
+ 0x6C, 0x70, 0x48, 0x50, 0xFD, 0xED, 0xB9, 0xDA, 0x5E, 0x15, 0x46, 0x57, 0xA7, 0x8D, 0x9D, 0x84,
+ 0x90, 0xD8, 0xAB, 0x00, 0x8C, 0xBC, 0xD3, 0x0A, 0xF7, 0xE4, 0x58, 0x05, 0xB8, 0xB3, 0x45, 0x06,
+ 0xD0, 0x2C, 0x1E, 0x8F, 0xCA, 0x3F, 0x0F, 0x02, 0xC1, 0xAF, 0xBD, 0x03, 0x01, 0x13, 0x8A, 0x6B,
+ 0x3A, 0x91, 0x11, 0x41, 0x4F, 0x67, 0xDC, 0xEA, 0x97, 0xF2, 0xCF, 0xCE, 0xF0, 0xB4, 0xE6, 0x73,
+ 0x96, 0xAC, 0x74, 0x22, 0xE7, 0xAD, 0x35, 0x85, 0xE2, 0xF9, 0x37, 0xE8, 0x1C, 0x75, 0xDF, 0x6E,
+ 0x47, 0xF1, 0x1A, 0x71, 0x1D, 0x29, 0xC5, 0x89, 0x6F, 0xB7, 0x62, 0x0E, 0xAA, 0x18, 0xBE, 0x1B,
+ 0xFC, 0x56, 0x3E, 0x4B, 0xC6, 0xD2, 0x79, 0x20, 0x9A, 0xDB, 0xC0, 0xFE, 0x78, 0xCD, 0x5A, 0xF4,
+ 0x1F, 0xDD, 0xA8, 0x33, 0x88, 0x07, 0xC7, 0x31, 0xB1, 0x12, 0x10, 0x59, 0x27, 0x80, 0xEC, 0x5F,
+ 0x60, 0x51, 0x7F, 0xA9, 0x19, 0xB5, 0x4A, 0x0D, 0x2D, 0xE5, 0x7A, 0x9F, 0x93, 0xC9, 0x9C, 0xEF,
+ 0xA0, 0xE0, 0x3B, 0x4D, 0xAE, 0x2A, 0xF5, 0xB0, 0xC8, 0xEB, 0xBB, 0x3C, 0x83, 0x53, 0x99, 0x61,
+ 0x17, 0x2B, 0x04, 0x7E, 0xBA, 0x77, 0xD6, 0x26, 0xE1, 0x69, 0x14, 0x63, 0x55, 0x21, 0x0C, 0x7D
+ )
+ );
+ }
+ return $tables;
+ }
+
+ /**
+ * Setup the performance-optimized function for de/encrypt()
+ *
+ * @see \phpseclib\Crypt\Base::_setupInlineCrypt()
+ * @access private
+ */
+ function _setupInlineCrypt()
+ {
+ // Note: _setupInlineCrypt() will be called only if $this->changed === true
+ // So here we are'nt under the same heavy timing-stress as we are in _de/encryptBlock() or de/encrypt().
+ // However...the here generated function- $code, stored as php callback in $this->inline_crypt, must work as fast as even possible.
+
+ $lambda_functions =& self::_getLambdaFunctions();
+
+ // We create max. 10 hi-optimized code for memory reason. Means: For each $key one ultra fast inline-crypt function.
+ // (Currently, for Crypt_Rijndael/AES, one generated $lambda_function cost on php5.5@32bit ~80kb unfreeable mem and ~130kb on php5.5@64bit)
+ // After that, we'll still create very fast optimized code but not the hi-ultimative code, for each $mode one.
+ $gen_hi_opt_code = (bool)(count($lambda_functions) < 10);
+
+ // Generation of a uniqe hash for our generated code
+ $code_hash = "Crypt_Rijndael, {$this->mode}, {$this->Nr}, {$this->Nb}";
+ if ($gen_hi_opt_code) {
+ $code_hash = str_pad($code_hash, 32) . $this->_hashInlineCryptFunction($this->key);
+ }
+
+ if (!isset($lambda_functions[$code_hash])) {
+ switch (true) {
+ case $gen_hi_opt_code:
+ // The hi-optimized $lambda_functions will use the key-words hardcoded for better performance.
+ $w = $this->w;
+ $dw = $this->dw;
+ $init_encrypt = '';
+ $init_decrypt = '';
+ break;
+ default:
+ for ($i = 0, $cw = count($this->w); $i < $cw; ++$i) {
+ $w[] = '$w[' . $i . ']';
+ $dw[] = '$dw[' . $i . ']';
+ }
+ $init_encrypt = '$w = $self->w;';
+ $init_decrypt = '$dw = $self->dw;';
+ }
+
+ $Nr = $this->Nr;
+ $Nb = $this->Nb;
+ $c = $this->c;
+
+ // Generating encrypt code:
+ $init_encrypt.= '
+ static $tables;
+ if (empty($tables)) {
+ $tables = &$self->_getTables();
+ }
+ $t0 = $tables[0];
+ $t1 = $tables[1];
+ $t2 = $tables[2];
+ $t3 = $tables[3];
+ $sbox = $tables[4];
+ ';
+
+ $s = 'e';
+ $e = 's';
+ $wc = $Nb - 1;
+
+ // Preround: addRoundKey
+ $encrypt_block = '$in = unpack("N*", $in);'."\n";
+ for ($i = 0; $i < $Nb; ++$i) {
+ $encrypt_block .= '$s'.$i.' = $in['.($i + 1).'] ^ '.$w[++$wc].";\n";
+ }
+
+ // Mainrounds: shiftRows + subWord + mixColumns + addRoundKey
+ for ($round = 1; $round < $Nr; ++$round) {
+ list($s, $e) = array($e, $s);
+ for ($i = 0; $i < $Nb; ++$i) {
+ $encrypt_block.=
+ '$'.$e.$i.' =
+ $t0[($'.$s.$i .' >> 24) & 0xff] ^
+ $t1[($'.$s.(($i + $c[1]) % $Nb).' >> 16) & 0xff] ^
+ $t2[($'.$s.(($i + $c[2]) % $Nb).' >> 8) & 0xff] ^
+ $t3[ $'.$s.(($i + $c[3]) % $Nb).' & 0xff] ^
+ '.$w[++$wc].";\n";
+ }
+ }
+
+ // Finalround: subWord + shiftRows + addRoundKey
+ for ($i = 0; $i < $Nb; ++$i) {
+ $encrypt_block.=
+ '$'.$e.$i.' =
+ $sbox[ $'.$e.$i.' & 0xff] |
+ ($sbox[($'.$e.$i.' >> 8) & 0xff] << 8) |
+ ($sbox[($'.$e.$i.' >> 16) & 0xff] << 16) |
+ ($sbox[($'.$e.$i.' >> 24) & 0xff] << 24);'."\n";
+ }
+ $encrypt_block .= '$in = pack("N*"'."\n";
+ for ($i = 0; $i < $Nb; ++$i) {
+ $encrypt_block.= ',
+ ($'.$e.$i .' & '.((int)0xFF000000).') ^
+ ($'.$e.(($i + $c[1]) % $Nb).' & 0x00FF0000 ) ^
+ ($'.$e.(($i + $c[2]) % $Nb).' & 0x0000FF00 ) ^
+ ($'.$e.(($i + $c[3]) % $Nb).' & 0x000000FF ) ^
+ '.$w[$i]."\n";
+ }
+ $encrypt_block .= ');';
+
+ // Generating decrypt code:
+ $init_decrypt.= '
+ static $invtables;
+ if (empty($invtables)) {
+ $invtables = &$self->_getInvTables();
+ }
+ $dt0 = $invtables[0];
+ $dt1 = $invtables[1];
+ $dt2 = $invtables[2];
+ $dt3 = $invtables[3];
+ $isbox = $invtables[4];
+ ';
+
+ $s = 'e';
+ $e = 's';
+ $wc = $Nb - 1;
+
+ // Preround: addRoundKey
+ $decrypt_block = '$in = unpack("N*", $in);'."\n";
+ for ($i = 0; $i < $Nb; ++$i) {
+ $decrypt_block .= '$s'.$i.' = $in['.($i + 1).'] ^ '.$dw[++$wc].';'."\n";
+ }
+
+ // Mainrounds: shiftRows + subWord + mixColumns + addRoundKey
+ for ($round = 1; $round < $Nr; ++$round) {
+ list($s, $e) = array($e, $s);
+ for ($i = 0; $i < $Nb; ++$i) {
+ $decrypt_block.=
+ '$'.$e.$i.' =
+ $dt0[($'.$s.$i .' >> 24) & 0xff] ^
+ $dt1[($'.$s.(($Nb + $i - $c[1]) % $Nb).' >> 16) & 0xff] ^
+ $dt2[($'.$s.(($Nb + $i - $c[2]) % $Nb).' >> 8) & 0xff] ^
+ $dt3[ $'.$s.(($Nb + $i - $c[3]) % $Nb).' & 0xff] ^
+ '.$dw[++$wc].";\n";
+ }
+ }
+
+ // Finalround: subWord + shiftRows + addRoundKey
+ for ($i = 0; $i < $Nb; ++$i) {
+ $decrypt_block.=
+ '$'.$e.$i.' =
+ $isbox[ $'.$e.$i.' & 0xff] |
+ ($isbox[($'.$e.$i.' >> 8) & 0xff] << 8) |
+ ($isbox[($'.$e.$i.' >> 16) & 0xff] << 16) |
+ ($isbox[($'.$e.$i.' >> 24) & 0xff] << 24);'."\n";
+ }
+ $decrypt_block .= '$in = pack("N*"'."\n";
+ for ($i = 0; $i < $Nb; ++$i) {
+ $decrypt_block.= ',
+ ($'.$e.$i. ' & '.((int)0xFF000000).') ^
+ ($'.$e.(($Nb + $i - $c[1]) % $Nb).' & 0x00FF0000 ) ^
+ ($'.$e.(($Nb + $i - $c[2]) % $Nb).' & 0x0000FF00 ) ^
+ ($'.$e.(($Nb + $i - $c[3]) % $Nb).' & 0x000000FF ) ^
+ '.$dw[$i]."\n";
+ }
+ $decrypt_block .= ');';
+
+ $lambda_functions[$code_hash] = $this->_createInlineCryptFunction(
+ array(
+ 'init_crypt' => '',
+ 'init_encrypt' => $init_encrypt,
+ 'init_decrypt' => $init_decrypt,
+ 'encrypt_block' => $encrypt_block,
+ 'decrypt_block' => $decrypt_block
+ )
+ );
+ }
+ $this->inline_crypt = $lambda_functions[$code_hash];
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/TripleDES.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/TripleDES.php
new file mode 100644
index 00000000..a2c41668
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/TripleDES.php
@@ -0,0 +1,460 @@
+<?php
+
+/**
+ * Pure-PHP implementation of Triple DES.
+ *
+ * Uses mcrypt, if available, and an internal implementation, otherwise. Operates in the EDE3 mode (encrypt-decrypt-encrypt).
+ *
+ * PHP version 5
+ *
+ * Here's a short example of how to use this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $des = new \phpseclib\Crypt\TripleDES();
+ *
+ * $des->setKey('abcdefghijklmnopqrstuvwx');
+ *
+ * $size = 10 * 1024;
+ * $plaintext = '';
+ * for ($i = 0; $i < $size; $i++) {
+ * $plaintext.= 'a';
+ * }
+ *
+ * echo $des->decrypt($des->encrypt($plaintext));
+ * ?>
+ * </code>
+ *
+ * @category Crypt
+ * @package TripleDES
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2007 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Crypt;
+
+/**
+ * Pure-PHP implementation of Triple DES.
+ *
+ * @package TripleDES
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class TripleDES extends DES
+{
+ /**
+ * Encrypt / decrypt using inner chaining
+ *
+ * Inner chaining is used by SSH-1 and is generally considered to be less secure then outer chaining (self::MODE_CBC3).
+ */
+ const MODE_3CBC = -2;
+
+ /**
+ * Encrypt / decrypt using outer chaining
+ *
+ * Outer chaining is used by SSH-2 and when the mode is set to \phpseclib\Crypt\Base::MODE_CBC.
+ */
+ const MODE_CBC3 = Base::MODE_CBC;
+
+ /**
+ * Key Length (in bytes)
+ *
+ * @see \phpseclib\Crypt\TripleDES::setKeyLength()
+ * @var int
+ * @access private
+ */
+ var $key_length = 24;
+
+ /**
+ * The default salt used by setPassword()
+ *
+ * @see \phpseclib\Crypt\Base::password_default_salt
+ * @see \phpseclib\Crypt\Base::setPassword()
+ * @var string
+ * @access private
+ */
+ var $password_default_salt = 'phpseclib';
+
+ /**
+ * The mcrypt specific name of the cipher
+ *
+ * @see \phpseclib\Crypt\DES::cipher_name_mcrypt
+ * @see \phpseclib\Crypt\Base::cipher_name_mcrypt
+ * @var string
+ * @access private
+ */
+ var $cipher_name_mcrypt = 'tripledes';
+
+ /**
+ * Optimizing value while CFB-encrypting
+ *
+ * @see \phpseclib\Crypt\Base::cfb_init_len
+ * @var int
+ * @access private
+ */
+ var $cfb_init_len = 750;
+
+ /**
+ * max possible size of $key
+ *
+ * @see self::setKey()
+ * @see \phpseclib\Crypt\DES::setKey()
+ * @var string
+ * @access private
+ */
+ var $key_length_max = 24;
+
+ /**
+ * Internal flag whether using self::MODE_3CBC or not
+ *
+ * @var bool
+ * @access private
+ */
+ var $mode_3cbc;
+
+ /**
+ * The \phpseclib\Crypt\DES objects
+ *
+ * Used only if $mode_3cbc === true
+ *
+ * @var array
+ * @access private
+ */
+ var $des;
+
+ /**
+ * Default Constructor.
+ *
+ * Determines whether or not the mcrypt extension should be used.
+ *
+ * $mode could be:
+ *
+ * - \phpseclib\Crypt\Base::MODE_ECB
+ *
+ * - \phpseclib\Crypt\Base::MODE_CBC
+ *
+ * - \phpseclib\Crypt\Base::MODE_CTR
+ *
+ * - \phpseclib\Crypt\Base::MODE_CFB
+ *
+ * - \phpseclib\Crypt\Base::MODE_OFB
+ *
+ * - \phpseclib\Crypt\TripleDES::MODE_3CBC
+ *
+ * If not explicitly set, \phpseclib\Crypt\Base::MODE_CBC will be used.
+ *
+ * @see \phpseclib\Crypt\DES::__construct()
+ * @see \phpseclib\Crypt\Base::__construct()
+ * @param int $mode
+ * @access public
+ */
+ function __construct($mode = Base::MODE_CBC)
+ {
+ switch ($mode) {
+ // In case of self::MODE_3CBC, we init as CRYPT_DES_MODE_CBC
+ // and additional flag us internally as 3CBC
+ case self::MODE_3CBC:
+ parent::__construct(Base::MODE_CBC);
+ $this->mode_3cbc = true;
+
+ // This three $des'es will do the 3CBC work (if $key > 64bits)
+ $this->des = array(
+ new DES(Base::MODE_CBC),
+ new DES(Base::MODE_CBC),
+ new DES(Base::MODE_CBC),
+ );
+
+ // we're going to be doing the padding, ourselves, so disable it in the \phpseclib\Crypt\DES objects
+ $this->des[0]->disablePadding();
+ $this->des[1]->disablePadding();
+ $this->des[2]->disablePadding();
+ break;
+ // If not 3CBC, we init as usual
+ default:
+ parent::__construct($mode);
+ }
+ }
+
+ /**
+ * Test for engine validity
+ *
+ * This is mainly just a wrapper to set things up for \phpseclib\Crypt\Base::isValidEngine()
+ *
+ * @see \phpseclib\Crypt\Base::__construct()
+ * @param int $engine
+ * @access public
+ * @return bool
+ */
+ function isValidEngine($engine)
+ {
+ if ($engine == self::ENGINE_OPENSSL) {
+ $this->cipher_name_openssl_ecb = 'des-ede3';
+ $mode = $this->_openssl_translate_mode();
+ $this->cipher_name_openssl = $mode == 'ecb' ? 'des-ede3' : 'des-ede3-' . $mode;
+ }
+
+ return parent::isValidEngine($engine);
+ }
+
+ /**
+ * Sets the initialization vector. (optional)
+ *
+ * SetIV is not required when \phpseclib\Crypt\Base::MODE_ECB is being used. If not explicitly set, it'll be assumed
+ * to be all zero's.
+ *
+ * @see \phpseclib\Crypt\Base::setIV()
+ * @access public
+ * @param string $iv
+ */
+ function setIV($iv)
+ {
+ parent::setIV($iv);
+ if ($this->mode_3cbc) {
+ $this->des[0]->setIV($iv);
+ $this->des[1]->setIV($iv);
+ $this->des[2]->setIV($iv);
+ }
+ }
+
+ /**
+ * Sets the key length.
+ *
+ * Valid key lengths are 64, 128 and 192
+ *
+ * @see \phpseclib\Crypt\Base:setKeyLength()
+ * @access public
+ * @param int $length
+ */
+ function setKeyLength($length)
+ {
+ $length >>= 3;
+ switch (true) {
+ case $length <= 8:
+ $this->key_length = 8;
+ break;
+ case $length <= 16:
+ $this->key_length = 16;
+ break;
+ default:
+ $this->key_length = 24;
+ }
+
+ parent::setKeyLength($length);
+ }
+
+ /**
+ * Sets the key.
+ *
+ * Keys can be of any length. Triple DES, itself, can use 128-bit (eg. strlen($key) == 16) or
+ * 192-bit (eg. strlen($key) == 24) keys. This function pads and truncates $key as appropriate.
+ *
+ * DES also requires that every eighth bit be a parity bit, however, we'll ignore that.
+ *
+ * If the key is not explicitly set, it'll be assumed to be all null bytes.
+ *
+ * @access public
+ * @see \phpseclib\Crypt\DES::setKey()
+ * @see \phpseclib\Crypt\Base::setKey()
+ * @param string $key
+ */
+ function setKey($key)
+ {
+ $length = $this->explicit_key_length ? $this->key_length : strlen($key);
+ if ($length > 8) {
+ $key = str_pad(substr($key, 0, 24), 24, chr(0));
+ // if $key is between 64 and 128-bits, use the first 64-bits as the last, per this:
+ // http://php.net/function.mcrypt-encrypt#47973
+ $key = $length <= 16 ? substr_replace($key, substr($key, 0, 8), 16) : substr($key, 0, 24);
+ } else {
+ $key = str_pad($key, 8, chr(0));
+ }
+ parent::setKey($key);
+
+ // And in case of self::MODE_3CBC:
+ // if key <= 64bits we not need the 3 $des to work,
+ // because we will then act as regular DES-CBC with just a <= 64bit key.
+ // So only if the key > 64bits (> 8 bytes) we will call setKey() for the 3 $des.
+ if ($this->mode_3cbc && $length > 8) {
+ $this->des[0]->setKey(substr($key, 0, 8));
+ $this->des[1]->setKey(substr($key, 8, 8));
+ $this->des[2]->setKey(substr($key, 16, 8));
+ }
+ }
+
+ /**
+ * Encrypts a message.
+ *
+ * @see \phpseclib\Crypt\Base::encrypt()
+ * @access public
+ * @param string $plaintext
+ * @return string $cipertext
+ */
+ function encrypt($plaintext)
+ {
+ // parent::en/decrypt() is able to do all the work for all modes and keylengths,
+ // except for: self::MODE_3CBC (inner chaining CBC) with a key > 64bits
+
+ // if the key is smaller then 8, do what we'd normally do
+ if ($this->mode_3cbc && strlen($this->key) > 8) {
+ return $this->des[2]->encrypt(
+ $this->des[1]->decrypt(
+ $this->des[0]->encrypt(
+ $this->_pad($plaintext)
+ )
+ )
+ );
+ }
+
+ return parent::encrypt($plaintext);
+ }
+
+ /**
+ * Decrypts a message.
+ *
+ * @see \phpseclib\Crypt\Base::decrypt()
+ * @access public
+ * @param string $ciphertext
+ * @return string $plaintext
+ */
+ function decrypt($ciphertext)
+ {
+ if ($this->mode_3cbc && strlen($this->key) > 8) {
+ return $this->_unpad(
+ $this->des[0]->decrypt(
+ $this->des[1]->encrypt(
+ $this->des[2]->decrypt(
+ str_pad($ciphertext, (strlen($ciphertext) + 7) & 0xFFFFFFF8, "\0")
+ )
+ )
+ )
+ );
+ }
+
+ return parent::decrypt($ciphertext);
+ }
+
+ /**
+ * Treat consecutive "packets" as if they are a continuous buffer.
+ *
+ * Say you have a 16-byte plaintext $plaintext. Using the default behavior, the two following code snippets
+ * will yield different outputs:
+ *
+ * <code>
+ * echo $des->encrypt(substr($plaintext, 0, 8));
+ * echo $des->encrypt(substr($plaintext, 8, 8));
+ * </code>
+ * <code>
+ * echo $des->encrypt($plaintext);
+ * </code>
+ *
+ * The solution is to enable the continuous buffer. Although this will resolve the above discrepancy, it creates
+ * another, as demonstrated with the following:
+ *
+ * <code>
+ * $des->encrypt(substr($plaintext, 0, 8));
+ * echo $des->decrypt($des->encrypt(substr($plaintext, 8, 8)));
+ * </code>
+ * <code>
+ * echo $des->decrypt($des->encrypt(substr($plaintext, 8, 8)));
+ * </code>
+ *
+ * With the continuous buffer disabled, these would yield the same output. With it enabled, they yield different
+ * outputs. The reason is due to the fact that the initialization vector's change after every encryption /
+ * decryption round when the continuous buffer is enabled. When it's disabled, they remain constant.
+ *
+ * Put another way, when the continuous buffer is enabled, the state of the \phpseclib\Crypt\DES() object changes after each
+ * encryption / decryption round, whereas otherwise, it'd remain constant. For this reason, it's recommended that
+ * continuous buffers not be used. They do offer better security and are, in fact, sometimes required (SSH uses them),
+ * however, they are also less intuitive and more likely to cause you problems.
+ *
+ * @see \phpseclib\Crypt\Base::enableContinuousBuffer()
+ * @see self::disableContinuousBuffer()
+ * @access public
+ */
+ function enableContinuousBuffer()
+ {
+ parent::enableContinuousBuffer();
+ if ($this->mode_3cbc) {
+ $this->des[0]->enableContinuousBuffer();
+ $this->des[1]->enableContinuousBuffer();
+ $this->des[2]->enableContinuousBuffer();
+ }
+ }
+
+ /**
+ * Treat consecutive packets as if they are a discontinuous buffer.
+ *
+ * The default behavior.
+ *
+ * @see \phpseclib\Crypt\Base::disableContinuousBuffer()
+ * @see self::enableContinuousBuffer()
+ * @access public
+ */
+ function disableContinuousBuffer()
+ {
+ parent::disableContinuousBuffer();
+ if ($this->mode_3cbc) {
+ $this->des[0]->disableContinuousBuffer();
+ $this->des[1]->disableContinuousBuffer();
+ $this->des[2]->disableContinuousBuffer();
+ }
+ }
+
+ /**
+ * Creates the key schedule
+ *
+ * @see \phpseclib\Crypt\DES::_setupKey()
+ * @see \phpseclib\Crypt\Base::_setupKey()
+ * @access private
+ */
+ function _setupKey()
+ {
+ switch (true) {
+ // if $key <= 64bits we configure our internal pure-php cipher engine
+ // to act as regular [1]DES, not as 3DES. mcrypt.so::tripledes does the same.
+ case strlen($this->key) <= 8:
+ $this->des_rounds = 1;
+ break;
+
+ // otherwise, if $key > 64bits, we configure our engine to work as 3DES.
+ default:
+ $this->des_rounds = 3;
+
+ // (only) if 3CBC is used we have, of course, to setup the $des[0-2] keys also separately.
+ if ($this->mode_3cbc) {
+ $this->des[0]->_setupKey();
+ $this->des[1]->_setupKey();
+ $this->des[2]->_setupKey();
+
+ // because $des[0-2] will, now, do all the work we can return here
+ // not need unnecessary stress parent::_setupKey() with our, now unused, $key.
+ return;
+ }
+ }
+ // setup our key
+ parent::_setupKey();
+ }
+
+ /**
+ * Sets the internal crypt engine
+ *
+ * @see \phpseclib\Crypt\Base::__construct()
+ * @see \phpseclib\Crypt\Base::setPreferredEngine()
+ * @param int $engine
+ * @access public
+ * @return int
+ */
+ function setPreferredEngine($engine)
+ {
+ if ($this->mode_3cbc) {
+ $this->des[0]->setPreferredEngine($engine);
+ $this->des[1]->setPreferredEngine($engine);
+ $this->des[2]->setPreferredEngine($engine);
+ }
+
+ return parent::setPreferredEngine($engine);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php
new file mode 100644
index 00000000..3dd4ea1d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php
@@ -0,0 +1,808 @@
+<?php
+
+/**
+ * Pure-PHP implementation of Twofish.
+ *
+ * Uses mcrypt, if available, and an internal implementation, otherwise.
+ *
+ * PHP version 5
+ *
+ * Useful resources are as follows:
+ *
+ * - {@link http://en.wikipedia.org/wiki/Twofish Wikipedia description of Twofish}
+ *
+ * Here's a short example of how to use this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $twofish = new \phpseclib\Crypt\Twofish();
+ *
+ * $twofish->setKey('12345678901234567890123456789012');
+ *
+ * $plaintext = str_repeat('a', 1024);
+ *
+ * echo $twofish->decrypt($twofish->encrypt($plaintext));
+ * ?>
+ * </code>
+ *
+ * @category Crypt
+ * @package Twofish
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @author Hans-Juergen Petrich <petrich@tronic-media.com>
+ * @copyright 2007 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Crypt;
+
+/**
+ * Pure-PHP implementation of Twofish.
+ *
+ * @package Twofish
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @author Hans-Juergen Petrich <petrich@tronic-media.com>
+ * @access public
+ */
+class Twofish extends Base
+{
+ /**
+ * The mcrypt specific name of the cipher
+ *
+ * @see \phpseclib\Crypt\Base::cipher_name_mcrypt
+ * @var string
+ * @access private
+ */
+ var $cipher_name_mcrypt = 'twofish';
+
+ /**
+ * Optimizing value while CFB-encrypting
+ *
+ * @see \phpseclib\Crypt\Base::cfb_init_len
+ * @var int
+ * @access private
+ */
+ var $cfb_init_len = 800;
+
+ /**
+ * Q-Table
+ *
+ * @var array
+ * @access private
+ */
+ var $q0 = array(
+ 0xA9, 0x67, 0xB3, 0xE8, 0x04, 0xFD, 0xA3, 0x76,
+ 0x9A, 0x92, 0x80, 0x78, 0xE4, 0xDD, 0xD1, 0x38,
+ 0x0D, 0xC6, 0x35, 0x98, 0x18, 0xF7, 0xEC, 0x6C,
+ 0x43, 0x75, 0x37, 0x26, 0xFA, 0x13, 0x94, 0x48,
+ 0xF2, 0xD0, 0x8B, 0x30, 0x84, 0x54, 0xDF, 0x23,
+ 0x19, 0x5B, 0x3D, 0x59, 0xF3, 0xAE, 0xA2, 0x82,
+ 0x63, 0x01, 0x83, 0x2E, 0xD9, 0x51, 0x9B, 0x7C,
+ 0xA6, 0xEB, 0xA5, 0xBE, 0x16, 0x0C, 0xE3, 0x61,
+ 0xC0, 0x8C, 0x3A, 0xF5, 0x73, 0x2C, 0x25, 0x0B,
+ 0xBB, 0x4E, 0x89, 0x6B, 0x53, 0x6A, 0xB4, 0xF1,
+ 0xE1, 0xE6, 0xBD, 0x45, 0xE2, 0xF4, 0xB6, 0x66,
+ 0xCC, 0x95, 0x03, 0x56, 0xD4, 0x1C, 0x1E, 0xD7,
+ 0xFB, 0xC3, 0x8E, 0xB5, 0xE9, 0xCF, 0xBF, 0xBA,
+ 0xEA, 0x77, 0x39, 0xAF, 0x33, 0xC9, 0x62, 0x71,
+ 0x81, 0x79, 0x09, 0xAD, 0x24, 0xCD, 0xF9, 0xD8,
+ 0xE5, 0xC5, 0xB9, 0x4D, 0x44, 0x08, 0x86, 0xE7,
+ 0xA1, 0x1D, 0xAA, 0xED, 0x06, 0x70, 0xB2, 0xD2,
+ 0x41, 0x7B, 0xA0, 0x11, 0x31, 0xC2, 0x27, 0x90,
+ 0x20, 0xF6, 0x60, 0xFF, 0x96, 0x5C, 0xB1, 0xAB,
+ 0x9E, 0x9C, 0x52, 0x1B, 0x5F, 0x93, 0x0A, 0xEF,
+ 0x91, 0x85, 0x49, 0xEE, 0x2D, 0x4F, 0x8F, 0x3B,
+ 0x47, 0x87, 0x6D, 0x46, 0xD6, 0x3E, 0x69, 0x64,
+ 0x2A, 0xCE, 0xCB, 0x2F, 0xFC, 0x97, 0x05, 0x7A,
+ 0xAC, 0x7F, 0xD5, 0x1A, 0x4B, 0x0E, 0xA7, 0x5A,
+ 0x28, 0x14, 0x3F, 0x29, 0x88, 0x3C, 0x4C, 0x02,
+ 0xB8, 0xDA, 0xB0, 0x17, 0x55, 0x1F, 0x8A, 0x7D,
+ 0x57, 0xC7, 0x8D, 0x74, 0xB7, 0xC4, 0x9F, 0x72,
+ 0x7E, 0x15, 0x22, 0x12, 0x58, 0x07, 0x99, 0x34,
+ 0x6E, 0x50, 0xDE, 0x68, 0x65, 0xBC, 0xDB, 0xF8,
+ 0xC8, 0xA8, 0x2B, 0x40, 0xDC, 0xFE, 0x32, 0xA4,
+ 0xCA, 0x10, 0x21, 0xF0, 0xD3, 0x5D, 0x0F, 0x00,
+ 0x6F, 0x9D, 0x36, 0x42, 0x4A, 0x5E, 0xC1, 0xE0
+ );
+
+ /**
+ * Q-Table
+ *
+ * @var array
+ * @access private
+ */
+ var $q1 = array(
+ 0x75, 0xF3, 0xC6, 0xF4, 0xDB, 0x7B, 0xFB, 0xC8,
+ 0x4A, 0xD3, 0xE6, 0x6B, 0x45, 0x7D, 0xE8, 0x4B,
+ 0xD6, 0x32, 0xD8, 0xFD, 0x37, 0x71, 0xF1, 0xE1,
+ 0x30, 0x0F, 0xF8, 0x1B, 0x87, 0xFA, 0x06, 0x3F,
+ 0x5E, 0xBA, 0xAE, 0x5B, 0x8A, 0x00, 0xBC, 0x9D,
+ 0x6D, 0xC1, 0xB1, 0x0E, 0x80, 0x5D, 0xD2, 0xD5,
+ 0xA0, 0x84, 0x07, 0x14, 0xB5, 0x90, 0x2C, 0xA3,
+ 0xB2, 0x73, 0x4C, 0x54, 0x92, 0x74, 0x36, 0x51,
+ 0x38, 0xB0, 0xBD, 0x5A, 0xFC, 0x60, 0x62, 0x96,
+ 0x6C, 0x42, 0xF7, 0x10, 0x7C, 0x28, 0x27, 0x8C,
+ 0x13, 0x95, 0x9C, 0xC7, 0x24, 0x46, 0x3B, 0x70,
+ 0xCA, 0xE3, 0x85, 0xCB, 0x11, 0xD0, 0x93, 0xB8,
+ 0xA6, 0x83, 0x20, 0xFF, 0x9F, 0x77, 0xC3, 0xCC,
+ 0x03, 0x6F, 0x08, 0xBF, 0x40, 0xE7, 0x2B, 0xE2,
+ 0x79, 0x0C, 0xAA, 0x82, 0x41, 0x3A, 0xEA, 0xB9,
+ 0xE4, 0x9A, 0xA4, 0x97, 0x7E, 0xDA, 0x7A, 0x17,
+ 0x66, 0x94, 0xA1, 0x1D, 0x3D, 0xF0, 0xDE, 0xB3,
+ 0x0B, 0x72, 0xA7, 0x1C, 0xEF, 0xD1, 0x53, 0x3E,
+ 0x8F, 0x33, 0x26, 0x5F, 0xEC, 0x76, 0x2A, 0x49,
+ 0x81, 0x88, 0xEE, 0x21, 0xC4, 0x1A, 0xEB, 0xD9,
+ 0xC5, 0x39, 0x99, 0xCD, 0xAD, 0x31, 0x8B, 0x01,
+ 0x18, 0x23, 0xDD, 0x1F, 0x4E, 0x2D, 0xF9, 0x48,
+ 0x4F, 0xF2, 0x65, 0x8E, 0x78, 0x5C, 0x58, 0x19,
+ 0x8D, 0xE5, 0x98, 0x57, 0x67, 0x7F, 0x05, 0x64,
+ 0xAF, 0x63, 0xB6, 0xFE, 0xF5, 0xB7, 0x3C, 0xA5,
+ 0xCE, 0xE9, 0x68, 0x44, 0xE0, 0x4D, 0x43, 0x69,
+ 0x29, 0x2E, 0xAC, 0x15, 0x59, 0xA8, 0x0A, 0x9E,
+ 0x6E, 0x47, 0xDF, 0x34, 0x35, 0x6A, 0xCF, 0xDC,
+ 0x22, 0xC9, 0xC0, 0x9B, 0x89, 0xD4, 0xED, 0xAB,
+ 0x12, 0xA2, 0x0D, 0x52, 0xBB, 0x02, 0x2F, 0xA9,
+ 0xD7, 0x61, 0x1E, 0xB4, 0x50, 0x04, 0xF6, 0xC2,
+ 0x16, 0x25, 0x86, 0x56, 0x55, 0x09, 0xBE, 0x91
+ );
+
+ /**
+ * M-Table
+ *
+ * @var array
+ * @access private
+ */
+ var $m0 = array(
+ 0xBCBC3275, 0xECEC21F3, 0x202043C6, 0xB3B3C9F4, 0xDADA03DB, 0x02028B7B, 0xE2E22BFB, 0x9E9EFAC8,
+ 0xC9C9EC4A, 0xD4D409D3, 0x18186BE6, 0x1E1E9F6B, 0x98980E45, 0xB2B2387D, 0xA6A6D2E8, 0x2626B74B,
+ 0x3C3C57D6, 0x93938A32, 0x8282EED8, 0x525298FD, 0x7B7BD437, 0xBBBB3771, 0x5B5B97F1, 0x474783E1,
+ 0x24243C30, 0x5151E20F, 0xBABAC6F8, 0x4A4AF31B, 0xBFBF4887, 0x0D0D70FA, 0xB0B0B306, 0x7575DE3F,
+ 0xD2D2FD5E, 0x7D7D20BA, 0x666631AE, 0x3A3AA35B, 0x59591C8A, 0x00000000, 0xCDCD93BC, 0x1A1AE09D,
+ 0xAEAE2C6D, 0x7F7FABC1, 0x2B2BC7B1, 0xBEBEB90E, 0xE0E0A080, 0x8A8A105D, 0x3B3B52D2, 0x6464BAD5,
+ 0xD8D888A0, 0xE7E7A584, 0x5F5FE807, 0x1B1B1114, 0x2C2CC2B5, 0xFCFCB490, 0x3131272C, 0x808065A3,
+ 0x73732AB2, 0x0C0C8173, 0x79795F4C, 0x6B6B4154, 0x4B4B0292, 0x53536974, 0x94948F36, 0x83831F51,
+ 0x2A2A3638, 0xC4C49CB0, 0x2222C8BD, 0xD5D5F85A, 0xBDBDC3FC, 0x48487860, 0xFFFFCE62, 0x4C4C0796,
+ 0x4141776C, 0xC7C7E642, 0xEBEB24F7, 0x1C1C1410, 0x5D5D637C, 0x36362228, 0x6767C027, 0xE9E9AF8C,
+ 0x4444F913, 0x1414EA95, 0xF5F5BB9C, 0xCFCF18C7, 0x3F3F2D24, 0xC0C0E346, 0x7272DB3B, 0x54546C70,
+ 0x29294CCA, 0xF0F035E3, 0x0808FE85, 0xC6C617CB, 0xF3F34F11, 0x8C8CE4D0, 0xA4A45993, 0xCACA96B8,
+ 0x68683BA6, 0xB8B84D83, 0x38382820, 0xE5E52EFF, 0xADAD569F, 0x0B0B8477, 0xC8C81DC3, 0x9999FFCC,
+ 0x5858ED03, 0x19199A6F, 0x0E0E0A08, 0x95957EBF, 0x70705040, 0xF7F730E7, 0x6E6ECF2B, 0x1F1F6EE2,
+ 0xB5B53D79, 0x09090F0C, 0x616134AA, 0x57571682, 0x9F9F0B41, 0x9D9D803A, 0x111164EA, 0x2525CDB9,
+ 0xAFAFDDE4, 0x4545089A, 0xDFDF8DA4, 0xA3A35C97, 0xEAEAD57E, 0x353558DA, 0xEDEDD07A, 0x4343FC17,
+ 0xF8F8CB66, 0xFBFBB194, 0x3737D3A1, 0xFAFA401D, 0xC2C2683D, 0xB4B4CCF0, 0x32325DDE, 0x9C9C71B3,
+ 0x5656E70B, 0xE3E3DA72, 0x878760A7, 0x15151B1C, 0xF9F93AEF, 0x6363BFD1, 0x3434A953, 0x9A9A853E,
+ 0xB1B1428F, 0x7C7CD133, 0x88889B26, 0x3D3DA65F, 0xA1A1D7EC, 0xE4E4DF76, 0x8181942A, 0x91910149,
+ 0x0F0FFB81, 0xEEEEAA88, 0x161661EE, 0xD7D77321, 0x9797F5C4, 0xA5A5A81A, 0xFEFE3FEB, 0x6D6DB5D9,
+ 0x7878AEC5, 0xC5C56D39, 0x1D1DE599, 0x7676A4CD, 0x3E3EDCAD, 0xCBCB6731, 0xB6B6478B, 0xEFEF5B01,
+ 0x12121E18, 0x6060C523, 0x6A6AB0DD, 0x4D4DF61F, 0xCECEE94E, 0xDEDE7C2D, 0x55559DF9, 0x7E7E5A48,
+ 0x2121B24F, 0x03037AF2, 0xA0A02665, 0x5E5E198E, 0x5A5A6678, 0x65654B5C, 0x62624E58, 0xFDFD4519,
+ 0x0606F48D, 0x404086E5, 0xF2F2BE98, 0x3333AC57, 0x17179067, 0x05058E7F, 0xE8E85E05, 0x4F4F7D64,
+ 0x89896AAF, 0x10109563, 0x74742FB6, 0x0A0A75FE, 0x5C5C92F5, 0x9B9B74B7, 0x2D2D333C, 0x3030D6A5,
+ 0x2E2E49CE, 0x494989E9, 0x46467268, 0x77775544, 0xA8A8D8E0, 0x9696044D, 0x2828BD43, 0xA9A92969,
+ 0xD9D97929, 0x8686912E, 0xD1D187AC, 0xF4F44A15, 0x8D8D1559, 0xD6D682A8, 0xB9B9BC0A, 0x42420D9E,
+ 0xF6F6C16E, 0x2F2FB847, 0xDDDD06DF, 0x23233934, 0xCCCC6235, 0xF1F1C46A, 0xC1C112CF, 0x8585EBDC,
+ 0x8F8F9E22, 0x7171A1C9, 0x9090F0C0, 0xAAAA539B, 0x0101F189, 0x8B8BE1D4, 0x4E4E8CED, 0x8E8E6FAB,
+ 0xABABA212, 0x6F6F3EA2, 0xE6E6540D, 0xDBDBF252, 0x92927BBB, 0xB7B7B602, 0x6969CA2F, 0x3939D9A9,
+ 0xD3D30CD7, 0xA7A72361, 0xA2A2AD1E, 0xC3C399B4, 0x6C6C4450, 0x07070504, 0x04047FF6, 0x272746C2,
+ 0xACACA716, 0xD0D07625, 0x50501386, 0xDCDCF756, 0x84841A55, 0xE1E15109, 0x7A7A25BE, 0x1313EF91
+ );
+
+ /**
+ * M-Table
+ *
+ * @var array
+ * @access private
+ */
+ var $m1 = array(
+ 0xA9D93939, 0x67901717, 0xB3719C9C, 0xE8D2A6A6, 0x04050707, 0xFD985252, 0xA3658080, 0x76DFE4E4,
+ 0x9A084545, 0x92024B4B, 0x80A0E0E0, 0x78665A5A, 0xE4DDAFAF, 0xDDB06A6A, 0xD1BF6363, 0x38362A2A,
+ 0x0D54E6E6, 0xC6432020, 0x3562CCCC, 0x98BEF2F2, 0x181E1212, 0xF724EBEB, 0xECD7A1A1, 0x6C774141,
+ 0x43BD2828, 0x7532BCBC, 0x37D47B7B, 0x269B8888, 0xFA700D0D, 0x13F94444, 0x94B1FBFB, 0x485A7E7E,
+ 0xF27A0303, 0xD0E48C8C, 0x8B47B6B6, 0x303C2424, 0x84A5E7E7, 0x54416B6B, 0xDF06DDDD, 0x23C56060,
+ 0x1945FDFD, 0x5BA33A3A, 0x3D68C2C2, 0x59158D8D, 0xF321ECEC, 0xAE316666, 0xA23E6F6F, 0x82165757,
+ 0x63951010, 0x015BEFEF, 0x834DB8B8, 0x2E918686, 0xD9B56D6D, 0x511F8383, 0x9B53AAAA, 0x7C635D5D,
+ 0xA63B6868, 0xEB3FFEFE, 0xA5D63030, 0xBE257A7A, 0x16A7ACAC, 0x0C0F0909, 0xE335F0F0, 0x6123A7A7,
+ 0xC0F09090, 0x8CAFE9E9, 0x3A809D9D, 0xF5925C5C, 0x73810C0C, 0x2C273131, 0x2576D0D0, 0x0BE75656,
+ 0xBB7B9292, 0x4EE9CECE, 0x89F10101, 0x6B9F1E1E, 0x53A93434, 0x6AC4F1F1, 0xB499C3C3, 0xF1975B5B,
+ 0xE1834747, 0xE66B1818, 0xBDC82222, 0x450E9898, 0xE26E1F1F, 0xF4C9B3B3, 0xB62F7474, 0x66CBF8F8,
+ 0xCCFF9999, 0x95EA1414, 0x03ED5858, 0x56F7DCDC, 0xD4E18B8B, 0x1C1B1515, 0x1EADA2A2, 0xD70CD3D3,
+ 0xFB2BE2E2, 0xC31DC8C8, 0x8E195E5E, 0xB5C22C2C, 0xE9894949, 0xCF12C1C1, 0xBF7E9595, 0xBA207D7D,
+ 0xEA641111, 0x77840B0B, 0x396DC5C5, 0xAF6A8989, 0x33D17C7C, 0xC9A17171, 0x62CEFFFF, 0x7137BBBB,
+ 0x81FB0F0F, 0x793DB5B5, 0x0951E1E1, 0xADDC3E3E, 0x242D3F3F, 0xCDA47676, 0xF99D5555, 0xD8EE8282,
+ 0xE5864040, 0xC5AE7878, 0xB9CD2525, 0x4D049696, 0x44557777, 0x080A0E0E, 0x86135050, 0xE730F7F7,
+ 0xA1D33737, 0x1D40FAFA, 0xAA346161, 0xED8C4E4E, 0x06B3B0B0, 0x706C5454, 0xB22A7373, 0xD2523B3B,
+ 0x410B9F9F, 0x7B8B0202, 0xA088D8D8, 0x114FF3F3, 0x3167CBCB, 0xC2462727, 0x27C06767, 0x90B4FCFC,
+ 0x20283838, 0xF67F0404, 0x60784848, 0xFF2EE5E5, 0x96074C4C, 0x5C4B6565, 0xB1C72B2B, 0xAB6F8E8E,
+ 0x9E0D4242, 0x9CBBF5F5, 0x52F2DBDB, 0x1BF34A4A, 0x5FA63D3D, 0x9359A4A4, 0x0ABCB9B9, 0xEF3AF9F9,
+ 0x91EF1313, 0x85FE0808, 0x49019191, 0xEE611616, 0x2D7CDEDE, 0x4FB22121, 0x8F42B1B1, 0x3BDB7272,
+ 0x47B82F2F, 0x8748BFBF, 0x6D2CAEAE, 0x46E3C0C0, 0xD6573C3C, 0x3E859A9A, 0x6929A9A9, 0x647D4F4F,
+ 0x2A948181, 0xCE492E2E, 0xCB17C6C6, 0x2FCA6969, 0xFCC3BDBD, 0x975CA3A3, 0x055EE8E8, 0x7AD0EDED,
+ 0xAC87D1D1, 0x7F8E0505, 0xD5BA6464, 0x1AA8A5A5, 0x4BB72626, 0x0EB9BEBE, 0xA7608787, 0x5AF8D5D5,
+ 0x28223636, 0x14111B1B, 0x3FDE7575, 0x2979D9D9, 0x88AAEEEE, 0x3C332D2D, 0x4C5F7979, 0x02B6B7B7,
+ 0xB896CACA, 0xDA583535, 0xB09CC4C4, 0x17FC4343, 0x551A8484, 0x1FF64D4D, 0x8A1C5959, 0x7D38B2B2,
+ 0x57AC3333, 0xC718CFCF, 0x8DF40606, 0x74695353, 0xB7749B9B, 0xC4F59797, 0x9F56ADAD, 0x72DAE3E3,
+ 0x7ED5EAEA, 0x154AF4F4, 0x229E8F8F, 0x12A2ABAB, 0x584E6262, 0x07E85F5F, 0x99E51D1D, 0x34392323,
+ 0x6EC1F6F6, 0x50446C6C, 0xDE5D3232, 0x68724646, 0x6526A0A0, 0xBC93CDCD, 0xDB03DADA, 0xF8C6BABA,
+ 0xC8FA9E9E, 0xA882D6D6, 0x2BCF6E6E, 0x40507070, 0xDCEB8585, 0xFE750A0A, 0x328A9393, 0xA48DDFDF,
+ 0xCA4C2929, 0x10141C1C, 0x2173D7D7, 0xF0CCB4B4, 0xD309D4D4, 0x5D108A8A, 0x0FE25151, 0x00000000,
+ 0x6F9A1919, 0x9DE01A1A, 0x368F9494, 0x42E6C7C7, 0x4AECC9C9, 0x5EFDD2D2, 0xC1AB7F7F, 0xE0D8A8A8
+ );
+
+ /**
+ * M-Table
+ *
+ * @var array
+ * @access private
+ */
+ var $m2 = array(
+ 0xBC75BC32, 0xECF3EC21, 0x20C62043, 0xB3F4B3C9, 0xDADBDA03, 0x027B028B, 0xE2FBE22B, 0x9EC89EFA,
+ 0xC94AC9EC, 0xD4D3D409, 0x18E6186B, 0x1E6B1E9F, 0x9845980E, 0xB27DB238, 0xA6E8A6D2, 0x264B26B7,
+ 0x3CD63C57, 0x9332938A, 0x82D882EE, 0x52FD5298, 0x7B377BD4, 0xBB71BB37, 0x5BF15B97, 0x47E14783,
+ 0x2430243C, 0x510F51E2, 0xBAF8BAC6, 0x4A1B4AF3, 0xBF87BF48, 0x0DFA0D70, 0xB006B0B3, 0x753F75DE,
+ 0xD25ED2FD, 0x7DBA7D20, 0x66AE6631, 0x3A5B3AA3, 0x598A591C, 0x00000000, 0xCDBCCD93, 0x1A9D1AE0,
+ 0xAE6DAE2C, 0x7FC17FAB, 0x2BB12BC7, 0xBE0EBEB9, 0xE080E0A0, 0x8A5D8A10, 0x3BD23B52, 0x64D564BA,
+ 0xD8A0D888, 0xE784E7A5, 0x5F075FE8, 0x1B141B11, 0x2CB52CC2, 0xFC90FCB4, 0x312C3127, 0x80A38065,
+ 0x73B2732A, 0x0C730C81, 0x794C795F, 0x6B546B41, 0x4B924B02, 0x53745369, 0x9436948F, 0x8351831F,
+ 0x2A382A36, 0xC4B0C49C, 0x22BD22C8, 0xD55AD5F8, 0xBDFCBDC3, 0x48604878, 0xFF62FFCE, 0x4C964C07,
+ 0x416C4177, 0xC742C7E6, 0xEBF7EB24, 0x1C101C14, 0x5D7C5D63, 0x36283622, 0x672767C0, 0xE98CE9AF,
+ 0x441344F9, 0x149514EA, 0xF59CF5BB, 0xCFC7CF18, 0x3F243F2D, 0xC046C0E3, 0x723B72DB, 0x5470546C,
+ 0x29CA294C, 0xF0E3F035, 0x088508FE, 0xC6CBC617, 0xF311F34F, 0x8CD08CE4, 0xA493A459, 0xCAB8CA96,
+ 0x68A6683B, 0xB883B84D, 0x38203828, 0xE5FFE52E, 0xAD9FAD56, 0x0B770B84, 0xC8C3C81D, 0x99CC99FF,
+ 0x580358ED, 0x196F199A, 0x0E080E0A, 0x95BF957E, 0x70407050, 0xF7E7F730, 0x6E2B6ECF, 0x1FE21F6E,
+ 0xB579B53D, 0x090C090F, 0x61AA6134, 0x57825716, 0x9F419F0B, 0x9D3A9D80, 0x11EA1164, 0x25B925CD,
+ 0xAFE4AFDD, 0x459A4508, 0xDFA4DF8D, 0xA397A35C, 0xEA7EEAD5, 0x35DA3558, 0xED7AEDD0, 0x431743FC,
+ 0xF866F8CB, 0xFB94FBB1, 0x37A137D3, 0xFA1DFA40, 0xC23DC268, 0xB4F0B4CC, 0x32DE325D, 0x9CB39C71,
+ 0x560B56E7, 0xE372E3DA, 0x87A78760, 0x151C151B, 0xF9EFF93A, 0x63D163BF, 0x345334A9, 0x9A3E9A85,
+ 0xB18FB142, 0x7C337CD1, 0x8826889B, 0x3D5F3DA6, 0xA1ECA1D7, 0xE476E4DF, 0x812A8194, 0x91499101,
+ 0x0F810FFB, 0xEE88EEAA, 0x16EE1661, 0xD721D773, 0x97C497F5, 0xA51AA5A8, 0xFEEBFE3F, 0x6DD96DB5,
+ 0x78C578AE, 0xC539C56D, 0x1D991DE5, 0x76CD76A4, 0x3EAD3EDC, 0xCB31CB67, 0xB68BB647, 0xEF01EF5B,
+ 0x1218121E, 0x602360C5, 0x6ADD6AB0, 0x4D1F4DF6, 0xCE4ECEE9, 0xDE2DDE7C, 0x55F9559D, 0x7E487E5A,
+ 0x214F21B2, 0x03F2037A, 0xA065A026, 0x5E8E5E19, 0x5A785A66, 0x655C654B, 0x6258624E, 0xFD19FD45,
+ 0x068D06F4, 0x40E54086, 0xF298F2BE, 0x335733AC, 0x17671790, 0x057F058E, 0xE805E85E, 0x4F644F7D,
+ 0x89AF896A, 0x10631095, 0x74B6742F, 0x0AFE0A75, 0x5CF55C92, 0x9BB79B74, 0x2D3C2D33, 0x30A530D6,
+ 0x2ECE2E49, 0x49E94989, 0x46684672, 0x77447755, 0xA8E0A8D8, 0x964D9604, 0x284328BD, 0xA969A929,
+ 0xD929D979, 0x862E8691, 0xD1ACD187, 0xF415F44A, 0x8D598D15, 0xD6A8D682, 0xB90AB9BC, 0x429E420D,
+ 0xF66EF6C1, 0x2F472FB8, 0xDDDFDD06, 0x23342339, 0xCC35CC62, 0xF16AF1C4, 0xC1CFC112, 0x85DC85EB,
+ 0x8F228F9E, 0x71C971A1, 0x90C090F0, 0xAA9BAA53, 0x018901F1, 0x8BD48BE1, 0x4EED4E8C, 0x8EAB8E6F,
+ 0xAB12ABA2, 0x6FA26F3E, 0xE60DE654, 0xDB52DBF2, 0x92BB927B, 0xB702B7B6, 0x692F69CA, 0x39A939D9,
+ 0xD3D7D30C, 0xA761A723, 0xA21EA2AD, 0xC3B4C399, 0x6C506C44, 0x07040705, 0x04F6047F, 0x27C22746,
+ 0xAC16ACA7, 0xD025D076, 0x50865013, 0xDC56DCF7, 0x8455841A, 0xE109E151, 0x7ABE7A25, 0x139113EF
+ );
+
+ /**
+ * M-Table
+ *
+ * @var array
+ * @access private
+ */
+ var $m3 = array(
+ 0xD939A9D9, 0x90176790, 0x719CB371, 0xD2A6E8D2, 0x05070405, 0x9852FD98, 0x6580A365, 0xDFE476DF,
+ 0x08459A08, 0x024B9202, 0xA0E080A0, 0x665A7866, 0xDDAFE4DD, 0xB06ADDB0, 0xBF63D1BF, 0x362A3836,
+ 0x54E60D54, 0x4320C643, 0x62CC3562, 0xBEF298BE, 0x1E12181E, 0x24EBF724, 0xD7A1ECD7, 0x77416C77,
+ 0xBD2843BD, 0x32BC7532, 0xD47B37D4, 0x9B88269B, 0x700DFA70, 0xF94413F9, 0xB1FB94B1, 0x5A7E485A,
+ 0x7A03F27A, 0xE48CD0E4, 0x47B68B47, 0x3C24303C, 0xA5E784A5, 0x416B5441, 0x06DDDF06, 0xC56023C5,
+ 0x45FD1945, 0xA33A5BA3, 0x68C23D68, 0x158D5915, 0x21ECF321, 0x3166AE31, 0x3E6FA23E, 0x16578216,
+ 0x95106395, 0x5BEF015B, 0x4DB8834D, 0x91862E91, 0xB56DD9B5, 0x1F83511F, 0x53AA9B53, 0x635D7C63,
+ 0x3B68A63B, 0x3FFEEB3F, 0xD630A5D6, 0x257ABE25, 0xA7AC16A7, 0x0F090C0F, 0x35F0E335, 0x23A76123,
+ 0xF090C0F0, 0xAFE98CAF, 0x809D3A80, 0x925CF592, 0x810C7381, 0x27312C27, 0x76D02576, 0xE7560BE7,
+ 0x7B92BB7B, 0xE9CE4EE9, 0xF10189F1, 0x9F1E6B9F, 0xA93453A9, 0xC4F16AC4, 0x99C3B499, 0x975BF197,
+ 0x8347E183, 0x6B18E66B, 0xC822BDC8, 0x0E98450E, 0x6E1FE26E, 0xC9B3F4C9, 0x2F74B62F, 0xCBF866CB,
+ 0xFF99CCFF, 0xEA1495EA, 0xED5803ED, 0xF7DC56F7, 0xE18BD4E1, 0x1B151C1B, 0xADA21EAD, 0x0CD3D70C,
+ 0x2BE2FB2B, 0x1DC8C31D, 0x195E8E19, 0xC22CB5C2, 0x8949E989, 0x12C1CF12, 0x7E95BF7E, 0x207DBA20,
+ 0x6411EA64, 0x840B7784, 0x6DC5396D, 0x6A89AF6A, 0xD17C33D1, 0xA171C9A1, 0xCEFF62CE, 0x37BB7137,
+ 0xFB0F81FB, 0x3DB5793D, 0x51E10951, 0xDC3EADDC, 0x2D3F242D, 0xA476CDA4, 0x9D55F99D, 0xEE82D8EE,
+ 0x8640E586, 0xAE78C5AE, 0xCD25B9CD, 0x04964D04, 0x55774455, 0x0A0E080A, 0x13508613, 0x30F7E730,
+ 0xD337A1D3, 0x40FA1D40, 0x3461AA34, 0x8C4EED8C, 0xB3B006B3, 0x6C54706C, 0x2A73B22A, 0x523BD252,
+ 0x0B9F410B, 0x8B027B8B, 0x88D8A088, 0x4FF3114F, 0x67CB3167, 0x4627C246, 0xC06727C0, 0xB4FC90B4,
+ 0x28382028, 0x7F04F67F, 0x78486078, 0x2EE5FF2E, 0x074C9607, 0x4B655C4B, 0xC72BB1C7, 0x6F8EAB6F,
+ 0x0D429E0D, 0xBBF59CBB, 0xF2DB52F2, 0xF34A1BF3, 0xA63D5FA6, 0x59A49359, 0xBCB90ABC, 0x3AF9EF3A,
+ 0xEF1391EF, 0xFE0885FE, 0x01914901, 0x6116EE61, 0x7CDE2D7C, 0xB2214FB2, 0x42B18F42, 0xDB723BDB,
+ 0xB82F47B8, 0x48BF8748, 0x2CAE6D2C, 0xE3C046E3, 0x573CD657, 0x859A3E85, 0x29A96929, 0x7D4F647D,
+ 0x94812A94, 0x492ECE49, 0x17C6CB17, 0xCA692FCA, 0xC3BDFCC3, 0x5CA3975C, 0x5EE8055E, 0xD0ED7AD0,
+ 0x87D1AC87, 0x8E057F8E, 0xBA64D5BA, 0xA8A51AA8, 0xB7264BB7, 0xB9BE0EB9, 0x6087A760, 0xF8D55AF8,
+ 0x22362822, 0x111B1411, 0xDE753FDE, 0x79D92979, 0xAAEE88AA, 0x332D3C33, 0x5F794C5F, 0xB6B702B6,
+ 0x96CAB896, 0x5835DA58, 0x9CC4B09C, 0xFC4317FC, 0x1A84551A, 0xF64D1FF6, 0x1C598A1C, 0x38B27D38,
+ 0xAC3357AC, 0x18CFC718, 0xF4068DF4, 0x69537469, 0x749BB774, 0xF597C4F5, 0x56AD9F56, 0xDAE372DA,
+ 0xD5EA7ED5, 0x4AF4154A, 0x9E8F229E, 0xA2AB12A2, 0x4E62584E, 0xE85F07E8, 0xE51D99E5, 0x39233439,
+ 0xC1F66EC1, 0x446C5044, 0x5D32DE5D, 0x72466872, 0x26A06526, 0x93CDBC93, 0x03DADB03, 0xC6BAF8C6,
+ 0xFA9EC8FA, 0x82D6A882, 0xCF6E2BCF, 0x50704050, 0xEB85DCEB, 0x750AFE75, 0x8A93328A, 0x8DDFA48D,
+ 0x4C29CA4C, 0x141C1014, 0x73D72173, 0xCCB4F0CC, 0x09D4D309, 0x108A5D10, 0xE2510FE2, 0x00000000,
+ 0x9A196F9A, 0xE01A9DE0, 0x8F94368F, 0xE6C742E6, 0xECC94AEC, 0xFDD25EFD, 0xAB7FC1AB, 0xD8A8E0D8
+ );
+
+ /**
+ * The Key Schedule Array
+ *
+ * @var array
+ * @access private
+ */
+ var $K = array();
+
+ /**
+ * The Key depended S-Table 0
+ *
+ * @var array
+ * @access private
+ */
+ var $S0 = array();
+
+ /**
+ * The Key depended S-Table 1
+ *
+ * @var array
+ * @access private
+ */
+ var $S1 = array();
+
+ /**
+ * The Key depended S-Table 2
+ *
+ * @var array
+ * @access private
+ */
+ var $S2 = array();
+
+ /**
+ * The Key depended S-Table 3
+ *
+ * @var array
+ * @access private
+ */
+ var $S3 = array();
+
+ /**
+ * Holds the last used key
+ *
+ * @var array
+ * @access private
+ */
+ var $kl;
+
+ /**
+ * The Key Length (in bytes)
+ *
+ * @see Crypt_Twofish::setKeyLength()
+ * @var int
+ * @access private
+ */
+ var $key_length = 16;
+
+ /**
+ * Sets the key length.
+ *
+ * Valid key lengths are 128, 192 or 256 bits
+ *
+ * @access public
+ * @param int $length
+ */
+ function setKeyLength($length)
+ {
+ switch (true) {
+ case $length <= 128:
+ $this->key_length = 16;
+ break;
+ case $length <= 192:
+ $this->key_length = 24;
+ break;
+ default:
+ $this->key_length = 32;
+ }
+
+ parent::setKeyLength($length);
+ }
+
+ /**
+ * Setup the key (expansion)
+ *
+ * @see \phpseclib\Crypt\Base::_setupKey()
+ * @access private
+ */
+ function _setupKey()
+ {
+ if (isset($this->kl['key']) && $this->key === $this->kl['key']) {
+ // already expanded
+ return;
+ }
+ $this->kl = array('key' => $this->key);
+
+ /* Key expanding and generating the key-depended s-boxes */
+ $le_longs = unpack('V*', $this->key);
+ $key = unpack('C*', $this->key);
+ $m0 = $this->m0;
+ $m1 = $this->m1;
+ $m2 = $this->m2;
+ $m3 = $this->m3;
+ $q0 = $this->q0;
+ $q1 = $this->q1;
+
+ $K = $S0 = $S1 = $S2 = $S3 = array();
+
+ switch (strlen($this->key)) {
+ case 16:
+ list($s7, $s6, $s5, $s4) = $this->_mdsrem($le_longs[1], $le_longs[2]);
+ list($s3, $s2, $s1, $s0) = $this->_mdsrem($le_longs[3], $le_longs[4]);
+ for ($i = 0, $j = 1; $i < 40; $i+= 2, $j+= 2) {
+ $A = $m0[$q0[$q0[$i] ^ $key[ 9]] ^ $key[1]] ^
+ $m1[$q0[$q1[$i] ^ $key[10]] ^ $key[2]] ^
+ $m2[$q1[$q0[$i] ^ $key[11]] ^ $key[3]] ^
+ $m3[$q1[$q1[$i] ^ $key[12]] ^ $key[4]];
+ $B = $m0[$q0[$q0[$j] ^ $key[13]] ^ $key[5]] ^
+ $m1[$q0[$q1[$j] ^ $key[14]] ^ $key[6]] ^
+ $m2[$q1[$q0[$j] ^ $key[15]] ^ $key[7]] ^
+ $m3[$q1[$q1[$j] ^ $key[16]] ^ $key[8]];
+ $B = ($B << 8) | ($B >> 24 & 0xff);
+ $K[] = $A+= $B;
+ $K[] = (($A+= $B) << 9 | $A >> 23 & 0x1ff);
+ }
+ for ($i = 0; $i < 256; ++$i) {
+ $S0[$i] = $m0[$q0[$q0[$i] ^ $s4] ^ $s0];
+ $S1[$i] = $m1[$q0[$q1[$i] ^ $s5] ^ $s1];
+ $S2[$i] = $m2[$q1[$q0[$i] ^ $s6] ^ $s2];
+ $S3[$i] = $m3[$q1[$q1[$i] ^ $s7] ^ $s3];
+ }
+ break;
+ case 24:
+ list($sb, $sa, $s9, $s8) = $this->_mdsrem($le_longs[1], $le_longs[2]);
+ list($s7, $s6, $s5, $s4) = $this->_mdsrem($le_longs[3], $le_longs[4]);
+ list($s3, $s2, $s1, $s0) = $this->_mdsrem($le_longs[5], $le_longs[6]);
+ for ($i = 0, $j = 1; $i < 40; $i+= 2, $j+= 2) {
+ $A = $m0[$q0[$q0[$q1[$i] ^ $key[17]] ^ $key[ 9]] ^ $key[1]] ^
+ $m1[$q0[$q1[$q1[$i] ^ $key[18]] ^ $key[10]] ^ $key[2]] ^
+ $m2[$q1[$q0[$q0[$i] ^ $key[19]] ^ $key[11]] ^ $key[3]] ^
+ $m3[$q1[$q1[$q0[$i] ^ $key[20]] ^ $key[12]] ^ $key[4]];
+ $B = $m0[$q0[$q0[$q1[$j] ^ $key[21]] ^ $key[13]] ^ $key[5]] ^
+ $m1[$q0[$q1[$q1[$j] ^ $key[22]] ^ $key[14]] ^ $key[6]] ^
+ $m2[$q1[$q0[$q0[$j] ^ $key[23]] ^ $key[15]] ^ $key[7]] ^
+ $m3[$q1[$q1[$q0[$j] ^ $key[24]] ^ $key[16]] ^ $key[8]];
+ $B = ($B << 8) | ($B >> 24 & 0xff);
+ $K[] = $A+= $B;
+ $K[] = (($A+= $B) << 9 | $A >> 23 & 0x1ff);
+ }
+ for ($i = 0; $i < 256; ++$i) {
+ $S0[$i] = $m0[$q0[$q0[$q1[$i] ^ $s8] ^ $s4] ^ $s0];
+ $S1[$i] = $m1[$q0[$q1[$q1[$i] ^ $s9] ^ $s5] ^ $s1];
+ $S2[$i] = $m2[$q1[$q0[$q0[$i] ^ $sa] ^ $s6] ^ $s2];
+ $S3[$i] = $m3[$q1[$q1[$q0[$i] ^ $sb] ^ $s7] ^ $s3];
+ }
+ break;
+ default: // 32
+ list($sf, $se, $sd, $sc) = $this->_mdsrem($le_longs[1], $le_longs[2]);
+ list($sb, $sa, $s9, $s8) = $this->_mdsrem($le_longs[3], $le_longs[4]);
+ list($s7, $s6, $s5, $s4) = $this->_mdsrem($le_longs[5], $le_longs[6]);
+ list($s3, $s2, $s1, $s0) = $this->_mdsrem($le_longs[7], $le_longs[8]);
+ for ($i = 0, $j = 1; $i < 40; $i+= 2, $j+= 2) {
+ $A = $m0[$q0[$q0[$q1[$q1[$i] ^ $key[25]] ^ $key[17]] ^ $key[ 9]] ^ $key[1]] ^
+ $m1[$q0[$q1[$q1[$q0[$i] ^ $key[26]] ^ $key[18]] ^ $key[10]] ^ $key[2]] ^
+ $m2[$q1[$q0[$q0[$q0[$i] ^ $key[27]] ^ $key[19]] ^ $key[11]] ^ $key[3]] ^
+ $m3[$q1[$q1[$q0[$q1[$i] ^ $key[28]] ^ $key[20]] ^ $key[12]] ^ $key[4]];
+ $B = $m0[$q0[$q0[$q1[$q1[$j] ^ $key[29]] ^ $key[21]] ^ $key[13]] ^ $key[5]] ^
+ $m1[$q0[$q1[$q1[$q0[$j] ^ $key[30]] ^ $key[22]] ^ $key[14]] ^ $key[6]] ^
+ $m2[$q1[$q0[$q0[$q0[$j] ^ $key[31]] ^ $key[23]] ^ $key[15]] ^ $key[7]] ^
+ $m3[$q1[$q1[$q0[$q1[$j] ^ $key[32]] ^ $key[24]] ^ $key[16]] ^ $key[8]];
+ $B = ($B << 8) | ($B >> 24 & 0xff);
+ $K[] = $A+= $B;
+ $K[] = (($A+= $B) << 9 | $A >> 23 & 0x1ff);
+ }
+ for ($i = 0; $i < 256; ++$i) {
+ $S0[$i] = $m0[$q0[$q0[$q1[$q1[$i] ^ $sc] ^ $s8] ^ $s4] ^ $s0];
+ $S1[$i] = $m1[$q0[$q1[$q1[$q0[$i] ^ $sd] ^ $s9] ^ $s5] ^ $s1];
+ $S2[$i] = $m2[$q1[$q0[$q0[$q0[$i] ^ $se] ^ $sa] ^ $s6] ^ $s2];
+ $S3[$i] = $m3[$q1[$q1[$q0[$q1[$i] ^ $sf] ^ $sb] ^ $s7] ^ $s3];
+ }
+ }
+
+ $this->K = $K;
+ $this->S0 = $S0;
+ $this->S1 = $S1;
+ $this->S2 = $S2;
+ $this->S3 = $S3;
+ }
+
+ /**
+ * _mdsrem function using by the twofish cipher algorithm
+ *
+ * @access private
+ * @param string $A
+ * @param string $B
+ * @return array
+ */
+ function _mdsrem($A, $B)
+ {
+ // No gain by unrolling this loop.
+ for ($i = 0; $i < 8; ++$i) {
+ // Get most significant coefficient.
+ $t = 0xff & ($B >> 24);
+
+ // Shift the others up.
+ $B = ($B << 8) | (0xff & ($A >> 24));
+ $A<<= 8;
+
+ $u = $t << 1;
+
+ // Subtract the modular polynomial on overflow.
+ if ($t & 0x80) {
+ $u^= 0x14d;
+ }
+
+ // Remove t * (a * x^2 + 1).
+ $B ^= $t ^ ($u << 16);
+
+ // Form u = a*t + t/a = t*(a + 1/a).
+ $u^= 0x7fffffff & ($t >> 1);
+
+ // Add the modular polynomial on underflow.
+ if ($t & 0x01) {
+ $u^= 0xa6 ;
+ }
+
+ // Remove t * (a + 1/a) * (x^3 + x).
+ $B^= ($u << 24) | ($u << 8);
+ }
+
+ return array(
+ 0xff & $B >> 24,
+ 0xff & $B >> 16,
+ 0xff & $B >> 8,
+ 0xff & $B);
+ }
+
+ /**
+ * Encrypts a block
+ *
+ * @access private
+ * @param string $in
+ * @return string
+ */
+ function _encryptBlock($in)
+ {
+ $S0 = $this->S0;
+ $S1 = $this->S1;
+ $S2 = $this->S2;
+ $S3 = $this->S3;
+ $K = $this->K;
+
+ $in = unpack("V4", $in);
+ $R0 = $K[0] ^ $in[1];
+ $R1 = $K[1] ^ $in[2];
+ $R2 = $K[2] ^ $in[3];
+ $R3 = $K[3] ^ $in[4];
+
+ $ki = 7;
+ while ($ki < 39) {
+ $t0 = $S0[ $R0 & 0xff] ^
+ $S1[($R0 >> 8) & 0xff] ^
+ $S2[($R0 >> 16) & 0xff] ^
+ $S3[($R0 >> 24) & 0xff];
+ $t1 = $S0[($R1 >> 24) & 0xff] ^
+ $S1[ $R1 & 0xff] ^
+ $S2[($R1 >> 8) & 0xff] ^
+ $S3[($R1 >> 16) & 0xff];
+ $R2^= $t0 + $t1 + $K[++$ki];
+ $R2 = ($R2 >> 1 & 0x7fffffff) | ($R2 << 31);
+ $R3 = ((($R3 >> 31) & 1) | ($R3 << 1)) ^ ($t0 + ($t1 << 1) + $K[++$ki]);
+
+ $t0 = $S0[ $R2 & 0xff] ^
+ $S1[($R2 >> 8) & 0xff] ^
+ $S2[($R2 >> 16) & 0xff] ^
+ $S3[($R2 >> 24) & 0xff];
+ $t1 = $S0[($R3 >> 24) & 0xff] ^
+ $S1[ $R3 & 0xff] ^
+ $S2[($R3 >> 8) & 0xff] ^
+ $S3[($R3 >> 16) & 0xff];
+ $R0^= ($t0 + $t1 + $K[++$ki]);
+ $R0 = ($R0 >> 1 & 0x7fffffff) | ($R0 << 31);
+ $R1 = ((($R1 >> 31) & 1) | ($R1 << 1)) ^ ($t0 + ($t1 << 1) + $K[++$ki]);
+ }
+
+ // @codingStandardsIgnoreStart
+ return pack("V4", $K[4] ^ $R2,
+ $K[5] ^ $R3,
+ $K[6] ^ $R0,
+ $K[7] ^ $R1);
+ // @codingStandardsIgnoreEnd
+ }
+
+ /**
+ * Decrypts a block
+ *
+ * @access private
+ * @param string $in
+ * @return string
+ */
+ function _decryptBlock($in)
+ {
+ $S0 = $this->S0;
+ $S1 = $this->S1;
+ $S2 = $this->S2;
+ $S3 = $this->S3;
+ $K = $this->K;
+
+ $in = unpack("V4", $in);
+ $R0 = $K[4] ^ $in[1];
+ $R1 = $K[5] ^ $in[2];
+ $R2 = $K[6] ^ $in[3];
+ $R3 = $K[7] ^ $in[4];
+
+ $ki = 40;
+ while ($ki > 8) {
+ $t0 = $S0[$R0 & 0xff] ^
+ $S1[$R0 >> 8 & 0xff] ^
+ $S2[$R0 >> 16 & 0xff] ^
+ $S3[$R0 >> 24 & 0xff];
+ $t1 = $S0[$R1 >> 24 & 0xff] ^
+ $S1[$R1 & 0xff] ^
+ $S2[$R1 >> 8 & 0xff] ^
+ $S3[$R1 >> 16 & 0xff];
+ $R3^= $t0 + ($t1 << 1) + $K[--$ki];
+ $R3 = $R3 >> 1 & 0x7fffffff | $R3 << 31;
+ $R2 = ($R2 >> 31 & 0x1 | $R2 << 1) ^ ($t0 + $t1 + $K[--$ki]);
+
+ $t0 = $S0[$R2 & 0xff] ^
+ $S1[$R2 >> 8 & 0xff] ^
+ $S2[$R2 >> 16 & 0xff] ^
+ $S3[$R2 >> 24 & 0xff];
+ $t1 = $S0[$R3 >> 24 & 0xff] ^
+ $S1[$R3 & 0xff] ^
+ $S2[$R3 >> 8 & 0xff] ^
+ $S3[$R3 >> 16 & 0xff];
+ $R1^= $t0 + ($t1 << 1) + $K[--$ki];
+ $R1 = $R1 >> 1 & 0x7fffffff | $R1 << 31;
+ $R0 = ($R0 >> 31 & 0x1 | $R0 << 1) ^ ($t0 + $t1 + $K[--$ki]);
+ }
+
+ // @codingStandardsIgnoreStart
+ return pack("V4", $K[0] ^ $R2,
+ $K[1] ^ $R3,
+ $K[2] ^ $R0,
+ $K[3] ^ $R1);
+ // @codingStandardsIgnoreEnd
+ }
+
+ /**
+ * Setup the performance-optimized function for de/encrypt()
+ *
+ * @see \phpseclib\Crypt\Base::_setupInlineCrypt()
+ * @access private
+ */
+ function _setupInlineCrypt()
+ {
+ $lambda_functions =& self::_getLambdaFunctions();
+
+ // Max. 10 Ultra-Hi-optimized inline-crypt functions. After that, we'll (still) create very fast code, but not the ultimate fast one.
+ // (Currently, for Crypt_Twofish, one generated $lambda_function cost on php5.5@32bit ~140kb unfreeable mem and ~240kb on php5.5@64bit)
+ $gen_hi_opt_code = (bool)(count($lambda_functions) < 10);
+
+ // Generation of a unique hash for our generated code
+ $code_hash = "Crypt_Twofish, {$this->mode}";
+ if ($gen_hi_opt_code) {
+ $code_hash = str_pad($code_hash, 32) . $this->_hashInlineCryptFunction($this->key);
+ }
+
+ if (!isset($lambda_functions[$code_hash])) {
+ switch (true) {
+ case $gen_hi_opt_code:
+ $K = $this->K;
+ $init_crypt = '
+ static $S0, $S1, $S2, $S3;
+ if (!$S0) {
+ for ($i = 0; $i < 256; ++$i) {
+ $S0[] = (int)$self->S0[$i];
+ $S1[] = (int)$self->S1[$i];
+ $S2[] = (int)$self->S2[$i];
+ $S3[] = (int)$self->S3[$i];
+ }
+ }
+ ';
+ break;
+ default:
+ $K = array();
+ for ($i = 0; $i < 40; ++$i) {
+ $K[] = '$K_' . $i;
+ }
+ $init_crypt = '
+ $S0 = $self->S0;
+ $S1 = $self->S1;
+ $S2 = $self->S2;
+ $S3 = $self->S3;
+ list(' . implode(',', $K) . ') = $self->K;
+ ';
+ }
+
+ // Generating encrypt code:
+ $encrypt_block = '
+ $in = unpack("V4", $in);
+ $R0 = '.$K[0].' ^ $in[1];
+ $R1 = '.$K[1].' ^ $in[2];
+ $R2 = '.$K[2].' ^ $in[3];
+ $R3 = '.$K[3].' ^ $in[4];
+ ';
+ for ($ki = 7, $i = 0; $i < 8; ++$i) {
+ $encrypt_block.= '
+ $t0 = $S0[ $R0 & 0xff] ^
+ $S1[($R0 >> 8) & 0xff] ^
+ $S2[($R0 >> 16) & 0xff] ^
+ $S3[($R0 >> 24) & 0xff];
+ $t1 = $S0[($R1 >> 24) & 0xff] ^
+ $S1[ $R1 & 0xff] ^
+ $S2[($R1 >> 8) & 0xff] ^
+ $S3[($R1 >> 16) & 0xff];
+ $R2^= ($t0 + $t1 + '.$K[++$ki].');
+ $R2 = ($R2 >> 1 & 0x7fffffff) | ($R2 << 31);
+ $R3 = ((($R3 >> 31) & 1) | ($R3 << 1)) ^ ($t0 + ($t1 << 1) + '.$K[++$ki].');
+
+ $t0 = $S0[ $R2 & 0xff] ^
+ $S1[($R2 >> 8) & 0xff] ^
+ $S2[($R2 >> 16) & 0xff] ^
+ $S3[($R2 >> 24) & 0xff];
+ $t1 = $S0[($R3 >> 24) & 0xff] ^
+ $S1[ $R3 & 0xff] ^
+ $S2[($R3 >> 8) & 0xff] ^
+ $S3[($R3 >> 16) & 0xff];
+ $R0^= ($t0 + $t1 + '.$K[++$ki].');
+ $R0 = ($R0 >> 1 & 0x7fffffff) | ($R0 << 31);
+ $R1 = ((($R1 >> 31) & 1) | ($R1 << 1)) ^ ($t0 + ($t1 << 1) + '.$K[++$ki].');
+ ';
+ }
+ $encrypt_block.= '
+ $in = pack("V4", '.$K[4].' ^ $R2,
+ '.$K[5].' ^ $R3,
+ '.$K[6].' ^ $R0,
+ '.$K[7].' ^ $R1);
+ ';
+
+ // Generating decrypt code:
+ $decrypt_block = '
+ $in = unpack("V4", $in);
+ $R0 = '.$K[4].' ^ $in[1];
+ $R1 = '.$K[5].' ^ $in[2];
+ $R2 = '.$K[6].' ^ $in[3];
+ $R3 = '.$K[7].' ^ $in[4];
+ ';
+ for ($ki = 40, $i = 0; $i < 8; ++$i) {
+ $decrypt_block.= '
+ $t0 = $S0[$R0 & 0xff] ^
+ $S1[$R0 >> 8 & 0xff] ^
+ $S2[$R0 >> 16 & 0xff] ^
+ $S3[$R0 >> 24 & 0xff];
+ $t1 = $S0[$R1 >> 24 & 0xff] ^
+ $S1[$R1 & 0xff] ^
+ $S2[$R1 >> 8 & 0xff] ^
+ $S3[$R1 >> 16 & 0xff];
+ $R3^= $t0 + ($t1 << 1) + '.$K[--$ki].';
+ $R3 = $R3 >> 1 & 0x7fffffff | $R3 << 31;
+ $R2 = ($R2 >> 31 & 0x1 | $R2 << 1) ^ ($t0 + $t1 + '.$K[--$ki].');
+
+ $t0 = $S0[$R2 & 0xff] ^
+ $S1[$R2 >> 8 & 0xff] ^
+ $S2[$R2 >> 16 & 0xff] ^
+ $S3[$R2 >> 24 & 0xff];
+ $t1 = $S0[$R3 >> 24 & 0xff] ^
+ $S1[$R3 & 0xff] ^
+ $S2[$R3 >> 8 & 0xff] ^
+ $S3[$R3 >> 16 & 0xff];
+ $R1^= $t0 + ($t1 << 1) + '.$K[--$ki].';
+ $R1 = $R1 >> 1 & 0x7fffffff | $R1 << 31;
+ $R0 = ($R0 >> 31 & 0x1 | $R0 << 1) ^ ($t0 + $t1 + '.$K[--$ki].');
+ ';
+ }
+ $decrypt_block.= '
+ $in = pack("V4", '.$K[0].' ^ $R2,
+ '.$K[1].' ^ $R3,
+ '.$K[2].' ^ $R0,
+ '.$K[3].' ^ $R1);
+ ';
+
+ $lambda_functions[$code_hash] = $this->_createInlineCryptFunction(
+ array(
+ 'init_crypt' => $init_crypt,
+ 'init_encrypt' => '',
+ 'init_decrypt' => '',
+ 'encrypt_block' => $encrypt_block,
+ 'decrypt_block' => $decrypt_block
+ )
+ );
+ }
+ $this->inline_crypt = $lambda_functions[$code_hash];
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ANSI.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ANSI.php
new file mode 100644
index 00000000..1f3eecb3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ANSI.php
@@ -0,0 +1,574 @@
+<?php
+
+/**
+ * Pure-PHP ANSI Decoder
+ *
+ * PHP version 5
+ *
+ * If you call read() in \phpseclib\Net\SSH2 you may get {@link http://en.wikipedia.org/wiki/ANSI_escape_code ANSI escape codes} back.
+ * They'd look like chr(0x1B) . '[00m' or whatever (0x1B = ESC). They tell a
+ * {@link http://en.wikipedia.org/wiki/Terminal_emulator terminal emulator} how to format the characters, what
+ * color to display them in, etc. \phpseclib\File\ANSI is a {@link http://en.wikipedia.org/wiki/VT100 VT100} terminal emulator.
+ *
+ * @category File
+ * @package ANSI
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2012 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\File;
+
+/**
+ * Pure-PHP ANSI Decoder
+ *
+ * @package ANSI
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class ANSI
+{
+ /**
+ * Max Width
+ *
+ * @var int
+ * @access private
+ */
+ var $max_x;
+
+ /**
+ * Max Height
+ *
+ * @var int
+ * @access private
+ */
+ var $max_y;
+
+ /**
+ * Max History
+ *
+ * @var int
+ * @access private
+ */
+ var $max_history;
+
+ /**
+ * History
+ *
+ * @var array
+ * @access private
+ */
+ var $history;
+
+ /**
+ * History Attributes
+ *
+ * @var array
+ * @access private
+ */
+ var $history_attrs;
+
+ /**
+ * Current Column
+ *
+ * @var int
+ * @access private
+ */
+ var $x;
+
+ /**
+ * Current Row
+ *
+ * @var int
+ * @access private
+ */
+ var $y;
+
+ /**
+ * Old Column
+ *
+ * @var int
+ * @access private
+ */
+ var $old_x;
+
+ /**
+ * Old Row
+ *
+ * @var int
+ * @access private
+ */
+ var $old_y;
+
+ /**
+ * An empty attribute cell
+ *
+ * @var object
+ * @access private
+ */
+ var $base_attr_cell;
+
+ /**
+ * The current attribute cell
+ *
+ * @var object
+ * @access private
+ */
+ var $attr_cell;
+
+ /**
+ * An empty attribute row
+ *
+ * @var array
+ * @access private
+ */
+ var $attr_row;
+
+ /**
+ * The current screen text
+ *
+ * @var array
+ * @access private
+ */
+ var $screen;
+
+ /**
+ * The current screen attributes
+ *
+ * @var array
+ * @access private
+ */
+ var $attrs;
+
+ /**
+ * Current ANSI code
+ *
+ * @var string
+ * @access private
+ */
+ var $ansi;
+
+ /**
+ * Tokenization
+ *
+ * @var array
+ * @access private
+ */
+ var $tokenization;
+
+ /**
+ * Default Constructor.
+ *
+ * @return \phpseclib\File\ANSI
+ * @access public
+ */
+ function __construct()
+ {
+ $attr_cell = new \stdClass();
+ $attr_cell->bold = false;
+ $attr_cell->underline = false;
+ $attr_cell->blink = false;
+ $attr_cell->background = 'black';
+ $attr_cell->foreground = 'white';
+ $attr_cell->reverse = false;
+ $this->base_attr_cell = clone $attr_cell;
+ $this->attr_cell = clone $attr_cell;
+
+ $this->setHistory(200);
+ $this->setDimensions(80, 24);
+ }
+
+ /**
+ * Set terminal width and height
+ *
+ * Resets the screen as well
+ *
+ * @param int $x
+ * @param int $y
+ * @access public
+ */
+ function setDimensions($x, $y)
+ {
+ $this->max_x = $x - 1;
+ $this->max_y = $y - 1;
+ $this->x = $this->y = 0;
+ $this->history = $this->history_attrs = array();
+ $this->attr_row = array_fill(0, $this->max_x + 2, $this->base_attr_cell);
+ $this->screen = array_fill(0, $this->max_y + 1, '');
+ $this->attrs = array_fill(0, $this->max_y + 1, $this->attr_row);
+ $this->ansi = '';
+ }
+
+ /**
+ * Set the number of lines that should be logged past the terminal height
+ *
+ * @param int $x
+ * @param int $y
+ * @access public
+ */
+ function setHistory($history)
+ {
+ $this->max_history = $history;
+ }
+
+ /**
+ * Load a string
+ *
+ * @param string $source
+ * @access public
+ */
+ function loadString($source)
+ {
+ $this->setDimensions($this->max_x + 1, $this->max_y + 1);
+ $this->appendString($source);
+ }
+
+ /**
+ * Appdend a string
+ *
+ * @param string $source
+ * @access public
+ */
+ function appendString($source)
+ {
+ $this->tokenization = array('');
+ for ($i = 0; $i < strlen($source); $i++) {
+ if (strlen($this->ansi)) {
+ $this->ansi.= $source[$i];
+ $chr = ord($source[$i]);
+ // http://en.wikipedia.org/wiki/ANSI_escape_code#Sequence_elements
+ // single character CSI's not currently supported
+ switch (true) {
+ case $this->ansi == "\x1B=":
+ $this->ansi = '';
+ continue 2;
+ case strlen($this->ansi) == 2 && $chr >= 64 && $chr <= 95 && $chr != ord('['):
+ case strlen($this->ansi) > 2 && $chr >= 64 && $chr <= 126:
+ break;
+ default:
+ continue 2;
+ }
+ $this->tokenization[] = $this->ansi;
+ $this->tokenization[] = '';
+ // http://ascii-table.com/ansi-escape-sequences-vt-100.php
+ switch ($this->ansi) {
+ case "\x1B[H": // Move cursor to upper left corner
+ $this->old_x = $this->x;
+ $this->old_y = $this->y;
+ $this->x = $this->y = 0;
+ break;
+ case "\x1B[J": // Clear screen from cursor down
+ $this->history = array_merge($this->history, array_slice(array_splice($this->screen, $this->y + 1), 0, $this->old_y));
+ $this->screen = array_merge($this->screen, array_fill($this->y, $this->max_y, ''));
+
+ $this->history_attrs = array_merge($this->history_attrs, array_slice(array_splice($this->attrs, $this->y + 1), 0, $this->old_y));
+ $this->attrs = array_merge($this->attrs, array_fill($this->y, $this->max_y, $this->attr_row));
+
+ if (count($this->history) == $this->max_history) {
+ array_shift($this->history);
+ array_shift($this->history_attrs);
+ }
+ case "\x1B[K": // Clear screen from cursor right
+ $this->screen[$this->y] = substr($this->screen[$this->y], 0, $this->x);
+
+ array_splice($this->attrs[$this->y], $this->x + 1, $this->max_x - $this->x, array_fill($this->x, $this->max_x - $this->x - 1, $this->base_attr_cell));
+ break;
+ case "\x1B[2K": // Clear entire line
+ $this->screen[$this->y] = str_repeat(' ', $this->x);
+ $this->attrs[$this->y] = $this->attr_row;
+ break;
+ case "\x1B[?1h": // set cursor key to application
+ case "\x1B[?25h": // show the cursor
+ case "\x1B(B": // set united states g0 character set
+ break;
+ case "\x1BE": // Move to next line
+ $this->_newLine();
+ $this->x = 0;
+ break;
+ default:
+ switch (true) {
+ case preg_match('#\x1B\[(\d+)B#', $this->ansi, $match): // Move cursor down n lines
+ $this->old_y = $this->y;
+ $this->y+= $match[1];
+ break;
+ case preg_match('#\x1B\[(\d+);(\d+)H#', $this->ansi, $match): // Move cursor to screen location v,h
+ $this->old_x = $this->x;
+ $this->old_y = $this->y;
+ $this->x = $match[2] - 1;
+ $this->y = $match[1] - 1;
+ break;
+ case preg_match('#\x1B\[(\d+)C#', $this->ansi, $match): // Move cursor right n lines
+ $this->old_x = $this->x;
+ $this->x+= $match[1];
+ break;
+ case preg_match('#\x1B\[(\d+)D#', $this->ansi, $match): // Move cursor left n lines
+ $this->old_x = $this->x;
+ $this->x-= $match[1];
+ break;
+ case preg_match('#\x1B\[(\d+);(\d+)r#', $this->ansi, $match): // Set top and bottom lines of a window
+ break;
+ case preg_match('#\x1B\[(\d*(?:;\d*)*)m#', $this->ansi, $match): // character attributes
+ $attr_cell = &$this->attr_cell;
+ $mods = explode(';', $match[1]);
+ foreach ($mods as $mod) {
+ switch ($mod) {
+ case 0: // Turn off character attributes
+ $attr_cell = clone $this->base_attr_cell;
+ break;
+ case 1: // Turn bold mode on
+ $attr_cell->bold = true;
+ break;
+ case 4: // Turn underline mode on
+ $attr_cell->underline = true;
+ break;
+ case 5: // Turn blinking mode on
+ $attr_cell->blink = true;
+ break;
+ case 7: // Turn reverse video on
+ $attr_cell->reverse = !$attr_cell->reverse;
+ $temp = $attr_cell->background;
+ $attr_cell->background = $attr_cell->foreground;
+ $attr_cell->foreground = $temp;
+ break;
+ default: // set colors
+ //$front = $attr_cell->reverse ? &$attr_cell->background : &$attr_cell->foreground;
+ $front = &$attr_cell->{ $attr_cell->reverse ? 'background' : 'foreground' };
+ //$back = $attr_cell->reverse ? &$attr_cell->foreground : &$attr_cell->background;
+ $back = &$attr_cell->{ $attr_cell->reverse ? 'foreground' : 'background' };
+ switch ($mod) {
+ // @codingStandardsIgnoreStart
+ case 30: $front = 'black'; break;
+ case 31: $front = 'red'; break;
+ case 32: $front = 'green'; break;
+ case 33: $front = 'yellow'; break;
+ case 34: $front = 'blue'; break;
+ case 35: $front = 'magenta'; break;
+ case 36: $front = 'cyan'; break;
+ case 37: $front = 'white'; break;
+
+ case 40: $back = 'black'; break;
+ case 41: $back = 'red'; break;
+ case 42: $back = 'green'; break;
+ case 43: $back = 'yellow'; break;
+ case 44: $back = 'blue'; break;
+ case 45: $back = 'magenta'; break;
+ case 46: $back = 'cyan'; break;
+ case 47: $back = 'white'; break;
+ // @codingStandardsIgnoreEnd
+
+ default:
+ //user_error('Unsupported attribute: ' . $mod);
+ $this->ansi = '';
+ break 2;
+ }
+ }
+ }
+ break;
+ default:
+ //user_error("{$this->ansi} is unsupported\r\n");
+ }
+ }
+ $this->ansi = '';
+ continue;
+ }
+
+ $this->tokenization[count($this->tokenization) - 1].= $source[$i];
+ switch ($source[$i]) {
+ case "\r":
+ $this->x = 0;
+ break;
+ case "\n":
+ $this->_newLine();
+ break;
+ case "\x08": // backspace
+ if ($this->x) {
+ $this->x--;
+ $this->attrs[$this->y][$this->x] = clone $this->base_attr_cell;
+ $this->screen[$this->y] = substr_replace(
+ $this->screen[$this->y],
+ $source[$i],
+ $this->x,
+ 1
+ );
+ }
+ break;
+ case "\x0F": // shift
+ break;
+ case "\x1B": // start ANSI escape code
+ $this->tokenization[count($this->tokenization) - 1] = substr($this->tokenization[count($this->tokenization) - 1], 0, -1);
+ //if (!strlen($this->tokenization[count($this->tokenization) - 1])) {
+ // array_pop($this->tokenization);
+ //}
+ $this->ansi.= "\x1B";
+ break;
+ default:
+ $this->attrs[$this->y][$this->x] = clone $this->attr_cell;
+ if ($this->x > strlen($this->screen[$this->y])) {
+ $this->screen[$this->y] = str_repeat(' ', $this->x);
+ }
+ $this->screen[$this->y] = substr_replace(
+ $this->screen[$this->y],
+ $source[$i],
+ $this->x,
+ 1
+ );
+
+ if ($this->x > $this->max_x) {
+ $this->x = 0;
+ $this->y++;
+ } else {
+ $this->x++;
+ }
+ }
+ }
+ }
+
+ /**
+ * Add a new line
+ *
+ * Also update the $this->screen and $this->history buffers
+ *
+ * @access private
+ */
+ function _newLine()
+ {
+ //if ($this->y < $this->max_y) {
+ // $this->y++;
+ //}
+
+ while ($this->y >= $this->max_y) {
+ $this->history = array_merge($this->history, array(array_shift($this->screen)));
+ $this->screen[] = '';
+
+ $this->history_attrs = array_merge($this->history_attrs, array(array_shift($this->attrs)));
+ $this->attrs[] = $this->attr_row;
+
+ if (count($this->history) >= $this->max_history) {
+ array_shift($this->history);
+ array_shift($this->history_attrs);
+ }
+
+ $this->y--;
+ }
+ $this->y++;
+ }
+
+ /**
+ * Returns the current coordinate without preformating
+ *
+ * @access private
+ * @return string
+ */
+ function _processCoordinate($last_attr, $cur_attr, $char)
+ {
+ $output = '';
+
+ if ($last_attr != $cur_attr) {
+ $close = $open = '';
+ if ($last_attr->foreground != $cur_attr->foreground) {
+ if ($cur_attr->foreground != 'white') {
+ $open.= '<span style="color: ' . $cur_attr->foreground . '">';
+ }
+ if ($last_attr->foreground != 'white') {
+ $close = '</span>' . $close;
+ }
+ }
+ if ($last_attr->background != $cur_attr->background) {
+ if ($cur_attr->background != 'black') {
+ $open.= '<span style="background: ' . $cur_attr->background . '">';
+ }
+ if ($last_attr->background != 'black') {
+ $close = '</span>' . $close;
+ }
+ }
+ if ($last_attr->bold != $cur_attr->bold) {
+ if ($cur_attr->bold) {
+ $open.= '<b>';
+ } else {
+ $close = '</b>' . $close;
+ }
+ }
+ if ($last_attr->underline != $cur_attr->underline) {
+ if ($cur_attr->underline) {
+ $open.= '<u>';
+ } else {
+ $close = '</u>' . $close;
+ }
+ }
+ if ($last_attr->blink != $cur_attr->blink) {
+ if ($cur_attr->blink) {
+ $open.= '<blink>';
+ } else {
+ $close = '</blink>' . $close;
+ }
+ }
+ $output.= $close . $open;
+ }
+
+ $output.= htmlspecialchars($char);
+
+ return $output;
+ }
+
+ /**
+ * Returns the current screen without preformating
+ *
+ * @access private
+ * @return string
+ */
+ function _getScreen()
+ {
+ $output = '';
+ $last_attr = $this->base_attr_cell;
+ for ($i = 0; $i <= $this->max_y; $i++) {
+ for ($j = 0; $j <= $this->max_x; $j++) {
+ $cur_attr = $this->attrs[$i][$j];
+ $output.= $this->_processCoordinate($last_attr, $cur_attr, isset($this->screen[$i][$j]) ? $this->screen[$i][$j] : '');
+ $last_attr = $this->attrs[$i][$j];
+ }
+ $output.= "\r\n";
+ }
+ $output = substr($output, 0, -2);
+ // close any remaining open tags
+ $output.= $this->_processCoordinate($last_attr, $this->base_attr_cell, '');
+ return rtrim($output);
+ }
+
+ /**
+ * Returns the current screen
+ *
+ * @access public
+ * @return string
+ */
+ function getScreen()
+ {
+ return '<pre width="' . ($this->max_x + 1) . '" style="color: white; background: black">' . $this->_getScreen() . '</pre>';
+ }
+
+ /**
+ * Returns the current screen and the x previous lines
+ *
+ * @access public
+ * @return string
+ */
+ function getHistory()
+ {
+ $scrollback = '';
+ $last_attr = $this->base_attr_cell;
+ for ($i = 0; $i < count($this->history); $i++) {
+ for ($j = 0; $j <= $this->max_x + 1; $j++) {
+ $cur_attr = $this->history_attrs[$i][$j];
+ $scrollback.= $this->_processCoordinate($last_attr, $cur_attr, isset($this->history[$i][$j]) ? $this->history[$i][$j] : '');
+ $last_attr = $this->history_attrs[$i][$j];
+ }
+ $scrollback.= "\r\n";
+ }
+ $base_attr_cell = $this->base_attr_cell;
+ $this->base_attr_cell = $last_attr;
+ $scrollback.= $this->_getScreen();
+ $this->base_attr_cell = $base_attr_cell;
+
+ return '<pre width="' . ($this->max_x + 1) . '" style="color: white; background: black">' . $scrollback . '</span></pre>';
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ASN1.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ASN1.php
new file mode 100644
index 00000000..504dbe8b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ASN1.php
@@ -0,0 +1,1323 @@
+<?php
+
+/**
+ * Pure-PHP ASN.1 Parser
+ *
+ * PHP version 5
+ *
+ * ASN.1 provides the semantics for data encoded using various schemes. The most commonly
+ * utilized scheme is DER or the "Distinguished Encoding Rules". PEM's are base64 encoded
+ * DER blobs.
+ *
+ * \phpseclib\File\ASN1 decodes and encodes DER formatted messages and places them in a semantic context.
+ *
+ * Uses the 1988 ASN.1 syntax.
+ *
+ * @category File
+ * @package ASN1
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2012 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\File;
+
+use phpseclib\File\ASN1\Element;
+use phpseclib\Math\BigInteger;
+
+/**
+ * Pure-PHP ASN.1 Parser
+ *
+ * @package ASN1
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class ASN1
+{
+ /**#@+
+ * Tag Classes
+ *
+ * @access private
+ * @link http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#page=12
+ */
+ const CLASS_UNIVERSAL = 0;
+ const CLASS_APPLICATION = 1;
+ const CLASS_CONTEXT_SPECIFIC = 2;
+ const CLASS_PRIVATE = 3;
+ /**#@-*/
+
+ /**#@+
+ * Tag Classes
+ *
+ * @access private
+ * @link http://www.obj-sys.com/asn1tutorial/node124.html
+ */
+ const TYPE_BOOLEAN = 1;
+ const TYPE_INTEGER = 2;
+ const TYPE_BIT_STRING = 3;
+ const TYPE_OCTET_STRING = 4;
+ const TYPE_NULL = 5;
+ const TYPE_OBJECT_IDENTIFIER = 6;
+ //const TYPE_OBJECT_DESCRIPTOR = 7;
+ //const TYPE_INSTANCE_OF = 8; // EXTERNAL
+ const TYPE_REAL = 9;
+ const TYPE_ENUMERATED = 10;
+ //const TYPE_EMBEDDED = 11;
+ const TYPE_UTF8_STRING = 12;
+ //const TYPE_RELATIVE_OID = 13;
+ const TYPE_SEQUENCE = 16; // SEQUENCE OF
+ const TYPE_SET = 17; // SET OF
+ /**#@-*/
+ /**#@+
+ * More Tag Classes
+ *
+ * @access private
+ * @link http://www.obj-sys.com/asn1tutorial/node10.html
+ */
+ const TYPE_NUMERIC_STRING = 18;
+ const TYPE_PRINTABLE_STRING = 19;
+ const TYPE_TELETEX_STRING = 20; // T61String
+ const TYPE_VIDEOTEX_STRING = 21;
+ const TYPE_IA5_STRING = 22;
+ const TYPE_UTC_TIME = 23;
+ const TYPE_GENERALIZED_TIME = 24;
+ const TYPE_GRAPHIC_STRING = 25;
+ const TYPE_VISIBLE_STRING = 26; // ISO646String
+ const TYPE_GENERAL_STRING = 27;
+ const TYPE_UNIVERSAL_STRING = 28;
+ //const TYPE_CHARACTER_STRING = 29;
+ const TYPE_BMP_STRING = 30;
+ /**#@-*/
+
+ /**#@+
+ * Tag Aliases
+ *
+ * These tags are kinda place holders for other tags.
+ *
+ * @access private
+ */
+ const TYPE_CHOICE = -1;
+ const TYPE_ANY = -2;
+ /**#@-*/
+
+ /**
+ * ASN.1 object identifier
+ *
+ * @var array
+ * @access private
+ * @link http://en.wikipedia.org/wiki/Object_identifier
+ */
+ var $oids = array();
+
+ /**
+ * Default date format
+ *
+ * @var string
+ * @access private
+ * @link http://php.net/class.datetime
+ */
+ var $format = 'D, d M Y H:i:s O';
+
+ /**
+ * Default date format
+ *
+ * @var array
+ * @access private
+ * @see self::setTimeFormat()
+ * @see self::asn1map()
+ * @link http://php.net/class.datetime
+ */
+ var $encoded;
+
+ /**
+ * Filters
+ *
+ * If the mapping type is self::TYPE_ANY what do we actually encode it as?
+ *
+ * @var array
+ * @access private
+ * @see self::_encode_der()
+ */
+ var $filters;
+
+ /**
+ * Type mapping table for the ANY type.
+ *
+ * Structured or unknown types are mapped to a \phpseclib\File\ASN1\Element.
+ * Unambiguous types get the direct mapping (int/real/bool).
+ * Others are mapped as a choice, with an extra indexing level.
+ *
+ * @var array
+ * @access public
+ */
+ var $ANYmap = array(
+ self::TYPE_BOOLEAN => true,
+ self::TYPE_INTEGER => true,
+ self::TYPE_BIT_STRING => 'bitString',
+ self::TYPE_OCTET_STRING => 'octetString',
+ self::TYPE_NULL => 'null',
+ self::TYPE_OBJECT_IDENTIFIER => 'objectIdentifier',
+ self::TYPE_REAL => true,
+ self::TYPE_ENUMERATED => 'enumerated',
+ self::TYPE_UTF8_STRING => 'utf8String',
+ self::TYPE_NUMERIC_STRING => 'numericString',
+ self::TYPE_PRINTABLE_STRING => 'printableString',
+ self::TYPE_TELETEX_STRING => 'teletexString',
+ self::TYPE_VIDEOTEX_STRING => 'videotexString',
+ self::TYPE_IA5_STRING => 'ia5String',
+ self::TYPE_UTC_TIME => 'utcTime',
+ self::TYPE_GENERALIZED_TIME => 'generalTime',
+ self::TYPE_GRAPHIC_STRING => 'graphicString',
+ self::TYPE_VISIBLE_STRING => 'visibleString',
+ self::TYPE_GENERAL_STRING => 'generalString',
+ self::TYPE_UNIVERSAL_STRING => 'universalString',
+ //self::TYPE_CHARACTER_STRING => 'characterString',
+ self::TYPE_BMP_STRING => 'bmpString'
+ );
+
+ /**
+ * String type to character size mapping table.
+ *
+ * Non-convertable types are absent from this table.
+ * size == 0 indicates variable length encoding.
+ *
+ * @var array
+ * @access public
+ */
+ var $stringTypeSize = array(
+ self::TYPE_UTF8_STRING => 0,
+ self::TYPE_BMP_STRING => 2,
+ self::TYPE_UNIVERSAL_STRING => 4,
+ self::TYPE_PRINTABLE_STRING => 1,
+ self::TYPE_TELETEX_STRING => 1,
+ self::TYPE_IA5_STRING => 1,
+ self::TYPE_VISIBLE_STRING => 1,
+ );
+
+ /**
+ * Parse BER-encoding
+ *
+ * Serves a similar purpose to openssl's asn1parse
+ *
+ * @param string $encoded
+ * @return array
+ * @access public
+ */
+ function decodeBER($encoded)
+ {
+ if ($encoded instanceof Element) {
+ $encoded = $encoded->element;
+ }
+
+ $this->encoded = $encoded;
+ // encapsulate in an array for BC with the old decodeBER
+ return array($this->_decode_ber($encoded));
+ }
+
+ /**
+ * Parse BER-encoding (Helper function)
+ *
+ * Sometimes we want to get the BER encoding of a particular tag. $start lets us do that without having to reencode.
+ * $encoded is passed by reference for the recursive calls done for self::TYPE_BIT_STRING and
+ * self::TYPE_OCTET_STRING. In those cases, the indefinite length is used.
+ *
+ * @param string $encoded
+ * @param int $start
+ * @param int $encoded_pos
+ * @return array
+ * @access private
+ */
+ function _decode_ber($encoded, $start = 0, $encoded_pos = 0)
+ {
+ $current = array('start' => $start);
+
+ $type = ord($encoded[$encoded_pos++]);
+ $start++;
+
+ $constructed = ($type >> 5) & 1;
+
+ $tag = $type & 0x1F;
+ if ($tag == 0x1F) {
+ $tag = 0;
+ // process septets (since the eighth bit is ignored, it's not an octet)
+ do {
+ $loop = ord($encoded[0]) >> 7;
+ $tag <<= 7;
+ $tag |= ord($encoded[$encoded_pos++]) & 0x7F;
+ $start++;
+ } while ($loop);
+ }
+
+ // Length, as discussed in paragraph 8.1.3 of X.690-0207.pdf#page=13
+ $length = ord($encoded[$encoded_pos++]);
+ $start++;
+ if ($length == 0x80) { // indefinite length
+ // "[A sender shall] use the indefinite form (see 8.1.3.6) if the encoding is constructed and is not all
+ // immediately available." -- paragraph 8.1.3.2.c
+ $length = strlen($encoded) - $encoded_pos;
+ } elseif ($length & 0x80) { // definite length, long form
+ // technically, the long form of the length can be represented by up to 126 octets (bytes), but we'll only
+ // support it up to four.
+ $length&= 0x7F;
+ $temp = substr($encoded, $encoded_pos, $length);
+ $encoded_pos += $length;
+ // tags of indefinte length don't really have a header length; this length includes the tag
+ $current+= array('headerlength' => $length + 2);
+ $start+= $length;
+ extract(unpack('Nlength', substr(str_pad($temp, 4, chr(0), STR_PAD_LEFT), -4)));
+ } else {
+ $current+= array('headerlength' => 2);
+ }
+
+ if ($length > (strlen($encoded) - $encoded_pos)) {
+ return false;
+ }
+
+ $content = substr($encoded, $encoded_pos, $length);
+ $content_pos = 0;
+
+ // at this point $length can be overwritten. it's only accurate for definite length things as is
+
+ /* Class is UNIVERSAL, APPLICATION, PRIVATE, or CONTEXT-SPECIFIC. The UNIVERSAL class is restricted to the ASN.1
+ built-in types. It defines an application-independent data type that must be distinguishable from all other
+ data types. The other three classes are user defined. The APPLICATION class distinguishes data types that
+ have a wide, scattered use within a particular presentation context. PRIVATE distinguishes data types within
+ a particular organization or country. CONTEXT-SPECIFIC distinguishes members of a sequence or set, the
+ alternatives of a CHOICE, or universally tagged set members. Only the class number appears in braces for this
+ data type; the term CONTEXT-SPECIFIC does not appear.
+
+ -- http://www.obj-sys.com/asn1tutorial/node12.html */
+ $class = ($type >> 6) & 3;
+ switch ($class) {
+ case self::CLASS_APPLICATION:
+ case self::CLASS_PRIVATE:
+ case self::CLASS_CONTEXT_SPECIFIC:
+ if (!$constructed) {
+ return array(
+ 'type' => $class,
+ 'constant' => $tag,
+ 'content' => $content,
+ 'length' => $length + $start - $current['start']
+ );
+ }
+
+ $newcontent = array();
+ $remainingLength = $length;
+ while ($remainingLength > 0) {
+ $temp = $this->_decode_ber($content, $start, $content_pos);
+ $length = $temp['length'];
+ // end-of-content octets - see paragraph 8.1.5
+ if (substr($content, $content_pos + $length, 2) == "\0\0") {
+ $length+= 2;
+ $start+= $length;
+ $newcontent[] = $temp;
+ break;
+ }
+ $start+= $length;
+ $remainingLength-= $length;
+ $newcontent[] = $temp;
+ $content_pos += $length;
+ }
+
+ return array(
+ 'type' => $class,
+ 'constant' => $tag,
+ // the array encapsulation is for BC with the old format
+ 'content' => $newcontent,
+ // the only time when $content['headerlength'] isn't defined is when the length is indefinite.
+ // the absence of $content['headerlength'] is how we know if something is indefinite or not.
+ // technically, it could be defined to be 2 and then another indicator could be used but whatever.
+ 'length' => $start - $current['start']
+ ) + $current;
+ }
+
+ $current+= array('type' => $tag);
+
+ // decode UNIVERSAL tags
+ switch ($tag) {
+ case self::TYPE_BOOLEAN:
+ // "The contents octets shall consist of a single octet." -- paragraph 8.2.1
+ //if (strlen($content) != 1) {
+ // return false;
+ //}
+ $current['content'] = (bool) ord($content[$content_pos]);
+ break;
+ case self::TYPE_INTEGER:
+ case self::TYPE_ENUMERATED:
+ $current['content'] = new BigInteger(substr($content, $content_pos), -256);
+ break;
+ case self::TYPE_REAL: // not currently supported
+ return false;
+ case self::TYPE_BIT_STRING:
+ // The initial octet shall encode, as an unsigned binary integer with bit 1 as the least significant bit,
+ // the number of unused bits in the final subsequent octet. The number shall be in the range zero to
+ // seven.
+ if (!$constructed) {
+ $current['content'] = substr($content, $content_pos);
+ } else {
+ $temp = $this->_decode_ber($content, $start, $content_pos);
+ $length-= (strlen($content) - $content_pos);
+ $last = count($temp) - 1;
+ for ($i = 0; $i < $last; $i++) {
+ // all subtags should be bit strings
+ //if ($temp[$i]['type'] != self::TYPE_BIT_STRING) {
+ // return false;
+ //}
+ $current['content'].= substr($temp[$i]['content'], 1);
+ }
+ // all subtags should be bit strings
+ //if ($temp[$last]['type'] != self::TYPE_BIT_STRING) {
+ // return false;
+ //}
+ $current['content'] = $temp[$last]['content'][0] . $current['content'] . substr($temp[$i]['content'], 1);
+ }
+ break;
+ case self::TYPE_OCTET_STRING:
+ if (!$constructed) {
+ $current['content'] = substr($content, $content_pos);
+ } else {
+ $current['content'] = '';
+ $length = 0;
+ while (substr($content, $content_pos, 2) != "\0\0") {
+ $temp = $this->_decode_ber($content, $length + $start, $content_pos);
+ $content_pos += $temp['length'];
+ // all subtags should be octet strings
+ //if ($temp['type'] != self::TYPE_OCTET_STRING) {
+ // return false;
+ //}
+ $current['content'].= $temp['content'];
+ $length+= $temp['length'];
+ }
+ if (substr($content, $content_pos, 2) == "\0\0") {
+ $length+= 2; // +2 for the EOC
+ }
+ }
+ break;
+ case self::TYPE_NULL:
+ // "The contents octets shall not contain any octets." -- paragraph 8.8.2
+ //if (strlen($content)) {
+ // return false;
+ //}
+ break;
+ case self::TYPE_SEQUENCE:
+ case self::TYPE_SET:
+ $offset = 0;
+ $current['content'] = array();
+ $content_len = strlen($content);
+ while ($content_pos < $content_len) {
+ // if indefinite length construction was used and we have an end-of-content string next
+ // see paragraphs 8.1.1.3, 8.1.3.2, 8.1.3.6, 8.1.5, and (for an example) 8.6.4.2
+ if (!isset($current['headerlength']) && substr($content, $content_pos, 2) == "\0\0") {
+ $length = $offset + 2; // +2 for the EOC
+ break 2;
+ }
+ $temp = $this->_decode_ber($content, $start + $offset, $content_pos);
+ $content_pos += $temp['length'];
+ $current['content'][] = $temp;
+ $offset+= $temp['length'];
+ }
+ break;
+ case self::TYPE_OBJECT_IDENTIFIER:
+ $temp = ord($content[$content_pos++]);
+ $current['content'] = sprintf('%d.%d', floor($temp / 40), $temp % 40);
+ $valuen = 0;
+ // process septets
+ $content_len = strlen($content);
+ while ($content_pos < $content_len) {
+ $temp = ord($content[$content_pos++]);
+ $valuen <<= 7;
+ $valuen |= $temp & 0x7F;
+ if (~$temp & 0x80) {
+ $current['content'].= ".$valuen";
+ $valuen = 0;
+ }
+ }
+ // the eighth bit of the last byte should not be 1
+ //if ($temp >> 7) {
+ // return false;
+ //}
+ break;
+ /* Each character string type shall be encoded as if it had been declared:
+ [UNIVERSAL x] IMPLICIT OCTET STRING
+
+ -- X.690-0207.pdf#page=23 (paragraph 8.21.3)
+
+ Per that, we're not going to do any validation. If there are any illegal characters in the string,
+ we don't really care */
+ case self::TYPE_NUMERIC_STRING:
+ // 0,1,2,3,4,5,6,7,8,9, and space
+ case self::TYPE_PRINTABLE_STRING:
+ // Upper and lower case letters, digits, space, apostrophe, left/right parenthesis, plus sign, comma,
+ // hyphen, full stop, solidus, colon, equal sign, question mark
+ case self::TYPE_TELETEX_STRING:
+ // The Teletex character set in CCITT's T61, space, and delete
+ // see http://en.wikipedia.org/wiki/Teletex#Character_sets
+ case self::TYPE_VIDEOTEX_STRING:
+ // The Videotex character set in CCITT's T.100 and T.101, space, and delete
+ case self::TYPE_VISIBLE_STRING:
+ // Printing character sets of international ASCII, and space
+ case self::TYPE_IA5_STRING:
+ // International Alphabet 5 (International ASCII)
+ case self::TYPE_GRAPHIC_STRING:
+ // All registered G sets, and space
+ case self::TYPE_GENERAL_STRING:
+ // All registered C and G sets, space and delete
+ case self::TYPE_UTF8_STRING:
+ // ????
+ case self::TYPE_BMP_STRING:
+ $current['content'] = substr($content, $content_pos);
+ break;
+ case self::TYPE_UTC_TIME:
+ case self::TYPE_GENERALIZED_TIME:
+ $current['content'] = $this->_decodeTime(substr($content, $content_pos), $tag);
+ default:
+ }
+
+ $start+= $length;
+
+ // ie. length is the length of the full TLV encoding - it's not just the length of the value
+ return $current + array('length' => $start - $current['start']);
+ }
+
+ /**
+ * ASN.1 Map
+ *
+ * Provides an ASN.1 semantic mapping ($mapping) from a parsed BER-encoding to a human readable format.
+ *
+ * "Special" mappings may be applied on a per tag-name basis via $special.
+ *
+ * @param array $decoded
+ * @param array $mapping
+ * @param array $special
+ * @return array
+ * @access public
+ */
+ function asn1map($decoded, $mapping, $special = array())
+ {
+ if (isset($mapping['explicit']) && is_array($decoded['content'])) {
+ $decoded = $decoded['content'][0];
+ }
+
+ switch (true) {
+ case $mapping['type'] == self::TYPE_ANY:
+ $intype = $decoded['type'];
+ if (isset($decoded['constant']) || !isset($this->ANYmap[$intype]) || (ord($this->encoded[$decoded['start']]) & 0x20)) {
+ return new Element(substr($this->encoded, $decoded['start'], $decoded['length']));
+ }
+ $inmap = $this->ANYmap[$intype];
+ if (is_string($inmap)) {
+ return array($inmap => $this->asn1map($decoded, array('type' => $intype) + $mapping, $special));
+ }
+ break;
+ case $mapping['type'] == self::TYPE_CHOICE:
+ foreach ($mapping['children'] as $key => $option) {
+ switch (true) {
+ case isset($option['constant']) && $option['constant'] == $decoded['constant']:
+ case !isset($option['constant']) && $option['type'] == $decoded['type']:
+ $value = $this->asn1map($decoded, $option, $special);
+ break;
+ case !isset($option['constant']) && $option['type'] == self::TYPE_CHOICE:
+ $v = $this->asn1map($decoded, $option, $special);
+ if (isset($v)) {
+ $value = $v;
+ }
+ }
+ if (isset($value)) {
+ if (isset($special[$key])) {
+ $value = call_user_func($special[$key], $value);
+ }
+ return array($key => $value);
+ }
+ }
+ return null;
+ case isset($mapping['implicit']):
+ case isset($mapping['explicit']):
+ case $decoded['type'] == $mapping['type']:
+ break;
+ default:
+ // if $decoded['type'] and $mapping['type'] are both strings, but different types of strings,
+ // let it through
+ switch (true) {
+ case $decoded['type'] < 18: // self::TYPE_NUMERIC_STRING == 18
+ case $decoded['type'] > 30: // self::TYPE_BMP_STRING == 30
+ case $mapping['type'] < 18:
+ case $mapping['type'] > 30:
+ return null;
+ }
+ }
+
+ if (isset($mapping['implicit'])) {
+ $decoded['type'] = $mapping['type'];
+ }
+
+ switch ($decoded['type']) {
+ case self::TYPE_SEQUENCE:
+ $map = array();
+
+ // ignore the min and max
+ if (isset($mapping['min']) && isset($mapping['max'])) {
+ $child = $mapping['children'];
+ foreach ($decoded['content'] as $content) {
+ if (($map[] = $this->asn1map($content, $child, $special)) === null) {
+ return null;
+ }
+ }
+
+ return $map;
+ }
+
+ $n = count($decoded['content']);
+ $i = 0;
+
+ foreach ($mapping['children'] as $key => $child) {
+ $maymatch = $i < $n; // Match only existing input.
+ if ($maymatch) {
+ $temp = $decoded['content'][$i];
+
+ if ($child['type'] != self::TYPE_CHOICE) {
+ // Get the mapping and input class & constant.
+ $childClass = $tempClass = self::CLASS_UNIVERSAL;
+ $constant = null;
+ if (isset($temp['constant'])) {
+ $tempClass = isset($temp['class']) ? $temp['class'] : self::CLASS_CONTEXT_SPECIFIC;
+ }
+ if (isset($child['class'])) {
+ $childClass = $child['class'];
+ $constant = $child['cast'];
+ } elseif (isset($child['constant'])) {
+ $childClass = self::CLASS_CONTEXT_SPECIFIC;
+ $constant = $child['constant'];
+ }
+
+ if (isset($constant) && isset($temp['constant'])) {
+ // Can only match if constants and class match.
+ $maymatch = $constant == $temp['constant'] && $childClass == $tempClass;
+ } else {
+ // Can only match if no constant expected and type matches or is generic.
+ $maymatch = !isset($child['constant']) && array_search($child['type'], array($temp['type'], self::TYPE_ANY, self::TYPE_CHOICE)) !== false;
+ }
+ }
+ }
+
+ if ($maymatch) {
+ // Attempt submapping.
+ $candidate = $this->asn1map($temp, $child, $special);
+ $maymatch = $candidate !== null;
+ }
+
+ if ($maymatch) {
+ // Got the match: use it.
+ if (isset($special[$key])) {
+ $candidate = call_user_func($special[$key], $candidate);
+ }
+ $map[$key] = $candidate;
+ $i++;
+ } elseif (isset($child['default'])) {
+ $map[$key] = $child['default']; // Use default.
+ } elseif (!isset($child['optional'])) {
+ return null; // Syntax error.
+ }
+ }
+
+ // Fail mapping if all input items have not been consumed.
+ return $i < $n ? null: $map;
+
+ // the main diff between sets and sequences is the encapsulation of the foreach in another for loop
+ case self::TYPE_SET:
+ $map = array();
+
+ // ignore the min and max
+ if (isset($mapping['min']) && isset($mapping['max'])) {
+ $child = $mapping['children'];
+ foreach ($decoded['content'] as $content) {
+ if (($map[] = $this->asn1map($content, $child, $special)) === null) {
+ return null;
+ }
+ }
+
+ return $map;
+ }
+
+ for ($i = 0; $i < count($decoded['content']); $i++) {
+ $temp = $decoded['content'][$i];
+ $tempClass = self::CLASS_UNIVERSAL;
+ if (isset($temp['constant'])) {
+ $tempClass = isset($temp['class']) ? $temp['class'] : self::CLASS_CONTEXT_SPECIFIC;
+ }
+
+ foreach ($mapping['children'] as $key => $child) {
+ if (isset($map[$key])) {
+ continue;
+ }
+ $maymatch = true;
+ if ($child['type'] != self::TYPE_CHOICE) {
+ $childClass = self::CLASS_UNIVERSAL;
+ $constant = null;
+ if (isset($child['class'])) {
+ $childClass = $child['class'];
+ $constant = $child['cast'];
+ } elseif (isset($child['constant'])) {
+ $childClass = self::CLASS_CONTEXT_SPECIFIC;
+ $constant = $child['constant'];
+ }
+
+ if (isset($constant) && isset($temp['constant'])) {
+ // Can only match if constants and class match.
+ $maymatch = $constant == $temp['constant'] && $childClass == $tempClass;
+ } else {
+ // Can only match if no constant expected and type matches or is generic.
+ $maymatch = !isset($child['constant']) && array_search($child['type'], array($temp['type'], self::TYPE_ANY, self::TYPE_CHOICE)) !== false;
+ }
+ }
+
+ if ($maymatch) {
+ // Attempt submapping.
+ $candidate = $this->asn1map($temp, $child, $special);
+ $maymatch = $candidate !== null;
+ }
+
+ if (!$maymatch) {
+ break;
+ }
+
+ // Got the match: use it.
+ if (isset($special[$key])) {
+ $candidate = call_user_func($special[$key], $candidate);
+ }
+ $map[$key] = $candidate;
+ break;
+ }
+ }
+
+ foreach ($mapping['children'] as $key => $child) {
+ if (!isset($map[$key])) {
+ if (isset($child['default'])) {
+ $map[$key] = $child['default'];
+ } elseif (!isset($child['optional'])) {
+ return null;
+ }
+ }
+ }
+ return $map;
+ case self::TYPE_OBJECT_IDENTIFIER:
+ return isset($this->oids[$decoded['content']]) ? $this->oids[$decoded['content']] : $decoded['content'];
+ case self::TYPE_UTC_TIME:
+ case self::TYPE_GENERALIZED_TIME:
+ if (isset($mapping['implicit'])) {
+ $decoded['content'] = $this->_decodeTime($decoded['content'], $decoded['type']);
+ }
+ return @date($this->format, $decoded['content']);
+ case self::TYPE_BIT_STRING:
+ if (isset($mapping['mapping'])) {
+ $offset = ord($decoded['content'][0]);
+ $size = (strlen($decoded['content']) - 1) * 8 - $offset;
+ /*
+ From X.680-0207.pdf#page=46 (21.7):
+
+ "When a "NamedBitList" is used in defining a bitstring type ASN.1 encoding rules are free to add (or remove)
+ arbitrarily any trailing 0 bits to (or from) values that are being encoded or decoded. Application designers should
+ therefore ensure that different semantics are not associated with such values which differ only in the number of trailing
+ 0 bits."
+ */
+ $bits = count($mapping['mapping']) == $size ? array() : array_fill(0, count($mapping['mapping']) - $size, false);
+ for ($i = strlen($decoded['content']) - 1; $i > 0; $i--) {
+ $current = ord($decoded['content'][$i]);
+ for ($j = $offset; $j < 8; $j++) {
+ $bits[] = (bool) ($current & (1 << $j));
+ }
+ $offset = 0;
+ }
+ $values = array();
+ $map = array_reverse($mapping['mapping']);
+ foreach ($map as $i => $value) {
+ if ($bits[$i]) {
+ $values[] = $value;
+ }
+ }
+ return $values;
+ }
+ case self::TYPE_OCTET_STRING:
+ return base64_encode($decoded['content']);
+ case self::TYPE_NULL:
+ return '';
+ case self::TYPE_BOOLEAN:
+ return $decoded['content'];
+ case self::TYPE_NUMERIC_STRING:
+ case self::TYPE_PRINTABLE_STRING:
+ case self::TYPE_TELETEX_STRING:
+ case self::TYPE_VIDEOTEX_STRING:
+ case self::TYPE_IA5_STRING:
+ case self::TYPE_GRAPHIC_STRING:
+ case self::TYPE_VISIBLE_STRING:
+ case self::TYPE_GENERAL_STRING:
+ case self::TYPE_UNIVERSAL_STRING:
+ case self::TYPE_UTF8_STRING:
+ case self::TYPE_BMP_STRING:
+ return $decoded['content'];
+ case self::TYPE_INTEGER:
+ case self::TYPE_ENUMERATED:
+ $temp = $decoded['content'];
+ if (isset($mapping['implicit'])) {
+ $temp = new BigInteger($decoded['content'], -256);
+ }
+ if (isset($mapping['mapping'])) {
+ $temp = (int) $temp->toString();
+ return isset($mapping['mapping'][$temp]) ?
+ $mapping['mapping'][$temp] :
+ false;
+ }
+ return $temp;
+ }
+ }
+
+ /**
+ * ASN.1 Encode
+ *
+ * DER-encodes an ASN.1 semantic mapping ($mapping). Some libraries would probably call this function
+ * an ASN.1 compiler.
+ *
+ * "Special" mappings can be applied via $special.
+ *
+ * @param string $source
+ * @param string $mapping
+ * @param int $idx
+ * @return string
+ * @access public
+ */
+ function encodeDER($source, $mapping, $special = array())
+ {
+ $this->location = array();
+ return $this->_encode_der($source, $mapping, null, $special);
+ }
+
+ /**
+ * ASN.1 Encode (Helper function)
+ *
+ * @param string $source
+ * @param string $mapping
+ * @param int $idx
+ * @return string
+ * @access private
+ */
+ function _encode_der($source, $mapping, $idx = null, $special = array())
+ {
+ if ($source instanceof Element) {
+ return $source->element;
+ }
+
+ // do not encode (implicitly optional) fields with value set to default
+ if (isset($mapping['default']) && $source === $mapping['default']) {
+ return '';
+ }
+
+ if (isset($idx)) {
+ if (isset($special[$idx])) {
+ $source = call_user_func($special[$idx], $source);
+ }
+ $this->location[] = $idx;
+ }
+
+ $tag = $mapping['type'];
+
+ switch ($tag) {
+ case self::TYPE_SET: // Children order is not important, thus process in sequence.
+ case self::TYPE_SEQUENCE:
+ $tag|= 0x20; // set the constructed bit
+
+ // ignore the min and max
+ if (isset($mapping['min']) && isset($mapping['max'])) {
+ $value = array();
+ $child = $mapping['children'];
+
+ foreach ($source as $content) {
+ $temp = $this->_encode_der($content, $child, null, $special);
+ if ($temp === false) {
+ return false;
+ }
+ $value[]= $temp;
+ }
+ /* "The encodings of the component values of a set-of value shall appear in ascending order, the encodings being compared
+ as octet strings with the shorter components being padded at their trailing end with 0-octets.
+ NOTE - The padding octets are for comparison purposes only and do not appear in the encodings."
+
+ -- sec 11.6 of http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf */
+ if ($mapping['type'] == self::TYPE_SET) {
+ sort($value);
+ }
+ $value = implode($value, '');
+ break;
+ }
+
+ $value = '';
+ foreach ($mapping['children'] as $key => $child) {
+ if (!array_key_exists($key, $source)) {
+ if (!isset($child['optional'])) {
+ return false;
+ }
+ continue;
+ }
+
+ $temp = $this->_encode_der($source[$key], $child, $key, $special);
+ if ($temp === false) {
+ return false;
+ }
+
+ // An empty child encoding means it has been optimized out.
+ // Else we should have at least one tag byte.
+ if ($temp === '') {
+ continue;
+ }
+
+ // if isset($child['constant']) is true then isset($child['optional']) should be true as well
+ if (isset($child['constant'])) {
+ /*
+ From X.680-0207.pdf#page=58 (30.6):
+
+ "The tagging construction specifies explicit tagging if any of the following holds:
+ ...
+ c) the "Tag Type" alternative is used and the value of "TagDefault" for the module is IMPLICIT TAGS or
+ AUTOMATIC TAGS, but the type defined by "Type" is an untagged choice type, an untagged open type, or
+ an untagged "DummyReference" (see ITU-T Rec. X.683 | ISO/IEC 8824-4, 8.3)."
+ */
+ if (isset($child['explicit']) || $child['type'] == self::TYPE_CHOICE) {
+ $subtag = chr((self::CLASS_CONTEXT_SPECIFIC << 6) | 0x20 | $child['constant']);
+ $temp = $subtag . $this->_encodeLength(strlen($temp)) . $temp;
+ } else {
+ $subtag = chr((self::CLASS_CONTEXT_SPECIFIC << 6) | (ord($temp[0]) & 0x20) | $child['constant']);
+ $temp = $subtag . substr($temp, 1);
+ }
+ }
+ $value.= $temp;
+ }
+ break;
+ case self::TYPE_CHOICE:
+ $temp = false;
+
+ foreach ($mapping['children'] as $key => $child) {
+ if (!isset($source[$key])) {
+ continue;
+ }
+
+ $temp = $this->_encode_der($source[$key], $child, $key, $special);
+ if ($temp === false) {
+ return false;
+ }
+
+ // An empty child encoding means it has been optimized out.
+ // Else we should have at least one tag byte.
+ if ($temp === '') {
+ continue;
+ }
+
+ $tag = ord($temp[0]);
+
+ // if isset($child['constant']) is true then isset($child['optional']) should be true as well
+ if (isset($child['constant'])) {
+ if (isset($child['explicit']) || $child['type'] == self::TYPE_CHOICE) {
+ $subtag = chr((self::CLASS_CONTEXT_SPECIFIC << 6) | 0x20 | $child['constant']);
+ $temp = $subtag . $this->_encodeLength(strlen($temp)) . $temp;
+ } else {
+ $subtag = chr((self::CLASS_CONTEXT_SPECIFIC << 6) | (ord($temp[0]) & 0x20) | $child['constant']);
+ $temp = $subtag . substr($temp, 1);
+ }
+ }
+ }
+
+ if (isset($idx)) {
+ array_pop($this->location);
+ }
+
+ if ($temp && isset($mapping['cast'])) {
+ $temp[0] = chr(($mapping['class'] << 6) | ($tag & 0x20) | $mapping['cast']);
+ }
+
+ return $temp;
+ case self::TYPE_INTEGER:
+ case self::TYPE_ENUMERATED:
+ if (!isset($mapping['mapping'])) {
+ if (is_numeric($source)) {
+ $source = new BigInteger($source);
+ }
+ $value = $source->toBytes(true);
+ } else {
+ $value = array_search($source, $mapping['mapping']);
+ if ($value === false) {
+ return false;
+ }
+ $value = new BigInteger($value);
+ $value = $value->toBytes(true);
+ }
+ if (!strlen($value)) {
+ $value = chr(0);
+ }
+ break;
+ case self::TYPE_UTC_TIME:
+ case self::TYPE_GENERALIZED_TIME:
+ $format = $mapping['type'] == self::TYPE_UTC_TIME ? 'y' : 'Y';
+ $format.= 'mdHis';
+ $value = @gmdate($format, strtotime($source)) . 'Z';
+ break;
+ case self::TYPE_BIT_STRING:
+ if (isset($mapping['mapping'])) {
+ $bits = array_fill(0, count($mapping['mapping']), 0);
+ $size = 0;
+ for ($i = 0; $i < count($mapping['mapping']); $i++) {
+ if (in_array($mapping['mapping'][$i], $source)) {
+ $bits[$i] = 1;
+ $size = $i;
+ }
+ }
+
+ if (isset($mapping['min']) && $mapping['min'] >= 1 && $size < $mapping['min']) {
+ $size = $mapping['min'] - 1;
+ }
+
+ $offset = 8 - (($size + 1) & 7);
+ $offset = $offset !== 8 ? $offset : 0;
+
+ $value = chr($offset);
+
+ for ($i = $size + 1; $i < count($mapping['mapping']); $i++) {
+ unset($bits[$i]);
+ }
+
+ $bits = implode('', array_pad($bits, $size + $offset + 1, 0));
+ $bytes = explode(' ', rtrim(chunk_split($bits, 8, ' ')));
+ foreach ($bytes as $byte) {
+ $value.= chr(bindec($byte));
+ }
+
+ break;
+ }
+ case self::TYPE_OCTET_STRING:
+ /* The initial octet shall encode, as an unsigned binary integer with bit 1 as the least significant bit,
+ the number of unused bits in the final subsequent octet. The number shall be in the range zero to seven.
+
+ -- http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#page=16 */
+ $value = base64_decode($source);
+ break;
+ case self::TYPE_OBJECT_IDENTIFIER:
+ $oid = preg_match('#(?:\d+\.)+#', $source) ? $source : array_search($source, $this->oids);
+ if ($oid === false) {
+ user_error('Invalid OID');
+ return false;
+ }
+ $value = '';
+ $parts = explode('.', $oid);
+ $value = chr(40 * $parts[0] + $parts[1]);
+ for ($i = 2; $i < count($parts); $i++) {
+ $temp = '';
+ if (!$parts[$i]) {
+ $temp = "\0";
+ } else {
+ while ($parts[$i]) {
+ $temp = chr(0x80 | ($parts[$i] & 0x7F)) . $temp;
+ $parts[$i] >>= 7;
+ }
+ $temp[strlen($temp) - 1] = $temp[strlen($temp) - 1] & chr(0x7F);
+ }
+ $value.= $temp;
+ }
+ break;
+ case self::TYPE_ANY:
+ $loc = $this->location;
+ if (isset($idx)) {
+ array_pop($this->location);
+ }
+
+ switch (true) {
+ case !isset($source):
+ return $this->_encode_der(null, array('type' => self::TYPE_NULL) + $mapping, null, $special);
+ case is_int($source):
+ case $source instanceof BigInteger:
+ return $this->_encode_der($source, array('type' => self::TYPE_INTEGER) + $mapping, null, $special);
+ case is_float($source):
+ return $this->_encode_der($source, array('type' => self::TYPE_REAL) + $mapping, null, $special);
+ case is_bool($source):
+ return $this->_encode_der($source, array('type' => self::TYPE_BOOLEAN) + $mapping, null, $special);
+ case is_array($source) && count($source) == 1:
+ $typename = implode('', array_keys($source));
+ $outtype = array_search($typename, $this->ANYmap, true);
+ if ($outtype !== false) {
+ return $this->_encode_der($source[$typename], array('type' => $outtype) + $mapping, null, $special);
+ }
+ }
+
+ $filters = $this->filters;
+ foreach ($loc as $part) {
+ if (!isset($filters[$part])) {
+ $filters = false;
+ break;
+ }
+ $filters = $filters[$part];
+ }
+ if ($filters === false) {
+ user_error('No filters defined for ' . implode('/', $loc));
+ return false;
+ }
+ return $this->_encode_der($source, $filters + $mapping, null, $special);
+ case self::TYPE_NULL:
+ $value = '';
+ break;
+ case self::TYPE_NUMERIC_STRING:
+ case self::TYPE_TELETEX_STRING:
+ case self::TYPE_PRINTABLE_STRING:
+ case self::TYPE_UNIVERSAL_STRING:
+ case self::TYPE_UTF8_STRING:
+ case self::TYPE_BMP_STRING:
+ case self::TYPE_IA5_STRING:
+ case self::TYPE_VISIBLE_STRING:
+ case self::TYPE_VIDEOTEX_STRING:
+ case self::TYPE_GRAPHIC_STRING:
+ case self::TYPE_GENERAL_STRING:
+ $value = $source;
+ break;
+ case self::TYPE_BOOLEAN:
+ $value = $source ? "\xFF" : "\x00";
+ break;
+ default:
+ user_error('Mapping provides no type definition for ' . implode('/', $this->location));
+ return false;
+ }
+
+ if (isset($idx)) {
+ array_pop($this->location);
+ }
+
+ if (isset($mapping['cast'])) {
+ if (isset($mapping['explicit']) || $mapping['type'] == self::TYPE_CHOICE) {
+ $value = chr($tag) . $this->_encodeLength(strlen($value)) . $value;
+ $tag = ($mapping['class'] << 6) | 0x20 | $mapping['cast'];
+ } else {
+ $tag = ($mapping['class'] << 6) | (ord($temp[0]) & 0x20) | $mapping['cast'];
+ }
+ }
+
+ return chr($tag) . $this->_encodeLength(strlen($value)) . $value;
+ }
+
+ /**
+ * DER-encode the length
+ *
+ * DER supports lengths up to (2**8)**127, however, we'll only support lengths up to (2**8)**4. See
+ * {@link http://itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#p=13 X.690 paragraph 8.1.3} for more information.
+ *
+ * @access private
+ * @param int $length
+ * @return string
+ */
+ function _encodeLength($length)
+ {
+ if ($length <= 0x7F) {
+ return chr($length);
+ }
+
+ $temp = ltrim(pack('N', $length), chr(0));
+ return pack('Ca*', 0x80 | strlen($temp), $temp);
+ }
+
+ /**
+ * BER-decode the time
+ *
+ * Called by _decode_ber() and in the case of implicit tags asn1map().
+ *
+ * @access private
+ * @param string $content
+ * @param int $tag
+ * @return string
+ */
+ function _decodeTime($content, $tag)
+ {
+ /* UTCTime:
+ http://tools.ietf.org/html/rfc5280#section-4.1.2.5.1
+ http://www.obj-sys.com/asn1tutorial/node15.html
+
+ GeneralizedTime:
+ http://tools.ietf.org/html/rfc5280#section-4.1.2.5.2
+ http://www.obj-sys.com/asn1tutorial/node14.html */
+
+ $pattern = $tag == self::TYPE_UTC_TIME ?
+ '#^(..)(..)(..)(..)(..)(..)?(.*)$#' :
+ '#(....)(..)(..)(..)(..)(..).*([Z+-].*)$#';
+
+ preg_match($pattern, $content, $matches);
+
+ list(, $year, $month, $day, $hour, $minute, $second, $timezone) = $matches;
+
+ if ($tag == self::TYPE_UTC_TIME) {
+ $year = $year >= 50 ? "19$year" : "20$year";
+ }
+
+ if ($timezone == 'Z') {
+ $mktime = 'gmmktime';
+ $timezone = 0;
+ } elseif (preg_match('#([+-])(\d\d)(\d\d)#', $timezone, $matches)) {
+ $mktime = 'gmmktime';
+ $timezone = 60 * $matches[3] + 3600 * $matches[2];
+ if ($matches[1] == '-') {
+ $timezone = -$timezone;
+ }
+ } else {
+ $mktime = 'mktime';
+ $timezone = 0;
+ }
+
+ return @$mktime((int)$hour, (int)$minute, (int)$second, (int)$month, (int)$day, (int)$year) + $timezone;
+ }
+
+ /**
+ * Set the time format
+ *
+ * Sets the time / date format for asn1map().
+ *
+ * @access public
+ * @param string $format
+ */
+ function setTimeFormat($format)
+ {
+ $this->format = $format;
+ }
+
+ /**
+ * Load OIDs
+ *
+ * Load the relevant OIDs for a particular ASN.1 semantic mapping.
+ *
+ * @access public
+ * @param array $oids
+ */
+ function loadOIDs($oids)
+ {
+ $this->oids = $oids;
+ }
+
+ /**
+ * Load filters
+ *
+ * See \phpseclib\File\X509, etc, for an example.
+ *
+ * @access public
+ * @param array $filters
+ */
+ function loadFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+
+ /**
+ * String Shift
+ *
+ * Inspired by array_shift
+ *
+ * @param string $string
+ * @param int $index
+ * @return string
+ * @access private
+ */
+ function _string_shift(&$string, $index = 1)
+ {
+ $substr = substr($string, 0, $index);
+ $string = substr($string, $index);
+ return $substr;
+ }
+
+ /**
+ * String type conversion
+ *
+ * This is a lazy conversion, dealing only with character size.
+ * No real conversion table is used.
+ *
+ * @param string $in
+ * @param int $from
+ * @param int $to
+ * @return string
+ * @access public
+ */
+ function convert($in, $from = self::TYPE_UTF8_STRING, $to = self::TYPE_UTF8_STRING)
+ {
+ if (!isset($this->stringTypeSize[$from]) || !isset($this->stringTypeSize[$to])) {
+ return false;
+ }
+ $insize = $this->stringTypeSize[$from];
+ $outsize = $this->stringTypeSize[$to];
+ $inlength = strlen($in);
+ $out = '';
+
+ for ($i = 0; $i < $inlength;) {
+ if ($inlength - $i < $insize) {
+ return false;
+ }
+
+ // Get an input character as a 32-bit value.
+ $c = ord($in[$i++]);
+ switch (true) {
+ case $insize == 4:
+ $c = ($c << 8) | ord($in[$i++]);
+ $c = ($c << 8) | ord($in[$i++]);
+ case $insize == 2:
+ $c = ($c << 8) | ord($in[$i++]);
+ case $insize == 1:
+ break;
+ case ($c & 0x80) == 0x00:
+ break;
+ case ($c & 0x40) == 0x00:
+ return false;
+ default:
+ $bit = 6;
+ do {
+ if ($bit > 25 || $i >= $inlength || (ord($in[$i]) & 0xC0) != 0x80) {
+ return false;
+ }
+ $c = ($c << 6) | (ord($in[$i++]) & 0x3F);
+ $bit += 5;
+ $mask = 1 << $bit;
+ } while ($c & $bit);
+ $c &= $mask - 1;
+ break;
+ }
+
+ // Convert and append the character to output string.
+ $v = '';
+ switch (true) {
+ case $outsize == 4:
+ $v .= chr($c & 0xFF);
+ $c >>= 8;
+ $v .= chr($c & 0xFF);
+ $c >>= 8;
+ case $outsize == 2:
+ $v .= chr($c & 0xFF);
+ $c >>= 8;
+ case $outsize == 1:
+ $v .= chr($c & 0xFF);
+ $c >>= 8;
+ if ($c) {
+ return false;
+ }
+ break;
+ case ($c & 0x80000000) != 0:
+ return false;
+ case $c >= 0x04000000:
+ $v .= chr(0x80 | ($c & 0x3F));
+ $c = ($c >> 6) | 0x04000000;
+ case $c >= 0x00200000:
+ $v .= chr(0x80 | ($c & 0x3F));
+ $c = ($c >> 6) | 0x00200000;
+ case $c >= 0x00010000:
+ $v .= chr(0x80 | ($c & 0x3F));
+ $c = ($c >> 6) | 0x00010000;
+ case $c >= 0x00000800:
+ $v .= chr(0x80 | ($c & 0x3F));
+ $c = ($c >> 6) | 0x00000800;
+ case $c >= 0x00000080:
+ $v .= chr(0x80 | ($c & 0x3F));
+ $c = ($c >> 6) | 0x000000C0;
+ default:
+ $v .= chr($c);
+ break;
+ }
+ $out .= strrev($v);
+ }
+ return $out;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ASN1/Element.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ASN1/Element.php
new file mode 100644
index 00000000..68246e2b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ASN1/Element.php
@@ -0,0 +1,47 @@
+<?php
+/**
+ * Pure-PHP ASN.1 Parser
+ *
+ * PHP version 5
+ *
+ * @category File
+ * @package ASN1
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2012 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\File\ASN1;
+
+/**
+ * ASN.1 Element
+ *
+ * Bypass normal encoding rules in phpseclib\File\ASN1::encodeDER()
+ *
+ * @package ASN1
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class Element
+{
+ /**
+ * Raw element value
+ *
+ * @var string
+ * @access private
+ */
+ var $element;
+
+ /**
+ * Constructor
+ *
+ * @param string $encoded
+ * @return \phpseclib\File\ASN1\Element
+ * @access public
+ */
+ function __construct($encoded)
+ {
+ $this->element = $encoded;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/X509.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/X509.php
new file mode 100644
index 00000000..9a70457b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/X509.php
@@ -0,0 +1,4823 @@
+<?php
+
+/**
+ * Pure-PHP X.509 Parser
+ *
+ * PHP version 5
+ *
+ * Encode and decode X.509 certificates.
+ *
+ * The extensions are from {@link http://tools.ietf.org/html/rfc5280 RFC5280} and
+ * {@link http://web.archive.org/web/19961027104704/http://www3.netscape.com/eng/security/cert-exts.html Netscape Certificate Extensions}.
+ *
+ * Note that loading an X.509 certificate and resaving it may invalidate the signature. The reason being that the signature is based on a
+ * portion of the certificate that contains optional parameters with default values. ie. if the parameter isn't there the default value is
+ * used. Problem is, if the parameter is there and it just so happens to have the default value there are two ways that that parameter can
+ * be encoded. It can be encoded explicitly or left out all together. This would effect the signature value and thus may invalidate the
+ * the certificate all together unless the certificate is re-signed.
+ *
+ * @category File
+ * @package X509
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2012 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\File;
+
+use phpseclib\Crypt\Hash;
+use phpseclib\Crypt\Random;
+use phpseclib\Crypt\RSA;
+use phpseclib\File\ASN1\Element;
+use phpseclib\Math\BigInteger;
+
+/**
+ * Pure-PHP X.509 Parser
+ *
+ * @package X509
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class X509
+{
+ /**
+ * Flag to only accept signatures signed by certificate authorities
+ *
+ * Not really used anymore but retained all the same to suppress E_NOTICEs from old installs
+ *
+ * @access public
+ */
+ const VALIDATE_SIGNATURE_BY_CA = 1;
+
+ /**#@+
+ * @access public
+ * @see \phpseclib\File\X509::getDN()
+ */
+ /**
+ * Return internal array representation
+ */
+ const DN_ARRAY = 0;
+ /**
+ * Return string
+ */
+ const DN_STRING = 1;
+ /**
+ * Return ASN.1 name string
+ */
+ const DN_ASN1 = 2;
+ /**
+ * Return OpenSSL compatible array
+ */
+ const DN_OPENSSL = 3;
+ /**
+ * Return canonical ASN.1 RDNs string
+ */
+ const DN_CANON = 4;
+ /**
+ * Return name hash for file indexing
+ */
+ const DN_HASH = 5;
+ /**#@-*/
+
+ /**#@+
+ * @access public
+ * @see \phpseclib\File\X509::saveX509()
+ * @see \phpseclib\File\X509::saveCSR()
+ * @see \phpseclib\File\X509::saveCRL()
+ */
+ /**
+ * Save as PEM
+ *
+ * ie. a base64-encoded PEM with a header and a footer
+ */
+ const FORMAT_PEM = 0;
+ /**
+ * Save as DER
+ */
+ const FORMAT_DER = 1;
+ /**
+ * Save as a SPKAC
+ *
+ * Only works on CSRs. Not currently supported.
+ */
+ const FORMAT_SPKAC = 2;
+ /**
+ * Auto-detect the format
+ *
+ * Used only by the load*() functions
+ */
+ const FORMAT_AUTO_DETECT = 3;
+ /**#@-*/
+
+ /**
+ * Attribute value disposition.
+ * If disposition is >= 0, this is the index of the target value.
+ */
+ const ATTR_ALL = -1; // All attribute values (array).
+ const ATTR_APPEND = -2; // Add a value.
+ const ATTR_REPLACE = -3; // Clear first, then add a value.
+
+ /**
+ * ASN.1 syntax for X.509 certificates
+ *
+ * @var array
+ * @access private
+ */
+ var $Certificate;
+
+ /**#@+
+ * ASN.1 syntax for various extensions
+ *
+ * @access private
+ */
+ var $DirectoryString;
+ var $PKCS9String;
+ var $AttributeValue;
+ var $Extensions;
+ var $KeyUsage;
+ var $ExtKeyUsageSyntax;
+ var $BasicConstraints;
+ var $KeyIdentifier;
+ var $CRLDistributionPoints;
+ var $AuthorityKeyIdentifier;
+ var $CertificatePolicies;
+ var $AuthorityInfoAccessSyntax;
+ var $SubjectAltName;
+ var $SubjectDirectoryAttributes;
+ var $PrivateKeyUsagePeriod;
+ var $IssuerAltName;
+ var $PolicyMappings;
+ var $NameConstraints;
+
+ var $CPSuri;
+ var $UserNotice;
+
+ var $netscape_cert_type;
+ var $netscape_comment;
+ var $netscape_ca_policy_url;
+
+ var $Name;
+ var $RelativeDistinguishedName;
+ var $CRLNumber;
+ var $CRLReason;
+ var $IssuingDistributionPoint;
+ var $InvalidityDate;
+ var $CertificateIssuer;
+ var $HoldInstructionCode;
+ var $SignedPublicKeyAndChallenge;
+ /**#@-*/
+
+ /**#@+
+ * ASN.1 syntax for various DN attributes
+ *
+ * @access private
+ */
+ var $PostalAddress;
+ /**#@-*/
+
+ /**
+ * ASN.1 syntax for Certificate Signing Requests (RFC2986)
+ *
+ * @var array
+ * @access private
+ */
+ var $CertificationRequest;
+
+ /**
+ * ASN.1 syntax for Certificate Revocation Lists (RFC5280)
+ *
+ * @var array
+ * @access private
+ */
+ var $CertificateList;
+
+ /**
+ * Distinguished Name
+ *
+ * @var array
+ * @access private
+ */
+ var $dn;
+
+ /**
+ * Public key
+ *
+ * @var string
+ * @access private
+ */
+ var $publicKey;
+
+ /**
+ * Private key
+ *
+ * @var string
+ * @access private
+ */
+ var $privateKey;
+
+ /**
+ * Object identifiers for X.509 certificates
+ *
+ * @var array
+ * @access private
+ * @link http://en.wikipedia.org/wiki/Object_identifier
+ */
+ var $oids;
+
+ /**
+ * The certificate authorities
+ *
+ * @var array
+ * @access private
+ */
+ var $CAs;
+
+ /**
+ * The currently loaded certificate
+ *
+ * @var array
+ * @access private
+ */
+ var $currentCert;
+
+ /**
+ * The signature subject
+ *
+ * There's no guarantee \phpseclib\File\X509 is going to re-encode an X.509 cert in the same way it was originally
+ * encoded so we take save the portion of the original cert that the signature would have made for.
+ *
+ * @var string
+ * @access private
+ */
+ var $signatureSubject;
+
+ /**
+ * Certificate Start Date
+ *
+ * @var string
+ * @access private
+ */
+ var $startDate;
+
+ /**
+ * Certificate End Date
+ *
+ * @var string
+ * @access private
+ */
+ var $endDate;
+
+ /**
+ * Serial Number
+ *
+ * @var string
+ * @access private
+ */
+ var $serialNumber;
+
+ /**
+ * Key Identifier
+ *
+ * See {@link http://tools.ietf.org/html/rfc5280#section-4.2.1.1 RFC5280#section-4.2.1.1} and
+ * {@link http://tools.ietf.org/html/rfc5280#section-4.2.1.2 RFC5280#section-4.2.1.2}.
+ *
+ * @var string
+ * @access private
+ */
+ var $currentKeyIdentifier;
+
+ /**
+ * CA Flag
+ *
+ * @var bool
+ * @access private
+ */
+ var $caFlag = false;
+
+ /**
+ * SPKAC Challenge
+ *
+ * @var string
+ * @access private
+ */
+ var $challenge;
+
+ /**
+ * Default Constructor.
+ *
+ * @return \phpseclib\File\X509
+ * @access public
+ */
+ function __construct()
+ {
+ // Explicitly Tagged Module, 1988 Syntax
+ // http://tools.ietf.org/html/rfc5280#appendix-A.1
+
+ $this->DirectoryString = array(
+ 'type' => ASN1::TYPE_CHOICE,
+ 'children' => array(
+ 'teletexString' => array('type' => ASN1::TYPE_TELETEX_STRING),
+ 'printableString' => array('type' => ASN1::TYPE_PRINTABLE_STRING),
+ 'universalString' => array('type' => ASN1::TYPE_UNIVERSAL_STRING),
+ 'utf8String' => array('type' => ASN1::TYPE_UTF8_STRING),
+ 'bmpString' => array('type' => ASN1::TYPE_BMP_STRING)
+ )
+ );
+
+ $this->PKCS9String = array(
+ 'type' => ASN1::TYPE_CHOICE,
+ 'children' => array(
+ 'ia5String' => array('type' => ASN1::TYPE_IA5_STRING),
+ 'directoryString' => $this->DirectoryString
+ )
+ );
+
+ $this->AttributeValue = array('type' => ASN1::TYPE_ANY);
+
+ $AttributeType = array('type' => ASN1::TYPE_OBJECT_IDENTIFIER);
+
+ $AttributeTypeAndValue = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'type' => $AttributeType,
+ 'value'=> $this->AttributeValue
+ )
+ );
+
+ /*
+ In practice, RDNs containing multiple name-value pairs (called "multivalued RDNs") are rare,
+ but they can be useful at times when either there is no unique attribute in the entry or you
+ want to ensure that the entry's DN contains some useful identifying information.
+
+ - https://www.opends.org/wiki/page/DefinitionRelativeDistinguishedName
+ */
+ $this->RelativeDistinguishedName = array(
+ 'type' => ASN1::TYPE_SET,
+ 'min' => 1,
+ 'max' => -1,
+ 'children' => $AttributeTypeAndValue
+ );
+
+ // http://tools.ietf.org/html/rfc5280#section-4.1.2.4
+ $RDNSequence = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ // RDNSequence does not define a min or a max, which means it doesn't have one
+ 'min' => 0,
+ 'max' => -1,
+ 'children' => $this->RelativeDistinguishedName
+ );
+
+ $this->Name = array(
+ 'type' => ASN1::TYPE_CHOICE,
+ 'children' => array(
+ 'rdnSequence' => $RDNSequence
+ )
+ );
+
+ // http://tools.ietf.org/html/rfc5280#section-4.1.1.2
+ $AlgorithmIdentifier = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'algorithm' => array('type' => ASN1::TYPE_OBJECT_IDENTIFIER),
+ 'parameters' => array(
+ 'type' => ASN1::TYPE_ANY,
+ 'optional' => true
+ )
+ )
+ );
+
+ /*
+ A certificate using system MUST reject the certificate if it encounters
+ a critical extension it does not recognize; however, a non-critical
+ extension may be ignored if it is not recognized.
+
+ http://tools.ietf.org/html/rfc5280#section-4.2
+ */
+ $Extension = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'extnId' => array('type' => ASN1::TYPE_OBJECT_IDENTIFIER),
+ 'critical' => array(
+ 'type' => ASN1::TYPE_BOOLEAN,
+ 'optional' => true,
+ 'default' => false
+ ),
+ 'extnValue' => array('type' => ASN1::TYPE_OCTET_STRING)
+ )
+ );
+
+ $this->Extensions = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'min' => 1,
+ // technically, it's MAX, but we'll assume anything < 0 is MAX
+ 'max' => -1,
+ // if 'children' isn't an array then 'min' and 'max' must be defined
+ 'children' => $Extension
+ );
+
+ $SubjectPublicKeyInfo = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'algorithm' => $AlgorithmIdentifier,
+ 'subjectPublicKey' => array('type' => ASN1::TYPE_BIT_STRING)
+ )
+ );
+
+ $UniqueIdentifier = array('type' => ASN1::TYPE_BIT_STRING);
+
+ $Time = array(
+ 'type' => ASN1::TYPE_CHOICE,
+ 'children' => array(
+ 'utcTime' => array('type' => ASN1::TYPE_UTC_TIME),
+ 'generalTime' => array('type' => ASN1::TYPE_GENERALIZED_TIME)
+ )
+ );
+
+ // http://tools.ietf.org/html/rfc5280#section-4.1.2.5
+ $Validity = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'notBefore' => $Time,
+ 'notAfter' => $Time
+ )
+ );
+
+ $CertificateSerialNumber = array('type' => ASN1::TYPE_INTEGER);
+
+ $Version = array(
+ 'type' => ASN1::TYPE_INTEGER,
+ 'mapping' => array('v1', 'v2', 'v3')
+ );
+
+ // assert($TBSCertificate['children']['signature'] == $Certificate['children']['signatureAlgorithm'])
+ $TBSCertificate = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ // technically, default implies optional, but we'll define it as being optional, none-the-less, just to
+ // reenforce that fact
+ 'version' => array(
+ 'constant' => 0,
+ 'optional' => true,
+ 'explicit' => true,
+ 'default' => 'v1'
+ ) + $Version,
+ 'serialNumber' => $CertificateSerialNumber,
+ 'signature' => $AlgorithmIdentifier,
+ 'issuer' => $this->Name,
+ 'validity' => $Validity,
+ 'subject' => $this->Name,
+ 'subjectPublicKeyInfo' => $SubjectPublicKeyInfo,
+ // implicit means that the T in the TLV structure is to be rewritten, regardless of the type
+ 'issuerUniqueID' => array(
+ 'constant' => 1,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $UniqueIdentifier,
+ 'subjectUniqueID' => array(
+ 'constant' => 2,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $UniqueIdentifier,
+ // <http://tools.ietf.org/html/rfc2459#page-74> doesn't use the EXPLICIT keyword but if
+ // it's not IMPLICIT, it's EXPLICIT
+ 'extensions' => array(
+ 'constant' => 3,
+ 'optional' => true,
+ 'explicit' => true
+ ) + $this->Extensions
+ )
+ );
+
+ $this->Certificate = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'tbsCertificate' => $TBSCertificate,
+ 'signatureAlgorithm' => $AlgorithmIdentifier,
+ 'signature' => array('type' => ASN1::TYPE_BIT_STRING)
+ )
+ );
+
+ $this->KeyUsage = array(
+ 'type' => ASN1::TYPE_BIT_STRING,
+ 'mapping' => array(
+ 'digitalSignature',
+ 'nonRepudiation',
+ 'keyEncipherment',
+ 'dataEncipherment',
+ 'keyAgreement',
+ 'keyCertSign',
+ 'cRLSign',
+ 'encipherOnly',
+ 'decipherOnly'
+ )
+ );
+
+ $this->BasicConstraints = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'cA' => array(
+ 'type' => ASN1::TYPE_BOOLEAN,
+ 'optional' => true,
+ 'default' => false
+ ),
+ 'pathLenConstraint' => array(
+ 'type' => ASN1::TYPE_INTEGER,
+ 'optional' => true
+ )
+ )
+ );
+
+ $this->KeyIdentifier = array('type' => ASN1::TYPE_OCTET_STRING);
+
+ $OrganizationalUnitNames = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'min' => 1,
+ 'max' => 4, // ub-organizational-units
+ 'children' => array('type' => ASN1::TYPE_PRINTABLE_STRING)
+ );
+
+ $PersonalName = array(
+ 'type' => ASN1::TYPE_SET,
+ 'children' => array(
+ 'surname' => array(
+ 'type' => ASN1::TYPE_PRINTABLE_STRING,
+ 'constant' => 0,
+ 'optional' => true,
+ 'implicit' => true
+ ),
+ 'given-name' => array(
+ 'type' => ASN1::TYPE_PRINTABLE_STRING,
+ 'constant' => 1,
+ 'optional' => true,
+ 'implicit' => true
+ ),
+ 'initials' => array(
+ 'type' => ASN1::TYPE_PRINTABLE_STRING,
+ 'constant' => 2,
+ 'optional' => true,
+ 'implicit' => true
+ ),
+ 'generation-qualifier' => array(
+ 'type' => ASN1::TYPE_PRINTABLE_STRING,
+ 'constant' => 3,
+ 'optional' => true,
+ 'implicit' => true
+ )
+ )
+ );
+
+ $NumericUserIdentifier = array('type' => ASN1::TYPE_NUMERIC_STRING);
+
+ $OrganizationName = array('type' => ASN1::TYPE_PRINTABLE_STRING);
+
+ $PrivateDomainName = array(
+ 'type' => ASN1::TYPE_CHOICE,
+ 'children' => array(
+ 'numeric' => array('type' => ASN1::TYPE_NUMERIC_STRING),
+ 'printable' => array('type' => ASN1::TYPE_PRINTABLE_STRING)
+ )
+ );
+
+ $TerminalIdentifier = array('type' => ASN1::TYPE_PRINTABLE_STRING);
+
+ $NetworkAddress = array('type' => ASN1::TYPE_NUMERIC_STRING);
+
+ $AdministrationDomainName = array(
+ 'type' => ASN1::TYPE_CHOICE,
+ // if class isn't present it's assumed to be \phpseclib\File\ASN1::CLASS_UNIVERSAL or
+ // (if constant is present) \phpseclib\File\ASN1::CLASS_CONTEXT_SPECIFIC
+ 'class' => ASN1::CLASS_APPLICATION,
+ 'cast' => 2,
+ 'children' => array(
+ 'numeric' => array('type' => ASN1::TYPE_NUMERIC_STRING),
+ 'printable' => array('type' => ASN1::TYPE_PRINTABLE_STRING)
+ )
+ );
+
+ $CountryName = array(
+ 'type' => ASN1::TYPE_CHOICE,
+ // if class isn't present it's assumed to be \phpseclib\File\ASN1::CLASS_UNIVERSAL or
+ // (if constant is present) \phpseclib\File\ASN1::CLASS_CONTEXT_SPECIFIC
+ 'class' => ASN1::CLASS_APPLICATION,
+ 'cast' => 1,
+ 'children' => array(
+ 'x121-dcc-code' => array('type' => ASN1::TYPE_NUMERIC_STRING),
+ 'iso-3166-alpha2-code' => array('type' => ASN1::TYPE_PRINTABLE_STRING)
+ )
+ );
+
+ $AnotherName = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'type-id' => array('type' => ASN1::TYPE_OBJECT_IDENTIFIER),
+ 'value' => array(
+ 'type' => ASN1::TYPE_ANY,
+ 'constant' => 0,
+ 'optional' => true,
+ 'explicit' => true
+ )
+ )
+ );
+
+ $ExtensionAttribute = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'extension-attribute-type' => array(
+ 'type' => ASN1::TYPE_PRINTABLE_STRING,
+ 'constant' => 0,
+ 'optional' => true,
+ 'implicit' => true
+ ),
+ 'extension-attribute-value' => array(
+ 'type' => ASN1::TYPE_ANY,
+ 'constant' => 1,
+ 'optional' => true,
+ 'explicit' => true
+ )
+ )
+ );
+
+ $ExtensionAttributes = array(
+ 'type' => ASN1::TYPE_SET,
+ 'min' => 1,
+ 'max' => 256, // ub-extension-attributes
+ 'children' => $ExtensionAttribute
+ );
+
+ $BuiltInDomainDefinedAttribute = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'type' => array('type' => ASN1::TYPE_PRINTABLE_STRING),
+ 'value' => array('type' => ASN1::TYPE_PRINTABLE_STRING)
+ )
+ );
+
+ $BuiltInDomainDefinedAttributes = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'min' => 1,
+ 'max' => 4, // ub-domain-defined-attributes
+ 'children' => $BuiltInDomainDefinedAttribute
+ );
+
+ $BuiltInStandardAttributes = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'country-name' => array('optional' => true) + $CountryName,
+ 'administration-domain-name' => array('optional' => true) + $AdministrationDomainName,
+ 'network-address' => array(
+ 'constant' => 0,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $NetworkAddress,
+ 'terminal-identifier' => array(
+ 'constant' => 1,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $TerminalIdentifier,
+ 'private-domain-name' => array(
+ 'constant' => 2,
+ 'optional' => true,
+ 'explicit' => true
+ ) + $PrivateDomainName,
+ 'organization-name' => array(
+ 'constant' => 3,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $OrganizationName,
+ 'numeric-user-identifier' => array(
+ 'constant' => 4,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $NumericUserIdentifier,
+ 'personal-name' => array(
+ 'constant' => 5,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $PersonalName,
+ 'organizational-unit-names' => array(
+ 'constant' => 6,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $OrganizationalUnitNames
+ )
+ );
+
+ $ORAddress = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'built-in-standard-attributes' => $BuiltInStandardAttributes,
+ 'built-in-domain-defined-attributes' => array('optional' => true) + $BuiltInDomainDefinedAttributes,
+ 'extension-attributes' => array('optional' => true) + $ExtensionAttributes
+ )
+ );
+
+ $EDIPartyName = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'nameAssigner' => array(
+ 'constant' => 0,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $this->DirectoryString,
+ // partyName is technically required but \phpseclib\File\ASN1 doesn't currently support non-optional constants and
+ // setting it to optional gets the job done in any event.
+ 'partyName' => array(
+ 'constant' => 1,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $this->DirectoryString
+ )
+ );
+
+ $GeneralName = array(
+ 'type' => ASN1::TYPE_CHOICE,
+ 'children' => array(
+ 'otherName' => array(
+ 'constant' => 0,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $AnotherName,
+ 'rfc822Name' => array(
+ 'type' => ASN1::TYPE_IA5_STRING,
+ 'constant' => 1,
+ 'optional' => true,
+ 'implicit' => true
+ ),
+ 'dNSName' => array(
+ 'type' => ASN1::TYPE_IA5_STRING,
+ 'constant' => 2,
+ 'optional' => true,
+ 'implicit' => true
+ ),
+ 'x400Address' => array(
+ 'constant' => 3,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $ORAddress,
+ 'directoryName' => array(
+ 'constant' => 4,
+ 'optional' => true,
+ 'explicit' => true
+ ) + $this->Name,
+ 'ediPartyName' => array(
+ 'constant' => 5,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $EDIPartyName,
+ 'uniformResourceIdentifier' => array(
+ 'type' => ASN1::TYPE_IA5_STRING,
+ 'constant' => 6,
+ 'optional' => true,
+ 'implicit' => true
+ ),
+ 'iPAddress' => array(
+ 'type' => ASN1::TYPE_OCTET_STRING,
+ 'constant' => 7,
+ 'optional' => true,
+ 'implicit' => true
+ ),
+ 'registeredID' => array(
+ 'type' => ASN1::TYPE_OBJECT_IDENTIFIER,
+ 'constant' => 8,
+ 'optional' => true,
+ 'implicit' => true
+ )
+ )
+ );
+
+ $GeneralNames = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'min' => 1,
+ 'max' => -1,
+ 'children' => $GeneralName
+ );
+
+ $this->IssuerAltName = $GeneralNames;
+
+ $ReasonFlags = array(
+ 'type' => ASN1::TYPE_BIT_STRING,
+ 'mapping' => array(
+ 'unused',
+ 'keyCompromise',
+ 'cACompromise',
+ 'affiliationChanged',
+ 'superseded',
+ 'cessationOfOperation',
+ 'certificateHold',
+ 'privilegeWithdrawn',
+ 'aACompromise'
+ )
+ );
+
+ $DistributionPointName = array(
+ 'type' => ASN1::TYPE_CHOICE,
+ 'children' => array(
+ 'fullName' => array(
+ 'constant' => 0,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $GeneralNames,
+ 'nameRelativeToCRLIssuer' => array(
+ 'constant' => 1,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $this->RelativeDistinguishedName
+ )
+ );
+
+ $DistributionPoint = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'distributionPoint' => array(
+ 'constant' => 0,
+ 'optional' => true,
+ 'explicit' => true
+ ) + $DistributionPointName,
+ 'reasons' => array(
+ 'constant' => 1,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $ReasonFlags,
+ 'cRLIssuer' => array(
+ 'constant' => 2,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $GeneralNames
+ )
+ );
+
+ $this->CRLDistributionPoints = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'min' => 1,
+ 'max' => -1,
+ 'children' => $DistributionPoint
+ );
+
+ $this->AuthorityKeyIdentifier = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'keyIdentifier' => array(
+ 'constant' => 0,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $this->KeyIdentifier,
+ 'authorityCertIssuer' => array(
+ 'constant' => 1,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $GeneralNames,
+ 'authorityCertSerialNumber' => array(
+ 'constant' => 2,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $CertificateSerialNumber
+ )
+ );
+
+ $PolicyQualifierId = array('type' => ASN1::TYPE_OBJECT_IDENTIFIER);
+
+ $PolicyQualifierInfo = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'policyQualifierId' => $PolicyQualifierId,
+ 'qualifier' => array('type' => ASN1::TYPE_ANY)
+ )
+ );
+
+ $CertPolicyId = array('type' => ASN1::TYPE_OBJECT_IDENTIFIER);
+
+ $PolicyInformation = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'policyIdentifier' => $CertPolicyId,
+ 'policyQualifiers' => array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'min' => 0,
+ 'max' => -1,
+ 'optional' => true,
+ 'children' => $PolicyQualifierInfo
+ )
+ )
+ );
+
+ $this->CertificatePolicies = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'min' => 1,
+ 'max' => -1,
+ 'children' => $PolicyInformation
+ );
+
+ $this->PolicyMappings = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'min' => 1,
+ 'max' => -1,
+ 'children' => array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'issuerDomainPolicy' => $CertPolicyId,
+ 'subjectDomainPolicy' => $CertPolicyId
+ )
+ )
+ );
+
+ $KeyPurposeId = array('type' => ASN1::TYPE_OBJECT_IDENTIFIER);
+
+ $this->ExtKeyUsageSyntax = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'min' => 1,
+ 'max' => -1,
+ 'children' => $KeyPurposeId
+ );
+
+ $AccessDescription = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'accessMethod' => array('type' => ASN1::TYPE_OBJECT_IDENTIFIER),
+ 'accessLocation' => $GeneralName
+ )
+ );
+
+ $this->AuthorityInfoAccessSyntax = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'min' => 1,
+ 'max' => -1,
+ 'children' => $AccessDescription
+ );
+
+ $this->SubjectAltName = $GeneralNames;
+
+ $this->PrivateKeyUsagePeriod = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'notBefore' => array(
+ 'constant' => 0,
+ 'optional' => true,
+ 'implicit' => true,
+ 'type' => ASN1::TYPE_GENERALIZED_TIME),
+ 'notAfter' => array(
+ 'constant' => 1,
+ 'optional' => true,
+ 'implicit' => true,
+ 'type' => ASN1::TYPE_GENERALIZED_TIME)
+ )
+ );
+
+ $BaseDistance = array('type' => ASN1::TYPE_INTEGER);
+
+ $GeneralSubtree = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'base' => $GeneralName,
+ 'minimum' => array(
+ 'constant' => 0,
+ 'optional' => true,
+ 'implicit' => true,
+ 'default' => new BigInteger(0)
+ ) + $BaseDistance,
+ 'maximum' => array(
+ 'constant' => 1,
+ 'optional' => true,
+ 'implicit' => true,
+ ) + $BaseDistance
+ )
+ );
+
+ $GeneralSubtrees = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'min' => 1,
+ 'max' => -1,
+ 'children' => $GeneralSubtree
+ );
+
+ $this->NameConstraints = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'permittedSubtrees' => array(
+ 'constant' => 0,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $GeneralSubtrees,
+ 'excludedSubtrees' => array(
+ 'constant' => 1,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $GeneralSubtrees
+ )
+ );
+
+ $this->CPSuri = array('type' => ASN1::TYPE_IA5_STRING);
+
+ $DisplayText = array(
+ 'type' => ASN1::TYPE_CHOICE,
+ 'children' => array(
+ 'ia5String' => array('type' => ASN1::TYPE_IA5_STRING),
+ 'visibleString' => array('type' => ASN1::TYPE_VISIBLE_STRING),
+ 'bmpString' => array('type' => ASN1::TYPE_BMP_STRING),
+ 'utf8String' => array('type' => ASN1::TYPE_UTF8_STRING)
+ )
+ );
+
+ $NoticeReference = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'organization' => $DisplayText,
+ 'noticeNumbers' => array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'min' => 1,
+ 'max' => 200,
+ 'children' => array('type' => ASN1::TYPE_INTEGER)
+ )
+ )
+ );
+
+ $this->UserNotice = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'noticeRef' => array(
+ 'optional' => true,
+ 'implicit' => true
+ ) + $NoticeReference,
+ 'explicitText' => array(
+ 'optional' => true,
+ 'implicit' => true
+ ) + $DisplayText
+ )
+ );
+
+ // mapping is from <http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn3.html>
+ $this->netscape_cert_type = array(
+ 'type' => ASN1::TYPE_BIT_STRING,
+ 'mapping' => array(
+ 'SSLClient',
+ 'SSLServer',
+ 'Email',
+ 'ObjectSigning',
+ 'Reserved',
+ 'SSLCA',
+ 'EmailCA',
+ 'ObjectSigningCA'
+ )
+ );
+
+ $this->netscape_comment = array('type' => ASN1::TYPE_IA5_STRING);
+ $this->netscape_ca_policy_url = array('type' => ASN1::TYPE_IA5_STRING);
+
+ // attribute is used in RFC2986 but we're using the RFC5280 definition
+
+ $Attribute = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'type' => $AttributeType,
+ 'value'=> array(
+ 'type' => ASN1::TYPE_SET,
+ 'min' => 1,
+ 'max' => -1,
+ 'children' => $this->AttributeValue
+ )
+ )
+ );
+
+ $this->SubjectDirectoryAttributes = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'min' => 1,
+ 'max' => -1,
+ 'children' => $Attribute
+ );
+
+ // adapted from <http://tools.ietf.org/html/rfc2986>
+
+ $Attributes = array(
+ 'type' => ASN1::TYPE_SET,
+ 'min' => 1,
+ 'max' => -1,
+ 'children' => $Attribute
+ );
+
+ $CertificationRequestInfo = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'version' => array(
+ 'type' => ASN1::TYPE_INTEGER,
+ 'mapping' => array('v1')
+ ),
+ 'subject' => $this->Name,
+ 'subjectPKInfo' => $SubjectPublicKeyInfo,
+ 'attributes' => array(
+ 'constant' => 0,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $Attributes,
+ )
+ );
+
+ $this->CertificationRequest = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'certificationRequestInfo' => $CertificationRequestInfo,
+ 'signatureAlgorithm' => $AlgorithmIdentifier,
+ 'signature' => array('type' => ASN1::TYPE_BIT_STRING)
+ )
+ );
+
+ $RevokedCertificate = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'userCertificate' => $CertificateSerialNumber,
+ 'revocationDate' => $Time,
+ 'crlEntryExtensions' => array(
+ 'optional' => true
+ ) + $this->Extensions
+ )
+ );
+
+ $TBSCertList = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'version' => array(
+ 'optional' => true,
+ 'default' => 'v1'
+ ) + $Version,
+ 'signature' => $AlgorithmIdentifier,
+ 'issuer' => $this->Name,
+ 'thisUpdate' => $Time,
+ 'nextUpdate' => array(
+ 'optional' => true
+ ) + $Time,
+ 'revokedCertificates' => array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'optional' => true,
+ 'min' => 0,
+ 'max' => -1,
+ 'children' => $RevokedCertificate
+ ),
+ 'crlExtensions' => array(
+ 'constant' => 0,
+ 'optional' => true,
+ 'explicit' => true
+ ) + $this->Extensions
+ )
+ );
+
+ $this->CertificateList = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'tbsCertList' => $TBSCertList,
+ 'signatureAlgorithm' => $AlgorithmIdentifier,
+ 'signature' => array('type' => ASN1::TYPE_BIT_STRING)
+ )
+ );
+
+ $this->CRLNumber = array('type' => ASN1::TYPE_INTEGER);
+
+ $this->CRLReason = array('type' => ASN1::TYPE_ENUMERATED,
+ 'mapping' => array(
+ 'unspecified',
+ 'keyCompromise',
+ 'cACompromise',
+ 'affiliationChanged',
+ 'superseded',
+ 'cessationOfOperation',
+ 'certificateHold',
+ // Value 7 is not used.
+ 8 => 'removeFromCRL',
+ 'privilegeWithdrawn',
+ 'aACompromise'
+ )
+ );
+
+ $this->IssuingDistributionPoint = array('type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'distributionPoint' => array(
+ 'constant' => 0,
+ 'optional' => true,
+ 'explicit' => true
+ ) + $DistributionPointName,
+ 'onlyContainsUserCerts' => array(
+ 'type' => ASN1::TYPE_BOOLEAN,
+ 'constant' => 1,
+ 'optional' => true,
+ 'default' => false,
+ 'implicit' => true
+ ),
+ 'onlyContainsCACerts' => array(
+ 'type' => ASN1::TYPE_BOOLEAN,
+ 'constant' => 2,
+ 'optional' => true,
+ 'default' => false,
+ 'implicit' => true
+ ),
+ 'onlySomeReasons' => array(
+ 'constant' => 3,
+ 'optional' => true,
+ 'implicit' => true
+ ) + $ReasonFlags,
+ 'indirectCRL' => array(
+ 'type' => ASN1::TYPE_BOOLEAN,
+ 'constant' => 4,
+ 'optional' => true,
+ 'default' => false,
+ 'implicit' => true
+ ),
+ 'onlyContainsAttributeCerts' => array(
+ 'type' => ASN1::TYPE_BOOLEAN,
+ 'constant' => 5,
+ 'optional' => true,
+ 'default' => false,
+ 'implicit' => true
+ )
+ )
+ );
+
+ $this->InvalidityDate = array('type' => ASN1::TYPE_GENERALIZED_TIME);
+
+ $this->CertificateIssuer = $GeneralNames;
+
+ $this->HoldInstructionCode = array('type' => ASN1::TYPE_OBJECT_IDENTIFIER);
+
+ $PublicKeyAndChallenge = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'spki' => $SubjectPublicKeyInfo,
+ 'challenge' => array('type' => ASN1::TYPE_IA5_STRING)
+ )
+ );
+
+ $this->SignedPublicKeyAndChallenge = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'children' => array(
+ 'publicKeyAndChallenge' => $PublicKeyAndChallenge,
+ 'signatureAlgorithm' => $AlgorithmIdentifier,
+ 'signature' => array('type' => ASN1::TYPE_BIT_STRING)
+ )
+ );
+
+ $this->PostalAddress = array(
+ 'type' => ASN1::TYPE_SEQUENCE,
+ 'optional' => true,
+ 'min' => 1,
+ 'max' => -1,
+ 'children' => $this->DirectoryString
+ );
+
+ // OIDs from RFC5280 and those RFCs mentioned in RFC5280#section-4.1.1.2
+ $this->oids = array(
+ '1.3.6.1.5.5.7' => 'id-pkix',
+ '1.3.6.1.5.5.7.1' => 'id-pe',
+ '1.3.6.1.5.5.7.2' => 'id-qt',
+ '1.3.6.1.5.5.7.3' => 'id-kp',
+ '1.3.6.1.5.5.7.48' => 'id-ad',
+ '1.3.6.1.5.5.7.2.1' => 'id-qt-cps',
+ '1.3.6.1.5.5.7.2.2' => 'id-qt-unotice',
+ '1.3.6.1.5.5.7.48.1' =>'id-ad-ocsp',
+ '1.3.6.1.5.5.7.48.2' => 'id-ad-caIssuers',
+ '1.3.6.1.5.5.7.48.3' => 'id-ad-timeStamping',
+ '1.3.6.1.5.5.7.48.5' => 'id-ad-caRepository',
+ '2.5.4' => 'id-at',
+ '2.5.4.41' => 'id-at-name',
+ '2.5.4.4' => 'id-at-surname',
+ '2.5.4.42' => 'id-at-givenName',
+ '2.5.4.43' => 'id-at-initials',
+ '2.5.4.44' => 'id-at-generationQualifier',
+ '2.5.4.3' => 'id-at-commonName',
+ '2.5.4.7' => 'id-at-localityName',
+ '2.5.4.8' => 'id-at-stateOrProvinceName',
+ '2.5.4.10' => 'id-at-organizationName',
+ '2.5.4.11' => 'id-at-organizationalUnitName',
+ '2.5.4.12' => 'id-at-title',
+ '2.5.4.13' => 'id-at-description',
+ '2.5.4.46' => 'id-at-dnQualifier',
+ '2.5.4.6' => 'id-at-countryName',
+ '2.5.4.5' => 'id-at-serialNumber',
+ '2.5.4.65' => 'id-at-pseudonym',
+ '2.5.4.17' => 'id-at-postalCode',
+ '2.5.4.9' => 'id-at-streetAddress',
+ '2.5.4.45' => 'id-at-uniqueIdentifier',
+ '2.5.4.72' => 'id-at-role',
+ '2.5.4.16' => 'id-at-postalAddress',
+
+ '0.9.2342.19200300.100.1.25' => 'id-domainComponent',
+ '1.2.840.113549.1.9' => 'pkcs-9',
+ '1.2.840.113549.1.9.1' => 'pkcs-9-at-emailAddress',
+ '2.5.29' => 'id-ce',
+ '2.5.29.35' => 'id-ce-authorityKeyIdentifier',
+ '2.5.29.14' => 'id-ce-subjectKeyIdentifier',
+ '2.5.29.15' => 'id-ce-keyUsage',
+ '2.5.29.16' => 'id-ce-privateKeyUsagePeriod',
+ '2.5.29.32' => 'id-ce-certificatePolicies',
+ '2.5.29.32.0' => 'anyPolicy',
+
+ '2.5.29.33' => 'id-ce-policyMappings',
+ '2.5.29.17' => 'id-ce-subjectAltName',
+ '2.5.29.18' => 'id-ce-issuerAltName',
+ '2.5.29.9' => 'id-ce-subjectDirectoryAttributes',
+ '2.5.29.19' => 'id-ce-basicConstraints',
+ '2.5.29.30' => 'id-ce-nameConstraints',
+ '2.5.29.36' => 'id-ce-policyConstraints',
+ '2.5.29.31' => 'id-ce-cRLDistributionPoints',
+ '2.5.29.37' => 'id-ce-extKeyUsage',
+ '2.5.29.37.0' => 'anyExtendedKeyUsage',
+ '1.3.6.1.5.5.7.3.1' => 'id-kp-serverAuth',
+ '1.3.6.1.5.5.7.3.2' => 'id-kp-clientAuth',
+ '1.3.6.1.5.5.7.3.3' => 'id-kp-codeSigning',
+ '1.3.6.1.5.5.7.3.4' => 'id-kp-emailProtection',
+ '1.3.6.1.5.5.7.3.8' => 'id-kp-timeStamping',
+ '1.3.6.1.5.5.7.3.9' => 'id-kp-OCSPSigning',
+ '2.5.29.54' => 'id-ce-inhibitAnyPolicy',
+ '2.5.29.46' => 'id-ce-freshestCRL',
+ '1.3.6.1.5.5.7.1.1' => 'id-pe-authorityInfoAccess',
+ '1.3.6.1.5.5.7.1.11' => 'id-pe-subjectInfoAccess',
+ '2.5.29.20' => 'id-ce-cRLNumber',
+ '2.5.29.28' => 'id-ce-issuingDistributionPoint',
+ '2.5.29.27' => 'id-ce-deltaCRLIndicator',
+ '2.5.29.21' => 'id-ce-cRLReasons',
+ '2.5.29.29' => 'id-ce-certificateIssuer',
+ '2.5.29.23' => 'id-ce-holdInstructionCode',
+ '1.2.840.10040.2' => 'holdInstruction',
+ '1.2.840.10040.2.1' => 'id-holdinstruction-none',
+ '1.2.840.10040.2.2' => 'id-holdinstruction-callissuer',
+ '1.2.840.10040.2.3' => 'id-holdinstruction-reject',
+ '2.5.29.24' => 'id-ce-invalidityDate',
+
+ '1.2.840.113549.2.2' => 'md2',
+ '1.2.840.113549.2.5' => 'md5',
+ '1.3.14.3.2.26' => 'id-sha1',
+ '1.2.840.10040.4.1' => 'id-dsa',
+ '1.2.840.10040.4.3' => 'id-dsa-with-sha1',
+ '1.2.840.113549.1.1' => 'pkcs-1',
+ '1.2.840.113549.1.1.1' => 'rsaEncryption',
+ '1.2.840.113549.1.1.2' => 'md2WithRSAEncryption',
+ '1.2.840.113549.1.1.4' => 'md5WithRSAEncryption',
+ '1.2.840.113549.1.1.5' => 'sha1WithRSAEncryption',
+ '1.2.840.10046.2.1' => 'dhpublicnumber',
+ '2.16.840.1.101.2.1.1.22' => 'id-keyExchangeAlgorithm',
+ '1.2.840.10045' => 'ansi-X9-62',
+ '1.2.840.10045.4' => 'id-ecSigType',
+ '1.2.840.10045.4.1' => 'ecdsa-with-SHA1',
+ '1.2.840.10045.1' => 'id-fieldType',
+ '1.2.840.10045.1.1' => 'prime-field',
+ '1.2.840.10045.1.2' => 'characteristic-two-field',
+ '1.2.840.10045.1.2.3' => 'id-characteristic-two-basis',
+ '1.2.840.10045.1.2.3.1' => 'gnBasis',
+ '1.2.840.10045.1.2.3.2' => 'tpBasis',
+ '1.2.840.10045.1.2.3.3' => 'ppBasis',
+ '1.2.840.10045.2' => 'id-publicKeyType',
+ '1.2.840.10045.2.1' => 'id-ecPublicKey',
+ '1.2.840.10045.3' => 'ellipticCurve',
+ '1.2.840.10045.3.0' => 'c-TwoCurve',
+ '1.2.840.10045.3.0.1' => 'c2pnb163v1',
+ '1.2.840.10045.3.0.2' => 'c2pnb163v2',
+ '1.2.840.10045.3.0.3' => 'c2pnb163v3',
+ '1.2.840.10045.3.0.4' => 'c2pnb176w1',
+ '1.2.840.10045.3.0.5' => 'c2pnb191v1',
+ '1.2.840.10045.3.0.6' => 'c2pnb191v2',
+ '1.2.840.10045.3.0.7' => 'c2pnb191v3',
+ '1.2.840.10045.3.0.8' => 'c2pnb191v4',
+ '1.2.840.10045.3.0.9' => 'c2pnb191v5',
+ '1.2.840.10045.3.0.10' => 'c2pnb208w1',
+ '1.2.840.10045.3.0.11' => 'c2pnb239v1',
+ '1.2.840.10045.3.0.12' => 'c2pnb239v2',
+ '1.2.840.10045.3.0.13' => 'c2pnb239v3',
+ '1.2.840.10045.3.0.14' => 'c2pnb239v4',
+ '1.2.840.10045.3.0.15' => 'c2pnb239v5',
+ '1.2.840.10045.3.0.16' => 'c2pnb272w1',
+ '1.2.840.10045.3.0.17' => 'c2pnb304w1',
+ '1.2.840.10045.3.0.18' => 'c2pnb359v1',
+ '1.2.840.10045.3.0.19' => 'c2pnb368w1',
+ '1.2.840.10045.3.0.20' => 'c2pnb431r1',
+ '1.2.840.10045.3.1' => 'primeCurve',
+ '1.2.840.10045.3.1.1' => 'prime192v1',
+ '1.2.840.10045.3.1.2' => 'prime192v2',
+ '1.2.840.10045.3.1.3' => 'prime192v3',
+ '1.2.840.10045.3.1.4' => 'prime239v1',
+ '1.2.840.10045.3.1.5' => 'prime239v2',
+ '1.2.840.10045.3.1.6' => 'prime239v3',
+ '1.2.840.10045.3.1.7' => 'prime256v1',
+ '1.2.840.113549.1.1.7' => 'id-RSAES-OAEP',
+ '1.2.840.113549.1.1.9' => 'id-pSpecified',
+ '1.2.840.113549.1.1.10' => 'id-RSASSA-PSS',
+ '1.2.840.113549.1.1.8' => 'id-mgf1',
+ '1.2.840.113549.1.1.14' => 'sha224WithRSAEncryption',
+ '1.2.840.113549.1.1.11' => 'sha256WithRSAEncryption',
+ '1.2.840.113549.1.1.12' => 'sha384WithRSAEncryption',
+ '1.2.840.113549.1.1.13' => 'sha512WithRSAEncryption',
+ '2.16.840.1.101.3.4.2.4' => 'id-sha224',
+ '2.16.840.1.101.3.4.2.1' => 'id-sha256',
+ '2.16.840.1.101.3.4.2.2' => 'id-sha384',
+ '2.16.840.1.101.3.4.2.3' => 'id-sha512',
+ '1.2.643.2.2.4' => 'id-GostR3411-94-with-GostR3410-94',
+ '1.2.643.2.2.3' => 'id-GostR3411-94-with-GostR3410-2001',
+ '1.2.643.2.2.20' => 'id-GostR3410-2001',
+ '1.2.643.2.2.19' => 'id-GostR3410-94',
+ // Netscape Object Identifiers from "Netscape Certificate Extensions"
+ '2.16.840.1.113730' => 'netscape',
+ '2.16.840.1.113730.1' => 'netscape-cert-extension',
+ '2.16.840.1.113730.1.1' => 'netscape-cert-type',
+ '2.16.840.1.113730.1.13' => 'netscape-comment',
+ '2.16.840.1.113730.1.8' => 'netscape-ca-policy-url',
+ // the following are X.509 extensions not supported by phpseclib
+ '1.3.6.1.5.5.7.1.12' => 'id-pe-logotype',
+ '1.2.840.113533.7.65.0' => 'entrustVersInfo',
+ '2.16.840.1.113733.1.6.9' => 'verisignPrivate',
+ // for Certificate Signing Requests
+ // see http://tools.ietf.org/html/rfc2985
+ '1.2.840.113549.1.9.2' => 'pkcs-9-at-unstructuredName', // PKCS #9 unstructured name
+ '1.2.840.113549.1.9.7' => 'pkcs-9-at-challengePassword', // Challenge password for certificate revocations
+ '1.2.840.113549.1.9.14' => 'pkcs-9-at-extensionRequest' // Certificate extension request
+ );
+ }
+
+ /**
+ * Load X.509 certificate
+ *
+ * Returns an associative array describing the X.509 cert or a false if the cert failed to load
+ *
+ * @param string $cert
+ * @param int $mode
+ * @access public
+ * @return mixed
+ */
+ function loadX509($cert, $mode = self::FORMAT_AUTO_DETECT)
+ {
+ if (is_array($cert) && isset($cert['tbsCertificate'])) {
+ unset($this->currentCert);
+ unset($this->currentKeyIdentifier);
+ $this->dn = $cert['tbsCertificate']['subject'];
+ if (!isset($this->dn)) {
+ return false;
+ }
+ $this->currentCert = $cert;
+
+ $currentKeyIdentifier = $this->getExtension('id-ce-subjectKeyIdentifier');
+ $this->currentKeyIdentifier = is_string($currentKeyIdentifier) ? $currentKeyIdentifier : null;
+
+ unset($this->signatureSubject);
+
+ return $cert;
+ }
+
+ $asn1 = new ASN1();
+
+ if ($mode != self::FORMAT_DER) {
+ $newcert = $this->_extractBER($cert);
+ if ($mode == self::FORMAT_PEM && $cert == $newcert) {
+ return false;
+ }
+ $cert = $newcert;
+ }
+
+ if ($cert === false) {
+ $this->currentCert = false;
+ return false;
+ }
+
+ $asn1->loadOIDs($this->oids);
+ $decoded = $asn1->decodeBER($cert);
+
+ if (!empty($decoded)) {
+ $x509 = $asn1->asn1map($decoded[0], $this->Certificate);
+ }
+ if (!isset($x509) || $x509 === false) {
+ $this->currentCert = false;
+ return false;
+ }
+
+ $this->signatureSubject = substr($cert, $decoded[0]['content'][0]['start'], $decoded[0]['content'][0]['length']);
+
+ if ($this->_isSubArrayValid($x509, 'tbsCertificate/extensions')) {
+ $this->_mapInExtensions($x509, 'tbsCertificate/extensions', $asn1);
+ }
+ $this->_mapInDNs($x509, 'tbsCertificate/issuer/rdnSequence', $asn1);
+ $this->_mapInDNs($x509, 'tbsCertificate/subject/rdnSequence', $asn1);
+
+ $key = &$x509['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey'];
+ $key = $this->_reformatKey($x509['tbsCertificate']['subjectPublicKeyInfo']['algorithm']['algorithm'], $key);
+
+ $this->currentCert = $x509;
+ $this->dn = $x509['tbsCertificate']['subject'];
+
+ $currentKeyIdentifier = $this->getExtension('id-ce-subjectKeyIdentifier');
+ $this->currentKeyIdentifier = is_string($currentKeyIdentifier) ? $currentKeyIdentifier : null;
+
+ return $x509;
+ }
+
+ /**
+ * Save X.509 certificate
+ *
+ * @param array $cert
+ * @param int $format optional
+ * @access public
+ * @return string
+ */
+ function saveX509($cert, $format = self::FORMAT_PEM)
+ {
+ if (!is_array($cert) || !isset($cert['tbsCertificate'])) {
+ return false;
+ }
+
+ switch (true) {
+ // "case !$a: case !$b: break; default: whatever();" is the same thing as "if ($a && $b) whatever()"
+ case !($algorithm = $this->_subArray($cert, 'tbsCertificate/subjectPublicKeyInfo/algorithm/algorithm')):
+ case is_object($cert['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey']):
+ break;
+ default:
+ switch ($algorithm) {
+ case 'rsaEncryption':
+ $cert['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey']
+ = base64_encode("\0" . base64_decode(preg_replace('#-.+-|[\r\n]#', '', $cert['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey'])));
+ /* "[For RSA keys] the parameters field MUST have ASN.1 type NULL for this algorithm identifier."
+ -- https://tools.ietf.org/html/rfc3279#section-2.3.1
+
+ given that and the fact that RSA keys appear ot be the only key type for which the parameters field can be blank,
+ it seems like perhaps the ASN.1 description ought not say the parameters field is OPTIONAL, but whatever.
+ */
+ $cert['tbsCertificate']['subjectPublicKeyInfo']['algorithm']['parameters'] = null;
+ // https://tools.ietf.org/html/rfc3279#section-2.2.1
+ $cert['signatureAlgorithm']['parameters'] = null;
+ $cert['tbsCertificate']['signature']['parameters'] = null;
+ }
+ }
+
+ $asn1 = new ASN1();
+ $asn1->loadOIDs($this->oids);
+
+ $filters = array();
+ $type_utf8_string = array('type' => ASN1::TYPE_UTF8_STRING);
+ $filters['tbsCertificate']['signature']['parameters'] = $type_utf8_string;
+ $filters['tbsCertificate']['signature']['issuer']['rdnSequence']['value'] = $type_utf8_string;
+ $filters['tbsCertificate']['issuer']['rdnSequence']['value'] = $type_utf8_string;
+ $filters['tbsCertificate']['subject']['rdnSequence']['value'] = $type_utf8_string;
+ $filters['tbsCertificate']['subjectPublicKeyInfo']['algorithm']['parameters'] = $type_utf8_string;
+ $filters['signatureAlgorithm']['parameters'] = $type_utf8_string;
+ $filters['authorityCertIssuer']['directoryName']['rdnSequence']['value'] = $type_utf8_string;
+ //$filters['policyQualifiers']['qualifier'] = $type_utf8_string;
+ $filters['distributionPoint']['fullName']['directoryName']['rdnSequence']['value'] = $type_utf8_string;
+ $filters['directoryName']['rdnSequence']['value'] = $type_utf8_string;
+
+ /* in the case of policyQualifiers/qualifier, the type has to be \phpseclib\File\ASN1::TYPE_IA5_STRING.
+ \phpseclib\File\ASN1::TYPE_PRINTABLE_STRING will cause OpenSSL's X.509 parser to spit out random
+ characters.
+ */
+ $filters['policyQualifiers']['qualifier']
+ = array('type' => ASN1::TYPE_IA5_STRING);
+
+ $asn1->loadFilters($filters);
+
+ $this->_mapOutExtensions($cert, 'tbsCertificate/extensions', $asn1);
+ $this->_mapOutDNs($cert, 'tbsCertificate/issuer/rdnSequence', $asn1);
+ $this->_mapOutDNs($cert, 'tbsCertificate/subject/rdnSequence', $asn1);
+
+ $cert = $asn1->encodeDER($cert, $this->Certificate);
+
+ switch ($format) {
+ case self::FORMAT_DER:
+ return $cert;
+ // case self::FORMAT_PEM:
+ default:
+ return "-----BEGIN CERTIFICATE-----\r\n" . chunk_split(base64_encode($cert), 64) . '-----END CERTIFICATE-----';
+ }
+ }
+
+ /**
+ * Map extension values from octet string to extension-specific internal
+ * format.
+ *
+ * @param array ref $root
+ * @param string $path
+ * @param object $asn1
+ * @access private
+ */
+ function _mapInExtensions(&$root, $path, $asn1)
+ {
+ $extensions = &$this->_subArrayUnchecked($root, $path);
+
+ if ($extensions) {
+ for ($i = 0; $i < count($extensions); $i++) {
+ $id = $extensions[$i]['extnId'];
+ $value = &$extensions[$i]['extnValue'];
+ $value = base64_decode($value);
+ $decoded = $asn1->decodeBER($value);
+ /* [extnValue] contains the DER encoding of an ASN.1 value
+ corresponding to the extension type identified by extnID */
+ $map = $this->_getMapping($id);
+ if (!is_bool($map)) {
+ $mapped = $asn1->asn1map($decoded[0], $map, array('iPAddress' => array($this, '_decodeIP')));
+ $value = $mapped === false ? $decoded[0] : $mapped;
+
+ if ($id == 'id-ce-certificatePolicies') {
+ for ($j = 0; $j < count($value); $j++) {
+ if (!isset($value[$j]['policyQualifiers'])) {
+ continue;
+ }
+ for ($k = 0; $k < count($value[$j]['policyQualifiers']); $k++) {
+ $subid = $value[$j]['policyQualifiers'][$k]['policyQualifierId'];
+ $map = $this->_getMapping($subid);
+ $subvalue = &$value[$j]['policyQualifiers'][$k]['qualifier'];
+ if ($map !== false) {
+ $decoded = $asn1->decodeBER($subvalue);
+ $mapped = $asn1->asn1map($decoded[0], $map);
+ $subvalue = $mapped === false ? $decoded[0] : $mapped;
+ }
+ }
+ }
+ }
+ } else {
+ $value = base64_encode($value);
+ }
+ }
+ }
+ }
+
+ /**
+ * Map extension values from extension-specific internal format to
+ * octet string.
+ *
+ * @param array ref $root
+ * @param string $path
+ * @param object $asn1
+ * @access private
+ */
+ function _mapOutExtensions(&$root, $path, $asn1)
+ {
+ $extensions = &$this->_subArray($root, $path);
+
+ if (is_array($extensions)) {
+ $size = count($extensions);
+ for ($i = 0; $i < $size; $i++) {
+ if ($extensions[$i] instanceof Element) {
+ continue;
+ }
+
+ $id = $extensions[$i]['extnId'];
+ $value = &$extensions[$i]['extnValue'];
+
+ switch ($id) {
+ case 'id-ce-certificatePolicies':
+ for ($j = 0; $j < count($value); $j++) {
+ if (!isset($value[$j]['policyQualifiers'])) {
+ continue;
+ }
+ for ($k = 0; $k < count($value[$j]['policyQualifiers']); $k++) {
+ $subid = $value[$j]['policyQualifiers'][$k]['policyQualifierId'];
+ $map = $this->_getMapping($subid);
+ $subvalue = &$value[$j]['policyQualifiers'][$k]['qualifier'];
+ if ($map !== false) {
+ // by default \phpseclib\File\ASN1 will try to render qualifier as a \phpseclib\File\ASN1::TYPE_IA5_STRING since it's
+ // actual type is \phpseclib\File\ASN1::TYPE_ANY
+ $subvalue = new Element($asn1->encodeDER($subvalue, $map));
+ }
+ }
+ }
+ break;
+ case 'id-ce-authorityKeyIdentifier': // use 00 as the serial number instead of an empty string
+ if (isset($value['authorityCertSerialNumber'])) {
+ if ($value['authorityCertSerialNumber']->toBytes() == '') {
+ $temp = chr((ASN1::CLASS_CONTEXT_SPECIFIC << 6) | 2) . "\1\0";
+ $value['authorityCertSerialNumber'] = new Element($temp);
+ }
+ }
+ }
+
+ /* [extnValue] contains the DER encoding of an ASN.1 value
+ corresponding to the extension type identified by extnID */
+ $map = $this->_getMapping($id);
+ if (is_bool($map)) {
+ if (!$map) {
+ user_error($id . ' is not a currently supported extension');
+ unset($extensions[$i]);
+ }
+ } else {
+ $temp = $asn1->encodeDER($value, $map, array('iPAddress' => array($this, '_encodeIP')));
+ $value = base64_encode($temp);
+ }
+ }
+ }
+ }
+
+ /**
+ * Map attribute values from ANY type to attribute-specific internal
+ * format.
+ *
+ * @param array ref $root
+ * @param string $path
+ * @param object $asn1
+ * @access private
+ */
+ function _mapInAttributes(&$root, $path, $asn1)
+ {
+ $attributes = &$this->_subArray($root, $path);
+
+ if (is_array($attributes)) {
+ for ($i = 0; $i < count($attributes); $i++) {
+ $id = $attributes[$i]['type'];
+ /* $value contains the DER encoding of an ASN.1 value
+ corresponding to the attribute type identified by type */
+ $map = $this->_getMapping($id);
+ if (is_array($attributes[$i]['value'])) {
+ $values = &$attributes[$i]['value'];
+ for ($j = 0; $j < count($values); $j++) {
+ $value = $asn1->encodeDER($values[$j], $this->AttributeValue);
+ $decoded = $asn1->decodeBER($value);
+ if (!is_bool($map)) {
+ $mapped = $asn1->asn1map($decoded[0], $map);
+ if ($mapped !== false) {
+ $values[$j] = $mapped;
+ }
+ if ($id == 'pkcs-9-at-extensionRequest' && $this->_isSubArrayValid($values, $j)) {
+ $this->_mapInExtensions($values, $j, $asn1);
+ }
+ } elseif ($map) {
+ $values[$j] = base64_encode($value);
+ }
+ }
+ }
+ }
+ }
+ }
+
+ /**
+ * Map attribute values from attribute-specific internal format to
+ * ANY type.
+ *
+ * @param array ref $root
+ * @param string $path
+ * @param object $asn1
+ * @access private
+ */
+ function _mapOutAttributes(&$root, $path, $asn1)
+ {
+ $attributes = &$this->_subArray($root, $path);
+
+ if (is_array($attributes)) {
+ $size = count($attributes);
+ for ($i = 0; $i < $size; $i++) {
+ /* [value] contains the DER encoding of an ASN.1 value
+ corresponding to the attribute type identified by type */
+ $id = $attributes[$i]['type'];
+ $map = $this->_getMapping($id);
+ if ($map === false) {
+ user_error($id . ' is not a currently supported attribute', E_USER_NOTICE);
+ unset($attributes[$i]);
+ } elseif (is_array($attributes[$i]['value'])) {
+ $values = &$attributes[$i]['value'];
+ for ($j = 0; $j < count($values); $j++) {
+ switch ($id) {
+ case 'pkcs-9-at-extensionRequest':
+ $this->_mapOutExtensions($values, $j, $asn1);
+ break;
+ }
+
+ if (!is_bool($map)) {
+ $temp = $asn1->encodeDER($values[$j], $map);
+ $decoded = $asn1->decodeBER($temp);
+ $values[$j] = $asn1->asn1map($decoded[0], $this->AttributeValue);
+ }
+ }
+ }
+ }
+ }
+ }
+
+ /**
+ * Map DN values from ANY type to DN-specific internal
+ * format.
+ *
+ * @param array ref $root
+ * @param string $path
+ * @param object $asn1
+ * @access private
+ */
+ function _mapInDNs(&$root, $path, $asn1)
+ {
+ $dns = &$this->_subArray($root, $path);
+
+ if (is_array($dns)) {
+ for ($i = 0; $i < count($dns); $i++) {
+ for ($j = 0; $j < count($dns[$i]); $j++) {
+ $type = $dns[$i][$j]['type'];
+ $value = &$dns[$i][$j]['value'];
+ if (is_object($value) && $value instanceof Element) {
+ $map = $this->_getMapping($type);
+ if (!is_bool($map)) {
+ $decoded = $asn1->decodeBER($value);
+ $value = $asn1->asn1map($decoded[0], $map);
+ }
+ }
+ }
+ }
+ }
+ }
+
+ /**
+ * Map DN values from DN-specific internal format to
+ * ANY type.
+ *
+ * @param array ref $root
+ * @param string $path
+ * @param object $asn1
+ * @access private
+ */
+ function _mapOutDNs(&$root, $path, $asn1)
+ {
+ $dns = &$this->_subArray($root, $path);
+
+ if (is_array($dns)) {
+ $size = count($dns);
+ for ($i = 0; $i < $size; $i++) {
+ for ($j = 0; $j < count($dns[$i]); $j++) {
+ $type = $dns[$i][$j]['type'];
+ $value = &$dns[$i][$j]['value'];
+ if (is_object($value) && $value instanceof Element) {
+ continue;
+ }
+
+ $map = $this->_getMapping($type);
+ if (!is_bool($map)) {
+ $value = new Element($asn1->encodeDER($value, $map));
+ }
+ }
+ }
+ }
+ }
+
+ /**
+ * Associate an extension ID to an extension mapping
+ *
+ * @param string $extnId
+ * @access private
+ * @return mixed
+ */
+ function _getMapping($extnId)
+ {
+ if (!is_string($extnId)) { // eg. if it's a \phpseclib\File\ASN1\Element object
+ return true;
+ }
+
+ switch ($extnId) {
+ case 'id-ce-keyUsage':
+ return $this->KeyUsage;
+ case 'id-ce-basicConstraints':
+ return $this->BasicConstraints;
+ case 'id-ce-subjectKeyIdentifier':
+ return $this->KeyIdentifier;
+ case 'id-ce-cRLDistributionPoints':
+ return $this->CRLDistributionPoints;
+ case 'id-ce-authorityKeyIdentifier':
+ return $this->AuthorityKeyIdentifier;
+ case 'id-ce-certificatePolicies':
+ return $this->CertificatePolicies;
+ case 'id-ce-extKeyUsage':
+ return $this->ExtKeyUsageSyntax;
+ case 'id-pe-authorityInfoAccess':
+ return $this->AuthorityInfoAccessSyntax;
+ case 'id-ce-subjectAltName':
+ return $this->SubjectAltName;
+ case 'id-ce-subjectDirectoryAttributes':
+ return $this->SubjectDirectoryAttributes;
+ case 'id-ce-privateKeyUsagePeriod':
+ return $this->PrivateKeyUsagePeriod;
+ case 'id-ce-issuerAltName':
+ return $this->IssuerAltName;
+ case 'id-ce-policyMappings':
+ return $this->PolicyMappings;
+ case 'id-ce-nameConstraints':
+ return $this->NameConstraints;
+
+ case 'netscape-cert-type':
+ return $this->netscape_cert_type;
+ case 'netscape-comment':
+ return $this->netscape_comment;
+ case 'netscape-ca-policy-url':
+ return $this->netscape_ca_policy_url;
+
+ // since id-qt-cps isn't a constructed type it will have already been decoded as a string by the time it gets
+ // back around to asn1map() and we don't want it decoded again.
+ //case 'id-qt-cps':
+ // return $this->CPSuri;
+ case 'id-qt-unotice':
+ return $this->UserNotice;
+
+ // the following OIDs are unsupported but we don't want them to give notices when calling saveX509().
+ case 'id-pe-logotype': // http://www.ietf.org/rfc/rfc3709.txt
+ case 'entrustVersInfo':
+ // http://support.microsoft.com/kb/287547
+ case '1.3.6.1.4.1.311.20.2': // szOID_ENROLL_CERTTYPE_EXTENSION
+ case '1.3.6.1.4.1.311.21.1': // szOID_CERTSRV_CA_VERSION
+ // "SET Secure Electronic Transaction Specification"
+ // http://www.maithean.com/docs/set_bk3.pdf
+ case '2.23.42.7.0': // id-set-hashedRootKey
+ // "Certificate Transparency"
+ // https://tools.ietf.org/html/rfc6962
+ case '1.3.6.1.4.1.11129.2.4.2':
+ return true;
+
+ // CSR attributes
+ case 'pkcs-9-at-unstructuredName':
+ return $this->PKCS9String;
+ case 'pkcs-9-at-challengePassword':
+ return $this->DirectoryString;
+ case 'pkcs-9-at-extensionRequest':
+ return $this->Extensions;
+
+ // CRL extensions.
+ case 'id-ce-cRLNumber':
+ return $this->CRLNumber;
+ case 'id-ce-deltaCRLIndicator':
+ return $this->CRLNumber;
+ case 'id-ce-issuingDistributionPoint':
+ return $this->IssuingDistributionPoint;
+ case 'id-ce-freshestCRL':
+ return $this->CRLDistributionPoints;
+ case 'id-ce-cRLReasons':
+ return $this->CRLReason;
+ case 'id-ce-invalidityDate':
+ return $this->InvalidityDate;
+ case 'id-ce-certificateIssuer':
+ return $this->CertificateIssuer;
+ case 'id-ce-holdInstructionCode':
+ return $this->HoldInstructionCode;
+ case 'id-at-postalAddress':
+ return $this->PostalAddress;
+ }
+
+ return false;
+ }
+
+ /**
+ * Load an X.509 certificate as a certificate authority
+ *
+ * @param string $cert
+ * @access public
+ * @return bool
+ */
+ function loadCA($cert)
+ {
+ $olddn = $this->dn;
+ $oldcert = $this->currentCert;
+ $oldsigsubj = $this->signatureSubject;
+ $oldkeyid = $this->currentKeyIdentifier;
+
+ $cert = $this->loadX509($cert);
+ if (!$cert) {
+ $this->dn = $olddn;
+ $this->currentCert = $oldcert;
+ $this->signatureSubject = $oldsigsubj;
+ $this->currentKeyIdentifier = $oldkeyid;
+
+ return false;
+ }
+
+ /* From RFC5280 "PKIX Certificate and CRL Profile":
+
+ If the keyUsage extension is present, then the subject public key
+ MUST NOT be used to verify signatures on certificates or CRLs unless
+ the corresponding keyCertSign or cRLSign bit is set. */
+ //$keyUsage = $this->getExtension('id-ce-keyUsage');
+ //if ($keyUsage && !in_array('keyCertSign', $keyUsage)) {
+ // return false;
+ //}
+
+ /* From RFC5280 "PKIX Certificate and CRL Profile":
+
+ The cA boolean indicates whether the certified public key may be used
+ to verify certificate signatures. If the cA boolean is not asserted,
+ then the keyCertSign bit in the key usage extension MUST NOT be
+ asserted. If the basic constraints extension is not present in a
+ version 3 certificate, or the extension is present but the cA boolean
+ is not asserted, then the certified public key MUST NOT be used to
+ verify certificate signatures. */
+ //$basicConstraints = $this->getExtension('id-ce-basicConstraints');
+ //if (!$basicConstraints || !$basicConstraints['cA']) {
+ // return false;
+ //}
+
+ $this->CAs[] = $cert;
+
+ $this->dn = $olddn;
+ $this->currentCert = $oldcert;
+ $this->signatureSubject = $oldsigsubj;
+
+ return true;
+ }
+
+ /**
+ * Validate an X.509 certificate against a URL
+ *
+ * From RFC2818 "HTTP over TLS":
+ *
+ * Matching is performed using the matching rules specified by
+ * [RFC2459]. If more than one identity of a given type is present in
+ * the certificate (e.g., more than one dNSName name, a match in any one
+ * of the set is considered acceptable.) Names may contain the wildcard
+ * character * which is considered to match any single domain name
+ * component or component fragment. E.g., *.a.com matches foo.a.com but
+ * not bar.foo.a.com. f*.com matches foo.com but not bar.com.
+ *
+ * @param string $url
+ * @access public
+ * @return bool
+ */
+ function validateURL($url)
+ {
+ if (!is_array($this->currentCert) || !isset($this->currentCert['tbsCertificate'])) {
+ return false;
+ }
+
+ $components = parse_url($url);
+ if (!isset($components['host'])) {
+ return false;
+ }
+
+ if ($names = $this->getExtension('id-ce-subjectAltName')) {
+ foreach ($names as $key => $value) {
+ $value = str_replace(array('.', '*'), array('\.', '[^.]*'), $value);
+ switch ($key) {
+ case 'dNSName':
+ /* From RFC2818 "HTTP over TLS":
+
+ If a subjectAltName extension of type dNSName is present, that MUST
+ be used as the identity. Otherwise, the (most specific) Common Name
+ field in the Subject field of the certificate MUST be used. Although
+ the use of the Common Name is existing practice, it is deprecated and
+ Certification Authorities are encouraged to use the dNSName instead. */
+ if (preg_match('#^' . $value . '$#', $components['host'])) {
+ return true;
+ }
+ break;
+ case 'iPAddress':
+ /* From RFC2818 "HTTP over TLS":
+
+ In some cases, the URI is specified as an IP address rather than a
+ hostname. In this case, the iPAddress subjectAltName must be present
+ in the certificate and must exactly match the IP in the URI. */
+ if (preg_match('#(?:\d{1-3}\.){4}#', $components['host'] . '.') && preg_match('#^' . $value . '$#', $components['host'])) {
+ return true;
+ }
+ }
+ }
+ return false;
+ }
+
+ if ($value = $this->getDNProp('id-at-commonName')) {
+ $value = str_replace(array('.', '*'), array('\.', '[^.]*'), $value[0]);
+ return preg_match('#^' . $value . '$#', $components['host']);
+ }
+
+ return false;
+ }
+
+ /**
+ * Validate a date
+ *
+ * If $date isn't defined it is assumed to be the current date.
+ *
+ * @param int $date optional
+ * @access public
+ */
+ function validateDate($date = null)
+ {
+ if (!is_array($this->currentCert) || !isset($this->currentCert['tbsCertificate'])) {
+ return false;
+ }
+
+ if (!isset($date)) {
+ $date = time();
+ }
+
+ $notBefore = $this->currentCert['tbsCertificate']['validity']['notBefore'];
+ $notBefore = isset($notBefore['generalTime']) ? $notBefore['generalTime'] : $notBefore['utcTime'];
+
+ $notAfter = $this->currentCert['tbsCertificate']['validity']['notAfter'];
+ $notAfter = isset($notAfter['generalTime']) ? $notAfter['generalTime'] : $notAfter['utcTime'];
+
+ switch (true) {
+ case $date < @strtotime($notBefore):
+ case $date > @strtotime($notAfter):
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Validate a signature
+ *
+ * Works on X.509 certs, CSR's and CRL's.
+ * Returns true if the signature is verified, false if it is not correct or null on error
+ *
+ * By default returns false for self-signed certs. Call validateSignature(false) to make this support
+ * self-signed.
+ *
+ * The behavior of this function is inspired by {@link http://php.net/openssl-verify openssl_verify}.
+ *
+ * @param bool $caonly optional
+ * @access public
+ * @return mixed
+ */
+ function validateSignature($caonly = true)
+ {
+ if (!is_array($this->currentCert) || !isset($this->signatureSubject)) {
+ return null;
+ }
+
+ /* TODO:
+ "emailAddress attribute values are not case-sensitive (e.g., "subscriber@example.com" is the same as "SUBSCRIBER@EXAMPLE.COM")."
+ -- http://tools.ietf.org/html/rfc5280#section-4.1.2.6
+
+ implement pathLenConstraint in the id-ce-basicConstraints extension */
+
+ switch (true) {
+ case isset($this->currentCert['tbsCertificate']):
+ // self-signed cert
+ switch (true) {
+ case !defined('FILE_X509_IGNORE_TYPE') && $this->currentCert['tbsCertificate']['issuer'] === $this->currentCert['tbsCertificate']['subject']:
+ case defined('FILE_X509_IGNORE_TYPE') && $this->getIssuerDN(self::DN_STRING) === $this->getDN(self::DN_STRING):
+ $authorityKey = $this->getExtension('id-ce-authorityKeyIdentifier');
+ $subjectKeyID = $this->getExtension('id-ce-subjectKeyIdentifier');
+ switch (true) {
+ case !is_array($authorityKey):
+ case is_array($authorityKey) && isset($authorityKey['keyIdentifier']) && $authorityKey['keyIdentifier'] === $subjectKeyID:
+ $signingCert = $this->currentCert; // working cert
+ }
+ }
+
+ if (!empty($this->CAs)) {
+ for ($i = 0; $i < count($this->CAs); $i++) {
+ // even if the cert is a self-signed one we still want to see if it's a CA;
+ // if not, we'll conditionally return an error
+ $ca = $this->CAs[$i];
+ switch (true) {
+ case !defined('FILE_X509_IGNORE_TYPE') && $this->currentCert['tbsCertificate']['issuer'] === $ca['tbsCertificate']['subject']:
+ case defined('FILE_X509_IGNORE_TYPE') && $this->getDN(self::DN_STRING, $this->currentCert['tbsCertificate']['issuer']) === $this->getDN(self::DN_STRING, $ca['tbsCertificate']['subject']):
+ $authorityKey = $this->getExtension('id-ce-authorityKeyIdentifier');
+ $subjectKeyID = $this->getExtension('id-ce-subjectKeyIdentifier', $ca);
+ switch (true) {
+ case !is_array($authorityKey):
+ case is_array($authorityKey) && isset($authorityKey['keyIdentifier']) && $authorityKey['keyIdentifier'] === $subjectKeyID:
+ $signingCert = $ca; // working cert
+ break 3;
+ }
+ }
+ }
+ if (count($this->CAs) == $i && $caonly) {
+ return false;
+ }
+ } elseif (!isset($signingCert) || $caonly) {
+ return false;
+ }
+ return $this->_validateSignature(
+ $signingCert['tbsCertificate']['subjectPublicKeyInfo']['algorithm']['algorithm'],
+ $signingCert['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey'],
+ $this->currentCert['signatureAlgorithm']['algorithm'],
+ substr(base64_decode($this->currentCert['signature']), 1),
+ $this->signatureSubject
+ );
+ case isset($this->currentCert['certificationRequestInfo']):
+ return $this->_validateSignature(
+ $this->currentCert['certificationRequestInfo']['subjectPKInfo']['algorithm']['algorithm'],
+ $this->currentCert['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey'],
+ $this->currentCert['signatureAlgorithm']['algorithm'],
+ substr(base64_decode($this->currentCert['signature']), 1),
+ $this->signatureSubject
+ );
+ case isset($this->currentCert['publicKeyAndChallenge']):
+ return $this->_validateSignature(
+ $this->currentCert['publicKeyAndChallenge']['spki']['algorithm']['algorithm'],
+ $this->currentCert['publicKeyAndChallenge']['spki']['subjectPublicKey'],
+ $this->currentCert['signatureAlgorithm']['algorithm'],
+ substr(base64_decode($this->currentCert['signature']), 1),
+ $this->signatureSubject
+ );
+ case isset($this->currentCert['tbsCertList']):
+ if (!empty($this->CAs)) {
+ for ($i = 0; $i < count($this->CAs); $i++) {
+ $ca = $this->CAs[$i];
+ switch (true) {
+ case !defined('FILE_X509_IGNORE_TYPE') && $this->currentCert['tbsCertList']['issuer'] === $ca['tbsCertificate']['subject']:
+ case defined('FILE_X509_IGNORE_TYPE') && $this->getDN(self::DN_STRING, $this->currentCert['tbsCertList']['issuer']) === $this->getDN(self::DN_STRING, $ca['tbsCertificate']['subject']):
+ $authorityKey = $this->getExtension('id-ce-authorityKeyIdentifier');
+ $subjectKeyID = $this->getExtension('id-ce-subjectKeyIdentifier', $ca);
+ switch (true) {
+ case !is_array($authorityKey):
+ case is_array($authorityKey) && isset($authorityKey['keyIdentifier']) && $authorityKey['keyIdentifier'] === $subjectKeyID:
+ $signingCert = $ca; // working cert
+ break 3;
+ }
+ }
+ }
+ }
+ if (!isset($signingCert)) {
+ return false;
+ }
+ return $this->_validateSignature(
+ $signingCert['tbsCertificate']['subjectPublicKeyInfo']['algorithm']['algorithm'],
+ $signingCert['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey'],
+ $this->currentCert['signatureAlgorithm']['algorithm'],
+ substr(base64_decode($this->currentCert['signature']), 1),
+ $this->signatureSubject
+ );
+ default:
+ return false;
+ }
+ }
+
+ /**
+ * Validates a signature
+ *
+ * Returns true if the signature is verified, false if it is not correct or null on error
+ *
+ * @param string $publicKeyAlgorithm
+ * @param string $publicKey
+ * @param string $signatureAlgorithm
+ * @param string $signature
+ * @param string $signatureSubject
+ * @access private
+ * @return int
+ */
+ function _validateSignature($publicKeyAlgorithm, $publicKey, $signatureAlgorithm, $signature, $signatureSubject)
+ {
+ switch ($publicKeyAlgorithm) {
+ case 'rsaEncryption':
+ $rsa = new RSA();
+ $rsa->loadKey($publicKey);
+
+ switch ($signatureAlgorithm) {
+ case 'md2WithRSAEncryption':
+ case 'md5WithRSAEncryption':
+ case 'sha1WithRSAEncryption':
+ case 'sha224WithRSAEncryption':
+ case 'sha256WithRSAEncryption':
+ case 'sha384WithRSAEncryption':
+ case 'sha512WithRSAEncryption':
+ $rsa->setHash(preg_replace('#WithRSAEncryption$#', '', $signatureAlgorithm));
+ $rsa->setSignatureMode(RSA::SIGNATURE_PKCS1);
+ if (!@$rsa->verify($signatureSubject, $signature)) {
+ return false;
+ }
+ break;
+ default:
+ return null;
+ }
+ break;
+ default:
+ return null;
+ }
+
+ return true;
+ }
+
+ /**
+ * Reformat public keys
+ *
+ * Reformats a public key to a format supported by phpseclib (if applicable)
+ *
+ * @param string $algorithm
+ * @param string $key
+ * @access private
+ * @return string
+ */
+ function _reformatKey($algorithm, $key)
+ {
+ switch ($algorithm) {
+ case 'rsaEncryption':
+ return
+ "-----BEGIN RSA PUBLIC KEY-----\r\n" .
+ // subjectPublicKey is stored as a bit string in X.509 certs. the first byte of a bit string represents how many bits
+ // in the last byte should be ignored. the following only supports non-zero stuff but as none of the X.509 certs Firefox
+ // uses as a cert authority actually use a non-zero bit I think it's safe to assume that none do.
+ chunk_split(base64_encode(substr(base64_decode($key), 1)), 64) .
+ '-----END RSA PUBLIC KEY-----';
+ default:
+ return $key;
+ }
+ }
+
+ /**
+ * Decodes an IP address
+ *
+ * Takes in a base64 encoded "blob" and returns a human readable IP address
+ *
+ * @param string $ip
+ * @access private
+ * @return string
+ */
+ function _decodeIP($ip)
+ {
+ return inet_ntop(base64_decode($ip));
+ }
+
+ /**
+ * Encodes an IP address
+ *
+ * Takes a human readable IP address into a base64-encoded "blob"
+ *
+ * @param string $ip
+ * @access private
+ * @return string
+ */
+ function _encodeIP($ip)
+ {
+ return base64_encode(inet_pton($ip));
+ }
+
+ /**
+ * "Normalizes" a Distinguished Name property
+ *
+ * @param string $propName
+ * @access private
+ * @return mixed
+ */
+ function _translateDNProp($propName)
+ {
+ switch (strtolower($propName)) {
+ case 'id-at-countryname':
+ case 'countryname':
+ case 'c':
+ return 'id-at-countryName';
+ case 'id-at-organizationname':
+ case 'organizationname':
+ case 'o':
+ return 'id-at-organizationName';
+ case 'id-at-dnqualifier':
+ case 'dnqualifier':
+ return 'id-at-dnQualifier';
+ case 'id-at-commonname':
+ case 'commonname':
+ case 'cn':
+ return 'id-at-commonName';
+ case 'id-at-stateorprovincename':
+ case 'stateorprovincename':
+ case 'state':
+ case 'province':
+ case 'provincename':
+ case 'st':
+ return 'id-at-stateOrProvinceName';
+ case 'id-at-localityname':
+ case 'localityname':
+ case 'l':
+ return 'id-at-localityName';
+ case 'id-emailaddress':
+ case 'emailaddress':
+ return 'pkcs-9-at-emailAddress';
+ case 'id-at-serialnumber':
+ case 'serialnumber':
+ return 'id-at-serialNumber';
+ case 'id-at-postalcode':
+ case 'postalcode':
+ return 'id-at-postalCode';
+ case 'id-at-streetaddress':
+ case 'streetaddress':
+ return 'id-at-streetAddress';
+ case 'id-at-name':
+ case 'name':
+ return 'id-at-name';
+ case 'id-at-givenname':
+ case 'givenname':
+ return 'id-at-givenName';
+ case 'id-at-surname':
+ case 'surname':
+ case 'sn':
+ return 'id-at-surname';
+ case 'id-at-initials':
+ case 'initials':
+ return 'id-at-initials';
+ case 'id-at-generationqualifier':
+ case 'generationqualifier':
+ return 'id-at-generationQualifier';
+ case 'id-at-organizationalunitname':
+ case 'organizationalunitname':
+ case 'ou':
+ return 'id-at-organizationalUnitName';
+ case 'id-at-pseudonym':
+ case 'pseudonym':
+ return 'id-at-pseudonym';
+ case 'id-at-title':
+ case 'title':
+ return 'id-at-title';
+ case 'id-at-description':
+ case 'description':
+ return 'id-at-description';
+ case 'id-at-role':
+ case 'role':
+ return 'id-at-role';
+ case 'id-at-uniqueidentifier':
+ case 'uniqueidentifier':
+ case 'x500uniqueidentifier':
+ return 'id-at-uniqueIdentifier';
+ case 'postaladdress':
+ case 'id-at-postaladdress':
+ return 'id-at-postalAddress';
+ default:
+ return false;
+ }
+ }
+
+ /**
+ * Set a Distinguished Name property
+ *
+ * @param string $propName
+ * @param mixed $propValue
+ * @param string $type optional
+ * @access public
+ * @return bool
+ */
+ function setDNProp($propName, $propValue, $type = 'utf8String')
+ {
+ if (empty($this->dn)) {
+ $this->dn = array('rdnSequence' => array());
+ }
+
+ if (($propName = $this->_translateDNProp($propName)) === false) {
+ return false;
+ }
+
+ foreach ((array) $propValue as $v) {
+ if (!is_array($v) && isset($type)) {
+ $v = array($type => $v);
+ }
+ $this->dn['rdnSequence'][] = array(
+ array(
+ 'type' => $propName,
+ 'value'=> $v
+ )
+ );
+ }
+
+ return true;
+ }
+
+ /**
+ * Remove Distinguished Name properties
+ *
+ * @param string $propName
+ * @access public
+ */
+ function removeDNProp($propName)
+ {
+ if (empty($this->dn)) {
+ return;
+ }
+
+ if (($propName = $this->_translateDNProp($propName)) === false) {
+ return;
+ }
+
+ $dn = &$this->dn['rdnSequence'];
+ $size = count($dn);
+ for ($i = 0; $i < $size; $i++) {
+ if ($dn[$i][0]['type'] == $propName) {
+ unset($dn[$i]);
+ }
+ }
+
+ $dn = array_values($dn);
+ }
+
+ /**
+ * Get Distinguished Name properties
+ *
+ * @param string $propName
+ * @param array $dn optional
+ * @param bool $withType optional
+ * @return mixed
+ * @access public
+ */
+ function getDNProp($propName, $dn = null, $withType = false)
+ {
+ if (!isset($dn)) {
+ $dn = $this->dn;
+ }
+
+ if (empty($dn)) {
+ return false;
+ }
+
+ if (($propName = $this->_translateDNProp($propName)) === false) {
+ return false;
+ }
+
+ $asn1 = new ASN1();
+ $asn1->loadOIDs($this->oids);
+ $filters = array();
+ $filters['value'] = array('type' => ASN1::TYPE_UTF8_STRING);
+ $asn1->loadFilters($filters);
+ $this->_mapOutDNs($dn, 'rdnSequence', $asn1);
+ $dn = $dn['rdnSequence'];
+ $result = array();
+ for ($i = 0; $i < count($dn); $i++) {
+ if ($dn[$i][0]['type'] == $propName) {
+ $v = $dn[$i][0]['value'];
+ if (!$withType) {
+ if (is_array($v)) {
+ foreach ($v as $type => $s) {
+ $type = array_search($type, $asn1->ANYmap, true);
+ if ($type !== false && isset($asn1->stringTypeSize[$type])) {
+ $s = $asn1->convert($s, $type);
+ if ($s !== false) {
+ $v = $s;
+ break;
+ }
+ }
+ }
+ if (is_array($v)) {
+ $v = array_pop($v); // Always strip data type.
+ }
+ } elseif (is_object($v) && $v instanceof Element) {
+ $map = $this->_getMapping($propName);
+ if (!is_bool($map)) {
+ $decoded = $asn1->decodeBER($v);
+ $v = $asn1->asn1map($decoded[0], $map);
+ }
+ }
+ }
+ $result[] = $v;
+ }
+ }
+
+ return $result;
+ }
+
+ /**
+ * Set a Distinguished Name
+ *
+ * @param mixed $dn
+ * @param bool $merge optional
+ * @param string $type optional
+ * @access public
+ * @return bool
+ */
+ function setDN($dn, $merge = false, $type = 'utf8String')
+ {
+ if (!$merge) {
+ $this->dn = null;
+ }
+
+ if (is_array($dn)) {
+ if (isset($dn['rdnSequence'])) {
+ $this->dn = $dn; // No merge here.
+ return true;
+ }
+
+ // handles stuff generated by openssl_x509_parse()
+ foreach ($dn as $prop => $value) {
+ if (!$this->setDNProp($prop, $value, $type)) {
+ return false;
+ }
+ }
+ return true;
+ }
+
+ // handles everything else
+ $results = preg_split('#((?:^|, *|/)(?:C=|O=|OU=|CN=|L=|ST=|SN=|postalCode=|streetAddress=|emailAddress=|serialNumber=|organizationalUnitName=|title=|description=|role=|x500UniqueIdentifier=|postalAddress=))#', $dn, -1, PREG_SPLIT_DELIM_CAPTURE);
+ for ($i = 1; $i < count($results); $i+=2) {
+ $prop = trim($results[$i], ', =/');
+ $value = $results[$i + 1];
+ if (!$this->setDNProp($prop, $value, $type)) {
+ return false;
+ }
+ }
+
+ return true;
+ }
+
+ /**
+ * Get the Distinguished Name for a certificates subject
+ *
+ * @param mixed $format optional
+ * @param array $dn optional
+ * @access public
+ * @return bool
+ */
+ function getDN($format = self::DN_ARRAY, $dn = null)
+ {
+ if (!isset($dn)) {
+ $dn = isset($this->currentCert['tbsCertList']) ? $this->currentCert['tbsCertList']['issuer'] : $this->dn;
+ }
+
+ switch ((int) $format) {
+ case self::DN_ARRAY:
+ return $dn;
+ case self::DN_ASN1:
+ $asn1 = new ASN1();
+ $asn1->loadOIDs($this->oids);
+ $filters = array();
+ $filters['rdnSequence']['value'] = array('type' => ASN1::TYPE_UTF8_STRING);
+ $asn1->loadFilters($filters);
+ $this->_mapOutDNs($dn, 'rdnSequence', $asn1);
+ return $asn1->encodeDER($dn, $this->Name);
+ case self::DN_CANON:
+ // No SEQUENCE around RDNs and all string values normalized as
+ // trimmed lowercase UTF-8 with all spacing as one blank.
+ // constructed RDNs will not be canonicalized
+ $asn1 = new ASN1();
+ $asn1->loadOIDs($this->oids);
+ $filters = array();
+ $filters['value'] = array('type' => ASN1::TYPE_UTF8_STRING);
+ $asn1->loadFilters($filters);
+ $result = '';
+ $this->_mapOutDNs($dn, 'rdnSequence', $asn1);
+ foreach ($dn['rdnSequence'] as $rdn) {
+ foreach ($rdn as $i => $attr) {
+ $attr = &$rdn[$i];
+ if (is_array($attr['value'])) {
+ foreach ($attr['value'] as $type => $v) {
+ $type = array_search($type, $asn1->ANYmap, true);
+ if ($type !== false && isset($asn1->stringTypeSize[$type])) {
+ $v = $asn1->convert($v, $type);
+ if ($v !== false) {
+ $v = preg_replace('/\s+/', ' ', $v);
+ $attr['value'] = strtolower(trim($v));
+ break;
+ }
+ }
+ }
+ }
+ }
+ $result .= $asn1->encodeDER($rdn, $this->RelativeDistinguishedName);
+ }
+ return $result;
+ case self::DN_HASH:
+ $dn = $this->getDN(self::DN_CANON, $dn);
+ $hash = new Hash('sha1');
+ $hash = $hash->hash($dn);
+ extract(unpack('Vhash', $hash));
+ return strtolower(bin2hex(pack('N', $hash)));
+ }
+
+ // Default is to return a string.
+ $start = true;
+ $output = '';
+
+ $result = array();
+ $asn1 = new ASN1();
+ $asn1->loadOIDs($this->oids);
+ $filters = array();
+ $filters['rdnSequence']['value'] = array('type' => ASN1::TYPE_UTF8_STRING);
+ $asn1->loadFilters($filters);
+ $this->_mapOutDNs($dn, 'rdnSequence', $asn1);
+
+ foreach ($dn['rdnSequence'] as $field) {
+ $prop = $field[0]['type'];
+ $value = $field[0]['value'];
+
+ $delim = ', ';
+ switch ($prop) {
+ case 'id-at-countryName':
+ $desc = 'C';
+ break;
+ case 'id-at-stateOrProvinceName':
+ $desc = 'ST';
+ break;
+ case 'id-at-organizationName':
+ $desc = 'O';
+ break;
+ case 'id-at-organizationalUnitName':
+ $desc = 'OU';
+ break;
+ case 'id-at-commonName':
+ $desc = 'CN';
+ break;
+ case 'id-at-localityName':
+ $desc = 'L';
+ break;
+ case 'id-at-surname':
+ $desc = 'SN';
+ break;
+ case 'id-at-uniqueIdentifier':
+ $delim = '/';
+ $desc = 'x500UniqueIdentifier';
+ break;
+ case 'id-at-postalAddress':
+ $delim = '/';
+ $desc = 'postalAddress';
+ break;
+ default:
+ $delim = '/';
+ $desc = preg_replace('#.+-([^-]+)$#', '$1', $prop);
+ }
+
+ if (!$start) {
+ $output.= $delim;
+ }
+ if (is_array($value)) {
+ foreach ($value as $type => $v) {
+ $type = array_search($type, $asn1->ANYmap, true);
+ if ($type !== false && isset($asn1->stringTypeSize[$type])) {
+ $v = $asn1->convert($v, $type);
+ if ($v !== false) {
+ $value = $v;
+ break;
+ }
+ }
+ }
+ if (is_array($value)) {
+ $value = array_pop($value); // Always strip data type.
+ }
+ } elseif (is_object($value) && $value instanceof Element) {
+ $callback = create_function('$x', 'return "\x" . bin2hex($x[0]);');
+ $value = strtoupper(preg_replace_callback('#[^\x20-\x7E]#', $callback, $value->element));
+ }
+ $output.= $desc . '=' . $value;
+ $result[$desc] = isset($result[$desc]) ?
+ array_merge((array) $dn[$prop], array($value)) :
+ $value;
+ $start = false;
+ }
+
+ return $format == self::DN_OPENSSL ? $result : $output;
+ }
+
+ /**
+ * Get the Distinguished Name for a certificate/crl issuer
+ *
+ * @param int $format optional
+ * @access public
+ * @return mixed
+ */
+ function getIssuerDN($format = self::DN_ARRAY)
+ {
+ switch (true) {
+ case !isset($this->currentCert) || !is_array($this->currentCert):
+ break;
+ case isset($this->currentCert['tbsCertificate']):
+ return $this->getDN($format, $this->currentCert['tbsCertificate']['issuer']);
+ case isset($this->currentCert['tbsCertList']):
+ return $this->getDN($format, $this->currentCert['tbsCertList']['issuer']);
+ }
+
+ return false;
+ }
+
+ /**
+ * Get the Distinguished Name for a certificate/csr subject
+ * Alias of getDN()
+ *
+ * @param int $format optional
+ * @access public
+ * @return mixed
+ */
+ function getSubjectDN($format = self::DN_ARRAY)
+ {
+ switch (true) {
+ case !empty($this->dn):
+ return $this->getDN($format);
+ case !isset($this->currentCert) || !is_array($this->currentCert):
+ break;
+ case isset($this->currentCert['tbsCertificate']):
+ return $this->getDN($format, $this->currentCert['tbsCertificate']['subject']);
+ case isset($this->currentCert['certificationRequestInfo']):
+ return $this->getDN($format, $this->currentCert['certificationRequestInfo']['subject']);
+ }
+
+ return false;
+ }
+
+ /**
+ * Get an individual Distinguished Name property for a certificate/crl issuer
+ *
+ * @param string $propName
+ * @param bool $withType optional
+ * @access public
+ * @return mixed
+ */
+ function getIssuerDNProp($propName, $withType = false)
+ {
+ switch (true) {
+ case !isset($this->currentCert) || !is_array($this->currentCert):
+ break;
+ case isset($this->currentCert['tbsCertificate']):
+ return $this->getDNProp($propName, $this->currentCert['tbsCertificate']['issuer'], $withType);
+ case isset($this->currentCert['tbsCertList']):
+ return $this->getDNProp($propName, $this->currentCert['tbsCertList']['issuer'], $withType);
+ }
+
+ return false;
+ }
+
+ /**
+ * Get an individual Distinguished Name property for a certificate/csr subject
+ *
+ * @param string $propName
+ * @param bool $withType optional
+ * @access public
+ * @return mixed
+ */
+ function getSubjectDNProp($propName, $withType = false)
+ {
+ switch (true) {
+ case !empty($this->dn):
+ return $this->getDNProp($propName, null, $withType);
+ case !isset($this->currentCert) || !is_array($this->currentCert):
+ break;
+ case isset($this->currentCert['tbsCertificate']):
+ return $this->getDNProp($propName, $this->currentCert['tbsCertificate']['subject'], $withType);
+ case isset($this->currentCert['certificationRequestInfo']):
+ return $this->getDNProp($propName, $this->currentCert['certificationRequestInfo']['subject'], $withType);
+ }
+
+ return false;
+ }
+
+ /**
+ * Get the certificate chain for the current cert
+ *
+ * @access public
+ * @return mixed
+ */
+ function getChain()
+ {
+ $chain = array($this->currentCert);
+
+ if (!is_array($this->currentCert) || !isset($this->currentCert['tbsCertificate'])) {
+ return false;
+ }
+ if (empty($this->CAs)) {
+ return $chain;
+ }
+ while (true) {
+ $currentCert = $chain[count($chain) - 1];
+ for ($i = 0; $i < count($this->CAs); $i++) {
+ $ca = $this->CAs[$i];
+ if ($currentCert['tbsCertificate']['issuer'] === $ca['tbsCertificate']['subject']) {
+ $authorityKey = $this->getExtension('id-ce-authorityKeyIdentifier', $currentCert);
+ $subjectKeyID = $this->getExtension('id-ce-subjectKeyIdentifier', $ca);
+ switch (true) {
+ case !is_array($authorityKey):
+ case is_array($authorityKey) && isset($authorityKey['keyIdentifier']) && $authorityKey['keyIdentifier'] === $subjectKeyID:
+ if ($currentCert === $ca) {
+ break 3;
+ }
+ $chain[] = $ca;
+ break 2;
+ }
+ }
+ }
+ if ($i == count($this->CAs)) {
+ break;
+ }
+ }
+ foreach ($chain as $key => $value) {
+ $chain[$key] = new X509();
+ $chain[$key]->loadX509($value);
+ }
+ return $chain;
+ }
+
+ /**
+ * Set public key
+ *
+ * Key needs to be a \phpseclib\Crypt\RSA object
+ *
+ * @param object $key
+ * @access public
+ * @return bool
+ */
+ function setPublicKey($key)
+ {
+ $key->setPublicKey();
+ $this->publicKey = $key;
+ }
+
+ /**
+ * Set private key
+ *
+ * Key needs to be a \phpseclib\Crypt\RSA object
+ *
+ * @param object $key
+ * @access public
+ */
+ function setPrivateKey($key)
+ {
+ $this->privateKey = $key;
+ }
+
+ /**
+ * Set challenge
+ *
+ * Used for SPKAC CSR's
+ *
+ * @param string $challenge
+ * @access public
+ */
+ function setChallenge($challenge)
+ {
+ $this->challenge = $challenge;
+ }
+
+ /**
+ * Gets the public key
+ *
+ * Returns a \phpseclib\Crypt\RSA object or a false.
+ *
+ * @access public
+ * @return mixed
+ */
+ function getPublicKey()
+ {
+ if (isset($this->publicKey)) {
+ return $this->publicKey;
+ }
+
+ if (isset($this->currentCert) && is_array($this->currentCert)) {
+ foreach (array('tbsCertificate/subjectPublicKeyInfo', 'certificationRequestInfo/subjectPKInfo') as $path) {
+ $keyinfo = $this->_subArray($this->currentCert, $path);
+ if (!empty($keyinfo)) {
+ break;
+ }
+ }
+ }
+ if (empty($keyinfo)) {
+ return false;
+ }
+
+ $key = $keyinfo['subjectPublicKey'];
+
+ switch ($keyinfo['algorithm']['algorithm']) {
+ case 'rsaEncryption':
+ $publicKey = new RSA();
+ $publicKey->loadKey($key);
+ $publicKey->setPublicKey();
+ break;
+ default:
+ return false;
+ }
+
+ return $publicKey;
+ }
+
+ /**
+ * Load a Certificate Signing Request
+ *
+ * @param string $csr
+ * @access public
+ * @return mixed
+ */
+ function loadCSR($csr, $mode = self::FORMAT_AUTO_DETECT)
+ {
+ if (is_array($csr) && isset($csr['certificationRequestInfo'])) {
+ unset($this->currentCert);
+ unset($this->currentKeyIdentifier);
+ unset($this->signatureSubject);
+ $this->dn = $csr['certificationRequestInfo']['subject'];
+ if (!isset($this->dn)) {
+ return false;
+ }
+
+ $this->currentCert = $csr;
+ return $csr;
+ }
+
+ // see http://tools.ietf.org/html/rfc2986
+
+ $asn1 = new ASN1();
+
+ if ($mode != self::FORMAT_DER) {
+ $newcsr = $this->_extractBER($csr);
+ if ($mode == self::FORMAT_PEM && $csr == $newcsr) {
+ return false;
+ }
+ $csr = $newcsr;
+ }
+ $orig = $csr;
+
+ if ($csr === false) {
+ $this->currentCert = false;
+ return false;
+ }
+
+ $asn1->loadOIDs($this->oids);
+ $decoded = $asn1->decodeBER($csr);
+
+ if (empty($decoded)) {
+ $this->currentCert = false;
+ return false;
+ }
+
+ $csr = $asn1->asn1map($decoded[0], $this->CertificationRequest);
+ if (!isset($csr) || $csr === false) {
+ $this->currentCert = false;
+ return false;
+ }
+
+ $this->_mapInAttributes($csr, 'certificationRequestInfo/attributes', $asn1);
+ $this->_mapInDNs($csr, 'certificationRequestInfo/subject/rdnSequence', $asn1);
+
+ $this->dn = $csr['certificationRequestInfo']['subject'];
+
+ $this->signatureSubject = substr($orig, $decoded[0]['content'][0]['start'], $decoded[0]['content'][0]['length']);
+
+ $algorithm = &$csr['certificationRequestInfo']['subjectPKInfo']['algorithm']['algorithm'];
+ $key = &$csr['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey'];
+ $key = $this->_reformatKey($algorithm, $key);
+
+ switch ($algorithm) {
+ case 'rsaEncryption':
+ $this->publicKey = new RSA();
+ $this->publicKey->loadKey($key);
+ $this->publicKey->setPublicKey();
+ break;
+ default:
+ $this->publicKey = null;
+ }
+
+ $this->currentKeyIdentifier = null;
+ $this->currentCert = $csr;
+
+ return $csr;
+ }
+
+ /**
+ * Save CSR request
+ *
+ * @param array $csr
+ * @param int $format optional
+ * @access public
+ * @return string
+ */
+ function saveCSR($csr, $format = self::FORMAT_PEM)
+ {
+ if (!is_array($csr) || !isset($csr['certificationRequestInfo'])) {
+ return false;
+ }
+
+ switch (true) {
+ case !($algorithm = $this->_subArray($csr, 'certificationRequestInfo/subjectPKInfo/algorithm/algorithm')):
+ case is_object($csr['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey']):
+ break;
+ default:
+ switch ($algorithm) {
+ case 'rsaEncryption':
+ $csr['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey']
+ = base64_encode("\0" . base64_decode(preg_replace('#-.+-|[\r\n]#', '', $csr['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey'])));
+ $csr['certificationRequestInfo']['subjectPKInfo']['algorithm']['parameters'] = null;
+ $csr['signatureAlgorithm']['parameters'] = null;
+ $csr['certificationRequestInfo']['signature']['parameters'] = null;
+ }
+ }
+
+ $asn1 = new ASN1();
+
+ $asn1->loadOIDs($this->oids);
+
+ $filters = array();
+ $filters['certificationRequestInfo']['subject']['rdnSequence']['value']
+ = array('type' => ASN1::TYPE_UTF8_STRING);
+
+ $asn1->loadFilters($filters);
+
+ $this->_mapOutDNs($csr, 'certificationRequestInfo/subject/rdnSequence', $asn1);
+ $this->_mapOutAttributes($csr, 'certificationRequestInfo/attributes', $asn1);
+ $csr = $asn1->encodeDER($csr, $this->CertificationRequest);
+
+ switch ($format) {
+ case self::FORMAT_DER:
+ return $csr;
+ // case self::FORMAT_PEM:
+ default:
+ return "-----BEGIN CERTIFICATE REQUEST-----\r\n" . chunk_split(base64_encode($csr), 64) . '-----END CERTIFICATE REQUEST-----';
+ }
+ }
+
+ /**
+ * Load a SPKAC CSR
+ *
+ * SPKAC's are produced by the HTML5 keygen element:
+ *
+ * https://developer.mozilla.org/en-US/docs/HTML/Element/keygen
+ *
+ * @param string $csr
+ * @access public
+ * @return mixed
+ */
+ function loadSPKAC($spkac)
+ {
+ if (is_array($spkac) && isset($spkac['publicKeyAndChallenge'])) {
+ unset($this->currentCert);
+ unset($this->currentKeyIdentifier);
+ unset($this->signatureSubject);
+ $this->currentCert = $spkac;
+ return $spkac;
+ }
+
+ // see http://www.w3.org/html/wg/drafts/html/master/forms.html#signedpublickeyandchallenge
+
+ $asn1 = new ASN1();
+
+ // OpenSSL produces SPKAC's that are preceded by the string SPKAC=
+ $temp = preg_replace('#(?:SPKAC=)|[ \r\n\\\]#', '', $spkac);
+ $temp = preg_match('#^[a-zA-Z\d/+]*={0,2}$#', $temp) ? base64_decode($temp) : false;
+ if ($temp != false) {
+ $spkac = $temp;
+ }
+ $orig = $spkac;
+
+ if ($spkac === false) {
+ $this->currentCert = false;
+ return false;
+ }
+
+ $asn1->loadOIDs($this->oids);
+ $decoded = $asn1->decodeBER($spkac);
+
+ if (empty($decoded)) {
+ $this->currentCert = false;
+ return false;
+ }
+
+ $spkac = $asn1->asn1map($decoded[0], $this->SignedPublicKeyAndChallenge);
+
+ if (!isset($spkac) || $spkac === false) {
+ $this->currentCert = false;
+ return false;
+ }
+
+ $this->signatureSubject = substr($orig, $decoded[0]['content'][0]['start'], $decoded[0]['content'][0]['length']);
+
+ $algorithm = &$spkac['publicKeyAndChallenge']['spki']['algorithm']['algorithm'];
+ $key = &$spkac['publicKeyAndChallenge']['spki']['subjectPublicKey'];
+ $key = $this->_reformatKey($algorithm, $key);
+
+ switch ($algorithm) {
+ case 'rsaEncryption':
+ $this->publicKey = new RSA();
+ $this->publicKey->loadKey($key);
+ $this->publicKey->setPublicKey();
+ break;
+ default:
+ $this->publicKey = null;
+ }
+
+ $this->currentKeyIdentifier = null;
+ $this->currentCert = $spkac;
+
+ return $spkac;
+ }
+
+ /**
+ * Save a SPKAC CSR request
+ *
+ * @param array $csr
+ * @param int $format optional
+ * @access public
+ * @return string
+ */
+ function saveSPKAC($spkac, $format = self::FORMAT_PEM)
+ {
+ if (!is_array($spkac) || !isset($spkac['publicKeyAndChallenge'])) {
+ return false;
+ }
+
+ $algorithm = $this->_subArray($spkac, 'publicKeyAndChallenge/spki/algorithm/algorithm');
+ switch (true) {
+ case !$algorithm:
+ case is_object($spkac['publicKeyAndChallenge']['spki']['subjectPublicKey']):
+ break;
+ default:
+ switch ($algorithm) {
+ case 'rsaEncryption':
+ $spkac['publicKeyAndChallenge']['spki']['subjectPublicKey']
+ = base64_encode("\0" . base64_decode(preg_replace('#-.+-|[\r\n]#', '', $spkac['publicKeyAndChallenge']['spki']['subjectPublicKey'])));
+ }
+ }
+
+ $asn1 = new ASN1();
+
+ $asn1->loadOIDs($this->oids);
+ $spkac = $asn1->encodeDER($spkac, $this->SignedPublicKeyAndChallenge);
+
+ switch ($format) {
+ case self::FORMAT_DER:
+ return $spkac;
+ // case self::FORMAT_PEM:
+ default:
+ // OpenSSL's implementation of SPKAC requires the SPKAC be preceded by SPKAC= and since there are pretty much
+ // no other SPKAC decoders phpseclib will use that same format
+ return 'SPKAC=' . base64_encode($spkac);
+ }
+ }
+
+ /**
+ * Load a Certificate Revocation List
+ *
+ * @param string $crl
+ * @access public
+ * @return mixed
+ */
+ function loadCRL($crl, $mode = self::FORMAT_AUTO_DETECT)
+ {
+ if (is_array($crl) && isset($crl['tbsCertList'])) {
+ $this->currentCert = $crl;
+ unset($this->signatureSubject);
+ return $crl;
+ }
+
+ $asn1 = new ASN1();
+
+ if ($mode != self::FORMAT_DER) {
+ $newcrl = $this->_extractBER($crl);
+ if ($mode == self::FORMAT_PEM && $crl == $newcrl) {
+ return false;
+ }
+ $crl = $newcrl;
+ }
+ $orig = $crl;
+
+ if ($crl === false) {
+ $this->currentCert = false;
+ return false;
+ }
+
+ $asn1->loadOIDs($this->oids);
+ $decoded = $asn1->decodeBER($crl);
+
+ if (empty($decoded)) {
+ $this->currentCert = false;
+ return false;
+ }
+
+ $crl = $asn1->asn1map($decoded[0], $this->CertificateList);
+ if (!isset($crl) || $crl === false) {
+ $this->currentCert = false;
+ return false;
+ }
+
+ $this->signatureSubject = substr($orig, $decoded[0]['content'][0]['start'], $decoded[0]['content'][0]['length']);
+
+ $this->_mapInDNs($crl, 'tbsCertList/issuer/rdnSequence', $asn1);
+ if ($this->_isSubArrayValid($crl, 'tbsCertList/crlExtensions')) {
+ $this->_mapInExtensions($crl, 'tbsCertList/crlExtensions', $asn1);
+ }
+ if ($this->_isSubArrayValid($crl, 'tbsCertList/revokedCertificates')) {
+ $rclist_ref = &$this->_subArrayUnchecked($crl, 'tbsCertList/revokedCertificates');
+ if ($rclist_ref) {
+ $rclist = $crl['tbsCertList']['revokedCertificates'];
+ foreach ($rclist as $i => $extension) {
+ if ($this->_isSubArrayValid($rclist, "$i/crlEntryExtensions", $asn1)) {
+ $this->_mapInExtensions($rclist_ref, "$i/crlEntryExtensions", $asn1);
+ }
+ }
+ }
+ }
+
+ $this->currentKeyIdentifier = null;
+ $this->currentCert = $crl;
+
+ return $crl;
+ }
+
+ /**
+ * Save Certificate Revocation List.
+ *
+ * @param array $crl
+ * @param int $format optional
+ * @access public
+ * @return string
+ */
+ function saveCRL($crl, $format = self::FORMAT_PEM)
+ {
+ if (!is_array($crl) || !isset($crl['tbsCertList'])) {
+ return false;
+ }
+
+ $asn1 = new ASN1();
+
+ $asn1->loadOIDs($this->oids);
+
+ $filters = array();
+ $filters['tbsCertList']['issuer']['rdnSequence']['value']
+ = array('type' => ASN1::TYPE_UTF8_STRING);
+ $filters['tbsCertList']['signature']['parameters']
+ = array('type' => ASN1::TYPE_UTF8_STRING);
+ $filters['signatureAlgorithm']['parameters']
+ = array('type' => ASN1::TYPE_UTF8_STRING);
+
+ if (empty($crl['tbsCertList']['signature']['parameters'])) {
+ $filters['tbsCertList']['signature']['parameters']
+ = array('type' => ASN1::TYPE_NULL);
+ }
+
+ if (empty($crl['signatureAlgorithm']['parameters'])) {
+ $filters['signatureAlgorithm']['parameters']
+ = array('type' => ASN1::TYPE_NULL);
+ }
+
+ $asn1->loadFilters($filters);
+
+ $this->_mapOutDNs($crl, 'tbsCertList/issuer/rdnSequence', $asn1);
+ $this->_mapOutExtensions($crl, 'tbsCertList/crlExtensions', $asn1);
+ $rclist = &$this->_subArray($crl, 'tbsCertList/revokedCertificates');
+ if (is_array($rclist)) {
+ foreach ($rclist as $i => $extension) {
+ $this->_mapOutExtensions($rclist, "$i/crlEntryExtensions", $asn1);
+ }
+ }
+
+ $crl = $asn1->encodeDER($crl, $this->CertificateList);
+
+ switch ($format) {
+ case self::FORMAT_DER:
+ return $crl;
+ // case self::FORMAT_PEM:
+ default:
+ return "-----BEGIN X509 CRL-----\r\n" . chunk_split(base64_encode($crl), 64) . '-----END X509 CRL-----';
+ }
+ }
+
+ /**
+ * Helper function to build a time field according to RFC 3280 section
+ * - 4.1.2.5 Validity
+ * - 5.1.2.4 This Update
+ * - 5.1.2.5 Next Update
+ * - 5.1.2.6 Revoked Certificates
+ * by choosing utcTime iff year of date given is before 2050 and generalTime else.
+ *
+ * @param string $date in format date('D, d M Y H:i:s O')
+ * @access private
+ * @return array
+ */
+ function _timeField($date)
+ {
+ $year = @gmdate("Y", @strtotime($date)); // the same way ASN1.php parses this
+ if ($year < 2050) {
+ return array('utcTime' => $date);
+ } else {
+ return array('generalTime' => $date);
+ }
+ }
+
+ /**
+ * Sign an X.509 certificate
+ *
+ * $issuer's private key needs to be loaded.
+ * $subject can be either an existing X.509 cert (if you want to resign it),
+ * a CSR or something with the DN and public key explicitly set.
+ *
+ * @param \phpseclib\File\X509 $issuer
+ * @param \phpseclib\File\X509 $subject
+ * @param string $signatureAlgorithm optional
+ * @access public
+ * @return mixed
+ */
+ function sign($issuer, $subject, $signatureAlgorithm = 'sha1WithRSAEncryption')
+ {
+ if (!is_object($issuer->privateKey) || empty($issuer->dn)) {
+ return false;
+ }
+
+ if (isset($subject->publicKey) && !($subjectPublicKey = $subject->_formatSubjectPublicKey())) {
+ return false;
+ }
+
+ $currentCert = isset($this->currentCert) ? $this->currentCert : null;
+ $signatureSubject = isset($this->signatureSubject) ? $this->signatureSubject: null;
+
+ if (isset($subject->currentCert) && is_array($subject->currentCert) && isset($subject->currentCert['tbsCertificate'])) {
+ $this->currentCert = $subject->currentCert;
+ $this->currentCert['tbsCertificate']['signature']['algorithm'] = $signatureAlgorithm;
+ $this->currentCert['signatureAlgorithm']['algorithm'] = $signatureAlgorithm;
+
+ if (!empty($this->startDate)) {
+ $this->currentCert['tbsCertificate']['validity']['notBefore'] = $this->_timeField($this->startDate);
+ }
+ if (!empty($this->endDate)) {
+ $this->currentCert['tbsCertificate']['validity']['notAfter'] = $this->_timeField($this->endDate);
+ }
+ if (!empty($this->serialNumber)) {
+ $this->currentCert['tbsCertificate']['serialNumber'] = $this->serialNumber;
+ }
+ if (!empty($subject->dn)) {
+ $this->currentCert['tbsCertificate']['subject'] = $subject->dn;
+ }
+ if (!empty($subject->publicKey)) {
+ $this->currentCert['tbsCertificate']['subjectPublicKeyInfo'] = $subjectPublicKey;
+ }
+ $this->removeExtension('id-ce-authorityKeyIdentifier');
+ if (isset($subject->domains)) {
+ $this->removeExtension('id-ce-subjectAltName');
+ }
+ } elseif (isset($subject->currentCert) && is_array($subject->currentCert) && isset($subject->currentCert['tbsCertList'])) {
+ return false;
+ } else {
+ if (!isset($subject->publicKey)) {
+ return false;
+ }
+
+ $startDate = !empty($this->startDate) ? $this->startDate : @date('D, d M Y H:i:s O');
+ $endDate = !empty($this->endDate) ? $this->endDate : @date('D, d M Y H:i:s O', strtotime('+1 year'));
+ /* "The serial number MUST be a positive integer"
+ "Conforming CAs MUST NOT use serialNumber values longer than 20 octets."
+ -- https://tools.ietf.org/html/rfc5280#section-4.1.2.2
+
+ for the integer to be positive the leading bit needs to be 0 hence the
+ application of a bitmap
+ */
+ $serialNumber = !empty($this->serialNumber) ?
+ $this->serialNumber :
+ new BigInteger(Random::string(20) & ("\x7F" . str_repeat("\xFF", 19)), 256);
+
+ $this->currentCert = array(
+ 'tbsCertificate' =>
+ array(
+ 'version' => 'v3',
+ 'serialNumber' => $serialNumber, // $this->setserialNumber()
+ 'signature' => array('algorithm' => $signatureAlgorithm),
+ 'issuer' => false, // this is going to be overwritten later
+ 'validity' => array(
+ 'notBefore' => $this->_timeField($startDate), // $this->setStartDate()
+ 'notAfter' => $this->_timeField($endDate) // $this->setEndDate()
+ ),
+ 'subject' => $subject->dn,
+ 'subjectPublicKeyInfo' => $subjectPublicKey
+ ),
+ 'signatureAlgorithm' => array('algorithm' => $signatureAlgorithm),
+ 'signature' => false // this is going to be overwritten later
+ );
+
+ // Copy extensions from CSR.
+ $csrexts = $subject->getAttribute('pkcs-9-at-extensionRequest', 0);
+
+ if (!empty($csrexts)) {
+ $this->currentCert['tbsCertificate']['extensions'] = $csrexts;
+ }
+ }
+
+ $this->currentCert['tbsCertificate']['issuer'] = $issuer->dn;
+
+ if (isset($issuer->currentKeyIdentifier)) {
+ $this->setExtension('id-ce-authorityKeyIdentifier', array(
+ //'authorityCertIssuer' => array(
+ // array(
+ // 'directoryName' => $issuer->dn
+ // )
+ //),
+ 'keyIdentifier' => $issuer->currentKeyIdentifier
+ ));
+ //$extensions = &$this->currentCert['tbsCertificate']['extensions'];
+ //if (isset($issuer->serialNumber)) {
+ // $extensions[count($extensions) - 1]['authorityCertSerialNumber'] = $issuer->serialNumber;
+ //}
+ //unset($extensions);
+ }
+
+ if (isset($subject->currentKeyIdentifier)) {
+ $this->setExtension('id-ce-subjectKeyIdentifier', $subject->currentKeyIdentifier);
+ }
+
+ $altName = array();
+
+ if (isset($subject->domains) && count($subject->domains)) {
+ $altName = array_map(array('\phpseclib\File\X509', '_dnsName'), $subject->domains);
+ }
+
+ if (isset($subject->ipAddresses) && count($subject->ipAddresses)) {
+ // should an IP address appear as the CN if no domain name is specified? idk
+ //$ips = count($subject->domains) ? $subject->ipAddresses : array_slice($subject->ipAddresses, 1);
+ $ipAddresses = array();
+ foreach ($subject->ipAddresses as $ipAddress) {
+ $encoded = $subject->_ipAddress($ipAddress);
+ if ($encoded !== false) {
+ $ipAddresses[] = $encoded;
+ }
+ }
+ if (count($ipAddresses)) {
+ $altName = array_merge($altName, $ipAddresses);
+ }
+ }
+
+ if (!empty($altName)) {
+ $this->setExtension('id-ce-subjectAltName', $altName);
+ }
+
+ if ($this->caFlag) {
+ $keyUsage = $this->getExtension('id-ce-keyUsage');
+ if (!$keyUsage) {
+ $keyUsage = array();
+ }
+
+ $this->setExtension(
+ 'id-ce-keyUsage',
+ array_values(array_unique(array_merge($keyUsage, array('cRLSign', 'keyCertSign'))))
+ );
+
+ $basicConstraints = $this->getExtension('id-ce-basicConstraints');
+ if (!$basicConstraints) {
+ $basicConstraints = array();
+ }
+
+ $this->setExtension(
+ 'id-ce-basicConstraints',
+ array_unique(array_merge(array('cA' => true), $basicConstraints)),
+ true
+ );
+
+ if (!isset($subject->currentKeyIdentifier)) {
+ $this->setExtension('id-ce-subjectKeyIdentifier', base64_encode($this->computeKeyIdentifier($this->currentCert)), false, false);
+ }
+ }
+
+ // resync $this->signatureSubject
+ // save $tbsCertificate in case there are any \phpseclib\File\ASN1\Element objects in it
+ $tbsCertificate = $this->currentCert['tbsCertificate'];
+ $this->loadX509($this->saveX509($this->currentCert));
+
+ $result = $this->_sign($issuer->privateKey, $signatureAlgorithm);
+ $result['tbsCertificate'] = $tbsCertificate;
+
+ $this->currentCert = $currentCert;
+ $this->signatureSubject = $signatureSubject;
+
+ return $result;
+ }
+
+ /**
+ * Sign a CSR
+ *
+ * @access public
+ * @return mixed
+ */
+ function signCSR($signatureAlgorithm = 'sha1WithRSAEncryption')
+ {
+ if (!is_object($this->privateKey) || empty($this->dn)) {
+ return false;
+ }
+
+ $origPublicKey = $this->publicKey;
+ $class = get_class($this->privateKey);
+ $this->publicKey = new $class();
+ $this->publicKey->loadKey($this->privateKey->getPublicKey());
+ $this->publicKey->setPublicKey();
+ if (!($publicKey = $this->_formatSubjectPublicKey())) {
+ return false;
+ }
+ $this->publicKey = $origPublicKey;
+
+ $currentCert = isset($this->currentCert) ? $this->currentCert : null;
+ $signatureSubject = isset($this->signatureSubject) ? $this->signatureSubject: null;
+
+ if (isset($this->currentCert) && is_array($this->currentCert) && isset($this->currentCert['certificationRequestInfo'])) {
+ $this->currentCert['signatureAlgorithm']['algorithm'] = $signatureAlgorithm;
+ if (!empty($this->dn)) {
+ $this->currentCert['certificationRequestInfo']['subject'] = $this->dn;
+ }
+ $this->currentCert['certificationRequestInfo']['subjectPKInfo'] = $publicKey;
+ } else {
+ $this->currentCert = array(
+ 'certificationRequestInfo' =>
+ array(
+ 'version' => 'v1',
+ 'subject' => $this->dn,
+ 'subjectPKInfo' => $publicKey
+ ),
+ 'signatureAlgorithm' => array('algorithm' => $signatureAlgorithm),
+ 'signature' => false // this is going to be overwritten later
+ );
+ }
+
+ // resync $this->signatureSubject
+ // save $certificationRequestInfo in case there are any \phpseclib\File\ASN1\Element objects in it
+ $certificationRequestInfo = $this->currentCert['certificationRequestInfo'];
+ $this->loadCSR($this->saveCSR($this->currentCert));
+
+ $result = $this->_sign($this->privateKey, $signatureAlgorithm);
+ $result['certificationRequestInfo'] = $certificationRequestInfo;
+
+ $this->currentCert = $currentCert;
+ $this->signatureSubject = $signatureSubject;
+
+ return $result;
+ }
+
+ /**
+ * Sign a SPKAC
+ *
+ * @access public
+ * @return mixed
+ */
+ function signSPKAC($signatureAlgorithm = 'sha1WithRSAEncryption')
+ {
+ if (!is_object($this->privateKey)) {
+ return false;
+ }
+
+ $origPublicKey = $this->publicKey;
+ $class = get_class($this->privateKey);
+ $this->publicKey = new $class();
+ $this->publicKey->loadKey($this->privateKey->getPublicKey());
+ $this->publicKey->setPublicKey();
+ $publicKey = $this->_formatSubjectPublicKey();
+ if (!$publicKey) {
+ return false;
+ }
+ $this->publicKey = $origPublicKey;
+
+ $currentCert = isset($this->currentCert) ? $this->currentCert : null;
+ $signatureSubject = isset($this->signatureSubject) ? $this->signatureSubject: null;
+
+ // re-signing a SPKAC seems silly but since everything else supports re-signing why not?
+ if (isset($this->currentCert) && is_array($this->currentCert) && isset($this->currentCert['publicKeyAndChallenge'])) {
+ $this->currentCert['signatureAlgorithm']['algorithm'] = $signatureAlgorithm;
+ $this->currentCert['publicKeyAndChallenge']['spki'] = $publicKey;
+ if (!empty($this->challenge)) {
+ // the bitwise AND ensures that the output is a valid IA5String
+ $this->currentCert['publicKeyAndChallenge']['challenge'] = $this->challenge & str_repeat("\x7F", strlen($this->challenge));
+ }
+ } else {
+ $this->currentCert = array(
+ 'publicKeyAndChallenge' =>
+ array(
+ 'spki' => $publicKey,
+ // quoting <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen>,
+ // "A challenge string that is submitted along with the public key. Defaults to an empty string if not specified."
+ // both Firefox and OpenSSL ("openssl spkac -key private.key") behave this way
+ // we could alternatively do this instead if we ignored the specs:
+ // Random::string(8) & str_repeat("\x7F", 8)
+ 'challenge' => !empty($this->challenge) ? $this->challenge : ''
+ ),
+ 'signatureAlgorithm' => array('algorithm' => $signatureAlgorithm),
+ 'signature' => false // this is going to be overwritten later
+ );
+ }
+
+ // resync $this->signatureSubject
+ // save $publicKeyAndChallenge in case there are any \phpseclib\File\ASN1\Element objects in it
+ $publicKeyAndChallenge = $this->currentCert['publicKeyAndChallenge'];
+ $this->loadSPKAC($this->saveSPKAC($this->currentCert));
+
+ $result = $this->_sign($this->privateKey, $signatureAlgorithm);
+ $result['publicKeyAndChallenge'] = $publicKeyAndChallenge;
+
+ $this->currentCert = $currentCert;
+ $this->signatureSubject = $signatureSubject;
+
+ return $result;
+ }
+
+ /**
+ * Sign a CRL
+ *
+ * $issuer's private key needs to be loaded.
+ *
+ * @param \phpseclib\File\X509 $issuer
+ * @param \phpseclib\File\X509 $crl
+ * @param string $signatureAlgorithm optional
+ * @access public
+ * @return mixed
+ */
+ function signCRL($issuer, $crl, $signatureAlgorithm = 'sha1WithRSAEncryption')
+ {
+ if (!is_object($issuer->privateKey) || empty($issuer->dn)) {
+ return false;
+ }
+
+ $currentCert = isset($this->currentCert) ? $this->currentCert : null;
+ $signatureSubject = isset($this->signatureSubject) ? $this->signatureSubject : null;
+ $thisUpdate = !empty($this->startDate) ? $this->startDate : @date('D, d M Y H:i:s O');
+
+ if (isset($crl->currentCert) && is_array($crl->currentCert) && isset($crl->currentCert['tbsCertList'])) {
+ $this->currentCert = $crl->currentCert;
+ $this->currentCert['tbsCertList']['signature']['algorithm'] = $signatureAlgorithm;
+ $this->currentCert['signatureAlgorithm']['algorithm'] = $signatureAlgorithm;
+ } else {
+ $this->currentCert = array(
+ 'tbsCertList' =>
+ array(
+ 'version' => 'v2',
+ 'signature' => array('algorithm' => $signatureAlgorithm),
+ 'issuer' => false, // this is going to be overwritten later
+ 'thisUpdate' => $this->_timeField($thisUpdate) // $this->setStartDate()
+ ),
+ 'signatureAlgorithm' => array('algorithm' => $signatureAlgorithm),
+ 'signature' => false // this is going to be overwritten later
+ );
+ }
+
+ $tbsCertList = &$this->currentCert['tbsCertList'];
+ $tbsCertList['issuer'] = $issuer->dn;
+ $tbsCertList['thisUpdate'] = $this->_timeField($thisUpdate);
+
+ if (!empty($this->endDate)) {
+ $tbsCertList['nextUpdate'] = $this->_timeField($this->endDate); // $this->setEndDate()
+ } else {
+ unset($tbsCertList['nextUpdate']);
+ }
+
+ if (!empty($this->serialNumber)) {
+ $crlNumber = $this->serialNumber;
+ } else {
+ $crlNumber = $this->getExtension('id-ce-cRLNumber');
+ // "The CRL number is a non-critical CRL extension that conveys a
+ // monotonically increasing sequence number for a given CRL scope and
+ // CRL issuer. This extension allows users to easily determine when a
+ // particular CRL supersedes another CRL."
+ // -- https://tools.ietf.org/html/rfc5280#section-5.2.3
+ $crlNumber = $crlNumber !== false ? $crlNumber->add(new BigInteger(1)) : null;
+ }
+
+ $this->removeExtension('id-ce-authorityKeyIdentifier');
+ $this->removeExtension('id-ce-issuerAltName');
+
+ // Be sure version >= v2 if some extension found.
+ $version = isset($tbsCertList['version']) ? $tbsCertList['version'] : 0;
+ if (!$version) {
+ if (!empty($tbsCertList['crlExtensions'])) {
+ $version = 1; // v2.
+ } elseif (!empty($tbsCertList['revokedCertificates'])) {
+ foreach ($tbsCertList['revokedCertificates'] as $cert) {
+ if (!empty($cert['crlEntryExtensions'])) {
+ $version = 1; // v2.
+ }
+ }
+ }
+
+ if ($version) {
+ $tbsCertList['version'] = $version;
+ }
+ }
+
+ // Store additional extensions.
+ if (!empty($tbsCertList['version'])) { // At least v2.
+ if (!empty($crlNumber)) {
+ $this->setExtension('id-ce-cRLNumber', $crlNumber);
+ }
+
+ if (isset($issuer->currentKeyIdentifier)) {
+ $this->setExtension('id-ce-authorityKeyIdentifier', array(
+ //'authorityCertIssuer' => array(
+ // array(
+ // 'directoryName' => $issuer->dn
+ // )
+ //),
+ 'keyIdentifier' => $issuer->currentKeyIdentifier
+ ));
+ //$extensions = &$tbsCertList['crlExtensions'];
+ //if (isset($issuer->serialNumber)) {
+ // $extensions[count($extensions) - 1]['authorityCertSerialNumber'] = $issuer->serialNumber;
+ //}
+ //unset($extensions);
+ }
+
+ $issuerAltName = $this->getExtension('id-ce-subjectAltName', $issuer->currentCert);
+
+ if ($issuerAltName !== false) {
+ $this->setExtension('id-ce-issuerAltName', $issuerAltName);
+ }
+ }
+
+ if (empty($tbsCertList['revokedCertificates'])) {
+ unset($tbsCertList['revokedCertificates']);
+ }
+
+ unset($tbsCertList);
+
+ // resync $this->signatureSubject
+ // save $tbsCertList in case there are any \phpseclib\File\ASN1\Element objects in it
+ $tbsCertList = $this->currentCert['tbsCertList'];
+ $this->loadCRL($this->saveCRL($this->currentCert));
+
+ $result = $this->_sign($issuer->privateKey, $signatureAlgorithm);
+ $result['tbsCertList'] = $tbsCertList;
+
+ $this->currentCert = $currentCert;
+ $this->signatureSubject = $signatureSubject;
+
+ return $result;
+ }
+
+ /**
+ * X.509 certificate signing helper function.
+ *
+ * @param object $key
+ * @param \phpseclib\File\X509 $subject
+ * @param string $signatureAlgorithm
+ * @access public
+ * @return mixed
+ */
+ function _sign($key, $signatureAlgorithm)
+ {
+ if ($key instanceof RSA) {
+ switch ($signatureAlgorithm) {
+ case 'md2WithRSAEncryption':
+ case 'md5WithRSAEncryption':
+ case 'sha1WithRSAEncryption':
+ case 'sha224WithRSAEncryption':
+ case 'sha256WithRSAEncryption':
+ case 'sha384WithRSAEncryption':
+ case 'sha512WithRSAEncryption':
+ $key->setHash(preg_replace('#WithRSAEncryption$#', '', $signatureAlgorithm));
+ $key->setSignatureMode(RSA::SIGNATURE_PKCS1);
+
+ $this->currentCert['signature'] = base64_encode("\0" . $key->sign($this->signatureSubject));
+ return $this->currentCert;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Set certificate start date
+ *
+ * @param string $date
+ * @access public
+ */
+ function setStartDate($date)
+ {
+ $this->startDate = @date('D, d M Y H:i:s O', @strtotime($date));
+ }
+
+ /**
+ * Set certificate end date
+ *
+ * @param string $date
+ * @access public
+ */
+ function setEndDate($date)
+ {
+ /*
+ To indicate that a certificate has no well-defined expiration date,
+ the notAfter SHOULD be assigned the GeneralizedTime value of
+ 99991231235959Z.
+
+ -- http://tools.ietf.org/html/rfc5280#section-4.1.2.5
+ */
+ if (strtolower($date) == 'lifetime') {
+ $temp = '99991231235959Z';
+ $asn1 = new ASN1();
+ $temp = chr(ASN1::TYPE_GENERALIZED_TIME) . $asn1->_encodeLength(strlen($temp)) . $temp;
+ $this->endDate = new Element($temp);
+ } else {
+ $this->endDate = @date('D, d M Y H:i:s O', @strtotime($date));
+ }
+ }
+
+ /**
+ * Set Serial Number
+ *
+ * @param string $serial
+ * @param $base optional
+ * @access public
+ */
+ function setSerialNumber($serial, $base = -256)
+ {
+ $this->serialNumber = new BigInteger($serial, $base);
+ }
+
+ /**
+ * Turns the certificate into a certificate authority
+ *
+ * @access public
+ */
+ function makeCA()
+ {
+ $this->caFlag = true;
+ }
+
+ /**
+ * Check for validity of subarray
+ *
+ * This is intended for use in conjunction with _subArrayUnchecked(),
+ * implementing the checks included in _subArray() but without copying
+ * a potentially large array by passing its reference by-value to is_array().
+ *
+ * @param array $root
+ * @param string $path
+ * @return boolean
+ * @access private
+ */
+ function _isSubArrayValid($root, $path)
+ {
+ if (!is_array($root)) {
+ return false;
+ }
+
+ foreach (explode('/', $path) as $i) {
+ if (!is_array($root)) {
+ return false;
+ }
+
+ if (!isset($root[$i])) {
+ return true;
+ }
+
+ $root = $root[$i];
+ }
+
+ return true;
+ }
+
+ /**
+ * Get a reference to a subarray
+ *
+ * This variant of _subArray() does no is_array() checking,
+ * so $root should be checked with _isSubArrayValid() first.
+ *
+ * This is here for performance reasons:
+ * Passing a reference (i.e. $root) by-value (i.e. to is_array())
+ * creates a copy. If $root is an especially large array, this is expensive.
+ *
+ * @param array $root
+ * @param string $path absolute path with / as component separator
+ * @param bool $create optional
+ * @access private
+ * @return array|false
+ */
+ function &_subArrayUnchecked(&$root, $path, $create = false)
+ {
+ $false = false;
+
+ foreach (explode('/', $path) as $i) {
+ if (!isset($root[$i])) {
+ if (!$create) {
+ return $false;
+ }
+
+ $root[$i] = array();
+ }
+
+ $root = &$root[$i];
+ }
+
+ return $root;
+ }
+
+ /**
+ * Get a reference to a subarray
+ *
+ * @param array $root
+ * @param string $path absolute path with / as component separator
+ * @param bool $create optional
+ * @access private
+ * @return array|false
+ */
+ function &_subArray(&$root, $path, $create = false)
+ {
+ $false = false;
+
+ if (!is_array($root)) {
+ return $false;
+ }
+
+ foreach (explode('/', $path) as $i) {
+ if (!is_array($root)) {
+ return $false;
+ }
+
+ if (!isset($root[$i])) {
+ if (!$create) {
+ return $false;
+ }
+
+ $root[$i] = array();
+ }
+
+ $root = &$root[$i];
+ }
+
+ return $root;
+ }
+
+ /**
+ * Get a reference to an extension subarray
+ *
+ * @param array $root
+ * @param string $path optional absolute path with / as component separator
+ * @param bool $create optional
+ * @access private
+ * @return array|false
+ */
+ function &_extensions(&$root, $path = null, $create = false)
+ {
+ if (!isset($root)) {
+ $root = $this->currentCert;
+ }
+
+ switch (true) {
+ case !empty($path):
+ case !is_array($root):
+ break;
+ case isset($root['tbsCertificate']):
+ $path = 'tbsCertificate/extensions';
+ break;
+ case isset($root['tbsCertList']):
+ $path = 'tbsCertList/crlExtensions';
+ break;
+ case isset($root['certificationRequestInfo']):
+ $pth = 'certificationRequestInfo/attributes';
+ $attributes = &$this->_subArray($root, $pth, $create);
+
+ if (is_array($attributes)) {
+ foreach ($attributes as $key => $value) {
+ if ($value['type'] == 'pkcs-9-at-extensionRequest') {
+ $path = "$pth/$key/value/0";
+ break 2;
+ }
+ }
+ if ($create) {
+ $key = count($attributes);
+ $attributes[] = array('type' => 'pkcs-9-at-extensionRequest', 'value' => array());
+ $path = "$pth/$key/value/0";
+ }
+ }
+ break;
+ }
+
+ $extensions = &$this->_subArray($root, $path, $create);
+
+ if (!is_array($extensions)) {
+ $false = false;
+ return $false;
+ }
+
+ return $extensions;
+ }
+
+ /**
+ * Remove an Extension
+ *
+ * @param string $id
+ * @param string $path optional
+ * @access private
+ * @return bool
+ */
+ function _removeExtension($id, $path = null)
+ {
+ $extensions = &$this->_extensions($this->currentCert, $path);
+
+ if (!is_array($extensions)) {
+ return false;
+ }
+
+ $result = false;
+ foreach ($extensions as $key => $value) {
+ if ($value['extnId'] == $id) {
+ unset($extensions[$key]);
+ $result = true;
+ }
+ }
+
+ $extensions = array_values($extensions);
+ return $result;
+ }
+
+ /**
+ * Get an Extension
+ *
+ * Returns the extension if it exists and false if not
+ *
+ * @param string $id
+ * @param array $cert optional
+ * @param string $path optional
+ * @access private
+ * @return mixed
+ */
+ function _getExtension($id, $cert = null, $path = null)
+ {
+ $extensions = $this->_extensions($cert, $path);
+
+ if (!is_array($extensions)) {
+ return false;
+ }
+
+ foreach ($extensions as $key => $value) {
+ if ($value['extnId'] == $id) {
+ return $value['extnValue'];
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Returns a list of all extensions in use
+ *
+ * @param array $cert optional
+ * @param string $path optional
+ * @access private
+ * @return array
+ */
+ function _getExtensions($cert = null, $path = null)
+ {
+ $exts = $this->_extensions($cert, $path);
+ $extensions = array();
+
+ if (is_array($exts)) {
+ foreach ($exts as $extension) {
+ $extensions[] = $extension['extnId'];
+ }
+ }
+
+ return $extensions;
+ }
+
+ /**
+ * Set an Extension
+ *
+ * @param string $id
+ * @param mixed $value
+ * @param bool $critical optional
+ * @param bool $replace optional
+ * @param string $path optional
+ * @access private
+ * @return bool
+ */
+ function _setExtension($id, $value, $critical = false, $replace = true, $path = null)
+ {
+ $extensions = &$this->_extensions($this->currentCert, $path, true);
+
+ if (!is_array($extensions)) {
+ return false;
+ }
+
+ $newext = array('extnId' => $id, 'critical' => $critical, 'extnValue' => $value);
+
+ foreach ($extensions as $key => $value) {
+ if ($value['extnId'] == $id) {
+ if (!$replace) {
+ return false;
+ }
+
+ $extensions[$key] = $newext;
+ return true;
+ }
+ }
+
+ $extensions[] = $newext;
+ return true;
+ }
+
+ /**
+ * Remove a certificate, CSR or CRL Extension
+ *
+ * @param string $id
+ * @access public
+ * @return bool
+ */
+ function removeExtension($id)
+ {
+ return $this->_removeExtension($id);
+ }
+
+ /**
+ * Get a certificate, CSR or CRL Extension
+ *
+ * Returns the extension if it exists and false if not
+ *
+ * @param string $id
+ * @param array $cert optional
+ * @access public
+ * @return mixed
+ */
+ function getExtension($id, $cert = null)
+ {
+ return $this->_getExtension($id, $cert);
+ }
+
+ /**
+ * Returns a list of all extensions in use in certificate, CSR or CRL
+ *
+ * @param array $cert optional
+ * @access public
+ * @return array
+ */
+ function getExtensions($cert = null)
+ {
+ return $this->_getExtensions($cert);
+ }
+
+ /**
+ * Set a certificate, CSR or CRL Extension
+ *
+ * @param string $id
+ * @param mixed $value
+ * @param bool $critical optional
+ * @param bool $replace optional
+ * @access public
+ * @return bool
+ */
+ function setExtension($id, $value, $critical = false, $replace = true)
+ {
+ return $this->_setExtension($id, $value, $critical, $replace);
+ }
+
+ /**
+ * Remove a CSR attribute.
+ *
+ * @param string $id
+ * @param int $disposition optional
+ * @access public
+ * @return bool
+ */
+ function removeAttribute($id, $disposition = self::ATTR_ALL)
+ {
+ $attributes = &$this->_subArray($this->currentCert, 'certificationRequestInfo/attributes');
+
+ if (!is_array($attributes)) {
+ return false;
+ }
+
+ $result = false;
+ foreach ($attributes as $key => $attribute) {
+ if ($attribute['type'] == $id) {
+ $n = count($attribute['value']);
+ switch (true) {
+ case $disposition == self::ATTR_APPEND:
+ case $disposition == self::ATTR_REPLACE:
+ return false;
+ case $disposition >= $n:
+ $disposition -= $n;
+ break;
+ case $disposition == self::ATTR_ALL:
+ case $n == 1:
+ unset($attributes[$key]);
+ $result = true;
+ break;
+ default:
+ unset($attributes[$key]['value'][$disposition]);
+ $attributes[$key]['value'] = array_values($attributes[$key]['value']);
+ $result = true;
+ break;
+ }
+ if ($result && $disposition != self::ATTR_ALL) {
+ break;
+ }
+ }
+ }
+
+ $attributes = array_values($attributes);
+ return $result;
+ }
+
+ /**
+ * Get a CSR attribute
+ *
+ * Returns the attribute if it exists and false if not
+ *
+ * @param string $id
+ * @param int $disposition optional
+ * @param array $csr optional
+ * @access public
+ * @return mixed
+ */
+ function getAttribute($id, $disposition = self::ATTR_ALL, $csr = null)
+ {
+ if (empty($csr)) {
+ $csr = $this->currentCert;
+ }
+
+ $attributes = $this->_subArray($csr, 'certificationRequestInfo/attributes');
+
+ if (!is_array($attributes)) {
+ return false;
+ }
+
+ foreach ($attributes as $key => $attribute) {
+ if ($attribute['type'] == $id) {
+ $n = count($attribute['value']);
+ switch (true) {
+ case $disposition == self::ATTR_APPEND:
+ case $disposition == self::ATTR_REPLACE:
+ return false;
+ case $disposition == self::ATTR_ALL:
+ return $attribute['value'];
+ case $disposition >= $n:
+ $disposition -= $n;
+ break;
+ default:
+ return $attribute['value'][$disposition];
+ }
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Returns a list of all CSR attributes in use
+ *
+ * @param array $csr optional
+ * @access public
+ * @return array
+ */
+ function getAttributes($csr = null)
+ {
+ if (empty($csr)) {
+ $csr = $this->currentCert;
+ }
+
+ $attributes = $this->_subArray($csr, 'certificationRequestInfo/attributes');
+ $attrs = array();
+
+ if (is_array($attributes)) {
+ foreach ($attributes as $attribute) {
+ $attrs[] = $attribute['type'];
+ }
+ }
+
+ return $attrs;
+ }
+
+ /**
+ * Set a CSR attribute
+ *
+ * @param string $id
+ * @param mixed $value
+ * @param bool $disposition optional
+ * @access public
+ * @return bool
+ */
+ function setAttribute($id, $value, $disposition = self::ATTR_ALL)
+ {
+ $attributes = &$this->_subArray($this->currentCert, 'certificationRequestInfo/attributes', true);
+
+ if (!is_array($attributes)) {
+ return false;
+ }
+
+ switch ($disposition) {
+ case self::ATTR_REPLACE:
+ $disposition = self::ATTR_APPEND;
+ case self::ATTR_ALL:
+ $this->removeAttribute($id);
+ break;
+ }
+
+ foreach ($attributes as $key => $attribute) {
+ if ($attribute['type'] == $id) {
+ $n = count($attribute['value']);
+ switch (true) {
+ case $disposition == self::ATTR_APPEND:
+ $last = $key;
+ break;
+ case $disposition >= $n:
+ $disposition -= $n;
+ break;
+ default:
+ $attributes[$key]['value'][$disposition] = $value;
+ return true;
+ }
+ }
+ }
+
+ switch (true) {
+ case $disposition >= 0:
+ return false;
+ case isset($last):
+ $attributes[$last]['value'][] = $value;
+ break;
+ default:
+ $attributes[] = array('type' => $id, 'value' => $disposition == self::ATTR_ALL ? $value: array($value));
+ break;
+ }
+
+ return true;
+ }
+
+ /**
+ * Sets the subject key identifier
+ *
+ * This is used by the id-ce-authorityKeyIdentifier and the id-ce-subjectKeyIdentifier extensions.
+ *
+ * @param string $value
+ * @access public
+ */
+ function setKeyIdentifier($value)
+ {
+ if (empty($value)) {
+ unset($this->currentKeyIdentifier);
+ } else {
+ $this->currentKeyIdentifier = base64_encode($value);
+ }
+ }
+
+ /**
+ * Compute a public key identifier.
+ *
+ * Although key identifiers may be set to any unique value, this function
+ * computes key identifiers from public key according to the two
+ * recommended methods (4.2.1.2 RFC 3280).
+ * Highly polymorphic: try to accept all possible forms of key:
+ * - Key object
+ * - \phpseclib\File\X509 object with public or private key defined
+ * - Certificate or CSR array
+ * - \phpseclib\File\ASN1\Element object
+ * - PEM or DER string
+ *
+ * @param mixed $key optional
+ * @param int $method optional
+ * @access public
+ * @return string binary key identifier
+ */
+ function computeKeyIdentifier($key = null, $method = 1)
+ {
+ if (is_null($key)) {
+ $key = $this;
+ }
+
+ switch (true) {
+ case is_string($key):
+ break;
+ case is_array($key) && isset($key['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey']):
+ return $this->computeKeyIdentifier($key['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey'], $method);
+ case is_array($key) && isset($key['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey']):
+ return $this->computeKeyIdentifier($key['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey'], $method);
+ case !is_object($key):
+ return false;
+ case $key instanceof Element:
+ // Assume the element is a bitstring-packed key.
+ $asn1 = new ASN1();
+ $decoded = $asn1->decodeBER($key->element);
+ if (empty($decoded)) {
+ return false;
+ }
+ $raw = $asn1->asn1map($decoded[0], array('type' => ASN1::TYPE_BIT_STRING));
+ if (empty($raw)) {
+ return false;
+ }
+ $raw = base64_decode($raw);
+ // If the key is private, compute identifier from its corresponding public key.
+ $key = new RSA();
+ if (!$key->loadKey($raw)) {
+ return false; // Not an unencrypted RSA key.
+ }
+ if ($key->getPrivateKey() !== false) { // If private.
+ return $this->computeKeyIdentifier($key, $method);
+ }
+ $key = $raw; // Is a public key.
+ break;
+ case $key instanceof X509:
+ if (isset($key->publicKey)) {
+ return $this->computeKeyIdentifier($key->publicKey, $method);
+ }
+ if (isset($key->privateKey)) {
+ return $this->computeKeyIdentifier($key->privateKey, $method);
+ }
+ if (isset($key->currentCert['tbsCertificate']) || isset($key->currentCert['certificationRequestInfo'])) {
+ return $this->computeKeyIdentifier($key->currentCert, $method);
+ }
+ return false;
+ default: // Should be a key object (i.e.: \phpseclib\Crypt\RSA).
+ $key = $key->getPublicKey(RSA::PUBLIC_FORMAT_PKCS1);
+ break;
+ }
+
+ // If in PEM format, convert to binary.
+ $key = $this->_extractBER($key);
+
+ // Now we have the key string: compute its sha-1 sum.
+ $hash = new Hash('sha1');
+ $hash = $hash->hash($key);
+
+ if ($method == 2) {
+ $hash = substr($hash, -8);
+ $hash[0] = chr((ord($hash[0]) & 0x0F) | 0x40);
+ }
+
+ return $hash;
+ }
+
+ /**
+ * Format a public key as appropriate
+ *
+ * @access private
+ * @return array
+ */
+ function _formatSubjectPublicKey()
+ {
+ if ($this->publicKey instanceof RSA) {
+ // the following two return statements do the same thing. i dunno.. i just prefer the later for some reason.
+ // the former is a good example of how to do fuzzing on the public key
+ //return new Element(base64_decode(preg_replace('#-.+-|[\r\n]#', '', $this->publicKey->getPublicKey())));
+ return array(
+ 'algorithm' => array('algorithm' => 'rsaEncryption'),
+ 'subjectPublicKey' => $this->publicKey->getPublicKey(RSA::PUBLIC_FORMAT_PKCS1)
+ );
+ }
+
+ return false;
+ }
+
+ /**
+ * Set the domain name's which the cert is to be valid for
+ *
+ * @access public
+ * @return array
+ */
+ function setDomain()
+ {
+ $this->domains = func_get_args();
+ $this->removeDNProp('id-at-commonName');
+ $this->setDNProp('id-at-commonName', $this->domains[0]);
+ }
+
+ /**
+ * Set the IP Addresses's which the cert is to be valid for
+ *
+ * @access public
+ * @param string $ipAddress optional
+ */
+ function setIPAddress()
+ {
+ $this->ipAddresses = func_get_args();
+ /*
+ if (!isset($this->domains)) {
+ $this->removeDNProp('id-at-commonName');
+ $this->setDNProp('id-at-commonName', $this->ipAddresses[0]);
+ }
+ */
+ }
+
+ /**
+ * Helper function to build domain array
+ *
+ * @access private
+ * @param string $domain
+ * @return array
+ */
+ function _dnsName($domain)
+ {
+ return array('dNSName' => $domain);
+ }
+
+ /**
+ * Helper function to build IP Address array
+ *
+ * (IPv6 is not currently supported)
+ *
+ * @access private
+ * @param string $address
+ * @return array
+ */
+ function _iPAddress($address)
+ {
+ return array('iPAddress' => $address);
+ }
+
+ /**
+ * Get the index of a revoked certificate.
+ *
+ * @param array $rclist
+ * @param string $serial
+ * @param bool $create optional
+ * @access private
+ * @return int|false
+ */
+ function _revokedCertificate(&$rclist, $serial, $create = false)
+ {
+ $serial = new BigInteger($serial);
+
+ foreach ($rclist as $i => $rc) {
+ if (!($serial->compare($rc['userCertificate']))) {
+ return $i;
+ }
+ }
+
+ if (!$create) {
+ return false;
+ }
+
+ $i = count($rclist);
+ $rclist[] = array('userCertificate' => $serial,
+ 'revocationDate' => $this->_timeField(@date('D, d M Y H:i:s O')));
+ return $i;
+ }
+
+ /**
+ * Revoke a certificate.
+ *
+ * @param string $serial
+ * @param string $date optional
+ * @access public
+ * @return bool
+ */
+ function revoke($serial, $date = null)
+ {
+ if (isset($this->currentCert['tbsCertList'])) {
+ if (is_array($rclist = &$this->_subArray($this->currentCert, 'tbsCertList/revokedCertificates', true))) {
+ if ($this->_revokedCertificate($rclist, $serial) === false) { // If not yet revoked
+ if (($i = $this->_revokedCertificate($rclist, $serial, true)) !== false) {
+ if (!empty($date)) {
+ $rclist[$i]['revocationDate'] = $this->_timeField($date);
+ }
+
+ return true;
+ }
+ }
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Unrevoke a certificate.
+ *
+ * @param string $serial
+ * @access public
+ * @return bool
+ */
+ function unrevoke($serial)
+ {
+ if (is_array($rclist = &$this->_subArray($this->currentCert, 'tbsCertList/revokedCertificates'))) {
+ if (($i = $this->_revokedCertificate($rclist, $serial)) !== false) {
+ unset($rclist[$i]);
+ $rclist = array_values($rclist);
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Get a revoked certificate.
+ *
+ * @param string $serial
+ * @access public
+ * @return mixed
+ */
+ function getRevoked($serial)
+ {
+ if (is_array($rclist = $this->_subArray($this->currentCert, 'tbsCertList/revokedCertificates'))) {
+ if (($i = $this->_revokedCertificate($rclist, $serial)) !== false) {
+ return $rclist[$i];
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * List revoked certificates
+ *
+ * @param array $crl optional
+ * @access public
+ * @return array
+ */
+ function listRevoked($crl = null)
+ {
+ if (!isset($crl)) {
+ $crl = $this->currentCert;
+ }
+
+ if (!isset($crl['tbsCertList'])) {
+ return false;
+ }
+
+ $result = array();
+
+ if (is_array($rclist = $this->_subArray($crl, 'tbsCertList/revokedCertificates'))) {
+ foreach ($rclist as $rc) {
+ $result[] = $rc['userCertificate']->toString();
+ }
+ }
+
+ return $result;
+ }
+
+ /**
+ * Remove a Revoked Certificate Extension
+ *
+ * @param string $serial
+ * @param string $id
+ * @access public
+ * @return bool
+ */
+ function removeRevokedCertificateExtension($serial, $id)
+ {
+ if (is_array($rclist = &$this->_subArray($this->currentCert, 'tbsCertList/revokedCertificates'))) {
+ if (($i = $this->_revokedCertificate($rclist, $serial)) !== false) {
+ return $this->_removeExtension($id, "tbsCertList/revokedCertificates/$i/crlEntryExtensions");
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Get a Revoked Certificate Extension
+ *
+ * Returns the extension if it exists and false if not
+ *
+ * @param string $serial
+ * @param string $id
+ * @param array $crl optional
+ * @access public
+ * @return mixed
+ */
+ function getRevokedCertificateExtension($serial, $id, $crl = null)
+ {
+ if (!isset($crl)) {
+ $crl = $this->currentCert;
+ }
+
+ if (is_array($rclist = $this->_subArray($crl, 'tbsCertList/revokedCertificates'))) {
+ if (($i = $this->_revokedCertificate($rclist, $serial)) !== false) {
+ return $this->_getExtension($id, $crl, "tbsCertList/revokedCertificates/$i/crlEntryExtensions");
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Returns a list of all extensions in use for a given revoked certificate
+ *
+ * @param string $serial
+ * @param array $crl optional
+ * @access public
+ * @return array
+ */
+ function getRevokedCertificateExtensions($serial, $crl = null)
+ {
+ if (!isset($crl)) {
+ $crl = $this->currentCert;
+ }
+
+ if (is_array($rclist = $this->_subArray($crl, 'tbsCertList/revokedCertificates'))) {
+ if (($i = $this->_revokedCertificate($rclist, $serial)) !== false) {
+ return $this->_getExtensions($crl, "tbsCertList/revokedCertificates/$i/crlEntryExtensions");
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Set a Revoked Certificate Extension
+ *
+ * @param string $serial
+ * @param string $id
+ * @param mixed $value
+ * @param bool $critical optional
+ * @param bool $replace optional
+ * @access public
+ * @return bool
+ */
+ function setRevokedCertificateExtension($serial, $id, $value, $critical = false, $replace = true)
+ {
+ if (isset($this->currentCert['tbsCertList'])) {
+ if (is_array($rclist = &$this->_subArray($this->currentCert, 'tbsCertList/revokedCertificates', true))) {
+ if (($i = $this->_revokedCertificate($rclist, $serial, true)) !== false) {
+ return $this->_setExtension($id, $value, $critical, $replace, "tbsCertList/revokedCertificates/$i/crlEntryExtensions");
+ }
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Extract raw BER from Base64 encoding
+ *
+ * @access private
+ * @param string $str
+ * @return string
+ */
+ function _extractBER($str)
+ {
+ /* X.509 certs are assumed to be base64 encoded but sometimes they'll have additional things in them
+ * above and beyond the ceritificate.
+ * ie. some may have the following preceding the -----BEGIN CERTIFICATE----- line:
+ *
+ * Bag Attributes
+ * localKeyID: 01 00 00 00
+ * subject=/O=organization/OU=org unit/CN=common name
+ * issuer=/O=organization/CN=common name
+ */
+ $temp = preg_replace('#.*?^-+[^-]+-+[\r\n ]*$#ms', '', $str, 1);
+ // remove the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- stuff
+ $temp = preg_replace('#-+[^-]+-+#', '', $temp);
+ // remove new lines
+ $temp = str_replace(array("\r", "\n", ' '), '', $temp);
+ $temp = preg_match('#^[a-zA-Z\d/+]*={0,2}$#', $temp) ? base64_decode($temp) : false;
+ return $temp != false ? $temp : $str;
+ }
+
+ /**
+ * Returns the OID corresponding to a name
+ *
+ * What's returned in the associative array returned by loadX509() (or load*()) is either a name or an OID if
+ * no OID to name mapping is available. The problem with this is that what may be an unmapped OID in one version
+ * of phpseclib may not be unmapped in the next version, so apps that are looking at this OID may not be able
+ * to work from version to version.
+ *
+ * This method will return the OID if a name is passed to it and if no mapping is avialable it'll assume that
+ * what's being passed to it already is an OID and return that instead. A few examples.
+ *
+ * getOID('2.16.840.1.101.3.4.2.1') == '2.16.840.1.101.3.4.2.1'
+ * getOID('id-sha256') == '2.16.840.1.101.3.4.2.1'
+ * getOID('zzz') == 'zzz'
+ *
+ * @access public
+ * @return string
+ */
+ function getOID($name)
+ {
+ static $reverseMap;
+ if (!isset($reverseMap)) {
+ $reverseMap = array_flip($this->oids);
+ }
+ return isset($reverseMap[$name]) ? $reverseMap[$name] : $name;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Math/BigInteger.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Math/BigInteger.php
new file mode 100644
index 00000000..4b13d7c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Math/BigInteger.php
@@ -0,0 +1,3755 @@
+<?php
+
+/**
+ * Pure-PHP arbitrary precision integer arithmetic library.
+ *
+ * Supports base-2, base-10, base-16, and base-256 numbers. Uses the GMP or BCMath extensions, if available,
+ * and an internal implementation, otherwise.
+ *
+ * PHP version 5
+ *
+ * {@internal (all DocBlock comments regarding implementation - such as the one that follows - refer to the
+ * {@link self::MODE_INTERNAL self::MODE_INTERNAL} mode)
+ *
+ * BigInteger uses base-2**26 to perform operations such as multiplication and division and
+ * base-2**52 (ie. two base 2**26 digits) to perform addition and subtraction. Because the largest possible
+ * value when multiplying two base-2**26 numbers together is a base-2**52 number, double precision floating
+ * point numbers - numbers that should be supported on most hardware and whose significand is 53 bits - are
+ * used. As a consequence, bitwise operators such as >> and << cannot be used, nor can the modulo operator %,
+ * which only supports integers. Although this fact will slow this library down, the fact that such a high
+ * base is being used should more than compensate.
+ *
+ * Numbers are stored in {@link http://en.wikipedia.org/wiki/Endianness little endian} format. ie.
+ * (new \phpseclib\Math\BigInteger(pow(2, 26)))->value = array(0, 1)
+ *
+ * Useful resources are as follows:
+ *
+ * - {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf Handbook of Applied Cryptography (HAC)}
+ * - {@link http://math.libtomcrypt.com/files/tommath.pdf Multi-Precision Math (MPM)}
+ * - Java's BigInteger classes. See /j2se/src/share/classes/java/math in jdk-1_5_0-src-jrl.zip
+ *
+ * Here's an example of how to use this library:
+ * <code>
+ * <?php
+ * $a = new \phpseclib\Math\BigInteger(2);
+ * $b = new \phpseclib\Math\BigInteger(3);
+ *
+ * $c = $a->add($b);
+ *
+ * echo $c->toString(); // outputs 5
+ * ?>
+ * </code>
+ *
+ * @category Math
+ * @package BigInteger
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2006 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://pear.php.net/package/Math_BigInteger
+ */
+
+namespace phpseclib\Math;
+
+use phpseclib\Crypt\Random;
+
+/**
+ * Pure-PHP arbitrary precision integer arithmetic library. Supports base-2, base-10, base-16, and base-256
+ * numbers.
+ *
+ * @package BigInteger
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class BigInteger
+{
+ /**#@+
+ * Reduction constants
+ *
+ * @access private
+ * @see BigInteger::_reduce()
+ */
+ /**
+ * @see BigInteger::_montgomery()
+ * @see BigInteger::_prepMontgomery()
+ */
+ const MONTGOMERY = 0;
+ /**
+ * @see BigInteger::_barrett()
+ */
+ const BARRETT = 1;
+ /**
+ * @see BigInteger::_mod2()
+ */
+ const POWEROF2 = 2;
+ /**
+ * @see BigInteger::_remainder()
+ */
+ const CLASSIC = 3;
+ /**
+ * @see BigInteger::__clone()
+ */
+ const NONE = 4;
+ /**#@-*/
+
+ /**#@+
+ * Array constants
+ *
+ * Rather than create a thousands and thousands of new BigInteger objects in repeated function calls to add() and
+ * multiply() or whatever, we'll just work directly on arrays, taking them in as parameters and returning them.
+ *
+ * @access private
+ */
+ /**
+ * $result[self::VALUE] contains the value.
+ */
+ const VALUE = 0;
+ /**
+ * $result[self::SIGN] contains the sign.
+ */
+ const SIGN = 1;
+ /**#@-*/
+
+ /**#@+
+ * @access private
+ * @see BigInteger::_montgomery()
+ * @see BigInteger::_barrett()
+ */
+ /**
+ * Cache constants
+ *
+ * $cache[self::VARIABLE] tells us whether or not the cached data is still valid.
+ */
+ const VARIABLE = 0;
+ /**
+ * $cache[self::DATA] contains the cached data.
+ */
+ const DATA = 1;
+ /**#@-*/
+
+ /**#@+
+ * Mode constants.
+ *
+ * @access private
+ * @see BigInteger::__construct()
+ */
+ /**
+ * To use the pure-PHP implementation
+ */
+ const MODE_INTERNAL = 1;
+ /**
+ * To use the BCMath library
+ *
+ * (if enabled; otherwise, the internal implementation will be used)
+ */
+ const MODE_BCMATH = 2;
+ /**
+ * To use the GMP library
+ *
+ * (if present; otherwise, either the BCMath or the internal implementation will be used)
+ */
+ const MODE_GMP = 3;
+ /**#@-*/
+
+ /**
+ * Karatsuba Cutoff
+ *
+ * At what point do we switch between Karatsuba multiplication and schoolbook long multiplication?
+ *
+ * @access private
+ */
+ const KARATSUBA_CUTOFF = 25;
+
+ /**#@+
+ * Static properties used by the pure-PHP implementation.
+ *
+ * @see __construct()
+ */
+ protected static $base;
+ protected static $baseFull;
+ protected static $maxDigit;
+ protected static $msb;
+
+ /**
+ * $max10 in greatest $max10Len satisfying
+ * $max10 = 10**$max10Len <= 2**$base.
+ */
+ protected static $max10;
+
+ /**
+ * $max10Len in greatest $max10Len satisfying
+ * $max10 = 10**$max10Len <= 2**$base.
+ */
+ protected static $max10Len;
+ protected static $maxDigit2;
+ /**#@-*/
+
+ /**
+ * Holds the BigInteger's value.
+ *
+ * @var array
+ * @access private
+ */
+ var $value;
+
+ /**
+ * Holds the BigInteger's magnitude.
+ *
+ * @var bool
+ * @access private
+ */
+ var $is_negative = false;
+
+ /**
+ * Precision
+ *
+ * @see self::setPrecision()
+ * @access private
+ */
+ var $precision = -1;
+
+ /**
+ * Precision Bitmask
+ *
+ * @see self::setPrecision()
+ * @access private
+ */
+ var $bitmask = false;
+
+ /**
+ * Mode independent value used for serialization.
+ *
+ * If the bcmath or gmp extensions are installed $this->value will be a non-serializable resource, hence the need for
+ * a variable that'll be serializable regardless of whether or not extensions are being used. Unlike $this->value,
+ * however, $this->hex is only calculated when $this->__sleep() is called.
+ *
+ * @see self::__sleep()
+ * @see self::__wakeup()
+ * @var string
+ * @access private
+ */
+ var $hex;
+
+ /**
+ * Converts base-2, base-10, base-16, and binary strings (base-256) to BigIntegers.
+ *
+ * If the second parameter - $base - is negative, then it will be assumed that the number's are encoded using
+ * two's compliment. The sole exception to this is -10, which is treated the same as 10 is.
+ *
+ * Here's an example:
+ * <code>
+ * <?php
+ * $a = new \phpseclib\Math\BigInteger('0x32', 16); // 50 in base-16
+ *
+ * echo $a->toString(); // outputs 50
+ * ?>
+ * </code>
+ *
+ * @param $x base-10 number or base-$base number if $base set.
+ * @param int $base
+ * @return \phpseclib\Math\BigInteger
+ * @access public
+ */
+ function __construct($x = 0, $base = 10)
+ {
+ if (!defined('MATH_BIGINTEGER_MODE')) {
+ switch (true) {
+ case extension_loaded('gmp'):
+ define('MATH_BIGINTEGER_MODE', self::MODE_GMP);
+ break;
+ case extension_loaded('bcmath'):
+ define('MATH_BIGINTEGER_MODE', self::MODE_BCMATH);
+ break;
+ default:
+ define('MATH_BIGINTEGER_MODE', self::MODE_INTERNAL);
+ }
+ }
+
+ if (extension_loaded('openssl') && !defined('MATH_BIGINTEGER_OPENSSL_DISABLE') && !defined('MATH_BIGINTEGER_OPENSSL_ENABLED')) {
+ // some versions of XAMPP have mismatched versions of OpenSSL which causes it not to work
+ ob_start();
+ @phpinfo();
+ $content = ob_get_contents();
+ ob_end_clean();
+
+ preg_match_all('#OpenSSL (Header|Library) Version(.*)#im', $content, $matches);
+
+ $versions = array();
+ if (!empty($matches[1])) {
+ for ($i = 0; $i < count($matches[1]); $i++) {
+ $fullVersion = trim(str_replace('=>', '', strip_tags($matches[2][$i])));
+
+ // Remove letter part in OpenSSL version
+ if (!preg_match('/(\d+\.\d+\.\d+)/i', $fullVersion, $m)) {
+ $versions[$matches[1][$i]] = $fullVersion;
+ } else {
+ $versions[$matches[1][$i]] = $m[0];
+ }
+ }
+ }
+
+ // it doesn't appear that OpenSSL versions were reported upon until PHP 5.3+
+ switch (true) {
+ case !isset($versions['Header']):
+ case !isset($versions['Library']):
+ case $versions['Header'] == $versions['Library']:
+ case version_compare($versions['Header'], '1.0.0') >= 0 && version_compare($versions['Library'], '1.0.0') >= 0:
+ define('MATH_BIGINTEGER_OPENSSL_ENABLED', true);
+ break;
+ default:
+ define('MATH_BIGINTEGER_OPENSSL_DISABLE', true);
+ }
+ }
+
+ if (!defined('PHP_INT_SIZE')) {
+ define('PHP_INT_SIZE', 4);
+ }
+
+ if (empty(self::$base) && MATH_BIGINTEGER_MODE == self::MODE_INTERNAL) {
+ switch (PHP_INT_SIZE) {
+ case 8: // use 64-bit integers if int size is 8 bytes
+ self::$base = 31;
+ self::$baseFull = 0x80000000;
+ self::$maxDigit = 0x7FFFFFFF;
+ self::$msb = 0x40000000;
+ self::$max10 = 1000000000;
+ self::$max10Len = 9;
+ self::$maxDigit2 = pow(2, 62);
+ break;
+ //case 4: // use 64-bit floats if int size is 4 bytes
+ default:
+ self::$base = 26;
+ self::$baseFull = 0x4000000;
+ self::$maxDigit = 0x3FFFFFF;
+ self::$msb = 0x2000000;
+ self::$max10 = 10000000;
+ self::$max10Len = 7;
+ self::$maxDigit2 = pow(2, 52); // pow() prevents truncation
+ }
+ }
+
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ switch (true) {
+ case is_resource($x) && get_resource_type($x) == 'GMP integer':
+ // PHP 5.6 switched GMP from using resources to objects
+ case $x instanceof \GMP:
+ $this->value = $x;
+ return;
+ }
+ $this->value = gmp_init(0);
+ break;
+ case self::MODE_BCMATH:
+ $this->value = '0';
+ break;
+ default:
+ $this->value = array();
+ }
+
+ // '0' counts as empty() but when the base is 256 '0' is equal to ord('0') or 48
+ // '0' is the only value like this per http://php.net/empty
+ if (empty($x) && (abs($base) != 256 || $x !== '0')) {
+ return;
+ }
+
+ switch ($base) {
+ case -256:
+ if (ord($x[0]) & 0x80) {
+ $x = ~$x;
+ $this->is_negative = true;
+ }
+ case 256:
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ $sign = $this->is_negative ? '-' : '';
+ $this->value = gmp_init($sign . '0x' . bin2hex($x));
+ break;
+ case self::MODE_BCMATH:
+ // round $len to the nearest 4 (thanks, DavidMJ!)
+ $len = (strlen($x) + 3) & 0xFFFFFFFC;
+
+ $x = str_pad($x, $len, chr(0), STR_PAD_LEFT);
+
+ for ($i = 0; $i < $len; $i+= 4) {
+ $this->value = bcmul($this->value, '4294967296', 0); // 4294967296 == 2**32
+ $this->value = bcadd($this->value, 0x1000000 * ord($x[$i]) + ((ord($x[$i + 1]) << 16) | (ord($x[$i + 2]) << 8) | ord($x[$i + 3])), 0);
+ }
+
+ if ($this->is_negative) {
+ $this->value = '-' . $this->value;
+ }
+
+ break;
+ // converts a base-2**8 (big endian / msb) number to base-2**26 (little endian / lsb)
+ default:
+ while (strlen($x)) {
+ $this->value[] = $this->_bytes2int($this->_base256_rshift($x, self::$base));
+ }
+ }
+
+ if ($this->is_negative) {
+ if (MATH_BIGINTEGER_MODE != self::MODE_INTERNAL) {
+ $this->is_negative = false;
+ }
+ $temp = $this->add(new static('-1'));
+ $this->value = $temp->value;
+ }
+ break;
+ case 16:
+ case -16:
+ if ($base > 0 && $x[0] == '-') {
+ $this->is_negative = true;
+ $x = substr($x, 1);
+ }
+
+ $x = preg_replace('#^(?:0x)?([A-Fa-f0-9]*).*#', '$1', $x);
+
+ $is_negative = false;
+ if ($base < 0 && hexdec($x[0]) >= 8) {
+ $this->is_negative = $is_negative = true;
+ $x = bin2hex(~pack('H*', $x));
+ }
+
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ $temp = $this->is_negative ? '-0x' . $x : '0x' . $x;
+ $this->value = gmp_init($temp);
+ $this->is_negative = false;
+ break;
+ case self::MODE_BCMATH:
+ $x = (strlen($x) & 1) ? '0' . $x : $x;
+ $temp = new static(pack('H*', $x), 256);
+ $this->value = $this->is_negative ? '-' . $temp->value : $temp->value;
+ $this->is_negative = false;
+ break;
+ default:
+ $x = (strlen($x) & 1) ? '0' . $x : $x;
+ $temp = new static(pack('H*', $x), 256);
+ $this->value = $temp->value;
+ }
+
+ if ($is_negative) {
+ $temp = $this->add(new static('-1'));
+ $this->value = $temp->value;
+ }
+ break;
+ case 10:
+ case -10:
+ // (?<!^)(?:-).*: find any -'s that aren't at the beginning and then any characters that follow that
+ // (?<=^|-)0*: find any 0's that are preceded by the start of the string or by a - (ie. octals)
+ // [^-0-9].*: find any non-numeric characters and then any characters that follow that
+ $x = preg_replace('#(?<!^)(?:-).*|(?<=^|-)0*|[^-0-9].*#', '', $x);
+
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ $this->value = gmp_init($x);
+ break;
+ case self::MODE_BCMATH:
+ // explicitly casting $x to a string is necessary, here, since doing $x[0] on -1 yields different
+ // results then doing it on '-1' does (modInverse does $x[0])
+ $this->value = $x === '-' ? '0' : (string) $x;
+ break;
+ default:
+ $temp = new static();
+
+ $multiplier = new static();
+ $multiplier->value = array(self::$max10);
+
+ if ($x[0] == '-') {
+ $this->is_negative = true;
+ $x = substr($x, 1);
+ }
+
+ $x = str_pad($x, strlen($x) + ((self::$max10Len - 1) * strlen($x)) % self::$max10Len, 0, STR_PAD_LEFT);
+ while (strlen($x)) {
+ $temp = $temp->multiply($multiplier);
+ $temp = $temp->add(new static($this->_int2bytes(substr($x, 0, self::$max10Len)), 256));
+ $x = substr($x, self::$max10Len);
+ }
+
+ $this->value = $temp->value;
+ }
+ break;
+ case 2: // base-2 support originally implemented by Lluis Pamies - thanks!
+ case -2:
+ if ($base > 0 && $x[0] == '-') {
+ $this->is_negative = true;
+ $x = substr($x, 1);
+ }
+
+ $x = preg_replace('#^([01]*).*#', '$1', $x);
+ $x = str_pad($x, strlen($x) + (3 * strlen($x)) % 4, 0, STR_PAD_LEFT);
+
+ $str = '0x';
+ while (strlen($x)) {
+ $part = substr($x, 0, 4);
+ $str.= dechex(bindec($part));
+ $x = substr($x, 4);
+ }
+
+ if ($this->is_negative) {
+ $str = '-' . $str;
+ }
+
+ $temp = new static($str, 8 * $base); // ie. either -16 or +16
+ $this->value = $temp->value;
+ $this->is_negative = $temp->is_negative;
+
+ break;
+ default:
+ // base not supported, so we'll let $this == 0
+ }
+ }
+
+ /**
+ * Converts a BigInteger to a byte string (eg. base-256).
+ *
+ * Negative numbers are saved as positive numbers, unless $twos_compliment is set to true, at which point, they're
+ * saved as two's compliment.
+ *
+ * Here's an example:
+ * <code>
+ * <?php
+ * $a = new \phpseclib\Math\BigInteger('65');
+ *
+ * echo $a->toBytes(); // outputs chr(65)
+ * ?>
+ * </code>
+ *
+ * @param bool $twos_compliment
+ * @return string
+ * @access public
+ * @internal Converts a base-2**26 number to base-2**8
+ */
+ function toBytes($twos_compliment = false)
+ {
+ if ($twos_compliment) {
+ $comparison = $this->compare(new static());
+ if ($comparison == 0) {
+ return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : '';
+ }
+
+ $temp = $comparison < 0 ? $this->add(new static(1)) : $this->copy();
+ $bytes = $temp->toBytes();
+
+ if (empty($bytes)) { // eg. if the number we're trying to convert is -1
+ $bytes = chr(0);
+ }
+
+ if (ord($bytes[0]) & 0x80) {
+ $bytes = chr(0) . $bytes;
+ }
+
+ return $comparison < 0 ? ~$bytes : $bytes;
+ }
+
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ if (gmp_cmp($this->value, gmp_init(0)) == 0) {
+ return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : '';
+ }
+
+ $temp = gmp_strval(gmp_abs($this->value), 16);
+ $temp = (strlen($temp) & 1) ? '0' . $temp : $temp;
+ $temp = pack('H*', $temp);
+
+ return $this->precision > 0 ?
+ substr(str_pad($temp, $this->precision >> 3, chr(0), STR_PAD_LEFT), -($this->precision >> 3)) :
+ ltrim($temp, chr(0));
+ case self::MODE_BCMATH:
+ if ($this->value === '0') {
+ return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : '';
+ }
+
+ $value = '';
+ $current = $this->value;
+
+ if ($current[0] == '-') {
+ $current = substr($current, 1);
+ }
+
+ while (bccomp($current, '0', 0) > 0) {
+ $temp = bcmod($current, '16777216');
+ $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
+ $current = bcdiv($current, '16777216', 0);
+ }
+
+ return $this->precision > 0 ?
+ substr(str_pad($value, $this->precision >> 3, chr(0), STR_PAD_LEFT), -($this->precision >> 3)) :
+ ltrim($value, chr(0));
+ }
+
+ if (!count($this->value)) {
+ return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : '';
+ }
+ $result = $this->_int2bytes($this->value[count($this->value) - 1]);
+
+ $temp = $this->copy();
+
+ for ($i = count($temp->value) - 2; $i >= 0; --$i) {
+ $temp->_base256_lshift($result, self::$base);
+ $result = $result | str_pad($temp->_int2bytes($temp->value[$i]), strlen($result), chr(0), STR_PAD_LEFT);
+ }
+
+ return $this->precision > 0 ?
+ str_pad(substr($result, -(($this->precision + 7) >> 3)), ($this->precision + 7) >> 3, chr(0), STR_PAD_LEFT) :
+ $result;
+ }
+
+ /**
+ * Converts a BigInteger to a hex string (eg. base-16)).
+ *
+ * Negative numbers are saved as positive numbers, unless $twos_compliment is set to true, at which point, they're
+ * saved as two's compliment.
+ *
+ * Here's an example:
+ * <code>
+ * <?php
+ * $a = new \phpseclib\Math\BigInteger('65');
+ *
+ * echo $a->toHex(); // outputs '41'
+ * ?>
+ * </code>
+ *
+ * @param bool $twos_compliment
+ * @return string
+ * @access public
+ * @internal Converts a base-2**26 number to base-2**8
+ */
+ function toHex($twos_compliment = false)
+ {
+ return bin2hex($this->toBytes($twos_compliment));
+ }
+
+ /**
+ * Converts a BigInteger to a bit string (eg. base-2).
+ *
+ * Negative numbers are saved as positive numbers, unless $twos_compliment is set to true, at which point, they're
+ * saved as two's compliment.
+ *
+ * Here's an example:
+ * <code>
+ * <?php
+ * $a = new \phpseclib\Math\BigInteger('65');
+ *
+ * echo $a->toBits(); // outputs '1000001'
+ * ?>
+ * </code>
+ *
+ * @param bool $twos_compliment
+ * @return string
+ * @access public
+ * @internal Converts a base-2**26 number to base-2**2
+ */
+ function toBits($twos_compliment = false)
+ {
+ $hex = $this->toHex($twos_compliment);
+ $bits = '';
+ for ($i = strlen($hex) - 8, $start = strlen($hex) & 7; $i >= $start; $i-=8) {
+ $bits = str_pad(decbin(hexdec(substr($hex, $i, 8))), 32, '0', STR_PAD_LEFT) . $bits;
+ }
+ if ($start) { // hexdec('') == 0
+ $bits = str_pad(decbin(hexdec(substr($hex, 0, $start))), 8, '0', STR_PAD_LEFT) . $bits;
+ }
+ $result = $this->precision > 0 ? substr($bits, -$this->precision) : ltrim($bits, '0');
+
+ if ($twos_compliment && $this->compare(new static()) > 0 && $this->precision <= 0) {
+ return '0' . $result;
+ }
+
+ return $result;
+ }
+
+ /**
+ * Converts a BigInteger to a base-10 number.
+ *
+ * Here's an example:
+ * <code>
+ * <?php
+ * $a = new \phpseclib\Math\BigInteger('50');
+ *
+ * echo $a->toString(); // outputs 50
+ * ?>
+ * </code>
+ *
+ * @return string
+ * @access public
+ * @internal Converts a base-2**26 number to base-10**7 (which is pretty much base-10)
+ */
+ function toString()
+ {
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ return gmp_strval($this->value);
+ case self::MODE_BCMATH:
+ if ($this->value === '0') {
+ return '0';
+ }
+
+ return ltrim($this->value, '0');
+ }
+
+ if (!count($this->value)) {
+ return '0';
+ }
+
+ $temp = $this->copy();
+ $temp->is_negative = false;
+
+ $divisor = new static();
+ $divisor->value = array(self::$max10);
+ $result = '';
+ while (count($temp->value)) {
+ list($temp, $mod) = $temp->divide($divisor);
+ $result = str_pad(isset($mod->value[0]) ? $mod->value[0] : '', self::$max10Len, '0', STR_PAD_LEFT) . $result;
+ }
+ $result = ltrim($result, '0');
+ if (empty($result)) {
+ $result = '0';
+ }
+
+ if ($this->is_negative) {
+ $result = '-' . $result;
+ }
+
+ return $result;
+ }
+
+ /**
+ * Copy an object
+ *
+ * PHP5 passes objects by reference while PHP4 passes by value. As such, we need a function to guarantee
+ * that all objects are passed by value, when appropriate. More information can be found here:
+ *
+ * {@link http://php.net/language.oop5.basic#51624}
+ *
+ * @access public
+ * @see self::__clone()
+ * @return \phpseclib\Math\BigInteger
+ */
+ function copy()
+ {
+ $temp = new static();
+ $temp->value = $this->value;
+ $temp->is_negative = $this->is_negative;
+ $temp->precision = $this->precision;
+ $temp->bitmask = $this->bitmask;
+ return $temp;
+ }
+
+ /**
+ * __toString() magic method
+ *
+ * Will be called, automatically, if you're supporting just PHP5. If you're supporting PHP4, you'll need to call
+ * toString().
+ *
+ * @access public
+ * @internal Implemented per a suggestion by Techie-Michael - thanks!
+ */
+ function __toString()
+ {
+ return $this->toString();
+ }
+
+ /**
+ * __clone() magic method
+ *
+ * Although you can call BigInteger::__toString() directly in PHP5, you cannot call BigInteger::__clone() directly
+ * in PHP5. You can in PHP4 since it's not a magic method, but in PHP5, you have to call it by using the PHP5
+ * only syntax of $y = clone $x. As such, if you're trying to write an application that works on both PHP4 and
+ * PHP5, call BigInteger::copy(), instead.
+ *
+ * @access public
+ * @see self::copy()
+ * @return \phpseclib\Math\BigInteger
+ */
+ function __clone()
+ {
+ return $this->copy();
+ }
+
+ /**
+ * __sleep() magic method
+ *
+ * Will be called, automatically, when serialize() is called on a BigInteger object.
+ *
+ * @see self::__wakeup()
+ * @access public
+ */
+ function __sleep()
+ {
+ $this->hex = $this->toHex(true);
+ $vars = array('hex');
+ if ($this->precision > 0) {
+ $vars[] = 'precision';
+ }
+ return $vars;
+ }
+
+ /**
+ * __wakeup() magic method
+ *
+ * Will be called, automatically, when unserialize() is called on a BigInteger object.
+ *
+ * @see self::__sleep()
+ * @access public
+ */
+ function __wakeup()
+ {
+ $temp = new static($this->hex, -16);
+ $this->value = $temp->value;
+ $this->is_negative = $temp->is_negative;
+ if ($this->precision > 0) {
+ // recalculate $this->bitmask
+ $this->setPrecision($this->precision);
+ }
+ }
+
+ /**
+ * __debugInfo() magic method
+ *
+ * Will be called, automatically, when print_r() or var_dump() are called
+ *
+ * @access public
+ */
+ function __debugInfo()
+ {
+ $opts = array();
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ $engine = 'gmp';
+ break;
+ case self::MODE_BCMATH:
+ $engine = 'bcmath';
+ break;
+ case self::MODE_INTERNAL:
+ $engine = 'internal';
+ $opts[] = PHP_INT_SIZE == 8 ? '64-bit' : '32-bit';
+ }
+ if (MATH_BIGINTEGER_MODE != self::MODE_GMP && defined('MATH_BIGINTEGER_OPENSSL_ENABLED')) {
+ $opts[] = 'OpenSSL';
+ }
+ if (!empty($opts)) {
+ $engine.= ' (' . implode($opts, ', ') . ')';
+ }
+ return array(
+ 'value' => '0x' . $this->toHex(true),
+ 'engine' => $engine
+ );
+ }
+
+ /**
+ * Adds two BigIntegers.
+ *
+ * Here's an example:
+ * <code>
+ * <?php
+ * $a = new \phpseclib\Math\BigInteger('10');
+ * $b = new \phpseclib\Math\BigInteger('20');
+ *
+ * $c = $a->add($b);
+ *
+ * echo $c->toString(); // outputs 30
+ * ?>
+ * </code>
+ *
+ * @param \phpseclib\Math\BigInteger $y
+ * @return \phpseclib\Math\BigInteger
+ * @access public
+ * @internal Performs base-2**52 addition
+ */
+ function add($y)
+ {
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ $temp = new static();
+ $temp->value = gmp_add($this->value, $y->value);
+
+ return $this->_normalize($temp);
+ case self::MODE_BCMATH:
+ $temp = new static();
+ $temp->value = bcadd($this->value, $y->value, 0);
+
+ return $this->_normalize($temp);
+ }
+
+ $temp = $this->_add($this->value, $this->is_negative, $y->value, $y->is_negative);
+
+ $result = new static();
+ $result->value = $temp[self::VALUE];
+ $result->is_negative = $temp[self::SIGN];
+
+ return $this->_normalize($result);
+ }
+
+ /**
+ * Performs addition.
+ *
+ * @param array $x_value
+ * @param bool $x_negative
+ * @param array $y_value
+ * @param bool $y_negative
+ * @return array
+ * @access private
+ */
+ function _add($x_value, $x_negative, $y_value, $y_negative)
+ {
+ $x_size = count($x_value);
+ $y_size = count($y_value);
+
+ if ($x_size == 0) {
+ return array(
+ self::VALUE => $y_value,
+ self::SIGN => $y_negative
+ );
+ } elseif ($y_size == 0) {
+ return array(
+ self::VALUE => $x_value,
+ self::SIGN => $x_negative
+ );
+ }
+
+ // subtract, if appropriate
+ if ($x_negative != $y_negative) {
+ if ($x_value == $y_value) {
+ return array(
+ self::VALUE => array(),
+ self::SIGN => false
+ );
+ }
+
+ $temp = $this->_subtract($x_value, false, $y_value, false);
+ $temp[self::SIGN] = $this->_compare($x_value, false, $y_value, false) > 0 ?
+ $x_negative : $y_negative;
+
+ return $temp;
+ }
+
+ if ($x_size < $y_size) {
+ $size = $x_size;
+ $value = $y_value;
+ } else {
+ $size = $y_size;
+ $value = $x_value;
+ }
+
+ $value[count($value)] = 0; // just in case the carry adds an extra digit
+
+ $carry = 0;
+ for ($i = 0, $j = 1; $j < $size; $i+=2, $j+=2) {
+ $sum = $x_value[$j] * self::$baseFull + $x_value[$i] + $y_value[$j] * self::$baseFull + $y_value[$i] + $carry;
+ $carry = $sum >= self::$maxDigit2; // eg. floor($sum / 2**52); only possible values (in any base) are 0 and 1
+ $sum = $carry ? $sum - self::$maxDigit2 : $sum;
+
+ $temp = self::$base === 26 ? intval($sum / 0x4000000) : ($sum >> 31);
+
+ $value[$i] = (int) ($sum - self::$baseFull * $temp); // eg. a faster alternative to fmod($sum, 0x4000000)
+ $value[$j] = $temp;
+ }
+
+ if ($j == $size) { // ie. if $y_size is odd
+ $sum = $x_value[$i] + $y_value[$i] + $carry;
+ $carry = $sum >= self::$baseFull;
+ $value[$i] = $carry ? $sum - self::$baseFull : $sum;
+ ++$i; // ie. let $i = $j since we've just done $value[$i]
+ }
+
+ if ($carry) {
+ for (; $value[$i] == self::$maxDigit; ++$i) {
+ $value[$i] = 0;
+ }
+ ++$value[$i];
+ }
+
+ return array(
+ self::VALUE => $this->_trim($value),
+ self::SIGN => $x_negative
+ );
+ }
+
+ /**
+ * Subtracts two BigIntegers.
+ *
+ * Here's an example:
+ * <code>
+ * <?php
+ * $a = new \phpseclib\Math\BigInteger('10');
+ * $b = new \phpseclib\Math\BigInteger('20');
+ *
+ * $c = $a->subtract($b);
+ *
+ * echo $c->toString(); // outputs -10
+ * ?>
+ * </code>
+ *
+ * @param \phpseclib\Math\BigInteger $y
+ * @return \phpseclib\Math\BigInteger
+ * @access public
+ * @internal Performs base-2**52 subtraction
+ */
+ function subtract($y)
+ {
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ $temp = new static();
+ $temp->value = gmp_sub($this->value, $y->value);
+
+ return $this->_normalize($temp);
+ case self::MODE_BCMATH:
+ $temp = new static();
+ $temp->value = bcsub($this->value, $y->value, 0);
+
+ return $this->_normalize($temp);
+ }
+
+ $temp = $this->_subtract($this->value, $this->is_negative, $y->value, $y->is_negative);
+
+ $result = new static();
+ $result->value = $temp[self::VALUE];
+ $result->is_negative = $temp[self::SIGN];
+
+ return $this->_normalize($result);
+ }
+
+ /**
+ * Performs subtraction.
+ *
+ * @param array $x_value
+ * @param bool $x_negative
+ * @param array $y_value
+ * @param bool $y_negative
+ * @return array
+ * @access private
+ */
+ function _subtract($x_value, $x_negative, $y_value, $y_negative)
+ {
+ $x_size = count($x_value);
+ $y_size = count($y_value);
+
+ if ($x_size == 0) {
+ return array(
+ self::VALUE => $y_value,
+ self::SIGN => !$y_negative
+ );
+ } elseif ($y_size == 0) {
+ return array(
+ self::VALUE => $x_value,
+ self::SIGN => $x_negative
+ );
+ }
+
+ // add, if appropriate (ie. -$x - +$y or +$x - -$y)
+ if ($x_negative != $y_negative) {
+ $temp = $this->_add($x_value, false, $y_value, false);
+ $temp[self::SIGN] = $x_negative;
+
+ return $temp;
+ }
+
+ $diff = $this->_compare($x_value, $x_negative, $y_value, $y_negative);
+
+ if (!$diff) {
+ return array(
+ self::VALUE => array(),
+ self::SIGN => false
+ );
+ }
+
+ // switch $x and $y around, if appropriate.
+ if ((!$x_negative && $diff < 0) || ($x_negative && $diff > 0)) {
+ $temp = $x_value;
+ $x_value = $y_value;
+ $y_value = $temp;
+
+ $x_negative = !$x_negative;
+
+ $x_size = count($x_value);
+ $y_size = count($y_value);
+ }
+
+ // at this point, $x_value should be at least as big as - if not bigger than - $y_value
+
+ $carry = 0;
+ for ($i = 0, $j = 1; $j < $y_size; $i+=2, $j+=2) {
+ $sum = $x_value[$j] * self::$baseFull + $x_value[$i] - $y_value[$j] * self::$baseFull - $y_value[$i] - $carry;
+ $carry = $sum < 0; // eg. floor($sum / 2**52); only possible values (in any base) are 0 and 1
+ $sum = $carry ? $sum + self::$maxDigit2 : $sum;
+
+ $temp = self::$base === 26 ? intval($sum / 0x4000000) : ($sum >> 31);
+
+ $x_value[$i] = (int) ($sum - self::$baseFull * $temp);
+ $x_value[$j] = $temp;
+ }
+
+ if ($j == $y_size) { // ie. if $y_size is odd
+ $sum = $x_value[$i] - $y_value[$i] - $carry;
+ $carry = $sum < 0;
+ $x_value[$i] = $carry ? $sum + self::$baseFull : $sum;
+ ++$i;
+ }
+
+ if ($carry) {
+ for (; !$x_value[$i]; ++$i) {
+ $x_value[$i] = self::$maxDigit;
+ }
+ --$x_value[$i];
+ }
+
+ return array(
+ self::VALUE => $this->_trim($x_value),
+ self::SIGN => $x_negative
+ );
+ }
+
+ /**
+ * Multiplies two BigIntegers
+ *
+ * Here's an example:
+ * <code>
+ * <?php
+ * $a = new \phpseclib\Math\BigInteger('10');
+ * $b = new \phpseclib\Math\BigInteger('20');
+ *
+ * $c = $a->multiply($b);
+ *
+ * echo $c->toString(); // outputs 200
+ * ?>
+ * </code>
+ *
+ * @param \phpseclib\Math\BigInteger $x
+ * @return \phpseclib\Math\BigInteger
+ * @access public
+ */
+ function multiply($x)
+ {
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ $temp = new static();
+ $temp->value = gmp_mul($this->value, $x->value);
+
+ return $this->_normalize($temp);
+ case self::MODE_BCMATH:
+ $temp = new static();
+ $temp->value = bcmul($this->value, $x->value, 0);
+
+ return $this->_normalize($temp);
+ }
+
+ $temp = $this->_multiply($this->value, $this->is_negative, $x->value, $x->is_negative);
+
+ $product = new static();
+ $product->value = $temp[self::VALUE];
+ $product->is_negative = $temp[self::SIGN];
+
+ return $this->_normalize($product);
+ }
+
+ /**
+ * Performs multiplication.
+ *
+ * @param array $x_value
+ * @param bool $x_negative
+ * @param array $y_value
+ * @param bool $y_negative
+ * @return array
+ * @access private
+ */
+ function _multiply($x_value, $x_negative, $y_value, $y_negative)
+ {
+ //if ( $x_value == $y_value ) {
+ // return array(
+ // self::VALUE => $this->_square($x_value),
+ // self::SIGN => $x_sign != $y_value
+ // );
+ //}
+
+ $x_length = count($x_value);
+ $y_length = count($y_value);
+
+ if (!$x_length || !$y_length) { // a 0 is being multiplied
+ return array(
+ self::VALUE => array(),
+ self::SIGN => false
+ );
+ }
+
+ return array(
+ self::VALUE => min($x_length, $y_length) < 2 * self::KARATSUBA_CUTOFF ?
+ $this->_trim($this->_regularMultiply($x_value, $y_value)) :
+ $this->_trim($this->_karatsuba($x_value, $y_value)),
+ self::SIGN => $x_negative != $y_negative
+ );
+ }
+
+ /**
+ * Performs long multiplication on two BigIntegers
+ *
+ * Modeled after 'multiply' in MutableBigInteger.java.
+ *
+ * @param array $x_value
+ * @param array $y_value
+ * @return array
+ * @access private
+ */
+ function _regularMultiply($x_value, $y_value)
+ {
+ $x_length = count($x_value);
+ $y_length = count($y_value);
+
+ if (!$x_length || !$y_length) { // a 0 is being multiplied
+ return array();
+ }
+
+ if ($x_length < $y_length) {
+ $temp = $x_value;
+ $x_value = $y_value;
+ $y_value = $temp;
+
+ $x_length = count($x_value);
+ $y_length = count($y_value);
+ }
+
+ $product_value = $this->_array_repeat(0, $x_length + $y_length);
+
+ // the following for loop could be removed if the for loop following it
+ // (the one with nested for loops) initially set $i to 0, but
+ // doing so would also make the result in one set of unnecessary adds,
+ // since on the outermost loops first pass, $product->value[$k] is going
+ // to always be 0
+
+ $carry = 0;
+
+ for ($j = 0; $j < $x_length; ++$j) { // ie. $i = 0
+ $temp = $x_value[$j] * $y_value[0] + $carry; // $product_value[$k] == 0
+ $carry = self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31);
+ $product_value[$j] = (int) ($temp - self::$baseFull * $carry);
+ }
+
+ $product_value[$j] = $carry;
+
+ // the above for loop is what the previous comment was talking about. the
+ // following for loop is the "one with nested for loops"
+ for ($i = 1; $i < $y_length; ++$i) {
+ $carry = 0;
+
+ for ($j = 0, $k = $i; $j < $x_length; ++$j, ++$k) {
+ $temp = $product_value[$k] + $x_value[$j] * $y_value[$i] + $carry;
+ $carry = self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31);
+ $product_value[$k] = (int) ($temp - self::$baseFull * $carry);
+ }
+
+ $product_value[$k] = $carry;
+ }
+
+ return $product_value;
+ }
+
+ /**
+ * Performs Karatsuba multiplication on two BigIntegers
+ *
+ * See {@link http://en.wikipedia.org/wiki/Karatsuba_algorithm Karatsuba algorithm} and
+ * {@link http://math.libtomcrypt.com/files/tommath.pdf#page=120 MPM 5.2.3}.
+ *
+ * @param array $x_value
+ * @param array $y_value
+ * @return array
+ * @access private
+ */
+ function _karatsuba($x_value, $y_value)
+ {
+ $m = min(count($x_value) >> 1, count($y_value) >> 1);
+
+ if ($m < self::KARATSUBA_CUTOFF) {
+ return $this->_regularMultiply($x_value, $y_value);
+ }
+
+ $x1 = array_slice($x_value, $m);
+ $x0 = array_slice($x_value, 0, $m);
+ $y1 = array_slice($y_value, $m);
+ $y0 = array_slice($y_value, 0, $m);
+
+ $z2 = $this->_karatsuba($x1, $y1);
+ $z0 = $this->_karatsuba($x0, $y0);
+
+ $z1 = $this->_add($x1, false, $x0, false);
+ $temp = $this->_add($y1, false, $y0, false);
+ $z1 = $this->_karatsuba($z1[self::VALUE], $temp[self::VALUE]);
+ $temp = $this->_add($z2, false, $z0, false);
+ $z1 = $this->_subtract($z1, false, $temp[self::VALUE], false);
+
+ $z2 = array_merge(array_fill(0, 2 * $m, 0), $z2);
+ $z1[self::VALUE] = array_merge(array_fill(0, $m, 0), $z1[self::VALUE]);
+
+ $xy = $this->_add($z2, false, $z1[self::VALUE], $z1[self::SIGN]);
+ $xy = $this->_add($xy[self::VALUE], $xy[self::SIGN], $z0, false);
+
+ return $xy[self::VALUE];
+ }
+
+ /**
+ * Performs squaring
+ *
+ * @param array $x
+ * @return array
+ * @access private
+ */
+ function _square($x = false)
+ {
+ return count($x) < 2 * self::KARATSUBA_CUTOFF ?
+ $this->_trim($this->_baseSquare($x)) :
+ $this->_trim($this->_karatsubaSquare($x));
+ }
+
+ /**
+ * Performs traditional squaring on two BigIntegers
+ *
+ * Squaring can be done faster than multiplying a number by itself can be. See
+ * {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=7 HAC 14.2.4} /
+ * {@link http://math.libtomcrypt.com/files/tommath.pdf#page=141 MPM 5.3} for more information.
+ *
+ * @param array $value
+ * @return array
+ * @access private
+ */
+ function _baseSquare($value)
+ {
+ if (empty($value)) {
+ return array();
+ }
+ $square_value = $this->_array_repeat(0, 2 * count($value));
+
+ for ($i = 0, $max_index = count($value) - 1; $i <= $max_index; ++$i) {
+ $i2 = $i << 1;
+
+ $temp = $square_value[$i2] + $value[$i] * $value[$i];
+ $carry = self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31);
+ $square_value[$i2] = (int) ($temp - self::$baseFull * $carry);
+
+ // note how we start from $i+1 instead of 0 as we do in multiplication.
+ for ($j = $i + 1, $k = $i2 + 1; $j <= $max_index; ++$j, ++$k) {
+ $temp = $square_value[$k] + 2 * $value[$j] * $value[$i] + $carry;
+ $carry = self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31);
+ $square_value[$k] = (int) ($temp - self::$baseFull * $carry);
+ }
+
+ // the following line can yield values larger 2**15. at this point, PHP should switch
+ // over to floats.
+ $square_value[$i + $max_index + 1] = $carry;
+ }
+
+ return $square_value;
+ }
+
+ /**
+ * Performs Karatsuba "squaring" on two BigIntegers
+ *
+ * See {@link http://en.wikipedia.org/wiki/Karatsuba_algorithm Karatsuba algorithm} and
+ * {@link http://math.libtomcrypt.com/files/tommath.pdf#page=151 MPM 5.3.4}.
+ *
+ * @param array $value
+ * @return array
+ * @access private
+ */
+ function _karatsubaSquare($value)
+ {
+ $m = count($value) >> 1;
+
+ if ($m < self::KARATSUBA_CUTOFF) {
+ return $this->_baseSquare($value);
+ }
+
+ $x1 = array_slice($value, $m);
+ $x0 = array_slice($value, 0, $m);
+
+ $z2 = $this->_karatsubaSquare($x1);
+ $z0 = $this->_karatsubaSquare($x0);
+
+ $z1 = $this->_add($x1, false, $x0, false);
+ $z1 = $this->_karatsubaSquare($z1[self::VALUE]);
+ $temp = $this->_add($z2, false, $z0, false);
+ $z1 = $this->_subtract($z1, false, $temp[self::VALUE], false);
+
+ $z2 = array_merge(array_fill(0, 2 * $m, 0), $z2);
+ $z1[self::VALUE] = array_merge(array_fill(0, $m, 0), $z1[self::VALUE]);
+
+ $xx = $this->_add($z2, false, $z1[self::VALUE], $z1[self::SIGN]);
+ $xx = $this->_add($xx[self::VALUE], $xx[self::SIGN], $z0, false);
+
+ return $xx[self::VALUE];
+ }
+
+ /**
+ * Divides two BigIntegers.
+ *
+ * Returns an array whose first element contains the quotient and whose second element contains the
+ * "common residue". If the remainder would be positive, the "common residue" and the remainder are the
+ * same. If the remainder would be negative, the "common residue" is equal to the sum of the remainder
+ * and the divisor (basically, the "common residue" is the first positive modulo).
+ *
+ * Here's an example:
+ * <code>
+ * <?php
+ * $a = new \phpseclib\Math\BigInteger('10');
+ * $b = new \phpseclib\Math\BigInteger('20');
+ *
+ * list($quotient, $remainder) = $a->divide($b);
+ *
+ * echo $quotient->toString(); // outputs 0
+ * echo "\r\n";
+ * echo $remainder->toString(); // outputs 10
+ * ?>
+ * </code>
+ *
+ * @param \phpseclib\Math\BigInteger $y
+ * @return array
+ * @access public
+ * @internal This function is based off of {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=9 HAC 14.20}.
+ */
+ function divide($y)
+ {
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ $quotient = new static();
+ $remainder = new static();
+
+ list($quotient->value, $remainder->value) = gmp_div_qr($this->value, $y->value);
+
+ if (gmp_sign($remainder->value) < 0) {
+ $remainder->value = gmp_add($remainder->value, gmp_abs($y->value));
+ }
+
+ return array($this->_normalize($quotient), $this->_normalize($remainder));
+ case self::MODE_BCMATH:
+ $quotient = new static();
+ $remainder = new static();
+
+ $quotient->value = bcdiv($this->value, $y->value, 0);
+ $remainder->value = bcmod($this->value, $y->value);
+
+ if ($remainder->value[0] == '-') {
+ $remainder->value = bcadd($remainder->value, $y->value[0] == '-' ? substr($y->value, 1) : $y->value, 0);
+ }
+
+ return array($this->_normalize($quotient), $this->_normalize($remainder));
+ }
+
+ if (count($y->value) == 1) {
+ list($q, $r) = $this->_divide_digit($this->value, $y->value[0]);
+ $quotient = new static();
+ $remainder = new static();
+ $quotient->value = $q;
+ $remainder->value = array($r);
+ $quotient->is_negative = $this->is_negative != $y->is_negative;
+ return array($this->_normalize($quotient), $this->_normalize($remainder));
+ }
+
+ static $zero;
+ if (!isset($zero)) {
+ $zero = new static();
+ }
+
+ $x = $this->copy();
+ $y = $y->copy();
+
+ $x_sign = $x->is_negative;
+ $y_sign = $y->is_negative;
+
+ $x->is_negative = $y->is_negative = false;
+
+ $diff = $x->compare($y);
+
+ if (!$diff) {
+ $temp = new static();
+ $temp->value = array(1);
+ $temp->is_negative = $x_sign != $y_sign;
+ return array($this->_normalize($temp), $this->_normalize(new static()));
+ }
+
+ if ($diff < 0) {
+ // if $x is negative, "add" $y.
+ if ($x_sign) {
+ $x = $y->subtract($x);
+ }
+ return array($this->_normalize(new static()), $this->_normalize($x));
+ }
+
+ // normalize $x and $y as described in HAC 14.23 / 14.24
+ $msb = $y->value[count($y->value) - 1];
+ for ($shift = 0; !($msb & self::$msb); ++$shift) {
+ $msb <<= 1;
+ }
+ $x->_lshift($shift);
+ $y->_lshift($shift);
+ $y_value = &$y->value;
+
+ $x_max = count($x->value) - 1;
+ $y_max = count($y->value) - 1;
+
+ $quotient = new static();
+ $quotient_value = &$quotient->value;
+ $quotient_value = $this->_array_repeat(0, $x_max - $y_max + 1);
+
+ static $temp, $lhs, $rhs;
+ if (!isset($temp)) {
+ $temp = new static();
+ $lhs = new static();
+ $rhs = new static();
+ }
+ $temp_value = &$temp->value;
+ $rhs_value = &$rhs->value;
+
+ // $temp = $y << ($x_max - $y_max-1) in base 2**26
+ $temp_value = array_merge($this->_array_repeat(0, $x_max - $y_max), $y_value);
+
+ while ($x->compare($temp) >= 0) {
+ // calculate the "common residue"
+ ++$quotient_value[$x_max - $y_max];
+ $x = $x->subtract($temp);
+ $x_max = count($x->value) - 1;
+ }
+
+ for ($i = $x_max; $i >= $y_max + 1; --$i) {
+ $x_value = &$x->value;
+ $x_window = array(
+ isset($x_value[$i]) ? $x_value[$i] : 0,
+ isset($x_value[$i - 1]) ? $x_value[$i - 1] : 0,
+ isset($x_value[$i - 2]) ? $x_value[$i - 2] : 0
+ );
+ $y_window = array(
+ $y_value[$y_max],
+ ($y_max > 0) ? $y_value[$y_max - 1] : 0
+ );
+
+ $q_index = $i - $y_max - 1;
+ if ($x_window[0] == $y_window[0]) {
+ $quotient_value[$q_index] = self::$maxDigit;
+ } else {
+ $quotient_value[$q_index] = $this->_safe_divide(
+ $x_window[0] * self::$baseFull + $x_window[1],
+ $y_window[0]
+ );
+ }
+
+ $temp_value = array($y_window[1], $y_window[0]);
+
+ $lhs->value = array($quotient_value[$q_index]);
+ $lhs = $lhs->multiply($temp);
+
+ $rhs_value = array($x_window[2], $x_window[1], $x_window[0]);
+
+ while ($lhs->compare($rhs) > 0) {
+ --$quotient_value[$q_index];
+
+ $lhs->value = array($quotient_value[$q_index]);
+ $lhs = $lhs->multiply($temp);
+ }
+
+ $adjust = $this->_array_repeat(0, $q_index);
+ $temp_value = array($quotient_value[$q_index]);
+ $temp = $temp->multiply($y);
+ $temp_value = &$temp->value;
+ $temp_value = array_merge($adjust, $temp_value);
+
+ $x = $x->subtract($temp);
+
+ if ($x->compare($zero) < 0) {
+ $temp_value = array_merge($adjust, $y_value);
+ $x = $x->add($temp);
+
+ --$quotient_value[$q_index];
+ }
+
+ $x_max = count($x_value) - 1;
+ }
+
+ // unnormalize the remainder
+ $x->_rshift($shift);
+
+ $quotient->is_negative = $x_sign != $y_sign;
+
+ // calculate the "common residue", if appropriate
+ if ($x_sign) {
+ $y->_rshift($shift);
+ $x = $y->subtract($x);
+ }
+
+ return array($this->_normalize($quotient), $this->_normalize($x));
+ }
+
+ /**
+ * Divides a BigInteger by a regular integer
+ *
+ * abc / x = a00 / x + b0 / x + c / x
+ *
+ * @param array $dividend
+ * @param array $divisor
+ * @return array
+ * @access private
+ */
+ function _divide_digit($dividend, $divisor)
+ {
+ $carry = 0;
+ $result = array();
+
+ for ($i = count($dividend) - 1; $i >= 0; --$i) {
+ $temp = self::$baseFull * $carry + $dividend[$i];
+ $result[$i] = $this->_safe_divide($temp, $divisor);
+ $carry = (int) ($temp - $divisor * $result[$i]);
+ }
+
+ return array($result, $carry);
+ }
+
+ /**
+ * Performs modular exponentiation.
+ *
+ * Here's an example:
+ * <code>
+ * <?php
+ * $a = new \phpseclib\Math\BigInteger('10');
+ * $b = new \phpseclib\Math\BigInteger('20');
+ * $c = new \phpseclib\Math\BigInteger('30');
+ *
+ * $c = $a->modPow($b, $c);
+ *
+ * echo $c->toString(); // outputs 10
+ * ?>
+ * </code>
+ *
+ * @param \phpseclib\Math\BigInteger $e
+ * @param \phpseclib\Math\BigInteger $n
+ * @return \phpseclib\Math\BigInteger
+ * @access public
+ * @internal The most naive approach to modular exponentiation has very unreasonable requirements, and
+ * and although the approach involving repeated squaring does vastly better, it, too, is impractical
+ * for our purposes. The reason being that division - by far the most complicated and time-consuming
+ * of the basic operations (eg. +,-,*,/) - occurs multiple times within it.
+ *
+ * Modular reductions resolve this issue. Although an individual modular reduction takes more time
+ * then an individual division, when performed in succession (with the same modulo), they're a lot faster.
+ *
+ * The two most commonly used modular reductions are Barrett and Montgomery reduction. Montgomery reduction,
+ * although faster, only works when the gcd of the modulo and of the base being used is 1. In RSA, when the
+ * base is a power of two, the modulo - a product of two primes - is always going to have a gcd of 1 (because
+ * the product of two odd numbers is odd), but what about when RSA isn't used?
+ *
+ * In contrast, Barrett reduction has no such constraint. As such, some bigint implementations perform a
+ * Barrett reduction after every operation in the modpow function. Others perform Barrett reductions when the
+ * modulo is even and Montgomery reductions when the modulo is odd. BigInteger.java's modPow method, however,
+ * uses a trick involving the Chinese Remainder Theorem to factor the even modulo into two numbers - one odd and
+ * the other, a power of two - and recombine them, later. This is the method that this modPow function uses.
+ * {@link http://islab.oregonstate.edu/papers/j34monex.pdf Montgomery Reduction with Even Modulus} elaborates.
+ */
+ function modPow($e, $n)
+ {
+ $n = $this->bitmask !== false && $this->bitmask->compare($n) < 0 ? $this->bitmask : $n->abs();
+
+ if ($e->compare(new static()) < 0) {
+ $e = $e->abs();
+
+ $temp = $this->modInverse($n);
+ if ($temp === false) {
+ return false;
+ }
+
+ return $this->_normalize($temp->modPow($e, $n));
+ }
+
+ if (MATH_BIGINTEGER_MODE == self::MODE_GMP) {
+ $temp = new static();
+ $temp->value = gmp_powm($this->value, $e->value, $n->value);
+
+ return $this->_normalize($temp);
+ }
+
+ if ($this->compare(new static()) < 0 || $this->compare($n) > 0) {
+ list(, $temp) = $this->divide($n);
+ return $temp->modPow($e, $n);
+ }
+
+ if (defined('MATH_BIGINTEGER_OPENSSL_ENABLED')) {
+ $components = array(
+ 'modulus' => $n->toBytes(true),
+ 'publicExponent' => $e->toBytes(true)
+ );
+
+ $components = array(
+ 'modulus' => pack('Ca*a*', 2, $this->_encodeASN1Length(strlen($components['modulus'])), $components['modulus']),
+ 'publicExponent' => pack('Ca*a*', 2, $this->_encodeASN1Length(strlen($components['publicExponent'])), $components['publicExponent'])
+ );
+
+ $RSAPublicKey = pack(
+ 'Ca*a*a*',
+ 48,
+ $this->_encodeASN1Length(strlen($components['modulus']) + strlen($components['publicExponent'])),
+ $components['modulus'],
+ $components['publicExponent']
+ );
+
+ $rsaOID = pack('H*', '300d06092a864886f70d0101010500'); // hex version of MA0GCSqGSIb3DQEBAQUA
+ $RSAPublicKey = chr(0) . $RSAPublicKey;
+ $RSAPublicKey = chr(3) . $this->_encodeASN1Length(strlen($RSAPublicKey)) . $RSAPublicKey;
+
+ $encapsulated = pack(
+ 'Ca*a*',
+ 48,
+ $this->_encodeASN1Length(strlen($rsaOID . $RSAPublicKey)),
+ $rsaOID . $RSAPublicKey
+ );
+
+ $RSAPublicKey = "-----BEGIN PUBLIC KEY-----\r\n" .
+ chunk_split(base64_encode($encapsulated)) .
+ '-----END PUBLIC KEY-----';
+
+ $plaintext = str_pad($this->toBytes(), strlen($n->toBytes(true)) - 1, "\0", STR_PAD_LEFT);
+
+ if (openssl_public_encrypt($plaintext, $result, $RSAPublicKey, OPENSSL_NO_PADDING)) {
+ return new static($result, 256);
+ }
+ }
+
+ if (MATH_BIGINTEGER_MODE == self::MODE_BCMATH) {
+ $temp = new static();
+ $temp->value = bcpowmod($this->value, $e->value, $n->value, 0);
+
+ return $this->_normalize($temp);
+ }
+
+ if (empty($e->value)) {
+ $temp = new static();
+ $temp->value = array(1);
+ return $this->_normalize($temp);
+ }
+
+ if ($e->value == array(1)) {
+ list(, $temp) = $this->divide($n);
+ return $this->_normalize($temp);
+ }
+
+ if ($e->value == array(2)) {
+ $temp = new static();
+ $temp->value = $this->_square($this->value);
+ list(, $temp) = $temp->divide($n);
+ return $this->_normalize($temp);
+ }
+
+ return $this->_normalize($this->_slidingWindow($e, $n, self::BARRETT));
+
+ // the following code, although not callable, can be run independently of the above code
+ // although the above code performed better in my benchmarks the following could might
+ // perform better under different circumstances. in lieu of deleting it it's just been
+ // made uncallable
+
+ // is the modulo odd?
+ if ($n->value[0] & 1) {
+ return $this->_normalize($this->_slidingWindow($e, $n, self::MONTGOMERY));
+ }
+ // if it's not, it's even
+
+ // find the lowest set bit (eg. the max pow of 2 that divides $n)
+ for ($i = 0; $i < count($n->value); ++$i) {
+ if ($n->value[$i]) {
+ $temp = decbin($n->value[$i]);
+ $j = strlen($temp) - strrpos($temp, '1') - 1;
+ $j+= 26 * $i;
+ break;
+ }
+ }
+ // at this point, 2^$j * $n/(2^$j) == $n
+
+ $mod1 = $n->copy();
+ $mod1->_rshift($j);
+ $mod2 = new static();
+ $mod2->value = array(1);
+ $mod2->_lshift($j);
+
+ $part1 = ($mod1->value != array(1)) ? $this->_slidingWindow($e, $mod1, self::MONTGOMERY) : new static();
+ $part2 = $this->_slidingWindow($e, $mod2, self::POWEROF2);
+
+ $y1 = $mod2->modInverse($mod1);
+ $y2 = $mod1->modInverse($mod2);
+
+ $result = $part1->multiply($mod2);
+ $result = $result->multiply($y1);
+
+ $temp = $part2->multiply($mod1);
+ $temp = $temp->multiply($y2);
+
+ $result = $result->add($temp);
+ list(, $result) = $result->divide($n);
+
+ return $this->_normalize($result);
+ }
+
+ /**
+ * Performs modular exponentiation.
+ *
+ * Alias for modPow().
+ *
+ * @param \phpseclib\Math\BigInteger $e
+ * @param \phpseclib\Math\BigInteger $n
+ * @return \phpseclib\Math\BigInteger
+ * @access public
+ */
+ function powMod($e, $n)
+ {
+ return $this->modPow($e, $n);
+ }
+
+ /**
+ * Sliding Window k-ary Modular Exponentiation
+ *
+ * Based on {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=27 HAC 14.85} /
+ * {@link http://math.libtomcrypt.com/files/tommath.pdf#page=210 MPM 7.7}. In a departure from those algorithims,
+ * however, this function performs a modular reduction after every multiplication and squaring operation.
+ * As such, this function has the same preconditions that the reductions being used do.
+ *
+ * @param \phpseclib\Math\BigInteger $e
+ * @param \phpseclib\Math\BigInteger $n
+ * @param int $mode
+ * @return \phpseclib\Math\BigInteger
+ * @access private
+ */
+ function _slidingWindow($e, $n, $mode)
+ {
+ static $window_ranges = array(7, 25, 81, 241, 673, 1793); // from BigInteger.java's oddModPow function
+ //static $window_ranges = array(0, 7, 36, 140, 450, 1303, 3529); // from MPM 7.3.1
+
+ $e_value = $e->value;
+ $e_length = count($e_value) - 1;
+ $e_bits = decbin($e_value[$e_length]);
+ for ($i = $e_length - 1; $i >= 0; --$i) {
+ $e_bits.= str_pad(decbin($e_value[$i]), self::$base, '0', STR_PAD_LEFT);
+ }
+
+ $e_length = strlen($e_bits);
+
+ // calculate the appropriate window size.
+ // $window_size == 3 if $window_ranges is between 25 and 81, for example.
+ for ($i = 0, $window_size = 1; $i < count($window_ranges) && $e_length > $window_ranges[$i]; ++$window_size, ++$i) {
+ }
+
+ $n_value = $n->value;
+
+ // precompute $this^0 through $this^$window_size
+ $powers = array();
+ $powers[1] = $this->_prepareReduce($this->value, $n_value, $mode);
+ $powers[2] = $this->_squareReduce($powers[1], $n_value, $mode);
+
+ // we do every other number since substr($e_bits, $i, $j+1) (see below) is supposed to end
+ // in a 1. ie. it's supposed to be odd.
+ $temp = 1 << ($window_size - 1);
+ for ($i = 1; $i < $temp; ++$i) {
+ $i2 = $i << 1;
+ $powers[$i2 + 1] = $this->_multiplyReduce($powers[$i2 - 1], $powers[2], $n_value, $mode);
+ }
+
+ $result = array(1);
+ $result = $this->_prepareReduce($result, $n_value, $mode);
+
+ for ($i = 0; $i < $e_length;) {
+ if (!$e_bits[$i]) {
+ $result = $this->_squareReduce($result, $n_value, $mode);
+ ++$i;
+ } else {
+ for ($j = $window_size - 1; $j > 0; --$j) {
+ if (!empty($e_bits[$i + $j])) {
+ break;
+ }
+ }
+
+ // eg. the length of substr($e_bits, $i, $j + 1)
+ for ($k = 0; $k <= $j; ++$k) {
+ $result = $this->_squareReduce($result, $n_value, $mode);
+ }
+
+ $result = $this->_multiplyReduce($result, $powers[bindec(substr($e_bits, $i, $j + 1))], $n_value, $mode);
+
+ $i += $j + 1;
+ }
+ }
+
+ $temp = new static();
+ $temp->value = $this->_reduce($result, $n_value, $mode);
+
+ return $temp;
+ }
+
+ /**
+ * Modular reduction
+ *
+ * For most $modes this will return the remainder.
+ *
+ * @see self::_slidingWindow()
+ * @access private
+ * @param array $x
+ * @param array $n
+ * @param int $mode
+ * @return array
+ */
+ function _reduce($x, $n, $mode)
+ {
+ switch ($mode) {
+ case self::MONTGOMERY:
+ return $this->_montgomery($x, $n);
+ case self::BARRETT:
+ return $this->_barrett($x, $n);
+ case self::POWEROF2:
+ $lhs = new static();
+ $lhs->value = $x;
+ $rhs = new static();
+ $rhs->value = $n;
+ return $x->_mod2($n);
+ case self::CLASSIC:
+ $lhs = new static();
+ $lhs->value = $x;
+ $rhs = new static();
+ $rhs->value = $n;
+ list(, $temp) = $lhs->divide($rhs);
+ return $temp->value;
+ case self::NONE:
+ return $x;
+ default:
+ // an invalid $mode was provided
+ }
+ }
+
+ /**
+ * Modular reduction preperation
+ *
+ * @see self::_slidingWindow()
+ * @access private
+ * @param array $x
+ * @param array $n
+ * @param int $mode
+ * @return array
+ */
+ function _prepareReduce($x, $n, $mode)
+ {
+ if ($mode == self::MONTGOMERY) {
+ return $this->_prepMontgomery($x, $n);
+ }
+ return $this->_reduce($x, $n, $mode);
+ }
+
+ /**
+ * Modular multiply
+ *
+ * @see self::_slidingWindow()
+ * @access private
+ * @param array $x
+ * @param array $y
+ * @param array $n
+ * @param int $mode
+ * @return array
+ */
+ function _multiplyReduce($x, $y, $n, $mode)
+ {
+ if ($mode == self::MONTGOMERY) {
+ return $this->_montgomeryMultiply($x, $y, $n);
+ }
+ $temp = $this->_multiply($x, false, $y, false);
+ return $this->_reduce($temp[self::VALUE], $n, $mode);
+ }
+
+ /**
+ * Modular square
+ *
+ * @see self::_slidingWindow()
+ * @access private
+ * @param array $x
+ * @param array $n
+ * @param int $mode
+ * @return array
+ */
+ function _squareReduce($x, $n, $mode)
+ {
+ if ($mode == self::MONTGOMERY) {
+ return $this->_montgomeryMultiply($x, $x, $n);
+ }
+ return $this->_reduce($this->_square($x), $n, $mode);
+ }
+
+ /**
+ * Modulos for Powers of Two
+ *
+ * Calculates $x%$n, where $n = 2**$e, for some $e. Since this is basically the same as doing $x & ($n-1),
+ * we'll just use this function as a wrapper for doing that.
+ *
+ * @see self::_slidingWindow()
+ * @access private
+ * @param \phpseclib\Math\BigInteger
+ * @return \phpseclib\Math\BigInteger
+ */
+ function _mod2($n)
+ {
+ $temp = new static();
+ $temp->value = array(1);
+ return $this->bitwise_and($n->subtract($temp));
+ }
+
+ /**
+ * Barrett Modular Reduction
+ *
+ * See {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=14 HAC 14.3.3} /
+ * {@link http://math.libtomcrypt.com/files/tommath.pdf#page=165 MPM 6.2.5} for more information. Modified slightly,
+ * so as not to require negative numbers (initially, this script didn't support negative numbers).
+ *
+ * Employs "folding", as described at
+ * {@link http://www.cosic.esat.kuleuven.be/publications/thesis-149.pdf#page=66 thesis-149.pdf#page=66}. To quote from
+ * it, "the idea [behind folding] is to find a value x' such that x (mod m) = x' (mod m), with x' being smaller than x."
+ *
+ * Unfortunately, the "Barrett Reduction with Folding" algorithm described in thesis-149.pdf is not, as written, all that
+ * usable on account of (1) its not using reasonable radix points as discussed in
+ * {@link http://math.libtomcrypt.com/files/tommath.pdf#page=162 MPM 6.2.2} and (2) the fact that, even with reasonable
+ * radix points, it only works when there are an even number of digits in the denominator. The reason for (2) is that
+ * (x >> 1) + (x >> 1) != x / 2 + x / 2. If x is even, they're the same, but if x is odd, they're not. See the in-line
+ * comments for details.
+ *
+ * @see self::_slidingWindow()
+ * @access private
+ * @param array $n
+ * @param array $m
+ * @return array
+ */
+ function _barrett($n, $m)
+ {
+ static $cache = array(
+ self::VARIABLE => array(),
+ self::DATA => array()
+ );
+
+ $m_length = count($m);
+
+ // if ($this->_compare($n, $this->_square($m)) >= 0) {
+ if (count($n) > 2 * $m_length) {
+ $lhs = new static();
+ $rhs = new static();
+ $lhs->value = $n;
+ $rhs->value = $m;
+ list(, $temp) = $lhs->divide($rhs);
+ return $temp->value;
+ }
+
+ // if (m.length >> 1) + 2 <= m.length then m is too small and n can't be reduced
+ if ($m_length < 5) {
+ return $this->_regularBarrett($n, $m);
+ }
+
+ // n = 2 * m.length
+
+ if (($key = array_search($m, $cache[self::VARIABLE])) === false) {
+ $key = count($cache[self::VARIABLE]);
+ $cache[self::VARIABLE][] = $m;
+
+ $lhs = new static();
+ $lhs_value = &$lhs->value;
+ $lhs_value = $this->_array_repeat(0, $m_length + ($m_length >> 1));
+ $lhs_value[] = 1;
+ $rhs = new static();
+ $rhs->value = $m;
+
+ list($u, $m1) = $lhs->divide($rhs);
+ $u = $u->value;
+ $m1 = $m1->value;
+
+ $cache[self::DATA][] = array(
+ 'u' => $u, // m.length >> 1 (technically (m.length >> 1) + 1)
+ 'm1'=> $m1 // m.length
+ );
+ } else {
+ extract($cache[self::DATA][$key]);
+ }
+
+ $cutoff = $m_length + ($m_length >> 1);
+ $lsd = array_slice($n, 0, $cutoff); // m.length + (m.length >> 1)
+ $msd = array_slice($n, $cutoff); // m.length >> 1
+ $lsd = $this->_trim($lsd);
+ $temp = $this->_multiply($msd, false, $m1, false);
+ $n = $this->_add($lsd, false, $temp[self::VALUE], false); // m.length + (m.length >> 1) + 1
+
+ if ($m_length & 1) {
+ return $this->_regularBarrett($n[self::VALUE], $m);
+ }
+
+ // (m.length + (m.length >> 1) + 1) - (m.length - 1) == (m.length >> 1) + 2
+ $temp = array_slice($n[self::VALUE], $m_length - 1);
+ // if even: ((m.length >> 1) + 2) + (m.length >> 1) == m.length + 2
+ // if odd: ((m.length >> 1) + 2) + (m.length >> 1) == (m.length - 1) + 2 == m.length + 1
+ $temp = $this->_multiply($temp, false, $u, false);
+ // if even: (m.length + 2) - ((m.length >> 1) + 1) = m.length - (m.length >> 1) + 1
+ // if odd: (m.length + 1) - ((m.length >> 1) + 1) = m.length - (m.length >> 1)
+ $temp = array_slice($temp[self::VALUE], ($m_length >> 1) + 1);
+ // if even: (m.length - (m.length >> 1) + 1) + m.length = 2 * m.length - (m.length >> 1) + 1
+ // if odd: (m.length - (m.length >> 1)) + m.length = 2 * m.length - (m.length >> 1)
+ $temp = $this->_multiply($temp, false, $m, false);
+
+ // at this point, if m had an odd number of digits, we'd be subtracting a 2 * m.length - (m.length >> 1) digit
+ // number from a m.length + (m.length >> 1) + 1 digit number. ie. there'd be an extra digit and the while loop
+ // following this comment would loop a lot (hence our calling _regularBarrett() in that situation).
+
+ $result = $this->_subtract($n[self::VALUE], false, $temp[self::VALUE], false);
+
+ while ($this->_compare($result[self::VALUE], $result[self::SIGN], $m, false) >= 0) {
+ $result = $this->_subtract($result[self::VALUE], $result[self::SIGN], $m, false);
+ }
+
+ return $result[self::VALUE];
+ }
+
+ /**
+ * (Regular) Barrett Modular Reduction
+ *
+ * For numbers with more than four digits BigInteger::_barrett() is faster. The difference between that and this
+ * is that this function does not fold the denominator into a smaller form.
+ *
+ * @see self::_slidingWindow()
+ * @access private
+ * @param array $x
+ * @param array $n
+ * @return array
+ */
+ function _regularBarrett($x, $n)
+ {
+ static $cache = array(
+ self::VARIABLE => array(),
+ self::DATA => array()
+ );
+
+ $n_length = count($n);
+
+ if (count($x) > 2 * $n_length) {
+ $lhs = new static();
+ $rhs = new static();
+ $lhs->value = $x;
+ $rhs->value = $n;
+ list(, $temp) = $lhs->divide($rhs);
+ return $temp->value;
+ }
+
+ if (($key = array_search($n, $cache[self::VARIABLE])) === false) {
+ $key = count($cache[self::VARIABLE]);
+ $cache[self::VARIABLE][] = $n;
+ $lhs = new static();
+ $lhs_value = &$lhs->value;
+ $lhs_value = $this->_array_repeat(0, 2 * $n_length);
+ $lhs_value[] = 1;
+ $rhs = new static();
+ $rhs->value = $n;
+ list($temp, ) = $lhs->divide($rhs); // m.length
+ $cache[self::DATA][] = $temp->value;
+ }
+
+ // 2 * m.length - (m.length - 1) = m.length + 1
+ $temp = array_slice($x, $n_length - 1);
+ // (m.length + 1) + m.length = 2 * m.length + 1
+ $temp = $this->_multiply($temp, false, $cache[self::DATA][$key], false);
+ // (2 * m.length + 1) - (m.length - 1) = m.length + 2
+ $temp = array_slice($temp[self::VALUE], $n_length + 1);
+
+ // m.length + 1
+ $result = array_slice($x, 0, $n_length + 1);
+ // m.length + 1
+ $temp = $this->_multiplyLower($temp, false, $n, false, $n_length + 1);
+ // $temp == array_slice($temp->_multiply($temp, false, $n, false)->value, 0, $n_length + 1)
+
+ if ($this->_compare($result, false, $temp[self::VALUE], $temp[self::SIGN]) < 0) {
+ $corrector_value = $this->_array_repeat(0, $n_length + 1);
+ $corrector_value[count($corrector_value)] = 1;
+ $result = $this->_add($result, false, $corrector_value, false);
+ $result = $result[self::VALUE];
+ }
+
+ // at this point, we're subtracting a number with m.length + 1 digits from another number with m.length + 1 digits
+ $result = $this->_subtract($result, false, $temp[self::VALUE], $temp[self::SIGN]);
+ while ($this->_compare($result[self::VALUE], $result[self::SIGN], $n, false) > 0) {
+ $result = $this->_subtract($result[self::VALUE], $result[self::SIGN], $n, false);
+ }
+
+ return $result[self::VALUE];
+ }
+
+ /**
+ * Performs long multiplication up to $stop digits
+ *
+ * If you're going to be doing array_slice($product->value, 0, $stop), some cycles can be saved.
+ *
+ * @see self::_regularBarrett()
+ * @param array $x_value
+ * @param bool $x_negative
+ * @param array $y_value
+ * @param bool $y_negative
+ * @param int $stop
+ * @return array
+ * @access private
+ */
+ function _multiplyLower($x_value, $x_negative, $y_value, $y_negative, $stop)
+ {
+ $x_length = count($x_value);
+ $y_length = count($y_value);
+
+ if (!$x_length || !$y_length) { // a 0 is being multiplied
+ return array(
+ self::VALUE => array(),
+ self::SIGN => false
+ );
+ }
+
+ if ($x_length < $y_length) {
+ $temp = $x_value;
+ $x_value = $y_value;
+ $y_value = $temp;
+
+ $x_length = count($x_value);
+ $y_length = count($y_value);
+ }
+
+ $product_value = $this->_array_repeat(0, $x_length + $y_length);
+
+ // the following for loop could be removed if the for loop following it
+ // (the one with nested for loops) initially set $i to 0, but
+ // doing so would also make the result in one set of unnecessary adds,
+ // since on the outermost loops first pass, $product->value[$k] is going
+ // to always be 0
+
+ $carry = 0;
+
+ for ($j = 0; $j < $x_length; ++$j) { // ie. $i = 0, $k = $i
+ $temp = $x_value[$j] * $y_value[0] + $carry; // $product_value[$k] == 0
+ $carry = self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31);
+ $product_value[$j] = (int) ($temp - self::$baseFull * $carry);
+ }
+
+ if ($j < $stop) {
+ $product_value[$j] = $carry;
+ }
+
+ // the above for loop is what the previous comment was talking about. the
+ // following for loop is the "one with nested for loops"
+
+ for ($i = 1; $i < $y_length; ++$i) {
+ $carry = 0;
+
+ for ($j = 0, $k = $i; $j < $x_length && $k < $stop; ++$j, ++$k) {
+ $temp = $product_value[$k] + $x_value[$j] * $y_value[$i] + $carry;
+ $carry = self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31);
+ $product_value[$k] = (int) ($temp - self::$baseFull * $carry);
+ }
+
+ if ($k < $stop) {
+ $product_value[$k] = $carry;
+ }
+ }
+
+ return array(
+ self::VALUE => $this->_trim($product_value),
+ self::SIGN => $x_negative != $y_negative
+ );
+ }
+
+ /**
+ * Montgomery Modular Reduction
+ *
+ * ($x->_prepMontgomery($n))->_montgomery($n) yields $x % $n.
+ * {@link http://math.libtomcrypt.com/files/tommath.pdf#page=170 MPM 6.3} provides insights on how this can be
+ * improved upon (basically, by using the comba method). gcd($n, 2) must be equal to one for this function
+ * to work correctly.
+ *
+ * @see self::_prepMontgomery()
+ * @see self::_slidingWindow()
+ * @access private
+ * @param array $x
+ * @param array $n
+ * @return array
+ */
+ function _montgomery($x, $n)
+ {
+ static $cache = array(
+ self::VARIABLE => array(),
+ self::DATA => array()
+ );
+
+ if (($key = array_search($n, $cache[self::VARIABLE])) === false) {
+ $key = count($cache[self::VARIABLE]);
+ $cache[self::VARIABLE][] = $x;
+ $cache[self::DATA][] = $this->_modInverse67108864($n);
+ }
+
+ $k = count($n);
+
+ $result = array(self::VALUE => $x);
+
+ for ($i = 0; $i < $k; ++$i) {
+ $temp = $result[self::VALUE][$i] * $cache[self::DATA][$key];
+ $temp = $temp - self::$baseFull * (self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31));
+ $temp = $this->_regularMultiply(array($temp), $n);
+ $temp = array_merge($this->_array_repeat(0, $i), $temp);
+ $result = $this->_add($result[self::VALUE], false, $temp, false);
+ }
+
+ $result[self::VALUE] = array_slice($result[self::VALUE], $k);
+
+ if ($this->_compare($result, false, $n, false) >= 0) {
+ $result = $this->_subtract($result[self::VALUE], false, $n, false);
+ }
+
+ return $result[self::VALUE];
+ }
+
+ /**
+ * Montgomery Multiply
+ *
+ * Interleaves the montgomery reduction and long multiplication algorithms together as described in
+ * {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=13 HAC 14.36}
+ *
+ * @see self::_prepMontgomery()
+ * @see self::_montgomery()
+ * @access private
+ * @param array $x
+ * @param array $y
+ * @param array $m
+ * @return array
+ */
+ function _montgomeryMultiply($x, $y, $m)
+ {
+ $temp = $this->_multiply($x, false, $y, false);
+ return $this->_montgomery($temp[self::VALUE], $m);
+
+ // the following code, although not callable, can be run independently of the above code
+ // although the above code performed better in my benchmarks the following could might
+ // perform better under different circumstances. in lieu of deleting it it's just been
+ // made uncallable
+
+ static $cache = array(
+ self::VARIABLE => array(),
+ self::DATA => array()
+ );
+
+ if (($key = array_search($m, $cache[self::VARIABLE])) === false) {
+ $key = count($cache[self::VARIABLE]);
+ $cache[self::VARIABLE][] = $m;
+ $cache[self::DATA][] = $this->_modInverse67108864($m);
+ }
+
+ $n = max(count($x), count($y), count($m));
+ $x = array_pad($x, $n, 0);
+ $y = array_pad($y, $n, 0);
+ $m = array_pad($m, $n, 0);
+ $a = array(self::VALUE => $this->_array_repeat(0, $n + 1));
+ for ($i = 0; $i < $n; ++$i) {
+ $temp = $a[self::VALUE][0] + $x[$i] * $y[0];
+ $temp = $temp - self::$baseFull * (self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31));
+ $temp = $temp * $cache[self::DATA][$key];
+ $temp = $temp - self::$baseFull * (self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31));
+ $temp = $this->_add($this->_regularMultiply(array($x[$i]), $y), false, $this->_regularMultiply(array($temp), $m), false);
+ $a = $this->_add($a[self::VALUE], false, $temp[self::VALUE], false);
+ $a[self::VALUE] = array_slice($a[self::VALUE], 1);
+ }
+ if ($this->_compare($a[self::VALUE], false, $m, false) >= 0) {
+ $a = $this->_subtract($a[self::VALUE], false, $m, false);
+ }
+ return $a[self::VALUE];
+ }
+
+ /**
+ * Prepare a number for use in Montgomery Modular Reductions
+ *
+ * @see self::_montgomery()
+ * @see self::_slidingWindow()
+ * @access private
+ * @param array $x
+ * @param array $n
+ * @return array
+ */
+ function _prepMontgomery($x, $n)
+ {
+ $lhs = new static();
+ $lhs->value = array_merge($this->_array_repeat(0, count($n)), $x);
+ $rhs = new static();
+ $rhs->value = $n;
+
+ list(, $temp) = $lhs->divide($rhs);
+ return $temp->value;
+ }
+
+ /**
+ * Modular Inverse of a number mod 2**26 (eg. 67108864)
+ *
+ * Based off of the bnpInvDigit function implemented and justified in the following URL:
+ *
+ * {@link http://www-cs-students.stanford.edu/~tjw/jsbn/jsbn.js}
+ *
+ * The following URL provides more info:
+ *
+ * {@link http://groups.google.com/group/sci.crypt/msg/7a137205c1be7d85}
+ *
+ * As for why we do all the bitmasking... strange things can happen when converting from floats to ints. For
+ * instance, on some computers, var_dump((int) -4294967297) yields int(-1) and on others, it yields
+ * int(-2147483648). To avoid problems stemming from this, we use bitmasks to guarantee that ints aren't
+ * auto-converted to floats. The outermost bitmask is present because without it, there's no guarantee that
+ * the "residue" returned would be the so-called "common residue". We use fmod, in the last step, because the
+ * maximum possible $x is 26 bits and the maximum $result is 16 bits. Thus, we have to be able to handle up to
+ * 40 bits, which only 64-bit floating points will support.
+ *
+ * Thanks to Pedro Gimeno Fortea for input!
+ *
+ * @see self::_montgomery()
+ * @access private
+ * @param array $x
+ * @return int
+ */
+ function _modInverse67108864($x) // 2**26 == 67,108,864
+ {
+ $x = -$x[0];
+ $result = $x & 0x3; // x**-1 mod 2**2
+ $result = ($result * (2 - $x * $result)) & 0xF; // x**-1 mod 2**4
+ $result = ($result * (2 - ($x & 0xFF) * $result)) & 0xFF; // x**-1 mod 2**8
+ $result = ($result * ((2 - ($x & 0xFFFF) * $result) & 0xFFFF)) & 0xFFFF; // x**-1 mod 2**16
+ $result = fmod($result * (2 - fmod($x * $result, self::$baseFull)), self::$baseFull); // x**-1 mod 2**26
+ return $result & self::$maxDigit;
+ }
+
+ /**
+ * Calculates modular inverses.
+ *
+ * Say you have (30 mod 17 * x mod 17) mod 17 == 1. x can be found using modular inverses.
+ *
+ * Here's an example:
+ * <code>
+ * <?php
+ * $a = new \phpseclib\Math\BigInteger(30);
+ * $b = new \phpseclib\Math\BigInteger(17);
+ *
+ * $c = $a->modInverse($b);
+ * echo $c->toString(); // outputs 4
+ *
+ * echo "\r\n";
+ *
+ * $d = $a->multiply($c);
+ * list(, $d) = $d->divide($b);
+ * echo $d; // outputs 1 (as per the definition of modular inverse)
+ * ?>
+ * </code>
+ *
+ * @param \phpseclib\Math\BigInteger $n
+ * @return \phpseclib\Math\BigInteger|false
+ * @access public
+ * @internal See {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=21 HAC 14.64} for more information.
+ */
+ function modInverse($n)
+ {
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ $temp = new static();
+ $temp->value = gmp_invert($this->value, $n->value);
+
+ return ($temp->value === false) ? false : $this->_normalize($temp);
+ }
+
+ static $zero, $one;
+ if (!isset($zero)) {
+ $zero = new static();
+ $one = new static(1);
+ }
+
+ // $x mod -$n == $x mod $n.
+ $n = $n->abs();
+
+ if ($this->compare($zero) < 0) {
+ $temp = $this->abs();
+ $temp = $temp->modInverse($n);
+ return $this->_normalize($n->subtract($temp));
+ }
+
+ extract($this->extendedGCD($n));
+
+ if (!$gcd->equals($one)) {
+ return false;
+ }
+
+ $x = $x->compare($zero) < 0 ? $x->add($n) : $x;
+
+ return $this->compare($zero) < 0 ? $this->_normalize($n->subtract($x)) : $this->_normalize($x);
+ }
+
+ /**
+ * Calculates the greatest common divisor and Bezout's identity.
+ *
+ * Say you have 693 and 609. The GCD is 21. Bezout's identity states that there exist integers x and y such that
+ * 693*x + 609*y == 21. In point of fact, there are actually an infinite number of x and y combinations and which
+ * combination is returned is dependent upon which mode is in use. See
+ * {@link http://en.wikipedia.org/wiki/B%C3%A9zout%27s_identity Bezout's identity - Wikipedia} for more information.
+ *
+ * Here's an example:
+ * <code>
+ * <?php
+ * $a = new \phpseclib\Math\BigInteger(693);
+ * $b = new \phpseclib\Math\BigInteger(609);
+ *
+ * extract($a->extendedGCD($b));
+ *
+ * echo $gcd->toString() . "\r\n"; // outputs 21
+ * echo $a->toString() * $x->toString() + $b->toString() * $y->toString(); // outputs 21
+ * ?>
+ * </code>
+ *
+ * @param \phpseclib\Math\BigInteger $n
+ * @return \phpseclib\Math\BigInteger
+ * @access public
+ * @internal Calculates the GCD using the binary xGCD algorithim described in
+ * {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=19 HAC 14.61}. As the text above 14.61 notes,
+ * the more traditional algorithim requires "relatively costly multiple-precision divisions".
+ */
+ function extendedGCD($n)
+ {
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ extract(gmp_gcdext($this->value, $n->value));
+
+ return array(
+ 'gcd' => $this->_normalize(new static($g)),
+ 'x' => $this->_normalize(new static($s)),
+ 'y' => $this->_normalize(new static($t))
+ );
+ case self::MODE_BCMATH:
+ // it might be faster to use the binary xGCD algorithim here, as well, but (1) that algorithim works
+ // best when the base is a power of 2 and (2) i don't think it'd make much difference, anyway. as is,
+ // the basic extended euclidean algorithim is what we're using.
+
+ $u = $this->value;
+ $v = $n->value;
+
+ $a = '1';
+ $b = '0';
+ $c = '0';
+ $d = '1';
+
+ while (bccomp($v, '0', 0) != 0) {
+ $q = bcdiv($u, $v, 0);
+
+ $temp = $u;
+ $u = $v;
+ $v = bcsub($temp, bcmul($v, $q, 0), 0);
+
+ $temp = $a;
+ $a = $c;
+ $c = bcsub($temp, bcmul($a, $q, 0), 0);
+
+ $temp = $b;
+ $b = $d;
+ $d = bcsub($temp, bcmul($b, $q, 0), 0);
+ }
+
+ return array(
+ 'gcd' => $this->_normalize(new static($u)),
+ 'x' => $this->_normalize(new static($a)),
+ 'y' => $this->_normalize(new static($b))
+ );
+ }
+
+ $y = $n->copy();
+ $x = $this->copy();
+ $g = new static();
+ $g->value = array(1);
+
+ while (!(($x->value[0] & 1)|| ($y->value[0] & 1))) {
+ $x->_rshift(1);
+ $y->_rshift(1);
+ $g->_lshift(1);
+ }
+
+ $u = $x->copy();
+ $v = $y->copy();
+
+ $a = new static();
+ $b = new static();
+ $c = new static();
+ $d = new static();
+
+ $a->value = $d->value = $g->value = array(1);
+ $b->value = $c->value = array();
+
+ while (!empty($u->value)) {
+ while (!($u->value[0] & 1)) {
+ $u->_rshift(1);
+ if ((!empty($a->value) && ($a->value[0] & 1)) || (!empty($b->value) && ($b->value[0] & 1))) {
+ $a = $a->add($y);
+ $b = $b->subtract($x);
+ }
+ $a->_rshift(1);
+ $b->_rshift(1);
+ }
+
+ while (!($v->value[0] & 1)) {
+ $v->_rshift(1);
+ if ((!empty($d->value) && ($d->value[0] & 1)) || (!empty($c->value) && ($c->value[0] & 1))) {
+ $c = $c->add($y);
+ $d = $d->subtract($x);
+ }
+ $c->_rshift(1);
+ $d->_rshift(1);
+ }
+
+ if ($u->compare($v) >= 0) {
+ $u = $u->subtract($v);
+ $a = $a->subtract($c);
+ $b = $b->subtract($d);
+ } else {
+ $v = $v->subtract($u);
+ $c = $c->subtract($a);
+ $d = $d->subtract($b);
+ }
+ }
+
+ return array(
+ 'gcd' => $this->_normalize($g->multiply($v)),
+ 'x' => $this->_normalize($c),
+ 'y' => $this->_normalize($d)
+ );
+ }
+
+ /**
+ * Calculates the greatest common divisor
+ *
+ * Say you have 693 and 609. The GCD is 21.
+ *
+ * Here's an example:
+ * <code>
+ * <?php
+ * $a = new \phpseclib\Math\BigInteger(693);
+ * $b = new \phpseclib\Math\BigInteger(609);
+ *
+ * $gcd = a->extendedGCD($b);
+ *
+ * echo $gcd->toString() . "\r\n"; // outputs 21
+ * ?>
+ * </code>
+ *
+ * @param \phpseclib\Math\BigInteger $n
+ * @return \phpseclib\Math\BigInteger
+ * @access public
+ */
+ function gcd($n)
+ {
+ extract($this->extendedGCD($n));
+ return $gcd;
+ }
+
+ /**
+ * Absolute value.
+ *
+ * @return \phpseclib\Math\BigInteger
+ * @access public
+ */
+ function abs()
+ {
+ $temp = new static();
+
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ $temp->value = gmp_abs($this->value);
+ break;
+ case self::MODE_BCMATH:
+ $temp->value = (bccomp($this->value, '0', 0) < 0) ? substr($this->value, 1) : $this->value;
+ break;
+ default:
+ $temp->value = $this->value;
+ }
+
+ return $temp;
+ }
+
+ /**
+ * Compares two numbers.
+ *
+ * Although one might think !$x->compare($y) means $x != $y, it, in fact, means the opposite. The reason for this is
+ * demonstrated thusly:
+ *
+ * $x > $y: $x->compare($y) > 0
+ * $x < $y: $x->compare($y) < 0
+ * $x == $y: $x->compare($y) == 0
+ *
+ * Note how the same comparison operator is used. If you want to test for equality, use $x->equals($y).
+ *
+ * @param \phpseclib\Math\BigInteger $y
+ * @return int < 0 if $this is less than $y; > 0 if $this is greater than $y, and 0 if they are equal.
+ * @access public
+ * @see self::equals()
+ * @internal Could return $this->subtract($x), but that's not as fast as what we do do.
+ */
+ function compare($y)
+ {
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ return gmp_cmp($this->value, $y->value);
+ case self::MODE_BCMATH:
+ return bccomp($this->value, $y->value, 0);
+ }
+
+ return $this->_compare($this->value, $this->is_negative, $y->value, $y->is_negative);
+ }
+
+ /**
+ * Compares two numbers.
+ *
+ * @param array $x_value
+ * @param bool $x_negative
+ * @param array $y_value
+ * @param bool $y_negative
+ * @return int
+ * @see self::compare()
+ * @access private
+ */
+ function _compare($x_value, $x_negative, $y_value, $y_negative)
+ {
+ if ($x_negative != $y_negative) {
+ return (!$x_negative && $y_negative) ? 1 : -1;
+ }
+
+ $result = $x_negative ? -1 : 1;
+
+ if (count($x_value) != count($y_value)) {
+ return (count($x_value) > count($y_value)) ? $result : -$result;
+ }
+ $size = max(count($x_value), count($y_value));
+
+ $x_value = array_pad($x_value, $size, 0);
+ $y_value = array_pad($y_value, $size, 0);
+
+ for ($i = count($x_value) - 1; $i >= 0; --$i) {
+ if ($x_value[$i] != $y_value[$i]) {
+ return ($x_value[$i] > $y_value[$i]) ? $result : -$result;
+ }
+ }
+
+ return 0;
+ }
+
+ /**
+ * Tests the equality of two numbers.
+ *
+ * If you need to see if one number is greater than or less than another number, use BigInteger::compare()
+ *
+ * @param \phpseclib\Math\BigInteger $x
+ * @return bool
+ * @access public
+ * @see self::compare()
+ */
+ function equals($x)
+ {
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ return gmp_cmp($this->value, $x->value) == 0;
+ default:
+ return $this->value === $x->value && $this->is_negative == $x->is_negative;
+ }
+ }
+
+ /**
+ * Set Precision
+ *
+ * Some bitwise operations give different results depending on the precision being used. Examples include left
+ * shift, not, and rotates.
+ *
+ * @param int $bits
+ * @access public
+ */
+ function setPrecision($bits)
+ {
+ $this->precision = $bits;
+ if (MATH_BIGINTEGER_MODE != self::MODE_BCMATH) {
+ $this->bitmask = new static(chr((1 << ($bits & 0x7)) - 1) . str_repeat(chr(0xFF), $bits >> 3), 256);
+ } else {
+ $this->bitmask = new static(bcpow('2', $bits, 0));
+ }
+
+ $temp = $this->_normalize($this);
+ $this->value = $temp->value;
+ }
+
+ /**
+ * Logical And
+ *
+ * @param \phpseclib\Math\BigInteger $x
+ * @access public
+ * @internal Implemented per a request by Lluis Pamies i Juarez <lluis _a_ pamies.cat>
+ * @return \phpseclib\Math\BigInteger
+ */
+ function bitwise_and($x)
+ {
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ $temp = new static();
+ $temp->value = gmp_and($this->value, $x->value);
+
+ return $this->_normalize($temp);
+ case self::MODE_BCMATH:
+ $left = $this->toBytes();
+ $right = $x->toBytes();
+
+ $length = max(strlen($left), strlen($right));
+
+ $left = str_pad($left, $length, chr(0), STR_PAD_LEFT);
+ $right = str_pad($right, $length, chr(0), STR_PAD_LEFT);
+
+ return $this->_normalize(new static($left & $right, 256));
+ }
+
+ $result = $this->copy();
+
+ $length = min(count($x->value), count($this->value));
+
+ $result->value = array_slice($result->value, 0, $length);
+
+ for ($i = 0; $i < $length; ++$i) {
+ $result->value[$i]&= $x->value[$i];
+ }
+
+ return $this->_normalize($result);
+ }
+
+ /**
+ * Logical Or
+ *
+ * @param \phpseclib\Math\BigInteger $x
+ * @access public
+ * @internal Implemented per a request by Lluis Pamies i Juarez <lluis _a_ pamies.cat>
+ * @return \phpseclib\Math\BigInteger
+ */
+ function bitwise_or($x)
+ {
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ $temp = new static();
+ $temp->value = gmp_or($this->value, $x->value);
+
+ return $this->_normalize($temp);
+ case self::MODE_BCMATH:
+ $left = $this->toBytes();
+ $right = $x->toBytes();
+
+ $length = max(strlen($left), strlen($right));
+
+ $left = str_pad($left, $length, chr(0), STR_PAD_LEFT);
+ $right = str_pad($right, $length, chr(0), STR_PAD_LEFT);
+
+ return $this->_normalize(new static($left | $right, 256));
+ }
+
+ $length = max(count($this->value), count($x->value));
+ $result = $this->copy();
+ $result->value = array_pad($result->value, $length, 0);
+ $x->value = array_pad($x->value, $length, 0);
+
+ for ($i = 0; $i < $length; ++$i) {
+ $result->value[$i]|= $x->value[$i];
+ }
+
+ return $this->_normalize($result);
+ }
+
+ /**
+ * Logical Exclusive-Or
+ *
+ * @param \phpseclib\Math\BigInteger $x
+ * @access public
+ * @internal Implemented per a request by Lluis Pamies i Juarez <lluis _a_ pamies.cat>
+ * @return \phpseclib\Math\BigInteger
+ */
+ function bitwise_xor($x)
+ {
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ $temp = new static();
+ $temp->value = gmp_xor($this->value, $x->value);
+
+ return $this->_normalize($temp);
+ case self::MODE_BCMATH:
+ $left = $this->toBytes();
+ $right = $x->toBytes();
+
+ $length = max(strlen($left), strlen($right));
+
+ $left = str_pad($left, $length, chr(0), STR_PAD_LEFT);
+ $right = str_pad($right, $length, chr(0), STR_PAD_LEFT);
+
+ return $this->_normalize(new static($left ^ $right, 256));
+ }
+
+ $length = max(count($this->value), count($x->value));
+ $result = $this->copy();
+ $result->value = array_pad($result->value, $length, 0);
+ $x->value = array_pad($x->value, $length, 0);
+
+ for ($i = 0; $i < $length; ++$i) {
+ $result->value[$i]^= $x->value[$i];
+ }
+
+ return $this->_normalize($result);
+ }
+
+ /**
+ * Logical Not
+ *
+ * @access public
+ * @internal Implemented per a request by Lluis Pamies i Juarez <lluis _a_ pamies.cat>
+ * @return \phpseclib\Math\BigInteger
+ */
+ function bitwise_not()
+ {
+ // calculuate "not" without regard to $this->precision
+ // (will always result in a smaller number. ie. ~1 isn't 1111 1110 - it's 0)
+ $temp = $this->toBytes();
+ if ($temp == '') {
+ return '';
+ }
+ $pre_msb = decbin(ord($temp[0]));
+ $temp = ~$temp;
+ $msb = decbin(ord($temp[0]));
+ if (strlen($msb) == 8) {
+ $msb = substr($msb, strpos($msb, '0'));
+ }
+ $temp[0] = chr(bindec($msb));
+
+ // see if we need to add extra leading 1's
+ $current_bits = strlen($pre_msb) + 8 * strlen($temp) - 8;
+ $new_bits = $this->precision - $current_bits;
+ if ($new_bits <= 0) {
+ return $this->_normalize(new static($temp, 256));
+ }
+
+ // generate as many leading 1's as we need to.
+ $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
+ $this->_base256_lshift($leading_ones, $current_bits);
+
+ $temp = str_pad($temp, strlen($leading_ones), chr(0), STR_PAD_LEFT);
+
+ return $this->_normalize(new static($leading_ones | $temp, 256));
+ }
+
+ /**
+ * Logical Right Shift
+ *
+ * Shifts BigInteger's by $shift bits, effectively dividing by 2**$shift.
+ *
+ * @param int $shift
+ * @return \phpseclib\Math\BigInteger
+ * @access public
+ * @internal The only version that yields any speed increases is the internal version.
+ */
+ function bitwise_rightShift($shift)
+ {
+ $temp = new static();
+
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ static $two;
+
+ if (!isset($two)) {
+ $two = gmp_init('2');
+ }
+
+ $temp->value = gmp_div_q($this->value, gmp_pow($two, $shift));
+
+ break;
+ case self::MODE_BCMATH:
+ $temp->value = bcdiv($this->value, bcpow('2', $shift, 0), 0);
+
+ break;
+ default: // could just replace _lshift with this, but then all _lshift() calls would need to be rewritten
+ // and I don't want to do that...
+ $temp->value = $this->value;
+ $temp->_rshift($shift);
+ }
+
+ return $this->_normalize($temp);
+ }
+
+ /**
+ * Logical Left Shift
+ *
+ * Shifts BigInteger's by $shift bits, effectively multiplying by 2**$shift.
+ *
+ * @param int $shift
+ * @return \phpseclib\Math\BigInteger
+ * @access public
+ * @internal The only version that yields any speed increases is the internal version.
+ */
+ function bitwise_leftShift($shift)
+ {
+ $temp = new static();
+
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ static $two;
+
+ if (!isset($two)) {
+ $two = gmp_init('2');
+ }
+
+ $temp->value = gmp_mul($this->value, gmp_pow($two, $shift));
+
+ break;
+ case self::MODE_BCMATH:
+ $temp->value = bcmul($this->value, bcpow('2', $shift, 0), 0);
+
+ break;
+ default: // could just replace _rshift with this, but then all _lshift() calls would need to be rewritten
+ // and I don't want to do that...
+ $temp->value = $this->value;
+ $temp->_lshift($shift);
+ }
+
+ return $this->_normalize($temp);
+ }
+
+ /**
+ * Logical Left Rotate
+ *
+ * Instead of the top x bits being dropped they're appended to the shifted bit string.
+ *
+ * @param int $shift
+ * @return \phpseclib\Math\BigInteger
+ * @access public
+ */
+ function bitwise_leftRotate($shift)
+ {
+ $bits = $this->toBytes();
+
+ if ($this->precision > 0) {
+ $precision = $this->precision;
+ if (MATH_BIGINTEGER_MODE == self::MODE_BCMATH) {
+ $mask = $this->bitmask->subtract(new static(1));
+ $mask = $mask->toBytes();
+ } else {
+ $mask = $this->bitmask->toBytes();
+ }
+ } else {
+ $temp = ord($bits[0]);
+ for ($i = 0; $temp >> $i; ++$i) {
+ }
+ $precision = 8 * strlen($bits) - 8 + $i;
+ $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
+ }
+
+ if ($shift < 0) {
+ $shift+= $precision;
+ }
+ $shift%= $precision;
+
+ if (!$shift) {
+ return $this->copy();
+ }
+
+ $left = $this->bitwise_leftShift($shift);
+ $left = $left->bitwise_and(new static($mask, 256));
+ $right = $this->bitwise_rightShift($precision - $shift);
+ $result = MATH_BIGINTEGER_MODE != self::MODE_BCMATH ? $left->bitwise_or($right) : $left->add($right);
+ return $this->_normalize($result);
+ }
+
+ /**
+ * Logical Right Rotate
+ *
+ * Instead of the bottom x bits being dropped they're prepended to the shifted bit string.
+ *
+ * @param int $shift
+ * @return \phpseclib\Math\BigInteger
+ * @access public
+ */
+ function bitwise_rightRotate($shift)
+ {
+ return $this->bitwise_leftRotate(-$shift);
+ }
+
+ /**
+ * Generates a random BigInteger
+ *
+ * Byte length is equal to $length. Uses \phpseclib\Crypt\Random if it's loaded and mt_rand if it's not.
+ *
+ * @param int $length
+ * @return \phpseclib\Math\BigInteger
+ * @access private
+ */
+ function _random_number_helper($size)
+ {
+ if (class_exists('\phpseclib\Crypt\Random')) {
+ $random = Random::string($size);
+ } else {
+ $random = '';
+
+ if ($size & 1) {
+ $random.= chr(mt_rand(0, 255));
+ }
+
+ $blocks = $size >> 1;
+ for ($i = 0; $i < $blocks; ++$i) {
+ // mt_rand(-2147483648, 0x7FFFFFFF) always produces -2147483648 on some systems
+ $random.= pack('n', mt_rand(0, 0xFFFF));
+ }
+ }
+
+ return new static($random, 256);
+ }
+
+ /**
+ * Generate a random number
+ *
+ * Returns a random number between $min and $max where $min and $max
+ * can be defined using one of the two methods:
+ *
+ * $min->random($max)
+ * $max->random($min)
+ *
+ * @param \phpseclib\Math\BigInteger $arg1
+ * @param \phpseclib\Math\BigInteger $arg2
+ * @return \phpseclib\Math\BigInteger
+ * @access public
+ * @internal The API for creating random numbers used to be $a->random($min, $max), where $a was a BigInteger object.
+ * That method is still supported for BC purposes.
+ */
+ function random($arg1, $arg2 = false)
+ {
+ if ($arg1 === false) {
+ return false;
+ }
+
+ if ($arg2 === false) {
+ $max = $arg1;
+ $min = $this;
+ } else {
+ $min = $arg1;
+ $max = $arg2;
+ }
+
+ $compare = $max->compare($min);
+
+ if (!$compare) {
+ return $this->_normalize($min);
+ } elseif ($compare < 0) {
+ // if $min is bigger then $max, swap $min and $max
+ $temp = $max;
+ $max = $min;
+ $min = $temp;
+ }
+
+ static $one;
+ if (!isset($one)) {
+ $one = new static(1);
+ }
+
+ $max = $max->subtract($min->subtract($one));
+ $size = strlen(ltrim($max->toBytes(), chr(0)));
+
+ /*
+ doing $random % $max doesn't work because some numbers will be more likely to occur than others.
+ eg. if $max is 140 and $random's max is 255 then that'd mean both $random = 5 and $random = 145
+ would produce 5 whereas the only value of random that could produce 139 would be 139. ie.
+ not all numbers would be equally likely. some would be more likely than others.
+
+ creating a whole new random number until you find one that is within the range doesn't work
+ because, for sufficiently small ranges, the likelihood that you'd get a number within that range
+ would be pretty small. eg. with $random's max being 255 and if your $max being 1 the probability
+ would be pretty high that $random would be greater than $max.
+
+ phpseclib works around this using the technique described here:
+
+ http://crypto.stackexchange.com/questions/5708/creating-a-small-number-from-a-cryptographically-secure-random-string
+ */
+ $random_max = new static(chr(1) . str_repeat("\0", $size), 256);
+ $random = $this->_random_number_helper($size);
+
+ list($max_multiple) = $random_max->divide($max);
+ $max_multiple = $max_multiple->multiply($max);
+
+ while ($random->compare($max_multiple) >= 0) {
+ $random = $random->subtract($max_multiple);
+ $random_max = $random_max->subtract($max_multiple);
+ $random = $random->bitwise_leftShift(8);
+ $random = $random->add($this->_random_number_helper(1));
+ $random_max = $random_max->bitwise_leftShift(8);
+ list($max_multiple) = $random_max->divide($max);
+ $max_multiple = $max_multiple->multiply($max);
+ }
+ list(, $random) = $random->divide($max);
+
+ return $this->_normalize($random->add($min));
+ }
+
+ /**
+ * Generate a random prime number.
+ *
+ * If there's not a prime within the given range, false will be returned.
+ * If more than $timeout seconds have elapsed, give up and return false.
+ *
+ * @param \phpseclib\Math\BigInteger $arg1
+ * @param \phpseclib\Math\BigInteger $arg2
+ * @param int $timeout
+ * @return Math_BigInteger|false
+ * @access public
+ * @internal See {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap4.pdf#page=15 HAC 4.44}.
+ */
+ function randomPrime($arg1, $arg2 = false, $timeout = false)
+ {
+ if ($arg1 === false) {
+ return false;
+ }
+
+ if ($arg2 === false) {
+ $max = $arg1;
+ $min = $this;
+ } else {
+ $min = $arg1;
+ $max = $arg2;
+ }
+
+ $compare = $max->compare($min);
+
+ if (!$compare) {
+ return $min->isPrime() ? $min : false;
+ } elseif ($compare < 0) {
+ // if $min is bigger then $max, swap $min and $max
+ $temp = $max;
+ $max = $min;
+ $min = $temp;
+ }
+
+ static $one, $two;
+ if (!isset($one)) {
+ $one = new static(1);
+ $two = new static(2);
+ }
+
+ $start = time();
+
+ $x = $this->random($min, $max);
+
+ // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
+ if (MATH_BIGINTEGER_MODE == self::MODE_GMP && extension_loaded('gmp')) {
+ $p = new static();
+ $p->value = gmp_nextprime($x->value);
+
+ if ($p->compare($max) <= 0) {
+ return $p;
+ }
+
+ if (!$min->equals($x)) {
+ $x = $x->subtract($one);
+ }
+
+ return $x->randomPrime($min, $x);
+ }
+
+ if ($x->equals($two)) {
+ return $x;
+ }
+
+ $x->_make_odd();
+ if ($x->compare($max) > 0) {
+ // if $x > $max then $max is even and if $min == $max then no prime number exists between the specified range
+ if ($min->equals($max)) {
+ return false;
+ }
+ $x = $min->copy();
+ $x->_make_odd();
+ }
+
+ $initial_x = $x->copy();
+
+ while (true) {
+ if ($timeout !== false && time() - $start > $timeout) {
+ return false;
+ }
+
+ if ($x->isPrime()) {
+ return $x;
+ }
+
+ $x = $x->add($two);
+
+ if ($x->compare($max) > 0) {
+ $x = $min->copy();
+ if ($x->equals($two)) {
+ return $x;
+ }
+ $x->_make_odd();
+ }
+
+ if ($x->equals($initial_x)) {
+ return false;
+ }
+ }
+ }
+
+ /**
+ * Make the current number odd
+ *
+ * If the current number is odd it'll be unchanged. If it's even, one will be added to it.
+ *
+ * @see self::randomPrime()
+ * @access private
+ */
+ function _make_odd()
+ {
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ gmp_setbit($this->value, 0);
+ break;
+ case self::MODE_BCMATH:
+ if ($this->value[strlen($this->value) - 1] % 2 == 0) {
+ $this->value = bcadd($this->value, '1');
+ }
+ break;
+ default:
+ $this->value[0] |= 1;
+ }
+ }
+
+ /**
+ * Checks a numer to see if it's prime
+ *
+ * Assuming the $t parameter is not set, this function has an error rate of 2**-80. The main motivation for the
+ * $t parameter is distributability. BigInteger::randomPrime() can be distributed across multiple pageloads
+ * on a website instead of just one.
+ *
+ * @param \phpseclib\Math\BigInteger $t
+ * @return bool
+ * @access public
+ * @internal Uses the
+ * {@link http://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality_test Miller-Rabin primality test}. See
+ * {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap4.pdf#page=8 HAC 4.24}.
+ */
+ function isPrime($t = false)
+ {
+ $length = strlen($this->toBytes());
+
+ if (!$t) {
+ // see HAC 4.49 "Note (controlling the error probability)"
+ // @codingStandardsIgnoreStart
+ if ($length >= 163) { $t = 2; } // floor(1300 / 8)
+ else if ($length >= 106) { $t = 3; } // floor( 850 / 8)
+ else if ($length >= 81 ) { $t = 4; } // floor( 650 / 8)
+ else if ($length >= 68 ) { $t = 5; } // floor( 550 / 8)
+ else if ($length >= 56 ) { $t = 6; } // floor( 450 / 8)
+ else if ($length >= 50 ) { $t = 7; } // floor( 400 / 8)
+ else if ($length >= 43 ) { $t = 8; } // floor( 350 / 8)
+ else if ($length >= 37 ) { $t = 9; } // floor( 300 / 8)
+ else if ($length >= 31 ) { $t = 12; } // floor( 250 / 8)
+ else if ($length >= 25 ) { $t = 15; } // floor( 200 / 8)
+ else if ($length >= 18 ) { $t = 18; } // floor( 150 / 8)
+ else { $t = 27; }
+ // @codingStandardsIgnoreEnd
+ }
+
+ // ie. gmp_testbit($this, 0)
+ // ie. isEven() or !isOdd()
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ return gmp_prob_prime($this->value, $t) != 0;
+ case self::MODE_BCMATH:
+ if ($this->value === '2') {
+ return true;
+ }
+ if ($this->value[strlen($this->value) - 1] % 2 == 0) {
+ return false;
+ }
+ break;
+ default:
+ if ($this->value == array(2)) {
+ return true;
+ }
+ if (~$this->value[0] & 1) {
+ return false;
+ }
+ }
+
+ static $primes, $zero, $one, $two;
+
+ if (!isset($primes)) {
+ $primes = array(
+ 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59,
+ 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137,
+ 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227,
+ 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313,
+ 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419,
+ 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509,
+ 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617,
+ 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727,
+ 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829,
+ 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947,
+ 953, 967, 971, 977, 983, 991, 997
+ );
+
+ if (MATH_BIGINTEGER_MODE != self::MODE_INTERNAL) {
+ for ($i = 0; $i < count($primes); ++$i) {
+ $primes[$i] = new static($primes[$i]);
+ }
+ }
+
+ $zero = new static();
+ $one = new static(1);
+ $two = new static(2);
+ }
+
+ if ($this->equals($one)) {
+ return false;
+ }
+
+ // see HAC 4.4.1 "Random search for probable primes"
+ if (MATH_BIGINTEGER_MODE != self::MODE_INTERNAL) {
+ foreach ($primes as $prime) {
+ list(, $r) = $this->divide($prime);
+ if ($r->equals($zero)) {
+ return $this->equals($prime);
+ }
+ }
+ } else {
+ $value = $this->value;
+ foreach ($primes as $prime) {
+ list(, $r) = $this->_divide_digit($value, $prime);
+ if (!$r) {
+ return count($value) == 1 && $value[0] == $prime;
+ }
+ }
+ }
+
+ $n = $this->copy();
+ $n_1 = $n->subtract($one);
+ $n_2 = $n->subtract($two);
+
+ $r = $n_1->copy();
+ $r_value = $r->value;
+ // ie. $s = gmp_scan1($n, 0) and $r = gmp_div_q($n, gmp_pow(gmp_init('2'), $s));
+ if (MATH_BIGINTEGER_MODE == self::MODE_BCMATH) {
+ $s = 0;
+ // if $n was 1, $r would be 0 and this would be an infinite loop, hence our $this->equals($one) check earlier
+ while ($r->value[strlen($r->value) - 1] % 2 == 0) {
+ $r->value = bcdiv($r->value, '2', 0);
+ ++$s;
+ }
+ } else {
+ for ($i = 0, $r_length = count($r_value); $i < $r_length; ++$i) {
+ $temp = ~$r_value[$i] & 0xFFFFFF;
+ for ($j = 1; ($temp >> $j) & 1; ++$j) {
+ }
+ if ($j != 25) {
+ break;
+ }
+ }
+ $s = 26 * $i + $j - 1;
+ $r->_rshift($s);
+ }
+
+ for ($i = 0; $i < $t; ++$i) {
+ $a = $this->random($two, $n_2);
+ $y = $a->modPow($r, $n);
+
+ if (!$y->equals($one) && !$y->equals($n_1)) {
+ for ($j = 1; $j < $s && !$y->equals($n_1); ++$j) {
+ $y = $y->modPow($two, $n);
+ if ($y->equals($one)) {
+ return false;
+ }
+ }
+
+ if (!$y->equals($n_1)) {
+ return false;
+ }
+ }
+ }
+ return true;
+ }
+
+ /**
+ * Logical Left Shift
+ *
+ * Shifts BigInteger's by $shift bits.
+ *
+ * @param int $shift
+ * @access private
+ */
+ function _lshift($shift)
+ {
+ if ($shift == 0) {
+ return;
+ }
+
+ $num_digits = (int) ($shift / self::$base);
+ $shift %= self::$base;
+ $shift = 1 << $shift;
+
+ $carry = 0;
+
+ for ($i = 0; $i < count($this->value); ++$i) {
+ $temp = $this->value[$i] * $shift + $carry;
+ $carry = self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31);
+ $this->value[$i] = (int) ($temp - $carry * self::$baseFull);
+ }
+
+ if ($carry) {
+ $this->value[count($this->value)] = $carry;
+ }
+
+ while ($num_digits--) {
+ array_unshift($this->value, 0);
+ }
+ }
+
+ /**
+ * Logical Right Shift
+ *
+ * Shifts BigInteger's by $shift bits.
+ *
+ * @param int $shift
+ * @access private
+ */
+ function _rshift($shift)
+ {
+ if ($shift == 0) {
+ return;
+ }
+
+ $num_digits = (int) ($shift / self::$base);
+ $shift %= self::$base;
+ $carry_shift = self::$base - $shift;
+ $carry_mask = (1 << $shift) - 1;
+
+ if ($num_digits) {
+ $this->value = array_slice($this->value, $num_digits);
+ }
+
+ $carry = 0;
+
+ for ($i = count($this->value) - 1; $i >= 0; --$i) {
+ $temp = $this->value[$i] >> $shift | $carry;
+ $carry = ($this->value[$i] & $carry_mask) << $carry_shift;
+ $this->value[$i] = $temp;
+ }
+
+ $this->value = $this->_trim($this->value);
+ }
+
+ /**
+ * Normalize
+ *
+ * Removes leading zeros and truncates (if necessary) to maintain the appropriate precision
+ *
+ * @param \phpseclib\Math\BigInteger
+ * @return \phpseclib\Math\BigInteger
+ * @see self::_trim()
+ * @access private
+ */
+ function _normalize($result)
+ {
+ $result->precision = $this->precision;
+ $result->bitmask = $this->bitmask;
+
+ switch (MATH_BIGINTEGER_MODE) {
+ case self::MODE_GMP:
+ if ($this->bitmask !== false) {
+ $result->value = gmp_and($result->value, $result->bitmask->value);
+ }
+
+ return $result;
+ case self::MODE_BCMATH:
+ if (!empty($result->bitmask->value)) {
+ $result->value = bcmod($result->value, $result->bitmask->value);
+ }
+
+ return $result;
+ }
+
+ $value = &$result->value;
+
+ if (!count($value)) {
+ return $result;
+ }
+
+ $value = $this->_trim($value);
+
+ if (!empty($result->bitmask->value)) {
+ $length = min(count($value), count($this->bitmask->value));
+ $value = array_slice($value, 0, $length);
+
+ for ($i = 0; $i < $length; ++$i) {
+ $value[$i] = $value[$i] & $this->bitmask->value[$i];
+ }
+ }
+
+ return $result;
+ }
+
+ /**
+ * Trim
+ *
+ * Removes leading zeros
+ *
+ * @param array $value
+ * @return \phpseclib\Math\BigInteger
+ * @access private
+ */
+ function _trim($value)
+ {
+ for ($i = count($value) - 1; $i >= 0; --$i) {
+ if ($value[$i]) {
+ break;
+ }
+ unset($value[$i]);
+ }
+
+ return $value;
+ }
+
+ /**
+ * Array Repeat
+ *
+ * @param $input Array
+ * @param $multiplier mixed
+ * @return array
+ * @access private
+ */
+ function _array_repeat($input, $multiplier)
+ {
+ return ($multiplier) ? array_fill(0, $multiplier, $input) : array();
+ }
+
+ /**
+ * Logical Left Shift
+ *
+ * Shifts binary strings $shift bits, essentially multiplying by 2**$shift.
+ *
+ * @param $x String
+ * @param $shift Integer
+ * @return string
+ * @access private
+ */
+ function _base256_lshift(&$x, $shift)
+ {
+ if ($shift == 0) {
+ return;
+ }
+
+ $num_bytes = $shift >> 3; // eg. floor($shift/8)
+ $shift &= 7; // eg. $shift % 8
+
+ $carry = 0;
+ for ($i = strlen($x) - 1; $i >= 0; --$i) {
+ $temp = ord($x[$i]) << $shift | $carry;
+ $x[$i] = chr($temp);
+ $carry = $temp >> 8;
+ }
+ $carry = ($carry != 0) ? chr($carry) : '';
+ $x = $carry . $x . str_repeat(chr(0), $num_bytes);
+ }
+
+ /**
+ * Logical Right Shift
+ *
+ * Shifts binary strings $shift bits, essentially dividing by 2**$shift and returning the remainder.
+ *
+ * @param $x String
+ * @param $shift Integer
+ * @return string
+ * @access private
+ */
+ function _base256_rshift(&$x, $shift)
+ {
+ if ($shift == 0) {
+ $x = ltrim($x, chr(0));
+ return '';
+ }
+
+ $num_bytes = $shift >> 3; // eg. floor($shift/8)
+ $shift &= 7; // eg. $shift % 8
+
+ $remainder = '';
+ if ($num_bytes) {
+ $start = $num_bytes > strlen($x) ? -strlen($x) : -$num_bytes;
+ $remainder = substr($x, $start);
+ $x = substr($x, 0, -$num_bytes);
+ }
+
+ $carry = 0;
+ $carry_shift = 8 - $shift;
+ for ($i = 0; $i < strlen($x); ++$i) {
+ $temp = (ord($x[$i]) >> $shift) | $carry;
+ $carry = (ord($x[$i]) << $carry_shift) & 0xFF;
+ $x[$i] = chr($temp);
+ }
+ $x = ltrim($x, chr(0));
+
+ $remainder = chr($carry >> $carry_shift) . $remainder;
+
+ return ltrim($remainder, chr(0));
+ }
+
+ // one quirk about how the following functions are implemented is that PHP defines N to be an unsigned long
+ // at 32-bits, while java's longs are 64-bits.
+
+ /**
+ * Converts 32-bit integers to bytes.
+ *
+ * @param int $x
+ * @return string
+ * @access private
+ */
+ function _int2bytes($x)
+ {
+ return ltrim(pack('N', $x), chr(0));
+ }
+
+ /**
+ * Converts bytes to 32-bit integers
+ *
+ * @param string $x
+ * @return int
+ * @access private
+ */
+ function _bytes2int($x)
+ {
+ $temp = unpack('Nint', str_pad($x, 4, chr(0), STR_PAD_LEFT));
+ return $temp['int'];
+ }
+
+ /**
+ * DER-encode an integer
+ *
+ * The ability to DER-encode integers is needed to create RSA public keys for use with OpenSSL
+ *
+ * @see self::modPow()
+ * @access private
+ * @param int $length
+ * @return string
+ */
+ function _encodeASN1Length($length)
+ {
+ if ($length <= 0x7F) {
+ return chr($length);
+ }
+
+ $temp = ltrim(pack('N', $length), chr(0));
+ return pack('Ca*', 0x80 | strlen($temp), $temp);
+ }
+
+ /**
+ * Single digit division
+ *
+ * Even if int64 is being used the division operator will return a float64 value
+ * if the dividend is not evenly divisible by the divisor. Since a float64 doesn't
+ * have the precision of int64 this is a problem so, when int64 is being used,
+ * we'll guarantee that the dividend is divisible by first subtracting the remainder.
+ *
+ * @access private
+ * @param int $x
+ * @param int $y
+ * @return int
+ */
+ function _safe_divide($x, $y)
+ {
+ if (self::$base === 26) {
+ return (int) ($x / $y);
+ }
+
+ // self::$base === 31
+ return ($x - ($x % $y)) / $y;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SCP.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SCP.php
new file mode 100644
index 00000000..f95bce6d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SCP.php
@@ -0,0 +1,337 @@
+<?php
+
+/**
+ * Pure-PHP implementation of SCP.
+ *
+ * PHP version 5
+ *
+ * The API for this library is modeled after the API from PHP's {@link http://php.net/book.ftp FTP extension}.
+ *
+ * Here's a short example of how to use this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $ssh = new \phpseclib\Net\SSH2('www.domain.tld');
+ * if (!$ssh->login('username', 'password')) {
+ * exit('bad login');
+ * }
+ * $scp = new \phpseclib\Net\SCP($ssh);
+ *
+ * $scp->put('abcd', str_repeat('x', 1024*1024));
+ * ?>
+ * </code>
+ *
+ * @category Net
+ * @package SCP
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2010 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Net;
+
+/**
+ * Pure-PHP implementations of SCP.
+ *
+ * @package SCP
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class SCP
+{
+ /**#@+
+ * @access public
+ * @see \phpseclib\Net\SCP::put()
+ */
+ /**
+ * Reads data from a local file.
+ */
+ const SOURCE_LOCAL_FILE = 1;
+ /**
+ * Reads data from a string.
+ */
+ const SOURCE_STRING = 2;
+ /**#@-*/
+
+ /**#@+
+ * @access private
+ * @see \phpseclib\Net\SCP::_send()
+ * @see \phpseclib\Net\SCP::_receive()
+ */
+ /**
+ * SSH1 is being used.
+ */
+ const MODE_SSH1 = 1;
+ /**
+ * SSH2 is being used.
+ */
+ const MODE_SSH2 = 2;
+ /**#@-*/
+
+ /**
+ * SSH Object
+ *
+ * @var object
+ * @access private
+ */
+ var $ssh;
+
+ /**
+ * Packet Size
+ *
+ * @var int
+ * @access private
+ */
+ var $packet_size;
+
+ /**
+ * Mode
+ *
+ * @var int
+ * @access private
+ */
+ var $mode;
+
+ /**
+ * Default Constructor.
+ *
+ * Connects to an SSH server
+ *
+ * @param \phpseclib\Net\SSH1|\phpseclib\Net\SSH2 $ssh
+ * @return \phpseclib\Net\SCP
+ * @access public
+ */
+ function __construct($ssh)
+ {
+ if ($ssh instanceof SSH2) {
+ $this->mode = self::MODE_SSH2;
+ } elseif ($ssh instanceof SSH1) {
+ $this->packet_size = 50000;
+ $this->mode = self::MODE_SSH1;
+ } else {
+ return;
+ }
+
+ $this->ssh = $ssh;
+ }
+
+ /**
+ * Uploads a file to the SCP server.
+ *
+ * By default, \phpseclib\Net\SCP::put() does not read from the local filesystem. $data is dumped directly into $remote_file.
+ * So, for example, if you set $data to 'filename.ext' and then do \phpseclib\Net\SCP::get(), you will get a file, twelve bytes
+ * long, containing 'filename.ext' as its contents.
+ *
+ * Setting $mode to self::SOURCE_LOCAL_FILE will change the above behavior. With self::SOURCE_LOCAL_FILE, $remote_file will
+ * contain as many bytes as filename.ext does on your local filesystem. If your filename.ext is 1MB then that is how
+ * large $remote_file will be, as well.
+ *
+ * Currently, only binary mode is supported. As such, if the line endings need to be adjusted, you will need to take
+ * care of that, yourself.
+ *
+ * @param string $remote_file
+ * @param string $data
+ * @param int $mode
+ * @param callable $callback
+ * @return bool
+ * @access public
+ */
+ function put($remote_file, $data, $mode = self::SOURCE_STRING, $callback = null)
+ {
+ if (!isset($this->ssh)) {
+ return false;
+ }
+
+ if (!$this->ssh->exec('scp -t ' . escapeshellarg($remote_file), false)) { // -t = to
+ return false;
+ }
+
+ $temp = $this->_receive();
+ if ($temp !== chr(0)) {
+ return false;
+ }
+
+ if ($this->mode == self::MODE_SSH2) {
+ $this->packet_size = $this->ssh->packet_size_client_to_server[SSH2::CHANNEL_EXEC] - 4;
+ }
+
+ $remote_file = basename($remote_file);
+
+ if ($mode == self::SOURCE_STRING) {
+ $size = strlen($data);
+ } else {
+ if (!is_file($data)) {
+ user_error("$data is not a valid file", E_USER_NOTICE);
+ return false;
+ }
+
+ $fp = @fopen($data, 'rb');
+ if (!$fp) {
+ return false;
+ }
+ $size = filesize($data);
+ }
+
+ $this->_send('C0644 ' . $size . ' ' . $remote_file . "\n");
+
+ $temp = $this->_receive();
+ if ($temp !== chr(0)) {
+ return false;
+ }
+
+ $sent = 0;
+ while ($sent < $size) {
+ $temp = $mode & self::SOURCE_STRING ? substr($data, $sent, $this->packet_size) : fread($fp, $this->packet_size);
+ $this->_send($temp);
+ $sent+= strlen($temp);
+
+ if (is_callable($callback)) {
+ call_user_func($callback, $sent);
+ }
+ }
+ $this->_close();
+
+ if ($mode != self::SOURCE_STRING) {
+ fclose($fp);
+ }
+
+ return true;
+ }
+
+ /**
+ * Downloads a file from the SCP server.
+ *
+ * Returns a string containing the contents of $remote_file if $local_file is left undefined or a boolean false if
+ * the operation was unsuccessful. If $local_file is defined, returns true or false depending on the success of the
+ * operation
+ *
+ * @param string $remote_file
+ * @param string $local_file
+ * @return mixed
+ * @access public
+ */
+ function get($remote_file, $local_file = false)
+ {
+ if (!isset($this->ssh)) {
+ return false;
+ }
+
+ if (!$this->ssh->exec('scp -f ' . escapeshellarg($remote_file), false)) { // -f = from
+ return false;
+ }
+
+ $this->_send("\0");
+
+ if (!preg_match('#(?<perms>[^ ]+) (?<size>\d+) (?<name>.+)#', rtrim($this->_receive()), $info)) {
+ return false;
+ }
+
+ $this->_send("\0");
+
+ $size = 0;
+
+ if ($local_file !== false) {
+ $fp = @fopen($local_file, 'wb');
+ if (!$fp) {
+ return false;
+ }
+ }
+
+ $content = '';
+ while ($size < $info['size']) {
+ $data = $this->_receive();
+ // SCP usually seems to split stuff out into 16k chunks
+ $size+= strlen($data);
+
+ if ($local_file === false) {
+ $content.= $data;
+ } else {
+ fputs($fp, $data);
+ }
+ }
+
+ $this->_close();
+
+ if ($local_file !== false) {
+ fclose($fp);
+ return true;
+ }
+
+ return $content;
+ }
+
+ /**
+ * Sends a packet to an SSH server
+ *
+ * @param string $data
+ * @access private
+ */
+ function _send($data)
+ {
+ switch ($this->mode) {
+ case self::MODE_SSH2:
+ $this->ssh->_send_channel_packet(SSH2::CHANNEL_EXEC, $data);
+ break;
+ case self::MODE_SSH1:
+ $data = pack('CNa*', NET_SSH1_CMSG_STDIN_DATA, strlen($data), $data);
+ $this->ssh->_send_binary_packet($data);
+ }
+ }
+
+ /**
+ * Receives a packet from an SSH server
+ *
+ * @return string
+ * @access private
+ */
+ function _receive()
+ {
+ switch ($this->mode) {
+ case self::MODE_SSH2:
+ return $this->ssh->_get_channel_packet(SSH2::CHANNEL_EXEC, true);
+ case self::MODE_SSH1:
+ if (!$this->ssh->bitmap) {
+ return false;
+ }
+ while (true) {
+ $response = $this->ssh->_get_binary_packet();
+ switch ($response[SSH1::RESPONSE_TYPE]) {
+ case NET_SSH1_SMSG_STDOUT_DATA:
+ if (strlen($response[SSH1::RESPONSE_DATA]) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $response[SSH1::RESPONSE_DATA]));
+ return $this->ssh->_string_shift($response[SSH1::RESPONSE_DATA], $length);
+ case NET_SSH1_SMSG_STDERR_DATA:
+ break;
+ case NET_SSH1_SMSG_EXITSTATUS:
+ $this->ssh->_send_binary_packet(chr(NET_SSH1_CMSG_EXIT_CONFIRMATION));
+ fclose($this->ssh->fsock);
+ $this->ssh->bitmap = 0;
+ return false;
+ default:
+ user_error('Unknown packet received', E_USER_NOTICE);
+ return false;
+ }
+ }
+ }
+ }
+
+ /**
+ * Closes the connection to an SSH server
+ *
+ * @access private
+ */
+ function _close()
+ {
+ switch ($this->mode) {
+ case self::MODE_SSH2:
+ $this->ssh->_close_channel(SSH2::CHANNEL_EXEC, true);
+ break;
+ case self::MODE_SSH1:
+ $this->ssh->disconnect();
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SFTP.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SFTP.php
new file mode 100644
index 00000000..1421ecb4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SFTP.php
@@ -0,0 +1,3063 @@
+<?php
+
+/**
+ * Pure-PHP implementation of SFTP.
+ *
+ * PHP version 5
+ *
+ * Currently only supports SFTPv2 and v3, which, according to wikipedia.org, "is the most widely used version,
+ * implemented by the popular OpenSSH SFTP server". If you want SFTPv4/5/6 support, provide me with access
+ * to an SFTPv4/5/6 server.
+ *
+ * The API for this library is modeled after the API from PHP's {@link http://php.net/book.ftp FTP extension}.
+ *
+ * Here's a short example of how to use this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $sftp = new \phpseclib\Net\SFTP('www.domain.tld');
+ * if (!$sftp->login('username', 'password')) {
+ * exit('Login Failed');
+ * }
+ *
+ * echo $sftp->pwd() . "\r\n";
+ * $sftp->put('filename.ext', 'hello, world!');
+ * print_r($sftp->nlist());
+ * ?>
+ * </code>
+ *
+ * @category Net
+ * @package SFTP
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2009 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Net;
+
+/**
+ * Pure-PHP implementations of SFTP.
+ *
+ * @package SFTP
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class SFTP extends SSH2
+{
+ /**
+ * SFTP channel constant
+ *
+ * \phpseclib\Net\SSH2::exec() uses 0 and \phpseclib\Net\SSH2::read() / \phpseclib\Net\SSH2::write() use 1.
+ *
+ * @see \phpseclib\Net\SSH2::_send_channel_packet()
+ * @see \phpseclib\Net\SSH2::_get_channel_packet()
+ * @access private
+ */
+ const CHANNEL = 0x100;
+
+ /**#@+
+ * @access public
+ * @see \phpseclib\Net\SFTP::put()
+ */
+ /**
+ * Reads data from a local file.
+ */
+ const SOURCE_LOCAL_FILE = 1;
+ /**
+ * Reads data from a string.
+ */
+ // this value isn't really used anymore but i'm keeping it reserved for historical reasons
+ const SOURCE_STRING = 2;
+ /**
+ * Reads data from callback:
+ * function callback($length) returns string to proceed, null for EOF
+ */
+ const SOURCE_CALLBACK = 16;
+ /**
+ * Resumes an upload
+ */
+ const RESUME = 4;
+ /**
+ * Append a local file to an already existing remote file
+ */
+ const RESUME_START = 8;
+ /**#@-*/
+
+ /**
+ * Packet Types
+ *
+ * @see self::__construct()
+ * @var array
+ * @access private
+ */
+ var $packet_types = array();
+
+ /**
+ * Status Codes
+ *
+ * @see self::__construct()
+ * @var array
+ * @access private
+ */
+ var $status_codes = array();
+
+ /**
+ * The Request ID
+ *
+ * The request ID exists in the off chance that a packet is sent out-of-order. Of course, this library doesn't support
+ * concurrent actions, so it's somewhat academic, here.
+ *
+ * @var int
+ * @see self::_send_sftp_packet()
+ * @access private
+ */
+ var $request_id = false;
+
+ /**
+ * The Packet Type
+ *
+ * The request ID exists in the off chance that a packet is sent out-of-order. Of course, this library doesn't support
+ * concurrent actions, so it's somewhat academic, here.
+ *
+ * @var int
+ * @see self::_get_sftp_packet()
+ * @access private
+ */
+ var $packet_type = -1;
+
+ /**
+ * Packet Buffer
+ *
+ * @var string
+ * @see self::_get_sftp_packet()
+ * @access private
+ */
+ var $packet_buffer = '';
+
+ /**
+ * Extensions supported by the server
+ *
+ * @var array
+ * @see self::_initChannel()
+ * @access private
+ */
+ var $extensions = array();
+
+ /**
+ * Server SFTP version
+ *
+ * @var int
+ * @see self::_initChannel()
+ * @access private
+ */
+ var $version;
+
+ /**
+ * Current working directory
+ *
+ * @var string
+ * @see self::_realpath()
+ * @see self::chdir()
+ * @access private
+ */
+ var $pwd = false;
+
+ /**
+ * Packet Type Log
+ *
+ * @see self::getLog()
+ * @var array
+ * @access private
+ */
+ var $packet_type_log = array();
+
+ /**
+ * Packet Log
+ *
+ * @see self::getLog()
+ * @var array
+ * @access private
+ */
+ var $packet_log = array();
+
+ /**
+ * Error information
+ *
+ * @see self::getSFTPErrors()
+ * @see self::getLastSFTPError()
+ * @var string
+ * @access private
+ */
+ var $sftp_errors = array();
+
+ /**
+ * Stat Cache
+ *
+ * Rather than always having to open a directory and close it immediately there after to see if a file is a directory
+ * we'll cache the results.
+ *
+ * @see self::_update_stat_cache()
+ * @see self::_remove_from_stat_cache()
+ * @see self::_query_stat_cache()
+ * @var array
+ * @access private
+ */
+ var $stat_cache = array();
+
+ /**
+ * Max SFTP Packet Size
+ *
+ * @see self::__construct()
+ * @see self::get()
+ * @var array
+ * @access private
+ */
+ var $max_sftp_packet;
+
+ /**
+ * Stat Cache Flag
+ *
+ * @see self::disableStatCache()
+ * @see self::enableStatCache()
+ * @var bool
+ * @access private
+ */
+ var $use_stat_cache = true;
+
+ /**
+ * Sort Options
+ *
+ * @see self::_comparator()
+ * @see self::setListOrder()
+ * @var array
+ * @access private
+ */
+ var $sortOptions = array();
+
+ /**
+ * Default Constructor.
+ *
+ * Connects to an SFTP server
+ *
+ * @param string $host
+ * @param int $port
+ * @param int $timeout
+ * @return \phpseclib\Net\SFTP
+ * @access public
+ */
+ function __construct($host, $port = 22, $timeout = 10)
+ {
+ parent::__construct($host, $port, $timeout);
+
+ $this->max_sftp_packet = 1 << 15;
+
+ $this->packet_types = array(
+ 1 => 'NET_SFTP_INIT',
+ 2 => 'NET_SFTP_VERSION',
+ /* the format of SSH_FXP_OPEN changed between SFTPv4 and SFTPv5+:
+ SFTPv5+: http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.1.1
+ pre-SFTPv5 : http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-6.3 */
+ 3 => 'NET_SFTP_OPEN',
+ 4 => 'NET_SFTP_CLOSE',
+ 5 => 'NET_SFTP_READ',
+ 6 => 'NET_SFTP_WRITE',
+ 7 => 'NET_SFTP_LSTAT',
+ 9 => 'NET_SFTP_SETSTAT',
+ 11 => 'NET_SFTP_OPENDIR',
+ 12 => 'NET_SFTP_READDIR',
+ 13 => 'NET_SFTP_REMOVE',
+ 14 => 'NET_SFTP_MKDIR',
+ 15 => 'NET_SFTP_RMDIR',
+ 16 => 'NET_SFTP_REALPATH',
+ 17 => 'NET_SFTP_STAT',
+ /* the format of SSH_FXP_RENAME changed between SFTPv4 and SFTPv5+:
+ SFTPv5+: http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.3
+ pre-SFTPv5 : http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-6.5 */
+ 18 => 'NET_SFTP_RENAME',
+ 19 => 'NET_SFTP_READLINK',
+ 20 => 'NET_SFTP_SYMLINK',
+
+ 101=> 'NET_SFTP_STATUS',
+ 102=> 'NET_SFTP_HANDLE',
+ /* the format of SSH_FXP_NAME changed between SFTPv3 and SFTPv4+:
+ SFTPv4+: http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-9.4
+ pre-SFTPv4 : http://tools.ietf.org/html/draft-ietf-secsh-filexfer-02#section-7 */
+ 103=> 'NET_SFTP_DATA',
+ 104=> 'NET_SFTP_NAME',
+ 105=> 'NET_SFTP_ATTRS',
+
+ 200=> 'NET_SFTP_EXTENDED'
+ );
+ $this->status_codes = array(
+ 0 => 'NET_SFTP_STATUS_OK',
+ 1 => 'NET_SFTP_STATUS_EOF',
+ 2 => 'NET_SFTP_STATUS_NO_SUCH_FILE',
+ 3 => 'NET_SFTP_STATUS_PERMISSION_DENIED',
+ 4 => 'NET_SFTP_STATUS_FAILURE',
+ 5 => 'NET_SFTP_STATUS_BAD_MESSAGE',
+ 6 => 'NET_SFTP_STATUS_NO_CONNECTION',
+ 7 => 'NET_SFTP_STATUS_CONNECTION_LOST',
+ 8 => 'NET_SFTP_STATUS_OP_UNSUPPORTED',
+ 9 => 'NET_SFTP_STATUS_INVALID_HANDLE',
+ 10 => 'NET_SFTP_STATUS_NO_SUCH_PATH',
+ 11 => 'NET_SFTP_STATUS_FILE_ALREADY_EXISTS',
+ 12 => 'NET_SFTP_STATUS_WRITE_PROTECT',
+ 13 => 'NET_SFTP_STATUS_NO_MEDIA',
+ 14 => 'NET_SFTP_STATUS_NO_SPACE_ON_FILESYSTEM',
+ 15 => 'NET_SFTP_STATUS_QUOTA_EXCEEDED',
+ 16 => 'NET_SFTP_STATUS_UNKNOWN_PRINCIPAL',
+ 17 => 'NET_SFTP_STATUS_LOCK_CONFLICT',
+ 18 => 'NET_SFTP_STATUS_DIR_NOT_EMPTY',
+ 19 => 'NET_SFTP_STATUS_NOT_A_DIRECTORY',
+ 20 => 'NET_SFTP_STATUS_INVALID_FILENAME',
+ 21 => 'NET_SFTP_STATUS_LINK_LOOP',
+ 22 => 'NET_SFTP_STATUS_CANNOT_DELETE',
+ 23 => 'NET_SFTP_STATUS_INVALID_PARAMETER',
+ 24 => 'NET_SFTP_STATUS_FILE_IS_A_DIRECTORY',
+ 25 => 'NET_SFTP_STATUS_BYTE_RANGE_LOCK_CONFLICT',
+ 26 => 'NET_SFTP_STATUS_BYTE_RANGE_LOCK_REFUSED',
+ 27 => 'NET_SFTP_STATUS_DELETE_PENDING',
+ 28 => 'NET_SFTP_STATUS_FILE_CORRUPT',
+ 29 => 'NET_SFTP_STATUS_OWNER_INVALID',
+ 30 => 'NET_SFTP_STATUS_GROUP_INVALID',
+ 31 => 'NET_SFTP_STATUS_NO_MATCHING_BYTE_RANGE_LOCK'
+ );
+ // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-7.1
+ // the order, in this case, matters quite a lot - see \phpseclib\Net\SFTP::_parseAttributes() to understand why
+ $this->attributes = array(
+ 0x00000001 => 'NET_SFTP_ATTR_SIZE',
+ 0x00000002 => 'NET_SFTP_ATTR_UIDGID', // defined in SFTPv3, removed in SFTPv4+
+ 0x00000004 => 'NET_SFTP_ATTR_PERMISSIONS',
+ 0x00000008 => 'NET_SFTP_ATTR_ACCESSTIME',
+ // 0x80000000 will yield a floating point on 32-bit systems and converting floating points to integers
+ // yields inconsistent behavior depending on how php is compiled. so we left shift -1 (which, in
+ // two's compliment, consists of all 1 bits) by 31. on 64-bit systems this'll yield 0xFFFFFFFF80000000.
+ // that's not a problem, however, and 'anded' and a 32-bit number, as all the leading 1 bits are ignored.
+ -1 << 31 => 'NET_SFTP_ATTR_EXTENDED'
+ );
+ // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-6.3
+ // the flag definitions change somewhat in SFTPv5+. if SFTPv5+ support is added to this library, maybe name
+ // the array for that $this->open5_flags and similarly alter the constant names.
+ $this->open_flags = array(
+ 0x00000001 => 'NET_SFTP_OPEN_READ',
+ 0x00000002 => 'NET_SFTP_OPEN_WRITE',
+ 0x00000004 => 'NET_SFTP_OPEN_APPEND',
+ 0x00000008 => 'NET_SFTP_OPEN_CREATE',
+ 0x00000010 => 'NET_SFTP_OPEN_TRUNCATE',
+ 0x00000020 => 'NET_SFTP_OPEN_EXCL'
+ );
+ // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-5.2
+ // see \phpseclib\Net\SFTP::_parseLongname() for an explanation
+ $this->file_types = array(
+ 1 => 'NET_SFTP_TYPE_REGULAR',
+ 2 => 'NET_SFTP_TYPE_DIRECTORY',
+ 3 => 'NET_SFTP_TYPE_SYMLINK',
+ 4 => 'NET_SFTP_TYPE_SPECIAL',
+ 5 => 'NET_SFTP_TYPE_UNKNOWN',
+ // the followin types were first defined for use in SFTPv5+
+ // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-05#section-5.2
+ 6 => 'NET_SFTP_TYPE_SOCKET',
+ 7 => 'NET_SFTP_TYPE_CHAR_DEVICE',
+ 8 => 'NET_SFTP_TYPE_BLOCK_DEVICE',
+ 9 => 'NET_SFTP_TYPE_FIFO'
+ );
+ $this->_define_array(
+ $this->packet_types,
+ $this->status_codes,
+ $this->attributes,
+ $this->open_flags,
+ $this->file_types
+ );
+
+ if (!defined('NET_SFTP_QUEUE_SIZE')) {
+ define('NET_SFTP_QUEUE_SIZE', 32);
+ }
+ }
+
+ /**
+ * Login
+ *
+ * @param string $username
+ * @param string $password
+ * @return bool
+ * @access public
+ */
+ function login($username)
+ {
+ $args = func_get_args();
+ if (!call_user_func_array(array(&$this, '_login'), $args)) {
+ return false;
+ }
+
+ $this->window_size_server_to_client[self::CHANNEL] = $this->window_size;
+
+ $packet = pack(
+ 'CNa*N3',
+ NET_SSH2_MSG_CHANNEL_OPEN,
+ strlen('session'),
+ 'session',
+ self::CHANNEL,
+ $this->window_size,
+ 0x4000
+ );
+
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $this->channel_status[self::CHANNEL] = NET_SSH2_MSG_CHANNEL_OPEN;
+
+ $response = $this->_get_channel_packet(self::CHANNEL);
+ if ($response === false) {
+ return false;
+ }
+
+ $packet = pack(
+ 'CNNa*CNa*',
+ NET_SSH2_MSG_CHANNEL_REQUEST,
+ $this->server_channels[self::CHANNEL],
+ strlen('subsystem'),
+ 'subsystem',
+ 1,
+ strlen('sftp'),
+ 'sftp'
+ );
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $this->channel_status[self::CHANNEL] = NET_SSH2_MSG_CHANNEL_REQUEST;
+
+ $response = $this->_get_channel_packet(self::CHANNEL);
+ if ($response === false) {
+ // from PuTTY's psftp.exe
+ $command = "test -x /usr/lib/sftp-server && exec /usr/lib/sftp-server\n" .
+ "test -x /usr/local/lib/sftp-server && exec /usr/local/lib/sftp-server\n" .
+ "exec sftp-server";
+ // we don't do $this->exec($command, false) because exec() operates on a different channel and plus the SSH_MSG_CHANNEL_OPEN that exec() does
+ // is redundant
+ $packet = pack(
+ 'CNNa*CNa*',
+ NET_SSH2_MSG_CHANNEL_REQUEST,
+ $this->server_channels[self::CHANNEL],
+ strlen('exec'),
+ 'exec',
+ 1,
+ strlen($command),
+ $command
+ );
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $this->channel_status[self::CHANNEL] = NET_SSH2_MSG_CHANNEL_REQUEST;
+
+ $response = $this->_get_channel_packet(self::CHANNEL);
+ if ($response === false) {
+ return false;
+ }
+ }
+
+ $this->channel_status[self::CHANNEL] = NET_SSH2_MSG_CHANNEL_DATA;
+
+ if (!$this->_send_sftp_packet(NET_SFTP_INIT, "\0\0\0\3")) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ if ($this->packet_type != NET_SFTP_VERSION) {
+ user_error('Expected SSH_FXP_VERSION');
+ return false;
+ }
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nversion', $this->_string_shift($response, 4)));
+ $this->version = $version;
+ while (!empty($response)) {
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ $key = $this->_string_shift($response, $length);
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ $value = $this->_string_shift($response, $length);
+ $this->extensions[$key] = $value;
+ }
+
+ /*
+ SFTPv4+ defines a 'newline' extension. SFTPv3 seems to have unofficial support for it via 'newline@vandyke.com',
+ however, I'm not sure what 'newline@vandyke.com' is supposed to do (the fact that it's unofficial means that it's
+ not in the official SFTPv3 specs) and 'newline@vandyke.com' / 'newline' are likely not drop-in substitutes for
+ one another due to the fact that 'newline' comes with a SSH_FXF_TEXT bitmask whereas it seems unlikely that
+ 'newline@vandyke.com' would.
+ */
+ /*
+ if (isset($this->extensions['newline@vandyke.com'])) {
+ $this->extensions['newline'] = $this->extensions['newline@vandyke.com'];
+ unset($this->extensions['newline@vandyke.com']);
+ }
+ */
+
+ $this->request_id = 1;
+
+ /*
+ A Note on SFTPv4/5/6 support:
+ <http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-5.1> states the following:
+
+ "If the client wishes to interoperate with servers that support noncontiguous version
+ numbers it SHOULD send '3'"
+
+ Given that the server only sends its version number after the client has already done so, the above
+ seems to be suggesting that v3 should be the default version. This makes sense given that v3 is the
+ most popular.
+
+ <http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-5.5> states the following;
+
+ "If the server did not send the "versions" extension, or the version-from-list was not included, the
+ server MAY send a status response describing the failure, but MUST then close the channel without
+ processing any further requests."
+
+ So what do you do if you have a client whose initial SSH_FXP_INIT packet says it implements v3 and
+ a server whose initial SSH_FXP_VERSION reply says it implements v4 and only v4? If it only implements
+ v4, the "versions" extension is likely not going to have been sent so version re-negotiation as discussed
+ in draft-ietf-secsh-filexfer-13 would be quite impossible. As such, what \phpseclib\Net\SFTP would do is close the
+ channel and reopen it with a new and updated SSH_FXP_INIT packet.
+ */
+ switch ($this->version) {
+ case 2:
+ case 3:
+ break;
+ default:
+ return false;
+ }
+
+ $this->pwd = $this->_realpath('.');
+
+ $this->_update_stat_cache($this->pwd, array());
+
+ return true;
+ }
+
+ /**
+ * Disable the stat cache
+ *
+ * @access public
+ */
+ function disableStatCache()
+ {
+ $this->use_stat_cache = false;
+ }
+
+ /**
+ * Enable the stat cache
+ *
+ * @access public
+ */
+ function enableStatCache()
+ {
+ $this->use_stat_cache = true;
+ }
+
+ /**
+ * Clear the stat cache
+ *
+ * @access public
+ */
+ function clearStatCache()
+ {
+ $this->stat_cache = array();
+ }
+
+ /**
+ * Returns the current directory name
+ *
+ * @return mixed
+ * @access public
+ */
+ function pwd()
+ {
+ return $this->pwd;
+ }
+
+ /**
+ * Logs errors
+ *
+ * @param string $response
+ * @param int $status
+ * @access public
+ */
+ function _logError($response, $status = -1)
+ {
+ if ($status == -1) {
+ if (strlen($response) < 4) {
+ return;
+ }
+ extract(unpack('Nstatus', $this->_string_shift($response, 4)));
+ }
+
+ $error = $this->status_codes[$status];
+
+ if ($this->version > 2 || strlen($response) < 4) {
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ $this->sftp_errors[] = $error . ': ' . $this->_string_shift($response, $length);
+ } else {
+ $this->sftp_errors[] = $error;
+ }
+ }
+
+ /**
+ * Returns canonicalized absolute pathname
+ *
+ * realpath() expands all symbolic links and resolves references to '/./', '/../' and extra '/' characters in the input
+ * path and returns the canonicalized absolute pathname.
+ *
+ * @param string $path
+ * @return mixed
+ * @access public
+ */
+ function realpath($path)
+ {
+ return $this->_realpath($path);
+ }
+
+ /**
+ * Canonicalize the Server-Side Path Name
+ *
+ * SFTP doesn't provide a mechanism by which the current working directory can be changed, so we'll emulate it. Returns
+ * the absolute (canonicalized) path.
+ *
+ * @see self::chdir()
+ * @param string $path
+ * @return mixed
+ * @access private
+ */
+ function _realpath($path)
+ {
+ if ($this->pwd === false) {
+ // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.9
+ if (!$this->_send_sftp_packet(NET_SFTP_REALPATH, pack('Na*', strlen($path), $path))) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ switch ($this->packet_type) {
+ case NET_SFTP_NAME:
+ // although SSH_FXP_NAME is implemented differently in SFTPv3 than it is in SFTPv4+, the following
+ // should work on all SFTP versions since the only part of the SSH_FXP_NAME packet the following looks
+ // at is the first part and that part is defined the same in SFTP versions 3 through 6.
+ $this->_string_shift($response, 4); // skip over the count - it should be 1, anyway
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ return $this->_string_shift($response, $length);
+ case NET_SFTP_STATUS:
+ $this->_logError($response);
+ return false;
+ default:
+ user_error('Expected SSH_FXP_NAME or SSH_FXP_STATUS');
+ return false;
+ }
+ }
+
+ if ($path[0] != '/') {
+ $path = $this->pwd . '/' . $path;
+ }
+
+ $path = explode('/', $path);
+ $new = array();
+ foreach ($path as $dir) {
+ if (!strlen($dir)) {
+ continue;
+ }
+ switch ($dir) {
+ case '..':
+ array_pop($new);
+ case '.':
+ break;
+ default:
+ $new[] = $dir;
+ }
+ }
+
+ return '/' . implode('/', $new);
+ }
+
+ /**
+ * Changes the current directory
+ *
+ * @param string $dir
+ * @return bool
+ * @access public
+ */
+ function chdir($dir)
+ {
+ if (!($this->bitmap & SSH2::MASK_LOGIN)) {
+ return false;
+ }
+
+ // assume current dir if $dir is empty
+ if ($dir === '') {
+ $dir = './';
+ // suffix a slash if needed
+ } elseif ($dir[strlen($dir) - 1] != '/') {
+ $dir.= '/';
+ }
+
+ $dir = $this->_realpath($dir);
+
+ // confirm that $dir is, in fact, a valid directory
+ if ($this->use_stat_cache && is_array($this->_query_stat_cache($dir))) {
+ $this->pwd = $dir;
+ return true;
+ }
+
+ // we could do a stat on the alleged $dir to see if it's a directory but that doesn't tell us
+ // the currently logged in user has the appropriate permissions or not. maybe you could see if
+ // the file's uid / gid match the currently logged in user's uid / gid but how there's no easy
+ // way to get those with SFTP
+
+ if (!$this->_send_sftp_packet(NET_SFTP_OPENDIR, pack('Na*', strlen($dir), $dir))) {
+ return false;
+ }
+
+ // see \phpseclib\Net\SFTP::nlist() for a more thorough explanation of the following
+ $response = $this->_get_sftp_packet();
+ switch ($this->packet_type) {
+ case NET_SFTP_HANDLE:
+ $handle = substr($response, 4);
+ break;
+ case NET_SFTP_STATUS:
+ $this->_logError($response);
+ return false;
+ default:
+ user_error('Expected SSH_FXP_HANDLE or SSH_FXP_STATUS');
+ return false;
+ }
+
+ if (!$this->_close_handle($handle)) {
+ return false;
+ }
+
+ $this->_update_stat_cache($dir, array());
+
+ $this->pwd = $dir;
+ return true;
+ }
+
+ /**
+ * Returns a list of files in the given directory
+ *
+ * @param string $dir
+ * @param bool $recursive
+ * @return mixed
+ * @access public
+ */
+ function nlist($dir = '.', $recursive = false)
+ {
+ return $this->_nlist_helper($dir, $recursive, '');
+ }
+
+ /**
+ * Helper method for nlist
+ *
+ * @param string $dir
+ * @param bool $recursive
+ * @param string $relativeDir
+ * @return mixed
+ * @access private
+ */
+ function _nlist_helper($dir, $recursive, $relativeDir)
+ {
+ $files = $this->_list($dir, false);
+
+ if (!$recursive || $files === false) {
+ return $files;
+ }
+
+ $result = array();
+ foreach ($files as $value) {
+ if ($value == '.' || $value == '..') {
+ if ($relativeDir == '') {
+ $result[] = $value;
+ }
+ continue;
+ }
+ if (is_array($this->_query_stat_cache($this->_realpath($dir . '/' . $value)))) {
+ $temp = $this->_nlist_helper($dir . '/' . $value, true, $relativeDir . $value . '/');
+ $result = array_merge($result, $temp);
+ } else {
+ $result[] = $relativeDir . $value;
+ }
+ }
+
+ return $result;
+ }
+
+ /**
+ * Returns a detailed list of files in the given directory
+ *
+ * @param string $dir
+ * @param bool $recursive
+ * @return mixed
+ * @access public
+ */
+ function rawlist($dir = '.', $recursive = false)
+ {
+ $files = $this->_list($dir, true);
+ if (!$recursive || $files === false) {
+ return $files;
+ }
+
+ static $depth = 0;
+
+ foreach ($files as $key => $value) {
+ if ($depth != 0 && $key == '..') {
+ unset($files[$key]);
+ continue;
+ }
+ if ($key != '.' && $key != '..' && is_array($this->_query_stat_cache($this->_realpath($dir . '/' . $key)))) {
+ $depth++;
+ $files[$key] = $this->rawlist($dir . '/' . $key, true);
+ $depth--;
+ } else {
+ $files[$key] = (object) $value;
+ }
+ }
+
+ return $files;
+ }
+
+ /**
+ * Reads a list, be it detailed or not, of files in the given directory
+ *
+ * @param string $dir
+ * @param bool $raw
+ * @return mixed
+ * @access private
+ */
+ function _list($dir, $raw = true)
+ {
+ if (!($this->bitmap & SSH2::MASK_LOGIN)) {
+ return false;
+ }
+
+ $dir = $this->_realpath($dir . '/');
+ if ($dir === false) {
+ return false;
+ }
+
+ // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.1.2
+ if (!$this->_send_sftp_packet(NET_SFTP_OPENDIR, pack('Na*', strlen($dir), $dir))) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ switch ($this->packet_type) {
+ case NET_SFTP_HANDLE:
+ // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-9.2
+ // since 'handle' is the last field in the SSH_FXP_HANDLE packet, we'll just remove the first four bytes that
+ // represent the length of the string and leave it at that
+ $handle = substr($response, 4);
+ break;
+ case NET_SFTP_STATUS:
+ // presumably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED
+ $this->_logError($response);
+ return false;
+ default:
+ user_error('Expected SSH_FXP_HANDLE or SSH_FXP_STATUS');
+ return false;
+ }
+
+ $this->_update_stat_cache($dir, array());
+
+ $contents = array();
+ while (true) {
+ // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.2.2
+ // why multiple SSH_FXP_READDIR packets would be sent when the response to a single one can span arbitrarily many
+ // SSH_MSG_CHANNEL_DATA messages is not known to me.
+ if (!$this->_send_sftp_packet(NET_SFTP_READDIR, pack('Na*', strlen($handle), $handle))) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ switch ($this->packet_type) {
+ case NET_SFTP_NAME:
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Ncount', $this->_string_shift($response, 4)));
+ for ($i = 0; $i < $count; $i++) {
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ $shortname = $this->_string_shift($response, $length);
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ $longname = $this->_string_shift($response, $length);
+ $attributes = $this->_parseAttributes($response);
+ if (!isset($attributes['type'])) {
+ $fileType = $this->_parseLongname($longname);
+ if ($fileType) {
+ $attributes['type'] = $fileType;
+ }
+ }
+ $contents[$shortname] = $attributes + array('filename' => $shortname);
+
+ if (isset($attributes['type']) && $attributes['type'] == NET_SFTP_TYPE_DIRECTORY && ($shortname != '.' && $shortname != '..')) {
+ $this->_update_stat_cache($dir . '/' . $shortname, array());
+ } else {
+ if ($shortname == '..') {
+ $temp = $this->_realpath($dir . '/..') . '/.';
+ } else {
+ $temp = $dir . '/' . $shortname;
+ }
+ $this->_update_stat_cache($temp, (object) array('lstat' => $attributes));
+ }
+ // SFTPv6 has an optional boolean end-of-list field, but we'll ignore that, since the
+ // final SSH_FXP_STATUS packet should tell us that, already.
+ }
+ break;
+ case NET_SFTP_STATUS:
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nstatus', $this->_string_shift($response, 4)));
+ if ($status != NET_SFTP_STATUS_EOF) {
+ $this->_logError($response, $status);
+ return false;
+ }
+ break 2;
+ default:
+ user_error('Expected SSH_FXP_NAME or SSH_FXP_STATUS');
+ return false;
+ }
+ }
+
+ if (!$this->_close_handle($handle)) {
+ return false;
+ }
+
+ if (count($this->sortOptions)) {
+ uasort($contents, array(&$this, '_comparator'));
+ }
+
+ return $raw ? $contents : array_keys($contents);
+ }
+
+ /**
+ * Compares two rawlist entries using parameters set by setListOrder()
+ *
+ * Intended for use with uasort()
+ *
+ * @param array $a
+ * @param array $b
+ * @return int
+ * @access private
+ */
+ function _comparator($a, $b)
+ {
+ switch (true) {
+ case $a['filename'] === '.' || $b['filename'] === '.':
+ if ($a['filename'] === $b['filename']) {
+ return 0;
+ }
+ return $a['filename'] === '.' ? -1 : 1;
+ case $a['filename'] === '..' || $b['filename'] === '..':
+ if ($a['filename'] === $b['filename']) {
+ return 0;
+ }
+ return $a['filename'] === '..' ? -1 : 1;
+ case isset($a['type']) && $a['type'] === NET_SFTP_TYPE_DIRECTORY:
+ if (!isset($b['type'])) {
+ return 1;
+ }
+ if ($b['type'] !== $a['type']) {
+ return -1;
+ }
+ break;
+ case isset($b['type']) && $b['type'] === NET_SFTP_TYPE_DIRECTORY:
+ return 1;
+ }
+ foreach ($this->sortOptions as $sort => $order) {
+ if (!isset($a[$sort]) || !isset($b[$sort])) {
+ if (isset($a[$sort])) {
+ return -1;
+ }
+ if (isset($b[$sort])) {
+ return 1;
+ }
+ return 0;
+ }
+ switch ($sort) {
+ case 'filename':
+ $result = strcasecmp($a['filename'], $b['filename']);
+ if ($result) {
+ return $order === SORT_DESC ? -$result : $result;
+ }
+ break;
+ case 'permissions':
+ case 'mode':
+ $a[$sort]&= 07777;
+ $b[$sort]&= 07777;
+ default:
+ if ($a[$sort] === $b[$sort]) {
+ break;
+ }
+ return $order === SORT_ASC ? $a[$sort] - $b[$sort] : $b[$sort] - $a[$sort];
+ }
+ }
+ }
+
+ /**
+ * Defines how nlist() and rawlist() will be sorted - if at all.
+ *
+ * If sorting is enabled directories and files will be sorted independently with
+ * directories appearing before files in the resultant array that is returned.
+ *
+ * Any parameter returned by stat is a valid sort parameter for this function.
+ * Filename comparisons are case insensitive.
+ *
+ * Examples:
+ *
+ * $sftp->setListOrder('filename', SORT_ASC);
+ * $sftp->setListOrder('size', SORT_DESC, 'filename', SORT_ASC);
+ * $sftp->setListOrder(true);
+ * Separates directories from files but doesn't do any sorting beyond that
+ * $sftp->setListOrder();
+ * Don't do any sort of sorting
+ *
+ * @access public
+ */
+ function setListOrder()
+ {
+ $this->sortOptions = array();
+ $args = func_get_args();
+ if (empty($args)) {
+ return;
+ }
+ $len = count($args) & 0x7FFFFFFE;
+ for ($i = 0; $i < $len; $i+=2) {
+ $this->sortOptions[$args[$i]] = $args[$i + 1];
+ }
+ if (!count($this->sortOptions)) {
+ $this->sortOptions = array('bogus' => true);
+ }
+ }
+
+ /**
+ * Returns the file size, in bytes, or false, on failure
+ *
+ * Files larger than 4GB will show up as being exactly 4GB.
+ *
+ * @param string $filename
+ * @return mixed
+ * @access public
+ */
+ function size($filename)
+ {
+ if (!($this->bitmap & SSH2::MASK_LOGIN)) {
+ return false;
+ }
+
+ $result = $this->stat($filename);
+ if ($result === false) {
+ return false;
+ }
+ return isset($result['size']) ? $result['size'] : -1;
+ }
+
+ /**
+ * Save files / directories to cache
+ *
+ * @param string $path
+ * @param mixed $value
+ * @access private
+ */
+ function _update_stat_cache($path, $value)
+ {
+ if ($this->use_stat_cache === false) {
+ return;
+ }
+
+ // preg_replace('#^/|/(?=/)|/$#', '', $dir) == str_replace('//', '/', trim($path, '/'))
+ $dirs = explode('/', preg_replace('#^/|/(?=/)|/$#', '', $path));
+
+ $temp = &$this->stat_cache;
+ $max = count($dirs) - 1;
+ foreach ($dirs as $i => $dir) {
+ // if $temp is an object that means one of two things.
+ // 1. a file was deleted and changed to a directory behind phpseclib's back
+ // 2. it's a symlink. when lstat is done it's unclear what it's a symlink to
+ if (is_object($temp)) {
+ $temp = array();
+ }
+ if (!isset($temp[$dir])) {
+ $temp[$dir] = array();
+ }
+ if ($i === $max) {
+ if (is_object($temp[$dir])) {
+ if (!isset($value->stat) && isset($temp[$dir]->stat)) {
+ $value->stat = $temp[$dir]->stat;
+ }
+ if (!isset($value->lstat) && isset($temp[$dir]->lstat)) {
+ $value->lstat = $temp[$dir]->lstat;
+ }
+ }
+ $temp[$dir] = $value;
+ break;
+ }
+ $temp = &$temp[$dir];
+ }
+ }
+
+ /**
+ * Remove files / directories from cache
+ *
+ * @param string $path
+ * @return bool
+ * @access private
+ */
+ function _remove_from_stat_cache($path)
+ {
+ $dirs = explode('/', preg_replace('#^/|/(?=/)|/$#', '', $path));
+
+ $temp = &$this->stat_cache;
+ $max = count($dirs) - 1;
+ foreach ($dirs as $i => $dir) {
+ if ($i === $max) {
+ unset($temp[$dir]);
+ return true;
+ }
+ if (!isset($temp[$dir])) {
+ return false;
+ }
+ $temp = &$temp[$dir];
+ }
+ }
+
+ /**
+ * Checks cache for path
+ *
+ * Mainly used by file_exists
+ *
+ * @param string $dir
+ * @return mixed
+ * @access private
+ */
+ function _query_stat_cache($path)
+ {
+ $dirs = explode('/', preg_replace('#^/|/(?=/)|/$#', '', $path));
+
+ $temp = &$this->stat_cache;
+ foreach ($dirs as $dir) {
+ if (!isset($temp[$dir])) {
+ return null;
+ }
+ $temp = &$temp[$dir];
+ }
+ return $temp;
+ }
+
+ /**
+ * Returns general information about a file.
+ *
+ * Returns an array on success and false otherwise.
+ *
+ * @param string $filename
+ * @return mixed
+ * @access public
+ */
+ function stat($filename)
+ {
+ if (!($this->bitmap & SSH2::MASK_LOGIN)) {
+ return false;
+ }
+
+ $filename = $this->_realpath($filename);
+ if ($filename === false) {
+ return false;
+ }
+
+ if ($this->use_stat_cache) {
+ $result = $this->_query_stat_cache($filename);
+ if (is_array($result) && isset($result['.']) && isset($result['.']->stat)) {
+ return $result['.']->stat;
+ }
+ if (is_object($result) && isset($result->stat)) {
+ return $result->stat;
+ }
+ }
+
+ $stat = $this->_stat($filename, NET_SFTP_STAT);
+ if ($stat === false) {
+ $this->_remove_from_stat_cache($filename);
+ return false;
+ }
+ if (isset($stat['type'])) {
+ if ($stat['type'] == NET_SFTP_TYPE_DIRECTORY) {
+ $filename.= '/.';
+ }
+ $this->_update_stat_cache($filename, (object) array('stat' => $stat));
+ return $stat;
+ }
+
+ $pwd = $this->pwd;
+ $stat['type'] = $this->chdir($filename) ?
+ NET_SFTP_TYPE_DIRECTORY :
+ NET_SFTP_TYPE_REGULAR;
+ $this->pwd = $pwd;
+
+ if ($stat['type'] == NET_SFTP_TYPE_DIRECTORY) {
+ $filename.= '/.';
+ }
+ $this->_update_stat_cache($filename, (object) array('stat' => $stat));
+
+ return $stat;
+ }
+
+ /**
+ * Returns general information about a file or symbolic link.
+ *
+ * Returns an array on success and false otherwise.
+ *
+ * @param string $filename
+ * @return mixed
+ * @access public
+ */
+ function lstat($filename)
+ {
+ if (!($this->bitmap & SSH2::MASK_LOGIN)) {
+ return false;
+ }
+
+ $filename = $this->_realpath($filename);
+ if ($filename === false) {
+ return false;
+ }
+
+ if ($this->use_stat_cache) {
+ $result = $this->_query_stat_cache($filename);
+ if (is_array($result) && isset($result['.']) && isset($result['.']->lstat)) {
+ return $result['.']->lstat;
+ }
+ if (is_object($result) && isset($result->lstat)) {
+ return $result->lstat;
+ }
+ }
+
+ $lstat = $this->_stat($filename, NET_SFTP_LSTAT);
+ if ($lstat === false) {
+ $this->_remove_from_stat_cache($filename);
+ return false;
+ }
+ if (isset($lstat['type'])) {
+ if ($lstat['type'] == NET_SFTP_TYPE_DIRECTORY) {
+ $filename.= '/.';
+ }
+ $this->_update_stat_cache($filename, (object) array('lstat' => $lstat));
+ return $lstat;
+ }
+
+ $stat = $this->_stat($filename, NET_SFTP_STAT);
+
+ if ($lstat != $stat) {
+ $lstat = array_merge($lstat, array('type' => NET_SFTP_TYPE_SYMLINK));
+ $this->_update_stat_cache($filename, (object) array('lstat' => $lstat));
+ return $stat;
+ }
+
+ $pwd = $this->pwd;
+ $lstat['type'] = $this->chdir($filename) ?
+ NET_SFTP_TYPE_DIRECTORY :
+ NET_SFTP_TYPE_REGULAR;
+ $this->pwd = $pwd;
+
+ if ($lstat['type'] == NET_SFTP_TYPE_DIRECTORY) {
+ $filename.= '/.';
+ }
+ $this->_update_stat_cache($filename, (object) array('lstat' => $lstat));
+
+ return $lstat;
+ }
+
+ /**
+ * Returns general information about a file or symbolic link
+ *
+ * Determines information without calling \phpseclib\Net\SFTP::_realpath().
+ * The second parameter can be either NET_SFTP_STAT or NET_SFTP_LSTAT.
+ *
+ * @param string $filename
+ * @param int $type
+ * @return mixed
+ * @access private
+ */
+ function _stat($filename, $type)
+ {
+ // SFTPv4+ adds an additional 32-bit integer field - flags - to the following:
+ $packet = pack('Na*', strlen($filename), $filename);
+ if (!$this->_send_sftp_packet($type, $packet)) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ switch ($this->packet_type) {
+ case NET_SFTP_ATTRS:
+ return $this->_parseAttributes($response);
+ case NET_SFTP_STATUS:
+ $this->_logError($response);
+ return false;
+ }
+
+ user_error('Expected SSH_FXP_ATTRS or SSH_FXP_STATUS');
+ return false;
+ }
+
+ /**
+ * Truncates a file to a given length
+ *
+ * @param string $filename
+ * @param int $new_size
+ * @return bool
+ * @access public
+ */
+ function truncate($filename, $new_size)
+ {
+ $attr = pack('N3', NET_SFTP_ATTR_SIZE, $new_size / 4294967296, $new_size); // 4294967296 == 0x100000000 == 1<<32
+
+ return $this->_setstat($filename, $attr, false);
+ }
+
+ /**
+ * Sets access and modification time of file.
+ *
+ * If the file does not exist, it will be created.
+ *
+ * @param string $filename
+ * @param int $time
+ * @param int $atime
+ * @return bool
+ * @access public
+ */
+ function touch($filename, $time = null, $atime = null)
+ {
+ if (!($this->bitmap & SSH2::MASK_LOGIN)) {
+ return false;
+ }
+
+ $filename = $this->_realpath($filename);
+ if ($filename === false) {
+ return false;
+ }
+
+ if (!isset($time)) {
+ $time = time();
+ }
+ if (!isset($atime)) {
+ $atime = $time;
+ }
+
+ $flags = NET_SFTP_OPEN_WRITE | NET_SFTP_OPEN_CREATE | NET_SFTP_OPEN_EXCL;
+ $attr = pack('N3', NET_SFTP_ATTR_ACCESSTIME, $time, $atime);
+ $packet = pack('Na*Na*', strlen($filename), $filename, $flags, $attr);
+ if (!$this->_send_sftp_packet(NET_SFTP_OPEN, $packet)) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ switch ($this->packet_type) {
+ case NET_SFTP_HANDLE:
+ return $this->_close_handle(substr($response, 4));
+ case NET_SFTP_STATUS:
+ $this->_logError($response);
+ break;
+ default:
+ user_error('Expected SSH_FXP_HANDLE or SSH_FXP_STATUS');
+ return false;
+ }
+
+ return $this->_setstat($filename, $attr, false);
+ }
+
+ /**
+ * Changes file or directory owner
+ *
+ * Returns true on success or false on error.
+ *
+ * @param string $filename
+ * @param int $uid
+ * @param bool $recursive
+ * @return bool
+ * @access public
+ */
+ function chown($filename, $uid, $recursive = false)
+ {
+ // quoting from <http://www.kernel.org/doc/man-pages/online/pages/man2/chown.2.html>,
+ // "if the owner or group is specified as -1, then that ID is not changed"
+ $attr = pack('N3', NET_SFTP_ATTR_UIDGID, $uid, -1);
+
+ return $this->_setstat($filename, $attr, $recursive);
+ }
+
+ /**
+ * Changes file or directory group
+ *
+ * Returns true on success or false on error.
+ *
+ * @param string $filename
+ * @param int $gid
+ * @param bool $recursive
+ * @return bool
+ * @access public
+ */
+ function chgrp($filename, $gid, $recursive = false)
+ {
+ $attr = pack('N3', NET_SFTP_ATTR_UIDGID, -1, $gid);
+
+ return $this->_setstat($filename, $attr, $recursive);
+ }
+
+ /**
+ * Set permissions on a file.
+ *
+ * Returns the new file permissions on success or false on error.
+ * If $recursive is true than this just returns true or false.
+ *
+ * @param int $mode
+ * @param string $filename
+ * @param bool $recursive
+ * @return mixed
+ * @access public
+ */
+ function chmod($mode, $filename, $recursive = false)
+ {
+ if (is_string($mode) && is_int($filename)) {
+ $temp = $mode;
+ $mode = $filename;
+ $filename = $temp;
+ }
+
+ $attr = pack('N2', NET_SFTP_ATTR_PERMISSIONS, $mode & 07777);
+ if (!$this->_setstat($filename, $attr, $recursive)) {
+ return false;
+ }
+ if ($recursive) {
+ return true;
+ }
+
+ $filename = $this->_realPath($filename);
+ // rather than return what the permissions *should* be, we'll return what they actually are. this will also
+ // tell us if the file actually exists.
+ // incidentally, SFTPv4+ adds an additional 32-bit integer field - flags - to the following:
+ $packet = pack('Na*', strlen($filename), $filename);
+ if (!$this->_send_sftp_packet(NET_SFTP_STAT, $packet)) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ switch ($this->packet_type) {
+ case NET_SFTP_ATTRS:
+ $attrs = $this->_parseAttributes($response);
+ return $attrs['permissions'];
+ case NET_SFTP_STATUS:
+ $this->_logError($response);
+ return false;
+ }
+
+ user_error('Expected SSH_FXP_ATTRS or SSH_FXP_STATUS');
+ return false;
+ }
+
+ /**
+ * Sets information about a file
+ *
+ * @param string $filename
+ * @param string $attr
+ * @param bool $recursive
+ * @return bool
+ * @access private
+ */
+ function _setstat($filename, $attr, $recursive)
+ {
+ if (!($this->bitmap & SSH2::MASK_LOGIN)) {
+ return false;
+ }
+
+ $filename = $this->_realpath($filename);
+ if ($filename === false) {
+ return false;
+ }
+
+ $this->_remove_from_stat_cache($filename);
+
+ if ($recursive) {
+ $i = 0;
+ $result = $this->_setstat_recursive($filename, $attr, $i);
+ $this->_read_put_responses($i);
+ return $result;
+ }
+
+ // SFTPv4+ has an additional byte field - type - that would need to be sent, as well. setting it to
+ // SSH_FILEXFER_TYPE_UNKNOWN might work. if not, we'd have to do an SSH_FXP_STAT before doing an SSH_FXP_SETSTAT.
+ if (!$this->_send_sftp_packet(NET_SFTP_SETSTAT, pack('Na*a*', strlen($filename), $filename, $attr))) {
+ return false;
+ }
+
+ /*
+ "Because some systems must use separate system calls to set various attributes, it is possible that a failure
+ response will be returned, but yet some of the attributes may be have been successfully modified. If possible,
+ servers SHOULD avoid this situation; however, clients MUST be aware that this is possible."
+
+ -- http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.6
+ */
+ $response = $this->_get_sftp_packet();
+ if ($this->packet_type != NET_SFTP_STATUS) {
+ user_error('Expected SSH_FXP_STATUS');
+ return false;
+ }
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nstatus', $this->_string_shift($response, 4)));
+ if ($status != NET_SFTP_STATUS_OK) {
+ $this->_logError($response, $status);
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Recursively sets information on directories on the SFTP server
+ *
+ * Minimizes directory lookups and SSH_FXP_STATUS requests for speed.
+ *
+ * @param string $path
+ * @param string $attr
+ * @param int $i
+ * @return bool
+ * @access private
+ */
+ function _setstat_recursive($path, $attr, &$i)
+ {
+ if (!$this->_read_put_responses($i)) {
+ return false;
+ }
+ $i = 0;
+ $entries = $this->_list($path, true);
+
+ if ($entries === false) {
+ return $this->_setstat($path, $attr, false);
+ }
+
+ // normally $entries would have at least . and .. but it might not if the directories
+ // permissions didn't allow reading
+ if (empty($entries)) {
+ return false;
+ }
+
+ unset($entries['.'], $entries['..']);
+ foreach ($entries as $filename => $props) {
+ if (!isset($props['type'])) {
+ return false;
+ }
+
+ $temp = $path . '/' . $filename;
+ if ($props['type'] == NET_SFTP_TYPE_DIRECTORY) {
+ if (!$this->_setstat_recursive($temp, $attr, $i)) {
+ return false;
+ }
+ } else {
+ if (!$this->_send_sftp_packet(NET_SFTP_SETSTAT, pack('Na*a*', strlen($temp), $temp, $attr))) {
+ return false;
+ }
+
+ $i++;
+
+ if ($i >= NET_SFTP_QUEUE_SIZE) {
+ if (!$this->_read_put_responses($i)) {
+ return false;
+ }
+ $i = 0;
+ }
+ }
+ }
+
+ if (!$this->_send_sftp_packet(NET_SFTP_SETSTAT, pack('Na*a*', strlen($path), $path, $attr))) {
+ return false;
+ }
+
+ $i++;
+
+ if ($i >= NET_SFTP_QUEUE_SIZE) {
+ if (!$this->_read_put_responses($i)) {
+ return false;
+ }
+ $i = 0;
+ }
+
+ return true;
+ }
+
+ /**
+ * Return the target of a symbolic link
+ *
+ * @param string $link
+ * @return mixed
+ * @access public
+ */
+ function readlink($link)
+ {
+ if (!($this->bitmap & SSH2::MASK_LOGIN)) {
+ return false;
+ }
+
+ $link = $this->_realpath($link);
+
+ if (!$this->_send_sftp_packet(NET_SFTP_READLINK, pack('Na*', strlen($link), $link))) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ switch ($this->packet_type) {
+ case NET_SFTP_NAME:
+ break;
+ case NET_SFTP_STATUS:
+ $this->_logError($response);
+ return false;
+ default:
+ user_error('Expected SSH_FXP_NAME or SSH_FXP_STATUS');
+ return false;
+ }
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Ncount', $this->_string_shift($response, 4)));
+ // the file isn't a symlink
+ if (!$count) {
+ return false;
+ }
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ return $this->_string_shift($response, $length);
+ }
+
+ /**
+ * Create a symlink
+ *
+ * symlink() creates a symbolic link to the existing target with the specified name link.
+ *
+ * @param string $target
+ * @param string $link
+ * @return bool
+ * @access public
+ */
+ function symlink($target, $link)
+ {
+ if (!($this->bitmap & SSH2::MASK_LOGIN)) {
+ return false;
+ }
+
+ //$target = $this->_realpath($target);
+ $link = $this->_realpath($link);
+
+ $packet = pack('Na*Na*', strlen($target), $target, strlen($link), $link);
+ if (!$this->_send_sftp_packet(NET_SFTP_SYMLINK, $packet)) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ if ($this->packet_type != NET_SFTP_STATUS) {
+ user_error('Expected SSH_FXP_STATUS');
+ return false;
+ }
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nstatus', $this->_string_shift($response, 4)));
+ if ($status != NET_SFTP_STATUS_OK) {
+ $this->_logError($response, $status);
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Creates a directory.
+ *
+ * @param string $dir
+ * @return bool
+ * @access public
+ */
+ function mkdir($dir, $mode = -1, $recursive = false)
+ {
+ if (!($this->bitmap & SSH2::MASK_LOGIN)) {
+ return false;
+ }
+
+ $dir = $this->_realpath($dir);
+ // by not providing any permissions, hopefully the server will use the logged in users umask - their
+ // default permissions.
+ $attr = $mode == -1 ? "\0\0\0\0" : pack('N2', NET_SFTP_ATTR_PERMISSIONS, $mode & 07777);
+
+ if ($recursive) {
+ $dirs = explode('/', preg_replace('#/(?=/)|/$#', '', $dir));
+ if (empty($dirs[0])) {
+ array_shift($dirs);
+ $dirs[0] = '/' . $dirs[0];
+ }
+ for ($i = 0; $i < count($dirs); $i++) {
+ $temp = array_slice($dirs, 0, $i + 1);
+ $temp = implode('/', $temp);
+ $result = $this->_mkdir_helper($temp, $attr);
+ }
+ return $result;
+ }
+
+ return $this->_mkdir_helper($dir, $attr);
+ }
+
+ /**
+ * Helper function for directory creation
+ *
+ * @param string $dir
+ * @return bool
+ * @access private
+ */
+ function _mkdir_helper($dir, $attr)
+ {
+ if (!$this->_send_sftp_packet(NET_SFTP_MKDIR, pack('Na*a*', strlen($dir), $dir, $attr))) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ if ($this->packet_type != NET_SFTP_STATUS) {
+ user_error('Expected SSH_FXP_STATUS');
+ return false;
+ }
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nstatus', $this->_string_shift($response, 4)));
+ if ($status != NET_SFTP_STATUS_OK) {
+ $this->_logError($response, $status);
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Removes a directory.
+ *
+ * @param string $dir
+ * @return bool
+ * @access public
+ */
+ function rmdir($dir)
+ {
+ if (!($this->bitmap & SSH2::MASK_LOGIN)) {
+ return false;
+ }
+
+ $dir = $this->_realpath($dir);
+ if ($dir === false) {
+ return false;
+ }
+
+ if (!$this->_send_sftp_packet(NET_SFTP_RMDIR, pack('Na*', strlen($dir), $dir))) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ if ($this->packet_type != NET_SFTP_STATUS) {
+ user_error('Expected SSH_FXP_STATUS');
+ return false;
+ }
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nstatus', $this->_string_shift($response, 4)));
+ if ($status != NET_SFTP_STATUS_OK) {
+ // presumably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED?
+ $this->_logError($response, $status);
+ return false;
+ }
+
+ $this->_remove_from_stat_cache($dir);
+ // the following will do a soft delete, which would be useful if you deleted a file
+ // and then tried to do a stat on the deleted file. the above, in contrast, does
+ // a hard delete
+ //$this->_update_stat_cache($dir, false);
+
+ return true;
+ }
+
+ /**
+ * Uploads a file to the SFTP server.
+ *
+ * By default, \phpseclib\Net\SFTP::put() does not read from the local filesystem. $data is dumped directly into $remote_file.
+ * So, for example, if you set $data to 'filename.ext' and then do \phpseclib\Net\SFTP::get(), you will get a file, twelve bytes
+ * long, containing 'filename.ext' as its contents.
+ *
+ * Setting $mode to self::SOURCE_LOCAL_FILE will change the above behavior. With self::SOURCE_LOCAL_FILE, $remote_file will
+ * contain as many bytes as filename.ext does on your local filesystem. If your filename.ext is 1MB then that is how
+ * large $remote_file will be, as well.
+ *
+ * Setting $mode to self::SOURCE_CALLBACK will use $data as callback function, which gets only one parameter -- number of bytes to return, and returns a string if there is some data or null if there is no more data
+ *
+ * If $data is a resource then it'll be used as a resource instead.
+ *
+ * Currently, only binary mode is supported. As such, if the line endings need to be adjusted, you will need to take
+ * care of that, yourself.
+ *
+ * $mode can take an additional two parameters - self::RESUME and self::RESUME_START. These are bitwise AND'd with
+ * $mode. So if you want to resume upload of a 300mb file on the local file system you'd set $mode to the following:
+ *
+ * self::SOURCE_LOCAL_FILE | self::RESUME
+ *
+ * If you wanted to simply append the full contents of a local file to the full contents of a remote file you'd replace
+ * self::RESUME with self::RESUME_START.
+ *
+ * If $mode & (self::RESUME | self::RESUME_START) then self::RESUME_START will be assumed.
+ *
+ * $start and $local_start give you more fine grained control over this process and take precident over self::RESUME
+ * when they're non-negative. ie. $start could let you write at the end of a file (like self::RESUME) or in the middle
+ * of one. $local_start could let you start your reading from the end of a file (like self::RESUME_START) or in the
+ * middle of one.
+ *
+ * Setting $local_start to > 0 or $mode | self::RESUME_START doesn't do anything unless $mode | self::SOURCE_LOCAL_FILE.
+ *
+ * @param string $remote_file
+ * @param string|resource $data
+ * @param int $mode
+ * @param int $start
+ * @param int $local_start
+ * @param callable|null $progressCallback
+ * @return bool
+ * @access public
+ * @internal ASCII mode for SFTPv4/5/6 can be supported by adding a new function - \phpseclib\Net\SFTP::setMode().
+ */
+ function put($remote_file, $data, $mode = self::SOURCE_STRING, $start = -1, $local_start = -1, $progressCallback = null)
+ {
+ if (!($this->bitmap & SSH2::MASK_LOGIN)) {
+ return false;
+ }
+
+ $remote_file = $this->_realpath($remote_file);
+ if ($remote_file === false) {
+ return false;
+ }
+
+ $this->_remove_from_stat_cache($remote_file);
+
+ $flags = NET_SFTP_OPEN_WRITE | NET_SFTP_OPEN_CREATE;
+ // according to the SFTP specs, NET_SFTP_OPEN_APPEND should "force all writes to append data at the end of the file."
+ // in practice, it doesn't seem to do that.
+ //$flags|= ($mode & self::RESUME) ? NET_SFTP_OPEN_APPEND : NET_SFTP_OPEN_TRUNCATE;
+
+ if ($start >= 0) {
+ $offset = $start;
+ } elseif ($mode & self::RESUME) {
+ // if NET_SFTP_OPEN_APPEND worked as it should _size() wouldn't need to be called
+ $size = $this->size($remote_file);
+ $offset = $size !== false ? $size : 0;
+ } else {
+ $offset = 0;
+ $flags|= NET_SFTP_OPEN_TRUNCATE;
+ }
+
+ $packet = pack('Na*N2', strlen($remote_file), $remote_file, $flags, 0);
+ if (!$this->_send_sftp_packet(NET_SFTP_OPEN, $packet)) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ switch ($this->packet_type) {
+ case NET_SFTP_HANDLE:
+ $handle = substr($response, 4);
+ break;
+ case NET_SFTP_STATUS:
+ $this->_logError($response);
+ return false;
+ default:
+ user_error('Expected SSH_FXP_HANDLE or SSH_FXP_STATUS');
+ return false;
+ }
+
+ // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.2.3
+ $dataCallback = false;
+ switch (true) {
+ case $mode & self::SOURCE_CALLBACK:
+ if (!is_callable($data)) {
+ user_error("\$data should be is_callable() if you specify SOURCE_CALLBACK flag");
+ }
+ $dataCallback = $data;
+ // do nothing
+ break;
+ case is_resource($data):
+ $mode = $mode & ~self::SOURCE_LOCAL_FILE;
+ $info = stream_get_meta_data($data);
+ if ($info['wrapper_type'] == 'PHP' && $info['stream_type'] == 'Input') {
+ $fp = fopen('php://memory', 'w+');
+ stream_copy_to_stream($data, $fp);
+ rewind($fp);
+ } else {
+ $fp = $data;
+ }
+ break;
+ case $mode & self::SOURCE_LOCAL_FILE:
+ if (!is_file($data)) {
+ user_error("$data is not a valid file");
+ return false;
+ }
+ $fp = @fopen($data, 'rb');
+ if (!$fp) {
+ return false;
+ }
+ }
+
+ if (isset($fp)) {
+ $stat = fstat($fp);
+ $size = $stat['size'];
+
+ if ($local_start >= 0) {
+ fseek($fp, $local_start);
+ $size-= $local_start;
+ }
+ } elseif ($dataCallback) {
+ $size = 0;
+ } else {
+ $size = strlen($data);
+ }
+
+ $sent = 0;
+ $size = $size < 0 ? ($size & 0x7FFFFFFF) + 0x80000000 : $size;
+
+ $sftp_packet_size = 4096; // PuTTY uses 4096
+ // make the SFTP packet be exactly 4096 bytes by including the bytes in the NET_SFTP_WRITE packets "header"
+ $sftp_packet_size-= strlen($handle) + 25;
+ $i = 0;
+ while ($dataCallback || ($size === 0 || $sent < $size)) {
+ if ($dataCallback) {
+ $temp = call_user_func($dataCallback, $sftp_packet_size);
+ if (is_null($temp)) {
+ break;
+ }
+ } else {
+ $temp = isset($fp) ? fread($fp, $sftp_packet_size) : substr($data, $sent, $sftp_packet_size);
+ if ($temp === false || $temp === '') {
+ break;
+ }
+ }
+
+ $subtemp = $offset + $sent;
+ $packet = pack('Na*N3a*', strlen($handle), $handle, $subtemp / 4294967296, $subtemp, strlen($temp), $temp);
+ if (!$this->_send_sftp_packet(NET_SFTP_WRITE, $packet)) {
+ if ($mode & self::SOURCE_LOCAL_FILE) {
+ fclose($fp);
+ }
+ return false;
+ }
+ $sent+= strlen($temp);
+ if (is_callable($progressCallback)) {
+ call_user_func($progressCallback, $sent);
+ }
+
+ $i++;
+
+ if ($i == NET_SFTP_QUEUE_SIZE) {
+ if (!$this->_read_put_responses($i)) {
+ $i = 0;
+ break;
+ }
+ $i = 0;
+ }
+ }
+
+ if (!$this->_read_put_responses($i)) {
+ if ($mode & self::SOURCE_LOCAL_FILE) {
+ fclose($fp);
+ }
+ $this->_close_handle($handle);
+ return false;
+ }
+
+ if ($mode & self::SOURCE_LOCAL_FILE) {
+ fclose($fp);
+ }
+
+ return $this->_close_handle($handle);
+ }
+
+ /**
+ * Reads multiple successive SSH_FXP_WRITE responses
+ *
+ * Sending an SSH_FXP_WRITE packet and immediately reading its response isn't as efficient as blindly sending out $i
+ * SSH_FXP_WRITEs, in succession, and then reading $i responses.
+ *
+ * @param int $i
+ * @return bool
+ * @access private
+ */
+ function _read_put_responses($i)
+ {
+ while ($i--) {
+ $response = $this->_get_sftp_packet();
+ if ($this->packet_type != NET_SFTP_STATUS) {
+ user_error('Expected SSH_FXP_STATUS');
+ return false;
+ }
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nstatus', $this->_string_shift($response, 4)));
+ if ($status != NET_SFTP_STATUS_OK) {
+ $this->_logError($response, $status);
+ break;
+ }
+ }
+
+ return $i < 0;
+ }
+
+ /**
+ * Close handle
+ *
+ * @param string $handle
+ * @return bool
+ * @access private
+ */
+ function _close_handle($handle)
+ {
+ if (!$this->_send_sftp_packet(NET_SFTP_CLOSE, pack('Na*', strlen($handle), $handle))) {
+ return false;
+ }
+
+ // "The client MUST release all resources associated with the handle regardless of the status."
+ // -- http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.1.3
+ $response = $this->_get_sftp_packet();
+ if ($this->packet_type != NET_SFTP_STATUS) {
+ user_error('Expected SSH_FXP_STATUS');
+ return false;
+ }
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nstatus', $this->_string_shift($response, 4)));
+ if ($status != NET_SFTP_STATUS_OK) {
+ $this->_logError($response, $status);
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Downloads a file from the SFTP server.
+ *
+ * Returns a string containing the contents of $remote_file if $local_file is left undefined or a boolean false if
+ * the operation was unsuccessful. If $local_file is defined, returns true or false depending on the success of the
+ * operation.
+ *
+ * $offset and $length can be used to download files in chunks.
+ *
+ * @param string $remote_file
+ * @param string $local_file
+ * @param int $offset
+ * @param int $length
+ * @return mixed
+ * @access public
+ */
+ function get($remote_file, $local_file = false, $offset = 0, $length = -1)
+ {
+ if (!($this->bitmap & SSH2::MASK_LOGIN)) {
+ return false;
+ }
+
+ $remote_file = $this->_realpath($remote_file);
+ if ($remote_file === false) {
+ return false;
+ }
+
+ $packet = pack('Na*N2', strlen($remote_file), $remote_file, NET_SFTP_OPEN_READ, 0);
+ if (!$this->_send_sftp_packet(NET_SFTP_OPEN, $packet)) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ switch ($this->packet_type) {
+ case NET_SFTP_HANDLE:
+ $handle = substr($response, 4);
+ break;
+ case NET_SFTP_STATUS: // presumably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED
+ $this->_logError($response);
+ return false;
+ default:
+ user_error('Expected SSH_FXP_HANDLE or SSH_FXP_STATUS');
+ return false;
+ }
+
+ if (is_resource($local_file)) {
+ $fp = $local_file;
+ $stat = fstat($fp);
+ $res_offset = $stat['size'];
+ } else {
+ $res_offset = 0;
+ if ($local_file !== false) {
+ $fp = fopen($local_file, 'wb');
+ if (!$fp) {
+ return false;
+ }
+ } else {
+ $content = '';
+ }
+ }
+
+ $fclose_check = $local_file !== false && !is_resource($local_file);
+
+ $start = $offset;
+ $read = 0;
+ while (true) {
+ $i = 0;
+
+ while ($i < NET_SFTP_QUEUE_SIZE && ($length < 0 || $read < $length)) {
+ $tempoffset = $start + $read;
+
+ $packet_size = $length > 0 ? min($this->max_sftp_packet, $length - $read) : $this->max_sftp_packet;
+
+ $packet = pack('Na*N3', strlen($handle), $handle, $tempoffset / 4294967296, $tempoffset, $packet_size);
+ if (!$this->_send_sftp_packet(NET_SFTP_READ, $packet)) {
+ if ($fclose_check) {
+ fclose($fp);
+ }
+ return false;
+ }
+ $packet = null;
+ $read+= $packet_size;
+ $i++;
+ }
+
+ if (!$i) {
+ break;
+ }
+
+ $clear_responses = false;
+ while ($i > 0) {
+ $i--;
+
+ if ($clear_responses) {
+ $this->_get_sftp_packet();
+ continue;
+ } else {
+ $response = $this->_get_sftp_packet();
+ }
+
+ switch ($this->packet_type) {
+ case NET_SFTP_DATA:
+ $temp = substr($response, 4);
+ $offset+= strlen($temp);
+ if ($local_file === false) {
+ $content.= $temp;
+ } else {
+ fputs($fp, $temp);
+ }
+ $temp = null;
+ break;
+ case NET_SFTP_STATUS:
+ // could, in theory, return false if !strlen($content) but we'll hold off for the time being
+ $this->_logError($response);
+ $clear_responses = true; // don't break out of the loop yet, so we can read the remaining responses
+ break;
+ default:
+ if ($fclose_check) {
+ fclose($fp);
+ }
+ user_error('Expected SSH_FX_DATA or SSH_FXP_STATUS');
+ }
+ $response = null;
+ }
+
+ if ($clear_responses) {
+ break;
+ }
+ }
+
+ if ($length > 0 && $length <= $offset - $start) {
+ if ($local_file === false) {
+ $content = substr($content, 0, $length);
+ } else {
+ ftruncate($fp, $length + $res_offset);
+ }
+ }
+
+ if ($fclose_check) {
+ fclose($fp);
+ }
+
+ if (!$this->_close_handle($handle)) {
+ return false;
+ }
+
+ // if $content isn't set that means a file was written to
+ return isset($content) ? $content : true;
+ }
+
+ /**
+ * Deletes a file on the SFTP server.
+ *
+ * @param string $path
+ * @param bool $recursive
+ * @return bool
+ * @access public
+ */
+ function delete($path, $recursive = true)
+ {
+ if (!($this->bitmap & SSH2::MASK_LOGIN)) {
+ return false;
+ }
+
+ if (is_object($path)) {
+ // It's an object. Cast it as string before we check anything else.
+ $path = (string) $path;
+ }
+
+ if (!is_string($path) || $path == '') {
+ return false;
+ }
+
+ $path = $this->_realpath($path);
+ if ($path === false) {
+ return false;
+ }
+
+ // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.3
+ if (!$this->_send_sftp_packet(NET_SFTP_REMOVE, pack('Na*', strlen($path), $path))) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ if ($this->packet_type != NET_SFTP_STATUS) {
+ user_error('Expected SSH_FXP_STATUS');
+ return false;
+ }
+
+ // if $status isn't SSH_FX_OK it's probably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nstatus', $this->_string_shift($response, 4)));
+ if ($status != NET_SFTP_STATUS_OK) {
+ $this->_logError($response, $status);
+ if (!$recursive) {
+ return false;
+ }
+ $i = 0;
+ $result = $this->_delete_recursive($path, $i);
+ $this->_read_put_responses($i);
+ return $result;
+ }
+
+ $this->_remove_from_stat_cache($path);
+
+ return true;
+ }
+
+ /**
+ * Recursively deletes directories on the SFTP server
+ *
+ * Minimizes directory lookups and SSH_FXP_STATUS requests for speed.
+ *
+ * @param string $path
+ * @param int $i
+ * @return bool
+ * @access private
+ */
+ function _delete_recursive($path, &$i)
+ {
+ if (!$this->_read_put_responses($i)) {
+ return false;
+ }
+ $i = 0;
+ $entries = $this->_list($path, true);
+
+ // normally $entries would have at least . and .. but it might not if the directories
+ // permissions didn't allow reading
+ if (empty($entries)) {
+ return false;
+ }
+
+ unset($entries['.'], $entries['..']);
+ foreach ($entries as $filename => $props) {
+ if (!isset($props['type'])) {
+ return false;
+ }
+
+ $temp = $path . '/' . $filename;
+ if ($props['type'] == NET_SFTP_TYPE_DIRECTORY) {
+ if (!$this->_delete_recursive($temp, $i)) {
+ return false;
+ }
+ } else {
+ if (!$this->_send_sftp_packet(NET_SFTP_REMOVE, pack('Na*', strlen($temp), $temp))) {
+ return false;
+ }
+ $this->_remove_from_stat_cache($temp);
+
+ $i++;
+
+ if ($i >= NET_SFTP_QUEUE_SIZE) {
+ if (!$this->_read_put_responses($i)) {
+ return false;
+ }
+ $i = 0;
+ }
+ }
+ }
+
+ if (!$this->_send_sftp_packet(NET_SFTP_RMDIR, pack('Na*', strlen($path), $path))) {
+ return false;
+ }
+ $this->_remove_from_stat_cache($path);
+
+ $i++;
+
+ if ($i >= NET_SFTP_QUEUE_SIZE) {
+ if (!$this->_read_put_responses($i)) {
+ return false;
+ }
+ $i = 0;
+ }
+
+ return true;
+ }
+
+ /**
+ * Checks whether a file or directory exists
+ *
+ * @param string $path
+ * @return bool
+ * @access public
+ */
+ function file_exists($path)
+ {
+ if ($this->use_stat_cache) {
+ $path = $this->_realpath($path);
+
+ $result = $this->_query_stat_cache($path);
+
+ if (isset($result)) {
+ // return true if $result is an array or if it's an stdClass object
+ return $result !== false;
+ }
+ }
+
+ return $this->stat($path) !== false;
+ }
+
+ /**
+ * Tells whether the filename is a directory
+ *
+ * @param string $path
+ * @return bool
+ * @access public
+ */
+ function is_dir($path)
+ {
+ $result = $this->_get_stat_cache_prop($path, 'type');
+ if ($result === false) {
+ return false;
+ }
+ return $result === NET_SFTP_TYPE_DIRECTORY;
+ }
+
+ /**
+ * Tells whether the filename is a regular file
+ *
+ * @param string $path
+ * @return bool
+ * @access public
+ */
+ function is_file($path)
+ {
+ $result = $this->_get_stat_cache_prop($path, 'type');
+ if ($result === false) {
+ return false;
+ }
+ return $result === NET_SFTP_TYPE_REGULAR;
+ }
+
+ /**
+ * Tells whether the filename is a symbolic link
+ *
+ * @param string $path
+ * @return bool
+ * @access public
+ */
+ function is_link($path)
+ {
+ $result = $this->_get_lstat_cache_prop($path, 'type');
+ if ($result === false) {
+ return false;
+ }
+ return $result === NET_SFTP_TYPE_SYMLINK;
+ }
+
+ /**
+ * Tells whether a file exists and is readable
+ *
+ * @param string $path
+ * @return bool
+ * @access public
+ */
+ function is_readable($path)
+ {
+ $path = $this->_realpath($path);
+
+ $packet = pack('Na*N2', strlen($path), $path, NET_SFTP_OPEN_READ, 0);
+ if (!$this->_send_sftp_packet(NET_SFTP_OPEN, $packet)) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ switch ($this->packet_type) {
+ case NET_SFTP_HANDLE:
+ return true;
+ case NET_SFTP_STATUS: // presumably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED
+ return false;
+ default:
+ user_error('Expected SSH_FXP_HANDLE or SSH_FXP_STATUS');
+ return false;
+ }
+ }
+
+ /**
+ * Tells whether the filename is writable
+ *
+ * @param string $path
+ * @return bool
+ * @access public
+ */
+ function is_writable($path)
+ {
+ $path = $this->_realpath($path);
+
+ $packet = pack('Na*N2', strlen($path), $path, NET_SFTP_OPEN_WRITE, 0);
+ if (!$this->_send_sftp_packet(NET_SFTP_OPEN, $packet)) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ switch ($this->packet_type) {
+ case NET_SFTP_HANDLE:
+ return true;
+ case NET_SFTP_STATUS: // presumably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED
+ return false;
+ default:
+ user_error('Expected SSH_FXP_HANDLE or SSH_FXP_STATUS');
+ return false;
+ }
+ }
+
+ /**
+ * Tells whether the filename is writeable
+ *
+ * Alias of is_writable
+ *
+ * @param string $path
+ * @return bool
+ * @access public
+ */
+ function is_writeable($path)
+ {
+ return $this->is_writable($path);
+ }
+
+ /**
+ * Gets last access time of file
+ *
+ * @param string $path
+ * @return mixed
+ * @access public
+ */
+ function fileatime($path)
+ {
+ return $this->_get_stat_cache_prop($path, 'atime');
+ }
+
+ /**
+ * Gets file modification time
+ *
+ * @param string $path
+ * @return mixed
+ * @access public
+ */
+ function filemtime($path)
+ {
+ return $this->_get_stat_cache_prop($path, 'mtime');
+ }
+
+ /**
+ * Gets file permissions
+ *
+ * @param string $path
+ * @return mixed
+ * @access public
+ */
+ function fileperms($path)
+ {
+ return $this->_get_stat_cache_prop($path, 'permissions');
+ }
+
+ /**
+ * Gets file owner
+ *
+ * @param string $path
+ * @return mixed
+ * @access public
+ */
+ function fileowner($path)
+ {
+ return $this->_get_stat_cache_prop($path, 'uid');
+ }
+
+ /**
+ * Gets file group
+ *
+ * @param string $path
+ * @return mixed
+ * @access public
+ */
+ function filegroup($path)
+ {
+ return $this->_get_stat_cache_prop($path, 'gid');
+ }
+
+ /**
+ * Gets file size
+ *
+ * @param string $path
+ * @return mixed
+ * @access public
+ */
+ function filesize($path)
+ {
+ return $this->_get_stat_cache_prop($path, 'size');
+ }
+
+ /**
+ * Gets file type
+ *
+ * @param string $path
+ * @return mixed
+ * @access public
+ */
+ function filetype($path)
+ {
+ $type = $this->_get_stat_cache_prop($path, 'type');
+ if ($type === false) {
+ return false;
+ }
+
+ switch ($type) {
+ case NET_SFTP_TYPE_BLOCK_DEVICE:
+ return 'block';
+ case NET_SFTP_TYPE_CHAR_DEVICE:
+ return 'char';
+ case NET_SFTP_TYPE_DIRECTORY:
+ return 'dir';
+ case NET_SFTP_TYPE_FIFO:
+ return 'fifo';
+ case NET_SFTP_TYPE_REGULAR:
+ return 'file';
+ case NET_SFTP_TYPE_SYMLINK:
+ return 'link';
+ default:
+ return false;
+ }
+ }
+
+ /**
+ * Return a stat properity
+ *
+ * Uses cache if appropriate.
+ *
+ * @param string $path
+ * @param string $prop
+ * @return mixed
+ * @access private
+ */
+ function _get_stat_cache_prop($path, $prop)
+ {
+ return $this->_get_xstat_cache_prop($path, $prop, 'stat');
+ }
+
+ /**
+ * Return an lstat properity
+ *
+ * Uses cache if appropriate.
+ *
+ * @param string $path
+ * @param string $prop
+ * @return mixed
+ * @access private
+ */
+ function _get_lstat_cache_prop($path, $prop)
+ {
+ return $this->_get_xstat_cache_prop($path, $prop, 'lstat');
+ }
+
+ /**
+ * Return a stat or lstat properity
+ *
+ * Uses cache if appropriate.
+ *
+ * @param string $path
+ * @param string $prop
+ * @return mixed
+ * @access private
+ */
+ function _get_xstat_cache_prop($path, $prop, $type)
+ {
+ if ($this->use_stat_cache) {
+ $path = $this->_realpath($path);
+
+ $result = $this->_query_stat_cache($path);
+
+ if (is_object($result) && isset($result->$type)) {
+ return $result->{$type}[$prop];
+ }
+ }
+
+ $result = $this->$type($path);
+
+ if ($result === false || !isset($result[$prop])) {
+ return false;
+ }
+
+ return $result[$prop];
+ }
+
+ /**
+ * Renames a file or a directory on the SFTP server
+ *
+ * @param string $oldname
+ * @param string $newname
+ * @return bool
+ * @access public
+ */
+ function rename($oldname, $newname)
+ {
+ if (!($this->bitmap & SSH2::MASK_LOGIN)) {
+ return false;
+ }
+
+ $oldname = $this->_realpath($oldname);
+ $newname = $this->_realpath($newname);
+ if ($oldname === false || $newname === false) {
+ return false;
+ }
+
+ // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.3
+ $packet = pack('Na*Na*', strlen($oldname), $oldname, strlen($newname), $newname);
+ if (!$this->_send_sftp_packet(NET_SFTP_RENAME, $packet)) {
+ return false;
+ }
+
+ $response = $this->_get_sftp_packet();
+ if ($this->packet_type != NET_SFTP_STATUS) {
+ user_error('Expected SSH_FXP_STATUS');
+ return false;
+ }
+
+ // if $status isn't SSH_FX_OK it's probably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nstatus', $this->_string_shift($response, 4)));
+ if ($status != NET_SFTP_STATUS_OK) {
+ $this->_logError($response, $status);
+ return false;
+ }
+
+ // don't move the stat cache entry over since this operation could very well change the
+ // atime and mtime attributes
+ //$this->_update_stat_cache($newname, $this->_query_stat_cache($oldname));
+ $this->_remove_from_stat_cache($oldname);
+ $this->_remove_from_stat_cache($newname);
+
+ return true;
+ }
+
+ /**
+ * Parse Attributes
+ *
+ * See '7. File Attributes' of draft-ietf-secsh-filexfer-13 for more info.
+ *
+ * @param string $response
+ * @return array
+ * @access private
+ */
+ function _parseAttributes(&$response)
+ {
+ $attr = array();
+ if (strlen($response) < 4) {
+ user_error('Malformed file attributes');
+ return array();
+ }
+ extract(unpack('Nflags', $this->_string_shift($response, 4)));
+ // SFTPv4+ have a type field (a byte) that follows the above flag field
+ foreach ($this->attributes as $key => $value) {
+ switch ($flags & $key) {
+ case NET_SFTP_ATTR_SIZE: // 0x00000001
+ // The size attribute is defined as an unsigned 64-bit integer.
+ // The following will use floats on 32-bit platforms, if necessary.
+ // As can be seen in the BigInteger class, floats are generally
+ // IEEE 754 binary64 "double precision" on such platforms and
+ // as such can represent integers of at least 2^50 without loss
+ // of precision. Interpreted in filesize, 2^50 bytes = 1024 TiB.
+ $attr['size'] = hexdec(bin2hex($this->_string_shift($response, 8)));
+ break;
+ case NET_SFTP_ATTR_UIDGID: // 0x00000002 (SFTPv3 only)
+ if (strlen($response) < 8) {
+ user_error('Malformed file attributes');
+ return $attr;
+ }
+ $attr+= unpack('Nuid/Ngid', $this->_string_shift($response, 8));
+ break;
+ case NET_SFTP_ATTR_PERMISSIONS: // 0x00000004
+ if (strlen($response) < 4) {
+ user_error('Malformed file attributes');
+ return $attr;
+ }
+ $attr+= unpack('Npermissions', $this->_string_shift($response, 4));
+ // mode == permissions; permissions was the original array key and is retained for bc purposes.
+ // mode was added because that's the more industry standard terminology
+ $attr+= array('mode' => $attr['permissions']);
+ $fileType = $this->_parseMode($attr['permissions']);
+ if ($fileType !== false) {
+ $attr+= array('type' => $fileType);
+ }
+ break;
+ case NET_SFTP_ATTR_ACCESSTIME: // 0x00000008
+ if (strlen($response) < 8) {
+ user_error('Malformed file attributes');
+ return $attr;
+ }
+ $attr+= unpack('Natime/Nmtime', $this->_string_shift($response, 8));
+ break;
+ case NET_SFTP_ATTR_EXTENDED: // 0x80000000
+ if (strlen($response) < 4) {
+ user_error('Malformed file attributes');
+ return $attr;
+ }
+ extract(unpack('Ncount', $this->_string_shift($response, 4)));
+ for ($i = 0; $i < $count; $i++) {
+ if (strlen($response) < 4) {
+ user_error('Malformed file attributes');
+ return $attr;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ $key = $this->_string_shift($response, $length);
+ if (strlen($response) < 4) {
+ user_error('Malformed file attributes');
+ return $attr;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ $attr[$key] = $this->_string_shift($response, $length);
+ }
+ }
+ }
+ return $attr;
+ }
+
+ /**
+ * Attempt to identify the file type
+ *
+ * Quoting the SFTP RFC, "Implementations MUST NOT send bits that are not defined" but they seem to anyway
+ *
+ * @param int $mode
+ * @return int
+ * @access private
+ */
+ function _parseMode($mode)
+ {
+ // values come from http://lxr.free-electrons.com/source/include/uapi/linux/stat.h#L12
+ // see, also, http://linux.die.net/man/2/stat
+ switch ($mode & 0170000) {// ie. 1111 0000 0000 0000
+ case 0000000: // no file type specified - figure out the file type using alternative means
+ return false;
+ case 0040000:
+ return NET_SFTP_TYPE_DIRECTORY;
+ case 0100000:
+ return NET_SFTP_TYPE_REGULAR;
+ case 0120000:
+ return NET_SFTP_TYPE_SYMLINK;
+ // new types introduced in SFTPv5+
+ // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-05#section-5.2
+ case 0010000: // named pipe (fifo)
+ return NET_SFTP_TYPE_FIFO;
+ case 0020000: // character special
+ return NET_SFTP_TYPE_CHAR_DEVICE;
+ case 0060000: // block special
+ return NET_SFTP_TYPE_BLOCK_DEVICE;
+ case 0140000: // socket
+ return NET_SFTP_TYPE_SOCKET;
+ case 0160000: // whiteout
+ // "SPECIAL should be used for files that are of
+ // a known type which cannot be expressed in the protocol"
+ return NET_SFTP_TYPE_SPECIAL;
+ default:
+ return NET_SFTP_TYPE_UNKNOWN;
+ }
+ }
+
+ /**
+ * Parse Longname
+ *
+ * SFTPv3 doesn't provide any easy way of identifying a file type. You could try to open
+ * a file as a directory and see if an error is returned or you could try to parse the
+ * SFTPv3-specific longname field of the SSH_FXP_NAME packet. That's what this function does.
+ * The result is returned using the
+ * {@link http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-5.2 SFTPv4 type constants}.
+ *
+ * If the longname is in an unrecognized format bool(false) is returned.
+ *
+ * @param string $longname
+ * @return mixed
+ * @access private
+ */
+ function _parseLongname($longname)
+ {
+ // http://en.wikipedia.org/wiki/Unix_file_types
+ // http://en.wikipedia.org/wiki/Filesystem_permissions#Notation_of_traditional_Unix_permissions
+ if (preg_match('#^[^/]([r-][w-][xstST-]){3}#', $longname)) {
+ switch ($longname[0]) {
+ case '-':
+ return NET_SFTP_TYPE_REGULAR;
+ case 'd':
+ return NET_SFTP_TYPE_DIRECTORY;
+ case 'l':
+ return NET_SFTP_TYPE_SYMLINK;
+ default:
+ return NET_SFTP_TYPE_SPECIAL;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Sends SFTP Packets
+ *
+ * See '6. General Packet Format' of draft-ietf-secsh-filexfer-13 for more info.
+ *
+ * @param int $type
+ * @param string $data
+ * @see self::_get_sftp_packet()
+ * @see self::_send_channel_packet()
+ * @return bool
+ * @access private
+ */
+ function _send_sftp_packet($type, $data)
+ {
+ $packet = $this->request_id !== false ?
+ pack('NCNa*', strlen($data) + 5, $type, $this->request_id, $data) :
+ pack('NCa*', strlen($data) + 1, $type, $data);
+
+ $start = strtok(microtime(), ' ') + strtok(''); // http://php.net/microtime#61838
+ $result = $this->_send_channel_packet(self::CHANNEL, $packet);
+ $stop = strtok(microtime(), ' ') + strtok('');
+
+ if (defined('NET_SFTP_LOGGING')) {
+ $packet_type = '-> ' . $this->packet_types[$type] .
+ ' (' . round($stop - $start, 4) . 's)';
+ if (NET_SFTP_LOGGING == self::LOG_REALTIME) {
+ echo "<pre>\r\n" . $this->_format_log(array($data), array($packet_type)) . "\r\n</pre>\r\n";
+ flush();
+ ob_flush();
+ } else {
+ $this->packet_type_log[] = $packet_type;
+ if (NET_SFTP_LOGGING == self::LOG_COMPLEX) {
+ $this->packet_log[] = $data;
+ }
+ }
+ }
+
+ return $result;
+ }
+
+ /**
+ * Receives SFTP Packets
+ *
+ * See '6. General Packet Format' of draft-ietf-secsh-filexfer-13 for more info.
+ *
+ * Incidentally, the number of SSH_MSG_CHANNEL_DATA messages has no bearing on the number of SFTP packets present.
+ * There can be one SSH_MSG_CHANNEL_DATA messages containing two SFTP packets or there can be two SSH_MSG_CHANNEL_DATA
+ * messages containing one SFTP packet.
+ *
+ * @see self::_send_sftp_packet()
+ * @return string
+ * @access private
+ */
+ function _get_sftp_packet()
+ {
+ $this->curTimeout = false;
+
+ $start = strtok(microtime(), ' ') + strtok(''); // http://php.net/microtime#61838
+
+ // SFTP packet length
+ while (strlen($this->packet_buffer) < 4) {
+ $temp = $this->_get_channel_packet(self::CHANNEL);
+ if (is_bool($temp)) {
+ $this->packet_type = false;
+ $this->packet_buffer = '';
+ return false;
+ }
+ $this->packet_buffer.= $temp;
+ }
+ if (strlen($this->packet_buffer) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($this->packet_buffer, 4)));
+ $tempLength = $length;
+ $tempLength-= strlen($this->packet_buffer);
+
+ // SFTP packet type and data payload
+ while ($tempLength > 0) {
+ $temp = $this->_get_channel_packet(self::CHANNEL);
+ if (is_bool($temp)) {
+ $this->packet_type = false;
+ $this->packet_buffer = '';
+ return false;
+ }
+ $this->packet_buffer.= $temp;
+ $tempLength-= strlen($temp);
+ }
+
+ $stop = strtok(microtime(), ' ') + strtok('');
+
+ $this->packet_type = ord($this->_string_shift($this->packet_buffer));
+
+ if ($this->request_id !== false) {
+ $this->_string_shift($this->packet_buffer, 4); // remove the request id
+ $length-= 5; // account for the request id and the packet type
+ } else {
+ $length-= 1; // account for the packet type
+ }
+
+ $packet = $this->_string_shift($this->packet_buffer, $length);
+
+ if (defined('NET_SFTP_LOGGING')) {
+ $packet_type = '<- ' . $this->packet_types[$this->packet_type] .
+ ' (' . round($stop - $start, 4) . 's)';
+ if (NET_SFTP_LOGGING == self::LOG_REALTIME) {
+ echo "<pre>\r\n" . $this->_format_log(array($packet), array($packet_type)) . "\r\n</pre>\r\n";
+ flush();
+ ob_flush();
+ } else {
+ $this->packet_type_log[] = $packet_type;
+ if (NET_SFTP_LOGGING == self::LOG_COMPLEX) {
+ $this->packet_log[] = $packet;
+ }
+ }
+ }
+
+ return $packet;
+ }
+
+ /**
+ * Returns a log of the packets that have been sent and received.
+ *
+ * Returns a string if NET_SFTP_LOGGING == NET_SFTP_LOG_COMPLEX, an array if NET_SFTP_LOGGING == NET_SFTP_LOG_SIMPLE and false if !defined('NET_SFTP_LOGGING')
+ *
+ * @access public
+ * @return string or Array
+ */
+ function getSFTPLog()
+ {
+ if (!defined('NET_SFTP_LOGGING')) {
+ return false;
+ }
+
+ switch (NET_SFTP_LOGGING) {
+ case self::LOG_COMPLEX:
+ return $this->_format_log($this->packet_log, $this->packet_type_log);
+ break;
+ //case self::LOG_SIMPLE:
+ default:
+ return $this->packet_type_log;
+ }
+ }
+
+ /**
+ * Returns all errors
+ *
+ * @return string
+ * @access public
+ */
+ function getSFTPErrors()
+ {
+ return $this->sftp_errors;
+ }
+
+ /**
+ * Returns the last error
+ *
+ * @return string
+ * @access public
+ */
+ function getLastSFTPError()
+ {
+ return count($this->sftp_errors) ? $this->sftp_errors[count($this->sftp_errors) - 1] : '';
+ }
+
+ /**
+ * Get supported SFTP versions
+ *
+ * @return array
+ * @access public
+ */
+ function getSupportedVersions()
+ {
+ $temp = array('version' => $this->version);
+ if (isset($this->extensions['versions'])) {
+ $temp['extensions'] = $this->extensions['versions'];
+ }
+ return $temp;
+ }
+
+ /**
+ * Disconnect
+ *
+ * @param int $reason
+ * @return bool
+ * @access private
+ */
+ function _disconnect($reason)
+ {
+ $this->pwd = false;
+ parent::_disconnect($reason);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SFTP/Stream.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SFTP/Stream.php
new file mode 100644
index 00000000..08d726ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SFTP/Stream.php
@@ -0,0 +1,795 @@
+<?php
+
+/**
+ * SFTP Stream Wrapper
+ *
+ * Creates an sftp:// protocol handler that can be used with, for example, fopen(), dir(), etc.
+ *
+ * PHP version 5
+ *
+ * @category Net
+ * @package SFTP
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2013 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Net\SFTP;
+
+use phpseclib\Crypt\RSA;
+use phpseclib\Net\SFTP;
+
+/**
+ * SFTP Stream Wrapper
+ *
+ * @package SFTP
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class Stream
+{
+ /**
+ * SFTP instances
+ *
+ * Rather than re-create the connection we re-use instances if possible
+ *
+ * @var array
+ */
+ static $instances;
+
+ /**
+ * SFTP instance
+ *
+ * @var object
+ * @access private
+ */
+ var $sftp;
+
+ /**
+ * Path
+ *
+ * @var string
+ * @access private
+ */
+ var $path;
+
+ /**
+ * Mode
+ *
+ * @var string
+ * @access private
+ */
+ var $mode;
+
+ /**
+ * Position
+ *
+ * @var int
+ * @access private
+ */
+ var $pos;
+
+ /**
+ * Size
+ *
+ * @var int
+ * @access private
+ */
+ var $size;
+
+ /**
+ * Directory entries
+ *
+ * @var array
+ * @access private
+ */
+ var $entries;
+
+ /**
+ * EOF flag
+ *
+ * @var bool
+ * @access private
+ */
+ var $eof;
+
+ /**
+ * Context resource
+ *
+ * Technically this needs to be publically accessible so PHP can set it directly
+ *
+ * @var resource
+ * @access public
+ */
+ var $context;
+
+ /**
+ * Notification callback function
+ *
+ * @var callable
+ * @access public
+ */
+ var $notification;
+
+ /**
+ * Registers this class as a URL wrapper.
+ *
+ * @param string $protocol The wrapper name to be registered.
+ * @return bool True on success, false otherwise.
+ * @access public
+ */
+ static function register($protocol = 'sftp')
+ {
+ if (in_array($protocol, stream_get_wrappers(), true)) {
+ return false;
+ }
+ return stream_wrapper_register($protocol, get_called_class());
+ }
+
+ /**
+ * The Constructor
+ *
+ * @access public
+ */
+ function __construct()
+ {
+ if (defined('NET_SFTP_STREAM_LOGGING')) {
+ echo "__construct()\r\n";
+ }
+ }
+
+ /**
+ * Path Parser
+ *
+ * Extract a path from a URI and actually connect to an SSH server if appropriate
+ *
+ * If "notification" is set as a context parameter the message code for successful login is
+ * NET_SSH2_MSG_USERAUTH_SUCCESS. For a failed login it's NET_SSH2_MSG_USERAUTH_FAILURE.
+ *
+ * @param string $path
+ * @return string
+ * @access private
+ */
+ function _parse_path($path)
+ {
+ $orig = $path;
+ extract(parse_url($path) + array('port' => 22));
+ if (isset($query)) {
+ $path.= '?' . $query;
+ } elseif (preg_match('/(\?|\?#)$/', $orig)) {
+ $path.= '?';
+ }
+ if (isset($fragment)) {
+ $path.= '#' . $fragment;
+ } elseif ($orig[strlen($orig) - 1] == '#') {
+ $path.= '#';
+ }
+
+ if (!isset($host)) {
+ return false;
+ }
+
+ if (isset($this->context)) {
+ $context = stream_context_get_params($this->context);
+ if (isset($context['notification'])) {
+ $this->notification = $context['notification'];
+ }
+ }
+
+ if ($host[0] == '$') {
+ $host = substr($host, 1);
+ global $$host;
+ if (($$host instanceof SFTP) === false) {
+ return false;
+ }
+ $this->sftp = $$host;
+ } else {
+ if (isset($this->context)) {
+ $context = stream_context_get_options($this->context);
+ }
+ if (isset($context[$scheme]['session'])) {
+ $sftp = $context[$scheme]['session'];
+ }
+ if (isset($context[$scheme]['sftp'])) {
+ $sftp = $context[$scheme]['sftp'];
+ }
+ if (isset($sftp) && $sftp instanceof SFTP) {
+ $this->sftp = $sftp;
+ return $path;
+ }
+ if (isset($context[$scheme]['username'])) {
+ $user = $context[$scheme]['username'];
+ }
+ if (isset($context[$scheme]['password'])) {
+ $pass = $context[$scheme]['password'];
+ }
+ if (isset($context[$scheme]['privkey']) && $context[$scheme]['privkey'] instanceof RSA) {
+ $pass = $context[$scheme]['privkey'];
+ }
+
+ if (!isset($user) || !isset($pass)) {
+ return false;
+ }
+
+ // casting $pass to a string is necessary in the event that it's a \phpseclib\Crypt\RSA object
+ if (isset(self::$instances[$host][$port][$user][(string) $pass])) {
+ $this->sftp = self::$instances[$host][$port][$user][(string) $pass];
+ } else {
+ $this->sftp = new SFTP($host, $port);
+ $this->sftp->disableStatCache();
+ if (isset($this->notification) && is_callable($this->notification)) {
+ /* if !is_callable($this->notification) we could do this:
+
+ user_error('fopen(): failed to call user notifier', E_USER_WARNING);
+
+ the ftp wrapper gives errors like that when the notifier isn't callable.
+ i've opted not to do that, however, since the ftp wrapper gives the line
+ on which the fopen occurred as the line number - not the line that the
+ user_error is on.
+ */
+ call_user_func($this->notification, STREAM_NOTIFY_CONNECT, STREAM_NOTIFY_SEVERITY_INFO, '', 0, 0, 0);
+ call_user_func($this->notification, STREAM_NOTIFY_AUTH_REQUIRED, STREAM_NOTIFY_SEVERITY_INFO, '', 0, 0, 0);
+ if (!$this->sftp->login($user, $pass)) {
+ call_user_func($this->notification, STREAM_NOTIFY_AUTH_RESULT, STREAM_NOTIFY_SEVERITY_ERR, 'Login Failure', NET_SSH2_MSG_USERAUTH_FAILURE, 0, 0);
+ return false;
+ }
+ call_user_func($this->notification, STREAM_NOTIFY_AUTH_RESULT, STREAM_NOTIFY_SEVERITY_INFO, 'Login Success', NET_SSH2_MSG_USERAUTH_SUCCESS, 0, 0);
+ } else {
+ if (!$this->sftp->login($user, $pass)) {
+ return false;
+ }
+ }
+ self::$instances[$host][$port][$user][(string) $pass] = $this->sftp;
+ }
+ }
+
+ return $path;
+ }
+
+ /**
+ * Opens file or URL
+ *
+ * @param string $path
+ * @param string $mode
+ * @param int $options
+ * @param string $opened_path
+ * @return bool
+ * @access public
+ */
+ function _stream_open($path, $mode, $options, &$opened_path)
+ {
+ $path = $this->_parse_path($path);
+
+ if ($path === false) {
+ return false;
+ }
+ $this->path = $path;
+
+ $this->size = $this->sftp->size($path);
+ $this->mode = preg_replace('#[bt]$#', '', $mode);
+ $this->eof = false;
+
+ if ($this->size === false) {
+ if ($this->mode[0] == 'r') {
+ return false;
+ } else {
+ $this->sftp->touch($path);
+ $this->size = 0;
+ }
+ } else {
+ switch ($this->mode[0]) {
+ case 'x':
+ return false;
+ case 'w':
+ $this->sftp->truncate($path, 0);
+ $this->size = 0;
+ }
+ }
+
+ $this->pos = $this->mode[0] != 'a' ? 0 : $this->size;
+
+ return true;
+ }
+
+ /**
+ * Read from stream
+ *
+ * @param int $count
+ * @return mixed
+ * @access public
+ */
+ function _stream_read($count)
+ {
+ switch ($this->mode) {
+ case 'w':
+ case 'a':
+ case 'x':
+ case 'c':
+ return false;
+ }
+
+ // commented out because some files - eg. /dev/urandom - will say their size is 0 when in fact it's kinda infinite
+ //if ($this->pos >= $this->size) {
+ // $this->eof = true;
+ // return false;
+ //}
+
+ $result = $this->sftp->get($this->path, false, $this->pos, $count);
+ if (isset($this->notification) && is_callable($this->notification)) {
+ if ($result === false) {
+ call_user_func($this->notification, STREAM_NOTIFY_FAILURE, STREAM_NOTIFY_SEVERITY_ERR, $this->sftp->getLastSFTPError(), NET_SFTP_OPEN, 0, 0);
+ return 0;
+ }
+ // seems that PHP calls stream_read in 8k chunks
+ call_user_func($this->notification, STREAM_NOTIFY_PROGRESS, STREAM_NOTIFY_SEVERITY_INFO, '', 0, strlen($result), $this->size);
+ }
+
+ if (empty($result)) { // ie. false or empty string
+ $this->eof = true;
+ return false;
+ }
+ $this->pos+= strlen($result);
+
+ return $result;
+ }
+
+ /**
+ * Write to stream
+ *
+ * @param string $data
+ * @return mixed
+ * @access public
+ */
+ function _stream_write($data)
+ {
+ switch ($this->mode) {
+ case 'r':
+ return false;
+ }
+
+ $result = $this->sftp->put($this->path, $data, SFTP::SOURCE_STRING, $this->pos);
+ if (isset($this->notification) && is_callable($this->notification)) {
+ if (!$result) {
+ call_user_func($this->notification, STREAM_NOTIFY_FAILURE, STREAM_NOTIFY_SEVERITY_ERR, $this->sftp->getLastSFTPError(), NET_SFTP_OPEN, 0, 0);
+ return 0;
+ }
+ // seems that PHP splits up strings into 8k blocks before calling stream_write
+ call_user_func($this->notification, STREAM_NOTIFY_PROGRESS, STREAM_NOTIFY_SEVERITY_INFO, '', 0, strlen($data), strlen($data));
+ }
+
+ if ($result === false) {
+ return false;
+ }
+ $this->pos+= strlen($data);
+ if ($this->pos > $this->size) {
+ $this->size = $this->pos;
+ }
+ $this->eof = false;
+ return strlen($data);
+ }
+
+ /**
+ * Retrieve the current position of a stream
+ *
+ * @return int
+ * @access public
+ */
+ function _stream_tell()
+ {
+ return $this->pos;
+ }
+
+ /**
+ * Tests for end-of-file on a file pointer
+ *
+ * In my testing there are four classes functions that normally effect the pointer:
+ * fseek, fputs / fwrite, fgets / fread and ftruncate.
+ *
+ * Only fgets / fread, however, results in feof() returning true. do fputs($fp, 'aaa') on a blank file and feof()
+ * will return false. do fread($fp, 1) and feof() will then return true. do fseek($fp, 10) on ablank file and feof()
+ * will return false. do fread($fp, 1) and feof() will then return true.
+ *
+ * @return bool
+ * @access public
+ */
+ function _stream_eof()
+ {
+ return $this->eof;
+ }
+
+ /**
+ * Seeks to specific location in a stream
+ *
+ * @param int $offset
+ * @param int $whence
+ * @return bool
+ * @access public
+ */
+ function _stream_seek($offset, $whence)
+ {
+ switch ($whence) {
+ case SEEK_SET:
+ if ($offset >= $this->size || $offset < 0) {
+ return false;
+ }
+ break;
+ case SEEK_CUR:
+ $offset+= $this->pos;
+ break;
+ case SEEK_END:
+ $offset+= $this->size;
+ }
+
+ $this->pos = $offset;
+ $this->eof = false;
+ return true;
+ }
+
+ /**
+ * Change stream options
+ *
+ * @param string $path
+ * @param int $option
+ * @param mixed $var
+ * @return bool
+ * @access public
+ */
+ function _stream_metadata($path, $option, $var)
+ {
+ $path = $this->_parse_path($path);
+ if ($path === false) {
+ return false;
+ }
+
+ // stream_metadata was introduced in PHP 5.4.0 but as of 5.4.11 the constants haven't been defined
+ // see http://www.php.net/streamwrapper.stream-metadata and https://bugs.php.net/64246
+ // and https://github.com/php/php-src/blob/master/main/php_streams.h#L592
+ switch ($option) {
+ case 1: // PHP_STREAM_META_TOUCH
+ return $this->sftp->touch($path, $var[0], $var[1]);
+ case 2: // PHP_STREAM_OWNER_NAME
+ case 3: // PHP_STREAM_GROUP_NAME
+ return false;
+ case 4: // PHP_STREAM_META_OWNER
+ return $this->sftp->chown($path, $var);
+ case 5: // PHP_STREAM_META_GROUP
+ return $this->sftp->chgrp($path, $var);
+ case 6: // PHP_STREAM_META_ACCESS
+ return $this->sftp->chmod($path, $var) !== false;
+ }
+ }
+
+ /**
+ * Retrieve the underlaying resource
+ *
+ * @param int $cast_as
+ * @return resource
+ * @access public
+ */
+ function _stream_cast($cast_as)
+ {
+ return $this->sftp->fsock;
+ }
+
+ /**
+ * Advisory file locking
+ *
+ * @param int $operation
+ * @return bool
+ * @access public
+ */
+ function _stream_lock($operation)
+ {
+ return false;
+ }
+
+ /**
+ * Renames a file or directory
+ *
+ * Attempts to rename oldname to newname, moving it between directories if necessary.
+ * If newname exists, it will be overwritten. This is a departure from what \phpseclib\Net\SFTP
+ * does.
+ *
+ * @param string $path_from
+ * @param string $path_to
+ * @return bool
+ * @access public
+ */
+ function _rename($path_from, $path_to)
+ {
+ $path1 = parse_url($path_from);
+ $path2 = parse_url($path_to);
+ unset($path1['path'], $path2['path']);
+ if ($path1 != $path2) {
+ return false;
+ }
+
+ $path_from = $this->_parse_path($path_from);
+ $path_to = parse_url($path_to);
+ if ($path_from === false) {
+ return false;
+ }
+
+ $path_to = $path_to['path']; // the $component part of parse_url() was added in PHP 5.1.2
+ // "It is an error if there already exists a file with the name specified by newpath."
+ // -- http://tools.ietf.org/html/draft-ietf-secsh-filexfer-02#section-6.5
+ if (!$this->sftp->rename($path_from, $path_to)) {
+ if ($this->sftp->stat($path_to)) {
+ return $this->sftp->delete($path_to, true) && $this->sftp->rename($path_from, $path_to);
+ }
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Open directory handle
+ *
+ * The only $options is "whether or not to enforce safe_mode (0x04)". Since safe mode was deprecated in 5.3 and
+ * removed in 5.4 I'm just going to ignore it.
+ *
+ * Also, nlist() is the best that this function is realistically going to be able to do. When an SFTP client
+ * sends a SSH_FXP_READDIR packet you don't generally get info on just one file but on multiple files. Quoting
+ * the SFTP specs:
+ *
+ * The SSH_FXP_NAME response has the following format:
+ *
+ * uint32 id
+ * uint32 count
+ * repeats count times:
+ * string filename
+ * string longname
+ * ATTRS attrs
+ *
+ * @param string $path
+ * @param int $options
+ * @return bool
+ * @access public
+ */
+ function _dir_opendir($path, $options)
+ {
+ $path = $this->_parse_path($path);
+ if ($path === false) {
+ return false;
+ }
+ $this->pos = 0;
+ $this->entries = $this->sftp->nlist($path);
+ return $this->entries !== false;
+ }
+
+ /**
+ * Read entry from directory handle
+ *
+ * @return mixed
+ * @access public
+ */
+ function _dir_readdir()
+ {
+ if (isset($this->entries[$this->pos])) {
+ return $this->entries[$this->pos++];
+ }
+ return false;
+ }
+
+ /**
+ * Rewind directory handle
+ *
+ * @return bool
+ * @access public
+ */
+ function _dir_rewinddir()
+ {
+ $this->pos = 0;
+ return true;
+ }
+
+ /**
+ * Close directory handle
+ *
+ * @return bool
+ * @access public
+ */
+ function _dir_closedir()
+ {
+ return true;
+ }
+
+ /**
+ * Create a directory
+ *
+ * Only valid $options is STREAM_MKDIR_RECURSIVE
+ *
+ * @param string $path
+ * @param int $mode
+ * @param int $options
+ * @return bool
+ * @access public
+ */
+ function _mkdir($path, $mode, $options)
+ {
+ $path = $this->_parse_path($path);
+ if ($path === false) {
+ return false;
+ }
+
+ return $this->sftp->mkdir($path, $mode, $options & STREAM_MKDIR_RECURSIVE);
+ }
+
+ /**
+ * Removes a directory
+ *
+ * Only valid $options is STREAM_MKDIR_RECURSIVE per <http://php.net/streamwrapper.rmdir>, however,
+ * <http://php.net/rmdir> does not have a $recursive parameter as mkdir() does so I don't know how
+ * STREAM_MKDIR_RECURSIVE is supposed to be set. Also, when I try it out with rmdir() I get 8 as
+ * $options. What does 8 correspond to?
+ *
+ * @param string $path
+ * @param int $mode
+ * @param int $options
+ * @return bool
+ * @access public
+ */
+ function _rmdir($path, $options)
+ {
+ $path = $this->_parse_path($path);
+ if ($path === false) {
+ return false;
+ }
+
+ return $this->sftp->rmdir($path);
+ }
+
+ /**
+ * Flushes the output
+ *
+ * See <http://php.net/fflush>. Always returns true because \phpseclib\Net\SFTP doesn't cache stuff before writing
+ *
+ * @return bool
+ * @access public
+ */
+ function _stream_flush()
+ {
+ return true;
+ }
+
+ /**
+ * Retrieve information about a file resource
+ *
+ * @return mixed
+ * @access public
+ */
+ function _stream_stat()
+ {
+ $results = $this->sftp->stat($this->path);
+ if ($results === false) {
+ return false;
+ }
+ return $results;
+ }
+
+ /**
+ * Delete a file
+ *
+ * @param string $path
+ * @return bool
+ * @access public
+ */
+ function _unlink($path)
+ {
+ $path = $this->_parse_path($path);
+ if ($path === false) {
+ return false;
+ }
+
+ return $this->sftp->delete($path, false);
+ }
+
+ /**
+ * Retrieve information about a file
+ *
+ * Ignores the STREAM_URL_STAT_QUIET flag because the entirety of \phpseclib\Net\SFTP\Stream is quiet by default
+ * might be worthwhile to reconstruct bits 12-16 (ie. the file type) if mode doesn't have them but we'll
+ * cross that bridge when and if it's reached
+ *
+ * @param string $path
+ * @param int $flags
+ * @return mixed
+ * @access public
+ */
+ function _url_stat($path, $flags)
+ {
+ $path = $this->_parse_path($path);
+ if ($path === false) {
+ return false;
+ }
+
+ $results = $flags & STREAM_URL_STAT_LINK ? $this->sftp->lstat($path) : $this->sftp->stat($path);
+ if ($results === false) {
+ return false;
+ }
+
+ return $results;
+ }
+
+ /**
+ * Truncate stream
+ *
+ * @param int $new_size
+ * @return bool
+ * @access public
+ */
+ function _stream_truncate($new_size)
+ {
+ if (!$this->sftp->truncate($this->path, $new_size)) {
+ return false;
+ }
+
+ $this->eof = false;
+ $this->size = $new_size;
+
+ return true;
+ }
+
+ /**
+ * Change stream options
+ *
+ * STREAM_OPTION_WRITE_BUFFER isn't supported for the same reason stream_flush isn't.
+ * The other two aren't supported because of limitations in \phpseclib\Net\SFTP.
+ *
+ * @param int $option
+ * @param int $arg1
+ * @param int $arg2
+ * @return bool
+ * @access public
+ */
+ function _stream_set_option($option, $arg1, $arg2)
+ {
+ return false;
+ }
+
+ /**
+ * Close an resource
+ *
+ * @access public
+ */
+ function _stream_close()
+ {
+ }
+
+ /**
+ * __call Magic Method
+ *
+ * When you're utilizing an SFTP stream you're not calling the methods in this class directly - PHP is calling them for you.
+ * Which kinda begs the question... what methods is PHP calling and what parameters is it passing to them? This function
+ * lets you figure that out.
+ *
+ * If NET_SFTP_STREAM_LOGGING is defined all calls will be output on the screen and then (regardless of whether or not
+ * NET_SFTP_STREAM_LOGGING is enabled) the parameters will be passed through to the appropriate method.
+ *
+ * @param string
+ * @param array
+ * @return mixed
+ * @access public
+ */
+ function __call($name, $arguments)
+ {
+ if (defined('NET_SFTP_STREAM_LOGGING')) {
+ echo $name . '(';
+ $last = count($arguments) - 1;
+ foreach ($arguments as $i => $argument) {
+ var_export($argument);
+ if ($i != $last) {
+ echo ',';
+ }
+ }
+ echo ")\r\n";
+ }
+ $name = '_' . $name;
+ if (!method_exists($this, $name)) {
+ return false;
+ }
+ return call_user_func_array(array($this, $name), $arguments);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SSH1.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SSH1.php
new file mode 100644
index 00000000..9e608f4b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SSH1.php
@@ -0,0 +1,1642 @@
+<?php
+
+/**
+ * Pure-PHP implementation of SSHv1.
+ *
+ * PHP version 5
+ *
+ * Here's a short example of how to use this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $ssh = new \phpseclib\Net\SSH1('www.domain.tld');
+ * if (!$ssh->login('username', 'password')) {
+ * exit('Login Failed');
+ * }
+ *
+ * echo $ssh->exec('ls -la');
+ * ?>
+ * </code>
+ *
+ * Here's another short example:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $ssh = new \phpseclib\Net\SSH1('www.domain.tld');
+ * if (!$ssh->login('username', 'password')) {
+ * exit('Login Failed');
+ * }
+ *
+ * echo $ssh->read('username@username:~$');
+ * $ssh->write("ls -la\n");
+ * echo $ssh->read('username@username:~$');
+ * ?>
+ * </code>
+ *
+ * More information on the SSHv1 specification can be found by reading
+ * {@link http://www.snailbook.com/docs/protocol-1.5.txt protocol-1.5.txt}.
+ *
+ * @category Net
+ * @package SSH1
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2007 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Net;
+
+use phpseclib\Crypt\DES;
+use phpseclib\Crypt\Random;
+use phpseclib\Crypt\TripleDES;
+use phpseclib\Math\BigInteger;
+
+/**
+ * Pure-PHP implementation of SSHv1.
+ *
+ * @package SSH1
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class SSH1
+{
+ /**#@+
+ * Encryption Methods
+ *
+ * @see \phpseclib\Net\SSH1::getSupportedCiphers()
+ * @access public
+ */
+ /**
+ * No encryption
+ *
+ * Not supported.
+ */
+ const CIPHER_NONE = 0;
+ /**
+ * IDEA in CFB mode
+ *
+ * Not supported.
+ */
+ const CIPHER_IDEA = 1;
+ /**
+ * DES in CBC mode
+ */
+ const CIPHER_DES = 2;
+ /**
+ * Triple-DES in CBC mode
+ *
+ * All implementations are required to support this
+ */
+ const CIPHER_3DES = 3;
+ /**
+ * TRI's Simple Stream encryption CBC
+ *
+ * Not supported nor is it defined in the official SSH1 specs. OpenSSH, however, does define it (see cipher.h),
+ * although it doesn't use it (see cipher.c)
+ */
+ const CIPHER_BROKEN_TSS = 4;
+ /**
+ * RC4
+ *
+ * Not supported.
+ *
+ * @internal According to the SSH1 specs:
+ *
+ * "The first 16 bytes of the session key are used as the key for
+ * the server to client direction. The remaining 16 bytes are used
+ * as the key for the client to server direction. This gives
+ * independent 128-bit keys for each direction."
+ *
+ * This library currently only supports encryption when the same key is being used for both directions. This is
+ * because there's only one $crypto object. Two could be added ($encrypt and $decrypt, perhaps).
+ */
+ const CIPHER_RC4 = 5;
+ /**
+ * Blowfish
+ *
+ * Not supported nor is it defined in the official SSH1 specs. OpenSSH, however, defines it (see cipher.h) and
+ * uses it (see cipher.c)
+ */
+ const CIPHER_BLOWFISH = 6;
+ /**#@-*/
+
+ /**#@+
+ * Authentication Methods
+ *
+ * @see \phpseclib\Net\SSH1::getSupportedAuthentications()
+ * @access public
+ */
+ /**
+ * .rhosts or /etc/hosts.equiv
+ */
+ const AUTH_RHOSTS = 1;
+ /**
+ * pure RSA authentication
+ */
+ const AUTH_RSA = 2;
+ /**
+ * password authentication
+ *
+ * This is the only method that is supported by this library.
+ */
+ const AUTH_PASSWORD = 3;
+ /**
+ * .rhosts with RSA host authentication
+ */
+ const AUTH_RHOSTS_RSA = 4;
+ /**#@-*/
+
+ /**#@+
+ * Terminal Modes
+ *
+ * @link http://3sp.com/content/developer/maverick-net/docs/Maverick.SSH.PseudoTerminalModesMembers.html
+ * @access private
+ */
+ const TTY_OP_END = 0;
+ /**#@-*/
+
+ /**
+ * The Response Type
+ *
+ * @see \phpseclib\Net\SSH1::_get_binary_packet()
+ * @access private
+ */
+ const RESPONSE_TYPE = 1;
+
+ /**
+ * The Response Data
+ *
+ * @see \phpseclib\Net\SSH1::_get_binary_packet()
+ * @access private
+ */
+ const RESPONSE_DATA = 2;
+
+ /**#@+
+ * Execution Bitmap Masks
+ *
+ * @see \phpseclib\Net\SSH1::bitmap
+ * @access private
+ */
+ const MASK_CONSTRUCTOR = 0x00000001;
+ const MASK_CONNECTED = 0x00000002;
+ const MASK_LOGIN = 0x00000004;
+ const MASK_SHELL = 0x00000008;
+ /**#@-*/
+
+ /**#@+
+ * @access public
+ * @see \phpseclib\Net\SSH1::getLog()
+ */
+ /**
+ * Returns the message numbers
+ */
+ const LOG_SIMPLE = 1;
+ /**
+ * Returns the message content
+ */
+ const LOG_COMPLEX = 2;
+ /**
+ * Outputs the content real-time
+ */
+ const LOG_REALTIME = 3;
+ /**
+ * Dumps the content real-time to a file
+ */
+ const LOG_REALTIME_FILE = 4;
+ /**#@-*/
+
+ /**#@+
+ * @access public
+ * @see \phpseclib\Net\SSH1::read()
+ */
+ /**
+ * Returns when a string matching $expect exactly is found
+ */
+ const READ_SIMPLE = 1;
+ /**
+ * Returns when a string matching the regular expression $expect is found
+ */
+ const READ_REGEX = 2;
+ /**#@-*/
+
+ /**
+ * The SSH identifier
+ *
+ * @var string
+ * @access private
+ */
+ var $identifier = 'SSH-1.5-phpseclib';
+
+ /**
+ * The Socket Object
+ *
+ * @var object
+ * @access private
+ */
+ var $fsock;
+
+ /**
+ * The cryptography object
+ *
+ * @var object
+ * @access private
+ */
+ var $crypto = false;
+
+ /**
+ * Execution Bitmap
+ *
+ * The bits that are set represent functions that have been called already. This is used to determine
+ * if a requisite function has been successfully executed. If not, an error should be thrown.
+ *
+ * @var int
+ * @access private
+ */
+ var $bitmap = 0;
+
+ /**
+ * The Server Key Public Exponent
+ *
+ * Logged for debug purposes
+ *
+ * @see self::getServerKeyPublicExponent()
+ * @var string
+ * @access private
+ */
+ var $server_key_public_exponent;
+
+ /**
+ * The Server Key Public Modulus
+ *
+ * Logged for debug purposes
+ *
+ * @see self::getServerKeyPublicModulus()
+ * @var string
+ * @access private
+ */
+ var $server_key_public_modulus;
+
+ /**
+ * The Host Key Public Exponent
+ *
+ * Logged for debug purposes
+ *
+ * @see self::getHostKeyPublicExponent()
+ * @var string
+ * @access private
+ */
+ var $host_key_public_exponent;
+
+ /**
+ * The Host Key Public Modulus
+ *
+ * Logged for debug purposes
+ *
+ * @see self::getHostKeyPublicModulus()
+ * @var string
+ * @access private
+ */
+ var $host_key_public_modulus;
+
+ /**
+ * Supported Ciphers
+ *
+ * Logged for debug purposes
+ *
+ * @see self::getSupportedCiphers()
+ * @var array
+ * @access private
+ */
+ var $supported_ciphers = array(
+ self::CIPHER_NONE => 'No encryption',
+ self::CIPHER_IDEA => 'IDEA in CFB mode',
+ self::CIPHER_DES => 'DES in CBC mode',
+ self::CIPHER_3DES => 'Triple-DES in CBC mode',
+ self::CIPHER_BROKEN_TSS => 'TRI\'s Simple Stream encryption CBC',
+ self::CIPHER_RC4 => 'RC4',
+ self::CIPHER_BLOWFISH => 'Blowfish'
+ );
+
+ /**
+ * Supported Authentications
+ *
+ * Logged for debug purposes
+ *
+ * @see self::getSupportedAuthentications()
+ * @var array
+ * @access private
+ */
+ var $supported_authentications = array(
+ self::AUTH_RHOSTS => '.rhosts or /etc/hosts.equiv',
+ self::AUTH_RSA => 'pure RSA authentication',
+ self::AUTH_PASSWORD => 'password authentication',
+ self::AUTH_RHOSTS_RSA => '.rhosts with RSA host authentication'
+ );
+
+ /**
+ * Server Identification
+ *
+ * @see self::getServerIdentification()
+ * @var string
+ * @access private
+ */
+ var $server_identification = '';
+
+ /**
+ * Protocol Flags
+ *
+ * @see self::__construct()
+ * @var array
+ * @access private
+ */
+ var $protocol_flags = array();
+
+ /**
+ * Protocol Flag Log
+ *
+ * @see self::getLog()
+ * @var array
+ * @access private
+ */
+ var $protocol_flag_log = array();
+
+ /**
+ * Message Log
+ *
+ * @see self::getLog()
+ * @var array
+ * @access private
+ */
+ var $message_log = array();
+
+ /**
+ * Real-time log file pointer
+ *
+ * @see self::_append_log()
+ * @var resource
+ * @access private
+ */
+ var $realtime_log_file;
+
+ /**
+ * Real-time log file size
+ *
+ * @see self::_append_log()
+ * @var int
+ * @access private
+ */
+ var $realtime_log_size;
+
+ /**
+ * Real-time log file wrap boolean
+ *
+ * @see self::_append_log()
+ * @var bool
+ * @access private
+ */
+ var $realtime_log_wrap;
+
+ /**
+ * Interactive Buffer
+ *
+ * @see self::read()
+ * @var array
+ * @access private
+ */
+ var $interactiveBuffer = '';
+
+ /**
+ * Timeout
+ *
+ * @see self::setTimeout()
+ * @access private
+ */
+ var $timeout;
+
+ /**
+ * Current Timeout
+ *
+ * @see self::_get_channel_packet()
+ * @access private
+ */
+ var $curTimeout;
+
+ /**
+ * Log Boundary
+ *
+ * @see self::_format_log()
+ * @access private
+ */
+ var $log_boundary = ':';
+
+ /**
+ * Log Long Width
+ *
+ * @see self::_format_log()
+ * @access private
+ */
+ var $log_long_width = 65;
+
+ /**
+ * Log Short Width
+ *
+ * @see self::_format_log()
+ * @access private
+ */
+ var $log_short_width = 16;
+
+ /**
+ * Hostname
+ *
+ * @see self::__construct()
+ * @see self::_connect()
+ * @var string
+ * @access private
+ */
+ var $host;
+
+ /**
+ * Port Number
+ *
+ * @see self::__construct()
+ * @see self::_connect()
+ * @var int
+ * @access private
+ */
+ var $port;
+
+ /**
+ * Timeout for initial connection
+ *
+ * Set by the constructor call. Calling setTimeout() is optional. If it's not called functions like
+ * exec() won't timeout unless some PHP setting forces it too. The timeout specified in the constructor,
+ * however, is non-optional. There will be a timeout, whether or not you set it. If you don't it'll be
+ * 10 seconds. It is used by fsockopen() in that function.
+ *
+ * @see self::__construct()
+ * @see self::_connect()
+ * @var int
+ * @access private
+ */
+ var $connectionTimeout;
+
+ /**
+ * Default cipher
+ *
+ * @see self::__construct()
+ * @see self::_connect()
+ * @var int
+ * @access private
+ */
+ var $cipher;
+
+ /**
+ * Default Constructor.
+ *
+ * Connects to an SSHv1 server
+ *
+ * @param string $host
+ * @param int $port
+ * @param int $timeout
+ * @param int $cipher
+ * @return \phpseclib\Net\SSH1
+ * @access public
+ */
+ function __construct($host, $port = 22, $timeout = 10, $cipher = self::CIPHER_3DES)
+ {
+ $this->protocol_flags = array(
+ 1 => 'NET_SSH1_MSG_DISCONNECT',
+ 2 => 'NET_SSH1_SMSG_PUBLIC_KEY',
+ 3 => 'NET_SSH1_CMSG_SESSION_KEY',
+ 4 => 'NET_SSH1_CMSG_USER',
+ 9 => 'NET_SSH1_CMSG_AUTH_PASSWORD',
+ 10 => 'NET_SSH1_CMSG_REQUEST_PTY',
+ 12 => 'NET_SSH1_CMSG_EXEC_SHELL',
+ 13 => 'NET_SSH1_CMSG_EXEC_CMD',
+ 14 => 'NET_SSH1_SMSG_SUCCESS',
+ 15 => 'NET_SSH1_SMSG_FAILURE',
+ 16 => 'NET_SSH1_CMSG_STDIN_DATA',
+ 17 => 'NET_SSH1_SMSG_STDOUT_DATA',
+ 18 => 'NET_SSH1_SMSG_STDERR_DATA',
+ 19 => 'NET_SSH1_CMSG_EOF',
+ 20 => 'NET_SSH1_SMSG_EXITSTATUS',
+ 33 => 'NET_SSH1_CMSG_EXIT_CONFIRMATION'
+ );
+
+ $this->_define_array($this->protocol_flags);
+
+ $this->host = $host;
+ $this->port = $port;
+ $this->connectionTimeout = $timeout;
+ $this->cipher = $cipher;
+ }
+
+ /**
+ * Connect to an SSHv1 server
+ *
+ * @return bool
+ * @access private
+ */
+ function _connect()
+ {
+ $this->fsock = @fsockopen($this->host, $this->port, $errno, $errstr, $this->connectionTimeout);
+ if (!$this->fsock) {
+ user_error(rtrim("Cannot connect to {$this->host}:{$this->port}. Error $errno. $errstr"));
+ return false;
+ }
+
+ $this->server_identification = $init_line = fgets($this->fsock, 255);
+
+ if (defined('NET_SSH1_LOGGING')) {
+ $this->_append_log('<-', $this->server_identification);
+ $this->_append_log('->', $this->identifier . "\r\n");
+ }
+
+ if (!preg_match('#SSH-([0-9\.]+)-(.+)#', $init_line, $parts)) {
+ user_error('Can only connect to SSH servers');
+ return false;
+ }
+ if ($parts[1][0] != 1) {
+ user_error("Cannot connect to SSH $parts[1] servers");
+ return false;
+ }
+
+ fputs($this->fsock, $this->identifier."\r\n");
+
+ $response = $this->_get_binary_packet();
+ if ($response[self::RESPONSE_TYPE] != NET_SSH1_SMSG_PUBLIC_KEY) {
+ user_error('Expected SSH_SMSG_PUBLIC_KEY');
+ return false;
+ }
+
+ $anti_spoofing_cookie = $this->_string_shift($response[self::RESPONSE_DATA], 8);
+
+ $this->_string_shift($response[self::RESPONSE_DATA], 4);
+
+ if (strlen($response[self::RESPONSE_DATA]) < 2) {
+ return false;
+ }
+ $temp = unpack('nlen', $this->_string_shift($response[self::RESPONSE_DATA], 2));
+ $server_key_public_exponent = new BigInteger($this->_string_shift($response[self::RESPONSE_DATA], ceil($temp['len'] / 8)), 256);
+ $this->server_key_public_exponent = $server_key_public_exponent;
+
+ if (strlen($response[self::RESPONSE_DATA]) < 2) {
+ return false;
+ }
+ $temp = unpack('nlen', $this->_string_shift($response[self::RESPONSE_DATA], 2));
+ $server_key_public_modulus = new BigInteger($this->_string_shift($response[self::RESPONSE_DATA], ceil($temp['len'] / 8)), 256);
+
+ $this->server_key_public_modulus = $server_key_public_modulus;
+
+ $this->_string_shift($response[self::RESPONSE_DATA], 4);
+
+ if (strlen($response[self::RESPONSE_DATA]) < 2) {
+ return false;
+ }
+ $temp = unpack('nlen', $this->_string_shift($response[self::RESPONSE_DATA], 2));
+ $host_key_public_exponent = new BigInteger($this->_string_shift($response[self::RESPONSE_DATA], ceil($temp['len'] / 8)), 256);
+ $this->host_key_public_exponent = $host_key_public_exponent;
+
+ if (strlen($response[self::RESPONSE_DATA]) < 2) {
+ return false;
+ }
+ $temp = unpack('nlen', $this->_string_shift($response[self::RESPONSE_DATA], 2));
+ $host_key_public_modulus = new BigInteger($this->_string_shift($response[self::RESPONSE_DATA], ceil($temp['len'] / 8)), 256);
+
+ $this->host_key_public_modulus = $host_key_public_modulus;
+
+ $this->_string_shift($response[self::RESPONSE_DATA], 4);
+
+ // get a list of the supported ciphers
+ if (strlen($response[self::RESPONSE_DATA]) < 4) {
+ return false;
+ }
+ extract(unpack('Nsupported_ciphers_mask', $this->_string_shift($response[self::RESPONSE_DATA], 4)));
+
+ foreach ($this->supported_ciphers as $mask => $name) {
+ if (($supported_ciphers_mask & (1 << $mask)) == 0) {
+ unset($this->supported_ciphers[$mask]);
+ }
+ }
+
+ // get a list of the supported authentications
+ if (strlen($response[self::RESPONSE_DATA]) < 4) {
+ return false;
+ }
+ extract(unpack('Nsupported_authentications_mask', $this->_string_shift($response[self::RESPONSE_DATA], 4)));
+ foreach ($this->supported_authentications as $mask => $name) {
+ if (($supported_authentications_mask & (1 << $mask)) == 0) {
+ unset($this->supported_authentications[$mask]);
+ }
+ }
+
+ $session_id = pack('H*', md5($host_key_public_modulus->toBytes() . $server_key_public_modulus->toBytes() . $anti_spoofing_cookie));
+
+ $session_key = Random::string(32);
+ $double_encrypted_session_key = $session_key ^ str_pad($session_id, 32, chr(0));
+
+ if ($server_key_public_modulus->compare($host_key_public_modulus) < 0) {
+ $double_encrypted_session_key = $this->_rsa_crypt(
+ $double_encrypted_session_key,
+ array(
+ $server_key_public_exponent,
+ $server_key_public_modulus
+ )
+ );
+ $double_encrypted_session_key = $this->_rsa_crypt(
+ $double_encrypted_session_key,
+ array(
+ $host_key_public_exponent,
+ $host_key_public_modulus
+ )
+ );
+ } else {
+ $double_encrypted_session_key = $this->_rsa_crypt(
+ $double_encrypted_session_key,
+ array(
+ $host_key_public_exponent,
+ $host_key_public_modulus
+ )
+ );
+ $double_encrypted_session_key = $this->_rsa_crypt(
+ $double_encrypted_session_key,
+ array(
+ $server_key_public_exponent,
+ $server_key_public_modulus
+ )
+ );
+ }
+
+ $cipher = isset($this->supported_ciphers[$this->cipher]) ? $this->cipher : self::CIPHER_3DES;
+ $data = pack('C2a*na*N', NET_SSH1_CMSG_SESSION_KEY, $cipher, $anti_spoofing_cookie, 8 * strlen($double_encrypted_session_key), $double_encrypted_session_key, 0);
+
+ if (!$this->_send_binary_packet($data)) {
+ user_error('Error sending SSH_CMSG_SESSION_KEY');
+ return false;
+ }
+
+ switch ($cipher) {
+ //case self::CIPHER_NONE:
+ // $this->crypto = new \phpseclib\Crypt\Null();
+ // break;
+ case self::CIPHER_DES:
+ $this->crypto = new DES();
+ $this->crypto->disablePadding();
+ $this->crypto->enableContinuousBuffer();
+ $this->crypto->setKey(substr($session_key, 0, 8));
+ break;
+ case self::CIPHER_3DES:
+ $this->crypto = new TripleDES(TripleDES::MODE_3CBC);
+ $this->crypto->disablePadding();
+ $this->crypto->enableContinuousBuffer();
+ $this->crypto->setKey(substr($session_key, 0, 24));
+ break;
+ //case self::CIPHER_RC4:
+ // $this->crypto = new RC4();
+ // $this->crypto->enableContinuousBuffer();
+ // $this->crypto->setKey(substr($session_key, 0, 16));
+ // break;
+ }
+
+ $response = $this->_get_binary_packet();
+
+ if ($response[self::RESPONSE_TYPE] != NET_SSH1_SMSG_SUCCESS) {
+ user_error('Expected SSH_SMSG_SUCCESS');
+ return false;
+ }
+
+ $this->bitmap = self::MASK_CONNECTED;
+
+ return true;
+ }
+
+ /**
+ * Login
+ *
+ * @param string $username
+ * @param string $password
+ * @return bool
+ * @access public
+ */
+ function login($username, $password = '')
+ {
+ if (!($this->bitmap & self::MASK_CONSTRUCTOR)) {
+ $this->bitmap |= self::MASK_CONSTRUCTOR;
+ if (!$this->_connect()) {
+ return false;
+ }
+ }
+
+ if (!($this->bitmap & self::MASK_CONNECTED)) {
+ return false;
+ }
+
+ $data = pack('CNa*', NET_SSH1_CMSG_USER, strlen($username), $username);
+
+ if (!$this->_send_binary_packet($data)) {
+ user_error('Error sending SSH_CMSG_USER');
+ return false;
+ }
+
+ $response = $this->_get_binary_packet();
+
+ if ($response === true) {
+ return false;
+ }
+ if ($response[self::RESPONSE_TYPE] == NET_SSH1_SMSG_SUCCESS) {
+ $this->bitmap |= self::MASK_LOGIN;
+ return true;
+ } elseif ($response[self::RESPONSE_TYPE] != NET_SSH1_SMSG_FAILURE) {
+ user_error('Expected SSH_SMSG_SUCCESS or SSH_SMSG_FAILURE');
+ return false;
+ }
+
+ $data = pack('CNa*', NET_SSH1_CMSG_AUTH_PASSWORD, strlen($password), $password);
+
+ if (!$this->_send_binary_packet($data)) {
+ user_error('Error sending SSH_CMSG_AUTH_PASSWORD');
+ return false;
+ }
+
+ // remove the username and password from the last logged packet
+ if (defined('NET_SSH1_LOGGING') && NET_SSH1_LOGGING == self::LOG_COMPLEX) {
+ $data = pack('CNa*', NET_SSH1_CMSG_AUTH_PASSWORD, strlen('password'), 'password');
+ $this->message_log[count($this->message_log) - 1] = $data;
+ }
+
+ $response = $this->_get_binary_packet();
+
+ if ($response === true) {
+ return false;
+ }
+ if ($response[self::RESPONSE_TYPE] == NET_SSH1_SMSG_SUCCESS) {
+ $this->bitmap |= self::MASK_LOGIN;
+ return true;
+ } elseif ($response[self::RESPONSE_TYPE] == NET_SSH1_SMSG_FAILURE) {
+ return false;
+ } else {
+ user_error('Expected SSH_SMSG_SUCCESS or SSH_SMSG_FAILURE');
+ return false;
+ }
+ }
+
+ /**
+ * Set Timeout
+ *
+ * $ssh->exec('ping 127.0.0.1'); on a Linux host will never return and will run indefinitely. setTimeout() makes it so it'll timeout.
+ * Setting $timeout to false or 0 will mean there is no timeout.
+ *
+ * @param mixed $timeout
+ */
+ function setTimeout($timeout)
+ {
+ $this->timeout = $this->curTimeout = $timeout;
+ }
+
+ /**
+ * Executes a command on a non-interactive shell, returns the output, and quits.
+ *
+ * An SSH1 server will close the connection after a command has been executed on a non-interactive shell. SSH2
+ * servers don't, however, this isn't an SSH2 client. The way this works, on the server, is by initiating a
+ * shell with the -s option, as discussed in the following links:
+ *
+ * {@link http://www.faqs.org/docs/bashman/bashref_65.html http://www.faqs.org/docs/bashman/bashref_65.html}
+ * {@link http://www.faqs.org/docs/bashman/bashref_62.html http://www.faqs.org/docs/bashman/bashref_62.html}
+ *
+ * To execute further commands, a new \phpseclib\Net\SSH1 object will need to be created.
+ *
+ * Returns false on failure and the output, otherwise.
+ *
+ * @see self::interactiveRead()
+ * @see self::interactiveWrite()
+ * @param string $cmd
+ * @return mixed
+ * @access public
+ */
+ function exec($cmd, $block = true)
+ {
+ if (!($this->bitmap & self::MASK_LOGIN)) {
+ user_error('Operation disallowed prior to login()');
+ return false;
+ }
+
+ $data = pack('CNa*', NET_SSH1_CMSG_EXEC_CMD, strlen($cmd), $cmd);
+
+ if (!$this->_send_binary_packet($data)) {
+ user_error('Error sending SSH_CMSG_EXEC_CMD');
+ return false;
+ }
+
+ if (!$block) {
+ return true;
+ }
+
+ $output = '';
+ $response = $this->_get_binary_packet();
+
+ if ($response !== false) {
+ do {
+ $output.= substr($response[self::RESPONSE_DATA], 4);
+ $response = $this->_get_binary_packet();
+ } while (is_array($response) && $response[self::RESPONSE_TYPE] != NET_SSH1_SMSG_EXITSTATUS);
+ }
+
+ $data = pack('C', NET_SSH1_CMSG_EXIT_CONFIRMATION);
+
+ // i don't think it's really all that important if this packet gets sent or not.
+ $this->_send_binary_packet($data);
+
+ fclose($this->fsock);
+
+ // reset the execution bitmap - a new \phpseclib\Net\SSH1 object needs to be created.
+ $this->bitmap = 0;
+
+ return $output;
+ }
+
+ /**
+ * Creates an interactive shell
+ *
+ * @see self::interactiveRead()
+ * @see self::interactiveWrite()
+ * @return bool
+ * @access private
+ */
+ function _initShell()
+ {
+ // connect using the sample parameters in protocol-1.5.txt.
+ // according to wikipedia.org's entry on text terminals, "the fundamental type of application running on a text
+ // terminal is a command line interpreter or shell". thus, opening a terminal session to run the shell.
+ $data = pack('CNa*N4C', NET_SSH1_CMSG_REQUEST_PTY, strlen('vt100'), 'vt100', 24, 80, 0, 0, self::TTY_OP_END);
+
+ if (!$this->_send_binary_packet($data)) {
+ user_error('Error sending SSH_CMSG_REQUEST_PTY');
+ return false;
+ }
+
+ $response = $this->_get_binary_packet();
+
+ if ($response === true) {
+ return false;
+ }
+ if ($response[self::RESPONSE_TYPE] != NET_SSH1_SMSG_SUCCESS) {
+ user_error('Expected SSH_SMSG_SUCCESS');
+ return false;
+ }
+
+ $data = pack('C', NET_SSH1_CMSG_EXEC_SHELL);
+
+ if (!$this->_send_binary_packet($data)) {
+ user_error('Error sending SSH_CMSG_EXEC_SHELL');
+ return false;
+ }
+
+ $this->bitmap |= self::MASK_SHELL;
+
+ //stream_set_blocking($this->fsock, 0);
+
+ return true;
+ }
+
+ /**
+ * Inputs a command into an interactive shell.
+ *
+ * @see self::interactiveWrite()
+ * @param string $cmd
+ * @return bool
+ * @access public
+ */
+ function write($cmd)
+ {
+ return $this->interactiveWrite($cmd);
+ }
+
+ /**
+ * Returns the output of an interactive shell when there's a match for $expect
+ *
+ * $expect can take the form of a string literal or, if $mode == self::READ__REGEX,
+ * a regular expression.
+ *
+ * @see self::write()
+ * @param string $expect
+ * @param int $mode
+ * @return bool
+ * @access public
+ */
+ function read($expect, $mode = self::READ__SIMPLE)
+ {
+ if (!($this->bitmap & self::MASK_LOGIN)) {
+ user_error('Operation disallowed prior to login()');
+ return false;
+ }
+
+ if (!($this->bitmap & self::MASK_SHELL) && !$this->_initShell()) {
+ user_error('Unable to initiate an interactive shell session');
+ return false;
+ }
+
+ $match = $expect;
+ while (true) {
+ if ($mode == self::READ__REGEX) {
+ preg_match($expect, $this->interactiveBuffer, $matches);
+ $match = isset($matches[0]) ? $matches[0] : '';
+ }
+ $pos = strlen($match) ? strpos($this->interactiveBuffer, $match) : false;
+ if ($pos !== false) {
+ return $this->_string_shift($this->interactiveBuffer, $pos + strlen($match));
+ }
+ $response = $this->_get_binary_packet();
+
+ if ($response === true) {
+ return $this->_string_shift($this->interactiveBuffer, strlen($this->interactiveBuffer));
+ }
+ $this->interactiveBuffer.= substr($response[self::RESPONSE_DATA], 4);
+ }
+ }
+
+ /**
+ * Inputs a command into an interactive shell.
+ *
+ * @see self::interactiveRead()
+ * @param string $cmd
+ * @return bool
+ * @access public
+ */
+ function interactiveWrite($cmd)
+ {
+ if (!($this->bitmap & self::MASK_LOGIN)) {
+ user_error('Operation disallowed prior to login()');
+ return false;
+ }
+
+ if (!($this->bitmap & self::MASK_SHELL) && !$this->_initShell()) {
+ user_error('Unable to initiate an interactive shell session');
+ return false;
+ }
+
+ $data = pack('CNa*', NET_SSH1_CMSG_STDIN_DATA, strlen($cmd), $cmd);
+
+ if (!$this->_send_binary_packet($data)) {
+ user_error('Error sending SSH_CMSG_STDIN');
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Returns the output of an interactive shell when no more output is available.
+ *
+ * Requires PHP 4.3.0 or later due to the use of the stream_select() function. If you see stuff like
+ * "^[[00m", you're seeing ANSI escape codes. According to
+ * {@link http://support.microsoft.com/kb/101875 How to Enable ANSI.SYS in a Command Window}, "Windows NT
+ * does not support ANSI escape sequences in Win32 Console applications", so if you're a Windows user,
+ * there's not going to be much recourse.
+ *
+ * @see self::interactiveRead()
+ * @return string
+ * @access public
+ */
+ function interactiveRead()
+ {
+ if (!($this->bitmap & self::MASK_LOGIN)) {
+ user_error('Operation disallowed prior to login()');
+ return false;
+ }
+
+ if (!($this->bitmap & self::MASK_SHELL) && !$this->_initShell()) {
+ user_error('Unable to initiate an interactive shell session');
+ return false;
+ }
+
+ $read = array($this->fsock);
+ $write = $except = null;
+ if (stream_select($read, $write, $except, 0)) {
+ $response = $this->_get_binary_packet();
+ return substr($response[self::RESPONSE_DATA], 4);
+ } else {
+ return '';
+ }
+ }
+
+ /**
+ * Disconnect
+ *
+ * @access public
+ */
+ function disconnect()
+ {
+ $this->_disconnect();
+ }
+
+ /**
+ * Destructor.
+ *
+ * Will be called, automatically, if you're supporting just PHP5. If you're supporting PHP4, you'll need to call
+ * disconnect().
+ *
+ * @access public
+ */
+ function __destruct()
+ {
+ $this->_disconnect();
+ }
+
+ /**
+ * Disconnect
+ *
+ * @param string $msg
+ * @access private
+ */
+ function _disconnect($msg = 'Client Quit')
+ {
+ if ($this->bitmap) {
+ $data = pack('C', NET_SSH1_CMSG_EOF);
+ $this->_send_binary_packet($data);
+ /*
+ $response = $this->_get_binary_packet();
+ if ($response === true) {
+ $response = array(self::RESPONSE_TYPE => -1);
+ }
+ switch ($response[self::RESPONSE_TYPE]) {
+ case NET_SSH1_SMSG_EXITSTATUS:
+ $data = pack('C', NET_SSH1_CMSG_EXIT_CONFIRMATION);
+ break;
+ default:
+ $data = pack('CNa*', NET_SSH1_MSG_DISCONNECT, strlen($msg), $msg);
+ }
+ */
+ $data = pack('CNa*', NET_SSH1_MSG_DISCONNECT, strlen($msg), $msg);
+
+ $this->_send_binary_packet($data);
+ fclose($this->fsock);
+ $this->bitmap = 0;
+ }
+ }
+
+ /**
+ * Gets Binary Packets
+ *
+ * See 'The Binary Packet Protocol' of protocol-1.5.txt for more info.
+ *
+ * Also, this function could be improved upon by adding detection for the following exploit:
+ * http://www.securiteam.com/securitynews/5LP042K3FY.html
+ *
+ * @see self::_send_binary_packet()
+ * @return array
+ * @access private
+ */
+ function _get_binary_packet()
+ {
+ if (feof($this->fsock)) {
+ //user_error('connection closed prematurely');
+ return false;
+ }
+
+ if ($this->curTimeout) {
+ $read = array($this->fsock);
+ $write = $except = null;
+
+ $start = strtok(microtime(), ' ') + strtok(''); // http://php.net/microtime#61838
+ $sec = floor($this->curTimeout);
+ $usec = 1000000 * ($this->curTimeout - $sec);
+ // on windows this returns a "Warning: Invalid CRT parameters detected" error
+ if (!@stream_select($read, $write, $except, $sec, $usec) && !count($read)) {
+ //$this->_disconnect('Timeout');
+ return true;
+ }
+ $elapsed = strtok(microtime(), ' ') + strtok('') - $start;
+ $this->curTimeout-= $elapsed;
+ }
+
+ $start = strtok(microtime(), ' ') + strtok(''); // http://php.net/microtime#61838
+ $data = fread($this->fsock, 4);
+ if (strlen($data) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $data);
+
+ $padding_length = 8 - ($temp['length'] & 7);
+ $length = $temp['length'] + $padding_length;
+ $raw = '';
+
+ while ($length > 0) {
+ $temp = fread($this->fsock, $length);
+ $raw.= $temp;
+ $length-= strlen($temp);
+ }
+ $stop = strtok(microtime(), ' ') + strtok('');
+
+ if (strlen($raw) && $this->crypto !== false) {
+ $raw = $this->crypto->decrypt($raw);
+ }
+
+ $padding = substr($raw, 0, $padding_length);
+ $type = $raw[$padding_length];
+ $data = substr($raw, $padding_length + 1, -4);
+
+ if (strlen($raw) < 4) {
+ return false;
+ }
+ $temp = unpack('Ncrc', substr($raw, -4));
+
+ //if ( $temp['crc'] != $this->_crc($padding . $type . $data) ) {
+ // user_error('Bad CRC in packet from server');
+ // return false;
+ //}
+
+ $type = ord($type);
+
+ if (defined('NET_SSH1_LOGGING')) {
+ $temp = isset($this->protocol_flags[$type]) ? $this->protocol_flags[$type] : 'UNKNOWN';
+ $temp = '<- ' . $temp .
+ ' (' . round($stop - $start, 4) . 's)';
+ $this->_append_log($temp, $data);
+ }
+
+ return array(
+ self::RESPONSE_TYPE => $type,
+ self::RESPONSE_DATA => $data
+ );
+ }
+
+ /**
+ * Sends Binary Packets
+ *
+ * Returns true on success, false on failure.
+ *
+ * @see self::_get_binary_packet()
+ * @param string $data
+ * @return bool
+ * @access private
+ */
+ function _send_binary_packet($data)
+ {
+ if (feof($this->fsock)) {
+ //user_error('connection closed prematurely');
+ return false;
+ }
+
+ $length = strlen($data) + 4;
+
+ $padding = Random::string(8 - ($length & 7));
+
+ $orig = $data;
+ $data = $padding . $data;
+ $data.= pack('N', $this->_crc($data));
+
+ if ($this->crypto !== false) {
+ $data = $this->crypto->encrypt($data);
+ }
+
+ $packet = pack('Na*', $length, $data);
+
+ $start = strtok(microtime(), ' ') + strtok(''); // http://php.net/microtime#61838
+ $result = strlen($packet) == fputs($this->fsock, $packet);
+ $stop = strtok(microtime(), ' ') + strtok('');
+
+ if (defined('NET_SSH1_LOGGING')) {
+ $temp = isset($this->protocol_flags[ord($orig[0])]) ? $this->protocol_flags[ord($orig[0])] : 'UNKNOWN';
+ $temp = '-> ' . $temp .
+ ' (' . round($stop - $start, 4) . 's)';
+ $this->_append_log($temp, $orig);
+ }
+
+ return $result;
+ }
+
+ /**
+ * Cyclic Redundancy Check (CRC)
+ *
+ * PHP's crc32 function is implemented slightly differently than the one that SSH v1 uses, so
+ * we've reimplemented it. A more detailed discussion of the differences can be found after
+ * $crc_lookup_table's initialization.
+ *
+ * @see self::_get_binary_packet()
+ * @see self::_send_binary_packet()
+ * @param string $data
+ * @return int
+ * @access private
+ */
+ function _crc($data)
+ {
+ static $crc_lookup_table = array(
+ 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA,
+ 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3,
+ 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988,
+ 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91,
+ 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE,
+ 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7,
+ 0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC,
+ 0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5,
+ 0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172,
+ 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B,
+ 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940,
+ 0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59,
+ 0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116,
+ 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F,
+ 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924,
+ 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D,
+ 0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A,
+ 0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433,
+ 0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818,
+ 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01,
+ 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E,
+ 0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457,
+ 0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C,
+ 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65,
+ 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2,
+ 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB,
+ 0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0,
+ 0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9,
+ 0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086,
+ 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F,
+ 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4,
+ 0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD,
+ 0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A,
+ 0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683,
+ 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8,
+ 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1,
+ 0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE,
+ 0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7,
+ 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC,
+ 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5,
+ 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252,
+ 0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B,
+ 0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60,
+ 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79,
+ 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236,
+ 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F,
+ 0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04,
+ 0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D,
+ 0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A,
+ 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713,
+ 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38,
+ 0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21,
+ 0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E,
+ 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777,
+ 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C,
+ 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45,
+ 0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2,
+ 0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB,
+ 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0,
+ 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9,
+ 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6,
+ 0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF,
+ 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94,
+ 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D
+ );
+
+ // For this function to yield the same output as PHP's crc32 function, $crc would have to be
+ // set to 0xFFFFFFFF, initially - not 0x00000000 as it currently is.
+ $crc = 0x00000000;
+ $length = strlen($data);
+
+ for ($i=0; $i<$length; $i++) {
+ // We AND $crc >> 8 with 0x00FFFFFF because we want the eight newly added bits to all
+ // be zero. PHP, unfortunately, doesn't always do this. 0x80000000 >> 8, as an example,
+ // yields 0xFF800000 - not 0x00800000. The following link elaborates:
+ // http://www.php.net/manual/en/language.operators.bitwise.php#57281
+ $crc = (($crc >> 8) & 0x00FFFFFF) ^ $crc_lookup_table[($crc & 0xFF) ^ ord($data[$i])];
+ }
+
+ // In addition to having to set $crc to 0xFFFFFFFF, initially, the return value must be XOR'd with
+ // 0xFFFFFFFF for this function to return the same thing that PHP's crc32 function would.
+ return $crc;
+ }
+
+ /**
+ * String Shift
+ *
+ * Inspired by array_shift
+ *
+ * @param string $string
+ * @param int $index
+ * @return string
+ * @access private
+ */
+ function _string_shift(&$string, $index = 1)
+ {
+ $substr = substr($string, 0, $index);
+ $string = substr($string, $index);
+ return $substr;
+ }
+
+ /**
+ * RSA Encrypt
+ *
+ * Returns mod(pow($m, $e), $n), where $n should be the product of two (large) primes $p and $q and where $e
+ * should be a number with the property that gcd($e, ($p - 1) * ($q - 1)) == 1. Could just make anything that
+ * calls this call modexp, instead, but I think this makes things clearer, maybe...
+ *
+ * @see self::__construct()
+ * @param BigInteger $m
+ * @param array $key
+ * @return BigInteger
+ * @access private
+ */
+ function _rsa_crypt($m, $key)
+ {
+ /*
+ $rsa = new RSA();
+ $rsa->loadKey($key, RSA::PUBLIC_FORMAT_RAW);
+ $rsa->setEncryptionMode(RSA::ENCRYPTION_PKCS1);
+ return $rsa->encrypt($m);
+ */
+
+ // To quote from protocol-1.5.txt:
+ // The most significant byte (which is only partial as the value must be
+ // less than the public modulus, which is never a power of two) is zero.
+ //
+ // The next byte contains the value 2 (which stands for public-key
+ // encrypted data in the PKCS standard [PKCS#1]). Then, there are non-
+ // zero random bytes to fill any unused space, a zero byte, and the data
+ // to be encrypted in the least significant bytes, the last byte of the
+ // data in the least significant byte.
+
+ // Presumably the part of PKCS#1 they're refering to is "Section 7.2.1 Encryption Operation",
+ // under "7.2 RSAES-PKCS1-v1.5" and "7 Encryption schemes" of the following URL:
+ // ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-1/pkcs-1v2-1.pdf
+ $modulus = $key[1]->toBytes();
+ $length = strlen($modulus) - strlen($m) - 3;
+ $random = '';
+ while (strlen($random) != $length) {
+ $block = Random::string($length - strlen($random));
+ $block = str_replace("\x00", '', $block);
+ $random.= $block;
+ }
+ $temp = chr(0) . chr(2) . $random . chr(0) . $m;
+
+ $m = new BigInteger($temp, 256);
+ $m = $m->modPow($key[0], $key[1]);
+
+ return $m->toBytes();
+ }
+
+ /**
+ * Define Array
+ *
+ * Takes any number of arrays whose indices are integers and whose values are strings and defines a bunch of
+ * named constants from it, using the value as the name of the constant and the index as the value of the constant.
+ * If any of the constants that would be defined already exists, none of the constants will be defined.
+ *
+ * @param array $array
+ * @access private
+ */
+ function _define_array()
+ {
+ $args = func_get_args();
+ foreach ($args as $arg) {
+ foreach ($arg as $key => $value) {
+ if (!defined($value)) {
+ define($value, $key);
+ } else {
+ break 2;
+ }
+ }
+ }
+ }
+
+ /**
+ * Returns a log of the packets that have been sent and received.
+ *
+ * Returns a string if NET_SSH1_LOGGING == self::LOG_COMPLEX, an array if NET_SSH1_LOGGING == self::LOG_SIMPLE and false if !defined('NET_SSH1_LOGGING')
+ *
+ * @access public
+ * @return array|false|string
+ */
+ function getLog()
+ {
+ if (!defined('NET_SSH1_LOGGING')) {
+ return false;
+ }
+
+ switch (NET_SSH1_LOGGING) {
+ case self::LOG_SIMPLE:
+ return $this->message_number_log;
+ break;
+ case self::LOG_COMPLEX:
+ return $this->_format_log($this->message_log, $this->protocol_flags_log);
+ break;
+ default:
+ return false;
+ }
+ }
+
+ /**
+ * Formats a log for printing
+ *
+ * @param array $message_log
+ * @param array $message_number_log
+ * @access private
+ * @return string
+ */
+ function _format_log($message_log, $message_number_log)
+ {
+ $output = '';
+ for ($i = 0; $i < count($message_log); $i++) {
+ $output.= $message_number_log[$i] . "\r\n";
+ $current_log = $message_log[$i];
+ $j = 0;
+ do {
+ if (strlen($current_log)) {
+ $output.= str_pad(dechex($j), 7, '0', STR_PAD_LEFT) . '0 ';
+ }
+ $fragment = $this->_string_shift($current_log, $this->log_short_width);
+ $hex = substr(preg_replace_callback('#.#s', array($this, '_format_log_helper'), $fragment), strlen($this->log_boundary));
+ // replace non ASCII printable characters with dots
+ // http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters
+ // also replace < with a . since < messes up the output on web browsers
+ $raw = preg_replace('#[^\x20-\x7E]|<#', '.', $fragment);
+ $output.= str_pad($hex, $this->log_long_width - $this->log_short_width, ' ') . $raw . "\r\n";
+ $j++;
+ } while (strlen($current_log));
+ $output.= "\r\n";
+ }
+
+ return $output;
+ }
+
+ /**
+ * Helper function for _format_log
+ *
+ * For use with preg_replace_callback()
+ *
+ * @param array $matches
+ * @access private
+ * @return string
+ */
+ function _format_log_helper($matches)
+ {
+ return $this->log_boundary . str_pad(dechex(ord($matches[0])), 2, '0', STR_PAD_LEFT);
+ }
+
+ /**
+ * Return the server key public exponent
+ *
+ * Returns, by default, the base-10 representation. If $raw_output is set to true, returns, instead,
+ * the raw bytes. This behavior is similar to PHP's md5() function.
+ *
+ * @param bool $raw_output
+ * @return string
+ * @access public
+ */
+ function getServerKeyPublicExponent($raw_output = false)
+ {
+ return $raw_output ? $this->server_key_public_exponent->toBytes() : $this->server_key_public_exponent->toString();
+ }
+
+ /**
+ * Return the server key public modulus
+ *
+ * Returns, by default, the base-10 representation. If $raw_output is set to true, returns, instead,
+ * the raw bytes. This behavior is similar to PHP's md5() function.
+ *
+ * @param bool $raw_output
+ * @return string
+ * @access public
+ */
+ function getServerKeyPublicModulus($raw_output = false)
+ {
+ return $raw_output ? $this->server_key_public_modulus->toBytes() : $this->server_key_public_modulus->toString();
+ }
+
+ /**
+ * Return the host key public exponent
+ *
+ * Returns, by default, the base-10 representation. If $raw_output is set to true, returns, instead,
+ * the raw bytes. This behavior is similar to PHP's md5() function.
+ *
+ * @param bool $raw_output
+ * @return string
+ * @access public
+ */
+ function getHostKeyPublicExponent($raw_output = false)
+ {
+ return $raw_output ? $this->host_key_public_exponent->toBytes() : $this->host_key_public_exponent->toString();
+ }
+
+ /**
+ * Return the host key public modulus
+ *
+ * Returns, by default, the base-10 representation. If $raw_output is set to true, returns, instead,
+ * the raw bytes. This behavior is similar to PHP's md5() function.
+ *
+ * @param bool $raw_output
+ * @return string
+ * @access public
+ */
+ function getHostKeyPublicModulus($raw_output = false)
+ {
+ return $raw_output ? $this->host_key_public_modulus->toBytes() : $this->host_key_public_modulus->toString();
+ }
+
+ /**
+ * Return a list of ciphers supported by SSH1 server.
+ *
+ * Just because a cipher is supported by an SSH1 server doesn't mean it's supported by this library. If $raw_output
+ * is set to true, returns, instead, an array of constants. ie. instead of array('Triple-DES in CBC mode'), you'll
+ * get array(self::CIPHER_3DES).
+ *
+ * @param bool $raw_output
+ * @return array
+ * @access public
+ */
+ function getSupportedCiphers($raw_output = false)
+ {
+ return $raw_output ? array_keys($this->supported_ciphers) : array_values($this->supported_ciphers);
+ }
+
+ /**
+ * Return a list of authentications supported by SSH1 server.
+ *
+ * Just because a cipher is supported by an SSH1 server doesn't mean it's supported by this library. If $raw_output
+ * is set to true, returns, instead, an array of constants. ie. instead of array('password authentication'), you'll
+ * get array(self::AUTH_PASSWORD).
+ *
+ * @param bool $raw_output
+ * @return array
+ * @access public
+ */
+ function getSupportedAuthentications($raw_output = false)
+ {
+ return $raw_output ? array_keys($this->supported_authentications) : array_values($this->supported_authentications);
+ }
+
+ /**
+ * Return the server identification.
+ *
+ * @return string
+ * @access public
+ */
+ function getServerIdentification()
+ {
+ return rtrim($this->server_identification);
+ }
+
+ /**
+ * Logs data packets
+ *
+ * Makes sure that only the last 1MB worth of packets will be logged
+ *
+ * @param string $data
+ * @access private
+ */
+ function _append_log($protocol_flags, $message)
+ {
+ switch (NET_SSH1_LOGGING) {
+ // useful for benchmarks
+ case self::LOG_SIMPLE:
+ $this->protocol_flags_log[] = $protocol_flags;
+ break;
+ // the most useful log for SSH1
+ case self::LOG_COMPLEX:
+ $this->protocol_flags_log[] = $protocol_flags;
+ $this->_string_shift($message);
+ $this->log_size+= strlen($message);
+ $this->message_log[] = $message;
+ while ($this->log_size > self::LOG_MAX_SIZE) {
+ $this->log_size-= strlen(array_shift($this->message_log));
+ array_shift($this->protocol_flags_log);
+ }
+ break;
+ // dump the output out realtime; packets may be interspersed with non packets,
+ // passwords won't be filtered out and select other packets may not be correctly
+ // identified
+ case self::LOG_REALTIME:
+ echo "<pre>\r\n" . $this->_format_log(array($message), array($protocol_flags)) . "\r\n</pre>\r\n";
+ @flush();
+ @ob_flush();
+ break;
+ // basically the same thing as self::LOG_REALTIME with the caveat that self::LOG_REALTIME_FILE
+ // needs to be defined and that the resultant log file will be capped out at self::LOG_MAX_SIZE.
+ // the earliest part of the log file is denoted by the first <<< START >>> and is not going to necessarily
+ // at the beginning of the file
+ case self::LOG_REALTIME_FILE:
+ if (!isset($this->realtime_log_file)) {
+ // PHP doesn't seem to like using constants in fopen()
+ $filename = self::LOG_REALTIME_FILE;
+ $fp = fopen($filename, 'w');
+ $this->realtime_log_file = $fp;
+ }
+ if (!is_resource($this->realtime_log_file)) {
+ break;
+ }
+ $entry = $this->_format_log(array($message), array($protocol_flags));
+ if ($this->realtime_log_wrap) {
+ $temp = "<<< START >>>\r\n";
+ $entry.= $temp;
+ fseek($this->realtime_log_file, ftell($this->realtime_log_file) - strlen($temp));
+ }
+ $this->realtime_log_size+= strlen($entry);
+ if ($this->realtime_log_size > self::LOG_MAX_SIZE) {
+ fseek($this->realtime_log_file, 0);
+ $this->realtime_log_size = strlen($entry);
+ $this->realtime_log_wrap = true;
+ }
+ fputs($this->realtime_log_file, $entry);
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SSH2.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SSH2.php
new file mode 100644
index 00000000..937c38cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SSH2.php
@@ -0,0 +1,4397 @@
+<?php
+
+/**
+ * Pure-PHP implementation of SSHv2.
+ *
+ * PHP version 5
+ *
+ * Here are some examples of how to use this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $ssh = new \phpseclib\Net\SSH2('www.domain.tld');
+ * if (!$ssh->login('username', 'password')) {
+ * exit('Login Failed');
+ * }
+ *
+ * echo $ssh->exec('pwd');
+ * echo $ssh->exec('ls -la');
+ * ?>
+ * </code>
+ *
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $key = new \phpseclib\Crypt\RSA();
+ * //$key->setPassword('whatever');
+ * $key->loadKey(file_get_contents('privatekey'));
+ *
+ * $ssh = new \phpseclib\Net\SSH2('www.domain.tld');
+ * if (!$ssh->login('username', $key)) {
+ * exit('Login Failed');
+ * }
+ *
+ * echo $ssh->read('username@username:~$');
+ * $ssh->write("ls -la\n");
+ * echo $ssh->read('username@username:~$');
+ * ?>
+ * </code>
+ *
+ * @category Net
+ * @package SSH2
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2007 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ */
+
+namespace phpseclib\Net;
+
+use phpseclib\Crypt\Base;
+use phpseclib\Crypt\Blowfish;
+use phpseclib\Crypt\Hash;
+use phpseclib\Crypt\Random;
+use phpseclib\Crypt\RC4;
+use phpseclib\Crypt\Rijndael;
+use phpseclib\Crypt\RSA;
+use phpseclib\Crypt\TripleDES;
+use phpseclib\Crypt\Twofish;
+use phpseclib\Math\BigInteger; // Used to do Diffie-Hellman key exchange and DSA/RSA signature verification.
+use phpseclib\System\SSH\Agent;
+
+/**
+ * Pure-PHP implementation of SSHv2.
+ *
+ * @package SSH2
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access public
+ */
+class SSH2
+{
+ /**#@+
+ * Execution Bitmap Masks
+ *
+ * @see \phpseclib\Net\SSH2::bitmap
+ * @access private
+ */
+ const MASK_CONSTRUCTOR = 0x00000001;
+ const MASK_CONNECTED = 0x00000002;
+ const MASK_LOGIN_REQ = 0x00000004;
+ const MASK_LOGIN = 0x00000008;
+ const MASK_SHELL = 0x00000010;
+ const MASK_WINDOW_ADJUST = 0x00000020;
+ /**#@-*/
+
+ /**#@+
+ * Channel constants
+ *
+ * RFC4254 refers not to client and server channels but rather to sender and recipient channels. we don't refer
+ * to them in that way because RFC4254 toggles the meaning. the client sends a SSH_MSG_CHANNEL_OPEN message with
+ * a sender channel and the server sends a SSH_MSG_CHANNEL_OPEN_CONFIRMATION in response, with a sender and a
+ * recepient channel. at first glance, you might conclude that SSH_MSG_CHANNEL_OPEN_CONFIRMATION's sender channel
+ * would be the same thing as SSH_MSG_CHANNEL_OPEN's sender channel, but it's not, per this snipet:
+ * The 'recipient channel' is the channel number given in the original
+ * open request, and 'sender channel' is the channel number allocated by
+ * the other side.
+ *
+ * @see \phpseclib\Net\SSH2::_send_channel_packet()
+ * @see \phpseclib\Net\SSH2::_get_channel_packet()
+ * @access private
+ */
+ const CHANNEL_EXEC = 0; // PuTTy uses 0x100
+ const CHANNEL_SHELL = 1;
+ const CHANNEL_SUBSYSTEM = 2;
+ const CHANNEL_AGENT_FORWARD = 3;
+ /**#@-*/
+
+ /**#@+
+ * @access public
+ * @see \phpseclib\Net\SSH2::getLog()
+ */
+ /**
+ * Returns the message numbers
+ */
+ const LOG_SIMPLE = 1;
+ /**
+ * Returns the message content
+ */
+ const LOG_COMPLEX = 2;
+ /**
+ * Outputs the content real-time
+ */
+ const LOG_REALTIME = 3;
+ /**
+ * Dumps the content real-time to a file
+ */
+ const LOG_REALTIME_FILE = 4;
+ /**#@-*/
+
+ /**#@+
+ * @access public
+ * @see \phpseclib\Net\SSH2::read()
+ */
+ /**
+ * Returns when a string matching $expect exactly is found
+ */
+ const READ_SIMPLE = 1;
+ /**
+ * Returns when a string matching the regular expression $expect is found
+ */
+ const READ_REGEX = 2;
+ /**
+ * Make sure that the log never gets larger than this
+ */
+ const LOG_MAX_SIZE = 1048576; // 1024 * 1024
+ /**#@-*/
+
+ /**
+ * The SSH identifier
+ *
+ * @var string
+ * @access private
+ */
+ var $identifier;
+
+ /**
+ * The Socket Object
+ *
+ * @var object
+ * @access private
+ */
+ var $fsock;
+
+ /**
+ * Execution Bitmap
+ *
+ * The bits that are set represent functions that have been called already. This is used to determine
+ * if a requisite function has been successfully executed. If not, an error should be thrown.
+ *
+ * @var int
+ * @access private
+ */
+ var $bitmap = 0;
+
+ /**
+ * Error information
+ *
+ * @see self::getErrors()
+ * @see self::getLastError()
+ * @var string
+ * @access private
+ */
+ var $errors = array();
+
+ /**
+ * Server Identifier
+ *
+ * @see self::getServerIdentification()
+ * @var array|false
+ * @access private
+ */
+ var $server_identifier = false;
+
+ /**
+ * Key Exchange Algorithms
+ *
+ * @see self::getKexAlgorithims()
+ * @var array|false
+ * @access private
+ */
+ var $kex_algorithms = false;
+
+ /**
+ * Minimum Diffie-Hellman Group Bit Size in RFC 4419 Key Exchange Methods
+ *
+ * @see self::_key_exchange()
+ * @var int
+ * @access private
+ */
+ var $kex_dh_group_size_min = 1536;
+
+ /**
+ * Preferred Diffie-Hellman Group Bit Size in RFC 4419 Key Exchange Methods
+ *
+ * @see self::_key_exchange()
+ * @var int
+ * @access private
+ */
+ var $kex_dh_group_size_preferred = 2048;
+
+ /**
+ * Maximum Diffie-Hellman Group Bit Size in RFC 4419 Key Exchange Methods
+ *
+ * @see self::_key_exchange()
+ * @var int
+ * @access private
+ */
+ var $kex_dh_group_size_max = 4096;
+
+ /**
+ * Server Host Key Algorithms
+ *
+ * @see self::getServerHostKeyAlgorithms()
+ * @var array|false
+ * @access private
+ */
+ var $server_host_key_algorithms = false;
+
+ /**
+ * Encryption Algorithms: Client to Server
+ *
+ * @see self::getEncryptionAlgorithmsClient2Server()
+ * @var array|false
+ * @access private
+ */
+ var $encryption_algorithms_client_to_server = false;
+
+ /**
+ * Encryption Algorithms: Server to Client
+ *
+ * @see self::getEncryptionAlgorithmsServer2Client()
+ * @var array|false
+ * @access private
+ */
+ var $encryption_algorithms_server_to_client = false;
+
+ /**
+ * MAC Algorithms: Client to Server
+ *
+ * @see self::getMACAlgorithmsClient2Server()
+ * @var array|false
+ * @access private
+ */
+ var $mac_algorithms_client_to_server = false;
+
+ /**
+ * MAC Algorithms: Server to Client
+ *
+ * @see self::getMACAlgorithmsServer2Client()
+ * @var array|false
+ * @access private
+ */
+ var $mac_algorithms_server_to_client = false;
+
+ /**
+ * Compression Algorithms: Client to Server
+ *
+ * @see self::getCompressionAlgorithmsClient2Server()
+ * @var array|false
+ * @access private
+ */
+ var $compression_algorithms_client_to_server = false;
+
+ /**
+ * Compression Algorithms: Server to Client
+ *
+ * @see self::getCompressionAlgorithmsServer2Client()
+ * @var array|false
+ * @access private
+ */
+ var $compression_algorithms_server_to_client = false;
+
+ /**
+ * Languages: Server to Client
+ *
+ * @see self::getLanguagesServer2Client()
+ * @var array|false
+ * @access private
+ */
+ var $languages_server_to_client = false;
+
+ /**
+ * Languages: Client to Server
+ *
+ * @see self::getLanguagesClient2Server()
+ * @var array|false
+ * @access private
+ */
+ var $languages_client_to_server = false;
+
+ /**
+ * Block Size for Server to Client Encryption
+ *
+ * "Note that the length of the concatenation of 'packet_length',
+ * 'padding_length', 'payload', and 'random padding' MUST be a multiple
+ * of the cipher block size or 8, whichever is larger. This constraint
+ * MUST be enforced, even when using stream ciphers."
+ *
+ * -- http://tools.ietf.org/html/rfc4253#section-6
+ *
+ * @see self::__construct()
+ * @see self::_send_binary_packet()
+ * @var int
+ * @access private
+ */
+ var $encrypt_block_size = 8;
+
+ /**
+ * Block Size for Client to Server Encryption
+ *
+ * @see self::__construct()
+ * @see self::_get_binary_packet()
+ * @var int
+ * @access private
+ */
+ var $decrypt_block_size = 8;
+
+ /**
+ * Server to Client Encryption Object
+ *
+ * @see self::_get_binary_packet()
+ * @var object
+ * @access private
+ */
+ var $decrypt = false;
+
+ /**
+ * Client to Server Encryption Object
+ *
+ * @see self::_send_binary_packet()
+ * @var object
+ * @access private
+ */
+ var $encrypt = false;
+
+ /**
+ * Client to Server HMAC Object
+ *
+ * @see self::_send_binary_packet()
+ * @var object
+ * @access private
+ */
+ var $hmac_create = false;
+
+ /**
+ * Server to Client HMAC Object
+ *
+ * @see self::_get_binary_packet()
+ * @var object
+ * @access private
+ */
+ var $hmac_check = false;
+
+ /**
+ * Size of server to client HMAC
+ *
+ * We need to know how big the HMAC will be for the server to client direction so that we know how many bytes to read.
+ * For the client to server side, the HMAC object will make the HMAC as long as it needs to be. All we need to do is
+ * append it.
+ *
+ * @see self::_get_binary_packet()
+ * @var int
+ * @access private
+ */
+ var $hmac_size = false;
+
+ /**
+ * Server Public Host Key
+ *
+ * @see self::getServerPublicHostKey()
+ * @var string
+ * @access private
+ */
+ var $server_public_host_key;
+
+ /**
+ * Session identifier
+ *
+ * "The exchange hash H from the first key exchange is additionally
+ * used as the session identifier, which is a unique identifier for
+ * this connection."
+ *
+ * -- http://tools.ietf.org/html/rfc4253#section-7.2
+ *
+ * @see self::_key_exchange()
+ * @var string
+ * @access private
+ */
+ var $session_id = false;
+
+ /**
+ * Exchange hash
+ *
+ * The current exchange hash
+ *
+ * @see self::_key_exchange()
+ * @var string
+ * @access private
+ */
+ var $exchange_hash = false;
+
+ /**
+ * Message Numbers
+ *
+ * @see self::__construct()
+ * @var array
+ * @access private
+ */
+ var $message_numbers = array();
+
+ /**
+ * Disconnection Message 'reason codes' defined in RFC4253
+ *
+ * @see self::__construct()
+ * @var array
+ * @access private
+ */
+ var $disconnect_reasons = array();
+
+ /**
+ * SSH_MSG_CHANNEL_OPEN_FAILURE 'reason codes', defined in RFC4254
+ *
+ * @see self::__construct()
+ * @var array
+ * @access private
+ */
+ var $channel_open_failure_reasons = array();
+
+ /**
+ * Terminal Modes
+ *
+ * @link http://tools.ietf.org/html/rfc4254#section-8
+ * @see self::__construct()
+ * @var array
+ * @access private
+ */
+ var $terminal_modes = array();
+
+ /**
+ * SSH_MSG_CHANNEL_EXTENDED_DATA's data_type_codes
+ *
+ * @link http://tools.ietf.org/html/rfc4254#section-5.2
+ * @see self::__construct()
+ * @var array
+ * @access private
+ */
+ var $channel_extended_data_type_codes = array();
+
+ /**
+ * Send Sequence Number
+ *
+ * See 'Section 6.4. Data Integrity' of rfc4253 for more info.
+ *
+ * @see self::_send_binary_packet()
+ * @var int
+ * @access private
+ */
+ var $send_seq_no = 0;
+
+ /**
+ * Get Sequence Number
+ *
+ * See 'Section 6.4. Data Integrity' of rfc4253 for more info.
+ *
+ * @see self::_get_binary_packet()
+ * @var int
+ * @access private
+ */
+ var $get_seq_no = 0;
+
+ /**
+ * Server Channels
+ *
+ * Maps client channels to server channels
+ *
+ * @see self::_get_channel_packet()
+ * @see self::exec()
+ * @var array
+ * @access private
+ */
+ var $server_channels = array();
+
+ /**
+ * Channel Buffers
+ *
+ * If a client requests a packet from one channel but receives two packets from another those packets should
+ * be placed in a buffer
+ *
+ * @see self::_get_channel_packet()
+ * @see self::exec()
+ * @var array
+ * @access private
+ */
+ var $channel_buffers = array();
+
+ /**
+ * Channel Status
+ *
+ * Contains the type of the last sent message
+ *
+ * @see self::_get_channel_packet()
+ * @var array
+ * @access private
+ */
+ var $channel_status = array();
+
+ /**
+ * Packet Size
+ *
+ * Maximum packet size indexed by channel
+ *
+ * @see self::_send_channel_packet()
+ * @var array
+ * @access private
+ */
+ var $packet_size_client_to_server = array();
+
+ /**
+ * Message Number Log
+ *
+ * @see self::getLog()
+ * @var array
+ * @access private
+ */
+ var $message_number_log = array();
+
+ /**
+ * Message Log
+ *
+ * @see self::getLog()
+ * @var array
+ * @access private
+ */
+ var $message_log = array();
+
+ /**
+ * The Window Size
+ *
+ * Bytes the other party can send before it must wait for the window to be adjusted (0x7FFFFFFF = 2GB)
+ *
+ * @var int
+ * @see self::_send_channel_packet()
+ * @see self::exec()
+ * @access private
+ */
+ var $window_size = 0x7FFFFFFF;
+
+ /**
+ * Window size, server to client
+ *
+ * Window size indexed by channel
+ *
+ * @see self::_send_channel_packet()
+ * @var array
+ * @access private
+ */
+ var $window_size_server_to_client = array();
+
+ /**
+ * Window size, client to server
+ *
+ * Window size indexed by channel
+ *
+ * @see self::_get_channel_packet()
+ * @var array
+ * @access private
+ */
+ var $window_size_client_to_server = array();
+
+ /**
+ * Server signature
+ *
+ * Verified against $this->session_id
+ *
+ * @see self::getServerPublicHostKey()
+ * @var string
+ * @access private
+ */
+ var $signature = '';
+
+ /**
+ * Server signature format
+ *
+ * ssh-rsa or ssh-dss.
+ *
+ * @see self::getServerPublicHostKey()
+ * @var string
+ * @access private
+ */
+ var $signature_format = '';
+
+ /**
+ * Interactive Buffer
+ *
+ * @see self::read()
+ * @var array
+ * @access private
+ */
+ var $interactiveBuffer = '';
+
+ /**
+ * Current log size
+ *
+ * Should never exceed self::LOG_MAX_SIZE
+ *
+ * @see self::_send_binary_packet()
+ * @see self::_get_binary_packet()
+ * @var int
+ * @access private
+ */
+ var $log_size;
+
+ /**
+ * Timeout
+ *
+ * @see self::setTimeout()
+ * @access private
+ */
+ var $timeout;
+
+ /**
+ * Current Timeout
+ *
+ * @see self::_get_channel_packet()
+ * @access private
+ */
+ var $curTimeout;
+
+ /**
+ * Real-time log file pointer
+ *
+ * @see self::_append_log()
+ * @var resource
+ * @access private
+ */
+ var $realtime_log_file;
+
+ /**
+ * Real-time log file size
+ *
+ * @see self::_append_log()
+ * @var int
+ * @access private
+ */
+ var $realtime_log_size;
+
+ /**
+ * Has the signature been validated?
+ *
+ * @see self::getServerPublicHostKey()
+ * @var bool
+ * @access private
+ */
+ var $signature_validated = false;
+
+ /**
+ * Real-time log file wrap boolean
+ *
+ * @see self::_append_log()
+ * @access private
+ */
+ var $realtime_log_wrap;
+
+ /**
+ * Flag to suppress stderr from output
+ *
+ * @see self::enableQuietMode()
+ * @access private
+ */
+ var $quiet_mode = false;
+
+ /**
+ * Time of first network activity
+ *
+ * @var int
+ * @access private
+ */
+ var $last_packet;
+
+ /**
+ * Exit status returned from ssh if any
+ *
+ * @var int
+ * @access private
+ */
+ var $exit_status;
+
+ /**
+ * Flag to request a PTY when using exec()
+ *
+ * @var bool
+ * @see self::enablePTY()
+ * @access private
+ */
+ var $request_pty = false;
+
+ /**
+ * Flag set while exec() is running when using enablePTY()
+ *
+ * @var bool
+ * @access private
+ */
+ var $in_request_pty_exec = false;
+
+ /**
+ * Flag set after startSubsystem() is called
+ *
+ * @var bool
+ * @access private
+ */
+ var $in_subsystem;
+
+ /**
+ * Contents of stdError
+ *
+ * @var string
+ * @access private
+ */
+ var $stdErrorLog;
+
+ /**
+ * The Last Interactive Response
+ *
+ * @see self::_keyboard_interactive_process()
+ * @var string
+ * @access private
+ */
+ var $last_interactive_response = '';
+
+ /**
+ * Keyboard Interactive Request / Responses
+ *
+ * @see self::_keyboard_interactive_process()
+ * @var array
+ * @access private
+ */
+ var $keyboard_requests_responses = array();
+
+ /**
+ * Banner Message
+ *
+ * Quoting from the RFC, "in some jurisdictions, sending a warning message before
+ * authentication may be relevant for getting legal protection."
+ *
+ * @see self::_filter()
+ * @see self::getBannerMessage()
+ * @var string
+ * @access private
+ */
+ var $banner_message = '';
+
+ /**
+ * Did read() timeout or return normally?
+ *
+ * @see self::isTimeout()
+ * @var bool
+ * @access private
+ */
+ var $is_timeout = false;
+
+ /**
+ * Log Boundary
+ *
+ * @see self::_format_log()
+ * @var string
+ * @access private
+ */
+ var $log_boundary = ':';
+
+ /**
+ * Log Long Width
+ *
+ * @see self::_format_log()
+ * @var int
+ * @access private
+ */
+ var $log_long_width = 65;
+
+ /**
+ * Log Short Width
+ *
+ * @see self::_format_log()
+ * @var int
+ * @access private
+ */
+ var $log_short_width = 16;
+
+ /**
+ * Hostname
+ *
+ * @see self::__construct()
+ * @see self::_connect()
+ * @var string
+ * @access private
+ */
+ var $host;
+
+ /**
+ * Port Number
+ *
+ * @see self::__construct()
+ * @see self::_connect()
+ * @var int
+ * @access private
+ */
+ var $port;
+
+ /**
+ * Number of columns for terminal window size
+ *
+ * @see self::getWindowColumns()
+ * @see self::setWindowColumns()
+ * @see self::setWindowSize()
+ * @var int
+ * @access private
+ */
+ var $windowColumns = 80;
+
+ /**
+ * Number of columns for terminal window size
+ *
+ * @see self::getWindowRows()
+ * @see self::setWindowRows()
+ * @see self::setWindowSize()
+ * @var int
+ * @access private
+ */
+ var $windowRows = 24;
+
+ /**
+ * Crypto Engine
+ *
+ * @see self::setCryptoEngine()
+ * @see self::_key_exchange()
+ * @var int
+ * @access private
+ */
+ var $crypto_engine = false;
+
+ /**
+ * A System_SSH_Agent for use in the SSH2 Agent Forwarding scenario
+ *
+ * @var System_SSH_Agent
+ * @access private
+ */
+ var $agent;
+
+ /**
+ * Default Constructor.
+ *
+ * $host can either be a string, representing the host, or a stream resource.
+ *
+ * @param mixed $host
+ * @param int $port
+ * @param int $timeout
+ * @see self::login()
+ * @return \phpseclib\Net\SSH2
+ * @access public
+ */
+ function __construct($host, $port = 22, $timeout = 10)
+ {
+ $this->message_numbers = array(
+ 1 => 'NET_SSH2_MSG_DISCONNECT',
+ 2 => 'NET_SSH2_MSG_IGNORE',
+ 3 => 'NET_SSH2_MSG_UNIMPLEMENTED',
+ 4 => 'NET_SSH2_MSG_DEBUG',
+ 5 => 'NET_SSH2_MSG_SERVICE_REQUEST',
+ 6 => 'NET_SSH2_MSG_SERVICE_ACCEPT',
+ 20 => 'NET_SSH2_MSG_KEXINIT',
+ 21 => 'NET_SSH2_MSG_NEWKEYS',
+ 30 => 'NET_SSH2_MSG_KEXDH_INIT',
+ 31 => 'NET_SSH2_MSG_KEXDH_REPLY',
+ 50 => 'NET_SSH2_MSG_USERAUTH_REQUEST',
+ 51 => 'NET_SSH2_MSG_USERAUTH_FAILURE',
+ 52 => 'NET_SSH2_MSG_USERAUTH_SUCCESS',
+ 53 => 'NET_SSH2_MSG_USERAUTH_BANNER',
+
+ 80 => 'NET_SSH2_MSG_GLOBAL_REQUEST',
+ 81 => 'NET_SSH2_MSG_REQUEST_SUCCESS',
+ 82 => 'NET_SSH2_MSG_REQUEST_FAILURE',
+ 90 => 'NET_SSH2_MSG_CHANNEL_OPEN',
+ 91 => 'NET_SSH2_MSG_CHANNEL_OPEN_CONFIRMATION',
+ 92 => 'NET_SSH2_MSG_CHANNEL_OPEN_FAILURE',
+ 93 => 'NET_SSH2_MSG_CHANNEL_WINDOW_ADJUST',
+ 94 => 'NET_SSH2_MSG_CHANNEL_DATA',
+ 95 => 'NET_SSH2_MSG_CHANNEL_EXTENDED_DATA',
+ 96 => 'NET_SSH2_MSG_CHANNEL_EOF',
+ 97 => 'NET_SSH2_MSG_CHANNEL_CLOSE',
+ 98 => 'NET_SSH2_MSG_CHANNEL_REQUEST',
+ 99 => 'NET_SSH2_MSG_CHANNEL_SUCCESS',
+ 100 => 'NET_SSH2_MSG_CHANNEL_FAILURE'
+ );
+ $this->disconnect_reasons = array(
+ 1 => 'NET_SSH2_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT',
+ 2 => 'NET_SSH2_DISCONNECT_PROTOCOL_ERROR',
+ 3 => 'NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED',
+ 4 => 'NET_SSH2_DISCONNECT_RESERVED',
+ 5 => 'NET_SSH2_DISCONNECT_MAC_ERROR',
+ 6 => 'NET_SSH2_DISCONNECT_COMPRESSION_ERROR',
+ 7 => 'NET_SSH2_DISCONNECT_SERVICE_NOT_AVAILABLE',
+ 8 => 'NET_SSH2_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED',
+ 9 => 'NET_SSH2_DISCONNECT_HOST_KEY_NOT_VERIFIABLE',
+ 10 => 'NET_SSH2_DISCONNECT_CONNECTION_LOST',
+ 11 => 'NET_SSH2_DISCONNECT_BY_APPLICATION',
+ 12 => 'NET_SSH2_DISCONNECT_TOO_MANY_CONNECTIONS',
+ 13 => 'NET_SSH2_DISCONNECT_AUTH_CANCELLED_BY_USER',
+ 14 => 'NET_SSH2_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE',
+ 15 => 'NET_SSH2_DISCONNECT_ILLEGAL_USER_NAME'
+ );
+ $this->channel_open_failure_reasons = array(
+ 1 => 'NET_SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED'
+ );
+ $this->terminal_modes = array(
+ 0 => 'NET_SSH2_TTY_OP_END'
+ );
+ $this->channel_extended_data_type_codes = array(
+ 1 => 'NET_SSH2_EXTENDED_DATA_STDERR'
+ );
+
+ $this->_define_array(
+ $this->message_numbers,
+ $this->disconnect_reasons,
+ $this->channel_open_failure_reasons,
+ $this->terminal_modes,
+ $this->channel_extended_data_type_codes,
+ array(60 => 'NET_SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ'),
+ array(60 => 'NET_SSH2_MSG_USERAUTH_PK_OK'),
+ array(60 => 'NET_SSH2_MSG_USERAUTH_INFO_REQUEST',
+ 61 => 'NET_SSH2_MSG_USERAUTH_INFO_RESPONSE'),
+ // RFC 4419 - diffie-hellman-group-exchange-sha{1,256}
+ array(30 => 'NET_SSH2_MSG_KEXDH_GEX_REQUEST_OLD',
+ 31 => 'NET_SSH2_MSG_KEXDH_GEX_GROUP',
+ 32 => 'NET_SSH2_MSG_KEXDH_GEX_INIT',
+ 33 => 'NET_SSH2_MSG_KEXDH_GEX_REPLY',
+ 34 => 'NET_SSH2_MSG_KEXDH_GEX_REQUEST'),
+ // RFC 5656 - Elliptic Curves (for curve25519-sha256@libssh.org)
+ array(30 => 'NET_SSH2_MSG_KEX_ECDH_INIT',
+ 31 => 'NET_SSH2_MSG_KEX_ECDH_REPLY')
+ );
+
+ if (is_resource($host)) {
+ $this->fsock = $host;
+ return;
+ }
+
+ if (is_string($host)) {
+ $this->host = $host;
+ $this->port = $port;
+ $this->timeout = $timeout;
+ }
+ }
+
+ /**
+ * Set Crypto Engine Mode
+ *
+ * Possible $engine values:
+ * CRYPT_MODE_INTERNAL, CRYPT_MODE_MCRYPT
+ *
+ * @param int $engine
+ * @access private
+ */
+ function setCryptoEngine($engine)
+ {
+ $this->crypto_engine = $engine;
+ }
+
+ /**
+ * Connect to an SSHv2 server
+ *
+ * @return bool
+ * @access private
+ */
+ function _connect()
+ {
+ if ($this->bitmap & self::MASK_CONSTRUCTOR) {
+ return false;
+ }
+
+ $this->bitmap |= self::MASK_CONSTRUCTOR;
+
+ $this->curTimeout = $this->timeout;
+
+ $this->last_packet = microtime(true);
+
+ if (!is_resource($this->fsock)) {
+ $start = microtime(true);
+ // with stream_select a timeout of 0 means that no timeout takes place;
+ // with fsockopen a timeout of 0 means that you instantly timeout
+ // to resolve this incompatibility a timeout of 100,000 will be used for fsockopen if timeout is 0
+ $this->fsock = @fsockopen($this->host, $this->port, $errno, $errstr, $this->curTimeout == 0 ? 100000 : $this->curTimeout);
+ if (!$this->fsock) {
+ $host = $this->host . ':' . $this->port;
+ user_error(rtrim("Cannot connect to $host. Error $errno. $errstr"));
+ return false;
+ }
+ $elapsed = microtime(true) - $start;
+
+ $this->curTimeout-= $elapsed;
+
+ if ($this->curTimeout <= 0) {
+ $this->is_timeout = true;
+ return false;
+ }
+ }
+
+ $this->identifier = $this->_generate_identifier();
+
+ fputs($this->fsock, $this->identifier . "\r\n");
+
+ /* According to the SSH2 specs,
+
+ "The server MAY send other lines of data before sending the version
+ string. Each line SHOULD be terminated by a Carriage Return and Line
+ Feed. Such lines MUST NOT begin with "SSH-", and SHOULD be encoded
+ in ISO-10646 UTF-8 [RFC3629] (language is not specified). Clients
+ MUST be able to process such lines." */
+ $data = '';
+ while (!feof($this->fsock) && !preg_match('#(.*)^(SSH-(\d\.\d+).*)#ms', $data, $matches)) {
+ $line = '';
+ while (true) {
+ if ($this->curTimeout) {
+ if ($this->curTimeout < 0) {
+ $this->is_timeout = true;
+ return false;
+ }
+ $read = array($this->fsock);
+ $write = $except = null;
+ $start = microtime(true);
+ $sec = floor($this->curTimeout);
+ $usec = 1000000 * ($this->curTimeout - $sec);
+ // on windows this returns a "Warning: Invalid CRT parameters detected" error
+ // the !count() is done as a workaround for <https://bugs.php.net/42682>
+ if (!@stream_select($read, $write, $except, $sec, $usec) && !count($read)) {
+ $this->is_timeout = true;
+ return false;
+ }
+ $elapsed = microtime(true) - $start;
+ $this->curTimeout-= $elapsed;
+ }
+
+ $temp = stream_get_line($this->fsock, 255, "\n");
+ if (strlen($temp) == 255) {
+ continue;
+ }
+
+ $line.= "$temp\n";
+
+ // quoting RFC4253, "Implementers who wish to maintain
+ // compatibility with older, undocumented versions of this protocol may
+ // want to process the identification string without expecting the
+ // presence of the carriage return character for reasons described in
+ // Section 5 of this document."
+
+ //if (substr($line, -2) == "\r\n") {
+ // break;
+ //}
+
+ break;
+ }
+
+ $data.= $line;
+ }
+
+ if (feof($this->fsock)) {
+ user_error('Connection closed by server');
+ return false;
+ }
+
+ $extra = $matches[1];
+
+ if (defined('NET_SSH2_LOGGING')) {
+ $this->_append_log('<-', $matches[0]);
+ $this->_append_log('->', $this->identifier . "\r\n");
+ }
+
+ $this->server_identifier = trim($temp, "\r\n");
+ if (strlen($extra)) {
+ $this->errors[] = utf8_decode($data);
+ }
+
+ if ($matches[3] != '1.99' && $matches[3] != '2.0') {
+ user_error("Cannot connect to SSH $matches[3] servers");
+ return false;
+ }
+
+ $response = $this->_get_binary_packet();
+ if ($response === false) {
+ user_error('Connection closed by server');
+ return false;
+ }
+
+ if (!strlen($response) || ord($response[0]) != NET_SSH2_MSG_KEXINIT) {
+ user_error('Expected SSH_MSG_KEXINIT');
+ return false;
+ }
+
+ if (!$this->_key_exchange($response)) {
+ return false;
+ }
+
+ $this->bitmap|= self::MASK_CONNECTED;
+
+ return true;
+ }
+
+ /**
+ * Generates the SSH identifier
+ *
+ * You should overwrite this method in your own class if you want to use another identifier
+ *
+ * @access protected
+ * @return string
+ */
+ function _generate_identifier()
+ {
+ $identifier = 'SSH-2.0-phpseclib_2.0';
+
+ $ext = array();
+ if (extension_loaded('libsodium')) {
+ $ext[] = 'libsodium';
+ }
+
+ if (extension_loaded('openssl')) {
+ $ext[] = 'openssl';
+ } elseif (extension_loaded('mcrypt')) {
+ $ext[] = 'mcrypt';
+ }
+
+ if (extension_loaded('gmp')) {
+ $ext[] = 'gmp';
+ } elseif (extension_loaded('bcmath')) {
+ $ext[] = 'bcmath';
+ }
+
+ if (!empty($ext)) {
+ $identifier .= ' (' . implode(', ', $ext) . ')';
+ }
+
+ return $identifier;
+ }
+
+ /**
+ * Key Exchange
+ *
+ * @param string $kexinit_payload_server
+ * @access private
+ */
+ function _key_exchange($kexinit_payload_server)
+ {
+ $kex_algorithms = array(
+ // Elliptic Curve Diffie-Hellman Key Agreement (ECDH) using
+ // Curve25519. See doc/curve25519-sha256@libssh.org.txt in the
+ // libssh repository for more information.
+ 'curve25519-sha256@libssh.org',
+
+ // Diffie-Hellman Key Agreement (DH) using integer modulo prime
+ // groups.
+ 'diffie-hellman-group1-sha1', // REQUIRED
+ 'diffie-hellman-group14-sha1', // REQUIRED
+ 'diffie-hellman-group-exchange-sha1', // RFC 4419
+ 'diffie-hellman-group-exchange-sha256', // RFC 4419
+ );
+ if (!function_exists('\\Sodium\\library_version_major')) {
+ $kex_algorithms = array_diff(
+ $kex_algorithms,
+ array('curve25519-sha256@libssh.org')
+ );
+ }
+
+ $server_host_key_algorithms = array(
+ 'ssh-rsa', // RECOMMENDED sign Raw RSA Key
+ 'ssh-dss' // REQUIRED sign Raw DSS Key
+ );
+
+ $encryption_algorithms = array(
+ // from <http://tools.ietf.org/html/rfc4345#section-4>:
+ 'arcfour256',
+ 'arcfour128',
+
+ //'arcfour', // OPTIONAL the ARCFOUR stream cipher with a 128-bit key
+
+ // CTR modes from <http://tools.ietf.org/html/rfc4344#section-4>:
+ 'aes128-ctr', // RECOMMENDED AES (Rijndael) in SDCTR mode, with 128-bit key
+ 'aes192-ctr', // RECOMMENDED AES with 192-bit key
+ 'aes256-ctr', // RECOMMENDED AES with 256-bit key
+
+ 'twofish128-ctr', // OPTIONAL Twofish in SDCTR mode, with 128-bit key
+ 'twofish192-ctr', // OPTIONAL Twofish with 192-bit key
+ 'twofish256-ctr', // OPTIONAL Twofish with 256-bit key
+
+ 'aes128-cbc', // RECOMMENDED AES with a 128-bit key
+ 'aes192-cbc', // OPTIONAL AES with a 192-bit key
+ 'aes256-cbc', // OPTIONAL AES in CBC mode, with a 256-bit key
+
+ 'twofish128-cbc', // OPTIONAL Twofish with a 128-bit key
+ 'twofish192-cbc', // OPTIONAL Twofish with a 192-bit key
+ 'twofish256-cbc',
+ 'twofish-cbc', // OPTIONAL alias for "twofish256-cbc"
+ // (this is being retained for historical reasons)
+
+ 'blowfish-ctr', // OPTIONAL Blowfish in SDCTR mode
+
+ 'blowfish-cbc', // OPTIONAL Blowfish in CBC mode
+
+ '3des-ctr', // RECOMMENDED Three-key 3DES in SDCTR mode
+
+ '3des-cbc', // REQUIRED three-key 3DES in CBC mode
+ //'none' // OPTIONAL no encryption; NOT RECOMMENDED
+ );
+
+ if (extension_loaded('openssl') && !extension_loaded('mcrypt')) {
+ // OpenSSL does not support arcfour256 in any capacity and arcfour128 / arcfour support is limited to
+ // instances that do not use continuous buffers
+ $encryption_algorithms = array_diff(
+ $encryption_algorithms,
+ array('arcfour256', 'arcfour128', 'arcfour')
+ );
+ }
+
+ if (class_exists('\phpseclib\Crypt\RC4') === false) {
+ $encryption_algorithms = array_diff(
+ $encryption_algorithms,
+ array('arcfour256', 'arcfour128', 'arcfour')
+ );
+ }
+ if (class_exists('\phpseclib\Crypt\Rijndael') === false) {
+ $encryption_algorithms = array_diff(
+ $encryption_algorithms,
+ array('aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'aes128-cbc', 'aes192-cbc', 'aes256-cbc')
+ );
+ }
+ if (class_exists('\phpseclib\Crypt\Twofish') === false) {
+ $encryption_algorithms = array_diff(
+ $encryption_algorithms,
+ array('twofish128-ctr', 'twofish192-ctr', 'twofish256-ctr', 'twofish128-cbc', 'twofish192-cbc', 'twofish256-cbc', 'twofish-cbc')
+ );
+ }
+ if (class_exists('\phpseclib\Crypt\Blowfish') === false) {
+ $encryption_algorithms = array_diff(
+ $encryption_algorithms,
+ array('blowfish-ctr', 'blowfish-cbc')
+ );
+ }
+ if (class_exists('\phpseclib\Crypt\TripleDES') === false) {
+ $encryption_algorithms = array_diff(
+ $encryption_algorithms,
+ array('3des-ctr', '3des-cbc')
+ );
+ }
+ $encryption_algorithms = array_values($encryption_algorithms);
+
+ $mac_algorithms = array(
+ // from <http://www.ietf.org/rfc/rfc6668.txt>:
+ 'hmac-sha2-256',// RECOMMENDED HMAC-SHA256 (digest length = key length = 32)
+
+ 'hmac-sha1-96', // RECOMMENDED first 96 bits of HMAC-SHA1 (digest length = 12, key length = 20)
+ 'hmac-sha1', // REQUIRED HMAC-SHA1 (digest length = key length = 20)
+ 'hmac-md5-96', // OPTIONAL first 96 bits of HMAC-MD5 (digest length = 12, key length = 16)
+ 'hmac-md5', // OPTIONAL HMAC-MD5 (digest length = key length = 16)
+ //'none' // OPTIONAL no MAC; NOT RECOMMENDED
+ );
+
+ $compression_algorithms = array(
+ 'none' // REQUIRED no compression
+ //'zlib' // OPTIONAL ZLIB (LZ77) compression
+ );
+
+ // some SSH servers have buggy implementations of some of the above algorithms
+ switch ($this->server_identifier) {
+ case 'SSH-2.0-SSHD':
+ $mac_algorithms = array_values(array_diff(
+ $mac_algorithms,
+ array('hmac-sha1-96', 'hmac-md5-96')
+ ));
+ }
+
+ $str_kex_algorithms = implode(',', $kex_algorithms);
+ $str_server_host_key_algorithms = implode(',', $server_host_key_algorithms);
+ $encryption_algorithms_server_to_client = $encryption_algorithms_client_to_server = implode(',', $encryption_algorithms);
+ $mac_algorithms_server_to_client = $mac_algorithms_client_to_server = implode(',', $mac_algorithms);
+ $compression_algorithms_server_to_client = $compression_algorithms_client_to_server = implode(',', $compression_algorithms);
+
+ $client_cookie = Random::string(16);
+
+ $response = $kexinit_payload_server;
+ $this->_string_shift($response, 1); // skip past the message number (it should be SSH_MSG_KEXINIT)
+ $server_cookie = $this->_string_shift($response, 16);
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($response, 4));
+ $this->kex_algorithms = explode(',', $this->_string_shift($response, $temp['length']));
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($response, 4));
+ $this->server_host_key_algorithms = explode(',', $this->_string_shift($response, $temp['length']));
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($response, 4));
+ $this->encryption_algorithms_client_to_server = explode(',', $this->_string_shift($response, $temp['length']));
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($response, 4));
+ $this->encryption_algorithms_server_to_client = explode(',', $this->_string_shift($response, $temp['length']));
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($response, 4));
+ $this->mac_algorithms_client_to_server = explode(',', $this->_string_shift($response, $temp['length']));
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($response, 4));
+ $this->mac_algorithms_server_to_client = explode(',', $this->_string_shift($response, $temp['length']));
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($response, 4));
+ $this->compression_algorithms_client_to_server = explode(',', $this->_string_shift($response, $temp['length']));
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($response, 4));
+ $this->compression_algorithms_server_to_client = explode(',', $this->_string_shift($response, $temp['length']));
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($response, 4));
+ $this->languages_client_to_server = explode(',', $this->_string_shift($response, $temp['length']));
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($response, 4));
+ $this->languages_server_to_client = explode(',', $this->_string_shift($response, $temp['length']));
+
+ if (!strlen($response)) {
+ return false;
+ }
+ extract(unpack('Cfirst_kex_packet_follows', $this->_string_shift($response, 1)));
+ $first_kex_packet_follows = $first_kex_packet_follows != 0;
+
+ // the sending of SSH2_MSG_KEXINIT could go in one of two places. this is the second place.
+ $kexinit_payload_client = pack(
+ 'Ca*Na*Na*Na*Na*Na*Na*Na*Na*Na*Na*CN',
+ NET_SSH2_MSG_KEXINIT,
+ $client_cookie,
+ strlen($str_kex_algorithms),
+ $str_kex_algorithms,
+ strlen($str_server_host_key_algorithms),
+ $str_server_host_key_algorithms,
+ strlen($encryption_algorithms_client_to_server),
+ $encryption_algorithms_client_to_server,
+ strlen($encryption_algorithms_server_to_client),
+ $encryption_algorithms_server_to_client,
+ strlen($mac_algorithms_client_to_server),
+ $mac_algorithms_client_to_server,
+ strlen($mac_algorithms_server_to_client),
+ $mac_algorithms_server_to_client,
+ strlen($compression_algorithms_client_to_server),
+ $compression_algorithms_client_to_server,
+ strlen($compression_algorithms_server_to_client),
+ $compression_algorithms_server_to_client,
+ 0,
+ '',
+ 0,
+ '',
+ 0,
+ 0
+ );
+
+ if (!$this->_send_binary_packet($kexinit_payload_client)) {
+ return false;
+ }
+ // here ends the second place.
+
+ // we need to decide upon the symmetric encryption algorithms before we do the diffie-hellman key exchange
+ // we don't initialize any crypto-objects, yet - we do that, later. for now, we need the lengths to make the
+ // diffie-hellman key exchange as fast as possible
+ $decrypt = $this->_array_intersect_first($encryption_algorithms, $this->encryption_algorithms_server_to_client);
+ $decryptKeyLength = $this->_encryption_algorithm_to_key_size($decrypt);
+ if ($decryptKeyLength === null) {
+ user_error('No compatible server to client encryption algorithms found');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED);
+ }
+
+ $encrypt = $this->_array_intersect_first($encryption_algorithms, $this->encryption_algorithms_client_to_server);
+ $encryptKeyLength = $this->_encryption_algorithm_to_key_size($encrypt);
+ if ($encryptKeyLength === null) {
+ user_error('No compatible client to server encryption algorithms found');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED);
+ }
+
+ // through diffie-hellman key exchange a symmetric key is obtained
+ $kex_algorithm = $this->_array_intersect_first($kex_algorithms, $this->kex_algorithms);
+ if ($kex_algorithm === false) {
+ user_error('No compatible key exchange algorithms found');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED);
+ }
+
+ // Only relevant in diffie-hellman-group-exchange-sha{1,256}, otherwise empty.
+ $exchange_hash_rfc4419 = '';
+
+ if ($kex_algorithm === 'curve25519-sha256@libssh.org') {
+ $x = Random::string(32);
+ $eBytes = \Sodium\crypto_box_publickey_from_secretkey($x);
+ $clientKexInitMessage = NET_SSH2_MSG_KEX_ECDH_INIT;
+ $serverKexReplyMessage = NET_SSH2_MSG_KEX_ECDH_REPLY;
+ $kexHash = new Hash('sha256');
+ } else {
+ if (strpos($kex_algorithm, 'diffie-hellman-group-exchange') === 0) {
+ $dh_group_sizes_packed = pack(
+ 'NNN',
+ $this->kex_dh_group_size_min,
+ $this->kex_dh_group_size_preferred,
+ $this->kex_dh_group_size_max
+ );
+ $packet = pack(
+ 'Ca*',
+ NET_SSH2_MSG_KEXDH_GEX_REQUEST,
+ $dh_group_sizes_packed
+ );
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $response = $this->_get_binary_packet();
+ if ($response === false) {
+ user_error('Connection closed by server');
+ return false;
+ }
+ extract(unpack('Ctype', $this->_string_shift($response, 1)));
+ if ($type != NET_SSH2_MSG_KEXDH_GEX_GROUP) {
+ user_error('Expected SSH_MSG_KEX_DH_GEX_GROUP');
+ return false;
+ }
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('NprimeLength', $this->_string_shift($response, 4)));
+ $primeBytes = $this->_string_shift($response, $primeLength);
+ $prime = new BigInteger($primeBytes, -256);
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('NgLength', $this->_string_shift($response, 4)));
+ $gBytes = $this->_string_shift($response, $gLength);
+ $g = new BigInteger($gBytes, -256);
+
+ $exchange_hash_rfc4419 = pack(
+ 'a*Na*Na*',
+ $dh_group_sizes_packed,
+ $primeLength,
+ $primeBytes,
+ $gLength,
+ $gBytes
+ );
+
+ $clientKexInitMessage = NET_SSH2_MSG_KEXDH_GEX_INIT;
+ $serverKexReplyMessage = NET_SSH2_MSG_KEXDH_GEX_REPLY;
+ } else {
+ switch ($kex_algorithm) {
+ // see http://tools.ietf.org/html/rfc2409#section-6.2 and
+ // http://tools.ietf.org/html/rfc2412, appendex E
+ case 'diffie-hellman-group1-sha1':
+ $prime = 'FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74' .
+ '020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F1437' .
+ '4FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7ED' .
+ 'EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE65381FFFFFFFFFFFFFFFF';
+ break;
+ // see http://tools.ietf.org/html/rfc3526#section-3
+ case 'diffie-hellman-group14-sha1':
+ $prime = 'FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74' .
+ '020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F1437' .
+ '4FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7ED' .
+ 'EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF05' .
+ '98DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB' .
+ '9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3B' .
+ 'E39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF695581718' .
+ '3995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF';
+ break;
+ }
+ // For both diffie-hellman-group1-sha1 and diffie-hellman-group14-sha1
+ // the generator field element is 2 (decimal) and the hash function is sha1.
+ $g = new BigInteger(2);
+ $prime = new BigInteger($prime, 16);
+ $clientKexInitMessage = NET_SSH2_MSG_KEXDH_INIT;
+ $serverKexReplyMessage = NET_SSH2_MSG_KEXDH_REPLY;
+ }
+
+ switch ($kex_algorithm) {
+ case 'diffie-hellman-group-exchange-sha256':
+ $kexHash = new Hash('sha256');
+ break;
+ default:
+ $kexHash = new Hash('sha1');
+ }
+
+ /* To increase the speed of the key exchange, both client and server may
+ reduce the size of their private exponents. It should be at least
+ twice as long as the key material that is generated from the shared
+ secret. For more details, see the paper by van Oorschot and Wiener
+ [VAN-OORSCHOT].
+
+ -- http://tools.ietf.org/html/rfc4419#section-6.2 */
+ $one = new BigInteger(1);
+ $keyLength = min($kexHash->getLength(), max($encryptKeyLength, $decryptKeyLength));
+ $max = $one->bitwise_leftShift(16 * $keyLength); // 2 * 8 * $keyLength
+ $max = $max->subtract($one);
+
+ $x = $one->random($one, $max);
+ $e = $g->modPow($x, $prime);
+
+ $eBytes = $e->toBytes(true);
+ }
+ $data = pack('CNa*', $clientKexInitMessage, strlen($eBytes), $eBytes);
+
+ if (!$this->_send_binary_packet($data)) {
+ user_error('Connection closed by server');
+ return false;
+ }
+
+ $response = $this->_get_binary_packet();
+ if ($response === false) {
+ user_error('Connection closed by server');
+ return false;
+ }
+ if (!strlen($response)) {
+ return false;
+ }
+ extract(unpack('Ctype', $this->_string_shift($response, 1)));
+
+ if ($type != $serverKexReplyMessage) {
+ user_error('Expected SSH_MSG_KEXDH_REPLY');
+ return false;
+ }
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($response, 4));
+ $this->server_public_host_key = $server_public_host_key = $this->_string_shift($response, $temp['length']);
+
+ if (strlen($server_public_host_key) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4));
+ $public_key_format = $this->_string_shift($server_public_host_key, $temp['length']);
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($response, 4));
+ $fBytes = $this->_string_shift($response, $temp['length']);
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($response, 4));
+ $this->signature = $this->_string_shift($response, $temp['length']);
+
+ if (strlen($this->signature) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($this->signature, 4));
+ $this->signature_format = $this->_string_shift($this->signature, $temp['length']);
+
+ if ($kex_algorithm === 'curve25519-sha256@libssh.org') {
+ if (strlen($fBytes) !== 32) {
+ user_error('Received curve25519 public key of invalid length.');
+ return false;
+ }
+ $key = new BigInteger(\Sodium\crypto_scalarmult($x, $fBytes), 256);
+ \Sodium\memzero($x);
+ } else {
+ $f = new BigInteger($fBytes, -256);
+ $key = $f->modPow($x, $prime);
+ }
+ $keyBytes = $key->toBytes(true);
+
+ $this->exchange_hash = pack(
+ 'Na*Na*Na*Na*Na*a*Na*Na*Na*',
+ strlen($this->identifier),
+ $this->identifier,
+ strlen($this->server_identifier),
+ $this->server_identifier,
+ strlen($kexinit_payload_client),
+ $kexinit_payload_client,
+ strlen($kexinit_payload_server),
+ $kexinit_payload_server,
+ strlen($this->server_public_host_key),
+ $this->server_public_host_key,
+ $exchange_hash_rfc4419,
+ strlen($eBytes),
+ $eBytes,
+ strlen($fBytes),
+ $fBytes,
+ strlen($keyBytes),
+ $keyBytes
+ );
+
+ $this->exchange_hash = $kexHash->hash($this->exchange_hash);
+
+ if ($this->session_id === false) {
+ $this->session_id = $this->exchange_hash;
+ }
+
+ $server_host_key_algorithm = $this->_array_intersect_first($server_host_key_algorithms, $this->server_host_key_algorithms);
+ if ($server_host_key_algorithm === false) {
+ user_error('No compatible server host key algorithms found');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED);
+ }
+
+ if ($public_key_format != $server_host_key_algorithm || $this->signature_format != $server_host_key_algorithm) {
+ user_error('Server Host Key Algorithm Mismatch');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED);
+ }
+
+ $packet = pack(
+ 'C',
+ NET_SSH2_MSG_NEWKEYS
+ );
+
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $response = $this->_get_binary_packet();
+
+ if ($response === false) {
+ user_error('Connection closed by server');
+ return false;
+ }
+
+ if (!strlen($response)) {
+ return false;
+ }
+ extract(unpack('Ctype', $this->_string_shift($response, 1)));
+
+ if ($type != NET_SSH2_MSG_NEWKEYS) {
+ user_error('Expected SSH_MSG_NEWKEYS');
+ return false;
+ }
+
+ $keyBytes = pack('Na*', strlen($keyBytes), $keyBytes);
+
+ $this->encrypt = $this->_encryption_algorithm_to_crypt_instance($encrypt);
+ if ($this->encrypt) {
+ if ($this->crypto_engine) {
+ $this->encrypt->setEngine($this->crypto_engine);
+ }
+ if ($this->encrypt->block_size) {
+ $this->encrypt_block_size = $this->encrypt->block_size;
+ }
+ $this->encrypt->enableContinuousBuffer();
+ $this->encrypt->disablePadding();
+
+ $iv = $kexHash->hash($keyBytes . $this->exchange_hash . 'A' . $this->session_id);
+ while ($this->encrypt_block_size > strlen($iv)) {
+ $iv.= $kexHash->hash($keyBytes . $this->exchange_hash . $iv);
+ }
+ $this->encrypt->setIV(substr($iv, 0, $this->encrypt_block_size));
+
+ $key = $kexHash->hash($keyBytes . $this->exchange_hash . 'C' . $this->session_id);
+ while ($encryptKeyLength > strlen($key)) {
+ $key.= $kexHash->hash($keyBytes . $this->exchange_hash . $key);
+ }
+ $this->encrypt->setKey(substr($key, 0, $encryptKeyLength));
+ }
+
+ $this->decrypt = $this->_encryption_algorithm_to_crypt_instance($decrypt);
+ if ($this->decrypt) {
+ if ($this->crypto_engine) {
+ $this->decrypt->setEngine($this->crypto_engine);
+ }
+ if ($this->decrypt->block_size) {
+ $this->decrypt_block_size = $this->decrypt->block_size;
+ }
+ $this->decrypt->enableContinuousBuffer();
+ $this->decrypt->disablePadding();
+
+ $iv = $kexHash->hash($keyBytes . $this->exchange_hash . 'B' . $this->session_id);
+ while ($this->decrypt_block_size > strlen($iv)) {
+ $iv.= $kexHash->hash($keyBytes . $this->exchange_hash . $iv);
+ }
+ $this->decrypt->setIV(substr($iv, 0, $this->decrypt_block_size));
+
+ $key = $kexHash->hash($keyBytes . $this->exchange_hash . 'D' . $this->session_id);
+ while ($decryptKeyLength > strlen($key)) {
+ $key.= $kexHash->hash($keyBytes . $this->exchange_hash . $key);
+ }
+ $this->decrypt->setKey(substr($key, 0, $decryptKeyLength));
+ }
+
+ /* The "arcfour128" algorithm is the RC4 cipher, as described in
+ [SCHNEIER], using a 128-bit key. The first 1536 bytes of keystream
+ generated by the cipher MUST be discarded, and the first byte of the
+ first encrypted packet MUST be encrypted using the 1537th byte of
+ keystream.
+
+ -- http://tools.ietf.org/html/rfc4345#section-4 */
+ if ($encrypt == 'arcfour128' || $encrypt == 'arcfour256') {
+ $this->encrypt->encrypt(str_repeat("\0", 1536));
+ }
+ if ($decrypt == 'arcfour128' || $decrypt == 'arcfour256') {
+ $this->decrypt->decrypt(str_repeat("\0", 1536));
+ }
+
+ $mac_algorithm = $this->_array_intersect_first($mac_algorithms, $this->mac_algorithms_client_to_server);
+ if ($mac_algorithm === false) {
+ user_error('No compatible client to server message authentication algorithms found');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED);
+ }
+
+ $createKeyLength = 0; // ie. $mac_algorithm == 'none'
+ switch ($mac_algorithm) {
+ case 'hmac-sha2-256':
+ $this->hmac_create = new Hash('sha256');
+ $createKeyLength = 32;
+ break;
+ case 'hmac-sha1':
+ $this->hmac_create = new Hash('sha1');
+ $createKeyLength = 20;
+ break;
+ case 'hmac-sha1-96':
+ $this->hmac_create = new Hash('sha1-96');
+ $createKeyLength = 20;
+ break;
+ case 'hmac-md5':
+ $this->hmac_create = new Hash('md5');
+ $createKeyLength = 16;
+ break;
+ case 'hmac-md5-96':
+ $this->hmac_create = new Hash('md5-96');
+ $createKeyLength = 16;
+ }
+
+ $mac_algorithm = $this->_array_intersect_first($mac_algorithms, $this->mac_algorithms_server_to_client);
+ if ($mac_algorithm === false) {
+ user_error('No compatible server to client message authentication algorithms found');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED);
+ }
+
+ $checkKeyLength = 0;
+ $this->hmac_size = 0;
+ switch ($mac_algorithm) {
+ case 'hmac-sha2-256':
+ $this->hmac_check = new Hash('sha256');
+ $checkKeyLength = 32;
+ $this->hmac_size = 32;
+ break;
+ case 'hmac-sha1':
+ $this->hmac_check = new Hash('sha1');
+ $checkKeyLength = 20;
+ $this->hmac_size = 20;
+ break;
+ case 'hmac-sha1-96':
+ $this->hmac_check = new Hash('sha1-96');
+ $checkKeyLength = 20;
+ $this->hmac_size = 12;
+ break;
+ case 'hmac-md5':
+ $this->hmac_check = new Hash('md5');
+ $checkKeyLength = 16;
+ $this->hmac_size = 16;
+ break;
+ case 'hmac-md5-96':
+ $this->hmac_check = new Hash('md5-96');
+ $checkKeyLength = 16;
+ $this->hmac_size = 12;
+ }
+
+ $key = $kexHash->hash($keyBytes . $this->exchange_hash . 'E' . $this->session_id);
+ while ($createKeyLength > strlen($key)) {
+ $key.= $kexHash->hash($keyBytes . $this->exchange_hash . $key);
+ }
+ $this->hmac_create->setKey(substr($key, 0, $createKeyLength));
+
+ $key = $kexHash->hash($keyBytes . $this->exchange_hash . 'F' . $this->session_id);
+ while ($checkKeyLength > strlen($key)) {
+ $key.= $kexHash->hash($keyBytes . $this->exchange_hash . $key);
+ }
+ $this->hmac_check->setKey(substr($key, 0, $checkKeyLength));
+
+ $compression_algorithm = $this->_array_intersect_first($compression_algorithms, $this->compression_algorithms_server_to_client);
+ if ($compression_algorithm === false) {
+ user_error('No compatible server to client compression algorithms found');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED);
+ }
+ $this->decompress = $compression_algorithm == 'zlib';
+
+ $compression_algorithm = $this->_array_intersect_first($compression_algorithms, $this->compression_algorithms_client_to_server);
+ if ($compression_algorithm === false) {
+ user_error('No compatible client to server compression algorithms found');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED);
+ }
+ $this->compress = $compression_algorithm == 'zlib';
+
+ return true;
+ }
+
+ /**
+ * Maps an encryption algorithm name to the number of key bytes.
+ *
+ * @param string $algorithm Name of the encryption algorithm
+ * @return int|null Number of bytes as an integer or null for unknown
+ * @access private
+ */
+ function _encryption_algorithm_to_key_size($algorithm)
+ {
+ switch ($algorithm) {
+ case 'none':
+ return 0;
+ case 'aes128-cbc':
+ case 'aes128-ctr':
+ case 'arcfour':
+ case 'arcfour128':
+ case 'blowfish-cbc':
+ case 'blowfish-ctr':
+ case 'twofish128-cbc':
+ case 'twofish128-ctr':
+ return 16;
+ case '3des-cbc':
+ case '3des-ctr':
+ case 'aes192-cbc':
+ case 'aes192-ctr':
+ case 'twofish192-cbc':
+ case 'twofish192-ctr':
+ return 24;
+ case 'aes256-cbc':
+ case 'aes256-ctr':
+ case 'arcfour256':
+ case 'twofish-cbc':
+ case 'twofish256-cbc':
+ case 'twofish256-ctr':
+ return 32;
+ }
+ return null;
+ }
+
+ /**
+ * Maps an encryption algorithm name to an instance of a subclass of
+ * \phpseclib\Crypt\Base.
+ *
+ * @param string $algorithm Name of the encryption algorithm
+ * @return mixed Instance of \phpseclib\Crypt\Base or null for unknown
+ * @access private
+ */
+ function _encryption_algorithm_to_crypt_instance($algorithm)
+ {
+ switch ($algorithm) {
+ case '3des-cbc':
+ return new TripleDES();
+ case '3des-ctr':
+ return new TripleDES(Base::MODE_CTR);
+ case 'aes256-cbc':
+ case 'aes192-cbc':
+ case 'aes128-cbc':
+ return new Rijndael();
+ case 'aes256-ctr':
+ case 'aes192-ctr':
+ case 'aes128-ctr':
+ return new Rijndael(Base::MODE_CTR);
+ case 'blowfish-cbc':
+ return new Blowfish();
+ case 'blowfish-ctr':
+ return new Blowfish(Base::MODE_CTR);
+ case 'twofish128-cbc':
+ case 'twofish192-cbc':
+ case 'twofish256-cbc':
+ case 'twofish-cbc':
+ return new Twofish();
+ case 'twofish128-ctr':
+ case 'twofish192-ctr':
+ case 'twofish256-ctr':
+ return new Twofish(Base::MODE_CTR);
+ case 'arcfour':
+ case 'arcfour128':
+ case 'arcfour256':
+ return new RC4();
+ }
+ return null;
+ }
+
+ /**
+ * Login
+ *
+ * The $password parameter can be a plaintext password, a \phpseclib\Crypt\RSA object or an array
+ *
+ * @param string $username
+ * @param mixed $password
+ * @param mixed $...
+ * @return bool
+ * @see self::_login()
+ * @access public
+ */
+ function login($username)
+ {
+ $args = func_get_args();
+ return call_user_func_array(array(&$this, '_login'), $args);
+ }
+
+ /**
+ * Login Helper
+ *
+ * @param string $username
+ * @param mixed $password
+ * @param mixed $...
+ * @return bool
+ * @see self::_login_helper()
+ * @access private
+ */
+ function _login($username)
+ {
+ if (!($this->bitmap & self::MASK_CONSTRUCTOR)) {
+ if (!$this->_connect()) {
+ return false;
+ }
+ }
+
+ $args = array_slice(func_get_args(), 1);
+ if (empty($args)) {
+ return $this->_login_helper($username);
+ }
+
+ foreach ($args as $arg) {
+ if ($this->_login_helper($username, $arg)) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Login Helper
+ *
+ * @param string $username
+ * @param string $password
+ * @return bool
+ * @access private
+ * @internal It might be worthwhile, at some point, to protect against {@link http://tools.ietf.org/html/rfc4251#section-9.3.9 traffic analysis}
+ * by sending dummy SSH_MSG_IGNORE messages.
+ */
+ function _login_helper($username, $password = null)
+ {
+ if (!($this->bitmap & self::MASK_CONNECTED)) {
+ return false;
+ }
+
+ if (!($this->bitmap & self::MASK_LOGIN_REQ)) {
+ $packet = pack(
+ 'CNa*',
+ NET_SSH2_MSG_SERVICE_REQUEST,
+ strlen('ssh-userauth'),
+ 'ssh-userauth'
+ );
+
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $response = $this->_get_binary_packet();
+ if ($response === false) {
+ user_error('Connection closed by server');
+ return false;
+ }
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Ctype', $this->_string_shift($response, 1)));
+
+ if ($type != NET_SSH2_MSG_SERVICE_ACCEPT) {
+ user_error('Expected SSH_MSG_SERVICE_ACCEPT');
+ return false;
+ }
+ $this->bitmap |= self::MASK_LOGIN_REQ;
+ }
+
+ if (strlen($this->last_interactive_response)) {
+ return !is_string($password) && !is_array($password) ? false : $this->_keyboard_interactive_process($password);
+ }
+
+ if ($password instanceof RSA) {
+ return $this->_privatekey_login($username, $password);
+ } elseif ($password instanceof Agent) {
+ return $this->_ssh_agent_login($username, $password);
+ }
+
+ if (is_array($password)) {
+ if ($this->_keyboard_interactive_login($username, $password)) {
+ $this->bitmap |= self::MASK_LOGIN;
+ return true;
+ }
+ return false;
+ }
+
+ if (!isset($password)) {
+ $packet = pack(
+ 'CNa*Na*Na*',
+ NET_SSH2_MSG_USERAUTH_REQUEST,
+ strlen($username),
+ $username,
+ strlen('ssh-connection'),
+ 'ssh-connection',
+ strlen('none'),
+ 'none'
+ );
+
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $response = $this->_get_binary_packet();
+ if ($response === false) {
+ user_error('Connection closed by server');
+ return false;
+ }
+
+ if (!strlen($response)) {
+ return false;
+ }
+ extract(unpack('Ctype', $this->_string_shift($response, 1)));
+
+ switch ($type) {
+ case NET_SSH2_MSG_USERAUTH_SUCCESS:
+ $this->bitmap |= self::MASK_LOGIN;
+ return true;
+ //case NET_SSH2_MSG_USERAUTH_FAILURE:
+ default:
+ return false;
+ }
+ }
+
+ $packet = pack(
+ 'CNa*Na*Na*CNa*',
+ NET_SSH2_MSG_USERAUTH_REQUEST,
+ strlen($username),
+ $username,
+ strlen('ssh-connection'),
+ 'ssh-connection',
+ strlen('password'),
+ 'password',
+ 0,
+ strlen($password),
+ $password
+ );
+
+ // remove the username and password from the logged packet
+ if (!defined('NET_SSH2_LOGGING')) {
+ $logged = null;
+ } else {
+ $logged = pack(
+ 'CNa*Na*Na*CNa*',
+ NET_SSH2_MSG_USERAUTH_REQUEST,
+ strlen('username'),
+ 'username',
+ strlen('ssh-connection'),
+ 'ssh-connection',
+ strlen('password'),
+ 'password',
+ 0,
+ strlen('password'),
+ 'password'
+ );
+ }
+
+ if (!$this->_send_binary_packet($packet, $logged)) {
+ return false;
+ }
+
+ $response = $this->_get_binary_packet();
+ if ($response === false) {
+ user_error('Connection closed by server');
+ return false;
+ }
+
+ if (!strlen($response)) {
+ return false;
+ }
+ extract(unpack('Ctype', $this->_string_shift($response, 1)));
+
+ switch ($type) {
+ case NET_SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ: // in theory, the password can be changed
+ if (defined('NET_SSH2_LOGGING')) {
+ $this->message_number_log[count($this->message_number_log) - 1] = 'NET_SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ';
+ }
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ $this->errors[] = 'SSH_MSG_USERAUTH_PASSWD_CHANGEREQ: ' . utf8_decode($this->_string_shift($response, $length));
+ return $this->_disconnect(NET_SSH2_DISCONNECT_AUTH_CANCELLED_BY_USER);
+ case NET_SSH2_MSG_USERAUTH_FAILURE:
+ // can we use keyboard-interactive authentication? if not then either the login is bad or the server employees
+ // multi-factor authentication
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ $auth_methods = explode(',', $this->_string_shift($response, $length));
+ if (!strlen($response)) {
+ return false;
+ }
+ extract(unpack('Cpartial_success', $this->_string_shift($response, 1)));
+ $partial_success = $partial_success != 0;
+
+ if (!$partial_success && in_array('keyboard-interactive', $auth_methods)) {
+ if ($this->_keyboard_interactive_login($username, $password)) {
+ $this->bitmap |= self::MASK_LOGIN;
+ return true;
+ }
+ return false;
+ }
+ return false;
+ case NET_SSH2_MSG_USERAUTH_SUCCESS:
+ $this->bitmap |= self::MASK_LOGIN;
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Login via keyboard-interactive authentication
+ *
+ * See {@link http://tools.ietf.org/html/rfc4256 RFC4256} for details. This is not a full-featured keyboard-interactive authenticator.
+ *
+ * @param string $username
+ * @param string $password
+ * @return bool
+ * @access private
+ */
+ function _keyboard_interactive_login($username, $password)
+ {
+ $packet = pack(
+ 'CNa*Na*Na*Na*Na*',
+ NET_SSH2_MSG_USERAUTH_REQUEST,
+ strlen($username),
+ $username,
+ strlen('ssh-connection'),
+ 'ssh-connection',
+ strlen('keyboard-interactive'),
+ 'keyboard-interactive',
+ 0,
+ '',
+ 0,
+ ''
+ );
+
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ return $this->_keyboard_interactive_process($password);
+ }
+
+ /**
+ * Handle the keyboard-interactive requests / responses.
+ *
+ * @param string $responses...
+ * @return bool
+ * @access private
+ */
+ function _keyboard_interactive_process()
+ {
+ $responses = func_get_args();
+
+ if (strlen($this->last_interactive_response)) {
+ $response = $this->last_interactive_response;
+ } else {
+ $orig = $response = $this->_get_binary_packet();
+ if ($response === false) {
+ user_error('Connection closed by server');
+ return false;
+ }
+ }
+
+ if (!strlen($response)) {
+ return false;
+ }
+ extract(unpack('Ctype', $this->_string_shift($response, 1)));
+
+ switch ($type) {
+ case NET_SSH2_MSG_USERAUTH_INFO_REQUEST:
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ $this->_string_shift($response, $length); // name; may be empty
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ $this->_string_shift($response, $length); // instruction; may be empty
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ $this->_string_shift($response, $length); // language tag; may be empty
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nnum_prompts', $this->_string_shift($response, 4)));
+
+ for ($i = 0; $i < count($responses); $i++) {
+ if (is_array($responses[$i])) {
+ foreach ($responses[$i] as $key => $value) {
+ $this->keyboard_requests_responses[$key] = $value;
+ }
+ unset($responses[$i]);
+ }
+ }
+ $responses = array_values($responses);
+
+ if (isset($this->keyboard_requests_responses)) {
+ for ($i = 0; $i < $num_prompts; $i++) {
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ // prompt - ie. "Password: "; must not be empty
+ $prompt = $this->_string_shift($response, $length);
+ //$echo = $this->_string_shift($response) != chr(0);
+ foreach ($this->keyboard_requests_responses as $key => $value) {
+ if (substr($prompt, 0, strlen($key)) == $key) {
+ $responses[] = $value;
+ break;
+ }
+ }
+ }
+ }
+
+ // see http://tools.ietf.org/html/rfc4256#section-3.2
+ if (strlen($this->last_interactive_response)) {
+ $this->last_interactive_response = '';
+ } elseif (defined('NET_SSH2_LOGGING')) {
+ $this->message_number_log[count($this->message_number_log) - 1] = str_replace(
+ 'UNKNOWN',
+ 'NET_SSH2_MSG_USERAUTH_INFO_REQUEST',
+ $this->message_number_log[count($this->message_number_log) - 1]
+ );
+ }
+
+ if (!count($responses) && $num_prompts) {
+ $this->last_interactive_response = $orig;
+ return false;
+ }
+
+ /*
+ After obtaining the requested information from the user, the client
+ MUST respond with an SSH_MSG_USERAUTH_INFO_RESPONSE message.
+ */
+ // see http://tools.ietf.org/html/rfc4256#section-3.4
+ $packet = $logged = pack('CN', NET_SSH2_MSG_USERAUTH_INFO_RESPONSE, count($responses));
+ for ($i = 0; $i < count($responses); $i++) {
+ $packet.= pack('Na*', strlen($responses[$i]), $responses[$i]);
+ $logged.= pack('Na*', strlen('dummy-answer'), 'dummy-answer');
+ }
+
+ if (!$this->_send_binary_packet($packet, $logged)) {
+ return false;
+ }
+
+ if (defined('NET_SSH2_LOGGING') && NET_SSH2_LOGGING == self::LOG_COMPLEX) {
+ $this->message_number_log[count($this->message_number_log) - 1] = str_replace(
+ 'UNKNOWN',
+ 'NET_SSH2_MSG_USERAUTH_INFO_RESPONSE',
+ $this->message_number_log[count($this->message_number_log) - 1]
+ );
+ }
+
+ /*
+ After receiving the response, the server MUST send either an
+ SSH_MSG_USERAUTH_SUCCESS, SSH_MSG_USERAUTH_FAILURE, or another
+ SSH_MSG_USERAUTH_INFO_REQUEST message.
+ */
+ // maybe phpseclib should force close the connection after x request / responses? unless something like that is done
+ // there could be an infinite loop of request / responses.
+ return $this->_keyboard_interactive_process();
+ case NET_SSH2_MSG_USERAUTH_SUCCESS:
+ return true;
+ case NET_SSH2_MSG_USERAUTH_FAILURE:
+ return false;
+ }
+
+ return false;
+ }
+
+ /**
+ * Login with an ssh-agent provided key
+ *
+ * @param string $username
+ * @param \phpseclib\System\SSH\Agent $agent
+ * @return bool
+ * @access private
+ */
+ function _ssh_agent_login($username, $agent)
+ {
+ $this->agent = $agent;
+ $keys = $agent->requestIdentities();
+ foreach ($keys as $key) {
+ if ($this->_privatekey_login($username, $key)) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Login with an RSA private key
+ *
+ * @param string $username
+ * @param \phpseclib\Crypt\RSA $password
+ * @return bool
+ * @access private
+ * @internal It might be worthwhile, at some point, to protect against {@link http://tools.ietf.org/html/rfc4251#section-9.3.9 traffic analysis}
+ * by sending dummy SSH_MSG_IGNORE messages.
+ */
+ function _privatekey_login($username, $privatekey)
+ {
+ // see http://tools.ietf.org/html/rfc4253#page-15
+ $publickey = $privatekey->getPublicKey(RSA::PUBLIC_FORMAT_RAW);
+ if ($publickey === false) {
+ return false;
+ }
+
+ $publickey = array(
+ 'e' => $publickey['e']->toBytes(true),
+ 'n' => $publickey['n']->toBytes(true)
+ );
+ $publickey = pack(
+ 'Na*Na*Na*',
+ strlen('ssh-rsa'),
+ 'ssh-rsa',
+ strlen($publickey['e']),
+ $publickey['e'],
+ strlen($publickey['n']),
+ $publickey['n']
+ );
+
+ $part1 = pack(
+ 'CNa*Na*Na*',
+ NET_SSH2_MSG_USERAUTH_REQUEST,
+ strlen($username),
+ $username,
+ strlen('ssh-connection'),
+ 'ssh-connection',
+ strlen('publickey'),
+ 'publickey'
+ );
+ $part2 = pack('Na*Na*', strlen('ssh-rsa'), 'ssh-rsa', strlen($publickey), $publickey);
+
+ $packet = $part1 . chr(0) . $part2;
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $response = $this->_get_binary_packet();
+ if ($response === false) {
+ user_error('Connection closed by server');
+ return false;
+ }
+
+ if (!strlen($response)) {
+ return false;
+ }
+ extract(unpack('Ctype', $this->_string_shift($response, 1)));
+
+ switch ($type) {
+ case NET_SSH2_MSG_USERAUTH_FAILURE:
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ $this->errors[] = 'SSH_MSG_USERAUTH_FAILURE: ' . $this->_string_shift($response, $length);
+ return false;
+ case NET_SSH2_MSG_USERAUTH_PK_OK:
+ // we'll just take it on faith that the public key blob and the public key algorithm name are as
+ // they should be
+ if (defined('NET_SSH2_LOGGING') && NET_SSH2_LOGGING == self::LOG_COMPLEX) {
+ $this->message_number_log[count($this->message_number_log) - 1] = str_replace(
+ 'UNKNOWN',
+ 'NET_SSH2_MSG_USERAUTH_PK_OK',
+ $this->message_number_log[count($this->message_number_log) - 1]
+ );
+ }
+ }
+
+ $packet = $part1 . chr(1) . $part2;
+ $privatekey->setSignatureMode(RSA::SIGNATURE_PKCS1);
+ $signature = $privatekey->sign(pack('Na*a*', strlen($this->session_id), $this->session_id, $packet));
+ $signature = pack('Na*Na*', strlen('ssh-rsa'), 'ssh-rsa', strlen($signature), $signature);
+ $packet.= pack('Na*', strlen($signature), $signature);
+
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $response = $this->_get_binary_packet();
+ if ($response === false) {
+ user_error('Connection closed by server');
+ return false;
+ }
+
+ if (!strlen($response)) {
+ return false;
+ }
+ extract(unpack('Ctype', $this->_string_shift($response, 1)));
+
+ switch ($type) {
+ case NET_SSH2_MSG_USERAUTH_FAILURE:
+ // either the login is bad or the server employs multi-factor authentication
+ return false;
+ case NET_SSH2_MSG_USERAUTH_SUCCESS:
+ $this->bitmap |= self::MASK_LOGIN;
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Set Timeout
+ *
+ * $ssh->exec('ping 127.0.0.1'); on a Linux host will never return and will run indefinitely. setTimeout() makes it so it'll timeout.
+ * Setting $timeout to false or 0 will mean there is no timeout.
+ *
+ * @param mixed $timeout
+ * @access public
+ */
+ function setTimeout($timeout)
+ {
+ $this->timeout = $this->curTimeout = $timeout;
+ }
+
+ /**
+ * Get the output from stdError
+ *
+ * @access public
+ */
+ function getStdError()
+ {
+ return $this->stdErrorLog;
+ }
+
+ /**
+ * Execute Command
+ *
+ * If $callback is set to false then \phpseclib\Net\SSH2::_get_channel_packet(self::CHANNEL_EXEC) will need to be called manually.
+ * In all likelihood, this is not a feature you want to be taking advantage of.
+ *
+ * @param string $command
+ * @param Callback $callback
+ * @return string
+ * @access public
+ */
+ function exec($command, $callback = null)
+ {
+ $this->curTimeout = $this->timeout;
+ $this->is_timeout = false;
+ $this->stdErrorLog = '';
+
+ if (!$this->isAuthenticated()) {
+ return false;
+ }
+
+ if ($this->in_request_pty_exec) {
+ user_error('If you want to run multiple exec()\'s you will need to disable (and re-enable if appropriate) a PTY for each one.');
+ return false;
+ }
+
+ // RFC4254 defines the (client) window size as "bytes the other party can send before it must wait for the window to
+ // be adjusted". 0x7FFFFFFF is, at 2GB, the max size. technically, it should probably be decremented, but,
+ // honestly, if you're transferring more than 2GB, you probably shouldn't be using phpseclib, anyway.
+ // see http://tools.ietf.org/html/rfc4254#section-5.2 for more info
+ $this->window_size_server_to_client[self::CHANNEL_EXEC] = $this->window_size;
+ // 0x8000 is the maximum max packet size, per http://tools.ietf.org/html/rfc4253#section-6.1, although since PuTTy
+ // uses 0x4000, that's what will be used here, as well.
+ $packet_size = 0x4000;
+
+ $packet = pack(
+ 'CNa*N3',
+ NET_SSH2_MSG_CHANNEL_OPEN,
+ strlen('session'),
+ 'session',
+ self::CHANNEL_EXEC,
+ $this->window_size_server_to_client[self::CHANNEL_EXEC],
+ $packet_size
+ );
+
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $this->channel_status[self::CHANNEL_EXEC] = NET_SSH2_MSG_CHANNEL_OPEN;
+
+ $response = $this->_get_channel_packet(self::CHANNEL_EXEC);
+ if ($response === false) {
+ return false;
+ }
+
+ if ($this->request_pty === true) {
+ $terminal_modes = pack('C', NET_SSH2_TTY_OP_END);
+ $packet = pack(
+ 'CNNa*CNa*N5a*',
+ NET_SSH2_MSG_CHANNEL_REQUEST,
+ $this->server_channels[self::CHANNEL_EXEC],
+ strlen('pty-req'),
+ 'pty-req',
+ 1,
+ strlen('vt100'),
+ 'vt100',
+ $this->windowColumns,
+ $this->windowRows,
+ 0,
+ 0,
+ strlen($terminal_modes),
+ $terminal_modes
+ );
+
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $response = $this->_get_binary_packet();
+ if ($response === false) {
+ user_error('Connection closed by server');
+ return false;
+ }
+
+ if (!strlen($response)) {
+ return false;
+ }
+ list(, $type) = unpack('C', $this->_string_shift($response, 1));
+
+ switch ($type) {
+ case NET_SSH2_MSG_CHANNEL_SUCCESS:
+ break;
+ case NET_SSH2_MSG_CHANNEL_FAILURE:
+ default:
+ user_error('Unable to request pseudo-terminal');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION);
+ }
+ $this->in_request_pty_exec = true;
+ }
+
+ // sending a pty-req SSH_MSG_CHANNEL_REQUEST message is unnecessary and, in fact, in most cases, slows things
+ // down. the one place where it might be desirable is if you're doing something like \phpseclib\Net\SSH2::exec('ping localhost &').
+ // with a pty-req SSH_MSG_CHANNEL_REQUEST, exec() will return immediately and the ping process will then
+ // then immediately terminate. without such a request exec() will loop indefinitely. the ping process won't end but
+ // neither will your script.
+
+ // although, in theory, the size of SSH_MSG_CHANNEL_REQUEST could exceed the maximum packet size established by
+ // SSH_MSG_CHANNEL_OPEN_CONFIRMATION, RFC4254#section-5.1 states that the "maximum packet size" refers to the
+ // "maximum size of an individual data packet". ie. SSH_MSG_CHANNEL_DATA. RFC4254#section-5.2 corroborates.
+ $packet = pack(
+ 'CNNa*CNa*',
+ NET_SSH2_MSG_CHANNEL_REQUEST,
+ $this->server_channels[self::CHANNEL_EXEC],
+ strlen('exec'),
+ 'exec',
+ 1,
+ strlen($command),
+ $command
+ );
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $this->channel_status[self::CHANNEL_EXEC] = NET_SSH2_MSG_CHANNEL_REQUEST;
+
+ $response = $this->_get_channel_packet(self::CHANNEL_EXEC);
+ if ($response === false) {
+ return false;
+ }
+
+ $this->channel_status[self::CHANNEL_EXEC] = NET_SSH2_MSG_CHANNEL_DATA;
+
+ if ($callback === false || $this->in_request_pty_exec) {
+ return true;
+ }
+
+ $output = '';
+ while (true) {
+ $temp = $this->_get_channel_packet(self::CHANNEL_EXEC);
+ switch (true) {
+ case $temp === true:
+ return is_callable($callback) ? true : $output;
+ case $temp === false:
+ return false;
+ default:
+ if (is_callable($callback)) {
+ if (call_user_func($callback, $temp) === true) {
+ $this->_close_channel(self::CHANNEL_EXEC);
+ return true;
+ }
+ } else {
+ $output.= $temp;
+ }
+ }
+ }
+ }
+
+ /**
+ * Creates an interactive shell
+ *
+ * @see self::read()
+ * @see self::write()
+ * @return bool
+ * @access private
+ */
+ function _initShell()
+ {
+ if ($this->in_request_pty_exec === true) {
+ return true;
+ }
+
+ $this->window_size_server_to_client[self::CHANNEL_SHELL] = $this->window_size;
+ $packet_size = 0x4000;
+
+ $packet = pack(
+ 'CNa*N3',
+ NET_SSH2_MSG_CHANNEL_OPEN,
+ strlen('session'),
+ 'session',
+ self::CHANNEL_SHELL,
+ $this->window_size_server_to_client[self::CHANNEL_SHELL],
+ $packet_size
+ );
+
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $this->channel_status[self::CHANNEL_SHELL] = NET_SSH2_MSG_CHANNEL_OPEN;
+
+ $response = $this->_get_channel_packet(self::CHANNEL_SHELL);
+ if ($response === false) {
+ return false;
+ }
+
+ $terminal_modes = pack('C', NET_SSH2_TTY_OP_END);
+ $packet = pack(
+ 'CNNa*CNa*N5a*',
+ NET_SSH2_MSG_CHANNEL_REQUEST,
+ $this->server_channels[self::CHANNEL_SHELL],
+ strlen('pty-req'),
+ 'pty-req',
+ 1,
+ strlen('vt100'),
+ 'vt100',
+ $this->windowColumns,
+ $this->windowRows,
+ 0,
+ 0,
+ strlen($terminal_modes),
+ $terminal_modes
+ );
+
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $response = $this->_get_binary_packet();
+ if ($response === false) {
+ user_error('Connection closed by server');
+ return false;
+ }
+
+ if (!strlen($response)) {
+ return false;
+ }
+ list(, $type) = unpack('C', $this->_string_shift($response, 1));
+
+ switch ($type) {
+ case NET_SSH2_MSG_CHANNEL_SUCCESS:
+ // if a pty can't be opened maybe commands can still be executed
+ case NET_SSH2_MSG_CHANNEL_FAILURE:
+ break;
+ default:
+ user_error('Unable to request pseudo-terminal');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION);
+ }
+
+ $packet = pack(
+ 'CNNa*C',
+ NET_SSH2_MSG_CHANNEL_REQUEST,
+ $this->server_channels[self::CHANNEL_SHELL],
+ strlen('shell'),
+ 'shell',
+ 1
+ );
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $this->channel_status[self::CHANNEL_SHELL] = NET_SSH2_MSG_CHANNEL_REQUEST;
+
+ $response = $this->_get_channel_packet(self::CHANNEL_SHELL);
+ if ($response === false) {
+ return false;
+ }
+
+ $this->channel_status[self::CHANNEL_SHELL] = NET_SSH2_MSG_CHANNEL_DATA;
+
+ $this->bitmap |= self::MASK_SHELL;
+
+ return true;
+ }
+
+ /**
+ * Return the channel to be used with read() / write()
+ *
+ * @see self::read()
+ * @see self::write()
+ * @return int
+ * @access public
+ */
+ function _get_interactive_channel()
+ {
+ switch (true) {
+ case $this->in_subsystem:
+ return self::CHANNEL_SUBSYSTEM;
+ case $this->in_request_pty_exec:
+ return self::CHANNEL_EXEC;
+ default:
+ return self::CHANNEL_SHELL;
+ }
+ }
+
+ /**
+ * Return an available open channel
+ *
+ * @return int
+ * @access public
+ */
+ function _get_open_channel()
+ {
+ $channel = self::CHANNEL_EXEC;
+ do {
+ if (isset($this->channel_status[$channel]) && $this->channel_status[$channel] == NET_SSH2_MSG_CHANNEL_OPEN) {
+ return $channel;
+ }
+ } while ($channel++ < self::CHANNEL_SUBSYSTEM);
+
+ return false;
+ }
+
+ /**
+ * Returns the output of an interactive shell
+ *
+ * Returns when there's a match for $expect, which can take the form of a string literal or,
+ * if $mode == self::READ_REGEX, a regular expression.
+ *
+ * @see self::write()
+ * @param string $expect
+ * @param int $mode
+ * @return string
+ * @access public
+ */
+ function read($expect = '', $mode = self::READ_SIMPLE)
+ {
+ $this->curTimeout = $this->timeout;
+ $this->is_timeout = false;
+
+ if (!$this->isAuthenticated()) {
+ user_error('Operation disallowed prior to login()');
+ return false;
+ }
+
+ if (!($this->bitmap & self::MASK_SHELL) && !$this->_initShell()) {
+ user_error('Unable to initiate an interactive shell session');
+ return false;
+ }
+
+ $channel = $this->_get_interactive_channel();
+
+ $match = $expect;
+ while (true) {
+ if ($mode == self::READ_REGEX) {
+ preg_match($expect, substr($this->interactiveBuffer, -1024), $matches);
+ $match = isset($matches[0]) ? $matches[0] : '';
+ }
+ $pos = strlen($match) ? strpos($this->interactiveBuffer, $match) : false;
+ if ($pos !== false) {
+ return $this->_string_shift($this->interactiveBuffer, $pos + strlen($match));
+ }
+ $response = $this->_get_channel_packet($channel);
+ if (is_bool($response)) {
+ $this->in_request_pty_exec = false;
+ return $response ? $this->_string_shift($this->interactiveBuffer, strlen($this->interactiveBuffer)) : false;
+ }
+
+ $this->interactiveBuffer.= $response;
+ }
+ }
+
+ /**
+ * Inputs a command into an interactive shell.
+ *
+ * @see self::read()
+ * @param string $cmd
+ * @return bool
+ * @access public
+ */
+ function write($cmd)
+ {
+ if (!$this->isAuthenticated()) {
+ user_error('Operation disallowed prior to login()');
+ return false;
+ }
+
+ if (!($this->bitmap & self::MASK_SHELL) && !$this->_initShell()) {
+ user_error('Unable to initiate an interactive shell session');
+ return false;
+ }
+
+ return $this->_send_channel_packet($this->_get_interactive_channel(), $cmd);
+ }
+
+ /**
+ * Start a subsystem.
+ *
+ * Right now only one subsystem at a time is supported. To support multiple subsystem's stopSubsystem() could accept
+ * a string that contained the name of the subsystem, but at that point, only one subsystem of each type could be opened.
+ * To support multiple subsystem's of the same name maybe it'd be best if startSubsystem() generated a new channel id and
+ * returns that and then that that was passed into stopSubsystem() but that'll be saved for a future date and implemented
+ * if there's sufficient demand for such a feature.
+ *
+ * @see self::stopSubsystem()
+ * @param string $subsystem
+ * @return bool
+ * @access public
+ */
+ function startSubsystem($subsystem)
+ {
+ $this->window_size_server_to_client[self::CHANNEL_SUBSYSTEM] = $this->window_size;
+
+ $packet = pack(
+ 'CNa*N3',
+ NET_SSH2_MSG_CHANNEL_OPEN,
+ strlen('session'),
+ 'session',
+ self::CHANNEL_SUBSYSTEM,
+ $this->window_size,
+ 0x4000
+ );
+
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $this->channel_status[self::CHANNEL_SUBSYSTEM] = NET_SSH2_MSG_CHANNEL_OPEN;
+
+ $response = $this->_get_channel_packet(self::CHANNEL_SUBSYSTEM);
+ if ($response === false) {
+ return false;
+ }
+
+ $packet = pack(
+ 'CNNa*CNa*',
+ NET_SSH2_MSG_CHANNEL_REQUEST,
+ $this->server_channels[self::CHANNEL_SUBSYSTEM],
+ strlen('subsystem'),
+ 'subsystem',
+ 1,
+ strlen($subsystem),
+ $subsystem
+ );
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $this->channel_status[self::CHANNEL_SUBSYSTEM] = NET_SSH2_MSG_CHANNEL_REQUEST;
+
+ $response = $this->_get_channel_packet(self::CHANNEL_SUBSYSTEM);
+
+ if ($response === false) {
+ return false;
+ }
+
+ $this->channel_status[self::CHANNEL_SUBSYSTEM] = NET_SSH2_MSG_CHANNEL_DATA;
+
+ $this->bitmap |= self::MASK_SHELL;
+ $this->in_subsystem = true;
+
+ return true;
+ }
+
+ /**
+ * Stops a subsystem.
+ *
+ * @see self::startSubsystem()
+ * @return bool
+ * @access public
+ */
+ function stopSubsystem()
+ {
+ $this->in_subsystem = false;
+ $this->_close_channel(self::CHANNEL_SUBSYSTEM);
+ return true;
+ }
+
+ /**
+ * Closes a channel
+ *
+ * If read() timed out you might want to just close the channel and have it auto-restart on the next read() call
+ *
+ * @access public
+ */
+ function reset()
+ {
+ $this->_close_channel($this->_get_interactive_channel());
+ }
+
+ /**
+ * Is timeout?
+ *
+ * Did exec() or read() return because they timed out or because they encountered the end?
+ *
+ * @access public
+ */
+ function isTimeout()
+ {
+ return $this->is_timeout;
+ }
+
+ /**
+ * Disconnect
+ *
+ * @access public
+ */
+ function disconnect()
+ {
+ $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION);
+ if (isset($this->realtime_log_file) && is_resource($this->realtime_log_file)) {
+ fclose($this->realtime_log_file);
+ }
+ }
+
+ /**
+ * Destructor.
+ *
+ * Will be called, automatically, if you're supporting just PHP5. If you're supporting PHP4, you'll need to call
+ * disconnect().
+ *
+ * @access public
+ */
+ function __destruct()
+ {
+ $this->disconnect();
+ }
+
+ /**
+ * Is the connection still active?
+ *
+ * @return bool
+ * @access public
+ */
+ function isConnected()
+ {
+ return (bool) ($this->bitmap & self::MASK_CONNECTED);
+ }
+
+ /**
+ * Have you successfully been logged in?
+ *
+ * @return bool
+ * @access public
+ */
+ function isAuthenticated()
+ {
+ return (bool) ($this->bitmap & self::MASK_LOGIN);
+ }
+
+ /**
+ * Gets Binary Packets
+ *
+ * See '6. Binary Packet Protocol' of rfc4253 for more info.
+ *
+ * @see self::_send_binary_packet()
+ * @return string
+ * @access private
+ */
+ function _get_binary_packet()
+ {
+ if (!is_resource($this->fsock) || feof($this->fsock)) {
+ user_error('Connection closed prematurely');
+ $this->bitmap = 0;
+ return false;
+ }
+
+ $start = microtime(true);
+ $raw = stream_get_contents($this->fsock, $this->decrypt_block_size);
+
+ if (!strlen($raw)) {
+ return '';
+ }
+
+ if ($this->decrypt !== false) {
+ $raw = $this->decrypt->decrypt($raw);
+ }
+ if ($raw === false) {
+ user_error('Unable to decrypt content');
+ return false;
+ }
+
+ if (strlen($raw) < 5) {
+ return false;
+ }
+ extract(unpack('Npacket_length/Cpadding_length', $this->_string_shift($raw, 5)));
+
+ $remaining_length = $packet_length + 4 - $this->decrypt_block_size;
+
+ // quoting <http://tools.ietf.org/html/rfc4253#section-6.1>,
+ // "implementations SHOULD check that the packet length is reasonable"
+ // PuTTY uses 0x9000 as the actual max packet size and so to shall we
+ if ($remaining_length < -$this->decrypt_block_size || $remaining_length > 0x9000 || $remaining_length % $this->decrypt_block_size != 0) {
+ user_error('Invalid size');
+ return false;
+ }
+
+ $buffer = '';
+ while ($remaining_length > 0) {
+ $temp = stream_get_contents($this->fsock, $remaining_length);
+ if ($temp === false || feof($this->fsock)) {
+ user_error('Error reading from socket');
+ $this->bitmap = 0;
+ return false;
+ }
+ $buffer.= $temp;
+ $remaining_length-= strlen($temp);
+ }
+ $stop = microtime(true);
+ if (strlen($buffer)) {
+ $raw.= $this->decrypt !== false ? $this->decrypt->decrypt($buffer) : $buffer;
+ }
+
+ $payload = $this->_string_shift($raw, $packet_length - $padding_length - 1);
+ $padding = $this->_string_shift($raw, $padding_length); // should leave $raw empty
+
+ if ($this->hmac_check !== false) {
+ $hmac = stream_get_contents($this->fsock, $this->hmac_size);
+ if ($hmac === false || strlen($hmac) != $this->hmac_size) {
+ user_error('Error reading socket');
+ $this->bitmap = 0;
+ return false;
+ } elseif ($hmac != $this->hmac_check->hash(pack('NNCa*', $this->get_seq_no, $packet_length, $padding_length, $payload . $padding))) {
+ user_error('Invalid HMAC');
+ return false;
+ }
+ }
+
+ //if ($this->decompress) {
+ // $payload = gzinflate(substr($payload, 2));
+ //}
+
+ $this->get_seq_no++;
+
+ if (defined('NET_SSH2_LOGGING')) {
+ $current = microtime(true);
+ $message_number = isset($this->message_numbers[ord($payload[0])]) ? $this->message_numbers[ord($payload[0])] : 'UNKNOWN (' . ord($payload[0]) . ')';
+ $message_number = '<- ' . $message_number .
+ ' (since last: ' . round($current - $this->last_packet, 4) . ', network: ' . round($stop - $start, 4) . 's)';
+ $this->_append_log($message_number, $payload);
+ $this->last_packet = $current;
+ }
+
+ return $this->_filter($payload);
+ }
+
+ /**
+ * Filter Binary Packets
+ *
+ * Because some binary packets need to be ignored...
+ *
+ * @see self::_get_binary_packet()
+ * @return string
+ * @access private
+ */
+ function _filter($payload)
+ {
+ switch (ord($payload[0])) {
+ case NET_SSH2_MSG_DISCONNECT:
+ $this->_string_shift($payload, 1);
+ if (strlen($payload) < 8) {
+ return false;
+ }
+ extract(unpack('Nreason_code/Nlength', $this->_string_shift($payload, 8)));
+ $this->errors[] = 'SSH_MSG_DISCONNECT: ' . $this->disconnect_reasons[$reason_code] . "\r\n" . utf8_decode($this->_string_shift($payload, $length));
+ $this->bitmap = 0;
+ return false;
+ case NET_SSH2_MSG_IGNORE:
+ $payload = $this->_get_binary_packet();
+ break;
+ case NET_SSH2_MSG_DEBUG:
+ $this->_string_shift($payload, 2);
+ if (strlen($payload) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($payload, 4)));
+ $this->errors[] = 'SSH_MSG_DEBUG: ' . utf8_decode($this->_string_shift($payload, $length));
+ $payload = $this->_get_binary_packet();
+ break;
+ case NET_SSH2_MSG_UNIMPLEMENTED:
+ return false;
+ case NET_SSH2_MSG_KEXINIT:
+ if ($this->session_id !== false) {
+ if (!$this->_key_exchange($payload)) {
+ $this->bitmap = 0;
+ return false;
+ }
+ $payload = $this->_get_binary_packet();
+ }
+ }
+
+ // see http://tools.ietf.org/html/rfc4252#section-5.4; only called when the encryption has been activated and when we haven't already logged in
+ if (($this->bitmap & self::MASK_CONNECTED) && !$this->isAuthenticated() && ord($payload[0]) == NET_SSH2_MSG_USERAUTH_BANNER) {
+ $this->_string_shift($payload, 1);
+ if (strlen($payload) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($payload, 4)));
+ $this->banner_message = utf8_decode($this->_string_shift($payload, $length));
+ $payload = $this->_get_binary_packet();
+ }
+
+ // only called when we've already logged in
+ if (($this->bitmap & self::MASK_CONNECTED) && $this->isAuthenticated()) {
+ switch (ord($payload[0])) {
+ case NET_SSH2_MSG_GLOBAL_REQUEST: // see http://tools.ietf.org/html/rfc4254#section-4
+ if (strlen($payload) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($payload, 4)));
+ $this->errors[] = 'SSH_MSG_GLOBAL_REQUEST: ' . $this->_string_shift($payload, $length);
+
+ if (!$this->_send_binary_packet(pack('C', NET_SSH2_MSG_REQUEST_FAILURE))) {
+ return $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION);
+ }
+
+ $payload = $this->_get_binary_packet();
+ break;
+ case NET_SSH2_MSG_CHANNEL_OPEN: // see http://tools.ietf.org/html/rfc4254#section-5.1
+ $this->_string_shift($payload, 1);
+ if (strlen($payload) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($payload, 4)));
+ $data = $this->_string_shift($payload, $length);
+ if (strlen($payload) < 4) {
+ return false;
+ }
+ extract(unpack('Nserver_channel', $this->_string_shift($payload, 4)));
+ switch ($data) {
+ case 'auth-agent':
+ case 'auth-agent@openssh.com':
+ if (isset($this->agent)) {
+ $new_channel = self::CHANNEL_AGENT_FORWARD;
+
+ if (strlen($payload) < 8) {
+ return false;
+ }
+ extract(unpack('Nremote_window_size', $this->_string_shift($payload, 4)));
+ extract(unpack('Nremote_maximum_packet_size', $this->_string_shift($payload, 4)));
+
+ $this->packet_size_client_to_server[$new_channel] = $remote_window_size;
+ $this->window_size_server_to_client[$new_channel] = $remote_maximum_packet_size;
+ $this->window_size_client_to_server[$new_channel] = $this->window_size;
+
+ $packet_size = 0x4000;
+
+ $packet = pack(
+ 'CN4',
+ NET_SSH2_MSG_CHANNEL_OPEN_CONFIRMATION,
+ $server_channel,
+ $new_channel,
+ $packet_size,
+ $packet_size
+ );
+
+ $this->server_channels[$new_channel] = $server_channel;
+ $this->channel_status[$new_channel] = NET_SSH2_MSG_CHANNEL_OPEN_CONFIRMATION;
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+ }
+ break;
+ default:
+ $packet = pack(
+ 'CN3a*Na*',
+ NET_SSH2_MSG_REQUEST_FAILURE,
+ $server_channel,
+ NET_SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED,
+ 0,
+ '',
+ 0,
+ ''
+ );
+
+ if (!$this->_send_binary_packet($packet)) {
+ return $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION);
+ }
+ }
+ $payload = $this->_get_binary_packet();
+ break;
+ case NET_SSH2_MSG_CHANNEL_WINDOW_ADJUST:
+ $this->_string_shift($payload, 1);
+ if (strlen($payload) < 8) {
+ return false;
+ }
+ extract(unpack('Nchannel', $this->_string_shift($payload, 4)));
+ extract(unpack('Nwindow_size', $this->_string_shift($payload, 4)));
+ $this->window_size_client_to_server[$channel]+= $window_size;
+
+ $payload = ($this->bitmap & self::MASK_WINDOW_ADJUST) ? true : $this->_get_binary_packet();
+ }
+ }
+
+ return $payload;
+ }
+
+ /**
+ * Enable Quiet Mode
+ *
+ * Suppress stderr from output
+ *
+ * @access public
+ */
+ function enableQuietMode()
+ {
+ $this->quiet_mode = true;
+ }
+
+ /**
+ * Disable Quiet Mode
+ *
+ * Show stderr in output
+ *
+ * @access public
+ */
+ function disableQuietMode()
+ {
+ $this->quiet_mode = false;
+ }
+
+ /**
+ * Returns whether Quiet Mode is enabled or not
+ *
+ * @see self::enableQuietMode()
+ * @see self::disableQuietMode()
+ * @access public
+ * @return bool
+ */
+ function isQuietModeEnabled()
+ {
+ return $this->quiet_mode;
+ }
+
+ /**
+ * Enable request-pty when using exec()
+ *
+ * @access public
+ */
+ function enablePTY()
+ {
+ $this->request_pty = true;
+ }
+
+ /**
+ * Disable request-pty when using exec()
+ *
+ * @access public
+ */
+ function disablePTY()
+ {
+ if ($this->in_request_pty_exec) {
+ $this->_close_channel(self::CHANNEL_EXEC);
+ $this->in_request_pty_exec = false;
+ }
+ $this->request_pty = false;
+ }
+
+ /**
+ * Returns whether request-pty is enabled or not
+ *
+ * @see self::enablePTY()
+ * @see self::disablePTY()
+ * @access public
+ * @return bool
+ */
+ function isPTYEnabled()
+ {
+ return $this->request_pty;
+ }
+
+ /**
+ * Gets channel data
+ *
+ * Returns the data as a string if it's available and false if not.
+ *
+ * @param $client_channel
+ * @return mixed
+ * @access private
+ */
+ function _get_channel_packet($client_channel, $skip_extended = false)
+ {
+ if (!empty($this->channel_buffers[$client_channel])) {
+ return array_shift($this->channel_buffers[$client_channel]);
+ }
+
+ while (true) {
+ if ($this->curTimeout) {
+ if ($this->curTimeout < 0) {
+ $this->is_timeout = true;
+ return true;
+ }
+
+ $read = array($this->fsock);
+ $write = $except = null;
+
+ $start = microtime(true);
+ $sec = floor($this->curTimeout);
+ $usec = 1000000 * ($this->curTimeout - $sec);
+ // on windows this returns a "Warning: Invalid CRT parameters detected" error
+ if (!@stream_select($read, $write, $except, $sec, $usec) && !count($read)) {
+ $this->is_timeout = true;
+ return true;
+ }
+ $elapsed = microtime(true) - $start;
+ $this->curTimeout-= $elapsed;
+ }
+
+ $response = $this->_get_binary_packet();
+ if ($response === false) {
+ user_error('Connection closed by server');
+ return false;
+ }
+ if ($client_channel == -1 && $response === true) {
+ return true;
+ }
+ if (!strlen($response)) {
+ return '';
+ }
+
+ if (!strlen($response)) {
+ return false;
+ }
+ extract(unpack('Ctype', $this->_string_shift($response, 1)));
+
+ if (strlen($response) < 4) {
+ return false;
+ }
+ if ($type == NET_SSH2_MSG_CHANNEL_OPEN) {
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ } else {
+ extract(unpack('Nchannel', $this->_string_shift($response, 4)));
+ }
+
+ // will not be setup yet on incoming channel open request
+ if (isset($channel) && isset($this->channel_status[$channel]) && isset($this->window_size_server_to_client[$channel])) {
+ $this->window_size_server_to_client[$channel]-= strlen($response);
+
+ // resize the window, if appropriate
+ if ($this->window_size_server_to_client[$channel] < 0) {
+ $packet = pack('CNN', NET_SSH2_MSG_CHANNEL_WINDOW_ADJUST, $this->server_channels[$channel], $this->window_size);
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+ $this->window_size_server_to_client[$channel]+= $this->window_size;
+ }
+
+ switch ($this->channel_status[$channel]) {
+ case NET_SSH2_MSG_CHANNEL_OPEN:
+ switch ($type) {
+ case NET_SSH2_MSG_CHANNEL_OPEN_CONFIRMATION:
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nserver_channel', $this->_string_shift($response, 4)));
+ $this->server_channels[$channel] = $server_channel;
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nwindow_size', $this->_string_shift($response, 4)));
+ if ($window_size < 0) {
+ $window_size&= 0x7FFFFFFF;
+ $window_size+= 0x80000000;
+ }
+ $this->window_size_client_to_server[$channel] = $window_size;
+ if (strlen($response) < 4) {
+ return false;
+ }
+ $temp = unpack('Npacket_size_client_to_server', $this->_string_shift($response, 4));
+ $this->packet_size_client_to_server[$channel] = $temp['packet_size_client_to_server'];
+ $result = $client_channel == $channel ? true : $this->_get_channel_packet($client_channel, $skip_extended);
+ $this->_on_channel_open();
+ return $result;
+ //case NET_SSH2_MSG_CHANNEL_OPEN_FAILURE:
+ default:
+ user_error('Unable to open channel');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION);
+ }
+ break;
+ case NET_SSH2_MSG_CHANNEL_REQUEST:
+ switch ($type) {
+ case NET_SSH2_MSG_CHANNEL_SUCCESS:
+ return true;
+ case NET_SSH2_MSG_CHANNEL_FAILURE:
+ return false;
+ default:
+ user_error('Unable to fulfill channel request');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION);
+ }
+ case NET_SSH2_MSG_CHANNEL_CLOSE:
+ return $type == NET_SSH2_MSG_CHANNEL_CLOSE ? true : $this->_get_channel_packet($client_channel, $skip_extended);
+ }
+ }
+
+ // ie. $this->channel_status[$channel] == NET_SSH2_MSG_CHANNEL_DATA
+
+ switch ($type) {
+ case NET_SSH2_MSG_CHANNEL_DATA:
+ /*
+ if ($channel == self::CHANNEL_EXEC) {
+ // SCP requires null packets, such as this, be sent. further, in the case of the ssh.com SSH server
+ // this actually seems to make things twice as fast. more to the point, the message right after
+ // SSH_MSG_CHANNEL_DATA (usually SSH_MSG_IGNORE) won't block for as long as it would have otherwise.
+ // in OpenSSH it slows things down but only by a couple thousandths of a second.
+ $this->_send_channel_packet($channel, chr(0));
+ }
+ */
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ $data = $this->_string_shift($response, $length);
+
+ if ($channel == self::CHANNEL_AGENT_FORWARD) {
+ $agent_response = $this->agent->_forward_data($data);
+ if (!is_bool($agent_response)) {
+ $this->_send_channel_packet($channel, $agent_response);
+ }
+ break;
+ }
+
+ if ($client_channel == $channel) {
+ return $data;
+ }
+ if (!isset($this->channel_buffers[$channel])) {
+ $this->channel_buffers[$channel] = array();
+ }
+ $this->channel_buffers[$channel][] = $data;
+ break;
+ case NET_SSH2_MSG_CHANNEL_EXTENDED_DATA:
+ /*
+ if ($client_channel == self::CHANNEL_EXEC) {
+ $this->_send_channel_packet($client_channel, chr(0));
+ }
+ */
+ // currently, there's only one possible value for $data_type_code: NET_SSH2_EXTENDED_DATA_STDERR
+ if (strlen($response) < 8) {
+ return false;
+ }
+ extract(unpack('Ndata_type_code/Nlength', $this->_string_shift($response, 8)));
+ $data = $this->_string_shift($response, $length);
+ $this->stdErrorLog.= $data;
+ if ($skip_extended || $this->quiet_mode) {
+ break;
+ }
+ if ($client_channel == $channel) {
+ return $data;
+ }
+ if (!isset($this->channel_buffers[$channel])) {
+ $this->channel_buffers[$channel] = array();
+ }
+ $this->channel_buffers[$channel][] = $data;
+ break;
+ case NET_SSH2_MSG_CHANNEL_REQUEST:
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ $value = $this->_string_shift($response, $length);
+ switch ($value) {
+ case 'exit-signal':
+ $this->_string_shift($response, 1);
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ $this->errors[] = 'SSH_MSG_CHANNEL_REQUEST (exit-signal): ' . $this->_string_shift($response, $length);
+ $this->_string_shift($response, 1);
+ if (strlen($response) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($response, 4)));
+ if ($length) {
+ $this->errors[count($this->errors)].= "\r\n" . $this->_string_shift($response, $length);
+ }
+
+ $this->_send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_EOF, $this->server_channels[$client_channel]));
+ $this->_send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_CLOSE, $this->server_channels[$channel]));
+
+ $this->channel_status[$channel] = NET_SSH2_MSG_CHANNEL_EOF;
+
+ break;
+ case 'exit-status':
+ if (strlen($response) < 5) {
+ return false;
+ }
+ extract(unpack('Cfalse/Nexit_status', $this->_string_shift($response, 5)));
+ $this->exit_status = $exit_status;
+
+ // "The client MAY ignore these messages."
+ // -- http://tools.ietf.org/html/rfc4254#section-6.10
+
+ break;
+ default:
+ // "Some systems may not implement signals, in which case they SHOULD ignore this message."
+ // -- http://tools.ietf.org/html/rfc4254#section-6.9
+ break;
+ }
+ break;
+ case NET_SSH2_MSG_CHANNEL_CLOSE:
+ $this->curTimeout = 0;
+
+ if ($this->bitmap & self::MASK_SHELL) {
+ $this->bitmap&= ~self::MASK_SHELL;
+ }
+ if ($this->channel_status[$channel] != NET_SSH2_MSG_CHANNEL_EOF) {
+ $this->_send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_CLOSE, $this->server_channels[$channel]));
+ }
+
+ $this->channel_status[$channel] = NET_SSH2_MSG_CHANNEL_CLOSE;
+ if ($client_channel == $channel) {
+ return true;
+ }
+ case NET_SSH2_MSG_CHANNEL_EOF:
+ break;
+ default:
+ user_error('Error reading channel data');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION);
+ }
+ }
+ }
+
+ /**
+ * Sends Binary Packets
+ *
+ * See '6. Binary Packet Protocol' of rfc4253 for more info.
+ *
+ * @param string $data
+ * @param string $logged
+ * @see self::_get_binary_packet()
+ * @return bool
+ * @access private
+ */
+ function _send_binary_packet($data, $logged = null)
+ {
+ if (!is_resource($this->fsock) || feof($this->fsock)) {
+ user_error('Connection closed prematurely');
+ $this->bitmap = 0;
+ return false;
+ }
+
+ //if ($this->compress) {
+ // // the -4 removes the checksum:
+ // // http://php.net/function.gzcompress#57710
+ // $data = substr(gzcompress($data), 0, -4);
+ //}
+
+ // 4 (packet length) + 1 (padding length) + 4 (minimal padding amount) == 9
+ $packet_length = strlen($data) + 9;
+ // round up to the nearest $this->encrypt_block_size
+ $packet_length+= (($this->encrypt_block_size - 1) * $packet_length) % $this->encrypt_block_size;
+ // subtracting strlen($data) is obvious - subtracting 5 is necessary because of packet_length and padding_length
+ $padding_length = $packet_length - strlen($data) - 5;
+ $padding = Random::string($padding_length);
+
+ // we subtract 4 from packet_length because the packet_length field isn't supposed to include itself
+ $packet = pack('NCa*', $packet_length - 4, $padding_length, $data . $padding);
+
+ $hmac = $this->hmac_create !== false ? $this->hmac_create->hash(pack('Na*', $this->send_seq_no, $packet)) : '';
+ $this->send_seq_no++;
+
+ if ($this->encrypt !== false) {
+ $packet = $this->encrypt->encrypt($packet);
+ }
+
+ $packet.= $hmac;
+
+ $start = microtime(true);
+ $result = strlen($packet) == fputs($this->fsock, $packet);
+ $stop = microtime(true);
+
+ if (defined('NET_SSH2_LOGGING')) {
+ $current = microtime(true);
+ $message_number = isset($this->message_numbers[ord($data[0])]) ? $this->message_numbers[ord($data[0])] : 'UNKNOWN (' . ord($data[0]) . ')';
+ $message_number = '-> ' . $message_number .
+ ' (since last: ' . round($current - $this->last_packet, 4) . ', network: ' . round($stop - $start, 4) . 's)';
+ $this->_append_log($message_number, isset($logged) ? $logged : $data);
+ $this->last_packet = $current;
+ }
+
+ return $result;
+ }
+
+ /**
+ * Logs data packets
+ *
+ * Makes sure that only the last 1MB worth of packets will be logged
+ *
+ * @param string $data
+ * @access private
+ */
+ function _append_log($message_number, $message)
+ {
+ // remove the byte identifying the message type from all but the first two messages (ie. the identification strings)
+ if (strlen($message_number) > 2) {
+ $this->_string_shift($message);
+ }
+
+ switch (NET_SSH2_LOGGING) {
+ // useful for benchmarks
+ case self::LOG_SIMPLE:
+ $this->message_number_log[] = $message_number;
+ break;
+ // the most useful log for SSH2
+ case self::LOG_COMPLEX:
+ $this->message_number_log[] = $message_number;
+ $this->log_size+= strlen($message);
+ $this->message_log[] = $message;
+ while ($this->log_size > self::LOG_MAX_SIZE) {
+ $this->log_size-= strlen(array_shift($this->message_log));
+ array_shift($this->message_number_log);
+ }
+ break;
+ // dump the output out realtime; packets may be interspersed with non packets,
+ // passwords won't be filtered out and select other packets may not be correctly
+ // identified
+ case self::LOG_REALTIME:
+ switch (PHP_SAPI) {
+ case 'cli':
+ $start = $stop = "\r\n";
+ break;
+ default:
+ $start = '<pre>';
+ $stop = '</pre>';
+ }
+ echo $start . $this->_format_log(array($message), array($message_number)) . $stop;
+ @flush();
+ @ob_flush();
+ break;
+ // basically the same thing as self::LOG_REALTIME with the caveat that self::LOG_REALTIME_FILE
+ // needs to be defined and that the resultant log file will be capped out at self::LOG_MAX_SIZE.
+ // the earliest part of the log file is denoted by the first <<< START >>> and is not going to necessarily
+ // at the beginning of the file
+ case self::LOG_REALTIME_FILE:
+ if (!isset($this->realtime_log_file)) {
+ // PHP doesn't seem to like using constants in fopen()
+ $filename = self::LOG_REALTIME_FILENAME;
+ $fp = fopen($filename, 'w');
+ $this->realtime_log_file = $fp;
+ }
+ if (!is_resource($this->realtime_log_file)) {
+ break;
+ }
+ $entry = $this->_format_log(array($message), array($message_number));
+ if ($this->realtime_log_wrap) {
+ $temp = "<<< START >>>\r\n";
+ $entry.= $temp;
+ fseek($this->realtime_log_file, ftell($this->realtime_log_file) - strlen($temp));
+ }
+ $this->realtime_log_size+= strlen($entry);
+ if ($this->realtime_log_size > self::LOG_MAX_SIZE) {
+ fseek($this->realtime_log_file, 0);
+ $this->realtime_log_size = strlen($entry);
+ $this->realtime_log_wrap = true;
+ }
+ fputs($this->realtime_log_file, $entry);
+ }
+ }
+
+ /**
+ * Sends channel data
+ *
+ * Spans multiple SSH_MSG_CHANNEL_DATAs if appropriate
+ *
+ * @param int $client_channel
+ * @param string $data
+ * @return bool
+ * @access private
+ */
+ function _send_channel_packet($client_channel, $data)
+ {
+ while (strlen($data)) {
+ if (!$this->window_size_client_to_server[$client_channel]) {
+ $this->bitmap^= self::MASK_WINDOW_ADJUST;
+ // using an invalid channel will let the buffers be built up for the valid channels
+ $this->_get_channel_packet(-1);
+ $this->bitmap^= self::MASK_WINDOW_ADJUST;
+ }
+
+ /* The maximum amount of data allowed is determined by the maximum
+ packet size for the channel, and the current window size, whichever
+ is smaller.
+ -- http://tools.ietf.org/html/rfc4254#section-5.2 */
+ $max_size = min(
+ $this->packet_size_client_to_server[$client_channel],
+ $this->window_size_client_to_server[$client_channel]
+ );
+
+ $temp = $this->_string_shift($data, $max_size);
+ $packet = pack(
+ 'CN2a*',
+ NET_SSH2_MSG_CHANNEL_DATA,
+ $this->server_channels[$client_channel],
+ strlen($temp),
+ $temp
+ );
+ $this->window_size_client_to_server[$client_channel]-= strlen($temp);
+ if (!$this->_send_binary_packet($packet)) {
+ return false;
+ }
+ }
+
+ return true;
+ }
+
+ /**
+ * Closes and flushes a channel
+ *
+ * \phpseclib\Net\SSH2 doesn't properly close most channels. For exec() channels are normally closed by the server
+ * and for SFTP channels are presumably closed when the client disconnects. This functions is intended
+ * for SCP more than anything.
+ *
+ * @param int $client_channel
+ * @param bool $want_reply
+ * @return bool
+ * @access private
+ */
+ function _close_channel($client_channel, $want_reply = false)
+ {
+ // see http://tools.ietf.org/html/rfc4254#section-5.3
+
+ $this->_send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_EOF, $this->server_channels[$client_channel]));
+
+ if (!$want_reply) {
+ $this->_send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_CLOSE, $this->server_channels[$client_channel]));
+ }
+
+ $this->channel_status[$client_channel] = NET_SSH2_MSG_CHANNEL_CLOSE;
+
+ $this->curTimeout = 0;
+
+ while (!is_bool($this->_get_channel_packet($client_channel))) {
+ }
+
+ if ($want_reply) {
+ $this->_send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_CLOSE, $this->server_channels[$client_channel]));
+ }
+
+ if ($this->bitmap & self::MASK_SHELL) {
+ $this->bitmap&= ~self::MASK_SHELL;
+ }
+ }
+
+ /**
+ * Disconnect
+ *
+ * @param int $reason
+ * @return bool
+ * @access private
+ */
+ function _disconnect($reason)
+ {
+ if ($this->bitmap & self::MASK_CONNECTED) {
+ $data = pack('CNNa*Na*', NET_SSH2_MSG_DISCONNECT, $reason, 0, '', 0, '');
+ $this->_send_binary_packet($data);
+ $this->bitmap = 0;
+ fclose($this->fsock);
+ return false;
+ }
+ }
+
+ /**
+ * String Shift
+ *
+ * Inspired by array_shift
+ *
+ * @param string $string
+ * @param int $index
+ * @return string
+ * @access private
+ */
+ function _string_shift(&$string, $index = 1)
+ {
+ $substr = substr($string, 0, $index);
+ $string = substr($string, $index);
+ return $substr;
+ }
+
+ /**
+ * Define Array
+ *
+ * Takes any number of arrays whose indices are integers and whose values are strings and defines a bunch of
+ * named constants from it, using the value as the name of the constant and the index as the value of the constant.
+ * If any of the constants that would be defined already exists, none of the constants will be defined.
+ *
+ * @param array $array
+ * @access private
+ */
+ function _define_array()
+ {
+ $args = func_get_args();
+ foreach ($args as $arg) {
+ foreach ($arg as $key => $value) {
+ if (!defined($value)) {
+ define($value, $key);
+ } else {
+ break 2;
+ }
+ }
+ }
+ }
+
+ /**
+ * Returns a log of the packets that have been sent and received.
+ *
+ * Returns a string if NET_SSH2_LOGGING == self::LOG_COMPLEX, an array if NET_SSH2_LOGGING == self::LOG_SIMPLE and false if !defined('NET_SSH2_LOGGING')
+ *
+ * @access public
+ * @return array|false|string
+ */
+ function getLog()
+ {
+ if (!defined('NET_SSH2_LOGGING')) {
+ return false;
+ }
+
+ switch (NET_SSH2_LOGGING) {
+ case self::LOG_SIMPLE:
+ return $this->message_number_log;
+ case self::LOG_COMPLEX:
+ $log = $this->_format_log($this->message_log, $this->message_number_log);
+ return PHP_SAPI == 'cli' ? $log : '<pre>' . $log . '</pre>';
+ default:
+ return false;
+ }
+ }
+
+ /**
+ * Formats a log for printing
+ *
+ * @param array $message_log
+ * @param array $message_number_log
+ * @access private
+ * @return string
+ */
+ function _format_log($message_log, $message_number_log)
+ {
+ $output = '';
+ for ($i = 0; $i < count($message_log); $i++) {
+ $output.= $message_number_log[$i] . "\r\n";
+ $current_log = $message_log[$i];
+ $j = 0;
+ do {
+ if (strlen($current_log)) {
+ $output.= str_pad(dechex($j), 7, '0', STR_PAD_LEFT) . '0 ';
+ }
+ $fragment = $this->_string_shift($current_log, $this->log_short_width);
+ $hex = substr(preg_replace_callback('#.#s', array($this, '_format_log_helper'), $fragment), strlen($this->log_boundary));
+ // replace non ASCII printable characters with dots
+ // http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters
+ // also replace < with a . since < messes up the output on web browsers
+ $raw = preg_replace('#[^\x20-\x7E]|<#', '.', $fragment);
+ $output.= str_pad($hex, $this->log_long_width - $this->log_short_width, ' ') . $raw . "\r\n";
+ $j++;
+ } while (strlen($current_log));
+ $output.= "\r\n";
+ }
+
+ return $output;
+ }
+
+ /**
+ * Helper function for _format_log
+ *
+ * For use with preg_replace_callback()
+ *
+ * @param array $matches
+ * @access private
+ * @return string
+ */
+ function _format_log_helper($matches)
+ {
+ return $this->log_boundary . str_pad(dechex(ord($matches[0])), 2, '0', STR_PAD_LEFT);
+ }
+
+ /**
+ * Helper function for agent->_on_channel_open()
+ *
+ * Used when channels are created to inform agent
+ * of said channel opening. Must be called after
+ * channel open confirmation received
+ *
+ * @access private
+ */
+ function _on_channel_open()
+ {
+ if (isset($this->agent)) {
+ $this->agent->_on_channel_open($this);
+ }
+ }
+
+ /**
+ * Returns the first value of the intersection of two arrays or false if
+ * the intersection is empty. The order is defined by the first parameter.
+ *
+ * @param array $array1
+ * @param array $array2
+ * @return mixed False if intersection is empty, else intersected value.
+ * @access private
+ */
+ function _array_intersect_first($array1, $array2)
+ {
+ foreach ($array1 as $value) {
+ if (in_array($value, $array2)) {
+ return $value;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Returns all errors
+ *
+ * @return string[]
+ * @access public
+ */
+ function getErrors()
+ {
+ return $this->errors;
+ }
+
+ /**
+ * Returns the last error
+ *
+ * @return string
+ * @access public
+ */
+ function getLastError()
+ {
+ $count = count($this->errors);
+
+ if ($count > 0) {
+ return $this->errors[$count - 1];
+ }
+ }
+
+ /**
+ * Return the server identification.
+ *
+ * @return string
+ * @access public
+ */
+ function getServerIdentification()
+ {
+ $this->_connect();
+
+ return $this->server_identifier;
+ }
+
+ /**
+ * Return a list of the key exchange algorithms the server supports.
+ *
+ * @return array
+ * @access public
+ */
+ function getKexAlgorithms()
+ {
+ $this->_connect();
+
+ return $this->kex_algorithms;
+ }
+
+ /**
+ * Return a list of the host key (public key) algorithms the server supports.
+ *
+ * @return array
+ * @access public
+ */
+ function getServerHostKeyAlgorithms()
+ {
+ $this->_connect();
+
+ return $this->server_host_key_algorithms;
+ }
+
+ /**
+ * Return a list of the (symmetric key) encryption algorithms the server supports, when receiving stuff from the client.
+ *
+ * @return array
+ * @access public
+ */
+ function getEncryptionAlgorithmsClient2Server()
+ {
+ $this->_connect();
+
+ return $this->encryption_algorithms_client_to_server;
+ }
+
+ /**
+ * Return a list of the (symmetric key) encryption algorithms the server supports, when sending stuff to the client.
+ *
+ * @return array
+ * @access public
+ */
+ function getEncryptionAlgorithmsServer2Client()
+ {
+ $this->_connect();
+
+ return $this->encryption_algorithms_server_to_client;
+ }
+
+ /**
+ * Return a list of the MAC algorithms the server supports, when receiving stuff from the client.
+ *
+ * @return array
+ * @access public
+ */
+ function getMACAlgorithmsClient2Server()
+ {
+ $this->_connect();
+
+ return $this->mac_algorithms_client_to_server;
+ }
+
+ /**
+ * Return a list of the MAC algorithms the server supports, when sending stuff to the client.
+ *
+ * @return array
+ * @access public
+ */
+ function getMACAlgorithmsServer2Client()
+ {
+ $this->_connect();
+
+ return $this->mac_algorithms_server_to_client;
+ }
+
+ /**
+ * Return a list of the compression algorithms the server supports, when receiving stuff from the client.
+ *
+ * @return array
+ * @access public
+ */
+ function getCompressionAlgorithmsClient2Server()
+ {
+ $this->_connect();
+
+ return $this->compression_algorithms_client_to_server;
+ }
+
+ /**
+ * Return a list of the compression algorithms the server supports, when sending stuff to the client.
+ *
+ * @return array
+ * @access public
+ */
+ function getCompressionAlgorithmsServer2Client()
+ {
+ $this->_connect();
+
+ return $this->compression_algorithms_server_to_client;
+ }
+
+ /**
+ * Return a list of the languages the server supports, when sending stuff to the client.
+ *
+ * @return array
+ * @access public
+ */
+ function getLanguagesServer2Client()
+ {
+ $this->_connect();
+
+ return $this->languages_server_to_client;
+ }
+
+ /**
+ * Return a list of the languages the server supports, when receiving stuff from the client.
+ *
+ * @return array
+ * @access public
+ */
+ function getLanguagesClient2Server()
+ {
+ $this->_connect();
+
+ return $this->languages_client_to_server;
+ }
+
+ /**
+ * Returns the banner message.
+ *
+ * Quoting from the RFC, "in some jurisdictions, sending a warning message before
+ * authentication may be relevant for getting legal protection."
+ *
+ * @return string
+ * @access public
+ */
+ function getBannerMessage()
+ {
+ return $this->banner_message;
+ }
+
+ /**
+ * Returns the server public host key.
+ *
+ * Caching this the first time you connect to a server and checking the result on subsequent connections
+ * is recommended. Returns false if the server signature is not signed correctly with the public host key.
+ *
+ * @return mixed
+ * @access public
+ */
+ function getServerPublicHostKey()
+ {
+ if (!($this->bitmap & self::MASK_CONSTRUCTOR)) {
+ if (!$this->_connect()) {
+ return false;
+ }
+ }
+
+ $signature = $this->signature;
+ $server_public_host_key = $this->server_public_host_key;
+
+ if (strlen($server_public_host_key) < 4) {
+ return false;
+ }
+ extract(unpack('Nlength', $this->_string_shift($server_public_host_key, 4)));
+ $this->_string_shift($server_public_host_key, $length);
+
+ if ($this->signature_validated) {
+ return $this->bitmap ?
+ $this->signature_format . ' ' . base64_encode($this->server_public_host_key) :
+ false;
+ }
+
+ $this->signature_validated = true;
+
+ switch ($this->signature_format) {
+ case 'ssh-dss':
+ $zero = new BigInteger();
+
+ if (strlen($server_public_host_key) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4));
+ $p = new BigInteger($this->_string_shift($server_public_host_key, $temp['length']), -256);
+
+ if (strlen($server_public_host_key) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4));
+ $q = new BigInteger($this->_string_shift($server_public_host_key, $temp['length']), -256);
+
+ if (strlen($server_public_host_key) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4));
+ $g = new BigInteger($this->_string_shift($server_public_host_key, $temp['length']), -256);
+
+ if (strlen($server_public_host_key) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4));
+ $y = new BigInteger($this->_string_shift($server_public_host_key, $temp['length']), -256);
+
+ /* The value for 'dss_signature_blob' is encoded as a string containing
+ r, followed by s (which are 160-bit integers, without lengths or
+ padding, unsigned, and in network byte order). */
+ $temp = unpack('Nlength', $this->_string_shift($signature, 4));
+ if ($temp['length'] != 40) {
+ user_error('Invalid signature');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED);
+ }
+
+ $r = new BigInteger($this->_string_shift($signature, 20), 256);
+ $s = new BigInteger($this->_string_shift($signature, 20), 256);
+
+ switch (true) {
+ case $r->equals($zero):
+ case $r->compare($q) >= 0:
+ case $s->equals($zero):
+ case $s->compare($q) >= 0:
+ user_error('Invalid signature');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED);
+ }
+
+ $w = $s->modInverse($q);
+
+ $u1 = $w->multiply(new BigInteger(sha1($this->exchange_hash), 16));
+ list(, $u1) = $u1->divide($q);
+
+ $u2 = $w->multiply($r);
+ list(, $u2) = $u2->divide($q);
+
+ $g = $g->modPow($u1, $p);
+ $y = $y->modPow($u2, $p);
+
+ $v = $g->multiply($y);
+ list(, $v) = $v->divide($p);
+ list(, $v) = $v->divide($q);
+
+ if (!$v->equals($r)) {
+ user_error('Bad server signature');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_HOST_KEY_NOT_VERIFIABLE);
+ }
+
+ break;
+ case 'ssh-rsa':
+ if (strlen($server_public_host_key) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4));
+ $e = new BigInteger($this->_string_shift($server_public_host_key, $temp['length']), -256);
+
+ if (strlen($server_public_host_key) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4));
+ $rawN = $this->_string_shift($server_public_host_key, $temp['length']);
+ $n = new BigInteger($rawN, -256);
+ $nLength = strlen(ltrim($rawN, "\0"));
+
+ /*
+ if (strlen($signature) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($signature, 4));
+ $signature = $this->_string_shift($signature, $temp['length']);
+
+ $rsa = new RSA();
+ $rsa->setSignatureMode(RSA::SIGNATURE_PKCS1);
+ $rsa->loadKey(array('e' => $e, 'n' => $n), RSA::PUBLIC_FORMAT_RAW);
+ if (!$rsa->verify($this->exchange_hash, $signature)) {
+ user_error('Bad server signature');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_HOST_KEY_NOT_VERIFIABLE);
+ }
+ */
+
+ if (strlen($signature) < 4) {
+ return false;
+ }
+ $temp = unpack('Nlength', $this->_string_shift($signature, 4));
+ $s = new BigInteger($this->_string_shift($signature, $temp['length']), 256);
+
+ // validate an RSA signature per "8.2 RSASSA-PKCS1-v1_5", "5.2.2 RSAVP1", and "9.1 EMSA-PSS" in the
+ // following URL:
+ // ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-1/pkcs-1v2-1.pdf
+
+ // also, see SSHRSA.c (rsa2_verifysig) in PuTTy's source.
+
+ if ($s->compare(new BigInteger()) < 0 || $s->compare($n->subtract(new BigInteger(1))) > 0) {
+ user_error('Invalid signature');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED);
+ }
+
+ $s = $s->modPow($e, $n);
+ $s = $s->toBytes();
+
+ $h = pack('N4H*', 0x00302130, 0x0906052B, 0x0E03021A, 0x05000414, sha1($this->exchange_hash));
+ $h = chr(0x01) . str_repeat(chr(0xFF), $nLength - 2 - strlen($h)) . $h;
+
+ if ($s != $h) {
+ user_error('Bad server signature');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_HOST_KEY_NOT_VERIFIABLE);
+ }
+ break;
+ default:
+ user_error('Unsupported signature format');
+ return $this->_disconnect(NET_SSH2_DISCONNECT_HOST_KEY_NOT_VERIFIABLE);
+ }
+
+ return $this->signature_format . ' ' . base64_encode($this->server_public_host_key);
+ }
+
+ /**
+ * Returns the exit status of an SSH command or false.
+ *
+ * @return false|int
+ * @access public
+ */
+ function getExitStatus()
+ {
+ if (is_null($this->exit_status)) {
+ return false;
+ }
+ return $this->exit_status;
+ }
+
+ /**
+ * Returns the number of columns for the terminal window size.
+ *
+ * @return int
+ * @access public
+ */
+ function getWindowColumns()
+ {
+ return $this->windowColumns;
+ }
+
+ /**
+ * Returns the number of rows for the terminal window size.
+ *
+ * @return int
+ * @access public
+ */
+ function getWindowRows()
+ {
+ return $this->windowRows;
+ }
+
+ /**
+ * Sets the number of columns for the terminal window size.
+ *
+ * @param int $value
+ * @access public
+ */
+ function setWindowColumns($value)
+ {
+ $this->windowColumns = $value;
+ }
+
+ /**
+ * Sets the number of rows for the terminal window size.
+ *
+ * @param int $value
+ * @access public
+ */
+ function setWindowRows($value)
+ {
+ $this->windowRows = $value;
+ }
+
+ /**
+ * Sets the number of columns and rows for the terminal window size.
+ *
+ * @param int $columns
+ * @param int $rows
+ * @access public
+ */
+ function setWindowSize($columns = 80, $rows = 24)
+ {
+ $this->windowColumns = $columns;
+ $this->windowRows = $rows;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/System/SSH/Agent.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/System/SSH/Agent.php
new file mode 100644
index 00000000..a4ff0549
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/System/SSH/Agent.php
@@ -0,0 +1,308 @@
+<?php
+
+/**
+ * Pure-PHP ssh-agent client.
+ *
+ * PHP version 5
+ *
+ * Here are some examples of how to use this library:
+ * <code>
+ * <?php
+ * include 'vendor/autoload.php';
+ *
+ * $agent = new \phpseclib\System\SSH\Agent();
+ *
+ * $ssh = new \phpseclib\Net\SSH2('www.domain.tld');
+ * if (!$ssh->login('username', $agent)) {
+ * exit('Login Failed');
+ * }
+ *
+ * echo $ssh->exec('pwd');
+ * echo $ssh->exec('ls -la');
+ * ?>
+ * </code>
+ *
+ * @category System
+ * @package SSH\Agent
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2014 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ * @internal See http://api.libssh.org/rfc/PROTOCOL.agent
+ */
+
+namespace phpseclib\System\SSH;
+
+use phpseclib\Crypt\RSA;
+use phpseclib\System\SSH\Agent\Identity;
+
+/**
+ * Pure-PHP ssh-agent client identity factory
+ *
+ * requestIdentities() method pumps out \phpseclib\System\SSH\Agent\Identity objects
+ *
+ * @package SSH\Agent
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access internal
+ */
+class Agent
+{
+ /**#@+
+ * Message numbers
+ *
+ * @access private
+ */
+ // to request SSH1 keys you have to use SSH_AGENTC_REQUEST_RSA_IDENTITIES (1)
+ const SSH_AGENTC_REQUEST_IDENTITIES = 11;
+ // this is the SSH2 response; the SSH1 response is SSH_AGENT_RSA_IDENTITIES_ANSWER (2).
+ const SSH_AGENT_IDENTITIES_ANSWER = 12;
+ // the SSH1 request is SSH_AGENTC_RSA_CHALLENGE (3)
+ const SSH_AGENTC_SIGN_REQUEST = 13;
+ // the SSH1 response is SSH_AGENT_RSA_RESPONSE (4)
+ const SSH_AGENT_SIGN_RESPONSE = 14;
+ /**#@-*/
+
+ /**@+
+ * Agent forwarding status
+ *
+ * @access private
+ */
+ // no forwarding requested and not active
+ const FORWARD_NONE = 0;
+ // request agent forwarding when opportune
+ const FORWARD_REQUEST = 1;
+ // forwarding has been request and is active
+ const FORWARD_ACTIVE = 2;
+ /**#@-*/
+
+ /**
+ * Unused
+ */
+ const SSH_AGENT_FAILURE = 5;
+
+ /**
+ * Socket Resource
+ *
+ * @var resource
+ * @access private
+ */
+ var $fsock;
+
+ /**
+ * Agent forwarding status
+ *
+ * @access private
+ */
+ var $forward_status = self::FORWARD_NONE;
+
+ /**
+ * Buffer for accumulating forwarded authentication
+ * agent data arriving on SSH data channel destined
+ * for agent unix socket
+ *
+ * @access private
+ */
+ var $socket_buffer = '';
+
+ /**
+ * Tracking the number of bytes we are expecting
+ * to arrive for the agent socket on the SSH data
+ * channel
+ */
+ var $expected_bytes = 0;
+
+ /**
+ * Default Constructor
+ *
+ * @return \phpseclib\System\SSH\Agent
+ * @access public
+ */
+ function __construct()
+ {
+ switch (true) {
+ case isset($_SERVER['SSH_AUTH_SOCK']):
+ $address = $_SERVER['SSH_AUTH_SOCK'];
+ break;
+ case isset($_ENV['SSH_AUTH_SOCK']):
+ $address = $_ENV['SSH_AUTH_SOCK'];
+ break;
+ default:
+ user_error('SSH_AUTH_SOCK not found');
+ return false;
+ }
+
+ $this->fsock = fsockopen('unix://' . $address, 0, $errno, $errstr);
+ if (!$this->fsock) {
+ user_error("Unable to connect to ssh-agent (Error $errno: $errstr)");
+ }
+ }
+
+ /**
+ * Request Identities
+ *
+ * See "2.5.2 Requesting a list of protocol 2 keys"
+ * Returns an array containing zero or more \phpseclib\System\SSH\Agent\Identity objects
+ *
+ * @return array
+ * @access public
+ */
+ function requestIdentities()
+ {
+ if (!$this->fsock) {
+ return array();
+ }
+
+ $packet = pack('NC', 1, self::SSH_AGENTC_REQUEST_IDENTITIES);
+ if (strlen($packet) != fputs($this->fsock, $packet)) {
+ user_error('Connection closed while requesting identities');
+ }
+
+ $length = current(unpack('N', fread($this->fsock, 4)));
+ $type = ord(fread($this->fsock, 1));
+ if ($type != self::SSH_AGENT_IDENTITIES_ANSWER) {
+ user_error('Unable to request identities');
+ }
+
+ $identities = array();
+ $keyCount = current(unpack('N', fread($this->fsock, 4)));
+ for ($i = 0; $i < $keyCount; $i++) {
+ $length = current(unpack('N', fread($this->fsock, 4)));
+ $key_blob = fread($this->fsock, $length);
+ $key_str = 'ssh-rsa ' . base64_encode($key_blob);
+ $length = current(unpack('N', fread($this->fsock, 4)));
+ if ($length) {
+ $key_str.= ' ' . fread($this->fsock, $length);
+ }
+ $length = current(unpack('N', substr($key_blob, 0, 4)));
+ $key_type = substr($key_blob, 4, $length);
+ switch ($key_type) {
+ case 'ssh-rsa':
+ $key = new RSA();
+ $key->loadKey($key_str);
+ break;
+ case 'ssh-dss':
+ // not currently supported
+ break;
+ }
+ // resources are passed by reference by default
+ if (isset($key)) {
+ $identity = new Identity($this->fsock);
+ $identity->setPublicKey($key);
+ $identity->setPublicKeyBlob($key_blob);
+ $identities[] = $identity;
+ unset($key);
+ }
+ }
+
+ return $identities;
+ }
+
+ /**
+ * Signal that agent forwarding should
+ * be requested when a channel is opened
+ *
+ * @param Net_SSH2 $ssh
+ * @return bool
+ * @access public
+ */
+ function startSSHForwarding($ssh)
+ {
+ if ($this->forward_status == self::FORWARD_NONE) {
+ $this->forward_status = self::FORWARD_REQUEST;
+ }
+ }
+
+ /**
+ * Request agent forwarding of remote server
+ *
+ * @param Net_SSH2 $ssh
+ * @return bool
+ * @access private
+ */
+ function _request_forwarding($ssh)
+ {
+ $request_channel = $ssh->_get_open_channel();
+ if ($request_channel === false) {
+ return false;
+ }
+
+ $packet = pack(
+ 'CNNa*C',
+ NET_SSH2_MSG_CHANNEL_REQUEST,
+ $ssh->server_channels[$request_channel],
+ strlen('auth-agent-req@openssh.com'),
+ 'auth-agent-req@openssh.com',
+ 1
+ );
+
+ $ssh->channel_status[$request_channel] = NET_SSH2_MSG_CHANNEL_REQUEST;
+
+ if (!$ssh->_send_binary_packet($packet)) {
+ return false;
+ }
+
+ $response = $ssh->_get_channel_packet($request_channel);
+ if ($response === false) {
+ return false;
+ }
+
+ $ssh->channel_status[$request_channel] = NET_SSH2_MSG_CHANNEL_OPEN;
+ $this->forward_status = self::FORWARD_ACTIVE;
+
+ return true;
+ }
+
+ /**
+ * On successful channel open
+ *
+ * This method is called upon successful channel
+ * open to give the SSH Agent an opportunity
+ * to take further action. i.e. request agent forwarding
+ *
+ * @param Net_SSH2 $ssh
+ * @access private
+ */
+ function _on_channel_open($ssh)
+ {
+ if ($this->forward_status == self::FORWARD_REQUEST) {
+ $this->_request_forwarding($ssh);
+ }
+ }
+
+ /**
+ * Forward data to SSH Agent and return data reply
+ *
+ * @param string $data
+ * @return data from SSH Agent
+ * @access private
+ */
+ function _forward_data($data)
+ {
+ if ($this->expected_bytes > 0) {
+ $this->socket_buffer.= $data;
+ $this->expected_bytes -= strlen($data);
+ } else {
+ $agent_data_bytes = current(unpack('N', $data));
+ $current_data_bytes = strlen($data);
+ $this->socket_buffer = $data;
+ if ($current_data_bytes != $agent_data_bytes + 4) {
+ $this->expected_bytes = ($agent_data_bytes + 4) - $current_data_bytes;
+ return false;
+ }
+ }
+
+ if (strlen($this->socket_buffer) != fwrite($this->fsock, $this->socket_buffer)) {
+ user_error('Connection closed attempting to forward data to SSH agent');
+ }
+
+ $this->socket_buffer = '';
+ $this->expected_bytes = 0;
+
+ $agent_reply_bytes = current(unpack('N', fread($this->fsock, 4)));
+
+ $agent_reply_data = fread($this->fsock, $agent_reply_bytes);
+ $agent_reply_data = current(unpack('a*', $agent_reply_data));
+
+ return pack('Na*', $agent_reply_bytes, $agent_reply_data);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/System/SSH/Agent/Identity.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/System/SSH/Agent/Identity.php
new file mode 100644
index 00000000..b8cc6cde
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/System/SSH/Agent/Identity.php
@@ -0,0 +1,158 @@
+<?php
+/**
+ * Pure-PHP ssh-agent client.
+ *
+ * PHP version 5
+ *
+ * @category System
+ * @package SSH\Agent
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @copyright 2009 Jim Wigginton
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ * @link http://phpseclib.sourceforge.net
+ * @internal See http://api.libssh.org/rfc/PROTOCOL.agent
+ */
+
+namespace phpseclib\System\SSH\Agent;
+
+use phpseclib\System\SSH\Agent;
+
+/**
+ * Pure-PHP ssh-agent client identity object
+ *
+ * Instantiation should only be performed by \phpseclib\System\SSH\Agent class.
+ * This could be thought of as implementing an interface that phpseclib\Crypt\RSA
+ * implements. ie. maybe a Net_SSH_Auth_PublicKey interface or something.
+ * The methods in this interface would be getPublicKey and sign since those are the
+ * methods phpseclib looks for to perform public key authentication.
+ *
+ * @package SSH\Agent
+ * @author Jim Wigginton <terrafrost@php.net>
+ * @access internal
+ */
+class Identity
+{
+ /**
+ * Key Object
+ *
+ * @var \phpseclib\Crypt\RSA
+ * @access private
+ * @see self::getPublicKey()
+ */
+ var $key;
+
+ /**
+ * Key Blob
+ *
+ * @var string
+ * @access private
+ * @see self::sign()
+ */
+ var $key_blob;
+
+ /**
+ * Socket Resource
+ *
+ * @var resource
+ * @access private
+ * @see self::sign()
+ */
+ var $fsock;
+
+ /**
+ * Default Constructor.
+ *
+ * @param resource $fsock
+ * @return \phpseclib\System\SSH\Agent\Identity
+ * @access private
+ */
+ function __construct($fsock)
+ {
+ $this->fsock = $fsock;
+ }
+
+ /**
+ * Set Public Key
+ *
+ * Called by \phpseclib\System\SSH\Agent::requestIdentities()
+ *
+ * @param \phpseclib\Crypt\RSA $key
+ * @access private
+ */
+ function setPublicKey($key)
+ {
+ $this->key = $key;
+ $this->key->setPublicKey();
+ }
+
+ /**
+ * Set Public Key
+ *
+ * Called by \phpseclib\System\SSH\Agent::requestIdentities(). The key blob could be extracted from $this->key
+ * but this saves a small amount of computation.
+ *
+ * @param string $key_blob
+ * @access private
+ */
+ function setPublicKeyBlob($key_blob)
+ {
+ $this->key_blob = $key_blob;
+ }
+
+ /**
+ * Get Public Key
+ *
+ * Wrapper for $this->key->getPublicKey()
+ *
+ * @param int $format optional
+ * @return mixed
+ * @access public
+ */
+ function getPublicKey($format = null)
+ {
+ return !isset($format) ? $this->key->getPublicKey() : $this->key->getPublicKey($format);
+ }
+
+ /**
+ * Set Signature Mode
+ *
+ * Doesn't do anything as ssh-agent doesn't let you pick and choose the signature mode. ie.
+ * ssh-agent's only supported mode is \phpseclib\Crypt\RSA::SIGNATURE_PKCS1
+ *
+ * @param int $mode
+ * @access public
+ */
+ function setSignatureMode($mode)
+ {
+ }
+
+ /**
+ * Create a signature
+ *
+ * See "2.6.2 Protocol 2 private key signature request"
+ *
+ * @param string $message
+ * @return string
+ * @access public
+ */
+ function sign($message)
+ {
+ // the last parameter (currently 0) is for flags and ssh-agent only defines one flag (for ssh-dss): SSH_AGENT_OLD_SIGNATURE
+ $packet = pack('CNa*Na*N', Agent::SSH_AGENTC_SIGN_REQUEST, strlen($this->key_blob), $this->key_blob, strlen($message), $message, 0);
+ $packet = pack('Na*', strlen($packet), $packet);
+ if (strlen($packet) != fputs($this->fsock, $packet)) {
+ user_error('Connection closed during signing');
+ }
+
+ $length = current(unpack('N', fread($this->fsock, 4)));
+ $type = ord(fread($this->fsock, 1));
+ if ($type != Agent::SSH_AGENT_SIGN_RESPONSE) {
+ user_error('Unable to retrieve signature');
+ }
+
+ $signature_blob = fread($this->fsock, $length - 1);
+ // the only other signature format defined - ssh-dss - is the same length as ssh-rsa
+ // the + 12 is for the other various SSH added length fields
+ return substr($signature_blob, strlen('ssh-rsa') + 12);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/bootstrap.php b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/bootstrap.php
new file mode 100644
index 00000000..0da0999f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/bootstrap.php
@@ -0,0 +1,16 @@
+<?php
+/**
+ * Bootstrapping File for phpseclib
+ *
+ * @license http://www.opensource.org/licenses/mit-license.html MIT License
+ */
+
+if (extension_loaded('mbstring')) {
+ // 2 - MB_OVERLOAD_STRING
+ if (ini_get('mbstring.func_overload') & 2) {
+ throw new \UnexpectedValueException(
+ 'Overloading of string functions using mbstring.func_overload ' .
+ 'is not supported by phpseclib.'
+ );
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/openssl.cnf b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/openssl.cnf
new file mode 100644
index 00000000..2b8b52f9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/openssl.cnf
@@ -0,0 +1,6 @@
+# minimalist openssl.cnf file for use with phpseclib
+
+HOME = .
+RANDFILE = $ENV::HOME/.rnd
+
+[ v3_ca ]
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/CHANGELOG.md b/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/CHANGELOG.md
new file mode 100644
index 00000000..58ddab05
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/CHANGELOG.md
@@ -0,0 +1,16 @@
+# Changelog
+
+All notable changes to this project will be documented in this file, in reverse chronological order by release.
+
+## 1.0.1 - 2016-08-06
+
+### Fixed
+
+- Make spacing consistent in phpdoc annotations php-fig/cache#9 - chalasr
+- Fix grammar in phpdoc annotations php-fig/cache#10 - chalasr
+- Be more specific in docblocks that `getItems()` and `deleteItems()` take an array of strings (`string[]`) compared to just `array` php-fig/cache#8 - GrahamCampbell
+- For `expiresAt()` and `expiresAfter()` in CacheItemInterface fix docblock to specify null as a valid parameters as well as an implementation of DateTimeInterface php-fig/cache#7 - GrahamCampbell
+
+## 1.0.0 - 2015-12-11
+
+Initial stable release; reflects accepted PSR-6 specification
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/LICENSE.txt b/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/LICENSE.txt
new file mode 100644
index 00000000..b1c2c97b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/LICENSE.txt
@@ -0,0 +1,19 @@
+Copyright (c) 2015 PHP Framework Interoperability Group
+
+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/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/README.md b/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/README.md
new file mode 100644
index 00000000..c8706cee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/README.md
@@ -0,0 +1,9 @@
+PSR Cache
+=========
+
+This repository holds all interfaces defined by
+[PSR-6](http://www.php-fig.org/psr/psr-6/).
+
+Note that this is not a Cache implementation of its own. It is merely an
+interface that describes a Cache implementation. See the specification for more
+details.
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/composer.json b/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/composer.json
new file mode 100644
index 00000000..e828fec9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/composer.json
@@ -0,0 +1,25 @@
+{
+ "name": "psr/cache",
+ "description": "Common interface for caching libraries",
+ "keywords": ["psr", "psr-6", "cache"],
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\Cache\\": "src/"
+ }
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/src/CacheException.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/src/CacheException.php
new file mode 100644
index 00000000..e27f22f8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/src/CacheException.php
@@ -0,0 +1,10 @@
+<?php
+
+namespace Psr\Cache;
+
+/**
+ * Exception interface for all exceptions thrown by an Implementing Library.
+ */
+interface CacheException
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/src/CacheItemInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/src/CacheItemInterface.php
new file mode 100644
index 00000000..63d05dd1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/src/CacheItemInterface.php
@@ -0,0 +1,105 @@
+<?php
+
+namespace Psr\Cache;
+
+/**
+ * CacheItemInterface defines an interface for interacting with objects inside a cache.
+ *
+ * Each Item object MUST be associated with a specific key, which can be set
+ * according to the implementing system and is typically passed by the
+ * Cache\CacheItemPoolInterface object.
+ *
+ * The Cache\CacheItemInterface object encapsulates the storage and retrieval of
+ * cache items. Each Cache\CacheItemInterface is generated by a
+ * Cache\CacheItemPoolInterface object, which is responsible for any required
+ * setup as well as associating the object with a unique Key.
+ * Cache\CacheItemInterface objects MUST be able to store and retrieve any type
+ * of PHP value defined in the Data section of the specification.
+ *
+ * Calling Libraries MUST NOT instantiate Item objects themselves. They may only
+ * be requested from a Pool object via the getItem() method. Calling Libraries
+ * SHOULD NOT assume that an Item created by one Implementing Library is
+ * compatible with a Pool from another Implementing Library.
+ */
+interface CacheItemInterface
+{
+ /**
+ * Returns the key for the current cache item.
+ *
+ * The key is loaded by the Implementing Library, but should be available to
+ * the higher level callers when needed.
+ *
+ * @return string
+ * The key string for this cache item.
+ */
+ public function getKey();
+
+ /**
+ * Retrieves the value of the item from the cache associated with this object's key.
+ *
+ * The value returned must be identical to the value originally stored by set().
+ *
+ * If isHit() returns false, this method MUST return null. Note that null
+ * is a legitimate cached value, so the isHit() method SHOULD be used to
+ * differentiate between "null value was found" and "no value was found."
+ *
+ * @return mixed
+ * The value corresponding to this cache item's key, or null if not found.
+ */
+ public function get();
+
+ /**
+ * Confirms if the cache item lookup resulted in a cache hit.
+ *
+ * Note: This method MUST NOT have a race condition between calling isHit()
+ * and calling get().
+ *
+ * @return bool
+ * True if the request resulted in a cache hit. False otherwise.
+ */
+ public function isHit();
+
+ /**
+ * Sets the value represented by this cache item.
+ *
+ * The $value argument may be any item that can be serialized by PHP,
+ * although the method of serialization is left up to the Implementing
+ * Library.
+ *
+ * @param mixed $value
+ * The serializable value to be stored.
+ *
+ * @return static
+ * The invoked object.
+ */
+ public function set($value);
+
+ /**
+ * Sets the expiration time for this cache item.
+ *
+ * @param \DateTimeInterface|null $expiration
+ * The point in time after which the item MUST be considered expired.
+ * If null is passed explicitly, a default value MAY be used. If none is set,
+ * the value should be stored permanently or for as long as the
+ * implementation allows.
+ *
+ * @return static
+ * The called object.
+ */
+ public function expiresAt($expiration);
+
+ /**
+ * Sets the expiration time for this cache item.
+ *
+ * @param int|\DateInterval|null $time
+ * The period of time from the present after which the item MUST be considered
+ * expired. An integer parameter is understood to be the time in seconds until
+ * expiration. If null is passed explicitly, a default value MAY be used.
+ * If none is set, the value should be stored permanently or for as long as the
+ * implementation allows.
+ *
+ * @return static
+ * The called object.
+ */
+ public function expiresAfter($time);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/src/CacheItemPoolInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/src/CacheItemPoolInterface.php
new file mode 100644
index 00000000..03514196
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/src/CacheItemPoolInterface.php
@@ -0,0 +1,138 @@
+<?php
+
+namespace Psr\Cache;
+
+/**
+ * CacheItemPoolInterface generates CacheItemInterface objects.
+ *
+ * The primary purpose of Cache\CacheItemPoolInterface is to accept a key from
+ * the Calling Library and return the associated Cache\CacheItemInterface object.
+ * It is also the primary point of interaction with the entire cache collection.
+ * All configuration and initialization of the Pool is left up to an
+ * Implementing Library.
+ */
+interface CacheItemPoolInterface
+{
+ /**
+ * Returns a Cache Item representing the specified key.
+ *
+ * This method must always return a CacheItemInterface object, even in case of
+ * a cache miss. It MUST NOT return null.
+ *
+ * @param string $key
+ * The key for which to return the corresponding Cache Item.
+ *
+ * @throws InvalidArgumentException
+ * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
+ * MUST be thrown.
+ *
+ * @return CacheItemInterface
+ * The corresponding Cache Item.
+ */
+ public function getItem($key);
+
+ /**
+ * Returns a traversable set of cache items.
+ *
+ * @param string[] $keys
+ * An indexed array of keys of items to retrieve.
+ *
+ * @throws InvalidArgumentException
+ * If any of the keys in $keys are not a legal value a \Psr\Cache\InvalidArgumentException
+ * MUST be thrown.
+ *
+ * @return array|\Traversable
+ * A traversable collection of Cache Items keyed by the cache keys of
+ * each item. A Cache item will be returned for each key, even if that
+ * key is not found. However, if no keys are specified then an empty
+ * traversable MUST be returned instead.
+ */
+ public function getItems(array $keys = array());
+
+ /**
+ * Confirms if the cache contains specified cache item.
+ *
+ * Note: This method MAY avoid retrieving the cached value for performance reasons.
+ * This could result in a race condition with CacheItemInterface::get(). To avoid
+ * such situation use CacheItemInterface::isHit() instead.
+ *
+ * @param string $key
+ * The key for which to check existence.
+ *
+ * @throws InvalidArgumentException
+ * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
+ * MUST be thrown.
+ *
+ * @return bool
+ * True if item exists in the cache, false otherwise.
+ */
+ public function hasItem($key);
+
+ /**
+ * Deletes all items in the pool.
+ *
+ * @return bool
+ * True if the pool was successfully cleared. False if there was an error.
+ */
+ public function clear();
+
+ /**
+ * Removes the item from the pool.
+ *
+ * @param string $key
+ * The key to delete.
+ *
+ * @throws InvalidArgumentException
+ * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
+ * MUST be thrown.
+ *
+ * @return bool
+ * True if the item was successfully removed. False if there was an error.
+ */
+ public function deleteItem($key);
+
+ /**
+ * Removes multiple items from the pool.
+ *
+ * @param string[] $keys
+ * An array of keys that should be removed from the pool.
+
+ * @throws InvalidArgumentException
+ * If any of the keys in $keys are not a legal value a \Psr\Cache\InvalidArgumentException
+ * MUST be thrown.
+ *
+ * @return bool
+ * True if the items were successfully removed. False if there was an error.
+ */
+ public function deleteItems(array $keys);
+
+ /**
+ * Persists a cache item immediately.
+ *
+ * @param CacheItemInterface $item
+ * The cache item to save.
+ *
+ * @return bool
+ * True if the item was successfully persisted. False if there was an error.
+ */
+ public function save(CacheItemInterface $item);
+
+ /**
+ * Sets a cache item to be persisted later.
+ *
+ * @param CacheItemInterface $item
+ * The cache item to save.
+ *
+ * @return bool
+ * False if the item could not be queued or if a commit was attempted and failed. True otherwise.
+ */
+ public function saveDeferred(CacheItemInterface $item);
+
+ /**
+ * Persists any deferred cache items.
+ *
+ * @return bool
+ * True if all not-yet-saved items were successfully saved or there were none. False otherwise.
+ */
+ public function commit();
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/src/InvalidArgumentException.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/src/InvalidArgumentException.php
new file mode 100644
index 00000000..be7c6fa0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/cache/src/InvalidArgumentException.php
@@ -0,0 +1,13 @@
+<?php
+
+namespace Psr\Cache;
+
+/**
+ * Exception interface for invalid cache arguments.
+ *
+ * Any time an invalid argument is passed into a method it must throw an
+ * exception class which implements Psr\Cache\InvalidArgumentException.
+ */
+interface InvalidArgumentException extends CacheException
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/CHANGELOG.md b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/CHANGELOG.md
new file mode 100644
index 00000000..74b1ef92
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/CHANGELOG.md
@@ -0,0 +1,36 @@
+# Changelog
+
+All notable changes to this project will be documented in this file, in reverse chronological order by release.
+
+## 1.0.1 - 2016-08-06
+
+### Added
+
+- Nothing.
+
+### Deprecated
+
+- Nothing.
+
+### Removed
+
+- Nothing.
+
+### Fixed
+
+- Updated all `@return self` annotation references in interfaces to use
+ `@return static`, which more closelly follows the semantics of the
+ specification.
+- Updated the `MessageInterface::getHeaders()` return annotation to use the
+ value `string[][]`, indicating the format is a nested array of strings.
+- Updated the `@link` annotation for `RequestInterface::withRequestTarget()`
+ to point to the correct section of RFC 7230.
+- Updated the `ServerRequestInterface::withUploadedFiles()` parameter annotation
+ to add the parameter name (`$uploadedFiles`).
+- Updated a `@throws` annotation for the `UploadedFileInterface::moveTo()`
+ method to correctly reference the method parameter (it was referencing an
+ incorrect parameter name previously).
+
+## 1.0.0 - 2016-05-18
+
+Initial stable release; reflects accepted PSR-7 specification.
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/LICENSE b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/LICENSE
new file mode 100644
index 00000000..c2d8e452
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2014 PHP Framework Interoperability Group
+
+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/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/README.md b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/README.md
new file mode 100644
index 00000000..28185338
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/README.md
@@ -0,0 +1,13 @@
+PSR Http Message
+================
+
+This repository holds all interfaces/classes/traits related to
+[PSR-7](http://www.php-fig.org/psr/psr-7/).
+
+Note that this is not a HTTP message implementation of its own. It is merely an
+interface that describes a HTTP message. See the specification for more details.
+
+Usage
+-----
+
+We'll certainly need some stuff in here. \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/composer.json b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/composer.json
new file mode 100644
index 00000000..b0d2937a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/composer.json
@@ -0,0 +1,26 @@
+{
+ "name": "psr/http-message",
+ "description": "Common interface for HTTP messages",
+ "keywords": ["psr", "psr-7", "http", "http-message", "request", "response"],
+ "homepage": "https://github.com/php-fig/http-message",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\Http\\Message\\": "src/"
+ }
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/MessageInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/MessageInterface.php
new file mode 100644
index 00000000..dd46e5ec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/MessageInterface.php
@@ -0,0 +1,187 @@
+<?php
+
+namespace Psr\Http\Message;
+
+/**
+ * HTTP messages consist of requests from a client to a server and responses
+ * from a server to a client. This interface defines the methods common to
+ * each.
+ *
+ * Messages are considered immutable; all methods that might change state MUST
+ * be implemented such that they retain the internal state of the current
+ * message and return an instance that contains the changed state.
+ *
+ * @link http://www.ietf.org/rfc/rfc7230.txt
+ * @link http://www.ietf.org/rfc/rfc7231.txt
+ */
+interface MessageInterface
+{
+ /**
+ * Retrieves the HTTP protocol version as a string.
+ *
+ * The string MUST contain only the HTTP version number (e.g., "1.1", "1.0").
+ *
+ * @return string HTTP protocol version.
+ */
+ public function getProtocolVersion();
+
+ /**
+ * Return an instance with the specified HTTP protocol version.
+ *
+ * The version string MUST contain only the HTTP version number (e.g.,
+ * "1.1", "1.0").
+ *
+ * This method MUST be implemented in such a way as to retain the
+ * immutability of the message, and MUST return an instance that has the
+ * new protocol version.
+ *
+ * @param string $version HTTP protocol version
+ * @return static
+ */
+ public function withProtocolVersion($version);
+
+ /**
+ * Retrieves all message header values.
+ *
+ * The keys represent the header name as it will be sent over the wire, and
+ * each value is an array of strings associated with the header.
+ *
+ * // Represent the headers as a string
+ * foreach ($message->getHeaders() as $name => $values) {
+ * echo $name . ": " . implode(", ", $values);
+ * }
+ *
+ * // Emit headers iteratively:
+ * foreach ($message->getHeaders() as $name => $values) {
+ * foreach ($values as $value) {
+ * header(sprintf('%s: %s', $name, $value), false);
+ * }
+ * }
+ *
+ * While header names are not case-sensitive, getHeaders() will preserve the
+ * exact case in which headers were originally specified.
+ *
+ * @return string[][] Returns an associative array of the message's headers. Each
+ * key MUST be a header name, and each value MUST be an array of strings
+ * for that header.
+ */
+ public function getHeaders();
+
+ /**
+ * Checks if a header exists by the given case-insensitive name.
+ *
+ * @param string $name Case-insensitive header field name.
+ * @return bool Returns true if any header names match the given header
+ * name using a case-insensitive string comparison. Returns false if
+ * no matching header name is found in the message.
+ */
+ public function hasHeader($name);
+
+ /**
+ * Retrieves a message header value by the given case-insensitive name.
+ *
+ * This method returns an array of all the header values of the given
+ * case-insensitive header name.
+ *
+ * If the header does not appear in the message, this method MUST return an
+ * empty array.
+ *
+ * @param string $name Case-insensitive header field name.
+ * @return string[] An array of string values as provided for the given
+ * header. If the header does not appear in the message, this method MUST
+ * return an empty array.
+ */
+ public function getHeader($name);
+
+ /**
+ * Retrieves a comma-separated string of the values for a single header.
+ *
+ * This method returns all of the header values of the given
+ * case-insensitive header name as a string concatenated together using
+ * a comma.
+ *
+ * NOTE: Not all header values may be appropriately represented using
+ * comma concatenation. For such headers, use getHeader() instead
+ * and supply your own delimiter when concatenating.
+ *
+ * If the header does not appear in the message, this method MUST return
+ * an empty string.
+ *
+ * @param string $name Case-insensitive header field name.
+ * @return string A string of values as provided for the given header
+ * concatenated together using a comma. If the header does not appear in
+ * the message, this method MUST return an empty string.
+ */
+ public function getHeaderLine($name);
+
+ /**
+ * Return an instance with the provided value replacing the specified header.
+ *
+ * While header names are case-insensitive, the casing of the header will
+ * be preserved by this function, and returned from getHeaders().
+ *
+ * This method MUST be implemented in such a way as to retain the
+ * immutability of the message, and MUST return an instance that has the
+ * new and/or updated header and value.
+ *
+ * @param string $name Case-insensitive header field name.
+ * @param string|string[] $value Header value(s).
+ * @return static
+ * @throws \InvalidArgumentException for invalid header names or values.
+ */
+ public function withHeader($name, $value);
+
+ /**
+ * Return an instance with the specified header appended with the given value.
+ *
+ * Existing values for the specified header will be maintained. The new
+ * value(s) will be appended to the existing list. If the header did not
+ * exist previously, it will be added.
+ *
+ * This method MUST be implemented in such a way as to retain the
+ * immutability of the message, and MUST return an instance that has the
+ * new header and/or value.
+ *
+ * @param string $name Case-insensitive header field name to add.
+ * @param string|string[] $value Header value(s).
+ * @return static
+ * @throws \InvalidArgumentException for invalid header names or values.
+ */
+ public function withAddedHeader($name, $value);
+
+ /**
+ * Return an instance without the specified header.
+ *
+ * Header resolution MUST be done without case-sensitivity.
+ *
+ * This method MUST be implemented in such a way as to retain the
+ * immutability of the message, and MUST return an instance that removes
+ * the named header.
+ *
+ * @param string $name Case-insensitive header field name to remove.
+ * @return static
+ */
+ public function withoutHeader($name);
+
+ /**
+ * Gets the body of the message.
+ *
+ * @return StreamInterface Returns the body as a stream.
+ */
+ public function getBody();
+
+ /**
+ * Return an instance with the specified message body.
+ *
+ * The body MUST be a StreamInterface object.
+ *
+ * This method MUST be implemented in such a way as to retain the
+ * immutability of the message, and MUST return a new instance that has the
+ * new body stream.
+ *
+ * @param StreamInterface $body Body.
+ * @return static
+ * @throws \InvalidArgumentException When the body is not valid.
+ */
+ public function withBody(StreamInterface $body);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/RequestInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/RequestInterface.php
new file mode 100644
index 00000000..a96d4fd6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/RequestInterface.php
@@ -0,0 +1,129 @@
+<?php
+
+namespace Psr\Http\Message;
+
+/**
+ * Representation of an outgoing, client-side request.
+ *
+ * Per the HTTP specification, this interface includes properties for
+ * each of the following:
+ *
+ * - Protocol version
+ * - HTTP method
+ * - URI
+ * - Headers
+ * - Message body
+ *
+ * During construction, implementations MUST attempt to set the Host header from
+ * a provided URI if no Host header is provided.
+ *
+ * Requests are considered immutable; all methods that might change state MUST
+ * be implemented such that they retain the internal state of the current
+ * message and return an instance that contains the changed state.
+ */
+interface RequestInterface extends MessageInterface
+{
+ /**
+ * Retrieves the message's request target.
+ *
+ * Retrieves the message's request-target either as it will appear (for
+ * clients), as it appeared at request (for servers), or as it was
+ * specified for the instance (see withRequestTarget()).
+ *
+ * In most cases, this will be the origin-form of the composed URI,
+ * unless a value was provided to the concrete implementation (see
+ * withRequestTarget() below).
+ *
+ * If no URI is available, and no request-target has been specifically
+ * provided, this method MUST return the string "/".
+ *
+ * @return string
+ */
+ public function getRequestTarget();
+
+ /**
+ * Return an instance with the specific request-target.
+ *
+ * If the request needs a non-origin-form request-target — e.g., for
+ * specifying an absolute-form, authority-form, or asterisk-form —
+ * this method may be used to create an instance with the specified
+ * request-target, verbatim.
+ *
+ * This method MUST be implemented in such a way as to retain the
+ * immutability of the message, and MUST return an instance that has the
+ * changed request target.
+ *
+ * @link http://tools.ietf.org/html/rfc7230#section-5.3 (for the various
+ * request-target forms allowed in request messages)
+ * @param mixed $requestTarget
+ * @return static
+ */
+ public function withRequestTarget($requestTarget);
+
+ /**
+ * Retrieves the HTTP method of the request.
+ *
+ * @return string Returns the request method.
+ */
+ public function getMethod();
+
+ /**
+ * Return an instance with the provided HTTP method.
+ *
+ * While HTTP method names are typically all uppercase characters, HTTP
+ * method names are case-sensitive and thus implementations SHOULD NOT
+ * modify the given string.
+ *
+ * This method MUST be implemented in such a way as to retain the
+ * immutability of the message, and MUST return an instance that has the
+ * changed request method.
+ *
+ * @param string $method Case-sensitive method.
+ * @return static
+ * @throws \InvalidArgumentException for invalid HTTP methods.
+ */
+ public function withMethod($method);
+
+ /**
+ * Retrieves the URI instance.
+ *
+ * This method MUST return a UriInterface instance.
+ *
+ * @link http://tools.ietf.org/html/rfc3986#section-4.3
+ * @return UriInterface Returns a UriInterface instance
+ * representing the URI of the request.
+ */
+ public function getUri();
+
+ /**
+ * Returns an instance with the provided URI.
+ *
+ * This method MUST update the Host header of the returned request by
+ * default if the URI contains a host component. If the URI does not
+ * contain a host component, any pre-existing Host header MUST be carried
+ * over to the returned request.
+ *
+ * You can opt-in to preserving the original state of the Host header by
+ * setting `$preserveHost` to `true`. When `$preserveHost` is set to
+ * `true`, this method interacts with the Host header in the following ways:
+ *
+ * - If the Host header is missing or empty, and the new URI contains
+ * a host component, this method MUST update the Host header in the returned
+ * request.
+ * - If the Host header is missing or empty, and the new URI does not contain a
+ * host component, this method MUST NOT update the Host header in the returned
+ * request.
+ * - If a Host header is present and non-empty, this method MUST NOT update
+ * the Host header in the returned request.
+ *
+ * This method MUST be implemented in such a way as to retain the
+ * immutability of the message, and MUST return an instance that has the
+ * new UriInterface instance.
+ *
+ * @link http://tools.ietf.org/html/rfc3986#section-4.3
+ * @param UriInterface $uri New request URI to use.
+ * @param bool $preserveHost Preserve the original state of the Host header.
+ * @return static
+ */
+ public function withUri(UriInterface $uri, $preserveHost = false);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/ResponseInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/ResponseInterface.php
new file mode 100644
index 00000000..c306514e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/ResponseInterface.php
@@ -0,0 +1,68 @@
+<?php
+
+namespace Psr\Http\Message;
+
+/**
+ * Representation of an outgoing, server-side response.
+ *
+ * Per the HTTP specification, this interface includes properties for
+ * each of the following:
+ *
+ * - Protocol version
+ * - Status code and reason phrase
+ * - Headers
+ * - Message body
+ *
+ * Responses are considered immutable; all methods that might change state MUST
+ * be implemented such that they retain the internal state of the current
+ * message and return an instance that contains the changed state.
+ */
+interface ResponseInterface extends MessageInterface
+{
+ /**
+ * Gets the response status code.
+ *
+ * The status code is a 3-digit integer result code of the server's attempt
+ * to understand and satisfy the request.
+ *
+ * @return int Status code.
+ */
+ public function getStatusCode();
+
+ /**
+ * Return an instance with the specified status code and, optionally, reason phrase.
+ *
+ * If no reason phrase is specified, implementations MAY choose to default
+ * to the RFC 7231 or IANA recommended reason phrase for the response's
+ * status code.
+ *
+ * This method MUST be implemented in such a way as to retain the
+ * immutability of the message, and MUST return an instance that has the
+ * updated status and reason phrase.
+ *
+ * @link http://tools.ietf.org/html/rfc7231#section-6
+ * @link http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
+ * @param int $code The 3-digit integer result code to set.
+ * @param string $reasonPhrase The reason phrase to use with the
+ * provided status code; if none is provided, implementations MAY
+ * use the defaults as suggested in the HTTP specification.
+ * @return static
+ * @throws \InvalidArgumentException For invalid status code arguments.
+ */
+ public function withStatus($code, $reasonPhrase = '');
+
+ /**
+ * Gets the response reason phrase associated with the status code.
+ *
+ * Because a reason phrase is not a required element in a response
+ * status line, the reason phrase value MAY be null. Implementations MAY
+ * choose to return the default RFC 7231 recommended reason phrase (or those
+ * listed in the IANA HTTP Status Code Registry) for the response's
+ * status code.
+ *
+ * @link http://tools.ietf.org/html/rfc7231#section-6
+ * @link http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
+ * @return string Reason phrase; must return an empty string if none present.
+ */
+ public function getReasonPhrase();
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/ServerRequestInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/ServerRequestInterface.php
new file mode 100644
index 00000000..02512340
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/ServerRequestInterface.php
@@ -0,0 +1,261 @@
+<?php
+
+namespace Psr\Http\Message;
+
+/**
+ * Representation of an incoming, server-side HTTP request.
+ *
+ * Per the HTTP specification, this interface includes properties for
+ * each of the following:
+ *
+ * - Protocol version
+ * - HTTP method
+ * - URI
+ * - Headers
+ * - Message body
+ *
+ * Additionally, it encapsulates all data as it has arrived to the
+ * application from the CGI and/or PHP environment, including:
+ *
+ * - The values represented in $_SERVER.
+ * - Any cookies provided (generally via $_COOKIE)
+ * - Query string arguments (generally via $_GET, or as parsed via parse_str())
+ * - Upload files, if any (as represented by $_FILES)
+ * - Deserialized body parameters (generally from $_POST)
+ *
+ * $_SERVER values MUST be treated as immutable, as they represent application
+ * state at the time of request; as such, no methods are provided to allow
+ * modification of those values. The other values provide such methods, as they
+ * can be restored from $_SERVER or the request body, and may need treatment
+ * during the application (e.g., body parameters may be deserialized based on
+ * content type).
+ *
+ * Additionally, this interface recognizes the utility of introspecting a
+ * request to derive and match additional parameters (e.g., via URI path
+ * matching, decrypting cookie values, deserializing non-form-encoded body
+ * content, matching authorization headers to users, etc). These parameters
+ * are stored in an "attributes" property.
+ *
+ * Requests are considered immutable; all methods that might change state MUST
+ * be implemented such that they retain the internal state of the current
+ * message and return an instance that contains the changed state.
+ */
+interface ServerRequestInterface extends RequestInterface
+{
+ /**
+ * Retrieve server parameters.
+ *
+ * Retrieves data related to the incoming request environment,
+ * typically derived from PHP's $_SERVER superglobal. The data IS NOT
+ * REQUIRED to originate from $_SERVER.
+ *
+ * @return array
+ */
+ public function getServerParams();
+
+ /**
+ * Retrieve cookies.
+ *
+ * Retrieves cookies sent by the client to the server.
+ *
+ * The data MUST be compatible with the structure of the $_COOKIE
+ * superglobal.
+ *
+ * @return array
+ */
+ public function getCookieParams();
+
+ /**
+ * Return an instance with the specified cookies.
+ *
+ * The data IS NOT REQUIRED to come from the $_COOKIE superglobal, but MUST
+ * be compatible with the structure of $_COOKIE. Typically, this data will
+ * be injected at instantiation.
+ *
+ * This method MUST NOT update the related Cookie header of the request
+ * instance, nor related values in the server params.
+ *
+ * This method MUST be implemented in such a way as to retain the
+ * immutability of the message, and MUST return an instance that has the
+ * updated cookie values.
+ *
+ * @param array $cookies Array of key/value pairs representing cookies.
+ * @return static
+ */
+ public function withCookieParams(array $cookies);
+
+ /**
+ * Retrieve query string arguments.
+ *
+ * Retrieves the deserialized query string arguments, if any.
+ *
+ * Note: the query params might not be in sync with the URI or server
+ * params. If you need to ensure you are only getting the original
+ * values, you may need to parse the query string from `getUri()->getQuery()`
+ * or from the `QUERY_STRING` server param.
+ *
+ * @return array
+ */
+ public function getQueryParams();
+
+ /**
+ * Return an instance with the specified query string arguments.
+ *
+ * These values SHOULD remain immutable over the course of the incoming
+ * request. They MAY be injected during instantiation, such as from PHP's
+ * $_GET superglobal, or MAY be derived from some other value such as the
+ * URI. In cases where the arguments are parsed from the URI, the data
+ * MUST be compatible with what PHP's parse_str() would return for
+ * purposes of how duplicate query parameters are handled, and how nested
+ * sets are handled.
+ *
+ * Setting query string arguments MUST NOT change the URI stored by the
+ * request, nor the values in the server params.
+ *
+ * This method MUST be implemented in such a way as to retain the
+ * immutability of the message, and MUST return an instance that has the
+ * updated query string arguments.
+ *
+ * @param array $query Array of query string arguments, typically from
+ * $_GET.
+ * @return static
+ */
+ public function withQueryParams(array $query);
+
+ /**
+ * Retrieve normalized file upload data.
+ *
+ * This method returns upload metadata in a normalized tree, with each leaf
+ * an instance of Psr\Http\Message\UploadedFileInterface.
+ *
+ * These values MAY be prepared from $_FILES or the message body during
+ * instantiation, or MAY be injected via withUploadedFiles().
+ *
+ * @return array An array tree of UploadedFileInterface instances; an empty
+ * array MUST be returned if no data is present.
+ */
+ public function getUploadedFiles();
+
+ /**
+ * Create a new instance with the specified uploaded files.
+ *
+ * This method MUST be implemented in such a way as to retain the
+ * immutability of the message, and MUST return an instance that has the
+ * updated body parameters.
+ *
+ * @param array $uploadedFiles An array tree of UploadedFileInterface instances.
+ * @return static
+ * @throws \InvalidArgumentException if an invalid structure is provided.
+ */
+ public function withUploadedFiles(array $uploadedFiles);
+
+ /**
+ * Retrieve any parameters provided in the request body.
+ *
+ * If the request Content-Type is either application/x-www-form-urlencoded
+ * or multipart/form-data, and the request method is POST, this method MUST
+ * return the contents of $_POST.
+ *
+ * Otherwise, this method may return any results of deserializing
+ * the request body content; as parsing returns structured content, the
+ * potential types MUST be arrays or objects only. A null value indicates
+ * the absence of body content.
+ *
+ * @return null|array|object The deserialized body parameters, if any.
+ * These will typically be an array or object.
+ */
+ public function getParsedBody();
+
+ /**
+ * Return an instance with the specified body parameters.
+ *
+ * These MAY be injected during instantiation.
+ *
+ * If the request Content-Type is either application/x-www-form-urlencoded
+ * or multipart/form-data, and the request method is POST, use this method
+ * ONLY to inject the contents of $_POST.
+ *
+ * The data IS NOT REQUIRED to come from $_POST, but MUST be the results of
+ * deserializing the request body content. Deserialization/parsing returns
+ * structured data, and, as such, this method ONLY accepts arrays or objects,
+ * or a null value if nothing was available to parse.
+ *
+ * As an example, if content negotiation determines that the request data
+ * is a JSON payload, this method could be used to create a request
+ * instance with the deserialized parameters.
+ *
+ * This method MUST be implemented in such a way as to retain the
+ * immutability of the message, and MUST return an instance that has the
+ * updated body parameters.
+ *
+ * @param null|array|object $data The deserialized body data. This will
+ * typically be in an array or object.
+ * @return static
+ * @throws \InvalidArgumentException if an unsupported argument type is
+ * provided.
+ */
+ public function withParsedBody($data);
+
+ /**
+ * Retrieve attributes derived from the request.
+ *
+ * The request "attributes" may be used to allow injection of any
+ * parameters derived from the request: e.g., the results of path
+ * match operations; the results of decrypting cookies; the results of
+ * deserializing non-form-encoded message bodies; etc. Attributes
+ * will be application and request specific, and CAN be mutable.
+ *
+ * @return array Attributes derived from the request.
+ */
+ public function getAttributes();
+
+ /**
+ * Retrieve a single derived request attribute.
+ *
+ * Retrieves a single derived request attribute as described in
+ * getAttributes(). If the attribute has not been previously set, returns
+ * the default value as provided.
+ *
+ * This method obviates the need for a hasAttribute() method, as it allows
+ * specifying a default value to return if the attribute is not found.
+ *
+ * @see getAttributes()
+ * @param string $name The attribute name.
+ * @param mixed $default Default value to return if the attribute does not exist.
+ * @return mixed
+ */
+ public function getAttribute($name, $default = null);
+
+ /**
+ * Return an instance with the specified derived request attribute.
+ *
+ * This method allows setting a single derived request attribute as
+ * described in getAttributes().
+ *
+ * This method MUST be implemented in such a way as to retain the
+ * immutability of the message, and MUST return an instance that has the
+ * updated attribute.
+ *
+ * @see getAttributes()
+ * @param string $name The attribute name.
+ * @param mixed $value The value of the attribute.
+ * @return static
+ */
+ public function withAttribute($name, $value);
+
+ /**
+ * Return an instance that removes the specified derived request attribute.
+ *
+ * This method allows removing a single derived request attribute as
+ * described in getAttributes().
+ *
+ * This method MUST be implemented in such a way as to retain the
+ * immutability of the message, and MUST return an instance that removes
+ * the attribute.
+ *
+ * @see getAttributes()
+ * @param string $name The attribute name.
+ * @return static
+ */
+ public function withoutAttribute($name);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/StreamInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/StreamInterface.php
new file mode 100644
index 00000000..f68f3912
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/StreamInterface.php
@@ -0,0 +1,158 @@
+<?php
+
+namespace Psr\Http\Message;
+
+/**
+ * Describes a data stream.
+ *
+ * Typically, an instance will wrap a PHP stream; this interface provides
+ * a wrapper around the most common operations, including serialization of
+ * the entire stream to a string.
+ */
+interface StreamInterface
+{
+ /**
+ * Reads all data from the stream into a string, from the beginning to end.
+ *
+ * This method MUST attempt to seek to the beginning of the stream before
+ * reading data and read the stream until the end is reached.
+ *
+ * Warning: This could attempt to load a large amount of data into memory.
+ *
+ * This method MUST NOT raise an exception in order to conform with PHP's
+ * string casting operations.
+ *
+ * @see http://php.net/manual/en/language.oop5.magic.php#object.tostring
+ * @return string
+ */
+ public function __toString();
+
+ /**
+ * Closes the stream and any underlying resources.
+ *
+ * @return void
+ */
+ public function close();
+
+ /**
+ * Separates any underlying resources from the stream.
+ *
+ * After the stream has been detached, the stream is in an unusable state.
+ *
+ * @return resource|null Underlying PHP stream, if any
+ */
+ public function detach();
+
+ /**
+ * Get the size of the stream if known.
+ *
+ * @return int|null Returns the size in bytes if known, or null if unknown.
+ */
+ public function getSize();
+
+ /**
+ * Returns the current position of the file read/write pointer
+ *
+ * @return int Position of the file pointer
+ * @throws \RuntimeException on error.
+ */
+ public function tell();
+
+ /**
+ * Returns true if the stream is at the end of the stream.
+ *
+ * @return bool
+ */
+ public function eof();
+
+ /**
+ * Returns whether or not the stream is seekable.
+ *
+ * @return bool
+ */
+ public function isSeekable();
+
+ /**
+ * Seek to a position in the stream.
+ *
+ * @link http://www.php.net/manual/en/function.fseek.php
+ * @param int $offset Stream offset
+ * @param int $whence Specifies how the cursor position will be calculated
+ * based on the seek offset. Valid values are identical to the built-in
+ * PHP $whence values for `fseek()`. SEEK_SET: Set position equal to
+ * offset bytes SEEK_CUR: Set position to current location plus offset
+ * SEEK_END: Set position to end-of-stream plus offset.
+ * @throws \RuntimeException on failure.
+ */
+ public function seek($offset, $whence = SEEK_SET);
+
+ /**
+ * Seek to the beginning of the stream.
+ *
+ * If the stream is not seekable, this method will raise an exception;
+ * otherwise, it will perform a seek(0).
+ *
+ * @see seek()
+ * @link http://www.php.net/manual/en/function.fseek.php
+ * @throws \RuntimeException on failure.
+ */
+ public function rewind();
+
+ /**
+ * Returns whether or not the stream is writable.
+ *
+ * @return bool
+ */
+ public function isWritable();
+
+ /**
+ * Write data to the stream.
+ *
+ * @param string $string The string that is to be written.
+ * @return int Returns the number of bytes written to the stream.
+ * @throws \RuntimeException on failure.
+ */
+ public function write($string);
+
+ /**
+ * Returns whether or not the stream is readable.
+ *
+ * @return bool
+ */
+ public function isReadable();
+
+ /**
+ * Read data from the stream.
+ *
+ * @param int $length Read up to $length bytes from the object and return
+ * them. Fewer than $length bytes may be returned if underlying stream
+ * call returns fewer bytes.
+ * @return string Returns the data read from the stream, or an empty string
+ * if no bytes are available.
+ * @throws \RuntimeException if an error occurs.
+ */
+ public function read($length);
+
+ /**
+ * Returns the remaining contents in a string
+ *
+ * @return string
+ * @throws \RuntimeException if unable to read or an error occurs while
+ * reading.
+ */
+ public function getContents();
+
+ /**
+ * Get stream metadata as an associative array or retrieve a specific key.
+ *
+ * The keys returned are identical to the keys returned from PHP's
+ * stream_get_meta_data() function.
+ *
+ * @link http://php.net/manual/en/function.stream-get-meta-data.php
+ * @param string $key Specific metadata to retrieve.
+ * @return array|mixed|null Returns an associative array if no key is
+ * provided. Returns a specific key value if a key is provided and the
+ * value is found, or null if the key is not found.
+ */
+ public function getMetadata($key = null);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/UploadedFileInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/UploadedFileInterface.php
new file mode 100644
index 00000000..f8a6901e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/UploadedFileInterface.php
@@ -0,0 +1,123 @@
+<?php
+
+namespace Psr\Http\Message;
+
+/**
+ * Value object representing a file uploaded through an HTTP request.
+ *
+ * Instances of this interface are considered immutable; all methods that
+ * might change state MUST be implemented such that they retain the internal
+ * state of the current instance and return an instance that contains the
+ * changed state.
+ */
+interface UploadedFileInterface
+{
+ /**
+ * Retrieve a stream representing the uploaded file.
+ *
+ * This method MUST return a StreamInterface instance, representing the
+ * uploaded file. The purpose of this method is to allow utilizing native PHP
+ * stream functionality to manipulate the file upload, such as
+ * stream_copy_to_stream() (though the result will need to be decorated in a
+ * native PHP stream wrapper to work with such functions).
+ *
+ * If the moveTo() method has been called previously, this method MUST raise
+ * an exception.
+ *
+ * @return StreamInterface Stream representation of the uploaded file.
+ * @throws \RuntimeException in cases when no stream is available or can be
+ * created.
+ */
+ public function getStream();
+
+ /**
+ * Move the uploaded file to a new location.
+ *
+ * Use this method as an alternative to move_uploaded_file(). This method is
+ * guaranteed to work in both SAPI and non-SAPI environments.
+ * Implementations must determine which environment they are in, and use the
+ * appropriate method (move_uploaded_file(), rename(), or a stream
+ * operation) to perform the operation.
+ *
+ * $targetPath may be an absolute path, or a relative path. If it is a
+ * relative path, resolution should be the same as used by PHP's rename()
+ * function.
+ *
+ * The original file or stream MUST be removed on completion.
+ *
+ * If this method is called more than once, any subsequent calls MUST raise
+ * an exception.
+ *
+ * When used in an SAPI environment where $_FILES is populated, when writing
+ * files via moveTo(), is_uploaded_file() and move_uploaded_file() SHOULD be
+ * used to ensure permissions and upload status are verified correctly.
+ *
+ * If you wish to move to a stream, use getStream(), as SAPI operations
+ * cannot guarantee writing to stream destinations.
+ *
+ * @see http://php.net/is_uploaded_file
+ * @see http://php.net/move_uploaded_file
+ * @param string $targetPath Path to which to move the uploaded file.
+ * @throws \InvalidArgumentException if the $targetPath specified is invalid.
+ * @throws \RuntimeException on any error during the move operation, or on
+ * the second or subsequent call to the method.
+ */
+ public function moveTo($targetPath);
+
+ /**
+ * Retrieve the file size.
+ *
+ * Implementations SHOULD return the value stored in the "size" key of
+ * the file in the $_FILES array if available, as PHP calculates this based
+ * on the actual size transmitted.
+ *
+ * @return int|null The file size in bytes or null if unknown.
+ */
+ public function getSize();
+
+ /**
+ * Retrieve the error associated with the uploaded file.
+ *
+ * The return value MUST be one of PHP's UPLOAD_ERR_XXX constants.
+ *
+ * If the file was uploaded successfully, this method MUST return
+ * UPLOAD_ERR_OK.
+ *
+ * Implementations SHOULD return the value stored in the "error" key of
+ * the file in the $_FILES array.
+ *
+ * @see http://php.net/manual/en/features.file-upload.errors.php
+ * @return int One of PHP's UPLOAD_ERR_XXX constants.
+ */
+ public function getError();
+
+ /**
+ * Retrieve the filename sent by the client.
+ *
+ * Do not trust the value returned by this method. A client could send
+ * a malicious filename with the intention to corrupt or hack your
+ * application.
+ *
+ * Implementations SHOULD return the value stored in the "name" key of
+ * the file in the $_FILES array.
+ *
+ * @return string|null The filename sent by the client or null if none
+ * was provided.
+ */
+ public function getClientFilename();
+
+ /**
+ * Retrieve the media type sent by the client.
+ *
+ * Do not trust the value returned by this method. A client could send
+ * a malicious media type with the intention to corrupt or hack your
+ * application.
+ *
+ * Implementations SHOULD return the value stored in the "type" key of
+ * the file in the $_FILES array.
+ *
+ * @return string|null The media type sent by the client or null if none
+ * was provided.
+ */
+ public function getClientMediaType();
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/UriInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/UriInterface.php
new file mode 100644
index 00000000..9d7ab9ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/http-message/src/UriInterface.php
@@ -0,0 +1,323 @@
+<?php
+namespace Psr\Http\Message;
+
+/**
+ * Value object representing a URI.
+ *
+ * This interface is meant to represent URIs according to RFC 3986 and to
+ * provide methods for most common operations. Additional functionality for
+ * working with URIs can be provided on top of the interface or externally.
+ * Its primary use is for HTTP requests, but may also be used in other
+ * contexts.
+ *
+ * Instances of this interface are considered immutable; all methods that
+ * might change state MUST be implemented such that they retain the internal
+ * state of the current instance and return an instance that contains the
+ * changed state.
+ *
+ * Typically the Host header will be also be present in the request message.
+ * For server-side requests, the scheme will typically be discoverable in the
+ * server parameters.
+ *
+ * @link http://tools.ietf.org/html/rfc3986 (the URI specification)
+ */
+interface UriInterface
+{
+ /**
+ * Retrieve the scheme component of the URI.
+ *
+ * If no scheme is present, this method MUST return an empty string.
+ *
+ * The value returned MUST be normalized to lowercase, per RFC 3986
+ * Section 3.1.
+ *
+ * The trailing ":" character is not part of the scheme and MUST NOT be
+ * added.
+ *
+ * @see https://tools.ietf.org/html/rfc3986#section-3.1
+ * @return string The URI scheme.
+ */
+ public function getScheme();
+
+ /**
+ * Retrieve the authority component of the URI.
+ *
+ * If no authority information is present, this method MUST return an empty
+ * string.
+ *
+ * The authority syntax of the URI is:
+ *
+ * <pre>
+ * [user-info@]host[:port]
+ * </pre>
+ *
+ * If the port component is not set or is the standard port for the current
+ * scheme, it SHOULD NOT be included.
+ *
+ * @see https://tools.ietf.org/html/rfc3986#section-3.2
+ * @return string The URI authority, in "[user-info@]host[:port]" format.
+ */
+ public function getAuthority();
+
+ /**
+ * Retrieve the user information component of the URI.
+ *
+ * If no user information is present, this method MUST return an empty
+ * string.
+ *
+ * If a user is present in the URI, this will return that value;
+ * additionally, if the password is also present, it will be appended to the
+ * user value, with a colon (":") separating the values.
+ *
+ * The trailing "@" character is not part of the user information and MUST
+ * NOT be added.
+ *
+ * @return string The URI user information, in "username[:password]" format.
+ */
+ public function getUserInfo();
+
+ /**
+ * Retrieve the host component of the URI.
+ *
+ * If no host is present, this method MUST return an empty string.
+ *
+ * The value returned MUST be normalized to lowercase, per RFC 3986
+ * Section 3.2.2.
+ *
+ * @see http://tools.ietf.org/html/rfc3986#section-3.2.2
+ * @return string The URI host.
+ */
+ public function getHost();
+
+ /**
+ * Retrieve the port component of the URI.
+ *
+ * If a port is present, and it is non-standard for the current scheme,
+ * this method MUST return it as an integer. If the port is the standard port
+ * used with the current scheme, this method SHOULD return null.
+ *
+ * If no port is present, and no scheme is present, this method MUST return
+ * a null value.
+ *
+ * If no port is present, but a scheme is present, this method MAY return
+ * the standard port for that scheme, but SHOULD return null.
+ *
+ * @return null|int The URI port.
+ */
+ public function getPort();
+
+ /**
+ * Retrieve the path component of the URI.
+ *
+ * The path can either be empty or absolute (starting with a slash) or
+ * rootless (not starting with a slash). Implementations MUST support all
+ * three syntaxes.
+ *
+ * Normally, the empty path "" and absolute path "/" are considered equal as
+ * defined in RFC 7230 Section 2.7.3. But this method MUST NOT automatically
+ * do this normalization because in contexts with a trimmed base path, e.g.
+ * the front controller, this difference becomes significant. It's the task
+ * of the user to handle both "" and "/".
+ *
+ * The value returned MUST be percent-encoded, but MUST NOT double-encode
+ * any characters. To determine what characters to encode, please refer to
+ * RFC 3986, Sections 2 and 3.3.
+ *
+ * As an example, if the value should include a slash ("/") not intended as
+ * delimiter between path segments, that value MUST be passed in encoded
+ * form (e.g., "%2F") to the instance.
+ *
+ * @see https://tools.ietf.org/html/rfc3986#section-2
+ * @see https://tools.ietf.org/html/rfc3986#section-3.3
+ * @return string The URI path.
+ */
+ public function getPath();
+
+ /**
+ * Retrieve the query string of the URI.
+ *
+ * If no query string is present, this method MUST return an empty string.
+ *
+ * The leading "?" character is not part of the query and MUST NOT be
+ * added.
+ *
+ * The value returned MUST be percent-encoded, but MUST NOT double-encode
+ * any characters. To determine what characters to encode, please refer to
+ * RFC 3986, Sections 2 and 3.4.
+ *
+ * As an example, if a value in a key/value pair of the query string should
+ * include an ampersand ("&") not intended as a delimiter between values,
+ * that value MUST be passed in encoded form (e.g., "%26") to the instance.
+ *
+ * @see https://tools.ietf.org/html/rfc3986#section-2
+ * @see https://tools.ietf.org/html/rfc3986#section-3.4
+ * @return string The URI query string.
+ */
+ public function getQuery();
+
+ /**
+ * Retrieve the fragment component of the URI.
+ *
+ * If no fragment is present, this method MUST return an empty string.
+ *
+ * The leading "#" character is not part of the fragment and MUST NOT be
+ * added.
+ *
+ * The value returned MUST be percent-encoded, but MUST NOT double-encode
+ * any characters. To determine what characters to encode, please refer to
+ * RFC 3986, Sections 2 and 3.5.
+ *
+ * @see https://tools.ietf.org/html/rfc3986#section-2
+ * @see https://tools.ietf.org/html/rfc3986#section-3.5
+ * @return string The URI fragment.
+ */
+ public function getFragment();
+
+ /**
+ * Return an instance with the specified scheme.
+ *
+ * This method MUST retain the state of the current instance, and return
+ * an instance that contains the specified scheme.
+ *
+ * Implementations MUST support the schemes "http" and "https" case
+ * insensitively, and MAY accommodate other schemes if required.
+ *
+ * An empty scheme is equivalent to removing the scheme.
+ *
+ * @param string $scheme The scheme to use with the new instance.
+ * @return static A new instance with the specified scheme.
+ * @throws \InvalidArgumentException for invalid or unsupported schemes.
+ */
+ public function withScheme($scheme);
+
+ /**
+ * Return an instance with the specified user information.
+ *
+ * This method MUST retain the state of the current instance, and return
+ * an instance that contains the specified user information.
+ *
+ * Password is optional, but the user information MUST include the
+ * user; an empty string for the user is equivalent to removing user
+ * information.
+ *
+ * @param string $user The user name to use for authority.
+ * @param null|string $password The password associated with $user.
+ * @return static A new instance with the specified user information.
+ */
+ public function withUserInfo($user, $password = null);
+
+ /**
+ * Return an instance with the specified host.
+ *
+ * This method MUST retain the state of the current instance, and return
+ * an instance that contains the specified host.
+ *
+ * An empty host value is equivalent to removing the host.
+ *
+ * @param string $host The hostname to use with the new instance.
+ * @return static A new instance with the specified host.
+ * @throws \InvalidArgumentException for invalid hostnames.
+ */
+ public function withHost($host);
+
+ /**
+ * Return an instance with the specified port.
+ *
+ * This method MUST retain the state of the current instance, and return
+ * an instance that contains the specified port.
+ *
+ * Implementations MUST raise an exception for ports outside the
+ * established TCP and UDP port ranges.
+ *
+ * A null value provided for the port is equivalent to removing the port
+ * information.
+ *
+ * @param null|int $port The port to use with the new instance; a null value
+ * removes the port information.
+ * @return static A new instance with the specified port.
+ * @throws \InvalidArgumentException for invalid ports.
+ */
+ public function withPort($port);
+
+ /**
+ * Return an instance with the specified path.
+ *
+ * This method MUST retain the state of the current instance, and return
+ * an instance that contains the specified path.
+ *
+ * The path can either be empty or absolute (starting with a slash) or
+ * rootless (not starting with a slash). Implementations MUST support all
+ * three syntaxes.
+ *
+ * If the path is intended to be domain-relative rather than path relative then
+ * it must begin with a slash ("/"). Paths not starting with a slash ("/")
+ * are assumed to be relative to some base path known to the application or
+ * consumer.
+ *
+ * Users can provide both encoded and decoded path characters.
+ * Implementations ensure the correct encoding as outlined in getPath().
+ *
+ * @param string $path The path to use with the new instance.
+ * @return static A new instance with the specified path.
+ * @throws \InvalidArgumentException for invalid paths.
+ */
+ public function withPath($path);
+
+ /**
+ * Return an instance with the specified query string.
+ *
+ * This method MUST retain the state of the current instance, and return
+ * an instance that contains the specified query string.
+ *
+ * Users can provide both encoded and decoded query characters.
+ * Implementations ensure the correct encoding as outlined in getQuery().
+ *
+ * An empty query string value is equivalent to removing the query string.
+ *
+ * @param string $query The query string to use with the new instance.
+ * @return static A new instance with the specified query string.
+ * @throws \InvalidArgumentException for invalid query strings.
+ */
+ public function withQuery($query);
+
+ /**
+ * Return an instance with the specified URI fragment.
+ *
+ * This method MUST retain the state of the current instance, and return
+ * an instance that contains the specified URI fragment.
+ *
+ * Users can provide both encoded and decoded fragment characters.
+ * Implementations ensure the correct encoding as outlined in getFragment().
+ *
+ * An empty fragment value is equivalent to removing the fragment.
+ *
+ * @param string $fragment The fragment to use with the new instance.
+ * @return static A new instance with the specified fragment.
+ */
+ public function withFragment($fragment);
+
+ /**
+ * Return the string representation as a URI reference.
+ *
+ * Depending on which components of the URI are present, the resulting
+ * string is either a full URI or relative reference according to RFC 3986,
+ * Section 4.1. The method concatenates the various components of the URI,
+ * using the appropriate delimiters:
+ *
+ * - If a scheme is present, it MUST be suffixed by ":".
+ * - If an authority is present, it MUST be prefixed by "//".
+ * - The path can be concatenated without delimiters. But there are two
+ * cases where the path has to be adjusted to make the URI reference
+ * valid as PHP does not allow to throw an exception in __toString():
+ * - If the path is rootless and an authority is present, the path MUST
+ * be prefixed by "/".
+ * - If the path is starting with more than one "/" and no authority is
+ * present, the starting slashes MUST be reduced to one.
+ * - If a query is present, it MUST be prefixed by "?".
+ * - If a fragment is present, it MUST be prefixed by "#".
+ *
+ * @see http://tools.ietf.org/html/rfc3986#section-4.1
+ * @return string
+ */
+ public function __toString();
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/.gitignore b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/.gitignore
new file mode 100644
index 00000000..22d0d82f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/.gitignore
@@ -0,0 +1 @@
+vendor
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/LICENSE b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/LICENSE
new file mode 100644
index 00000000..474c952b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2012 PHP Framework Interoperability Group
+
+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/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/AbstractLogger.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/AbstractLogger.php
new file mode 100644
index 00000000..90e721af
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/AbstractLogger.php
@@ -0,0 +1,128 @@
+<?php
+
+namespace Psr\Log;
+
+/**
+ * This is a simple Logger implementation that other Loggers can inherit from.
+ *
+ * It simply delegates all log-level-specific methods to the `log` method to
+ * reduce boilerplate code that a simple Logger that does the same thing with
+ * messages regardless of the error level has to implement.
+ */
+abstract class AbstractLogger implements LoggerInterface
+{
+ /**
+ * System is unusable.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function emergency($message, array $context = array())
+ {
+ $this->log(LogLevel::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
+ * @param array $context
+ *
+ * @return void
+ */
+ public function alert($message, array $context = array())
+ {
+ $this->log(LogLevel::ALERT, $message, $context);
+ }
+
+ /**
+ * Critical conditions.
+ *
+ * Example: Application component unavailable, unexpected exception.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function critical($message, array $context = array())
+ {
+ $this->log(LogLevel::CRITICAL, $message, $context);
+ }
+
+ /**
+ * Runtime errors that do not require immediate action but should typically
+ * be logged and monitored.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function error($message, array $context = array())
+ {
+ $this->log(LogLevel::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
+ * @param array $context
+ *
+ * @return void
+ */
+ public function warning($message, array $context = array())
+ {
+ $this->log(LogLevel::WARNING, $message, $context);
+ }
+
+ /**
+ * Normal but significant events.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function notice($message, array $context = array())
+ {
+ $this->log(LogLevel::NOTICE, $message, $context);
+ }
+
+ /**
+ * Interesting events.
+ *
+ * Example: User logs in, SQL logs.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function info($message, array $context = array())
+ {
+ $this->log(LogLevel::INFO, $message, $context);
+ }
+
+ /**
+ * Detailed debug information.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function debug($message, array $context = array())
+ {
+ $this->log(LogLevel::DEBUG, $message, $context);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/InvalidArgumentException.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/InvalidArgumentException.php
new file mode 100644
index 00000000..67f852d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/InvalidArgumentException.php
@@ -0,0 +1,7 @@
+<?php
+
+namespace Psr\Log;
+
+class InvalidArgumentException extends \InvalidArgumentException
+{
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LogLevel.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LogLevel.php
new file mode 100644
index 00000000..9cebcace
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LogLevel.php
@@ -0,0 +1,18 @@
+<?php
+
+namespace Psr\Log;
+
+/**
+ * Describes log levels.
+ */
+class LogLevel
+{
+ const EMERGENCY = 'emergency';
+ const ALERT = 'alert';
+ const CRITICAL = 'critical';
+ const ERROR = 'error';
+ const WARNING = 'warning';
+ const NOTICE = 'notice';
+ const INFO = 'info';
+ const DEBUG = 'debug';
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LoggerAwareInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LoggerAwareInterface.php
new file mode 100644
index 00000000..4d64f478
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LoggerAwareInterface.php
@@ -0,0 +1,18 @@
+<?php
+
+namespace Psr\Log;
+
+/**
+ * Describes a logger-aware instance.
+ */
+interface LoggerAwareInterface
+{
+ /**
+ * Sets a logger instance on the object.
+ *
+ * @param LoggerInterface $logger
+ *
+ * @return void
+ */
+ public function setLogger(LoggerInterface $logger);
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LoggerAwareTrait.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LoggerAwareTrait.php
new file mode 100644
index 00000000..639f79bd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LoggerAwareTrait.php
@@ -0,0 +1,26 @@
+<?php
+
+namespace Psr\Log;
+
+/**
+ * Basic Implementation of LoggerAwareInterface.
+ */
+trait LoggerAwareTrait
+{
+ /**
+ * The logger instance.
+ *
+ * @var LoggerInterface
+ */
+ protected $logger;
+
+ /**
+ * Sets a logger.
+ *
+ * @param LoggerInterface $logger
+ */
+ public function setLogger(LoggerInterface $logger)
+ {
+ $this->logger = $logger;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LoggerInterface.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LoggerInterface.php
new file mode 100644
index 00000000..5ea72438
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LoggerInterface.php
@@ -0,0 +1,123 @@
+<?php
+
+namespace Psr\Log;
+
+/**
+ * Describes a logger instance.
+ *
+ * The message MUST be a string or object implementing __toString().
+ *
+ * The message MAY contain placeholders in the form: {foo} where foo
+ * will be replaced by the context data in key "foo".
+ *
+ * The context array can contain arbitrary data. The only assumption that
+ * can be made by implementors is that if an Exception instance is given
+ * to produce a stack trace, it MUST be in a key named "exception".
+ *
+ * See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md
+ * for the full interface specification.
+ */
+interface LoggerInterface
+{
+ /**
+ * System is unusable.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function emergency($message, array $context = array());
+
+ /**
+ * 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
+ * @param array $context
+ *
+ * @return void
+ */
+ public function alert($message, array $context = array());
+
+ /**
+ * Critical conditions.
+ *
+ * Example: Application component unavailable, unexpected exception.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function critical($message, array $context = array());
+
+ /**
+ * Runtime errors that do not require immediate action but should typically
+ * be logged and monitored.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function error($message, array $context = array());
+
+ /**
+ * 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
+ * @param array $context
+ *
+ * @return void
+ */
+ public function warning($message, array $context = array());
+
+ /**
+ * Normal but significant events.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function notice($message, array $context = array());
+
+ /**
+ * Interesting events.
+ *
+ * Example: User logs in, SQL logs.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function info($message, array $context = array());
+
+ /**
+ * Detailed debug information.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function debug($message, array $context = array());
+
+ /**
+ * Logs with an arbitrary level.
+ *
+ * @param mixed $level
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function log($level, $message, array $context = array());
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LoggerTrait.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LoggerTrait.php
new file mode 100644
index 00000000..867225df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/LoggerTrait.php
@@ -0,0 +1,140 @@
+<?php
+
+namespace Psr\Log;
+
+/**
+ * This is a simple Logger trait that classes unable to extend AbstractLogger
+ * (because they extend another class, etc) can include.
+ *
+ * It simply delegates all log-level-specific methods to the `log` method to
+ * reduce boilerplate code that a simple Logger that does the same thing with
+ * messages regardless of the error level has to implement.
+ */
+trait LoggerTrait
+{
+ /**
+ * System is unusable.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function emergency($message, array $context = array())
+ {
+ $this->log(LogLevel::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
+ * @param array $context
+ *
+ * @return void
+ */
+ public function alert($message, array $context = array())
+ {
+ $this->log(LogLevel::ALERT, $message, $context);
+ }
+
+ /**
+ * Critical conditions.
+ *
+ * Example: Application component unavailable, unexpected exception.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function critical($message, array $context = array())
+ {
+ $this->log(LogLevel::CRITICAL, $message, $context);
+ }
+
+ /**
+ * Runtime errors that do not require immediate action but should typically
+ * be logged and monitored.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function error($message, array $context = array())
+ {
+ $this->log(LogLevel::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
+ * @param array $context
+ *
+ * @return void
+ */
+ public function warning($message, array $context = array())
+ {
+ $this->log(LogLevel::WARNING, $message, $context);
+ }
+
+ /**
+ * Normal but significant events.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function notice($message, array $context = array())
+ {
+ $this->log(LogLevel::NOTICE, $message, $context);
+ }
+
+ /**
+ * Interesting events.
+ *
+ * Example: User logs in, SQL logs.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function info($message, array $context = array())
+ {
+ $this->log(LogLevel::INFO, $message, $context);
+ }
+
+ /**
+ * Detailed debug information.
+ *
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function debug($message, array $context = array())
+ {
+ $this->log(LogLevel::DEBUG, $message, $context);
+ }
+
+ /**
+ * Logs with an arbitrary level.
+ *
+ * @param mixed $level
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ abstract public function log($level, $message, array $context = array());
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/NullLogger.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/NullLogger.php
new file mode 100644
index 00000000..d8cd682c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/NullLogger.php
@@ -0,0 +1,28 @@
+<?php
+
+namespace Psr\Log;
+
+/**
+ * This Logger can be used to avoid conditional log calls.
+ *
+ * Logging should always be optional, and if no logger is provided to your
+ * library creating a NullLogger instance to have something to throw logs at
+ * is a good way to avoid littering your code with `if ($this->logger) { }`
+ * blocks.
+ */
+class NullLogger extends AbstractLogger
+{
+ /**
+ * Logs with an arbitrary level.
+ *
+ * @param mixed $level
+ * @param string $message
+ * @param array $context
+ *
+ * @return void
+ */
+ public function log($level, $message, array $context = array())
+ {
+ // noop
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/Test/LoggerInterfaceTest.php b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/Test/LoggerInterfaceTest.php
new file mode 100644
index 00000000..a0391a52
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/Psr/Log/Test/LoggerInterfaceTest.php
@@ -0,0 +1,140 @@
+<?php
+
+namespace Psr\Log\Test;
+
+use Psr\Log\LoggerInterface;
+use Psr\Log\LogLevel;
+
+/**
+ * Provides a base test class for ensuring compliance with the LoggerInterface.
+ *
+ * Implementors can extend the class and implement abstract methods to run this
+ * as part of their test suite.
+ */
+abstract class LoggerInterfaceTest extends \PHPUnit_Framework_TestCase
+{
+ /**
+ * @return LoggerInterface
+ */
+ abstract public function getLogger();
+
+ /**
+ * This must return the log messages in order.
+ *
+ * The simple formatting of the messages is: "<LOG LEVEL> <MESSAGE>".
+ *
+ * Example ->error('Foo') would yield "error Foo".
+ *
+ * @return string[]
+ */
+ abstract public function getLogs();
+
+ public function testImplements()
+ {
+ $this->assertInstanceOf('Psr\Log\LoggerInterface', $this->getLogger());
+ }
+
+ /**
+ * @dataProvider provideLevelsAndMessages
+ */
+ public function testLogsAtAllLevels($level, $message)
+ {
+ $logger = $this->getLogger();
+ $logger->{$level}($message, array('user' => 'Bob'));
+ $logger->log($level, $message, array('user' => 'Bob'));
+
+ $expected = array(
+ $level.' message of level '.$level.' with context: Bob',
+ $level.' message of level '.$level.' with context: Bob',
+ );
+ $this->assertEquals($expected, $this->getLogs());
+ }
+
+ public function provideLevelsAndMessages()
+ {
+ return array(
+ LogLevel::EMERGENCY => array(LogLevel::EMERGENCY, 'message of level emergency with context: {user}'),
+ LogLevel::ALERT => array(LogLevel::ALERT, 'message of level alert with context: {user}'),
+ LogLevel::CRITICAL => array(LogLevel::CRITICAL, 'message of level critical with context: {user}'),
+ LogLevel::ERROR => array(LogLevel::ERROR, 'message of level error with context: {user}'),
+ LogLevel::WARNING => array(LogLevel::WARNING, 'message of level warning with context: {user}'),
+ LogLevel::NOTICE => array(LogLevel::NOTICE, 'message of level notice with context: {user}'),
+ LogLevel::INFO => array(LogLevel::INFO, 'message of level info with context: {user}'),
+ LogLevel::DEBUG => array(LogLevel::DEBUG, 'message of level debug with context: {user}'),
+ );
+ }
+
+ /**
+ * @expectedException \Psr\Log\InvalidArgumentException
+ */
+ public function testThrowsOnInvalidLevel()
+ {
+ $logger = $this->getLogger();
+ $logger->log('invalid level', 'Foo');
+ }
+
+ public function testContextReplacement()
+ {
+ $logger = $this->getLogger();
+ $logger->info('{Message {nothing} {user} {foo.bar} a}', array('user' => 'Bob', 'foo.bar' => 'Bar'));
+
+ $expected = array('info {Message {nothing} Bob Bar a}');
+ $this->assertEquals($expected, $this->getLogs());
+ }
+
+ public function testObjectCastToString()
+ {
+ if (method_exists($this, 'createPartialMock')) {
+ $dummy = $this->createPartialMock('Psr\Log\Test\DummyTest', array('__toString'));
+ } else {
+ $dummy = $this->getMock('Psr\Log\Test\DummyTest', array('__toString'));
+ }
+ $dummy->expects($this->once())
+ ->method('__toString')
+ ->will($this->returnValue('DUMMY'));
+
+ $this->getLogger()->warning($dummy);
+
+ $expected = array('warning DUMMY');
+ $this->assertEquals($expected, $this->getLogs());
+ }
+
+ public function testContextCanContainAnything()
+ {
+ $context = array(
+ 'bool' => true,
+ 'null' => null,
+ 'string' => 'Foo',
+ 'int' => 0,
+ 'float' => 0.5,
+ 'nested' => array('with object' => new DummyTest),
+ 'object' => new \DateTime,
+ 'resource' => fopen('php://memory', 'r'),
+ );
+
+ $this->getLogger()->warning('Crazy context data', $context);
+
+ $expected = array('warning Crazy context data');
+ $this->assertEquals($expected, $this->getLogs());
+ }
+
+ public function testContextExceptionKeyCanBeExceptionOrOtherValues()
+ {
+ $logger = $this->getLogger();
+ $logger->warning('Random message', array('exception' => 'oops'));
+ $logger->critical('Uncaught Exception!', array('exception' => new \LogicException('Fail')));
+
+ $expected = array(
+ 'warning Random message',
+ 'critical Uncaught Exception!'
+ );
+ $this->assertEquals($expected, $this->getLogs());
+ }
+}
+
+class DummyTest
+{
+ public function __toString()
+ {
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/README.md b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/README.md
new file mode 100644
index 00000000..574bc1cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/README.md
@@ -0,0 +1,45 @@
+PSR Log
+=======
+
+This repository holds all interfaces/classes/traits related to
+[PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md).
+
+Note that this is not a logger of its own. It is merely an interface that
+describes a logger. See the specification for more details.
+
+Usage
+-----
+
+If you need a logger, you can use the interface like this:
+
+```php
+<?php
+
+use Psr\Log\LoggerInterface;
+
+class Foo
+{
+ private $logger;
+
+ public function __construct(LoggerInterface $logger = null)
+ {
+ $this->logger = $logger;
+ }
+
+ public function doSomething()
+ {
+ if ($this->logger) {
+ $this->logger->info('Doing work');
+ }
+
+ // do something useful
+ }
+}
+```
+
+You can then pick one of the implementations of the interface to get a logger.
+
+If you want to implement the interface, you can require this package and
+implement `Psr\Log\LoggerInterface` in your code. Please read the
+[specification text](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md)
+for details.
diff --git a/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/composer.json b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/composer.json
new file mode 100644
index 00000000..87934d70
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/googleapi/psr/log/composer.json
@@ -0,0 +1,26 @@
+{
+ "name": "psr/log",
+ "description": "Common interface for logging libraries",
+ "keywords": ["psr", "psr-3", "log"],
+ "homepage": "https://github.com/php-fig/log",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\Log\\": "Psr/Log/"
+ }
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/net/class.smtp.php b/mayor-orig/mayor-base/www/include/share/net/class.smtp.php
new file mode 100644
index 00000000..81a85d08
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/net/class.smtp.php
@@ -0,0 +1,1152 @@
+<?php
+/**
+ * PHPMailer RFC821 SMTP email transport class.
+ * PHP Version 5
+ * @package PHPMailer
+ * @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
+ * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
+ * @author Jim Jagielski (jimjag) <jimjag@gmail.com>
+ * @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
+ * @author Brent R. Matzelle (original founder)
+ * @copyright 2014 Marcus Bointon
+ * @copyright 2010 - 2012 Jim Jagielski
+ * @copyright 2004 - 2009 Andy Prevost
+ * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
+ * @note This program is distributed in the hope that it will be useful - WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+/**
+ * PHPMailer RFC821 SMTP email transport class.
+ * Implements RFC 821 SMTP commands and provides some utility methods for sending mail to an SMTP server.
+ * @package PHPMailer
+ * @author Chris Ryan
+ * @author Marcus Bointon <phpmailer@synchromedia.co.uk>
+ */
+class SMTP
+{
+ /**
+ * The PHPMailer SMTP version number.
+ * @type string
+ */
+ const VERSION = '5.2.9';
+
+ /**
+ * SMTP line break constant.
+ * @type string
+ */
+ const CRLF = "\r\n";
+
+ /**
+ * The SMTP port to use if one is not specified.
+ * @type integer
+ */
+ const DEFAULT_SMTP_PORT = 25;
+
+ /**
+ * The maximum line length allowed by RFC 2822 section 2.1.1
+ * @type integer
+ */
+ const MAX_LINE_LENGTH = 998;
+
+ /**
+ * Debug level for no output
+ */
+ const DEBUG_OFF = 0;
+
+ /**
+ * Debug level to show client -> server messages
+ */
+ const DEBUG_CLIENT = 1;
+
+ /**
+ * Debug level to show client -> server and server -> client messages
+ */
+ const DEBUG_SERVER = 2;
+
+ /**
+ * Debug level to show connection status, client -> server and server -> client messages
+ */
+ const DEBUG_CONNECTION = 3;
+
+ /**
+ * Debug level to show all messages
+ */
+ const DEBUG_LOWLEVEL = 4;
+
+ /**
+ * The PHPMailer SMTP Version number.
+ * @type string
+ * @deprecated Use the `VERSION` constant instead
+ * @see SMTP::VERSION
+ */
+ public $Version = '5.2.9';
+
+ /**
+ * SMTP server port number.
+ * @type integer
+ * @deprecated This is only ever used as a default value, so use the `DEFAULT_SMTP_PORT` constant instead
+ * @see SMTP::DEFAULT_SMTP_PORT
+ */
+ public $SMTP_PORT = 25;
+
+ /**
+ * SMTP reply line ending.
+ * @type string
+ * @deprecated Use the `CRLF` constant instead
+ * @see SMTP::CRLF
+ */
+ public $CRLF = "\r\n";
+
+ /**
+ * Debug output level.
+ * Options:
+ * * self::DEBUG_OFF (`0`) No debug output, default
+ * * self::DEBUG_CLIENT (`1`) Client commands
+ * * self::DEBUG_SERVER (`2`) Client commands and server responses
+ * * self::DEBUG_CONNECTION (`3`) As DEBUG_SERVER plus connection status
+ * * self::DEBUG_LOWLEVEL (`4`) Low-level data output, all messages
+ * @type integer
+ */
+ public $do_debug = self::DEBUG_OFF;
+
+ /**
+ * How to handle debug output.
+ * Options:
+ * * `echo` Output plain-text as-is, appropriate for CLI
+ * * `html` Output escaped, line breaks converted to `<br>`, appropriate for browser output
+ * * `error_log` Output to error log as configured in php.ini
+ *
+ * Alternatively, you can provide a callable expecting two params: a message string and the debug level:
+ * <code>
+ * $smtp->Debugoutput = function($str, $level) {echo "debug level $level; message: $str";};
+ * </code>
+ * @type string|callable
+ */
+ public $Debugoutput = 'echo';
+
+ /**
+ * Whether to use VERP.
+ * @link http://en.wikipedia.org/wiki/Variable_envelope_return_path
+ * @link http://www.postfix.org/VERP_README.html Info on VERP
+ * @type boolean
+ */
+ public $do_verp = false;
+
+ /**
+ * The timeout value for connection, in seconds.
+ * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2
+ * This needs to be quite high to function correctly with hosts using greetdelay as an anti-spam measure.
+ * @link http://tools.ietf.org/html/rfc2821#section-4.5.3.2
+ * @type integer
+ */
+ public $Timeout = 300;
+
+ /**
+ * How long to wait for commands to complete, in seconds.
+ * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2
+ * @type integer
+ */
+ public $Timelimit = 300;
+
+ /**
+ * The socket for the server connection.
+ * @type resource
+ */
+ protected $smtp_conn;
+
+ /**
+ * Error information, if any, for the last SMTP command.
+ * @type array
+ */
+ protected $error = array(
+ 'error' => '',
+ 'detail' => '',
+ 'smtp_code' => '',
+ 'smtp_code_ex' => ''
+ );
+
+ /**
+ * The reply the server sent to us for HELO.
+ * If null, no HELO string has yet been received.
+ * @type string|null
+ */
+ protected $helo_rply = null;
+
+ /**
+ * The set of SMTP extensions sent in reply to EHLO command.
+ * Indexes of the array are extension names.
+ * Value at index 'HELO' or 'EHLO' (according to command that was sent)
+ * represents the server name. In case of HELO it is the only element of the array.
+ * Other values can be boolean TRUE or an array containing extension options.
+ * If null, no HELO/EHLO string has yet been received.
+ * @type array|null
+ */
+ protected $server_caps = null;
+
+ /**
+ * The most recent reply received from the server.
+ * @type string
+ */
+ protected $last_reply = '';
+
+ /**
+ * Output debugging info via a user-selected method.
+ * @see SMTP::$Debugoutput
+ * @see SMTP::$do_debug
+ * @param string $str Debug string to output
+ * @param integer $level The debug level of this message; see DEBUG_* constants
+ * @return void
+ */
+ protected function edebug($str, $level = 0)
+ {
+ if ($level > $this->do_debug) {
+ return;
+ }
+ //Avoid clash with built-in function names
+ if (!in_array($this->Debugoutput, array('error_log', 'html', 'echo')) and is_callable($this->Debugoutput)) {
+ call_user_func($this->Debugoutput, $str, $this->do_debug);
+ return;
+ }
+ switch ($this->Debugoutput) {
+ case 'error_log':
+ //Don't output, just log
+ error_log($str);
+ break;
+ case 'html':
+ //Cleans up output a bit for a better looking, HTML-safe output
+ echo htmlentities(
+ preg_replace('/[\r\n]+/', '', $str),
+ ENT_QUOTES,
+ 'UTF-8'
+ )
+ . "<br>\n";
+ break;
+ case 'echo':
+ default:
+ //Normalize line breaks
+ $str = preg_replace('/(\r\n|\r|\n)/ms', "\n", $str);
+ echo gmdate('Y-m-d H:i:s') . "\t" . str_replace(
+ "\n",
+ "\n \t ",
+ trim($str)
+ )."\n";
+ }
+ }
+
+ /**
+ * Connect to an SMTP server.
+ * @param string $host SMTP server IP or host name
+ * @param integer $port The port number to connect to
+ * @param integer $timeout How long to wait for the connection to open
+ * @param array $options An array of options for stream_context_create()
+ * @access public
+ * @return boolean
+ */
+ public function connect($host, $port = null, $timeout = 30, $options = array())
+ {
+ static $streamok;
+ //This is enabled by default since 5.0.0 but some providers disable it
+ //Check this once and cache the result
+ if (is_null($streamok)) {
+ $streamok = function_exists('stream_socket_client');
+ }
+ // Clear errors to avoid confusion
+ $this->setError('');
+ // Make sure we are __not__ connected
+ if ($this->connected()) {
+ // Already connected, generate error
+ $this->setError('Already connected to a server');
+ return false;
+ }
+ if (empty($port)) {
+ $port = self::DEFAULT_SMTP_PORT;
+ }
+ // Connect to the SMTP server
+ $this->edebug(
+ "Connection: opening to $host:$port, t=$timeout, opt=".var_export($options, true),
+ self::DEBUG_CONNECTION
+ );
+ $errno = 0;
+ $errstr = '';
+ if ($streamok) {
+ $socket_context = stream_context_create($options);
+ //Suppress errors; connection failures are handled at a higher level
+ $this->smtp_conn = @stream_socket_client(
+ $host . ":" . $port,
+ $errno,
+ $errstr,
+ $timeout,
+ STREAM_CLIENT_CONNECT,
+ $socket_context
+ );
+ } else {
+ //Fall back to fsockopen which should work in more places, but is missing some features
+ $this->edebug(
+ "Connection: stream_socket_client not available, falling back to fsockopen",
+ self::DEBUG_CONNECTION
+ );
+ $this->smtp_conn = fsockopen(
+ $host,
+ $port,
+ $errno,
+ $errstr,
+ $timeout
+ );
+ }
+ // Verify we connected properly
+ if (!is_resource($this->smtp_conn)) {
+ $this->setError(
+ 'Failed to connect to server',
+ $errno,
+ $errstr
+ );
+ $this->edebug(
+ 'SMTP ERROR: ' . $this->error['error']
+ . ": $errstr ($errno)",
+ self::DEBUG_CLIENT
+ );
+ return false;
+ }
+ $this->edebug('Connection: opened', self::DEBUG_CONNECTION);
+ // SMTP server can take longer to respond, give longer timeout for first read
+ // Windows does not have support for this timeout function
+ if (substr(PHP_OS, 0, 3) != 'WIN') {
+ $max = ini_get('max_execution_time');
+ // Don't bother if unlimited
+ if ($max != 0 && $timeout > $max) {
+ @set_time_limit($timeout);
+ }
+ stream_set_timeout($this->smtp_conn, $timeout, 0);
+ }
+ // Get any announcement
+ $announce = $this->get_lines();
+ $this->edebug('SERVER -> CLIENT: ' . $announce, self::DEBUG_SERVER);
+ return true;
+ }
+
+ /**
+ * Initiate a TLS (encrypted) session.
+ * @access public
+ * @return boolean
+ */
+ public function startTLS()
+ {
+ if (!$this->sendCommand('STARTTLS', 'STARTTLS', 220)) {
+ return false;
+ }
+ // Begin encrypted connection
+ if (!stream_socket_enable_crypto(
+ $this->smtp_conn,
+ true,
+ STREAM_CRYPTO_METHOD_TLS_CLIENT
+ )) {
+ return false;
+ }
+ return true;
+ }
+
+ /**
+ * Perform SMTP authentication.
+ * Must be run after hello().
+ * @see hello()
+ * @param string $username The user name
+ * @param string $password The password
+ * @param string $authtype The auth type (PLAIN, LOGIN, NTLM, CRAM-MD5)
+ * @param string $realm The auth realm for NTLM
+ * @param string $workstation The auth workstation for NTLM
+ * @access public
+ * @return boolean True if successfully authenticated.
+ */
+ public function authenticate(
+ $username,
+ $password,
+ $authtype = null,
+ $realm = '',
+ $workstation = ''
+ ) {
+ if (!$this->server_caps) {
+ $this->setError('Authentication is not allowed before HELO/EHLO');
+ return false;
+ }
+
+ if (array_key_exists('EHLO', $this->server_caps)) {
+ // SMTP extensions are available. Let's try to find a proper authentication method
+
+ if (!array_key_exists('AUTH', $this->server_caps)) {
+ $this->setError('Authentication is not allowed at this stage');
+ // 'at this stage' means that auth may be allowed after the stage changes
+ // e.g. after STARTTLS
+ return false;
+ }
+
+ self::edebug('Auth method requested: ' . ($authtype ? $authtype : 'UNKNOWN'), self::DEBUG_LOWLEVEL);
+ self::edebug(
+ 'Auth methods available on the server: ' . implode(',', $this->server_caps['AUTH']),
+ self::DEBUG_LOWLEVEL
+ );
+
+ if (empty($authtype)) {
+ foreach (array('LOGIN', 'CRAM-MD5', 'NTLM', 'PLAIN') as $method) {
+ if (in_array($method, $this->server_caps['AUTH'])) {
+ $authtype = $method;
+ break;
+ }
+ }
+ if (empty($authtype)) {
+ $this->setError('No supported authentication methods found');
+ return false;
+ }
+ self::edebug('Auth method selected: '.$authtype, self::DEBUG_LOWLEVEL);
+ }
+
+ if (!in_array($authtype, $this->server_caps['AUTH'])) {
+ $this->setError("The requested authentication method \"$authtype\" is not supported by the server");
+ return false;
+ }
+ } elseif (empty($authtype)) {
+ $authtype = 'LOGIN';
+ }
+ switch ($authtype) {
+ case 'PLAIN':
+ // Start authentication
+ if (!$this->sendCommand('AUTH', 'AUTH PLAIN', 334)) {
+ return false;
+ }
+ // Send encoded username and password
+ if (!$this->sendCommand(
+ 'User & Password',
+ base64_encode("\0" . $username . "\0" . $password),
+ 235
+ )
+ ) {
+ return false;
+ }
+ break;
+ case 'LOGIN':
+ // Start authentication
+ if (!$this->sendCommand('AUTH', 'AUTH LOGIN', 334)) {
+ return false;
+ }
+ if (!$this->sendCommand("Username", base64_encode($username), 334)) {
+ return false;
+ }
+ if (!$this->sendCommand("Password", base64_encode($password), 235)) {
+ return false;
+ }
+ break;
+ case 'NTLM':
+ /*
+ * ntlm_sasl_client.php
+ * Bundled with Permission
+ *
+ * How to telnet in windows:
+ * http://technet.microsoft.com/en-us/library/aa995718%28EXCHG.65%29.aspx
+ * PROTOCOL Docs http://curl.haxx.se/rfc/ntlm.html#ntlmSmtpAuthentication
+ */
+ require_once 'extras/ntlm_sasl_client.php';
+ $temp = new stdClass;
+ $ntlm_client = new ntlm_sasl_client_class;
+ //Check that functions are available
+ if (!$ntlm_client->Initialize($temp)) {
+ $this->setError($temp->error);
+ $this->edebug(
+ 'You need to enable some modules in your php.ini file: '
+ . $this->error['error'],
+ self::DEBUG_CLIENT
+ );
+ return false;
+ }
+ //msg1
+ $msg1 = $ntlm_client->TypeMsg1($realm, $workstation); //msg1
+
+ if (!$this->sendCommand(
+ 'AUTH NTLM',
+ 'AUTH NTLM ' . base64_encode($msg1),
+ 334
+ )
+ ) {
+ return false;
+ }
+ //Though 0 based, there is a white space after the 3 digit number
+ //msg2
+ $challenge = substr($this->last_reply, 3);
+ $challenge = base64_decode($challenge);
+ $ntlm_res = $ntlm_client->NTLMResponse(
+ substr($challenge, 24, 8),
+ $password
+ );
+ //msg3
+ $msg3 = $ntlm_client->TypeMsg3(
+ $ntlm_res,
+ $username,
+ $realm,
+ $workstation
+ );
+ // send encoded username
+ return $this->sendCommand('Username', base64_encode($msg3), 235);
+ case 'CRAM-MD5':
+ // Start authentication
+ if (!$this->sendCommand('AUTH CRAM-MD5', 'AUTH CRAM-MD5', 334)) {
+ return false;
+ }
+ // Get the challenge
+ $challenge = base64_decode(substr($this->last_reply, 4));
+
+ // Build the response
+ $response = $username . ' ' . $this->hmac($challenge, $password);
+
+ // send encoded credentials
+ return $this->sendCommand('Username', base64_encode($response), 235);
+ default:
+ $this->setError("Authentication method \"$authtype\" is not supported");
+ return false;
+ }
+ return true;
+ }
+
+ /**
+ * Calculate an MD5 HMAC hash.
+ * Works like hash_hmac('md5', $data, $key)
+ * in case that function is not available
+ * @param string $data The data to hash
+ * @param string $key The key to hash with
+ * @access protected
+ * @return string
+ */
+ protected function hmac($data, $key)
+ {
+ if (function_exists('hash_hmac')) {
+ return hash_hmac('md5', $data, $key);
+ }
+
+ // The following borrowed from
+ // http://php.net/manual/en/function.mhash.php#27225
+
+ // RFC 2104 HMAC implementation for php.
+ // Creates an md5 HMAC.
+ // Eliminates the need to install mhash to compute a HMAC
+ // by Lance Rushing
+
+ $bytelen = 64; // byte length for md5
+ if (strlen($key) > $bytelen) {
+ $key = pack('H*', md5($key));
+ }
+ $key = str_pad($key, $bytelen, chr(0x00));
+ $ipad = str_pad('', $bytelen, chr(0x36));
+ $opad = str_pad('', $bytelen, chr(0x5c));
+ $k_ipad = $key ^ $ipad;
+ $k_opad = $key ^ $opad;
+
+ return md5($k_opad . pack('H*', md5($k_ipad . $data)));
+ }
+
+ /**
+ * Check connection state.
+ * @access public
+ * @return boolean True if connected.
+ */
+ public function connected()
+ {
+ if (is_resource($this->smtp_conn)) {
+ $sock_status = stream_get_meta_data($this->smtp_conn);
+ if ($sock_status['eof']) {
+ // The socket is valid but we are not connected
+ $this->edebug(
+ 'SMTP NOTICE: EOF caught while checking if connected',
+ self::DEBUG_CLIENT
+ );
+ $this->close();
+ return false;
+ }
+ return true; // everything looks good
+ }
+ return false;
+ }
+
+ /**
+ * Close the socket and clean up the state of the class.
+ * Don't use this function without first trying to use QUIT.
+ * @see quit()
+ * @access public
+ * @return void
+ */
+ public function close()
+ {
+ $this->setError('');
+ $this->server_caps = null;
+ $this->helo_rply = null;
+ if (is_resource($this->smtp_conn)) {
+ // close the connection and cleanup
+ fclose($this->smtp_conn);
+ $this->smtp_conn = null; //Makes for cleaner serialization
+ $this->edebug('Connection: closed', self::DEBUG_CONNECTION);
+ }
+ }
+
+ /**
+ * Send an SMTP DATA command.
+ * Issues a data command and sends the msg_data to the server,
+ * finializing the mail transaction. $msg_data is the message
+ * that is to be send with the headers. Each header needs to be
+ * on a single line followed by a <CRLF> with the message headers
+ * and the message body being separated by and additional <CRLF>.
+ * Implements rfc 821: DATA <CRLF>
+ * @param string $msg_data Message data to send
+ * @access public
+ * @return boolean
+ */
+ public function data($msg_data)
+ {
+ //This will use the standard timelimit
+ if (!$this->sendCommand('DATA', 'DATA', 354)) {
+ return false;
+ }
+
+ /* The server is ready to accept data!
+ * According to rfc821 we should not send more than 1000 characters on a single line (including the CRLF)
+ * so we will break the data up into lines by \r and/or \n then if needed we will break each of those into
+ * smaller lines to fit within the limit.
+ * We will also look for lines that start with a '.' and prepend an additional '.'.
+ * NOTE: this does not count towards line-length limit.
+ */
+
+ // Normalize line breaks before exploding
+ $lines = explode("\n", str_replace(array("\r\n", "\r"), "\n", $msg_data));
+
+ /* To distinguish between a complete RFC822 message and a plain message body, we check if the first field
+ * of the first line (':' separated) does not contain a space then it _should_ be a header and we will
+ * process all lines before a blank line as headers.
+ */
+
+ $field = substr($lines[0], 0, strpos($lines[0], ':'));
+ $in_headers = false;
+ if (!empty($field) && strpos($field, ' ') === false) {
+ $in_headers = true;
+ }
+
+ foreach ($lines as $line) {
+ $lines_out = array();
+ if ($in_headers and $line == '') {
+ $in_headers = false;
+ }
+ //Break this line up into several smaller lines if it's too long
+ //Micro-optimisation: isset($str[$len]) is faster than (strlen($str) > $len),
+ while (isset($line[self::MAX_LINE_LENGTH])) {
+ //Working backwards, try to find a space within the last MAX_LINE_LENGTH chars of the line to break on
+ //so as to avoid breaking in the middle of a word
+ $pos = strrpos(substr($line, 0, self::MAX_LINE_LENGTH), ' ');
+ //Deliberately matches both false and 0
+ if (!$pos) {
+ //No nice break found, add a hard break
+ $pos = self::MAX_LINE_LENGTH - 1;
+ $lines_out[] = substr($line, 0, $pos);
+ $line = substr($line, $pos);
+ } else {
+ //Break at the found point
+ $lines_out[] = substr($line, 0, $pos);
+ //Move along by the amount we dealt with
+ $line = substr($line, $pos + 1);
+ }
+ //If processing headers add a LWSP-char to the front of new line RFC822 section 3.1.1
+ if ($in_headers) {
+ $line = "\t" . $line;
+ }
+ }
+ $lines_out[] = $line;
+
+ //Send the lines to the server
+ foreach ($lines_out as $line_out) {
+ //RFC2821 section 4.5.2
+ if (!empty($line_out) and $line_out[0] == '.') {
+ $line_out = '.' . $line_out;
+ }
+ $this->client_send($line_out . self::CRLF);
+ }
+ }
+
+ //Message data has been sent, complete the command
+ //Increase timelimit for end of DATA command
+ $savetimelimit = $this->Timelimit;
+ $this->Timelimit = $this->Timelimit * 2;
+ $result = $this->sendCommand('DATA END', '.', 250);
+ //Restore timelimit
+ $this->Timelimit = $savetimelimit;
+ return $result;
+ }
+
+ /**
+ * Send an SMTP HELO or EHLO command.
+ * Used to identify the sending server to the receiving server.
+ * This makes sure that client and server are in a known state.
+ * Implements RFC 821: HELO <SP> <domain> <CRLF>
+ * and RFC 2821 EHLO.
+ * @param string $host The host name or IP to connect to
+ * @access public
+ * @return boolean
+ */
+ public function hello($host = '')
+ {
+ //Try extended hello first (RFC 2821)
+ return (boolean)($this->sendHello('EHLO', $host) or $this->sendHello('HELO', $host));
+ }
+
+ /**
+ * Send an SMTP HELO or EHLO command.
+ * Low-level implementation used by hello()
+ * @see hello()
+ * @param string $hello The HELO string
+ * @param string $host The hostname to say we are
+ * @access protected
+ * @return boolean
+ */
+ protected function sendHello($hello, $host)
+ {
+ $noerror = $this->sendCommand($hello, $hello . ' ' . $host, 250);
+ $this->helo_rply = $this->last_reply;
+ if ($noerror) {
+ $this->parseHelloFields($hello);
+ } else {
+ $this->server_caps = null;
+ }
+ return $noerror;
+ }
+
+ /**
+ * Parse a reply to HELO/EHLO command to discover server extensions.
+ * In case of HELO, the only parameter that can be discovered is a server name.
+ * @access protected
+ * @param string $type - 'HELO' or 'EHLO'
+ */
+ protected function parseHelloFields($type)
+ {
+ $this->server_caps = array();
+ $lines = explode("\n", $this->last_reply);
+ foreach ($lines as $n => $s) {
+ $s = trim(substr($s, 4));
+ if (!$s) {
+ continue;
+ }
+ $fields = explode(' ', $s);
+ if (!empty($fields)) {
+ if (!$n) {
+ $name = $type;
+ $fields = $fields[0];
+ } else {
+ $name = array_shift($fields);
+ if ($name == 'SIZE') {
+ $fields = ($fields) ? $fields[0] : 0;
+ }
+ }
+ $this->server_caps[$name] = ($fields ? $fields : true);
+ }
+ }
+ }
+
+ /**
+ * Send an SMTP MAIL command.
+ * Starts a mail transaction from the email address specified in
+ * $from. Returns true if successful or false otherwise. If True
+ * the mail transaction is started and then one or more recipient
+ * commands may be called followed by a data command.
+ * Implements rfc 821: MAIL <SP> FROM:<reverse-path> <CRLF>
+ * @param string $from Source address of this message
+ * @access public
+ * @return boolean
+ */
+ public function mail($from)
+ {
+ $useVerp = ($this->do_verp ? ' XVERP' : '');
+ return $this->sendCommand(
+ 'MAIL FROM',
+ 'MAIL FROM:<' . $from . '>' . $useVerp,
+ 250
+ );
+ }
+
+ /**
+ * Send an SMTP QUIT command.
+ * Closes the socket if there is no error or the $close_on_error argument is true.
+ * Implements from rfc 821: QUIT <CRLF>
+ * @param boolean $close_on_error Should the connection close if an error occurs?
+ * @access public
+ * @return boolean
+ */
+ public function quit($close_on_error = true)
+ {
+ $noerror = $this->sendCommand('QUIT', 'QUIT', 221);
+ $err = $this->error; //Save any error
+ if ($noerror or $close_on_error) {
+ $this->close();
+ $this->error = $err; //Restore any error from the quit command
+ }
+ return $noerror;
+ }
+
+ /**
+ * Send an SMTP RCPT command.
+ * Sets the TO argument to $toaddr.
+ * Returns true if the recipient was accepted false if it was rejected.
+ * Implements from rfc 821: RCPT <SP> TO:<forward-path> <CRLF>
+ * @param string $toaddr The address the message is being sent to
+ * @access public
+ * @return boolean
+ */
+ public function recipient($toaddr)
+ {
+ return $this->sendCommand(
+ 'RCPT TO',
+ 'RCPT TO:<' . $toaddr . '>',
+ array(250, 251)
+ );
+ }
+
+ /**
+ * Send an SMTP RSET command.
+ * Abort any transaction that is currently in progress.
+ * Implements rfc 821: RSET <CRLF>
+ * @access public
+ * @return boolean True on success.
+ */
+ public function reset()
+ {
+ return $this->sendCommand('RSET', 'RSET', 250);
+ }
+
+ /**
+ * Send a command to an SMTP server and check its return code.
+ * @param string $command The command name - not sent to the server
+ * @param string $commandstring The actual command to send
+ * @param integer|array $expect One or more expected integer success codes
+ * @access protected
+ * @return boolean True on success.
+ */
+ protected function sendCommand($command, $commandstring, $expect)
+ {
+ if (!$this->connected()) {
+ $this->setError("Called $command without being connected");
+ return false;
+ }
+ $this->client_send($commandstring . self::CRLF);
+
+ $this->last_reply = $this->get_lines();
+ // Fetch SMTP code and possible error code explanation
+ $matches = array();
+ if (preg_match("/^([0-9]{3})[ -](?:([0-9]\\.[0-9]\\.[0-9]) )?/", $this->last_reply, $matches)) {
+ $code = $matches[1];
+ $code_ex = (count($matches) > 2 ? $matches[2] : null);
+ // Cut off error code from each response line
+ $detail = preg_replace(
+ "/{$code}[ -]".($code_ex ? str_replace('.', '\\.', $code_ex).' ' : '')."/m",
+ '',
+ $this->last_reply
+ );
+ } else {
+ // Fall back to simple parsing if regex fails
+ $code = substr($this->last_reply, 0, 3);
+ $code_ex = null;
+ $detail = substr($this->last_reply, 4);
+ }
+
+ $this->edebug('SERVER -> CLIENT: ' . $this->last_reply, self::DEBUG_SERVER);
+
+ if (!in_array($code, (array)$expect)) {
+ $this->setError(
+ "$command command failed",
+ $detail,
+ $code,
+ $code_ex
+ );
+ $this->edebug(
+ 'SMTP ERROR: ' . $this->error['error'] . ': ' . $this->last_reply,
+ self::DEBUG_CLIENT
+ );
+ return false;
+ }
+
+ $this->setError('');
+ return true;
+ }
+
+ /**
+ * Send an SMTP SAML command.
+ * Starts a mail transaction from the email address specified in $from.
+ * Returns true if successful or false otherwise. If True
+ * the mail transaction is started and then one or more recipient
+ * commands may be called followed by a data command. This command
+ * will send the message to the users terminal if they are logged
+ * in and send them an email.
+ * Implements rfc 821: SAML <SP> FROM:<reverse-path> <CRLF>
+ * @param string $from The address the message is from
+ * @access public
+ * @return boolean
+ */
+ public function sendAndMail($from)
+ {
+ return $this->sendCommand('SAML', "SAML FROM:$from", 250);
+ }
+
+ /**
+ * Send an SMTP VRFY command.
+ * @param string $name The name to verify
+ * @access public
+ * @return boolean
+ */
+ public function verify($name)
+ {
+ return $this->sendCommand('VRFY', "VRFY $name", array(250, 251));
+ }
+
+ /**
+ * Send an SMTP NOOP command.
+ * Used to keep keep-alives alive, doesn't actually do anything
+ * @access public
+ * @return boolean
+ */
+ public function noop()
+ {
+ return $this->sendCommand('NOOP', 'NOOP', 250);
+ }
+
+ /**
+ * Send an SMTP TURN command.
+ * This is an optional command for SMTP that this class does not support.
+ * This method is here to make the RFC821 Definition complete for this class
+ * and _may_ be implemented in future
+ * Implements from rfc 821: TURN <CRLF>
+ * @access public
+ * @return boolean
+ */
+ public function turn()
+ {
+ $this->setError('The SMTP TURN command is not implemented');
+ $this->edebug('SMTP NOTICE: ' . $this->error['error'], self::DEBUG_CLIENT);
+ return false;
+ }
+
+ /**
+ * Send raw data to the server.
+ * @param string $data The data to send
+ * @access public
+ * @return integer|boolean The number of bytes sent to the server or false on error
+ */
+ public function client_send($data)
+ {
+ $this->edebug("CLIENT -> SERVER: $data", self::DEBUG_CLIENT);
+ return fwrite($this->smtp_conn, $data);
+ }
+
+ /**
+ * Get the latest error.
+ * @access public
+ * @return array
+ */
+ public function getError()
+ {
+ return $this->error;
+ }
+
+ /**
+ * Get SMTP extensions available on the server
+ * @access public
+ * @return array|null
+ */
+ public function getServerExtList()
+ {
+ return $this->server_caps;
+ }
+
+ /**
+ * A multipurpose method
+ * The method works in three ways, dependent on argument value and current state
+ * 1. HELO/EHLO was not sent - returns null and set up $this->error
+ * 2. HELO was sent
+ * $name = 'HELO': returns server name
+ * $name = 'EHLO': returns boolean false
+ * $name = any string: returns null and set up $this->error
+ * 3. EHLO was sent
+ * $name = 'HELO'|'EHLO': returns server name
+ * $name = any string: if extension $name exists, returns boolean True
+ * or its options. Otherwise returns boolean False
+ * In other words, one can use this method to detect 3 conditions:
+ * - null returned: handshake was not or we don't know about ext (refer to $this->error)
+ * - false returned: the requested feature exactly not exists
+ * - positive value returned: the requested feature exists
+ * @param string $name Name of SMTP extension or 'HELO'|'EHLO'
+ * @return mixed
+ */
+ public function getServerExt($name)
+ {
+ if (!$this->server_caps) {
+ $this->setError('No HELO/EHLO was sent');
+ return null;
+ }
+
+ // the tight logic knot ;)
+ if (!array_key_exists($name, $this->server_caps)) {
+ if ($name == 'HELO') {
+ return $this->server_caps['EHLO'];
+ }
+ if ($name == 'EHLO' || array_key_exists('EHLO', $this->server_caps)) {
+ return false;
+ }
+ $this->setError('HELO handshake was used. Client knows nothing about server extensions');
+ return null;
+ }
+
+ return $this->server_caps[$name];
+ }
+
+ /**
+ * Get the last reply from the server.
+ * @access public
+ * @return string
+ */
+ public function getLastReply()
+ {
+ return $this->last_reply;
+ }
+
+ /**
+ * Read the SMTP server's response.
+ * Either before eof or socket timeout occurs on the operation.
+ * With SMTP we can tell if we have more lines to read if the
+ * 4th character is '-' symbol. If it is a space then we don't
+ * need to read anything else.
+ * @access protected
+ * @return string
+ */
+ protected function get_lines()
+ {
+ // If the connection is bad, give up straight away
+ if (!is_resource($this->smtp_conn)) {
+ return '';
+ }
+ $data = '';
+ $endtime = 0;
+ stream_set_timeout($this->smtp_conn, $this->Timeout);
+ if ($this->Timelimit > 0) {
+ $endtime = time() + $this->Timelimit;
+ }
+ while (is_resource($this->smtp_conn) && !feof($this->smtp_conn)) {
+ $str = @fgets($this->smtp_conn, 515);
+ $this->edebug("SMTP -> get_lines(): \$data was \"$data\"", self::DEBUG_LOWLEVEL);
+ $this->edebug("SMTP -> get_lines(): \$str is \"$str\"", self::DEBUG_LOWLEVEL);
+ $data .= $str;
+ $this->edebug("SMTP -> get_lines(): \$data is \"$data\"", self::DEBUG_LOWLEVEL);
+ // If 4th character is a space, we are done reading, break the loop, micro-optimisation over strlen
+ if ((isset($str[3]) and $str[3] == ' ')) {
+ break;
+ }
+ // Timed-out? Log and break
+ $info = stream_get_meta_data($this->smtp_conn);
+ if ($info['timed_out']) {
+ $this->edebug(
+ 'SMTP -> get_lines(): timed-out (' . $this->Timeout . ' sec)',
+ self::DEBUG_LOWLEVEL
+ );
+ break;
+ }
+ // Now check if reads took too long
+ if ($endtime and time() > $endtime) {
+ $this->edebug(
+ 'SMTP -> get_lines(): timelimit reached ('.
+ $this->Timelimit . ' sec)',
+ self::DEBUG_LOWLEVEL
+ );
+ break;
+ }
+ }
+ return $data;
+ }
+
+ /**
+ * Enable or disable VERP address generation.
+ * @param boolean $enabled
+ */
+ public function setVerp($enabled = false)
+ {
+ $this->do_verp = $enabled;
+ }
+
+ /**
+ * Get VERP address generation mode.
+ * @return boolean
+ */
+ public function getVerp()
+ {
+ return $this->do_verp;
+ }
+
+ /**
+ * Set error messages and codes.
+ * @param string $message The error message
+ * @param string $detail Further detail on the error
+ * @param string $smtp_code An associated SMTP error code
+ * @param string $smtp_code_ex Extended SMTP code
+ */
+ protected function setError($message, $detail = '', $smtp_code = '', $smtp_code_ex = '')
+ {
+ $this->error = array(
+ 'error' => $message,
+ 'detail' => $detail,
+ 'smtp_code' => $smtp_code,
+ 'smtp_code_ex' => $smtp_code_ex
+ );
+ }
+
+ /**
+ * Set debug output method.
+ * @param string|callable $method The name of the mechanism to use for debugging output, or a callable to handle it.
+ */
+ public function setDebugOutput($method = 'echo')
+ {
+ $this->Debugoutput = $method;
+ }
+
+ /**
+ * Get debug output method.
+ * @return string
+ */
+ public function getDebugOutput()
+ {
+ return $this->Debugoutput;
+ }
+
+ /**
+ * Set debug output level.
+ * @param integer $level
+ */
+ public function setDebugLevel($level = 0)
+ {
+ $this->do_debug = $level;
+ }
+
+ /**
+ * Get debug output level.
+ * @return integer
+ */
+ public function getDebugLevel()
+ {
+ return $this->do_debug;
+ }
+
+ /**
+ * Set SMTP timeout.
+ * @param integer $timeout
+ */
+ public function setTimeout($timeout = 0)
+ {
+ $this->Timeout = $timeout;
+ }
+
+ /**
+ * Get SMTP timeout.
+ * @return integer
+ */
+ public function getTimeout()
+ {
+ return $this->Timeout;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/net/facebook.php b/mayor-orig/mayor-base/www/include/share/net/facebook.php
new file mode 100644
index 00000000..74721a0a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/net/facebook.php
@@ -0,0 +1,70 @@
+<?php
+
+//__FBCONNECT_ENABLED===true
+
+function mayorFacebookAuth() {
+
+ if (__FBCONNECT_ENABLED !== true ) return false;
+
+ if (version_compare(PHP_VERSION, '5.4.0', '<')) {
+ $_SESSION['alert'][] = 'info::facebook:szerver konfigurációs hiba, legalább 5.4-es php verzió szükséges!';
+ return false;
+ } else {
+ /* facebook login start */
+ require_once ('include/share/facebook/autoload.php');
+ $fb = new Facebook\Facebook(array(
+ 'app_id' => __FB_APP_ID,
+ 'app_secret' => __FB_APP_SECRET,
+ 'default_graph_version' => 'v2.5',
+ ));
+ $helper = $fb->getJavaScriptHelper();
+ try {
+ $accessToken = $helper->getAccessToken();
+ } catch(Facebook\Exceptions\FacebookResponseException $e) {
+ // When Graph returns an error
+ $_SESSION['alert'][] = 'info::facebook gráf hiba: ' . $e->getMessage();
+ } catch(Facebook\Exceptions\FacebookSDKException $e) {
+ // When validation fails or other local issues
+ $_SESSION['alert'][] = 'info::facebook SDK hiba: ' . $e->getMessage();
+ }
+ if (isset($accessToken)) {
+ $_SESSION['facebook_access_token'] = (string) $accessToken;
+ $_SESSION['facebook_access_token_object'] = $accessToken;
+ try {
+ $response = $fb->get('/me?fields=id,name,email',$accessToken);
+ $userNode = $response->getGraphUser();
+ $fbUserId = $userNode->getField('id');
+ //$fbUserCn = $userNode->getField('name');
+ //$fbUserEmail = $userNode->getField('email');
+ } catch (Facebook\Exceptions\FacebookSDKException $e) {
+ $_SESSION['alert'][] = 'info::facebook gráf hiba: ' . $e->getMessage();
+ return false;
+ }
+ /* mayor auth start */
+ $accountInformation=array();
+ $toPolicy = 'public';
+ $data = getUserByFbUserId($fbUserId);
+ if ($data === false) {
+ $_SESSION['alert'][] = 'info:Nincs ilyen user (még) a MaYoR-ral összekötve, kérjük jelentkezz be jelszóval!';
+ } elseif (is_array($data)) {
+ // Ha van, akkor ki az? Mert ő bemehet.
+ return array('userAccount'=>$data['userAccount'],'toPolicy'=>$data['policy'],'fbUserEmail'=>$data['fbUserEmail'],'studyId'=>$data['studyId'],'fbUserCn'=>$data['fbUserCn'],'accessToken'=>$accessToken);
+ }
+ /* mayor auth stop */
+ } else {
+ $_SESSION['alert'][] = 'info::facebook:nem érvényes accessToken';
+ }
+ /* facebook login stop */
+ }
+ return false;
+}
+
+function getUserByFbUserId($fbUserId) {
+ if ($fbUserId=='') return false;
+ $q = "SELECT * FROM facebookConnect WHERE fbUserId='%s' ORDER BY policy LIMIT 1";
+ $v = array('fbUserId'=>$fbUserId);
+ $record = db_query($q,array('fv'=>'getUserByFbUserId','modul'=>'login','result'=>'record','values'=>$v));
+ return $record;
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/share/net/googleapi.php b/mayor-orig/mayor-base/www/include/share/net/googleapi.php
new file mode 100644
index 00000000..bfe3642d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/net/googleapi.php
@@ -0,0 +1,65 @@
+<?php
+
+//__GOOGLEAPI_ENABLED===true
+
+function mayorGoogleApiAuth() {
+
+ if (__GOOGLEAPI_ENABLED !== true ) return false;
+
+ if (version_compare(PHP_VERSION, '5.4.0', '<')) {
+ $_SESSION['alert'][] = 'info::googleapi:szerver konfigurációs hiba, legalább 5.4-es php verzió szükséges!';
+ return false;
+ } else {
+ /* google login start */
+ require_once ('include/share/googleapi/autoload.php');
+
+ $redirect_uri = _BASE_URL.'/index.php?action=googleapilogin';
+ $client = new Google_Client();
+ //$client->setAuthConfig($oauth_credentials);
+ $client->setClientId(__GOOGLEAPI_CLIENT_ID);
+ $client->setClientSecret(__GOOGLEAPI_CLIENT_SECRET);
+ $client->setRedirectUri($redirect_uri);
+ $client->setScopes('email');
+
+ try {
+ $payload = $client->verifyIdToken($_GET['id_token']);
+ } catch(Exception $e) {
+ $_SESSION['alert'][] = 'info::googleapi SDK hiba: ' . $e->getMessage();
+ }
+ if (isset($payload['sub'])) { // subject
+ $_SESSION['googleapi_object'] = $payload;
+ // mayor auth start
+ $accountInformation=array();
+ $toPolicy = 'public';
+ $data = getUserByGoogleSub($payload['sub']); // subject=google user id
+ if ($data === false) {
+ $_SESSION['alert'][] = 'info:Nincs ilyen user (még) a MaYoR-ral összekötve, kérjük jelentkezz be jelszóval!';
+ } elseif (is_array($data)) {
+ // Ha van, akkor ki az? Mert ő bemehet.
+ setGoogleToken($payload['sub'],$_GET['id_token']); // a verifyIdToken igazolja
+ return array('userAccount'=>$data['userAccount'],'toPolicy'=>$data['policy'],'googleUserEmail'=>$data['googleUserEmail'],'studyId'=>$data['studyId'],'googleUserCn'=>$data['googleUserCn'],'accessToken'=>$accessToken);
+ }
+ /* mayor auth stop */
+ } else {
+ $_SESSION['alert'][] = 'info::googleapi:nem érvényes accessToken';
+ }
+ /* googleapi login stop */
+ }
+ return false;
+}
+
+function getUserByGoogleSub($googleSub) {
+ if ($googleSub=='') return false;
+ $q = "SELECT * FROM googleConnect WHERE googleSub='%s' ORDER BY policy LIMIT 1";
+ $v = array($googleSub);
+ $record = db_query($q,array('fv'=>'getUserByGoogleSub','modul'=>'login','result'=>'record','values'=>$v));
+ return $record;
+}
+
+function setGoogleToken($googleSub, $id_token) {
+ if ($googleSub=='') return false;
+ if ($id_token=='') return false;
+ $_SESSION['googleapi_id_token'] = $id_token;
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/share/net/phpmailer.php b/mayor-orig/mayor-base/www/include/share/net/phpmailer.php
new file mode 100644
index 00000000..5bbaec78
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/net/phpmailer.php
@@ -0,0 +1,3552 @@
+<?php
+/**
+ * PHPMailer - PHP email creation and transport class.
+ * PHP Version 5
+ * @package PHPMailer
+ * @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
+ * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
+ * @author Jim Jagielski (jimjag) <jimjag@gmail.com>
+ * @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
+ * @author Brent R. Matzelle (original founder)
+ * @copyright 2012 - 2014 Marcus Bointon
+ * @copyright 2010 - 2012 Jim Jagielski
+ * @copyright 2004 - 2009 Andy Prevost
+ * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
+ * @note This program is distributed in the hope that it will be useful - WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+/**
+ * PHPMailer - PHP email creation and transport class.
+ * @package PHPMailer
+ * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
+ * @author Jim Jagielski (jimjag) <jimjag@gmail.com>
+ * @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
+ * @author Brent R. Matzelle (original founder)
+ */
+class PHPMailer
+{
+ /**
+ * The PHPMailer Version number.
+ * @type string
+ */
+ public $Version = '5.2.9';
+
+ /**
+ * Email priority.
+ * Options: 1 = High, 3 = Normal, 5 = low.
+ * @type integer
+ */
+ public $Priority = 3;
+
+ /**
+ * The character set of the message.
+ * @type string
+ */
+ public $CharSet = 'utf-8';
+
+ /**
+ * The MIME Content-type of the message.
+ * @type string
+ */
+ public $ContentType = 'text/plain';
+
+ /**
+ * The message encoding.
+ * Options: "8bit", "7bit", "binary", "base64", and "quoted-printable".
+ * @type string
+ */
+ public $Encoding = '8bit';
+
+ /**
+ * Holds the most recent mailer error message.
+ * @type string
+ */
+ public $ErrorInfo = '';
+
+ /**
+ * The From email address for the message.
+ * @type string
+ */
+ public $From = 'root@localhost';
+
+ /**
+ * The From name of the message.
+ * @type string
+ */
+ public $FromName = 'Root User';
+
+ /**
+ * The Sender email (Return-Path) of the message.
+ * If not empty, will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode.
+ * @type string
+ */
+ public $Sender = '';
+
+ /**
+ * The Return-Path of the message.
+ * If empty, it will be set to either From or Sender.
+ * @type string
+ * @deprecated Email senders should never set a return-path header;
+ * it's the receiver's job (RFC5321 section 4.4), so this no longer does anything.
+ * @link https://tools.ietf.org/html/rfc5321#section-4.4 RFC5321 reference
+ */
+ public $ReturnPath = '';
+
+ /**
+ * The Subject of the message.
+ * @type string
+ */
+ public $Subject = '';
+
+ /**
+ * An HTML or plain text message body.
+ * If HTML then call isHTML(true).
+ * @type string
+ */
+ public $Body = '';
+
+ /**
+ * The plain-text message body.
+ * This body can be read by mail clients that do not have HTML email
+ * capability such as mutt & Eudora.
+ * Clients that can read HTML will view the normal Body.
+ * @type string
+ */
+ public $AltBody = '';
+
+ /**
+ * An iCal message part body.
+ * Only supported in simple alt or alt_inline message types
+ * To generate iCal events, use the bundled extras/EasyPeasyICS.php class or iCalcreator
+ * @link http://sprain.ch/blog/downloads/php-class-easypeasyics-create-ical-files-with-php/
+ * @link http://kigkonsult.se/iCalcreator/
+ * @type string
+ */
+ public $Ical = '';
+
+ /**
+ * The complete compiled MIME message body.
+ * @access protected
+ * @type string
+ */
+ protected $MIMEBody = '';
+
+ /**
+ * The complete compiled MIME message headers.
+ * @type string
+ * @access protected
+ */
+ protected $MIMEHeader = '';
+
+ /**
+ * Extra headers that createHeader() doesn't fold in.
+ * @type string
+ * @access protected
+ */
+ protected $mailHeader = '';
+
+ /**
+ * Word-wrap the message body to this number of chars.
+ * Set to 0 to not wrap. A useful value here is 78, for RFC2822 section 2.1.1 compliance.
+ * @type integer
+ */
+ public $WordWrap = 0;
+
+ /**
+ * Which method to use to send mail.
+ * Options: "mail", "sendmail", or "smtp".
+ * @type string
+ */
+ public $Mailer = 'mail';
+
+ /**
+ * The path to the sendmail program.
+ * @type string
+ */
+ public $Sendmail = '/usr/sbin/sendmail';
+
+ /**
+ * Whether mail() uses a fully sendmail-compatible MTA.
+ * One which supports sendmail's "-oi -f" options.
+ * @type boolean
+ */
+ public $UseSendmailOptions = true;
+
+ /**
+ * Path to PHPMailer plugins.
+ * Useful if the SMTP class is not in the PHP include path.
+ * @type string
+ * @deprecated Should not be needed now there is an autoloader.
+ */
+ public $PluginDir = '';
+
+ /**
+ * The email address that a reading confirmation should be sent to.
+ * @type string
+ */
+ public $ConfirmReadingTo = '';
+
+ /**
+ * The hostname to use in Message-Id and Received headers
+ * and as default HELO string.
+ * If empty, the value returned
+ * by SERVER_NAME is used or 'localhost.localdomain'.
+ * @type string
+ */
+ public $Hostname = '';
+
+ /**
+ * An ID to be used in the Message-Id header.
+ * If empty, a unique id will be generated.
+ * @type string
+ */
+ public $MessageID = '';
+
+ /**
+ * The message Date to be used in the Date header.
+ * If empty, the current date will be added.
+ * @type string
+ */
+ public $MessageDate = '';
+
+ /**
+ * SMTP hosts.
+ * Either a single hostname or multiple semicolon-delimited hostnames.
+ * You can also specify a different port
+ * for each host by using this format: [hostname:port]
+ * (e.g. "smtp1.example.com:25;smtp2.example.com").
+ * You can also specify encryption type, for example:
+ * (e.g. "tls://smtp1.example.com:587;ssl://smtp2.example.com:465").
+ * Hosts will be tried in order.
+ * @type string
+ */
+ public $Host = 'localhost';
+
+ /**
+ * The default SMTP server port.
+ * @type integer
+ * @TODO Why is this needed when the SMTP class takes care of it?
+ */
+ public $Port = 25;
+
+ /**
+ * The SMTP HELO of the message.
+ * Default is $Hostname.
+ * @type string
+ * @see PHPMailer::$Hostname
+ */
+ public $Helo = '';
+
+ /**
+ * The secure connection prefix.
+ * Options: "", "ssl" or "tls"
+ * @type string
+ */
+ public $SMTPSecure = '';
+
+ /**
+ * Whether to use SMTP authentication.
+ * Uses the Username and Password properties.
+ * @type boolean
+ * @see PHPMailer::$Username
+ * @see PHPMailer::$Password
+ */
+ public $SMTPAuth = false;
+
+ /**
+ * SMTP username.
+ * @type string
+ */
+ public $Username = '';
+
+ /**
+ * SMTP password.
+ * @type string
+ */
+ public $Password = '';
+
+ /**
+ * SMTP auth type.
+ * Options are LOGIN (default), PLAIN, NTLM, CRAM-MD5
+ * @type string
+ */
+ public $AuthType = '';
+
+ /**
+ * SMTP realm.
+ * Used for NTLM auth
+ * @type string
+ */
+ public $Realm = '';
+
+ /**
+ * SMTP workstation.
+ * Used for NTLM auth
+ * @type string
+ */
+ public $Workstation = '';
+
+ /**
+ * The SMTP server timeout in seconds.
+ * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2
+ * @type integer
+ */
+ public $Timeout = 300;
+
+ /**
+ * SMTP class debug output mode.
+ * Debug output level.
+ * Options:
+ * * `0` No output
+ * * `1` Commands
+ * * `2` Data and commands
+ * * `3` As 2 plus connection status
+ * * `4` Low-level data output
+ * @type integer
+ * @see SMTP::$do_debug
+ */
+ public $SMTPDebug = 0;
+
+ /**
+ * How to handle debug output.
+ * Options:
+ * * `echo` Output plain-text as-is, appropriate for CLI
+ * * `html` Output escaped, line breaks converted to `<br>`, appropriate for browser output
+ * * `error_log` Output to error log as configured in php.ini
+ *
+ * Alternatively, you can provide a callable expecting two params: a message string and the debug level:
+ * <code>
+ * $mail->Debugoutput = function($str, $level) {echo "debug level $level; message: $str";};
+ * </code>
+ * @type string|callable
+ * @see SMTP::$Debugoutput
+ */
+ public $Debugoutput = 'echo';
+
+ /**
+ * Whether to keep SMTP connection open after each message.
+ * If this is set to true then to close the connection
+ * requires an explicit call to smtpClose().
+ * @type boolean
+ */
+ public $SMTPKeepAlive = false;
+
+ /**
+ * Whether to split multiple to addresses into multiple messages
+ * or send them all in one message.
+ * @type boolean
+ */
+ public $SingleTo = false;
+
+ /**
+ * Storage for addresses when SingleTo is enabled.
+ * @type array
+ * @TODO This should really not be public
+ */
+ public $SingleToArray = array();
+
+ /**
+ * Whether to generate VERP addresses on send.
+ * Only applicable when sending via SMTP.
+ * @link http://en.wikipedia.org/wiki/Variable_envelope_return_path
+ * @link http://www.postfix.org/VERP_README.html Postfix VERP info
+ * @type boolean
+ */
+ public $do_verp = false;
+
+ /**
+ * Whether to allow sending messages with an empty body.
+ * @type boolean
+ */
+ public $AllowEmpty = false;
+
+ /**
+ * The default line ending.
+ * @note The default remains "\n". We force CRLF where we know
+ * it must be used via self::CRLF.
+ * @type string
+ */
+ public $LE = "\n";
+
+ /**
+ * DKIM selector.
+ * @type string
+ */
+ public $DKIM_selector = '';
+
+ /**
+ * DKIM Identity.
+ * Usually the email address used as the source of the email
+ * @type string
+ */
+ public $DKIM_identity = '';
+
+ /**
+ * DKIM passphrase.
+ * Used if your key is encrypted.
+ * @type string
+ */
+ public $DKIM_passphrase = '';
+
+ /**
+ * DKIM signing domain name.
+ * @example 'example.com'
+ * @type string
+ */
+ public $DKIM_domain = '';
+
+ /**
+ * DKIM private key file path.
+ * @type string
+ */
+ public $DKIM_private = '';
+
+ /**
+ * Callback Action function name.
+ *
+ * The function that handles the result of the send email action.
+ * It is called out by send() for each email sent.
+ *
+ * Value can be any php callable: http://www.php.net/is_callable
+ *
+ * Parameters:
+ * boolean $result result of the send action
+ * string $to email address of the recipient
+ * string $cc cc email addresses
+ * string $bcc bcc email addresses
+ * string $subject the subject
+ * string $body the email body
+ * string $from email address of sender
+ * @type string
+ */
+ public $action_function = '';
+
+ /**
+ * What to put in the X-Mailer header.
+ * Options: An empty string for PHPMailer default, whitespace for none, or a string to use
+ * @type string
+ */
+ public $XMailer = '';
+
+ /**
+ * An instance of the SMTP sender class.
+ * @type SMTP
+ * @access protected
+ */
+ protected $smtp = null;
+
+ /**
+ * The array of 'to' addresses.
+ * @type array
+ * @access protected
+ */
+ protected $to = array();
+
+ /**
+ * The array of 'cc' addresses.
+ * @type array
+ * @access protected
+ */
+ protected $cc = array();
+
+ /**
+ * The array of 'bcc' addresses.
+ * @type array
+ * @access protected
+ */
+ protected $bcc = array();
+
+ /**
+ * The array of reply-to names and addresses.
+ * @type array
+ * @access protected
+ */
+ protected $ReplyTo = array();
+
+ /**
+ * An array of all kinds of addresses.
+ * Includes all of $to, $cc, $bcc
+ * @type array
+ * @access protected
+ */
+ protected $all_recipients = array();
+
+ /**
+ * The array of attachments.
+ * @type array
+ * @access protected
+ */
+ protected $attachment = array();
+
+ /**
+ * The array of custom headers.
+ * @type array
+ * @access protected
+ */
+ protected $CustomHeader = array();
+
+ /**
+ * The most recent Message-ID (including angular brackets).
+ * @type string
+ * @access protected
+ */
+ protected $lastMessageID = '';
+
+ /**
+ * The message's MIME type.
+ * @type string
+ * @access protected
+ */
+ protected $message_type = '';
+
+ /**
+ * The array of MIME boundary strings.
+ * @type array
+ * @access protected
+ */
+ protected $boundary = array();
+
+ /**
+ * The array of available languages.
+ * @type array
+ * @access protected
+ */
+ protected $language = array();
+
+ /**
+ * The number of errors encountered.
+ * @type integer
+ * @access protected
+ */
+ protected $error_count = 0;
+
+ /**
+ * The S/MIME certificate file path.
+ * @type string
+ * @access protected
+ */
+ protected $sign_cert_file = '';
+
+ /**
+ * The S/MIME key file path.
+ * @type string
+ * @access protected
+ */
+ protected $sign_key_file = '';
+
+ /**
+ * The optional S/MIME extra certificates ("CA Chain") file path.
+ * @type string
+ * @access protected
+ */
+ protected $sign_extracerts_file = '';
+
+ /**
+ * The S/MIME password for the key.
+ * Used only if the key is encrypted.
+ * @type string
+ * @access protected
+ */
+ protected $sign_key_pass = '';
+
+ /**
+ * Whether to throw exceptions for errors.
+ * @type boolean
+ * @access protected
+ */
+ protected $exceptions = false;
+
+ /**
+ * Error severity: message only, continue processing.
+ */
+ const STOP_MESSAGE = 0;
+
+ /**
+ * Error severity: message, likely ok to continue processing.
+ */
+ const STOP_CONTINUE = 1;
+
+ /**
+ * Error severity: message, plus full stop, critical error reached.
+ */
+ const STOP_CRITICAL = 2;
+
+ /**
+ * SMTP RFC standard line ending.
+ */
+ const CRLF = "\r\n";
+
+ /**
+ * Constructor.
+ * @param boolean $exceptions Should we throw external exceptions?
+ */
+ public function __construct($exceptions = false)
+ {
+ $this->exceptions = (boolean)$exceptions;
+ }
+
+ /**
+ * Destructor.
+ */
+ public function __destruct()
+ {
+ //Close any open SMTP connection nicely
+ if ($this->Mailer == 'smtp') {
+ $this->smtpClose();
+ }
+ }
+
+ /**
+ * Call mail() in a safe_mode-aware fashion.
+ * Also, unless sendmail_path points to sendmail (or something that
+ * claims to be sendmail), don't pass params (not a perfect fix,
+ * but it will do)
+ * @param string $to To
+ * @param string $subject Subject
+ * @param string $body Message Body
+ * @param string $header Additional Header(s)
+ * @param string $params Params
+ * @access private
+ * @return boolean
+ */
+ private function mailPassthru($to, $subject, $body, $header, $params)
+ {
+ //Check overloading of mail function to avoid double-encoding
+ if (ini_get('mbstring.func_overload') & 1) {
+ $subject = $this->secureHeader($subject);
+ } else {
+ $subject = $this->encodeHeader($this->secureHeader($subject));
+ }
+ if (ini_get('safe_mode') || !($this->UseSendmailOptions)) {
+ $result = @mail($to, $subject, $body, $header);
+ } else {
+ $result = @mail($to, $subject, $body, $header, $params);
+ }
+ return $result;
+ }
+
+ /**
+ * Output debugging info via user-defined method.
+ * Only generates output if SMTP debug output is enabled (@see SMTP::$do_debug).
+ * @see PHPMailer::$Debugoutput
+ * @see PHPMailer::$SMTPDebug
+ * @param string $str
+ */
+ protected function edebug($str)
+ {
+ if ($this->SMTPDebug <= 0) {
+ return;
+ }
+ //Avoid clash with built-in function names
+ if (!in_array($this->Debugoutput, array('error_log', 'html', 'echo')) and is_callable($this->Debugoutput)) {
+ call_user_func($this->Debugoutput, $str, $this->SMTPDebug);
+ return;
+ }
+ switch ($this->Debugoutput) {
+ case 'error_log':
+ //Don't output, just log
+ error_log($str);
+ break;
+ case 'html':
+ //Cleans up output a bit for a better looking, HTML-safe output
+ echo htmlentities(
+ preg_replace('/[\r\n]+/', '', $str),
+ ENT_QUOTES,
+ 'UTF-8'
+ )
+ . "<br>\n";
+ break;
+ case 'echo':
+ default:
+ //Normalize line breaks
+ $str = preg_replace('/(\r\n|\r|\n)/ms', "\n", $str);
+ echo gmdate('Y-m-d H:i:s') . "\t" . str_replace(
+ "\n",
+ "\n \t ",
+ trim($str)
+ ) . "\n";
+ }
+ }
+
+ /**
+ * Sets message type to HTML or plain.
+ * @param boolean $isHtml True for HTML mode.
+ * @return void
+ */
+ public function isHTML($isHtml = true)
+ {
+ if ($isHtml) {
+ $this->ContentType = 'text/html';
+ } else {
+ $this->ContentType = 'text/plain';
+ }
+ }
+
+ /**
+ * Send messages using SMTP.
+ * @return void
+ */
+ public function isSMTP()
+ {
+ $this->Mailer = 'smtp';
+ }
+
+ /**
+ * Send messages using PHP's mail() function.
+ * @return void
+ */
+ public function isMail()
+ {
+ $this->Mailer = 'mail';
+ }
+
+ /**
+ * Send messages using $Sendmail.
+ * @return void
+ */
+ public function isSendmail()
+ {
+ $ini_sendmail_path = ini_get('sendmail_path');
+
+ if (!stristr($ini_sendmail_path, 'sendmail')) {
+ $this->Sendmail = '/usr/sbin/sendmail';
+ } else {
+ $this->Sendmail = $ini_sendmail_path;
+ }
+ $this->Mailer = 'sendmail';
+ }
+
+ /**
+ * Send messages using qmail.
+ * @return void
+ */
+ public function isQmail()
+ {
+ $ini_sendmail_path = ini_get('sendmail_path');
+
+ if (!stristr($ini_sendmail_path, 'qmail')) {
+ $this->Sendmail = '/var/qmail/bin/qmail-inject';
+ } else {
+ $this->Sendmail = $ini_sendmail_path;
+ }
+ $this->Mailer = 'qmail';
+ }
+
+ /**
+ * Add a "To" address.
+ * @param string $address
+ * @param string $name
+ * @return boolean true on success, false if address already used
+ */
+ public function addAddress($address, $name = '')
+ {
+ return $this->addAnAddress('to', $address, $name);
+ }
+
+ /**
+ * Add a "CC" address.
+ * @note: This function works with the SMTP mailer on win32, not with the "mail" mailer.
+ * @param string $address
+ * @param string $name
+ * @return boolean true on success, false if address already used
+ */
+ public function addCC($address, $name = '')
+ {
+ return $this->addAnAddress('cc', $address, $name);
+ }
+
+ /**
+ * Add a "BCC" address.
+ * @note: This function works with the SMTP mailer on win32, not with the "mail" mailer.
+ * @param string $address
+ * @param string $name
+ * @return boolean true on success, false if address already used
+ */
+ public function addBCC($address, $name = '')
+ {
+ return $this->addAnAddress('bcc', $address, $name);
+ }
+
+ /**
+ * Add a "Reply-to" address.
+ * @param string $address
+ * @param string $name
+ * @return boolean
+ */
+ public function addReplyTo($address, $name = '')
+ {
+ return $this->addAnAddress('Reply-To', $address, $name);
+ }
+
+ /**
+ * Add an address to one of the recipient arrays.
+ * Addresses that have been added already return false, but do not throw exceptions
+ * @param string $kind One of 'to', 'cc', 'bcc', 'ReplyTo'
+ * @param string $address The email address to send to
+ * @param string $name
+ * @throws phpmailerException
+ * @return boolean true on success, false if address already used or invalid in some way
+ * @access protected
+ */
+ protected function addAnAddress($kind, $address, $name = '')
+ {
+ if (!preg_match('/^(to|cc|bcc|Reply-To)$/', $kind)) {
+ $this->setError($this->lang('Invalid recipient array') . ': ' . $kind);
+ $this->edebug($this->lang('Invalid recipient array') . ': ' . $kind);
+ if ($this->exceptions) {
+ throw new phpmailerException('Invalid recipient array: ' . $kind);
+ }
+ return false;
+ }
+ $address = trim($address);
+ $name = trim(preg_replace('/[\r\n]+/', '', $name)); //Strip breaks and trim
+ if (!$this->validateAddress($address)) {
+ $this->setError($this->lang('invalid_address') . ': ' . $address);
+ $this->edebug($this->lang('invalid_address') . ': ' . $address);
+ if ($this->exceptions) {
+ throw new phpmailerException($this->lang('invalid_address') . ': ' . $address);
+ }
+ return false;
+ }
+ if ($kind != 'Reply-To') {
+ if (!isset($this->all_recipients[strtolower($address)])) {
+ array_push($this->$kind, array($address, $name));
+ $this->all_recipients[strtolower($address)] = true;
+ return true;
+ }
+ } else {
+ if (!array_key_exists(strtolower($address), $this->ReplyTo)) {
+ $this->ReplyTo[strtolower($address)] = array($address, $name);
+ return true;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Set the From and FromName properties.
+ * @param string $address
+ * @param string $name
+ * @param boolean $auto Whether to also set the Sender address, defaults to true
+ * @throws phpmailerException
+ * @return boolean
+ */
+ public function setFrom($address, $name = '', $auto = true)
+ {
+ $address = trim($address);
+ $name = trim(preg_replace('/[\r\n]+/', '', $name)); //Strip breaks and trim
+ if (!$this->validateAddress($address)) {
+ $this->setError($this->lang('invalid_address') . ': ' . $address);
+ $this->edebug($this->lang('invalid_address') . ': ' . $address);
+ if ($this->exceptions) {
+ throw new phpmailerException($this->lang('invalid_address') . ': ' . $address);
+ }
+ return false;
+ }
+ $this->From = $address;
+ $this->FromName = $name;
+ if ($auto) {
+ if (empty($this->Sender)) {
+ $this->Sender = $address;
+ }
+ }
+ return true;
+ }
+
+ /**
+ * Return the Message-ID header of the last email.
+ * Technically this is the value from the last time the headers were created,
+ * but it's also the message ID of the last sent message except in
+ * pathological cases.
+ * @return string
+ */
+ public function getLastMessageID()
+ {
+ return $this->lastMessageID;
+ }
+
+ /**
+ * Check that a string looks like an email address.
+ * @param string $address The email address to check
+ * @param string $patternselect A selector for the validation pattern to use :
+ * * `auto` Pick strictest one automatically;
+ * * `pcre8` Use the squiloople.com pattern, requires PCRE > 8.0, PHP >= 5.3.2, 5.2.14;
+ * * `pcre` Use old PCRE implementation;
+ * * `php` Use PHP built-in FILTER_VALIDATE_EMAIL; same as pcre8 but does not allow 'dotless' domains;
+ * * `html5` Use the pattern given by the HTML5 spec for 'email' type form input elements.
+ * * `noregex` Don't use a regex: super fast, really dumb.
+ * @return boolean
+ * @static
+ * @access public
+ */
+ public static function validateAddress($address, $patternselect = 'auto')
+ {
+ if (!$patternselect or $patternselect == 'auto') {
+ //Check this constant first so it works when extension_loaded() is disabled by safe mode
+ //Constant was added in PHP 5.2.4
+ if (defined('PCRE_VERSION')) {
+ //This pattern can get stuck in a recursive loop in PCRE <= 8.0.2
+ if (version_compare(PCRE_VERSION, '8.0.3') >= 0) {
+ $patternselect = 'pcre8';
+ } else {
+ $patternselect = 'pcre';
+ }
+ } elseif (function_exists('extension_loaded') and extension_loaded('pcre')) {
+ //Fall back to older PCRE
+ $patternselect = 'pcre';
+ } else {
+ //Filter_var appeared in PHP 5.2.0 and does not require the PCRE extension
+ if (version_compare(PHP_VERSION, '5.2.0') >= 0) {
+ $patternselect = 'php';
+ } else {
+ $patternselect = 'noregex';
+ }
+ }
+ }
+ switch ($patternselect) {
+ case 'pcre8':
+ /**
+ * Uses the same RFC5322 regex on which FILTER_VALIDATE_EMAIL is based, but allows dotless domains.
+ * @link http://squiloople.com/2009/12/20/email-address-validation/
+ * @copyright 2009-2010 Michael Rushton
+ * Feel free to use and redistribute this code. But please keep this copyright notice.
+ */
+ return (boolean)preg_match(
+ '/^(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){255,})(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){65,}@)' .
+ '((?>(?>(?>((?>(?>(?>\x0D\x0A)?[\t ])+|(?>[\t ]*\x0D\x0A)?[\t ]+)?)(\((?>(?2)' .
+ '(?>[\x01-\x08\x0B\x0C\x0E-\'*-\[\]-\x7F]|\\\[\x00-\x7F]|(?3)))*(?2)\)))+(?2))|(?2))?)' .
+ '([!#-\'*+\/-9=?^-~-]+|"(?>(?2)(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\x7F]))*' .
+ '(?2)")(?>(?1)\.(?1)(?4))*(?1)@(?!(?1)[a-z0-9-]{64,})(?1)(?>([a-z0-9](?>[a-z0-9-]*[a-z0-9])?)' .
+ '(?>(?1)\.(?!(?1)[a-z0-9-]{64,})(?1)(?5)){0,126}|\[(?:(?>IPv6:(?>([a-f0-9]{1,4})(?>:(?6)){7}' .
+ '|(?!(?:.*[a-f0-9][:\]]){8,})((?6)(?>:(?6)){0,6})?::(?7)?))|(?>(?>IPv6:(?>(?6)(?>:(?6)){5}:' .
+ '|(?!(?:.*[a-f0-9]:){6,})(?8)?::(?>((?6)(?>:(?6)){0,4}):)?))?(25[0-5]|2[0-4][0-9]|1[0-9]{2}' .
+ '|[1-9]?[0-9])(?>\.(?9)){3}))\])(?1)$/isD',
+ $address
+ );
+ case 'pcre':
+ //An older regex that doesn't need a recent PCRE
+ return (boolean)preg_match(
+ '/^(?!(?>"?(?>\\\[ -~]|[^"])"?){255,})(?!(?>"?(?>\\\[ -~]|[^"])"?){65,}@)(?>' .
+ '[!#-\'*+\/-9=?^-~-]+|"(?>(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\xFF]))*")' .
+ '(?>\.(?>[!#-\'*+\/-9=?^-~-]+|"(?>(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\xFF]))*"))*' .
+ '@(?>(?![a-z0-9-]{64,})(?>[a-z0-9](?>[a-z0-9-]*[a-z0-9])?)(?>\.(?![a-z0-9-]{64,})' .
+ '(?>[a-z0-9](?>[a-z0-9-]*[a-z0-9])?)){0,126}|\[(?:(?>IPv6:(?>(?>[a-f0-9]{1,4})(?>:' .
+ '[a-f0-9]{1,4}){7}|(?!(?:.*[a-f0-9][:\]]){8,})(?>[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,6})?' .
+ '::(?>[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,6})?))|(?>(?>IPv6:(?>[a-f0-9]{1,4}(?>:' .
+ '[a-f0-9]{1,4}){5}:|(?!(?:.*[a-f0-9]:){6,})(?>[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,4})?' .
+ '::(?>(?:[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,4}):)?))?(?>25[0-5]|2[0-4][0-9]|1[0-9]{2}' .
+ '|[1-9]?[0-9])(?>\.(?>25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}))\])$/isD',
+ $address
+ );
+ case 'html5':
+ /**
+ * This is the pattern used in the HTML5 spec for validation of 'email' type form input elements.
+ * @link http://www.whatwg.org/specs/web-apps/current-work/#e-mail-state-(type=email)
+ */
+ return (boolean)preg_match(
+ '/^[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])?)*$/sD',
+ $address
+ );
+ case 'noregex':
+ //No PCRE! Do something _very_ approximate!
+ //Check the address is 3 chars or longer and contains an @ that's not the first or last char
+ return (strlen($address) >= 3
+ and strpos($address, '@') >= 1
+ and strpos($address, '@') != strlen($address) - 1);
+ case 'php':
+ default:
+ return (boolean)filter_var($address, FILTER_VALIDATE_EMAIL);
+ }
+ }
+
+ /**
+ * Create a message and send it.
+ * Uses the sending method specified by $Mailer.
+ * @throws phpmailerException
+ * @return boolean false on error - See the ErrorInfo property for details of the error.
+ */
+ public function send()
+ {
+ try {
+ if (!$this->preSend()) {
+ return false;
+ }
+ return $this->postSend();
+ } catch (phpmailerException $exc) {
+ $this->mailHeader = '';
+ $this->setError($exc->getMessage());
+ if ($this->exceptions) {
+ throw $exc;
+ }
+ return false;
+ }
+ }
+
+ /**
+ * Prepare a message for sending.
+ * @throws phpmailerException
+ * @return boolean
+ */
+ public function preSend()
+ {
+ try {
+ $this->mailHeader = '';
+ if ((count($this->to) + count($this->cc) + count($this->bcc)) < 1) {
+ throw new phpmailerException($this->lang('provide_address'), self::STOP_CRITICAL);
+ }
+
+ // Set whether the message is multipart/alternative
+ if (!empty($this->AltBody)) {
+ $this->ContentType = 'multipart/alternative';
+ }
+
+ $this->error_count = 0; // reset errors
+ $this->setMessageType();
+ // Refuse to send an empty message unless we are specifically allowing it
+ if (!$this->AllowEmpty and empty($this->Body)) {
+ throw new phpmailerException($this->lang('empty_message'), self::STOP_CRITICAL);
+ }
+
+ $this->MIMEHeader = $this->createHeader();
+ $this->MIMEBody = $this->createBody();
+
+ // To capture the complete message when using mail(), create
+ // an extra header list which createHeader() doesn't fold in
+ if ($this->Mailer == 'mail') {
+ if (count($this->to) > 0) {
+ $this->mailHeader .= $this->addrAppend('To', $this->to);
+ } else {
+ $this->mailHeader .= $this->headerLine('To', 'undisclosed-recipients:;');
+ }
+ $this->mailHeader .= $this->headerLine(
+ 'Subject',
+ $this->encodeHeader($this->secureHeader(trim($this->Subject)))
+ );
+ }
+
+ // Sign with DKIM if enabled
+ if (!empty($this->DKIM_domain)
+ && !empty($this->DKIM_private)
+ && !empty($this->DKIM_selector)
+ && file_exists($this->DKIM_private)) {
+ $header_dkim = $this->DKIM_Add(
+ $this->MIMEHeader . $this->mailHeader,
+ $this->encodeHeader($this->secureHeader($this->Subject)),
+ $this->MIMEBody
+ );
+ $this->MIMEHeader = rtrim($this->MIMEHeader, "\r\n ") . self::CRLF .
+ str_replace("\r\n", "\n", $header_dkim) . self::CRLF;
+ }
+ return true;
+ } catch (phpmailerException $exc) {
+ $this->setError($exc->getMessage());
+ if ($this->exceptions) {
+ throw $exc;
+ }
+ return false;
+ }
+ }
+
+ /**
+ * Actually send a message.
+ * Send the email via the selected mechanism
+ * @throws phpmailerException
+ * @return boolean
+ */
+ public function postSend()
+ {
+ try {
+ // Choose the mailer and send through it
+ switch ($this->Mailer) {
+ case 'sendmail':
+ case 'qmail':
+ return $this->sendmailSend($this->MIMEHeader, $this->MIMEBody);
+ case 'smtp':
+ return $this->smtpSend($this->MIMEHeader, $this->MIMEBody);
+ case 'mail':
+ return $this->mailSend($this->MIMEHeader, $this->MIMEBody);
+ default:
+ $sendMethod = $this->Mailer.'Send';
+ if (method_exists($this, $sendMethod)) {
+ return $this->$sendMethod($this->MIMEHeader, $this->MIMEBody);
+ }
+
+ return $this->mailSend($this->MIMEHeader, $this->MIMEBody);
+ }
+ } catch (phpmailerException $exc) {
+ $this->setError($exc->getMessage());
+ $this->edebug($exc->getMessage());
+ if ($this->exceptions) {
+ throw $exc;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Send mail using the $Sendmail program.
+ * @param string $header The message headers
+ * @param string $body The message body
+ * @see PHPMailer::$Sendmail
+ * @throws phpmailerException
+ * @access protected
+ * @return boolean
+ */
+ protected function sendmailSend($header, $body)
+ {
+ if ($this->Sender != '') {
+ if ($this->Mailer == 'qmail') {
+ $sendmail = sprintf('%s -f%s', escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender));
+ } else {
+ $sendmail = sprintf('%s -oi -f%s -t', escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender));
+ }
+ } else {
+ if ($this->Mailer == 'qmail') {
+ $sendmail = sprintf('%s', escapeshellcmd($this->Sendmail));
+ } else {
+ $sendmail = sprintf('%s -oi -t', escapeshellcmd($this->Sendmail));
+ }
+ }
+ if ($this->SingleTo) {
+ foreach ($this->SingleToArray as $toAddr) {
+ if (!@$mail = popen($sendmail, 'w')) {
+ throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL);
+ }
+ fputs($mail, 'To: ' . $toAddr . "\n");
+ fputs($mail, $header);
+ fputs($mail, $body);
+ $result = pclose($mail);
+ $this->doCallback(
+ ($result == 0),
+ array($toAddr),
+ $this->cc,
+ $this->bcc,
+ $this->Subject,
+ $body,
+ $this->From
+ );
+ if ($result != 0) {
+ throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL);
+ }
+ }
+ } else {
+ if (!@$mail = popen($sendmail, 'w')) {
+ throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL);
+ }
+ fputs($mail, $header);
+ fputs($mail, $body);
+ $result = pclose($mail);
+ $this->doCallback(($result == 0), $this->to, $this->cc, $this->bcc, $this->Subject, $body, $this->From);
+ if ($result != 0) {
+ throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL);
+ }
+ }
+ return true;
+ }
+
+ /**
+ * Send mail using the PHP mail() function.
+ * @param string $header The message headers
+ * @param string $body The message body
+ * @link http://www.php.net/manual/en/book.mail.php
+ * @throws phpmailerException
+ * @access protected
+ * @return boolean
+ */
+ protected function mailSend($header, $body)
+ {
+ $toArr = array();
+ foreach ($this->to as $toaddr) {
+ $toArr[] = $this->addrFormat($toaddr);
+ }
+ $to = implode(', ', $toArr);
+
+ if (empty($this->Sender)) {
+ $params = ' ';
+ } else {
+ $params = sprintf('-f%s', $this->Sender);
+ }
+ if ($this->Sender != '' and !ini_get('safe_mode')) {
+ $old_from = ini_get('sendmail_from');
+ ini_set('sendmail_from', $this->Sender);
+ }
+ $result = false;
+ if ($this->SingleTo && count($toArr) > 1) {
+ foreach ($toArr as $toAddr) {
+ $result = $this->mailPassthru($toAddr, $this->Subject, $body, $header, $params);
+ $this->doCallback($result, array($toAddr), $this->cc, $this->bcc, $this->Subject, $body, $this->From);
+ }
+ } else {
+ $result = $this->mailPassthru($to, $this->Subject, $body, $header, $params);
+ $this->doCallback($result, $this->to, $this->cc, $this->bcc, $this->Subject, $body, $this->From);
+ }
+ if (isset($old_from)) {
+ ini_set('sendmail_from', $old_from);
+ }
+ if (!$result) {
+ throw new phpmailerException($this->lang('instantiate'), self::STOP_CRITICAL);
+ }
+ return true;
+ }
+
+ /**
+ * Get an instance to use for SMTP operations.
+ * Override this function to load your own SMTP implementation
+ * @return SMTP
+ */
+ public function getSMTPInstance()
+ {
+ if (!is_object($this->smtp)) {
+ $this->smtp = new SMTP;
+ }
+ return $this->smtp;
+ }
+
+ /**
+ * Send mail via SMTP.
+ * Returns false if there is a bad MAIL FROM, RCPT, or DATA input.
+ * Uses the PHPMailerSMTP class by default.
+ * @see PHPMailer::getSMTPInstance() to use a different class.
+ * @param string $header The message headers
+ * @param string $body The message body
+ * @throws phpmailerException
+ * @uses SMTP
+ * @access protected
+ * @return boolean
+ */
+ protected function smtpSend($header, $body)
+ {
+ $bad_rcpt = array();
+ if (!$this->smtpConnect()) {
+ throw new phpmailerException($this->lang('smtp_connect_failed'), self::STOP_CRITICAL);
+ }
+ if ('' == $this->Sender) {
+ $smtp_from = $this->From;
+ } else {
+ $smtp_from = $this->Sender;
+ }
+ if (!$this->smtp->mail($smtp_from)) {
+ $this->setError($this->lang('from_failed') . $smtp_from . ' : ' . implode(',', $this->smtp->getError()));
+ throw new phpmailerException($this->ErrorInfo, self::STOP_CRITICAL);
+ }
+
+ // Attempt to send to all recipients
+ foreach (array($this->to, $this->cc, $this->bcc) as $togroup) {
+ foreach ($togroup as $to) {
+ if (!$this->smtp->recipient($to[0])) {
+ $error = $this->smtp->getError();
+ $bad_rcpt[] = array('to' => $to[0], 'error' => $error['detail']);
+ $isSent = false;
+ } else {
+ $isSent = true;
+ }
+ $this->doCallback($isSent, array($to[0]), array(), array(), $this->Subject, $body, $this->From);
+ }
+ }
+
+ // Only send the DATA command if we have viable recipients
+ if ((count($this->all_recipients) > count($bad_rcpt)) and !$this->smtp->data($header . $body)) {
+ throw new phpmailerException($this->lang('data_not_accepted'), self::STOP_CRITICAL);
+ }
+ if ($this->SMTPKeepAlive) {
+ $this->smtp->reset();
+ } else {
+ $this->smtp->quit();
+ $this->smtp->close();
+ }
+ //Create error message for any bad addresses
+ if (count($bad_rcpt) > 0) {
+ $errstr = '';
+ foreach ($bad_rcpt as $bad) {
+ $errstr .= $bad['to'] . ': ' . $bad['error'];
+ }
+ throw new phpmailerException(
+ $this->lang('recipients_failed') . $errstr,
+ self::STOP_CONTINUE
+ );
+ }
+ return true;
+ }
+
+ /**
+ * Initiate a connection to an SMTP server.
+ * Returns false if the operation failed.
+ * @param array $options An array of options compatible with stream_context_create()
+ * @uses SMTP
+ * @access public
+ * @throws phpmailerException
+ * @return boolean
+ */
+ public function smtpConnect($options = array())
+ {
+ if (is_null($this->smtp)) {
+ $this->smtp = $this->getSMTPInstance();
+ }
+
+ // Already connected?
+ if ($this->smtp->connected()) {
+ return true;
+ }
+
+ $this->smtp->setTimeout($this->Timeout);
+ $this->smtp->setDebugLevel($this->SMTPDebug);
+ $this->smtp->setDebugOutput($this->Debugoutput);
+ $this->smtp->setVerp($this->do_verp);
+ $hosts = explode(';', $this->Host);
+ $lastexception = null;
+
+ foreach ($hosts as $hostentry) {
+ $hostinfo = array();
+ if (!preg_match('/^((ssl|tls):\/\/)*([a-zA-Z0-9\.-]*):?([0-9]*)$/', trim($hostentry), $hostinfo)) {
+ // Not a valid host entry
+ continue;
+ }
+ // $hostinfo[2]: optional ssl or tls prefix
+ // $hostinfo[3]: the hostname
+ // $hostinfo[4]: optional port number
+ // The host string prefix can temporarily override the current setting for SMTPSecure
+ // If it's not specified, the default value is used
+ $prefix = '';
+ $secure = $this->SMTPSecure;
+ $tls = ($this->SMTPSecure == 'tls');
+ if ('ssl' == $hostinfo[2] or ('' == $hostinfo[2] and 'ssl' == $this->SMTPSecure)) {
+ $prefix = 'ssl://';
+ $tls = false; // Can't have SSL and TLS at the same time
+ $secure = 'ssl';
+ } elseif ($hostinfo[2] == 'tls') {
+ $tls = true;
+ // tls doesn't use a prefix
+ $secure = 'tls';
+ }
+ //Do we need the OpenSSL extension?
+ if ('tls' === $secure or 'ssl' === $secure) {
+ //Check for an OpenSSL constant rather than using extension_loaded, which is sometimes disabled
+ if (!defined('OPENSSL_ALGO_SHA1')) {
+ throw new phpmailerException($this->lang('extension_missing').'openssl', self::STOP_CRITICAL);
+ }
+ }
+ $host = $hostinfo[3];
+ $port = $this->Port;
+ $tport = (integer)$hostinfo[4];
+ if ($tport > 0 and $tport < 65536) {
+ $port = $tport;
+ }
+ if ($this->smtp->connect($prefix . $host, $port, $this->Timeout, $options)) {
+ try {
+ if ($this->Helo) {
+ $hello = $this->Helo;
+ } else {
+ $hello = $this->serverHostname();
+ }
+ $this->smtp->hello($hello);
+
+ if ($tls) {
+ if (!$this->smtp->startTLS()) {
+ throw new phpmailerException($this->lang('connect_host'));
+ }
+ // We must resend HELO after tls negotiation
+ $this->smtp->hello($hello);
+ }
+ if ($this->SMTPAuth) {
+ if (!$this->smtp->authenticate(
+ $this->Username,
+ $this->Password,
+ $this->AuthType,
+ $this->Realm,
+ $this->Workstation
+ )
+ ) {
+ throw new phpmailerException($this->lang('authenticate'));
+ }
+ }
+ return true;
+ } catch (phpmailerException $exc) {
+ $lastexception = $exc;
+ $this->edebug($exc->getMessage());
+ // We must have connected, but then failed TLS or Auth, so close connection nicely
+ $this->smtp->quit();
+ }
+ }
+ }
+ // If we get here, all connection attempts have failed, so close connection hard
+ $this->smtp->close();
+ // As we've caught all exceptions, just report whatever the last one was
+ if ($this->exceptions and !is_null($lastexception)) {
+ throw $lastexception;
+ }
+ return false;
+ }
+
+ /**
+ * Close the active SMTP session if one exists.
+ * @return void
+ */
+ public function smtpClose()
+ {
+ if ($this->smtp !== null) {
+ if ($this->smtp->connected()) {
+ $this->smtp->quit();
+ $this->smtp->close();
+ }
+ }
+ }
+
+ /**
+ * Set the language for error messages.
+ * Returns false if it cannot load the language file.
+ * The default language is English.
+ * @param string $langcode ISO 639-1 2-character language code (e.g. French is "fr")
+ * @param string $lang_path Path to the language file directory, with trailing separator (slash)
+ * @return boolean
+ * @access public
+ */
+ public function setLanguage($langcode = 'en', $lang_path = '')
+ {
+ // Define full set of translatable strings in English
+ $PHPMAILER_LANG = array(
+ 'authenticate' => 'SMTP Error: Could not authenticate.',
+ 'connect_host' => 'SMTP Error: Could not connect to SMTP host.',
+ 'data_not_accepted' => 'SMTP Error: data not accepted.',
+ 'empty_message' => 'Message body empty',
+ 'encoding' => 'Unknown encoding: ',
+ 'execute' => 'Could not execute: ',
+ 'file_access' => 'Could not access file: ',
+ 'file_open' => 'File Error: Could not open file: ',
+ 'from_failed' => 'The following From address failed: ',
+ 'instantiate' => 'Could not instantiate mail function.',
+ 'invalid_address' => 'Invalid address',
+ 'mailer_not_supported' => ' mailer is not supported.',
+ 'provide_address' => 'You must provide at least one recipient email address.',
+ 'recipients_failed' => 'SMTP Error: The following recipients failed: ',
+ 'signing' => 'Signing Error: ',
+ 'smtp_connect_failed' => 'SMTP connect() failed.',
+ 'smtp_error' => 'SMTP server error: ',
+ 'variable_set' => 'Cannot set or reset variable: ',
+ 'extension_missing' => 'Extension missing: '
+ );
+ if (empty($lang_path)) {
+ // Calculate an absolute path so it can work if CWD is not here
+ $lang_path = dirname(__FILE__). DIRECTORY_SEPARATOR . 'language'. DIRECTORY_SEPARATOR;
+ }
+ $foundlang = true;
+ $lang_file = $lang_path . 'phpmailer.lang-' . $langcode . '.php';
+ // There is no English translation file
+ if ($langcode != 'en') {
+ // Make sure language file path is readable
+ if (!is_readable($lang_file)) {
+ $foundlang = false;
+ } else {
+ // Overwrite language-specific strings.
+ // This way we'll never have missing translation keys.
+ $foundlang = include $lang_file;
+ }
+ }
+ $this->language = $PHPMAILER_LANG;
+ return (boolean)$foundlang; // Returns false if language not found
+ }
+
+ /**
+ * Get the array of strings for the current language.
+ * @return array
+ */
+ public function getTranslations()
+ {
+ return $this->language;
+ }
+
+ /**
+ * Create recipient headers.
+ * @access public
+ * @param string $type
+ * @param array $addr An array of recipient,
+ * where each recipient is a 2-element indexed array with element 0 containing an address
+ * and element 1 containing a name, like:
+ * array(array('joe@example.com', 'Joe User'), array('zoe@example.com', 'Zoe User'))
+ * @return string
+ */
+ public function addrAppend($type, $addr)
+ {
+ $addresses = array();
+ foreach ($addr as $address) {
+ $addresses[] = $this->addrFormat($address);
+ }
+ return $type . ': ' . implode(', ', $addresses) . $this->LE;
+ }
+
+ /**
+ * Format an address for use in a message header.
+ * @access public
+ * @param array $addr A 2-element indexed array, element 0 containing an address, element 1 containing a name
+ * like array('joe@example.com', 'Joe User')
+ * @return string
+ */
+ public function addrFormat($addr)
+ {
+ if (empty($addr[1])) { // No name provided
+ return $this->secureHeader($addr[0]);
+ } else {
+ return $this->encodeHeader($this->secureHeader($addr[1]), 'phrase') . ' <' . $this->secureHeader(
+ $addr[0]
+ ) . '>';
+ }
+ }
+
+ /**
+ * Word-wrap message.
+ * For use with mailers that do not automatically perform wrapping
+ * and for quoted-printable encoded messages.
+ * Original written by philippe.
+ * @param string $message The message to wrap
+ * @param integer $length The line length to wrap to
+ * @param boolean $qp_mode Whether to run in Quoted-Printable mode
+ * @access public
+ * @return string
+ */
+ public function wrapText($message, $length, $qp_mode = false)
+ {
+ if ($qp_mode) {
+ $soft_break = sprintf(' =%s', $this->LE);
+ } else {
+ $soft_break = $this->LE;
+ }
+ // If utf-8 encoding is used, we will need to make sure we don't
+ // split multibyte characters when we wrap
+ $is_utf8 = (strtolower($this->CharSet) == 'utf-8');
+ $lelen = strlen($this->LE);
+ $crlflen = strlen(self::CRLF);
+
+ $message = $this->fixEOL($message);
+ //Remove a trailing line break
+ if (substr($message, -$lelen) == $this->LE) {
+ $message = substr($message, 0, -$lelen);
+ }
+
+ //Split message into lines
+ $lines = explode($this->LE, $message);
+ //Message will be rebuilt in here
+ $message = '';
+ foreach ($lines as $line) {
+ $words = explode(' ', $line);
+ $buf = '';
+ $firstword = true;
+ foreach ($words as $word) {
+ if ($qp_mode and (strlen($word) > $length)) {
+ $space_left = $length - strlen($buf) - $crlflen;
+ if (!$firstword) {
+ if ($space_left > 20) {
+ $len = $space_left;
+ if ($is_utf8) {
+ $len = $this->utf8CharBoundary($word, $len);
+ } elseif (substr($word, $len - 1, 1) == '=') {
+ $len--;
+ } elseif (substr($word, $len - 2, 1) == '=') {
+ $len -= 2;
+ }
+ $part = substr($word, 0, $len);
+ $word = substr($word, $len);
+ $buf .= ' ' . $part;
+ $message .= $buf . sprintf('=%s', self::CRLF);
+ } else {
+ $message .= $buf . $soft_break;
+ }
+ $buf = '';
+ }
+ while (strlen($word) > 0) {
+ if ($length <= 0) {
+ break;
+ }
+ $len = $length;
+ if ($is_utf8) {
+ $len = $this->utf8CharBoundary($word, $len);
+ } elseif (substr($word, $len - 1, 1) == '=') {
+ $len--;
+ } elseif (substr($word, $len - 2, 1) == '=') {
+ $len -= 2;
+ }
+ $part = substr($word, 0, $len);
+ $word = substr($word, $len);
+
+ if (strlen($word) > 0) {
+ $message .= $part . sprintf('=%s', self::CRLF);
+ } else {
+ $buf = $part;
+ }
+ }
+ } else {
+ $buf_o = $buf;
+ if (!$firstword) {
+ $buf .= ' ';
+ }
+ $buf .= $word;
+
+ if (strlen($buf) > $length and $buf_o != '') {
+ $message .= $buf_o . $soft_break;
+ $buf = $word;
+ }
+ }
+ $firstword = false;
+ }
+ $message .= $buf . self::CRLF;
+ }
+
+ return $message;
+ }
+
+ /**
+ * Find the last character boundary prior to $maxLength in a utf-8
+ * quoted-printable encoded string.
+ * Original written by Colin Brown.
+ * @access public
+ * @param string $encodedText utf-8 QP text
+ * @param integer $maxLength Find the last character boundary prior to this length
+ * @return integer
+ */
+ public function utf8CharBoundary($encodedText, $maxLength)
+ {
+ $foundSplitPos = false;
+ $lookBack = 3;
+ while (!$foundSplitPos) {
+ $lastChunk = substr($encodedText, $maxLength - $lookBack, $lookBack);
+ $encodedCharPos = strpos($lastChunk, '=');
+ if (false !== $encodedCharPos) {
+ // Found start of encoded character byte within $lookBack block.
+ // Check the encoded byte value (the 2 chars after the '=')
+ $hex = substr($encodedText, $maxLength - $lookBack + $encodedCharPos + 1, 2);
+ $dec = hexdec($hex);
+ if ($dec < 128) {
+ // Single byte character.
+ // If the encoded char was found at pos 0, it will fit
+ // otherwise reduce maxLength to start of the encoded char
+ if ($encodedCharPos > 0) {
+ $maxLength = $maxLength - ($lookBack - $encodedCharPos);
+ }
+ $foundSplitPos = true;
+ } elseif ($dec >= 192) {
+ // First byte of a multi byte character
+ // Reduce maxLength to split at start of character
+ $maxLength = $maxLength - ($lookBack - $encodedCharPos);
+ $foundSplitPos = true;
+ } elseif ($dec < 192) {
+ // Middle byte of a multi byte character, look further back
+ $lookBack += 3;
+ }
+ } else {
+ // No encoded character found
+ $foundSplitPos = true;
+ }
+ }
+ return $maxLength;
+ }
+
+ /**
+ * Apply word wrapping to the message body.
+ * Wraps the message body to the number of chars set in the WordWrap property.
+ * You should only do this to plain-text bodies as wrapping HTML tags may break them.
+ * This is called automatically by createBody(), so you don't need to call it yourself.
+ * @access public
+ * @return void
+ */
+ public function setWordWrap()
+ {
+ if ($this->WordWrap < 1) {
+ return;
+ }
+
+ switch ($this->message_type) {
+ case 'alt':
+ case 'alt_inline':
+ case 'alt_attach':
+ case 'alt_inline_attach':
+ $this->AltBody = $this->wrapText($this->AltBody, $this->WordWrap);
+ break;
+ default:
+ $this->Body = $this->wrapText($this->Body, $this->WordWrap);
+ break;
+ }
+ }
+
+ /**
+ * Assemble message headers.
+ * @access public
+ * @return string The assembled headers
+ */
+ public function createHeader()
+ {
+ $result = '';
+
+ // Set the boundaries
+ $uniq_id = md5(uniqid(time()));
+ $this->boundary[1] = 'b1_' . $uniq_id;
+ $this->boundary[2] = 'b2_' . $uniq_id;
+ $this->boundary[3] = 'b3_' . $uniq_id;
+
+ if ($this->MessageDate == '') {
+ $this->MessageDate = self::rfcDate();
+ }
+ $result .= $this->headerLine('Date', $this->MessageDate);
+
+
+ // To be created automatically by mail()
+ if ($this->SingleTo) {
+ if ($this->Mailer != 'mail') {
+ foreach ($this->to as $toaddr) {
+ $this->SingleToArray[] = $this->addrFormat($toaddr);
+ }
+ }
+ } else {
+ if (count($this->to) > 0) {
+ if ($this->Mailer != 'mail') {
+ $result .= $this->addrAppend('To', $this->to);
+ }
+ } elseif (count($this->cc) == 0) {
+ $result .= $this->headerLine('To', 'undisclosed-recipients:;');
+ }
+ }
+
+ $result .= $this->addrAppend('From', array(array(trim($this->From), $this->FromName)));
+
+ // sendmail and mail() extract Cc from the header before sending
+ if (count($this->cc) > 0) {
+ $result .= $this->addrAppend('Cc', $this->cc);
+ }
+
+ // sendmail and mail() extract Bcc from the header before sending
+ if ((
+ $this->Mailer == 'sendmail' or $this->Mailer == 'qmail' or $this->Mailer == 'mail'
+ )
+ and count($this->bcc) > 0
+ ) {
+ $result .= $this->addrAppend('Bcc', $this->bcc);
+ }
+
+ if (count($this->ReplyTo) > 0) {
+ $result .= $this->addrAppend('Reply-To', $this->ReplyTo);
+ }
+
+ // mail() sets the subject itself
+ if ($this->Mailer != 'mail') {
+ $result .= $this->headerLine('Subject', $this->encodeHeader($this->secureHeader($this->Subject)));
+ }
+
+ if ($this->MessageID != '') {
+ $this->lastMessageID = $this->MessageID;
+ } else {
+ $this->lastMessageID = sprintf('<%s@%s>', $uniq_id, $this->ServerHostname());
+ }
+ $result .= $this->headerLine('Message-ID', $this->lastMessageID);
+ $result .= $this->headerLine('X-Priority', $this->Priority);
+ if ($this->XMailer == '') {
+ $result .= $this->headerLine(
+ 'X-Mailer',
+ 'PHPMailer ' . $this->Version . ' (https://github.com/PHPMailer/PHPMailer/)'
+ );
+ } else {
+ $myXmailer = trim($this->XMailer);
+ if ($myXmailer) {
+ $result .= $this->headerLine('X-Mailer', $myXmailer);
+ }
+ }
+
+ if ($this->ConfirmReadingTo != '') {
+ $result .= $this->headerLine('Disposition-Notification-To', '<' . trim($this->ConfirmReadingTo) . '>');
+ }
+
+ // Add custom headers
+ foreach ($this->CustomHeader as $header) {
+ $result .= $this->headerLine(
+ trim($header[0]),
+ $this->encodeHeader(trim($header[1]))
+ );
+ }
+ if (!$this->sign_key_file) {
+ $result .= $this->headerLine('MIME-Version', '1.0');
+ $result .= $this->getMailMIME();
+ }
+
+ return $result;
+ }
+
+ /**
+ * Get the message MIME type headers.
+ * @access public
+ * @return string
+ */
+ public function getMailMIME()
+ {
+ $result = '';
+ $ismultipart = true;
+ switch ($this->message_type) {
+ case 'inline':
+ $result .= $this->headerLine('Content-Type', 'multipart/related;');
+ $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"');
+ break;
+ case 'attach':
+ case 'inline_attach':
+ case 'alt_attach':
+ case 'alt_inline_attach':
+ $result .= $this->headerLine('Content-Type', 'multipart/mixed;');
+ $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"');
+ break;
+ case 'alt':
+ case 'alt_inline':
+ $result .= $this->headerLine('Content-Type', 'multipart/alternative;');
+ $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"');
+ break;
+ default:
+ // Catches case 'plain': and case '':
+ $result .= $this->textLine('Content-Type: ' . $this->ContentType . '; charset=' . $this->CharSet);
+ $ismultipart = false;
+ break;
+ }
+ // RFC1341 part 5 says 7bit is assumed if not specified
+ if ($this->Encoding != '7bit') {
+ // RFC 2045 section 6.4 says multipart MIME parts may only use 7bit, 8bit or binary CTE
+ if ($ismultipart) {
+ if ($this->Encoding == '8bit') {
+ $result .= $this->headerLine('Content-Transfer-Encoding', '8bit');
+ }
+ // The only remaining alternatives are quoted-printable and base64, which are both 7bit compatible
+ } else {
+ $result .= $this->headerLine('Content-Transfer-Encoding', $this->Encoding);
+ }
+ }
+
+ if ($this->Mailer != 'mail') {
+ $result .= $this->LE;
+ }
+
+ return $result;
+ }
+
+ /**
+ * Returns the whole MIME message.
+ * Includes complete headers and body.
+ * Only valid post preSend().
+ * @see PHPMailer::preSend()
+ * @access public
+ * @return string
+ */
+ public function getSentMIMEMessage()
+ {
+ return $this->MIMEHeader . $this->mailHeader . self::CRLF . $this->MIMEBody;
+ }
+
+ /**
+ * Assemble the message body.
+ * Returns an empty string on failure.
+ * @access public
+ * @throws phpmailerException
+ * @return string The assembled message body
+ */
+ public function createBody()
+ {
+ $body = '';
+
+ if ($this->sign_key_file) {
+ $body .= $this->getMailMIME() . $this->LE;
+ }
+
+ $this->setWordWrap();
+
+ $bodyEncoding = $this->Encoding;
+ $bodyCharSet = $this->CharSet;
+ if ($bodyEncoding == '8bit' and !$this->has8bitChars($this->Body)) {
+ $bodyEncoding = '7bit';
+ $bodyCharSet = 'us-ascii';
+ }
+ $altBodyEncoding = $this->Encoding;
+ $altBodyCharSet = $this->CharSet;
+ if ($altBodyEncoding == '8bit' and !$this->has8bitChars($this->AltBody)) {
+ $altBodyEncoding = '7bit';
+ $altBodyCharSet = 'us-ascii';
+ }
+ //Use this as a preamble in all multipart message types
+ $mimepre = "This is a multi-part message in MIME format." . $this->LE . $this->LE;
+ switch ($this->message_type) {
+ case 'inline':
+ $body .= $mimepre;
+ $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding);
+ $body .= $this->encodeString($this->Body, $bodyEncoding);
+ $body .= $this->LE . $this->LE;
+ $body .= $this->attachAll('inline', $this->boundary[1]);
+ break;
+ case 'attach':
+ $body .= $mimepre;
+ $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding);
+ $body .= $this->encodeString($this->Body, $bodyEncoding);
+ $body .= $this->LE . $this->LE;
+ $body .= $this->attachAll('attachment', $this->boundary[1]);
+ break;
+ case 'inline_attach':
+ $body .= $mimepre;
+ $body .= $this->textLine('--' . $this->boundary[1]);
+ $body .= $this->headerLine('Content-Type', 'multipart/related;');
+ $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"');
+ $body .= $this->LE;
+ $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, '', $bodyEncoding);
+ $body .= $this->encodeString($this->Body, $bodyEncoding);
+ $body .= $this->LE . $this->LE;
+ $body .= $this->attachAll('inline', $this->boundary[2]);
+ $body .= $this->LE;
+ $body .= $this->attachAll('attachment', $this->boundary[1]);
+ break;
+ case 'alt':
+ $body .= $mimepre;
+ $body .= $this->getBoundary($this->boundary[1], $altBodyCharSet, 'text/plain', $altBodyEncoding);
+ $body .= $this->encodeString($this->AltBody, $altBodyEncoding);
+ $body .= $this->LE . $this->LE;
+ $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, 'text/html', $bodyEncoding);
+ $body .= $this->encodeString($this->Body, $bodyEncoding);
+ $body .= $this->LE . $this->LE;
+ if (!empty($this->Ical)) {
+ $body .= $this->getBoundary($this->boundary[1], '', 'text/calendar; method=REQUEST', '');
+ $body .= $this->encodeString($this->Ical, $this->Encoding);
+ $body .= $this->LE . $this->LE;
+ }
+ $body .= $this->endBoundary($this->boundary[1]);
+ break;
+ case 'alt_inline':
+ $body .= $mimepre;
+ $body .= $this->getBoundary($this->boundary[1], $altBodyCharSet, 'text/plain', $altBodyEncoding);
+ $body .= $this->encodeString($this->AltBody, $altBodyEncoding);
+ $body .= $this->LE . $this->LE;
+ $body .= $this->textLine('--' . $this->boundary[1]);
+ $body .= $this->headerLine('Content-Type', 'multipart/related;');
+ $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"');
+ $body .= $this->LE;
+ $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, 'text/html', $bodyEncoding);
+ $body .= $this->encodeString($this->Body, $bodyEncoding);
+ $body .= $this->LE . $this->LE;
+ $body .= $this->attachAll('inline', $this->boundary[2]);
+ $body .= $this->LE;
+ $body .= $this->endBoundary($this->boundary[1]);
+ break;
+ case 'alt_attach':
+ $body .= $mimepre;
+ $body .= $this->textLine('--' . $this->boundary[1]);
+ $body .= $this->headerLine('Content-Type', 'multipart/alternative;');
+ $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"');
+ $body .= $this->LE;
+ $body .= $this->getBoundary($this->boundary[2], $altBodyCharSet, 'text/plain', $altBodyEncoding);
+ $body .= $this->encodeString($this->AltBody, $altBodyEncoding);
+ $body .= $this->LE . $this->LE;
+ $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, 'text/html', $bodyEncoding);
+ $body .= $this->encodeString($this->Body, $bodyEncoding);
+ $body .= $this->LE . $this->LE;
+ $body .= $this->endBoundary($this->boundary[2]);
+ $body .= $this->LE;
+ $body .= $this->attachAll('attachment', $this->boundary[1]);
+ break;
+ case 'alt_inline_attach':
+ $body .= $mimepre;
+ $body .= $this->textLine('--' . $this->boundary[1]);
+ $body .= $this->headerLine('Content-Type', 'multipart/alternative;');
+ $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"');
+ $body .= $this->LE;
+ $body .= $this->getBoundary($this->boundary[2], $altBodyCharSet, 'text/plain', $altBodyEncoding);
+ $body .= $this->encodeString($this->AltBody, $altBodyEncoding);
+ $body .= $this->LE . $this->LE;
+ $body .= $this->textLine('--' . $this->boundary[2]);
+ $body .= $this->headerLine('Content-Type', 'multipart/related;');
+ $body .= $this->textLine("\tboundary=\"" . $this->boundary[3] . '"');
+ $body .= $this->LE;
+ $body .= $this->getBoundary($this->boundary[3], $bodyCharSet, 'text/html', $bodyEncoding);
+ $body .= $this->encodeString($this->Body, $bodyEncoding);
+ $body .= $this->LE . $this->LE;
+ $body .= $this->attachAll('inline', $this->boundary[3]);
+ $body .= $this->LE;
+ $body .= $this->endBoundary($this->boundary[2]);
+ $body .= $this->LE;
+ $body .= $this->attachAll('attachment', $this->boundary[1]);
+ break;
+ default:
+ // catch case 'plain' and case ''
+ $body .= $this->encodeString($this->Body, $bodyEncoding);
+ break;
+ }
+
+ if ($this->isError()) {
+ $body = '';
+ } elseif ($this->sign_key_file) {
+ try {
+ if (!defined('PKCS7_TEXT')) {
+ throw new phpmailerException($this->lang('extension_missing') . 'openssl');
+ }
+ // @TODO would be nice to use php://temp streams here, but need to wrap for PHP < 5.1
+ $file = tempnam(sys_get_temp_dir(), 'mail');
+ if (false === file_put_contents($file, $body)) {
+ throw new phpmailerException($this->lang('signing') . ' Could not write temp file');
+ }
+ $signed = tempnam(sys_get_temp_dir(), 'signed');
+ //Workaround for PHP bug https://bugs.php.net/bug.php?id=69197
+ if (empty($this->sign_extracerts_file)) {
+ $sign = @openssl_pkcs7_sign(
+ $file,
+ $signed,
+ 'file://' . realpath($this->sign_cert_file),
+ array('file://' . realpath($this->sign_key_file), $this->sign_key_pass),
+ null
+ );
+ } else {
+ $sign = @openssl_pkcs7_sign(
+ $file,
+ $signed,
+ 'file://' . realpath($this->sign_cert_file),
+ array('file://' . realpath($this->sign_key_file), $this->sign_key_pass),
+ null,
+ PKCS7_DETACHED,
+ $this->sign_extracerts_file
+ );
+ }
+ if ($sign) {
+ @unlink($file);
+ $body = file_get_contents($signed);
+ @unlink($signed);
+ //The message returned by openssl contains both headers and body, so need to split them up
+ $parts = explode("\n\n", $body, 2);
+ $this->MIMEHeader .= $parts[0] . $this->LE . $this->LE;
+ $body = $parts[1];
+ } else {
+ @unlink($file);
+ @unlink($signed);
+ throw new phpmailerException($this->lang('signing') . openssl_error_string());
+ }
+ } catch (phpmailerException $exc) {
+ $body = '';
+ if ($this->exceptions) {
+ throw $exc;
+ }
+ }
+ }
+ return $body;
+ }
+
+ /**
+ * Return the start of a message boundary.
+ * @access protected
+ * @param string $boundary
+ * @param string $charSet
+ * @param string $contentType
+ * @param string $encoding
+ * @return string
+ */
+ protected function getBoundary($boundary, $charSet, $contentType, $encoding)
+ {
+ $result = '';
+ if ($charSet == '') {
+ $charSet = $this->CharSet;
+ }
+ if ($contentType == '') {
+ $contentType = $this->ContentType;
+ }
+ if ($encoding == '') {
+ $encoding = $this->Encoding;
+ }
+ $result .= $this->textLine('--' . $boundary);
+ $result .= sprintf('Content-Type: %s; charset=%s', $contentType, $charSet);
+ $result .= $this->LE;
+ // RFC1341 part 5 says 7bit is assumed if not specified
+ if ($encoding != '7bit') {
+ $result .= $this->headerLine('Content-Transfer-Encoding', $encoding);
+ }
+ $result .= $this->LE;
+
+ return $result;
+ }
+
+ /**
+ * Return the end of a message boundary.
+ * @access protected
+ * @param string $boundary
+ * @return string
+ */
+ protected function endBoundary($boundary)
+ {
+ return $this->LE . '--' . $boundary . '--' . $this->LE;
+ }
+
+ /**
+ * Set the message type.
+ * PHPMailer only supports some preset message types,
+ * not arbitrary MIME structures.
+ * @access protected
+ * @return void
+ */
+ protected function setMessageType()
+ {
+ $type = array();
+ if ($this->alternativeExists()) {
+ $type[] = 'alt';
+ }
+ if ($this->inlineImageExists()) {
+ $type[] = 'inline';
+ }
+ if ($this->attachmentExists()) {
+ $type[] = 'attach';
+ }
+ $this->message_type = implode('_', $type);
+ if ($this->message_type == '') {
+ $this->message_type = 'plain';
+ }
+ }
+
+ /**
+ * Format a header line.
+ * @access public
+ * @param string $name
+ * @param string $value
+ * @return string
+ */
+ public function headerLine($name, $value)
+ {
+ return $name . ': ' . $value . $this->LE;
+ }
+
+ /**
+ * Return a formatted mail line.
+ * @access public
+ * @param string $value
+ * @return string
+ */
+ public function textLine($value)
+ {
+ return $value . $this->LE;
+ }
+
+ /**
+ * Add an attachment from a path on the filesystem.
+ * Returns false if the file could not be found or read.
+ * @param string $path Path to the attachment.
+ * @param string $name Overrides the attachment name.
+ * @param string $encoding File encoding (see $Encoding).
+ * @param string $type File extension (MIME) type.
+ * @param string $disposition Disposition to use
+ * @throws phpmailerException
+ * @return boolean
+ */
+ public function addAttachment($path, $name = '', $encoding = 'base64', $type = '', $disposition = 'attachment')
+ {
+ try {
+ if (!@is_file($path)) {
+ throw new phpmailerException($this->lang('file_access') . $path, self::STOP_CONTINUE);
+ }
+
+ // If a MIME type is not specified, try to work it out from the file name
+ if ($type == '') {
+ $type = self::filenameToType($path);
+ }
+
+ $filename = basename($path);
+ if ($name == '') {
+ $name = $filename;
+ }
+
+ $this->attachment[] = array(
+ 0 => $path,
+ 1 => $filename,
+ 2 => $name,
+ 3 => $encoding,
+ 4 => $type,
+ 5 => false, // isStringAttachment
+ 6 => $disposition,
+ 7 => 0
+ );
+
+ } catch (phpmailerException $exc) {
+ $this->setError($exc->getMessage());
+ $this->edebug($exc->getMessage());
+ if ($this->exceptions) {
+ throw $exc;
+ }
+ return false;
+ }
+ return true;
+ }
+
+ /**
+ * Return the array of attachments.
+ * @return array
+ */
+ public function getAttachments()
+ {
+ return $this->attachment;
+ }
+
+ /**
+ * Attach all file, string, and binary attachments to the message.
+ * Returns an empty string on failure.
+ * @access protected
+ * @param string $disposition_type
+ * @param string $boundary
+ * @return string
+ */
+ protected function attachAll($disposition_type, $boundary)
+ {
+ // Return text of body
+ $mime = array();
+ $cidUniq = array();
+ $incl = array();
+
+ // Add all attachments
+ foreach ($this->attachment as $attachment) {
+ // Check if it is a valid disposition_filter
+ if ($attachment[6] == $disposition_type) {
+ // Check for string attachment
+ $string = '';
+ $path = '';
+ $bString = $attachment[5];
+ if ($bString) {
+ $string = $attachment[0];
+ } else {
+ $path = $attachment[0];
+ }
+
+ $inclhash = md5(serialize($attachment));
+ if (in_array($inclhash, $incl)) {
+ continue;
+ }
+ $incl[] = $inclhash;
+ $name = $attachment[2];
+ $encoding = $attachment[3];
+ $type = $attachment[4];
+ $disposition = $attachment[6];
+ $cid = $attachment[7];
+ if ($disposition == 'inline' && isset($cidUniq[$cid])) {
+ continue;
+ }
+ $cidUniq[$cid] = true;
+
+ $mime[] = sprintf('--%s%s', $boundary, $this->LE);
+ $mime[] = sprintf(
+ 'Content-Type: %s; name="%s"%s',
+ $type,
+ $this->encodeHeader($this->secureHeader($name)),
+ $this->LE
+ );
+ // RFC1341 part 5 says 7bit is assumed if not specified
+ if ($encoding != '7bit') {
+ $mime[] = sprintf('Content-Transfer-Encoding: %s%s', $encoding, $this->LE);
+ }
+
+ if ($disposition == 'inline') {
+ $mime[] = sprintf('Content-ID: <%s>%s', $cid, $this->LE);
+ }
+
+ // If a filename contains any of these chars, it should be quoted,
+ // but not otherwise: RFC2183 & RFC2045 5.1
+ // Fixes a warning in IETF's msglint MIME checker
+ // Allow for bypassing the Content-Disposition header totally
+ if (!(empty($disposition))) {
+ $encoded_name = $this->encodeHeader($this->secureHeader($name));
+ if (preg_match('/[ \(\)<>@,;:\\"\/\[\]\?=]/', $encoded_name)) {
+ $mime[] = sprintf(
+ 'Content-Disposition: %s; filename="%s"%s',
+ $disposition,
+ $encoded_name,
+ $this->LE . $this->LE
+ );
+ } else {
+ $mime[] = sprintf(
+ 'Content-Disposition: %s; filename=%s%s',
+ $disposition,
+ $encoded_name,
+ $this->LE . $this->LE
+ );
+ }
+ } else {
+ $mime[] = $this->LE;
+ }
+
+ // Encode as string attachment
+ if ($bString) {
+ $mime[] = $this->encodeString($string, $encoding);
+ if ($this->isError()) {
+ return '';
+ }
+ $mime[] = $this->LE . $this->LE;
+ } else {
+ $mime[] = $this->encodeFile($path, $encoding);
+ if ($this->isError()) {
+ return '';
+ }
+ $mime[] = $this->LE . $this->LE;
+ }
+ }
+ }
+
+ $mime[] = sprintf('--%s--%s', $boundary, $this->LE);
+
+ return implode('', $mime);
+ }
+
+ /**
+ * Encode a file attachment in requested format.
+ * Returns an empty string on failure.
+ * @param string $path The full path to the file
+ * @param string $encoding The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable'
+ * @throws phpmailerException
+ * @see EncodeFile(encodeFile
+ * @access protected
+ * @return string
+ */
+ protected function encodeFile($path, $encoding = 'base64')
+ {
+ try {
+ if (!is_readable($path)) {
+ throw new phpmailerException($this->lang('file_open') . $path, self::STOP_CONTINUE);
+ }
+ $magic_quotes = get_magic_quotes_runtime();
+ if ($magic_quotes) {
+ if (version_compare(PHP_VERSION, '5.3.0', '<')) {
+ set_magic_quotes_runtime(false);
+ } else {
+ //Doesn't exist in PHP 5.4, but we don't need to check because
+ //get_magic_quotes_runtime always returns false in 5.4+
+ //so it will never get here
+ ini_set('magic_quotes_runtime', false);
+ }
+ }
+ $file_buffer = file_get_contents($path);
+ $file_buffer = $this->encodeString($file_buffer, $encoding);
+ if ($magic_quotes) {
+ if (version_compare(PHP_VERSION, '5.3.0', '<')) {
+ set_magic_quotes_runtime($magic_quotes);
+ } else {
+ ini_set('magic_quotes_runtime', $magic_quotes);
+ }
+ }
+ return $file_buffer;
+ } catch (Exception $exc) {
+ $this->setError($exc->getMessage());
+ return '';
+ }
+ }
+
+ /**
+ * Encode a string in requested format.
+ * Returns an empty string on failure.
+ * @param string $str The text to encode
+ * @param string $encoding The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable'
+ * @access public
+ * @return string
+ */
+ public function encodeString($str, $encoding = 'base64')
+ {
+ $encoded = '';
+ switch (strtolower($encoding)) {
+ case 'base64':
+ $encoded = chunk_split(base64_encode($str), 76, $this->LE);
+ break;
+ case '7bit':
+ case '8bit':
+ $encoded = $this->fixEOL($str);
+ // Make sure it ends with a line break
+ if (substr($encoded, -(strlen($this->LE))) != $this->LE) {
+ $encoded .= $this->LE;
+ }
+ break;
+ case 'binary':
+ $encoded = $str;
+ break;
+ case 'quoted-printable':
+ $encoded = $this->encodeQP($str);
+ break;
+ default:
+ $this->setError($this->lang('encoding') . $encoding);
+ break;
+ }
+ return $encoded;
+ }
+
+ /**
+ * Encode a header string optimally.
+ * Picks shortest of Q, B, quoted-printable or none.
+ * @access public
+ * @param string $str
+ * @param string $position
+ * @return string
+ */
+ public function encodeHeader($str, $position = 'text')
+ {
+ $matchcount = 0;
+ switch (strtolower($position)) {
+ case 'phrase':
+ if (!preg_match('/[\200-\377]/', $str)) {
+ // Can't use addslashes as we don't know the value of magic_quotes_sybase
+ $encoded = addcslashes($str, "\0..\37\177\\\"");
+ if (($str == $encoded) && !preg_match('/[^A-Za-z0-9!#$%&\'*+\/=?^_`{|}~ -]/', $str)) {
+ return ($encoded);
+ } else {
+ return ("\"$encoded\"");
+ }
+ }
+ $matchcount = preg_match_all('/[^\040\041\043-\133\135-\176]/', $str, $matches);
+ break;
+ /** @noinspection PhpMissingBreakStatementInspection */
+ case 'comment':
+ $matchcount = preg_match_all('/[()"]/', $str, $matches);
+ // Intentional fall-through
+ case 'text':
+ default:
+ $matchcount += preg_match_all('/[\000-\010\013\014\016-\037\177-\377]/', $str, $matches);
+ break;
+ }
+
+ //There are no chars that need encoding
+ if ($matchcount == 0) {
+ return ($str);
+ }
+
+ $maxlen = 75 - 7 - strlen($this->CharSet);
+ // Try to select the encoding which should produce the shortest output
+ if ($matchcount > strlen($str) / 3) {
+ // More than a third of the content will need encoding, so B encoding will be most efficient
+ $encoding = 'B';
+ if (function_exists('mb_strlen') && $this->hasMultiBytes($str)) {
+ // Use a custom function which correctly encodes and wraps long
+ // multibyte strings without breaking lines within a character
+ $encoded = $this->base64EncodeWrapMB($str, "\n");
+ } else {
+ $encoded = base64_encode($str);
+ $maxlen -= $maxlen % 4;
+ $encoded = trim(chunk_split($encoded, $maxlen, "\n"));
+ }
+ } else {
+ $encoding = 'Q';
+ $encoded = $this->encodeQ($str, $position);
+ $encoded = $this->wrapText($encoded, $maxlen, true);
+ $encoded = str_replace('=' . self::CRLF, "\n", trim($encoded));
+ }
+
+ $encoded = preg_replace('/^(.*)$/m', ' =?' . $this->CharSet . "?$encoding?\\1?=", $encoded);
+ $encoded = trim(str_replace("\n", $this->LE, $encoded));
+
+ return $encoded;
+ }
+
+ /**
+ * Check if a string contains multi-byte characters.
+ * @access public
+ * @param string $str multi-byte text to wrap encode
+ * @return boolean
+ */
+ public function hasMultiBytes($str)
+ {
+ if (function_exists('mb_strlen')) {
+ return (strlen($str) > mb_strlen($str, $this->CharSet));
+ } else { // Assume no multibytes (we can't handle without mbstring functions anyway)
+ return false;
+ }
+ }
+
+ /**
+ * Does a string contain any 8-bit chars (in any charset)?
+ * @param string $text
+ * @return boolean
+ */
+ public function has8bitChars($text)
+ {
+ return (boolean)preg_match('/[\x80-\xFF]/', $text);
+ }
+
+ /**
+ * Encode and wrap long multibyte strings for mail headers
+ * without breaking lines within a character.
+ * Adapted from a function by paravoid
+ * @link http://www.php.net/manual/en/function.mb-encode-mimeheader.php#60283
+ * @access public
+ * @param string $str multi-byte text to wrap encode
+ * @param string $linebreak string to use as linefeed/end-of-line
+ * @return string
+ */
+ public function base64EncodeWrapMB($str, $linebreak = null)
+ {
+ $start = '=?' . $this->CharSet . '?B?';
+ $end = '?=';
+ $encoded = '';
+ if ($linebreak === null) {
+ $linebreak = $this->LE;
+ }
+
+ $mb_length = mb_strlen($str, $this->CharSet);
+ // Each line must have length <= 75, including $start and $end
+ $length = 75 - strlen($start) - strlen($end);
+ // Average multi-byte ratio
+ $ratio = $mb_length / strlen($str);
+ // Base64 has a 4:3 ratio
+ $avgLength = floor($length * $ratio * .75);
+
+ for ($i = 0; $i < $mb_length; $i += $offset) {
+ $lookBack = 0;
+ do {
+ $offset = $avgLength - $lookBack;
+ $chunk = mb_substr($str, $i, $offset, $this->CharSet);
+ $chunk = base64_encode($chunk);
+ $lookBack++;
+ } while (strlen($chunk) > $length);
+ $encoded .= $chunk . $linebreak;
+ }
+
+ // Chomp the last linefeed
+ $encoded = substr($encoded, 0, -strlen($linebreak));
+ return $encoded;
+ }
+
+ /**
+ * Encode a string in quoted-printable format.
+ * According to RFC2045 section 6.7.
+ * @access public
+ * @param string $string The text to encode
+ * @param integer $line_max Number of chars allowed on a line before wrapping
+ * @return string
+ * @link http://www.php.net/manual/en/function.quoted-printable-decode.php#89417 Adapted from this comment
+ */
+ public function encodeQP($string, $line_max = 76)
+ {
+ // Use native function if it's available (>= PHP5.3)
+ if (function_exists('quoted_printable_encode')) {
+ return $this->fixEOL(quoted_printable_encode($string));
+ }
+ // Fall back to a pure PHP implementation
+ $string = str_replace(
+ array('%20', '%0D%0A.', '%0D%0A', '%'),
+ array(' ', "\r\n=2E", "\r\n", '='),
+ rawurlencode($string)
+ );
+ $string = preg_replace('/[^\r\n]{' . ($line_max - 3) . '}[^=\r\n]{2}/', "$0=\r\n", $string);
+ return $this->fixEOL($string);
+ }
+
+ /**
+ * Backward compatibility wrapper for an old QP encoding function that was removed.
+ * @see PHPMailer::encodeQP()
+ * @access public
+ * @param string $string
+ * @param integer $line_max
+ * @param boolean $space_conv
+ * @return string
+ * @deprecated Use encodeQP instead.
+ */
+ public function encodeQPphp(
+ $string,
+ $line_max = 76,
+ /** @noinspection PhpUnusedParameterInspection */ $space_conv = false
+ ) {
+ return $this->encodeQP($string, $line_max);
+ }
+
+ /**
+ * Encode a string using Q encoding.
+ * @link http://tools.ietf.org/html/rfc2047
+ * @param string $str the text to encode
+ * @param string $position Where the text is going to be used, see the RFC for what that means
+ * @access public
+ * @return string
+ */
+ public function encodeQ($str, $position = 'text')
+ {
+ // There should not be any EOL in the string
+ $pattern = '';
+ $encoded = str_replace(array("\r", "\n"), '', $str);
+ switch (strtolower($position)) {
+ case 'phrase':
+ // RFC 2047 section 5.3
+ $pattern = '^A-Za-z0-9!*+\/ -';
+ break;
+ /** @noinspection PhpMissingBreakStatementInspection */
+ case 'comment':
+ // RFC 2047 section 5.2
+ $pattern = '\(\)"';
+ // intentional fall-through
+ // for this reason we build the $pattern without including delimiters and []
+ case 'text':
+ default:
+ // RFC 2047 section 5.1
+ // Replace every high ascii, control, =, ? and _ characters
+ $pattern = '\000-\011\013\014\016-\037\075\077\137\177-\377' . $pattern;
+ break;
+ }
+ $matches = array();
+ if (preg_match_all("/[{$pattern}]/", $encoded, $matches)) {
+ // If the string contains an '=', make sure it's the first thing we replace
+ // so as to avoid double-encoding
+ $eqkey = array_search('=', $matches[0]);
+ if (false !== $eqkey) {
+ unset($matches[0][$eqkey]);
+ array_unshift($matches[0], '=');
+ }
+ foreach (array_unique($matches[0]) as $char) {
+ $encoded = str_replace($char, '=' . sprintf('%02X', ord($char)), $encoded);
+ }
+ }
+ // Replace every spaces to _ (more readable than =20)
+ return str_replace(' ', '_', $encoded);
+ }
+
+
+ /**
+ * Add a string or binary attachment (non-filesystem).
+ * This method can be used to attach ascii or binary data,
+ * such as a BLOB record from a database.
+ * @param string $string String attachment data.
+ * @param string $filename Name of the attachment.
+ * @param string $encoding File encoding (see $Encoding).
+ * @param string $type File extension (MIME) type.
+ * @param string $disposition Disposition to use
+ * @return void
+ */
+ public function addStringAttachment(
+ $string,
+ $filename,
+ $encoding = 'base64',
+ $type = '',
+ $disposition = 'attachment'
+ ) {
+ // If a MIME type is not specified, try to work it out from the file name
+ if ($type == '') {
+ $type = self::filenameToType($filename);
+ }
+ // Append to $attachment array
+ $this->attachment[] = array(
+ 0 => $string,
+ 1 => $filename,
+ 2 => basename($filename),
+ 3 => $encoding,
+ 4 => $type,
+ 5 => true, // isStringAttachment
+ 6 => $disposition,
+ 7 => 0
+ );
+ }
+
+ /**
+ * Add an embedded (inline) attachment from a file.
+ * This can include images, sounds, and just about any other document type.
+ * These differ from 'regular' attachments in that they are intended to be
+ * displayed inline with the message, not just attached for download.
+ * This is used in HTML messages that embed the images
+ * the HTML refers to using the $cid value.
+ * @param string $path Path to the attachment.
+ * @param string $cid Content ID of the attachment; Use this to reference
+ * the content when using an embedded image in HTML.
+ * @param string $name Overrides the attachment name.
+ * @param string $encoding File encoding (see $Encoding).
+ * @param string $type File MIME type.
+ * @param string $disposition Disposition to use
+ * @return boolean True on successfully adding an attachment
+ */
+ public function addEmbeddedImage($path, $cid, $name = '', $encoding = 'base64', $type = '', $disposition = 'inline')
+ {
+ if (!@is_file($path)) {
+ $this->setError($this->lang('file_access') . $path);
+ return false;
+ }
+
+ // If a MIME type is not specified, try to work it out from the file name
+ if ($type == '') {
+ $type = self::filenameToType($path);
+ }
+
+ $filename = basename($path);
+ if ($name == '') {
+ $name = $filename;
+ }
+
+ // Append to $attachment array
+ $this->attachment[] = array(
+ 0 => $path,
+ 1 => $filename,
+ 2 => $name,
+ 3 => $encoding,
+ 4 => $type,
+ 5 => false, // isStringAttachment
+ 6 => $disposition,
+ 7 => $cid
+ );
+ return true;
+ }
+
+ /**
+ * Add an embedded stringified attachment.
+ * This can include images, sounds, and just about any other document type.
+ * Be sure to set the $type to an image type for images:
+ * JPEG images use 'image/jpeg', GIF uses 'image/gif', PNG uses 'image/png'.
+ * @param string $string The attachment binary data.
+ * @param string $cid Content ID of the attachment; Use this to reference
+ * the content when using an embedded image in HTML.
+ * @param string $name
+ * @param string $encoding File encoding (see $Encoding).
+ * @param string $type MIME type.
+ * @param string $disposition Disposition to use
+ * @return boolean True on successfully adding an attachment
+ */
+ public function addStringEmbeddedImage(
+ $string,
+ $cid,
+ $name = '',
+ $encoding = 'base64',
+ $type = '',
+ $disposition = 'inline'
+ ) {
+ // If a MIME type is not specified, try to work it out from the name
+ if ($type == '') {
+ $type = self::filenameToType($name);
+ }
+
+ // Append to $attachment array
+ $this->attachment[] = array(
+ 0 => $string,
+ 1 => $name,
+ 2 => $name,
+ 3 => $encoding,
+ 4 => $type,
+ 5 => true, // isStringAttachment
+ 6 => $disposition,
+ 7 => $cid
+ );
+ return true;
+ }
+
+ /**
+ * Check if an inline attachment is present.
+ * @access public
+ * @return boolean
+ */
+ public function inlineImageExists()
+ {
+ foreach ($this->attachment as $attachment) {
+ if ($attachment[6] == 'inline') {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Check if an attachment (non-inline) is present.
+ * @return boolean
+ */
+ public function attachmentExists()
+ {
+ foreach ($this->attachment as $attachment) {
+ if ($attachment[6] == 'attachment') {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Check if this message has an alternative body set.
+ * @return boolean
+ */
+ public function alternativeExists()
+ {
+ return !empty($this->AltBody);
+ }
+
+ /**
+ * Clear all To recipients.
+ * @return void
+ */
+ public function clearAddresses()
+ {
+ foreach ($this->to as $to) {
+ unset($this->all_recipients[strtolower($to[0])]);
+ }
+ $this->to = array();
+ }
+
+ /**
+ * Clear all CC recipients.
+ * @return void
+ */
+ public function clearCCs()
+ {
+ foreach ($this->cc as $cc) {
+ unset($this->all_recipients[strtolower($cc[0])]);
+ }
+ $this->cc = array();
+ }
+
+ /**
+ * Clear all BCC recipients.
+ * @return void
+ */
+ public function clearBCCs()
+ {
+ foreach ($this->bcc as $bcc) {
+ unset($this->all_recipients[strtolower($bcc[0])]);
+ }
+ $this->bcc = array();
+ }
+
+ /**
+ * Clear all ReplyTo recipients.
+ * @return void
+ */
+ public function clearReplyTos()
+ {
+ $this->ReplyTo = array();
+ }
+
+ /**
+ * Clear all recipient types.
+ * @return void
+ */
+ public function clearAllRecipients()
+ {
+ $this->to = array();
+ $this->cc = array();
+ $this->bcc = array();
+ $this->all_recipients = array();
+ }
+
+ /**
+ * Clear all filesystem, string, and binary attachments.
+ * @return void
+ */
+ public function clearAttachments()
+ {
+ $this->attachment = array();
+ }
+
+ /**
+ * Clear all custom headers.
+ * @return void
+ */
+ public function clearCustomHeaders()
+ {
+ $this->CustomHeader = array();
+ }
+
+ /**
+ * Add an error message to the error container.
+ * @access protected
+ * @param string $msg
+ * @return void
+ */
+ protected function setError($msg)
+ {
+ $this->error_count++;
+ if ($this->Mailer == 'smtp' and !is_null($this->smtp)) {
+ $lasterror = $this->smtp->getError();
+ if (!empty($lasterror['error'])) {
+ $msg .= $this->lang('smtp_error') . $lasterror['error'];
+ if (!empty($lasterror['detail'])) {
+ $msg .= ' Detail: '. $lasterror['detail'];
+ }
+ if (!empty($lasterror['smtp_code'])) {
+ $msg .= ' SMTP code: ' . $lasterror['smtp_code'];
+ }
+ if (!empty($lasterror['smtp_code_ex'])) {
+ $msg .= ' Additional SMTP info: ' . $lasterror['smtp_code_ex'];
+ }
+ }
+ }
+ $this->ErrorInfo = $msg;
+ }
+
+ /**
+ * Return an RFC 822 formatted date.
+ * @access public
+ * @return string
+ * @static
+ */
+ public static function rfcDate()
+ {
+ // Set the time zone to whatever the default is to avoid 500 errors
+ // Will default to UTC if it's not set properly in php.ini
+ date_default_timezone_set(@date_default_timezone_get());
+ return date('D, j M Y H:i:s O');
+ }
+
+ /**
+ * Get the server hostname.
+ * Returns 'localhost.localdomain' if unknown.
+ * @access protected
+ * @return string
+ */
+ protected function serverHostname()
+ {
+ $result = 'localhost.localdomain';
+ if (!empty($this->Hostname)) {
+ $result = $this->Hostname;
+ } elseif (isset($_SERVER) and array_key_exists('SERVER_NAME', $_SERVER) and !empty($_SERVER['SERVER_NAME'])) {
+ $result = $_SERVER['SERVER_NAME'];
+ } elseif (function_exists('gethostname') && gethostname() !== false) {
+ $result = gethostname();
+ } elseif (php_uname('n') !== false) {
+ $result = php_uname('n');
+ }
+ return $result;
+ }
+
+ /**
+ * Get an error message in the current language.
+ * @access protected
+ * @param string $key
+ * @return string
+ */
+ protected function lang($key)
+ {
+ if (count($this->language) < 1) {
+ $this->setLanguage('en'); // set the default language
+ }
+
+ if (array_key_exists($key, $this->language)) {
+ return $this->language[$key];
+ } else {
+ //Return the key as a fallback
+ return $key;
+ }
+ }
+
+ /**
+ * Check if an error occurred.
+ * @access public
+ * @return boolean True if an error did occur.
+ */
+ public function isError()
+ {
+ return ($this->error_count > 0);
+ }
+
+ /**
+ * Ensure consistent line endings in a string.
+ * Changes every end of line from CRLF, CR or LF to $this->LE.
+ * @access public
+ * @param string $str String to fixEOL
+ * @return string
+ */
+ public function fixEOL($str)
+ {
+ // Normalise to \n
+ $nstr = str_replace(array("\r\n", "\r"), "\n", $str);
+ // Now convert LE as needed
+ if ($this->LE !== "\n") {
+ $nstr = str_replace("\n", $this->LE, $nstr);
+ }
+ return $nstr;
+ }
+
+ /**
+ * Add a custom header.
+ * $name value can be overloaded to contain
+ * both header name and value (name:value)
+ * @access public
+ * @param string $name Custom header name
+ * @param string $value Header value
+ * @return void
+ */
+ public function addCustomHeader($name, $value = null)
+ {
+ if ($value === null) {
+ // Value passed in as name:value
+ $this->CustomHeader[] = explode(':', $name, 2);
+ } else {
+ $this->CustomHeader[] = array($name, $value);
+ }
+ }
+
+ /**
+ * Returns all custom headers
+ *
+ * @return array
+ */
+ public function getCustomHeaders()
+ {
+ return $this->CustomHeader;
+ }
+
+ /**
+ * Create a message from an HTML string.
+ * Automatically makes modifications for inline images and backgrounds
+ * and creates a plain-text version by converting the HTML.
+ * Overwrites any existing values in $this->Body and $this->AltBody
+ * @access public
+ * @param string $message HTML message string
+ * @param string $basedir baseline directory for path
+ * @param boolean|callable $advanced Whether to use the internal HTML to text converter
+ * or your own custom converter @see html2text()
+ * @return string $message
+ */
+ public function msgHTML($message, $basedir = '', $advanced = false)
+ {
+ preg_match_all('/(src|background)=["\'](.*)["\']/Ui', $message, $images);
+ if (isset($images[2])) {
+ foreach ($images[2] as $imgindex => $url) {
+ // Convert data URIs into embedded images
+ if (preg_match('#^data:(image[^;,]*)(;base64)?,#', $url, $match)) {
+ $data = substr($url, strpos($url, ','));
+ if ($match[2]) {
+ $data = base64_decode($data);
+ } else {
+ $data = rawurldecode($data);
+ }
+ $cid = md5($url) . '@phpmailer.0'; // RFC2392 S 2
+ if ($this->addStringEmbeddedImage($data, $cid, '', 'base64', $match[1])) {
+ $message = str_replace(
+ $images[0][$imgindex],
+ $images[1][$imgindex] . '="cid:' . $cid . '"',
+ $message
+ );
+ }
+ } elseif (!preg_match('#^[A-z]+://#', $url)) {
+ // Do not change urls for absolute images (thanks to corvuscorax)
+ $filename = basename($url);
+ $directory = dirname($url);
+ if ($directory == '.') {
+ $directory = '';
+ }
+ $cid = md5($url) . '@phpmailer.0'; // RFC2392 S 2
+ if (strlen($basedir) > 1 && substr($basedir, -1) != '/') {
+ $basedir .= '/';
+ }
+ if (strlen($directory) > 1 && substr($directory, -1) != '/') {
+ $directory .= '/';
+ }
+ if ($this->addEmbeddedImage(
+ $basedir . $directory . $filename,
+ $cid,
+ $filename,
+ 'base64',
+ self::_mime_types((string)self::mb_pathinfo($filename, PATHINFO_EXTENSION))
+ )
+ ) {
+ $message = preg_replace(
+ '/' . $images[1][$imgindex] . '=["\']' . preg_quote($url, '/') . '["\']/Ui',
+ $images[1][$imgindex] . '="cid:' . $cid . '"',
+ $message
+ );
+ }
+ }
+ }
+ }
+ $this->isHTML(true);
+ // Convert all message body line breaks to CRLF, makes quoted-printable encoding work much better
+ $this->Body = $this->normalizeBreaks($message);
+ $this->AltBody = $this->normalizeBreaks($this->html2text($message, $advanced));
+ if (empty($this->AltBody)) {
+ $this->AltBody = 'To view this email message, open it in a program that understands HTML!' .
+ self::CRLF . self::CRLF;
+ }
+ return $this->Body;
+ }
+
+ /**
+ * Convert an HTML string into plain text.
+ * This is used by msgHTML().
+ * Note - older versions of this function used a bundled advanced converter
+ * which was been removed for license reasons in #232
+ * Example usage:
+ * <code>
+ * // Use default conversion
+ * $plain = $mail->html2text($html);
+ * // Use your own custom converter
+ * $plain = $mail->html2text($html, function($html) {
+ * $converter = new MyHtml2text($html);
+ * return $converter->get_text();
+ * });
+ * </code>
+ * @param string $html The HTML text to convert
+ * @param boolean|callable $advanced Any boolean value to use the internal converter,
+ * or provide your own callable for custom conversion.
+ * @return string
+ */
+ public function html2text($html, $advanced = false)
+ {
+ if (is_callable($advanced)) {
+ return call_user_func($advanced, $html);
+ }
+ return html_entity_decode(
+ trim(strip_tags(preg_replace('/<(head|title|style|script)[^>]*>.*?<\/\\1>/si', '', $html))),
+ ENT_QUOTES,
+ $this->CharSet
+ );
+ }
+
+ /**
+ * Get the MIME type for a file extension.
+ * @param string $ext File extension
+ * @access public
+ * @return string MIME type of file.
+ * @static
+ */
+ public static function _mime_types($ext = '')
+ {
+ $mimes = array(
+ 'xl' => 'application/excel',
+ 'js' => 'application/javascript',
+ 'hqx' => 'application/mac-binhex40',
+ 'cpt' => 'application/mac-compactpro',
+ 'bin' => 'application/macbinary',
+ 'doc' => 'application/msword',
+ 'word' => 'application/msword',
+ 'class' => 'application/octet-stream',
+ 'dll' => 'application/octet-stream',
+ 'dms' => 'application/octet-stream',
+ 'exe' => 'application/octet-stream',
+ 'lha' => 'application/octet-stream',
+ 'lzh' => 'application/octet-stream',
+ 'psd' => 'application/octet-stream',
+ 'sea' => 'application/octet-stream',
+ 'so' => 'application/octet-stream',
+ 'oda' => 'application/oda',
+ 'pdf' => 'application/pdf',
+ 'ai' => 'application/postscript',
+ 'eps' => 'application/postscript',
+ 'ps' => 'application/postscript',
+ 'smi' => 'application/smil',
+ 'smil' => 'application/smil',
+ 'mif' => 'application/vnd.mif',
+ 'xls' => 'application/vnd.ms-excel',
+ 'ppt' => 'application/vnd.ms-powerpoint',
+ 'wbxml' => 'application/vnd.wap.wbxml',
+ 'wmlc' => 'application/vnd.wap.wmlc',
+ 'dcr' => 'application/x-director',
+ 'dir' => 'application/x-director',
+ 'dxr' => 'application/x-director',
+ 'dvi' => 'application/x-dvi',
+ 'gtar' => 'application/x-gtar',
+ 'php3' => 'application/x-httpd-php',
+ 'php4' => 'application/x-httpd-php',
+ 'php' => 'application/x-httpd-php',
+ 'phtml' => 'application/x-httpd-php',
+ 'phps' => 'application/x-httpd-php-source',
+ 'swf' => 'application/x-shockwave-flash',
+ 'sit' => 'application/x-stuffit',
+ 'tar' => 'application/x-tar',
+ 'tgz' => 'application/x-tar',
+ 'xht' => 'application/xhtml+xml',
+ 'xhtml' => 'application/xhtml+xml',
+ 'zip' => 'application/zip',
+ 'mid' => 'audio/midi',
+ 'midi' => 'audio/midi',
+ 'mp2' => 'audio/mpeg',
+ 'mp3' => 'audio/mpeg',
+ 'mpga' => 'audio/mpeg',
+ 'aif' => 'audio/x-aiff',
+ 'aifc' => 'audio/x-aiff',
+ 'aiff' => 'audio/x-aiff',
+ 'ram' => 'audio/x-pn-realaudio',
+ 'rm' => 'audio/x-pn-realaudio',
+ 'rpm' => 'audio/x-pn-realaudio-plugin',
+ 'ra' => 'audio/x-realaudio',
+ 'wav' => 'audio/x-wav',
+ 'bmp' => 'image/bmp',
+ 'gif' => 'image/gif',
+ 'jpeg' => 'image/jpeg',
+ 'jpe' => 'image/jpeg',
+ 'jpg' => 'image/jpeg',
+ 'png' => 'image/png',
+ 'tiff' => 'image/tiff',
+ 'tif' => 'image/tiff',
+ 'eml' => 'message/rfc822',
+ 'css' => 'text/css',
+ 'html' => 'text/html',
+ 'htm' => 'text/html',
+ 'shtml' => 'text/html',
+ 'log' => 'text/plain',
+ 'text' => 'text/plain',
+ 'txt' => 'text/plain',
+ 'rtx' => 'text/richtext',
+ 'rtf' => 'text/rtf',
+ 'vcf' => 'text/vcard',
+ 'vcard' => 'text/vcard',
+ 'xml' => 'text/xml',
+ 'xsl' => 'text/xml',
+ 'mpeg' => 'video/mpeg',
+ 'mpe' => 'video/mpeg',
+ 'mpg' => 'video/mpeg',
+ 'mov' => 'video/quicktime',
+ 'qt' => 'video/quicktime',
+ 'rv' => 'video/vnd.rn-realvideo',
+ 'avi' => 'video/x-msvideo',
+ 'movie' => 'video/x-sgi-movie'
+ );
+ if (array_key_exists(strtolower($ext), $mimes)) {
+ return $mimes[strtolower($ext)];
+ }
+ return 'application/octet-stream';
+ }
+
+ /**
+ * Map a file name to a MIME type.
+ * Defaults to 'application/octet-stream', i.e.. arbitrary binary data.
+ * @param string $filename A file name or full path, does not need to exist as a file
+ * @return string
+ * @static
+ */
+ public static function filenameToType($filename)
+ {
+ // In case the path is a URL, strip any query string before getting extension
+ $qpos = strpos($filename, '?');
+ if (false !== $qpos) {
+ $filename = substr($filename, 0, $qpos);
+ }
+ $pathinfo = self::mb_pathinfo($filename);
+ return self::_mime_types($pathinfo['extension']);
+ }
+
+ /**
+ * Multi-byte-safe pathinfo replacement.
+ * Drop-in replacement for pathinfo(), but multibyte-safe, cross-platform-safe, old-version-safe.
+ * Works similarly to the one in PHP >= 5.2.0
+ * @link http://www.php.net/manual/en/function.pathinfo.php#107461
+ * @param string $path A filename or path, does not need to exist as a file
+ * @param integer|string $options Either a PATHINFO_* constant,
+ * or a string name to return only the specified piece, allows 'filename' to work on PHP < 5.2
+ * @return string|array
+ * @static
+ */
+ public static function mb_pathinfo($path, $options = null)
+ {
+ $ret = array('dirname' => '', 'basename' => '', 'extension' => '', 'filename' => '');
+ $pathinfo = array();
+ if (preg_match('%^(.*?)[\\\\/]*(([^/\\\\]*?)(\.([^\.\\\\/]+?)|))[\\\\/\.]*$%im', $path, $pathinfo)) {
+ if (array_key_exists(1, $pathinfo)) {
+ $ret['dirname'] = $pathinfo[1];
+ }
+ if (array_key_exists(2, $pathinfo)) {
+ $ret['basename'] = $pathinfo[2];
+ }
+ if (array_key_exists(5, $pathinfo)) {
+ $ret['extension'] = $pathinfo[5];
+ }
+ if (array_key_exists(3, $pathinfo)) {
+ $ret['filename'] = $pathinfo[3];
+ }
+ }
+ switch ($options) {
+ case PATHINFO_DIRNAME:
+ case 'dirname':
+ return $ret['dirname'];
+ case PATHINFO_BASENAME:
+ case 'basename':
+ return $ret['basename'];
+ case PATHINFO_EXTENSION:
+ case 'extension':
+ return $ret['extension'];
+ case PATHINFO_FILENAME:
+ case 'filename':
+ return $ret['filename'];
+ default:
+ return $ret;
+ }
+ }
+
+ /**
+ * Set or reset instance properties.
+ * You should avoid this function - it's more verbose, less efficient, more error-prone and
+ * harder to debug than setting properties directly.
+ * Usage Example:
+ * `$mail->set('SMTPSecure', 'tls');`
+ * is the same as:
+ * `$mail->SMTPSecure = 'tls';`
+ * @access public
+ * @param string $name The property name to set
+ * @param mixed $value The value to set the property to
+ * @return boolean
+ * @TODO Should this not be using the __set() magic function?
+ */
+ public function set($name, $value = '')
+ {
+ if (property_exists($this, $name)) {
+ $this->$name = $value;
+ return true;
+ } else {
+ $this->setError($this->lang('variable_set') . $name);
+ return false;
+ }
+ }
+
+ /**
+ * Strip newlines to prevent header injection.
+ * @access public
+ * @param string $str
+ * @return string
+ */
+ public function secureHeader($str)
+ {
+ return trim(str_replace(array("\r", "\n"), '', $str));
+ }
+
+ /**
+ * Normalize line breaks in a string.
+ * Converts UNIX LF, Mac CR and Windows CRLF line breaks into a single line break format.
+ * Defaults to CRLF (for message bodies) and preserves consecutive breaks.
+ * @param string $text
+ * @param string $breaktype What kind of line break to use, defaults to CRLF
+ * @return string
+ * @access public
+ * @static
+ */
+ public static function normalizeBreaks($text, $breaktype = "\r\n")
+ {
+ return preg_replace('/(\r\n|\r|\n)/ms', $breaktype, $text);
+ }
+
+
+ /**
+ * Set the public and private key files and password for S/MIME signing.
+ * @access public
+ * @param string $cert_filename
+ * @param string $key_filename
+ * @param string $key_pass Password for private key
+ * @param string $extracerts_filename Optional path to chain certificate
+ */
+ public function sign($cert_filename, $key_filename, $key_pass, $extracerts_filename = '')
+ {
+ $this->sign_cert_file = $cert_filename;
+ $this->sign_key_file = $key_filename;
+ $this->sign_key_pass = $key_pass;
+ $this->sign_extracerts_file = $extracerts_filename;
+ }
+
+ /**
+ * Quoted-Printable-encode a DKIM header.
+ * @access public
+ * @param string $txt
+ * @return string
+ */
+ public function DKIM_QP($txt)
+ {
+ $line = '';
+ for ($i = 0; $i < strlen($txt); $i++) {
+ $ord = ord($txt[$i]);
+ if (((0x21 <= $ord) && ($ord <= 0x3A)) || $ord == 0x3C || ((0x3E <= $ord) && ($ord <= 0x7E))) {
+ $line .= $txt[$i];
+ } else {
+ $line .= '=' . sprintf('%02X', $ord);
+ }
+ }
+ return $line;
+ }
+
+ /**
+ * Generate a DKIM signature.
+ * @access public
+ * @param string $signHeader
+ * @throws phpmailerException
+ * @return string
+ */
+ public function DKIM_Sign($signHeader)
+ {
+ if (!defined('PKCS7_TEXT')) {
+ if ($this->exceptions) {
+ throw new phpmailerException($this->lang('extension_missing') . 'openssl');
+ }
+ return '';
+ }
+ $privKeyStr = file_get_contents($this->DKIM_private);
+ if ($this->DKIM_passphrase != '') {
+ $privKey = openssl_pkey_get_private($privKeyStr, $this->DKIM_passphrase);
+ } else {
+ $privKey = $privKeyStr;
+ }
+ if (openssl_sign($signHeader, $signature, $privKey)) {
+ return base64_encode($signature);
+ }
+ return '';
+ }
+
+ /**
+ * Generate a DKIM canonicalization header.
+ * @access public
+ * @param string $signHeader Header
+ * @return string
+ */
+ public function DKIM_HeaderC($signHeader)
+ {
+ $signHeader = preg_replace('/\r\n\s+/', ' ', $signHeader);
+ $lines = explode("\r\n", $signHeader);
+ foreach ($lines as $key => $line) {
+ list($heading, $value) = explode(':', $line, 2);
+ $heading = strtolower($heading);
+ $value = preg_replace('/\s+/', ' ', $value); // Compress useless spaces
+ $lines[$key] = $heading . ':' . trim($value); // Don't forget to remove WSP around the value
+ }
+ $signHeader = implode("\r\n", $lines);
+ return $signHeader;
+ }
+
+ /**
+ * Generate a DKIM canonicalization body.
+ * @access public
+ * @param string $body Message Body
+ * @return string
+ */
+ public function DKIM_BodyC($body)
+ {
+ if ($body == '') {
+ return "\r\n";
+ }
+ // stabilize line endings
+ $body = str_replace("\r\n", "\n", $body);
+ $body = str_replace("\n", "\r\n", $body);
+ // END stabilize line endings
+ while (substr($body, strlen($body) - 4, 4) == "\r\n\r\n") {
+ $body = substr($body, 0, strlen($body) - 2);
+ }
+ return $body;
+ }
+
+ /**
+ * Create the DKIM header and body in a new message header.
+ * @access public
+ * @param string $headers_line Header lines
+ * @param string $subject Subject
+ * @param string $body Body
+ * @return string
+ */
+ public function DKIM_Add($headers_line, $subject, $body)
+ {
+ $DKIMsignatureType = 'rsa-sha1'; // Signature & hash algorithms
+ $DKIMcanonicalization = 'relaxed/simple'; // Canonicalization of header/body
+ $DKIMquery = 'dns/txt'; // Query method
+ $DKIMtime = time(); // Signature Timestamp = seconds since 00:00:00 - Jan 1, 1970 (UTC time zone)
+ $subject_header = "Subject: $subject";
+ $headers = explode($this->LE, $headers_line);
+ $from_header = '';
+ $to_header = '';
+ $current = '';
+ foreach ($headers as $header) {
+ if (strpos($header, 'From:') === 0) {
+ $from_header = $header;
+ $current = 'from_header';
+ } elseif (strpos($header, 'To:') === 0) {
+ $to_header = $header;
+ $current = 'to_header';
+ } else {
+ if (!empty($$current) && strpos($header, ' =?') === 0) {
+ $$current .= $header;
+ } else {
+ $current = '';
+ }
+ }
+ }
+ $from = str_replace('|', '=7C', $this->DKIM_QP($from_header));
+ $to = str_replace('|', '=7C', $this->DKIM_QP($to_header));
+ $subject = str_replace(
+ '|',
+ '=7C',
+ $this->DKIM_QP($subject_header)
+ ); // Copied header fields (dkim-quoted-printable)
+ $body = $this->DKIM_BodyC($body);
+ $DKIMlen = strlen($body); // Length of body
+ $DKIMb64 = base64_encode(pack('H*', sha1($body))); // Base64 of packed binary SHA-1 hash of body
+ if ('' == $this->DKIM_identity) {
+ $ident = '';
+ } else {
+ $ident = ' i=' . $this->DKIM_identity . ';';
+ }
+ $dkimhdrs = 'DKIM-Signature: v=1; a=' .
+ $DKIMsignatureType . '; q=' .
+ $DKIMquery . '; l=' .
+ $DKIMlen . '; s=' .
+ $this->DKIM_selector .
+ ";\r\n" .
+ "\tt=" . $DKIMtime . '; c=' . $DKIMcanonicalization . ";\r\n" .
+ "\th=From:To:Subject;\r\n" .
+ "\td=" . $this->DKIM_domain . ';' . $ident . "\r\n" .
+ "\tz=$from\r\n" .
+ "\t|$to\r\n" .
+ "\t|$subject;\r\n" .
+ "\tbh=" . $DKIMb64 . ";\r\n" .
+ "\tb=";
+ $toSign = $this->DKIM_HeaderC(
+ $from_header . "\r\n" . $to_header . "\r\n" . $subject_header . "\r\n" . $dkimhdrs
+ );
+ $signed = $this->DKIM_Sign($toSign);
+ return $dkimhdrs . $signed . "\r\n";
+ }
+
+ /**
+ * Allows for public read access to 'to' property.
+ * @access public
+ * @return array
+ */
+ public function getToAddresses()
+ {
+ return $this->to;
+ }
+
+ /**
+ * Allows for public read access to 'cc' property.
+ * @access public
+ * @return array
+ */
+ public function getCcAddresses()
+ {
+ return $this->cc;
+ }
+
+ /**
+ * Allows for public read access to 'bcc' property.
+ * @access public
+ * @return array
+ */
+ public function getBccAddresses()
+ {
+ return $this->bcc;
+ }
+
+ /**
+ * Allows for public read access to 'ReplyTo' property.
+ * @access public
+ * @return array
+ */
+ public function getReplyToAddresses()
+ {
+ return $this->ReplyTo;
+ }
+
+ /**
+ * Allows for public read access to 'all_recipients' property.
+ * @access public
+ * @return array
+ */
+ public function getAllRecipientAddresses()
+ {
+ return $this->all_recipients;
+ }
+
+ /**
+ * Perform a callback.
+ * @param boolean $isSent
+ * @param array $to
+ * @param array $cc
+ * @param array $bcc
+ * @param string $subject
+ * @param string $body
+ * @param string $from
+ */
+ protected function doCallback($isSent, $to, $cc, $bcc, $subject, $body, $from)
+ {
+ if (!empty($this->action_function) && is_callable($this->action_function)) {
+ $params = array($isSent, $to, $cc, $bcc, $subject, $body, $from);
+ call_user_func_array($this->action_function, $params);
+ }
+ }
+}
+
+/**
+ * PHPMailer exception handler
+ * @package PHPMailer
+ */
+class phpmailerException extends Exception
+{
+ /**
+ * Prettify error message output
+ * @return string
+ */
+ public function errorMessage()
+ {
+ $errorMsg = '<strong>' . $this->getMessage() . "</strong><br />\n";
+ return $errorMsg;
+ }
+}
diff --git a/mayor-orig/mayor-base/www/include/share/net/rest.php b/mayor-orig/mayor-base/www/include/share/net/rest.php
new file mode 100644
index 00000000..beace19a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/net/rest.php
@@ -0,0 +1,188 @@
+<?php
+
+$HTTP_STATUS = array(
+ 100 => array('txt'=>'Continue', 'class'=>'Informational'),
+ 101 => array('txt'=>'Switching Protocols', 'class'=>'Informational'),
+ 200 => array('txt'=>'OK', 'class'=>'Successful'),
+ 201 => array('txt'=>'Created', 'class'=>'Successful'),
+ 202 => array('txt'=>'Accepted', 'class'=>'Successful'),
+ 203 => array('txt'=>'Non-Authoritative Information', 'class'=>'Successful'),
+ 204 => array('txt'=>'No Content', 'class'=>'Successful'),
+ 205 => array('txt'=>'Reset Content', 'class'=>'Successful'),
+ 206 => array('txt'=>'Partial Content', 'class'=>'Successful'),
+ 300 => array('txt'=>'Multiple Choices', 'class'=>'Redirection'),
+ 301 => array('txt'=>'Moved Permanently', 'class'=>'Redirection'),
+ 302 => array('txt'=>'Found', 'class'=>'Redirection'),
+ 303 => array('txt'=>'See Other', 'class'=>'Redirection'),
+ 304 => array('txt'=>'Not Modified', 'class'=>'Redirection'),
+ 305 => array('txt'=>'Use Proxy', 'class'=>'Redirection'),
+ 306 => array('txt'=>'(Unused)', 'class'=>'Redirection'),
+ 307 => array('txt'=>'Temporary Redirect', 'class'=>'Redirection'),
+ 400 => array('txt'=>'Bad Request', 'class'=>'Client Error'),
+ 401 => array('txt'=>'Unauthorized', 'class'=>'Client Error'),
+ 402 => array('txt'=>'Payment Required', 'class'=>'Client Error'),
+ 403 => array('txt'=>'Forbidden', 'class'=>'Client Error'),
+ 404 => array('txt'=>'Not Found', 'class'=>'Client Error'),
+ 405 => array('txt'=>'Method Not Allowed', 'class'=>'Client Error'),
+ 406 => array('txt'=>'Not Acceptable', 'class'=>'Client Error'),
+ 407 => array('txt'=>'Proxy Authentication Required', 'class'=>'Client Error'),
+ 408 => array('txt'=>'Request Timeout', 'class'=>'Client Error'),
+ 409 => array('txt'=>'Conflict', 'class'=>'Client Error'),
+ 410 => array('txt'=>'Gone', 'class'=>'Client Error'),
+ 411 => array('txt'=>'Length Required', 'class'=>'Client Error'),
+ 412 => array('txt'=>'Precondition Failed', 'class'=>'Client Error'),
+ 413 => array('txt'=>'Request Entity Too Large', 'class'=>'Client Error'),
+ 414 => array('txt'=>'Request-URI Too Long', 'class'=>'Client Error'),
+ 415 => array('txt'=>'Unsupported Media Type', 'class'=>'Client Error'),
+ 416 => array('txt'=>'Requested Range Not Satisfiable', 'class'=>'Client Error'),
+ 417 => array('txt'=>'Expectation Failed', 'class'=>'Client Error'),
+ 500 => array('txt'=>'Internal Server Error', 'class'=>'Server Error'),
+ 501 => array('txt'=>'Not Implemented', 'class'=>'Server Error'),
+ 502 => array('txt'=>'Bad Gateway', 'class'=>'Server Error'),
+ 503 => array('txt'=>'Service Unavailable', 'class'=>'Server Error'),
+ 504 => array('txt'=>'Gateway Timeout', 'class'=>'Server Error'),
+ 505 => array('txt'=>'HTTP Version Not Supported', 'class'=>'Server Error')
+);
+
+/**
+ * REST hívás JSON kódolt adatokkal
+ * $url - a resource azonsosító
+ * $verb - GET (lekérdezés), POST (módosítás), DELETE (törlés)
+ * $params - azátadandó paraméterek asszociatív tömbje
+**/
+
+function restRequest($url, $verb, $params) {
+ $header = array(
+ 'Accept: text/plain',
+ 'Content-Type: application/json',
+ );
+ $params['name'] = 'Naplo';
+ $forcePostParams = ($verb != 'GET'); // A SuliX megvalósítás POST paraméterként (tehát a message body-ban) várja a paramétereket
+ return rest_helper($url, array(json_encode($params, JSON_FORCE_OBJECT)), $verb, 'json', $header, $forcePostParams);
+}
+
+/**
+ * Általános REST hívás megadható metódussal, visszatérési érték:
+ * $ret [http]
+ * [status]
+ * [header][-indexed-]
+ * [result][-asszoc-]
+**/
+function rest_helper($url, $params = null, $verb = 'GET', $format = 'json', $header = array(), $forcePostParams = false) {
+
+ $cparams = array(
+ 'http' => array(
+ 'method' => $verb,
+ 'header' => implode("\r\n", $header),
+ 'ignore_errors' => true
+ )
+ );
+ if ($params !== null) {
+ $params = http_build_query($params);
+ if ($verb == 'POST' || $forcePostParams === true) {
+ $cparams['http']['content'] = $params;
+ } else {
+ $url .= '?' . $params;
+ }
+ }
+
+ $context = stream_context_create($cparams);
+ $fp = fopen($url, 'rb', false, $context);
+
+ if (!$fp) {
+ $res = false;
+ } else {
+ $meta = stream_get_meta_data($fp);
+ $ret['http']['status'] = explode(' ', $meta['wrapper_data'][0])[1];
+ for ($i = 1; $i < count($meta['wrapper_data']); $i++) {
+ $tmp = explode(': ', $meta['wrapper_data'][$i]);
+ $ret['http']['header'][ $tmp[0] ] = $tmp[1];
+ }
+ //var_dump($meta['wrapper_data']);
+ $res = stream_get_contents($fp);
+ }
+
+ if ($res === false) {
+ throw new Exception("$verb $url failed: $php_errormsg");
+ }
+
+ switch ($format) {
+ case 'json':
+ $ret['result'] = json_decode($res, true);
+ if ($ret['result'] === null) {
+ throw new Exception("failed to decode $res as json");
+ }
+ return $ret;
+
+ case 'xml':
+ $ret['result'] = simplexml_load_string($res);
+ if ($ret['result'] === null) {
+ throw new Exception("failed to decode $res as xml");
+ }
+ return $ret;
+ }
+ $ret['result'] = $res;
+ return $ret;
+}
+
+/*
+
+// http://wezfurlong.org/blog/2006/nov/http-post-from-php-without-curl/
+// Az eredeti kód...
+
+function rest_helper($url, $params = null, $verb = 'GET', $format = 'json')
+{
+ $cparams = array(
+ 'http' => array(
+ 'method' => $verb,
+ 'ignore_errors' => true
+ )
+ );
+ if ($params !== null) {
+ $params = http_build_query($params);
+ if ($verb == 'POST') {
+ $cparams['http']['content'] = $params;
+ } else {
+ $url .= '?' . $params;
+ }
+ }
+
+ $context = stream_context_create($cparams);
+ $fp = fopen($url, 'rb', false, $context);
+ if (!$fp) {
+ $res = false;
+ } else {
+ // If you're trying to troubleshoot problems, try uncommenting the
+ // next two lines; it will show you the HTTP response headers across
+ // all the redirects:
+ $meta = stream_get_meta_data($fp);
+ var_dump($meta['wrapper_data'][0]);
+ $res = stream_get_contents($fp);
+ }
+
+ if ($res === false) {
+ throw new Exception("$verb $url failed: $php_errormsg");
+ }
+
+ switch ($format) {
+ case 'json':
+ $r = json_decode($res);
+ if ($r === null) {
+ throw new Exception("failed to decode $res as json");
+ }
+ return $r;
+
+ case 'xml':
+ $r = simplexml_load_string($res);
+ if ($r === null) {
+ throw new Exception("failed to decode $res as xml");
+ }
+ return $r;
+ }
+ return $res;
+}
+
+*/
+
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/include/share/net/upload.php b/mayor-orig/mayor-base/www/include/share/net/upload.php
new file mode 100644
index 00000000..a909f6c2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/net/upload.php
@@ -0,0 +1,58 @@
+<?php
+
+function mayorFileUpload($WHERE) {
+
+try {
+
+ // Undefined | Multiple Files | $_FILES Corruption Attack
+ // If this request falls under any of them, treat it invalid.
+ if (
+ !isset($_FILES['upfile']['error']) ||
+ is_array($_FILES['upfile']['error'])
+ ) {
+ throw new RuntimeException('Paraméter hiba!');
+ }
+
+ // Check $_FILES['upfile']['error'] value.
+ switch ($_FILES['upfile']['error']) {
+ case UPLOAD_ERR_OK:
+ break;
+ case UPLOAD_ERR_NO_FILE:
+ throw new RuntimeException('Nincs megadott file.');
+ case UPLOAD_ERR_INI_SIZE:
+ case UPLOAD_ERR_FORM_SIZE:
+ throw new RuntimeException('FileSize limit hiba!');
+ default:
+ throw new RuntimeException('Valami hiba...');
+ }
+
+ // You should also check filesize here.
+ if ($_FILES['upfile']['size'] > 1000000) {
+ throw new RuntimeException('Túl nagy a file!');
+ }
+
+ $finfo = new finfo(FILEINFO_MIME_TYPE);
+ if (false === $ext = array_search(
+ $finfo->file($_FILES['upfile']['tmp_name']),
+ array(
+ 'jpg' => 'image/jpeg',
+ 'png' => 'image/png',
+ 'gif' => 'image/gif',
+ ),
+ true
+ )) {
+ throw new RuntimeException('Nem kép!');
+ }
+
+ // You should name it uniquely.
+ // DO NOT USE $_FILES['upfile']['name'] WITHOUT ANY VALIDATION !!
+ // On this example, obtain safe unique name from its binary data.
+ if (!move_uploaded_file($_FILES['upfile']['tmp_name'],$WHERE['subdir'].'/'.$WHERE['filename'])) {
+ throw new RuntimeException('Nem tudtuk átmozgatni. Van jogunk írni a célkönyvtárba?');
+ }
+
+ } catch (RuntimeException $e) {
+ $_SESSION['alert'][] = 'info::'.$e->getMessage();
+ }
+}
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/include/share/print/pdf.php b/mayor-orig/mayor-base/www/include/share/print/pdf.php
new file mode 100644
index 00000000..41fe55c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/print/pdf.php
@@ -0,0 +1,270 @@
+<?php
+
+ if(function_exists('exec')==false) {
+ $_SESSION['alert'][] = 'info:php config error:A nyomtatás nem működik. Az exec függvényhívás kikapcsolva!';
+ }
+
+ function fileNameNormal($fileName) {
+ $search = array('&','|','/',' ','\'','"',',','?','!','<','>'); // a . engedélyezett
+ $replace = array('_','_','_','_','_','_','_','_','_','_','_','_');
+ return str_replace($search,$replace,$fileName);
+ }
+
+ function pdfLaTeX($TeX, $fileName) { // Beszúrt képekkel problémája van a pdflatex-nek
+
+ global $policy, $page, $sub, $f;
+
+ $dir = _DOWNLOADDIR."/$policy/$page/$sub/$f";
+
+ // könyvtár ellenőrzése
+ $ftex = fopen($dir.'/'.$fileName.'.tex', 'w');
+ if (!$ftex) {
+ $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'.tex';
+ return false;
+ }
+ fputs($ftex, $TeX);
+ fclose($ftex);
+
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && pdflatex -output-directory '.$dir.' "'.$dir.'/'.$fileName.'.tex"');
+ return true;
+
+ }
+
+ function pdfLaTeXTwice($TeX, $fileName) { // Pl. longtable miatt kétszer kell futtatni...
+
+ global $policy, $page, $sub, $f;
+
+ $dir = _DOWNLOADDIR."/$policy/$page/$sub/$f";
+
+ // könyvtár ellenőrzése
+ $ftex = fopen($dir.'/'.$fileName.'.tex', 'w');
+ if (!$ftex) {
+ $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'.tex';
+ return false;
+ }
+ fputs($ftex, $TeX);
+ fclose($ftex);
+
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && pdflatex -output-directory '.$dir.' "'.$dir.'/'.$fileName.'.tex"');
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && pdflatex -output-directory '.$dir.' "'.$dir.'/'.$fileName.'.tex"');
+ return true;
+
+ }
+
+ function pdfLaTeXA4($TeX, $fileName) { // TeX --> DVI --> PS --> PDF - így jók a képek
+
+ global $policy, $page, $sub, $f;
+
+ $dir = _DOWNLOADDIR."/$policy/$page/$sub/$f";
+
+ // könyvtár ellenőrzése
+ $ftex = @fopen($dir.'/'.$fileName.'.tex', 'w');
+ if (!$ftex) {
+ $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'-A4.tex';
+ return false;
+ }
+ fputs($ftex, $TeX);
+ fclose($ftex);
+// exec('cd '.$dir.' && pdflatex -output-directory '.$dir.' '.$dir.'/'.$fileName.'-A4.tex');
+
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && latex "'.$dir.'/'.$fileName.'.tex"');
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && dvips -R0 -t a4 "'.$dir.'/'.$fileName.'.dvi"');
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && ps2pdf "'.$dir.'/'.$fileName.'.ps"');
+
+ return true;
+
+ }
+
+ function pdfLaTeXA4Split($TeX, $fileName) { // TeX --> DVI --> PS --> PDF --> pdftk --> zip - lapokra szétvágott
+
+ global $policy, $page, $sub, $f;
+
+ $dir = _DOWNLOADDIR."/$policy/$page/$sub/$f";
+
+ // könyvtár ellenőrzése
+ $ftex = @fopen($dir.'/'.$fileName.'.tex', 'w');
+ if (!$ftex) {
+ $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'-A4.tex';
+ return false;
+ }
+ fputs($ftex, $TeX);
+ fclose($ftex);
+
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && latex "'.$dir.'/'.$fileName.'.tex"');
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && dvips -R0 -t a4 "'.$dir.'/'.$fileName.'.dvi"');
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && ps2pdf "'.$dir.'/'.$fileName.'.ps"');
+
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && mkdir -p '.$dir.'/'.$fileName);
+ exec('HOME=/tmp && export HOME && cd '.$dir.'/'.$fileName.' && pdftk ../'.$fileName.'.pdf burst');
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && zip -r '.$fileName.'.zip '.$fileName );
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && rm -r '.$dir.'/'.$fileName);
+
+ return true;
+
+ }
+
+
+ function pdfLaTeXA5($TeX, $fileName) {
+
+ global $policy, $page, $sub, $f;
+
+ $dir = _DOWNLOADDIR."/$policy/$page/$sub/$f";
+
+ // könyvtár ellenőrzése
+ $ftex = fopen($dir.'/'.$fileName.'-A5.tex', 'w');
+ if (!$ftex) {
+ $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'-A5.tex';
+ return false;
+ }
+ fputs($ftex, $TeX);
+ fclose($ftex);
+// exec('cd '.$dir.' && pdflatex -output-directory '.$dir.' '.$dir.'/'.$fileName.'-A5.tex');
+
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && latex "'.$dir.'/'.$fileName.'-A5.tex"');
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && dvips -R0 -t a5 "'.$dir.'/'.$fileName.'-A5.dvi"');
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && ps2pdf "'.$dir.'/'.$fileName.'-A5.ps"');
+
+ $TeX = '\documentclass[a4paper,landscape,10pt]{article}'."\n";
+ $TeX .= '\usepackage[final]{pdfpages}'."\n";
+ $TeX .= '\begin{document}'."\n";
+ $TeX .= '\includepdf[nup=2x1, pages={-}]{'.$dir.'/'.$fileName.'-A5.pdf}'."\n";
+ $TeX .= '\end{document}'."\n";
+
+ $ftex = fopen($dir.'/'.$fileName.'.tex', 'w');
+ if (!$ftex) {
+ $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'.tex';
+ return false;
+ }
+ fputs($ftex, $TeX);
+ fclose($ftex);
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && rm "'.$dir.'/'.$fileName.'.aux"');
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && pdflatex -output-directory '.$dir.' "'.$dir.'/'.$fileName.'.tex"');
+
+ return true;
+
+ }
+
+ function pdfLaTeXA5Booklet($TeX, $fileName) {
+
+ global $policy, $page, $sub, $f;
+
+ $dir = _DOWNLOADDIR."/$policy/$page/$sub/$f";
+
+ // könyvtár ellenőrzése
+ $ftex = fopen($dir.'/'.$fileName.'-A5.tex', 'w');
+ if (!$ftex) {
+ $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'-A5.tex';
+ return false;
+ }
+ fputs($ftex, $TeX);
+ fclose($ftex);
+// exec('cd '.$dir.' && pdflatex -output-directory '.$dir.' '.$dir.'/'.$fileName.'-A5.tex');
+
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && latex "'.$dir.'/'.$fileName.'-A5.tex"');
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && dvips -R0 -t a5 "'.$dir.'/'.$fileName.'-A5.dvi"');
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && ps2pdf "'.$dir.'/'.$fileName.'-A5.ps"');
+
+ $TeX = '\documentclass[a4paper,landscape,10pt]{article}'."\n";
+ $TeX .= '\usepackage[final]{pdfpages}'."\n";
+ $TeX .= '\begin{document}'."\n";
+ $TeX .= '\includepdf[nup=2x1, pages={-}, signature*=4]{'.$dir.'/'.$fileName.'-A5.pdf}'."\n";
+ $TeX .= '\end{document}'."\n";
+
+ $ftex = fopen($dir.'/'.$fileName.'.tex', 'w');
+ if (!$ftex) {
+ $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'.tex';
+ return false;
+ }
+ fputs($ftex, $TeX);
+ fclose($ftex);
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && rm "'.$dir.'/'.$fileName.'.aux"');
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && pdflatex -output-directory '.$dir.' "'.$dir.'/'.$fileName.'.tex"');
+
+ return true;
+
+ }
+
+ function pdfLaTeXA5Booklets($TeX, $fileName) {
+
+ global $policy, $page, $sub, $f;
+
+ define('__A5BOOKLETSCUTHERE','%%% cut here %%%');
+
+ $dir = _DOWNLOADDIR."/$policy/$page/$sub/$f";
+
+ // könyvtár ellenőrzése
+ $ftex = fopen($dir.'/'.$fileName.'-A5.tex', 'w');
+ if (!$ftex) {
+ $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'-A5.tex';
+ return false;
+ }
+ // A forrást szétvágjuk több darabba a "%%% cut here %%%" string mentén
+ $T[] = explode(__A5BOOKLETSCUTHERE, $TeX);
+// Itt tart a félkész fejlesztés... :)
+ fputs($ftex, $TeX);
+ fclose($ftex);
+// exec('cd '.$dir.' && pdflatex -output-directory '.$dir.' '.$dir.'/'.$fileName.'-A5.tex');
+
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && latex "'.$dir.'/'.$fileName.'-A5.tex"');
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && dvips -R0 -t a5 "'.$dir.'/'.$fileName.'-A5.dvi"');
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && ps2pdf "'.$dir.'/'.$fileName.'-A5.ps"');
+
+ $TeX = '\documentclass[a4paper,landscape,10pt]{article}'."\n";
+ $TeX .= '\usepackage[final]{pdfpages}'."\n";
+ $TeX .= '\begin{document}'."\n";
+ $TeX .= '\includepdf[nup=2x1, pages={-}, signature*=4]{'.$dir.'/'.$fileName.'-A5.pdf}'."\n";
+ $TeX .= '\end{document}'."\n";
+
+ $ftex = fopen($dir.'/'.$fileName.'.tex', 'w');
+ if (!$ftex) {
+ $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'.tex';
+ return false;
+ }
+ fputs($ftex, $TeX);
+ fclose($ftex);
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && rm "'.$dir.'/'.$fileName.'.aux"');
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && pdflatex -output-directory '.$dir.' "'.$dir.'/'.$fileName.'.tex"');
+
+ return true;
+
+ }
+
+
+
+ function pdfLaTeXA6($TeX, $fileName) {
+
+ global $policy, $page, $sub, $f;
+
+ $dir = _DOWNLOADDIR."/$policy/$page/$sub/$f";
+
+ // könyvtár ellenőrzése
+ $ftex = fopen($dir.'/'.$fileName.'-A6.tex', 'w');
+ if (!$ftex) {
+ $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'-A6.tex';
+ return false;
+ }
+ fputs($ftex, $TeX);
+ fclose($ftex);
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && pdflatex -output-directory '.$dir.' "'.$dir.'/'.$fileName.'-A6.tex"');
+
+ $TeX = '\documentclass[a4paper,10pt]{article}'."\n";
+ $TeX .= '\usepackage[final]{pdfpages}'."\n";
+ $TeX .= '\begin{document}'."\n";
+ $TeX .= '\includepdf[nup=2x2, pages={-}]{'.$dir.'/'.$fileName.'-A6.pdf}'."\n";
+ $TeX .= '\end{document}'."\n";
+
+ $ftex = fopen($dir.'/'.$fileName.'.tex', 'w');
+ if (!$ftex) {
+ $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'.tex';
+ return false;
+ }
+ fputs($ftex, $TeX);
+ fclose($ftex);
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && rm "'.$dir.'/'.$fileName.'.aux"');
+ exec('HOME=/tmp && export HOME && cd '.$dir.' && pdflatex -output-directory '.$dir.' "'.$dir.'/'.$fileName.'.tex"');
+
+ return true;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/share/session/accountInfo.php b/mayor-orig/mayor-base/www/include/share/session/accountInfo.php
new file mode 100644
index 00000000..104416ec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/session/accountInfo.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ Modules: share/session
+
+ function getAccountInfo($userAccount, $toPolicy = '') {
+ function getUserInfo($userAccount, $toPolicy = '') {
+
+*/
+
+######################################################
+# getAccountInfo - felhasználói információk (backend)
+######################################################
+
+ function getAccountInfo($userAccount, $toPolicy = _POLICY, $SET=array('justThese'=>'*', 'withNewAccounts' => true)) {
+
+ global $AUTH;
+
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/accountInfo.php');
+ $func = $AUTH[$toPolicy]['backend'].'GetAccountInfo';
+ return $func($userAccount, $toPolicy, $SET);
+
+
+ }
+
+##########################################################
+# getUserInfo - felhasználói információk (keretrendszer)
+##########################################################
+
+ function getUserInfo($userAccount, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/accountInfo.php');
+ $func = $AUTH[$toPolicy]['backend'].'GetUserInfo';
+ return $func($userAccount, $toPolicy);
+
+ }
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/include/share/session/attrs.php b/mayor-orig/mayor-base/www/include/share/session/attrs.php
new file mode 100644
index 00000000..c7ebafb7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/session/attrs.php
@@ -0,0 +1,63 @@
+<?php
+/*
+ Module: useradmin
+
+ Minden auth-típus esetén lekérdezhető kell legyen az alábbi néhány attribútum.
+ Az egyes backend-ek esetén ezek kiegészülhetnek további attribútumokkal.
+
+ Az attribútumokhoz tartozik egy adott nyelvű elnevezés (desc) és egy típus (type),
+ ami alapján megjelenítjük, beolvassuk, módosítjuk, stb...
+
+ Esetleg ez a tömb használható arra is, hogy az egyes attribútumok hozzáférési jogosultságait
+ később megadjuk... (lásd LDAP backend)
+
+*/
+
+// global $attrDescription, $attrView, $unicodeAttrs, $timestampAttrs, $memberTypes;
+
+ $accountAttrs = array(
+// -- kötelező --
+ 'userAccount',
+ 'userCn',
+ 'userPassword',
+// -- lekérdezhető, opcionális --
+ 'uidNumber',
+ 'mail',
+ 'telephoneNumber',
+ 'studyId',
+ 'shadowLastChange',
+ 'shadowMin',
+ 'shadowMax',
+ 'shadowWarning',
+ 'shadowInactive',
+ 'shadowExpire'
+ );
+
+ $groupAttrs = array(
+ 'groupCn',
+ 'groupDesc',
+ 'member',
+ );
+
+ $attrDef = array(
+ 'userAccount' => array('desc' => _ATTR_USERACCOUNT, 'type' => 'text'),
+ 'userCn' => array('desc' => _ATTR_USERCN, 'type' => 'text'),
+ 'userPassword' => array('desc' => _ATTR_USERPASSWORD, 'type' => 'text'),
+ 'uidNumber' => array('desc' => _ATTR_UIDNUMBER, 'type' => 'text'),
+ 'mail' => array('desc' => _ATTR_MAIL, 'type' => 'text'),
+ 'telephoneNumber' => array('desc' => _ATTR_TELEPHONENUMBER, 'type' => 'text'),
+ 'studyId' => array('desc' => _ATTR_STUDYID, 'type' => 'text'),
+ 'shadowLastChange' => array('desc' => _ATTR_SHADOWLASTCHANGE, 'type' => 'text'),
+ 'shadowMin' => array('desc' => _ATTR_SHADOWMIN, 'type' => 'text'),
+ 'shadowMax' => array('desc' => _ATTR_SHADOWMAX, 'type' => 'text'),
+ 'shadowWarning' => array('desc' => _ATTR_SHADOWWARNING, 'type' => 'text'),
+ 'shadowInactive' => array('desc' => _ATTR_SHADOWINACTIVE, 'type' => 'text'),
+ 'shadowExpire' => array('desc' => _ATTR_SHADOWEXPIRE, 'type' => 'text'),
+ 'groupCn' => array('desc' => _ATTR_GROUPCN, 'type' => 'text'),
+ 'groupDesc' => array('desc' => _ATTR_GROUPDESC, 'type' => 'text'),
+ 'member' => array('desc' => _ATTR_MEMBER, 'type' => 'select'),
+ );
+
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/share/session/base.php b/mayor-orig/mayor-base/www/include/share/session/base.php
new file mode 100644
index 00000000..337c72df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/session/base.php
@@ -0,0 +1,173 @@
+<?php
+/*
+ Module: base/session
+ Megjegyzés: a base-ből minden oldalletöltésnél betöltődik
+*/
+ define('_ADMIN_ACCESS', 0);
+ define('_SELF_ACCESS', 1);
+ define('_OTHER_ACCESS', 2);
+
+ $AUTH['my']['categories'] = getAccountCategories(_USERACCOUNT, _POLICY); // a függvény itt deklarált
+
+ ######################################################
+ # Az aktuális policy backend-jének alapvető session-kezelése. Csatoljuk be, vagy üzenjünk hibát
+ ######################################################
+
+ if (file_exists('include/backend/'.$AUTH[_POLICY]['backend'].'/session/base.php'))
+ require_once('include/backend/'.$AUTH[_POLICY]['backend'].'/session/base.php');
+ else
+ $_SESSION['alert'][] = 'page:file_not_found:'.'include/backend/'.$AUTH[_POLICY]['backend'].'/session/base.php';
+
+/* Függvények */
+
+/*
+ function memberOf($userAccount, $group, $toPolicy = _POLICY)
+
+ a függvény becsatolja a backend-nek megfelelő modul filet és használja a [backend]MemberOf() függvényt
+
+ function getAccountCategories($userAccount = '', $toPolicy = _POLICY)
+
+ a függvény lekérdezi a policy globális configfilejában megadott lehető kategóriákba userAccount bele tartozik-e
+ használja: memberOf()
+
+
+ --
+ function getBackendAttrs($type = 'Account', $toPolicy = _POLICY)
+ function getFailedLoginCount($uid, $sinceDt, $lr='')
+ function getLastLoginDt($uid, $lr='')
+*/
+
+######################################################
+# memberOf - csoport tag-e - session modul
+######################################################
+
+ function memberOf($userAccount, $group, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ if ($AUTH[$toPolicy]['cacheable']=='yes' && $userAccount == _USERACCOUNT) {
+ $r = _queryCache('mOf:'.$group,$toPolicy,'value');
+ if (!is_null($r)) {
+ if ($r=='1') $return = true;
+ elseif ($r=='0') $return = false;
+ }
+ }
+
+ if (is_null($return)) {
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/base.php');
+ $func = $AUTH[$toPolicy]['backend'].'MemberOf';
+ $return = $func($userAccount, $group, $toPolicy);
+
+ if ($AUTH[$toPolicy]['cacheable']=='yes' && $userAccount == _USERACCOUNT)
+ _registerToCache('mOf:'.$group, (($return == true) ? '1':'0'), $toPolicy);
+ }
+
+ return $return;
+
+ }
+
+######################################################
+# getCategories - felhasználó besorolása(i) - session modul
+######################################################
+ function getAccountCategories($userAccount = '', $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ if ($userAccount == '') $userAccount = _USERACCOUNT;
+
+ if ($AUTH[$toPolicy]['cacheable']=='yes' && $userAccount == _USERACCOUNT) {
+ $cacheable = true;
+ _maintainCache();
+ $r = _queryCache('aCat', $toPolicy);
+ for ($i=0; $i<count($r); $i++) { // valójában csak egy érték lehet, de azért bent hagyjuk a ciklust
+ $_eArr[] = $r[$i]['ertek'];
+ $_eArr = explode(';',$r[$i]['ertek']);
+ if (is_array($_eArr)) $return = $_eArr;
+ else $return[] = $_eArr;
+ }
+ } else $cacheable = false;
+ if (count($r)>0) return $return;
+ else {
+ $return = array();
+ if (is_array($AUTH[$toPolicy]['categories']))
+ foreach ($AUTH[$toPolicy]['categories'] as $key => $category) {
+ if (memberOf($userAccount, $category, $toPolicy)) {
+ $return[] = $category;
+ }
+ if ($cacheable) _registerToCache('aCat',implode(';',$return),$toPolicy); // ha több csoport tagja is, ";"
+ }
+ return $return;
+ }
+ }
+
+ function _queryCache($kulcs, $policy, $rType="indexed") {
+ $v = array(_SESSIONID,$kulcs,$policy);
+ return db_query("SELECT `ertek` FROM `cache` WHERE sessionID='%s' AND dt>NOW() - INTERVAL 5 MINUTE AND `kulcs`='%s' AND policy='%s'", array('fv' => 'getAccountCategories', 'modul' => 'login', 'result' => $rType, 'values'=>$v));
+ }
+
+ function _registerToCache($kulcs,$ertek,$policy) {
+ $v = array(_SESSIONID,$policy,$kulcs,$ertek);
+ db_query("REPLACE INTO `cache` (sessionID,policy,kulcs,ertek,dt) VALUES ('%s','%s','%s','%s',NOW())", array('fv' => 'cache', 'modul' => 'login', 'result' => 'indexed', 'values'=>$v));
+ }
+
+ function _maintainCache() {
+ $q = "DELETE FROM `cache` WHERE dt<NOW() - INTERVAL 5 MINUTE";
+ db_query($q, array('fv' => 'cache', 'modul' => 'login', 'result' => 'indexed', 'values'=>$v));
+ }
+
+ function _clearSessionCache($sessionID) {
+ $q = "DELETE FROM `cache` WHERE sessionID IN ('%s','%s')";
+ $v = array(_SESSIONID,$sessionID);
+ db_query($q, array('debug'=>false,'fv' => 'cache', 'modul' => 'login', 'result' => 'indexed', 'values'=>$v));
+ }
+
+######################################################
+# getBackendAttrs - az adott policy backend-jéhez tartozó attribútumok - session modul
+######################################################
+
+ function getBackendAttrs($type = 'Account', $toPolicy = _POLICY) {
+
+ global $AUTH;
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/base.php');
+
+ global $AUTH;
+ $attrArrayName = $AUTH[$toPolicy]['backend'].$type.'AttrDef';
+ global $$attrArrayName;
+ $backendAttrDef = $$attrArrayName;
+
+ // Válogassuk ki az olvasható attribútumokat
+ reset($backendAttrDef);
+ foreach ($backendAttrDef as $attr => $def) {
+
+ if (!isset($def['rights']) || $def['rights'] == '') {
+ $rigths = _DEFAULT_LDAP_RIGHTS; //LDAP???
+ $backendAttrDef[$attr]['rights'] = $rights;
+ } else $rights = $def['rights'];
+
+ if ($rights[_ACCESS_AS] != '-') $attrList[] = $attr;
+
+ }
+ return array($attrList,$backendAttrDef);
+
+ }
+
+######################################################################
+# Utolsó bejelentkezés dátuma
+######################################################################
+
+ function getLastLoginDt($toPolicy, $userAccount=_USERACCOUNT, $lr = null) {
+ $q = "SELECT dt FROM loginLog WHERE policy='%s' AND userAccount='%s' AND flag=0 ORDER BY dt DESC LIMIT 1";
+ return db_query($q , array('fv' => 'getLastLoginDt', 'modul' => 'login', 'result' => 'value', 'values' => array($toPolicy,$userAccount)), $lr);
+ }
+
+######################################################################
+# Hibás bejelentkezések száma, a legutolsó sikeres bejelentkezés óta
+######################################################################
+
+ function getFailedLoginCount($toPolicy, $userAccount=_USERACCOUNT, $lr = null) {
+ if ($sinceDt == '') $sinceDt = getLastLoginDt($toPolicy, $userAccount, $lr);
+ $q = "SELECT COUNT(*) AS db FROM loginLog WHERE policy='%s' AND userAccount='%s' AND dt>'%s' AND flag>0";
+ return db_query($q , array('fv' => 'getFailedLoginCount', 'modul' => 'login', 'result' => 'value', 'values' => array($toPolicy, $userAccount, $sinceDt)), $lr);
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/share/session/close.php b/mayor-orig/mayor-base/www/include/share/session/close.php
new file mode 100644
index 00000000..2c321ef0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/session/close.php
@@ -0,0 +1,98 @@
+<?php
+/*
+ Modules: base/session
+
+ Az alábbi függvények nem ellenőrzik, hogy van-e jogunk a használatukhoz!
+ At ellenőrzés az őket hívó program feladata.
+ A visszatérési érték a törölt sorok száma, illetve -1, ha sikertelen a törlés (ld. php kézikönyv)
+
+ function closeSession($sessionID = '')
+ function closeUserSessions($userAccount = '', $policy = '')
+*/
+
+##########################################################
+# Kitörli az összes lejart session-höz tartozó bejegyzést (policy-től függetlenül).
+##########################################################
+
+ function closeIdleSessions() {
+ if (defined('_SESSION_MAX_IDLE_TIME') and _SESSION_MAX_IDLE_TIME > 0) {
+ $q = "DELETE FROM session WHERE activity + INTERVAL "._SESSION_MAX_IDLE_TIME." HOUR < NOW()";
+ return db_query($q, array('fv' => 'closeIdleSessions', 'modul' => 'login', 'result' => 'affected rows'));
+ } else {
+ return true;
+ }
+ }
+
+##########################################################
+# Kitörli az összes adott session-höz tartozó bejegyzést (policy-től függetlenül).
+##########################################################
+
+ function closeSession($sessionID = '') {
+ // _SESSIONID csak validUser esetén van, de mi lehet, hogy másik policy-ből jöttünk!
+ if ($sessionID == '') $sessionID = $_REQUEST['sessionID'];
+ _clearSessionCache($sessionID);
+ unsetTokenCookies();
+ $q = "DELETE FROM session WHERE sessionID='%s'";
+ return db_query($q, array('fv' => 'closeSession', 'modul' => 'login', 'result' => 'affected rows', 'values' => array($sessionID)));
+ }
+
+##########################################################
+# Kitörli az összes adott userAccount/policy-hez tartozó bejegyzést( (esetleg több sessionID-t is).
+##########################################################
+
+ function closeUserSessions($userAccount = '', $policy = '') {
+ if ($userAccount == '') $userAccount = _USERACCOUNT;
+ if ($policy == '') $policy = _POLICY;
+ $q = "DELETE FROM session WHERE userAccount='%s' and policy='%s'";
+ return db_query($q, array('fv' => 'closeUserSessions', 'modul' => 'login', 'result' => 'affected rows', 'values' => array($userAccount, $policy)));
+ }
+
+##########################################################
+# Kitörli az összes "elavult" session-t.
+##########################################################
+
+ function closeOldSessions() {
+ if (defined('_SESSION_MAX_TIME') and _SESSION_MAX_TIME > 0) {
+ $dt = date('Y-m-d H:i:s', mktime(date('H')-_SESSION_MAX_TIME,date('i'),date('s'),date('m'),date('d'),date('Y')));
+ $q = "DELETE FROM session WHERE dt<'%s'";
+ return db_query($q, array('fv' => 'closeOldSessions', 'modul' => 'login', 'result' => 'affected rows', 'values' => array($dt)));
+ }
+ }
+
+##########################################################
+# Kitörli az összes "elavult" és lejart session-t.
+##########################################################
+ function closeOldAndIdleSessions() {
+ if (
+ (defined('SESSION_MAX_TIME') and _SESSION_MAX_TIME > 0)
+ || (defined('_SESSION_MAX_IDLE_TIME') and _SESSION_MAX_IDLE_TIME > 0)
+ ) {
+
+ $q = ''; $v = array();
+ if (defined('_SESSION_MAX_TIME') and _SESSION_MAX_TIME > 0) {
+ $dt = date('Y-m-d H:i:s', mktime(date('H')-_SESSION_MAX_TIME,date('i'),date('s'),date('m'),date('d'),date('Y')));
+ $q = "DELETE FROM session WHERE dt<'%s'";
+ $v = array($dt);
+ }
+ if (defined('_SESSION_MAX_IDLE_TIME') and _SESSION_MAX_IDLE_TIME > 0) {
+ if ($q == '') $q = "DELETE FROM session WHERE activity + INTERVAL "._SESSION_MAX_IDLE_TIME." HOUR < NOW()";
+ else $q .= " OR activity + INTERVAL "._SESSION_MAX_IDLE_TIME." HOUR < NOW()";
+ }
+ if ($q == '') return true;
+ else return db_query($q, array('fv' => 'closeOldAndIdleSessions', 'modul' => 'login', 'result' => 'affected rows', 'values' => $v));
+
+ } else {
+ return true;
+ }
+
+ }
+
+##########################################################
+# Kitörli az összes session-t.
+##########################################################
+
+ function closeAllSession() {
+ return db_query("DELETE FROM session", array('fv' => 'closeAllSession', 'modul' => 'login', 'result' => 'affected rows'));
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/share/ssl/ssl.php b/mayor-orig/mayor-base/www/include/share/ssl/ssl.php
new file mode 100644
index 00000000..61b6ca1b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/ssl/ssl.php
@@ -0,0 +1,461 @@
+<?php
+/*
+
+ Küldés:
+
+ Fogadás:
+ skin=rpc
+ rights.php
+ require_once ssl.php
+ $_POST[senderNodeId] beolvasás
+ $RPC construct...
+ setRemoteNodeId
+ processRequest (sessionKey, request)
+ *-pre.php
+ getIncomingRequest ($request['func'])
+ prepareReply
+ _encodeRequest
+ setMyResponse
+ skin-rpc/base.phtml
+ global $RPC
+ echo $RPC->getResponse()
+
+ Küldés:
+ __construct
+ getSSLKeyPair
+ _genSessionKey
+ setRemoteNodeId
+ _setRemotePublicKey
+ getSslPublicKeyByNodeId
+ setRemoteHost (HOST, publicKey)
+ _setRemotePublicKey
+ setRequestTarget (PSF)
+ sendRequest
+ _prepareRequest
+ _encodeRequest($ADAT)
+ AES::encrypt !! json, base64 - nincs AES :(
+ _sessionKeyEncode
+ _curlGet --> response
+ _decodeRequest !! jelenleg csak json...
+ _sessionKeyDecode
+ json_decode - AES::decrypt
+*/
+
+ function getSslKeyPair() {
+ $q = "SELECT * FROM mayorSsl";
+ $r = db_query($q, array('fv'=>'getSslKeyPair','modul'=>'login','result'=>'record'));
+ if ($r=='') {
+ $SSLKeyPair = generateSSLKeyPair();
+ $secret = sha1(mt_rand(100000000000000,999999999999999));
+ $q = "INSERT INTO mayorSsl (privateKey,publicKey,secret) VALUES ('%s','%s','%s')";
+ $values = array($SSLKeyPair['privateKey'],$SSLKeyPair['publicKey'],$secret);
+ $r = db_query($q, array('fv'=>'getSslKeyPair','modul'=>'login', 'values'=>$values));
+ return $SSLKeyPair;
+ } else {
+ return $r;
+ }
+ }
+
+ function generateSSLKeyPair() {
+ $SSL_KEY_PAIR=openssl_pkey_new();
+ // Get private key
+ openssl_pkey_export($SSL_KEY_PAIR, $privatekey);
+ // Get public key
+ $publickey=openssl_pkey_get_details($SSL_KEY_PAIR);
+ $publickey=$publickey["key"];
+ return array('fv'=>'geneateSslKeyPair','privateKey'=>$privatekey,'publicKey'=>$publickey);
+ }
+ function setNodeId($nodeId, $publicKey) {
+ $q = "UPDATE mayorSsl SET nodeId=%u where publicKey='%s'";
+ $v = array($nodeId, $publicKey);
+ return db_query($q, array('debug'=>false,'fv'=>'setNodeId','modul'=>'login', 'values'=>$v));
+ }
+
+ function getSslPublicKey() {
+ $SSLKeyPair = getSslKeyPair();
+ return $SSLKeyPair['publicKey'];
+ }
+
+ function getSslPublicKeyByNodeId($nodeId) {
+ if (is_numeric($nodeId)) {
+ $q = "SELECT publicKey FROM mayorKeychain WHERE valid=1 AND nodeId='%u'";
+ $values = array($nodeId);
+ $result = db_query($q, array('debug'=>false,'fv'=>'getSslPublicKeyByNodeId','modul'=>'login', 'values'=>$values,'result'=>'value'));
+ if ($result=='') return false;
+ else return $result;
+ } else {
+ return false;
+ }
+ }
+
+ function getPublicDataFromLocalKeychain($nodeId) {
+ if (is_numeric($nodeId)) {
+ // lekérdezés a helyi adatbázisból
+ $q = "SELECT * FROM mayorKeychain WHERE valid=1 AND nodeId='%u'";
+ $values = array($nodeId);
+ $result = db_query($q, array('debug'=>false,'fv'=>'getPublicDataFromLocalKeychain','modul'=>'login', 'values'=>$values,'result'=>'record'));
+ if ($result=='') return false;
+ else return $result;
+ } elseif (is_null($nodeId)) {
+ // Az összes eltárolt node adatának lekérdezése
+ $q = "SELECT * FROM mayorKeychain WHERE valid=1 ORDER BY nodeTipus DESC, nev";
+ $result = db_query($q, array('debug'=>false,'fv'=>'getPublicDataFromLocalKeychain','modul'=>'login','result'=>'indexed'));
+ if ($result=='') return false;
+ else return $result;
+ }
+ }
+
+ function addPublicDataToLocalKeychain($DATA) {
+ // egy új rekord felvétele...
+ $fields = array_keys($DATA);
+ $values = array_values($DATA);
+ $q = "INSERT INTO mayorKeychain (".implode(',', array_fill(0, count($fields), "%s")).") VALUES (".implode(',', array_fill(0, count($values), "'%s'")).")";
+ $v = array_merge($fields, $values);
+ $r = db_query($q, array('debug'=>false,'func'=>'addPublicDataToLocalKeychain','modul'=>'login','values'=>$v,'result'=>'insert'));
+ return $r;
+ }
+ function removeNodeFromLocalKeychain($nodeId) {
+ $q = "DELETE FROM mayorKeychain WHERE nodeId=%u";
+ $v = array($nodeId);
+ $r = db_query($q, array('debug'=>false,'func'=>'removeNodeFromLocalKeychain','modul'=>'login','values'=>$v));
+ return $r;
+ }
+ function sendPublicRequest($data) {
+ if (defined('_DEVEL') && _DEVEL===true) $host = 'localhost';
+ else $host = 'www.mayor.hu';
+ $url = "https://$host/index.php?page=portal&sub=regisztracio&f=regisztracio&skin=ajax";
+ $salt_name='MS_'.sha1('portal_regisztracio_regisztracio');
+ $ch = curl_init();
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // a választ feldolgozzuk
+ curl_setopt($ch, CURLOPT_URL, $url);
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
+ curl_setopt($ch, CURLOPT_SSL_VERIFYSTATUS, false);
+ curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
+ curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); // a helyi gépen nekem ez kellett :(
+ curl_setopt($ch, CURLOPT_HEADER, 0);
+// curl_setopt($ch, CURLOPT_TIMEOUT,60);
+ curl_setopt($ch, CURLOPT_USERAGENT, "MaYoR-registration (php; cURL)");
+ curl_setopt($ch, CURLOPT_VERBOSE, true);
+ // Cookie
+ curl_setopt($ch, CURLOPT_COOKIE, $salt_name.'=portal_regisztracio_regisztracio');
+ // POST
+ curl_setopt($ch, CURLOPT_POST, true);
+ curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
+
+ $response = curl_exec($ch);
+ $INFO = curl_getinfo($ch); // ha kell
+ if ($INFO['http_code'] == 200) { // minden ok
+ //dump($INFO['url']);
+ //dump("response:",$response);
+ } else {
+ echo '<a href="'.$url.'">URL</a>';
+ dump($INFO['http_code'],$response,$INFO);
+ throw new Exception($INFO['http_code']);
+ }
+ curl_close($ch);
+
+ return $response;
+ }
+
+//function base64url_encode($data) {
+// return rtrim(strtr(base64_encode($data), '+/', '-_'), '=');
+//}
+//function base64url_decode($data) {
+// return base64_decode(str_pad(strtr($data, '-_', '+/'), strlen($data) % 4, '=', STR_PAD_RIGHT));
+//}
+function random_str($length, $keyspace = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ')
+{
+ $str = '';
+ $max = mb_strlen($keyspace, '8bit') - 1;
+ for ($i = 0; $i < $length; ++$i) {
+ $str .= $keyspace[random_int(0, $max)];
+ }
+ return $str;
+}
+ /* symmetric cryptographic module */
+ class AES {
+
+ public function __construct() { }
+ public function encrypt($data, $key) {
+ $data = urlencode($data);
+
+// $return = $data;
+// $return = $key . $data;
+// $return = openssl_encrypt($data, 'aes-256-cbc', $key, OPENSSL_RAW_DATA);
+// $return = db_query("SELECT aes_encrypt('%s','%s')",array('fv'=>'class AES','result'=>'value','modul'=>'login','values'=>array($data,$key)));
+
+ if (function_exists('mcrypt_encrypt')) {
+ $return = mcrypt_encrypt(MCRYPT_RIJNDAEL_128,$key,$data,MCRYPT_MODE_CBC,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0");
+ } else {
+ $_SESSION['alert'][] = 'info:mcrypt függvény nem található (tipp! telepítsd a php5-mcrypt csomagot a szerverre)';
+ }
+ return base64_encode($return);
+ }
+ public function decrypt($data,$key) {
+ $data = base64_decode($data);
+
+// $return = $data;
+// $return = substr($data,strlen($key));
+// $return = openssl_decrypt($data, 'aes-256-cbc', $key, OPENSSL_RAW_DATA);
+// $return = db_query("SELECT aes_decrypt('%s','%s')",array('fv'=>'class AES','result'=>'value','modul'=>'login','values'=>array($data,$key)));
+ if (function_exists('mcrypt_decrypt')) {
+ $return = mcrypt_decrypt(MCRYPT_RIJNDAEL_128,$key,$data,MCRYPT_MODE_CBC,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0");
+ } else {
+ $_SESSION['alert'][] = 'info:mcrypt függvény nem található (tipp! telepítsd a php5-mcrypt csomagot a szerverre)';
+ }
+ return trim(urldecode($return));
+ }
+ }
+
+ class Interconnect {
+
+ /* A: küldő, B: fogadó használja */
+
+ private $sessionKey; // egy kommunikációhoz használt session kulcs
+ private $KP; // a saját kulcspárom
+ private $nodeId;
+ private $privateKey;
+ private $publicKey;
+ private $remotePublicKey;
+ private $remoteNodeId;
+ private $remoteHost;
+ private $psf;
+ private $myRequest; // a küldendő kérés (object)
+ private $myResponse; // a küldendő válasz (object)
+ private $incomingRequest; // a beérkező kérés (object)
+ private $incomingResponse; // a beérkező válasz (object)
+ private $status; // a művelet eredményességéek visszajelzése, hibaok kódja...
+ private $controllerNodeId = '09862967'; // Ez van jelenleg az adatbázisban...
+
+ /* Konstruktor */
+ public function __construct() {
+ $this->sessionKey = $this->_genSessionKey();
+ $this->KP = getSSLKeyPair();
+ $this->nodeId = $this->KP['nodeId'];
+ $this->privateKey = $this->KP['privateKey'];
+ $this->publicKey = $this->KP['publicKey'];
+ $this->status = 'ok:created';
+ $this->psf = 'page=rpc&f=rpc';
+ }
+ /* Privát metódusok */
+// private function _yconv($get) {
+// $get = str_replace(' ','+',$get); // hm. erre miért van szükség??? autokonverzió?
+// $get = str_replace('\/','/',$get); // hm. erre miért van szükség??? autokonverzió?
+// $get = str_replace('\\','',$get); // hm. erre miért van szükség??? autokonverzió?\"'
+// return $get;
+// }
+ private function _curlGet($data) {
+ $host = $this->remoteHost;
+ $url = $this->remoteHost."/index.php?skin=rpc&".$this->psf;
+ //dump('url',$url);
+ $ch = curl_init();
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // a választ feldolgozzuk
+ curl_setopt($ch, CURLOPT_URL, $url);
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
+ curl_setopt($ch, CURLOPT_SSL_VERIFYSTATUS, false);
+ curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
+ curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); // a helyi gépen nekem ez kellett :(
+ curl_setopt($ch, CURLOPT_HEADER, 0);
+// curl_setopt($ch, CURLOPT_TIMEOUT,60);
+ curl_setopt($ch, CURLOPT_USERAGENT, "MaYoR-interconnect (php; cURL)");
+ curl_setopt($ch, CURLOPT_VERBOSE, true);
+ // POST
+ $data['senderNodeId'] = $this->nodeId;
+ curl_setopt($ch, CURLOPT_POST, true);
+ curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
+
+ $response = curl_exec($ch);
+ $INFO = curl_getinfo($ch); // ha kell
+ if ($INFO['http_code'] == 200) { // minden ok
+ //dump($INFO['url']);
+ //dump($response);
+ } else {
+ echo '<a href="'.$url.'">URL</a>';
+ dump($response,$INFO);
+ throw new Exception($INFO['http_code']);
+ }
+ curl_close($ch);
+ return $response;
+ }
+ private function _genSessionKey() {
+ return base64_encode(pack('N6', mt_rand(), mt_rand(), mt_rand(),mt_rand(), mt_rand(), mt_rand()));
+ //return random_str( 32 );
+ }
+ private function _sessionKeyEncode() {
+ $crypttext = '';
+ $res = openssl_public_encrypt($this->sessionKey, $crypttext, $this->remotePublicKey); // majd a távoli publikus kulccal
+ return base64_encode($crypttext);
+ }
+ private function _sessionKeyDecode($in) {
+ $decodedtext = '';
+ $res = openssl_private_decrypt(base64_decode($in), $decodedtext, $this->privateKey); // a saját privát kulccsal
+ return $decodedtext;
+ }
+ private function _genHash($in) {
+ // hash generálás
+ return hash('sha256', $in, false);
+ }
+ private function _hashEncode($in) {
+ // a mi privát kulcsunkkal...
+ $res = openssl_private_encrypt($in, $encodedHash, $this->privateKey); // a saját privát kulccsal
+ return base64_encode($encodedHash);
+ }
+ private function _hashDecode($in) {
+ // a remotePublic-kal
+ $res = openssl_public_decrypt(base64_decode($in), $decodedHash, $this->remotePublicKey); // majd a távoli publikus kulccal
+ return $decodedHash;
+ }
+ private function _verifyHash($PACKED) {
+ return ($this->_genHash($PACKED['details']))===($this->_hashDecode($PACKED['hashEncoded']));
+ }
+ private function _packData($DATA) { // --> array(details|sessionKeyEncoded)
+ $ADAT['details'] = AES::encrypt(json_encode($DATA),$this->sessionKey); // implicit base64_encode
+ $ADAT['hashEncoded'] = $this->_hashEncode($this->_genHash($ADAT['details']));
+ $ADAT['sessionKeyEncoded'] = $this->_sessionKeyEncode(); // implicit base64_encode
+ $ADAT['status'] = $this->status;
+ return $ADAT;
+ }
+ private function _unpackData($PACKED) { // packed[details] --> object !! feltesszük, hogy már be van állítva a sessionKey, ellenőrizve van a hash!
+ return json_decode(AES::decrypt($PACKED['details'],$this->sessionKey), true);
+ }
+ private function _encodeRequest($IN = array()) { // HTTP GET paraméter
+ return urlencode(json_encode($IN));
+ }
+ private function _decodeRequest($IN) { // HTTP GET paraméter
+ return json_decode($IN, true);
+ }
+ private function _encodeResponse($IN=array()) { // HTTP - tartalom
+ return json_encode($IN);
+ }
+ private function _decodeResponse($IN=array()) { // HTTP - tartalom
+ return json_decode($IN, true);
+ }
+ /* Publikus metódusok */
+ public function setRequestTarget($target) {
+ if ($target == 'controller') $this->psf='page=rpc&sub=controller&f=rpc';
+ else if ($target == 'naplo') $this->psf='page=rpc&sub=naplo&f=rpc';
+ else $this->psf='page=rpc&f=rpc'; // alap funkciók
+ }
+ public function getRegistrationDataByNodeId($nodeId) { // feltesszük, hogy valid
+ $origRemoteNodeId = $this->remoteNodeId;
+ $this->setRemoteHostByNodeId($this->controllerNodeId);
+ $ret = $this->sendRequest(array('func'=>'getPublicDataByNodeId', 'nodeId'=>$nodeId));
+ $this->setRemoteHostByNodeId($origRemoteNodeId);
+
+ return $ret;
+ }
+ public function getPublicDataByNodeId($nodeId) {
+ if (defined('_DEVEL') && _DEVEL===true) {
+ // A helyi gép adatait adjuk meg
+ $ret = array('nodeId'=>$this->nodeId, 'url'=>'https://localhost','publicKey'=>$this->publicKey);
+ } else {
+ if ($nodeId == '') $nodeId = $this->controllerNodeId;
+ // Adott nodeId adatainak lekérdezése a helyi adatbázisból
+ $ret = getPublicDataFromLocalKeychain($nodeId);
+ if ($ret === false) {
+ $RPC = new Interconnect();
+ $RPC->setRequestTarget('controller');
+ $RPC->setRemoteHostByNodeId($this->controllerNodeId);
+ $ret2 = $RPC->sendRequest(array('func'=>'getPublicDataByNodeId', 'nodeId'=>$nodeId));
+ $ret = $ret2['nodeData'];
+ foreach (array(
+ 'regId','dij','utemezes','egyebTamogatas','szamlazasiCim','szamlaHelyseg','szamlaIrsz','szamlaKozteruletNev',
+ 'szamlaKozteruletJelleg','szamlaHazszam'
+ ) as $field) {
+ unset($ret[$field]);
+ }
+ if (is_array($ret)) addPublicDataToLocalKeychain($ret);
+/*
+ } elseif (false) {
+ // Adott nodeId adatainak lekérdezése a www.mayor.hu-tól (controller) Interconnect-tel
+ $origRemoteNodeId = $this->remoteNodeId;
+ $origPsf = $this->psf;
+ $this->setRequestTarget('controller');
+ $this->setRemoteHostByNodeId($this->controllerNodeId);
+ $ret2 = $this->sendRequest(array('func'=>'getPublicDataByNodeId', 'nodeId'=>$nodeId));
+ $ret = $ret2['nodeData'];
+ foreach (array(
+ 'regId','dij','utemezes','egyebTamogatas','szamlazasiCim','szamlaHelyseg','szamlaIrsz','szamlaKozteruletNev',
+ 'szamlaKozteruletJelleg','szamlaHazszam'
+ ) as $field) {
+ unset($ret[$field]);
+ }
+ if (is_array($ret)) addPublicDataToLocalKeychain($ret);
+ if ($origRemoteNodeId!='') $this->setRemoteHostByNodeId($origRemoteNodeId);
+ $this->psf = $origPsf;
+*/
+ }
+ }
+ return $ret;
+ }
+ public function setRemoteHostByNodeId($nodeId) {
+ $rData = $this->getPublicDataByNodeId($nodeId);
+ if (is_array($rData)) {
+ $this->remoteHost = $rData['url'];
+ $this->remoteNodeId = $rData['nodeId'];
+ $this->remotePublicKey = $rData['publicKey'];
+ $this->status = 'ok:remoteHost';
+ } else {
+ $this->remoteHost = ''; // controller
+ $this->remoteNodeId = $this->controllerNodeId;
+ $this->remotePublicKey = $rData['publicKey'];
+ $this->status = 'ok:remoteHostController';
+ }
+ }
+ /* A oldal */
+ public function sendRequest($ADAT = array()) {
+ $PACKED = $this->_packData($ADAT);
+ $this->myRequest = $PACKED;
+ // $this->myRequest = $this->_encodeRequest($PACKED);
+
+ $response = $this->_curlGet($this->myRequest);
+
+ $decodedResponse = $this->_decodeResponse($response);
+ if ($this->sessionKey === $this->_sessionKeyDecode($decodedResponse['sessionKeyEncoded'])) {
+ if ($this->_verifyHash($decodedResponse)) {
+ $this->incomingResponse = $this->_unpackData($decodedResponse);
+ $this->status = 'ok:success response';
+ } else {
+ $this->incomingResponse = false;
+ $this->status = 'error:wrong response hash';
+ }
+ } else {
+ $this->status = 'error:wrong response sessionKey ('.($this->sessionKey).' != '.($this->_sessionKeyDecode($decodedResponse['sessionKeyEncoded'])).') response: '.$response;
+ $this->incomingResponse = false;
+ }
+ return $this->incomingResponse;
+ }
+ /* B oldal! */
+ public function processRequest() { // rights.php
+ $PACKED = $_POST;
+ $this->sessionKey = $this->_sessionKeyDecode($PACKED['sessionKeyEncoded']);
+ if ($this->_verifyHash($PACKED)) {
+ $this->incomingRequest = $this->_unpackData($PACKED);
+openlog("MaYoR", LOG_PID | LOG_PERROR, LOG_LOCAL0);
+syslog(LOG_WARNING, "Data unpacked: ".(json_encode($this->incomingRequest))." {$_SERVER['REMOTE_ADDR']} ({$_SERVER['HTTP_USER_AGENT']})");
+closelog();
+ $this->status = 'ok:success request';
+ } else {
+ $this->incomingRequest = false;
+ $this->status = 'error:wrong request hash';
+ }
+ return $this->incomingRequest;
+ }
+ public function setResponse($DATA) { // ez kell a pre-be
+ $this->myResponse = $this->_encodeResponse($this->_packData($DATA));
+ }
+ public function sendResponse() { // skin=rpc - csak ki kell írnunk az elküldendő adatsort - ezt a skin csinálja
+ echo $this->myResponse;
+ }
+ public function getIncomingRequest() { return $this->incomingRequest; } // a pre-ben
+
+ public function getPublicKey() { return $this->publicKey; }
+ public function getSessionKey() { return $this->sessionKey; }
+ public function getStatus() { return $this->status; }
+ public function getRemoteNodeId() { return $this->remoteNodeId; }
+ public function getControllerNodeId() { return $this->controllerNodeId; }
+ public function getNodeId() { return $this->nodeId; }
+ }
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/share/str/hyphen.php b/mayor-orig/mayor-base/www/include/share/str/hyphen.php
new file mode 100644
index 00000000..0973e4d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/str/hyphen.php
@@ -0,0 +1,104 @@
+<?php
+
+class huHyphen
+{
+ // member declaration
+ public $Patterns = array();
+ private $patternFilePath = '../print/share/huhyphn.tex';
+
+ // method declaration
+ function __construct() {
+
+ $patterns = 0;
+ $mbConv = array(
+ mb_convert_encoding('ś', 'ISO-8859-2', 'UTF-8') => mb_convert_encoding('ű', 'ISO-8859-2', 'UTF-8'),
+ mb_convert_encoding('Ž', 'ISO-8859-2', 'UTF-8') => mb_convert_encoding('ő', 'ISO-8859-2', 'UTF-8'));
+
+ if (file_exists($this->patternFilePath)) {
+ $fp = fopen($this->patternFilePath, 'r');
+ while ($aLine = fgets($fp, 128)) {
+ // deprecated // if (!ereg('[\\%{}]', $aLine)) {
+ if (!preg_match('#[\\%{}]#', $aLine)) {
+ // Cork --> ISO-8859-2 kódolás
+ $aLine = strtr($aLine, $mbConv);
+ $letter = false;
+ $key = $value = '';
+ $aLine = chop($aLine);
+ for ($i = 0; $i < strlen($aLine); $i++) {
+ // deprecated // if (ereg('[0-9]',$aLine[$i])) {
+ if (preg_match('#[0-9]#',$aLine[$i])) {
+ $value .= $aLine[$i];
+ $letter = false;
+ } else {
+ if ($letter) $value .= '0';
+ $key .= $aLine[$i];
+ $letter = true;
+ }
+ }
+ if ($letter) $value .= '0';
+ if (!is_array($Patterns[strlen($key)])) $Patterns[strlen($key)] = array();
+ $Patterns[strlen($key)][$key] = $value;
+ $patterns++;
+ } else {
+ //if (ereg('\\message\{(.*)\}', $aLine, $reg)) echo $reg[1]."\n";
+ }
+ }
+ } else { $GLOBALS['alert'][] = 'message:file_not_found:'.($this->patternFilePath); }
+ for ($i = 0; $i < count($Patterns); $i++) {
+ if (!is_array($Patterns[$i])) $Patterns[$i] = array();
+ }
+ $this->Patterns = $Patterns;
+ }
+ function getPattern($key, $value) {
+ $pattern = '';
+ if (strlen($value) > strlen($key)) { $pattern = $value[0]; $value = substr($value, 1); }
+ for ($i = 0; $i < strlen($key); $i++) {
+ $pattern .= $key[$i];
+ if (isset($value[$i])) $pattern .= $value[$i];
+ }
+ $pattern = str_replace('0','',$pattern);
+ return $pattern;
+ }
+ public function hyphen($word) {
+ $word = mb_convert_encoding($word, 'ISO-8859-2', 'UTF-8');
+ if (strlen($word) > 1) {
+
+ $key = '.'.$word.'.';
+ $value = str_repeat('0', strlen($key));
+ $key = strtr($key, mb_convert_encoding('A-ZÁÄÉÍÓÖŐÚÜŰ', 'ISO-8859-2', 'UTF-8'), mb_convert_encoding('a-záäéíóöőúüű', 'ISO-8859-2', 'UTF-8'));
+ $pattern = '';
+ for ($i = 1; $i <= strlen($key); $i++) {
+ for ($j = 0; $j <= strlen($key)-$i; $j++) {
+ if (is_array($this->Patterns[$i]) && ($pattern = $this->Patterns[$i][ substr($key, $j, $i) ])) {
+ for ($k = 0; $k < strlen($pattern); $k++) {
+ if ($value[$j + $i - strlen($pattern) + $k] < $pattern[$k])
+ $value[$j + $i - strlen($pattern) + $k] = $pattern[$k];
+ }
+ }
+ }
+ }
+ $hyphenated = '';
+ for ($i = 0; $i <= strlen($word)-2; $i++) {
+ $hyphenated .= $word[$i];
+ // deprecated // if (ereg('[13579]', $value[$i+1])) $hyphenated .= '-';
+ if (preg_match('#[13579]#', $value[$i+1])) $hyphenated .= '-';
+ }
+ $hyphenated .= substr($word, -1);
+ } else {
+ $hyphenated = $word;
+ }
+ return mb_convert_encoding($hyphenated, 'UTF-8', 'ISO-8859-2');
+ }
+}
+
+$huHyphen = new huHyphen();
+//while gets
+// break if $_=="\n"
+// test.hyphen($_.strip)
+//end
+
+//$test->hyphen(trim('állomásfőnök'));
+//$test->hyphen(trim('álamigazgatás'));
+//$test->hyphen(trim('informatika alapismeretek, programozás'));
+
+?>
diff --git a/mayor-orig/mayor-base/www/include/share/str/tex.php b/mayor-orig/mayor-base/www/include/share/str/tex.php
new file mode 100644
index 00000000..76cf5117
--- /dev/null
+++ b/mayor-orig/mayor-base/www/include/share/str/tex.php
@@ -0,0 +1,51 @@
+<?php
+
+ function TeXSpecialChars($szoveg) {
+ $trans = array(
+// "\\'" => "'", ## ezt kell kiszedni 2.0-ban
+ '+' => '$+$',
+ '/' => '$/$',
+ '*' => '$*$',
+ '=' => '$=$',
+ '<' => '$<$',
+ '>' => '$>$',
+ '{' => '$\{$',
+ '}' => '$\}$',
+ '#' => '\#',
+ '%' => '\%',
+ '_' => '\_',
+ '&' => '\&',
+ '~' => ' ',
+ '…' => '...',
+ '´' => '\'',
+ '^' => '(exp)',
+// '~' => '\~\ ',
+// '$' => '\$',
+// "\\" => '$\backslash$'
+ );
+ if (__NYOMTATAS_XETEX) {
+ $trans['^'] = '\^\ ';
+ }
+ return strtr(strtr($szoveg, array('$' => '\$', "\\" => '$\backslash$')), $trans);
+ }
+
+ function LaTeXSpecialChars($szoveg) {
+ $trans = array(
+ '_' => '\_',
+ '#' => '\#',
+ '$' => '\$',
+ '%' => '\%',
+ '&' => '\&',
+ '~' => '\verb|~|',
+ '^' => '\verb|^|',
+ '{' => '\{',
+ '}' => '\}',
+ '\\' => '$\backslash$',
+// 0160 => 0032, // valami' spéci szóköz --> sima szóköz
+ );
+ return strtr($szoveg,$trans);
+ }
+
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/index.php b/mayor-orig/mayor-base/www/index.php
new file mode 100644
index 00000000..6db3d23e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/index.php
@@ -0,0 +1,33 @@
+<?php
+/*
+ MaYoR http://www.mayor.hu./
+ License: LICENSE.txt
+*/
+ @error_reporting(E_ERROR | E_WARNING | E_PARSE);
+ require('include/base/config.php');
+ require('include/base/mysql.php');
+ require('include/base/var.php');
+ require('include/base/base.php');
+ require('include/base/cache.php');
+ require('include/base/str.php');
+ require('include/base/log.php');
+ require('include/alert/base.php');
+ if ( defined('__TESTERRORREPORTER') && __TESTERRORREPORTER===true) require('include/base/error.php');
+ require('include/base/rights.php');
+ require('include/base/login.php');
+ require('include/menu/base.php') ;
+ /* --- */
+ require('skin/default/base/html/base.phtml');
+ if (file_exists("skin/$skin/base/html/alert.phtml")) {
+ require("skin/$skin/base/html/alert.phtml");
+ } else {
+ require('skin/'._DEFAULT_SKIN.'/base/html/alert.phtml');
+ }
+ if (file_exists("skin/$skin/base/html/base.phtml")) {
+ require("skin/$skin/base/html/base.phtml");
+ } else {
+ require('skin/'._DEFAULT_SKIN.'/base/html/base.phtml');
+ }
+ html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU);
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/de_DE/backend/ldap/attrs.php b/mayor-orig/mayor-base/www/lang/de_DE/backend/ldap/attrs.php
new file mode 100644
index 00000000..9cf8b4ab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/de_DE/backend/ldap/attrs.php
@@ -0,0 +1,58 @@
+<?php
+ define('_LDAP_USERACCOUNT','Loginname');
+ define('_LDAP_USERCN','Name');
+ define('_YEAR','Jahr');
+ define('_MONTH','Monat');
+ define('_DAY','Tag');
+ define('_FIU','Mann');
+ define('_LANY','Frau');
+ define('_LDAPDN','');
+ define('_LDAPUID','');
+ define('_LDAPUIDNUMBER','');
+ define('_LDAPGIDNUMBER','');
+ define('_LDAPGECOS','');
+ define('_LDAPCN','');
+ define('_LDAPSTUDYID','');
+ define('_LDAPSN','');
+ define('_LDAPGIVENNAME','');
+ define('_LDAPMAIL','');
+ define('_LDAPHOMEPAGE','');
+ define('_LDAPURL','');
+ define('_LDAPTELEPHONENUMBER','');
+ define('_LDAPMOBILE','');
+ define('_LDAPYEAR','');
+ define('_LDAPCLASS','');
+ define('_LDAPL','');
+ define('_LDAPSTREET','');
+ define('_LDAPPOSTALADDRESS','');
+ define('_LDAPPOSTALCODE','');
+ define('_LDAPHOMEDIRECTORY','');
+ define('_LDAPDESCRIPTION','');
+ define('_LDAPROOMNUMBER','');
+ define('_LDAPREGISTERTIMESTAMP','');
+ define('_LDAPPRIMARYSCHOOLOMCODE','');
+ define('_LDAPCLASSTIMESTAMP','');
+ define('_LDAPSTUDENTCARDNUMBER','');
+ define('_LDAPSTUDENTCARDTIMESTAMP','');
+ define('_LDAPTAXID','');
+ define('_LDAPBIRTHTIMESTAMP','');
+ define('_LDAPBIRTHLOCALITY','');
+ define('_LDAPREGISTERNUMBER','');
+ define('_LDAPDIARYNUMBER','');
+ define('_LDAPSEX','');
+ define('_LDAPGUARDIANCN','');
+ define('_LDAPMOTHERCN','');
+ define('_LDAPLOCALITYTIMESTAMP','');
+ define('_LDAPTAJNUMBER','');
+ define('_LDAPMEMBER','');
+ define('_LDAPSTUDENTMEMBER','');
+ define('_LDAPEXEMPTMEMBER','');
+ define('_LDAPEXAMERMEMBER','');
+ define('_LDAPMEMBERUID','');
+ define('_LDAPSHADOWLASTCHANGE','');
+ define('_LDAPSHADOWEXPIRE','');
+ define('_LDAPSHADOWWARNING','');
+ define('_LDAPSHADOWMIN','');
+ define('_LDAPSHADOWMAX','');
+ define('_LDAPSHADOWINACTICE','');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/de_DE/module-auth/login.php b/mayor-orig/mayor-base/www/lang/de_DE/module-auth/login.php
new file mode 100644
index 00000000..8f53602c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/de_DE/module-auth/login.php
@@ -0,0 +1,5 @@
+<?php
+ define('_GREETING','MaYoR Anmeldung');
+ define('_LOGIN','Einloggen');
+ define('_USERNAME','Username');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/de_DE/module-password/changeMyPassword.php b/mayor-orig/mayor-base/www/lang/de_DE/module-password/changeMyPassword.php
new file mode 100644
index 00000000..3b62b858
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/de_DE/module-password/changeMyPassword.php
@@ -0,0 +1,7 @@
+<?php
+ define('_CHANGE_PASSWORD','Änderung des eigenen Passworts');
+ define('_USERNAME','Username');
+ define('_NEW_PASSWORD','Neues Passwort');
+ define('_VERIFICATION','Bestätigung');
+ define('_OK','OK');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/de_DE/module-password/changePassword.php b/mayor-orig/mayor-base/www/lang/de_DE/module-password/changePassword.php
new file mode 100644
index 00000000..c959a76c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/de_DE/module-password/changePassword.php
@@ -0,0 +1,7 @@
+<?php
+ define('_CHANGE_PASSWORD','Passwortänderung');
+ define('_USERNAME','Username');
+ define('_NEW_PASSWORD','Neues Passwort');
+ define('_VERIFICATION','Bestätigung');
+ define('_OK','OK');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/de_DE/module-session/accountInfo.php b/mayor-orig/mayor-base/www/lang/de_DE/module-session/accountInfo.php
new file mode 100644
index 00000000..18a3b218
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/de_DE/module-session/accountInfo.php
@@ -0,0 +1,3 @@
+<?php
+ define('_OK','OK');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/de_DE/module-session/createAccount.php b/mayor-orig/mayor-base/www/lang/de_DE/module-session/createAccount.php
new file mode 100644
index 00000000..e16abbd3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/de_DE/module-session/createAccount.php
@@ -0,0 +1,7 @@
+<?php
+ define('_OK','OK');
+ define('_CREATE_ACCOUNT','Neuer Benutzer');
+ define('_VERIFICATION','Bestätigung');
+ define('_ACCOUNT_CATEGORY','Kategorie');
+ define('_DATAFILE','Daten File');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/de_DE/module-session/createGroup.php b/mayor-orig/mayor-base/www/lang/de_DE/module-session/createGroup.php
new file mode 100644
index 00000000..1e471031
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/de_DE/module-session/createGroup.php
@@ -0,0 +1,6 @@
+<?php
+ define('_OK','OK');
+ define('_CREATE_GROUP','Neue Gruppe');
+ define('_GROUP_CATEGORY','Kategorie');
+ define('_DATAFILE','Daten File');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/de_DE/module-session/download.php b/mayor-orig/mayor-base/www/lang/de_DE/module-session/download.php
new file mode 100644
index 00000000..8c669bd2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/de_DE/module-session/download.php
@@ -0,0 +1,7 @@
+<?php
+ define('_FILE','File');
+ define('_SIZE','Größe');
+ define('_MIMETYPE','MIME Typ');
+ define('_DOWNLOAD','Download');
+ define('_DESCRIPTION','Wenn der Download automatisch nicht startet, klicken Sie auf den Link!');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/de_DE/module-session/groupInfo.php b/mayor-orig/mayor-base/www/lang/de_DE/module-session/groupInfo.php
new file mode 100644
index 00000000..87f8eed9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/de_DE/module-session/groupInfo.php
@@ -0,0 +1,4 @@
+<?php
+ define('_OK','OK');
+ define('_NEW','Neu');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/de_DE/module-session/search/searchAccount.php b/mayor-orig/mayor-base/www/lang/de_DE/module-session/search/searchAccount.php
new file mode 100644
index 00000000..d9b4b4ec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/de_DE/module-session/search/searchAccount.php
@@ -0,0 +1,19 @@
+<?php
+ define('_SEARCH','Benutzersuche');
+ define('_OK','OK');
+ define('_NOTFOUND','Kein Ergebnis');
+ define('_CATEGORY','Kategorie');
+ define('_ACTION','Änderung');
+ define('_DELETE','Löschen');
+ define('_CHANGE_PASSWORD','Passwortänderung');
+ define('_ARE_YOU_SURE','Sind Sie sicher dass Sie löschen wollen?');
+ define('_NAME','Name');
+ define('_CLASS','Klasse');
+ define('_EMAIL','Email');
+ define('_PASSWORD','Passwort');
+ define('_RETYPEPASSWORD','Bestätigung');
+ define('_DEFAULTGROUP','Kategorie');
+ define('_DATAFILE','Daten File');
+ define('_NEWUSER','Neuer Benutzer');
+ define('_ARE_YOU_SURE','Sind Sie sicher dass Sie löschen wollen?');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/de_DE/module-session/search/searchGroup.php b/mayor-orig/mayor-base/www/lang/de_DE/module-session/search/searchGroup.php
new file mode 100644
index 00000000..ec220985
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/de_DE/module-session/search/searchGroup.php
@@ -0,0 +1,19 @@
+<?php
+ define('_SEARCH','Gruppensuche');
+ define('_OK','OK');
+ define('_NOTFOUND','Kein Ergebnis');
+ define('_CATEGORY','Kategorie');
+ define('_ACTION','Änderung');
+ define('_DELETE','Löschen');
+ define('_CHANGE_PASSWORD','Passwortänderung');
+ define('_ARE_YOU_SURE','Sind Sie sicher dass Sie löschen wollen?');
+ define('_NAME','Name');
+ define('_CLASS','Klasse');
+ define('_EMAIL','Email');
+ define('_PASSWORD','Passwort');
+ define('_RETYPEPASSWORD','Bestätigung');
+ define('_DEFAULTGROUP','Kategorie');
+ define('_DATAFILE','Daten File');
+ define('_NEWUSER','Neuer Benutzer');
+ define('_ARE_YOU_SURE','Sind Sie sicher dass Sie löschen wollen?');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/de_DE/share/session/attrs.php b/mayor-orig/mayor-base/www/lang/de_DE/share/session/attrs.php
new file mode 100644
index 00000000..a5a445f0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/de_DE/share/session/attrs.php
@@ -0,0 +1,17 @@
+<?php
+ define('_ATTR_USERACCOUNT','Loginname');
+ define('_ATTR_USERCN','Name');
+ define('_ATTR_USERPASSWORD','Passwort');
+ define('_ATTR_STUDYID','');
+ define('_ATTR_MAIL','E-mailadresse');
+ define('_ATTR_TELEPHONENUMBER','Telefonnummer');
+ define('_ATTR_SHADOWLASTCHANGE','Letzte Passwortänderung');
+ define('_ATTR_SHADOWMIN','Früheste Passwortänderung');
+ define('_ATTR_SHADOWMAX','Passwortgültigkeits dauer');
+ define('_ATTR_SHADOWWARNING','Aufruf für Passwortänderung');
+ define('_ATTR_SHADOWINACTIVE','Benutzer');
+ define('_ATTR_SHADOWEXPIRE','Absperrungsdatum');
+ define('_ATTR_GROUPCN','Gruppenkenzeichen');
+ define('_ATTR_GROUPDESC','Gruppenname');
+ define('_ATTR_MEMBER','Mitglied');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/en_US/backend/ldap/attrs.php b/mayor-orig/mayor-base/www/lang/en_US/backend/ldap/attrs.php
new file mode 100644
index 00000000..438014b6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/en_US/backend/ldap/attrs.php
@@ -0,0 +1,58 @@
+<?php
+ define('_LDAP_USERACCOUNT','User Account');
+ define('_LDAP_USERCN','Name');
+ define('_YEAR','year');
+ define('_MONTH','month');
+ define('_DAY','day');
+ define('_FIU','male');
+ define('_LANY','female');
+ define('_LDAPDN','');
+ define('_LDAPUID','');
+ define('_LDAPUIDNUMBER','');
+ define('_LDAPGIDNUMBER','');
+ define('_LDAPGECOS','');
+ define('_LDAPCN','');
+ define('_LDAPSTUDYID','');
+ define('_LDAPSN','');
+ define('_LDAPGIVENNAME','');
+ define('_LDAPMAIL','');
+ define('_LDAPHOMEPAGE','');
+ define('_LDAPURL','');
+ define('_LDAPTELEPHONENUMBER','');
+ define('_LDAPMOBILE','');
+ define('_LDAPYEAR','');
+ define('_LDAPCLASS','');
+ define('_LDAPL','');
+ define('_LDAPSTREET','');
+ define('_LDAPPOSTALADDRESS','');
+ define('_LDAPPOSTALCODE','');
+ define('_LDAPHOMEDIRECTORY','');
+ define('_LDAPDESCRIPTION','');
+ define('_LDAPROOMNUMBER','');
+ define('_LDAPREGISTERTIMESTAMP','');
+ define('_LDAPPRIMARYSCHOOLOMCODE','');
+ define('_LDAPCLASSTIMESTAMP','');
+ define('_LDAPSTUDENTCARDNUMBER','');
+ define('_LDAPSTUDENTCARDTIMESTAMP','');
+ define('_LDAPTAXID','');
+ define('_LDAPBIRTHTIMESTAMP','');
+ define('_LDAPBIRTHLOCALITY','');
+ define('_LDAPREGISTERNUMBER','');
+ define('_LDAPDIARYNUMBER','');
+ define('_LDAPSEX','');
+ define('_LDAPGUARDIANCN','');
+ define('_LDAPMOTHERCN','');
+ define('_LDAPLOCALITYTIMESTAMP','');
+ define('_LDAPTAJNUMBER','');
+ define('_LDAPMEMBER','');
+ define('_LDAPSTUDENTMEMBER','');
+ define('_LDAPEXEMPTMEMBER','');
+ define('_LDAPEXAMERMEMBER','');
+ define('_LDAPMEMBERUID','');
+ define('_LDAPSHADOWLASTCHANGE','LDAP shadow last change');
+ define('_LDAPSHADOWEXPIRE','LDAP shadow expire');
+ define('_LDAPSHADOWWARNING','LDAP shadow warning');
+ define('_LDAPSHADOWMIN','LDAP shadow minimum time');
+ define('_LDAPSHADOWMAX','LDAP shadow maximum time');
+ define('_LDAPSHADOWINACTICE','LDAP shadow inactive');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/en_US/base/base.php b/mayor-orig/mayor-base/www/lang/en_US/base/base.php
new file mode 100644
index 00000000..84af512a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/en_US/base/base.php
@@ -0,0 +1,18 @@
+<?php
+ define('_MAIN_TITLE','MaYoR ');
+ define('_MAIN_FOOTER','MaYoR © 2002-2015 [en]');
+ define('_TANAR','teacher');
+ define('_DIAK','student');
+ define('_TITKARSAG','administration');
+ define('_GAZDASAGI','financial office');
+ define('_EGYEB','other');
+ define('_ERROR','Error');
+ define('_INFORMATION','Information');
+ define('_CONTROL_FLAG_REQUIRED','Logging in is required.');
+ define('_CONTROL_FLAG_OPTIONAL','Logging in is optional.');
+ define('_PRIVATE_PASSWORD','Password');
+ define('_PARENT_PASSWORD','Parents\' Password');
+ define('_PUBLIC_PASSWORD','Public Password');
+ define('_MAYOR_DESC','');
+ define('_HELP','Help');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/en_US/date/names.php b/mayor-orig/mayor-base/www/lang/en_US/date/names.php
new file mode 100644
index 00000000..ab668efd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/en_US/date/names.php
@@ -0,0 +1,21 @@
+<?php
+ define('_MONDAY','Monday');
+ define('_TUESDAY','Tuesday');
+ define('_WEDNESDAY','Wednesday');
+ define('_THURSDAY','Thursday');
+ define('_FRIDAY','Friday');
+ define('_SATURDAY','Saturday');
+ define('_SUNDAY','Sunday');
+ define('_JANUARY','January');
+ define('_FEBRUARY','February');
+ define('_MARCH','March');
+ define('_APRIL','April');
+ define('_MAY','May');
+ define('_JUNE','June');
+ define('_JULY','July');
+ define('_AUGUSTUS','August');
+ define('_SEPTEMBER','September');
+ define('_OCTOBER','October');
+ define('_NOVEMBER','November');
+ define('_DECEMBER','December');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/en_US/module-auth/login.php b/mayor-orig/mayor-base/www/lang/en_US/module-auth/login.php
new file mode 100755
index 00000000..f161da3f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/en_US/module-auth/login.php
@@ -0,0 +1,5 @@
+<?php
+ define('_GREETING','MaYoR Login');
+ define('_LOGIN','Login');
+ define('_USERNAME','Username');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/en_US/module-password/changeMyPassword.php b/mayor-orig/mayor-base/www/lang/en_US/module-password/changeMyPassword.php
new file mode 100644
index 00000000..002770ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/en_US/module-password/changeMyPassword.php
@@ -0,0 +1,7 @@
+<?php
+ define('_CHANGE_PASSWORD','Change own password');
+ define('_USERNAME','Username');
+ define('_NEW_PASSWORD','New password');
+ define('_VERIFICATION','New password again');
+ define('_OK','OK');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/en_US/module-password/changePassword.php b/mayor-orig/mayor-base/www/lang/en_US/module-password/changePassword.php
new file mode 100644
index 00000000..efd3647f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/en_US/module-password/changePassword.php
@@ -0,0 +1,7 @@
+<?php
+ define('_CHANGE_PASSWORD','Change password');
+ define('_USERNAME','Username');
+ define('_NEW_PASSWORD','New password');
+ define('_VERIFICATION','New password again');
+ define('_OK','OK');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/en_US/module-session/accountInfo.php b/mayor-orig/mayor-base/www/lang/en_US/module-session/accountInfo.php
new file mode 100644
index 00000000..18a3b218
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/en_US/module-session/accountInfo.php
@@ -0,0 +1,3 @@
+<?php
+ define('_OK','OK');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/en_US/module-session/createAccount.php b/mayor-orig/mayor-base/www/lang/en_US/module-session/createAccount.php
new file mode 100644
index 00000000..c3cd100c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/en_US/module-session/createAccount.php
@@ -0,0 +1,7 @@
+<?php
+ define('_OK','OK');
+ define('_CREATE_ACCOUNT','New User');
+ define('_VERIFICATION','Password, again');
+ define('_ACCOUNT_CATEGORY','Category');
+ define('_DATAFILE','Data file');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/en_US/module-session/createGroup.php b/mayor-orig/mayor-base/www/lang/en_US/module-session/createGroup.php
new file mode 100644
index 00000000..534f0262
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/en_US/module-session/createGroup.php
@@ -0,0 +1,6 @@
+<?php
+ define('_OK','OK');
+ define('_CREATE_GROUP','Create Group');
+ define('_GROUP_CATEGORY','Create Category');
+ define('_DATAFILE','Data file');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/en_US/module-session/download.php b/mayor-orig/mayor-base/www/lang/en_US/module-session/download.php
new file mode 100644
index 00000000..ee2b8d2a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/en_US/module-session/download.php
@@ -0,0 +1,7 @@
+<?php
+ define('_FILE','File');
+ define('_SIZE','Size');
+ define('_MIMETYPE','MIME Type');
+ define('_DOWNLOAD','Download');
+ define('_DESCRIPTION','If the download does\\');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/en_US/module-session/groupInfo.php b/mayor-orig/mayor-base/www/lang/en_US/module-session/groupInfo.php
new file mode 100644
index 00000000..f11fe9c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/en_US/module-session/groupInfo.php
@@ -0,0 +1,4 @@
+<?php
+ define('_OK','OK');
+ define('_NEW','New');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/en_US/module-session/search/searchAccount.php b/mayor-orig/mayor-base/www/lang/en_US/module-session/search/searchAccount.php
new file mode 100644
index 00000000..d2c999ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/en_US/module-session/search/searchAccount.php
@@ -0,0 +1,19 @@
+<?php
+ define('_SEARCH','User Search');
+ define('_OK','OK');
+ define('_NOTFOUND','No results');
+ define('_CATEGORY','Category');
+ define('_ACTION','Change');
+ define('_DELETE','Delete');
+ define('_CHANGE_PASSWORD','Change password');
+ define('_ARE_YOU_SURE','Are you sure?');
+ define('_NAME','Name');
+ define('_CLASS','Class');
+ define('_EMAIL','E-Mail');
+ define('_PASSWORD','Password');
+ define('_RETYPEPASSWORD','Password, again');
+ define('_DEFAULTGROUP','Group');
+ define('_DATAFILE','Data file');
+ define('_NEWUSER','New User');
+ define('_ARE_YOU_SURE','Are you sure?');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/en_US/module-session/search/searchGroup.php b/mayor-orig/mayor-base/www/lang/en_US/module-session/search/searchGroup.php
new file mode 100644
index 00000000..4335ed9b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/en_US/module-session/search/searchGroup.php
@@ -0,0 +1,19 @@
+<?php
+ define('_SEARCH','Group Search');
+ define('_OK','OK');
+ define('_NOTFOUND','No results');
+ define('_CATEGORY','Category');
+ define('_ACTION','Change');
+ define('_DELETE','Delete');
+ define('_CHANGE_PASSWORD','Change password');
+ define('_ARE_YOU_SURE','Are you sure?');
+ define('_NAME','Name');
+ define('_CLASS','Class');
+ define('_EMAIL','E-Mail');
+ define('_PASSWORD','Password');
+ define('_RETYPEPASSWORD','Password, again');
+ define('_DEFAULTGROUP','Group');
+ define('_DATAFILE','Data file');
+ define('_NEWUSER','New User');
+ define('_ARE_YOU_SURE','Are you sure?');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/en_US/share/session/attrs.php b/mayor-orig/mayor-base/www/lang/en_US/share/session/attrs.php
new file mode 100644
index 00000000..9c181f95
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/en_US/share/session/attrs.php
@@ -0,0 +1,17 @@
+<?php
+ define('_ATTR_USERACCOUNT','User Account');
+ define('_ATTR_USERCN','Name');
+ define('_ATTR_USERPASSWORD','Password');
+ define('_ATTR_STUDYID','Study ID');
+ define('_ATTR_MAIL','E-Mail');
+ define('_ATTR_TELEPHONENUMBER','Tel. number');
+ define('_ATTR_SHADOWLASTCHANGE','Passw. last change');
+ define('_ATTR_SHADOWMIN','');
+ define('_ATTR_SHADOWMAX','Passw. validity');
+ define('_ATTR_SHADOWWARNING','');
+ define('_ATTR_SHADOWINACTIVE','Account inactivation');
+ define('_ATTR_SHADOWEXPIRE','Date of inactivation');
+ define('_ATTR_GROUPCN','Group ID');
+ define('_ATTR_GROUPDESC','Group Name');
+ define('_ATTR_MEMBER','Member');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/backend/ads/attrs.php b/mayor-orig/mayor-base/www/lang/hu_HU/backend/ads/attrs.php
new file mode 100644
index 00000000..215e1420
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/backend/ads/attrs.php
@@ -0,0 +1,82 @@
+<?php
+/*
+ Module: base/ads
+*/
+
+define('_ADSDN', 'Dn');
+define('_ADSUID', 'azonosító');
+define('_ADSUIDNUMBER', 'felhasználó azonosító szám');
+define('_ADSGIDNUMBER', 'csoport azonosító szám');
+define('_ADSCN', 'teljes név');
+define('_ADSNAME', 'név');
+define('_ADSSN', 'vezetéknév');
+define('_ADSGIVENNAME', 'keresztnév');
+define('_ADSUNIXHOMEDIRECTORY', 'Unix home könyvtár');
+define('_ADSDESCRIPTION', 'leírás');
+define('_ADSSERIALNUMBER', 'oktatási azonosító');
+
+define('_ADSBADPWDCOUNT','hibás jelszó szám');
+define('_ADSBADPASSWORDTIME','hibás jelszó időbélyeg');
+define('_ADSLASTLOGON','utolsó belépés időbélyeg');
+define('_ADSPWDLASTSET','jelszó módosítás időbélyeg');
+define('_ADSACCOUNTEXPIRES','account lejár');
+define('_ADSSAMACCOUNTNAME','sAM azonosító');
+define('_USERACCOUNTCONTROL','account control');
+define('_ADSUSERPRINCIPALNAME','principal név');
+define('_ADSOBJECTCATEGORY','objektum kategória');
+define('_ADSLOGINSHELL','bejelentkezési shell');
+
+define('_ADSSHADOWLASTCHANGE','shadow utolsó módosítás');
+define('_ADSSHADOWEXPIRE','shadow lejár');
+define('_ADSSHADOWWARNING','shadow figyelmeztetés');
+define('_ADSSHADOWMIN','shadow minimális idő');
+define('_ADSSHADOWMAX','shadow maximáis idő');
+define('_ADSSHADOWINACTICE','shadow inaktív');
+
+define('_ADSMEMBER', 'tag');
+define('_ADSMEMBERUID', 'tag azonosító');
+
+// A kakukktojások
+/*
+define('_ADS_USERACCOUNT','Azonosító');
+define('_ADS_USERCN','Név');
+define('_YEAR','év');
+define('_MONTH','hó');
+define('_DAY','nap');
+define('_FIU','fiú');
+define('_LANY','lány');
+// És a rendes atttribútumok
+define('_ADSGECOS', 'Gecos');
+define('_ADSSTUDYID', 'oktatási azonosító');
+define('_ADSMAIL', 'email');
+define('_ADSHOMEPAGE', 'honlap');
+define('_ADSURL', 'url');
+define('_ADSTELEPHONENUMBER', 'telefonszám');
+define('_ADSMOBILE', 'mobil szám');
+define('_ADSYEAR', 'évfolyam');
+define('_ADSCLASS', 'osztály');
+define('_ADSL', 'város');
+define('_ADSSTREET', 'utca');
+define('_ADSPOSTALADDRESS', 'posta cím');
+define('_ADSPOSTALCODE', 'irányítószám');
+define('_ADSROOMNUMBER', 'teremszám');
+define('_ADSREGISTERTIMESTAMP', 'beiratkozás dátuma');
+define('_ADSPRIMARYSCHOOLOMCODE', 'OM kód');
+define('_ADSCLASSTIMESTAMP', 'osztályba kerülés dátuma');
+define('_ADSSTUDENTCARDNUMBER', 'diákigazolvány szám');
+define('_ADSSTUDENTCARDTIMESTAMP', 'diákigazolvány dátuma');
+define('_ADSTAXID', 'adószám');
+define('_ADSBIRTHTIMESTAMP', 'születési dátum');
+define('_ADSBIRTHLOCALITY', 'születési hely');
+define('_ADSDIARYNUMBER', 'napló sorszám');
+define('_ADSSEX', 'nem');
+define('_ADSGUARDIANCN', 'gondviselő neve');
+define('_ADSMOTHERCN', 'anyja neve');
+define('_ADSLOCALITYTIMESTAMP', 'lakcím dátuma');
+define('_ADSTAJNUMBER', 'TAJ szám');
+define('_ADSSTUDENTMEMBER', 'tanuló tag');
+define('_ADSEXEMPTMEMBER', 'felmentett tag');
+define('_ADSEXAMERMEMBER', 'vizsgázó tag');
+
+*/
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/backend/ldap/attrs.php b/mayor-orig/mayor-base/www/lang/hu_HU/backend/ldap/attrs.php
new file mode 100644
index 00000000..1c842fff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/backend/ldap/attrs.php
@@ -0,0 +1,66 @@
+<?php
+/*
+ Module: base/ldap
+*/
+
+// A kakukktojások
+define('_LDAP_USERACCOUNT','Azonosító');
+define('_LDAP_USERCN','Név');
+define('_YEAR','év');
+define('_MONTH','hó');
+define('_DAY','nap');
+define('_FIU','fiú');
+define('_LANY','lány');
+// És a rendes atttribútumok
+define('_LDAPDN', 'Dn');
+define('_LDAPUID', 'azonosító');
+define('_LDAPUIDNUMBER', 'felhasználó azonosító szám');
+define('_LDAPGIDNUMBER', 'csoport azonosító szám');
+define('_LDAPGECOS', 'Gecos');
+define('_LDAPCN', 'teljes név');
+define('_LDAPSTUDYID', 'oktatási azonosító');
+define('_LDAPSN', 'vezetéknév');
+define('_LDAPGIVENNAME', 'keresztnév');
+define('_LDAPMAIL', 'email');
+define('_LDAPHOMEPAGE', 'honlap');
+define('_LDAPURL', 'url');
+define('_LDAPTELEPHONENUMBER', 'telefonszám');
+define('_LDAPMOBILE', 'mobil szám');
+define('_LDAPYEAR', 'évfolyam');
+define('_LDAPCLASS', 'osztály');
+define('_LDAPL', 'város');
+define('_LDAPSTREET', 'utca');
+define('_LDAPPOSTALADDRESS', 'posta cím');
+define('_LDAPPOSTALCODE', 'irányítószám');
+define('_LDAPHOMEDIRECTORY', 'home könyvtár');
+define('_LDAPDESCRIPTION', 'leírás');
+define('_LDAPROOMNUMBER', 'teremszám');
+define('_LDAPREGISTERTIMESTAMP', 'beiratkozás dátuma');
+define('_LDAPPRIMARYSCHOOLOMCODE', 'OM kód');
+define('_LDAPCLASSTIMESTAMP', 'osztályba kerülés dátuma');
+define('_LDAPSTUDENTCARDNUMBER', 'diákigazolvány szám');
+define('_LDAPSTUDENTCARDTIMESTAMP', 'diákigazolvány dátuma');
+define('_LDAPTAXID', 'adószám');
+define('_LDAPBIRTHTIMESTAMP', 'születési dátum');
+define('_LDAPBIRTHLOCALITY', 'születési hely');
+define('_LDAPREGISTERNUMBER', 'regisztrációs szám');
+define('_LDAPDIARYNUMBER', 'napló sorszám');
+define('_LDAPSEX', 'nem');
+define('_LDAPGUARDIANCN', 'gondviselő neve');
+define('_LDAPMOTHERCN', 'anyja neve');
+define('_LDAPLOCALITYTIMESTAMP', 'lakcím dátuma');
+define('_LDAPTAJNUMBER', 'TAJ szám');
+define('_LDAPMEMBER', 'tag');
+define('_LDAPSTUDENTMEMBER', 'tanuló tag');
+define('_LDAPEXEMPTMEMBER', 'felmentett tag');
+define('_LDAPEXAMERMEMBER', 'vizsgázó tag');
+define('_LDAPMEMBERUID', 'tag azonosító');
+
+define('_LDAPSHADOWLASTCHANGE','shadow utolsó módosítás');
+define('_LDAPSHADOWEXPIRE','shadow lejár');
+define('_LDAPSHADOWWARNING','shadow figyelmeztetés');
+define('_LDAPSHADOWMIN','shadow minimális idő');
+define('_LDAPSHADOWMAX','shadow maximáis idő');
+define('_LDAPSHADOWINACTICE','shadow inaktív');
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/backend/ldapng/attrs.php b/mayor-orig/mayor-base/www/lang/hu_HU/backend/ldapng/attrs.php
new file mode 100644
index 00000000..980f84ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/backend/ldapng/attrs.php
@@ -0,0 +1,63 @@
+<?php
+/*
+ Module: base/ldap
+*/
+
+// A kakukktojások
+define('_LDAPDN', 'Dn');
+define('_LDAPCN', 'teljes név');
+define('_LDAPSN', 'vezetéknév');
+define('_LDAPGIVENNAME', 'keresztnév');
+define('_LDAPEMPLOYEENUMBER','munkavállalói azonosító szám');
+define('_LDAPUID', 'azonosító');
+define('_LDAPUIDNUMBER', 'felhasználó azonosító szám');
+define('_LDAPGIDNUMBER', 'csoport azonosító szám');
+define('_LDAPUNIXHOMEDIRECTORY', 'home könyvtár');
+define('_LDAPLOGINSHELL', 'login shell');
+
+define('_LDAPSHADOWLASTCHANGE','shadow utolsó módosítás');
+define('_LDAPSHADOWEXPIRE','shadow lejár');
+define('_LDAPSHADOWWARNING','shadow figyelmeztetés');
+define('_LDAPSHADOWMIN','shadow minimális idő');
+define('_LDAPSHADOWMAX','shadow maximáis idő');
+define('_LDAPSHADOWINACTICE','shadow inaktív');
+
+// Ezek vannak egyáltalán???
+define('_LDAPGECOS', 'Gecos');
+define('_LDAPSTUDYID', 'oktatási azonosító');
+define('_LDAPMAIL', 'email');
+define('_LDAPHOMEPAGE', 'honlap');
+define('_LDAPURL', 'url');
+define('_LDAPTELEPHONENUMBER', 'telefonszám');
+define('_LDAPMOBILE', 'mobil szám');
+define('_LDAPYEAR', 'évfolyam');
+define('_LDAPCLASS', 'osztály');
+define('_LDAPL', 'város');
+define('_LDAPSTREET', 'utca');
+define('_LDAPPOSTALADDRESS', 'posta cím');
+define('_LDAPPOSTALCODE', 'irányítószám');
+define('_LDAPDESCRIPTION', 'leírás');
+define('_LDAPROOMNUMBER', 'teremszám');
+define('_LDAPREGISTERTIMESTAMP', 'beiratkozás dátuma');
+define('_LDAPPRIMARYSCHOOLOMCODE', 'OM kód');
+define('_LDAPCLASSTIMESTAMP', 'osztályba kerülés dátuma');
+define('_LDAPSTUDENTCARDNUMBER', 'diákigazolvány szám');
+define('_LDAPSTUDENTCARDTIMESTAMP', 'diákigazolvány dátuma');
+define('_LDAPTAXID', 'adószám');
+define('_LDAPBIRTHTIMESTAMP', 'születési dátum');
+define('_LDAPBIRTHLOCALITY', 'születési hely');
+define('_LDAPREGISTERNUMBER', 'regisztrációs szám');
+define('_LDAPDIARYNUMBER', 'napló sorszám');
+define('_LDAPSEX', 'nem');
+define('_LDAPGUARDIANCN', 'gondviselő neve');
+define('_LDAPMOTHERCN', 'anyja neve');
+define('_LDAPLOCALITYTIMESTAMP', 'lakcím dátuma');
+define('_LDAPTAJNUMBER', 'TAJ szám');
+define('_LDAPMEMBER', 'tag');
+define('_LDAPSTUDENTMEMBER', 'tanuló tag');
+define('_LDAPEXEMPTMEMBER', 'felmentett tag');
+define('_LDAPEXAMERMEMBER', 'vizsgázó tag');
+define('_LDAPMEMBERUID', 'tag azonosító');
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/backend/mysql/attrs.php b/mayor-orig/mayor-base/www/lang/hu_HU/backend/mysql/attrs.php
new file mode 100644
index 00000000..2c07a983
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/backend/mysql/attrs.php
@@ -0,0 +1,22 @@
+<?php
+
+ define('_MYSQLUID', 'felhasználói azonosító szám');
+ define('_MYSQLPOLICY', 'hozzáférési szint');
+ define('_MYSQLCN', 'a felhasználó neve (cn)');
+ define('_MYSQLSTUDYID', 'oktatási azonosító');
+ define('_MYSQLUIDNUMBER', 'uid');
+ define('_MYSQLMAIL', 'e-mail cím');
+ define('_MYSQLTELEPHONENUMBER', 'telefonszám');
+ define('_MYSQLUSERPASSWORD', 'jelszó');
+ define('_MYSQLSHADOWLASTCHANGE', 'shadow utolsó módosítás');
+ define('_MYSQLSHADOWEXPIRE', 'shadow lejár');
+ define('_MYSQLSHADOWWARNING', 'shadow figyelmeztetés');
+ define('_MYSQLSHADOWMIN', 'shadow minimális idő');
+ define('_MYSQLSHADOWMAX', 'shadow maximális idő');
+ define('_MYSQLSHADOWINACTICE', 'shadow inaktív');
+
+ define('_MYSQLGID', 'csoport azonosító szám');
+ define('_MYSQLGROUPDESC', 'csoportnév');
+ define('_MYSQLGROUPCN', 'csoport azonosító');
+ define('_MYSQLMEMBER', 'csoporttag');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/base/base.php b/mayor-orig/mayor-base/www/lang/hu_HU/base/base.php
new file mode 100644
index 00000000..7396952b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/base/base.php
@@ -0,0 +1,51 @@
+<?php
+/*
+
+ Module: base
+ File: base.php
+ Nyelv: hu_HU (magyar)
+
+*/
+
+define('_MAIN_TITLE','MaYoR');
+define('_MAIN_FOOTER','<a href="http://www.mayor.hu./">MaYoR</a> - 2002-2019 &copy; <a href="LICENSE.txt">GPL</a>');
+
+define('_TANAR','tanár');
+define('_DIAK','diák');
+define('_TITKARSAG','titkárság');
+define('_GAZDASAGI','gazdasági');
+define('_EGYEB','egyéb');
+
+define('_ERROR','Hiba');
+define('_INFORMATION','Információ');
+
+define('_CONTROL_FLAG_REQUIRED','A bejelentkezés kötelező.');
+define('_CONTROL_FLAG_OPTIONAL','A bejelentkezés nem kötelező.');
+
+define('_PRIVATE_PASSWORD','Jelszó');
+define('_PARENT_PASSWORD','Szülői jelszó');
+define('_PUBLIC_PASSWORD','Külső jelszó');
+define('_MAYOR_DESC','MaYoR');
+
+define('_HELP','Súgó');
+define('_LOGOUT','Kilépés');
+define('_PASSWORD','Jelszó');
+define('_LOGIN_ALL_AUTH_LEVEL','Minden authentikációs szinten');
+define('_PRIVATE_LOGIN','Privát bejelentkezés');
+define('_PARENT_LOGIN','Szülői bejelentkezés');
+define('_PUBLIC_LOGIN','Külsős bejelentkezés');
+define('_LOGIN','Bejelentkezés');
+define('_SEARCH','Keresés');
+define('_SWITCH_TO_CLASSIC_SKIN','Alapértelmezett skinre váltás');
+
+define('_ICON_SEARCH','Keresés...');
+define('_ICON_SWAPNAV','Navigációs menüsáv változtatás');
+define('_ICON_VAKBARAT','Vakbarát nézet (ctrl-shift-V)');
+define('_ICON_OLDSCHOOL','Oldschool/Classic skin váltás');
+
+define('_HOME','Kezdőlap');
+
+define('_FACEBOOK_CONNECT','facebook');
+
+define('_CLOSE','bezár');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/date/names.php b/mayor-orig/mayor-base/www/lang/hu_HU/date/names.php
new file mode 100644
index 00000000..093d70de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/date/names.php
@@ -0,0 +1,29 @@
+<?php
+/*
+ Module: naplo
+ File: names.php
+ Nyelv: hu_HU (magyar)
+*/
+
+ define('_MONDAY','Hétfő');
+ define('_TUESDAY','Kedd');
+ define('_WEDNESDAY','Szerda');
+ define('_THURSDAY','Csütörtök');
+ define('_FRIDAY','Péntek');
+ define('_SATURDAY','Szombat');
+ define('_SUNDAY','Vasárnap');
+
+ define('_JANUARY','Január');
+ define('_FEBRUARY','Február');
+ define('_MARCH','Március');
+ define('_APRIL','Április');
+ define('_MAY','Május');
+ define('_JUNE','Június');
+ define('_JULY','Július');
+ define('_AUGUSTUS','Augusztus');
+ define('_SEPTEMBER','Szeptember');
+ define('_OCTOBER','Október');
+ define('_NOVEMBER','November');
+ define('_DECEMBER','December');
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/module-auth/forgotten.php b/mayor-orig/mayor-base/www/lang/hu_HU/module-auth/forgotten.php
new file mode 100644
index 00000000..26e1d838
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/module-auth/forgotten.php
@@ -0,0 +1,24 @@
+<?php
+
+ define('_GREETING','MaYoR jelszóemlékeztető');
+ define('_FORGOT_PASSWORD','Elfelejtetted a jelszavad?');
+ define('_ENTER_USERACCOUNT','Add meg a felhasználói azonosítód:');
+ define('_RESET_PASSWORD','Jelszó visszaállító e-mail kiküldése');
+ define('_FORGOT_PASSWORD_HELP','Az felhasználói azonosító megadása után a rendszer az azonosítóhoz rögzített e-mail címre küldi el a további tudnivalókat.');
+
+ define('_FORGOT_USERACCOUNT','Elfelejtetted a felhasználói azonosítódat?');
+ define('_ENTER_EMAIL','Add meg az e-mail címedet:');
+ define('_FORGOT_USERACCOUNT_HELP','Az email cím megadása után a rendszer - amennyiben a megadott email cím szerepel az adatbázisunkban - elküldi a további tudnivalókat.');
+
+ define('_FORGOT_INFO','A megadott e-mail címre elküldtük a további teendőket.');
+
+ define('_FORGOT_DISABLED','Válassz egy hitelesítési szintet!');
+
+ define('_BACK_TO_LOGIN','Vissza a belépéshez');
+
+ define('_EMAIL','E-mail cím');
+ define('_USERNAME','Felhasználói azonosító');
+
+ define('_KIVALASZT','OK');
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/module-auth/login.php b/mayor-orig/mayor-base/www/lang/hu_HU/module-auth/login.php
new file mode 100644
index 00000000..69b92895
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/module-auth/login.php
@@ -0,0 +1,19 @@
+<?php
+/* --------------------------- /
+
+ Module: base/login
+ File: login.php
+ Nyelv: hu_HU (magyar)
+
+/ --------------------------- */
+
+define('_GREETING','MaYoR bejelentkezés');
+define('_LOGIN','Belépés');
+define('_USERNAME','Felhasználói név');
+define('_PASSWORD','Jelszó');
+define('_CAPSLOCKWARNING','Caps Lock bekapcsolva!');
+define('_FORGOTTEN','Jelszóemlékeztető');
+
+define('_BELEPVE', 'Belépett');
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/module-password/changeMyPassword.php b/mayor-orig/mayor-base/www/lang/hu_HU/module-password/changeMyPassword.php
new file mode 100644
index 00000000..77d7e77d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/module-password/changeMyPassword.php
@@ -0,0 +1,16 @@
+<?php
+/* --------------------------- /
+
+ Module: base/login
+ File: login.php
+ Nyelv: hu_HU (magyar)
+
+/ --------------------------- */
+
+define('_CHANGE_PASSWORD','Saját jelszó megváltoztatása');
+define('_USERNAME','Felhasználói név');
+define('_NEW_PASSWORD','Új jelszó');
+define('_VERIFICATION','Megerősítés');
+define('_OK','OK');
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/module-password/changePassword.php b/mayor-orig/mayor-base/www/lang/hu_HU/module-password/changePassword.php
new file mode 100644
index 00000000..9c56a329
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/module-password/changePassword.php
@@ -0,0 +1,16 @@
+<?php
+/* --------------------------- /
+
+ Module: base/login
+ File: login.php
+ Nyelv: hu_HU (magyar)
+
+/ --------------------------- */
+
+define('_CHANGE_PASSWORD','Jelszóváltoztatás');
+define('_USERNAME','Felhasználói név');
+define('_NEW_PASSWORD','Új jelszó');
+define('_VERIFICATION','Megerősítés');
+define('_OK','OK');
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/module-password/resetPassword.php b/mayor-orig/mayor-base/www/lang/hu_HU/module-password/resetPassword.php
new file mode 100644
index 00000000..73246c70
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/module-password/resetPassword.php
@@ -0,0 +1,17 @@
+<?php
+/* --------------------------- /
+
+ Module: base/password
+ File: resetPassword.php
+ Nyelv: hu_HU (magyar)
+
+/ --------------------------- */
+
+define('_RESET_PASSWORD','Jelszó helyreállítás');
+
+define('_USERNAME','Felhasználói név');
+define('_NEW_PASSWORD','Új jelszó');
+define('_VERIFICATION','Megerősítés');
+define('_OK','OK');
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/module-session/accountInfo.php b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/accountInfo.php
new file mode 100644
index 00000000..4c2fd76b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/accountInfo.php
@@ -0,0 +1,10 @@
+<?php
+/*
+ Module: base/session
+ Nyelv: hu_HU (magyar)
+*/
+
+define('_OK','OK');
+define('_USERDEFAULTSKIN','Alapértelmezett skin a belépés után');
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/module-session/admin/knownNodes.php b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/admin/knownNodes.php
new file mode 100644
index 00000000..72288186
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/admin/knownNodes.php
@@ -0,0 +1,16 @@
+<?php
+
+ define('__PAGETITLE','Ismert végpontok');
+
+ define('_UJ_VEGPONT','Új végpont lekérdezése/felvétele');
+ define('_NODEID','Végpont azonosító');
+ define('_NEV','Név');
+ define('_NODETIPUS','Végpont típus');
+ define('_LEKERDEZES','Lekérdezés');
+ define('_HELYSEG','Helység');
+ define('_SUGO_NODEID','A végpont azonosító nyolcjegyű szám, többnyire 2 jegyű, 00-tól induló sorszám + 6 jegyű OM kód alakú.
+A sorszám teszi lehetővé, hogy egy intézményhez több telepített és regisztrált MaYoR rendszer is tartozhasson - például tesztelés vagy backup célokra.
+
+Például: 00035242, ahol 00 az első sorszám, 035242 pedig az intézmény OM kódja. ');
+ define('_BIZTOS_TOROL_E','Biztos töröljük az ismert végpontok listájából?');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/module-session/admin/registration.php b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/admin/registration.php
new file mode 100644
index 00000000..d0d7f182
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/admin/registration.php
@@ -0,0 +1,38 @@
+<?php
+
+ define('__PAGETITLE','Regisztráció');
+ define('_REGISZTRACIO','Regisztráció');
+ define('_MODOSITAS','Adatok módosítása');
+
+ define('_OMKOD','OM kód');
+ define('_CIMHELYSEG','Helység');
+ define('_ROVIDNEV','Rövid név');
+ define('_CIMIRSZ','Irányítószám');
+ define('_CIMKOZTERULETNEV','Közterület név');
+ define('_CIMKOZTERULETJELLEG','Közterület jelleg');
+ define('_CIMHAZSZAM','Házszám');
+ define('_TELEFON','Telefonszám');
+ define('_FAX','Fax');
+ define('_EMAIL','E-mail');
+ define('_HONLAP','Honlap');
+ define('_NAPLOURL','Napló web címe');
+ define('_KAPCSOLATNEV','Kapcsolattartó neve');
+ define('_KAPCSOLATEMAIL','Kapcsolattartó e-mail címe');
+ define('_KAPCSOLATTELEFON','Kapcsolattartó telefonszáma');
+
+ define('_TAMOGATASI_OSSZEG', 'Vállalt támogatás összege');
+ define('_UTEMEZES','Számlák ütemezése');
+ define('_EGYEB_TAMOGATAS','Egyéb támogatás');
+ define('_HIBA_ESETEN','Bármilyen hiba vagy észrevétel esetén: support@mayor.hu');
+
+ define('_INTEZMENY_ADATAI','Az intézmény adatai');
+
+ define('_KORABBAN_REGISZTRALT','Korábban már regisztrált?');
+ define('_REG_HELYREALLITAS_LEIRAS','Amennyiben korábban már regisztrált, megpróbálhatja újraépíteni a kapcsolatot!
+
+A program az eltárolt publikus kulcs (SSL public key) alapján megpróbálja lekérdezni a rendszer csomopont azonosítóját (nodeId)
+a vezérlő csomóponttól (controller node - www.mayor.hu). Ha a lekérdezés sikeres, akkor a program elvégzi a szükséges beállításokat ahhoz, hogy
+a rendszer teljes értékű hálózati végpontként részt vedhessen a kommunikációban.');
+ define('_REGISZTRACIO_HELYREALLITAS','Csomópont azonosító lekérdezése');
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/module-session/createAccount.php b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/createAccount.php
new file mode 100644
index 00000000..78df2d19
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/createAccount.php
@@ -0,0 +1,15 @@
+<?php
+/*
+ Module: base/session
+ Nyelv: hu_HU (magyar)
+*/
+
+define('_OK','OK');
+define('_CREATE_ACCOUNT','Új felhasználó');
+define('_VERIFICATION','Megerősítés');
+define('_ACCOUNT_CATEGORY','Kategória');
+define('_DATAFILE','Adat fájl');
+define('_ACCOUNT_CONTAINER','Konténer');
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/module-session/createGroup.php b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/createGroup.php
new file mode 100644
index 00000000..80317055
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/createGroup.php
@@ -0,0 +1,13 @@
+<?php
+/*
+ Module: base/session
+ Nyelv: hu_HU (magyar)
+*/
+
+define('_OK','OK');
+define('_CREATE_GROUP','Új csoport');
+define('_GROUP_CATEGORY','Kategória');
+define('_GROUP_CONTAINER','Konténer');
+define('_DATAFILE','Adat fájl');
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/module-session/download.php b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/download.php
new file mode 100644
index 00000000..332bbf77
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/download.php
@@ -0,0 +1,9 @@
+<?php
+
+ define('_FILE','Fájl');
+ define('_SIZE','Méret');
+ define('_MIMETYPE','MIME típus');
+ define('_DOWNLOAD','Letöltés');
+ define('_DESCRIPTION','Ha a letöltés nem indul el pár másodpercen belül automatikusan, akkor kattintson a hivatkozásra!');
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/module-session/groupInfo.php b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/groupInfo.php
new file mode 100644
index 00000000..0a406621
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/groupInfo.php
@@ -0,0 +1,10 @@
+<?php
+/*
+ Module: base/session
+ Nyelv: hu_HU (magyar)
+*/
+
+define('_OK','OK');
+define('_NEW','Új');
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/module-session/search/searchAccount.php b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/search/searchAccount.php
new file mode 100644
index 00000000..0a7888ed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/search/searchAccount.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ Module: base/session
+ Nyelv: hu_HU (magyar)
+*/
+
+define('_SEARCH','Felhasználó keresése');
+define('_OK','OK');
+define('_NOTFOUND','Nincs találat');
+define('_CATEGORY','Besorolás');
+define('_ACTION','Módosítás');
+define('_DELETE','Törlés');
+define('_CHANGE_PASSWORD','Jelszóváltoztatás');
+define('_ARE_YOU_SURE','Biztos törölni akarja?');
+
+/* define('_NAME','Név');
+define('_CLASS','Osztály');
+define('_EMAIL','Email');
+define('_PASSWORD','Jelszó');
+define('_RETYPEPASSWORD','Megerősítés');
+define('_DEFAULTGROUP','Besorolás');
+define('_DATAFILE','Adat file');
+define('_NEWUSER','Új felhasználó');
+define('_ARE_YOU_SURE','Biztos törölni akarja?');
+*/
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/module-session/search/searchGroup.php b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/search/searchGroup.php
new file mode 100644
index 00000000..5e10b357
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/search/searchGroup.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ Module: base/session
+ Nyelv: hu_HU (magyar)
+*/
+
+define('_SEARCH','Csoport keresése');
+define('_OK','OK');
+define('_NOTFOUND','Nincs találat');
+define('_CATEGORY','Besorolás');
+define('_ACTION','Módosítás');
+define('_DELETE','Törlés');
+define('_CHANGE_PASSWORD','Jelszóváltoztatás');
+define('_ARE_YOU_SURE','Biztos törölni akarja?');
+
+/* define('_NAME','Név');
+define('_CLASS','Osztály');
+define('_EMAIL','Email');
+define('_PASSWORD','Jelszó');
+define('_RETYPEPASSWORD','Megerősítés');
+define('_DEFAULTGROUP','Besorolás');
+define('_DATAFILE','Adat file');
+define('_NEWUSER','Új felhasználó');
+define('_ARE_YOU_SURE','Biztos törölni akarja?');
+*/
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/module-session/sessionAdmin.php b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/sessionAdmin.php
new file mode 100644
index 00000000..6ce18c09
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/module-session/sessionAdmin.php
@@ -0,0 +1,13 @@
+<?php
+
+ define('_ACCOUNT','Azonosító');
+ define('_CN','Név');
+ define('_POLICI', 'Hozzáférési szint');
+ define('_LOGINDT','Belépés időpontja');
+ define('_ACTIVITY','Utolsó aktivitás');
+ define('_SESSION','sessionID');
+ define('_IP','IP cím');
+ define('_DELETE','Munkamenet törlése');
+ define('_BIZTOS_TOROL','Biztosan törli a munkamenetet?');
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/hu_HU/share/session/attrs.php b/mayor-orig/mayor-base/www/lang/hu_HU/share/session/attrs.php
new file mode 100644
index 00000000..6b66965e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/hu_HU/share/session/attrs.php
@@ -0,0 +1,24 @@
+<?php
+/*
+ Module: base/session
+ Nyelv: hu_HU (magyar)
+*/
+
+define('_ATTR_USERACCOUNT','Felhasználónév (azonosító)');
+define('_ATTR_USERCN','Saját név');
+define('_ATTR_USERPASSWORD','Jelszó');
+define('_ATTR_STUDYID','Oktatási azonosító');
+define('_ATTR_UIDNUMBER','UNIX uidNumber');
+define('_ATTR_MAIL','E-mail cím');
+define('_ATTR_TELEPHONENUMBER','Telefonszám');
+define('_ATTR_SHADOWLASTCHANGE','Utolsó jelszómódosítás');
+define('_ATTR_SHADOWMIN','Legkorábbi jelszómódosítás');
+define('_ATTR_SHADOWMAX','Jelszó érvényességi idő');
+define('_ATTR_SHADOWWARNING','Jelszóváltoztatásra felhívás');
+define('_ATTR_SHADOWINACTIVE','A felhasználói fiók letiltása');
+define('_ATTR_SHADOWEXPIRE','Letiltás dátuma');
+define('_ATTR_GROUPCN','Csoport neve');
+define('_ATTR_GROUPDESC','Csoport leírás');
+define('_ATTR_MEMBER','Tag');
+
+?>
diff --git a/mayor-orig/mayor-base/www/lang/jp_JP/date/names.php b/mayor-orig/mayor-base/www/lang/jp_JP/date/names.php
new file mode 100644
index 00000000..21297df0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/jp_JP/date/names.php
@@ -0,0 +1,21 @@
+<?php
+ define('_MONDAY','月曜日');
+ define('_TUESDAY','火曜日');
+ define('_WEDNESDAY','水曜日');
+ define('_THURSDAY','木曜日');
+ define('_FRIDAY','金曜日');
+ define('_SATURDAY','土曜日');
+ define('_SUNDAY','日曜日');
+ define('_JANUARY','1月');
+ define('_FEBRUARY','2月');
+ define('_MARCH','3月');
+ define('_APRIL','4月');
+ define('_MAY','5月');
+ define('_JUNE','6月');
+ define('_JULY','7月');
+ define('_AUGUSTUS','8月');
+ define('_SEPTEMBER','9月');
+ define('_OCTOBER','10月');
+ define('_NOVEMBER','11月');
+ define('_DECEMBER','12月');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/jp_JP/module-auth/login.php b/mayor-orig/mayor-base/www/lang/jp_JP/module-auth/login.php
new file mode 100644
index 00000000..0d373e63
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/jp_JP/module-auth/login.php
@@ -0,0 +1,5 @@
+<?php
+ define('_GREETING','MaYoR ログイン');
+ define('_LOGIN','エントリ');
+ define('_USERNAME','ユーザー名');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/jp_JP/module-password/changeMyPassword.php b/mayor-orig/mayor-base/www/lang/jp_JP/module-password/changeMyPassword.php
new file mode 100644
index 00000000..d04443ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/jp_JP/module-password/changeMyPassword.php
@@ -0,0 +1,7 @@
+<?php
+ define('_CHANGE_PASSWORD','じぶんの名前');
+ define('_USERNAME','ユーザー名');
+ define('_NEW_PASSWORD','新しいパスワード');
+ define('_VERIFICATION','検証');
+ define('_OK','オッコ');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/jp_JP/module-password/changePassword.php b/mayor-orig/mayor-base/www/lang/jp_JP/module-password/changePassword.php
new file mode 100644
index 00000000..24623580
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/jp_JP/module-password/changePassword.php
@@ -0,0 +1,7 @@
+<?php
+ define('_CHANGE_PASSWORD','パスワードを変更する');
+ define('_USERNAME','ユーザー名');
+ define('_NEW_PASSWORD','新しいパスワード');
+ define('_VERIFICATION','検証');
+ define('_OK','オッコ');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/jp_JP/module-session/accountInfo.php b/mayor-orig/mayor-base/www/lang/jp_JP/module-session/accountInfo.php
new file mode 100644
index 00000000..78277cc2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/jp_JP/module-session/accountInfo.php
@@ -0,0 +1,3 @@
+<?php
+ define('_OK','オッコ');
+?>
diff --git a/mayor-orig/mayor-base/www/lang/jp_JP/share/session/attrs.php b/mayor-orig/mayor-base/www/lang/jp_JP/share/session/attrs.php
new file mode 100644
index 00000000..e21a6218
--- /dev/null
+++ b/mayor-orig/mayor-base/www/lang/jp_JP/share/session/attrs.php
@@ -0,0 +1,17 @@
+<?php
+ define('_ATTR_USERACCOUNT','識別子');
+ define('_ATTR_USERCN','名前');
+ define('_ATTR_USERPASSWORD','パスワード');
+ define('_ATTR_STUDYID','教育識別子');
+ define('_ATTR_MAIL','電子メールアドレス');
+ define('_ATTR_TELEPHONENUMBER','電話番号');
+ define('_ATTR_SHADOWLASTCHANGE','最後にパスワードの修正');
+ define('_ATTR_SHADOWMIN','まずパスワードの修正');
+ define('_ATTR_SHADOWMAX','パスワードの在庫の時間');
+ define('_ATTR_SHADOWWARNING','パスワードに改変');
+ define('_ATTR_SHADOWINACTIVE','ユーザーアカウントの怖い');
+ define('_ATTR_SHADOWEXPIRE','怖いの日付');
+ define('_ATTR_GROUPCN','チームの識別子');
+ define('_ATTR_GROUPDESC','チームのなまえ');
+ define('_ATTR_MEMBER','メンバー');
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/password/changePassword-pre.php b/mayor-orig/mayor-base/www/policy/private/password/changePassword-pre.php
new file mode 100644
index 00000000..08731581
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/password/changePassword-pre.php
@@ -0,0 +1,60 @@
+<?php
+/*
+ Module: base/password
+
+ Ez még teljesen kiforratlan!
+ Csak átmásoltam a public-ból, és elkezdtem átírni...
+*/
+
+ if (_RIGHTS_OK !== true) die();
+
+ $toPolicy = readVariable($_POST['toPolicy'], 'enum', readVariable($_GET['toPolicy'], 'enum', _POLICY, $POLICIES), $POLICIES);
+
+ // Itt csak a private policy jelszavát lehet módosítani
+// $toPolicy = 'private';
+ $userAccount = readVariable($_REQUEST['userAccount'], 'emptystringnull');
+
+ // Ha saját jelszavát szeretné változtatni, akkor átirányítjuk oda
+ if ($userAccount == _USERACCOUNT) {
+ header('Location: '.location('index.php?policy=public&page=password&f=changePassword&toPolicy='.$toPolicy,array('lang','skin','sessionID')));
+ exit;
+ }
+
+ // Jogosultság ellenőrzés
+ if (
+ memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup']) or
+ (memberOf($userAccount,'diák') and memberOf(_USERACCOUNT,'diakadmin'))
+ ) {
+
+ // Az elküldött név+jelszó ellenőrzése
+ if ($action == 'changePassword') {
+
+ if (file_exists('include/backend/'.$AUTH[$toPolicy]['backend'].'/password/changePassword.php')) {
+ require('include/backend/'.$AUTH[$toPolicy]['backend'].'/password/changePassword.php');
+ }
+
+ $newPassword = readVariable($_POST['newPassword'], 'emptystringnull');
+ $verification = readVariable($_POST['verification'], 'emptystringnull');
+
+ if ($verification == '' or $newPassword == '') {
+ $_SESSION['alert'][] = 'message:empty_field';
+ } elseif ($verification != $newPassword) {
+ $_SESSION['alert'][] = 'message:pw_not_match';
+ } else {
+
+ if (changePassword($userAccount, $newPassword, $toPolicy)) {
+ // Módosítsuk a bejelentkezett user eltárolt jelszavát? - hagyjuk inkább... legalább látja, hogy változott valami...
+ // updateSessionPassword($userAccount, $toPolicy, $verification);
+ } else {
+ $_SESSION['alert'][] = 'message:pw_change_failed';
+ }
+
+ }
+
+ } // action
+
+ } else {
+ $_SESSION['alert'][] = 'page:insufficient_access';
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/password/changePassword.php b/mayor-orig/mayor-base/www/policy/private/password/changePassword.php
new file mode 100644
index 00000000..f95661e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/password/changePassword.php
@@ -0,0 +1,9 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $userAccount, $toPolicy;
+
+ putChangePasswordForm($userAccount, $toPolicy, true); // rögzített policy
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/portal/start.php b/mayor-orig/mayor-base/www/policy/private/portal/start.php
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/portal/start.php
diff --git a/mayor-orig/mayor-base/www/policy/private/session/accountInfo-pre.php b/mayor-orig/mayor-base/www/policy/private/session/accountInfo-pre.php
new file mode 100644
index 00000000..9b54adf5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/accountInfo-pre.php
@@ -0,0 +1,75 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ if (_RIGHTS_OK !== true) die();
+
+ $userAccount = readVariable($_GET['userAccount'],'userAccount');
+ $toPolicy = readVariable($_POST['toPolicy'], 'enum',
+ readVariable($_GET['toPolicy'], 'enum', _POLICY, $POLICIES),
+ $POLICIES
+ );
+
+
+ if ($userAccount == '') $userAccount = _USERACCOUNT;
+
+ // Milyen kategóriába sorolható a userAccount, illetve az aktuális user
+ $userCategories = getAccountCategories($userAccount, $toPolicy);
+ if (
+ _POLICY == 'private' &&
+ (
+ memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup']) ||
+ (
+ memberOf(_USERACCOUNT,'diakadmin') &&
+ in_array('diak',$userCategories)
+ )
+ )
+ ) define('_ACCESS_AS', _ADMIN_ACCESS);
+ elseif ($userAccount == _USERACCOUNT) define('_ACCESS_AS', _SELF_ACCESS);
+ else define('_ACCESS_AS', _OTHER_ACCESS);
+
+ list($backendAttrs, $backendAttrDef) = getBackendAttrs('Account', $toPolicy);
+ if ($action == 'changeSettings') {
+
+ changeAccountInfo($userAccount, $toPolicy);
+
+ } elseif ($action=='tokenLogout') {
+
+ revokeTokens();
+
+ } elseif ($action=='userSettingsModify') {
+
+ $changeSkinTo = readVariable($_POST['changeSkinTo'],'enum',null,$SKINSSHOW);
+ setUserSettings($userAccount, $toPolicy, array('skin'=>$changeSkinTo));
+
+ } elseif ($action=='generateEduroamId') {
+ $eduroamDOMAIN = readVariable($_POST['eduroamDOMAIN'],'enum',null,$eduroamDOMAINS);
+ $eduroamPASSWORD = @exec('pwgen');
+ if (__TANAR===true) {
+ $eduroamAFFILIATION = 'faculty';
+ } elseif (__DIAK===true) {
+ $eduroamAFFILIATION = 'student';
+ } else {
+ $eduroamAFFILIATION = 'staff';
+ }
+ createEduroamSettings(array('userAccount'=>$userAccount,'policy'=> $toPolicy,
+ 'eduroamUID' => $userAccount,
+ 'eduroamDOMAIN'=>$eduroamDOMAIN,
+ 'eduroamAFFILIATION'=>$eduroamAFFILIATION,
+ 'eduroamPASSWORD'=>$eduroamPASSWORD));
+ } elseif ($action=='modoifyEduroamId') {
+
+ }
+
+ $userInfo = getUserInfo($userAccount, $toPolicy); // keretrendszer attribútumai
+ $accountInfo = getAccountInfo($userAccount, $toPolicy); // backend attribútumai
+
+ $ADAT = getUserSettings($userAccount, $toPolicy);
+ $ADAT['activity'] = getMyActivity();
+
+ if ($toPolicy=='private' && _POLICY ==='private') {
+ $ADAT['eduroamAdat'] = getEduroamSettings($userAccount, $toPolicy);
+ // dump($ADAT);
+ }
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/accountInfo.php b/mayor-orig/mayor-base/www/policy/private/session/accountInfo.php
new file mode 100644
index 00000000..66642ef3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/accountInfo.php
@@ -0,0 +1,19 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $accountInfo, $userInfo, $backendAttrDef, $toPolicy;
+ global $ADAT;
+
+ putUserSettingsForm($ADAT);
+
+ putEduroamForm($ADAT);
+
+ putAccountActivityForm($ADAT);
+
+ putAccountInfoForm($userInfo, $accountInfo, $backendAttrDef, $toPolicy);
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/admin/knownNodes-pre.php b/mayor-orig/mayor-base/www/policy/private/session/admin/knownNodes-pre.php
new file mode 100644
index 00000000..d166babd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/admin/knownNodes-pre.php
@@ -0,0 +1,39 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ if (!__USERADMIN) {
+ $_SESSION['alert'][] = "page:insufficient_access";
+ } else {
+
+ require('include/share/ssl/ssl.php');
+
+ $ADAT['my']['url'] = $url = substr($_SERVER["HTTP_REFERER"], 0, strpos($_SERVER["HTTP_REFERER"], 'index.php?'));
+ $ADAT['my']['dt'] = date('Y-m-d');
+
+ $RPC = new Interconnect();
+ $ADAT['my']['publicKey'] = $RPC->getPublicKey();
+ $ADAT['my']['nodeId'] = $RPC->getNodeId();
+
+
+ if ($action == 'rpcPing') {
+ $ADAT['nodeId'] = readVariable($_POST['nodeId'],'id');
+ $RPC->setRemoteHostByNodeId($ADAT['nodeId']);
+ $RPC->setRequestTarget('base');
+ $ADAT['pingResult'] = $RPC->sendRequest(array('func'=>'ping'));
+ $ADAT['nodeVersion'] = $ADAT['pingResult']['revision'];
+ // $RPC->setRequestTarget('controller');
+ } elseif ($action == 'getPublicDataByNodeId') {
+ $ADAT['nodeId'] = readVariable($_POST['nodeId'],'id');
+ $RPC->setRequestTarget('base');
+ $RPC->setRemoteHostByNodeId($ADAT['nodeId']);
+ } elseif ($action == 'removeNode') {
+ $ADAT['nodeId'] = readVariable($_POST['nodeId'],'id');
+ removeNodeFromLocalKeychain($ADAT['nodeId']);
+ }
+
+ $ADAT['nodes'] = getPublicDataFromLocalKeychain();
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/admin/knownNodes.php b/mayor-orig/mayor-base/www/policy/private/session/admin/knownNodes.php
new file mode 100644
index 00000000..e7a95d58
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/admin/knownNodes.php
@@ -0,0 +1,10 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $ADAT;
+
+ putGetNodeData();
+ putKnownNodes($ADAT);
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/admin/registration-pre.php b/mayor-orig/mayor-base/www/policy/private/session/admin/registration-pre.php
new file mode 100644
index 00000000..eabc8cfe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/admin/registration-pre.php
@@ -0,0 +1,123 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ if (!__USERADMIN) {
+ $_SESSION['alert'][] = "page:insufficient_access";
+ } else {
+
+ require('include/share/ssl/ssl.php');
+
+ $ADAT['NODETIPUSOK'] = array('intézmény','backup','fejlesztői');
+ $ADAT['OSSZEG'] = array(0,1000,2000,3000,5000,10000);;
+ // regisztrációs űrlap elemei (portal-mayor-ból átemelve...
+ $ADAT['MEZOK'] = array(
+ 'nodeTipus' => array('kotelezo'=>true,'options'=>$ADAT['NODETIPUSOK']),
+ 'nev' => array('kotelezo'=>true),
+ 'rovidNev' => array(),
+ 'OMKod' => array(),
+ 'cimHelyseg' => array('kotelezo'=>true),
+ 'cimIrsz' => array('kotelezo'=>true),
+ 'cimKozteruletNev' => array('kotelezo'=>true),
+ 'cimKozteruletJelleg' => array('kotelezo'=>true),
+ 'cimHazszam' => array('kotelezo'=>true),
+ 'telefon' => array(),
+ 'fax' => array(),
+ 'email' => array(),
+ 'honlap' => array(),
+ 'url' => array(),
+ 'kapcsolatNev' => array('kotelezo'=>true),
+ 'kapcsolatEmail' => array('kotelezo'=>true),
+ 'kapcsolatTelefon' => array(),
+ // külön, más helyen jelennek meg
+ 'dij'=> array('kotelezo'=>true,'display'=>false,'type'=>'none'),
+ 'egyebTamogatas' => array('display'=>false,'type'=>'none'),
+ 'utemezes'=>array('display'=>false,'type'=>'none'),
+ // rejtett mezők - nem módosíthatók
+ 'regId'=>array('display'=>false,'type'=>'none'),
+ 'dt'=>array('display'=>false),
+ 'publicKey' => array('kotelezo'=>true,'display'=>false,'readonly'=>true,'type'=>'textarea'),
+ );
+ $ADAT['my']['url'] = $url = substr($_SERVER["HTTP_REFERER"], 0, strpos($_SERVER["HTTP_REFERER"], 'index.php?'));
+ $ADAT['my']['dt'] = date('Y-m-d');
+
+ $RPC = new Interconnect();
+ $ADAT['my']['publicKey'] = $RPC->getPublicKey();
+ $ADAT['my']['nodeId'] = $RPC->getNodeId();
+
+ // regisztráció
+ if ($action == 'sendRegRequest') {
+ unset($_POST['action']);
+ $_POST['publicRequest'] = 'registration';
+ $res = json_decode(sendPublicRequest($_POST), true);
+ foreach ($res['alert'] as $index => $aAdat) $_SESSION['alert'][] = implode(':',$aAdat);
+ if ($res['success'] === true) {
+ setNodeId($res['nodeId'], $ADAT['my']['publicKey']);
+ $ADAT['my']['nodeId'] = $res['nodeId'];
+ $RPC = new Interconnect(); // újracsatlakozás...
+ }
+ //dump($res);
+ } elseif ($action == 'checkOldRegByPublicKey') {
+ $DATA['publicKey'] = $ADAT['my']['publicKey'];
+ $DATA['publicRequest'] = 'getNodeIdByPublicKey';
+ // ha kellene ellenőrzés, akkar a választ a publicKey-el kódolva kellene küldeni...
+ $res = json_decode(sendPublicRequest($DATA), true);
+ foreach ($res['alert'] as $index => $aAdat) $_SESSION['alert'][] = implode(':',$aAdat);
+ if ($res['success'] === true) {
+ setNodeId($res['nodeId'], $ADAT['my']['publicKey']);
+ $ADAT['my']['nodeId'] = $res['nodeId'];
+ $RPC = new Interconnect(); // újracsatlakozás...
+ }
+ dump($res);
+ }
+
+ if ($ADAT['my']['nodeId'] != 0)
+ try {
+ $RPC->setRemoteHostByNodeId(''); // controller
+ $RPC->setRequestTarget('controller');
+ $ADAT['registrationStatus']['result'] = $RPC->sendRequest(array('func'=>'checkRegistration'));
+ //dump($ADAT['registrationStatus']['result'], $RPC->getStatus());
+ // Teszt: egy alap metódus lekérdezése...
+ //$RPC->setRequestTarget('base');
+ // $ADAT['controllerVersion'] = $RPC->sendRequest(array('func'=>'ping'));
+ // dump($ADAT['controllerVersion']);
+ // $RPC->setRequestTarget('controller');
+ if ($ADAT['registrationStatus']['result']['valid'] == 1) {
+ $ADAT['regAdat'] = $RPC->getRegistrationDataByNodeId($ADAT['my']['nodeId']);
+ //dump($ADAT['regAdat'], $RPC->getStatus());
+ }
+ } catch (Exception $e) {
+ dump("checkRegistration",$e);
+ }
+
+ if ($action == 'modRegAdat') {
+ $MOD = array();
+ foreach ($ADAT['regAdat']['nodeData'] as $key => $value) {
+ $newValue = readVariable($_POST[$key], 'string');
+ if (
+ !in_array($key, array('nodeId','regId','publicKey'))
+ && str_replace(array("\n","\r","\n\r"),"",$value) != str_replace(array("\n","\r","\n\r"),"",$newValue)
+ && !is_null($newValue)
+ ) $MOD[$key] = $newValue;
+ }
+ if (count($MOD) > 0) try {
+ // Interconnect-en keresztül!!
+ $ADAT['modRegData']['result'] = $RPC->sendRequest(
+ array('func'=>'modRegData', 'data'=>$MOD, 'regId'=>$ADAT['regAdat']['nodeData']['regId'])
+ );
+ // A megjelenítéshez módosítjuk a kirakandó adatokat helyben is.
+ if ($ADAT['modRegData']['result']['result'] === true) {
+ $_SESSION['alert'][] = 'info:success:A regisztrációs adatokat módosítottuk a regisztrációs szerveren.';
+ foreach ($MOD as $key => $val) $ADAT['regAdat']['nodeData'][$key] = $val;
+ } else {
+ $_SESSION['alert'][] = 'message:wrong_data:Az adatmódosítás nem sikerült a regisztrációs szerveren.';
+ }
+ } catch (Exception $e) {
+ dump("modRegData",$e);
+ }
+
+ }
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/admin/registration.php b/mayor-orig/mayor-base/www/policy/private/session/admin/registration.php
new file mode 100644
index 00000000..6ad2d8e7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/admin/registration.php
@@ -0,0 +1,16 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $ADAT;
+
+ validRegisztracio($ADAT['registrationStatus']['result']['valid'], $ADAT['my']['nodeId']);
+ if ($ADAT['registrationStatus']['result']['valid'] != 1) {
+ putCheckOldReg($ADAT);
+ putRegisztracio($ADAT);
+ } else {
+ putRegisztracioMod($ADAT);
+ }
+ putPublicKey($ADAT['my']['publicKey']);
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/createAccount-pre.php b/mayor-orig/mayor-base/www/policy/private/session/createAccount-pre.php
new file mode 100644
index 00000000..ce789482
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/createAccount-pre.php
@@ -0,0 +1,110 @@
+<?php
+/*
+ Module: base/session
+ createAccount => byAdmin esetén csak az érintet policy-n belül az adminGroup tagjainak lehet létrehozni új account-ot
+ createAccount => byRegistration esetén bárki regisztrálhat bármely policy-ből
+*/
+
+ if (_RIGHTS_OK !== true) die();
+
+ if (memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup'])) {
+ $DEFAULTS['userAccount'] = readVariable($_GET['userAccount'],'userAccount');
+ $DEFAULTS['userCn'] = readVariable($_GET['userCn'],'emptystringnull');
+ $DEFAULTS['userPassword'] = readVariable($_GET['userPassword'],'emptystringnull');
+ $DEFAULTS['mail'] = readVariable($_GET['email'],'emptystringnull');
+ $DEFAULTS['telephoneNumber'] = readVariable($_GET['tel'],'emptystringnull');
+ }
+
+ $toPolicy = readVariable($_POST['toPolicy'], 'enum', readVariable($_GET['toPolicy'], 'enum',_POLICY, $POLICIES), $POLICIES);
+
+ @$toPSF = $_REQUEST['toPSF'];
+
+ if ($toPolicy != _POLICY) require_once(_CONFIGDIR."/$toPolicy-conf.php");
+ if (
+ (
+ $AUTH[$toPolicy]['createAccount'] == 'byAdmin'
+ and memberOf(_USERACCOUNT, $AUTH['private']['adminGroup'])
+ )
+ or (
+ $AUTH[$toPolicy]['createAccount'] == 'byRegistration'
+ && _USERACCOUNT ==''
+ )
+ ) {
+ define('_ENABLE',true);
+ } else {
+ define('_ENABLE',false);
+ $_SESSION['alert'][] = 'page:insufficient_access:#1';
+ }
+
+ if (_ENABLE && $action == 'createAccount' && isset($_POST['new'])) {
+
+ $file = $_FILES['file']['tmp_name'];
+ if ($file != '' && $file != 'none' && file_exists($file)) {
+
+ $uidfp=fopen($file, 'r');
+ while ($sor=fgets($uidfp, 4096)) {
+ list($userCn, $userAccount, $userPassword, $category, $studyId, $container)=explode(" ",chop($sor));
+ // A biztonság kedvéért ez a html form validációval egyező legyen
+ $userCn = readVariable($userCn,'html');
+ $userAccount = readvariable($userAccount,'html');
+ $studyId = readVariable($studyId,'number');
+ $category = readVariable($category, 'enum','',$AUTH[$toPolicy]['categories']);
+ $container = readVariable($container,'enum','',$AUTH[$toPolicy][$AUTH[$toPolicy]['backend'].'Containers']);
+ $policyAccountAttrs = array();
+ if (is_array($AUTH[$toPolicy]['accountAttrs'])) foreach ($AUTH[$toPolicy]['accountAttrs'] as $attr) {
+ if (isset($$attr) and $$attr != '') $policyAccountAttrs[$attr] = readVariable($$attr, 'string');
+ }
+ if (createAccount($userCn, $userAccount, $userPassword, $toPolicy, array('container'=> $container, 'category' => $category, 'policyAttrs' => $policyAccountAttrs)) ===false) {
+ $_SESSION['alert'][] = "info:user_create_failure: cn.$userCn|account.$userAccount|policy.$toPolicy|category.$category|container.$container";
+ }
+ }
+ fclose($uidfp);
+
+ } else {
+
+ // kötelező paraméterek
+ $userCn = readVariable($_POST['userCn'],'html');
+ $userAccount = readvariable($_POST['userAccount'],'html');
+ $studyId = readVariable($_POST['studyId'],'number');
+ $userPassword = $_POST['userPassword'];
+ $verification = $_POST['verification'];
+
+ // opcionális paraméterek
+ $category = readVariable($_POST['category'], 'enum','',$AUTH[$toPolicy]['categories']);
+ $container = readVariable($_POST['container'],'enum','',$AUTH[$toPolicy][$AUTH[$toPolicy]['backend'].'Containers']);
+
+ $policyAccountAttrs = array();
+ if (is_array($AUTH[$toPolicy]['accountAttrs'])) foreach ($AUTH[$toPolicy]['accountAttrs'] as $attr) {
+ if (isset($_POST[$attr]) and $_POST[$attr] != '') $policyAccountAttrs[$attr] = readVariable($_POST[$attr], 'string'); // ???
+ }
+
+ if ($userCn == '' or $userAccount == '' or $userPassword == '' or $verification == '') {
+ // Csak policy váltás történt
+ // $_SESSION['alert'][] = 'message:empty_field';
+ } elseif ($userPassword != $verification) {
+ $_SESSION['alert'][] = 'message:pw_not_match';
+ } else {
+ if (createAccount($userCn, $userAccount, $userPassword, $toPolicy,
+ array('container'=> $container, 'category' => $category, 'policyAttrs' => $policyAccountAttrs))) {
+ if (
+ _POLICY == 'private'
+ && memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup'])
+ ) header('Location: '.location("index.php?page=session&f=accountInfo&userAccount=$userAccount&toPolicy=$toPolicy"));
+ elseif (_POLICY == 'public') {
+ $toPSF = ($toPSF=='') ? 'auth::login' : $toPSF;
+ header(
+ 'Location: '.location("index.php?page=auth&f=login&userAccount=$userAccount&policy=public&toPolicy=$toPolicy&toPSF=$toPSF", array('skin','lang','sessionID'))
+ );
+ } else {
+ $toPSF = ($toPSF=='') ? 'session::accountInfo' : $toPSF;
+ header(
+ 'Location: '.location("index.php?page=auth&f=login&userAccount=$userAccount&policy=public&toPolicy=$toPolicy&toPSF=$toPSF", array('skin','lang','sessionID'))
+ );
+ }
+ }
+ }
+ }
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/createAccount.php b/mayor-orig/mayor-base/www/policy/private/session/createAccount.php
new file mode 100644
index 00000000..94c4b703
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/createAccount.php
@@ -0,0 +1,12 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $toPolicy,$DEFAULTS;
+
+ putCreateAccountForm($toPolicy, $DEFAULTS);
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/createGroup-pre.php b/mayor-orig/mayor-base/www/policy/private/session/createGroup-pre.php
new file mode 100644
index 00000000..8b65ce02
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/createGroup-pre.php
@@ -0,0 +1,49 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ if (_RIGHTS_OK !== true) die();
+
+ if (_POLICY == 'private' && memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup'])) {
+ } else {
+ $_SESSION['alert'][] = 'page:insufficient_access';
+ }
+ $toPolicy = readVariable($_POST['toPolicy'], 'enum', _POLICY, $POLICIES);
+
+ if ($action == 'createGroup') {
+
+ $file = $_FILES['file']['tmp_name'];
+ if ($file != '' and $file != 'none' and file_exists($file)) {
+/* $uidfp=fopen($file, 'r');
+ while ($sor=fgets($uidfp, 4096)) {
+ list($groupCn, $groupDesc, $category)=explode(" ",chop($sor));
+ !!!!!!!! createGroup($groupCn, $groupDesc, $category, $toPolicy);
+ }
+ fclose($uidfp);
+*/
+ } else {
+
+ $groupCn = readVariable($_POST['groupCn'],'html');
+ $groupDesc = readVariable($_POST['groupDesc'],'html');
+ $category = readVariable($_POST['category'],'enum',null,$AUTH[_POLICY]['categories']);
+ $container = readVariable($_POST['container'],'enum','',$AUTH[$toPolicy][$AUTH[$toPolicy]['backend'].'Containers']);
+ $policyGroupAttrs = array();
+ if (is_array($AUTH[$toPolicy]['groupAttrs'])) foreach ($AUTH[$toPolicy]['groupAttrs'] as $attr) {
+ if (isset($_POST[$attr]) and $_POST[$attr] != '') $policyGroupAttrs[$attr] = readVariable($_POST[$attr], 'string'); // ???
+ }
+
+ if ($groupCn == '' || $groupDesc == '' || $category == '') {
+ // Csak policy váltás
+ //$_SESSION['alert'][] = 'message:empty_field'.":$groupCn:$groupDesc:$category";
+ } else {
+ if (createGroup($groupCn, $groupDesc, $toPolicy, array('container'=> $container, 'policyAttrs' => $policyGroupAttrs))) {
+ header('Location: '.location("index.php?page=session&f=groupInfo&groupCn=$groupCn&toPolicy=$toPolicy"));
+ }
+ }
+ }
+
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/createGroup.php b/mayor-orig/mayor-base/www/policy/private/session/createGroup.php
new file mode 100644
index 00000000..a914ceaf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/createGroup.php
@@ -0,0 +1,12 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $toPolicy;
+
+ putCreateGroupForm($toPolicy);
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/download-pre.php b/mayor-orig/mayor-base/www/policy/private/session/download-pre.php
new file mode 100644
index 00000000..6b396143
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/download-pre.php
@@ -0,0 +1,66 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+ if (!((defined('_POLICY') && _POLICY=='public')
+ || (defined('__TITKARSAG') && __TITKARSAG===true)
+ || (defined('__TANAR') && __TANAR===true)
+ || (defined('__NAPLOADMIN') && __NAPLOADMIN===true)
+ || (defined('__DIAK') && __DIAK===true)
+ )) {
+ return false;
+ }
+
+ // $file - csak a file neve, útvonal nem lehet benne
+ if (isset($_POST['file']) && $_POST['file'] != '') $file = basename($_POST['file']);
+ elseif (isset($_GET['file']) && $_GET['file'] != '') $file = basename($_GET['file']);
+
+ if (!isset($file)) $_SESSION['alert'][] = 'page:empty_fields:file';
+ else {
+ // $dir - betű, szám, -, _, és / lehet benne (elején csak betű vagy szám)
+ $dir = readVariable($_POST['dir'], 'path', readVariable($_GET['dir'], 'path'));
+
+ // Az útvonal beállítása
+ $path = _DOWNLOADDIR.'/'._POLICY;
+ if (isset($dir)) $path .= '/'.$dir;
+ $path .= '/'.$file;
+
+ // Jogosultságok ellenőzése dir alapján
+ if (__DIAK===true) {
+ if (strstr($dir,'naplo/face/')===false) return false;
+ }
+ // Titkarsag, Tanar, Naploadmin letoltheti, amit szeretne
+
+ // Létezik-e a file
+ if (!file_exists($path)) $_SESSION['alert'][] = 'page:file_not_found:'.substr($path, strlen(_DOWNLOADDIR.'/'._POLICY.'/')).':'.$path;
+ else {
+
+ $ADAT['path'] = $path;
+ $ADAT['dir'] = $dir;
+ $ADAT['file'] = $file;
+ $ADAT['ext'] = strtolower(substr(strrchr($file,"."),1));
+ $ADAT['size'] = filesize($path);
+ $ADAT['mime'] = readVariable($_POST['mimetype'], 'enum', readVariable($_GET['mimetype'], 'enum', null, $allowedMimeTypes), $allowedMimeTypes);
+
+ // MiME típus megállapítása
+ if (!isset($ADAT['mime'])) {
+ if ($allowedExtensions[$ADAT['ext']] != '') $ADAT['mime'] = $allowedExtensions[$ADAT['ext']];
+ else {
+ if (function_exists('mime_content_type')) {
+ $ADAT['mime'] = mime_content_type($ADAT['path']);
+ } elseif (function_exists('finfo_file')) {
+ $finfo = finfo_open(FILEINFO_MIME);
+ $ADAT['mime'] = finfo_file($finfo, $ADAT['path']);
+ finfo_close($finfo);
+ }
+ if ($ADAT['mime'] == '') $ADAT['mime'] = "application/force-download";
+ }
+ }
+ if (in_array($ADAT['mime'],array('image/gif','image/png','image/jpeg','image/jpeg'))) $ADAT['pure']=true;
+ // letöltés
+ if (isset($_GET['download'])) passFile($ADAT);
+
+ }
+ }
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/download.php b/mayor-orig/mayor-base/www/policy/private/session/download.php
new file mode 100644
index 00000000..12d907a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/download.php
@@ -0,0 +1,9 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $ADAT;
+
+ if (is_array($ADAT)) putDownloadForm($ADAT);
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/eduroam-pre.php b/mayor-orig/mayor-base/www/policy/private/session/eduroam-pre.php
new file mode 100644
index 00000000..40a406cd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/eduroam-pre.php
@@ -0,0 +1,5 @@
+<?php
+
+ getEduroamAdat();
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/policy/private/session/eduroam.php b/mayor-orig/mayor-base/www/policy/private/session/eduroam.php
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/eduroam.php
diff --git a/mayor-orig/mayor-base/www/policy/private/session/facebookConnect-pre.php b/mayor-orig/mayor-base/www/policy/private/session/facebookConnect-pre.php
new file mode 100644
index 00000000..b0988ae5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/facebookConnect-pre.php
@@ -0,0 +1,91 @@
+<?php
+
+ if (__FBCONNECT_ENABLED !== true ) return false;
+
+ if (version_compare(PHP_VERSION, '5.4.0', '<')) {
+ return false;
+ } else {
+ /* facebook login start */
+ require_once ('include/share/facebook/autoload.php');
+ $fb = new Facebook\Facebook(array(
+ 'app_id' => __FB_APP_ID,
+ 'app_secret' => __FB_APP_SECRET,
+ 'cookie' => true,
+ 'status' => true,
+ 'default_graph_version' => 'v2.5',
+ ));
+ $oAuth2Client = $fb->getOAuth2Client();
+
+ $helper = $fb->getJavaScriptHelper();
+ try {
+ $accessToken = $helper->getAccessToken();
+ // convert
+ if ($accessToken !='' && !$accessToken->isLongLived()) {
+ try {
+ $accessToken = $oAuth2Client->getLongLivedAccessToken($accessToken);
+ } catch (Facebook\Exceptions\FacebookSDKException $e) {
+ $_SESSION['alert'][] = "info::Error getting long-lived access token: " . $helper->getMessage() . "";
+ }
+ }
+ } catch(Facebook\Exceptions\FacebookResponseException $e) {
+ // When Graph returns an error
+ $_SESSION['alert'][] = 'info::Graph returned an error: ' . $e->getMessage();
+ } catch(Facebook\Exceptions\FacebookSDKException $e) {
+ // When validation fails or other local issues
+ $_SESSION['alert'][] = 'info::Facebook SDK returned an error: ' . $e->getMessage();
+ }
+ if (isset($accessToken)) {
+ $_SESSION['facebook_access_token'] = (string) $accessToken;
+ $_SESSION['facebook_access_token_object'] = $accessToken;
+ $response = $fb->get('/me?fields=id,name,email',$accessToken);
+ $userNode = $response->getGraphUser();
+ $ADAT['fbUserId'] = $userNode->getField('id');
+ $ADAT['fbUserCn'] = $userNode->getField('name');
+ $ADAT['fbUserEmail'] = $userNode->getField('email');
+ }
+ }
+ if ($action=='revokeFbAuth') {
+ fbConnectRevoke($ADAT['fbUserId']);
+ } elseif ($action=='grantFbAuth') {
+ fbConnectGrant($ADAT);
+ }
+
+ $ADAT['fbUserIdStatusz'] = checkFbConnectAssoc($ADAT);
+
+ function checkFbConnectAssoc($ADAT) {
+ if ($ADAT['fbUserId']=='') return 0;
+
+ $q = "SELECT count(*) AS db FROM facebookConnect where userAccount='%s' AND policy='%s' AND fbUserId='%s'";
+ $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'fbUserId'=>$ADAT['fbUserId']);
+ $db = db_query($q,array('fv'=>'facebookConnectCheck','modul'=>'login','result'=>'value','values'=>$v));
+ if ($db==1) return 1; // 'OK';
+
+ $q = "SELECT count(*) AS db FROM facebookConnect where userAccount='%s' AND policy='%s' AND fbUserId!='%s'";
+ $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'fbUserId'=>$ADAT['fbUserId']);
+ $db = db_query($q,array('fv'=>'facebookConnectCheck','modul'=>'login','result'=>'value','values'=>$v));
+ if ($db==1) return 2; // 'masik fbUserId van megadva';
+
+ $q = "SELECT count(*) AS db FROM facebookConnect where userAccount!='%s' AND policy='%s' AND fbUserId='%s'";
+ $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'fbUserId'=>$ADAT['fbUserId']);
+ $db = db_query($q,array('fv'=>'facebookConnectCheck','modul'=>'login','result'=>'value','values'=>$v));
+ if ($db==1) return 3; // 'masik userAccount van hozzárendelve ehhez a fb azonosítóhoz';
+
+ return false;
+ }
+
+ function fbConnectRevoke($fbUserId) {
+ if ($fbUserId=='') return 0;
+
+ $q = "DELETE FROM facebookConnect where userAccount='%s' AND policy='%s' AND fbUserId='%s'";
+ $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'fbUserId'=>$fbUserId);
+ return db_query($q,array('fv'=>'facebookConnectCheck','modul'=>'login','values'=>$v));
+ }
+ function fbConnectGrant($ADAT) {
+ if ($ADAT['fbUserId']=='') return 0;
+
+ $q = "INSERT IGNORE INTO facebookConnect (userAccount,policy,fbUserId,fbUserCn,fbUserEmail,studyId) VALUES ('%s','%s','%s','%s','%s','%s')";
+ $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'fbUserId'=>$ADAT['fbUserId'],'fbUserCn'=>_USERCN.' ('.$ADAT['fbUserCn'].')','fbUserEmail'=>$ADAT['fbUserEmail'],'studyId'=>_STUDYID);
+ return db_query($q,array('fv'=>'facebookConnectCheck','modul'=>'login','result'=>'insert','values'=>$v));
+ }
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/policy/private/session/facebookConnect.php b/mayor-orig/mayor-base/www/policy/private/session/facebookConnect.php
new file mode 100644
index 00000000..e125c680
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/facebookConnect.php
@@ -0,0 +1,7 @@
+<?php
+
+ global $ADAT;
+
+ putFacebookConnectStatusz($ADAT);
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/policy/private/session/googleapi-pre.php b/mayor-orig/mayor-base/www/policy/private/session/googleapi-pre.php
new file mode 100644
index 00000000..49438dcc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/googleapi-pre.php
@@ -0,0 +1,100 @@
+<?php
+
+ if (__GOOGLEAPI_ENABLED !== true ) return false;
+
+ if (version_compare(PHP_VERSION, '5.4.0', '<')) {
+ return false;
+ } else {
+ require_once ('include/share/googleapi/autoload.php');
+
+ if ($action=='googleapiRevoke') {
+ googleapiRevoke();
+ unset($_SESSION['googleapi_id_token']);
+ unset($_SESSION['googleapi_object']);
+ } elseif ($action=='googleapiGrant') {
+ // itt nem áll rendelkezésre adat! googleapiGrant($ADAT);
+ // a get id_token résznél kötjük össze a usert és irányítjuk tovább
+ }
+ //$ADAT['googleapiStatus'] = googleapiCheckAssoc($ADAT);
+ if ($_SESSION['googleapi_id_token']!='') {
+ // van azonosított user
+ // a sessionben rendelkezésre is áll az objektum (googleapi_object),
+ // de itt most lekérdezzük a google szervertől újra!
+ $redirect_uri = _BASE_URL.'/index.php';
+ $client = new Google_Client();
+ $client->setClientId(__GOOGLEAPI_CLIENT_ID);
+ $client->setClientSecret(__GOOGLEAPI_CLIENT_SECRET);
+ $client->setScopes('email');
+ // $client->setAccessToken($_SESSION['googleapi_id_token']);
+ try {
+ $ADAT['payload'] = $payload = $client->verifyIdToken($_SESSION['googleapi_id_token']);
+ $ADAT['googleapiStatusz'] = 1;
+ } catch(Exception $e) {
+ $_SESSION['alert'][] = 'info::googleapi SDK hiba: ' . $e->getMessage();
+ $ADAT['googleapiStatusz'] = 2;
+ }
+ } elseif ($_GET['id_token']!='') {
+ $redirect_uri = _BASE_URL.'/index.php';
+ $client = new Google_Client();
+ //$client->setAuthConfig($oauth_credentials);
+ $client->setClientId(__GOOGLEAPI_CLIENT_ID);
+ $client->setClientSecret(__GOOGLEAPI_CLIENT_SECRET);
+// $client->setRedirectUri($redirect_uri);
+ $client->setScopes('email');
+ try {
+ $payload = $client->verifyIdToken($_GET['id_token']);
+ } catch(Exception $e) {
+ $_SESSION['alert'][] = 'info::googleapi SDK hiba: ' . $e->getMessage();
+ }
+ if (isset($payload['sub'])) { // subject
+ $_SESSION['google_access_token'] = (string) $payload;
+ $_SESSION['google_access_token_object'] = $payload;
+ // mayor auth start
+ $accountInformation=array();
+ $toPolicy = 'public';
+ $ADAT['googleSub'] = $payload['sub'];
+// $ADAT['fbUserId'] = $userNode->getField('id');
+ $ADAT['googleUserCn'] = $payload['name'];
+ $ADAT['googleUserEmail'] = $payload['email'];
+ googleapiGrant($ADAT);
+ /* mayor auth stop */
+ } else {
+ $_SESSION['alert'][] = 'info:nem érvényes accessToken';
+ }
+ }
+
+ }
+ function googleapiCheckAssoc($ADAT) {
+ if ($ADAT['googleSub']=='') return 0;
+
+ $q = "SELECT count(*) AS db FROM googleConnect where userAccount='%s' AND policy='%s' AND googleSub='%s'";
+ $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'fbUserId'=>$ADAT['googleSub']);
+ $db = db_query($q,array('fv'=>'facebookConnectCheck','modul'=>'login','result'=>'value','values'=>$v));
+ if ($db==1) return 1; // 'OK';
+
+ $q = "SELECT count(*) AS db FROM googleConnect where userAccount='%s' AND policy='%s' AND googleSub!='%s'";
+ $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'fbUserId'=>$ADAT['googleSub']);
+ $db = db_query($q,array('fv'=>'facebookConnectCheck','modul'=>'login','result'=>'value','values'=>$v));
+ if ($db==1) return 2; // 'masik googleSub van megadva';
+
+ $q = "SELECT count(*) AS db FROM googleConnect where userAccount!='%s' AND policy='%s' AND googleSub='%s'";
+ $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'googleSub'=>$ADAT['googleSub']);
+ $db = db_query($q,array('fv'=>'facebookConnectCheck','modul'=>'login','result'=>'value','values'=>$v));
+ if ($db==1) return 3; // 'masik userAccount van hozzárendelve ehhez a googleSub azonosítóhoz';
+
+ return false;
+ }
+
+ function googleapiRevoke() {
+ $q = "DELETE FROM googleConnect where userAccount='%s' AND policy='%s'";
+ $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY);
+ return db_query($q,array('fv'=>'googleapiRevoke','modul'=>'login','values'=>$v));
+ }
+ function googleapiGrant($ADAT) {
+ if ($ADAT['googleSub']=='') return 0;
+ $q = "INSERT IGNORE INTO googleConnect (userAccount,policy,googleSub,googleUserCn,googleUserEmail,studyId) VALUES ('%s','%s','%s','%s','%s','%s')";
+ $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'googleSub'=>$ADAT['googleSub'],_USERACCOUNT.' ('.$ADAT['googleUserCn'].')',$ADAT['googleUserEmail'],_STUDYID);
+ return db_query($q,array('debug'=>true,'fv'=>'googleapiGrant','modul'=>'login','result'=>'insert','values'=>$v));
+ }
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/policy/private/session/googleapi.php b/mayor-orig/mayor-base/www/policy/private/session/googleapi.php
new file mode 100644
index 00000000..fe079bed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/googleapi.php
@@ -0,0 +1,28 @@
+<?php
+
+ global $ADAT;
+
+// putFacebookConnectStatusz($ADAT);
+
+// echo '<div class="g-signin2" data-onsuccess="onSignIn"></div>';
+
+// echo '<h1>Tesztüzem</h1>';
+
+// formBegin();
+// echo '<input type="text" name="action" value="googleapiCheck" >';
+// echo '<button type="button" id="googleapiCheckBtn" class="api"><span class="icon-googleplus"></span> Ellenőrzés</button>';
+// formEnd();
+
+// formBegin();
+// echo '<input type="hidden" name="action" value="googleGrant" >';
+// echo '<button type="button" id="googleLoginBtn" class="api"><span class="icon-googleplus"></span> Összeköt</button>';
+// formEnd();
+
+// formBegin();
+// echo '<input type="text" name="action" value="googleRevoke" >';
+// echo '<button type="submit" class="api"><span class="icon-googleplus"></span> Visszavon</button>';
+// formEnd();
+
+ putGoogleapiStatusz($ADAT);
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/policy/private/session/groupInfo-pre.php b/mayor-orig/mayor-base/www/policy/private/session/groupInfo-pre.php
new file mode 100644
index 00000000..97864ffa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/groupInfo-pre.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ if (_RIGHTS_OK !== true) die();
+
+
+ $toPolicy = readVariable($_POST['toPolicy'], 'enum',
+ readVariable($_GET['toPolicy'], 'enum', _POLICY, $POLICIES),
+ $POLICIES
+ );
+
+ $groupCn = readVariable($_GET['groupCn'],'regreplace',null,array("[^a-zA-Z0-9\ \.\,_:;űáéúőóüöíŰÁÉÚŐÓÜÖÍ\-]"));
+
+// egyelőre csak private-ból lehet valaki admin...
+// if (memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup'])) define('_ACCESS_AS', _ADMIN_ACCESS);
+
+ if (
+ _POLICY == 'private' &&
+ (
+ memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup']) ||
+ (
+ memberOf(_USERACCOUNT,'diakadmin') &&
+ in_array('diak',$userCategories)
+ )
+ )
+ ) define('_ACCESS_AS', _ADMIN_ACCESS);
+ else define('_ACCESS_AS', _OTHER_ACCESS);
+
+ list($backendAttrs,$backendAttrDef) = getBackendAttrs('Group', $toPolicy);
+
+ if ($action == 'changeSettings') {
+
+ changeGroupInfo($groupCn, $toPolicy);
+
+ }
+ $groupInfo = getGroupInfo($groupCn, $toPolicy); // keretrendszer attribútumai
+ // backend attribútumai
+
+ if ($groupInfo===false) $_SESSION['alert'][] = 'page::';
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/groupInfo.php b/mayor-orig/mayor-base/www/policy/private/session/groupInfo.php
new file mode 100644
index 00000000..6dda377c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/groupInfo.php
@@ -0,0 +1,12 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $groupCn, $groupInfo, $backendAttrDef, $toPolicy;
+
+ putGroupInfoForm($groupCn, $groupInfo, $backendAttrDef, $toPolicy);
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/search/searchAccount-pre.php b/mayor-orig/mayor-base/www/policy/private/session/search/searchAccount-pre.php
new file mode 100644
index 00000000..1ef93e95
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/search/searchAccount-pre.php
@@ -0,0 +1,29 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ if (_RIGHTS_OK !== true) die();
+
+ $toPolicy = readVariable($_POST['toPolicy'], 'enum', _POLICY, $POLICIES);
+
+ define('__ADMIN', memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup']));
+ define('__DIAKADMIN', memberOf(_USERACCOUNT, 'diakadmin'));
+
+ // valójában így sem jó, mert a lekérdezett backend-től kellene függővé teni a keresés mezőket...
+ if ($AUTH[_POLICY]['backend'] == 'ad') $searchAttrList = array('userCn', 'userAccount', 'uidNumber', 'studyId');
+ else $searchAttrList = array('userCn', 'userAccount', 'studyId');
+
+ if ($action == 'searchAccount') {
+ $attr = readVariable($_POST['attr'], 'enum', 'userCn', $searchAttrList);
+ $pattern = readVariable($_POST['pattern'], 'string');
+ $searchResult = searchAccount($attr, $pattern, $searchAttrList, $toPolicy);
+ } elseif ($action == 'deleteAccount' and __ADMIN === true) {
+ $userAccount = readVariable($_POST['userAccount'], 'string');
+ deleteAccount($userAccount, $toPolicy);
+ } else {
+ echo $action;
+ }
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/search/searchAccount.php b/mayor-orig/mayor-base/www/policy/private/session/search/searchAccount.php
new file mode 100644
index 00000000..727706ee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/search/searchAccount.php
@@ -0,0 +1,16 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $attr, $pattern, $searchResult, $searchAttrList, $toPolicy, $ADAT;
+
+ putSearchAccountForm($attr, $pattern, $searchAttrList, $toPolicy);
+
+ if (is_array($searchResult)) {
+ putSearchResultBox($searchResult, $toPolicy);
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/search/searchGroup-pre.php b/mayor-orig/mayor-base/www/policy/private/session/search/searchGroup-pre.php
new file mode 100644
index 00000000..94deeba2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/search/searchGroup-pre.php
@@ -0,0 +1,25 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ if (_RIGHTS_OK !== true) die();
+
+ $toPolicy = readVariable($_POST['toPolicy'], 'enum', _POLICY, $POLICIES);
+
+ define('__ADMIN', memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup']));
+ define('__DIAKADMIN', memberOf(_USERACCOUNT, 'diakadmin'));
+
+ $searchAttrs = array('groupCn', 'groupDesc');
+ if ($action == 'searchGroup') {
+ $attr = readVariable($_POST['attr'], 'enum', 'groupCn', $searchAttrs);
+ $pattern = readVariable($_POST['pattern'],'html');
+ $searchResult = searchGroup($attr, $pattern, $searchAttrs, $toPolicy);
+ } elseif (__ADMIN ===true && $action == 'deleteGroup') {
+ $groupCn = readVariable($_POST['groupCn'], 'html'); // nem biztos hogy id - bizos nem id, hanem a csoport neve
+ deleteGroup($groupCn, $toPolicy);
+ } else {
+ echo $action;
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/search/searchGroup.php b/mayor-orig/mayor-base/www/policy/private/session/search/searchGroup.php
new file mode 100644
index 00000000..c36d0ef6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/search/searchGroup.php
@@ -0,0 +1,16 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $attr, $pattern, $searchAttrs, $searchResult, $toPolicy;
+
+ putSearchGroupForm($attr, $pattern, $searchAttrs, $toPolicy);
+
+ if (is_array($searchResult)) {
+ putSearchResultBox($searchResult, $toPolicy);
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/session-pre.php b/mayor-orig/mayor-base/www/policy/private/session/session-pre.php
new file mode 100644
index 00000000..d1c65349
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/session-pre.php
@@ -0,0 +1,5 @@
+<?php
+
+ header('Location: '.location('index.php?page=session&sub=search&f=searchAccount'));
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/policy/private/session/session.php b/mayor-orig/mayor-base/www/policy/private/session/session.php
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/session.php
diff --git a/mayor-orig/mayor-base/www/policy/private/session/sessionAdmin-pre.php b/mayor-orig/mayor-base/www/policy/private/session/sessionAdmin-pre.php
new file mode 100644
index 00000000..08b55781
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/sessionAdmin-pre.php
@@ -0,0 +1,24 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ if (_POLICY != 'private' || !memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup'])) {
+ $_SESSION['alert'][] = 'page:insufficient_access';
+ } else {
+
+ if ($action == 'deleteSession') {
+
+ $policy = readVariable($_POST['delPolicy'], 'enum', null, $POLICIES);
+ $userAccount = readVariable($_POST['delSessionID'], 'string', null);
+ if (isset($policy) && isset($userAccount)) {
+ deleteSession($userAccount, $policy);
+ } else { $_SESSION['alert'][] = 'message:wrong_data:userAccount,policy:'.$policy.':'.$userAccount; }
+
+ }
+ $ADAT['session'] = getSessions();
+//echo '<pre>'; var_dump($ADAT); echo '</pre>';
+
+ }
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/private/session/sessionAdmin.php b/mayor-orig/mayor-base/www/policy/private/session/sessionAdmin.php
new file mode 100644
index 00000000..d1398e4f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/private/session/sessionAdmin.php
@@ -0,0 +1,9 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $ADAT;
+
+ putSessionList($ADAT);
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/public/auth/forgotten-pre.php b/mayor-orig/mayor-base/www/policy/public/auth/forgotten-pre.php
new file mode 100644
index 00000000..76ffaebb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/public/auth/forgotten-pre.php
@@ -0,0 +1,92 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ require_once('include/share/net/phpmailer.php');
+
+ $ADAT['userAccount'] = readVariable($_POST['userAccount'], 'string', readVariable($_GET['userAccount'], 'string', null));
+ $ADAT['toPolicy'] = readVariable($_POST['toPolicy'], 'enum', readVariable($_GET['toPolicy'], 'enum', 'parent', array('parent','private')), array('parent','private'));
+ $ADAT['mail'] = readVariable($_POST['mail'], 'string', null);
+
+ if ($AUTH[$ADAT['toPolicy']]['enablePasswordReset']!==true) {
+ //$_SESSION['alert'][] = 'info:pw_reset_disabled';
+ $ADAT['forgotDisabled'] = true;
+ }
+
+/* Under dev
+ foreach(array('private','parent','public') as $_policy) {
+ if ($ADAT['toPolicy']==$_policy && $AUTH[$_policy]['enablePasswordReset']!==true) $ADAT['forgotDisabled'] = true;
+ }
+*/
+ if ($action == 'sendResetPasswordMail') {
+
+ // TODO - ez a kettő összevonható, kukac tuti nincs a felhasználónévben
+ // TODO - megviszgálhatnánk, hogy milyen authentikációs levelen van a user
+ // TODO - mármint, ahol megváltoztatható egyáltalán a jelszó...
+ require_once('include/modules/session/search/searchAccount.php');
+ if (isset($ADAT['userAccount'])) {
+ $ADAT['accounts'] = searchAccount('userAccount', $ADAT['userAccount'], $searchAttrs = array('userCn','mail','userAccount'), $ADAT['toPolicy']);
+ for ($i=0; $i<$ADAT['accounts']['count']; $i++) {
+ if ($ADAT['userAccount'] == $ADAT['accounts'][$i]['userAccount'][0] && $ADAT['accounts'][$i]['mail'][0] != '') {
+ $ADAT['account'] = array(
+ 'policy' => $ADAT['toPolicy'],
+ 'userAccount' => $ADAT['accounts'][$i]['userAccount'][0],
+ 'userCn' => $ADAT['accounts'][$i]['userCn'][0],
+ 'mail' => current(explode(' ',str_replace(';',' ',trim($ADAT['accounts'][$i]['mail'][0])))),
+ );
+ break;
+ }
+ }
+ } elseif (isset($ADAT['mail'])) {
+ $ADAT['accounts'] = searchAccount('mail', $ADAT['mail'], $searchAttrs = array('userCn','mail','userAccount'), $ADAT['toPolicy']);
+ for ($i=0; $i<$ADAT['accounts']['count']; $i++) {
+ if ($ADAT['mail'] == $ADAT['accounts'][$i]['mail'][0] && $ADAT['accounts'][$i]['mail'][0] != '') {
+ $ADAT['account'] = array(
+ 'policy' => $ADAT['toPolicy'],
+ 'userAccount' => $ADAT['accounts'][$i]['userAccount'][0],
+ 'userCn' => $ADAT['accounts'][$i]['userCn'][0],
+ 'mail' => current(explode(' ',str_replace(';',' ',trim($ADAT['accounts'][$i]['mail'][0])))),
+ );
+ break;
+ }
+ }
+ }
+
+ // Recovery
+ if (is_array($ADAT['account'])) {
+ $recoveryRequest = generatePasswordRecoveryRequest($ADAT['account']);
+ if ($recoveryRequest!=false) {
+ $ADAT['account']['url'] = $recoveryRequest;
+ // levél generálása és kiküldése
+ $body = '<html><head><title></title></head><body>
+<p>Az alábbi linkre kattintva magadhatod az új MaYoR-jelszavadat.</p>
+<p>Ha nem te küldted az igénylést, tekintsd a levelet tárgytalannak!</p>
+<p class="link">'.$recoveryRequest.'</p>
+<p>'.__SUPPORT_EMAIL_NAME.' ('.__SUPPORT_EMAIL_ADDRESS.')</p>
+</body></html>';
+ /* MAIL */
+ if (__EMAIL_ENABLED===true) {
+ $mail = new PHPMailer();
+ $mail->CharSet = 'UTF-8';
+ $mail->SetFrom(__SUPPORT_EMAIL_ADDRESS,__SUPPORT_EMAIL_NAME);
+ $mail->AddAddress($ADAT['account']['mail'], $ADAT['account']['userCn']);
+ $mail->Subject = "[MaYoR] Jelszóemlékeztető";
+ $mail->MsgHTML($body);
+ $mail->Send();
+ } else {
+ //dump(__EMAIL_ENABLED);
+ //dump(__SUPPORT_EMAIL_ADDRESS);
+ //dump(__SUPPORT_EMAIL_NAME);
+ }
+ /* -- */
+// $_SESSION['alert'][] = 'info:success';
+ } else {
+// $_SESSION['alert'][] = 'info:success'; // nem üzenünk hibát
+ }
+ } else {
+// $_SESSION['alert'][] = 'message:wrong_data:Nincs ilyen azonosító, vagy nincs rögzítve e-mail cím az azonosítóhoz! ('.$ADAT['userAccount'].')';
+ }
+
+ }
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/policy/public/auth/forgotten.php b/mayor-orig/mayor-base/www/policy/public/auth/forgotten.php
new file mode 100644
index 00000000..bd751c83
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/public/auth/forgotten.php
@@ -0,0 +1,16 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $ADAT,$action;
+
+ if ($ADAT['forgotDisabled']===true)
+ putForgotDisabled();
+ elseif (!is_array($ADAT['account']) && $action=='') {
+ putForgotPasswordForm($ADAT);
+ putForgotUserAccountForm($ADAT);
+ } else {
+ putForgotThankyou();
+ }
+ putBackToLogin($ADAT);
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/policy/public/auth/login-pre.php b/mayor-orig/mayor-base/www/policy/public/auth/login-pre.php
new file mode 100644
index 00000000..c524751f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/public/auth/login-pre.php
@@ -0,0 +1,86 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ if (defined('_ALLOW_SULIX_SSO') && _ALLOW_SULIX_SSO===true) { // kompatibilitási okokból
+ $toPolicy = readVariable($_REQUEST['toPolicy'], 'enum', 'private', $POLICIES);
+ } else {
+ $toPolicy = 'private'; // force
+ }
+ $toSkin = readVariable($_POST['toSkin'], 'enum', readVariable($_GET['toSkin'], 'enum', null, $SKINSSHOW), $SKINSSHOW);
+ @list($toPage,$toSub,$toF) = readVariable(explode(':',$_REQUEST['toPSF']), 'strictstring');
+ $toPSF = "$toPage:$toSub:$toF";
+
+// Ha már az adott sessionID-vel belépett az adott policy-ra, akkor ne lépjen be újra
+// if ($sessionID != '' and validUser($sessionID, $toPolicy)) {
+// header('Location: '.location("index.php?policy=$toPolicy&page=$toPage&sub=$toSub&f=$toF&sessionID=$sessionID", array('alert')));
+// die();
+// }
+
+ if ($toPolicy=='private' && isset($_SESSION['portalLoggedUsername']) && defined('_ALLOW_SULIX_SSO') && _ALLOW_SULIX_SSO===true) {
+ $action='autologin';
+ //A SuliX-osok kérésére ezt sajnos kihagyjuk :( session_regenerate_id(true);
+ }
+
+ // Az elküldött név+jelszó ellenőrzése
+ if ($action == 'login' || $action=='autologin') {
+
+ // A toPolicy hibaüzenetei
+ if (file_exists('include/alert/'.$lang.'/'.$AUTH[$toPolicy]['backend'].'.php')) {
+ require('include/alert/'.$lang.'/'.$AUTH[$toPolicy]['backend'].'.php');
+ } elseif (file_exists('include/alert/'._DEFAULT_LANG.'/'.$AUTH[$toPolicy]['backend'].'.php')) {
+ require('include/alert/'._DEFAULT_LANG.'/'.$AUTH[$toPolicy]['backend'].'.php');
+ }
+ // Autentikáció - alapok
+ if (file_exists('include/share/auth/base.php')) {
+ require('include/share/auth/base.php');
+ }
+ // Autentikáció - toPolicy
+ if (file_exists('include/backend/'.$AUTH[$toPolicy]['backend'].'/auth/login.php')) {
+ require('include/backend/'.$AUTH[$toPolicy]['backend'].'/auth/login.php');
+ }
+
+ // lejart session-ok torlese
+ require('include/share/session/close.php');
+ closeOldAndIdleSessions();
+
+ if ($action=='autologin' && defined('_ALLOW_SULIX_SSO') && _ALLOW_SULIX_SSO===true) {
+ $userPassword = readVariable($_SESSION['portalLoggedPassword'], 'string');
+ //$userAccount = readVariable($_SESSION['portalLoggedUsername'], 'regexp', null, array("^([a-z]|[A-Z]|[0-9]| |\.|,|_|[űáéúőóüöíŰÁÉÚŐÓÜÖÍäÄ]|-|@)*$"));
+ $userAccount = readVariable($_SESSION['portalLoggedUsername'], 'userAccount', null);
+ } else {
+ $userPassword = readVariable($_POST['userPassword'], 'string');
+ //$userAccount = readVariable($_POST['userAccount'], 'regexp', null, array("^([a-z]|[A-Z]|[0-9]| |\.|,|_|[űáéúőóüöíŰÁÉÚŐÓÜÖÍäÄ]|-|@)*$"));
+ $userAccount = readVariable($_SESSION['portalLoggedUsername'], 'userAccount', null);
+ }
+
+ if (defined('_BOLONDOS') && _BOLONDOS===true) $userAccount = visszafele($userAccount);
+
+ $accountInformation = array('account' => $userAccount, 'password' => $userPassword, 'policy' => $toPolicy, 'skin'=>$toSkin);
+ if ($sessionID != '') $accountInformation['sessionID'] = $sessionID;
+
+ if ($userAccount != '' and $userPassword != '') {
+
+ $result = userAuthentication($userAccount, $userPassword, $accountInformation, $toPolicy); // ??? toPolicy benne van az AccountInformation-ben!!! Ldap backend only?
+ logLogin($toPolicy, $userAccount, $result);
+ if ($result === _AUTH_SUCCESS) {
+ $sessionID = newSession($accountInformation, $toPolicy);
+ if ($toSkin == '') $toSkin = $skin;
+ header('Location: '.location("index.php?page=$toPage&sub=$toSub&f=$toF&sessionID=$sessionID&policy=$toPolicy&lang=$lang&skin=$toSkin", array('alertOLD')));
+ } elseif ($result === _AUTH_EXPIRED) {
+ $_SESSION['alert'][] = 'message:force_pw_update';
+ header('Location: '.location("index.php?policy=public&page=password&f=changeMyPassword&userAccount=".$userAccount."&toPolicy=$toPolicy&skin=$toSkin", array('alertOLD')));
+ } elseif ($result >= _AUTH_FAILURE) {
+ // sikertelen azonosítás - a hibaüzenetet a függvény generálja
+ //$NOF = @getFailedLoginCount($toPolicy,$userAccount);
+ //if ($NOF>1) sleep(min($NOF,10,rand(1,10))); // harden brute force attempts
+ } else {
+ // Ilyen csak hibás függvényműködés esetén lehet:
+ $_SESSION['alert'][] = "message:default:hibás visszatérési érték:userAuthentication:($result)";
+ }
+ } else {
+ $_SESSION['alert'][] = 'message:empty_field';
+ }
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/public/auth/login.php b/mayor-orig/mayor-base/www/policy/public/auth/login.php
new file mode 100644
index 00000000..c86bf24b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/public/auth/login.php
@@ -0,0 +1,17 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $userAccount, $userPassword, $toPolicy, $toPSF, $toSkin, $salt;
+ global $ADAT;
+
+ if (defined('_USERACCOUNT') && (!is_string(_USERACCOUNT) || _USERACCOUNT=='') )
+ putLoginForm($userAccount, $toPolicy, $toPSF, $toSkin, $salt);
+ else
+ putAlreadyLoggedIn();
+
+ if ($_SESSION['authStatus'] == _AUTH_FAILURE) {
+ putElfelejtettJelszoForm($ADAT);
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/public/password/changeMyPassword-pre.php b/mayor-orig/mayor-base/www/policy/public/password/changeMyPassword-pre.php
new file mode 100644
index 00000000..e9ef2f3c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/public/password/changeMyPassword-pre.php
@@ -0,0 +1,72 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ _clearSessionCache($sessionID);
+ unsetTokenCookies(); // ha valaki ide tévedne, visszavonjuk a Tokenjét és a cache-t is vissza kell
+
+ $toPolicy = readVariable($_REQUEST['toPolicy'], 'enum', 'private', $POLICIES);
+ $userAccount = readVariable($_REQUEST['userAccount'], 'emptystringnull', (defined('_USERACCOUNT'))?_USERACCOUNT:null);
+
+ if (file_exists(_CONFIGDIR."/$toPolicy-conf.php")) {
+ require_once(_CONFIGDIR."/$toPolicy-conf.php");
+ }
+
+ if ($AUTH[$toPolicy]['enableSelfPasswordChange']) {
+
+ // Az elküldött név+jelszó ellenőrzése
+ if ($action == 'changePassword') {
+
+
+ require_once('include/modules/auth/base/login.php');
+
+ if (file_exists('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/base.php')) {
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/base.php');
+ }
+ if (file_exists('include/backend/'.$AUTH[$toPolicy]['backend'].'/password/changePassword.php')) {
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/password/changePassword.php');
+ }
+ if (file_exists('include/backend/'.$AUTH[$toPolicy]['backend'].'/auth/login.php')) {
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/auth/login.php');
+ }
+
+ $userPassword = readVariable($_POST['userPassword'], 'emptystringnull');
+ $newPassword = readVariable($_POST['newPassword'], 'emptystringnull');
+ $verification = readVariable($_POST['verification'], 'emptystringnull');
+
+ if ($verification == '' or $newPassword == '') {
+ $_SESSION['alert'][] = 'message:empty_field';
+ } elseif ($verification != $newPassword) {
+ $_SESSION['alert'][] = 'message:pw_not_match';
+ } elseif ($userPassword == $newPassword) {
+ $_SESSION['alert'][] = 'message:pw_not_changed';
+ } else {
+
+ $result = userAuthentication($userAccount, $userPassword, $accountInformation, $toPolicy);
+ if ($result >= _AUTH_FAILURE) {
+ $_SESSION['alert'][] = 'message:auth_failure'; // megj: a hibaüzenetet a userAuthentication egyébként generálja. kell ez?
+ } else {
+
+ if (changeMyPassword($userAccount, $userPassword, $newPassword, $toPolicy)) {
+// Újra be kell jelentkezni mindenképp...
+// updateSessionPassword($userAccount, $toPolicy, $verification);
+// if (validUser($sessionID,$policy))
+// header('Location: '.location("index.php?policy=$toPolicy&sessionID=".$sessionID, array('alert')));
+// else
+ header('Location: '.location("index.php?page=auth&f=login&toPolicy=$toPolicy", array('alert')));
+ } else {
+ $_SESSION['alert'][] = 'message:pw_change_failed';
+ }
+ }
+
+ }
+
+ } // action
+
+ } else {
+
+ $_SESSION['alert'][] = 'page:pw_change_disabled';
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/public/password/changeMyPassword.php b/mayor-orig/mayor-base/www/policy/public/password/changeMyPassword.php
new file mode 100644
index 00000000..29ebbf10
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/public/password/changeMyPassword.php
@@ -0,0 +1,9 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $userAccount, $toPolicy;
+
+ putChangePasswordForm($userAccount, $toPolicy);
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/public/password/resetPassword-pre.php b/mayor-orig/mayor-base/www/policy/public/password/resetPassword-pre.php
new file mode 100644
index 00000000..3590f27a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/public/password/resetPassword-pre.php
@@ -0,0 +1,68 @@
+<?php
+ if (_RIGHTS_OK !== true) die();
+
+ $selector = readVariable($_POST['selector'], 'string', readVariable($_GET['selector'], 'hexa', null));
+ $validator = readVariable($_POST['validator'], 'string', readVariable($_GET['validator'], 'hexa', null));
+
+ if ($validator!='') {
+ $q = "SELECT * FROM accountRecovery WHERE selector = '%s' AND expires >= NOW()";
+ $r = db_query($q, array('debug'=>false,'fv'=>'getPasswordRecoveryRequest','modul'=>'login','result'=>'record','values'=>array($selector)));
+ }
+ if (!is_array($r)) {
+ $_SESSION['alert']['page'] = 'message:wrong_data:A jelszó-helyreállítási kérelem nem létezik, vagy lejárt!';
+ } else {
+
+ $calc = hash('sha256', hex2bin($validator));
+ if (hash_equals($calc, $r['token'])) {
+ // The reset token is valid. Authenticate the user.
+ //dump($r);
+ $ADAT = $r;
+ $ADAT['validator'] = $validator;
+
+ $toPolicy = $r['policy'];
+ $userAccount = $r['userAccount'];
+
+ if (file_exists(_CONFIGDIR."/$toPolicy-conf.php")) {
+ require_once(_CONFIGDIR."/$toPolicy-conf.php");
+ }
+
+ if ($AUTH[$toPolicy]['enablePasswordReset']) {
+
+ if ($action == 'resetPassword') {
+
+ if (file_exists('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/base.php')) {
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/base.php');
+ }
+ if (file_exists('include/backend/'.$AUTH[$toPolicy]['backend'].'/password/changePassword.php')) {
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/password/changePassword.php');
+ }
+
+ $newPassword = readVariable($_POST['newPassword'], 'emptystringnull');
+ $verification = readVariable($_POST['verification'], 'emptystringnull');
+
+ if ($verification == '' or $newPassword == '') {
+ $_SESSION['alert'][] = 'message:empty_field';
+ } elseif ($verification != $newPassword) {
+ $_SESSION['alert'][] = 'message:pw_not_match';
+ } else {
+ if (changePassword($userAccount, $newPassword, $toPolicy)) {
+ $q = "DELETE FROM accountRecovery WHERE userAccount = '%s'";
+ db_query($q, array('debug'=>false,'fv'=>'getPasswordRecoveryRequest','modul'=>'login','result'=>'delete','values'=>array($userAccount)));
+ header('Location: '.location("index.php?page=auth&f=login&toPolicy=$toPolicy", array('alert')));
+ } else {
+ $_SESSION['alert'][] = 'message:pw_change_failed';
+ }
+ }
+ }
+
+ } else {
+ $_SESSION['alert'][] = 'page:pw_reset_disabled';
+ }
+
+ } else {
+ $_SESSION['alert']['page'] = 'message:insufficient_access:A jelszó-helyreállítási kérelem nem érvényes!';
+ }
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/public/password/resetPassword.php b/mayor-orig/mayor-base/www/policy/public/password/resetPassword.php
new file mode 100644
index 00000000..eaefcc8c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/public/password/resetPassword.php
@@ -0,0 +1,9 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $ADAT;
+
+ if ($ADAT['userAccount']!='') putResetPasswordForm($ADAT);
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/public/portal/rpc/rpc-pre.php b/mayor-orig/mayor-base/www/policy/public/portal/rpc/rpc-pre.php
new file mode 100644
index 00000000..edd9a592
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/public/portal/rpc/rpc-pre.php
@@ -0,0 +1,104 @@
+<?php
+/*
+ MOVED!!
+ - mayor-base/public/rpc/rpc
+ - mayor-portal-mayor/rpc/controller/rpc
+ ===========================================
+
+ require_once('include/share/ssl/ssl.php');
+
+ // MOVE
+ function getRegisztraltIskolaAdat($nodeId) {
+ if ($nodeId=='') {
+ $q = "SELECT * FROM regisztracio";
+ $r = db_query($q, array('modul'=>'portal','result'=>'indexed'));
+ } else {
+ $q = "SELECT * FROM regisztracio WHERE nodeId='%s'";
+ $v = array($nodeId);
+ $r = db_query($q, array('modul'=>'portal','result'=>'record','values'=>$v));
+ }
+ return $r;
+ }
+
+ function getPublicDataByNodeIdFromReg($nodeId) {
+ $q = "SELECT * FROM regisztracio WHERE nodeId='%s'";
+ $v = array($nodeId);
+ $r = db_query($q, array('debug'=>false,'fv'=>'getPublicDataByNodeIdFromReg','modul'=>'portal','result'=>'record','values'=>$v));
+ return $r;
+ }
+ function modRegData($nodeId, $regId, $DATA) {
+ $q = "UPDATE regisztracio SET ".implode(',',array_fill(0, count($DATA), "%s='%s'"))." WHERE regId=%u AND nodeId=%u";
+ foreach ($DATA as $key=>$val) {
+ $v[] = $key; $v[] = $val;
+ }
+ $v[] = $regId; $v[] = $nodeId;
+ $r = db_query($q, array('debug'=>true,'fv'=>'modRegData','modul'=>'portal','values'=>$v));
+ if ($r) return true;
+ else return $q;
+ }
+
+ /* Class: Interconnect AES * /
+
+ /* remote procedure call remote controller * /
+ try
+ {
+ /* rights.php:
+ $RPC = new Interconnect();
+ $RPC->setRemoteHostByNodeId($senderNodeId);
+ $REQUEST = $RPC->processRequest();
+ * /
+ $REQUEST = $RPC->getIncomingRequest();
+ $func = $REQUEST['func'];
+
+ }
+ catch (Exception $e)
+ {
+ $func='';
+ $DATA = array('error'=>$e->getMessage());
+ }
+ // processing
+ $DATA = array();
+ if (isset($func) && $func!='') {
+ switch ($func) {
+ case 'getVersion':
+ case 'ping':
+ $DATA = array('func'=>'getVersion','response_revision'=>_MAYORREV,'pong');
+ $RPC->setResponse($DATA);
+ break;
+ case 'checkRegistration':
+ $DATA = getPublicDataByNodeIdFromReg($senderNodeId);
+ if (is_array($DATA)) $valid = 1; else $valid = 0;
+ $DATA = array('func'=>$func,'valid'=>$valid,'status'=>$RPC->getStatus(),'get'=>$_GET,'post'=>$_POST);
+ $RPC->setResponse($DATA);
+ break;
+ case 'getPublicDataByNodeId':
+ $DATA = getPublicDataByNodeIdFromReg($REQUEST['nodeId']);
+ $RPC->setResponse($DATA);
+ break;
+ case 'modRegData':
+ $DATA['result'] = modRegData($senderNodeId,$REQUEST['regId'],$REQUEST['data']);
+ $DATA['func'] = 'modRegData';
+ $RPC->setResponse($DATA);
+ break;
+ case 'getIskola':
+ $iskolaAdat = getRegisztraltIskolaAdat($REQUEST['otherNodeId']);
+ $DATA = array('func'=>$func,'iskolaAdat'=>$iskolaAdat);
+ $RPC->setResponse($DATA);
+ break;
+ case 'getRegistrationData':
+ $DATA = getPublicDataByNodeIdFromReg($REQUEST['nodeId']);
+ break;
+ case 'refreshRegistration':
+ break;
+ case 'getPublicData':
+ $iskolaAdat = getRegisztraltIskolaAdat();
+ $DATA = array('func'=>$func,'szomszedok'=>$iskolaAdat);
+ $RPC->setResponse($DATA);
+ break;
+ default:
+ break;
+ }
+
+ }
+*/
+?>
diff --git a/mayor-orig/mayor-base/www/policy/public/portal/start.php b/mayor-orig/mayor-base/www/policy/public/portal/start.php
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/public/portal/start.php
diff --git a/mayor-orig/mayor-base/www/policy/public/rpc/rpc-pre.php b/mayor-orig/mayor-base/www/policy/public/rpc/rpc-pre.php
new file mode 100644
index 00000000..30336e9e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/public/rpc/rpc-pre.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ module: mayor-base
+
+ A alap metódusok RPC kezelője
+
+*/
+ require_once('include/share/ssl/ssl.php');
+
+ try
+ {
+ /*
+ rights.php:
+ $RPC = new Interconnect();
+ $RPC->setRemoteHostByNodeId($senderNodeId);
+ $REQUEST = $RPC->processRequest();
+ */
+ $REQUEST = $RPC->getIncomingRequest();
+ $func = $REQUEST['func'];
+
+ }
+ catch (Exception $e)
+ {
+ $func='';
+ $DATA = array('error'=>$e->getMessage());
+ }
+ // processing
+ $DATA = array();
+ if (isset($func) && $func!='') {
+ switch ($func) {
+ // itt a currens verziót kellene visszaadni
+ case 'getVersion':
+ case 'ping':
+ $DATA = array('func'=>'getVersion','revision'=>_MAYORREV,'pong');
+ $RPC->setResponse($DATA);
+ break;
+ default:
+ $DATA['result'] = 'ismeretlen függvény: '.$func;
+ break;
+ }
+
+ }
+?>
diff --git a/mayor-orig/mayor-base/www/policy/public/session/logout-pre.php b/mayor-orig/mayor-base/www/policy/public/session/logout-pre.php
new file mode 100644
index 00000000..013be18c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/public/session/logout-pre.php
@@ -0,0 +1,29 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ require('include/share/session/close.php');
+
+ closeSession();
+ closeOldAndIdleSessions();
+ if (defined('_ALLOW_SULIX_SSO') && _ALLOW_SULIX_SSO===true) {
+ session_start();
+ unset($_SESSION['portalLoggedPassword']);
+ unset($_SESSION['szuloDiakIdOk']);
+ session_destroy();
+ header('Location: /');
+ } else {
+// session_start();
+// unset($_SESSION['szuloDiakIdOk']);
+// session_destroy();
+ session_start();
+ session_unset();
+ session_destroy();
+ session_write_close();
+ setcookie(session_name(),'',0,'/');
+ setcookie($sessionID,'',0,'/');
+ session_regenerate_id(true);
+ header('Location: index.php');
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/policy/public/session/set-pre.php b/mayor-orig/mayor-base/www/policy/public/session/set-pre.php
new file mode 100644
index 00000000..d3e77776
--- /dev/null
+++ b/mayor-orig/mayor-base/www/policy/public/session/set-pre.php
@@ -0,0 +1,10 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $_JSON;
+ $layout = readVariable($_GET['layout'],'id',0);
+ $_SESSION['pageLayout'] = $layout;
+ $_JSON['success'] = true;
+ $_JSON['pageLayout'] = $layout;
+?>
diff --git a/mayor-orig/mayor-base/www/skin/ajax/base/html/alert.phtml b/mayor-orig/mayor-base/www/skin/ajax/base/html/alert.phtml
new file mode 100644
index 00000000..e81b75ed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/ajax/base/html/alert.phtml
@@ -0,0 +1,25 @@
+<?php
+/*
+ Module: base
+
+ js_alert($alert)
+ html_alert($alert)
+
+ AJAX változat: csak akkor írja ki az alert-et, ha van $_GET['showAlert'] be van állítva...
+*/
+
+// ------------------------------------------------------------------- //
+// Az $alert két részből áll: típus:hiba //
+// típus: alert : javaScript alert //
+// message : hibaüzenet után az oldal betöltődik //
+// page : hibaüzenet után az oldal nem töltődik be //
+// info : információs üzenet //
+// ------------------------------------------------------------------- //
+ function html_alert($alert='') {
+
+ $_SESSION['alert'] = array();
+ return true;
+
+ }
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/ajax/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/ajax/base/html/base.phtml
new file mode 100644
index 00000000..cfa12036
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/ajax/base/html/base.phtml
@@ -0,0 +1,101 @@
+<?php
+/*
+ Module: base
+
+ html_base($sessionID,$page,$sub,$f,$lang,$skin,$MENU)
+ html_head($page,$f,$lang,$skin)
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = 'default')
+ html_mayor_foot()
+ //page($page,$sub,$f,$lang,$skin) --> base.php
+ putValidXHTML()
+*/
+
+
+ /* Egy JSON példa
+ echo '{ "action" : [ '
+ .'{ "func" : "alert", "param" : [ "Helló", "World" ] }, '
+ .'{ "func" : "update", "param" : [ { "id" : "updateForm", "content" : "Helló Update" } ]}, '
+ .'{ "func" : "hide", "param" : [ "settings" ] },'
+ .'{ "func" : "show", "param" : [ "updateWindow" ] },'
+ .'{ "func" : "remove", "param" : [ "head" ] },'
+ .'{ "func" : "removeClass", "param" : [ { "id" : "jegy-1", "class" : "jegy1" } ] },'
+ .'{}],'
+ .' "name" : "Violet", "occupation" : "character" }';
+ */
+
+
+// -------------------------------------------------------------------
+// html_base() : a html oldal szerkezete
+// -------------------------------------------------------------------
+
+function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) {
+
+ global $_JSON;
+
+ if ($_JSON['result'] === false) @header("HTTP/1.1 400 Bad Request");
+ else @header("HTTP/1.1 200 OK");
+
+ @header('Content-type: application/json; charset=utf-8');
+ @header("Etag: ".__SALTVALUE.'-'.__SALTNAME.'-'.$_SESSION['mayorToken']); // ajax request esetén innen tudható a _SALTVALUE
+
+ _httpHeader();
+
+ if ( (!is_array($_JSON)?false:json_encode($_JSON)) === false) {
+ ob_start();
+ define('_UNIQUE', uniqid());
+ //echo '<div id="alertMsg'._UNIQUE.'"></div>';
+ page($page,$sub,$f,$lang,$skin,$policy);
+ $_JSON['html'] = ob_get_contents();
+ ob_end_clean();
+ }
+ if (is_array($_SESSION['alert']) && count($_SESSION['alert'])>0) {
+ for($i=0; $i<count($_SESSION['alert']); $i++) {
+
+ /* állítsuk össze a hibaüzenetet */
+ $_E = explode(':', $_SESSION['alert'][$i]);
+ $_JSON['alert'][] = $_E;
+ }
+ $_JSON['alertHTML'] = _html_base_alert($_SESSION['alert']); // UJ
+ }
+ echo json_encode($_JSON);
+ $_SESSION['alert'] = array();
+
+}
+
+function _html_base_alert($alert) {
+ if (is_array($alert))
+ foreach($alert as $a) {
+ $param = array();
+ $tmp = explode(':', $a);
+ $aType = readVariable($tmp[0], 'enum', 'message', array('message','info','page')); $aCode = $tmp[1];
+ for ($p = 2; $p < count($tmp); $p++) $param[] = htmlspecialchars($tmp[$p]);
+ $pstr = '';
+ // preparing $msg
+ if (!isset($ALERT_MSG[$aCode]) || $ALERT_MSG[$aCode] == '')
+ $msg = $ALERT_MSG['default'].' (<span class="alertParam">'.$aType.':'.$aCode.')</span>';
+ else $msg = $ALERT_MSG[$aCode];
+
+ // paraméter behelyettesítés
+ for($i = 0; $i < count($param); $i++) {
+ $_msg = $msg;
+ $msg = @str_replace("%$i%",'<span class="alertParam">'.($param[$i]).'</span>',$msg);
+ if ($param[$i] != '' and $_msg == $msg) $pstr .= '<span class="alertParam">'.($param[$i]).'</span>,';
+ }
+ if ($pstr != '') $msg .= ' (' . substr($pstr,0,-1) . ')';
+ if (($aType == 'message') or ($aType == 'page')) {
+ $title = _ERROR;
+ $class = 'errorMsg';
+ if ($aType == 'page') $showPage = false;
+ } else {
+ $title = _INFORMATION;
+ $class = 'infoMsg';
+ }
+ $msg = '<span>'.$title.':</span> ' . $msg;
+ $showPage .= '<div class="'.$class.'">'.str_replace('***','<br/>',$msg).'</div>'."\n";
+ }
+
+ return $showPage;
+
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/api/base/html/alert.phtml b/mayor-orig/mayor-base/www/skin/api/base/html/alert.phtml
new file mode 100644
index 00000000..fe4c54e4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/api/base/html/alert.phtml
@@ -0,0 +1,13 @@
+<?php
+
+ function html_alert() {
+ // global $ALERT_MSG; // jelenleg nem használjuk
+ if (isset($_SESSION['alert'])===true && is_array($_SESSION['alert'] === true && count($_SESSION['alert'])>0)) {
+ var_dump($_SESSION['alert']);
+ return false; // ne jelenjen meg az oldal
+ } else {
+ return true; // nincs hiba
+ }
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/api/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/api/base/html/base.phtml
new file mode 100644
index 00000000..34ca652f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/api/base/html/base.phtml
@@ -0,0 +1,11 @@
+<?php
+
+ function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) {
+ global $_JSON;
+ @header("Content-Type: application/json; charset=utf-8");
+ define('_UNIQUE', uniqid()); //--TODO GLOBAL
+ page($page,$sub,$f,$lang,$skin,$policy);
+ echo json_encode($_JSON);
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/blue/base/color_schemes.php b/mayor-orig/mayor-base/www/skin/blue/base/color_schemes.php
new file mode 100644
index 00000000..68fcc9dc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/blue/base/color_schemes.php
@@ -0,0 +1,93 @@
+<?php
+
+ // default
+ $_COLOR_SCHEMES['blue'] = array(
+ 'head' => '#3496B9', // a fő szín a felső sávban/menüben
+ 'login' => '#00c0ff', // bejelentkezés:hover, svg-k színe
+ 'active' => '#3facc7', // első szint aktív eleme, 3. szint alap,...
+ 'hover' => '#4fbcd7', // hover a menüben és almenüben
+ 'hover-color' => '#fdb933', // !! Betűszín - hover, aktív...
+ 'nav' => '#3fa79c', // a menü kinyíló része
+ 'nav2' => '#d2dfe9', // nav kettő, kinyitó fül, stb
+ );
+ // yellow
+ $_COLOR_SCHEMES['yellow'] = array(
+ 'head' => '#B99634',
+ 'login' => '#ffc000',
+ 'active' => '#c7ac3f',
+ 'hover' => '#d7bc4f',
+ 'hover-color' => '#800',
+ 'nav' => '#9ca73f',
+ 'nav2' => '#e9dfd2',
+ );
+ // red
+ $_COLOR_SCHEMES['red'] = array(
+ 'head' => '#B93234',
+ 'login' => '#ff4000',
+ 'active' => '#c7393f',
+ 'hover' => '#d73f4f',
+ 'hover-color' => '#fdb933',
+ 'nav' => '#9c383f',
+ 'nav2' => '#e9dfd2',
+ );
+ // black
+ $_COLOR_SCHEMES['black'] = array(
+ 'head' => '#000000',
+ 'login' => '#000000',
+ 'active' => '#888888',
+ 'hover' => '#070f0f',
+ 'hover-color' => '#fdb933',
+ 'nav' => '#666666',
+ 'nav2' => '#e0e0e0',
+ );
+ // nemzeti
+ $_COLOR_SCHEMES['nemzeti'] = array(
+ 'head' => '#006000',
+ 'login' => '#a00000',
+ 'active' => '#a00000',
+ 'hover' => '#ffffff',
+ 'hover-color' => '#ff0000',
+ 'nav' => '#666666',
+ 'nav2' => '#e0ffe0',
+ );
+ // green
+ $_COLOR_SCHEMES['green'] = array(
+ 'head' => '#32B934',
+ 'login' => '#40ff00',
+ 'active' => '#39c73f',
+ 'hover' => '#3fd74f',
+ 'hover-color' => '#b9fd33',
+ 'nav' => '#389c3f',
+ 'nav2' => '#dfe9d2',
+ );
+ // dark-blue
+ $_COLOR_SCHEMES['dark-blue'] = array(
+ 'head' => '#008',
+ 'login' => '#008',
+ 'active' => '#36a',
+ 'hover' => '#4ac',
+ 'hover-color' => '#fdb933',
+ 'nav' => '#44b',
+ 'nav2' => '#bcd',
+ );
+
+ function colorToRGBA($color, $opacity) {
+ if ($color[0] == '#') {
+ $hex = str_replace("#", "", $color);
+ if(strlen($hex) == 3) {
+ $r = hexdec(substr($hex,0,1).substr($hex,0,1));
+ $g = hexdec(substr($hex,1,1).substr($hex,1,1));
+ $b = hexdec(substr($hex,2,1).substr($hex,2,1));
+ } else {
+ $r = hexdec(substr($hex,0,2));
+ $g = hexdec(substr($hex,2,2));
+ $b = hexdec(substr($hex,4,2));
+ }
+ $rgb = array($r, $g, $b);
+ } else {
+ $rgb = explode(',', str_replace(' ','',substr($color,4,strlen($color)-1)));
+ }
+ return 'rgba('.implode(', ', $rgb).', '.$opacity.')';
+ }
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/blue/base/css/base.css b/mayor-orig/mayor-base/www/skin/blue/base/css/base.css
new file mode 100644
index 00000000..350a7f96
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/blue/base/css/base.css
@@ -0,0 +1,209 @@
+/*
+ Module: base
+
+ A rétegek sorrendje: nav2(1), head(2), poz(2), nav1(3), nav(3), logo(3), logobadge(4)
+*/
+
+@media screen {
+
+ html { height: 100%; }
+ html body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin:0px; padding:0px; height: 100%; overflow: auto; }
+ #debug {
+ padding: 20px; background: rgba(0,0,0,0.7); color: yellow; border: 0px red solid;
+ position: absolute; z-index: 1000; top: 0px; left: 0px; right: 0px;
+ }
+ #debug pre { background: rgba(240,240,240,0.9); color: #880000; padding: 10px; margin: 0px;}
+ #help { box-shadow: 3px 3px 15px 0px rgba(100,100,100,5.0);
+ position: absolute; top: 10px; left: 50%; height: 600px; width: 1000px; z-index: 500; margin: 0 -500px;
+ border: 1px solid rgb(0,0,0); background: white; }
+ #help iframe { width: 1000px; height: 558px; margin: 0; border: none; }
+ #helpHeader { text-align: center; font-size: 16px; width: 980px; height: 20px; margin: 0px; background: #194a5b; cursor: pointer; color: white; font-weight: bold; padding: 10px; }
+ #hideHelp {
+ position: absolute; top:6px; right: 4px;
+ cursor: pointer; background: #822; color: white; padding: 2px 5px; font-size: 16px;
+ border: #822 1px solid; border-radius: 3px; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
+ box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);
+ }
+
+ a { text-decoration:none; }
+ .onClickHideShow, .onClickHide, .onClickShow { cursor: pointer; }
+
+ div.errorMsg { margin: 10px 20%; background: #fee; border: solid 1px red; border-radius: 2px; padding: 10px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); }
+ div.errorMsg span { font-weight: bold; color: #f00; }
+ div.infoMsg { margin: 10px 20%; background-color: #eee; border: solid 1px rgb(90,133,184); border-radius: 2px; padding: 10px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); }
+ div.infoMsg span { font-weight: bold; color: rgb(21,71,123); }
+ div.errorMsg span.alertParam, div.infoMsg span.alertParam { font-weight: normal; font-style: italic; color: green; }
+
+ #logo { z-index: 3; height: 40px; position: absolute; top: 8px; left: 14px; border: 0px none; }
+ #logobadge { z-index: 4; height: 25px; position: fixed; top: 28px; left: 90px; border: 0px none; }
+
+ #head { z-index: 2; position: absolute; width: 100%; height: 60px; background: #3496B9 no-repeat right center; }
+
+ #nav, #nav ul { list-style: none; }
+ #nav { z-index: 3; margin: 0; height: 60px; padding-left: 140px; }
+ #nav li { position: relative; }
+/*!*/
+ #nav > li { float: left; z-index: 20; text-align: center; padding: 0; height: 60px;
+ /* background: #47c980; background: #3facc7; */ background: #3fa79c; border-bottom: 1px solid #D2DFE9; }
+ #nav > li.active { max-width: 160px; }
+/* #nav > li:nth-child(odd) { background: #929cb3; }*/
+ #nav > li:hover { z-index: 22; }
+ #nav > li > ul { top: 50px; left: -1px; /* background: #1A4B5C; */}
+ #nav > li > ul > li > a { margin-left: 10px; }
+
+ #nav li:hover { background: #4fbcd7;}
+/*!*/
+ #nav li.active { background: #3496B9; background: #3facc7; }
+ #nav li a { display: block; padding: 3px 10px; color: white; }
+/* #nav > li > a { padding: 23px 40px; height: 60px; display: inline-block;} */
+ #nav > li > a { padding: 0px 20px; height: 60px; vertical-align: middle; display: table-cell; min-width: 100px; }
+ #nav li a:hover { color:#fdb933; }
+ #nav li:hover > ul { display: block; }
+/* #nav li.over ul { display: block; }*/
+
+ #nav li.nav1szin { background: #3496B9; border-bottom: 1px solid white; }
+ #nav ul.sub { background: #3facc7; }
+
+
+ #nav ul { display: none; position: absolute; width: 160px; padding: 0px; }
+ #nav ul span { float: left; margin: 6px 5px; color: white; }
+/*!*/
+ #nav > li > ul { top: 61px; }
+ #nav ul > li { background: #3496B9; }
+ #nav ul li { text-align: left; margin-bottom: 1px; }
+ #nav ul li a { padding: 6px 10px; }
+ #nav ul li.active > a { color:#fdb933; }
+
+ #nav ul ul { top: 0px; left: -145px; z-index: 30; background: #3facc7; background: #3496B9}
+ #nav ul ul a { background: #3facc7; }
+ #nav ul ul a:hover { background: #4fbcd7; }
+
+ #nav li.start {
+ height: 60px; min-width: 0; padding-right: 0px; padding-left: 6px;
+ background: #D2DFE9; border-right: 4px solid #D2DFE9; border-radius: 0px 30px 30px 0px; border-bottom: 0px;
+ z-index: 20;
+ }
+
+ #poz { z-index: 2; padding: 0; list-style: none; background-color: rgb(230,230,230); margin: 0; height: 20px; border-bottom: #f3f3f3 solid 4px; text-shadow: 0px 1px rgba(52, 150, 185, 0.1); }
+ #poz > li { padding: 2px 6px; }
+ #poz > li div.nev { float: right; padding: 2px; width: auto; color: #3496b9; text-align: right; }
+ #poz > li div.nev span { margin-right: 0px; font-size:12px; }
+ #poz > li div.nev span:hover { color:#00c0ff; }
+ #poz > li a { margin-right:5px; margin-left:15px; padding:0px; margin-top:0px; vertical-align: middle;}
+
+ #settings { width: 300px;
+ margin-top: 5px; position:relative; right: 20px;
+ background: white;
+ box-shadow: rgba(0, 0, 0, 0.117188) 0px 2px 4px 0px;
+ border: 1px solid rgb(230,230,230);
+ border-top-width: 0px;
+ }
+ #settings div { padding: 20px 10px; box-shadow: rgba(0, 0, 0, 0.117188) 0px 2px 4px 0px;
+ border-bottom: 1px solid rgb(230,230,230); margin-bottom: 2px;}
+ #settings div p { margin: 0; padding: 0; text-align: center; }
+ #settings div p.name { font-weight: bold; }
+ #settings table { width: 100%; background: #D2DFE9; background: rgb(245,245,245);}
+ #settings td { width: 50%; text-align: center; padding: 10px; }
+ #settings td a {
+ display: inline-block;
+ vertical-align: baseline; line-height: 29px;
+ position: static;
+ padding: 0px 8px; height: 29px; margin: 0px 8px;
+ text-align: center; text-decoration: none; font-weight: bold; font-size: 10px;
+ background: white; color: #444;
+ border: solid 1px rgba(0, 0, 0, 0.0976563); border-radius: 2px;
+ }
+ #settings td a:hover { border: #c6c6c6 1px solid; }
+ #poz > li span.school {
+ font-variant: small-caps;
+ font-size: 14px;
+ color: white;
+ letter-spacing: 0.4em;
+ overflow: hidden;
+ }
+
+ #nav1 { z-index: 3; position: absolute; margin-left: 310px; margin-right: 0px; width: 100%;}
+ #nav1 div { background: rgba(52,150,185,0.6); }
+ #nav1 div a { padding: 22px 12px 23px 12px; display: inline-block; text-decoration: none; color: #fff; background: #3496b9; margin-top: 1px; line-height: 14px; }
+ #nav1 div a:hover { color: #fdb933; /*background: #5FCCE7; */}
+ #nav1 div a.aktiv { color:#fdb933; /*background: #4FBCD7; */}
+ #nav1 div span.onClickHideShow { cursor: pointer; color: white; background: rgba(255,255,255,0.2); padding: 23px 12px 23px 12px; float: right; margin-right: 310px/* annyi, amennyi a #nav1 bal margója!*/; }
+
+ #nav2.vertical { z-index: 1; width: 140px; margin: 0; height: 100%;
+ background-color: #D2DFE9;
+
+ background: -webkit-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ background: -moz-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ background: linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ margin-top: -25px;
+ padding-top: 25px;
+ position: fixed;
+ overflow: auto;
+ top:83px;
+ }
+ #nav2.vertical ul { margin: 0; padding: 0; list-style: none; }
+ #nav2.vertical ul li { border-bottom: solid 1px rgba(100,100,100,0.4); }
+ #nav2.vertical ul li:first-child { border-top: solid 1px rgba(100,100,100,0.4); }
+ #nav2.vertical ul li a { display: block; color: black; font-size: 11px; width: 128px; padding: 6px 6px; text-decoration: none; }
+ #nav2.vertical ul li a.aktiv { color: #ee7f00; font-size: 12px; }
+ #nav2.vertical ul li a:hover { color: white; background: #9abcd8; }
+
+ #nav2.horizontal { z-index: 1; width: 100%;
+ margin-top: 0px;
+ top: 83px;
+ text-align: center;
+ padding-top: 5px; padding-bottom: 5px;
+ position: fixed;
+ overflow: none;
+ border-bottom: solid 3px #eeeeee;
+ background-color: #82bfd5;
+ color: white;
+ font-size:x-small;
+ }
+ #nav2.horizontal ul { margin: 0; padding: 0; list-style: none; }
+ #nav2.horizontal ul li { display: inline; border-right: solid 1px #888888; }
+ #nav2.horizontal ul li:last-child { display: inline; border-right: solid 0px #888888; }
+ #nav2.horizontal ul li a {display: inline; color: white; width: 128px; padding: 0px 6px; text-decoration: none; }
+ #nav2.horizontal ul li a.aktiv { color: white; background-color: orange;}
+ #nav2.horizontal ul li a:hover { color: white; background: orange; }
+ #nav2.horizontal:hover {
+
+ }
+
+ div.mayorfoot { text-align: center; font-size:smaller; color: #aaa; }
+ div.mayorfoot a { color: rgba(52, 150, 185, 0.6);}
+ div.mayorfoot:hover a { color: rgba(52, 150, 185, 1);}
+ #mayorfoot.leftpad { margin-top:2em; margin-left: 141px; }
+ #mayorfoot.toppad { margin-top: 40px; margin-left: 0px; }
+
+ #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); }
+ #updateWindow { z-index: 152; position: fixed; background: rgb(255,255,255); min-height: 100px; min-width: 200px; border: #3496B9 3px solid; border-radius: 10px;}
+ #updateWindow #updateHeader { min-height: 20px; min-width: 100px; background: #1a4c5c; color: white; text-align: center; line-height: 20px; position: relative; top: -13px; border-radius: 20px; margin: 0 50px; border: solid 3px #3496b9; }
+ #updateWindow #updateCloseButton { position: absolute; right: -20px; top: -20px; z-index: 0; background : white; border: solid 3px #3496b9; border-radius: 20px;}
+ #updateWindow #updateCloseButton:hover { background : #eeeeee;}
+ #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 400px;
+ border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4);
+ }
+ #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; }
+ #keyHelp td.key { color: yellow; text-align: right; width: 100px; }
+ #keyHelp td.desc { color: white; text-align: left; }
+
+ #logo, #head, #nav1, #nav, #poz { position: fixed; }
+ #head { top: 0; left: 0; }
+ #nav { top: 0; left: 0; }
+ #nav1 { top: 0; }
+ #poz { top: 60px; width: 100%; }
+
+ #mayorbody { padding-top: 1px; padding-right: 0px;
+ /*margin-left:0px;*/ margin-top: 83px;
+ }
+ #mayorbody.leftpad {
+ margin-left: 141px; }
+ #mayorbody.toppad {
+ margin-left: 0px; top:33px; position: relative;
+ }
+
+}
+@media print {
+ #nav, #nav1, #nav2, #poz, #head, #logo, #mayorfoot, #logobadge { display: none; }
+}
diff --git a/mayor-orig/mayor-base/www/skin/blue/base/css/base.php b/mayor-orig/mayor-base/www/skin/blue/base/css/base.php
new file mode 100644
index 00000000..36b8db17
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/blue/base/css/base.php
@@ -0,0 +1,212 @@
+<?php header('Content-type: text/css');
+
+ require('../color_schemes.php'); // keretrendszeren kívül fut le!!
+ if (!isset($_GET['scheme']) || !is_array($_COLOR_SCHEMES[$_GET['scheme']]))
+ $_COLORS = $_COLOR_SCHEMES['blue'];
+ else
+ $_COLORS = $_COLOR_SCHEMES[$_GET['scheme']];
+
+?>/*
+ Module: base
+
+ A rétegek sorrendje: nav2(1), head(2), poz(2), nav1(3), nav(3), logo(3), logobadge(4)
+*/
+@media screen {
+
+ html { height: 100%; }
+ html body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin:0px; padding:0px; height: 100%; overflow: auto; }
+ #debug {
+ padding: 20px; background-color: rgba(0,0,0,0.7); color: yellow; border: 0px red solid;
+ position: absolute; z-index: 1000; top: 0px; left: 0px; right: 0px;
+ }
+ #debug pre { background-color: rgba(240,240,240,0.9); color: #880000; padding: 10px; margin: 0px;}
+ #help { box-shadow: 3px 3px 15px 0px rgba(100,100,100,5.0);
+ position: absolute; top: 10px; left: 50%; height: 600px; width: 1000px; z-index: 500; margin: 0 -500px;
+ border: 1px solid rgb(0,0,0); background-color: white; }
+ #help iframe { width: 1000px; height: 558px; margin: 0; border: none; }
+ #helpHeader { text-align: center; font-size: 16px; width: 980px; height: 20px; margin: 0px; background-color: #194a5b; cursor: pointer; color: white; font-weight: bold; padding: 10px; }
+ #hideHelp {
+ position: absolute; top:6px; right: 4px;
+ cursor: pointer; background-color: #822; color: white; padding: 2px 5px; font-size: 16px;
+ border: #822 1px solid; border-radius: 3px; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
+ box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);
+ }
+
+ a { text-decoration:none; }
+ .onClickHideShow, .onClickHide, .onClickShow { cursor: pointer; }
+
+ div.errorMsg { margin: 20px 20%; background-color: #fee; border: solid 1px red; border-radius: 2px; padding: 15px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); }
+ div.errorMsg span { font-weight: bold; color: #f00; }
+ div.infoMsg { margin: 20px 20%; background-color: #eef; border: groove 1px #0000ff; border-radius: 2px; padding: 15px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); }
+ div.infoMsg span { font-weight: bold; color: #00a; }
+ div.errorMsg span.alertParam, div.infoMsg span.alertParam { font-weight: normal; font-style: italic; color: green; }
+
+ #logo { z-index: 3; height: 40px; position: absolute; top: 8px; left: 14px; border: 0px none; }
+ #logobadge { z-index: 4; height: 25px; position: fixed; top: 28px; left: 90px; border: 0px none; }
+
+ #head { z-index: 2; position: absolute; width: 100%; height: 60px; background: <?php echo $_COLORS['head']; ?> no-repeat right center; }
+
+ #nav, #nav ul { list-style: none; }
+ #nav { z-index: 3; margin: 0; height: 60px; padding-left: 140px; }
+ #nav li { position: relative; }
+/*!*/
+ #nav > li { float: left; z-index: 20; text-align: center; padding: 0; height: 60px; background-color: <?php echo $_COLORS['nav']; ?>; border-bottom: 1px solid <?php echo $_COLORS['nav2']; ?>; }
+ #nav > li.active { max-width: 160px; }
+ #nav > li:hover { z-index: 22; }
+ #nav > li > ul { top: 50px; left: -1px; }
+ #nav > li > ul > li > a { margin-left: 10px; }
+
+ #nav li:hover { background-color: <?php echo $_COLORS['hover']; ?>;}
+/*!*/
+ #nav li.active { background-color: <?php echo $_COLORS['active']; ?>; }
+ #nav li a { display: block; padding: 3px 10px; color: white; }
+ #nav > li > a { padding: 0px 20px; height: 60px; vertical-align: middle; display: table-cell; min-width: 100px; }
+ #nav li a:hover { color: <?php echo $_COLORS['hover-color']; ?>; }
+ #nav li:hover > ul { display: block; }
+
+ #nav li.nav1szin { background-color: <?php echo $_COLORS['head']; ?>; border-bottom: 1px solid white; }
+ #nav ul.sub { background-color: <?php echo $_COLORS['active']; ?>; }
+
+
+ #nav ul { display: none; position: absolute; width: 160px; padding: 0px; }
+ #nav ul span { float: left; margin: 6px 5px; color: white; }
+/*!*/
+ #nav > li > ul { top: 61px; }
+ #nav ul > li { background-color: <?php echo $_COLORS['head']; ?>; }
+ #nav ul li { text-align: left; margin-bottom: 1px; }
+ #nav ul li a { padding: 6px 10px; }
+ #nav ul li.active > a { color: <?php echo $_COLORS['hover-color']; ?>; }
+
+ #nav ul ul { top: 0px; left: -145px; z-index: 30; background-color: <?php echo $_COLORS['head']; ?>; }
+ #nav ul ul a { background-color: <?php echo $_COLORS['active']; ?>; }
+ #nav ul ul a:hover { background-color: <?php echo $_COLORS['hover']; ?>; }
+
+ #nav li.start {
+ height: 60px; min-width: 0; padding-right: 0px; padding-left: 6px;
+ background-color: <?php echo $_COLORS['nav2']; ?>; border-right: 4px solid <?php echo $_COLORS['nav2']; ?>; border-radius: 0px 30px 30px 0px; border-bottom: 0px;
+ z-index: 20;
+ }
+
+ #poz { z-index: 2; padding: 0; list-style: none; background-color: rgb(230,230,230); margin: 0; height: 20px; border-bottom: #f3f3f3 solid 4px; text-shadow: 0px 1px rgba(52, 150, 185, 0.1); }
+ #poz > li { padding: 2px 6px; }
+ #poz > li div.nev { float: right; padding: 2px; width: auto; color: <?php echo $_COLORS['head']; ?>; text-align: right; }
+ #poz > li div.nev span { margin-right: 0px; font-size:12px; }
+ #poz > li div.nev span:hover { color:<?php echo $_COLORS['login']; ?>; }
+ #poz > li a { margin-right:5px; margin-left:15px; padding:0px; margin-top:0px; vertical-align: middle;}
+
+ #settings { width: 300px;
+ margin-top: 5px; position:relative; right: 20px;
+ background-color: white;
+ box-shadow: rgba(0, 0, 0, 0.117188) 0px 2px 4px 0px;
+ border: 1px solid rgb(230,230,230);
+ border-top-width: 0px;
+ }
+ #settings div { padding: 20px 10px; box-shadow: rgba(0, 0, 0, 0.117188) 0px 2px 4px 0px;
+ border-bottom: 1px solid rgb(230,230,230); margin-bottom: 2px;}
+ #settings div p { margin: 0; padding: 0; text-align: center; }
+ #settings div p.name { font-weight: bold; }
+ #settings table { width: 100%; background-color: rgb(245,245,245); }
+ #settings td { width: 50%; text-align: center; padding: 10px; }
+ #settings td a {
+ display: inline-block;
+ vertical-align: baseline; line-height: 29px;
+ position: static;
+ padding: 0px 8px; height: 29px; margin: 0px 8px;
+ text-align: center; text-decoration: none; font-weight: bold; font-size: 10px;
+ background-color: white; color: #444;
+ border: solid 1px rgba(0, 0, 0, 0.0976563); border-radius: 2px;
+ }
+ #settings td a:hover { border: #c6c6c6 1px solid; }
+ #poz > li span.school {
+ font-variant: small-caps;
+ font-size: 14px;
+ color: white;
+ letter-spacing: 0.4em;
+ overflow: hidden;
+ }
+
+ #nav1 { z-index: 3; position: absolute; margin-left: 310px; margin-right: 0px; width: 100%;}
+ #nav1 div { background-color: <?php echo colorToRGBA($_COLORS['head'], 0.6); ?>; }
+ #nav1 div a { padding: 22px 12px 23px 12px; display: inline-block; text-decoration: none; color: #fff; background-color: <?php echo $_COLORS['head']; ?>; margin-top: 1px; line-height: 14px; }
+ #nav1 div a:hover { color: <?php echo $_COLORS['hover-color']; ?>; }
+ #nav1 div a.aktiv { color: <?php echo $_COLORS['hover-color']; ?>; }
+ #nav1 div span.onClickHideShow { cursor: pointer; color: white; background-color: rgba(255,255,255,0.2); padding: 23px 12px 23px 12px; float: right; margin-right: 310px/* annyi, amennyi a #nav1 bal margója!*/; }
+
+ #nav2.vertical { z-index: 1; width: 140px; margin: 0; height: 100%;
+ background-color: <? echo $_COLORS['nav2']; ?>;
+
+ background: -webkit-linear-gradient(top, <? echo $_COLORS['nav2']; ?> 0%,<? echo $_COLORS['nav2']; ?> 50%,#ffffff 100%);
+ background: -moz-linear-gradient(top, <? echo $_COLORS['nav2']; ?> 0%,<? echo $_COLORS['nav2']; ?> 50%,#ffffff 100%);
+ background: linear-gradient(top, <? echo $_COLORS['nav2']; ?> 0%,<? echo $_COLORS['nav2']; ?> 50%,#ffffff 100%);
+ margin-top: -25px;
+ padding-top: 25px;
+ position: fixed;
+ overflow: auto;
+ top:83px;
+ }
+ #nav2.vertical ul { margin: 0; padding: 0; list-style: none; }
+ #nav2.vertical ul li { border-bottom: solid 1px rgba(100,100,100,0.4); }
+ #nav2.vertical ul li:first-child { border-top: solid 1px rgba(100,100,100,0.4); }
+ #nav2.vertical ul li a { display: block; color: black; font-size: 11px; width: 128px; padding: 6px 6px; text-decoration: none; }
+ #nav2.vertical ul li a.aktiv { color: #ee7f00; font-size: 12px; }
+ #nav2.vertical ul li a:hover { color: white; background-color: #9abcd8; }
+
+ #nav2.horizontal { z-index: 1; width: 100%;
+ margin-top: 0px;
+ top: 83px;
+ text-align: center;
+ padding-top: 5px; padding-bottom: 5px;
+ position: fixed;
+ overflow: none;
+ border-bottom: solid 3px #eeeeee;
+ background-color: #82bfd5;
+ color: white;
+ font-size:x-small;
+ }
+ #nav2.horizontal ul { margin: 0; padding: 0; list-style: none; }
+ #nav2.horizontal ul li { display: inline; border-right: solid 1px #888888; }
+ #nav2.horizontal ul li:last-child { display: inline; border-right: solid 0px #888888; }
+ #nav2.horizontal ul li a {display: inline; color: white; width: 128px; padding: 0px 6px; text-decoration: none; }
+ #nav2.horizontal ul li a.aktiv { color: white; background-color: orange;}
+ #nav2.horizontal ul li a:hover { color: white; background-color: orange; }
+ #nav2.horizontal:hover {
+
+ }
+
+ div.mayorfoot { text-align: center; font-size:smaller; color: #aaa; }
+ div.mayorfoot a { color: rgba(52, 150, 185, 0.6);}
+ div.mayorfoot:hover a { color: rgba(52, 150, 185, 1);}
+ #mayorfoot.leftpad { margin-top:2em; margin-left: 141px; }
+ #mayorfoot.toppad { margin-top: 40px; margin-left: 0px; }
+
+ #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); }
+ #updateWindow { z-index: 152; position: fixed; background-color: rgb(255,255,255); min-height: 100px; min-width: 200px; border: <?php echo $_COLORS['head']; ?> 3px solid; border-radius: 10px;}
+ #updateWindow #updateHeader { min-height: 20px; min-width: 100px; background-color: #1a4c5c; color: white; text-align: center; line-height: 20px; position: relative; top: -13px; border-radius: 20px; margin: 0 50px; border: solid 3px <?php echo $_COLORS['head']; ?>; }
+ #updateWindow #updateCloseButton { position: absolute; right: -20px; top: -20px; z-index: 0; background-color: white; border: solid 3px <?php echo $_COLORS['head']; ?>; border-radius: 20px;}
+ #updateWindow #updateCloseButton:hover { background-color: #eeeeee;}
+ #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 400px;
+ border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4);
+ }
+ #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; }
+ #keyHelp td.key { color: yellow; text-align: right; width: 100px; }
+ #keyHelp td.desc { color: white; text-align: left; }
+
+ #logo, #head, #nav1, #nav, #poz { position: fixed; }
+ #head { top: 0; left: 0; }
+ #nav { top: 0; left: 0; }
+ #nav1 { top: 0; }
+ #poz { top: 60px; width: 100%; }
+
+ #mayorbody { padding-top: 1px; padding-right: 0px;
+ /*margin-left:0px;*/ margin-top: 83px;
+ }
+ #mayorbody.leftpad {
+ margin-left: 141px; }
+ #mayorbody.toppad {
+ margin-left: 0px; top:33px; position: relative;
+ }
+
+}
+@media print {
+ #nav, #nav1, #nav2, #poz, #head, #logo, #mayorfoot, #logobadge { display: none; }
+}
diff --git a/mayor-orig/mayor-base/www/skin/blue/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/blue/base/html/base.phtml
new file mode 100644
index 00000000..ebe1161b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/blue/base/html/base.phtml
@@ -0,0 +1,401 @@
+<?php
+/*
+ Module: base
+
+ html_base($sessionID,$page,$sub,$f,$lang,$skin,$MENU)
+ html_head($page,$f,$lang,$skin)
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = 'default')
+ html_mayor_foot()
+ //page($page,$sub,$f,$lang,$skin) --> base.php
+ putValidXHTML()
+*/
+
+ require('skin/blue/base/color_schemes.php');
+ if (!defined('__COLOR_SCHEME') || !is_array($_COLOR_SCHEMES[__COLOR_SCHEME]))
+ $_COLORS = $_COLOR_SCHEMES['blue'];
+ else
+ $_COLORS = $_COLOR_SCHEMES[__COLOR_SCHEME];
+
+
+// -------------------------------------------------------------------
+// html_base() : a html oldal szerkezete
+// -------------------------------------------------------------------
+
+function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) {
+
+ _httpHeader();
+
+ if ($MENU['set'][$policy][$page][$sub][$f]['refresh'] > 0) {
+ @header("Refresh:".intval($MENU['set'][$policy][$page][$sub][$f]['refresh']));
+ }
+
+ html_head($page,$sub,$f,$lang,$skin);
+ _debugLayer();
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin);
+ echo '<div id="mayorerror"></div>';
+ $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'leftpad' : 'toppad';
+ echo '<div class="mayorbody '.$_defaultPageLayout.'" id="mayorbody">';
+ page($page,$sub,$f,$lang,$skin,$policy);
+ echo '</div>';
+ html_mayor_foot();
+}
+
+// -------------------------------------------------------------------
+// html_head() : html fejlec kiirasa
+// -------------------------------------------------------------------
+
+function html_head($page,$sub,$f,$lang,$skin) {
+
+ global $INCLUDES, $SSSHH, $SSSBB;
+
+ if ($f == '') $f = $page;
+ ## ----------------------------------------------
+ ## Note http://hixie.ch/advocacy/xhtml
+ ## But this is crazy! Using Doctype sniffing instead...
+ ## Also read: http://www.mozilla.org/docs/web-developer/faq.html
+ ## header('Content-type: application/xhtml+xml');
+ ## -----------------------------------------------
+
+ // debug üzenetek layer-ének lezárása
+// if (defined('__START_DEBUG') && __START_DEBUG === true) echo "</div>\n<!--// debug end //-->";
+
+ echo '<?xml version="1.0" encoding="utf-8"?>'."\n";
+ echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
+ echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="hu">'."\n";
+ echo '<head>'."\n";
+ echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'."\n";
+ echo '<title>';
+ if (defined('_SITE')) echo ' - '._SITE.' - ';
+ echo _MAIN_TITLE;
+ echo '.';
+ echo _MAYORREV;
+ echo '</title>'."\n";
+ includeCSS($page,$sub,$f,$skin);
+ includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices
+ includeJS($page,$sub,$f,$skin);
+ if (is_string($SSSHH) && $SSSHH!='') echo $SSSHH;
+
+ if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ echo '<link rel="shortcut icon" href="/skin/blue/base/img/favicon.ico" />'."\n";
+ echo "</head>\n<body>\n";
+ if (is_string($SSSBB) && $SSSBB!='') echo $SSSBB;
+
+}
+
+// -------------------------------------------------------------------
+// mayor_menu(): a menü kiiratása
+// -------------------------------------------------------------------
+
+function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) {
+
+ global $policy, $page, $sub, $f, $LANGUAGES, $SKINSSHOW, $_COLORS;
+
+ echo '<ul id="nav" class="hideShowContainer">'."\n";
+ if (is_array($MENU)) {
+ $active_page=false;
+ foreach ($MENU as $aModule => $pItems) {
+ if ($aModule != 'modules') {
+ for ($i = 0; $i < count($pItems); $i++) {
+ if ($page == $aModule and
+ ( $active_page===false && ( $_SERVER["REQUEST_URI"]=='/' || (!isset($pItems[$i]['url'])) || strpos($_SERVER["REQUEST_URI"],$pItems[$i]['url']) !== false || strpos($pItems[$i]['url'],"page=$page") !== false) )
+ ) {
+ echo '<li class="active">';
+ $active_page=true;
+ } else {
+ echo '<li style="display: none;" class="openable">';
+ }
+ if (isset($pItems[$i]['url']) && $pItems[$i]['url'] != '') {
+ if ($pItems[$i]['url'][0] == '&') $href = href("index.php?page=$aModule".$pItems[$i]['url']);
+ elseif (substr($pItems[$i]['url'],0,4) == 'http') $href = href($pItems[$i]['url'], array());
+ elseif (isset($pItems[$i]['get']) && is_array($pItems[$i]['get'])) $href = href($pItems[$i]['url'], $pItems[$i]['get']);
+ else $href = href($pItems[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aModule");
+ }
+ echo '<a href="'.$href.'"'.((isset($pItems[$i]['target']))?' target="'.$pItems[$i]['target'].'" ':'').'>'
+ .$pItems[$i]['txt']
+ .'</a>'."\n";
+ // --- sub ---
+
+ @$pageArray = $MENU['modules'][$aModule];
+
+ if (is_array($pageArray) && count($pageArray)>0) {
+ echo '<ul class="sub">'."\n";
+ foreach ($pageArray as $aSub => $sItems) {
+ if ($aSub != 'sub') {
+ for ($j=0;$j<count($sItems);$j++) {
+ if (
+ $page == $aModule and
+ (
+ (!isset($sItems[$j]['url']) && $f == $aSub)
+ || (isset($sItems[$j]['url']) && strpos($_SERVER["REQUEST_URI"],$sItems[$j]['url']) !== false)
+ )
+ ) {
+ echo '<li class="active">'; $activeSub = true;
+ } else {
+ echo '<li>'; $activeSub = false;
+ }
+ if (isset($sItems[$j]['url']) && $sItems[$j]['url'] != '') {
+ if ($sItems[$j]['url'][0] == '&') $href = href("index.php?page=$aModule&f=$aSub".$sItems[$j]['url']);
+ elseif (substr($sItems[$j]['url'],0,4) == 'http') $href = href($sItems[$j]['url'], array());
+ elseif (isset($sItems[$j]['get']) && is_array($sItems[$j]['get'])) $href = href($sItems[$j]['url'], $sItems[$j]['get']);
+ else $href = href($sItems[$j]['url']);
+ } else {
+ $href = href("index.php?page=$aModule&f=$aSub",array('policy','sessionID','lang','skin'));
+ }
+ @$subArray = $MENU['modules'][$aModule]['sub'][$aSub];
+ if (!is_array($subArray) || count($subArray) == 0) {
+ echo '<a href="'.$href.'"'.((isset($sItems[$j]['target']))?' target="'.$sItems[$j]['target'].'" ':'').'>'
+ .$sItems[$j]['txt'].'</a>';
+ } else { // vannak al-al menúk (f - menü)
+ echo '<span>&laquo;</span><a href="'.$href.'"'.((isset($sItems[$j]['target']))?' target="'.$sItems[$j]['target'].'" ':'').'>'
+ .$sItems[$j]['txt'].'</a>';
+ // -- f menü --
+ echo '<ul class="fmenu">'."\n";
+
+ foreach ($subArray as $anF => $items) {
+ for ($k=0;$k<count($items);$k++) {
+ if ($aModule == $page and
+ $aSub == $sub and
+ $anF == $f and
+ (!isset($items[$k]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$k]['url']) !== false)
+ ) { echo '<li class="active">'."\n"; }
+ else { echo '<li>'."\n"; }
+
+ if (isset($items[$k]['url']) && $items[$k]['url'] != '') {
+ if ($items[$k]['url'][0] == '&') $href = href("index.php?page=$aModule&sub=$aSub&f=$anF".$items[$k]['url']);
+ elseif (substr($items[$k]['url'],0,4) == 'http') $href = href($items[$k]['url'], array());
+ elseif (isset($items[$k]['get']) && is_array($items[$k]['get'])) $href = href($items[$k]['url'], $items[$k]['get']);
+ else $href = href($items[$k]['url']);
+ } else {
+ $href = href("index.php?page=$aModule&sub=$aSub&f=$anF");
+ }
+ echo '<a href="'.$href.'"'.((isset($items[$k]['target']))?' target="'.$items[$k]['target'].'" ':'').'> '
+ .$items[$k]['txt'].' </a>'."\n";
+
+ echo '</li>'."\n"; // al-al menüpont vége (f)
+ } // for - on items
+ } // foreach - on subArray
+
+ echo '</ul>'."\n"; // fmenu
+ } // vannak al-al menük (f -menü)
+
+ echo '</li>'."\n"; // almenü-pont vége (sub)
+ } // for - on sItems
+ } // ha nem sub == aSub
+ } // foreach pageArray
+ echo '</ul>'."\n"; // submenu
+ } // vannak almenük (sub)
+ echo '</li>'."\n"; // menüpont vége (page)
+ } // for - on pItems
+ } // ha aModule != 'modules'
+ } // foreach on MENU
+ }
+ echo '<li class="start onClickHideShow">&nbsp</li>';
+ echo '</ul>'."\n";
+
+ $loginout_img = _svgLoginout(array('print'=>false, 'color' => $_COLORS['login']));
+ $down_svg = _svgDown(array('print'=>false, 'color' => $_COLORS['login']));
+ // ------------------------
+
+ echo '<ul id="poz">';
+ echo '<li>';
+ if (!defined('_SCHOOL_NAME')) define('_SCHOOL_NAME',_SITE/*.' - '._MAIN_TITLE.'.'._MAYORREV*/);
+ echo '<span class="school">'._SCHOOL_NAME.'</span>';
+
+ if ($policy == 'public') {
+ echo '<div class="nev hideShowContainer">'.$down_svg.'<span class="onClickHideShow" style="padding-left:14px;" > '._LOGIN.'</span>';
+ echo '<a id="logout" title="'._LOGIN.'" href="'.href('index.php?page=auth&f=login&toPolicy=private',array('skin','lang','sessionID')).'">';
+ echo $loginout_img;
+ echo '</a>';
+ echo '<div id="settings" class="openable" style="display: none">';
+ echo '<table>';
+ echo '<tr>';
+ echo '<td><a href="'.href('index.php?page=auth&f=login&toPolicy=parent').'">'.str_replace(' ','&nbsp;',_PARENT_LOGIN).'</a></td>';
+ echo '<td><a href="'.href('index.php?page=auth&f=login&toPolicy=private').'">'._LOGIN.'</a></td>';
+ echo '</tr>';
+ echo '</table>';
+ formBegin();
+ formEnd();
+ echo '</div>';
+ echo '</div>';
+ } else {
+ echo '<div class="nev hideShowContainer">'.$down_svg.'<span class="onClickHideShow" style="padding-left:14px;" > '._USERCN.'</span>';
+ echo '<a id="logout" title="'._LOGOUT.'" href="'.href('index.php?page=session&f=logout&policy=public',array('skin','lang','sessionID')).'">';
+ echo $loginout_img;
+ echo '</a>';
+ echo '<div id="settings" class="openable" style="display: none">';
+ echo '<div>';
+ echo '<p class="name">'._USERCN.'</p>';
+ echo '<p class="account">'._USERACCOUNT.'</p>';
+ echo '</div>';
+ echo '<table>';
+ echo '<tr>';
+ echo '<td><a href="'.href('index.php?page=password&f=changeMyPassword&userAccount='._USERACCOUNT.'&policy=public',array('skin','lang','sessionID')).'">'._PASSWORD.'</a></td>';
+ echo '<td><a href="'.href('index.php?page=session&f=logout&policy=public',array('skin','lang','sessionID')).'">'._LOGOUT.'</a></td>';
+ echo '</tr>';
+ echo '</table>';
+ formBegin();
+ /* Némi javascipt támogatás a session kezelésre ebben a formban */
+ $sessionMaxIdleTime=$sessionAlertTime=0;
+ if ((_SESSIONID!='' && _POLICY!='public') && defined('_SESSION_MAX_IDLE_TIME') && _SESSION_MAX_IDLE_TIME>0) {
+ $sessionMaxIdleTime=((_SESSION_MAX_IDLE_TIME*1000*60*60)+1000);
+ if (defined('_SESSION_ALERT_TIME')) $sessionAlertTime = ((_SESSION_MAX_IDLE_TIME*1000*60*60)-(_SESSION_ALERT_TIME*1000*60));
+ }
+ echo '<input type="hidden" id="SESSION_MAX_IDLE_TIME" value="'.$sessionMaxIdleTime.'" />';
+ echo '<input type="hidden" id="SESSION_ALERT_TIME" value="'.$sessionAlertTime.'" />';
+ /* --- */
+ formEnd();
+ echo '</div>';
+ echo '</div>';
+ } // policy != punlic
+//var_dump(substr($_SERVER["REQUEST_URI"],0,strpos($_SERVER["REQUEST_URI"],'sessionID=')));
+
+ echo '</li>';
+ echo '</ul>';
+
+
+}
+
+// -------------------------------------------------------------------
+// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated)
+// -------------------------------------------------------------------
+
+function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) {
+
+ global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy, $SCHOOL_LOGO, $SCHOOL_IDENTITY, $SCHOOL_URL, $NAV;
+
+
+ _updateWindow();
+ _keyHelp();
+
+ //if (date('m')==12) $imgextra = '-santa'; else $imgextra = '';
+ if (defined('_HOME_LOGO') && file_exists(_HOME_LOGO)) $HOME_LOGO=_HOME_LOGO;
+ elseif (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png'))
+ $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png';
+
+ if (defined('_HOME_LOGO_BADGE') && file_exists(_HOME_LOGO_BADGE)) $HOME_LOGO_BADGE=_HOME_LOGO_BADGE;
+// elseif (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png'))
+// $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png';
+
+echo '<div id="head"></div>';
+
+ echo "<!--// NAV1 start //-->\n";
+ echo '<div id="nav1">';
+ echo '<div class="hideShowContainer">';
+
+ $db = 0; $max = __MAX_MENU; // Az egy sorba megjeleníthető menüpontok maximális száma
+ if (is_array($NAV[1])) foreach ($NAV[1] as $N1) {
+ $txt = '';
+ $i = intval($N1['index']);
+ if (isset($N1['sub'])) {
+ if (!isset($N1['f'])) {
+ $M = $MENU['modules'][ $N1['page'] ][ $N1['sub'] ][ $i ];
+ } else {
+ $M = $MENU['modules'][ $N1['page'] ]['sub'][ $N1['sub'] ][ $N1['f'] ][ $i ];
+ }
+ } elseif (isset($N1['f'])) {
+ $M = $MENU['modules'][ $N1['page'] ][ $N1['f'] ][ $i ];
+ } else {
+ $M = $MENU[$N1['page']][ $i ];
+ }
+ $txt = $M['txt'];
+ $url = $M['url'];
+ $get = $M['get'];
+ if (isset($get)) $href = href( isset($url)?$url:'index.php?page='.$N1['page'].'&sub='.$N1['sub'].'&f='.$N1['f'], $get);
+ else $href = href( isset($url)?$url:'index.php?page='.$N1['page'].'&sub='.$N1['sub'].'&f='.$N1['f']);
+
+ if ($db<$max) {
+ if ($page == $N1['page'] && $sub == $N1['sub'] && (!isset($N1['f']) || $f == $N1['f'])) $class = ' class="aktiv" '; else $class = '';
+ } else {
+ if ($page == $N1['page'] && $sub == $N1['sub'] && (!isset($N1['f']) || $f == $N1['f'])) $class = ' class="openable aktiv" '; else $class = ' class="openable" ';
+ $style = ' style="display: none;" ';
+ }
+
+ if ($txt != '') { // Hibás hivatkozás ne rontsa el a menüt!
+ if ($db == $max) echo '<span class="onClickHideShow openable">&nabla;</span><span class="onClickHideShow openable" style="display: none;">&Delta;</span><br />';
+ echo '<a href="'.$href.'"'.$class.$style.'>';
+ echo $txt;
+ echo '</a>';
+ $db++;
+ }
+
+
+ }
+ echo '</div>';
+ echo '</div>'."\n<!--// NAV1 end //-->\n";
+
+ mayor_menu($MENU,$sessionID,$lang,$skin);
+ echo '<a href="'.href('index.php').'">';
+ echo '<img src="'.$HOME_LOGO.'" alt="MaYoR" id="logo" />';
+ if ($HOME_LOGO_BADGE!='') echo '<img src="'.$HOME_LOGO_BADGE.'" alt="" id="logobadge" />';
+ echo '</a>';
+
+
+ echo "<!--// NAV2 start //-->\n";
+ $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'vertical' : 'horizontal';
+ echo '<div id="nav2" class="'.$_defaultPageLayout.'">';
+// echo '<span id="hideNav2:tavtarto" class="onClickHide">X</span>';
+ if (is_array($NAV[2])) {
+ echo '<ul>';
+ foreach ($NAV[2] as $N2) {
+ $txt = '';
+ $i = intval($N2['index']);
+ if (isset($N2['sub'])) {
+ if (!isset($N2['f'])) {
+ $M = $MENU['modules'][ $N2['page'] ][ $N2['sub'] ][ $i ];
+ } else {
+ $M = $MENU['modules'][ $N2['page'] ]['sub'][ $N2['sub'] ][ $N2['f'] ][ $i ];
+ }
+ } elseif (isset($N2['f'])) {
+ $M = $MENU['modules'][ $N2['page'] ][ $N2['f'] ][ $i ];
+ } else {
+ $M = $MENU[$N2['page']][ $i ];
+ }
+ $txt = $M['txt'];
+ $url = $M['url'];
+ $get = $M['get'];
+ if (isset($get)) $href = href( isset($url)?$url:'index.php?page='.$N2['page'].'&sub='.$N2['sub'].'&f='.$N2['f'], $get);
+ else $href = href( isset($url)?$url:'index.php?page='.$N2['page'].'&sub='.$N2['sub'].'&f='.$N2['f']);
+
+ if ($page == $N2['page'] && $sub == $N2['sub'] && (!isset($N2['f']) || $f == $N2['f'])) $class = ' class="aktiv" '; else $class = '';
+ if ($txt != '') {
+ echo '<li>';
+ echo '<a href="'.$href.'"'.$class.'>';
+ echo $txt;
+ echo '</a>';
+ echo '</li>';
+ }
+ }
+ echo '</ul>';
+ }
+ echo '</div>'."\n<!--// NAV2 end //-->\n";
+
+}
+
+
+// -------------------------------------------------------------------
+// html_mayor_foot() : lablec kiirasa ( )
+// -------------------------------------------------------------------
+
+function html_mayor_foot() {
+ $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'leftpad' : 'toppad';
+ echo '<div class="mayorfoot '.$_defaultPageLayout.'" id="mayorfoot">'._MAIN_FOOTER.'</div>'."\n\n";
+ echo "</body>\n</html>";
+}
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/blue/base/img/favicon.ico b/mayor-orig/mayor-base/www/skin/blue/base/img/favicon.ico
new file mode 100644
index 00000000..5720d1ed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/blue/base/img/favicon.ico
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/blue/base/img/mayor_small_ssl.png b/mayor-orig/mayor-base/www/skin/blue/base/img/mayor_small_ssl.png
new file mode 100644
index 00000000..ca42a8d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/blue/base/img/mayor_small_ssl.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/blue/base/img/mayor_small_ssl.png.orig b/mayor-orig/mayor-base/www/skin/blue/base/img/mayor_small_ssl.png.orig
new file mode 100644
index 00000000..c2b3d41b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/blue/base/img/mayor_small_ssl.png.orig
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/blue/module-auth/css/login.css b/mayor-orig/mayor-base/www/skin/blue/module-auth/css/login.css
new file mode 100644
index 00000000..872d000f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/blue/module-auth/css/login.css
@@ -0,0 +1,46 @@
+@media screen {
+
+div.mayorbody img { border-width: 0px; }
+div.mayorbody h1 {text-align: center; margin:10px; font-size:20px; }
+div.mayorbody h2 {text-align: center; margin:10px; font-size: 15px; }
+div.mayorbody table { font-size: 12px; }
+div.mayorbody table.main {width: 100%; border-width: 0px;}
+div.mayorbody table.loginablak {
+ background-color: #ffffff;
+ border-width: 1px;
+ border-style: solid;
+ border-color: #555550;
+ width:400px}
+div.mayorbody td { padding: 2px }
+div.mayorbody form { margin: 30px;padding: 0px; }
+div.mayorbody input { font-size: 12px; font-family:Verdana,Arial; background-color: #fffff0; border: solid 1px #666690;}
+div.mayorbody select.pp { padding: 0px; margin: 0px; border: none 0px #778890; font-size: 12px; background-color: #eeeee0; font-family: Verdana,Arial; }
+div.mayorbody select.pp>option { border: none 0px black; }
+div.mayorbody input.submit { border: solid 1px #776650; }
+div.mayorbody table.loginablak thead td {
+ background-color: #666690;
+ text-align: center;
+ font-family: Verdana,arial;
+ font-size: 10pt;
+ font-weight: bold;
+ color: white;
+ border-bottom: solid 1px white;
+div.mayorbody }
+div.mayorbody table.loginablak tbody tr.top td { border-top: solid 1px #666690; }
+
+div.mayorbody tfoot td { background-color: #888880; text-align: center; }
+div.mayorbody td.co { text-align: center; vertical-align: bottom; font-family: Verdana,arial; font-size:8pt; }
+div.mayorbody img.aauthImg {
+ border-top: solid 1px #666690;
+ border-bottom: solid 1px #888880;
+ border-left: solid 1px #666690;
+ border-right: solid 1px #888880;
+}
+#warning { height: 40px; }
+#capsLockWarning {
+ background: #ffffaa; color: #ffaaaa;
+ text-align: center; font-size: 20px; font-weight: bold;
+ padding: 20px; margin: 10px auto; width: 300px;
+}
+
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/css/base.css b/mayor-orig/mayor-base/www/skin/classic/base/css/base.css
new file mode 100644
index 00000000..a550588b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/css/base.css
@@ -0,0 +1,753 @@
+@media screen {
+
+ html { height: 100%; }
+ html body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin:0px; padding:0px; height: 100%; overflow: auto; }
+ a { text-decoration:none; }
+ .onClickHideShow, .onClickHide, .onClickShow { cursor: pointer; }
+ .input {outline: none;}
+
+ /* mayorlayers */
+ #debug {
+ padding: 20px; background: rgba(0,0,0,0.7); color: yellow; border: 0px red solid;
+ position: absolute; z-index: 1000; top: 0px; left: 0px; right: 0px;
+ }
+ #debug pre { background: rgba(240,240,240,0.9); color: #880000; padding: 10px; margin: 0px;}
+
+ #help {
+ border-radius: 2px;
+ box-shadow: 3px 3px 15px 0px rgba(100,100,100,5.0);
+ position: absolute; top: 10px; left: 50%; height: 600px; width: 1000px; z-index: 500; margin: 0 -500px;
+ border: 1px solid #888888; background: white; }
+ #help iframe { width: 1000px; height: 558px; margin: 0; border: none; }
+ #helpHeader { text-align: center; font-size: 16px; width: 992px; height: 20px; margin: 0px; background: #44cbf8; cursor: pointer; color: white; font-weight: bold; padding: 4px;
+ border-bottom: #f3f3f3 solid 4px;
+ }
+ #hideHelp {
+ position: absolute; top:4px; right: 4px;
+ cursor: pointer; background: #822; color: white; padding: 2px 5px; font-size: 12px;
+ border: #822 1px solid; border-radius: 2px; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
+/* box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);*/
+ }
+ #hideHelp:hover { background-color:red;}
+
+ div.errorMsg { margin: 10px 20%; background: #fee; border: solid 1px red; border-radius: 2px; padding: 10px; box-shadow: 0px 0px 0px rgba(0,0,0,0.5); }
+ div.errorMsg span { font-weight: bold; color: #f00; }
+ div.infoMsg { margin: 10px 20%; background-color: #eee; border: solid 1px rgb(90,133,184); border-radius: 2px; padding: 10px; box-shadow: 0px 0px 0px rgba(0,0,0,0.5); }
+ div.infoMsg span { font-weight: bold; color: rgb(21,71,123); }
+ div.errorMsg span.alertParam, div.infoMsg span.alertParam { font-weight: normal; color: rgba(0,0,0,0.8); }
+
+ div#mayorErrorSmall span { padding:4px 4px;}
+ div#mayorErrorSmall span.errorMsg { color:red; }
+ div#mayorErrorSmall span.infoMsg { color:rgb(21,71,123); }
+
+ #mayorSearch {
+ z-index:4;
+ position: fixed;
+ width: 500px;
+ max-height: 500px; overflow:auto;
+ padding: 10px;
+ border: 5px solid #ccc;
+ border-radius: 2px;
+ background-color: #fff;
+ top: 30%;
+ left: 50%;
+ margin-top: -100px;
+ margin-left: -250px;
+ box-shadow: 0px 1px 100px 30px rgba(101,101,101,0.9);
+ }
+ #mayorSearch input {
+ overflow:none;
+ font-size:30px;
+ width: 99%;
+ height: 50px;
+ padding: 0px 0px 0px 0px;
+ margin: 0px;
+ border-style: solid;
+ border-width: 0px 0px 1px 0px;
+ border-color: #dddddd;
+ outline: none;
+ }
+
+ #mayorSearch a { display: block; color: cornflowerblue; padding: 2px; font-size: 13px; }
+ #mayorSearch a:before { content:' \25AB '; }
+ #mayorSearch a:hover { text-decoration: underline; }
+ #mayorSearch a.aktiv { outline: solid 2px cornflower; }
+ #mayorSearch a.aktiv:before, #mayorSearch a:hover:before { content:' \25AA '; }
+
+ div.inlinehelp { position: relative; display: inline-block; color:#446688; }
+/* div.inlinehelp span.onClickHideShow { padding: 1px 6px; border-radius: 14px; border: #68a solid 1px; color: #468; font-weight: bold; font-size: 10px;}*/
+ div.inlinehelp span.onClickHideShow { font-size: 10px; color: #446688;}
+ div.inlinehelp p {
+ width: 200px; position: absolute; display: inline-block; top: -15px; left: 35px; z-index: 1000;
+ background-color: #ffa;
+ border: solid 1px #888; padding: 4px; border-radius: 2px;
+ font-weight: normal; text-align: left; white-space: pre-wrap;
+ }
+ div.inlinehelp span.onClickHideShow:hover { color: rgb(106,128,250); }
+
+ /* mayorhead */
+ /* placeholder */
+ #head { z-index: 2; position: absolute; width: 100%; height: 60px;
+ background-color: #3496B9;
+ }
+
+ #mayorhead { }
+
+ #logo { z-index: 3; height: 40px; position: absolute; top: 8px; left: 14px; border: 0px none; }
+ #logobadge { z-index: 4; height: 25px; position: fixed; top: 28px; left: 90px; border: 0px none; }
+
+ #nav, #nav ul { list-style: none; }
+ #nav { z-index: 3; margin: 0px;
+ padding-left: 140px;
+ }
+
+ #nav li { position: relative; }
+ #nav > li { float: left; z-index: 20; text-align: center; padding: 0;
+/* background-color: #3fa79c; */
+ background-color: #3496B9;
+ border-bottom: 0px solid #D2DFE9;
+ /* border-bottom: 1px solid rgb(165,190,200);/* */
+ }
+ #nav > li.active { max-width: 160px; }
+ #nav > li:hover { z-index: 22; }
+ #nav > li > ul { top: 50px; left: -1px; /* background: #1A4B5C; */}
+ #nav > li > ul > li > a { margin-left: 10px; }
+
+ #nav li:hover { background: #4fbcd7;
+ background-color: #3FA79C;
+ }
+ #nav li.active { background: #3facc7; }
+
+ #nav li a { display: block; padding: 3px 10px; color: white; }
+ #nav > li > a { padding: 0px 20px; line-height: 60px; vertical-align: middle; display: table-cell; min-width: 70px;
+ -webkit-transition: all 0.1s ease;
+ transition: all 0.1s ease;
+ }
+ #nav li a:hover { color: orange; }
+ #nav li:hover > ul { display: block; }
+
+ #nav li.nav1szin { background: #3496B9; border-bottom: 1px solid white; }
+ #nav ul.sub { background: #3facc7; }
+
+ #nav ul { display: none; position: absolute; width: 160px; padding: 0px; }
+ #nav ul span { float: left; margin: 6px 5px; color: white; }
+
+ #nav > li > ul { top: 60px; border-top: solid 4px rgba(255,255,255,0.4); }
+ #nav ul > li { background: #3496B9; }
+ #nav ul li { text-align: left; margin-bottom: 1px; }
+ #nav ul li a { padding: 6px 10px; }
+ #nav ul li.active > a { color:#fdb933; }
+
+ #nav ul ul { top: 0px; left: -145px; z-index: 30; background: #3facc7; background: #3496B9}
+ #nav ul ul a { background: #3facc7; }
+ #nav ul ul a:hover { background: #4fbcd7; color: white; border-right: solid 4px orange;} /* mod */
+
+ #nav li.start { /* fogó */
+ height: 20px; min-width: 0; padding-right: 0px; padding-left: 6px;
+ margin-top:20px;
+ background-color:lightgrey;
+ border-radius: 0px 50px 50px 0px; border-bottom: 0px;
+ z-index: 20;
+ }
+
+ #nav:hover li.start {
+ animation: moIn 0.1s; -webkit-animation: moIn 0.1s;
+ }
+
+ #nav li.start:hover {
+ background: #D2DFE9;
+ padding-left:9px;
+ }
+
+ #poz { z-index: 2; padding: 0; list-style: none; background-color: rgb(230,230,230); margin: 0;
+ height: 20px; border-bottom: #f3f3f3 solid 4px; text-shadow: 0px 1px rgba(52, 150, 185, 0.1);
+ border-top: rgb(247, 197, 14) solid 4px;
+ animation-name: niceMaYoR;
+ animation-duration: 30s;
+ animation-iteration-count: 4;
+ animation-direction: alternate;
+ animation-timing-function: ease-in-out;
+ animation-delay: 60s;
+ }
+
+ #poz > li { padding: 2px 6px; }
+ #poz > li div.nev { float: right; padding: 2px; width: auto; color: #3496b9; text-align: right; }
+ #poz > li div.nev span { margin-right: 0px; }
+ #poz > li div.nev span:hover { color:rgb(70, 130, 180);/*color:#00c0ff;*/ }
+ #poz > li div.nev a { color: #3496b9;}
+
+/* #poz > li div.nev span.icon-googleplus, #poz > li div.nev span.icon-facebook { color:#aaa; }*/
+ #poz > li div.nev.googleapi span.icon-googleplus { color: #f44336;}
+ #poz > li div.nev.fbconnect span.icon-facebook { color: #3B5998;}
+
+ #poz > li a { margin-right:4px; margin-left:4px; padding:0px; margin-top:0px; vertical-align: top;}
+
+ #settings {
+ width: 100%;
+ margin-top: 5px; position:relative; right: 0px;
+ background: #eee;
+ border-width: 0px 1px 1px 1px;
+ border-style: solid;
+ border-color: rgb(230,230,230);
+ border-top: dotted 1px #dddddd;
+ }
+ #settings div {
+ padding: 20px 10px;
+ border-bottom: 1px solid rgb(230,230,230);
+ }
+ #settings div p { margin: 0; padding: 0; text-align: center; }
+ #settings div p.name { font-weight: bold; }
+ #settings table { width: 100%; background: rgb(245,245,245);}
+ #settings table:hover { box-shadow: 0px 0px 100px #eeeeee;}
+ #settings td { width: 50%; text-align: center; padding: 10px; }
+ #settings td a {
+ display: inline-block;
+ vertical-align: baseline; line-height: 29px;
+ position: static;
+ padding: 0px 8px; height: 29px; margin: 0px 8px;
+ text-align: center; text-decoration: none; font-weight: bold; font-size: 10px;
+ background: white; color: #444;
+ border: solid 1px rgba(0, 0, 0, 0.0976563);
+ border-radius: 2px;
+ }
+ #settings td a:hover { border: white 1px solid; background-color: #44CBF8; color: white; }
+
+ #poz > li span.school {
+ font-variant: small-caps;
+ font-size: 14px;
+ color: rgb(125,150,160);
+ /* font-weight: bold; */
+ letter-spacing: 0.16em;
+ overflow: hidden;
+ white-space:nowrap;
+ }
+ #poz > li span.school:hover { text-shadow: 0 0 0.2em #eee, 0 0 0.2em #eee; color: #666; cursor: default; }
+
+ #nav1 { z-index: 3; position: absolute; margin-left: 290px; margin-right: 0px; width: 100%;
+
+ }
+ #nav1 div { background: rgba(52,150,185,0.6); }
+ #nav1 div a { line-height:60px; padding: 0px 12px 0px 12px; display: inline-block; text-decoration: none; color: #fff;
+ background: #3496b9; margin-top: 0px;
+ }
+ #nav1 div a:hover { color: #fdb933;
+ background-color: ;
+ box-shadow: inset 0px -3px 0px #44CBF8;
+ }
+ #nav1 div a.aktiv { color:#fdb933; }
+ #nav1 div a.aktiv:hover { color: white; }
+
+ #nav1 div span.onClickHideShow {
+ display:none;
+ cursor: pointer; color: white; background: rgba(255,255,255,0.2); line-height:60px;
+ padding: 0px 12px 0px 12px; float: right; margin-right: 290px/* annyi, amennyi a #nav1 bal margója!*/; }
+
+ #nav2.vertical {
+ z-index: 1; width: 140px; margin: 0; height: 100%;
+ background-color: #D2DFE9;
+/* margin-top: -25px;
+ padding-top: 25px;
+*/ position: fixed;
+ overflow: auto;
+ top:88px;
+ background: -webkit-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ background: -moz-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ background: linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ }
+ #nav2.vertical ul { margin: 0; padding: 0; list-style: none; }
+ #nav2.vertical ul li { border-bottom: solid 1px rgba(100,100,100,0.4); }
+ #nav2.vertical ul li:first-child { border-top: solid 1px rgba(100,100,100,0.4); }
+ #nav2.vertical ul li a { display: block; color: black; font-size: 11px; text-decoration: none; padding: 6px 6px; width:128px; }
+ #nav2.vertical ul li a.aktiv { background-color: white; }
+ #nav2.vertical ul li a:hover { color: white; background: #9abcd8; }
+
+ #nav2.horizontal {
+ z-index: 1; width: 100%;
+ margin-top: 0px;
+ top: 88px;
+ text-align: center;
+ padding-top: 5px; padding-bottom: 5px;
+ position: fixed;
+ overflow: none;
+ border-bottom: solid 3px #eeeeee;
+ background-color: #82bfd5;
+ color: white;
+ font-size:x-small;
+ }
+ #nav2.horizontal ul { margin: 0; padding: 0; list-style: none; }
+ #nav2.horizontal ul li { display: inline; border-right: solid 1px #888888; }
+ #nav2.horizontal ul li:last-child { display: inline; border-right: solid 0px #888888; }
+ #nav2.horizontal ul li a {display: inline; color: white; width: 128px; padding: 0px 6px; text-decoration: none; }
+ #nav2.horizontal ul li a.aktiv { color: white; background-color: orange;}
+ #nav2.horizontal ul li a:hover { color: white; background: orange; }
+ #nav2.horizontal:hover li { }
+
+ div.mayorfoot { text-align: center; font-size:smaller; color: #aaa; }
+ div.mayorfoot a { color: rgba(52, 150, 185, 0.6);}
+ div.mayorfoot:hover a { color: rgba(52, 150, 185, 1);}
+ #mayorfoot.leftpad { margin-top:2em; margin-left: 141px; }
+ #mayorfoot.toppad { margin-top: 40px; margin-left: 0px; }
+
+ #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); }
+
+ #updateWindow { z-index: 152; position: fixed; background: rgb(255,255,255); min-height: 100px; min-width: 200px; border: #3496B9 2px solid; border-radius: 4px; left:20%; right:20%;}
+/* #updateWindow #updateHeader { min-height: 20px; min-width: 100px; background: #1a4c5c; color: white; text-align: center; line-height: 20px; position: relative; top: -13px; border-radius: 4px; margin: 0 50px; border: solid 2px #3496b9; }*/
+ #updateWindow #updateHeader { min-height: 30px; min-width: 100px; background: #1a4c5c; color: white;
+ font-size:16px;text-align: center; line-height:30px; margin: 0 0px 10px 0px; border-bottom: solid 2px rgb(247, 197, 14); /*#3496b9*/ }
+ #updateWindow #updateCloseButton { position: absolute; right: -20px; top: -20px; z-index: 0; background : white; border: solid 3px #3496b9; border-radius: 20px;}
+ #updateWindow #updateCloseButton:hover { background : #eeeeee;}
+ #updateHeader { cursor: pointer; }
+ #updateForm { max-height: 100%; overflow: auto; }
+
+
+ #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 400px;
+ border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4);
+ }
+ #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; }
+ #keyHelp td.key { color: yellow; text-align: right; width: 100px; }
+ #keyHelp td.desc { color: white; text-align: left; }
+
+ #logo, #head, #nav1, #nav, #poz { position: fixed; }
+ #head { top: 0; left: 0; }
+ #nav { top: 0; left: 0; }
+ #nav1 { top: 0; }
+ #poz { top: 60px; width: 100%; }
+
+ #mayorbody { padding-top: 1px; padding-right: 0px;
+ /*margin-left:0px;*/ margin-top: 88px;
+ }
+ #mayorbody.leftpad { margin-left: 141px; }
+ #mayorbody.toppad { margin-left: 0px; top:33px; position: relative;}
+
+ /* alternates */
+ #mayorhead.small #nav1 div a { line-height:30px; }
+ #mayorhead.small #nav > li > a { line-height:30px;}
+ #mayorhead.small #head { height:30px;}
+ #mayorhead.small #poz { height:20px;}
+
+ /* ------------ */
+/* #mayorerror {z-index:100;position:fixed; bottom:0px; min-height:88px; width:100%;background-color: rgba(255,20,147,0.9); border-bottom: solid 1px red; display:none;}*/
+
+ #nav2 .icons span { padding: 0px 6px; vertical-align:middle; cursor:pointer}
+ #nav2.vertical .icons { height:26px; color: lightslategrey;}
+ #nav2.vertical .icons span { font-size:11px; display:table-cell; padding-top:8px;}
+ #nav2.vertical .icons span:hover {color:white;}
+
+ #nav2.horizontal .icons {display:inline; float:left; padding-top:3px; height:100%;}
+ #nav2.horizontal .icons span { font-size:11px; display:inline; padding-top:0px; color: white; border: dotted 1px lightblue; padding:3px; margin:0px 2px; background-color: rgba(100,100,100,0.1);}
+ #nav2.horizontal .icons span:hover {color:orange;}
+
+ #nav2 ul li.fullmenuitem { display:none }
+
+ #nav2fullmenu.aktiv { color: rgb(30, 144, 255);}
+ #nav2fullmenu.aktiv:hover { color: rgb(60,174,255) !important;}
+
+ #mayorGlobalLogin {
+ /*background-color: rgba(0, 0, 0, 0.6); */
+ padding:0px 0px 0px 0px; z-index: 100; position:fixed; top:0px; right:0px; height:60px; max-height:60px; }
+ #mayorGlobalLogin span { color:#eeeeee; padding-right:0px; }
+ #mayorGlobalLogin span.failed { color: rgb(255,215,0);; text-shadow: 0px 0px 2px #ff0000;}
+ #mayorGlobalLogin:hover span.failed { color: rgb(255,235,0); }
+
+ #mayorGlobalLogin form.fb button:hover span { color: #3B5998; }
+ #mayorGlobalLogin form.googleapi button:hover span { color: red; }
+
+ #mayorGlobalLogin div.large { font-size:40px; padding:10px; color: #eeeeee;}
+ #mayorGlobalLogin div.large:hover { font-size:40px; padding:10px; color: white; }
+
+ #mayorGlobalLogin input[type=text] { width:100px; }
+ #mayorGlobalLogin input[type=password] { width:100px; }
+
+ /* add default */
+ #mayorGlobalLogin form input {margin:2px;}
+ #mayorGlobalLogin table { height:60px;}
+
+ #mayorGlobalLogin form button.api {
+ background-color: inherit;
+ border: solid 0px #fff;
+ padding: 0px;
+ font-size: 24px;
+ margin-top: 2px;
+ }
+ #mayorGlobalLogin.restricted { background-color: #F06; }
+
+
+
+ #mglFBconnect.FBstatusunknown { /*color: #aaa;*/ }
+ #mglFBconnect:after { content: " ";
+ margin-left:4px;display: inline-block; width:8px;
+ height:8px;border-radius: 8px;border: solid 1px white; background-color:#888;
+ }
+ #mglFBconnect:hover:after {}
+ #mglFBconnect.FB2:after {background-color:lightgreen;}
+ #mglFBconnect.FB1:after {background-color:orange;}
+ #mglFBconnect.FB0:after {background-color:red;}
+
+ #mayorErrorHide {color: rgb(90, 133, 184); cursor:pointer;}
+ #mayorErrorHide:hover {color: rgba(52, 150, 185, 0.6);}
+
+ .hidden { display:none }
+
+ #ui-datepicker-div {position: relative; z-index:4 !important;}
+
+ #mayorErrorSmall.mayorErrorSmallInfo {
+ overflow:hidden;
+ line-height:22px;
+ border-bottom: solid 4px rgb(106,128,250);
+ border-top: solid 4px lightblue;
+ padding:0px; height:20px; width:100%;
+ background-color:rgba(250,250,250,0.9); position:fixed;
+ top:60px;left:0px; z-index:3
+ }
+
+ #mayorErrorSmall.mayorErrorSmallError {
+ overflow:hidden;
+ line-height:22px;
+ border-bottom: solid 4px red;
+ border-top: solid 4px orange;
+ padding:0px; height:20px; width:100%;
+ background-color:rgba(250,250,250,0.9); position:fixed;
+ top:60px;left:0px; z-index:3
+ }
+
+
+/* .nyitva2 { width:390px !important; }*/
+
+ #updateWindowSide {
+ z-index: 152;
+ position: fixed;
+ background-color: rgba(73, 71, 71,0.92);
+ border-left: solid 0px black;
+ padding:4px;
+ color:white;
+ right: -368px;
+ width: 360px;
+ top:60px;
+ bottom:0;
+ overflow-y: auto;
+ border-top : solid 4px grey;
+ transition: all 300ms ease;
+ }
+ #updateWindowSide.nyitva { right:0px; }
+ #updateWindowSide h1 { padding: 4px 8px; margin:0px; text-align:center; border-bottom: solid 1px #dddddd; }
+ #updateWindowSide h1 div { font-size:16px; min-height: 20px; }
+ #updateWindowSide h1 span#btn_updateWindowSideClose { float:left; font-size:18px; cursor: pointer; }
+ #updateWindowSide h1 span#btn_updateWindowSideClose:hover { color: #777777; }
+ #updateWindowSide a {color: inherit; }
+ #updateWindowSide a:hover {color: inherit; }
+
+ #updateWindowSideSub {
+ z-index: 153;
+ position: fixed;
+ background-color: rgba(100, 100, 100, 0.98);
+ border-left: solid 0px black;
+ padding:4px;
+ color:white;
+ right: -368px;
+ width: 360px;
+ top:60px;
+ bottom:0;
+ overflow-y: auto;
+ border-top : solid 4px #eee;
+ transition: all 300ms ease;
+ }
+ #updateWindowSideSub.nyitva { right:0px; }
+ #updateWindowSideSub h1 { padding: 4px 8px; margin:0px; text-align:center; border-bottom: solid 1px #dddddd; }
+ #updateWindowSideSub h1 div { font-size:16px; min-height: 20px; }
+ #updateWindowSideSub h1 span#btn_updateWindowSideSubClose { float:left; font-size:18px; cursor: pointer; }
+ #updateWindowSideSub h1 span#btn_updateWindowSideSubClose:hover { color: #777777; }
+ #updateWindowSideSub a {color: inherit; }
+ #updateWindowSideSub a:hover {color: inherit; }
+
+ #mayorNaviIconHolder { text-align:center; display:table; width:100%; border-bottom: solid 1px white; font-size:12px; }
+ div.mayorNaviIcon { display:inline-block; text-align:center; padding: 10px 5px 5px 5px; margin-right:4px; border-width:0px 0px 0px 0px; border-style: solid; border-color:white;}
+ div.mayorNaviIcon a { color:inherit; text-decoration: none; display:inline-block;}
+ div.mayorNaviIcon span { font-size:16px; }
+ div.mayorNaviIcon:hover { background-color: cornflowerblue; cursor:pointer; text-shadow: 0px 0px 1px blue;}
+
+ #nav, #nav1,#nav2 {display:visible;}
+ #mayorIcons { height: 26px; color: #789; }
+ #hamburgerIcon {
+display:none;
+color:#D2DFE9; font-size:20px;z-index:100000;
+margin-left:0px;
+position:fixed;
+top:0px;
+padding:0px 8px;
+cursor: pointer;
+vertical-align: middle;
+border-radius:1px;
+border: solid 0px #eee;
+ }
+ #hamburgerIcon span { line-height:60px; }
+ #hamburgerIcon:active {color:white;}
+ #hamburgerIcon.nyitva {
+ color:white;
+ }
+
+ .hamburger { display:none;
+ position:fixed; z-index:1000; top:0px; left:0px;
+ padding: 15px 15px;
+ cursor: pointer;
+ transition-property: opacity, -webkit-filter;
+ transition-property: opacity, filter;
+ transition-property: opacity, filter, -webkit-filter;
+ transition-duration: 0.15s;
+ transition-timing-function: linear;
+ font: inherit;
+ color: inherit;
+ text-transform: none;
+ background-color: transparent;
+ border: 0;
+ margin: 0;
+ overflow: visible;
+ }
+
+ /* author Jonathan Suh jonsuh + mayor.hu */
+ /* https://github.com/jonsuh/hamburgers */
+ .hamburger:hover { opacity: 0.7; }
+ .hamburger-box {width: 20px;height: 30px;display: inline-block;position: relative;}
+ .hamburger-inner {display: block;top: 50%;margin-top: -2px;}
+ .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
+ width: 20px;height: 3px;
+ background-color: #eee;
+ border-radius: 2px;position: absolute;
+ transition-property: -webkit-transform;
+ transition-property: transform;
+ transition-property: transform, -webkit-transform;
+ transition-duration: 0.15s;
+ transition-timing-function: ease;
+ }
+ .hamburger-inner::before, .hamburger-inner::after {content: "";display: block;}
+ .hamburger-inner::before { top: -7px; }
+ .hamburger-inner::after { bottom: -7px; }
+
+ /* Squeeze */
+ .hamburger--squeeze .hamburger-inner {
+ transition-duration: 0.1s;
+ transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
+ }
+ .hamburger--squeeze .hamburger-inner::before { transition: top 0.1s 0.14s ease, opacity 0.1s ease;}
+ .hamburger--squeeze .hamburger-inner::after {
+ transition: bottom 0.1s 0.14s ease, -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
+ transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
+ transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
+ }
+ .hamburger--squeeze.is-active .hamburger-inner {
+ -webkit-transform: rotate(45deg);
+ transform: rotate(45deg);
+ transition-delay: 0.14s;
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
+ }
+ .hamburger--squeeze.is-active .hamburger-inner::before {top: 0;opacity: 0;transition: top 0.1s ease, opacity 0.1s 0.14s ease;}
+
+ .hamburger--squeeze.is-active .hamburger-inner::after {
+ bottom: 0;
+ -webkit-transform: rotate(-90deg);
+ transform: rotate(-90deg);
+ transition: bottom 0.1s ease, -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
+ transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
+ transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
+ }
+ /* end of hamburger */
+
+ #mayorNav {
+ width:100%;
+ position:absolute;
+ z-index:1;
+ background-color: #37699d; /* #82bfd5; */
+ opacity:1;
+ padding-bottom:1em;
+ border-bottom: solid 4px #F7C50E;
+ }
+
+ #mayorNav { color:#fff; }
+ #mayorNav a { color:#fff; }
+ #mayorNav a:hover { color:white; }
+ #mayorNav ul {list-style-type: none; }
+ #mayorNav>ul>li { margin-bottom:1.4em; font-size:16px; padding-bottom:1em;}
+ #mayorNav>ul>li>a { font-size: large; border-bottom: solid 1px #eee; }
+ #mayorNav>ul>li>a:first-child { line-height:2em;}
+ #mayorNav ul li a:active { background-color: #303F9F;}
+ #mayorNav ul li {line-height:2em; }
+
+ #mayorNav div.mayorNavIcons {
+ width:100%;
+ text-align: center;
+ } /* ALERT! elnevezés */
+ #mayorNav div.mayorNavIcons div {
+ background-color: ; display: inline-block; text-align:center; padding:14px;
+ }
+ #mayorNav div.mayorNavIcons div:active { background-color: orange; }
+ #mayorNav div.mayorNavIcons div:hover { background-color: orange; }
+ #mayorNav div.mayorNavIcons div span { font-size:x-large;}
+ div.mayorLogo a img {
+ -webkit-transition: margin 1s;
+ transition: margin 1s;
+ }
+
+ div.arckep--container { display:inline-block; position: relative;overflow: hidden;border: solid 2px #fff; color: white; border-radius: 50%;}
+ div.arckep--container img {width: 100%; height: auto; filter: grayscale(100%)};
+ div.arckep--container:hover { border: solid 2px orange; }
+ div.arckep--container img:hover { filter: grayscale(10%)};
+
+ div.arckepContainer {
+ position: relative;overflow: hidden;border-radius: 50%;border: solid 2px #fff; color: white;
+ }
+ div.arckepContainer span {
+ border-radius: 50%;border: solid 2px #fff; color: white;
+ height:50px; min-height:50px; width:50px; min-width:50px; background-color: #ddd;
+ font-size:20px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ }
+ div.arckepContainer.osztalyAdat:hover span { background-color: #8cc864; }
+ div.arckepContainer.diakNev:hover span { background-color: #ff8c00; }
+ div.arckepContainer.tankorAdat:hover span { background-color: #aca; }
+
+ div.arckepContainer.square,
+ div.arckep--container.square,
+ div.arckepContainer.square span { border-radius: 0px; transition: all 0.1s ease;}
+
+ div.arckepContainer.classic,
+ div.arckep--container.classic,
+ div.arckepContainer.classic span { border-radius: 0px;
+ height:66px; min-height:66px; width:50px; min-width:50px;
+ }
+
+ div.arckepContainer.size_s { height:32px;width:32px;min-height:32px;min-width:32px;font-size:15px; }
+ div.arckepContainer.size_s span {height:30px;width:30px;min-height:30px;min-width:30px;font-size:13px;}
+ div.arckepContainer {display: inline-block !important;}
+ div.arckep--container {display: inline-block !important;}
+
+ div._dotHolder {text-align:center; width:90%; margin:auto; padding:10px 0px;vertical-align:middle;}
+ div._dot {background-color:#eee;display: inline-block;border-radius: 50%;height:10px; width:10px;}
+ div._dot:hover {background-color:cornflowerblue !important;}
+ div._dotHolder:hover div._dot {background-color:#ccc;}
+
+ div.arckepContainer:hover span { border: solid 2px orange; }
+
+}
+@media print {
+ #nav, #nav1, #nav2, #poz, #head, #logo, #logobadge, #mayorGlobalLogin, #updateWindowSide, #updateWindowSideSub, #mayorErrorSmall, .noprint { display: none; }
+ div.arckep--container {display: none;}
+ div.arckepContainer {display: none;}
+ #mayorfoot { text-align:center; font-size:x-small; }
+}
+
+@media (max-width: 900px) {
+ #nav>li a {padding:0px 8px;}
+}
+@media (max-width: 850px) {
+ #nav>li a {width:70px; padding:0px 4px;}
+}
+@media (max-width: 764px) {
+
+ .input {outline: none;}
+ .school { display: none; }
+ #nav, #nav1, #nav2 { display: none;}
+ #nav2>ul:not(:first-child) {display:none;}
+ #mayorbody { margin-left:0px; }
+ #mayorbody.toppad { margin-left: 0px; top:0px; position: relative;}
+ #hamburgerIcon {display:block;}
+ div.mayorLogo a img { margin-left:40px; }
+
+ #mayorSearch {
+ z-index:4;
+ position: fixed;
+ width: 99%;
+ padding: 0px;
+ border: 5px solid #ccc;
+ border-radius: 2px;
+ background-color: #fff;
+ top: 120px;
+ left: 0px;
+ margin-top: 0px;
+ margin-left: 0px;
+ box-shadow: 0px 1px 100px 10px rgba(101,101,101,0.9);
+ }
+ #mayorSearch a { font-size:16px; line-height:16px; padding:8px; }
+
+ .hamburger { display: inline-block;}
+ div.arckepContainer {display:none;}
+ div.arckep--container {display:none;}
+
+ #updateWindowSide input[type="color"],
+ #updateWindowSide input[type="date"],
+ #updateWindowSide input[type="datetime"],
+ #updateWindowSide input[type="datetime-local"],
+ #updateWindowSide input[type="email"],
+ #updateWindowSide input[type="month"],
+ #updateWindowSide input[type="number"],
+ #updateWindowSide input[type="password"],
+ #updateWindowSide input[type="search"],
+ #updateWindowSide input[type="tel"],
+ #updateWindowSide input[type="text"],
+ #updateWindowSide input[type="time"],
+ #updateWindowSide input[type="url"],
+ #updateWindowSide input[type="week"],
+ #updateWindowSide select,
+ #updateWindowSide select:focus,
+ #updateWindowSide textarea {
+ font-size: 16px;
+ }
+ #updateWindowSide, #updateWindowSideSub {
+ overflow: scroll;
+ -webkit-overflow-scrolling: touch;
+ font-size: 16px;
+ }
+ #updateWindowSide.nyitva, #updateWindowSideSub.nyitva {
+ width: 360px;
+ background-color: #494747;
+ }
+
+ #updateWindowSide h1 span#btn_updateWindowSideClose { float: left; font-size: 20px; cursor: pointer; }
+ #updateWindowSideSub h1 span#btn_updateWindowSideSubClose { float: left; font-size: 20px; cursor: pointer; }
+}
+@media (max-width: 350px) {
+ div#mayorGlobalLogin form.passwordAuth span {display:none;}
+}
+
+@keyframes niceMaYoR {
+ 0% { border-top: rgb(247,197,14) solid 4px; }
+ 100% { border-top: rgb(147,197,214) solid 4px; }
+}
+
+@keyframes moIn {from {padding-left:6px;}to {padding-left:9px;}}
+@-webkit-keyframes moIn {from {padding-left:6px;}to {padding-left:9px;}}
+@keyframes moOut {from {padding-left:9px;}to {padding-left:6px;}}
+@-webkit-keyframes moOut {from {padding-left:9px;}to {padding-left:6px;}}
+
+.mayorLoader {
+ background: linear-gradient(270deg, #E6E6E6, #E6E6E6, #7D96A0, #E6E6E6, #E6E6E6);
+ background-size: 400% 400%;
+ -webkit-animation: mayorLoaderAnim 4s ease infinite;
+ -moz-animation: mayorLoaderAnim 4s ease infinite;
+ -o-animation: mayorLoaderAnim 4s ease infinite;
+ animation: mayorLoaderAnim 4s ease infinite;
+}
+
+@-webkit-keyframes mayorLoaderAnim {
+ 0%{background-position:0% 50%}
+ 50%{background-position:100% 50%}
+ 100%{background-position:0% 50%}
+}
+@-moz-keyframes mayorLoaderAnim {
+ 0%{background-position:0% 50%}
+ 50%{background-position:100% 50%}
+ 100%{background-position:0% 50%}
+}
+@-o-keyframes mayorLoaderAnim {
+ 0%{background-position:0% 50%}
+ 50%{background-position:100% 50%}
+ 100%{background-position:0% 50%}
+}
+@keyframes mayorLoaderAnim {
+ 0%{background-position:0% 50%}
+ 50%{background-position:100% 50%}
+ 100%{background-position:0% 50%}
+}
+
+
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/html/alert.phtml b/mayor-orig/mayor-base/www/skin/classic/base/html/alert.phtml
new file mode 100644
index 00000000..ec691a3e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/html/alert.phtml
@@ -0,0 +1,85 @@
+<?php
+/*
+ Module: base
+
+ js_alert($alert)
+ html_alert($alert)
+*/
+
+// ------------------------------------------------------------------- //
+// Az $alert két részből áll: típus:hiba //
+// típus: alert : javaScript alert //
+// message : hibaüzenet után az oldal betöltődik //
+// page : hibaüzenet után az oldal nem töltődik be //
+// info : információs üzenet //
+// ------------------------------------------------------------------- //
+
+// ---------------------------------------------------------------- //
+// Hibaüzenet kiiratása
+// visszatérési érték: legyen-e utána megjelenítve a lap?
+// --------------------------------------------------------------- //
+
+ function html_alert($alert='') {
+
+ global $ALERT_MSG;
+
+ //$alert = $_SESSION['alert'];
+ if (!isset($alert) || (is_array($alert) && count($alert)==0)) {
+ return true;
+ exit;
+ }
+
+ $showPage = true;
+ while ( ($a = array_pop($alert)) ) {
+ $j++;
+ $param = array();
+ $tmp = explode(':', $a);
+ $aType = readVariable($tmp[0], 'enum', 'message', array('message','info','page')); $aCode = $tmp[1];
+ for ($p = 2; $p < count($tmp); $p++) $param[] = htmlspecialchars($tmp[$p]);
+ $pstr = '';
+ // preparing $msg
+ if (!isset($ALERT_MSG[$aCode]) || $ALERT_MSG[$aCode] == '')
+ $msg = $ALERT_MSG['default'].' <span class="alertParam">'.$aType.':'.$aCode.'</span>';
+ else $msg = $ALERT_MSG[$aCode];
+
+ // paraméter behelyettesítés
+ for($i = 0; $i < count($param); $i++) {
+ $_msg = $msg;
+ $msg = @str_replace("%$i%",'<span class="alertParam">'.($param[$i]).'</span>',$msg);
+ if ($param[$i] != '' and $_msg == $msg) $pstr .= '<span class="alertParam">'.($param[$i]).'</span>,';
+ }
+ if ($pstr != '') $msg .= '<br/>' . substr($pstr,0,-1) . '';
+ if (($aType == 'message') or ($aType == 'page')) {
+ $title = _ERROR;
+ $class = 'errorMsg';
+ if ($aType == 'page') $showPage = false;
+ $sign='<span class="icon-exclamation-sign '.$class.'"></span>';
+ $hasError = true;
+ } else {
+ $title = _INFORMATION;
+ $class = 'infoMsg';
+ $sign='<span class="icon-info-sign '.$class.'"></span>';
+ $hasInfo = true;
+ }
+
+ $class .= ' hidden';
+
+ $msg = '<span>'.$title.' ['.$j.']:</span> ' . $msg;
+ //echo '<div class="'.$class.'">'.str_replace('***','<br/>',$msg).'</div>'."\n";
+
+ $x .= $sign.str_replace('***',' ',str_replace('<br/>',' ',$msg))."<br/>\n";
+
+ // Függetlenül attól, hogy milyen paramétert kaptunk a $_SESSION['alert']-et üresre állítjuk
+ $_SESSION['alert'] = array();
+ }
+ if ($hasInfo==true && $hasError==false) {
+ echo '<div id="mayorErrorSmall" class="mayorErrorSmallInfo" ><div><span id="mayorErrorHide" class="icon-remove-sign"></span>'.$x.'</div></div>';
+ } else {
+ echo '<div id="mayorErrorSmall" class="mayorErrorSmallError"><div><span id="mayorErrorHide" class="icon-remove-sign"></span>'.$x.'</div></div>';
+ }
+
+ return $showPage;
+
+ }
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/classic/base/html/base.phtml
new file mode 100644
index 00000000..5ae07424
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/html/base.phtml
@@ -0,0 +1,618 @@
+<?php
+/*
+ Module: base
+
+ html_base($sessionID,$page,$sub,$f,$lang,$skin,$MENU)
+ html_head($page,$f,$lang,$skin)
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = 'default')
+ html_mayor_foot()
+ //page($page,$sub,$f,$lang,$skin) --> base.php
+ putValidXHTML()
+
+ Felhasználtuk: http://projects.lukehaas.me/css-loaders/
+
+*/
+
+ require('skin/blue/base/color_schemes.php'); // blue? !!!!!!!!!!!!????????????????
+ if (!defined('__COLOR_SCHEME') || !is_array($_COLOR_SCHEMES[__COLOR_SCHEME]))
+ $_COLORS = $_COLOR_SCHEMES['blue'];
+ else
+ $_COLORS = $_COLOR_SCHEMES[__COLOR_SCHEME];
+
+
+// -------------------------------------------------------------------
+// html_base() : a html oldal szerkezete
+// -------------------------------------------------------------------
+
+function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) {
+
+ _httpHeader();
+
+ if ($MENU['set'][$policy][$page][$sub][$f]['refresh'] > 0) {
+ @header("Refresh:".intval($MENU['set'][$policy][$page][$sub][$f]['refresh']));
+ }
+
+ html_head($page,$sub,$f,$lang,$skin);
+ _debugLayer();
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin);
+ echo '<div id="mayorerror"></div>';
+ $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'leftpad' : 'toppad';
+ echo '<div class="mayorbody '.$_defaultPageLayout.'" id="mayorbody">';
+ page($page,$sub,$f,$lang,$skin,$policy);
+ echo '</div>';
+ html_mayor_foot();
+}
+
+// -------------------------------------------------------------------
+// html_head() : html fejlec kiirasa
+// -------------------------------------------------------------------
+
+function html_head($page,$sub,$f,$lang,$skin) {
+
+ global $INCLUDES, $SSSHH, $SSSBB;
+
+ if ($f == '') $f = $page;
+ ## ----------------------------------------------
+ ## Note http://hixie.ch/advocacy/xhtml
+ ## But this is crazy! Using Doctype sniffing instead...
+ ## Also read: http://www.mozilla.org/docs/web-developer/faq.html
+ ## header('Content-type: application/xhtml+xml');
+ ## -----------------------------------------------
+
+ // debug üzenetek layer-ének lezárása
+// if (defined('__START_DEBUG') && __START_DEBUG === true) echo "</div>\n<!--// debug end //-->";
+
+ echo '<?xml version="1.0" encoding="utf-8"?>'."\n";
+ echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
+ echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="hu">'."\n";
+ echo '<head>'."\n";
+ echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'."\n";
+ echo '<meta name=viewport content="width=device-width, initial-scale=1" />'."\n";
+ echo '<title>';
+ if (defined('_SITE')) echo _SITE.' - ';
+ echo _MAIN_TITLE;
+ echo ' ';
+ echo _MAYORREV;
+ echo '</title>'."\n";
+ includeCSS($page,$sub,$f,$skin);
+ includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices
+ includeJS($page,$sub,$f,$skin);
+ includeSocial($page,$sub,$f);
+
+ if (is_string($SSSHH) && $SSSHH!='') echo $SSSHH;
+
+ if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ echo '<link rel="shortcut icon" href="/skin/classic/base/img/favicon.ico" />'."\n";
+ echo '</head>'."\n".'<body data-sessionid="'._SESSIONID.'" data-mayortoken="'.$_SESSION['mayorToken'].'" data-mayorrev="'._MAYORREV.'">'."\n";
+ if (is_string($SSSBB) && $SSSBB!='') echo $SSSBB;
+
+}
+
+// -------------------------------------------------------------------
+// mayor_menu(): a menü kiiratása
+// -------------------------------------------------------------------
+
+function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) {
+
+ global $policy, $page, $sub, $f, $LANGUAGES, $SKINSSHOW, $_COLORS,$NAV;
+// echo '<div id="hamburgerIcon"><span class="icon-align-justify"></span></div>';
+ echo '<div class="hamburger hamburger--squeeze"><span class="hamburger-box"><span class="hamburger-inner"></span></span></div>';
+
+ echo '<ul id="nav" class="hideShowContainer">'."\n";
+ if (is_array($MENU)) {
+
+ $active_page=false;
+ foreach ($MENU as $aModule => $pItems) {
+ if ($aModule != 'modules') {
+ for ($i = 0; $i < count($pItems); $i++) {
+ if ($page == $aModule and
+ ( $active_page===false && ( $_SERVER["REQUEST_URI"]=='/' || (!isset($pItems[$i]['url'])) || strpos($_SERVER["REQUEST_URI"],$pItems[$i]['url']) !== false || strpos($pItems[$i]['url'],"page=$page") !== false) )
+ ) {
+ echo '<li class="active">';
+ $active_page=true;
+ } else {
+ if ($page=='n4p1o' || count($NAV[1])>0)
+ echo '<li style="display: none;" class="openable">'; //--none
+ else
+ echo '<li style="display: ;" class="openable">'; //--none
+ }
+ if (isset($pItems[$i]['url']) && $pItems[$i]['url'] != '') {
+ if ($pItems[$i]['url'][0] == '&') $href = href("index.php?page=$aModule".$pItems[$i]['url']);
+ elseif (substr($pItems[$i]['url'],0,4) == 'http') $href = href($pItems[$i]['url'], array());
+ elseif (isset($pItems[$i]['get']) && is_array($pItems[$i]['get'])) $href = href($pItems[$i]['url'], $pItems[$i]['get']);
+ else $href = href($pItems[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aModule");
+ }
+ echo '<a href="'.$href.'"'.((isset($pItems[$i]['target']))?' target="'.$pItems[$i]['target'].'" ':'').'>'
+ .$pItems[$i]['txt']
+ .'</a>'."\n";
+ // --- sub ---
+
+ @$pageArray = $MENU['modules'][$aModule];
+
+ if (is_array($pageArray) && count($pageArray)>0) {
+ echo '<ul class="sub">'."\n";
+ foreach ($pageArray as $aSub => $sItems) {
+ if ($aSub != 'sub') {
+ for ($j=0;$j<count($sItems);$j++) {
+ if (
+ $page == $aModule and
+ (
+ (!isset($sItems[$j]['url']) && $f == $aSub)
+ || (isset($sItems[$j]['url']) && strpos($_SERVER["REQUEST_URI"],$sItems[$j]['url']) !== false)
+ )
+ ) {
+ echo '<li class="active">'; $activeSub = true;
+ } else {
+ echo '<li>'; $activeSub = false;
+ }
+ if (isset($sItems[$j]['url']) && $sItems[$j]['url'] != '') {
+ if ($sItems[$j]['url'][0] == '&') $href = href("index.php?page=$aModule&f=$aSub".$sItems[$j]['url']);
+ elseif (substr($sItems[$j]['url'],0,4) == 'http') $href = href($sItems[$j]['url'], array());
+ elseif (isset($sItems[$j]['get']) && is_array($sItems[$j]['get'])) $href = href($sItems[$j]['url'], $sItems[$j]['get']);
+ else $href = href($sItems[$j]['url']);
+ } else {
+ $href = href("index.php?page=$aModule&f=$aSub",array('policy','sessionID','lang','skin'));
+ }
+ @$subArray = $MENU['modules'][$aModule]['sub'][$aSub];
+ if (!is_array($subArray) || count($subArray) == 0) {
+ echo '<a href="'.$href.'"'.((isset($sItems[$j]['target']))?' target="'.$sItems[$j]['target'].'" ':'').'>'
+ .$sItems[$j]['txt'].'</a>';
+ } else { // vannak al-al menúk (f - menü)
+ echo '<a class="larr" href="'.$href.'"'.((isset($sItems[$j]['target']))?' target="'.$sItems[$j]['target'].'" ':'').'>'
+ .$sItems[$j]['txt'].'</a>';
+ // -- f menü --
+ echo '<ul class="fmenu">'."\n";
+
+ foreach ($subArray as $anF => $items) {
+ for ($k=0;$k<count($items);$k++) {
+ if ($aModule == $page and
+ $aSub == $sub and
+ $anF == $f and
+ (!isset($items[$k]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$k]['url']) !== false)
+ ) { echo '<li class="active">'."\n"; }
+ else { echo '<li>'."\n"; }
+
+ if (isset($items[$k]['url']) && $items[$k]['url'] != '') {
+ if ($items[$k]['url'][0] == '&') $href = href("index.php?page=$aModule&sub=$aSub&f=$anF".$items[$k]['url']);
+ elseif (substr($items[$k]['url'],0,4) == 'http') $href = href($items[$k]['url'], array());
+ elseif (isset($items[$k]['get']) && is_array($items[$k]['get'])) $href = href($items[$k]['url'], $items[$k]['get']);
+ else $href = href($items[$k]['url']);
+ } else {
+ $href = href("index.php?page=$aModule&sub=$aSub&f=$anF");
+ }
+ echo '<a href="'.$href.'"'.((isset($items[$k]['target']))?' target="'.$items[$k]['target'].'" ':'').'> '
+ .$items[$k]['txt'].' </a>'."\n";
+
+ echo '</li>'."\n"; // al-al menüpont vége (f)
+ } // for - on items
+ } // foreach - on subArray
+
+ echo '</ul>'."\n"; // fmenu
+ } // vannak al-al menük (f -menü)
+
+ echo '</li>'."\n"; // almenü-pont vége (sub)
+ } // for - on sItems
+ } // ha nem sub == aSub
+ } // foreach pageArray
+ echo '</ul>'."\n"; // submenu
+ } // vannak almenük (sub)
+ echo '</li>'."\n"; // menüpont vége (page)
+ } // for - on pItems
+ } // ha aModule != 'modules'
+ } // foreach on MENU
+ }
+ echo '<li class="start onClickHideShow">&nbsp;</li>';
+ echo '</ul>'."\n";
+
+ // ------------------------
+
+
+
+}
+
+// -------------------------------------------------------------------
+// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated)
+// -------------------------------------------------------------------
+
+function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) {
+
+ global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy, $SCHOOL_LOGO, $SCHOOL_IDENTITY, $SCHOOL_URL, $NAV;
+
+ _updateWindow();
+ _updateWindowSide();
+ _keyHelp();
+ _searchLayer();
+
+ echo '<div id="mayorhead">';
+ mayorGlobalLogin(defined('_USERACCOUNT') && (!is_string(_USERACCOUNT) || _USERACCOUNT=='') );
+
+ //if (date('m')==12) $imgextra = '-santa'; else $imgextra = '';
+ if (defined('_HOME_LOGO') && file_exists(_HOME_LOGO)) $HOME_LOGO=_HOME_LOGO;
+ elseif (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png'))
+ $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png';
+
+ if (defined('_HOME_LOGO_BADGE') && file_exists(_HOME_LOGO_BADGE)) $HOME_LOGO_BADGE=_HOME_LOGO_BADGE;
+// elseif (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png'))
+// $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png';
+
+ echo '<div id="head"></div>';
+
+ echo "<!--// NAV1 start //-->\n";
+ echo '<div id="nav1" data-nav1count="'.count($NAV[1]).'">';
+
+ echo '<div class="hideShowContainer">';
+
+ $db = 0; $max = __MAX_MENU; // Az egy sorba megjeleníthető menüpontok maximális száma
+ if (is_array($NAV[1])) foreach ($NAV[1] as $N1) {
+ $txt = '';
+ $i = intval($N1['index']);
+ if (isset($N1['sub'])) {
+ if (!isset($N1['f'])) {
+ $M = $MENU['modules'][ $N1['page'] ][ $N1['sub'] ][ $i ];
+ } else {
+ $M = $MENU['modules'][ $N1['page'] ]['sub'][ $N1['sub'] ][ $N1['f'] ][ $i ];
+ }
+ } elseif (isset($N1['f'])) {
+ $M = $MENU['modules'][ $N1['page'] ][ $N1['f'] ][ $i ];
+ } else {
+ $M = $MENU[$N1['page']][ $i ];
+ }
+ $txt = $M['txt'];
+ $url = $M['url'];
+ $get = $M['get'];
+ if (isset($get)) $href = href( isset($url)?$url:'index.php?page='.$N1['page'].'&sub='.$N1['sub'].'&f='.$N1['f'], $get);
+ else $href = href( isset($url)?$url:'index.php?page='.$N1['page'].'&sub='.$N1['sub'].'&f='.$N1['f']);
+ if ($db<$max) {
+ if ($page == $N1['page'] && $sub == $N1['sub'] && (!isset($N1['f']) || $f == $N1['f'])) $class = ' class="aktiv" '; else $class = '';
+ } else {
+ if ($page == $N1['page'] && $sub == $N1['sub'] && (!isset($N1['f']) || $f == $N1['f'])) $class = ' class="openable aktiv" '; else $class = ' class="openable" ';
+ $style = ' style="display: none;" ';
+ }
+ if ($txt != '') { // Hibás hivatkozás ne rontsa el a menüt!
+ if ($db == $max) echo '<span class="onClickHideShow openable">&nabla;</span><span class="onClickHideShow openable" style="display: none;">&Delta;</span><br />';
+ echo '<a href="'.$href.'"'.$class.$style.'>';
+ echo $txt;
+ echo '</a>';
+ $db++;
+ }
+ }
+
+ echo '</div>';
+ echo '</div>'."\n<!--// NAV1 end //-->\n";
+
+ mayor_menu($MENU,$sessionID,$lang,$skin);
+
+
+ echo '<div class="mayorLogo">';
+ echo '<a href="'.href('index.php').'">';
+ echo '<img src="'.$HOME_LOGO.'" alt="MaYoR" id="logo" />';
+ if ($HOME_LOGO_BADGE!='') echo '<img src="'.$HOME_LOGO_BADGE.'" alt="" id="logobadge" />';
+ echo '</a>';
+ echo '</div>';
+
+ /* ----------------- POZ ----------------- */
+ $loginout_img = _svgLoginout(array('print'=>false, 'color' => $_COLORS['login']));
+ $down_svg = _svgDown(array('print'=>false, 'color' => $_COLORS['login']));
+ echo '<ul id="poz">';
+ echo '<li>';
+ if (!defined('_SCHOOL_NAME')) define('_SCHOOL_NAME',_SITE); // TODO - ?
+ echo '<span class="school">'._SCHOOL_NAME.'</span>';
+ // if ($policy == 'public') {
+ if (defined('_USERACCOUNT') && (!is_string(_USERACCOUNT) || _USERACCOUNT=='')) {
+
+ echo '<div class="nev">';
+ //echo $down_svg.'<span class="onClickHideShow" style="padding-left:14px;" > '._LOGIN.'</span>';
+ echo '<a id="logout" title="'._LOGIN.'" href="'.href('index.php?page=auth&f=login&toPolicy=private',array('skin','lang','sessionID')).'">';
+ echo _LOGIN;
+ echo '</a>';
+ echo $loginout_img;
+
+ // echo '<div id="settings" class="openable" style="display: none">';
+ // echo '<table>';
+ // echo '<tr>';
+ // echo '<td><a href="'.href('index.php?page=auth&f=login&toPolicy=parent').'">'.str_replace(' ','&nbsp;',_PARENT_LOGIN).'</a></td>';
+ // echo '<td><a href="'.href('index.php?page=auth&f=login&toPolicy=private').'">'._LOGIN.'</a></td>';
+ // echo '</tr>';
+ // echo '</table>';
+ // echo '</div>';
+ echo '</div>';
+ } else {
+ $_class = $_profileImg ='';
+ if ($_SESSION['googleapi_object']['picture']!='') {
+// $_profileImg = '<a href="'.href('index.php?page=session&f=googleapi&userAccount='._USERACCOUNT).'"><img src="'.$_SESSION['googleapi_object']['picture'].'" style="height:12px;" /></a>';
+ $_class = 'googleapi';
+ }
+ if ($_SESSION['facebook_access_token']!='') {
+// echo '<a href="'.href('index.php?page=session&f=googleapi&userAccount='._USERACCOUNT).'"><img src="'.$_SESSION['googleapi_object']['picture'].'" style="height:12px;" /></a>';
+ $_class = 'fbconnect';
+ }
+ echo '<div class="nev hideShowContainer '.$_class.'">';
+
+ echo '<a href="'.href('index.php?page=password&f=changeMyPassword&toPolicy='.$policy.'&userAccount='._USERACCOUNT.'&policy=public',array('skin','lang','sessionID')).'"><span class="icon-key" title="'._PASSWORD.'"></span></a>';
+ echo '<a href="'.href('index.php?page=session&f=googleapi&userAccount='._USERACCOUNT).'"><span class="icon-googleplus" title="'._GOOGLEAPI.'"></span></a>';
+ echo '<a href="'.href('index.php?page=session&f=facebookConnect&userAccount='._USERACCOUNT).'"><span class="icon-facebook" title="'._FACEBOOK_CONNECT.'"></span></a>';
+
+ echo '<span class="onClickHideShow" >'._USERCN.'</span>';
+ //echo '<a id="logout" title="'._LOGOUT.'" href="'.href('index.php?page=session&f=logout&policy=public',array('skin','lang','sessionID')).'">';
+ //echo $loginout_img;
+ //echo '</a>';
+ echo ' <span class="onClickHideShow icon-cog"></span>';
+ echo '<div id="settings" class="openable" style="display: none;">';
+ echo '<div>';
+ echo '<p class="name"><a href="'.href('index.php?page=session&f=accountInfo').'">'._USERCN.'</a></p>';
+ echo '<p class="account">'._USERACCOUNT.'</p>';
+ echo '</div>';
+ echo '<table>';
+ echo '<tr>';
+ echo '<td><a href="'.href('index.php?page=password&f=changeMyPassword&toPolicy='.$policy.'&userAccount='._USERACCOUNT.'&policy=public',array('skin','lang','sessionID')).'">'._PASSWORD.'</a></td>';
+ echo '<td><a href="'.href('index.php?page=session&f=logout&policy=public',array('skin','lang','sessionID')).'">'._LOGOUT.'</a></td>';
+ echo '</tr>';
+ echo '</table>';
+ formBegin();
+ $sessionMaxIdleTime=$sessionAlertTime=0;
+ if ((_SESSIONID!='' && _POLICY!='public') && defined('_SESSION_MAX_IDLE_TIME') && _SESSION_MAX_IDLE_TIME>0) {
+ $sessionMaxIdleTime=((_SESSION_MAX_IDLE_TIME*1000*60*60)+1000);
+ if (defined('_SESSION_ALERT_TIME')) $sessionAlertTime = ((_SESSION_MAX_IDLE_TIME*1000*60*60)-(_SESSION_ALERT_TIME*1000*60));
+ }
+ echo '<input type="hidden" id="SESSION_MAX_IDLE_TIME" value="'.$sessionMaxIdleTime.'" />';
+ echo '<input type="hidden" id="SESSION_ALERT_TIME" value="'.$sessionAlertTime.'" />';
+ formEnd();
+ echo '</div>';
+
+ echo '</div>';
+ } // policy != public
+ echo '</li>';
+ echo '</ul>';
+ // ------------- POZ ------------
+
+
+ echo "<!--// NAV2 start //-->\n";
+ $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'vertical' : 'horizontal';
+ echo '<div id="nav2" class="'.$_defaultPageLayout.'">';
+// echo '<span id="hideNav2:tavtarto" class="onClickHide">X</span>';
+
+// $__M = $MENU['modules'][$page]['sub'][$sub];
+
+ echo '<div id="mayorIcons" class="icons" >';
+ echo '<span id="leftsideclose" class="icon-resize-full" title="'._ICON_SWAPNAV.'"></span>';
+// echo '<span id="" class="icon-envelope"></span>';
+// echo '<span id="skin-vakbarat" class="icon-blind"></span>';
+ if (in_array('vakbarat',$SKINSSHOW)) echo '<span id="skin-vakbarat" class="icon-braille" title="'._ICON_VAKBARAT.'"></span>';
+ if (in_array('oldschool',$SKINSSHOW)) echo '<span id="skin-oldschool" class="icon-view-mode" title="'._ICON_OLDSCHOOL.'"></span>';
+// echo '<span id="nav2fullmenu" class="icon-list"></span>';
+ echo '<span id="mayorMenuSearchIcon" class="icon-search" title="'._ICON_SEARCH.'"></span>';
+ echo '<span id="mayorErrorSign" class="icon-exclamation-sign" style="display:none"></span>';
+ // echo '<div class="g-signin2" data-onsuccess="onSignIn"></div>';
+ echo '</div>';
+
+ echo '<ul>';
+ if (is_array($NAV[2])) {
+ /* Plusz menü - teszt */
+ if (is_array($__M)) {
+ foreach ($__M as $__f=>$__D) {
+ echo '<li class="fullmenuitem">';
+ echo '<a href="">'.$__D[0]['txt'].'</a>';
+ echo '</li>';
+ }
+ }
+ foreach ($NAV[2] as $N2) {
+ $txt = '';
+ $i = intval($N2['index']);
+ if (isset($N2['sub'])) {
+ if (!isset($N2['f'])) {
+ $M = $MENU['modules'][ $N2['page'] ][ $N2['sub'] ][ $i ];
+ } else {
+ $M = $MENU['modules'][ $N2['page'] ]['sub'][ $N2['sub'] ][ $N2['f'] ][ $i ];
+ }
+ } elseif (isset($N2['f'])) {
+ $M = $MENU['modules'][ $N2['page'] ][ $N2['f'] ][ $i ];
+ } else {
+ $M = $MENU[$N2['page']][ $i ];
+ }
+ $txt = $M['txt'];
+ $url = $M['url'];
+ $get = $M['get'];
+ if (isset($get)) $href = href( isset($url)?$url:'index.php?page='.$N2['page'].'&sub='.$N2['sub'].'&f='.$N2['f'], $get);
+ else $href = href( isset($url)?$url:'index.php?page='.$N2['page'].'&sub='.$N2['sub'].'&f='.$N2['f']);
+
+ if ($page == $N2['page'] && $sub == $N2['sub'] && (!isset($N2['f']) || $f == $N2['f'])) $class = ' class="aktiv" '; else $class ='';
+ if ($txt != '') {
+ echo '<li class="nav2menuitem '.'">';
+ echo '<a href="'.$href.'"'.$class.'>';
+ if (isset($M['icon'])) echo '<span class="'.$M['icon'].'"> </span>';
+ echo $txt;
+ echo '</a>';
+ echo '</li>';
+ }
+ }
+ }
+ echo '</ul>';
+ if (function_exists('_nav2widget')) _nav2widget();
+ echo '</div>'."\n<!--// NAV2 end //-->\n";
+ echo '</div>'."\n";
+
+ mayor_menu_full($MENU);
+ mayor_breadcrumb();
+
+}
+
+
+// -------------------------------------------------------------------
+// html_mayor_foot() : lablec kiirasa ( )
+// -------------------------------------------------------------------
+
+function html_mayor_foot() {
+ $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'leftpad' : 'toppad';
+ echo '<div class="mayorfoot '.$_defaultPageLayout.'" id="mayorfoot">'._MAIN_FOOTER.'</div>'."\n\n";
+ echo "</body>\n</html>";
+}
+
+function mayor_menu_full($MENU,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) { // TESTING ONLY
+
+ global $policy, $page, $sub, $f, $LANGUAGES, $SKINSSHOW, $_COLORS, $NAVI;
+
+ echo '<div id="mayorNav" style="display:none">';
+
+ $NAVI[] = array('txt'=>'Kereső', 'url'=>'','icon'=>'icon-search','id'=>'mayorNaviSearchIcon');
+ if (count($NAVI)>0) {
+ echo '<div class="mayorNavIcons">';
+ for ($i=0; $i<count($NAVI); $i++) {
+ echo '<div id="'.$NAVI[$i]['id'].'">';
+ if ($NAVI[$i]['url']!='') echo '<a href="'.href($NAVI[$i]['url']).'">';
+ echo '<span class="'.$NAVI[$i]['icon'].'"></span><br/>';
+ echo $NAVI[$i]['txt'];
+ if ($NAVI[$i]['url']!='') echo '</a>';
+ echo '</div>';
+ }
+ echo '</div>';
+ }
+ echo '<ul>'."\n";
+ if (is_array($MENU)) {
+ $active_page=false;
+ foreach ($MENU as $aModule => $pItems) {
+ if ($aModule != 'modules') {
+ for ($i = 0; $i < count($pItems); $i++) {
+ if ($page == $aModule and
+ ( $active_page===false && ( $_SERVER["REQUEST_URI"]=='/' || (!isset($pItems[$i]['url'])) || strpos($_SERVER["REQUEST_URI"],$pItems[$i]['url']) !== false || strpos($pItems[$i]['url'],"page=$page") !== false) )
+ ) {
+ echo '<li class="active___">';
+ $active_page=true;
+ } else {
+ echo '<li style="display: ;" class="openable___">';
+
+ }
+ if (isset($pItems[$i]['url']) && $pItems[$i]['url'] != '') {
+ if ($pItems[$i]['url'][0] == '&') $href = href("index.php?page=$aModule".$pItems[$i]['url']);
+ elseif (substr($pItems[$i]['url'],0,4) == 'http') $href = href($pItems[$i]['url'], array());
+ elseif (isset($pItems[$i]['get']) && is_array($pItems[$i]['get'])) $href = href($pItems[$i]['url'], $pItems[$i]['get']);
+ else $href = href($pItems[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aModule");
+ }
+ echo '<a href="'.$href.'"'.((isset($pItems[$i]['target']))?' target="'.$pItems[$i]['target'].'" ':'').'>'
+ .$pItems[$i]['txt']
+ .'</a>'."\n";
+ // --- sub ---
+
+ @$pageArray = $MENU['modules'][$aModule];
+
+ if (is_array($pageArray) && count($pageArray)>0) {
+ echo '<ul class="sub">'."\n";
+ foreach ($pageArray as $aSub => $sItems) {
+ if ($aSub != 'sub') {
+ for ($j=0;$j<count($sItems);$j++) {
+ if (
+ $page == $aModule and
+ (
+ (!isset($sItems[$j]['url']) && $f == $aSub)
+ || (isset($sItems[$j]['url']) && strpos($_SERVER["REQUEST_URI"],$sItems[$j]['url']) !== false)
+ )
+ ) {
+ echo '<li class="active">'; $activeSub = true;
+ } else {
+ echo '<li>'; $activeSub = false;
+ }
+ if (isset($sItems[$j]['url']) && $sItems[$j]['url'] != '') {
+ if ($sItems[$j]['url'][0] == '&') $href = href("index.php?page=$aModule&f=$aSub".$sItems[$j]['url']);
+ elseif (substr($sItems[$j]['url'],0,4) == 'http') $href = href($sItems[$j]['url'], array());
+ elseif (isset($sItems[$j]['get']) && is_array($sItems[$j]['get'])) $href = href($sItems[$j]['url'], $sItems[$j]['get']);
+ else $href = href($sItems[$j]['url']);
+ } else {
+ $href = href("index.php?page=$aModule&f=$aSub",array('policy','sessionID','lang','skin'));
+ }
+ @$subArray = $MENU['modules'][$aModule]['sub'][$aSub];
+ if (!is_array($subArray) || count($subArray) == 0) {
+ echo '<a href="'.$href.'"'.((isset($sItems[$j]['target']))?' target="'.$sItems[$j]['target'].'" ':'').'>'
+ .$sItems[$j]['txt'].'</a>';
+ } else { // vannak al-al menúk (f - menü)
+ echo '<a class="larr" href="'.$href.'"'.((isset($sItems[$j]['target']))?' target="'.$sItems[$j]['target'].'" ':'').'>'
+ .$sItems[$j]['txt'].'</a>';
+ // -- f menü --
+ echo '<ul class="fmenu">'."\n";
+
+ foreach ($subArray as $anF => $items) {
+ for ($k=0;$k<count($items);$k++) {
+ if ($aModule == $page and
+ $aSub == $sub and
+ $anF == $f and
+ (!isset($items[$k]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$k]['url']) !== false)
+ ) { echo '<li class="active">'."\n"; }
+ else { echo '<li>'."\n"; }
+
+ if (isset($items[$k]['url']) && $items[$k]['url'] != '') {
+ if ($items[$k]['url'][0] == '&') $href = href("index.php?page=$aModule&sub=$aSub&f=$anF".$items[$k]['url']);
+ elseif (substr($items[$k]['url'],0,4) == 'http') $href = href($items[$k]['url'], array());
+ elseif (isset($items[$k]['get']) && is_array($items[$k]['get'])) $href = href($items[$k]['url'], $items[$k]['get']);
+ else $href = href($items[$k]['url']);
+ } else {
+ $href = href("index.php?page=$aModule&sub=$aSub&f=$anF");
+ }
+ echo '<a href="'.$href.'"'.((isset($items[$k]['target']))?' target="'.$items[$k]['target'].'" ':'').'> '
+ .$items[$k]['txt'].' </a>'."\n";
+
+ echo '</li>'."\n"; // al-al menüpont vége (f)
+ } // for - on items
+ } // foreach - on subArray
+
+ echo '</ul>'."\n"; // fmenu
+ } // vannak al-al menük (f -menü)
+
+ echo '</li>'."\n"; // almenü-pont vége (sub)
+ } // for - on sItems
+ } // ha nem sub == aSub
+ } // foreach pageArray
+ echo '</ul>'."\n"; // submenu
+ } // vannak almenük (sub)
+ echo '</li>'."\n"; // menüpont vége (page)
+ } // for - on pItems
+ } // ha aModule != 'modules'
+ } // foreach on MENU
+ }
+ echo '</ul>'."\n";
+ echo '</div>'."\n";
+
+ // ------------------------
+
+
+
+}
+
+function mayor_breadcrumb() { // TESTING ONLY
+
+ return false;
+ global $MENU,$page;
+ echo '<div class="breadcrumbs" style="position:fixed; top:100px; right:20px; z-index:100000; background-color: red;">';
+ echo '<ul>';
+ for ($i=0; $i<count($_SESSION['breadcrumb']); $i++) {
+ $H = $_SESSION['breadcrumb'][$i];
+ echo '<li>';
+ echo implode(':',$H).' = ';
+ echo '<a href="'.href('index.php?page='.$H['page'].'&sub='.$H['sub'].'&f='.$H['f']).'">'.$H['txt'].'</a>';
+ echo '</li>';
+ }
+ echo '</ul>';
+ echo '</div>';
+}
+
+//dump(array_keys($MENU));
+//dump($MENU['modules']);
+ // naplo:orarend:i:[txt,url,refresh,icon]
+ // portal:sub:
+//die();
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/Eduroam_Logo.svg b/mayor-orig/mayor-base/www/skin/classic/base/img/Eduroam_Logo.svg
new file mode 100644
index 00000000..8a784750
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/Eduroam_Logo.svg
@@ -0,0 +1,2063 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
+ <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
+ <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
+ <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
+ <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
+ <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
+ <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
+ <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
+ <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
+]>
+<svg version="1.0" id="レイヤー_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
+ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="530px" height="200px"
+ viewBox="0 0 530 200" enable-background="new 0 0 530 200" xml:space="preserve">
+<switch>
+ <foreignObject requiredExtensions="&ns_ai;" x="0" y="0" width="1" height="1">
+ <i:pgfRef xlink:href="#adobe_illustrator_pgf">
+ </i:pgfRef>
+ </foreignObject>
+ <g i:extraneous="self">
+ <g>
+ <g>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#C8DBEB" d="M141.636,127.706c-20.184,0-40.368-4.479-55.744-13.43
+ c-23.087-13.433-28.858-33.142-17.319-49.712l5.452-6.028l32.694,1.383l0.45,0.003l-5.995,4.722
+ c-12.173,11.837-10.147,27.944,6.078,38.361c9.274,5.955,21.438,8.935,33.601,8.935s24.327-2.979,33.597-8.935
+ c16.223-10.417,18.255-26.524,6.085-38.361l-5.731-4.507l15.383-0.218l19.563-0.828l4.948,5.473
+ c11.54,16.571,5.769,36.28-17.308,49.712C182.004,123.228,161.82,127.706,141.636,127.706L141.636,127.706z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#C8DBEB" d="M274.532,57.844l-1.678-2.737l-3.027,0.308l-27.767,1.982
+ l3.482,5.639c10.966,20.993,1.826,44.642-27.419,61.199c-8.01,4.535-16.971,8.201-26.509,11.027h49.914
+ C277.274,114.056,288.296,84.312,274.532,57.844z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#C8DBEB" d="M40.271,135.274H90.5c-9.539-2.826-18.494-6.504-26.505-11.039
+ c-31.911-18.062-39.881-44.563-23.929-66.852l0.806-0.988l-13.796-0.981L9.829,53.663L7.27,57.844
+ C-6.498,84.315,4.515,114.067,40.271,135.274z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#C8DBEB" d="M280.233,135.263h36.12
+ c27.727-26.009,33.962-56.979,18.651-85.21l-1.264-1.979l-26.398,3.531l-5.039,0.511l2.867,4.367
+ C319.812,82.875,311.482,112.116,280.233,135.263z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#C8DBEB" d="M349.418,135.263h33.863
+ c24.032-29.759,27.52-63.101,10.394-93.895l-2.154-3.273l-14.82,3.074l-15.256,2.57l2.307,3.48
+ C380,76.212,375.202,107.791,349.418,135.263z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#C8DBEB" d="M416.104,135.263h34.226
+ c20.901-33.05,22.187-68.897,3.791-102.282l-5.883-9.024l-11.102,3.394l-18.295,4.604l4.186,6.42
+ C440.512,70.066,438.184,104.227,416.104,135.263z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#C8DBEB" d="M482.409,135.274h31.555
+ c22.219-42.705,17.723-88.588-13.543-130.001l-0.475-0.581l-12.936,5.904l-13,4.809l9.324,14.155
+ C502.54,64.02,502.216,100.894,482.409,135.274z"/>
+ </g>
+ <g>
+ <g>
+ <g>
+ <g>
+ <path fill="#1D1D1B" d="M86.324,178.058c-3.633,11.875-16.523,17.332-30.703,17.332c-8.789,0-17.343-1.531-24.14-6.414
+ c-6.445-4.693-9.843-11.396-9.727-18.387c-0.117-6.607,3.047-13.789,8.672-18.48c6.094-5.172,15.234-7.566,23.789-7.566
+ c19.922,0,32.109,10.535,32.109,26.621v2.586H46.13c0,5.268,2.109,9.096,9.14,9.096c5.273,0,8.203-1.723,9.141-5.936
+ L86.324,178.058z M62.887,164.173c0-4.789-1.875-8.426-8.438-8.426c-6.094,0-8.32,3.926-8.32,8.426H62.887z"/>
+ <path fill="#1D1D1B" d="M129.33,99.151v50.371c-3.632-2.969-8.554-4.98-14.296-4.98c-18.046,0-23.906,13.119-23.906,25.664
+ c0,12.066,5.977,25.184,23.202,25.184c7.5,0,12.539-2.105,15.938-7.469h0.234v6.512h22.031V99.719
+ C145.727,105.129,135.925,104.939,129.33,99.151z M127.924,180.165c-1.29,1.627-2.813,2.488-5.157,2.488
+ c-7.265,0-7.617-7.66-7.617-11.969c0-2.682,0.469-6.416,1.173-9.098c0.702-2.967,2.46-5.17,6.562-5.17
+ c1.875,0,3.984,0.67,5.04,1.914c1.523,1.533,1.406,3.832,1.406,5.746v9.863C129.33,176.335,129.564,178.058,127.924,180.165z
+ "/>
+ <path fill="#1D1D1B" d="M198.35,194.433v-8.043h-0.234c-2.461,6.32-10.43,9-18.164,9c-4.922,0-9.727-0.957-13.358-3.734
+ c-4.22-3.447-4.688-7.756-4.688-12.352v-33.803h23.203v29.588c0,3.16-0.117,6.512,5.155,6.512
+ c2.345,0,4.571-1.053,5.626-2.775c1.055-1.629,1.172-3.352,1.172-5.172v-28.152h23.202v48.932H198.35z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#00658D" d="M252.136,155.556c1.992-6.799,6.327-11.588,15.585-11.014
+ l3.162,0.191v17.143c-1.404-0.289-2.928-0.48-4.451-0.48c-3.75,0-7.617,0.576-9.491,3.354
+ c-1.641,2.393-1.641,5.553-1.641,8.426v21.258h-23.203v-48.932h19.804v10.055H252.136z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#00658D" d="M340.14,170.397c0,14.842-14.648,24.992-32.93,24.992
+ s-32.928-10.15-32.928-24.992c0-15.705,14.18-25.855,32.928-25.855C325.96,144.542,340.14,154.692,340.14,170.397z
+ M299.124,169.728c0,13.117,3.867,14.076,8.086,14.076s8.086-0.959,8.086-14.076c0-4.691-0.117-13.215-8.086-13.215
+ S299.124,165.036,299.124,169.728z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#00658D" d="M385.841,194.433c-0.588-2.201-0.822-4.5-0.822-6.799
+ c-4.686,5.65-11.365,7.756-19.568,7.756c-11.133,0-20.859-4.979-20.859-14.746c0-7.756,7.383-12.926,15.703-15.033
+ c7.617-1.916,15.703-2.682,23.555-3.064v-0.383c0-4.406-1.406-6.129-7.031-6.129c-4.57,0-8.438,1.34-9.141,5.457
+ l-21.328-1.627c3.516-12.16,17.695-15.322,31.172-15.322c7.031,0,16.055,0.768,21.912,4.215
+ c7.852,4.5,6.916,10.82,6.916,17.811v17.141c0,3.639,0.115,7.277,1.873,10.725H385.841z M383.849,171.548
+ c-5.625,0.479-15,1.914-15,7.852c0,3.16,2.461,4.5,6.094,4.5c8.789,0,8.906-6.033,8.906-11.395V171.548z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#00658D" d="M436.462,145.501v6.607h0.234
+ c3.281-4.98,9.258-7.566,16.289-7.566c7.383,0,13.24,2.299,16.875,7.566c4.102-5.459,10.078-7.566,17.928-7.566
+ c5.039,0,10.43,1.244,13.947,4.215c4.336,3.639,4.336,8.428,4.336,13.598v32.078h-22.736v-29.396
+ c0-3.16,0.469-6.705-4.92-6.705c-6.563,0-6.328,4.98-6.328,8.906v27.195h-22.734v-29.396c0-3.064-0.234-6.992-5.273-6.992
+ c-5.508,0-5.977,3.352-5.977,6.992v29.396H415.37v-48.932H436.462z"/>
+ </g>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#1D1D1B" d="M152.03,94.806c-5.931,5.93-15.558,5.93-21.488,0
+ c-5.931-5.93-5.931-15.557,0-21.488c5.931-5.929,15.558-5.929,21.488,0C157.96,79.249,157.96,88.875,152.03,94.806
+ L152.03,94.806z"/>
+ </g>
+ </g>
+ </g>
+ </g>
+ </g>
+</switch>
+<i:pgf id="adobe_illustrator_pgf">
+ <![CDATA[
+ eJzsvV2PZsmRHnY/wPyH8sUCpOApnsw8mXkObQh4662qFWVylyD3y9iVB709TbKl/hj09CxF+cbi
+XMgXNmzf6ML2nReQJdiSAV1YNvRvBvrwv3A8T0RG5jnvW9XVH8PVitNJTldFn5PnKzMy4oknIn/n
+P/nxTz85fPbyz598ki6ni48/+p3fOb568uj1y1ffv6D44gfPnn35xetXEH3nJ9+9COVywlGHHyyf
+2pF/9OTVF09fvvg+/+0y4V9vcf53fvqrl7948rRe//j43YvvfBfyP3j6+tkT+Zd/8z/+9//un/xf
+//Z//Wf//n//P//NP/+fP4nf9StLT9ePXstBYfpejN+LU8gX+fsxX/z4Rzzm0Yu/ePTFF0//AY4o
+aeHlrl5++eKzpy9+fvXy74v04pOwloscl4tPZvzr33r6kydfbA+5zCnGhAPzZVp4dL1cwiqi+bKs
+cak48frl4y+fP3nx+sevXj5+8sUXx5fPXr764vsXx189enHxo0c/l395dPFfPnn27OUvL66ePXr8
+9+Scww/yp7dPnz2RF/D80euLEPm2Dj8I8dOrL58+++z3vnz+50/k3ZQ1UJ4+Za9/+IV0Jz3jZ8rr
+pz94LqKfPnn9Wm5aLsqX/pPfvRrvRaRs3/nTr7/6P77+9b/6+tf/z9df/bf4+at//fWv/++vv/on
+X3/1L//Od9uFXr38/PmjV38PnV18EqfpIqfpYrJ//YMnzz9/Ju+d7yeWfJnl7UyT/DX+0g6WJ+SB
+n4Q5Xcrr+yQt02WRb3VRarqsYa0XYenH9xf55C+ePvnl9y9+7+WLJ/a2Dq9e/1S/5jzLPfG/9k8/
++fLZk1d/+OLpa7nlQtmqr+tHLz978kzO6F3cPnvEt8QW+n/tiD949OrnT17LMHj57MvXHKuLX0U+
+yQ8f/eoJvmywi/z+509e/MHLP+KtfhLKRQirjJkyX6wxyqfL8nC8RArzRcjRLxv6f61z9IR+2hU4
+rn4sX/b3Xz39+dMX3/8kJHm37ZHrp7/76uln/aPXeLHof/gwl8vw/7X93+5Z3sDr109etIeQAXf8
+0TB8pssf/RTXvnnx2fHlc3yMLzhznshdyJh69vLn9q/9F/6bdPHl5/YwFHwq3+7Hr56+QMcff/R7
++m/Lpz9+9qX84+++evnl5z948bOXH3/0HVUff/TksagI+cCfXfz+n/9d+UVUwZ/FKf0c//mzGGb5
+O/wpfvkT+S38WZrLn8UY/iymWY70sy8fPf38u2+4lLyBV08u9F/lXP4qf/8Mfz/k/OsnP5NZ2ztQ
+KW7td/VmY8Lff9/uPPud/4X/h48gf/8+/nNsZ0lfNy/+4smzl58/uXj04rOLP3706vOH3NCPnz16
+8ejVBf9hcz/tMrzCl/jPrzYX9Bd8/0398OlfyEUeybd80N3IAP5cvgdP4jG7O7vngOGfHnSpR69/
+ISr1yYvPvtg895fDoPEH/cUDH1T7e8jlf/qr53/+8tnTL55vLv5H40X/a7seevfDH/hor5+8evH7
+L/QZX335xS8u/uDly2ebS32O//xXPr7aRb8cH/KP3vzYohf1On+tb8wPvuumDn4/P//tupnjo2fP
+nv781aPPf/H08V3387ftctEv1679Gv+5epebvOO6D5pajznMzt9tKH8oV8j/4F3u6bTjv4a3Y3Pw
+4uazp7Ls3aFl7z3mp7989PrxLy5++PTPXz169fTJG9QdBtrPnr74TG70p18+ff3ELyImwucwmC9+
++otHn0OMI2+HI3u/+VMxGkaj4JNP7jcXxJ66ejEe8ruvHn32VAwS8Qv+8MWLR8/FVPi5iS6CXOSc
+VMyheHH12ccf/enHH/3nH3804Y+8/WmeylSndTpMV9NxupluwxRCED0d5lBCDWLjh0O4CtfhJtzG
+SeaFfK+YY4k1LnGNh3iM1/Hm44/ibZpSSHPKqaQqfsaartIxXaebdDtPc5jjPM95LtKWeZ0P89V8
+Pd/Mt3nKYhHmOedccs1LPuSrfMzXH3+Ub/JtmUoo8eOP/ma/62D3neW+F9653vv1cPd6/9meoD3D
+kU8xPIfctdyWPE17litpfB57mpjS5okO9kz9qZI9VdWn+vgjea6jPJk82we6a73v/v7FXOU3mP0b
+6J3bfZ+98/Heb4YvYncvd233jyeQu55447e3tze317fH26vbw+16u9zW23Kbb+fbJFcJt9PN7c3N
+zfXN8ebq5nCz3iw39abc5JtZrhDlPU/Xt9c319fXx+ur68P1er18/NF1vS7XWd5flCeajrfHm+P1
+8Xi8Oh6O63E51mM55uN8TMd4DMfp6vbq5ur66nh1dXW4Wq+Wq3pVrvLVfJXkO4Wr6XD78UeHm8P1
+4Xi4Ohza6/72rn9Ddz1f/M6nV6+oUabLJMNnyeJepakGcfymy7iGVdxauGEFf+qZH6L4aeUii/sn
+nqz0Bo/r0w/S2ZV4a+pdUtR73whx1NV1V8tNsz5Y207TeX0rcuk+bzVulPlfZd4fZcYHmetF5vhB
+ZvatzOoks3mReSxzWOZvkpmLeXsl8xVzNVLHLNSa0Jkhz6IfM/UltCU0pehJUa6lLGUth3Jdbspt
+DTXWXEutdamHelWP9XaZRLXEZV7yUpa6LMu6HJfr5XaVOS8vOa7zmte6Luu6Xq3H9Xq9WW9FWYVD
+PIgKEQWRD+VQD4u09YA/VzIkrmVooN1eTTJYoEbl1q/kHmUIoRW2KsMKbWU7WMOfI9s12w3brbaj
+vCwZnmgR7eOP5L/J2mwteyvWqrfF2zq0Q2/S49VJ2/65tnaza7f7dj2hydSbNi0MLd7Z0t1NesTf
+85mW36mJxhfl8EHbg3usD21UYR+0/cfR42BXBLEpstgTsCWuqVUi7TbYDrTZxGJotsJiVsIN7YNE
+22ChVXBNLSN2hdgD2ewztWJuaJ0lWmc1r2KbiWXWrDLRNtn1zZVpnMl1zlLXjz+i1rmuN2e0zoF6
+5waaR/QONE9cE7VPXotoIPw5mA66Vj20YhGaqI2gj6Lpo0ydtNVKByoXneLXXT9RQ0FHhaanREcl
+1VbWsjfVWdpGzdW019WguwYNhiVl0GSDPqM26xqtt2htr9msiY46r+f2rd7bui4U82D8bdPWO9rh
+/iY9vuGIoZ1q3DPtrGY+1x78R3r8wH/+4+jxwRrlaNZKoA9Y6XtcyeIFryPQ4yj0NlSriAcEvWKe
+X6X9cqBeuXW9MtPrW83rU48vluSaRXXL0XSLrP811dn0i1o0ol3EqoF2STv9opN2r2VUx7Br2Dli
+9Sy0dg42tY9d25imabomDfpGrSDVOKp1XO+Ijrryod50z21rrn+i20ld/+Sd9jH9IxplGdpoP+3/
+bDTRTgcNmkh6HPXRdFYbnba0a/fpqDdrq/ubPPUb9Nkduu3udo/We5gOPGnS44OP/W3qcYN9fMA/
+33iPwVs0xAaYTSZKBtxmi5QpZpNNP6qGBBY2EalJRJfU8gJOdkPbS8TUk2p9HWQaiQ+Py1BPzqIn
+q9hfK42Ra1w6i9YjQgZdWWAeUUGoKX8rGjPSFpuL/hEFWGgOcRrdoolNhpbYMproUf1DJWaT6AZN
+LDVt0dpsrVpbrXWFdI328Uf8+7Y1atvW0tDKpi27duhNNDP+Pje8bs432oZ3N3mP1OQPa/NDmvT4
+oOMO5aFNenzwsb9NPQ5A2bUsXettlaGfbsPN7c21LGurDN0sEylc315fy8K3ymAs4h9HQl/XsiQC
+9CoEvALBLkBdK9fWQpgLIBcAritZwxeZFFm+WpK1fxJL4FrG3EFshEUshiyTM8mYnmSU38hicSXL
+/yoWRxXbYxYbREaZWCNTvZXZdJTF+1BXmTZVLJYsUzuJdxTqJLPyRjymIxf5g0yEpVSZu5nzOMl8
+DmXC3BaL6DqLfcYZf5CZLxeR6Vsy/sxiQSXRDKKA8jTfSrshKHCk7sCwWzl1oVHQMVTILD5emuUe
+RduIYQe9k+Q1EhVWsAELOwwS6CadsrDoVHlAa/Giid0k/QONJj2KBYg2ocEilHbD1iCOZkaY6eNT
+bbXmKkcsS2miR/F38ZaHNg8tbdr+T+hNesTf02kLt3e0m3ubaL1w/eB24vada9Ljg44LVw9t0uOD
+j/1t6vFbjfKtRvlWo3yrUT5cj99qlG81yrca5VuN8uF63ATap+F/of3v/f+R8ftljnkBTbquS4gJ
+Pyx1qgXh9XkNBdH4MMkh8cwP/LGci+R/0G5bTH8SUUgXOVxOou02kf3dP/kZl3Il6SlcBvlzkebL
+EvK8PfP8IbseqnScY7mI02WKaz3Xw/6Q3kOt58gIo/z9+QjxDj5CBB8hDXyEEzKJ0klAKElUiXtF
+Mu1bW+1IPhnpJySgSEO0ssd974lHe0+dzKJ9KZlFezvX00k8vPV0VKJLo7kko7kEYN1EwRUd70Gk
+kz+bmEjjbgEF7DggkMArA9B7uP/kRf0H21NTAPyG/MYRUKSMgypjYpWxcSVj5LpdVZkDjOAv8k2u
+5Atdy1eXb9/HAhkJOAZHHHjELfuWntsxjFJcS9cTYw2ZccuFUcEeiZJBgE8lzyNGjDxjhhGARXCa
+PugxWyVYq6zwyBdJc14jf0gpYIrKqr2AazTleZ3imR/uoDJ9sC6hGqZLMUHENEMvYrFpv+uE7C1o
+2JWkKTY9NaZLOWhBF/2O3rkLvYMP8kAf/A29v+o8rzjjOxBnG222EU4b3XRW2uzDaaFDnyMx1Gmh
+b00w3ffTaLHHtyN9voGG+OEojR+4p+1cH4iAuym7+5ffDJUwnR1/aT/+NkQ5DeH2oG0PyrawawuN
+atykUS/0DyltslTedOqaU9SSEc7yoPQrFb8o9vZZGMaf6NpFelwznb5iIX2lcl8xBoxA1Q1pQ4GO
+Y6ITmZW5KY0hq48/YqgfwX4lL07iW7WQVWH0afVw1bU4r7fL9BsONAaSOGcPCB5I57wmVWJqs0gn
+Eh3yI2P1B5KZ4JhXBr3gnsNBh0cZzE2Ho47XezR3XR32hSG3Ao9aXHa47oneZ0CIju77DT/MkTwB
+uPEr3xNc+VLzB2QXD9xiktQKza+3YBefmYLw/eEB5Em+M3IzpxLlsXUBupzhBID8W+cs1vydK+x7
+9KJLWk05c8FJ0xqrLX8T7H8Zl3L42WXrLU56b9WwnNcNC5TDPCqHkRfSFMWoJpqSIF9Dh4bzeTub
+V/m8t85TcXZKO8c5wSMrOJ+wgtlPO8eYh9E4Qox7y0yaGe3WSHekAlmz295Ej6IhRzeGGh2IFhXD
+iYAQAR26+Y2eM1jO5uNkmw6J6jNAI5ATfGMT42iOxoETZKVSrlTRmRNlNh8FDOdgU+bWPZWjEfMP
+JOevOy/n4P21Hmefeo3av+1HCf5K8c/8tvjGcm1+8elwS87SNb/hFb/nSryxHHwM+DTvEz1urqY+
+lV5rGa7lCQW8il9DRqJexa5j2GaSERYM4fTvJf8+i3yScQjMcxGVmtYgKvRaLrWK/g==
+ ]]>
+ <![CDATA[
+ m0VFTsQ2D6IKsywhodzKrR5kuZlLlMXoWm5mldE2y3cXfS3f/ErGYZVvHeU738jHOMgoLTJao7gL
+N9GNrROzLjXDznOI7sogGnNwPANHrr3JIGrMW8+MSnn+rb72MNcal86yDFQvdaZu48adasBTHUgj
+SUbxqZnU+alqJN0MBlI3juZuGLlWrBvG8sgg7Ezl87r2VNtmaFvj/7Wn2j2RP08z+bZPcth61OQ/
+juzHuuE9jpkeW61+PtsDTOxz36F9hZbXMd5re/PtTpfOEyOXqjOpyKNyDpUyqM6vH/FkBQE7CtmD
+t54PAybULflPmYynI1lOkZymlfylW3KUCvlHR/KIwP9xzgljHj3iwXiHxzo00nF+BVn3awijGHJ3
+jF8cGLeojFfMjFEERiVuGIe4YtRhYXQhM4KAOMFEvB84/dW3d/eed7cxRmtZiTlMa6pMKlvitMJu
+TLmEAPtSlFZI9cwPbuqty6U42GW0Ej9gr2asxlThoV6WeVlWWpyrojdB/ok/pLjOIZ75wbss8XKV
++Tbe6Ifs1pCi98P+W59Bzq/1w8UUdv3qvZZaZ3oJ4ppNM55fhq1Y+PQmZHzxaVfx+ZYzP5z1Dz5U
+j+/rPMxnfYd5Hw7QFEBL/yuW/qdLgi4HuhCsfQlw5T+74l+74mcSzM2QwtddjzygE8vJsnsc0Yme
+ZOdpdftUurRJjdulud2feCY9Lpu2nrTD2zXp8fy/XL1rkx7f+dwP1aNjLFfEEgMxRCCIWKZhDmKR
+VjOQJiDNPzX+WhGAMVm+tgQz0cBq7kU194gbtTQzYEY3A2akeFEeKM4riQmOF2GJ//gjEp0Rkyej
+QMnOJDoX4y+v1g4b6rMiSq3d9iYzY9q0eNLSHS2fb9Lj+X8p79qkx3c+90P16IZcIbrcmpYxWPzn
+LtH/AoHe/t6Osv9Ljzi3WA/6c3EJBwfNRvwXbbafIJk5UjMNS/xMBFx6BA4e+Tta4O+BCPlkEv7h
+WOcPpw3ovLYQaL6e/bfWwyjZtNOoKqJl075H7/ns8Q9pDIV90Pb2PQ5RhjrJlIU/vqhHLrbhDe3C
+VeZrVq9crEHYggf65YVWoGIw17QAR/tPmT132X+DBeg24LWxUw4Mg/SBpUNIh0kfCu2j6oMQ3GFj
+MpelF6zWmqao1kpr8ux5aPPQ0kk7RwDi7Y9Nejw/Tny8fCDY+z3+vH2PA7oFZKsSX4obRtxixSkU
+SfKyFI4dzYYbETUiEH/FfBIF4RsE3wD4Lfx+ZWy5EX4nAM8smA7ABwQfDIZXIP7Glg9dTq4MktfW
+lh1Po6n9T+lNZkbetPmkpTtaPN+kx/P/Et612SL7Advb9+iMkR60GMMWLXDRCqMoN6WzU9aBndJ4
+JMRuxTiKNC5H/PaGxuhxh+IeLKi2OPba8Ncy5D62vMh5yJocMyq3hLlp21oVjE0TNXomq7O1d7EI
+jxZW/IDtP4QeT5D6v3JD+r16fEtX5E6H5NTJ2TpBpxUn9nU+tk5Wc72SRz/i4KRNPpN6NOTanTzO
+JVYOGGdSn0EeFTHm1u1QpkhjC+dKFd0QKdYVYbUVgeuBrQZXXAd0DYjU/s5x+qs3pN+rxztcjjua
+OSrS4951OXVyNk7Q6CANA8WVIOt+nFv3Cte7cWXzlYiZqje0CpVxvtI6XOjwZcMRZ+KIgdaiIolH
+IomVSKLiiNFwxCMjOsAQ8xnbUd6jWo7iCajNqPYiLEXYiLAOYRXCGgy0/Lob/FduSL9Pj3eaiueP
+N0dFety5LqeOza7HcOe/sIl9vXWytALeZDa3umTqoJnj5m7bbC6dOnXNapcvau5eHpzC5iZW/3lx
+Sd26mhsXFP8VzbSTtOP03NV/rs1/GFycv3pD+p16vN+h2LYT90R6jJY4v2+juzO6Qe4eucPUtAzd
+KelxNQfrakdt9QGqw82HUGO55eGTryNrbiinOIYy7wtmnpa17IiWlk9ch9Im0QsmsagJS5r0UNRN
+dRfnr96Qfq8e73A57mjmqLCEy7adOjlbJ2hwkAa3yV0p6XGP6qnzNeJ66qCRM8YWWDJG0buZhWMU
+gUOH0iNLyLQiMkdaRjcsazBtSlW1QGoP/I7l8nqxvIMVhem4uaLmwMwRJkWIFBg50PFKNNwDt3/1
+hvQ30uO9lrCX0Nq3ux2fm3POUnelxMg8V3rrfHGbuwoLborNeBGUw44ycByKBXbiwEgdmDesyqVF
+Gmj+H41Wf2PE+UbKBy2/GDF/S83fcuryOhVEkkQJNap0yU6GazFG4AU5W5ypLpdLTPmizpch1zEq
++CF60wBbzlHMM3Qwz9NKlt5S0pS1o7TGgPgd92kYg4ohXcz1UpT3cFPv3ZWFJ9/h2ZZ6EWds1xHe
+8yUNHb1vgC+fDfDlPXH4jTWNdzWB97wcZ+VoNUBZ9Fh9tFXuuma4plUGTB6sAbV3ZQGPbj9Hr66T
+SKdNhoFuf8pD7Z1mKCieWikp9hNwVTUbmvGwuvmguOwVSbrNeJDZuCXqNlLr21NazRPd+aBk0U3O
+brsa2XN3IZNG00U650Q67i0puSDlXhPjOpqWOxjWBbRr0TXNcreyIV89g0vupGduWY6WYmHXVtK0
+4wqGA/BO9rmBc5wmcgMmQPGN6DolbO6CcHyd8joyXrf83Hc5W2doqEvRiS6fOdiuMTLdLAdkVULv
+Hfzcdzj5vWfieQ5//pbE/y2J/1sS/285ib+sZ5WDiM9nmOnw1EwuZnFZDlfL32obGox03K3/enMy
+rcLmv8HCiZFFPyOvqr9N9t/tMfTvx8nxwAH5gIr1wxC/5drH1cpQ4yv2f+A1VqsuV3mtwutlXhNX
+Tbwyrh3OLmRvvSZsB+k7nc7ROWx4dn4k3nXA+466et46rCfmoY26ltdY+7iz7MGWOai5g4cNHTxa
+qcNMqi7H3725iXdlJzbUpmU5rrvrsDzG2X7bTNn2Oc6X/TYgt8PMkbu/OwPy7oF9t67dDO979fdD
+Nfj9k+Zh68KDNo4wPvt23pQlJXg48o2mAD0MRyEuNv5NN/tEWHYE1t0sev/OvpGMzK+/+l++/upf
+fP3rv8SWkP/NP/z6q3/89Vf/9Ouvvvr61/8Cc+i+f/5Nba6TPtT2OuK87d217qodN6XcZ99AYvWC
+y20TiaHgshg2qyFlDSObrZD7m7eS2G8kwcQC+Xjvl+JxYkRb+d93SvIYcJqray99ICbUFqXpGM2u
+eMJZPfghti4a1/z32rxI5nxz9ndpODZ2uqu/d/T72LkaRw+pJ61Y99q2Aji7BcnpZgDbrQAMXaVB
+/n6JNT1RhYxlJk2+Y2qNjZztqJmtCMZYKuNwfbZYxnuOibs3huqj4j23hpIx0YGgsylag2Y5Pz76
+6FgVBBpGSPRi7n2DmvvLuY+jxMaIjIn3S2eyhKaezsQtId4xoclGRhsX6oonjoltaZSr88VRPpzz
+q3/+2vf4poLc23LclkLGwO37JJEVTSPrSWQybt85jYx5E1cW+4EeyhhV1DzbUjjpfDGcb2xvsHcB
+O8/uDoZkwIfDnU7DbCTMVqjwupcqFHtCIROWK/RihdcPKle4LVZoyWdICXyf9DNN/zYCCdPPPv7o
+3RPQ6N0sJA0o4Ri0h4k0i23Jonq+sNG3Y+LbMfHtmPh2TNw7JjZO/NvV/Tpx29/p9N8o+EV//F+q
+r86fRrd8YpZnSeuKeOGl2J4B5q3Ww5wuZ4Ssk2aCznmHG160My/aibzbdtaFnYR6lWfe3DudbS/u
+oWfilc3lMqVcLt7p0tsO3vLF/5u//B/w1vEXP2B/5d3JCYz2Zro5GqVtlC4NWt0aM7ETuFryVjWn
+R7diurJKFEcrS3lrNC79kwifZKvFW22HqpUVfK+4U9W17sOitX+VmSbTM9IpStwVT/dmKWQmLbab
+1YFwyxXdpKPVICbabIy2QGc60WmSPzJ86BkRjim2gQrDRbYdiPJLrs3VBm7A2shKXrTywVbEWDsS
+pVQsJlfpbGk7UEG1LaOOFqW7tmi8pk9qMzKkFyqWsc7HtFss7U/jWTVK8YFKUlMtrzzh8kgnTttN
+a8jqsnaOItbpXueIXWdoXRtiF1rPp9lu/jSS1W82beApK+1rk84ZNu3NiZ1nkzbP8rHrHe2+P76V
+mPR4uKNdvXUjYiE9PnDjq/vbpv5ocIBzIceiBammAa5YDK5oYMWNz1XdGanQLZPvbDP0aODVRCct
++T5JiwOe3C3J90tSACufgBQ3TC3uycWzxbULF/PFtnAbY9qTzYuZpkDxWWDclXI04GK7n9Jso7ga
+QNog0qONxFsbZzBM+hjSMaKQaQc2rghtdJJhpxl2IKzaLkm6N2aDOhTsuMHumIA8mLLf98dstbmq
+71e3OvjR4I/dPnW+R11yEDb77nTFwbMtGHu6ly8JK2d38I0bot2eYqdZINu92M6T7Pi39Djuzjvs
+xHtmD97T3XbP7Kk75Li8ad/a+8sHeDtbGOA0r+cuPuTxtEmPZ6Rv31rgK5wGYMfgawu9Vg+9jmHX
+2MKuzl7SP9eWobdnLy3OXtpyl9Km+vQ53tK1PXd/dz2HacxW6rlJp3lJPSOJt2bj52EZfmWTndTz
++jb5fI1s2jL2Nrl5jQB7ZTlMXtXNKqUtVptN67Npy7aTdtujtu0Z2bYpaOXiW0Ky7zZp+97e+BDz
+LVhJSNbW//TN1/qi45zqYTeu7G27F1oaWt9JLWzasCPbertp415u/KiE+1vb7gB3ddIOu3buT9vt
+c9vqHa3c03Jr0mO+o81v3biVhfSYPkR7J1jgfmDA4s47vuQpOLCFB7YAwQgRGEjASmcjUND5kw0q
+6GBB2VQGnBwyaKDBwb9zte+k75XwgQEINwNHa7WdUapneZ/lZ4ktejRQoTG0Wu529rxszWWbDGS4
+oSpq+6eoHb0Y4DDmtCVCDwQffEeVGyqwI0GIK7Pz284qlZaM7q4y+w4rEW4r4AnfZ+XG91o5muLQ
+/VZW80janitt15W57bzCRgdM7Ki2+4ruvzLuwNL3YDn4oFt2O7Fs92KZk4zKvh8LwRDfj8V3ZGl7
+spzuynK6L8shytp61+4su71Z7t6dZbc/CwNp9+zRYu2uEg1n9miR9fXtdm25o53AOmewE1Ip7gNX
+eEBDGPK8xkA4p2DUG0AgRu1c8UMI+OkOUOjdTn9LdOHf/dP/F+gC/tqVu/UaTd1IurbcCYu0asaj
+jaZkEfpsUXrudmqxemmeAjyZ86em+sLoo25yesOUNN3OVI3yapuWqhF+q9uMckaoyb0MBQ478wNx
+3NW5H9cWpQpWR2k15sfRNtZW5oc6Q1XLaW55eK6ANJl2coxz3LxJkU7FOrMrnaZyejqt05XuR3IH
+HPdBKO4+Gf8NNcF6jH3kZnRic4uwGy/DycxWWcpdP3X7FsvEu/btxeHgNa5Li0R3noJxXPzbzURe
+23+zQVP7/yYvGBPta09ePShoLH8kGKPjG9txqcG8DejtUG9g5ZlWc+bK6swsVlemAQ==
+ ]]>
+ <![CDATA[
+ vpswwIPB8wcB576zR6uWMVs4oFc53tY4brn8dbP6j9WI9zxi6d1WFXMABmwtmIJu2FrH1Sp9/sVR
+tSt+eCMoyEo4GZ4WB6JCNgRtMbrCwZntJC0YbUGJC2MOizRZrft+9I3momXHJqNKRUcEGqWhYwJX
+hlN1TEDWVseYGtGhOtlhpDtsMYE0qJ9OeyDxQb59rz67p8kkRwPKQILYIwE3AxUiMJclGm1m6/9v
+96G/Ouf5twQ8n0atQNfsRbq6pNdemr2oV94cV1xuZb/YYysBZvnXPRN7yNPufy9UvA2Van8z1xt/
+kzZwsJpQV4o3W5WoK8OwdLZq/ahro99wlzVb0W8bIi3/FQsBe4Hzp2AqfjJbouPVyeyP2QhdW/y6
+mC2jts1q1s7BEe0rWyiuSfFpyPaN2lK0rNTKUptL98PbYtwysg1fWw3lPgwod0fb9MPpbW5nogxf
+Rwa3Fa7GNO9eCWtTFWuT8t1TwA1XZPp3/1eNG6wnrcUSWqL4wetz9TpdBgRJj9fD7kitntc1/77x
+Gl+3WitB08s3dQxCK/JGpHNi+bem5qPRtcZk9G4w9hoGPcIxVjVoS0ziyO4LS58ZeZgp2WdK2cyQ
+sQJCZhG8bHOleH2E7H3msC+ct7/m3MrnDQvXBiq5CyzZAiW9kMtYysXK0nNTqCsHQhYHP4bi9O4W
+ni9Ov3MOudV7KxzfrJHjSRpPT+LpzuG1L5Ft00yWVrHUnbhZLMflcow0b2PN22izx5tlSdltormJ
+ON8Vc74n6syFtMWd37FAct/Wrbfr2127Gdr4pwOLJ4WLLNFyW3LotMjQ+bJCyYHboawQKsJuSgvd
++OXfND7vgPOsWNcI6Q2FuTZw3gjmjVDeCORVQhsNxsubzRbSBrrrsN0I1x1tjF+N8JyM7A7LdThO
+QbgOvQ1g2wCuGZDm0NB8R0v3tHhHY9bNied7rujl7Uk7/WODiwDy9ZAGO7Z9CYDDrq27RltKelwG
+ALq3smt50+ZNS2OTHuPQ7tw28YFz6HoH7t9VBOwNJbzOMEBExyWWyS6TWNTyQxQFMLWc3ISkt8SK
+1THksQD5ejmL4hvJIO/ZUysQ/m5Jf0u5lGVr+QDpg60nSyHMogiBZcRFfEcm8lfYXuzDkAwkB8pP
++UxmSi7Sf9hUf/8wHerdxbROJOCI8xBYLHwKS5p1C1EiMBUdIBFNX7/1s15mMb82aY/v3dVbQjj/
+3z/6n77+h//83/53/+jf/+t/Bixn87t0XUeWzp371G4zGXsbaww1Y1MzwsY2xh20FID8X3o8buKE
+JwWuNsWpmhk3D60MbSHzuHMK1qGN2/q28iPXTmPRFJItkLjdEHoEKDtsmTfwprL+W1uH1uHSK2xl
+MwCq15vWodebBsjy1YahbbFS/jFQNznMOzPDoLcGBhfLOqDb8Te3BKH+LVtx3OZGbN2GoTrUrjYU
+zf7hmx7dvB/MeX7ZZqz3L9serxOPcnMvWdVaHct182VbTGv/VbtbeNOWwZNvqm5g2wx8dupSdwLr
+4AY2KlP/qleDC9i/aYPNB3oT3cD25YK5gv1bNXh+cAiV+ES3sMH6LarXSVA7F1FBmxOCSLYE+8bR
+32a/aWZTy1/RzJVqT9cymXjHLNaXeV8Huqcthyla3lu1ClyHIUMl7vLeDmNNedreyYhPp7lL8Y7M
+t5szuW9VSRwk2fTsFLy20/pQ2yy42bIDTjbX0UwUz0Npuyu0nLfrIQOl5Z/UIf9kzECZRsyUKf+l
+lYAwykFDzW+HXLZecyhvM2NvnSHQ2mjTHIe2rcQ0hKR7wFd6bAndy8AuqEN6d9mkefdk73OGqox5
+6XFjkJ4zQ+80PDcWWTMyxbjbm5p3m5jL0O4yLeWFPsisvMuknE5NSqQhPtAtc3PyJOV+n3Z/3H27
+9tW2X2r7deSL0KnYuwqbb7B781vTfvuG+Vblfa27d7o10LfvbvvGtqa3XUze1/a9bI3r8y7qOffU
+nVPWje51b0+r3nbn9HiGZ3LGORVXtLmnvZ70tpL0toL0gLR+mwjwH08iwEmkRHsovY+hl95P6ykR
+ZY69cML+nsY7uu9uHBbK40jZc0OcGTKOFo6XYRkZ1xyPz7bs6Z4/bRnUMlRlNMNs840B9ivfmHd5
+aytesnzLIQPXAxFvv4Xh4lHX4VOIAWl5Gr7JaWwyv1dMFE6TcR0NsM5A+PbomieD+neCsUUzZ3/Z
+IRk82NftRQP6g/RH6Q+jI8dN7zfv53hvIvlNN/jOp716yuuYBn30Dz8NafMbMyM7rTA4nfCUoNRV
+1qi0NiU3zhe4GAfnmxTZQ6bNO0/kav10z2j0meZNG/9sPTCz7rkFSnCF0Kz/0Y643Xl7x10baTVb
+Ys2eXrNwmJRdu5dUY8SaN5JoztBeWrBtLN1pvjTTQXpbz7TlbCtnG8McG/9+9iDIGQZQ3yvIN4rp
+P7rFeVo824NO59uwA4SXLbwamuiSDZ5xvi33tDr83DanKSc1mfPZdt+2NUOTHk+lb1Nd+qSd2e7m
+m8w8f8ueXE/cug0/UuWOjbN7ljC3uOfddIFpAelxO/9HT15jh+7n78hz5ylzMmPk53FG6097ulzd
+EeUyjYmGPvXgdUcz4rlZ3fGPzXxu7cyMRrhd5mBnDJ+fy+umFHWbv/g5hy21YB5m9QbI2szjtEP7
+vIz9di7bsOtF9lXeg8mtHXfI4tUwq7V13MraHbP6NNw9bjO1bbtq6lYadbcR1Unb12S/e8bLe9xU
+cu843b264D498MZNrO5qv8FZPSQoeHKCOZTXblsc3GncGsAjUUodQPnSg72x3UR9v4X6GBNvLtTI
+wTMnitund5p05RbpLRI4Wfzv2snz6lItTnLPdKvSGAXnnqBHywJYjZxU3MVKbRMs2/7qtIBlNYcr
+2zYfuhXVZBt9aFT8uKFGV0tCHCnRbbOPTok+GCFaboRFiHusfHZ270iC7hTogxOglfpcB+KzqbmB
+8Nx1+JHbwR8MB+3aOrue7pqZGnnQw/Ie3dJSPTxaVE3j5p3NNGjRHV34yB0MurZsWrLRm6rrwLYD
+4rzRfE3fTaOd4hbKVn8dXXe55XGPhVEGXVN3VKBRi9xvD9xpJ5zVE+8+q90VPc2wGv9sQcEB6txv
+q6LNKi6HDXoXt+HiHeaXd20bhJYXuQtTL7u2D3Lvg+AndfIN0Rzb9Uk7/XMatL9tq6K4bJvI2Zl2
+njJwnmDQUMTTlu9o5c7meLL0WHdtubetb2hipGxQ7fPt7BZu53YqQJMejw9sJ4yc8016PJWe+5QP
+btLjXf/2jn+GuMJ7/hkAor7Rw3Zzh/lMzuluYwfPOW1Zpwcu1z3z9Oiqok8h36b6DfmmRmvyInHn
+c0xPc0rP5YhuNJZj2me01ame2mio87ppG6fY6KQ7tNFdWmjUPEwJvkf33KNzTohEe8LRm/XLAzSK
+9HivHnmABtlpCka5XGu8s6YYZv+deuKBWuFUD9wzq+9vv8FZ/Vaw7R14pWcUJKvSMe5zcVreMG3K
+G24KHG5KYFoRTOYI9GByDydrfkCyrY16vYCeGXDjoeXgmxK16hL1/GZElow0VgnYFkI8bKsD0GaT
+GXNSEHGbDXAuF0ALI44lNIcqACxk14PT+4Ks95Zk3RRk9X0Nhoz+rlX3uxrcsa+Ba8tRR6p2HLTi
+Rht2Hbi1yUZtt9VwTBcbNNtWl+201xnL6FQ/jTbPebvmLq2zs0rGJj3eo0XeqDUeuvq/+6y+J5MR
+xZCW6XKWuXNRE6pOxTuTGs8de6701HSZjfcXLovM/bs73B9oFLwgUxd0vrly3yGZZmAzbgpX14xN
+h8DviyGXdeAaxss05Xmk4X2I7myrlFhFWbGodoz8YQkhZ2X0WWF65GjGihpQYGv2uk/oLF1OonPG
+Kt0fpkO7u2mNpGeGENOkJcOSqF3tTPzGhSW/W1GqqHvCjJ3laVrHu/swHb7vV431cklpRX9LrusH
++bT7Pu8pobauqMr2pjpqdtQbKJsi+fT3Xr748aunL14/ffHzTz4ZqZzjv3z80e99zn9L+m8/fvT6
+9ZNXL75/8Z3Ds1998cUj8DvtJ166pBlbgs0FNNJ5vpzWJD+EcinLXNHbPuhff/JL/P2l/hLsYf7k
+V/r735af/65If3kRposfXfzp35kuPvuYZ/0EB7QrtY4vnkN6cr2LH27E7b5+OHZxVrjt4AX+873D
+q9fXTx+/fvryxaNXv7r4vtaf/97Vy5fP5F38wN7LpzefPX398tWnV48e/z15e5/+wdNnTz79yZPH
+r7978Z/ijP8M//Hn/htfai/X+tC/r4NJRvikNdwAD62kDE/LlDicaku15k65GHPzKv+2XvzJI+1r
++yZTCDIzi4yMRfqVE/VFyXPGKmMwr5dFrIqLuIriKzVf5CovIMgLWOR4mU8XOV8GGcsXj3neki9T
+ictFjqIncZ4MW+QwX8zrpZgtyDUvokLmdDGnSzHZYjtvvZzEHrpI8q+V3Ve9XlwuZVos8jfY42vA
+fEg5BjuvzpcJGieWyxRmuV6R60yioFPU24Ig5WW9SPIkaZrtPJGGsNQL+fJLkPFQ6iUSg7Ej3Jqw
+RVyR6RZzhSCmpT1ekcmJyTOXS3AML6K8n7CW5WIOl0lMtAs/IuXL2c8Kl1k+i996LPkSJRNjkr8m
+XKxczmGdL0IWBSHfwk4rl2tI5QKXCMvKe5I+pbNlRg59TvIpFuqzKfhZ8kR8cZ+Ey5AD3nhaLqe8
+hItZ3qRYvyKQ+8DQCNA5U7YT5dWDRHIRqj3KLKpzxW3Lp8crnrGi4kvIh1/bh0uYEPJa5Xn5WdEN
+p4tcNRd51jTrd5vzpdxs+24piFYLGZR2+VmeTc5fwiQqapbvl+Wis6xni3Rc5HLyie08GX5BXt9F
+lauI4uSrFB9gxnllhUCma8pBOioy4ELt40tUb0FvOchMSZM81CoDYJnlg8vnkmnA4SzDUxY4+3Jy
+Z5dlklcvo3HGq0gRl5Onox0gwyvJwOP4rlEHoJ4nXxrlDy5KvJTTghwmx8vV5PannOLFyazjaT/T
+WX6tX3+5XGYZmnIKJ87zjbSAqy8LHQfJIi9QxhieI/I9TP67jSS5OfED+kGo0yAfvvdignYxH+0q
+lbG8Fhxm/cjI4+P51ZqgD1zcUz+sPYt3tHu4/vgp4I3IFxK7LcBue76VzjrMkozSHOV9i2Cd5M0m
+UciyaC4usA8ooy7IZOmHzXrl3lET2PXsvCaNYsrIotw7CpezDIXheiaw89pt+WHtxr2j3fP1R/8b
+f4j//uFbrCU/+EKWjs+fPHr95LNP5QxbQs4f+KNHsm4fX37+q09f/oyL0O++evnl5/tVZ734zncv
+/uSP71iAZO5FFASVV1cz7Ty63mZmBWxoOS48VTNabOGZFzHK5NiKuTTbgO5S9IU9tmTQiKEoI1wG
+zyKaWF66HiGDFyEMfWFB9E6EVEaQnidTVTvK2r0LVjtCz2tSsRjtxIj1XZb0EIpJRA==
+ ]]>
+ <![CDATA[
+ P5a4DhI9dba1vx8o41kPnBa9N5esi5oHemaTihbi+PenXqAU14uTd3OiDsKM1yJ6Rsx8VFZpb69J
+xYCBWguiNecs2t/UWsC6JMPYfrXnwJ47pR+DV5lkDfNOXGDX6m+c0iAfdsG1Wj+TTmK/2DRM6n5H
+flS7Z+9n92j7GbEbg2ktWERFda3LollLsr5EtX5Kc0R0xzYY2rMs9DYGxXPR95vlUSfRbKpUMbfh
+0+QgJolo5zjJP+cs6huDDMv8JKuTrB+45yk0rTqJMi8y17m2QKsF0fZYIddZVmRxR6LMdbkzWcFl
+1RAjxM7DkiGPuYoCkYXigmuhLFirmExwT8SkkzVGbCBZdFbsQmcrZpTFetGVR1TTRYRlVBdzdOFr
+yaKD9GRolinN7TyRzvJUF7JQAgXi5coiVocsvcsMg2r/Uk7XIkwaLMpy7TzJPTzfSvHYWMPlcfOc
+OLAwjqIow4CXb78/9pddl9gPEvsgiHXSe2kCu5id1qTImUMKYeun4h3PpV+tCew8u6d+WLtr72j3
+cPvhFy4On7+/9gswQ8W+geGCTeOeb6VZPpl8arn/y6CfcKnQJ6Jqai7JBabEshop/TB5mUUGWu+n
+Cexydl6Tik+Jdbx3JOZ3lrHQr2cCO8/uyo9qt+397J5ueIfmv+k7/BCTOMjIyTCfMYJEeeqbhOOB
+9bqIRSPGaxCtL6YwHzXUiCkseqiKpSVzesV0seEhow4aWTR0xtgXS/oyYprJpCjYTDosyMMs0QX6
+RuA/wHBqR8lkooZPqS0NJhBHaFwITCr2T8GHCLBSqfhnO08sqqViARHl7CtBgDdSZRQHKiL2L6ZY
+5RqV1T7ukigDevZTXSwWNvjsXKNWfCQoXpCoLtD9KiZql+ipsiavi2j8fqDcpgz9mUsk3aJBIm7I
+GnI7tYmpXMSxwxtLfATM5BzgZ4ivp8ts0G+lp8o8TBzUsqgWWEjykS/TjIVJRuckC4p83bbwhjq8
+pjjJtxLNy/FIZ09+QSpr4IEVk32ytzGtw0rLYYDvGSb40tiMe4KjUfkd6rzKbcuKXhdxAURNL1No
+M0p+m4vco7jHCQuELGjyzmRRWCe9g/1oPV3Z4ZJwyAZcqjbDqIthaMrDF+i3qjqC+j2ISkc9ly7x
+wTJjHRgOjPIWShj6coFd0850sbyPJM7a0JcYtEXm0XBRk9ipfnd+oD+Ad7Z/0v4yxPvV14QRztxo
+fQvyoYl6uVi8bbHkJ0hkMKx5I6nqw9mncTEm25Ivhs5khgR8nH5Vk9ip6TIuuYwHypo8Q7H2zlyy
+vaqL/fa8M3+E/bMO70EmDt+RuMt0f59vpdiwPmPaJX3d86LefhCHI2FYNoGrqRkz2A8ri35h78gF
+dr3HbfCpNF1i66OL3lG0p/LrmcCmfbstP6zdeOto/3xvMvbeB+qCHzqJfANtQf3BkWvIFvyLnGQw
+NmQrzGK+iRO3RbZg3PIOGrKlHohoiIZswdKdpnneIlvobYW515AtKFNeryFbgYiJ6JANskV9CqXY
+kK0QZYmSWePIFgQx7oCtEGc1Ag3Ygv5NsVQHtqga8eU3wBY1qyiGhmthVZlKWR3XagcMsBZU6kxA
+yO47RLGgxPF3XEvsJRn6a9niWpDWRZaEhmu59dCQLUw7BDy3yBZ0M1+cI1sys8BYdmALMw0eygbX
+kgmZ8VUarCVqYSlcCohqya9pxj2PqBYUBcIIDdSSPlIqc8O0RLfzg20gLbHWK4ooNERrNTO7AVqy
+foCGuMWzQrM/Gp6FdzgtYkg2PEuufwki9RbPCnJpTrSGZwUZvWIsLe7UiT7mIN7gWQHOce1wFtba
+aZEHa3BWECucg3oDZwXGR8QoanCWXFnWcJlRDc86mWqny5wMzAqvZoNnubQhURgcCwaTQVUhTnzl
+I5yFdS2WpR8TAJ/Kyd5JE2zgpS41FMr7aThVu9gGzfI76ke1J2n97B9tq87FjJq3aFaXGggFvZnE
+yGgolVis4iKu6xbMgs4FN2E4bNIL936aYASXutQwqN6RoVT9eiOY5XflR7Xb9n52T/fXCst6Hxxh
+RQkXairDCZ9vxDLXCRZ6sENWfBlc0PlBBxFUVc4N1YaTMkdCAKjEIhpV3rxYnDgvJwNMuYDLEaLM
+PIphQQrgSnmS67VIgzgtnKgxB7nzGFxgMQLY+7UfBei/ikewLBb9aIJ11Qv0CAGkmCfY8fwiyton
+r26lz0FLBhBxLIPAHnAR/4XTux3nbzAYgH76Tk9xiDop5ooVQ6woQ8G6WJSneAWz4suMcMRoMQyo
+z5JDl9gbRLQklfHAqAGNobMmaVd1UN3E1YKK3hl8Mn5Hv2qT2Knt9vzA/mSts5Nn/QYtJQ9HwGiW
+ZX/eRQHh/FDPexgQB6aI4kQtDgg7N+fiAT0LBMoSL6YkTm2RwCBnBI0N2uzAMiQuQwtEtVggbcXE
+a9RmvhYdzh4NhDsiVpVPJAsHwo2WRT72eCCUIG/PA4JYxAZ8rUUEsdgFjHKPCYqpISMh5R4UBNog
+498/p8X84OuJSVl7WFDmhlyeM7MdA8xmbu6CT1h/jhYbpC8GQ2AIDiYNRm2jg7Rf8xw9PIiI3CzX
+9vhgoNnSXlGLD9KFh2/j8UEYsLJ8xSFAOOOlNOuhRwhl5dOnaiHCgKVXPpoHCQls5OCxRYsS4uk1
+AtTChEAB1ogB3wKFeIvT7LqxRQrpNa14zhYqjFMSNSTax2OFomLFamrrlwcLI6M5S+jRQp6KZ/Zw
+ISDePo5auBAdLjWWHi8EWkrHxyOGshSKpdcQJQ8ZxghvU9ZUjxlGqM3AaGDTeWHSYbqNGgKEoq3a
+wobwXGd56xenE/XuwCEO4Tx7vhMvspzHtYcOAZvwkTyc55Jt+HA40CKDQ2cusatuQ4jQDktmENs6
+g6dMuNmv6pJtFHE40B/BO9s/65lAYpR3luXt7SKJwHw4FD1mF4MsyjX00F4TbEOJ/TBbp4aeXGKX
+3AYT8bkzzO3eFzydEIdLmmAbTeyH+c17T/un/G2xwYIoBo3kJaCTbZxjAaXviH8XJxSr8WRgIbxb
+eMzEwaOpVErcodUeC1hZtGJE86OQINwrHaNyMe2sScwfSxqO7AciWkjvADonr9CaptdChob2U8Vl
+slNnFErUUydsvEjIFmvXyaOeulcJDhuAujwNK/ggDro0oS8A5cCF18B1AIEQgKZNYm7Poj5wPxBM
+NLiSva8umQZt1MXyILrke2ez6IsY5uGqTfK4fVTeXT+uPYD3dfKkbzCMPkTMGtEmjoht0Brwsn7t
+FrVGmGFCvMnD1kGMKMATu7g1IWye2iLS0Cs66lyS8jjGXDy3MdZC1/I4bXha6Nol29B1P7CFpCMn
+RRolqQ6DrIvxVfMYrMbCN2X7WtvXdHf8OsKsFrNnF8COEWGKWHoE2xfaFlZ2wTaK3Y9rAereV5fY
+RbeRbC7IBAy8MxjbRPfaRZtgG8wejvMH8L72T/rNxbOh0URtLDs/1MXND3VosvmhGCdEdDZ+KNTL
+JNPF/VC4a2ERG6b5oYA6iMFt/FDHFJsf6tBg8zABkldgohs/FN4lwKImBFQHBdnc0Pb7xgttQndC
+gaID+XLfkuHKhMDRxgkFklZn3J0f6K+vOaGnL/QMkFUUK9k6oV3c/EbCQoQjm2+JHxji3zqhhJ3g
+5/QDQ9OX3plLNu7gIDa/sXfWfMt+1Y0T2m+vH+hP5p3tn/Xu4Ph7IfVzNg4OQHEEsJ/vxNX8qXlu
+Qc6ingmm2wS7xyUO1xN2HQ6EGYC4Yu/MJXZV1ywmXg218M4SKuDOZbhqkzjYb8FWP9AfwTvbP+s3
+GSyPmMGMNMuiQc9BvQHxSdZKdlVUoyMmgu2V4QixT1cq/FoZoABBZXX6igwXRtGA+2OvJyg6tVfk
+XYsbFsnFWGPUpyZU6CSOiBgq1nCFgUjrwFSEU4eRAVNX3z7c0g51gZKzRmUdyRMnAgslVT21rmVm
+nJggNF5xmpY20IEnJDxZnszFR5BuoQRxdeAFa1UkE0aYvNvmQYqbKOtLYDhfecYTbUiulkpUFuMf
+mDHMuOC+S4DiBZ4u/j0fAqvUwrBpwdxalBhbVrjKdVJH3Pxz6dg85QCvMmZMHwbqCNED0osrXoD4
+TSm5i50tRoE7W/SLzkp9oGGpnup+MJx6j7EoTwYnzXVufPAubjgFRhBBaFSljviW8IOVYGASGy9J
+CUjDgbKKhiWPnbnErmqnujgZTbh3FnVxHa4ah+V2uD0/0B/BO9s/6zdnScqJ5nJMdbAkXQy6AD3v
+ORhVsM1LfDMK8uUUW0QGA2wpQH4B4syaj6B25dROhFfKeKZ4ht2eg8la6dLAnFSMo7k08G2aIx6b
+vzFYkYgWYej2A+vauJOrXoPDVJkZ68aKrDsxVKW+EBmmava6RKZStyK7uKZmqVrcTzq6ZExTZoIy
+M5eNrV2NbQPEUe+3tPuVH/Siy2SP2iSuM+pGrKgl1hGgloEgYOtsHb0y6CXeL1wBfdTVvg1IJfpt
+ppZFIeok+VU53qd5UTBKTlOtrO5CtFkNHZtiJk5JYNVPVf1SwyVhzinaOym5gTq5OZpx8HqJmcmK
+wfev6H9oHil0LfEH+NI6IDb3Oxstkg4qAUEf5tGG6+nAP9U5GKCg8uGRCN8934ll/VlmBVrKvOhX
+mwF+Yv3Qb9AkNj3kjVfo1n5g1Zjw0JlL0ggadnG+RNWUi6EzIFLIMehXNYmd6rfnB/ojeGf7Zx2C
+hTKMGZbDBOCK9nwnXhVTBSuHAT0AFZnhlhKVt+cS43EEJSsNB8ocjnnTmUvsqn6qiathbN4Zor7A
+XftVm8RObbfXD/RH8M72zzq8B/lEa8byLH4lOZrPt2Ks45WRhKnBM/ioXDUXkjtc4IpgIq2hHydL
+IlD43pdL2kXtVBfDYmLQs3UGnkgN/Zr2uymQdmvtqP5QraOTx+yvAAjwQsobaPCpBY4H8QwLWvmK
+YU4aCKGFDpA2Lql2iakl4CcA75uYjDbeWutskNhV7VQXR7MIe2eIUiA00q9qksfthu32/EB/BOvs
+9FmH95AQqY5K4hI/qEX8XAxsD7Y8FCX4KSBU0MYDPTpNa+iSx82QIXNhOBAkD7pHrS+XtIu6SWFi
+A0h6Z6JawS3tFzWBhTDs3tpR/aFaRyeP+c1hBk73xpLCEN2WBI9lrcScOwseq1XJCGs1Gjzgj7R4
+fKAR4eExaOyjMeHBWs+A+ZwKH8V2IEnIPwfIUbBVlzU7Fx6vTMOxjQyPI1P2eJKR4Ym6zGXubHha
+RuDXOB0eKjetezo8no4sLefDA5GzS+3f0Jkly0jj+IFu3ZYSD5coqSdk/HOu7WDdOk/dJY/9/WNh
+GA40yvvQWZO0q7pbZeJF36b3JddiALdftEncjNS76wf6g7W+9k96NwTwIfjxjNVFZ8F2sXJRGhUd
+IywmI/9wDXKJASPGbB8ONPJ778oFdkk708Wy7pcpXQx9VUOl+0XriF77zflxfvve1w==
+ ]]>
+ <![CDATA[
+ /jkHZQcQGWFKIAOiRRqrxMVifMmpyMQUA60q0hgs/jlNLZUmtHUY8HGdSxkOTJOxV70rl7RruspS
+MaA9cNx6Zxhc8zpetUnMKNSb88P89r2rk+f8JhEQJ2BjYpF4vkkYoC1HzLJlDGD25MTgnKUMwGca
+clAbZ49hSKgHTxqAibTWGHvWgEvMMtK0gX5cSwiA2W7AfJOsYeNAmZjKFoa1pw7Q7FTvxnIHoGO7
+le7JAwj9q0PScgLwJWiEdkkBjOGnuljMoCky6GLJA2AykXbgyQMuMcPJkgf6gS0nIFZjT3RJAzfc
+5jJxuCRzuuUORMaiQHpouQNgIJV+vy13ACESxeda7gAiHwnbannuADyTwZdpuQNgDZAW4rkDdGFS
+TD17AN13X8azB8CkILTTkgfwIah2PXsAq00ozU/x9AF4+WUZ0gewnvEuTofvKSLdePX4nAHpKM93
+YnHsYh5SCPjo65BB0AQ+YEj674dZXsDQk0vsknami5vD6H2BKhbHrAWX2Knt3vqBfv/e2f5BB6eh
+kepBbpuD55c2zr+LPS8A04HBnEGSx8yZLgZahlhl7wwWO9lNflWT2KnG+R8OtLyAoTOXbK/qYr89
+78wfYf+sw3toBHsMpTo7lN7Fot3I9mlcfTGCZW7Dqm+cfpe40iL3vx/Y0gN6Z11iV33chqCJg0E2
+vbPJHq9f1SSmBPz2/EB/hNbZybO+yWz+ENkEW45cSydwipznEzhFzhMKthQ5zyhwipynFDhFzgN3
+W4qcJxU4Rc6zCpwi52kFW4qc5xU4Rc4TC5wi1zILtgw5Ty1whpwnFzhDziOBW4Zcyx5wgpznFzhB
+zg/Z8OM8kOgP4UkGTpAbsgxGgpynGThBrucZNIqcJxpsKHKeaOAUuZZo4Aw5zzTYEOQ81aDx41qu
+gdPjWrbBlh7X0g2cHdfyDZwc1zIOtty4lnLg1LiWc+DMuJZ0sCXGedaBE+M87cCJcZ53sCHGed6B
+E+M88aDH4VvqwZYY13IPnBfnyQfOi/Psgy0vztMPnBfn+QdOjDudnWcCt0bT3xLjBrFx2Zzx73y3
+lhiw5cV5/kA/rqUY9L66ZGSoDWKjsnlnTndrF93S4vzmhuP8AVpfJ0+6XR8Y6drS4gaxkdka+7/R
+3TxHYMOK81SCfpglGwwduWSkqA1i47L1vozu1i85suL8xvwov3XvaP+Md/msPeoJnE+UR8OXXAy0
+oqqBlqltKnJgDOtZAlWYSQxgaOtAP1B0WJrD2JlL7Kodm1CxzDIo+6EzsxGGq45Ww3B77cD+CK2z
+k2cdpsj7+O774lx0FdOsMFCFJni+EwdNWgLqU0EexYebktrLtA5c4nCPuWZ+YDAKT+/LJXbRxw0p
+NHHSTOGhM1mD1Af2q5rETm1358f5A3hf+ycdX+n7OK2IWk5V/RexOJs128WA01hwBIR8LOfg4dOF
+yJO5p01irlwrsOIHMnExl6GzLrGrmtJv4nVSWnTvbEWlPSghv2qT2FXb7fUD2yP0zvbPOmireTHb
+BAsU5s7znVhuJBndbs3Zyr6A4h2Y4hrWLrGHAdVnieOBsiARtO2ducSu6oufi5dC8mLrDKDdMlxT
+f7fT2q21g4Znsm72T/mBZua+2Bv9UY31JSVPPd+JQfzCygfcllbWHKxKSEKyHWDSJunzq8Q4Hig3
+ERu1RDtziV3VMSYXazk072tmEtFwTRW4NrB7a4cNT6Ud7R9zMy3fwwnYqzr1CJn7aqmiz3di8OuS
+ZpprgQD5xDXasj7Thm8S8/9s1ffjlsYG9r66xC7qMWsTi58WaB21vgDzxjxe0ySPm+9sN+cH+gN4
+X/sn/abGKIAYBLjFg8C2Yi3y1aSzrmYIQS1rCqiLqZyeRVWx/W4PJnZilWv6QUUjTL2XJrCLueev
+UpneMyP4rZ+qiSb9anVMm/d7qi0fpd21dXTycGP0N6p3vSIlyIOeLpXXNhUN19LnWuFSJI0B0z9u
+AlO8q7rGfhhIFYu6EtqRC+x6dl6TYqRAW3lHmFMw2/16JvBwsd6WH9ZuvHW0f75vak5yUYadA8+F
+Ia3nOzGsw2IZRxFRKjg9U1T7QwviNYkruZLI7vYD8RLWPHbmEruqKzkTVyW8D50tZoj0qy5DIZTh
+9vxAfwTvbP+sH8oA2b/UmBULp9kOcPb5VgxcB8FsOH1znBSso5keG5BjAjNYEeib1+GwSUN6Q09N
+0i5pZ7oYJMKq8THti5hRWoZrNomd2u6tH+iP5Z3tH/QbspKhWYtV/AlOeunSaPQMxJjJkPRUQVBr
+SuoC8wuTzBnQkvpxmHlhHftyiV3TXUoTI2ZDaqd3hjK3YRkuagI702/Oj2v3713tHvMbGqCEeyaG
+BsSKqIvTsl0McCurqWbjcbX8SMRX1xS6xB4OIMQ0jwdOBjn1zlxiV/VTp+YtUmH0zkQiPvo8XLVJ
+/GPY0PUD/RG8s/2zfqi1GMSlpDnHTAB9vpUurWxEMeSSGVOzosqppKVLzCSZWzFGP1BMNJSJGjpz
+iV3UQR8Vy5tj8bzeWZw0f6pftUket/vV2+sH2hP0vnYP2l/gW+bLvU8a3IcMc4Iemgx+7jxvkN1m
+TMtG85bnniroTI3lDRpanuYdyXtB6sqSO8e7El5LneJd8XnSjuAt00IMiNj53ajquSD80ejdBTUz
+yPce2d1IiCv4YI3cDch2qkvndiNGUmvaUbsBg0+NxcVyziRppk7szuTp72jdcrmJX7+xupmTGktn
+dReQH+heD6zuSsra3EnddZU5TZa3cbppbxOfHCndwJPXOpfO6Q7kXDIQbIFPUoHKuu5Y3eADRaDj
+jdQNc25OndJ98tlPYM8FMDhU1YbQ3aWGq6MaJz9oY2kvBMHDjs1dEaEoa5fWBeB76B11wUiq7lIj
+X/eOjJ/drzfyuPtttcP8xq2jk+d7QwzovUgqccffhqRRt+EjOG17yVvCdmWyTXK+tqhyFDZytjar
+AsUdVxsRmmD1FknVhi3e2dcY7OhjQ9KWeb0yG6pJE+oDDsRrZHDt2dlpFE2dkj3tuNhTJ2GDH71g
+TTQOdoRjs2dgw1Pv7Otod9Io1aiIVcqOeT2zSmEXojR/NKotadez9bIhXRtbg4Ksr9bJ1qA/sKjr
+GO7HeKx57kzrxW6m8awXLrFhR7Oui814Y1nj7Ywca9YoLjuGtWiXHELtBGvA06V0evVS7UOOdxhY
+cQBRtkau5vBrvOrNWDyZ9FBIs4XqOqO6S40DzepRoEI1mjT09QmbGmN1XgZpRcJACL2fLhhJzV1q
+5OfekfGj/XIjjbrflEn7bVs/J0/Xnx8QXs55R6Hu0kZ6Jlw+0KKRtVD37GmxXGtYR/K0rLll7MYF
+W+p0kzayc+vI+dB2uS1t2u6pCftNWzcnz9YfOzHjeiAvP99IG8kZM44KpfGgE0o+17LjSwN2C8tw
+FFYzLM/eTxNsmMtdagzn1o9RoP1iI1Hab6kd5E/SOtk/Wn9q1NsK07ojSXep0ZrxQsNIiM5M8hyo
+0GoVID1iXofDEFWlo9A6csFIVO5SIzT3jozz3K83cqP7bbXD/MZbR/vn648OhCmzIOzIi3ZpozLL
+jFkTKxIZ2xnAV2UAfmRFi7KbYx2kCM1ih5zeURNsCMpdakRm78iozn65kQ/tN9UO8mdpvewf7q7w
+HeL3kbUANozJLm40R6TzhrllZ4MKKav1Upd1R5lEAD3U2KULinSvA/fSBRvuoksbx9E7ajRIv96G
+LNnvq4n7vbeuTh/ynZ2Vb664x503ki++94MXr89sgPPjV0/+4umTX8pVnn3R7iUhNCUO7vd+8uTR
+uU1zuFnO33ry9Oe/uOf227EvP/9UHuL21csXbz74+ulzPO7TJ198+l88+ZUd/sZb/8nLX37xxq5/
++ORnr09uRHPayv0P+sdPP3v9i3Yv053H4t5//OTV4ycvXg83P9918/jr0Z9L9/y8P3z5eDjp9Mve
+fKxbO928+Mz6+fjsXk9f//pfff3V//b1r//y66/+MXZ82vxOd64g+Ifk3rSqo7WsYFLKKI9LSOYO
+61+bjZ+MXP62G0C1S7YLdLbW5rq6f5OL/QZ/OPZxXrrt4je8BZQ4s9AE4Kza7mFJvDGi5GIqwvqA
+PxPb1mLztnJO1rrQqCM5ey16SGHTooY8KqNCEJD2AQKBQgQIWkyLCpyiBTdk4VFxIRI8We8L6pZp
+0mUrRQqn6qg2EhCGyF0g5PVqcZ6Eql4VlTWANMjCL84YAzy09sxVqVrSAtLVNusgaU0EpvNFgOVU
+BLLKrMN5YIyiCh22rWP33Mknmd8JQwMkbwpS7E+XEf9C9zORBPBUEQpCqVwuzQQ+EeaQJVsfThb8
+NUfyuFa+AjBY4cCtLLqbVMDCgHAAZ+eNjuK5BD0zzatKMj9LDlY5bSJAOJyqDBARl0CHuPkNODBb
+VpwWM0f3c2lfEDXqkdmBzc2yZnQTmkP5kKLF3RKCVqhkU7qV21L3QZebi9ac5XFhSmIfZ+WoM9YB
+wKMmz5MoxbZLYTJyCYYOsxgFPPNZM+d1/xdwPoIXcS2NTR4aXlBCy3OekH45m2RWCYJH/dSZMK6I
+V6Io6IwsRJRVm1a7KpPjIIkOw8AiK80/j/bZWTiAgqpWI2un8MywOssJu0pEvZeZWFVFBQEaTSAP
+0JksVnl6MrhORxEonzXph07LomUHlxmfdgKcpYzclGwDGn50A0ARf5w1ga1GmFqs+LuqSVU5TReb
+SJQUv19wCu3EzIO0vif6z1mpwUxbgYQmj50GnAoQFz699m8VzTA8ZBhGsvvInl4REZBjj37mLN7x
+yl0LgkbKJxShWUEoKIyZkmOJGg1z8cxCeBuoYAPsjYzESVOYQNteogZfWdtGWZhxOI/1mcHAjNo7
+yP3kDWr65AQnk7/PHpVH0BvET/lmFS8UUUxUK1xZi1erWmrtV/xD+4YsF5FQqhpwWUsMw1xbWHTF
+soxSXeiL+/ukFMXLAERGpmEVtf0AFM2LspfWivrSsJnCkEVGFgakKMcov1dwBtAPWZoQzEkLR7vy
+0GSkTJ2dpmS5D6jbt7B6dWAEfDHAETrBni6RgAE3fGLG4KIHASZZjKI3pxV+fkgtaEQh2Ld10kkH
+AUF4YD4r6P1T261NBMXfyYRKCPLPkCY7b8KWp/28RauutJ4ft28gCzwx7IAvik9csgwZYJA1KzmD
+0Ym6qq9pTxf0ehWJQdGYsPBPEHUBKktICfAgkhwmr+kJKdEVMCKx395kS5sIRJcqFMWOIBhPY9nT
+gmiwIlN0fnBQWiz7csGmcliK/OEQVY98xeIsBOJilQAr0pQ1z5zBPQSPivOyatQkiwJuEksoAEys
+3OvNMe2AYpQAlrs6gxRh5rnoKyf0HXVHxGWaLWKIfYZmpCf1HKQC/H6hlDhwKVqGFOfVYAL4uCJY
+154wxRV0BkJf6EgCWTfcWWwaDSjJRwTiSphPlQo+NYjQ2DQ1rhrZW8CorqCYRY1jMg==
+ ]]>
+ <![CDATA[
+ P7syxyu3hbvaAAqI2ivqjMh7MfUKKpxMUn5KLuRmJKzAsbJ+Kiv+R/wf37KSqrTqhgiFgefBdFr1
+A0Ov8dcpUSCTUXlhTHcSQapObGdfoosQSyEEi4wZmX4sdas3vYqviYcQl3K2R5P3qgOFFagr0cd5
+0YFBcALm3sLi4qX0XQhkVUMwGfj1pPEYrnIVCqNo8Z2NLXkCRdJOAAssAJ733U0QiYeSJkGX639c
+wT8P2BRBE9yjpp2i+HjsNofWxRAtCpVOAdIMUCeLhhUEzFUOUNieh5ItcR0wO9f5WctmBjCfopoC
+YSIeoILHzS9IC4n/dhh2f2CJ1gx1vGgFScDDSZ4/tDWNkwikkFUnPEnyTFPGUmT1GEj9i3AEPU2i
+WNUoFNYz+2RamG/mvwdmUM4Kmrldo7m7sKGqHqb5wtxUSE0k3aFM3ronUTP6hbpfyMgOWZ0y2pqM
+wsXhd+xUEXI3bmGXzbBHo6KRGdGwhPjBqgmBMze9NGzD7jIRMQcImKNhaCioCwGhE5hULKyLT+ob
+JCC7cJLFn8WMDHtbwQkXQUJojufhG6VZl0p7OLkrmUxQJ4qy5UU5u4DsVeFEDQ5jbi91sPRWLsYa
+VMKv4G6i0Cwx3QJbeeGCyjiLn8V7L2t7mMiN/fB7LkrnyKioBsHUbfaqwwslnqlu8MFkeGPPiCWp
+utF9MheF0o/N1A94dZk+lFJ+J9hacE2p3WZLgphl9ogT2M6bNFeSPkUy3ikCCUjJi5NWiladEBSq
+feywDHI9IK0EwxbNqYYgYxYkxF2xomIAp9DPgy/KtYl4HgQg6Cv1f9XzYOLWSZ/PFFzQacA1QvFi
+1vBGmHgpussh3xNm45pcw1n6AxfQyChWtbsUr9WKF2ZsvWkCvZrM7RUJwH4Ysn2xglEnwaMkDInI
+0mhIcgcprGirThaoCKz6IAlzZWQNsMidWJIbMZBWxMshTchFQr0CTjLkpwYVsFIC8v+wgb2fxxqJ
+82yfGAJgZXw5QaseMvsXgsXzM4KaaJlluTMRXuKYVBqrliLkfk1Q0/Di9F2KuYl09YxdsibtvIIM
+P9NrVixSxqGu+11fxoVXg5BzE/UwMFsgWFrF0lDybpWHFB8c9OkpZTssUBBj0Qp9yNbG74u/S5SE
+gJ7DMIZfig/MAuUywGnrdAEytX3ZdeliLiTTLLCiTrSakSOnBpv+bqPZDCs/yBwcAgKsQ9cE3KDH
+8+1MCnwD7oyWuJXOZ3iG3LXAhuUMwlkddtdZUWJFpBoAFb+yIkFohkkEIi6sbaxheCn4Js4YkNuE
+UCxu9Qx1/+Vq0aNpsa2cKt5e7aeRCoHOclKPjwQRfJO4mAAp7TAIuwpDcQ2YwAgzT8U4ydjLItGv
+UpOByoIlR1MbYBEaDVvswFTXAcYSC2bKY3YRXSCa41fDnENhBaA5paHlC0pvVzNbJ6tYivNWz2CY
+Vi1oCWmkf7vqdkbyDtZZET6iOsj4GyZP0BRCcGOqJWnJXC5Y/udSlO6mNe3K4AHgm5OWFWsz5LAA
+J76lOWiR2zjLssJ9slLTz8guhOeLBblarUNNRCPGpaH+GTQWsW7WeRyZmqmFPH8exE8CBvmMd4uz
+AkFP7BS19rPIl6DJlbTYm+6wHtRX5Ihn4XpiGE05T61yBPSGRfu43wByFauWM+KmF1jZu0ZpUpQR
+XmbNnShand8+HfNhaePLtMxDlizHEzJBi1Xm1YKe1TQoBLoHmrplfh4dBa18YmWEWZKh2pqMxZFV
+vCqsLM/WoCEH7EMWr1mZNbrrAVwHs+WZ2oq8U7iPvrhqEg0KfGUlF8kALtidalGbM+p2BE3gnlFE
+LLkftioBCPiMhp9NgIS67OmULgXumrWwpKw/vE8ddDvDewiSo0AXQa6kw892CED6XNacRaBLyPbn
+Prbk6mHhjdQq2SrELuZtsRoCt8WIQeleKCqttfuR7MltIbJtwxGXAUOEuOSg60LBW4MkMz0+Qo8h
+1Qv1UlnzAZLJd+6cEWUt8/ZU7rOg11j01KgbkSEds80XXoO70zHEZvtYMDMPy2PBCgSWNlnA0ENY
+I/RJ02I506hkuup2F4yPgjFbE6ICokFmLY6+aFd6TWgacgH4FMyKMSoQJXPQbTe4lxfOXL0wEBg9
+mPMUZ27YwZkWrYJs0v161nmpbX0drqmk3KK6H8cljhHeLpIvkeabbOMxYjZ2alALS62KzJTFhMxn
+KurE3SwybEtlxcbcy8MmA1+Zlp21LiirwaOYPl426u8CcWMdZsdYkdmoO6RgSZiZUbxqAhEktIfB
+ps8Ly+6iuH8ZMokUtU10dCzliIAtHiSvytgnhwoSevx+Ko1EiPOKArTojPt8sTDUoomTHKSJe4B4
+xUVsujVpifqYo9VOIrzO4WblgTT7AuVfY98D2ScWlh2ikADKEOwNGO2Wwl3hEWM2MvzyuEFuCgqH
+YjQn+FU0JLnhZFVJ0EgzgVA/cdZiz4TUeJQSiYAIxmh1QGm5Zp0Wjkvpd2bWI7OgVwOTYVyuRRMi
+uS5hXhRYC4agVZsd3EcTkwKF45gNgvzxhfnawVQAep08RAAYlZlIfDPMF4Qvk3Tt1kUbm64yf25i
+3YShAKfY7XpgpGm8msnFZb9mk3A4w7ZffXFDfIY0ZQRI4DhFPUODKGR1AImVj1xIV2CMX58VryAv
+GvxI06SnalHxyUwhgHVEdeUtENLrEN5SWeYcaCBwR9Y+W1m32ARLYjb/6pN7shJCyESitkY3hJpJ
+t7P6o7MWASh9ACEOgb6y2hio88V5sZrSwbymq8pPVHJ7PlQRZ9GeaVLYCYMbeaQrd/LULF4uA6TQ
+ueJDDIY1FCIqu2XN7bfNzui8UYCSOCifUFv9IErJpMCqB8wDHS1WHKHMWo1nnWpVQRjm1pJ1O/W4
+TPqACJGsFh9kbghm0AoaSoNsMHdLycyiUrA3TjojWSDWXgsGZE1qrpgSyOrkgRbJ4m1ICK76O+KB
+rHaAkA1zv30nNVQnps+Z8C4Kq9uRZQhadZ61SsKKPdpQDqND4BG7epKsO1U8GwxMKInFsBcmF00s
+60/KoX06K8sPiLTaFvBc7gCipmyLFmY0r+ahEljLcF0gnbhpU1VYgeRv/loRYMG/xzScRTukcjsL
+3U+CsGZN/WrcUYRFpXxVBn4ERUDAGgNx1ppIK3OuxBoxXiCqHEy+bReQkXlWaWCJqEXVGWp2BJi3
+maGsFTCTlx2krHJ/vQCwk93AiFhn44XiasCpNBrlV8M/R86eWFmJbVUcjxGERMOH5Z3WpAeYgbTg
+BbEeSJxY0ztypV8Xs5dInl6431523AXSJen+BzkjKoPiWxzxq8aqSFvgv1f3iikEaw/RXK4k6HyZ
+NBI3wQODhAUdKQn96YLl7k3KiubjVFgHUEUTrgjnM64WB2sxPBiAkcndyI/jGoQSzbSCWEQLzgk4
+9rmqZ7cufZen2IAJ3BzmJ6AyOu8IBQPlpITx64DJ6QMNYsadUZarVN18cM4WM6Z/xqsSAoWkXxVw
+iNahgYeH6T43y4JE/Kj12VkJbV0U6DQLMOuYx6PS/9Edz2I0j3nR6mC2EQXwWtfYCLNz56uANGXM
+J2CSjAlzQyJMKWKnsxL2ZNoPGz3mZdKqpYWKhvBpTXagSWrmhoERmTP9TKVPBpSuwViDhMgArH+w
+907cgcFTgE6fm+PcioXERlYDJRNpGhAwKyObiYdNwBHKKkibdY0e1JwDrKeKP5DyyU0S7SwuWBCk
+kvppZDxDGmydwbav6HxdtSiEBsrK4OiwMAR2nAb0k5MGJzVHZFZTjGFAOTxxR+9msRDnJaIULL1z
+hWIsgCfMCuFUbgK1G1C4xoK4ehhKbOCFFNjGWgyERRdQzH9ygBTSWeZZnpT6i2AUd6idFA9GaKah
+d20YQcj1EzUYCBjWqNicHcXYHtQGeu0Uhmo1QcFOJba8WCGorKFikAu4ltjvZhDZpo3tIJYqAlc1
+WD5QE8Az9NfhQox/q/VAxSX+B00a0AjoCzeBvcZE1LwfBcsoc9/lhdhVE2Dfwbz2l69CrPxVk9FI
+qAUzKWoCAiHOee3hVgg54SHMFsCnUkTsjqlGEOBFY+epaTyv0K1fDUpajCGE5YpMZhTYWPW8AdRe
+Zq3iBimjfSgRiaxVQKoF9mRddI+c2UIkiiuARoUaXHODVyBYVuY6VYa8Ku9vwTep1ffygTRRuDC1
+qa6KT+doLOxqm3tCUHvZxtXiwNFCmXXVAB+XrKC3yb0ccd7kHwFhRRHOIB/BePSqM0WtQzwuN2te
+laRzbINyxrhAvqlebdLEiRSVWwdBmSbi3pOzMSgMFDKiz9NA2mBFiKrZnoDE8Ps6nBXrzJQSsfs0
+S4vEANZn019FibPXIXRYNOkyJcOtEClf4JXOiDtVfbP83vjAHgMEzQdFqxidKlZKCHqM8atZryc3
+i/NWBpv8LmkGIdCaika8J4Lq8tqV3mTpqBjufX96SLGkoXYm0ycggAGrSUTz2FGmi2nXm21TFEwi
+ViK1mNPUVcLUuDqTAif5Uuci3x62LuTqjMLRTPk1gekCaFAW8bTD1qp+HEqT5UVLYNHpklWoJk8d
+pb0OiFajc/wddQtQQo8o1aqRDS7DHhtfk5ZwAQSabVdahhaSEiS1Bh/WhUSnwfUcwG0+2UT2oTrR
+yO6C8w2bqQkQ56nD/jAqXI3rSC9q4YCuNeh6UXWXVWXG2zKDYc4Km0qFh69YCzEgo4igpvOquSOE
+E925oZdi8Bt+161vYHEQ8gUdCd50HYKoWsFo1c5o27D8Hk/jWsDfE0sAylBehkK3RK2BzChKYWXl
+WIGlVmNBZWxMiTTJ3J9uQalVpJEVq7FLJwh+x8KthciR41tafU8TFr/B4UnXSG6gBqs4mstF8hQ8
+TBwR3WwFwKm7VnMA8TBqSIAu5FhFo0wijj4lv96knAwAPrQzLeglJh4hyhPj5+h20dnMQhSiK2Db
+ToF2IHiwonKVils8a7fEyrzDVctatOoAcv6ujEXVjEdEHRGXfO5SxkKLUawIGgYeVqCfiQUu/qv7
+jeQWgdlZZquKHXWre4KsLGyxMnoJNdCc4qCQAgLHM+uRmd+K/Dba+ck2hps32Cy2NpopLKCWsJLW
+pALDK6325LyBK2dFglBAGnFXdg5mAQShqICqg4JlQBxJaUPv5JMFrVhIPBgWOiJeCEABGO/PZiYr
+bIsUbUgqkYNsCAwPKi54z64uRylWFv4O2J875VWrY8Ftw1eda36aTJxIKclcLO6HOuCrkjYogCoB
+6DkVt2JX42gEnSnk7wHYZM2QqsXU6JHJnAxOYwDyRiiSOCk8ThiyOAxV8dfF6oWwlO6IwYKDxhBQ
+MsMe7lvRyJFOkUlLdJFvMw+YEmvKcMLOWr5t0V1pVS/wCCiqyHFfhvPI+pmM6hkMyMVLnGe7HrQ1
+BMndNwKQ3LpI0UYW6ObO1RBosZU4036/7EsK9FLFTqxQI1ioYafSvUVmKr1EYFm87w==
+ ]]>
+ <![CDATA[
+ VWOsuuwhrRsAHT4NADFwW1l1MoJDCqMGdU0j4fQB2IOUehBvk6QmsCkLB5us4EVLGhRW9UPV56Fo
+AkMgUYEP1j3gHstJma4UJNZk19ftpzGIjS+MOc4SrMwADka5wYZFAGIQmCtug+G8QJ2uFGgUfQWQ
+iew9so6q4YiYn1MeGIQT8DDOWhZuNZQSk51LH8tVZCYZ0gLq52HpA3FsUp+HLMtkmgcCxkYp8DBZ
+rWpPIppM3sIC1FA+oqg70bFWOht8jEnnnT4cd1NHSDUr1IQw3YIJhXA8GAEI05EXB9Jd8K2AIUUZ
+VDDvGGRENA/QF6mes55HzANHwMD280hcgHSxcu4ZlV9LsjAdBHAXSAZ1izaj9GOmPibdjfw3hK5Y
+yJz1HmenUnDi2/MtGhyCq0OvQqmCMwsfkJ4FahKCQGC2D0yzSCCxBCNd4/eVvytTp1jWcwlq9dpZ
+SSM3KF8fZuVskWI9nifaK2rHncVZWEVBXM+MW1dnga6IYj+16vqcqcvc8wl6NSRYMn8aXFPgkWXS
+ZQRfF956WXQ+P26fnLMOlGdCKcUWLVCeydmDSV+U5TXEw3GTC4/i1CxWIMOpnxBUpWTnqe8xNpnn
+P0EDrHSPaNoR0pt04zAW1sirwh5mcK6KkBiYqfsbAjUtyhgl2Rh+JnRG6lGcrKxcqBZG9LCpF64P
+DYSBAwGDIhA43jyBKir3DCFBq8lAfvSz2OZgpV2u9P0PV41agrbGaEELMgDLar41k7TBAsDzm8bE
+IA1EBVbS1zWewk9ORIwrDQZYXocgOgxFHT4NdJ+0+pxzoKOlqjBJPLt5EzUgWowmB5NgAqWmLM1y
+xGzLHBTFOYmQMqEJUi5TMXk5BqRMqWDWnh3e6J1hUw+aCti3DZnq3BVXI4HEieU5SGgyHL74WFF7
+mkHmhUMjEtpKqOsVyCnquo8mHkIhkLL7ZMtbNkzgxFbsCN65lLTvfML6iDIAvnvxvZ++fvX0xc8v
+vnN1dXj8+MvnP3n5+hEO3ueitY1vYFiQpAEsFjDJ8yZemIgSpmZ0VSuaFCZlKdKWYHlx4LXOPCIu
+R4IHxMusRgc5vJr6Y+kINHKZ4xN6LkdRuiKQy5lgP6+KoCy3YFkNVNRwqEnM9Gj1q/uBq84AFmdR
+H6yFxrDlXnXDscCJ0Rgh9Qm9MEbysWnwyq1jglIIGSNM0d23oMOb2yFParyx3gwFwSQkXO/PnHRx
+hZhUIEpyUcDaUkSCZq5AQoDDnT/N7lqUIo0HoMmKOClGYfsdTHpoGrePZ1AKFhKqtA402UAI02X7
+npUZL/Wye9K6JfpCKXmJEOCr4/dgX3fGJ8Jp85z7aQnkTVZanPU0khcAF8xBkzuof1fj/djTwTcM
+3B6z6tMlRVVqw7uhw4LS7KfOPCFxbOKUJY+Xh1H1REURKUAyS7ECM930xN1DquMctKDAjgjIcwNb
+IGg4wpdAusBcPbJqNtD74LQWq9eie51qbI3B4qP7xMWK8XAPdCty0hLrNVobWNYxgZDvp7GsECt2
+YCjTR1qpsmYCDuB2QfWUacTak3Gpy2R6E6YiUBYcxq/JqEjC78vkhashBCcci+A0zbb1bKahANSO
+3cCCLkEfzk6b7JVn82Wi5XJWUB1h38MOZ8UU8KiXFm4CvQImK5fqVfWh4uSrJiFE0lSBUa5DVgJ2
+diFl3A/D6guAQgwLjTHDfEFsAOkNbvZEjgBZq4DyZ24Qs1SNpnIJxrYDsI+ZdecPh8QAeMZLm54w
+7TjNqsXLuQ3SyvoHsW+mhrpGmFVAyLlSQgA6A3bfyJN2pLWfinoRHtIkoxalu4iCsEjJyjQr2kGI
+VVZ0hPr8U0OiGAoEc1uerSSN3M2LGhQTWHjcNQiZEcus8XK93JzU8KTdgekJ9jXvalZ+PQUAfWBR
+dHrQzFgypUpm4mErS0UQT2fPs5aqIFZh52VVd6zkircOWh4iCPADGE1qAjEmifrYeU2aDEMA2Dtp
+ig9zaiLZ5sr/7kk2YHrRjPPDknlTleThZRCsGq+080y6ZA0aRIYqpqrEAsyFNjYRE1l9q2NQ/5F9
+DLyQPLKiWdsXMB+Z7QbPo+jU7/RIRgahGdQnLBoYhP8jAkJ5jO7BwqIbuQ7n0SlDbzyGMwJfJerE
+ANMEn66rMMx55EAg9ttmmULHU4MHYL9gIq5E1I/ti4vJFXgUAJKMgRX1LJ1ArE+psXh/H1DDeGzE
+7fkUUWuo4Xfax0ytQt7mPCSjR3pVGsZnhBW/gxiBMD61OpOtZl5t7pOnGD0eOacYgwgaknkmtoCS
+2MC7T4sWLenOBj63Eh0n1IgpWiebJiu2+khZ91zjsgx4HGaF6bBV6ULrYtMctDSNmCONB683MTFX
+Nynp5hLwKiRLUqwjU2OWjKDDT6KAXENE0N3nY39L0QOjchUX9aEp4WMmS+ahZCADEjdhNbpVt9JO
+wewdLDq6Y2Iuuug77SQ1opSxSsiWIZUWt8qvmJhmrXxK57BzkywOrKDxGwoYWgiW5MMTyVIK85Cu
+TzE/E5DyedJ9EFbuEAKJvtdJ9SAlA0RXNQQQaFKsWsqWuoNlcdSNiI04seqA8eVWk/QB4vG5wM4j
+iRBkR9vQgFWzm6DjbQTm22GT8SsC2YXzKIFPsS5D3qeJi2X2YgSCVRN04w01hre2+od3C5hewL2L
+Fh3dVhYPnO7M9DotBAA2NSkRyQJ02EyIRMBZa2Op36gJaph3mjPDnYjoIcFNZQ5PURNBlwHfFKXo
+zj+abqllKitiRxOnEqtWwo3TUhKpn7UWBp7aWVULO7bOVTAxnNRtR16NUZjYimkGZbCBzskQHXMr
+OYQUodOnA8EecWm4HNkop9LpgilA9qpR15LFnPRqzCxceZdeE5N7niZO92iFOhBdJ7HdE0+yxcfC
+xOw+FgJkaCxqUB6CgHeShuRSXC0h+piISOIgcrX6TS5WgG5SgElPwyrHrdgjbSOw6LU+QsstRAYQ
+SAlghvTEn9kqma2WTgFCCdYGcO0Ig2G/IcLUBEH8tNnqqCHoMGl50wX0ignGNJ5tDoq3szRFz+6b
+jRSCHAaNIiIJAFAy4sWeq8ERjTkzVDiAGO8T4VkCa7gE/EW8B66HkNRZy7bmuScHApsDUfiT6VL3
+vyDO34YUsizlwmJz0rzy+u1twiDhtFTD8bjBlyXvaUo/kMiBZ65b5HGra8PakMrIKiBZmUMUzNxG
+W3FaP09JYrmHuYmNh9JKYwAtY6qsjvqOtvG71lbyI2okEzkDLLSSbRmrJGMYbDlz5Mdo1UvhrAFs
+A79REfbJdhKOI7S3TEqTg5QRfHAodLNfZXlTAMc7bnIlwD0o3JEKmVa6+RwLtECfV9tkjuM1stDH
+sPn3WjSP1xJprYArV+9Vi54yqcW09bF9O+bxMK0taBYp+TDJMFiG4gEvpzi4zgz9g5kKKVOuyBBI
+jO0w3qkUhkKwnohExyDFmIOU2ZeeJJ8aCFythAY2xhjGSlBoGDX4mFzvycxJ3S3NI4XRZhC+Ph8o
+LFgFuV8HE4eRlJhI70mWgEw1jv0wp2mov8I8t9RS9wFJY5lP5t3xCPBSQQWtfTtKK2ieViVWs3uW
+BlytLgoSnmUCplVranRIHQZVwlId9eloOSWLQjKRHnMFxYnh9dnXixrTph4Itpc8Zl62ogAgRWIU
+Yoouk+uHol4gKgYzbWcuSmXJKI2CrzJb1AhH5CX288hNh1TzlIoWv8gaqePvADRyVUDDTqtaRCOT
+Jq1JssoKaWTJ2apcIFkXRrx9O8w0xD80MYdHYekioMud8Gadv7mOyD+iPCyuWtVRgIC4AwRMA4MA
+0R4IHGaDlEYJemP+NNK2gbBC0K7HlBQUO4zFU46TOp0zCpIsWsxeh9jCsi3kUEKLJStgoafBdLM0
+vjVZhgLAP9Z2Whf7PTCtsPbQGaRI02jJhhSQeFYbOxWcBATFqk5pO69qpQVstbhYYXbifqzCy3zX
+ohv6MLF6auoPlrFmA2bWMY2TLeCp5QAXJZuDBuXoDE09gOgI9a5m+yX9fWqJWyykgtBd6U9XdDcS
+ZDFy5UA/C0PKs/5GMlWydEGzcYKSoeCWRKYzZaMvRSvZFC0BrUXk3IJjWRomKy2aL5Qyt3TXUCz5
+vxPxynH9AQEGG6LEFpGabGNIJi1GyyGxIHOexoxQYq9MPWtuUZi0IsRiGVzkQUUDRvz5aGuJybbC
+ZaENxwj9bFEi5rQn1ZngT5kNV3SYx1bQGq8NypfflEZh1uQe+gJ9I8tVt5KHIcxAJHYh52Z9lSFr
+LczECsSjXQU0dVGCEYnVtLex8q1K+OHvrHC56Dz002bGpTV5gL9zO8JWb2tvtn8DngG0dFC/nrCy
+FeAr3Nrlgju2Fg2scimuuVURm4xhm7Xigy0Ck1p4wArJDgfWCBO7zIp7sTgG1jgW4qpDvTDmt0Fq
+JTQIK6P33ASM8+XBR0LvJCIgGD5xD4hZoxTcOCDo1gusn4X0BGfMMP5ZtDwdH5qbYUKdAqdBmXEW
+UdbAH3+3aODkQWg9aq32VjT1VncWwuWDgoAeRFTjPNiag8MwqgECwq1EZgCy27AvdrcXkD5gVV61
+Oj+CkcT87DAKoGnQj9MuENWj/1LN5eQWlMA6qtWnYclmLEJ1U7CmLmr++GHoAPE6Ug0xqptgmTfn
+mZRl9eFMLLrOg7bBqviLbUXVBGbtLYrI+2HrpGg0UpCYXO6CaeCfuXRp9ZsBwYKltCSzx1BOCPSQ
+JY6B4yWp5lhY48PKUutRcy26wwVz3ZetMZs0z3CJVuNgMR4TiJXUeLhc1fM6ao67YiUISEHxY2Ic
+TAHuHV6M8wjS+mIhGB2aKAxVCB9q5Z41afXddKn+IdO2FuKZnaJDKWYjPhUtbAgQXsfGvdTnKHKI
+0BR3Q/D5uiaLZ69EFMnWRIQSv7OY5JqUaoN+ejUrs1kQdGJZXNR8S4yYZVsaV5vABGWcc4ixuWSF
+qFoSHROxMJIra3UFxboWi7TZBYOasout/DwP7BPA9nCAIaDVuFj+uZ/HsDekCAwz2W7iK8/M3oya
+SsMqe3mIV0YAaSimpkmYs1ZIwSLMAhV8vdydMVb1ie3xrI4bxOohrc0/gyTAdWHeIErdAPxwIrje
+2bIaJrJoEJ8VGShZeB9Rib4EStYelIu6dv//7L1br21Jcp33TqD/w360DbQ08575KB3TsOwSTRDW
+DYbRoKtLYhusaqFJqeF/7zXGiIjMXPuUWmIf0n7gS3ftOHPmmjNnXiLj8kXK4usXHkCVvzvPdob8
+1/bp3aGLwEpj6tO1xb3S4qfkGzaBvWNys0pX0gQmJBOBmuk7mHdkFrrE1olh1My4EP4bnAupaTGo
+aeokh0fd2UcMbq+Wg63TOD1NVbnVpHjwVs+/PoLJ587B1iEEqxyduzj2UWUCBo9pyXmeMULIg0v2
+nvS96Ui+VKCJZ/ktSWdexZZmgfOHoErw+PKtGKHdPBkJBhN1LRxqhWZqO+rgSBpASA==
+ ]]>
+ <![CDATA[
+ 6TvNkvtoUR3ziEyyZPlqzA0crITXxKFgCW8lXYZW16hS3obQBinV/RuG+TS4Da9hmUOEfrR9NLXA
+D9iOhSvrS+nhyJLlxs0AMAJNniulICnPAQsCDoN83GTXqThDEnGSvbYL3yUFeDFjjVo5KDLVVDMe
+9Mh4kHlyKqLPboXGsvrxGZDmM+SJ17RuFhVKR39o5ixVwUczv2hyd9zqljnzrkV9+eaK2v/ws+zu
+v0tr/78hkn8FnvxHUZM/lRlEFlsvN0QZMzqNGQzlzLJoJRDKsDjXV9sXQblAC5o9CMqomcuWDaAM
+TRfBLSc/Gcf1WWbgk3Hgff1y0JNxOJsqfLnhyZkZPzXYyfgbT+voZPxdRVze5GTelFqAk9HyGCu4
+yZkwgJuajBjMMUdAk2HmHbMYM7kxGK1eyGSEiqdagpiMPNNn5QAmM++UJIGTl3xKiUtGvdfkyGN8
+gFoMz3vBkqvDnJ2VDNw/1RRHJVc669MbKZlOQKFpsXCw2tTKzklG9CI8thcmGXGjAhMZJVkcurQh
+ybAPsVzExUiGfQQ51YFIZgWoWTchmeEDeb4BkhEtkNrcfOQmxmjQkfl3f2MjU7jWRiOjGRYAczJy
+Y2RcfQMjo+ZSNlwyuMiI8CxczQ2LjOMeX/+iInvsa0CRmVOF5c6ZyIzkK29EZJwfSts85AFli59f
+OGTs3U96gyFzi7fKFWQhM8MtpY1CHjYtbhIys7qcUU11tw7bL0lChmCaU3S7CaAmd+7IxkFGoSH5
+Sg2DPKqlsZ8U5EGbSAkIMkpk9LKCgYyogNc/3AhkpKIOlZZgXPhCteTZAoCMv9O48ce4Z5Xu9GO0
+C3ePwY+hgQ38/8k+ngC5jhXoY0xqpOs6+RjPjhlygY8RbIa3de4xc4sxdZx7zK0RyP2Le6wNU5WJ
+xMbGfgm4inOPFReX5s09ZlhcUowvLdAPN/3AHvPvp5Ube8zRBiuoY4/R/Y9iJ5jNgmJWsKOc0GO8
+dnlGQI81sXH+MegxN/Pn6Tf1WNJZg00MwZNnCXoxy8Rhzbuoxxw3K5jHVHYOVDL/Tj3fyONFbHcN
+4jEIGS9lNoDHyF9oOoxt3vFC2njAjnmeAu7CWMcLGk+vN+oYQswtJx0v24UcdIznQCMn5xghAnAY
+GeYY0+BRu4zwRfxfVbReQI5X0VRxxjHHEGayEMfYTKE0X4RjAGZxGHbAcVsiATvfuBk25cIbN8N+
+Ot0YVAj8sMONAYXoqd1s40ZbWwu0MVKl8UtONsbfcFtcyEN4TCY4wsY1Zpw9GBnmG4FWAb3/pBoT
+8JVmQI2hGmrVo50RhnfE+l1EYyYlK6IOHwqxVUjb9qD2aqkhF84YvlzEDzjNGBS6kVPAjMkp7PNm
+GcOPUJX4wBWqMnGnBssYfw8BkLeFx4mHTjKmy6V3JxnXKoDxBTIutm46xxjG8IrBIIwxNK729Btj
+zIPWKk4xzrYpOcT4XZXbxlCLesYmPnO/GcZIEZlBMAaaozlN7/VT2K4Z83Lyi0niSCXwxXQfyujN
+7sdNWf++M5CbBcA6uxi/xNIQxiRuSP/HoeMkFzNthN4jCZkITaabuMXwq+MccmKLkcIP659Ti5EI
+r95ikKRq2rUbWQwCK8aXEYobKw0ff82KrNQTVww6NXYppxXj7058m3ys+Ju5rSerGHEBAM06qpiz
+9rUqGak4/jxBxcgtxH7loOLXEYzIMOcUo9YnMnkvTDGc8VASHFPcmE1Rg1IM3RVm9gtSDK0HyqYz
+irHGIPfSEcX4d3yMi1DcRIZwPjH8eFDcHU/ckGyV200nhpCTzNYp/J2UnUCLJVaVNzQxNDQ8sJOJ
+EWeI+eFkYhBtABy6wMRwjHIRFpcYsZcLNmzDEpNcKs/mphIzBAMhtwYlrknarDOJARHG4n0hicHB
+RFqsE4l5cMgrgMSAiHJynzziwgIzOXDEZIa2FjRi/M3d7oQR5yXInrOIs8yOTiLGPdhCTg5xKRrb
+hiEudK7loBCXol65IMRw6WVlhXEQA7GtR1P4Un9p52ndBGJ4RPKmEiOehIdD5w8/HAnlnT/8Gr34
+5sYf7tqJgz5M1kF9gw8jwaKNzR5+pDQFevhR7P1NHgYOb4wNHkYXHdjhh8vfBR2mhtR7QIcR2FlU
+HVO5e5WHhYs4DHAw9o0gDsNNIiSwgMNLfKebN7ykizlvGOlCGzacLcjw2njhak2i2FJp4EUlb9Lw
+UpzpTRoeWqMCNIzcv7Y2Z9j/vjDDLnTK8JJtwPjBQLhSVzoYw9kUG7/Ezg5OGI6/T8CwC50vjFwo
+tBt4YRtyF114MQ+/BlwYcAIoNM4Wfnic1uzdcZkRI+Vw4YcngZoDLvww/q28wYUxXxnm4nDhX9Ld
+hVOt04VpgJkiPO91CHmzvRxwYehh+NuBel0z/0ILA0cJpJORhV/jhmtjkIV5Hi9vYGEAY54UXGEQ
+hSbMp84VxqpBw8rFFUaXUnFxrvADuDe8BA4Wfmj4yDdXWICztLHCj4H+nCoM402ZN1QYhusKE5Ix
+hRHsgxONIYWxGj0j30RhbDg4RjpQGNwG5lN5EhHMUKXcOOHctDMYTpgJ4koBZ3gA/p6quLB9YGio
+tBEsYfjAhXSy4NQmo9FJEobi1pXFrC0VJ4FZgyOMGEoYdy6MsAudIozgljlTQITZK4SdHEHyiJbC
+sHGEMEIYsDg6QRj/ziohJ0C4mIXN+cHFUuIdH4ywgNxueDCCA4gINnYwiAOLrBLJwSSmvneSgysj
+W3KAg7HiTcwpAwI3WBJw84kNprJfthA2wgV+oEGD/e+LGRxCQwajnPRTVxCD39XcrQfDLl2fld+Q
+waqPMlIggxPDigxrz/MXwijWGO1GBqeydPIOZDCu67X0QAajHhv32xsZTHEyRjyRfZCkletGBiem
+Ubb8hgxG7MZq87wTR7SxNjGYkpnmGzEYDebWvSgnw0Uy7cSbGKygHuYPnshgsuSL+Uboky9wqs26
+kcHk4A5jAx+hnBBDzQpkMP5jjr6JwfyPbljljQwWKbiUjQzmC865NjKY/5TsnzZcLCOdl35GQwbT
+M8ZB4shgfqCFL3ohg+G7oj7kyGD01aOgfUMGawggxuNCBtNtl/smBhNSy5QGQwaz/ADpURcyGL8w
+G6OMDRmMR3qASgxkMButRgLeyGBGatGe6chgFkLIBhFWMCnTeld+QwYryKu1jQzmb3D4OzIYkjQ9
+rCiYwWTtskFDBsMsKjuzI4NpX+ztjRhMv53mlRGDaT5a5gtljt9qIB2lN2AwiBalBS4Y4MpMUK/R
+glHYjA960YIhJUvOccG8rLdNC0ZD6w0VvKZ9XicF0+hFW6uTgvEi3HJuUvBaNiccFLxgLaNN1jjB
+8Elw2l+YYNgiH4sWox9+MhpnM4LxdzaM8EYET5w5Nx94msoUeGB6Tazs3aYDI9W99bThwLTNydyY
+3YbPQij5DQ7Mt85P2nBgfj5OSIcDA2AKy+fFBl5M23QyMOxg9DcYGBh/19YuLjBkr/UmsMBogWqQ
+UYFJT139hgInxgg8PajAMsyba4MZFNgbm3kpNhWYixpLmTsVmD0PQ61jgdlbWNAvLDBt+EMUYGKB
+KaAN1o5TFOCEfGGB5f+pI7DActDMHFhguX5WubHAeOyGMAbHAjMFqbURXGC8Co6AFxaY5S3gIHQs
+MJZ7TjvDArNfMAIvLDCl0DAMC0wv/lJyLy0BENB1cWGBIdVR0LDAFPCYalhgCuh9OLHADOgcCFox
+LjCLw2AtcC4wVhOcr24wsII8VdSPngRehl3NwcApm7PkAgNDyjOHg4EtFjQZGDgRmTRuLjCE1Dac
+C0xBFz44fqzhQH9xgbGS8+TnXGAVcpjdwcCsSo816AIDQ/raXEeAgROZr6UEGJgCrL0XGljSuQIN
+zIaK5TSyWiAsN6msGw3MMhg4sDoaWAkjuTkamPVlOZ5PNLAyhVSkkqAmVDHilu5s4ESy5lo3G5jx
+32ukYAMnliVexdnA/Jvj+4QDU1pzsIEVRp7lRyAajT8HG+TNBlbceJK7g4ElrAoFNcDZwAoJf+bN
+Bqb+17KWPoWwovwC1R1nAyN/4ElTK/IRndMqbRybDQyJbV/GBqbE/Z2bDZxUumKjgdmW+0F1yAKi
+mA68Cw2MF5Uy5mhgbtbUIBwNDA1odKHWNxqYEVvcRbwyCk44paiAlIrxIHodQ+cmAyN2v7XVNxkY
+Y+x12mybDJyaHbFuMjCzh6gKOhmYVdvkKDYyMJX3jKX4JAMnd8MHGZiSYVHzRHt+VvuPIwHWWczn
+Cw0s9kRqgQbGwvva+IejgTUMZr/ZwJQ2EYNj9V/Qph0ODAE3rgsOTAc+9BKHA1OAnczpwBLAwXTS
+gfF7BPU6HZiz5CkBB8bm8YwbDkxP3+uZgw5MN2lKQf3FCjVlgN1sYCx35uekEDQi9IeRgTsWH7CQ
+TjAwhOh/4wLjT3p4hAVGKDKUzJMKzHqGMiPTlAf3F1YjuwZ/YrW4kMAs1yyHAimQw5i+xvpFVWJ6
+Ng4eMMm6c7mMVYVbChqw/33CgENmLOBp27NDfkG9xfH2IgGPJit1XAQ9aKQAAfvfJwc4ZIYBfj3/
+QDSLUYDnQ6PjyQCetmQ4Ang+WvqcAIy/0akXABg38Xhu/N9psS6O/52PRvJF/x1NBhaH/w4LDXb2
+LxgN8Axc6F+SYGsJ8q/IsDXAv7B3w+1wcX8hxLh37i/+xqBx7C+M4nC/XNTf8Zhz1KC/45FDzJm/
+NIvndCN/4dnrqmFF4x6m4ETasRF/h83Ei/grhFcJ4C9qIsGb57zfDodAGhful7I8gvaLexCl4LBf
+UJdgkTlhvyCUld6C9Qv/KjziQv2CTjZyu0m/jH+sKUC/8BirSqI4v8OOlhfml2VzkfBjlN9u5ySH
+/OI5MkbHyfjlwwCibYjfbqdGJ/wS1YYgqBPwyyw4DE7j+zJXDpFKhvfdjRx03960rDncd5jn5onZ
+bWhf4D9g4ADZFysW+sqJvYi6x8p7cX0RjMaDjl+0ePByqC/pY3C2nUxfokEAEpRLC392FO40ou+0
+yIqL6DuJD04B9EXIf2L+t3i+QBRjWb1wvkinePg2ovni9MqyDZZY7X+fLN+QGcoXQJ0ucO+w+Dce
+WC6Q7yKOpwbHF8e6msVqVOVXhnzndXN8IeWxwmxiDERpMzC+PK10ZYoftVABpmKFX9dDHo+uMY4v
+r1iEMR4cX2x2NBU7xxcaaV4tML44RePjXxRfHLugFTvEl8/06CorE5atetZJ8aWO0dQD3NCoXqjq
+iIeCsT5xuSm+0jDyDIovBFzunOJLAYsknBRfqml8eKP4ElJBrr9hfD8pKl9Ch/kHwPjSZoeU+Avj
+SymdiYbxlSUvj+D20j6HrfsC+dL8Qra/gXzJ1mDzAvmuqiFycXzRAzQCOMc3DprO8YWhLUFXvDi+
+KrA5NsiXAjx2DStil3WzXkbELluNg3xlxuspQL5Mi5zt5vjSkIVh6hxfmhpwhHOQLw==
+ ]]>
+ <![CDATA[
+ bSXYUi6Sb2iYRvLluLTYBrEHqBqPfJN8TymN/8ns8E7yJUcDa9hF8mXofX1mkHwTUcrArhjJV7SQ
+vG6SLwMgGcJgJF9x2+oMki8+Jc9PF8kX+StJ2Zk8HyIHCxcZx5cFq26ILwKsuqYlNXCotlmVtG2C
+ZB0ZLoYvDSt95mD4RkytM3wpYEmsMz+IQpL3FKnIdppIv8NjbLlCXwhfWgbbyoHw5XETNjdD+NKm
+ldJN8IXRJ5OSp0QqoLQWmUKKHWFeibz5G9+L/Kq6At474JsZKdi9g0ltN7kXsjJTgHuZiAYYi3F7
+h82Li9uLYDu4IQzbiz+f2oLai2A17NcXtHc0+YSd2TvgR80tkL0w6HQhdDexd5jN1Ym9HZqmGNGM
+3e1m4rt4vaBAQaNyXG8326HTeomNGjerlzVmnuqo3k7jjnN6uzkcL0wvA1Ow7VtOMAqcwALkkF48
+Ok70F6SXVbDLDEYvM9jTDERvtYivi9DLuIA1AtCLGpSwQDmftw6ZHS48Lw6lmOJO58XRoKtiNB0P
++Bu6/MXmRTAMrPyO5mV9pTSDzAua7BuWF9mjTZxyBsM1JJ8GkhchOTh4X0ReCGHCcyIvQnlgvnGy
+LkJ9sKhdQN5W5RZxHm+rjPg97nk9+LxhvMizZ7S6AUK6WQYdxos8G0ZunyxeQD2IhTEUb5vyBTmJ
+F0lCOBlfJF4IMYscxNts03EOL56EjZwYXsS9w7hnGF74OeF58YBFMBcQ+3NBePG+PGIbgxcHJYxb
+R/Ai5Ra044vAu5LZIcxqyAy7ugLAi8hlnPMu/i6EWHYdv8sko1WDvotQbNj8TvguY7ZbC/buMku6
+o3fxt/9QkHfpH3gsbmvI9q8t3MC7yH56DZibu4vcxqpgFmJ3CU9TiRdam5aZky/oLpwTGiZu0oYv
+3WZBMQoX0x4u6C6lsAU4dDcRg2pYRil6MKaMdEN3WW8dJkeH7mLfp/XPobsUwNx3Qnd3YwbdheDp
+owZ0l7kLsHlc0F2oOj445DiDAl/FhmTSYriNL+guNTQ4Ghy6S9doUqEFFeJ51+y2bewbQ3eXubxu
+5i4sv49yKLgswvDrORw8Gi0LOLp5u0gpYDCE43YhyEaLY3QI7qNP54LtMquzSA0na5e/R3abEXRp
+oqOp/ULtKkGi5uNCFP7CkA/U7vY3nahdqvIML3DULg9OpOMaaZeGw2512zYvl+bDPix/wOyCsygx
+IAyFjAn+fCP3xQDtKkdo5o8A7VIyuho/kE24o6giJ6N5+eLYbgy0G39foF1aleGId9CuUp2RcGGg
+XfrWmGFxgnZpiDeOrkXiPYpdddIu1WV8oYu0S0ULIYpO2oUvgOlYHmf8WHzlBdrlU5USnF3m3MCy
+4Zxdpi+QKX9ydinlbDfOLgVcbYyzy5UO+RMXZ5f6IZ7dObsQZMxS5+xCwDj7i7PLUyo3CHF2GYyB
+Y6VzdrlsTLmqNmeXp1b0nYN2McqZuuCgXTlA87pBu6R4JGRUGGhX3viUArQLXwGXmwu0S5pKVdyO
+1kqgEWG+cdCufAxazTZpl7EXSPpy0i4F8E4ZaZe31XWDduHnU58baJcsQeYpGmgXV7CbLtAuwjQe
+mCEctEt3IE3PyzFAS1aRC7QL4hkd6nEZlA3siw7ahTuGg+UC7UJaay0G2gWfiQqEk3bhOaIl6iLt
+khGHs6uTdiGgmuekXQoQ6HqRdklMqrJac3cUQik4u7yL2T8nZzc10+2cs4s0YR5KnLOruvIXZZdO
+tSR9mAGNfOYqxYGUXXD2GMV/UXYh1Y8ZZTcRGSSQP8PEKYBV5qLsQlq7IL6K/8Fl7AGj7LJlrjon
+ZRc+Sq51TtnF92V8nVN2Q3BRdrfUKLtonvYNx+cmBlMryvmkDZqmFpdlOwA5ZXcLTspuSJ2ymwhS
+yyUouzEwL8ounbSw7RlklwnYcKc7ZJdetqwMsB0/SCmOdg7ZpY8N5xqH7NJRBnvzBdnlsCcZupL8
+1+SJMsgu/5UEjpOyS/xYE3Re7m5iWx8teDrAwzSEWXhQdglzfJICS4amSl/VMig5eTC5zN19Fh6p
+1CIMs4s/O7yMjtmFYJhhaWcsQ0qHgXN2KeBmZJxdCh41VI/Jk+XRNc4uXcH0XjtnFwF4TBy8Obv4
+4IoOdM4uUQnQUp2zy2g07MoXZ5chDjgcO2cX6p/8u87ZxSCs5TF0VOhJELdsES0K0y3m/wvSLiUM
+0btIu2yxTqk15OcwCpDpvE7ahYQ2sZO0S92Unloj7ZIwNpopPMS2pKYIoxO1G8JA7XK7Yuipo3bZ
+YTNLcd4x3RBreBlrFwKaD4K1y0sUfXKydinmp3LWriBtI30Ea5chdEbjPUxoHjHgpF0EsHD9CNIu
+cRAKQzhJu7QSM8HbSbtU6Bh7ZwhdTgC++Una5cnn2cJlsQrB2Q3BhdndUkMeobDJMGshx+En3fzv
+4RTAVC3SPQ7GrnL0UyB2oezztOaE3a7V5gbsdtkygq/bFVQeeN0pveCm676EgxBcw+ROZUYHXRdn
+cVR0uuC6OBX2857B5Csn61pI6w3WneYVMa4uiq8IBCOsLgyj9AicVF2EmsPNa1BdmNdg7XRebba4
+r4upC+EkaFdIXdgCnxlAXaQVYLe+eLoIS5d3Sjxd/C3HlHC6+BvpZhdOl1xiFPQ1nC4C7zF84umW
+whcumC7dMtCoxdJFUDlz6i33DSjBxUl2kHQRRoQ63Vpsy9Li7xjd0lmv/WToQt+AD8gRuizk95Qg
+6AJFCDP3DdAtFjYR/FxEwTdydi01BAKYGG56LqTYsRyeW4oOgMHOLUXBWTc6tyyGyxKcC18trOo+
+YuAVR5zWhc2ty+JrjJpLU9sqAc2FEYBn5JOZC7tHXUHMRfKN9mcF1HSLG7t4uRAybspwubiJMdFG
+y5UtZd2w3GYxW87KJT1BVD4G6TffiA5ULsJmaL03VC4iOYYRWWnOzpqcFygXZtchCi77ZhD2E5Rc
+pMrizHxBcuGuPxC5IwvI4YRc3INReAFyEa2TlTGq3E3U+ezD8bgILmOyxknHxUsiJ8XhuOgEziOz
+hsJYCcPuhcaFha+0AOPSq15ncHG7kQ8uLG5nXYccVFxPsXYobjemwsXEZfULJEQZEjfyZI2IWyy5
++wLi1qS9ynm4ILbCSWc4XNh9l7izm4ZLTgfIpJbwzbIfTwkWbrNIzAuFCyFsFk7CBbYD2pqDcPFL
+qfYbhFstu8A5uNC5oNc4BheJYXXdEFyGSSDEwhi4wKFgHhkCF72A8XURcCGE3uAAXPAzp+qLk39b
+zPFy4W+dW+P0W/wNO5DBb/EnjAwX+xZdAmXV0belW7iEsVuK0Q4u8C1SoZgWp+ySYsHFjr1FqhVh
+vSf1ljkQuQX0Npsv35m3cJr2cRNvsykIDrzF3zBuOu8Wf8MZfeFuc9XhL2i31QaQYLeNC1C+WbcE
+45sQ+AHG8SMvyVC3DGcQsXaTbht4U88G3WLvhBbpnFtYnh7hcTfmdjH7Pm3KbZXJLSC3WM7mfGPc
+NpnXg3GbbE81xO1U2PQFuFX6QAq+7eRobsG3nQRm5BtvCwQF4jWcbjuVuWB026nQoTe2raJ/Am07
+LGbHyLbZ0qRusG0XdiS4thYdG1hbxjKXN6otzRl1Q221swTSFh7X1N+ItrB5s4qtAW0xbllBwni2
+DPspbzjbIi3HabbZdm+H2TIlutWbZYtwkD6CZIuzB9mFDrLtSjl549iC/l8DY9toS0xOsdW5p+ab
+YvsAVATd2Cm2MFRa7W8FvDzMEJYCujG29PY3STkwIFBdAIMifVKNv732jTV12FE3MLYIXMAQcoqt
+46scYgtnGiNBT4YtTvZQsRxhi8RxqLNOsG2WlngBbLFALYWNGlKBxlrH1+LvoX/ep49mLniH18Jj
+CZO/s2uJa+n1Rtc2y/N04zQ4VSeSFnQV85dtcO1M4ZqlEGdv9oPyPIEEwvH+otZCSB3YoLX4O8nX
+DYst+J7IrrqQtbCgY3d0Yi3Sg2g+s4vgzIOj6+LVzqmTgeNqyWmdIzC0APZg37hgtbDiQR1xYZ+K
+eHVUrf99kWpd6KDaYfuwE2gRiooj6cWpRSApLSsmnEmWXKfUxt8npNaFzqglWneuQNSOpqCNi1CL
+aFqsBg6oBWgOpmUH1BI8l/PNp4WQrk7D0w6LznEYLYZ60U3b0gy6KyLqnE07i7ZqR9Mieg8R0xeZ
+Fka8ItskTRz8O/cg09Jm+bQbTAtDG2aYc2lpsJspsLSsrNzaTaWlkbQuh9LSAztGMGnpoU3rQtI6
+OsmJtHOKhhVA2mkz8ubRgkGMEeA8WtBu4YV0HC3+zjJRbxothakEjBYcX4RYOIsWyTtZleA2ipZJ
+YKMFiZaYX9Wd4xQsytu4QLTgNGW5nj27T/mkjqGddhq8KbRTUK1g0C4/9DiClglqVm9nhyQTNPw4
+73SyM5i2H/xZpOQwdfHCz8IGyU0ts7+UrOHw2d3GyZ6d7tw09Ow0Z4+DZn3KX+BZRHbK7CDu7Ezq
+wcDJjmqAuAs7C8wK4YMuhcvHkqiq6u7xcHQjZ8cjQ0gQZ0kgsaxkUh3Gs5N3I555PDt/V+y7Rxb+
+oM2+BEpovWCz3WzMwZrtjyecWt5yCE7S7BYKNNsNixOEUxw7edC+OLMMtikqksbDBLJunLVHRaRa
+otgNmUXAfTMsLB1NjNI3uyG6FmeY/FgRr3Blws2UijXG1qczEo1gUs1Ff9NlmwU4BFwWPjbkETtb
+lmFL9DufaFk4NnH6cbIsD1Z2FXJryaw0H3NEfyBvqlgPMEW5ZgViBVUWxxbZ5E6obMWRPR1oXwiU
+Xm5M2WrhiRdSFtUU9eTmAHTPkwNl39WZL99cYfpHnuzfiSfLsl4Fwd9YfKHM/BhiMp4JJezJyn0t
+Xahs8qZathJEZHQlVJNSHqIJVdYvTAua6Jh4ONLBi/KE37cn1Q8CgXs0la5hkZoU2x+OlRn/xHzd
+56AziNANmiBOXJCwYJvI5o/oDCqDBtgrTp371gfr5zJ7CX8jGdCecXnMoSTXe5mZMd60kRaN3wDh
+iKBpHG4Sxz38PojzAjeePHT4oOyYauUn8mNGMeGhh0qUKyu2JfHFUWF5x3se4iwLUmpWBxASOXdg
+MGEFKUhKOm59HSKbxFz5kMSjcic4/OKlIalL19BrHy40FgVg4WEo5HgFljBjheSHpn+krKL5Rwg3
+3QneUkJZKjirSClgBlhWbWczX+KYW1QkOrK+IE2dB1XsPlhPkYO2eCpdwsiymBMqlaBme4qjmIo+
+VRMPK9b0UlErJTB+8u+qv2vgMimdKgHfyG9FS6/NgRKem/iTi2G5LGLk7iVWICv6SWZX8durutcj
+wmviGStnuzUcdzq36Fno+0cNitfJZrFDGIoLyeLzwwA/HfyF2hR9FH1pZvShOgUL4KL2M6NeUbqh
+oEo6+pGf3dweQ8hydq/Knw3R2SGpnLvTJhYlKR4Y+qPdSFjtJPlz6RcIXIAE2H5IUg==
+ ]]>
+ <![CDATA[
+ oBowkVkGF5/efgE5J0ulKgs+BHD7r8mkWu5HzAvPVQh4Z4VszDZlQmdKuGuhkAOLsWASMb1Pdi6E
+KLGA22NERkpQlgIS2p8haCiww3yTXe8Sp6Wk66hjZIET1BYNj/mxSquSRFY9MntQQwJihQASVWv1
+F5SPj3dC1eXsYUaykDCaaGotKCphCvsMs9qagLYYGLkM1RjYHUzxg/0aAecYOBxB2C5Qr4BUCdRY
+Z7EkXvO42YMV21lOdMgCxgtV/gG/gbANSmpRkYG9sLDMeG4aL7JZUu+A6oSPVLkkDlVqxitwvbB3
+LawXyUodCLrDnbpuGrqPn5eTYilHxz7NUv2RxHNUstLprFGLqA39zSWVf6foomepuGMiS9lufJ5W
+943kGPTd9Pf+WVKDzowphg8dhUPwrCzWwKx7GqqW/A32ksl+EgdoMraA5kBlM5YA7D6eUMMH1RW4
+CMSPcpaiWCFPT5RwV0QM3JM02tXYyIreilufwY+VLRcDMbcsfzrM/Q4JS6+zsbni1qzKQKwbxDJ2
+q1gtB1CJWfqNZARKkryqtpgBa8X3GOZQZLbi0PLHsDXsAKpT2/q5DkKcuaOR2I6/9RTYa4ip6V2F
+FikpsYkjCXRgMlAMX1a3EoJsisc57jHLfrMEM6Nn1TlN1L45T6yMISv6IBIDtqlBnlYT21MLElIt
+5qOSNqoqQVxy19fXOQVhwxV7HkwTiKKx7X/YAJsGbRbSqmreamuuJIHbZ4ZCYEoHjjJIphpmT4Yk
+E6kECXxYrDDI4hnDQihCX1n+7RHDgL+fIgmDlZOONl1jMG84AXMR0F4zR2aF/aNxgjBjOtFCiC9A
+e5q/J9ITNIzMkibwBAeNpeBSr2SVI8sl/z70T1RfpJgZPsX2zsTYMa9Ie6mu2wxrIcxUPrIO4szf
+/NGlNWdRmIgeS4ReZsGVEiM2IHlYwBYR+6c28/qOJiYcApInqe6MFDdIqCkXcfj8VnhyLWSEUYiJ
+6fO0dxSB11lNTFVzTGLaF6g2Mx8XworLGVQsUiqqaArrMELTBHnaiGhcLVhapXZRxxRGxCpn0ORL
+UQy2PfBjo7QYCRuP93q6ekte8yPZrbHPk7nZFYBHSyELnj0EeBTlzfGaCoMH0ozGiNAw7LSPkCSK
+LsLbc2NqxmU9JFM0v9CqWbUOk4mH3eZ1xXEiryziibnaDXgyI/ytW0UbVI1n/BqTkKCfQEJSFTM2
+WClTdKS48bWnTkrpaaKkcI4UQ5Cw6P3Ul+GebC8K48RTrPoK41VZpKFzxbRFKyNSZnFZKLsMEMTa
++unp5t+tafWgPZK1X8fU1s2Iy7hRL0Fs/KNf6HNZ1aCpqrGNJc4hafvsMGwIMsPsUfBdYf2Z4eUY
+sCqwAnw3B9gXP3akZSdBwqbwIZ++NBa1ULLk61JcK/Mr7FZQaK0834LhVYeupGJLAlLTAZi0VxFU
+ZSsIvMWY2yjfSwYIPLMsHLXDSqcqYLKA0doxeNPqY00zy1MyrfQvLTq8FYo3JHnPmZpcdbBkvURk
+LT/qMstczdZxPZOSZmtlUSE07dal+9TW6kkfGcLGWMs2JOYdQ94PK9P5hTiTcZ8E5QihVmSKcST1
+U8G1OLdXty/Ps6imbzCKlEynnvI0Wk5McLjCMqdYMYoZvGXV2DgyoMKrRnuaU3DiVlaSE0SniNTH
+QskcUiouApjfkoTnBLvVlEUG1DyWPcs6lABMMISRoX9oaxivRL3LuLSiek4l6RcGE+9VRUoWzISq
+rVQi9toLe2g3aTMcYuHUal3h5cYybO+qBWNNqo7KZILowiQJIQRsDDOmWZyX3dltsWQUg+IFe+G6
+9DiUMSRFeeZ2Z4gtqZAWX65tqNVA5wCiQqVAmsRGvWt4+0I7m1G/InZySxQaY3e6tBmymzBD/gTm
+Pk/NMXTBioGyYV8UPgE8LxglXZVfRmcIcPYg3anyh+y0tvECTAZUz3Uz9S77m+FOD1mgUgpX3ewe
+fL6qjyVbPjlJTZ9YLgNIajddca+BwLJRRWcM/1S6hBWdWwZ3hVWsGNGKCXhffCywGCMuVEgxjsok
+kPLMwYwRqjegFW+TDeZnRv9VIxwRH8iKrZTYrS8NSj/JFOu4lbUQ+SRc4yHpEjyM7cOdtFcR9rKn
+GRhUzBdI8oGxnG43LYyuNSgxg1oyYDlxXGEg9bCRYjoltnlLPngYxwz8em0qiUasgC2AWfXLsRLa
+pgADOXt3KNcCY7TyoEUcxA7ohyHJ0JjJNBZ9KQxEklVxp1cDpBM97mRRbyp+rBRdbBxRZXyk68ge
+CAk+na30jy09jOSqCn5fPJFqPhRuVizULi0iFqMQkw3BaFmYIXqzidOs28pSRUZyZ2J/0YCD+MkC
+vtHmkRgKmvTVdN5iDYVYd6ubV5mDTg5JsmHOUhTUUGD/MhDrrgrF8c7ewVen2wjZ0VxnWM3LDh39
+MafXCtYfatdxxUOmPvEuwP1mDwgnRgRkHb68S+JQF3X87EKr/aysKCrfLkGg4uqhfoa4mreMVUzM
+vaVx+X402IeHjJRzGviyxqcVWXtEIMm5y7CWhXuDgW86I2RoKcE13MR1/q9D9pFcLJAlY8JBaclM
+kYGx5TV6qCfkMrf1FNLeeB0WqVF5XSsIsinKU4Wg4tBGQfU+gPilZNT7zoyBzF9I+jsz9MYCCeJG
+ll7MjK+EaQJDfdEMlRXbgPcgzQAx0thl9JrAlg1eV5QTizs7DbYlODYoibSGHqJ6GCjEBaqjXgIW
+EsCPWWK7GJIQkvTYJbtQHOLBMN7YINAOpatGZqaKhu8ISZ26hEvQ/k3a5kvTloELWRVej4v/r6rj
+jBemMcruTNLg8OFZOiYjNWjC2genNJnjyMBDMWN04wp0bCZ3nK+VNDRfB1FuBHgK5qBnOZv1otvA
+zEG2iLhZ8n3wAy1+ycdIEcgMmYixxdJZPQABYpmsIYYlHRJZq1GLB+FWEND/wPVkpX0nddBcrVgM
+2ypTdzJRkz+algk8oCwz/BZPWZO86zTa07XA8UZzMbD7iFTDMgxlPsyJMa9I2ZEJENR2YuJp8wIW
+Ak6ELLjx925NlDkcCYpkZQBv0h/dSWouJUkfqOe6b+SMt4Q1XkR+ByAfstgx1qVKErUgMkvH8TMX
+BaHIGo3XzF5zJtmuxU89PFYR9u3u3gwyY1kAG/Y5GG2VBYTaaHxaYq2jAAWq/2R1qRJDUI050w+w
+bG9HRBMO9bDAM1Qzbs1rynjPnE5eqNL104teJBvMUP53LTFSX1j0PuuMlkUuHnJRIREND/76xJ2f
+lku0XhU90Ka8SkzMZS9xlj6mObGu75PlUKJxcpsi55BVlsZNVRw2z1Mn8oZ1kTFKoQXuCQ7xoINg
+KsmYjcmyjjXEKyYP3ZljGLEMyKJ1lJoIu6a6s6t0jQsek/mpHo9VyYxvYJ0Ci/lHR6CyMtoipAH/
+os0AEJsVKyAqI9LG/hhjOLN2YladZJwTKehFXkPiR+PODhsM346wF7QFHZGSh34kZO6OYZJ8zDRW
+bmdX5bTMp6OnoN8U45oHXbwA88jtiy6rg4ukOk4QONIwR2H91OrPdGPoKNPylW1laHakhGEVm6TN
+TUkYKcr5W+mTQmBgFIkA8UwnXUvlyIx0LrqQlWl4DQtSozjoNvsjdj6pCrtq7yCEhza/ZcYhLMn9
+0QpBWrh9UqQVsKB7E8krk8A+zELMfbCY54y/ud1HZdjBiLZyLJrFyx1DgqhISAY8T5REfDHEUlim
+4noyY9Stznv86EKRXtZ077F/I1Cd51gGWmKsQjWb+vY8e+RmKFEue9WXFYgZ5kIxq66CuFI5g4rA
+MJToih4JAhIOLZKMhGJTo0nCpQ8/2bJW1nX8JFZETuGqqBo8LI2RkFQpEfAD27DnNaZUTdWIpw+D
++R8ER5rziVoWUSx0/C0lDNmPInvdPETMJYPEpscyrx6uWbZOxcGc0vlITFoQf2I+2qIY+pdpzltq
+i8HZdmtSbXaIrfRYVy11rmOI98msLLvcZ+iuT6iPeT1aPbWHwepCLQqrCxwoGbYkpMByYuZdgs74
+OhSrFnBWSjO3YxK7umUwQHKmIWRFFdMrjTHNxpo721U0JSsFh5L9q4Re4/FyUjInVUgqJl5MJ7OW
+WbeVF9Za0yGbpgO2DJGsKl1Qme+KL4PTazMn+gZ9Z4UsLy5YQorBnIo0bUjof8+0/nJlysRKfO/q
+fptUEaygQqb1F/3M60yi+PhsAVFxK+tCQdw45CBhxgV2gjr0o9dp4jhoYCuocUR/jWydNJADVq3m
+OUsQQvLS+RNdaFISEQZA315X7qSt50kaIc2P3DJw2tXfTFmHgBserxhj7RsfpqMNyz7hjmGhCMZt
+e9x52I8TE+5snZESRdsZPmhiCBCrwNF7jp2s8zzM2WX6D+vHmRE/yS++uIoOixCFJsI5HhJpIogO
+lvPbLxzVO2ip1Cz9ed2szmT3h3vy9VemWMGFSFNLj+JXZNlG1pnbGfd5AWLuxyoTn4f74I4L6Uor
+9F0++qJ2K7wwtK5X5ZDRbFzN1i9rG5ii3I9cYlpXkaK0L1xYvoqqtDPRf0uADUpBydtiI+1i8+M6
+x0R9PjkwFDx8u8R6uMgtsK9jNowM8EonDAmN9AFl2OKqwFTSm+3hFOE6p9lo2zz81fK3MhbKqkhA
+wqWUnhF5Cad9g7ZOsxPENCrAjt3tQgVnAbhElPecNjcoCYv9JFlXtyobHC75VDX9GAkNV8joMJ00
+8w/JuAH/y8I4aG7wgWTaAzNXjUEGdBAhtCg4W5AWCQUpgiOVZndEF2GnSqoPLc/ZCGUvsY700MeX
+/xfwFLpBCVwretzFmDc0VoNlhdqlkMI9xsR6unNZyKZbvZJpk550Sn9LhOBjzCB9Vr8IRoEZkJit
+AUlnEWx00MwxYx6zCQF4jogJ3opgmaQdTGZp2u4gKOedefAbFFVPIoa6CaA/GXQESXokOd2sSHVj
+vlgx4xrLfJvNXPHlww7OLBmTg7Q+6BoRhscutGMgJQzpxoN1hw3k4BSJki1YgZx5sKJzEYGEKfEd
+G/8U86DFnZA+y4KFuXJBUizAWEP3bCsd3VttoYW+jwTpNNwDR20knauKS/SqdHhZ0SPV3JnZOphQ
+Vtg7kVbD5cUltqqQjdyPC9fQ4VPUMzwHonkYB0NsV9tLGQ1Q5BdpPUIlnS72vwAcy1w8vv3HnUUF
+hYpBHLAs0rmCEyVd4shT4EbEa2IlQ0ULniT4ZYbpsslKRo11CrJVhAibgImXBa6yLs0cZk0u2qCG
+W4mJGLetjRQPxSiwADGPuT2proOidhQ+rrQFmkbjSKaDlZsQIRmrVzPTMqwTRdCTvkz4ojMBdssa
+pI4Fid3IXYcCrhUZfDm/L5uFnkeRLqX9dcCXq5Kpv4pdQy8yb9fLjOE95+DuURVLwBMlu5vmZug/
+KI6VFApAWI0dx5KFpTHlv0pXZJQeJTgtMuqNYWUy55d96+voZN6ApF/QqgvjPaPjsg==
+ ]]>
+ <![CDATA[
+ BcAyUKG2+NHHAmPq45UCzS8IW+ijKMRbI/sS2to/ALaZRs8M6w1r4Dp0g2L5kLvFxNEWmpJFGBUz
+e879dxx6FQKGWNqny3Zjv5DFeOHH5rABdCd7CW9qhGVKLcok7Mfhu2edyTPxDV0q3GF6Bu21Skoa
+DATygbcwyVaZiiE5TbJV5i5GSLHuJH6CIRxIZYb3L6uecZGkP4dhVaGJzPROUppTNShQ47F2KpAQ
+J8e1X9R1ay/drBFroTQMQclMzm1y39H+GOPJxFObFyX0dyDchin7+bGQQAbglLFv7QqjN2sXQ45h
+qeSFiJmhhAsQ0/VnaNzLI2SSZhTDMjsfOIuvQYMcTpK4ZkbgSGbSBnZb2odxZiZQbyliXl6Np8nQ
+ifiDw/yMaEI5xrIdSnDM9lp2mkzI2V3dQqH8mybmHolGxBJMnGT06BZbTHgNlzjy1OdhhxsKy3os
+wjeZJZtO7NnsR7nsQzLiCEor7NCzCFUB0x2smpR0WsfgL13GSdpWQ2QfLD2dCleupoM6ekSxS4xh
+fUSio5dauyoyMWGr5DDhNjU7lwiqWCrfx7wIQtXyYeZMRKuxl7Ixg0hmLdoxWKI0TZtXBFL0fSP9
+QfouRSFzrxPO0i9w9RZBTN+OnyBuVWgAkyAY3gJ+1yPXqwKhEMhKsxPCnjzQCjcm6X+KiUdsMey7
+9Bgzbn6YYRVziIG9cYZ6aBJk2QyeQ812C4n21JEtHBebSg7FDmLuqbXai+I3OFJrdf3HXcuQbP/l
+GKbowpGZLey2d9L3upUERbLosCCmJ74ogvboNMWP8mCBsxRnXzOmAv9DWnDWQqMfhbhNvY8cs3B9
+0vg3LKcLElp2KClRbg6xJlxFhhcSxAnjGR4GbFENOuAwDDjCznFmKU1RZ4xbZCRjfiyYgQkYo3oE
+i+F47F2nPGk8qPEk1Itd2D19DAFk8Jnhsx2HKIg5DpLF5kOwJFAEFR6HayqSHXIMQdJ+Ee0NcWuK
+s2Mk/nVreXq21nfkLrY0RRVnMoVGshifbNFBY5gW4FVMvvg5SL/JQE3sJKoPY6cM7E+0szC2bWgN
++N5HgyYpA+LxSN33RAbEw3OO80e36Lwj0KB3pUWN6WVNukWdRMQvJMNi91MoLTxxyNjh1bkQ5ceZ
+gIDqxnPbRPShO8RDa15mIzIrLxZ7hYSAp5qWbKfyxiNOP3RQSBlduqyCEz0hfAhnk0FC/5IkW2lm
+fa9Fcaf97jFPCS+kB4Q7jP0oIUexZNMHzOM23S7urkndeP8MtJ9NoUbsDFt4wUFPsjGwul9WtUx9
+e1oJuYFxBPa5AxSgr2pw9fBaQJmziWU7syU/8cO0EcpVlqOZX1AFlon20huYCgume9M3yxFvCrFy
+54axhmm1bF3DQUWtSdOw5rdR52ixCYVPk+TTNCfJ9YKGkGWXWoo8M0+G54xATEWffvypGH2CZzOL
+GCeL+doZHtA3GeeLMHr+RvHNs5vx47Pyui2d3xhNTT2mLJmsaRj60cVTmU7LVb6hMzclvZpzoNG5
+uY6wMBot6WzLj1UeZ1FVGrEf4TopoXMvK73ycAEzloOfn569IQMMfEykINHs2szrRIkpOEj2y/28
+cGluMBVO58TwPXYVyvvit7bZTKMvxL2AhF71H7QqyRxsTkhWBt1W4qfLos7wfT7eoM483PybFID/
+futjntZkIVmUNA664RlHyRKikipfx+nUMgiHVebBP2OX4ymSyVUuYUalBwHjzorwDTrqePpJFpJF
+9+2yrzqUSWWc+/iqPLAzl6xm+Vr49SFo9pkrvxXunD3tOwvCcSlO5qVRuMgDYrt+k+s1Pgw3eHtR
+uMboaWzGQxMcUSZTeQmw1CVPxohgH4b2PZL2ZG4m2/qMpcbktyw9gLHfW9vtlgNSNPBR1TSpLdbK
+oTuqm5K0t1Ee2LXrVFsAE+F2CvXWY2CFYfDcNFjMlzjDd+XrqvRMzpaItIro7nKTW2gDYdBxZ2/Q
+KlEzi340Ht+4i3dVQ0ZMiNYmWAi3p6J4ND3EXGORP0Cb0XjsI9O3JBsceXlxuEzMD8BGiukBwTBb
+Ha2WbIoKPPgIe9TjfKDPYDWsMF+VX4yQa9gxGebDXkOy8uMkWISwVOrK3BKSFk7zLiylrWRWFXnq
+lphHC8FkTzsuhHOpWy6fPP3QjfIjFX+rVZlU86KcQ1pL0RhTaJHDxB29FbPusXpEvCrSSHikXz6d
+AafTpLQyE5Ao/WJ12X/jVmYzQqwtF5LFMBZYrrIa0/iF5Jnxq1MwIjoo0Eltyd8GRZ2aFvzCg22N
+LheY+pfe1qHYd5UbI0xvyERING/GMZ5ZNdBARhhHkKDhWXssxoMQfD1cVf4FJbRmUVOJ3bCyArHE
+9NfyOvZIlf+BjWvRqrK82J1NqyVXOHjm8PEV+gmuCVx2IZhG9rc7Q5zNEIIj1GNZZMzWysw+sESA
+nb+FeCvpi3Fh8XPeNMjIIUHydhyjQ7wMS55Z/JLhEEtZ7zF86eYrLXzlFZSkytgSxf71x0ptrGmZ
+l/AZEuaGXoooV3pkGRZPIDQWAxYKyurgRzcS9cK/Iz2LE4T4MrQHszYkgsHjUzF8CJJkGu9eBpGb
+wvARqIk+K2ldpw9Vpa2GFhqGOawU0Z2YSU+y7TYpMPQpWbdqtmFCNouPiB7CIYneZQSzMUGTRrkq
+o5wUdJybSKVlwNtGyRYChdkgnd0QLDNmc8uHQMEcVc76eE8FBDDgHD9Fhwo+D/KCs80X5R/Dzhyn
+H4ZJUs+BF4KhbghnTXY8IBAMKyX3fowOqi+2Ci6L/8Lmz6WhJAsRQMkDRlTBENYV6Va3XlZYsk6a
+XtPYldtYEQ1FYZJ0eiiiIY99p4KgoPop9nTq0E/Vj29aLEGM10Q1e6rFMAFpK6R+htOaVCsmHzKO
+k4Fu1CxiOQpxskAgRjuVak/HT8ogYKn8O58hMw55Dgue5WZkrnpacbkUMxeR4Y31AFFQzO+F+EIc
+MvAZFsxOkCheDaY2xv3lM8+ScaukBWSjQOHfuc5gj546w2QLaEG0Lw7WsYcLOwF7Gl/spb7x2Ahb
+NGHejILjy7tk2xKfdYgZ2qPo3SKyw5bkKVOw3RribjnpiBNKQ/GWGpafTgff/iDCfBOeJpHBg4Gu
+1FJWMSKLqhrbAszCxrD7bB5PBKUzkALXpDjD5mqWGx5ASRtvlkyRmmcadVM7km0fOugT+IwNLnkK
+MOP3VYOQJCS4hHiYTBc4BY6hXut5IwsP1f0LkjyqTLit0PxN+amS0Y8RPtdZfAR+Ncv1XUrCoNVR
+7wknDeMBmMLwKJeWDCkGM9FMaWGJKh0eGX3VUrX5DlnJNg9TWVlVsRSj1IzxEWXI7dZmXsVsLvLS
+3KEYfBgkp6uD1ohwWfwmU9RYSw0XKeRuP+q0wBlM72eXfHhMG0RgEIvMo0A0846y57XWbrEiqBaw
+08aQHUJbeDLiLCTcTuisnRasIcsnSFnjSNOQ2y4lgy4gp6ZPL6r0KK9EfgfHsditHsUDcR2y5MqA
+nqwwD6/hkEcEWzoyHqXOwsNJiy5+guYdSMijqYhMSKp10LcnGaig8lgGE53QSPpK/hWqVZF/6a7y
+LW/dTW4jm1Ug0pplkkVlmqWKorIX/e0Oa//ezZwy0mc3HPYpCg4lDDyBhA+cm4zScSuD/VhIx2ML
+5BrIzfEwiJnO+lXOi2061MceDr3J5hFGhh7JQ007ICcvHBRmlq2aHZhew+ANk5ZD+MbkZXhs/iOp
+YJsrkfkqj2pSEAUiWwgyYhFHC3Vhnmi58mcQBsIAHTJxs/JeCSxKjjnmrRzPJQvRaNZKuEgs39zy
+vEnfV46cZQ43z3+yxf6Lf1MlgGFOiRyRLYCpmrWZkRA0qtd8nPNlt6Xb1sDkitMwlxh9xwop6XJq
+1z3DIZ5TaWnMAd4AiICmDePKUHKMpGTGcOCdyY7YSfhepaI6iKKYM0PvipBcRjbVR1Y8lkShqxbQ
+hGS59doQkPNcL7TRo+Qy4ikQ5EPTcrWDJy9hfDJDZKPyEK3gQ2F4DMLnLzD7DYQHBrwgTb8VE+zq
+MJa0A3FKVS9KtYxzeFjyt47O1WCg9lGzBQ4wE7SIMKWJ2h1+gUBYjtOOpMK9snQ7oSJ5ixXearfA
+I6ZzVXWW/GvdCnLErco/hVi5bt1gMN38nJTQKtOHrDJ26zCuDOIGWQeCBZrweM0hWdW5L0jswhnC
+PiomJl1DltTFC7kldlUkKdXmfB+nFwSeVp6yIJ7dpjbtJnhcZhdyshsVpYUFEWJqPxQz9b9UsySj
+7JV+k0lN5G71vSUWOxQTRvLYVqUROC0SCXY2LoPVWC66FRYupY0Oi4pKyqlh59ERlDx2ppqdLe5s
+SPiJLFcFVjVJLKcbNSfpSxxaBuzWYYQRhINj8CI2l2sXxslj2tHj457RyKZYlX/iCags+5Ro0B2C
+O1iqerdMBbjLw9bE+it0IkBcrSJLMYE8jqkbdAi73rNfFNge229JjGVbUzmX9Cwx8iQlk0SSTU4W
+1YbELFYM4l5TjRtAG0729EZ3Z4YCKa4TM+GWktwL9Sjms2lHVhIBjl97X8NGPbOny7ZhW/czLF22
+Vt/MDZHSzgRlGp0JRInCRZwFOISQ8fV4QJuOJftNpeShHEnKxXa4JaiJnGkENBQtvNMzMgQuaWL6
+MWueYFUu4gjDEnm0KYeM3v69DTPVKgvCIn8uYtGaFQFjWAAzy5lhDT12q3SwJU/brxmFzzOAsU+p
+1VDAnGBIdvSax50wW/BRSrs89NnJdp+OE38PRxZFoJoVYlhaK73CHHCIseOzOJwQXkIj9j0ehl1F
+ObEN5THtEmbRxyKjF1V+VlKzCFdtnZBsOgfgL9SbIHaSTJFnuVolpZ7cQ1qPYxx+QyEgsI9VxVQr
+JxpVyof5mIWtQ7nNCGmiI7kbJpJbFarlcTlGWcYuDoh7TFNoQ7BRy79vV63hHWQZ4bSFMaB0PTqa
+hANWx4X12A6GCznol5WNhUSUD0i2WoI6p9zVl7Pv4c2VXdMupITLE5qP0Bd2Aw9Y047IeF+5NKdx
+nRKrCxrc6iA9Eexd2nEhi5Az12lZoERIYHo7bu2e0OclxqZ0CXmKs7zOsga4xLTNKVfFvpAOhSb/
+Tqvn388RQxhivjH3PkSzM6wMYaTUA2exWKOVT3c8qexYaiAuln7V7brEwquEm5O5dyvVxchLMK13
+u1CRZ8tqu/BHh9263Qik4w3LzWRwM7I2q0Wzig2DsFamQCxzWGnkEq8tM6nYV6RbCz3KoFYOaS5j
+hOHHLk8zM5PhrG4vhz7NyEtbwsoWfzOXNPvv/RctVGDJbsoupXsXkqU+VhAU7jzYca4crSnEEt5F
+KETWXM7qKfnSWKMi4orgOGgyu0WqJxMDmamVaAZNFrizzFNpP5pMn16mWPBWhgItZjhQIJV1GToh
+7lREAdwbYymNkm4XltC2vDOmbrHx1g+/b6aVECV4lTVcBQ6CcYpQFuFn57CATWc6Mw==
+ ]]>
+ <![CDATA[
+ oqwx8XnYEW7ZQZKphK1bSuZiplTfmQN6ODgYWOZnKUiCxBFeVx6teoz5zl7EK26lNgAxQ8EpIaUT
+pboiCdcbm9G9abl3vD6GNVrmEmTWN5VFX1JCYq+aZCdifjsvxLR9ZJuUUjWzLdcusRVlGOk2LsT2
+Q5cClFcq8Ux16Ao+2GlvzImgXRchzY8gkY98foPgGt4obMC48g7mhgfoRIQlkc5yUqGcncVs+jLP
+oC2glmhzLZZZJSsCE96Nm7Al+UrU2eJkhReHgGTM72O5awTst8iCa3PHMhHaQyc5cVg9b4irlKhm
+Oac0D6d1RIoZ56EaWgbHPDFxq0o3GBxpmWW5p30r0RwU+2+IzJuN9cRrcpeZe619ZrboGjrFpyOZ
+yDWA3sWNn8F5TTloOw0lGa6WdFQm4wyd/TIraA4BZcSIhbEoYpJ49GQHoDd5AgBlTAn0duIkqKQw
+aMFqNtqtzJzqx4doj6Evhk3xZgG+jJ2IZZCHRX8J7QruqmTCKtMf3jWyL99c6ftHLPrfCYvumRY3
+FR12OZa2dyg6rOq0+xgTHeZ0GlYuJHpZclgHEh2VANS6EdGhNqcqDXYD0ZHROi1IAjx0r1oWOHSc
+A+XtPI36eVndCIehZyu7HSx0CKpR1DcKnfclJe/QFojmhyklpLzkpYy+C4NenbDtFHSYoYY5/QlB
+b03E6puB7sWLAoFezT8SBPRqoa43AH1LjX9erThr4M8BjiSN56KfgyqFalgBP6/F62KZWacWMa5v
+9DmdoUaZ5ppSp3LJA3zekoo9X9xzxPqipGxgzwV31MJHAzCzI6rioIJw0Nw/6sxzZJzT2+/IcwZf
+5PlGPGdhvzY38BxF+nJx3Dn/6jfsnLK1NuscbeTZNuq8FYuRukjnzXCPATqHtUtFGo1zjiPlKE5I
+d2oOXdY1bco58/KGcsLp34Tp3HKUN+IcJZGK8eixIQ/TmIJvjq3d8CVbOaMC0IxnwYqVy5KMnW0+
+bJrcaHNmBjpzHv+BTM3h2ynQ5qRGLwFUNngbiXedG7aBzR2QHVzzUZ25cGLNx1L1jqCav85ITGcL
+qLkfIW6mOQ4f0v4Mab6sGKUTzZcoXDfPnNFAxcDi+A80vopBpeGIXVbO+oaZz24LjrPMgd/opvES
+ZT4smPImma+prL4AmTM3j5u3g8xZWIRArgtkrnojVdqWCPiPm3IdZA4J8TQ3yDy5Oh4gc0hYQsg5
+5hQ8rXzcHPP0RDKAccxxOH8s7IQeNRyjaMu5KOZIiaQdyinmKM6i65xiztIoyi4/MeYSG41cDqTH
+DWnDyICPZ8qeGHOIh+UX0+KKY9eGn/NPRqhfDPM1jMLmCPMV7hwFRSNfpdkhbwPMsZOsj6CXLzsb
+BLx8TcXM3uxySD0XxAs/aQNzcjkehw1d4HLUGOeR3Lnly9NTPCJ7DQPoX9Ty5VBih5bP5kcTY5Yj
+4ZklMy5kOXDQKBMWxPK2XD8zYHkkpF+8ckhZVF24ciBPpuE+GcAC5Ilqe5yw8kZjoEsfFiFVMqyj
+yiF4nvmGE4V/aBoPnJEaXlnWOeWM36Sx6cSU01OSLGEWlHLonAysM0Y5zP8Js+lClMM/lSy+kcMW
+8WyER3q6AuzTzSAIm08OdxYKlAeevJppKujkSCBlusMFJ4ejhB5gp5PXR4H8ASeHYLT8cbPJ2RqT
+IwxNTid11zRjbDOzhRi7epDJcVqcFjqnArjZLHnOJYdqR7L5xSXPfWdUEUuebasLKvknzXEbci14
+HZoBoeMXlBzZQlNmdP4riDTNwZQ4j0AR4BJ6AcmJn0mynRPSQt9qHh+BI2/um7xo5Dg71VQ3jBy/
+x/OjI8ZZF/Jpbyhy+GQ4fFzKPK6l3DiCyL128c0hhxuosIKPYcirdKWAkMNPyBCXi0EOzDmHoQPH
+8VTmOfa/5Qi8+OPNyGuBH4egN2FA6ZWG4DF++oaPI9CiJSW7MUYDr8utxNHjW3CSxz1zNMjjzW2g
+Dh5vTbFJN3e8eYEz5443JtXUj8COQ3fu9F8e1HHmvjCdzaDjOFk+Se2QOU5489JH2MhxPFXLGzgO
+cEfrggVr5anmSbtw45BqbhpvHIJkmSm0u2Jt0g6+WeOEv2QFPutVqtUKcNQ42E/iUJykcfiRtbYb
+aLw6VNg54zU5t/7EjFcP5HHKeE1KYAnIePGt+GKMI2KgW54z40aqRbMHYbw4dv4CjBcPi3G+OKrd
+KsPT8OIsf2uhEpsunpdVPXS4eFbdx0CL47aiZnaGXSm+nRtXvNDvqLwlmo5LsW46qeLAD8iMb1Dx
+HGmojgrvqgh+I8W7eeRc+PCcmkXEYDTew5FiNS4OoDhPeG0DxbtnOgon/pg38aaJWy7vhok/psEF
+SxyLf83vKPFHyMVNEn/+yc0RhxaW3iji1NW68X7gca4sA6z8AWWHVnmYL4T4pBlc0fhCiD/ik22C
++DInzw0QX6YbOkCcx59ND8efY6a33T5b2Huww3lZyQc6fClU+A0dbtbBIId3peBvcHgILm54SB0b
+vszU4TBwWibT2AI9pmtYcZnp04EM34KDGB5CB4bnSJF1XrgPywsXvkjgrR9OC8dZi+WmHBb+0Aia
+6hssHG3kZgViFogMOL3UvGnhmOIs5H3Twh/CNEvZtPBf0hlYe9q4cNqXplHc90IGNaWXkxbevUyo
+Iy+dQH6xwnFip9vEUeGLOm77cFQ4DQvl440UjpwkQgEMFP7wR6uFYECLRfp9agYA36BwaFB1Tmde
+vHZLLGgKy3dSuFQHhTNtUDjSSkGq3Jxw9FeyMMxHU4Ix9jclPBvcISDhJSt3IxjhWMwUFXUiwhHr
+QtSLE8ILwgWNXKJstGZBRhcfnNDYboGminm384rjwSHwiq3bS4jWSlN4AfDXiCnoFm6g2ONmFrIL
+DQ5dsltNFDJsmF4/9b5MlSSvt8+PmwseUseCI46DedhOBWc/mda20yVIlCljM8GLZWkFEhxX8Ihx
+EcGL2xcdCI7giWfMzQPHC1hgzc4FxUtwwXIYeFm2eDgLPKL1ThR4zeacdxI40kaA8Ay+NzhOfN2L
+A87zSTmk3bEMjpgNwQUB31JjgLdlBntHgH9SxLeqjoXJ0rpOBrjKNDFdt3sUWbN69c4AZ+AjcyEu
+BjgmL20LwQDHhcJxOgMcH56b+sUApxT7SpC8NdxzDQZ4YtZuy28McIy31eZ5Yzc6tRDg/Jvj/0KA
+ozme8QIBjiBP9nUgwBVVlZVMsRngRGkIXmIMcEaMCtxiDHDylIbBvo/AXIjJEHIGOL/U6BsBztCb
+bpD0zQBnuI2ngtA1jUibOddmgPMSTtmLAQ4x62gHA5zRuBgmzgBHJBFpMTcDnOH82rqMAZ6IaB5r
+M8AxQpVLdDHAGcZtCR5Ry5lmjGCAC01V1hsDPEVeszPAEUX1YOcLBjgjokkEuhjgDJejMdcZ4CyV
+QkOuMcAp4KC/GOAKtGttM8BTgDKdAQ4JjXc3BBwvNqxBMsARmS4buzPAGVbFfPITAc5Szj6tZC6A
+WYwpj44Ah5mj1XQTwGGWK23zvxdOWGls/DfKMvJBT/z3Mgha8L+XBdoH/hvtrDf295r+dQ39TWMe
+jcyO/sZ7cEO60d9IjnKjPsnfKzmeycDfJCYXI3w7+QpW16cKu89QBUTpGNyV2/Qszpg+md+oFS+L
+NoHf03St4H3jrmrVOzfuGwZBxiE47ZsWR2KfnPbNMvPkI120b750fnSr/GH4eNOSkLk1IUG4R+K2
+U3CWDrmB+mZld3O1EEO5DOd1g74hLUUp2rRqoB3ZnYX5xq8pzeigfCeGUjwiHlkhoscmgGO+tceY
+k2ZjvkXmy6IPqSIe4RVTjQnZAgIFF/yL8w2xsiGd800JcW3G+aYgN9HJN+eb4mpRbZwK/AlipZ3z
+nehMW+Xj5nzDsK2EVud8M6ujGYVc52YkghfjdQTnm6kkTANyzjdSM/TrzvlmJzFO/uJ8JycHBOeb
+xd6X0a+lpiePf7k430yv0QHUON+U6JhsnG9KSFq8ON+Ms2UIhYO+WV6qWdqp4kiA3+iWZrlJ34q9
+tRKlJH3zQhYacdI3NinVlr9I31R9eKJx0rcF6epCkr4hYTD1BfqGVGqJgb4p6BaRFr/ZSPm/QN+0
+8Cmo0EDfKugyFdgjRBLsVtMKGmzSN09VqmBqpO9EZHOx8ggE8UDCpfpifUs8LQmWaicaK5YWuyyW
+Qtj8i/XN+jgEDDjrW+eGrBxVnaULK6VoRG/Wt1LJiHUx1jftYfqEBvvmMWcYI2HDvhmSLoSNwb4Z
+ta45YrBvSjQZTto3xdU8vzILDvEEAvbNH2Xa5AX7ViZAUmiKGR6nvL4B+1aI/2PlWwP2TfWRZgKH
+faPfmtggBvuWWWT2jxv2TeNIidTYR4YQbX8O+5appKnoxIZ9J5Wy2azvMLQE65vGGTo+L9Y3XlXK
+nLO+qStSAYkDLzbfbmUXNusbBwhF63gFJZycuJAL9U02HgfShfqWZZlhdob6xogjDShQ36k1x+gc
+qG9mkxFm7RoMS0k243VTcaHqz0K7F+o7RRSDo74pGVbog5jdz6eG40SBlZnz/GJ9wxMZwVfyU4Am
+osQpVwZBaGTN9Qv2TXEzBrjvGwxlC9o3JNz4bto3xIT4BO2bEnknDfctCZ1uJ+4bP0qsZ+C+4SJl
+HJfTvuFSfCzNaNO+6RElIttx38t8aQHxxgLIVIkL9j2K+4dNCuSW+sdQ37168tJJ+ob0McsXdx8I
+RtZl3Pd73eHt+0jQzd8TlO/ua5Nf1g2KdTO+WdV+ibdG2CrAdo9Z12kbQwl37kMX4Jt47Lm2lFXY
+m6LDiPcOwUX33lKDe8/sVceM2Q2Mlgr9nmjv0cwMH5cVheAG2TsEF9h7S8X1Hl7U0LHeIHV8gnoT
+c17E+aQLFVZupcoZ0hsCbSMn0Rv3cd93oPf0MCPnec/HRv+F8wYUq2LRdJo3ODmjy0pLmDeYMFym
+LpY3+c1VJjz2ooDOeh1uKwNOAyxSJ8gbwrWUvUDkEgTVkheousKmzJPAhfEez44ApJt0POY2dIg3
+BIw3vBjegOP1Zo4m6KUwsyIuMxDewyfygfAW3k40XFq3uhdfdoA3iK49yQK/+d2UZkkZLYD7Rlff
+MSbhJZBl7aJ3dz8fGLwbpl/VfjNuRrDLL3Q341SZjWjkbvjhZQcwcPeww+7N7WZ98bU2trt7mrRT
+u/FAzES6oN18LOaAG7MbXc0FwZHdEFC7P4ndDhMMYDfTLevYvO6znY3r7s0WSqd1D/djOZo7FoiL
+1T0sXi1Q3VgR2Z0O4EaiBVf5C9Q9u6UGxGWLp8WgdCMckbEeJ6SbHNKxNqMbAu6xjuieHuxyIbpn
+VZRvELqR7JEMVUBPMUjkSpk7+dxIruEBwPHcOHrT/WZ07vj7gnNvqbG5Qc/pBuJmZtt0a9NF5l7Z
+cgAdzI2jac1GS1WBbMb15/UG5oZYJyG36zFcqLm5lPlf3QiNJ5cbUhFdncsNCQNbAg==
+ ]]>
+ <![CDATA[
+ zM1r2MQB5sZeK7O4g7mX4aeCy43jkarFn1ju10sqHcap3Hww9rJTuclHYAHoC8tNQALf3bHcBCSw
+koFjuflBGSV1Ybn5WZm1bVhujg8uoY7lpkQ20hPLzXqj/hYysD/Tkk6My/1Ze/oSmtU/AJebhkja
+zC4uN8VywhqXWwbKPDaHm4ZHes8vMjctYyoUYmRufG37DSNzg6DJcXOBudEVluZtYO59WnYwt6b8
+1LZ72IOzF6V2MjclfIMWhtIuA+5N5qY4WRUPOW9Ak2SMg5O5mX87dckGc+NNFWvnYG6MRlWDcDI3
+lENLBT/R3FsVjgALDFuPLhFFI3kG1IXmPsSG5mataDogHM0NiYLdLjQ3mRo0EziaOxGazrKzhuaG
+ROvPhebGSLYAEkNzM9JQxdENzY3vzHPfjeZGLl9iOrCRuZHTxssczM3yex83lRuhcvJIGZQb2jhX
+FodyY7hIoT+h3LQlcVV3KDdtSaqnbksJJTy6nkxuSauSeRmgyraawbstezjbKnMxuWkeZW0TZ3Lj
+u9P0GEzuBa0wpY8LyY1cI/rlncg9naHhQG7mHvHhTx43ygRVCbnHIB6UBhWHcY8uhMKF4h6eTOgk
+bmY2Vh1s6ceL2u4niBvHpGXMDNpeGL9ip1oGjYFsSD3honCPZp52h3APS2wLBjeobTQIHQhuFBTi
+8u0IboaBGBSe0dzdbJ43gBvcNJrqnL/di1syDL9N0pq81hu+zYJYjEsy9jbaWR8B3u7ur72428Sl
+9LTz1Bm6aG5k2kbxGnKjndRtBFTQ1OjQbfgOOa2cuV09fu9CbhNEtxSSSBM38Axclh24XYeMKzdv
+G2Ffyhs2+zlC/Jkc7rTt6mERF2wboUoEtzhrm+Xh7DmpAQIGXd8428hfbla/gOezJraQM7ZxvoKh
+4UZsQ6rMMEvRR8wV7XTOyUZUlvgwJ2G7WSZKALZblZHuuI1gzpuuHbWanK7dzWQadG2EwXAvv+Da
+eAn+nLO127QoLEdrI+1MpbJOtHZzeoWTtZvvaQ7WxhOpoZOrja2GNhLnamN7GqPtONVmSXo3VRu6
+v6wKZjnC43GEO1Mb4VkMrD6R2kjGliXGzKlM5KT11ojaq5tX+wRqQ0hrk/O0l1dHd5y2szVvmvay
+uJCAaS9zRwRLGwL/uY3Spr/lseA7WtDcIxIkbQSpuc1qg7TnMD6Wc7SR4z2tChUtcMvt8CdFGx4f
+DaIePgEkEtiMsU3UEmluijbFtH84RTuRYxzI1GauCZWxOynaEMu95BRtYrqSDQeFbrAozrQcgZ1x
+uVs0ijYkcnM5RTslT9G/KNo6Pq26Kdp0hVMlcoq2EBFGgz/qEEBfpFLtFG36n5PVcZH15pOquW2I
+35iiDZXjSfUNor2UKB4IbYAIVMjWCNrLQsNugPayBTz42RAIKGj47GV0xpuezczi0jc8e5lJO5DY
+NGLSF3qxs4nMIOU6LgSok0VhnZ19OPROdjaPF6o7YuxsHu5G3+hsGld7am/8a5pYGebt6Gw+XSmb
+nE39vBg88r5TrksnZ1OSZt7kbEqYfXOSs5nPogw0I2fz1UcRa0E51S65yNm40wAQRs7GRKUdOMjZ
+UMGqMndOcjbExbHYFktpdtRAZ1Nr56e60NlU6kjqdHQ2MBhKABQ5m1fw013kbD5cKRucnR5LmAxw
+NpNhVGniAGdTqoXAwNmUaFcTOJsrIhNyLnA2VdJs6QlFRxFLYApwNiRK0LjA2TxTa2MxcHZihmBW
+6LIeA4sK48oucDZP2dlT4WXsKLZyODlbnmf800XOplkmGRNDRw2cr7iEODmb0DquRxc5myChalUu
+1AZiIFQRxMjZ8tRUBXRudDZjYPjvhs6moBhzmwZD3lklOJAXCBvVd3DTRfJsVCdn4xp120XOJgbT
+y13IRQLfqwz2yzFZy4w8FzmbgDOGk8aFzQmaTs7G2VMj6SJn07qNjT3I2VBNpZo4OhtGCdnbLnS2
++FIzb3Q2wxk1K317h4SRzRc6WyGivWx0tqBjG5zNG5V4doKzaaKnMmngbARMVq9wI/sbjqJy7Gxs
+tmJCV9nYbD49/U+OzYaJTBkgFzYbYvvJaqen5jlxhs2mRFSLE5sNsdFLhM3mdeoNw2azca1YJzab
+ZyNCWRybjS+v2EjDZm/Bhc0+xIbNxk/IaOM0bFqjPNz9INoUVwnjwuxrvGOzD8mJzd5ix2bzVKjY
+AsNmx9i9sdn0kq+1qdkECTDOwanZ9G1my0rcYaAUc6w4NZvOTY4mUbPpn6RV4qJmKzZ/rE3NZoYI
+jVJOzeY1Is6c2GwFXltxCimKUc/Msdm0gM3Z3rDZBK6qwIVhs+mRYjUHx2ZzNnoMwlnkSOb44GZD
+wC4MbjZtZqyKcXGzaXFiWTYHZ1OijU7gbAoUG3GCs/kZVB9tOdyvydYQ4GzYFZTveoGzyRqrVslR
+WUDwGDOj3sHZWAQ16y5wNkNSGErl4Gwom1YpxMDZNMSQ+3KRsyHmAT7I2ZTwYzk6mxKVbTzR2WyR
+cUWOzqY5Rnnpy9/VUpxudDZ1YXrPHZ1NcB8LDTo7m44MVeI82dlb7Oxs7oEsIOjsbHYcKzVc8GyI
+rVSP+aEgUciXw7N5DUO5Lng2xfxmDs8WB3GkDc9mYGR/Q2cz3JOJ6I7ORugR15pAZ9NFlA1NvtHZ
+NJUTWeDobCY3M6LSidjQOoaKJ57o7GV0kpBGPSZnqYbg4mZvqTHBUDGJtCOnZn86Dfw9nDvY70/7
+uKHZhb2cPoKZjY9dpr62Up+7LUc3Mbub+SWA2d1M08HLnqZr3LjsadbHgF5brv/GZU8fgBcte9La
+d94mvHGgsqfl2Nyk7Ol+IwNlc7y07JxsBL3ITXJisp1ZHJRshKJxrXP0dLaYvguSDeE0crYqbnQB
+kJyQTZ/WKm+A7Nzdp2eAbAjkznNmCDR1s8BvTB3B4zgFiY+NqigMVItnXH6WPunYSNugwudwbOdU
+BRu7eJHxC42NKDAYpB2MzSBo6GrOxQbGat1Q7NJc7zQmdvEi0I7EpqfrmW9E7OJxLg7ERi5EM3A2
+Dy/FKCgXDhtCqqhOwy4ewOgwbHjHYKi5WdhICVp5k7Dh3tDBwIYSEm9YAf3iYNdl7HXHYNN4uMqm
+YHcPUL0g2HAd1bUR2Iic6QatZlxUt3DAG4Dd7VAQ/GvcR0O846/RsCqIn/TrNvxzmuGeCXkGwOQc
+braH3exrlEd0bwatTgi9GU5Tpknfec8X+RoHNfksBb72Q6Bhr4cRZ27qNc6OJ/OaZ8kq7wB1ZdzG
+UXoRr2HKibwPphZXC1F03jWiBrVlnrhrvDGTmZx2zbiaJgs+DWGMGKH362RdWx5dkK4Z22AOJnpj
+u5FAbs51T0b5dcx14AOcct2dXnhBrllNp+gAwoPpzu+2jbM4v+AiXNdkm6IDroFbpsPT+dbNMEMX
+3pocG5KEBTVoTglzuHXziNyLbQ0p8/IdbQ24De1/TrbGr0lrO8nW1TJRAmwNnY7wDeda07G+Pm6q
+NZwntPw51BroIE47Z1oXixq6kdYlij8a0RrpKaKfGtC6uIvq4lkH+clx1hBoYzTnIAS0lFww6+IV
+BJxlDfIfVwNHWQfO/SJZI9FO6ZiWmVQsIt041rnb9L0w1tmDCZ1inT2QwiHWUD76eENYZ9NEgmAN
+AY24Alhnr7N68atfmoAOp4Gvrj6+jF7duIIp/3HDq1lSw6XYKZkP0hUEzOMVI0uMP73R1Q0ZgE/d
+WZdYTgc9cAauhtHqMeT15lYv+mXTR2Crq9WSD2r1UKLsG7S6maMhoNXJ9m1nVlsk7U2sVkaKSbGp
+KaawfQSwehIuI7PA5lWD1JKWIsgZgzntIOi4arfNv8GqLYwrWNXD61MYqjp7Et5Nqu7G7QlQtYVa
+BqeazgelcR6YalpmPGsTk9s2rWBUY3wkS+jbiGqkyJFQ4WAdDG47wmjScEXUcWjzqYupV46nzq4n
+OJ2a+f1NC2bAqZEG2JWRSo0K5yEOzyBTd2U2vYOpLYrdudSNJoe0sdQ6ktX8hqWm4W6MsrHUMNO2
+NvvmUjNM9XFJhGwx5sIvpB0GklotgY4f8LPK/u2PBViah5/JnUtdzcsXWGrnxQWVumUPFz6h1DBI
+iNtpTGogRFSj2pDUzbNjLyI1QCLUZBxI3bKM1sGjhmDYFfuA1Dz4wWjUcAEzxsth1HCcekGjHcXT
+PAPZ7PWIhj0Z0yh27Y7GIFHP5F5vCYn6rWVzqFeSReLGUEPKBdYp1BAIw2seLuB4mYh+MaiXsXEC
+QY0sNZkI7TL8A40+F4B6WlZn8KcJW55jU6UB/OA2dNGnhwExQtotKTXY0yG40NMuDfL0sL0+gNKI
+VeZZ+gJPI8ZYJiKTzmSlyISd3n+e1GmXBnR6eEyQM6eHo1gv5DTirrl8OHF6NAcrG3EaAvGSL13W
+a9I4b3p4PJWT4UYzx+pFmwb3i7Ymg03P4in5xprGPOJh90JNz2aKuKOmKch9o6ZpL3/aG2ka/CPO
+RgNNsyz9TMGZZu361t4w0+Bkyn1ulGlEm9L7aZDpaQyWmzEd1DJHTAcR0wnT02bvDZhGFleyEqee
+YMiEtOBLQ5DNYr/x0sstPE6XBkyLXmODS69iauPFlma24mgbLU2MtxXX1IQtyhO6ydLgpNGG5iQ7
+RBkobcW40tMOsTdWegpzF1DpZaezYEozn7KVGylNlPjj3OLFWAFiKQIovYrikm+e9DI2S+CklycI
+OU36bGjDpKd7ip0lPc1JFuBoXx5ukjQCelkx00HSgLihN4MPPbyY5cWRRqBCNjQxpXCsr7Uh0gy1
+Z1L8yZCGH4v2TUNI4+9kgO6pgBHLOT8B0vCPeeK5cJWPccEcHw1XG/OwL3p0N/N6wKO7Z985OzoE
+Fzp6S40c3Q0pFcBinJCTVWze4GiUQlDJZVuskO/lfEyuitXyF29qNLBdzTqTTjkcnHLfyGicqLLR
+vbdPGMcy6HEBjMbpTWlXlmdWLezhxkU3iyIJWjTgTqpvbLBohpTRlb9Z0d2ivQIVzWOe5QAyLZys
+WfPa73Ab6nEpbU60H40DE83Dcx9vlGgctIkC8D6v2dkIBomuFml6M6KB7/Jn54Rxr1wQot9Voy/f
+XPn6/xQQ/d/Mff7Z9tvHP/0XP/3t2Tya++3vfvXnv/vhP//mh9+/fuWv/8YZ1J5e8U//4oe//Ouv
+3PO//+avf/jV//zDb/7DX/0XsNV+7W//469eL/E//e63P/3hi//H3/yI1/3ND3/zq//1h//HLv+D
+j/4Xv/393/zBpr/74d//7acHYRr7a5b9F1/03/zm13/7V/4sz89ei2f/8x9+9/0PP/3t8fD15x4e
+//eX/9ereX7e7377/XHT5y/7p6+//tm/KL/6059+be1Q0CD41Z/99qc/f42+v30NwF/+0uT//If/
+8HrZ419+8Sd/9h/5b1P/9s9/95/+5q+irf/uz374/Yf99ZH++188H//sF3/yfPzb3w==
+ ]]>
+ <![CDATA[
+ /+JP/hP+46R/Px//y+u//u+X7Pcf9eNffvwf/+fz8evXHf/2L37xJ78cr63kYz6L6Zv+F2xrsBx8
+B9FcFrT+8/LX3d9dbb3++gk//L+9/uelEFTmJIzVs9BLr32GR7HX+rwIY3udLl9HPPzHa/3ui/8B
+NQr5C2gWejpz5gj2e61b9rCPjGtb/hLCaYiQ2JeQxqX6JuwqNvg9WzjkAHS8fuNuFjk/r9XtfgYT
+qgUwemhguC42iuPd7BZez3DI9wMfze5X+9wPrxb+Pfp49AQlFQeOB0ZYHHxf71CEiH9pQ3PiH2dG
+ARukay2oX+je9Hz8y1/414R6/ABQjcZ+1FeGZa6dcginMtteQmwgr33sFiapEt+rhS1/BOi4mkWE
+ZXspddczuPD7PdKuZ/trvrf/E3LBHh6yBDby9ssptyfBAfklRCZgT29CxkX147FNTtxa/7ia5XGk
+lI/rGVz4/c88mz/2P47oPziioedgzBawDTlmO2ixGM+vlYGrRn8GCmjgGi4ftlog2AJ2jfe+FTyx
+3Q+gSnH5ftRDeL3XId+dcDS7u+t4hqtvkaGDEh/3xUVo/bvZLby/75Yfg2E3ewybT/3wx68W6AT4
+8fvnoYvQzf7Mt+61PKi7e7fw7t4t3/1wNLt77HiGq3sZqlrehi6QICu/Dd1DeD/Dlh8PvJs9Xu1T
+P3yDocsyn+19NVsJtvh6yiGsspadq9kpPFezUx6r2dHsXs2OZ7hWs4XYFRge7osBF+vvzW7h/Qxb
+fjxwNHu+2qd++N5XTiSW1id96qLXCWM85a0dxNtWTpbjFw/h9XiHfL/LbvZ46/0MdxfBvDFgx7wu
+hs7a1luzW3g/w5YfDxzNnq/2qR+ii44veG7l5+eOrfwYGHsrP4XnVn7KYys/mt1b+fEM11Z+fO7z
+4hgYZ7NbeD/Dlh8PvAfn8Wqf+uEro+juouNz73b2wDh+8RBej3fI97vsZo+33s9wd9H+3OfFMTDO
+ZrfwfoYtPx54D87j1T71w/efVZRhdU3eVRSXX1rHQHDAeNNbkHFoISW3HBGHNd8qCv0Tdd3qgQvf
+VZTz4tA6zma38HqGQ74f+Gh2v9rnfvgm2+jene/u3erE8Qxb8Tie9hBer3bIdz8cze4eO57h6t6t
+TpwXh+JxNruF9yfe8mM87GaPkfOpH/74bXRvzXffbl3i7NvQOs6+3cK7b7d8d8LR7O6u4xmuvt26
+xHlxaB1ns1t4P8OWHw+8mz1e7VM/fJOhu2fERAJP+bwyuPya7Khlmkxt2MIeEd+3HOEIz7hXBvpk
+Ur1npQvfV4bz4pjsZ7NbeD3DId8PfDS7X+1zP3zLw8vdt3v+Hg+wZ/rxqIfweq9DvjvhaHZ31/EM
+V9/u+XteHDP9bHYL7++75cdg2M0ew+ZTP3zjw8vdvXsKn90bk/3s3i28u3fLdz8cze4eO57h6t49
+hc+LY7KfzW7h/QxbfjzwbvZ4tU/9sPd95mt81h6Bqe3pTXtkBHl6U40O4aWWHPKtw+xmD21nP8Ot
+Gn1+tm1R6Z+OBGy6vJ2a+BA6b2wN+xBe6vgh37r7bvbQ8vnz92ngeiI9578yi+6f/vTr2577X2Xn
+Ld/AzvuoA9+NvYdJFwPv56R++3efW7xMvn+0OZJra5ctgLE85dhjMo2JLrdtAwBSO7Sn9ibECb+2
+Y48xOcwBo37czTYFL9zPYMK9x6wx3i42Bsbd7BZez3DI9wMfze5X+9wP32aPwQXvfYvNANE21wMw
+7puj/XjUQ3i91yHfnXA0u7vreIarb7EZoF7xfXFRGN7d7Bbe33fLj8Gwmz2Gzad++FZ7DDNZ3rv3
+sZiiu3uR1Vjehu4hvLt3y3c/HM3uHjue4epebAa197eLrXLK3ewW3s+w5ccD72aPV/vUD9/GQIZw
+FltYyzpMG6w2GfJfylqRR/Wlvow3YVKx8G3aMPmj7JmrWS7taX5cz+DCbdpoJEKeF0/F/t7NbuH9
+DFt+PHA0e77ap364TBtN6vLVRbBBpPbWzmPIvOsXD+H1eId8v8tu9njr/Qx3F8EGMed6u3gqae5u
+dgvvZ9jy44Gj2fPVPvXDtzm3xzgJn+khshTve0QuKRH3ZzPh+9A5L47RcDa7henTyF2HPrQ/Vjzn
+IdoNHsNi//TRd9dzHh19XByf5Gx2C9On4RPP+W2WAuiC+K33pcDlVx9BT52rvgmT3ve9Qz1G6mr2
+zcqpZ/hs5dT3fLNy6tOdzW7h/QxbfjzwXmGOV/vUD19ZCu4uOubsbmd/nuMXD+H1eId8v8tu9s3K
+qWf4bOXUUHqzctb3LjqE9zNs+fHAe4U5Xu1TP3yLpUB6cfnUvdPDHc9noDt5EvO7n/YUnq92yqMf
+jmbfXOZ6hs8u8/vZLpf56OE58A2C7ad8yt15P9u13p7Cc3E+5bGSH83uNf94hmuD+Mqz/fELxVah
+aQXr7dNRwuXX6WBYltst7FIZ348SNNuVMGRbs1Xa8P0MJnw/SpwXx+ngbHYLr2c45PuBj2b3q33u
+h29myJYWfXfvVvuPZ9gHhONpD+H1aod898PR7O6x4xmu7t1q/3lxHBDOZrfw/sRbfoyH3ewxcj71
+wzcxZJsKffft1vnPvo3Twdm3W3j37ZbvTjia3d11PMPVt1vnPy+O08HZ7Bbez7DlxwPvZo9X+9QP
+38yQ3d3AN0fqn1YGl1+Tnca1/LYy0BLX5qeVAWY71Ji6m4WB756TEr2vCvvCmOZng1t4/foh3496
+NLpf6nMPfEvzwt2re+YeD7Dn+PGoh/B6r0O+O+Fo1jvreIKjV/es3RfG7D4b3ML7m275MQB2o8dQ
++dQD39iwcHfsnrZnx8YEPzt2C++O3fLdD0ez3l/HExwdu6fsvjCm9tngFt6/vuXHo+5Gj5f61APf
+/x3tqv/qp5/+8scffv0x3m2q/21mVSQuvYZ/zR8ViQblyURp/7KsjlSPccq/e5fDjtwVTXu183Py
+3c5P9pzfJL72eqahMvD7HSpxtTh5UPmTcHS7+OmzmrA9q0mYHkX2S96fahdXZPF/6gX7xe+knr7+
+CZVskDsAaOAoffrDIOUgZcmZ2ihhL0xQwO+COCFhK489DJP9v3gLBRgpXdy9gVKYQEE2z1gmTOOx
+R2BqZDTwIFVOj/AaifbqCzUr1R/0MkhojRK2Eb2xMLyt63KzS18PNewJkJhi/Yb2dWXKebfAdBF1
+Tmv+uM8IYW3dX8x6HuzFcfQBinLbK7yWb7+2DWtgd8Lbd/jinwipfwU5LvinjFrhP7o8v/rb5M0c
+CJIP/3RaDdSIt9D7x1ebjV9EKZ3kX+QpZtKg3EdoV6leE+JEzKmEVEOXPclkXVQHk48R1z7ZLq7Y
+qNUqzZlfe4T9dC8FaOp7owZNLf50L7lLkedqotKSC1dz4aN+AzFMXe0XL5f3aGBocDch0r/6AP81
+36rVae+YkH0b36r14t8qV/8y1cY4a2/MP/C5UJpo6Z/AQGixKALbNmy6vo67mgAobLRiump0AMA9
+ml1JdteXaAHTQXLwTbzZ6RcPPTOE02f7uQpA7ksP3Zgm84WOxU+/+hK7U5GYmnzUIGLhx5A/rR/y
+71zeZ7cPuVLlj0KI/FcKZ5/DhS3Z+GCxji8/84t7wQQAxEcPq7L+6PL0+JBnOVYT5tTtS2KRM2Ft
+/iWXzw2IY8SnMYZd+/RqawX5DiZMj48PuMGjBf+0AIf3FRf7vGBS61df4hxMr+ecaqTszakqy1Hi
+NqpvLUjMDTngESac/trFV+73hvf3BYdv2NMQBvdjyEtaJq/qUhaSYi4dP1lxWcv2uYbWinfxzD3H
+/bmasK318dUnsId7aQTAH2gwIRTS7DcmrzYLaPxxoY/2hREULdiMYybsl2hh6knQAiaXCUf83NHA
++Qj76ba+AmismGiSZ8QHUM6cw9Bv8mz2ZVrFMdKEj30ZpiJ+EhbBj7/6izE1JitN26cpcGL9GHLw
+0Ew+tIgOmbQ/C3NzYcyNicTpbhdn1KEw4fCfwzz66iNEVyUWgbSJwPqcP7o852JtE0gioesOTVWk
+JGw2lTAZi/UIj0S+dT+pZLs2IUP12I6+9gjntGNhGq2fa+5pt9dOX79zKEANg8GEsX63J+3FN+ca
+G4B2VtatW8OvXSG8fv7stvulf/yauH6lf14q8L+LnkfYjOSwu34X8lV8cauP99HrrWx8vTrzZ3te
+/bZQE8j3Yu47P4Y8DRsIr9M1V1NUOl3Vhlcb6g8Ix+Pb/tN9D6A8F794JL94Nm+25o+vPsJWVaYC
+f2xTyP5ZUR35qb5Z1ObqwERFoGRNvU5c/E0Is88UEry/2vLuEvKv83H9jy53taIpfdqELVa+pNGA
+ArYlGm+xLbKw7WrxeN0vzrHKgu5jwpR9lbYF1X4Oa6W1XJo/Q/VpMUP29hL7/ZBN/YzjB38M+bM3
+taJXQS627yE8XJhweE+QdvbFWyA4yOS5+8U5dNY8swvxCybMa7fw9mzf+UQCeak9puBQAfnR5elJ
+dnyhXmnCUmyWE0RjQltTADRWzVeTZ1edmF0jYbVNA2yukT+++gy3Eum/iANtLEDp8R2NmqEJ8ziV
+vZ9ZQkxc/ABLQIsJTdcZQp/9ARVy+GuzQLcLu+mQrwXCl8H7Hc45UYfW6CnDXMyJ19rs8hYTkciM
+7PLps6I/bmNgG19tOFZO8cvsfV4ztNsHZ4ksPwRPkGO+C/lTx/FxrBFr38pifbXl/aI4fj5feVFi
+H+wwbKc0yEI3J/pUwgStSMKnlD2y02g2dFZuPrvSyn5xLd5CfnwgkCrx5Wce7ZwbpGPayC7lmBvH
+iMf5+WvT4N/9gYuvlv81fxQF3/DP+KZau6f0nR9dnps2VMiX5h/WqXgxriUUlj6Wz9ThcxKJKdX6
+m6Q2XZtGjp7x+5887ZeSHUZ5/+haKKf2JwlbT/YNWBhEQoIbJazW3ZJXN4uQUWfC5C1w5Jiw+RRd
+0NGjhT3HOm5Th7bsh8q5Hl+uXsd91ylMsbHeH6GscL+UsPtIarN9/TNFA4xG1zTn4iuhXZrrE6LH
+70++ib8teKy1CiGKg1dTjqFsS+amniGWozXwurb5A9DUZkI3Yj3Ve+Cxs+gQayTun7Be6H5MoO9c
+3qc/MGnD1kjvNoIzsxXehKxjFS37QWhIQZew9GLvS1VLwpT83XLb99MoZp9hTbuUzDetoL2WaNRH
+mNFV/QFWnNh72q9WY+5QhbIumyW2AX+u1xFpHRdGw/nx804CJ8VeovogZQUdCFHd1g13a0XXpHOM
+PvbVCYPxLTWtbMLWfc0lE8laeGJfwBJnM43Bt/ZcZVrnQLlNPnlK6ruF1zkpdvDW7eLXXPcvMbRT
+l4Xk/NDoTZfgxa/l1/cDLNTqXxSpq96VWokpHM0vLjrXoXiBj5tVvHMKyTyxXtRkl/bsz0ANxn6o
+xZX7w6PdpJ6cKo5qzUL10M/VOU349CcdwmjheeIDvd7NXw01Cqo1Mu0tCCsd9zgt4w==
+ ]]>
+ <![CDATA[
+ eImGo7s1PI7x37OW6GK2K1s2W/UW9hgp03sdkKo1hg92awEnQ3/ax0U+LaEhuC5W4J0dW5vzSVG2
+JXKQ1SyZm0nwITXIcGHMqjVm2w3XEbPKu+FnWn2iC0bsKGigDpe3Xuzi7RngQcSuXN23qVL6bmFb
+A/1MW/ZBy+jMEKLUYWyKKUXngojkzzBehxjvHRDZfJleaVobuXlHpKVlurCsStgeU3Q7PAB7Ayru
+zykprHJ4aalPhUxuezrySKFTLXgJm++M1Tfyl7x0nxlSNF/CKTqePoYd+YHBnK6Gs0i4tQBtx19O
+4UUU5pJChdPemomwdUMPDrzWAmhyxeVV+wLJnr5+yzRN4V4z2uvctFtwLQOrZ98q50ixP488t7yF
+grlqqoeK+jOqa82uGbm5hIR5/4AsWGTCxzeYDr/rF28hjfiwS8slCwytGJ1rCx/fNZ4R3Uz2n485
+2L2/c/leXnWmZiNuAMWAK97ya+N34VI9C7XgU+S1g2S/P2a/rFe8zncYcHJX2U82wkO2tOjj2uYn
+IJ94ENZ9FCx5N8CjlxoABUjC55mhTMpql1mA3ZtFzoi1AKtntU6D7fg7F6fWbRxTAYMwO3VMJkg9
+b1KengljVWGqnu9o65newhNrq5Zb3B8H2lfzrqBlFm/2kZP3yEwIVPOJawt5Jo/dR5Q2KTQQqmft
+z9oNuxai46hkrbTYXmwopDAGDPkWo4EyYtUHOjeerMSe5qs2fq3453wtqP5or8/mfQYj7G45N28Z
+BikIAVNNdrrk6iGh7+qXhgR50WnOao1+53LX2KE5abFC8YQx7IzzNM2i5LoBFpTi7wxpdufQ6Dnb
+pU/MY66MEILA53pts3Ov5DXM4n1qO+B0cOXYBwmHRpxPZmjciWXffE8z/QTfMNTwDiS1hOXxsVdj
+raNq5ccW3+6h6ce1I2kPx5mg7lWxRTf0MFgOs1JRyFrg1xoHK+DyEcUaQtaCOQZNr9TyDvtyrNjE
+nZowDubwLe4W2vRBQuSjhDXNmEVaShLteqfOEy3UEX3W4uiBgOvuSjOmKWQFlThMu/BdDsUjmr8E
+4bHWcIbvth3j9zuXl/z4mRcH85A/KYdKpRMb6mnHgQkxKibMw/eX14SJMcHqs35aUleksCvZYvtL
+2YnrpduGif4xZ8Zrk8aVz7S6AnwmU/BR2NHs81Ops7odsc/5/2XvXZsjO64DQX9mBP9DRWxwg/QK
+1TffecXQh240SXMGZPd2kzK9lgJRDVSzyyxUYQoAH/o0bOzYku0Jj3dtyTO21175KcuSvaHx2hpz
+1j8GpmT9gvnozXMyz8m89QDqFrsbKHTJZqPqVN5zM09mnneeZCYHwmmH4IIpSUIcgLLpJkJglUIg
+cLUok7LKO8PTwz77Tjz1tfIkl9CpmB4O0lsSs4dblwFm2F+UirADEMo/1mVWSxRsAa7iBckAT/IV
+8oM87UvSjuDiSs3exIpNgQpcj4QhzAcp8hWkv9W8ieOUwyWKKVMApE1UxuAyR97uPkVsEpzTR8jP
+UFWFRwKrxUZg4ZnynGyANx8Sk5NQkz8CVdISPH/nNQ4pHPywlI6ZXowdQmNWHPGQZmppiHFjJVrG
+UCliu1KmCARcqMvMDSYqAm3yACdtci9iyAqlj7c1psaWG8OlTAltVZEcr2p22Pt4VUlauEqmxlVS
+7mDOagIGxkJ72srC7efZUqvrGEuvQdKSzMWcifMch1CXTbGkULHDePuQnBpaYLuaLD1LPpgIdyTt
+UO1KHlpvWeLWFHXghAc2WKPnlv3VHBmAhApaolEopRgJuyRIrCGcBldQXbNlmnSiBDRs4qRLOyNc
+J2bqo6UcQ0d5W+F1oRFoE8Ggxq/kPoCLiryHLmUYQPVvjh6kHKc63f0XKS5qDm+IKGASyWL2DSBg
+t0gQM4aAmnmYcjZjyEqVNykAJMBzTj46yMMFIFwJRFwEK9knDHArosgCU6XG2lWsdsRElboq8sq8
+toQBCkDzvEVpgkABBYkTi3QyxcgMBw5QsU4YYF+xUeiVTY1Rr4h9kClVCPYVGSDOKldiyLYGReQ0
+LzLUZBOQHVRWmuJ51p7w7AnH/3J2moKoXgRWLBQrU1NQkIhuIYOjzpglb02KrHhX2A+VTjlasDxL
+3wGH2sME0Po1iuLyQc0haYm+g9hSsEqfl5lPcZ4Ip/6CAkdatk1MB9DyyLA6C2PIhhhPEGYMWlpm
+Jg7CciAVVMCKR2FLn5pNZIBTOuRdQv9ERJt1UwcZWIzBS3a7Uq4bXIBDTkilUtICZvEQyaXQGQPl
+IqS7YVJjN0McqNrN2qLh7ebxNgh2ErvYByjgz8mKMQSNaWoUJcrRSCh/n73qtFXKIIKiGDNevlQq
+3YxB1OSmsEpSjqGHmwmJOjqnXkExdvbLaUPJgI53dzxjgECT1d7K85Ah54fsQfTa7RA8K0Z42Inh
+2VclTdG65ixRk/JFFI8RKsw7yjMUipKxWLdCOFkhluPGcAmsrgQ1jkqBl5xtVoQeEtyV8FlgWEBf
+pcakuNqow0SgSs6u8DqrCIhXu8WWYDrz6/DC3jhk0JwiULK9oFLSG7Rkt2OR7OclKywuXn8FQFG4
+xZRN20DAlCWiVzmFzQvWJylYEoEsjYLySWgVyzKlVYEhu8XQy7lDcMrccCkkEIGO4xqCQLUlBmqz
+0IB7ptmLJ2JkH16WdDwbnSWxJWWBumy0RzjzKiGShAH7nH2UJkqzACxCPjXHseGUXs7vTjFYB9ef
+EiGqlKfi4CZWYuJ4o2HE4GpOpAKeFNU5wKCIN0sdBRec8+PtYiwvSlcX/sEkCFwq851GltLkwEpO
+OCtmis5xKoqL0f4dgruUAIVMIoIUizid4sVwfTbbZ6i0M14hqHHgoDo1zlJA25iqDUDOddCCGT7c
+mc56RfQfIlBqMpAwKLcVU27ZHSsELz0HJjt5nJCOnKKr2UdK/DIAK+bMKqXNxEvKCZh5ics5koA5
+9U3HVLsItI6AhpVajKwkDKqI9UVvIbjtOWnXxsI/EShZnMma0zDgogNBqwTrAkWgVtRhnZgctOSA
+ts7p+JATy74hvKWRs20dJ9nHPsBlY0QcYTQBa02brXZ5ScG9NJZS5JNILTJ4bQp0I7Dg30oUybo+
+DS0n2WNjogPeqRKBmpVl2cCg2ZAWSU46Ee8zSayIYTW5+TBVnRFUhrNRJPeXIoCQaxmPKriKTXFQ
+MNjOclU0TCJ5tCK5ByeSFbF7yq6Ca0IcKX+Bt8oEVImTpMMKjDkH5iqpNGPIBxMiP8XbR/jERs4r
+Bgy866toRzs0z1MXTB3VEBtYkaYcdUxWSRk8NQfR4abYmAPk4DRWbQloCa0UtCILAgMGS+kUSvLr
+akWqqtSakqMdm1S4TBmDs6T8Se+IdQW4krzcYfsyPO8NBe4+hpOctfF+HgDCRUIc1xXRErTgU7F0
+pMPGiiypsc2BrZRUHwwFQd2mQxAATA5kzGulofgiCqNq7oKwnjl7XBPWx95EMeBYmMGdV0KwHhvb
+ptJkujTC8C5G5sFCcmapi/mTETElkZbBV9oFcAsjh2+zSW6BuXO6v4+SCNo6yUw8HQwARZL2nMpn
+nVwRwanS3FvQs8kv4dLZBkjEI7GL9zAlBKbw74skteD+G0/Zpz5p1xaudPeepjzn2wNf93yQx1Ji
+Wlh0tNZBEP0SN2ati7wucCFtVgdF6oMOi1nRhm0k89aKVSPDib8s4YTJ6XnWl6IlYYBTHpLlkKTG
+pPWBohuVoNCSebqxxfMYB0ls0qSWno9OkQdj4XGSHIUC7SAdZlOc2ws6gaUDKWFT0ux6rzOG0E9W
+9/n0So4+Kh0VGEDLjiudT2Slq16TjK7o8FUWWKSiWllE7fCqpYQBLv8hJlcXh+zgyng6qkEJcrb0
+2WCgJmHgtOygn6vcN2HIiYGsKHWYXS5CEtGlzfq3KxBUycFjI7/c4UE7mbqm6vlznBaOpDWKoqJY
+OCS0bFUe/lCSWXi2AmFZV3SiK4ZKItCwuiIEr3VPPNI0skaNIntIZQw5NdzWjrJGnVCpDzofNQO4
+snx+QdIAnSS9gsyAeQdT0kbWNAgj89B8SphooK1TVnM+Xwct+fgi3mXFfEdaGnKlE9fImdU2XikV
+gbbmg3yefWgAN3yAyDieZsueaBs9fbExJVnZbvLcWMveTBtDmNuEQNuKEvJtgZcC+eCJVbaA5yMi
+dDoMboyXmgiUxEiYL0cvVPmclQU3DXFQvAo4NU4+MxtvP01oHZ0VsMUhT9ST6agRnT9yHMLIlr5N
+nqtItbqQZBSUszFzJEkyp3jEFQlIykZIN9BmDI7Ig9fpJQnLh0JIRQPBLYlFoEeIxbFM6n3omkhM
+CUIMdFRHGU1SXqZwuS2NF1QfqG/k70KthIYWs1TUuYfHJC0evFo8AilbA1OOScnzdAhUuUJD83xS
+TbKKZytqivG0pOla2m454ALgnHtP9x5F1VrSpo/lfRp6uI2CYisd5nPE5QytEABr2rEieZzBPEjx
+KeiE92Qe5C6YbFsuPmdIKqVNeXDRGtG0dIRiQ6tiOnJgMRlFdPYIkxp3yFqjOGhxghFulLdE4RRQ
+gstKU8gjn5NNcCd4tWsy7TKnSy4ipxq8gH2HAOdDO85rehu52YFdOzo8lw9Eo+a5xxgE2RikIzoQ
+4ITBJq8YAGtJqxcOLuY+8JFIPM21Q3BVEQvF/GDCzIyuSlOqOAxho6rFmBVbndLz0UKdd5zm84I6
+RWMsHJwyGQMpHfloJ6CV3LF4ZAj6xfy+cAcBAs0Ikurm4IpNmuOk1c49nJjggqyqKp0EKxrb6DqK
+QM9Y0Y3KjgnBAkYkgepUzCaKa08bcm3QEcR0Ho4xSO3KXRuBJEZMTK0kIG8BxcE9cHlYzdszOY80
+Rz5NvM8xAm0+VC5MRuBqYhAVmdkGssVdsWUjUCpaezLbIg6uhK5ZzrJpCPCazmGnA4aAo3K8r+Jh
+JQCK3DA7XQxrqzZ7/GYaz21ZYGg05q45r9n8TpwV1ZdpUlqOAdiYUMkOM8qlstHnwa68XIggrCRy
+xbksB2hhOw5eFidE0Z9YaapvQBoAVhIioY7dSEBF+qrIATrwSNas4AhDbspcJiDsMpeAribfD57H
+ZQz5BFudrGG4atlT3j/av9SS5GER6oTGNguDtII8G3dw0DhtObhrmChZWc10qKM5E7eBEOSYpawn
+w9UjAjCfXPPZRAU/sOOTpXmK6sAkJElQFXUecAOzkVqlQ/Wujlk0eR8xYu/pnKG1OXxTcTq8iZrl
+FrrJMx9XRpCj3aZ8PvCbMkOA+60FFVapk0MQHO2WjvWSjw8iCzyfRc4C3MurGuTcirEJy+cuvaVw
+DB3BxmQpDntBcXQ65klnwwBoaVXGUwkY5akEnSvGxcwYauPNTB9qtmpUcsVBnEiTyqxr1tEh2GRo
+YQablypdFEcJk5May18wq6rYaQa1Moxitl9RYyV4XafDiOdU26Doj2GL1Cs+ZWfwUg==
+ ]]>
+ <![CDATA[
+ 2NQw+WhMPkIU4YaqX+BuyEG3yhpqr6gXFPYwXCwFw3l00hJTURgzeQhSptw5GCgbolGiASKNSaya
+eDd4BJKPBBrLi+p9WE1CJiY7xkBo8uSlygjUkuetmCLD2rjJsXINwokYq0wdM+xlTMUdGIOxWdCl
+oiOGHUCZR3gTL0hMy4ENIG+Kk+qUUeSz0Qc7QxICIVNnMfswI6hpkl2KvWDsmqZCRSnnbazLoem8
+fQ5zp6RaE5WIHYKTvQ9kYrzGSGYwsk5AayS3LGL4hotUYCoDIybz1/CRVA8KrdYEdIqBdDQZbYcc
+23dEMzpDj2iZt9OihsAgUb2MtoLThHdRoo/jKL4lN7lPp9bS7FQm96DOZ7HjUVJo66kyhTaa8iYq
+S4e/dc6qwhQJWpI6nd306AZPQyDJC93iJaaKheM4vmFiiwTUxGeTY3huTYUId542G4UuIaWDj4jb
+pBZDsgqzWdzNjCHbfDEhFhtTSiFsGkupPJL3MB5G43QXOpICcE+N6bybyWkPnvUaE521jMFWzEcM
+Y8jSLR42U/OP3KfGyUoBIeJJTAPckbrJjMDH3KAk9RKHqgsjDk2BhLlmqRdWFPXMa3qexCtcUU8W
+blUVT1NEIFlPEUgudpifmrKnfEVKCdauYQy1JcOXQgLQWJKOYExKE6j5/I2JNYEiBkgDyyy9irWC
+AOiIYDJF92qopMYLPfukApyUnTyZAFQMrAShrZnB5ePjASxZ0yHXFSBwvnSNMJwiCFmLQgwsVVIe
+BiSyaeJCdcUKEAxOkx+kSp48AEoyckhjA7Sk42Y/CvSgpipU8f7MRBxyMOpkk0HenSMVQ1as+wKc
+dSU8S7tDcKN4H6dyOrVgfyYIEsoppAMgMO05+w8Kl/EycRVpjXWZpwK+pQizXnsmj0rArHZmIwfA
+ljWdKiVXwoFR0p6dpMzIhaU6bMVymBsbQfInSE5PQMZQZ39AgHtNPXOSTcBac9UtyCGNShikclZU
+3oicBwHo2WWI3pltwuCU4M3pOEk0V7xIbKsG+5ZNA1FmjjpPO8OJ6GYFDKw12hQ1AaASrP7w4Ay7
+0HIVtDqfWwd9OC3JxWU7jKNtHNPSUz0Ecv8GPZMwUJqMjQEPxkDM00b+To0t9yF0+Je4cRPJFmYB
+V4Y8wDL5RmrD8tnGGH56neW0bpMOv8fCBByB0NZxgZC5tUB84Q+tKs7U1pwtVtmUdezhuBnLfZkR
+ZE8Mxd2xLZcm84oQUFJYelXCUBc1bLzkVO8cSzcuJmTVOWHIlmlPAU5ZMbkiGKDl6lzokIpAxWHA
+yrFwA8wpkRLYsiQMtPhgfuI5qqqKAbm4TL3kIw4VJxibmFq4Q3A6MmWS4x2BjhX4WCAQzw3IinmJ
+VnREJsAF85iYjpcac30v0GW+So01x2jQs5mOKQhycmKMJgK1IPNaOT6RE+CSowqp5BHAOD1DpsNK
+leT0OJhkUyDI/sUqnfkHDOzR11VFaC07PrWTLmNwkj2U6Zg3nM3wHCYS8exOpfhYhYnZFYyBTk+a
+GPrhAxuedfCYBh5PdwjFe0PR+RDpsxQQxVEQaTObMnSWtFIcHjExKT8BOe5HBw8rYLbMIxQf5asg
+SEgkpqNulS6CT1Z5wgCVlEnOxqoZFQTiSNJyUTGE11z4q5aaO2yKon1pBYIgJUeVSrU0KmCF5J3B
+UPI2Pe842lr5WOYjAKnGRmIzEUjxWiCNthmDrMm6cKBXJbSZvrUiDN7SZPDZl9i4Zjln8ihq2nF0
+rK0qzUIMNTAGz6VLY2VKPHFEp3QtFtiJsFzCUrmKEViu7gWCIr7McYYR1ThEYB6DyUPwjBcGmXZ3
+HRPoIjuyXHeMJAOYc3wiGApYW1arK0WV3fLyNVITBgpZiuIQX8XGm43ZiumIGTE+QmiYh6Can54W
+XF3HxPSfHYJLSQzKeKoWhydQkpphuAadZNab51YIZtUm1UOKb+OlJOOZXWjoqLplZbkoCsAFG/Iw
+H+mInSD7CA3DCKRiBLAkSwyaPUvGeZHHVrORhUpxAgqSeUEz1emkn64t1QT0+fwo5CnSrIs6H1oE
+jkhjUXRcUMWcpNQ4UUKBoUHGpucj0AA39MaYf4BAyvIHWsaSHnAYsmYHA7l78OCkrmhGowcaT1mS
+IVIT3cH8UKXSmJ43BSfE4gU7BM+GS5gEm46bUpzWxFgdwigml8yehNhywo/p8nlXIakPmKCfgCww
+dRak6JInYRFrdCHQ8DKjAibCcrYFskSZMeTNijH7NDRQuQhJdAIh0LKFH0tw4hlhKTjsZCX3zRe+
+SSqUIzyfGofF6umccyW5zGTF1ROK88smco8dgvvkk8urR2IWJa+Sik53i2wdFOfyReE7wJrOW3j4
+3bGzAzOU8Jy9Zidm2Ht8+j0XVAbfTNz30NiTLW0Th4CD/ezTwIJwjAFugqH+KkWlAXJ0G22OCEwR
+YVg83AXNJ1MN1/OMcKFJUZBUtQIycATvAEFvozQDE6+AZ8w+TzPEeRJmUwQZqLQVVKIwmYvG457S
+FUU0MdkmYXaFy5GUFSieYTKQCmrkCrK4pxmBYx6MLCR1zcfs8zgUVVOpDm1pjmMJKwmOGc/rjzdi
+aEo5Q6ZxLr+OccUITydfobJILoadjoNL0NjJaUS+HAQ7T7MUTDFaw6oC5kk736eCQlCnSPLU6VhO
+JfB3T4EZzDCKmAHuuCamiiowAA25urTQBGQ61FwmQYmiHq9KSriSRZRLpMphAag5VoxHrhMGWaRd
+KJGq/igufGxiUcYIpMO7ySBKGFQhEQ1XalCqcMx5zIdKQDZlU6ERRTG2WheFfCquoBuPEEUg28FU
+SyRgrNkzX2vmXKExOZ5iciiCcv5EWOQiAQ1HYivDfAvK8PAixRKYRSkhLotsPJcNqjjSZzRh9s6V
+dlrCbLi0KcV4EahzXg4ecUWgYSlUVkkyXCDGxFIpEegkWaGijoxLmSJqVqhHyhQ2JKnqysSzxxFt
+qmkCQOYjJX0t51eT1yeVbyJNXSZrQ9kyt6hmcwrg7LWsk+2l8ilBE2vCbWG1qIoZAx4HZwy5DqiP
+3FcBTbkgqvbUBVVlbdYXXchw0koAqyIFBE/vpJaszcmippLlWkSgraRyYI4rYVLp61gHS7BGWnGl
+QIAr9gn7VPwrnxk1uVyUYxaAqUj5eUnhQDwXu0PwLC2MlURJw6yTOZbjai+gMdU6Yw6rk3VlS42J
+ERpDfc1RmqJEnnJFlIXYufKssGE53AjKBWjxEG96Htw9tNNcRY9T0neKZUwjKAqJANzxVs0vE+ya
+sok3er4/IpU6ZwSSVUavBY+gEUyPIEV6WckZAU4aI9V7BKDO+TkZA8eOvGYjSHmus1E0doWeT4V0
+YBZY7fWyXB41h+mpehGgZechlzODqaHAZ1l4zPO5QhuLMyY6WrLaYh4NAg0f20TJyBiylKqThqvq
+0jPlYxUvKG7Ht0AEPspTWXPuOkivVD6w9GHFIDQCHd/LUVQRgZqCfEBHakEYas6HI58QAHPaRq69
+DhiyVzPJWnidz2tP5z7wFAv2YWnBdcCymIAiiDVxXZJqUC7RcsKOZk0EykZyPmblFJVRzFWkiZFq
+qNbELqhcmSnAfZbi2lHNECiVaYk9yaQ5QxljTkKsqVxpkcmhZFFylY6qkkc7Ag056DDdNQHzBRuW
+lWmoBusMr+BUHTUdyNXRF5cKOZZWCSeOIDwrTj5xHADWmjsWbbkA9DmH0XBBLIDnGIlh1VTXnBQA
+IqPyGe4MOW6JIcKNARy/NKnkk4GFotgZTBMKYJplto1MFfdfUlQiUqhxxUncNg4DgFXFPjtmvQaz
+e0ifT2UUAeiI7njqNwKDQCD/HgXCIpxPmOF0pq5BbYqafN2aVWEjCyrLVPbJQHkyjgzJqKcYyec0
+TfSPbxOG2hUmd+yz4oNZliuqwiUIkpYg5kklDFCZlq/ksXGtGMVFayxXcgIgJ6aizZ8xLLi4QSku
+ZJtkaQBSiQMVl7uRRYU0b7moFhDHU2mmwn4woHtzhb3KuAx3XGgHy8IXRKaCcZWKBcIASS46lypj
+GRmT1hHoBBcVBjgfIkolPo3kG4tyYWWYZy5FW1tV53XhuXoalp3YIbjjIbpK0PKs+Vgwle6ElrmA
+qmdDBFci1SyJqTQRQy4/6uJ9BAFo8ynkXDMOFjif0w1qAmHQNZfwTkZzAEqfqzeyjwjgXAEEvYYJ
+yKUv8FBJBCo+UMZBe4Tnmtwxewj3s+falMTZkCHQcSzjRXExieFD9HigM7EUPsRsUsnL8642qXJZ
+0cRI4aA6zXwsv4HAXIwMzwFuE1urE6vw6bg9AosCpMlJAMBUgi3dVpkZqeViiiksAnxb0yHmmpg5
+EDUvVTYwAG7ohGBU3rTjY7qO9WoAKjop7CuOfOmcNetYedOg6nIRHh8XmU5XMcVt5XSBQfN2Rl9m
+BOZaCDGwjVLKc20fTNJMGCy7910Mo0cELt8XIAyLOaqWJVwugA2nGHMtvMi9tC3r9BpHwFz/FPvF
+GPKxUJ/cpgDkgj0uWcLa8p0zPtYRYQz5lCMpLbYsBaZTZXDUvolemvelNkUlIKw3nBoLKq4YC3TE
+Gu+WSxWyFqzT9Wk+1wCfqRz/S1hYXnRuk9abGbYGWXowD27JKCqBfh6QtUDlilPsMRlkqsYx3ty3
+1TDAXEzG22MMPMiicT6BXKCdGsU21exHu5OWIZ5WPCC4E0VRgWS7Us4QvoXsbMXvyzYb2OQVnXlO
+3BLbUoEcKVOHLWdou3jqLmOoaB3KKBehU3xaWGlHCKZGkAeHK4L82T7d8pUMH3LuUuxFucIBFI8t
+RyC7ArH0/fYshlgACF9XsdporCeLDCvqaTarC4uMEvfiWcEI1GSDk98agaSlWsl6rkp132Zex8nJ
+wYZmtE06RBL9/LtwIeZtts6atusBwzktmTgHAtkpbJOPyPNVBSmxKNt9+eab5B7H11F6Uy3Yol1g
+OErW6CgeheYz28QXWr/SZriT/Da2uLRznblU2C4uBZw6d3LxBY6KD4M4Prsi6cCH9DFZ+dxzJ/NP
+jeSCNzHdYRqYDkvOPSrzkHznubgvmqkHGT6nxLQrLvurOStgFstOcd3fVJUOvu5P1bzfU3p4o0qH
+pPvgoLoQl7iqOBcL4VTiQNKZNlHcU8onU+ZVCuELAKcKTPAFgIaVE1XzYbUAz2XSqGYYAPngv0o5
+c3NLV6SX+njwtilNIpzLqim6YNSzzUvM7rxaErnmoqLz5b4suVACuWaE4FT+2a7tlNdfNcvn8fVX
+dAwb4IZK5WWtnJNNIdDHFZ9d4CF7hCEXq4gOqJSgyyVDK67AN1vCL3VvphjXAcEdj5RO5kHtL0Ha
+a8rFAhgXP2AfSUTgqMoSluNLb+PaMZgpM7cL2+WVRWkL+pgpXFzjRSUqo0djqnG85+TcYpYUiPE5
+RdUk1+4FdxvN7VmecVVUxEUjnG+Orfh6ClnT2GsuFU2HeM8haW2p9JVM56m9KhRZqg==
+ ]]>
+ <![CDATA[
+ pDLbhbyLwDrmcvdWEEmhSkNNtdO4DH6C8+Wl6bo3BNJ6NymXF4D5StOiIsPMG8ubl6ceyZ3hKsq6
+1qLoDJeS0KkSKwAdK1tUMWVeZ/iludg5Vhm/8KWOLXO+vUtybTC+gHAG73ZxsZjV2VYWxe20lu0z
+LGaWbxQ1VIcLOSohId6fzh3PIs7vNLHuVPwJVsMBwSvF99l6vjzRs2UbC/xH5DygohbtOb3OFbro
++mFb3jIQb5Ga17fcbdwbJIorvj3YWg6LJeHPBRhqxYd90/l6LIzDfrNUNBIwaHa3V6Ion6DyQUC6
+dNayf8zmukozfSuFk80Jc3wfM1Q7qAVHWlNVFWibXdiGgTlzX+ZSK5n7U3ZNBHJeWU030k13IStf
+EAGhiAAoaAcMFhza8ZbP/MLNPqyKSkVnRCVnvVCnZxBnuVLFDNooKS0TBGv91bwvc42vGg622WKZ
+7CzAk/msKDIjDI8Kyh8mA9rE+vBcPjGnGqDJsDMfzU5xyWJWZ/GsBd8jl48EFoddoPqzyrF2QQnX
+QbWh1ypHwCnMrFpCoqfj9DEw9A8IrgxlM1IsHXI9OfyLuR0RaDmGUMTRoHGOY7tUFh3Q8lnVOiXv
+zvQha76miBfhmasDgufblMHtznku+TJbTJ3eWYAmUj2YVHXn5Vc67/3izOeXbr7pd18b7d+anBw9
+uts7Pu5PRgg1AN19ezy6OxmMjgej97e2EvxW//3BqPzlxRfePsTfRBV/vP/VN14fDAOqF1+4wZ87
+Xw7f3ntr5+3xfh8/3x7sHQ/Go97kkwt+erXz8scHw1H4cSt0cDJ4cHLcP3ql86XQ8OZk0ptus/do
+MNyf9EfYQnZuvDk6zj/CP8efHPbxx5dvvrl79ulnZ5/+xtmn39k9e/zXZ4///Ozxj3f1K50b744G
+e6Ht/fC+0fvN5z/sDU8SgsF+aDqvzah3EJuEjkGjLy03jKtGoOUpcXS8f7v/4aAH3Tr/oZI0zaeW
+JNKioYjzhjJ/mooBPOy/0Ts5Ohr0RreGJ5Olh/Clp9Yf3DVL9+PG7f7DzqtruuHcZsOl8S1Pic2G
+22y4i9dTMONfWnpJfTTYP360/FpKzb+0DkN71B+8/+h4+bFR+8sa3PjBr/T3jm+NT0b7oZ+3xh8v
+PdK4jEPb46Plh9t46LLG3GI6LyBHObSP12JAnyw/oE8ub0Agvh9/9+z0+2env3v2+P/eFRu5ncZ3
+fDJ5cDLsj/b6S5MkPrzsrPOrLmcldyuz9MAe9I76r0/6/+4kkKPFup567LKGKpce5+jk4M7ece/D
+fgtGWz5zWSMcje8fD473LpD0DVUTmr8zGLYZaeOhyxoqbMulhznpH50MW+gI1P6Steh3lmQ9TR36
+qjHQwQVGTDHk8WF/0jseL6+qF09c1kK8Pz6Z7PXfmPQOHw32lpeaLSy7wWhNttlgdAGLbY5KXvoG
+2x4fHI6PBset9tfGRt3YqBsbdWOjbmzUS7ZRN8EcoszDSS+YHsO3x4Oj62qlLu+QWG8jdflFvTFS
+N0bqxkjdGKkbI3VjpM7sr42RujF2LlKl//7s9E/OTr919vjPN+GeKU55c3j4qHft+OTyAZAnlIJy
+KaN8cGHOyforXavm11y13ba8tbPfwumyf4lelxYjamGc7l+iRdpqP60LKxw/fHjUP4btM+nvt+P2
+a8oy7uCInxCzWEfJ/gWmfIVVfZlT/VZ/8n4f6LvOouGZmaxrN1NPtTNXoCPX0cgU+vpGQtUmErpw
+Ga+jc2BLmOsWC201pDWKhhYunOWN+40LZ33tFrtx4VwTe+y6uHD8tXPhtBjRxoWzceFsXDjrMOXP
+g2Pgqk3XxoWzceFcHxeOqTqmamn+32uTslY8snF3PFtD+vR3zh7/zdnjf8Tk4u+cnf712eM/3SRF
+MIkm/YPxhxfwleZaGLZaBMPLm/3BaL//cDC6ML2qoT0e9nvHt1uYbeUjlzXQ0IVhr8Uh5t7+/uB4
+cNGsl4PMT1zWGJdkuuUoqQNv40CWHmrzscsa72g8ajGhe3snByfDXotEwsYzlzXIo8PhoMUw93rD
+vbfaqGPFE5c1xGr5BfsAyrC1ONUQm1/WwESLke23Yaj7l8lKe8OPep8sP7BJ/+i4N2nnbogPXNq0
+dcSrsuoIE/6tOuG/V8Pn8PfV8ENn6XHjxxbaILW/VIOuNxoctGGRV9bsvp7xj2deRe3q+2u/gDPz
+6g8OLatl1+XyBtYmqPNcH4e6lvGQVb2tKxyHupTx7dE5qDsnF3C79Y/0rHTm66oxkeWdpR9c4Gor
+ZwjaXppevPyIWuyqDy5xU7UYkWoxInWJtvTyI7rgrEZjRPoSzc3J4PjRQf+4BVdfR6G8En9fL+Hc
+1iZbR9G8PEfZyOa1TcRYbcI3kf0v2Jkr0JFNZH8T2V96xFc1sr/Jld9E9udrJJvI/rxBbiL7z3q8
+z0VkH+L6veUdsZvI/iayv4nsPwFVF2L7snq1ndq7ieavk+doPbxim2j+Jpr/BIyqTTT/SQV59gcP
+H54c9bfHoyCnRi2W4cyDl7UeP+kPh+OPlh7wEMpLhAZbe+Nhm3DJ9HOXpoa1ZCz3g0rcQoFuPHRp
+OsvyUuJk8jBYwi0H2XxqPRjpmgj4xBaurfRrO76nJACvmsDZeBU3XsV18Cq2kf4b1+LGtbhxLT4T
+ndZsXItr6FqMlter70/6/dGrQZvtvxpk5eD98asfDsbD/vGrk/7+q+NJb3RRGsPG53jp+ptd3i3c
+H4Zv7bxyxSOXxmL88iPsfWNwcNKmHic/cMnuq9sD9MXstKq4+aWn2R80lnaS0rXOGyTwsufHxbTx
+v6yt/+XosL8XNPHJMzoyc+XXZyLHax8fBiOojX979slLG+7ykos63d6dP/vkxhO18URtPFEbT9TG
+E9V6ZjeeqI0narzxRD1TyQh+p+iJSm4pdEhtPFHrZmhvPFFPyhN1eWrNZUfHnxf/2v1ktF0HB9s1
+L0Czil9mXXxO1/uo+zP2qF0mf7sWRWhaFDhZkyI0LQqcrEkRmhYj2hShuSyj8fkoQvPMrqxYj3TV
+tRHLw8Hx3d7gohDHRiZfCZm8KQx39WXypjDcRiZfEZncmrevizhezQuwbiJ5UxCupUxexzyL9pO9
+KQb3BTtzBTpyHYvBCd3iOvuPBvtt4jGp+aXpdG2G9qjfKq7B7S9rcFuyxeDW5Nb6NkNan1vrT/8z
+/v/3zz79YeMG+819e89DzZcLbKtNzZe10XuvS3mU5Vfkutxg32JEmxvsL29Q+Trz684qnujN9Zsi
+NE/RjC/T0L/80aM2pwuOjj9pNeLYfMNRnrBH8Vqf9Wp/+Gmtz3ptjnq1spbD/5am2DeWJ9E3LtEF
+YNqMaU3cGqLVRLV2bFymonN3PNhkBD+VVfMcZARvsoFpbOsS43yG+tZ1inBe9fyPTdbR1R/RJuvo
+kkb0nGQdXe9M4PbqxrqI5E0m8GoyeR1N/hUc6M9D2tFVm6ZnkcC5dpO0yQ1bw9yw6vrmhrUZ2rrl
+hj2Pl59eu2y465gL988//n9+8rff+cnffbp7gTn7HCW/HZ9MHpwM+6MWFd/iw8tOOb/qcpZxt1o+
+l+BB76j/+qT/704COVos6qnHLmuofulxjk4O7uwd9z5sU2KpfOayRjga3z8eHO9dIOYbORLQ/J3B
+sM1IGw9d1lBhW153m/qdJVnP1Ta3rnmkrNVCXBd/3DMLk62dy2pjnm7M0415ujFPN+bpZZqny5ss
+1908fTjpBatj+PZ40KKQznoZqMsfH1lv+3T5cW7s0419urFPN/bpxj7d2Kcb+3RlI85cX/u0zdA2
+9unVt0+3xLWzUFsNaW1s1J/8wV/+9Pd/uDFPG4L6uqatboqHPElT5uoPbs1uBNlURDlvgjYVUTb1
+C5ZO6J7099tZm+vGB8dLlERZX064/gVfHg7H4/1UB+XBsLf3waudCBof9vYGx598uY2ffL1Ko7S7
+g3TdNl670a3Zvnsdlug6b7tr7hxuufiuv9hen4OFz5FucvSotz/+aPs6M8prUdJg+ePy6eaf9uWh
+Zh68rDXZrhZdm/vUy+FOP3dZo217aULLaoONhy5rjM9HScVraae3vUhs3QRg64vSno7wu2ryxl77
+27jV8kxpTW/jvkDdXl+N7qpdx3078pDrUHvv+dK9NnrJ2uolz/h27k0N5KtkCW1qIG8UtGugoG30
+s01x5LYL55pHTVa7KHU9VJbrXyD5GSpkm4jCsyvAuyZFklsU4F2TIsktRrQpknxJI9oUSb4Gorl1
+FGBtxPKmSPIayeTNxQVXXyZvLi7YyOQrIpOfRbXttbElNyL5uovkdXTTf6F82dab9TJne3N/wXWd
+pKfamXVeLde+QNhqHuv10DGen+LcLdIINtXPzk0euArVz5atDLb++uP1qIF20Avolq+js07iQXSq
+9H/zPjFk6bHjxxb7kdqv0VZcF+n4Rnj66OJkx/VnMnj07a0l9ujV5jLXWVN7PkoBPevjppe56a5L
+9Zyt61c+Z2t5q2hd6uc8K+/bpQzuzqWcVb9M5rH+BWeueQ5ne93xOdhs6xOegrANDPGd56DM+rXI
+GllpwtZly4lui0N6a6z+l5O4/MHdNd1210X/v76SDpbjew/7k9cHkyvjArpqs3/ce9Bi5tfJsSs7
+y4eMkApfbem5bTx0yczo9ZPR3r115kLXdx12XafqPF8r8Y3NSrySK1E8byzx1lVIEUL7DKoSvDPp
+jY4etrgn5wrujmvu9llJZVwXfXjV40/r5PSJY7xKGv/G7XPOlGH65M3h8KpM1lWjz4pLepPR+wU7
+cwU6ch2v1IMLsP7uH372J3+0e8Gxsum6MRcu4vWtUrk8JSa9/cFJC22c2l+WPO5PLtzSa64uPrMD
+5ZfKnceTw0fj4fj95VMlNlxxNa5oN1wxjW95Smy44oYrbrji9eOKos39r2t2/bLeXL+8cBm/u47X
+L5vl53NNbl9us0TX5/bl//ezn333LzdKFvGhbossnTVTs/YHw16LKvDrq2ddz5Tw63tbWYu5Wq+K
+yatpxBueuOGJl7O71oQTPpP89Ss+sg0nvOIHA9fkFN31O1rwoO3Vi2vEHpYf2prxh/U//Xftq0a1
+WXxrwiqqFprteheLWv601aZW1Pmnyq5Arahnc5Lsqg9tzSTc9Sh7tXxqzhIH6Bob65IvU7x+wq3N
+VlqbhOYHLXLD1o31tUwAbMf6Lie+tHy8bPtRbzTqD+/3h/29Vg622Scva7QXnDYsA54rj3b2yUsW
+a7cHR4fD3l7/oD86fqt3uM6y7RqXdMxlGzszH0Xj49LDX7eqjm3Y67pI+OXdkWsnDJcf2prZAdek
+MmWbCVqT7dTiouo1rkjzYHlX0NoxjeWH9pSYxlXbpQ8n/f43lndHPxxcdO5wKs9weHmTPemj3rn0
+2Hr7+4PjwYctVLb8xGWNcXk+Uw6U+vA2jmXp0TYfu6whj8ajFnO6t3dycHJxBkdjnA==
+ ]]>
+ <![CDATA[
+ xTOXNcjhYNTvXWD1FcPc6w333hq3OAtaPHH1henDyfigBdPB1pdmR11g8JTxov77bRSf1PyyBmaW
+H9h+i+JusfFlDao3/Kj3yfIDC+rLcW/STt+JD1zarC3vrBi3cFWML9lI6o0GB214+peeVkeuT0nD
+Lb/JXLryBuje9c1cajG0NfPnbDKXlhEpl+r9brP41oRVVJt77uYMdJO7dOVzl/aub+5Si6GtmYy7
+HrlLy6vA65W7dA3FW5uttDa5S3vXN3epxdA2uUub3KVN7tImd2n13CXx3OUutWGv6yLhr2/uUouh
+rZkdcE1yl9pM0Jpsp+cjd2nv+uYutRjamjGNpxBCW8dUrDYT3J7pXOYEr1Sr/KpNT5vcwc30PPPp
+eapFbNZudp5qZ65AR65j8dabb+7+y6/+5eef/d2m0P9zUOj/OagrtqlpvWGLT5Itbir9X/9K/xu2
+uGGLG7a4xCp6HkvGB1Hwsz/8zz/9L//7RhDQXG4yM9fOE191N4mZMwPdJGZuEjPXYmjPybnwSf9g
+fNFR6DU9Fz4Y7fcfDkYX3gLcWM+H/d7x7TbnGotHLmugz8MB+BYCcnMCfulxbk7AXzVFcJ3OwG+O
+iq/jUfGq65a3IDeHxVfoyHU5JnORob3m/tlWR0vWw+Ww2q1nKxybuUyX8/b44HB8dKFaf4U9zi/d
+fFNUu6+N9tnzjDADoN23x6O7ActxQLS1leC3oCZM+cuLL7x9GPHo+OP9Tw4ejIehS78wDq97serc
+fPGFqvPeRy++cPLiCz9/Al/uhH+6Tui6U3VFXVlhw4fK1k5pyJvvCls5Hz52rauM9+GD91Y603mv
+B4+LlF7/3ifw7d+ET78SYB91RNV5q/PLX686++Gt79178QWlu06JzpbpKlEH3Adh1cquUEp1toTu
+1sqYzk4BU+FFWnmACXUOTIqur6wE2FboeFXVzoWWAaoUYtyKb9b4ailkjUBZd2UYUAfb1T7CTNdI
+D/3pVlJq2wAiRo1dBEh4ZBaCD1ZGIAxeUKKfJkAAPQzNqviotIgsUKWGQYTpSJCdDHFFX323rutK
+zoXlJ7cQfej9HNCW7spKY18z3UTd9a5GElHPinZTnY0j+Pl3X3wh/P9Lu2GPHzdZ2ku7VefGrfF4
+2Hk5rEl1NzCF/mT02qj3YNh/42Swn5jDS7vEv8pWHx+OJ8fv0KZ7aVe4rrJGd4zsVrUVHe26zlS2
+I0y3FrbGVXjjXr83jAno8EgDYX1/ONjr3w+Kf9gpb0wG+/+2/0lCbWZffy9sn6PjCSY0F52Abbob
+ZqTz8iud936x3LNpp83bfPfu35/ee6Jz8/BZ7r4wicZYq8N6CYvPG1hoDPNdq11Y7mFpOmXCrgmL
+ADfKFrQWYe4JsIerzOrQTW4DH6qwsBkLAehV8BDBwhu0tmHxJSzQBS9EfhMB4CHqDjeiDjOW6VHt
+4YqcvxRB9L775u3Ol4PxN5jsDfu7aveVzqs469VueCD82JzlCidJdSsvwrqrwxxoJZFyVVd54ZVl
+YOQ+WlpnfOhNYAIVsgNdmcAFdNfXMvywFZiWtjqwjvDXa42jhB+rMBhoXKlEdKVgIWhR67AQAvWs
+gZ/Ca502Qna2kaQRGJBWztrErUJ/RFgn4UPtpQ68IPx1LnCTrvWwW6ZHsz07wLitw4yJgKIctg0b
+UDtTNrRdaesKFqi3OH+BCt7UKrTaCr85qxx2XwN7DxDlRKBD6n4EwtKQgUjA1LtVmFZcU04aU3fg
+rw7jBcaqFHSm2ant2X7G3j8ThqQCv1UdLbq1qwX+9WHcCA6DvLr86OzTX//J337n7NPvf/4f/uzs
+8a+HD//yT//981//42km9Uz1A9g+2koflmoQmkZHFiUsvFSH5l1hQIbLsOXDVu/gbhNAb5DQkRuE
+JSB86N92FNsRKGDlVy7ujiCCDYg0CRIvDAk+4ELbkrALAifZQjEjFUJUWNO4R0M3jEvAhNaEZRvU
+DoSE7iJEaG0yBB+scB8WzYJaoG0Fb5RdieqArzz0QPiuEFph75kWW0KELaBwc2uQcyY3DCDfVYAz
+ogrvqupK5XcFtUqa8uWhR6hqwXu5kQkz52UeWhirtrVsECCoBcoC1YlM4a+3oDAQJWFejJKZ3mEY
+DKOJ2YkwXeNkGSuMxAeVQbFhKh0WEABQ76hDf4B2EVNdeXhdV1Um8rqgYNU1yJsCBgqiVygYAiMO
+bC/oaMrVGphqUBosKm3UJ4VsBxigyH2vk2KjcEFH2iEMyCMRUMcZCQtFGJjI0DSomigcYbmK2iJM
+B20FqCuMdRHQmBMChKdC34IAMBmmAkmEg3c5mGDTKRZEmGsbNF9cJjp0SXtqBoOsowghRHlRFq+D
+1YyULpqFLgjhcr9hkVVaNQYH20cJaTIJQM02VppMpS0l875DCPSTgUR0VMtF1wZCiCAsbRVRoPQM
+FBI1UIjHTN2EhQCi1biODPqDBPUhSNM6qrdhfjs2bBEdhErY/ZXSKB8YFAZSqSRmTNgnqgSFbSrq
+WkqABXmiOsAXJGAOC0iVnSHutE1yBrnbfngR8+DdubwsgFflZuHRefwMwCtytNiZlXgaPLoSVyvp
+UvK1l3bncLaXdtvztiCSV+Ju4bmV+FtQE+ZwuAhtz+PwuRkuF6Bz+NxLu6txuvDcHF6H2FbgdoFu
+K/G7l3ZX5XhhCa3G8+J6X4XrxU22Et8Lj87jfABehfeFpdCa+720O4f/hXmb5YBBNV6FB760OwJr
+9uWbo/GoU0sbWSBrjgFHbSuJFkJYxJXWHdIJQT9EzIGOYRlZXyObJFCY6GD8RA4hwMfjxFwYPYpM
+3NZhGam5MOAEdeQt9OgcEJLSRf0idWQOqHgQJxhmbhZU9GJ6nDvnCI85NMnAkgJhGufQJUOLl8Hk
+ztKmgBbdzwjmAgty5G7NBTYen0OnDGz0aQ6tykUWyfRM7LtgwEpZd3TYbTawZW3C7scRBMPaXWX7
+7vHfnJ3+9dnjfzg7PT07/ebZ4++fnX52dvqteQ5g0bn9LK08CXIs+lDSR3LG1qjFSOCk6IaMAPxi
+kxKJWoNKbkz8Gr6R8zN8j/IXPzHC9AEQhxdKZIrxQ/LRpl+LhyImsAuar2h2IPWMPhGmYiRpgFFR
+rIDOYTGFRw7iB9e1JmwEmf4K8PjCv9uRNiL5qfPPW8VTWxEVtq0bvZz9Gnv5kJrGERzQ1+Q3qlEc
+Jtz0AV9q8W8k21bsVdmgfDIh3E69yJPV/PosncZBSoYZDfQTV3rD/v3Z6V/gbv2ds9MfnT3+W9qz
+37zkoE3Q0g0q35WI/hgXNFjwB8dIw04GhX9dCq6E5YEBl6BleFWJZE6H3gIoujQhdoL6XhhG5Wsf
+Id449JGiXRIN8wgDvcxH4RpAzqJebhyo1nX6LsP3sBNBLcRHAOCjmZx6SKCdEmQh9GEYJqRDplEF
+IwF3dW3AnAhv1d5G8wNIgQogPLcdDVkw3AiELCjoc17aDNxSIDVwDycLhQEOaBm95AwLvbLQAcYD
+BkPEE19G37ejWR7HonMHEizsOf6OAxBgmrioVFfwIQi52jvcyjgy+F7Xifgw9/E7UD71JUFSX4M0
+1CpA6avC94bBEAA0ZZheejqupcbCihxSguobbeHKV2H94oIL5hpo5KIb1rGJLDGBcL585OP06BwQ
+Y4uMxybnOjU9QJeY88ESLJ7OoK7TPtKUnwy7SlTKyAYwPwtDCeqQ1+jvVxpiVfAWn1AGJd65yAgZ
+VvSbHp0DImyJmwfq6UqpcigMg60XUJdrXWLYr7Fni5fMYMt8esunfQxsPth2+B6Z3hNBYHPpsCjC
+rnQWbFX6rnHHodMpQTy9JmHAHSI6/JL0PUZGXGBa3CLYTNZCeJNREKB4C4GoIwkH9XNqKDFehE6U
+cnjh6VpV/JRwGO4knPSV30qA1C96OvU7Yc/jCu0Cq+SRgy1oHT9NXxk7AdLb6enUt2bf955d8MOB
+BWsgGhvYh4ForDRAMgNRWXmlhe0/nZ1+++z0P4GA/fSH8evu2eO/QoEL0GmZm0zZRVJTT0cyJIa6
+YgADPnvwiSRvgQ2yDf1AUdmFD9toH6IQwO87mAWBYom/w4PGx+/gJsLGhJcBNmFL38OWJoEgzUIQ
+PlV+91EkA1pZefCKVPBW6hJ+K/uMABQysvyi0RGI31GJJLT4JfV0K0qELLbM9Ffq3a0HaAG+O4LE
+mf3O+3BSuR9WiVGv4KRs1TBBgqs+wr+33qecEJTZocNxBCaNNP0Ueh1YpY8/elGBzHzvoPmoho/+
+okchDyQ0v7W38ntvrfLeIOCAtxp8Mdoat27Brggco1iyjVVyUHznZdRYZOUKnLNCefXi5+a6bix5
+U0x2c/3NWaW6uSQXTbpYfs4ror2aQ8CaaV/NmXNQ9QJHu+BRqebOeYv3Ts/5Uu+dP+cpraRby9oJ
+B2q/q8FnUUGOAThqw5IIOMOmrtgHB/ZCVc9ZKDQxB3M3JriywTFeTNscUPHQw/QqNedV9OTBDG74
+6mfxzgEVDy0rA83dwcf94d3+5GF/7zgKiCgOP2BhJJ6cyFRgqaCkxL/ofVZBgsc/V1hgnv7q2eMf
+nD3+cTBHf/bHv/f5H/3R7tnp7549/h4IzGCnPv7xrMCM2U330EytnDPAjGRVW1+joaqihtCVYKIG
+/UwbNFGlMqrz3s1Fwjas61qowKFmZa4LSis46OJqzd926NsWfZ3zjb4cxRVqi1cD64Z40EcvOg8t
+Saznbzv0bYu+zvlGX46u5MIMrF2AX9Pg3xqM7sAQ0p+rvC6/dXb6A/SafOfs9N+fPf7zs9MfnavI
+zfo8l1DqBC6wqvM+5BoBpwHPOrOradBOBoGhih9KGApGhzl3xjgMCeqEILUgAEhMlzI/GbgTE/AQ
+BQO3BEkbwp4htsBGwKKv58IYG72RWCz3iwAxzo4vKtgwjZFARATCO0277XOy914Opp0JrKS2RUmH
+W7duwlm1e+PjXHi2yN67XVDQFxImvL8yQRgSbCsn2Fr8gQFFzxhWTmsGwqNIqYg6fEhzw1Po80zY
+vBoYFTwp4xzqRKWaMABqP72qtuGZmcVHIBoKoaWxWp6DPLJpGp2jeTW0bfhvC/9Y5YOVqiyoHKqG
+pNyoiAmc4g4rN/wB8g5cDSHZ8MWHaY3KDKpgEJmHWP+Cp3wN8eCgFOfHUPlq+65bS7yrVnbqNaxq
+Pall+vMLBUILXI2jJJ0bb4+P7/X3xpP9MHVfirJl4UzN8Pbtm2++kab7nYfjyQHV846dDtx8f/yg
+v3vzzRpyZu8ffzLs7+a3T29BgdFNWE3yotU0q8dHQnNoFOY2a66fzC7/gwwqN+nMRpraaDO7scF5
+iy06Hzi75aeZwgznuJCdlNz4PBgzrBmWNr2nF+zzaXZQMCICzXKUGa69iFvIltzCLdrBAnewSzuY
+TJ/ILcTCHSyQWxjiFqXF1Ppdt5Z4V60WGmbP6w6XrXb4u4UKCJaqgLS18EE5h4aDEw==
+ ]]>
+ <![CDATA[
+ uhJgKmgT1qhNBkT8b15kK518SBtNpI12ACnvacuLvPkqSELClsN5T+2cq5ykhVAty/WvoBWgg1nq
+IECU/qBVqq++cfrbZ6f/8ez0+7s/+/a3zj79vbPHv3F2+gfo1P3RBabAF7UGLCvneDgC/mJ4ij44
+dIpB7hf+P3xFlxjw/CgCOjH4jnw8/kbPYJuoV3cSo04aN9qUqTl8zZ8RKT64g3/pl+LFRZeLtATf
+waQEOLgSpIh2+FcD6w8/xNMa8DeOiX7Zys23fHx3+BtfDh/gRxkT9OIj8dctHwe15eNA+LfiEZ8I
+5CN9ltJFz/UCipiQkQGBtUT324zTT8xvKWc8fOfgnHbozcdZedmUET//7qzTFgl1EFdVcwa2cAoy
+mYloW4lqxV+ep2L2pia2+Se3yw+nOU5YaaaLHhQdo2leSi84f+Yw1N+kHajkQXRPzRzmqsy2FGGe
+pmduMc5bS+GEVITGzJVyi1ywT0Z6ya6XXqjAh6VWMXcIzmNqafGMV/wR3aThc42ZgOHHmKVDH8NP
+SiQH+xS6i4Sa80bVflmhtkVo6TUH+Y3zOjZvAEWzGXTn91Z2lbGi1k9UBH9hmYrnwdI/8O0LSFKx
+siRdu6E+daXhd88e/0lQGs5O5x16OykyrfIx3eWzplA7CGRQlXFADlWnnRs+40Im2E4Bgw+YwL+T
+n50HK559mJQXyKWoao9+KwnZDgcFDMw1LSIK0fXAk+aA6MlzxK1OTFvPZ9oSclnikRZhMIvKBtYH
+EEjZsnD6wdUSYh6VA7YMJqyMXFxDV/HUPpzQ13L+sxYikEqGZzUcDbE18mA4zgFZLVumq6UzC94L
+x9prA+I5kK9SoXvA6V3XBYaBJrgRqvILnoWjEA7eW6EJjI8u1+Uq2J42xXarWkap8Xop799dZpfe
+eKt39MHUhn1z9GF/ctzff4XMvwTfHg4OD8N+mobfHhzBtqb2730F/j2Bf7CUxOuDYf/L/A13y73e
+USxBsRv6F9TeN6IZ2v9wgOWrP+m89zZAfplXQRiwjmTqfB2SaBXEeN57dE4jAMWG8f99sa50B1MZ
+sU8vYYdu9457Xw67TfoXX3jvzRd+7gv/73/868L//Q/4ffHP//qvz+b3BR3f/L75/eeuwvo8//eL
+9tcX+x/whSDngSsgR/sFZl8BmpnX24u4auE6qTuvn3zjG590gM829YqXdpErZ/Vi973/JSkyqVpb
+gWhnMPqAOSwWlqh3Z1FG9iaBpV6sSEydDnp3Vg+ZOT+ETP3nT2LPQH0BKXAn/nkfobOaCRyPm9VN
+CmipiWQM86ENDA8jmlkFpYAW+kg8ZzSlpGRgoaa8tAuKCoyxtaoSFNrVlZWg6X4BdQXO462usMDB
+yZVVlmU7PldpeWn39biCojM7Bq0WKyxc7SsoDzff7Nw8OR534pYcfKOfDbRZh/OdB0f9yYf9/d1g
+C+zGVkfN7ZPPGtZ81nBKW88nmiora0x/qrTzXhUf8DwiHGGY/tu2bIWoulbBod3wQcraUBo2Ayuw
+dMNfX8UN4ONJgrCk8RcCbCedvYoFXyJwJwKl0Lp8NJi6MUecsBcA7ENCloCyK2BGd6aAymGmAKEP
+H+LRAO4FQRCb4FchLOUJxEHlR3ncjL6AYC+259GMjBmYP5Hi9mD66/zcwRQwooflLUzZBdf1eFa3
+7HzY7bX1vtl72NNwMiE/WneFc04V6EsI9z4Dc+8bwDSvCT1PG/einHLqbjnjPCh+NA88YS8BPOMz
+NItkBT+K1FY0aVkC42B1YNvaqIIgGpiHdk1imq7BAzsNYsJ5fzhkkZ813dpV5UooAExKhhWULGA4
+VEbN1OAelITkvpaU5CHxs3nYCX0JYErOUCxREjYBnNNuULIEpkXfFZ52WdoYoSNeT+0p2ItBujYp
+KbupfBI/KwPPV7YkZQlhWmZgQcwSWEWXW0LPFOFeNDgR9bfBiWhYmRPx0IkTFYDMiaaptkMHfnyD
+QR00YThWyI70piCH4MoSmZKBDyWPYkFJOKajGuSF8+tS+WKDNyBEyQKYKdkAwlAzeqJG7kVBSe5u
+QUgeE8HyqCPu8jtRcYZakYhBktd2ioglDIdpAhZT0syE12jb5JI66BmVdA0aqlS2jWGqa3WtC65R
+AoiAGZbpV8JgiIyZaMCvL4jH3SyIx2MhWB5txFx+J+LNUCkSzweegcGTgnglDEfoC66KNPABrbC+
+QTzXlcqpBu2C9ihdKUZt1xurTcZcAoh2GZZpV8JghIyZSEBvL0jHnSxIxyMhWB5rRFx+J9LN0CjJ
+ahFrTpSkK2E4QCGy8I+bVwTF1DcFChw807pJO3i/KtmlwKzhgnYlgGiXYZl2JQyGyJiJBvz6ctNS
+Nwvi8Vj4QR5twlx8J+LNUGmHj+4hMiwE5F1DZ6yDIuqTJoHqVd0NmoXPKiN9LzVGgpUKY34uKX0Z
+cwLQ60t1EY0y6xraopBk7yXUcHjPJSGF7ydAoSoSqNQU83NEAMacAfj67TlUSsQjNackHsF4iKRD
+MRGSolUSjxSykniktvFzpNgxZgKUxGNYQbwCFodIqJkI9P6SeKmbJfFoKPwcE4AwFwAm3jSVpnTB
+kngE4yGS2sREIOWqpB5pYSX1SFfjB5Myx5jT95J2BCpIl0FxfISWKUDvLilHfSxJRwPhB3n4hLoA
+MOmmaTSl/DU2bYLlrZXEdN58SZMqSUcqV0k6Usz4QVLdGDUBSuIxrKBeAYtjJNRMBXp/Y9emfja2
+bRpM3rZEAt62GZC37RSdmtpeQT3JtIojJL2ISEC6U0E61rEK0rEmRjDW1QgxAwrSZVgmXQnD8TFq
+ogC/vyAddbOgHI2EQDITEvEW34ls0/RpqncF1QhEgyOFiEZPSlNBNdKtCqKR/kUg0s8IK30vKMag
+TLAChOMirDRuenFBLepeQS0aAYF40Alr8Z2oNU2Xpj5XUItANC7PgiKOm/SkglpJmyqIRQoXgUgh
+I6T0vSAWgzKxChAOi7DSsNN7C1pR5wpa+czqEcRDTkiL70Sraao0FbiCVgSiYZHKw/sxqUUFrUh7
+KohFGhY/lTQwxpq+F8RiUCZWAYpO5YSVxk0vLvdh6l5BLRoBP0WDJqz5O1Frmi47F9erebrx2So5
+8Z9onFaAf9d2vg4le1S1IE7LjQAUG8Z/l4nTeqe/cJg2hZLo//81f/+iP/5c8//p0+Z/m//x/+as
+oZ97Mqtv8Y+r/m8TDJ0fDI1x0LlBminw8mGaFLmcDtRE8CqhmvjkTLBmCtwmXAOPzgZs4ohXCtnM
+oyFiHEURRTE5T4Sn0DNGc8LT8+I5U+AWEZ3w5LyYTgCvGtXBR2fjOlPgFpEdHNxMbAehK0V35tHw
+3BmYG/aZArcJ/IRH54V+ELxK8AcfnAn/NKEtAkA4stkQEIJXCgLNo+D5BJ8XHZoCt4kPQeXhOREi
+BK8WI8JHZ6NEU+AWcSIc3WykCMErxYrmUfFcos8LIjWhy4eRoB7unEASlsldLZQEj84JJk2BW4ST
+oFjDbEAJBrxCSGkO9c6l9bxYUxO6fLQJEsZn401YJGWFiBM8NxtzakKXjjrBkGbjTgBdIfI0h2rn
+0nheSKoJXT4oBelCM2EpLL6+QmAKMpdmQ1NN6LLBKRjQbHgKoCsEqObQ7HzNZE7kqgldPnYVnpsT
+vULoCvErfG4mgtWELh3DwiHNRLEQ2j6ONYdqF4jC2QBXAW0T4iq07cLJVCjbrcJchU5dOJua0OVD
+XVnNLnxOhZYt2oS75lDtfBrPiYMV0DaRsEKdbtJ4pWhYoTM3abxSRCzr0U0arxQVm0O15XToJo1X
+CpgV+nOTyCsEzbKW3KTwKoGzQnFuUnil4Nkcmi2nNE9xilXiaoXC3KTwSrG1QituEnml+FqhKU/x
+ilVibHPotpSW3CDyCuG3QkNuUHi1EFyhBjcovFoYLqvGDQKvEIqbpddSanGDuCtE6bJK3KDtCpG6
+rPg26LpCtC7rwg2irhCxm6XTUnpwg6grBPNYB27QdIWAXtZ0GzRtH9TLym+DpCsE9maptJTi2yDp
+CjG/rPQ2aLpC3C+rtg2arhD7y9pug6grxP9m6XQuUReX73o2hyD8BWdHVzwf/Z2z07+CCiqLLqCY
+PmjxLO6ikHjVLVz4iyV88AiNFXAzmKzDdAqsReEquM4ISkzT520sEYvV3wm0k0GwEkCylCCoOyAk
+1EPGy7HwXjy4O1dChWa4Rwy39DYWRY6XhjlndYzOV7WJ14+H5ZRuFcdGsxDCs5PK0DVetTXdma3p
+DmP2z+y4tsqh4/dp2myVlNsqqbr3YrxWR4Y+oB8VbsIxcOdw55fiT2GoeE8ZY4WKWOhttPRxmwaY
+vvOACwrM/Z7bZ2Q7eEdP+aaiE7l323E5UL/LMX0Ykx1s1xn0jtSB6FbFzJBKmzqDdjJIusgBduY8
+SXk53BIHcZBBOK8pZ9TxRJeAcnoWQQjxzuy7Uv4GNCtev9UAMCK4f8OJ/PLp702k8XoPIOlBmpX0
+lSapuOVlaz4gP7CVscVvXaNVTaAt6eLV7XjFnyumEr91jdRBVRnCbTLT3wx3KaOYwp5fvX0J9w3p
+QFQjYue8uto1dFOtrHPr5rYvk1UUwpA+XpkjsPKa9PgJF0T+qKp4WYCIDKmGiwfo+q+YVBg+pWtj
+4arv8DPewlOlu0GhlB/gE8gX44cdfrWgK4gklDUWHUJhOog1cY+Y0JbeXgMbiQ9Ar4oxbOe6WXDH
+PYoigeV8Pd5GZA065OiR8Cn1qKJB06c6Fs2nu5S2EhqsuIuocdwi9Qw/YUXddEVRrLgfkEVC0nu2
+InrucZWYKPYLvhIeeE/Evp2GsvMkam3BvQDWU82kVLAVEonkTK0tM78lHHbdWxbndK2t+TjDcplf
+a6tRT7Sg2UGTlvRpa8HHcjYa88QE3iIKN6Z5Zg3E5bFdLpR5H2hpDfPUxplN65CWD6+ectLLxVAM
+ee9J1OuSoZW1TforPEs8e73C/JZSz96lsBDnzNUJc1tWXszU67py1Rc7NpAzKDVXWlj8Yaq2/vi7
+VHb9qYsPZdPNZ1F+wFcSG3D1Bn+W+fNW2WhLBfU8yRaNl9Gw+IhfU84/fI4bFD9mEYSPo2SyqD/h
+vkofd3L/0je85Qa/NdAk9JCLnV66Qx+pCT0KPS0HXQgcJMiWqhHXAX0k+YCfM+fxeI9e4kmRIFFG
+yPSZqJaYWBxTRTTDh/FZwOuphmR6eexU7gk3AuaD9d0jRyLiVJlqFU9d8TH1h/u5U058lSgrWITx
+UKFPRIRt7tATE2Seb1+BzCTvoauLRNn8tvOF2UK8c8TZ3LYLBVpZPLKk4EGTuCXRi7koZqiYuoL6
+RHyaal4NxUqcmp1y3ooObT8pcdMs0Oi9jrRsChxQrzTaVXNbK7gBZI7YWYj71tK4Z4RP3owHxU7b
+4q1WbOG8sLfyyp7ekOVWTdO33djZ5YbfKhfBk7heaVrg1niN1TyBr9DrMb+1kvPpvw==
+ ]]>
+ <![CDATA[
+ EPetpXHP0P+Ll+aUeMELXriYJj6qWHFxS9TKPMO5sEWVUAj8P7p6SZaIdV4ZC3YoNik+phYPi2km
+050eFs2VMLsorup1SbXTtmPB4RPPGFxRtegn3/mzf/7H36Oakp9hWclvXXChYC4r2TVOS40BMq8r
+53ARaqfRawBXi8GNn7MfaPn4Zd2nLqkMNnERmyr4Ov5LZ13AKqortKKMNLE2TmUCv4+v6mqtsCY4
+bB9p5vlxbSwoHVhXrHHpkmSw/JfqVwaV70XYuVTj2FLf4sGw/PfcStDmoirzW6AAmpI715BNVNUO
+uRSUisLtMNskXcu3dwGWW+djAWdigwnhyA6KocIHncaqy7GvqMic01t78Ziri8dsLx7z1B0IJ3GU
+8SJpyI2K2nbg3kQA/iDOG7mt89D1/KFjeeoKi3jBzQ+1piGDlCx+EZWmcc4+cmvuI5DX05TntiPT
+kGQaUZXGQX/lRcOBeyBWGVFZq1pNjcydP7LFj84bYaoZ1EnHqjs0U/T33KWKI1RfdHy2OT5RLT8+
+e8H4FK1KQatS0GJUxYcnuCpNY1W6xg8iXSc594lb856YN6J0H3RakyKtRcV/n+yaNAt3mVm0y8zC
+XbZgRKnaUlqDokPzQn+f5Bo0F+4xs2iPmQv32LzxVWkJyrTMZFp3Vf77BJefbEyXnvrBzxmVbMzW
+1BOzg5FxLPH+8rjmKvrzZFeeXLST5KKdJBftpPlDiXWp4uqSnTQZ6c+TXHJy4RaSi7aQXLiF5g0F
+WdkB/hVJw6C/sSRA+vtElljUAObMS1KqZkdDT8zMC/4wOxhcYiauJhPXlqI/T3SJTQ1FT/0wZ7dM
+DUVfNJRYtauTdN00GenPE1xiT3tOymLmhc8XLh92qvZYYtNKSAGBPnZFLQUk96EBIdJlTVk/bO60
+rC3SVUzxfkeRBF2acxZwgv+SEQ4eMjbEu9GgTJe8BluJynk6Nl2aJgvZMotmwl1gg0yJArycudCX
+fVxJMzoP6tazbYXQsw6Tc/DOKEQL8IL/uX2k5Asb+vGe6PiPutI3R/zkT//gp//1uwvvjGgY9s8g
+JwpyPCCHE2oua0H1KH1XqhrT42qjLCYoySrmfUo8WuW6TouY/SaC5QbLyHeF1hWcrqpq6Rzegea6
+1kNKogzdVHCkx3ZrC+xApkgF5FxANWLVFU6oOiYQdcPilBZuVYRUc0QUEISewBWCWgqPN9c4VcGl
+Qumt8FQN2Xu+a6yqYypS6C5UI4aLsqUXsUtQj9rIGmCuErECdaCqBYC1eMYM0tYlAgJhEqYpKg3J
+5zXvTHndOF8+v7x2KswRq2qvPNGQxT07fwBdYQbxDMfMHMaDEq1nMTw2Zx4x932FmYzHa6bnMlUX
+bz2bc6iG2LDS+LtxYuKsvbRbzNsTma0wKC9hFozT+cANpO4FOdNVsjb5iK4y8VaseAJjhwZsFSSh
+YKaZJmgT7WLgw+hi5TG9W2aCOi6HHVM0nxUPMl3hHeTfwBwJjypmWFIGCqYzzHVrhXehCrhxFK+J
+lnVYH1EWSY15Wpj8qGPOo4Gs5rqrVIX5jFUNTk+4ldMGyyjICS21T89Iq2VHdy0dtINVF94nbA1H
+MsMqLb5vx8pXYXExSHa1qmuYKYsLV3QrB/MYei6loBp1kD6sw1tgP2IuRW1iUl5Yl0GNgV1kY+am
+7zoDfgaMKgNNMboTFraBBY1n7Co8MJhIM0O/bbwjBpWn/JuKZ6CgSlPYQXBxOIFCFwLGGl4iAr3g
+KGbYFtZiyqfVlkrahWnGw/RKgS4WIEJ4i4+nA9qBbWj4JawI7WHTwYOiW3vY30FfNgJeW8XngiUU
+WRK8XXk8PFCpOkbHw9oyBg7XKl0p+CuQ8wSdRQipeFLo+zbcj155uGyZQLDsrYXJgeL3Ana61wqP
+/cQkFpj6MOcauKGCFMZ4aaUOGiZeqWtUvMsgsDAVQ2oyVazCe8I6eEbPxHT0+BC8ssIzp2ESBOpT
+MUl8G+/E9ZKuQYAluINlwgKHjDAbOSWwKJFnZmb2tufM6M7F+YlwE1uYNQEV75e720yjQjsr255+
+/qMJfD6wLe3g8JjraDiRZmKirjTi6mh2WBhn9+3x6G4g53F42dZWgqPCV/7y4gtvH+JvPv52d3gS
+/r3z4Ff6e8dBJcS8/c6tycnRo85bvVHv/f6kc2ey35+8ctGPnfjrdm84HARD4vDRYC81fSdMx41g
++hwedztfU1p/TboK/1PafS3wxq/Jyt6YeTzYggHrFJLAr9thmXreRKyEJDzkxNfCppqHJKytO6Mw
+N48aGEJL+zWpwutNenUl8Un8LKFbYReFZiYgFuE/NY08dgFfsR8xT+EPjQXghwdVeCggMTYgDMMV
+8J+mHqaF0+xlRE+48KX44lc63TTvYa00Z/0prKCZkcES+elvfv/s0x/+yzd/E76AiQ8mUvxPYQTb
+dDCXvnPzzd1bk7AZhn1EsDN4ELb37vb90NLuvj7sHe/GUd4dhy4924EtWFoworQ4//kf/uGnP/hV
+BMB6xf+P/2Uzujq/0yt2QM28Hxwv5durp/h2g2///Mc/4reDEwjeV+P/L/XuJz1d8zYxdO4nf/CX
+P338g5/+zj+Gvfqzb/1+6nIQCh1yhrgbHfo/mLUbnZTqkJVJwZ8qyDJ5lsOau/PT0D7/VR7L2/2P
+qGlHNL+qma/wf5g1AgHxuL9gU5rwDZNIhA8qkYyEqBYS4inMbx1/o+vbj1584ca/HY0/GuE3EPov
+3xx+cnTU233jflAp3g6zB5Lzxs2gF3zY50Y3tscHh+OT0f7rg2EYMj63/ag3GHVikwiOfq8bqc2X
+QHO98dXB0SCoD4h0DpL7x729D1ohudU7Guw1MEzGH/TboJD40/DOJD0KWEtFKJBhfHyvvzcO0nkf
+f40NEzU6LSwi0rxu3O4/7LzaefGFzssFLlRSXu3gyztBVencuNubHM8d5fZ4tH8yOF5ugOejgrG3
+ovi5tGGN8d2j/msf9kd39mOlPyRxptgdXmivzK76zi+LLhybwx/wk4GUrWil6DqYZ5WTX+8ctjJG
+oekU6blLLQh/WdRC49VI8I5XtffRQ1vXYBGByW5NhW50L4z1Fh3rGi64bmmxr0ak8yl2a9gf7T85
+kt1AfCvsvWJMGcW5gwrPvPZxf+8EOhN/RBRzWOYIzKx14JZPpCfTMxzFaOKedx4+POofv4LzshDF
+y28Ohydon40n3f7HcOY5SjeoYkxkfDmYAMEscBrNAgVqfKXehH+O4Z//Df55AP+8nxuE/xSYMsFY
+CFZxQPvO4HhFLv/ynZPjo2DkFpb17cHR4bD3Sfz6ylMXBcwd4g+Rsm+OYqeW5ljru/+ejvx7Klvg
+0sQChE5tJSsdY6iV1jwnz4T3X8vldl1H2EqgdWppN0JtI9Q2Qm0j1J61rfMMgpMbcbcRd1Pizj11
+cTdfyNwDvJ3t8WTUnxw9ISEj5GEUIBYER/irFEdX8K+N0RZlRClQzp870RXKyBim67wMCW4nR+fs
+lY1/77n1730Rim08TktzLL8eCvpmD6/jHkZNrLISUpbCBw0VBooP6HCIZ0Cbf6+AzznK1fK2ovOF
+KrZ87SGcXu72BoeLhCrISyWTHBVJjprl5SckFBlP8vPeRfLz+eVr9YavbfjatdRNrixn8pAOueFM
+CznTL5+d/hpWcvgelnH45tdLFnV/cHA4zCyKXPMdCm1TVQZYVN3A3hzGb72rHcpWX0PpBkjaqus6
+F5672UqOCpKjdwMvPD53LGeP/+bs9Adnp398dvpbZ4//9Oz0e/jvN9eT6141t9n5yV0X7PcFj527
+99W/gX/QzA9/76Qvgp3Kt+CfkxL81S/mRG5kp3VuvDsa7I33+y0cyk9oHwRlVGpR43aY2Q3LeKIT
+u4MlMOofHRE4ZhOP3h/2b/cPAxs5uhOzqA09cXsQyI9LY/qBe/1hDzbOO+PmO/DHr/Ymg5yTXTd/
+jJR6486DX7kXuvzlzhSVL1pWN8r0sDDil/HHBQNtdoQGQKNqDpp+5Ydnfm7SpIn7SsiPqmuWrobz
+RD36l6EQ4t6yyiksDwdnMzxWB5LCxfQhYZzzZbWe6Q/nbTjjw7MrbbelfYRPigPH0BJkZT56Qk7V
+SoFTVb13YexuecULDnBASbe0icYPj+J9uXSk4ldGx4cI0NTkYDg4aLG1NtJoKWnUVNbO2QDKSm+f
+mcSRG4mzhhIHfGGxTNtTlzjXK/Db3msIVRfkvEqVVXVRGTSoYnCVo79yqmjrZhE9+0WUCs6u9Roy
+l5PNcg3mX/knPv3PvR/t7PE/nJ3+Cfqbvr05ZLRx9D9dZtBYbnOPGsERI413aWoQtspa3XVwpZCo
+dW0h3ez5O2pUGVcbyLETxgq8b95heCBW5/LWwt1izyjBfMMwT7+Fzvp4vcbfw2oOkMd/vuGcG855
+jUOktyfjw879R7398UdPzHv3KHmdDHvqPkT/UwTH/7DNa8s78Nh192F/El13XOn+sDeI/hpu82g8
++UaMJLATY783+WAhI146RPKFOfHR3nBCvUfny97RZC+6W6CUBLknD3t7zUjIg+FJ87kHw9F+kwwn
+R/2793ducUNL3iuc5xjb7rz28WEvcPJb/YfjSb/z1f7k6Ar5c66GIPj8P3zr8//+vc7nf/rtzz/9
+rx3w1W1EwEYEXGMRcOcEvr8xfGISAA5SWYMCQAnZ+Rrmyd/5mpTia1Lrr72yPNe/Isx6Sd4sN7z5
+KfPmn/3h/3H26Q/PTv8jXu7yow1jbhWtVt5pCTtHVhZq+kFeh4UiihC6twGkDVa0krUWRW2LmSid
+CLMvMEpnzZxbA1cOUl8ZQhlja7g1GMoP1k7HbGyBjAVqFQJVKix9iOF8r2oZdvRiOonrSidbC+mQ
+TsCCMWvdmsCVkVAq0MkBVzZ0lNDV8OkcQsGVWNeRTg5zRLTWeLtU5aBIZYXlqbxUmD4CZywxEGXh
+lOU5JIKCvdeSRt5o62LxLl0pZE7WQT3XKm67VHmHrrxaSCD9JKnzVCJ2l7ddbe2xahFURzPxwK+G
+Ksi4XePKg+vQrEbhgLXT5DmkfqoL8annqqmnp89c3xVUucDzsfal9QbPKxknbNyhUQyGRsD3gasB
+c5P1OQvIrvUCkmazgtqrVqIyBu/1DLpovC9UB8aPeaNQBj+qDDaoosiCTDzqtnAFufVeQc9kAW1c
+JptI2HlGNpYrfW20XxQrvbjq6d3esH983I9EvvugjWMGzvj8NQSMH//47PSb8Pn0M4y4/UUw6b/+
+ClLhvW/Es0DntHvxhbt7847/vHx2+vtnp3+TjtqkVq28RgHDt+Gwzunp2eO/ye85twLYy/feuNXB
+Pp6enX6LXysqgYUiURo6B0pXioznh0JHH/8lxh4/4+esUFBsJSfCNB7427PTeLftj/iBwCjhQga0
+KpyL1zpVmSbxub8/e/zd8qEaBDSaHYEF26IycDmkb+NBrNy1oDxqEW0V7ZJ+LqYf+g==
+ ]]>
+ <![CDATA[
+ v84eQ/fOHv9Tfq5yusI7qKwyNjoYFNw1AncgKWmj78HCTQgQEU9OCBG10Yj6K6JWnTe+EkzzW1/R
+hjEHLVbFg9FGOZxS78LsRr22BkTwo6jgIgX4EKVMQimDDf/GV8KKuPUVZTNKLaXFK3a99DUqM2HV
+VNFsq8kYUdzLJsoAe+MrdTWFUgmLK9AovKcCKupUcL9FXFrT2rfAkWeU0EsR/g04qxJnhd3UlXRo
+XLpaxayBgNNrJbCED610CR4LxTgNdBP6fesrps44va1Qx6uCRofXyvowb8InnMlirRX8D/oZ6cs4
+JVBTITkV45RBxqt4qt0bqXHsWuroUfFUVNVBh2dRCpyg8FQDpZHGmag+6KhteusSNU06KO+ImIF8
+lal5FekKBg7Xcn3FZoxBkXUW71rWlVBxgQYlJbrHZNRlKyiPG5eRjFRNOA3OD1x1/hWnGaWXSEBp
+ao8rvg6dlSnZNEy1NFh/ScYSSwkT9k3DpNg8KWE5O9SMtLcaFe8arnXwSC1vXCwUoMHRAmSWsT5t
+iRHuL/yKyZvGhS1X4TSrOm4aV4X+JMcEzS6PNi75hFBpHqwQBUorfOXwcV/h4zrsTJW0nOxhtLO9
+s7ClA9cqJmO10lQBoY7LGnoXNnEmYes7talzQkHnvM98U0sTBYGsKmQuAbP2MnYv1hzP1+vRRFP3
+bMCpcbw69y6IILhlCd1lMlaCCDTCeRHkHKpog6iImTYI7g/gNpCNzQTUYRXjTgUGlnyYcKMLjjZz
+Vnhh9DmlzVHBDg7zBP0zhXzREj184P5E2oVpsGkdE8sidpg8frzdHDFtofN2C3u08jUOWRtjcN0G
+YsLShyUShK1PjgkUM4QszNgbX4HB1gV7EbJCf21go07ABx2kvI7LxUemV5Iv9pP5iyT61QVndWF7
+yEQ+XG2BAZhEvixTIpOG94HB0hApCmdEitxLGxDh+0UYr8N5tN5HluVo1YRGcSx5yHWNC9rjFikI
+CAwAT5gFBo29MNJ5E5mqjQsdN5GG9ZOnw4AMFUrj7nWFymFx+4cP0uvo4TYeRtytahNZBAs+EgOq
+IfjgJrQg+GCmfYG41jQ0UeFTrqoSTcMawIlXzArTHEnDRU4CYg9dxh1t85KUXsK1UaFXshYo6ExB
+T1qU7I3Qspwj4P6BCsbitsmMFkSmRVzGVzUyfKlU3D9hXnD0VAVcR7YDvRewNAi1hR0uUGB5mXeQ
+qLBzcCUU4gsMKS3MIFXxqCDJLUWSO0mdhtxCsVVwyrCUnE282iExay9Q0ZCwvooFAPROi0tMzRss
+WFQECoXFeLhZDhBbA/dNidgz1JWDFkiiNe3UsGMK8tZAgkjcTNtAN427O7A6DbdDIauwcWlJ6qOg
+zVWlY5IRIxJVISemLZXyyUt9/+zff9pQ3gvrgPTUZlr5uU83XvPT7/23JdBBq6nefQ8jlUt05HtZ
+N4eHSRu/9QgRff6nv7UEFmi1EMXPfu23zz794U9+89f+5bO/WgJXo3lEenGib4ENE3qbTyQs591J
+MP18ahufFIGgYP6ALQjZCnffb23cRaEOzDlze691jZsd7gpE3ueC/YDMJaz9qHAJwCjmfCCuDwtU
+wpIvlA5XCytVVCsc7sWg2ES5HHZLhZeUSP6PdElQYAxwOyMKfc1FhTdoPRZ5pQ3sCCORQcuxKAgU
+9Wz6Q0LscJuDDeEK9hyYBop0uGUSicABu6B4xGsONP/X0BLgX2CfBZMLCjPyIJBJaJBoE2RjFJuG
+ejX9gZBK5Mloi4V/M0+2QfWITMcJESW4Qi9iEnS2IS6jfDNqSlyqwNdRvklga6SWq6jwOurR9AdC
+6qIMRiXGZZYmlfZoywWj28RcbgdsN2oe/B8tkUqjqgGSIfybvQQgepGHBkGAHJI+ADenHk1/YG2j
+QpMLVrQsbcPVSoqhsYkakYbJDf/mrfeL/Qeds8ffR071Ge7D76Mb4jt5KwYTyuHLpLJZ9U/2V2ED
+1A0V0So2AmSpdAZlyMW1451RVbJySEdwpIXIiJWXUVToUF3gdR7Fq8QN463ykm7BXmRxGzPH4u6g
+5Rt1FrjUVSUvUHgY7AaUrKWlFLFIGJgqu2Jh8+JEu6DxJkdP2DRhPKpD/u9mTyQuaJf3mqqC+ULH
+ByJDCpwqpSk4cqXjeBt2v/B1XoWC8N29ld1+7Nxrd8vRzuDo+MV5JXzOS6+fn3E5J9fnxXMK6sw5
+8PRiecXSrJMz9nXF251EVd5KDah+Dof4B2eP/yl0dRd7HPbFf4p+s5cR/O34HcaEX2dbnf7q2eMf
+RG/nz/749z7/oz/aJTJ+Brvu8Y9jqz8kKn43fVj83pLop/8+kHt+q98GKp9+f/dn3/7W2ae/d/b4
+NxjldNuffOfP/vkffw+79Sf4Q5jgb83BGH8PP/4xfL93H+eD7u5OE4m+XejbN5GnfBb9pi+Tizf8
+8DvYg7+ln3Gef2F80Mdmn/76T/72O2effv/z//BnZ49/PXz4l3/675//+h/H938HPaQ/is9MXT+Z
+5uucuU/r+vZ47+SgPzq+3TvG64dvEAAiAfB19hrPmBF4a9jv7+/0Hx5/tTc8oUsx6bj99mR8eHPS
+78WEtfTjjZuTSe+TBXgd3AXrwSmH+PEGwXhx572TYX9yZzIInZ16S6rH8Balvb+0+zIumM/Qlf4H
+kdxwBdx0IQdIqEtPCBrP3Zv3Eigw4c6WrKqiJ/f6w3fG92InYq/ujo8GMAD8WXLHWjwkcg9iROjN
+o7BxH4x7k/3b/Ye9k+Fx0c1X6c/L1AaJSZR9762dt8P4FtA2PPXxwXAUGmz1jgMJHpwc832rjUl5
+Jmie0FuKdnuPBsP9SZ+WB6Wo0s/wz3G+uPXl/3l0tPthb3L0anFzQdn2w2JB4w9HCxqOyvmhll+6
+TqR6MBjth2GLZSgVSHq/n9bsEuQqmz/JRbz6YEfj0aKuNwY6HO990N9fapDU9Ekuii9OCHE+IZab
+6wFc3bzUzlhmdi998tszhS9/uDxbgLZXY5HDOPdOjo7HB1eA/T3VJfrlox5U0gTFJjCa5Vfqs9g3
+9+EGoKvVn+u1lY8efnQF1vcacPKj4WDv+rDxLSWdtaTSLxz0R4N9KOS3xKynlleCdy85uEf9wfuP
+lmIv3PRKDM+bWl44uI+X26tXZEgS4nEXjumTpcb0hG29lcfE5urC8TwYHwf1AlwDZLUvMbzZh66M
+JoEs8v74ZLLXvwVJyldDlQgS7kr046B/3NsPOtYT6Ez9hTvzP+0n79VSa65o/aW5m0kxtz3s7ZMZ
+xxm8B1hzvwk7OhwfT8N6wwEtWUeba/9w0E0wTVUSxukkbnTzvNm5eXI87tzrHR33J4Nv9Kex3nxT
+iA4NoPPBKFia45PjzvuT8cnh+W0HR+Nh77jfeQA5tVTJtNG67hz2DvuTztHg4GSYy2Fm3gBNjie9
+0dFhL0zf3ifhtYP90Pwb/al1BQ17yWPVCSMc0xBN4I1+YaOODL3jab2w7fuTPi+iCxtP2CC3xiiz
+uKko+3Bh27IPFzbOfRBWecVNyfm63Rt92Du636BnMZV3J/2j/uTDfued/sfHndf2B8e9B4Ph4PiT
+GeoLuXs/LMlteO9b433eKL/8z//wg3/5iz/5/PS3Pv9vf/71WQ8pvoZdwcE8ODnsvB6WwnF/FNYF
+vv+4Uzhv2F0aB/xW/+gRL11cQJ17/bDsToq1pJuP3Dk5Pgzr94KHqjyymf7t9Ebvn/Te73fujg/L
+PVD4q++BvlM6rPmA+xvD8YPe8F7/8GR41Hhd8fQ748MpZ3fx4y0UYOXvmpHf7U+ODvvoC38jbJRd
+7Mbrvb1+rp0bulKd2/zOYW8vz3C5wuY2v9ffnyLZ3Ga3cndBu3TntX2jWOFycW9/YRymbzz6hVK3
+VAtbb/eHw3KdL6QZNNwO4vd4mvrTDV8fjscTumX3AsqivtEgLCQIiAVUgNYFwaSVQp/TtKTX4i7E
+7jb6cN5MYPM8uRc2vVWuR+8W9RfbNjrszyXaax8fZ7l5TltcOI3GHi5Z8JClMB3omX72/nGPgyU0
+hMVv+uqg/1FgXbcHR8e90d7FexBGMb0F5QLqvJOVENh458z5xdsuMFoaDWQFXUiEvR53TxciJTFj
+YNb/60kPeH9np/9hfzhH9Fedh8y5g4owHIz6neMgOOaIlnlNj/BcGWkwLwvdrbpVoV99cPPN10+G
+Q2LGqaZH+HWRVjWlt9/vD3+hdxweD2PrT968fdSIbC1ouzMOdAH502hdtngH/Frw6jkUscUwe6Pj
+QScQsEcjxMQLr4S9cG5wcd8d9kZ9YE6NVb6IqIckuccf9ieHEJFl1dAFiYab46LXxqDraHD0KNC/
+3B3Lby1AgR2PUmsGiavbIAlyscSwUODkQO6bo/3+x68PJkdtn7nf3xuPaIu52iw5U9zVmYmCAxXL
+kT3pDl+I7nnFfBHCZyxTlHdZ6WysugkqVVsfBhxB/Qx6TsEhF63UveHgMOir4EL/OOir74cdfHTB
+ZKEQwX7h2UDUSIGJT2cHLJyddo9lMix6bss0ovgLqJkuPcDez53fVwFHPs84xdJmzjtm/Xsn0J3i
+9W/eZt37a1LChRYWL63AW5WhapTS4a/6+OsFawX9vRMswfM07yZfA7MRGNpNYGjZtisnGTFuw+xu
+p9m915jdmbZ3kiC43xAE1aJm72TRUq5HbBO1+xtfjQvx1vRCbLS9M80h2xFOdF67e78F5aD1RaSL
+OJekXWx8MfGa7RZQLzZaknwJ4zT9RGngj8ZZBHUGI9zpkJ3C0fgLlnim9Y3smLvxK+MH3cNggk2C
+KTbdsZl28OrecHhBs6MPBocPwkA/mOIG0+0mQfuZHPWhi5MLmgYrfJjZxMuz1u/0A2S/txkWPVPE
+jJLtDhT/N+MHb44ejjuFgnIRxeWcF+4ddAO2/qDUO+Y1IrVj7+CT8+hYtBwfP7qQjg8Gxwc9eKBp
+o/suHBxLanf5zOH7Bx90H4CxPH74sBs9vtPW3Ez7g97kg6OZ9vPG2UR/ctQPWiCa5pmBTGVtdn6x
+/+Ds9B/PTv9P+AES/MLn70KOH6RYfn+OX6RBrbCM+jhlzXyymY4dHQ+7+zGlC1cHE/aCpQfPpQcK
+x+UyDx3uH4Sfh6Pl+3W4vzz6mD+QH5m3Pg4PJ6ndeTMWGqUOkClZm66ScxdDaFtG47wW3Xphy0Zk
+S7juggUZWg4OAr/qDoMKQq0XIo1Nj8fkWzLOd4U9v/Wk6IeXddf689s3VnmR5AmZqp9hrmvMB45p
+tn/x+Q//y0//v++dP2WAfNQQe7Md2Jsm7+JWDdKeg2xcumDOQTfd7v/v7k17m2m2xLDvL6D/IGrj
+TvbeJEVR3KmF2qmFWihRErWLlEhq7twvxrx3gsBInAUTB3GQOPYEiTOJPQ4CBIg/JDaQv/LOHXv+
+Rc6p6qW62d1sLvMl9148l6quPqfq1NmrTteoVsJuJNs8Rh89dgavz12nfLWjkr7XNg==
+ ]]>
+ <![CDATA[
+ czxhkp69p9cPuzfqrPcHVCf6Ny3WhRmd+0c/8Wnmbd26QFCE34zG3QevCWFXw+qDUX3QjYEqOHbv
+PyZ6fby+pO2QgrX3fAK3yPgoNcmsOnb70s7AejIGQfyc8GZGrZN+tIrnXLsNMIliQBvb8U/GzHTw
+8PXxYM+1j3Z66I6Et/ZOQwha2A0Yl1nCkn20v3yQQ+voNQFiJTtdzI48ekyBdBsYH1wZy8ukP1X4
+jLD4eQmkYIhfytXHjN+ccnMGwFigl2xTVB6ewLhOD/3e17g+6NC+grM2rh8GyeTLwd6yQvHihsx9
+u28knfz5TIyZ8vmGaa18vtAfp92tXhkzIh+9h72RfRn3zuxInFj0qTtMPH6M0Y6001f/qdf1VI3Y
+b/Bzb0is6LRyA5iumWN1FJsBeMXownsxwCDR7Ty3mcoIl14Yk4F3PRjDT9gRbFR3DLQPHuG1zS0Z
+5yUYJAYvbYihOl7Uwl6dISaLjJsnmVIKW09bN9XJMvzpV8KaliK7g07d+iPxhuDW9Xmkq0tHzXxa
+k+IeHWlKfEzXj1cvzQI9MPPctiYbXHr2vh68tA/pMfBaftLj8ceIg8bs/tpeHeOjQFw8sFkU125P
+P90HL3ahnbSkjcEyY8wIeand7RpHL5yTE6Tb2JgEYmBGpYR22l/t7mKJnh3gOB5+tofk9L9XZIhx
+NOs0WoP/gt6TDf/Z1JFsbm0fvv5p5+Ow08evp7P8rm+c01xZTb9mDj+uTjffPbfb6Vt1TDgV+vQt
+cpRg5C0rLppYmhgZfc0Htol391XVmmLc6d0vHnwhxMEis6s8LrXixK6v3fePwRAk3txyDv2Hf/EX
+/+9fei+99trgof/U/7at/nb3fREL8ybJ+oSumAsJFv/4D//p3/73/+w//NVfQ9w3TXbCaaJIuMNy
+9bbRb399GRLM3oOwSHImf0mTIr/94S8W6Sf94aVFUuD617/9+f/825//Ja1F/O3Xv/rt1//mt1//
+xd/8u3/6x7/+J7/9+t/+9of/9I///P/8438Jj/41OwEIX/Hpn/2B9vzjv/1Hv/36LxcteH/9X/79
+//VXf/ff/ccWKH/263a3TEI96PC//fbr/0pKaP8V+cbc/0jqP/8hKQMkofMf/g/2i3oA8G/+n3/3
+7//xX9kA/vbrv/3t13/226//u2Wmv/5r6Pl3f/aPf/v1H/3Nv/nP/vaf/OeATp/Jv8TO+OJ/Bd20
++fzhL/7u13/zt//J/0Dn/9uv/8Vvv/7z3379r3/79T+CSXqvlr4IMK+H/usXIxNOOkrvfTIEWWr3
+vbQuMh52rbYHw/POPe6Se3lgenejutN7FEzfVzZDOwZww3ADveCWNPen0PczCiPd7XsUx1ZP1xVy
+o//6iTWmXg6R3ve482zrOmYQRVsW1IMaYIKKZsTg1fcQ9OS2GbG4kE0iDKflSH1QWD91xkgoHj0D
+Xi6BkST7b6+dgQ+2pUe9cLu/OzykdhJ11GHv49UIqx29xAm2NUVHp1Cfyl6v23t46fc+O+Xe77q0
+UGjUGrlEona+OLfkGj3xnkCE0RlWwV0/xjDRj9zS2TaYw5a+lopkjXF0DcvRbdc10dZhu/sAi0tO
+3TCLMcb/sq4rfnqXZHi2H2F9X59e/aa7x7CHj0kQGSkRH31kDi7vjT/x4uNFj71yr1UCR+r3JTPG
+087x6J6X4CIBxqsm625j6rhw3zMCSl724inry14+n/Vtf+c6vVU6WSCXKSsTvLn7ahwDkdzH6+9Q
+qTepCeapaW17e9RT9nwb9ZQHasmXinOmmuO+hWFMSU6+Cm+D8f1dr//OuAKTvXg8JoljNy6Fh37v
+vj2st3/fMUzdZBhN52Ky9yyWeKIQ2aar8fQIOWwwXmu5GiNmoXxqzWOaffy9T1UJjiZYbu2AJaMm
+BdlLClFzNEAfn1gKEvzqVSa/Mp1F8RHFnA46xPg12My6T2wMTRgqjqOHs3h505FoBRshx1kKR+YY
+q2wnfquGS9YedhovP5/33fbrhy6FThlR1lUHulmKEFxWyfPsJUTKAI5KT8kIYE2AeobkpP0nnb2f
+j+ErzKtgO2iRLL7q0XThpLS9nZLLHVx58lTaPFi7imbPN4Lr7YvYjrh2EC/m+7XPl8xzN7BTDcRC
+wdJrOzFYUU63KspyJn9ay+1Jm5n6dXAv3/95UKsVYS+1ykvSMscNym/l5xi3kl9vJSL5bOxrkB/s
+CklAk1+vB/p6r51h8XnrqJ7PSp2T0utG7qGcSASfR3DVH5uAUC1XVzPqZW1YfrspSpfxWOGzVx/A
+jIcv0Zyy/FMtSyvnxbeP4DmgKT9xO/eO0FbU9JN6dnR1XWiUEmfuWNl+mZt89r16k88MEp/Rcmz1
+pxqqPT4BGkKv6h1IY/np5lwtfuQ/LjJPxZdh6UW95C0UuVsrP/D173x2M3hOAcGgB6XWc6sHv9a+
+y9uP24FiPPW2UjiJL3fpIC7ajz+AJv0Wij5UHuSjUOlFul3PFlbFtWhxP3YXzZeCp9VS5yeSO9tZ
+fll/eGi/46/XaOWp/kJR81yyrfZfV+4yr62dx+LH6mYw3o9e/xTqJ2vfOIFwfn3nRQQ0yvrZTb7Q
+fQh+Rjf21pPq5/XGq6omB09iof+wzUffM7wB8qG8MzgDyqnBjnouco+Z11KyDYvM722E4rFO8UM9
+/KRzaNZX86Xt7PJ5JZaW8XaB8vaVspxTS71WNHv2eJUR7pdvCNxcdxWmlFMiy7gsV8q5ctRFUuWK
+72ElrjHo2WOd42+W98rJdnatGohe9hGNgg9aBArpAmi4+6VtifwRzVWz2q/seWWX9i/FKncUmtAU
+toGDL7hoLleJCeXN5w0N0PlGdv3xbb9FVtMYMcA7KMo6GuhV3DGGcGMOgQ9tHGOvjkTa5ECxfEvI
+Dcp0U1IulbeHQqP8Fi0/JXe/K+12cKWo3J8epQ9XL04LB6XiYfnp5PU7/32TeQY0RanZuKUEvVQe
+Lyu3fPSsKF0UDqrlt/Pb0uubklx/+lx9rpaeIjzQMHenqsePPRNh6uT7c7dwUI/sVsvhx11KHZ3W
+VASQBYZfiaPo5ln7m04pp6Ta+fXGcKnQ2Bn+jE7ORlyGEvpiXPQDOqgTkKCDEh42rVw+rj4Ld9nN
+Mle9zouED7J32WoZeCQSixZ76ZZ9vazEZRdXXwzKPpsvgx9CJ5wNS6qdeq1wu8MTvslGv9bvqqGn
+3USByzYuhfBKK0tHYqWI8nOc7lRDa1/h0oty/F6J1hNVk19BDpo9omxOKo/IqHmQrs81mNxyuPT8
+Uhmo6w+nxwX1Uji3r8Ph1seZBfhSrRKP3aedliX93tktAZpCY+8xCsomly4X6813p/GSrky/WlN9
+AuGpCJxQk/ZG2Wd4WA0ffqxXy/KlEM3V7vADaObUYF4PT9VKWVaLSvzgjOieBL91FiNYy8m7r0jx
+bfj4WfzonvUKjZeLFYCxGzUAfFVivX2huhZXrwrHTy9BeO1mrahE6y+a6gyXn4JbCoy390JVYuXs
+YkvX6IBh96YhVvPPGxeo7+/K99LLeeF09WFg7bdWOG5cfaTePuJZot1Mu4BozA69HS5bfA99vVaz
+NT7EqPrL40ibJQvYFkZ189z9TyW08X1uWh7bU2To0FB9hgF2TkY6pO6i69uDJ9DfD8tykf/5uCqc
+3O2UtKfpwl0+u1VKQJe7M9AH9bUif/lzWzj5aUjmU9IZdRq0fOb7D5k1umSsoCab2c2DUldVd9vL
+3M7wKs/thj4r8M9jkdvlHwv0105zIw2/LnLQ1s6zbfxzkbyBaNiube3N3dBzSX/zDX6F04f0Je11
+HQMFRKF9VaHf5jH8eivTLlrnLw2NMUDsxQIiaD7LdhjM8I03dt4fy9pw6JhwdAQKDIKgoTMlIHFY
+4eIJbdOgkXkRNPi6nUrGoO1Y61mNOgCPzuZqk3l9Z3iQhV6nm/DPVYGlJsEfauV1QmaPGCJQkl4G
+93UorYJJXERjXS3n9Z10MWwrYaIRAjWdXjBUrf9VTieVhSK0n/knZRrCPoh6dBBus/GzLGQO9JcO
+Untq+RN5g6yNC3t48MZloM7Oy+SXUXqRBwSNE73odAkxdIows8bOjnQlDMLMWqOhSTT7xOElDaEB
+wzocRlrphK9yFqwIj2K9yFG5MZfMurSUfAiS9gdiOImMJpn4GsoBy6oE15u2NthhUnKPZRpC9Qs6
+OYbTjNU3X6Ly+FyaihnJsmgTpkQjMo3Yw8qB/otMCSdC5xq8tvqEkULjbLdbzQc7DYgDngTWfqQL
+XbCez/Xq3V4zUw1EEmjWuM59JqV7APEV8GfK7/nz5dPn0mvrNl95eP9eo7aN8THk4aF7uMP6ItFz
+Eu5gtGaNeMhQy8/x8Cb1CQ+3w9em0bPEY9xy/iwYSpdefo4vy7u730V2SsXbTuG4Wz7In7T69+jc
+fuQ/eSuaKAktMvvcx202flft2Z8ml8JXEKiefVUeYo1kUYkJcSa05Iv3z+VOpLJlulzEgdr5SZu0
+0byz69QBE92xngXErxgApz+qvSfqto0AuJDgtXgvuXd8XcCBoQMFvrx8OUvw4iNyIQ7UjMGLj8hF
+dwcNRo3j5GhgbYmQW+9mBJP6SPS3tHU4XX3X3KaLnSLxcE1SmaD+fxd4kHhbj7i2rsu7RSUIGML3
+xaP8VaR4tHozJK4yt1PjVQdSsaEK4f6cspsob7+pbZNyGHgg8bQlKHS31LOPeqNwcLoLbA9iSnnU
+HIlbzEFJmlOUiCEHteKH8nxFYgNAY4YHo0PtHJRr76sdkLOjLKY/HuBXbFj7WrpPp6Pr0r4Vbt0l
+hskGNWVTK5x85KPw+vM3/3C8eSDkTwNpLZxtRDpAr3dpTHJAuHxfLr1cBzIw4ttbnQVuEjDhBGqB
+4vteFAKVwyfJEJQMxg2t4ruwETAfGDzPZR4/Pzhcqh1LJK0Uq9nKdcKAolZbN5HlaqX7g+IprKY/
+U5S/YivJq5T6UN8pHh3mD4Vw83NfG+pPc7VwtH9yhiG5/uD8TdTI3Fvj1Pef+0Ou/pX4qA0OOn0b
+al08bdjnjRrQGJxZzff7L6dSZu98k2BY5zbX7zAALHFP6dI2A/zgq7hVlH6KHB87HQQs63DVKqTX
+d+PGg4b0nXgt0GitEsv3l3a2qpFwTALVdQ4BUOyxC+bquFq9DQdecK5iPnvf6ubPj6JrmZfoyStY
+w/QbYXdGV4+kOrbi5Z1+5E7jtFG+CVRytKshyRZo/sRYUAprxCSSnM04SRbNPKW3GDMjQTGGaLH3
+VHodvCok/RC/Aqei8l2ygfSRDWDgHgXAmOtiLPK10u4H6ZLhU4F91ALh5uGwsNvkH+labuzuP5Yf
+P9MxnQVDSxDOb3Ll0tYyNU7xXiCXoAkDmm0735Aznbu1jkaqrcNk8SNxzAPQky7xRQANxbl/mrqp
+3LZWr2D4z4H8d7EVMkzYi8F9oIOVlVUgRnobbdBz5T55+Wr1bIj+viIhvmbC68/oQA==
+ ]]>
+ <![CDATA[
+ qed7XydWe067qlmx0qm0Du5vwWNZR93zFK48RLnrghRKH4EqPE9R/0DDLy7ns5una+Xtz9eronx2
+kSgcRQ6fC8eNaBXlZrV2oxbf+cc+68BQA7ORLG9f1SPogRyTLqCrsydOw0811lZOqrfLa83yE5Cs
++JFaiZV3QuEQcXlMLUDci+fVd+CM9NL608rJiwNWCczq8aASjShPrL3D9fq6LbbyZyvDoYG6Dsv8
+HFCG9SoGhUW5kYhbngUD3PZVLavBMEwuyevuvT09ZV6DR3vg68UK1XJzK+I0OUs/OQpo1m96V9de
+vc4i6v7D+oGty3qnFX4nebfM/vP6ayXWu+RBTcp84USu3tQ+h5Eg9nszlM0ILy0PwLbsvVD3ZlO5
+qJX2S2ebNgbR9j76gStwqb+PYaXz34zbqIHiEkDhc7wwguyfOKxDAgR1V1E2qt9b2fJHXTYdZG0h
+W8uB8tPJXa/0urQiA39LB4VubrvnxEhkbZD3DnoPX+m9pyRfOMhUdvPrxS/WLdfGlg3l+/H0D2ro
+fEG9edwvP6XvkpXLznDNRtL0Wz/YAF+g1Sz0Xg4iSDQryxheFPnz2hw+DGtzm2GV3IYiOnFJ+r1Q
+aRTU9DHxJ2/LT0cDNNJUa2jj3Vqulgo3z9VS/vl4a2WD3y6kk+8F5y6FyFv+rLHdrmbLQ2Y4oJeX
+l/KZ885zPvXVvyWpTAc0FSEcIesFvHT44neu1P+zQsnWPvY+ozm1toX25vtyvWmslghaszLAFP8R
+8MjbWv7sqfHDAM8pOz/lxPFjPJ/Zf3tnPHf4p6EsVbslbevGkNvvgoBbEcVPsIeWJQh+JF86rTud
+3B2JpcjWwU95qzUYlGP31Uo2vLJ6ChzZ/C5+HuTkUaY5WgJz9n5JHKh1PgRKT1oFH66RLD81+hAP
+ck+fjChuD27uaqvVwG6+v9walp96/YQD36bBjj6HcXPoolp62hRNMdLjG/QYVEzfUterunLx9soJ
+8vtLuZZb7YDfkVZo5vbh7HJgwF2vhrYfzzEAvUZtcVHuZFsYSPxEzRjR2CYSI6FwSu6vn4OzVHsr
+HPBFEaLxzfd8Nve1zAql7h3Br8ckQ0huELtUcqdSpSDHd49QZfAOaEgvMtRWVWg4Gqmlar1beZC7
+gDqeCDvQK1hQT/aqsA7Nw0Kv8BRyQQPU3025wQiBU8U9Z/aiItjWxlrAl8hauF9bGzcBMPL23BDE
+udEtcMJm9QhY646rPDT7cjm/9fWtd4710NFTKDfVmvkPsv2ouxzRjZ3LHYZAYIZuih9qfoVEGtqG
+qII7E2rkB1XHcSb+lO0bc2VzFXtbYa748fF1Z4vzGU5jTPl95Z7LBln/XgOp0AeFj3YH9zSWcbOH
+Kxz36sNy7OD7UXeg3n+MYVvsDUGzVnlYUm4g0gn0q5XU8ZbdA/neOq6TcHr96XNtDaL7N8V0kRy8
+gj3Q35UEWXBE4+ForJ9XogfBKNCwFffql9sDedxdAdTVhBNqQGNgP89nP6ph1kG3QztxF0CU5e/S
+fiV9RwxMNDe4TJuKElUnzmojdBRuYgSzn3xdzmQ1X1fvVb39SCqgMJWPvHrxXCmkaoMhbqTHq6Gd
++FmJP/0crHcya58w6+Mwizr3/UncS6KhNx86VtX5U0jdfz0zFoKo38uj9hY4gT1u/emn07cr4l6k
+nGTeMPaYCedgluObT5+AM35SreafgdlPfhqP49lYIZExoQRGCXvAQ+cCOCnZvcJJLA9r8xzpWtAQ
+Hq08/CzdFlLxxBK6ioqNycA+dTtF6f3xUTk7vTlLqZulrdLL1eMShmBL+eyR2Crv7maXjH1n+2vo
+p1Xba5X8+s0peKTqUZQTYt8PoPQv38EMP30Vjj/kc4tKbl/kB+GLpfLujgjcv1z8ctKu+iGAw0u1
+cfuD1wNB19JG+VlWlrKxn+tXJfcdqUCYFPmuZqsPGlMauspQU7p60nTaQIs5DteiG3l1qUwOI8BI
+bkrqyWMvi67610orbmZEM4+PD42M0I4cFj/ifKN2cXnRhbUZFs38H+2y37r/qd7d/LzgCY4gCZ7i
+3VhDIovBLjhH7pGiK/KUjJ/D6p+GCt3754Gh5ywgW8InsYrMuQ0L3DPwa1s/QMPmKqi4ox/zqcZp
+54XGqdowyZd+z7/VYfKf55Y0J1L67hxs1hc3KHDZ/S8mkUroVQxmG+XIa/IhG2vuFgup2DbCW3vF
+2RCpNfwkN+rrC6S5fhXwsYoPhYPdLdx3fW4iJQTLmI6WwFZ0rtbb5703DHGTlbfVaiXde620Ll5O
+QffEmw7975TTg6s3TdnUq9euwKvh4Xqv8qCE5eJeOPyqdrePoiRgt6exj8AX2KsGgatXLivxZuq5
+KJ2LcYYFXlux50KjPIgo37vtzQ2IoEMQfWV5K0IDSmQD5eY+875RvnltLjPsZgAi4T/YoE83GOJR
+6SX/GC9vf5TObW4AJxxdL1dDu8UUrs3hZazHkMCSQVcMHfGKMapcuW9UZFNNWlBfojOx9Ugy3Xoy
+5TJN0i8kkha5R2t+JlNp373FCt3NwGH1LnQjoFBcl3cCT5w5QB34bWt9+2DrWMlcnN7DbDpVzXcE
+htP0xg6HCWL0/8KA4ZrN8yuZ5Rtfp5bk9G20shdNg/RFYyBLjUHlIbcFoE7XvlbSp5WrlfTzOUbS
+MLYtzOknWoXGy8MQR/kPcgtGqZq1kK5Mvu5ND1KalV/0kB5W7/doP/t3y1gQDodS8Xi2rcTvq90d
+/YDlyAcxX3q/23p9ZMC59Ou27UVGJ2c1LL3Ab0c6HSuEx1iWeNA9bBtfFxDMVyvdhx7zuWzRfAKk
+eHgdWE7AGxAPn59sh7WhkdzOyBRmxJkRlhtlx4F9fjHfrLLNyKHGAwf8ed95pEffHQaGXxff7fSd
+qHBhUE614qHlK0OHb4YjQGQN8knOr/aDWfg6WtKIIal2U6Xt9kE8TkqvJcSF0B8u/ELOmbJNzoc7
+ozn5To1unt0nuWR0Lx7dfBmK+EuQskcZ0XhwZPwiD9bFzcawCM5l7X1r+XijjeFhzngqRDeOlZdA
+OJDlA4mlc9Q4gdjLmxKIJ9eGgXB2rxYI3z0lAtGfzEkgtndRDsS5PYFLSichGM7OJx8p3FfISORA
+KXxAQRL8XHglheeH+qWn2nWgcNBqnIInLr2RpxjkJKP1Qb8vDNqB6GVoJxCtfecCoUcuEYifbJ4F
+4qk4hyNpBOLFpsQlN5ohA82RNJBix/irCPivCzCS8nsuvbXyRn5Jmwd3OW7rtoPnrQaBm2BZCOaW
+yrZeieQgVRM2l7da8Gftg3tca5Z1yuHA1gdn/euP1C6dK6I24cKbqxdi/igUgtd4dG+Y2SNB+zel
+SD4h1lM/0VwtsCYNhMGeiVXqHZ903bC2+je3LydOWHE2qdrGnfwd+eIIYjvWlnJ56IZ1a/njPnnp
+jDUbuBosnzUPCVbkNPt0jzaCuUzpascJa3T9Qcq6YJVfIiub0p4TVkDT70vNC67KRfYcibxUfVRW
+wIztO2Hlqo3zsgtWZXn18KRQIFiR0+zTlZp3XG358tQZay2eD27fJy4cKXz91lY0rIfBoIkV01C4
+tOL68OORINYkg13aZv9G2NlHrOFRhkpcSRt7pShglXoj3NTKVglWogUsiAlW+eNgaeiGtd1vra2e
+uWCtPijdoCLasJKoHREPCjei03QJQ0m9q2bPGWt2KTQIqmt9J6z9nzt+NRzavLqhazMy3Wh2/bjq
+glVZXv7+uVSdsUrNK666mz20YUU0GkN9plel/fKRE1au2nvdccW6tnfQqblh7XC1o+VLotOciLx/
+zq2+J89OAKv6ZcM6CNZudQo34yEbVvn7/eSYYq1cv1dtqlO6zHH17bSIWCMjbLz1/q1KxU3JCStX
+/3zquGJN7VVa99TesIgNrC3u4OPgxBnrbvByN5Ho9R2xnuyJqg0rRaMhrtekXckF65XENbZPwi5Y
+f4Yn9dqV6oj1jBtikOM63UZnP/nihnWbO2sFc85Y6+ngWSiwv2liBTQM4vP42Zor1vNCaH3ZDesr
+dxnbaDlj3d/GS73fAg+RkON0b+6X9lyxvmc+gjsuWK83uVarIJlYF0g9iYH4ILr0FQFt74j1TrwI
+uWJdarYiSWes2UCAGILq4Tsijo4Iz4GQjy6lsg+ANfNt14s/fPdMw/qejtiwft+qn32CFcx/aIuY
+NWa64cNopjesINbYqMg2kqsHr3vHgDU/sM+1sv/FaViHm1GbUsR9PG7l9p4ivhlmdqy64oirVE6r
+iDUxqhdXA8FOSG0C1uqPXSluJOPnFOsmv4snlGyIlxo7DaorxM3Tep3FKgy7AaE0fECs3Mhcz8Tr
+t4tyNgJYdwI2rGRt+pWobmgPP20dAkJ6+8n9qfiwHXd9Gs1t9D5Ms+bU4XCt7/o6V8k+xvSnJyP+
+QT2/daU/Pes5iGf9uHFr68A+fbx7cH+6F/h4dn2KGnpPWkm4v37w8/7m/vTkLJ32ePpSKTJEG+3Q
+OO4duL7eH8YE3crVmqO68lT91p9efzsQ7ey59GPrwGq8lcMVj6fKdcj1KRLtfOul7P76pXwVdX96
+8x46cH/aCkkXDNEcOjy3Oq6vg8nP5dyfSmfxthfR+I3E06n768W0JLk/3c+JPS+i8QffmXXXDpm1
+r96t69PAWrQk609v+/anK3u5d4Zo93ZFGBC48qf+On36ZYvRUOMcG/HoGnma+wpnv0BR7XU1LdQ+
+Lpp+2t3OphE8bG00yu98qZjcOS8vd3ZOypvRk0YqHlj7gV+1w3xyGCxVL66rj2Z8BwCWgw6h8HLy
+deM+DAu5VCFh1P7msUUR9peE4MZhnPpkGAoxc80ti0ES7BI9i3FQ09S9yb1UNwjh6cUP2hRksqcs
+46exiEHBZ3hXrCQOcsGqLGMcdOOEVQujrk3ENqzg9X6J7lgxDnLFinHQM+On1T7Y6WYDYRardLLC
+YE0dygKD9XFtbZmhMMYGBlbRxErDKPkFw4MPfbpWrFL4xh3rUrWdcMVKYgNWPEXbdDE2uHPB2rz1
+wFpbUZyw6mEUCQ+cpksYCh2NthvWYw8K7++eWf0023TR0bAu7Qo+jRm/4poXFdlI+uiHnPYjljgf
+Xbm7SKbgox/xwEy9gVkeyVCdo0IcJAQyUzi5dO2iJAQ3uW2kjWhPg+VilRjzTykeKRkx/RFxoMSV
+I2w+NgULSCuHo8XeYJ8OAn6VMcFQIag1CdJ1FOA/PYQ/1zC+/InoGKh3fETAM14njuhw7UvvdZJn
+k1WgA7kdGVxH45/cV+ixoXnTOE5GgqEzjDP/TbswykYwBl1MvnTKq/jPskGgCKuc9QnDHK7KfHsl
+uGXQkCV9LldZ1f6J7WGZ5NhhVQfmsBzGtMzHTvkY/nPFZoUsCUR6QgkIvxmq7I4jPPmnfVE2Y2+n
+GYor67t12ww1olkmif84LKNlDYNLPtYQBfVcz0BpYY81S6qx1uGnJ718ryHOpvPWOQ==
+ ]]>
+ <![CDATA[
+ m4Re7tC4zuD93AkUssB4trfyfI+v3AxqPvjLZC5DPEf4az0xEfW9SH/bNxh6VupzT6XElSvpqWfj
+RS+bFqpc5yJWLVSxayFj/uZy0ETX+BVpxvoWGhqDtmqhzmFijTprjuJZwaB722NEtz9BUPV7MYN8
+IRfytSrCzU9x16bEx4gnTeA5TC6+NNHk9HS3lT0q0c3M0Z43ueGf8BqRJTcyfxmSJhouhyPv13bX
+NBZw4PnKdTnud0qEoUeXTOeg5hfL7oY8Wth9Df85dl0q7olfauru4Cy08TLcxRDhHECD/5/UZ08z
+QM7QipfpHW9orqBwNjYBbC/VolYBrPoQQG/pMxn6XvjxXlA8IRUj/2gqkWxxOPBGe+l2ybakhgNl
+WdVVuqpMBnuEQapEJboxSJ7rDE+T5sBMX+BeDLuMbU9wnWbypRfdGPXOLCuMa2JJdFEf0rIstXHe
+mT8tRM3aY42PFN+qzpbKy5sc4cj31NDJTBENPekiw/BbPxM5Veam18gi1+xae5ReEdYWu4+ps+Rh
+PfPGiMb4enRMHo7ewbGmBWL+jMljzcnXYzXuuIiAXcb0qre3McEanlElTtdmdmhj3CBAMwm05JTT
+tG0Wa9C4+RGNnyvRhLkSTZyRaJql1tgtNhrdPm9xj8F2ZSLP2RysuX+D4y1ePHorEcbXddZpw83A
+WJ3GeN/O4vm8ZbX7M4nncHNlwnCa7Ow6rGbxYki7sAH75ARa8xubsF6nnUBcp3176jPf4Ogxwmxu
+k2PlxsdSuUaBtpGYDpTzYHjfIZvrSEa9zqnIMkZkTS1gxI/tpWHNwWZtkZz3JMFj1JYbt54a2gyV
++yDsVyVmvDeD5+EkGBzTH9SzedueMAZ3E5SbwfeS05i0oND3sMiYJlcFGtFGZA8ciDGW2rcquBmG
+1ibMC7jPUNw8a+y5zpAwtG/Cv4wx0vbMh+HmWzkN5rBNtgbnM0PuKfh9oXud/hKkLqE7iMDQRyaS
+EM0XvaQp6WXdwtPoNZmwh23Czko6vzMwJV23nuJK+utnfHA+Phf1uWOVdPdkilfSQVzJhFY8h+OY
+yHVOpuzY/XvnhIGPRO7nDnHutaNWo6G+78lJIR+JEDQEHrmQzx27pZ48EQLMgFt41rBzqimlv0XX
+YFs3a955PbpUuE88S5KI2hugzVMmdDlBusQlt4MEcsrtODG0qRQsKQmrm50cdbO/dq1uNkN/U0N7
+edrMOmyeRpcnJ58ly0FG5JEd8/KSR8iXOQqabGFzoCY1jTC5zBzk5mvXahWnYffN01Ve8zqnTWPj
+oHdHDOHolLTZeKZFgYMMMzilKiCqM3MUsFrAKWmjuBLG0AI24+fi5u6OWL5xdinKuhwjxg/3u6yH
+Qo5om5sAekvfaPoBVXJ0VrYowVJJ9u1VfxbQBVrGBw1XDbnxytIitI3h7Br64mQOWxy4cm420LZT
+6AOQNdj0ORzbDjsCmlUUNSgQcZpQLJH0hIAmMIQUjds+B4Fm3WicyKwamxz6sWvcMQ7Zwk5sS3hL
+kN8kmbYnzfmRx/HmB0FFnOzimJ1CV2qedH1RU3dMNS1gj+Mt2u2sN6rdoG0S7UbWxsW9QBnxvRfo
+qt3IKQ1biDu9dgNodffIRdNpfvegENphYHYH6uJ0HtoNVs6q3abVAghoAu3mluUggOag3RDKPHZx
+CSCrdrNs3RwRHsL4Bv/fORNmXTSvONuyAznquGhE+2JF5i4cHXX3L85m2cq125vml1O8PZHHhktq
+15GW5P1EShehue+72jSuuYvrpnQB2pjA0ofGoWegrqeIjKwMcjZyYMpV2YwHNM7xd4WiW08d0Myn
+KgiUkbDbeSN/PCDrHv7YtLT7VgSBNluS23pqCCc5ah+hbTrvf4RV+aXkHILCEuiUC+9c3LKu0/zY
+R4czGn4PaIxkbhHa/cxidG4zjtOaNVi5STJg7mYNAU3l/duhoHGc3awhIIv373razgegsfbR2ziy
+yuZ8FvvoYBzjpnFk0VzMfNRJn/9t32YcbdaTPZrlwz+4wMzelsvAWGpq4nnlmdsoAdZ7b19zjBPM
+amiE9uJDMv04wQDqfWVc+sFL81qJ5scTNndxPUOm274viffahsXZgFAkPHLeY0/s2cfkIK0MQ4+X
+M3sYdz8YNVP3Aycz5Z2HdrVUpQTvaqacjsaNyQvcDzzShhMImZYaas7taC+Actj7YdZmou0fhMbv
+1ueUTLkf+MpDu+wq2Bi6lEiah33HQXPxO/CAgnuuhDi3DGeMGxYZk0+2YITMaqSpEGvigYtRV50D
+D0vdnvp09aSWL6tnJ/nksFiv9Fsbt7ZaPkAzn3I+71o+QDOfcj7vWj568n4O5XzetXw4m7mU80U9
+a/k0ezN7OZ93Ld8CKV2cQznfKFa2lk93B2cu5/Ou5VugX4CZvZzPEatRy2e4HLOW83nX8tEzt3Mo
+57Mf49B/BfUsx3zK+bxr+Vg/bWw5n+0AtHul28aXzRMff/LevRipGa/5HZNXghiGVfIO/5ct+t69
+aGtgj6SnPng7kiC2jGnCBHHZ7gH4XL7RnULAcOJ4lG1iUvVGynwcjrLt9fwVpZ10x+dbbDuFHtDG
+nPIaM0PTufVRxOd7htZEl5Pc+Cb82AOE7JgWvAsxxyS6PMZkVTsUzcT1ez7VTuV6u287qDxVGZff
+8yWMFnCrdWnGAzNv8OnH4GB+TR/JsjGTc/Xrbcd5xpXdTXuQgGXoyiyZZnNKTts+jmHUuLK7yc+X
+OKhOoI17oDJRlIKgRmo8JoRmPeAVGd3xaVfN0H3BrRDTl/6q+o2MiQM1JjhuV53qXicqejU19L3w
+7aOi0l+iDehl3Ri3J4jZjIpbos2aa5RGE//vqb7NwZh+0wvmdeGeGLUNVo8IPGrkxrljE9UUjjnT
+7LumMD2+/gY5OOSjRs56pNJPnaNr8v49vezqJ5rL528N31fGnbz3eyyhZs96OlTk+85iPdbG1eS4
+gDKJZoPm/aGGiQY2eD/3LoyZBJrNysxINFtadkaieeykTDxN0G6zEM2WLx7mvu21O8WL1mBcQZk/
+N3eY+xkXh4HM6/bGBYZz6Z6T3nADsOSjEPPwgif/jJHz4sX3ineQwwaF3vHglv940PVLFlveusIb
+hl4M5vEdF2025nKPqdqbcpUIQw9zA48adquj4yweWGznQwuMp8hInOfG/W7bRD4K9qz2zs2fwSm5
+fJ/FPKVqC8A8PExm21TH8LbtXam78MuIh+nC0NsT5YJssZTFgXKt1XNRQK5lWRW7gZ/BT7sZrvoo
+raOCr2tod1JNlgtyOeKEnHYzjAbnQary0LoLJDjFnn75YLLsjTamhdE6aVJYN1H2xmNMmlT7Nmse
+pPKRvVn4xb1CzzKsibI3ljGNfGVEXEm/J63Zm535ZG8AjbiSWZo1wfG54529ocrGZ4EQv7s2ZfZm
+NC8Ak+ODM0/Olr2xHRnxXw/n69j5mO9A7cwje4PFcCNFstPVCvrN3ix4VOQjbWQftBlfHbSzoH0Z
+dvICIUdHejNzOLQ50ljNFBh7Vt2PIw0+3rL3rBf8VEjuznw2gknbfe3OnAEyJhcae4LYz+QmPjXv
+ZG8yRwFfhyHGlbExzp8tWpusxM//AV33w7BY4jf2TOA4CQbCELZYGF/APDZzigRS/TG0z+OAoVG/
+9uLEh+XTndsxh55mrczTojV7cd68K/PG7+LOpTLP49j1PCvzZj8M66syz89h2DlU5i1oFwXMLoqe
+lXkLrh85nWtlntNRK50P5liZt+D8LdV5V+axOx4+jdk0lXm2tWGPDc6zMs8tWnPZFyrZPsg8Q93a
+3I5enppHL8d4nX6OXp76OHrpRwuc9Wau/kc0oJKiM/sYBIrrOeQJNospoOnqwKx+GgE06ycACBSb
+MHqcvB9/xBrr/Nw/cGw7ee/viHXza1QeoW1MJZAujEZqyFUejYMS08dtF2cEzbzk8cz1MzgeOs1V
+Hs98HYUe56ojzWeWRzTrsZEzUNMC8vstHK8QlwKaR10mKSWZWR4RkI+cjT/Hn0Jz38D1iiF0r9Oa
+0A46fO8YK83qY9xs17Dbpmxq199zWAx+yV4zMX0eGqH5Kmv1WSTLL0mzhDZGkWx7qeP92S1f1X1z
+KpI9n1eR7PlcimTP51Uke+7/Q9fs2UG3MrLRD11bjkBMcn5JO84TdPjQNRaFnXpbNH/7yfTaAw95
+nFtRHjVrfs4KzVSUt+D+tet5FuXRI/HvPsRzpqK8KWLPaYryRpP3fy9Fee7ph7kW5Xnn0/xFcCNf
+SB5VCgsO34f2qL6a9uv3jn7a/WBOn4QjoDDr7CMJ6eO+DSyjs3xwfSbPppQYk9J0zWcujJTK4/GB
+MemSsV8exlJIiw1csNfi+qi6to3JD1vYUqoO5sL0k/AqPUeu1taBXrP+HIh3j24DsbNWJRAviK1A
+fCeNchOAAKeEfzTpdevwTz4QfUjsBGLl4xL+g9eOpleMVV2zDVr7ZalD6w/4VeY+QTIbS9mdtCRk
+0s4FcNmlNa+yu0ScZRp7sV80KzwfsVrDUhS2fPr1ceVWdnfpdYXe25hiv6f9E1esa/zO7YMb1kfX
+irAFck9h8YSZrq3sbvmlY2pI+7Vyue+VT2Ou9iv0ml7FfkDkDfdiP66a5vZdsCrLK8efQsu92K/p
+Wew3kNyx1mJ3Z65Y8dbcF497ChNeWOtBV6z9wWku4IR1gRT7KcuB/E28YVnaTlrHT35pixEuXT5+
++unX+vnsWk4Qu3RVlr9blYuDsSDlF437NGOKVU/XBZuLaoZRd6HRrzNWf9xvi/JxvnfEuXXYZboq
+j7vnwG9x0WGw6n2uc4I70LyPzDic6HIfltVBnqTi0BLizud6Pa2MzpKLWmDvXp00F+V8vd40abuy
+/5OYY87Z4E1xEdegzOHsoNddeC6ntT3SdlPcrOc6Q5f9G5xhfE4zHH+7gu+q2PUxZ1i1E13+huV1
+qd5kcrM+5g4Kx6O1tnpih6o+uiE518K+mXI2/gv7nKIEW9puHoV9TlV9Iz707IV9TllEN7mZobDP
+XHgzLDCJNrfCPqc0PtHQ8y3scyAMt+Dx/bQpC/um/5jJRIV97ich51rY57TPY9/FnUNhn1NVn9PG
+yoyFfU4pmYWRb9vNXNjnlKXXkylzLOxzcnnYBPGcCvucqvqcTqnOWNjnZJw01TnPwj7XczbzLexz
+WsMF5tKgORX2Oa2h+1GrqQv7nEAtjL+BedLCPm+vc26FfRMTbbrCPjeizbmwbxaiTVDY5xSCLdgr
+vWYv7HMq91owqr7nVtjnBMA8Pjq3wj6nzRbnk/czFfY5VfU5hbgzFvY5lbGNbqzMXNjnVNXnaG9m
+K+xzIsdIVn32wj6nqj6njfwZC/ucoi9i1lz8VRyWPHOMKNwM7hOaWTPDxO0JvznlfqdZN2ALo6au
+6XMXe2eXY563+Lm5HHO+xW+sy+GTVMFJsixhVm7spBrvbfjkgxc/9+KODstxTOOVgg==
+ ]]>
+ <![CDATA[
+ bTfKY1gTlevax8QcGcFhjfMK/JLKLtXjlI0XqerStV/9yZo1a8i0MbSHTFjaNe5gt0vOzB57Ot//
+N2Hx3OjlfyPnbPz665Nd/jdG2Wj3/804OSm0MKagzFdN3/gzF+PPQ5Oavlkv/1vAstKx9//NfPmf
+7yTkbJf/WT0bt/v//NZLuV7+xygbj/v/Jtl+2rVnF6b6Rhc4rWNuMJigxkPcPFV9FOT6OP60S9xx
+9+M8vicX9sGlJJIeU9PnccLRH5d+7Wp1BLNdO0Du7PPUuOYBmHH1jn6qcseVx+16Hm6c5JAaVjyO
+JgudGHrsfWPkDVSYwZGSpvatI0csuH/Vym3DCGsVRwXQezUdj1odfs7tqBWAmuNRq8NPv0etvKtD
+2rfumfnJCjHD9qrjyY89I5TIWBbwCWiKjZ3Rg2MIKDaXeTH7s7bt1Qkr7Qk0P4fZFtwvr7dV+4ZH
+t1MuGvP8vCFAm/XeZ/YQecOnYmONmSs1H9eEpL+1YYNND88iaH5t2lIUmPE6OzjJqe2znl+/3rMw
+BuxdcnL3wqMKz5cm8VNCOnh3PBg5qRYY+azz9IWYs/sYBIrn8dFJAM3jMwYE0Gw3fOtQSB2B69bc
+RMdi8YAG55o6mGazOOhwWgOLAkvuNJwoeT/9vX/W9IPD1X9TyqPt3j+/Om3Ge//Gueql+dz7t6AV
+/s8MyLukyXeIO9u9f6xZc7z6b6p5jdz7N5Kz8VudMtm9fws+7sWd7t4/v59vxxKsYx8fIRpbFgbO
+j3eI67/a99zb+aGpId/VvueTV/u6FGLOodqXX4rbSu+ddqP8AZoo+eWS5aCA5lFgGienOnxEa2MB
+eWyK6Ed2iA/tp5YKbxH0V33vJNqEaHZ5vO2PyiO0zZAGY5UNlt1duX4Jx+Ia+CikyoR4L7PmXUvl
+VJnmI7pf0D+hNy7AB2gzHPWyi+dt31d+20chVSakzC32hNU883PruBF7uiixC0/j69tj1NMPOCyf
+t+j58hiF4kUzbnqMBhr7iY9pI7j7gZOOMs9yTFh32/R7Gablm/delWnv3nGTnx0fhmjfPiplfV2G
+WbwY2ndrpvZsmn4vw2S2Vz0uEJz5MkxySR8pV5hT3S2Mye3bWAsj5diedbemN49neesDB4SaT4il
+UoHI7jpPqgUBDVYZngRit4+NQKRRUPDXoVZnuHsrc8mLd1UzRBu9d5Zoei7KWr4VcqrMozUe5Gq6
+JMdS1VKZNwiu9L5Yy2e5mi50v3L87nb5H72Gj9XQ1pLAlnshIlctKgcuWJXlla64fmvDSrSAVhLY
+8ihErAVkd6y1Wr9pYLXXAy5/Kz/XTJbDXiPnUZmXOsqzNyxaa+Si6x+n9npAqmw0Ikfy55Evtwvx
+ml6Vec+cK1auerN1zGZuR+7/e0+e3bthbXtd/sdlbFgX2Lvw+oPnnWVXrIHrZeXUjcIxr7lur9kO
+jsHSoozGyRDIL/2ewJ9HX/0OljtO/ahOs3RdOtgI+ADZ/7l9Z78eg7MecUd1CaZoYiFbBsYrv3xw
+7GD+vE5nHq59EjSWHSVbznXsCSn328W+7A7U+NNI7mVReT9n5pjiC/dhjT1bP3avjBqCq/J8Dm7h
+mBwPsjpkbn2UCkUKh4GJlm/B7WKaw6DvM27jSvZGPqQ5fXlc1HtM+plbf1y1HptyhvZ0Nxbb+T0b
+Om5MibFy478A0N8ZMCMP7TUs9/zypHLjdQzs4NT5HK5NdTVjXbveMnLTpssxZaTRjLlXbPvP3Fbm
+8+U7SrRWZV4VUc34ktPkJtwmqkz5iV1bwN6MfXGzfoQSC+Xs0fXoEUV/JYkTZqQdT6liSeLMX9cF
+wvivWxsb1SA09zNgvvJptlLe0e/dVf3W8Y5XNu2lC9cPCU0aSVdn3kPXO2Pt3+ipPGYrYrIPdVU9
+P/xvz/GZRPPIwERHTyQ81sZ+GYJ1UqjX6VpnlxrMp6CNcpo1wznDTXVun4dYmKbSa6IrccmYnOtv
+algbtONm5ca66tYx2c9ATVuXiCZpxcf3BXzXJXanvW1w5NRQzUepkH+O0K+BZu3NDNDGXSS0MFLy
+6wWtab/4fCaijasmmmBgt/arkWeCNu5KocmI1nHVFiNVzFa30Uq0iUsS/bqNC/T2uGlLEv3WIy78
+MlNJot96RN0dnLIk0WENHesRbYdhJy1J9FuPyKa7pyhJtKs9t3pElzO3Lqs09UWDDNGmKUm0k9RN
+gyw4Vnr5Lkn0DA/t26vTlyT6rUccjaS1EY3Oa5bLCs0TxH+vlxXacp3tv6fLCl3TD/O9rFA7NeSt
+P2a/rNDQaX+/lxWaG5J/r5cVuqXt5nxZoccRxXleVrgwyf2e019WaE0/kGFZ0ipWv5oOZ0zFstNt
+hwvz+qqV922Hvk/bjbvwcJKvWs1w4eHo5NjbDqc92jty4eFUZ6Amv/DQgTeZ2w49kpCTXXjonUJa
+8Pqq1SQXHnrUe6a/ZWZjZbYLDz2THhaGnunCQ+/skT3RNfWFh34LyuZ0A4rzbYc2ezP9hYfek3PO
+ckxx4aFTASA3h8tPbBceek+JmLV5XHjoulRjPt8+4YWH3hKsW09vj9jHhYfetx3avM7pLzz0tnxG
+GDXrhYd64ZfzbYeW+GaWCw+942F6zmYOFx66Hcmitx3OymnGhYfeUBb83VM4a1WwXq4w84WHUc/b
+DhdsH6Cd+sJD72LeBeci2ckvPHR1Qslth6NnOaa88NC5vky/7XDB/GbKDNVqb52I3wudZrzw0G2f
+J2rbwpvxwkPvI94jmdtpLzz0vu2QWZspSi5O/e6V6V6nZ8mFnwsP/WiBOVx46H3boZXTZrjwcOJ7
+CmcuueiM3nY4XSlJZ+TCQ8eSC9NtHnO01/+Fh95uvpG5nfXCQ5s82oRxgdRGzeHCQ29fn8jNPC48
+9N67djyWMM2Fh05Vm6YwTu+q2y489IayMPaewlm//2PcUziXCw+9I25T2Ux44aHvKwodlM0MFx46
+FXqYpz/YjZWZLjy0MNnIbYfT6TSHCw+9nR8tbTf7hYfezg9qgblceOh926Hv7OC4Cw/91+LOdOGh
+BcpIAO5csTLFhYdTnOhyuPBwhlJ9vO3Qnk+b+sJDWnjldtvhwpjPtPm+8ND7tkMtnzb7hYfeh6ic
+M1BTXHjoGt2T2w7HEc1/4ZXnbYc+cp3+LjycIvac5sLDEX1oue1w5iOK+oWH3myhHxmZ+cJDb49x
+wfIRoBkuPPQu0rUZ6ekvPHQqY/M+PjrVhYc+kpDzuPBwIs9m+gsPR1fzduTkvRc0F0G1X3joXaSr
+o5n5wkNvW8E6UEHyjWW7ubgZPLsXnFMJHj1GYvsiFqfPxpoRvvLKCI85728toqzadBoli5nyulv9
+sCgAdOWMI8tUTWtECDN2NCcf9kySjh5Owiq8rVQ8sPZTOS+eB6Dt5Evrddsp9fsbQjF3etMMBVa7
+qhQIZrhqINI7OQoImZO96PpHphjNbfTz0dPdlyBX2f8SuWq6kueqNzdbXC32gxuSXF0tXnH1q8sH
+bi8ySHAn60GZO7ndLHKnb/eP3Fmw+8Kd1flv7uxrZ4U737wvczcH77vczTBxwd1ux7vcXeR4lbvL
+tsL9/n482B8UbpT+oLe23f/JDK8Gy1/FJ0CTEOupH63a9Ll3mFOCgb3T4qqghtrBzuHy2WUjt9Lt
+J6trgnS7H7w7yaSWGjsP8WijehjMHWU7StQoSgxuda4rcbW+9gbLEq1iAV480H+9wd2o1YPXvWMS
+DDgoALbkNfz6kQ5EP6QjywWZeN2mFG5Gs9l4xolehBxINJjzGne3Fzpymq451+j6gwSvc5s5rto4
+r3K15d5hf5A6fyS1rUa5aiO6kYyTqzqXaIVkpfKGs+kPrnvr2Lxsc+iptJhilNv4Yk4yUR9Dy9LW
+0+yeziglAE0g0uZPywfRt5fcZnbvhWveZNe5VqFVQdSm8K5RB6YzzKfIYhQ+e/VBYff8vBUtx1Z/
+qqGt7W0IQD+vq7fhq12Q22YSHYwVVCMxmrxfjtO4KSdfD/DPpKZv5a2g8StEK4s7g3e8NGgrQv8E
++xzDP2Pan6VEAv9MGK8lo5WzC/z8B47oWtw8+yqWXttJnkvmpFC1IuzhoHfDzFBj6WE7v14P9PFB
+lH1Qjz4YD+Lsg5baIQ+oeO5SnIjwBszKc0FHeMCbtCGagUvWNiJmGx8p8eta51opxjxor5Q29Afb
+Cbp/I0eBgtdRpFeYfEYenh3z5E9x8zTwwyUP8ybwW2L+oK0awy4RkJFOkbAF6rkUckQKBOSgD10O
+kgieFF/gWUtoOSVwI+JK+nMIf16Jyb2TdxFeb0SjueXsMj6NAobEJ5ds1uMG1jsdzR2QWbmMl5Pt
+7FrmuRs8rWYr0hu7WRzU1HTt4ojNIumpJN2s1dMwym7JG6QTvIWRr/OYIIVgbqmsgwzvpI7SqVo1
+H+w0ytuPWh0tzOuC1/mlIZirL4Q/bpcrD+/faejSlpDT9Nm3Ac0wra3b/UEcqRQD0qpd+PM0SSJp
++HXB8ff17TD8uuKpRU/et4RceluA9bpvi/qvR4kAIItLiPZ+TEDGidcFf14ktdffrzj9V8vkuXvw
+v+o5bTjvjyLzoBUQb6l43u19r2qzef9UdM9GLKbE1HqnFX4qvSjVg+JHajnFKIxc9eeDGD06JfMf
+mnnQ7TOXHF4kDKwPGr8MW2ik+RqfD8EfbV7/9SiYXUFrHMMMh2/SyHDk4Vk1Es6tq2fxpb3q3d5q
+mphmce12oHI7tagM63WjmFrggltmnAWrawDUPCwZGjLjrSFL4XqvUTrdeW5yzbXPQ+7sufxMrAbr
+2WjKkS7GRjNENB8IRSFEBEpXUydfWpf2Nx7ubEIwdFgqUn34uBbjTHbDKImoOHKbD9ZLo0qMWVVi
+UijHr6JcUt6I6Sy7FSdODbSVEujjXGgat7Yb1iJpuZp0yuESTpO3OV2SMBmrZ2SJEsVvrCS4x1Ao
+o+u5TAQnF+IrrccrwlWoOuNUa+IQ+djzBod/Jsx5kTDqqyRgM8/o1lrxWwGaPx/Ag32YYbOXICqO
+XnpLuQp0JW1rL21/EQ1JlSIM7K34sdSt8lvxKo8AeCSaCXxr8xiV2FHElx3V/D+iMmQ7R1jVDtnF
+1bmKOGvRjZPKI/e42i2Dd/awxnqpxGPL7tJggHQWSo17yTTcpA0/9rCnA7hbtQUeCOPn/vCb8afW
+LoUdxvUkbYGNJt4GfDzE68NPLR+lID5O85AFIPeq1h0P0ixuX5kwTigMXWRkur5UxVVvg0L4s6hy
+yYNOiK+1njn8TEhYa2t/R7S296Uo+v/kRJduOB8t1McviuDEf+4yfNTyFYo28fXoHeLoNJMH4dDm
+1YfF74mFqN+VXf8kzq3uYd2YzhX56AUOdcl2mzauashcm4tAL1mhH0/oF5uYvdnrGl8euQYWlGow
+HD5hP5mS6OlE+wkg1gClpjS4WkNSBRDrBXXqRr/BIeC1gT2dCHnRJAKgiaxmA3c6HQ==
+ ]]>
+ <![CDATA[
+ pKRJB9u3UGhOjtKhPDixfBXFIMLP1YFBhAvbleLRvZgPOoj5o1BIo0N788BChMxAI4KGNWAuCyHC
+ArlS3IsOm/zOQJOCYnjXoMPWTWLp7dQHM4ibjSEJCikvqwfvGh2EH56lw8PBnhszaN8FpiMXno+c
+uQkAEKK5wSDfMmVmPyFHajsemqvuPQ5XGCxHjAWgrc0IDPKJrRkmQk8rG8thiqf/FQmxK+KPtWns
+aYHBrAgLwy81QyY1Tb4iRLNOZDPz3tVhROyDMInhMYhRarIuR4iwOA0Yt8on98YncrpWXGE0kkHt
+0zuNorH6zRvbApn9puc0VgdPzWkkSeQThiOnGYSZntNMYkzPaSwxJlXElFUN2TcBaES7cYMxwq2M
+3E5ATQunzboiYVdKUKL5guFXGzsB0Mxa2E32/a5I2FwRJ5ui2xvviUykjZ0A0IDdWNWpJmIuqatx
+xNl4jsNNifkehD8jHQiWr480GMLA9om1iF9BZY30hR2GwZ5TDsLkTaI6pyFGhOXNKVVnxJs9x9ul
+iI03XX1oD7aICMUmv838eTPM7Jh/iiuZ0i5Nn3feOkmS1GOUDYYnwuAlEN9JXwbiqfhlIPqQ2ArE
+DsIxEu9j6u+RZudoULjRlNjwYU2I0tibybFVb2+ZtN1hT4+VT774GF/CX2ffWpLmfSlBXqcZMC6U
+oDlMjMZD2q+3Dl6/sRXWovDgN377Yiuq/ZkJxSmarbjWUpc0GE+nmaGWcoE420h63HBb99sXWvzM
+de+M1GOETT2WVu+NBzHyANBoz075R+NZgn3peUNHmKszCNnsaC1D/IMwG9jX8lEzJ0kOJ7UyWf1Z
+1cz6tcgN39BW1xNStQMO2TimJRBrpwJJf7D5scNSlGQdteDxcDtunrzHXV+6qof1BOmlYTg85lBh
+8fDPI/55QeGC/ujS9RLCK4mwtobNbZImiLIs0DxI6Ggmy3HZT9eYOa7mcdI1Z7Zgud/TP8hTzgSp
+nG5kSoXTtfW70ou6+1VoFLrnNItZvIq0CL+gIQg/XLzqq98QjcD6jl3k+3qMSVbSdNz9cYLmKSvX
+5TD91V46o7lLoPpJhP4qXopb2rGEpnDzk90mv7T1vX+WaWKSJrnfTxOogHhYuRTxJuNGBizOprbf
+2wKTkyxenm6SBzTX+Szp4nkpG7O5FzdPq1uTJoONFJYlE0y28IR6lmXK4VUSR4k8V4jQX5XrnSj9
+xYx8+CySNlBx0YptOMrl59ZH+Wl10MhnNy8kIwmZk2/kaK52RPWHuPa6ukaEUt9Z1NLz1I5pecKd
+T02gYJmpOmsv7ZBViupdQGWB1UrQg2O7cVTcIuE0duHlBI3btE0BWaJeFGDN45+ZKL+18pajGys6
+ra/hjTOO7q7gDixW4SX04gu+1kpc0v0W50MpWxzZ1DXONq3pD3ZD5AMYdhVH84Sl1S9CE8ICuTyR
+35CWDM5tJ+mfBqMQdYazD9s0GQrPHi6uCk9TPKVc7TSUMjKLdP+I5KGfJcyv7ifoELZW8snyTrbH
+ESVGd1eYPR1Tk91FtaMKvX8A2kRNC8piikvzi8njn49O/6D/+vzaXQSLtr7wS7KwzfOn3cdetd/p
+NDp/Oiz3Hn4+O93hYmYxWTgpbW+n5HLnoffYWaRfLZfvVIOV45pO0LQIe1LBkpJcRyeqWH5K1963
+lo832uUnrpmzb3cGvxrfgdjLG4oyGtRV/K7vVSAmVE8Coa1BDP9s0kQNzYHaTt3QA9SE2yPL5U6/
++FOJ7tXPy7vbgRPzeDVJ0KTvGrUNQFM5L3aO88nBcza5VbjcLV9Wz07yySHXo+xNMvDWzXzm48Jm
+UpB1C4ZrgXB2XwrEk8Ez/CYx5qwDK+VUMhAL5/PYvBOIHi3t4wz38cFmIF4QHwOxvYutQOR7uY/Z
+yBSrk728BdNVoGuD3sLzc25ibyHi7S2YrgI5nOnDWzDVVk4Nmw/YOeQ2oswDRoHlSnF25+rGIlTb
+ScZHmHVDU9uKte9pothGLBuabz+zbGhq2ty+pznvDU1A43cDcpYNzUn3SKfc0NRdR9ue5rw3NMnu
+yOie5rw3NHE2Dnua897QZOWG2dOc94YmeqgOe5pz3NAMRG6qyAJoEC7we+8V0JDnF4Hw/mVIU6I/
+GfLRd4i7wpsNPCyTC8S7R9eoWNOWEzPjNj7NmgPHvU8J6RVCO3w7NHYwg/RLWaA6o5rqxN1PRnVq
+e4NBIZgP3OiOMAaGMRK+Ejc1+XoxTFAH5DWWiZKdPtBplR2n8/LgRuzv2lgAH5wCGrVv6llNp91o
+omDTsmRTEhQs9VYgXHmnm5LGsRH0eMCxUs+2SnfvhUdX52WBFDh5+C+zOy/6xzVcjrExZ99Gzonr
+1p46rKalJqy1UmnJxqbhkT2TSIP7OLv3+JDaHdm8HIYGBozD0c3LSC0hbRU+9T3SXsRhj7Sfje8x
++6yhdFO07LMqy4HV4krZY6O2mGQA8NWLGs9+0q2oKQDgeLIjlnzNnVaIx4DsliPsrredfettzX7y
+9aAbFVey2TvCt4TxTNKbm2ZaXtS+bzZu85CoM7p5uCG47KDyCXPTDNDY9s3MTNZ0m2Zhp51Dkq3y
+2kS1+Jr8l0GHFksEkhTTiHDJEgGGY6vYe099OW2i+t5BNbKrnller0xa3KCDhpV+hp8uiw8ibAyJ
+LzDDTjL9QMnYHVQ9Kea4o94ZvIdn2pIHrR0hAJAFfDLlCAx+Kep3ECg3jjAyodhsEykl4qZoLdhv
+yfA3kdNMcqI9bQfxjKWHkVlYG2PtqA2ATjS/xNBumPCeSDu7bwIQrz54zVU3YHyVOMeJ+KQmH1/Z
+5gmAwVJtqxg1LvLAkxJXffGb6Vorfoe1rtU33uy6Ku2X70ZuOZ+N0/BzCLNxWl1KmADcOc0TRivP
+zcxpwZfQbJzGdcNunOYbRj0aG8slLAAyCxuntdTELCuCefSkEwDkNL8wavWl8XLrDEAvBkBP0Lci
+dB5EK+FMTRwESfSPXxFwPcfKvtcgSO7tKzPbiqDD601Nam+8JrIVr04mIyODUOokZz2LjGxtHgtj
+BtHPJXnWSG9Jw8RploFx31qdzSTcP0ejhpH2HIfHIL54d9ayDULXAvZxPKyo8ZnY4iG+kTCpyarO
+MaaJhaGUHIXddRAOqvNhc3uT/XPrIM/+eXRaILEEl5R5ej5Dz+OYFT8PUnkzentR/mnX6qWbnfSy
+fs4QXsrreSq6vWBe5RT6JB914KPvKt5d1WzpYede18ynmVtEEFh/0E0gvSyjiXukWnpHj8u1qF1O
+BPVfPD3ZokXBskr34LUAWN6I0eC8eHHVJ8eQ9deqSSPE56znc8HUGDnXedVo4IOkDc1X6dl4Zjt8
+jFnafXbHFZStseO6H2MfPEvGdisG4BBzoU4DlcTRgB0UCwrAPq8F58bhYxMGSBwS90gL54HxM1rk
+Etvr0Y0h4GXkvqMkSX8gS2l56CMNLrARgSsyicyt2/6qth8al5BHG3G2gmEzv25sGRwXPxLPkcLh
+w1PdlsZfYO7/Kll3eFatRe9FIbxVzfoA6QRv4RcXkEf1DXNjQx4ernRqN5ep58LJz8pr5fLxEPem
+GrzJxsLNTyuv7/O2RCPXKVlzneVN1WCZc5pxF8pHJVRJ50ldAM4B+P0NBrHnvJ64Oif7EbhvcS4a
+vyQKoLL+iaVplzSMwpbbB7L6l0Zt0yVn/GJ4TrgTWsa+7aXIPii/r+hZzDfZ2AxVjAQxF15JccLH
+yWollg6DiHNnK1E2P0O1wLFx8F//RyuQ1Wqqc/INc1ZAXAsfIF1v4J/mOa05kG948gf+Etiue88S
+tkk02LUM56h6d9YslaOpcLVa2TtL6enTT5nr3GcUsnlqpD8uteS96jebOGUqkei0CbKJU6YStW1y
+39nEKVOJgGaibOKUqUSSfphkK3Qds6PbPH9b6T6ym53QvApNJ53hzxfpIt8WO8+v3Xr79x0wN/wi
+/S8H/8V/1fQiL6QWBVmGP2Rsrd8v/BL67c//1W9/+J9++3P43/+9yIcX612AdZss9Ifl14fha6/b
+7v9+MUPaLvbqp9vlxcyi5aVbeGl9MQQj5G7hLegRJruutzju24VfuMUC/nPxu4Vffsj/RA6a+thW
+xn8O4J+EIKd4WVjkElw6DV4D/pAVVRRx9Ak1JYk8tqXkVErAH2mBl5X04kUbAdApAobf41878OsN
+2n63KC3uLV7dcIuPC/zixTEQROITiqgIi3FeUBMqp/CLEDfxAp+QZEFhWnmOTwhKiscmMSEIqryY
+khOpNOnESwlBVaTFh4VfFCGR4mQVGjkYmySmFmUIiEQJWlJ8ghel1KKSSsiqCA2KlJDpWypEoYKc
+XozL8EwEdGDleE5JqAIHQ5PTCSBAmjaqCV5Jp2mjABMnjQBZBcgIUZEkGRtT6QTH8fJiXFUSUopP
+L6Z5wKFCp7SQAJrBygMsQQYQMFYROgN+GArPKwmYehpbU4m0whEWSSgpRMrzfCItcdIiLyHlRaYF
+X5UBDK/wbD9FTvApnIQJDSYrSWnVhjbNJRQVB2MMD36onKSYMwBAQB1JNeeJLwK4FCcCBoUD+qoC
+oQhA41OKhXQCl06oUlomjVyaS5FGWDolraaMxcA2QUkIIrbpKyYIXEJSFJFZVT6tJsQ0x1tXn08J
+MCNJYrgE6JGAwadYXhplugdHVoTBPMFKarIhwExlUUCGUOkgPrERGE6WcFZAaQ6GUYdGJZ1ICSpP
+GiUeaIiNEoxNwRHLOHSVtskJWRLgbQWWAhkPG2XgAC4Fs00hW6Zg/hK8oaTIkqmwTKq6KPCpBMxR
+xtHC/EWZzF/gge68iIQCnlFVTl4UkDllAZtEISGJCpAEWFHhcR15UQapEtTFEo6FB8ZLiUwrDkYF
+JlUJRYHOnAyiBSNKCGmUFhifyAuLo4QpEcIBjwIRZA0gAgGCAWfIwHRMYx1JDLzJS9oYpZSwqOJC
+KilmIkChdFpWrBOG7lwKgYGw8qqIpAICSDAJNQ2EAqaFQXAKLAuheoqODYVHRc0BlBbToHzJRBOc
+qqiWJcNVTKE8gWApikDagBxKGiVPnyu0xUFA0iqOjVBEAqwJGWDIGtUUVVocJQYlkgBzF0RRYsgO
+VBJBC4iyKFsXQ5QAWIowPQiTIIvpRVHmACMQI67CqqQkYVGEF0AGUEWhxqaLK4oiCB+sVVxKwTyh
+G4IDZhIlsD9xGRiCo3QQOSEhcqgeZQFIqWg9gblVLk0oBsuTJo080IfHKYHUpUDURNA6UoooNF57
+12F2dNqilAYyp2yzToHQpngbC0o4TJ7QAoYhczBrCfgcxBJeBz4BCVcWxTQsEdHBwMYgKwKZdRpZ
+GplNhFmnZToXUGcqhyoRevKgV0kjaAlJQr6RgFAAjDbCbxmoDeIn8FRixRRHFKIAXLgoqjBKTuCp
+XKppfnF0WpoowHqCupWt85Vw8YQ0b5uvCqZOJCICawGIYL4wTZlHBlOALxSYiCQDow==
+ ]]>
+ <![CDATA[
+ C8gKIAJpsIvI1rC2oDhhEqD8QFTIekoiWCwRLSJwOHALUTEwRGBepJ8IhkKm3C7BW5yAogLUElWJ
+vg58K/M8vK6iIIHUA8+DbhdREDkQREFRFh1mp00bOEPi0oJVBcg8DE8R01YdAHYX4KJUogVSQGPL
+MDglhVIkKfgDPCSwAwJhQ3hNpDIkpcHGSGgc0JQIKUrDFIgzLAoOMiGnFY2wkt4IMs7JKdpTTIg4
+dCENWAl1ZCA7SpSC6ndRJosgpzTjk4aZO0yLzvcUdMZiKLx4ca47VvR/kR90qFKigLoenScVLRLh
+YREYDEwvLEYavSgeTahs+cGhh6X5VegzpYAFABAgB5EHX0dBmsKIlDTRoOB4pEUgI9ogjshSWgbN
+lwbyyQlF4BWmBTQokBbGJTONsL7gp5AXRXTvgM9RrilwcCJQ0aGtkdFiITRQekIK1L+ABjRFBqaC
+iwV8DS2qjKoIlAf1KoiR0ruhSke4AroQaD+AxUGMgDQiLjRR/6iFuBRV9oomzaBaYY7AGGA+FYVH
++QHNCIZ0EaQC1ko0G6hzR/wSo80kIFCEU8FOMyRFnSASh4BpROVJ9AQgBnlMu7Wl0f9C/gA5TOMo
+UDNKYGllZBPmb/RUgSISkRm9EcghqSLOBh0fAfQKcCCoOqQxqJw0clzJaf2pn8Kj747+b4pMFt7l
+VdAdn2wjuF7ECIK643hBI4EKGgcpp3mFegsyBygCYnL1NnOuMtpXVE1Gi46w5DQKOsTIKZUFeAMV
+H8p6GrwTXqJev94IFhRWWiAKiAc+Aw9RpKsuy2CZQO+BS4ASqq8oWCFgRlGwrHsaSJYiPKS1pZGq
+Kr4GtpvwjdkC/ClojqDZCAsjoBCCrwm6jhERtOraUBlRwrAlZW3lwZdNUc8tLVL7zANvC4pKllmF
+GIIjFMNWmcQLRmvd0pqG9RGpC4IyAf6W6tYKNFVBUkkjSIhKPFG0neBLgRcPKistEBkB/Z0G/2dx
+dDmoOiPRIHrDaUFEOoIxh4CCrhVoZFESKa+qwJi4ThB2aEyvyOCEAoMlVG2mWhMJcNCIC2w/aIEl
+JxIEIwLtZWkC7ZiSFP1VrRWCOLDhadJR4YkJBVYT0EpgBAXeKA4Y2FxOKVpcBRZBILoIgjwFTScP
+VlBNETqiW8OrZMSpFJmW1kKWVQItRiIIo5uxqhhdIgaGSgBeBFeIrCoQVpKoHgN1rEgiQ2vwj6iu
+YZskqpBKFnEAXUOiubq1VSGGiyeGS2LUweiKPVilL52inoDJP5+WVtQwyL112go0Vu2tQHUZvS0S
+JcIUgGmR9gzngzJMy7xqExHwmGDZUpaOIA+CzI4GdCgYbRLGYKgCQk/eBXqBdyNTMySA94Lrm+bI
+MMCKQ4QssU0wAOLIkleNVoy4qBPEpzBiU9NujTjUFHUP2VZALWEsjJxKfIkUOs+gpDHoFRSihPQm
+ElgDl9NXzY5g70RJpusjS5gFAmoALk2ppwRZoO+CCpPIQoJFhb9EEvdyJMSH4YG1UNgW0RQyo9Gc
+GkbR2vgcG1ldMsohVgWOjhDIibKI3hUvpdBRAXVAPRYO/iOSDBBEVzB39HRkWUhLPPFiaOZHQMNO
+w20wLjIGlhhOE7c2RVQ7CKesYHIsBcE/CSEk9BsBHKhP0GqEt0x1LwAfpVKipu9VDDrqllZMBKiK
+Hp8D1WVGQyDItEwoBk0kKATPlk7dbEI0wIVKSrR0hBGmeDlNm9IqDAxjeJivZhbRUSAeE7A8dckA
+Gw9e8yLTBAOFXylLk0jzStZ3mXUSMP5Np3jXVmahZRQBPu3WqC9C3XFprKsvSpjqoUoI11glNoFp
+BXEhDhA4lhAZ8wLrXWLWi7dqBcwoEM/dbMWcAnEqTWBMk471gWZltFaZBAASSVBICp0qZQ8Dqcku
+ODTqa2hdzNHrcBym+WB6WgLaShLsAjepAqWB2ag7dRhPpykJUEehQjJGozfgcDB2piQwuoFpo3kW
+E5jZpCMl75qtMk0jYRNoEs20yWARTKx6wwMdrkDSAkYrMy0N1uhEreaEeAkiZmNJRMnaFGwFbkpT
+OyFgxhibOJIbNCIVtgnMiCgSjodIG+ybyHhOoq7gGG6CQUrUm2D4SZQxDaOyHhumTuQ0HR/EFuCp
+sE0pjMBE+q7ZqhIvFiiHUqKSiBcVD9AV8ILaTIsayRWe0wIUUCI8iUfAl1dAdZMUQTpNfCBQHITJ
+McuRklKaByBLNAFrbSV+Qd3SCp4G0YciBp8SWQ9YM04khAF/hM5Xb0KIMH5BUnm2o4KRPfXfVYzx
+F3HIiqpo+pHIKiEC2HoNrea31GnOhvwGocEMKehzER0WSWRFDWM/LUozhQ2spSzzjC+O+RpZlTVj
+JHK4RMBnmr7Vdf8Dzf6Q1Y9jelvAVoljRyejv8Q0oe+ACTfyrtEKdFQ5GvAzjZj/UlTytkQTEsAc
+6ZSM6Tqw89TE6PxccuRyJvZiFgvCSGLXUQbQYxAI92BSExMsuAx6R5GqKrYJ/BZ0ZQhDGa2w6rKM
+VALQhFymzyOi10w5Qm/SGEoVebaVHaAKSwkqnm0CDJg3LDnO5GNU5kFiDD1LTcqnpVEP3eu0VUmT
+DL6lFTQARHKUoUD7QDgJkNKyxOhqSRbokrAMJYH8kSyf2Q3WHdxIwj0KXSQJUyAKCdyYLIKE3rQ2
+ahiUBHSR0FcVUwzPYv5ITaWsJkMCHUbT+kY38JME1AeEAirmioEMQHaZ9WAeMKUEEqjy2vyJ18A2
+weQxxGGa0NeV6Q4L08oYeSNv5dyoK29rI/WAJN3CmLGKBEwqkThTb3mgiciULMiWfgKNd4iGEzH7
+yzapNP9I3jVa2fGBBhEpROdWdthMq+ZVYRMEbQIdENE7EqbEVRL/6U2IXcQ9PkpbvSOmLTkdHFkB
+tknDq72rtbJjBIMqqhzv2mo6VaNiYcoOmyA09lxnTwwiU9GwCkMLjvrSyN64dbtIEpeEJ3kcmkqc
+JbMJQxBcev1VLeQFo4ZbcClM7WOUqbeo6DKArJgvqiK1tviigUDB7RYYnjkKo8UYLPsiyECayKoB
+32gxxjAyywenqX+MpGL9/K4Xtf36SveR7NbH8ZjL6mH7udPot18/cPv+edD+k85iu9vtDdvDzhc8
+WnzudwbDXr+zOHjp/Q5b8CXjhdXVykF14Zf/D0EhMrA=
+ ]]>
+</i:pgf>
+</svg>
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/ajaxLoad.gif b/mayor-orig/mayor-base/www/skin/classic/base/img/ajaxLoad.gif
new file mode 100644
index 00000000..ab584bdf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/ajaxLoad.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/alert.png b/mayor-orig/mayor-base/www/skin/classic/base/img/alert.png
new file mode 100644
index 00000000..ae0b97e6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/alert.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/favicon.ico b/mayor-orig/mayor-base/www/skin/classic/base/img/favicon.ico
new file mode 100644
index 00000000..b62f5763
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/favicon.ico
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/flags/de_DE.gif b/mayor-orig/mayor-base/www/skin/classic/base/img/flags/de_DE.gif
new file mode 100644
index 00000000..eec5b66b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/flags/de_DE.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/flags/en_US.gif b/mayor-orig/mayor-base/www/skin/classic/base/img/flags/en_US.gif
new file mode 100644
index 00000000..06fdc66b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/flags/en_US.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/flags/hu_HU.gif b/mayor-orig/mayor-base/www/skin/classic/base/img/flags/hu_HU.gif
new file mode 100644
index 00000000..8a85f033
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/flags/hu_HU.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/flags/jp_JP.gif b/mayor-orig/mayor-base/www/skin/classic/base/img/flags/jp_JP.gif
new file mode 100644
index 00000000..b4100239
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/flags/jp_JP.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/gradient.jpg b/mayor-orig/mayor-base/www/skin/classic/base/img/gradient.jpg
new file mode 100644
index 00000000..57d9afbc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/gradient.jpg
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/gradient.png b/mayor-orig/mayor-base/www/skin/classic/base/img/gradient.png
new file mode 100644
index 00000000..e9a9cfca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/gradient.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl-flip.png b/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl-flip.png
new file mode 100644
index 00000000..5021cec5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl-flip.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl-marc15.png b/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl-marc15.png
new file mode 100644
index 00000000..84a84068
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl-marc15.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl-santa.png b/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl-santa.png
new file mode 100644
index 00000000..bdd10d8b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl-santa.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl.gif b/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl.gif
new file mode 100644
index 00000000..378ffb88
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl.jpg b/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl.jpg
new file mode 100644
index 00000000..74e323c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl.jpg
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl.png b/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl.png
new file mode 100644
index 00000000..ca42a8d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/mayor_small_ssl.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/policy/parent.gif b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/parent.gif
new file mode 100644
index 00000000..cbb71a41
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/parent.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/policy/parent100.gif b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/parent100.gif
new file mode 100644
index 00000000..1d14530b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/parent100.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/policy/parent100.png b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/parent100.png
new file mode 100644
index 00000000..9537b1ba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/parent100.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/policy/private.gif b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/private.gif
new file mode 100644
index 00000000..238bc04b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/private.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/policy/private100.gif b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/private100.gif
new file mode 100644
index 00000000..82faef04
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/private100.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/policy/private100.png b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/private100.png
new file mode 100644
index 00000000..f2716596
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/private100.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/policy/public.gif b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/public.gif
new file mode 100644
index 00000000..21a7298c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/public.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/policy/public100.gif b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/public100.gif
new file mode 100644
index 00000000..368c7a4d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/public100.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/img/policy/public100.png b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/public100.png
new file mode 100644
index 00000000..8aee3a73
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/img/policy/public100.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/javascript/base.jquery.min.js b/mayor-orig/mayor-base/www/skin/classic/base/javascript/base.jquery.min.js
new file mode 100644
index 00000000..7241d8a8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/javascript/base.jquery.min.js
@@ -0,0 +1,977 @@
+var debug = false;
+function _debug(str) {
+ if (debug) console.log(str);
+}
+
+// A $.getScript hívás cache-eléséért...
+$.ajaxSetup({
+ cache: true
+});
+
+includeCSS = function(href) {
+ for (i = 0; i < arguments.length; i++) {
+ href = arguments[i];
+ var cssLink = $("<link>");
+ $("head").append(cssLink); //IE hack: append before setting href
+ cssLink.attr({
+ rel: "stylesheet",
+ type: "text/css",
+ href: href+'?r='+$('body').data('mayorrev')
+ });
+ }
+};
+
+// Hogy az aloldalak megváják az alábbi modulok betöltését...
+$.holdReady(true);
+ // A korábbi loadJs megoldás helyett...
+ includeCSS(
+ "skin/classic/share/javascript/jquery-ui/css/base/jquery-ui.min.css",
+ "skin/classic/share/javascript/jquery-ui/css/base/jquery-ui-timepicker-addon.css"
+ );
+
+ $.getScript("skin/classic/share/javascript/jquery-ui/jquery-ui.min.js").done(function() {
+ $.getScript("skin/classic/share/javascript/jquery-ui/i18n/jquery.ui.datepicker-hu.min.js").done(function() {
+ $.getScript("skin/classic/share/javascript/jquery-ui/jquery-ui-timepicker-addon.js").done(function() {
+ $.getScript("skin/classic/share/javascript/jquery-ui/i18n/jquery-ui-timepicker-hu.js").done(function() {
+ $.holdReady(false);
+ });
+ });
+ });
+ });
+
+
+$(document).ready(function() {
+
+ /*var isMobile = false;
+ if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)
+ || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4))) isMobile = true;
+ */
+
+ $('body').bind('click', mayorClick);
+ $('body').bind('change', mayorChange);
+ $('body').bind('keypress', mayorKeyPress);
+ $('body').bind('keydown', mayorKeyDown);
+ $('body').bind('submit', mayorSubmit);
+
+ $(window).resize(mayorNavResize);
+ if ($(document).width()>$(window).width()) mayorNavResize();
+ $('#leftsideclose').bind('click', mayorNavResize);
+
+ if (e = $('#focus')) e.focus(); // A focus id-t használhatjuk automatikus fokuszálásra... (ld. login)
+ // A loadUrl id-t használhatjuk automatikus betöltésre... hol használunk ilyet? Például a download oldalon.
+ loadElement = $('#loadUrl');
+ if (loadElement.length > 0) { window.location.replace(loadElement.attr('href')); }
+
+ $('.date').datepicker({ dateFormat: "yy-mm-dd" });
+ $('.datetime').datetimepicker({ dateFormat: "yy-mm-dd", timeFormat: "HH:mm", controlTypee: "select" });
+ $('#hideHelp').click(function() { $('#takaro').hide(); });
+ $('#help').draggable();
+ $('#updateWindow').draggable({ handle: '#updateHeader' });
+ var uwNext = {'width': '100%', 'top': '10px', 'left': '0px' };
+ $('#updateHeader').dblclick(function(event) {
+ tmp = $('#updateWindow').css(['width','top','left']);
+ $('#updateWindow').css(uwNext);
+ uwNext = tmp;
+ });
+
+ // hibakijelzés
+ mayorErrorCounter = 0;
+ $('#mayorErrorSmall').hover(
+ function() {
+ if ($('#mayorErrorSmall div').height() > 25 ) {
+ var h = $('#mayorErrorSmall div').height();
+ if (h>=300) h=300;
+ $('#mayorErrorSmall').css('overflow','auto');
+ $('#mayorErrorSmall').stop().animate({height: h+"px"}, 400);
+ }
+ mayorErrorCounter++;
+ },
+ function() {
+ if ($('#mayorErrorSmall').hasClass('closedbyuser')==true) return;
+ if ($('#mayorErrorSmall div').height() > 25 ) {
+ $('#mayorErrorSmall').css('overflow','hidden');
+ }
+ if (mayorErrorCounter>3) {
+ $('#mayorErrorSmall').slideUp( 300 );
+// $('#mayorErrorSign').show().animate({ color: 'red'}, 1000).delay(1000).animate({color: "#778899"}, 1000);
+ $('#mayorErrorSign').fadeIn(300);
+ } else {
+ $('#mayorErrorSmall').stop().animate({height: "20px"}, 200);
+ }
+ }
+ );
+
+// !!!!!!!!!!!!!!!!!!!
+// !!!!!!!!!!!!!!!!!!! DEV
+// $('#mayorNav').toggle();
+
+ $('#hamburgerIcon').click(function(){
+ window.scrollTo(0, 0);
+ $(this).toggleClass('nyitva').toggleClass('is-active');
+ $('#mayorNav').toggle();
+ });
+
+ $('.hamburger').click(function(){
+ window.scrollTo(0, 0);
+ $(this).toggleClass('is-active');
+ $('#mayorNav').toggle();
+ });
+
+ // --TODO mayorClick()
+ $('#mayorErrorHide').click(function(){
+ mayorErrorCounter=0;
+ $('#mayorErrorSmall').addClass('closedbyuser').fadeOut('fast');
+ $('#mayorErrorSign').fadeIn('fast');
+ });
+ // --TODO mayorClick();
+ $('#mayorErrorSign').click(function(){
+ mayorErrorCounter=0;
+ $('#mayorErrorSmall').slideDown(100);
+ $('#mayorErrorSign').fadeOut();
+ });
+ // --TODO mayorSubmit
+ $('#mayorGlobalLogin form.check').submit(function() {
+ var inputs = $('#mayorGlobalLogin form input');
+ for (i=0 ; i<inputs.length; i++) {
+ if (inputs[i].name==='userAccount' || inputs[i].name==='userPassword') {
+ if ($(inputs[i]).val() === '') {
+ $(inputs[i]).prev().addClass('failed');
+ return false;
+ }
+ }
+ }
+ $('#mayorGlobalLogin form').submit();
+ });
+ $('#mayorGlobalLogin form input').focus(function(event) {
+ $(event.target).prev().removeClass('failed');
+ });
+ $('#mayorGlobalLogin div.large').hover(function(event) {
+ $(event.target).removeClass('icon-lock').addClass('icon-unlock');
+ },function(event) {
+ $(event.target).removeClass('icon-unlock').addClass('icon-lock');
+ }
+ );
+ $('#mayorGlobalLogin form.fb').submit(function() { // facebook
+ FB.getLoginStatus(function(response) {
+ if (response.status === 'connected') {
+ mayor_facebookconnect_redirect();
+ } else if (response.status === 'not_authorized') {
+ FB.login(function(loginResponse) {
+ if (loginResponse.status=='connected') {
+ mayor_facebookconnect_redirect();
+ }
+ });
+ } else {
+ FB.login(function(loginResponse) {
+ if (loginResponse.status=='connected') {
+ mayor_facebookconnect_redirect();
+ }
+ });
+ }
+ },true);
+ return false;
+ });
+
+ $('#logo').on('dragstart', function(event) { event.preventDefault(); });
+
+ // onLoadUpdate
+ $('.onLoadUpdate').each( function(index, element) {
+ var formElement = $(element).closest('form');
+ updateForm(formElement, $(element));
+ });
+
+ var url = document.URL;
+ if (url.indexOf('policy=private')>0) {
+ if ($('#SESSION_ALERT_TIME').val() !== undefined) {
+ var sessionAlertTime = $('#SESSION_ALERT_TIME').val();
+ if (sessionAlertTime>0) setTimeout('mayorSessionTimeOutAlert()',sessionAlertTime);
+ }
+ if ($('#SESSION_MAX_IDLE_TIME').val() !== undefined) {
+ var sessionMaxIdleTime = $('#SESSION_MAX_IDLE_TIME').val();
+ if (sessionMaxIdleTime>0) setTimeout('mayorSessionTimedOut()',sessionMaxIdleTime);
+ }
+ }
+ $('form').preventDoubleSubmission();
+
+});
+
+/*
+ .gsub --> .replace
+ .up --> parents()[0] = parent(), vagy inkább closest?
+ include --> indexOf() > -1
+ .down --> .find
+ $F() --> .val()
+*/
+
+(function($) {
+ var re = /([^&=]+)=?([^&]*)/g;
+ var decode = function(str) {
+ return decodeURIComponent(str.replace(/\+/g, ' '));
+ };
+ $.parseParams = function(query) {
+ var params = {}, e;
+ if (query) {
+ if (query.substr(0, 1) == '?') {
+ query = query.substr(1);
+ }
+
+ while (e = re.exec(query)) {
+ var k = decode(e[1]);
+ var v = decode(e[2]);
+ if (params[k] !== undefined) {
+ if (!$.isArray(params[k])) {
+ params[k] = [params[k]];
+ }
+ params[k].push(v);
+ } else {
+ params[k] = v;
+ }
+ }
+ }
+ return params;
+ };
+})(jQuery);
+
+mayorKeyDown = function(event) {
+ var element = $(event.target);
+ var charKeyCode = event.keyCode ? event.keyCode : event.which;
+ var shiftKey = event.shiftKey ? event.shiftKey : ((charKeyCode == 16) ? true : false);
+ var altKey = event.altKey ? event.altKey : ((charKeyCode == 18) ? true : false);
+ var ctrlKey = event.ctrlKey ? event.ctrlKey : ((charKeyCode == 17) ? true : false);
+
+ // Esc - WebKit csak keyup esetén
+ if (charKeyCode==27) { // Esc
+ $('#takaro').hide(); // takaró elem
+ $('#keyHelp').hide(); // gyorsbillentyűk
+ $('#help').hide(); // súgó
+ $('.inlinehelp .openable').hide(); // helyi súgó
+ $('#mayorSearch').hide(); // kereső
+ if ($('#inform') !== null) $('#inform').parent('div').hide(); // haladási/tanmenet
+ if ($('#haladform') !== null) $('#haladform').parent('div').hide(); // haladási/tankör órái
+ if ($('#jegyAdat') !== null) $('#jegyAdat').hide(); // osztályozó/tankor
+ if ($('#updateWindow').is(':visible')) {
+ $('#updateWindow').hide(); // update ablak
+ if ($.isFunction(hideUpdateLayer)) hideUpdateLayer();
+ }
+ if ($('#updateWindowSideSub').hasClass('nyitva') ) {
+ $('#updateWindowSideSub').removeClass('nyitva');
+ } else if ($('#updateWindowSide').hasClass('nyitva') ) {
+ $('#updateWindowSide').removeClass('nyitva'); // update ablak (jobb oldal)
+ if ($.isFunction(hideUpdateWindowSide)) hideUpdateWindowSide();
+ } else if (ctrlKey) { //nyitjuk
+ $('#updateWindowSide').addClass('nyitva');
+ //$('#updateWindowSideSub').toggleClass('nyitva');
+ }
+ } else if (charKeyCode==112) { // F1 - Help // charKeyCode==121 F10
+ var params = $.parseParams(window.location.toString().split('?')[1] || '' );
+ var page=params.page?params.page:'';
+ var sub=params.sub?params.sub:'';
+ var f=params.f?params.f:'';
+ var url = "http://wiki.mayor.hu/doku.php?id="+page+":"+sub+":"+f;
+ var helpElement = $('#help');
+ if (typeof(helpElement) === 'undefined' || helpElement === null) {
+ window.open(url,'help');
+ } else {
+ if (helpElement.css('display') == 'none') helpElement.children('iframe').prop('src',url);
+ $('#takaro').fadeToggle('fast'); // takaró elem
+ helpElement.fadeToggle('fast');
+ }
+// event.stopImmediatePropagation();
+ event.preventDefault();
+// event.stopPropagation();
+ } else if (charKeyCode==86 && ctrlKey && shiftKey) { // Ctrl-Shift-V: Vakbarát nézet
+ if (location.toString().indexOf('skin')>-1) {
+ window.location = location.toString().replace(/skin=([^&]*)/,'skin=vakbarat');
+ } else {
+ if (location.toString().indexOf('?')>-1) window.location = location.toString()+'&skin=vakbarat';
+ else window.location = location.toString()+'?skin=vakbarat';
+ }
+ } else if (charKeyCode==38) { // fel nyíl
+ if (element.closest('#mayorSearch').length == 1) {
+ $('#mayorSearch *:focus').removeClass('aktiv').prev('a').focus();
+ $('#mayorSearch a:focus').addClass('aktiv');
+ event.preventDefault();
+ }
+ } else if (charKeyCode==40) { // le nyíl
+ if (element.closest('#mayorSearch').length == 1) {
+ $('#mayorSearch *:focus').removeClass('aktiv').next('a').focus();
+ $('#mayorSearch a:focus').addClass('aktiv');
+ event.preventDefault();
+ }
+ } else {
+ }
+
+}
+
+mayorKeyPress = function(event) {
+ var element = $(event.target);
+ var charKeyCode = event.keyCode ? event.keyCode : event.which;
+ var shiftKey = event.shiftKey ? event.shiftKey : ((charKeyCode == 16) ? true : false);
+ var altKey = event.altKey ? event.altKey : ((charKeyCode == 18) ? true : false);
+ var ctrlKey = event.ctrlKey ? event.ctrlKey : ((charKeyCode == 17) ? true : false);
+
+ if ($('capsLockWarning')) {
+ var s = String.fromCharCode( event.which );
+ if ( s.toUpperCase() === s && s.toLowerCase() !== s && !event.shiftKey ) {
+ $('#capsLockWarning').show();
+ } else {
+ $('#capsLockWarning').hide();
+ }
+ }
+
+ // formon belül
+ if(event.target.type!='text' && event.target.type!='textarea' && event.target.type!='select' && event.target.type!='select-one' && event.target.type!='password') {
+ var location = window.location.toString();
+ if (charKeyCode==63) { // ?: Help
+ $('#takaro').toggle();
+ $('#keyHelp').toggle();
+ } else if (charKeyCode==83) { // S: settings
+ $('#settings').toggle();
+ } else if (charKeyCode==70 || charKeyCode==95) { // F,_: find
+ $('#mayorSearch').toggle();
+ event.preventDefault();
+ $('#mayorSearch input[type=text]').focus();
+ } else if (charKeyCode==68) { // D: debug
+ $('#debug').toggle();
+// } else if (charKeyCode==104) {
+// alert('Alt-H: HELP: '+event.altKey+event.target.type);
+ } else if (charKeyCode==76) { // L: login/logout
+ if (location.indexOf('policy=private')>-1 || location.indexOf('policy=parent')>-1) {
+ window.location = window.location.toString().replace(/page=([^&]*)/,'page=session').replace(/sub=([^&]*)/,'sub=').replace(/f=([^&]*)/,'f=logout').replace(/policy=([^&]*)/,'policy=public');
+ } else {
+ if (location.indexOf('?')>-1) {
+ // window.location = window.location.toString().replace(/page=([^&]*)/,'page=auth').replace(/sub=([^&]*)/,'sub=').replace(/f=([^&]*)/,'f=login').replace(/policy=([^&]*)/,'policy=public');
+ window.location=window.location.toString().replace(/\?(.*)/,'')+'?page=auth&f=login';
+ } else {
+ window.location = window.location+'?page=auth&sub=&f=login&policy=public';
+ }
+ }
+ } else {
+ }
+ }
+}
+
+mayorClick = function(event) {
+ var element = $(event.target);
+ $('body').data('lastClick',element);
+ $('.inlinehelp .openable:visible').hide();
+ $('#mayorSearch:visible').hide();
+ if (element.hasClass('confirm')) {
+ // A confirm elemre kattintva a form jóváhagyását előbb jóvá kell hagyni
+ if (!confirm(element.prop('title'))) {
+ event.preventDefault();
+ }
+ }
+ if (element.hasClass('onClickHideShow')) {
+ var o = element.parents('.hideShowContainer').find('.openable').toggle();
+ event.preventDefault();
+ }
+
+ if (element.hasClass('onClickHide')) {
+ // Az onClickHide elem kattintásra becsukja a hozzárendelt elemet. A hozzárendelés
+ // az id-ben történik: 'hide'+ElemId+[':'+elemId2...]
+ var id = element[0].id;
+ if (id && id.substring(0,4) == 'hide') {
+ var openables = ('#'+id.charAt(4).toLowerCase()+ id.substring(5).replace(':',', #') );
+ $(openables).hide();
+ }
+ }
+ if (element.hasClass('onClickShow')) {
+ // Az onClickShow elem kattintásra kinyitja a hozzárendelt elemet, miközben a többi
+ // őt tartalmazó hideShowContainer-en belüli openable elemet becsukaja. A hozzárendelés
+ // az id-ben történik: 'show'+ElemId+[':'+elemId2...]
+ var container = element.parents('.hideShowContainer');
+ var openable = container.find('.openable').hide();
+ var onclickshow = container.find('.onClickShow').removeClass('selected');
+ var id = element[0].id;
+ if (id && id.substring(0,4) == 'show') {
+ var openables = ('#'+id.charAt(4).toLowerCase()+ id.substring(5).replace(':',', #') );
+ $(openables).show();
+ }
+ element.addClass('selected');
+ }
+ if (element[0].id == 'updateCloseButtonClick') {
+ if ($('#updateWindow').is(':visible')) {
+ $('#updateWindow').hide();
+ $('#takaro').hide();
+ if ($.isFunction(hideUpdateLayer)) hideUpdateLayer();
+ }
+ }
+ if (element[0].id == 'btn_updateWindowSideClose') {
+ //if ($('#updateWindowSide').is(':visible')) {
+ $('#updateWindowSideSub').removeClass('nyitva');
+ $('#updateWindowSide').removeClass('nyitva');
+ if ($.isFunction(hideUpdateWindowSide)) hideUpdateWindowSide();
+ //}
+ }
+ if (element[0].id == 'btn_updateWindowSideSubClose') {
+ $('#updateWindowSideSub').removeClass('nyitva');
+ if ($.isFunction(hideUpdateWindowSideSub)) hideUpdateWindowSideSub();
+ }
+ if (element.hasClass('onClickUpdateAction')) {
+//TODO - check
+ element.parents('form').find('input[name=action]').val(element[0].id);
+ }
+ if (element.hasClass('onClickUpdateWindow')) {
+ // A kattintott elem href paraméteréből vett url-ből kiveszi a getParameters-ben megadott
+ // paramétereken kívüli paramétereket, ezeket post paraméterként rakja az updateForm-ba.
+ // Az url "maradéka" pedig a form action-be kerül, végül update-eli a form-ot...
+ formElement = $('#updateForm');
+ formElement.html('');
+ var origUrl = '', title = '';
+ if (element.prop('title')) $('#updateHeader').html(element.prop('title'));
+ if (element.prop('href')) origUrl = element.prop('href');
+ var pos = origUrl.indexOf("?");
+ if (pos != -1) url = origUrl.substr(0,pos);
+ else url = origUrl;
+ var getParameters = ["page", "sub", "f", "lang", "sessionID", "policy"];
+ var separator = '?';
+
+ var o = $.parseParams( origUrl.split('?')[1] );
+ $.each(o,function(key,value) {
+ if (getParameters.indexOf(key) != -1) {
+ url = url+separator+key+'='+value;
+ separator='&';
+ } else if (key == 'skin') {
+ url = url+separator+'skin=ajax';
+ separator='&';
+ } else {
+ //formElement.insert({ bottom: new Element('input', {type : 'hidden', name : key, value : value}) });
+ jQuery('<input/>').attr('type','text').attr('name',key).attr('value',value).appendTo(formElement);
+ }
+ });
+
+ formElement.prop('action',url);
+ updateForm(formElement, element);
+// event.stopImmediatePropagation();
+ event.preventDefault();
+ event.stopPropagation();
+ }
+ if (element.hasClass('onClickUpdate')) {
+ event.preventDefault();
+ // Az onClickUpdate class tagjaira kattintva update-eli az őket tartalmazó formot
+ var formElement = element.parents("form");
+ updateForm(formElement, element);
+ event.preventDefault();
+ event.stopPropagation();
+// jQuery.post(url);
+ }
+ if (event.target.id == 'nav2fullmenu') {
+ $('#nav2').find('.fullmenuitem').toggle();
+ $('#nav2').find('.nav2menuitem').toggle();
+ $('#nav2fullmenu').toggleClass('aktiv');
+ }
+ if (event.target.id ==='skin-oldschool') {
+ mayorSkinChange('oldschool');
+ }
+ if (event.target.id ==='skin-vakbarat') {
+ mayorSkinChange('vakbarat');
+ }
+}
+
+
+
+
+// || event.target.id ==='mayorNaviSearchIcon') {
+
+
+mayorSkinChange = function(toSkin) {
+ if (location.toString().indexOf('skin')>-1) {
+ window.location = location.toString().replace(/skin=([^&]*)/,'skin='+toSkin);
+ } else {
+ if (location.toString().indexOf('?')>-1) window.location = location.toString()+'&skin='+toSkin;
+ else window.location = location.toString()+'?skin='+toSkin;
+ }
+}
+
+mayorChange = function(event) {
+
+ var element = $(event.target);
+
+ if (element.hasClass('onChangeSubmit') && window.location.toString().indexOf('skin=vakbarat')<=0) {
+ element.parents('form').submit();
+ }
+ if (element.closest('form.onChangeRequest').length > 0) {
+ var formElement = element.closest('form.onChangeRequest');
+
+ var uriOrig = formElement.attr('action');
+ var uri = formElement.attr('action').replace(/skin=([^&]*)/,'skin=ajax')+'&request=true';
+
+ // input class="ajaxOption"-ban megadott value="onChangeRequestStop" tudja tiltani az eseményt (új szülő felvétele - diakSzulo oldal)
+ var ajaxRequestOK = (formElement.find('input.ajaxOption[value=onChangeRequestStop]').length == 0);
+ // A class="DOA" - disable on ajax req - elemek letiltása
+ formElement.find('.DOA').prop('disabled',true);
+
+ formElement.attr('action', uri);
+ element.addClass('ajaxRequest');
+ if (ajaxRequestOK) {
+ ajaxRequest(formElement, {
+ onSuccess: function(transport, status, xhr) {
+ element.addClass('ajaxRequestDone');
+ element.removeClass('ajaxRequest');
+ element.removeClass('ajaxRequestError');
+ formElement.find('.DOA').prop('disabled',false).removeClass('ajaxRequest');
+ // Egyedi kezelőfüggvény meghívása
+ // pre-be pl.: $_JSON['onSuccess']['func'] = 'myTestFunc'; $_JSON['onSuccess']['param'] = array('txt' => 'Hahó');
+ // js-be pl.: myTestFunc = function(param) { console.log('myTestFunc: '+param.txt); }
+ if (transport.onSuccess && transport.onSuccess.func && $.isFunction(window[transport.onSuccess.func]))
+ window[transport.onSuccess.func](transport.onSuccess.param);
+
+ },
+ onFailure: function() {
+ element.addClass('ajaxRequestError');
+ element.removeClass('ajaxRequest');
+ element.removeClass('ajaxRequestDone');
+ formElement.find('.DOA').prop('disabled',false).removeClass('ajaxRequest');
+ }
+ });
+ }
+ formElement.attr('action', uriOrig);
+
+ }
+
+
+ if (element.hasClass('onChangeUpdate')) {
+ // Az onChangeUpdate class tagjaira kattintva update-eli az őket tartalmazó formot
+
+
+ var formElement = $(element).closest('form');
+ updateForm(formElement, $(element));
+ event.preventDefault();
+ event.stopPropagation();
+ }
+
+
+
+}
+
+function ucfirst(str) {
+ var f = str.charAt(0).toUpperCase();
+ return f + str.substr(1);
+}
+function lcfirst(str) {
+ var f = str.charAt(0).toLowerCase();
+ return f + str.substr(1);
+}
+
+
+mayorSubmit = function(event) {
+ var element = $(event.target);
+ var formElement;
+ if (element.is('form')) {
+ formElement = element;
+ // elmentettük a body.data.lastClick - be, hogy mi volt az utolsó clicked elem
+ var element2 = $('body').data('lastClick');
+ } else {
+ formElement = element.parents('form');
+ }
+ if (formElement.hasClass('onSubmitUpdate')) {
+ event.preventDefault();
+ // Az onSubmitUpdate class-ba sorolt formok submit esetén update-elve lesznek - !! az összes submit elmegy !!
+ updateForm(formElement, element2);
+ event.stopImmediatePropagation();
+ event.stopPropagation();
+ return false;
+ } else if (element.attr('id') == 'mayorSearch') {
+ //$('#nav li.active a:contains()')
+ $('#mayorSearch a').remove();
+ var pattern = $('#mayorSearch input[type=text]').val();
+ $('#nav li a:contains('+pattern+')').clone().appendTo('#mayorSearch');
+ if (pattern!=lcfirst(pattern))
+ $('#nav li a:contains('+lcfirst(pattern)+')').clone().appendTo('#mayorSearch');
+ if (pattern!=ucfirst(pattern))
+ $('#nav li a:contains('+ucfirst(pattern)+')').clone().appendTo('#mayorSearch');
+/* $('#nav li.active a:contains('+pattern+')').clone().appendTo('#mayorSearch');
+ if (pattern!=lcfirst(pattern))
+ $('#nav li.active a:contains('+lcfirst(pattern)+')').clone().appendTo('#mayorSearch');
+ if (pattern!=ucfirst(pattern))
+ $('#nav li.active a:contains('+ucfirst(pattern)+')').clone().appendTo('#mayorSearch');
+*/
+ return false;
+ }
+}
+/*
+var lastScrollLeft = 0;
+$(window).scroll(function() {
+ var documentScrollLeft = $(document).scrollLeft();
+ if (lastScrollLeft != documentScrollLeft) {
+ //console.log('scroll x'+documentScrollLeft);
+ lastScrollLeft = documentScrollLeft;
+ }
+ //mayorNavResize();
+});
+*/
+
+var mayorLoaderCounter = 0;
+mayorLoaderStart = function() {
+ mayorLoaderCounter++;
+ $('#poz li:first').addClass('mayorLoader');
+}
+mayorLoaderStop = function() { // override by naplo.js
+ $('#poz li:first').removeClass('mayorLoader');
+}
+
+
+mayorNavResize = function(event) {
+ if (event===undefined) return true;
+
+ var wi = $(window).width();
+ var navElem = $('#nav2');
+ var mayorbodyElem = $('#mayorbody');
+ var mayorfootElem = $('#mayorfoot');
+ var smallWidth = false;
+ if (event.target.id == "leftsideclose") swap=true; else swap = false;
+ if (navElem) {
+ if ($(document).width()>$(window).width()+140) smallWidth = true;
+ if ((swap || wi<1100 || smallWidth) && navElem.hasClass('vertical')) {
+ mayorbodyElem.removeClass('leftpad').addClass('toppad');
+ mayorfootElem.removeClass('leftpad').addClass('toppad');
+ navElem.removeClass('vertical').addClass('horizontal');
+// navElem.addClass('horizontal');
+// mayorbodyElem.addClass('toppad');
+// mayorfootElem.addClass('toppad');
+ new $.ajax('/index.php?skin=ajax&request=true&page=session&sub=&f=set&policy=public&layout=1', {
+ method: 'get',
+ success: function(transport) {
+ }
+ });
+ } else if
+ ((swap || (wi>=1100 && !smallWidth)) && navElem.hasClass('horizontal')) {
+ mayorbodyElem.removeClass('toppad').addClass('leftpad');
+ mayorfootElem.removeClass('toppad').addClass('leftpad');
+ navElem.removeClass('horizontal').addClass('vertical');
+// navElem.addClass('vertical');
+// mayorbodyElem.addClass('leftpad');
+// mayorfootElem.addClass('leftpad');
+ new $.ajax('/index.php?skin=ajax&request=true&page=session&sub=&f=set&policy=public&layout=0', {
+ method: 'post',
+ success: function(transport) {
+ }
+ });
+ } else {
+ //console.log('Nothing to do');
+ }
+ } else {
+ //console.log('Not ready');
+ }
+ /*if ($('#nav1').data('nav1count')==0) { // ha nincs nav1 menu, akkor engedélyezzük a nav dinamikus resize-ját (igen ám, de inicializálásnál ugrál)
+ $('nav').show();
+ var navSize = 140+$('#mayorGlobalLogin').width() + 0;
+ $('#nav>li').each(function() {
+ navSize+=($(this).width());
+ if (navSize>$('#mayorhead').width()) {
+ $(this).hide();
+ } else {
+ $(this).show();
+ }
+ });
+ }*/
+
+}
+
+updateForm = function(formElement, submitElement) {
+
+ var url = formElement.attr('action').replace(/skin=([^&]*)/,'skin=ajax');
+// szerintem ez mpst nem kell... ?
+// formElement.find('input[type=submit]').prop('disabled',true);
+// submitElement.prop('disabled',false);
+ if (submitElement && submitElement.attr('name')!==undefined) options = { submitClass: submitElement.attr('class'), submitName: submitElement.attr('name'), submitValue: submitElement.val() };
+ else options = false;
+ ajaxUpdate(formElement, url, options);
+
+}
+
+/**
+ * Az options paraméterben át kell adni az átadandó submit elem nevét és értékét, mert a serializeArray nem teszi be!
+ * , és a serialize()???
+**/
+ajaxUpdate = function(container, url, options) {
+
+ mayorLoaderStart();
+ postData = container.serializeArray();
+ if (options) postData.push({ name: options.submitName, value: options.submitValue });
+ postData.push({ name: 'mayorToken', value : $('body').data('mayortoken') });
+
+ $.ajax(url,{
+ data: postData,
+ type: 'POST',
+ success: function(transport, status, xhr){
+ var contentType=xhr.getResponseHeader('Content-type');
+ if (contentType.indexOf('application/json')>-1 || contentType.indexOf('text/html')>-1) {
+ if ( typeof transport.html !== 'undefined' && transport.html !== null) {
+ container.html(transport.html);
+ if ($.isFunction(showUpdateLayer)) showUpdateLayer(options);
+ } else if ($.isFunction(processJSON)) {
+ processJSON(transport);
+ } else {
+ }
+ } else {
+ container.html(xhr.responseText);
+ }
+ if (options && options.onSuccess && $.isFunction(options.onSuccess)) options.onSuccess(transport, status, xhr);
+ // IE bubbling? A most betöltött form-okra...
+ },
+ error: function (xhr,status,errText) { // Type: Function( jqXHR jqXHR, String textStatus, String errorThrown )
+ _debug(status);
+ _debug(errText);
+ updateSalt(xhr.getResponseHeader('Etag'));
+ },
+ complete: function(xhr, status) {
+ mayorLoaderStop();
+ updateSalt(xhr.getResponseHeader('Etag'));
+ }
+ });
+}
+
+ajaxRequest = function(formElement, options) {
+
+ var url = formElement.attr('action').replace(/skin=([^&]*)/,'skin=ajax');
+ var adat = formElement.serializeArray();
+ adat.push({ name: 'mayorToken', value : $('body').data('mayortoken') });
+
+ mayorLoaderStart();
+ $.ajax(url,{
+ data: adat,
+ type: 'POST',
+ success: function(transport, status, xhr){
+ if (options && options.onSuccess && $.isFunction(options.onSuccess)) options.onSuccess(transport, status, xhr);
+ },
+ error: function (xhr,status,errText) { // Type: Function( jqXHR jqXHR, String textStatus, String errorThrown )
+ _debug('stat: '+status);
+ _debug('errTxt: '+errText);
+ if (options && options.onFailure && $.isFunction(options.onFailure)) options.onFailure(xhr,status,errText);
+ },
+ complete: function(xhr, status) {
+ mayorLoaderStop();
+ updateSalt(xhr.getResponseHeader('Etag'));
+ }
+
+ });
+}
+
+var showUpdateLayer = function() {}
+var processJSON;
+updateSalt = function(etagHeader) {
+ if (etagHeader !== null) {
+ /**
+ * A header Etag mezője (__SALTVALUE-__SALTNAME[-...]) alapján frissítjük az input.salt mezőket
+ **/
+ etagArray=etagHeader.split("-");
+ $('input.salt').each(
+ function(index) {
+ // tömörített oldalküldés (?) esetén a web-szerver
+ if ($(this).prop('name') == etagArray[1]) $(this).val(etagArray[0]);
+ }
+ );
+ $('input.mayorToken').each(
+ function(index) {
+ if ($(this).prop('name') == 'mayorToken') $(this).val(etagArray[2]);
+ }
+ );
+ $('body').data('mayortoken',etagArray[2]);
+ }
+}
+
+// Hasznos függvények
+// string funkciók
+function LTrim(str) { return str.replace(/\s*((\S+\s*)*)/, "$1"); }
+function RTrim(str) { return str.replace(/((\s*\S+)*)\s*/, "$1"); }
+function Trim(str) { return LTrim(RTrim(str)); }
+
+// formátum-ellenőrzők
+function IsEmpty(str) {
+ return (str === null | Trim(str) === "") ? true : false;
+}
+
+function IsEmail(str) {
+ var reEmail = /^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/;
+ return (str) ? reEmail.test(Trim(str)) : false;
+}
+
+function IsInteger(str) {
+ var reInteger = /^[+-]?\d+?$/;
+ return (str) ? reInteger.test(Trim(str)) : false;
+}
+
+function IsNumber(str) {
+ var reNumber = /^[+-]?\d+([,\.]\d+)?$/;
+ return (str) ? reNumber.test(Trim(str)) : false;
+}
+
+function IsHexa(str) {
+ var reString = /^[0-9A-Fa-f]*?$/;
+ return (str) ? reString.test(Trim(str)) : false;
+}
+
+function IsDate(str) {
+ var reDate = /^(19|20)\d\d([-/.])(0[1-9]|1[0-2])\2(0[1-9]|[12][0-9]|3[01])$/;
+ return (str) ? reDate.test(Trim(str)) : false;
+}
+
+function CorrectDate(str) {
+ if (IsDate(str))
+ return Trim(str).replace(/^(\d{4})[-/.](\d{2})[-/.](\d{2})$/, "$1.$2.$3");
+ else
+ return null;
+}
+
+mayorSessionTimeOutAlert();
+
+function mayorSessionTimeOutAlert() {
+ $('#takaro').fadeIn();
+ $('#updateWindow').fadeIn();
+ $('#updateForm').html('<div class="infoMsg" style="margin-bottom:20px;">A munkamenet hamarosan lejár!</div>').fadeIn();
+ $('body,html').animate({scrollTop: 0}, 800);
+}
+
+function mayorSessionTimedOut() {
+// $('#takaro').fadeOut();
+// $('.infoMsg').fadeOut();
+// $('#mayorhead').append('<div id="mayorbodytakaro" style="background-color: rgba(100,100,100,0.1);z-index: inherit;height:100%;width:100%; position:absolute; top:0px;"><div class="errorMsg" style="margin-top:130px;">A munkamenet lejárt, kérjük jelentkezzen be újra!</div></div>').fadeIn();
+ $('#mayorbody').fadeOut();
+ window.location.replace(location.origin);
+}
+
+jQuery.fn.preventDoubleSubmission = function() {
+ $(this).on('submit',function(e){
+ var $form = $(this);
+ if ($form.data('submitted') === true) {
+ e.preventDefault();
+ } else {
+ $form.data('submitted', true);
+ }
+ });
+ return this;
+};
+
+/* teszt
+function isNear( $element, distance, event ) {
+ var left = $element.offset().left - distance,
+ top = $element.offset().top - distance,
+ right = left + $element.width() + ( 2 * distance ),
+ bottom = top + $element.height() + ( 2 * distance ),
+ x = event.pageX,
+ y = event.pageY;
+ return ( x > left && x < right && y > top && y < bottom );
+};
+*/
+
+function href(p) {
+ var get = '';
+ $.each( p, function( key, value ) { get += key + "=" + value + "&"; });
+ return ('index.php?policy=private&'+get+'sessionID='+$('body').data('sessionid')).replace('&','&#38;');
+}
+
+$(document).ready(function() { // facebook
+
+ if (typeof(FB_APP_ID)!=='undefined' && FB_APP_ID!='') {
+
+ window.fbAsyncInit = function() {
+ FB.init({
+ appId : FB_APP_ID,
+ cookie : true,
+ xfbml : true,
+ version : 'v2.2'
+ });
+ FB.getLoginStatus(function(response) {
+ if (response.status === 'connected') {
+ $('#mglFBconnect').removeClass('FBstatusunknown').addClass('FB2');
+ } else if (response.status === 'not_authorized') {
+ $('#mglFBconnect').removeClass('FBstatusunknown').addClass('FB1');
+ } else {
+ $('#mglFBconnect').removeClass('FBstatusunknown').addClass('FB0');
+ }
+ }); // ,true - ha nem cache-elt változat kell
+ FB.Event.subscribe('auth.login', my_login_event);
+ FB.Event.subscribe('auth.logout', my_logout_event);
+ FB.Event.subscribe('auth.authResponseChange', my_authResponseChange_event);
+ };
+ // Load the SDK asynchronously
+ (function(d, s, id) {
+ var js, fjs = d.getElementsByTagName(s)[0];
+ if (d.getElementById(id)) return;
+ js = d.createElement(s); js.id = id;
+ js.src = "//connect.facebook.net/en_US/sdk.js";
+ fjs.parentNode.insertBefore(js, fjs);
+ }(document, 'script', 'facebook-jssdk'));
+ }
+}); // doc ready
+
+var my_login_event = function() {
+ //console.log('***facebook login event');
+}
+
+var my_logout_event = function() {
+ //console.log('***facebook logout event');
+}
+
+var my_authResponseChange_event = function(response) {
+ //console.log('***authResponseChange');
+}
+
+var mayor_facebookconnect_redirect = function() {
+ var origUrl = $(location).attr('href');
+ var pos = origUrl.indexOf("?");
+ if (pos != -1) url = origUrl+'&action=facebooklogin';
+ else url = origUrl+'?action=facebooklogin';
+ window.location = url;
+}
+
+
+// Az ajax hívások vésszatérési értékét feldolgozó és a layer-t megjelenítő függvény változók inicializálása (hogy ne legyen undefined)
+var showUpdateLayer = function() {};
+var hideUpdateLayer = function() {};
+var showUpdateWindowSide = function() {};
+var hideUpdateWindowSide = function() {};
+var showUpdateWindowSideSub = function() {};
+var hideUpdateWindowSideSub = function() {};
+var processJSON;
+
+$(document).ready(function() { // még több click eseménykezelő!
+ $('#mayorMenuSearchIcon').on('click',function(event) {
+ $('#mayorSearch').show();
+ event.preventDefault();
+ event.stopImmediatePropagation(); // STOP mayorClick
+ $('#mayorSearch input[type=text]').focus();
+ });
+ $('#mayorNaviSearchIcon').on('click',function(event) {
+ $('#mayorSearch').show();
+ event.preventDefault();
+ event.stopImmediatePropagation(); // STOP mayorClick
+ $('#mayorSearch input[type=text]').focus();
+ });
+
+ //gapi.load('auth2', function() {
+ // gapi.auth2.init();
+ //});
+ if (typeof(GOOGLEAPI_CLIENT_ID)!=='undefined' && GOOGLEAPI_CLIENT_ID!='') {
+ startGoogleAuth();
+ }
+});
+
+// GOOGLE
+var googleUser = {};
+var startGoogleAuth = function() {
+ gapi.load('auth2', function(){
+ auth2 = gapi.auth2.init({
+ client_id: GOOGLEAPI_CLIENT_ID,
+ cookiepolicy: 'single_host_origin',
+ });
+ attachSignin(document.getElementById('googleLoginBtn'));
+ });
+};
+function attachSignin(element) {
+ auth2.attachClickHandler(element, {},
+ function(googleUser) {
+ var id_token = googleUser.getAuthResponse().id_token;
+ var origUrl = $(location).attr('href');
+ var pos = origUrl.indexOf("?");
+ if (pos != -1) url = origUrl+'&action=googleapilogin'+'&id_token='+id_token;
+ else url = origUrl+'?action=googleapilogin'+'&id_token='+id_token;
+ window.location = url;
+ }, function(error) {
+ // alert(JSON.stringify(error, undefined, 2));
+ });
+}
+// GOOGLE
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/javascript/jquery-1.8.3.min.js b/mayor-orig/mayor-base/www/skin/classic/base/javascript/jquery-1.8.3.min.js
new file mode 100644
index 00000000..83589daa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/javascript/jquery-1.8.3.min.js
@@ -0,0 +1,2 @@
+/*! jQuery v1.8.3 jquery.com | jquery.org/license */
+(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else r=t}return r}function B(e){var t;for(t in e){if(t==="data"&&v.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function at(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ft(e,t,n){t=t||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=v.grep(e,function(e){return e.nodeType===1});if(it.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,function(e,r){return v.inArray(e,t)>=0===n})}function lt(e){var t=ct.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!==1||!v.hasData(e))return;var n,r,i,s=v._data(e),o=v._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r<i;r++)v.event.add(t,n,u[n][r])}o.data&&(o.data=v.extend({},o.data))}function Ot(e,t){var n;if(t.nodeType!==1)return;t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),n=t.nodeName.toLowerCase(),n==="object"?(t.parentNode&&(t.outerHTML=e.outerHTML),v.support.html5Clone&&e.innerHTML&&!v.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):n==="input"&&Et.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):n==="option"?t.selected=e.defaultSelected:n==="input"||n==="textarea"?t.defaultValue=e.defaultValue:n==="script"&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(v.expando)}function Mt(e){return typeof e.getElementsByTagName!="undefined"?e.getElementsByTagName("*"):typeof e.querySelectorAll!="undefined"?e.querySelectorAll("*"):[]}function _t(e){Et.test(e.type)&&(e.defaultChecked=e.checked)}function Qt(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Jt.length;while(i--){t=Jt[i]+n;if(t in e)return t}return r}function Gt(e,t){return e=t||e,v.css(e,"display")==="none"||!v.contains(e.ownerDocument,e)}function Yt(e,t){var n,r,i=[],s=0,o=e.length;for(;s<o;s++){n=e[s];if(!n.style)continue;i[s]=v._data(n,"olddisplay"),t?(!i[s]&&n.style.display==="none"&&(n.style.display=""),n.style.display===""&&Gt(n)&&(i[s]=v._data(n,"olddisplay",nn(n.nodeName)))):(r=Dt(n,"display"),!i[s]&&r!=="none"&&v._data(n,"olddisplay",r))}for(s=0;s<o;s++){n=e[s];if(!n.style)continue;if(!t||n.style.display==="none"||n.style.display==="")n.style.display=t?i[s]||"":"none"}return e}function Zt(e,t,n){var r=Rt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function en(e,t,n,r){var i=n===(r?"border":"content")?4:t==="width"?1:0,s=0;for(;i<4;i+=2)n==="margin"&&(s+=v.css(e,n+$t[i],!0)),r?(n==="content"&&(s-=parseFloat(Dt(e,"padding"+$t[i]))||0),n!=="margin"&&(s-=parseFloat(Dt(e,"border"+$t[i]+"Width"))||0)):(s+=parseFloat(Dt(e,"padding"+$t[i]))||0,n!=="padding"&&(s+=parseFloat(Dt(e,"border"+$t[i]+"Width"))||0));return s}function tn(e,t,n){var r=t==="width"?e.offsetWidth:e.offsetHeight,i=!0,s=v.support.boxSizing&&v.css(e,"boxSizing")==="border-box";if(r<=0||r==null){r=Dt(e,t);if(r<0||r==null)r=e.style[t];if(Ut.test(r))return r;i=s&&(v.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+en(e,t,n||(s?"border":"content"),i)+"px"}function nn(e){if(Wt[e])return Wt[e];var t=v("<"+e+">").appendTo(i.body),n=t.css("display");t.remove();if(n==="none"||n===""){Pt=i.body.appendChild(Pt||v.extend(i.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement)Ht=(Pt.contentWindow||Pt.contentDocument).document,Ht.write("<!doctype html><html><body>"),Ht.close();t=Ht.body.appendChild(Ht.createElement(e)),n=Dt(t,"display"),i.body.removeChild(Pt)}return Wt[e]=n,n}function fn(e,t,n,r){var i;if(v.isArray(t))v.each(t,function(t,i){n||sn.test(e)?r(e,i):fn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&v.type(t)==="object")for(i in t)fn(e+"["+i+"]",t[i],n,r);else r(e,t)}function Cn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i,s,o=t.toLowerCase().split(y),u=0,a=o.length;if(v.isFunction(n))for(;u<a;u++)r=o[u],s=/^\+/.test(r),s&&(r=r.substr(1)||"*"),i=e[r]=e[r]||[],i[s?"unshift":"push"](n)}}function kn(e,n,r,i,s,o){s=s||n.dataTypes[0],o=o||{},o[s]=!0;var u,a=e[s],f=0,l=a?a.length:0,c=e===Sn;for(;f<l&&(c||!u);f++)u=a[f](n,r,i),typeof u=="string"&&(!c||o[u]?u=t:(n.dataTypes.unshift(u),u=kn(e,n,r,i,u,o)));return(c||!u)&&!o["*"]&&(u=kn(e,n,r,i,"*",o)),u}function Ln(e,n){var r,i,s=v.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((s[r]?e:i||(i={}))[r]=n[r]);i&&v.extend(!0,e,i)}function An(e,n,r){var i,s,o,u,a=e.contents,f=e.dataTypes,l=e.responseFields;for(s in l)s in r&&(n[l[s]]=r[s]);while(f[0]==="*")f.shift(),i===t&&(i=e.mimeType||n.getResponseHeader("content-type"));if(i)for(s in a)if(a[s]&&a[s].test(i)){f.unshift(s);break}if(f[0]in r)o=f[0];else{for(s in r){if(!f[0]||e.converters[s+" "+f[0]]){o=s;break}u||(u=s)}o=o||u}if(o)return o!==f[0]&&f.unshift(o),r[o]}function On(e,t){var n,r,i,s,o=e.dataTypes.slice(),u=o[0],a={},f=0;e.dataFilter&&(t=e.dataFilter(t,e.dataType));if(o[1])for(n in e.converters)a[n.toLowerCase()]=e.converters[n];for(;i=o[++f];)if(i!=="*"){if(u!=="*"&&u!==i){n=a[u+" "+i]||a["* "+i];if(!n)for(r in a){s=r.split(" ");if(s[1]===i){n=a[u+" "+s[0]]||a["* "+s[0]];if(n){n===!0?n=a[r]:a[r]!==!0&&(i=s[0],o.splice(f--,0,i));break}}}if(n!==!0)if(n&&e["throws"])t=n(t);else try{t=n(t)}catch(l){return{state:"parsererror",error:n?l:"No conversion from "+u+" to "+i}}}u=i}return{state:"success",data:t}}function Fn(){try{return new e.XMLHttpRequest}catch(t){}}function In(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function $n(){return setTimeout(function(){qn=t},0),qn=v.now()}function Jn(e,t){v.each(t,function(t,n){var r=(Vn[t]||[]).concat(Vn["*"]),i=0,s=r.length;for(;i<s;i++)if(r[i].call(e,t,n))return})}function Kn(e,t,n){var r,i=0,s=0,o=Xn.length,u=v.Deferred().always(function(){delete a.elem}),a=function(){var t=qn||$n(),n=Math.max(0,f.startTime+f.duration-t),r=n/f.duration||0,i=1-r,s=0,o=f.tweens.length;for(;s<o;s++)f.tweens[s].run(i);return u.notifyWith(e,[f,i,n]),i<1&&o?n:(u.resolveWith(e,[f]),!1)},f=u.promise({elem:e,props:v.extend({},t),opts:v.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:qn||$n(),duration:n.duration,tweens:[],createTween:function(t,n,r){var i=v.Tween(e,f.opts,t,n,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(i),i},stop:function(t){var n=0,r=t?f.tweens.length:0;for(;n<r;n++)f.tweens[n].run(1);return t?u.resolveWith(e,[f,t]):u.rejectWith(e,[f,t]),this}}),l=f.props;Qn(l,f.opts.specialEasing);for(;i<o;i++){r=Xn[i].call(f,e,l,f.opts);if(r)return r}return Jn(f,l),v.isFunction(f.opts.start)&&f.opts.start.call(e,f),v.fx.timer(v.extend(a,{anim:f,queue:f.opts.queue,elem:e})),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always)}function Qn(e,t){var n,r,i,s,o;for(n in e){r=v.camelCase(n),i=t[r],s=e[n],v.isArray(s)&&(i=s[1],s=e[n]=s[0]),n!==r&&(e[r]=s,delete e[n]),o=v.cssHooks[r];if(o&&"expand"in o){s=o.expand(s),delete e[r];for(n in s)n in e||(e[n]=s[n],t[n]=i)}else t[r]=i}}function Gn(e,t,n){var r,i,s,o,u,a,f,l,c,h=this,p=e.style,d={},m=[],g=e.nodeType&&Gt(e);n.queue||(l=v._queueHooks(e,"fx"),l.unqueued==null&&(l.unqueued=0,c=l.empty.fire,l.empty.fire=function(){l.unqueued||c()}),l.unqueued++,h.always(function(){h.always(function(){l.unqueued--,v.queue(e,"fx").length||l.empty.fire()})})),e.nodeType===1&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],v.css(e,"display")==="inline"&&v.css(e,"float")==="none"&&(!v.support.inlineBlockNeedsLayout||nn(e.nodeName)==="inline"?p.display="inline-block":p.zoom=1)),n.overflow&&(p.overflow="hidden",v.support.shrinkWrapBlocks||h.done(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t){s=t[r];if(Un.exec(s)){delete t[r],a=a||s==="toggle";if(s===(g?"hide":"show"))continue;m.push(r)}}o=m.length;if(o){u=v._data(e,"fxshow")||v._data(e,"fxshow",{}),"hidden"in u&&(g=u.hidden),a&&(u.hidden=!g),g?v(e).show():h.done(function(){v(e).hide()}),h.done(function(){var t;v.removeData(e,"fxshow",!0);for(t in d)v.style(e,t,d[t])});for(r=0;r<o;r++)i=m[r],f=h.createTween(i,g?u[i]:0),d[i]=u[i]||v.style(e,i),i in u||(u[i]=f.start,g&&(f.end=f.start,f.start=i==="width"||i==="height"?1:0))}}function Yn(e,t,n,r,i){return new Yn.prototype.init(e,t,n,r,i)}function Zn(e,t){var n,r={height:e},i=0;t=t?1:0;for(;i<4;i+=2-t)n=$t[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function tr(e){return v.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:!1}var n,r,i=e.document,s=e.location,o=e.navigator,u=e.jQuery,a=e.$,f=Array.prototype.push,l=Array.prototype.slice,c=Array.prototype.indexOf,h=Object.prototype.toString,p=Object.prototype.hasOwnProperty,d=String.prototype.trim,v=function(e,t){return new v.fn.init(e,t,n)},m=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,g=/\S/,y=/\s+/,b=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,w=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,T=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,N=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,C=/^-ms-/,k=/-([\da-z])/gi,L=function(e,t){return(t+"").toUpperCase()},A=function(){i.addEventListener?(i.removeEventListener("DOMContentLoaded",A,!1),v.ready()):i.readyState==="complete"&&(i.detachEvent("onreadystatechange",A),v.ready())},O={};v.fn=v.prototype={constructor:v,init:function(e,n,r){var s,o,u,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?s=[null,e,null]:s=w.exec(e);if(s&&(s[1]||!n)){if(s[1])return n=n instanceof v?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:i,e=v.parseHTML(s[1],a,!0),E.test(s[1])&&v.isPlainObject(n)&&this.attr.call(e,n,!0),v.merge(this,e);o=i.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2])return r.find(e);this.length=1,this[0]=o}return this.context=i,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return v.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),v.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=v.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,t==="find"?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return v.each(this,e,t)},ready:function(e){return v.ready.promise().done(e),this},eq:function(e){return e=+e,e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(l.apply(this,arguments),"slice",l.call(arguments).join(","))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:[].sort,splice:[].splice},v.fn.init.prototype=v.fn,v.extend=v.fn.extend=function(){var e,n,r,i,s,o,u=arguments[0]||{},a=1,f=arguments.length,l=!1;typeof u=="boolean"&&(l=u,u=arguments[1]||{},a=2),typeof u!="object"&&!v.isFunction(u)&&(u={}),f===a&&(u=this,--a);for(;a<f;a++)if((e=arguments[a])!=null)for(n in e){r=u[n],i=e[n];if(u===i)continue;l&&i&&(v.isPlainObject(i)||(s=v.isArray(i)))?(s?(s=!1,o=r&&v.isArray(r)?r:[]):o=r&&v.isPlainObject(r)?r:{},u[n]=v.extend(l,o,i)):i!==t&&(u[n]=i)}return u},v.extend({noConflict:function(t){return e.$===v&&(e.$=a),t&&e.jQuery===v&&(e.jQuery=u),v},isReady:!1,readyWait:1,holdReady:function(e){e?v.readyWait++:v.ready(!0)},ready:function(e){if(e===!0?--v.readyWait:v.isReady)return;if(!i.body)return setTimeout(v.ready,1);v.isReady=!0;if(e!==!0&&--v.readyWait>0)return;r.resolveWith(i,[v]),v.fn.trigger&&v(i).trigger("ready").off("ready")},isFunction:function(e){return v.type(e)==="function"},isArray:Array.isArray||function(e){return v.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):O[h.call(e)]||"object"},isPlainObject:function(e){if(!e||v.type(e)!=="object"||e.nodeType||v.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!="string"?null:(typeof t=="boolean"&&(n=t,t=0),t=t||i,(r=E.exec(e))?[t.createElement(r[1])]:(r=v.buildFragment([e],t,n?null:[]),v.merge([],(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;t=v.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(S.test(t.replace(T,"@").replace(N,"]").replace(x,"")))return(new Function("return "+t))();v.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(s){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&v.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&g.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(C,"ms-").replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,s=0,o=e.length,u=o===t||v.isFunction(e);if(r){if(u){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;s<o;)if(n.apply(e[s++],r)===!1)break}else if(u){for(i in e)if(n.call(e[i],i,e[i])===!1)break}else for(;s<o;)if(n.call(e[s],s,e[s++])===!1)break;return e},trim:d&&!d.call("\ufeff\u00a0")?function(e){return e==null?"":d.call(e)}:function(e){return e==null?"":(e+"").replace(b,"")},makeArray:function(e,t){var n,r=t||[];return e!=null&&(n=v.type(e),e.length==null||n==="string"||n==="function"||n==="regexp"||v.isWindow(e)?f.call(r,e):v.merge(r,e)),r},inArray:function(e,t,n){var r;if(t){if(c)return c.call(t,e,n);r=t.length,n=n?n<0?Math.max(0,r+n):n:0;for(;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,s=0;if(typeof r=="number")for(;s<r;s++)e[i++]=n[s];else while(n[s]!==t)e[i++]=n[s++];return e.length=i,e},grep:function(e,t,n){var r,i=[],s=0,o=e.length;n=!!n;for(;s<o;s++)r=!!t(e[s],s),n!==r&&i.push(e[s]);return i},map:function(e,n,r){var i,s,o=[],u=0,a=e.length,f=e instanceof v||a!==t&&typeof a=="number"&&(a>0&&e[0]&&e[a-1]||a===0||v.isArray(e));if(f)for(;u<a;u++)i=n(e[u],u,r),i!=null&&(o[o.length]=i);else for(s in e)i=n(e[s],s,r),i!=null&&(o[o.length]=i);return o.concat.apply([],o)},guid:1,proxy:function(e,n){var r,i,s;return typeof n=="string"&&(r=e[n],n=e,e=r),v.isFunction(e)?(i=l.call(arguments,2),s=function(){return e.apply(n,i.concat(l.call(arguments)))},s.guid=e.guid=e.guid||v.guid++,s):t},access:function(e,n,r,i,s,o,u){var a,f=r==null,l=0,c=e.length;if(r&&typeof r=="object"){for(l in r)v.access(e,n,l,r[l],1,o,i);s=1}else if(i!==t){a=u===t&&v.isFunction(i),f&&(a?(a=n,n=function(e,t,n){return a.call(v(e),n)}):(n.call(e,i),n=null));if(n)for(;l<c;l++)n(e[l],r,a?i.call(e[l],l,n(e[l],r)):i,u);s=1}return s?e:f?n.call(e):c?n(e[0],r):o},now:function(){return(new Date).getTime()}}),v.ready.promise=function(t){if(!r){r=v.Deferred();if(i.readyState==="complete")setTimeout(v.ready,1);else if(i.addEventListener)i.addEventListener("DOMContentLoaded",A,!1),e.addEventListener("load",v.ready,!1);else{i.attachEvent("onreadystatechange",A),e.attachEvent("onload",v.ready);var n=!1;try{n=e.frameElement==null&&i.documentElement}catch(s){}n&&n.doScroll&&function o(){if(!v.isReady){try{n.doScroll("left")}catch(e){return setTimeout(o,50)}v.ready()}}()}}return r.promise(t)},v.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){O["[object "+t+"]"]=t.toLowerCase()}),n=v(i);var M={};v.Callbacks=function(e){e=typeof e=="string"?M[e]||_(e):v.extend({},e);var n,r,i,s,o,u,a=[],f=!e.once&&[],l=function(t){n=e.memory&&t,r=!0,u=s||0,s=0,o=a.length,i=!0;for(;a&&u<o;u++)if(a[u].apply(t[0],t[1])===!1&&e.stopOnFalse){n=!1;break}i=!1,a&&(f?f.length&&l(f.shift()):n?a=[]:c.disable())},c={add:function(){if(a){var t=a.length;(function r(t){v.each(t,function(t,n){var i=v.type(n);i==="function"?(!e.unique||!c.has(n))&&a.push(n):n&&n.length&&i!=="string"&&r(n)})})(arguments),i?o=a.length:n&&(s=t,l(n))}return this},remove:function(){return a&&v.each(arguments,function(e,t){var n;while((n=v.inArray(t,a,n))>-1)a.splice(n,1),i&&(n<=o&&o--,n<=u&&u--)}),this},has:function(e){return v.inArray(e,a)>-1},empty:function(){return a=[],this},disable:function(){return a=f=n=t,this},disabled:function(){return!a},lock:function(){return f=t,n||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],a&&(!r||f)&&(i?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},v.extend({Deferred:function(e){var t=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return v.Deferred(function(n){v.each(t,function(t,r){var s=r[0],o=e[t];i[r[1]](v.isFunction(o)?function(){var e=o.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===i?n:this,[e])}:n[s])}),e=null}).promise()},promise:function(e){return e!=null?v.extend(e,r):r}},i={};return r.pipe=r.then,v.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=o.fire,i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=l.call(arguments),r=n.length,i=r!==1||e&&v.isFunction(e.promise)?r:0,s=i===1?e:v.Deferred(),o=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?l.call(arguments):r,n===u?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){u=new Array(r),a=new Array(r),f=new Array(r);for(;t<r;t++)n[t]&&v.isFunction(n[t].promise)?n[t].promise().done(o(t,f,n)).fail(s.reject).progress(o(t,a,u)):--i}return i||s.resolveWith(f,n),s.promise()}}),v.support=function(){var t,n,r,s,o,u,a,f,l,c,h,p=i.createElement("div");p.setAttribute("className","t"),p.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0];if(!n||!r||!n.length)return{};s=i.createElement("select"),o=s.appendChild(i.createElement("option")),u=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!i.createElement("form").enctype,html5Clone:i.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",boxModel:i.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked=!0,t.noCloneChecked=u.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",h=function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick"),p.detachEvent("onclick",h)),u=i.createElement("input"),u.value="t",u.setAttribute("type","radio"),t.radioValue=u.value==="t",u.setAttribute("checked","checked"),u.setAttribute("name","t"),p.appendChild(u),a=i.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=u.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})f="on"+l,c=f in p,c||(p.setAttribute(f,"return;"),c=typeof p[f]=="function"),t[l+"Bubbles"]=c;return v(function(){var n,r,s,o,u="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=i.getElementsByTagName("body")[0];if(!a)return;n=i.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(n,a.firstChild),r=i.createElement("div"),n.appendChild(r),r.innerHTML="<table><tr><td></td><td>t</td></tr></table>",s=r.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=r.offsetWidth===4,t.doesNotIncludeMarginInBodyOffset=a.offsetTop!==1,e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px",o=i.createElement("div"),o.style.cssText=r.style.cssText=u,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!="undefined"&&(r.innerHTML="",r.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=r.offsetWidth===3,r.style.display="block",r.style.overflow="visible",r.innerHTML="<div></div>",r.firstChild.style.width="5px",t.shrinkWrapBlocks=r.offsetWidth!==3,n.style.zoom=1),a.removeChild(n),n=r=s=o=null}),a.removeChild(p),n=r=s=o=u=a=p=null,t}();var D=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;v.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(v.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?v.cache[e[v.expando]]:e[v.expando],!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,u=v.expando,a=typeof n=="string",f=e.nodeType,l=f?v.cache:e,c=f?e[u]:e[u]&&u;if((!c||!l[c]||!i&&!l[c].data)&&a&&r===t)return;c||(f?e[u]=c=v.deletedIds.pop()||v.guid++:c=u),l[c]||(l[c]={},f||(l[c].toJSON=v.noop));if(typeof n=="object"||typeof n=="function")i?l[c]=v.extend(l[c],n):l[c].data=v.extend(l[c].data,n);return s=l[c],i||(s.data||(s.data={}),s=s.data),r!==t&&(s[v.camelCase(n)]=r),a?(o=s[n],o==null&&(o=s[v.camelCase(n)])):o=s,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,o=e.nodeType,u=o?v.cache:e,a=o?e[v.expando]:v.expando;if(!u[a])return;if(t){r=n?u[a]:u[a].data;if(r){v.isArray(t)||(t in r?t=[t]:(t=v.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(i=0,s=t.length;i<s;i++)delete r[t[i]];if(!(n?B:v.isEmptyObject)(r))return}}if(!n){delete u[a].data;if(!B(u[a]))return}o?v.cleanData([e],!0):v.support.deleteExpando||u!=u.window?delete u[a]:u[a]=null},_data:function(e,t,n){return v.data(e,t,n,!0)},acceptData:function(e){var t=e.nodeName&&v.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),v.fn.extend({data:function(e,n){var r,i,s,o,u,a=this[0],f=0,l=null;if(e===t){if(this.length){l=v.data(a);if(a.nodeType===1&&!v._data(a,"parsedAttrs")){s=a.attributes;for(u=s.length;f<u;f++)o=s[f].name,o.indexOf("data-")||(o=v.camelCase(o.substring(5)),H(a,o,l[o]));v._data(a,"parsedAttrs",!0)}}return l}return typeof e=="object"?this.each(function(){v.data(this,e)}):(r=e.split(".",2),r[1]=r[1]?"."+r[1]:"",i=r[1]+"!",v.access(this,function(n){if(n===t)return l=this.triggerHandler("getData"+i,[r[0]]),l===t&&a&&(l=v.data(a,e),l=H(a,e,l)),l===t&&r[1]?this.data(r[0]):l;r[1]=n,this.each(function(){var t=v(this);t.triggerHandler("setData"+i,r),v.data(this,e,n),t.triggerHandler("changeData"+i,r)})},null,n,arguments.length>1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=v._data(e,t),n&&(!r||v.isArray(n)?r=v._data(e,t,v.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.length,i=n.shift(),s=v._queueHooks(e,t),o=function(){v.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v._data(e,n)||v._data(e,n,{empty:v.Callbacks("once memory").add(function(){v.removeData(e,t+"queue",!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length<r?v.queue(this[0],e):n===t?this:this.each(function(){var t=v.queue(this,e,n);v._queueHooks(this,e),e==="fx"&&t[0]!=="inprogress"&&v.dequeue(this,e)})},dequeue:function(e){return this.each(function(){v.dequeue(this,e)})},delay:function(e,t){return e=v.fx?v.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,s=v.Deferred(),o=this,u=this.length,a=function(){--i||s.resolveWith(o,[o])};typeof e!="string"&&(n=e,e=t),e=e||"fx";while(u--)r=v._data(o[u],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(a));return a(),s.promise(n)}});var j,F,I,q=/[\t\r\n]/g,R=/\r/g,U=/^(?:button|input)$/i,z=/^(?:button|input|object|select|textarea)$/i,W=/^a(?:rea|)$/i,X=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,V=v.support.getSetAttribute;v.fn.extend({attr:function(e,t){return v.access(this,v.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return e=v.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(y);for(n=0,r=this.length;n<r;n++){i=this[n];if(i.nodeType===1)if(!i.className&&t.length===1)i.className=e;else{s=" "+i.className+" ";for(o=0,u=t.length;o<u;o++)s.indexOf(" "+t[o]+" ")<0&&(s+=t[o]+" ");i.className=v.trim(s)}}}return this},removeClass:function(e){var n,r,i,s,o,u,a;if(v.isFunction(e))return this.each(function(t){v(this).removeClass(e.call(this,t,this.className))});if(e&&typeof e=="string"||e===t){n=(e||"").split(y);for(u=0,a=this.length;u<a;u++){i=this[u];if(i.nodeType===1&&i.className){r=(" "+i.className+" ").replace(q," ");for(s=0,o=n.length;s<o;s++)while(r.indexOf(" "+n[s]+" ")>=0)r=r.replace(" "+n[s]+" "," ");i.className=e?v.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n<r;n++)if(this[n].nodeType===1&&(" "+this[n].className+" ").replace(q," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a<u;a++){n=r[a];if((n.selected||a===i)&&(v.support.optDisabled?!n.disabled:n.getAttribute("disabled")===null)&&(!n.parentNode.disabled||!v.nodeName(n.parentNode,"optgroup"))){t=v(n).val();if(s)return t;o.push(t)}}return o},set:function(e,t){var n=v.makeArray(t);return v(e).find("option").each(function(){this.selected=v.inArray(v(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o<r.length;o++)i=r[o],i&&(n=v.propFix[i]||i,s=X.test(i),s||v.attr(e,i,""),e.removeAttribute(V?i:n),s&&n in e&&(e[n]=!1))}},attrHooks:{type:{set:function(e,t){if(U.test(e.nodeName)&&e.parentNode)v.error("type property can't be changed");else if(!v.support.radioValue&&t==="radio"&&v.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return j&&v.nodeName(e,"button")?j.get(e,t):t in e?e.value:null},set:function(e,t,n){if(j&&v.nodeName(e,"button"))return j.set(e,t,n);e.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,s,o,u=e.nodeType;if(!e||u===3||u===8||u===2)return;return o=u!==1||!v.isXMLDoc(e),o&&(n=v.propFix[n]||n,s=v.propHooks[n]),r!==t?s&&"set"in s&&(i=s.set(e,r,n))!==t?i:e[n]=r:s&&"get"in s&&(i=s.get(e,n))!==null?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):z.test(e.nodeName)||W.test(e.nodeName)&&e.href?0:t}}}}),F={get:function(e,n){var r,i=v.prop(e,n);return i===!0||typeof i!="boolean"&&(r=e.getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():t},set:function(e,t,n){var r;return t===!1?v.removeAttr(e,n):(r=v.propFix[n]||n,r in e&&(e[r]=!0),e.setAttribute(n,n.toLowerCase())),n}},V||(I={name:!0,id:!0,coords:!0},j=v.valHooks.button={get:function(e,n){var r;return r=e.getAttributeNode(n),r&&(I[n]?r.value!=="":r.specified)?r.value:t},set:function(e,t,n){var r=e.getAttributeNode(n);return r||(r=i.createAttribute(n),e.setAttributeNode(r)),r.value=t+""}},v.each(["width","height"],function(e,t){v.attrHooks[t]=v.extend(v.attrHooks[t],{set:function(e,n){if(n==="")return e.setAttribute(t,"auto"),n}})}),v.attrHooks.contenteditable={get:j.get,set:function(e,t,n){t===""&&(t="false"),j.set(e,t,n)}}),v.support.hrefNormalized||v.each(["href","src","width","height"],function(e,n){v.attrHooks[n]=v.extend(v.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return r===null?t:r}})}),v.support.style||(v.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=t+""}}),v.support.optSelected||(v.propHooks.selected=v.extend(v.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),v.support.enctype||(v.propFix.enctype="encoding"),v.support.checkOn||v.each(["radio","checkbox"],function(){v.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}}),v.each(["radio","checkbox"],function(){v.valHooks[this]=v.extend(v.valHooks[this],{set:function(e,t){if(v.isArray(t))return e.checked=v.inArray(v(e).val(),t)>=0}})});var $=/^(?:textarea|input|select)$/i,J=/^([^\.]*|)(?:\.(.+)|)$/,K=/(?:^|\s)hover(\.\S+|)\b/,Q=/^key/,G=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return v.event.special.hover?e:e.replace(K,"mouseenter$1 mouseleave$1")};v.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType===3||e.nodeType===8||!n||!r||!(o=v._data(e)))return;r.handler&&(d=r,r=d.handler,s=d.selector),r.guid||(r.guid=v.guid++),a=o.events,a||(o.events=a={}),u=o.handle,u||(o.handle=u=function(e){return typeof v=="undefined"||!!e&&v.event.triggered===e.type?t:v.event.dispatch.apply(u.elem,arguments)},u.elem=e),n=v.trim(Z(n)).split(" ");for(f=0;f<n.length;f++){l=J.exec(n[f])||[],c=l[1],h=(l[2]||"").split(".").sort(),g=v.event.special[c]||{},c=(s?g.delegateType:g.bindType)||c,g=v.event.special[c]||{},p=v.extend({type:c,origType:l[1],data:i,handler:r,guid:r.guid,selector:s,needsContext:s&&v.expr.match.needsContext.test(s),namespace:h.join(".")},d),m=a[c];if(!m){m=a[c]=[],m.delegateCount=0;if(!g.setup||g.setup.call(e,i,h,u)===!1)e.addEventListener?e.addEventListener(c,u,!1):e.attachEvent&&e.attachEvent("on"+c,u)}g.add&&(g.add.call(e,p),p.handler.guid||(p.handler.guid=r.guid)),s?m.splice(m.delegateCount++,0,p):m.push(p),v.event.global[c]=!0}e=null},global:{},remove:function(e,t,n,r,i){var s,o,u,a,f,l,c,h,p,d,m,g=v.hasData(e)&&v._data(e);if(!g||!(h=g.events))return;t=v.trim(Z(t||"")).split(" ");for(s=0;s<t.length;s++){o=J.exec(t[s])||[],u=a=o[1],f=o[2];if(!u){for(u in h)v.event.remove(e,u+t[s],n,r,!0);continue}p=v.event.special[u]||{},u=(r?p.delegateType:p.bindType)||u,d=h[u]||[],l=d.length,f=f?new RegExp("(^|\\.)"+f.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null;for(c=0;c<d.length;c++)m=d[c],(i||a===m.origType)&&(!n||n.guid===m.guid)&&(!f||f.test(m.namespace))&&(!r||r===m.selector||r==="**"&&m.selector)&&(d.splice(c--,1),m.selector&&d.delegateCount--,p.remove&&p.remove.call(e,m));d.length===0&&l!==d.length&&((!p.teardown||p.teardown.call(e,f,g.handle)===!1)&&v.removeEvent(e,u,g.handle),delete h[u])}v.isEmptyObject(h)&&(delete g.handle,v.removeData(e,"events",!0))},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,r,s,o){if(!s||s.nodeType!==3&&s.nodeType!==8){var u,a,f,l,c,h,p,d,m,g,y=n.type||n,b=[];if(Y.test(y+v.event.triggered))return;y.indexOf("!")>=0&&(y=y.slice(0,-1),a=!0),y.indexOf(".")>=0&&(b=y.split("."),y=b.shift(),b.sort());if((!s||v.event.customEvent[y])&&!v.event.global[y])return;n=typeof n=="object"?n[v.expando]?n:new v.Event(y,n):new v.Event(y),n.type=y,n.isTrigger=!0,n.exclusive=a,n.namespace=b.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h=y.indexOf(":")<0?"on"+y:"";if(!s){u=v.cache;for(f in u)u[f].events&&u[f].events[y]&&v.event.trigger(n,r,u[f].handle.elem,!0);return}n.result=t,n.target||(n.target=s),r=r!=null?v.makeArray(r):[],r.unshift(n),p=v.event.special[y]||{};if(p.trigger&&p.trigger.apply(s,r)===!1)return;m=[[s,p.bindType||y]];if(!o&&!p.noBubble&&!v.isWindow(s)){g=p.delegateType||y,l=Y.test(g+y)?s:s.parentNode;for(c=s;l;l=l.parentNode)m.push([l,g]),c=l;c===(s.ownerDocument||i)&&m.push([c.defaultView||c.parentWindow||e,g])}for(f=0;f<m.length&&!n.isPropagationStopped();f++)l=m[f][0],n.type=m[f][1],d=(v._data(l,"events")||{})[n.type]&&v._data(l,"handle"),d&&d.apply(l,r),d=h&&l[h],d&&v.acceptData(l)&&d.apply&&d.apply(l,r)===!1&&n.preventDefault();return n.type=y,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(s.ownerDocument,r)===!1)&&(y!=="click"||!v.nodeName(s,"a"))&&v.acceptData(s)&&h&&s[y]&&(y!=="focus"&&y!=="blur"||n.target.offsetWidth!==0)&&!v.isWindow(s)&&(c=s[h],c&&(s[h]=null),v.event.triggered=y,s[y](),v.event.triggered=t,c&&(s[h]=c)),n.result}return},dispatch:function(n){n=v.event.fix(n||e.event);var r,i,s,o,u,a,f,c,h,p,d=(v._data(this,"events")||{})[n.type]||[],m=d.delegateCount,g=l.call(arguments),y=!n.exclusive&&!n.namespace,b=v.event.special[n.type]||{},w=[];g[0]=n,n.delegateTarget=this;if(b.preDispatch&&b.preDispatch.call(this,n)===!1)return;if(m&&(!n.button||n.type!=="click"))for(s=n.target;s!=this;s=s.parentNode||this)if(s.disabled!==!0||n.type!=="click"){u={},f=[];for(r=0;r<m;r++)c=d[r],h=c.selector,u[h]===t&&(u[h]=c.needsContext?v(h,this).index(s)>=0:v.find(h,this,null,[s]).length),u[h]&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r=0;r<w.length&&!n.isPropagationStopped();r++){a=w[r],n.currentTarget=a.elem;for(i=0;i<a.matches.length&&!n.isImmediatePropagationStopped();i++){c=a.matches[i];if(y||!n.namespace&&!c.namespace||n.namespace_re&&n.namespace_re.test(c.namespace))n.data=c.data,n.handleObj=c,o=((v.event.special[c.origType]||{}).handle||c.handler).apply(a.elem,g),o!==t&&(n.result=o,o===!1&&(n.preventDefault(),n.stopPropagation()))}}return b.postDispatch&&b.postDispatch.call(this,n),n.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return e.which==null&&(e.which=t.charCode!=null?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,s,o,u=n.button,a=n.fromElement;return e.pageX==null&&n.clientX!=null&&(r=e.target.ownerDocument||i,s=r.documentElement,o=r.body,e.pageX=n.clientX+(s&&s.scrollLeft||o&&o.scrollLeft||0)-(s&&s.clientLeft||o&&o.clientLeft||0),e.pageY=n.clientY+(s&&s.scrollTop||o&&o.scrollTop||0)-(s&&s.clientTop||o&&o.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?n.toElement:a),!e.which&&u!==t&&(e.which=u&1?1:u&2?3:u&4?2:0),e}},fix:function(e){if(e[v.expando])return e;var t,n,r=e,s=v.event.fixHooks[e.type]||{},o=s.props?this.props.concat(s.props):this.props;e=v.Event(r);for(t=o.length;t;)n=o[--t],e[n]=r[n];return e.target||(e.target=r.srcElement||i),e.target.nodeType===3&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,r):e},special:{load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){v.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,n,r){var i=v.extend(new v.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?v.event.trigger(i,null,t):v.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},v.event.handle=v.event.dispatch,v.removeEvent=i.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]=="undefined"&&(e[r]=null),e.detachEvent(r,n))},v.Event=function(e,t){if(!(this instanceof v.Event))return new v.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?tt:et):this.type=e,t&&v.extend(this,t),this.timeStamp=e&&e.timeStamp||v.now(),this[v.expando]=!0},v.Event.prototype={preventDefault:function(){this.isDefaultPrevented=tt;var e=this.originalEvent;if(!e)return;e.preventDefault?e.preventDefault():e.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=tt;var e=this.originalEvent;if(!e)return;e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=tt,this.stopPropagation()},isDefaultPrevented:et,isPropagationStopped:et,isImmediatePropagationStopped:et},v.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){v.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,s=e.handleObj,o=s.selector;if(!i||i!==r&&!v.contains(r,i))e.type=s.origType,n=s.handler.apply(this,arguments),e.type=t;return n}}}),v.support.submitBubbles||(v.event.special.submit={setup:function(){if(v.nodeName(this,"form"))return!1;v.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=v.nodeName(n,"input")||v.nodeName(n,"button")?n.form:t;r&&!v._data(r,"_submit_attached")&&(v.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),v._data(r,"_submit_attached",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&v.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(v.nodeName(this,"form"))return!1;v.event.remove(this,"._submit")}}),v.support.changeBubbles||(v.event.special.change={setup:function(){if($.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")v.event.add(this,"propertychange._change",function(e){e.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),v.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),v.event.simulate("change",this,e,!0)});return!1}v.event.add(this,"beforeactivate._change",function(e){var t=e.target;$.test(t.nodeName)&&!v._data(t,"_change_attached")&&(v.event.add(t,"change._change",function(e){this.parentNode&&!e.isSimulated&&!e.isTrigger&&v.event.simulate("change",this.parentNode,e,!0)}),v._data(t,"_change_attached",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||t.type!=="radio"&&t.type!=="checkbox")return e.handleObj.handler.apply(this,arguments)},teardown:function(){return v.event.remove(this,"._change"),!$.test(this.nodeName)}}),v.support.focusinBubbles||v.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){v.event.simulate(t,e.target,v.event.fix(e),!0)};v.event.special[t]={setup:function(){n++===0&&i.addEventListener(e,r,!0)},teardown:function(){--n===0&&i.removeEventListener(e,r,!0)}}}),v.fn.extend({on:function(e,n,r,i,s){var o,u;if(typeof e=="object"){typeof n!="string"&&(r=r||n,n=t);for(u in e)this.on(u,n,r,e[u],s);return this}r==null&&i==null?(i=n,r=n=t):i==null&&(typeof n=="string"?(i=r,r=t):(i=r,r=n,n=t));if(i===!1)i=et;else if(!i)return this;return s===1&&(o=i,i=function(e){return v().off(e),o.apply(this,arguments)},i.guid=o.guid||(o.guid=v.guid++)),this.each(function(){v.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,s;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,v(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if(typeof e=="object"){for(s in e)this.off(s,n,e[s]);return this}if(n===!1||typeof n=="function")r=n,n=t;return r===!1&&(r=et),this.each(function(){v.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){return v(this.context).on(e,this.selector,t,n),this},die:function(e,t){return v(this.context).off(e,this.selector||"**",t),this},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){v.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0])return v.event.trigger(e,t,this[0],!0)},toggle:function(e){var t=arguments,n=e.guid||v.guid++,r=0,i=function(n){var i=(v._data(this,"lastToggle"+e.guid)||0)%r;return v._data(this,"lastToggle"+e.guid,i+1),n.preventDefault(),t[i].apply(this,arguments)||!1};i.guid=n;while(r<t.length)t[r++].guid=n;return this.click(i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),v.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){v.fn[t]=function(e,n){return n==null&&(n=e,e=null),arguments.length>0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHooks[t]=v.event.keyHooks),G.test(t)&&(v.event.fixHooks[t]=v.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){n=n||[],t=t||g;var i,s,a,f,l=t.nodeType;if(!e||typeof e!="string")return n;if(l!==1&&l!==9)return[];a=o(t);if(!a&&!r)if(i=R.exec(e))if(f=i[1]){if(l===9){s=t.getElementById(f);if(!s||!s.parentNode)return n;if(s.id===f)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(f))&&u(t,s)&&s.id===f)return n.push(s),n}else{if(i[2])return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((f=i[3])&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,"$1"),t,n,r,a)}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function it(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function st(e){return N(function(t){return t=+t,N(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function ot(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,l=L[d][e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=i.preFilter;while(u){if(!n||(r=F.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(s=[]);n=!1;if(r=I.exec(u))s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=r[0].replace(j," ");for(o in i.filter)(r=J[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=o,n.matches=r);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=r&&t.dir==="parentNode",o=w++;return t.first?function(t,n,r){while(t=t[i])if(s||t.nodeType===1)return e(t,n,r)}:function(t,r,u){if(!u){var a,f=b+" "+o+" ",l=f+n;while(t=t[i])if(s||t.nodeType===1){if((a=t[d])===l)return t.sizset;if(typeof a=="string"&&a.indexOf(f)===0){if(t.sizset)return t}else{t[d]=l;if(e(t,r,u))return t.sizset=!0,t;t.sizset=!1}}}else while(t=t[i])if(s||t.nodeType===1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function lt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u<a;u++)if(s=e[u])if(!n||n(s,r,i))o.push(s),f&&t.push(u);return o}function ct(e,t,n,r,i,s){return r&&!r[d]&&(r=ct(r)),i&&!i[d]&&(i=ct(i,s)),N(function(s,o,u,a){var f,l,c,h=[],p=[],d=o.length,v=s||dt(t||"*",u.nodeType?[u]:u,[]),m=e&&(s||!t)?lt(v,h,e,u,a):v,g=n?i||(s?e:d||r)?[]:o:m;n&&n(m,g,u,a);if(r){f=lt(g,p),r(f,[],u,a),l=f.length;while(l--)if(c=f[l])g[p[l]]=!(m[p[l]]=c)}if(s){if(i||e){if(i){f=[],l=g.length;while(l--)(c=g[l])&&f.push(m[l]=c);i(null,g=[],f,a)}l=g.length;while(l--)(c=g[l])&&(f=i?T.call(s,c):h[l])>-1&&(s[f]=!(o[f]=c))}}else g=lt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,s=e.length,o=i.relative[e[0].type],u=o||i.relative[" "],a=o?1:0,f=at(function(e){return e===t},u,!0),l=at(function(e){return T.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r))}];for(;a<s;a++)if(n=i.relative[e[a].type])h=[at(ft(h),n)];else{n=i.filter[e[a].type].apply(null,e[a].matches);if(n[d]){r=++a;for(;r<s;r++)if(i.relative[e[r].type])break;return ct(a>1&&ft(h),a>1&&e.slice(0,a-1).join("").replace(j,"$1"),n,a<r&&ht(e.slice(a,r)),r<s&&ht(e=e.slice(r)),r<s&&e.join(""))}h.push(n)}return ft(h)}function pt(e,t){var r=t.length>0,s=e.length>0,o=function(u,a,f,l,h){var p,d,v,m=[],y=0,w="0",x=u&&[],T=h!=null,N=c,C=u||s&&i.find.TAG("*",h&&a.parentNode||a),k=b+=N==null?1:Math.E;T&&(c=a!==g&&a,n=o.el);for(;(p=C[w])!=null;w++){if(s&&p){for(d=0;v=e[d];d++)if(v(p,a,f)){l.push(p);break}T&&(b=k,n=++o.el)}r&&((p=!v&&p)&&y--,u&&x.push(p))}y+=w;if(r&&w!==y){for(d=0;v=t[d];d++)v(x,m,a,f);if(u){if(y>0)while(w--)!x[w]&&!m[w]&&(m[w]=E.call(l));m=lt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(b=k,c=N),x};return o.el=0,r?N(o):o}function dt(e,t,n){var r=0,i=t.length;for(;r<i;r++)nt(e,t[r],n);return n}function vt(e,t,n,r,s){var o,u,f,l,c,h=ut(e),p=h.length;if(!r&&h.length===1){u=h[0]=h[0].slice(0);if(u.length>2&&(f=u[0]).type==="ID"&&t.nodeType===9&&!s&&i.relative[u[1].type]){t=i.find.ID(f.matches[0].replace($,""),t,s)[0];if(!t)return n;e=e.slice(u.shift().length)}for(o=J.POS.test(e)?-1:u.length-1;o>=0;o--){f=u[o];if(i.relative[l=f.type])break;if(c=i.find[l])if(r=c(f.matches[0].replace($,""),z.test(u[0].type)&&t.parentNode||t,s)){u.splice(o,1),e=r.length&&u.join("");if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h=!0,p="undefined",d=("sizcache"+Math.random()).replace(".",""),m=String,g=e.document,y=g.documentElement,b=0,w=0,E=[].pop,S=[].push,x=[].slice,T=[].indexOf||function(e){var t=0,n=this.length;for(;t<n;t++)if(this[t]===e)return t;return-1},N=function(e,t){return e[d]=t==null||t,e},C=function(){var e={},t=[];return N(function(n,r){return t.push(n)>i.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},k=C(),L=C(),A=C(),O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",_=M.replace("w","w#"),D="([*^$|!~]?=)",P="\\["+O+"*("+M+")"+O+"*(?:"+D+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+_+")|)|)"+O+"*\\]",H=":("+M+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+P+")|[^:]|\\\\.)*|.*))\\)|)",B=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)",j=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),I=new RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),q=new RegExp(H),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/^:not/,z=/[\x20\t\r\n\f]*[+~]/,W=/:not\($/,X=/h\d/i,V=/input|select|textarea|button/i,$=/\\(?!\\)/g,J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),NAME:new RegExp("^\\[name=['\"]?("+M+")['\"]?\\]"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),POS:new RegExp(B,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:new RegExp("^"+O+"*[>+~]|"+B,"i")},K=function(e){var t=g.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},Q=K(function(e){return e.appendChild(g.createComment("")),!e.getElementsByTagName("*").length}),G=K(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==p&&e.firstChild.getAttribute("href")==="#"}),Y=K(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=K(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!e.getElementsByClassName||!e.getElementsByClassName("e").length?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length===2)}),et=K(function(e){e.id=d+0,e.innerHTML="<a name='"+d+"'></a><div name='"+d+"'></div>",y.insertBefore(e,y.firstChild);var t=g.getElementsByName&&g.getElementsByName(d).length===2+g.getElementsByName(d+0).length;return r=!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)[0].nodeType}catch(tt){x=function(e){var t,n=[];for(;t=this[e];e++)n.push(t);return n}}nt.matches=function(e,t){return nt(e,null,null,t)},nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0},s=nt.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(i===3||i===4)return e.nodeValue}else for(;t=e[r];r++)n+=s(t);return n},o=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},u=nt.contains=y.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode)if(t===e)return!0;return!1},nt.attr=function(e,t){var n,r=o(e);return r||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):r||Y?e.getAttribute(t):(n=e.getAttributeNode(t),n?typeof e[t]=="boolean"?e[t]?t:null:n.specified?n.value:null:null)},i=nt.selectors={cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!==p&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==p&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==p&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!==p)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],s=0;for(;r=n[s];s++)r.nodeType===1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==p&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,""),e[3]=(e[4]||e[5]||"").replace($,""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1]==="nth"?(e[2]||nt.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd")),e[4]=+(e[6]+e[7]||e[2]==="odd")):e[2]&&nt.error(e[0]),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e[0]))return null;if(e[3])e[2]=e[3];else if(t=e[4])q.test(t)&&(n=ut(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t;return e.slice(0,3)}},filter:{ID:r?function(e){return e=e.replace($,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace($,""),function(t){var n=typeof t.getAttributeNode!==p&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return e==="*"?function(){return!0}:(e=e.replace($,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[d][e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==p&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r,i){var s=nt.attr(r,e);return s==null?t==="!=":t?(s+="",t==="="?s===n:t==="!="?s!==n:t==="^="?n&&s.indexOf(n)===0:t==="*="?n&&s.indexOf(n)>-1:t==="$="?n&&s.substr(s.length-n.length)===n:t==="~="?(" "+s+" ").indexOf(n)>-1:t==="|="?s===n||s.substr(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r){return e==="nth"?function(e){var t,i,s=e.parentNode;if(n===1&&r===0)return!0;if(s){i=0;for(t=s.firstChild;t;t=t.nextSibling)if(t.nodeType===1){i++;if(e===t)break}}return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling)if(n.nodeType===1)return!1;if(e==="first")return!0;n=t;case"last":while(n=n.nextSibling)if(n.nodeType===1)return!1;return!0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);return r[d]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=T.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[d]?N(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4)return!1;e=e.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:rt("radio"),checkbox:rt("checkbox"),file:rt("file"),password:rt("password"),image:rt("image"),submit:it("submit"),reset:it("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return V.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:st(function(){return[0]}),last:st(function(e,t){return[t-1]}),eq:st(function(e,t,n){return[n<0?n+t:n]}),even:st(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:st(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:st(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:st(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},f=y.compareDocumentPosition?function(e,t){return e===t?(l=!0,0):(!e.compareDocumentPosition||!t.compareDocumentPosition?e.compareDocumentPosition:e.compareDocumentPosition(t)&4)?-1:1}:function(e,t){if(e===t)return l=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,r,i=[],s=[],o=e.parentNode,u=t.parentNode,a=o;if(o===u)return ot(e,t);if(!o)return-1;if(!u)return 1;while(a)i.unshift(a),a=a.parentNode;a=u;while(a)s.unshift(a),a=a.parentNode;n=i.length,r=s.length;for(var f=0;f<n&&f<r;f++)if(i[f]!==s[f])return ot(i[f],s[f]);return f===n?ot(e,s[f],-1):ot(i[f],t,1)},[0,0].sort(f),h=!l,nt.uniqueSort=function(e){var t,n=[],r=1,i=0;l=h,e.sort(f);if(l){for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));while(i--)e.splice(n[i],1)}return e},nt.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},a=nt.compile=function(e,t){var n,r=[],i=[],s=A[d][e+" "];if(!s){t||(t=ut(e)),n=t.length;while(n--)s=ht(t[n]),s[d]?r.push(s):i.push(s);s=A(e,pt(i,r))}return s},g.querySelectorAll&&function(){var e,t=vt,n=/'|\\/g,r=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,i=[":focus"],s=[":active"],u=y.matchesSelector||y.mozMatchesSelector||y.webkitMatchesSelector||y.oMatchesSelector||y.msMatchesSelector;K(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||i.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),K(function(e){e.innerHTML="<p test=''></p>",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+O+"*(?:\"\"|'')"),e.innerHTML="<input type='hidden'/>",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=new RegExp(i.join("|")),vt=function(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l=!0,c=d,h=r,p=r.nodeType===9&&e;if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){a=ut(e),(l=r.getAttribute("id"))?c=l.replace(n,"\\$&"):r.setAttribute("id",c),c="[id='"+c+"'] ",f=a.length;while(f--)a[f]=c+a[f].join("");h=z.test(e)&&r.parentNode||r,p=a.join(",")}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute("id")}}return t(e,r,s,o,u)},u&&(K(function(t){e=u.call(t,"div");try{u.call(t,"[test!='']:sizzle"),s.push("!=",H)}catch(n){}}),s=new RegExp(s.join("|")),nt.matchesSelector=function(t,n){n=n.replace(r,"='$1']");if(!o(t)&&!s.test(n)&&!i.test(n))try{var a=u.call(t,n);if(a||e||t.document&&t.document.nodeType!==11)return a}catch(f){}return nt(n,null,null,[t]).length>0})}(),i.pseudos.nth=i.pseudos.eq,i.filters=mt.prototype=i.pseudos,i.setFilters=new mt,nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(e);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,it=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,ot={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,u=this;if(typeof e!="string")return v(e).filter(function(){for(t=0,n=u.length;t<n;t++)if(v.contains(u[t],this))return!0});o=this.pushStack("","find",e);for(t=0,n=this.length;t<n;t++){r=o.length,v.find(e,this[t],o);if(t>0)for(i=r;i<o.length;i++)for(s=0;s<r;s++)if(o[s]===o[i]){o.splice(i--,1);break}}return o},has:function(e){var t,n=v(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(v.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e,!1),"not",e)},filter:function(e){return this.pushStack(ft(this,e,!0),"filter",e)},is:function(e){return!!e&&(typeof e=="string"?st.test(e)?v(e,this.context).index(this[0])>=0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,s=[],o=st.test(e)||typeof e!="string"?v(e,t||this.context):0;for(;r<i;r++){n=this[r];while(n&&n.ownerDocument&&n!==t&&n.nodeType!==11){if(o?o.index(n)>-1:v.find.matchesSelector(n,e)){s.push(n);break}n=n.parentNode}}return s=s.length>1?v.unique(s):s,this.pushStack(s,"closest",e)},index:function(e){return e?typeof e=="string"?v.inArray(this[0],v(e)):v.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?v(e,t):v.makeArray(e&&e.nodeType?[e]:e),r=v.merge(this.get(),n);return this.pushStack(ut(n[0])||ut(r[0])?r:v.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return at(e,"nextSibling")},prev:function(e){return at(e,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return nt.test(e)||(r=n),r&&typeof r=="string"&&(i=v.filter(r,i)),i=this.length>1&&!ot[e]?v.unique(i):i,this.length>1&&rt.test(e)&&(i=i.reverse()),this.pushStack(i,e,l.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!v(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ht=/ jQuery\d+="(?:null|\d+)"/g,pt=/^\s+/,dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,mt=/<tbody/i,gt=/<|&#?\w+;/,yt=/<(?:script|style|link)/i,bt=/<(?:script|object|embed|option|style)/i,wt=new RegExp("<(?:"+ct+")[\\s/>]","i"),Et=/^(?:checkbox|radio)$/,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,Nt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},Ct=lt(i),kt=Ct.appendChild(i.createElement("div"));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize||(Nt._default=[1,"X<div>","</div>"]),v.fn.extend({text:function(e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(e,this),"before",this.selector)}},after:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++)if(!e||v.filter(e,[n]).length)!t&&n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),v.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&v.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(ht,""):t;if(typeof e=="string"&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt[(vt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(dt,"<$1></$2>");try{for(;r<i;r++)n=this[r]||{},n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),n.innerHTML=e);n=0}catch(s){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){return ut(this[0])?this.length?this.pushStack(v(v.isFunction(e)?e():e),"replaceWith",e):this:v.isFunction(e)?this.each(function(t){var n=v(this),r=n.html();n.replaceWith(e.call(this,t,r))}):(typeof e!="string"&&(e=v(e).detach()),this.each(function(){var t=this.nextSibling,n=this.parentNode;v(this).remove(),t?v(t).before(e):v(n).append(e)}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=[].concat.apply([],e);var i,s,o,u,a=0,f=e[0],l=[],c=this.length;if(!v.support.checkClone&&c>1&&typeof f=="string"&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var s=v(this);e[0]=f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this[0]){i=v.buildFragment(e,this,l),o=i.fragment,s=o.firstChild,o.childNodes.length===1&&(o=s);if(s){n=n&&v.nodeName(s,"tr");for(u=i.cacheable||c-1;a<c;a++)r.call(n&&v.nodeName(this[a],"table")?Lt(this[a],"tbody"):this[a],a===u?o:v.clone(o,!0,!0))}o=s=null,l.length&&v.each(l,function(e,t){t.src?v.ajax?v.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):v.error("no ajax"):v.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Tt,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),v.buildFragment=function(e,n,r){var s,o,u,a=e[0];return n=n||i,n=!n.nodeType&&n[0]||n,n=n.ownerDocument||n,e.length===1&&typeof a=="string"&&a.length<512&&n===i&&a.charAt(0)==="<"&&!bt.test(a)&&(v.support.checkClone||!St.test(a))&&(v.support.html5Clone||!wt.test(a))&&(o=!0,s=v.fragments[a],u=s!==t),s||(s=n.createDocumentFragment(),v.clean(e,n,s,r),o&&(v.fragments[a]=u&&s)),{fragment:s,cacheable:o}},v.fragments={},v.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){v.fn[e]=function(n){var r,i=0,s=[],o=v(n),u=o.length,a=this.length===1&&this[0].parentNode;if((a==null||a&&a.nodeType===11&&a.childNodes.length===1)&&u===1)return o[t](this[0]),this;for(;i<u;i++)r=(i>0?this.clone(!0):this).get(),v(o[i])[t](r),s=s.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(kt.innerHTML=e.outerHTML,kt.removeChild(o=kt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){Ot(e,o),r=Mt(e),i=Mt(o);for(s=0;r[s];++s)i[s]&&Ot(r[s],i[s])}if(t){At(e,o);if(n){r=Mt(e),i=Mt(o);for(s=0;r[s];++s)At(r[s],i[s])}}return r=i=null,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,y=t===i&&Ct,b=[];if(!t||typeof t.createDocumentFragment=="undefined")t=i;for(s=0;(u=e[s])!=null;s++){typeof u=="number"&&(u+="");if(!u)continue;if(typeof u=="string")if(!gt.test(u))u=t.createTextNode(u);else{y=y||lt(t),c=t.createElement("div"),y.appendChild(c),u=u.replace(dt,"<$1></$2>"),a=(vt.exec(u)||["",""])[1].toLowerCase(),f=Nt[a]||Nt._default,l=f[0],c.innerHTML=f[1]+u+f[2];while(l--)c=c.lastChild;if(!v.support.tbody){h=mt.test(u),p=a==="table"&&!h?c.firstChild&&c.firstChild.childNodes:f[1]==="<table>"&&!h?c.childNodes:[];for(o=p.length-1;o>=0;--o)v.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o])}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)[0]),c.firstChild),u=c.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(u=c=y=null);if(!v.support.appendChecked)for(s=0;(u=b[s])!=null;s++)v.nodeName(u,"input")?_t(u):typeof u.getElementsByTagName!="undefined"&&v.grep(u.getElementsByTagName("input"),_t);if(n){m=function(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s=0;(u=b[s])!=null;s++)if(!v.nodeName(u,"script")||!m(u))n.appendChild(u),typeof u.getElementsByTagName!="undefined"&&(g=v.grep(v.merge([],u.getElementsByTagName("script")),m),b.splice.apply(b,[s+1,0].concat(g)),s+=g.length)}return b},cleanData:function(e,t){var n,r,i,s,o=0,u=v.expando,a=v.cache,f=v.support.deleteExpando,l=v.event.special;for(;(i=e[o])!=null;o++)if(t||v.acceptData(i)){r=i[u],n=r&&a[r];if(n){if(n.events)for(s in n.events)l[s]?v.event.remove(i,s):v.removeEvent(i,s,n.handle);a[r]&&(delete a[r],f?delete i[u]:i.removeAttribute?i.removeAttribute(u):i[u]=null,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=v.uaMatch(o.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),v.browser=t,v.sub=function(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(r,i){return i&&i instanceof v&&!(i instanceof e)&&(i=e(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototype=e.fn;var t=e(i);return e}}();var Dt,Pt,Ht,Bt=/alpha\([^)]*\)/i,jt=/opacity=([^)]*)/,Ft=/^(top|right|bottom|left)$/,It=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),Ut=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),zt=new RegExp("^([-+])=("+m+")","i"),Wt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},$t=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"],Kt=v.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var n=typeof e=="boolean";return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=v.camelCase(n),f=e.style;n=v.cssProps[a]||(v.cssProps[a]=Qt(f,a)),u=v.cssHooks[n]||v.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=zt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(v.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!v.cssNumber[a]&&(r+="px");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=v.camelCase(n);return n=v.cssProps[a]||(v.cssProps[a]=Qt(e.style,a)),u=v.cssHooks[n]||v.cssHooks[a],u&&"get"in u&&(s=u.get(e,!0,i)),s===t&&(s=Dt(e,n)),s==="normal"&&n in Vt&&(s=Vt[n]),r||i!==t?(o=parseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=s[i];return r}}),e.getComputedStyle?Dt=function(t,n){var r,i,s,o,u=e.getComputedStyle(t,null),a=t.style;return u&&(r=u.getPropertyValue(n)||u[n],r===""&&!v.contains(t.ownerDocument,t)&&(r=v.style(t,n)),Ut.test(r)&&qt.test(n)&&(i=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=u.width,a.width=i,a.minWidth=s,a.maxWidth=o)),r}:i.documentElement.currentStyle&&(Dt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],s=e.style;return i==null&&s&&s[t]&&(i=s[t]),Ut.test(i)&&!Ft.test(t)&&(n=s.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":i,i=s.pixelLeft+"px",s.left=n,r&&(e.runtimeStyle.left=r)),i===""?"auto":i}),v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&It.test(Dt(e,"display"))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,"boxSizing")==="border-box"):0)}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=v.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&v.trim(s.replace(Bt,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=Bt.test(s)?s.replace(Bt,i):s+" "+i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(e,t){return v.swap(e,{display:"inline-block"},function(){if(t)return Dt(e,"marginRight")})}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],function(e,t){v.cssHooks[t]={get:function(e,n){if(n){var r=Dt(e,t);return Ut.test(r)?v(e).position()[t]+"px":r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,"display"))==="none"},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)}),v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],s={};for(r=0;r<4;r++)s[e+$t[r]+t]=i[r]||i[r-2]||i[0];return s}},qt.test(e)||(v.cssHooks[e+t].set=Zt)});var rn=/%20/g,sn=/\[\]$/,on=/\r?\n/g,un=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an=/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var n=v(this).val();return n==null?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),v.param=function(e,n){var r,i=[],s=function(e,t){t=v.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=v.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,e[r],n,s);return i.join("&").replace(rn,"+")};var ln,cn,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/\?/,yn=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,wn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=v.fn.load,Sn={},xn={},Tn=["*/"]+["*"];try{cn=s.href}catch(Nn){cn=i.createElement("a"),cn.href="",cn=cn.href}ln=wn.exec(cn.toLowerCase())||[],v.fn.load=function(e,n,r){if(typeof e!="string"&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),v.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(s="POST"),v.ajax({url:e,type:s,dataType:"html",data:n,complete:function(e,t){r&&u.each(r,o||[e.responseText,t,e])}}).done(function(e){o=arguments,u.html(i?v("<div>").append(e.replace(yn,"")).find(i):e)}),this},v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.on(t,e)}}),v.each(["get","post"],function(e,n){v[n]=function(e,r,i,s){return v.isFunction(r)&&(s=s||i,i=r,r=t),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(t=e,e=v.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,T=n;if(E===2)return;E=2,u&&clearTimeout(u),o=t,i=a||"",x.readyState=e>0?4:0,s&&(w=An(c,x,s));if(e>=200&&e<300||e===304)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(v.lastModified[r]=S),S=x.getResponseHeader("Etag"),S&&(v.etag[r]=S)),e===304?(T="notmodified",l=!0):(l=On(c,w),T=l.state,y=l.data,b=l.error,l=!b);else{b=T;if(!T||e)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[y,T,x]):d.rejectWith(h,[x,T,b]),x.statusCode(g),g=t,f&&p.trigger("ajax"+(l?"Success":"Error"),[x,c,l?y:b]),m.fireWith(h,[x,T]),f&&(p.trigger("ajaxComplete",[x,c]),--v.active||v.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=v.ajaxSetup({},n),h=c.context||c,p=h!==c&&(h.nodeType||h instanceof v)?v(h):v.event,d=v.Deferred(),m=v.Callbacks("once memory"),g=c.statusCode||{},b={},w={},E=0,S="canceled",x={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=w[n]=w[n]||e,b[e]=t}return this},getAllResponseHeaders:function(){return E===2?i:null},getResponseHeader:function(e){var n;if(E===2){if(!s){s={};while(n=pn.exec(i))s[n[1].toLowerCase()]=n[2]}n=s[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return E||(c.mimeType=e),this},abort:function(e){return e=e||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.success=x.done,x.error=x.fail,x.complete=m.add,x.statusCode=function(e){if(e){var t;if(E<2)for(t in e)g[t]=[g[t],e[t]];else t=e[x.status],x.always(t)}return this},c.url=((e||c.url)+"").replace(hn,"").replace(mn,ln[1]+"//"),c.dataTypes=v.trim(c.dataType||"*").toLowerCase().split(y),c.crossDomain==null&&(a=wn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===ln[1]&&a[2]===ln[2]&&(a[3]||(a[1]==="http:"?80:443))==(ln[3]||(ln[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=v.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E===2)return x;f=c.global,c.type=c.type.toUpperCase(),c.hasContent=!vn.test(c.type),f&&v.active++===0&&v.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(gn.test(c.url)?"&":"?")+c.data,delete c.data),r=c.url;if(c.cache===!1){var N=v.now(),C=c.url.replace(bn,"$1_="+N);c.url=C+(C===c.url?(gn.test(c.url)?"&":"?")+"_="+N:"")}}(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(r=r||c.url,v.lastModified[r]&&x.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&x.setRequestHeader("If-None-Match",v.etag[r])),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)x.setRequestHeader(l,c.headers[l]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&E!==2){S="abort";for(l in{success:1,error:1,complete:1})x[l](c[l]);o=kn(xn,c,n,x);if(!o)T(-1,"No Transport");else{x.readyState=1,f&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{E=1,o.send(b,T)}catch(k){if(!(E<2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn=[],_n=/\?/,Dn=/(=)\?(?=&|$)|\?\?/,Pn=v.now();v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||v.expando+"_"+Pn++;return this[e]=!0,e}}),v.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.data,f=n.url,l=n.jsonp!==!1,c=l&&Dn.test(f),h=l&&!c&&typeof a=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Dn.test(a);if(n.dataTypes[0]==="jsonp"||c||h)return s=n.jsonpCallback=v.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,o=e[s],c?n.url=f.replace(Dn,"$1"+s):h?n.data=a.replace(Dn,"$1"+s):l&&(n.url+=(_n.test(f)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||v.error(s+" was not called"),u[0]},n.dataTypes[0]="json",e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u[0]),u=o=t}),"script"}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),v.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(s,o){n=i.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bn=e.ActiveXObject?function(){for(var e in Hn)Hn[e](0,1)}:!1,jn=0;v.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=v.noop,Bn&&delete Hn[o]);if(i)a.readyState!==4&&a.abort();else{u=a.status,l=a.getAllResponseHeaders(),c={},h=a.responseXML,h&&h.documentElement&&(c.xml=h);try{c.text=a.responseText}catch(p){}try{f=a.statusText}catch(p){f=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState===4?setTimeout(r,0):(o=++jn,Bn&&(Hn||(Hn={},v(e).unload(Bn)),Hn[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un=/^(?:toggle|show|hide)$/,zn=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),Wn=/queueHooks$/,Xn=[Gn],Vn={"*":[function(e,t){var n,r,i=this.createTween(e,t),s=zn.exec(t),o=i.cur(),u=+o||0,a=1,f=20;if(s){n=+s[2],r=s[3]||(v.cssNumber[e]?"":"px");if(r!=="px"&&u){u=v.css(i.elem,e,!0)||n||1;do a=a||".5",u/=a,v.style(i.elem,e,u+r);while(a!==(a=i.cur()/o)&&a!==1&&--f)}i.unit=r,i.start=u,i.end=s[1]?u+(s[1]+1)*n:n}return i}]};v.Animation=v.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r<i;r++)n=e[r],Vn[n]=Vn[n]||[],Vn[n].unshift(t)},prefilter:function(e,t){t?Xn.unshift(e):Xn.push(e)}}),v.Tween=Yn,Yn.prototype={constructor:Yn,init:function(e,t,n,r,i,s){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=s||(v.cssNumber[n]?"":"px")},cur:function(){var e=Yn.propHooks[this.prop];return e&&e.get?e.get(this):Yn.propHooks._default.get(this)},run:function(e){var t,n=Yn.propHooks[this.prop];return this.options.duration?this.pos=t=v.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Yn.propHooks._default.set(this),this}},Yn.prototype.init.prototype=Yn.prototype,Yn.propHooks={_default:{get:function(e){var t;return e.elem[e.prop]==null||!!e.elem.style&&e.elem.style[e.prop]!=null?(t=v.css(e.elem,e.prop,!1,""),!t||t==="auto"?0:t):e.elem[e.prop]},set:function(e){v.fx.step[e.prop]?v.fx.step[e.prop](e):e.elem.style&&(e.elem.style[v.cssProps[e.prop]]!=null||v.cssHooks[e.prop])?v.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Yn.propHooks.scrollTop=Yn.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},v.each(["toggle","show","hide"],function(e,t){var n=v.fn[t];v.fn[t]=function(r,i,s){return r==null||typeof r=="boolean"||!e&&v.isFunction(r)&&v.isFunction(i)?n.apply(this,arguments):this.animate(Zn(t,!0),r,i,s)}}),v.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Gt).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=v.isEmptyObject(e),s=v.speed(t,n,r),o=function(){var t=Kn(this,v.extend({},e),s);i&&t.stop(!0)};return i||s.queue===!1?this.each(o):this.queue(s.queue,o)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return typeof e!="string"&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=e!=null&&e+"queueHooks",s=v.timers,o=v._data(this);if(n)o[n]&&o[n].stop&&i(o[n]);else for(n in o)o[n]&&o[n].stop&&Wn.test(n)&&i(o[n]);for(n=s.length;n--;)s[n].elem===this&&(e==null||s[n].queue===e)&&(s[n].anim.stop(r),t=!1,s.splice(n,1));(t||!r)&&v.dequeue(this,e)})}}),v.each({slideDown:Zn("show"),slideUp:Zn("hide"),slideToggle:Zn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){v.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),v.speed=function(e,t,n){var r=e&&typeof e=="object"?v.extend({},e):{complete:n||!n&&t||v.isFunction(e)&&e,duration:e,easing:n&&t||t&&!v.isFunction(t)&&t};r.duration=v.fx.off?0:typeof r.duration=="number"?r.duration:r.duration in v.fx.speeds?v.fx.speeds[r.duration]:v.fx.speeds._default;if(r.queue==null||r.queue===!0)r.queue="fx";return r.old=r.complete,r.complete=function(){v.isFunction(r.old)&&r.old.call(this),r.queue&&v.dequeue(this,r.queue)},r},v.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},v.timers=[],v.fx=Yn.prototype.init,v.fx.tick=function(){var e,n=v.timers,r=0;qn=v.now();for(;r<n.length;r++)e=n[r],!e()&&n[r]===e&&n.splice(r--,1);n.length||v.fx.stop(),qn=t},v.fx.timer=function(e){e()&&v.timers.push(e)&&!Rn&&(Rn=setInterval(v.fx.tick,v.fx.interval))},v.fx.interval=13,v.fx.stop=function(){clearInterval(Rn),Rn=null},v.fx.speeds={slow:600,fast:200,_default:400},v.fx.step={},v.expr&&v.expr.filters&&(v.expr.filters.animated=function(e){return v.grep(v.timers,function(t){return e===t.elem}).length});var er=/^(?:body|html)$/i;v.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){v.offset.setOffset(this,e,t)});var n,r,i,s,o,u,a,f={top:0,left:0},l=this[0],c=l&&l.ownerDocument;if(!c)return;return(r=c.body)===l?v.offset.bodyOffset(l):(n=c.documentElement,v.contains(n,l)?(typeof l.getBoundingClientRect!="undefined"&&(f=l.getBoundingClientRect()),i=tr(c),s=n.clientTop||r.clientTop||0,o=n.clientLeft||r.clientLeft||0,u=i.pageYOffset||n.scrollTop,a=i.pageXOffset||n.scrollLeft,{top:f.top+u-s,left:f.left+a-o}):f)},v.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return v.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(v.css(e,"marginTop"))||0,n+=parseFloat(v.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=v.css(e,"position");r==="static"&&(e.style.position="relative");var i=v(e),s=i.offset(),o=v.css(e,"top"),u=v.css(e,"left"),a=(r==="absolute"||r==="fixed")&&v.inArray("auto",[o,u])>-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),v.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this[0])return;var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,"position")==="static")e=e.offsetParent;return e||i.body})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);v.fn[e]=function(i){return v.access(this,function(e,i,s){var o=tr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),v.each({Height:"height",Width:"width"},function(e,n){v.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){v.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuery=e.$=v,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return v})})(window); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/javascript/jquery.min.js b/mayor-orig/mayor-base/www/skin/classic/base/javascript/jquery.min.js
new file mode 100644
index 00000000..ce1b6b6e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/javascript/jquery.min.js
@@ -0,0 +1,5 @@
+/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
+*/
+(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,"ms-").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call("\ufeff\u00a0")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",q,!1),e.addEventListener("load",q,!1);else{a.attachEvent("onreadystatechange",q),e.attachEvent("onload",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll("left")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b="sizzle"+-new Date,w=e.document,T=0,C=0,N=st(),k=st(),E=st(),S=!1,A=function(e,t){return e===t?(S=!0,0):0},j=typeof t,D=1<<31,L={}.hasOwnProperty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=R.replace("w","w#"),$="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+P+"*\\]",I=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),U=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=RegExp(P+"*[+~]"),Y=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),J=RegExp(I),G=RegExp("^"+W+"$"),Q={ID:RegExp("^#("+R+")"),CLASS:RegExp("^\\.("+R+")"),TAG:RegExp("^("+R.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+B+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.exec(e))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){c=mt(e),(d=t.getAttribute("id"))?m=d.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",u=c.length;while(u--)c[u]=m+yt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(",")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,n,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function lt(e){return e[b]=!0,e}function ut(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ct(e,t){var n=e.split("|"),r=e.length;while(r--)o.attrHandle[n[r]]=t}function pt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function dt(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return lt(function(t){return t=+t,lt(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}s=at.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.defaultView;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){p()}),r.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ut(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ut(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),r.getById=ut(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=K.test(n.querySelectorAll))&&(ut(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+B+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),ut(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=K.test(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(e){r.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",I)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),v=K.test(d.contains)||d.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return pt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?pt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,"='$1']"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPseudo:lt,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||at.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=at.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?lt(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:lt(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[b]?lt(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:lt(function(e){return function(t){return at(e,t).length>0}}),contains:lt(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:lt(function(e){return G.test(e||"")||at.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},o.pseudos.nth=o.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=dt(n);function gt(){}gt.prototype=o.filters=o.pseudos,o.setFilters=new gt;function mt(e,t){var n,r,i,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function yt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function vt(e,t,n){var r=t.dir,o=n&&"parentNode"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+" "+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function wt(e,t,n,r,i,o){return r&&!r[b]&&(r=wt(r)),i&&!i[b]&&(i=wt(i,o)),lt(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||Nt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xt(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=xt(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=xt(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function Tt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,c=vt(function(e){return e===t},s,!0),p=vt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[vt(bt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;return wt(l>1&&bt(f),l>1&&yt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&Tt(e.slice(l,r)),i>r&&Tt(e=e.slice(r)),i>r&&yt(e))}f.push(n)}return bt(f)}function Ct(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG("*",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=xt(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?lt(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+" "];if(!o){t||(t=mt(e)),n=t.length;while(n--)o=Tt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Ct(i,r))}return o};function Nt(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function kt(e,t,n,i){var a,s,u,c,p,f=mt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&"ID"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&yt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}r.sortStable=b.split("").sort(A).join("")===b,r.detectDuplicates=S,p(),r.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ut(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ct("type|href|height|width",function(e,n,r){return r?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),r.attributes&&ut(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ct("value",function(e,n,r){return r||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||ct(B,function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.specified?i.value:e[n]===!0?n.toLowerCase():null}),x.find=at,x.expr=at.selectors,x.expr[":"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?O[e]||F(e):x.extend({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav></:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",o=d.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(a.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)}),n=s=l=u=r=o=null,t
+}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,r=0,o=x(this),a=e.match(T)||[];while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===i||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||e===!1?"":x._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(U," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o="":"number"==typeof o?o+="":x.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(V,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&"get"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&"set"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+""),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase("default-"+n)]=e[r]=!1:x.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,"input")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&""!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,""===t?!1:t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(T)||[""],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||"").match(T)||[""],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,"type")?n.type:n,m=v.call(n,"namespace")?n.namespace.split("."):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,"events")||{})[n.type]&&x._data(u,"handle"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,"form")?!1:(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;r&&!x._data(r,"submitBubbles")&&(x.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),x._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,"form")?!1:(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\[\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,"string"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Ct=/^(?:checkbox|radio)$/i,Nt=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:x.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},jt=dt(a),Dt=jt.appendChild(a.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||"string"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,"script"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x.clone(i,!0,!0),o&&x.merge(a,Ft(i,"script"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||"")&&!x._data(i,"globalEval")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||"").replace(St,"")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ht(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,"globalEval",!t||x._data(t[r],"globalEval"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({},a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,"script"),r.length>0&&_t(r,!l&&Ft(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===x.type(o))x.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o="table"!==l||xt.test(o)?"<table>"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),"script"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle);
+u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),"none"!==n&&n||(Pt=(Pt||x("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=un(e,t),Pt.detach()),Gt[e]=n),n}function un(e,t){var n=x(t.createElement(e)).appendTo(t.body),r=x.css(n[0],"display");return n.remove(),r}x.each(["height","width"],function(e,n){x.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(x.css(e,"display"))?x.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,i),i):0)}}}),x.support.opacity||(x.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=x.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===x.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),x(function(){x.support.reliableMarginRight||(x.cssHooks.marginRight={get:function(e,n){return n?x.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!x.support.pixelPosition&&x.fn.position&&x.each(["top","left"],function(e,n){x.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?x(e).position()[n]+"px":r):t}}})}),x.expr&&x.expr.filters&&(x.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!x.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||x.css(e,"display"))},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(x.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Ct.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),x.param=function(e,n){var r,i=[],o=function(e,t){t=x.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(x.isArray(t))x.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==x.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}x.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var mn,yn,vn=x.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Cn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Nn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=x.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=o.href}catch(Ln){yn=a.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(T)||[];if(x.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(l){var u;return o[l]=!0,x.each(e[l]||[],function(e,l){var c=l(n,r,i);return"string"!=typeof c||a||o[c]?a?!(u=c):t:(n.dataTypes.unshift(c),s(c),!1)}),u}return s(n.dataTypes[0])||!o["*"]&&s("*")}function _n(e,n){var r,i,o=x.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&x.extend(!0,e,r),e}x.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),x.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&x.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?x("<div>").append(x.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Cn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?_n(_n(e,x.ajaxSettings),t):_n(x.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,l,u,c,p=x.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?x(f):x.event,h=x.Deferred(),g=x.Callbacks("once memory"),m=p.statusCode||{},y={},v={},b=0,w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return u&&u.abort(t),k(0,t),this}};if(h.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=x.trim(p.dataType||"*").toLowerCase().match(T)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(mn[3]||("http:"===mn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),qn(An,p,n,C),2===b)return C;l=p.global,l&&0===x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Nn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(x.lastModified[o]&&C.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&C.setRequestHeader("If-None-Match",x.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)C.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,C,p)===!1||2===b))return C.abort();w="abort";for(i in{success:1,error:1,complete:1})C[i](p[i]);if(u=qn(jn,p,n,C)){C.readyState=1,l&&d.trigger("ajaxSend",[C,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){C.abort("timeout")},p.timeout));try{b=1,u.send(y,k)}catch(N){if(!(2>b))throw N;k(-1,N)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,N=n;2!==b&&(b=2,s&&clearTimeout(s),u=t,a=i||"",C.readyState=e>0?4:0,c=e>=200&&300>e||304===e,r&&(w=Mn(p,C,r)),w=On(p,w,C,c),c?(p.ifModified&&(T=C.getResponseHeader("Last-Modified"),T&&(x.lastModified[o]=T),T=C.getResponseHeader("etag"),T&&(x.etag[o]=T)),204===e||"HEAD"===p.type?N="nocontent":304===e?N="notmodified":(N=w.state,y=w.data,v=w.error,c=!v)):(v=N,(e||!N)&&(N="error",0>e&&(e=0))),C.status=e,C.statusText=(n||N)+"",c?h.resolveWith(f,[y,N,C]):h.rejectWith(f,[C,N,v]),C.statusCode(m),m=t,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[C,p,c?y:v]),g.fireWith(f,[C,N]),l&&(d.trigger("ajaxComplete",[C,p]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,n){return x.get(e,t,n,"script")}}),x.each(["get","post"],function(e,n){x[n]=function(e,r,i,o){return x.isFunction(r)&&(o=o||i,i=r,r=t),x.ajax({url:e,type:n,dataType:o,data:r,success:i})}});function Mn(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in l)if(l[s]&&l[s].test(o)){u.unshift(s);break}if(u[0]in r)a=u[0];else{for(s in r){if(!u[0]||e.converters[s+" "+u[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==u[0]&&u.unshift(a),r[a]):t}function On(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[i]:u[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(p){return{state:"parsererror",error:a?p:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),x.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=a.head||x("head")[0]||a.documentElement;return{send:function(t,i){n=a.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Fn=[],Bn=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Fn.pop()||x.expando+"_"+vn++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=x.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||x.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Fn.push(o)),s&&x.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}x.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=x.ajaxSettings.xhr(),x.support.cors=!!Rn&&"withCredentials"in Rn,Rn=x.support.ajax=!!Rn,Rn&&x.ajaxTransport(function(n){if(!n.crossDomain||x.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=x.noop,$n&&delete Pn[a]),i)4!==l.readyState&&l.abort();else{p={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(p.text=l.responseText);try{c=l.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,u)},n.async?4===l.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},x(e).unload($n)),Pn[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+w+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Yn.exec(t),o=i&&i[3]||(x.cssNumber[e]?"":"px"),a=(x.cssNumber[e]||"px"!==o&&+r)&&Yn.exec(x.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,x.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=x.now()}function Zn(e,t,n){var r,i=(Qn[t]||[]).concat(Qn["*"]),o=0,a=i.length;for(;a>o;o++)if(r=i[o].call(n,t,e))return r}function er(e,t,n){var r,i,o=0,a=Gn.length,s=x.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,o=1-r,a=0,l=u.tweens.length;for(;l>a;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),1>o&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(tr(c,u.opts.specialEasing);a>o;o++)if(r=Gn[o].call(u,e,c,u.opts))return r;return x.map(c,Zn,u),x.isFunction(u.opts.start)&&u.opts.start.call(e,u),x.fx.timer(x.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function tr(e,t){var n,r,i,o,a;for(n in e)if(r=x.camelCase(n),i=t[r],o=e[n],x.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=x.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}x.Animation=x.extend(er,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,l,u=this,c={},p=e.style,f=e.nodeType&&nn(e),d=x._data(e,"fxshow");n.queue||(s=x._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===x.css(e,"display")&&"none"===x.css(e,"float")&&(x.support.inlineBlockNeedsLayout&&"inline"!==ln(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",x.support.shrinkWrapBlocks||u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Vn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(f?"hide":"show"))continue;c[r]=d&&d[r]||x.style(e,r)}if(!x.isEmptyObject(c)){d?"hidden"in d&&(f=d.hidden):d=x._data(e,"fxshow",{}),o&&(d.hidden=!f),f?x(e).show():u.done(function(){x(e).hide()}),u.done(function(){var t;x._removeData(e,"fxshow");for(t in c)x.style(e,t,c[t])});for(r in c)a=Zn(f?d[r]:0,r,u),r in d||(d[r]=a.start,f&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}x.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),a=function(){var t=er(this,x.extend({},e),o);(i||x._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=x.timers,a=x._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&x.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=x._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}x.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||x.isFunction(e)&&e,duration:e,easing:n&&t||t&&!x.isFunction(t)&&t};return r.duration=x.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){x.isFunction(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.timers=[],x.fx=rr.prototype.init,x.fx.tick=function(){var e,n=x.timers,r=0;for(Xn=x.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||x.fx.stop(),Xn=t},x.fx.timer=function(e){e()&&x.timers.push(e)&&x.fx.start()},x.fx.interval=13,x.fx.start=function(){Un||(Un=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(Un),Un=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fx.step={},x.expr&&x.expr.filters&&(x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length}),x.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){x.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,x.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},x.offset={setOffset:function(e,t,n){var r=x.css(e,"position");"static"===r&&(e.style.position="relative");var i=x(e),o=i.offset(),a=x.css(e,"top"),s=x.css(e,"left"),l=("absolute"===r||"fixed"===r)&&x.inArray("auto",[a,s])>-1,u={},c={},p,f;l?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),x.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(u.top=t.top-o.top+p),null!=t.left&&(u.left=t.left-o.left+f),"using"in t?t.using.call(e,u):i.css(u)}},x.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===x.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],"html")||(n=e.offset()),n.top+=x.css(e[0],"borderTopWidth",!0),n.left+=x.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-x.css(r,"marginTop",!0),left:t.left-n.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||s;while(e&&!x.nodeName(e,"html")&&"static"===x.css(e,"position"))e=e.offsetParent;return e||s})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);x.fn[e]=function(i){return x.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?x(a).scrollLeft():o,r?o:x(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return x.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}x.each({Height:"height",Width:"width"},function(e,n){x.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){x.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return x.access(this,function(n,r,i){var o;return x.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?x.css(n,r,s):x.style(n,r,i,s)},n,a?i:t,a,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=x:(e.jQuery=e.$=x,"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}))})(window);
diff --git a/mayor-orig/mayor-base/www/skin/classic/base/javascript/noiframe.js b/mayor-orig/mayor-base/www/skin/classic/base/javascript/noiframe.js
new file mode 100644
index 00000000..f0e2aefc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/base/javascript/noiframe.js
@@ -0,0 +1 @@
+if (window != window.top) {window.top.location = window.location;stop();}
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-auth/css/forgotten.css b/mayor-orig/mayor-base/www/skin/classic/module-auth/css/forgotten.css
new file mode 100644
index 00000000..a3e63ada
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-auth/css/forgotten.css
@@ -0,0 +1,66 @@
+
+ div.mayorbody h1 {text-align: center; margin:10px; font-size:20px; }
+ div.mayorbody h2 {text-align: center; margin:10px; font-size: 15px; }
+
+ form.forgot { width: 450px; margin: 40px auto; text-align: center;
+ box-shadow: 0px 0px 2px 0px #ccc;
+ padding: 20px;
+ }
+ form.forgot h1 { font-size: 16px; }
+/*
+ form.forgot input[type=submit] { background: #1f6fd9; color: white; text-shadow: 0 -1px 0 rgba(0,0,0,0.3); font-size: 12px; border: 1px solid #1d66c8; padding: 2px 10px; }
+ form.forgot input[type=submit]:hover { background-color: #2f7fe9;}
+*/
+ div.forgot { width: 400px; margin: 20px auto; text-align: center; box-shadow: 0px 0px 2px 0px #ccc; padding:0px; }
+/*
+régi
+ div.forgot a { color:#aaaaaa; display: block; padding:20px;}
+ div.forgot:hover a { background-color: cornflowerblue; color:white; }
+*/
+form.forgot input, form.forgot select,
+form.preforgot input, form.preforgot select{
+ border: 1px solid rgba(0, 0, 0, .20);
+ border-radius: 4px;
+ color: rgba(0, 0, 0, 1);
+ display: block;
+ font-size: 17px;
+ height: 42px;
+ margin-bottom: 12px;
+ margin-left: auto;
+ margin-right: auto;
+ padding: 0 16px;
+ width: 286px;
+}
+form.forgot input.error {border-color:red;}
+
+form.forgot select, form.forgot input[type="submit"],
+form.preforgot select, form.preforgot input[type="submit"]{
+ width: 320px;
+}
+form.forgot input[type="submit"],form.preforgot input[type="submit"]{ border-color: white; background-color:white;}
+form.forgot input[type="submit"]:hover,form.preforgot input[type="submit"]:hover { background-color:white; cursor: pointer; color: cornflowerblue; border-color: cornflowerblue;}
+
+div.loginlogo {margin-left: auto; margin-right:auto; text-align:center; margin-bottom: 2em; margin-top:50px;}
+div.loginlogo img { padding:20px; height:50px; background-color: cornflowerblue; }
+
+p.forgotDone { text-align:center; }
+
+
+
+ p.forgotDone a {
+ border: 1px solid rgba(0, 0, 0, .10);
+ border-radius: 4px;
+ color: rgba(0, 0, 0, .1);
+ display: block;
+ font-size: 16px;
+ height: 42px;
+ margin-bottom: 12px;
+ margin-left: auto;
+ margin-right: auto;
+ padding: 0 16px;
+ width: 286px;
+ line-height:42px;
+ }
+ p.forgotDone a:hover { background-color: cornflowerblue; }
+ p.forgotDone a:hover { color:white; }
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-auth/css/login.css b/mayor-orig/mayor-base/www/skin/classic/module-auth/css/login.css
new file mode 100644
index 00000000..da948475
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-auth/css/login.css
@@ -0,0 +1,108 @@
+div.mayorbody h1 {text-align: center; margin:10px; font-size:20px; }
+div.mayorbody h2 {text-align: center; margin:10px; font-size: 15px; }
+
+form.nagylogin input, form.nagylogin select{
+ border: 1px solid rgba(0, 0, 0, .20);
+ border-radius: 4px;
+ color: rgba(0, 0, 0, 1);
+ display: block;
+ font-size: 17px;
+ height: 42px;
+ margin-bottom: 12px;
+ margin-left: auto;
+ margin-right: auto;
+ padding: 0 16px;
+ width: 286px;
+}
+form.nagylogin input.error {border-color:red;}
+
+form.nagylogin select, form.nagylogin input[type="submit"]{
+ width: 320px;
+}
+form.nagylogin input[type="submit"]{ border-color: white; background-color:white;}
+form.nagylogin input[type="submit"]:hover { background-color:white; cursor: pointer; color: cornflowerblue; border-color: cornflowerblue;}
+form.nagylogin div.loginlogo {margin-left: auto; margin-right:auto; text-align:center; margin-bottom: 2em;}
+form.nagylogin div.loginlogo img { padding:20px; height:50px; background-color: cornflowerblue; }
+
+form.nagylogin div.loaderContainer { position: relative;
+ top: -45px;
+ left:-90px;
+ margin-left: auto;
+ margin-right: auto;
+ height:2px;
+ width:2px;
+ margin-bottom:0px;
+ padding-bottom:0px;
+}
+form.nagylogin div.loaderContainer div.loader { display: inline-block; }
+
+#warning { height: 40px; }
+#capsLockWarning {
+ background: #ffffaa; color: #ffaaaa;
+ text-align: center; font-size: 20px; font-weight: bold;
+ padding: 20px; margin: 10px auto; width: 300px;
+}
+
+ form.forgot { margin: 0px auto; text-align: center; padding: 0px 0px; }
+ form.forgot h1 { }
+ form.forgot input[type=submit] {
+ background: #1f6fd9; color: white; text-shadow: 0 -1px 0 rgba(0,0,0,0.3); border: 1px solid #1d66c8; padding: 2px 10px;
+ }
+ form.forgot a {
+ border: 1px solid rgba(0, 0, 0, .10);
+ border-radius: 4px;
+ color: rgba(0, 0, 0, .1);
+ display: block;
+ font-size: 16px;
+ height: 42px;
+ margin-bottom: 12px;
+ margin-left: auto;
+ margin-right: auto;
+ padding: 0 16px;
+ width: 286px;
+ line-height:42px;
+ }
+ form.forgot a:hover { background-color: cornflowerblue; }
+ form.forgot a:hover { color:white; }
+
+.loader {
+ margin: 0px auto;
+ font-size: 2px;
+ position: relative;
+ text-indent: -9999em;
+ border-top: 1.1em solid rgba(255,42,99, 0.2);
+ border-right: 1.1em solid rgba(255,42,99, 0.2);
+ border-bottom: 1.1em solid rgba(255,42,99, 0.2);
+ border-left: 1.1em solid #ff2a63;
+ -webkit-transform: translateZ(0);
+ -ms-transform: translateZ(0);
+ transform: translateZ(0);
+ -webkit-animation: load8 1.1s infinite linear;
+ animation: load8 1.1s infinite linear;
+}
+.loader,
+.loader:after {
+ border-radius: 50%;
+ width: 10em;
+ height: 10em;
+}
+@-webkit-keyframes load8 {
+ 0% {
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+ 100% {
+ -webkit-transform: rotate(360deg);
+ transform: rotate(360deg);
+ }
+}
+@keyframes load8 {
+ 0% {
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+ 100% {
+ -webkit-transform: rotate(360deg);
+ transform: rotate(360deg);
+ }
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-auth/html/forgotten.phtml b/mayor-orig/mayor-base/www/skin/classic/module-auth/html/forgotten.phtml
new file mode 100644
index 00000000..464f4f64
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-auth/html/forgotten.phtml
@@ -0,0 +1,103 @@
+<?php
+
+ function putForgotPasswordForm($ADAT) {
+
+ echo '<h1>'._SITE.'</h1>'."\n";
+ echo '<h2>'._GREETING.'</h2>'."\n";
+
+ formBegin(array('class'=>'forgot'));
+
+ echo '<h1>'._FORGOT_PASSWORD.'</h1>';
+
+ echo '<p>'._ENTER_USERACCOUNT.'</p>';
+ echo '<input type="hidden" name="action" value="sendResetPasswordMail" />';
+ echo '<input type="hidden" name="toPolicy" value="'.$ADAT['toPolicy'].'" />';
+ echo '<input type="text" name="userAccount" value="'.$ADAT['userAccount'].'" placeholder="'._USERNAME.'" />';
+ echo '<input type="submit" value="'._RESET_PASSWORD.'" />';
+ echo '<p>'._FORGOT_PASSWORD_HELP.'</p>';
+
+ formEnd();
+
+ }
+
+ function putForgotUserAccountForm($ADAT) {
+
+ formBegin(array('class'=>'forgot'));
+
+ echo '<h1>'._FORGOT_USERACCOUNT.'</h1>';
+
+ echo '<p>'._ENTER_EMAIL.'</p>';
+ echo '<input type="hidden" name="action" value="sendResetPasswordMail" />';
+ echo '<input type="hidden" name="toPolicy" value="'.$ADAT['toPolicy'].'" />';
+ echo '<input type="text" name="mail" value="'.$ADAT['mail'].'" class="email" placeholder="'._EMAIL.'" />';
+ echo '<input type="submit" value="'._RESET_PASSWORD.'" />';
+ echo '<p>'._FORGOT_USERACCOUNT_HELP.'</p>';
+
+ formEnd();
+
+ }
+
+ function putForgotThankYou() {
+
+ echo '<h1>'._SITE.'</h1>'."\n";
+ echo '<h2>'._GREETING.'</h2>'."\n";
+
+ formBegin(array('class'=>'preforgot'));
+ echo '<a href="'.href('index.php?page=auth&f=login').'">';
+ _mayorLogo();
+ echo '</a>';
+ echo '<p class="forgotDone">'._FORGOT_INFO.'</p>';
+ formEnd();
+
+ }
+
+ function putForgotDisabled() {
+ global $POLICIES,$AUTH;
+
+ echo '<h1>'._SITE.'</h1>'."\n";
+ echo '<h2>'._GREETING.'</h2>'."\n";
+ echo '<a href="'.href('index.php?page=auth&f=login').'">';
+ _mayorLogo();
+ echo '</a>';
+
+ formBegin(array('class'=>'preforgot'));
+
+ echo '<select class="pp" name="toPolicy" class="onChangeSubmit">'."\n";
+ echo '<option value="">'._FORGOT_DISABLED.'</option>';
+ $SEL = array($toPolicy => ' selected="selected" ');
+ for ($i=0; $i<count($POLICIES); $i++) {
+ $_policy = $POLICIES[$i];
+ $DIS = ($AUTH[$_policy]['enablePasswordReset']!==true) ? ' disabled = "disabled" ' : '';
+ if ($AUTH[$_policy]['authentication'] != 'none') {
+ echo '<option value="'.$_policy.'" '.$SEL[$_policy].$DIS.'>';
+ echo constant('_'.strtoupper($_policy).'_LOGIN');
+ echo '</option>'."\n";
+ }
+ }
+ echo '</select>'."\n";
+ echo '<input type="submit" value="'._KIVALASZT.'" />';
+ formEnd();
+
+ }
+
+ function putBackToLogin($ADAT) {
+
+ //echo '<div class="">';
+ echo '<p class="forgotDone"><a href="'.href('index.php?page=auth&f=login&userAccount='.$ADAT['userAccount'].'&toPolicy='.$ADAT['toPolicy']).'">'._BACK_TO_LOGIN.'</a></p>';
+ //echo '</div>';
+
+ }
+
+ function _mayorLogo() {
+ echo '<div class="loginlogo">';
+ //mayorLogoSvg(array('dot'=>'#bbff44','startColor'=>'cornflowerblue','stopColor'=>'lightgreen'));
+ mayorLogoSvg(array(
+ 'dot'=>'#C9CFE8',
+ 'startColor'=>'#0E396A',
+ 'stopColor'=>'#4B6B90',
+ ));
+ echo '</div>';
+ }
+
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-auth/html/login.phtml b/mayor-orig/mayor-base/www/skin/classic/module-auth/html/login.phtml
new file mode 100644
index 00000000..cac82b7e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-auth/html/login.phtml
@@ -0,0 +1,77 @@
+<?php
+
+ function putLoginForm($userAccount,$toPolicy,$toPSF='',$toSkin='') {
+ global $POLICIES, $AUTH, $sessionID;
+
+ // TODO IDEIGLENES OVERRIDE -- if ($toPolicy=='public') $toPSF='portal:portal:vmgNyiltnap';
+
+ /* reading data from SESSION */
+ if ($userAccount=='' && $_SESSION['lastCreatedAccount']!='')
+ $userAccount=$_SESSION['lastCreatedAccount'];
+
+ echo '<h1>'._SITE.'</h1>'."\n";
+ echo '<h2>'._GREETING.'</h2>'."\n";
+
+ if (is_array($AUTH[$toPolicy]['allowOnly']) && !in_array($userAccount,$AUTH[$toPolicy]['allowOnly'])) {
+ echo '<div style="text-align:center; background-color:#f06; border-radius: 5px; width:150px; margin:auto; color:white;">Korlátozott belépés!</div>';
+ }
+
+ // Caps-Lock
+ echo '<div id="warning"><div style="display:none;" id="capsLockWarning">'._CAPSLOCKWARNING.'</div></div>';
+
+ formBegin(array('method'=>'post',
+ 'class'=>'nagylogin',
+ 'action'=>'index.php?policy=public&page=auth&f=login&toPolicy='.$toPolicy.'&sessionID='.$sessionID ,
+ 'name'=>"loginablak"));
+
+// echo '<input type="hidden" name="action" value="login" />';
+ echo '<input type="hidden" name="action" value="mayorGlobalLogin" />';
+ echo '<input type="hidden" name="toPSF" value="'.$toPSF.'" />';
+
+ echo '<div class="loginlogo">';
+ _putsvg();
+ echo '</div>';
+
+ echo '<input type="text" id="focus" accesskey="l" tabindex="1" name="userAccount" value="'.$userAccount.'" maxlength="32" placeholder="'._USERNAME.'" />'."\n";
+ echo '<input type="password" id="userPassword" accesskey="p" tabindex="2" name="userPassword" maxlength="20" placeholder="'._PASSWORD.'" value="" />'."\n";
+
+
+ if (intval(_MAYORAUTHRESULT)>0 || (defined('_FORCE_LOGIN_POLICY_SELECT') && _FORCE_LOGIN_POLICY_SELECT===true)) {
+ echo '<select class="pp" name="policyOrderIndex">'."\n";
+ //$_SEL = array($toPolicy => ' selected="selected" ');
+ echo '<option value="0">'._LOGIN_ALL_AUTH_LEVEL.'</option>';
+ for ($i=0; $i<count($POLICIES); $i++) {
+ $_policy = $POLICIES[$i];
+ if ($AUTH[$_policy]['authentication'] != 'none') {
+ echo '<option value="'.($i+1).'" '.$_SEL[$_policy].'>';
+ echo constant('_'.strtoupper($_policy).'_LOGIN');
+ echo '</option>'."\n";
+ }
+ }
+ echo '</select>'."\n";
+ }
+
+ echo '<input type="submit" class="mayorButton" tabindex="3" name="button" value=" '. _LOGIN .' "
+ class="submit" />'."\n";
+ echo '<div class="loaderContainer"><div class="loader" style="display:none" ></div></div>';
+
+ formEnd();
+ //if ($AUTH[$toPolicy]['enablePasswordReset']===true) {
+ formBegin(array('class'=>'forgot'));
+ echo '<div id="forgotten"><a href="'.href('index.php?page=auth&f=forgotten&userAccount='.$userAccount.'&toPolicy='.$toPolicy).'">'._FORGOTTEN.'</a></div>';
+ formEnd();
+ //}
+ }
+
+ function putAlreadyLoggedIn() {
+ echo '<div style="margin:40px auto; width:200px; padding:10px; background-color: #eeeeee; border: solid 2px #ddd; border-radius:2px; text-align:center; color: cornflowerblue">';
+ echo '<span class="icon-ok-sign" style="float:left; line-height:18px;font-size:18px; color:lightgreen; "></span>';
+ echo _BELEPVE;
+ echo '</div>';
+ }
+
+ function _putsvg() {
+ mayorLogoSvg();
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-auth/img/login.gif b/mayor-orig/mayor-base/www/skin/classic/module-auth/img/login.gif
new file mode 100644
index 00000000..82faef04
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-auth/img/login.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-auth/javascript/forgotten.jquery.min.js b/mayor-orig/mayor-base/www/skin/classic/module-auth/javascript/forgotten.jquery.min.js
new file mode 100644
index 00000000..46b8c27f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-auth/javascript/forgotten.jquery.min.js
@@ -0,0 +1,19 @@
+$(function() {
+
+ $("input.email").focus(function() {
+ }).blur(function() {
+ if (validateEmail($(this).val()) === false)
+ alert('Nem megfelelő email cím!');
+ });
+
+ $("input[type=submit]").click(function() {
+ // ellenőrzés
+ // return false;
+ });
+
+});
+
+function validateEmail(email) {
+ var re = /^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i;
+ return re.test(email);
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-auth/javascript/login.jquery.min.js b/mayor-orig/mayor-base/www/skin/classic/module-auth/javascript/login.jquery.min.js
new file mode 100644
index 00000000..0299746d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-auth/javascript/login.jquery.min.js
@@ -0,0 +1,24 @@
+$(function() {
+
+ $("input[type=submit]").click(function() {
+
+ //$(this).toggle();
+ //$(this).addClass('loader');
+ // ellenőrzés
+ if ($('#focus').val() =="") {
+ $('#focus').addClass('error');
+ return false;
+ }
+ if ($('#userPassword').val() =="") {
+ $('#userPassword').addClass('error');
+ return false;
+ }
+ document.loginablak.button.disabled=true;
+ $('.loader').show();
+ $(this).closest('form').submit();
+ });
+ $('form input').focus(function(event) {
+ $(event.target).prev().removeClass('error');
+ });
+});
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-password/css/password.css b/mayor-orig/mayor-base/www/skin/classic/module-password/css/password.css
new file mode 100644
index 00000000..b1550dbb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-password/css/password.css
@@ -0,0 +1,19 @@
+
+h1.changePassword {
+ text-align: center;
+}
+
+table.changePassword {
+ border: solid 1px rgb(85, 85, 80);
+ background-color: #eeeeee;
+ width:350px;
+}
+table.changePassword thead tr th {
+ height:30px;
+ background-color: rgb(102, 102, 144);
+ color:white;
+ border-bottom: solid 1px white;
+}
+table.changePassword tr td { padding: 2px 10px; height:20px;}
+table.changePassword tr td input { font-size:14px; }
+table.changePassword tfoot tr th { background-color: rgb(136, 136, 128); }
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-password/html/changeMyPassword.phtml b/mayor-orig/mayor-base/www/skin/classic/module-password/html/changeMyPassword.phtml
new file mode 100644
index 00000000..20680e8e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-password/html/changeMyPassword.phtml
@@ -0,0 +1,76 @@
+<?php
+
+ function putChangePasswordForm($userAccount, $toPolicy) {
+
+ global $POLICIES, $AUTH;
+
+ echo '<h1 class="changePassword">'._CHANGE_PASSWORD.'</h1>'."\n";
+ formBegin(array(
+ 'action'=>location('index.php?page=password&f=changeMyPassword'),
+ 'id'=>'changeMyPassword'
+ ));
+ echo '<input type="hidden" name="action" value="changePassword" />';
+
+ echo '<table cellspacing="0" cellpadding="1" align="center" class="changePassword">'."\n";
+ echo '<thead>'."\n";
+ echo '<tr>'."\n";
+ echo '<th colspan="2">'."\n";
+ echo _CHANGE_PASSWORD;
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+ echo '</thead>'."\n";
+ echo '<tfoot>'."\n";
+ echo '<tr>'."\n";
+ echo '<th colspan="2">'."\n";
+ echo '<input type="submit" tabindex="5" name="button" value=" '. _OK .' " class="submit" />'."\n";
+ echo '</th>'."\n";
+ echo '</tr>'."\n";
+ echo '</tfoot>'."\n";
+ echo '<tbody>'."\n";
+ echo '<tr>'."\n";
+ echo '<td>'."\n";
+ echo _USERNAME;
+ echo '</td>'."\n";
+ echo '<td>'."\n";
+ echo '<input id="userAccount" type="hidden" name="userAccount" value="'.$userAccount.'" maxlength="32" />'."\n";
+ echo $userAccount;
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+
+ echo '<tr>'."\n";
+ echo '<td>'."\n";
+ echo '<input type="hidden" name="toPolicy" value="'.$toPolicy.'" />';
+ echo constant('_'.strtoupper($toPolicy).'_PASSWORD');
+ echo '</td>'."\n";
+ echo '<td>'."\n";
+ echo '<input id="userPassword" type="password" accesskey="p" tabindex="2" name="userPassword" value="" maxlength="20" />'."\n";
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+
+ echo '<tr>'."\n";
+ echo '<td>'."\n";
+ echo _NEW_PASSWORD;
+ echo '</td>'."\n";
+ echo '<td>'."\n";
+ echo '<input id="newPassword" type="password" accesskey="n" tabindex="3" name="newPassword" value="" maxlength="20" />';
+ // echo '<span style="float:right;" id="complexity-bar" class="progress-bar progress-bar-danger" role="progressbar" style="width: 0%;"></span>';
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+
+ echo '<tr>'."\n";
+ echo '<td>'."\n";
+ echo _VERIFICATION;
+ echo '</td>'."\n";
+ echo '<td>'."\n";
+ echo '<input id="verification" type="password" accesskey="v" tabindex="4" name="verification" value="" maxlength="20" />'."\n";
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+
+ echo '</tbody>'."\n";
+ echo '</table>'."\n";
+
+ formEnd();
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-password/html/changePassword.phtml b/mayor-orig/mayor-base/www/skin/classic/module-password/html/changePassword.phtml
new file mode 100644
index 00000000..87f34b3c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-password/html/changePassword.phtml
@@ -0,0 +1,89 @@
+<?php
+
+ function putChangePasswordForm($userAccount, $toPolicy, $forcePolicy = false) {
+
+ global $POLICIES, $AUTH;
+
+ echo '<h1 class="changePassword">'._CHANGE_PASSWORD.'</h1>'."\n";
+ formBegin(array('action'=>location('index.php?page=password&f=changePassword')));
+
+ echo '<input type="hidden" name="action" value="changePassword" />';
+
+ echo '<table cellspacing="0" cellpadding="1" align="center" class="changePassword">'."\n";
+ echo '<thead>'."\n";
+ if ($forcePolicy) {
+ echo '<tr>'."\n";
+ echo '<th colspan="3">'."\n";
+ echo constant('_'.strtoupper($toPolicy).'_PASSWORD');
+ echo '<input type="hidden" name="toPolicy" value="'.$toPolicy.'" />'."\n";
+ echo '</th>'."\n";
+ echo '</tr>'."\n";
+ }
+ echo '</thead>'."\n";
+ echo '<tfoot>'."\n";
+ echo '<tr>'."\n";
+ echo '<th colspan="3">'."\n";
+ echo '<input type="submit" tabindex="3" name="button" value=" '. _OK .' "
+ onclick="document.loginablak.button.disabled=true;
+ document.loginablak.button.value=\' Várj... \';
+ document.loginablak.submit()" class="submit" />'."\n";
+ echo '</th>'."\n";
+ echo '</tr>'."\n";
+ echo '</tfoot>'."\n";
+ echo '<tbody>'."\n";
+ echo '<tr>'."\n";
+ echo '<td>'."\n";
+ echo _USERNAME;
+ echo '</td>'."\n";
+ echo '<td>'."\n";
+ echo '<input id="userAccount" type="text" accesskey="l" tabindex="1" name="userAccount" value="'.$userAccount.'" maxlength="32" />'."\n";
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+
+ if (!$forcePolicy) { // rögzített policy esetén nem kell jelszót megadni
+ echo '<tr>'."\n";
+ echo '<td>'."\n";
+ echo '<select class="pp" name="toPolicy">'."\n";
+ $SEL = array($toPolicy => ' selected="selected" ');
+ for ($i=0; $i<count($POLICIES); $i++) {
+ $_policy = $POLICIES[$i];
+ if ($AUTH[$_policy]['authentication'] != 'none') {
+ echo '<option value="'.$_policy.'" '.$SEL[$_policy].'>';
+ echo constant('_'.strtoupper($_policy).'_PASSWORD');
+ echo '</option>'."\n";
+ }
+ }
+ echo '</select>'."\n";
+ echo '</td>'."\n";
+ echo '<td>'."\n";
+ echo '<input id="userPassword" type="password" accesskey="p" tabindex="2" name="userPassword" value="" maxlength="20" />'."\n";
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+ }
+
+ echo '<tr>'."\n";
+ echo '<td>'."\n";
+ echo _NEW_PASSWORD;
+ echo '</td>'."\n";
+ echo '<td>'."\n";
+ echo '<input id="newPassword" type="password" accesskey="n" tabindex="3" name="newPassword" value="" maxlength="20" />'."\n";
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+
+ echo '<tr>'."\n";
+ echo '<td>'."\n";
+ echo _VERIFICATION;
+ echo '</td>'."\n";
+ echo '<td>'."\n";
+ echo '<input id="verification" type="password" accesskey="v" tabindex="3" name="verification" value="" maxlength="20" />'."\n";
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+
+ echo '</tbody>'."\n";
+ echo '</table>'."\n";
+
+ formEnd();
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-password/html/resetPassword.phtml b/mayor-orig/mayor-base/www/skin/classic/module-password/html/resetPassword.phtml
new file mode 100644
index 00000000..038effb6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-password/html/resetPassword.phtml
@@ -0,0 +1,79 @@
+<?php
+
+ function putResetPasswordForm($ADAT) {
+
+ global $POLICIES, $AUTH;
+
+ $toPolicy = $ADAT['policy'];
+ $userAccount = $ADAT['userAccount'];
+
+ echo '<h1 class="changePassword">'._RESET_PASSWORD.'</h1>'."\n";
+
+ formBegin(array('action'=>location('index.php?page=password&f=resetPassword')));
+ echo '<input type="hidden" name="action" value="resetPassword" />';
+ echo '<input type="hidden" name="selector" value="'.$ADAT['selector'].'" />';
+ echo '<input type="hidden" name="validator" value="'.$ADAT['validator'].'" />';
+
+ echo '<table cellspacing="0" cellpadding="1" align="center" class="changePassword">'."\n";
+ echo '<thead>'."\n";
+ echo '<tr>'."\n";
+ echo '<th colspan="3">'."\n";
+ echo constant('_'.strtoupper($toPolicy).'_PASSWORD');
+ echo '<input type="hidden" name="toPolicy" value="'.$toPolicy.'" />'."\n";
+ echo '</th>'."\n";
+ echo '</tr>'."\n";
+ echo '</thead>'."\n";
+ echo '<tfoot>'."\n";
+ echo '<tr>'."\n";
+ echo '<th colspan="3">'."\n";
+ echo '<input type="submit" tabindex="3" name="button" value=" '. _OK .' "
+ class="submit" />'."\n";
+ echo '</th>'."\n";
+ echo '</tr>'."\n";
+ echo '</tfoot>'."\n";
+ echo '<tbody>'."\n";
+/*
+ echo '<tr>'."\n";
+ echo '<td>'."\n";
+ echo _USERNAME;
+ echo '</td>'."\n";
+ echo '<td>'."\n";
+ echo '<input id="userAccount" type="text" readonly="readonly" tabindex="1" name="userAccount" value="'.$userCn.'" maxlength="32" />'."\n";
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+*/
+ echo '<tr>'."\n";
+ echo '<td>'."\n";
+ echo _USERNAME;
+ echo '</td>'."\n";
+ echo '<td>'."\n";
+ echo '<input id="userAccount" type="text" readonly="readonly" tabindex="1" name="userAccount" value="'.$userAccount.'" maxlength="32" />'."\n";
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+
+ echo '<tr>'."\n";
+ echo '<td>'."\n";
+ echo _NEW_PASSWORD;
+ echo '</td>'."\n";
+ echo '<td>'."\n";
+ echo '<input id="newPassword" type="password" accesskey="n" tabindex="3" name="newPassword" value="" maxlength="20" />'."\n";
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+
+ echo '<tr>'."\n";
+ echo '<td>'."\n";
+ echo _VERIFICATION;
+ echo '</td>'."\n";
+ echo '<td>'."\n";
+ echo '<input id="verification" type="password" accesskey="v" tabindex="3" name="verification" value="" maxlength="20" />'."\n";
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+
+ echo '</tbody>'."\n";
+ echo '</table>'."\n";
+
+ formEnd();
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-password/javascript/changeMyPassword.jquery.min.js b/mayor-orig/mayor-base/www/skin/classic/module-password/javascript/changeMyPassword.jquery.min.js
new file mode 100644
index 00000000..e672f080
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-password/javascript/changeMyPassword.jquery.min.js
@@ -0,0 +1,27 @@
+// $(function() {
+// var myPasswordComplex = false;
+// $('#changeMyPassword').submit(function() {
+// if (myPasswordComplex && ($('#newPassword').val() == $('#verification').val())) this.submit();
+// else return false;
+// });
+// var defaultComplexity = {
+// minimumChars:7,
+// strengthScaleFactor:0.5
+// };
+// $("#newPassword").complexify(defaultComplexity, function (valid, complexity)
+// {
+// //console.log("Password complexity: " + complexity + " " + valid);
+// var progressBar = $('#complexity-bar');
+// //progressBar.toggleClass('progress-bar-success', valid);
+// //progressBar.toggleClass('progress-bar-danger', !valid);
+// //progressBar.css({'width': complexity + '%'});
+// $('#complexity-bar').text(Math.round(complexity) + '%');
+// myPasswordComplex = valid;
+// });
+// });
+//
+// // complexify plugin
+// !function(a){a.fn.extend({complexify:function(b,c){function h(a,b){for(var c=a.length-1;c>=0;c--)if(b[0]<=a.charCodeAt(c)&&a.charCodeAt(c)<=b[1])return b[1]-b[0]+1;return 0}function i(c){if("strict"===b.banMode){for(var d=0;d<b.bannedPasswords.length;d++)if(-1!==c.toLowerCase().indexOf(b.bannedPasswords[d].toLowerCase()))return!0;return!1}return a.inArray(c,b.bannedPasswords)>-1?!0:!1}function j(){var g=a(this).val(),j=0,k=!1;if(i(g))j=1;else for(var l=f.length-1;l>=0;l--)j+=h(g,f[l]);j=Math.log(Math.pow(j,g.length))*(1/b.strengthScaleFactor),k=j>d&&g.length>=b.minimumChars,j=100*(j/e),j=j>100?100:j,c.call(this,k,j)}var d=49,e=120,f=[[32,32],[48,57],[65,90],[97,122],[33,47],[58,64],[91,96],[123,126],[128,255],[256,383],[384,591],[592,687],[688,767],[768,879],[880,1023],[1024,1279],[1328,1423],[1424,1535],[1536,1791],[1792,1871],[1920,1983],[2304,2431],[2432,2559],[2560,2687],[2688,2815],[2816,2943],[2944,3071],[3072,3199],[3200,3327],[3328,3455],[3456,3583],[3584,3711],[3712,3839],[3840,4095],[4096,4255],[4256,4351],[4352,4607],[4608,4991],[5024,5119],[5120,5759],[5760,5791],[5792,5887],[6016,6143],[6144,6319],[7680,7935],[7936,8191],[8192,8303],[8304,8351],[8352,8399],[8400,8447],[8448,8527],[8528,8591],[8592,8703],[8704,8959],[8960,9215],[9216,9279],[9280,9311],[9312,9471],[9472,9599],[9600,9631],[9632,9727],[9728,9983],[9984,10175],[10240,10495],[11904,12031],[12032,12255],[12272,12287],[12288,12351],[12352,12447],[12448,12543],[12544,12591],[12592,12687],[12688,12703],[12704,12735],[12800,13055],[13056,13311],[13312,19893],[19968,40959],[40960,42127],[42128,42191],[44032,55203],[55296,56191],[56192,56319],[56320,57343],[57344,63743],[63744,64255],[64256,64335],[64336,65023],[65056,65071],[65072,65103],[65104,65135],[65136,65278],[65279,65279],[65280,65519],[65520,65533]],g={minimumChars:8,strengthScaleFactor:1,bannedPasswords:window.COMPLEXIFY_BANLIST||[],banMode:"strict"};return a.isFunction(b)&&!c&&(c=b,b={}),b=a.extend(g,b),this.each(function(){a(this).val()&&j.apply(this)}),this.each(function(){a(this).bind("keyup focus input propertychange mouseup",j)})}})}(jQuery);
+//
+// -- disabled
+ \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/css/accountInfo.css b/mayor-orig/mayor-base/www/skin/classic/module-session/css/accountInfo.css
new file mode 100644
index 00000000..92b23fec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/css/accountInfo.css
@@ -0,0 +1,112 @@
+
+ table.personalSettings {
+ background-color: rgb(220,220,220);
+ color: white;
+ margin-top: 20px;
+ }
+
+ table.personalSettings thead th {
+ background-color: cornflowerblue;
+ padding: 5px 40px 5px 40px;
+ }
+ table.personalSettings.asAdamin thead th {
+ background-color: cornflowerblue;
+ }
+ table.personalSettings thead th.policy {
+ background-color: rgb(225,125,25);
+ }
+
+ table.personalSettings tfoot th {
+ background-color: cornflowerblue;
+ height:30px;
+ }
+ table.personalSettings.asAdmin tfoot th { background-color: #f60; }
+
+ table.personalSettings tbody td {
+ background-color: rgb(200,200,210);
+ }
+
+ table.personalSettings tbody th {
+ width: 100px;
+ background-color: rgb(120,120,140);
+ }
+
+/* ------------------------- */
+
+
+ table.changePassword {
+ margin-top: 20px;
+ background-color: rgb(220,220,220);
+ color: white;
+ }
+
+ table.changePassword thead th {
+ background-color: rgb(60,20,100);
+ padding: 5px 40px 5px 40px;
+ }
+
+ table.changePassword tfoot th {
+ background-color: rgb(60,20,100);
+ }
+
+ table.changePassword tbody td {
+ background-color: rgb(200,200,210);
+ }
+
+ table.changePassword tbody th {
+ width: 100px;
+ background-color: rgb(120,120,140);
+ }
+
+/* WALL */
+
+ div#wall {
+ text-align:center;
+ }
+
+ div#wall table {
+ margin: 20px auto;
+ background-color: rgb(220,220,220);
+ color: white;
+ }
+
+ div#wall table thead th {
+ background-color: rgb(60,20,100);
+ padding: 5px 40px 5px 40px;
+ }
+
+ div#wall table tfoot th {
+ background-color: rgb(60,20,100);
+ }
+
+ div#wall table tbody td {
+ background-color: rgb(200,200,210);
+ }
+
+ div#wall table tbody th {
+ width: 100px;
+ background-color: rgb(120,120,140);
+ }
+
+ div.wall {
+ margin:20px auto;
+ border: solid 2px #887780;
+ background-color: #eedde0;
+ color: black;
+ width:400px;
+ padding:5px;
+ }
+ div.centro { text-align: center; }
+ div.wall { text-align: left; }
+ div.wall h1 { font-size:larger; margin:0px; padding-bottom: 5px;}
+ div.wall h2 { font-size:smaller; margin:0px; padding:0px; text-align: right;}
+ div.wall img { border: none; top:5px; right:5px; float:right; }
+
+
+ table.attr { min-width: 320px; width: 100%; }
+ table.attr tr th { min-width: 100px; text-align:left; font-weight:normal; height:2em; padding:4px 8px; }
+ table.attr tr td { background-color: white; color: black; text-align: left; min-width: 150px; }
+
+
+ div.unknownAttr { background-color: orange; text-align: center; }
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/css/admin/knownNodes.css b/mayor-orig/mayor-base/www/skin/classic/module-session/css/admin/knownNodes.css
new file mode 100644
index 00000000..f61a0b60
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/css/admin/knownNodes.css
@@ -0,0 +1,14 @@
+
+form#search { background-color: #eee; padding: 5px; text-align: center; margin: 10px auto; width: 400px; }
+form#search h3 { border-bottom: 1px solid #600; padding: 2px 10px; margin: 10px 40px; }
+form#search label { margin-right: 5px; }
+form#search input { margin-left: 10px; }
+
+table#nodes { background-color: white; border: solid 1px #ddd; border-spacing: 0px; margin: auto; }
+table#nodes td, table#nodes th { border: solid 1px #ddd; padding: 2px 5px; }
+table#nodes tr.fejlesztoi td { background-color: #060; color: white; }
+table#nodes tr.fenntarto td { background-color: #006; color: white; }
+table#nodes tr.controller td { background-color: #600; color: white; }
+table#nodes tr.backup td { background-color: #630; color: white; }
+table#nodes td input.pong { background-color: #282; color: white; }
+table#nodes td input.delete { background-color: #d00; color: white; }
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/css/admin/registration.css b/mayor-orig/mayor-base/www/skin/classic/module-session/css/admin/registration.css
new file mode 100644
index 00000000..d951061d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/css/admin/registration.css
@@ -0,0 +1,54 @@
+
+
+ form.reg { background-color: #d2dfe9; margin:40px; text-align: center; border: 5px solid #c2cfd9; background-color: #68a; border-color: #79b; }
+ form#modForm.reg { background-color: #8b9; border-color: #6a8; }
+
+ form.reg > div.adatok, div#bal > div { border: solid 1px white; background-color: #428fa9; color: white; background-color: #246;}
+ form#modForm.reg > div.adatok, form#modForm.reg div#bal > div { background-color: #4a6; color: #600; }
+
+ form.reg div#bal { float: left; }
+ form.reg div.leiras { background-color: #ddd; color: #246; text-align: left; width: 600px; padding: 5px 20px; margin: 0px auto 15px auto; }
+ form.reg div#bal div.leiras { width: 400px; height: 400px; overflow: auto; background-color: #ddd; color: #246; padding: 10px; margin: 0px 20px 10px 0px; text-align: justify; }
+ form#modForm.reg div#bal div.leiras { background-color: #ddd; color: #264; }
+ form.reg div.leiras.offline { font-size: 14px; text-align: left; height:410px;}
+ form.reg div.leiras.offline ol li { padding: 0.3em; }
+
+ form.reg div.tamogatas { background-color: #446; width: 380px; padding: 20px; text-align: center; color: white; }
+ form.reg div.tamogatas input[type=submit] { width: 60%; margin:1em;}
+ form.reg div.tamogatas input[type=text] { width: 60%;}
+ form.reg div.tamogatas select { text-align: right; }
+ form.reg div.tamogatas p.hibaeseten { background-color: white; color: black; padding: 5px; }
+
+ form.reg div.adatok { height: 600px; text-align: left; padding: 10px; margin-bottom: 10px; overflow-y: scroll; }
+ form.reg h3 { text-align: center;background-color: #eee; border-bottom: solid 1px #ff0066; padding: 5px; margin: 0px 0px 2em 0px; color: #246; }
+ form.reg div.adatok label { display: inline-block; text-align: right; padding-right: 5px; width: 250px; }
+
+ form.reg div.adatok input[type=text] { width: 400px; margin-top: 10px; background-color: #ccc; border: solid 1px white;}
+ form.reg div.adatok input[type=text].kotelezo { background-color: white; }
+
+
+ div.validRegisztracio {
+ text-align:center;
+ background-color: lightgreen;
+ margin:40px;
+ height:5em;
+ font-size:large;
+ line-height:5em;
+ vertical-align:middle;
+ color:white;
+ }
+ div.validRegisztracio span { padding-right:10px; }
+
+ div.notValidRegisztracio {
+ text-align:center;
+ background-color: #EE9090;
+ margin:40px;
+ height:5em;
+ font-size:large;
+ line-height:5em;
+ vertical-align:middle;
+ color:white;
+ }
+ div.notValidRegisztracio span { padding-right:10px; }
+
+ h2 { margin-left:40px; } \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/css/createAccount.css b/mayor-orig/mayor-base/www/skin/classic/module-session/css/createAccount.css
new file mode 100644
index 00000000..6c1e19ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/css/createAccount.css
@@ -0,0 +1,24 @@
+@media screen,print {
+
+ table.new input { border: solid 1px black; }
+
+ table.searchresult { background-color: #aaaaaa; margin-bottom:20px; }
+ table.searchresult thead th { background-color: #d6bddb; height:2em; border-bottom: solid 2px purple; }
+ table.searchresult tfoot th { background-color: purple; }
+ table.searchresult th { background-color: #ffffff; }
+ table.searchresult a { color: black; text-decoration: none; }
+ table.searchresult a:hover { text-decoration: underline; }
+
+ table.new { background-color: #aaaaaa; margin-bottom:20px; margin-top:30px;}
+ table.new thead th { background-color: #ccccee; height:2em; border-bottom: solid 2px purple; }
+ table.new thead td { text-align: center; background-color: #ccccee; height:2em; border-bottom: solid 2px purple; }
+ table.new th { background-color: #ffffff; }
+ table.new td { background-color: #ffffff; }
+ table.new td input { }
+
+ .paros { background-color: #eeeeee; }
+ .paratlan { background-color: #dddddd; }
+
+ table.new input.hiba { outline: solid 1px red; }
+
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/css/createGroup.css b/mayor-orig/mayor-base/www/skin/classic/module-session/css/createGroup.css
new file mode 100644
index 00000000..78e0b4fc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/css/createGroup.css
@@ -0,0 +1,13 @@
+@media screen,print {
+
+ table.new { background-color: #aaaaaa; margin-bottom:20px;}
+ table.new thead th { background-color: #ccccee; height:2em; border-bottom: solid 2px purple; }
+ table.new thead td { text-align: center; background-color: #ccccee; height:2em; border-bottom: solid 2px purple; }
+ table.new th { background-color: #ffffff; }
+ table.new td { background-color: #ffffff; }
+ table.new td input { width:95%; }
+
+ .paros { background-color: #eeeeee; }
+ .paratlan { background-color: #dddddd; }
+
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/css/download.css b/mayor-orig/mayor-base/www/skin/classic/module-session/css/download.css
new file mode 100644
index 00000000..fddc58c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/css/download.css
@@ -0,0 +1,9 @@
+
+ div.download { text-align: center; }
+ div.download h1 { border: black dotted; border-width: 1px 0px; font-size: 14px; width: 60%; margin: 0px auto; }
+ div.download table { margin: 10px auto; background-color: rgb(80,40,40); text-align: left; }
+ div.download table th { padding: 10px; background-color: rgb(200,100,10); color: white; text-align: right; }
+ div.download table td { background-color: rgb(220,220,200); padding: 10px 40px; }
+ div.download table td a { text-decoration: none; color: red; }
+ div.download table td a:hover { text-decoration: underline; }
+ div.download p { background-color: rgb(200,200,160); padding: 20px; width: 60%; margin: 0px auto; }
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/css/facebookConnect.css b/mayor-orig/mayor-base/www/skin/classic/module-session/css/facebookConnect.css
new file mode 100644
index 00000000..c8abdba2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/css/facebookConnect.css
@@ -0,0 +1,25 @@
+div#fbConnect {
+ max-width: 500px;
+ text-align: center;
+ margin: 40px auto;
+ height: 5em;
+ font-size: large;
+ line-height: 5em;
+ vertical-align: middle;
+ color: #FFF;
+}
+div#fbConnect.valid {
+ background-color: #90EE90;
+}
+div#fbConnect.notvalid {
+ background-color: orange;
+}
+div#fbConnect.notActive {
+ background-color: red;
+}
+div#fbConnect.grant {
+ background-color: #3b5998;
+}
+div#fbConnect span {
+ padding-right:4px;
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/css/googleapi.css b/mayor-orig/mayor-base/www/skin/classic/module-session/css/googleapi.css
new file mode 100644
index 00000000..c5cae8c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/css/googleapi.css
@@ -0,0 +1,24 @@
+div#googleapi {
+ max-width: 500px;
+ text-align: center;
+ margin: 40px auto;
+ height: 5em;
+ font-size: large;
+ line-height: 5em;
+ vertical-align: middle;
+ color: #FFF;
+}
+div#googleapi.valid {
+ background-color: #90EE90;}
+div#googleapi.notvalid {
+ background-color: orange;
+}
+div#googleapi.notActive {
+ background-color: red;
+}
+div#googleapi.grant {
+ background-color: cornflowerblue;
+}
+div#googleapi span {
+ padding-right:4px;
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/css/groupInfo.css b/mayor-orig/mayor-base/www/skin/classic/module-session/css/groupInfo.css
new file mode 100644
index 00000000..c8f16d61
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/css/groupInfo.css
@@ -0,0 +1,96 @@
+
+ table.personalSettings {
+ background-color: rgb(220,220,220);
+ color: white;
+ margin-top: 20px;
+ }
+
+ table.personalSettings thead th {
+ background-color: rgb(60,20,100);
+ padding: 5px 40px 5px 40px;
+ }
+
+ table.personalSettings tfoot th {
+ background-color: rgb(60,20,100);
+ }
+
+ table.personalSettings tbody td {
+ background-color: rgb(200,200,210);
+ }
+
+ table.personalSettings tbody th {
+ width: 100px;
+ background-color: rgb(120,120,140);
+ }
+
+/* ------------------------- */
+
+
+ table.changePassword {
+ margin-top: 20px;
+ background-color: rgb(220,220,220);
+ color: white;
+ }
+
+ table.changePassword thead th {
+ background-color: rgb(60,20,100);
+ padding: 5px 40px 5px 40px;
+ }
+
+ table.changePassword tfoot th {
+ background-color: rgb(60,20,100);
+ }
+
+ table.changePassword tbody td {
+ background-color: rgb(200,200,210);
+ }
+
+ table.changePassword tbody th {
+ width: 100px;
+ background-color: rgb(120,120,140);
+ }
+
+/* WALL */
+
+ div#wall {
+ text-align:center;
+ }
+
+ div#wall table {
+ margin: 20px auto;
+ background-color: rgb(220,220,220);
+ color: white;
+ }
+
+ div#wall table thead th {
+ background-color: rgb(60,20,100);
+ padding: 5px 40px 5px 40px;
+ }
+
+ div#wall table tfoot th {
+ background-color: rgb(60,20,100);
+ }
+
+ div#wall table tbody td {
+ background-color: rgb(200,200,210);
+ }
+
+ div#wall table tbody th {
+ width: 100px;
+ background-color: rgb(120,120,140);
+ }
+
+ div.wall {
+ margin:20px auto;
+ border: solid 2px #887780;
+ background-color: #eedde0;
+ color: black;
+ width:400px;
+ padding:5px;
+ }
+ div.centro { text-align: center; }
+ div.wall { text-align: left; }
+ div.wall h1 { font-size:larger; margin:0px; padding-bottom: 5px;}
+ div.wall h2 { font-size:smaller; margin:0px; padding:0px; text-align: right;}
+ div.wall img { border: none; top:5px; right:5px; float:right; }
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/css/search/searchAccount.css b/mayor-orig/mayor-base/www/skin/classic/module-session/css/search/searchAccount.css
new file mode 100644
index 00000000..5a41b2e9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/css/search/searchAccount.css
@@ -0,0 +1,31 @@
+@media screen,print {
+
+ input { border: solid 1px black; }
+
+ table.searchresult { background-color: #aaaaaa; margin-bottom:20px; }
+ table.searchresult thead th { background-color: #d6bddb; height:2em; border-bottom: solid 2px purple; }
+ table.searchresult thead th.policy { background-color: rgb(225,125,25); color: white; }
+ table.searchresult tfoot th { background-color: purple; }
+ table.searchresult th { background-color: #ffffff; }
+ table.searchresult a { color: black; text-decoration: none; }
+ table.searchresult a:hover { text-decoration: underline; }
+ table.searchresult td form { display: inline; }
+ table.searchresult td form input { margin: 0px 2px; }
+ table.searchresult td form input:hover { background-color: red; }
+
+ table.newgroup, table.newuser { background-color: #aaaaaa; margin-bottom:20px;}
+ table.newgroup thead th, table.newuser thead th { background-color: #ccccee; height:2em; border-bottom: solid 2px purple; }
+ table.newgroup th, table.newuser th { background-color: #ffffff; }
+ table.newgroup td, table.newuser td { background-color: #ffffff; }
+ table.newgroup td input, table.newuser td input { width:95%; }
+
+ .paros { background-color: #eeeeee; }
+ .paratlan { background-color: #dddddd; }
+
+ table.search { background-color: #aaaaaa; margin-bottom:20px;}
+ table.search thead th { background-color: #ccccee; height:2em; border-bottom: solid 2px purple; }
+ table.search th { background-color: white; }
+ table.search td { background-color: white; }
+ table.search tfoot td { background-color: purple; }
+
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/css/search/searchGroup.css b/mayor-orig/mayor-base/www/skin/classic/module-session/css/search/searchGroup.css
new file mode 100644
index 00000000..4a912bb1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/css/search/searchGroup.css
@@ -0,0 +1,44 @@
+@media screen,print {
+ /*
+ Module: useradmin
+ */
+
+ table.search { background-color: #aaaaaa; margin-bottom:20px; }
+ table.search thead th {
+ background-color: #ccccee; height:2em;
+ border-bottom: solid 2px purple;
+ }
+ table.search th { background-color: white; }
+ table.search td { background-color: white; }
+ table.search tfoot td { background-color: purple; }
+
+ input { border: solid 1px black; }
+
+ table.searchresult { background-color: #aaaaaa;
+ margin-bottom:20px;
+ }
+ table.searchresult thead th { background-color: #d6bddb; height:2em;
+ border-bottom: solid 2px purple;
+ }
+ table.searchresult tfoot th { background-color: purple; }
+ table.searchresult th { background-color: #ffffff; }
+ table.searchresult a { color: black; text-decoration: none; }
+ table.searchresult a:hover { text-decoration: underline; }
+
+ table.newgroup, table.newuser { background-color: #aaaaaa; margin-bottom:20px;}
+ table.newgroup thead th, table.newuser thead th {
+ background-color: #ccccee; height:2em;
+ border-bottom: solid 2px purple;
+ }
+ table.newgroup th, table.newuser th { background-color: #ffffff; }
+ table.newgroup td, table.newuser td { background-color: #ffffff; }
+ table.newgroup td input, table.newuser td input { width:95%; }
+
+ .paros {
+ background-color: #eeeeee;
+ }
+ .paratlan {
+ background-color: #dddddd;
+ }
+
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/css/sessionAdmin.css b/mayor-orig/mayor-base/www/skin/classic/module-session/css/sessionAdmin.css
new file mode 100644
index 00000000..a64c2a48
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/css/sessionAdmin.css
@@ -0,0 +1,12 @@
+
+ table.lista { width:95%; background-color: #aaa; margin: auto; margin-top:10px;
+ border-spacing: 1px;
+ /*border-collapse: separate;*/
+ font-size:smaller;
+ }
+ table.lista thead th, table.lista tfoot th { background-color: orange; color: white; padding: 2px 5px; }
+ table.lista tbody th, table.lista tbody td { background-color: white; padding: 2px 5px; }
+ table.lista tbody tr:nth-child(even) th, table.lista tbody tr:nth-child(even) td { background-color: #eee; }
+ table.lista tbody tr:hover th, table.lista tbody tr:hover td { background-color: #999; color:white; }
+
+ \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/html/accountInfo.phtml b/mayor-orig/mayor-base/www/skin/classic/module-session/html/accountInfo.phtml
new file mode 100644
index 00000000..b38ffa8f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/html/accountInfo.phtml
@@ -0,0 +1,339 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ function putUserSettingsForm($ADAT) {
+ global $SKINSSHOW;
+ formBegin();
+ echo '<input type="hidden" name="action" value="userSettingsModify" />';
+ echo '<table align="center">';
+ echo '<tr>';
+ echo '<th>'._USERDEFAULTSKIN.'</th>';
+ echo '<td>';
+ echo '<select name="changeSkinTo">';
+ echo '<option value=""></option>';
+ foreach($SKINSSHOW as $_skin) {
+ $_SEL = ($_skin == $ADAT['skin']) ? ' selected="selected" ' : '';
+ echo '<option value="'.$_skin.'" '.$_SEL.'>'.$_skin.'</option>';
+ }
+ echo '</select>';
+ echo '</td>';
+ echo '</tr>';
+ echo '<tr><th colspan="2"><input type="submit" value="'._OK.'" /></th></tr>';
+ echo '</table>';
+ formEnd();
+ }
+
+ function putEduroamForm($ADAT) {
+// return false;
+ global $eduroamDOMAINS;
+ if (__TANAR===true) {
+ $eduroamAFFILIATION = 'faculty';
+ } elseif (__DIAK===true) {
+ $eduroamAFFILIATION = 'student';
+ } else {
+ $eduroamAFFILIATION = 'staff';
+ }
+ // info https://wiki.niif.hu/SulinetMassImport
+
+ formBegin();
+ if ($ADAT['eduroamAdat']['userAccount']!='') {
+ echo '<input type="hidden" name="action" value="modifyEduroamId" />';
+ } else {
+ echo '<input type="hidden" name="action" value="generateEduroamId" />';
+ $ADAT['eduroamAdat']['eduroamUID'] = _USERACCOUNT;
+ $ADAT['eduroamAdat']['eduroamPASSWORD'] = "********";
+ }
+ echo '<table align="center" class="personalSettings">';
+ echo '<thead>';
+ echo '<tr><th colspan="2">Eduroam</th></tr>';
+ echo '</thead>';
+
+ echo '<tr>';
+ echo '<th>Eduroam felhasználói név:</th>';
+ echo '<td>'.($ADAT['eduroamAdat']['eduroamUID']).'@';
+ if ($ADAT['eduroamDOMAIN']!='') {
+ echo $ADAT['eduroamDOMAIN'];
+ } else {
+ echo '<select name="eduroamDOMAIN">';
+ for ($i=0; $i<count($eduroamDOMAINS); $i++) {
+ $_domain = $eduroamDOMAINS[$i];
+ echo '<option value="'.$_domain.'">'.$_domain.'</option>';
+ }
+ echo '</select>';
+ }
+ echo '</td>';
+ echo '</tr>';
+
+ echo '<tr>';
+ echo '<th>Eduroam jelszó:</th>';
+ echo '<td>'.($ADAT['eduroamAdat']['eduroamPASSWORD']).'</td>';
+ echo '</tr>';
+
+ echo '<tr>';
+ echo '<th>Eduroam viszony:</th>';
+ echo '<td>'.($eduroamAFFILIATION).'</td>';
+ echo '</tr>';
+
+ echo '<tr><th colspan="2"><input type="submit" value="'._OK.'" /></th></tr>';
+ echo '</table>';
+ formEnd();
+
+ }
+
+ function putAttr($name, $values, $anAttrDef, $toPolicy = _POLICY) {
+
+ global $AUTH;
+
+ if ($anAttrDef['type'] == 'text') putTextAttr($name, $values, $anAttrDef);
+ elseif ($anAttrDef['type'] == 'int') putTextAttr($name, $values, $anAttrDef);
+ elseif ($anAttrDef['type'] == 'select') putSelectAttr($name, $values, $anAttrDef);
+ elseif ($anAttrDef['type'] == 'radio') putRadioAttr($name, $values, $anAttrDef);
+ elseif ($anAttrDef['type'] == 'timestamp') putTimestampAttr($name, $values, $anAttrDef);
+ elseif ($anAttrDef['type'] == 'image') putImageAttr($name, $userAccount, $anAttrDef);
+ elseif ($anAttrDef['type'] != '') echo '<div class="unknownAttr">ismeretlen attribútum típus: '.$name.' ('.($anAttrDef[$name]['type']).')</div>';
+ else echo '<div class="unknownAttr">'.$name.': nem elérhető</div>';
+
+ }
+
+ function putTextAttr($name, $values, $anAttrDef) {
+ echo '<table class="attr">';
+ echo '<tr>';
+ echo '<th rowspan="'.$values['count'].'">'.$anAttrDef['desc'].'</th>';
+ echo '<td>';
+ for ($i=0;$i<max($values['count'],1);$i++) {
+ if (!isset($values[$i])) $values[$i] = '';
+ if ($anAttrDef['rights'][_ACCESS_AS]=='r')
+ echo $values[$i];
+ elseif ($anAttrDef['rights'][_ACCESS_AS]=='w')
+ echo '<input type="text" name="'.$name.'" value="'.$values[$i].'" />'."<br/>\n";
+ }
+ echo '</td>';
+ echo '</tr>';
+
+ echo '</table>'."\n";
+ }
+
+ function putIntAttr($name, $values, $anAttrDef) {
+ putTextAttr($name, $values, $anAttrDef);
+ }
+
+ function putSelectAttr($name, $values, $anAttrDef) {
+
+ echo '<table class="attr">';
+ echo '<tr>';
+ echo '<th>'.$anAttrDef['desc'].' ('.intval($values['count']).'):</th>';
+ echo '<td>';
+ if ($values['count'] > 0) {
+ echo '<select name="del-'.$name.'[]" multiple="multiple">';
+ for ($i=0; $i<$values['count']; $i++) {
+ if (is_array($values[$i]))
+ echo '<option value="'.$values[$i]['value'].'">'.(($values[$i]['txt']!='')?$values[$i]['txt']:$values[$i]['value']).'</option>';
+ else
+ echo '<option value="'.$values[$i].'">'.$values[$i].'</option>';
+ }
+ echo '</select>';
+ } elseif (!isset($values['count']) && count($values) > 0) {
+ echo '<select name="del-'.$name.'[]" multiple="multiple">';
+ for ($i=0; $i < count($values); $i++) {
+ echo '<option value="'.$values[$i]['value'].'">'.(($values[$i]['txt']!='')?$values[$i]['txt']:$values[$i]['value']).'</option>';
+ }
+ echo '</select>';
+ }
+ echo '</td>';
+ echo '</tr>';
+ if ($anAttrDef['rights'][_ACCESS_AS]=='w') {
+ echo '<tr>';
+ echo '<th>'._NEW.':</th>';
+ echo '<td>';
+ if (is_array($values['new'])) {
+ echo '<select name="new-'.$name.'[]">'."\n";
+ echo '<option value=""> - </option>'."\n";
+ for ($i = 0; $i < count($values['new']); $i++) {
+ $_txt = (($values['new'][$i]['txt']!='')?$values['new'][$i]['txt']:$values['new'][$i]['value']);
+ echo '<option value="'.$values['new'][$i]['value'].'">'.$_txt.'</option>'."\n";
+ }
+ echo '</select>'."\n";
+ } else {
+ echo '<input type="text" name="new-'.$name.'[]" value="" />';
+ }
+ echo '</td>';
+ echo '</tr>';
+ }
+ echo '</table>'."\n";
+ }
+
+ function putRadioAttr($name, $values, $anAttrDef) {
+
+ if (!isset($values[0])) $values[0] = '';
+
+ echo '<table class="attr">';
+ echo '<tr>';
+ echo '<th>'.$anAttrDef['desc'].':</th>'."\n";
+ echo '<td>'."\n";
+
+ for ($i=0;$i<count($anAttrDef['options']);$i++) {
+ if ($values[0] == $anAttrDef['options'][$i]) {
+ echo '<input type="radio" name="'.$name.'" value="'.$anAttrDef['options'][$i].'" checked="checked" />';
+ } else {
+ echo '<input type="radio" name="'.$name.'" value="'.$anAttrDef['options'][$i].'" />';
+ }
+ echo $anAttrDef['options'][$i];
+ }
+ echo '</td>';
+
+ echo '</tr>';
+ echo '</table>';
+ }
+
+ function putTimestampAttr($name, $values, $anAttrDef) {
+
+ if (!isset($values[0])) $values[0] = '';
+ $Y = substr($values[0],0,4);
+ $m = substr($values[0],4,2);
+ $d = substr($values[0],6,2);
+
+ echo '<table class="attr">';
+ echo '<tr>';
+ echo '<th>'.$anAttrDef['desc'].':</th>';
+ echo '<td>';
+
+ if ($anAttrDef['rights'][_ACCESS_AS]=='r') { echo "$Y-$m-$d"; } else {
+
+ echo '<select name="'.$name.'[]">';
+ echo '<option value="">'._YEAR.'</option>';
+ for($i=1950; $i<2050; $i++) {
+ if ($i==$Y) {$_SEL = 'selected="selected"';} else {$_SEL = '';}
+ echo '<option value="'.$i.'" '.$_SEL.'>' .$i. '</option>'."\n";
+ }
+ echo '</select>'."\n";
+ echo '<select name="'.$name.'[]">';
+ echo '<option value="">'._MONTH.'</option>';
+ for($i=1; $i<=12; $i++) {
+ if ($i<10) $i='0'.$i;
+ if ($i==$m) $_SEL = 'selected="selected"'; else $_SEL = '';
+ echo '<option value="'.$i.'" '.$_SEL.'>'.$i.'</option>';
+ }
+ echo '</select>'."\n";
+ echo '<select name="'.$name.'[]">';
+ echo '<option value="">'._DAY.'</option>';
+ for($i=1; $i<=31; $i++) {
+ if ($i<10) $i='0'.$i;
+ if ($i==$d) $_SEL = 'selected="selected"'; else $_SEL = '';
+ echo '<option value="'.$i.'" '.$_SEL.'>'.$i.'</option>';
+ }
+ echo '</select>'."\n";
+ }
+
+ echo '</td>';
+ echo '</tr>';
+ echo '</table>';
+ }
+
+ function putImageAttr($name, $dn, $anAttrDef) {
+
+ echo '<table class="attr"><tr>';
+ echo '<th><img src="img/'.$name.'.php?dn='.$dn.'" alt="kép" /></th>';
+ echo '<td>'._NEWPHOTO.':<br />';
+ echo '<input type="file" name="'.$name.'" />';
+ echo '</td>';
+ echo '</tr></table>';
+
+ }
+
+ function putAccountInfoForm($userInfo, $accountInfo, $attrDef, $toPolicy = _POLICY) {
+
+ formBegin(array('enctype'=>'multipart/form-data'));
+ echo '<input type="hidden" name="action" value="changeSettings" />';
+ echo '<input type="hidden" name="toPolicy" value="'.$toPolicy.'" />';
+ echo '<input type="hidden" name="userAccount" value="'.$userInfo['userAccount'][0].'" />';
+
+ if (_ACCESS_AS === _ADMIN_ACCESS) $_class = "asAdmin";
+ echo '<table class="personalSettings '.$_class.'" align="center" cellspacing="1">';
+ echo '<thead>';
+ if ($toPolicy != _POLICY) echo '<tr><th class="policy">'.$toPolicy.'</th></tr>'."\n";
+ echo '<tr><th>'.$userInfo['userCn'][0].'</th></tr>';
+ echo '<tr><th>'.$userInfo['userAccount'][0].'</th></tr>';
+ echo '</thead>';
+ echo '<tfoot>';
+ echo '<tr><th><input type="submit" name="change" value="'._OK.'" /></th></tr>';
+ echo '</tfoot>';
+ echo '<tbody>'."\n";
+ $emptyAttrs = '';
+ if (is_array($accountInfo)) {
+ reset($accountInfo);
+ foreach ($accountInfo as $name => $value) {
+ if (!isset($value[0]) || $value['count'] == 0) $emptyAttrs .= "$name:";
+ if ($name != 'userAccount') {
+ echo '<tr><td>'; putAttr($name, $value, $attrDef[$name], $toPolicy); echo '</td></tr>'."\n";
+ }
+ }
+ }
+ echo '</tbody>';
+ echo '</table>';
+ if ($emptyAttrs != '') $emptyAttrs = substr($emptyAttrs,0,-1);
+ echo '<input type="hidden" name="emptyAttrs" value="'.$emptyAttrs.'" />';
+ formEnd();
+
+ }
+
+ function putGroupInfoForm($groupCn, $groupInfo, $attrDef, $toPolicy = _POLICY) {
+ formBegin(array('enctype'=>'multipart/form-data'));
+
+ echo '<input type="hidden" name="action" value="changeSettings" />';
+ echo '<input type="hidden" name="toPolicy" value="'.$toPolicy.'" />';
+ echo '<input type="hidden" name="groupCn" value="'.$groupCn.'" />';
+ echo '<table class="personalSettings" align="center" cellspacing="1">';
+ echo '<thead>';
+ echo '<tr><th>'.$groupCn.'</th></tr>';
+// echo '<tr><th>'.$userInfo['userAccount'][0].'</th></tr>';
+ echo '</thead>';
+ echo '<tfoot>';
+ echo '<tr><th><input type="submit" name="change" value="'._OK.'" /></th></tr>';
+ echo '</tfoot>';
+ echo '<tbody>'."\n";
+ $emptyAttrs = '';
+ if (is_array($groupInfo))
+ foreach ($groupInfo as $name => $value) {
+ if (!isset($value[0]) || $value['count'] == 0) $emptyAttrs .= "$name:";
+ if ($name != 'groupCn') {
+ echo '<tr><td>'; putAttr($name, $value, $attrDef[$name], $toPolicy); echo '</td></tr>'."\n";
+ }
+ }
+ echo '</tbody>';
+ echo '</table>';
+ if ($emptyAttrs != '') $emptyAttrs = substr($emptyAttrs,0,-1);
+ echo '<input type="hidden" name="emptyAttrs" value="'.$emptyAttrs.'" />';
+ formEnd();
+
+ }
+
+ function putAccountActivityForm($ADAT) {
+ formBegin();
+ echo '<input type="hidden" name="action" value="tokenLogout" />';
+ echo '<table class="personalSettings" align="center" cellspacing="1">';
+ echo '<thead>';
+ echo '<tr><th colspan="3">Hosszú lejáratú munkamenetek</th></tr>';
+ echo '</thead>';
+ echo '<tfoot>';
+ echo '<tr><th colspan="3"><input type="submit" value="Kijelentkezés mindenhonnan" /></th></tr>';
+ echo '</tfoot>';
+ echo '<tr><th></th><th>Ip</th><th>Aktivitás</th></tr>';
+ for ($i=0; $i<count($ADAT['activity']); $i++) {
+ echo '<tr>';
+ echo '<th>'.($i+1);
+ echo '</th>';
+ echo '<td>';
+ echo ($ADAT['activity'][$i]['ipAddress']);
+ echo '</td>';
+ echo '<td>';
+ echo ($ADAT['activity'][$i]['activity']);
+ echo '</td>';
+ echo '</tr>';
+ }
+ echo '</table>';
+ formEnd();
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/html/admin/knownNodes.phtml b/mayor-orig/mayor-base/www/skin/classic/module-session/html/admin/knownNodes.phtml
new file mode 100644
index 00000000..5a759aba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/html/admin/knownNodes.phtml
@@ -0,0 +1,70 @@
+<?php
+
+ function putGetNodeData() {
+ formBegin(array('id'=>'search'));
+
+ echo '<h3>'._UJ_VEGPONT.'</h3>';
+ echo '<input type="hidden" name="action" value="getPublicDataByNodeId" />';
+ echo '<label for="nodeId">'._NODEID.'</label>';
+ _inlineHelp(_SUGO_NODEID);
+ echo '<input id="nodeId" type="text" name="nodeId" value="" />';
+ echo '<input type="submit" value="'._LEKERDEZES.'" />';
+
+ formEnd();
+ }
+
+ function putKnownNodes($ADAT) {
+
+ echo '<table id="nodes">';
+ echo '<thead>';
+ echo '<tr>';
+ echo '<th>'._NODEID.'</th>';
+ echo '<th>'._NEV.'</th>';
+ echo '<th>'._HELYSEG.'</th>';
+ echo '<th>'._NODETIPUS.'</th>';
+ echo '<th>'.'Ping/Rev.'.'</th>';
+ echo '</tr>';
+ echo '</thead>';
+ echo '<tfoot>';
+ echo '<tr>';
+ echo '<th>'._NODEID.'</th>';
+ echo '<th>'._NEV.'</th>';
+ echo '<th>'._HELYSEG.'</th>';
+ echo '<th>'._NODETIPUS.'</th>';
+ echo '<th>'.'Ping/Rev.'.'</th>';
+ echo '</tr>';
+ echo '</tfoot>';
+ echo '<tbody>';
+ foreach ($ADAT['nodes'] as $index => $nAdat) {
+ $class = ekezettelen($nAdat['nodeTipus']);
+ echo '<tr class="'.$class.'">';
+ echo '<td>'.$nAdat['nodeId'].'</td>';
+ echo '<td>'.$nAdat['nev'].'</td>';
+ echo '<td>'.$nAdat['cimHelyseg'].'</td>';
+ echo '<td>'.$nAdat['nodeTipus'].'</td>';
+ echo '<td>';
+ formBegin();
+ echo '<input type="hidden" name="action" value="rpcPing" />';
+ echo '<input type="hidden" name="nodeId" value="'.$nAdat['nodeId'].'" />';
+ if (isset($ADAT['nodeVersion']) && $nAdat['nodeId'] == $ADAT['nodeId']) {
+ echo '<input class="pong" type="submit" value="'.$ADAT['nodeVersion'].'" />';
+ } else {
+ echo '<input type="submit" value="ping" />';
+ }
+ formEnd();
+ echo '</td>';
+ echo '<td>';
+ formBegin();
+ echo '<input type="hidden" name="action" value="removeNode" />';
+ echo '<input type="hidden" name="nodeId" value="'.$nAdat['nodeId'].'" />';
+ echo '<input class="delete confirm" title="'._BIZTOS_TOROL_E.'" type="submit" value="X" />';
+ formEnd();
+ echo '</td>';
+ echo '</tr>';
+ }
+ echo '</tbody>';
+ echo '</table>';
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/html/admin/registration.phtml b/mayor-orig/mayor-base/www/skin/classic/module-session/html/admin/registration.phtml
new file mode 100644
index 00000000..094a77d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/html/admin/registration.phtml
@@ -0,0 +1,270 @@
+<?php
+
+ function validRegisztracio($valid, $nodeId) {
+
+ if ($valid==1) {
+ echo '<div class="validRegisztracio"><span class="icon-ok-circle"></span>A mayor.hu sikeresen validálta a szervert (nodeId: '.$nodeId.')!</div>';
+ } else {
+ echo '<div class="notValidRegisztracio"><span class="icon-remove-circle"></span>A mayor.hu nem ismeri ezt a szervert (nodeId: '.$nodeId.')!</div>';
+ }
+
+ }
+
+ function putCheckOldReg($ADAT) {
+
+ formBegin(array('method'=>'post','action'=>'','id'=>'regForm','class'=>'reg'));
+ echo '<input type="hidden" name="action" value="checkOldRegByPublicKey" />';
+ echo '<input type="hidden" name="publicKey" value="'.$ADAT['my']['publicKey'].'" />';
+
+ echo '<h3>'._KORABBAN_REGISZTRALT.'</h3>';
+ echo '<div class="leiras">';
+ echo '<p>'.str_replace("\n\n",'</p><p>',_REG_HELYREALLITAS_LEIRAS).'</p>';
+ echo '</div>';
+ echo '<input type="submit" value="'._REGISZTRACIO_HELYREALLITAS.'" />';
+
+ formEnd();
+
+ }
+
+ function putRegisztracio($ADAT) {
+
+ formBegin(array('method'=>'post','action'=>'','id'=>'regForm','class'=>'reg'));
+ echo '<input type="hidden" name="action" value="sendRegRequest" />';
+
+ echo '<div id="bal">';
+ echo '<div class="leiras">';
+ include('static/hu_HU/session/admin/registration/readme.html');
+ echo '</div>'; // leiras
+
+ echo '<div class="tamogatas">'."\n";
+ echo '<label for="dij">'.str_replace(' ','&nbsp;',_TAMOGATASI_OSSZEG).'</label>'."\n";
+ echo '<select name="dij" id="dij">'."\n";
+ foreach ($ADAT['OSSZEG'] as $dij) {
+ echo '<option value="'.$dij.'">'.$dij.' Ft/hó</option>'."\n";
+ }
+ echo '</select> + ÁFA'."<br/>\n";
+
+ echo '<label for="utemezes">'.str_replace(' ','&nbsp;',_UTEMEZES).'</label>';
+ echo '<select name="utemezes" id="utemezes">'."<br/>\n";
+ foreach (array('','féléves','éves') as $value) {
+ echo '<option value="'.$value.'">'.$value.'</option>'."\n";
+ }
+ echo '</select>'."<br/>\n";
+ echo '<label for="egyeb">'.str_replace(' ','&nbsp;',_EGYEB_TAMOGATAS).'</label>';
+ echo '<input id="egyeb" type="text" name="egyebTamogatas" value="" />'."<br/>\n";
+ if (_REGISZTRALT !== true) echo '<input type="submit" value="'._REGISZTRACIO.'" />'."\n";
+ echo '<p class="hibaeseten">'._HIBA_ESETEN.'</p>'."\n";
+ echo '</div>'."\n"; // tamogatar
+ echo '</div>'; // #bal
+
+ echo '<div class="adatok">';
+
+ echo '<h3>'._INTEZMENY_ADATAI.'</h3>';
+ foreach ($ADAT['MEZOK'] as $key => $mAdat) {
+ $value = $ADAT['my'][$key];
+ if (isset($mAdat) && $mAdat['display']!==false) {
+
+ if ($mAdat['kotelezo']===true) $class = 'kotelezo'; else $class = '';
+ if ($mAdat['readonly']===true) $_ro = ' readonly="readonly" '; else $_ro = '';
+ if (defined('_'.nagybetus($key))) $str = constant('_'.nagybetus($key)); else $str = $key;
+
+ echo '<div>';
+ echo '<label for="'.$key.'">'.$str.'</label>';
+ if (is_array($mAdat['options'])) {
+ echo '<select name="'.$key.'" id="'.$key.'" class="'.$class.'">';
+ for($i=0; $i<count($mAdat['options']); $i++) {
+ $__jelleg = $mAdat['options'][$i];
+ $_SEL = ($__jelleg==$value) ? ' selected="selected" ' : '';
+ echo '<option value="'.$__jelleg.'"'.$_SEL.'>'.$__jelleg.'</option>';
+ }
+ echo '</select>';
+ } elseif ($mAdat['type']=='textarea') {
+ echo '<textarea style="width:100%;height:40px;" id="'.$key.'" type="text" name="'.$key.'" value="'.$value.'" class="'.$class.'" '.$_ro.'>';
+ echo $value;
+ echo '</textarea>';
+ } else {
+ echo '<input id="'.$key.'" type="text" name="'.$key.'" value="'.$value.'" class="'.$class.'" '.$_ro.'/>';
+ }
+ echo '</div>'."\n";
+
+ } else {
+ if ($mAdat['type']!='none') {
+ echo '<input type="hidden" name="'.$key.'" value="'.$value.'" />';
+ }
+ }
+ }
+ echo '</div>'."\n";
+
+
+
+
+
+ echo '<input type="submit" value="'._REGISZTRACIO.'" />'."\n";
+ echo '</div>';
+
+ formEnd();
+
+ }
+
+
+
+
+
+
+ function putRegisztracioMod($ADAT) {
+
+ if (defined('_DEVEL') && _DEVEL===true) {
+ $host = 'https://localhost';
+ } else {
+ $host = 'http://www.mayor.hu';
+ }
+ $ADAT['intezmeny']['naploUrl'] = $naploUrl = substr($_SERVER["HTTP_REFERER"], 0, strpos($_SERVER["HTTP_REFERER"], 'index.php?'));
+ formBegin(array('id'=>"modForm", 'class'=>"reg", 'action'=>"", 'method'=>"post"));
+ echo '<input type="hidden" name="action" value="modRegAdat" />';
+
+ echo '<div id="bal">';
+ echo '<div class="leiras">';
+ include('static/hu_HU/session/admin/registration/readme.html');
+ echo '</div>'; //.leiras
+
+ echo '<div class="tamogatas">'."\n";
+ echo '<label for="dij">'.str_replace(' ','&nbsp;',_TAMOGATASI_OSSZEG).'</label>'."\n";
+ echo '<select name="dij" id="dij">'."\n";
+ if ($ADAT['regAdat']['nodeData']['dij'] != '') {
+ $SEL = array($ADAT['regAdat']['nodeData']['dij'] => ' selected="selected" ');
+ if (!in_array($ADAT['regAdat']['nodeData']['dij'], $ADAT['OSSZEG'])) $ADAT['OSSZEG'][] = $ADAT['regAdat']['nodeData']['dij'];
+ } else {
+ $SEL = array(5000 => ' selected="selected" '); // default
+ }
+ foreach ($ADAT['OSSZEG'] as $dij) {
+ echo '<option value="'.$dij.'"'.$SEL[$dij].'>'.$dij.' Ft/hó</option>'."\n";
+ }
+ echo '</select> + ÁFA'."<br/>\n";
+
+ echo '<label for="utemezes">'.str_replace(' ','&nbsp;',_UTEMEZES).'</label>';
+ echo '<select name="utemezes" id="utemezes">'."<br/>\n";
+ foreach (array('','féléves','éves') as $value) {
+ $_SEL = ($value==$ADAT['regAdat']['nodeData']['utemezes'])? ' selected="selected" ':'';
+ echo '<option value="'.$value.'"'.$_SEL.'>'.$value.'</option>'."\n";
+ }
+ echo '</select>'."<br/>\n";
+ echo '<label for="egyeb">'.str_replace(' ','&nbsp;',_EGYEB_TAMOGATAS).'</label>';
+ echo '<input id="egyeb" type="text" name="egyebTamogatas" value="'.$ADAT['regAdat']['nodeData']['egyebTamogatas'].'" />'."<br/>\n";
+ if (_REGISZTRALT !== true) echo '<input type="submit" value="'._MODOSITAS.'" />'."\n";
+ echo '<p class="hibaeseten">'._HIBA_ESETEN.'</p>'."\n";
+ echo '</div>'."\n";
+
+
+ echo '</div>'; // #bal
+
+
+
+ echo '<div class="adatok">';
+ foreach ($ADAT['intezmeny'] as $key => $value) {
+ echo '<input type="hidden" name="'.$key.'" value="'.$value.'" />'."\n";
+ }
+ echo '<input type="hidden" name="naploUrl" value="'.$naploUrl.'" />'."\n";
+
+
+ echo '<h3>'._INTEZMENY_ADATAI.'</h3>';
+ foreach ($ADAT['MEZOK'] as $key => $mAdat) {
+ $value = $ADAT['regAdat']['nodeData'][$key];
+ if (isset($mAdat)) {
+ if ($mAdat['display']!==false) {
+ if ($mAdat['kotelezo']===true) $class = 'kotelezo'; else $class = '';
+ if ($mAdat['readonly']===true) $_ro = ' readonly="readonly" '; else $_ro = '';
+ if (defined('_'.nagybetus($key))) $str = constant('_'.nagybetus($key)); else $str = $key;
+ if ($key == 'publicKey') {
+ echo '<input type="hidden" name="'.$key.'" value="'.$value.'" />'."\n";
+ } else {
+ echo '<div>';
+ echo '<label for="'.$key.'">'.$str.'</label>';
+ if (is_array($mAdat['options'])) {
+ echo '<select name="'.$key.'" id="'.$key.'" class="'.$class.'">';
+ for($i=0; $i<count($mAdat['options']); $i++) {
+ $__jelleg = $mAdat['options'][$i];
+ $_SEL = ($__jelleg==$value) ? ' selected="selected" ' : '';
+ echo '<option value="'.$__jelleg.'"'.$_SEL.'>'.$__jelleg.'</option>';
+ }
+ echo '</select>';
+ } elseif ($mAdat['type']=='textarea') {
+ echo '<textarea style="width:100%;height:40px;" id="'.$key.'" type="text" name="'.$key.'" value="'.$value.'" class="'.$class.'" '.$_ro.'>';
+ echo $value;
+ echo '</textarea>';
+ } else {
+ echo '<input id="'.$key.'" type="text" name="'.$key.'" value="'.$value.'" class="'.$class.'" '.$_ro.'/>';
+ }
+ echo '</div>'."\n";
+ }
+ } else {
+ if ($mAdat['type'] != 'none')
+ echo '<input type="hidden" name="'.$key.'" value="'.$value.'" />'."\n";
+ }
+ }
+ }
+ echo '</div>'."\n";
+
+
+
+
+
+ echo '<input type="submit" value="'._MODOSITAS.'" />'."\n";
+ echo '</div>';
+
+ formEnd();
+ }
+
+
+
+
+
+ function putPublicKey($publicKey) {
+ echo '<h2 style="margin-left: 180px;">Saját publikus kulcs</h2>';
+ echo '<div style="margin-left: 180px; text-align:center">';
+ echo '<textarea style="width:60%; height:200px;">'.$publicKey.'</textarea>';
+ echo '</div>';
+
+ }
+
+ function putSzomszedok($ADAT) {
+
+ $attr = array('OMKod','nev','mayorTipus','naploUrl');
+ $mayorTipus = array(
+ 'fejlesztői' => '<span class="icon-wrench-alt" style="color:orange"></span>',
+ 'fenntartó' => '<span class="icon-compass-alt" style="color:red"></span>',
+ 'intézmény' => '<span class="icon-paper-clip-alt" style="color:cornflowerblue"></span>',
+ 'backup' => '<span class="icon-cog-alt" style="color:#888"></span>',
+ 'boss' => '<span class="icon-star-alt" style="color:lila"></span>'
+ );
+ echo '<h2>MaYoR-partnerek</h2>';
+
+ echo '<table align="center">';
+ echo '<thead>';
+ echo '<tr>';
+ foreach ($attr as $v) {
+ echo '<th>'.$v.'</th>';
+ }
+ echo '</tr>';
+ echo '</thead>';
+ echo '<tbody>';
+ for ($i=0;$i<count($ADAT);$i++) {
+ $_D = $ADAT[$i];
+ echo '<tr>';
+ foreach ($_D as $k=>$v) {
+ if ($k=='publicKey') continue;
+ if ($k=='mayorTipus') echo '<th>'.$mayorTipus[$v].'</th>';
+ if (in_array($k,$attr)) {
+ //echo '<th>'.$k.'</th>';
+ echo '<td>';
+ echo $v;
+ echo '</td>';
+ }
+ }
+ echo '</tr>';
+ }
+ echo '</tbody>';
+ echo '</table>';
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/html/createAccount.phtml b/mayor-orig/mayor-base/www/skin/classic/module-session/html/createAccount.phtml
new file mode 100644
index 00000000..a1255ca5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/html/createAccount.phtml
@@ -0,0 +1,107 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ function putCreateAccountForm($toPolicy = _POLICY, $DEFAULTS = array()) {
+
+ global $attrDef, $AUTH, $POLICIES;
+
+ formBegin(array('enctype'=>'multipart/form-data','id'=>'createAccount'));
+
+ echo '<input type="hidden" name="action" value="newUser" />';
+
+ echo '<table class="new" align="center" cellspacing="1">'."\n";
+ echo '<thead>'."\n";
+ echo '<tr>';
+ echo '<th colspan="2">'._CREATE_ACCOUNT.'</th>';
+ echo '</tr>';
+ if (_POLICY=='private') {
+ echo '<tr>';
+ echo '<td colspan="2">';
+ $SEL = array($toPolicy => ' selected="selected" ');
+ echo '<select name="toPolicy" class="onChangeSubmit">'."\n";
+ for ($i = 0; $i < count($POLICIES); $i++) {
+ echo '<option value="'.$POLICIES[$i].'"'.$SEL[$POLICIES[$i]].'>'.$POLICIES[$i].'</option>'."\n";
+ }
+ echo '</select>';
+ echo '</td>'."\n";
+ echo '</tr>';
+ }
+ echo '</thead>'."\n";
+ echo '<tfoot>';
+ echo '<tr>';
+ echo '<th colspan="2">';
+ echo '<input name="new" type="submit" value="'._OK.'" />';
+ echo '<input name="action" type="hidden" value="createAccount" />';
+ echo '</th>';
+ echo '</tr>';
+ echo '</tfoot>'."\n";
+ echo '<tbody>'."\n";
+ echo '<tr>';
+ echo '<th>'.$attrDef['userCn']['desc'].':</th>';
+ echo '<td><input type="text" name="userCn" id="focus" value="'.$DEFAULTS['userCn'].'" /></td>';
+ echo '</tr><tr>';
+ echo '<th>'.$attrDef['userAccount']['desc'].':</th>';
+ echo '<td><input type="text" name="userAccount" value="'.$DEFAULTS['userAccount'].'" /></td>';
+ echo '</tr>';
+
+ $CONTAINERS = $AUTH[$toPolicy][$AUTH[$toPolicy]['backend'].'Containers'];
+ if (isset($CONTAINERS) and is_array($CONTAINERS) and count($CONTAINERS) > 0) {
+ echo '<tr>';
+ echo '<th>'._ACCOUNT_CONTAINER.'</th>';
+ echo '<td>';
+ echo '<select name="container">';
+ echo '<option value=""> - </option>'."\n";
+ for ($i=0;$i<count($CONTAINERS);$i++) {
+ echo '<option value="'.$CONTAINERS[$i].'">'.$CONTAINERS[$i].'</option>';
+ }
+ echo '</select>';
+ echo '</td>';
+ echo '</tr>'."\n";
+ }
+
+ echo '<tr>'."\n";
+ echo '<th>'.$attrDef['userPassword']['desc'].':</th>';
+ echo '<td><input type="password" name="userPassword" value="'.$DEFAULTS['userPassword'].'" /></td>';
+ echo '</tr><tr>'."\n";
+ echo '<th>'._VERIFICATION.':</th>';
+ echo '<td><input type="password" name="verification" value="'.$DEFAULTS['userPassword'].'" /></td>';
+ echo '</tr>'."\n";
+
+ if (isset($AUTH[$toPolicy]['categories']) and is_array($AUTH[$toPolicy]['categories']) and count($AUTH[$toPolicy]['categories']) > 0) {
+ echo '<tr>';
+ echo '<th style="width: 130px;">'._ACCOUNT_CATEGORY.'</th>';
+ echo '<td style="width: 270px;">';
+ echo '<select name="category">';
+ echo '<option value=""> - </option>'."\n";
+ for ($i=0;$i<count($AUTH[$toPolicy]['categories']);$i++) {
+ echo '<option value="'.$AUTH[$toPolicy]['categories'][$i].'">'.$AUTH[$toPolicy]['categories'][$i].'</option>';
+ }
+ echo '</select>';
+ echo '</td>';
+ echo '</tr>'."\n";
+ }
+
+ if (is_array($AUTH[$toPolicy]['accountAttrs'])) foreach ($AUTH[$toPolicy]['accountAttrs'] as $key => $attr) {
+ echo '<tr>';
+ echo '<th>'.$attrDef[$attr]['desc'].':</th>';
+ echo '<td><input type="text" name="'.$attr.'" value="'.$DEFAULTS[$attr].'" /></td>';
+ echo '</tr>'."\n";
+ }
+
+ if (_POLICY=='private') {
+ echo '<tr>';
+ echo '<th>'._DATAFILE.':</th>';
+ echo '<td><input type="file" name="file" /></td>';
+ echo '</tr>';
+ }
+
+ echo '</tbody>';
+ echo '</table>';
+ formEnd();
+
+ }
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/html/createGroup.phtml b/mayor-orig/mayor-base/www/skin/classic/module-session/html/createGroup.phtml
new file mode 100644
index 00000000..b50c52f9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/html/createGroup.phtml
@@ -0,0 +1,90 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ function putCreateGroupForm($toPolicy = _POLICY) {
+
+ global $attrDef, $AUTH, $POLICIES;
+
+ formBegin(array('enctype'=>'multipart/form-data'));
+ echo '<input type="hidden" name="action" value="newUser" />';
+
+ echo '<table class="new" align="center" cellspacing="1">';
+ echo '<thead>';
+ echo '<tr>';
+ echo '<th colspan="2">'._CREATE_GROUP.'</th>';
+ echo '</tr>';
+ echo '<tr>';
+ echo '<td colspan="2">';
+ $SEL = array($toPolicy => ' selected="selected" ');
+ echo '<select name="toPolicy" class="onChangeSubmit">'."\n";
+ for ($i = 0; $i < count($POLICIES); $i++) {
+ echo '<option value="'.$POLICIES[$i].'"'.$SEL[$POLICIES[$i]].'>'.$POLICIES[$i].'</option>'."\n";
+ }
+ echo '</select>';
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+ echo '</thead>';
+ echo '<tfoot>';
+ echo '<tr>';
+ echo '<th colspan="2">';
+ echo '<input name="new" type="submit" value="'._OK.'" />';
+ echo '<input name="action" type="hidden" value="createGroup" />';
+ echo '</th>';
+ echo '</tr>';
+ echo '</tfoot>';
+ echo '<tbody>';
+ echo '<tr>';
+ echo '<th>'.$attrDef['groupCn']['desc'].':</th>';
+ echo '<td><input type="text" name="groupCn" value="" id="focus" /></td>';
+ echo '</tr>';
+ $CONTAINERS = $AUTH[$toPolicy][$AUTH[$toPolicy]['backend'].'Containers'];
+ if (isset($CONTAINERS) and is_array($CONTAINERS) and count($CONTAINERS) > 0) {
+ echo '<tr>';
+ echo '<th>'._GROUP_CONTAINER.':</th>';
+ echo '<td>';
+ echo '<select name="container">';
+ echo '<option value=""> - </option>'."\n";
+ for ($i=0;$i<count($CONTAINERS);$i++) {
+ echo '<option value="'.$CONTAINERS[$i].'">'.$CONTAINERS[$i].'</option>'."\n";
+ }
+ echo '</select>';
+ echo '</td>';
+ echo '</tr>'."\n";
+ }
+
+ echo '<tr>';
+ echo '<th>'.$attrDef['groupDesc']['desc'].':</th>';
+ echo '<td><input type="text" name="groupDesc" value="" /></td>';
+ echo '</tr><tr>';
+ echo '<th style="width: 130px;">'._GROUP_CATEGORY.'</th>';
+ echo '<td style="width: 270px;">';
+ echo '<select name="category">';
+ echo '<option value=""> - </option>'."\n";
+ for ($i=0;$i<count($AUTH[_POLICY]['categories']);$i++) {
+ echo '<option value="'.$AUTH[_POLICY]['categories'][$i].'">'.$AUTH[_POLICY]['categories'][$i].'</option>';
+ }
+ echo '</select>';
+ echo '</td>';
+ echo '</tr>';
+
+ if (is_array($AUTH[$toPolicy]['groupAttrs'])) foreach ($AUTH[$toPolicy]['groupAttrs'] as $key => $attr) {
+ echo '<tr>';
+ echo '<th>'.$attrDef[$attr]['desc'].':</th>';
+ echo '<td><input type="text" name="'.$attr.'" value="'.$DEFAULTS[$attr].'" /></td>';
+ echo '</tr>'."\n";
+ }
+
+/* echo '<tr>';
+ echo '<th>'._DATAFILE.':</th>';
+ echo '<td><input type="file" name="file" /></td>';
+ echo '</tr>';
+*/ echo '</tbody>';
+ echo '</table>';
+ formEnd();
+
+ }
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/html/download.phtml b/mayor-orig/mayor-base/www/skin/classic/module-session/html/download.phtml
new file mode 100644
index 00000000..79f74f8e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/html/download.phtml
@@ -0,0 +1,32 @@
+<?php
+
+ function putDownloadForm($ADAT) {
+
+ echo '<div class="download">'."\n";
+ echo '<h1>'._DOWNLOAD.'</h1>'."\n";
+
+ $href = href('index.php?page=session&f=download&dir='.$ADAT['dir'].'&file='.$ADAT['file'].'&download=true');
+ echo '<table>'."\n";
+ echo '<tr>';
+ echo '<th>'._FILE.'</th>'."\n";
+ echo '<td>';
+ echo '<a id="loadUrl" href="'.$href.'">';
+ echo substr($ADAT['path'],strlen(_DOWNLOADDIR.'/'._POLICY.'/'));
+ echo '</a>';
+ echo '</td>'."\n";
+ echo '</tr>';
+ echo '<tr>';
+ echo '<th>'._SIZE.'</th>'."\n";
+ echo '<td>'.$ADAT['size'].' byte</td>'."\n";
+ echo '</tr>';
+ echo '<tr>';
+ echo '<th>'._MIMETYPE.'</th>'."\n";
+ echo '<td>'.$ADAT['mime'].'</td>'."\n";
+ echo '</tr>';
+ echo '</table>';
+
+ echo '<p>'._DESCRIPTION.'</p>';
+ echo '</div>'."\n";
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/html/facebookConnect.phtml b/mayor-orig/mayor-base/www/skin/classic/module-session/html/facebookConnect.phtml
new file mode 100644
index 00000000..0e9f3aad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/html/facebookConnect.phtml
@@ -0,0 +1,53 @@
+<?php
+
+function putFacebookConnectStatusz($ADAT) {
+
+ if (__FBCONNECT_ENABLED==false) {
+ echo '<div id="fbConnect" class="notActive"><span class="icon-remove-circle"></span>';
+ echo 'A Facebook azonosítás ki van kapcsolva. Kérj segítséget a rendszerüzemeltetőtől!';
+ echo '</div>';
+ return false;
+ }
+
+// var_dump($ADAT);
+// var_dump(_USERACCOUNT);
+// var_dump(_POLICY);
+
+ // fbUserIdStatusz = ready, associated, already_associated
+ if ($ADAT['fbUserIdStatusz'] == 1) {
+ echo '<div id="fbConnect" class="valid"><span class="icon-ok-circle"></span>';
+ echo '<img src="//graph.facebook.com/'.$ADAT['fbUserId'].'/picture?type=large" style="float:left; height:100%">';
+
+ echo 'Már kész, minden rendben!';
+ formBegin();
+ echo '<input type="hidden" name="action" value="revokeFbAuth" />';
+ echo '<input type="submit" value="visszavonás" />';
+ formEnd();
+ echo '</div>';
+ } elseif ($ADAT['fbUserIdStatusz'] == 2) {
+ echo '<div id="fbConnect" class="notvalid"><span class="icon-iphone-home"></span>';
+ echo 'Már más facebook userhez van hozzárendelve az azonosítód!';
+ echo '<input type="hidden" name="action" value="" />';
+ echo '</div>';
+ } elseif ($ADAT['fbUserIdStatusz'] == 3) {
+ echo '<div id="fbConnect" class="notvalid"><span class="icon-iphone-home"></span>';
+ echo 'Ehhez a facebook azonosítóhoz már hozzá van rendelve egy másik MaYoR account!';
+ echo '</div>';
+ } else {
+ echo '<div id="fbConnect" class="grant"><span class="icon-facebook"></span>';
+ echo 'Engedélyezed?';
+ echo '<span id="mglFBconnect"></span>';
+ formBegin(array('id'=>'grantFbAuth'));
+ echo '<input type="hidden" name="action" value="grantFbAuth" />';
+ echo '<input type="submit" value="facebook connect engedélyezés" />';
+ formEnd();
+ echo '</div>';
+ }
+ formBegin(array('style'=>'text-align:center'));
+ echo '<input type="hidden" name="action" value="refresh" />';
+ echo '<input type="submit" value="frissítés" />';
+ formEnd();
+
+}
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/html/googleapi.phtml b/mayor-orig/mayor-base/www/skin/classic/module-session/html/googleapi.phtml
new file mode 100644
index 00000000..4d1109bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/html/googleapi.phtml
@@ -0,0 +1,45 @@
+<?php
+
+function putGoogleapiStatusz($ADAT) {
+
+// var_dump($ADAT);
+// var_dump(_USERACCOUNT);
+// var_dump(_POLICY);
+
+ if (__GOOGLEAPI_ENABLED==false) {
+ echo '<div id="googleapi" class="notActive"><span class="icon-remove-circle"></span>';
+ echo 'A Google azonosítás ki van kapcsolva. Kérj segítséget a rendszerüzemeltetőtől!';
+ echo '</div>';
+ return false;
+ }
+
+
+ if ($ADAT['googleapiStatusz'] == 1) {
+ echo '<div id="googleapi" class="valid"><span class="icon-ok-circle"></span>';
+ echo '<img src="'.$ADAT['payload']['picture'].'" style = "float:left; height:100%;" />';
+ echo 'Összekötve';
+ formBegin();
+ echo '<input type="hidden" name="action" value="googleapiRevoke" />';
+ echo '<input type="submit" value="visszavonás" />';
+ formEnd();
+ echo '</div>';
+ } else {
+ echo '<div id="googleapi" class="grant"><span class="icon-googleplus"></span>';
+ echo 'Engedélyezed?';
+ formBegin();
+ echo '<input type="hidden" name="action" value="googleGrant" >';
+ echo '<button type="button" id="googleLoginBtn" class="api"><span class="icon-googleplus"></span> Összeköt</button>';
+ formEnd();
+ echo '</div>';
+ }
+
+
+
+ formBegin(array('style'=>'text-align:center'));
+ echo '<input type="hidden" name="action" value="refresh" />';
+ echo '<input type="submit" value="frissítés" />';
+ formEnd();
+
+}
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/html/groupInfo.phtml b/mayor-orig/mayor-base/www/skin/classic/module-session/html/groupInfo.phtml
new file mode 100644
index 00000000..32a3c661
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/html/groupInfo.phtml
@@ -0,0 +1,5 @@
+<?php
+
+ require('skin/classic/module-session/html/accountInfo.phtml');
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/html/search/searchAccount.phtml b/mayor-orig/mayor-base/www/skin/classic/module-session/html/search/searchAccount.phtml
new file mode 100644
index 00000000..4cead225
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/html/search/searchAccount.phtml
@@ -0,0 +1,126 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ function putSearchAccountForm($attr, $pattern, $searchAttrList) {
+
+ global $attrDef, $AUTH;
+
+ formBegin(array('class'=>'usersearch'));
+
+ echo '<input type="hidden" name="action" value="searchAccount" />';
+ echo '<table class="search" align="center" cellspacing="1">';
+ echo '<thead>';
+ echo '<tr><th colspan="3">'._SEARCH.'</th></tr>';
+ echo '</thead>';
+ echo '<tfoot><tr><td colspan="3"></td></tr></tfoot>';
+
+ echo '<tbody><tr>';
+ echo '<th style="width: 150px;">';
+ echo '<select name="attr">';
+ for ($i=0;$i<count($searchAttrList);$i++) {
+ if ($attr == $searchAttrList[$i]) {
+ echo '<option value="'.$searchAttrList[$i].'" selected="true">'.$attrDef[$searchAttrList[$i]]['desc'].'</option>';
+ } else {
+ echo '<option value="'.$searchAttrList[$i].'">'.$attrDef[$searchAttrList[$i]]['desc'].'</option>';
+ }
+ }
+ echo '</select>:</th>';
+ echo '<td>';
+ echo '<input type="text" name="pattern" value="'.$pattern.'" id="focus" />';
+ if (_POLICY == 'private' && __ADMIN) {
+ global $POLICIES;
+ $SEL = array($toPolicy => ' selected="selected" ');
+ echo '<select name="toPolicy">'."\n";
+ echo '<option value=""> - </option>'."\n";
+ for ($i = 0; $i < count($POLICIES); $i++) {
+ echo '<option value="'.$POLICIES[$i].'"'.$SEL[$POLICIES[$i]].'>'.$POLICIES[$i].'</option>'."\n";
+ }
+ echo '</select>'."\n";
+ }
+ echo '</td>';
+ echo '<td style="width: 50px;">';
+ echo '<input type="submit" value="'._OK.'" />';
+ echo '</td>';
+ echo '</tr></tbody>';
+ echo '</table>';
+
+ formEnd();
+
+ }
+
+ function putSearchResultBox($searchResult, $toPolicy) {
+
+ global $AUTH;
+
+ $count = $searchResult['count'];
+ echo '<table class="searchresult" align="center" cellspacing="1">';
+ echo '<thead>';
+ if ($toPolicy != _POLICY) echo '<tr><th colspan="4" class="policy">'.$toPolicy.'</th></tr>'."\n";
+ echo '<tr>';
+ echo '<th>'._ATTR_USERCN.'</th>';
+ echo '<th>'._CATEGORY.'</th>';
+ echo '<th>'._ATTR_MAIL.'</th>';
+ echo '<th>'._ACTION.'</th>';
+ echo '</tr>';
+ echo '</thead><tfoot><tr><th colspan="4"></th></tr></tfoot>';
+ echo '<tbody>';
+ if ($count == 0) {
+ echo '<tr><td colspan="5">'._NOTFOUND.'</td></tr>';
+ } else {
+ for ($i = 0; $i < $count; $i++) {
+ if ($i % 2 ==1) {
+ $class = 'paratlan';
+ } else {
+ $class = 'paros';
+ }
+ echo "\n".'<tr class="'.$class.'">';
+ echo '<td>';
+ if (__ADMIN)
+ echo '<a href="'.href('index.php?page=session&f=accountInfo&userAccount='.$searchResult[$i]['userAccount'][0].'&toPolicy='.$toPolicy)
+ . '" title="'.$searchResult[$i]['userAccount'][0].'">'.$searchResult[$i]['userCn'][0].'</a>';
+ else
+ echo $searchResult[$i]['userCn'][0];
+ echo '</td>';
+ echo '<td>';
+ for ($j=0; $j < $searchResult[$i]['category']['count']; $j++) {
+ echo $searchResult[$i]['category'][$j].' ';
+ }
+ echo '</td>';
+ echo '<td>';
+ for ($j = 0; $j < $searchResult[$i]['mail']['count']; $j++) {
+ echo '<a href="mailto:'.$searchResult[$i]['mail'][$j].'">'.$searchResult[$i]['mail'][$j].'</a><br />';
+ }
+ echo '</td>';
+ echo '<td>';
+ if (__ADMIN) {
+ formBegin(array('name'=>'f'.$i));
+ echo '<input type="hidden" name="action" value="deleteAccount" />';
+ echo '<input type="hidden" name="userAccount" value="'.$searchResult[$i]['userAccount'][0].'" />';
+ echo '<input type="hidden" name="toPolicy" value="'.$toPolicy.'" />';
+ echo '<input type="submit" value="'._DELETE.'" title="'._ARE_YOU_SURE.' ('.$searchResult[$i]['userAccount'][0].')'.'" class="confirm" />';
+ formEnd();
+ }
+ if (
+ __ADMIN or
+ (in_array('diák',$searchResult[$i]['category']) and __DIAKADMIN)
+ ) {
+ formBegin(array('name'=>'f'.$i, 'action'=>href('index.php?page=password&f=changePassword')));
+ echo '<input type="hidden" name="noModify" value="1" />';
+ echo '<input type="hidden" name="userAccount" value="'.$searchResult[$i]['userAccount'][0].'" />';
+ echo '<input type="hidden" name="toPolicy" value="'.$toPolicy.'" />';
+ echo '<input type="submit" value="'._CHANGE_PASSWORD.'" title="'._CHANGE_PASSWORD.'" />';
+ formEnd();
+ }
+
+ echo '</td>';
+ echo '</tr>';
+ }
+ }
+ echo '</tbody>';
+ echo '</table>';
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/html/search/searchGroup.phtml b/mayor-orig/mayor-base/www/skin/classic/module-session/html/search/searchGroup.phtml
new file mode 100644
index 00000000..824a6627
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/html/search/searchGroup.phtml
@@ -0,0 +1,103 @@
+<?php
+/*
+ Module: base/session
+*/
+
+ function putSearchGroupForm($attr, $pattern, $searchAttrList, $toPolicy) {
+
+ global $attrDef;
+
+ formBegin(array('class'=>'search'));
+ echo '<input type="hidden" name="action" value="searchGroup" />';
+ echo '<table class="search" align="center" cellspacing="1">';
+ echo '<thead>';
+ echo '<tr><th colspan="3">'._SEARCH.'</th></tr>';
+ echo '</thead>';
+ echo '<tfoot><tr><td colspan="3"></td></tr></tfoot>';
+
+ echo '<tbody><tr>';
+ echo '<th style="width: 180px;">';
+ echo '<select name="attr">';
+ for ($i=0;$i<count($searchAttrList);$i++) {
+ if ($attr == $searchAttrList[$i]) {
+ echo '<option value="'.$searchAttrList[$i].'" selected="true">'.$attrDef[$searchAttrList[$i]]['desc'].'</option>';
+ } else {
+ echo '<option value="'.$searchAttrList[$i].'">'.$attrDef[$searchAttrList[$i]]['desc'].'</option>';
+ }
+ }
+ echo '</select>:</th>';
+ echo '<td>';
+ echo '<input type="text" name="pattern" value="'.$pattern.'" id="focus" />';
+ if (_POLICY == 'private' && __ADMIN) {
+ global $POLICIES;
+ $SEL = array($toPolicy => ' selected="selected" ');
+ echo '<select name="toPolicy">'."\n";
+ echo '<option value=""> - </option>'."\n";
+ for ($i = 0; $i < count($POLICIES); $i++) {
+ echo '<option value="'.$POLICIES[$i].'"'.$SEL[$POLICIES[$i]].'>'.$POLICIES[$i].'</option>'."\n";
+ }
+ echo '</select>'."\n";
+ }
+ echo '</td>';
+ echo '<td style="width: 50px;">';
+ echo '<input type="submit" value="'._OK.'" />';
+ echo '</td>';
+ echo '</tr></tbody>';
+ echo '</table>';
+ //echo '</form>';
+ formEnd();
+
+ }
+
+ function putSearchResultBox($searchResult, $toPolicy) {
+
+ global $AUTH;
+
+ $count = $searchResult['count'];
+ echo '<table class="searchresult" align="center" cellspacing="1">';
+ echo '<thead>';
+ echo '<tr>';
+ echo '<th>'._ATTR_GROUPCN.'</th>';
+ echo '<th>'._ATTR_GROUPDESC.'</th>';
+ echo '<th>'._ACTION.'</th>';
+ echo '</tr>';
+ echo '</thead><tfoot><tr><th colspan="4"></th></tr></tfoot>';
+ echo '<tbody>';
+ if ($count == 0) {
+ echo '<tr><td colspan="5">'._NOTFOUND.'</td></tr>';
+ } else {
+ for ($i=0;$i<$count;$i++) {
+ if ($i % 2 ==1) {
+ $class = 'paratlan';
+ } else {
+ $class = 'paros';
+ }
+ echo "\n".'<tr class="'.$class.'">';
+ echo '<td>';
+ if (__ADMIN)
+ echo '<a href="'.href('index.php?page=session&f=groupInfo&groupCn='.$searchResult[$i]['groupCn'][0]).'&toPolicy='.$toPolicy.'">'.$searchResult[$i]['groupCn'][0].'</a>';
+ else
+ echo $searchResult[$i]['groupCn'][0];
+ echo '</td>';
+ echo '<td>';
+ echo $searchResult[$i]['groupDesc'][0];
+ echo '</td>';
+ echo '<td>';
+ if (__ADMIN) {
+ formBegin(array('name'=>'f'.$i, action=>href('index.php?page=session&sub=search&f=searchGroup') ));
+ echo '<input type="hidden" name="action" value="deleteGroup" />';
+ echo '<input type="hidden" name="toPolicy" value="'.$toPolicy.'" />';
+ echo '<input type="hidden" name="groupCn" value="'.$searchResult[$i]['groupCn'][0].'" />';
+ echo '<input type="submit" value="'._DELETE.'" title="'._ARE_YOU_SURE.'" class="confirm" />';
+ formEnd();
+ }
+ echo '</td>';
+ echo '</tr>';
+ }
+ }
+ echo '</tbody>';
+ echo '</table>';
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/html/sessionAdmin.phtml b/mayor-orig/mayor-base/www/skin/classic/module-session/html/sessionAdmin.phtml
new file mode 100644
index 00000000..67c2af13
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/html/sessionAdmin.phtml
@@ -0,0 +1,58 @@
+<?php
+
+ function putSessionList($ADAT) {
+
+ echo '<table class="lista" >'."\n";
+
+ echo '<thead>'."\n";
+ echo '<tr>';
+ echo '<th colspan="2">'._ACCOUNT.'</th>';
+ echo '<th>'._CN.'</th>';
+ echo '<th>'._POLICI.'</th>';
+ echo '<th>'._LOGINDT.'</th>';
+ echo '<th>'._ACTIVITY.'</th>';
+ echo '<th>'._IP.'</th>';
+ echo '<th>'._SESSION.'</th>';
+ echo '</tr>'."\n";
+ echo '</thead>'."\n";
+ echo '<tfoot>'."\n";
+ echo '<tr>';
+ echo '<th colspan="2">'._ACCOUNT.'</th>';
+ echo '<th>'._CN.'</th>';
+ echo '<th>'._POLICI.'</th>';
+ echo '<th>'._LOGINDT.'</th>';
+ echo '<th>'._ACTIVITY.'</th>';
+ echo '<th>'._IP.'</th>';
+ echo '<th>'._SESSION.'</th>';
+ echo '</tr>'."\n";
+ echo '</tfoot>'."\n";
+ echo '<tbody>'."\n";
+ foreach ($ADAT['session'] as $sAdat) {
+ echo '<tr>';
+ echo '<th>';
+ if ($sAdat['sessionID']!=_SESSIONID) {
+ formBegin();
+ echo '<input type="hidden" name="action" value="deleteSession" />'."\n";
+ echo '<input type="hidden" name="delSessionID" value="'.$sAdat['sessionID'].'" />'."\n";
+ echo '<input type="hidden" name="delPolicy" value="'.$sAdat['policy'].'" />'."\n";
+ echo '<input type="submit" class="confirm" title="'._BIZTOS_TOROL.'" name="del" value="'._DELETE.'" />'."\n";
+ formEnd();
+ }
+ echo '</th>';
+ echo '<th>'.$sAdat['userAccount'].'</th>';
+ echo '<td>'.$sAdat['userCn'].'</td>';
+ echo '<td>'.$sAdat['policy'].'</td>';
+ echo '<td>'.$sAdat['dt'].'</td>';
+ echo '<td>'.$sAdat['activity'].'</td>';
+ echo '<td>'.$sAdat['ip'].'</td>';
+ echo '<td>'.$sAdat['sessionID'].'</td>';
+ echo '</tr>'."\n";
+ }
+ echo '</tbody>'."\n";
+
+ echo '</table>'."\n";
+
+ }
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/img/download.gif b/mayor-orig/mayor-base/www/skin/classic/module-session/img/download.gif
new file mode 100644
index 00000000..818700f2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/img/download.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/javascript/createAccount.jquery.min.js b/mayor-orig/mayor-base/www/skin/classic/module-session/javascript/createAccount.jquery.min.js
new file mode 100644
index 00000000..1fa17a9c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/javascript/createAccount.jquery.min.js
@@ -0,0 +1,13 @@
+$(document).ready(function() {
+ $('#createAccount input[type=submit]').attr("disabled", "disabled");
+ $('#createAccount').change(function(){
+ $('input').removeClass('hiba');
+ if ($('#createAccount input[name="userCn"]').val() == "") $('#createAccount input[name="userCn"]').addClass('hiba');
+ if ($('#createAccount input[name="userAccount"]').val() == "") $('#createAccount input[name="userAccount"]').addClass('hiba');
+ if ($('#createAccount input[name="userPassword"]').val() != $('#createAccount input[name="verification"]').val()) $('#createAccount input[name="verification"]').addClass('hiba');
+// ideiglegenes bekapcsolva
+ if ($('#createAccount input[name="mail"]').val() == "") $('#createAccount input[name="mail"]').addClass('hiba');
+ if ($('#createAccount input.hiba').length == 0)
+ $('#createAccount input[type=submit]').removeAttr("disabled");
+ });
+}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/javascript/facebookConnect.jquery.min.js b/mayor-orig/mayor-base/www/skin/classic/module-session/javascript/facebookConnect.jquery.min.js
new file mode 100644
index 00000000..94010747
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/javascript/facebookConnect.jquery.min.js
@@ -0,0 +1,31 @@
+$(document).ready(function() {
+ $('#grantFbAuth').submit(function() { // facebook
+ FB.getLoginStatus(function(response) {
+ if (response.status === 'connected') {
+ mayor_facebookconnect_redirect();
+ } else if (response.status === 'not_authorized') {
+ FB.login(function(loginResponse) {
+ if (loginResponse.status=='connected') {
+ mayor_facebookconnect_redirect();
+ }
+ });
+ } else {
+ FB.login(function(loginResponse) {
+ if (loginResponse.status=='connected') {
+ mayor_facebookconnect_redirect();
+ }
+ });
+ }
+ },true);
+ return false;
+ });
+
+ var mayor_facebookconnect_redirect = function() {
+ var origUrl = $(location).attr('href');
+ var pos = origUrl.indexOf("?");
+ if (pos != -1) url = origUrl+'&action=grantFbAuth';
+ else url = origUrl+'?action=grantFbAuth';
+ window.location = url;
+ }
+
+}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/module-session/javascript/googleapi.jquery.min.js b/mayor-orig/mayor-base/www/skin/classic/module-session/javascript/googleapi.jquery.min.js
new file mode 100644
index 00000000..3c54f109
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/module-session/javascript/googleapi.jquery.min.js
@@ -0,0 +1,30 @@
+$(document).ready(function() {
+ if (typeof(GOOGLEAPI_CLIENT_ID)!=='undefined' && GOOGLEAPI_CLIENT_ID!='') {
+ gapi.load('auth2', function(){
+ auth2 = gapi.auth2.init({
+ client_id: GOOGLEAPI_CLIENT_ID,
+ cookiepolicy: 'single_host_origin',
+ });
+ googleapiCheck(document.getElementById('googleapiCheckBtn'));
+ googleapiCheck(document.getElementById('googleapiGrantBtn'));
+ googleapiCheck(document.getElementById('googleapiRevokeBtn'));
+ });
+
+ function googleapiCheck(element) {
+ auth2.attachClickHandler(element, {},
+ function(googleUser) {
+ // console.log(googleUser.getBasicProfile());
+ var id_token = googleUser.getAuthResponse().id_token;
+ var origUrl = $(location).attr('href');
+ var pos = origUrl.indexOf("?");
+ if (pos != -1) url = origUrl+'&id_token='+id_token;
+ else url = origUrl+'?id_token='+id_token;
+ if (element.id == 'googleapiGrantBtn') url += '&action=googleapiGrant';
+ if (element.id == 'googleapiRevokeBtn') url += '&action=googleapiRevoke';
+ window.location = url;
+ }, function(error) {
+ // alert(JSON.stringify(error, undefined, 2));
+ });
+ }
+ }
+});
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/aac.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/aac.png
new file mode 100644
index 00000000..47887157
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/aac.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ai.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ai.png
new file mode 100644
index 00000000..9fe69635
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ai.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/aiff.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/aiff.png
new file mode 100644
index 00000000..b55326bc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/aiff.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/avi.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/avi.png
new file mode 100644
index 00000000..a7c57c4d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/avi.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/bmp.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/bmp.png
new file mode 100644
index 00000000..63f18177
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/bmp.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/c.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/c.png
new file mode 100644
index 00000000..5171293c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/c.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/css.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/css.png
new file mode 100644
index 00000000..05c112b3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/css.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dat.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dat.png
new file mode 100644
index 00000000..f803fca8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dat.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dmg.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dmg.png
new file mode 100644
index 00000000..5f67ec90
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dmg.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/doc.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/doc.png
new file mode 100644
index 00000000..a42f3914
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/doc.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dotx.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dotx.png
new file mode 100644
index 00000000..b067bfaf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dotx.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dwg.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dwg.png
new file mode 100644
index 00000000..698eb4c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dwg.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dxf.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dxf.png
new file mode 100644
index 00000000..ca30be92
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/dxf.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/eps.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/eps.png
new file mode 100644
index 00000000..649a9d9a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/eps.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/exe.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/exe.png
new file mode 100644
index 00000000..ddfa770b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/exe.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/flv.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/flv.png
new file mode 100644
index 00000000..a02bcd9b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/flv.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/gif.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/gif.png
new file mode 100644
index 00000000..2b84c9dc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/gif.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/h.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/h.png
new file mode 100644
index 00000000..f2bcdbf9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/h.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/hpp.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/hpp.png
new file mode 100644
index 00000000..f725fc80
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/hpp.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/html.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/html.png
new file mode 100644
index 00000000..a1f66927
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/html.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ics.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ics.png
new file mode 100644
index 00000000..04d149a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ics.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/iso.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/iso.png
new file mode 100644
index 00000000..4daccd2e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/iso.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/java.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/java.png
new file mode 100644
index 00000000..423bdebe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/java.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/jpg.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/jpg.png
new file mode 100644
index 00000000..0e7ace35
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/jpg.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/key.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/key.png
new file mode 100644
index 00000000..8fd2e797
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/key.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/mid.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/mid.png
new file mode 100644
index 00000000..542b9d0d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/mid.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/mp3.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/mp3.png
new file mode 100644
index 00000000..bcc30dfe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/mp3.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/mp4.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/mp4.png
new file mode 100644
index 00000000..9c96f2b3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/mp4.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/mpg.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/mpg.png
new file mode 100644
index 00000000..dfd65968
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/mpg.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/odf.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/odf.png
new file mode 100644
index 00000000..8ac8ee4b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/odf.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/odt.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/odt.png
new file mode 100644
index 00000000..585120af
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/odt.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/otp.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/otp.png
new file mode 100644
index 00000000..79f2da0d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/otp.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ots.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ots.png
new file mode 100644
index 00000000..192b7920
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ots.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ott.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ott.png
new file mode 100644
index 00000000..cc6aaeb7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ott.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/pdf.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/pdf.png
new file mode 100644
index 00000000..b2efd2cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/pdf.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/php.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/php.png
new file mode 100644
index 00000000..20677a7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/php.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/png.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/png.png
new file mode 100644
index 00000000..b698be69
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/png.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ppt.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ppt.png
new file mode 100644
index 00000000..39601ae9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/ppt.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/psd.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/psd.png
new file mode 100644
index 00000000..fb347ca7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/psd.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/py.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/py.png
new file mode 100644
index 00000000..79dbbaff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/py.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/qt.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/qt.png
new file mode 100644
index 00000000..cd9a08f4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/qt.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/rar.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/rar.png
new file mode 100644
index 00000000..723f7198
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/rar.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/rb.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/rb.png
new file mode 100644
index 00000000..33a8f23f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/rb.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/rtf.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/rtf.png
new file mode 100644
index 00000000..552cddbb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/rtf.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/sql.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/sql.png
new file mode 100644
index 00000000..3546e705
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/sql.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/tga.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/tga.png
new file mode 100644
index 00000000..544d1469
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/tga.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/tgz.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/tgz.png
new file mode 100644
index 00000000..b25f50de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/tgz.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/tiff.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/tiff.png
new file mode 100644
index 00000000..4ea16f79
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/tiff.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/txt.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/txt.png
new file mode 100644
index 00000000..62527117
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/txt.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/wav.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/wav.png
new file mode 100644
index 00000000..80287a9b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/wav.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/xls.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/xls.png
new file mode 100644
index 00000000..997a0ff1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/xls.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/xlsx.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/xlsx.png
new file mode 100644
index 00000000..350252f7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/xlsx.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/xml.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/xml.png
new file mode 100644
index 00000000..a2a9a84c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/xml.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/yml.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/yml.png
new file mode 100644
index 00000000..758ea706
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/yml.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/zip.png b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/zip.png
new file mode 100644
index 00000000..15850ff1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/img/filetypes/zip.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/MIT-LICENSE b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/MIT-LICENSE
new file mode 100644
index 00000000..d4f8dbdc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/MIT-LICENSE
@@ -0,0 +1,20 @@
+All portions Copyright (c) 2007 Tim Harper
+
+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/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/README b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/README
new file mode 100644
index 00000000..4e3e4a58
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/README
@@ -0,0 +1,10 @@
+::CalendarDateSelect::
+Author: Tim Harper ( 'tim_see_harperATgmail._see_om'.gsub('_see_', 'c').gsub('AT', '@') )
+
+::Examples::
+see demo here -- http://restatesman.com/static/calendar
+
+::Project Site::
+http://code.google.com/p/calendardateselect/
+
+It works! \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/blank_iframe.html b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/blank_iframe.html
new file mode 100644
index 00000000..a4296bbb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/blank_iframe.html
@@ -0,0 +1,2 @@
+<!-- Nothing here -->
+<html><head></head><body></body></html> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/images/calendar_date_select/calendar.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/images/calendar_date_select/calendar.gif
new file mode 100644
index 00000000..6b7b7ca9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/images/calendar_date_select/calendar.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/calendar_date_select.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/calendar_date_select.js
new file mode 100644
index 00000000..b25297e3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/calendar_date_select.js
@@ -0,0 +1,430 @@
+// CalendarDateSelect version 1.10.2 - a prototype based date picker
+// Questions, comments, bugs? - email the Author - Tim Harper <"timseeharper@gmail.seeom".gsub("see", "c")>
+if (typeof Prototype == 'undefined') alert("CalendarDateSelect Error: Prototype could not be found. Please make sure that your application's layout includes prototype.js (.g. <%= javascript_include_tag :defaults %>) *before* it includes calendar_date_select.js (.g. <%= calendar_date_select_includes %>).");
+if (Prototype.Version < "1.6") alert("Prototype 1.6.0 is required. If using earlier version of prototype, please use calendar_date_select version 1.8.3");
+
+Element.addMethods({
+ purgeChildren: function(element) { $A(element.childNodes).each(function(e){$(e).remove();}); },
+ build: function(element, type, options, style) {
+ var newElement = Element.build(type, options, style);
+ element.appendChild(newElement);
+ return newElement;
+ }
+});
+
+Element.build = function(type, options, style)
+{
+ var e = $(document.createElement(type));
+ $H(options).each(function(pair) { eval("e." + pair.key + " = pair.value" ); });
+ if (style)
+ $H(style).each(function(pair) { eval("e.style." + pair.key + " = pair.value" ); });
+ return e;
+};
+nil = null;
+
+Date.one_day = 24*60*60*1000;
+Date.weekdays = $w("S M T W T F S");
+Date.first_day_of_week = 0;
+Date.months = $w("January February March April May June July August September October November December" );
+Date.padded2 = function(hour) { var padded2 = parseInt(hour, 10); if (hour < 10) padded2 = "0" + padded2; return padded2; }
+Date.prototype.getPaddedMinutes = function() { return Date.padded2(this.getMinutes()); }
+Date.prototype.getAMPMHour = function() { var hour = this.getHours(); return (hour == 0) ? 12 : (hour > 12 ? hour - 12 : hour ) }
+Date.prototype.getAMPM = function() { return (this.getHours() < 12) ? "AM" : "PM"; }
+Date.prototype.stripTime = function() { return new Date(this.getFullYear(), this.getMonth(), this.getDate());};
+Date.prototype.daysDistance = function(compare_date) { return Math.round((compare_date - this) / Date.one_day); };
+Date.prototype.toFormattedString = function(include_time){
+ var hour, str;
+ str = Date.months[this.getMonth()] + " " + this.getDate() + ", " + this.getFullYear();
+
+ if (include_time) { hour = this.getHours(); str += " " + this.getAMPMHour() + ":" + this.getPaddedMinutes() + " " + this.getAMPM() }
+ return str;
+}
+Date.parseFormattedString = function(string) { return new Date(string);}
+Math.floor_to_interval = function(n, i) { return Math.floor(n/i) * i;}
+window.f_height = function() { return( [window.innerHeight ? window.innerHeight : null, document.documentElement ? document.documentElement.clientHeight : null, document.body ? document.body.clientHeight : null].select(function(x){return x>0}).first()||0); }
+window.f_scrollTop = function() { return ([window.pageYOffset ? window.pageYOffset : null, document.documentElement ? document.documentElement.scrollTop : null, document.body ? document.body.scrollTop : null].select(function(x){return x>0}).first()||0 ); }
+
+_translations = {
+ "OK": "OK",
+ "Now": "Now",
+ "Today": "Today"
+}
+SelectBox = Class.create();
+SelectBox.prototype = {
+ initialize: function(parent_element, values, html_options, style_options) {
+ this.element = $(parent_element).build("select", html_options, style_options);
+ this.populate(values);
+ },
+ populate: function(values) {
+ this.element.purgeChildren();
+ var that = this; $A(values).each(function(pair) { if (typeof(pair)!="object") {pair = [pair, pair]}; that.element.build("option", { value: pair[1], innerHTML: pair[0]}) });
+ },
+ setValue: function(value) {
+ var e = this.element;
+ var matched = false;
+ $R(0, e.options.length - 1 ).each(function(i) { if(e.options[i].value==value.toString()) {e.selectedIndex = i; matched = true;}; } );
+ return matched;
+ },
+ getValue: function() { return $F(this.element)}
+}
+CalendarDateSelect = Class.create();
+CalendarDateSelect.prototype = {
+ initialize: function(target_element, options) {
+ this.target_element = $(target_element); // make sure it's an element, not a string
+ if (!this.target_element) { alert("Target element " + target_element + " not found!"); return false;}
+ if (this.target_element.tagName != "INPUT") this.target_element = this.target_element.down("INPUT")
+
+ this.target_element.calendar_date_select = this;
+ this.last_click_at = 0;
+ // initialize the date control
+ this.options = $H({
+ embedded: false,
+ popup: nil,
+ time: false,
+ buttons: true,
+ year_range: 10,
+ close_on_click: nil,
+ minute_interval: 5,
+ popup_by: this.target_element,
+ month_year: "dropdowns",
+ onchange: this.target_element.onchange,
+ valid_date_check: nil
+ }).merge(options || {});
+ this.use_time = this.options.get("time");
+ this.parseDate();
+ this.callback("before_show")
+ this.initCalendarDiv();
+ if(!this.options.get("embedded")) {
+ this.positionCalendarDiv()
+ // set the click handler to check if a user has clicked away from the document
+ Event.observe(document, "mousedown", this.closeIfClickedOut_handler = this.closeIfClickedOut.bindAsEventListener(this));
+ Event.observe(document, "keypress", this.keyPress_handler = this.keyPress.bindAsEventListener(this));
+ }
+ this.callback("after_show")
+ },
+ positionCalendarDiv: function() {
+ var above = false;
+ var c_pos = this.calendar_div.cumulativeOffset(), c_left = c_pos[0], c_top = c_pos[1], c_dim = this.calendar_div.getDimensions(), c_height = c_dim.height, c_width = c_dim.width;
+ var w_top = window.f_scrollTop(), w_height = window.f_height();
+ var e_dim = $(this.options.get("popup_by")).cumulativeOffset(), e_top = e_dim[1], e_left = e_dim[0], e_height = $(this.options.get("popup_by")).getDimensions().height, e_bottom = e_top + e_height;
+
+ if ( (( e_bottom + c_height ) > (w_top + w_height)) && ( e_bottom - c_height > w_top )) above = true;
+ var left_px = e_left.toString() + "px", top_px = (above ? (e_top - c_height ) : ( e_top + e_height )).toString() + "px";
+
+ this.calendar_div.style.left = left_px; this.calendar_div.style.top = top_px;
+
+ this.calendar_div.setStyle({visibility:""});
+
+ // draw an iframe behind the calendar -- ugly hack to make IE 6 happy
+ if(navigator.appName=="Microsoft Internet Explorer") this.iframe = $(document.body).build("iframe", {src: "javascript:false", className: "ie6_blocker"}, { left: left_px, top: top_px, height: c_height.toString()+"px", width: c_width.toString()+"px", border: "0px"})
+ },
+ initCalendarDiv: function() {
+ if (this.options.get("embedded")) {
+ var parent = this.target_element.parentNode;
+ var style = {}
+ } else {
+ var parent = document.body
+ var style = { position:"absolute", visibility: "hidden", left:0, top:0 }
+ }
+ this.calendar_div = $(parent).build('div', {className: "calendar_date_select"}, style);
+
+ var that = this;
+ // create the divs
+ $w("top header body buttons footer bottom").each(function(name) {
+ eval("var " + name + "_div = that." + name + "_div = that.calendar_div.build('div', { className: 'cds_"+name+"' }, { clear: 'left'} ); ");
+ });
+
+ this.initHeaderDiv();
+ this.initButtonsDiv();
+ this.initCalendarGrid();
+ this.updateFooter("&#160;");
+
+ this.refresh();
+ this.setUseTime(this.use_time);
+ },
+ initHeaderDiv: function() {
+ var header_div = this.header_div;
+ this.close_button = header_div.build("a", { innerHTML: "x", href:"#", onclick:function () { this.close(); return false; }.bindAsEventListener(this), className: "close" });
+ this.next_month_button = header_div.build("a", { innerHTML: "&gt;", href:"#", onclick:function () { this.navMonth(this.date.getMonth() + 1 ); return false; }.bindAsEventListener(this), className: "next" });
+ this.prev_month_button = header_div.build("a", { innerHTML: "&lt;", href:"#", onclick:function () { this.navMonth(this.date.getMonth() - 1 ); return false; }.bindAsEventListener(this), className: "prev" });
+
+ if (this.options.get("month_year")=="dropdowns") {
+ this.month_select = new SelectBox(header_div, $R(0,11).map(function(m){return [Date.months[m], m]}), {className: "month", onchange: function () { this.navMonth(this.month_select.getValue()) }.bindAsEventListener(this)});
+ this.year_select = new SelectBox(header_div, [], {className: "year", onchange: function () { this.navYear(this.year_select.getValue()) }.bindAsEventListener(this)});
+ this.populateYearRange();
+ } else {
+ this.month_year_label = header_div.build("span")
+ }
+ },
+ initCalendarGrid: function() {
+ var body_div = this.body_div;
+ this.calendar_day_grid = [];
+ var days_table = body_div.build("table", { cellPadding: "0px", cellSpacing: "0px", width: "100%" })
+ // make the weekdays!
+ var weekdays_row = days_table.build("thead").build("tr");
+ Date.weekdays.each( function(weekday) {
+ weekdays_row.build("th", {innerHTML: weekday});
+ });
+
+ var days_tbody = days_table.build("tbody")
+ // Make the days!
+ var row_number = 0, weekday;
+ for(var cell_index = 0; cell_index<42; cell_index++)
+ {
+ weekday = (cell_index+Date.first_day_of_week ) % 7;
+ if ( cell_index % 7==0 ) days_row = days_tbody.build("tr", {className: 'row_'+row_number++});
+ (this.calendar_day_grid[cell_index] = days_row.build("td", {
+ calendar_date_select: this,
+ onmouseover: function () { this.calendar_date_select.dayHover(this); },
+ onmouseout: function () { this.calendar_date_select.dayHoverOut(this) },
+ onclick: function() { this.calendar_date_select.updateSelectedDate(this, true); },
+ className: (weekday==0) || (weekday==6) ? " weekend" : "" //clear the class
+ },
+ { cursor: "pointer" }
+ )).build("div");
+ this.calendar_day_grid[cell_index];
+ }
+ },
+ initButtonsDiv: function()
+ {
+ var buttons_div = this.buttons_div;
+ if (this.options.get("time"))
+ {
+ var blank_time = $A(this.options.get("time")=="mixed" ? [[" - ", ""]] : []);
+ buttons_div.build("span", {innerHTML:"@", className: "at_sign"});
+
+ var t = new Date();
+ this.hour_select = new SelectBox(buttons_div,
+ blank_time.concat($R(0,23).map(function(x) {t.setHours(x); return $A([t.getAMPMHour()+ " " + t.getAMPM(),x])} )),
+ {
+ calendar_date_select: this,
+ onchange: function() { this.calendar_date_select.updateSelectedDate( { hour: this.value });},
+ className: "hour"
+ }
+ );
+ buttons_div.build("span", {innerHTML:":", className: "seperator"});
+ var that = this;
+ this.minute_select = new SelectBox(buttons_div,
+ blank_time.concat($R(0,59).select(function(x){return (x % that.options.get('minute_interval')==0)}).map(function(x){ return $A([ Date.padded2(x), x]); } ) ),
+ {
+ calendar_date_select: this,
+ onchange: function() { this.calendar_date_select.updateSelectedDate( {minute: this.value }) },
+ className: "minute"
+ }
+ );
+
+ } else if (! this.options.get("buttons")) buttons_div.remove();
+
+ if (this.options.get("buttons")) {
+ buttons_div.build("span", {innerHTML: "&#160;"});
+ if (this.options.get("time")=="mixed" || !this.options.get("time")) b = buttons_div.build("a", {
+ innerHTML: _translations["Today"],
+ href: "#",
+ onclick: function() {this.today(false); return false;}.bindAsEventListener(this)
+ });
+
+ if (this.options.get("time")=="mixed") buttons_div.build("span", {innerHTML: " | ", className:"button_seperator"})
+
+ if (this.options.get("time")) b = buttons_div.build("a", {
+ innerHTML: _translations["Now"],
+ href: "#",
+ onclick: function() {this.today(true); return false}.bindAsEventListener(this)
+ });
+
+ if (!this.options.get("embedded"))
+ {
+ buttons_div.build("span", {innerHTML: "&#160;"});
+ buttons_div.build("a", { innerHTML: _translations["OK"], href: "#", onclick: function() {this.close(); return false;}.bindAsEventListener(this) });
+ }
+ }
+ },
+ refresh: function ()
+ {
+ this.refreshMonthYear();
+ this.refreshCalendarGrid();
+
+ this.setSelectedClass();
+ this.updateFooter();
+ },
+ refreshCalendarGrid: function () {
+ this.beginning_date = new Date(this.date).stripTime();
+ this.beginning_date.setDate(1);
+ this.beginning_date.setHours(12); // Prevent daylight savings time boundaries from showing a duplicate day
+ var pre_days = this.beginning_date.getDay() // draw some days before the fact
+ if (pre_days < 3) pre_days += 7;
+ this.beginning_date.setDate(1 - pre_days + Date.first_day_of_week);
+
+ var iterator = new Date(this.beginning_date);
+
+ var today = new Date().stripTime();
+ var this_month = this.date.getMonth();
+ vdc = this.options.get("valid_date_check");
+ for (var cell_index = 0;cell_index<42; cell_index++)
+ {
+ day = iterator.getDate(); month = iterator.getMonth();
+ cell = this.calendar_day_grid[cell_index];
+ Element.remove(cell.childNodes[0]); div = cell.build("div", {innerHTML:day});
+ if (month!=this_month) div.className = "other";
+ cell.day = day; cell.month = month; cell.year = iterator.getFullYear();
+ if (vdc) { if (vdc(iterator.stripTime())) cell.removeClassName("disabled"); else cell.addClassName("disabled") };
+ iterator.setDate( day + 1);
+ }
+
+ if (this.today_cell) this.today_cell.removeClassName("today");
+
+ if ( $R( 0, 41 ).include(days_until = this.beginning_date.stripTime().daysDistance(today)) ) {
+ this.today_cell = this.calendar_day_grid[days_until];
+ this.today_cell.addClassName("today");
+ }
+ },
+ refreshMonthYear: function() {
+ var m = this.date.getMonth();
+ var y = this.date.getFullYear();
+ // set the month
+ if (this.options.get("month_year") == "dropdowns")
+ {
+ this.month_select.setValue(m, false);
+
+ var e = this.year_select.element;
+ if (this.flexibleYearRange() && (!(this.year_select.setValue(y, false)) || e.selectedIndex <= 1 || e.selectedIndex >= e.options.length - 2 )) this.populateYearRange();
+
+ this.year_select.setValue(y);
+
+ } else {
+ this.month_year_label.update( Date.months[m] + " " + y.toString() );
+ }
+ },
+ populateYearRange: function() {
+ this.year_select.populate(this.yearRange().toArray());
+ },
+ yearRange: function() {
+ if (!this.flexibleYearRange())
+ return $R(this.options.get("year_range")[0], this.options.get("year_range")[1]);
+
+ var y = this.date.getFullYear();
+ return $R(y - this.options.get("year_range"), y + this.options.get("year_range"));
+ },
+ flexibleYearRange: function() { return (typeof(this.options.get("year_range")) == "number"); },
+ validYear: function(year) { if (this.flexibleYearRange()) { return true;} else { return this.yearRange().include(year);} },
+ dayHover: function(element) {
+ var hover_date = new Date(this.selected_date);
+ hover_date.setYear(element.year); hover_date.setMonth(element.month); hover_date.setDate(element.day);
+ this.updateFooter(hover_date.toFormattedString(this.use_time));
+ },
+ dayHoverOut: function(element) { this.updateFooter(); },
+ clearSelectedClass: function() {if (this.selected_cell) this.selected_cell.removeClassName("selected");},
+ setSelectedClass: function() {
+ if (!this.selection_made) return;
+ this.clearSelectedClass()
+ if ($R(0,42).include( days_until = this.beginning_date.stripTime().daysDistance(this.selected_date.stripTime()) )) {
+ this.selected_cell = this.calendar_day_grid[days_until];
+ this.selected_cell.addClassName("selected");
+ }
+ },
+ reparse: function() { this.parseDate(); this.refresh(); },
+ dateString: function() {
+ return (this.selection_made) ? this.selected_date.toFormattedString(this.use_time) : "&#160;";
+ },
+ parseDate: function()
+ {
+ var value = $F(this.target_element).strip()
+ this.selection_made = (value != "");
+ this.date = value=="" ? NaN : Date.parseFormattedString(this.options.get("date") || value);
+ if (isNaN(this.date)) this.date = new Date();
+ if (!this.validYear(this.date.getFullYear())) this.date.setYear( (this.date.getFullYear() < this.yearRange().start) ? this.yearRange().start : this.yearRange().end);
+ this.selected_date = new Date(this.date);
+ this.use_time = /[0-9]:[0-9]{2}/.exec(value) ? true : false;
+ this.date.setDate(1);
+ },
+ updateFooter:function(text) { if (!text) text = this.dateString(); this.footer_div.purgeChildren(); this.footer_div.build("span", {innerHTML: text }); },
+ updateSelectedDate:function(partsOrElement, via_click) {
+ var parts = $H(partsOrElement);
+ if ((this.target_element.disabled || this.target_element.readOnly) && this.options.get("popup") != "force") return false;
+ if (parts.get("day")) {
+ var t_selected_date = this.selected_date, vdc = this.options.get("valid_date_check");
+ for (var x = 0; x<=3; x++) t_selected_date.setDate(parts.get("day"));
+ t_selected_date.setYear(parts.get("year"));
+ t_selected_date.setMonth(parts.get("month"));
+
+ if (vdc && ! vdc(t_selected_date.stripTime())) { return false; }
+ this.selected_date = t_selected_date;
+ this.selection_made = true;
+ }
+
+ if (!isNaN(parts.get("hour"))) this.selected_date.setHours(parts.get("hour"));
+ if (!isNaN(parts.get("minute"))) this.selected_date.setMinutes( Math.floor_to_interval(parts.get("minute"), this.options.get("minute_interval")) );
+ if (parts.get("hour") === "" || parts.get("minute") === "")
+ this.setUseTime(false);
+ else if (!isNaN(parts.get("hour")) || !isNaN(parts.get("minute")))
+ this.setUseTime(true);
+
+ this.updateFooter();
+ this.setSelectedClass();
+
+ if (this.selection_made) this.updateValue();
+ if (this.closeOnClick()) { this.close(); }
+ if (via_click && !this.options.get("embedded")) {
+ if ((new Date() - this.last_click_at) < 333) this.close();
+ this.last_click_at = new Date();
+ }
+ },
+ closeOnClick: function() {
+ if (this.options.get("embedded")) return false;
+ if (this.options.get("close_on_click")===nil )
+ return (this.options.get("time")) ? false : true
+ else
+ return (this.options.get("close_on_click"))
+ },
+ navMonth: function(month) { (target_date = new Date(this.date)).setMonth(month); return (this.navTo(target_date)); },
+ navYear: function(year) { (target_date = new Date(this.date)).setYear(year); return (this.navTo(target_date)); },
+ navTo: function(date) {
+ if (!this.validYear(date.getFullYear())) return false;
+ this.date = date;
+ this.date.setDate(1);
+ this.refresh();
+ this.callback("after_navigate", this.date);
+ return true;
+ },
+ setUseTime: function(turn_on) {
+ this.use_time = this.options.get("time") && (this.options.get("time")=="mixed" ? turn_on : true) // force use_time to true if time==true && time!="mixed"
+ if (this.use_time && this.selected_date) { // only set hour/minute if a date is already selected
+ var minute = Math.floor_to_interval(this.selected_date.getMinutes(), this.options.get("minute_interval"));
+ var hour = this.selected_date.getHours();
+
+ this.hour_select.setValue(hour);
+ this.minute_select.setValue(minute)
+ } else if (this.options.get("time")=="mixed") {
+ this.hour_select.setValue(""); this.minute_select.setValue("");
+ }
+ },
+ updateValue: function() {
+ var last_value = this.target_element.value;
+ this.target_element.value = this.dateString();
+ if (last_value!=this.target_element.value) this.callback("onchange");
+ },
+ today: function(now) {
+ var d = new Date(); this.date = new Date();
+ var o = $H({ day: d.getDate(), month: d.getMonth(), year: d.getFullYear(), hour: d.getHours(), minute: d.getMinutes()});
+ if ( ! now ) o = o.merge({hour: "", minute:""});
+ this.updateSelectedDate(o, true);
+ this.refresh();
+ },
+ close: function() {
+ if (this.closed) return false;
+ this.callback("before_close");
+ this.target_element.calendar_date_select = nil;
+ Event.stopObserving(document, "mousedown", this.closeIfClickedOut_handler);
+ Event.stopObserving(document, "keypress", this.keyPress_handler);
+ this.calendar_div.remove(); this.closed = true;
+ if (this.iframe) this.iframe.remove();
+ if (this.target_element.type!="hidden") this.target_element.focus();
+ this.callback("after_close");
+ },
+ closeIfClickedOut: function(e) {
+ if (! $(Event.element(e)).descendantOf(this.calendar_div) ) this.close();
+ },
+ keyPress: function(e) {
+ if (e.keyCode==Event.KEY_ESC) this.close();
+ },
+ callback: function(name, param) { if (this.options.get(name)) { this.options.get(name).bind(this.target_element)(param); } }
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_american.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_american.js
new file mode 100644
index 00000000..cbaca01a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_american.js
@@ -0,0 +1,34 @@
+// American Format: 12/31/2000 5:00 pm
+// Thanks, Wes Hays
+Date.prototype.toFormattedString = function(include_time){
+ str = Date.padded2(this.getMonth() + 1) + '/' +Date.padded2(this.getDate()) + '/' + this.getFullYear();
+
+ if (include_time) { hour=this.getHours(); str += " " + this.getAMPMHour() + ":" + this.getPaddedMinutes() + " " + this.getAMPM() }
+ return str;
+}
+
+Date.parseFormattedString = function (string) {
+ // Test these with and without the time
+ // 11/11/1111 12pm
+ // 11/11/1111 1pm
+ // 1/11/1111 10:10pm
+ // 11/1/1111 01pm
+ // 1/1/1111 01:11pm
+ // 1/1/1111 1:11pm
+ var regexp = "(([0-1]?[0-9])\/[0-3]?[0-9]\/[0-9]{4}) *([0-9]{1,2}(:[0-9]{2})? *(am|pm))?";
+ var d = string.match(new RegExp(regexp, "i"));
+ if (d==null) {
+ return Date.parse(string); // Give javascript a chance to parse it.
+ }
+
+ mdy = d[1].split('/');
+ hrs = 0;
+ mts = 0;
+ if(d[3] != null) {
+ hrs = parseInt(d[3].split('')[0], 10);
+ if(d[5].toLowerCase() == 'pm') { hrs += 12; } // Add 12 more to hrs
+ mts = d[4].split(':')[1];
+ }
+
+ return new Date(mdy[2], parseInt(mdy[0], 10)-1, mdy[1], hrs, mts, 0);
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_db.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_db.js
new file mode 100644
index 00000000..a3f10d44
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_db.js
@@ -0,0 +1,27 @@
+// DB No Seconds Format: 2007-12-05 12:00
+
+Date.padded2 = function(hour) { padded2 = hour.toString(); if ((parseInt(hour) < 10) || (parseInt(hour) == null)) padded2="0" + padded2; return padded2; }
+Date.prototype.getAMPMHour = function() { hour=Date.padded2(this.getHours()); return (hour == null) ? 00 : (hour > 24 ? hour - 24 : hour ) }
+Date.prototype.getAMPM = function() { return (this.getHours() < 12) ? "" : ""; }
+
+Date.prototype.toFormattedString = function(include_time){
+ str = this.getFullYear() + "-" + (this.getMonth() + 1) + "-" + Date.padded2(this.getDate());
+ if (include_time) { hour=this.getHours(); str += " " + this.getAMPMHour() + ":" + this.getPaddedMinutes() }
+ return str;
+}
+
+Date.parseFormattedString = function (string) {
+ var regexp = '([0-9]{4})-(([0-9]{1,2})-(([0-9]{1,2})( ([0-9]{1,2}):([0-9]{2})? *)?)?)?';
+ var d = string.match(new RegExp(regexp, "i"));
+ if (d==null) return Date.parse(string); // at least give javascript a crack at it.
+ var offset = 0;
+ var date = new Date(d[1], 0, 1);
+ if (d[3]) { date.setMonth(d[3] - 1); }
+ if (d[5]) { date.setDate(d[5]); }
+ if (d[7]) {
+ date.setHours(parseInt(d[7], 10));
+ }
+ if (d[8]) { date.setMinutes(d[8]); }
+ if (d[10]) { date.setSeconds(d[10]); }
+ return date;
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_euro_24hr.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_euro_24hr.js
new file mode 100644
index 00000000..7249fcb9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_euro_24hr.js
@@ -0,0 +1,7 @@
+// Formats date and time as "01 January 2000 17:00"
+Date.prototype.toFormattedString = function(include_time)
+{
+ str = Date.padded2(this.getDate()) + " " + Date.months[this.getMonth()] + " " + this.getFullYear();
+ if (include_time) { str += " " + this.getHours() + ":" + this.getPaddedMinutes() }
+ return str;
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_finnish.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_finnish.js
new file mode 100644
index 00000000..ef86c26b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_finnish.js
@@ -0,0 +1,24 @@
+Date.padded2 = function(hour) { padded2 = hour.toString(); if ((parseInt(hour) < 10) || (parseInt(hour) == null)) padded2="0" + padded2; return padded2; }
+Date.prototype.getAMPMHour = function() { hour=Date.padded2(this.getHours()); return (hour == null) ? 00 : (hour > 24 ? hour - 24 : hour ) }
+Date.prototype.getAMPM = function() { return (this.getHours() < 12) ? "" : ""; }
+
+Date.prototype.toFormattedString = function(include_time){
+ str = this.getDate() + "." + (this.getMonth() + 1) + "." + this.getFullYear();
+ if (include_time) { hour=this.getHours(); str += " " + this.getAMPMHour() + ":" + this.getPaddedMinutes() }
+ return str;
+}
+Date.parseFormattedString = function (string) {
+ var regexp = '([0-9]{1,2})\.(([0-9]{1,2})\.(([0-9]{4})( ([0-9]{1,2}):([0-9]{2})? *)?)?)?';
+ var d = string.match(new RegExp(regexp, "i"));
+ if (d==null) return Date.parse(string); // at least give javascript a crack at it.
+ var offset = 0;
+ var date = new Date(d[5], 0, 1);
+ if (d[3]) { date.setMonth(d[3] - 1); }
+ if (d[5]) { date.setDate(d[1]); }
+ if (d[7]) {
+ date.setHours(parseInt(d[7], 10));
+ }
+ if (d[8]) { date.setMinutes(d[8]); }
+ if (d[10]) { date.setSeconds(d[10]); }
+ return date;
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_hyphen_ampm.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_hyphen_ampm.js
new file mode 100644
index 00000000..528eb618
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_hyphen_ampm.js
@@ -0,0 +1,36 @@
+Date.prototype.toFormattedString = function(include_time){
+ str = this.getFullYear() + "-" + Date.padded2(this.getMonth() + 1) + "-" +Date.padded2(this.getDate());
+
+if (include_time) { hour=this.getHours(); str += " " + this.getAMPMHour() + ":" + this.getPaddedMinutes() + " " + this.getAMPM() }
+return str;
+}
+
+Date.parseFormattedString = function (string) {
+ var regexp = "([0-9]{4})(-([0-9]{2})(-([0-9]{2})" +
+ "( ([0-9]{1,2}):([0-9]{2})? *(pm|am)" +
+ "?)?)?)?";
+ var d = string.match(new RegExp(regexp, "i"));
+ if (d==null) return Date.parse(string); // at least give javascript a crack at it.
+ var offset = 0;
+ var date = new Date(d[1], 0, 1);
+ if (d[3]) { date.setMonth(d[3] - 1); }
+ if (d[5]) { date.setDate(d[5]); }
+ if (d[7]) {
+ hours = parseInt(d[7], 10);
+ offset=0;
+ is_pm = (d[9].toLowerCase()=="pm")
+ if (is_pm && hours <= 11) hours+=12;
+ if (!is_pm && hours == 12) hours=0;
+ date.setHours(hours);
+
+ }
+ if (d[8]) { date.setMinutes(d[8]); }
+ if (d[10]) { date.setSeconds(d[10]); }
+ if (d[12]) { date.setMilliseconds(Number("0." + d[12]) * 1000); }
+ if (d[14]) {
+ offset = (Number(d[16]) * 60) + Number(d[17]);
+ offset *= ((d[15] == '-') ? 1 : -1);
+ }
+
+ return date;
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_iso_date.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_iso_date.js
new file mode 100644
index 00000000..ea7aa735
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_iso_date.js
@@ -0,0 +1,46 @@
+Date.prototype.toFormattedString = function(include_time) {
+ var hour;
+ var str = this.getFullYear() + "-" + Date.padded2(this.getMonth() + 1) + "-" +Date.padded2(this.getDate());
+ if (include_time) {
+ hour = this.getHours();
+ str += " " + this.getHours() + ":" + this.getPaddedMinutes();
+ }
+ return str;
+};
+
+Date.parseFormattedString = function (string) {
+
+ var regexp = "([0-9]{4})(-([0-9]{2})(-([0-9]{2})" +
+ "( ([0-9]{1,2}):([0-9]{2})?" +
+ "?)?)?)?";
+
+ var d = string.match(new RegExp(regexp, "i"));
+ if (d === null) {
+ return Date.parse(string); // at least give javascript a crack at it.
+ }
+ var offset = 0;
+ var date = new Date(d[1], 0, 1);
+ if (d[3]) {
+ date.setMonth(d[3] - 1);
+ }
+ if (d[5]) {
+ date.setDate(d[5]);
+ }
+ if (d[7]) {
+ date.setHours(d[7]);
+ }
+ if (d[8]) {
+ date.setMinutes(d[8]);
+ }
+ if (d[0]) {
+ date.setSeconds(d[0]);
+ }
+ if (d[2]) {
+ date.setMilliseconds(Number("0." + d[2]));
+ }
+ if (d[4]) {
+ offset = (Number(d[6])) + Number(d[8]);
+ offset = ((d[5] == '-') ? 1 : -1);
+ }
+ return date;
+};
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_italian.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_italian.js
new file mode 100644
index 00000000..249fcb59
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_italian.js
@@ -0,0 +1,24 @@
+// Italian Format: 31/12/2000 23:00
+// Thanks, Bigonazzi!
+
+Date.prototype.toFormattedString = function(include_time){
+ str = this.getDate() + "/" + (this.getMonth() + 1) + "/" + this.getFullYear();
+ if (include_time) { hour=this.getHours(); str += " " + this.getAMPMHour() + ":" + this.getPaddedMinutes() }
+ return str;
+}
+
+Date.parseFormattedString = function (string) {
+ var regexp = '([0-9]{1,2})/(([0-9]{1,2})/(([0-9]{4})( ([0-9]{1,2}):([0-9]{2})? *)?)?)?';
+ var d = string.match(new RegExp(regexp, "i"));
+ if (d==null) return Date.parse(string); // at least give javascript a crack at it.
+ var offset = 0;
+ var date = new Date(d[5], 0, 1);
+ if (d[3]) { date.setMonth(d[3] - 1); }
+ if (d[5]) { date.setDate(d[1]); }
+ if (d[7]) {
+ date.setHours(parseInt(d[7], 10));
+ }
+ if (d[8]) { date.setMinutes(d[8]); }
+ if (d[10]) { date.setSeconds(d[10]); }
+ return date;
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_mayor.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_mayor.js
new file mode 100644
index 00000000..dffba7d9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_mayor.js
@@ -0,0 +1,42 @@
+Date.prototype.toFormattedString = function(include_time){
+ str = this.getFullYear() + "-" + Date.padded2(this.getMonth() + 1) + "-" +Date.padded2(this.getDate());
+ if (include_time) { str += " " + this.getHours() + ":" + this.getPaddedMinutes() }
+ return str;
+}
+
+Date.parseFormattedString = function (string) {
+
+ var regexp = "([0-9]{4})(-([0-9]{2})(-([0-9]{2})" +
+ "( ([0-9]{1,2}):([0-9]{2})?" +
+ "?)?)?)?";
+
+ var d = string.match(new RegExp(regexp, "i"));
+ if (d === null) {
+ return Date.parse(string); // at least give javascript a crack at it.
+ }
+ var offset = 0;
+ var date = new Date(d[1], 0, 1);
+ if (d[3]) {
+ date.setMonth(d[3] - 1);
+ }
+ if (d[5]) {
+ date.setDate(d[5]);
+ }
+ if (d[7]) {
+ date.setHours(d[7]);
+ }
+ if (d[8]) {
+ date.setMinutes(d[8]);
+ }
+ if (d[0]) {
+ date.setSeconds(d[0]);
+ }
+ if (d[2]) {
+ date.setMilliseconds(Number("0." + d[2]));
+ }
+ if (d[4]) {
+ offset = (Number(d[6])) + Number(d[8]);
+ offset = ((d[5] == '-') ? 1 : -1);
+ }
+ return date;
+};
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/fi.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/fi.js
new file mode 100644
index 00000000..443c9103
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/fi.js
@@ -0,0 +1,10 @@
+Date.weekdays = $w("Ma Ti Ke To Pe La Su");
+Date.months = $w("Tammikuu Helmikuu Maaliskuu Huhtikuu Toukokuu Keskuu Heinkuu Elokuu Syyskuu Lokakuu Marraskuu Joulukuu" );
+
+Date.first_day_of_week = 1
+
+_translations = {
+ "OK": "OK",
+ "Now": "Nyt",
+ "Today": "Tnn"
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/hu.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/hu.js
new file mode 100644
index 00000000..6b36f701
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/hu.js
@@ -0,0 +1,10 @@
+Date.weekdays = $w("H K Sz Cs P Szo V");
+Date.months = $w("Január Február Március Április Május Június Július Augusztus Szeptember Október November December" );
+
+Date.first_day_of_week = 1
+
+_translations = {
+ "OK": "OK",
+ "Now": "Most",
+ "Today": "Ma"
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/jp.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/jp.js
new file mode 100644
index 00000000..7cca6fd5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/jp.js
@@ -0,0 +1,10 @@
+Date.weekdays = $w("一 二 三 四 五 六 七");
+Date.months = $w("一 二 三 四 五 六 七 八 九 十 十一 十二" );
+
+Date.first_day_of_week = 1
+
+_translations = {
+ "OK": "确定",
+ "Now": "现在",
+ "Today": "今天"
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/pl.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/pl.js
new file mode 100644
index 00000000..af1b78a1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/pl.js
@@ -0,0 +1,10 @@
+Date.weekdays = $w('P W Ś C P S N');
+Date.months = $w('Styczeń Luty Marzec Kwiecień Maj Czerwiec Lipiec Sierpień Wrzesień Październik Listopad Grudzień');
+
+Date.first_day_of_week = 1
+
+_translations = {
+ "OK": "OK",
+ "Now": "Teraz",
+ "Today": "Dziś"
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/blue.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/blue.css
new file mode 100644
index 00000000..31a5cbde
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/blue.css
@@ -0,0 +1,130 @@
+.calendar_date_select {
+ color:white;
+ border:#777 1px solid;
+ display:block;
+ width:195px;
+ z-index: 1000;
+}
+/* this is a fun ie6 hack to get drop downs to stay behind the popup window. This should always be just underneath .calendar_date_select */
+iframe.ie6_blocker {
+ position: absolute;
+ z-index: 999;
+}
+
+.calendar_date_select thead th {
+ font-weight:bold;
+ background-color: #000;
+ border-top:1px solid #777;
+ border-bottom:2px solid #334;
+ color: white !important;
+}
+
+.calendar_date_select .cds_buttons {
+ text-align:center;
+ padding:5px 0px;
+ background-color: #000055;
+}
+
+.calendar_date_select .cds_footer {
+ background-color: black;
+ padding:3px;
+ font-size:12px;
+ text-align:center;
+}
+
+.calendar_date_select table {
+ margin: 0px;
+ padding: 0px;
+}
+
+
+.calendar_date_select .cds_header {
+ background-color: #ccc;
+ border-bottom: 2px solid #aaa;
+ text-align:center;
+}
+
+.calendar_date_select .cds_header span {
+ font-size:15px;
+ color: black;
+ font-weight: bold;
+}
+
+.calendar_date_select select { font-size:11px;}
+
+.calendar_date_select .cds_header a:hover {
+ color: white;
+}
+.calendar_date_select .cds_header a {
+ width:22px;
+ height:20px;
+ text-decoration: none;
+ font-size:14px;
+ color:black !important;
+}
+
+.calendar_date_select .cds_header a.prev {
+ float:left;
+}
+
+.calendar_date_select .cds_header a.next {
+ float:right;
+}
+
+.calendar_date_select .cds_header a.close {
+ float:right;
+ display:none;
+}
+
+
+.calendar_date_select .cds_header select.month {
+ width:90px;
+}
+
+.calendar_date_select .cds_header select.year {
+ width:61px;
+}
+
+.calendar_date_select .cds_buttons a {
+ color: white;
+ font-size: 9px;
+}
+
+.calendar_date_select td {
+ background-color: #000066;
+ font-size:12px;
+ width: 24px;
+ height: 21px;
+ text-align:center;
+ vertical-align: middle;
+}
+.calendar_date_select td.weekend {
+ background-color: #00005a;
+}
+
+.calendar_date_select td div.other {
+ color: #4C5593;
+}
+
+.calendar_date_select tbody td {
+ border-bottom: 1px solid #000044;
+}
+.calendar_date_select td.selected {
+ background-color:white;
+ color:black;
+}
+
+.calendar_date_select td:hover {
+ background-color:#ccc;
+}
+
+.calendar_date_select td.disabled div {
+ color: #000044;
+}
+.calendar_date_select td.today {
+ border: 1px dashed blue;
+}
+
+.fieldWithErrors .calendar_date_select {
+ border: 2px solid red;
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/default.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/default.css
new file mode 100644
index 00000000..c7183838
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/default.css
@@ -0,0 +1,135 @@
+.calendar_date_select {
+ color:white;
+ border:#777 1px solid;
+ display:block;
+ width:195px;
+ z-index: 1000;
+}
+/* this is a fun ie6 hack to get drop downs to stay behind the popup window. This should always be just underneath .calendar_date_select */
+iframe.ie6_blocker {
+ position: absolute;
+ z-index: 999;
+}
+
+.calendar_date_select thead th {
+ font-weight:bold;
+ background-color: #aaa;
+ border-top:1px solid #777;
+ border-bottom:1px solid #777;
+ color: white !important;
+}
+
+.calendar_date_select .cds_buttons {
+ text-align:center;
+ padding:5px 0px;
+ background-color: #555;
+}
+
+.calendar_date_select .cds_footer {
+ background-color: black;
+ padding:3px;
+ font-size:12px;
+ text-align:center;
+}
+
+.calendar_date_select table {
+ margin: 0px;
+ padding: 0px;
+}
+
+
+.calendar_date_select .cds_header {
+ background-color: #ccc;
+ border-bottom: 2px solid #aaa;
+ text-align:center;
+}
+
+.calendar_date_select .cds_header span {
+ font-size:15px;
+ color: black;
+ font-weight: bold;
+}
+
+.calendar_date_select select { font-size:11px;}
+
+.calendar_date_select .cds_header a:hover {
+ color: white;
+}
+.calendar_date_select .cds_header a {
+ width:22px;
+ height:20px;
+ text-decoration: none;
+ font-size:14px;
+ color:black !important;
+}
+
+.calendar_date_select .cds_header a.prev {
+ float:left;
+}
+.calendar_date_select .cds_header a.next {
+ float:right;
+}
+
+.calendar_date_select .cds_header a.close {
+ float:right;
+ display:none;
+}
+
+.calendar_date_select .cds_header select.month {
+ width:90px;
+}
+
+.calendar_date_select .cds_header select.year {
+ width:61px;
+}
+.calendar_date_select .cds_buttons a {
+ color: white;
+ font-size: 9px;
+}
+
+.calendar_date_select td {
+ font-size:12px;
+ width: 24px;
+ height: 21px;
+ text-align:center;
+ vertical-align: middle;
+ background-color: #fff;
+}
+.calendar_date_select td.weekend {
+ background-color: #eee;
+ border-left:1px solid #ddd;
+ border-right:1px solid #ddd;
+}
+
+.calendar_date_select td div {
+ color: #000;
+}
+.calendar_date_select td div.other {
+ color: #ccc;
+}
+.calendar_date_select td.selected div {
+ color:white;
+}
+
+.calendar_date_select tbody td {
+ border-bottom: 1px solid #ddd;
+}
+.calendar_date_select td.selected {
+ background-color:#777;
+}
+
+.calendar_date_select td:hover {
+ background-color:#ccc;
+}
+
+.calendar_date_select td.today {
+ border: 1px dashed #999;
+}
+
+.calendar_date_select td.disabled div {
+ color: #e6e6e6;
+}
+
+.fieldWithErrors .calendar_date_select {
+ border: 2px solid red;
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/plain.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/plain.css
new file mode 100644
index 00000000..f5e57dd2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/plain.css
@@ -0,0 +1,128 @@
+.calendar_date_select {
+ border:#777 1px solid;
+ display:block;
+ width:195px;
+ z-index: 1000;
+ background-color:white;
+}
+/* this is a fun ie6 hack to get drop downs to stay behind the popup window. This should always be just underneath .calendar_date_select */
+iframe.ie6_blocker {
+ position: absolute;
+ z-index: 999;
+}
+
+.calendar_date_select thead th {
+ color: black !important;
+ font-weight:bold;
+}
+
+.calendar_date_select .cds_buttons {
+ text-align:center;
+ padding:5px 0px;
+}
+
+.calendar_date_select .cds_footer {
+ padding:3px;
+ font-size:10px;
+ text-align:center;
+}
+
+.calendar_date_select table {
+ margin: 0px;
+ padding: 0px;
+}
+
+
+.calendar_date_select .cds_header {
+ text-align:center;
+}
+
+.calendar_date_select .cds_header * {
+ border:0px;
+ background-color:white;
+}
+
+.calendar_date_select .cds_header span {
+ font-size:15px;
+ color: black;
+ font-weight: bold;
+}
+
+.calendar_date_select select { font-size:11px;}
+
+.calendar_date_select .cds_header a:hover {
+ color: white;
+}
+.calendar_date_select .cds_header a {
+ width:22px;
+ height:20px;
+ text-decoration: none;
+ font-size:14px;
+ color:black !important;
+}
+
+.calendar_date_select .cds_header a.prev {
+ float:left;
+}
+.calendar_date_select .cds_header a.next {
+ float:right;
+}
+.calendar_date_select .cds_header a.close {
+ float:right;
+ display:none;
+}
+
+.calendar_date_select .cds_header select.month {
+ width:90px;
+}
+
+.calendar_date_select .cds_header select.year {
+ width:61px;
+}
+
+.calendar_date_select .cds_buttons a {
+ color: black;
+ font-size: 9px;
+}
+.calendar_date_select td {
+ font-size:12px;
+ width: 24px;
+ height: 21px;
+ text-align:center;
+ vertical-align: middle;
+ background-color: #fff;
+}
+.calendar_date_select td.weekend {
+}
+
+.calendar_date_select td div {
+ color: #000;
+}
+.calendar_date_select td div.other {
+ color: #ccc;
+}
+.calendar_date_select td.selected div {
+ color:white;
+}
+
+.calendar_date_select tbody td {
+}
+.calendar_date_select td.selected {
+ background-color:#777;
+}
+
+.calendar_date_select td:hover {
+ background-color:#ccc;
+}
+
+.calendar_date_select td.today {
+ border: 1px dashed #999;
+}
+
+.calendar_date_select td.disabled div {
+ color: #e6e6e6;
+}
+
+.fieldWithErrors .calendar_date_select {
+ border: 2px solid red;
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/red.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/red.css
new file mode 100644
index 00000000..a2ff2f24
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/red.css
@@ -0,0 +1,135 @@
+.calendar_date_select {
+ color:white;
+ border:#777 1px solid;
+ display:block;
+ width:195px;
+ z-index: 1000;
+}
+/* this is a fun ie6 hack to get drop downs to stay behind the popup window. This should always be just underneath .calendar_date_select */
+iframe.ie6_blocker {
+ position: absolute;
+ z-index: 999;
+}
+
+.calendar_date_select thead th {
+ font-weight:bold;
+ background-color: #E7E8E8;
+ border-bottom:2px solid black;
+ color: black !important;
+}
+
+.calendar_date_select .cds_buttons {
+ text-align:center;
+ padding:5px 0px;
+ background-color: #5f0000;
+}
+
+.calendar_date_select .cds_footer {
+ background-color: black;
+ padding:3px;
+ text-align:center;
+}
+
+.calendar_date_select table {
+ margin: 0px;
+ padding: 0px;
+}
+
+
+.calendar_date_select .cds_header {
+ background-color: #ccc;
+ border-bottom: 2px solid #aaa;
+ text-align:center;
+}
+
+.calendar_date_select .cds_header span {
+ font-size:15px;
+ color: black;
+ font-weight: bold;
+}
+
+.calendar_date_select select { font-size:11px;}
+
+.calendar_date_select .cds_header a:hover {
+ color: white;
+}
+.calendar_date_select .cds_header a {
+ width:22px;
+ height:20px;
+ text-decoration: none;
+ font-size:14px;
+ color:black !important;
+}
+
+.calendar_date_select .cds_header a.prev {
+ float:left;
+}
+.calendar_date_select .cds_header a.next {
+ float:right;
+}
+
+.calendar_date_select .cds_header a.close {
+ float:right;
+ display:none;
+}
+
+.calendar_date_select .cds_header select.month {
+ width:90px;
+}
+
+.calendar_date_select .cds_header select.year {
+ width:61px;
+}
+
+.calendar_date_select .cds_buttons a {
+ color: white;
+ font-size: 9px;
+}
+
+
+.calendar_date_select td {
+ background-color: #660000;
+ font-size:12px;
+ width: 24px;
+ height: 21px;
+ text-align:center;
+ vertical-align: middle;
+}
+.calendar_date_select td.weekend {
+ background-color: #5a0000;
+}
+
+.calendar_date_select td div {
+ color:#fff;
+}
+.calendar_date_select td div.other {
+ color: #93554C;
+}
+.calendar_date_select td.selected div {
+ color:black;
+}
+
+
+.calendar_date_select tbody td {
+ border-bottom: 1px solid #550000;
+}
+.calendar_date_select tbody td.selected {
+ background-color:white;
+ color:black;
+}
+
+.calendar_date_select tbody td:hover {
+ background-color:#ccc;
+}
+
+.calendar_date_select tbody td.today {
+ border: 1px dashed red;
+}
+
+.calendar_date_select td.disabled div {
+ color: #440000;
+}
+
+.fieldWithErrors .calendar_date_select {
+ border: 2px solid red;
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/silver.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/silver.css
new file mode 100644
index 00000000..6e70cc68
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/silver.css
@@ -0,0 +1,133 @@
+.calendar_date_select {
+ color:white;
+ border:#777 1px solid;
+ display:block;
+ width:195px;
+ z-index: 1000;
+}
+/* this is a fun ie6 hack to get drop downs to stay behind the popup window. This should always be just underneath .calendar_date_select */
+iframe.ie6_blocker {
+ position: absolute;
+ z-index: 999;
+}
+
+.calendar_date_select thead th {
+ font-weight:bold;
+ background-color: #000;
+ border-top:1px solid #777;
+ border-bottom:2px solid #333;
+ color: white !important;
+}
+
+.calendar_date_select .cds_buttons {
+ text-align:center;
+ padding:5px 0px;
+ background-color: #555;
+}
+
+.calendar_date_select .cds_footer {
+ background-color: black;
+ padding:3px;
+ font-size:12px;
+ text-align:center;
+}
+
+.calendar_date_select table {
+ margin: 0px;
+ padding: 0px;
+}
+
+
+.calendar_date_select .cds_header {
+ background-color: #ccc;
+ border-bottom: 2px solid #aaa;
+ text-align:center;
+}
+
+.calendar_date_select .cds_header span {
+ font-size:15px;
+ color: black;
+ font-weight: bold;
+}
+
+.calendar_date_select select { font-size:11px;}
+
+.calendar_date_select .cds_header a:hover {
+ color: white;
+}
+.calendar_date_select .cds_header a {
+ width:22px;
+ height:20px;
+ text-decoration: none;
+ font-size:14px;
+ color:black !important;
+}
+
+.calendar_date_select .cds_header a.prev {
+ float:left;
+}
+.calendar_date_select .cds_header a.next {
+ float:right;
+}
+.calendar_date_select .cds_header a.close {
+ float:right;
+ display:none;
+}
+
+.calendar_date_select .cds_header select.month {
+ width:90px;
+}
+
+.calendar_date_select .cds_header select.year {
+ width:61px;
+}
+
+.calendar_date_select .cds_buttons a {
+ color: white;
+ font-size: 9px;
+}
+.calendar_date_select td {
+ font-size:12px;
+ width: 24px;
+ height: 21px;
+ text-align:center;
+ vertical-align: middle;
+ background-color: #666666;
+}
+.calendar_date_select td.weekend {
+ background-color: #606060;
+}
+
+.calendar_date_select td div {
+ color: #fff;
+}
+.calendar_date_select td div.other {
+ color: #888;
+}
+.calendar_date_select td.selected div {
+ color:black;
+}
+
+.calendar_date_select tbody td {
+ border-bottom: 1px solid #555;
+}
+.calendar_date_select td.selected {
+ background-color:white;
+}
+
+.calendar_date_select td:hover {
+ background-color:#ccc;
+}
+
+.calendar_date_select td.today {
+ border: 1px dashed #999;
+}
+
+.calendar_date_select td.disabled div {
+ color: #454545;
+}
+
+
+.fieldWithErrors .calendar_date_select {
+ border: 2px solid red;
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/ColReorder.min.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/ColReorder.min.js
new file mode 100644
index 00000000..111f4b81
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/ColReorder.min.js
@@ -0,0 +1,33 @@
+/*
+ * File: ColReorder.min.js
+ * Version: 1.0.8
+ * Author: Allan Jardine (www.sprymedia.co.uk)
+ *
+ * Copyright 2010-2012 Allan Jardine, all rights reserved.
+ *
+ * This source file is free software, under either the GPL v2 license or a
+ * BSD (3 point) style license, as supplied with this software.
+ *
+ * This source file is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details.
+ */
+(function(f,o,g){function m(a){for(var b=[],d=0,c=a.length;d<c;d++)b[a[d]]=d;return b}function j(a,b,d){b=a.splice(b,1)[0];a.splice(d,0,b)}function n(a,b,d){for(var c=[],e=0,f=a.childNodes.length;e<f;e++)1==a.childNodes[e].nodeType&&c.push(a.childNodes[e]);b=c[b];null!==d?a.insertBefore(b,c[d]):a.appendChild(b)}f.fn.dataTableExt.oApi.fnColReorder=function(a,b,d){var c,e,h,l,k=a.aoColumns.length,i;if(b!=d)if(0>b||b>=k)this.oApi._fnLog(a,1,"ColReorder 'from' index is out of bounds: "+b);else if(0>d||
+d>=k)this.oApi._fnLog(a,1,"ColReorder 'to' index is out of bounds: "+d);else{var g=[];c=0;for(e=k;c<e;c++)g[c]=c;j(g,b,d);g=m(g);c=0;for(e=a.aaSorting.length;c<e;c++)a.aaSorting[c][0]=g[a.aaSorting[c][0]];if(null!==a.aaSortingFixed){c=0;for(e=a.aaSortingFixed.length;c<e;c++)a.aaSortingFixed[c][0]=g[a.aaSortingFixed[c][0]]}c=0;for(e=k;c<e;c++){i=a.aoColumns[c];h=0;for(l=i.aDataSort.length;h<l;h++)i.aDataSort[h]=g[i.aDataSort[h]]}c=0;for(e=k;c<e;c++)i=a.aoColumns[c],"number"==typeof i.mData&&(i.mData=
+g[i.mData],i.fnGetData=a.oApi._fnGetObjectDataFn(i.mData),i.fnSetData=a.oApi._fnSetObjectDataFn(i.mData));if(a.aoColumns[b].bVisible){l=this.oApi._fnColumnIndexToVisible(a,b);i=null;for(c=d<b?d:d+1;null===i&&c<k;)i=this.oApi._fnColumnIndexToVisible(a,c),c++;h=a.nTHead.getElementsByTagName("tr");c=0;for(e=h.length;c<e;c++)n(h[c],l,i);if(null!==a.nTFoot){h=a.nTFoot.getElementsByTagName("tr");c=0;for(e=h.length;c<e;c++)n(h[c],l,i)}c=0;for(e=a.aoData.length;c<e;c++)null!==a.aoData[c].nTr&&n(a.aoData[c].nTr,
+l,i)}j(a.aoColumns,b,d);j(a.aoPreSearchCols,b,d);c=0;for(e=a.aoData.length;c<e;c++)f.isArray(a.aoData[c]._aData)&&j(a.aoData[c]._aData,b,d),j(a.aoData[c]._anHidden,b,d);c=0;for(e=a.aoHeader.length;c<e;c++)j(a.aoHeader[c],b,d);if(null!==a.aoFooter){c=0;for(e=a.aoFooter.length;c<e;c++)j(a.aoFooter[c],b,d)}c=0;for(e=k;c<e;c++)f(a.aoColumns[c].nTh).unbind("click"),this.oApi._fnSortAttachListener(a,a.aoColumns[c].nTh,c);f(a.oInstance).trigger("column-reorder",[a,{iFrom:b,iTo:d,aiInvertMapping:g}]);"undefined"!=
+typeof a.oInstance._oPluginFixedHeader&&a.oInstance._oPluginFixedHeader.fnUpdate()}};ColReorder=function(a,b){(!this.CLASS||"ColReorder"!=this.CLASS)&&alert("Warning: ColReorder must be initialised with the keyword 'new'");"undefined"==typeof b&&(b={});this.s={dt:null,init:b,fixed:0,dropCallback:null,mouse:{startX:-1,startY:-1,offsetX:-1,offsetY:-1,target:-1,targetIndex:-1,fromIndex:-1},aoTargets:[]};this.dom={drag:null,pointer:null};this.s.dt=a.oInstance.fnSettings();this._fnConstruct();a.oApi._fnCallbackReg(a,
+"aoDestroyCallback",jQuery.proxy(this._fnDestroy,this),"ColReorder");ColReorder.aoInstances.push(this);return this};ColReorder.prototype={fnReset:function(){for(var a=[],b=0,d=this.s.dt.aoColumns.length;b<d;b++)a.push(this.s.dt.aoColumns[b]._ColReorder_iOrigCol);this._fnOrderColumns(a)},_fnConstruct:function(){var a=this,b,d;"undefined"!=typeof this.s.init.iFixedColumns&&(this.s.fixed=this.s.init.iFixedColumns);"undefined"!=typeof this.s.init.fnReorderCallback&&(this.s.dropCallback=this.s.init.fnReorderCallback);
+b=0;for(d=this.s.dt.aoColumns.length;b<d;b++)b>this.s.fixed-1&&this._fnMouseListener(b,this.s.dt.aoColumns[b].nTh),this.s.dt.aoColumns[b]._ColReorder_iOrigCol=b;this.s.dt.oApi._fnCallbackReg(this.s.dt,"aoStateSaveParams",function(c,b){a._fnStateSave.call(a,b)},"ColReorder_State");var c=null;"undefined"!=typeof this.s.init.aiOrder&&(c=this.s.init.aiOrder.slice());this.s.dt.oLoadedState&&("undefined"!=typeof this.s.dt.oLoadedState.ColReorder&&this.s.dt.oLoadedState.ColReorder.length==this.s.dt.aoColumns.length)&&
+(c=this.s.dt.oLoadedState.ColReorder);if(c)if(a.s.dt._bInitComplete)b=m(c),a._fnOrderColumns.call(a,b);else{var e=!1;this.s.dt.aoDrawCallback.push({fn:function(){if(!a.s.dt._bInitComplete&&!e){e=true;var b=m(c);a._fnOrderColumns.call(a,b)}},sName:"ColReorder_Pre"})}},_fnOrderColumns:function(a){if(a.length!=this.s.dt.aoColumns.length)this.s.dt.oInstance.oApi._fnLog(this.s.dt,1,"ColReorder - array reorder does not match known number of columns. Skipping.");else{for(var b=0,d=a.length;b<d;b++){var c=
+f.inArray(b,a);b!=c&&(j(a,c,b),this.s.dt.oInstance.fnColReorder(c,b))}(""!==this.s.dt.oScroll.sX||""!==this.s.dt.oScroll.sY)&&this.s.dt.oInstance.fnAdjustColumnSizing();this.s.dt.oInstance.oApi._fnSaveState(this.s.dt)}},_fnStateSave:function(a){var b,d,c,e=this.s.dt;for(b=0;b<a.aaSorting.length;b++)a.aaSorting[b][0]=e.aoColumns[a.aaSorting[b][0]]._ColReorder_iOrigCol;aSearchCopy=f.extend(!0,[],a.aoSearchCols);a.ColReorder=[];b=0;for(d=e.aoColumns.length;b<d;b++)c=e.aoColumns[b]._ColReorder_iOrigCol,
+a.aoSearchCols[c]=aSearchCopy[b],a.abVisCols[c]=e.aoColumns[b].bVisible,a.ColReorder.push(c)},_fnMouseListener:function(a,b){var d=this;f(b).bind("mousedown.ColReorder",function(a){a.preventDefault();d._fnMouseDown.call(d,a,b)})},_fnMouseDown:function(a,b){var d=this,c=this.s.dt.aoColumns,e="TH"==a.target.nodeName?a.target:f(a.target).parents("TH")[0],e=f(e).offset();this.s.mouse.startX=a.pageX;this.s.mouse.startY=a.pageY;this.s.mouse.offsetX=a.pageX-e.left;this.s.mouse.offsetY=a.pageY-e.top;this.s.mouse.target=
+b;this.s.mouse.targetIndex=f("th",b.parentNode).index(b);this.s.mouse.fromIndex=this.s.dt.oInstance.oApi._fnVisibleToColumnIndex(this.s.dt,this.s.mouse.targetIndex);this.s.aoTargets.splice(0,this.s.aoTargets.length);this.s.aoTargets.push({x:f(this.s.dt.nTable).offset().left,to:0});for(var h=e=0,j=c.length;h<j;h++)h!=this.s.mouse.fromIndex&&e++,c[h].bVisible&&this.s.aoTargets.push({x:f(c[h].nTh).offset().left+f(c[h].nTh).outerWidth(),to:e});0!==this.s.fixed&&this.s.aoTargets.splice(0,this.s.fixed);
+f(g).bind("mousemove.ColReorder",function(a){d._fnMouseMove.call(d,a)});f(g).bind("mouseup.ColReorder",function(a){d._fnMouseUp.call(d,a)})},_fnMouseMove:function(a){if(null===this.dom.drag){if(5>Math.pow(Math.pow(a.pageX-this.s.mouse.startX,2)+Math.pow(a.pageY-this.s.mouse.startY,2),0.5))return;this._fnCreateDragNode()}this.dom.drag.style.left=a.pageX-this.s.mouse.offsetX+"px";this.dom.drag.style.top=a.pageY-this.s.mouse.offsetY+"px";for(var b=!1,d=1,c=this.s.aoTargets.length;d<c;d++)if(a.pageX<
+this.s.aoTargets[d-1].x+(this.s.aoTargets[d].x-this.s.aoTargets[d-1].x)/2){this.dom.pointer.style.left=this.s.aoTargets[d-1].x+"px";this.s.mouse.toIndex=this.s.aoTargets[d-1].to;b=!0;break}b||(this.dom.pointer.style.left=this.s.aoTargets[this.s.aoTargets.length-1].x+"px",this.s.mouse.toIndex=this.s.aoTargets[this.s.aoTargets.length-1].to)},_fnMouseUp:function(){f(g).unbind("mousemove.ColReorder");f(g).unbind("mouseup.ColReorder");null!==this.dom.drag&&(g.body.removeChild(this.dom.drag),g.body.removeChild(this.dom.pointer),
+this.dom.drag=null,this.dom.pointer=null,this.s.dt.oInstance.fnColReorder(this.s.mouse.fromIndex,this.s.mouse.toIndex),(""!==this.s.dt.oScroll.sX||""!==this.s.dt.oScroll.sY)&&this.s.dt.oInstance.fnAdjustColumnSizing(),null!==this.s.dropCallback&&this.s.dropCallback.call(this),this.s.dt.oInstance.oApi._fnSaveState(this.s.dt))},_fnCreateDragNode:function(){var a=this;this.dom.drag=f(this.s.dt.nTHead.parentNode).clone(!0)[0];for(this.dom.drag.className+=" DTCR_clonedTable";0<this.dom.drag.getElementsByTagName("caption").length;)this.dom.drag.removeChild(this.dom.drag.getElementsByTagName("caption")[0]);
+for(;0<this.dom.drag.getElementsByTagName("tbody").length;)this.dom.drag.removeChild(this.dom.drag.getElementsByTagName("tbody")[0]);for(;0<this.dom.drag.getElementsByTagName("tfoot").length;)this.dom.drag.removeChild(this.dom.drag.getElementsByTagName("tfoot")[0]);f("thead tr:eq(0)",this.dom.drag).each(function(){f("th",this).eq(a.s.mouse.targetIndex).siblings().remove()});f("tr",this.dom.drag).height(f("tr:eq(0)",a.s.dt.nTHead).height());f("thead tr:gt(0)",this.dom.drag).remove();f("thead th:eq(0)",
+this.dom.drag).each(function(){this.style.width=f("th:eq("+a.s.mouse.targetIndex+")",a.s.dt.nTHead).width()+"px"});this.dom.drag.style.position="absolute";this.dom.drag.style.top="0px";this.dom.drag.style.left="0px";this.dom.drag.style.width=f("th:eq("+a.s.mouse.targetIndex+")",a.s.dt.nTHead).outerWidth()+"px";this.dom.pointer=g.createElement("div");this.dom.pointer.className="DTCR_pointer";this.dom.pointer.style.position="absolute";""===this.s.dt.oScroll.sX&&""===this.s.dt.oScroll.sY?(this.dom.pointer.style.top=
+f(this.s.dt.nTable).offset().top+"px",this.dom.pointer.style.height=f(this.s.dt.nTable).height()+"px"):(this.dom.pointer.style.top=f("div.dataTables_scroll",this.s.dt.nTableWrapper).offset().top+"px",this.dom.pointer.style.height=f("div.dataTables_scroll",this.s.dt.nTableWrapper).height()+"px");g.body.appendChild(this.dom.pointer);g.body.appendChild(this.dom.drag)},_fnDestroy:function(){for(var a=0,b=ColReorder.aoInstances.length;a<b;a++)if(ColReorder.aoInstances[a]===this){ColReorder.aoInstances.splice(a,
+1);break}f(this.s.dt.nTHead).find("*").unbind(".ColReorder");this.s=this.s.dt.oInstance._oPluginColReorder=null}};ColReorder.aoInstances=[];ColReorder.fnReset=function(a){for(var b=0,d=ColReorder.aoInstances.length;b<d;b++)ColReorder.aoInstances[b].s.dt.oInstance==a&&ColReorder.aoInstances[b].fnReset()};ColReorder.prototype.CLASS="ColReorder";ColReorder.VERSION="1.0.8";ColReorder.prototype.VERSION=ColReorder.VERSION;"function"==typeof f.fn.dataTable&&"function"==typeof f.fn.dataTableExt.fnVersionCheck&&
+f.fn.dataTableExt.fnVersionCheck("1.9.3")?f.fn.dataTableExt.aoFeatures.push({fnInit:function(a){var b=a.oInstance;"undefined"==typeof b._oPluginColReorder?b._oPluginColReorder=new ColReorder(a,"undefined"!=typeof a.oInit.oColReorder?a.oInit.oColReorder:{}):b.oApi._fnLog(a,1,"ColReorder attempted to initialise twice. Ignoring second");return null},cFeature:"R",sFeature:"ColReorder"}):alert("Warning: ColReorder requires DataTables 1.9.3 or greater - www.datatables.net/download")})(jQuery,window,document);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/css/ColReorder.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/css/ColReorder.css
new file mode 100644
index 00000000..9c597e34
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/css/ColReorder.css
@@ -0,0 +1,21 @@
+/*
+ * Namespace DTCR - "DataTables ColReorder" plug-in
+ */
+
+table.DTCR_clonedTable {
+ background-color: white;
+ z-index: 202;
+}
+
+div.DTCR_pointer {
+ width: 1px;
+ background-color: #0259C4;
+ z-index: 201;
+}
+
+body.alt div.DTCR_pointer {
+ margin-top: -15px;
+ margin-left: -9px;
+ width: 18px;
+ background: url('../images/insert.png') no-repeat top left;
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/css/jquery.dataTables.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/css/jquery.dataTables.css
new file mode 100644
index 00000000..7da7faec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/css/jquery.dataTables.css
@@ -0,0 +1,221 @@
+
+/*
+ * Table
+ */
+table.dataTable {
+ margin: 0 auto;
+ clear: both;
+ width: 100%;
+}
+
+table.dataTable thead th {
+ padding: 3px 18px 3px 10px;
+ border-bottom: 1px solid black;
+ font-weight: bold;
+ cursor: pointer;
+ *cursor: hand;
+}
+
+table.dataTable tfoot th {
+ padding: 3px 18px 3px 10px;
+ border-top: 1px solid black;
+ font-weight: bold;
+}
+
+table.dataTable td {
+ padding: 3px 10px;
+}
+
+table.dataTable td.center,
+table.dataTable td.dataTables_empty {
+ text-align: center;
+}
+
+table.dataTable tr.odd { background-color: #E2E4FF; }
+table.dataTable tr.even { background-color: white; }
+
+table.dataTable tr.odd td.sorting_1 { background-color: #D3D6FF; }
+table.dataTable tr.odd td.sorting_2 { background-color: #DADCFF; }
+table.dataTable tr.odd td.sorting_3 { background-color: #E0E2FF; }
+table.dataTable tr.even td.sorting_1 { background-color: #EAEBFF; }
+table.dataTable tr.even td.sorting_2 { background-color: #F2F3FF; }
+table.dataTable tr.even td.sorting_3 { background-color: #F9F9FF; }
+
+
+/*
+ * Table wrapper
+ */
+.dataTables_wrapper {
+ position: relative;
+ clear: both;
+ *zoom: 1;
+}
+
+
+/*
+ * Page length menu
+ */
+.dataTables_length {
+ float: left;
+}
+
+
+/*
+ * Filter
+ */
+.dataTables_filter {
+ float: right;
+ text-align: right;
+}
+
+
+/*
+ * Table information
+ */
+.dataTables_info {
+ clear: both;
+ float: left;
+}
+
+
+/*
+ * Pagination
+ */
+.dataTables_paginate {
+ float: right;
+ text-align: right;
+}
+
+/* Two button pagination - previous / next */
+.paginate_disabled_previous,
+.paginate_enabled_previous,
+.paginate_disabled_next,
+.paginate_enabled_next {
+ height: 19px;
+ float: left;
+ cursor: pointer;
+ *cursor: hand;
+ color: #111 !important;
+}
+.paginate_disabled_previous:hover,
+.paginate_enabled_previous:hover,
+.paginate_disabled_next:hover,
+.paginate_enabled_next:hover {
+ text-decoration: none !important;
+}
+.paginate_disabled_previous:active,
+.paginate_enabled_previous:active,
+.paginate_disabled_next:active,
+.paginate_enabled_next:active {
+ outline: none;
+}
+
+.paginate_disabled_previous,
+.paginate_disabled_next {
+ color: #666 !important;
+}
+.paginate_disabled_previous,
+.paginate_enabled_previous {
+ padding-left: 23px;
+}
+.paginate_disabled_next,
+.paginate_enabled_next {
+ padding-right: 23px;
+ margin-left: 10px;
+}
+
+.paginate_enabled_previous { background: url('../images/back_enabled.png') no-repeat top left; }
+.paginate_enabled_previous:hover { background: url('../images/back_enabled_hover.png') no-repeat top left; }
+.paginate_disabled_previous { background: url('../images/back_disabled.png') no-repeat top left; }
+
+.paginate_enabled_next { background: url('../images/forward_enabled.png') no-repeat top right; }
+.paginate_enabled_next:hover { background: url('../images/forward_enabled_hover.png') no-repeat top right; }
+.paginate_disabled_next { background: url('../images/forward_disabled.png') no-repeat top right; }
+
+/* Full number pagination */
+.paging_full_numbers {
+ height: 22px;
+ line-height: 22px;
+}
+.paging_full_numbers a:active {
+ outline: none
+}
+.paging_full_numbers a:hover {
+ text-decoration: none;
+}
+
+.paging_full_numbers a.paginate_button,
+.paging_full_numbers a.paginate_active {
+ border: 1px solid #aaa;
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
+ padding: 2px 5px;
+ margin: 0 3px;
+ cursor: pointer;
+ *cursor: hand;
+ color: #333 !important;
+}
+
+.paging_full_numbers a.paginate_button {
+ background-color: #ddd;
+}
+
+.paging_full_numbers a.paginate_button:hover {
+ background-color: #ccc;
+ text-decoration: none !important;
+}
+
+.paging_full_numbers a.paginate_active {
+ background-color: #99B3FF;
+}
+
+
+/*
+ * Processing indicator
+ */
+.dataTables_processing {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ width: 250px;
+ height: 30px;
+ margin-left: -125px;
+ margin-top: -15px;
+ padding: 14px 0 2px 0;
+ border: 1px solid #ddd;
+ text-align: center;
+ color: #999;
+ font-size: 14px;
+ background-color: white;
+}
+
+
+/*
+ * Sorting
+ */
+.sorting { background: url('../images/sort_both.png') no-repeat center right; }
+.sorting_asc { background: url('../images/sort_asc.png') no-repeat center right; }
+.sorting_desc { background: url('../images/sort_desc.png') no-repeat center right; }
+
+.sorting_asc_disabled { background: url('../images/sort_asc_disabled.png') no-repeat center right; }
+.sorting_desc_disabled { background: url('../images/sort_desc_disabled.png') no-repeat center right; }
+
+table.dataTable thead th:active,
+table.dataTable thead td:active {
+ outline: none;
+}
+
+
+/*
+ * Scrolling
+ */
+.dataTables_scroll {
+ clear: both;
+}
+
+.dataTables_scrollBody {
+ *margin-top: -1px;
+ -webkit-overflow-scrolling: touch;
+}
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/back_disabled.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/back_disabled.png
new file mode 100644
index 00000000..881de797
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/back_disabled.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/back_enabled.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/back_enabled.png
new file mode 100644
index 00000000..c608682b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/back_enabled.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/back_enabled_hover.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/back_enabled_hover.png
new file mode 100644
index 00000000..d300f106
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/back_enabled_hover.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/forward_disabled.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/forward_disabled.png
new file mode 100644
index 00000000..6a6ded7d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/forward_disabled.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/forward_enabled.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/forward_enabled.png
new file mode 100644
index 00000000..a4e6b538
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/forward_enabled.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/forward_enabled_hover.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/forward_enabled_hover.png
new file mode 100644
index 00000000..fc46c5eb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/forward_enabled_hover.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/insert.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/insert.png
new file mode 100644
index 00000000..15d5522d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/insert.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_asc.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_asc.png
new file mode 100644
index 00000000..a88d7975
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_asc.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_asc_disabled.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_asc_disabled.png
new file mode 100644
index 00000000..4e144cf0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_asc_disabled.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_both.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_both.png
new file mode 100644
index 00000000..18670406
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_both.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_desc.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_desc.png
new file mode 100644
index 00000000..def071ed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_desc.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_desc_disabled.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_desc_disabled.png
new file mode 100644
index 00000000..7824973c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/sort_desc_disabled.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/unchecked.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/unchecked.gif
new file mode 100644
index 00000000..06ecaba1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/images/unchecked.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/jquery.dataTables.columnFilter.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/jquery.dataTables.columnFilter.js
new file mode 100644
index 00000000..cc0cd690
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/jquery.dataTables.columnFilter.js
@@ -0,0 +1,365 @@
+/*
+* File: jquery.dataTables.columnFilter.js
+* Version: 0.9.0
+* Author: Jovan Popovic
+*
+* Copyright 2011 Jovan Popovic, all rights reserved.
+*
+* This source file is free software, under either the GPL v2 license or a
+* BSD style license, as supplied with this software.
+*
+* This source file is distributed in the hope that it will be useful, but
+* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+* or FITNESS FOR A PARTICULAR PURPOSE.
+*
+* Parameters:
+* @sPlaceHolder String Place where inline filtering function should be place ("tfoot", "thead"). Default is "tfoot"
+* @sRangeSeparator String Separatot that will be used when range values are sent to the server-side. Default value is "~".
+* @iFilteringDelay int TODO: Delay that will be set between the filtering requests. Default is 250.
+* @sRangeFormat string Default format of the From ... to ... range inputs. Default is From {from} to {to}
+* @aoColumns Array Array of the filter settings that will be applied on the columns
+
+http://www.datatables.net/plug-ins/filtering
+
+*/
+(function ($) {
+
+
+
+
+
+
+ var asInitVals, i, label, th;
+
+ var sTableId = "table";
+ var sRangeFormat = "From {from} to {to}";
+ //Array of the functions that will override sSearch_ parameters
+ var afnSearch_ = new Array();
+ var aiCustomSearch_Indexes = new Array();
+
+ var oFunctionTimeout = null;
+
+
+ function fnCreateInput(regex, smart, bIsNumber) {
+ var sCSSClass = "text_filter";
+ if (bIsNumber)
+ sCSSClass = "number_filter";
+ var input = $('<input type="text" class="search_init ' + sCSSClass + '" value="' + label + '"/>');
+ th.html(input);
+ if (bIsNumber)
+ th.wrapInner('<span class="filter_column filter_number" />');
+ else
+ th.wrapInner('<span class="filter_column filter_text" />');
+ asInitVals[i] = label;
+ var index = i;
+
+ if (bIsNumber && !oTable.fnSettings().oFeatures.bServerSide) {
+ input.keyup(function () {
+ /* Filter on the column all numbers that starts with the entered value */
+ oTable.fnFilter('^' + this.value, index, true, false);
+ });
+ } else {
+ input.keyup(function () {
+ /* Filter on the column (the index) of this element */
+ oTable.fnFilter(this.value, index, regex, smart);
+ });
+ }
+
+ input.focus(function () {
+ if ($(this).hasClass("search_init")) {
+ $(this).removeClass("search_init");
+ this.value = "";
+ }
+ });
+ input.blur(function () {
+ if (this.value == "") {
+ $(this).addClass("search_init");
+ this.value = asInitVals[index];
+ }
+ });
+ }
+
+ function fnCreateRangeInput() {
+
+ th.html(_fnRangeLabelPart(0));
+ var sFromId = sTableId + 'range_from_' + i;
+ var from = $('<input type="text" class="number_range_filter" id="' + sFromId + '" rel="' + i + '"/>');
+ th.append(from);
+ th.append(_fnRangeLabelPart(1));
+ var sToId = sTableId + 'range_to_' + i;
+ var to = $('<input type="text" class="number_range_filter" id="' + sToId + '" rel="' + i + '"/>');
+ th.append(to);
+ th.append(_fnRangeLabelPart(2));
+ th.wrapInner('<span class="filterColumn filter_number_range" />');
+ var index = i;
+ aiCustomSearch_Indexes.push(i);
+
+
+
+ //------------start range filtering function
+
+
+ /* Custom filtering function which will filter data in column four between two values
+ * Author: Allan Jardine, Modified by Jovan Popovic
+ */
+ $.fn.dataTableExt.afnFiltering.push(
+ function (oSettings, aData, iDataIndex) {
+ var iMin = document.getElementById(sFromId).value * 1;
+ var iMax = document.getElementById(sToId).value * 1;
+ var iValue = aData[index] == "-" ? 0 : aData[index] * 1;
+ if (iMin == "" && iMax == "") {
+ return true;
+ }
+ else if (iMin == "" && iValue < iMax) {
+ return true;
+ }
+ else if (iMin < iValue && "" == iMax) {
+ return true;
+ }
+ else if (iMin < iValue && iValue < iMax) {
+ return true;
+ }
+ return false;
+ }
+ );
+ //------------end range filtering function
+
+
+
+ $('#' + sFromId + ',#' + sToId, th).keyup(function () {
+
+ var iMin = document.getElementById(sFromId).value * 1;
+ var iMax = document.getElementById(sToId).value * 1;
+ if (iMin != 0 && iMax != 0 && iMin > iMax)
+ return;
+
+ oTable.fnDraw();
+
+ });
+
+
+ }
+
+
+ function fnCreateDateRangeInput() {
+
+ th.html(_fnRangeLabelPart(0));
+ var sFromId = sTableId + 'range_from_' + i;
+ var from = $('<input type="text" class="date_range_filter" id="' + sFromId + '" rel="' + i + '"/>');
+ from.datepicker();
+ th.append(from);
+ th.append(_fnRangeLabelPart(1));
+ var sToId = sTableId + 'range_to_' + i;
+ var to = $('<input type="text" class="date_range_filter" id="' + sToId + '" rel="' + i + '"/>');
+ th.append(to);
+ th.append(_fnRangeLabelPart(2));
+ th.wrapInner('<span class="filterColumn filter_date_range" />');
+ to.datepicker();
+ var index = i;
+ aiCustomSearch_Indexes.push(i);
+
+
+ //------------start date range filtering function
+
+ $.fn.dataTableExt.afnFiltering.push(
+ function (oSettings, aData, iDataIndex) {
+ var dStartDate = from.datepicker("getDate");
+
+ var dEndDate = to.datepicker("getDate");
+
+ var dCellDate = $.datepicker.parseDate($.datepicker.regional[""].dateFormat, aData[index]);
+
+ if (dCellDate == null)
+ return false;
+
+ if (dStartDate == null && dEndDate == null) {
+ return true;
+ }
+ else if (dStartDate == null && dCellDate < dEndDate) {
+ return true;
+ }
+ else if (dStartDate < dCellDate && dEndDate == null) {
+ return true;
+ }
+ else if (dStartDate < dCellDate && dCellDate < dEndDate) {
+ return true;
+ }
+ return false;
+ }
+ );
+ //------------end date range filtering function
+
+ $('#' + sFromId + ',#' + sToId, th).change(function () {
+ oTable.fnDraw();
+ });
+
+
+ }
+
+
+ function fnCreateSelect(aData) {
+ var index = i;
+ var r = '<select class="search_init select_filter"><option value="" class="search_init">' + label + '</option>', j, iLen = aData.length;
+
+ for (j = 0; j < iLen; j++) {
+ r += '<option value="' + aData[j] + '">' + aData[j] + '</option>';
+ }
+ var select = $(r + '</select>');
+ th.html(select);
+ th.wrapInner('<span class="filterColumn filter_select" />');
+ select.change(function () {
+ //var val = $(this).val();
+ if ($(this).val() != "") {
+ $(this).removeClass("search_init");
+ } else {
+ $(this).addClass("search_init");
+ }
+ oTable.fnFilter($(this).val(), index);
+ });
+ }
+
+ function _fnRangeLabelPart(iPlace){
+ switch(iPlace){
+ case 0:
+ return sRangeFormat.substring(0, sRangeFormat.indexOf("{from}"));
+ case 1:
+ return sRangeFormat.substring(sRangeFormat.indexOf("{from}") + 6, sRangeFormat.indexOf("{to}"));
+ default:
+ return sRangeFormat.substring(sRangeFormat.indexOf("{to}") + 4);
+ }
+ }
+
+
+ $.fn.columnFilter = function (options) {
+
+ oTable = this;
+
+ var defaults = {
+ sPlaceHolder: "foot",
+ sRangeSeparator: "~",
+ iFilteringDelay: 500,
+ aoColumns: null,
+ sRangeFormat: "From {from} to {to}"
+
+ };
+
+ properties = $.extend(defaults, options);
+
+ return this.each(function () {
+
+ asInitVals = new Array();
+ var sFilterRow = "tfoot tr";
+ if (properties.sPlaceHolder == "head:after") {
+ sFilterRow = "thead tr:last";
+ } else if (properties.sPlaceHolder == "head:before") {
+ var tr = $("thead tr:last").detach();
+ tr.prependTo("thead");
+ sFilterRow = "thead tr:first";
+ }
+
+ $(sFilterRow + " th", oTable).each(function (index) {
+ i = index;
+ var aoColumn = { type: "text",
+ bRegex: false,
+ bSmart: true
+ };
+ if (properties.aoColumns != null) {
+ if (properties.aoColumns.length < i || properties.aoColumns[i] == null)
+ return;
+ aoColumn = properties.aoColumns[i];
+ }
+ label = $(this).text(); //"Search by " + $(this).text();
+ th = $($(this)[0]);
+ if (aoColumn != null) {
+ if (aoColumn.sRangeFormat != null)
+ sRangeFormat = aoColumn.sRangeFormat;
+ else
+ sRangeFormat = properties.sRangeFormat
+ switch (aoColumn.type) {
+ case "number":
+ fnCreateInput(true, false, true);
+ break;
+ case "text":
+ bRegex = (aoColumn.bRegex == null ? false : aoColumn.bRegex);
+ bSmart = (aoColumn.bSmart == null ? false : aoColumn.bSmart);
+ fnCreateInput(bRegex, bSmart, false);
+ break;
+ case "select":
+ fnCreateSelect(aoColumn.values);
+ break;
+ case "number-range":
+ fnCreateRangeInput();
+ break;
+ case "date-range":
+ fnCreateDateRangeInput();
+
+ break;
+ default:
+ break;
+
+ }
+ }
+ });
+
+ for (j = 0; j < aiCustomSearch_Indexes.length; j++) {
+ var index = aiCustomSearch_Indexes[j];
+ var fnSearch_ = function () {
+ return $("#range_from_" + index).val() + properties.sRangeSeparator + $("#range_to_" + index).val()
+ }
+ afnSearch_.push(fnSearch_);
+ }
+
+ if (oTable.fnSettings().oFeatures.bServerSide) {
+
+ var fnServerDataOriginal = oTable.fnSettings().fnServerData;
+
+ oTable.fnSettings().fnServerData = function (sSource, aoData, fnCallback) {
+
+ for (j = 0; j < aiCustomSearch_Indexes.length; j++) {
+ var index = aiCustomSearch_Indexes[j];
+
+ for (k = 0; k < aoData.length; k++) {
+ if (aoData[k].name == "sSearch_" + index)
+ aoData[k].value = afnSearch_[j]();
+ }
+ }
+ aoData.push({ "name": "sRangeSeparator", "value": properties.sRangeSeparator });
+
+ if (fnServerDataOriginal != null) {
+ fnServerDataOriginal(sSource, aoData, fnCallback);
+ }
+ else {
+ $.getJSON(sSource, aoData, function (json) {
+ fnCallback(json)
+ });
+ }
+
+ /*
+ if (fnServerDataOriginal != null) {
+ if (properties.iDelay != 0) {
+ if (oFunctionTimeout != null)
+ window.clearTimeout(oFunctionTimeout);
+ oFunctionTimeout = window.setTimeout(function () {
+ fnServerDataOriginal(sSource, aoData, fnCallback);
+ }, properties.iDelay);
+ } else {
+ fnServerDataOriginal(sSource, aoData, fnCallback);
+ }
+ }
+ else
+ $.getJSON(sSource, aoData, function (json) {
+ fnCallback(json)
+ });
+ */
+ };
+
+ }
+
+ });
+
+ };
+
+
+
+
+})(jQuery); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/jquery.dataTables.min.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/jquery.dataTables.min.js
new file mode 100644
index 00000000..02694a4a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-dataTables/jquery.dataTables.min.js
@@ -0,0 +1,155 @@
+/*
+ * File: jquery.dataTables.min.js
+ * Version: 1.9.4
+ * Author: Allan Jardine (www.sprymedia.co.uk)
+ * Info: www.datatables.net
+ *
+ * Copyright 2008-2012 Allan Jardine, all rights reserved.
+ *
+ * This source file is free software, under either the GPL v2 license or a
+ * BSD style license, available at:
+ * http://datatables.net/license_gpl2
+ * http://datatables.net/license_bsd
+ *
+ * This source file is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details.
+ */
+(function(X,l,n){var L=function(h){var j=function(e){function o(a,b){var c=j.defaults.columns,d=a.aoColumns.length,c=h.extend({},j.models.oColumn,c,{sSortingClass:a.oClasses.sSortable,sSortingClassJUI:a.oClasses.sSortJUI,nTh:b?b:l.createElement("th"),sTitle:c.sTitle?c.sTitle:b?b.innerHTML:"",aDataSort:c.aDataSort?c.aDataSort:[d],mData:c.mData?c.oDefaults:d});a.aoColumns.push(c);if(a.aoPreSearchCols[d]===n||null===a.aoPreSearchCols[d])a.aoPreSearchCols[d]=h.extend({},j.models.oSearch);else if(c=a.aoPreSearchCols[d],
+c.bRegex===n&&(c.bRegex=!0),c.bSmart===n&&(c.bSmart=!0),c.bCaseInsensitive===n)c.bCaseInsensitive=!0;m(a,d,null)}function m(a,b,c){var d=a.aoColumns[b];c!==n&&null!==c&&(c.mDataProp&&!c.mData&&(c.mData=c.mDataProp),c.sType!==n&&(d.sType=c.sType,d._bAutoType=!1),h.extend(d,c),p(d,c,"sWidth","sWidthOrig"),c.iDataSort!==n&&(d.aDataSort=[c.iDataSort]),p(d,c,"aDataSort"));var i=d.mRender?Q(d.mRender):null,f=Q(d.mData);d.fnGetData=function(a,b){var c=f(a,b);return d.mRender&&b&&""!==b?i(c,b,a):c};d.fnSetData=
+L(d.mData);a.oFeatures.bSort||(d.bSortable=!1);!d.bSortable||-1==h.inArray("asc",d.asSorting)&&-1==h.inArray("desc",d.asSorting)?(d.sSortingClass=a.oClasses.sSortableNone,d.sSortingClassJUI=""):-1==h.inArray("asc",d.asSorting)&&-1==h.inArray("desc",d.asSorting)?(d.sSortingClass=a.oClasses.sSortable,d.sSortingClassJUI=a.oClasses.sSortJUI):-1!=h.inArray("asc",d.asSorting)&&-1==h.inArray("desc",d.asSorting)?(d.sSortingClass=a.oClasses.sSortableAsc,d.sSortingClassJUI=a.oClasses.sSortJUIAscAllowed):-1==
+h.inArray("asc",d.asSorting)&&-1!=h.inArray("desc",d.asSorting)&&(d.sSortingClass=a.oClasses.sSortableDesc,d.sSortingClassJUI=a.oClasses.sSortJUIDescAllowed)}function k(a){if(!1===a.oFeatures.bAutoWidth)return!1;da(a);for(var b=0,c=a.aoColumns.length;b<c;b++)a.aoColumns[b].nTh.style.width=a.aoColumns[b].sWidth}function G(a,b){var c=r(a,"bVisible");return"number"===typeof c[b]?c[b]:null}function R(a,b){var c=r(a,"bVisible"),c=h.inArray(b,c);return-1!==c?c:null}function t(a){return r(a,"bVisible").length}
+function r(a,b){var c=[];h.map(a.aoColumns,function(a,i){a[b]&&c.push(i)});return c}function B(a){for(var b=j.ext.aTypes,c=b.length,d=0;d<c;d++){var i=b[d](a);if(null!==i)return i}return"string"}function u(a,b){for(var c=b.split(","),d=[],i=0,f=a.aoColumns.length;i<f;i++)for(var g=0;g<f;g++)if(a.aoColumns[i].sName==c[g]){d.push(g);break}return d}function M(a){for(var b="",c=0,d=a.aoColumns.length;c<d;c++)b+=a.aoColumns[c].sName+",";return b.length==d?"":b.slice(0,-1)}function ta(a,b,c,d){var i,f,
+g,e,w;if(b)for(i=b.length-1;0<=i;i--){var j=b[i].aTargets;h.isArray(j)||D(a,1,"aTargets must be an array of targets, not a "+typeof j);f=0;for(g=j.length;f<g;f++)if("number"===typeof j[f]&&0<=j[f]){for(;a.aoColumns.length<=j[f];)o(a);d(j[f],b[i])}else if("number"===typeof j[f]&&0>j[f])d(a.aoColumns.length+j[f],b[i]);else if("string"===typeof j[f]){e=0;for(w=a.aoColumns.length;e<w;e++)("_all"==j[f]||h(a.aoColumns[e].nTh).hasClass(j[f]))&&d(e,b[i])}}if(c){i=0;for(a=c.length;i<a;i++)d(i,c[i])}}function H(a,
+b){var c;c=h.isArray(b)?b.slice():h.extend(!0,{},b);var d=a.aoData.length,i=h.extend(!0,{},j.models.oRow);i._aData=c;a.aoData.push(i);for(var f,i=0,g=a.aoColumns.length;i<g;i++)c=a.aoColumns[i],"function"===typeof c.fnRender&&c.bUseRendered&&null!==c.mData?F(a,d,i,S(a,d,i)):F(a,d,i,v(a,d,i)),c._bAutoType&&"string"!=c.sType&&(f=v(a,d,i,"type"),null!==f&&""!==f&&(f=B(f),null===c.sType?c.sType=f:c.sType!=f&&"html"!=c.sType&&(c.sType="string")));a.aiDisplayMaster.push(d);a.oFeatures.bDeferRender||ea(a,
+d);return d}function ua(a){var b,c,d,i,f,g,e;if(a.bDeferLoading||null===a.sAjaxSource)for(b=a.nTBody.firstChild;b;){if("TR"==b.nodeName.toUpperCase()){c=a.aoData.length;b._DT_RowIndex=c;a.aoData.push(h.extend(!0,{},j.models.oRow,{nTr:b}));a.aiDisplayMaster.push(c);f=b.firstChild;for(d=0;f;){g=f.nodeName.toUpperCase();if("TD"==g||"TH"==g)F(a,c,d,h.trim(f.innerHTML)),d++;f=f.nextSibling}}b=b.nextSibling}i=T(a);d=[];b=0;for(c=i.length;b<c;b++)for(f=i[b].firstChild;f;)g=f.nodeName.toUpperCase(),("TD"==
+g||"TH"==g)&&d.push(f),f=f.nextSibling;c=0;for(i=a.aoColumns.length;c<i;c++){e=a.aoColumns[c];null===e.sTitle&&(e.sTitle=e.nTh.innerHTML);var w=e._bAutoType,o="function"===typeof e.fnRender,k=null!==e.sClass,n=e.bVisible,m,p;if(w||o||k||!n){g=0;for(b=a.aoData.length;g<b;g++)f=a.aoData[g],m=d[g*i+c],w&&"string"!=e.sType&&(p=v(a,g,c,"type"),""!==p&&(p=B(p),null===e.sType?e.sType=p:e.sType!=p&&"html"!=e.sType&&(e.sType="string"))),e.mRender?m.innerHTML=v(a,g,c,"display"):e.mData!==c&&(m.innerHTML=v(a,
+g,c,"display")),o&&(p=S(a,g,c),m.innerHTML=p,e.bUseRendered&&F(a,g,c,p)),k&&(m.className+=" "+e.sClass),n?f._anHidden[c]=null:(f._anHidden[c]=m,m.parentNode.removeChild(m)),e.fnCreatedCell&&e.fnCreatedCell.call(a.oInstance,m,v(a,g,c,"display"),f._aData,g,c)}}if(0!==a.aoRowCreatedCallback.length){b=0;for(c=a.aoData.length;b<c;b++)f=a.aoData[b],A(a,"aoRowCreatedCallback",null,[f.nTr,f._aData,b])}}function I(a,b){return b._DT_RowIndex!==n?b._DT_RowIndex:null}function fa(a,b,c){for(var b=J(a,b),d=0,a=
+a.aoColumns.length;d<a;d++)if(b[d]===c)return d;return-1}function Y(a,b,c,d){for(var i=[],f=0,g=d.length;f<g;f++)i.push(v(a,b,d[f],c));return i}function v(a,b,c,d){var i=a.aoColumns[c];if((c=i.fnGetData(a.aoData[b]._aData,d))===n)return a.iDrawError!=a.iDraw&&null===i.sDefaultContent&&(D(a,0,"Requested unknown parameter "+("function"==typeof i.mData?"{mData function}":"'"+i.mData+"'")+" from the data source for row "+b),a.iDrawError=a.iDraw),i.sDefaultContent;if(null===c&&null!==i.sDefaultContent)c=
+i.sDefaultContent;else if("function"===typeof c)return c();return"display"==d&&null===c?"":c}function F(a,b,c,d){a.aoColumns[c].fnSetData(a.aoData[b]._aData,d)}function Q(a){if(null===a)return function(){return null};if("function"===typeof a)return function(b,d,i){return a(b,d,i)};if("string"===typeof a&&(-1!==a.indexOf(".")||-1!==a.indexOf("["))){var b=function(a,d,i){var f=i.split("."),g;if(""!==i){var e=0;for(g=f.length;e<g;e++){if(i=f[e].match(U)){f[e]=f[e].replace(U,"");""!==f[e]&&(a=a[f[e]]);
+g=[];f.splice(0,e+1);for(var f=f.join("."),e=0,h=a.length;e<h;e++)g.push(b(a[e],d,f));a=i[0].substring(1,i[0].length-1);a=""===a?g:g.join(a);break}if(null===a||a[f[e]]===n)return n;a=a[f[e]]}}return a};return function(c,d){return b(c,d,a)}}return function(b){return b[a]}}function L(a){if(null===a)return function(){};if("function"===typeof a)return function(b,d){a(b,"set",d)};if("string"===typeof a&&(-1!==a.indexOf(".")||-1!==a.indexOf("["))){var b=function(a,d,i){var i=i.split("."),f,g,e=0;for(g=
+i.length-1;e<g;e++){if(f=i[e].match(U)){i[e]=i[e].replace(U,"");a[i[e]]=[];f=i.slice();f.splice(0,e+1);g=f.join(".");for(var h=0,j=d.length;h<j;h++)f={},b(f,d[h],g),a[i[e]].push(f);return}if(null===a[i[e]]||a[i[e]]===n)a[i[e]]={};a=a[i[e]]}a[i[i.length-1].replace(U,"")]=d};return function(c,d){return b(c,d,a)}}return function(b,d){b[a]=d}}function Z(a){for(var b=[],c=a.aoData.length,d=0;d<c;d++)b.push(a.aoData[d]._aData);return b}function ga(a){a.aoData.splice(0,a.aoData.length);a.aiDisplayMaster.splice(0,
+a.aiDisplayMaster.length);a.aiDisplay.splice(0,a.aiDisplay.length);y(a)}function ha(a,b){for(var c=-1,d=0,i=a.length;d<i;d++)a[d]==b?c=d:a[d]>b&&a[d]--; -1!=c&&a.splice(c,1)}function S(a,b,c){var d=a.aoColumns[c];return d.fnRender({iDataRow:b,iDataColumn:c,oSettings:a,aData:a.aoData[b]._aData,mDataProp:d.mData},v(a,b,c,"display"))}function ea(a,b){var c=a.aoData[b],d;if(null===c.nTr){c.nTr=l.createElement("tr");c.nTr._DT_RowIndex=b;c._aData.DT_RowId&&(c.nTr.id=c._aData.DT_RowId);c._aData.DT_RowClass&&
+(c.nTr.className=c._aData.DT_RowClass);for(var i=0,f=a.aoColumns.length;i<f;i++){var g=a.aoColumns[i];d=l.createElement(g.sCellType);d.innerHTML="function"===typeof g.fnRender&&(!g.bUseRendered||null===g.mData)?S(a,b,i):v(a,b,i,"display");null!==g.sClass&&(d.className=g.sClass);g.bVisible?(c.nTr.appendChild(d),c._anHidden[i]=null):c._anHidden[i]=d;g.fnCreatedCell&&g.fnCreatedCell.call(a.oInstance,d,v(a,b,i,"display"),c._aData,b,i)}A(a,"aoRowCreatedCallback",null,[c.nTr,c._aData,b])}}function va(a){var b,
+c,d;if(0!==h("th, td",a.nTHead).length){b=0;for(d=a.aoColumns.length;b<d;b++)if(c=a.aoColumns[b].nTh,c.setAttribute("role","columnheader"),a.aoColumns[b].bSortable&&(c.setAttribute("tabindex",a.iTabIndex),c.setAttribute("aria-controls",a.sTableId)),null!==a.aoColumns[b].sClass&&h(c).addClass(a.aoColumns[b].sClass),a.aoColumns[b].sTitle!=c.innerHTML)c.innerHTML=a.aoColumns[b].sTitle}else{var i=l.createElement("tr");b=0;for(d=a.aoColumns.length;b<d;b++)c=a.aoColumns[b].nTh,c.innerHTML=a.aoColumns[b].sTitle,
+c.setAttribute("tabindex","0"),null!==a.aoColumns[b].sClass&&h(c).addClass(a.aoColumns[b].sClass),i.appendChild(c);h(a.nTHead).html("")[0].appendChild(i);V(a.aoHeader,a.nTHead)}h(a.nTHead).children("tr").attr("role","row");if(a.bJUI){b=0;for(d=a.aoColumns.length;b<d;b++){c=a.aoColumns[b].nTh;i=l.createElement("div");i.className=a.oClasses.sSortJUIWrapper;h(c).contents().appendTo(i);var f=l.createElement("span");f.className=a.oClasses.sSortIcon;i.appendChild(f);c.appendChild(i)}}if(a.oFeatures.bSort)for(b=
+0;b<a.aoColumns.length;b++)!1!==a.aoColumns[b].bSortable?ia(a,a.aoColumns[b].nTh,b):h(a.aoColumns[b].nTh).addClass(a.oClasses.sSortableNone);""!==a.oClasses.sFooterTH&&h(a.nTFoot).children("tr").children("th").addClass(a.oClasses.sFooterTH);if(null!==a.nTFoot){c=N(a,null,a.aoFooter);b=0;for(d=a.aoColumns.length;b<d;b++)c[b]&&(a.aoColumns[b].nTf=c[b],a.aoColumns[b].sClass&&h(c[b]).addClass(a.aoColumns[b].sClass))}}function W(a,b,c){var d,i,f,g=[],e=[],h=a.aoColumns.length,j;c===n&&(c=!1);d=0;for(i=
+b.length;d<i;d++){g[d]=b[d].slice();g[d].nTr=b[d].nTr;for(f=h-1;0<=f;f--)!a.aoColumns[f].bVisible&&!c&&g[d].splice(f,1);e.push([])}d=0;for(i=g.length;d<i;d++){if(a=g[d].nTr)for(;f=a.firstChild;)a.removeChild(f);f=0;for(b=g[d].length;f<b;f++)if(j=h=1,e[d][f]===n){a.appendChild(g[d][f].cell);for(e[d][f]=1;g[d+h]!==n&&g[d][f].cell==g[d+h][f].cell;)e[d+h][f]=1,h++;for(;g[d][f+j]!==n&&g[d][f].cell==g[d][f+j].cell;){for(c=0;c<h;c++)e[d+c][f+j]=1;j++}g[d][f].cell.rowSpan=h;g[d][f].cell.colSpan=j}}}function x(a){var b=
+A(a,"aoPreDrawCallback","preDraw",[a]);if(-1!==h.inArray(!1,b))E(a,!1);else{var c,d,b=[],i=0,f=a.asStripeClasses.length;c=a.aoOpenRows.length;a.bDrawing=!0;a.iInitDisplayStart!==n&&-1!=a.iInitDisplayStart&&(a._iDisplayStart=a.oFeatures.bServerSide?a.iInitDisplayStart:a.iInitDisplayStart>=a.fnRecordsDisplay()?0:a.iInitDisplayStart,a.iInitDisplayStart=-1,y(a));if(a.bDeferLoading)a.bDeferLoading=!1,a.iDraw++;else if(a.oFeatures.bServerSide){if(!a.bDestroying&&!wa(a))return}else a.iDraw++;if(0!==a.aiDisplay.length){var g=
+a._iDisplayStart;d=a._iDisplayEnd;a.oFeatures.bServerSide&&(g=0,d=a.aoData.length);for(;g<d;g++){var e=a.aoData[a.aiDisplay[g]];null===e.nTr&&ea(a,a.aiDisplay[g]);var j=e.nTr;if(0!==f){var o=a.asStripeClasses[i%f];e._sRowStripe!=o&&(h(j).removeClass(e._sRowStripe).addClass(o),e._sRowStripe=o)}A(a,"aoRowCallback",null,[j,a.aoData[a.aiDisplay[g]]._aData,i,g]);b.push(j);i++;if(0!==c)for(e=0;e<c;e++)if(j==a.aoOpenRows[e].nParent){b.push(a.aoOpenRows[e].nTr);break}}}else b[0]=l.createElement("tr"),a.asStripeClasses[0]&&
+(b[0].className=a.asStripeClasses[0]),c=a.oLanguage,f=c.sZeroRecords,1==a.iDraw&&null!==a.sAjaxSource&&!a.oFeatures.bServerSide?f=c.sLoadingRecords:c.sEmptyTable&&0===a.fnRecordsTotal()&&(f=c.sEmptyTable),c=l.createElement("td"),c.setAttribute("valign","top"),c.colSpan=t(a),c.className=a.oClasses.sRowEmpty,c.innerHTML=ja(a,f),b[i].appendChild(c);A(a,"aoHeaderCallback","header",[h(a.nTHead).children("tr")[0],Z(a),a._iDisplayStart,a.fnDisplayEnd(),a.aiDisplay]);A(a,"aoFooterCallback","footer",[h(a.nTFoot).children("tr")[0],
+Z(a),a._iDisplayStart,a.fnDisplayEnd(),a.aiDisplay]);i=l.createDocumentFragment();c=l.createDocumentFragment();if(a.nTBody){f=a.nTBody.parentNode;c.appendChild(a.nTBody);if(!a.oScroll.bInfinite||!a._bInitComplete||a.bSorted||a.bFiltered)for(;c=a.nTBody.firstChild;)a.nTBody.removeChild(c);c=0;for(d=b.length;c<d;c++)i.appendChild(b[c]);a.nTBody.appendChild(i);null!==f&&f.appendChild(a.nTBody)}A(a,"aoDrawCallback","draw",[a]);a.bSorted=!1;a.bFiltered=!1;a.bDrawing=!1;a.oFeatures.bServerSide&&(E(a,!1),
+a._bInitComplete||$(a))}}function aa(a){a.oFeatures.bSort?O(a,a.oPreviousSearch):a.oFeatures.bFilter?K(a,a.oPreviousSearch):(y(a),x(a))}function xa(a){var b=h("<div></div>")[0];a.nTable.parentNode.insertBefore(b,a.nTable);a.nTableWrapper=h('<div id="'+a.sTableId+'_wrapper" class="'+a.oClasses.sWrapper+'" role="grid"></div>')[0];a.nTableReinsertBefore=a.nTable.nextSibling;for(var c=a.nTableWrapper,d=a.sDom.split(""),i,f,g,e,w,o,k,m=0;m<d.length;m++){f=0;g=d[m];if("<"==g){e=h("<div></div>")[0];w=d[m+
+1];if("'"==w||'"'==w){o="";for(k=2;d[m+k]!=w;)o+=d[m+k],k++;"H"==o?o=a.oClasses.sJUIHeader:"F"==o&&(o=a.oClasses.sJUIFooter);-1!=o.indexOf(".")?(w=o.split("."),e.id=w[0].substr(1,w[0].length-1),e.className=w[1]):"#"==o.charAt(0)?e.id=o.substr(1,o.length-1):e.className=o;m+=k}c.appendChild(e);c=e}else if(">"==g)c=c.parentNode;else if("l"==g&&a.oFeatures.bPaginate&&a.oFeatures.bLengthChange)i=ya(a),f=1;else if("f"==g&&a.oFeatures.bFilter)i=za(a),f=1;else if("r"==g&&a.oFeatures.bProcessing)i=Aa(a),f=
+1;else if("t"==g)i=Ba(a),f=1;else if("i"==g&&a.oFeatures.bInfo)i=Ca(a),f=1;else if("p"==g&&a.oFeatures.bPaginate)i=Da(a),f=1;else if(0!==j.ext.aoFeatures.length){e=j.ext.aoFeatures;k=0;for(w=e.length;k<w;k++)if(g==e[k].cFeature){(i=e[k].fnInit(a))&&(f=1);break}}1==f&&null!==i&&("object"!==typeof a.aanFeatures[g]&&(a.aanFeatures[g]=[]),a.aanFeatures[g].push(i),c.appendChild(i))}b.parentNode.replaceChild(a.nTableWrapper,b)}function V(a,b){var c=h(b).children("tr"),d,i,f,g,e,j,o,k,m,p;a.splice(0,a.length);
+f=0;for(j=c.length;f<j;f++)a.push([]);f=0;for(j=c.length;f<j;f++){d=c[f];for(i=d.firstChild;i;){if("TD"==i.nodeName.toUpperCase()||"TH"==i.nodeName.toUpperCase()){k=1*i.getAttribute("colspan");m=1*i.getAttribute("rowspan");k=!k||0===k||1===k?1:k;m=!m||0===m||1===m?1:m;g=0;for(e=a[f];e[g];)g++;o=g;p=1===k?!0:!1;for(e=0;e<k;e++)for(g=0;g<m;g++)a[f+g][o+e]={cell:i,unique:p},a[f+g].nTr=d}i=i.nextSibling}}}function N(a,b,c){var d=[];c||(c=a.aoHeader,b&&(c=[],V(c,b)));for(var b=0,i=c.length;b<i;b++)for(var f=
+0,g=c[b].length;f<g;f++)if(c[b][f].unique&&(!d[f]||!a.bSortCellsTop))d[f]=c[b][f].cell;return d}function wa(a){if(a.bAjaxDataGet){a.iDraw++;E(a,!0);var b=Ea(a);ka(a,b);a.fnServerData.call(a.oInstance,a.sAjaxSource,b,function(b){Fa(a,b)},a);return!1}return!0}function Ea(a){var b=a.aoColumns.length,c=[],d,i,f,g;c.push({name:"sEcho",value:a.iDraw});c.push({name:"iColumns",value:b});c.push({name:"sColumns",value:M(a)});c.push({name:"iDisplayStart",value:a._iDisplayStart});c.push({name:"iDisplayLength",
+value:!1!==a.oFeatures.bPaginate?a._iDisplayLength:-1});for(f=0;f<b;f++)d=a.aoColumns[f].mData,c.push({name:"mDataProp_"+f,value:"function"===typeof d?"function":d});if(!1!==a.oFeatures.bFilter){c.push({name:"sSearch",value:a.oPreviousSearch.sSearch});c.push({name:"bRegex",value:a.oPreviousSearch.bRegex});for(f=0;f<b;f++)c.push({name:"sSearch_"+f,value:a.aoPreSearchCols[f].sSearch}),c.push({name:"bRegex_"+f,value:a.aoPreSearchCols[f].bRegex}),c.push({name:"bSearchable_"+f,value:a.aoColumns[f].bSearchable})}if(!1!==
+a.oFeatures.bSort){var e=0;d=null!==a.aaSortingFixed?a.aaSortingFixed.concat(a.aaSorting):a.aaSorting.slice();for(f=0;f<d.length;f++){i=a.aoColumns[d[f][0]].aDataSort;for(g=0;g<i.length;g++)c.push({name:"iSortCol_"+e,value:i[g]}),c.push({name:"sSortDir_"+e,value:d[f][1]}),e++}c.push({name:"iSortingCols",value:e});for(f=0;f<b;f++)c.push({name:"bSortable_"+f,value:a.aoColumns[f].bSortable})}return c}function ka(a,b){A(a,"aoServerParams","serverParams",[b])}function Fa(a,b){if(b.sEcho!==n){if(1*b.sEcho<
+a.iDraw)return;a.iDraw=1*b.sEcho}(!a.oScroll.bInfinite||a.oScroll.bInfinite&&(a.bSorted||a.bFiltered))&&ga(a);a._iRecordsTotal=parseInt(b.iTotalRecords,10);a._iRecordsDisplay=parseInt(b.iTotalDisplayRecords,10);var c=M(a),c=b.sColumns!==n&&""!==c&&b.sColumns!=c,d;c&&(d=u(a,b.sColumns));for(var i=Q(a.sAjaxDataProp)(b),f=0,g=i.length;f<g;f++)if(c){for(var e=[],h=0,j=a.aoColumns.length;h<j;h++)e.push(i[f][d[h]]);H(a,e)}else H(a,i[f]);a.aiDisplay=a.aiDisplayMaster.slice();a.bAjaxDataGet=!1;x(a);a.bAjaxDataGet=
+!0;E(a,!1)}function za(a){var b=a.oPreviousSearch,c=a.oLanguage.sSearch,c=-1!==c.indexOf("_INPUT_")?c.replace("_INPUT_",'<input type="text" />'):""===c?'<input type="text" />':c+' <input type="text" />',d=l.createElement("div");d.className=a.oClasses.sFilter;d.innerHTML="<label>"+c+"</label>";a.aanFeatures.f||(d.id=a.sTableId+"_filter");c=h('input[type="text"]',d);d._DT_Input=c[0];c.val(b.sSearch.replace('"',"&quot;"));c.bind("keyup.DT",function(){for(var c=a.aanFeatures.f,d=this.value===""?"":this.value,
+g=0,e=c.length;g<e;g++)c[g]!=h(this).parents("div.dataTables_filter")[0]&&h(c[g]._DT_Input).val(d);d!=b.sSearch&&K(a,{sSearch:d,bRegex:b.bRegex,bSmart:b.bSmart,bCaseInsensitive:b.bCaseInsensitive})});c.attr("aria-controls",a.sTableId).bind("keypress.DT",function(a){if(a.keyCode==13)return false});return d}function K(a,b,c){var d=a.oPreviousSearch,i=a.aoPreSearchCols,f=function(a){d.sSearch=a.sSearch;d.bRegex=a.bRegex;d.bSmart=a.bSmart;d.bCaseInsensitive=a.bCaseInsensitive};if(a.oFeatures.bServerSide)f(b);
+else{Ga(a,b.sSearch,c,b.bRegex,b.bSmart,b.bCaseInsensitive);f(b);for(b=0;b<a.aoPreSearchCols.length;b++)Ha(a,i[b].sSearch,b,i[b].bRegex,i[b].bSmart,i[b].bCaseInsensitive);Ia(a)}a.bFiltered=!0;h(a.oInstance).trigger("filter",a);a._iDisplayStart=0;y(a);x(a);la(a,0)}function Ia(a){for(var b=j.ext.afnFiltering,c=r(a,"bSearchable"),d=0,i=b.length;d<i;d++)for(var f=0,g=0,e=a.aiDisplay.length;g<e;g++){var h=a.aiDisplay[g-f];b[d](a,Y(a,h,"filter",c),h)||(a.aiDisplay.splice(g-f,1),f++)}}function Ha(a,b,c,
+d,i,f){if(""!==b)for(var g=0,b=ma(b,d,i,f),d=a.aiDisplay.length-1;0<=d;d--)i=Ja(v(a,a.aiDisplay[d],c,"filter"),a.aoColumns[c].sType),b.test(i)||(a.aiDisplay.splice(d,1),g++)}function Ga(a,b,c,d,i,f){d=ma(b,d,i,f);i=a.oPreviousSearch;c||(c=0);0!==j.ext.afnFiltering.length&&(c=1);if(0>=b.length)a.aiDisplay.splice(0,a.aiDisplay.length),a.aiDisplay=a.aiDisplayMaster.slice();else if(a.aiDisplay.length==a.aiDisplayMaster.length||i.sSearch.length>b.length||1==c||0!==b.indexOf(i.sSearch)){a.aiDisplay.splice(0,
+a.aiDisplay.length);la(a,1);for(b=0;b<a.aiDisplayMaster.length;b++)d.test(a.asDataSearch[b])&&a.aiDisplay.push(a.aiDisplayMaster[b])}else for(b=c=0;b<a.asDataSearch.length;b++)d.test(a.asDataSearch[b])||(a.aiDisplay.splice(b-c,1),c++)}function la(a,b){if(!a.oFeatures.bServerSide){a.asDataSearch=[];for(var c=r(a,"bSearchable"),d=1===b?a.aiDisplayMaster:a.aiDisplay,i=0,f=d.length;i<f;i++)a.asDataSearch[i]=na(a,Y(a,d[i],"filter",c))}}function na(a,b){var c=b.join(" ");-1!==c.indexOf("&")&&(c=h("<div>").html(c).text());
+return c.replace(/[\n\r]/g," ")}function ma(a,b,c,d){if(c)return a=b?a.split(" "):oa(a).split(" "),a="^(?=.*?"+a.join(")(?=.*?")+").*$",RegExp(a,d?"i":"");a=b?a:oa(a);return RegExp(a,d?"i":"")}function Ja(a,b){return"function"===typeof j.ext.ofnSearch[b]?j.ext.ofnSearch[b](a):null===a?"":"html"==b?a.replace(/[\r\n]/g," ").replace(/<.*?>/g,""):"string"===typeof a?a.replace(/[\r\n]/g," "):a}function oa(a){return a.replace(RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),
+"\\$1")}function Ca(a){var b=l.createElement("div");b.className=a.oClasses.sInfo;a.aanFeatures.i||(a.aoDrawCallback.push({fn:Ka,sName:"information"}),b.id=a.sTableId+"_info");a.nTable.setAttribute("aria-describedby",a.sTableId+"_info");return b}function Ka(a){if(a.oFeatures.bInfo&&0!==a.aanFeatures.i.length){var b=a.oLanguage,c=a._iDisplayStart+1,d=a.fnDisplayEnd(),i=a.fnRecordsTotal(),f=a.fnRecordsDisplay(),g;g=0===f?b.sInfoEmpty:b.sInfo;f!=i&&(g+=" "+b.sInfoFiltered);g+=b.sInfoPostFix;g=ja(a,g);
+null!==b.fnInfoCallback&&(g=b.fnInfoCallback.call(a.oInstance,a,c,d,i,f,g));a=a.aanFeatures.i;b=0;for(c=a.length;b<c;b++)h(a[b]).html(g)}}function ja(a,b){var c=a.fnFormatNumber(a._iDisplayStart+1),d=a.fnDisplayEnd(),d=a.fnFormatNumber(d),i=a.fnRecordsDisplay(),i=a.fnFormatNumber(i),f=a.fnRecordsTotal(),f=a.fnFormatNumber(f);a.oScroll.bInfinite&&(c=a.fnFormatNumber(1));return b.replace(/_START_/g,c).replace(/_END_/g,d).replace(/_TOTAL_/g,i).replace(/_MAX_/g,f)}function ba(a){var b,c,d=a.iInitDisplayStart;
+if(!1===a.bInitialised)setTimeout(function(){ba(a)},200);else{xa(a);va(a);W(a,a.aoHeader);a.nTFoot&&W(a,a.aoFooter);E(a,!0);a.oFeatures.bAutoWidth&&da(a);b=0;for(c=a.aoColumns.length;b<c;b++)null!==a.aoColumns[b].sWidth&&(a.aoColumns[b].nTh.style.width=q(a.aoColumns[b].sWidth));a.oFeatures.bSort?O(a):a.oFeatures.bFilter?K(a,a.oPreviousSearch):(a.aiDisplay=a.aiDisplayMaster.slice(),y(a),x(a));null!==a.sAjaxSource&&!a.oFeatures.bServerSide?(c=[],ka(a,c),a.fnServerData.call(a.oInstance,a.sAjaxSource,
+c,function(c){var f=a.sAjaxDataProp!==""?Q(a.sAjaxDataProp)(c):c;for(b=0;b<f.length;b++)H(a,f[b]);a.iInitDisplayStart=d;if(a.oFeatures.bSort)O(a);else{a.aiDisplay=a.aiDisplayMaster.slice();y(a);x(a)}E(a,false);$(a,c)},a)):a.oFeatures.bServerSide||(E(a,!1),$(a))}}function $(a,b){a._bInitComplete=!0;A(a,"aoInitComplete","init",[a,b])}function pa(a){var b=j.defaults.oLanguage;!a.sEmptyTable&&(a.sZeroRecords&&"No data available in table"===b.sEmptyTable)&&p(a,a,"sZeroRecords","sEmptyTable");!a.sLoadingRecords&&
+(a.sZeroRecords&&"Loading..."===b.sLoadingRecords)&&p(a,a,"sZeroRecords","sLoadingRecords")}function ya(a){if(a.oScroll.bInfinite)return null;var b='<select size="1" '+('name="'+a.sTableId+'_length"')+">",c,d,i=a.aLengthMenu;if(2==i.length&&"object"===typeof i[0]&&"object"===typeof i[1]){c=0;for(d=i[0].length;c<d;c++)b+='<option value="'+i[0][c]+'">'+i[1][c]+"</option>"}else{c=0;for(d=i.length;c<d;c++)b+='<option value="'+i[c]+'">'+i[c]+"</option>"}b+="</select>";i=l.createElement("div");a.aanFeatures.l||
+(i.id=a.sTableId+"_length");i.className=a.oClasses.sLength;i.innerHTML="<label>"+a.oLanguage.sLengthMenu.replace("_MENU_",b)+"</label>";h('select option[value="'+a._iDisplayLength+'"]',i).attr("selected",!0);h("select",i).bind("change.DT",function(){var b=h(this).val(),i=a.aanFeatures.l;c=0;for(d=i.length;c<d;c++)i[c]!=this.parentNode&&h("select",i[c]).val(b);a._iDisplayLength=parseInt(b,10);y(a);if(a.fnDisplayEnd()==a.fnRecordsDisplay()){a._iDisplayStart=a.fnDisplayEnd()-a._iDisplayLength;if(a._iDisplayStart<
+0)a._iDisplayStart=0}if(a._iDisplayLength==-1)a._iDisplayStart=0;x(a)});h("select",i).attr("aria-controls",a.sTableId);return i}function y(a){a._iDisplayEnd=!1===a.oFeatures.bPaginate?a.aiDisplay.length:a._iDisplayStart+a._iDisplayLength>a.aiDisplay.length||-1==a._iDisplayLength?a.aiDisplay.length:a._iDisplayStart+a._iDisplayLength}function Da(a){if(a.oScroll.bInfinite)return null;var b=l.createElement("div");b.className=a.oClasses.sPaging+a.sPaginationType;j.ext.oPagination[a.sPaginationType].fnInit(a,
+b,function(a){y(a);x(a)});a.aanFeatures.p||a.aoDrawCallback.push({fn:function(a){j.ext.oPagination[a.sPaginationType].fnUpdate(a,function(a){y(a);x(a)})},sName:"pagination"});return b}function qa(a,b){var c=a._iDisplayStart;if("number"===typeof b)a._iDisplayStart=b*a._iDisplayLength,a._iDisplayStart>a.fnRecordsDisplay()&&(a._iDisplayStart=0);else if("first"==b)a._iDisplayStart=0;else if("previous"==b)a._iDisplayStart=0<=a._iDisplayLength?a._iDisplayStart-a._iDisplayLength:0,0>a._iDisplayStart&&(a._iDisplayStart=
+0);else if("next"==b)0<=a._iDisplayLength?a._iDisplayStart+a._iDisplayLength<a.fnRecordsDisplay()&&(a._iDisplayStart+=a._iDisplayLength):a._iDisplayStart=0;else if("last"==b)if(0<=a._iDisplayLength){var d=parseInt((a.fnRecordsDisplay()-1)/a._iDisplayLength,10)+1;a._iDisplayStart=(d-1)*a._iDisplayLength}else a._iDisplayStart=0;else D(a,0,"Unknown paging action: "+b);h(a.oInstance).trigger("page",a);return c!=a._iDisplayStart}function Aa(a){var b=l.createElement("div");a.aanFeatures.r||(b.id=a.sTableId+
+"_processing");b.innerHTML=a.oLanguage.sProcessing;b.className=a.oClasses.sProcessing;a.nTable.parentNode.insertBefore(b,a.nTable);return b}function E(a,b){if(a.oFeatures.bProcessing)for(var c=a.aanFeatures.r,d=0,i=c.length;d<i;d++)c[d].style.visibility=b?"visible":"hidden";h(a.oInstance).trigger("processing",[a,b])}function Ba(a){if(""===a.oScroll.sX&&""===a.oScroll.sY)return a.nTable;var b=l.createElement("div"),c=l.createElement("div"),d=l.createElement("div"),i=l.createElement("div"),f=l.createElement("div"),
+g=l.createElement("div"),e=a.nTable.cloneNode(!1),j=a.nTable.cloneNode(!1),o=a.nTable.getElementsByTagName("thead")[0],k=0===a.nTable.getElementsByTagName("tfoot").length?null:a.nTable.getElementsByTagName("tfoot")[0],m=a.oClasses;c.appendChild(d);f.appendChild(g);i.appendChild(a.nTable);b.appendChild(c);b.appendChild(i);d.appendChild(e);e.appendChild(o);null!==k&&(b.appendChild(f),g.appendChild(j),j.appendChild(k));b.className=m.sScrollWrapper;c.className=m.sScrollHead;d.className=m.sScrollHeadInner;
+i.className=m.sScrollBody;f.className=m.sScrollFoot;g.className=m.sScrollFootInner;a.oScroll.bAutoCss&&(c.style.overflow="hidden",c.style.position="relative",f.style.overflow="hidden",i.style.overflow="auto");c.style.border="0";c.style.width="100%";f.style.border="0";d.style.width=""!==a.oScroll.sXInner?a.oScroll.sXInner:"100%";e.removeAttribute("id");e.style.marginLeft="0";a.nTable.style.marginLeft="0";null!==k&&(j.removeAttribute("id"),j.style.marginLeft="0");d=h(a.nTable).children("caption");0<
+d.length&&(d=d[0],"top"===d._captionSide?e.appendChild(d):"bottom"===d._captionSide&&k&&j.appendChild(d));""!==a.oScroll.sX&&(c.style.width=q(a.oScroll.sX),i.style.width=q(a.oScroll.sX),null!==k&&(f.style.width=q(a.oScroll.sX)),h(i).scroll(function(){c.scrollLeft=this.scrollLeft;if(k!==null)f.scrollLeft=this.scrollLeft}));""!==a.oScroll.sY&&(i.style.height=q(a.oScroll.sY));a.aoDrawCallback.push({fn:La,sName:"scrolling"});a.oScroll.bInfinite&&h(i).scroll(function(){if(!a.bDrawing&&h(this).scrollTop()!==
+0&&h(this).scrollTop()+h(this).height()>h(a.nTable).height()-a.oScroll.iLoadGap&&a.fnDisplayEnd()<a.fnRecordsDisplay()){qa(a,"next");y(a);x(a)}});a.nScrollHead=c;a.nScrollFoot=f;return b}function La(a){var b=a.nScrollHead.getElementsByTagName("div")[0],c=b.getElementsByTagName("table")[0],d=a.nTable.parentNode,i,f,g,e,j,o,k,m,p=[],n=[],l=null!==a.nTFoot?a.nScrollFoot.getElementsByTagName("div")[0]:null,R=null!==a.nTFoot?l.getElementsByTagName("table")[0]:null,r=a.oBrowser.bScrollOversize,s=function(a){k=
+a.style;k.paddingTop="0";k.paddingBottom="0";k.borderTopWidth="0";k.borderBottomWidth="0";k.height=0};h(a.nTable).children("thead, tfoot").remove();i=h(a.nTHead).clone()[0];a.nTable.insertBefore(i,a.nTable.childNodes[0]);g=a.nTHead.getElementsByTagName("tr");e=i.getElementsByTagName("tr");null!==a.nTFoot&&(j=h(a.nTFoot).clone()[0],a.nTable.insertBefore(j,a.nTable.childNodes[1]),o=a.nTFoot.getElementsByTagName("tr"),j=j.getElementsByTagName("tr"));""===a.oScroll.sX&&(d.style.width="100%",b.parentNode.style.width=
+"100%");var t=N(a,i);i=0;for(f=t.length;i<f;i++)m=G(a,i),t[i].style.width=a.aoColumns[m].sWidth;null!==a.nTFoot&&C(function(a){a.style.width=""},j);a.oScroll.bCollapse&&""!==a.oScroll.sY&&(d.style.height=d.offsetHeight+a.nTHead.offsetHeight+"px");i=h(a.nTable).outerWidth();if(""===a.oScroll.sX){if(a.nTable.style.width="100%",r&&(h("tbody",d).height()>d.offsetHeight||"scroll"==h(d).css("overflow-y")))a.nTable.style.width=q(h(a.nTable).outerWidth()-a.oScroll.iBarWidth)}else""!==a.oScroll.sXInner?a.nTable.style.width=
+q(a.oScroll.sXInner):i==h(d).width()&&h(d).height()<h(a.nTable).height()?(a.nTable.style.width=q(i-a.oScroll.iBarWidth),h(a.nTable).outerWidth()>i-a.oScroll.iBarWidth&&(a.nTable.style.width=q(i))):a.nTable.style.width=q(i);i=h(a.nTable).outerWidth();C(s,e);C(function(a){p.push(q(h(a).width()))},e);C(function(a,b){a.style.width=p[b]},g);h(e).height(0);null!==a.nTFoot&&(C(s,j),C(function(a){n.push(q(h(a).width()))},j),C(function(a,b){a.style.width=n[b]},o),h(j).height(0));C(function(a,b){a.innerHTML=
+"";a.style.width=p[b]},e);null!==a.nTFoot&&C(function(a,b){a.innerHTML="";a.style.width=n[b]},j);if(h(a.nTable).outerWidth()<i){g=d.scrollHeight>d.offsetHeight||"scroll"==h(d).css("overflow-y")?i+a.oScroll.iBarWidth:i;if(r&&(d.scrollHeight>d.offsetHeight||"scroll"==h(d).css("overflow-y")))a.nTable.style.width=q(g-a.oScroll.iBarWidth);d.style.width=q(g);a.nScrollHead.style.width=q(g);null!==a.nTFoot&&(a.nScrollFoot.style.width=q(g));""===a.oScroll.sX?D(a,1,"The table cannot fit into the current element which will cause column misalignment. The table has been drawn at its minimum possible width."):
+""!==a.oScroll.sXInner&&D(a,1,"The table cannot fit into the current element which will cause column misalignment. Increase the sScrollXInner value or remove it to allow automatic calculation")}else d.style.width=q("100%"),a.nScrollHead.style.width=q("100%"),null!==a.nTFoot&&(a.nScrollFoot.style.width=q("100%"));""===a.oScroll.sY&&r&&(d.style.height=q(a.nTable.offsetHeight+a.oScroll.iBarWidth));""!==a.oScroll.sY&&a.oScroll.bCollapse&&(d.style.height=q(a.oScroll.sY),r=""!==a.oScroll.sX&&a.nTable.offsetWidth>
+d.offsetWidth?a.oScroll.iBarWidth:0,a.nTable.offsetHeight<d.offsetHeight&&(d.style.height=q(a.nTable.offsetHeight+r)));r=h(a.nTable).outerWidth();c.style.width=q(r);b.style.width=q(r);c=h(a.nTable).height()>d.clientHeight||"scroll"==h(d).css("overflow-y");b.style.paddingRight=c?a.oScroll.iBarWidth+"px":"0px";null!==a.nTFoot&&(R.style.width=q(r),l.style.width=q(r),l.style.paddingRight=c?a.oScroll.iBarWidth+"px":"0px");h(d).scroll();if(a.bSorted||a.bFiltered)d.scrollTop=0}function C(a,b,c){for(var d=
+0,i=0,f=b.length,g,e;i<f;){g=b[i].firstChild;for(e=c?c[i].firstChild:null;g;)1===g.nodeType&&(c?a(g,e,d):a(g,d),d++),g=g.nextSibling,e=c?e.nextSibling:null;i++}}function Ma(a,b){if(!a||null===a||""===a)return 0;b||(b=l.body);var c,d=l.createElement("div");d.style.width=q(a);b.appendChild(d);c=d.offsetWidth;b.removeChild(d);return c}function da(a){var b=0,c,d=0,i=a.aoColumns.length,f,e,j=h("th",a.nTHead),o=a.nTable.getAttribute("width");e=a.nTable.parentNode;for(f=0;f<i;f++)a.aoColumns[f].bVisible&&
+(d++,null!==a.aoColumns[f].sWidth&&(c=Ma(a.aoColumns[f].sWidthOrig,e),null!==c&&(a.aoColumns[f].sWidth=q(c)),b++));if(i==j.length&&0===b&&d==i&&""===a.oScroll.sX&&""===a.oScroll.sY)for(f=0;f<a.aoColumns.length;f++)c=h(j[f]).width(),null!==c&&(a.aoColumns[f].sWidth=q(c));else{b=a.nTable.cloneNode(!1);f=a.nTHead.cloneNode(!0);d=l.createElement("tbody");c=l.createElement("tr");b.removeAttribute("id");b.appendChild(f);null!==a.nTFoot&&(b.appendChild(a.nTFoot.cloneNode(!0)),C(function(a){a.style.width=
+""},b.getElementsByTagName("tr")));b.appendChild(d);d.appendChild(c);d=h("thead th",b);0===d.length&&(d=h("tbody tr:eq(0)>td",b));j=N(a,f);for(f=d=0;f<i;f++){var k=a.aoColumns[f];k.bVisible&&null!==k.sWidthOrig&&""!==k.sWidthOrig?j[f-d].style.width=q(k.sWidthOrig):k.bVisible?j[f-d].style.width="":d++}for(f=0;f<i;f++)a.aoColumns[f].bVisible&&(d=Na(a,f),null!==d&&(d=d.cloneNode(!0),""!==a.aoColumns[f].sContentPadding&&(d.innerHTML+=a.aoColumns[f].sContentPadding),c.appendChild(d)));e.appendChild(b);
+""!==a.oScroll.sX&&""!==a.oScroll.sXInner?b.style.width=q(a.oScroll.sXInner):""!==a.oScroll.sX?(b.style.width="",h(b).width()<e.offsetWidth&&(b.style.width=q(e.offsetWidth))):""!==a.oScroll.sY?b.style.width=q(e.offsetWidth):o&&(b.style.width=q(o));b.style.visibility="hidden";Oa(a,b);i=h("tbody tr:eq(0)",b).children();0===i.length&&(i=N(a,h("thead",b)[0]));if(""!==a.oScroll.sX){for(f=d=e=0;f<a.aoColumns.length;f++)a.aoColumns[f].bVisible&&(e=null===a.aoColumns[f].sWidthOrig?e+h(i[d]).outerWidth():
+e+(parseInt(a.aoColumns[f].sWidth.replace("px",""),10)+(h(i[d]).outerWidth()-h(i[d]).width())),d++);b.style.width=q(e);a.nTable.style.width=q(e)}for(f=d=0;f<a.aoColumns.length;f++)a.aoColumns[f].bVisible&&(e=h(i[d]).width(),null!==e&&0<e&&(a.aoColumns[f].sWidth=q(e)),d++);i=h(b).css("width");a.nTable.style.width=-1!==i.indexOf("%")?i:q(h(b).outerWidth());b.parentNode.removeChild(b)}o&&(a.nTable.style.width=q(o))}function Oa(a,b){""===a.oScroll.sX&&""!==a.oScroll.sY?(h(b).width(),b.style.width=q(h(b).outerWidth()-
+a.oScroll.iBarWidth)):""!==a.oScroll.sX&&(b.style.width=q(h(b).outerWidth()))}function Na(a,b){var c=Pa(a,b);if(0>c)return null;if(null===a.aoData[c].nTr){var d=l.createElement("td");d.innerHTML=v(a,c,b,"");return d}return J(a,c)[b]}function Pa(a,b){for(var c=-1,d=-1,i=0;i<a.aoData.length;i++){var e=v(a,i,b,"display")+"",e=e.replace(/<.*?>/g,"");e.length>c&&(c=e.length,d=i)}return d}function q(a){if(null===a)return"0px";if("number"==typeof a)return 0>a?"0px":a+"px";var b=a.charCodeAt(a.length-1);
+return 48>b||57<b?a:a+"px"}function Qa(){var a=l.createElement("p"),b=a.style;b.width="100%";b.height="200px";b.padding="0px";var c=l.createElement("div"),b=c.style;b.position="absolute";b.top="0px";b.left="0px";b.visibility="hidden";b.width="200px";b.height="150px";b.padding="0px";b.overflow="hidden";c.appendChild(a);l.body.appendChild(c);b=a.offsetWidth;c.style.overflow="scroll";a=a.offsetWidth;b==a&&(a=c.clientWidth);l.body.removeChild(c);return b-a}function O(a,b){var c,d,i,e,g,k,o=[],m=[],p=
+j.ext.oSort,l=a.aoData,q=a.aoColumns,G=a.oLanguage.oAria;if(!a.oFeatures.bServerSide&&(0!==a.aaSorting.length||null!==a.aaSortingFixed)){o=null!==a.aaSortingFixed?a.aaSortingFixed.concat(a.aaSorting):a.aaSorting.slice();for(c=0;c<o.length;c++)if(d=o[c][0],i=R(a,d),e=a.aoColumns[d].sSortDataType,j.ext.afnSortData[e])if(g=j.ext.afnSortData[e].call(a.oInstance,a,d,i),g.length===l.length){i=0;for(e=l.length;i<e;i++)F(a,i,d,g[i])}else D(a,0,"Returned data sort array (col "+d+") is the wrong length");c=
+0;for(d=a.aiDisplayMaster.length;c<d;c++)m[a.aiDisplayMaster[c]]=c;var r=o.length,s;c=0;for(d=l.length;c<d;c++)for(i=0;i<r;i++){s=q[o[i][0]].aDataSort;g=0;for(k=s.length;g<k;g++)e=q[s[g]].sType,e=p[(e?e:"string")+"-pre"],l[c]._aSortData[s[g]]=e?e(v(a,c,s[g],"sort")):v(a,c,s[g],"sort")}a.aiDisplayMaster.sort(function(a,b){var c,d,e,i,f;for(c=0;c<r;c++){f=q[o[c][0]].aDataSort;d=0;for(e=f.length;d<e;d++)if(i=q[f[d]].sType,i=p[(i?i:"string")+"-"+o[c][1]](l[a]._aSortData[f[d]],l[b]._aSortData[f[d]]),0!==
+i)return i}return p["numeric-asc"](m[a],m[b])})}(b===n||b)&&!a.oFeatures.bDeferRender&&P(a);c=0;for(d=a.aoColumns.length;c<d;c++)e=q[c].sTitle.replace(/<.*?>/g,""),i=q[c].nTh,i.removeAttribute("aria-sort"),i.removeAttribute("aria-label"),q[c].bSortable?0<o.length&&o[0][0]==c?(i.setAttribute("aria-sort","asc"==o[0][1]?"ascending":"descending"),i.setAttribute("aria-label",e+("asc"==(q[c].asSorting[o[0][2]+1]?q[c].asSorting[o[0][2]+1]:q[c].asSorting[0])?G.sSortAscending:G.sSortDescending))):i.setAttribute("aria-label",
+e+("asc"==q[c].asSorting[0]?G.sSortAscending:G.sSortDescending)):i.setAttribute("aria-label",e);a.bSorted=!0;h(a.oInstance).trigger("sort",a);a.oFeatures.bFilter?K(a,a.oPreviousSearch,1):(a.aiDisplay=a.aiDisplayMaster.slice(),a._iDisplayStart=0,y(a),x(a))}function ia(a,b,c,d){Ra(b,{},function(b){if(!1!==a.aoColumns[c].bSortable){var e=function(){var d,e;if(b.shiftKey){for(var f=!1,h=0;h<a.aaSorting.length;h++)if(a.aaSorting[h][0]==c){f=!0;d=a.aaSorting[h][0];e=a.aaSorting[h][2]+1;a.aoColumns[d].asSorting[e]?
+(a.aaSorting[h][1]=a.aoColumns[d].asSorting[e],a.aaSorting[h][2]=e):a.aaSorting.splice(h,1);break}!1===f&&a.aaSorting.push([c,a.aoColumns[c].asSorting[0],0])}else 1==a.aaSorting.length&&a.aaSorting[0][0]==c?(d=a.aaSorting[0][0],e=a.aaSorting[0][2]+1,a.aoColumns[d].asSorting[e]||(e=0),a.aaSorting[0][1]=a.aoColumns[d].asSorting[e],a.aaSorting[0][2]=e):(a.aaSorting.splice(0,a.aaSorting.length),a.aaSorting.push([c,a.aoColumns[c].asSorting[0],0]));O(a)};a.oFeatures.bProcessing?(E(a,!0),setTimeout(function(){e();
+a.oFeatures.bServerSide||E(a,!1)},0)):e();"function"==typeof d&&d(a)}})}function P(a){var b,c,d,e,f,g=a.aoColumns.length,j=a.oClasses;for(b=0;b<g;b++)a.aoColumns[b].bSortable&&h(a.aoColumns[b].nTh).removeClass(j.sSortAsc+" "+j.sSortDesc+" "+a.aoColumns[b].sSortingClass);c=null!==a.aaSortingFixed?a.aaSortingFixed.concat(a.aaSorting):a.aaSorting.slice();for(b=0;b<a.aoColumns.length;b++)if(a.aoColumns[b].bSortable){f=a.aoColumns[b].sSortingClass;e=-1;for(d=0;d<c.length;d++)if(c[d][0]==b){f="asc"==c[d][1]?
+j.sSortAsc:j.sSortDesc;e=d;break}h(a.aoColumns[b].nTh).addClass(f);a.bJUI&&(f=h("span."+j.sSortIcon,a.aoColumns[b].nTh),f.removeClass(j.sSortJUIAsc+" "+j.sSortJUIDesc+" "+j.sSortJUI+" "+j.sSortJUIAscAllowed+" "+j.sSortJUIDescAllowed),f.addClass(-1==e?a.aoColumns[b].sSortingClassJUI:"asc"==c[e][1]?j.sSortJUIAsc:j.sSortJUIDesc))}else h(a.aoColumns[b].nTh).addClass(a.aoColumns[b].sSortingClass);f=j.sSortColumn;if(a.oFeatures.bSort&&a.oFeatures.bSortClasses){a=J(a);e=[];for(b=0;b<g;b++)e.push("");b=0;
+for(d=1;b<c.length;b++)j=parseInt(c[b][0],10),e[j]=f+d,3>d&&d++;f=RegExp(f+"[123]");var o;b=0;for(c=a.length;b<c;b++)j=b%g,d=a[b].className,o=e[j],j=d.replace(f,o),j!=d?a[b].className=h.trim(j):0<o.length&&-1==d.indexOf(o)&&(a[b].className=d+" "+o)}}function ra(a){if(a.oFeatures.bStateSave&&!a.bDestroying){var b,c;b=a.oScroll.bInfinite;var d={iCreate:(new Date).getTime(),iStart:b?0:a._iDisplayStart,iEnd:b?a._iDisplayLength:a._iDisplayEnd,iLength:a._iDisplayLength,aaSorting:h.extend(!0,[],a.aaSorting),
+oSearch:h.extend(!0,{},a.oPreviousSearch),aoSearchCols:h.extend(!0,[],a.aoPreSearchCols),abVisCols:[]};b=0;for(c=a.aoColumns.length;b<c;b++)d.abVisCols.push(a.aoColumns[b].bVisible);A(a,"aoStateSaveParams","stateSaveParams",[a,d]);a.fnStateSave.call(a.oInstance,a,d)}}function Sa(a,b){if(a.oFeatures.bStateSave){var c=a.fnStateLoad.call(a.oInstance,a);if(c){var d=A(a,"aoStateLoadParams","stateLoadParams",[a,c]);if(-1===h.inArray(!1,d)){a.oLoadedState=h.extend(!0,{},c);a._iDisplayStart=c.iStart;a.iInitDisplayStart=
+c.iStart;a._iDisplayEnd=c.iEnd;a._iDisplayLength=c.iLength;a.aaSorting=c.aaSorting.slice();a.saved_aaSorting=c.aaSorting.slice();h.extend(a.oPreviousSearch,c.oSearch);h.extend(!0,a.aoPreSearchCols,c.aoSearchCols);b.saved_aoColumns=[];for(d=0;d<c.abVisCols.length;d++)b.saved_aoColumns[d]={},b.saved_aoColumns[d].bVisible=c.abVisCols[d];A(a,"aoStateLoaded","stateLoaded",[a,c])}}}}function s(a){for(var b=0;b<j.settings.length;b++)if(j.settings[b].nTable===a)return j.settings[b];return null}function T(a){for(var b=
+[],a=a.aoData,c=0,d=a.length;c<d;c++)null!==a[c].nTr&&b.push(a[c].nTr);return b}function J(a,b){var c=[],d,e,f,g,h,j;e=0;var o=a.aoData.length;b!==n&&(e=b,o=b+1);for(f=e;f<o;f++)if(j=a.aoData[f],null!==j.nTr){e=[];for(d=j.nTr.firstChild;d;)g=d.nodeName.toLowerCase(),("td"==g||"th"==g)&&e.push(d),d=d.nextSibling;g=d=0;for(h=a.aoColumns.length;g<h;g++)a.aoColumns[g].bVisible?c.push(e[g-d]):(c.push(j._anHidden[g]),d++)}return c}function D(a,b,c){a=null===a?"DataTables warning: "+c:"DataTables warning (table id = '"+
+a.sTableId+"'): "+c;if(0===b)if("alert"==j.ext.sErrMode)alert(a);else throw Error(a);else X.console&&console.log&&console.log(a)}function p(a,b,c,d){d===n&&(d=c);b[c]!==n&&(a[d]=b[c])}function Ta(a,b){var c,d;for(d in b)b.hasOwnProperty(d)&&(c=b[d],"object"===typeof e[d]&&null!==c&&!1===h.isArray(c)?h.extend(!0,a[d],c):a[d]=c);return a}function Ra(a,b,c){h(a).bind("click.DT",b,function(b){a.blur();c(b)}).bind("keypress.DT",b,function(a){13===a.which&&c(a)}).bind("selectstart.DT",function(){return!1})}
+function z(a,b,c,d){c&&a[b].push({fn:c,sName:d})}function A(a,b,c,d){for(var b=a[b],e=[],f=b.length-1;0<=f;f--)e.push(b[f].fn.apply(a.oInstance,d));null!==c&&h(a.oInstance).trigger(c,d);return e}function Ua(a){var b=h('<div style="position:absolute; top:0; left:0; height:1px; width:1px; overflow:hidden"><div style="position:absolute; top:1px; left:1px; width:100px; overflow:scroll;"><div id="DT_BrowserTest" style="width:100%; height:10px;"></div></div></div>')[0];l.body.appendChild(b);a.oBrowser.bScrollOversize=
+100===h("#DT_BrowserTest",b)[0].offsetWidth?!0:!1;l.body.removeChild(b)}function Va(a){return function(){var b=[s(this[j.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return j.ext.oApi[a].apply(this,b)}}var U=/\[.*?\]$/,Wa=X.JSON?JSON.stringify:function(a){var b=typeof a;if("object"!==b||null===a)return"string"===b&&(a='"'+a+'"'),a+"";var c,d,e=[],f=h.isArray(a);for(c in a)d=a[c],b=typeof d,"string"===b?d='"'+d+'"':"object"===b&&null!==d&&(d=Wa(d)),e.push((f?"":'"'+c+'":')+d);return(f?
+"[":"{")+e+(f?"]":"}")};this.$=function(a,b){var c,d,e=[],f;d=s(this[j.ext.iApiIndex]);var g=d.aoData,o=d.aiDisplay,k=d.aiDisplayMaster;b||(b={});b=h.extend({},{filter:"none",order:"current",page:"all"},b);if("current"==b.page){c=d._iDisplayStart;for(d=d.fnDisplayEnd();c<d;c++)(f=g[o[c]].nTr)&&e.push(f)}else if("current"==b.order&&"none"==b.filter){c=0;for(d=k.length;c<d;c++)(f=g[k[c]].nTr)&&e.push(f)}else if("current"==b.order&&"applied"==b.filter){c=0;for(d=o.length;c<d;c++)(f=g[o[c]].nTr)&&e.push(f)}else if("original"==
+b.order&&"none"==b.filter){c=0;for(d=g.length;c<d;c++)(f=g[c].nTr)&&e.push(f)}else if("original"==b.order&&"applied"==b.filter){c=0;for(d=g.length;c<d;c++)f=g[c].nTr,-1!==h.inArray(c,o)&&f&&e.push(f)}else D(d,1,"Unknown selection options");e=h(e);c=e.filter(a);e=e.find(a);return h([].concat(h.makeArray(c),h.makeArray(e)))};this._=function(a,b){var c=[],d,e,f=this.$(a,b);d=0;for(e=f.length;d<e;d++)c.push(this.fnGetData(f[d]));return c};this.fnAddData=function(a,b){if(0===a.length)return[];var c=[],
+d,e=s(this[j.ext.iApiIndex]);if("object"===typeof a[0]&&null!==a[0])for(var f=0;f<a.length;f++){d=H(e,a[f]);if(-1==d)return c;c.push(d)}else{d=H(e,a);if(-1==d)return c;c.push(d)}e.aiDisplay=e.aiDisplayMaster.slice();(b===n||b)&&aa(e);return c};this.fnAdjustColumnSizing=function(a){var b=s(this[j.ext.iApiIndex]);k(b);a===n||a?this.fnDraw(!1):(""!==b.oScroll.sX||""!==b.oScroll.sY)&&this.oApi._fnScrollDraw(b)};this.fnClearTable=function(a){var b=s(this[j.ext.iApiIndex]);ga(b);(a===n||a)&&x(b)};this.fnClose=
+function(a){for(var b=s(this[j.ext.iApiIndex]),c=0;c<b.aoOpenRows.length;c++)if(b.aoOpenRows[c].nParent==a)return(a=b.aoOpenRows[c].nTr.parentNode)&&a.removeChild(b.aoOpenRows[c].nTr),b.aoOpenRows.splice(c,1),0;return 1};this.fnDeleteRow=function(a,b,c){var d=s(this[j.ext.iApiIndex]),e,f,a="object"===typeof a?I(d,a):a,g=d.aoData.splice(a,1);e=0;for(f=d.aoData.length;e<f;e++)null!==d.aoData[e].nTr&&(d.aoData[e].nTr._DT_RowIndex=e);e=h.inArray(a,d.aiDisplay);d.asDataSearch.splice(e,1);ha(d.aiDisplayMaster,
+a);ha(d.aiDisplay,a);"function"===typeof b&&b.call(this,d,g);d._iDisplayStart>=d.fnRecordsDisplay()&&(d._iDisplayStart-=d._iDisplayLength,0>d._iDisplayStart&&(d._iDisplayStart=0));if(c===n||c)y(d),x(d);return g};this.fnDestroy=function(a){var b=s(this[j.ext.iApiIndex]),c=b.nTableWrapper.parentNode,d=b.nTBody,i,f,a=a===n?!1:a;b.bDestroying=!0;A(b,"aoDestroyCallback","destroy",[b]);if(!a){i=0;for(f=b.aoColumns.length;i<f;i++)!1===b.aoColumns[i].bVisible&&this.fnSetColumnVis(i,!0)}h(b.nTableWrapper).find("*").andSelf().unbind(".DT");
+h("tbody>tr>td."+b.oClasses.sRowEmpty,b.nTable).parent().remove();b.nTable!=b.nTHead.parentNode&&(h(b.nTable).children("thead").remove(),b.nTable.appendChild(b.nTHead));b.nTFoot&&b.nTable!=b.nTFoot.parentNode&&(h(b.nTable).children("tfoot").remove(),b.nTable.appendChild(b.nTFoot));b.nTable.parentNode.removeChild(b.nTable);h(b.nTableWrapper).remove();b.aaSorting=[];b.aaSortingFixed=[];P(b);h(T(b)).removeClass(b.asStripeClasses.join(" "));h("th, td",b.nTHead).removeClass([b.oClasses.sSortable,b.oClasses.sSortableAsc,
+b.oClasses.sSortableDesc,b.oClasses.sSortableNone].join(" "));b.bJUI&&(h("th span."+b.oClasses.sSortIcon+", td span."+b.oClasses.sSortIcon,b.nTHead).remove(),h("th, td",b.nTHead).each(function(){var a=h("div."+b.oClasses.sSortJUIWrapper,this),c=a.contents();h(this).append(c);a.remove()}));!a&&b.nTableReinsertBefore?c.insertBefore(b.nTable,b.nTableReinsertBefore):a||c.appendChild(b.nTable);i=0;for(f=b.aoData.length;i<f;i++)null!==b.aoData[i].nTr&&d.appendChild(b.aoData[i].nTr);!0===b.oFeatures.bAutoWidth&&
+(b.nTable.style.width=q(b.sDestroyWidth));if(f=b.asDestroyStripes.length){a=h(d).children("tr");for(i=0;i<f;i++)a.filter(":nth-child("+f+"n + "+i+")").addClass(b.asDestroyStripes[i])}i=0;for(f=j.settings.length;i<f;i++)j.settings[i]==b&&j.settings.splice(i,1);e=b=null};this.fnDraw=function(a){var b=s(this[j.ext.iApiIndex]);!1===a?(y(b),x(b)):aa(b)};this.fnFilter=function(a,b,c,d,e,f){var g=s(this[j.ext.iApiIndex]);if(g.oFeatures.bFilter){if(c===n||null===c)c=!1;if(d===n||null===d)d=!0;if(e===n||null===
+e)e=!0;if(f===n||null===f)f=!0;if(b===n||null===b){if(K(g,{sSearch:a+"",bRegex:c,bSmart:d,bCaseInsensitive:f},1),e&&g.aanFeatures.f){b=g.aanFeatures.f;c=0;for(d=b.length;c<d;c++)try{b[c]._DT_Input!=l.activeElement&&h(b[c]._DT_Input).val(a)}catch(o){h(b[c]._DT_Input).val(a)}}}else h.extend(g.aoPreSearchCols[b],{sSearch:a+"",bRegex:c,bSmart:d,bCaseInsensitive:f}),K(g,g.oPreviousSearch,1)}};this.fnGetData=function(a,b){var c=s(this[j.ext.iApiIndex]);if(a!==n){var d=a;if("object"===typeof a){var e=a.nodeName.toLowerCase();
+"tr"===e?d=I(c,a):"td"===e&&(d=I(c,a.parentNode),b=fa(c,d,a))}return b!==n?v(c,d,b,""):c.aoData[d]!==n?c.aoData[d]._aData:null}return Z(c)};this.fnGetNodes=function(a){var b=s(this[j.ext.iApiIndex]);return a!==n?b.aoData[a]!==n?b.aoData[a].nTr:null:T(b)};this.fnGetPosition=function(a){var b=s(this[j.ext.iApiIndex]),c=a.nodeName.toUpperCase();return"TR"==c?I(b,a):"TD"==c||"TH"==c?(c=I(b,a.parentNode),a=fa(b,c,a),[c,R(b,a),a]):null};this.fnIsOpen=function(a){for(var b=s(this[j.ext.iApiIndex]),c=0;c<
+b.aoOpenRows.length;c++)if(b.aoOpenRows[c].nParent==a)return!0;return!1};this.fnOpen=function(a,b,c){var d=s(this[j.ext.iApiIndex]),e=T(d);if(-1!==h.inArray(a,e)){this.fnClose(a);var e=l.createElement("tr"),f=l.createElement("td");e.appendChild(f);f.className=c;f.colSpan=t(d);"string"===typeof b?f.innerHTML=b:h(f).html(b);b=h("tr",d.nTBody);-1!=h.inArray(a,b)&&h(e).insertAfter(a);d.aoOpenRows.push({nTr:e,nParent:a});return e}};this.fnPageChange=function(a,b){var c=s(this[j.ext.iApiIndex]);qa(c,a);
+y(c);(b===n||b)&&x(c)};this.fnSetColumnVis=function(a,b,c){var d=s(this[j.ext.iApiIndex]),e,f,g=d.aoColumns,h=d.aoData,o,m;if(g[a].bVisible!=b){if(b){for(e=f=0;e<a;e++)g[e].bVisible&&f++;m=f>=t(d);if(!m)for(e=a;e<g.length;e++)if(g[e].bVisible){o=e;break}e=0;for(f=h.length;e<f;e++)null!==h[e].nTr&&(m?h[e].nTr.appendChild(h[e]._anHidden[a]):h[e].nTr.insertBefore(h[e]._anHidden[a],J(d,e)[o]))}else{e=0;for(f=h.length;e<f;e++)null!==h[e].nTr&&(o=J(d,e)[a],h[e]._anHidden[a]=o,o.parentNode.removeChild(o))}g[a].bVisible=
+b;W(d,d.aoHeader);d.nTFoot&&W(d,d.aoFooter);e=0;for(f=d.aoOpenRows.length;e<f;e++)d.aoOpenRows[e].nTr.colSpan=t(d);if(c===n||c)k(d),x(d);ra(d)}};this.fnSettings=function(){return s(this[j.ext.iApiIndex])};this.fnSort=function(a){var b=s(this[j.ext.iApiIndex]);b.aaSorting=a;O(b)};this.fnSortListener=function(a,b,c){ia(s(this[j.ext.iApiIndex]),a,b,c)};this.fnUpdate=function(a,b,c,d,e){var f=s(this[j.ext.iApiIndex]),b="object"===typeof b?I(f,b):b;if(h.isArray(a)&&c===n){f.aoData[b]._aData=a.slice();
+for(c=0;c<f.aoColumns.length;c++)this.fnUpdate(v(f,b,c),b,c,!1,!1)}else if(h.isPlainObject(a)&&c===n){f.aoData[b]._aData=h.extend(!0,{},a);for(c=0;c<f.aoColumns.length;c++)this.fnUpdate(v(f,b,c),b,c,!1,!1)}else{F(f,b,c,a);var a=v(f,b,c,"display"),g=f.aoColumns[c];null!==g.fnRender&&(a=S(f,b,c),g.bUseRendered&&F(f,b,c,a));null!==f.aoData[b].nTr&&(J(f,b)[c].innerHTML=a)}c=h.inArray(b,f.aiDisplay);f.asDataSearch[c]=na(f,Y(f,b,"filter",r(f,"bSearchable")));(e===n||e)&&k(f);(d===n||d)&&aa(f);return 0};
+this.fnVersionCheck=j.ext.fnVersionCheck;this.oApi={_fnExternApiFunc:Va,_fnInitialise:ba,_fnInitComplete:$,_fnLanguageCompat:pa,_fnAddColumn:o,_fnColumnOptions:m,_fnAddData:H,_fnCreateTr:ea,_fnGatherData:ua,_fnBuildHead:va,_fnDrawHead:W,_fnDraw:x,_fnReDraw:aa,_fnAjaxUpdate:wa,_fnAjaxParameters:Ea,_fnAjaxUpdateDraw:Fa,_fnServerParams:ka,_fnAddOptionsHtml:xa,_fnFeatureHtmlTable:Ba,_fnScrollDraw:La,_fnAdjustColumnSizing:k,_fnFeatureHtmlFilter:za,_fnFilterComplete:K,_fnFilterCustom:Ia,_fnFilterColumn:Ha,
+_fnFilter:Ga,_fnBuildSearchArray:la,_fnBuildSearchRow:na,_fnFilterCreateSearch:ma,_fnDataToSearch:Ja,_fnSort:O,_fnSortAttachListener:ia,_fnSortingClasses:P,_fnFeatureHtmlPaginate:Da,_fnPageChange:qa,_fnFeatureHtmlInfo:Ca,_fnUpdateInfo:Ka,_fnFeatureHtmlLength:ya,_fnFeatureHtmlProcessing:Aa,_fnProcessingDisplay:E,_fnVisibleToColumnIndex:G,_fnColumnIndexToVisible:R,_fnNodeToDataIndex:I,_fnVisbleColumns:t,_fnCalculateEnd:y,_fnConvertToWidth:Ma,_fnCalculateColumnWidths:da,_fnScrollingWidthAdjust:Oa,_fnGetWidestNode:Na,
+_fnGetMaxLenString:Pa,_fnStringToCss:q,_fnDetectType:B,_fnSettingsFromNode:s,_fnGetDataMaster:Z,_fnGetTrNodes:T,_fnGetTdNodes:J,_fnEscapeRegex:oa,_fnDeleteIndex:ha,_fnReOrderIndex:u,_fnColumnOrdering:M,_fnLog:D,_fnClearTable:ga,_fnSaveState:ra,_fnLoadState:Sa,_fnCreateCookie:function(a,b,c,d,e){var f=new Date;f.setTime(f.getTime()+1E3*c);var c=X.location.pathname.split("/"),a=a+"_"+c.pop().replace(/[\/:]/g,"").toLowerCase(),g;null!==e?(g="function"===typeof h.parseJSON?h.parseJSON(b):eval("("+b+")"),
+b=e(a,g,f.toGMTString(),c.join("/")+"/")):b=a+"="+encodeURIComponent(b)+"; expires="+f.toGMTString()+"; path="+c.join("/")+"/";a=l.cookie.split(";");e=b.split(";")[0].length;f=[];if(4096<e+l.cookie.length+10){for(var j=0,o=a.length;j<o;j++)if(-1!=a[j].indexOf(d)){var k=a[j].split("=");try{(g=eval("("+decodeURIComponent(k[1])+")"))&&g.iCreate&&f.push({name:k[0],time:g.iCreate})}catch(m){}}for(f.sort(function(a,b){return b.time-a.time});4096<e+l.cookie.length+10;){if(0===f.length)return;d=f.pop();l.cookie=
+d.name+"=; expires=Thu, 01-Jan-1970 00:00:01 GMT; path="+c.join("/")+"/"}}l.cookie=b},_fnReadCookie:function(a){for(var b=X.location.pathname.split("/"),a=a+"_"+b[b.length-1].replace(/[\/:]/g,"").toLowerCase()+"=",b=l.cookie.split(";"),c=0;c<b.length;c++){for(var d=b[c];" "==d.charAt(0);)d=d.substring(1,d.length);if(0===d.indexOf(a))return decodeURIComponent(d.substring(a.length,d.length))}return null},_fnDetectHeader:V,_fnGetUniqueThs:N,_fnScrollBarWidth:Qa,_fnApplyToChildren:C,_fnMap:p,_fnGetRowData:Y,
+_fnGetCellData:v,_fnSetCellData:F,_fnGetObjectDataFn:Q,_fnSetObjectDataFn:L,_fnApplyColumnDefs:ta,_fnBindAction:Ra,_fnExtend:Ta,_fnCallbackReg:z,_fnCallbackFire:A,_fnJsonString:Wa,_fnRender:S,_fnNodeToColumnIndex:fa,_fnInfoMacros:ja,_fnBrowserDetect:Ua,_fnGetColumns:r};h.extend(j.ext.oApi,this.oApi);for(var sa in j.ext.oApi)sa&&(this[sa]=Va(sa));var ca=this;this.each(function(){var a=0,b,c,d;c=this.getAttribute("id");var i=!1,f=!1;if("table"!=this.nodeName.toLowerCase())D(null,0,"Attempted to initialise DataTables on a node which is not a table: "+
+this.nodeName);else{a=0;for(b=j.settings.length;a<b;a++){if(j.settings[a].nTable==this){if(e===n||e.bRetrieve)return j.settings[a].oInstance;if(e.bDestroy){j.settings[a].oInstance.fnDestroy();break}else{D(j.settings[a],0,"Cannot reinitialise DataTable.\n\nTo retrieve the DataTables object for this table, pass no arguments or see the docs for bRetrieve and bDestroy");return}}if(j.settings[a].sTableId==this.id){j.settings.splice(a,1);break}}if(null===c||""===c)this.id=c="DataTables_Table_"+j.ext._oExternConfig.iNextUnique++;
+var g=h.extend(!0,{},j.models.oSettings,{nTable:this,oApi:ca.oApi,oInit:e,sDestroyWidth:h(this).width(),sInstance:c,sTableId:c});j.settings.push(g);g.oInstance=1===ca.length?ca:h(this).dataTable();e||(e={});e.oLanguage&&pa(e.oLanguage);e=Ta(h.extend(!0,{},j.defaults),e);p(g.oFeatures,e,"bPaginate");p(g.oFeatures,e,"bLengthChange");p(g.oFeatures,e,"bFilter");p(g.oFeatures,e,"bSort");p(g.oFeatures,e,"bInfo");p(g.oFeatures,e,"bProcessing");p(g.oFeatures,e,"bAutoWidth");p(g.oFeatures,e,"bSortClasses");
+p(g.oFeatures,e,"bServerSide");p(g.oFeatures,e,"bDeferRender");p(g.oScroll,e,"sScrollX","sX");p(g.oScroll,e,"sScrollXInner","sXInner");p(g.oScroll,e,"sScrollY","sY");p(g.oScroll,e,"bScrollCollapse","bCollapse");p(g.oScroll,e,"bScrollInfinite","bInfinite");p(g.oScroll,e,"iScrollLoadGap","iLoadGap");p(g.oScroll,e,"bScrollAutoCss","bAutoCss");p(g,e,"asStripeClasses");p(g,e,"asStripClasses","asStripeClasses");p(g,e,"fnServerData");p(g,e,"fnFormatNumber");p(g,e,"sServerMethod");p(g,e,"aaSorting");p(g,
+e,"aaSortingFixed");p(g,e,"aLengthMenu");p(g,e,"sPaginationType");p(g,e,"sAjaxSource");p(g,e,"sAjaxDataProp");p(g,e,"iCookieDuration");p(g,e,"sCookiePrefix");p(g,e,"sDom");p(g,e,"bSortCellsTop");p(g,e,"iTabIndex");p(g,e,"oSearch","oPreviousSearch");p(g,e,"aoSearchCols","aoPreSearchCols");p(g,e,"iDisplayLength","_iDisplayLength");p(g,e,"bJQueryUI","bJUI");p(g,e,"fnCookieCallback");p(g,e,"fnStateLoad");p(g,e,"fnStateSave");p(g.oLanguage,e,"fnInfoCallback");z(g,"aoDrawCallback",e.fnDrawCallback,"user");
+z(g,"aoServerParams",e.fnServerParams,"user");z(g,"aoStateSaveParams",e.fnStateSaveParams,"user");z(g,"aoStateLoadParams",e.fnStateLoadParams,"user");z(g,"aoStateLoaded",e.fnStateLoaded,"user");z(g,"aoRowCallback",e.fnRowCallback,"user");z(g,"aoRowCreatedCallback",e.fnCreatedRow,"user");z(g,"aoHeaderCallback",e.fnHeaderCallback,"user");z(g,"aoFooterCallback",e.fnFooterCallback,"user");z(g,"aoInitComplete",e.fnInitComplete,"user");z(g,"aoPreDrawCallback",e.fnPreDrawCallback,"user");g.oFeatures.bServerSide&&
+g.oFeatures.bSort&&g.oFeatures.bSortClasses?z(g,"aoDrawCallback",P,"server_side_sort_classes"):g.oFeatures.bDeferRender&&z(g,"aoDrawCallback",P,"defer_sort_classes");e.bJQueryUI?(h.extend(g.oClasses,j.ext.oJUIClasses),e.sDom===j.defaults.sDom&&"lfrtip"===j.defaults.sDom&&(g.sDom='<"H"lfr>t<"F"ip>')):h.extend(g.oClasses,j.ext.oStdClasses);h(this).addClass(g.oClasses.sTable);if(""!==g.oScroll.sX||""!==g.oScroll.sY)g.oScroll.iBarWidth=Qa();g.iInitDisplayStart===n&&(g.iInitDisplayStart=e.iDisplayStart,
+g._iDisplayStart=e.iDisplayStart);e.bStateSave&&(g.oFeatures.bStateSave=!0,Sa(g,e),z(g,"aoDrawCallback",ra,"state_save"));null!==e.iDeferLoading&&(g.bDeferLoading=!0,a=h.isArray(e.iDeferLoading),g._iRecordsDisplay=a?e.iDeferLoading[0]:e.iDeferLoading,g._iRecordsTotal=a?e.iDeferLoading[1]:e.iDeferLoading);null!==e.aaData&&(f=!0);""!==e.oLanguage.sUrl?(g.oLanguage.sUrl=e.oLanguage.sUrl,h.getJSON(g.oLanguage.sUrl,null,function(a){pa(a);h.extend(true,g.oLanguage,e.oLanguage,a);ba(g)}),i=!0):h.extend(!0,
+g.oLanguage,e.oLanguage);null===e.asStripeClasses&&(g.asStripeClasses=[g.oClasses.sStripeOdd,g.oClasses.sStripeEven]);b=g.asStripeClasses.length;g.asDestroyStripes=[];if(b){c=!1;d=h(this).children("tbody").children("tr:lt("+b+")");for(a=0;a<b;a++)d.hasClass(g.asStripeClasses[a])&&(c=!0,g.asDestroyStripes.push(g.asStripeClasses[a]));c&&d.removeClass(g.asStripeClasses.join(" "))}c=[];a=this.getElementsByTagName("thead");0!==a.length&&(V(g.aoHeader,a[0]),c=N(g));if(null===e.aoColumns){d=[];a=0;for(b=
+c.length;a<b;a++)d.push(null)}else d=e.aoColumns;a=0;for(b=d.length;a<b;a++)e.saved_aoColumns!==n&&e.saved_aoColumns.length==b&&(null===d[a]&&(d[a]={}),d[a].bVisible=e.saved_aoColumns[a].bVisible),o(g,c?c[a]:null);ta(g,e.aoColumnDefs,d,function(a,b){m(g,a,b)});a=0;for(b=g.aaSorting.length;a<b;a++){g.aaSorting[a][0]>=g.aoColumns.length&&(g.aaSorting[a][0]=0);var k=g.aoColumns[g.aaSorting[a][0]];g.aaSorting[a][2]===n&&(g.aaSorting[a][2]=0);e.aaSorting===n&&g.saved_aaSorting===n&&(g.aaSorting[a][1]=
+k.asSorting[0]);c=0;for(d=k.asSorting.length;c<d;c++)if(g.aaSorting[a][1]==k.asSorting[c]){g.aaSorting[a][2]=c;break}}P(g);Ua(g);a=h(this).children("caption").each(function(){this._captionSide=h(this).css("caption-side")});b=h(this).children("thead");0===b.length&&(b=[l.createElement("thead")],this.appendChild(b[0]));g.nTHead=b[0];b=h(this).children("tbody");0===b.length&&(b=[l.createElement("tbody")],this.appendChild(b[0]));g.nTBody=b[0];g.nTBody.setAttribute("role","alert");g.nTBody.setAttribute("aria-live",
+"polite");g.nTBody.setAttribute("aria-relevant","all");b=h(this).children("tfoot");if(0===b.length&&0<a.length&&(""!==g.oScroll.sX||""!==g.oScroll.sY))b=[l.createElement("tfoot")],this.appendChild(b[0]);0<b.length&&(g.nTFoot=b[0],V(g.aoFooter,g.nTFoot));if(f)for(a=0;a<e.aaData.length;a++)H(g,e.aaData[a]);else ua(g);g.aiDisplay=g.aiDisplayMaster.slice();g.bInitialised=!0;!1===i&&ba(g)}});ca=null;return this};j.fnVersionCheck=function(e){for(var h=function(e,h){for(;e.length<h;)e+="0";return e},m=j.ext.sVersion.split("."),
+e=e.split("."),k="",n="",l=0,t=e.length;l<t;l++)k+=h(m[l],3),n+=h(e[l],3);return parseInt(k,10)>=parseInt(n,10)};j.fnIsDataTable=function(e){for(var h=j.settings,m=0;m<h.length;m++)if(h[m].nTable===e||h[m].nScrollHead===e||h[m].nScrollFoot===e)return!0;return!1};j.fnTables=function(e){var o=[];jQuery.each(j.settings,function(j,k){(!e||!0===e&&h(k.nTable).is(":visible"))&&o.push(k.nTable)});return o};j.version="1.9.4";j.settings=[];j.models={};j.models.ext={afnFiltering:[],afnSortData:[],aoFeatures:[],
+aTypes:[],fnVersionCheck:j.fnVersionCheck,iApiIndex:0,ofnSearch:{},oApi:{},oStdClasses:{},oJUIClasses:{},oPagination:{},oSort:{},sVersion:j.version,sErrMode:"alert",_oExternConfig:{iNextUnique:0}};j.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0};j.models.oRow={nTr:null,_aData:[],_aSortData:[],_anHidden:[],_sRowStripe:""};j.models.oColumn={aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bUseRendered:null,bVisible:null,_bAutoType:!0,fnCreatedCell:null,fnGetData:null,
+fnRender:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null};j.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bJQueryUI:!1,bLengthChange:!0,
+bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollAutoCss:!0,bScrollCollapse:!1,bScrollInfinite:!1,bServerSide:!1,bSort:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCookieCallback:null,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(e){if(1E3>e)return e;for(var h=e+"",e=h.split(""),j="",h=h.length,k=0;k<h;k++)0===k%3&&0!==k&&(j=this.oLanguage.sInfoThousands+j),j=e[h-k-1]+j;return j},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,
+fnRowCallback:null,fnServerData:function(e,j,m,k){k.jqXHR=h.ajax({url:e,data:j,success:function(e){e.sError&&k.oApi._fnLog(k,0,e.sError);h(k.oInstance).trigger("xhr",[k,e]);m(e)},dataType:"json",cache:!1,type:k.sServerMethod,error:function(e,h){"parsererror"==h&&k.oApi._fnLog(k,0,"DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.")}})},fnServerParams:null,fnStateLoad:function(e){var e=this.oApi._fnReadCookie(e.sCookiePrefix+e.sInstance),j;try{j=
+"function"===typeof h.parseJSON?h.parseJSON(e):eval("("+e+")")}catch(m){j=null}return j},fnStateLoadParams:null,fnStateLoaded:null,fnStateSave:function(e,h){this.oApi._fnCreateCookie(e.sCookiePrefix+e.sInstance,this.oApi._fnJsonString(h),e.iCookieDuration,e.sCookiePrefix,e.fnCookieCallback)},fnStateSaveParams:null,iCookieDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iScrollLoadGap:100,iTabIndex:0,oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},
+oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sInfoThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sUrl:"",sZeroRecords:"No matching records found"},oSearch:h.extend({},j.models.oSearch),sAjaxDataProp:"aaData",
+sAjaxSource:null,sCookiePrefix:"SpryMedia_DataTables_",sDom:"lfrtip",sPaginationType:"two_button",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET"};j.defaults.columns={aDataSort:null,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bUseRendered:!0,bVisible:!0,fnCreatedCell:null,fnRender:null,iDataSort:-1,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null};j.models.oSettings={oFeatures:{bAutoWidth:null,
+bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortClasses:null,bStateSave:null},oScroll:{bAutoCss:null,bCollapse:null,bInfinite:null,iBarWidth:0,iLoadGap:null,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1},aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aoColumns:[],aoHeader:[],aoFooter:[],asDataSearch:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:null,
+asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,sPaginationType:"two_button",iCookieDuration:0,sCookiePrefix:"",fnCookieCallback:null,aoStateSave:[],aoStateLoad:[],
+oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iDisplayEnd:10,_iRecordsTotal:0,_iRecordsDisplay:0,bJUI:null,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return this.oFeatures.bServerSide?parseInt(this._iRecordsTotal,10):this.aiDisplayMaster.length},
+fnRecordsDisplay:function(){return this.oFeatures.bServerSide?parseInt(this._iRecordsDisplay,10):this.aiDisplay.length},fnDisplayEnd:function(){return this.oFeatures.bServerSide?!1===this.oFeatures.bPaginate||-1==this._iDisplayLength?this._iDisplayStart+this.aiDisplay.length:Math.min(this._iDisplayStart+this._iDisplayLength,this._iRecordsDisplay):this._iDisplayEnd},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null};j.ext=h.extend(!0,{},j.models.ext);h.extend(j.ext.oStdClasses,
+{sTable:"dataTable",sPagePrevEnabled:"paginate_enabled_previous",sPagePrevDisabled:"paginate_disabled_previous",sPageNextEnabled:"paginate_enabled_next",sPageNextDisabled:"paginate_disabled_next",sPageJUINext:"",sPageJUIPrev:"",sPageButton:"paginate_button",sPageButtonActive:"paginate_active",sPageButtonStaticDisabled:"paginate_button paginate_button_disabled",sPageFirst:"first",sPagePrevious:"previous",sPageNext:"next",sPageLast:"last",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",
+sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",
+sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sFooterTH:"",sJUIHeader:"",sJUIFooter:""});h.extend(j.ext.oJUIClasses,j.ext.oStdClasses,{sPagePrevEnabled:"fg-button ui-button ui-state-default ui-corner-left",sPagePrevDisabled:"fg-button ui-button ui-state-default ui-corner-left ui-state-disabled",sPageNextEnabled:"fg-button ui-button ui-state-default ui-corner-right",
+sPageNextDisabled:"fg-button ui-button ui-state-default ui-corner-right ui-state-disabled",sPageJUINext:"ui-icon ui-icon-circle-arrow-e",sPageJUIPrev:"ui-icon ui-icon-circle-arrow-w",sPageButton:"fg-button ui-button ui-state-default",sPageButtonActive:"fg-button ui-button ui-state-default ui-state-disabled",sPageButtonStaticDisabled:"fg-button ui-button ui-state-default ui-state-disabled",sPageFirst:"first ui-corner-tl ui-corner-bl",sPageLast:"last ui-corner-tr ui-corner-br",sPaging:"dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",
+sSortAsc:"ui-state-default",sSortDesc:"ui-state-default",sSortable:"ui-state-default",sSortableAsc:"ui-state-default",sSortableDesc:"ui-state-default",sSortableNone:"ui-state-default",sSortJUIAsc:"css_right ui-icon ui-icon-triangle-1-n",sSortJUIDesc:"css_right ui-icon ui-icon-triangle-1-s",sSortJUI:"css_right ui-icon ui-icon-carat-2-n-s",sSortJUIAscAllowed:"css_right ui-icon ui-icon-carat-1-n",sSortJUIDescAllowed:"css_right ui-icon ui-icon-carat-1-s",sSortJUIWrapper:"DataTables_sort_wrapper",sSortIcon:"DataTables_sort_icon",
+sScrollHead:"dataTables_scrollHead ui-state-default",sScrollFoot:"dataTables_scrollFoot ui-state-default",sFooterTH:"ui-state-default",sJUIHeader:"fg-toolbar ui-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix",sJUIFooter:"fg-toolbar ui-toolbar ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix"});h.extend(j.ext.oPagination,{two_button:{fnInit:function(e,j,m){var k=e.oLanguage.oPaginate,n=function(h){e.oApi._fnPageChange(e,h.data.action)&&m(e)},k=!e.bJUI?'<a class="'+
+e.oClasses.sPagePrevDisabled+'" tabindex="'+e.iTabIndex+'" role="button">'+k.sPrevious+'</a><a class="'+e.oClasses.sPageNextDisabled+'" tabindex="'+e.iTabIndex+'" role="button">'+k.sNext+"</a>":'<a class="'+e.oClasses.sPagePrevDisabled+'" tabindex="'+e.iTabIndex+'" role="button"><span class="'+e.oClasses.sPageJUIPrev+'"></span></a><a class="'+e.oClasses.sPageNextDisabled+'" tabindex="'+e.iTabIndex+'" role="button"><span class="'+e.oClasses.sPageJUINext+'"></span></a>';h(j).append(k);var l=h("a",j),
+k=l[0],l=l[1];e.oApi._fnBindAction(k,{action:"previous"},n);e.oApi._fnBindAction(l,{action:"next"},n);e.aanFeatures.p||(j.id=e.sTableId+"_paginate",k.id=e.sTableId+"_previous",l.id=e.sTableId+"_next",k.setAttribute("aria-controls",e.sTableId),l.setAttribute("aria-controls",e.sTableId))},fnUpdate:function(e){if(e.aanFeatures.p)for(var h=e.oClasses,j=e.aanFeatures.p,k,l=0,n=j.length;l<n;l++)if(k=j[l].firstChild)k.className=0===e._iDisplayStart?h.sPagePrevDisabled:h.sPagePrevEnabled,k=k.nextSibling,
+k.className=e.fnDisplayEnd()==e.fnRecordsDisplay()?h.sPageNextDisabled:h.sPageNextEnabled}},iFullNumbersShowPages:5,full_numbers:{fnInit:function(e,j,m){var k=e.oLanguage.oPaginate,l=e.oClasses,n=function(h){e.oApi._fnPageChange(e,h.data.action)&&m(e)};h(j).append('<a tabindex="'+e.iTabIndex+'" class="'+l.sPageButton+" "+l.sPageFirst+'">'+k.sFirst+'</a><a tabindex="'+e.iTabIndex+'" class="'+l.sPageButton+" "+l.sPagePrevious+'">'+k.sPrevious+'</a><span></span><a tabindex="'+e.iTabIndex+'" class="'+
+l.sPageButton+" "+l.sPageNext+'">'+k.sNext+'</a><a tabindex="'+e.iTabIndex+'" class="'+l.sPageButton+" "+l.sPageLast+'">'+k.sLast+"</a>");var t=h("a",j),k=t[0],l=t[1],r=t[2],t=t[3];e.oApi._fnBindAction(k,{action:"first"},n);e.oApi._fnBindAction(l,{action:"previous"},n);e.oApi._fnBindAction(r,{action:"next"},n);e.oApi._fnBindAction(t,{action:"last"},n);e.aanFeatures.p||(j.id=e.sTableId+"_paginate",k.id=e.sTableId+"_first",l.id=e.sTableId+"_previous",r.id=e.sTableId+"_next",t.id=e.sTableId+"_last")},
+fnUpdate:function(e,o){if(e.aanFeatures.p){var m=j.ext.oPagination.iFullNumbersShowPages,k=Math.floor(m/2),l=Math.ceil(e.fnRecordsDisplay()/e._iDisplayLength),n=Math.ceil(e._iDisplayStart/e._iDisplayLength)+1,t="",r,B=e.oClasses,u,M=e.aanFeatures.p,L=function(h){e.oApi._fnBindAction(this,{page:h+r-1},function(h){e.oApi._fnPageChange(e,h.data.page);o(e);h.preventDefault()})};-1===e._iDisplayLength?n=k=r=1:l<m?(r=1,k=l):n<=k?(r=1,k=m):n>=l-k?(r=l-m+1,k=l):(r=n-Math.ceil(m/2)+1,k=r+m-1);for(m=r;m<=k;m++)t+=
+n!==m?'<a tabindex="'+e.iTabIndex+'" class="'+B.sPageButton+'">'+e.fnFormatNumber(m)+"</a>":'<a tabindex="'+e.iTabIndex+'" class="'+B.sPageButtonActive+'">'+e.fnFormatNumber(m)+"</a>";m=0;for(k=M.length;m<k;m++)u=M[m],u.hasChildNodes()&&(h("span:eq(0)",u).html(t).children("a").each(L),u=u.getElementsByTagName("a"),u=[u[0],u[1],u[u.length-2],u[u.length-1]],h(u).removeClass(B.sPageButton+" "+B.sPageButtonActive+" "+B.sPageButtonStaticDisabled),h([u[0],u[1]]).addClass(1==n?B.sPageButtonStaticDisabled:
+B.sPageButton),h([u[2],u[3]]).addClass(0===l||n===l||-1===e._iDisplayLength?B.sPageButtonStaticDisabled:B.sPageButton))}}}});h.extend(j.ext.oSort,{"string-pre":function(e){"string"!=typeof e&&(e=null!==e&&e.toString?e.toString():"");return e.toLowerCase()},"string-asc":function(e,h){return e<h?-1:e>h?1:0},"string-desc":function(e,h){return e<h?1:e>h?-1:0},"html-pre":function(e){return e.replace(/<.*?>/g,"").toLowerCase()},"html-asc":function(e,h){return e<h?-1:e>h?1:0},"html-desc":function(e,h){return e<
+h?1:e>h?-1:0},"date-pre":function(e){e=Date.parse(e);if(isNaN(e)||""===e)e=Date.parse("01/01/1970 00:00:00");return e},"date-asc":function(e,h){return e-h},"date-desc":function(e,h){return h-e},"numeric-pre":function(e){return"-"==e||""===e?0:1*e},"numeric-asc":function(e,h){return e-h},"numeric-desc":function(e,h){return h-e}});h.extend(j.ext.aTypes,[function(e){if("number"===typeof e)return"numeric";if("string"!==typeof e)return null;var h,j=!1;h=e.charAt(0);if(-1=="0123456789-".indexOf(h))return null;
+for(var k=1;k<e.length;k++){h=e.charAt(k);if(-1=="0123456789.".indexOf(h))return null;if("."==h){if(j)return null;j=!0}}return"numeric"},function(e){var h=Date.parse(e);return null!==h&&!isNaN(h)||"string"===typeof e&&0===e.length?"date":null},function(e){return"string"===typeof e&&-1!=e.indexOf("<")&&-1!=e.indexOf(">")?"html":null}]);h.fn.DataTable=j;h.fn.dataTable=j;h.fn.dataTableSettings=j.settings;h.fn.dataTableExt=j.ext};"function"===typeof define&&define.amd?define(["jquery"],L):jQuery&&!jQuery.fn.dataTable&&
+L(jQuery)})(window,document);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/animated-overlay.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/animated-overlay.gif
new file mode 100644
index 00000000..d441f75e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/animated-overlay.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_flat_0_aaaaaa_40x100.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_flat_0_aaaaaa_40x100.png
new file mode 100644
index 00000000..5b5dab2a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_flat_0_aaaaaa_40x100.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_flat_75_ffffff_40x100.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_flat_75_ffffff_40x100.png
new file mode 100644
index 00000000..ac8b229a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_flat_75_ffffff_40x100.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_55_fbf9ee_1x400.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_55_fbf9ee_1x400.png
new file mode 100644
index 00000000..ad3d6346
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_55_fbf9ee_1x400.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_65_ffffff_1x400.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_65_ffffff_1x400.png
new file mode 100644
index 00000000..42ccba26
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_65_ffffff_1x400.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_75_dadada_1x400.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_75_dadada_1x400.png
new file mode 100644
index 00000000..5a46b47c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_75_dadada_1x400.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_75_e6e6e6_1x400.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_75_e6e6e6_1x400.png
new file mode 100644
index 00000000..86c2baa6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_75_e6e6e6_1x400.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_95_fef1ec_1x400.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_95_fef1ec_1x400.png
new file mode 100644
index 00000000..4443fdc1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_95_fef1ec_1x400.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
new file mode 100644
index 00000000..7c9fa6c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_222222_256x240.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_222222_256x240.png
new file mode 100644
index 00000000..ee039dc0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_222222_256x240.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_2e83ff_256x240.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_2e83ff_256x240.png
new file mode 100644
index 00000000..45e8928e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_2e83ff_256x240.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_454545_256x240.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_454545_256x240.png
new file mode 100644
index 00000000..7ec70d11
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_454545_256x240.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_888888_256x240.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_888888_256x240.png
new file mode 100644
index 00000000..5ba708c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_888888_256x240.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_cd0a0a_256x240.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_cd0a0a_256x240.png
new file mode 100644
index 00000000..7930a558
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_cd0a0a_256x240.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/jquery-ui-timepicker-addon.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/jquery-ui-timepicker-addon.css
new file mode 100644
index 00000000..b93a85f6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/jquery-ui-timepicker-addon.css
@@ -0,0 +1,10 @@
+.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
+.ui-timepicker-div dl { text-align: left; }
+.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
+.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
+.ui-timepicker-div td { font-size: 90%; }
+.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
+
+.ui-timepicker-rtl{ direction: rtl; }
+.ui-timepicker-rtl dl { text-align: right; }
+.ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; } \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/jquery-ui.min.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/jquery-ui.min.css
new file mode 100644
index 00000000..b84984a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/css/base/jquery-ui.min.css
@@ -0,0 +1,4 @@
+/*! 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, jquery.ui.theme.css
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */ .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}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.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}.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}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.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}input.ui-button{padding:.4em 1em}.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}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}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:700;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;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;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.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}.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:0;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 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:0}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:400}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:400;margin:-1px}.ui-menu .ui-state-disabled{font-weight:400;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.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:url(images/animated-overlay.gif);height:100%;filter:alpha(opacity=25);opacity:.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.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 #000}.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}.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:0;background:0;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}.ui-spinner a.ui-spinner-button{border-top:0;border-bottom:0;border-right:0}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;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,.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:0}.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}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222;font-weight:700}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:400;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;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 #999;background:#dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:400;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:400;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;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:#fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;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:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:400}.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)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-state-default .ui-icon{background-image:url(images/ui-icons_888888_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_454545_256x240.png)}.ui-state-active .ui-icon{background-image:url(images/ui-icons_454545_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_2e83ff_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_cd0a0a_256x240.png)}.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{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}.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}.ui-widget-overlay{background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/i18n/jquery-ui-i18n.min.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/i18n/jquery-ui-i18n.min.js
new file mode 100644
index 00000000..346d0f52
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/i18n/jquery-ui-i18n.min.js
@@ -0,0 +1,6 @@
+/*! jQuery UI - v1.10.3 - 2013-05-03
+* http://jqueryui.com
+* Includes: jquery.ui.datepicker-af.js, jquery.ui.datepicker-ar-DZ.js, jquery.ui.datepicker-ar.js, jquery.ui.datepicker-az.js, jquery.ui.datepicker-be.js, jquery.ui.datepicker-bg.js, jquery.ui.datepicker-bs.js, jquery.ui.datepicker-ca.js, jquery.ui.datepicker-cs.js, jquery.ui.datepicker-cy-GB.js, jquery.ui.datepicker-da.js, jquery.ui.datepicker-de.js, jquery.ui.datepicker-el.js, jquery.ui.datepicker-en-AU.js, jquery.ui.datepicker-en-GB.js, jquery.ui.datepicker-en-NZ.js, jquery.ui.datepicker-eo.js, jquery.ui.datepicker-es.js, jquery.ui.datepicker-et.js, jquery.ui.datepicker-eu.js, jquery.ui.datepicker-fa.js, jquery.ui.datepicker-fi.js, jquery.ui.datepicker-fo.js, jquery.ui.datepicker-fr-CA.js, jquery.ui.datepicker-fr-CH.js, jquery.ui.datepicker-fr.js, jquery.ui.datepicker-gl.js, jquery.ui.datepicker-he.js, jquery.ui.datepicker-hi.js, jquery.ui.datepicker-hr.js, jquery.ui.datepicker-hu.js, jquery.ui.datepicker-hy.js, jquery.ui.datepicker-id.js, jquery.ui.datepicker-is.js, jquery.ui.datepicker-it.js, jquery.ui.datepicker-ja.js, jquery.ui.datepicker-ka.js, jquery.ui.datepicker-kk.js, jquery.ui.datepicker-km.js, jquery.ui.datepicker-ko.js, jquery.ui.datepicker-ky.js, jquery.ui.datepicker-lb.js, jquery.ui.datepicker-lt.js, jquery.ui.datepicker-lv.js, jquery.ui.datepicker-mk.js, jquery.ui.datepicker-ml.js, jquery.ui.datepicker-ms.js, jquery.ui.datepicker-nb.js, jquery.ui.datepicker-nl-BE.js, jquery.ui.datepicker-nl.js, jquery.ui.datepicker-nn.js, jquery.ui.datepicker-no.js, jquery.ui.datepicker-pl.js, jquery.ui.datepicker-pt-BR.js, jquery.ui.datepicker-pt.js, jquery.ui.datepicker-rm.js, jquery.ui.datepicker-ro.js, jquery.ui.datepicker-ru.js, jquery.ui.datepicker-sk.js, jquery.ui.datepicker-sl.js, jquery.ui.datepicker-sq.js, jquery.ui.datepicker-sr-SR.js, jquery.ui.datepicker-sr.js, jquery.ui.datepicker-sv.js, jquery.ui.datepicker-ta.js, jquery.ui.datepicker-th.js, jquery.ui.datepicker-tj.js, jquery.ui.datepicker-tr.js, jquery.ui.datepicker-uk.js, jquery.ui.datepicker-vi.js, jquery.ui.datepicker-zh-CN.js, jquery.ui.datepicker-zh-HK.js, jquery.ui.datepicker-zh-TW.js
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.af={closeText:"Selekteer",prevText:"Vorige",nextText:"Volgende",currentText:"Vandag",monthNames:["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"],monthNamesShort:["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],dayNames:["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],dayNamesShort:["Son","Maa","Din","Woe","Don","Vry","Sat"],dayNamesMin:["So","Ma","Di","Wo","Do","Vr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.af)}),jQuery(function(e){e.datepicker.regional["ar-DZ"]={closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["ar-DZ"])}),jQuery(function(e){e.datepicker.regional.ar={closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["كانون الثاني","شباط","آذار","نيسان","مايو","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ar)}),jQuery(function(e){e.datepicker.regional.az={closeText:"Bağla",prevText:"&#x3C;Geri",nextText:"İrəli&#x3E;",currentText:"Bugün",monthNames:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],monthNamesShort:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avq","Sen","Okt","Noy","Dek"],dayNames:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"],dayNamesShort:["B","Be","Ça","Ç","Ca","C","Ş"],dayNamesMin:["B","B","Ç","С","Ç","C","Ş"],weekHeader:"Hf",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.az)}),jQuery(function(e){e.datepicker.regional.be={closeText:"Зачыніць",prevText:"&larr;Папяр.",nextText:"Наст.&rarr;",currentText:"Сёньня",monthNames:["Студзень","Люты","Сакавік","Красавік","Травень","Чэрвень","Ліпень","Жнівень","Верасень","Кастрычнік","Лістапад","Сьнежань"],monthNamesShort:["Сту","Лют","Сак","Кра","Тра","Чэр","Ліп","Жні","Вер","Кас","Ліс","Сьн"],dayNames:["нядзеля","панядзелак","аўторак","серада","чацьвер","пятніца","субота"],dayNamesShort:["ндз","пнд","аўт","срд","чцв","птн","сбт"],dayNamesMin:["Нд","Пн","Аў","Ср","Чц","Пт","Сб"],weekHeader:"Тд",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.be)}),jQuery(function(e){e.datepicker.regional.bg={closeText:"затвори",prevText:"&#x3C;назад",nextText:"напред&#x3E;",nextBigText:"&#x3E;&#x3E;",currentText:"днес",monthNames:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],monthNamesShort:["Яну","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","Окт","Нов","Дек"],dayNames:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],dayNamesShort:["Нед","Пон","Вто","Сря","Чет","Пет","Съб"],dayNamesMin:["Не","По","Вт","Ср","Че","Пе","Съ"],weekHeader:"Wk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.bg)}),jQuery(function(e){e.datepicker.regional.bs={closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Januar","Februar","Mart","April","Maj","Juni","Juli","August","Septembar","Oktobar","Novembar","Decembar"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Wk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.bs)}),jQuery(function(e){e.datepicker.regional.ca={closeText:"Tanca",prevText:"Anterior",nextText:"Següent",currentText:"Avui",monthNames:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],monthNamesShort:["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des"],dayNames:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],dayNamesShort:["dg","dl","dt","dc","dj","dv","ds"],dayNamesMin:["dg","dl","dt","dc","dj","dv","ds"],weekHeader:"Set",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ca)}),jQuery(function(e){e.datepicker.regional.cs={closeText:"Zavřít",prevText:"&#x3C;Dříve",nextText:"Později&#x3E;",currentText:"Nyní",monthNames:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],monthNamesShort:["led","úno","bře","dub","kvě","čer","čvc","srp","zář","říj","lis","pro"],dayNames:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],dayNamesShort:["ne","po","út","st","čt","pá","so"],dayNamesMin:["ne","po","út","st","čt","pá","so"],weekHeader:"Týd",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.cs)}),jQuery(function(e){e.datepicker.regional["cy-GB"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"],monthNamesShort:["Ion","Chw","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tac","Rha"],dayNames:["Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"],dayNamesShort:["Sul","Llu","Maw","Mer","Iau","Gwe","Sad"],dayNamesMin:["Su","Ll","Ma","Me","Ia","Gw","Sa"],weekHeader:"Wy",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["cy-GB"])}),jQuery(function(e){e.datepicker.regional.da={closeText:"Luk",prevText:"&#x3C;Forrige",nextText:"Næste&#x3E;",currentText:"Idag",monthNames:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],dayNamesShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayNamesMin:["Sø","Ma","Ti","On","To","Fr","Lø"],weekHeader:"Uge",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.da)}),jQuery(function(e){e.datepicker.regional.de={closeText:"Schließen",prevText:"&#x3C;Zurück",nextText:"Vor&#x3E;",currentText:"Heute",monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekHeader:"KW",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.de)}),jQuery(function(e){e.datepicker.regional.el={closeText:"Κλείσιμο",prevText:"Προηγούμενος",nextText:"Επόμενος",currentText:"Τρέχων Μήνας",monthNames:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],monthNamesShort:["Ιαν","Φεβ","Μαρ","Απρ","Μαι","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],dayNames:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],dayNamesShort:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],dayNamesMin:["Κυ","Δε","Τρ","Τε","Πε","Πα","Σα"],weekHeader:"Εβδ",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.el)}),jQuery(function(e){e.datepicker.regional["en-AU"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["en-AU"])}),jQuery(function(e){e.datepicker.regional["en-GB"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["en-GB"])}),jQuery(function(e){e.datepicker.regional["en-NZ"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["en-NZ"])}),jQuery(function(e){e.datepicker.regional.eo={closeText:"Fermi",prevText:"&#x3C;Anta",nextText:"Sekv&#x3E;",currentText:"Nuna",monthNames:["Januaro","Februaro","Marto","Aprilo","Majo","Junio","Julio","Aŭgusto","Septembro","Oktobro","Novembro","Decembro"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aŭg","Sep","Okt","Nov","Dec"],dayNames:["Dimanĉo","Lundo","Mardo","Merkredo","Ĵaŭdo","Vendredo","Sabato"],dayNamesShort:["Dim","Lun","Mar","Mer","Ĵaŭ","Ven","Sab"],dayNamesMin:["Di","Lu","Ma","Me","Ĵa","Ve","Sa"],weekHeader:"Sb",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.eo)}),jQuery(function(e){e.datepicker.regional.es={closeText:"Cerrar",prevText:"&#x3C;Ant",nextText:"Sig&#x3E;",currentText:"Hoy",monthNames:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthNamesShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],dayNames:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mié","Juv","Vie","Sáb"],dayNamesMin:["Do","Lu","Ma","Mi","Ju","Vi","Sá"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.es)}),jQuery(function(e){e.datepicker.regional.et={closeText:"Sulge",prevText:"Eelnev",nextText:"Järgnev",currentText:"Täna",monthNames:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],monthNamesShort:["Jaan","Veebr","Märts","Apr","Mai","Juuni","Juuli","Aug","Sept","Okt","Nov","Dets"],dayNames:["Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev"],dayNamesShort:["Pühap","Esmasp","Teisip","Kolmap","Neljap","Reede","Laup"],dayNamesMin:["P","E","T","K","N","R","L"],weekHeader:"näd",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.et)}),jQuery(function(e){e.datepicker.regional.eu={closeText:"Egina",prevText:"&#x3C;Aur",nextText:"Hur&#x3E;",currentText:"Gaur",monthNames:["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua"],monthNamesShort:["urt.","ots.","mar.","api.","mai.","eka.","uzt.","abu.","ira.","urr.","aza.","abe."],dayNames:["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"],dayNamesShort:["ig.","al.","ar.","az.","og.","ol.","lr."],dayNamesMin:["ig","al","ar","az","og","ol","lr"],weekHeader:"As",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.eu)}),jQuery(function(e){e.datepicker.regional.fa={closeText:"بستن",prevText:"&#x3C;قبلی",nextText:"بعدی&#x3E;",currentText:"امروز",monthNames:["فروردين","ارديبهشت","خرداد","تير","مرداد","شهريور","مهر","آبان","آذر","دی","بهمن","اسفند"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["يکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],dayNamesShort:["ی","د","س","چ","پ","ج","ش"],dayNamesMin:["ی","د","س","چ","پ","ج","ش"],weekHeader:"هف",dateFormat:"yy/mm/dd",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.fa)}),jQuery(function(e){e.datepicker.regional.fi={closeText:"Sulje",prevText:"&#xAB;Edellinen",nextText:"Seuraava&#xBB;",currentText:"Tänään",monthNames:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],monthNamesShort:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"],dayNamesShort:["Su","Ma","Ti","Ke","To","Pe","La"],dayNames:["Sunnuntai","Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai"],dayNamesMin:["Su","Ma","Ti","Ke","To","Pe","La"],weekHeader:"Vk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.fi)}),jQuery(function(e){e.datepicker.regional.fo={closeText:"Lat aftur",prevText:"&#x3C;Fyrra",nextText:"Næsta&#x3E;",currentText:"Í dag",monthNames:["Januar","Februar","Mars","Apríl","Mei","Juni","Juli","August","September","Oktober","November","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],dayNames:["Sunnudagur","Mánadagur","Týsdagur","Mikudagur","Hósdagur","Fríggjadagur","Leyardagur"],dayNamesShort:["Sun","Mán","Týs","Mik","Hós","Frí","Ley"],dayNamesMin:["Su","Má","Tý","Mi","Hó","Fr","Le"],weekHeader:"Vk",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.fo)}),jQuery(function(e){e.datepicker.regional["fr-CA"]={closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthNamesShort:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],dayNames:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],dayNamesShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"yy-mm-dd",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["fr-CA"])}),jQuery(function(e){e.datepicker.regional["fr-CH"]={closeText:"Fermer",prevText:"&#x3C;Préc",nextText:"Suiv&#x3E;",currentText:"Courant",monthNames:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthNamesShort:["Jan","Fév","Mar","Avr","Mai","Jun","Jul","Aoû","Sep","Oct","Nov","Déc"],dayNames:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],dayNamesShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],dayNamesMin:["Di","Lu","Ma","Me","Je","Ve","Sa"],weekHeader:"Sm",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["fr-CH"])}),jQuery(function(e){e.datepicker.regional.fr={closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthNamesShort:["Janv.","Févr.","Mars","Avril","Mai","Juin","Juil.","Août","Sept.","Oct.","Nov.","Déc."],dayNames:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],dayNamesShort:["Dim.","Lun.","Mar.","Mer.","Jeu.","Ven.","Sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.fr)}),jQuery(function(e){e.datepicker.regional.gl={closeText:"Pechar",prevText:"&#x3C;Ant",nextText:"Seg&#x3E;",currentText:"Hoxe",monthNames:["Xaneiro","Febreiro","Marzo","Abril","Maio","Xuño","Xullo","Agosto","Setembro","Outubro","Novembro","Decembro"],monthNamesShort:["Xan","Feb","Mar","Abr","Mai","Xuñ","Xul","Ago","Set","Out","Nov","Dec"],dayNames:["Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mér","Xov","Ven","Sáb"],dayNamesMin:["Do","Lu","Ma","Mé","Xo","Ve","Sá"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.gl)}),jQuery(function(e){e.datepicker.regional.he={closeText:"סגור",prevText:"&#x3C;הקודם",nextText:"הבא&#x3E;",currentText:"היום",monthNames:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],monthNamesShort:["ינו","פבר","מרץ","אפר","מאי","יוני","יולי","אוג","ספט","אוק","נוב","דצמ"],dayNames:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"],dayNamesShort:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],dayNamesMin:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.he)}),jQuery(function(e){e.datepicker.regional.hi={closeText:"बंद",prevText:"पिछला",nextText:"अगला",currentText:"आज",monthNames:["जनवरी ","फरवरी","मार्च","अप्रेल","मई","जून","जूलाई","अगस्त ","सितम्बर","अक्टूबर","नवम्बर","दिसम्बर"],monthNamesShort:["जन","फर","मार्च","अप्रेल","मई","जून","जूलाई","अग","सित","अक्ट","नव","दि"],dayNames:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],dayNamesShort:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],dayNamesMin:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],weekHeader:"हफ्ता",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hi)}),jQuery(function(e){e.datepicker.regional.hr={closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],monthNamesShort:["Sij","Velj","Ožu","Tra","Svi","Lip","Srp","Kol","Ruj","Lis","Stu","Pro"],dayNames:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Tje",dateFormat:"dd.mm.yy.",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hr)}),jQuery(function(e){e.datepicker.regional.hu={closeText:"bezár",prevText:"vissza",nextText:"előre",currentText:"ma",monthNames:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],monthNamesShort:["Jan","Feb","Már","Ápr","Máj","Jún","Júl","Aug","Szep","Okt","Nov","Dec"],dayNames:["Vasárnap","Hétfő","Kedd","Szerda","Csütörtök","Péntek","Szombat"],dayNamesShort:["Vas","Hét","Ked","Sze","Csü","Pén","Szo"],dayNamesMin:["V","H","K","Sze","Cs","P","Szo"],weekHeader:"Hét",dateFormat:"yy.mm.dd.",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hu)}),jQuery(function(e){e.datepicker.regional.hy={closeText:"Փակել",prevText:"&#x3C;Նախ.",nextText:"Հաջ.&#x3E;",currentText:"Այսօր",monthNames:["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր"],monthNamesShort:["Հունվ","Փետր","Մարտ","Ապր","Մայիս","Հունիս","Հուլ","Օգս","Սեպ","Հոկ","Նոյ","Դեկ"],dayNames:["կիրակի","եկուշաբթի","երեքշաբթի","չորեքշաբթի","հինգշաբթի","ուրբաթ","շաբաթ"],dayNamesShort:["կիր","երկ","երք","չրք","հնգ","ուրբ","շբթ"],dayNamesMin:["կիր","երկ","երք","չրք","հնգ","ուրբ","շբթ"],weekHeader:"ՇԲՏ",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hy)}),jQuery(function(e){e.datepicker.regional.id={closeText:"Tutup",prevText:"&#x3C;mundur",nextText:"maju&#x3E;",currentText:"hari ini",monthNames:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agus","Sep","Okt","Nop","Des"],dayNames:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],dayNamesShort:["Min","Sen","Sel","Rab","kam","Jum","Sab"],dayNamesMin:["Mg","Sn","Sl","Rb","Km","jm","Sb"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.id)}),jQuery(function(e){e.datepicker.regional.is={closeText:"Loka",prevText:"&#x3C; Fyrri",nextText:"Næsti &#x3E;",currentText:"Í dag",monthNames:["Janúar","Febrúar","Mars","Apríl","Maí","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Maí","Jún","Júl","Ágú","Sep","Okt","Nóv","Des"],dayNames:["Sunnudagur","Mánudagur","Þriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur"],dayNamesShort:["Sun","Mán","Þri","Mið","Fim","Fös","Lau"],dayNamesMin:["Su","Má","Þr","Mi","Fi","Fö","La"],weekHeader:"Vika",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.is)}),jQuery(function(e){e.datepicker.regional.it={closeText:"Chiudi",prevText:"&#x3C;Prec",nextText:"Succ&#x3E;",currentText:"Oggi",monthNames:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthNamesShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],dayNames:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],dayNamesShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayNamesMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.it)}),jQuery(function(e){e.datepicker.regional.ja={closeText:"閉じる",prevText:"&#x3C;前",nextText:"次&#x3E;",currentText:"今日",monthNames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayNames:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],dayNamesShort:["日","月","火","水","木","金","土"],dayNamesMin:["日","月","火","水","木","金","土"],weekHeader:"週",dateFormat:"yy/mm/dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional.ja)}),jQuery(function(e){e.datepicker.regional.ka={closeText:"დახურვა",prevText:"&#x3c; წინა",nextText:"შემდეგი &#x3e;",currentText:"დღეს",monthNames:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"],monthNamesShort:["იან","თებ","მარ","აპრ","მაი","ივნ","ივლ","აგვ","სექ","ოქტ","ნოე","დეკ"],dayNames:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"],dayNamesShort:["კვ","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],dayNamesMin:["კვ","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],weekHeader:"კვირა",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ka)}),jQuery(function(e){e.datepicker.regional.kk={closeText:"Жабу",prevText:"&#x3C;Алдыңғы",nextText:"Келесі&#x3E;",currentText:"Бүгін",monthNames:["Қаңтар","Ақпан","Наурыз","Сәуір","Мамыр","Маусым","Шілде","Тамыз","Қыркүйек","Қазан","Қараша","Желтоқсан"],monthNamesShort:["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел"],dayNames:["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"],dayNamesShort:["жкс","дсн","ссн","срс","бсн","жма","снб"],dayNamesMin:["Жк","Дс","Сс","Ср","Бс","Жм","Сн"],weekHeader:"Не",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.kk)}),jQuery(function(e){e.datepicker.regional.km={closeText:"ធ្វើ​រួច",prevText:"មុន",nextText:"បន្ទាប់",currentText:"ថ្ងៃ​នេះ",monthNames:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],monthNamesShort:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],dayNames:["អាទិត្យ","ចន្ទ","អង្គារ","ពុធ","ព្រហស្បតិ៍","សុក្រ","សៅរ៍"],dayNamesShort:["អា","ច","អ","ពុ","ព្រហ","សុ","សៅ"],dayNamesMin:["អា","ច","អ","ពុ","ព្រហ","សុ","សៅ"],weekHeader:"សប្ដាហ៍",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.km)}),jQuery(function(e){e.datepicker.regional.ko={closeText:"닫기",prevText:"이전달",nextText:"다음달",currentText:"오늘",monthNames:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthNamesShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayNames:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],dayNamesShort:["일","월","화","수","목","금","토"],dayNamesMin:["일","월","화","수","목","금","토"],weekHeader:"Wk",dateFormat:"yy-mm-dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"년"},e.datepicker.setDefaults(e.datepicker.regional.ko)}),jQuery(function(e){e.datepicker.regional.ky={closeText:"Жабуу",prevText:"&#x3c;Мур",nextText:"Кий&#x3e;",currentText:"Бүгүн",monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["жекшемби","дүйшөмбү","шейшемби","шаршемби","бейшемби","жума","ишемби"],dayNamesShort:["жек","дүй","шей","шар","бей","жум","ише"],dayNamesMin:["Жк","Дш","Шш","Шр","Бш","Жм","Иш"],weekHeader:"Жум",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ky)}),jQuery(function(e){e.datepicker.regional.lb={closeText:"Fäerdeg",prevText:"Zréck",nextText:"Weider",currentText:"Haut",monthNames:["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"],dayNamesShort:["Son","Méi","Dën","Mët","Don","Fre","Sam"],dayNamesMin:["So","Mé","Dë","Më","Do","Fr","Sa"],weekHeader:"W",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.lb)}),jQuery(function(e){e.datepicker.regional.lt={closeText:"Uždaryti",prevText:"&#x3C;Atgal",nextText:"Pirmyn&#x3E;",currentText:"Šiandien",monthNames:["Sausis","Vasaris","Kovas","Balandis","Gegužė","Birželis","Liepa","Rugpjūtis","Rugsėjis","Spalis","Lapkritis","Gruodis"],monthNamesShort:["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rugp","Rugs","Spa","Lap","Gru"],dayNames:["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],dayNamesShort:["sek","pir","ant","tre","ket","pen","šeš"],dayNamesMin:["Se","Pr","An","Tr","Ke","Pe","Še"],weekHeader:"Wk",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.lt)}),jQuery(function(e){e.datepicker.regional.lv={closeText:"Aizvērt",prevText:"Iepr",nextText:"Nāka",currentText:"Šodien",monthNames:["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],monthNamesShort:["Jan","Feb","Mar","Apr","Mai","Jūn","Jūl","Aug","Sep","Okt","Nov","Dec"],dayNames:["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],dayNamesShort:["svt","prm","otr","tre","ctr","pkt","sst"],dayNamesMin:["Sv","Pr","Ot","Tr","Ct","Pk","Ss"],weekHeader:"Nav",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.lv)}),jQuery(function(e){e.datepicker.regional.mk={closeText:"Затвори",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Денес",monthNames:["Јануари","Февруари","Март","Април","Мај","Јуни","Јули","Август","Септември","Октомври","Ноември","Декември"],monthNamesShort:["Јан","Фев","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Ное","Дек"],dayNames:["Недела","Понеделник","Вторник","Среда","Четврток","Петок","Сабота"],dayNamesShort:["Нед","Пон","Вто","Сре","Чет","Пет","Саб"],dayNamesMin:["Не","По","Вт","Ср","Че","Пе","Са"],weekHeader:"Сед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.mk)}),jQuery(function(e){e.datepicker.regional.ml={closeText:"ശരി",prevText:"മുന്നത്തെ",nextText:"അടുത്തത് ",currentText:"ഇന്ന്",monthNames:["ജനുവരി","ഫെബ്രുവരി","മാര്‍ച്ച്","ഏപ്രില്‍","മേയ്","ജൂണ്‍","ജൂലൈ","ആഗസ്റ്റ്","സെപ്റ്റംബര്‍","ഒക്ടോബര്‍","നവംബര്‍","ഡിസംബര്‍"],monthNamesShort:["ജനു","ഫെബ്","മാര്‍","ഏപ്രി","മേയ്","ജൂണ്‍","ജൂലാ","ആഗ","സെപ്","ഒക്ടോ","നവം","ഡിസ"],dayNames:["ഞായര്‍","തിങ്കള്‍","ചൊവ്വ","ബുധന്‍","വ്യാഴം","വെള്ളി","ശനി"],dayNamesShort:["ഞായ","തിങ്ക","ചൊവ്വ","ബുധ","വ്യാഴം","വെള്ളി","ശനി"],dayNamesMin:["ഞാ","തി","ചൊ","ബു","വ്യാ","വെ","ശ"],weekHeader:"ആ",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ml)}),jQuery(function(e){e.datepicker.regional.ms={closeText:"Tutup",prevText:"&#x3C;Sebelum",nextText:"Selepas&#x3E;",currentText:"hari ini",monthNames:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],monthNamesShort:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],dayNames:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],dayNamesShort:["Aha","Isn","Sel","Rab","kha","Jum","Sab"],dayNamesMin:["Ah","Is","Se","Ra","Kh","Ju","Sa"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ms)}),jQuery(function(e){e.datepicker.regional.nb={closeText:"Lukk",prevText:"&#xAB;Forrige",nextText:"Neste&#xBB;",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["søn","man","tir","ons","tor","fre","lør"],dayNames:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],dayNamesMin:["sø","ma","ti","on","to","fr","lø"],weekHeader:"Uke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.nb)
+}),jQuery(function(e){e.datepicker.regional["nl-BE"]={closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["nl-BE"])}),jQuery(function(e){e.datepicker.regional.nl={closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.nl)}),jQuery(function(e){e.datepicker.regional.nn={closeText:"Lukk",prevText:"&#xAB;Førre",nextText:"Neste&#xBB;",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["sun","mån","tys","ons","tor","fre","lau"],dayNames:["sundag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"],dayNamesMin:["su","må","ty","on","to","fr","la"],weekHeader:"Veke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.nn)}),jQuery(function(e){e.datepicker.regional.no={closeText:"Lukk",prevText:"&#xAB;Forrige",nextText:"Neste&#xBB;",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["søn","man","tir","ons","tor","fre","lør"],dayNames:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],dayNamesMin:["sø","ma","ti","on","to","fr","lø"],weekHeader:"Uke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.no)}),jQuery(function(e){e.datepicker.regional.pl={closeText:"Zamknij",prevText:"&#x3C;Poprzedni",nextText:"Następny&#x3E;",currentText:"Dziś",monthNames:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],monthNamesShort:["Sty","Lu","Mar","Kw","Maj","Cze","Lip","Sie","Wrz","Pa","Lis","Gru"],dayNames:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],dayNamesShort:["Nie","Pn","Wt","Śr","Czw","Pt","So"],dayNamesMin:["N","Pn","Wt","Śr","Cz","Pt","So"],weekHeader:"Tydz",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.pl)}),jQuery(function(e){e.datepicker.regional["pt-BR"]={closeText:"Fechar",prevText:"&#x3C;Anterior",nextText:"Próximo&#x3E;",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["pt-BR"])}),jQuery(function(e){e.datepicker.regional.pt={closeText:"Fechar",prevText:"&#x3C;Anterior",nextText:"Seguinte",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sem",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.pt)}),jQuery(function(e){e.datepicker.regional.rm={closeText:"Serrar",prevText:"&#x3C;Suandant",nextText:"Precedent&#x3E;",currentText:"Actual",monthNames:["Schaner","Favrer","Mars","Avrigl","Matg","Zercladur","Fanadur","Avust","Settember","October","November","December"],monthNamesShort:["Scha","Fev","Mar","Avr","Matg","Zer","Fan","Avu","Sett","Oct","Nov","Dec"],dayNames:["Dumengia","Glindesdi","Mardi","Mesemna","Gievgia","Venderdi","Sonda"],dayNamesShort:["Dum","Gli","Mar","Mes","Gie","Ven","Som"],dayNamesMin:["Du","Gl","Ma","Me","Gi","Ve","So"],weekHeader:"emna",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.rm)}),jQuery(function(e){e.datepicker.regional.ro={closeText:"Închide",prevText:"&#xAB; Luna precedentă",nextText:"Luna următoare &#xBB;",currentText:"Azi",monthNames:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],monthNamesShort:["Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Duminică","Luni","Marţi","Miercuri","Joi","Vineri","Sâmbătă"],dayNamesShort:["Dum","Lun","Mar","Mie","Joi","Vin","Sâm"],dayNamesMin:["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],weekHeader:"Săpt",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ro)}),jQuery(function(e){e.datepicker.regional.ru={closeText:"Закрыть",prevText:"&#x3C;Пред",nextText:"След&#x3E;",currentText:"Сегодня",monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],dayNamesShort:["вск","пнд","втр","срд","чтв","птн","сбт"],dayNamesMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],weekHeader:"Нед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ru)}),jQuery(function(e){e.datepicker.regional.sk={closeText:"Zavrieť",prevText:"&#x3C;Predchádzajúci",nextText:"Nasledujúci&#x3E;",currentText:"Dnes",monthNames:["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],monthNamesShort:["Jan","Feb","Mar","Apr","Máj","Jún","Júl","Aug","Sep","Okt","Nov","Dec"],dayNames:["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],dayNamesShort:["Ned","Pon","Uto","Str","Štv","Pia","Sob"],dayNamesMin:["Ne","Po","Ut","St","Št","Pia","So"],weekHeader:"Ty",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sk)}),jQuery(function(e){e.datepicker.regional.sl={closeText:"Zapri",prevText:"&#x3C;Prejšnji",nextText:"Naslednji&#x3E;",currentText:"Trenutni",monthNames:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljek","Torek","Sreda","Četrtek","Petek","Sobota"],dayNamesShort:["Ned","Pon","Tor","Sre","Čet","Pet","Sob"],dayNamesMin:["Ne","Po","To","Sr","Če","Pe","So"],weekHeader:"Teden",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sl)}),jQuery(function(e){e.datepicker.regional.sq={closeText:"mbylle",prevText:"&#x3C;mbrapa",nextText:"Përpara&#x3E;",currentText:"sot",monthNames:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"],monthNamesShort:["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gus","Sht","Tet","Nën","Dhj"],dayNames:["E Diel","E Hënë","E Martë","E Mërkurë","E Enjte","E Premte","E Shtune"],dayNamesShort:["Di","Hë","Ma","Më","En","Pr","Sh"],dayNamesMin:["Di","Hë","Ma","Më","En","Pr","Sh"],weekHeader:"Ja",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sq)}),jQuery(function(e){e.datepicker.regional["sr-SR"]={closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljak","Utorak","Sreda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sre","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Sed",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["sr-SR"])}),jQuery(function(e){e.datepicker.regional.sr={closeText:"Затвори",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Данас",monthNames:["Јануар","Фебруар","Март","Април","Мај","Јун","Јул","Август","Септембар","Октобар","Новембар","Децембар"],monthNamesShort:["Јан","Феб","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Нов","Дец"],dayNames:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"],dayNamesShort:["Нед","Пон","Уто","Сре","Чет","Пет","Суб"],dayNamesMin:["Не","По","Ут","Ср","Че","Пе","Су"],weekHeader:"Сед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sr)}),jQuery(function(e){e.datepicker.regional.sv={closeText:"Stäng",prevText:"&#xAB;Förra",nextText:"Nästa&#xBB;",currentText:"Idag",monthNames:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNamesShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],dayNames:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],dayNamesMin:["Sö","Må","Ti","On","To","Fr","Lö"],weekHeader:"Ve",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sv)}),jQuery(function(e){e.datepicker.regional.ta={closeText:"மூடு",prevText:"முன்னையது",nextText:"அடுத்தது",currentText:"இன்று",monthNames:["தை","மாசி","பங்குனி","சித்திரை","வைகாசி","ஆனி","ஆடி","ஆவணி","புரட்டாசி","ஐப்பசி","கார்த்திகை","மார்கழி"],monthNamesShort:["தை","மாசி","பங்","சித்","வைகா","ஆனி","ஆடி","ஆவ","புர","ஐப்","கார்","மார்"],dayNames:["ஞாயிற்றுக்கிழமை","திங்கட்கிழமை","செவ்வாய்க்கிழமை","புதன்கிழமை","வியாழக்கிழமை","வெள்ளிக்கிழமை","சனிக்கிழமை"],dayNamesShort:["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"],dayNamesMin:["ஞா","தி","செ","பு","வி","வெ","ச"],weekHeader:"Не",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ta)}),jQuery(function(e){e.datepicker.regional.th={closeText:"ปิด",prevText:"&#xAB;&#xA0;ย้อน",nextText:"ถัดไป&#xA0;&#xBB;",currentText:"วันนี้",monthNames:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],monthNamesShort:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],dayNames:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],dayNamesShort:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],dayNamesMin:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.th)}),jQuery(function(e){e.datepicker.regional.tj={closeText:"Идома",prevText:"&#x3c;Қафо",nextText:"Пеш&#x3e;",currentText:"Имрӯз",monthNames:["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["якшанбе","душанбе","сешанбе","чоршанбе","панҷшанбе","ҷумъа","шанбе"],dayNamesShort:["якш","душ","сеш","чор","пан","ҷум","шан"],dayNamesMin:["Як","Дш","Сш","Чш","Пш","Ҷм","Шн"],weekHeader:"Хф",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.tj)}),jQuery(function(e){e.datepicker.regional.tr={closeText:"kapat",prevText:"&#x3C;geri",nextText:"ileri&#x3e",currentText:"bugün",monthNames:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],monthNamesShort:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],dayNames:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],dayNamesShort:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],dayNamesMin:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],weekHeader:"Hf",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.tr)}),jQuery(function(e){e.datepicker.regional.uk={closeText:"Закрити",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Сьогодні",monthNames:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],monthNamesShort:["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру"],dayNames:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"],dayNamesShort:["нед","пнд","вів","срд","чтв","птн","сбт"],dayNamesMin:["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],weekHeader:"Тиж",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.uk)}),jQuery(function(e){e.datepicker.regional.vi={closeText:"Đóng",prevText:"&#x3C;Trước",nextText:"Tiếp&#x3E;",currentText:"Hôm nay",monthNames:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"],monthNamesShort:["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],dayNames:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"],dayNamesShort:["CN","T2","T3","T4","T5","T6","T7"],dayNamesMin:["CN","T2","T3","T4","T5","T6","T7"],weekHeader:"Tu",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.vi)}),jQuery(function(e){e.datepicker.regional["zh-CN"]={closeText:"关闭",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional["zh-CN"])}),jQuery(function(e){e.datepicker.regional["zh-HK"]={closeText:"關閉",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"dd-mm-yy",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional["zh-HK"])}),jQuery(function(e){e.datepicker.regional["zh-TW"]={closeText:"關閉",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy/mm/dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional["zh-TW"])}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/i18n/jquery-ui-timepicker-hu.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/i18n/jquery-ui-timepicker-hu.js
new file mode 100644
index 00000000..fd1f5e19
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/i18n/jquery-ui-timepicker-hu.js
@@ -0,0 +1,21 @@
+/* Hungarian translation for the jQuery Timepicker Addon */
+/* Written by Vas Gábor */
+(function($) {
+ $.timepicker.regional['hu'] = {
+ timeOnlyTitle: 'Válasszon időpontot',
+ timeText: 'Idő',
+ hourText: 'Óra',
+ minuteText: 'Perc',
+ secondText: 'Másodperc',
+ millisecText: 'Milliszekundumos',
+ microsecText: 'Ezredmásodperc',
+ timezoneText: 'Időzóna',
+ currentText: 'Most',
+ closeText: 'Kész',
+ timeFormat: 'HH:mm',
+ amNames: ['de.', 'AM', 'A'],
+ pmNames: ['du.', 'PM', 'P'],
+ isRTL: false
+ };
+ $.timepicker.setDefaults($.timepicker.regional['hu']);
+})(jQuery);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/i18n/jquery.ui.datepicker-hu.min.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/i18n/jquery.ui.datepicker-hu.min.js
new file mode 100644
index 00000000..5b6d141b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/i18n/jquery.ui.datepicker-hu.min.js
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.3 - 2013-05-03
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.hu={closeText:"bezár",prevText:"vissza",nextText:"előre",currentText:"ma",monthNames:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],monthNamesShort:["Jan","Feb","Már","Ápr","Máj","Jún","Júl","Aug","Szep","Okt","Nov","Dec"],dayNames:["Vasárnap","Hétfő","Kedd","Szerda","Csütörtök","Péntek","Szombat"],dayNamesShort:["Vas","Hét","Ked","Sze","Csü","Pén","Szo"],dayNamesMin:["V","H","K","Sze","Cs","P","Szo"],weekHeader:"Hét",dateFormat:"yy.mm.dd.",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hu)}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/jquery-ui-timepicker-addon.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/jquery-ui-timepicker-addon.js
new file mode 100644
index 00000000..eccc6a7b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/jquery-ui-timepicker-addon.js
@@ -0,0 +1,2128 @@
+/*
+ * jQuery timepicker addon
+ * By: Trent Richardson [http://trentrichardson.com]
+ * Version 1.3.1
+ * Last Modified: 07/07/2013
+ *
+ * Copyright 2013 Trent Richardson
+ * You may use this project under MIT or GPL licenses.
+ * http://trentrichardson.com/Impromptu/GPL-LICENSE.txt
+ * http://trentrichardson.com/Impromptu/MIT-LICENSE.txt
+ */
+
+/*jslint evil: true, white: false, undef: false, nomen: false */
+
+(function($) {
+
+ /*
+ * Lets not redefine timepicker, Prevent "Uncaught RangeError: Maximum call stack size exceeded"
+ */
+ $.ui.timepicker = $.ui.timepicker || {};
+ if ($.ui.timepicker.version) {
+ return;
+ }
+
+ /*
+ * Extend jQueryUI, get it started with our version number
+ */
+ $.extend($.ui, {
+ timepicker: {
+ version: "1.3.1"
+ }
+ });
+
+ /*
+ * Timepicker manager.
+ * Use the singleton instance of this class, $.timepicker, to interact with the time picker.
+ * Settings for (groups of) time pickers are maintained in an instance object,
+ * allowing multiple different settings on the same page.
+ */
+ var Timepicker = function() {
+ this.regional = []; // Available regional settings, indexed by language code
+ this.regional[''] = { // Default regional settings
+ currentText: 'Now',
+ closeText: 'Done',
+ amNames: ['AM', 'A'],
+ pmNames: ['PM', 'P'],
+ timeFormat: 'HH:mm',
+ timeSuffix: '',
+ timeOnlyTitle: 'Choose Time',
+ timeText: 'Time',
+ hourText: 'Hour',
+ minuteText: 'Minute',
+ secondText: 'Second',
+ millisecText: 'Millisecond',
+ microsecText: 'Microsecond',
+ timezoneText: 'Time Zone',
+ isRTL: false
+ };
+ this._defaults = { // Global defaults for all the datetime picker instances
+ showButtonPanel: true,
+ timeOnly: false,
+ showHour: null,
+ showMinute: null,
+ showSecond: null,
+ showMillisec: null,
+ showMicrosec: null,
+ showTimezone: null,
+ showTime: true,
+ stepHour: 1,
+ stepMinute: 1,
+ stepSecond: 1,
+ stepMillisec: 1,
+ stepMicrosec: 1,
+ hour: 0,
+ minute: 0,
+ second: 0,
+ millisec: 0,
+ microsec: 0,
+ timezone: null,
+ hourMin: 0,
+ minuteMin: 0,
+ secondMin: 0,
+ millisecMin: 0,
+ microsecMin: 0,
+ hourMax: 23,
+ minuteMax: 59,
+ secondMax: 59,
+ millisecMax: 999,
+ microsecMax: 999,
+ minDateTime: null,
+ maxDateTime: null,
+ onSelect: null,
+ hourGrid: 0,
+ minuteGrid: 0,
+ secondGrid: 0,
+ millisecGrid: 0,
+ microsecGrid: 0,
+ alwaysSetTime: true,
+ separator: ' ',
+ altFieldTimeOnly: true,
+ altTimeFormat: null,
+ altSeparator: null,
+ altTimeSuffix: null,
+ pickerTimeFormat: null,
+ pickerTimeSuffix: null,
+ showTimepicker: true,
+ timezoneList: null,
+ addSliderAccess: false,
+ sliderAccessArgs: null,
+ controlType: 'slider',
+ defaultValue: null,
+ parse: 'strict'
+ };
+ $.extend(this._defaults, this.regional['']);
+ };
+
+ $.extend(Timepicker.prototype, {
+ $input: null,
+ $altInput: null,
+ $timeObj: null,
+ inst: null,
+ hour_slider: null,
+ minute_slider: null,
+ second_slider: null,
+ millisec_slider: null,
+ microsec_slider: null,
+ timezone_select: null,
+ hour: 0,
+ minute: 0,
+ second: 0,
+ millisec: 0,
+ microsec: 0,
+ timezone: null,
+ hourMinOriginal: null,
+ minuteMinOriginal: null,
+ secondMinOriginal: null,
+ millisecMinOriginal: null,
+ microsecMinOriginal: null,
+ hourMaxOriginal: null,
+ minuteMaxOriginal: null,
+ secondMaxOriginal: null,
+ millisecMaxOriginal: null,
+ microsecMaxOriginal: null,
+ ampm: '',
+ formattedDate: '',
+ formattedTime: '',
+ formattedDateTime: '',
+ timezoneList: null,
+ units: ['hour','minute','second','millisec', 'microsec'],
+ support: {},
+ control: null,
+
+ /*
+ * Override the default settings for all instances of the time picker.
+ * @param settings object - the new settings to use as defaults (anonymous object)
+ * @return the manager object
+ */
+ setDefaults: function(settings) {
+ extendRemove(this._defaults, settings || {});
+ return this;
+ },
+
+ /*
+ * Create a new Timepicker instance
+ */
+ _newInst: function($input, opts) {
+ var tp_inst = new Timepicker(),
+ inlineSettings = {},
+ fns = {},
+ overrides, i;
+
+ for (var attrName in this._defaults) {
+ if(this._defaults.hasOwnProperty(attrName)){
+ var attrValue = $input.attr('time:' + attrName);
+ if (attrValue) {
+ try {
+ inlineSettings[attrName] = eval(attrValue);
+ } catch (err) {
+ inlineSettings[attrName] = attrValue;
+ }
+ }
+ }
+ }
+
+ overrides = {
+ beforeShow: function (input, dp_inst) {
+ if ($.isFunction(tp_inst._defaults.evnts.beforeShow)) {
+ return tp_inst._defaults.evnts.beforeShow.call($input[0], input, dp_inst, tp_inst);
+ }
+ },
+ onChangeMonthYear: function (year, month, dp_inst) {
+ // Update the time as well : this prevents the time from disappearing from the $input field.
+ tp_inst._updateDateTime(dp_inst);
+ if ($.isFunction(tp_inst._defaults.evnts.onChangeMonthYear)) {
+ tp_inst._defaults.evnts.onChangeMonthYear.call($input[0], year, month, dp_inst, tp_inst);
+ }
+ },
+ onClose: function (dateText, dp_inst) {
+ if (tp_inst.timeDefined === true && $input.val() !== '') {
+ tp_inst._updateDateTime(dp_inst);
+ }
+ if ($.isFunction(tp_inst._defaults.evnts.onClose)) {
+ tp_inst._defaults.evnts.onClose.call($input[0], dateText, dp_inst, tp_inst);
+ }
+ }
+ };
+ for (i in overrides) {
+ if (overrides.hasOwnProperty(i)) {
+ fns[i] = opts[i] || null;
+ }
+ }
+
+ tp_inst._defaults = $.extend({}, this._defaults, inlineSettings, opts, overrides, {
+ evnts:fns,
+ timepicker: tp_inst // add timepicker as a property of datepicker: $.datepicker._get(dp_inst, 'timepicker');
+ });
+ tp_inst.amNames = $.map(tp_inst._defaults.amNames, function(val) {
+ return val.toUpperCase();
+ });
+ tp_inst.pmNames = $.map(tp_inst._defaults.pmNames, function(val) {
+ return val.toUpperCase();
+ });
+
+ // detect which units are supported
+ tp_inst.support = detectSupport(
+ tp_inst._defaults.timeFormat +
+ (tp_inst._defaults.pickerTimeFormat? tp_inst._defaults.pickerTimeFormat:'') +
+ (tp_inst._defaults.altTimeFormat? tp_inst._defaults.altTimeFormat:''));
+
+ // controlType is string - key to our this._controls
+ if(typeof(tp_inst._defaults.controlType) === 'string'){
+ if(tp_inst._defaults.controlType == 'slider' && typeof(jQuery.ui.slider) === 'undefined'){
+ tp_inst._defaults.controlType = 'select';
+ }
+ tp_inst.control = tp_inst._controls[tp_inst._defaults.controlType];
+ }
+ // controlType is an object and must implement create, options, value methods
+ else{
+ tp_inst.control = tp_inst._defaults.controlType;
+ }
+
+ // prep the timezone options
+ var timezoneList = [-720,-660,-600,-570,-540,-480,-420,-360,-300,-270,-240,-210,-180,-120,-60,
+ 0,60,120,180,210,240,270,300,330,345,360,390,420,480,525,540,570,600,630,660,690,720,765,780,840];
+ if (tp_inst._defaults.timezoneList !== null) {
+ timezoneList = tp_inst._defaults.timezoneList;
+ }
+ var tzl=timezoneList.length,tzi=0,tzv=null;
+ if (tzl > 0 && typeof timezoneList[0] !== 'object') {
+ for(; tzi<tzl; tzi++){
+ tzv = timezoneList[tzi];
+ timezoneList[tzi] = { value: tzv, label: $.timepicker.timezoneOffsetString(tzv, tp_inst.support.iso8601) };
+ }
+ }
+ tp_inst._defaults.timezoneList = timezoneList;
+
+ // set the default units
+ tp_inst.timezone = tp_inst._defaults.timezone !== null? $.timepicker.timezoneOffsetNumber(tp_inst._defaults.timezone) :
+ ((new Date()).getTimezoneOffset()*-1);
+ tp_inst.hour = tp_inst._defaults.hour < tp_inst._defaults.hourMin? tp_inst._defaults.hourMin :
+ tp_inst._defaults.hour > tp_inst._defaults.hourMax? tp_inst._defaults.hourMax : tp_inst._defaults.hour;
+ tp_inst.minute = tp_inst._defaults.minute < tp_inst._defaults.minuteMin? tp_inst._defaults.minuteMin :
+ tp_inst._defaults.minute > tp_inst._defaults.minuteMax? tp_inst._defaults.minuteMax : tp_inst._defaults.minute;
+ tp_inst.second = tp_inst._defaults.second < tp_inst._defaults.secondMin? tp_inst._defaults.secondMin :
+ tp_inst._defaults.second > tp_inst._defaults.secondMax? tp_inst._defaults.secondMax : tp_inst._defaults.second;
+ tp_inst.millisec = tp_inst._defaults.millisec < tp_inst._defaults.millisecMin? tp_inst._defaults.millisecMin :
+ tp_inst._defaults.millisec > tp_inst._defaults.millisecMax? tp_inst._defaults.millisecMax : tp_inst._defaults.millisec;
+ tp_inst.microsec = tp_inst._defaults.microsec < tp_inst._defaults.microsecMin? tp_inst._defaults.microsecMin :
+ tp_inst._defaults.microsec > tp_inst._defaults.microsecMax? tp_inst._defaults.microsecMax : tp_inst._defaults.microsec;
+ tp_inst.ampm = '';
+ tp_inst.$input = $input;
+
+ if (tp_inst._defaults.altField) {
+ tp_inst.$altInput = $(tp_inst._defaults.altField).css({
+ cursor: 'pointer'
+ }).focus(function() {
+ $input.trigger("focus");
+ });
+ }
+
+ if (tp_inst._defaults.minDate === 0 || tp_inst._defaults.minDateTime === 0) {
+ tp_inst._defaults.minDate = new Date();
+ }
+ if (tp_inst._defaults.maxDate === 0 || tp_inst._defaults.maxDateTime === 0) {
+ tp_inst._defaults.maxDate = new Date();
+ }
+
+ // datepicker needs minDate/maxDate, timepicker needs minDateTime/maxDateTime..
+ if (tp_inst._defaults.minDate !== undefined && tp_inst._defaults.minDate instanceof Date) {
+ tp_inst._defaults.minDateTime = new Date(tp_inst._defaults.minDate.getTime());
+ }
+ if (tp_inst._defaults.minDateTime !== undefined && tp_inst._defaults.minDateTime instanceof Date) {
+ tp_inst._defaults.minDate = new Date(tp_inst._defaults.minDateTime.getTime());
+ }
+ if (tp_inst._defaults.maxDate !== undefined && tp_inst._defaults.maxDate instanceof Date) {
+ tp_inst._defaults.maxDateTime = new Date(tp_inst._defaults.maxDate.getTime());
+ }
+ if (tp_inst._defaults.maxDateTime !== undefined && tp_inst._defaults.maxDateTime instanceof Date) {
+ tp_inst._defaults.maxDate = new Date(tp_inst._defaults.maxDateTime.getTime());
+ }
+ tp_inst.$input.bind('focus', function() {
+ tp_inst._onFocus();
+ });
+
+ return tp_inst;
+ },
+
+ /*
+ * add our sliders to the calendar
+ */
+ _addTimePicker: function(dp_inst) {
+ var currDT = (this.$altInput && this._defaults.altFieldTimeOnly) ? this.$input.val() + ' ' + this.$altInput.val() : this.$input.val();
+
+ this.timeDefined = this._parseTime(currDT);
+ this._limitMinMaxDateTime(dp_inst, false);
+ this._injectTimePicker();
+ },
+
+ /*
+ * parse the time string from input value or _setTime
+ */
+ _parseTime: function(timeString, withDate) {
+ if (!this.inst) {
+ this.inst = $.datepicker._getInst(this.$input[0]);
+ }
+
+ if (withDate || !this._defaults.timeOnly) {
+ var dp_dateFormat = $.datepicker._get(this.inst, 'dateFormat');
+ try {
+ var parseRes = parseDateTimeInternal(dp_dateFormat, this._defaults.timeFormat, timeString, $.datepicker._getFormatConfig(this.inst), this._defaults);
+ if (!parseRes.timeObj) {
+ return false;
+ }
+ $.extend(this, parseRes.timeObj);
+ } catch (err) {
+ $.timepicker.log("Error parsing the date/time string: " + err +
+ "\ndate/time string = " + timeString +
+ "\ntimeFormat = " + this._defaults.timeFormat +
+ "\ndateFormat = " + dp_dateFormat);
+ return false;
+ }
+ return true;
+ } else {
+ var timeObj = $.datepicker.parseTime(this._defaults.timeFormat, timeString, this._defaults);
+ if (!timeObj) {
+ return false;
+ }
+ $.extend(this, timeObj);
+ return true;
+ }
+ },
+
+ /*
+ * generate and inject html for timepicker into ui datepicker
+ */
+ _injectTimePicker: function() {
+ var $dp = this.inst.dpDiv,
+ o = this.inst.settings,
+ tp_inst = this,
+ litem = '',
+ uitem = '',
+ show = null,
+ max = {},
+ gridSize = {},
+ size = null,
+ i=0,
+ l=0;
+
+ // Prevent displaying twice
+ if ($dp.find("div.ui-timepicker-div").length === 0 && o.showTimepicker) {
+ var noDisplay = ' style="display:none;"',
+ html = '<div class="ui-timepicker-div'+ (o.isRTL? ' ui-timepicker-rtl' : '') +'"><dl>' + '<dt class="ui_tpicker_time_label"' + ((o.showTime) ? '' : noDisplay) + '>' + o.timeText + '</dt>' +
+ '<dd class="ui_tpicker_time"' + ((o.showTime) ? '' : noDisplay) + '></dd>';
+
+ // Create the markup
+ for(i=0,l=this.units.length; i<l; i++){
+ litem = this.units[i];
+ uitem = litem.substr(0,1).toUpperCase() + litem.substr(1);
+ show = o['show'+uitem] !== null? o['show'+uitem] : this.support[litem];
+
+ // Added by Peter Medeiros:
+ // - Figure out what the hour/minute/second max should be based on the step values.
+ // - Example: if stepMinute is 15, then minMax is 45.
+ max[litem] = parseInt((o[litem+'Max'] - ((o[litem+'Max'] - o[litem+'Min']) % o['step'+uitem])), 10);
+ gridSize[litem] = 0;
+
+ html += '<dt class="ui_tpicker_'+ litem +'_label"' + (show ? '' : noDisplay) + '>' + o[litem +'Text'] + '</dt>' +
+ '<dd class="ui_tpicker_'+ litem +'"><div class="ui_tpicker_'+ litem +'_slider"' + (show ? '' : noDisplay) + '></div>';
+
+ if (show && o[litem+'Grid'] > 0) {
+ html += '<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>';
+
+ if(litem == 'hour'){
+ for (var h = o[litem+'Min']; h <= max[litem]; h += parseInt(o[litem+'Grid'], 10)) {
+ gridSize[litem]++;
+ var tmph = $.datepicker.formatTime(this.support.ampm? 'hht':'HH', {hour:h}, o);
+ html += '<td data-for="'+litem+'">' + tmph + '</td>';
+ }
+ }
+ else{
+ for (var m = o[litem+'Min']; m <= max[litem]; m += parseInt(o[litem+'Grid'], 10)) {
+ gridSize[litem]++;
+ html += '<td data-for="'+litem+'">' + ((m < 10) ? '0' : '') + m + '</td>';
+ }
+ }
+
+ html += '</tr></table></div>';
+ }
+ html += '</dd>';
+ }
+
+ // Timezone
+ var showTz = o.showTimezone !== null? o.showTimezone : this.support.timezone;
+ html += '<dt class="ui_tpicker_timezone_label"' + (showTz ? '' : noDisplay) + '>' + o.timezoneText + '</dt>';
+ html += '<dd class="ui_tpicker_timezone" ' + (showTz ? '' : noDisplay) + '></dd>';
+
+ // Create the elements from string
+ html += '</dl></div>';
+ var $tp = $(html);
+
+ // if we only want time picker...
+ if (o.timeOnly === true) {
+ $tp.prepend('<div class="ui-widget-header ui-helper-clearfix ui-corner-all">' + '<div class="ui-datepicker-title">' + o.timeOnlyTitle + '</div>' + '</div>');
+ $dp.find('.ui-datepicker-header, .ui-datepicker-calendar').hide();
+ }
+
+ // add sliders, adjust grids, add events
+ for(i=0,l=tp_inst.units.length; i<l; i++){
+ litem = tp_inst.units[i];
+ uitem = litem.substr(0,1).toUpperCase() + litem.substr(1);
+ show = o['show'+uitem] !== null? o['show'+uitem] : this.support[litem];
+
+ // add the slider
+ tp_inst[litem+'_slider'] = tp_inst.control.create(tp_inst, $tp.find('.ui_tpicker_'+litem+'_slider'), litem, tp_inst[litem], o[litem+'Min'], max[litem], o['step'+uitem]);
+
+ // adjust the grid and add click event
+ if (show && o[litem+'Grid'] > 0) {
+ size = 100 * gridSize[litem] * o[litem+'Grid'] / (max[litem] - o[litem+'Min']);
+ $tp.find('.ui_tpicker_'+litem+' table').css({
+ width: size + "%",
+ marginLeft: o.isRTL? '0' : ((size / (-2 * gridSize[litem])) + "%"),
+ marginRight: o.isRTL? ((size / (-2 * gridSize[litem])) + "%") : '0',
+ borderCollapse: 'collapse'
+ }).find("td").click(function(e){
+ var $t = $(this),
+ h = $t.html(),
+ n = parseInt(h.replace(/[^0-9]/g),10),
+ ap = h.replace(/[^apm]/ig),
+ f = $t.data('for'); // loses scope, so we use data-for
+
+ if(f == 'hour'){
+ if(ap.indexOf('p') !== -1 && n < 12){
+ n += 12;
+ }
+ else{
+ if(ap.indexOf('a') !== -1 && n === 12){
+ n = 0;
+ }
+ }
+ }
+
+ tp_inst.control.value(tp_inst, tp_inst[f+'_slider'], litem, n);
+
+ tp_inst._onTimeChange();
+ tp_inst._onSelectHandler();
+ }).css({
+ cursor: 'pointer',
+ width: (100 / gridSize[litem]) + '%',
+ textAlign: 'center',
+ overflow: 'hidden'
+ });
+ } // end if grid > 0
+ } // end for loop
+
+ // Add timezone options
+ this.timezone_select = $tp.find('.ui_tpicker_timezone').append('<select></select>').find("select");
+ $.fn.append.apply(this.timezone_select,
+ $.map(o.timezoneList, function(val, idx) {
+ return $("<option />").val(typeof val == "object" ? val.value : val).text(typeof val == "object" ? val.label : val);
+ }));
+ if (typeof(this.timezone) != "undefined" && this.timezone !== null && this.timezone !== "") {
+ var local_timezone = (new Date(this.inst.selectedYear, this.inst.selectedMonth, this.inst.selectedDay, 12)).getTimezoneOffset()*-1;
+ if (local_timezone == this.timezone) {
+ selectLocalTimezone(tp_inst);
+ } else {
+ this.timezone_select.val(this.timezone);
+ }
+ } else {
+ if (typeof(this.hour) != "undefined" && this.hour !== null && this.hour !== "") {
+ this.timezone_select.val(o.timezone);
+ } else {
+ selectLocalTimezone(tp_inst);
+ }
+ }
+ this.timezone_select.change(function() {
+ tp_inst._onTimeChange();
+ tp_inst._onSelectHandler();
+ });
+ // End timezone options
+
+ // inject timepicker into datepicker
+ var $buttonPanel = $dp.find('.ui-datepicker-buttonpane');
+ if ($buttonPanel.length) {
+ $buttonPanel.before($tp);
+ } else {
+ $dp.append($tp);
+ }
+
+ this.$timeObj = $tp.find('.ui_tpicker_time');
+
+ if (this.inst !== null) {
+ var timeDefined = this.timeDefined;
+ this._onTimeChange();
+ this.timeDefined = timeDefined;
+ }
+
+ // slideAccess integration: http://trentrichardson.com/2011/11/11/jquery-ui-sliders-and-touch-accessibility/
+ if (this._defaults.addSliderAccess) {
+ var sliderAccessArgs = this._defaults.sliderAccessArgs,
+ rtl = this._defaults.isRTL;
+ sliderAccessArgs.isRTL = rtl;
+
+ setTimeout(function() { // fix for inline mode
+ if ($tp.find('.ui-slider-access').length === 0) {
+ $tp.find('.ui-slider:visible').sliderAccess(sliderAccessArgs);
+
+ // fix any grids since sliders are shorter
+ var sliderAccessWidth = $tp.find('.ui-slider-access:eq(0)').outerWidth(true);
+ if (sliderAccessWidth) {
+ $tp.find('table:visible').each(function() {
+ var $g = $(this),
+ oldWidth = $g.outerWidth(),
+ oldMarginLeft = $g.css(rtl? 'marginRight':'marginLeft').toString().replace('%', ''),
+ newWidth = oldWidth - sliderAccessWidth,
+ newMarginLeft = ((oldMarginLeft * newWidth) / oldWidth) + '%',
+ css = { width: newWidth, marginRight: 0, marginLeft: 0 };
+ css[rtl? 'marginRight':'marginLeft'] = newMarginLeft;
+ $g.css(css);
+ });
+ }
+ }
+ }, 10);
+ }
+ // end slideAccess integration
+
+ tp_inst._limitMinMaxDateTime(this.inst, true);
+ }
+ },
+
+ /*
+ * This function tries to limit the ability to go outside the
+ * min/max date range
+ */
+ _limitMinMaxDateTime: function(dp_inst, adjustSliders) {
+ var o = this._defaults,
+ dp_date = new Date(dp_inst.selectedYear, dp_inst.selectedMonth, dp_inst.selectedDay);
+
+ if (!this._defaults.showTimepicker) {
+ return;
+ } // No time so nothing to check here
+
+ if ($.datepicker._get(dp_inst, 'minDateTime') !== null && $.datepicker._get(dp_inst, 'minDateTime') !== undefined && dp_date) {
+ var minDateTime = $.datepicker._get(dp_inst, 'minDateTime'),
+ minDateTimeDate = new Date(minDateTime.getFullYear(), minDateTime.getMonth(), minDateTime.getDate(), 0, 0, 0, 0);
+
+ if (this.hourMinOriginal === null || this.minuteMinOriginal === null || this.secondMinOriginal === null || this.millisecMinOriginal === null || this.microsecMinOriginal === null) {
+ this.hourMinOriginal = o.hourMin;
+ this.minuteMinOriginal = o.minuteMin;
+ this.secondMinOriginal = o.secondMin;
+ this.millisecMinOriginal = o.millisecMin;
+ this.microsecMinOriginal = o.microsecMin;
+ }
+
+ if (dp_inst.settings.timeOnly || minDateTimeDate.getTime() == dp_date.getTime()) {
+ this._defaults.hourMin = minDateTime.getHours();
+ if (this.hour <= this._defaults.hourMin) {
+ this.hour = this._defaults.hourMin;
+ this._defaults.minuteMin = minDateTime.getMinutes();
+ if (this.minute <= this._defaults.minuteMin) {
+ this.minute = this._defaults.minuteMin;
+ this._defaults.secondMin = minDateTime.getSeconds();
+ if (this.second <= this._defaults.secondMin) {
+ this.second = this._defaults.secondMin;
+ this._defaults.millisecMin = minDateTime.getMilliseconds();
+ if(this.millisec <= this._defaults.millisecMin) {
+ this.millisec = this._defaults.millisecMin;
+ this._defaults.microsecMin = minDateTime.getMicroseconds();
+ } else {
+ if (this.microsec < this._defaults.microsecMin) {
+ this.microsec = this._defaults.microsecMin;
+ }
+ this._defaults.microsecMin = this.microsecMinOriginal;
+ }
+ } else {
+ this._defaults.millisecMin = this.millisecMinOriginal;
+ this._defaults.microsecMin = this.microsecMinOriginal;
+ }
+ } else {
+ this._defaults.secondMin = this.secondMinOriginal;
+ this._defaults.millisecMin = this.millisecMinOriginal;
+ this._defaults.microsecMin = this.microsecMinOriginal;
+ }
+ } else {
+ this._defaults.minuteMin = this.minuteMinOriginal;
+ this._defaults.secondMin = this.secondMinOriginal;
+ this._defaults.millisecMin = this.millisecMinOriginal;
+ this._defaults.microsecMin = this.microsecMinOriginal;
+ }
+ } else {
+ this._defaults.hourMin = this.hourMinOriginal;
+ this._defaults.minuteMin = this.minuteMinOriginal;
+ this._defaults.secondMin = this.secondMinOriginal;
+ this._defaults.millisecMin = this.millisecMinOriginal;
+ this._defaults.microsecMin = this.microsecMinOriginal;
+ }
+ }
+
+ if ($.datepicker._get(dp_inst, 'maxDateTime') !== null && $.datepicker._get(dp_inst, 'maxDateTime') !== undefined && dp_date) {
+ var maxDateTime = $.datepicker._get(dp_inst, 'maxDateTime'),
+ maxDateTimeDate = new Date(maxDateTime.getFullYear(), maxDateTime.getMonth(), maxDateTime.getDate(), 0, 0, 0, 0);
+
+ if (this.hourMaxOriginal === null || this.minuteMaxOriginal === null || this.secondMaxOriginal === null || this.millisecMaxOriginal === null) {
+ this.hourMaxOriginal = o.hourMax;
+ this.minuteMaxOriginal = o.minuteMax;
+ this.secondMaxOriginal = o.secondMax;
+ this.millisecMaxOriginal = o.millisecMax;
+ this.microsecMaxOriginal = o.microsecMax;
+ }
+
+ if (dp_inst.settings.timeOnly || maxDateTimeDate.getTime() == dp_date.getTime()) {
+ this._defaults.hourMax = maxDateTime.getHours();
+ if (this.hour >= this._defaults.hourMax) {
+ this.hour = this._defaults.hourMax;
+ this._defaults.minuteMax = maxDateTime.getMinutes();
+ if (this.minute >= this._defaults.minuteMax) {
+ this.minute = this._defaults.minuteMax;
+ this._defaults.secondMax = maxDateTime.getSeconds();
+ if (this.second >= this._defaults.secondMax) {
+ this.second = this._defaults.secondMax;
+ this._defaults.millisecMax = maxDateTime.getMilliseconds();
+ if (this.millisec >= this._defaults.millisecMax) {
+ this.millisec = this._defaults.millisecMax;
+ this._defaults.microsecMax = maxDateTime.getMicroseconds();
+ } else {
+ if (this.microsec > this._defaults.microsecMax) {
+ this.microsec = this._defaults.microsecMax;
+ }
+ this._defaults.microsecMax = this.microsecMaxOriginal;
+ }
+ } else {
+ this._defaults.millisecMax = this.millisecMaxOriginal;
+ this._defaults.microsecMax = this.microsecMaxOriginal;
+ }
+ } else {
+ this._defaults.secondMax = this.secondMaxOriginal;
+ this._defaults.millisecMax = this.millisecMaxOriginal;
+ this._defaults.microsecMax = this.microsecMaxOriginal;
+ }
+ } else {
+ this._defaults.minuteMax = this.minuteMaxOriginal;
+ this._defaults.secondMax = this.secondMaxOriginal;
+ this._defaults.millisecMax = this.millisecMaxOriginal;
+ this._defaults.microsecMax = this.microsecMaxOriginal;
+ }
+ } else {
+ this._defaults.hourMax = this.hourMaxOriginal;
+ this._defaults.minuteMax = this.minuteMaxOriginal;
+ this._defaults.secondMax = this.secondMaxOriginal;
+ this._defaults.millisecMax = this.millisecMaxOriginal;
+ this._defaults.microsecMax = this.microsecMaxOriginal;
+ }
+ }
+
+ if (adjustSliders !== undefined && adjustSliders === true) {
+ var hourMax = parseInt((this._defaults.hourMax - ((this._defaults.hourMax - this._defaults.hourMin) % this._defaults.stepHour)), 10),
+ minMax = parseInt((this._defaults.minuteMax - ((this._defaults.minuteMax - this._defaults.minuteMin) % this._defaults.stepMinute)), 10),
+ secMax = parseInt((this._defaults.secondMax - ((this._defaults.secondMax - this._defaults.secondMin) % this._defaults.stepSecond)), 10),
+ millisecMax = parseInt((this._defaults.millisecMax - ((this._defaults.millisecMax - this._defaults.millisecMin) % this._defaults.stepMillisec)), 10);
+ microsecMax = parseInt((this._defaults.microsecMax - ((this._defaults.microsecMax - this._defaults.microsecMin) % this._defaults.stepMicrosec)), 10);
+
+ if (this.hour_slider) {
+ this.control.options(this, this.hour_slider, 'hour', { min: this._defaults.hourMin, max: hourMax });
+ this.control.value(this, this.hour_slider, 'hour', this.hour - (this.hour % this._defaults.stepHour));
+ }
+ if (this.minute_slider) {
+ this.control.options(this, this.minute_slider, 'minute', { min: this._defaults.minuteMin, max: minMax });
+ this.control.value(this, this.minute_slider, 'minute', this.minute - (this.minute % this._defaults.stepMinute));
+ }
+ if (this.second_slider) {
+ this.control.options(this, this.second_slider, 'second', { min: this._defaults.secondMin, max: secMax });
+ this.control.value(this, this.second_slider, 'second', this.second - (this.second % this._defaults.stepSecond));
+ }
+ if (this.millisec_slider) {
+ this.control.options(this, this.millisec_slider, 'millisec', { min: this._defaults.millisecMin, max: millisecMax });
+ this.control.value(this, this.millisec_slider, 'millisec', this.millisec - (this.millisec % this._defaults.stepMillisec));
+ }
+ if (this.microsec_slider) {
+ this.control.options(this, this.microsec_slider, 'microsec', { min: this._defaults.microsecMin, max: microsecMax });
+ this.control.value(this, this.microsec_slider, 'microsec', this.microsec - (this.microsec % this._defaults.stepMicrosec));
+ }
+ }
+
+ },
+
+ /*
+ * when a slider moves, set the internal time...
+ * on time change is also called when the time is updated in the text field
+ */
+ _onTimeChange: function() {
+ var hour = (this.hour_slider) ? this.control.value(this, this.hour_slider, 'hour') : false,
+ minute = (this.minute_slider) ? this.control.value(this, this.minute_slider, 'minute') : false,
+ second = (this.second_slider) ? this.control.value(this, this.second_slider, 'second') : false,
+ millisec = (this.millisec_slider) ? this.control.value(this, this.millisec_slider, 'millisec') : false,
+ microsec = (this.microsec_slider) ? this.control.value(this, this.microsec_slider, 'microsec') : false,
+ timezone = (this.timezone_select) ? this.timezone_select.val() : false,
+ o = this._defaults,
+ pickerTimeFormat = o.pickerTimeFormat || o.timeFormat,
+ pickerTimeSuffix = o.pickerTimeSuffix || o.timeSuffix;
+
+ if (typeof(hour) == 'object') {
+ hour = false;
+ }
+ if (typeof(minute) == 'object') {
+ minute = false;
+ }
+ if (typeof(second) == 'object') {
+ second = false;
+ }
+ if (typeof(millisec) == 'object') {
+ millisec = false;
+ }
+ if (typeof(microsec) == 'object') {
+ microsec = false;
+ }
+ if (typeof(timezone) == 'object') {
+ timezone = false;
+ }
+
+ if (hour !== false) {
+ hour = parseInt(hour, 10);
+ }
+ if (minute !== false) {
+ minute = parseInt(minute, 10);
+ }
+ if (second !== false) {
+ second = parseInt(second, 10);
+ }
+ if (millisec !== false) {
+ millisec = parseInt(millisec, 10);
+ }
+ if (microsec !== false) {
+ microsec = parseInt(microsec, 10);
+ }
+
+ var ampm = o[hour < 12 ? 'amNames' : 'pmNames'][0];
+
+ // If the update was done in the input field, the input field should not be updated.
+ // If the update was done using the sliders, update the input field.
+ var hasChanged = (hour != this.hour || minute != this.minute || second != this.second || millisec != this.millisec || microsec != this.microsec
+ || (this.ampm.length > 0 && (hour < 12) != ($.inArray(this.ampm.toUpperCase(), this.amNames) !== -1))
+ || (this.timezone !== null && timezone != this.timezone));
+
+ if (hasChanged) {
+
+ if (hour !== false) {
+ this.hour = hour;
+ }
+ if (minute !== false) {
+ this.minute = minute;
+ }
+ if (second !== false) {
+ this.second = second;
+ }
+ if (millisec !== false) {
+ this.millisec = millisec;
+ }
+ if (microsec !== false) {
+ this.microsec = microsec;
+ }
+ if (timezone !== false) {
+ this.timezone = timezone;
+ }
+
+ if (!this.inst) {
+ this.inst = $.datepicker._getInst(this.$input[0]);
+ }
+
+ this._limitMinMaxDateTime(this.inst, true);
+ }
+ if (this.support.ampm) {
+ this.ampm = ampm;
+ }
+
+ // Updates the time within the timepicker
+ this.formattedTime = $.datepicker.formatTime(o.timeFormat, this, o);
+ if (this.$timeObj) {
+ if(pickerTimeFormat === o.timeFormat){
+ this.$timeObj.text(this.formattedTime + pickerTimeSuffix);
+ }
+ else{
+ this.$timeObj.text($.datepicker.formatTime(pickerTimeFormat, this, o) + pickerTimeSuffix);
+ }
+ }
+
+ this.timeDefined = true;
+ if (hasChanged) {
+ this._updateDateTime();
+ }
+ },
+
+ /*
+ * call custom onSelect.
+ * bind to sliders slidestop, and grid click.
+ */
+ _onSelectHandler: function() {
+ var onSelect = this._defaults.onSelect || this.inst.settings.onSelect;
+ var inputEl = this.$input ? this.$input[0] : null;
+ if (onSelect && inputEl) {
+ onSelect.apply(inputEl, [this.formattedDateTime, this]);
+ }
+ },
+
+ /*
+ * update our input with the new date time..
+ */
+ _updateDateTime: function(dp_inst) {
+ dp_inst = this.inst || dp_inst;
+ //var dt = $.datepicker._daylightSavingAdjust(new Date(dp_inst.selectedYear, dp_inst.selectedMonth, dp_inst.selectedDay)),
+ var dt = $.datepicker._daylightSavingAdjust(new Date(dp_inst.currentYear, dp_inst.currentMonth, dp_inst.currentDay)),
+ dateFmt = $.datepicker._get(dp_inst, 'dateFormat'),
+ formatCfg = $.datepicker._getFormatConfig(dp_inst),
+ timeAvailable = dt !== null && this.timeDefined;
+ this.formattedDate = $.datepicker.formatDate(dateFmt, (dt === null ? new Date() : dt), formatCfg);
+ var formattedDateTime = this.formattedDate;
+
+ // if a slider was changed but datepicker doesn't have a value yet, set it
+ if(dp_inst.lastVal===""){
+ dp_inst.currentYear=dp_inst.selectedYear;
+ dp_inst.currentMonth=dp_inst.selectedMonth;
+ dp_inst.currentDay=dp_inst.selectedDay;
+ }
+
+ /*
+ * remove following lines to force every changes in date picker to change the input value
+ * Bug descriptions: when an input field has a default value, and click on the field to pop up the date picker.
+ * If the user manually empty the value in the input field, the date picker will never change selected value.
+ */
+ //if (dp_inst.lastVal !== undefined && (dp_inst.lastVal.length > 0 && this.$input.val().length === 0)) {
+ // return;
+ //}
+
+ if (this._defaults.timeOnly === true) {
+ formattedDateTime = this.formattedTime;
+ } else if (this._defaults.timeOnly !== true && (this._defaults.alwaysSetTime || timeAvailable)) {
+ formattedDateTime += this._defaults.separator + this.formattedTime + this._defaults.timeSuffix;
+ }
+
+ this.formattedDateTime = formattedDateTime;
+
+ if (!this._defaults.showTimepicker) {
+ this.$input.val(this.formattedDate);
+ } else if (this.$altInput && this._defaults.timeOnly === false && this._defaults.altFieldTimeOnly === true) {
+ this.$altInput.val(this.formattedTime);
+ this.$input.val(this.formattedDate);
+ } else if (this.$altInput) {
+ this.$input.val(formattedDateTime);
+ var altFormattedDateTime = '',
+ altSeparator = this._defaults.altSeparator ? this._defaults.altSeparator : this._defaults.separator,
+ altTimeSuffix = this._defaults.altTimeSuffix ? this._defaults.altTimeSuffix : this._defaults.timeSuffix;
+
+ if(!this._defaults.timeOnly){
+ if (this._defaults.altFormat){
+ altFormattedDateTime = $.datepicker.formatDate(this._defaults.altFormat, (dt === null ? new Date() : dt), formatCfg);
+ }
+ else{
+ altFormattedDateTime = this.formattedDate;
+ }
+
+ if (altFormattedDateTime){
+ altFormattedDateTime += altSeparator;
+ }
+ }
+
+ if(this._defaults.altTimeFormat){
+ altFormattedDateTime += $.datepicker.formatTime(this._defaults.altTimeFormat, this, this._defaults) + altTimeSuffix;
+ }
+ else{
+ altFormattedDateTime += this.formattedTime + altTimeSuffix;
+ }
+ this.$altInput.val(altFormattedDateTime);
+ } else {
+ this.$input.val(formattedDateTime);
+ }
+
+ this.$input.trigger("change");
+ },
+
+ _onFocus: function() {
+ if (!this.$input.val() && this._defaults.defaultValue) {
+ this.$input.val(this._defaults.defaultValue);
+ var inst = $.datepicker._getInst(this.$input.get(0)),
+ tp_inst = $.datepicker._get(inst, 'timepicker');
+ if (tp_inst) {
+ if (tp_inst._defaults.timeOnly && (inst.input.val() != inst.lastVal)) {
+ try {
+ $.datepicker._updateDatepicker(inst);
+ } catch (err) {
+ $.timepicker.log(err);
+ }
+ }
+ }
+ }
+ },
+
+ /*
+ * Small abstraction to control types
+ * We can add more, just be sure to follow the pattern: create, options, value
+ */
+ _controls: {
+ // slider methods
+ slider: {
+ create: function(tp_inst, obj, unit, val, min, max, step){
+ var rtl = tp_inst._defaults.isRTL; // if rtl go -60->0 instead of 0->60
+ return obj.prop('slide', null).slider({
+ orientation: "horizontal",
+ value: rtl? val*-1 : val,
+ min: rtl? max*-1 : min,
+ max: rtl? min*-1 : max,
+ step: step,
+ slide: function(event, ui) {
+ tp_inst.control.value(tp_inst, $(this), unit, rtl? ui.value*-1:ui.value);
+ tp_inst._onTimeChange();
+ },
+ stop: function(event, ui) {
+ tp_inst._onSelectHandler();
+ }
+ });
+ },
+ options: function(tp_inst, obj, unit, opts, val){
+ if(tp_inst._defaults.isRTL){
+ if(typeof(opts) == 'string'){
+ if(opts == 'min' || opts == 'max'){
+ if(val !== undefined){
+ return obj.slider(opts, val*-1);
+ }
+ return Math.abs(obj.slider(opts));
+ }
+ return obj.slider(opts);
+ }
+ var min = opts.min,
+ max = opts.max;
+ opts.min = opts.max = null;
+ if(min !== undefined){
+ opts.max = min * -1;
+ }
+ if(max !== undefined){
+ opts.min = max * -1;
+ }
+ return obj.slider(opts);
+ }
+ if(typeof(opts) == 'string' && val !== undefined){
+ return obj.slider(opts, val);
+ }
+ return obj.slider(opts);
+ },
+ value: function(tp_inst, obj, unit, val){
+ if(tp_inst._defaults.isRTL){
+ if(val !== undefined){
+ return obj.slider('value', val*-1);
+ }
+ return Math.abs(obj.slider('value'));
+ }
+ if(val !== undefined){
+ return obj.slider('value', val);
+ }
+ return obj.slider('value');
+ }
+ },
+ // select methods
+ select: {
+ create: function(tp_inst, obj, unit, val, min, max, step){
+ var sel = '<select class="ui-timepicker-select" data-unit="'+ unit +'" data-min="'+ min +'" data-max="'+ max +'" data-step="'+ step +'">',
+ format = tp_inst._defaults.pickerTimeFormat || tp_inst._defaults.timeFormat;
+
+ for(var i=min; i<=max; i+=step){
+ sel += '<option value="'+ i +'"'+ (i==val? ' selected':'') +'>';
+ if(unit == 'hour'){
+ sel += $.datepicker.formatTime($.trim(format.replace(/[^ht ]/ig,'')), {hour:i}, tp_inst._defaults);
+ }
+ else if(unit == 'millisec' || unit == 'microsec' || i >= 10){ sel += i; }
+ else {sel += '0'+ i.toString(); }
+ sel += '</option>';
+ }
+ sel += '</select>';
+
+ obj.children('select').remove();
+
+ $(sel).appendTo(obj).change(function(e){
+ tp_inst._onTimeChange();
+ tp_inst._onSelectHandler();
+ });
+
+ return obj;
+ },
+ options: function(tp_inst, obj, unit, opts, val){
+ var o = {},
+ $t = obj.children('select');
+ if(typeof(opts) == 'string'){
+ if(val === undefined){
+ return $t.data(opts);
+ }
+ o[opts] = val;
+ }
+ else{ o = opts; }
+ return tp_inst.control.create(tp_inst, obj, $t.data('unit'), $t.val(), o.min || $t.data('min'), o.max || $t.data('max'), o.step || $t.data('step'));
+ },
+ value: function(tp_inst, obj, unit, val){
+ var $t = obj.children('select');
+ if(val !== undefined){
+ return $t.val(val);
+ }
+ return $t.val();
+ }
+ }
+ } // end _controls
+
+ });
+
+ $.fn.extend({
+ /*
+ * shorthand just to use timepicker..
+ */
+ timepicker: function(o) {
+ o = o || {};
+ var tmp_args = Array.prototype.slice.call(arguments);
+
+ if (typeof o == 'object') {
+ tmp_args[0] = $.extend(o, {
+ timeOnly: true
+ });
+ }
+
+ return $(this).each(function() {
+ $.fn.datetimepicker.apply($(this), tmp_args);
+ });
+ },
+
+ /*
+ * extend timepicker to datepicker
+ */
+ datetimepicker: function(o) {
+ o = o || {};
+ var tmp_args = arguments;
+
+ if (typeof(o) == 'string') {
+ if (o == 'getDate') {
+ return $.fn.datepicker.apply($(this[0]), tmp_args);
+ } else {
+ return this.each(function() {
+ var $t = $(this);
+ $t.datepicker.apply($t, tmp_args);
+ });
+ }
+ } else {
+ return this.each(function() {
+ var $t = $(this);
+ $t.datepicker($.timepicker._newInst($t, o)._defaults);
+ });
+ }
+ }
+ });
+
+ /*
+ * Public Utility to parse date and time
+ */
+ $.datepicker.parseDateTime = function(dateFormat, timeFormat, dateTimeString, dateSettings, timeSettings) {
+ var parseRes = parseDateTimeInternal(dateFormat, timeFormat, dateTimeString, dateSettings, timeSettings);
+ if (parseRes.timeObj) {
+ var t = parseRes.timeObj;
+ parseRes.date.setHours(t.hour, t.minute, t.second, t.millisec);
+ parseRes.date.setMicroseconds(t.microsec);
+ }
+
+ return parseRes.date;
+ };
+
+ /*
+ * Public utility to parse time
+ */
+ $.datepicker.parseTime = function(timeFormat, timeString, options) {
+ var o = extendRemove(extendRemove({}, $.timepicker._defaults), options || {}),
+ iso8601 = (timeFormat.replace(/\'.*?\'/g,'').indexOf('Z') !== -1);
+
+ // Strict parse requires the timeString to match the timeFormat exactly
+ var strictParse = function(f, s, o){
+
+ // pattern for standard and localized AM/PM markers
+ var getPatternAmpm = function(amNames, pmNames) {
+ var markers = [];
+ if (amNames) {
+ $.merge(markers, amNames);
+ }
+ if (pmNames) {
+ $.merge(markers, pmNames);
+ }
+ markers = $.map(markers, function(val) {
+ return val.replace(/[.*+?|()\[\]{}\\]/g, '\\$&');
+ });
+ return '(' + markers.join('|') + ')?';
+ };
+
+ // figure out position of time elements.. cause js cant do named captures
+ var getFormatPositions = function(timeFormat) {
+ var finds = timeFormat.toLowerCase().match(/(h{1,2}|m{1,2}|s{1,2}|l{1}|c{1}|t{1,2}|z|'.*?')/g),
+ orders = {
+ h: -1,
+ m: -1,
+ s: -1,
+ l: -1,
+ c: -1,
+ t: -1,
+ z: -1
+ };
+
+ if (finds) {
+ for (var i = 0; i < finds.length; i++) {
+ if (orders[finds[i].toString().charAt(0)] == -1) {
+ orders[finds[i].toString().charAt(0)] = i + 1;
+ }
+ }
+ }
+ return orders;
+ };
+
+ var regstr = '^' + f.toString()
+ .replace(/([hH]{1,2}|mm?|ss?|[tT]{1,2}|[zZ]|[lc]|'.*?')/g, function (match) {
+ var ml = match.length;
+ switch (match.charAt(0).toLowerCase()) {
+ case 'h': return ml === 1? '(\\d?\\d)':'(\\d{'+ml+'})';
+ case 'm': return ml === 1? '(\\d?\\d)':'(\\d{'+ml+'})';
+ case 's': return ml === 1? '(\\d?\\d)':'(\\d{'+ml+'})';
+ case 'l': return '(\\d?\\d?\\d)';
+ case 'c': return '(\\d?\\d?\\d)';
+ case 'z': return '(z|[-+]\\d\\d:?\\d\\d|\\S+)?';
+ case 't': return getPatternAmpm(o.amNames, o.pmNames);
+ default: // literal escaped in quotes
+ return '(' + match.replace(/\'/g, "").replace(/(\.|\$|\^|\\|\/|\(|\)|\[|\]|\?|\+|\*)/g, function (m) { return "\\" + m; }) + ')?';
+ }
+ })
+ .replace(/\s/g, '\\s?') +
+ o.timeSuffix + '$',
+ order = getFormatPositions(f),
+ ampm = '',
+ treg;
+
+ treg = s.match(new RegExp(regstr, 'i'));
+
+ var resTime = {
+ hour: 0,
+ minute: 0,
+ second: 0,
+ millisec: 0,
+ microsec: 0
+ };
+
+ if (treg) {
+ if (order.t !== -1) {
+ if (treg[order.t] === undefined || treg[order.t].length === 0) {
+ ampm = '';
+ resTime.ampm = '';
+ } else {
+ ampm = $.inArray(treg[order.t].toUpperCase(), o.amNames) !== -1 ? 'AM' : 'PM';
+ resTime.ampm = o[ampm == 'AM' ? 'amNames' : 'pmNames'][0];
+ }
+ }
+
+ if (order.h !== -1) {
+ if (ampm == 'AM' && treg[order.h] == '12') {
+ resTime.hour = 0; // 12am = 0 hour
+ } else {
+ if (ampm == 'PM' && treg[order.h] != '12') {
+ resTime.hour = parseInt(treg[order.h], 10) + 12; // 12pm = 12 hour, any other pm = hour + 12
+ } else {
+ resTime.hour = Number(treg[order.h]);
+ }
+ }
+ }
+
+ if (order.m !== -1) {
+ resTime.minute = Number(treg[order.m]);
+ }
+ if (order.s !== -1) {
+ resTime.second = Number(treg[order.s]);
+ }
+ if (order.l !== -1) {
+ resTime.millisec = Number(treg[order.l]);
+ }
+ if (order.c !== -1) {
+ resTime.microsec = Number(treg[order.c]);
+ }
+ if (order.z !== -1 && treg[order.z] !== undefined) {
+ resTime.timezone = $.timepicker.timezoneOffsetNumber(treg[order.z]);
+ }
+
+
+ return resTime;
+ }
+ return false;
+ };// end strictParse
+
+ // First try JS Date, if that fails, use strictParse
+ var looseParse = function(f,s,o){
+ try{
+ var d = new Date('2012-01-01 '+ s);
+ if(isNaN(d.getTime())){
+ d = new Date('2012-01-01T'+ s);
+ if(isNaN(d.getTime())){
+ d = new Date('01/01/2012 '+ s);
+ if(isNaN(d.getTime())){
+ throw "Unable to parse time with native Date: "+ s;
+ }
+ }
+ }
+
+ return {
+ hour: d.getHours(),
+ minute: d.getMinutes(),
+ second: d.getSeconds(),
+ millisec: d.getMilliseconds(),
+ microsec: d.getMicroseconds(),
+ timezone: d.getTimezoneOffset()*-1
+ };
+ }
+ catch(err){
+ try{
+ return strictParse(f,s,o);
+ }
+ catch(err2){
+ $.timepicker.log("Unable to parse \ntimeString: "+ s +"\ntimeFormat: "+ f);
+ }
+ }
+ return false;
+ }; // end looseParse
+
+ if(typeof o.parse === "function"){
+ return o.parse(timeFormat, timeString, o);
+ }
+ if(o.parse === 'loose'){
+ return looseParse(timeFormat, timeString, o);
+ }
+ return strictParse(timeFormat, timeString, o);
+ };
+
+ /*
+ * Public utility to format the time
+ * format = string format of the time
+ * time = a {}, not a Date() for timezones
+ * options = essentially the regional[].. amNames, pmNames, ampm
+ */
+ $.datepicker.formatTime = function(format, time, options) {
+ options = options || {};
+ options = $.extend({}, $.timepicker._defaults, options);
+ time = $.extend({
+ hour: 0,
+ minute: 0,
+ second: 0,
+ millisec: 0,
+ timezone: 0
+ }, time);
+
+ var tmptime = format,
+ ampmName = options.amNames[0],
+ hour = parseInt(time.hour, 10);
+
+ if (hour > 11) {
+ ampmName = options.pmNames[0];
+ }
+
+ tmptime = tmptime.replace(/(?:HH?|hh?|mm?|ss?|[tT]{1,2}|[zZ]|[lc]|('.*?'|".*?"))/g, function(match) {
+ switch (match) {
+ case 'HH':
+ return ('0' + hour).slice(-2);
+ case 'H':
+ return hour;
+ case 'hh':
+ return ('0' + convert24to12(hour)).slice(-2);
+ case 'h':
+ return convert24to12(hour);
+ case 'mm':
+ return ('0' + time.minute).slice(-2);
+ case 'm':
+ return time.minute;
+ case 'ss':
+ return ('0' + time.second).slice(-2);
+ case 's':
+ return time.second;
+ case 'l':
+ return ('00' + time.millisec).slice(-3);
+ case 'c':
+ return ('00' + time.microsec).slice(-3);
+ case 'z':
+ return $.timepicker.timezoneOffsetString(time.timezone === null? options.timezone : time.timezone, false);
+ case 'Z':
+ return $.timepicker.timezoneOffsetString(time.timezone === null? options.timezone : time.timezone, true);
+ case 'T':
+ return ampmName.charAt(0).toUpperCase();
+ case 'TT':
+ return ampmName.toUpperCase();
+ case 't':
+ return ampmName.charAt(0).toLowerCase();
+ case 'tt':
+ return ampmName.toLowerCase();
+ default:
+ return match.replace(/\'/g, "") || "'";
+ }
+ });
+
+ tmptime = $.trim(tmptime);
+ return tmptime;
+ };
+
+ /*
+ * the bad hack :/ override datepicker so it doesnt close on select
+ // inspired: http://stackoverflow.com/questions/1252512/jquery-datepicker-prevent-closing-picker-when-clicking-a-date/1762378#1762378
+ */
+ $.datepicker._base_selectDate = $.datepicker._selectDate;
+ $.datepicker._selectDate = function(id, dateStr) {
+ var inst = this._getInst($(id)[0]),
+ tp_inst = this._get(inst, 'timepicker');
+
+ if (tp_inst) {
+ tp_inst._limitMinMaxDateTime(inst, true);
+ inst.inline = inst.stay_open = true;
+ //This way the onSelect handler called from calendarpicker get the full dateTime
+ this._base_selectDate(id, dateStr);
+ inst.inline = inst.stay_open = false;
+ this._notifyChange(inst);
+ this._updateDatepicker(inst);
+ } else {
+ this._base_selectDate(id, dateStr);
+ }
+ };
+
+ /*
+ * second bad hack :/ override datepicker so it triggers an event when changing the input field
+ * and does not redraw the datepicker on every selectDate event
+ */
+ $.datepicker._base_updateDatepicker = $.datepicker._updateDatepicker;
+ $.datepicker._updateDatepicker = function(inst) {
+
+ // don't popup the datepicker if there is another instance already opened
+ var input = inst.input[0];
+ if ($.datepicker._curInst && $.datepicker._curInst != inst && $.datepicker._datepickerShowing && $.datepicker._lastInput != input) {
+ return;
+ }
+
+ if (typeof(inst.stay_open) !== 'boolean' || inst.stay_open === false) {
+
+ this._base_updateDatepicker(inst);
+
+ // Reload the time control when changing something in the input text field.
+ var tp_inst = this._get(inst, 'timepicker');
+ if (tp_inst) {
+ tp_inst._addTimePicker(inst);
+ }
+ }
+ };
+
+ /*
+ * third bad hack :/ override datepicker so it allows spaces and colon in the input field
+ */
+ $.datepicker._base_doKeyPress = $.datepicker._doKeyPress;
+ $.datepicker._doKeyPress = function(event) {
+ var inst = $.datepicker._getInst(event.target),
+ tp_inst = $.datepicker._get(inst, 'timepicker');
+
+ if (tp_inst) {
+ if ($.datepicker._get(inst, 'constrainInput')) {
+ var ampm = tp_inst.support.ampm,
+ tz = tp_inst._defaults.showTimezone !== null? tp_inst._defaults.showTimezone : tp_inst.support.timezone,
+ dateChars = $.datepicker._possibleChars($.datepicker._get(inst, 'dateFormat')),
+ datetimeChars = tp_inst._defaults.timeFormat.toString()
+ .replace(/[hms]/g, '')
+ .replace(/TT/g, ampm ? 'APM' : '')
+ .replace(/Tt/g, ampm ? 'AaPpMm' : '')
+ .replace(/tT/g, ampm ? 'AaPpMm' : '')
+ .replace(/T/g, ampm ? 'AP' : '')
+ .replace(/tt/g, ampm ? 'apm' : '')
+ .replace(/t/g, ampm ? 'ap' : '') +
+ " " + tp_inst._defaults.separator +
+ tp_inst._defaults.timeSuffix +
+ (tz ? tp_inst._defaults.timezoneList.join('') : '') +
+ (tp_inst._defaults.amNames.join('')) + (tp_inst._defaults.pmNames.join('')) +
+ dateChars,
+ chr = String.fromCharCode(event.charCode === undefined ? event.keyCode : event.charCode);
+ return event.ctrlKey || (chr < ' ' || !dateChars || datetimeChars.indexOf(chr) > -1);
+ }
+ }
+
+ return $.datepicker._base_doKeyPress(event);
+ };
+
+ /*
+ * Fourth bad hack :/ override _updateAlternate function used in inline mode to init altField
+ */
+ $.datepicker._base_updateAlternate = $.datepicker._updateAlternate;
+ /* Update any alternate field to synchronise with the main field. */
+ $.datepicker._updateAlternate = function(inst) {
+ var tp_inst = this._get(inst, 'timepicker');
+ if(tp_inst){
+ var altField = tp_inst._defaults.altField;
+ if (altField) { // update alternate field too
+ var altFormat = tp_inst._defaults.altFormat || tp_inst._defaults.dateFormat,
+ date = this._getDate(inst),
+ formatCfg = $.datepicker._getFormatConfig(inst),
+ altFormattedDateTime = '',
+ altSeparator = tp_inst._defaults.altSeparator ? tp_inst._defaults.altSeparator : tp_inst._defaults.separator,
+ altTimeSuffix = tp_inst._defaults.altTimeSuffix ? tp_inst._defaults.altTimeSuffix : tp_inst._defaults.timeSuffix,
+ altTimeFormat = tp_inst._defaults.altTimeFormat !== null ? tp_inst._defaults.altTimeFormat : tp_inst._defaults.timeFormat;
+
+ altFormattedDateTime += $.datepicker.formatTime(altTimeFormat, tp_inst, tp_inst._defaults) + altTimeSuffix;
+ if(!tp_inst._defaults.timeOnly && !tp_inst._defaults.altFieldTimeOnly && date !== null){
+ if(tp_inst._defaults.altFormat){
+ altFormattedDateTime = $.datepicker.formatDate(tp_inst._defaults.altFormat, date, formatCfg) + altSeparator + altFormattedDateTime;
+ }
+ else{
+ altFormattedDateTime = tp_inst.formattedDate + altSeparator + altFormattedDateTime;
+ }
+ }
+ $(altField).val(altFormattedDateTime);
+ }
+ }
+ else{
+ $.datepicker._base_updateAlternate(inst);
+ }
+ };
+
+ /*
+ * Override key up event to sync manual input changes.
+ */
+ $.datepicker._base_doKeyUp = $.datepicker._doKeyUp;
+ $.datepicker._doKeyUp = function(event) {
+ var inst = $.datepicker._getInst(event.target),
+ tp_inst = $.datepicker._get(inst, 'timepicker');
+
+ if (tp_inst) {
+ if (tp_inst._defaults.timeOnly && (inst.input.val() != inst.lastVal)) {
+ try {
+ $.datepicker._updateDatepicker(inst);
+ } catch (err) {
+ $.timepicker.log(err);
+ }
+ }
+ }
+
+ return $.datepicker._base_doKeyUp(event);
+ };
+
+ /*
+ * override "Today" button to also grab the time.
+ */
+ $.datepicker._base_gotoToday = $.datepicker._gotoToday;
+ $.datepicker._gotoToday = function(id) {
+ var inst = this._getInst($(id)[0]),
+ $dp = inst.dpDiv;
+ this._base_gotoToday(id);
+ var tp_inst = this._get(inst, 'timepicker');
+ selectLocalTimezone(tp_inst);
+ var now = new Date();
+ this._setTime(inst, now);
+ $('.ui-datepicker-today', $dp).click();
+ };
+
+ /*
+ * Disable & enable the Time in the datetimepicker
+ */
+ $.datepicker._disableTimepickerDatepicker = function(target) {
+ var inst = this._getInst(target);
+ if (!inst) {
+ return;
+ }
+
+ var tp_inst = this._get(inst, 'timepicker');
+ $(target).datepicker('getDate'); // Init selected[Year|Month|Day]
+ if (tp_inst) {
+ tp_inst._defaults.showTimepicker = false;
+ tp_inst._updateDateTime(inst);
+ }
+ };
+
+ $.datepicker._enableTimepickerDatepicker = function(target) {
+ var inst = this._getInst(target);
+ if (!inst) {
+ return;
+ }
+
+ var tp_inst = this._get(inst, 'timepicker');
+ $(target).datepicker('getDate'); // Init selected[Year|Month|Day]
+ if (tp_inst) {
+ tp_inst._defaults.showTimepicker = true;
+ tp_inst._addTimePicker(inst); // Could be disabled on page load
+ tp_inst._updateDateTime(inst);
+ }
+ };
+
+ /*
+ * Create our own set time function
+ */
+ $.datepicker._setTime = function(inst, date) {
+ var tp_inst = this._get(inst, 'timepicker');
+ if (tp_inst) {
+ var defaults = tp_inst._defaults;
+
+ // calling _setTime with no date sets time to defaults
+ tp_inst.hour = date ? date.getHours() : defaults.hour;
+ tp_inst.minute = date ? date.getMinutes() : defaults.minute;
+ tp_inst.second = date ? date.getSeconds() : defaults.second;
+ tp_inst.millisec = date ? date.getMilliseconds() : defaults.millisec;
+ tp_inst.microsec = date ? date.getMicroseconds() : defaults.microsec;
+
+ //check if within min/max times..
+ tp_inst._limitMinMaxDateTime(inst, true);
+
+ tp_inst._onTimeChange();
+ tp_inst._updateDateTime(inst);
+ }
+ };
+
+ /*
+ * Create new public method to set only time, callable as $().datepicker('setTime', date)
+ */
+ $.datepicker._setTimeDatepicker = function(target, date, withDate) {
+ var inst = this._getInst(target);
+ if (!inst) {
+ return;
+ }
+
+ var tp_inst = this._get(inst, 'timepicker');
+
+ if (tp_inst) {
+ this._setDateFromField(inst);
+ var tp_date;
+ if (date) {
+ if (typeof date == "string") {
+ tp_inst._parseTime(date, withDate);
+ tp_date = new Date();
+ tp_date.setHours(tp_inst.hour, tp_inst.minute, tp_inst.second, tp_inst.millisec);
+ tp_date.setMicroseconds(tp_inst.microsec);
+ } else {
+ tp_date = new Date(date.getTime());
+ tp_date.setMicroseconds(date.getMicroseconds());
+ }
+ if (tp_date.toString() == 'Invalid Date') {
+ tp_date = undefined;
+ }
+ this._setTime(inst, tp_date);
+ }
+ }
+
+ };
+
+ /*
+ * override setDate() to allow setting time too within Date object
+ */
+ $.datepicker._base_setDateDatepicker = $.datepicker._setDateDatepicker;
+ $.datepicker._setDateDatepicker = function(target, date) {
+ var inst = this._getInst(target);
+ if (!inst) {
+ return;
+ }
+
+ if(typeof(date) === 'string'){
+ date = new Date(date);
+ if(!date.getTime()){
+ $.timepicker.log("Error creating Date object from string.");
+ }
+ }
+
+ var tp_inst = this._get(inst, 'timepicker');
+ var tp_date;
+ if (date instanceof Date) {
+ tp_date = new Date(date.getTime());
+ tp_date.setMicroseconds(date.getMicroseconds());
+ } else {
+ tp_date = date;
+ }
+
+ // This is important if you are using the timezone option, javascript's Date
+ // object will only return the timezone offset for the current locale, so we
+ // adjust it accordingly. If not using timezone option this won't matter..
+ // If a timezone is different in tp, keep the timezone as is
+ if(tp_inst){
+ // look out for DST if tz wasn't specified
+ if(!tp_inst.support.timezone && tp_inst._defaults.timezone === null){
+ tp_inst.timezone = tp_date.getTimezoneOffset()*-1;
+ }
+ date = $.timepicker.timezoneAdjust(date, tp_inst.timezone);
+ tp_date = $.timepicker.timezoneAdjust(tp_date, tp_inst.timezone);
+ }
+
+ this._updateDatepicker(inst);
+ this._base_setDateDatepicker.apply(this, arguments);
+ this._setTimeDatepicker(target, tp_date, true);
+ };
+
+ /*
+ * override getDate() to allow getting time too within Date object
+ */
+ $.datepicker._base_getDateDatepicker = $.datepicker._getDateDatepicker;
+ $.datepicker._getDateDatepicker = function(target, noDefault) {
+ var inst = this._getInst(target);
+ if (!inst) {
+ return;
+ }
+
+ var tp_inst = this._get(inst, 'timepicker');
+
+ if (tp_inst) {
+ // if it hasn't yet been defined, grab from field
+ if(inst.lastVal === undefined){
+ this._setDateFromField(inst, noDefault);
+ }
+
+ var date = this._getDate(inst);
+ if (date && tp_inst._parseTime($(target).val(), tp_inst.timeOnly)) {
+ date.setHours(tp_inst.hour, tp_inst.minute, tp_inst.second, tp_inst.millisec);
+ date.setMicroseconds(tp_inst.microsec);
+
+ // This is important if you are using the timezone option, javascript's Date
+ // object will only return the timezone offset for the current locale, so we
+ // adjust it accordingly. If not using timezone option this won't matter..
+ if(tp_inst.timezone != null){
+ // look out for DST if tz wasn't specified
+ if(!tp_inst.support.timezone && tp_inst._defaults.timezone === null){
+ tp_inst.timezone = date.getTimezoneOffset()*-1;
+ }
+ date = $.timepicker.timezoneAdjust(date, tp_inst.timezone);
+ }
+ }
+ return date;
+ }
+ return this._base_getDateDatepicker(target, noDefault);
+ };
+
+ /*
+ * override parseDate() because UI 1.8.14 throws an error about "Extra characters"
+ * An option in datapicker to ignore extra format characters would be nicer.
+ */
+ $.datepicker._base_parseDate = $.datepicker.parseDate;
+ $.datepicker.parseDate = function(format, value, settings) {
+ var date;
+ try {
+ date = this._base_parseDate(format, value, settings);
+ } catch (err) {
+ // Hack! The error message ends with a colon, a space, and
+ // the "extra" characters. We rely on that instead of
+ // attempting to perfectly reproduce the parsing algorithm.
+ if (err.indexOf(":") >= 0) {
+ date = this._base_parseDate(format, value.substring(0,value.length-(err.length-err.indexOf(':')-2)), settings);
+ $.timepicker.log("Error parsing the date string: " + err + "\ndate string = " + value + "\ndate format = " + format);
+ } else {
+ throw err;
+ }
+ }
+ return date;
+ };
+
+ /*
+ * override formatDate to set date with time to the input
+ */
+ $.datepicker._base_formatDate = $.datepicker._formatDate;
+ $.datepicker._formatDate = function(inst, day, month, year) {
+ var tp_inst = this._get(inst, 'timepicker');
+ if (tp_inst) {
+ tp_inst._updateDateTime(inst);
+ return tp_inst.$input.val();
+ }
+ return this._base_formatDate(inst);
+ };
+
+ /*
+ * override options setter to add time to maxDate(Time) and minDate(Time). MaxDate
+ */
+ $.datepicker._base_optionDatepicker = $.datepicker._optionDatepicker;
+ $.datepicker._optionDatepicker = function(target, name, value) {
+ var inst = this._getInst(target),
+ name_clone;
+ if (!inst) {
+ return null;
+ }
+
+ var tp_inst = this._get(inst, 'timepicker');
+ if (tp_inst) {
+ var min = null,
+ max = null,
+ onselect = null,
+ overrides = tp_inst._defaults.evnts,
+ fns = {},
+ prop;
+ if (typeof name == 'string') { // if min/max was set with the string
+ if (name === 'minDate' || name === 'minDateTime') {
+ min = value;
+ } else if (name === 'maxDate' || name === 'maxDateTime') {
+ max = value;
+ } else if (name === 'onSelect') {
+ onselect = value;
+ } else if (overrides.hasOwnProperty(name)) {
+ if (typeof (value) === 'undefined') {
+ return overrides[name];
+ }
+ fns[name] = value;
+ name_clone = {}; //empty results in exiting function after overrides updated
+ }
+ } else if (typeof name == 'object') { //if min/max was set with the JSON
+ if (name.minDate) {
+ min = name.minDate;
+ } else if (name.minDateTime) {
+ min = name.minDateTime;
+ } else if (name.maxDate) {
+ max = name.maxDate;
+ } else if (name.maxDateTime) {
+ max = name.maxDateTime;
+ }
+ for (prop in overrides) {
+ if (overrides.hasOwnProperty(prop) && name[prop]) {
+ fns[prop] = name[prop];
+ }
+ }
+ }
+ for (prop in fns) {
+ if (fns.hasOwnProperty(prop)) {
+ overrides[prop] = fns[prop];
+ if (!name_clone) { name_clone = $.extend({}, name);}
+ delete name_clone[prop];
+ }
+ }
+ if (name_clone && isEmptyObject(name_clone)) { return; }
+ if (min) { //if min was set
+ if (min === 0) {
+ min = new Date();
+ } else {
+ min = new Date(min);
+ }
+ tp_inst._defaults.minDate = min;
+ tp_inst._defaults.minDateTime = min;
+ } else if (max) { //if max was set
+ if (max === 0) {
+ max = new Date();
+ } else {
+ max = new Date(max);
+ }
+ tp_inst._defaults.maxDate = max;
+ tp_inst._defaults.maxDateTime = max;
+ } else if (onselect) {
+ tp_inst._defaults.onSelect = onselect;
+ }
+ }
+ if (value === undefined) {
+ return this._base_optionDatepicker.call($.datepicker, target, name);
+ }
+ return this._base_optionDatepicker.call($.datepicker, target, name_clone || name, value);
+ };
+
+ /*
+ * jQuery isEmptyObject does not check hasOwnProperty - if someone has added to the object prototype,
+ * it will return false for all objects
+ */
+ var isEmptyObject = function(obj) {
+ var prop;
+ for (prop in obj) {
+ if (obj.hasOwnProperty(obj)) {
+ return false;
+ }
+ }
+ return true;
+ };
+
+ /*
+ * jQuery extend now ignores nulls!
+ */
+ var extendRemove = function(target, props) {
+ $.extend(target, props);
+ for (var name in props) {
+ if (props[name] === null || props[name] === undefined) {
+ target[name] = props[name];
+ }
+ }
+ return target;
+ };
+
+ /*
+ * Determine by the time format which units are supported
+ * Returns an object of booleans for each unit
+ */
+ var detectSupport = function(timeFormat){
+ var tf = timeFormat.replace(/\'.*?\'/g,'').toLowerCase(), // removes literals
+ isIn = function(f, t){ // does the format contain the token?
+ return f.indexOf(t) !== -1? true:false;
+ };
+ return {
+ hour: isIn(tf,'h'),
+ minute: isIn(tf,'m'),
+ second: isIn(tf,'s'),
+ millisec: isIn(tf,'l'),
+ microsec: isIn(tf,'c'),
+ timezone: isIn(tf,'z'),
+ ampm: isIn(tf,'t') && isIn(timeFormat,'h'),
+ iso8601: isIn(timeFormat, 'Z')
+ };
+ };
+
+ /*
+ * Converts 24 hour format into 12 hour
+ * Returns 12 hour without leading 0
+ */
+ var convert24to12 = function(hour) {
+ if (hour > 12) {
+ hour = hour - 12;
+ }
+
+ if (hour === 0) {
+ hour = 12;
+ }
+
+ return String(hour);
+ };
+
+ /*
+ * Splits datetime string into date ans time substrings.
+ * Throws exception when date can't be parsed
+ * Returns [dateString, timeString]
+ */
+ var splitDateTime = function(dateFormat, dateTimeString, dateSettings, timeSettings) {
+ try {
+ // The idea is to get the number separator occurances in datetime and the time format requested (since time has
+ // fewer unknowns, mostly numbers and am/pm). We will use the time pattern to split.
+ var separator = timeSettings && timeSettings.separator ? timeSettings.separator : $.timepicker._defaults.separator,
+ format = timeSettings && timeSettings.timeFormat ? timeSettings.timeFormat : $.timepicker._defaults.timeFormat,
+ timeParts = format.split(separator), // how many occurances of separator may be in our format?
+ timePartsLen = timeParts.length,
+ allParts = dateTimeString.split(separator),
+ allPartsLen = allParts.length;
+
+ if (allPartsLen > 1) {
+ return [
+ allParts.splice(0,allPartsLen-timePartsLen).join(separator),
+ allParts.splice(0,timePartsLen).join(separator)
+ ];
+ }
+
+ } catch (err) {
+ $.timepicker.log('Could not split the date from the time. Please check the following datetimepicker options' +
+ "\nthrown error: " + err +
+ "\ndateTimeString" + dateTimeString +
+ "\ndateFormat = " + dateFormat +
+ "\nseparator = " + timeSettings.separator +
+ "\ntimeFormat = " + timeSettings.timeFormat);
+
+ if (err.indexOf(":") >= 0) {
+ // Hack! The error message ends with a colon, a space, and
+ // the "extra" characters. We rely on that instead of
+ // attempting to perfectly reproduce the parsing algorithm.
+ var dateStringLength = dateTimeString.length - (err.length - err.indexOf(':') - 2),
+ timeString = dateTimeString.substring(dateStringLength);
+
+ return [$.trim(dateTimeString.substring(0, dateStringLength)), $.trim(dateTimeString.substring(dateStringLength))];
+
+ } else {
+ throw err;
+ }
+ }
+ return [dateTimeString, ''];
+ };
+
+ /*
+ * Internal function to parse datetime interval
+ * Returns: {date: Date, timeObj: Object}, where
+ * date - parsed date without time (type Date)
+ * timeObj = {hour: , minute: , second: , millisec: , microsec: } - parsed time. Optional
+ */
+ var parseDateTimeInternal = function(dateFormat, timeFormat, dateTimeString, dateSettings, timeSettings) {
+ var date;
+ var splitRes = splitDateTime(dateFormat, dateTimeString, dateSettings, timeSettings);
+ date = $.datepicker._base_parseDate(dateFormat, splitRes[0], dateSettings);
+ if (splitRes[1] !== '') {
+ var timeString = splitRes[1],
+ parsedTime = $.datepicker.parseTime(timeFormat, timeString, timeSettings);
+
+ if (parsedTime === null) {
+ throw 'Wrong time format';
+ }
+ return {
+ date: date,
+ timeObj: parsedTime
+ };
+ } else {
+ return {
+ date: date
+ };
+ }
+ };
+
+ /*
+ * Internal function to set timezone_select to the local timezone
+ */
+ var selectLocalTimezone = function(tp_inst, date) {
+ if (tp_inst && tp_inst.timezone_select) {
+ var now = typeof date !== 'undefined' ? date : new Date();
+ tp_inst.timezone_select.val(now.getTimezoneOffset()*-1);
+ }
+ };
+
+ /*
+ * Create a Singleton Insance
+ */
+ $.timepicker = new Timepicker();
+
+ /**
+ * Get the timezone offset as string from a date object (eg '+0530' for UTC+5.5)
+ * @param number if not a number this value is returned
+ * @param boolean if true formats in accordance to iso8601 "+12:45"
+ * @return string
+ */
+ $.timepicker.timezoneOffsetString = function(tzMinutes, iso8601) {
+ if(isNaN(tzMinutes) || tzMinutes > 840){
+ return tzMinutes;
+ }
+
+ var off = tzMinutes,
+ minutes = off % 60,
+ hours = (off - minutes) / 60,
+ iso = iso8601? ':':'',
+ tz = (off >= 0 ? '+' : '-') + ('0' + (hours * 101).toString()).slice(-2) + iso + ('0' + (minutes * 101).toString()).slice(-2);
+
+ if(tz == '+00:00'){
+ return 'Z';
+ }
+ return tz;
+ };
+
+ /**
+ * Get the number in minutes that represents a timezone string
+ * @param string formated like "+0500", "-1245"
+ * @return number
+ */
+ $.timepicker.timezoneOffsetNumber = function(tzString) {
+ tzString = tzString.toString().replace(':',''); // excuse any iso8601, end up with "+1245"
+
+ if(tzString.toUpperCase() === 'Z'){ // if iso8601 with Z, its 0 minute offset
+ return 0;
+ }
+
+ if(!/^(\-|\+)\d{4}$/.test(tzString)){ // possibly a user defined tz, so just give it back
+ return tzString;
+ }
+
+ return ((tzString.substr(0,1) =='-'? -1 : 1) * // plus or minus
+ ((parseInt(tzString.substr(1,2),10)*60) + // hours (converted to minutes)
+ parseInt(tzString.substr(3,2),10))); // minutes
+ };
+
+ /**
+ * No way to set timezone in js Date, so we must adjust the minutes to compensate. (think setDate, getDate)
+ * @param date
+ * @param string formated like "+0500", "-1245"
+ * @return date
+ */
+ $.timepicker.timezoneAdjust = function(date, toTimezone) {
+ var toTz = $.timepicker.timezoneOffsetNumber(toTimezone);
+ if(!isNaN(toTz)){
+ date.setMinutes(date.getMinutes()*1 + (date.getTimezoneOffset()*-1 - toTz*1) );
+ }
+ return date;
+ };
+
+ /**
+ * Calls `timepicker()` on the `startTime` and `endTime` elements, and configures them to
+ * enforce date range limits.
+ * n.b. The input value must be correctly formatted (reformatting is not supported)
+ * @param Element startTime
+ * @param Element endTime
+ * @param obj options Options for the timepicker() call
+ * @return jQuery
+ */
+ $.timepicker.timeRange = function(startTime, endTime, options) {
+ return $.timepicker.handleRange('timepicker', startTime, endTime, options);
+ };
+
+ /**
+ * Calls `datetimepicker` on the `startTime` and `endTime` elements, and configures them to
+ * enforce date range limits.
+ * @param Element startTime
+ * @param Element endTime
+ * @param obj options Options for the `timepicker()` call. Also supports `reformat`,
+ * a boolean value that can be used to reformat the input values to the `dateFormat`.
+ * @param string method Can be used to specify the type of picker to be added
+ * @return jQuery
+ */
+ $.timepicker.datetimeRange = function(startTime, endTime, options) {
+ $.timepicker.handleRange('datetimepicker', startTime, endTime, options);
+ };
+
+ /**
+ * Calls `method` on the `startTime` and `endTime` elements, and configures them to
+ * enforce date range limits.
+ * @param Element startTime
+ * @param Element endTime
+ * @param obj options Options for the `timepicker()` call. Also supports `reformat`,
+ * a boolean value that can be used to reformat the input values to the `dateFormat`.
+ * @return jQuery
+ */
+ $.timepicker.dateRange = function(startTime, endTime, options) {
+ $.timepicker.handleRange('datepicker', startTime, endTime, options);
+ };
+
+ /**
+ * Calls `method` on the `startTime` and `endTime` elements, and configures them to
+ * enforce date range limits.
+ * @param string method Can be used to specify the type of picker to be added
+ * @param Element startTime
+ * @param Element endTime
+ * @param obj options Options for the `timepicker()` call. Also supports `reformat`,
+ * a boolean value that can be used to reformat the input values to the `dateFormat`.
+ * @return jQuery
+ */
+ $.timepicker.handleRange = function(method, startTime, endTime, options) {
+ options = $.extend({}, {
+ minInterval: 0, // min allowed interval in milliseconds
+ maxInterval: 0, // max allowed interval in milliseconds
+ start: {}, // options for start picker
+ end: {} // options for end picker
+ }, options);
+
+ $.fn[method].call(startTime, $.extend({
+ onClose: function(dateText, inst) {
+ checkDates($(this), endTime);
+ },
+ onSelect: function(selectedDateTime) {
+ selected($(this), endTime, 'minDate');
+ }
+ }, options, options.start));
+ $.fn[method].call(endTime, $.extend({
+ onClose: function(dateText, inst) {
+ checkDates($(this), startTime);
+ },
+ onSelect: function(selectedDateTime) {
+ selected($(this), startTime, 'maxDate');
+ }
+ }, options, options.end));
+
+ checkDates(startTime, endTime);
+ selected(startTime, endTime, 'minDate');
+ selected(endTime, startTime, 'maxDate');
+
+ function checkDates(changed, other) {
+ var startdt = startTime[method]('getDate'),
+ enddt = endTime[method]('getDate'),
+ changeddt = changed[method]('getDate');
+
+ if(startdt !== null){
+ var minDate = new Date(startdt.getTime()),
+ maxDate = new Date(startdt.getTime());
+
+ minDate.setMilliseconds(minDate.getMilliseconds() + options.minInterval);
+ maxDate.setMilliseconds(maxDate.getMilliseconds() + options.maxInterval);
+
+ if(options.minInterval > 0 && minDate > enddt){ // minInterval check
+ endTime[method]('setDate',minDate);
+ }
+ else if(options.maxInterval > 0 && maxDate < enddt){ // max interval check
+ endTime[method]('setDate',maxDate);
+ }
+ else if (startdt > enddt) {
+ other[method]('setDate',changeddt);
+ }
+ }
+ }
+
+ function selected(changed, other, option) {
+ if (!changed.val()) {
+ return;
+ }
+ var date = changed[method].call(changed, 'getDate');
+ if(date !== null && options.minInterval > 0){
+ if(option == 'minDate'){
+ date.setMilliseconds(date.getMilliseconds() + options.minInterval);
+ }
+ if(option == 'maxDate'){
+ date.setMilliseconds(date.getMilliseconds() - options.minInterval);
+ }
+ }
+ if (date.getTime) {
+ other[method].call(other, 'option', option, date);
+ }
+ }
+ return $([startTime.get(0), endTime.get(0)]);
+ };
+
+ /**
+ * Log error or data to the console during error or debugging
+ * @param Object err pass any type object to log to the console during error or debugging
+ * @return void
+ */
+ $.timepicker.log = function(err){
+ if(window.console){
+ console.log(err);
+ }
+ };
+
+ /*
+ * Microsecond support
+ */
+ if(!Date.prototype.getMicroseconds){
+ Date.prototype.microseconds = 0;
+ Date.prototype.getMicroseconds = function(){ return this.microseconds; };
+ Date.prototype.setMicroseconds = function(m){
+ this.setMilliseconds(this.getMilliseconds() + Math.floor(m/1000));
+ this.microseconds = m%1000;
+ return this;
+ };
+ }
+
+ /*
+ * Keep up with the version
+ */
+ $.timepicker.version = "1.3.1";
+
+})(jQuery);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/jquery-ui.min.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/jquery-ui.min.js
new file mode 100644
index 00000000..82bbb671
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/jquery-ui/jquery-ui.min.js
@@ -0,0 +1,12 @@
+/*! jQuery UI - v1.10.3 - 2013-05-03
+* http://jqueryui.com
+* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.position.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t,e){function i(e,i){var n,o,a,r=e.nodeName.toLowerCase();return"area"===r?(n=e.parentNode,o=n.name,e.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap=#"+o+"]")[0],!!a&&s(a)):!1):(/input|select|textarea|button|object/.test(r)?!e.disabled:"a"===r?e.href||i:i)&&s(e)}function s(e){return t.expr.filters.visible(e)&&!t(e).parents().addBack().filter(function(){return"hidden"===t.css(this,"visibility")}).length}var n=0,o=/^ui-id-\d+$/;t.ui=t.ui||{},t.extend(t.ui,{version:"1.10.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),t.fn.extend({focus:function(e){return function(i,s){return"number"==typeof i?this.each(function(){var e=this;setTimeout(function(){t(e).focus(),s&&s.call(e)},i)}):e.apply(this,arguments)}}(t.fn.focus),scrollParent:function(){var e;return e=t.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(t.css(this,"position"))&&/(auto|scroll)/.test(t.css(this,"overflow")+t.css(this,"overflow-y")+t.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(t.css(this,"overflow")+t.css(this,"overflow-y")+t.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!e.length?t(document):e},zIndex:function(i){if(i!==e)return this.css("zIndex",i);if(this.length)for(var s,n,o=t(this[0]);o.length&&o[0]!==document;){if(s=o.css("position"),("absolute"===s||"relative"===s||"fixed"===s)&&(n=parseInt(o.css("zIndex"),10),!isNaN(n)&&0!==n))return n;o=o.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++n)})},removeUniqueId:function(){return this.each(function(){o.test(this.id)&&t(this).removeAttr("id")})}}),t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])},focusable:function(e){return i(e,!isNaN(t.attr(e,"tabindex")))},tabbable:function(e){var s=t.attr(e,"tabindex"),n=isNaN(s);return(n||s>=0)&&i(e,!n)}}),t("<a>").outerWidth(1).jquery||t.each(["Width","Height"],function(i,s){function n(e,i,s,n){return t.each(o,function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),n&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var o="Width"===s?["Left","Right"]:["Top","Bottom"],a=s.toLowerCase(),r={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+s]=function(i){return i===e?r["inner"+s].call(this):this.each(function(){t(this).css(a,n(this,i)+"px")})},t.fn["outer"+s]=function(e,i){return"number"!=typeof e?r["outer"+s].call(this,e):this.each(function(){t(this).css(a,n(this,e,!0,i)+"px")})}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(t.fn.removeData=function(e){return function(i){return arguments.length?e.call(this,t.camelCase(i)):e.call(this)}}(t.fn.removeData)),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),t.support.selectstart="onselectstart"in document.createElement("div"),t.fn.extend({disableSelection:function(){return this.bind((t.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(t){t.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),t.extend(t.ui,{plugin:{add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i){var s,n=t.plugins[e];if(n&&t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType)for(s=0;n.length>s;s++)t.options[n[s][0]]&&n[s][1].apply(t.element,i)}},hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)}})})(jQuery),function(t,e){var i=0,s=Array.prototype.slice,n=t.cleanData;t.cleanData=function(e){for(var i,s=0;null!=(i=e[s]);s++)try{t(i).triggerHandler("remove")}catch(o){}n(e)},t.widget=function(i,s,n){var o,a,r,h,l={},c=i.split(".")[0];i=i.split(".")[1],o=c+"-"+i,n||(n=s,s=t.Widget),t.expr[":"][o.toLowerCase()]=function(e){return!!t.data(e,o)},t[c]=t[c]||{},a=t[c][i],r=t[c][i]=function(t,i){return this._createWidget?(arguments.length&&this._createWidget(t,i),e):new r(t,i)},t.extend(r,a,{version:n.version,_proto:t.extend({},n),_childConstructors:[]}),h=new s,h.options=t.widget.extend({},h.options),t.each(n,function(i,n){return t.isFunction(n)?(l[i]=function(){var t=function(){return s.prototype[i].apply(this,arguments)},e=function(t){return s.prototype[i].apply(this,t)};return function(){var i,s=this._super,o=this._superApply;return this._super=t,this._superApply=e,i=n.apply(this,arguments),this._super=s,this._superApply=o,i}}(),e):(l[i]=n,e)}),r.prototype=t.widget.extend(h,{widgetEventPrefix:a?h.widgetEventPrefix:i},l,{constructor:r,namespace:c,widgetName:i,widgetFullName:o}),a?(t.each(a._childConstructors,function(e,i){var s=i.prototype;t.widget(s.namespace+"."+s.widgetName,r,i._proto)}),delete a._childConstructors):s._childConstructors.push(r),t.widget.bridge(i,r)},t.widget.extend=function(i){for(var n,o,a=s.call(arguments,1),r=0,h=a.length;h>r;r++)for(n in a[r])o=a[r][n],a[r].hasOwnProperty(n)&&o!==e&&(i[n]=t.isPlainObject(o)?t.isPlainObject(i[n])?t.widget.extend({},i[n],o):t.widget.extend({},o):o);return i},t.widget.bridge=function(i,n){var o=n.prototype.widgetFullName||i;t.fn[i]=function(a){var r="string"==typeof a,h=s.call(arguments,1),l=this;return a=!r&&h.length?t.widget.extend.apply(null,[a].concat(h)):a,r?this.each(function(){var s,n=t.data(this,o);return n?t.isFunction(n[a])&&"_"!==a.charAt(0)?(s=n[a].apply(n,h),s!==n&&s!==e?(l=s&&s.jquery?l.pushStack(s.get()):s,!1):e):t.error("no such method '"+a+"' for "+i+" widget instance"):t.error("cannot call methods on "+i+" prior to initialization; "+"attempted to call method '"+a+"'")}):this.each(function(){var e=t.data(this,o);e?e.option(a||{})._init():t.data(this,o,new n(a,this))}),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this.bindings=t(),this.hoverable=t(),this.focusable=t(),s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:t.noop,_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:t.noop,widget:function(){return this.element},option:function(i,s){var n,o,a,r=i;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof i)if(r={},n=i.split("."),i=n.shift(),n.length){for(o=r[i]=t.widget.extend({},this.options[i]),a=0;n.length-1>a;a++)o[n[a]]=o[n[a]]||{},o=o[n[a]];if(i=n.pop(),s===e)return o[i]===e?null:o[i];o[i]=s}else{if(s===e)return this.options[i]===e?null:this.options[i];r[i]=s}return this._setOptions(r),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!e).attr("aria-disabled",e),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(i,s,n){var o,a=this;"boolean"!=typeof i&&(n=s,s=i,i=!1),n?(s=o=t(s),this.bindings=this.bindings.add(s)):(n=s,s=this.element,o=this.widget()),t.each(n,function(n,r){function h(){return i||a.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof r?a[r]:r).apply(a,arguments):e}"string"!=typeof r&&(h.guid=r.guid=r.guid||h.guid||t.guid++);var l=n.match(/^(\w+)\s*(.*)$/),c=l[1]+a.eventNamespace,u=l[2];u?o.delegate(u,c,h):s.bind(c,h)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){t(e.currentTarget).addClass("ui-state-hover")},mouseleave:function(e){t(e.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){t(e.currentTarget).addClass("ui-state-focus")},focusout:function(e){t(e.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}})}(jQuery),function(t){var e=!1;t(document).mouseup(function(){e=!1}),t.widget("ui.mouse",{version:"1.10.3",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).bind("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):undefined}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!e){this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var s=this,n=1===i.which,o="string"==typeof this.options.cancel&&i.target.nodeName?t(i.target).closest(this.options.cancel).length:!1;return n&&!o&&this._mouseCapture(i)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){s.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=this._mouseStart(i)!==!1,!this._mouseStarted)?(i.preventDefault(),!0):(!0===t.data(i.target,this.widgetName+".preventClickEvent")&&t.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return s._mouseMove(t)},this._mouseUpDelegate=function(t){return s._mouseUp(t)},t(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),e=!0,!0)):!0}},_mouseMove:function(e){return t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button?this._mouseUp(e):this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){return t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(jQuery),function(t){t.widget("ui.draggable",t.ui.mouse,{version:"1.10.3",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"!==this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(e){var i=this.options;return this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(e),this.handle?(t(i.iframeFix===!0?"iframe":i.iframeFix).each(function(){t("<div class='ui-draggable-iframeFix' style='background: #fff;'></div>").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(t(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offsetParent=this.helper.offsetParent(),this.offsetParentCssPosition=this.offsetParent.css("position"),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.offset.scroll=!1,t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),this._trigger("start",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_mouseDrag:function(e,i){if("fixed"===this.offsetParentCssPosition&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),!i){var s=this._uiHash();if(this._trigger("drag",e,s)===!1)return this._mouseUp({}),!1;this.position=s.position}return this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,s=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(s=t.ui.ddmanager.drop(this,e)),this.dropped&&(s=this.dropped,this.dropped=!1),"original"!==this.options.helper||t.contains(this.element[0].ownerDocument,this.element[0])?("invalid"===this.options.revert&&!s||"valid"===this.options.revert&&s||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){i._trigger("stop",e)!==!1&&i._clear()}):this._trigger("stop",e)!==!1&&this._clear(),!1):!1},_mouseUp:function(e){return t("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(e){return this.options.handle?!!t(e.target).closest(this.element.find(this.options.handle)).length:!0},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return s.parents("body").length||s.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),s[0]===this.element[0]||/(fixed|absolute)/.test(s.css("position"))||s.css("position","absolute"),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.element.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options;return n.containment?"window"===n.containment?(this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],undefined):"document"===n.containment?(this.containment=[0,0,t(document).width()-this.helperProportions.width-this.margins.left,(t(document).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],undefined):n.containment.constructor===Array?(this.containment=n.containment,undefined):("parent"===n.containment&&(n.containment=this.helper[0].parentNode),i=t(n.containment),s=i[0],s&&(e="hidden"!==i.css("overflow"),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=i),undefined):(this.containment=null,undefined)},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent;return this.offset.scroll||(this.offset.scroll={top:n.scrollTop(),left:n.scrollLeft()}),{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top)*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)*s}},_generatePosition:function(e){var i,s,n,o,a=this.options,r="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=e.pageX,l=e.pageY;return this.offset.scroll||(this.offset.scroll={top:r.scrollTop(),left:r.scrollLeft()}),this.originalPosition&&(this.containment&&(this.relative_container?(s=this.relative_container.offset(),i=[this.containment[0]+s.left,this.containment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):i=this.containment,e.pageX-this.offset.click.left<i[0]&&(h=i[0]+this.offset.click.left),e.pageY-this.offset.click.top<i[1]&&(l=i[1]+this.offset.click.top),e.pageX-this.offset.click.left>i[2]&&(h=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3]&&(l=i[3]+this.offset.click.top)),a.grid&&(n=a.grid[1]?this.originalPageY+Math.round((l-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,l=i?n-this.offset.click.top>=i[1]||n-this.offset.click.top>i[3]?n:n-this.offset.click.top>=i[1]?n-a.grid[1]:n+a.grid[1]:n,o=a.grid[0]?this.originalPageX+Math.round((h-this.originalPageX)/a.grid[0])*a.grid[0]:this.originalPageX,h=i?o-this.offset.click.left>=i[0]||o-this.offset.click.left>i[2]?o:o-this.offset.click.left>=i[0]?o-a.grid[0]:o+a.grid[0]:o)),{top:l-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top),left:h-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(e,i,s){return s=s||this._uiHash(),t.ui.plugin.call(this,e,[i,s]),"drag"===e&&(this.positionAbs=this._convertPositionTo("absolute")),t.Widget.prototype._trigger.call(this,e,i,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i){var s=t(this).data("ui-draggable"),n=s.options,o=t.extend({},i,{item:s.element});s.sortables=[],t(n.connectToSortable).each(function(){var i=t.data(this,"ui-sortable");i&&!i.options.disabled&&(s.sortables.push({instance:i,shouldRevert:i.options.revert}),i.refreshPositions(),i._trigger("activate",e,o))})},stop:function(e,i){var s=t(this).data("ui-draggable"),n=t.extend({},i,{item:s.element});t.each(s.sortables,function(){this.instance.isOver?(this.instance.isOver=0,s.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=this.shouldRevert),this.instance._mouseStop(e),this.instance.options.helper=this.instance.options._helper,"original"===s.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",e,n))})},drag:function(e,i){var s=t(this).data("ui-draggable"),n=this;t.each(s.sortables,function(){var o=!1,a=this;this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(o=!0,t.each(s.sortables,function(){return this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this!==a&&this.instance._intersectsWith(this.instance.containerCache)&&t.contains(a.instance.element[0],this.instance.element[0])&&(o=!1),o})),o?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=t(n).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return i.helper[0]},e.target=this.instance.currentItem[0],this.instance._mouseCapture(e,!0),this.instance._mouseStart(e,!0,!0),this.instance.offset.click.top=s.offset.click.top,this.instance.offset.click.left=s.offset.click.left,this.instance.offset.parent.left-=s.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=s.offset.parent.top-this.instance.offset.parent.top,s._trigger("toSortable",e),s.dropped=this.instance.element,s.currentItem=s.element,this.instance.fromOutside=s),this.instance.currentItem&&this.instance._mouseDrag(e)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",e,this.instance._uiHash(this.instance)),this.instance._mouseStop(e,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),s._trigger("fromSortable",e),s.dropped=!1)})}}),t.ui.plugin.add("draggable","cursor",{start:function(){var e=t("body"),i=t(this).data("ui-draggable").options;e.css("cursor")&&(i._cursor=e.css("cursor")),e.css("cursor",i.cursor)},stop:function(){var e=t(this).data("ui-draggable").options;e._cursor&&t("body").css("cursor",e._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i){var s=t(i.helper),n=t(this).data("ui-draggable").options;s.css("opacity")&&(n._opacity=s.css("opacity")),s.css("opacity",n.opacity)},stop:function(e,i){var s=t(this).data("ui-draggable").options;s._opacity&&t(i.helper).css("opacity",s._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(){var e=t(this).data("ui-draggable");e.scrollParent[0]!==document&&"HTML"!==e.scrollParent[0].tagName&&(e.overflowOffset=e.scrollParent.offset())},drag:function(e){var i=t(this).data("ui-draggable"),s=i.options,n=!1;i.scrollParent[0]!==document&&"HTML"!==i.scrollParent[0].tagName?(s.axis&&"x"===s.axis||(i.overflowOffset.top+i.scrollParent[0].offsetHeight-e.pageY<s.scrollSensitivity?i.scrollParent[0].scrollTop=n=i.scrollParent[0].scrollTop+s.scrollSpeed:e.pageY-i.overflowOffset.top<s.scrollSensitivity&&(i.scrollParent[0].scrollTop=n=i.scrollParent[0].scrollTop-s.scrollSpeed)),s.axis&&"y"===s.axis||(i.overflowOffset.left+i.scrollParent[0].offsetWidth-e.pageX<s.scrollSensitivity?i.scrollParent[0].scrollLeft=n=i.scrollParent[0].scrollLeft+s.scrollSpeed:e.pageX-i.overflowOffset.left<s.scrollSensitivity&&(i.scrollParent[0].scrollLeft=n=i.scrollParent[0].scrollLeft-s.scrollSpeed))):(s.axis&&"x"===s.axis||(e.pageY-t(document).scrollTop()<s.scrollSensitivity?n=t(document).scrollTop(t(document).scrollTop()-s.scrollSpeed):t(window).height()-(e.pageY-t(document).scrollTop())<s.scrollSensitivity&&(n=t(document).scrollTop(t(document).scrollTop()+s.scrollSpeed))),s.axis&&"y"===s.axis||(e.pageX-t(document).scrollLeft()<s.scrollSensitivity?n=t(document).scrollLeft(t(document).scrollLeft()-s.scrollSpeed):t(window).width()-(e.pageX-t(document).scrollLeft())<s.scrollSensitivity&&(n=t(document).scrollLeft(t(document).scrollLeft()+s.scrollSpeed)))),n!==!1&&t.ui.ddmanager&&!s.dropBehaviour&&t.ui.ddmanager.prepareOffsets(i,e)}}),t.ui.plugin.add("draggable","snap",{start:function(){var e=t(this).data("ui-draggable"),i=e.options;e.snapElements=[],t(i.snap.constructor!==String?i.snap.items||":data(ui-draggable)":i.snap).each(function(){var i=t(this),s=i.offset();this!==e.element[0]&&e.snapElements.push({item:this,width:i.outerWidth(),height:i.outerHeight(),top:s.top,left:s.left})})},drag:function(e,i){var s,n,o,a,r,h,l,c,u,d,p=t(this).data("ui-draggable"),f=p.options,g=f.snapTolerance,m=i.offset.left,v=m+p.helperProportions.width,_=i.offset.top,b=_+p.helperProportions.height;for(u=p.snapElements.length-1;u>=0;u--)r=p.snapElements[u].left,h=r+p.snapElements[u].width,l=p.snapElements[u].top,c=l+p.snapElements[u].height,r-g>v||m>h+g||l-g>b||_>c+g||!t.contains(p.snapElements[u].item.ownerDocument,p.snapElements[u].item)?(p.snapElements[u].snapping&&p.options.snap.release&&p.options.snap.release.call(p.element,e,t.extend(p._uiHash(),{snapItem:p.snapElements[u].item})),p.snapElements[u].snapping=!1):("inner"!==f.snapMode&&(s=g>=Math.abs(l-b),n=g>=Math.abs(c-_),o=g>=Math.abs(r-v),a=g>=Math.abs(h-m),s&&(i.position.top=p._convertPositionTo("relative",{top:l-p.helperProportions.height,left:0}).top-p.margins.top),n&&(i.position.top=p._convertPositionTo("relative",{top:c,left:0}).top-p.margins.top),o&&(i.position.left=p._convertPositionTo("relative",{top:0,left:r-p.helperProportions.width}).left-p.margins.left),a&&(i.position.left=p._convertPositionTo("relative",{top:0,left:h}).left-p.margins.left)),d=s||n||o||a,"outer"!==f.snapMode&&(s=g>=Math.abs(l-_),n=g>=Math.abs(c-b),o=g>=Math.abs(r-m),a=g>=Math.abs(h-v),s&&(i.position.top=p._convertPositionTo("relative",{top:l,left:0}).top-p.margins.top),n&&(i.position.top=p._convertPositionTo("relative",{top:c-p.helperProportions.height,left:0}).top-p.margins.top),o&&(i.position.left=p._convertPositionTo("relative",{top:0,left:r}).left-p.margins.left),a&&(i.position.left=p._convertPositionTo("relative",{top:0,left:h-p.helperProportions.width}).left-p.margins.left)),!p.snapElements[u].snapping&&(s||n||o||a||d)&&p.options.snap.snap&&p.options.snap.snap.call(p.element,e,t.extend(p._uiHash(),{snapItem:p.snapElements[u].item})),p.snapElements[u].snapping=s||n||o||a||d)}}),t.ui.plugin.add("draggable","stack",{start:function(){var e,i=this.data("ui-draggable").options,s=t.makeArray(t(i.stack)).sort(function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)});s.length&&(e=parseInt(t(s[0]).css("zIndex"),10)||0,t(s).each(function(i){t(this).css("zIndex",e+i)}),this.css("zIndex",e+s.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i){var s=t(i.helper),n=t(this).data("ui-draggable").options;s.css("zIndex")&&(n._zIndex=s.css("zIndex")),s.css("zIndex",n.zIndex)},stop:function(e,i){var s=t(this).data("ui-draggable").options;s._zIndex&&t(i.helper).css("zIndex",s._zIndex)}})}(jQuery),function(t){function e(t,e,i){return t>e&&e+i>t}t.widget("ui.droppable",{version:"1.10.3",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e=this.options,i=e.accept;this.isover=!1,this.isout=!0,this.accept=t.isFunction(i)?i:function(t){return t.is(i)
+},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},t.ui.ddmanager.droppables[e.scope]=t.ui.ddmanager.droppables[e.scope]||[],t.ui.ddmanager.droppables[e.scope].push(this),e.addClasses&&this.element.addClass("ui-droppable")},_destroy:function(){for(var e=0,i=t.ui.ddmanager.droppables[this.options.scope];i.length>e;e++)i[e]===this&&i.splice(e,1);this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(e,i){"accept"===e&&(this.accept=t.isFunction(i)?i:function(t){return t.is(i)}),t.Widget.prototype._setOption.apply(this,arguments)},_activate:function(e){var i=t.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),i&&this._trigger("activate",e,this.ui(i))},_deactivate:function(e){var i=t.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),i&&this._trigger("deactivate",e,this.ui(i))},_over:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",e,this.ui(i)))},_out:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",e,this.ui(i)))},_drop:function(e,i){var s=i||t.ui.ddmanager.current,n=!1;return s&&(s.currentItem||s.element)[0]!==this.element[0]?(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var e=t.data(this,"ui-droppable");return e.options.greedy&&!e.options.disabled&&e.options.scope===s.options.scope&&e.accept.call(e.element[0],s.currentItem||s.element)&&t.ui.intersect(s,t.extend(e,{offset:e.element.offset()}),e.options.tolerance)?(n=!0,!1):undefined}),n?!1:this.accept.call(this.element[0],s.currentItem||s.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",e,this.ui(s)),this.element):!1):!1},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}}}),t.ui.intersect=function(t,i,s){if(!i.offset)return!1;var n,o,a=(t.positionAbs||t.position.absolute).left,r=a+t.helperProportions.width,h=(t.positionAbs||t.position.absolute).top,l=h+t.helperProportions.height,c=i.offset.left,u=c+i.proportions.width,d=i.offset.top,p=d+i.proportions.height;switch(s){case"fit":return a>=c&&u>=r&&h>=d&&p>=l;case"intersect":return a+t.helperProportions.width/2>c&&u>r-t.helperProportions.width/2&&h+t.helperProportions.height/2>d&&p>l-t.helperProportions.height/2;case"pointer":return n=(t.positionAbs||t.position.absolute).left+(t.clickOffset||t.offset.click).left,o=(t.positionAbs||t.position.absolute).top+(t.clickOffset||t.offset.click).top,e(o,d,i.proportions.height)&&e(n,c,i.proportions.width);case"touch":return(h>=d&&p>=h||l>=d&&p>=l||d>h&&l>p)&&(a>=c&&u>=a||r>=c&&u>=r||c>a&&r>u);default:return!1}},t.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(e,i){var s,n,o=t.ui.ddmanager.droppables[e.options.scope]||[],a=i?i.type:null,r=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();t:for(s=0;o.length>s;s++)if(!(o[s].options.disabled||e&&!o[s].accept.call(o[s].element[0],e.currentItem||e.element))){for(n=0;r.length>n;n++)if(r[n]===o[s].element[0]){o[s].proportions.height=0;continue t}o[s].visible="none"!==o[s].element.css("display"),o[s].visible&&("mousedown"===a&&o[s]._activate.call(o[s],i),o[s].offset=o[s].element.offset(),o[s].proportions={width:o[s].element[0].offsetWidth,height:o[s].element[0].offsetHeight})}},drop:function(e,i){var s=!1;return t.each((t.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&t.ui.intersect(e,this,this.options.tolerance)&&(s=this._drop.call(this,i)||s),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),s},dragStart:function(e,i){e.element.parentsUntil("body").bind("scroll.droppable",function(){e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)})},drag:function(e,i){e.options.refreshPositions&&t.ui.ddmanager.prepareOffsets(e,i),t.each(t.ui.ddmanager.droppables[e.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var s,n,o,a=t.ui.intersect(e,this,this.options.tolerance),r=!a&&this.isover?"isout":a&&!this.isover?"isover":null;r&&(this.options.greedy&&(n=this.options.scope,o=this.element.parents(":data(ui-droppable)").filter(function(){return t.data(this,"ui-droppable").options.scope===n}),o.length&&(s=t.data(o[0],"ui-droppable"),s.greedyChild="isover"===r)),s&&"isover"===r&&(s.isover=!1,s.isout=!0,s._out.call(s,i)),this[r]=!0,this["isout"===r?"isover":"isout"]=!1,this["isover"===r?"_over":"_out"].call(this,i),s&&"isout"===r&&(s.isout=!1,s.isover=!0,s._over.call(s,i)))}})},dragStop:function(e,i){e.element.parentsUntil("body").unbind("scroll.droppable"),e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)}}}(jQuery),function(t){function e(t){return parseInt(t,10)||0}function i(t){return!isNaN(parseInt(t,10))}t.widget("ui.resizable",t.ui.mouse,{version:"1.10.3",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_create:function(){var e,i,s,n,o,a=this,r=this.options;if(this.element.addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!r.aspectRatio,aspectRatio:r.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:r.helper||r.ghost||r.animate?r.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(t("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.data("ui-resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=r.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),e=this.handles.split(","),this.handles={},i=0;e.length>i;i++)s=t.trim(e[i]),o="ui-resizable-"+s,n=t("<div class='ui-resizable-handle "+o+"'></div>"),n.css({zIndex:r.zIndex}),"se"===s&&n.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[s]=".ui-resizable-"+s,this.element.append(n);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String&&(this.handles[i]=t(this.handles[i],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),t(this.handles[i]).length},this._renderAxis(this.element),this._handles=t(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){a.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),a.axis=n&&n[1]?n[1]:"se")}),r.autoHide&&(this._handles.hide(),t(this.element).addClass("ui-resizable-autohide").mouseenter(function(){r.disabled||(t(this).removeClass("ui-resizable-autohide"),a._handles.show())}).mouseleave(function(){r.disabled||a.resizing||(t(this).addClass("ui-resizable-autohide"),a._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(i){var s,n,o,a=this.options,r=this.element.position(),h=this.element;return this.resizing=!0,/absolute/.test(h.css("position"))?h.css({position:"absolute",top:h.css("top"),left:h.css("left")}):h.is(".ui-draggable")&&h.css({position:"absolute",top:r.top,left:r.left}),this._renderProxy(),s=e(this.helper.css("left")),n=e(this.helper.css("top")),a.containment&&(s+=t(a.containment).scrollLeft()||0,n+=t(a.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:s,top:n},this.size=this._helper?{width:h.outerWidth(),height:h.outerHeight()}:{width:h.width(),height:h.height()},this.originalSize=this._helper?{width:h.outerWidth(),height:h.outerHeight()}:{width:h.width(),height:h.height()},this.originalPosition={left:s,top:n},this.sizeDiff={width:h.outerWidth()-h.width(),height:h.outerHeight()-h.height()},this.originalMousePosition={left:i.pageX,top:i.pageY},this.aspectRatio="number"==typeof a.aspectRatio?a.aspectRatio:this.originalSize.width/this.originalSize.height||1,o=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===o?this.axis+"-resize":o),h.addClass("ui-resizable-resizing"),this._propagate("start",i),!0},_mouseDrag:function(e){var i,s=this.helper,n={},o=this.originalMousePosition,a=this.axis,r=this.position.top,h=this.position.left,l=this.size.width,c=this.size.height,u=e.pageX-o.left||0,d=e.pageY-o.top||0,p=this._change[a];return p?(i=p.apply(this,[e,u,d]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),this.position.top!==r&&(n.top=this.position.top+"px"),this.position.left!==h&&(n.left=this.position.left+"px"),this.size.width!==l&&(n.width=this.size.width+"px"),this.size.height!==c&&(n.height=this.size.height+"px"),s.css(n),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(n)||this._trigger("resize",e,this.ui()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,h,l=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&t.ui.hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseInt(c.element.css("left"),10)+(c.position.left-c.originalPosition.left)||null,h=parseInt(c.element.css("top"),10)+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(t.extend(a,{top:h,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(t){var e,s,n,o,a,r=this.options;a={minWidth:i(r.minWidth)?r.minWidth:0,maxWidth:i(r.maxWidth)?r.maxWidth:1/0,minHeight:i(r.minHeight)?r.minHeight:0,maxHeight:i(r.maxHeight)?r.maxHeight:1/0},(this._aspectRatio||t)&&(e=a.minHeight*this.aspectRatio,n=a.minWidth/this.aspectRatio,s=a.maxHeight*this.aspectRatio,o=a.maxWidth/this.aspectRatio,e>a.minWidth&&(a.minWidth=e),n>a.minHeight&&(a.minHeight=n),a.maxWidth>s&&(a.maxWidth=s),a.maxHeight>o&&(a.maxHeight=o)),this._vBoundaries=a},_updateCache:function(t){this.offset=this.helper.offset(),i(t.left)&&(this.position.left=t.left),i(t.top)&&(this.position.top=t.top),i(t.height)&&(this.size.height=t.height),i(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,s=this.size,n=this.axis;return i(t.height)?t.width=t.height*this.aspectRatio:i(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===n&&(t.left=e.left+(s.width-t.width),t.top=null),"nw"===n&&(t.top=e.top+(s.height-t.height),t.left=e.left+(s.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,s=this.axis,n=i(t.width)&&e.maxWidth&&e.maxWidth<t.width,o=i(t.height)&&e.maxHeight&&e.maxHeight<t.height,a=i(t.width)&&e.minWidth&&e.minWidth>t.width,r=i(t.height)&&e.minHeight&&e.minHeight>t.height,h=this.originalPosition.left+this.originalSize.width,l=this.position.top+this.size.height,c=/sw|nw|w/.test(s),u=/nw|ne|n/.test(s);return a&&(t.width=e.minWidth),r&&(t.height=e.minHeight),n&&(t.width=e.maxWidth),o&&(t.height=e.maxHeight),a&&c&&(t.left=h-e.minWidth),n&&c&&(t.left=h-e.maxWidth),r&&u&&(t.top=l-e.minHeight),o&&u&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_proportionallyResize:function(){if(this._proportionallyResizeElements.length){var t,e,i,s,n,o=this.helper||this.element;for(t=0;this._proportionallyResizeElements.length>t;t++){if(n=this._proportionallyResizeElements[t],!this.borderDif)for(this.borderDif=[],i=[n.css("borderTopWidth"),n.css("borderRightWidth"),n.css("borderBottomWidth"),n.css("borderLeftWidth")],s=[n.css("paddingTop"),n.css("paddingRight"),n.css("paddingBottom"),n.css("paddingLeft")],e=0;i.length>e;e++)this.borderDif[e]=(parseInt(i[e],10)||0)+(parseInt(s[e],10)||0);n.css({height:o.height()-this.borderDif[0]-this.borderDif[2]||0,width:o.width()-this.borderDif[1]-this.borderDif[3]||0})}}},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("<div style='overflow:hidden;'></div>"),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).data("ui-resizable"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&t.ui.hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-a},l=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,c=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(h,c&&l?{top:c,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var i,s,n,o,a,r,h,l=t(this).data("ui-resizable"),c=l.options,u=l.element,d=c.containment,p=d instanceof t?d.get(0):/parent/.test(d)?u.parent().get(0):d;p&&(l.containerElement=t(p),/document/.test(d)||d===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(i=t(p),s=[],t(["Top","Right","Left","Bottom"]).each(function(t,n){s[t]=e(i.css("padding"+n))}),l.containerOffset=i.offset(),l.containerPosition=i.position(),l.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},n=l.containerOffset,o=l.containerSize.height,a=l.containerSize.width,r=t.ui.hasScroll(p,"left")?p.scrollWidth:a,h=t.ui.hasScroll(p)?p.scrollHeight:o,l.parentData={element:p,left:n.left,top:n.top,width:r,height:h}))},resize:function(e){var i,s,n,o,a=t(this).data("ui-resizable"),r=a.options,h=a.containerOffset,l=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement;d[0]!==document&&/static/.test(d.css("position"))&&(u=h),l.left<(a._helper?h.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-h.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio),a.position.left=r.helper?h.left:0),l.top<(a._helper?h.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-h.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio),a.position.top=a._helper?h.top:0),a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top,i=Math.abs((a._helper?a.offset.left-u.left:a.offset.left-u.left)+a.sizeDiff.width),s=Math.abs((a._helper?a.offset.top-u.top:a.offset.top-h.top)+a.sizeDiff.height),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o&&(i-=a.parentData.left),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio))},stop:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),h=a.outerWidth()-e.sizeDiff.width,l=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).data("ui-resizable"),i=e.options,s=function(e){t(e).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseInt(e.width(),10),height:parseInt(e.height(),10),left:parseInt(e.css("left"),10),top:parseInt(e.css("top"),10)})})};"object"!=typeof i.alsoResize||i.alsoResize.parentNode?s(i.alsoResize):i.alsoResize.length?(i.alsoResize=i.alsoResize[0],s(i.alsoResize)):t.each(i.alsoResize,function(t){s(t)})},resize:function(e,i){var s=t(this).data("ui-resizable"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0},h=function(e,s){t(e).each(function(){var e=t(this),n=t(this).data("ui-resizable-alsoresize"),o={},a=s&&s.length?s:e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(a,function(t,e){var i=(n[e]||0)+(r[e]||0);i&&i>=0&&(o[e]=i||null)}),e.css(o)})};"object"!=typeof n.alsoResize||n.alsoResize.nodeType?h(n.alsoResize):t.each(n.alsoResize,function(t,e){h(t,e)})},stop:function(){t(this).removeData("resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:s.height,width:s.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof i.ghost?i.ghost:""),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).data("ui-resizable");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).data("ui-resizable");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.size,n=e.originalSize,o=e.originalPosition,a=e.axis,r="number"==typeof i.grid?[i.grid,i.grid]:i.grid,h=r[0]||1,l=r[1]||1,c=Math.round((s.width-n.width)/h)*h,u=Math.round((s.height-n.height)/l)*l,d=n.width+c,p=n.height+u,f=i.maxWidth&&d>i.maxWidth,g=i.maxHeight&&p>i.maxHeight,m=i.minWidth&&i.minWidth>d,v=i.minHeight&&i.minHeight>p;i.grid=r,m&&(d+=h),v&&(p+=l),f&&(d-=h),g&&(p-=l),/^(se|s|e)$/.test(a)?(e.size.width=d,e.size.height=p):/^(ne)$/.test(a)?(e.size.width=d,e.size.height=p,e.position.top=o.top-u):/^(sw)$/.test(a)?(e.size.width=d,e.size.height=p,e.position.left=o.left-c):(e.size.width=d,e.size.height=p,e.position.top=o.top-u,e.position.left=o.left-c)}})}(jQuery),function(t){t.widget("ui.selectable",t.ui.mouse,{version:"1.10.3",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e,i=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){e=t(i.options.filter,i.element[0]),e.addClass("ui-selectee"),e.each(function(){var e=t(this),i=e.offset();t.data(this,"selectable-item",{element:this,$element:e,left:i.left,top:i.top,right:i.left+e.outerWidth(),bottom:i.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=e.addClass("ui-selectee"),this._mouseInit(),this.helper=t("<div class='ui-selectable-helper'></div>")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(e){var i=this,s=this.options;this.opos=[e.pageX,e.pageY],this.options.disabled||(this.selectees=t(s.filter,this.element[0]),this._trigger("start",e),t(s.appendTo).append(this.helper),this.helper.css({left:e.pageX,top:e.pageY,width:0,height:0}),s.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var s=t.data(this,"selectable-item");s.startselected=!0,e.metaKey||e.ctrlKey||(s.$element.removeClass("ui-selected"),s.selected=!1,s.$element.addClass("ui-unselecting"),s.unselecting=!0,i._trigger("unselecting",e,{unselecting:s.element}))}),t(e.target).parents().addBack().each(function(){var s,n=t.data(this,"selectable-item");return n?(s=!e.metaKey&&!e.ctrlKey||!n.$element.hasClass("ui-selected"),n.$element.removeClass(s?"ui-unselecting":"ui-selected").addClass(s?"ui-selecting":"ui-unselecting"),n.unselecting=!s,n.selecting=s,n.selected=s,s?i._trigger("selecting",e,{selecting:n.element}):i._trigger("unselecting",e,{unselecting:n.element}),!1):undefined}))},_mouseDrag:function(e){if(this.dragged=!0,!this.options.disabled){var i,s=this,n=this.options,o=this.opos[0],a=this.opos[1],r=e.pageX,h=e.pageY;return o>r&&(i=r,r=o,o=i),a>h&&(i=h,h=a,a=i),this.helper.css({left:o,top:a,width:r-o,height:h-a}),this.selectees.each(function(){var i=t.data(this,"selectable-item"),l=!1;i&&i.element!==s.element[0]&&("touch"===n.tolerance?l=!(i.left>r||o>i.right||i.top>h||a>i.bottom):"fit"===n.tolerance&&(l=i.left>o&&r>i.right&&i.top>a&&h>i.bottom),l?(i.selected&&(i.$element.removeClass("ui-selected"),i.selected=!1),i.unselecting&&(i.$element.removeClass("ui-unselecting"),i.unselecting=!1),i.selecting||(i.$element.addClass("ui-selecting"),i.selecting=!0,s._trigger("selecting",e,{selecting:i.element}))):(i.selecting&&((e.metaKey||e.ctrlKey)&&i.startselected?(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.$element.addClass("ui-selected"),i.selected=!0):(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.startselected&&(i.$element.addClass("ui-unselecting"),i.unselecting=!0),s._trigger("unselecting",e,{unselecting:i.element}))),i.selected&&(e.metaKey||e.ctrlKey||i.startselected||(i.$element.removeClass("ui-selected"),i.selected=!1,i.$element.addClass("ui-unselecting"),i.unselecting=!0,s._trigger("unselecting",e,{unselecting:i.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,t(".ui-unselecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");s.$element.removeClass("ui-unselecting"),s.unselecting=!1,s.startselected=!1,i._trigger("unselected",e,{unselected:s.element})}),t(".ui-selecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");s.$element.removeClass("ui-selecting").addClass("ui-selected"),s.selecting=!1,s.selected=!0,s.startselected=!0,i._trigger("selected",e,{selected:s.element})}),this._trigger("stop",e),this.helper.remove(),!1}})}(jQuery),function(t){function e(t,e,i){return t>e&&e+i>t}function i(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))}t.widget("ui.sortable",t.ui.mouse,{version:"1.10.3",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_create:function(){var t=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?"x"===t.axis||i(this.items[0].item):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_setOption:function(e,i){"disabled"===e?(this.options[e]=i,this.widget().toggleClass("ui-sortable-disabled",!!i)):t.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(e,i){var s=null,n=!1,o=this;return this.reverting?!1:this.options.disabled||"static"===this.options.type?!1:(this._refreshItems(e),t(e.target).parents().each(function(){return t.data(this,o.widgetName+"-item")===o?(s=t(this),!1):undefined}),t.data(e.target,o.widgetName+"-item")===o&&(s=t(e.target)),s?!this.options.handle||i||(t(this.options.handle,s).find("*").addBack().each(function(){this===e.target&&(n=!0)}),n)?(this.currentItem=s,this._removeCurrentsFromItems(),!0):!1:!1)},_mouseStart:function(e,i,s){var n,o,a=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(o=this.document.find("body"),this.storedCursor=o.css("cursor"),o.css("cursor",a.cursor),this.storedStylesheet=t("<style>*{ cursor: "+a.cursor+" !important; }</style>").appendTo(o)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!s)for(n=this.containers.length-1;n>=0;n--)this.containers[n]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!a.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var i,s,n,o,a=this.options,r=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<a.scrollSensitivity?this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop+a.scrollSpeed:e.pageY-this.overflowOffset.top<a.scrollSensitivity&&(this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop-a.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<a.scrollSensitivity?this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft+a.scrollSpeed:e.pageX-this.overflowOffset.left<a.scrollSensitivity&&(this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft-a.scrollSpeed)):(e.pageY-t(document).scrollTop()<a.scrollSensitivity?r=t(document).scrollTop(t(document).scrollTop()-a.scrollSpeed):t(window).height()-(e.pageY-t(document).scrollTop())<a.scrollSensitivity&&(r=t(document).scrollTop(t(document).scrollTop()+a.scrollSpeed)),e.pageX-t(document).scrollLeft()<a.scrollSensitivity?r=t(document).scrollLeft(t(document).scrollLeft()-a.scrollSpeed):t(window).width()-(e.pageX-t(document).scrollLeft())<a.scrollSensitivity&&(r=t(document).scrollLeft(t(document).scrollLeft()+a.scrollSpeed))),r!==!1&&t.ui.ddmanager&&!a.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),i=this.items.length-1;i>=0;i--)if(s=this.items[i],n=s.item[0],o=this._intersectsWithPointer(s),o&&s.instance===this.currentContainer&&n!==this.currentItem[0]&&this.placeholder[1===o?"next":"prev"]()[0]!==n&&!t.contains(this.placeholder[0],n)&&("semi-dynamic"===this.options.type?!t.contains(this.element[0],n):!0)){if(this.direction=1===o?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(s))break;
+this._rearrange(e,s),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var s=this,n=this.placeholder.offset(),o=this.options.axis,a={};o&&"x"!==o||(a.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)),o&&"y"!==o||(a.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(a,parseInt(this.options.revert,10)||500,function(){s._clear(e)})}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp({target:null}),"original"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},t(i).each(function(){var i=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);i&&s.push((e.key||i[1]+"[]")+"="+(e.key&&e.expression?i[1]:i[2]))}),!s.length&&e.key&&s.push(e.key+"="),s.join("&")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},i.each(function(){s.push(t(e.item||this).attr(e.attribute||"id")||"")}),s},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,s=this.positionAbs.top,n=s+this.helperProportions.height,o=t.left,a=o+t.width,r=t.top,h=r+t.height,l=this.offset.click.top,c=this.offset.click.left,u="x"===this.options.axis||s+l>r&&h>s+l,d="y"===this.options.axis||e+c>o&&a>e+c,p=u&&d;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?p:e+this.helperProportions.width/2>o&&a>i-this.helperProportions.width/2&&s+this.helperProportions.height/2>r&&h>n-this.helperProportions.height/2},_intersectsWithPointer:function(t){var i="x"===this.options.axis||e(this.positionAbs.top+this.offset.click.top,t.top,t.height),s="y"===this.options.axis||e(this.positionAbs.left+this.offset.click.left,t.left,t.width),n=i&&s,o=this._getDragVerticalDirection(),a=this._getDragHorizontalDirection();return n?this.floating?a&&"right"===a||"down"===o?2:1:o&&("down"===o?2:1):!1},_intersectsWithSides:function(t){var i=e(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),s=e(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),n=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return this.floating&&o?"right"===o&&s||"left"===o&&!s:n&&("down"===n&&i||"up"===n&&!i)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var i,s,n,o,a=[],r=[],h=this._connectWith();if(h&&e)for(i=h.length-1;i>=0;i--)for(n=t(h[i]),s=n.length-1;s>=0;s--)o=t.data(n[s],this.widgetFullName),o&&o!==this&&!o.options.disabled&&r.push([t.isFunction(o.options.items)?o.options.items.call(o.element):t(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);for(r.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=r.length-1;i>=0;i--)r[i][0].each(function(){a.push(this)});return t(a)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,function(t){for(var i=0;e.length>i;i++)if(e[i]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var i,s,n,o,a,r,h,l,c=this.items,u=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(i=d.length-1;i>=0;i--)for(n=t(d[i]),s=n.length-1;s>=0;s--)o=t.data(n[s],this.widgetFullName),o&&o!==this&&!o.options.disabled&&(u.push([t.isFunction(o.options.items)?o.options.items.call(o.element[0],e,{item:this.currentItem}):t(o.options.items,o.element),o]),this.containers.push(o));for(i=u.length-1;i>=0;i--)for(a=u[i][1],r=u[i][0],s=0,l=r.length;l>s;s++)h=t(r[s]),h.data(this.widgetName+"-item",a),c.push({item:h,instance:a,width:0,height:0,left:0,top:0})},refreshPositions:function(e){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());var i,s,n,o;for(i=this.items.length-1;i>=0;i--)s=this.items[i],s.instance!==this.currentContainer&&this.currentContainer&&s.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?t(this.options.toleranceElement,s.item):s.item,e||(s.width=n.outerWidth(),s.height=n.outerHeight()),o=n.offset(),s.left=o.left,s.top=o.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)o=this.containers[i].element.offset(),this.containers[i].containerCache.left=o.left,this.containers[i].containerCache.top=o.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(e){e=e||this;var i,s=e.options;s.placeholder&&s.placeholder.constructor!==String||(i=s.placeholder,s.placeholder={element:function(){var s=e.currentItem[0].nodeName.toLowerCase(),n=t("<"+s+">",e.document[0]).addClass(i||e.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper");return"tr"===s?e.currentItem.children().each(function(){t("<td>&#160;</td>",e.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(n)}):"img"===s&&n.attr("src",e.currentItem.attr("src")),i||n.css("visibility","hidden"),n},update:function(t,n){(!i||s.forcePlaceholderSize)&&(n.height()||n.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),n.width()||n.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(s.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),s.placeholder.update(e,e.placeholder)},_contactContainers:function(s){var n,o,a,r,h,l,c,u,d,p,f=null,g=null;for(n=this.containers.length-1;n>=0;n--)if(!t.contains(this.currentItem[0],this.containers[n].element[0]))if(this._intersectsWith(this.containers[n].containerCache)){if(f&&t.contains(this.containers[n].element[0],f.element[0]))continue;f=this.containers[n],g=n}else this.containers[n].containerCache.over&&(this.containers[n]._trigger("out",s,this._uiHash(this)),this.containers[n].containerCache.over=0);if(f)if(1===this.containers.length)this.containers[g].containerCache.over||(this.containers[g]._trigger("over",s,this._uiHash(this)),this.containers[g].containerCache.over=1);else{for(a=1e4,r=null,p=f.floating||i(this.currentItem),h=p?"left":"top",l=p?"width":"height",c=this.positionAbs[h]+this.offset.click[h],o=this.items.length-1;o>=0;o--)t.contains(this.containers[g].element[0],this.items[o].item[0])&&this.items[o].item[0]!==this.currentItem[0]&&(!p||e(this.positionAbs.top+this.offset.click.top,this.items[o].top,this.items[o].height))&&(u=this.items[o].item.offset()[h],d=!1,Math.abs(u-c)>Math.abs(u+this.items[o][l]-c)&&(d=!0,u+=this.items[o][l]),a>Math.abs(u-c)&&(a=Math.abs(u-c),r=this.items[o],this.direction=d?"up":"down"));if(!r&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[g])return;r?this._rearrange(s,r,null,!0):this._rearrange(s,null,this.containers[g].element,!0),this._trigger("change",s,this._uiHash()),this.containers[g]._trigger("change",s,this._uiHash(this)),this.currentContainer=this.containers[g],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[g]._trigger("over",s,this._uiHash(this)),this.containers[g].containerCache.over=1}},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return s.parents("body").length||t("parent"!==i.appendTo?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(s[0]),s[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!s[0].style.width||i.forceHelperSize)&&s.width(this.currentItem.width()),(!s[0].style.height||i.forceHelperSize)&&s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options;"parent"===n.containment&&(n.containment=this.helper[0].parentNode),("document"===n.containment||"window"===n.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,t("document"===n.containment?document:window).width()-this.helperProportions.width-this.margins.left,(t("document"===n.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(e=t(n.containment)[0],i=t(n.containment).offset(),s="hidden"!==t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(s?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(s?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(n[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:n.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:n.scrollLeft())*s}},_generatePosition:function(e){var i,s,n=this.options,o=e.pageX,a=e.pageY,r="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(r[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(o=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(a=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(o=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),n.grid&&(i=this.originalPageY+Math.round((a-this.originalPageY)/n.grid[1])*n.grid[1],a=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-n.grid[1]:i+n.grid[1]:i,s=this.originalPageX+Math.round((o-this.originalPageX)/n.grid[0])*n.grid[0],o=this.containment?s-this.offset.click.left>=this.containment[0]&&s-this.offset.click.left<=this.containment[2]?s:s-this.offset.click.left>=this.containment[0]?s-n.grid[0]:s+n.grid[0]:s)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():h?0:r.scrollTop()),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():h?0:r.scrollLeft())}},_rearrange:function(t,e,i,s){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var n=this.counter;this._delay(function(){n===this.counter&&this.refreshPositions(!s)})},_clear:function(t,e){this.reverting=!1;var i,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)("auto"===this._storedCSS[i]||"static"===this._storedCSS[i])&&(this._storedCSS[i]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!e&&s.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||s.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(s.push(function(t){this._trigger("remove",t,this._uiHash())}),s.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;i--)e||s.push(function(t){return function(e){t._trigger("deactivate",e,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&&(s.push(function(t){return function(e){t._trigger("out",e,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!e){for(this._trigger("beforeStop",t,this._uiHash()),i=0;s.length>i;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!1}if(e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null,!e){for(i=0;s.length>i;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){t.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}})}(jQuery),function(t,e){var i="ui-effects-";t.effects={effect:{}},function(t,e){function i(t,e,i){var s=u[e.type]||{};return null==t?i||!e.def?null:e.def:(t=s.floor?~~t:parseFloat(t),isNaN(t)?e.def:s.mod?(t+s.mod)%s.mod:0>t?0:t>s.max?s.max:t)}function s(i){var s=l(),n=s._rgba=[];return i=i.toLowerCase(),f(h,function(t,o){var a,r=o.re.exec(i),h=r&&o.parse(r),l=o.space||"rgba";return h?(a=s[l](h),s[c[l].cache]=a[c[l].cache],n=s._rgba=a._rgba,!1):e}),n.length?("0,0,0,0"===n.join()&&t.extend(n,o.transparent),s):o[i]}function n(t,e,i){return i=(i+1)%1,1>6*i?t+6*(e-t)*i:1>2*i?e:2>3*i?t+6*(e-t)*(2/3-i):t}var o,a="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",r=/^([\-+])=\s*(\d+\.?\d*)/,h=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],l=t.Color=function(e,i,s,n){return new t.Color.fn.parse(e,i,s,n)},c={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},u={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},d=l.support={},p=t("<p>")[0],f=t.each;p.style.cssText="background-color:rgba(1,1,1,.5)",d.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(c,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),l.fn=t.extend(l.prototype,{parse:function(n,a,r,h){if(n===e)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=t(n).css(a),a=e);var u=this,d=t.type(n),p=this._rgba=[];return a!==e&&(n=[n,a,r,h],d="array"),"string"===d?this.parse(s(n)||o._default):"array"===d?(f(c.rgba.props,function(t,e){p[e.idx]=i(n[e.idx],e)}),this):"object"===d?(n instanceof l?f(c,function(t,e){n[e.cache]&&(u[e.cache]=n[e.cache].slice())}):f(c,function(e,s){var o=s.cache;f(s.props,function(t,e){if(!u[o]&&s.to){if("alpha"===t||null==n[t])return;u[o]=s.to(u._rgba)}u[o][e.idx]=i(n[t],e,!0)}),u[o]&&0>t.inArray(null,u[o].slice(0,3))&&(u[o][3]=1,s.from&&(u._rgba=s.from(u[o])))}),this):e},is:function(t){var i=l(t),s=!0,n=this;return f(c,function(t,o){var a,r=i[o.cache];return r&&(a=n[o.cache]||o.to&&o.to(n._rgba)||[],f(o.props,function(t,i){return null!=r[i.idx]?s=r[i.idx]===a[i.idx]:e})),s}),s},_space:function(){var t=[],e=this;return f(c,function(i,s){e[s.cache]&&t.push(i)}),t.pop()},transition:function(t,e){var s=l(t),n=s._space(),o=c[n],a=0===this.alpha()?l("transparent"):this,r=a[o.cache]||o.to(a._rgba),h=r.slice();return s=s[o.cache],f(o.props,function(t,n){var o=n.idx,a=r[o],l=s[o],c=u[n.type]||{};null!==l&&(null===a?h[o]=l:(c.mod&&(l-a>c.mod/2?a+=c.mod:a-l>c.mod/2&&(a-=c.mod)),h[o]=i((l-a)*e+a,n)))}),this[n](h)},blend:function(e){if(1===this._rgba[3])return this;var i=this._rgba.slice(),s=i.pop(),n=l(e)._rgba;return l(t.map(i,function(t,e){return(1-s)*n[e]+s*t}))},toRgbaString:function(){var e="rgba(",i=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===i[3]&&(i.pop(),e="rgb("),e+i.join()+")"},toHslaString:function(){var e="hsla(",i=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&3>e&&(t=Math.round(100*t)+"%"),t});return 1===i[3]&&(i.pop(),e="hsl("),e+i.join()+")"},toHexString:function(e){var i=this._rgba.slice(),s=i.pop();return e&&i.push(~~(255*s)),"#"+t.map(i,function(t){return t=(t||0).toString(16),1===t.length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,c.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,s=t[0]/255,n=t[1]/255,o=t[2]/255,a=t[3],r=Math.max(s,n,o),h=Math.min(s,n,o),l=r-h,c=r+h,u=.5*c;return e=h===r?0:s===r?60*(n-o)/l+360:n===r?60*(o-s)/l+120:60*(s-n)/l+240,i=0===l?0:.5>=u?l/c:l/(2-c),[Math.round(e)%360,i,u,null==a?1:a]},c.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],s=t[2],o=t[3],a=.5>=s?s*(1+i):s+i-s*i,r=2*s-a;return[Math.round(255*n(r,a,e+1/3)),Math.round(255*n(r,a,e)),Math.round(255*n(r,a,e-1/3)),o]},f(c,function(s,n){var o=n.props,a=n.cache,h=n.to,c=n.from;l.fn[s]=function(s){if(h&&!this[a]&&(this[a]=h(this._rgba)),s===e)return this[a].slice();var n,r=t.type(s),u="array"===r||"object"===r?s:arguments,d=this[a].slice();return f(o,function(t,e){var s=u["object"===r?t:e.idx];null==s&&(s=d[e.idx]),d[e.idx]=i(s,e)}),c?(n=l(c(d)),n[a]=d,n):l(d)},f(o,function(e,i){l.fn[e]||(l.fn[e]=function(n){var o,a=t.type(n),h="alpha"===e?this._hsla?"hsla":"rgba":s,l=this[h](),c=l[i.idx];return"undefined"===a?c:("function"===a&&(n=n.call(this,c),a=t.type(n)),null==n&&i.empty?this:("string"===a&&(o=r.exec(n),o&&(n=c+parseFloat(o[2])*("+"===o[1]?1:-1))),l[i.idx]=n,this[h](l)))})})}),l.hook=function(e){var i=e.split(" ");f(i,function(e,i){t.cssHooks[i]={set:function(e,n){var o,a,r="";if("transparent"!==n&&("string"!==t.type(n)||(o=s(n)))){if(n=l(o||n),!d.rgba&&1!==n._rgba[3]){for(a="backgroundColor"===i?e.parentNode:e;(""===r||"transparent"===r)&&a&&a.style;)try{r=t.css(a,"backgroundColor"),a=a.parentNode}catch(h){}n=n.blend(r&&"transparent"!==r?r:"_default")}n=n.toRgbaString()}try{e.style[i]=n}catch(h){}}},t.fx.step[i]=function(e){e.colorInit||(e.start=l(e.elem,i),e.end=l(e.end),e.colorInit=!0),t.cssHooks[i].set(e.elem,e.start.transition(e.end,e.pos))}})},l.hook(a),t.cssHooks.borderColor={expand:function(t){var e={};return f(["Top","Right","Bottom","Left"],function(i,s){e["border"+s+"Color"]=t}),e}},o=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){function i(e){var i,s,n=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,o={};if(n&&n.length&&n[0]&&n[n[0]])for(s=n.length;s--;)i=n[s],"string"==typeof n[i]&&(o[t.camelCase(i)]=n[i]);else for(i in n)"string"==typeof n[i]&&(o[i]=n[i]);return o}function s(e,i){var s,n,a={};for(s in i)n=i[s],e[s]!==n&&(o[s]||(t.fx.step[s]||!isNaN(parseFloat(n)))&&(a[s]=n));return a}var n=["add","remove","toggle"],o={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,i){t.fx.step[i]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(jQuery.style(t.elem,i,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.effects.animateClass=function(e,o,a,r){var h=t.speed(o,a,r);return this.queue(function(){var o,a=t(this),r=a.attr("class")||"",l=h.children?a.find("*").addBack():a;l=l.map(function(){var e=t(this);return{el:e,start:i(this)}}),o=function(){t.each(n,function(t,i){e[i]&&a[i+"Class"](e[i])})},o(),l=l.map(function(){return this.end=i(this.el[0]),this.diff=s(this.start,this.end),this}),a.attr("class",r),l=l.map(function(){var e=this,i=t.Deferred(),s=t.extend({},h,{queue:!1,complete:function(){i.resolve(e)}});return this.el.animate(this.diff,s),i.promise()}),t.when.apply(t,l.get()).done(function(){o(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),h.complete.call(a[0])})})},t.fn.extend({addClass:function(e){return function(i,s,n,o){return s?t.effects.animateClass.call(this,{add:i},s,n,o):e.apply(this,arguments)}}(t.fn.addClass),removeClass:function(e){return function(i,s,n,o){return arguments.length>1?t.effects.animateClass.call(this,{remove:i},s,n,o):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(i){return function(s,n,o,a,r){return"boolean"==typeof n||n===e?o?t.effects.animateClass.call(this,n?{add:s}:{remove:s},o,a,r):i.apply(this,arguments):t.effects.animateClass.call(this,{toggle:s},n,o,a)}}(t.fn.toggleClass),switchClass:function(e,i,s,n,o){return t.effects.animateClass.call(this,{add:i,remove:e},s,n,o)}})}(),function(){function s(e,i,s,n){return t.isPlainObject(e)&&(i=e,e=e.effect),e={effect:e},null==i&&(i={}),t.isFunction(i)&&(n=i,s=null,i={}),("number"==typeof i||t.fx.speeds[i])&&(n=s,s=i,i={}),t.isFunction(s)&&(n=s,s=null),i&&t.extend(e,i),s=s||i.duration,e.duration=t.fx.off?0:"number"==typeof s?s:s in t.fx.speeds?t.fx.speeds[s]:t.fx.speeds._default,e.complete=n||i.complete,e}function n(e){return!e||"number"==typeof e||t.fx.speeds[e]?!0:"string"!=typeof e||t.effects.effect[e]?t.isFunction(e)?!0:"object"!=typeof e||e.effect?!1:!0:!0}t.extend(t.effects,{version:"1.10.3",save:function(t,e){for(var s=0;e.length>s;s++)null!==e[s]&&t.data(i+e[s],t[0].style[e[s]])},restore:function(t,s){var n,o;for(o=0;s.length>o;o++)null!==s[o]&&(n=t.data(i+s[o]),n===e&&(n=""),t.css(s[o],n))},setMode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},getBaseline:function(t,e){var i,s;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=t[1]/e.width}return{x:s,y:i}},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var i={width:e.outerWidth(!0),height:e.outerHeight(!0),"float":e.css("float")},s=t("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),n={width:e.width(),height:e.height()},o=document.activeElement;try{o.id}catch(a){o=document.body}return e.wrap(s),(e[0]===o||t.contains(e[0],o))&&t(o).focus(),s=e.parent(),"static"===e.css("position")?(s.css({position:"relative"}),e.css({position:"relative"})):(t.extend(i,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,s){i[s]=e.css(s),isNaN(parseInt(i[s],10))&&(i[s]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(n),s.css(i).show()},removeWrapper:function(e){var i=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===i||t.contains(e[0],i))&&t(i).focus()),e},setTransition:function(e,i,s,n){return n=n||{},t.each(i,function(t,i){var o=e.cssUnit(i);o[0]>0&&(n[i]=o[0]*s+o[1])}),n}}),t.fn.extend({effect:function(){function e(e){function s(){t.isFunction(o)&&o.call(n[0]),t.isFunction(e)&&e()}var n=t(this),o=i.complete,r=i.mode;(n.is(":hidden")?"hide"===r:"show"===r)?(n[r](),s()):a.call(n[0],i,s)}var i=s.apply(this,arguments),n=i.mode,o=i.queue,a=t.effects.effect[i.effect];return t.fx.off||!a?n?this[n](i.duration,i.complete):this.each(function(){i.complete&&i.complete.call(this)}):o===!1?this.each(e):this.queue(o||"fx",e)},show:function(t){return function(e){if(n(e))return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="show",this.effect.call(this,i)}}(t.fn.show),hide:function(t){return function(e){if(n(e))return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="hide",this.effect.call(this,i)}}(t.fn.hide),toggle:function(t){return function(e){if(n(e)||"boolean"==typeof e)return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="toggle",this.effect.call(this,i)}}(t.fn.toggle),cssUnit:function(e){var i=this.css(e),s=[];return t.each(["em","px","%","pt"],function(t,e){i.indexOf(e)>0&&(s=[parseFloat(i),e])}),s}})}(),function(){var e={};t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,i){e[i]=function(e){return Math.pow(e,t+2)}}),t.extend(e,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;((e=Math.pow(2,--i))-1)/11>t;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(e,function(e,i){t.easing["easeIn"+e]=i,t.easing["easeOut"+e]=function(t){return 1-i(1-t)},t.easing["easeInOut"+e]=function(t){return.5>t?i(2*t)/2:1-i(-2*t+2)/2}})}()}(jQuery),function(t){var e=0,i={},s={};i.height=i.paddingTop=i.paddingBottom=i.borderTopWidth=i.borderBottomWidth="hide",s.height=s.paddingTop=s.paddingBottom=s.borderTopWidth=s.borderBottomWidth="show",t.widget("ui.accordion",{version:"1.10.3",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var e=this.options;this.prevShow=this.prevHide=t(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),e.collapsible||e.active!==!1&&null!=e.active||(e.active=0),this._processPanels(),0>e.active&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():t(),content:this.active.length?this.active.next():t()}},_createIcons:function(){var e=this.options.icons;e&&(t("<span>").addClass("ui-accordion-header-icon ui-icon "+e.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(e.header).addClass(e.activeHeader),this.headers.addClass("ui-accordion-icons"))
+},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){return"active"===t?(this._activate(e),undefined):("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||this.options.active!==!1||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons()),"disabled"===t&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!e),undefined)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var i=t.ui.keyCode,s=this.headers.length,n=this.headers.index(e.target),o=!1;switch(e.keyCode){case i.RIGHT:case i.DOWN:o=this.headers[(n+1)%s];break;case i.LEFT:case i.UP:o=this.headers[(n-1+s)%s];break;case i.SPACE:case i.ENTER:this._eventHandler(e);break;case i.HOME:o=this.headers[0];break;case i.END:o=this.headers[s-1]}o&&(t(e.target).attr("tabIndex",-1),t(o).attr("tabIndex",0),o.focus(),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===t.ui.keyCode.UP&&e.ctrlKey&&t(e.currentTarget).prev().focus()},refresh:function(){var e=this.options;this._processPanels(),e.active===!1&&e.collapsible===!0||!this.headers.length?(e.active=!1,this.active=t()):e.active===!1?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=t()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()},_refresh:function(){var i,s=this.options,n=s.heightStyle,o=this.element.parent(),a=this.accordionId="ui-accordion-"+(this.element.attr("id")||++e);this.active=this._findActive(s.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(e){var i=t(this),s=i.attr("id"),n=i.next(),o=n.attr("id");s||(s=a+"-header-"+e,i.attr("id",s)),o||(o=a+"-panel-"+e,n.attr("id",o)),i.attr("aria-controls",o),n.attr("aria-labelledby",s)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(s.event),"fill"===n?(i=o.height(),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(i-=e.outerHeight(!0))}),this.headers.each(function(){i-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===n&&(i=0,this.headers.next().each(function(){i=Math.max(i,t(this).css("height","").height())}).height(i))},_activate:function(e){var i=this._findActive(e)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var i=this.options,s=this.active,n=t(e.currentTarget),o=n[0]===s[0],a=o&&i.collapsible,r=a?t():n.next(),h=s.next(),l={oldHeader:s,oldPanel:h,newHeader:a?t():n,newPanel:r};e.preventDefault(),o&&!i.collapsible||this._trigger("beforeActivate",e,l)===!1||(i.active=a?!1:this.headers.index(n),this.active=o?t():n,this._toggle(l),s.removeClass("ui-accordion-header-active ui-state-active"),i.icons&&s.children(".ui-accordion-header-icon").removeClass(i.icons.activeHeader).addClass(i.icons.header),o||(n.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),i.icons&&n.children(".ui-accordion-header-icon").removeClass(i.icons.header).addClass(i.icons.activeHeader),n.next().addClass("ui-accordion-content-active")))},_toggle:function(e){var i=e.newPanel,s=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=s,this.options.animate?this._animate(i,s,e):(s.hide(),i.show(),this._toggleComplete(e)),s.attr({"aria-expanded":"false","aria-hidden":"true"}),s.prev().attr("aria-selected","false"),i.length&&s.length?s.prev().attr("tabIndex",-1):i.length&&this.headers.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),i.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(t,e,n){var o,a,r,h=this,l=0,c=t.length&&(!e.length||t.index()<e.index()),u=this.options.animate||{},d=c&&u.down||u,p=function(){h._toggleComplete(n)};return"number"==typeof d&&(r=d),"string"==typeof d&&(a=d),a=a||d.easing||u.easing,r=r||d.duration||u.duration,e.length?t.length?(o=t.show().outerHeight(),e.animate(i,{duration:r,easing:a,step:function(t,e){e.now=Math.round(t)}}),t.hide().animate(s,{duration:r,easing:a,complete:p,step:function(t,i){i.now=Math.round(t),"height"!==i.prop?l+=i.now:"content"!==h.options.heightStyle&&(i.now=Math.round(o-e.outerHeight()-l),l=0)}}),undefined):e.animate(i,r,a,p):t.animate(s,r,a,p)},_toggleComplete:function(t){var e=t.oldPanel;e.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"),e.length&&(e.parent()[0].className=e.parent()[0].className),this._trigger("activate",null,t)}})}(jQuery),function(t){var e=0;t.widget("ui.autocomplete",{version:"1.10.3",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var e,i,s,n=this.element[0].nodeName.toLowerCase(),o="textarea"===n,a="input"===n;this.isMultiLine=o?!0:a?!1:this.element.prop("isContentEditable"),this.valueMethod=this.element[o||a?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(n){if(this.element.prop("readOnly"))return e=!0,s=!0,i=!0,undefined;e=!1,s=!1,i=!1;var o=t.ui.keyCode;switch(n.keyCode){case o.PAGE_UP:e=!0,this._move("previousPage",n);break;case o.PAGE_DOWN:e=!0,this._move("nextPage",n);break;case o.UP:e=!0,this._keyEvent("previous",n);break;case o.DOWN:e=!0,this._keyEvent("next",n);break;case o.ENTER:case o.NUMPAD_ENTER:this.menu.active&&(e=!0,n.preventDefault(),this.menu.select(n));break;case o.TAB:this.menu.active&&this.menu.select(n);break;case o.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(n),n.preventDefault());break;default:i=!0,this._searchTimeout(n)}},keypress:function(s){if(e)return e=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&s.preventDefault(),undefined;if(!i){var n=t.ui.keyCode;switch(s.keyCode){case n.PAGE_UP:this._move("previousPage",s);break;case n.PAGE_DOWN:this._move("nextPage",s);break;case n.UP:this._keyEvent("previous",s);break;case n.DOWN:this._keyEvent("next",s)}}},input:function(t){return s?(s=!1,t.preventDefault(),undefined):(this._searchTimeout(t),undefined)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,undefined):(clearTimeout(this.searching),this.close(t),this._change(t),undefined)}}),this._initSource(),this.menu=t("<ul>").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({role:null}).hide().data("ui-menu"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];t(e.target).closest(".ui-menu-item").length||this._delay(function(){var e=this;this.document.one("mousedown",function(s){s.target===e.element[0]||s.target===i||t.contains(i,s.target)||e.close()})})},menufocus:function(e,i){if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)}),undefined;var s=i.item.data("ui-autocomplete-item");!1!==this._trigger("focus",e,{item:s})?e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(s.value):this.liveRegion.text(s.value)},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=t("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertBefore(this.element),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e||(e=this.element.closest(".ui-front")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,i,s=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(i,s){s(t.ui.autocomplete.filter(e,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(e,n){s.xhr&&s.xhr.abort(),s.xhr=t.ajax({url:i,data:e,dataType:"json",success:function(t){n(t)},error:function(){n([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):this._trigger("search",e)!==!1?this._search(t):undefined},_search:function(t){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var t=this,i=++e;return function(s){i===e&&t.__response(s),t.pending--,t.pending||t.element.removeClass("ui-autocomplete-loading")}},__response:function(t){t&&(t=this._normalize(t)),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:t.map(e,function(e){return"string"==typeof e?{label:e,value:e}:t.extend({label:e.label||e.value,value:e.value||e.label},e)})},_suggest:function(e){var i=this.menu.element.empty();this._renderMenu(i,e),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(t.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(e,i){var s=this;t.each(i,function(t,i){s._renderItemData(e,i)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(e,i){return t("<li>").append(t("<a>").text(i.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this._value(this.term),this.menu.blur(),undefined):(this.menu[t](e),undefined):(this.search(null,e),undefined)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(t,e),e.preventDefault())}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,i){var s=RegExp(t.ui.autocomplete.escapeRegex(i),"i");return t.grep(e,function(t){return s.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var e;this._superApply(arguments),this.options.disabled||this.cancelSearch||(e=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.text(e))}})}(jQuery),function(t){var e,i,s,n,o="ui-button ui-widget ui-state-default ui-corner-all",a="ui-state-hover ui-state-active ",r="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",h=function(){var e=t(this);setTimeout(function(){e.find(":ui-button").button("refresh")},1)},l=function(e){var i=e.name,s=e.form,n=t([]);return i&&(i=i.replace(/'/g,"\\'"),n=s?t(s).find("[name='"+i+"']"):t("[name='"+i+"']",e.ownerDocument).filter(function(){return!this.form})),n};t.widget("ui.button",{version:"1.10.3",defaultElement:"<button>",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,h),"boolean"!=typeof this.options.disabled?this.options.disabled=!!this.element.prop("disabled"):this.element.prop("disabled",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title");var a=this,r=this.options,c="checkbox"===this.type||"radio"===this.type,u=c?"":"ui-state-active",d="ui-state-focus";null===r.label&&(r.label="input"===this.type?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(o).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){r.disabled||this===e&&t(this).addClass("ui-state-active")}).bind("mouseleave"+this.eventNamespace,function(){r.disabled||t(this).removeClass(u)}).bind("click"+this.eventNamespace,function(t){r.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}),this.element.bind("focus"+this.eventNamespace,function(){a.buttonElement.addClass(d)}).bind("blur"+this.eventNamespace,function(){a.buttonElement.removeClass(d)}),c&&(this.element.bind("change"+this.eventNamespace,function(){n||a.refresh()}),this.buttonElement.bind("mousedown"+this.eventNamespace,function(t){r.disabled||(n=!1,i=t.pageX,s=t.pageY)}).bind("mouseup"+this.eventNamespace,function(t){r.disabled||(i!==t.pageX||s!==t.pageY)&&(n=!0)})),"checkbox"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){return r.disabled||n?!1:undefined}):"radio"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(r.disabled||n)return!1;t(this).addClass("ui-state-active"),a.buttonElement.attr("aria-pressed","true");var e=a.element[0];l(e).not(e).map(function(){return t(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown"+this.eventNamespace,function(){return r.disabled?!1:(t(this).addClass("ui-state-active"),e=this,a.document.one("mouseup",function(){e=null}),undefined)}).bind("mouseup"+this.eventNamespace,function(){return r.disabled?!1:(t(this).removeClass("ui-state-active"),undefined)}).bind("keydown"+this.eventNamespace,function(e){return r.disabled?!1:((e.keyCode===t.ui.keyCode.SPACE||e.keyCode===t.ui.keyCode.ENTER)&&t(this).addClass("ui-state-active"),undefined)}).bind("keyup"+this.eventNamespace+" blur"+this.eventNamespace,function(){t(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(e){e.keyCode===t.ui.keyCode.SPACE&&t(this).click()})),this._setOption("disabled",r.disabled),this._resetButton()},_determineButtonType:function(){var t,e,i;this.type=this.element.is("[type=checkbox]")?"checkbox":this.element.is("[type=radio]")?"radio":this.element.is("input")?"input":"button","checkbox"===this.type||"radio"===this.type?(t=this.element.parents().last(),e="label[for='"+this.element.attr("id")+"']",this.buttonElement=t.find(e),this.buttonElement.length||(t=t.length?t.siblings():this.element.siblings(),this.buttonElement=t.filter(e),this.buttonElement.length||(this.buttonElement=t.find(e))),this.element.addClass("ui-helper-hidden-accessible"),i=this.element.is(":checked"),i&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.prop("aria-pressed",i)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass(o+" "+a+" "+r).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title")},_setOption:function(t,e){return this._super(t,e),"disabled"===t?(e?this.element.prop("disabled",!0):this.element.prop("disabled",!1),undefined):(this._resetButton(),undefined)},refresh:function(){var e=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOption("disabled",e),"radio"===this.type?l(this.element[0]).each(function(){t(this).is(":checked")?t(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):t(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):"checkbox"===this.type&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){if("input"===this.type)return this.options.label&&this.element.val(this.options.label),undefined;var e=this.buttonElement.removeClass(r),i=t("<span></span>",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(e.empty()).text(),s=this.options.icons,n=s.primary&&s.secondary,o=[];s.primary||s.secondary?(this.options.text&&o.push("ui-button-text-icon"+(n?"s":s.primary?"-primary":"-secondary")),s.primary&&e.prepend("<span class='ui-button-icon-primary ui-icon "+s.primary+"'></span>"),s.secondary&&e.append("<span class='ui-button-icon-secondary ui-icon "+s.secondary+"'></span>"),this.options.text||(o.push(n?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||e.attr("title",t.trim(i)))):o.push("ui-button-text-only"),e.addClass(o.join(" "))}}),t.widget("ui.buttonset",{version:"1.10.3",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(t,e){"disabled"===t&&this.buttons.button("option",t,e),this._super(t,e)},refresh:function(){var e="rtl"===this.element.css("direction");this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return t(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(e?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(e?"ui-corner-left":"ui-corner-right").end().end()},_destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return t(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")}})}(jQuery),function(t,e){function i(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[""]),this.dpDiv=s(t("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function s(e){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.delegate(i,"mouseout",function(){t(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).removeClass("ui-datepicker-next-hover")}).delegate(i,"mouseover",function(){t.datepicker._isDisabledDatepicker(o.inline?e.parent()[0]:o.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).addClass("ui-datepicker-next-hover"))})}function n(e,i){t.extend(e,i);for(var s in i)null==i[s]&&(e[s]=i[s]);return e}t.extend(t.ui,{datepicker:{version:"1.10.3"}});var o,a="datepicker";t.extend(i.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return n(this._defaults,t||{}),this},_attachDatepicker:function(e,i){var s,n,o;s=e.nodeName.toLowerCase(),n="div"===s||"span"===s,e.id||(this.uuid+=1,e.id="dp"+this.uuid),o=this._newInst(t(e),n),o.settings=t.extend({},i||{}),"input"===s?this._connectDatepicker(e,o):n&&this._inlineDatepicker(e,o)},_newInst:function(e,i){var n=e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:n,input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?s(t("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,i){var s=t(e);i.append=t([]),i.trigger=t([]),s.hasClass(this.markerClassName)||(this._attachments(s,i),s.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(i),t.data(e,a,i),i.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,i){var s,n,o,a=this._get(i,"appendText"),r=this._get(i,"isRTL");i.append&&i.append.remove(),a&&(i.append=t("<span class='"+this._appendClass+"'>"+a+"</span>"),e[r?"before":"after"](i.append)),e.unbind("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),s=this._get(i,"showOn"),("focus"===s||"both"===s)&&e.focus(this._showDatepicker),("button"===s||"both"===s)&&(n=this._get(i,"buttonText"),o=this._get(i,"buttonImage"),i.trigger=t(this._get(i,"buttonImageOnly")?t("<img/>").addClass(this._triggerClass).attr({src:o,alt:n,title:n}):t("<button type='button'></button>").addClass(this._triggerClass).html(o?t("<img/>").attr({src:o,alt:n,title:n}):n)),e[r?"before":"after"](i.trigger),i.trigger.click(function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,s,n,o=new Date(2009,11,20),a=this._get(t,"dateFormat");a.match(/[DM]/)&&(e=function(t){for(i=0,s=0,n=0;t.length>n;n++)t[n].length>i&&(i=t[n].length,s=n);return s},o.setMonth(e(this._get(t,a.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(e(this._get(t,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),t.input.attr("size",this._formatDate(t,o).length)}},_inlineDatepicker:function(e,i){var s=t(e);s.hasClass(this.markerClassName)||(s.addClass(this.markerClassName).append(i.dpDiv),t.data(e,a,i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(e),i.dpDiv.css("display","block"))},_dialogDatepicker:function(e,i,s,o,r){var h,l,c,u,d,p=this._dialogInst;return p||(this.uuid+=1,h="dp"+this.uuid,this._dialogInput=t("<input type='text' id='"+h+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.keydown(this._doKeyDown),t("body").append(this._dialogInput),p=this._dialogInst=this._newInst(this._dialogInput,!1),p.settings={},t.data(this._dialogInput[0],a,p)),n(p.settings,o||{}),i=i&&i.constructor===Date?this._formatDate(p,i):i,this._dialogInput.val(i),this._pos=r?r.length?r:[r.pageX,r.pageY]:null,this._pos||(l=document.documentElement.clientWidth,c=document.documentElement.clientHeight,u=document.documentElement.scrollLeft||document.body.scrollLeft,d=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[l/2-100+u,c/2-150+d]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),p.settings.onSelect=s,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],a,p),this},_destroyDatepicker:function(e){var i,s=t(e),n=t.data(e,a);s.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),t.removeData(e,a),"input"===i?(n.append.remove(),n.trigger.remove(),s.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"===i||"span"===i)&&s.removeClass(this.markerClassName).empty())},_enableDatepicker:function(e){var i,s,n=t(e),o=t.data(e,a);n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),"input"===i?(e.disabled=!1,o.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().removeClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var i,s,n=t(e),o=t.data(e,a);n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),"input"===i?(e.disabled=!0,o.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().addClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;this._disabledInputs.length>e;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(e){try{return t.data(e,a)}catch(i){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(i,s,o){var a,r,h,l,c=this._getInst(i);return 2===arguments.length&&"string"==typeof s?"defaults"===s?t.extend({},t.datepicker._defaults):c?"all"===s?t.extend({},c.settings):this._get(c,s):null:(a=s||{},"string"==typeof s&&(a={},a[s]=o),c&&(this._curInst===c&&this._hideDatepicker(),r=this._getDateDatepicker(i,!0),h=this._getMinMaxDate(c,"min"),l=this._getMinMaxDate(c,"max"),n(c.settings,a),null!==h&&a.dateFormat!==e&&a.minDate===e&&(c.settings.minDate=this._formatDate(c,h)),null!==l&&a.dateFormat!==e&&a.maxDate===e&&(c.settings.maxDate=this._formatDate(c,l)),"disabled"in a&&(a.disabled?this._disableDatepicker(i):this._enableDatepicker(i)),this._attachments(t(i),c),this._autoSize(c),this._setDate(c,r),this._updateAlternate(c),this._updateDatepicker(c)),e)},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var i=this._getInst(t);i&&(this._setDate(i,e),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(t,e){var i=this._getInst(t);return i&&!i.inline&&this._setDateFromField(i,e),i?this._getDate(i):null},_doKeyDown:function(e){var i,s,n,o=t.datepicker._getInst(e.target),a=!0,r=o.dpDiv.is(".ui-datepicker-rtl");if(o._keyEvent=!0,t.datepicker._datepickerShowing)switch(e.keyCode){case 9:t.datepicker._hideDatepicker(),a=!1;break;case 13:return n=t("td."+t.datepicker._dayOverClass+":not(."+t.datepicker._currentClass+")",o.dpDiv),n[0]&&t.datepicker._selectDay(e.target,o.selectedMonth,o.selectedYear,n[0]),i=t.datepicker._get(o,"onSelect"),i?(s=t.datepicker._formatDate(o),i.apply(o.input?o.input[0]:null,[s,o])):t.datepicker._hideDatepicker(),!1;
+case 27:t.datepicker._hideDatepicker();break;case 33:t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(o,"stepBigMonths"):-t.datepicker._get(o,"stepMonths"),"M");break;case 34:t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(o,"stepBigMonths"):+t.datepicker._get(o,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&t.datepicker._clearDate(e.target),a=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&t.datepicker._gotoToday(e.target),a=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,r?1:-1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(o,"stepBigMonths"):-t.datepicker._get(o,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,-7,"D"),a=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,r?-1:1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(o,"stepBigMonths"):+t.datepicker._get(o,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,7,"D"),a=e.ctrlKey||e.metaKey;break;default:a=!1}else 36===e.keyCode&&e.ctrlKey?t.datepicker._showDatepicker(this):a=!1;a&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(i){var s,n,o=t.datepicker._getInst(i.target);return t.datepicker._get(o,"constrainInput")?(s=t.datepicker._possibleChars(t.datepicker._get(o,"dateFormat")),n=String.fromCharCode(null==i.charCode?i.keyCode:i.charCode),i.ctrlKey||i.metaKey||" ">n||!s||s.indexOf(n)>-1):e},_doKeyUp:function(e){var i,s=t.datepicker._getInst(e.target);if(s.input.val()!==s.lastVal)try{i=t.datepicker.parseDate(t.datepicker._get(s,"dateFormat"),s.input?s.input.val():null,t.datepicker._getFormatConfig(s)),i&&(t.datepicker._setDateFromField(s),t.datepicker._updateAlternate(s),t.datepicker._updateDatepicker(s))}catch(n){}return!0},_showDatepicker:function(e){if(e=e.target||e,"input"!==e.nodeName.toLowerCase()&&(e=t("input",e.parentNode)[0]),!t.datepicker._isDisabledDatepicker(e)&&t.datepicker._lastInput!==e){var i,s,o,a,r,h,l;i=t.datepicker._getInst(e),t.datepicker._curInst&&t.datepicker._curInst!==i&&(t.datepicker._curInst.dpDiv.stop(!0,!0),i&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),s=t.datepicker._get(i,"beforeShow"),o=s?s.apply(e,[e,i]):{},o!==!1&&(n(i.settings,o),i.lastVal=null,t.datepicker._lastInput=e,t.datepicker._setDateFromField(i),t.datepicker._inDialog&&(e.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(e),t.datepicker._pos[1]+=e.offsetHeight),a=!1,t(e).parents().each(function(){return a|="fixed"===t(this).css("position"),!a}),r={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(i),r=t.datepicker._checkOffset(i,r,a),i.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":a?"fixed":"absolute",display:"none",left:r.left+"px",top:r.top+"px"}),i.inline||(h=t.datepicker._get(i,"showAnim"),l=t.datepicker._get(i,"duration"),i.dpDiv.zIndex(t(e).zIndex()+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[h]?i.dpDiv.show(h,t.datepicker._get(i,"showOptions"),l):i.dpDiv[h||"show"](h?l:null),t.datepicker._shouldFocusInput(i)&&i.input.focus(),t.datepicker._curInst=i))}},_updateDatepicker:function(e){this.maxRows=4,o=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e),e.dpDiv.find("."+this._dayOverClass+" a").mouseover();var i,s=this._getNumberOfMonths(e),n=s[1],a=17;e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),n>1&&e.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",a*n+"em"),e.dpDiv[(1!==s[0]||1!==s[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===t.datepicker._curInst&&t.datepicker._datepickerShowing&&t.datepicker._shouldFocusInput(e)&&e.input.focus(),e.yearshtml&&(i=e.yearshtml,setTimeout(function(){i===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),i=e.yearshtml=null},0))},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(e,i,s){var n=e.dpDiv.outerWidth(),o=e.dpDiv.outerHeight(),a=e.input?e.input.outerWidth():0,r=e.input?e.input.outerHeight():0,h=document.documentElement.clientWidth+(s?0:t(document).scrollLeft()),l=document.documentElement.clientHeight+(s?0:t(document).scrollTop());return i.left-=this._get(e,"isRTL")?n-a:0,i.left-=s&&i.left===e.input.offset().left?t(document).scrollLeft():0,i.top-=s&&i.top===e.input.offset().top+r?t(document).scrollTop():0,i.left-=Math.min(i.left,i.left+n>h&&h>n?Math.abs(i.left+n-h):0),i.top-=Math.min(i.top,i.top+o>l&&l>o?Math.abs(o+r):0),i},_findPos:function(e){for(var i,s=this._getInst(e),n=this._get(s,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||t.expr.filters.hidden(e));)e=e[n?"previousSibling":"nextSibling"];return i=t(e).offset(),[i.left,i.top]},_hideDatepicker:function(e){var i,s,n,o,r=this._curInst;!r||e&&r!==t.data(e,a)||this._datepickerShowing&&(i=this._get(r,"showAnim"),s=this._get(r,"duration"),n=function(){t.datepicker._tidyDialog(r)},t.effects&&(t.effects.effect[i]||t.effects[i])?r.dpDiv.hide(i,t.datepicker._get(r,"showOptions"),s,n):r.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?s:null,n),i||n(),this._datepickerShowing=!1,o=this._get(r,"onClose"),o&&o.apply(r.input?r.input[0]:null,[r.input?r.input.val():"",r]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(t.datepicker._curInst){var i=t(e.target),s=t.datepicker._getInst(i[0]);(i[0].id!==t.datepicker._mainDivId&&0===i.parents("#"+t.datepicker._mainDivId).length&&!i.hasClass(t.datepicker.markerClassName)&&!i.closest("."+t.datepicker._triggerClass).length&&t.datepicker._datepickerShowing&&(!t.datepicker._inDialog||!t.blockUI)||i.hasClass(t.datepicker.markerClassName)&&t.datepicker._curInst!==s)&&t.datepicker._hideDatepicker()}},_adjustDate:function(e,i,s){var n=t(e),o=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(o,i+("M"===s?this._get(o,"showCurrentAtPos"):0),s),this._updateDatepicker(o))},_gotoToday:function(e){var i,s=t(e),n=this._getInst(s[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(i=new Date,n.selectedDay=i.getDate(),n.drawMonth=n.selectedMonth=i.getMonth(),n.drawYear=n.selectedYear=i.getFullYear()),this._notifyChange(n),this._adjustDate(s)},_selectMonthYear:function(e,i,s){var n=t(e),o=this._getInst(n[0]);o["selected"+("M"===s?"Month":"Year")]=o["draw"+("M"===s?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(o),this._adjustDate(n)},_selectDay:function(e,i,s,n){var o,a=t(e);t(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||(o=this._getInst(a[0]),o.selectedDay=o.currentDay=t("a",n).html(),o.selectedMonth=o.currentMonth=i,o.selectedYear=o.currentYear=s,this._selectDate(e,this._formatDate(o,o.currentDay,o.currentMonth,o.currentYear)))},_clearDate:function(e){var i=t(e);this._selectDate(i,"")},_selectDate:function(e,i){var s,n=t(e),o=this._getInst(n[0]);i=null!=i?i:this._formatDate(o),o.input&&o.input.val(i),this._updateAlternate(o),s=this._get(o,"onSelect"),s?s.apply(o.input?o.input[0]:null,[i,o]):o.input&&o.input.trigger("change"),o.inline?this._updateDatepicker(o):(this._hideDatepicker(),this._lastInput=o.input[0],"object"!=typeof o.input[0]&&o.input.focus(),this._lastInput=null)},_updateAlternate:function(e){var i,s,n,o=this._get(e,"altField");o&&(i=this._get(e,"altFormat")||this._get(e,"dateFormat"),s=this._getDate(e),n=this.formatDate(i,s,this._getFormatConfig(e)),t(o).each(function(){t(this).val(n)}))},noWeekends:function(t){var e=t.getDay();return[e>0&&6>e,""]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(i,s,n){if(null==i||null==s)throw"Invalid arguments";if(s="object"==typeof s?""+s:s+"",""===s)return null;var o,a,r,h,l=0,c=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),d=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,p=(n?n.dayNames:null)||this._defaults.dayNames,f=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,g=(n?n.monthNames:null)||this._defaults.monthNames,m=-1,v=-1,_=-1,b=-1,y=!1,w=function(t){var e=i.length>o+1&&i.charAt(o+1)===t;return e&&o++,e},k=function(t){var e=w(t),i="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,n=RegExp("^\\d{1,"+i+"}"),o=s.substring(l).match(n);if(!o)throw"Missing number at position "+l;return l+=o[0].length,parseInt(o[0],10)},x=function(i,n,o){var a=-1,r=t.map(w(i)?o:n,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(t.each(r,function(t,i){var n=i[1];return s.substr(l,n.length).toLowerCase()===n.toLowerCase()?(a=i[0],l+=n.length,!1):e}),-1!==a)return a+1;throw"Unknown name at position "+l},D=function(){if(s.charAt(l)!==i.charAt(o))throw"Unexpected literal at position "+l;l++};for(o=0;i.length>o;o++)if(y)"'"!==i.charAt(o)||w("'")?D():y=!1;else switch(i.charAt(o)){case"d":_=k("d");break;case"D":x("D",d,p);break;case"o":b=k("o");break;case"m":v=k("m");break;case"M":v=x("M",f,g);break;case"y":m=k("y");break;case"@":h=new Date(k("@")),m=h.getFullYear(),v=h.getMonth()+1,_=h.getDate();break;case"!":h=new Date((k("!")-this._ticksTo1970)/1e4),m=h.getFullYear(),v=h.getMonth()+1,_=h.getDate();break;case"'":w("'")?D():y=!0;break;default:D()}if(s.length>l&&(r=s.substr(l),!/^\s+/.test(r)))throw"Extra/unparsed characters found in date: "+r;if(-1===m?m=(new Date).getFullYear():100>m&&(m+=(new Date).getFullYear()-(new Date).getFullYear()%100+(u>=m?0:-100)),b>-1)for(v=1,_=b;;){if(a=this._getDaysInMonth(m,v-1),a>=_)break;v++,_-=a}if(h=this._daylightSavingAdjust(new Date(m,v-1,_)),h.getFullYear()!==m||h.getMonth()+1!==v||h.getDate()!==_)throw"Invalid date";return h},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:1e7*60*60*24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(t,e,i){if(!e)return"";var s,n=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,o=(i?i.dayNames:null)||this._defaults.dayNames,a=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,r=(i?i.monthNames:null)||this._defaults.monthNames,h=function(e){var i=t.length>s+1&&t.charAt(s+1)===e;return i&&s++,i},l=function(t,e,i){var s=""+e;if(h(t))for(;i>s.length;)s="0"+s;return s},c=function(t,e,i,s){return h(t)?s[e]:i[e]},u="",d=!1;if(e)for(s=0;t.length>s;s++)if(d)"'"!==t.charAt(s)||h("'")?u+=t.charAt(s):d=!1;else switch(t.charAt(s)){case"d":u+=l("d",e.getDate(),2);break;case"D":u+=c("D",e.getDay(),n,o);break;case"o":u+=l("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":u+=l("m",e.getMonth()+1,2);break;case"M":u+=c("M",e.getMonth(),a,r);break;case"y":u+=h("y")?e.getFullYear():(10>e.getYear()%100?"0":"")+e.getYear()%100;break;case"@":u+=e.getTime();break;case"!":u+=1e4*e.getTime()+this._ticksTo1970;break;case"'":h("'")?u+="'":d=!0;break;default:u+=t.charAt(s)}return u},_possibleChars:function(t){var e,i="",s=!1,n=function(i){var s=t.length>e+1&&t.charAt(e+1)===i;return s&&e++,s};for(e=0;t.length>e;e++)if(s)"'"!==t.charAt(e)||n("'")?i+=t.charAt(e):s=!1;else switch(t.charAt(e)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":n("'")?i+="'":s=!0;break;default:i+=t.charAt(e)}return i},_get:function(t,i){return t.settings[i]!==e?t.settings[i]:this._defaults[i]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),s=t.lastVal=t.input?t.input.val():null,n=this._getDefaultDate(t),o=n,a=this._getFormatConfig(t);try{o=this.parseDate(i,s,a)||n}catch(r){s=e?"":s}t.selectedDay=o.getDate(),t.drawMonth=t.selectedMonth=o.getMonth(),t.drawYear=t.selectedYear=o.getFullYear(),t.currentDay=s?o.getDate():0,t.currentMonth=s?o.getMonth():0,t.currentYear=s?o.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(e,i,s){var n=function(t){var e=new Date;return e.setDate(e.getDate()+t),e},o=function(i){try{return t.datepicker.parseDate(t.datepicker._get(e,"dateFormat"),i,t.datepicker._getFormatConfig(e))}catch(s){}for(var n=(i.toLowerCase().match(/^c/)?t.datepicker._getDate(e):null)||new Date,o=n.getFullYear(),a=n.getMonth(),r=n.getDate(),h=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=h.exec(i);l;){switch(l[2]||"d"){case"d":case"D":r+=parseInt(l[1],10);break;case"w":case"W":r+=7*parseInt(l[1],10);break;case"m":case"M":a+=parseInt(l[1],10),r=Math.min(r,t.datepicker._getDaysInMonth(o,a));break;case"y":case"Y":o+=parseInt(l[1],10),r=Math.min(r,t.datepicker._getDaysInMonth(o,a))}l=h.exec(i)}return new Date(o,a,r)},a=null==i||""===i?s:"string"==typeof i?o(i):"number"==typeof i?isNaN(i)?s:n(i):new Date(i.getTime());return a=a&&"Invalid Date"==""+a?s:a,a&&(a.setHours(0),a.setMinutes(0),a.setSeconds(0),a.setMilliseconds(0)),this._daylightSavingAdjust(a)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var s=!e,n=t.selectedMonth,o=t.selectedYear,a=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=a.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=a.getMonth(),t.drawYear=t.selectedYear=t.currentYear=a.getFullYear(),n===t.selectedMonth&&o===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(s?"":this._formatDate(t))},_getDate:function(t){var e=!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return e},_attachHandlers:function(e){var i=this._get(e,"stepMonths"),s="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){t.datepicker._adjustDate(s,-i,"M")},next:function(){t.datepicker._adjustDate(s,+i,"M")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(s)},selectDay:function(){return t.datepicker._selectDay(s,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(s,this,"M"),!1},selectYear:function(){return t.datepicker._selectMonthYear(s,this,"Y"),!1}};t(this).bind(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,i,s,n,o,a,r,h,l,c,u,d,p,f,g,m,v,_,b,y,w,k,x,D,C,I,P,T,M,S,z,A,H,E,N,W,O,F,R,L=new Date,j=this._daylightSavingAdjust(new Date(L.getFullYear(),L.getMonth(),L.getDate())),Y=this._get(t,"isRTL"),B=this._get(t,"showButtonPanel"),V=this._get(t,"hideIfNoPrevNext"),K=this._get(t,"navigationAsDateFormat"),U=this._getNumberOfMonths(t),q=this._get(t,"showCurrentAtPos"),Q=this._get(t,"stepMonths"),X=1!==U[0]||1!==U[1],$=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),G=this._getMinMaxDate(t,"min"),J=this._getMinMaxDate(t,"max"),Z=t.drawMonth-q,te=t.drawYear;if(0>Z&&(Z+=12,te--),J)for(e=this._daylightSavingAdjust(new Date(J.getFullYear(),J.getMonth()-U[0]*U[1]+1,J.getDate())),e=G&&G>e?G:e;this._daylightSavingAdjust(new Date(te,Z,1))>e;)Z--,0>Z&&(Z=11,te--);for(t.drawMonth=Z,t.drawYear=te,i=this._get(t,"prevText"),i=K?this.formatDate(i,this._daylightSavingAdjust(new Date(te,Z-Q,1)),this._getFormatConfig(t)):i,s=this._canAdjustMonth(t,-1,te,Z)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")+"'>"+i+"</span></a>":V?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")+"'>"+i+"</span></a>",n=this._get(t,"nextText"),n=K?this.formatDate(n,this._daylightSavingAdjust(new Date(te,Z+Q,1)),this._getFormatConfig(t)):n,o=this._canAdjustMonth(t,1,te,Z)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")+"'>"+n+"</span></a>":V?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")+"'>"+n+"</span></a>",a=this._get(t,"currentText"),r=this._get(t,"gotoCurrent")&&t.currentDay?$:j,a=K?this.formatDate(a,r,this._getFormatConfig(t)):a,h=t.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(t,"closeText")+"</button>",l=B?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(Y?h:"")+(this._isInRange(t,r)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+a+"</button>":"")+(Y?"":h)+"</div>":"",c=parseInt(this._get(t,"firstDay"),10),c=isNaN(c)?0:c,u=this._get(t,"showWeek"),d=this._get(t,"dayNames"),p=this._get(t,"dayNamesMin"),f=this._get(t,"monthNames"),g=this._get(t,"monthNamesShort"),m=this._get(t,"beforeShowDay"),v=this._get(t,"showOtherMonths"),_=this._get(t,"selectOtherMonths"),b=this._getDefaultDate(t),y="",k=0;U[0]>k;k++){for(x="",this.maxRows=4,D=0;U[1]>D;D++){if(C=this._daylightSavingAdjust(new Date(te,Z,t.selectedDay)),I=" ui-corner-all",P="",X){if(P+="<div class='ui-datepicker-group",U[1]>1)switch(D){case 0:P+=" ui-datepicker-group-first",I=" ui-corner-"+(Y?"right":"left");break;case U[1]-1:P+=" ui-datepicker-group-last",I=" ui-corner-"+(Y?"left":"right");break;default:P+=" ui-datepicker-group-middle",I=""}P+="'>"}for(P+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+I+"'>"+(/all|left/.test(I)&&0===k?Y?o:s:"")+(/all|right/.test(I)&&0===k?Y?s:o:"")+this._generateMonthYearHeader(t,Z,te,G,J,k>0||D>0,f,g)+"</div><table class='ui-datepicker-calendar'><thead>"+"<tr>",T=u?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",w=0;7>w;w++)M=(w+c)%7,T+="<th"+((w+c+6)%7>=5?" class='ui-datepicker-week-end'":"")+">"+"<span title='"+d[M]+"'>"+p[M]+"</span></th>";for(P+=T+"</tr></thead><tbody>",S=this._getDaysInMonth(te,Z),te===t.selectedYear&&Z===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,S)),z=(this._getFirstDayOfMonth(te,Z)-c+7)%7,A=Math.ceil((z+S)/7),H=X?this.maxRows>A?this.maxRows:A:A,this.maxRows=H,E=this._daylightSavingAdjust(new Date(te,Z,1-z)),N=0;H>N;N++){for(P+="<tr>",W=u?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(E)+"</td>":"",w=0;7>w;w++)O=m?m.apply(t.input?t.input[0]:null,[E]):[!0,""],F=E.getMonth()!==Z,R=F&&!_||!O[0]||G&&G>E||J&&E>J,W+="<td class='"+((w+c+6)%7>=5?" ui-datepicker-week-end":"")+(F?" ui-datepicker-other-month":"")+(E.getTime()===C.getTime()&&Z===t.selectedMonth&&t._keyEvent||b.getTime()===E.getTime()&&b.getTime()===C.getTime()?" "+this._dayOverClass:"")+(R?" "+this._unselectableClass+" ui-state-disabled":"")+(F&&!v?"":" "+O[1]+(E.getTime()===$.getTime()?" "+this._currentClass:"")+(E.getTime()===j.getTime()?" ui-datepicker-today":""))+"'"+(F&&!v||!O[2]?"":" title='"+O[2].replace(/'/g,"&#39;")+"'")+(R?"":" data-handler='selectDay' data-event='click' data-month='"+E.getMonth()+"' data-year='"+E.getFullYear()+"'")+">"+(F&&!v?"&#xa0;":R?"<span class='ui-state-default'>"+E.getDate()+"</span>":"<a class='ui-state-default"+(E.getTime()===j.getTime()?" ui-state-highlight":"")+(E.getTime()===$.getTime()?" ui-state-active":"")+(F?" ui-priority-secondary":"")+"' href='#'>"+E.getDate()+"</a>")+"</td>",E.setDate(E.getDate()+1),E=this._daylightSavingAdjust(E);P+=W+"</tr>"}Z++,Z>11&&(Z=0,te++),P+="</tbody></table>"+(X?"</div>"+(U[0]>0&&D===U[1]-1?"<div class='ui-datepicker-row-break'></div>":""):""),x+=P}y+=x}return y+=l,t._keyEvent=!1,y},_generateMonthYearHeader:function(t,e,i,s,n,o,a,r){var h,l,c,u,d,p,f,g,m=this._get(t,"changeMonth"),v=this._get(t,"changeYear"),_=this._get(t,"showMonthAfterYear"),b="<div class='ui-datepicker-title'>",y="";if(o||!m)y+="<span class='ui-datepicker-month'>"+a[e]+"</span>";else{for(h=s&&s.getFullYear()===i,l=n&&n.getFullYear()===i,y+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",c=0;12>c;c++)(!h||c>=s.getMonth())&&(!l||n.getMonth()>=c)&&(y+="<option value='"+c+"'"+(c===e?" selected='selected'":"")+">"+r[c]+"</option>");y+="</select>"}if(_||(b+=y+(!o&&m&&v?"":"&#xa0;")),!t.yearshtml)if(t.yearshtml="",o||!v)b+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(u=this._get(t,"yearRange").split(":"),d=(new Date).getFullYear(),p=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(e)?d:e},f=p(u[0]),g=Math.max(f,p(u[1]||"")),f=s?Math.max(f,s.getFullYear()):f,g=n?Math.min(g,n.getFullYear()):g,t.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";g>=f;f++)t.yearshtml+="<option value='"+f+"'"+(f===i?" selected='selected'":"")+">"+f+"</option>";t.yearshtml+="</select>",b+=t.yearshtml,t.yearshtml=null}return b+=this._get(t,"yearSuffix"),_&&(b+=(!o&&m&&v?"":"&#xa0;")+y),b+="</div>"},_adjustInstDate:function(t,e,i){var s=t.drawYear+("Y"===i?e:0),n=t.drawMonth+("M"===i?e:0),o=Math.min(t.selectedDay,this._getDaysInMonth(s,n))+("D"===i?e:0),a=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(s,n,o)));t.selectedDay=a.getDate(),t.drawMonth=t.selectedMonth=a.getMonth(),t.drawYear=t.selectedYear=a.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),s=this._getMinMaxDate(t,"max"),n=i&&i>e?i:e;return s&&n>s?s:n},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,s){var n=this._getNumberOfMonths(t),o=this._daylightSavingAdjust(new Date(i,s+(0>e?e:n[0]*n[1]),1));return 0>e&&o.setDate(this._getDaysInMonth(o.getFullYear(),o.getMonth())),this._isInRange(t,o)},_isInRange:function(t,e){var i,s,n=this._getMinMaxDate(t,"min"),o=this._getMinMaxDate(t,"max"),a=null,r=null,h=this._get(t,"yearRange");return h&&(i=h.split(":"),s=(new Date).getFullYear(),a=parseInt(i[0],10),r=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(a+=s),i[1].match(/[+\-].*/)&&(r+=s)),(!n||e.getTime()>=n.getTime())&&(!o||e.getTime()<=o.getTime())&&(!a||e.getFullYear()>=a)&&(!r||r>=e.getFullYear())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),{shortYearCutoff:e,dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,s){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var n=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(s,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),n,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).mousedown(t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(i)):t.datepicker._attachDatepicker(this,e)}):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i))},t.datepicker=new i,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.10.3"}(jQuery),function(t){var e={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},i={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};t.widget("ui.dialog",{version:"1.10.3",options:{appendTo:"body",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var i=t(this).css(e).offset().top;0>i&&t(this).css("top",e.top-i)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),this.options.title=this.options.title||this.originalTitle,this._createWrapper(),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(this.uiDialog),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&t.fn.draggable&&this._makeDraggable(),this.options.resizable&&t.fn.resizable&&this._makeResizable(),this._isOpen=!1},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?t(e):this.document.find(e||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._destroyOverlay(),this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach(),this.uiDialog.stop(!0,!0).remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),t=e.parent.children().eq(e.index),t.length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:t.noop,enable:t.noop,close:function(e){var i=this;this._isOpen&&this._trigger("beforeClose",e)!==!1&&(this._isOpen=!1,this._destroyOverlay(),this.opener.filter(":focusable").focus().length||t(this.document[0].activeElement).blur(),this._hide(this.uiDialog,this.options.hide,function(){i._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,e){var i=!!this.uiDialog.nextAll(":visible").insertBefore(this.uiDialog).length;return i&&!e&&this._trigger("focus",t),i},open:function(){var e=this;return this._isOpen?(this._moveToTop()&&this._focusTabbable(),undefined):(this._isOpen=!0,this.opener=t(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._trigger("open"),undefined)},_focusTabbable:function(){var t=this.element.find("[autofocus]");t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).focus()},_keepFocus:function(e){function i(){var e=this.document[0].activeElement,i=this.uiDialog[0]===e||t.contains(this.uiDialog[0],e);i||this._focusTabbable()}e.preventDefault(),i.call(this),this._delay(i)},_createWrapper:function(){this.uiDialog=t("<div>").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE)return e.preventDefault(),this.close(e),undefined;if(e.keyCode===t.ui.keyCode.TAB){var i=this.uiDialog.find(":tabbable"),s=i.filter(":first"),n=i.filter(":last");e.target!==n[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==s[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(n.focus(1),e.preventDefault()):(s.focus(1),e.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=t("<div>").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(e){t(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=t("<button></button>").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),e=t("<span>").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(e),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){this.options.title||t.html("&#160;"),t.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=t("<div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("<div>").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_createButtons:function(){var e=this,i=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(i)||t.isArray(i)&&!i.length?(this.uiDialog.removeClass("ui-dialog-buttons"),undefined):(t.each(i,function(i,s){var n,o;s=t.isFunction(s)?{click:s,text:i}:s,s=t.extend({type:"button"},s),n=s.click,s.click=function(){n.apply(e.element[0],arguments)},o={icons:s.icons,text:s.showText},delete s.icons,delete s.showText,t("<button></button>",s).button(o).appendTo(e.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog),undefined)},_makeDraggable:function(){function e(t){return{position:t.position,offset:t.offset}}var i=this,s=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(s,n){t(this).addClass("ui-dialog-dragging"),i._blockFrames(),i._trigger("dragStart",s,e(n))},drag:function(t,s){i._trigger("drag",t,e(s))},stop:function(n,o){s.position=[o.position.left-i.document.scrollLeft(),o.position.top-i.document.scrollTop()],t(this).removeClass("ui-dialog-dragging"),i._unblockFrames(),i._trigger("dragStop",n,e(o))}})},_makeResizable:function(){function e(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}
+}var i=this,s=this.options,n=s.resizable,o=this.uiDialog.css("position"),a="string"==typeof n?n:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:s.maxWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:this._minHeight(),handles:a,start:function(s,n){t(this).addClass("ui-dialog-resizing"),i._blockFrames(),i._trigger("resizeStart",s,e(n))},resize:function(t,s){i._trigger("resize",t,e(s))},stop:function(n,o){s.height=t(this).height(),s.width=t(this).width(),t(this).removeClass("ui-dialog-resizing"),i._unblockFrames(),i._trigger("resizeStop",n,e(o))}}).css("position",o)},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(s){var n=this,o=!1,a={};t.each(s,function(t,s){n._setOption(t,s),t in e&&(o=!0),t in i&&(a[t]=s)}),o&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",a)},_setOption:function(t,e){var i,s,n=this.uiDialog;"dialogClass"===t&&n.removeClass(this.options.dialogClass).addClass(e),"disabled"!==t&&(this._super(t,e),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:""+e}),"draggable"===t&&(i=n.is(":data(ui-draggable)"),i&&!e&&n.draggable("destroy"),!i&&e&&this._makeDraggable()),"position"===t&&this._position(),"resizable"===t&&(s=n.is(":data(ui-resizable)"),s&&!e&&n.resizable("destroy"),s&&"string"==typeof e&&n.resizable("option","handles",e),s||e===!1||this._makeResizable()),"title"===t&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,s=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),s.minWidth>s.width&&(s.width=s.minWidth),t=this.uiDialog.css({height:"auto",width:s.width}).outerHeight(),e=Math.max(0,s.minHeight-t),i="number"==typeof s.maxHeight?Math.max(0,s.maxHeight-t):"none","auto"===s.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,s.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=t(this);return t("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return t(e.target).closest(".ui-dialog").length?!0:!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=this,i=this.widgetFullName;t.ui.dialog.overlayInstances||this._delay(function(){t.ui.dialog.overlayInstances&&this.document.bind("focusin.dialog",function(s){e._allowInteraction(s)||(s.preventDefault(),t(".ui-dialog:visible:last .ui-dialog-content").data(i)._focusTabbable())})}),this.overlay=t("<div>").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),t.ui.dialog.overlayInstances++}},_destroyOverlay:function(){this.options.modal&&this.overlay&&(t.ui.dialog.overlayInstances--,t.ui.dialog.overlayInstances||this.document.unbind("focusin.dialog"),this.overlay.remove(),this.overlay=null)}}),t.ui.dialog.overlayInstances=0,t.uiBackCompat!==!1&&t.widget("ui.dialog",t.ui.dialog,{_position:function(){var e,i=this.options.position,s=[],n=[0,0];i?(("string"==typeof i||"object"==typeof i&&"0"in i)&&(s=i.split?i.split(" "):[i[0],i[1]],1===s.length&&(s[1]=s[0]),t.each(["left","top"],function(t,e){+s[t]===s[t]&&(n[t]=s[t],s[t]=e)}),i={my:s[0]+(0>n[0]?n[0]:"+"+n[0])+" "+s[1]+(0>n[1]?n[1]:"+"+n[1]),at:s.join(" ")}),i=t.extend({},t.ui.dialog.prototype.options.position,i)):i=t.ui.dialog.prototype.options.position,e=this.uiDialog.is(":visible"),e||this.uiDialog.show(),this.uiDialog.position(i),e||this.uiDialog.hide()}})}(jQuery),function(t){var e=/up|down|vertical/,i=/up|left|vertical|horizontal/;t.effects.effect.blind=function(s,n){var o,a,r,h=t(this),l=["position","top","bottom","left","right","height","width"],c=t.effects.setMode(h,s.mode||"hide"),u=s.direction||"up",d=e.test(u),p=d?"height":"width",f=d?"top":"left",g=i.test(u),m={},v="show"===c;h.parent().is(".ui-effects-wrapper")?t.effects.save(h.parent(),l):t.effects.save(h,l),h.show(),o=t.effects.createWrapper(h).css({overflow:"hidden"}),a=o[p](),r=parseFloat(o.css(f))||0,m[p]=v?a:0,g||(h.css(d?"bottom":"right",0).css(d?"top":"left","auto").css({position:"absolute"}),m[f]=v?r:a+r),v&&(o.css(p,0),g||o.css(f,r+a)),o.animate(m,{duration:s.duration,easing:s.easing,queue:!1,complete:function(){"hide"===c&&h.hide(),t.effects.restore(h,l),t.effects.removeWrapper(h),n()}})}}(jQuery),function(t){t.effects.effect.bounce=function(e,i){var s,n,o,a=t(this),r=["position","top","bottom","left","right","height","width"],h=t.effects.setMode(a,e.mode||"effect"),l="hide"===h,c="show"===h,u=e.direction||"up",d=e.distance,p=e.times||5,f=2*p+(c||l?1:0),g=e.duration/f,m=e.easing,v="up"===u||"down"===u?"top":"left",_="up"===u||"left"===u,b=a.queue(),y=b.length;for((c||l)&&r.push("opacity"),t.effects.save(a,r),a.show(),t.effects.createWrapper(a),d||(d=a["top"===v?"outerHeight":"outerWidth"]()/3),c&&(o={opacity:1},o[v]=0,a.css("opacity",0).css(v,_?2*-d:2*d).animate(o,g,m)),l&&(d/=Math.pow(2,p-1)),o={},o[v]=0,s=0;p>s;s++)n={},n[v]=(_?"-=":"+=")+d,a.animate(n,g,m).animate(o,g,m),d=l?2*d:d/2;l&&(n={opacity:0},n[v]=(_?"-=":"+=")+d,a.animate(n,g,m)),a.queue(function(){l&&a.hide(),t.effects.restore(a,r),t.effects.removeWrapper(a),i()}),y>1&&b.splice.apply(b,[1,0].concat(b.splice(y,f+1))),a.dequeue()}}(jQuery),function(t){t.effects.effect.clip=function(e,i){var s,n,o,a=t(this),r=["position","top","bottom","left","right","height","width"],h=t.effects.setMode(a,e.mode||"hide"),l="show"===h,c=e.direction||"vertical",u="vertical"===c,d=u?"height":"width",p=u?"top":"left",f={};t.effects.save(a,r),a.show(),s=t.effects.createWrapper(a).css({overflow:"hidden"}),n="IMG"===a[0].tagName?s:a,o=n[d](),l&&(n.css(d,0),n.css(p,o/2)),f[d]=l?o:0,f[p]=l?0:o/2,n.animate(f,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){l||a.hide(),t.effects.restore(a,r),t.effects.removeWrapper(a),i()}})}}(jQuery),function(t){t.effects.effect.drop=function(e,i){var s,n=t(this),o=["position","top","bottom","left","right","opacity","height","width"],a=t.effects.setMode(n,e.mode||"hide"),r="show"===a,h=e.direction||"left",l="up"===h||"down"===h?"top":"left",c="up"===h||"left"===h?"pos":"neg",u={opacity:r?1:0};t.effects.save(n,o),n.show(),t.effects.createWrapper(n),s=e.distance||n["top"===l?"outerHeight":"outerWidth"](!0)/2,r&&n.css("opacity",0).css(l,"pos"===c?-s:s),u[l]=(r?"pos"===c?"+=":"-=":"pos"===c?"-=":"+=")+s,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===a&&n.hide(),t.effects.restore(n,o),t.effects.removeWrapper(n),i()}})}}(jQuery),function(t){t.effects.effect.explode=function(e,i){function s(){b.push(this),b.length===u*d&&n()}function n(){p.css({visibility:"visible"}),t(b).remove(),g||p.hide(),i()}var o,a,r,h,l,c,u=e.pieces?Math.round(Math.sqrt(e.pieces)):3,d=u,p=t(this),f=t.effects.setMode(p,e.mode||"hide"),g="show"===f,m=p.show().css("visibility","hidden").offset(),v=Math.ceil(p.outerWidth()/d),_=Math.ceil(p.outerHeight()/u),b=[];for(o=0;u>o;o++)for(h=m.top+o*_,c=o-(u-1)/2,a=0;d>a;a++)r=m.left+a*v,l=a-(d-1)/2,p.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-a*v,top:-o*_}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:v,height:_,left:r+(g?l*v:0),top:h+(g?c*_:0),opacity:g?0:1}).animate({left:r+(g?0:l*v),top:h+(g?0:c*_),opacity:g?1:0},e.duration||500,e.easing,s)}}(jQuery),function(t){t.effects.effect.fade=function(e,i){var s=t(this),n=t.effects.setMode(s,e.mode||"toggle");s.animate({opacity:n},{queue:!1,duration:e.duration,easing:e.easing,complete:i})}}(jQuery),function(t){t.effects.effect.fold=function(e,i){var s,n,o=t(this),a=["position","top","bottom","left","right","height","width"],r=t.effects.setMode(o,e.mode||"hide"),h="show"===r,l="hide"===r,c=e.size||15,u=/([0-9]+)%/.exec(c),d=!!e.horizFirst,p=h!==d,f=p?["width","height"]:["height","width"],g=e.duration/2,m={},v={};t.effects.save(o,a),o.show(),s=t.effects.createWrapper(o).css({overflow:"hidden"}),n=p?[s.width(),s.height()]:[s.height(),s.width()],u&&(c=parseInt(u[1],10)/100*n[l?0:1]),h&&s.css(d?{height:0,width:c}:{height:c,width:0}),m[f[0]]=h?n[0]:c,v[f[1]]=h?n[1]:0,s.animate(m,g,e.easing).animate(v,g,e.easing,function(){l&&o.hide(),t.effects.restore(o,a),t.effects.removeWrapper(o),i()})}}(jQuery),function(t){t.effects.effect.highlight=function(e,i){var s=t(this),n=["backgroundImage","backgroundColor","opacity"],o=t.effects.setMode(s,e.mode||"show"),a={backgroundColor:s.css("backgroundColor")};"hide"===o&&(a.opacity=0),t.effects.save(s,n),s.show().css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(a,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===o&&s.hide(),t.effects.restore(s,n),i()}})}}(jQuery),function(t){t.effects.effect.pulsate=function(e,i){var s,n=t(this),o=t.effects.setMode(n,e.mode||"show"),a="show"===o,r="hide"===o,h=a||"hide"===o,l=2*(e.times||5)+(h?1:0),c=e.duration/l,u=0,d=n.queue(),p=d.length;for((a||!n.is(":visible"))&&(n.css("opacity",0).show(),u=1),s=1;l>s;s++)n.animate({opacity:u},c,e.easing),u=1-u;n.animate({opacity:u},c,e.easing),n.queue(function(){r&&n.hide(),i()}),p>1&&d.splice.apply(d,[1,0].concat(d.splice(p,l+1))),n.dequeue()}}(jQuery),function(t){t.effects.effect.puff=function(e,i){var s=t(this),n=t.effects.setMode(s,e.mode||"hide"),o="hide"===n,a=parseInt(e.percent,10)||150,r=a/100,h={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()};t.extend(e,{effect:"scale",queue:!1,fade:!0,mode:n,complete:i,percent:o?a:100,from:o?h:{height:h.height*r,width:h.width*r,outerHeight:h.outerHeight*r,outerWidth:h.outerWidth*r}}),s.effect(e)},t.effects.effect.scale=function(e,i){var s=t(this),n=t.extend(!0,{},e),o=t.effects.setMode(s,e.mode||"effect"),a=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"hide"===o?0:100),r=e.direction||"both",h=e.origin,l={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()},c={y:"horizontal"!==r?a/100:1,x:"vertical"!==r?a/100:1};n.effect="size",n.queue=!1,n.complete=i,"effect"!==o&&(n.origin=h||["middle","center"],n.restore=!0),n.from=e.from||("show"===o?{height:0,width:0,outerHeight:0,outerWidth:0}:l),n.to={height:l.height*c.y,width:l.width*c.x,outerHeight:l.outerHeight*c.y,outerWidth:l.outerWidth*c.x},n.fade&&("show"===o&&(n.from.opacity=0,n.to.opacity=1),"hide"===o&&(n.from.opacity=1,n.to.opacity=0)),s.effect(n)},t.effects.effect.size=function(e,i){var s,n,o,a=t(this),r=["position","top","bottom","left","right","width","height","overflow","opacity"],h=["position","top","bottom","left","right","overflow","opacity"],l=["width","height","overflow"],c=["fontSize"],u=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],d=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],p=t.effects.setMode(a,e.mode||"effect"),f=e.restore||"effect"!==p,g=e.scale||"both",m=e.origin||["middle","center"],v=a.css("position"),_=f?r:h,b={height:0,width:0,outerHeight:0,outerWidth:0};"show"===p&&a.show(),s={height:a.height(),width:a.width(),outerHeight:a.outerHeight(),outerWidth:a.outerWidth()},"toggle"===e.mode&&"show"===p?(a.from=e.to||b,a.to=e.from||s):(a.from=e.from||("show"===p?b:s),a.to=e.to||("hide"===p?b:s)),o={from:{y:a.from.height/s.height,x:a.from.width/s.width},to:{y:a.to.height/s.height,x:a.to.width/s.width}},("box"===g||"both"===g)&&(o.from.y!==o.to.y&&(_=_.concat(u),a.from=t.effects.setTransition(a,u,o.from.y,a.from),a.to=t.effects.setTransition(a,u,o.to.y,a.to)),o.from.x!==o.to.x&&(_=_.concat(d),a.from=t.effects.setTransition(a,d,o.from.x,a.from),a.to=t.effects.setTransition(a,d,o.to.x,a.to))),("content"===g||"both"===g)&&o.from.y!==o.to.y&&(_=_.concat(c).concat(l),a.from=t.effects.setTransition(a,c,o.from.y,a.from),a.to=t.effects.setTransition(a,c,o.to.y,a.to)),t.effects.save(a,_),a.show(),t.effects.createWrapper(a),a.css("overflow","hidden").css(a.from),m&&(n=t.effects.getBaseline(m,s),a.from.top=(s.outerHeight-a.outerHeight())*n.y,a.from.left=(s.outerWidth-a.outerWidth())*n.x,a.to.top=(s.outerHeight-a.to.outerHeight)*n.y,a.to.left=(s.outerWidth-a.to.outerWidth)*n.x),a.css(a.from),("content"===g||"both"===g)&&(u=u.concat(["marginTop","marginBottom"]).concat(c),d=d.concat(["marginLeft","marginRight"]),l=r.concat(u).concat(d),a.find("*[width]").each(function(){var i=t(this),s={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};f&&t.effects.save(i,l),i.from={height:s.height*o.from.y,width:s.width*o.from.x,outerHeight:s.outerHeight*o.from.y,outerWidth:s.outerWidth*o.from.x},i.to={height:s.height*o.to.y,width:s.width*o.to.x,outerHeight:s.height*o.to.y,outerWidth:s.width*o.to.x},o.from.y!==o.to.y&&(i.from=t.effects.setTransition(i,u,o.from.y,i.from),i.to=t.effects.setTransition(i,u,o.to.y,i.to)),o.from.x!==o.to.x&&(i.from=t.effects.setTransition(i,d,o.from.x,i.from),i.to=t.effects.setTransition(i,d,o.to.x,i.to)),i.css(i.from),i.animate(i.to,e.duration,e.easing,function(){f&&t.effects.restore(i,l)})})),a.animate(a.to,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){0===a.to.opacity&&a.css("opacity",a.from.opacity),"hide"===p&&a.hide(),t.effects.restore(a,_),f||("static"===v?a.css({position:"relative",top:a.to.top,left:a.to.left}):t.each(["top","left"],function(t,e){a.css(e,function(e,i){var s=parseInt(i,10),n=t?a.to.left:a.to.top;return"auto"===i?n+"px":s+n+"px"})})),t.effects.removeWrapper(a),i()}})}}(jQuery),function(t){t.effects.effect.shake=function(e,i){var s,n=t(this),o=["position","top","bottom","left","right","height","width"],a=t.effects.setMode(n,e.mode||"effect"),r=e.direction||"left",h=e.distance||20,l=e.times||3,c=2*l+1,u=Math.round(e.duration/c),d="up"===r||"down"===r?"top":"left",p="up"===r||"left"===r,f={},g={},m={},v=n.queue(),_=v.length;for(t.effects.save(n,o),n.show(),t.effects.createWrapper(n),f[d]=(p?"-=":"+=")+h,g[d]=(p?"+=":"-=")+2*h,m[d]=(p?"-=":"+=")+2*h,n.animate(f,u,e.easing),s=1;l>s;s++)n.animate(g,u,e.easing).animate(m,u,e.easing);n.animate(g,u,e.easing).animate(f,u/2,e.easing).queue(function(){"hide"===a&&n.hide(),t.effects.restore(n,o),t.effects.removeWrapper(n),i()}),_>1&&v.splice.apply(v,[1,0].concat(v.splice(_,c+1))),n.dequeue()}}(jQuery),function(t){t.effects.effect.slide=function(e,i){var s,n=t(this),o=["position","top","bottom","left","right","width","height"],a=t.effects.setMode(n,e.mode||"show"),r="show"===a,h=e.direction||"left",l="up"===h||"down"===h?"top":"left",c="up"===h||"left"===h,u={};t.effects.save(n,o),n.show(),s=e.distance||n["top"===l?"outerHeight":"outerWidth"](!0),t.effects.createWrapper(n).css({overflow:"hidden"}),r&&n.css(l,c?isNaN(s)?"-"+s:-s:s),u[l]=(r?c?"+=":"-=":c?"-=":"+=")+s,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===a&&n.hide(),t.effects.restore(n,o),t.effects.removeWrapper(n),i()}})}}(jQuery),function(t){t.effects.effect.transfer=function(e,i){var s=t(this),n=t(e.to),o="fixed"===n.css("position"),a=t("body"),r=o?a.scrollTop():0,h=o?a.scrollLeft():0,l=n.offset(),c={top:l.top-r,left:l.left-h,height:n.innerHeight(),width:n.innerWidth()},u=s.offset(),d=t("<div class='ui-effects-transfer'></div>").appendTo(document.body).addClass(e.className).css({top:u.top-r,left:u.left-h,height:s.innerHeight(),width:s.innerWidth(),position:o?"fixed":"absolute"}).animate(c,e.duration,e.easing,function(){d.remove(),i()})}}(jQuery),function(t){t.widget("ui.menu",{version:"1.10.3",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,t.proxy(function(t){this.options.disabled&&t.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(t){t.preventDefault()},"click .ui-state-disabled > a":function(t){t.preventDefault()},"click .ui-menu-item:has(a)":function(e){var i=t(e.target).closest(".ui-menu-item");!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.mouseHandled=!0,this.select(e),i.has(".ui-menu").length?this.expand(e):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){var i=t(e.currentTarget);i.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(e,i)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.children(".ui-menu-item").eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){t.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){t(e.target).closest(".ui-menu").length||this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var e=t(this);e.data("ui-menu-submenu-carat")&&e.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(e){function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var s,n,o,a,r,h=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:h=!1,n=this.previousFilter||"",o=String.fromCharCode(e.keyCode),a=!1,clearTimeout(this.filterTimer),o===n?a=!0:o=n+o,r=RegExp("^"+i(o),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())}),s=a&&-1!==s.index(this.active.next())?this.active.nextAll(".ui-menu-item"):s,s.length||(o=String.fromCharCode(e.keyCode),r=RegExp("^"+i(o),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())})),s.length?(this.focus(e,s),s.length>1?(this.previousFilter=o,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}h&&e.preventDefault()},_activate:function(t){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i=this.options.icons.submenu,s=this.element.find(this.options.menus);s.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),s=e.prev("a"),n=t("<span>").addClass("ui-menu-icon ui-icon "+i).data("ui-menu-submenu-carat",!0);s.attr("aria-haspopup","true").prepend(n),e.attr("aria-labelledby",s.attr("id"))}),e=s.add(this.element),e.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),e.children(":not(.ui-menu-item)").each(function(){var e=t(this);/[^\-\u2014\u2013\s]/.test(e.text())||e.addClass("ui-widget-content ui-menu-divider")}),e.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){"icons"===t&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(e.submenu),this._super(t,e)},focus:function(t,e){var i,s;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),s=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=e.children(".ui-menu"),i.length&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,s,n,o,a,r;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,n=e.offset().top-this.activeMenu.offset().top-i-s,o=this.activeMenu.scrollTop(),a=this.activeMenu.height(),r=e.height(),0>n?this.activeMenu.scrollTop(o+n):n+r>a&&this.activeMenu.scrollTop(o+n-a+r))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",t,{item:this.active}))},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(e),this.activeMenu=s},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var s;this.active&&(s="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.children(".ui-menu-item")[e]()),this.focus(i,s)},nextPage:function(e){var i,s,n;return this.active?(this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=t(this),0>i.offset().top-s-n}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())),undefined):(this.next(e),undefined)},previousPage:function(e){var i,s,n;return this.active?(this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=t(this),i.offset().top-s+n>0}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item").first())),undefined):(this.next(e),undefined)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||t(e.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,i)}})}(jQuery),function(t,e){function i(t,e,i){return[parseFloat(t[0])*(p.test(t[0])?e/100:1),parseFloat(t[1])*(p.test(t[1])?i/100:1)]}function s(e,i){return parseInt(t.css(e,i),10)||0}function n(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}t.ui=t.ui||{};var o,a=Math.max,r=Math.abs,h=Math.round,l=/left|center|right/,c=/top|center|bottom/,u=/[\+\-]\d+(\.[\d]+)?%?/,d=/^\w+/,p=/%$/,f=t.fn.position;t.position={scrollbarWidth:function(){if(o!==e)return o;var i,s,n=t("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),a=n.children()[0];return t("body").append(n),i=a.offsetWidth,n.css("overflow","scroll"),s=a.offsetWidth,i===s&&(s=n[0].clientWidth),n.remove(),o=i-s},getScrollInfo:function(e){var i=e.isWindow?"":e.element.css("overflow-x"),s=e.isWindow?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth,o="scroll"===s||"auto"===s&&e.height<e.element[0].scrollHeight;return{width:o?t.position.scrollbarWidth():0,height:n?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),s=t.isWindow(i[0]);return{element:i,isWindow:s,offset:i.offset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:s?i.width():i.outerWidth(),height:s?i.height():i.outerHeight()}}},t.fn.position=function(e){if(!e||!e.of)return f.apply(this,arguments);e=t.extend({},e);var o,p,g,m,v,_,b=t(e.of),y=t.position.getWithinInfo(e.within),w=t.position.getScrollInfo(y),k=(e.collision||"flip").split(" "),x={};return _=n(b),b[0].preventDefault&&(e.at="left top"),p=_.width,g=_.height,m=_.offset,v=t.extend({},m),t.each(["my","at"],function(){var t,i,s=(e[this]||"").split(" ");1===s.length&&(s=l.test(s[0])?s.concat(["center"]):c.test(s[0])?["center"].concat(s):["center","center"]),s[0]=l.test(s[0])?s[0]:"center",s[1]=c.test(s[1])?s[1]:"center",t=u.exec(s[0]),i=u.exec(s[1]),x[this]=[t?t[0]:0,i?i[0]:0],e[this]=[d.exec(s[0])[0],d.exec(s[1])[0]]}),1===k.length&&(k[1]=k[0]),"right"===e.at[0]?v.left+=p:"center"===e.at[0]&&(v.left+=p/2),"bottom"===e.at[1]?v.top+=g:"center"===e.at[1]&&(v.top+=g/2),o=i(x.at,p,g),v.left+=o[0],v.top+=o[1],this.each(function(){var n,l,c=t(this),u=c.outerWidth(),d=c.outerHeight(),f=s(this,"marginLeft"),_=s(this,"marginTop"),D=u+f+s(this,"marginRight")+w.width,C=d+_+s(this,"marginBottom")+w.height,I=t.extend({},v),P=i(x.my,c.outerWidth(),c.outerHeight());"right"===e.my[0]?I.left-=u:"center"===e.my[0]&&(I.left-=u/2),"bottom"===e.my[1]?I.top-=d:"center"===e.my[1]&&(I.top-=d/2),I.left+=P[0],I.top+=P[1],t.support.offsetFractions||(I.left=h(I.left),I.top=h(I.top)),n={marginLeft:f,marginTop:_},t.each(["left","top"],function(i,s){t.ui.position[k[i]]&&t.ui.position[k[i]][s](I,{targetWidth:p,targetHeight:g,elemWidth:u,elemHeight:d,collisionPosition:n,collisionWidth:D,collisionHeight:C,offset:[o[0]+P[0],o[1]+P[1]],my:e.my,at:e.at,within:y,elem:c})}),e.using&&(l=function(t){var i=m.left-I.left,s=i+p-u,n=m.top-I.top,o=n+g-d,h={target:{element:b,left:m.left,top:m.top,width:p,height:g},element:{element:c,left:I.left,top:I.top,width:u,height:d},horizontal:0>s?"left":i>0?"right":"center",vertical:0>o?"top":n>0?"bottom":"middle"};u>p&&p>r(i+s)&&(h.horizontal="center"),d>g&&g>r(n+o)&&(h.vertical="middle"),h.important=a(r(i),r(s))>a(r(n),r(o))?"horizontal":"vertical",e.using.call(this,t,h)}),c.offset(t.extend(I,{using:l}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,o=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-o-n;e.collisionWidth>o?h>0&&0>=l?(i=t.left+h+e.collisionWidth-o-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+o-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=a(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,o=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-o-n;e.collisionHeight>o?h>0&&0>=l?(i=t.top+h+e.collisionHeight-o-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+o-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=a(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,a=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-a-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-a-o,(0>i||r(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>r(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,a=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-a-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];0>c?(s=t.top+p+f+g+e.collisionHeight-a-o,t.top+p+f+g>c&&(0>s||r(c)>s)&&(t.top+=p+f+g)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+g-h,t.top+p+f+g>u&&(i>0||u>r(i))&&(t.top+=p+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}},function(){var e,i,s,n,o,a=document.getElementsByTagName("body")[0],r=document.createElement("div");e=document.createElement(a?"div":"body"),s={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},a&&t.extend(s,{position:"absolute",left:"-1000px",top:"-1000px"});for(o in s)e.style[o]=s[o];e.appendChild(r),i=a||document.documentElement,i.insertBefore(e,i.firstChild),r.style.cssText="position: absolute; left: 10.7432222px;",n=t(r).offset().left,t.support.offsetFractions=n>10&&11>n,e.innerHTML="",i.removeChild(e)}()}(jQuery),function(t,e){t.widget("ui.progressbar",{version:"1.10.3",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min}),this.valueDiv=t("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()
+},value:function(t){return t===e?this.options.value:(this.options.value=this._constrainedValue(t),this._refreshValue(),e)},_constrainedValue:function(t){return t===e&&(t=this.options.value),this.indeterminate=t===!1,"number"!=typeof t&&(t=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(i.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=t("<div class='ui-progressbar-overlay'></div>").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}})}(jQuery),function(t){var e=5;t.widget("ui.slider",t.ui.mouse,{version:"1.10.3",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget"+" ui-widget-content"+" ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,s=this.options,n=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),o="<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>",a=[];for(i=s.values&&s.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),e=n.length;i>e;e++)a.push(o);this.handles=n.add(t(a.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e)})},_createRange:function(){var e=this.options,i="";e.range?(e.range===!0&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=t("<div></div>").appendTo(this.element),i="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(i+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:""))):this.range=t([])},_setupEvents:function(){var t=this.handles.add(this.range).filter("a");this._off(t),this._on(t,this._handleEvents),this._hoverable(t),this._focusable(t)},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var i,s,n,o,a,r,h,l,c=this,u=this.options;return u.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},s=this._normValueFromMouse(i),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(s-c.values(e));(n>i||n===i&&(e===c._lastChangedValue||c.values(e)===u.min))&&(n=i,o=t(this),a=e)}),r=this._start(e,a),r===!1?!1:(this._mouseSliding=!0,this._handleIndex=a,o.addClass("ui-state-active").focus(),h=o.offset(),l=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-h.left-o.width()/2,top:e.pageY-h.top-o.height()/2-(parseInt(o.css("borderTopWidth"),10)||0)-(parseInt(o.css("borderBottomWidth"),10)||0)+(parseInt(o.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,a,s),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,s,n,o;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),s=i/e,s>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),n=this._valueMax()-this._valueMin(),o=this._valueMin()+s*n,this._trimAlignValue(o)},_start:function(t,e){var i={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("start",t,i)},_slide:function(t,e,i){var s,n,o;this.options.values&&this.options.values.length?(s=this.values(e?0:1),2===this.options.values.length&&this.options.range===!0&&(0===e&&i>s||1===e&&s>i)&&(i=s),i!==this.values(e)&&(n=this.values(),n[e]=i,o=this._trigger("slide",t,{handle:this.handles[e],value:i,values:n}),s=this.values(e?0:1),o!==!1&&this.values(e,i,!0))):i!==this.value()&&(o=this._trigger("slide",t,{handle:this.handles[e],value:i}),o!==!1&&this.value(i))},_stop:function(t,e){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("stop",t,i)},_change:function(t,e){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._lastChangedValue=e,this._trigger("change",t,i)}},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0),undefined):this._value()},values:function(e,i){var s,n,o;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),this._change(null,e),undefined;if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(e):this.value();for(s=this.options.values,n=arguments[0],o=0;s.length>o;o+=1)s[o]=this._trimAlignValue(n[o]),this._change(null,o);this._refreshValue()},_setOption:function(e,i){var s,n=0;switch("range"===e&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(n=this.options.values.length),t.Widget.prototype._setOption.apply(this,arguments),e){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),s=0;n>s;s+=1)this._change(null,s);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,s;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(i[s]);return i}return[]},_trimAlignValue:function(t){if(this._valueMin()>=t)return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,s=t-i;return 2*Math.abs(i)>=e&&(s+=i>0?e:-e),parseFloat(s.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,i,s,n,o,a=this.options.range,r=this.options,h=this,l=this._animateOff?!1:r.animate,c={};this.options.values&&this.options.values.length?this.handles.each(function(s){i=100*((h.values(s)-h._valueMin())/(h._valueMax()-h._valueMin())),c["horizontal"===h.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[l?"animate":"css"](c,r.animate),h.options.range===!0&&("horizontal"===h.orientation?(0===s&&h.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:r.animate})):(0===s&&h.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:r.animate}))),e=i}):(s=this.value(),n=this._valueMin(),o=this._valueMax(),i=o!==n?100*((s-n)/(o-n)):0,c["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](c,r.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"max"===a&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:r.animate}),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"max"===a&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:r.animate}))},_handleEvents:{keydown:function(i){var s,n,o,a,r=t(i.target).data("ui-slider-handle-index");switch(i.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i.preventDefault(),!this._keySliding&&(this._keySliding=!0,t(i.target).addClass("ui-state-active"),s=this._start(i,r),s===!1))return}switch(a=this.options.step,n=o=this.options.values&&this.options.values.length?this.values(r):this.value(),i.keyCode){case t.ui.keyCode.HOME:o=this._valueMin();break;case t.ui.keyCode.END:o=this._valueMax();break;case t.ui.keyCode.PAGE_UP:o=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.PAGE_DOWN:o=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(n===this._valueMax())return;o=this._trimAlignValue(n+a);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(n===this._valueMin())return;o=this._trimAlignValue(n-a)}this._slide(i,r,o)},click:function(t){t.preventDefault()},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),t(e.target).removeClass("ui-state-active"))}}})}(jQuery),function(t){function e(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}t.widget("ui.spinner",{version:"1.10.3",defaultElement:"<input>",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e={},i=this.element;return t.each(["min","max","step"],function(t,s){var n=i.attr(s);void 0!==n&&n.length&&(e[s]=n)}),e},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,void 0):(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t),void 0)},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((e>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(e){function i(){var t=this.element[0]===this.document[0].activeElement;t||(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s}))}var s;s=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),e.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),this._start(e)!==!1&&this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){return t(e.currentTarget).hasClass("ui-state-active")?this._start(e)===!1?!1:(this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e),void 0):void 0},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var t=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=t.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(.5*t.height())&&t.height()>0&&t.height(t.height()),this.options.disabled&&this.disable()},_keydown:function(e){var i=this.options,s=t.ui.keyCode;switch(e.keyCode){case s.UP:return this._repeat(null,1,e),!0;case s.DOWN:return this._repeat(null,-1,e),!0;case s.PAGE_UP:return this._repeat(null,i.page,e),!0;case s.PAGE_DOWN:return this._repeat(null,-i.page,e),!0}return!1},_uiSpinnerHtml:function(){return"<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>"},_buttonHtml:function(){return"<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon "+this.options.icons.up+"'>&#9650;</span>"+"</a>"+"<a class='ui-spinner-button ui-spinner-down ui-corner-br'>"+"<span class='ui-icon "+this.options.icons.down+"'>&#9660;</span>"+"</a>"},_start:function(t){return this.spinning||this._trigger("start",t)!==!1?(this.counter||(this.counter=1),this.spinning=!0,!0):!1},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&this._trigger("spin",e,{value:i})===!1||(this._value(i),this.counter++)},_increment:function(e){var i=this.options.incremental;return i?t.isFunction(i)?i(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=""+t,i=e.indexOf(".");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,s=this.options;return e=null!==s.min?s.min:0,i=t-e,i=Math.round(i/s.step)*s.step,t=e+i,t=parseFloat(t.toFixed(this._precision())),null!==s.max&&t>s.max?s.max:null!==s.min&&s.min>t?s.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){if("culture"===t||"numberFormat"===t){var i=this._parse(this.element.val());return this.options[t]=e,this.element.val(this._format(i)),void 0}("max"===t||"min"===t||"step"===t)&&"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(e.up),this.buttons.last().find(".ui-icon").removeClass(this.options.icons.down).addClass(e.down)),this._super(t,e),"disabled"===t&&(e?(this.element.prop("disabled",!0),this.buttons.button("disable")):(this.element.prop("disabled",!1),this.buttons.button("enable")))},_setOptions:e(function(t){this._super(t),this._value(this.element.val())}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},_value:function(t,e){var i;""!==t&&(i=this._parse(t),null!==i&&(e||(i=this._adjustValue(i)),t=this._format(i))),this.element.val(t),this._refresh()},_destroy:function(){this.element.removeClass("ui-spinner-input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:e(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:e(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:e(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:e(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){return arguments.length?(e(this._value).call(this,t),void 0):this._parse(this.element.val())},widget:function(){return this.uiSpinner}})}(jQuery),function(t,e){function i(){return++n}function s(t){return t.hash.length>1&&decodeURIComponent(t.href.replace(o,""))===decodeURIComponent(location.href.replace(o,""))}var n=0,o=/#.*$/;t.widget("ui.tabs",{version:"1.10.3",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var e=this,i=this.options;this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",i.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(e){t(this).is(".ui-state-disabled")&&e.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs(),i.active=this._initialActive(),t.isArray(i.disabled)&&(i.disabled=t.unique(i.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),this.active=this.options.active!==!1&&this.anchors.length?this._findActive(i.active):t(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var i=this.options.active,s=this.options.collapsible,n=location.hash.substring(1);return null===i&&(n&&this.tabs.each(function(s,o){return t(o).attr("aria-controls")===n?(i=s,!1):e}),null===i&&(i=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(null===i||-1===i)&&(i=this.tabs.length?0:!1)),i!==!1&&(i=this.tabs.index(this.tabs.eq(i)),-1===i&&(i=s?!1:0)),!s&&i===!1&&this.anchors.length&&(i=0),i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(i){var s=t(this.document[0].activeElement).closest("li"),n=this.tabs.index(s),o=!0;if(!this._handlePageNav(i)){switch(i.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:n++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:o=!1,n--;break;case t.ui.keyCode.END:n=this.anchors.length-1;break;case t.ui.keyCode.HOME:n=0;break;case t.ui.keyCode.SPACE:return i.preventDefault(),clearTimeout(this.activating),this._activate(n),e;case t.ui.keyCode.ENTER:return i.preventDefault(),clearTimeout(this.activating),this._activate(n===this.options.active?!1:n),e;default:return}i.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,o),i.ctrlKey||(s.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.focus())},_handlePageNav:function(i){return i.altKey&&i.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):i.altKey&&i.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):e},_findNextTab:function(e,i){function s(){return e>n&&(e=0),0>e&&(e=n),e}for(var n=this.tabs.length-1;-1!==t.inArray(s(),this.options.disabled);)e=i?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).focus(),t},_setOption:function(t,i){return"active"===t?(this._activate(i),e):"disabled"===t?(this._setupDisabled(i),e):(this._super(t,i),"collapsible"===t&&(this.element.toggleClass("ui-tabs-collapsible",i),i||this.options.active!==!1||this._activate(0)),"event"===t&&this._setupEvents(i),"heightStyle"===t&&this._setupHeightStyle(i),e)},_tabId:function(t){return t.attr("aria-controls")||"ui-tabs-"+i()},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,i=this.tablist.children(":has(a[href])");e.disabled=t.map(i.filter(".ui-state-disabled"),function(t){return i.index(t)}),this._processTabs(),e.active!==!1&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=t(),this.anchors.each(function(i,n){var o,a,r,h=t(n).uniqueId().attr("id"),l=t(n).closest("li"),c=l.attr("aria-controls");s(n)?(o=n.hash,a=e.element.find(e._sanitizeSelector(o))):(r=e._tabId(l),o="#"+r,a=e.element.find(o),a.length||(a=e._createPanel(r),a.insertAfter(e.panels[i-1]||e.tablist)),a.attr("aria-live","polite")),a.length&&(e.panels=e.panels.add(a)),c&&l.data("ui-tabs-aria-controls",c),l.attr({"aria-controls":o.substring(1),"aria-labelledby":h}),a.attr("aria-labelledby",h)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(e){return t("<div>").attr("id",e).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(e){t.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1);for(var i,s=0;i=this.tabs[s];s++)e===!0||-1!==t.inArray(s,e)?t(i).addClass("ui-state-disabled").attr("aria-disabled","true"):t(i).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=e},_setupEvents:function(e){var i={click:function(t){t.preventDefault()}};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,s=this.element.parent();"fill"===e?(i=s.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,t(this).height("").height())}).height(i))},_eventHandler:function(e){var i=this.options,s=this.active,n=t(e.currentTarget),o=n.closest("li"),a=o[0]===s[0],r=a&&i.collapsible,h=r?t():this._getPanelForTab(o),l=s.length?this._getPanelForTab(s):t(),c={oldTab:s,oldPanel:l,newTab:r?t():o,newPanel:h};e.preventDefault(),o.hasClass("ui-state-disabled")||o.hasClass("ui-tabs-loading")||this.running||a&&!i.collapsible||this._trigger("beforeActivate",e,c)===!1||(i.active=r?!1:this.tabs.index(o),this.active=a?t():o,this.xhr&&this.xhr.abort(),l.length||h.length||t.error("jQuery UI Tabs: Mismatching fragment identifier."),h.length&&this.load(this.tabs.index(o),e),this._toggle(e,c))},_toggle:function(e,i){function s(){o.running=!1,o._trigger("activate",e,i)}function n(){i.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),a.length&&o.options.show?o._show(a,o.options.show,s):(a.show(),s())}var o=this,a=i.newPanel,r=i.oldPanel;this.running=!0,r.length&&this.options.hide?this._hide(r,this.options.hide,function(){i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),n()}):(i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),r.hide(),n()),r.attr({"aria-expanded":"false","aria-hidden":"true"}),i.oldTab.attr("aria-selected","false"),a.length&&r.length?i.oldTab.attr("tabIndex",-1):a.length&&this.tabs.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),a.attr({"aria-expanded":"true","aria-hidden":"false"}),i.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(e){var i,s=this._findActive(e);s[0]!==this.active[0]&&(s.length||(s=this.active),i=s.find(".ui-tabs-anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return e===!1?t():this.tabs.eq(e)},_getIndex:function(t){return"string"==typeof t&&(t=this.anchors.index(this.anchors.filter("[href$='"+t+"']"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var e=t(this),i=e.data("ui-tabs-aria-controls");i?e.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var s=this.options.disabled;s!==!1&&(i===e?s=!1:(i=this._getIndex(i),s=t.isArray(s)?t.map(s,function(t){return t!==i?t:null}):t.map(this.tabs,function(t,e){return e!==i?e:null})),this._setupDisabled(s))},disable:function(i){var s=this.options.disabled;if(s!==!0){if(i===e)s=!0;else{if(i=this._getIndex(i),-1!==t.inArray(i,s))return;s=t.isArray(s)?t.merge([i],s).sort():[i]}this._setupDisabled(s)}},load:function(e,i){e=this._getIndex(e);var n=this,o=this.tabs.eq(e),a=o.find(".ui-tabs-anchor"),r=this._getPanelForTab(o),h={tab:o,panel:r};s(a[0])||(this.xhr=t.ajax(this._ajaxSettings(a,i,h)),this.xhr&&"canceled"!==this.xhr.statusText&&(o.addClass("ui-tabs-loading"),r.attr("aria-busy","true"),this.xhr.success(function(t){setTimeout(function(){r.html(t),n._trigger("load",i,h)},1)}).complete(function(t,e){setTimeout(function(){"abort"===e&&n.panels.stop(!1,!0),o.removeClass("ui-tabs-loading"),r.removeAttr("aria-busy"),t===n.xhr&&delete n.xhr},1)})))},_ajaxSettings:function(e,i,s){var n=this;return{url:e.attr("href"),beforeSend:function(e,o){return n._trigger("beforeLoad",i,t.extend({jqXHR:e,ajaxSettings:o},s))}}},_getPanelForTab:function(e){var i=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}})}(jQuery),function(t){function e(e,i){var s=(e.attr("aria-describedby")||"").split(/\s+/);s.push(i),e.data("ui-tooltip-id",i).attr("aria-describedby",t.trim(s.join(" ")))}function i(e){var i=e.data("ui-tooltip-id"),s=(e.attr("aria-describedby")||"").split(/\s+/),n=t.inArray(i,s);-1!==n&&s.splice(n,1),e.removeData("ui-tooltip-id"),s=t.trim(s.join(" ")),s?e.attr("aria-describedby",s):e.removeAttr("aria-describedby")}var s=0;t.widget("ui.tooltip",{version:"1.10.3",options:{content:function(){var e=t(this).attr("title")||"";return t("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable()},_setOption:function(e,i){var s=this;return"disabled"===e?(this[i?"_disable":"_enable"](),this.options[e]=i,void 0):(this._super(e,i),"content"===e&&t.each(this.tooltips,function(t,e){s._updateContent(e)}),void 0)},_disable:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s[0],e.close(n,!0)}),this.element.find(this.options.items).addBack().each(function(){var e=t(this);e.is("[title]")&&e.data("ui-tooltip-title",e.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))})},open:function(e){var i=this,s=t(e?e.target:this.element).closest(this.options.items);s.length&&!s.data("ui-tooltip-id")&&(s.attr("title")&&s.data("ui-tooltip-title",s.attr("title")),s.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&s.parents().each(function(){var e,s=t(this);s.data("ui-tooltip-open")&&(e=t.Event("blur"),e.target=e.currentTarget=this,i.close(e,!0)),s.attr("title")&&(s.uniqueId(),i.parents[this.id]={element:this,title:s.attr("title")},s.attr("title",""))}),this._updateContent(s,e))},_updateContent:function(t,e){var i,s=this.options.content,n=this,o=e?e.type:null;return"string"==typeof s?this._open(e,t,s):(i=s.call(t[0],function(i){t.data("ui-tooltip-open")&&n._delay(function(){e&&(e.type=o),this._open(e,t,i)})}),i&&this._open(e,t,i),void 0)},_open:function(i,s,n){function o(t){l.of=t,a.is(":hidden")||a.position(l)}var a,r,h,l=t.extend({},this.options.position);
+if(n){if(a=this._find(s),a.length)return a.find(".ui-tooltip-content").html(n),void 0;s.is("[title]")&&(i&&"mouseover"===i.type?s.attr("title",""):s.removeAttr("title")),a=this._tooltip(s),e(s,a.attr("id")),a.find(".ui-tooltip-content").html(n),this.options.track&&i&&/^mouse/.test(i.type)?(this._on(this.document,{mousemove:o}),o(i)):a.position(t.extend({of:s},this.options.position)),a.hide(),this._show(a,this.options.show),this.options.show&&this.options.show.delay&&(h=this.delayedShow=setInterval(function(){a.is(":visible")&&(o(l.of),clearInterval(h))},t.fx.interval)),this._trigger("open",i,{tooltip:a}),r={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var i=t.Event(e);i.currentTarget=s[0],this.close(i,!0)}},remove:function(){this._removeTooltip(a)}},i&&"mouseover"!==i.type||(r.mouseleave="close"),i&&"focusin"!==i.type||(r.focusout="close"),this._on(!0,s,r)}},close:function(e){var s=this,n=t(e?e.currentTarget:this.element),o=this._find(n);this.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&n.attr("title",n.data("ui-tooltip-title")),i(n),o.stop(!0),this._hide(o,this.options.hide,function(){s._removeTooltip(t(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&t.each(this.parents,function(e,i){t(i.element).attr("title",i.title),delete s.parents[e]}),this.closing=!0,this._trigger("close",e,{tooltip:o}),this.closing=!1)},_tooltip:function(e){var i="ui-tooltip-"+s++,n=t("<div>").attr({id:i,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return t("<div>").addClass("ui-tooltip-content").appendTo(n),n.appendTo(this.document[0].body),this.tooltips[i]=e,n},_find:function(e){var i=e.data("ui-tooltip-id");return i?t("#"+i):t()},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_destroy:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s[0],e.close(n,!0),t("#"+i).remove(),s.data("ui-tooltip-title")&&(s.attr("title",s.data("ui-tooltip-title")),s.removeData("ui-tooltip-title"))})}})}(jQuery); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/changelog.txt b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/changelog.txt
new file mode 100644
index 00000000..cf9c8772
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/changelog.txt
@@ -0,0 +1,81 @@
+
+ MaYoR változat - released 2012-11-04
+ ki_config/ki_setup: szövegek magyar fordítása
+
+ ---------
+ KoschtIT Image Gallery v3.1b released on 10/05/2012
+ by Konstantin Tabere
+
+ Changelog
+ ---------
+
+ Fixed: Problem with manual display order of picture gets lost ( /thread-422.html )
+
+//---------------------------------------------------------------------------------------
+
+ Old Releases:
+
+ v3.1
+ - Added: Drag'n'drop in the admin panel for changing position of images in gallery
+ - Added: Deleting images animation
+ - Added: Tooltips in admin panel
+ - Added: Link to documentation in admin panel
+ - Added: New parameter $show_explorer for enabling/disabling gallery explorer
+ - Added: "Manage folder"-section in admin panel for easy managing of gallery folders
+ - Added: "Label Images" in admin menu with tooltips for new users
+ - Added: Email notifications if somebody comments on an image ($admin_mail)
+ - Added: Many new parameters ($show_explorer, $th_shadow, $vcomm..., $admin_mail...)
+ - Added: Language support for flipped images ($vcomm - params)
+ - Added: Viewer comments moderation ($moderate_posts - parameter)
+ - Added: New animation when a new user comment is made
+ - Added: User account (?user=user) with image uploading rights
+ - Changed: Redesigned viewer comments section
+ - Changed: Admin password is saved and transmitted only in md5-format now
+ - Changed: Preview pictures stay hidden if there is not enough browser window width (4:3 format)
+ - Changed: Admin menu slides out in "Settings" and "Manage folders" for not blocking the content behind it
+ - Fixed: Some smaller bugs
+ - Removed: AddThis Social Bookmarks
+
+ v3.0
+ - Added: "Deleting Images" in admin panel
+ - Added: Some nicer image borders and shadows
+ - Added: AddThis social bookmarking service for sharing
+ - Added: Default values for missing parameters
+ - Added: Changable maximum image size on image upload
+ - Added: Addable watermarks on image upload
+ - Changed: Navigation icons below thumbnails don't consume space if hidden
+ - Changed: Looks of admin pages
+ - Changed: New default design
+ - Changed: Navigation icons
+ - Fixed: Split()-function deprecated warnings since PHP5.3
+ - Fixed: Some smaller bugs ...
+
+ Last v2.X update:
+
+ v2.6
+ - Added: Some more CSS Shadows
+ - Added: Caching of folder scan results: much faster folder scans possible
+ - Added: Enable/Disable - settings in the admin-panel
+ - Added: Admin can delete viewer comments
+ - Added: Picture uploading through admin-panel
+ - Added: New parameter ($image_nav_always) in "ki_setup.php"
+ - Changed: No-JavaScript gallery reworked: looks and feels almost like JS-enabled gallery now
+ - Changed: Position of "Close"-button when $nav_style = 2
+ - Fixed: Navigation icons for displayed images sometimes not centered
+ - Fixed: Navigation icons sometimes in vertical order instead of horicontal
+ - Fixed: Images didn't show up cause of corrupted meta-information (fix in ki_makepic.php)
+ - Fixed: Loading animation stops
+ - Fixed: "ERROR: ... needs too much memory" on some server configurations ( /forum/thread-120.html )
+ - Fixed: Thumbs getting blurred on mouseover
+ - Fixed: Some smaller bugs ...
+ - Removed: Icon for "back to Website" (not needed anymore)
+
+ Last v1.X update:
+
+ v1.82
+ - Fixed: Comment was visible while closing slideshow
+ - Fixed: Problems with different charsets e.g. "default_charset=iso-8859-1"
+ - Fixed: Galleries don't expand page on startup anymore
+ - Fixed: Some security issues
+ - Added: HTML viewing mode when JavaScript disabled
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/custom b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/custom
new file mode 100644
index 00000000..860c9b2e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/custom
@@ -0,0 +1 @@
+kos-epulet_iskolahomlokzat1.jpg=0.14388489208633093|kos-epulet_iskolahomlokzat1-k.jpg=0.2805755395683453 \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_arrow.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_arrow.php
new file mode 100644
index 00000000..7f410652
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_arrow.php
@@ -0,0 +1,101 @@
+<?php
+if(!isset($_GET['ot']))
+ exit();
+else
+ $ot = $_GET['ot'];
+
+
+function imageBoldLine($resource, $x1, $y1, $x2, $y2, $Color, $BoldNess=2)
+{
+ $center = round($BoldNess/2);
+ for($i=0;$i<$BoldNess;$i++)
+ {
+ $a = $center-$i; if($a<0){$a -= $a;}
+ for($j=0;$j<$BoldNess;$j++)
+ {
+ $b = $center-$j; if($b<0){$b -= $b;}
+ $c = sqrt($a*$a + $b*$b);
+ if($c<=$BoldNess)
+ {
+ imageline($resource, $x1 +$i, $y1+$j, $x2 +$i, $y2+$j, $Color);
+ }
+ }
+ }
+}
+
+
+
+
+
+include_once("../ki_config/ki_setup.php");
+
+if($ot == 0){
+ $polygon = array(25,25, 5,15, 25,5);
+ $polygon2 = array(26,25, 5,15, 26,5);
+}elseif($ot == 1){
+ $polygon = array(25,25, 15,5, 5,25);
+ $polygon2 = array(25,26, 15,5, 5,26);
+}elseif($ot == 2){
+ $polygon = array(5,25, 25,15, 5,5);
+ $polygon2 = array(4,25, 25,15, 4,5);
+}else{
+ $polygon = array(25,5, 15,25, 5,5);
+ $polygon2 = array(25,4, 15,25, 5,4);
+}
+
+
+header("Content-type: image/png"); //Picture Format
+header("Expires: Mon, 01 Jul 2003 00:00:00 GMT"); // Past date
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Consitnuously modified
+header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
+header("Pragma: no-cache"); // NO CACHE
+
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [7-9]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+if($browser === "ie6"){
+ $bild = imagecreatetruecolor(30, 30);
+} else {
+ $bild = imagecreate(30, 30);
+}
+
+imagealphablending($bild, false);
+imagesavealpha($bild, true);
+
+if(function_exists('imageantialias')){
+ imageantialias($bild, true);
+}
+
+$transparent = imagecolorallocatealpha($bild, 0, 0, 0, 127);
+imagefilledrectangle($bild, 0, 0, 30, 30, $transparent);
+imagecolortransparent($bild, $transparent);
+
+$r = hexdec(substr($bord_color, 1, 2));
+$g = hexdec(substr($bord_color, 3, 2));
+$b = hexdec(substr($bord_color, 5, 2));
+$farbe = imagecolorallocatealpha($bild, $r, $g, $b, 0);
+imagefilledpolygon($bild, $polygon2, 3, $farbe);
+
+$r = hexdec(substr($nav_border_color, 1, 2));
+$g = hexdec(substr($nav_border_color, 3, 2));
+$b = hexdec(substr($nav_border_color, 5, 2));
+$farbe = imagecolorallocatealpha($bild, $r, $g, $b, 255);
+
+for($i = 0; $i < 3; $i+=2){
+ imageBoldLine($bild, $polygon[$i], $polygon[$i+1], $polygon[$i+2], $polygon[$i+3], $farbe, 2);
+}
+
+imagepng($bild);
+imagedestroy($bild);
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_back.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_back.png
new file mode 100644
index 00000000..26bbb975
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_back.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_cellid.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_cellid.php
new file mode 100644
index 00000000..2911d76f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_cellid.php
@@ -0,0 +1,62 @@
+<?php
+if(isset($_POST['file']))
+ $file = rawurldecode($_POST['file']);
+else
+ exit;
+
+if(isset($_POST['gallery']))
+ $gallery = $_POST['gallery'];
+else
+ exit;
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $file))exit();
+if(preg_match("/[\.]*\//", $gallery))exit();
+if(!is_file("../ki_galleries/".$gallery."/".$file))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+// ---------------------------------------------- Try to find Position -------------------------------------------
+$latitude = 0;
+$longitude = 0;
+
+if(function_exists("curl_init")){
+ ob_start();
+ readfile("../ki_galleries/".$gallery."/".$file);
+ $source = ob_get_contents();
+ ob_end_clean();
+ $xmpdata_start = strpos($source, "<x:xmpmeta");
+ $xmpdata_end = strpos($source, "</x:xmpmeta>");
+ $xmplength = $xmpdata_end - $xmpdata_start;
+ $xmpdata = substr($source, $xmpdata_start, $xmplength + 12);
+ if(preg_match("/<cell:mcc>(.+)<\/cell:mcc>/", $xmpdata, $temp)){ // country code
+ $mcc = $temp[1];
+ if(preg_match("/<cell:mnc>(.+)<\/cell:mnc>/", $xmpdata, $temp)){ // network code
+ $mnc = $temp[1];
+ if(preg_match("/<cell:cellid>(.+)<\/cell:cellid>/", $xmpdata, $temp)){
+ $cellid = $temp[1];
+ $myapikey = "b07aa008a74d3d0dc81d77dac2c8aaeb"; // opencellid api key
+ $lac = ""; // location area code
+ if(preg_match("/<cell:lac>(.+)<\/cell:lac>/", $xmpdata, $temp)){
+ $lac = $temp[1];
+ }
+ $ch = curl_init();
+ curl_setopt($ch, CURLOPT_URL, "http://www.opencellid.org/cell/get?key=".$myapikey."&mcc=".$mcc."&mnc=".$mnc."&cellid=".$cellid."&lac=".$lac."&fmt=txt");
+ curl_setopt($ch, CURLOPT_HEADER, 0);
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
+ $response = curl_exec($ch);
+ curl_close($ch);
+ $temp = explode(",", $response);
+ if(count($temp) > 1){
+ if($temp[0] != "0.0" && $temp[1] != "0.0"){
+ $latitude = $temp[0];
+ $longitude = $temp[1];
+ }
+ }
+ }
+ }
+ }
+}
+
+echo $latitude.",".$longitude;
+//----------------------------------------- thats what I found --------------------------
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_checkpw.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_checkpw.php
new file mode 100644
index 00000000..ca945fc1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_checkpw.php
@@ -0,0 +1,169 @@
+<?php
+header("Content-Type: application/x-javascript");
+
+
+//----------------------------------------------------------------------------- functions --------------------------------------------------------------------------------
+
+function draw_image($filename, $id, $style, $params) {
+ global $browser, $basedir;
+ $idstring = "";
+ if($id != "")$idstring = "id='".$id."' ";
+ if($browser == "ie6") {
+ $imgsize = getimagesize($filename);
+ echo "<img ".$idstring."style='filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=".$basedir.$filename."); width:".$imgsize[0]."px; height:".$imgsize[1]."px; ".$style."' src='".$basedir."ki_noimage.gif' ".$params." />";
+ } else {
+ if($style != "")$style = " style='".$style."' ";
+ echo "<img ".$idstring."src='".$basedir.$filename."'".$style.$params." />";
+ }
+}
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [9]/",$browser))
+ $browser = "ie9";
+elseif(preg_match("/MSIE [7-8]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+if($browser === "ie6")
+ $posfix = "absolute";
+else
+ $posfix = "fixed";
+
+include_once("../ki_config/ki_setup.php");
+
+if(isset($_POST['query']))
+ $query = $_POST['query'];
+else
+ exit;
+
+if(isset($_POST['reldir']))
+ $reldir = $_POST['reldir'];
+else
+ $reldir = "";
+
+$confdir = $reldir."ki_config/";
+$galleriesdir = $reldir."ki_galleries/";
+$basedir = $reldir."ki_base/";
+
+if(isset($_POST['against']))
+ $against = $_POST['against'];
+else
+ exit;
+
+if($against === "adm"){
+ if(md5($query) === $pw){
+ session_start();
+ $_SESSION["pwquery"] = $pw;
+ ?>
+ var params = location.search.substr(1).split('&');
+ var newparams = "";
+ for(var i = 0; i < params.length; i++){
+ var param = params[i].split('=');
+ if(param[0] != 'admin'){
+ if(newparams.length == 0)
+ newparams += "?";
+ else
+ newparams += "&";
+ newparams += params[i];
+ }
+ }
+ kib.checkpw = null;
+ var slash = "";
+ if(location.pathname.substr(0, 1) != "/")slash = "/";
+ $('authorization').innerHTML = "<a href='javascript:kib.edit_ki_setup();' style='color:#ffffff; display:block; margin:5px;'>Settings</a><a href='javascript:kib.fileupload();' style='color:#ffffff; display:block; margin:5px;'>Upload images</a><a href='javascript:kib.deleteexplorer();' style='color:#ffffff; display:block; margin:5px;'>Delete images</a><a href='javascript:kib.changeorder();' style='color:#ffffff; display:block; margin:5px;'>Change order</a><a href='javascript:return false;' onmouseover='kib.showhelp(this, 1, 1)' onmouseout='kib.hidehelp()' style='color:#ffffff; display:block; margin:5px;'>Label images</a><a href='javascript:kib.managefolders();' style='color:#ffffff; display:block; margin:5px;'>Manage folders</a><a href='http://"+location.hostname+slash+location.pathname+newparams+"' style='color:#ffffff; display:block; margin:5px;'>Logout</a>";
+ fw.resize( 'authorization', 2, 100, 132, Array( fw.move, 'authorization', 1, 50 + 5, 66 + 5, Array( fw.shadebody, 0 ) ) );
+ setTimeout( function(){
+ var node = document.createElement("div");
+ node.id = "kit_docu";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.zIndex = 999;
+ node.style.padding = "0px";
+ node.style.border = "1px dashed #fff";
+ node.style.left = "-300px";
+ node.style.bottom = "2px";
+ node.innerHTML = "<a href='http://koschtit.tabere.net/en/documentation/adminpanel' target='_blank' style='border:none; padding:0px; margin:0px;'><img src='<?php echo $basedir ?>ki_online_docu.jpg' alt='Online documentation' style='border:none; padding:0px; margin:0px;' /></a>";
+ document.body.appendChild(node);
+ fw.move2(node, 2, 26, 0, Array( fw.move2, "kit_docu", 2, -14, 0, Array( fw.move2, "kit_docu", 2, 5, 0, Array( fw.move2, "kit_docu", 2, 1, 0, Array( fw.move, "kit_docu", 2, 2, 0 ) ) ) ) );
+ }, 1300);
+
+ if(!$("kib_helpbox")){
+ var node = document.createElement("div");
+ node.id = "kib_helpbox";
+ node.style.color = "<?php echo $comm_text_color ?>";
+ node.style.font = "12px Tahoma, sans-serif";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.left = "100px";
+ node.style.top = "200px";
+ node.style.lineHeight = "19px";
+ node.style.textAlign = "left";
+ node.style.zIndex = "10001";
+ node.style.width = "150px";
+ node.style.padding = "8px";
+ node.style.visibility = "hidden";
+ node.style.background = "<?php echo $bord_color ?>";
+ node.style.border = "2px solid <?php echo $nav_border_color ?>";
+ document.body.appendChild(node);
+ }
+ <?php
+ } else {
+ ?>
+ $("pwform").style.border = "1px solid #ff0000";
+ <?php
+ }
+} else {
+ if(md5($query) === $userpw){
+ session_start();
+ $_SESSION["pwquery"] = $pw;
+ ?>
+ var params = location.search.substr(1).split('&');
+ var newparams = "";
+ for(var i = 0; i < params.length; i++){
+ var param = params[i].split('=');
+ if(param[0] != 'user'){
+ if(newparams.length == 0)
+ newparams += "?";
+ else
+ newparams += "&";
+ newparams += params[i];
+ }
+ }
+ kib.checkpw = null;
+ var slash = "";
+ if(location.pathname.substr(0, 1) != "/")slash = "/";
+ $('authorization').innerHTML = "<a href='javascript:kib.fileupload();' style='color:#ffffff; display:block; margin:5px;'>Upload images</a><a href='http://"+location.hostname+slash+location.pathname+newparams+"' style='color:#ffffff; display:block; margin:5px;'>Logout</a>";
+ fw.resize( 'authorization', 2, 100, 44, Array( fw.move, 'authorization', 1, 50 + 5, 22 + 5, Array( fw.shadebody, 0 ) ) );
+
+ if(!$("kib_helpbox")){
+ var node = document.createElement("div");
+ node.id = "kib_helpbox";
+ node.style.color = "<?php echo $comm_text_color ?>";
+ node.style.font = "12px Tahoma, sans-serif";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.left = "100px";
+ node.style.top = "200px";
+ node.style.lineHeight = "19px";
+ node.style.textAlign = "left";
+ node.style.zIndex = "10001";
+ node.style.width = "150px";
+ node.style.padding = "8px";
+ node.style.visibility = "hidden";
+ node.style.background = "<?php echo $bord_color ?>";
+ node.style.border = "2px solid <?php echo $nav_border_color ?>";
+ document.body.appendChild(node);
+ }
+ <?php
+ } else {
+ ?>
+ $("pwform").style.border = "1px solid #ff0000";
+ <?php
+ }
+}
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_deleteimage.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_deleteimage.php
new file mode 100644
index 00000000..eb48b5e7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_deleteimage.php
@@ -0,0 +1,43 @@
+<?php
+session_start();
+
+include_once("../ki_config/ki_setup.php");
+
+if(isset($_POST['file']))
+ $file = rawurldecode($_POST['file']);
+else
+ exit;
+
+if(isset($_POST['thumb']))
+ $thumb = rawurldecode($_POST['thumb']);
+else
+ exit;
+
+if(isset($_POST['gallery']))
+ $gallery = $_POST['gallery'];
+else
+ exit;
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $file))exit();
+if(preg_match("/[\.]*\//", $gallery))exit();
+if(!is_file("../ki_galleries/".$gallery."/".$file))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+$pwok = 0;
+if(isset($_SESSION['pwquery'])){
+ if($_SESSION['pwquery'] === $pw)$pwok = 1;
+}
+
+if($pwok == 1){
+ $imgfile = "../ki_galleries/".$gallery."/".$file;
+ $commfile = "../ki_galleries/".$gallery."/comments/".substr($file, 0, -4).".txt";
+ $vcommfile = "../ki_galleries/".$gallery."/viewercomments/".substr($file, 0, -4).".txt";
+ $thumbfile = "../ki_galleries/".$gallery."/thumbs/".$thumb;
+ if(is_file($imgfile))@unlink($imgfile);
+ if(is_file($commfile))@unlink($commfile);
+ if(is_file($vcommfile))@unlink($vcommfile);
+ if(is_file($thumbfile))@unlink($thumbfile);
+}
+?>
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_download.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_download.php
new file mode 100644
index 00000000..1997bf1a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_download.php
@@ -0,0 +1,32 @@
+<?php
+if(isset($_POST['file']))
+ $file = rawurldecode($_POST['file']);
+else if(isset($_GET['file']))
+ $file = rawurldecode($_GET['file']);
+else
+ exit;
+
+if(isset($_POST['gallery']))
+ $gallery = $_POST['gallery'];
+else if(isset($_GET['gallery']))
+ $gallery = $_GET['gallery'];
+else
+ exit;
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $file))exit();
+if(preg_match("/[\.]*\//", $gallery))exit();
+if(!is_file("../ki_galleries/".$gallery."/".$file))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+header("Cache-Control: public");
+header("Content-Description: File Transfer");
+header("Content-Disposition: attachment; filename=".$file);
+header("Content-Type: image");
+header("Content-Transfer-Encoding: binary");
+
+readfile("../ki_galleries/".$gallery."/".$file);
+?>
+
+
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_explorer.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_explorer.php
new file mode 100644
index 00000000..a8b227fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_explorer.php
@@ -0,0 +1,301 @@
+<?php
+ob_start("ob_gzhandler");
+
+//----------------------------------------------------------------------------- functions --------------------------------------------------------------------------------
+
+if (!function_exists('file_put_contents')) {
+ function file_put_contents($filename, $data) {
+ $f = @fopen($filename, 'w');
+ if (!$f) {
+ return false;
+ } else {
+ $bytes = fwrite($f, $data);
+ fclose($f);
+ return $bytes;
+ }
+ }
+}
+
+if (!function_exists('file_get_contents')) {
+ function file_get_contents($filename) {
+ if ($handle = @fopen($filename, 'rb')) {
+ $data = fread($handle, filesize($filename));
+ fclose($fh);
+ return $data;
+ }
+ }
+}
+
+function cmp_0($a, $b)
+{
+ global $galleryfolder;
+ return (filemtime($galleryfolder.$a[0]) < filemtime($galleryfolder.$b[0])) ? -1 : 1;
+}
+
+function cmp_1($a, $b)
+{
+ global $galleryfolder;
+ return (filemtime($galleryfolder.$a[0]) > filemtime($galleryfolder.$b[0])) ? -1 : 1;
+}
+
+function cmp_2($a, $b)
+{
+ global $galleryfolder;
+
+ $exif = @exif_read_data($galleryfolder.$a[0]);
+ $date1 = "";
+ if (isset($exif['DateTimeOriginal']))
+ $date1 = $exif['DateTimeOriginal'];
+ if (empty($date1) && isset($exif['DateTime']))
+ $date1 = $exif['DateTime'];
+ if (!empty($date1)){
+ $date1 = split(':', str_replace(' ',':', $date1));
+ $date1 = "{$date1[0]}-{$date1[1]}-{$date1[2]} {$date1[3]}:{$date1[4]}";
+ if(sizeof($date1) > 5)$date1 .= ":{$date1[5]}";
+ $date1 = strtotime($date1);
+ } else {
+ $date1 = filemtime($galleryfolder.$a[0]);
+ }
+ $exif = @exif_read_data($galleryfolder.$b[0]);
+ $date2 = "";
+ if (isset($exif['DateTimeOriginal']))
+ $date2 = $exif['DateTimeOriginal'];
+ if (empty($date2) && isset($exif['DateTime']))
+ $date2 = $exif['DateTime'];
+ if (!empty($date2)){
+ $date2 = split(':', str_replace(' ',':', $date2));
+ $date2 = "{$date2[0]}-{$date2[1]}-{$date2[2]} {$date2[3]}:{$date2[4]}";
+ if(sizeof($date2) > 5)$date2 .= ":{$date1[5]}";
+ $date2 = strtotime($date2);
+ } else {
+ $date2 = filemtime($galleryfolder.$b[0]);
+ }
+
+ return $date1 > $date2 ? 1 : -1;
+}
+
+function cmp_3($a, $b)
+{
+ return strcmp($a[0], $b[0]);
+}
+
+//-------------------------------------------------------------------------- end functions --------------------------------------------------------------------------------
+
+$supported = array("jpg","png","gif");
+
+$reldir = "";
+if(isset($_POST['reldir']))$reldir = $_POST['reldir'];
+$confdir = $reldir."ki_config/";
+$galleriesdir = $reldir."ki_galleries/";
+$basedir = $reldir."ki_base/";
+
+if(isset($_POST['gallery']))
+ $gallery = $_POST['gallery'];
+else
+ exit();
+
+if(isset($_POST['gallerynumber']))
+ $gallerynumber = $_POST['gallerynumber'];
+else
+ exit();
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $gallery))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+include_once("../ki_config/ki_setup.php");
+if(is_file("../ki_config/".$gallery."_ki_setup.php")){
+ include_once("../ki_config/".$gallery."_ki_setup.php");
+ $configfile = "../ki_config/".$gallery."_ki_setup.php";
+} else {
+ $configfile = "../ki_config/ki_setup.php";
+}
+$galleryfolder = "../ki_galleries/".$gallery."/";
+$thumbsfolder = $galleryfolder."thumbs/";
+$commentsfolder = $galleryfolder."comments/";
+
+$pwok = 0;
+session_start();
+if(isset($_POST['todelete']) || isset($_POST['tochange'])){
+ if(isset($_SESSION['pwquery'])){
+ if($_SESSION['pwquery'] === $pw)$pwok = 1;
+ }
+ if($pwok == 0)exit();
+}
+
+$temp = getimagesize("ki_nav_next.png");
+if($nav_always == 1 && $show_nav == 1)$fr_height -= ($temp[1]+18);
+if($th_lines == "auto")$th_lines = ceil($thumbs/($th_per_line));
+if($th_width == "auto")$th_width = round($fr_width/($th_per_line)) - round($fr_height*0.04) - 4;
+if($th_height == "auto")$th_height = round($fr_height/($th_lines)) - round($fr_height*0.04) - 4;
+$th_width = $th_width - 2*$th_bord_size;
+$th_height = $th_height - 2*$th_bord_size;
+
+/*------------------- error/warning checking ------------------*/
+if(!is_dir($galleryfolder)) {
+ echo "<div style='background:#ffbbbb; color:#000000; padding:4px;'>ERROR: KoschtIT Image Gallery could't find the following folder on the server: '".htmlentities($gallery)."' . Please check if the folder is available in the 'ki_galleries' folder.</div>";
+ exit();
+}
+if($pic_order == 3){
+ if(!function_exists("exif_read_data")){
+ $pic_order = 2;
+ }
+}
+/*------------------- end error/warning checking ------------------*/
+
+/*------------------- config settings ------------------*/
+$savefile = $gallery."_lastmodified";
+$lastmodified = filemtime($configfile);
+$saved = $fr_width.$fr_height.$thumbs.$th_per_line.$th_lines.$th_width.$th_height.$th_bord_size.$th_bord_hover_increase.$th_to_square.$th_2sq_crop_vert.$th_2sq_crop_hori.$show_nav.$nav_always;
+$writestring = "<?php\r\n\$lm_saved = \"".$saved."\";\r\n";
+$writestring .= "\$lm_lastmodified = ".$lastmodified.";\r\n?>";
+if(!file_exists($savefile))@file_put_contents($savefile, $writestring);
+if(!file_exists($savefile)) {
+ $thumbs_to_disk = 0;
+} else {
+ include_once($savefile);
+ if($lm_saved !== $saved){
+ @file_put_contents($savefile, $writestring);
+ $matches = @glob($thumbsfolder."*.*", GLOB_ERR);
+ if(is_array($matches)){
+ foreach($matches as $sf) {
+ if(!is_dir($sf) && !is_link($sf)){
+ @unlink($sf);
+ }
+ }
+ }
+ } else {
+ $lastmodified = $lm_lastmodified;
+ }
+}
+/*------------------- end config settings ------------------*/
+
+$files = array();
+$temp = array();
+$savedfolderhash = 0;
+if(is_file($gallery."_dir")){
+ $temp = explode(PHP_EOL, file_get_contents($gallery."_dir"));
+ $savedfolderhash = unserialize($temp[0]);
+}
+//$folderhash = pic_order + MTime of $galleryfolder + fileSize of all files
+$folderhash = $pic_order;
+$iterator = new DirectoryIterator($galleryfolder);
+foreach ($iterator as $fileInfo) {
+ if($fileInfo->isDot()){
+ $folderhash += $fileInfo->getMTime();
+ continue;
+ } elseif($fileInfo->isFile()) {
+ $folderhash += $fileInfo->getSize();
+ }
+}
+if($folderhash != $savedfolderhash){
+ if($pic_order == 4 && sizeof($temp) > 1){
+ $files = unserialize($temp[1]);
+ $iterator->rewind();
+ foreach ($iterator as $fileInfo) {
+ $file = $fileInfo->getFilename();
+ if(!in_array(strtolower(substr($file, -3)), $supported))$continue;
+ $imgsize = @getimagesize($galleryfolder.$file);
+ if($imgsize[0]){
+ $newcandidate = array($file, $imgsize[0], $imgsize[1]);
+ if(!in_array($newcandidate, $files))$files[] = $newcandidate;
+ }
+ }
+ reset($files);
+ } else {
+ $iterator->rewind();
+ foreach ($iterator as $fileInfo) {
+ $file = $fileInfo->getFilename();
+ if(!in_array(strtolower(substr($file, -3)), $supported))$continue;
+ $imgsize = @getimagesize($galleryfolder.$file);
+ if($imgsize[0]){
+ $files[] = array($file, $imgsize[0], $imgsize[1]);
+ }
+ }
+ switch($pic_order){
+ case 0:
+ usort($files, "cmp_1");
+ break;
+ case 1:
+ usort($files, "cmp_0");
+ break;
+ case 2:
+ usort($files, "cmp_3");
+ break;
+ case 3:
+ usort($files, "cmp_2");
+ break;
+ default:
+ usort($files, "cmp_1");
+ break;
+ }
+ reset($files);
+ }
+} else {
+ $files = unserialize($temp[1]);
+}
+
+$id = 0;
+foreach ($files as $file) {
+ $id++;
+
+ $breite = $file[1];
+ $hoehe = $file[2];
+
+ if( ($breite / $hoehe) > 1){
+ $k = $hoehe / $breite;
+ $breite = $th_width;
+ $hoehe = $k*$breite;
+ if($hoehe > $th_height){
+ $hoehe = $th_height;
+ $breite = (1/$k) * $hoehe;
+ }
+ } else {
+ $k = $breite / $hoehe;
+ $hoehe = $th_height;
+ $breite = $k*$hoehe;
+ if($breite > $th_width){
+ $breite = $th_width;
+ $hoehe = (1/$k) * $breite;
+ }
+ }
+
+ if($th_to_square == 1) {
+ if($th_width < $th_height){
+ $breite = $th_width;
+ } else {
+ $breite = $th_height;
+ }
+ $hoehe = $breite;
+ }
+
+ $breite = round($breite);
+ $hoehe = round($hoehe);
+
+ if($th_bord_hover_increase > 1){
+ $inc_breite = round($breite*$th_bord_hover_increase);
+ $inc_hoehe = round($breite*$th_bord_hover_increase);
+ } else {
+ $inc_breite = $breite;
+ $inc_hoehe = $hoehe;
+ }
+
+ $src = $basedir."ki_makepic.php?file=".$gallery."/".rawurlencode($file[0])."&width=".$inc_breite."&height=".$inc_hoehe;
+ $style = "border:".$th_bord_size."px solid ".$th_bord_color."; visibility:hidden; display:block; position:absolute; width:".$breite."px; height:".$hoehe."px;";
+ if($thumbs_to_disk == 1){
+ if(!is_file($thumbsfolder.$lastmodified.$file[0])){
+ $src .= "&picname=".$lastmodified.rawurlencode($file[0]);
+ } else {
+ $src = $galleriesdir.$gallery."/thumbs/".$lastmodified.$file[0];
+ }
+ }
+ if(isset($_POST['todelete']))
+ echo "<img id='".$gallerynumber."_".($id-1)."' src='".$src."' style='".$style." cursor:pointer;' onclick='kid.deleteImage(this)' onload=\"this.style.visibility='visible'\" alt='".$breite."_".$hoehe."' onmouseover='fw.fade(this, 33)' onmouseout='fw.fade(this, 100)' />";
+ elseif(isset($_POST['tochange']))
+ echo "<img id='".$gallerynumber."_".($id-1)."' src='".$src."' style='".$style." z-index:1; cursor:move;' onmousedown='kic.selectForDrag(this)' onmouseup='kic.releaseForDrag(this)' onmouseover='kic.hoverDrag(this)' oncontextmenu='return false' ondragstart='return false' onselectstart='return false' onload=\"this.style.visibility='visible'\" moved='0' alt='".$breite."_".$hoehe."' />";
+ else
+ echo "<img id='".$gallerynumber."_".($id-1)."' src='".$src."' style='".$style." cursor:pointer;' onclick='kie.getImage(this.id)' onload=\"this.style.visibility='visible'\" onmouseover='kib.makebigger(this)' onmouseout='kib.makesmaller(this)' alt='".$breite."_".$hoehe."' />";
+
+}
+echo "<div style='position:absolute; width:1px; left:0px;'></div>";
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_flip.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_flip.php
new file mode 100644
index 00000000..3e473bc6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_flip.php
@@ -0,0 +1,52 @@
+<?php
+if(!isset($_GET['ot']))
+ exit();
+else
+ $ot = $_GET['ot'];
+
+if(isset($_GET['gallery']))
+ $gallery = $_GET['gallery'];
+else
+ exit;
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $gallery))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+include_once("../ki_config/ki_setup.php");
+if(is_file("../ki_config/".$gallery."_ki_setup.php"))include_once("../ki_config/".$gallery."_ki_setup.php");
+
+if($ot == 0)
+ $polygon = array(0,0, 0,200, 200,200);
+elseif($ot == 1)
+ $polygon = array(0,0, 0,200, 200,0);
+elseif($ot == 2)
+ $polygon = array(0,200, 200,200, 200,0);
+else
+ $polygon = array(0,0, 200,200, 200,0);
+
+header("Content-type: image/gif"); //Picture Format
+header("Expires: Mon, 01 Jul 2003 00:00:00 GMT"); // Past date
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Consitnuously modified
+header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
+header("Pragma: no-cache"); // NO CACHE
+
+$bild = imagecreate(200, 200);
+
+imagealphablending($bild, false);
+imagesavealpha($bild, true);
+
+$transparent = imagecolorallocatealpha($bild, 0, 0, 0, 127);
+imagefilledrectangle($bild, 0, 0, 200, 200, $transparent);
+imagecolortransparent($bild, $transparent);
+
+$r = hexdec(substr($bord_color, 1, 2));
+$g = hexdec(substr($bord_color, 3, 2));
+$b = hexdec(substr($bord_color, 5, 2));
+
+$farbe = imagecolorallocatealpha($bild, $r, $g, $b, 0);
+imagefilledpolygon($bild, $polygon, 3, $farbe);
+
+imagegif($bild);
+imagedestroy($bild);
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_fullimg.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_fullimg.php
new file mode 100644
index 00000000..ddb6d546
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_fullimg.php
@@ -0,0 +1,231 @@
+<?php
+session_start();
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [9]/",$browser))
+ $browser = "ie9";
+elseif(preg_match("/MSIE [7-8]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+$reldir = "";
+if(isset($_POST['reldir']))$reldir = $_POST['reldir'];
+$confdir = $reldir."ki_config/";
+$galleriesdir = $reldir."ki_galleries/";
+$basedir = $reldir."ki_base/";
+
+/* --------------------------------------------------------- functions ------------------------------------------------------ */
+
+if (!function_exists('file_get_contents')) {
+ function file_get_contents($filename) {
+ if ($handle = @fopen($filename, 'rb')) {
+ $data = fread($handle, filesize($filename));
+ fclose($fh);
+ return $data;
+ }
+ }
+}
+
+if (!function_exists('file_put_contents')) {
+ function file_put_contents($filename, $data) {
+ $f = @fopen($filename, 'w');
+ if (!$f) {
+ return false;
+ } else {
+ $bytes = fwrite($f, $data);
+ fclose($f);
+ return $bytes;
+ }
+ }
+}
+
+
+function draw_image($filename, $id, $style, $params) {
+ global $browser, $basedir;
+ $idstring = "";
+ if($id != "")$idstring = "id='".$id."' ";
+ if($browser == "ie6") {
+ $imgsize = getimagesize($filename);
+ echo "<img ".$idstring."style='filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=".$basedir.$filename."); width:".$imgsize[0]."px; height:".$imgsize[1]."px; ".$style."' src='".$basedir."ki_noimage.gif' ".$params." />";
+ } else {
+ if($style != "")$style = " style='".$style."' ";
+ echo "<img ".$idstring."src='".$basedir.$filename."'".$style.$params." />";
+ }
+}
+
+/* ---------------------------------------------------------- end functions -------------------------------------------------- */
+
+/* --------------------------------------------------------- Display full image ---------------------------------------------------------------------- */
+
+if(isset($_POST['file']))
+ $file = rawurldecode($_POST['file']);
+else
+ exit;
+
+if(isset($_POST['gallery']))
+ $gallery = $_POST['gallery'];
+else
+ exit;
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $file))exit();
+if(preg_match("/[\.]*\//", $gallery))exit();
+if(!is_file("../ki_galleries/".$gallery."/".$file))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+include_once("../ki_config/ki_setup.php");
+if(is_file("../ki_config/".$gallery."_ki_setup.php"))include_once("../ki_config/".$gallery."_ki_setup.php");
+
+$imgsize = getimagesize("../ki_galleries/".$gallery."/".$file);
+
+// ---------------- exif data --------------------------------------
+if($checkgps == 1){
+ $latitude = 0;
+ $longitude = 0;
+ if(function_exists("exif_read_data")){
+ $exif = @exif_read_data("../ki_galleries/".$gallery."/".$file);
+ if(isset($exif['GPSLatitude']) && isset($exif['GPSLongitude'])){
+ if(isset($exif['GPSLatitudeRef']) && isset($exif['GPSLongitudeRef'])){
+ if(count($exif['GPSLatitude']) == 3 && count($exif['GPSLongitude']) == 3){
+ $temp = $exif['GPSLatitude'][0];
+ $temp = explode("/", $temp);
+ $latitude = intval($temp[0])/intval($temp[1]);
+ $temp = $exif['GPSLatitude'][1];
+ $temp = explode("/", $temp);
+ $latitude += ((intval($temp[0])/intval($temp[1]))/60);
+ $temp = $exif['GPSLatitude'][2];
+ $temp = explode("/", $temp);
+ $latitude += ((intval($temp[0])/intval($temp[1]))/3600);
+ if($exif['GPSLatitudeRef'] == "S")$latitude*=-1;
+ $temp = $exif['GPSLongitude'][0];
+ $temp = explode("/", $temp);
+ $longitude = intval($temp[0])/intval($temp[1]);
+ $temp = $exif['GPSLongitude'][1];
+ $temp = explode("/", $temp);
+ $longitude += ((intval($temp[0])/intval($temp[1]))/60);
+ $temp = $exif['GPSLongitude'][2];
+ $temp = explode("/", $temp);
+ $longitude += ((intval($temp[0])/intval($temp[1]))/3600);
+ if($exif['GPSLongitudeRef'] == "W")$longitude*=-1;
+ }
+ }
+ }
+ }
+}
+// ---------------- end exif data --------------------------------------
+
+if(isset($_POST['x']))
+ $x = $_POST['x'];
+else
+ $x = $imgsize[0];
+
+if(isset($_POST['y']))
+ $y = $_POST['y'];
+else
+ $y = $imgsize[1];
+
+$commfile = "../ki_galleries/".$gallery."/comments/".substr($file, 0, -4).".txt";
+$srcfile = $gallery."/".$file;
+
+if($x != $imgsize[0] || $y != $imgsize[1]){
+ $srcfile = $basedir."ki_makepic.php?fullimg=1&file=".$gallery."/".rawurlencode($file)."&width=".$x."&height=".$y;
+} else {
+ $srcfile = $galleriesdir.$srcfile;
+}
+?>
+<img id='thepicture' style='visibility:hidden; position:absolute; left:50%; top:50%; margin-left:-<?php echo floor($x*0.5) ?>px; margin-top:-<?php echo floor($y*0.5) ?>px; padding:0px; border:0px; width:<?php echo $x ?>px; height:<?php echo $y ?>px; display:block; cursor:pointer;' alt='<?php echo $srcfile ?>' onclick='kiv.goon(1)' />
+<?php
+if(is_file($commfile)){
+ $comm = file_get_contents($commfile);
+} else {
+ $comm = "";
+}
+
+if($comm_auto == 1){
+ $comm = $comm_auto_string;
+}
+
+$pwok = 0;
+if(isset($_SESSION['pwquery'])){
+ if($_SESSION['pwquery'] === $pw)$pwok = 1;
+}
+
+if($comments == 1){
+ if($pwok == 0){
+ if($comm != ""){
+ $comm = nl2br($comm);
+ echo "<div id='thecomment' style='display:none;'>".stripslashes($comm)."</div>";
+ }
+ } else {
+ echo "<div id='thecomment' style='display:none;'><textarea style='font:".$comm_text_size."px ".$comm_text_font."; color:".$comm_text_color."; width:".($x+(2*$bord_size)-22)."px; text-align:".$comm_text_align."; height:50px; overflow:hidden; resize:none; overflow-y:scroll; float:none; margin:0px; padding:0px; background:".$bord_color."; border:1px dashed ".$comm_text_color.";' onkeyup='kiv.savecomment(event, this.value)' id='focusme'>".stripslashes($comm)."</textarea></div>";
+ }
+}
+
+if($checkgps == 1){
+ echo "<input id='kiv_gps' type='hidden' value='".$latitude.",".$longitude."' />";
+}
+
+if($viewercomments == 1){
+ $vcommfile = "../ki_galleries/".$gallery."/viewercomments/".substr($file, 0, -4).".txt";
+ $value = 0;
+ if(is_file($vcommfile)){
+ $value = 1;
+ }
+ echo "<input id='kiv_vcomm' type='hidden' value='".$value."' />";
+}
+
+if($pwok == 1 && $th_to_square == 1 && $thumbs_to_disk == 1){
+ if($x >= $y){
+ $aspect = $x/$y;
+ $x = round($aspect*100);
+ $y = 100;
+ switch($th_2sq_crop_hori){
+ case "left":
+ $posx = 0;
+ break;
+ case "center";
+ $posx = round($x*0.5 - 50);
+ break;
+ case "right":
+ $posx = $x - 100;
+ break;
+ }
+ $stylestring1 = "height:100px; width:".$posx."px;";
+ $stylestring2 = "height:100px; width:".($x-($posx+100))."px;";
+ } else {
+ $aspect = $y/$x;
+ $y = round($aspect*100);
+ $x = 100;
+ switch($th_2sq_crop_vert){
+ case "top":
+ $posy = 0;
+ break;
+ case "middle";
+ $posy = round($y*0.5 - 50);
+ break;
+ case "bottom":
+ $posy = $y - 100;
+ break;
+ }
+ $stylestring1 = "width:100px; height:".$posy."px;";
+ $stylestring2 = "width:100px; height:".($y-($posy+100))."px;";
+ }
+ if($browser == "ie6" || $browser == "ie7"){
+ $more = "filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);";
+ } else {
+ $more = "opacity:0.7;";
+ }
+ $stylestring1 .= $more;
+ $stylestring2 .= $more;
+ $srcfile = $basedir."ki_makepic.php?file=".$gallery."/".rawurlencode($file)."&width=".$x."&height=".$y."&fullimg=1";
+ echo "<div id='square_selector' style='position:absolute; left:".$bord_size."px; top:".$bord_size."px; width:".$x."px; height:".$y."px; z-index:1001; padding:2px; background:#000000; overflow:hidden; cursor:pointer; display:none;'><img src='".$srcfile."' style='visibility:hidden;' onload=\"this.style.visibility='visible';\" /><div id='square_1' style='background:#000000; position:absolute; left:2px; top:2px; overflow:hidden;".$stylestring1."'></div><div id='square_2' style='background:#000000; position:absolute; right:2px; bottom:2px; overflow:hidden;".$stylestring2."'></div></div>";
+}
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_getcustomsettings.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_getcustomsettings.php
new file mode 100644
index 00000000..26731a29
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_getcustomsettings.php
@@ -0,0 +1,25 @@
+<?php
+ob_start("ob_gzhandler");
+
+header("Expires: Mon, 01 Jul 2003 00:00:00 GMT"); // Past date
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Consitnuously modified
+header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
+header("Pragma: no-cache"); // NO CACHE
+
+$verz = @opendir("../ki_config/");
+while($file = @readdir($verz))
+{
+ if($file != "." && $file != ".." && strtolower(substr($file, -12)) === "ki_setup.php"){
+ include("../ki_config/ki_setup.php");
+ if($file === "ki_setup.php")
+ $temp = "default";
+ else {
+ $temp = substr($file, 0, -13);
+ include("../ki_config/".$file);
+ }
+
+ echo "kib.customsettings['".$temp."'] = Array(".$fr_width.", ".$fr_height.", \"".$fr_color."\", \"".$th_bord_color."\", \"".$th_bord_hover_color."\", ".$th_bord_hover_increase.", ".$resize_auto.", ".$nav_style.", ".$th_bord_size.", ".$show_nav.", ".$nav_always.", ".$slideshow.", \"".$nav_color."\", \"".$nav_border_color."\", \"".$nav_pos."\", ".$show_explorer.", ".$th_shadow.");\r\n";
+ }
+}
+@closedir($verz);
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_getsetsettings.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_getsetsettings.php
new file mode 100644
index 00000000..9687e355
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_getsetsettings.php
@@ -0,0 +1,161 @@
+<?php
+session_start();
+
+/* --------------------------------------------------------- functions ------------------------------------------------------ */
+
+if (!function_exists('file_put_contents')) {
+ function file_put_contents($filename, $data) {
+ $f = @fopen($filename, 'w');
+ if (!$f) {
+ return false;
+ } else {
+ $bytes = fwrite($f, $data);
+ fclose($f);
+ return $bytes;
+ }
+ }
+}
+
+/* ---------------------------------------------------------- end functions -------------------------------------------------- */
+
+include_once("../ki_config/ki_setup.php");
+
+if (get_magic_quotes_gpc()) {
+ function stripslashes_gpc(&$value)
+ {
+ $value = stripslashes($value);
+ }
+ array_walk_recursive($_GET, 'stripslashes_gpc');
+ array_walk_recursive($_POST, 'stripslashes_gpc');
+ array_walk_recursive($_COOKIE, 'stripslashes_gpc');
+ array_walk_recursive($_REQUEST, 'stripslashes_gpc');
+}
+
+$global_start = -1;
+$global_length = -1;
+$global_count = -1;
+
+reset($GLOBALS);
+while (list($key, $val) = each($GLOBALS)) {
+ $global_count++;
+ if($global_start == -1){
+ if($key === "fr_width"){
+ $global_start = $global_count;
+ continue;
+ }
+ }
+ if($global_length == -1){
+ if($key === "global_start"){
+ $global_length = $global_count - $global_start;
+ break;
+ }
+ }
+}
+
+$pwok = 0;
+if(isset($_SESSION['pwquery'])){
+ if($_SESSION['pwquery'] === $pw)$pwok = 1;
+}
+
+if($pwok == 1){
+ if(isset($_POST['get'])){
+ if(isset($_POST['file'])){
+ $file = $_POST['file'];
+
+ // -------------- Sicherheitsabfragen!
+ if(preg_match("/[\.]*\//", $file))exit();
+ // ---------- Ende Sicherheitsabfragen!
+
+ if(is_file("../ki_config/".$file."_ki_setup.php")){
+ reset($GLOBALS);
+ for($i = 0; $i < $global_start; $i++)next($GLOBALS);
+ for($i = 0; $i < $global_length; $i++){
+ list($key, $val) = each($GLOBALS);
+ unset($GLOBALS[$key]);
+ }
+ include_once("../ki_config/".$file."_ki_setup.php");
+ } else
+ exit();
+ }
+ $setting = "";
+ echo "{ ";
+ reset($GLOBALS);
+ for($i = 0; $i < $global_start; $i++)next($GLOBALS);
+ for($i = 0; $i < $global_length; $i++){
+ list($key, $val) = each($GLOBALS);
+ if(isset($GLOBALS[$key]))$setting .= "\"$key\" : \"".addslashes($val)."\", ";
+ }
+ $setting = substr($setting, 0, -2)." ";
+ echo $setting;
+ echo "}";
+ }
+ if(isset($_POST['set'])){
+ if(!isset($_POST['pw']))$_POST['pw'] = $_SESSION['pwquery'];
+ if(!isset($_POST['userpw']))$_POST['userpw'] = $userpw;
+ if(isset($_POST['file'])){
+ $file = $_POST['file'];
+ if($file === "default")
+ $file = "";
+ else
+ $file .= "_";
+
+ // -------------- Sicherheitsabfragen!
+ if(preg_match("/[\.]*\//", $file))exit();
+ // ---------- Ende Sicherheitsabfragen!
+
+ $params = "";
+ reset($GLOBALS);
+ for($i = 0; $i < $global_start; $i++)next($GLOBALS);
+ for($i = 0; $i < $global_length; $i++){
+ list($key, $val) = each($GLOBALS);
+ if(isset($_POST[$key])){
+ $val = rawurldecode($_POST[$key]);
+ if($key === "pw"){
+ if($val !== $_SESSION['pwquery']){
+ $val = "\"".md5($val)."\"";
+ } else {
+ $val = "\"".$val."\"";
+ }
+ } else if($key === "userpw"){
+ if($val !== $userpw){
+ $val = "\"".md5($val)."\"";
+ } else {
+ $val = "\"".$val."\"";
+ }
+ } else {
+ if(!is_numeric($val))$val = "\"".addslashes($val)."\"";
+ }
+ $params .= "\$$key = $val;\r\n";
+ }
+ }
+
+ $setupfile = "../ki_config/".$file."ki_setup.php";
+ if($file !== ""){
+ if($params !== ""){
+ $params = "<?php\r\n".$params."?>";
+ if(!@file_put_contents($setupfile, $params))
+ echo "failure";
+ else
+ echo "modified";
+ } else {
+ if(!@unlink($setupfile))
+ echo "failure";
+ else
+ echo "modified";
+ }
+ } else {
+ $params = "<?php\r\n".$params."?>";
+ if(!@file_put_contents($setupfile, $params)){
+ echo "failure";
+ } else {
+ if($_POST['admin'].$_POST['pw'] !== $admin.$pw){
+ echo "adminchanged";
+ } else {
+ echo "modified";
+ }
+ }
+ }
+ }
+ }
+}
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_getuploadinfo.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_getuploadinfo.php
new file mode 100644
index 00000000..1d3bd54e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_getuploadinfo.php
@@ -0,0 +1,76 @@
+<?php
+session_start();
+
+if(isset($_POST['form']))
+ $form = $_POST['form'];
+else
+ exit();
+
+if($form === "debug"){
+ var_dump($_SESSION['uploads']);
+ exit();
+}
+
+if($form === "reset"){
+ $_SESSION['uploads'] = array(-1, -1, -1, -1, -1, -1, -1, -1, -1);
+ exit();
+}
+
+$tmpfolder = ini_get('upload_tmp_dir');
+
+function getTempFile(){
+ global $tmpfolder;
+ global $form;
+
+ if($form == -1){
+ return 0;
+ }
+
+ if(is_dir($tmpfolder)) {
+ $phptempfiles = glob($tmpfolder."/[p][h][p]*.tmp");
+ //$phptempfiles = glob($tmpfolder."/[p][h][p]*");
+ if(is_array($phptempfiles)){
+ if(sizeof($phptempfiles) != 0){ // es laufen Uploads
+ foreach($phptempfiles as $sf){
+ if(!in_array($sf, $_SESSION['uploads'])){ // Der zuletzt gestartete Upload läuft, aber wir können den nächsten starten ( laufender upload gespeichert )
+ $_SESSION['uploads'][$form] = $sf;
+ //return 1; // für alle uploads parallel
+ }
+ }
+ } else { // Alle bisher gestartete Upload sind schon abgeschlossen, d.h. wir können den nächsten starten
+ $_SESSION['uploads'][$form] = "finished";
+ return 1;
+ }
+ }
+ } else {
+ $_SESSION['uploads'][$form] = "error";
+ return 1;
+ }
+
+ return 0;
+}
+
+function getPercentage(){
+ foreach($_SESSION['uploads'] as $sf){
+ $val = 0;
+ if($sf === "finished")
+ $val = "finished";
+ else {
+ if($sf == -1){
+ $val = 0;
+ } else {
+ if(is_file($sf)){
+ $val = filesize($sf);
+ } else {
+ $val = "finished";
+ }
+ }
+ }
+ echo "<input type='hidden' value='".$val."' />";
+ }
+}
+
+
+echo "<input type='hidden' value='".getTempFile()."' />";
+getPercentage();
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_basic.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_basic.php
new file mode 100644
index 00000000..ce6f7681
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_basic.php
@@ -0,0 +1,635 @@
+<?php
+ob_start("ob_gzhandler");
+
+session_start();
+if(isset($_SESSION['pwquery']))unset($_SESSION['pwquery']);
+
+header("Expires: Mon, 01 Jul 2003 00:00:00 GMT"); // Past date
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Consitnuously modified
+header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
+header("Pragma: no-cache"); // NO CACHE
+
+//-------------------------------------- functions -------------------------------------
+function draw_image($filename, $id, $style, $params) {
+ global $browser, $basedir;
+ $idstring = "";
+ if($id != "")$idstring = "id='".$id."' ";
+ if($browser == "ie6") {
+ $imgsize = getimagesize($filename);
+ echo "<img ".$idstring."style='filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=".$basedir.$filename."); width:".$imgsize[0]."px; height:".$imgsize[1]."px; ".$style."' src='".$basedir."ki_noimage.gif' ".$params." />";
+ } else {
+ if($style != "")$style = " style='".$style."' ";
+ echo "<img ".$idstring."src='".$basedir.$filename."'".$style.$params." />";
+ }
+}
+//-------------------------------------- end functions -----------------------------------
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [9]/",$browser))
+ $browser = "ie9";
+elseif(preg_match("/MSIE [7-8]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+if($browser == "ie6")
+ $posfix = "absolute";
+else
+ $posfix = "fixed";
+
+if(isset($_GET['reldir']))
+ $reldir = $_GET['reldir'];
+else
+ $reldir = "";
+
+$confdir = $reldir."ki_config/";
+$galleriesdir = $reldir."ki_galleries/";
+$basedir = $reldir."ki_base/";
+
+include("../ki_config/ki_setup.php");
+
+$admin_ok = 0;
+if(isset($_GET['admin']) && $admin === $_GET['admin']){
+ $admin_ok = 1;
+}
+$user_ok = 0;
+if(isset($_GET['user']) && $user === $_GET['user']){
+ $user_ok = 1;
+}
+
+header("Content-Type: application/x-javascript");
+?>
+
+// Basic module 'kib' --------------------------------------------------------------------
+
+function kib_module(){
+
+ /* -------------------------------- variables ----------------------------------- */
+
+ var galleries; // gallery objects
+ this.dirs; // gallery folders
+ this.pics; // pic names and dimensions
+ this.customsettings = new Array(); // individual width, heights and backgrounds
+ var mouseover; // Array for mouseover
+
+<?php
+ $verz = @opendir("../ki_config/");
+ while($file = @readdir($verz))
+ {
+ if($file != "." && $file != ".." && strtolower(substr($file, -12)) === "ki_setup.php"){
+ include("../ki_config/ki_setup.php");
+ if($file === "ki_setup.php")
+ $temp = "default";
+ else {
+ $temp = substr($file, 0, -13);
+ include("../ki_config/".$file);
+ }
+ echo "this.customsettings['".$temp."'] = Array(".$fr_width.", ".$fr_height.", \"".$fr_color."\", \"".$th_bord_color."\", \"".$th_bord_hover_color."\", ".$th_bord_hover_increase.", ".$resize_auto.", ".$nav_style.", ".$th_bord_size.", ".$show_nav.", ".$nav_always.", ".$slideshow.", \"".$nav_color."\", \"".$nav_border_color."\", \"".$nav_pos."\", ".$show_explorer.", ".$th_shadow.");\r\n";
+ }
+ }
+ @closedir($verz);
+?>
+
+ /* -------------------------------- getElementById function --------------------- */
+
+ function $(id){
+ return document.getElementById(id);
+ }
+
+ /* -------------------------------- constructor/descturctor --------------------- */
+
+ this.constr = function() {
+ galleries = new Array();
+ this.dirs = new Array();
+ mouseover = new Array();
+ var temp = document.getElementsByTagName("div");
+ var found = 0;
+ for(var i = 0; i < temp.length; i++){
+ if(temp[i].className.indexOf("koschtitgallery") >= 0){
+ temp[i].id = temp[i].title + "_" + found;
+ temp[i].style.position = "relative";
+ temp[i].style.padding = "0px";
+ temp[i].style.overflow = "hidden";
+ var obj = kib.customsettings[temp[i].title] ? kib.customsettings[temp[i].title] : kib.customsettings['default'];
+ temp[i].style.width = obj[0] + "px";
+ temp[i].style.height = obj[1] + "px";
+ temp[i].style.minHeight = "0";
+ temp[i].style.background = obj[2];
+ this.dirs.push(temp[i].title);
+ temp[i].title = "";
+ galleries.push(temp[i]);
+ mouseover.push(0);
+ found++;
+ }
+ }
+ if(galleries.length == 0){
+ <?php if($shade_while_loading == 1)echo "shadebody(0);" ?>
+ <?php if($show_warnings == 1)echo "alert(\"WARNING: KoschtIT Image Gallery didn't find any gallery to display. Set '\$show_warnings = 0' if you don't want to see this warning again.\");"; ?>
+ return;
+ } else {
+ this.pics = new Array(galleries.length);
+ showgallery(0);
+ }
+ }
+
+ this.destr = function(){
+
+ }
+
+ /* -------------------------------- methodes ------------------------------------ */
+
+ this.reinit = function(){
+ var count = this.dirs.length;
+ for(var i = 0; i < count; i++){
+ $(this.dirs[i]+"_"+i).title = this.dirs[i];
+ }
+ for(var i = 0; i < count; i++){
+ var temp = galleries[i].cloneNode(false);
+ galleries[i].parentNode.insertBefore(temp, galleries[i]);
+ galleries[i].parentNode.removeChild(galleries[i]);
+ }
+ kib.constr();
+ }
+
+ this.reloadcsandreinit = function(){
+ fw.getHTTP("<?php echo $basedir ?>ki_getcustomsettings.php", gotcustomsettings);
+ }
+
+ function gotcustomsettings(responseText){
+ if(responseText != ""){
+ eval(responseText);
+ kib.reinit();
+ }
+ }
+
+ function showgallery(gallerynumber){
+
+ var gallery = galleries[gallerynumber];
+ gallery.innerHTML = "<div style='background:<?php echo $bord_color ?>; position:absolute; left:50%; top:50%; width:200px; height:40px; margin-left:-106px; margin-top:-26px; border:2px solid <?php echo $nav_border_color ?>; color:<?php echo $comm_text_color ?>; font: 14px normal <?php echo $comm_text_font ?>; padding:8px 4px 0px; text-align:center; line-height:17px;' id='" + gallery.id + "_wait" + "'>Please wait, while folder being scanned ...</div>";
+
+ var node = document.createElement("div");
+ node.id = gallery.id + "_see";
+ node.style.position = "absolute";
+ node.style.height = "100%";
+ node.style.width = "100%";
+ node.style.overflow = "hidden";
+ node.style.display = "none";
+ gallery.appendChild(node);
+
+ node = document.createElement("div");
+ node.id = gallery.id + "_hide";
+ node.style.position = "absolute";
+ node.style.height = "100%";
+ node.style.width = "100%";
+ node.style.overflow = "hidden";
+ node.style.display = "none";
+ gallery.appendChild(node);
+
+ kib.inc(gallerynumber, 0, 0, 1);
+
+ fw.addevent( gallery, "mousemove", function(){ if(mouseover[gallerynumber] == 0)expandfornav(gallerynumber, 1); } );
+ fw.addevent( gallery, "mouseout", function(){ expandfornav(gallerynumber, 0); } );
+
+ if(gallerynumber+1 < galleries.length){
+ showgallery(gallerynumber+1);
+ } else {
+ <?php if($admin_ok == 1 || $user_ok == 1){ ?>
+ adminlogin();
+ <?php } ?>
+ }
+ }
+
+ function expandfornav(gallerynumber, type){
+ var gallery = galleries[gallerynumber];
+ var container = $(gallery.id + "_hide");
+
+ if(type == 1){
+ mouseover[gallerynumber] = 1;
+ container.style.overflow = "visible";
+ gallery.style.overflow = "visible";
+ } else {
+ mouseover[gallerynumber] = 0;
+ container.style.overflow = "hidden";
+ gallery.style.overflow = "hidden";
+ }
+
+ var cs = kib.customsettings[kib.dirs[gallerynumber]] ? kib.customsettings[kib.dirs[gallerynumber]] : kib.customsettings['default'];
+ if(cs[9] == 1 && cs[10] == 0){
+ <?php
+ $temp = getimagesize("ki_nav_next.png");
+ ?>
+ var ysize = cs[1];
+ if(cs[6] == 1){
+ for(var i = container.childNodes.length-1; i > 0; i--){
+ if(container.childNodes[i]){
+ if(container.childNodes[i].nodeName == "IMG"){
+ var temp2 = container.childNodes[i].alt.split("_");
+ ysize = parseInt(parseInt(temp2[3]) + 0.5*(parseInt(temp2[1]) + cs[8]*2));
+ break;
+ }
+ }
+ }
+ for(var j = 0; j < 10; j++){
+ if(container.childNodes[j]){
+ if(container.childNodes[j].nodeName == "IMG"){
+ temp2 = container.childNodes[j].alt.split("_");
+ ysize = ysize + parseInt(parseInt(temp2[3]) + 0.5*(parseInt(temp2[1]) + cs[8]*2));
+ if(ysize > cs[1])ysize = cs[1];
+ break;
+ }
+ }
+ }
+ }
+ var tb = $(container.id + "_tb");
+ if(tb != null){
+ if(type == 1){
+ if(cs[10] == 0)fw.fade(tb, 100);
+ fw.resize(gallery, 4, 0, ysize + <?php echo ($temp[1] + 18) ?>);
+ } else {
+ if(cs[10] == 0)fw.fade(tb, 0);
+ fw.resize(gallery, 4, 0, ysize);
+ }
+ }
+ }
+ }
+
+ <?php if($admin_ok == 1 || $user_ok == 1){ ?>
+
+ function adminlogin(){
+ if(!$("authorization")){
+ node = document.createElement("div");
+ node.id = "authorization";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.top = "50%";
+ node.style.left = "50%";
+ node.style.width = "150px";
+ node.style.height = "70px";
+ node.style.margin = "-35px 0px 0px -75px";
+ node.style.background = "#444444";
+ node.style.border = "1px dashed #ffffff";
+ node.style.textAlign = "center";
+ node.style.color = "#ffffff";
+ node.style.font = "11px Tahoma, sans-serif";
+ node.style.lineHeight = "13px";
+ node.style.zIndex = 2000;
+ document.body.appendChild(node);
+ $("authorization").appendChild(document.createElement("br"));
+ node = document.createTextNode("Enter password here:");
+ $("authorization").appendChild(node);
+ $("authorization").appendChild(document.createElement("br"));
+ $("authorization").appendChild(document.createElement("br"));
+ node = document.createElement("span");
+ node.innerHTML = "<input type='password' id='pwform' style='border:1px solid #ffffff; background:#000; width:140px; color:#ffffff; text-align:center; float:none; font:11px Tahoma, sans-serif; padding:1px;' />";
+ $("authorization").appendChild(node);
+ $("pwform").onkeyup = function() { kib.checkpw(this.value) };
+ $("pwform").focus();
+ }
+ }
+
+ this.checkpw = function(query){
+ if(query != "")fw.getHTTP("<?php echo $basedir ?>ki_checkpw.php?&query="+query+"&reldir=<?php echo $reldir ?>&against=<?php echo $admin_ok == 1 ? "adm" : "usr" ?>", gotcheck, null);
+ }
+
+ function gotcheck(responseText){
+ if(responseText != "")eval(responseText);
+ }
+
+ this.edit_ki_setup = function(){
+ fw.addjs("<?php echo $basedir ?>ki_js_settings.php?reldir=<?php echo $reldir ?>", "kis");
+ }
+
+ this.fileupload = function(){
+ fw.addjs("<?php echo $basedir ?>ki_js_upload.php?reldir=<?php echo $reldir ?>", "kiu");
+ }
+
+ this.deleteexplorer = function(){
+ fw.addjs("<?php echo $basedir ?>ki_js_delete.php?reldir=<?php echo $reldir ?>&gallery=" + this.dirs[0], "kid");
+ }
+
+ this.changeorder = function(){
+ fw.addjs("<?php echo $basedir ?>ki_js_changeorder.php?reldir=<?php echo $reldir ?>&gallery=" + this.dirs[0], "kic");
+ }
+
+ this.managefolders = function(){
+ fw.addjs("<?php echo $basedir ?>ki_js_managefolders.php?reldir=<?php echo $reldir ?>", "kim");
+ }
+
+ this.showhelp = function(obj, direction, messCode){
+
+ var message = "";
+ var helpBox = $("kib_helpbox");
+
+ var pointer;
+ var infosymbol = "<?php draw_image("ki_nav_info.png", "", "border:0px; vertical-align:bottom; display:inline; float:right; padding:0px 0px 8px 8px;", ""); ?>";
+
+ switch(messCode){
+ case 1:
+ message = "If you want to label an image just click on it and start typing. Press \"CTRL + Enter\" to save it. The next image will open automatically and you can keep labeling ...";
+ break;
+ case 2:
+ message = "Press \"CTRL + Enter\" to save your label.";
+ break;
+ case 3:
+ message = "Drag'n'Drop an image to change it's position in the gallery. There is also the '$pic_order'-parameter in the Settings-section which sets the main image order strategy for individual galleries.";
+ break;
+ case 4:
+ message = "Click on an image to delete it from the gallery.";
+ break;
+ case 5:
+ message = "You can upload a watermark first. Afterwards you can add this watermark to images which you upload to the gallery. The watermark position and size are controlled by the $watermark_hori/vert/size - parameters.";
+ break;
+ }
+
+ var pos = fw.findPos(obj);
+ var dim = fw.getDim(obj);
+
+ helpBox.style.visibility = "hidden";
+ helpBox.innerHTML = infosymbol + message;
+ var boxH = fw.getDim(helpBox)[1];
+
+ switch(direction){
+ case 1:
+ pointer = "<?php draw_image("ki_arrow.php?ot=0", "", "border:0px; vertical-align:bottom; position:absolute; left:-27px; top:0px; padding:0px;", ""); ?>";
+ helpBox.style.left = pos[0] + dim[0] + 15 + "px";
+ helpBox.style.top = pos[1] + 0.5*dim[1] - 15 + "px";
+ break;
+ case 2:
+ pointer = "<?php draw_image("ki_arrow.php?ot=1", "", "border:0px; vertical-align:bottom; position:absolute; left:70px; top:-27px; padding:0px;", ""); ?>";
+ helpBox.style.left = pos[0] + 0.5*dim[0] - 85 + "px";
+ helpBox.style.top = pos[1] + dim[1] + 30 + "px";
+ break;
+ case 3:
+ pointer = "<?php draw_image("ki_arrow.php?ot=2", "", "border:0px; vertical-align:bottom; position:absolute; right:-26px; top:0px; padding:0px;", ""); ?>";
+ helpBox.style.left = pos[0] - 170 - 15 + "px";
+ helpBox.style.top = pos[1] + 0.5*dim[1] - 15 + "px";
+ break;
+ case 4:
+ pointer = "<?php draw_image("ki_arrow.php?ot=3", "", "border:0px; vertical-align:bottom; position:absolute; left:70px; bottom:-26px; padding:0px;", ""); ?>";
+ helpBox.style.left = pos[0] + 0.5*dim[0] - 85 + "px";
+ helpBox.style.top = pos[1] - boxH - 30 + "px";
+ break;
+ }
+
+ helpBox.innerHTML += pointer;
+
+ helpBox.style.display = "none";
+ helpBox.style.visibility = "visible";
+ fw.fade(helpBox, 100);
+
+ }
+
+ this.hidehelp = function(){
+ var helpBox = $("kib_helpbox");
+ fw.fade(helpBox, 0, Array(function(){
+ helpBox.style.visibility = "hidden";
+ helpBox.style.display = "block";
+ }));
+ }
+ <?php } ?>
+
+ //direction: 0 = static 1 = left, 2 = right, 3 = top, 4 = bottom
+ this.inc = function(gallerynumber, direction, startfrom, collectinfo) {
+ var params = "?reldir=<?php echo $reldir ?>&gallery=" + this.dirs[gallerynumber] + "&gallerynumber=" + gallerynumber;
+ if(startfrom)params += "&startfrom="+startfrom;
+ if(collectinfo)
+ params += "&collectinfo=1";
+ else {
+ collectinfo = 0;
+ }
+ fw.getHTTP("<?php echo $basedir ?>ki_koschtit.php" + params, gotinc, new Array(direction, gallerynumber, collectinfo));
+ }
+
+ function gotinc(responseText, params) {
+ var direction = params[0];
+ var gallerynumber = params[1];
+ var collectinfo = params[2];
+
+ var container = $(kib.dirs[gallerynumber]+"_"+gallerynumber+"_see");
+ var switcher = $(kib.dirs[gallerynumber]+"_"+gallerynumber+"_hide");
+ container.id = kib.dirs[gallerynumber]+"_"+gallerynumber+"_hide";
+ switcher.id = kib.dirs[gallerynumber]+"_"+gallerynumber+"_see";
+
+ if(collectinfo == 1)container.parentNode.removeChild($(kib.dirs[gallerynumber]+"_"+gallerynumber+"_wait"));
+
+ container.innerHTML = responseText;
+
+ if(collectinfo == 1){
+ var jsontxt = $(gallerynumber+"_info").value;
+ kib.pics[gallerynumber] = eval("(" + jsontxt + ")");
+ <?php if($shade_while_loading == 1){ ?>
+ if(gallerynumber == kib.dirs.length - 1){
+ setTimeout( function(){
+ fw.shadebody(0);
+ }, 1000);
+ }
+ <?php } ?>
+ if(gallerynumber == galleries.length-1){
+ if(typeof(kit_opensharedpic) == "function")kit_opensharedpic();
+ }
+ }
+
+ var x = parseInt(container.parentNode.style.width);
+ var y = parseInt(container.parentNode.style.height);
+ var xto = 0;
+ var yto = 0;
+ if(direction > 2)
+ var onlydir = 3;
+ else
+ var onlydir = 2;
+ if(direction == 1){xto = x;}
+ if(direction == 2){xto = -x;}
+ if(direction == 3){yto = y;}
+ if(direction == 4){yto = -y;}
+
+ container.style.overflow = "hidden";
+ container.parentNode.style.overflow = "hidden";
+ container.style.left = -1*xto+"px";
+ container.style.top = -1*yto+"px";
+ container.style.display = "block";
+
+ fw.move(container, onlydir, 0, 0);
+ fw.move(switcher, onlydir, xto, yto, Array( function(){
+ var node = document.createElement("div");
+ node.id = switcher.id;
+ node.style.position = "absolute";
+ node.style.height = "100%";
+ node.style.width = "100%";
+ node.style.overflow = "hidden";
+ node.style.lineHeight = "12px";
+ node.style.display = "none";
+ var parnt = switcher.parentNode;
+ parnt.removeChild(switcher);
+ parnt.appendChild(node);
+
+ container.style.overflow = "visible";
+ container.parentNode.style.overflow = "visible";
+
+ <?php $breite = getimagesize("ki_nav_next.png"); ?>
+ var cs = kib.customsettings[kib.dirs[gallerynumber]] ? kib.customsettings[kib.dirs[gallerynumber]] : kib.customsettings['default'];
+ var ysize = cs[1];
+ if(cs[6] == 1){
+ for(var i = container.childNodes.length-1; i > 0; i--){
+ if(container.childNodes[i]){
+ if(container.childNodes[i].nodeName == "IMG"){
+ var temp2 = container.childNodes[i].alt.split("_");
+ ysize = parseInt(parseInt(temp2[3]) + 0.5*(parseInt(temp2[1]) + cs[8]*2));
+ break;
+ }
+ }
+ }
+ for(var j = 0; j < 10; j++){
+ if(container.childNodes[j]){
+ if(container.childNodes[j].nodeName == "IMG"){
+ temp2 = container.childNodes[j].alt.split("_");
+ ysize = ysize + parseInt(parseInt(temp2[3]) + 0.5*(parseInt(temp2[1]) + cs[8]*2));
+ if((cs[9] == 1 && cs[10] == 1) || (mouseover[gallerynumber] == 1 && cs[9] == 1 && cs[10] == 0))ysize += <?php echo $breite[1]+18 ?>;
+ if(ysize <= cs[1]){
+ fw.resize(parnt, 4, 0, ysize);
+ } else {
+ var temp = fw.getDim(parnt, 1)[1];
+ if(cs[9] == 1)temp += <?php echo $breite[1]+18 ?>;
+ if(ysize > temp){
+ fw.resize(parnt, 4, 0, ysize);
+ }
+ }
+ if(mouseover[gallerynumber] == 1 && cs[9] == 1 && cs[10] == 0)ysize -= <?php echo $breite[1]+18 ?>;
+ break;
+ }
+ }
+ }
+ }
+ if(cs[9] == 1){
+ var tbcontent = "";
+ var breite = 0;
+ if(cs[15] == 1){
+ tbcontent += "<?php draw_image("ki_nav_full.png", "", "cursor:pointer; border:0px; margin:0px 2px 0px 2px; padding-top:2px; display:inline;", "onclick=\\\"kib.startExplorer(\" + gallerynumber + \");\\\" onmouseover=\\\"this.style.padding = '0px 0px 2px 0px';\\\" onmouseout=\\\"this.style.padding = '2px 0px 0px 0px';\\\" title='".htmlentities(stripslashes($nav_maxi), ENT_QUOTES, "UTF-8")."'"); ?>";
+ breite += (4 + <?php echo $breite[0] ?>);
+ }
+ if(cs[11] == 1 && kib.pics[gallerynumber].length > 0){
+ tbcontent += "<?php draw_image("ki_nav_play.png", "", "cursor:pointer; border:0px; margin:0px 2px 0px 2px; padding-top:2px; display:inline;", "onclick=\\\"kib.slideshow(\" + gallerynumber + \");\\\" onmouseover=\\\"this.style.padding = '0px 0px 2px 0px';\\\" onmouseout=\\\"this.style.padding = '2px 0px 0px 0px';\\\" title='".htmlentities(stripslashes($slideshow_start), ENT_QUOTES, "UTF-8")."'"); ?>";
+ breite += (4 + <?php echo $breite[0] ?>);
+ }
+ if($(gallerynumber+"_prev")){
+ tbcontent += "<?php draw_image("ki_nav_prev.png", "", "cursor:pointer; border:0px; margin:0px 2px 0px 2px; padding-top:2px; display:inline;", "onclick=\\\"kib.inc(\" + gallerynumber + \", 1, \" + $(gallerynumber+\"_prev\").innerHTML + \");\\\" onmouseover=\\\"this.style.padding = '0px 0px 2px 0px';\\\" onmouseout=\\\"this.style.padding = '2px 0px 0px 0px';\\\" title='".htmlentities(stripslashes($nav_back), ENT_QUOTES, "UTF-8")."'"); ?>";
+ breite += (4 + <?php echo $breite[0] ?>);
+ }
+ if($(gallerynumber+"_next")){
+ tbcontent += "<?php draw_image("ki_nav_next.png", "", "cursor:pointer; border:0px; margin:0px 2px 0px 2px; padding-top:2px; display:inline;", "onclick=\\\"kib.inc(\" + gallerynumber + \", 2, \" + $(gallerynumber+\"_next\").innerHTML + \");\\\" onmouseover=\\\"this.style.padding = '0px 0px 2px 0px';\\\" onmouseout=\\\"this.style.padding = '2px 0px 0px 0px';\\\" title='".htmlentities(stripslashes($nav_next), ENT_QUOTES, "UTF-8")."'"); ?>";
+ breite += (4 + <?php echo $breite[0] ?>);
+ }
+ if(breite != 0){
+ breite -= 4;
+ } else {
+ return;
+ }
+ var navpos = 0;
+ if(cs[14] == "right"){
+ navpos = -4;
+ } else if(cs[14] == "left"){
+ navpos = 4;
+ } else {
+ breite += 16;
+ navpos = (cs[0]-breite+2)*0.5;
+ }
+ if(cs[9] == 1 && cs[10] == 0)ysize += (<?php echo $breite[1] ?> + 18);
+ fw.addtoolbar(container, tbcontent, navpos, ysize - <?php echo $breite[1] ?> - 14, 1);
+ var tb = $(container.id + "_tb");
+ tb.style.background = cs[12];
+ if(cs[7] == 2){
+ tb.style.borderRadius = "20px";
+ tb.style.MozBorderRadius = "20px";
+ tb.style.WebkitBorderRadius = "20px";
+ }
+ tb.style.border = "2px solid " + cs[13];
+ tb.style.padding = "1px 3px 3px 3px";
+ tb.style.lineHeight = "12px";
+ if(collectinfo == 1 && cs[10] == 0)tb.style.display = "none";
+ }
+ } ));
+ }
+
+ this.getImage = function(picstring) {
+ var temp = picstring.indexOf("_");
+ var gallerynumber = Number(picstring.substr(0, temp));
+ var picnumber = Number(picstring.substr(temp+1));
+ var params = Array( gallerynumber, picnumber );
+ var error = 0;
+ if(gallerynumber >= this.pics.length){
+ error = 1;
+ } else {
+ if(picnumber >= this.pics[gallerynumber].length)error = 1;
+ }
+ if(error == 1 || isNaN(picnumber)|| isNaN(gallerynumber)){
+ alert("ERROR: KoschtIT Image Gallery didn't find the picture you want to display.");
+ return;
+ }
+ <?php if($admin_ok == 1){ ?>
+ fw.addjs("<?php echo $basedir ?>ki_js_view.php?reldir=<?php echo $reldir ?>&gallery="+kib.dirs[gallerynumber]+"&admin=<?php echo $_GET['admin'] ?>", "kiv", params);
+ <?php } else { ?>
+ fw.addjs("<?php echo $basedir ?>ki_js_view.php?reldir=<?php echo $reldir ?>&gallery="+kib.dirs[gallerynumber], "kiv", params);
+ <?php } ?>
+ }
+
+ this.slideshow = function(gallerynumber) {
+ kib.getImage(gallerynumber + "_0");
+ (function(){
+ if($("thepicture")){
+ var sspic = $("ssbutton");
+ <?php if($browser != "ie6"){ ?>
+ sspic.src = "<?php echo $basedir ?>ki_nav_stop.png";
+ <?php } else { ?>
+ sspic.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo $basedir ?>ki_nav_stop.png)";
+ <?php } ?>
+ sspic.title = "<?php echo htmlentities(stripslashes($slideshow_stop), ENT_QUOTES, "UTF-8") ?>";
+ if($("kiv_gps"))$("kiv_gps").value = "0,0";
+ if($("kiv_help"))$("kiv_help").style.display = "none";
+ kiv.sshelp(1);
+ return;
+ }
+ setTimeout(arguments.callee, 10);
+ })();
+ }
+
+ this.startExplorer = function(gallerynumber) {
+ var params = Array();
+ params.push(gallerynumber);
+ fw.addjs("<?php echo $basedir ?>ki_js_explorer.php?reldir=<?php echo $reldir ?>&gallery="+kib.dirs[gallerynumber], "kie", params);
+ }
+
+ this.makebigger = function(obj){
+ var temp = obj.id.split("_");
+ var cs = kib.customsettings[kib.dirs[temp[0]]] ? kib.customsettings[kib.dirs[temp[0]]] : kib.customsettings['default'];
+ var faktor = cs[5];
+ var temp = obj.alt.split("_");
+ var size = Array( temp[0], temp[1] );
+ var newsize = Array( Math.round(size[0]*faktor), Math.round(size[1]*faktor) );
+ var pos = Array( temp[2], temp[3] );
+ var newpos = Array( pos[0]-0.5*(newsize[0]-size[0]), pos[1]-0.5*(newsize[1]-size[1]) );
+ fw.move(obj, 1, newpos[0], newpos[1]);
+ fw.resize(obj, 1, newsize[0], newsize[1]);
+ obj.style.zIndex = 100;
+ obj.style.borderColor = cs[4];
+ if(cs[16] == 1)fw.dropshadow(obj, 1);
+ }
+
+ this.makesmaller = function(obj){
+ var temp = obj.alt.split("_");
+ var newsize = Array( temp[0], temp[1] );
+ var newpos = Array( temp[2], temp[3] );
+ fw.move(obj, 1, newpos[0], newpos[1]);
+ fw.resize(obj, 1, newsize[0], newsize[1]);
+ obj.style.zIndex = 0;
+ temp = obj.id.split("_");
+ var cs = kib.customsettings[kib.dirs[temp[0]]] ? kib.customsettings[kib.dirs[temp[0]]] : kib.customsettings['default'];
+ obj.style.borderColor = cs[3];
+ if(cs[16] == 1)fw.dropshadow(obj, 0);
+ }
+}
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_changeorder.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_changeorder.php
new file mode 100644
index 00000000..7bb06e65
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_changeorder.php
@@ -0,0 +1,593 @@
+<?php
+ob_start("ob_gzhandler");
+
+session_start();
+
+header("Expires: Mon, 01 Jul 2003 00:00:00 GMT"); // Past date
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Consitnuously modified
+header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
+header("Pragma: no-cache"); // NO CACHE
+
+//----------------------------------------------------------------------------- functions --------------------------------------------------------------------------------
+
+function draw_image($filename, $id, $style, $params) {
+ global $browser, $basedir;
+ $idstring = "";
+ if($id != "")$idstring = "id='".$id."' ";
+ if($browser === "ie6") {
+ $imgsize = getimagesize($filename);
+ echo "<img ".$idstring."style='filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=".$basedir.$filename."); width:".$imgsize[0]."px; height:".$imgsize[1]."px; ".$style."' src='".$basedir."ki_noimage.gif' ".$params." />";
+ } else {
+ if($style != "")$style = " style='".$style."' ";
+ echo "<img ".$idstring."src='".$basedir.$filename."'".$style.$params." />";
+ }
+}
+
+function addEvent($el, $event, $function){
+ global $browser;
+ if($browser == "ie6" || $browser == "ie7"){
+ echo $el.".attachEvent('on".$event."', ".$function.");\n";
+ } else {
+ echo $el.".addEventListener('".$event."', ".$function.", false);\n";
+ }
+}
+
+function removeEvent($el, $event, $function){
+ global $browser;
+ if($browser == "ie6" || $browser == "ie7"){
+ echo $el.".detachEvent('on".$event."', ".$function.");\n";
+ } else {
+ echo $el.".removeEventListener('".$event."', ".$function.", false);\n";
+ }
+}
+
+//------------------------------------------------------------------------ end functions ----------------------------------------------------------------------------------
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [9]/",$browser))
+ $browser = "ie9";
+elseif(preg_match("/MSIE [7-8]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+if($browser == "ie6")
+ $posfix = "absolute";
+else
+ $posfix = "fixed";
+
+if(isset($_GET['reldir']))
+ $reldir = $_GET['reldir'];
+else
+ $reldir = "";
+
+if(isset($_GET['gallery']))
+ $gallery = $_GET['gallery'];
+else
+ $gallery = "";
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $gallery))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+$confdir = $reldir."ki_config/";
+$galleriesdir = $reldir."ki_galleries/";
+$basedir = $reldir."ki_base/";
+
+include_once("../ki_config/ki_setup.php");
+if(is_file("../ki_config/".$gallery."_ki_setup.php"))include_once("../ki_config/".$gallery."_ki_setup.php");
+
+$pwok = 0;
+if(isset($_SESSION['pwquery'])){
+ if($_SESSION['pwquery'] === $pw)$pwok = 1;
+}
+if($pwok == 0)exit();
+
+header("Content-Type: application/x-javascript");
+?>
+
+// Change image order module 'kic' --------------------------------------------------------------------
+
+function kic_module(){
+
+ /* -------------------------------- variables ----------------------------------- */
+
+ var windowX;
+ var windowY;
+ var currentfolder = "";
+ var gallerynumber = -1;
+
+ var waitforanim = 0;
+ var dragobj = -1;
+ var hoverobj = -1;
+ var direction = 0;
+
+ /* -------------------------------- getElementById function --------------------- */
+
+ function $(id){
+ return document.getElementById(id);
+ }
+
+ /* -------------------------------- constructor/descturctor --------------------- */
+
+ this.constr = function(params){
+ if(typeof(kiv_module) == "function")kiv.closeImage();
+ if(typeof(kie_module) == "function")kie.closeGallery();
+ if(typeof(kis_module) == "function")kis.closeSettings();
+ if(typeof(kid_module) == "function")kid.close();
+ if(typeof(kiu_module) == "function")kiu.closeUpload();
+ if(typeof(kim_module) == "function")kim.close();
+ fw.shadebody(1);
+ var node;
+ if(!$("kic_maindiv")){
+ node = document.createElement("div");
+ node.id = "kic_maindiv";
+ node.style.background = "#aaaaaa";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.left = "0px";
+ node.style.top = "0px";
+ node.style.zIndex = 1000;
+ node.style.overflowX = "hidden";
+ node.style.overflowY = "auto";
+ node.style.display = "block";
+ node.style.padding = "4px";
+ node.innerHTML = "<div id='kic_changediv' style='background:#D2D2D2; border:1px solid #000000; display:none; position:relative;'></div>";
+ document.body.appendChild(node);
+ }
+ if(!$("kic_topdiv")){
+ node = document.createElement("div");
+ node.id = "kic_topdiv";
+ node.style.background = "#aaaaaa";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.height = "45px";
+ node.style.zIndex = 1001;
+ node.style.padding = "5px 20px 0px 120px";
+ node.style.font = "12px Tahoma, sans-serif";
+ node.style.color = "#222222";
+ node.style.borderBottom = "1px solid #000000";
+ node.style.borderRight = "1px solid #000000";
+ node.style.left = "0px";
+ node.style.top = "0px";
+ var dirs = "";
+ for(var i = 0; i < kib.dirs.length; i++){
+ dirs = dirs + "<span style='cursor:pointer; text-decoration:underline;margin-right:5px; line-height:14px;' onclick=\"kic.setFolder(" + i + ")\">" + kib.dirs[i] + "</span>";
+ if(kib.dirs[i] == "<?php echo $gallery ?>")gallerynumber = i;
+ }
+ currentfolder = "<?php echo $gallery ?>";
+ node.innerHTML = "<div style='margin-bottom:5px;'><span style='font-size:14px; line-height:18px; font-weight:bold; color:#003; margin-right:5px;'>Selected gallery folder</span><span style='background:#003; border:1px solid #CCC; padding:3px; color:#ffffff;' id='kic_selfolder'>" + currentfolder + "</span></div>" + dirs;
+ document.body.appendChild(node);
+ }
+ if(!$("kic_botdiv")){
+ node = document.createElement("div");
+ node.id = "kic_botdiv";
+ node.style.background = "#aaaaaa";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.zIndex = 1001;
+ node.style.padding = "5px";
+ node.style.font = "12px Tahoma, sans-serif";
+ node.style.color = "#222222";
+ node.style.borderTop = "1px solid #000000";
+ node.style.borderRight = "1px solid #000000";
+ node.style.borderLeft = "1px solid #000000";
+ node.style.right = "25px";
+ node.style.bottom = "0px";
+ node.innerHTML = "<input type='button' value='Close' style='float:right; margin:0px; padding:0px; cursor:pointer; border:1px solid #000; height:26px; width:150px;' onclick='kic.close()' />";
+ document.body.appendChild(node);
+ kib.showhelp(node, 4, 3);
+ node.onmouseover = function(){
+ kib.hidehelp();
+ }
+ }
+ if(!$("kic_wait")){
+ node = document.createElement("div");
+ node.id = "kic_wait";
+ node.style.background = "<?php echo $bord_color ?>";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.left = "50%";
+ node.style.top = "50%";
+ node.style.zIndex = 10000;
+ node.style.width = "200px";
+ node.style.height = "40px";
+ node.style.marginLeft = "-106px";
+ node.style.marginTop = "-26px";
+ node.style.border = "2px solid <?php echo $nav_border_color ?>";
+ node.style.color = "<?php echo $comm_text_color ?>";
+ node.style.font = "14px normal <?php echo $comm_text_font ?>";
+ node.style.padding = "8px 4px 0px 4px";
+ node.style.textAlign = "center";
+ node.style.lineHeight = "17px";
+ node.style.display = "none";
+ node.innerHTML = "Please wait, while folder being scanned ...";
+ document.body.appendChild(node);
+ }
+ <?php addEvent("window", "resize", "viewdim"); ?>
+ viewdim();
+ <?php
+ if(!in_array($browser, array("ie6", "ie7", "ie9", "webkit"))){
+ addEvent("document", "keypress", "kic_taste");
+ } else {
+ addEvent("document", "keydown", "kic_taste");
+ }
+ ?>
+ <?php addEvent("document", "mousemove", "mousemoved"); ?>
+ openGallery();
+ }
+
+ this.destr = function(){
+ <?php removeEvent("window", "resize", "viewdim"); ?>
+ document.body.removeChild($("kic_maindiv"));
+ document.body.removeChild($("kic_wait"));
+ document.body.removeChild($("kic_topdiv"));
+ document.body.removeChild($("kic_botdiv"));
+ <?php
+ if(!in_array($browser, array("ie6", "ie7", "ie9", "webkit"))){
+ removeEvent("document", "keypress", "kic_taste");
+ } else {
+ removeEvent("document", "keydown", "kic_taste");
+ }
+ ?>
+ <?php removeEvent("document", "mousemove", "mousemoved"); ?>
+ fw.shadebody(0);
+ }
+
+ /* -------------------------------- methodes ------------------------------------ */
+
+ function viewdim(){
+ if(window.innerHeight){
+ windowX = window.innerWidth - 10;
+ windowY = window.innerHeight - 10;
+ } else if(document.documentElement && document.documentElement.clientHeight){ // Explorer 6 Strict Mode
+ windowX = document.documentElement.clientWidth - 10;
+ windowY = document.documentElement.clientHeight - 10;
+ } else if (document.body){ // other Explorers
+ windowX = document.body.clientWidth - 10;
+ windowY = document.body.clientHeight - 10;
+ }
+ var maindiv = $("kic_maindiv");
+ maindiv.style.width = windowX + 2 + "px";
+ maindiv.style.height = windowY + 2 + "px";
+ var container = $("kic_changediv").childNodes;
+ var laenge = container.length - 1;
+ if(laenge != -1){
+ for(var i = 0; i < laenge; i++){
+ var temp = container[i].alt.split("_");
+ container[i].alt = temp[0] + "_" + temp[1];
+ }
+ placeimages();
+ }
+ }
+
+ function openGallery(){
+ $("kic_wait").style.display = "block";
+ var params = "?reldir=<?php echo $reldir ?>&gallery=" + currentfolder + "&gallerynumber=" + gallerynumber + "&tochange=1";
+ fw.getHTTP("<?php echo $basedir ?>ki_explorer.php" + params, kic.gotGallery);
+ }
+
+ this.gotGallery = function(responseText){
+ $("kic_wait").style.display = "none";
+ var changediv = $("kic_changediv");
+ changediv.innerHTML = responseText;
+ changediv.style.display = "block";
+ placeimages();
+ }
+
+ function placeimages(){
+<?php
+$temp = getimagesize("ki_nav_next.png");
+if($nav_always == 1 && $show_nav == 1)$fr_height -= ($temp[1]+18);
+if($th_lines == "auto")$th_lines = ceil($thumbs/($th_per_line));
+if($th_width == "auto")$th_width = round($fr_width/($th_per_line)) - round($fr_height*0.04) - 4;
+if($th_height == "auto")$th_height = round($fr_height/($th_lines)) - round($fr_height*0.04) - 4;
+if($th_to_square == 1) {
+ if($th_width >= $th_height){
+ $th_width = $th_height;
+ }
+ $th_height = $th_width;
+}
+echo "var th_width = ".($th_width-2*$th_bord_size).";";
+echo "var th_height = ".($th_height-2*$th_bord_size).";";
+?>
+ var prozeile = Math.floor(windowX/(th_width+<?php echo $explorer_padding+2*$th_bord_size ?>));
+ var offsetx = (windowX - (prozeile*(th_width+<?php echo $explorer_padding+2*$th_bord_size ?>)))*0.5;
+ var spaltenbreite = (windowX - 2*offsetx)/prozeile;
+ var zeilenhoehe = th_height+<?php echo $explorer_padding+2*$th_bord_size ?>;
+ var offsety = <?php echo $explorer_padding*0.5 ?>;
+
+ var zeile = 1;
+ var spalte = 1;
+
+ var zaehler = 0;
+ var container = $("kic_changediv").childNodes;
+ var act_width;
+ var act_height;
+ for(var i = 0; i < container.length - 1; i++){
+ var bild = container[i];
+ <?php if($th_to_square == 0){ ?>
+ var bildalt = bild.alt.split("_");
+ if(bildalt[0] >= bildalt[1]){
+ var k = bildalt[1]/bildalt[0];
+ act_width = th_width;
+ act_height = k*act_width;
+ if(act_height > th_height){
+ act_height = th_height;
+ act_width = (1/k) * act_height;
+ }
+ } else {
+ var k = bildalt[0]/bildalt[1];
+ act_height = th_height;
+ act_width = k*act_height;
+ if(act_width > th_width){
+ act_width = th_width;
+ act_height = (1/k) * act_width;
+ }
+ }
+ <?php } else { ?>
+ if(th_width < th_height){
+ act_width = th_width;
+ } else {
+ act_width = th_height;
+ }
+ act_height = act_width;
+ <?php } ?>
+ xpos = Math.round(offsetx + spaltenbreite*(spalte-0.5) - 0.5*act_width - <?php echo $th_bord_size ?>);
+ ypos = Math.round(offsety + zeilenhoehe*(zeile-0.5) - 0.5*act_height - <?php echo $th_bord_size ?>);
+
+ bild.style.left = xpos + "px";
+ bild.style.top = ypos + "px";
+ bild.alt = bild.alt + "_"+xpos+"_"+ypos;
+ zaehler++;
+ spalte++;
+ if(zaehler >= prozeile){
+ zaehler = 0;
+ zeile++;
+ spalte = 1;
+ }
+ }
+ $("kic_changediv").lastChild.style.position = "static";
+ $("kic_changediv").lastChild.style.paddingTop = ypos + (0.5*act_height) + "px";
+ $("kic_changediv").lastChild.style.height = 0.5*th_height + <?php echo 2*$th_bord_size+$explorer_padding ?> + "px";
+ }
+
+ this.setFolder = function(folder){
+ if(kib.dirs[folder] !== currentfolder){
+ fw.removejs("kic");
+ fw.addjs("<?php echo $basedir ?>ki_js_changeorder.php?reldir=<?php echo $reldir ?>&gallery=" + kib.dirs[folder], "kic");
+ }
+ }
+
+ this.selectForDrag = function(obj){
+ if(dragobj != -1)return;
+ var temp = obj.id.indexOf("_");
+ var picnumber = Number(obj.id.substr(temp+1));
+ obj.style.zIndex = 0;
+ fw.fade(obj, 50);
+ dragobj = obj;
+ }
+
+ function mousemoved(aEvent) {
+ if(dragobj == -1)return;
+ aEvent = aEvent ? aEvent : window.event;
+ var x = aEvent.clientX ? aEvent.clientX : aEvent.pageX;
+ var y = aEvent.clientY ? aEvent.clientY : aEvent.pageY;
+
+ var maindiv = $("kic_maindiv");
+ y += maindiv.scrollTop;
+
+ var objalt = dragobj.alt.split("_");
+
+ dragobj.style.left = x - 0.5*objalt[0] + "px";
+ dragobj.style.top = y - 0.5*objalt[1] + "px";
+ }
+
+ this.releaseForDrag = function(obj){
+ if(dragobj == -1 || obj != dragobj){
+ return;
+ }
+ var objalt = dragobj.alt.split("_");
+ if(hoverobj == -1){
+ obj.style.zIndex = 1;
+ fw.fade(dragobj, 100);
+ fw.move(dragobj, 1, objalt[2], objalt[3]);
+ } else {
+ var temp = hoverobj.id.indexOf("_");
+ var picnumber = Number(hoverobj.id.substr(temp+1))-1;
+ var newpos = -1;
+ var hoverobjalt = hoverobj.alt.split("_");
+ if(direction == 1){
+ if(hoverobj.getAttribute("moved") == 0){
+ newpos = picnumber;
+ hoverobjalt = hoverobj.previousSibling.alt.split("_");
+ } else {
+ newpos = picnumber + 1;
+ }
+ }
+ if(direction == -1){
+ if(hoverobj.getAttribute("moved") == 0){
+ newpos = picnumber + 2;
+ hoverobjalt = hoverobj.nextSibling.alt.split("_");
+ } else {
+ newpos = picnumber + 1;
+ }
+ }
+ temp = dragobj.id.indexOf("_");
+ var oldpos = Number(dragobj.id.substr(temp+1));
+ if(oldpos == newpos){
+ obj.style.zIndex = 1;
+ fw.fade(dragobj, 100);
+ fw.move(dragobj, 1, objalt[2], objalt[3]);
+ } else {
+ obj.style.zIndex = 1;
+ fw.fade(dragobj, 100);
+ var left = parseInt(hoverobjalt[2]) + 0.5*(parseInt(hoverobjalt[0])-parseInt(objalt[0]));
+ var top = parseInt(hoverobjalt[3]) + 0.5*(parseInt(hoverobjalt[1])-parseInt(objalt[1]));
+ var forcopy = dragobj;
+ fw.move(dragobj, 1, left, top, Array(function(){
+ var clone = forcopy.cloneNode(true);
+ clone.id = gallerynumber + "_" + newpos;
+ if(direction == -1){
+ forcopy.parentNode.insertBefore(clone, forcopy.parentNode.childNodes[newpos]);
+ } else {
+ forcopy.parentNode.insertBefore(clone, forcopy.parentNode.childNodes[newpos+1]);
+ }
+ forcopy.parentNode.removeChild(forcopy);
+ for(var i = 0; i < clone.parentNode.childNodes.length-1; i++){
+ var tempobj = clone.parentNode.childNodes[i];
+ var tempobjalt = tempobj.alt.split("_");
+ tempobj.alt = tempobjalt[0]+"_"+tempobjalt[1];
+ tempobj.id = gallerynumber + "_" + i;
+ tempobj.setAttribute("moved", 0);
+ }
+ placeimages();
+ }));
+ saveneworder(oldpos, newpos);
+ }
+ }
+ dragobj = -1;
+ hoverobj = -1;
+ }
+
+ this.hoverDrag = function(obj){
+ if(dragobj == -1)return;
+ if(obj == dragobj)return;
+
+ var temp = obj.id.indexOf("_");
+ var picnumber = Number(obj.id.substr(temp+1))+1;
+
+ temp = dragobj.id.indexOf("_");
+ var dragpicnumber = Number(dragobj.id.substr(temp+1))+1;
+
+ if(dragpicnumber > picnumber){
+ if(direction == 1){
+ for(var i = dragpicnumber; i < obj.parentNode.childNodes.length; i++){
+ var tempobj = obj.parentNode.childNodes[i-1];
+ if(tempobj.getAttribute("moved") == 1){
+ tempobj.setAttribute("moved", 0);
+ var tempobjalt = tempobj.alt.split("_");
+ var left = tempobjalt[2];
+ var top = tempobjalt[3];
+ fw.move(tempobj, 1, left, top);
+ }
+ }
+ }
+ direction = -1;
+ if(obj.getAttribute("moved") == 0){
+ for(var i = picnumber; i < dragpicnumber; i++){
+ var tempobj = obj.parentNode.childNodes[i-1];
+ tempobj.setAttribute("moved", 1);
+ var tempobjalt = tempobj.alt.split("_");
+ var movethumb = obj.parentNode.childNodes[i];
+ var movethumbalt = movethumb.alt.split("_");
+ var left = parseInt(movethumbalt[2]) + 0.5*(parseInt(movethumbalt[0])-parseInt(tempobjalt[0]));
+ var top = parseInt(movethumbalt[3]) + 0.5*(parseInt(movethumbalt[1])-parseInt(tempobjalt[1]));
+ fw.move(tempobj, 1, left, top);
+ }
+ } else {
+ for(var i = picnumber; i > 0; i--){
+ var tempobj = obj.parentNode.childNodes[i-1];
+ if(tempobj.getAttribute("moved") == 1){
+ tempobj.setAttribute("moved", 0);
+ var tempobjalt = tempobj.alt.split("_");
+ var left = tempobjalt[2];
+ var top = tempobjalt[3];
+ fw.move(tempobj, 1, left, top);
+ } else {
+ break;
+ }
+ }
+ }
+ } else {
+ if(direction == -1){
+ for(var i = dragpicnumber; i > 0; i--){
+ var tempobj = obj.parentNode.childNodes[i-1];
+ if(tempobj.getAttribute("moved") == 1){
+ tempobj.setAttribute("moved", 0);
+ var tempobjalt = tempobj.alt.split("_");
+ var left = tempobjalt[2];
+ var top = tempobjalt[3];
+ fw.move(tempobj, 1, left, top);
+ }
+ }
+ }
+ direction = 1;
+ if(obj.getAttribute("moved") == 0){
+ for(var i = picnumber; i > dragpicnumber; i--){
+ var tempobj = obj.parentNode.childNodes[i-1];
+ tempobj.setAttribute("moved", 1);
+ var tempobjalt = tempobj.alt.split("_");
+ var movethumb = obj.parentNode.childNodes[i-2];
+ var movethumbalt = movethumb.alt.split("_");
+ var left = parseInt(movethumbalt[2]) + 0.5*(parseInt(movethumbalt[0])-parseInt(tempobjalt[0]));
+ var top = parseInt(movethumbalt[3]) + 0.5*(parseInt(movethumbalt[1])-parseInt(tempobjalt[1]));
+ fw.move(tempobj, 1, left, top);
+ }
+ } else {
+ for(var i = picnumber; i < obj.parentNode.childNodes.length; i++){
+ var tempobj = obj.parentNode.childNodes[i-1];
+ if(tempobj.getAttribute("moved") == 1){
+ tempobj.setAttribute("moved", 0);
+ var tempobjalt = tempobj.alt.split("_");
+ var left = tempobjalt[2];
+ var top = tempobjalt[3];
+ fw.move(tempobj, 1, left, top);
+ } else {
+ break;
+ }
+ }
+ }
+ }
+
+ hoverobj = obj;
+ }
+
+ function saveneworder(oldpos, newpos){
+ var params = "?gallery=" + currentfolder + "&oldpos=" + oldpos + "&newpos=" + newpos;
+ fw.getHTTP("<?php echo $basedir ?>ki_saveneworder.php" + params, savedneworder);
+ }
+
+ function savedneworder(responseText){
+ if(responseText != "ok"){
+ var savedfile = currentfolder + "_dir";
+ alert("ERROR: File '"+savedfile+"' could not be saved/modified.");
+ }
+ }
+
+ this.close = function(){
+ kib.hidehelp();
+ var obj = $("kic_changediv").childNodes;
+ for(var i = 0; i < obj.length - 1; i++){
+ obj[i].src = "";
+ }
+ fw.removejs("kic");
+ kib.reinit();
+ }
+
+ function preventDefaultAction(aEvent) {
+ <?php if($browser !== "ie6" && $browser !== "ie7") { ?>
+ aEvent.stopPropagation();
+ <?php } ?>
+ <?php if($browser === "gecko") { ?>
+ aEvent.preventDefault();
+ <?php } ?>
+ <?php if($browser === "opera") { ?>
+ aEvent.returnValue = false;
+ <?php } ?>
+ }
+
+ function kic_taste(aEvent) {
+ aEvent = aEvent ? aEvent : window.event;
+ var keyCode = aEvent.keyCode;
+ if(keyCode == 27){
+ kic.close();
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ }
+
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_delete.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_delete.php
new file mode 100644
index 00000000..10f82757
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_delete.php
@@ -0,0 +1,425 @@
+<?php
+ob_start("ob_gzhandler");
+
+session_start();
+
+header("Expires: Mon, 01 Jul 2003 00:00:00 GMT"); // Past date
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Consitnuously modified
+header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
+header("Pragma: no-cache"); // NO CACHE
+
+//----------------------------------------------------------------------------- functions --------------------------------------------------------------------------------
+
+function draw_image($filename, $id, $style, $params) {
+ global $browser, $basedir;
+ $idstring = "";
+ if($id != "")$idstring = "id='".$id."' ";
+ if($browser === "ie6") {
+ $imgsize = getimagesize($filename);
+ echo "<img ".$idstring."style='filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=".$basedir.$filename."); width:".$imgsize[0]."px; height:".$imgsize[1]."px; ".$style."' src='".$basedir."ki_noimage.gif' ".$params." />";
+ } else {
+ if($style != "")$style = " style='".$style."' ";
+ echo "<img ".$idstring."src='".$basedir.$filename."'".$style.$params." />";
+ }
+}
+
+function addEvent($el, $event, $function){
+ global $browser;
+ if($browser == "ie6" || $browser == "ie7"){
+ echo $el.".attachEvent('on".$event."', ".$function.");\n";
+ } else {
+ echo $el.".addEventListener('".$event."', ".$function.", false);\n";
+ }
+}
+
+function removeEvent($el, $event, $function){
+ global $browser;
+ if($browser == "ie6" || $browser == "ie7"){
+ echo $el.".detachEvent('on".$event."', ".$function.");\n";
+ } else {
+ echo $el.".removeEventListener('".$event."', ".$function.", false);\n";
+ }
+}
+
+//------------------------------------------------------------------------ end functions ----------------------------------------------------------------------------------
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [9]/",$browser))
+ $browser = "ie9";
+elseif(preg_match("/MSIE [7-8]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+if($browser == "ie6")
+ $posfix = "absolute";
+else
+ $posfix = "fixed";
+
+if(isset($_GET['reldir']))
+ $reldir = $_GET['reldir'];
+else
+ $reldir = "";
+
+if(isset($_GET['gallery']))
+ $gallery = $_GET['gallery'];
+else
+ $gallery = "";
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $gallery))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+$confdir = $reldir."ki_config/";
+$galleriesdir = $reldir."ki_galleries/";
+$basedir = $reldir."ki_base/";
+
+include_once("../ki_config/ki_setup.php");
+if(is_file("../ki_config/".$gallery."_ki_setup.php"))include_once("../ki_config/".$gallery."_ki_setup.php");
+
+$pwok = 0;
+if(isset($_SESSION['pwquery'])){
+ if($_SESSION['pwquery'] === $pw)$pwok = 1;
+}
+if($pwok == 0)exit();
+
+header("Content-Type: application/x-javascript");
+?>
+
+// Delete Images module 'kid' --------------------------------------------------------------------
+
+function kid_module(){
+
+ /* -------------------------------- variables ----------------------------------- */
+
+ var windowX;
+ var windowY;
+ var currentfolder = "";
+ var gallerynumber = -1;
+
+ var waitforanim = 0;
+
+ /* -------------------------------- getElementById function --------------------- */
+
+ function $(id){
+ return document.getElementById(id);
+ }
+
+ /* -------------------------------- constructor/descturctor --------------------- */
+
+ this.constr = function(params){
+ if(typeof(kiv_module) == "function")kiv.closeImage();
+ if(typeof(kie_module) == "function")kie.closeGallery();
+ if(typeof(kis_module) == "function")kis.closeSettings();
+ if(typeof(kiu_module) == "function")kiu.closeUpload();
+ if(typeof(kic_module) == "function")kic.close();
+ if(typeof(kim_module) == "function")kim.close();
+ fw.shadebody(1);
+ var node;
+ if(!$("kid_maindiv")){
+ node = document.createElement("div");
+ node.id = "kid_maindiv";
+ node.style.background = "#aaaaaa";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.left = "0px";
+ node.style.top = "0px";
+ node.style.zIndex = 1000;
+ node.style.overflowX = "hidden";
+ node.style.overflowY = "auto";
+ node.style.display = "block";
+ node.style.padding = "4px";
+ node.innerHTML = "<div id='kid_deletediv' style='background:#D2D2D2; border:1px solid #000000; display:none; position:relative;'></div>";
+ document.body.appendChild(node);
+ }
+ if(!$("kid_topdiv")){
+ node = document.createElement("div");
+ node.id = "kid_topdiv";
+ node.style.background = "#aaaaaa";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.height = "45px";
+ node.style.zIndex = 1001;
+ node.style.padding = "5px 20px 0px 120px";
+ node.style.font = "12px Tahoma, sans-serif";
+ node.style.color = "#222222";
+ node.style.borderBottom = "1px solid #000000";
+ node.style.borderRight = "1px solid #000000";
+ node.style.left = "0px";
+ node.style.top = "0px";
+ var dirs = "";
+ for(var i = 0; i < kib.dirs.length; i++){
+ dirs = dirs + "<span style='cursor:pointer; text-decoration:underline;margin-right:5px; line-height:14px;' onclick=\"kid.setFolder(" + i + ")\">" + kib.dirs[i] + "</span>";
+ if(kib.dirs[i] == "<?php echo $gallery ?>")gallerynumber = i;
+ }
+ currentfolder = "<?php echo $gallery ?>";
+ node.innerHTML = "<div style='margin-bottom:5px;'><span style='font-size:14px; line-height:18px; font-weight:bold; color:#003; margin-right:5px;'>Selected gallery folder</span><span style='background:#003; border:1px solid #CCC; padding:3px; color:#ffffff;' id='kid_selfolder'>" + currentfolder + "</span></div>" + dirs;
+ document.body.appendChild(node);
+ }
+ if(!$("kid_botdiv")){
+ node = document.createElement("div");
+ node.id = "kid_botdiv";
+ node.style.background = "#aaaaaa";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.zIndex = 1001;
+ node.style.padding = "5px";
+ node.style.font = "12px Tahoma, sans-serif";
+ node.style.color = "#222222";
+ node.style.borderTop = "1px solid #000000";
+ node.style.borderRight = "1px solid #000000";
+ node.style.borderLeft = "1px solid #000000";
+ node.style.right = "25px";
+ node.style.bottom = "0px";
+ node.innerHTML = "<input type='button' value='Close' style='float:right; margin:0px; padding:0px; cursor:pointer; border:1px solid #000; height:26px; width:150px;' onclick='kid.close()' />";
+ document.body.appendChild(node);
+ kib.showhelp(node, 4, 4);
+ node.onmouseover = function(){
+ kib.hidehelp();
+ }
+ }
+ if(!$("kid_wait")){
+ node = document.createElement("div");
+ node.id = "kid_wait";
+ node.style.background = "<?php echo $bord_color ?>";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.left = "50%";
+ node.style.top = "50%";
+ node.style.zIndex = 10000;
+ node.style.width = "200px";
+ node.style.height = "40px";
+ node.style.marginLeft = "-106px";
+ node.style.marginTop = "-26px";
+ node.style.border = "2px solid <?php echo $nav_border_color ?>";
+ node.style.color = "<?php echo $comm_text_color ?>";
+ node.style.font = "14px normal <?php echo $comm_text_font ?>";
+ node.style.padding = "8px 4px 0px 4px";
+ node.style.textAlign = "center";
+ node.style.lineHeight = "17px";
+ node.style.display = "none";
+ node.innerHTML = "Please wait, while folder being scanned ...";
+ document.body.appendChild(node);
+ }
+ <?php addEvent("window", "resize", "viewdim"); ?>
+ viewdim();
+ <?php
+ if(!in_array($browser, array("ie6", "ie7", "ie9", "webkit"))){
+ addEvent("document", "keypress", "kid_taste");
+ } else {
+ addEvent("document", "keydown", "kid_taste");
+ }
+ ?>
+ openGallery();
+ }
+
+ this.destr = function(){
+ <?php removeEvent("window", "resize", "viewdim"); ?>
+ document.body.removeChild($("kid_maindiv"));
+ document.body.removeChild($("kid_wait"));
+ document.body.removeChild($("kid_topdiv"));
+ document.body.removeChild($("kid_botdiv"));
+ <?php
+ if(!in_array($browser, array("ie6", "ie7", "ie9", "webkit"))){
+ removeEvent("document", "keypress", "kid_taste");
+ } else {
+ removeEvent("document", "keydown", "kid_taste");
+ }
+ ?>
+ fw.shadebody(0);
+ }
+
+ /* -------------------------------- methodes ------------------------------------ */
+
+ function viewdim(){
+ if(window.innerHeight){
+ windowX = window.innerWidth - 10;
+ windowY = window.innerHeight - 10;
+ } else if(document.documentElement && document.documentElement.clientHeight){ // Explorer 6 Strict Mode
+ windowX = document.documentElement.clientWidth - 10;
+ windowY = document.documentElement.clientHeight - 10;
+ } else if (document.body){ // other Explorers
+ windowX = document.body.clientWidth - 10;
+ windowY = document.body.clientHeight - 10;
+ }
+ var maindiv = $("kid_maindiv");
+ maindiv.style.width = windowX + 2 + "px";
+ maindiv.style.height = windowY + 2 + "px";
+ var container = $("kid_deletediv").childNodes;
+ var laenge = container.length - 1;
+ if(laenge != -1){
+ for(var i = 0; i < laenge; i++){
+ var temp = container[i].alt.split("_");
+ container[i].alt = temp[0] + "_" + temp[1];
+ }
+ placeimages();
+ }
+ }
+
+ function openGallery(){
+ $("kid_wait").style.display = "block";
+ var params = "?reldir=<?php echo $reldir ?>&gallery=" + currentfolder + "&gallerynumber=" + gallerynumber + "&todelete=1";
+ fw.getHTTP("<?php echo $basedir ?>ki_explorer.php" + params, kid.gotGallery);
+ }
+
+ this.gotGallery = function(responseText){
+ $("kid_wait").style.display = "none";
+ var deletediv = $("kid_deletediv");
+ deletediv.innerHTML = responseText;
+ deletediv.style.display = "block";
+ placeimages();
+ }
+
+ function placeimages(){
+<?php
+$temp = getimagesize("ki_nav_next.png");
+if($nav_always == 1 && $show_nav == 1)$fr_height -= ($temp[1]+18);
+if($th_lines == "auto")$th_lines = ceil($thumbs/($th_per_line));
+if($th_width == "auto")$th_width = round($fr_width/($th_per_line)) - round($fr_height*0.04) - 4;
+if($th_height == "auto")$th_height = round($fr_height/($th_lines)) - round($fr_height*0.04) - 4;
+if($th_to_square == 1) {
+ if($th_width >= $th_height){
+ $th_width = $th_height;
+ }
+ $th_height = $th_width;
+}
+echo "var th_width = ".($th_width-2*$th_bord_size).";";
+echo "var th_height = ".($th_height-2*$th_bord_size).";";
+?>
+ var prozeile = Math.floor(windowX/(th_width+<?php echo $explorer_padding+2*$th_bord_size ?>));
+ var offsetx = (windowX - (prozeile*(th_width+<?php echo $explorer_padding+2*$th_bord_size ?>)))*0.5;
+ var spaltenbreite = (windowX - 2*offsetx)/prozeile;
+ var zeilenhoehe = th_height+<?php echo $explorer_padding+2*$th_bord_size ?>;
+ var offsety = <?php echo $explorer_padding*0.5 ?>;
+
+ var zeile = 1;
+ var spalte = 1;
+
+ var zaehler = 0;
+ var container = $("kid_deletediv").childNodes;
+ var act_width;
+ var act_height;
+ for(var i = 0; i < container.length - 1; i++){
+ <?php if($th_to_square == 0){ ?>
+ var obj = kib.pics[gallerynumber][i];
+ if(obj.x >= obj.y){
+ var k = obj.y/obj.x;
+ act_width = th_width;
+ act_height = k*act_width;
+ if(act_height > th_height){
+ act_height = th_height;
+ act_width = (1/k) * act_height;
+ }
+ } else {
+ var k = obj.x/obj.y;
+ act_height = th_height;
+ act_width = k*act_height;
+ if(act_width > th_width){
+ act_width = th_width;
+ act_height = (1/k) * act_width;
+ }
+ }
+ <?php } else { ?>
+ if(th_width < th_height){
+ act_width = th_width;
+ } else {
+ act_width = th_height;
+ }
+ act_height = act_width;
+ <?php } ?>
+ xpos = Math.round(offsetx + spaltenbreite*(spalte-0.5) - 0.5*act_width - <?php echo $th_bord_size ?>);
+ ypos = Math.round(offsety + zeilenhoehe*(zeile-0.5) - 0.5*act_height - <?php echo $th_bord_size ?>);
+
+ var bild = container[i];
+ bild.style.left = xpos + "px";
+ bild.style.top = ypos + "px";
+ bild.alt = bild.alt + "_"+xpos+"_"+ypos;
+ zaehler++;
+ spalte++;
+ if(zaehler >= prozeile){
+ zaehler = 0;
+ zeile++;
+ spalte = 1;
+ }
+ }
+ $("kid_deletediv").lastChild.style.position = "static";
+ $("kid_deletediv").lastChild.style.paddingTop = ypos + (0.5*act_height) + "px";
+ $("kid_deletediv").lastChild.style.height = 0.5*th_height + <?php echo 2*$th_bord_size+$explorer_padding ?> + "px";
+ }
+
+ this.setFolder = function(folder){
+ if(kib.dirs[folder] !== currentfolder){
+ fw.removejs("kid");
+ fw.addjs("<?php echo $basedir ?>ki_js_delete.php?reldir=<?php echo $reldir ?>&gallery=" + kib.dirs[folder], "kid");
+ }
+ }
+
+ this.deleteImage = function(obj) {
+ if(waitforanim > 0)return;
+ var temp = obj.id.indexOf("_");
+ var picnumber = Number(obj.id.substr(temp+1));
+ var thumb = obj.src.substr(obj.src.lastIndexOf("/")+1);
+ var params = "?gallery=" + kib.dirs[gallerynumber] + "&file=" + encodeURIComponent(kib.pics[gallerynumber][picnumber].file) + "&thumb=" + encodeURIComponent(thumb);
+ fw.getHTTP("<?php echo $basedir ?>ki_deleteimage.php" + params, null, null);
+
+ var go = 0;
+ for(var i = 1; i < obj.parentNode.childNodes.length-1; i++){
+ var tempobj = obj.parentNode.childNodes[i-1];
+ if(tempobj == obj){
+ waitforanim = obj.parentNode.childNodes.length-1-i;
+ go = 1;
+ }
+ if(go == 0)continue;
+ var tempobjalt = tempobj.alt.split("_");
+ var movethumb = obj.parentNode.childNodes[i];
+ var movethumbalt = movethumb.alt.split("_");
+ var left = parseInt(tempobjalt[2]) + 0.5*(parseInt(tempobjalt[0])-parseInt(movethumbalt[0]));
+ var top = parseInt(tempobjalt[3]) + 0.5*(parseInt(tempobjalt[1])-parseInt(movethumbalt[1]));
+ fw.move(movethumb, 1, left, top, Array( newaltforthumb, movethumb, movethumbalt[0], movethumbalt[1], left, top));
+ }
+ obj.parentNode.removeChild(obj);
+
+ if(go == 0)waitforanim = 0;
+ }
+
+ function newaltforthumb(obj, w, h, l, t){
+ obj.alt = w+"_"+h+"_"+l+"_"+t;
+ waitforanim--;
+ }
+
+ this.close = function(){
+ kib.hidehelp();
+ var obj = $("kid_deletediv").childNodes;
+ for(var i = 0; i < obj.length - 1; i++){
+ obj[i].src = "";
+ }
+ fw.removejs("kid");
+ kib.reinit();
+ }
+
+ function preventDefaultAction(aEvent) {
+ <?php if($browser !== "ie6" && $browser !== "ie7") { ?>
+ aEvent.stopPropagation();
+ <?php } ?>
+ <?php if($browser === "gecko") { ?>
+ aEvent.preventDefault();
+ <?php } ?>
+ <?php if($browser === "opera") { ?>
+ aEvent.returnValue = false;
+ <?php } ?>
+ }
+
+ function kid_taste(aEvent) {
+ aEvent = aEvent ? aEvent : window.event;
+ var keyCode = aEvent.keyCode;
+ if(keyCode == 27){
+ kid.close();
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ }
+
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_explorer.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_explorer.php
new file mode 100644
index 00000000..8615ec7d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_explorer.php
@@ -0,0 +1,349 @@
+<?php
+ob_start("ob_gzhandler");
+
+header("Expires: Mon, 01 Jul 2003 00:00:00 GMT"); // Past date
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Consitnuously modified
+header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
+header("Pragma: no-cache"); // NO CACHE
+
+//----------------------------------------------------------------------------- functions --------------------------------------------------------------------------------
+
+function draw_image($filename, $id, $style, $params) {
+ global $browser, $basedir;
+ $idstring = "";
+ if($id != "")$idstring = "id='".$id."' ";
+ if($browser === "ie6") {
+ $imgsize = getimagesize($filename);
+ echo "<img ".$idstring."style='filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=".$basedir.$filename."); width:".$imgsize[0]."px; height:".$imgsize[1]."px; ".$style."' src='".$basedir."ki_noimage.gif' ".$params." />";
+ } else {
+ if($style != "")$style = " style='".$style."' ";
+ echo "<img ".$idstring."src='".$basedir.$filename."'".$style.$params." />";
+ }
+}
+
+function addEvent($el, $event, $function){
+ global $browser;
+ if($browser == "ie6" || $browser == "ie7"){
+ echo $el.".attachEvent('on".$event."', ".$function.");\n";
+ } else {
+ echo $el.".addEventListener('".$event."', ".$function.", false);\n";
+ }
+}
+
+function removeEvent($el, $event, $function){
+ global $browser;
+ if($browser == "ie6" || $browser == "ie7"){
+ echo $el.".detachEvent('on".$event."', ".$function.");\n";
+ } else {
+ echo $el.".removeEventListener('".$event."', ".$function.", false);\n";
+ }
+}
+
+//------------------------------------------------------------------------ end functions ----------------------------------------------------------------------------------
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [9]/",$browser))
+ $browser = "ie9";
+elseif(preg_match("/MSIE [7-8]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+if($browser == "ie6")
+ $posfix = "absolute";
+else
+ $posfix = "fixed";
+
+if(isset($_GET['reldir']))
+ $reldir = $_GET['reldir'];
+else
+ $reldir = "";
+
+if(isset($_GET['gallery']))
+ $gallery = $_GET['gallery'];
+else
+ $gallery = "";
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $gallery))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+$confdir = $reldir."ki_config/";
+$galleriesdir = $reldir."ki_galleries/";
+$basedir = $reldir."ki_base/";
+
+include_once("../ki_config/ki_setup.php");
+if(is_file("../ki_config/".$gallery."_ki_setup.php"))include_once("../ki_config/".$gallery."_ki_setup.php");
+
+header("Content-Type: application/x-javascript");
+?>
+
+// Explorer module 'kie' --------------------------------------------------------------------
+
+function kie_module(){
+
+ /* -------------------------------- variables ----------------------------------- */
+
+ var windowX;
+ var windowY;
+ var gallerynumber = -1;
+
+ /* -------------------------------- getElementById function --------------------- */
+
+ function $(id){
+ return document.getElementById(id);
+ }
+
+ /* -------------------------------- constructor/descturctor --------------------- */
+
+ this.constr = function(params){
+ gallerynumber = params[0];
+ var node;
+ if(!$("kie_maindiv")){
+ node = document.createElement("div");
+ node.id = "kie_maindiv";
+ node.style.background = "<?php echo $fr_color ?>";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.left = "0px";
+ node.style.top = "0px";
+ node.style.zIndex = 1000;
+ node.style.overflowX = "hidden";
+ node.style.overflowY = "auto";
+ node.style.display = "none";
+ document.body.appendChild(node);
+ }
+ if(!$("kie_tb")){
+ <?php $breite = getimagesize("ki_nav_close.png"); ?>
+ var tbcontent = "<?php draw_image("ki_nav_close.png", "", "cursor:pointer; border:0px; margin:0px 2px 0px 2px; padding-top:2px; display:inline;", "onclick=\\\"kie.closeGallery();\\\" onmouseover=\\\"this.style.padding = '0px 0px 2px 0px';\\\" onmouseout=\\\"this.style.padding = '2px 0px 0px 0px';\\\" title='".htmlentities(stripslashes($nav_kiv_close), ENT_QUOTES, "UTF-8")."'"); ?>";
+ node = document.createElement("div");
+ node.id = "kie_tb";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.top = "-20px";
+ node.style.left = "50%";
+ node.style.marginLeft = "-<?php echo 0.5*($breite[0]+14) ?>px";
+ node.style.background = "<?php echo $nav_color ?>";
+ <?php if($nav_style == 2){ ?>
+ node.style.borderRadius = "20px";
+ node.style.MozBorderRadius = "20px";
+ node.style.WebkitBorderRadius = "20px";
+ <?php } ?>
+ node.style.border = "2px solid <?php echo $nav_border_color ?>";
+ node.style.zIndex = 10000;
+ node.style.padding = "20px 3px 3px 3px";
+ node.style.lineHeight = "12px";
+ node.innerHTML = tbcontent;
+ document.body.appendChild(node);
+ }
+ if(!$("kie_wait")){
+ node = document.createElement("div");
+ node.id = "kie_wait";
+ node.style.background = "<?php echo $bord_color ?>";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.left = "50%";
+ node.style.top = "50%";
+ node.style.zIndex = 10000;
+ node.style.width = "200px";
+ node.style.height = "40px";
+ node.style.marginLeft = "-106px";
+ node.style.marginTop = "-26px";
+ node.style.border = "2px solid <?php echo $nav_border_color ?>";
+ node.style.color = "<?php echo $comm_text_color ?>";
+ node.style.font = "14px normal <?php echo $comm_text_font ?>";
+ node.style.padding = "8px 4px 0px 4px";
+ node.style.textAlign = "center";
+ node.style.lineHeight = "17px";
+ node.innerHTML = "Please wait, while folder being scanned ...";
+ document.body.appendChild(node);
+ }
+ <?php addEvent("window", "resize", "viewdim"); ?>
+ viewdim();
+ <?php
+ if(!in_array($browser, array("ie6", "ie7", "ie9", "webkit"))){
+ addEvent("document", "keypress", "taste");
+ } else {
+ addEvent("document", "keydown", "taste");
+ }
+ ?>
+ openGallery();
+ }
+
+ this.destr = function(){
+ <?php removeEvent("window", "resize", "viewdim"); ?>
+ document.body.removeChild($("kie_maindiv"));
+ document.body.removeChild($("kie_tb"));
+ document.body.removeChild($("kie_wait"));
+ <?php
+ if(!in_array($browser, array("ie6", "ie7", "ie9", "webkit"))){
+ removeEvent("document", "keypress", "taste");
+ } else {
+ removeEvent("document", "keydown", "taste");
+ }
+ ?>
+
+ }
+
+ /* -------------------------------- methodes ------------------------------------ */
+
+ function viewdim(){
+ if(window.innerHeight){
+ windowX = window.innerWidth;
+ windowY = window.innerHeight;
+ } else if(document.documentElement && document.documentElement.clientHeight){ // Explorer 6 Strict Mode
+ windowX = document.documentElement.clientWidth;
+ windowY = document.documentElement.clientHeight;
+ } else if (document.body){ // other Explorers
+ windowX = document.body.clientWidth;
+ windowY = document.body.clientHeight;
+ }
+ var maindiv = $("kie_maindiv");
+ maindiv.style.width = windowX + "px";
+ maindiv.style.height = windowY + "px";
+ var container = $("kie_maindiv").childNodes;
+ var laenge = container.length - 1;
+ if(laenge != -1){
+ for(var i = 0; i < laenge; i++){
+ var temp = container[i].alt.split("_");
+ container[i].alt = temp[0] + "_" + temp[1];
+ }
+ placeimages();
+ }
+ }
+
+ function openGallery(){
+ fw.shadebody(1, Array( function(){
+ $("kie_tb").style.display = "block";
+ var params = "?reldir=<?php echo $reldir ?>&gallery=" + kib.dirs[gallerynumber] + "&gallerynumber=" + gallerynumber;
+ fw.getHTTP("<?php echo $basedir ?>ki_explorer.php" + params, kie.gotGallery);
+ } ));
+ }
+
+ this.gotGallery = function(responseText){
+ $("kie_wait").style.display = "none";
+ var maindiv = $("kie_maindiv");
+ maindiv.innerHTML = responseText;
+ maindiv.style.display = "block";
+ placeimages();
+ }
+
+ function placeimages(){
+<?php
+$temp = getimagesize("ki_nav_next.png");
+if($nav_always == 1 && $show_nav == 1)$fr_height -= ($temp[1]+18);
+if($th_lines == "auto")$th_lines = ceil($thumbs/($th_per_line));
+if($th_width == "auto")$th_width = round($fr_width/($th_per_line)) - round($fr_height*0.04) - 4;
+if($th_height == "auto")$th_height = round($fr_height/($th_lines)) - round($fr_height*0.04) - 4;
+if($th_to_square == 1) {
+ if($th_width >= $th_height){
+ $th_width = $th_height;
+ }
+ $th_height = $th_width;
+}
+echo "var th_width = ".($th_width-2*$th_bord_size).";";
+echo "var th_height = ".($th_height-2*$th_bord_size).";";
+?>
+ var prozeile = Math.floor(windowX/(th_width+<?php echo $explorer_padding+2*$th_bord_size ?>));
+ var offsetx = (windowX - (prozeile*(th_width+<?php echo $explorer_padding+2*$th_bord_size ?>)))*0.5;
+ var spaltenbreite = (windowX - 2*offsetx)/prozeile;
+ var zeilenhoehe = th_height+<?php echo $explorer_padding+2*$th_bord_size ?>;
+ var offsety = <?php echo $explorer_padding*0.5 ?>;
+
+ var zeile = 1;
+ var spalte = 1;
+
+ var zaehler = 0;
+ var container = $("kie_maindiv").childNodes;
+ var act_width;
+ var act_height;
+ for(var i = 0; i < container.length - 1; i++){
+ <?php if($th_to_square == 0){ ?>
+ var obj = kib.pics[gallerynumber][i];
+ if(obj.x >= obj.y){
+ var k = obj.y/obj.x;
+ act_width = th_width;
+ act_height = k*act_width;
+ if(act_height > th_height){
+ act_height = th_height;
+ act_width = (1/k) * act_height;
+ }
+ } else {
+ var k = obj.x/obj.y;
+ act_height = th_height;
+ act_width = k*act_height;
+ if(act_width > th_width){
+ act_width = th_width;
+ act_height = (1/k) * act_width;
+ }
+ }
+ <?php } else { ?>
+ if(th_width < th_height){
+ act_width = th_width;
+ } else {
+ act_width = th_height;
+ }
+ act_height = act_width;
+ <?php } ?>
+ xpos = Math.round(offsetx + spaltenbreite*(spalte-0.5) - 0.5*act_width - <?php echo $th_bord_size ?>);
+ ypos = Math.round(offsety + zeilenhoehe*(zeile-0.5) - 0.5*act_height - <?php echo $th_bord_size ?>);
+
+ var bild = container[i];
+ bild.style.left = xpos + "px";
+ bild.style.top = ypos + "px";
+ bild.alt = bild.alt + "_"+xpos+"_"+ypos;
+ zaehler++;
+ spalte++;
+ if(zaehler >= prozeile){
+ zaehler = 0;
+ zeile++;
+ spalte = 1;
+ }
+ }
+ $("kie_maindiv").lastChild.style.top = ypos + (0.5*act_height) + "px";
+ $("kie_maindiv").lastChild.style.height = 0.5*th_height + <?php echo 2*$th_bord_size+$explorer_padding ?> + "px";
+ }
+
+ this.getImage = function(picstring) {
+ $("kie_maindiv").style.zIndex = 99;
+ $("kie_tb").style.display = "none";
+ kib.getImage(picstring);
+ }
+
+ this.closeGallery = function(){
+ var obj = $("kie_maindiv").childNodes;
+ for(var i = 0; i < obj.length - 1; i++){
+ obj[i].src = "";
+ }
+ fw.removejs("kie");
+ fw.shadebody(0);
+ }
+
+ function preventDefaultAction(aEvent) {
+ <?php if($browser !== "ie6" && $browser !== "ie7") { ?>
+ aEvent.stopPropagation();
+ <?php } ?>
+ <?php if($browser === "gecko") { ?>
+ aEvent.preventDefault();
+ <?php } ?>
+ <?php if($browser === "opera") { ?>
+ aEvent.returnValue = false;
+ <?php } ?>
+ }
+
+ function taste(aEvent) {
+ aEvent = aEvent ? aEvent : window.event;
+ var keyCode = aEvent.keyCode;
+ if(keyCode == 27){
+ if(typeof(kiv_module) == "function")return;
+ kie.closeGallery();
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ }
+
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_framework.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_framework.php
new file mode 100644
index 00000000..be51112d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_framework.php
@@ -0,0 +1,1070 @@
+<?php
+ob_start("ob_gzhandler");
+
+header("Expires: Mon, 01 Jul 2003 00:00:00 GMT"); // Past date
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Consitnuously modified
+header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
+header("Pragma: no-cache"); // NO CACHE
+
+//----------------------------------------------------------------------------- functions --------------------------------------------------------------------------------
+
+function addEvent($el, $event, $function){
+ global $browser;
+ if($browser === "ie6" || $browser === "ie7"){
+ echo $el.".attachEvent('on".$event."', ".$function.");\n";
+ } else {
+ echo $el.".addEventListener('".$event."', ".$function.", false);\n";
+ }
+}
+
+//------------------------------------------------------------------------ end functions ----------------------------------------------------------------------------------
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [9]/",$browser))
+ $browser = "ie9";
+elseif(preg_match("/MSIE [7-8]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+if($browser == "ie6")
+ $posfix = "absolute";
+else
+ $posfix = "fixed";
+
+if(isset($_GET['reldir']))
+ $reldir = $_GET['reldir'];
+else
+ $reldir = "";
+
+$confdir = $reldir."ki_config/";
+$galleriesdir = $reldir."ki_galleries/";
+$basedir = $reldir."ki_base/";
+
+include_once("../ki_config/ki_setup.php");
+
+$admin_ok = 0;
+if(isset($_GET['admin']) && $admin === $_GET['admin']){
+ $admin_ok = 1;
+}
+$user_ok = 0;
+if(isset($_GET['user']) && $user === $_GET['user']){
+ $user_ok = 1;
+}
+
+$resizespeed = 5;
+$movespeed = 5;
+$fadespeed = 8;
+
+header("Content-Type: application/x-javascript");
+?>
+
+//-------------------------------------------------------------------------- FRAMEWORK -------------------------------------------------------------------------------
+
+var fw;
+
+(function(){
+ (function(){
+ <?php if(in_array($browser, array("ie6", "ie7"))) { ?>
+ try {
+ document.documentElement.doScroll("left");
+ if(document.body)
+ fw_ready();
+ else {
+ setTimeout(arguments.callee, 5);
+ }
+ } catch(error) {
+ setTimeout(arguments.callee, 5);
+ }
+ <?php } else if(in_array($browser, array("opera", "gecko", "ie9"))) { ?>
+ document.addEventListener("DOMContentLoaded", fw_ready, false);
+ <?php } else if($browser === "webkit") { ?>
+ var state = document.readyState;
+ if (state == 'loaded' || state == 'complete'){
+ fw_ready();
+ } else {
+ setTimeout(arguments.callee, 5);
+ }
+ <?php } else { ?>
+ <?php addEvent("window", "load", "function(){fw_ready();}"); ?>
+ <?php } ?>
+ })();
+})();
+
+function fw_ready(){
+ if(fw)return;
+ fw = new fw_framework();
+ fw.init();
+}
+
+function fw_framework(){
+
+ /* intern ----------------------------------------------------------------------------- Globals --------------------------------------------------------------------------- */
+
+ var animation = Array();
+ var intanimation = 0;
+ var bodyscroll = 0;
+
+ /* intern ----------------------------------------------------------------------------- Helper functions --------------------------------------------------------------------------- */
+
+ function $(id){
+ return document.getElementById(id);
+ }
+
+ this.findPos = function(obj){
+ var curleft = curtop = 0;
+ if (obj.offsetParent) {
+ curleft = obj.offsetLeft;
+ curtop = obj.offsetTop;
+ while (obj = obj.offsetParent) {
+ curleft += obj.offsetLeft;
+ curtop += obj.offsetTop;
+ }
+ }
+ return [curleft,curtop];
+ }
+
+ // type: 1 = normal, 2 = komplett mit padding
+ this.getDim = function(obj, type){
+ var y = obj.offsetHeight;
+ var x = obj.offsetWidth;
+ <?php if($browser === "ie6" || $browser === "ie7" || $browser === "ie9") { ?>
+ if(type == 1){
+ x = x - parseInt(getStyle(obj, "paddingLeft")) - parseInt(getStyle(obj, "paddingRight"));
+ y = y - parseInt(getStyle(obj, "paddingTop")) - parseInt(getStyle(obj, "paddingBottom"));
+ var temp = parseInt(getStyle(obj, "borderLeftWidth"));
+ if(!isNaN(temp))x -= temp;
+ temp = parseInt(getStyle(obj, "borderRightWidth"));
+ if(!isNaN(temp))x -= temp;
+ temp = parseInt(getStyle(obj, "borderTopWidth"));
+ if(!isNaN(temp))y -= temp;
+ temp = parseInt(getStyle(obj, "borderBottomWidth"));
+ if(!isNaN(temp))y -= temp;
+ }
+ <?php } else { ?>
+ if(type == 1){
+ x = x - parseInt(getStyle(obj, "padding-left")) - parseInt(getStyle(obj, "padding-right"));
+ y = y - parseInt(getStyle(obj, "padding-top")) - parseInt(getStyle(obj, "padding-bottom"));
+ x = x - parseInt(getStyle(obj, "border-left-width")) - parseInt(getStyle(obj, "border-right-width"));
+ y = y - parseInt(getStyle(obj, "border-top-width")) - parseInt(getStyle(obj, "border-bottom-width"));
+ }
+ <?php } ?>
+ return [x, y];
+ }
+
+ function getStyle(obj, styleProp){
+ <?php if($browser === "ie6" || $browser === "ie7" || $browser === "ie9") { ?>
+ return obj.currentStyle[styleProp];
+ <?php } else { ?>
+ return document.defaultView.getComputedStyle(obj,null).getPropertyValue(styleProp);
+ <?php } ?>
+ }
+
+ function ANIOBJ(type_, aniarray_, original_, after_){
+ this.type = type_;
+ this.aniarray = aniarray_;
+ this.original = original_;
+ this.after = after_;
+ this.step = 0;
+ switch(type_){
+ case 1:
+ this.aniarraylength = aniarray_.length/2;
+ break;
+ case 2:
+ this.aniarraylength = aniarray_.length/2;
+ break;
+ case 5:
+ this.aniarraylength = aniarray_.length/2;
+ break;
+ default:
+ this.aniarraylength = aniarray_.length;
+ break;
+ }
+ }
+
+ function startanimation(type, ma, obj, continueobj){
+ <?php if($disable_animation == 0){ ?>
+ var found = 0;
+ for(var i = 0; i < animation.length; i++){
+ if(animation[i].original == obj){
+ if(animation[i].type == type){
+ animation[i] = new ANIOBJ(type, ma, obj, continueobj);
+ found = 1;
+ break;
+ }
+ }
+ }
+ if(found == 0)animation.push( new ANIOBJ(type, ma, obj, continueobj) );
+ if(intanimation == 0)doanimation();
+ <?php } else { ?>
+ var actobj = new ANIOBJ(type, ma, obj, continueobj);
+ var style = actobj.original.style;
+ var last = actobj.aniarraylength - 1;
+ switch(actobj.type){
+ case 1: // resize normal
+ style.width = actobj.aniarray[2*last] + "px";
+ style.height = actobj.aniarray[2*last+1] + "px";
+ break;
+ case 2: // resize centered
+ style.width = actobj.aniarray[2*last] + "px";
+ style.height = actobj.aniarray[2*last+1] + "px"
+ style.marginLeft = -(0.5*actobj.aniarray[2*last]) + "px";
+ style.marginTop = -(0.5*actobj.aniarray[2*last+1]) + "px";
+ break;
+ case 3: // resize only width
+ style.width = actobj.aniarray[last] + "px";
+ break;
+ case 4: // resize only height
+ style.height = actobj.aniarray[last] + "px";
+ break;
+ case 5: // move normal
+ style.left = actobj.aniarray[2*last] + "px";
+ style.top = actobj.aniarray[2*last+1] + "px";
+ break;
+ case 6: // move only left
+ style.left = actobj.aniarray[last] + "px";
+ break;
+ case 7: // move only top
+ style.top = actobj.aniarray[last] + "px";
+ break;
+ case 8: // fade
+ <?php
+ if($browser === "ie7" || $browser === "ie6") {
+ ?>
+ actobj.original.style.filter = 'progid:DXImageTransform.Microsoft.Alpha(opacity=' + actobj.aniarray[last] + ')';
+ <?php
+ } else {
+ ?>
+ actobj.original.style.opacity = actobj.aniarray[last]*0.01;
+ <?php } ?>
+ break;
+ }
+ if(actobj.type == 8){
+ if(actobj.aniarray[last] == 0)
+ actobj.original.style.display = "none";
+ <?php if($browser == "ie6" || $browser == "ie7"){ ?>
+ if(actobj.aniarray[last] == 100){
+ actobj.original.style.filter = "";
+ }
+ <?php } ?>
+ }
+ if(actobj.after != null){
+ actobj.after[0](actobj.after[1], actobj.after[2], actobj.after[3], actobj.after[4], actobj.after[5], actobj.after[6]);
+ }
+ <?php } ?>
+ }
+
+ function doanimation(){
+ if(animation.length == 0){
+ clearInterval(intanimation);
+ intanimation = 0;
+ return;
+ }
+
+ if(intanimation == 0)intanimation = setInterval( doanimation, 30 );
+ for(var i = 0; i < animation.length; i++){
+ var actobj = animation[i];
+ if( actobj.step >= actobj.aniarraylength ){
+ animation.splice(i, 1);
+ if(i != animation.length-1)i--;
+ if(actobj.type == 8){
+ if(actobj.aniarray[actobj.step-1] == 0)
+ actobj.original.style.display = "none";
+ <?php if($browser === "ie6" || $browser === "ie7"){ ?>
+ if(actobj.aniarray[actobj.step-1] == 100){
+ actobj.original.style.filter = "";
+ }
+ <?php } ?>
+ }
+ if(actobj.after != null){
+ actobj.after[0](actobj.after[1], actobj.after[2], actobj.after[3], actobj.after[4], actobj.after[5], actobj.after[6]);
+ }
+ continue;
+ }
+ var style = actobj.original.style;
+ switch(actobj.type){
+ case 1: // resize normal
+ style.width = actobj.aniarray[2*actobj.step] + "px";
+ style.height = actobj.aniarray[2*actobj.step+1] + "px";
+ break;
+ case 2: // resize centered
+ style.width = actobj.aniarray[2*actobj.step] + "px";
+ style.height = actobj.aniarray[2*actobj.step+1] + "px"
+ style.marginLeft = -(0.5*actobj.aniarray[2*actobj.step]) + "px";
+ style.marginTop = -(0.5*actobj.aniarray[2*actobj.step+1]) + "px";
+ break;
+ case 3: // resize only width
+ style.width = actobj.aniarray[actobj.step] + "px";
+ break;
+ case 4: // resize only height
+ style.height = actobj.aniarray[actobj.step] + "px";
+ break;
+ case 5: // move normal
+ style.left = actobj.aniarray[2*actobj.step] + "px";
+ style.top = actobj.aniarray[2*actobj.step+1] + "px";
+ break;
+ case 6: // move only left
+ style.left = actobj.aniarray[actobj.step] + "px";
+ break;
+ case 7: // move only top
+ style.top = actobj.aniarray[actobj.step] + "px";
+ break;
+ case 8: // fade
+ <?php if($browser !== "ie7" && $browser !== "ie6") { ?>
+ style.opacity = actobj.aniarray[actobj.step]*0.01;
+ <?php } ?>
+ break;
+ }
+ actobj.step++;
+ }
+ }
+
+ /* ----------------------------------------------------------------------------- Animation functions --------------------------------------------------------------------------- */
+
+ this.shadebody = function(yes, continueobj){
+ if(yes == 1){
+ <?php if($browser !== "webkit") { ?>
+ bodyscroll = document.getElementsByTagName("html")[0].scrollTop;
+ <?php } else { ?>
+ bodyscroll = document.body.scrollTop;
+ <?php } ?>
+ <?php if($browser === "ie6") { ?>
+ document.getElementsByTagName("html")[0].style.overflowX = "hidden";
+ document.getElementsByTagName("html")[0].style.overflowY = "hidden";
+ window.scrollTo(0,0);
+ <?php } else { ?>
+ document.getElementsByTagName("html")[0].style.overflow = "hidden";
+ <?php if($browser !== "webkit") { ?>
+ document.getElementsByTagName("html")[0].scrollTop = bodyscroll;
+ <?php } else { ?>
+ document.body.scrollTop = bodyscroll;
+ <?php } ?>
+ <?php } ?>
+ $("fw_blend").style.display = "block";
+ } else {
+ $("fw_blend").style.display = "none";
+ <?php if($browser === "ie6") { ?>
+ document.getElementsByTagName("html")[0].style.overflowY = "scroll";
+ document.getElementsByTagName("html")[0].style.overflowX = "auto";
+ <?php } else { ?>
+ document.getElementsByTagName("html")[0].style.overflow = "auto";
+ <?php } ?>
+ <?php if($browser == "opera" || $browser == "webkit") { ?>
+ window.scrollBy(0, 1);
+ window.scrollBy(0, -1);
+ <?php } ?>
+ <?php if($browser !== "webkit") { ?>
+ document.getElementsByTagName("html")[0].scrollTop = bodyscroll;
+ <?php } else { ?>
+ document.body.scrollTop = bodyscroll;
+ <?php } ?>
+ }
+ if(continueobj != null){
+ continueobj[0](continueobj[1], continueobj[2], continueobj[3], continueobj[4], continueobj[5], continueobj[6]);
+ }
+ }
+
+ // type: 0 = none, 1 = outside, 2 = inside, 3 = with divs inside, 4 = none with divs inside
+ this.dropshadow = function(id, type, continueobj){
+ var obj;
+ if(id.length)
+ obj = $(id);
+ else
+ obj = id;
+ if(!obj){
+ if(continueobj != null)continueobj[0](continueobj[1], continueobj[2], continueobj[3], continueobj[4], continueobj[5], continueobj[6]);
+ return;
+ }
+ <?php if(in_array($browser, array("ie9", "opera", "gecko", "webkit"))){ ?>
+ if(type == 1){
+ obj.style.boxShadow = "0px 0px 10px #000";
+ } else if(type == 2){
+ obj.style.boxShadow = "inside 0px 0px 10px #000";
+ } else if(type == 0){
+ obj.style.boxShadow = "none";
+ } else if(type == 3){
+ for(var i = 0; i < 4; i++){
+ for(var j = 0; j < 5; j++){
+ var node = document.createElement("div");
+ node.style.position = "absolute";
+ if(i != 1){
+ node.style.left = "0%";
+ } else {
+ node.style.right = "0%";
+ }
+ if(i != 2){
+ node.style.top = "0%";
+ } else {
+ node.style.bottom = "0%";
+ }
+ if(i == 0 || i == 2){
+ node.style.width = "100%";
+ node.style.height = (j+1) + "px";
+ } else {
+ node.style.width = (j+1) + "px";
+ node.style.height = "100%";
+ }
+ node.style.opacity = 0.1 - j*0.02;
+ node.className = "ki_se";
+ node.style.background = "#000";
+ node.style.padding = "0px";
+ node.style.border = "none";
+ obj.appendChild(node);
+ }
+ }
+ } else if(type == 4){
+ var temp = obj.childNodes.length;
+ var cn = obj.childNodes;
+ for(var i = 0; i < temp; i++){
+ if(cn[i].className.indexOf("ki_se") >= 0){
+ obj.removeChild(cn[i]);
+ }
+ }
+ }
+ <?php } ?>
+ if(continueobj != null){
+ continueobj[0](continueobj[1], continueobj[2], continueobj[3], continueobj[4], continueobj[5], continueobj[6]);
+ }
+ }
+
+ // type: 1 = normal, 2 = horizontal/vertikal zentriert, 3 = nur horizontal, 4 = nur vertikal
+ this.resize = function(id, type, endwidth, endheight, continueobj){
+ var count = <?php echo $resizespeed ?>;
+ var obj;
+ if(id.length)
+ obj = $(id);
+ else
+ obj = id;
+ if(!obj){
+ if(continueobj != null)continueobj[0](continueobj[1], continueobj[2], continueobj[3], continueobj[4], continueobj[5], continueobj[6]);
+ return;
+ }
+ var temp = fw.getDim(obj, 1);
+ var actw = temp[0];
+ var acth = temp[1];
+ var step;
+ var mawidth = Array();
+ var maheight = Array();
+ var ma = Array();
+ if(type != 4){
+ step = Math.round((endwidth - actw)/count);
+ while(step != 0){
+ if( Math.abs(endwidth-actw) < Math.abs(2*step) ){
+ step = Math.round(0.4*step);
+ }
+ actw += step;
+ mawidth.push(actw);
+ }
+ mawidth.push(endwidth);
+ }
+ if(type != 3){
+ step = Math.round((endheight - acth)/count);
+ while(step != 0){
+ if( Math.abs(endheight-acth) < Math.abs(2*step) ){
+ step = Math.round(0.4*step);
+ }
+ acth += step;
+ maheight.push(acth);
+ }
+ maheight.push(endheight);
+ }
+ if(type < 3){
+ if(mawidth.length > maheight.length){
+ var diff = mawidth.length - maheight.length;
+ for(var i = 0; i < diff; i++)maheight.push(endheight);
+ } else {
+ var diff = maheight.length - mawidth.length;
+ for(var i = 0; i < diff; i++)mawidth.push(endwidth);
+ }
+ for(var i = 0; i < maheight.length; i++){
+ ma.push(mawidth[i]);
+ ma.push(maheight[i]);
+ }
+ }
+ switch(type){
+ case 3:
+ for(var i = 0; i < mawidth.length; i++){
+ ma.push(mawidth[i]);
+ }
+ break;
+ case 4:
+ for(var i = 0; i < maheight.length; i++){
+ ma.push(maheight[i]);
+ }
+ break;
+ }
+ startanimation(type, ma, obj, continueobj);
+ }
+
+ // type: 1 = normal, 2 = horizontal/vertikal zentriert, 3 = nur horizontal, 4 = nur vertikal
+ // resize ohne abbremsen, d.h. kostante geschwindigkeit
+ this.resize2 = function(id, type, endwidth, endheight, continueobj){
+ var count = 8;
+ var obj;
+ if(id.length)
+ obj = $(id);
+ else
+ obj = id;
+ if(!obj){
+ if(continueobj != null)continueobj[0](continueobj[1], continueobj[2], continueobj[3], continueobj[4], continueobj[5], continueobj[6]);
+ return;
+ }
+ var temp = fw.getDim(obj, 1);
+ var actw = temp[0];
+ var acth = temp[1];
+ var stepw;
+ var steph;
+ var ma = Array();
+ stepw = (endwidth - actw)/count;
+ steph = (endheight - acth)/count;
+ if(type < 3){
+ for(var i = 0; i < count; i++){
+ actw+=stepw;
+ acth+=steph;
+ ma.push(actw);
+ ma.push(acth);
+ }
+ ma.push(endwidth);
+ ma.push(endheight);
+ }
+ switch(type){
+ case 3:
+ for(var i = 0; i < count; i++){
+ actw+=stepw;
+ ma.push(actw);
+ }
+ ma.push(endwidth);
+ break;
+ case 4:
+ for(var i = 0; i < count; i++){
+ acth+=steph;
+ ma.push(acth);
+ }
+ ma.push(endheight);
+ break;
+ }
+ startanimation(type, ma, obj, continueobj);
+ }
+
+ // type: 1 = normal, 2 = nur horizontal, 3 = nur vertikal
+ this.move = function(id, type, endleft, endtop, continueobj) {
+ var count = <?php echo $movespeed ?>;
+ var obj;
+ if(id.length)
+ obj = $(id);
+ else
+ obj = id;
+ if(!obj){
+ if(continueobj != null)continueobj[0](continueobj[1], continueobj[2], continueobj[3], continueobj[4], continueobj[5], continueobj[6]);
+ return;
+ }
+ obj.style.display = "block";
+ if(getStyle(obj, "position") == "static")obj.style.position = "relative";
+ var actx = getStyle(obj, "left");
+ var acty = getStyle(obj, "top");
+ if(actx == "auto")
+ actx = 0;
+ else
+ actx = parseInt(actx);
+ if(acty == "auto")
+ acty = 0;
+ else
+ acty = parseInt(acty);
+ if(type != 3)obj.style.left = actx + "px";
+ if(type != 2)obj.style.top = acty + "px";
+ //obj.style.margin = "0px";
+ var step;
+ var maleft = Array();
+ var matop = Array();
+ var ma = Array();
+ if(type != 3){
+ step = (endleft - actx)/count;
+ while(step != 0){
+ if( Math.abs(endleft-actx) < Math.abs(2*step) ){
+ step = Math.round(0.4*step);
+ }
+ actx += step;
+ maleft.push(actx);
+ }
+ maleft.push(endleft);
+ }
+ if(type != 2){
+ step = (endtop - acty)/count;
+ while(step != 0){
+ if( Math.abs(endtop-acty) < Math.abs(2*step) ){
+ step = Math.round(0.4*step);
+ }
+ acty += step;
+ matop.push(acty);
+ }
+ matop.push(endtop);
+ }
+ if(type < 2){
+ if(maleft.length > matop.length){
+ var diff = maleft.length - matop.length;
+ for(var i = 0; i < diff; i++)matop.push(endtop);
+ } else {
+ var diff = matop.length - maleft.length;
+ for(var i = 0; i < diff; i++)maleft.push(endleft);
+ }
+ for(var i = 0; i < matop.length; i++){
+ ma.push(maleft[i]);
+ ma.push(matop[i]);
+ }
+ }
+ switch(type){
+ case 1:
+ type = 5;
+ break;
+ case 2:
+ type = 6;
+ for(var i = 0; i < maleft.length; i++){
+ ma.push(maleft[i]);
+ }
+ break;
+ case 3:
+ type = 7;
+ for(var i = 0; i < matop.length; i++){
+ ma.push(matop[i]);
+ }
+ break;
+ }
+ startanimation(type, ma, obj, continueobj);
+ }
+
+ // type: 1 = normal, 2 = nur horizontal, 3 = nur vertikal
+ this.move2 = function(id, type, endleft, endtop, continueobj) {
+ var count = 6;
+ var obj;
+ if(id.length)
+ obj = $(id);
+ else
+ obj = id;
+ if(!obj){
+ if(continueobj != null)continueobj[0](continueobj[1], continueobj[2], continueobj[3], continueobj[4], continueobj[5], continueobj[6]);
+ return;
+ }
+ obj.style.display = "block";
+ if(getStyle(obj, "position") == "static")obj.style.position = "relative";
+ var actx = getStyle(obj, "left");
+ var acty = getStyle(obj, "top");
+ if(actx == "auto")
+ actx = 0;
+ else
+ actx = parseInt(actx);
+ if(acty == "auto")
+ acty = 0;
+ else
+ acty = parseInt(acty);
+ if(type != 3)obj.style.left = actx + "px";
+ if(type != 2)obj.style.top = acty + "px";
+ var steph;
+ var stepv;
+ var maleft = Array();
+ var matop = Array();
+ var ma = Array();
+ steph = (endleft - actx)/count;
+ stepv = (endtop - acty)/count;
+ if(type != 3){
+ for(var i = 0; i < count; i++){
+ actx+=steph;
+ maleft.push(actx);
+ }
+ maleft.push(endleft);
+ }
+ if(type != 2){
+ for(var i = 0; i < count; i++){
+ acty+=stepv;
+ matop.push(acty);
+ }
+ matop.push(endtop);
+ }
+ if(type < 2){
+ for(var i = 0; i < ma.length; i++){
+ ma.push(maleft[i]);
+ ma.push(matop[i]);
+ }
+ }
+ switch(type){
+ case 1:
+ type = 5;
+ break;
+ case 2:
+ type = 6;
+ ma = maleft;
+ break;
+ case 3:
+ type = 7;
+ ma = matop;
+ break;
+ }
+ startanimation(type, ma, obj, continueobj);
+ }
+
+ this.fade = function(id, endfade, continueobj){
+ var count = <?php echo $fadespeed ?>;
+ var obj;
+ if(id.length)
+ obj = $(id);
+ else
+ obj = id;
+ if(!obj){
+ if(continueobj != null)continueobj[0](continueobj[1], continueobj[2], continueobj[3], continueobj[4], continueobj[5], continueobj[6]);
+ return;
+ }
+ var actfade;
+ if(getStyle(obj, "display") == "none"){
+ actfade = 0;
+ obj.style.display = "block";
+ } else {
+ <?php
+ if($browser === "ie7" || $browser === "ie6") {
+ ?>
+ if(!getStyle(obj, "filter")){
+ actfade = 100;
+ } else {
+ try {
+ actfade = obj.filters.item("DXImageTransform.Microsoft.Alpha").opacity;
+ } catch(e) {
+ actfade = 100;
+ };
+ }
+ <?php
+ } else {
+ ?>
+ actfade = parseInt(getStyle(obj, "opacity")*100);
+ <?php } ?>
+ }
+ <?php if($browser !== "ie7" && $browser !== "ie6") { ?>
+ obj.style.opacity = actfade*0.01;
+ <?php } ?>
+ var step;
+ var ma = Array();
+ step = parseInt((endfade - actfade)/count);
+ for(var i = 0; i < count; i++){
+ ma.push(actfade+i*step);
+ }
+ ma.push(endfade);
+ <?php
+ if($browser === "ie7" || $browser === "ie6") {
+ if($disable_animation == 0){
+ ?>
+ if(obj.style.filter){
+ if(obj.filters.item("DXImageTransform.Microsoft.Fade")){
+ if(obj.filters.item("DXImageTransform.Microsoft.Fade").status == 2){
+ obj.filters.item("DXImageTransform.Microsoft.Fade").stop();
+ }
+ }
+ }
+ obj.style.filter = "progid:DXImageTransform.Microsoft.Alpha(opacity=" + actfade + ") progid:DXImageTransform.Microsoft.Fade(duration=" + ma.length * 0.035 + ")";
+ obj.filters.item("DXImageTransform.Microsoft.Fade").apply();
+ obj.filters.item("DXImageTransform.Microsoft.Alpha").opacity = endfade;
+ obj.filters.item("DXImageTransform.Microsoft.Fade").play();
+ <?php
+ }
+ }
+ ?>
+
+ startanimation(8, ma, obj, continueobj);
+ }
+
+ /* ----------------------------------------------------------------------------- AJAX functions --------------------------------------------------------------------------- */
+
+ function checkforajax(){
+ var xmlhttp;
+ try {
+ xmlhttp = new XMLHttpRequest();
+ } catch (e) {
+ try {
+ xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
+ } catch (e) {
+ try {
+ xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
+ } catch (e) { return -1; }
+ }
+ }
+ return 1;
+ }
+
+ // adr = site adress with post variables to send, result = function called when ready, params[] = additional params besides responseText as first param
+ this.getHTTP = function(adr, result, params) {
+ var xmlhttp;
+ try {
+ xmlhttp = new XMLHttpRequest();
+ } catch (e) {
+ try {
+ xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
+ } catch (e) {
+ xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
+ }
+ }
+ var temp = adr.indexOf("?");
+ var sendstring = "";
+ if(temp != -1){
+ sendstring = adr.substr(temp+1);
+ adr = adr.substr(0, temp);
+ }
+ xmlhttp.onreadystatechange = function() {
+ if(xmlhttp.readyState == 4){
+ if(xmlhttp.status == 200){
+ if(result)result(xmlhttp.responseText, params);
+ } else {
+ if(xmlhttp.status == 404)alert("ERROR: Site '" + adr + "' not found or internal error during getHTTP-call.");
+ }
+ }
+ }
+ xmlhttp.open("POST", adr, true);
+ xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
+ xmlhttp.send(sendstring);
+ }
+
+ /* ----------------------------------------------------------------------------- Dynamicliy add/remove JavaScript functions ----------------------------------------------------- */
+
+ this.addjs = function(adr, modulename, params){
+ if($(modulename+"_id"))return;
+ var head = document.getElementsByTagName("head")[0];
+ var script = document.createElement('script');
+ script.id = modulename+"_id";
+ script.type = 'text/javascript';
+ script.src = adr;
+ head.appendChild(script);
+ eval( "(function(){ if(typeof "+modulename+"_module == 'function'){ "+modulename+" = new "+modulename+"_module(); "+modulename+".constr(params); return; } setTimeout( arguments.callee, 100); })();" );
+ }
+
+ this.removejs = function(modulename){
+ if(!$(modulename+"_id"))return;
+ eval(modulename + ".destr();");
+ var head = document.getElementsByTagName("head")[0];
+ var script = $(modulename+"_id");
+ head.removeChild(script);
+ eval(modulename+" = null;"+modulename+"_module = null;");
+ }
+
+ /* ----------------------------------------------------------------------------- Event functions --------------------------------------------------------------------------- */
+
+
+
+ function on_mouseover(obj, execfunc, offsL, offsT){
+ <?php addEvent("obj", "mouseover", "
+ function(event){
+ event = event ? event : window.event;
+ var from = event.relatedTarget ? event.relatedTarget : event.fromElement;
+ if(!from)return;
+ while(from.parentNode){
+ if(from == obj){
+ return;
+ }
+ from = from.parentNode;
+ }
+ var x = event.clientX ? event.clientX + document.documentElement.scrollLeft : event.pageX;
+ var y = event.clientY ? event.clientY + document.documentElement.scrollTop: event.pageY;
+ x -= offsL;
+ y -= offsT;
+ execfunc(x, y);
+ }
+ "); ?>
+ }
+
+ function on_mouseout(obj, execfunc, offsL, offsT){
+ <?php addEvent("obj", "mouseout", "
+ function(event){
+ event = event ? event : window.event;
+ var to = event.relatedTarget ? event.relatedTarget : event.toElement;
+ if(!to)return;
+ while(to.parentNode){
+ if(to == obj)return;
+ to = to.parentNode;
+ }
+ var x = event.clientX ? event.clientX + document.documentElement.scrollLeft : event.pageX;
+ var y = event.clientY ? event.clientY + document.documentElement.scrollTop: event.pageY;
+ x -= offsL;
+ y -= offsT;
+ execfunc(x, y);
+ }
+ "); ?>
+ }
+
+ function on_mouseevent(obj, evnt, execfunc, offsL, offsT){
+ <?php if($browser === "ie6" || $browser === "ie7"){
+ echo "obj.attachEvent('on'+evnt,
+ function(event){
+ event = event ? event : window.event;
+ var x = event.clientX + document.documentElement.scrollLeft - offsL;
+ var y = event.clientY + document.documentElement.scrollTop - offsT;
+ execfunc(x, y);
+ return false;
+ }
+ );";
+ } else {
+ echo "obj.addEventListener(evnt,
+ function(event){
+ event = event ? event : window.event;
+ var x = event.pageX - offsL;
+ var y = event.pageY - offsT;
+ execfunc(x, y);
+ preventDefaultAction(event);
+ }
+ , false);";
+ } ?>
+ }
+
+ function preventDefaultAction(aEvent) {
+ <?php if($browser !== "ie6" && $browser !== "ie7") { ?>
+ aEvent.stopPropagation();
+ <?php } ?>
+ <?php if($browser === "gecko") { ?>
+ aEvent.preventDefault();
+ <?php } ?>
+ <?php if($browser === "opera") { ?>
+ aEvent.returnValue = false;
+ <?php } ?>
+ }
+
+ // type: 1 = normal, 2 = x,y coordinate for static/relative positioned element
+ this.addevent = function(id, evnt, execfunc, type){
+ var obj;
+ if(id.length)
+ obj = $(id);
+ else
+ obj = id;
+ if(!obj){
+ return;
+ }
+ var offsL = 0;
+ var offsT = 0;
+ if(type == 2){
+ if(getStyle(obj, "position") == "relative"){
+ obj.style.position = "static";
+ offsL = obj.offsetLeft;
+ offsT = obj.offsetTop;
+ obj.style.position = "relative";
+ }
+ if(getStyle(obj, "position") == "static"){
+ offsL = obj.offsetLeft;
+ offsT = obj.offsetTop;
+ }
+ }
+ switch(evnt){
+ case "mouseover": on_mouseover(obj, execfunc, offsL, offsT); break;
+ case "mouseout": on_mouseout(obj, execfunc, offsL, offsT); break;
+ case "click": on_mouseevent(obj, evnt, execfunc, offsL, offsT); break;
+ case "dblclick": on_mouseevent(obj, evnt, execfunc, offsL, offsT); break;
+ case "mousedown": on_mouseevent(obj, evnt, execfunc, offsL, offsT); break;
+ case "mousemove": on_mouseevent(obj, evnt, execfunc, offsL, offsT); break;
+ case "mouseup": on_mouseevent(obj, evnt, execfunc, offsL, offsT); break;
+ case "keycapture":
+ <?php if(!in_array($browser, array("ie6", "ie7", "ie9", "webkit"))){
+ addEvent("obj", "keypress", "execfunc");
+ } else {
+ addEvent("obj", "keydown", "execfunc");
+ } ?>
+ break;
+ default:
+ <?php if($browser === "ie6" || $browser === "ie7"){
+ echo "obj.attachEvent('on'+evnt, execfunc);";
+ } else {
+ echo "obj.addEventListener(evnt, execfunc, false);";
+ } ?>
+ break;
+ }
+ }
+
+ /* extern ----------------------------------------------------------------------------- Toolbars --------------------------------------------------------------------------- */
+
+ this.addtoolbar = function(id, content, x, y, permanent){
+ var obj;
+ if(id.length)
+ obj = $(id);
+ else
+ obj = id;
+ if(!obj){
+ return;
+ }
+ id = obj.id;
+ if(!$(id+"_tb")){
+ var tb = document.createElement("div");
+ tb.id = id+"_tb";
+ tb.style.position = "absolute";
+ if(permanent == 0)tb.style.display = "none";
+ if(x > 0)
+ tb.style.left = x + "px";
+ else
+ tb.style.right = x*-1 + "px";
+ if(y > 0)
+ tb.style.top = y + "px";
+ else
+ tb.style.bottom = y*-1 + "px";
+ tb.innerHTML = content;
+ obj.appendChild(tb);
+ if(permanent == 0){
+ fw.addevent( obj, "mouseout", function(){ fw.fade(tb, 0); } );
+ fw.addevent( obj, "mouseover", function(){ fw.fade(tb, 100); } );
+ //fw.addevent( id, "mousemove", function(x, y){ $("tooltip").style.left = x + 20 + "px"; $("tooltip").style.top = y + 20 + "px"; } );
+ }
+ }
+ }
+
+ /* Init code ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
+
+ this.init = function(){
+ var node;
+ if(checkforajax() == -1){
+ var temp = document.getElementsByTagName("div");
+ for(var i = 0; i < temp.length; i++){
+ if(temp[i].className.indexOf("koschtitgallery") >= 0){
+ var titlefound = temp[i].title;
+ temp[i].innerHTML = "<p>AJAX not supported. See a plain HTML version of <a href='<?php echo $basedir ?>ki_nojs.php?gallery="+titlefound+"&amp;site="+window.location+"'>"+titlefound+"</a> here.</p>";
+ temp[i].title = "";
+ }
+ }
+ <?php if($show_warnings == 1)echo "alert(\"WARNING: Your browser doesn't support AJAX.\\nPlease upgrade your browser to view this gallery.\");"; ?>
+ return;
+ }
+ if(!$("fw_blend")){
+ <?php if($browser === "ie7" || $browser === "opera"){ ?>
+ node = document.createElement("img");
+ node.src = "<?php echo $basedir ?>ki_shade.php";
+ node.alt = "";
+ <?php } elseif($browser == "ie6"){ ?>
+ node = document.createElement("img");
+ node.alt = "";
+ node.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo $basedir ?>ki_shade.php, sizingMethod='scale')";
+ node.style.width = "2880px";
+ node.style.height = "1800px";
+ node.src="<?php echo $basedir ?>ki_noimage.gif";
+ <?php } else { ?>
+ node = document.createElement("div");
+ node.style.width = "100%";
+ node.style.height = "100%";
+ node.style.background = "<?php echo $fade_color ?>";
+ node.style.opacity = <?php echo $fade_alpha/10 ?>;
+ <?php } ?>
+ node.id = "fw_blend";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.left = "0px";
+ node.style.top = "0px";
+ node.style.zIndex = 100;
+ node.style.display = "none";
+ document.body.appendChild(node);
+ }
+ <?php if($shade_while_loading == 1 || $admin_ok == 1 || $user_ok == 1){ ?>
+ this.shadebody(1);
+ <?php } ?>
+ <?php if($admin_ok == 1){ ?>
+ fw.addjs("<?php echo $basedir ?>ki_js_basic.php?reldir=<?php echo $reldir ?>&admin=<?php echo $_GET['admin'] ?>", "kib");
+ <?php } elseif($user_ok == 1){ ?>
+ fw.addjs("<?php echo $basedir ?>ki_js_basic.php?reldir=<?php echo $reldir ?>&user=<?php echo $_GET['user'] ?>", "kib");
+ <?php } else { ?>
+ fw.addjs("<?php echo $basedir ?>ki_js_basic.php?reldir=<?php echo $reldir ?>", "kib");
+ <?php } ?>
+ }
+
+}
+//-------------------------------------------------------------------------------- END FRAMEWORK ----------------------------------------------------------------- \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_managefolders.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_managefolders.php
new file mode 100644
index 00000000..e0cde524
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_managefolders.php
@@ -0,0 +1,266 @@
+<?php
+ob_start("ob_gzhandler");
+
+session_start();
+
+header("Expires: Mon, 01 Jul 2003 00:00:00 GMT"); // Past date
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Consitnuously modified
+header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
+header("Pragma: no-cache"); // NO CACHE
+
+//-------------------------------------- functions -------------------------------------
+function draw_image($filename, $id, $style, $params) {
+ global $browser, $basedir;
+ $idstring = "";
+ if($id != "")$idstring = "id='".$id."' ";
+ if($browser == "ie6") {
+ $imgsize = getimagesize($filename);
+ echo "<img ".$idstring."style='filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=".$basedir.$filename."); width:".$imgsize[0]."px; height:".$imgsize[1]."px; ".$style."' src='".$basedir."ki_noimage.gif' ".$params." />";
+ } else {
+ if($style != "")$style = " style='".$style."' ";
+ echo "<img ".$idstring."src='".$basedir.$filename."'".$style.$params." />";
+ }
+}
+
+function addEvent($el, $event, $function){
+ global $browser;
+ if($browser === "ie6" || $browser === "ie7"){
+ echo $el.".attachEvent('on".$event."', ".$function.");\n";
+ } else {
+ echo $el.".addEventListener('".$event."', ".$function.", false);\n";
+ }
+}
+
+function removeEvent($el, $event, $function){
+ global $browser;
+ if($browser === "ie6" || $browser === "ie7"){
+ echo $el.".detachEvent('on".$event."', ".$function.");\n";
+ } else {
+ echo $el.".removeEventListener('".$event."', ".$function.", false);\n";
+ }
+}
+//-------------------------------------- end functions -----------------------------------
+
+include("../ki_config/ki_setup.php");
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [9]/",$browser))
+ $browser = "ie9";
+elseif(preg_match("/MSIE [7-8]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+if($browser === "ie6")
+ $posfix = "absolute";
+else
+ $posfix = "fixed";
+
+if(isset($_GET['reldir']))
+ $reldir = $_GET['reldir'];
+else
+ $reldir = "";
+
+$confdir = $reldir."ki_config/";
+$galleriesdir = $reldir."ki_galleries/";
+$basedir = $reldir."ki_base/";
+
+$pwok = 0;
+if(isset($_SESSION['pwquery'])){
+ if($_SESSION['pwquery'] === $pw)$pwok = 1;
+}
+if($pwok == 0)exit();
+
+header("Content-Type: application/x-javascript");
+?>
+
+// Manage folders module 'kim' --------------------------------------------------------------------
+
+function kim_module(){
+
+ /* -------------------------------- variables ----------------------------------- */
+
+ var windowX;
+ var windowY;
+ var open = 0;
+
+ /* -------------------------------- getElementById function --------------------- */
+
+ function $(id){
+ return document.getElementById(id);
+ }
+
+ /* -------------------------------- constructor/descturctor --------------------- */
+
+ this.constr = function(){
+ if(typeof(kiv_module) == "function")kiv.closeImage();
+ if(typeof(kie_module) == "function")kie.closeGallery();
+ if(typeof(kis_module) == "function")kis.closeSettings();
+ if(typeof(kid_module) == "function")kid.close();
+ if(typeof(kiu_module) == "function")kiu.closeUpload();
+ if(typeof(kic_module) == "function")kic.close();
+ fw.shadebody(1);
+ var node;
+ if(!$("kim_maindiv")){
+ node = document.createElement("div");
+ node.id = "kim_maindiv";
+ node.style.background = "#aaaaaa";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.left = "0px";
+ node.style.top = "0px";
+ node.style.zIndex = 1000;
+ node.style.overflowX = "hidden";
+ node.style.overflowY = "auto";
+ node.style.display = "block";
+ node.style.font = "12px Tahoma, sans-serif";
+ node.style.padding = "4px";
+ node.innerHTML = "<div id='manage_div' style='background:#D2D2D2; padding:4px; width:960px; margin:auto; border:1px solid #000;'><div style='width:300px; margin:auto; text-align:center;'><input type='button' value='Create new folder' style='margin:0px; padding:0px; cursor:pointer; border:1px solid #000; height:26px; width:150px; background:#A5ACCF; font-weight:bold;' onclick=\"kim.createnew()\"' /></div><b>Folders in \"ki_galleries\":</b><div id='manage_div_cont' style='padding-top:5px;'></div></div>";
+ document.body.appendChild(node);
+ }
+ if(!$("kim_botdiv")){
+ node = document.createElement("div");
+ node.id = "kim_botdiv";
+ node.style.background = "#aaaaaa";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.zIndex = 1001;
+ node.style.padding = "5px";
+ node.style.font = "12px Tahoma, sans-serif";
+ node.style.color = "#222222";
+ node.style.borderTop = "1px solid #000000";
+ node.style.borderRight = "1px solid #000000";
+ node.style.borderLeft = "1px solid #000000";
+ node.style.right = "25px";
+ node.style.bottom = "0px";
+ node.innerHTML = "<input type='button' value='Close' style='float:right; margin:0px; padding:0px; cursor:pointer; border:1px solid #000; height:26px; width:150px;' onclick='kim.close()' />";
+ document.body.appendChild(node);
+ }
+ <?php addEvent("window", "resize", "viewdim"); ?>
+ viewdim();
+ <?php
+ if(!in_array($browser, array("ie6", "ie7", "ie9", "webkit"))){
+ addEvent("document", "keypress", "taste_kim");
+ } else {
+ addEvent("document", "keydown", "taste_kim");
+ }
+ ?>
+ <?php addEvent("document", "mousemove", "mousemoved"); ?>
+ listFolders();
+ fw.move("authorization", 2, -42, 0);
+ }
+
+ this.destr = function(){
+ <?php removeEvent("window", "resize", "viewdim"); ?>
+ <?php
+ if(!in_array($browser, array("ie6", "ie7", "ie9", "webkit"))){
+ removeEvent("document", "keypress", "taste_kim");
+ } else {
+ removeEvent("document", "keydown", "taste_kim");
+ }
+ ?>
+ <?php removeEvent("document", "mousemove", "mousemoved"); ?>
+ document.body.removeChild($("kim_maindiv"));
+ document.body.removeChild($("kim_botdiv"));
+ fw.shadebody(0);
+ fw.move("authorization", 2, 55, 0);
+ }
+
+ /* -------------------------------- methodes ------------------------------------ */
+
+ function listFolders(){
+ fw.getHTTP("<?php echo $basedir ?>ki_managefolders.php?list=1", listingFolders, null);
+ }
+
+ function listingFolders(responseText){
+ var managediv = $("manage_div_cont");
+ var newC = "";
+ var info = eval("(" + responseText + ")");
+ if(info.error){
+ alert(info.error);
+ } else {
+ for(var i = 0; i < info.length; i++){
+ newC += "<div style='padding:4px; margin:4px; border:1px solid #000; position:relative; background:#fff;'><input type='button' value='Delete folder' style='float:right; margin:0px; padding:0px; cursor:pointer; border:1px solid #000; height:26px; width:150px; margin-top:6px; margin-left:10px; background:#f5998f;' onclick=\"kim.delete('" + info[i].folder + "')\"' /><input type='button' value='Empty folder' style='float:right; margin:0px; padding:0px; cursor:pointer; border:1px solid #000; height:26px; width:150px; margin-top:6px;' onclick=\"kim.empty('" + info[i].folder + "')\"' /><b style='font-size:14px;'>" + info[i].folder + "</b><br /><div style='padding-top:5px; font-size:11px; color:#222;'>Image files: " + info[i].num + "<span style='position:absolute; left:140px;'>Disk usage: " + info[i].size + " MB</span></div></div>";
+ }
+ managediv.innerHTML = newC;
+ }
+ }
+
+ this.empty = function(folder){
+ fw.getHTTP("<?php echo $basedir ?>ki_managefolders.php?empty=" + folder, listingFolders, null);
+ }
+
+ this.delete = function(folder){
+ fw.getHTTP("<?php echo $basedir ?>ki_managefolders.php?delete=" + folder, listingFolders, null);
+ }
+
+ this.createnew = function(){
+ var name = prompt("Please enter a folder name", "");
+ if(name != null && name != ""){
+ fw.getHTTP("<?php echo $basedir ?>ki_managefolders.php?createnew=" + name, listingFolders, null);
+ }
+ }
+
+ function viewdim(){
+ if(window.innerHeight){
+ windowX = window.innerWidth;
+ windowY = window.innerHeight;
+ } else if(document.documentElement && document.documentElement.clientHeight){ // Explorer 6 Strict Mode
+ windowX = document.documentElement.clientWidth;
+ windowY = document.documentElement.clientHeight;
+ } else if (document.body){ // other Explorers
+ windowX = document.body.clientWidth;
+ windowY = document.body.clientHeight;
+ }
+ var maindiv = $("kim_maindiv");
+ maindiv.style.width = windowX - 8 + "px";
+ maindiv.style.height = windowY - 8 + "px";
+ }
+
+ this.close = function(){
+ fw.removejs("kim");
+ }
+
+ function preventDefaultAction(aEvent) {
+ <?php if($browser !== "ie6" && $browser !== "ie7") { ?>
+ aEvent.stopPropagation();
+ <?php } ?>
+ <?php if($browser === "gecko") { ?>
+ aEvent.preventDefault();
+ <?php } ?>
+ <?php if($browser === "opera") { ?>
+ aEvent.returnValue = false;
+ <?php } ?>
+ }
+
+ function taste_kim(aEvent) {
+ aEvent = aEvent ? aEvent : window.event;
+ var keyCode = aEvent.keyCode;
+ if(keyCode == 27){
+ kim.close();
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ }
+
+ function mousemoved(aEvent){
+ aEvent = aEvent ? aEvent : window.event;
+ var x = aEvent.clientX ? aEvent.clientX : aEvent.pageX;
+ var y = aEvent.clientY ? aEvent.clientY : aEvent.pageY;
+ if(y < 180 && x < 30 && !open){
+ open = 1;
+ fw.move("authorization", 2, 55, 0);
+ return;
+ }
+ if(x > 120 || y > 180){
+ open = 0;
+ fw.move("authorization", 2, -42, 0);
+ }
+ }
+}
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_settings.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_settings.php
new file mode 100644
index 00000000..b9e7fdf6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_settings.php
@@ -0,0 +1,530 @@
+<?php
+ob_start("ob_gzhandler");
+
+session_start();
+
+header("Expires: Mon, 01 Jul 2003 00:00:00 GMT"); // Past date
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Consitnuously modified
+header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
+header("Pragma: no-cache"); // NO CACHE
+
+//-------------------------------------- functions -------------------------------------
+function draw_image($filename, $id, $style, $params) {
+ global $browser, $basedir;
+ $idstring = "";
+ if($id != "")$idstring = "id='".$id."' ";
+ if($browser === "ie6") {
+ $imgsize = getimagesize($filename);
+ echo "<img ".$idstring."style='filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=".$basedir.$filename."); width:".$imgsize[0]."px; height:".$imgsize[1]."px; ".$style."' src='".$basedir."ki_noimage.gif' ".$params." />";
+ } else {
+ if($style != "")$style = " style='".$style."' ";
+ echo "<img ".$idstring."src='".$basedir.$filename."'".$style.$params." />";
+ }
+}
+
+function addEvent($el, $event, $function){
+ global $browser;
+ if($browser === "ie6" || $browser === "ie7"){
+ echo $el.".attachEvent('on".$event."', ".$function.");\n";
+ } else {
+ echo $el.".addEventListener('".$event."', ".$function.", false);\n";
+ }
+}
+
+function removeEvent($el, $event, $function){
+ global $browser;
+ if($browser === "ie6" || $browser === "ie7"){
+ echo $el.".detachEvent('on".$event."', ".$function.");\n";
+ } else {
+ echo $el.".removeEventListener('".$event."', ".$function.", false);\n";
+ }
+}
+//-------------------------------------- end functions -----------------------------------
+
+include("../ki_config/ki_setup.php");
+
+$global_start = -1;
+$global_length = -1;
+$global_count = -1;
+
+reset($GLOBALS);
+
+while (list($key, $val) = each($GLOBALS)) {
+ $global_count++;
+ if($global_start == -1){
+ if($key === "fr_width"){
+ $global_start = $global_count;
+ continue;
+ }
+ }
+ if($global_length == -1){
+ if($key === "global_start"){
+ $global_length = $global_count - $global_start;
+ break;
+ }
+ }
+}
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [9]/",$browser))
+ $browser = "ie9";
+elseif(preg_match("/MSIE [7-8]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+if($browser === "ie6")
+ $posfix = "absolute";
+else
+ $posfix = "fixed";
+
+if(isset($_GET['reldir']))
+ $reldir = $_GET['reldir'];
+else
+ $reldir = "";
+
+$confdir = $reldir."ki_config/";
+$galleriesdir = $reldir."ki_galleries/";
+$basedir = $reldir."ki_base/";
+
+$pwok = 0;
+if(isset($_SESSION['pwquery'])){
+ if($_SESSION['pwquery'] === $pw)$pwok = 1;
+}
+if($pwok == 0)exit();
+
+header("Content-Type: application/x-javascript");
+?>
+
+// Settings module 'kis' --------------------------------------------------------------------
+
+function kis_module(){
+
+ /* -------------------------------- variables ----------------------------------- */
+
+ var windowX;
+ var windowY;
+ var currentfile = "";
+ var open = 0;
+
+ /* -------------------------------- getElementById function --------------------- */
+
+ function $(id){
+ return document.getElementById(id);
+ }
+
+ /* -------------------------------- constructor/descturctor --------------------- */
+
+ this.constr = function(){
+ if(typeof(kiv_module) == "function")kiv.closeImage();
+ if(typeof(kie_module) == "function")kie.closeGallery();
+ if(typeof(kiu_module) == "function")kiu.closeUpload();
+ if(typeof(kid_module) == "function")kid.close();
+ if(typeof(kic_module) == "function")kic.close();
+ if(typeof(kim_module) == "function")kim.close();
+ fw.shadebody(1);
+ var node;
+ if(!$("kis_maindiv")){
+ node = document.createElement("div");
+ node.id = "kis_maindiv";
+ node.style.background = "#aaaaaa";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.left = "0px";
+ node.style.top = "0px";
+ node.style.zIndex = 1000;
+ node.style.overflowX = "hidden";
+ node.style.overflowY = "auto";
+ node.style.display = "block";
+ node.style.padding = "4px";
+ node.innerHTML = "<div id='settings_div' style='background:#D2D2D2; width:960px; margin:auto; font:12px Tahoma, sans-serif; color:#222222; border:1px solid #000000; padding:46px 4px 36px 4px;'></div>";
+ document.body.appendChild(node);
+ }
+ if(!$("kis_topdiv")){
+ node = document.createElement("div");
+ node.id = "kis_topdiv";
+ node.style.background = "#aaaaaa";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.height = "45px";
+ node.style.zIndex = 1001;
+ node.style.padding = "5px 20px 0px 120px";
+ node.style.font = "12px Tahoma, sans-serif";
+ node.style.color = "#222222";
+ node.style.borderBottom = "1px solid #000000";
+ node.style.borderRight = "1px solid #000000";
+ node.style.left = "0px";
+ node.style.top = "0px";
+ var dirs = "";
+ for(var i = 0; i < kib.dirs.length; i++){
+ dirs = dirs + "<span style='cursor:pointer; text-decoration:underline; margin-right:5px; line-height:14px;' onclick=\"kis.getSettings('" + kib.dirs[i] + "')\">" + kib.dirs[i] + "</span>";
+ }
+ node.innerHTML = "<div style='margin-bottom:5px;'><span style='font-size:14px; line-height:18px; font-weight:bold; color:#003; margin-right:5px;'>Config Files</span><span style='background:#003; border:1px solid #CCC; padding:3px; color:#ffffff;' id='kis_selfile'></span></div><span style='cursor:pointer; text-decoration:underline; font-weight:bold; margin-right:5px; line-height:14px;' onclick='kis.getSettings()'>default</span>" + dirs;
+ document.body.appendChild(node);
+ }
+ if(!$("kis_botdiv")){
+ node = document.createElement("div");
+ node.id = "kis_botdiv";
+ node.style.background = "#aaaaaa";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.zIndex = 1001;
+ node.style.padding = "5px";
+ node.style.font = "12px Tahoma, sans-serif";
+ node.style.color = "#222222";
+ node.style.borderTop = "1px solid #000000";
+ node.style.borderRight = "1px solid #000000";
+ node.style.borderLeft = "1px solid #000000";
+ node.style.right = "25px";
+ node.style.bottom = "0px";
+ node.innerHTML = "<input type='button' value='Close' style='float:right; margin:0px; padding:0px; cursor:pointer; border:1px solid #000; height:26px; width:150px;' onclick='kis.closeSettings()' /><input type='button' value='Reset' style='float:right; margin:0px; margin-right:10px; padding:0px; cursor:pointer; border:1px solid #000; height:26px; width:150px; display:none;' onclick='kis.resetSettings()' id='kis_resetbutton' /><input type='button' value='Save' style='float:left; margin:0px; margin-right:10px; padding:0px; cursor:pointer; border:1px solid #000; height:26px; width:150px; background:#b8e8d4;' onclick='kis.saveSettings()' />";
+ document.body.appendChild(node);
+ }
+
+ node = $("settings_div");
+ node.innerHTML = "<table style='padding:0px; color:#006; font-size:11px;' cellpadding='4' cellspacing='0'><tr><td style='width:150px;' class='kis_paramname'>$fr_width</td><td style='width:200px;'><input id='fr_width' class='kis_param' /></td><td rowspan='2'>This two parameters set the dimension of the gallery in pixels. They are equivallent to css-width and height of the koschtitgallery-div.</td></tr><tr><td class='kis_paramname'>$fr_height</td><td><input id='fr_height' class='kis_param' /></td></tr><tr><td class='kis_paramname'>$fr_color</td><td><input id='fr_color' class='kis_param' /></td><td>The background color of the gallery. Set a hex-color '#rrggbb' or 'none'.</td></tr><tr><td colspan='3' class='kis_spacer'></td></tr><tr><td class='kis_paramname'>$thumbs</td><td><input id='thumbs' class='kis_param' /></td><td>Sets the amount of thumbnails that are visible on one page of the gallery.</td></tr><tr><td class='kis_paramname'>$th_per_line</td><td><input id='th_per_line' class='kis_param' /></td><td>Sets the amout of thumbnails in one row. This should be less or equal to the <b>$thumbs</b> - parameter.</td></tr><tr><td class='kis_paramname'>$th_lines</td><td><input id='th_lines' class='kis_param' /></td><td>Here you can set how many thumbnail rows you want to have. Set to 'auto' or a number.</td></tr><tr><td class='kis_paramname'>$th_width</td><td><input id='th_width' class='kis_param' /></td><td rowspan='2'>This two parameters set the maximum dimension of the thumbnails in pixels. Set to 'auto' or a number.</td></tr><tr><td class='kis_paramname'>$th_height</td><td><input id='th_height' class='kis_param' /></td></tr><tr><td class='kis_paramname'>$th_bord_size</td><td><input id='th_bord_size' class='kis_param' /></td><td>The border width of the thumbnails in pixels. Set to a number greater or equal to zero.</td></tr><tr><td class='kis_paramname'>$th_bord_color</td><td><input id='th_bord_color' class='kis_param' /></td><td>The border color of the thumbnails. Set a hex-color '#rrggbb' or 'none'.</td></tr><tr><td class='kis_paramname'>$th_bord_hover_color</td><td><input id='th_bord_hover_color' class='kis_param' /></td><td>If you hover over the thumbnails their border color will change to this. Set a hex-color '#rrggbb' or 'none'.</td></tr><tr><td class='kis_paramname'>$th_bord_hover_increase</td><td><input id='th_bord_hover_increase' class='kis_param' /></td><td>You can also change the size of the thumbnails when you hover over them. They will be increased by this value. Set to a decimal with a dot.</td></tr><tr><td class='kis_paramname'>$th_shadow</td><td><input id='th_shadow' class='kis_param' yn='1' /></td><td>Enables or disables the shadow which displays when mouse hovers a thumbnail.</td></tr><tr><td class='kis_paramname'>$th_to_square</td><td><input id='th_to_square' class='kis_param' yn='1' /></td><td>For square thumbs set to 1, or else set to 0.</td></tr><tr><td class='kis_paramname'>$th_2sq_crop_hori</td><td><input id='th_2sq_crop_hori' class='kis_param' /></td><td>If $th_to_square is set to 1, you can change the horizontal cropping of the thumbmails with this parameter. Set to 'left', 'center' or 'right'.</td></tr><tr><td class='kis_paramname'>$th_2sq_crop_vert</td><td><input id='th_2sq_crop_vert' class='kis_param' /></td><td>If $th_to_square is set to 1, you can change the vertical cropping of the thumbmails with this parameter. Set to 'top', 'middle' or 'bottom'.</td></tr><tr><td class='kis_paramname'>$thumbs_to_disk</td><td><input id='thumbs_to_disk' class='kis_param' yn='1' /></td><td>Set this parameter to 1, if you want your thumbnails to be saved on the server. If you want to generate your thumbnails 'on the fly', set this to 0.</td></tr><tr><td colspan='3' style='color:#666;'><b>Remember</b>: If $th_to_square is set to 1, you can also adjust the cropping for each thumbnail individually by clicking on the respective thumbnail when logged in as administrator.</td></tr><tr><td colspan='3' class='kis_spacer'></td></tr><tr><td class='kis_paramname'>$pic_order</td><td><input id='pic_order' class='kis_param' /></td><td>This parameter sets the order of your pictures in your gallery. Set to 0 for newest pictures first, set to 1 for oldest pictures first, set to 2 for alphabetical order or set to 3 for image creation order (uses EXIF). If you want to adjust the order of your pictures manually with the admin panel (Change order) set this to 4.</td></tr><tr><td class='kis_paramname'>$resize_auto</td><td><input id='resize_auto' class='kis_param' yn='1' /></td><td>If set to 1 the gallery resizes automatically to smaller size if vertical space is available. If set to 0 the gallery stays always fixed size.</td></tr><tr><td class='kis_paramname'>$bord_size</td><td><input id='bord_size' class='kis_param' /></td><td>Sets the border size of displayed pictures in pixels. Set to a number greater or equal to zero.</td></tr><tr><td class='kis_paramname'>$bord_color</td><td><input id='bord_color' class='kis_param' /></td><td>The border color of displayed pictures. Set a hex-color '#rrggbb' or 'none'.</td></tr><tr><td class='kis_paramname'>$max_pic_width</td><td><input id='max_pic_width' class='kis_param' /></td><td rowspan='2'>You can set a maximum width and height for displayed pictures. Set to a number (for total pixel size) or leave 'none' for no limits. You can also set a value between 0 and 1.0 to indicate a percentage of window size.</td></tr><tr><td class='kis_paramname'>$max_pic_height</td><td><input id='max_pic_height' class='kis_param' /></td></tr><tr><td class='kis_paramname'>$oversize_allowed</td><td><input id='oversize_allowed' class='kis_param' yn='1' /></td><td>Set to 0, if you want to adjust the size of displayed pictures to the browser window size. If you want to show your displayed pictures in full resolution set to 1.</td></tr><tr><td colspan='3' class='kis_spacer'></td></tr><tr><td class='kis_paramname'>$comments</td><td><input id='comments' class='kis_param' yn='1' /></td><td>1 enables picture comments and 0 disables them.</td></tr><tr><td class='kis_paramname'>$comm_text_size</td><td><input id='comm_text_size' class='kis_param' /></td><td>Set the font size in pixels for comments here.</td></tr><tr><td class='kis_paramname'>$comm_text_color</td><td><input id='comm_text_color' class='kis_param' /></td><td>Sets the font color for comments. Set a hex-color '#rrggbb'.</td></tr><tr><td class='kis_paramname'>$comm_text_font</td><td><input id='comm_text_font' class='kis_param' /></td><td>The font face for picture- and viewer comments . This is equal to css-font-face.</td></tr><tr><td class='kis_paramname'>$comm_text_align</td><td><input id='comm_text_align' class='kis_param' /></td><td>You can change the text alignment for comments with this parameter. Set to 'left', 'center' or 'right'.</td></tr><tr><td class='kis_paramname'>$comm_auto</td><td><input id='comm_auto' class='kis_param' yn='1' /></td><td>If you want to have automatic picture comments set this to 1, or else set to 0.</td></tr><tr><td class='kis_paramname'>$comm_auto_string</td><td><input id='comm_auto_string' class='kis_param' /></td><td>If <b>$comm_auto</b> is set to 1, you can enter your automatic picture comment here. There are some variables available: '%x' = picture number / '%X' = number of all pictures / '%f' = filename / '%g' = gallery folder</td></tr><tr><td colspan='3' style='color:#666;'><b>Remember</b>: If $comm_auto is set to 1, all custom comments won't be displayed or saved.</td></tr><tr><td colspan='3' class='kis_spacer'></td></tr><tr><td class='kis_paramname'>$viewercomments</td><td><input id='viewercomments' class='kis_param' yn='1' /></td><td>1 = viewer comments are turned on / 0 = viewer comments are turned off</td></tr><tr><td class='kis_paramname'>$moderate_posts</td><td><input id='moderate_posts' class='kis_param' yn='1' /></td><td>1 = moderate new viewer comments / 0 = no moderation<br />Enable $admin_mail if you want to receive notification for new picture comments.</td></tr><tr><td class='kis_paramname'>$vcomm_header_color</td><td><input id='vcomm_header_color' class='kis_param' /></td><td>This font color is used for viewer comment form descriptions. Set a hex-color '#rrggbb'.</td></tr><tr><td class='kis_paramname'>$vcomm_box_color</td><td><input id='vcomm_box_color' class='kis_param' /></td><td>This is the text color that is used for the comment form. Set a hex-color '#rrggbb'.</td></tr><tr><td class='kis_paramname'>$vcomm_text_color</td><td><input id='vcomm_text_color' class='kis_param' /></td><td>Defines the text color for viewer comments and their name. Set a hex-color '#rrggbb'.</td></tr><tr><td class='kis_paramname'>$vcomm_timedate_color</td><td><input id='vcomm_timedate_color' class='kis_param' /></td><td>Defines the text color for date and time line on the viewer comments page. Set a hex-color '#rrggbb'.</td></tr><tr><td class='kis_paramname'>$vcomm_back_color</td><td><input id='vcomm_back_color' class='kis_param' /></td><td>The background color of the viewer comment form is defined here. Set a hex-color '#rrggbb' or 'none'.</td></tr><tr><td class='kis_paramname'>$vcomm_bord_color</td><td><input id='vcomm_bord_color' class='kis_param' /></td><td>Sets the border color for all forms and inputs on the viewer comments page. Set a hex-color '#rrggbb'.</td></tr><tr><td class='kis_paramname'>$vcomm_horline_color</td><td><input id='vcomm_horline_color' class='kis_param' /></td><td>Defines the color for the horizontal lines between viewer comments. Set a hex-color '#rrggbb'.</td></tr><tr><td colspan='3' class='kis_spacer'></td></tr><tr><td class='kis_paramname'>$slideshow</td><td><input id='slideshow' class='kis_param' yn='1' /></td><td>Set to 1 if you want to enable a slideshow, or set to 0 else.</td></tr><tr><td class='kis_paramname'>$downloadpics</td><td><input id='downloadpics' class='kis_param' yn='1' /></td><td>Set to 1 if you want to allow full resolution picture downloads, or set to 0 else.</td></tr><tr><td class='kis_paramname'>$checkgps</td><td><input id='checkgps' class='kis_param' yn='1' /></td><td>If set to 1, a link to Googlemaps is displayed when an image contains geodetic coordinates in the exif metadata. Set to 0 if you don't need this feature.</td></tr><tr><td class='kis_paramname'>$cellinfo</td><td><input id='cellinfo' class='kis_param' yn='1' /></td><td>If <b>$checkgps</b> is set to 1, you can additionally check the image metadata for cellid information added by mobile phones. This information is then send to opencellid.org and if the cell gps position is deposed there a link to Googlemaps will be displayed too.</td></tr><tr><td class='kis_paramname'>$show_nav</td><td><input id='show_nav' class='kis_param' yn='1' /></td><td>Set this parameter to 0, if you don't need the navigation icons below the thumbnails. Otherwise set to 1.</td></tr><tr><td class='kis_paramname'>$nav_always</td><td><input id='nav_always' class='kis_param' yn='1' /></td><td>If this is set to 0, the navigation icons will only be visible if you hover with your mouse over the gallery.</td></tr><tr><td class='kis_paramname'>$nav_pos</td><td><input id='nav_pos' class='kis_param' /></td><td>Aligns the navigation icons below the thumbnails. Set to 'left', 'center' or 'right'.</td></tr><tr><td class='kis_paramname'>$nav_color</td><td><input id='nav_color' class='kis_param' /></td><td>Defines the background color of the navigation icons toolbar. Set a hex-color '#rrggbb'.</td></tr><tr><td class='kis_paramname'>$nav_border_color</td><td><input id='nav_border_color' class='kis_param' /></td><td>Defines the border color of the navigation icons toolbar. Set a hex-color '#rrggbb'.</td></tr><tr><td class='kis_paramname'>$nav_style</td><td><input id='nav_style' class='kis_param' /></td><td>1 = rectangular navigation icons / 2 = round navigation icons (doesn't work for Internet Explorer <= 8)</td></tr><tr><td class='kis_paramname'>$show_image_nav</td><td><input id='show_image_nav' class='kis_param' yn='1' /></td><td>Enables or disables the navigation icons for displayed pictures. Set to 1 or either to 0.</td></tr><tr><td class='kis_paramname'>$image_nav_always</td><td><input id='image_nav_always' class='kis_param' yn='1' /></td><td>If this is set to 0, the image navigation icons and the image sharing link will slide out if mouse moves away from them. Otherwise they stay visible (set to 1).</td></tr><tr><td class='kis_paramname'>$show_share</td><td><input id='show_share' class='kis_param' yn='1' /></td><td>Enables or disables the display of the image sharing link. Set to 1 or either to 0. (not visible when logged in as admin)</td></tr><tr><td class='kis_paramname'>$show_help</td><td><input id='show_help' class='kis_param' yn='1' /></td><td>If set to 1, a small help icon is displayed on bottom right/left of displayed pictures. Set to 0 if you don't need this.</td></tr><tr><td class='kis_paramname'>$help_pos</td><td><input id='help_pos' class='kis_param' /></td><td>Set to 'left' or 'right' to define where to place the help icon.</td></tr><tr><td class='kis_paramname'>$show_preview</td><td><input id='show_preview' class='kis_param' yn='1' /></td><td>You can disable/enable preview pictures that are displayed when you move your mouse beyond the sides of displayed pictures. Set to 1 or 0.</td></tr><tr><td class='kis_paramname'>$preview_style</td><td><input id='preview_style' class='kis_param' /></td><td>If set to 1, it displays the next/previous picture as preview. The further you move your mouse, the bigger the preview images get. If set to 2, only the icons 'ki_next.png'/'ki_back.png' are displayed. This parameter is only valid, when $show_preview is set to 1.</td></tr><tr><td class='kis_paramname'>$preview_pics</td><td><input id='preview_pics' class='kis_param' /></td><td>You can adjust the number of preview pictures that are displayed, if you move your mouse to the border of the browser window. If this is set to 0 no preview pictures will be displayed.</td></tr><tr><td colspan='3' class='kis_spacer'></td></tr><tr><td class='kis_paramname'>$show_explorer</td><td><input id='show_explorer' class='kis_param' yn='1' /></td><td>This parameter enables/disables the gallery explorer (maximized full window view).</td><tr><td class='kis_paramname'>$explorer_padding</td><td><input id='explorer_padding' class='kis_param' /></td><td>Sets the padding ( in pixels ) between pictures in 'maximized' view.</td></tr><tr><td colspan='3' class='kis_spacer'></td></tr><tr><td class='kis_paramname'>$watermark_hori</td><td><input id='watermark_hori' class='kis_param' /></td><td>Defines the horicontal position of the watermark on images. Set to 'left', 'center' or 'right'.</td></tr><tr><td class='kis_paramname'>$watermark_vert</td><td><input id='watermark_vert' class='kis_param' /></td><td>Defines the vertical position of the watermark on images. Set to 'top', 'middle' or 'bottom'.</td></tr><tr><td class='kis_paramname'>$watermark_size</td><td><input id='watermark_size' class='kis_param' /></td><td>You can adjust the size of the watermark. If you want to spread the watermark over the whole image set this to 1. Leave this at 0 if you want to leave the watermark size as it is. Otherwise set to a decimal from 0.01 to 0.99 .</td></tr><tr class='kis_global'><td colspan='3' class='kis_spacer'></td></tr><tr class='kis_global'><td class='kis_paramname'>$fade_color</td><td><input id='fade_color' class='kis_param' /></td><td>Adjust the shade color with this parameter. Set a hex-color '#rrggbb'.</td></tr><tr class='kis_global'><td class='kis_paramname'>$fade_alpha</td><td><input id='fade_alpha' class='kis_param' /></td><td>Changes the opacity of the shade. Set a number from 0 to 10, where 10 is for full opacity and 0 for no opacity at all.</td></tr><tr class='kis_global'><td class='kis_paramname'>$shade_while_loading</td><td><input id='shade_while_loading' class='kis_param' yn='1' /></td><td>If this is set to 1, the website will be shaded during the galleries will be initialized. Set to 0, if you don't need this.</td></tr><tr class='kis_global'><td class='kis_paramname'>$disable_animation</td><td><input id='disable_animation' class='kis_param' yn='1' /></td><td>You can disable all script animations if you set this to 1. If you wish to enable animations, set this to 0.</td></tr><tr class='kis_global'><td class='kis_paramname'>$slideshow_time</td><td><input id='slideshow_time' class='kis_param' /></td><td>This is the time an image will be displayed during slideshow. Enter a value in milliseconds.</td></tr><tr class='kis_global'><td colspan='3' style='color:#666;'><b>Remember</b>: These are global settings. The changes will only be applied if you refresh your website.</td></tr><tr class='kis_global'><td colspan='3' class='kis_spacer'></td></tr><tr class='kis_global'><td class='kis_paramname'>$nav_next</td><td><input id='nav_next' class='kis_param' /></td><td>Next thumbnails page icon description.</td></tr><tr class='kis_global'><td class='kis_paramname'>$nav_back</td><td><input id='nav_back' class='kis_param' /></td><td>Previous thumbnails page icon description.</td></tr><tr class='kis_global'><td class='kis_paramname'>$nav_maxi</td><td><input id='nav_maxi' class='kis_param' /></td><td>Maximize gallery icon description.</td></tr><tr class='kis_global'><td class='kis_paramname'>$nav_kiv_next</td><td><input id='nav_kiv_next' class='kis_param' /></td><td>Next gallery picture icon description.</td></tr><tr class='kis_global'><td class='kis_paramname'>$nav_kiv_back</td><td><input id='nav_kiv_back' class='kis_param' /></td><td>Previous gallery picture icon description.</td></tr><tr class='kis_global'><td class='kis_paramname'>$nav_kiv_close</td><td><input id='nav_kiv_close' class='kis_param' /></td><td>Close icon description.</td></tr><tr class='kis_global'><td class='kis_paramname'>$nav_gps_coord</td><td><input id='nav_gps_coord' class='kis_param' /></td><td>Googlemaps icon description.</td></tr><tr class='kis_global'><td class='kis_paramname'>$nav_kiv_vcomm</td><td><input id='nav_kiv_vcomm' class='kis_param' /></td><td>Show/Add viewer comments icon description.</td></tr><tr class='kis_global'><td class='kis_paramname'>$nav_kiv_download</td><td><input id='nav_kiv_download' class='kis_param' /></td><td>Download full picture icon description.</td></tr><tr class='kis_global'><td class='kis_paramname'>$slideshow_start</td><td><input id='slideshow_start' class='kis_param' /></td><td>Start slideshow icon description.</td></tr><tr class='kis_global'><td class='kis_paramname'>$slideshow_stop</td><td><input id='slideshow_stop' class='kis_param' /></td><td>Stop slideshow icon description.</td></tr><tr class='kis_global'><td class='kis_paramname'>$help_text</td><td><input id='help_text' class='kis_param' /></td><td>The help text, that is displayed when you hover over the info icon. The following variable is available: '[mouse]' = mouse moving image</td></tr><tr class='kis_global'><td class='kis_paramname'>$vcomm_lac</td><td><input id='vcomm_lac' class='kis_param' /></td><td>\"Leave a comment\"</td></tr><tr class='kis_global'><td class='kis_paramname'>$vcomm_name</td><td><input id='vcomm_name' class='kis_param' /></td><td>\"Name\"</td></tr><tr class='kis_global'><td class='kis_paramname'>$vcomm_comm</td><td><input id='vcomm_comm' class='kis_param' /></td><td>\"Comment\"</td></tr><tr class='kis_global'><td class='kis_paramname'>$vcomm_post</td><td><input id='vcomm_post' class='kis_param' /></td><td>\"Post comment\"</td></tr><tr class='kis_global'><td class='kis_paramname'>$vcomm_clk</td><td><input id='vcomm_clk' class='kis_param' /></td><td>\"Click on the image to flip back to the full image.\"</td></tr><tr class='kis_global'><td class='kis_paramname'>$vcomm_ncy</td><td><input id='vcomm_ncy' class='kis_param' /></td><td>\"No comments yet.\"</td></tr><tr class='kis_global'><td colspan='3' class='kis_spacer'></td></tr><tr class='kis_global'><td class='kis_paramname'>$admin_mail</td><td><input id='admin_mail' class='kis_param' yn='1' /></td><td>Enable or disable Email notifications for new image viewer comments.</td></tr><tr class='kis_global'><td class='kis_paramname'>$admin_mail_from</td><td><input id='admin_mail_from' class='kis_param' /></td><td>Email-address from where the Emails are send.</td></tr><tr class='kis_global'><td class='kis_paramname'>$admin_mail_to</td><td><input id='admin_mail_to' class='kis_param' /></td><td>Email-address where the Emails are send to.</td></tr><tr class='kis_global'><td colspan='3' style='color:#666;'><b>Remember</b>: The Email notifications system may only work if the '$admin_mail_from'-address actually belongs to this server. The PHP mail()-method needs to be working on your server.</td></tr><tr class='kis_global'><td colspan='3' class='kis_spacer'></td></tr><tr class='kis_global'><td class='kis_paramname'>$show_warnings</td><td><input id='show_warnings' class='kis_param' yn='1' /></td><td>Set to 0, if you don't need to get script warnings displayed.</td></tr><tr class='kis_global'><td colspan='3' class='kis_spacer'></td></tr><tr class='kis_global'><td class='kis_paramname'>$user</td><td><input id='user' class='kis_param' /></td><td>Change the user login name. Users can only upload new images.</td></tr><tr class='kis_global'><td class='kis_paramname'>$userpw</td><td><input id='userpw' class='kis_param' type='password' /></td><td>Change the user login password.</td></tr><tr class='kis_global'><td colspan='3' class='kis_spacer'></td></tr><tr class='kis_global'><td class='kis_paramname'>$admin</td><td><input id='admin' class='kis_param' /></td><td>Change the admin login name.</td></tr><tr class='kis_global'><td class='kis_paramname'>$pw</td><td><input id='pw' class='kis_param' type='password' /></td><td>Change the admin login password.</td></tr><tr class='kis_global'><td colspan='3' style='color:#666;'><b>Remember</b>: If you change your username and/or password you have to logout first and then login again before you can change any other settings.</td></tr></table>";
+ placeparams();
+ <?php addEvent("window", "resize", "viewdim"); ?>
+ viewdim();
+ <?php
+ if(!in_array($browser, array("ie6", "ie7", "ie9", "webkit"))){
+ addEvent("document", "keypress", "taste_kis");
+ } else {
+ addEvent("document", "keydown", "taste_kis");
+ }
+ ?>
+ <?php addEvent("document", "mousemove", "mousemoved"); ?>
+ kis.getSettings();
+ fw.move("authorization", 2, -42, 0);
+ fw.move("kis_topdiv", 2, -96, 0);
+ }
+
+ this.destr = function(){
+ <?php removeEvent("window", "resize", "viewdim"); ?>
+ <?php
+ if(!in_array($browser, array("ie6", "ie7", "ie9", "webkit"))){
+ removeEvent("document", "keypress", "taste_kis");
+ } else {
+ removeEvent("document", "keydown", "taste_kis");
+ }
+ ?>
+ <?php removeEvent("document", "mousemove", "mousemoved"); ?>
+ document.body.removeChild($("kis_maindiv"));
+ document.body.removeChild($("kis_topdiv"));
+ document.body.removeChild($("kis_botdiv"));
+ fw.shadebody(0);
+ fw.move("authorization", 2, 55, 0);
+ fw.move("kis_topdiv", 2, 0, 0);
+ }
+
+ /* -------------------------------- methodes ------------------------------------ */
+
+ function viewdim(){
+ if(window.innerHeight){
+ windowX = window.innerWidth;
+ windowY = window.innerHeight;
+ } else if(document.documentElement && document.documentElement.clientHeight){ // Explorer 6 Strict Mode
+ windowX = document.documentElement.clientWidth;
+ windowY = document.documentElement.clientHeight;
+ } else if (document.body){ // other Explorers
+ windowX = document.body.clientWidth;
+ windowY = document.body.clientHeight;
+ }
+ var maindiv = $("kis_maindiv");
+ maindiv.style.width = windowX - 8 + "px";
+ maindiv.style.height = windowY - 8 + "px";
+ }
+
+ this.closeSettings = function(){
+ fw.removejs("kis");
+ }
+
+ this.resetSettings = function(){
+ if(currentfile != "default"){
+ var nodes = document.getElementsByTagName("input");
+ var counter = 0;
+ for(var i = 0; i < nodes.length; i++){
+ if(nodes[i].className == 'kis_param'){
+ nodes[i].value = "";
+ if(nodes[i].getAttribute("yn")){
+ document.getElementsByName("kis_group"+counter)[0].checked = false;
+ document.getElementsByName("kis_group"+counter)[1].checked = false;
+ counter++;
+ }
+ }
+ }
+ }
+ }
+
+ function placeparams(){
+ var nodes = document.getElementsByTagName("input");
+ var counter = 0;
+ for(var i = 0; i < nodes.length; i++){
+ if(nodes[i].className == 'kis_param'){
+ nodes[i].id = "kis_" + nodes[i].id;
+ if(nodes[i].getAttribute("yn")){
+ nodes[i].style.display = "none";
+ nodes[i].parentNode.style.color = "#000000";
+ var node = document.createElement("label");
+ node.style.border = "1px solid #8c8c8c";
+ node.style.padding = "2px 0px 2px 15px";
+ node.style.background = "#D6ECA6";
+ node.style.width = "74px";
+ node.style.height = "16px";
+ node.style.lineHeight = "15px";
+ node.style.display = "block";
+ <?php if(in_array($browser, array("ie6", "ie7"))){ ?>
+ node.style.styleFloat = "left";
+ <?php } else { ?>
+ node.style.cssFloat = "left";
+ <?php } ?>
+ node.style.marginRight = "13px";
+ node.innerHTML = "<input type='radio' style='float:left; vertical-align:middle; height:16px; width:16px; padding:0px; margin:0px 3px 0px 0px;' name='kis_group"+counter+"' onclick=\"document.getElementById('"+nodes[i].id+"').value = '1';\" /><span style='float:left;'>Enable</span>";
+ nodes[i].parentNode.appendChild(node);
+ node = document.createElement("label");
+ node.style.border = "1px solid #8c8c8c";
+ node.style.padding = "2px 0px 2px 15px";
+ node.style.background = "#ECA6D6";
+ node.style.width = "74px";
+ node.style.height = "16px";
+ node.style.lineHeight = "15px";
+ node.style.display = "block";
+ <?php if(in_array($browser, array("ie6", "ie7"))){ ?>
+ node.style.styleFloat = "left";
+ <?php } else { ?>
+ node.style.cssFloat = "left";
+ <?php } ?>
+ node.innerHTML = "<input type='radio' style='float:left; vertical-align:middle; height:16px; width:16px; padding:0px; margin:0px 3px 0px 0px;' name='kis_group"+counter+"' onclick=\"document.getElementById('"+nodes[i].id+"').value = '0';\" /><span style='float:left;'>Disable</span>";
+ nodes[i].parentNode.appendChild(node);
+ counter++;
+ } else {
+ nodes[i].style.width = "190px";
+ nodes[i].style.border = "1px solid #8c8c8c";
+ nodes[i].style.padding = "2px";
+ nodes[i].style.margin = "0px";
+ nodes[i].style.background = "#e1edfc";
+ nodes[i].style.color = "#000000";
+ nodes[i].style.textAlign = "center";
+ }
+ }
+ }
+ nodes = document.getElementsByTagName("td");
+ for(var i = 0; i < nodes.length; i++){
+ nodes[i].style.padding = "4px";
+ if(nodes[i].className == 'kis_paramname'){
+ nodes[i].style.fontWeight = "bold";
+ nodes[i].style.color = "#5f443b";
+ nodes[i].style.fontSize = "12px";
+ }
+ if(nodes[i].className == 'kis_spacer'){
+ nodes[i].innerHTML = "<hr style='color:#398789;' />";
+ nodes[i].style.height = "19px";
+ }
+ }
+ }
+
+ this.getSettings = function(setupfile){
+ var params = "?file=";
+ if(setupfile)
+ params += setupfile + "&get=1";
+ else
+ params = "?get=1";
+ var nodes = document.getElementsByTagName("input");
+ var counter = 0;
+ for(var i = 0; i < nodes.length; i++){
+ if(nodes[i].className == 'kis_param'){
+ nodes[i].value = "";
+ if(nodes[i].getAttribute("yn")){
+ document.getElementsByName("kis_group"+counter)[0].checked = false;
+ document.getElementsByName("kis_group"+counter)[1].checked = false;
+ counter++;
+ }
+ }
+ }
+ nodes = document.getElementsByTagName("tr");
+ if(setupfile){
+ for(var i = 0; i < nodes.length; i++){
+ if(nodes[i].className == 'kis_global'){
+ nodes[i].style.display = "none";
+ }
+ }
+ } else {
+ for(var i = 0; i < nodes.length; i++){
+ if(nodes[i].className == 'kis_global'){
+ <?php if($browser === "ie6"){ ?>
+ nodes[i].style.display = "block";
+ <?php } else { ?>
+ nodes[i].style.display = "table-row";
+ <?php } ?>
+ }
+ }
+ }
+ $("kis_selfile").innerHTML = "";
+ $("kis_resetbutton").style.display = "none";
+ fw.getHTTP("<?php echo $basedir ?>ki_getsetsettings.php" + params, gotSettings, setupfile);
+ }
+
+ function gotSettings(responseText, setupfile){
+ if(!setupfile)setupfile = "default";
+ currentfile = setupfile;
+ if(currentfile == "default"){
+ $("kis_selfile").innerHTML = "ki_setup.php";
+ } else {
+ $("kis_selfile").innerHTML = setupfile + "_ki_setup.php";
+ }
+ if(currentfile != "default"){
+ $("kis_resetbutton").style.display = "block";
+ }
+ if(responseText != ""){
+ var jsontxt = responseText;
+ var settings = eval("(" + jsontxt + ")");
+
+ <?php
+ reset($GLOBALS);
+ for($i = 0; $i < $global_start; $i++)next($GLOBALS);
+ for($i = 0; $i < $global_length; $i++){
+ list($key, $val) = each($GLOBALS);
+ echo "\$(\"kis_$key\").value = settings.$key ? stripslashes(settings.$key) : \"\";\r\n";
+ }
+ ?>
+ $("kis_pw").value = "";
+ $("kis_userpw").value = "";
+
+ var nodes = document.getElementsByTagName("input");
+ var counter = 0;
+ for(var i = 0; i < nodes.length; i++){
+ if(nodes[i].className == 'kis_param'){
+ if(nodes[i].getAttribute("yn")){
+ if(nodes[i].value == "1")document.getElementsByName("kis_group"+counter)[0].checked = true;
+ if(nodes[i].value == "0")document.getElementsByName("kis_group"+counter)[1].checked = true;
+ counter++;
+ }
+ }
+ }
+
+ }
+ }
+
+ function stripslashes(str) {
+ str = str.replace(/\\'/g,'\'');
+ str = str.replace(/\\"/g,'"');
+ str = str.replace(/\\0/g,'\0');
+ str = str.replace(/\\\\/g,'\\');
+ return str;
+ }
+
+ this.saveSettings = function(){
+ if(currentfile != ""){
+ var params = "?file=" + currentfile + "&set=1";
+ <?php
+ reset($GLOBALS);
+ for($i = 0; $i < $global_start; $i++)next($GLOBALS);
+ for($i = 0; $i < $global_length; $i++){
+ list($key, $val) = each($GLOBALS);
+ echo "params += helpsave(\"$key\");\r\n";
+ }
+ ?>
+ var errors = lastcheck();
+ if(errors == 0){
+ fw.getHTTP("<?php echo $basedir ?>ki_getsetsettings.php" + params, savedSettings, currentfile);
+ } else {
+ alert("Error: All fields must be set for 'ki_setup.php'!");
+ }
+ }
+ }
+
+ function lastcheck(){
+ if(currentfile == "default"){
+ var nodes = document.getElementsByTagName("input");
+ for(var i = 0; i < nodes.length; i++){
+ if(nodes[i].className == 'kis_param'){
+ if(nodes[i].value == "" && nodes[i].id != "kis_pw" && nodes[i].id != "kis_userpw")return 1; // check all fields, except pw
+ }
+ }
+ }
+ return 0;
+ }
+
+ function helpsave(param){
+ return $("kis_"+param).value != "" ? "&"+param+"=" + encodeURIComponent($("kis_"+param).value) : "";
+ }
+
+ function savedSettings(responseText, savedfile){
+ var dirname = savedfile;
+ if(savedfile == "default")
+ savedfile = "ki_setup.php";
+ else
+ savedfile += "_ki_setup.php";
+ if(responseText == 'adminchanged'){
+ alert("File '"+savedfile+"' modified. You changed also your login username and/or password. You will now be logged out. Please login with your new data.");
+ var params = location.search.substr(1).split('&');
+ var newparams = "";
+ for(var i = 0; i < params.length; i++){
+ var param = params[i].split('=');
+ if(param[0] != 'admin'){
+ if(newparams.length == 0)
+ newparams += "?";
+ else
+ newparams += "&";
+ newparams += params[i];
+ } else {
+ if(newparams.length == 0)
+ newparams += "?";
+ else
+ newparams += "&";
+ newparams += "admin=" + $("kis_admin").value;
+ }
+ }
+ location.href = "./" + newparams;
+ } else if(responseText == 'modified'){
+ alert("File '"+savedfile+"' modified.");
+ kib.reloadcsandreinit();
+ } else {
+ alert("ERROR: File '"+savedfile+"' could not be saved/modified.");
+ }
+ }
+
+ function preventDefaultAction(aEvent) {
+ <?php if($browser !== "ie6" && $browser !== "ie7") { ?>
+ aEvent.stopPropagation();
+ <?php } ?>
+ <?php if($browser === "gecko") { ?>
+ aEvent.preventDefault();
+ <?php } ?>
+ <?php if($browser === "opera") { ?>
+ aEvent.returnValue = false;
+ <?php } ?>
+ }
+
+ function taste_kis(aEvent) {
+ aEvent = aEvent ? aEvent : window.event;
+ var keyCode = aEvent.keyCode;
+ if(keyCode == 27){
+ kis.closeSettings();
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ }
+
+ function mousemoved(aEvent){
+ aEvent = aEvent ? aEvent : window.event;
+ var x = aEvent.clientX ? aEvent.clientX : aEvent.pageX;
+ var y = aEvent.clientY ? aEvent.clientY : aEvent.pageY;
+ if(y < 180 && x < 30 && !open){
+ open = 1;
+ fw.move("authorization", 2, 55, 0);
+ fw.move("kis_topdiv", 2, 0, 0);
+ return;
+ }
+ if(x > 120 || y > 180){
+ open = 0;
+ fw.move("authorization", 2, -42, 0);
+ fw.move("kis_topdiv", 2, -96, 0);
+ }
+ }
+}
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_upload.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_upload.php
new file mode 100644
index 00000000..97a5ea6d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_upload.php
@@ -0,0 +1,611 @@
+<?php
+ob_start("ob_gzhandler");
+
+session_start();
+
+header("Expires: Mon, 01 Jul 2003 00:00:00 GMT"); // Past date
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Consitnuously modified
+header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
+header("Pragma: no-cache"); // NO CACHE
+
+//-------------------------------------- functions -------------------------------------
+function draw_image($filename, $id, $style, $params) {
+ global $browser, $basedir;
+ $idstring = "";
+ if($id != "")$idstring = "id='".$id."' ";
+ if($browser == "ie6") {
+ $imgsize = getimagesize($filename);
+ echo "<img ".$idstring."style='filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=".$basedir.$filename."); width:".$imgsize[0]."px; height:".$imgsize[1]."px; ".$style."' src='".$basedir."ki_noimage.gif' ".$params." />";
+ } else {
+ if($style != "")$style = " style='".$style."' ";
+ echo "<img ".$idstring."src='".$basedir.$filename."'".$style.$params." />";
+ }
+}
+
+function addEvent($el, $event, $function){
+ global $browser;
+ if($browser === "ie6" || $browser === "ie7"){
+ echo $el.".attachEvent('on".$event."', ".$function.");\n";
+ } else {
+ echo $el.".addEventListener('".$event."', ".$function.", false);\n";
+ }
+}
+
+function removeEvent($el, $event, $function){
+ global $browser;
+ if($browser === "ie6" || $browser === "ie7"){
+ echo $el.".detachEvent('on".$event."', ".$function.");\n";
+ } else {
+ echo $el.".removeEventListener('".$event."', ".$function.", false);\n";
+ }
+}
+//-------------------------------------- end functions -----------------------------------
+
+include("../ki_config/ki_setup.php");
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [9]/",$browser))
+ $browser = "ie9";
+elseif(preg_match("/MSIE [7-8]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+if($browser === "ie6")
+ $posfix = "absolute";
+else
+ $posfix = "fixed";
+
+if(isset($_GET['reldir']))
+ $reldir = $_GET['reldir'];
+else
+ $reldir = "";
+
+$confdir = $reldir."ki_config/";
+$galleriesdir = $reldir."ki_galleries/";
+$basedir = $reldir."ki_base/";
+
+$pwok = 0;
+if(isset($_SESSION['pwquery'])){
+ if($_SESSION['pwquery'] === $pw)$pwok = 1;
+}
+if($pwok == 0)exit();
+
+header("Content-Type: application/x-javascript");
+?>
+
+// Settings module 'kiu' --------------------------------------------------------------------
+
+function kiu_module(){
+
+ /* -------------------------------- variables ----------------------------------- */
+
+ var windowX;
+ var windowY;
+ var currentfolder = "";
+ var finalsizes = Array();
+
+ /* -------------------------------- getElementById function --------------------- */
+
+ function $(id){
+ return document.getElementById(id);
+ }
+
+ /* -------------------------------- constructor/descturctor --------------------- */
+
+ this.constr = function(){
+ if(typeof(kiv_module) == "function")kiv.closeImage();
+ if(typeof(kie_module) == "function")kie.closeGallery();
+ if(typeof(kis_module) == "function")kis.closeSettings();
+ if(typeof(kid_module) == "function")kid.close();
+ if(typeof(kic_module) == "function")kic.close();
+ if(typeof(kim_module) == "function")kim.close();
+ fw.shadebody(1);
+ var node;
+ if(!$("kiu_maindiv")){
+ node = document.createElement("div");
+ node.id = "kiu_maindiv";
+ node.style.background = "#aaaaaa";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.left = "0px";
+ node.style.top = "0px";
+ node.style.zIndex = 1000;
+ node.style.overflowX = "hidden";
+ node.style.overflowY = "auto";
+ node.style.display = "block";
+ node.style.font = "12px Tahoma, sans-serif";
+ node.style.padding = "4px";
+ node.innerHTML = "<div id='upload_div' style='background:#D2D2D2; position:absolute; left:50%; top:50%; margin-left:-481px; margin-top:-266px; border:1px solid #000000; padding:4px; height:530px; width:960px;'></div><div style='position:absolute; left:50%; top:50%; margin-left:-481px; margin-top:-266px; width:960px; height:480px; padding:4px; z-index:3; background:#D2D2D2; text-align:center; border:1px solid #000000; padding-top:54px; display:none;' id='kiu_progress'><span style='font-size:14px; font-weight:bold;'>Uploading files</span><div style='position:absolute; left:180px; top:150px; height:24px; width:600px; border:1px dashed #fff; line-height:24px; background:#afafaf;'><div id='kiu_progress_cur' style='position:absolute; left:0px; top:0px; width:0%; height:100%; background:#F63;'></div><div style='position:relative; color:#fff; overflow:hidden;'></div></div><div style='position:absolute; left:180px; top:250px; height:24px; width:600px; border:1px dashed #fff; line-height:24px; background:#afafaf;'><div id='kiu_progress_tot' style='position:absolute; left:0px; top:0px; width:0%; height:100%; background:#F63;'></div><div style='position:relative; color:#fff; overflow:hidden;'></div></div></div><div id='kiu_uploaddata' style='display:none;'></div>";
+ document.body.appendChild(node);
+ node = $("upload_div");
+ var uploadfield = "";
+ if(supportAjaxUploadWithProgress()){
+ uploadfield += "<form id='kiu_m_file_form'><div style='font-size:12px; text-align:center; padding-bottom:40px; padding-top:40px;'>Your browser supports uploading multiple files. Select all files from the \"Browse files\" upload field.</div><div style='position:relative; width:580px; margin:auto;'><input type='file' size='74' style='width:575px; padding:2px; margin:0px; border:1px solid #000; display:block; position:relative; <?php echo in_array($browser, array("ie6", "ie7")) ? "filter:alpha(opacity:0);" : "opacity:0;" ?> z-index:2;' onchange='kiu.choseMFiles(this)' multiple='multiple' name='pic' id='kiu_m_file' /><div style='position:absolute; left:0px; top:0px; z-index:1;'><div style='width:475px; height:18px; padding:2px; margin:0px; border:1px solid #8c8c8c; float:left; margin-right:5px; background:#fff; line-height:18px; margin-bottom:20px;'></div><input type='button' value='Browse files' style='float:left; display:block; margin:0px; padding:2px; border:1px solid #8c8c8c; height:24px; line-height:18px; width:90px;' /></div></div></form>";
+ } else {
+ for(var i = 0; i < 9; i++){
+ uploadfield += "<div style='position:relative; width:580px; margin:auto; margin-top:18px; height:27px; overflow:hidden;'><form action='<?php echo $basedir ?>ki_upload.php' target='kiu_uploadframe"+i+"' name='kiu_upform"+i+"' enctype='multipart/form-data' method='post'><input type='hidden' value='' name='dir'><input type='hidden' value='0' name='addwatermark'><input type='hidden' value='' name='maxx'><input type='hidden' value='' name='maxy'><iframe name='kiu_uploadframe"+i+"' src='about:blank' style='display:none;'></iframe><input type='file' size='74' style='width:575px; padding:2px; margin:0px; border:1px solid #000; display:block; position:relative; <?php echo in_array($browser, array("ie6", "ie7")) ? "filter:alpha(opacity:0);" : "opacity:0;" ?> z-index:2;' onchange='kiu.choseFiles(this)' name='pic' /><div style='position:absolute; left:0px; top:0px; z-index:1;'><input type='text' style='width:475px; height:18px; padding:2px; margin:0px; border:1px solid #8c8c8c; float:left; margin-right:5px;' /><input type='button' value='Browse file' style='float:left; display:block; margin:0px; padding:2px; border:1px solid #8c8c8c; height:24px; line-height:18px; width:90px;' /></div></form></div>";
+ }
+ }
+ uploadfield += "<div style='position:absolute; bottom:20px; left:195px; width:580px; margin:0px; line-height:22px; vertical-align:middle;'><span style='float:left;'>Upload a watermark:</span><div style='position:relative; width:450px; margin:auto; height:27px; overflow:hidden; float:right;'><form action='<?php echo $basedir ?>ki_upload.php' target='kiu_watermark' name='kiu_watermark_form' enctype='multipart/form-data' method='post'><iframe name='kiu_watermark' src='about:blank' style='display:none;'></iframe><input type='file' size='74' style='width:445px; padding:2px; margin:0px; border:1px solid #000; display:block; position:relative; <?php echo in_array($browser, array("ie6", "ie7")) ? "filter:alpha(opacity:0);" : "opacity:0;" ?> z-index:2;' onchange='kiu.choseFiles(this)' name='pic' /><div style='position:absolute; left:0px; top:0px; z-index:1;'><input type='text' style='width:345px; height:18px; padding:2px; margin:0px; border:1px solid #8c8c8c; float:left; margin-right:5px;' /><input type='button' value='Browse file' style='float:left; display:block; margin:0px; padding:2px; border:1px solid #8c8c8c; height:24px; line-height:18px; width:90px;' /></div><input type='hidden' name='watermark' value='1' /></form></div><span style='float:left; margin-right:15px; margin-top:8px; width:150px;'>Add watermark to images:</span><input type='checkbox' style='display:block; margin:0px; margin-top:10px; float:left;' onclick='kiu.toggleWatermark(this)' id='kiu_wmcb' /><br /><span style='float:left; margin-right:15px; margin-top:8px; clear:both;'>Reduce maximum image size to:</span><input type='text' style='width:50px; height:18px; padding:2px; margin:0px; margin-top:8px; margin-right:8px; border:1px solid #8c8c8c; float:left; text-align:center;' id='kiu_maxx' /><span style='float:left; margin-top:8px;'>x</span><input type='text' style='width:50px; height:18px; padding:2px; margin:0px; margin-top:8px; margin-left:10px; border:1px solid #8c8c8c; float:left; text-align:center;' id='kiu_maxy' /><div style='float:right; margin-left:10px; margin-top:-20px; margin-right:5px; height:52px; width:220px;'><?php draw_image("ki_watermark.pic", "kiu_wm_preview", "max-height:100%; max-width:100%; float:right; visibility:hidden;", "alt='Watermark'"); ?></div></div>";
+ node.innerHTML = uploadfield;
+ <?php if(is_file("ki_watermark.pic"))echo "$('kiu_wm_preview').style.visibility = 'visible';"; ?>
+ }
+ if(!$("kiu_topdiv")){
+ node = document.createElement("div");
+ node.id = "kiu_topdiv";
+ node.style.background = "#aaaaaa";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.height = "45px";
+ node.style.zIndex = 1001;
+ node.style.padding = "5px 20px 0px 120px";
+ node.style.font = "12px Tahoma, sans-serif";
+ node.style.color = "#222222";
+ node.style.borderBottom = "1px solid #000000";
+ node.style.borderRight = "1px solid #000000";
+ node.style.left = "0px";
+ node.style.top = "0px";
+ var dirs = "";
+ for(var i = 0; i < kib.dirs.length; i++){
+ dirs = dirs + "<span style='cursor:pointer; text-decoration:underline; margin-right:5px; line-height:14px;' onclick=\"kiu.setFolder('" + kib.dirs[i] + "')\">" + kib.dirs[i] + "</span>";
+ }
+ currentfolder = kib.dirs[0];
+ node.innerHTML = "<div style='margin-bottom:5px;'><span style='font-size:14px; line-height:18px; font-weight:bold; color:#003; margin-right:5px;'>Selected gallery upload folder</span><span style='background:#003; border:1px solid #CCC; padding:3px; color:#ffffff;' id='kiu_selfolder'>" + currentfolder + "</span></div>" + dirs;
+ document.body.appendChild(node);
+ }
+ if(!$("kiu_botdiv")){
+ node = document.createElement("div");
+ node.id = "kiu_botdiv";
+ node.style.background = "#aaaaaa";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.zIndex = 1001;
+ node.style.padding = "5px";
+ node.style.font = "12px Tahoma, sans-serif";
+ node.style.color = "#222222";
+ node.style.borderTop = "1px solid #000000";
+ node.style.borderRight = "1px solid #000000";
+ node.style.borderLeft = "1px solid #000000";
+ node.style.right = "25px";
+ node.style.bottom = "0px";
+ node.innerHTML = "<input type='button' value='Close' style='float:right; margin:0px; padding:0px; cursor:pointer; border:1px solid #000; height:26px; width:150px;' onclick='kiu.closeUpload()' /><input type='button' value='Upload files' style='margin:0px; margin-right:10px; padding:0px; cursor:pointer; border:1px solid #000; height:26px; width:150px; background:#B8E8D4;' onclick='kiu.startUpload()' /><input type='button' value='Upload watermark' style='margin:0px; margin-right:10px; padding:0px; cursor:pointer; border:1px solid #000; height:26px; width:150px;' onclick='kiu.uploadWatermark()' />";
+ document.body.appendChild(node);
+ kib.showhelp(node, 4, 5);
+ node.onmouseover = function(){
+ kib.hidehelp();
+ }
+ }
+ <?php addEvent("window", "resize", "viewdim"); ?>
+ viewdim();
+ <?php
+ if(!in_array($browser, array("ie6", "ie7", "ie9", "webkit"))){
+ addEvent("document", "keypress", "taste_kiu");
+ } else {
+ addEvent("document", "keydown", "taste_kiu");
+ }
+ ?>
+ kiu.setFolder(currentfolder);
+ }
+
+ this.destr = function(){
+ <?php removeEvent("window", "resize", "viewdim"); ?>
+ <?php
+ if(!in_array($browser, array("ie6", "ie7", "ie9", "webkit"))){
+ removeEvent("document", "keypress", "taste_kiu");
+ } else {
+ removeEvent("document", "keydown", "taste_kiu");
+ }
+ ?>
+ document.body.removeChild($("kiu_maindiv"));
+ document.body.removeChild($("kiu_topdiv"));
+ document.body.removeChild($("kiu_botdiv"));
+ fw.shadebody(0);
+ }
+
+ /* -------------------------------- methodes ------------------------------------ */
+
+ function viewdim(){
+ if(window.innerHeight){
+ windowX = window.innerWidth;
+ windowY = window.innerHeight;
+ } else if(document.documentElement && document.documentElement.clientHeight){ // Explorer 6 Strict Mode
+ windowX = document.documentElement.clientWidth;
+ windowY = document.documentElement.clientHeight;
+ } else if (document.body){ // other Explorers
+ windowX = document.body.clientWidth;
+ windowY = document.body.clientHeight;
+ }
+ var maindiv = $("kiu_maindiv");
+ maindiv.style.width = windowX - 8 + "px";
+ maindiv.style.height = windowY - 8 + "px";
+ }
+
+ this.closeUpload = function(){
+ kib.hidehelp();
+ fw.removejs("kiu");
+ kib.reinit();
+ }
+
+ function supportAjaxUploadWithProgress() {
+ var xhr = new XMLHttpRequest();
+ if (window.File && window.FileReader && window.FileList && ('upload' in xhr) && ('onprogress' in xhr.upload)) {
+ if(window.FormData){
+ return 1;
+ } else if('sendAsBinary' in xhr){
+ return 1;
+ }
+ }
+ return 0;
+ }
+
+ this.choseFiles = function(obj){
+ var fakefield = obj.nextSibling.firstChild;
+ var fileInput = obj;
+ var ret = "";
+ <?php if(in_array($browser, array("ie6", "ie7", "ie9", "opera"))) { ?>
+ var temp = fileInput.value.split("\\");
+ ret = temp[temp.length-1];
+ <?php } else { ?>
+ ret = fileInput.files[0].name;
+ <?php } ?>
+ fakefield.value = ret;
+ }
+
+ this.choseMFiles = function(obj){
+ var fakefield = obj.nextSibling.firstChild;
+ var fileInput = obj;
+ var ret = "";
+
+ for(var i = 0; i < fileInput.files.length; i++){
+ if(i != 0)ret += ", ";
+ ret += fileInput.files[i].name;
+ }
+
+ var temp = fw.getDim(fakefield, 1);
+ fakefield.style.visibility = "hidden";
+ fakefield.style.height = "auto";
+ fakefield.style.overflow = "visible";
+ fakefield.innerHTML = ret;
+ temp2 = fw.getDim(fakefield, 1);
+ fakefield.style.overflow = "hidden";
+ fakefield.style.height = temp[1] + "px";
+ fakefield.style.visibility = "visible";
+ fw.resize(fakefield, 4, 0, temp2[1]);
+ }
+
+ this.setFolder = function(folder){
+ currentfolder = folder;
+ var i = 0;
+ while(document.getElementsByName("kiu_upform"+i)[0]){
+ var obj = document.getElementsByName("kiu_upform"+i)[0];
+ obj.dir.value = folder;
+ i++;
+ }
+ $("kiu_selfolder").innerHTML = folder;
+ }
+
+ this.uploadWatermark = function(){
+ var myform = document.getElementsByName("kiu_watermark_form")[0];
+ myform.submit();
+ }
+
+ this.uploadedWatermark = function(){
+ var obj = $("kiu_wm_preview");
+ obj.src = "<?php echo $basedir ?>ki_watermark.pic?" + Math.round(Math.random()*10000);
+ obj.style.visibility = 'visible';
+ }
+
+ this.toggleWatermark = function(wm){
+ var i = 0;
+ while(document.getElementsByName("kiu_upform"+i)[0]){
+ var obj = document.getElementsByName("kiu_upform"+i)[0];
+ if(wm.checked == true){
+ obj.addwatermark.value = "1";
+ } else {
+ obj.addwatermark.value = "0";
+ }
+ i++;
+ }
+ }
+
+ this.startUpload = function(){
+ $("kiu_progress").style.display = "block";
+ if(supportAjaxUploadWithProgress()){
+ sendfile(0);
+ } else {
+ $("kiu_progress_cur").style.width = "0%";
+ $("kiu_progress_tot").style.width = "0%";
+ var myform = document.getElementsByName("kiu_upform0");
+ var loop = 0;
+ while(myform[0]){
+ myform[0].maxx.value = $("kiu_maxx").value;
+ myform[0].maxy.value = $("kiu_maxy").value;
+ <?php if( in_array($browser, array("gecko", "webkit")) ){ ?>
+ if(myform[0].pic.files[0]){
+ finalsizes.push(myform[0].pic.files[0].size);
+ } else {
+ finalsizes.push(0);
+ }
+ <?php } else { ?>
+ if(myform[0].pic.value){
+ finalsizes.push(1);
+ } else {
+ finalsizes.push(0);
+ }
+ <?php } ?>
+ loop++;
+ myform = document.getElementsByName("kiu_upform"+loop);
+ }
+ fw.getHTTP("<?php echo $basedir ?>ki_getuploadinfo.php?form=reset", submitform, 0);
+ }
+ }
+
+ function sendfile(no){
+ var fileInput = $('kiu_m_file');
+ var file = fileInput.files[no];
+
+ if(!file){
+ allfinished();
+ return -1;
+ }
+
+ var allsize = 0;
+ var completesize = 0;
+ for(var i = 0; i < no; i++){
+ completesize += fileInput.files[i].size;
+ }
+ for(var i = 0; i < fileInput.files.length; i++){
+ allsize += fileInput.files[i].size;
+ }
+
+ var reader = new FileReader();
+
+ reader.onloadend = function(evt){
+
+ var xhr = new XMLHttpRequest();
+
+ var bar_cur = $("kiu_progress_cur");
+ var bar_tot = $("kiu_progress_tot");
+
+ bar_cur.nextSibling.innerHTML = "Current '" + file.name + "'";
+
+ xhr.upload.addEventListener("progress", function(e) {
+ if(e.lengthComputable){
+ var curfilecomplete = Math.round((e.loaded / e.total)*file.size);
+ var barsize = Math.round(((completesize+curfilecomplete)/allsize)*100);
+ bar_cur.style.width = Math.round((e.loaded / e.total)*100) + "%";
+ bar_tot.style.width = barsize + "%";
+ bar_tot.nextSibling.innerHTML = "Total: " + barsize + " %";
+ }
+ }, false);
+
+ xhr.onload = function(e) {
+ completesize += file.size;
+ bar_cur.style.width = "100%";
+ bar_cur.nextSibling.innerHTML = "'" + file.name + "' uploaded.";
+ var barsize = Math.round((completesize/allsize)*100);
+ bar_tot.style.width = barsize + "%";
+ bar_tot.nextSibling.innerHTML = "Total: " + barsize + " %";
+ setTimeout(function(){
+ sendfile(no+1);
+ }, 1000);
+ };
+
+ xhr.open('POST', '<?php echo $basedir ?>ki_upload.php', true);
+
+ var wm = $("kiu_wmcb");
+ if(wm.checked == true){
+ wm = "1";
+ }else{
+ wm = "0";
+ }
+
+ if(window.FormData){
+ var formData = new FormData();
+ formData.append("dir", currentfolder);
+ formData.append("addwatermark", wm);
+ formData.append("pic", file);
+ formData.append("maxx", $("kiu_maxx").value);
+ formData.append("maxy", $("kiu_maxy").value);
+ xhr.send(formData);
+ } else {
+ //xhr.setRequestHeader("Cache-Control", "no-cache");
+ //xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
+
+ var CRLF = "\r\n";
+ var boundary = "AJAX-----------------------" + (new Date).getTime();
+
+ var requestBody = "Content-Type: multipart/form-data; boundary="+boundary+CRLF+CRLF;
+ //requestBody += "Content-Length: "+file.size+CRLF+CRLF;
+ requestBody += "--"+boundary+CRLF;
+
+ requestBody += "Content-Disposition: form-data; name=\"dir\""+CRLF+CRLF;
+ requestBody += currentfolder+CRLF;
+ requestBody += "--"+boundary+CRLF;
+
+ requestBody += "Content-Disposition: form-data; name=\"addwatermark\""+CRLF+CRLF;
+ requestBody += wm+CRLF;
+ requestBody += "--"+boundary+CRLF;
+
+ requestBody += "Content-Disposition: form-data; name=\"maxx\""+CRLF+CRLF;
+ requestBody += $("kiu_maxx").value+CRLF;
+ requestBody += "--"+boundary+CRLF;
+
+ requestBody += "Content-Disposition: form-data; name=\"maxy\""+CRLF+CRLF;
+ requestBody += $("kiu_maxy").value+CRLF;
+ requestBody += "--"+boundary+CRLF;
+
+ requestBody += "Content-Disposition: form-data; name=\"pic\"; filename=\""+file.name+"\""+CRLF;
+ requestBody += "Content-Type: application/octet-stream"+CRLF+CRLF;
+ requestBody += evt.target.result+CRLF;
+ requestBody += "--"+boundary+"--"+CRLF;
+
+ xhr.setRequestHeader("Content-Type", "multipart/form-data; boundary=" + boundary);
+ xhr.sendAsBinary(requestBody);
+ }
+ };
+ reader.readAsBinaryString(file);
+ }
+
+
+ function submitform(responseText, nextform){
+ for(var i = nextform; i < finalsizes.length; i++){
+ if(finalsizes[i] != 0){
+ //alert("started " + i);
+ document.getElementsByName("kiu_upform"+i)[0].submit();
+ setTimeout( function(){
+ fw.getHTTP("<?php echo $basedir ?>ki_getuploadinfo.php?form="+i, gotuploadinfo, i);
+ }, 1000);
+ return;
+ }
+ }
+ var counter = 0;
+ for(var i = 0; i < finalsizes.length; i++){
+ if(finalsizes[i] == 0)counter++;
+ }
+ if(counter == finalsizes.length){
+ allfinished();
+ } else { // alle gestartet, aber es laufen noch uploads
+ setTimeout( function(){
+ fw.getHTTP("<?php echo $basedir ?>ki_getuploadinfo.php?form="+(nextform-1), gotuploadinfo, nextform-1);
+ }, 1000);
+ }
+ }
+
+ function allfinished(){
+ $("kiu_progress").style.display = "none";
+ var bar_cur = $("kiu_progress_cur");
+ var bar_tot = $("kiu_progress_tot");
+ bar_cur.nextSibling.innerHTML = "";
+ bar_tot.nextSibling.innerHTML = "";
+ bar_cur.style.width = "0%";
+ bar_tot.style.width = "0%";
+ if(!supportAjaxUploadWithProgress()){
+ finalsizes = Array();
+ var myform = document.getElementsByName("kiu_upform0");
+ var loop = 0;
+ while(myform[0]){
+ myform[0].reset();
+ loop++;
+ myform = document.getElementsByName("kiu_upform"+loop);
+ }
+ } else {
+ $('kiu_m_file_form').reset();
+ var fakefield = $('kiu_m_file').nextSibling.firstChild;
+ fakefield.innerHTML = "";
+ fw.resize(fakefield, 4, 0, 18);
+ }
+ }
+
+ function gotuploadinfo(responseText, nextform){
+ var obj = $("kiu_uploaddata");
+ var counter;
+ var currentsizes = Array();
+
+ obj.innerHTML = responseText;
+
+ for(var i = 1; i < obj.childNodes.length; i++){
+ currentsizes.push(obj.childNodes[i].value);
+ }
+
+ var bar_cur = $("kiu_progress_cur");
+ var bar_tot = $("kiu_progress_tot");
+ <?php if( in_array($browser, array("gecko", "webkit")) ){ ?>
+ var fileName = document.getElementsByName("kiu_upform"+nextform)[0].pic.files[0].name;
+ if(currentsizes[nextform] != "finished"){
+ var barsize = Math.round((currentsizes[nextform]/finalsizes[nextform])*100);
+ bar_cur.style.width = barsize + "%";
+ bar_cur.nextSibling.innerHTML = "Current '" + fileName + "'";
+ var total = 0;
+ var current = 0;
+ for(var i = 0; i < finalsizes.length; i++){
+ total += finalsizes[i];
+ if(currentsizes[i] != "finished"){
+ current += parseInt(currentsizes[i]);
+ } else {
+ current += parseInt(finalsizes[i]);
+ }
+ }
+ barsize = Math.round((current/total)*100);
+ bar_tot.style.width = barsize + "%";
+ bar_tot.nextSibling.innerHTML = "Total: " + barsize + " %";
+ } else {
+ bar_cur.style.width = "100%";
+ bar_cur.nextSibling.innerHTML = "'" + fileName + "' uploaded.";
+ }
+ <?php } else { ?>
+ var fileName = document.getElementsByName("kiu_upform"+nextform)[0].pic.value.split("\\");
+ fileName = fileName[fileName.length-1];
+ if(currentsizes[nextform] != "finished"){
+ bar_cur.style.width = "100%";
+ bar_cur.nextSibling.innerHTML = "Current '" + fileName + "' " + Math.round(currentsizes[nextform]/1024) + " KB uploaded";
+ var total = 0;
+ var current = 0;
+ for(var i = 0; i < finalsizes.length; i++){
+ total += finalsizes[i];
+ if(currentsizes[i] == "finished"){
+ current += 1;
+ }
+ }
+ var barsize = Math.round((current/total)*100);
+ bar_tot.style.width = barsize + "%";
+ bar_tot.nextSibling.innerHTML = "Total: " + barsize + " %";
+ } else {
+ bar_cur.style.width = "100%";
+ bar_cur.nextSibling.innerHTML = "'" + fileName + "' uploaded.";
+ }
+ <?php } ?>
+
+ counter = 0;
+ for(var i = 0; i < currentsizes.length; i++){
+ if(currentsizes[i] == "finished" || finalsizes[i] == 0)counter++;
+ }
+ if(counter == currentsizes.length){
+ allfinished();
+ } else {
+ for(var i = 0; i < currentsizes.length; i++){
+ if(currentsizes[i] != "finished" && finalsizes[i] != 0){
+ if(obj.firstChild.value == 1){
+ submitform("", nextform+1);
+ } else { // upload läuft, aber nächster kann noch nicht gestartet werden
+ setTimeout( function(){
+ fw.getHTTP("<?php echo $basedir ?>ki_getuploadinfo.php?form="+nextform, gotuploadinfo, nextform);
+ }, 1000);
+ }
+ return;
+ }
+ }
+ }
+
+ }
+
+
+
+ function preventDefaultAction(aEvent) {
+ <?php if($browser !== "ie6" && $browser !== "ie7") { ?>
+ aEvent.stopPropagation();
+ <?php } ?>
+ <?php if($browser === "gecko") { ?>
+ aEvent.preventDefault();
+ <?php } ?>
+ <?php if($browser === "opera") { ?>
+ aEvent.returnValue = false;
+ <?php } ?>
+ }
+
+ function taste_kiu(aEvent) {
+ aEvent = aEvent ? aEvent : window.event;
+ var keyCode = aEvent.keyCode;
+ if(keyCode == 27){
+ kiu.closeUpload();
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ }
+}
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_view.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_view.php
new file mode 100644
index 00000000..e2edf708
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_view.php
@@ -0,0 +1,1789 @@
+<?php
+ob_start("ob_gzhandler");
+
+session_start();
+
+header("Expires: Mon, 01 Jul 2003 00:00:00 GMT"); // Past date
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Consitnuously modified
+header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
+header("Pragma: no-cache"); // NO CACHE
+
+//----------------------------------------------------------------------------- functions --------------------------------------------------------------------------------
+
+function draw_image($filename, $id, $style, $params) {
+ global $browser, $basedir;
+ $idstring = "";
+ if($id != "")$idstring = "id='".$id."' ";
+ if($browser == "ie6") {
+ $imgsize = getimagesize($filename);
+ echo "<img ".$idstring."style='filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=".$basedir.$filename."); width:".$imgsize[0]."px; height:".$imgsize[1]."px; ".$style."' src='".$basedir."ki_noimage.gif' ".$params." />";
+ } else {
+ if($style != "")$style = " style='".$style."' ";
+ echo "<img ".$idstring."src='".$basedir.$filename."'".$style.$params." />";
+ }
+}
+
+function addEvent($el, $event, $function){
+ global $browser;
+ if($browser == "ie6" || $browser == "ie7"){
+ echo $el.".attachEvent('on".$event."', ".$function.");\n";
+ } else {
+ echo $el.".addEventListener('".$event."', ".$function.", false);\n";
+ }
+}
+
+function removeEvent($el, $event, $function){
+ global $browser;
+ if($browser == "ie6" || $browser == "ie7"){
+ echo $el.".detachEvent('on".$event."', ".$function.");\n";
+ } else {
+ echo $el.".removeEventListener('".$event."', ".$function.", false);\n";
+ }
+}
+
+//------------------------------------------------------------------------ end functions ----------------------------------------------------------------------------------
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [9]/",$browser))
+ $browser = "ie9";
+elseif(preg_match("/MSIE [7-8]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+if($browser == "ie6")
+ $posfix = "absolute";
+else
+ $posfix = "fixed";
+
+if(isset($_GET['reldir']))
+ $reldir = $_GET['reldir'];
+else
+ $reldir = "";
+
+$confdir = $reldir."ki_config/";
+$galleriesdir = $reldir."ki_galleries/";
+$basedir = $reldir."ki_base/";
+
+if(isset($_GET['gallery']))
+ $gallery = $_GET['gallery'];
+else
+ $gallery = "";
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $gallery))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+$confdir = $reldir."ki_config/";
+$galleriesdir = $reldir."ki_galleries/";
+$basedir = $reldir."ki_base/";
+
+include_once("../ki_config/ki_setup.php");
+if(is_file("../ki_config/".$gallery."_ki_setup.php"))include_once("../ki_config/".$gallery."_ki_setup.php");
+
+$pwok = 0;
+if(isset($_SESSION['pwquery'])){
+ if($_SESSION['pwquery'] === $pw)$pwok = 1;
+}
+
+header("Content-Type: application/x-javascript");
+?>
+
+// Viewing module 'kiv' --------------------------------------------------------------------
+
+function kiv_module(){
+
+ /* -------------------------------- variables ----------------------------------- */
+
+ var cur_gallery = -1;
+ var cur_pic = -1;
+ var preloading;
+ var breakpreloading = 0;
+ var cur_load = 0;
+ var windowX;
+ var windowY;
+ var oversizeX = 0;
+ var oversizeY = 0;
+ var posX;
+ var posY;
+ var previewing = 0;
+ var ss = -1;
+ var stop = 0;
+ var flipped = 2;
+
+ /* -------------------------------- getElementById function --------------------- */
+
+ function $(id){
+ return document.getElementById(id);
+ }
+
+ /* -------------------------------- constructor/descturctor --------------------- */
+
+ this.constr = function(params){
+ <?php addEvent("window", "resize", "viewdim"); ?>
+ viewdim();
+ var node;
+ if(!$("kiv_picdiv")){
+ node = document.createElement("div");
+ node.id = "kiv_picdiv";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.zIndex = 1000;
+ node.style.background = "<?php echo $bord_color ?>";
+ node.style.padding = "0px";
+ node.style.display = "none";
+ node.style.overflow = "hidden";
+ document.body.appendChild(node);
+ }
+
+ if(!$("kiv_comdiv")){
+ node = document.createElement("div");
+ node.id = "kiv_comdiv";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.zIndex = 1000;
+ node.style.background = "<?php echo $bord_color ?>";
+ node.style.padding = "10px";
+ node.style.display = "none";
+ node.style.overflow = "hidden";
+ node.style.font = "<?php echo $comm_text_size."px ".$comm_text_font ?>";
+ node.style.color = "<?php echo $comm_text_color ?>";
+ fw.dropshadow(node, 1);
+ document.body.appendChild(node);
+ }
+
+ if(!$("kiv_inshadow")){
+ node = document.createElement("div");
+ node.id = "kiv_inshadow";
+ node.style.position = "relative";
+ node.style.left = "0%";
+ node.style.top = "0%";
+ node.style.zIndex = 1000;
+ node.style.background = "none";
+ node.style.padding = "0px";
+ node.style.border = "<?php echo $bord_size ?>px solid <?php echo $bord_color ?>";
+ node.style.width = "0px";
+ node.style.height = "0px";
+ node.style.display = "none";
+ node.style.overflow = "hidden";
+ node.style.cursor = "pointer";
+ node.onclick = function(){
+ kiv.goon(1);
+ }
+ fw.dropshadow(node, 3);
+ $("kiv_picdiv").appendChild(node);
+ }
+ if(!$("kiv_closebutton")){
+ var tbcontent = "<?php draw_image("ki_nav_close.png", "", "cursor:pointer; border:0px; margin:0px 2px 0px 2px; padding-top:2px; display:inline;", "onclick=\\\"kiv.closeImage();\\\" onmouseover=\\\"this.style.padding = '0px 0px 2px 0px';\\\" onmouseout=\\\"this.style.padding = '2px 0px 0px 0px';\\\" title='".htmlentities(stripslashes($nav_kiv_close), ENT_QUOTES, "UTF-8")."'"); ?>";
+ node = document.createElement("div");
+ node.id = "kiv_closebutton";
+ node.style.position = "absolute";
+ node.style.top = "0px";
+ node.style.right = "0px";
+ node.style.background = "<?php echo $bord_color ?>";
+ node.style.zIndex = 10000;
+ node.style.padding = "1px 1px 3px 1px";
+ node.style.lineHeight = "12px";
+ fw.dropshadow(node, 1);
+ node.innerHTML = tbcontent;
+ $("kiv_inshadow").appendChild(node);
+ }
+ <?php if($show_help == 1){ ?>
+ if(!$("kiv_help")){
+ var nodeh = document.createElement("div");
+ nodeh.id = "kiv_help";
+ nodeh.style.color = "<?php echo $comm_text_color ?>";
+ nodeh.style.font = "12px Tahoma, sans-serif";
+ nodeh.style.position = "absolute";
+ <?php if($help_pos === "left"){ ?>
+ nodeh.style.left = "4px";
+ <?php } else { ?>
+ nodeh.style.right = "4px";
+ <?php } ?>
+ nodeh.style.bottom = "4px";
+ nodeh.style.lineHeight = "19px";
+ nodeh.style.textAlign = "left";
+ nodeh.style.zIndex = "10";
+ if(ss == 1)nodeh.style.display = "none";
+ var infosymbol = "<?php draw_image("ki_nav_info.png", "", "border:0px; vertical-align:bottom; display:inline;", ""); ?>";
+ var infocontent = "<?php echo htmlentities(stripslashes($help_text), ENT_QUOTES, "UTF-8") ?>";
+ infocontent = infocontent.replace("[mouse]", "<?php draw_image("ki_mouse_help.png", "", "vertical-align:middle; padding:0px 2px 0px 2px;", ""); ?>");
+ nodeh.innerHTML = infosymbol;
+ fw.addevent( nodeh, "mouseover", function(){
+ nodeh.style.width = "250px";
+ nodeh.style.padding = "4px";
+ nodeh.style.background = "<?php echo $bord_color ?>";
+ nodeh.style.border = "2px solid <?php echo $nav_border_color ?>";
+ nodeh.innerHTML = infocontent;
+ fw.fade(nodeh, 100);
+ } );
+ fw.addevent( nodeh, "mouseout", function(){
+ nodeh.style.width = "auto";
+ nodeh.style.padding = "0px";
+ nodeh.style.background = "none";
+ nodeh.style.border = "0px";
+ nodeh.innerHTML = infosymbol;
+ fw.fade(nodeh, 51);
+ } );
+ $("kiv_inshadow").appendChild(nodeh);
+ setTimeout( function(){
+ if(nodeh && ss != 1 && nodeh.style.width != "250px" && nodeh.style.display != "none")fw.fade(nodeh, 51);
+ }, 5000);
+ }
+ <?php } ?>
+ <?php if($checkgps == 1){ ?>
+ if(!$("kiv_gpspic")){
+ var tbcontent = "<?php draw_image("ki_nav_globe.png", "", "cursor:pointer; border:0px; margin:0px 2px 0px 2px; padding-top:2px; display:inline;", "onclick=\\\"kiv.opengps();\\\" onmouseover=\\\"this.style.padding = '0px 0px 2px 0px';\\\" onmouseout=\\\"this.style.padding = '2px 0px 0px 0px';\\\" title='".htmlentities(stripslashes($nav_gps_coord), ENT_QUOTES, "UTF-8")."'"); ?>";
+ node = document.createElement("div");
+ node.id = "kiv_gpspic";
+ node.style.position = "absolute";
+ node.style.top = "0px";
+ node.style.left = "0px";
+ node.style.background = "<?php echo $bord_color ?>";
+ node.style.zIndex = 10000;
+ node.style.padding = "1px 1px 3px 1px";
+ node.style.lineHeight = "12px";
+ fw.dropshadow(node, 1);
+ node.style.display = "none";
+ node.innerHTML = tbcontent;
+ $("kiv_inshadow").appendChild(node);
+ }
+ <?php } ?>
+
+
+ if(!$("kiv_loading")){
+ node = document.createElement("img");
+ node.id = "kiv_loading";
+ <?php $loadimgsize = getimagesize("ki_loading.gif"); ?>
+ node.style.margin = "0px";
+ node.style.marginLeft = "-<?php echo 0.5*$loadimgsize[0] ?>px";
+ node.style.marginTop = "-<?php echo 0.5*$loadimgsize[1] ?>px";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.top = "50%";
+ node.style.left = "50%";
+ node.style.zIndex = 10000;
+ node.src = "<?php echo $basedir."ki_loading.gif" ?>";
+ node.style.padding = "0px";
+ node.style.border = "0px";
+ node.style.display = "none";
+ document.body.appendChild(node);
+ }
+ if(!$("kiv_prevdiv")){
+ node = document.createElement("div");
+ node.id = "kiv_prevdiv";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.zIndex = 10000;
+ node.style.background = "<?php echo $bord_color ?>";
+ node.style.padding = "4px 2px 4px 2px";
+ node.style.height = "100px";
+ node.style.overflow = "hidden";
+ node.style.display = "none";
+ fw.dropshadow(node, 1);
+ document.body.appendChild(node);
+ }
+ <?php if($show_preview == 1){ ?>
+ if(!$("kiv_wowdiv")){
+ node = document.createElement("div");
+ node.id = "kiv_wowdiv";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.zIndex = 1001;
+ node.style.padding = "0px";
+ node.style.display = "none";
+ <?php if($preview_style == 1){ ?>
+ node.style.padding = "<?php echo $bord_size ?>px";
+ node.style.background = "<?php echo $bord_color ?>";
+ <?php } ?>
+ document.body.appendChild(node);
+ }
+ <?php } ?>
+ <?php $breite = getimagesize("ki_nav_next.png"); ?>
+ <?php if($pwok == 0 && $show_share == 1){ ?>
+ if(!$("kiv_share")){
+ node = document.createElement("div");
+ node.id = "kiv_share";
+ node.style.width = "280";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.top = windowY + "px";
+ node.style.left = "50%";
+ node.style.marginLeft = "-145px";
+ node.style.background = "<?php echo $nav_color ?>";
+ <?php if($nav_style == 2){ ?>
+ node.style.borderRadius = "20px";
+ node.style.MozBorderRadius = "20px";
+ node.style.WebkitBorderRadius = "20px";
+ <?php } ?>
+ node.style.border = "2px solid <?php echo $nav_border_color ?>";
+ node.style.zIndex = 1000;
+ node.style.padding = "3px 3px 30px 3px";
+ node.style.overflow = "hidden";
+ node.style.lineHeight = "12px";
+ node.style.display = "none";
+ var tbcontent = "<?php draw_image("ki_nav_link.png", "", "border:0px; margin:0px 2px 0px 0px; padding:0px; vertical-align:top; display:inline;", "title='Link'"); ?>";
+ node.innerHTML = tbcontent + "<input type='text' readonly='readonly' onclick='this.select()' style='width:<?php echo 276-$breite[0]-2 ?>px; height:17px; padding:1px; line-height:17px; margin:0px; background-color:#fff; font-size:12px; font-weight:normal; color:#000; border:1px solid #000;' />";
+ document.body.appendChild(node);
+ }
+ <?php } ?>
+ fw.shadebody(1);
+ <?php if($show_image_nav == 1){ ?>
+ if(!$("kiv_tb")){
+ var breite = <?php echo $breite[0] ?>;
+ var tbcontent = "<?php draw_image("ki_nav_close.png", "", "cursor:pointer; border:0px; margin:0px 2px 0px 2px; padding-top:2px; display:inline;", "onclick=\\\"kiv.closeImage();\\\" onmouseover=\\\"this.style.padding = '0px 0px 2px 0px';\\\" onmouseout=\\\"this.style.padding = '2px 0px 0px 0px';\\\" title='".htmlentities(stripslashes($nav_kiv_close), ENT_QUOTES, "UTF-8")."'"); ?>";
+ <?php if($viewercomments == 1){ ?>
+ breite += <?php echo ($breite[0]+4) ?>;
+ tbcontent += "<?php draw_image("ki_nav_vcomm.png", "vcommbutton", "cursor:pointer; border:0px; margin:0px 2px 0px 2px; padding-top:2px; display:inline;", "onclick=\\\"kiv.flip_vcomm();\\\" onmouseover=\\\"this.style.padding = '0px 0px 2px 0px';\\\" onmouseout=\\\"this.style.padding = '2px 0px 0px 0px';\\\" title='".htmlentities(stripslashes($nav_kiv_vcomm), ENT_QUOTES, "UTF-8")."'"); ?>";
+ <?php } ?>
+ <?php if($downloadpics == 1){ ?>
+ breite += <?php echo ($breite[0]+4) ?>;
+ tbcontent += "<?php draw_image("ki_nav_download.png", "", "cursor:pointer; border:0px; margin:0px 2px 0px 2px; padding-top:2px; display:inline;", "onclick=\\\"kiv.download();\\\" onmouseover=\\\"this.style.padding = '0px 0px 2px 0px';\\\" onmouseout=\\\"this.style.padding = '2px 0px 0px 0px';\\\" title='".htmlentities(stripslashes($nav_kiv_download), ENT_QUOTES, "UTF-8")."'"); ?>";
+ <?php } ?>
+ if(kib.pics[params[0]].length > 1){
+ <?php
+ if($slideshow == 1){
+ echo "breite += ".($breite[0]+4).";";
+ ?>
+ tbcontent += "<?php draw_image("ki_nav_play.png", "ssbutton", "cursor:pointer; border:0px; margin:0px 2px 0px 2px; padding-top:2px; display:inline;", "onclick=\\\"kiv.slideshow();\\\" onmouseover=\\\"this.style.padding = '0px 0px 2px 0px';\\\" onmouseout=\\\"this.style.padding = '2px 0px 0px 0px';\\\" title='".htmlentities(stripslashes($slideshow_start), ENT_QUOTES, "UTF-8")."'"); ?>";
+ <?php
+ }
+ echo "breite += ".(2*($breite[0]+4)).";";
+ ?>
+ tbcontent += "<?php draw_image("ki_nav_prev.png", "", "cursor:pointer; border:0px; margin:0px 2px 0px 2px; padding-top:2px; display:inline;", "onclick=\\\"kiv.goon(-1);\\\" onmouseover=\\\"this.style.padding = '0px 0px 2px 0px';\\\" onmouseout=\\\"this.style.padding = '2px 0px 0px 0px';\\\" title='".htmlentities(stripslashes($nav_kiv_back), ENT_QUOTES, "UTF-8")."'"); ?>";
+ tbcontent += "<?php draw_image("ki_nav_next.png", "", "cursor:pointer; border:0px; margin:0px 2px 0px 2px; padding-top:2px; display:inline;", "onclick=\\\"kiv.goon(1);\\\" onmouseover=\\\"this.style.padding = '0px 0px 2px 0px';\\\" onmouseout=\\\"this.style.padding = '2px 0px 0px 0px';\\\" title='".htmlentities(stripslashes($nav_kiv_next), ENT_QUOTES, "UTF-8")."'"); ?>";
+ }
+ node = document.createElement("div");
+ node.id = "kiv_tb";
+ node.style.position = "<?php echo $posfix ?>";
+ node.style.top = "-<?php echo 2*$breite[0] ?>px";
+ node.style.left = "50%";
+ node.style.marginLeft = -(breite+10)/2+"px";
+ node.style.background = "<?php echo $nav_color ?>";
+ <?php if($nav_style == 2){ ?>
+ node.style.borderRadius = "20px";
+ node.style.MozBorderRadius = "20px";
+ node.style.WebkitBorderRadius = "20px";
+ <?php } ?>
+ node.style.border = "2px solid <?php echo $nav_border_color ?>";
+ node.style.zIndex = 10000;
+ node.style.padding = "20px 3px 3px 3px";
+ node.style.lineHeight = "12px";
+ node.style.display = "none";
+ node.innerHTML = tbcontent;
+ document.body.appendChild(node);
+ }
+ <?php } ?>
+ <?php
+ if(!in_array($browser, array("ie6", "ie7", "ie9", "webkit"))){
+ if($pwok == 0)addEvent("document", "keypress", "taste");
+ } else {
+ if($pwok == 0)addEvent("document", "keydown", "taste");
+ }
+ ?>
+ <?php if($pwok == 1 && $comm_auto == 1 && $show_warnings == 1){ ?>
+ alert("WARNING: If you want to write custom comments you have to set '$comm_auto = 0'. Custom comments won't get saved. Set '$show_warnings = 0' if you don't want to see this warning again.");
+ <?php } ?>
+ kiv.getImage(params[0], params[1]);
+ }
+
+ this.destr = function(){
+ document.body.removeChild($("kiv_picdiv"));
+ document.body.removeChild($("kiv_comdiv"));
+ <?php if($show_image_nav == 1){ ?>
+ document.body.removeChild($("kiv_tb"));
+ <?php } ?>
+ document.body.removeChild($("kiv_loading"));
+ document.body.removeChild($("kiv_prevdiv"));
+ <?php if($show_preview == 1){ ?>document.body.removeChild($("kiv_wowdiv"));<?php } ?>
+ <?php if($pwok == 0 && $show_share == 1){ ?>document.body.removeChild($("kiv_share"));<?php } ?>
+ <?php removeEvent("window", "resize", "viewdim"); ?>
+ <?php
+ if(!in_array($browser, array("ie6", "ie7", "ie9", "webkit"))){
+ if($pwok == 0)removeEvent("document", "keypress", "taste");
+ } else {
+ if($pwok == 0)removeEvent("document", "keydown", "taste");
+ }
+ ?>
+ }
+
+ /* -------------------------------- methodes ------------------------------------ */
+
+ <?php if($pwok == 1){ ?>
+ this.deleteVComm = function(counter){
+ fw.getHTTP("<?php echo $basedir ?>ki_vcomm.php?file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&gallery=" + kib.dirs[cur_gallery] + "&counter=" + counter + "&get=1", kiv.getvcomm, null);
+ }
+
+ this.publishVComm = function(counter){
+ fw.getHTTP("<?php echo $basedir ?>ki_vcomm.php?file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&gallery=" + kib.dirs[cur_gallery] + "&publish=" + counter + "&get=1", kiv.getvcomm, null);
+ }
+
+ this.savecomment = function(aEvent, commstring){
+ aEvent = aEvent ? aEvent : window.event;
+ var keyCode = aEvent.keyCode;
+ if(keyCode == 27){
+ kiv.closeImage();
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ if(keyCode == 33 && !aEvent.shiftKey){
+ kiv.goon(-1);
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ if(keyCode == 34 && !aEvent.shiftKey){
+ kiv.goon(1);
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ if((aEvent.ctrlKey == true && keyCode == 13) || keyCode == 10){
+ fw.getHTTP("<?php echo $basedir ?>ki_savecomment.php?file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&gallery=" + kib.dirs[cur_gallery] + "&comment=" + encodeURIComponent(commstring), saved, null);
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ }
+
+ function saved(){
+ stop = 0;
+ kiv.goon(1);
+ }
+
+ function squarethumbhandling(){
+ if($("square_selector")){
+ var sths = 0;
+ var startx = 0;
+ var starty = 0;
+ var obj = $("square_selector");
+ obj.style.display = "block";
+ var sub = fw.findPos(obj);
+ var objx = parseInt(obj.style.width);
+ var objy = parseInt(obj.style.height);
+ if(objx == objy)return;
+ var wide = objx > objy ? 1 : 0;
+ var square_1 = $("square_1").style;
+ var square_2 = $("square_2").style;
+ var posx = parseInt(square_1.width);
+ var posy = parseInt(square_1.height);
+ fw.addevent( obj, "mousedown", function(x, y){
+ if(sths == 0){
+ sths = 1;
+ startx = x - sub[0];
+ starty = y - sub[1];
+ }
+ } );
+ fw.addevent( obj, "mousemove", function(x, y){
+ if(sths == 1){
+ var movx = (x - sub[0]) - startx;
+ var movy = (y - sub[1]) - starty;
+ if(wide == 1){
+ var temp = posx + movx;
+ if(temp < 0)temp = 0;
+ if(temp > (objx - 100))temp = objx - 100;
+ square_1.width = temp + "px";
+ square_2.width = objx - (temp + 100) + "px";
+ } else {
+ var temp = posy + movy;
+ if(temp < 0)temp = 0;
+ if(temp > (objy - 100))temp = objy - 100;
+ square_1.height = temp + "px";
+ square_2.height = objy - (temp + 100) + "px";
+ }
+ }
+ } );
+ fw.addevent( obj, "mouseup", function(x, y){
+ if(sths == 1){
+ var final = -1;
+ if(wide == 1){
+ var final = posx + (x - sub[0]) - startx;
+ if(final < 0)final = 0;
+ if(final > (objx - 100))final = objx - 100;
+ final = final / objx;
+ } else {
+ var final = posy + (y - sub[1]) - starty;
+ if(final < 0)final = 0;
+ if(final > (objy - 100))final = objy - 100;
+ final = final / objy;
+ }
+ var params = "?file=" + kib.dirs[cur_gallery] + "/" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&pos=" + final;
+ fw.getHTTP("<?php echo $basedir ?>ki_savesquarethumb.php" + params, null);
+ var long = new Date();
+ long.setTime(long.getTime() + (10 * 365 * 24 * 60 * 60 * 1000));
+ document.cookie = "koschtit_" + kib.dirs[cur_gallery] + cur_gallery + "_" + kib.pics[cur_gallery][cur_pic].file + "=" + final + "; path=/; expires=" + long.toGMTString();
+ obj.style.background = "#00ff00";
+ setTimeout( function(){
+ obj.style.background = "#000000";
+ }, 400);
+ }
+ sths = 0;
+ } );
+ var custompos = -1;
+ var nameEQ = "koschtit_" + kib.dirs[cur_gallery] + cur_gallery + "_" + kib.pics[cur_gallery][cur_pic].file + "=";
+ var ca = document.cookie.split(';');
+ for(var i = 0; i < ca.length; i++) {
+ var c = ca[i];
+ while (c.charAt(0)==' ')c = c.substring(1,c.length);
+ if(c.indexOf(nameEQ) == 0)custompos = c.substring(nameEQ.length,c.length);
+ }
+ if(custompos != -1){
+ if(wide == 1){
+ var temp = Math.round(custompos*objx);
+ square_1.width = temp + "px";
+ square_2.width = objx - (temp + 100) + "px";
+ } else {
+ var temp = Math.round(custompos*objy);
+ square_1.height = temp + "px";
+ square_2.height = objy - (temp + 100) + "px";
+ }
+ }
+ }
+ }
+ <?php } ?>
+
+ function viewdim(){
+ if(window.innerHeight){
+ windowX = window.innerWidth;
+ windowY = window.innerHeight;
+ } else if(document.documentElement && document.documentElement.clientHeight){ // Explorer 6 Strict Mode
+ windowX = document.documentElement.clientWidth;
+ windowY = document.documentElement.clientHeight;
+ } else if (document.body){ // other Explorers
+ windowX = document.body.clientWidth;
+ windowY = document.body.clientHeight;
+ }
+ if($("kiv_share"))$("kiv_share").style.top = windowY + "px";
+ if($("kiv_comdiv")){
+ var com_div = $("kiv_comdiv");
+ var sizes = fw.getDim($("kiv_picdiv"), 1);
+ var comm_x = com_div.offsetWidth;
+ var comm_y = com_div.offsetHeight;
+ if(comm_x > sizes[0]){
+ comm_x = sizes[0];
+ com_div.style.width = (sizes[0] - 2*10) + "px";
+ comm_y = com_div.offsetHeight;
+ }
+ <?php
+ if($comm_text_align === "left"){
+ ?>
+ var x_pos = $("kiv_picdiv").offsetLeft;
+ var y_pos = $("kiv_picdiv").offsetHeight + $("kiv_picdiv").offsetTop + 5;
+ if(y_pos + comm_y > windowY){
+ y_pos -= comm_y + 10;
+ <?php if($pwok == 0){ ?>if(comm_x != sizes[0])x_pos += 5;<?php } ?>
+ }
+ <?php
+ }elseif($comm_text_align === "right"){
+ ?>
+ var x_pos = $("kiv_picdiv").offsetLeft + sizes[0] - comm_x;
+ var y_pos = $("kiv_picdiv").offsetHeight + $("kiv_picdiv").offsetTop + 5;
+ if(y_pos + comm_y > windowY){
+ y_pos -= comm_y + 10;
+ <?php if($pwok == 0){ ?>if(comm_x != sizes[0])x_pos -= 5;<?php } ?>
+ }
+ <?php
+ }else{
+ ?>
+ var x_pos = $("kiv_picdiv").offsetLeft + 0.5*(sizes[0] - comm_x);
+ var y_pos = $("kiv_picdiv").offsetHeight + $("kiv_picdiv").offsetTop + 5;
+ if(y_pos + comm_y > windowY){
+ y_pos -= comm_y + 10;
+ }
+ <?php
+ }
+ ?>
+ com_div.style.left = x_pos + "px";
+ com_div.style.top = y_pos + "px";
+ }
+ }
+
+ function preloadgallery(){
+ if(breakpreloading == 1)return;
+ var files = kib.pics[cur_gallery].length;
+ cur_load = cur_pic + 1;
+ if(cur_load == files)return;
+ var loaded = 0;
+ while(preloading[cur_load] != null){
+ cur_load++;
+ loaded++;
+ if(loaded == files){
+ return;
+ }
+ if(cur_load == files || cur_load - cur_pic > 3)return;
+ }
+ preloading[cur_load] = document.createElement('img');
+ preloading[cur_load].onload = function(){
+ preloadgallery();
+ };
+ var picsize = calcpicsize(cur_load);
+ if(picsize[0] != kib.pics[cur_gallery][cur_load].x){
+ preloading[cur_load].src = "<?php echo $basedir ?>ki_makepic.php?fullimg=1&file=" + kib.dirs[cur_gallery] + "/" + encodeURIComponent(kib.pics[cur_gallery][cur_load].file) + "&width=" + picsize[0] + "&height=" + picsize[1];
+ } else {
+ preloading[cur_load].src = "<?php echo $galleriesdir ?>" + kib.dirs[cur_gallery] + "/" + kib.pics[cur_gallery][cur_load].file;
+ }
+ }
+
+ this.getImage = function(gallerynumber, picnumber){
+ if(stop == 1)return;
+ var firsttoshow = 0;
+ if(cur_gallery == -1){
+ firsttoshow = 1;
+ preloading = new Array(kib.pics[gallerynumber].length);
+ }
+ if($("kib_helpbox")){
+ kib.hidehelp();
+ }
+ <?php removeEvent("document", "mousemove", "mousemoved"); ?>
+ if($("kiv_vcomments_form")){
+ $("kiv_picdiv").removeChild($("kiv_vcomments_form"));
+ if($("kiv_vcomments_list"))$("kiv_picdiv").removeChild($("kiv_vcomments_list"));
+ }
+ <?php if($show_preview == 1){ ?>kiv.removewow();<?php } ?>
+ <?php if($checkgps == 1){ ?>fw.fade("kiv_gpspic", 0);<?php } ?>
+ if(gallerynumber == -1)gallerynumber = cur_gallery;
+ breakpreloading = 1;
+ preloading[cur_load] = null;
+ cur_gallery = gallerynumber;
+ cur_pic = picnumber;
+ var picsize = calcpicsize(picnumber);
+ <?php if($oversize_allowed == 1){ ?>
+ oversizeX = posX = 0;
+ oversizeY = posY = 0;
+ if(picsize[0]+2*<?php echo $bord_size ?> > windowX)oversizeX = Math.round((picsize[0] - windowX)*0.5) + <?php echo $bord_size ?>;
+ if(picsize[1]+2*<?php echo $bord_size ?> > windowY)oversizeY = Math.round((picsize[1] - windowY)*0.5) + <?php echo $bord_size ?>;
+ <?php } ?>
+ var params = "?reldir=<?php echo $reldir ?>&gallery=" + kib.dirs[cur_gallery] + "&file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&x=" + picsize[0] + "&y=" + picsize[1];
+ fw.getHTTP("<?php echo $basedir ?>ki_fullimg.php" + params, kiv.gotImage, Array(picsize, firsttoshow, 0));
+ }
+
+ this.gotImage = function(responseText, params){
+ if(stop == 1)return;
+ var picdiv = $("kiv_picdiv");
+ var inshad = $("kiv_inshadow");
+ var picdivsize = params[0];
+ var firsttoshow = params[1];
+ if(params[2] == 0){ // Bild wird geladen
+ picdivsize[0] += <?php echo 2*$bord_size ?>;
+ picdivsize[1] += <?php echo 2*$bord_size ?>;
+
+ if(firsttoshow == 1){ // Einfgen/Warten von onload beim ersten ffnen
+
+ picdiv.style.top = "50%";
+ picdiv.style.left = "50%";
+ picdiv.style.width = "0px";
+ picdiv.style.height = "1px";
+ picdiv.style.display = "block";
+
+ var node = document.createElement("div");
+ node.innerHTML = responseText;
+ var temp = node.childNodes.length;
+ for(var i = 0; i < temp; i++){
+ picdiv.appendChild(node.childNodes[0]);
+ }
+
+ var thepic = $("thepicture");
+ thepic.onload = function(){
+ if(kiv != null && thepic == $("thepicture"))kiv.gotImage("", Array(picdivsize, firsttoshow, 1));
+ };
+ thepic.src = thepic.alt;
+ setTimeout( function(){ if(kiv != null && thepic != null){if(thepic.alt != "" && !thepic.complete){fw.fade("kiv_loading", 100, Array(function(){$("kiv_loading").src = "<?php echo $basedir."ki_loading.gif" ?>";}));$("kiv_picdiv").style.zIndex = 99;}} }, 750);
+
+ } else { // Einfgen/Warten von onload beim Weiterklicken
+
+ <?php if($pwok == 1){ ?>
+ if($("square_selector"))picdiv.removeChild($("square_selector"));
+ <?php } ?>
+ <?php if($checkgps == 1){ ?>
+ if($("kiv_gps"))picdiv.removeChild($("kiv_gps"));
+ <?php } ?>
+ <?php if($viewercomments == 1){ ?>
+ if($("kiv_vcomm"))picdiv.removeChild($("kiv_vcomm"));
+ <?php } ?>
+ if($("thepicture"))$("thepicture").id = "oldpic";
+
+ fw.fade("kiv_comdiv", 0);
+
+ var node = document.createElement("div");
+ node.innerHTML = responseText;
+ var temp = node.childNodes.length;
+ for(var i = 0; i < temp; i++){
+ picdiv.appendChild(node.childNodes[0]);
+ }
+ var thepic = $("thepicture");
+ thepic.onload = function(){
+ if(kiv != null && thepic == $("thepicture"))kiv.gotImage("", Array(picdivsize, firsttoshow, 1));
+ };
+ thepic.src = thepic.alt;
+ setTimeout( function(){ if(kiv != null && thepic != null){if(thepic.alt != "" && !thepic.complete){fw.fade("kiv_loading", 100, Array(function(){$("kiv_loading").src = "<?php echo $basedir."ki_loading.gif" ?>";}));$("kiv_picdiv").style.zIndex = 99;}} }, 750);
+
+
+ }
+
+ } else { // Bild wurde geladen -> Bild anzeigen
+
+ $("kiv_loading").style.display = "none";
+ if(previewing == 0){
+ $("kiv_picdiv").style.zIndex = 1000;
+ $("kiv_comdiv").style.zIndex = 1000;
+ }
+ preloading[cur_pic] = 1;
+ breakpreloading = 0;
+ preloadgallery();
+
+ <?php if($pwok == 0 && $show_share == 1){ ?>
+ var shareadd = location.search;
+ if(shareadd.indexOf('kit_code=') != -1)
+ shareadd = shareadd.substr(0, shareadd.indexOf('kit_code=')-1);
+ if(shareadd.indexOf('?') == -1)
+ shareadd = "?" + shareadd;
+ else
+ shareadd += "&";
+ var slash = "";
+ if(location.pathname.substr(0, 1) != "/")slash = "/";
+ shareadd = "http://" + location.hostname + slash + location.pathname + shareadd + "kit_code=" + cur_gallery+"_"+cur_pic + location.hash;
+ $("kiv_share").childNodes[1].value = shareadd;
+ <?php } ?>
+
+ var thepic = $("thepicture");
+ if(thepic != null){
+ thepic.alt = "";
+ thepic.style.display = "none";
+ thepic.style.visibility = "visible";
+ }
+ flipped = 0;
+
+ if(firsttoshow == 1){ // Bild wurde geladen -> Bild anzeigen beim ersten ffnen
+
+ fw.resize( picdiv, 2, picdivsize[0], 1, Array( function(){
+
+ fw.resize( picdiv, 2, picdivsize[0], picdivsize[1], Array( function(){
+ inshad.style.width = picdivsize[0] - 2*<?php echo $bord_size ?> + "px";
+ inshad.style.height = picdivsize[1] - 2*<?php echo $bord_size ?> + "px";
+ inshad.style.display = "block";
+ fw.dropshadow(picdiv, 1);
+ fw.fade("thepicture", 100, Array( function(){
+
+ <?php if($show_image_nav == 1){ ?>
+ fw.move("kiv_tb", 3, 0, -<?php echo $breite[0] ?>);
+ $("kiv_tb").setAttribute("contr", "stay");
+ setTimeout( function() {
+ if($("kiv_tb"))$("kiv_tb").setAttribute("contr", "");
+ }, 5000);
+ <?php } ?>
+ <?php if($pwok == 0 && $show_share == 1){ ?>
+ fw.move("kiv_share", 3, 0, windowY - 29);
+ $("kiv_share").setAttribute("contr", "stay");
+ setTimeout( function() {
+ if($("kiv_share"))$("kiv_share").setAttribute("contr", "");
+ }, 5000);
+ <?php } ?>
+ viewdim();
+ showcomment();
+ checkgps();
+ checkvcomment();
+ var focme = $("focusme");
+ if(focme){
+ kib.showhelp(focme, 4, 2);
+ }
+ <?php addEvent("document", "mousemove", "mousemoved"); ?>
+ <?php if($pwok == 1){ ?>
+ squarethumbhandling();
+ <?php } ?>
+ if(ss == 1)setTimeout( function(){if(kiv != null){if(ss == 1){ss = 2;kiv.goon(1);}}} , <?php echo $slideshow_time ?>);
+
+ } ));
+ } ));
+ } ));
+
+ } else { // Bild wurde geladen -> Bild anzeigen beim Weiterklicken
+
+ fw.fade("oldpic", 0, Array( function(){
+ var picdiv = $("kiv_picdiv");
+ for(var i = 0; i < picdiv.childNodes.length; i++){
+ if(picdiv.childNodes[i].id == "oldpic"){
+ picdiv.removeChild(picdiv.childNodes[i]);
+ i-=1;
+ }
+ }
+ } ));
+ fw.fade("thepicture", 100, Array( function(){
+ inshad.style.display = "block";
+ fw.resize( inshad, 1, picdivsize[0] - 2*<?php echo $bord_size ?>, picdivsize[1] - 2*<?php echo $bord_size ?> );
+ fw.resize( picdiv, 2, picdivsize[0], picdivsize[1], Array( function(){
+ showcomment();
+ checkgps();
+ checkvcomment();
+ if(previewing == 0){
+ <?php addEvent("document", "mousemove", "mousemoved"); ?>
+ }
+ <?php if($pwok == 1){ ?>
+ squarethumbhandling();
+ <?php } ?>
+ <?php if($show_help == 1){ ?>if(ss != 1)fw.fade("kiv_help", 51);<?php } ?>
+ if(ss == 1)setTimeout( function(){if(kiv != null){if(ss == 1){ss = 2;kiv.goon(1);}}} , <?php echo $slideshow_time ?>);
+ } ));
+ } ));
+ }
+ }
+ }
+
+ function checkgps(){
+ <?php if($checkgps == 1){ ?>
+ if(stop == 1 || ss == 1)return;
+ if(!$("kiv_gps"))return;
+ var coordinates = $("kiv_gps").value;
+ if(coordinates != "0,0"){
+ fw.fade("kiv_gpspic", 100);
+ } else {
+ <?php if($cellinfo == 1){ ?>
+ var params = "?gallery=" + kib.dirs[cur_gallery] + "&file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file);
+ fw.getHTTP("<?php echo $basedir ?>ki_cellid.php" + params, gotCellInfo, Array(cur_gallery, cur_pic));
+ <?php } ?>
+ }
+ <?php } ?>
+ }
+
+ <?php if($cellinfo == 1 && $checkgps == 1){ ?>
+ function gotCellInfo(responseText, params){
+ if(stop == 1 || ss == 1)return;
+ if(cur_gallery != params[0] || cur_pic != params[1])return;
+ if(responseText == "0,0")return;
+ $("kiv_gps").value = responseText;
+ fw.fade("kiv_gpspic", 100);
+ }
+ <?php } ?>
+
+ <?php if($checkgps == 1){ ?>
+ this.opengps = function(){
+ if($("kiv_gps")){
+ if($("kiv_gps").value != "0,0"){
+ var coordinates = $("kiv_gps").value;
+ var filename = kib.pics[cur_gallery][cur_pic].file;
+ filename = filename.substr(0, filename.length-4);
+ window.open("http://maps.google.com/?q=" + filename + "@" + coordinates);
+ }
+ }
+ }
+ <?php } ?>
+
+ function checkvcomment(){
+ <?php if($viewercomments == 1 && $show_image_nav == 1){ ?>
+ if(stop == 1 || ss == 1)return;
+ if(!$("vcommbutton"))return;
+ if(!$("kiv_vcomm"))return;
+ var obj = $("vcommbutton");
+ if($("kiv_vcomm").value == "1"){
+ var tb = obj.parentNode;
+ tb.setAttribute("contr", "stay");
+ fw.move(tb, 3, 0, -<?php echo $breite[0] ?>, Array(function(){
+ <?php if($browser !== "ie6"){ ?>
+ fw.fade(obj, 10, Array(fw.fade, obj, 100, Array(fw.fade, obj, 10, Array(fw.fade, obj, 100, Array(fw.fade, obj, 10, Array(fw.fade, obj, 100, Array(function(){
+ if(tb){
+ tb.setAttribute("contr", "");
+ }
+ })))))));
+ <?php } else { ?>
+ setTimeout( function(){
+ if(tb){
+ tb.setAttribute("contr", "");
+ }
+ }, 2000);
+ <?php } ?>
+ }));
+ }
+ <?php } ?>
+ }
+
+ <?php if($show_preview == 1){ ?>
+ this.removewow = function(){
+ var wowdiv = $("kiv_wowdiv");
+ wowdiv.innerHTML = "";
+ wowdiv.style.display = "none";
+ fw.dropshadow(wowdiv, 0);
+ <?php if($preview_style == 2){ ?>
+ var blende = $("fw_blend");
+ blende.style.cursor = "auto";
+ blende.onclick = null;
+ <?php } ?>
+ }
+ <?php } ?>
+
+ function mousemoved(aEvent) {
+ if(stop == 1)return;
+ aEvent = aEvent ? aEvent : window.event;
+ var x = aEvent.clientX ? aEvent.clientX : aEvent.pageX;
+ var y = aEvent.clientY ? aEvent.clientY : aEvent.pageY;
+
+ <?php if($show_image_nav == 1 && $image_nav_always == 0){ ?>
+ var tb = $("kiv_tb");
+ if(y > windowY * 0.33 || x > (windowX/2+200) || x < (windowX/2-200)){
+ if(tb.getAttribute("contr") == ""){
+ fw.move(tb, 3, 0, -<?php echo $breite[0]*3 ?>);
+ tb.setAttribute("contr", "open");
+ }
+ } else {
+ if(tb.getAttribute("contr") == "open"){
+ fw.move(tb, 3, 20, -<?php echo $breite[0] ?>);
+ tb.setAttribute("contr", "");
+ }
+ }
+ <?php } ?>
+
+ <?php if($pwok == 0 && $show_share == 1 && $image_nav_always == 0){ ?>
+ var sh = $("kiv_share");
+ if(y < windowY - 150 || x > (windowX/2+300) || x < (windowX/2-300)){
+ if(sh.getAttribute("contr") == ""){
+ <?php if(in_array($browser, array("ie6", "ie7", "ie9"))){ ?>
+ if(aEvent.srcElement.nodeName == "INPUT")return;
+ <?php } ?>
+ fw.move(sh, 3, 0, windowY);
+ sh.setAttribute("contr", "open");
+ }
+ } else {
+ if(sh.getAttribute("contr") == "open"){
+ fw.move(sh, 3, 20, windowY - 29);
+ sh.setAttribute("contr", "");
+ }
+ }
+ <?php } ?>
+
+ if(!x)x = 1;
+ if(ss == 1)return;
+
+ var dim = fw.getDim($("kiv_picdiv"));
+ var wowdiv = $("kiv_wowdiv");
+
+ <?php
+ if($show_preview == 1){
+ if($preview_style == 1){
+ ?>
+ if(windowX - dim[0] >= 0.33*windowX){ // Bild bedeckt max 2/3 des Bildschirmplatzes
+ if(x > (windowX + dim[0])*0.5 && cur_pic != kib.pics[cur_gallery].length-1){
+ if(y > (windowY-dim[1])*0.5 && y < (windowY+dim[1])*0.5){
+ if(!wowdiv.firstChild){
+ var picsize = calcpicsize(cur_pic+1);
+ var picsrc = "";
+ if(picsize[0] != kib.pics[cur_gallery][cur_pic+1].x){
+ picsrc = "<?php echo $basedir ?>ki_makepic.php?fullimg=1&file=" + kib.dirs[cur_gallery] + "/" + encodeURIComponent(kib.pics[cur_gallery][cur_pic+1].file) + "&width=" + picsize[0] + "&height=" + picsize[1];
+ } else {
+ picsrc = "<?php echo $galleriesdir ?>" + kib.dirs[cur_gallery] + "/" + kib.pics[cur_gallery][cur_pic+1].file;
+ }
+ wowdiv.style.zIndex = 10000;
+ wowdiv.innerHTML = "<img src='"+picsrc+"' style='vertical-align:middle; visibility:hidden; cursor:pointer;' onload=\"this.style.visibility='visible'\" onclick='kiv.goon(1);' /><div id='kiv_wowdiv_inshadow' style='position:absolute; left:0%; top:0%; background:none; padding:0px; border:<?php echo $bord_size ?>px solid <?php echo $bord_color ?>; cursor:pointer;' onclick='kiv.goon(1);'></div>";
+ wowdiv.style.left = (windowX + dim[0])*0.5 - 30 + "px";
+ fw.dropshadow("kiv_wowdiv_inshadow", 3);
+ fw.dropshadow(wowdiv, 1);
+ fw.fade(wowdiv, 100);
+ }
+ var obj = kib.pics[cur_gallery][cur_pic+1];
+ var breite = x - (windowX + dim[0])*0.5 + 50;
+ var hoehe = (obj.y/obj.x)*breite;
+ var maxh = dim[1]*0.66;
+ if(hoehe > maxh){
+ hoehe = maxh;
+ breite = (obj.x/obj.y)*hoehe;
+ }
+ var pic = wowdiv.firstChild;
+ pic.style.width = breite + "px";
+ pic.style.height = hoehe + "px";
+ wowdiv.style.top = y + "px";
+ wowdiv.style.marginTop = -0.5*(hoehe+<?php echo $bord_size ?>*2) + "px";
+ var inshad = $("kiv_wowdiv_inshadow");
+ inshad.style.width = breite + "px";
+ inshad.style.height = hoehe + "px";
+ }
+ } else if(x < (windowX - dim[0])*0.5 && cur_pic != 0){
+ if(y > (windowY-dim[1])*0.5 && y < (windowY+dim[1])*0.5){
+ if(!wowdiv.firstChild){
+ var picsize = calcpicsize(cur_pic-1);
+ var picsrc = "";
+ if(picsize[0] != kib.pics[cur_gallery][cur_pic-1].x){
+ picsrc = "<?php echo $basedir ?>ki_makepic.php?fullimg=1&file=" + kib.dirs[cur_gallery] + "/" + encodeURIComponent(kib.pics[cur_gallery][cur_pic-1].file) + "&width=" + picsize[0] + "&height=" + picsize[1];
+ } else {
+ picsrc = "<?php echo $galleriesdir ?>" + kib.dirs[cur_gallery] + "/" + kib.pics[cur_gallery][cur_pic-1].file;
+ }
+ wowdiv.style.zIndex = 999;
+ wowdiv.innerHTML = "<img src='"+picsrc+"' style='vertical-align:middle; visibility:hidden; cursor:pointer;' onload=\"this.style.visibility='visible'\" onclick='kiv.goon(-1);' /><div id='kiv_wowdiv_inshadow' style='position:absolute; left:0%; top:0%; background:none; padding:0px; border:<?php echo $bord_size ?>px solid <?php echo $bord_color ?>; cursor:pointer;' onclick='kiv.goon(-1);'></div>";
+ fw.dropshadow("kiv_wowdiv_inshadow", 3);
+ fw.dropshadow(wowdiv, 1);
+ fw.fade(wowdiv, 100);
+ }
+ var obj = kib.pics[cur_gallery][cur_pic-1];
+ var breite = (windowX - dim[0])*0.5 - x + 50;
+ var hoehe = (obj.y/obj.x)*breite;
+ var maxh = dim[1]*0.66;
+ if(hoehe > maxh){
+ hoehe = maxh;
+ breite = (obj.x/obj.y)*hoehe;
+ }
+ var pic = wowdiv.firstChild;
+ pic.style.width = breite + "px";
+ pic.style.height = hoehe + "px";
+ wowdiv.style.left = (windowX - dim[0])*0.5 + 30 - breite - <?php echo $bord_size ?>*2 + "px";
+ wowdiv.style.top = y + "px";
+ wowdiv.style.marginTop = -0.5*(hoehe+<?php echo $bord_size ?>*2) + "px";
+ var inshad = $("kiv_wowdiv_inshadow");
+ inshad.style.width = breite + "px";
+ inshad.style.height = hoehe + "px";
+ }
+ } else {
+ if(wowdiv.firstChild){
+ kiv.removewow();
+ }
+ }
+ }
+ <?php
+ } else {
+ $temp = getimagesize("ki_next.png");
+ ?>
+ if(windowX - dim[0] >= 80){ // Mindestens 40 Pixel Platz zu jeder Seite
+ if(x > (windowX + dim[0])*0.5 && cur_pic != kib.pics[cur_gallery].length-1){
+ if(y > (windowY-dim[1])*0.5 && y < (windowY+dim[1])*0.5){
+ if(!wowdiv.firstChild){
+ wowdiv.innerHTML = "<?php draw_image("ki_next.png", "", "cursor:pointer; vertical-align:middle;", "onclick='kiv.goon(1);' alt='' "); ?>";
+ wowdiv.style.left = (windowX + dim[0])*0.5 + 5 + "px";
+ wowdiv.style.top = "50%";
+ wowdiv.style.marginTop = -0.5*(<?php echo $temp[1] ?>) + "px";
+ fw.fade(wowdiv, 100);
+ var blende = $("fw_blend");
+ blende.style.cursor = "pointer";
+ blende.onclick = function(){
+ kiv.goon(1);
+ }
+ }
+ }
+ } else if(x < (windowX - dim[0])*0.5 && cur_pic != 0){
+ if(y > (windowY-dim[1])*0.5 && y < (windowY+dim[1])*0.5){
+ if(!wowdiv.firstChild){
+ wowdiv.innerHTML = "<?php draw_image("ki_back.png", "", "cursor:pointer; vertical-align:middle;", "onclick='kiv.goon(-1);' alt='' "); ?>";
+ wowdiv.style.left = (windowX - dim[0])*0.5 - 5 - <?php echo $temp[0] ?> + "px";
+ wowdiv.style.top = "50%";
+ wowdiv.style.marginTop = -0.5*(<?php echo $temp[1] ?>) + "px";
+ fw.fade(wowdiv, 100);
+ var blende = $("fw_blend");
+ blende.style.cursor = "pointer";
+ blende.onclick = function(){
+ kiv.goon(-1);
+ }
+ }
+ }
+
+ } else {
+ if(wowdiv.firstChild){
+ kiv.removewow();
+ }
+ }
+ }
+ <?php
+ }
+ }
+ ?>
+
+ <?php if($preview_pics > 0){ ?>
+ if(windowX - dim[0] < 200)return; // Mindestens 100 Pixel Platz zu jeder Seite
+ if(x > windowX - 40 && cur_pic != kib.pics[cur_gallery].length-1){
+ <?php if($show_preview == 1){ ?>
+ if(wowdiv.firstChild){
+ fw.dropshadow(wowdiv, 0);
+ fw.fade(wowdiv, 0, Array( function(){
+ wowdiv.innerHTML = "";
+ } ));
+ }
+ <?php } ?>
+ <?php removeEvent("document", "mousemove", "mousemoved"); ?>
+ previewing = 1;
+ var prevdiv = $("kiv_prevdiv");
+ prevdiv.style.top = y - 54 + "px";
+ prevdiv.style.left = windowX + 500 + "px";
+ prevdiv.style.width = "20px";
+ $("kiv_picdiv").style.zIndex = 99;
+ $("kiv_comdiv").style.zIndex = 99;
+ prevdiv.style.display = "block";
+ fw.move(prevdiv, 2, windowX - 20, 0, Array( function(){
+ var params = "?reldir=<?php echo $reldir ?>&gallery=" + kib.dirs[cur_gallery] + "&file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&topic=1";
+ fw.getHTTP("<?php echo $basedir ?>ki_preview.php" + params, kiv.showpreview, 1);
+ <?php addEvent("$('fw_blend')", "mousemove", "closepreview"); ?>
+ } ));
+ } else if(x < 40 && cur_pic != 0){
+ <?php if($show_preview == 1){ ?>
+ if(wowdiv.firstChild){
+ fw.dropshadow(wowdiv, 0);
+ fw.fade(wowdiv, 0, Array( function(){
+ wowdiv.innerHTML = "";
+ } ));
+ }
+ <?php } ?>
+ <?php removeEvent("document", "mousemove", "mousemoved"); ?>
+ previewing = 1;
+ var prevdiv = $("kiv_prevdiv");
+ prevdiv.style.top = y - 54 + "px";
+ prevdiv.style.left = "-500px";
+ prevdiv.style.width = "20px";
+ $("kiv_picdiv").style.zIndex = 99;
+ $("kiv_comdiv").style.zIndex = 99;
+ prevdiv.style.display = "block";
+ fw.move(prevdiv, 2, 0, 0, Array( function(){
+ var params = "?reldir=<?php echo $reldir ?>&gallery=" + kib.dirs[cur_gallery] + "&file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&topic=-1";
+ fw.getHTTP("<?php echo $basedir ?>ki_preview.php" + params, kiv.showpreview, -1);
+ <?php addEvent("$('fw_blend')", "mousemove", "closepreview"); ?>
+ } ));
+ }
+ <?php } ?>
+ }
+
+ this.showpreview = function(responseText, topic){
+ if(stop == 1 || previewing == 0)return;
+ var prevdiv = $("kiv_prevdiv");
+ prevdiv.innerHTML = responseText;
+ var gesbreite = $("gesbreite").value;
+ if(topic == 1){
+ prevdiv.style.width = gesbreite + "px";
+ fw.move(prevdiv, 2, windowX - gesbreite - 4, 0);
+ } else {
+ prevdiv.style.left = -1*gesbreite + 20 + "px";
+ prevdiv.style.width = gesbreite + "px";
+ fw.move(prevdiv, 2, 0, 0);
+ }
+ }
+
+ function closepreview(aEvent){
+ if(stop == 1)return;
+ aEvent = aEvent ? aEvent : window.event;
+ var x = aEvent.clientX ? aEvent.clientX : aEvent.pageX;
+ var y = aEvent.clientY ? aEvent.clientY : aEvent.pageY;
+
+ if(x > windowX - 40 || x < 40)return;
+
+ <?php removeEvent("$('fw_blend')", "mousemove", "closepreview"); ?>
+ previewing = 0;
+ var prevdiv = $("kiv_prevdiv");
+ if($("kiv_loading").style.display == "none"){
+ $("kiv_picdiv").style.zIndex = 1000;
+ $("kiv_comdiv").style.zIndex = 1000;
+ }
+ if(parseInt(prevdiv.style.left) > 0){
+ fw.move(prevdiv, 2, windowX, 0, Array( function(){
+ prevdiv.innerHTML = "";
+ prevdiv.style.display = "none";
+ <?php addEvent("document", "mousemove", "mousemoved"); ?>
+ } ));
+ } else {
+ fw.move(prevdiv, 2, -prevdiv.offsetWidth, 0, Array( function(){
+ prevdiv.innerHTML = "";
+ prevdiv.style.display = "none";
+ <?php addEvent("document", "mousemove", "mousemoved"); ?>
+ } ));
+ }
+ }
+
+ function showcomment(){
+ if(stop == 1)return;
+ var com_div = $("kiv_comdiv");
+ var sizes = fw.getDim($("kiv_picdiv"), 1);
+ if($("thecomment")){
+ com_div.style.visibility = "hidden";
+ com_div.style.display = "block";
+ com_div.style.width = "auto";
+
+ var commstring = $("thecomment").innerHTML;
+ <?php if($comm_auto == 1){ ?>
+ commstring = commstring.replace(/%x/, cur_pic+1);
+ commstring = commstring.replace(/%X/, kib.pics[cur_gallery].length);
+ commstring = commstring.replace(/%g/, kib.dirs[cur_gallery]);
+ var filename = kib.pics[cur_gallery][cur_pic].file;
+ commstring = commstring.replace(/%f/, filename.substr(0, filename.length-4));
+ <?php } ?>
+ com_div.innerHTML = commstring;
+
+ $("kiv_picdiv").removeChild($("thecomment"));
+
+ var comm_x = com_div.offsetWidth;
+ var comm_y = com_div.offsetHeight;
+
+ if(comm_x > sizes[0]){
+ comm_x = sizes[0];
+ com_div.style.width = (sizes[0] - 2*10) + "px";
+ comm_y = com_div.offsetHeight;
+ }
+
+ <?php
+ if($comm_text_align === "left"){
+ ?>
+ var x_pos = $("kiv_picdiv").offsetLeft;
+ var y_pos = $("kiv_picdiv").offsetHeight + $("kiv_picdiv").offsetTop + 5;
+ if(y_pos + comm_y > windowY){
+ y_pos -= comm_y + 10;
+ <?php if($pwok == 0){ ?>if(comm_x != sizes[0])x_pos += 5;<?php } ?>
+ }
+ <?php
+ }elseif($comm_text_align === "right"){
+ ?>
+ var x_pos = $("kiv_picdiv").offsetLeft + sizes[0] - comm_x;
+ var y_pos = $("kiv_picdiv").offsetHeight + $("kiv_picdiv").offsetTop + 5;
+ if(y_pos + comm_y > windowY){
+ y_pos -= comm_y + 10;
+ <?php if($pwok == 0){ ?>if(comm_x != sizes[0])x_pos -= 5;<?php } ?>
+ }
+ <?php
+ }else{
+ ?>
+ var x_pos = $("kiv_picdiv").offsetLeft + 0.5*(sizes[0] - comm_x);
+ var y_pos = $("kiv_picdiv").offsetHeight + $("kiv_picdiv").offsetTop + 5;
+ if(y_pos + comm_y > windowY){
+ y_pos -= comm_y + 10;
+ }
+ <?php
+ }
+ ?>
+
+ com_div.style.left = x_pos + "px";
+ com_div.style.top = y_pos + "px";
+ com_div.style.display = "none";
+ com_div.style.visibility = "visible";
+ fw.fade(com_div, 100);
+
+ var focme = $("focusme");
+ if(focme){
+ focme.focus();
+ }
+ }
+
+ }
+
+ function calcpicsize(fileno){
+ var picx = kib.pics[cur_gallery][fileno].x;
+ var picy = kib.pics[cur_gallery][fileno].y;
+ var winx = picx + <?php echo 2*$bord_size ?>;
+ var winy = picy + <?php echo 2*$bord_size ?>;
+ <?php
+ $x_limiter = 10000;
+ $y_limiter = 10000;
+ if($max_pic_width != "none")$x_limiter = $max_pic_width;
+ if($max_pic_height != "none")$y_limiter = $max_pic_height;
+ if($max_pic_height != "none" || $max_pic_width != "none" || $oversize_allowed == 0){
+ ?>
+ var xlimiter = <?php echo $x_limiter ?>;
+ var ylimiter = <?php echo $y_limiter ?>;
+ if(xlimiter < 1)xlimiter = parseInt(<?php echo $x_limiter ?>*windowX);
+ if(ylimiter < 1)ylimiter = parseInt(<?php echo $y_limiter ?>*windowY);
+ <?php if($oversize_allowed == 0){ ?>
+ if(xlimiter > windowX)xlimiter = windowX - 20;
+ if(ylimiter > windowY)ylimiter = windowY - 34;
+ <?php } ?>
+ if(winy > ylimiter || winx > xlimiter){
+ var k;
+ if( (picx / picy) > 1){
+ k = picy / picx;
+ picx = xlimiter-<?php echo 2*$bord_size ?>;
+ picy = k*picx;
+ if(picy > ylimiter-<?php echo 2*$bord_size ?>){
+ picy = ylimiter-<?php echo 2*$bord_size ?>;
+ picx = (1/k) * picy;
+ }
+ } else {
+ k = picx / picy;
+ picy = ylimiter-<?php echo 2*$bord_size ?>;
+ picx = k*picy;
+ if(picx > xlimiter-<?php echo 2*$bord_size ?>){
+ picx = xlimiter-<?php echo 2*$bord_size ?>;
+ picy = (1/k) * picx;
+ }
+ }
+ picx = Math.round(picx);
+ picy = Math.round(picy);
+ }
+ <?php } ?>
+ return new Array(picx, picy);
+ }
+
+ this.slideshow = function(){
+ if(stop == 1)return;
+ if(ss == 2)ss = 1;
+ ss *= -1;
+ var sspic = $("ssbutton");
+ if(ss == 1){
+ <?php if($browser != "ie6"){ ?>
+ sspic.src = "<?php echo $basedir ?>ki_nav_stop.png";
+ <?php } else { ?>
+ sspic.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo $basedir ?>ki_nav_stop.png)";
+ <?php } ?>
+ sspic.title = "<?php echo html_entity_decode(htmlentities(stripslashes($slideshow_stop), ENT_QUOTES, "UTF-8"), ENT_NOQUOTES, "UTF-8") ?>";
+ <?php if($show_help == 1){ ?>$("kiv_help").style.display = "none";<?php } ?>
+ ss = 2;
+ kiv.goon(1);
+ } else {
+ <?php if($browser != "ie6"){ ?>
+ sspic.src = "<?php echo $basedir ?>ki_nav_play.png";
+ <?php } else { ?>
+ sspic.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo $basedir ?>ki_nav_play.png)";
+ <?php } ?>
+ sspic.title = "<?php echo html_entity_decode(htmlentities(stripslashes($slideshow_start), ENT_QUOTES, "UTF-8"), ENT_NOQUOTES, "UTF-8") ?>";
+ <?php if($show_help == 1){ ?>fw.fade("kiv_help", 51);<?php } ?>
+ }
+ }
+
+ this.sshelp = function(val){
+ ss = val;
+ }
+
+ this.goon = function(topic){
+ if(stop == 1 || ss == 1)return;
+ if(ss == 2)ss = 1;
+ if(topic > 0){
+ if(cur_pic + topic <= kib.pics[cur_gallery].length-1){
+ kiv.getImage(cur_gallery, cur_pic+topic);
+ } else {
+ kiv.getImage(cur_gallery, (cur_pic+topic)-kib.pics[cur_gallery].length);
+ }
+ } else {
+ if(cur_pic + topic >= 0){
+ kiv.getImage(cur_gallery, cur_pic+topic);
+ } else {
+ kiv.getImage(cur_gallery, kib.pics[cur_gallery].length+(cur_pic+topic));
+ }
+ }
+ }
+
+ this.closeImage = function(){
+ stop = 1;
+ if($("kib_helpbox")){
+ kib.hidehelp();
+ }
+ <?php removeEvent("document", "mousemove", "mousemoved"); ?>
+ <?php if($show_preview == 1){ ?>kiv.removewow();<?php } ?>
+ if(window.stop !== undefined){
+ window.stop();
+ }else if(document.execCommand !== undefined){
+ document.execCommand("Stop", false);
+ }
+ var picdiv = $("kiv_picdiv");
+ <?php if($pwok == 1){ ?>
+ if($("square_selector")){
+ var obj = $("square_selector");
+ obj.parentNode.removeChild(obj);
+ }
+ <?php } ?>
+ if($("kiv_vcomments_form"))$("kiv_picdiv").removeChild($("kiv_vcomments_form"));
+ if($("kiv_vcomments_list"))$("kiv_picdiv").removeChild($("kiv_vcomments_list"));
+ fw.fade("kiv_share", 0);
+ fw.fade("kiv_closebutton", 0);
+ fw.fade("kiv_help", 0);
+ fw.fade("kiv_gpspic", 0);
+ fw.fade("kiv_prevdiv", 0);
+ fw.fade("kiv_tb", 0);
+ fw.fade("kiv_inshadow", 0);
+
+ fw.fade("kiv_comdiv", 0, Array( function() {
+ fw.fade("thepicture", 0, Array( fw.resize, picdiv, 2, parseInt(picdiv.style.width), 1, Array( fw.resize, picdiv, 2, 0, 1, Array( function(){fw.removejs("kiv");if(typeof(kie_module) == "function"){$("kie_maindiv").style.zIndex = 1000;$("kie_tb").style.display = "block";}else{if(typeof(kis_module) != "function")fw.shadebody(0);}} ))));
+ } ));
+
+ }
+
+ function preventDefaultAction(aEvent) {
+ <?php if($browser !== "ie6" && $browser !== "ie7") { ?>
+ aEvent.stopPropagation();
+ <?php } ?>
+ <?php if($browser === "gecko") { ?>
+ aEvent.preventDefault();
+ <?php } ?>
+ <?php if($browser === "opera") { ?>
+ aEvent.returnValue = false;
+ <?php } ?>
+ }
+
+ function taste(aEvent) {
+ aEvent = aEvent ? aEvent : window.event;
+ var keyCode = aEvent.keyCode;
+ var charCode = aEvent.charCode ? aEvent.charCode : 0;
+ if(keyCode == 27){
+ kiv.closeImage();
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ if(stop == 1 || flipped != 0)return;
+ <?php if($slideshow == 1){ ?>
+ if(keyCode == 19 || keyCode == 32 || charCode == 32){
+ if(kib.pics[cur_gallery].length > 1)kiv.slideshow($("ssbutton"));
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ if(ss == 1)return false;
+ <?php } ?>
+ <?php if($viewercomments == 1){ ?>
+ if(keyCode == 70 || charCode == 102 || keyCode == 102){
+ kiv.flip_vcomm();
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ <?php } ?>
+ if(keyCode == 33 || keyCode == 36){
+ kiv.goon(-1);
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ if(keyCode == 34 || keyCode == 35){
+ kiv.goon(1);
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ if(keyCode == 38){
+ <?php if($oversize_allowed == 1){ ?>
+ if(kib.pics[cur_gallery][cur_pic].y+2*<?php echo $bord_size ?> > windowY){
+ if(posY < oversizeY){
+ posY += 20;
+ var picdiv = $("kiv_picdiv");
+ picdiv.style.marginTop = -(0.5*picdiv.offsetHeight) + posY + "px";
+ }
+ }
+ <?php } ?>
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ if(keyCode == 40){
+ <?php if($oversize_allowed == 1){ ?>
+ if(kib.pics[cur_gallery][cur_pic].y+2*<?php echo $bord_size ?> > windowY){
+ if(oversizeY + posY > 0){
+ posY -= 20;
+ var picdiv = $("kiv_picdiv");
+ picdiv.style.marginTop = -(0.5*picdiv.offsetHeight) + posY + "px";
+ }
+ }
+ <?php } ?>
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ if(keyCode == 37){
+ <?php if($oversize_allowed == 1){ ?>
+ if(kib.pics[cur_gallery][cur_pic].x+2*<?php echo $bord_size ?> > windowX){
+ if(posX < oversizeX){
+ posX += 20;
+ var picdiv = $("kiv_picdiv");
+ picdiv.style.marginLeft = -(0.5*picdiv.offsetWidth) + posX + "px";
+ }
+ } else {
+ kiv.goon(-1);
+ }
+ <?php } else { ?>
+ kiv.goon(-1);
+ <?php } ?>
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ if(keyCode == 39){
+ <?php if($oversize_allowed == 1){ ?>
+ if(kib.pics[cur_gallery][cur_pic].x+2*<?php echo $bord_size ?> > windowX){
+ if(oversizeX + posX > 0){
+ posX -= 20;
+ var picdiv = $("kiv_picdiv");
+ picdiv.style.marginLeft = -(0.5*picdiv.offsetWidth) + posX + "px";
+ }
+ } else {
+ kiv.goon(1);
+ }
+ <?php } else { ?>
+ kiv.goon(1);
+ <?php } ?>
+ preventDefaultAction(aEvent);
+ return false;
+ }
+ }
+
+ <?php if($viewercomments == 1){ ?>
+ this.flip_vcomm = function(){
+ if(flipped == 0){
+ if($("kib_helpbox")){
+ kib.hidehelp();
+ }
+ flip(1);
+ flipped = 2;
+ return;
+ }
+ if(flipped == 1){
+ flip(-1);
+ flipped = 2;
+ return;
+ }
+ }
+
+ function flip(direction){
+ if(stop == 1 || ss == 1 || flipped == 2)return;
+
+ stop = 1;
+
+ var picsize = calcpicsize(cur_pic);
+ picsize[0] += <?php echo 2*$bord_size ?>;
+ picsize[1] += <?php echo 2*$bord_size ?>;
+
+ if(direction == 1){
+ if(picsize[0] < 700)picsize[0] = 700;
+ if(picsize[1] < 410)picsize[1] = 410;
+ } else {
+ $("kiv_picdiv").removeChild($("kiv_vcomments_form"));
+ $("kiv_picdiv").removeChild($("kiv_vcomments_list"));
+ }
+
+ var flipZ = (picsize[0]/(1.2*picsize[1]))*0.25;
+ if(flipZ > 0.5)flipZ = 0.5;
+ if(flipZ < 0.05)flipZ = 0.05;
+
+ <?php if($pwok == 1){ ?>
+ if($("square_selector"))$("square_selector").style.display = "none";
+ <?php } ?>
+ <?php if($checkgps == 1){ ?>
+ if($("kiv_gpspic"))$("kiv_gpspic").style.display = "none";
+ <?php } ?>
+ <?php if($show_help){ ?>
+ $("kiv_help").style.display = "none";
+ <?php } ?>
+ $("kiv_comdiv").style.visibility = "hidden";
+ var node = $("kiv_inshadow");
+ node.style.display = "none";
+ node.style.width = picsize[0] - <?php echo 2*$bord_size ?> + "px";
+ node.style.height = picsize[1] - <?php echo 2*$bord_size ?> + "px";
+
+ var temp = 0;
+
+ var node = document.createElement("div");
+ node.innerHTML = "<img id='kiv_flipT1' style='margin:0px; position:absolute; left:0px; top:0px; padding:0px; border:0px; width:100%; height:0px;' src='<?php echo $basedir."ki_flip.php?ot=0&gallery=" ?>"+kib.dirs[cur_gallery]+"' /><img id='kiv_flipB1' style='margin:0px; position:absolute; left:0px; bottom:0px; padding:0px; border:0px; width:100%; height:0px;' src='<?php echo $basedir."ki_flip.php?ot=1&gallery=" ?>"+kib.dirs[cur_gallery]+"' /><img id='kiv_flipT2' style='margin:0px; position:absolute; left:0px; top:0px; padding:0px; border:0px; width:0%; height:"+Math.round(picsize[1]*flipZ)+"px;' src='<?php echo $basedir."ki_flip.php?ot=2&gallery=" ?>"+kib.dirs[cur_gallery]+"' /><img id='kiv_flipB2' style='margin:0px; position:absolute; left:0px; bottom:0px; padding:0px; border:0px; width:0%; height:"+Math.round(picsize[1]*flipZ)+"px;' src='<?php echo $basedir."ki_flip.php?ot=3&gallery=" ?>"+kib.dirs[cur_gallery]+"' />";
+ var what = node.childNodes.length;
+ for(var i = 0; i < what; i++){
+ $("kiv_picdiv").appendChild(node.childNodes[0]);
+ }
+ $("kiv_flipT1").onload = function(){
+ temp++;
+ if(temp == 4)kiv.flip2(direction, picsize, flipZ);
+ };
+ $("kiv_flipB1").onload = function(){
+ temp++;
+ if(temp == 4)kiv.flip2(direction, picsize, flipZ);
+ };
+ $("kiv_flipT2").onload = function(){
+ temp++;
+ if(temp == 4)kiv.flip2(direction, picsize, flipZ);
+ };
+ $("kiv_flipB2").onload = function(){
+ temp++;
+ if(temp == 4)kiv.flip2(direction, picsize, flipZ);
+ };
+ }
+
+ this.flip2 = function(direction, picsize, flipZ){
+ var obj = $("kiv_picdiv");
+ fw.dropshadow(obj, 0);
+ fw.fade("thepicture", 0, Array( function(){
+
+ var node = document.createElement("div");
+ node.id = "kiv_flip_";
+ node.style.margin = "0px";
+ node.style.position = "absolute";
+ node.style.marginLeft = "-50%";
+ node.style.marginTop = "-50%";
+ node.style.top = "50%";
+ node.style.left = "50%";
+ node.style.padding = "0px";
+ node.style.border = "0px";
+ node.style.width = "100%";
+ node.style.height = "100%";
+ node.style.background = "<?php echo $bord_color ?>";
+ obj.appendChild(node);
+
+ obj.style.background = "none";
+
+ fw.resize2( "kiv_picdiv", 2, 0, picsize[1], Array( function() {
+ $("kiv_flipT1").style.display = "none";
+ $("kiv_flipB1").style.display = "none";
+ $("kiv_flipT2").style.width = "100%";
+ $("kiv_flipB2").style.width = "100%";
+ fw.resize2( "kiv_picdiv", 2, picsize[0], picsize[1], Array( function() {
+ $("kiv_picdiv").removeChild($("kiv_flipT1"));
+ $("kiv_picdiv").removeChild($("kiv_flipB1"));
+ $("kiv_picdiv").removeChild($("kiv_flipT2"));
+ $("kiv_picdiv").removeChild($("kiv_flipB2"));
+ $("kiv_picdiv").removeChild($("kiv_flip_"));
+ $("kiv_picdiv").style.background = "<?php echo $bord_color ?>";
+ fw.dropshadow(obj, 1);
+ obj = $("thepicture");
+ var picsize = calcpicsize(cur_pic);
+ if(direction == 1){
+ obj.style.left = "<?php echo $bord_size ?>px";
+ obj.style.top = "<?php echo $bord_size ?>px";
+ obj.style.margin = "0px";
+ obj.style.width = "230px";
+ obj.style.padding = "5px";
+ obj.style.height = (picsize[1]/picsize[0])*230 + "px";
+ <?php
+ if($browser !== "ie6" && $browser !== "ie7")
+ echo "obj.style.clip = 'rect(0px,240px,247px,0px)';";
+ else
+ echo "obj.style.clip = 'rect(0px 240px 247px 0px)';";
+ ?>
+ obj.onclick = function(){
+ kiv.flip_vcomm();
+ };
+ fw.fade(obj, 100);
+
+ picsize[0] += <?php echo 2*$bord_size ?>;
+ picsize[1] += <?php echo 2*$bord_size ?>;
+ if(picsize[0] < 700)picsize[0] = 700;
+ if(picsize[1] < 410)picsize[1] = 410;
+ picsize[0] -= <?php echo (2*$bord_size+20+1) ?>;
+ picsize[1] -= <?php echo (2*$bord_size+20+1) ?>;
+
+ var node = document.createElement("div");
+ node.id = "kiv_vcomments_form";
+ node.style.margin = "0px";
+ node.style.position = "absolute";
+ node.style.top = "<?php echo $bord_size+5 ?>px";
+ node.style.left = "<?php echo $bord_size+230+20 ?>px";
+ node.style.padding = "0px";
+ node.style.textAlign = "left";
+ node.style.border = "0px";
+ node.style.lineHeight = "12px";
+ node.style.font = "<?php echo "12px ".$comm_text_font ?>";
+ node.style.color = "<?php echo $vcomm_header_color ?>";
+ node.innerHTML = "<div style='margin:0px 0px 11px; font-size:16px; line-height:16px; color:<?php echo $vcomm_header_color ?>;'><b><?php echo $vcomm_lac ?></b></div><label><?php echo $vcomm_name ?></label><input type='text' style='width:240px; line-height:24px; border:1px solid <?php echo $vcomm_bord_color ?>; padding:2px; margin:9px 0px 0px; font:16px <?php echo $comm_text_font ?>; color:<?php echo $vcomm_box_color ?>; display:block; text-align:left; background:<?php echo $vcomm_back_color ?>;' name='email' id='vcomm_email'/><br /><label><?php echo $vcomm_comm ?></label><textarea style='width:400px; height:80px; line-height:24px; border:1px solid <?php echo $vcomm_bord_color ?>; padding:2px; margin:9px 0px 0px; color:<?php echo $vcomm_box_color ?>; font:16px <?php echo $comm_text_font ?>; display:block; text-align:left; background:<?php echo $vcomm_back_color ?>;' name='assystem' id='vcomm_assystem'></textarea><input type='button' value='<?php echo $vcomm_post ?>' style='line-height:16px; padding:2px; width:110px; margin:9px 9px 0px 0px; font:14px <?php echo $comm_text_font ?>; border:1px solid <?php echo $vcomm_bord_color ?>; color:#000000; background:#eeeeee; cursor:pointer;' onclick='kiv.sendvcomment()' /><?php echo $vcomm_clk ?>";
+ $("kiv_picdiv").appendChild(node);
+ $("vcomm_email").focus();
+ $("vcomm_assystem").style.width = picsize[0]-240 + "px";
+
+ node = document.createElement("div");
+ node.id = "kiv_vcomments_list";
+ node.style.margin = "0px";
+ node.style.position = "absolute";
+ node.style.top = "<?php echo $bord_size+260+10 ?>px";
+ node.style.left = "<?php echo $bord_size+5 ?>px";
+ node.style.padding = "5px";
+ node.style.textAlign = "left";
+ node.style.lineHeight = "12px";
+ node.style.width = picsize[0] + 10 - 10 + "px";
+ node.style.height = picsize[1] - 260 - 5 + "px";
+ node.style.background = "<?php echo $bord_color ?>";
+ node.style.overflowY = "scroll";
+ node.style.font = "<?php echo "12px ".$comm_text_font ?>";
+ node.style.color = "<?php echo $vcomm_text_color ?>";
+ node.innerHTML = "";
+ $("kiv_picdiv").appendChild(node);
+ var params = "?file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&gallery=" + kib.dirs[cur_gallery] + "&get=1";
+ fw.getHTTP("<?php echo $basedir ?>ki_vcomm.php" + params, kiv.getvcomm, null);
+
+ } else {
+ flipped = 0;
+ obj.style.left = "50%";
+ obj.style.top = "50%";
+ obj.style.padding = "0px";
+ obj.style.marginLeft = -0.5*picsize[0]+"px";
+ obj.style.marginTop = -0.5*picsize[1]+"px";
+ obj.style.width = picsize[0]+"px";
+ obj.style.height = picsize[1]+"px";
+ <?php
+ if($browser !== "ie6" && $browser !== "ie7")
+ echo "obj.style.clip = 'auto';";
+ else
+ echo "obj.style.clip = 'rect(auto auto auto auto)';";
+ ?>
+ obj.onclick = function(){
+ kiv.goon(1);
+ };
+ fw.fade(obj, 100, Array( function(){
+
+ <?php if($pwok == 1){ ?>
+ if($("square_selector"))$("square_selector").style.display = "block";
+ <?php } ?>
+ <?php if($checkgps == 1){ ?>
+ checkgps();
+ <?php } ?>
+ <?php if($show_help){ ?>
+ fw.fade("kiv_help", 51);
+ <?php } ?>
+
+ $("kiv_comdiv").style.visibility = "visible";
+ $("kiv_inshadow").style.display = "block";
+
+ if($("focusme"))$("focusme").focus();
+
+ flipped = 0;
+ } ) );
+ }
+ stop = 0;
+ } ) );
+ fw.resize2( "kiv_flipT2", 4, 0, 0 );
+ fw.resize2( "kiv_flipB2", 4, 0, 0 );
+ fw.resize2( "kiv_flip_", 2, picsize[0], picsize[1] );
+ } ) );
+ fw.resize2( "kiv_flipT1", 4, 0, Math.round(picsize[1]*flipZ) );
+ fw.resize2( "kiv_flipB1", 4, 0, Math.round(picsize[1]*flipZ) );
+ fw.resize2( "kiv_flip_", 2, 0, Math.round(picsize[1]*(1-2*flipZ))+8 );
+
+ } ) );
+ }
+
+ this.sendvcomment = function(){
+ var email = $("vcomm_email").value;
+ var assystem = $("vcomm_assystem").value;
+ if(email != "" && assystem != ""){
+ var shareadd = location.search;
+ if(shareadd.indexOf('kit_code=') != -1)
+ shareadd = shareadd.substr(0, shareadd.indexOf('kit_code=')-1);
+ if(shareadd.indexOf('?') == -1)
+ shareadd = "?" + shareadd;
+ else
+ shareadd += "&";
+ var slash = "";
+ if(location.pathname.substr(0, 1) != "/")slash = "/";
+ shareadd = encodeURIComponent(location.hostname + slash + location.pathname + shareadd + "kit_code=" + cur_gallery+"_"+cur_pic + location.hash);
+ var params = "?file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&gallery=" + kib.dirs[cur_gallery] + "&email=" + encodeURIComponent(email) + "&assystem=" + encodeURIComponent(assystem) + "&address=" + shareadd;
+ fw.getHTTP("<?php echo $basedir ?>ki_vcomm.php" + params, kiv.savedvcomm, null);
+ } else {
+ alert("ERROR: Name and/or comment empty.");
+ }
+ }
+
+ this.savedvcomm = function(responseText){
+ if(responseText == "1"){
+ alert("ERROR: For spam avoiding reasons you are only allowed to post a comment every 3 minutes.");
+ } else if(responseText == "2") {
+ alert("ERROR: Your comment has been identified as spam.");
+ } else {
+ $("vcomm_email").value = "";
+ $("vcomm_assystem").value = "";
+ var vlist = $("kiv_vcomments_list");
+ <?php if($moderate_posts == 0){ ?>
+ var old = vlist.innerHTML;
+ vlist.style.visibility = "hidden";
+ var oldd = parseInt(vlist.style.height);
+ vlist.style.height = "auto";
+ var olds = fw.getDim(vlist, 1)[1];
+ vlist.innerHTML = responseText;
+ var news = fw.getDim(vlist, 1)[1];
+ vlist.innerHTML = old;
+ vlist.style.height = oldd + "px";
+ vlist.style.visibility = "visible";
+ fw.move(vlist, 3, 0, 280 + (news - olds), Array(function(){
+ vlist.innerHTML = responseText;
+ vlist.style.top = "280px";
+ }));
+ <?php } else { ?>
+ alert("Thanks. Your comment will be visible after moderation.");
+ <?php } ?>
+ }
+ }
+
+ this.getvcomm = function(responseText){
+ if(responseText != ""){
+ if($("kiv_vcomments_list")){
+ $("kiv_vcomments_list").innerHTML = responseText;
+ }
+ }
+ flipped = 1;
+ }
+ <?php } ?>
+
+ this.download = function(){
+ var node = document.createElement("form");
+ node.action = "<?php echo $basedir ?>ki_download.php";
+ node.method = "post";
+ node.innerHTML = "<input type='hidden' name='file' value='" + kib.pics[cur_gallery][cur_pic].file + "' /><input type='hidden' name='gallery' value='" + kib.dirs[cur_gallery] + "' />";
+ document.body.appendChild(node);
+ node.submit();
+ document.body.removeChild(node);
+ }
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_koschtit.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_koschtit.php
new file mode 100644
index 00000000..bad23817
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_koschtit.php
@@ -0,0 +1,404 @@
+<?php
+ob_start("ob_gzhandler");
+if(!ini_get('date.timezone') && function_exists("date_default_timezone_set"))date_default_timezone_set('Europe/Berlin');
+
+//----------------------------------------------------------------------------- functions --------------------------------------------------------------------------------
+
+if (!function_exists('file_put_contents')) {
+ function file_put_contents($filename, $data) {
+ $f = @fopen($filename, 'w');
+ if (!$f) {
+ return false;
+ } else {
+ $bytes = fwrite($f, $data);
+ fclose($f);
+ return $bytes;
+ }
+ }
+}
+
+if (!function_exists('file_get_contents')) {
+ function file_get_contents($filename) {
+ if ($handle = @fopen($filename, 'rb')) {
+ $data = fread($handle, filesize($filename));
+ fclose($fh);
+ return $data;
+ }
+ }
+}
+
+function cmp_0($a, $b)
+{
+ global $galleryfolder;
+ return (filemtime($galleryfolder.$a[0]) < filemtime($galleryfolder.$b[0])) ? -1 : 1;
+}
+
+function cmp_1($a, $b)
+{
+ global $galleryfolder;
+ return (filemtime($galleryfolder.$a[0]) > filemtime($galleryfolder.$b[0])) ? -1 : 1;
+}
+
+function cmp_2($a, $b)
+{
+ global $galleryfolder;
+
+ $exif = @exif_read_data($galleryfolder.$a[0]);
+ $date1 = "";
+ if (isset($exif['DateTimeOriginal']))
+ $date1 = $exif['DateTimeOriginal'];
+ if (empty($date1) && isset($exif['DateTime']))
+ $date1 = $exif['DateTime'];
+ if (!empty($date1)){
+ $date1 = explode(':', str_replace(' ',':', $date1));
+ if(sizeof($date1) > 4){
+ $date1 = "{$date1[0]}-{$date1[1]}-{$date1[2]} {$date1[3]}:{$date1[4]}";
+ if(sizeof($date1) > 5)$date1 .= ":{$date1[5]}";
+ $date1 = strtotime($date1);
+ }
+ } else {
+ $date1 = filemtime($galleryfolder.$a[0]);
+ }
+ $exif = @exif_read_data($galleryfolder.$b[0]);
+ $date2 = "";
+ if (isset($exif['DateTimeOriginal']))
+ $date2 = $exif['DateTimeOriginal'];
+ if (empty($date2) && isset($exif['DateTime']))
+ $date2 = $exif['DateTime'];
+ if (!empty($date2)){
+ $date2 = explode(':', str_replace(' ',':', $date2));
+ if(sizeof($date2) > 4){
+ $date2 = "{$date2[0]}-{$date2[1]}-{$date2[2]} {$date2[3]}:{$date2[4]}";
+ if(sizeof($date2) > 5)$date2 .= ":{$date1[5]}";
+ $date2 = strtotime($date2);
+ } else {
+ $date2 = filemtime($galleryfolder.$b[0]);
+ }
+ } else {
+ $date2 = filemtime($galleryfolder.$b[0]);
+ }
+
+ return $date1 > $date2 ? 1 : -1;
+}
+
+function cmp_3($a, $b)
+{
+ return strcmp($a[0], $b[0]);
+}
+
+//-------------------------------------------------------------------------- end functions --------------------------------------------------------------------------------
+
+$supported = array("jpg","png","gif");
+
+$reldir = "";
+if(isset($_POST['reldir']))$reldir = $_POST['reldir'];
+$confdir = $reldir."ki_config/";
+$galleriesdir = $reldir."ki_galleries/";
+$basedir = $reldir."ki_base/";
+
+if(isset($_POST['gallery']))
+ $gallery = $_POST['gallery'];
+else
+ exit();
+
+if(isset($_POST['gallerynumber']))
+ $gallerynumber = $_POST['gallerynumber'];
+else
+ exit();
+
+if(isset($_POST['startfrom']))
+ $startfrom = $_POST['startfrom'];
+else
+ $startfrom = 0;
+
+if(isset($_POST['collectinfo']))
+ $collectinfo = 1;
+else
+ $collectinfo = 0;
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $gallery))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+include_once("../ki_config/ki_setup.php");
+if(is_file("../ki_config/".$gallery."_ki_setup.php")){
+ include_once("../ki_config/".$gallery."_ki_setup.php");
+ $configfile = "../ki_config/".$gallery."_ki_setup.php";
+} else {
+ $configfile = "../ki_config/ki_setup.php";
+}
+$galleryfolder = "../ki_galleries/".$gallery."/";
+$thumbsfolder = $galleryfolder."thumbs/";
+$commentsfolder = $galleryfolder."comments/";
+$viewercommentsfolder = $galleryfolder."viewercomments/";
+
+$temp = getimagesize("ki_nav_next.png");
+if($nav_always == 1 && $show_nav == 1)$fr_height -= ($temp[1]+18);
+if($th_lines == "auto")$th_lines = ceil($thumbs/($th_per_line));
+if($th_width == "auto")$th_width = round($fr_width/($th_per_line)) - round($fr_height*0.04) - 4;
+if($th_height == "auto")$th_height = round($fr_height/($th_lines)) - round($fr_height*0.04) - 4;
+$th_width = $th_width - 2*$th_bord_size;
+$th_height = $th_height - 2*$th_bord_size;
+if(($th_lines*$th_per_line) < $thumbs)$thumbs = $th_lines*$th_per_line;
+
+$zeile = 1;
+$spalte = 0;
+
+$spaltenbreite = $fr_width/($th_per_line);
+$zeilenhoehe = $fr_height/($th_lines);
+
+/*------------------- error/warning checking ------------------*/
+if($collectinfo == 1){
+ if (!function_exists('imagecreatetruecolor')) {
+ echo "<div style='background:#ffbbbb; color:#000000; margin-bottom:5px; position:relative; z-index:10; padding:4px;'>ERROR: KoschtIT Image Gallery can't find the PHP GD2 Library available. Please make sure you have removed the semicolon from this line ';extension=php_gd2.dll' in your php.ini and the library is correctly installed.</div>";
+ }
+ if(!is_dir($galleryfolder)) {
+ echo "<div style='background:#ffbbbb; color:#000000; margin-bottom:5px; position:relative; z-index:10; padding:4px;'>ERROR: KoschtIT Image Gallery can't find the following folder on the server: '".htmlentities($gallery)."' . Please check if the folder is available in the 'ki_galleries' folder.</div>";
+ echo "<input type='hidden' id='".$gallerynumber."_info' value='[ ]' />";
+ exit();
+ }
+ if($checkgps == 1){
+ if(!function_exists("exif_read_data")){
+ if($show_warnings == 1)echo "<div style='background:#bbbbff; color:#000000; margin-bottom:5px; position:relative; z-index:10; padding:4px;'>WARNING: You don't have the exif extension for PHP installed. The script won't be able to read any positioning metadata from your pictures. Please disable '\$checkgps' for fixing this issue. Set '\$show_warnings = 0' if you don't want to see this warning again.</div>";
+ }
+ }
+ if($pic_order == 3){
+ if(!function_exists("exif_read_data")){
+ $pic_order = 2;
+ if($show_warnings == 1)echo "<div style='background:#bbbbff; color:#000000; margin-bottom:5px; position:relative; z-index:10; padding:4px;'>WARNING: You don't have the exif extension for PHP installed. You can't set \'$pic_order\' to 3. Please set a different value for '\$pic_order'. Set '\$show_warnings = 0' if you don't want to see this warning again.</div>";
+ }
+ }
+ if($checkgps == 1 && $cellinfo == 1){
+ if(!function_exists("curl_init")){
+ if($show_warnings == 1)echo "<div style='background:#bbbbff; color:#000000; margin-bottom:5px; position:relative; z-index:10; padding:4px;'>WARNING: You don't have the curl extension for PHP installed. You will need this extension for retrieving geo-tagging information from opencellid.com . Please disable '\$cellinfo' for fixing this issue. Set '\$show_warnings = 0' if you don't want to see this warning again.</div>";
+ }
+ }
+ if($thumbs_to_disk == 1){
+ $error = 0;
+ if(!is_dir($thumbsfolder)){
+ @chmod($galleryfolder, 0777);
+ if( !@mkdir($thumbsfolder, 0777) ) {
+ $error = 1;
+ }
+ } else {
+ if(!is_file($thumbsfolder."test") && !$f = @fopen($thumbsfolder."test", 'w')){
+ $error = 1;
+ }
+ @fclose($f);
+ @unlink($thumbsfolder."test");
+ }
+ if($error == 1 && $show_warnings == 1)echo "<div style='background:#bbbbff; color:#000000; margin-bottom:5px; position:relative; z-index:10; padding:4px;'>WARNING: KoschtIT Image Gallery can't get writing permission on the server (\"ki_galleries\\".$gallery."\\thumbs\"-folder). Thumbs won't be saved. Please disable '\$thumbs_to_disk' or grant writing permission. Set '\$show_warnings = 0' if you don't want to see this warning again.</div>";
+ }
+ if($comments == 1){
+ $error = 0;
+ if(!is_dir($commentsfolder)){
+ @chmod($galleryfolder, 0777);
+ if( !@mkdir($commentsfolder, 0777) ) {
+ $error = 1;
+ }
+ } else {
+ if(!is_file($commentsfolder."test") && !$f = @fopen($commentsfolder."test", 'w')){
+ $error = 1;
+ }
+ @fclose($f);
+ @unlink($commentsfolder."test");
+ }
+ if($error == 1 && $show_warnings == 1)echo "<div style='background:#bbbbff; color:#000000; margin-bottom:5px; z-index:3000; position:relative; z-index:10; padding:4px;'>WARNING: KoschtIT Image Gallery can't get writing permission on the server (\"ki_galleries\\".$gallery."\\comments\"-folder). Picture comments won't be saved, but you can still use '\$comm_auto'. Please disable '\$comments' or grant writing permission. Set '\$show_warnings = 0' if you don't want to see this warning again.</div>";
+ }
+ if($viewercomments == 1){
+ $error = 0;
+ if(!is_dir($viewercommentsfolder)){
+ @chmod($galleryfolder, 0777);
+ if( !@mkdir($viewercommentsfolder, 0777) ) {
+ $error = 1;
+ }
+ } else {
+ if(!is_file($viewercommentsfolder."test") && !$f = @fopen($viewercommentsfolder."test", 'w')){
+ $error = 1;
+ }
+ @fclose($f);
+ @unlink($viewercommentsfolder."test");
+ }
+ if($error == 1 && $show_warnings == 1)echo "<div style='background:#bbbbff; color:#000000; margin-bottom:5px; z-index:3000; position:relative; z-index:10; padding:4px;'>WARNING: KoschtIT Image Gallery can't get writing permission on the server (\"ki_galleries\\".$gallery."\\viewercomments\"-folder). User comments won't be saved. Please disable '\$viewercomments' or grant writing permission. Set '\$show_warnings = 0' if you don't want to see this warning again.</div>";
+ }
+}
+/*------------------- end error/warning checking ------------------*/
+
+/*------------------- config settings ------------------*/
+$savefile = $gallery."_lastmodified";
+$lastmodified = filemtime($configfile);
+$saved = $fr_width.$fr_height.$thumbs.$th_per_line.$th_lines.$th_width.$th_height.$th_bord_size.$th_bord_hover_increase.$th_to_square.$th_2sq_crop_vert.$th_2sq_crop_hori.$show_nav.$nav_always;
+$writestring = "<?php\r\n\$lm_saved = \"".$saved."\";\r\n";
+$writestring .= "\$lm_lastmodified = ".$lastmodified.";\r\n?>";
+if(!file_exists($savefile))@file_put_contents($savefile, $writestring);
+if(!file_exists($savefile)) {
+ $thumbs_to_disk = 0;
+} else {
+ include_once($savefile);
+ if($lm_saved !== $saved){
+ @file_put_contents($savefile, $writestring);
+ $matches = @glob($thumbsfolder."*.*", GLOB_ERR);
+ if(is_array($matches)){
+ foreach($matches as $sf) {
+ if(!is_dir($sf) && !is_link($sf)){
+ @unlink($sf);
+ }
+ }
+ }
+ } else {
+ $lastmodified = $lm_lastmodified;
+ }
+}
+/*------------------- end config settings ------------------*/
+
+$files = array();
+$temp = array();
+$savedfolderhash = 0;
+if(is_file($gallery."_dir")){
+ $temp = explode(PHP_EOL, file_get_contents($gallery."_dir"));
+ $savedfolderhash = unserialize($temp[0]);
+}
+//$folderhash = pic_order + MTime of $galleryfolder + fileSize of all files
+$folderhash = $pic_order;
+$iterator = new DirectoryIterator($galleryfolder);
+foreach ($iterator as $fileInfo) {
+ if($fileInfo->isDot()){
+ $folderhash += $fileInfo->getMTime();
+ continue;
+ } elseif($fileInfo->isFile()) {
+ $folderhash += $fileInfo->getSize();
+ }
+}
+if($folderhash != $savedfolderhash){
+ if($pic_order == 4 && sizeof($temp) > 1){
+ $files = unserialize($temp[1]);
+ $iterator->rewind();
+ foreach ($iterator as $fileInfo) {
+ $file = $fileInfo->getFilename();
+ if(!in_array(strtolower(substr($file, -3)), $supported))$continue;
+ $imgsize = @getimagesize($galleryfolder.$file);
+ if($imgsize[0]){
+ $newcandidate = array($file, $imgsize[0], $imgsize[1]);
+ if(!in_array($newcandidate, $files))$files[] = $newcandidate;
+ }
+ }
+ reset($files);
+ } else {
+ $iterator->rewind();
+ foreach ($iterator as $fileInfo) {
+ $file = $fileInfo->getFilename();
+ if(!in_array(strtolower(substr($file, -3)), $supported))$continue;
+ $imgsize = @getimagesize($galleryfolder.$file);
+ if($imgsize[0]){
+ $files[] = array($file, $imgsize[0], $imgsize[1]);
+ }
+ }
+ switch($pic_order){
+ case 0:
+ usort($files, "cmp_1");
+ break;
+ case 1:
+ usort($files, "cmp_0");
+ break;
+ case 2:
+ usort($files, "cmp_3");
+ break;
+ case 3:
+ usort($files, "cmp_2");
+ break;
+ default:
+ usort($files, "cmp_1");
+ break;
+ }
+ reset($files);
+ }
+} else {
+ $files = unserialize($temp[1]);
+}
+
+if($collectinfo == 1){
+ $id = 0;
+ $fileinfo = "";
+ foreach ($files as $file) {
+ if($id != 0)$fileinfo .= ", ";
+ $id++;
+ $fileinfo .= "{ \"file\" : \"".$file[0]."\", \"x\" : ".$file[1].", \"y\" : ".$file[2]." }";
+ }
+ echo "<input id='".$gallerynumber."_info' type='hidden' value='[ ".$fileinfo." ]' />";
+ @file_put_contents($gallery."_dir", serialize($folderhash).PHP_EOL.serialize($files));
+}
+
+$id = 0;
+foreach ($files as $file) {
+ $id++;
+ if($id > $startfrom) {
+
+ $spalte++;
+ if($spalte == $th_per_line+1){
+ $zeile++;
+ $spalte = 1;
+ }
+
+ $breite = $file[1];
+ $hoehe = $file[2];
+
+ if( ($breite / $hoehe) > 1){
+ $k = $hoehe / $breite;
+ $breite = $th_width;
+ $hoehe = $k*$breite;
+ if($hoehe > $th_height){
+ $hoehe = $th_height;
+ $breite = (1/$k) * $hoehe;
+ }
+ } else {
+ $k = $breite / $hoehe;
+ $hoehe = $th_height;
+ $breite = $k*$hoehe;
+ if($breite > $th_width){
+ $breite = $th_width;
+ $hoehe = (1/$k) * $breite;
+ }
+ }
+
+ if($th_to_square == 1) {
+ if($th_width < $th_height){
+ $breite = $th_width;
+ } else {
+ $breite = $th_height;
+ }
+ $hoehe = $breite;
+ }
+
+ $x_pos = round($spaltenbreite*($spalte - 0.5) - 0.5*$breite) - $th_bord_size;
+ $y_pos = round($zeilenhoehe*($zeile - 0.5) - 0.5*$hoehe) - $th_bord_size;
+
+ $breite = round($breite);
+ $hoehe = round($hoehe);
+
+ if($th_bord_hover_increase > 1){
+ $inc_breite = round($breite*$th_bord_hover_increase);
+ $inc_hoehe = round($breite*$th_bord_hover_increase);
+ } else {
+ $inc_breite = $breite;
+ $inc_hoehe = $hoehe;
+ }
+
+ if($zeile <= $th_lines && ($id-$startfrom) <= $thumbs)
+ {
+ $src = $basedir."ki_makepic.php?file=".$gallery."/".rawurlencode($file[0])."&width=".$inc_breite."&height=".$inc_hoehe;
+ $style = "border:".$th_bord_size."px solid ".$th_bord_color."; position:absolute; left:".$x_pos."px; top:".$y_pos."px; cursor:pointer; visibility:hidden; margin:0px; width:".$breite."px; height:".$hoehe."px;";
+ if($thumbs_to_disk == 1){
+ if(!is_file($thumbsfolder.$lastmodified.$file[0])){
+ $src .= "&picname=".$lastmodified.rawurlencode($file[0]);
+ } else {
+ $src = $galleriesdir.$gallery."/thumbs/".$lastmodified.$file[0];
+ }
+ }
+ echo "<img id='".$gallerynumber."_".($id-1)."' src='".$src."' style='".$style."' onclick='kib.getImage(this.id)' onload=\"this.style.visibility='visible'\" onmouseover='kib.makebigger(this)' onmouseout='kib.makesmaller(this)' alt='".$breite."_".$hoehe."_".$x_pos."_".$y_pos."' />";
+ }
+ }
+}
+
+if(($id-$startfrom) > $thumbs)echo "<span id='".$gallerynumber."_next' style='display:none;'>".($startfrom+$thumbs)."</span>";
+if($startfrom != 0)echo "<span id='".$gallerynumber."_prev' style='display:none;'>".($startfrom-$thumbs)."</span>";
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_loading.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_loading.gif
new file mode 100644
index 00000000..3cd7d9de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_loading.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_makepic.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_makepic.php
new file mode 100644
index 00000000..93606187
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_makepic.php
@@ -0,0 +1,317 @@
+<?php
+// -------------------------------------------------------- functions --------------------------------------------------------------
+
+//------------------ Start Caching ---------------------------------
+if(!ini_get('date.timezone') && function_exists("date_default_timezone_set"))date_default_timezone_set('Europe/Berlin');
+$mtime = filemtime($_SERVER['SCRIPT_FILENAME']);
+$gmt_mtime = gmdate('D, d M Y H:i:s', $mtime).' GMT';
+header('ETag: "'.md5($mtime.$_SERVER['SCRIPT_FILENAME']).'"');
+if(isset($_SERVER['HTTP_IF_MODIFIED_SINCE']))
+{
+ if ($_SERVER['HTTP_IF_MODIFIED_SINCE'] == $gmt_mtime)
+ {
+ header('HTTP/1.1 304 Not Modified');
+ exit();
+ }
+}
+if (isset($_SERVER['HTTP_IF_NONE_MATCH']))
+{
+ if (str_replace('"', '', stripslashes($_SERVER['HTTP_IF_NONE_MATCH'])) == md5($mtime.$_SERVER['SCRIPT_FILENAME']))
+ {
+ header("HTTP/1.1 304 Not Modified");
+ exit();
+ }
+}
+//------------------ Ende Caching ---------------------------------
+
+if (!function_exists('file_get_contents')) {
+ function file_get_contents($filename) {
+ if ($handle = @fopen($filename, 'rb')) {
+ $data = fread($handle, filesize($filename));
+ fclose($fh);
+ return $data;
+ }
+ }
+}
+
+function getMemLimit(){
+ if(ini_get("memory_limit"))return return_bytes(ini_get("memory_limit")) - memory_get_usage();
+ if(ini_get("se_memory_limit"))return return_bytes(ini_get("se_memory_limit")) - memory_get_usage();
+ return -1;
+}
+
+
+function return_bytes($size_str){
+ switch (substr ($size_str, -1))
+ {
+ case 'M': case 'm': return (int)$size_str * 1048576;
+ case 'K': case 'k': return (int)$size_str * 1024;
+ case 'G': case 'g': return (int)$size_str * 1073741824;
+ default: return $size_str;
+ }
+}
+
+function getNeededMemoryForImageCreate($width, $height) {
+ return $width*$height*5.2;
+}
+
+function imagestringwrap($image, $font, $x, $y, $text, $color, $maxwidth){
+
+ $fontwidth = imagefontwidth($font);
+ $fontheight = imagefontheight($font);
+
+ if ($maxwidth != NULL){
+ $maxcharsperline = floor($maxwidth / $fontwidth);
+ $text = wordwrap($text, $maxcharsperline, "\n", 1);
+ }
+
+ $lines = explode("\n", $text);
+ while (list($numl, $line) = each($lines)) {
+ imagestring($image, $font, $x, $y, $line, $color);
+ $y += $fontheight;
+ }
+}
+
+// -------------------------------------------------------- end functions --------------------------------------------------------------
+
+include_once("../ki_config/ki_setup.php");
+
+if(isset($_GET['file']))
+ $file = rawurldecode($_GET['file']);
+else
+ exit();
+
+$gallery = substr($file, 0, strpos($file, "/"));
+$file = substr($file, strpos($file, "/")+1);
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $file))exit();
+if(preg_match("/[\.]*\//", $gallery))exit();
+if(!is_file("../ki_galleries/".$gallery."/".$file))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+if(is_file("../ki_config/".$gallery."_ki_setup.php"))
+ include_once("../ki_config/".$gallery."_ki_setup.php");
+
+$filename = $file;
+$file = "../ki_galleries/".$gallery."/".$file;
+$imgsize = getimagesize($file);
+
+if(isset($_GET['height']))
+ $hoehe = $_GET['height'];
+else
+ $hoehe = 100;
+
+if(isset($_GET['width']))
+ $breite = $_GET['width'];
+else
+ $breite = $imgsize[0]/$imgsize[1]*$hoehe;
+
+$src_x = 0;
+$src_y = 0;
+$src_w = $imgsize[0];
+$src_h = $imgsize[1];
+
+if($th_to_square == 1 && isset($_GET['width']) && !isset($_GET['fullimg'])){
+ if($imgsize[0]/$imgsize[1] >= 1)
+ $wide = 1;
+ else
+ $wide = 0;
+
+ $custom = -1;
+ if(is_file("custom")){
+ $content = @file_get_contents("custom");
+ $pictures = explode("|", $content);
+ $picname = $gallery."_".$filename;
+ for($i = 0; $i < count($pictures); $i++){
+ if(strpos($pictures[$i], $picname) !== FALSE){
+ $custom = substr($pictures[$i], strpos($pictures[$i], "=") + 1);
+ }
+ }
+ }
+
+ if($custom == -1){
+ switch($th_2sq_crop_vert){
+ case "top":
+ $src_y = 0;
+ if($wide == 1)
+ $src_h = $imgsize[1];
+ else
+ $src_h = $imgsize[0];
+ break;
+ case "middle";
+ if($wide == 1){
+ $src_y = 0;
+ $src_h = $imgsize[1];
+ } else {
+ $src_y = $imgsize[1]*0.5-0.5*$imgsize[0];
+ $src_h = $imgsize[0];
+ }
+ break;
+ case "bottom":
+ if($wide == 1){
+ $src_y = 0;
+ $src_h = $imgsize[1];
+ } else {
+ $src_y = $imgsize[1]-$imgsize[0];
+ $src_h = $imgsize[0];
+ }
+ break;
+ }
+ switch($th_2sq_crop_hori){
+ case "left":
+ $src_x = 0;
+ if($wide == 1)
+ $src_w = $imgsize[1];
+ else
+ $src_w = $imgsize[0];
+ break;
+ case "center";
+ if($wide == 1){
+ $src_x = $imgsize[0]*0.5-0.5*$imgsize[1];
+ $src_w = $imgsize[1];
+ } else {
+ $src_x = 0;
+ $src_w = $imgsize[0];
+ }
+ break;
+ case "right":
+ if($wide == 1){
+ $src_x = $imgsize[0]-$imgsize[1];
+ $src_w = $imgsize[1];
+ } else {
+ $src_x = 0;
+ $src_w = $imgsize[0];
+ }
+ break;
+ }
+ } else {
+ if($wide == 1){
+ $src_x = $custom*$imgsize[0];
+ $src_y = 0;
+ $src_w = $imgsize[1];
+ $src_h = $imgsize[1];
+ } else {
+ $src_y = $custom*$imgsize[1];
+ $src_x = 0;
+ $src_h = $imgsize[0];
+ $src_w = $imgsize[0];
+ }
+ }
+}
+
+
+$limit = getMemLimit();
+$need = getNeededMemoryForImageCreate($imgsize[0], $imgsize[1]);
+if($need > $limit){
+ while($limit < $need){
+ if(!@ini_set("memory_limit", strval(round(return_bytes(ini_get("memory_limit"))*2))) || $limit < 0){
+ if(!isset($_GET['fullimg'])){
+ $im = imagecreate($breite, $hoehe);
+ $bg = imagecolorallocate($im, 255, 255, 255);
+ imagefill($im, 0, 0, $bg);
+ $textcolor = imagecolorallocate($im, 255, 0, 0);
+ imagestringwrap($im, 2, 2, 2, "ERROR: '".substr($file, strrpos($file, "/")+1)."' needs too much memory to create this thumb. Please reduce it's size by hand.", $textcolor, $breite-2);
+ header('Content-type: image/png');
+ imagepng($im);
+ imagedestroy($im);
+ exit();
+ } else {
+ header("Location: ".$file);
+ exit();
+ }
+ } else {
+ $limit = return_bytes(ini_get("memory_limit")) - memory_get_usage();
+ }
+ }
+}
+
+ini_set("gd.jpeg_ignore_warning", true);
+
+switch(strtolower(substr($file, -3))){
+ case "jpg":
+ $image = @imagecreatefromjpeg($file);
+ break;
+ case "png":
+ $image = @imagecreatefrompng($file);
+ break;
+ case "gif":
+ $image = @imagecreatefromgif($file);
+ break;
+ default:
+ exit;
+ break;
+}
+
+$limit = getMemLimit();
+$need = getNeededMemoryForImageCreate($breite, $hoehe);
+if($need > $limit){
+ while($limit < $need){
+ if(!@ini_set("memory_limit", strval(round(return_bytes(ini_get("memory_limit"))*2))) || $limit < 0){
+ if(!isset($_GET['fullimg'])){
+ $im = imagecreate($breite, $hoehe);
+ $bg = imagecolorallocate($im, 255, 255, 255);
+ imagefill($im, 0, 0, $bg);
+ $textcolor = imagecolorallocate($im, 255, 0, 0);
+ imagestringwrap($im, 2, 2, 2, "ERROR: '".substr($file, strrpos($file, "/")+1)."' needs too much memory to create this thumb. Please reduce it's size by hand.", $textcolor, $breite-2);
+ header('Content-type: image/png');
+ imagepng($im);
+ imagedestroy($im);
+ exit();
+ } else {
+ header("Location: ".$file);
+ exit();
+ }
+ } else {
+ $limit = return_bytes(ini_get("memory_limit")) - memory_get_usage();
+ }
+ }
+}
+
+$bild = imagecreatetruecolor($breite, $hoehe);
+imagealphablending($bild, false);
+imagesavealpha($bild, true);
+imagecopyresampled($bild, $image, 0, 0, $src_x, $src_y, $breite, $hoehe, $src_w, $src_h);
+imagedestroy($image);
+
+if(isset($_GET['picname'])){
+ $picname = rawurldecode($_GET['picname']);
+ // -------------- Sicherheitsabfragen!
+ if(preg_match("/[\.]*\//", $picname))exit();
+ // ---------- Ende Sicherheitsabfragen!
+ switch(strtolower(substr($file, -3))){
+ case "jpg":
+ @imagejpeg($bild, "../ki_galleries/".$gallery."/thumbs/".$_GET['picname'], 80);
+ break;
+ case "png":
+ @imagepng($bild, "../ki_galleries/".$gallery."/thumbs/".$_GET['picname']);
+ break;
+ case "gif":
+ @imagegif($bild, "../ki_galleries/".$gallery."/thumbs/".$_GET['picname']);
+ break;
+ }
+} else {
+ //------------------ Start Caching ---------------------------------
+ header('Last-Modified: '.$gmt_mtime);
+ header('Cache-Control: public');
+ header('Expires: '.gmdate('D, d M Y H:i:s', strtotime('+1 month')).' GMT');
+ //------------------ Ende Caching ---------------------------------
+}
+
+switch(strtolower(substr($file, -3))){
+ case "jpg":
+ header("Content-Type: image/jpeg");
+ imagejpeg($bild, "", 80);
+ break;
+ case "png":
+ header("Content-Type: image/png");
+ imagepng($bild);
+ break;
+ case "gif":
+ header("Content-Type: image/gif");
+ imagegif($bild);
+ break;
+}
+
+imagedestroy($bild);
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_managefolders.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_managefolders.php
new file mode 100644
index 00000000..1b8956fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_managefolders.php
@@ -0,0 +1,122 @@
+<?php
+session_start();
+
+/* --------------------------------------------------------- functions ------------------------------------------------------ */
+
+function calcSize($dir){
+ $size = 0;
+ $num = 0;
+ $iterator = new DirectoryIterator($dir);
+ foreach ($iterator as $fileInfo){
+ if($fileInfo->isDot()){
+ continue;
+ } else if($fileInfo->isDir()){
+ $info = calcSize($dir.$fileInfo->getBasename()."/");
+ $size += $info[1];
+ } else if($fileInfo->isFile()){
+ $size += $fileInfo->getSize();
+ $num += 1;
+ }
+ }
+ return array($num, $size);
+}
+
+function listFolders(){
+ $setting = "";
+ $iterator = new DirectoryIterator("../ki_galleries/");
+ foreach ($iterator as $fileInfo) {
+ if($fileInfo->isDot()){
+ continue;
+ } else if($fileInfo->isDir()) {
+ $info = calcSize("../ki_galleries/".$fileInfo->getBasename()."/");
+ $setting .= "{\"folder\":\"".addslashes($fileInfo->getBasename())."\", \"size\":".round(($info[1]/1024/1024), 2).", \"num\":".$info[0]." }, ";
+ }
+ }
+ $setting = substr($setting, 0, -2)." ";
+ return $setting;
+}
+
+function deleteAll($folder){
+ $iterator = new DirectoryIterator($folder);
+ foreach ($iterator as $fileInfo) {
+ if($fileInfo->isDot()){
+ continue;
+ } else if($fileInfo->isFile()){
+ @unlink($folder.$fileInfo->getBasename());
+ } else if($fileInfo->isDir()){
+ deleteAll($folder.$fileInfo->getBasename()."/");
+ }
+ }
+ return @rmdir($folder);
+}
+
+function emptyAll($folder){
+ $iterator = new DirectoryIterator($folder);
+ foreach ($iterator as $fileInfo) {
+ if($fileInfo->isDot()){
+ continue;
+ } else if($fileInfo->isFile()){
+ if(!@unlink($folder.$fileInfo->getBasename()))return false;
+ } else if($fileInfo->isDir()){
+ deleteAll($folder.$fileInfo->getBasename()."/");
+ }
+ }
+ return true;
+}
+
+/* ---------------------------------------------------------- end functions -------------------------------------------------- */
+
+include_once("../ki_config/ki_setup.php");
+
+$pwok = 0;
+if(isset($_SESSION['pwquery'])){
+ if($_SESSION['pwquery'] === $pw)$pwok = 1;
+}
+
+if($pwok == 1){
+ if(isset($_POST['list'])){
+ echo "[ ".listFolders()." ]";
+ }
+ if(isset($_POST['createnew'])){
+ $error = "";
+ $folder = "../ki_galleries/".$_POST['createnew']."/";
+ if(!is_dir($folder)){
+ if( !@mkdir($folder, 0777) ) {
+ $error = "ERROR: Could not create new folder. Check permissions.";
+ }
+ } else {
+ $error = "ERROR: Folder already exists.";
+ }
+ if($error === "")
+ echo "[ ".listFolders()." ]";
+ else
+ echo "{\"error\":\"".$error."\" }";
+ }
+ if(isset($_POST['delete'])){
+ $error = "";
+ $folder = "../ki_galleries/".$_POST['delete']."/";
+ if(is_dir($folder)){
+ if(!deleteAll($folder))$error = "ERROR: Could not delete folder. Check permissions.";
+ } else {
+ $error = "ERROR: Folder not existent.";
+ }
+ if($error === "")
+ echo "[ ".listFolders()." ]";
+ else
+ echo "{\"error\":\"".$error."\" }";
+ }
+ if(isset($_POST['empty'])){
+ $error = "";
+ $folder = "../ki_galleries/".$_POST['empty']."/";
+ if(is_dir($folder)){
+ if(!emptyAll($folder))$error = "ERROR: Could not empty folder. Check permissions.";
+ } else {
+ $error = "ERROR: Folder not existent.";
+ }
+ if($error === "")
+ echo "[ ".listFolders()." ]";
+ else
+ echo "{\"error\":\"".$error."\" }";
+ }
+}
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_mouse_help.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_mouse_help.png
new file mode 100644
index 00000000..74624e72
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_mouse_help.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_close.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_close.png
new file mode 100644
index 00000000..b2c2d106
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_close.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_download.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_download.png
new file mode 100644
index 00000000..4e9c99b2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_download.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_full.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_full.png
new file mode 100644
index 00000000..30e18e04
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_full.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_globe.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_globe.png
new file mode 100644
index 00000000..d4aaa8fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_globe.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_info.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_info.png
new file mode 100644
index 00000000..431a975d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_info.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_link.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_link.png
new file mode 100644
index 00000000..c2ac959d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_link.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_next.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_next.png
new file mode 100644
index 00000000..45c77753
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_next.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_play.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_play.png
new file mode 100644
index 00000000..1603a9d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_play.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_prev.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_prev.png
new file mode 100644
index 00000000..11ef619c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_prev.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_stop.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_stop.png
new file mode 100644
index 00000000..685a4cbe
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_stop.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_vcomm.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_vcomm.png
new file mode 100644
index 00000000..50ef6f1d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_vcomm.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_next.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_next.png
new file mode 100644
index 00000000..699a849b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_next.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_noimage.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_noimage.gif
new file mode 100644
index 00000000..35d42e80
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_noimage.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nojs.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nojs.php
new file mode 100644
index 00000000..90bc2fc7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nojs.php
@@ -0,0 +1,447 @@
+<?php
+ob_start("ob_gzhandler");
+
+//----------------------------------------------------------------------------- functions --------------------------------------------------------------------------------
+function draw_image($filename, $id, $style, $params) {
+ global $browser, $basedir;
+ $idstring = "";
+ if($id != "")$idstring = "id='".$id."' ";
+ if($browser == "ie6") {
+ $imgsize = getimagesize($filename);
+ echo "<img ".$idstring."style='filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=".$filename."); width:".$imgsize[0]."px; height:".$imgsize[1]."px; ".$style."' src='".$basedir."ki_noimage.gif' ".$params." />";
+ } else {
+ if($style != "")$style = " style='".$style."' ";
+ echo "<img ".$idstring."src='".$filename."'".$style.$params." />";
+ }
+}
+
+if (!function_exists('file_put_contents')) {
+ function file_put_contents($filename, $data) {
+ $f = @fopen($filename, 'w');
+ if (!$f) {
+ return false;
+ } else {
+ $bytes = fwrite($f, $data);
+ fclose($f);
+ return $bytes;
+ }
+ }
+}
+
+if (!function_exists('file_get_contents')) {
+ function file_get_contents($filename) {
+ if ($handle = @fopen($filename, 'rb')) {
+ $data = fread($handle, filesize($filename));
+ fclose($fh);
+ return $data;
+ }
+ }
+}
+
+function cmp_0($a, $b)
+{
+ global $galleryfolder;
+ return (filemtime($galleryfolder.$a[0]) < filemtime($galleryfolder.$b[0])) ? -1 : 1;
+}
+
+function cmp_1($a, $b)
+{
+ global $galleryfolder;
+ return (filemtime($galleryfolder.$a[0]) > filemtime($galleryfolder.$b[0])) ? -1 : 1;
+}
+
+function cmp_2($a, $b)
+{
+ global $galleryfolder;
+
+ $exif = @exif_read_data($galleryfolder.$a[0]);
+ $date1 = "";
+ if (isset($exif['DateTimeOriginal']))
+ $date1 = $exif['DateTimeOriginal'];
+ if (empty($date1) && isset($exif['DateTime']))
+ $date1 = $exif['DateTime'];
+ if (!empty($date1)){
+ $date1 = explode(':', str_replace(' ',':', $date1));
+ $date1 = "{$date1[0]}-{$date1[1]}-{$date1[2]} {$date1[3]}:{$date1[4]}";
+ if(sizeof($date1) > 5)$date1 .= ":{$date1[5]}";
+ $date1 = strtotime($date1);
+ } else {
+ $date1 = filemtime($galleryfolder.$a[0]);
+ }
+ $exif = @exif_read_data($galleryfolder.$b[0]);
+ $date2 = "";
+ if (isset($exif['DateTimeOriginal']))
+ $date2 = $exif['DateTimeOriginal'];
+ if (empty($date2) && isset($exif['DateTime']))
+ $date2 = $exif['DateTime'];
+ if (!empty($date2)){
+ $date2 = explode(':', str_replace(' ',':', $date2));
+ $date2 = "{$date2[0]}-{$date2[1]}-{$date2[2]} {$date2[3]}:{$date2[4]}";
+ if(sizeof($date2) > 5)$date2 .= ":{$date1[5]}";
+ $date2 = strtotime($date2);
+ } else {
+ $date2 = filemtime($galleryfolder.$b[0]);
+ }
+
+ return $date1 > $date2 ? 1 : -1;
+}
+
+function cmp_3($a, $b)
+{
+ return strcmp($a[0], $b[0]);
+}
+
+//-------------------------------------------------------------------------- end functions --------------------------------------------------------------------------------
+
+@ini_set("default_charset", "utf-8");
+header('Content-type: text/html; charset=utf-8');
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [9]/",$browser))
+ $browser = "ie9";
+elseif(preg_match("/MSIE [7-8]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+if($browser == "ie6")
+ $posfix = "absolute";
+else
+ $posfix = "fixed";
+
+$supported = array("jpg","png","gif");
+
+if(isset($_GET['gallery']))
+ $gallery = $_GET['gallery'];
+else
+ exit();
+
+if(isset($_GET['site']))
+ $site = $_GET['site'];
+else
+ exit();
+
+if(isset($_GET['startfrom']))
+ $startfrom = $_GET['startfrom'];
+else
+ $startfrom = 0;
+
+if(isset($_GET['explorer']))
+ $explorer = 1;
+else
+ $explorer = 0;
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $gallery))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+include_once("../ki_config/ki_setup.php");
+if(is_file("../ki_config/".$gallery."_ki_setup.php")){
+ include_once("../ki_config/".$gallery."_ki_setup.php");
+ $configfile = "../ki_config/".$gallery."_ki_setup.php";
+} else {
+ $configfile = "../ki_config/ki_setup.php";
+}
+$galleryfolder = "../ki_galleries/".$gallery."/";
+$thumbsfolder = $galleryfolder."thumbs/";
+$commentsfolder = $galleryfolder."comments/";
+
+$temp = getimagesize("ki_nav_next.png");
+if($nav_always == 1 && $show_nav == 1)$fr_height -= ($temp[1]+18);
+if($th_lines == "auto")$th_lines = ceil($thumbs/($th_per_line));
+if($th_width == "auto")$th_width = round($fr_width/($th_per_line)) - round($fr_height*0.04) - 4;
+if($th_height == "auto")$th_height = round($fr_height/($th_lines)) - round($fr_height*0.04) - 4;
+$th_width = $th_width - 2*$th_bord_size;
+$th_height = $th_height - 2*$th_bord_size;
+if(($th_lines*$th_per_line) < $thumbs)$thumbs = $th_lines*$th_per_line;
+
+$zeile = 1;
+$spalte = 0;
+
+$spaltenbreite = $fr_width/($th_per_line);
+$zeilenhoehe = $fr_height/($th_lines);
+?>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="koschtit_version" content="KoschtIT Image Gallery v3.1b by Konstantin Tabere" />
+<title>KoschtIT Image Gallery: <?php echo $gallery ?></title>
+<style type="text/css">
+a.nav:hover img{
+ top:-2px;
+}
+
+a.pic {
+ <?php if($th_to_square == 0) { ?>
+ line-height:<?php echo $th_height+$explorer_padding+2*$th_bord_size ?>px;
+ <?php } ?>
+}
+a.pic img {
+ border:<?php echo $th_bord_size ?>px solid <?php echo $th_bord_color ?>;
+ <?php if($explorer == 1)echo "margin:".(0.5*$explorer_padding)."px;" ?>
+ vertical-align:middle;
+}
+a.pic:hover img {
+ border-color:<?php echo $th_bord_hover_color ?>;
+ <?php if(in_array($browser, array("ie9", "opera", "gecko", "webkit"))){ ?>
+ box-shadow:0px 0px 10px #000;
+ <?php } ?>
+}
+</style>
+</head>
+<body style="background:<?php echo $fr_color ?>; padding:0px; margin:0px;">
+
+
+<?php
+
+/*------------------- error/warning checking ------------------*/
+if(!function_exists('imagecreatetruecolor')){
+ echo "<div style='background:#ffbbbb; color:#000000; padding:4px;'>ERROR: KoschtIT Image Gallery can't find the PHP GD2 Library available. Please make sure you have removed the semicolon from this line ';extension=php_gd2.dll' in your php.ini and the library is correctly installed.</div>";
+}
+if(!is_dir($galleryfolder)) {
+ echo "<div style='background:#ffbbbb; color:#000000; padding:4px;'>ERROR: KoschtIT Image Gallery can't find the following folder on the server: '".htmlentities($gallery)."' . Please check if the folder is available in the 'ki_galleries' folder.</div>";
+ exit();
+}
+if($pic_order == 3){
+ if(!function_exists("exif_read_data")){
+ $pic_order = 2;
+ }
+}
+/*------------------- end error/warning checking ------------------*/
+
+/*------------------- config settings ------------------*/
+$savefile = $gallery."_lastmodified";
+$lastmodified = filemtime($configfile);
+$saved = $fr_width.$fr_height.$thumbs.$th_per_line.$th_lines.$th_width.$th_height.$th_bord_size.$th_bord_hover_increase.$th_to_square.$th_2sq_crop_vert.$th_2sq_crop_hori.$show_nav.$nav_always;
+$writestring = "<?php\r\n\$lm_saved = \"".$saved."\";\r\n";
+$writestring .= "\$lm_lastmodified = ".$lastmodified.";\r\n?>";
+if(!file_exists($savefile))@file_put_contents($savefile, $writestring);
+if(!file_exists($savefile)) {
+ $thumbs_to_disk = 0;
+} else {
+ include_once($savefile);
+ if($lm_saved !== $saved){
+ @file_put_contents($savefile, $writestring);
+ $matches = @glob($thumbsfolder."*.*", GLOB_ERR);
+ if(is_array($matches)){
+ foreach($matches as $sf) {
+ if(!is_dir($sf) && !is_link($sf)){
+ @unlink($sf);
+ }
+ }
+ }
+ } else {
+ $lastmodified = $lm_lastmodified;
+ }
+}
+/*------------------- end config settings ------------------*/
+
+$files = array();
+$temp = array();
+$savedfolderhash = 0;
+if(is_file($gallery."_dir")){
+ $temp = explode(PHP_EOL, file_get_contents($gallery."_dir"));
+ $savedfolderhash = unserialize($temp[0]);
+}
+//$folderhash = pic_order + MTime of $galleryfolder + fileSize of all files
+$folderhash = $pic_order;
+$iterator = new DirectoryIterator($galleryfolder);
+foreach ($iterator as $fileInfo) {
+ if($fileInfo->isDot()){
+ $folderhash += $fileInfo->getMTime();
+ continue;
+ } elseif($fileInfo->isFile()) {
+ $folderhash += $fileInfo->getSize();
+ }
+}
+if($folderhash != $savedfolderhash){
+ if($pic_order == 4 && sizeof($temp) > 1){
+ $files = unserialize($temp[1]);
+ $iterator->rewind();
+ foreach ($iterator as $fileInfo) {
+ $file = $fileInfo->getFilename();
+ if(!in_array(strtolower(substr($file, -3)), $supported))$continue;
+ $imgsize = @getimagesize($galleryfolder.$file);
+ if($imgsize[0]){
+ $newcandidate = array($file, $imgsize[0], $imgsize[1]);
+ if(!in_array($newcandidate, $files))$files[] = $newcandidate;
+ }
+ }
+ reset($files);
+ } else {
+ $iterator->rewind();
+ foreach ($iterator as $fileInfo) {
+ $file = $fileInfo->getFilename();
+ if(!in_array(strtolower(substr($file, -3)), $supported))$continue;
+ $imgsize = @getimagesize($galleryfolder.$file);
+ if($imgsize[0]){
+ $files[] = array($file, $imgsize[0], $imgsize[1]);
+ }
+ }
+ switch($pic_order){
+ case 0:
+ usort($files, "cmp_1");
+ break;
+ case 1:
+ usort($files, "cmp_0");
+ break;
+ case 2:
+ usort($files, "cmp_3");
+ break;
+ case 3:
+ usort($files, "cmp_2");
+ break;
+ default:
+ usort($files, "cmp_1");
+ break;
+ }
+ reset($files);
+ }
+} else {
+ $files = unserialize($temp[1]);
+}
+
+if($explorer == 1){
+ $temp = getimagesize("ki_nav_close.png");
+?>
+<div style="position:<?php echo $posfix ?>; left:50%; top:-20px; background:<?php echo $nav_color ?>; <?php if($nav_style == 2){ ?>border-radius:20px; -moz-border-radius:20px; -webkit-border-radius:20px;<?php } ?> border:2px solid <?php echo $nav_border_color ?>; z-index:10000; padding:22px 3px 3px 3px; margin-left:-<?php echo 0.5*($temp[0]+14) ?>px;">
+ <a class="nav" href="<?php echo $site ?>"><?php draw_image("ki_nav_close.png", "", "display:block; border:0px; margin:0px 2px 0px 2px; position:relative;", "title='".htmlentities(stripslashes($nav_kiv_close), ENT_QUOTES, "UTF-8")."'") ?></a>
+</div>
+<?php
+ echo "<div style='text-align:center; padding:".($explorer_padding*0.5)."px;'>";
+}
+
+
+$id = 0;
+foreach ($files as $file) {
+ $id++;
+ if($id > $startfrom) {
+
+ $spalte++;
+ if($spalte == $th_per_line+1){
+ $zeile++;
+ $spalte = 1;
+ }
+
+ $breite = $file[1];
+ $hoehe = $file[2];
+
+ if( ($breite / $hoehe) > 1){
+ $k = $hoehe / $breite;
+ $breite = $th_width;
+ $hoehe = $k*$breite;
+ if($hoehe > $th_height){
+ $hoehe = $th_height;
+ $breite = (1/$k) * $hoehe;
+ }
+ } else {
+ $k = $breite / $hoehe;
+ $hoehe = $th_height;
+ $breite = $k*$hoehe;
+ if($breite > $th_width){
+ $breite = $th_width;
+ $hoehe = (1/$k) * $breite;
+ }
+ }
+
+ if($th_to_square == 1) {
+ if($th_width < $th_height){
+ $breite = $th_width;
+ } else {
+ $breite = $th_height;
+ }
+ $hoehe = $breite;
+ }
+
+ $x_pos = round($spaltenbreite*($spalte - 0.5) - 0.5*$breite) - $th_bord_size;
+ $y_pos = round($zeilenhoehe*($zeile - 0.5) - 0.5*$hoehe) - $th_bord_size;
+
+ $breite = round($breite);
+ $hoehe = round($hoehe);
+
+ if($th_bord_hover_increase > 1){
+ $inc_breite = round($breite*$th_bord_hover_increase);
+ $inc_hoehe = round($breite*$th_bord_hover_increase);
+ } else {
+ $inc_breite = $breite;
+ $inc_hoehe = $hoehe;
+ }
+
+ if(($zeile <= $th_lines && ($id-$startfrom) <= $thumbs) || $explorer == 1)
+ {
+ $src = "ki_makepic.php?file=".$gallery."/".rawurlencode($file[0])."&width=".$inc_breite."&height=".$inc_hoehe;
+ $style = "width:".$breite."px; height:".$hoehe."px;";
+ $exp = "";
+ if($explorer == 0){
+ $style .= " position:absolute; left:".$x_pos."px; top:".$y_pos."px;";
+ } else {
+ $exp .= "&explorer=1";
+ }
+ if($thumbs_to_disk == 1){
+ if(!is_file($thumbsfolder.$lastmodified.$file[0])){
+ $src .= "&picname=".$lastmodified.rawurlencode($file[0]);
+ } else {
+ $src = "../ki_galleries/".$gallery."/thumbs/".$lastmodified.$file[0];
+ }
+ }
+ echo "<a class='pic' href='ki_nojsdisplayimage.php?fileno=".($id-1)."&gallery=".$gallery."&site=".$site.$exp."' target='_top'><img src='".$src."' style='".$style."' /></a>";
+ }
+ }
+}
+
+
+if($explorer == 0 && $show_nav == 1){
+ $breite = 0;
+ if($nav_pos === "right"){
+ $xpos = "right:3px;";
+ } elseif($nav_pos === "left"){
+ $xpos = "left:3px;";
+ } else {
+ $temp = getimagesize("ki_nav_close.png");
+ $temp = $temp[0]+4;
+ $breite = $temp;
+ if($slideshow == 1 && $id > 1)$breite += $temp;
+ if($startfrom != 0)$breite += $temp;
+ if(($id-$startfrom) > $thumbs)$breite += $temp;
+ $xpos = "left:50%; margin-left:-".(0.5*($breite+10))."px;";
+ }
+?>
+<div style="position:<?php echo $posfix ?>; <?php echo $xpos ?> bottom:4px; background:<?php echo $nav_color ?>; <?php if($nav_style == 2){ ?>border-radius:20px; -moz-border-radius:20px; -webkit-border-radius:20px;<?php } ?> border:2px solid <?php echo $nav_border_color ?>; z-index:10000; padding:3px;">
+<a class='nav' href='ki_nojs.php?gallery=<?php echo $gallery ?>&amp;site=<?php echo $site ?>&explorer=1' target='_top' style='float:left;'><?php draw_image("ki_nav_full.png", "", "display:block; border:0px; margin:0px 2px 0px 2px; position:relative;", "title='".htmlentities(stripslashes($nav_maxi), ENT_QUOTES, "UTF-8")."'") ?></a>
+<?php
+if($slideshow == 1 && $id > 1){
+?>
+<a class='nav' href='ki_nojsdisplayimage.php?fileno=0&amp;gallery=<?php echo $gallery ?>&amp;site=<?php echo $site ?>&ss=1' target='_top' style='float:left;'><?php draw_image("ki_nav_play.png", "", "display:block; border:0px; margin:0px 2px 0px 2px; position:relative;", "title='".htmlentities(stripslashes($slideshow_start), ENT_QUOTES, "UTF-8")."'") ?></a>
+<?php
+}
+if($startfrom != 0){
+?>
+<a class='nav' href='ki_nojs.php?gallery=<?php echo $gallery ?>&amp;site=<?php echo $site ?>&startfrom=<?php echo ($startfrom-$thumbs) ?>' style='float:left;'><?php draw_image("ki_nav_prev.png", "", "display:block; border:0px; margin:0px 2px 0px 2px; position:relative;", "title='".htmlentities(stripslashes($nav_back), ENT_QUOTES, "UTF-8")."'") ?></a>
+<?php
+}
+if(($id-$startfrom) > $thumbs){
+?>
+<a class='nav' href='ki_nojs.php?gallery=<?php echo $gallery ?>&amp;site=<?php echo $site ?>&startfrom=<?php echo ($startfrom+$thumbs) ?>' style='float:left;'><?php draw_image("ki_nav_next.png", "", "display:block; border:0px; margin:0px 2px 0px 2px; position:relative;", "title='".htmlentities(stripslashes($nav_next), ENT_QUOTES, "UTF-8")."'") ?></a>
+<?php
+}
+?>
+</div>
+<?php
+}
+
+
+if($explorer == 1)echo "</div>";
+?>
+
+
+</body>
+</html> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nojsdisplayimage.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nojsdisplayimage.php
new file mode 100644
index 00000000..10a35720
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_nojsdisplayimage.php
@@ -0,0 +1,427 @@
+<?php
+ob_start("ob_gzhandler");
+
+/* --------------------------------------------------------- functions ------------------------------------------------------ */
+
+function draw_image($filename, $id, $style, $params) {
+ global $browser, $basedir;
+ $idstring = "";
+ if($id != "")$idstring = "id='".$id."' ";
+ if($browser == "ie6") {
+ $imgsize = getimagesize($filename);
+ echo "<img ".$idstring."style='filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=".$filename."); width:".$imgsize[0]."px; height:".$imgsize[1]."px; ".$style."' src='".$basedir."ki_noimage.gif' ".$params." />";
+ } else {
+ if($style != "")$style = " style='".$style."' ";
+ echo "<img ".$idstring."src='".$filename."'".$style.$params." />";
+ }
+}
+
+if (!function_exists('file_put_contents')) {
+ function file_put_contents($filename, $data) {
+ $f = @fopen($filename, 'w');
+ if (!$f) {
+ return false;
+ } else {
+ $bytes = fwrite($f, $data);
+ fclose($f);
+ return $bytes;
+ }
+ }
+}
+
+if (!function_exists('file_get_contents')) {
+ function file_get_contents($filename) {
+ if ($handle = @fopen($filename, 'rb')) {
+ $data = fread($handle, filesize($filename));
+ fclose($fh);
+ return $data;
+ }
+ }
+}
+
+function cmp_0($a, $b)
+{
+ global $galleryfolder;
+ return (filemtime($galleryfolder.$a[0]) < filemtime($galleryfolder.$b[0])) ? -1 : 1;
+}
+
+function cmp_1($a, $b)
+{
+ global $galleryfolder;
+ return (filemtime($galleryfolder.$a[0]) > filemtime($galleryfolder.$b[0])) ? -1 : 1;
+}
+
+function cmp_2($a, $b)
+{
+ global $galleryfolder;
+
+ $exif = @exif_read_data($galleryfolder.$a[0]);
+ $date1 = "";
+ if (isset($exif['DateTimeOriginal']))
+ $date1 = $exif['DateTimeOriginal'];
+ if (empty($date1) && isset($exif['DateTime']))
+ $date1 = $exif['DateTime'];
+ if (!empty($date1)){
+ $date1 = explode(':', str_replace(' ',':', $date1));
+ $date1 = "{$date1[0]}-{$date1[1]}-{$date1[2]} {$date1[3]}:{$date1[4]}";
+ if(sizeof($date1) > 5)$date1 .= ":{$date1[5]}";
+ $date1 = strtotime($date1);
+ } else {
+ $date1 = filemtime($galleryfolder.$a[0]);
+ }
+ $exif = @exif_read_data($galleryfolder.$b[0]);
+ $date2 = "";
+ if (isset($exif['DateTimeOriginal']))
+ $date2 = $exif['DateTimeOriginal'];
+ if (empty($date2) && isset($exif['DateTime']))
+ $date2 = $exif['DateTime'];
+ if (!empty($date2)){
+ $date2 = explode(':', str_replace(' ',':', $date2));
+ $date2 = "{$date2[0]}-{$date2[1]}-{$date2[2]} {$date2[3]}:{$date2[4]}";
+ if(sizeof($date2) > 5)$date2 .= ":{$date1[5]}";
+ $date2 = strtotime($date2);
+ } else {
+ $date2 = filemtime($galleryfolder.$b[0]);
+ }
+
+ return $date1 > $date2 ? 1 : -1;
+}
+
+function cmp_3($a, $b)
+{
+ return strcmp($a[0], $b[0]);
+}
+
+function is_utf8($str) {
+ $c=0; $b=0;
+ $bits=0;
+ $len=strlen($str);
+ for($i=0; $i<$len; $i++){
+ $c=ord($str[$i]);
+ if($c > 128){
+ if(($c >= 254)) return false;
+ elseif($c >= 252) $bits=6;
+ elseif($c >= 248) $bits=5;
+ elseif($c >= 240) $bits=4;
+ elseif($c >= 224) $bits=3;
+ elseif($c >= 192) $bits=2;
+ else return false;
+ if(($i+$bits) > $len) return false;
+ while($bits > 1){
+ $i++;
+ $b=ord($str[$i]);
+ if($b < 128 || $b > 191) return false;
+ $bits--;
+ }
+ }
+ }
+ return true;
+}
+
+function utf8_encode_safe($string){
+
+ if( is_utf8($string) )
+ return $string;
+ else
+ return utf8_encode($string);
+}
+
+/* ---------------------------------------------------------- end functions -------------------------------------------------- */
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [9]/",$browser))
+ $browser = "ie9";
+elseif(preg_match("/MSIE [7-8]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+if($browser == "ie6")
+ $posfix = "absolute";
+else
+ $posfix = "fixed";
+
+/* --------------------------------------------------------- Display full image ---------------------------------------------------------------------- */
+
+@ini_set("default_charset", "utf-8");
+header('Content-type: text/html; charset=utf-8');
+
+if(isset($_GET['fileno']))
+ $fileno = $_GET['fileno'];
+else
+ exit;
+
+if(isset($_GET['gallery']))
+ $gallery = $_GET['gallery'];
+else
+ exit;
+
+if(isset($_GET['site']))
+ $site = $_GET['site'];
+else
+ exit;
+
+if(isset($_GET['explorer']))
+ $explorer = 1;
+else
+ $explorer = 0;
+
+if(isset($_GET['ss']))
+ $ss = 1;
+else
+ $ss = 0;
+
+// -------------- Sicherheitsabfragen!
+if(!is_int(intval($fileno)))exit();
+if(preg_match("/[\.]*\//", $gallery))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+include_once("../ki_config/ki_setup.php");
+if(is_file("../ki_config/".$gallery."_ki_setup.php"))include_once("../ki_config/".$gallery."_ki_setup.php");
+
+$supported = array("jpg","png","gif");
+
+$galleryfolder = "../ki_galleries/".$gallery."/";
+
+/*------------------- error/warning checking ------------------*/
+if(!is_dir($galleryfolder)) {
+ echo "<div style='background:#ffbbbb; color:#000000; padding:4px;'>ERROR: KoschtIT Image Gallery could't find the following folder on the server: '".htmlentities($gallery)."' . Please check if the folder is available in the 'ki_galleries' folder.</div>";
+ exit();
+}
+if($pic_order == 3){
+ if(!function_exists("exif_read_data")){
+ $pic_order = 2;
+ }
+}
+/*------------------- end error/warning checking ------------------*/
+
+$files = array();
+$temp = array();
+$savedfolderhash = 0;
+if(is_file($gallery."_dir")){
+ $temp = explode(PHP_EOL, file_get_contents($gallery."_dir"));
+ $savedfolderhash = unserialize($temp[0]);
+}
+//$folderhash = pic_order + MTime of $galleryfolder + fileSize of all files
+$folderhash = $pic_order;
+$iterator = new DirectoryIterator($galleryfolder);
+foreach ($iterator as $fileInfo) {
+ if($fileInfo->isDot()){
+ $folderhash += $fileInfo->getMTime();
+ continue;
+ } elseif($fileInfo->isFile()) {
+ $folderhash += $fileInfo->getSize();
+ }
+}
+if($folderhash != $savedfolderhash){
+ if($pic_order == 4 && sizeof($temp) > 1){
+ $files = unserialize($temp[1]);
+ $iterator->rewind();
+ foreach ($iterator as $fileInfo) {
+ $file = $fileInfo->getFilename();
+ if(!in_array(strtolower(substr($file, -3)), $supported))$continue;
+ $imgsize = @getimagesize($galleryfolder.$file);
+ if($imgsize[0]){
+ $newcandidate = array($file, $imgsize[0], $imgsize[1]);
+ if(!in_array($newcandidate, $files))$files[] = $newcandidate;
+ }
+ }
+ reset($files);
+ } else {
+ $iterator->rewind();
+ foreach ($iterator as $fileInfo) {
+ $file = $fileInfo->getFilename();
+ if(!in_array(strtolower(substr($file, -3)), $supported))$continue;
+ $imgsize = @getimagesize($galleryfolder.$file);
+ if($imgsize[0]){
+ $files[] = array($file, $imgsize[0], $imgsize[1]);
+ }
+ }
+ switch($pic_order){
+ case 0:
+ usort($files, "cmp_1");
+ break;
+ case 1:
+ usort($files, "cmp_0");
+ break;
+ case 2:
+ usort($files, "cmp_3");
+ break;
+ case 3:
+ usort($files, "cmp_2");
+ break;
+ default:
+ usort($files, "cmp_1");
+ break;
+ }
+ reset($files);
+ }
+} else {
+ $files = unserialize($temp[1]);
+}
+
+$file = $files[$fileno][0];
+
+$x = $files[$fileno][1];
+$y = $files[$fileno][2];
+
+$xlimiter = 10000;
+$ylimiter = 10000;
+if(is_int($max_pic_width)){
+ $xlimiter = $max_pic_width;
+}
+if(is_int($max_pic_height)){
+ $ylimiter = $max_pic_height;
+}
+if($y > $ylimiter || $x > $xlimiter){
+ if(($x / $y) > 1){
+ $k = $y / $x;
+ $x = $xlimiter-2*$bord_size;
+ $y = $k*$x;
+ if($y > $ylimiter-2*$bord_size){
+ $y = $ylimiter-2*$bord_size;
+ $x = (1/$k) * $y;
+ }
+ } else {
+ $k = $x / $y;
+ $y = $ylimiter-2*$bord_size;
+ $x = $k*$y;
+ if($x > $xlimiter-2*$bord_size){
+ $x = $xlimiter-2*$bord_size;
+ $y = (1/$k) * $x;
+ }
+ }
+ $x = round($x);
+ $y = round($y);
+}
+
+$commfile = "../ki_galleries/".$gallery."/comments/".substr($file, 0, -4).".txt";
+$srcfile = $gallery."/".$file;
+
+if($x != $files[$fileno][1] || $y != $files[$fileno][2]){
+ $srcfile = "ki_makepic.php?fullimg=1&file=".$srcfile."&width=".$x."&height=".$y;
+} else {
+ $srcfile = "../ki_galleries/".$srcfile;
+}
+?>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="koschtit_version" content="KoschtIT Image Gallery v3.1b by Konstantin Tabere" />
+<?php
+$next = $fileno+1;
+if($next == count($files))$next = 0;
+if($ss == 1 && $slideshow == 1){
+?>
+<meta http-equiv="refresh" content="<?php echo $slideshow_time/1000 ?>; url=ki_nojsdisplayimage.php?fileno=<?php echo $next ?>&gallery=<?php echo $gallery ?>&site=<?php echo $site;if($explorer == 1)echo "&explorer=1"; ?>&ss=1">
+<?php
+}
+?>
+<title>KoschtIT Image Gallery: <?php echo $gallery ?></title>
+<style type="text/css">
+a.nav:hover img{
+ top:-2px;
+}
+</style>
+</head>
+<body style="background:<?php echo $fade_color ?>; padding:0px; margin:0px;">
+
+<?php
+if($show_image_nav == 1){
+ $temp = getimagesize("ki_nav_close.png");
+ if(count($files > 1))
+ $breite = ($temp[0]+4)*3;
+ else
+ $breite = ($temp[0]+4)*2;
+ if($downloadpics == 1)$breite += ($temp[0]+4);
+ if($slideshow == 1)$breite += ($temp[0]+4);
+?>
+<div style="position:<?php echo $posfix ?>; left:50%; top:-20px; background:<?php echo $nav_color ?>; <?php if($nav_style == 2){ ?>border-radius:20px; -moz-border-radius:20px; -webkit-border-radius:20px;<?php } ?> border:2px solid <?php echo $nav_border_color ?>; z-index:10000; padding:22px 3px 3px 3px; margin-left:-<?php echo 0.5*($breite+10) ?>px;">
+ <a class="nav" href="<?php echo ($explorer == 0) ? $site : "ki_nojs.php?gallery=".$gallery."&site=".$site."&explorer=1"; ?>" style="float:left;"><?php draw_image("ki_nav_close.png", "", "display:block; border:0px; margin:0px 2px 0px 2px; position:relative;", "title='".htmlentities(stripslashes($nav_kiv_close), ENT_QUOTES, "UTF-8")."'") ?></a>
+ <?php
+ if($slideshow == 1){
+ if($ss == 1){
+ $sstitle = $slideshow_stop;
+ $sspic = "ki_nav_stop";
+ $sshref = "?fileno=".$fileno."&gallery=".$gallery."&site=".$site;
+ } else {
+ $sstitle = $slideshow_start;
+ $sspic = "ki_nav_play";
+ $sshref = "?fileno=".$next."&gallery=".$gallery."&site=".$site."&ss=1";
+ }
+ if($explorer == 1)$sshref .= "&explorer=1";
+ ?>
+ <a class="nav" href="<?php echo $sshref ?>" style="float:left;"><?php draw_image($sspic.".png", "", "display:block; border:0px; margin:0px 2px 0px 2px; position:relative;", "title='".htmlentities(stripslashes($sstitle), ENT_QUOTES, "UTF-8")."'") ?></a>
+ <?php
+ }
+ ?>
+ <?php if($downloadpics == 1){ ?>
+ <a class="nav" href="ki_download.php?gallery=<?php echo $gallery ?>&file=<?php echo $file ?>" style="float:left;" target="_blank"><?php draw_image("ki_nav_download.png", "", "display:block; border:0px; margin:0px 2px 0px 2px; position:relative;", "title='".htmlentities(stripslashes($nav_kiv_download), ENT_QUOTES, "UTF-8")."'") ?></a>
+ <?php } ?>
+ <?php
+ $next = $fileno+1;
+ $prev = $fileno-1;
+ if(count($files) > 1){
+ if($next == count($files))$next = 0;
+ if($prev == -1)$prev = count($files)-1;
+ ?>
+ <a class="nav" href="?fileno=<?php echo $prev ?>&gallery=<?php echo $gallery ?>&site=<?php echo $site;if($explorer == 1)echo "&explorer=1"; ?>" style="float:left;"><?php draw_image("ki_nav_prev.png", "", "display:block; border:0px; margin:0px 2px 0px 2px; position:relative;", "title='".htmlentities(stripslashes($nav_kiv_back), ENT_QUOTES, "UTF-8")."'") ?></a>
+ <a class="nav" href="?fileno=<?php echo $next ?>&gallery=<?php echo $gallery ?>&site=<?php echo $site;if($explorer == 1)echo "&explorer=1"; ?>" style="float:left;"><?php draw_image("ki_nav_next.png", "", "display:block; border:0px; margin:0px 2px 0px 2px; position:relative;", "title='".htmlentities(stripslashes($nav_kiv_next), ENT_QUOTES, "UTF-8")."'") ?></a>
+ <?php
+ }
+ ?>
+</div>
+<?php
+}
+?>
+
+<div style="position:<?php echo $posfix ?>; left:50%; top:50%; margin-left:-<?php echo round($x*0.5+$bord_size) ?>px; margin-top:-<?php echo round($y*0.5+$bord_size) ?>px; width:<?php echo ($x+2*$bord_size) ?>px; height:<?php echo ($y+2*$bord_size) ?>px; background:<?php echo $bord_color ?>">
+<a href="?fileno=<?php echo $next ?>&gallery=<?php echo $gallery ?>&site=<?php echo $site;if($explorer == 1)echo "&explorer=1"; ?>" style="display:block; text-decoration:none;">
+<?php
+$addshadow = "";
+if(in_array($browser, array("ie9", "opera", "gecko", "webkit"))){
+$addshadow = "box-shadow:inset 0px 0px 10px #000; ";
+}
+echo "<img src='".$srcfile."' style='border:none; padding:".$bord_size."px;' /><div style='width:".$x."px; height:".$y."px; z-index:1000; ".$addshadow."position:absolute; top:0px; left:0px; border:".$bord_size."px solid ".$bord_color."'></div>";
+?>
+</a>
+<?php
+if(is_file($commfile)){
+ $comm = file_get_contents($commfile);
+} else {
+ $comm = "";
+}
+
+if($comm_auto == 1){
+ $comm = $comm_auto_string;
+ $comm = str_replace("%x", ($fileno+1), $comm);
+ $comm = str_replace("%X", count($files), $comm);
+ $comm = str_replace("%g", $gallery, $comm);
+ $comm = str_replace("%f", substr($file, 0, -4), $comm);
+}
+
+if($comments == 1){
+ if($comm != ""){
+ $pos = "left:0px;";
+ if($comm_text_align === "left"){
+ echo "<div style='position:absolute; left:0px; top:100%; background:".$bord_color."; padding:10px; overflow:hidden; font:".$comm_text_size."px ".$comm_text_font."; color:".$comm_text_color."; margin-top:5px; text-align:".$comm_text_align.";'>".utf8_encode_safe(stripslashes($comm))."</div>";
+ }elseif($comm_text_align === "right"){
+ echo "<div style='position:absolute; right:0px; top:100%; background:".$bord_color."; padding:10px; overflow:hidden; font:".$comm_text_size."px ".$comm_text_font."; color:".$comm_text_color."; margin-top:5px; text-align:".$comm_text_align.";'>".utf8_encode_safe(stripslashes($comm))."</div>";
+ }else{
+ echo "<div style='position:absolute; left:50%; top:100%;'><div style='position:relative; left:-50%; background:".$bord_color."; padding:10px; overflow:hidden; font:".$comm_text_size."px ".$comm_text_font."; color:".$comm_text_color."; margin-top:5px; text-align:".$comm_text_align.";'>".utf8_encode_safe(stripslashes($comm))."</div></div>";
+ }
+ }
+}
+?>
+</div>
+</body>
+</html> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_online_docu.jpg b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_online_docu.jpg
new file mode 100644
index 00000000..be39a2c6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_online_docu.jpg
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_preview.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_preview.php
new file mode 100644
index 00000000..6298e9dc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_preview.php
@@ -0,0 +1,240 @@
+<?php
+ob_start("ob_gzhandler");
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [7-9]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+$reldir = "";
+if(isset($_POST['reldir']))$reldir = $_POST['reldir'];
+$confdir = $reldir."ki_config/";
+$galleriesdir = $reldir."ki_galleries/";
+$basedir = $reldir."ki_base/";
+
+//----------------------------------------------------------------------------- functions --------------------------------------------------------------------------------
+
+if (!function_exists('file_put_contents')) {
+ function file_put_contents($filename, $data) {
+ $f = @fopen($filename, 'w');
+ if (!$f) {
+ return false;
+ } else {
+ $bytes = fwrite($f, $data);
+ fclose($f);
+ return $bytes;
+ }
+ }
+}
+
+if (!function_exists('file_get_contents')) {
+ function file_get_contents($filename) {
+ if ($handle = @fopen($filename, 'rb')) {
+ $data = fread($handle, filesize($filename));
+ fclose($fh);
+ return $data;
+ }
+ }
+}
+
+function cmp_0($a, $b)
+{
+ global $galleryfolder;
+ return (filemtime($galleryfolder.$a[0]) < filemtime($galleryfolder.$b[0])) ? -1 : 1;
+}
+
+function cmp_1($a, $b)
+{
+ global $galleryfolder;
+ return (filemtime($galleryfolder.$a[0]) > filemtime($galleryfolder.$b[0])) ? -1 : 1;
+}
+
+function cmp_2($a, $b)
+{
+ global $galleryfolder;
+
+ $exif = @exif_read_data($galleryfolder.$a[0]);
+ $date1 = "";
+ if (isset($exif['DateTimeOriginal']))
+ $date1 = $exif['DateTimeOriginal'];
+ if (empty($date1) && isset($exif['DateTime']))
+ $date1 = $exif['DateTime'];
+ if (!empty($date1)){
+ $date1 = explode(':', str_replace(' ',':', $date1));
+ $date1 = "{$date1[0]}-{$date1[1]}-{$date1[2]} {$date1[3]}:{$date1[4]}";
+ if(sizeof($date1) > 5)$date1 .= ":{$date1[5]}";
+ $date1 = strtotime($date1);
+ } else {
+ $date1 = filemtime($galleryfolder.$a[0]);
+ }
+ $exif = @exif_read_data($galleryfolder.$b[0]);
+ $date2 = "";
+ if (isset($exif['DateTimeOriginal']))
+ $date2 = $exif['DateTimeOriginal'];
+ if (empty($date2) && isset($exif['DateTime']))
+ $date2 = $exif['DateTime'];
+ if (!empty($date2)){
+ $date2 = explode(':', str_replace(' ',':', $date2));
+ $date2 = "{$date2[0]}-{$date2[1]}-{$date2[2]} {$date2[3]}:{$date2[4]}";
+ if(sizeof($date2) > 5)$date2 .= ":{$date1[5]}";
+ $date2 = strtotime($date2);
+ } else {
+ $date2 = filemtime($galleryfolder.$b[0]);
+ }
+
+ return $date1 > $date2 ? 1 : -1;
+}
+
+function cmp_3($a, $b)
+{
+ return strcmp($a[0], $b[0]);
+}
+
+//-------------------------------------------------------------------------- end functions --------------------------------------------------------------------------------
+
+
+if(isset($_POST['file']))
+ $file = rawurldecode($_POST['file']);
+else
+ exit;
+
+if(isset($_POST['gallery']))
+ $gallery = $_POST['gallery'];
+else
+ exit;
+
+if(isset($_POST['topic']))
+ $topic = $_POST['topic'];
+else
+ exit;
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $file))exit();
+if(preg_match("/[\.]*\//", $gallery))exit();
+if(!is_file("../ki_galleries/".$gallery."/".$file))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+include_once("../ki_config/ki_setup.php");
+if(is_file("../ki_config/".$gallery."_ki_setup.php"))include_once("../ki_config/".$gallery."_ki_setup.php");
+
+/*------------------- error/warning checking ------------------*/
+if($pic_order == 3){
+ if(!function_exists("exif_read_data")){
+ $pic_order = 2;
+ }
+}
+/*------------------- end error/warning checking ------------------*/
+
+$supported = array("jpg","png","gif");
+$galleryfolder = "../ki_galleries/".$gallery."/";
+if(!is_dir($galleryfolder))exit();
+
+$files = array();
+$temp = array();
+$savedfolderhash = 0;
+if(is_file($gallery."_dir")){
+ $temp = explode(PHP_EOL, file_get_contents($gallery."_dir"));
+ $savedfolderhash = unserialize($temp[0]);
+}
+//$folderhash = pic_order + MTime of $galleryfolder + fileSize of all files
+$folderhash = $pic_order;
+$iterator = new DirectoryIterator($galleryfolder);
+foreach ($iterator as $fileInfo) {
+ if($fileInfo->isDot()){
+ $folderhash += $fileInfo->getMTime();
+ continue;
+ } elseif($fileInfo->isFile()) {
+ $folderhash += $fileInfo->getSize();
+ }
+}
+if($folderhash != $savedfolderhash){
+ if($pic_order == 4 && sizeof($temp) > 1){
+ $files = unserialize($temp[1]);
+ $iterator->rewind();
+ foreach ($iterator as $fileInfo) {
+ $file = $fileInfo->getFilename();
+ if(!in_array(strtolower(substr($file, -3)), $supported))$continue;
+ $imgsize = @getimagesize($galleryfolder.$file);
+ if($imgsize[0]){
+ $newcandidate = array($file, $imgsize[0], $imgsize[1]);
+ if(!in_array($newcandidate, $files))$files[] = $newcandidate;
+ }
+ }
+ reset($files);
+ } else {
+ $iterator->rewind();
+ foreach ($iterator as $fileInfo) {
+ $tfile = $fileInfo->getFilename();
+ if(!in_array(strtolower(substr($tfile, -3)), $supported))$continue;
+ $imgsize = @getimagesize($galleryfolder.$tfile);
+ if($imgsize[0]){
+ $files[] = array($tfile, $imgsize[0], $imgsize[1]);
+ }
+ }
+ switch($pic_order){
+ case 0:
+ usort($files, "cmp_1");
+ break;
+ case 1:
+ usort($files, "cmp_0");
+ break;
+ case 2:
+ usort($files, "cmp_3");
+ break;
+ case 3:
+ usort($files, "cmp_2");
+ break;
+ default:
+ usort($files, "cmp_1");
+ break;
+ }
+ reset($files);
+ }
+} else {
+ $files = unserialize($temp[1]);
+}
+
+$id = -1;
+foreach ($files as $picfile) {
+ $id++;
+ if($picfile[0] == $file){
+ break;
+ }
+}
+
+$gesbreite = 0;
+
+if($topic == 1){
+ $id++;
+ for($i = 0; $i < $preview_pics; $i++){
+ if($id + $i >= count($files))break;
+ $srcfile = $basedir."ki_makepic.php?file=".$gallery."/".rawurlencode($files[$id+$i][0]);
+ $y = 100;
+ $x = floor($files[$id+$i][1]/$files[$id+$i][2]*100);
+ $gesbreite += $x + 4;
+ echo "<img src='".$srcfile."' style='float:left; display:block; margin:0px 2px 0px 2px; border:0px; padding:0px; cursor:pointer; visibility:hidden; width:".$x."px; height:".$y."px;' onclick=\"kiv.getImage(-1, ".($id+$i).")\" onload=\"this.style.visibility='visible'\" />";
+
+ }
+} else {
+ $id--;
+ for($i = 0; $i < $preview_pics; $i++){
+ if($id - $i < 0)break;
+ $srcfile = $basedir."ki_makepic.php?file=".$gallery."/".rawurlencode($files[$id-$i][0]);
+ $y = 100;
+ $x = floor($files[$id-$i][1]/$files[$id-$i][2]*100);
+ $gesbreite += $x + 4;
+ echo "<img src='".$srcfile."' style='float:right; display:block; margin:0px 2px 0px 2px; border:0px; padding:0px; cursor:pointer; visibility:hidden; width:".$x."px; height:".$y."px;' onclick=\"kiv.getImage(-1, ".($id-$i).")\" onload=\"this.style.visibility='visible'\" />";
+ }
+}
+
+echo "<input id='gesbreite' type='hidden' value='".($gesbreite)."' />";
+?>
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_savecomment.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_savecomment.php
new file mode 100644
index 00000000..365f6d5b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_savecomment.php
@@ -0,0 +1,65 @@
+<?php
+session_start();
+
+/* --------------------------------------------------------- functions ------------------------------------------------------ */
+
+if (!function_exists('file_put_contents')) {
+ function file_put_contents($filename, $data) {
+ $f = @fopen($filename, 'w');
+ if (!$f) {
+ return false;
+ } else {
+ $bytes = fwrite($f, $data);
+ fclose($f);
+ return $bytes;
+ }
+ }
+}
+
+/* ---------------------------------------------------------- end functions -------------------------------------------------- */
+
+include_once("../ki_config/ki_setup.php");
+
+if (get_magic_quotes_gpc()) {
+ function stripslashes_gpc(&$value)
+ {
+ $value = stripslashes($value);
+ }
+ array_walk_recursive($_GET, 'stripslashes_gpc');
+ array_walk_recursive($_POST, 'stripslashes_gpc');
+ array_walk_recursive($_COOKIE, 'stripslashes_gpc');
+ array_walk_recursive($_REQUEST, 'stripslashes_gpc');
+}
+
+if(isset($_POST['file']))
+ $file = rawurldecode($_POST['file']);
+else
+ exit;
+
+if(isset($_POST['gallery']))
+ $gallery = $_POST['gallery'];
+else
+ exit;
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $file))exit();
+if(preg_match("/[\.]*\//", $gallery))exit();
+if(!is_file("../ki_galleries/".$gallery."/".$file))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+if(isset($_POST['comment']))
+ $comment = addslashes(rawurldecode($_POST['comment']));
+else
+ $comment = "";
+
+$pwok = 0;
+if(isset($_SESSION['pwquery'])){
+ if($_SESSION['pwquery'] === $pw)$pwok = 1;
+}
+
+if($pwok == 1){
+ $commfile = "../ki_galleries/".$gallery."/comments/".substr($file, 0, -4).".txt";
+ file_put_contents($commfile, $comment);
+}
+?>
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_saveneworder.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_saveneworder.php
new file mode 100644
index 00000000..3aa7eaec
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_saveneworder.php
@@ -0,0 +1,129 @@
+<?php
+session_start();
+
+/* --------------------------------------------------------- functions ------------------------------------------------------ */
+
+if (!function_exists('file_put_contents')) {
+ function file_put_contents($filename, $data) {
+ $f = @fopen($filename, 'w');
+ if (!$f) {
+ return false;
+ } else {
+ $bytes = fwrite($f, $data);
+ fclose($f);
+ return $bytes;
+ }
+ }
+}
+
+if (!function_exists('file_get_contents')) {
+ function file_get_contents($filename) {
+ if ($handle = @fopen($filename, 'rb')) {
+ $data = fread($handle, filesize($filename));
+ fclose($fh);
+ return $data;
+ }
+ }
+}
+
+/* ---------------------------------------------------------- end functions -------------------------------------------------- */
+
+include_once("../ki_config/ki_setup.php");
+
+if(isset($_POST['gallery']))
+ $gallery = $_POST['gallery'];
+else
+ exit;
+
+if(isset($_POST['oldpos']))
+ $oldpos = intval($_POST['oldpos']);
+else
+ exit;
+
+if(isset($_POST['newpos']))
+ $newpos = intval($_POST['newpos']);
+else
+ exit;
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $gallery))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+$pwok = 0;
+if(isset($_SESSION['pwquery'])){
+ if($_SESSION['pwquery'] === $pw)$pwok = 1;
+}
+
+if($pwok == 1){
+
+ $files = array();
+ $temp = array();
+ $newfiles = array();
+ $savedfolderhash = 0;
+ if(is_file($gallery."_dir")){
+ $temp = explode(PHP_EOL, file_get_contents($gallery."_dir"));
+ $savedfolderhash = unserialize($temp[0]);
+ $files = unserialize($temp[1]);
+
+ if($oldpos > $newpos){
+ for($i = 0; $i < sizeof($files); $i++){
+ if($i < $newpos || $i > $oldpos){
+ $newfiles[] = $files[$i];
+ continue;
+ }
+ if($i == $newpos){
+ $newfiles[] = $files[$oldpos];
+ continue;
+ }
+ if($i <= $oldpos){
+ $newfiles[] = $files[$i-1];
+ continue;
+ }
+ }
+ } else {
+ for($i = 0; $i < sizeof($files); $i++){
+ if($i < $oldpos || $i > $newpos){
+ $newfiles[] = $files[$i];
+ continue;
+ }
+ if($i < $newpos){
+ $newfiles[] = $files[$i+1];
+ continue;
+ }
+ if($i == $newpos){
+ $newfiles[] = $files[$oldpos];
+ continue;
+ }
+ }
+ }
+
+ if(@file_put_contents($gallery."_dir", serialize($savedfolderhash).PHP_EOL.serialize($newfiles)) > 0){
+ $setupfile = "../ki_config/".$gallery."_ki_setup.php";
+ $params = "";
+ if(is_file($setupfile)){
+ $temp = explode(PHP_EOL, file_get_contents($setupfile));
+ $set = 0;
+ for($i = 1; $i < sizeof($temp) - 1; $i++){
+ if(strpos($temp[$i], "\$pic_order") !== FALSE){
+ $params .= "\$pic_order = 4;\r\n";
+ $set = 1;
+ } else {
+ $params .= $temp[$i]."\r\n";
+ }
+ }
+ if($set == 0){
+ $params .= "\$pic_order = 4;\r\n";
+ }
+ } else {
+ $params = "\$pic_order = 4;\r\n";
+ }
+ $params = "<?php\r\n".$params."?>";
+ if(@file_put_contents($setupfile, $params) > 0){
+ echo "ok";
+ }
+ }
+
+ }
+
+}
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_savesquarethumb.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_savesquarethumb.php
new file mode 100644
index 00000000..28f1993d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_savesquarethumb.php
@@ -0,0 +1,101 @@
+<?php
+session_start();
+
+//----------------------------------------------------------------------------- functions --------------------------------------------------------------------------------
+
+if (!function_exists('file_get_contents')) {
+ function file_get_contents($filename) {
+ if ($handle = @fopen($filename, 'rb')) {
+ $data = fread($handle, filesize($filename));
+ fclose($fh);
+ return $data;
+ }
+ }
+}
+
+if (!function_exists('file_put_contents')) {
+ function file_put_contents($filename, $data) {
+ $f = @fopen($filename, 'w');
+ if (!$f) {
+ return false;
+ } else {
+ $bytes = fwrite($f, $data);
+ fclose($f);
+ return $bytes;
+ }
+ }
+}
+
+//-------------------------------------------------------------------------- end functions --------------------------------------------------------------------------------
+
+include_once("../ki_config/ki_setup.php");
+
+if(isset($_POST['file']))
+ $file = rawurldecode($_POST['file']);
+else
+ exit();
+
+if(isset($_POST['pos']))
+ $pos = $_POST['pos'];
+else
+ exit();
+
+$gallery = substr($file, 0, strpos($file, "/"));
+$file = substr($file, strpos($file, "/")+1);
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $file))exit();
+if(preg_match("/[\.]*\//", $gallery))exit();
+if(!is_file("../ki_galleries/".$gallery."/".$file))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+$pwok = 0;
+if(isset($_SESSION['pwquery'])){
+ if($_SESSION['pwquery'] === $pw)$pwok = 1;
+}
+
+if($pwok == 1){
+ if(is_file("../ki_config/".$gallery."_ki_setup.php")){
+ include_once("../ki_config/".$gallery."_ki_setup.php");
+ $configfile = "../ki_config/".$gallery."_ki_setup.php";
+ } else {
+ $configfile = "../ki_config/ki_setup.php";
+ }
+
+ /*------------------- change config settings ------------------*/
+ $savefile = $gallery."_lastmodified";
+ $writestring = "<?php\r\n\$lm_saved = \"1\";\r\n";
+ $writestring .= "\$lm_lastmodified = \"1\";\r\n?>";
+ @file_put_contents($savefile, $writestring);
+ $oldcontent = file_get_contents($configfile);
+ if(substr($oldcontent, -1) === "\n"){
+ $oldcontent = substr($oldcontent, 0, -1);
+ } else {
+ $oldcontent .= "\n";
+ }
+ @file_put_contents($configfile, $oldcontent);
+ /*------------------- end change config settings ------------------*/
+
+ $picname = $gallery."_".$file;
+ if(!is_file("custom")){
+ @file_put_contents("custom", $picname."=".$pos);
+ } else {
+ $content = @file_get_contents("custom");
+ $pictures = explode("|", $content);
+ $newcontent = "";
+ $found = 0;
+ for($i = 0; $i < count($pictures); $i++){
+ if(strpos($pictures[$i], $picname) !== FALSE){
+ $pictures[$i] = $picname."=".$pos;
+ $found = 1;
+ }
+ $newcontent .= $pictures[$i]."|";
+ }
+ if($found == 0){
+ $newcontent .= $picname."=".$pos."|";
+ }
+ $newcontent = substr($newcontent, 0, -1);
+ @file_put_contents("custom", $newcontent);
+ }
+}
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_shade.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_shade.php
new file mode 100644
index 00000000..ff203826
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_shade.php
@@ -0,0 +1,41 @@
+<?php
+include("../ki_config/ki_setup.php");
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [7-9]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+header("Content-type: image/png"); //Picture Format
+header("Expires: Mon, 01 Jul 2003 00:00:00 GMT"); // Past date
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Consitnuously modified
+header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
+header("Pragma: no-cache"); // NO CACHE
+
+if($browser === "ie6"){
+ $bild = imagecreatetruecolor(1, 1);
+} else {
+ $bild = imagecreate(2880, 1800);
+}
+imagealphablending($bild, false);
+imagesavealpha($bild, true);
+$r = hexdec(substr($fade_color, 1, 2));
+$g = hexdec(substr($fade_color, 3, 2));
+$b = hexdec(substr($fade_color, 5, 2));
+$farbe = imagecolorallocatealpha($bild, $r, $g, $b, ((10-$fade_alpha)/10)*127);
+if($browser === "ie6"){
+ ImageFilledRectangle($bild,0,0,1,1,$farbe);
+} else {
+ ImageFilledRectangle($bild,0,0,2880,1800,$farbe);
+}
+imagepng($bild);
+imagedestroy($bild);
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_upload.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_upload.php
new file mode 100644
index 00000000..afd72d8b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_upload.php
@@ -0,0 +1,243 @@
+<?php
+session_start();
+
+include_once("../ki_config/ki_setup.php");
+
+$pwok = 0;
+if(isset($_SESSION['pwquery'])){
+ if($_SESSION['pwquery'] === $pw || $_SESSION['pwquery'] === $userpw)$pwok = 1;
+}
+
+if($pwok == 1){
+ $supported = array("jpg","png","gif", "jpeg");
+
+ if(is_uploaded_file($_FILES['pic']['tmp_name'])){
+
+ $thefile = $_FILES['pic'];
+
+ if(isset($_POST['watermark'])){
+ $target_name = "../ki_base/ki_watermark.pic";
+ $temp = explode('.', strtolower($thefile['name']));
+ if(in_array($temp[1], $supported)){
+ if(move_uploaded_file($thefile['tmp_name'], $target_name)){
+?>
+<script>
+parent.kiu.uploadedWatermark();
+</script>
+<?php
+ }
+ }
+ } else {
+
+ if(!isset($_POST['dir']))
+ exit();
+ else
+ $dir = $_POST['dir'];
+
+ if(!isset($_POST['addwatermark']))
+ exit();
+ else
+ $addwatermak = intval($_POST['addwatermark']);
+
+ // -------------- Sicherheitsabfragen!
+ if(preg_match("/[\.]*\//", $dir))exit();
+ // ---------- Ende Sicherheitsabfragen!
+
+ if(is_file("../ki_config/".$dir."_ki_setup.php"))include_once("../ki_config/".$dir."_ki_setup.php");
+
+ $target_path = "../ki_galleries/".$dir."/";
+ $temp = explode('.', strtolower($thefile['name']));
+ if(in_array($temp[1], $supported)){
+ if($temp[1] === "jpeg")$temp[1] = "jpg";
+ $target_name = $target_path.$temp[0].".".$temp[1]; // Endgltige Pfad+Name
+ if(move_uploaded_file($thefile['tmp_name'], $target_name)){
+
+ // Load the image where the logo will be embeded into
+ switch($temp[1]){
+ case "jpg":
+ $image = imagecreatefromjpeg($target_name);
+ break;
+ case "png":
+ $image = imagecreatefrompng($target_name);
+ break;
+ case "gif":
+ $image = imagecreatefromgif($target_name);
+ break;
+ }
+ imagealphablending($image, true);
+ imagesavealpha($image, true);
+
+ // Get dimensions
+ $imageWidth = imagesx($image);
+ $imageHeight = imagesy($image);
+ $imageWidth_o = $imageWidth;
+ $imageHeight_o = $imageHeight;
+
+ if($addwatermak == 1){
+ if(is_file("../ki_base/ki_watermark.pic")){
+ // Load the logo image
+ $logoImage = imagecreatefrompng("../ki_base/ki_watermark.pic");
+ if(!$logoImage){
+ $logoImage = imagecreatefromjpeg("../ki_base/ki_watermark.pic");
+ }
+ if(!$logoImage){
+ $logoImage = imagecreatefromgif("../ki_base/ki_watermark.pic");
+ }
+ if(!$logoImage){
+ exit();
+ }
+ imagealphablending($logoImage, true);
+ imagesavealpha($logoImage, true);
+
+ $logoWidth = imagesx($logoImage);
+ $logoHeight = imagesy($logoImage);
+ $logoWidth_o = $logoWidth;
+ $logoHeight_o = $logoHeight;
+
+ if($watermark_size > 0){
+ $logoAspect = $logoWidth / $logoHeight;
+
+ if($imageWidth > $imageHeight){
+ $wide = 1;
+ } else {
+ $wide = 0;
+ }
+
+ if($logoWidth > $logoHeight){
+ $logoWide = 1;
+ } else {
+ $logoWide = 0;
+ }
+
+ if($wide == 1){
+ if($logoWide == 1){
+ $logoWidth = round($watermark_size * $imageWidth);
+ $logoHeight = round((1/$logoAspect) * $logoWidth);
+ if($logoHeight > $imageHeight){
+ $logoHeight = round($watermark_size * $imageHeight);
+ $logoWidth = round($logoAspect * $logoHeight);
+ }
+ } else {
+ $logoHeight = round($watermark_size * $imageHeight);
+ $logoWidth = round($logoAspect * $logoHeight);
+ }
+ } else {
+ if($logoWide == 0){
+ $logoHeight = round($watermark_size * $imageHeight);
+ $logoWidth = round($logoAspect * $logoHeight);
+ if($logoWidth > $imageWidth){
+ $logoWidth = round($watermark_size * $imageWidth);
+ $logoHeight = round((1/$logoAspect) * $logoWidth);
+ } else {
+ $logoWidth = round($watermark_size * $imageWidth);
+ $logoHeight = round((1/$logoAspect) * $logoWidth);
+ }
+ }
+ }
+ }
+
+ switch($watermark_vert){
+ case "top":
+ $starty = 0;
+ break;
+ case "middle";
+ $starty = round(($imageHeight - $logoHeight)*0.5);
+ break;
+ case "bottom":
+ $starty = $imageHeight-$logoHeight;
+ break;
+ }
+ switch($watermark_hori){
+ case "left":
+ $startx = 0;
+ break;
+ case "center";
+ $startx = round(($imageWidth - $logoWidth)*0.5);
+ break;
+ case "right":
+ $startx = $imageWidth-$logoWidth;
+ break;
+ }
+
+ // Paste the logo
+ imagecopyresampled($image, $logoImage, $startx, $starty, 0, 0, $logoWidth, $logoHeight, $logoWidth_o, $logoHeight_o);
+
+ imageDestroy($logoImage);
+ }
+ }
+
+ $maxx = 10000;
+ $maxy = 10000;
+ if(isset($_POST['maxx'])){
+ if(intval($_POST['maxx']) > 0)$maxx = intval($_POST['maxx']);
+ }
+ if(isset($_POST['maxy'])){
+ if(intval($_POST['maxy']) > 0)$maxy = intval($_POST['maxy']);
+ }
+
+ $aspect = $imageWidth / $imageHeight;
+
+ if($aspect > 1){
+ if($imageWidth > $maxx){
+ $imageWidth = $maxx;
+ $imageHeight = round((1/$aspect) * $imageWidth);
+ }
+ if($imageHeight > $maxy){
+ $imageHeight = $maxy;
+ $imageWidth = round($aspect * $imageHeight);
+ }
+ } else {
+ if($imageHeight > $maxy){
+ $imageHeight = $maxy;
+ $imageWidth = round($aspect * $imageHeight);
+ }
+ if($imageWidth > $maxx){
+ $imageWidth = $maxx;
+ $imageHeight = round((1/$aspect) * $imageWidth);
+ }
+ }
+
+ if($imageWidth_o != $imageWidth || $imageHeight_o != $imageHeight){
+ $bild = imagecreatetruecolor($imageWidth, $imageHeight);
+ imagealphablending($bild, false);
+ imagesavealpha($bild, true);
+ imagecopyresampled($bild, $image, 0, 0, 0, 0, $imageWidth, $imageHeight, $imageWidth_o, $imageHeight_o);
+ switch($temp[1]){
+ case "jpg":
+ imagejpeg($bild, $target_name, 80);
+ break;
+ case "png":
+ imagepng($bild, $target_name);
+ break;
+ case "gif":
+ imagegif($bild, $target_name);
+ break;
+ }
+ imageDestroy($bild);
+ } else {
+ if($addwatermak == 1){
+ // Save image
+ switch($temp[1]){
+ case "jpg":
+ imagejpeg($image, $target_name, 80);
+ break;
+ case "png":
+ imagepng($image, $target_name);
+ break;
+ case "gif":
+ imagegif($image, $target_name);
+ break;
+ }
+ }
+ }
+
+ // Release memory
+ imageDestroy($image);
+
+ echo "done";
+ }
+ }
+ }
+ }
+}
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_vcomm.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_vcomm.php
new file mode 100644
index 00000000..78b73cc0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/ki_vcomm.php
@@ -0,0 +1,221 @@
+<?php
+session_start();
+
+/* --------------------------------------------------------- functions ------------------------------------------------------ */
+
+if (!function_exists('file_get_contents')) {
+ function file_get_contents($filename) {
+ if ($handle = @fopen($filename, 'rb')) {
+ $data = fread($handle, filesize($filename));
+ fclose($fh);
+ return $data;
+ }
+ }
+}
+
+
+if (!function_exists('file_put_contents')) {
+ function file_put_contents($filename, $data) {
+ $f = @fopen($filename, 'w');
+ if (!$f) {
+ return false;
+ } else {
+ $bytes = fwrite($f, $data);
+ fclose($f);
+ return $bytes;
+ }
+ }
+}
+
+function sendAmail($to, $betreff, $content){
+
+ $content = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">
+<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>".$betreff."</title></head><body><div style=\"font:13px Arial,Verdana,sans-serif;\">".nl2br($content)."</div></body></html>";
+
+ $header = "MIME-Version: 1.0\n";
+ $header .= "Content-type: text/html; charset=UTF-8\n";
+ $header .= "Content-Transfer-Encoding: 8bit\n";
+ $header .= "From: ".$admin_mail_from."\n";
+ //$header .= "Reply-To: ".$admin_mail_from."\n";
+
+ // verschicke die E-Mail
+ @ini_set(sendmail_from, $admin_mail_from);
+ @mail($to, $betreff, $content, $header);
+ @ini_restore(sendmail_from);
+}
+
+
+
+/* ---------------------------------------------------------- end functions -------------------------------------------------- */
+
+if (get_magic_quotes_gpc()) {
+ function stripslashes_gpc(&$value)
+ {
+ $value = stripslashes($value);
+ }
+ array_walk_recursive($_GET, 'stripslashes_gpc');
+ array_walk_recursive($_POST, 'stripslashes_gpc');
+ array_walk_recursive($_COOKIE, 'stripslashes_gpc');
+ array_walk_recursive($_REQUEST, 'stripslashes_gpc');
+}
+
+if(isset($_POST['file']))
+ $file = rawurldecode($_POST['file']);
+else
+ exit;
+
+if(isset($_POST['gallery']))
+ $gallery = $_POST['gallery'];
+else
+ exit;
+
+// -------------- Sicherheitsabfragen!
+if(preg_match("/[\.]*\//", $file))exit();
+if(preg_match("/[\.]*\//", $gallery))exit();
+if(!is_file("../ki_galleries/".$gallery."/".$file))exit();
+// ---------- Ende Sicherheitsabfragen!
+
+include_once("../ki_config/ki_setup.php");
+if(is_file("../ki_config/".$gallery."_ki_setup.php"))include_once("../ki_config/".$gallery."_ki_setup.php");
+
+$pwok = 0;
+if(isset($_SESSION['pwquery'])){
+ if($_SESSION['pwquery'] === $pw)$pwok = 1;
+}
+
+$commfile = "../ki_galleries/".$gallery."/viewercomments/".substr($file, 0, -4).".txt";
+
+if(!isset($_POST['get'])){
+
+ if(isset($_POST['email']))
+ $name = addslashes(htmlentities(rawurldecode($_POST['email']), ENT_QUOTES, "UTF-8"));
+ else
+ exit;
+
+ if(isset($_POST['assystem']))
+ $comment = addslashes(htmlentities(rawurldecode($_POST['assystem']), ENT_QUOTES, "UTF-8"));
+ else
+ exit;
+
+ if(isset($_POST['address']))
+ $address = rawurldecode($_POST['address']);
+ else
+ exit;
+
+ if (!ini_get('date.timezone') && function_exists("date_default_timezone_set"))date_default_timezone_set('Europe/Berlin');
+
+ if( stripos($name, "@") !== false ){
+ echo "2";
+ exit();
+ }
+
+ $ip = $_SERVER["REMOTE_ADDR"];
+ $date = date("m/d/Y");
+ $time = date('H').":".date('i');
+
+ $moderate = "";
+ if($moderate_posts == 1)$moderate = "._.1";
+ $post = $name."._.".$date."._.".$time."._.".$ip.$moderate."\r\n".$comment."\r\n:_:\r\n";
+
+ $oldcomments = "";
+ if(is_file($commfile)){
+ $oldcomments = file_get_contents($commfile);
+ $handle = @fopen($commfile, "r");
+ if($handle) {
+ $lastcomment = fgets($handle);
+ $data = explode("._.", $lastcomment, 4);
+ $lastip = rtrim($data[3]);
+ $lastdate = $data[1];
+ $lasttime = substr($data[2], 0, 2)*60+substr($data[2], 3, 2);
+ $newtime = substr($time, 0, 2)*60+substr($time, 3, 2);
+ if($lastip === $ip && $lastdate === $date){
+ if($newtime - $lasttime < 3){
+ echo "1";
+ exit();
+ }
+ }
+ }
+ fclose($handle);
+ }
+ file_put_contents($commfile, $post);
+ if($oldcomments !== ""){
+ file_put_contents($commfile, $oldcomments, FILE_APPEND);
+ }
+
+ if($admin_mail != 0){
+ $s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
+ $address = "http".$s."://".$address;
+ $message = stripslashes($comment);
+
+ $betreff = "New comment on picture (".$_SERVER['HTTP_HOST'].")";
+ if($moderate_posts == 1){
+ $content = "A new comment has been made for one of your images. Visit '<a href='".$address."'>".$address."</a>' and flip the picture to read all comments for this image.\nThis is the last comment:\n\n\"".$message."\"\n\nThis comment is moderated and is not readable in public yet. You have the option publish this comment when you login as admin.\n\n\n<small>E-Mail generated by KoschtIT Image Gallery.\n<a href='http://koschtit.tabere.net/en/'>http://koschtit.tabere.net/en/</a></small>";
+ } else {
+ $content = "A new comment has been made for one of your images. Visit '<a href='".$address."'>".$address."</a>' and flip the picture to read all comments for this image.\nThis is the last comment:\n\n\"".$message."\"\n\n\n<small>E-Mail generated by KoschtIT Image Gallery.\n<a href='http://koschtit.tabere.net/en/'>http://koschtit.tabere.net/en/</a></small>";
+ }
+ sendAmail($admin_mail_to, $betreff, $content);
+ }
+}
+
+if(isset($_POST['counter']) || isset($_POST['publish'])){
+ $newfile = "";
+}
+$counter = 0;
+$handle = @fopen($commfile, "r");
+if($handle) {
+ while(!feof($handle)){
+ $head = fgets($handle);
+ $headdata = explode("._.", $head);
+ $comment = "";
+ while($acommentline = fgets($handle)){
+ if($acommentline === ":_:\r\n")break;
+ $comment .= $acommentline;
+ }
+ if(sizeof($headdata) == 4 || ($pwok == 1 && sizeof($headdata) == 5)){
+ $buttons = "";
+ if($pwok == 1){
+ if(isset($_POST['publish'])){
+ if($counter == $_POST['publish']){
+ array_pop($headdata);
+ $newfile .= $headdata[0]."._.".$headdata[1]."._.".$headdata[2]."._.".$headdata[3]."\r\n".$comment.":_:\r\n";
+ } else {
+ $newfile .= $head.$comment.":_:\r\n";
+ }
+ }
+ $buttons = "<input type='button' value='Delete' style='float:right; margin:0px; padding:0px; cursor:pointer; border:1px solid #000; height:26px; width:100px; background:#bd8b8b; color:#fff;' onclick='kiv.deleteVComm(".$counter.")' />";
+ if($moderate_posts == 1 && sizeof($headdata) == 5)$buttons .= "<input type='button' value='Publish' style='float:right; margin:0px; padding:0px; margin-right:10px; cursor:pointer; border:1px solid #000; height:26px; width:100px; background:#658342; color:#fff;' onclick='kiv.publishVComm(".$counter.")' />";
+ }
+ $skip = 0;
+ if(isset($_POST['counter'])){
+ if($_POST['counter'] != $counter){
+ $newfile .= $head.$comment.":_:\r\n";
+ } else {
+ $skip = 1;
+ }
+ }
+ if($skip == 0){
+?>
+<div style='margin:0px 0px 5px 0px; padding:4px; text-align:left; <?php if($counter != 0)echo "margin-top:10px;" ?>'><?php echo nl2br(stripslashes($comment)) ?></div><div style='font-size:10px; text-align:left; padding:0px 0px 10px 0px;'>&raquo; <span style='padding-left:0px; margin-bottom:10px; color:<?php echo $vcomm_timedate_color ?>;'><?php echo $headdata[1] ?> <?php echo $headdata[2] ?> </span><?php echo $buttons.stripslashes($headdata[0]) ?></div>
+<?php
+ }
+ $counter++;
+ }
+ }
+ fclose($handle);
+} else {
+ echo "<p style='margin-top:20px; text-align:center; font-weight:bold;'>".$vcomm_ncy."</p>";
+}
+if(isset($_POST['counter']) || isset($_POST['publish'])){
+ if($pwok == 1){
+ if(strlen($newfile) > 2){
+ file_put_contents($commfile, $newfile);
+ } else {
+ @unlink($commfile);
+ echo "<p style='margin-top:20px; text-align:center; font-weight:bold;'".$vcomm_ncy."</p>";
+ }
+ }
+}
+?>
+
+
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/kos-epulet_dir b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/kos-epulet_dir
new file mode 100644
index 00000000..18896e28
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/kos-epulet_dir
@@ -0,0 +1,2 @@
+i:2707615525;
+a:16:{i:0;a:3:{i:0;s:20:"iskolahomlokzat1.jpg";i:1;i:1865;i:2;i:2592;}i:1;a:3:{i:0;s:22:"iskolahomlokzat1-k.jpg";i:1;i:187;i:2;i:260;}i:2;a:3:{i:0;s:9:"terem.jpg";i:1;i:2189;i:2;i:1406;}i:3;a:3:{i:0;s:11:"terem-k.jpg";i:1;i:219;i:2;i:141;}i:4;a:3:{i:0;s:12:"folyoso3.jpg";i:1;i:1894;i:2;i:1398;}i:5;a:3:{i:0;s:14:"folyoso3-k.jpg";i:1;i:189;i:2;i:140;}i:6;a:3:{i:0;s:14:"konyvtar-k.jpg";i:1;i:170;i:2;i:165;}i:7;a:3:{i:0;s:12:"konyvtar.jpg";i:1;i:1704;i:2;i:1649;}i:8;a:3:{i:0;s:12:"folyoso2.jpg";i:1;i:1519;i:2;i:1719;}i:9;a:3:{i:0;s:15:"hatsolepcso.jpg";i:1;i:1209;i:2;i:1986;}i:10;a:3:{i:0;s:17:"hatsolepcso-k.jpg";i:1;i:121;i:2;i:199;}i:11;a:3:{i:0;s:14:"folyoso2-k.jpg";i:1;i:152;i:2;i:172;}i:12;a:3:{i:0;s:14:"folyoso1-k.jpg";i:1;i:124;i:2;i:176;}i:13;a:3:{i:0;s:12:"folyoso1.jpg";i:1;i:1240;i:2;i:1757;}i:14;a:3:{i:0;s:16:"elsolepcso-k.jpg";i:1;i:158;i:2;i:190;}i:15;a:3:{i:0;s:14:"elsolepcso.jpg";i:1;i:1588;i:2;i:1909;}} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/kos-epulet_lastmodified b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/kos-epulet_lastmodified
new file mode 100644
index 00000000..eb79d55a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/kos-epulet_lastmodified
@@ -0,0 +1,4 @@
+<?php
+$lm_saved = "948300147210912451.21middlecenter10";
+$lm_lastmodified = 1351903878;
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/mayor logo_dir b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/mayor logo_dir
new file mode 100644
index 00000000..5975e58f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/mayor logo_dir
@@ -0,0 +1,2 @@
+i:2703855617;
+a:3:{i:0;a:3:{i:0;s:19:"mayor-vasarely4.png";i:1;i:400;i:2;i:400;}i:1;a:3:{i:0;s:7:"ml1.png";i:1;i:295;i:2;i:196;}i:2;a:3:{i:0;s:13:"mm-bw-pro.png";i:1;i:500;i:2;i:253;}} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/mayor logo_lastmodified b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/mayor logo_lastmodified
new file mode 100644
index 00000000..61d1a8d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_base/mayor logo_lastmodified
@@ -0,0 +1,4 @@
+<?php
+$lm_saved = "9483001472109124510middlecenter10";
+$lm_lastmodified = 1351902692;
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_config/ki_setup.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_config/ki_setup.php
new file mode 100644
index 00000000..da86d1bf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_config/ki_setup.php
@@ -0,0 +1,96 @@
+<?php
+$fr_width = 640;
+$fr_height = 300;
+$fr_color = "#666666";
+$thumbs = 14;
+$th_per_line = 7;
+$th_lines = "auto";
+$th_width = "auto";
+$th_height = "auto";
+$th_bord_size = 5;
+$th_bord_color = "#ffffff";
+$th_bord_hover_color = "#bbbbbb";
+$th_bord_hover_increase = 1.2;
+$th_shadow = 1;
+$th_to_square = 1;
+$th_2sq_crop_hori = "center";
+$th_2sq_crop_vert = "middle";
+$thumbs_to_disk = 1;
+$pic_order = 3;
+$resize_auto = 1;
+$bord_size = 10;
+$bord_color = "#ffffff";
+$max_pic_width = "none";
+$max_pic_height = 0.75;
+$oversize_allowed = 0;
+$comments = 1;
+$comm_text_size = 12;
+$comm_text_color = "#000000";
+$comm_text_font = "Tahoma, sans-serif";
+$comm_text_align = "left";
+$comm_auto = 0;
+$comm_auto_string = "Picture %x of %X Filename: %f, Gallery: %g";
+$viewercomments = 1;
+$moderate_posts = 0;
+$vcomm_header_color = "#000000";
+$vcomm_box_color = "#000000";
+$vcomm_text_color = "#000000";
+$vcomm_timedate_color = "#888888";
+$vcomm_back_color = "none";
+$vcomm_bord_color = "#888888";
+$vcomm_horline_color = "#888888";
+$slideshow = 1;
+$downloadpics = 1;
+$checkgps = 1;
+$cellinfo = 0;
+$show_nav = 1;
+$nav_always = 0;
+$nav_pos = "right";
+$nav_color = "#ffffff";
+$nav_border_color = "#000000";
+$nav_style = 1;
+$show_image_nav = 1;
+$image_nav_always = 0;
+$show_share = 1;
+$show_help = 1;
+$help_pos = "left";
+$show_preview = 1;
+$preview_style = 1;
+$preview_pics = 6;
+$show_explorer = 1;
+$explorer_padding = 50;
+$watermark_hori = "right";
+$watermark_vert = "bottom";
+$watermark_size = 0;
+$fade_color = "#000000";
+$fade_alpha = 8;
+$shade_while_loading = 0;
+$disable_animation = 0;
+$slideshow_time = 4000;
+$nav_next = "Next page";
+$nav_back = "Previous page";
+$nav_maxi = "Maximize gallery";
+$nav_kiv_next = "Next picture";
+$nav_kiv_back = "Previous picture";
+$nav_kiv_close = "Close";
+$nav_gps_coord = "Show location on map";
+$nav_kiv_vcomm = "Add/See viewer comments";
+$nav_kiv_download = "Download full resolution picture";
+$slideshow_start = "Start slideshow";
+$slideshow_stop = "Stop slideshow";
+$help_text = "Move your mouse [mouse] beyond the sides of the image to see what image comes next/was last in the gallery. If you move your mouse even further to the border of the window you can see the next/last couple of images. Move your mouse up to the top to view navigation controls and move it down to see a link address of the picture displayed.";
+$vcomm_lac = "Leave a comment";
+$vcomm_name = "Name";
+$vcomm_comm = "Comment";
+$vcomm_post = "Post comment";
+$vcomm_clk = "Click on the image to flip back to the full image.";
+$vcomm_ncy = "No comments yet.";
+$admin_mail = 0;
+$admin_mail_from = "support@vmg.sulinet.hu";
+$admin_mail_to = $admin_mail_from;
+$show_warnings = 0;
+$user = "user22";
+$userpw = "5f4dcc3b5aa765d61d8327deb882cf99";
+$admin = "admin22";
+$pw = "5f4dcc3b5aa765d61d8327deb882cf99";
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_config/kos-epulet_ki_setup.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_config/kos-epulet_ki_setup.php
new file mode 100644
index 00000000..a92dea52
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_config/kos-epulet_ki_setup.php
@@ -0,0 +1,96 @@
+<?php
+$fr_width = 948;
+$fr_height = 300;
+$fr_color = "#66f";
+$thumbs = 8;
+$th_per_line = 4;
+$th_lines = "auto";
+$th_width = "auto";
+$th_height = "auto";
+$th_bord_size = 5;
+$th_bord_color = "#ffffff";
+$th_bord_hover_color = "#bbbbbb";
+$th_bord_hover_increase = 1.2;
+$th_shadow = 1;
+$th_to_square = 1;
+$th_2sq_crop_hori = "center";
+$th_2sq_crop_vert = "middle";
+$thumbs_to_disk = 1;
+$pic_order = 3;
+$resize_auto = 1;
+$bord_size = 10;
+$bord_color = "#ffffff";
+$max_pic_width = "none";
+$max_pic_height = 0.75;
+$oversize_allowed = 0;
+$comments = 1;
+$comm_text_size = 12;
+$comm_text_color = "#000000";
+$comm_text_font = "Tahoma, sans-serif";
+$comm_text_align = "left";
+$comm_auto = 0;
+$comm_auto_string = "KoschtIT Image Gallery - Picture %x of %X Filename: %f, Gallery: %g";
+$viewercomments = 1;
+$moderate_posts = 0;
+$vcomm_header_color = "#000000";
+$vcomm_box_color = "#000000";
+$vcomm_text_color = "#000000";
+$vcomm_timedate_color = "#888888";
+$vcomm_back_color = "none";
+$vcomm_bord_color = "#888888";
+$vcomm_horline_color = "#888888";
+$slideshow = 1;
+$downloadpics = 1;
+$checkgps = 1;
+$cellinfo = 0;
+$show_nav = 1;
+$nav_always = 0;
+$nav_pos = "right";
+$nav_color = "#ffffff";
+$nav_border_color = "#000000";
+$nav_style = 1;
+$show_image_nav = 1;
+$image_nav_always = 0;
+$show_share = 1;
+$show_help = 1;
+$help_pos = "left";
+$show_preview = 1;
+$preview_style = 1;
+$preview_pics = 6;
+$show_explorer = 1;
+$explorer_padding = 50;
+$watermark_hori = "right";
+$watermark_vert = "bottom";
+$watermark_size = 0;
+$fade_color = "#000000";
+$fade_alpha = 8;
+$shade_while_loading = 0;
+$disable_animation = 0;
+$slideshow_time = 4000;
+$nav_next = "Next page";
+$nav_back = "Previous page";
+$nav_maxi = "Maximize gallery";
+$nav_kiv_next = "Next picture";
+$nav_kiv_back = "Previous picture";
+$nav_kiv_close = "Close";
+$nav_gps_coord = "Show location on map";
+$nav_kiv_vcomm = "Add/See viewer comments";
+$nav_kiv_download = "Download full resolution picture";
+$slideshow_start = "Start slideshow";
+$slideshow_stop = "Stop slideshow";
+$help_text = "Move your mouse [mouse] beyond the sides of the image to see what image comes next/was last in the gallery. If you move your mouse even further to the border of the window you can see the next/last couple of images. Move your mouse up to the top to view navigation controls and move it down to see a link address of the picture displayed.";
+$vcomm_lac = "Leave a comment";
+$vcomm_name = "Name";
+$vcomm_comm = "Comment";
+$vcomm_post = "Post comment";
+$vcomm_clk = "Click on the image to flip back to the full image.";
+$vcomm_ncy = "No comments yet.";
+$admin_mail = 0;
+$admin_mail_from = "admin@localhost";
+$admin_mail_to = "admin@localhost";
+$show_warnings = 0;
+$user = "user";
+$userpw = "5f4dcc3b5aa765d61d8327deb882cf99";
+$admin = "admin";
+$pw = "5f4dcc3b5aa765d61d8327deb882cf99";
+?>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_include.php b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_include.php
new file mode 100644
index 00000000..db30e454
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/ki_include.php
@@ -0,0 +1,306 @@
+<?php
+$reldir = $_SERVER['PHP_SELF'];
+$basedir = $_SERVER['SCRIPT_FILENAME'];
+$confdir = __FILE__;
+
+$reldir = explode("/", dirname(trim(str_replace("\\", "/", $reldir), "/")));
+$basedir = explode("/", dirname(trim(str_replace("\\", "/", $basedir), "/")));
+$confdir = explode("/", dirname(trim(str_replace("\\", "/", $confdir), "/")));
+
+$reldirsize = count($reldir);
+$basedirsize = count($basedir);
+$confdirsize = count($confdir);
+
+$foundat = -1;
+$reldir = "";
+
+for($i = $basedirsize - 1; $i >= $basedirsize - $reldirsize - 1 && $i >= 0; $i--){
+ for($j = $confdirsize - 1; $j >= 0; $j--){
+ if($basedir[$i] === $confdir[$j]){
+ $foundat = $j;
+ break;
+ }
+ }
+ if($foundat != -1)
+ break;
+ else
+ $reldir .= "../";
+}
+
+if($foundat != -1){
+ for($i = $foundat + 1; $i < $confdirsize; $i++){
+ $reldir .= $confdir[$i]."/";
+ }
+} else {
+
+// Enter the relative path here, if the script asks you to. Example: $reldir = "../script/";
+$reldir = "";
+// ----------------------------------------------------------------------------------------
+
+}
+
+if (!function_exists('file_put_contents')) {
+ function file_put_contents($filename, $data) {
+ $f = @fopen($filename, 'w');
+ if (!$f) {
+ return false;
+ } else {
+ $bytes = fwrite($f, $data);
+ fclose($f);
+ return $bytes;
+ }
+ }
+}
+
+$browser = $_SERVER['HTTP_USER_AGENT'];
+
+if(preg_match("/Opera/",$browser))
+ $browser = "opera";
+elseif(preg_match("/MSIE [9]/",$browser))
+ $browser = "ie9";
+elseif(preg_match("/MSIE [7-8]/",$browser))
+ $browser = "ie7";
+elseif(preg_match("/MSIE [1-6]/",$browser))
+ $browser = "ie6";
+elseif(preg_match("/AppleWebKit/",$browser))
+ $browser = "webkit";
+else
+ $browser = "gecko";
+
+$confdir = $reldir."ki_config/";
+$galleriesdir = $reldir."ki_galleries/";
+$basedir = $reldir."ki_base/";
+
+if(!is_file($basedir."ki_js_view.php")){
+?>
+<script type="text/javascript">
+alert("ERROR: KoschtIT Image Gallery couldn't find the path to the script folder. Please enter the relative path from '<?php echo $_SERVER['PHP_SELF'] ?>' to the folder where the 'ki_config' folder is, into the 'ki_include.php' on line 37.");
+</script>
+<?php
+} else {
+ $def_fr_width = 948;
+ $def_fr_height = 300;
+ $def_fr_color = "#666666";
+ $def_thumbs = 14;
+ $def_th_per_line = 7;
+ $def_th_lines = "auto";
+ $def_th_width = "auto";
+ $def_th_height = "auto";
+ $def_th_bord_size = 5;
+ $def_th_bord_color = "#ffffff";
+ $def_th_bord_hover_color = "#bbbbbb";
+ $def_th_bord_hover_increase = 1.2;
+ $def_th_shadow = 1;
+ $def_th_to_square = 1;
+ $def_th_2sq_crop_hori = "center";
+ $def_th_2sq_crop_vert = "middle";
+ $def_thumbs_to_disk = 1;
+ $def_pic_order = 2;
+ $def_resize_auto = 1;
+ $def_bord_size = 10;
+ $def_bord_color = "#ffffff";
+ $def_max_pic_width = "none";
+ $def_max_pic_height = 0.75;
+ $def_oversize_allowed = 0;
+ $def_comments = 1;
+ $def_comm_text_size = 12;
+ $def_comm_text_color = "#000000";
+ $def_comm_text_font = "Tahoma, sans-serif";
+ $def_comm_text_align = "left";
+ $def_comm_auto = 0;
+ $def_comm_auto_string = "KoschtIT Image Gallery - Picture %x of %X Filename: %f, Gallery: %g";
+ $def_viewercomments = 1;
+ $def_moderate_posts = 0;
+ $def_vcomm_header_color = "#000000";
+ $def_vcomm_box_color = "#000000";
+ $def_vcomm_text_color = "#000000";
+ $def_vcomm_timedate_color = "#888888";
+ $def_vcomm_back_color = "none";
+ $def_vcomm_bord_color = "#888888";
+ $def_vcomm_horline_color = "#888888";
+ $def_slideshow = 1;
+ $def_downloadpics = 1;
+ $def_checkgps = 1;
+ $def_cellinfo = 0;
+ $def_show_nav = 1;
+ $def_nav_always = 0;
+ $def_nav_pos = "right";
+ $def_nav_color = "#ffffff";
+ $def_nav_border_color = "#000000";
+ $def_nav_style = 1;
+ $def_show_image_nav = 1;
+ $def_image_nav_always = 0;
+ $def_show_share = 1;
+ $def_show_help = 1;
+ $def_help_pos = "left";
+ $def_show_preview = 1;
+ $def_preview_style = 1;
+ $def_preview_pics = 6;
+ $def_show_explorer = 1;
+ $def_explorer_padding = 50;
+ $def_watermark_hori = "right";
+ $def_watermark_vert = "bottom";
+ $def_watermark_size = 0;
+ $def_fade_color = "#000000";
+ $def_fade_alpha = 8;
+ $def_shade_while_loading = 0;
+ $def_disable_animation = 0;
+ $def_slideshow_time = 4000;
+ $def_nav_next = "Next page";
+ $def_nav_back = "Previous page";
+ $def_nav_maxi = "Maximize gallery";
+ $def_nav_kiv_next = "Next picture";
+ $def_nav_kiv_back = "Previous picture";
+ $def_nav_kiv_close = "Close";
+ $def_nav_gps_coord = "Show location on map";
+ $def_nav_kiv_vcomm = "Add/See viewer comments";
+ $def_nav_kiv_download = "Download full resolution picture";
+ $def_slideshow_start = "Start slideshow";
+ $def_slideshow_stop = "Stop slideshow";
+ $def_help_text = "Move your mouse [mouse] beyond the sides of the image to see what image comes next/was last in the gallery. If you move your mouse even further to the border of the window you can see the next/last couple of images. Move your mouse up to the top to view navigation controls and move it down to see a link address of the picture displayed.";
+ $def_vcomm_lac = "Leave a comment";
+ $def_vcomm_name = "Name";
+ $def_vcomm_comm = "Comment";
+ $def_vcomm_post = "Post comment";
+ $def_vcomm_clk = "Click on the image to flip back to the full image.";
+ $def_vcomm_ncy = "No comments yet.";
+ $def_admin_mail = 0;
+ $def_admin_mail_from = "admin@localhost";
+ $def_admin_mail_to = "admin@localhost";
+ $def_show_warnings = 1;
+ $def_user = "user";
+ $def_userpw = "5f4dcc3b5aa765d61d8327deb882cf99";
+ $def_admin = "admin";
+ $def_pw = "5f4dcc3b5aa765d61d8327deb882cf99";
+
+ $global_start = -1;
+ $global_length = -1;
+ $global_count = -1;
+
+ reset($GLOBALS);
+ while (list($key, $val) = each($GLOBALS)) {
+ $global_count++;
+ if($global_start == -1){
+ if($key === "def_fr_width"){
+ $global_start = $global_count;
+ continue;
+ }
+ }
+ if($global_length == -1){
+ if($key === "global_start"){
+ $global_length = $global_count - $global_start;
+ break;
+ }
+ }
+ }
+
+ if(!is_file($confdir."ki_setup.php")){
+?>
+<script type="text/javascript">
+alert("ERROR: KoschtIT Image Gallery couldn't find the main config file 'ki_setup.php' in the 'ki_config' folder. A new 'ki_setup.php'-file with the default parameters has been created. Please change your username and password.");
+</script>
+<?php
+ } else {
+ include($confdir."ki_setup.php");
+ }
+
+ $switchtodefaults = 0;
+ $params = "";
+ reset($GLOBALS);
+ for($i = 0; $i < $global_start; $i++)next($GLOBALS);
+ for($i = 0; $i < $global_length; $i++){
+ list($key, $val) = each($GLOBALS);
+ $param = substr($key, 4);
+ if(!isset($GLOBALS[$param])){
+ $switchtodefaults = 1;
+ if(!is_numeric($val))$val = "\"".addslashes($val)."\"";
+ $params .= "\$$param = $val;\r\n";
+ } else {
+ $val = $GLOBALS[$param];
+ if($param === "pw"){
+ if(strlen($val) != 32){
+ $switchtodefaults = 1;
+ $val = md5($val);
+ }
+ }
+ if(!is_numeric($val))$val = "\"".addslashes($val)."\"";
+ $params .= "\$$param = $val;\r\n";
+ }
+ }
+
+ if($switchtodefaults == 1){
+ $params = "<?php\r\n".$params."?>";
+ if(!@file_put_contents($confdir."ki_setup.php", $params)){
+?>
+<script type="text/javascript">
+alert("ERROR: Your 'ki_setup.php' does not match this script version. Please grant writing permission to the 'ki_config'-folder and reload this site to finish the upgrade procedure.");
+</script>
+<?php
+ exit();
+ }
+
+ include($confdir."ki_setup.php");
+ }
+
+ $access = "?reldir=".$reldir;
+ if(isset($_GET['admin'])){
+ $access .= "&admin=".$_GET['admin'];
+ }
+ if(isset($_GET['user'])){
+ $access .= "&user=".$_GET['user'];
+ }
+?>
+<meta name="koschtit_version" content="KoschtIT Image Gallery v3.1b by Konstantin Tabere" />
+<script type="text/javascript" src="<?php echo $basedir ?>ki_js_framework.php<?php echo $access ?>"></script>
+<?php
+if(isset($_GET['kit_code']))
+ $kitcode = $_GET['kit_code'];
+else
+ $kitcode = "";
+
+ if($kitcode !== ""){
+?>
+<script type="text/javascript">
+ function kit_opensharedpic(){
+ kib.getImage("<?php echo $kitcode ?>");
+ }
+</script>
+<?php
+ }
+ ob_start("jsdisabled");
+}
+
+function jsdisabled($buffer){
+ global $basedir, $confdir, $galleriesdir, $browser;
+ global $fr_width, $fr_height, $fr_color, $text_size, $text_color, $text_font;
+ @chdir(dirname((strstr($_SERVER["SCRIPT_FILENAME"], $_SERVER["PHP_SELF"]) ? $_SERVER["SCRIPT_FILENAME"] : $_SERVER["PATH_TRANSLATED"])));
+ preg_match_all("|(<div[^>]+class\s*=\s*[\"'][^>]*koschtitgallery[^>]*[\"'][^>]*)>.*</div>|U", $buffer, $out, PREG_PATTERN_ORDER);
+ $navimgsize = getimagesize($basedir."ki_nav_next.png");
+ if(is_array($out)){
+ if(is_array($out[0])){
+ for($i = 0; $i < count($out[0]); $i++){
+ if(preg_match("|<div[^>]+title\s*=\s*[\"']([^>]+)[\"'][^>]*>|U", $out[0][$i], $temp)){
+ $titlefound = $temp[1];
+ include($confdir."ki_setup.php");
+ if(is_file($confdir.$titlefound."_ki_setup.php"))
+ include($confdir.$titlefound."_ki_setup.php");
+ $stylestring = "position:relative; padding:0px; width:".$fr_width."px; min-height:".$fr_height."px; background:".$fr_color.";";
+ if($show_nav == 1 && $nav_always == 0)$fr_height += ($navimgsize[1]+18);
+ $noscript = "<object type='application/xhtml+xml' data='".$basedir."ki_nojs.php?gallery=".$titlefound."&amp;site=".$_SERVER['REQUEST_URI']."' width='".$fr_width."' height='".$fr_height."'>";
+ if(in_array($browser, array("ie6", "ie7"))){
+ $noscript = "<!--[if IE]><iframe src='".$basedir."ki_nojs.php?gallery=".$titlefound."&amp;site=".$_SERVER['REQUEST_URI']."' style='width:".$fr_width."px; height:".$fr_height."px;' frameborder='0'></iframe><!--[if IE]>";
+ }
+ $noscript .= "</object>";
+ if(preg_match("|(<div[^>]+style\s*=\s*[\"'])([^>]+)([\"'][^>]*>)|U", $out[0][$i], $temp)){
+ $buffer = str_replace($out[0][$i], $temp[1].$temp[2]."; ".$stylestring.$temp[3]."<noscript>".$noscript."</noscript></div>", $buffer);
+ } else {
+ $buffer = str_replace($out[0][$i], $out[1][$i]." style='".$stylestring."'><noscript>".$noscript."</noscript></div>", $buffer);
+ }
+ }
+ }
+ }
+ }
+
+ return $buffer;
+}
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/readme.txt b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/readme.txt
new file mode 100644
index 00000000..7b505237
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/koschtit/readme.txt
@@ -0,0 +1,61 @@
+ KoschtIT Image Gallery
+ by Konstantin Tabere
+
+
+ Latest version
+ --------------
+
+ The most recent script version can be downloaded at <http://koschtit.tabere.net/en/>.
+ Beta versions will be available in the script forum.
+
+
+ Documentation
+ -------------
+
+ The script documentation is also available online at <http://koschtit.tabere.net/en/documentation/install>.
+ If you want to add the script to your website, follow these steps:
+
+ 1. Upload the script to your webserver. Please note, that the script needs PHP5 with GD2 enabled.
+
+ 2. Set the correct DOCTYPE for your webpage on the first line of your source code.
+ If you have HTML use:
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+ If you have XHTML use:
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+ 3. Add: <?php include_once("...../ki_include.php"); ?> into your header ( between <head> and </head> ).
+ Make sure the path to the "ki_include.php" is entered correctly.
+
+ 4. Add: <div class="koschtitgallery" title="sample"></div> to the spot where your gallery should be.
+ Edit 'title' to specify which gallery folder you want to display.
+
+ 5. Create gallery folders inside the "ki_galleries"-folder. For each new gallery a seperate folder is neccessary.
+ This is the place where your images will go to. A "sample" gallery comes with this package.
+
+ 6. You can open the admin panel for each gallery directly on your website. Therefore add an additional parameter "?admin=admin" to the url
+ e.g. "http://somedomain.com/mygallery/?admin=admin". Login to the admin panel with the default password: "password"
+
+ 7. Change the default admin/user-username and password for both admins and users in the "Settings"-menu. Now you can upload your images either through the "Upload Images"-menu
+ or if you want you can use a FTP-client.
+
+ 8. Edit further parameters through the "Settings"-menu. The "ki_setup.php" - config file is applied to all galleries. If you want to make
+ custom settings for individual galleries you will need to select the "galleryfolder_ki_setup.php" - config file.
+
+ 9. You can label pictures (image descriptions) when logged in as admin. Therefore just open the picture and write your text in the box
+ below the image. To save the picture comments press 'CTRL + Enter'.
+
+ If the script gives you warning messages you can disable them with the "$show_warnings"-parameter.
+
+
+ Licensing
+ ---------
+
+ The script is free and available for everyone without limitations. If you are using the script in a commercial project a donation
+ would be strongly appreciated. You can make a Donation via PayPal (they also accept credit cards) on my website <http://koschtit.tabere.net/en/>.
+
+
+ Contact
+ -------
+
+ If you want to contact me write me an E-mail to: kkokus [at] web [dot] de .
+ Please use the forum at <http://koschtit.tabere.net/forum/> in case you need script support.
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/MIT-LICENSE b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/MIT-LICENSE
new file mode 100644
index 00000000..b5e74b40
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/MIT-LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+
+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. \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/builder.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/builder.js
new file mode 100644
index 00000000..73250380
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/builder.js
@@ -0,0 +1,136 @@
+// script.aculo.us builder.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
+
+// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+//
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+var Builder = {
+ NODEMAP: {
+ AREA: 'map',
+ CAPTION: 'table',
+ COL: 'table',
+ COLGROUP: 'table',
+ LEGEND: 'fieldset',
+ OPTGROUP: 'select',
+ OPTION: 'select',
+ PARAM: 'object',
+ TBODY: 'table',
+ TD: 'table',
+ TFOOT: 'table',
+ TH: 'table',
+ THEAD: 'table',
+ TR: 'table'
+ },
+ // note: For Firefox < 1.5, OPTION and OPTGROUP tags are currently broken,
+ // due to a Firefox bug
+ node: function(elementName) {
+ elementName = elementName.toUpperCase();
+
+ // try innerHTML approach
+ var parentTag = this.NODEMAP[elementName] || 'div';
+ var parentElement = document.createElement(parentTag);
+ try { // prevent IE "feature": http://dev.rubyonrails.org/ticket/2707
+ parentElement.innerHTML = "<" + elementName + "></" + elementName + ">";
+ } catch(e) {}
+ var element = parentElement.firstChild || null;
+
+ // see if browser added wrapping tags
+ if(element && (element.tagName.toUpperCase() != elementName))
+ element = element.getElementsByTagName(elementName)[0];
+
+ // fallback to createElement approach
+ if(!element) element = document.createElement(elementName);
+
+ // abort if nothing could be created
+ if(!element) return;
+
+ // attributes (or text)
+ if(arguments[1])
+ if(this._isStringOrNumber(arguments[1]) ||
+ (arguments[1] instanceof Array) ||
+ arguments[1].tagName) {
+ this._children(element, arguments[1]);
+ } else {
+ var attrs = this._attributes(arguments[1]);
+ if(attrs.length) {
+ try { // prevent IE "feature": http://dev.rubyonrails.org/ticket/2707
+ parentElement.innerHTML = "<" +elementName + " " +
+ attrs + "></" + elementName + ">";
+ } catch(e) {}
+ element = parentElement.firstChild || null;
+ // workaround firefox 1.0.X bug
+ if(!element) {
+ element = document.createElement(elementName);
+ for(attr in arguments[1])
+ element[attr == 'class' ? 'className' : attr] = arguments[1][attr];
+ }
+ if(element.tagName.toUpperCase() != elementName)
+ element = parentElement.getElementsByTagName(elementName)[0];
+ }
+ }
+
+ // text, or array of children
+ if(arguments[2])
+ this._children(element, arguments[2]);
+
+ return $(element);
+ },
+ _text: function(text) {
+ return document.createTextNode(text);
+ },
+
+ ATTR_MAP: {
+ 'className': 'class',
+ 'htmlFor': 'for'
+ },
+
+ _attributes: function(attributes) {
+ var attrs = [];
+ for(attribute in attributes)
+ attrs.push((attribute in this.ATTR_MAP ? this.ATTR_MAP[attribute] : attribute) +
+ '="' + attributes[attribute].toString().escapeHTML().gsub(/"/,'&quot;') + '"');
+ return attrs.join(" ");
+ },
+ _children: function(element, children) {
+ if(children.tagName) {
+ element.appendChild(children);
+ return;
+ }
+ if(typeof children=='object') { // array can hold nodes and text
+ children.flatten().each( function(e) {
+ if(typeof e=='object')
+ element.appendChild(e);
+ else
+ if(Builder._isStringOrNumber(e))
+ element.appendChild(Builder._text(e));
+ });
+ } else
+ if(Builder._isStringOrNumber(children))
+ element.appendChild(Builder._text(children));
+ },
+ _isStringOrNumber: function(param) {
+ return(typeof param=='string' || typeof param=='number');
+ },
+ build: function(html) {
+ var element = this.node('div');
+ $(element).update(html.strip());
+ return element.down();
+ },
+ dump: function(scope) {
+ if(typeof scope != 'object' && typeof scope != 'function') scope = window; //global scope
+
+ var tags = ("A ABBR ACRONYM ADDRESS APPLET AREA B BASE BASEFONT BDO BIG BLOCKQUOTE BODY " +
+ "BR BUTTON CAPTION CENTER CITE CODE COL COLGROUP DD DEL DFN DIR DIV DL DT EM FIELDSET " +
+ "FONT FORM FRAME FRAMESET H1 H2 H3 H4 H5 H6 HEAD HR HTML I IFRAME IMG INPUT INS ISINDEX "+
+ "KBD LABEL LEGEND LI LINK MAP MENU META NOFRAMES NOSCRIPT OBJECT OL OPTGROUP OPTION P "+
+ "PARAM PRE Q S SAMP SCRIPT SELECT SMALL SPAN STRIKE STRONG STYLE SUB SUP TABLE TBODY TD "+
+ "TEXTAREA TFOOT TH THEAD TITLE TR TT U UL VAR").split(/\s+/);
+
+ tags.each( function(tag){
+ scope[tag] = function() {
+ return Builder.node.apply(Builder, [tag].concat($A(arguments)));
+ };
+ });
+ }
+}; \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/controls.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/controls.js
new file mode 100644
index 00000000..5137ab51
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/controls.js
@@ -0,0 +1,965 @@
+// script.aculo.us controls.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
+
+// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+// (c) 2005-2010 Ivan Krstic (http://blogs.law.harvard.edu/ivan)
+// (c) 2005-2010 Jon Tirsen (http://www.tirsen.com)
+// Contributors:
+// Richard Livsey
+// Rahul Bhargava
+// Rob Wills
+//
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+// Autocompleter.Base handles all the autocompletion functionality
+// that's independent of the data source for autocompletion. This
+// includes drawing the autocompletion menu, observing keyboard
+// and mouse events, and similar.
+//
+// Specific autocompleters need to provide, at the very least,
+// a getUpdatedChoices function that will be invoked every time
+// the text inside the monitored textbox changes. This method
+// should get the text for which to provide autocompletion by
+// invoking this.getToken(), NOT by directly accessing
+// this.element.value. This is to allow incremental tokenized
+// autocompletion. Specific auto-completion logic (AJAX, etc)
+// belongs in getUpdatedChoices.
+//
+// Tokenized incremental autocompletion is enabled automatically
+// when an autocompleter is instantiated with the 'tokens' option
+// in the options parameter, e.g.:
+// new Ajax.Autocompleter('id','upd', '/url/', { tokens: ',' });
+// will incrementally autocomplete with a comma as the token.
+// Additionally, ',' in the above example can be replaced with
+// a token array, e.g. { tokens: [',', '\n'] } which
+// enables autocompletion on multiple tokens. This is most
+// useful when one of the tokens is \n (a newline), as it
+// allows smart autocompletion after linebreaks.
+
+if(typeof Effect == 'undefined')
+ throw("controls.js requires including script.aculo.us' effects.js library");
+
+var Autocompleter = { };
+Autocompleter.Base = Class.create({
+ baseInitialize: function(element, update, options) {
+ element = $(element);
+ this.element = element;
+ this.update = $(update);
+ this.hasFocus = false;
+ this.changed = false;
+ this.active = false;
+ this.index = 0;
+ this.entryCount = 0;
+ this.oldElementValue = this.element.value;
+
+ if(this.setOptions)
+ this.setOptions(options);
+ else
+ this.options = options || { };
+
+ this.options.paramName = this.options.paramName || this.element.name;
+ this.options.tokens = this.options.tokens || [];
+ this.options.frequency = this.options.frequency || 0.4;
+ this.options.minChars = this.options.minChars || 1;
+ this.options.onShow = this.options.onShow ||
+ function(element, update){
+ if(!update.style.position || update.style.position=='absolute') {
+ update.style.position = 'absolute';
+ Position.clone(element, update, {
+ setHeight: false,
+ offsetTop: element.offsetHeight
+ });
+ }
+ Effect.Appear(update,{duration:0.15});
+ };
+ this.options.onHide = this.options.onHide ||
+ function(element, update){ new Effect.Fade(update,{duration:0.15}) };
+
+ if(typeof(this.options.tokens) == 'string')
+ this.options.tokens = new Array(this.options.tokens);
+ // Force carriage returns as token delimiters anyway
+ if (!this.options.tokens.include('\n'))
+ this.options.tokens.push('\n');
+
+ this.observer = null;
+
+ this.element.setAttribute('autocomplete','off');
+
+ Element.hide(this.update);
+
+ Event.observe(this.element, 'blur', this.onBlur.bindAsEventListener(this));
+ Event.observe(this.element, 'keydown', this.onKeyPress.bindAsEventListener(this));
+ },
+
+ show: function() {
+ if(Element.getStyle(this.update, 'display')=='none') this.options.onShow(this.element, this.update);
+ if(!this.iefix &&
+ (Prototype.Browser.IE) &&
+ (Element.getStyle(this.update, 'position')=='absolute')) {
+ new Insertion.After(this.update,
+ '<iframe id="' + this.update.id + '_iefix" '+
+ 'style="display:none;position:absolute;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);" ' +
+ 'src="javascript:false;" frameborder="0" scrolling="no"></iframe>');
+ this.iefix = $(this.update.id+'_iefix');
+ }
+ if(this.iefix) setTimeout(this.fixIEOverlapping.bind(this), 50);
+ },
+
+ fixIEOverlapping: function() {
+ Position.clone(this.update, this.iefix, {setTop:(!this.update.style.height)});
+ this.iefix.style.zIndex = 1;
+ this.update.style.zIndex = 2;
+ Element.show(this.iefix);
+ },
+
+ hide: function() {
+ this.stopIndicator();
+ if(Element.getStyle(this.update, 'display')!='none') this.options.onHide(this.element, this.update);
+ if(this.iefix) Element.hide(this.iefix);
+ },
+
+ startIndicator: function() {
+ if(this.options.indicator) Element.show(this.options.indicator);
+ },
+
+ stopIndicator: function() {
+ if(this.options.indicator) Element.hide(this.options.indicator);
+ },
+
+ onKeyPress: function(event) {
+ if(this.active)
+ switch(event.keyCode) {
+ case Event.KEY_TAB:
+ case Event.KEY_RETURN:
+ this.selectEntry();
+ Event.stop(event);
+ case Event.KEY_ESC:
+ this.hide();
+ this.active = false;
+ Event.stop(event);
+ return;
+ case Event.KEY_LEFT:
+ case Event.KEY_RIGHT:
+ return;
+ case Event.KEY_UP:
+ this.markPrevious();
+ this.render();
+ Event.stop(event);
+ return;
+ case Event.KEY_DOWN:
+ this.markNext();
+ this.render();
+ Event.stop(event);
+ return;
+ }
+ else
+ if(event.keyCode==Event.KEY_TAB || event.keyCode==Event.KEY_RETURN ||
+ (Prototype.Browser.WebKit > 0 && event.keyCode == 0)) return;
+
+ this.changed = true;
+ this.hasFocus = true;
+
+ if(this.observer) clearTimeout(this.observer);
+ this.observer =
+ setTimeout(this.onObserverEvent.bind(this), this.options.frequency*1000);
+ },
+
+ activate: function() {
+ this.changed = false;
+ this.hasFocus = true;
+ this.getUpdatedChoices();
+ },
+
+ onHover: function(event) {
+ var element = Event.findElement(event, 'LI');
+ if(this.index != element.autocompleteIndex)
+ {
+ this.index = element.autocompleteIndex;
+ this.render();
+ }
+ Event.stop(event);
+ },
+
+ onClick: function(event) {
+ var element = Event.findElement(event, 'LI');
+ this.index = element.autocompleteIndex;
+ this.selectEntry();
+ this.hide();
+ },
+
+ onBlur: function(event) {
+ // needed to make click events working
+ setTimeout(this.hide.bind(this), 250);
+ this.hasFocus = false;
+ this.active = false;
+ },
+
+ render: function() {
+ if(this.entryCount > 0) {
+ for (var i = 0; i < this.entryCount; i++)
+ this.index==i ?
+ Element.addClassName(this.getEntry(i),"selected") :
+ Element.removeClassName(this.getEntry(i),"selected");
+ if(this.hasFocus) {
+ this.show();
+ this.active = true;
+ }
+ } else {
+ this.active = false;
+ this.hide();
+ }
+ },
+
+ markPrevious: function() {
+ if(this.index > 0) this.index--;
+ else this.index = this.entryCount-1;
+ this.getEntry(this.index).scrollIntoView(true);
+ },
+
+ markNext: function() {
+ if(this.index < this.entryCount-1) this.index++;
+ else this.index = 0;
+ this.getEntry(this.index).scrollIntoView(false);
+ },
+
+ getEntry: function(index) {
+ return this.update.firstChild.childNodes[index];
+ },
+
+ getCurrentEntry: function() {
+ return this.getEntry(this.index);
+ },
+
+ selectEntry: function() {
+ this.active = false;
+ this.updateElement(this.getCurrentEntry());
+ },
+
+ updateElement: function(selectedElement) {
+ if (this.options.updateElement) {
+ this.options.updateElement(selectedElement);
+ return;
+ }
+ var value = '';
+ if (this.options.select) {
+ var nodes = $(selectedElement).select('.' + this.options.select) || [];
+ if(nodes.length>0) value = Element.collectTextNodes(nodes[0], this.options.select);
+ } else
+ value = Element.collectTextNodesIgnoreClass(selectedElement, 'informal');
+
+ var bounds = this.getTokenBounds();
+ if (bounds[0] != -1) {
+ var newValue = this.element.value.substr(0, bounds[0]);
+ var whitespace = this.element.value.substr(bounds[0]).match(/^\s+/);
+ if (whitespace)
+ newValue += whitespace[0];
+ this.element.value = newValue + value + this.element.value.substr(bounds[1]);
+ } else {
+ this.element.value = value;
+ }
+ this.oldElementValue = this.element.value;
+ this.element.focus();
+
+ if (this.options.afterUpdateElement)
+ this.options.afterUpdateElement(this.element, selectedElement);
+ },
+
+ updateChoices: function(choices) {
+ if(!this.changed && this.hasFocus) {
+ this.update.innerHTML = choices;
+ Element.cleanWhitespace(this.update);
+ Element.cleanWhitespace(this.update.down());
+
+ if(this.update.firstChild && this.update.down().childNodes) {
+ this.entryCount =
+ this.update.down().childNodes.length;
+ for (var i = 0; i < this.entryCount; i++) {
+ var entry = this.getEntry(i);
+ entry.autocompleteIndex = i;
+ this.addObservers(entry);
+ }
+ } else {
+ this.entryCount = 0;
+ }
+
+ this.stopIndicator();
+ this.index = 0;
+
+ if(this.entryCount==1 && this.options.autoSelect) {
+ this.selectEntry();
+ this.hide();
+ } else {
+ this.render();
+ }
+ }
+ },
+
+ addObservers: function(element) {
+ Event.observe(element, "mouseover", this.onHover.bindAsEventListener(this));
+ Event.observe(element, "click", this.onClick.bindAsEventListener(this));
+ },
+
+ onObserverEvent: function() {
+ this.changed = false;
+ this.tokenBounds = null;
+ if(this.getToken().length>=this.options.minChars) {
+ this.getUpdatedChoices();
+ } else {
+ this.active = false;
+ this.hide();
+ }
+ this.oldElementValue = this.element.value;
+ },
+
+ getToken: function() {
+ var bounds = this.getTokenBounds();
+ return this.element.value.substring(bounds[0], bounds[1]).strip();
+ },
+
+ getTokenBounds: function() {
+ if (null != this.tokenBounds) return this.tokenBounds;
+ var value = this.element.value;
+ if (value.strip().empty()) return [-1, 0];
+ var diff = arguments.callee.getFirstDifferencePos(value, this.oldElementValue);
+ var offset = (diff == this.oldElementValue.length ? 1 : 0);
+ var prevTokenPos = -1, nextTokenPos = value.length;
+ var tp;
+ for (var index = 0, l = this.options.tokens.length; index < l; ++index) {
+ tp = value.lastIndexOf(this.options.tokens[index], diff + offset - 1);
+ if (tp > prevTokenPos) prevTokenPos = tp;
+ tp = value.indexOf(this.options.tokens[index], diff + offset);
+ if (-1 != tp && tp < nextTokenPos) nextTokenPos = tp;
+ }
+ return (this.tokenBounds = [prevTokenPos + 1, nextTokenPos]);
+ }
+});
+
+Autocompleter.Base.prototype.getTokenBounds.getFirstDifferencePos = function(newS, oldS) {
+ var boundary = Math.min(newS.length, oldS.length);
+ for (var index = 0; index < boundary; ++index)
+ if (newS[index] != oldS[index])
+ return index;
+ return boundary;
+};
+
+Ajax.Autocompleter = Class.create(Autocompleter.Base, {
+ initialize: function(element, update, url, options) {
+ this.baseInitialize(element, update, options);
+ this.options.asynchronous = true;
+ this.options.onComplete = this.onComplete.bind(this);
+ this.options.defaultParams = this.options.parameters || null;
+ this.url = url;
+ },
+
+ getUpdatedChoices: function() {
+ this.startIndicator();
+
+ var entry = encodeURIComponent(this.options.paramName) + '=' +
+ encodeURIComponent(this.getToken());
+
+ this.options.parameters = this.options.callback ?
+ this.options.callback(this.element, entry) : entry;
+
+ if(this.options.defaultParams)
+ this.options.parameters += '&' + this.options.defaultParams;
+
+ new Ajax.Request(this.url, this.options);
+ },
+
+ onComplete: function(request) {
+ this.updateChoices(request.responseText);
+ }
+});
+
+// The local array autocompleter. Used when you'd prefer to
+// inject an array of autocompletion options into the page, rather
+// than sending out Ajax queries, which can be quite slow sometimes.
+//
+// The constructor takes four parameters. The first two are, as usual,
+// the id of the monitored textbox, and id of the autocompletion menu.
+// The third is the array you want to autocomplete from, and the fourth
+// is the options block.
+//
+// Extra local autocompletion options:
+// - choices - How many autocompletion choices to offer
+//
+// - partialSearch - If false, the autocompleter will match entered
+// text only at the beginning of strings in the
+// autocomplete array. Defaults to true, which will
+// match text at the beginning of any *word* in the
+// strings in the autocomplete array. If you want to
+// search anywhere in the string, additionally set
+// the option fullSearch to true (default: off).
+//
+// - fullSsearch - Search anywhere in autocomplete array strings.
+//
+// - partialChars - How many characters to enter before triggering
+// a partial match (unlike minChars, which defines
+// how many characters are required to do any match
+// at all). Defaults to 2.
+//
+// - ignoreCase - Whether to ignore case when autocompleting.
+// Defaults to true.
+//
+// It's possible to pass in a custom function as the 'selector'
+// option, if you prefer to write your own autocompletion logic.
+// In that case, the other options above will not apply unless
+// you support them.
+
+Autocompleter.Local = Class.create(Autocompleter.Base, {
+ initialize: function(element, update, array, options) {
+ this.baseInitialize(element, update, options);
+ this.options.array = array;
+ },
+
+ getUpdatedChoices: function() {
+ this.updateChoices(this.options.selector(this));
+ },
+
+ setOptions: function(options) {
+ this.options = Object.extend({
+ choices: 10,
+ partialSearch: true,
+ partialChars: 2,
+ ignoreCase: true,
+ fullSearch: false,
+ selector: function(instance) {
+ var ret = []; // Beginning matches
+ var partial = []; // Inside matches
+ var entry = instance.getToken();
+ var count = 0;
+
+ for (var i = 0; i < instance.options.array.length &&
+ ret.length < instance.options.choices ; i++) {
+
+ var elem = instance.options.array[i];
+ var foundPos = instance.options.ignoreCase ?
+ elem.toLowerCase().indexOf(entry.toLowerCase()) :
+ elem.indexOf(entry);
+
+ while (foundPos != -1) {
+ if (foundPos == 0 && elem.length != entry.length) {
+ ret.push("<li><strong>" + elem.substr(0, entry.length) + "</strong>" +
+ elem.substr(entry.length) + "</li>");
+ break;
+ } else if (entry.length >= instance.options.partialChars &&
+ instance.options.partialSearch && foundPos != -1) {
+ if (instance.options.fullSearch || /\s/.test(elem.substr(foundPos-1,1))) {
+ partial.push("<li>" + elem.substr(0, foundPos) + "<strong>" +
+ elem.substr(foundPos, entry.length) + "</strong>" + elem.substr(
+ foundPos + entry.length) + "</li>");
+ break;
+ }
+ }
+
+ foundPos = instance.options.ignoreCase ?
+ elem.toLowerCase().indexOf(entry.toLowerCase(), foundPos + 1) :
+ elem.indexOf(entry, foundPos + 1);
+
+ }
+ }
+ if (partial.length)
+ ret = ret.concat(partial.slice(0, instance.options.choices - ret.length));
+ return "<ul>" + ret.join('') + "</ul>";
+ }
+ }, options || { });
+ }
+});
+
+// AJAX in-place editor and collection editor
+// Full rewrite by Christophe Porteneuve <tdd@tddsworld.com> (April 2007).
+
+// Use this if you notice weird scrolling problems on some browsers,
+// the DOM might be a bit confused when this gets called so do this
+// waits 1 ms (with setTimeout) until it does the activation
+Field.scrollFreeActivate = function(field) {
+ setTimeout(function() {
+ Field.activate(field);
+ }, 1);
+};
+
+Ajax.InPlaceEditor = Class.create({
+ initialize: function(element, url, options) {
+ this.url = url;
+ this.element = element = $(element);
+ this.prepareOptions();
+ this._controls = { };
+ arguments.callee.dealWithDeprecatedOptions(options); // DEPRECATION LAYER!!!
+ Object.extend(this.options, options || { });
+ if (!this.options.formId && this.element.id) {
+ this.options.formId = this.element.id + '-inplaceeditor';
+ if ($(this.options.formId))
+ this.options.formId = '';
+ }
+ if (this.options.externalControl)
+ this.options.externalControl = $(this.options.externalControl);
+ if (!this.options.externalControl)
+ this.options.externalControlOnly = false;
+ this._originalBackground = this.element.getStyle('background-color') || 'transparent';
+ this.element.title = this.options.clickToEditText;
+ this._boundCancelHandler = this.handleFormCancellation.bind(this);
+ this._boundComplete = (this.options.onComplete || Prototype.emptyFunction).bind(this);
+ this._boundFailureHandler = this.handleAJAXFailure.bind(this);
+ this._boundSubmitHandler = this.handleFormSubmission.bind(this);
+ this._boundWrapperHandler = this.wrapUp.bind(this);
+ this.registerListeners();
+ },
+ checkForEscapeOrReturn: function(e) {
+ if (!this._editing || e.ctrlKey || e.altKey || e.shiftKey) return;
+ if (Event.KEY_ESC == e.keyCode)
+ this.handleFormCancellation(e);
+ else if (Event.KEY_RETURN == e.keyCode)
+ this.handleFormSubmission(e);
+ },
+ createControl: function(mode, handler, extraClasses) {
+ var control = this.options[mode + 'Control'];
+ var text = this.options[mode + 'Text'];
+ if ('button' == control) {
+ var btn = document.createElement('input');
+ btn.type = 'submit';
+ btn.value = text;
+ btn.className = 'editor_' + mode + '_button';
+ if ('cancel' == mode)
+ btn.onclick = this._boundCancelHandler;
+ this._form.appendChild(btn);
+ this._controls[mode] = btn;
+ } else if ('link' == control) {
+ var link = document.createElement('a');
+ link.href = '#';
+ link.appendChild(document.createTextNode(text));
+ link.onclick = 'cancel' == mode ? this._boundCancelHandler : this._boundSubmitHandler;
+ link.className = 'editor_' + mode + '_link';
+ if (extraClasses)
+ link.className += ' ' + extraClasses;
+ this._form.appendChild(link);
+ this._controls[mode] = link;
+ }
+ },
+ createEditField: function() {
+ var text = (this.options.loadTextURL ? this.options.loadingText : this.getText());
+ var fld;
+ if (1 >= this.options.rows && !/\r|\n/.test(this.getText())) {
+ fld = document.createElement('input');
+ fld.type = 'text';
+ var size = this.options.size || this.options.cols || 0;
+ if (0 < size) fld.size = size;
+ } else {
+ fld = document.createElement('textarea');
+ fld.rows = (1 >= this.options.rows ? this.options.autoRows : this.options.rows);
+ fld.cols = this.options.cols || 40;
+ }
+ fld.name = this.options.paramName;
+ fld.value = text; // No HTML breaks conversion anymore
+ fld.className = 'editor_field';
+ if (this.options.submitOnBlur)
+ fld.onblur = this._boundSubmitHandler;
+ this._controls.editor = fld;
+ if (this.options.loadTextURL)
+ this.loadExternalText();
+ this._form.appendChild(this._controls.editor);
+ },
+ createForm: function() {
+ var ipe = this;
+ function addText(mode, condition) {
+ var text = ipe.options['text' + mode + 'Controls'];
+ if (!text || condition === false) return;
+ ipe._form.appendChild(document.createTextNode(text));
+ };
+ this._form = $(document.createElement('form'));
+ this._form.id = this.options.formId;
+ this._form.addClassName(this.options.formClassName);
+ this._form.onsubmit = this._boundSubmitHandler;
+ this.createEditField();
+ if ('textarea' == this._controls.editor.tagName.toLowerCase())
+ this._form.appendChild(document.createElement('br'));
+ if (this.options.onFormCustomization)
+ this.options.onFormCustomization(this, this._form);
+ addText('Before', this.options.okControl || this.options.cancelControl);
+ this.createControl('ok', this._boundSubmitHandler);
+ addText('Between', this.options.okControl && this.options.cancelControl);
+ this.createControl('cancel', this._boundCancelHandler, 'editor_cancel');
+ addText('After', this.options.okControl || this.options.cancelControl);
+ },
+ destroy: function() {
+ if (this._oldInnerHTML)
+ this.element.innerHTML = this._oldInnerHTML;
+ this.leaveEditMode();
+ this.unregisterListeners();
+ },
+ enterEditMode: function(e) {
+ if (this._saving || this._editing) return;
+ this._editing = true;
+ this.triggerCallback('onEnterEditMode');
+ if (this.options.externalControl)
+ this.options.externalControl.hide();
+ this.element.hide();
+ this.createForm();
+ this.element.parentNode.insertBefore(this._form, this.element);
+ if (!this.options.loadTextURL)
+ this.postProcessEditField();
+ if (e) Event.stop(e);
+ },
+ enterHover: function(e) {
+ if (this.options.hoverClassName)
+ this.element.addClassName(this.options.hoverClassName);
+ if (this._saving) return;
+ this.triggerCallback('onEnterHover');
+ },
+ getText: function() {
+ return this.element.innerHTML.unescapeHTML();
+ },
+ handleAJAXFailure: function(transport) {
+ this.triggerCallback('onFailure', transport);
+ if (this._oldInnerHTML) {
+ this.element.innerHTML = this._oldInnerHTML;
+ this._oldInnerHTML = null;
+ }
+ },
+ handleFormCancellation: function(e) {
+ this.wrapUp();
+ if (e) Event.stop(e);
+ },
+ handleFormSubmission: function(e) {
+ var form = this._form;
+ var value = $F(this._controls.editor);
+ this.prepareSubmission();
+ var params = this.options.callback(form, value) || '';
+ if (Object.isString(params))
+ params = params.toQueryParams();
+ params.editorId = this.element.id;
+ if (this.options.htmlResponse) {
+ var options = Object.extend({ evalScripts: true }, this.options.ajaxOptions);
+ Object.extend(options, {
+ parameters: params,
+ onComplete: this._boundWrapperHandler,
+ onFailure: this._boundFailureHandler
+ });
+ new Ajax.Updater({ success: this.element }, this.url, options);
+ } else {
+ var options = Object.extend({ method: 'get' }, this.options.ajaxOptions);
+ Object.extend(options, {
+ parameters: params,
+ onComplete: this._boundWrapperHandler,
+ onFailure: this._boundFailureHandler
+ });
+ new Ajax.Request(this.url, options);
+ }
+ if (e) Event.stop(e);
+ },
+ leaveEditMode: function() {
+ this.element.removeClassName(this.options.savingClassName);
+ this.removeForm();
+ this.leaveHover();
+ this.element.style.backgroundColor = this._originalBackground;
+ this.element.show();
+ if (this.options.externalControl)
+ this.options.externalControl.show();
+ this._saving = false;
+ this._editing = false;
+ this._oldInnerHTML = null;
+ this.triggerCallback('onLeaveEditMode');
+ },
+ leaveHover: function(e) {
+ if (this.options.hoverClassName)
+ this.element.removeClassName(this.options.hoverClassName);
+ if (this._saving) return;
+ this.triggerCallback('onLeaveHover');
+ },
+ loadExternalText: function() {
+ this._form.addClassName(this.options.loadingClassName);
+ this._controls.editor.disabled = true;
+ var options = Object.extend({ method: 'get' }, this.options.ajaxOptions);
+ Object.extend(options, {
+ parameters: 'editorId=' + encodeURIComponent(this.element.id),
+ onComplete: Prototype.emptyFunction,
+ onSuccess: function(transport) {
+ this._form.removeClassName(this.options.loadingClassName);
+ var text = transport.responseText;
+ if (this.options.stripLoadedTextTags)
+ text = text.stripTags();
+ this._controls.editor.value = text;
+ this._controls.editor.disabled = false;
+ this.postProcessEditField();
+ }.bind(this),
+ onFailure: this._boundFailureHandler
+ });
+ new Ajax.Request(this.options.loadTextURL, options);
+ },
+ postProcessEditField: function() {
+ var fpc = this.options.fieldPostCreation;
+ if (fpc)
+ $(this._controls.editor)['focus' == fpc ? 'focus' : 'activate']();
+ },
+ prepareOptions: function() {
+ this.options = Object.clone(Ajax.InPlaceEditor.DefaultOptions);
+ Object.extend(this.options, Ajax.InPlaceEditor.DefaultCallbacks);
+ [this._extraDefaultOptions].flatten().compact().each(function(defs) {
+ Object.extend(this.options, defs);
+ }.bind(this));
+ },
+ prepareSubmission: function() {
+ this._saving = true;
+ this.removeForm();
+ this.leaveHover();
+ this.showSaving();
+ },
+ registerListeners: function() {
+ this._listeners = { };
+ var listener;
+ $H(Ajax.InPlaceEditor.Listeners).each(function(pair) {
+ listener = this[pair.value].bind(this);
+ this._listeners[pair.key] = listener;
+ if (!this.options.externalControlOnly)
+ this.element.observe(pair.key, listener);
+ if (this.options.externalControl)
+ this.options.externalControl.observe(pair.key, listener);
+ }.bind(this));
+ },
+ removeForm: function() {
+ if (!this._form) return;
+ this._form.remove();
+ this._form = null;
+ this._controls = { };
+ },
+ showSaving: function() {
+ this._oldInnerHTML = this.element.innerHTML;
+ this.element.innerHTML = this.options.savingText;
+ this.element.addClassName(this.options.savingClassName);
+ this.element.style.backgroundColor = this._originalBackground;
+ this.element.show();
+ },
+ triggerCallback: function(cbName, arg) {
+ if ('function' == typeof this.options[cbName]) {
+ this.options[cbName](this, arg);
+ }
+ },
+ unregisterListeners: function() {
+ $H(this._listeners).each(function(pair) {
+ if (!this.options.externalControlOnly)
+ this.element.stopObserving(pair.key, pair.value);
+ if (this.options.externalControl)
+ this.options.externalControl.stopObserving(pair.key, pair.value);
+ }.bind(this));
+ },
+ wrapUp: function(transport) {
+ this.leaveEditMode();
+ // Can't use triggerCallback due to backward compatibility: requires
+ // binding + direct element
+ this._boundComplete(transport, this.element);
+ }
+});
+
+Object.extend(Ajax.InPlaceEditor.prototype, {
+ dispose: Ajax.InPlaceEditor.prototype.destroy
+});
+
+Ajax.InPlaceCollectionEditor = Class.create(Ajax.InPlaceEditor, {
+ initialize: function($super, element, url, options) {
+ this._extraDefaultOptions = Ajax.InPlaceCollectionEditor.DefaultOptions;
+ $super(element, url, options);
+ },
+
+ createEditField: function() {
+ var list = document.createElement('select');
+ list.name = this.options.paramName;
+ list.size = 1;
+ this._controls.editor = list;
+ this._collection = this.options.collection || [];
+ if (this.options.loadCollectionURL)
+ this.loadCollection();
+ else
+ this.checkForExternalText();
+ this._form.appendChild(this._controls.editor);
+ },
+
+ loadCollection: function() {
+ this._form.addClassName(this.options.loadingClassName);
+ this.showLoadingText(this.options.loadingCollectionText);
+ var options = Object.extend({ method: 'get' }, this.options.ajaxOptions);
+ Object.extend(options, {
+ parameters: 'editorId=' + encodeURIComponent(this.element.id),
+ onComplete: Prototype.emptyFunction,
+ onSuccess: function(transport) {
+ var js = transport.responseText.strip();
+ if (!/^\[.*\]$/.test(js)) // TODO: improve sanity check
+ throw('Server returned an invalid collection representation.');
+ this._collection = eval(js);
+ this.checkForExternalText();
+ }.bind(this),
+ onFailure: this.onFailure
+ });
+ new Ajax.Request(this.options.loadCollectionURL, options);
+ },
+
+ showLoadingText: function(text) {
+ this._controls.editor.disabled = true;
+ var tempOption = this._controls.editor.firstChild;
+ if (!tempOption) {
+ tempOption = document.createElement('option');
+ tempOption.value = '';
+ this._controls.editor.appendChild(tempOption);
+ tempOption.selected = true;
+ }
+ tempOption.update((text || '').stripScripts().stripTags());
+ },
+
+ checkForExternalText: function() {
+ this._text = this.getText();
+ if (this.options.loadTextURL)
+ this.loadExternalText();
+ else
+ this.buildOptionList();
+ },
+
+ loadExternalText: function() {
+ this.showLoadingText(this.options.loadingText);
+ var options = Object.extend({ method: 'get' }, this.options.ajaxOptions);
+ Object.extend(options, {
+ parameters: 'editorId=' + encodeURIComponent(this.element.id),
+ onComplete: Prototype.emptyFunction,
+ onSuccess: function(transport) {
+ this._text = transport.responseText.strip();
+ this.buildOptionList();
+ }.bind(this),
+ onFailure: this.onFailure
+ });
+ new Ajax.Request(this.options.loadTextURL, options);
+ },
+
+ buildOptionList: function() {
+ this._form.removeClassName(this.options.loadingClassName);
+ this._collection = this._collection.map(function(entry) {
+ return 2 === entry.length ? entry : [entry, entry].flatten();
+ });
+ var marker = ('value' in this.options) ? this.options.value : this._text;
+ var textFound = this._collection.any(function(entry) {
+ return entry[0] == marker;
+ }.bind(this));
+ this._controls.editor.update('');
+ var option;
+ this._collection.each(function(entry, index) {
+ option = document.createElement('option');
+ option.value = entry[0];
+ option.selected = textFound ? entry[0] == marker : 0 == index;
+ option.appendChild(document.createTextNode(entry[1]));
+ this._controls.editor.appendChild(option);
+ }.bind(this));
+ this._controls.editor.disabled = false;
+ Field.scrollFreeActivate(this._controls.editor);
+ }
+});
+
+//**** DEPRECATION LAYER FOR InPlace[Collection]Editor! ****
+//**** This only exists for a while, in order to let ****
+//**** users adapt to the new API. Read up on the new ****
+//**** API and convert your code to it ASAP! ****
+
+Ajax.InPlaceEditor.prototype.initialize.dealWithDeprecatedOptions = function(options) {
+ if (!options) return;
+ function fallback(name, expr) {
+ if (name in options || expr === undefined) return;
+ options[name] = expr;
+ };
+ fallback('cancelControl', (options.cancelLink ? 'link' : (options.cancelButton ? 'button' :
+ options.cancelLink == options.cancelButton == false ? false : undefined)));
+ fallback('okControl', (options.okLink ? 'link' : (options.okButton ? 'button' :
+ options.okLink == options.okButton == false ? false : undefined)));
+ fallback('highlightColor', options.highlightcolor);
+ fallback('highlightEndColor', options.highlightendcolor);
+};
+
+Object.extend(Ajax.InPlaceEditor, {
+ DefaultOptions: {
+ ajaxOptions: { },
+ autoRows: 3, // Use when multi-line w/ rows == 1
+ cancelControl: 'link', // 'link'|'button'|false
+ cancelText: 'cancel',
+ clickToEditText: 'Click to edit',
+ externalControl: null, // id|elt
+ externalControlOnly: false,
+ fieldPostCreation: 'activate', // 'activate'|'focus'|false
+ formClassName: 'inplaceeditor-form',
+ formId: null, // id|elt
+ highlightColor: '#ffff99',
+ highlightEndColor: '#ffffff',
+ hoverClassName: '',
+ htmlResponse: true,
+ loadingClassName: 'inplaceeditor-loading',
+ loadingText: 'Loading...',
+ okControl: 'button', // 'link'|'button'|false
+ okText: 'ok',
+ paramName: 'value',
+ rows: 1, // If 1 and multi-line, uses autoRows
+ savingClassName: 'inplaceeditor-saving',
+ savingText: 'Saving...',
+ size: 0,
+ stripLoadedTextTags: false,
+ submitOnBlur: false,
+ textAfterControls: '',
+ textBeforeControls: '',
+ textBetweenControls: ''
+ },
+ DefaultCallbacks: {
+ callback: function(form) {
+ return Form.serialize(form);
+ },
+ onComplete: function(transport, element) {
+ // For backward compatibility, this one is bound to the IPE, and passes
+ // the element directly. It was too often customized, so we don't break it.
+ new Effect.Highlight(element, {
+ startcolor: this.options.highlightColor, keepBackgroundImage: true });
+ },
+ onEnterEditMode: null,
+ onEnterHover: function(ipe) {
+ ipe.element.style.backgroundColor = ipe.options.highlightColor;
+ if (ipe._effect)
+ ipe._effect.cancel();
+ },
+ onFailure: function(transport, ipe) {
+ alert('Error communication with the server: ' + transport.responseText.stripTags());
+ },
+ onFormCustomization: null, // Takes the IPE and its generated form, after editor, before controls.
+ onLeaveEditMode: null,
+ onLeaveHover: function(ipe) {
+ ipe._effect = new Effect.Highlight(ipe.element, {
+ startcolor: ipe.options.highlightColor, endcolor: ipe.options.highlightEndColor,
+ restorecolor: ipe._originalBackground, keepBackgroundImage: true
+ });
+ }
+ },
+ Listeners: {
+ click: 'enterEditMode',
+ keydown: 'checkForEscapeOrReturn',
+ mouseover: 'enterHover',
+ mouseout: 'leaveHover'
+ }
+});
+
+Ajax.InPlaceCollectionEditor.DefaultOptions = {
+ loadingCollectionText: 'Loading options...'
+};
+
+// Delayed observer, like Form.Element.Observer,
+// but waits for delay after last key input
+// Ideal for live-search fields
+
+Form.Element.DelayedObserver = Class.create({
+ initialize: function(element, delay, callback) {
+ this.delay = delay || 0.5;
+ this.element = $(element);
+ this.callback = callback;
+ this.timer = null;
+ this.lastValue = $F(this.element);
+ Event.observe(this.element,'keyup',this.delayedListener.bindAsEventListener(this));
+ },
+ delayedListener: function(event) {
+ if(this.lastValue == $F(this.element)) return;
+ if(this.timer) clearTimeout(this.timer);
+ this.timer = setTimeout(this.onTimerEvent.bind(this), this.delay * 1000);
+ this.lastValue = $F(this.element);
+ },
+ onTimerEvent: function() {
+ this.timer = null;
+ this.callback(this.element, $F(this.element));
+ }
+}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/dragdrop.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/dragdrop.js
new file mode 100644
index 00000000..9ebfe24d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/dragdrop.js
@@ -0,0 +1,974 @@
+// script.aculo.us dragdrop.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
+
+// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+//
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+if(Object.isUndefined(Effect))
+ throw("dragdrop.js requires including script.aculo.us' effects.js library");
+
+var Droppables = {
+ drops: [],
+
+ remove: function(element) {
+ this.drops = this.drops.reject(function(d) { return d.element==$(element) });
+ },
+
+ add: function(element) {
+ element = $(element);
+ var options = Object.extend({
+ greedy: true,
+ hoverclass: null,
+ tree: false
+ }, arguments[1] || { });
+
+ // cache containers
+ if(options.containment) {
+ options._containers = [];
+ var containment = options.containment;
+ if(Object.isArray(containment)) {
+ containment.each( function(c) { options._containers.push($(c)) });
+ } else {
+ options._containers.push($(containment));
+ }
+ }
+
+ if(options.accept) options.accept = [options.accept].flatten();
+
+ Element.makePositioned(element); // fix IE
+ options.element = element;
+
+ this.drops.push(options);
+ },
+
+ findDeepestChild: function(drops) {
+ deepest = drops[0];
+
+ for (i = 1; i < drops.length; ++i)
+ if (Element.isParent(drops[i].element, deepest.element))
+ deepest = drops[i];
+
+ return deepest;
+ },
+
+ isContained: function(element, drop) {
+ var containmentNode;
+ if(drop.tree) {
+ containmentNode = element.treeNode;
+ } else {
+ containmentNode = element.parentNode;
+ }
+ return drop._containers.detect(function(c) { return containmentNode == c });
+ },
+
+ isAffected: function(point, element, drop) {
+ return (
+ (drop.element!=element) &&
+ ((!drop._containers) ||
+ this.isContained(element, drop)) &&
+ ((!drop.accept) ||
+ (Element.classNames(element).detect(
+ function(v) { return drop.accept.include(v) } ) )) &&
+ Position.within(drop.element, point[0], point[1]) );
+ },
+
+ deactivate: function(drop) {
+ if(drop.hoverclass)
+ Element.removeClassName(drop.element, drop.hoverclass);
+ this.last_active = null;
+ },
+
+ activate: function(drop) {
+ if(drop.hoverclass)
+ Element.addClassName(drop.element, drop.hoverclass);
+ this.last_active = drop;
+ },
+
+ show: function(point, element) {
+ if(!this.drops.length) return;
+ var drop, affected = [];
+
+ this.drops.each( function(drop) {
+ if(Droppables.isAffected(point, element, drop))
+ affected.push(drop);
+ });
+
+ if(affected.length>0)
+ drop = Droppables.findDeepestChild(affected);
+
+ if(this.last_active && this.last_active != drop) this.deactivate(this.last_active);
+ if (drop) {
+ Position.within(drop.element, point[0], point[1]);
+ if(drop.onHover)
+ drop.onHover(element, drop.element, Position.overlap(drop.overlap, drop.element));
+
+ if (drop != this.last_active) Droppables.activate(drop);
+ }
+ },
+
+ fire: function(event, element) {
+ if(!this.last_active) return;
+ Position.prepare();
+
+ if (this.isAffected([Event.pointerX(event), Event.pointerY(event)], element, this.last_active))
+ if (this.last_active.onDrop) {
+ this.last_active.onDrop(element, this.last_active.element, event);
+ return true;
+ }
+ },
+
+ reset: function() {
+ if(this.last_active)
+ this.deactivate(this.last_active);
+ }
+};
+
+var Draggables = {
+ drags: [],
+ observers: [],
+
+ register: function(draggable) {
+ if(this.drags.length == 0) {
+ this.eventMouseUp = this.endDrag.bindAsEventListener(this);
+ this.eventMouseMove = this.updateDrag.bindAsEventListener(this);
+ this.eventKeypress = this.keyPress.bindAsEventListener(this);
+
+ Event.observe(document, "mouseup", this.eventMouseUp);
+ Event.observe(document, "mousemove", this.eventMouseMove);
+ Event.observe(document, "keypress", this.eventKeypress);
+ }
+ this.drags.push(draggable);
+ },
+
+ unregister: function(draggable) {
+ this.drags = this.drags.reject(function(d) { return d==draggable });
+ if(this.drags.length == 0) {
+ Event.stopObserving(document, "mouseup", this.eventMouseUp);
+ Event.stopObserving(document, "mousemove", this.eventMouseMove);
+ Event.stopObserving(document, "keypress", this.eventKeypress);
+ }
+ },
+
+ activate: function(draggable) {
+ if(draggable.options.delay) {
+ this._timeout = setTimeout(function() {
+ Draggables._timeout = null;
+ window.focus();
+ Draggables.activeDraggable = draggable;
+ }.bind(this), draggable.options.delay);
+ } else {
+ window.focus(); // allows keypress events if window isn't currently focused, fails for Safari
+ this.activeDraggable = draggable;
+ }
+ },
+
+ deactivate: function() {
+ this.activeDraggable = null;
+ },
+
+ updateDrag: function(event) {
+ if(!this.activeDraggable) return;
+ var pointer = [Event.pointerX(event), Event.pointerY(event)];
+ // Mozilla-based browsers fire successive mousemove events with
+ // the same coordinates, prevent needless redrawing (moz bug?)
+ if(this._lastPointer && (this._lastPointer.inspect() == pointer.inspect())) return;
+ this._lastPointer = pointer;
+
+ this.activeDraggable.updateDrag(event, pointer);
+ },
+
+ endDrag: function(event) {
+ if(this._timeout) {
+ clearTimeout(this._timeout);
+ this._timeout = null;
+ }
+ if(!this.activeDraggable) return;
+ this._lastPointer = null;
+ this.activeDraggable.endDrag(event);
+ this.activeDraggable = null;
+ },
+
+ keyPress: function(event) {
+ if(this.activeDraggable)
+ this.activeDraggable.keyPress(event);
+ },
+
+ addObserver: function(observer) {
+ this.observers.push(observer);
+ this._cacheObserverCallbacks();
+ },
+
+ removeObserver: function(element) { // element instead of observer fixes mem leaks
+ this.observers = this.observers.reject( function(o) { return o.element==element });
+ this._cacheObserverCallbacks();
+ },
+
+ notify: function(eventName, draggable, event) { // 'onStart', 'onEnd', 'onDrag'
+ if(this[eventName+'Count'] > 0)
+ this.observers.each( function(o) {
+ if(o[eventName]) o[eventName](eventName, draggable, event);
+ });
+ if(draggable.options[eventName]) draggable.options[eventName](draggable, event);
+ },
+
+ _cacheObserverCallbacks: function() {
+ ['onStart','onEnd','onDrag'].each( function(eventName) {
+ Draggables[eventName+'Count'] = Draggables.observers.select(
+ function(o) { return o[eventName]; }
+ ).length;
+ });
+ }
+};
+
+/*--------------------------------------------------------------------------*/
+
+var Draggable = Class.create({
+ initialize: function(element) {
+ var defaults = {
+ handle: false,
+ reverteffect: function(element, top_offset, left_offset) {
+ var dur = Math.sqrt(Math.abs(top_offset^2)+Math.abs(left_offset^2))*0.02;
+ new Effect.Move(element, { x: -left_offset, y: -top_offset, duration: dur,
+ queue: {scope:'_draggable', position:'end'}
+ });
+ },
+ endeffect: function(element) {
+ var toOpacity = Object.isNumber(element._opacity) ? element._opacity : 1.0;
+ new Effect.Opacity(element, {duration:0.2, from:0.7, to:toOpacity,
+ queue: {scope:'_draggable', position:'end'},
+ afterFinish: function(){
+ Draggable._dragging[element] = false
+ }
+ });
+ },
+ zindex: 1000,
+ revert: false,
+ quiet: false,
+ scroll: false,
+ scrollSensitivity: 20,
+ scrollSpeed: 15,
+ snap: false, // false, or xy or [x,y] or function(x,y){ return [x,y] }
+ delay: 0
+ };
+
+ if(!arguments[1] || Object.isUndefined(arguments[1].endeffect))
+ Object.extend(defaults, {
+ starteffect: function(element) {
+ element._opacity = Element.getOpacity(element);
+ Draggable._dragging[element] = true;
+ new Effect.Opacity(element, {duration:0.2, from:element._opacity, to:0.7});
+ }
+ });
+
+ var options = Object.extend(defaults, arguments[1] || { });
+
+ this.element = $(element);
+
+ if(options.handle && Object.isString(options.handle))
+ this.handle = this.element.down('.'+options.handle, 0);
+
+ if(!this.handle) this.handle = $(options.handle);
+ if(!this.handle) this.handle = this.element;
+
+ if(options.scroll && !options.scroll.scrollTo && !options.scroll.outerHTML) {
+ options.scroll = $(options.scroll);
+ this._isScrollChild = Element.childOf(this.element, options.scroll);
+ }
+
+ Element.makePositioned(this.element); // fix IE
+
+ this.options = options;
+ this.dragging = false;
+
+ this.eventMouseDown = this.initDrag.bindAsEventListener(this);
+ Event.observe(this.handle, "mousedown", this.eventMouseDown);
+
+ Draggables.register(this);
+ },
+
+ destroy: function() {
+ Event.stopObserving(this.handle, "mousedown", this.eventMouseDown);
+ Draggables.unregister(this);
+ },
+
+ currentDelta: function() {
+ return([
+ parseInt(Element.getStyle(this.element,'left') || '0'),
+ parseInt(Element.getStyle(this.element,'top') || '0')]);
+ },
+
+ initDrag: function(event) {
+ if(!Object.isUndefined(Draggable._dragging[this.element]) &&
+ Draggable._dragging[this.element]) return;
+ if(Event.isLeftClick(event)) {
+ // abort on form elements, fixes a Firefox issue
+ var src = Event.element(event);
+ if((tag_name = src.tagName.toUpperCase()) && (
+ tag_name=='INPUT' ||
+ tag_name=='SELECT' ||
+ tag_name=='OPTION' ||
+ tag_name=='BUTTON' ||
+ tag_name=='TEXTAREA')) return;
+
+ var pointer = [Event.pointerX(event), Event.pointerY(event)];
+ var pos = this.element.cumulativeOffset();
+ this.offset = [0,1].map( function(i) { return (pointer[i] - pos[i]) });
+
+ Draggables.activate(this);
+ Event.stop(event);
+ }
+ },
+
+ startDrag: function(event) {
+ this.dragging = true;
+ if(!this.delta)
+ this.delta = this.currentDelta();
+
+ if(this.options.zindex) {
+ this.originalZ = parseInt(Element.getStyle(this.element,'z-index') || 0);
+ this.element.style.zIndex = this.options.zindex;
+ }
+
+ if(this.options.ghosting) {
+ this._clone = this.element.cloneNode(true);
+ this._originallyAbsolute = (this.element.getStyle('position') == 'absolute');
+ if (!this._originallyAbsolute)
+ Position.absolutize(this.element);
+ this.element.parentNode.insertBefore(this._clone, this.element);
+ }
+
+ if(this.options.scroll) {
+ if (this.options.scroll == window) {
+ var where = this._getWindowScroll(this.options.scroll);
+ this.originalScrollLeft = where.left;
+ this.originalScrollTop = where.top;
+ } else {
+ this.originalScrollLeft = this.options.scroll.scrollLeft;
+ this.originalScrollTop = this.options.scroll.scrollTop;
+ }
+ }
+
+ Draggables.notify('onStart', this, event);
+
+ if(this.options.starteffect) this.options.starteffect(this.element);
+ },
+
+ updateDrag: function(event, pointer) {
+ if(!this.dragging) this.startDrag(event);
+
+ if(!this.options.quiet){
+ Position.prepare();
+ Droppables.show(pointer, this.element);
+ }
+
+ Draggables.notify('onDrag', this, event);
+
+ this.draw(pointer);
+ if(this.options.change) this.options.change(this);
+
+ if(this.options.scroll) {
+ this.stopScrolling();
+
+ var p;
+ if (this.options.scroll == window) {
+ with(this._getWindowScroll(this.options.scroll)) { p = [ left, top, left+width, top+height ]; }
+ } else {
+ p = Position.page(this.options.scroll).toArray();
+ p[0] += this.options.scroll.scrollLeft + Position.deltaX;
+ p[1] += this.options.scroll.scrollTop + Position.deltaY;
+ p.push(p[0]+this.options.scroll.offsetWidth);
+ p.push(p[1]+this.options.scroll.offsetHeight);
+ }
+ var speed = [0,0];
+ if(pointer[0] < (p[0]+this.options.scrollSensitivity)) speed[0] = pointer[0]-(p[0]+this.options.scrollSensitivity);
+ if(pointer[1] < (p[1]+this.options.scrollSensitivity)) speed[1] = pointer[1]-(p[1]+this.options.scrollSensitivity);
+ if(pointer[0] > (p[2]-this.options.scrollSensitivity)) speed[0] = pointer[0]-(p[2]-this.options.scrollSensitivity);
+ if(pointer[1] > (p[3]-this.options.scrollSensitivity)) speed[1] = pointer[1]-(p[3]-this.options.scrollSensitivity);
+ this.startScrolling(speed);
+ }
+
+ // fix AppleWebKit rendering
+ if(Prototype.Browser.WebKit) window.scrollBy(0,0);
+
+ Event.stop(event);
+ },
+
+ finishDrag: function(event, success) {
+ this.dragging = false;
+
+ if(this.options.quiet){
+ Position.prepare();
+ var pointer = [Event.pointerX(event), Event.pointerY(event)];
+ Droppables.show(pointer, this.element);
+ }
+
+ if(this.options.ghosting) {
+ if (!this._originallyAbsolute)
+ Position.relativize(this.element);
+ delete this._originallyAbsolute;
+ Element.remove(this._clone);
+ this._clone = null;
+ }
+
+ var dropped = false;
+ if(success) {
+ dropped = Droppables.fire(event, this.element);
+ if (!dropped) dropped = false;
+ }
+ if(dropped && this.options.onDropped) this.options.onDropped(this.element);
+ Draggables.notify('onEnd', this, event);
+
+ var revert = this.options.revert;
+ if(revert && Object.isFunction(revert)) revert = revert(this.element);
+
+ var d = this.currentDelta();
+ if(revert && this.options.reverteffect) {
+ if (dropped == 0 || revert != 'failure')
+ this.options.reverteffect(this.element,
+ d[1]-this.delta[1], d[0]-this.delta[0]);
+ } else {
+ this.delta = d;
+ }
+
+ if(this.options.zindex)
+ this.element.style.zIndex = this.originalZ;
+
+ if(this.options.endeffect)
+ this.options.endeffect(this.element);
+
+ Draggables.deactivate(this);
+ Droppables.reset();
+ },
+
+ keyPress: function(event) {
+ if(event.keyCode!=Event.KEY_ESC) return;
+ this.finishDrag(event, false);
+ Event.stop(event);
+ },
+
+ endDrag: function(event) {
+ if(!this.dragging) return;
+ this.stopScrolling();
+ this.finishDrag(event, true);
+ Event.stop(event);
+ },
+
+ draw: function(point) {
+ var pos = this.element.cumulativeOffset();
+ if(this.options.ghosting) {
+ var r = Position.realOffset(this.element);
+ pos[0] += r[0] - Position.deltaX; pos[1] += r[1] - Position.deltaY;
+ }
+
+ var d = this.currentDelta();
+ pos[0] -= d[0]; pos[1] -= d[1];
+
+ if(this.options.scroll && (this.options.scroll != window && this._isScrollChild)) {
+ pos[0] -= this.options.scroll.scrollLeft-this.originalScrollLeft;
+ pos[1] -= this.options.scroll.scrollTop-this.originalScrollTop;
+ }
+
+ var p = [0,1].map(function(i){
+ return (point[i]-pos[i]-this.offset[i])
+ }.bind(this));
+
+ if(this.options.snap) {
+ if(Object.isFunction(this.options.snap)) {
+ p = this.options.snap(p[0],p[1],this);
+ } else {
+ if(Object.isArray(this.options.snap)) {
+ p = p.map( function(v, i) {
+ return (v/this.options.snap[i]).round()*this.options.snap[i] }.bind(this));
+ } else {
+ p = p.map( function(v) {
+ return (v/this.options.snap).round()*this.options.snap }.bind(this));
+ }
+ }}
+
+ var style = this.element.style;
+ if((!this.options.constraint) || (this.options.constraint=='horizontal'))
+ style.left = p[0] + "px";
+ if((!this.options.constraint) || (this.options.constraint=='vertical'))
+ style.top = p[1] + "px";
+
+ if(style.visibility=="hidden") style.visibility = ""; // fix gecko rendering
+ },
+
+ stopScrolling: function() {
+ if(this.scrollInterval) {
+ clearInterval(this.scrollInterval);
+ this.scrollInterval = null;
+ Draggables._lastScrollPointer = null;
+ }
+ },
+
+ startScrolling: function(speed) {
+ if(!(speed[0] || speed[1])) return;
+ this.scrollSpeed = [speed[0]*this.options.scrollSpeed,speed[1]*this.options.scrollSpeed];
+ this.lastScrolled = new Date();
+ this.scrollInterval = setInterval(this.scroll.bind(this), 10);
+ },
+
+ scroll: function() {
+ var current = new Date();
+ var delta = current - this.lastScrolled;
+ this.lastScrolled = current;
+ if(this.options.scroll == window) {
+ with (this._getWindowScroll(this.options.scroll)) {
+ if (this.scrollSpeed[0] || this.scrollSpeed[1]) {
+ var d = delta / 1000;
+ this.options.scroll.scrollTo( left + d*this.scrollSpeed[0], top + d*this.scrollSpeed[1] );
+ }
+ }
+ } else {
+ this.options.scroll.scrollLeft += this.scrollSpeed[0] * delta / 1000;
+ this.options.scroll.scrollTop += this.scrollSpeed[1] * delta / 1000;
+ }
+
+ Position.prepare();
+ Droppables.show(Draggables._lastPointer, this.element);
+ Draggables.notify('onDrag', this);
+ if (this._isScrollChild) {
+ Draggables._lastScrollPointer = Draggables._lastScrollPointer || $A(Draggables._lastPointer);
+ Draggables._lastScrollPointer[0] += this.scrollSpeed[0] * delta / 1000;
+ Draggables._lastScrollPointer[1] += this.scrollSpeed[1] * delta / 1000;
+ if (Draggables._lastScrollPointer[0] < 0)
+ Draggables._lastScrollPointer[0] = 0;
+ if (Draggables._lastScrollPointer[1] < 0)
+ Draggables._lastScrollPointer[1] = 0;
+ this.draw(Draggables._lastScrollPointer);
+ }
+
+ if(this.options.change) this.options.change(this);
+ },
+
+ _getWindowScroll: function(w) {
+ var T, L, W, H;
+ with (w.document) {
+ if (w.document.documentElement && documentElement.scrollTop) {
+ T = documentElement.scrollTop;
+ L = documentElement.scrollLeft;
+ } else if (w.document.body) {
+ T = body.scrollTop;
+ L = body.scrollLeft;
+ }
+ if (w.innerWidth) {
+ W = w.innerWidth;
+ H = w.innerHeight;
+ } else if (w.document.documentElement && documentElement.clientWidth) {
+ W = documentElement.clientWidth;
+ H = documentElement.clientHeight;
+ } else {
+ W = body.offsetWidth;
+ H = body.offsetHeight;
+ }
+ }
+ return { top: T, left: L, width: W, height: H };
+ }
+});
+
+Draggable._dragging = { };
+
+/*--------------------------------------------------------------------------*/
+
+var SortableObserver = Class.create({
+ initialize: function(element, observer) {
+ this.element = $(element);
+ this.observer = observer;
+ this.lastValue = Sortable.serialize(this.element);
+ },
+
+ onStart: function() {
+ this.lastValue = Sortable.serialize(this.element);
+ },
+
+ onEnd: function() {
+ Sortable.unmark();
+ if(this.lastValue != Sortable.serialize(this.element))
+ this.observer(this.element)
+ }
+});
+
+var Sortable = {
+ SERIALIZE_RULE: /^[^_\-](?:[A-Za-z0-9\-\_]*)[_](.*)$/,
+
+ sortables: { },
+
+ _findRootElement: function(element) {
+ while (element.tagName.toUpperCase() != "BODY") {
+ if(element.id && Sortable.sortables[element.id]) return element;
+ element = element.parentNode;
+ }
+ },
+
+ options: function(element) {
+ element = Sortable._findRootElement($(element));
+ if(!element) return;
+ return Sortable.sortables[element.id];
+ },
+
+ destroy: function(element){
+ element = $(element);
+ var s = Sortable.sortables[element.id];
+
+ if(s) {
+ Draggables.removeObserver(s.element);
+ s.droppables.each(function(d){ Droppables.remove(d) });
+ s.draggables.invoke('destroy');
+
+ delete Sortable.sortables[s.element.id];
+ }
+ },
+
+ create: function(element) {
+ element = $(element);
+ var options = Object.extend({
+ element: element,
+ tag: 'li', // assumes li children, override with tag: 'tagname'
+ dropOnEmpty: false,
+ tree: false,
+ treeTag: 'ul',
+ overlap: 'vertical', // one of 'vertical', 'horizontal'
+ constraint: 'vertical', // one of 'vertical', 'horizontal', false
+ containment: element, // also takes array of elements (or id's); or false
+ handle: false, // or a CSS class
+ only: false,
+ delay: 0,
+ hoverclass: null,
+ ghosting: false,
+ quiet: false,
+ scroll: false,
+ scrollSensitivity: 20,
+ scrollSpeed: 15,
+ format: this.SERIALIZE_RULE,
+
+ // these take arrays of elements or ids and can be
+ // used for better initialization performance
+ elements: false,
+ handles: false,
+
+ onChange: Prototype.emptyFunction,
+ onUpdate: Prototype.emptyFunction
+ }, arguments[1] || { });
+
+ // clear any old sortable with same element
+ this.destroy(element);
+
+ // build options for the draggables
+ var options_for_draggable = {
+ revert: true,
+ quiet: options.quiet,
+ scroll: options.scroll,
+ scrollSpeed: options.scrollSpeed,
+ scrollSensitivity: options.scrollSensitivity,
+ delay: options.delay,
+ ghosting: options.ghosting,
+ constraint: options.constraint,
+ handle: options.handle };
+
+ if(options.starteffect)
+ options_for_draggable.starteffect = options.starteffect;
+
+ if(options.reverteffect)
+ options_for_draggable.reverteffect = options.reverteffect;
+ else
+ if(options.ghosting) options_for_draggable.reverteffect = function(element) {
+ element.style.top = 0;
+ element.style.left = 0;
+ };
+
+ if(options.endeffect)
+ options_for_draggable.endeffect = options.endeffect;
+
+ if(options.zindex)
+ options_for_draggable.zindex = options.zindex;
+
+ // build options for the droppables
+ var options_for_droppable = {
+ overlap: options.overlap,
+ containment: options.containment,
+ tree: options.tree,
+ hoverclass: options.hoverclass,
+ onHover: Sortable.onHover
+ };
+
+ var options_for_tree = {
+ onHover: Sortable.onEmptyHover,
+ overlap: options.overlap,
+ containment: options.containment,
+ hoverclass: options.hoverclass
+ };
+
+ // fix for gecko engine
+ Element.cleanWhitespace(element);
+
+ options.draggables = [];
+ options.droppables = [];
+
+ // drop on empty handling
+ if(options.dropOnEmpty || options.tree) {
+ Droppables.add(element, options_for_tree);
+ options.droppables.push(element);
+ }
+
+ (options.elements || this.findElements(element, options) || []).each( function(e,i) {
+ var handle = options.handles ? $(options.handles[i]) :
+ (options.handle ? $(e).select('.' + options.handle)[0] : e);
+ options.draggables.push(
+ new Draggable(e, Object.extend(options_for_draggable, { handle: handle })));
+ Droppables.add(e, options_for_droppable);
+ if(options.tree) e.treeNode = element;
+ options.droppables.push(e);
+ });
+
+ if(options.tree) {
+ (Sortable.findTreeElements(element, options) || []).each( function(e) {
+ Droppables.add(e, options_for_tree);
+ e.treeNode = element;
+ options.droppables.push(e);
+ });
+ }
+
+ // keep reference
+ this.sortables[element.identify()] = options;
+
+ // for onupdate
+ Draggables.addObserver(new SortableObserver(element, options.onUpdate));
+
+ },
+
+ // return all suitable-for-sortable elements in a guaranteed order
+ findElements: function(element, options) {
+ return Element.findChildren(
+ element, options.only, options.tree ? true : false, options.tag);
+ },
+
+ findTreeElements: function(element, options) {
+ return Element.findChildren(
+ element, options.only, options.tree ? true : false, options.treeTag);
+ },
+
+ onHover: function(element, dropon, overlap) {
+ if(Element.isParent(dropon, element)) return;
+
+ if(overlap > .33 && overlap < .66 && Sortable.options(dropon).tree) {
+ return;
+ } else if(overlap>0.5) {
+ Sortable.mark(dropon, 'before');
+ if(dropon.previousSibling != element) {
+ var oldParentNode = element.parentNode;
+ element.style.visibility = "hidden"; // fix gecko rendering
+ dropon.parentNode.insertBefore(element, dropon);
+ if(dropon.parentNode!=oldParentNode)
+ Sortable.options(oldParentNode).onChange(element);
+ Sortable.options(dropon.parentNode).onChange(element);
+ }
+ } else {
+ Sortable.mark(dropon, 'after');
+ var nextElement = dropon.nextSibling || null;
+ if(nextElement != element) {
+ var oldParentNode = element.parentNode;
+ element.style.visibility = "hidden"; // fix gecko rendering
+ dropon.parentNode.insertBefore(element, nextElement);
+ if(dropon.parentNode!=oldParentNode)
+ Sortable.options(oldParentNode).onChange(element);
+ Sortable.options(dropon.parentNode).onChange(element);
+ }
+ }
+ },
+
+ onEmptyHover: function(element, dropon, overlap) {
+ var oldParentNode = element.parentNode;
+ var droponOptions = Sortable.options(dropon);
+
+ if(!Element.isParent(dropon, element)) {
+ var index;
+
+ var children = Sortable.findElements(dropon, {tag: droponOptions.tag, only: droponOptions.only});
+ var child = null;
+
+ if(children) {
+ var offset = Element.offsetSize(dropon, droponOptions.overlap) * (1.0 - overlap);
+
+ for (index = 0; index < children.length; index += 1) {
+ if (offset - Element.offsetSize (children[index], droponOptions.overlap) >= 0) {
+ offset -= Element.offsetSize (children[index], droponOptions.overlap);
+ } else if (offset - (Element.offsetSize (children[index], droponOptions.overlap) / 2) >= 0) {
+ child = index + 1 < children.length ? children[index + 1] : null;
+ break;
+ } else {
+ child = children[index];
+ break;
+ }
+ }
+ }
+
+ dropon.insertBefore(element, child);
+
+ Sortable.options(oldParentNode).onChange(element);
+ droponOptions.onChange(element);
+ }
+ },
+
+ unmark: function() {
+ if(Sortable._marker) Sortable._marker.hide();
+ },
+
+ mark: function(dropon, position) {
+ // mark on ghosting only
+ var sortable = Sortable.options(dropon.parentNode);
+ if(sortable && !sortable.ghosting) return;
+
+ if(!Sortable._marker) {
+ Sortable._marker =
+ ($('dropmarker') || Element.extend(document.createElement('DIV'))).
+ hide().addClassName('dropmarker').setStyle({position:'absolute'});
+ document.getElementsByTagName("body").item(0).appendChild(Sortable._marker);
+ }
+ var offsets = dropon.cumulativeOffset();
+ Sortable._marker.setStyle({left: offsets[0]+'px', top: offsets[1] + 'px'});
+
+ if(position=='after')
+ if(sortable.overlap == 'horizontal')
+ Sortable._marker.setStyle({left: (offsets[0]+dropon.clientWidth) + 'px'});
+ else
+ Sortable._marker.setStyle({top: (offsets[1]+dropon.clientHeight) + 'px'});
+
+ Sortable._marker.show();
+ },
+
+ _tree: function(element, options, parent) {
+ var children = Sortable.findElements(element, options) || [];
+
+ for (var i = 0; i < children.length; ++i) {
+ var match = children[i].id.match(options.format);
+
+ if (!match) continue;
+
+ var child = {
+ id: encodeURIComponent(match ? match[1] : null),
+ element: element,
+ parent: parent,
+ children: [],
+ position: parent.children.length,
+ container: $(children[i]).down(options.treeTag)
+ };
+
+ /* Get the element containing the children and recurse over it */
+ if (child.container)
+ this._tree(child.container, options, child);
+
+ parent.children.push (child);
+ }
+
+ return parent;
+ },
+
+ tree: function(element) {
+ element = $(element);
+ var sortableOptions = this.options(element);
+ var options = Object.extend({
+ tag: sortableOptions.tag,
+ treeTag: sortableOptions.treeTag,
+ only: sortableOptions.only,
+ name: element.id,
+ format: sortableOptions.format
+ }, arguments[1] || { });
+
+ var root = {
+ id: null,
+ parent: null,
+ children: [],
+ container: element,
+ position: 0
+ };
+
+ return Sortable._tree(element, options, root);
+ },
+
+ /* Construct a [i] index for a particular node */
+ _constructIndex: function(node) {
+ var index = '';
+ do {
+ if (node.id) index = '[' + node.position + ']' + index;
+ } while ((node = node.parent) != null);
+ return index;
+ },
+
+ sequence: function(element) {
+ element = $(element);
+ var options = Object.extend(this.options(element), arguments[1] || { });
+
+ return $(this.findElements(element, options) || []).map( function(item) {
+ return item.id.match(options.format) ? item.id.match(options.format)[1] : '';
+ });
+ },
+
+ setSequence: function(element, new_sequence) {
+ element = $(element);
+ var options = Object.extend(this.options(element), arguments[2] || { });
+
+ var nodeMap = { };
+ this.findElements(element, options).each( function(n) {
+ if (n.id.match(options.format))
+ nodeMap[n.id.match(options.format)[1]] = [n, n.parentNode];
+ n.parentNode.removeChild(n);
+ });
+
+ new_sequence.each(function(ident) {
+ var n = nodeMap[ident];
+ if (n) {
+ n[1].appendChild(n[0]);
+ delete nodeMap[ident];
+ }
+ });
+ },
+
+ serialize: function(element) {
+ element = $(element);
+ var options = Object.extend(Sortable.options(element), arguments[1] || { });
+ var name = encodeURIComponent(
+ (arguments[1] && arguments[1].name) ? arguments[1].name : element.id);
+
+ if (options.tree) {
+ return Sortable.tree(element, arguments[1]).children.map( function (item) {
+ return [name + Sortable._constructIndex(item) + "[id]=" +
+ encodeURIComponent(item.id)].concat(item.children.map(arguments.callee));
+ }).flatten().join('&');
+ } else {
+ return Sortable.sequence(element, arguments[1]).map( function(item) {
+ return name + "[]=" + encodeURIComponent(item);
+ }).join('&');
+ }
+ }
+};
+
+// Returns true if child is contained within element
+Element.isParent = function(child, element) {
+ if (!child.parentNode || child == element) return false;
+ if (child.parentNode == element) return true;
+ return Element.isParent(child.parentNode, element);
+};
+
+Element.findChildren = function(element, only, recursive, tagName) {
+ if(!element.hasChildNodes()) return null;
+ tagName = tagName.toUpperCase();
+ if(only) only = [only].flatten();
+ var elements = [];
+ $A(element.childNodes).each( function(e) {
+ if(e.tagName && e.tagName.toUpperCase()==tagName &&
+ (!only || (Element.classNames(e).detect(function(v) { return only.include(v) }))))
+ elements.push(e);
+ if(recursive) {
+ var grandchildren = Element.findChildren(e, only, recursive, tagName);
+ if(grandchildren) elements.push(grandchildren);
+ }
+ });
+
+ return (elements.length>0 ? elements.flatten() : []);
+};
+
+Element.offsetSize = function (element, type) {
+ return element['offset' + ((type=='vertical' || type=='height') ? 'Height' : 'Width')];
+}; \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/effects.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/effects.js
new file mode 100644
index 00000000..860ddc09
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/effects.js
@@ -0,0 +1,1123 @@
+// script.aculo.us effects.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
+
+// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+// Contributors:
+// Justin Palmer (http://encytemedia.com/)
+// Mark Pilgrim (http://diveintomark.org/)
+// Martin Bialasinki
+//
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+// converts rgb() and #xxx to #xxxxxx format,
+// returns self (or first argument) if not convertable
+String.prototype.parseColor = function() {
+ var color = '#';
+ if (this.slice(0,4) == 'rgb(') {
+ var cols = this.slice(4,this.length-1).split(',');
+ var i=0; do { color += parseInt(cols[i]).toColorPart() } while (++i<3);
+ } else {
+ if (this.slice(0,1) == '#') {
+ if (this.length==4) for(var i=1;i<4;i++) color += (this.charAt(i) + this.charAt(i)).toLowerCase();
+ if (this.length==7) color = this.toLowerCase();
+ }
+ }
+ return (color.length==7 ? color : (arguments[0] || this));
+};
+
+/*--------------------------------------------------------------------------*/
+
+Element.collectTextNodes = function(element) {
+ return $A($(element).childNodes).collect( function(node) {
+ return (node.nodeType==3 ? node.nodeValue :
+ (node.hasChildNodes() ? Element.collectTextNodes(node) : ''));
+ }).flatten().join('');
+};
+
+Element.collectTextNodesIgnoreClass = function(element, className) {
+ return $A($(element).childNodes).collect( function(node) {
+ return (node.nodeType==3 ? node.nodeValue :
+ ((node.hasChildNodes() && !Element.hasClassName(node,className)) ?
+ Element.collectTextNodesIgnoreClass(node, className) : ''));
+ }).flatten().join('');
+};
+
+Element.setContentZoom = function(element, percent) {
+ element = $(element);
+ element.setStyle({fontSize: (percent/100) + 'em'});
+ if (Prototype.Browser.WebKit) window.scrollBy(0,0);
+ return element;
+};
+
+Element.getInlineOpacity = function(element){
+ return $(element).style.opacity || '';
+};
+
+Element.forceRerendering = function(element) {
+ try {
+ element = $(element);
+ var n = document.createTextNode(' ');
+ element.appendChild(n);
+ element.removeChild(n);
+ } catch(e) { }
+};
+
+/*--------------------------------------------------------------------------*/
+
+var Effect = {
+ _elementDoesNotExistError: {
+ name: 'ElementDoesNotExistError',
+ message: 'The specified DOM element does not exist, but is required for this effect to operate'
+ },
+ Transitions: {
+ linear: Prototype.K,
+ sinoidal: function(pos) {
+ return (-Math.cos(pos*Math.PI)/2) + .5;
+ },
+ reverse: function(pos) {
+ return 1-pos;
+ },
+ flicker: function(pos) {
+ var pos = ((-Math.cos(pos*Math.PI)/4) + .75) + Math.random()/4;
+ return pos > 1 ? 1 : pos;
+ },
+ wobble: function(pos) {
+ return (-Math.cos(pos*Math.PI*(9*pos))/2) + .5;
+ },
+ pulse: function(pos, pulses) {
+ return (-Math.cos((pos*((pulses||5)-.5)*2)*Math.PI)/2) + .5;
+ },
+ spring: function(pos) {
+ return 1 - (Math.cos(pos * 4.5 * Math.PI) * Math.exp(-pos * 6));
+ },
+ none: function(pos) {
+ return 0;
+ },
+ full: function(pos) {
+ return 1;
+ }
+ },
+ DefaultOptions: {
+ duration: 1.0, // seconds
+ fps: 100, // 100= assume 66fps max.
+ sync: false, // true for combining
+ from: 0.0,
+ to: 1.0,
+ delay: 0.0,
+ queue: 'parallel'
+ },
+ tagifyText: function(element) {
+ var tagifyStyle = 'position:relative';
+ if (Prototype.Browser.IE) tagifyStyle += ';zoom:1';
+
+ element = $(element);
+ $A(element.childNodes).each( function(child) {
+ if (child.nodeType==3) {
+ child.nodeValue.toArray().each( function(character) {
+ element.insertBefore(
+ new Element('span', {style: tagifyStyle}).update(
+ character == ' ' ? String.fromCharCode(160) : character),
+ child);
+ });
+ Element.remove(child);
+ }
+ });
+ },
+ multiple: function(element, effect) {
+ var elements;
+ if (((typeof element == 'object') ||
+ Object.isFunction(element)) &&
+ (element.length))
+ elements = element;
+ else
+ elements = $(element).childNodes;
+
+ var options = Object.extend({
+ speed: 0.1,
+ delay: 0.0
+ }, arguments[2] || { });
+ var masterDelay = options.delay;
+
+ $A(elements).each( function(element, index) {
+ new effect(element, Object.extend(options, { delay: index * options.speed + masterDelay }));
+ });
+ },
+ PAIRS: {
+ 'slide': ['SlideDown','SlideUp'],
+ 'blind': ['BlindDown','BlindUp'],
+ 'appear': ['Appear','Fade']
+ },
+ toggle: function(element, effect, options) {
+ element = $(element);
+ effect = (effect || 'appear').toLowerCase();
+
+ return Effect[ Effect.PAIRS[ effect ][ element.visible() ? 1 : 0 ] ](element, Object.extend({
+ queue: { position:'end', scope:(element.id || 'global'), limit: 1 }
+ }, options || {}));
+ }
+};
+
+Effect.DefaultOptions.transition = Effect.Transitions.sinoidal;
+
+/* ------------- core effects ------------- */
+
+Effect.ScopedQueue = Class.create(Enumerable, {
+ initialize: function() {
+ this.effects = [];
+ this.interval = null;
+ },
+ _each: function(iterator) {
+ this.effects._each(iterator);
+ },
+ add: function(effect) {
+ var timestamp = new Date().getTime();
+
+ var position = Object.isString(effect.options.queue) ?
+ effect.options.queue : effect.options.queue.position;
+
+ switch(position) {
+ case 'front':
+ // move unstarted effects after this effect
+ this.effects.findAll(function(e){ return e.state=='idle' }).each( function(e) {
+ e.startOn += effect.finishOn;
+ e.finishOn += effect.finishOn;
+ });
+ break;
+ case 'with-last':
+ timestamp = this.effects.pluck('startOn').max() || timestamp;
+ break;
+ case 'end':
+ // start effect after last queued effect has finished
+ timestamp = this.effects.pluck('finishOn').max() || timestamp;
+ break;
+ }
+
+ effect.startOn += timestamp;
+ effect.finishOn += timestamp;
+
+ if (!effect.options.queue.limit || (this.effects.length < effect.options.queue.limit))
+ this.effects.push(effect);
+
+ if (!this.interval)
+ this.interval = setInterval(this.loop.bind(this), 15);
+ },
+ remove: function(effect) {
+ this.effects = this.effects.reject(function(e) { return e==effect });
+ if (this.effects.length == 0) {
+ clearInterval(this.interval);
+ this.interval = null;
+ }
+ },
+ loop: function() {
+ var timePos = new Date().getTime();
+ for(var i=0, len=this.effects.length;i<len;i++)
+ this.effects[i] && this.effects[i].loop(timePos);
+ }
+});
+
+Effect.Queues = {
+ instances: $H(),
+ get: function(queueName) {
+ if (!Object.isString(queueName)) return queueName;
+
+ return this.instances.get(queueName) ||
+ this.instances.set(queueName, new Effect.ScopedQueue());
+ }
+};
+Effect.Queue = Effect.Queues.get('global');
+
+Effect.Base = Class.create({
+ position: null,
+ start: function(options) {
+ if (options && options.transition === false) options.transition = Effect.Transitions.linear;
+ this.options = Object.extend(Object.extend({ },Effect.DefaultOptions), options || { });
+ this.currentFrame = 0;
+ this.state = 'idle';
+ this.startOn = this.options.delay*1000;
+ this.finishOn = this.startOn+(this.options.duration*1000);
+ this.fromToDelta = this.options.to-this.options.from;
+ this.totalTime = this.finishOn-this.startOn;
+ this.totalFrames = this.options.fps*this.options.duration;
+
+ this.render = (function() {
+ function dispatch(effect, eventName) {
+ if (effect.options[eventName + 'Internal'])
+ effect.options[eventName + 'Internal'](effect);
+ if (effect.options[eventName])
+ effect.options[eventName](effect);
+ }
+
+ return function(pos) {
+ if (this.state === "idle") {
+ this.state = "running";
+ dispatch(this, 'beforeSetup');
+ if (this.setup) this.setup();
+ dispatch(this, 'afterSetup');
+ }
+ if (this.state === "running") {
+ pos = (this.options.transition(pos) * this.fromToDelta) + this.options.from;
+ this.position = pos;
+ dispatch(this, 'beforeUpdate');
+ if (this.update) this.update(pos);
+ dispatch(this, 'afterUpdate');
+ }
+ };
+ })();
+
+ this.event('beforeStart');
+ if (!this.options.sync)
+ Effect.Queues.get(Object.isString(this.options.queue) ?
+ 'global' : this.options.queue.scope).add(this);
+ },
+ loop: function(timePos) {
+ if (timePos >= this.startOn) {
+ if (timePos >= this.finishOn) {
+ this.render(1.0);
+ this.cancel();
+ this.event('beforeFinish');
+ if (this.finish) this.finish();
+ this.event('afterFinish');
+ return;
+ }
+ var pos = (timePos - this.startOn) / this.totalTime,
+ frame = (pos * this.totalFrames).round();
+ if (frame > this.currentFrame) {
+ this.render(pos);
+ this.currentFrame = frame;
+ }
+ }
+ },
+ cancel: function() {
+ if (!this.options.sync)
+ Effect.Queues.get(Object.isString(this.options.queue) ?
+ 'global' : this.options.queue.scope).remove(this);
+ this.state = 'finished';
+ },
+ event: function(eventName) {
+ if (this.options[eventName + 'Internal']) this.options[eventName + 'Internal'](this);
+ if (this.options[eventName]) this.options[eventName](this);
+ },
+ inspect: function() {
+ var data = $H();
+ for(property in this)
+ if (!Object.isFunction(this[property])) data.set(property, this[property]);
+ return '#<Effect:' + data.inspect() + ',options:' + $H(this.options).inspect() + '>';
+ }
+});
+
+Effect.Parallel = Class.create(Effect.Base, {
+ initialize: function(effects) {
+ this.effects = effects || [];
+ this.start(arguments[1]);
+ },
+ update: function(position) {
+ this.effects.invoke('render', position);
+ },
+ finish: function(position) {
+ this.effects.each( function(effect) {
+ effect.render(1.0);
+ effect.cancel();
+ effect.event('beforeFinish');
+ if (effect.finish) effect.finish(position);
+ effect.event('afterFinish');
+ });
+ }
+});
+
+Effect.Tween = Class.create(Effect.Base, {
+ initialize: function(object, from, to) {
+ object = Object.isString(object) ? $(object) : object;
+ var args = $A(arguments), method = args.last(),
+ options = args.length == 5 ? args[3] : null;
+ this.method = Object.isFunction(method) ? method.bind(object) :
+ Object.isFunction(object[method]) ? object[method].bind(object) :
+ function(value) { object[method] = value };
+ this.start(Object.extend({ from: from, to: to }, options || { }));
+ },
+ update: function(position) {
+ this.method(position);
+ }
+});
+
+Effect.Event = Class.create(Effect.Base, {
+ initialize: function() {
+ this.start(Object.extend({ duration: 0 }, arguments[0] || { }));
+ },
+ update: Prototype.emptyFunction
+});
+
+Effect.Opacity = Class.create(Effect.Base, {
+ initialize: function(element) {
+ this.element = $(element);
+ if (!this.element) throw(Effect._elementDoesNotExistError);
+ // make this work on IE on elements without 'layout'
+ if (Prototype.Browser.IE && (!this.element.currentStyle.hasLayout))
+ this.element.setStyle({zoom: 1});
+ var options = Object.extend({
+ from: this.element.getOpacity() || 0.0,
+ to: 1.0
+ }, arguments[1] || { });
+ this.start(options);
+ },
+ update: function(position) {
+ this.element.setOpacity(position);
+ }
+});
+
+Effect.Move = Class.create(Effect.Base, {
+ initialize: function(element) {
+ this.element = $(element);
+ if (!this.element) throw(Effect._elementDoesNotExistError);
+ var options = Object.extend({
+ x: 0,
+ y: 0,
+ mode: 'relative'
+ }, arguments[1] || { });
+ this.start(options);
+ },
+ setup: function() {
+ this.element.makePositioned();
+ this.originalLeft = parseFloat(this.element.getStyle('left') || '0');
+ this.originalTop = parseFloat(this.element.getStyle('top') || '0');
+ if (this.options.mode == 'absolute') {
+ this.options.x = this.options.x - this.originalLeft;
+ this.options.y = this.options.y - this.originalTop;
+ }
+ },
+ update: function(position) {
+ this.element.setStyle({
+ left: (this.options.x * position + this.originalLeft).round() + 'px',
+ top: (this.options.y * position + this.originalTop).round() + 'px'
+ });
+ }
+});
+
+// for backwards compatibility
+Effect.MoveBy = function(element, toTop, toLeft) {
+ return new Effect.Move(element,
+ Object.extend({ x: toLeft, y: toTop }, arguments[3] || { }));
+};
+
+Effect.Scale = Class.create(Effect.Base, {
+ initialize: function(element, percent) {
+ this.element = $(element);
+ if (!this.element) throw(Effect._elementDoesNotExistError);
+ var options = Object.extend({
+ scaleX: true,
+ scaleY: true,
+ scaleContent: true,
+ scaleFromCenter: false,
+ scaleMode: 'box', // 'box' or 'contents' or { } with provided values
+ scaleFrom: 100.0,
+ scaleTo: percent
+ }, arguments[2] || { });
+ this.start(options);
+ },
+ setup: function() {
+ this.restoreAfterFinish = this.options.restoreAfterFinish || false;
+ this.elementPositioning = this.element.getStyle('position');
+
+ this.originalStyle = { };
+ ['top','left','width','height','fontSize'].each( function(k) {
+ this.originalStyle[k] = this.element.style[k];
+ }.bind(this));
+
+ this.originalTop = this.element.offsetTop;
+ this.originalLeft = this.element.offsetLeft;
+
+ var fontSize = this.element.getStyle('font-size') || '100%';
+ ['em','px','%','pt'].each( function(fontSizeType) {
+ if (fontSize.indexOf(fontSizeType)>0) {
+ this.fontSize = parseFloat(fontSize);
+ this.fontSizeType = fontSizeType;
+ }
+ }.bind(this));
+
+ this.factor = (this.options.scaleTo - this.options.scaleFrom)/100;
+
+ this.dims = null;
+ if (this.options.scaleMode=='box')
+ this.dims = [this.element.offsetHeight, this.element.offsetWidth];
+ if (/^content/.test(this.options.scaleMode))
+ this.dims = [this.element.scrollHeight, this.element.scrollWidth];
+ if (!this.dims)
+ this.dims = [this.options.scaleMode.originalHeight,
+ this.options.scaleMode.originalWidth];
+ },
+ update: function(position) {
+ var currentScale = (this.options.scaleFrom/100.0) + (this.factor * position);
+ if (this.options.scaleContent && this.fontSize)
+ this.element.setStyle({fontSize: this.fontSize * currentScale + this.fontSizeType });
+ this.setDimensions(this.dims[0] * currentScale, this.dims[1] * currentScale);
+ },
+ finish: function(position) {
+ if (this.restoreAfterFinish) this.element.setStyle(this.originalStyle);
+ },
+ setDimensions: function(height, width) {
+ var d = { };
+ if (this.options.scaleX) d.width = width.round() + 'px';
+ if (this.options.scaleY) d.height = height.round() + 'px';
+ if (this.options.scaleFromCenter) {
+ var topd = (height - this.dims[0])/2;
+ var leftd = (width - this.dims[1])/2;
+ if (this.elementPositioning == 'absolute') {
+ if (this.options.scaleY) d.top = this.originalTop-topd + 'px';
+ if (this.options.scaleX) d.left = this.originalLeft-leftd + 'px';
+ } else {
+ if (this.options.scaleY) d.top = -topd + 'px';
+ if (this.options.scaleX) d.left = -leftd + 'px';
+ }
+ }
+ this.element.setStyle(d);
+ }
+});
+
+Effect.Highlight = Class.create(Effect.Base, {
+ initialize: function(element) {
+ this.element = $(element);
+ if (!this.element) throw(Effect._elementDoesNotExistError);
+ var options = Object.extend({ startcolor: '#ffff99' }, arguments[1] || { });
+ this.start(options);
+ },
+ setup: function() {
+ // Prevent executing on elements not in the layout flow
+ if (this.element.getStyle('display')=='none') { this.cancel(); return; }
+ // Disable background image during the effect
+ this.oldStyle = { };
+ if (!this.options.keepBackgroundImage) {
+ this.oldStyle.backgroundImage = this.element.getStyle('background-image');
+ this.element.setStyle({backgroundImage: 'none'});
+ }
+ if (!this.options.endcolor)
+ this.options.endcolor = this.element.getStyle('background-color').parseColor('#ffffff');
+ if (!this.options.restorecolor)
+ this.options.restorecolor = this.element.getStyle('background-color');
+ // init color calculations
+ this._base = $R(0,2).map(function(i){ return parseInt(this.options.startcolor.slice(i*2+1,i*2+3),16) }.bind(this));
+ this._delta = $R(0,2).map(function(i){ return parseInt(this.options.endcolor.slice(i*2+1,i*2+3),16)-this._base[i] }.bind(this));
+ },
+ update: function(position) {
+ this.element.setStyle({backgroundColor: $R(0,2).inject('#',function(m,v,i){
+ return m+((this._base[i]+(this._delta[i]*position)).round().toColorPart()); }.bind(this)) });
+ },
+ finish: function() {
+ this.element.setStyle(Object.extend(this.oldStyle, {
+ backgroundColor: this.options.restorecolor
+ }));
+ }
+});
+
+Effect.ScrollTo = function(element) {
+ var options = arguments[1] || { },
+ scrollOffsets = document.viewport.getScrollOffsets(),
+ elementOffsets = $(element).cumulativeOffset();
+
+ if (options.offset) elementOffsets[1] += options.offset;
+
+ return new Effect.Tween(null,
+ scrollOffsets.top,
+ elementOffsets[1],
+ options,
+ function(p){ scrollTo(scrollOffsets.left, p.round()); }
+ );
+};
+
+/* ------------- combination effects ------------- */
+
+Effect.Fade = function(element) {
+ element = $(element);
+ var oldOpacity = element.getInlineOpacity();
+ var options = Object.extend({
+ from: element.getOpacity() || 1.0,
+ to: 0.0,
+ afterFinishInternal: function(effect) {
+ if (effect.options.to!=0) return;
+ effect.element.hide().setStyle({opacity: oldOpacity});
+ }
+ }, arguments[1] || { });
+ return new Effect.Opacity(element,options);
+};
+
+Effect.Appear = function(element) {
+ element = $(element);
+ var options = Object.extend({
+ from: (element.getStyle('display') == 'none' ? 0.0 : element.getOpacity() || 0.0),
+ to: 1.0,
+ // force Safari to render floated elements properly
+ afterFinishInternal: function(effect) {
+ effect.element.forceRerendering();
+ },
+ beforeSetup: function(effect) {
+ effect.element.setOpacity(effect.options.from).show();
+ }}, arguments[1] || { });
+ return new Effect.Opacity(element,options);
+};
+
+Effect.Puff = function(element) {
+ element = $(element);
+ var oldStyle = {
+ opacity: element.getInlineOpacity(),
+ position: element.getStyle('position'),
+ top: element.style.top,
+ left: element.style.left,
+ width: element.style.width,
+ height: element.style.height
+ };
+ return new Effect.Parallel(
+ [ new Effect.Scale(element, 200,
+ { sync: true, scaleFromCenter: true, scaleContent: true, restoreAfterFinish: true }),
+ new Effect.Opacity(element, { sync: true, to: 0.0 } ) ],
+ Object.extend({ duration: 1.0,
+ beforeSetupInternal: function(effect) {
+ Position.absolutize(effect.effects[0].element);
+ },
+ afterFinishInternal: function(effect) {
+ effect.effects[0].element.hide().setStyle(oldStyle); }
+ }, arguments[1] || { })
+ );
+};
+
+Effect.BlindUp = function(element) {
+ element = $(element);
+ element.makeClipping();
+ return new Effect.Scale(element, 0,
+ Object.extend({ scaleContent: false,
+ scaleX: false,
+ restoreAfterFinish: true,
+ afterFinishInternal: function(effect) {
+ effect.element.hide().undoClipping();
+ }
+ }, arguments[1] || { })
+ );
+};
+
+Effect.BlindDown = function(element) {
+ element = $(element);
+ var elementDimensions = element.getDimensions();
+ return new Effect.Scale(element, 100, Object.extend({
+ scaleContent: false,
+ scaleX: false,
+ scaleFrom: 0,
+ scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width},
+ restoreAfterFinish: true,
+ afterSetup: function(effect) {
+ effect.element.makeClipping().setStyle({height: '0px'}).show();
+ },
+ afterFinishInternal: function(effect) {
+ effect.element.undoClipping();
+ }
+ }, arguments[1] || { }));
+};
+
+Effect.SwitchOff = function(element) {
+ element = $(element);
+ var oldOpacity = element.getInlineOpacity();
+ return new Effect.Appear(element, Object.extend({
+ duration: 0.4,
+ from: 0,
+ transition: Effect.Transitions.flicker,
+ afterFinishInternal: function(effect) {
+ new Effect.Scale(effect.element, 1, {
+ duration: 0.3, scaleFromCenter: true,
+ scaleX: false, scaleContent: false, restoreAfterFinish: true,
+ beforeSetup: function(effect) {
+ effect.element.makePositioned().makeClipping();
+ },
+ afterFinishInternal: function(effect) {
+ effect.element.hide().undoClipping().undoPositioned().setStyle({opacity: oldOpacity});
+ }
+ });
+ }
+ }, arguments[1] || { }));
+};
+
+Effect.DropOut = function(element) {
+ element = $(element);
+ var oldStyle = {
+ top: element.getStyle('top'),
+ left: element.getStyle('left'),
+ opacity: element.getInlineOpacity() };
+ return new Effect.Parallel(
+ [ new Effect.Move(element, {x: 0, y: 100, sync: true }),
+ new Effect.Opacity(element, { sync: true, to: 0.0 }) ],
+ Object.extend(
+ { duration: 0.5,
+ beforeSetup: function(effect) {
+ effect.effects[0].element.makePositioned();
+ },
+ afterFinishInternal: function(effect) {
+ effect.effects[0].element.hide().undoPositioned().setStyle(oldStyle);
+ }
+ }, arguments[1] || { }));
+};
+
+Effect.Shake = function(element) {
+ element = $(element);
+ var options = Object.extend({
+ distance: 20,
+ duration: 0.5
+ }, arguments[1] || {});
+ var distance = parseFloat(options.distance);
+ var split = parseFloat(options.duration) / 10.0;
+ var oldStyle = {
+ top: element.getStyle('top'),
+ left: element.getStyle('left') };
+ return new Effect.Move(element,
+ { x: distance, y: 0, duration: split, afterFinishInternal: function(effect) {
+ new Effect.Move(effect.element,
+ { x: -distance*2, y: 0, duration: split*2, afterFinishInternal: function(effect) {
+ new Effect.Move(effect.element,
+ { x: distance*2, y: 0, duration: split*2, afterFinishInternal: function(effect) {
+ new Effect.Move(effect.element,
+ { x: -distance*2, y: 0, duration: split*2, afterFinishInternal: function(effect) {
+ new Effect.Move(effect.element,
+ { x: distance*2, y: 0, duration: split*2, afterFinishInternal: function(effect) {
+ new Effect.Move(effect.element,
+ { x: -distance, y: 0, duration: split, afterFinishInternal: function(effect) {
+ effect.element.undoPositioned().setStyle(oldStyle);
+ }}); }}); }}); }}); }}); }});
+};
+
+Effect.SlideDown = function(element) {
+ element = $(element).cleanWhitespace();
+ // SlideDown need to have the content of the element wrapped in a container element with fixed height!
+ var oldInnerBottom = element.down().getStyle('bottom');
+ var elementDimensions = element.getDimensions();
+ return new Effect.Scale(element, 100, Object.extend({
+ scaleContent: false,
+ scaleX: false,
+ scaleFrom: window.opera ? 0 : 1,
+ scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width},
+ restoreAfterFinish: true,
+ afterSetup: function(effect) {
+ effect.element.makePositioned();
+ effect.element.down().makePositioned();
+ if (window.opera) effect.element.setStyle({top: ''});
+ effect.element.makeClipping().setStyle({height: '0px'}).show();
+ },
+ afterUpdateInternal: function(effect) {
+ effect.element.down().setStyle({bottom:
+ (effect.dims[0] - effect.element.clientHeight) + 'px' });
+ },
+ afterFinishInternal: function(effect) {
+ effect.element.undoClipping().undoPositioned();
+ effect.element.down().undoPositioned().setStyle({bottom: oldInnerBottom}); }
+ }, arguments[1] || { })
+ );
+};
+
+Effect.SlideUp = function(element) {
+ element = $(element).cleanWhitespace();
+ var oldInnerBottom = element.down().getStyle('bottom');
+ var elementDimensions = element.getDimensions();
+ return new Effect.Scale(element, window.opera ? 0 : 1,
+ Object.extend({ scaleContent: false,
+ scaleX: false,
+ scaleMode: 'box',
+ scaleFrom: 100,
+ scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width},
+ restoreAfterFinish: true,
+ afterSetup: function(effect) {
+ effect.element.makePositioned();
+ effect.element.down().makePositioned();
+ if (window.opera) effect.element.setStyle({top: ''});
+ effect.element.makeClipping().show();
+ },
+ afterUpdateInternal: function(effect) {
+ effect.element.down().setStyle({bottom:
+ (effect.dims[0] - effect.element.clientHeight) + 'px' });
+ },
+ afterFinishInternal: function(effect) {
+ effect.element.hide().undoClipping().undoPositioned();
+ effect.element.down().undoPositioned().setStyle({bottom: oldInnerBottom});
+ }
+ }, arguments[1] || { })
+ );
+};
+
+// Bug in opera makes the TD containing this element expand for a instance after finish
+Effect.Squish = function(element) {
+ return new Effect.Scale(element, window.opera ? 1 : 0, {
+ restoreAfterFinish: true,
+ beforeSetup: function(effect) {
+ effect.element.makeClipping();
+ },
+ afterFinishInternal: function(effect) {
+ effect.element.hide().undoClipping();
+ }
+ });
+};
+
+Effect.Grow = function(element) {
+ element = $(element);
+ var options = Object.extend({
+ direction: 'center',
+ moveTransition: Effect.Transitions.sinoidal,
+ scaleTransition: Effect.Transitions.sinoidal,
+ opacityTransition: Effect.Transitions.full
+ }, arguments[1] || { });
+ var oldStyle = {
+ top: element.style.top,
+ left: element.style.left,
+ height: element.style.height,
+ width: element.style.width,
+ opacity: element.getInlineOpacity() };
+
+ var dims = element.getDimensions();
+ var initialMoveX, initialMoveY;
+ var moveX, moveY;
+
+ switch (options.direction) {
+ case 'top-left':
+ initialMoveX = initialMoveY = moveX = moveY = 0;
+ break;
+ case 'top-right':
+ initialMoveX = dims.width;
+ initialMoveY = moveY = 0;
+ moveX = -dims.width;
+ break;
+ case 'bottom-left':
+ initialMoveX = moveX = 0;
+ initialMoveY = dims.height;
+ moveY = -dims.height;
+ break;
+ case 'bottom-right':
+ initialMoveX = dims.width;
+ initialMoveY = dims.height;
+ moveX = -dims.width;
+ moveY = -dims.height;
+ break;
+ case 'center':
+ initialMoveX = dims.width / 2;
+ initialMoveY = dims.height / 2;
+ moveX = -dims.width / 2;
+ moveY = -dims.height / 2;
+ break;
+ }
+
+ return new Effect.Move(element, {
+ x: initialMoveX,
+ y: initialMoveY,
+ duration: 0.01,
+ beforeSetup: function(effect) {
+ effect.element.hide().makeClipping().makePositioned();
+ },
+ afterFinishInternal: function(effect) {
+ new Effect.Parallel(
+ [ new Effect.Opacity(effect.element, { sync: true, to: 1.0, from: 0.0, transition: options.opacityTransition }),
+ new Effect.Move(effect.element, { x: moveX, y: moveY, sync: true, transition: options.moveTransition }),
+ new Effect.Scale(effect.element, 100, {
+ scaleMode: { originalHeight: dims.height, originalWidth: dims.width },
+ sync: true, scaleFrom: window.opera ? 1 : 0, transition: options.scaleTransition, restoreAfterFinish: true})
+ ], Object.extend({
+ beforeSetup: function(effect) {
+ effect.effects[0].element.setStyle({height: '0px'}).show();
+ },
+ afterFinishInternal: function(effect) {
+ effect.effects[0].element.undoClipping().undoPositioned().setStyle(oldStyle);
+ }
+ }, options)
+ );
+ }
+ });
+};
+
+Effect.Shrink = function(element) {
+ element = $(element);
+ var options = Object.extend({
+ direction: 'center',
+ moveTransition: Effect.Transitions.sinoidal,
+ scaleTransition: Effect.Transitions.sinoidal,
+ opacityTransition: Effect.Transitions.none
+ }, arguments[1] || { });
+ var oldStyle = {
+ top: element.style.top,
+ left: element.style.left,
+ height: element.style.height,
+ width: element.style.width,
+ opacity: element.getInlineOpacity() };
+
+ var dims = element.getDimensions();
+ var moveX, moveY;
+
+ switch (options.direction) {
+ case 'top-left':
+ moveX = moveY = 0;
+ break;
+ case 'top-right':
+ moveX = dims.width;
+ moveY = 0;
+ break;
+ case 'bottom-left':
+ moveX = 0;
+ moveY = dims.height;
+ break;
+ case 'bottom-right':
+ moveX = dims.width;
+ moveY = dims.height;
+ break;
+ case 'center':
+ moveX = dims.width / 2;
+ moveY = dims.height / 2;
+ break;
+ }
+
+ return new Effect.Parallel(
+ [ new Effect.Opacity(element, { sync: true, to: 0.0, from: 1.0, transition: options.opacityTransition }),
+ new Effect.Scale(element, window.opera ? 1 : 0, { sync: true, transition: options.scaleTransition, restoreAfterFinish: true}),
+ new Effect.Move(element, { x: moveX, y: moveY, sync: true, transition: options.moveTransition })
+ ], Object.extend({
+ beforeStartInternal: function(effect) {
+ effect.effects[0].element.makePositioned().makeClipping();
+ },
+ afterFinishInternal: function(effect) {
+ effect.effects[0].element.hide().undoClipping().undoPositioned().setStyle(oldStyle); }
+ }, options)
+ );
+};
+
+Effect.Pulsate = function(element) {
+ element = $(element);
+ var options = arguments[1] || { },
+ oldOpacity = element.getInlineOpacity(),
+ transition = options.transition || Effect.Transitions.linear,
+ reverser = function(pos){
+ return 1 - transition((-Math.cos((pos*(options.pulses||5)*2)*Math.PI)/2) + .5);
+ };
+
+ return new Effect.Opacity(element,
+ Object.extend(Object.extend({ duration: 2.0, from: 0,
+ afterFinishInternal: function(effect) { effect.element.setStyle({opacity: oldOpacity}); }
+ }, options), {transition: reverser}));
+};
+
+Effect.Fold = function(element) {
+ element = $(element);
+ var oldStyle = {
+ top: element.style.top,
+ left: element.style.left,
+ width: element.style.width,
+ height: element.style.height };
+ element.makeClipping();
+ return new Effect.Scale(element, 5, Object.extend({
+ scaleContent: false,
+ scaleX: false,
+ afterFinishInternal: function(effect) {
+ new Effect.Scale(element, 1, {
+ scaleContent: false,
+ scaleY: false,
+ afterFinishInternal: function(effect) {
+ effect.element.hide().undoClipping().setStyle(oldStyle);
+ } });
+ }}, arguments[1] || { }));
+};
+
+Effect.Morph = Class.create(Effect.Base, {
+ initialize: function(element) {
+ this.element = $(element);
+ if (!this.element) throw(Effect._elementDoesNotExistError);
+ var options = Object.extend({
+ style: { }
+ }, arguments[1] || { });
+
+ if (!Object.isString(options.style)) this.style = $H(options.style);
+ else {
+ if (options.style.include(':'))
+ this.style = options.style.parseStyle();
+ else {
+ this.element.addClassName(options.style);
+ this.style = $H(this.element.getStyles());
+ this.element.removeClassName(options.style);
+ var css = this.element.getStyles();
+ this.style = this.style.reject(function(style) {
+ return style.value == css[style.key];
+ });
+ options.afterFinishInternal = function(effect) {
+ effect.element.addClassName(effect.options.style);
+ effect.transforms.each(function(transform) {
+ effect.element.style[transform.style] = '';
+ });
+ };
+ }
+ }
+ this.start(options);
+ },
+
+ setup: function(){
+ function parseColor(color){
+ if (!color || ['rgba(0, 0, 0, 0)','transparent'].include(color)) color = '#ffffff';
+ color = color.parseColor();
+ return $R(0,2).map(function(i){
+ return parseInt( color.slice(i*2+1,i*2+3), 16 );
+ });
+ }
+ this.transforms = this.style.map(function(pair){
+ var property = pair[0], value = pair[1], unit = null;
+
+ if (value.parseColor('#zzzzzz') != '#zzzzzz') {
+ value = value.parseColor();
+ unit = 'color';
+ } else if (property == 'opacity') {
+ value = parseFloat(value);
+ if (Prototype.Browser.IE && (!this.element.currentStyle.hasLayout))
+ this.element.setStyle({zoom: 1});
+ } else if (Element.CSS_LENGTH.test(value)) {
+ var components = value.match(/^([\+\-]?[0-9\.]+)(.*)$/);
+ value = parseFloat(components[1]);
+ unit = (components.length == 3) ? components[2] : null;
+ }
+
+ var originalValue = this.element.getStyle(property);
+ return {
+ style: property.camelize(),
+ originalValue: unit=='color' ? parseColor(originalValue) : parseFloat(originalValue || 0),
+ targetValue: unit=='color' ? parseColor(value) : value,
+ unit: unit
+ };
+ }.bind(this)).reject(function(transform){
+ return (
+ (transform.originalValue == transform.targetValue) ||
+ (
+ transform.unit != 'color' &&
+ (isNaN(transform.originalValue) || isNaN(transform.targetValue))
+ )
+ );
+ });
+ },
+ update: function(position) {
+ var style = { }, transform, i = this.transforms.length;
+ while(i--)
+ style[(transform = this.transforms[i]).style] =
+ transform.unit=='color' ? '#'+
+ (Math.round(transform.originalValue[0]+
+ (transform.targetValue[0]-transform.originalValue[0])*position)).toColorPart() +
+ (Math.round(transform.originalValue[1]+
+ (transform.targetValue[1]-transform.originalValue[1])*position)).toColorPart() +
+ (Math.round(transform.originalValue[2]+
+ (transform.targetValue[2]-transform.originalValue[2])*position)).toColorPart() :
+ (transform.originalValue +
+ (transform.targetValue - transform.originalValue) * position).toFixed(3) +
+ (transform.unit === null ? '' : transform.unit);
+ this.element.setStyle(style, true);
+ }
+});
+
+Effect.Transform = Class.create({
+ initialize: function(tracks){
+ this.tracks = [];
+ this.options = arguments[1] || { };
+ this.addTracks(tracks);
+ },
+ addTracks: function(tracks){
+ tracks.each(function(track){
+ track = $H(track);
+ var data = track.values().first();
+ this.tracks.push($H({
+ ids: track.keys().first(),
+ effect: Effect.Morph,
+ options: { style: data }
+ }));
+ }.bind(this));
+ return this;
+ },
+ play: function(){
+ return new Effect.Parallel(
+ this.tracks.map(function(track){
+ var ids = track.get('ids'), effect = track.get('effect'), options = track.get('options');
+ var elements = [$(ids) || $$(ids)].flatten();
+ return elements.map(function(e){ return new effect(e, Object.extend({ sync:true }, options)) });
+ }).flatten(),
+ this.options
+ );
+ }
+});
+
+Element.CSS_PROPERTIES = $w(
+ 'backgroundColor backgroundPosition borderBottomColor borderBottomStyle ' +
+ 'borderBottomWidth borderLeftColor borderLeftStyle borderLeftWidth ' +
+ 'borderRightColor borderRightStyle borderRightWidth borderSpacing ' +
+ 'borderTopColor borderTopStyle borderTopWidth bottom clip color ' +
+ 'fontSize fontWeight height left letterSpacing lineHeight ' +
+ 'marginBottom marginLeft marginRight marginTop markerOffset maxHeight '+
+ 'maxWidth minHeight minWidth opacity outlineColor outlineOffset ' +
+ 'outlineWidth paddingBottom paddingLeft paddingRight paddingTop ' +
+ 'right textIndent top width wordSpacing zIndex');
+
+Element.CSS_LENGTH = /^(([\+\-]?[0-9\.]+)(em|ex|px|in|cm|mm|pt|pc|\%))|0$/;
+
+String.__parseStyleElement = document.createElement('div');
+String.prototype.parseStyle = function(){
+ var style, styleRules = $H();
+ if (Prototype.Browser.WebKit)
+ style = new Element('div',{style:this}).style;
+ else {
+ String.__parseStyleElement.innerHTML = '<div style="' + this + '"></div>';
+ style = String.__parseStyleElement.childNodes[0].style;
+ }
+
+ Element.CSS_PROPERTIES.each(function(property){
+ if (style[property]) styleRules.set(property, style[property]);
+ });
+
+ if (Prototype.Browser.IE && this.include('opacity'))
+ styleRules.set('opacity', this.match(/opacity:\s*((?:0|1)?(?:\.\d*)?)/)[1]);
+
+ return styleRules;
+};
+
+if (document.defaultView && document.defaultView.getComputedStyle) {
+ Element.getStyles = function(element) {
+ var css = document.defaultView.getComputedStyle($(element), null);
+ return Element.CSS_PROPERTIES.inject({ }, function(styles, property) {
+ styles[property] = css[property];
+ return styles;
+ });
+ };
+} else {
+ Element.getStyles = function(element) {
+ element = $(element);
+ var css = element.currentStyle, styles;
+ styles = Element.CSS_PROPERTIES.inject({ }, function(results, property) {
+ results[property] = css[property];
+ return results;
+ });
+ if (!styles.opacity) styles.opacity = element.getOpacity();
+ return styles;
+ };
+}
+
+Effect.Methods = {
+ morph: function(element, style) {
+ element = $(element);
+ new Effect.Morph(element, Object.extend({ style: style }, arguments[2] || { }));
+ return element;
+ },
+ visualEffect: function(element, effect, options) {
+ element = $(element);
+ var s = effect.dasherize().camelize(), klass = s.charAt(0).toUpperCase() + s.substring(1);
+ new Effect[klass](element, options);
+ return element;
+ },
+ highlight: function(element, options) {
+ element = $(element);
+ new Effect.Highlight(element, options);
+ return element;
+ }
+};
+
+$w('fade appear grow shrink fold blindUp blindDown slideUp slideDown '+
+ 'pulsate shake puff squish switchOff dropOut').each(
+ function(effect) {
+ Effect.Methods[effect] = function(element, options){
+ element = $(element);
+ Effect[effect.charAt(0).toUpperCase() + effect.substring(1)](element, options);
+ return element;
+ };
+ }
+);
+
+$w('getInlineOpacity forceRerendering setContentZoom collectTextNodes collectTextNodesIgnoreClass getStyles').each(
+ function(f) { Effect.Methods[f] = Element[f]; }
+);
+
+Element.addMethods(Effect.Methods); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/scriptaculous.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/scriptaculous.js
new file mode 100644
index 00000000..0ea5c445
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/scriptaculous.js
@@ -0,0 +1,68 @@
+// script.aculo.us scriptaculous.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
+
+// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+//
+// 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.
+//
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+var Scriptaculous = {
+ Version: '1.9.0',
+ require: function(libraryName) {
+ try{
+ // inserting via DOM fails in Safari 2.0, so brute force approach
+ document.write('<script type="text/javascript" src="'+libraryName+'"><\/script>');
+ } catch(e) {
+ // for xhtml+xml served content, fall back to DOM methods
+ var script = document.createElement('script');
+ script.type = 'text/javascript';
+ script.src = libraryName;
+ document.getElementsByTagName('head')[0].appendChild(script);
+ }
+ },
+ REQUIRED_PROTOTYPE: '1.6.0.3',
+ load: function() {
+ function convertVersionString(versionString) {
+ var v = versionString.replace(/_.*|\./g, '');
+ v = parseInt(v + '0'.times(4-v.length));
+ return versionString.indexOf('_') > -1 ? v-1 : v;
+ }
+
+ if((typeof Prototype=='undefined') ||
+ (typeof Element == 'undefined') ||
+ (typeof Element.Methods=='undefined') ||
+ (convertVersionString(Prototype.Version) <
+ convertVersionString(Scriptaculous.REQUIRED_PROTOTYPE)))
+ throw("script.aculo.us requires the Prototype JavaScript framework >= " +
+ Scriptaculous.REQUIRED_PROTOTYPE);
+
+ var js = /scriptaculous\.js(\?.*)?$/;
+ $$('script[src]').findAll(function(s) {
+ return s.src.match(js);
+ }).each(function(s) {
+ var path = s.src.replace(js, ''),
+ includes = s.src.match(/\?.*load=([a-z,]*)/);
+ (includes ? includes[1] : 'builder,effects,dragdrop,controls,slider,sound').split(',').each(
+ function(include) { Scriptaculous.require(path+include+'.js') });
+ });
+ }
+};
+
+Scriptaculous.load(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/slider.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/slider.js
new file mode 100644
index 00000000..438e6892
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/slider.js
@@ -0,0 +1,275 @@
+// script.aculo.us slider.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
+
+// Copyright (c) 2005-2010 Marty Haught, Thomas Fuchs
+//
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+if (!Control) var Control = { };
+
+// options:
+// axis: 'vertical', or 'horizontal' (default)
+//
+// callbacks:
+// onChange(value)
+// onSlide(value)
+Control.Slider = Class.create({
+ initialize: function(handle, track, options) {
+ var slider = this;
+
+ if (Object.isArray(handle)) {
+ this.handles = handle.collect( function(e) { return $(e) });
+ } else {
+ this.handles = [$(handle)];
+ }
+
+ this.track = $(track);
+ this.options = options || { };
+
+ this.axis = this.options.axis || 'horizontal';
+ this.increment = this.options.increment || 1;
+ this.step = parseInt(this.options.step || '1');
+ this.range = this.options.range || $R(0,1);
+
+ this.value = 0; // assure backwards compat
+ this.values = this.handles.map( function() { return 0 });
+ this.spans = this.options.spans ? this.options.spans.map(function(s){ return $(s) }) : false;
+ this.options.startSpan = $(this.options.startSpan || null);
+ this.options.endSpan = $(this.options.endSpan || null);
+
+ this.restricted = this.options.restricted || false;
+
+ this.maximum = this.options.maximum || this.range.end;
+ this.minimum = this.options.minimum || this.range.start;
+
+ // Will be used to align the handle onto the track, if necessary
+ this.alignX = parseInt(this.options.alignX || '0');
+ this.alignY = parseInt(this.options.alignY || '0');
+
+ this.trackLength = this.maximumOffset() - this.minimumOffset();
+
+ this.handleLength = this.isVertical() ?
+ (this.handles[0].offsetHeight != 0 ?
+ this.handles[0].offsetHeight : this.handles[0].style.height.replace(/px$/,"")) :
+ (this.handles[0].offsetWidth != 0 ? this.handles[0].offsetWidth :
+ this.handles[0].style.width.replace(/px$/,""));
+
+ this.active = false;
+ this.dragging = false;
+ this.disabled = false;
+
+ if (this.options.disabled) this.setDisabled();
+
+ // Allowed values array
+ this.allowedValues = this.options.values ? this.options.values.sortBy(Prototype.K) : false;
+ if (this.allowedValues) {
+ this.minimum = this.allowedValues.min();
+ this.maximum = this.allowedValues.max();
+ }
+
+ this.eventMouseDown = this.startDrag.bindAsEventListener(this);
+ this.eventMouseUp = this.endDrag.bindAsEventListener(this);
+ this.eventMouseMove = this.update.bindAsEventListener(this);
+
+ // Initialize handles in reverse (make sure first handle is active)
+ this.handles.each( function(h,i) {
+ i = slider.handles.length-1-i;
+ slider.setValue(parseFloat(
+ (Object.isArray(slider.options.sliderValue) ?
+ slider.options.sliderValue[i] : slider.options.sliderValue) ||
+ slider.range.start), i);
+ h.makePositioned().observe("mousedown", slider.eventMouseDown);
+ });
+
+ this.track.observe("mousedown", this.eventMouseDown);
+ document.observe("mouseup", this.eventMouseUp);
+ document.observe("mousemove", this.eventMouseMove);
+
+ this.initialized = true;
+ },
+ dispose: function() {
+ var slider = this;
+ Event.stopObserving(this.track, "mousedown", this.eventMouseDown);
+ Event.stopObserving(document, "mouseup", this.eventMouseUp);
+ Event.stopObserving(document, "mousemove", this.eventMouseMove);
+ this.handles.each( function(h) {
+ Event.stopObserving(h, "mousedown", slider.eventMouseDown);
+ });
+ },
+ setDisabled: function(){
+ this.disabled = true;
+ },
+ setEnabled: function(){
+ this.disabled = false;
+ },
+ getNearestValue: function(value){
+ if (this.allowedValues){
+ if (value >= this.allowedValues.max()) return(this.allowedValues.max());
+ if (value <= this.allowedValues.min()) return(this.allowedValues.min());
+
+ var offset = Math.abs(this.allowedValues[0] - value);
+ var newValue = this.allowedValues[0];
+ this.allowedValues.each( function(v) {
+ var currentOffset = Math.abs(v - value);
+ if (currentOffset <= offset){
+ newValue = v;
+ offset = currentOffset;
+ }
+ });
+ return newValue;
+ }
+ if (value > this.range.end) return this.range.end;
+ if (value < this.range.start) return this.range.start;
+ return value;
+ },
+ setValue: function(sliderValue, handleIdx){
+ if (!this.active) {
+ this.activeHandleIdx = handleIdx || 0;
+ this.activeHandle = this.handles[this.activeHandleIdx];
+ this.updateStyles();
+ }
+ handleIdx = handleIdx || this.activeHandleIdx || 0;
+ if (this.initialized && this.restricted) {
+ if ((handleIdx>0) && (sliderValue<this.values[handleIdx-1]))
+ sliderValue = this.values[handleIdx-1];
+ if ((handleIdx < (this.handles.length-1)) && (sliderValue>this.values[handleIdx+1]))
+ sliderValue = this.values[handleIdx+1];
+ }
+ sliderValue = this.getNearestValue(sliderValue);
+ this.values[handleIdx] = sliderValue;
+ this.value = this.values[0]; // assure backwards compat
+
+ this.handles[handleIdx].style[this.isVertical() ? 'top' : 'left'] =
+ this.translateToPx(sliderValue);
+
+ this.drawSpans();
+ if (!this.dragging || !this.event) this.updateFinished();
+ },
+ setValueBy: function(delta, handleIdx) {
+ this.setValue(this.values[handleIdx || this.activeHandleIdx || 0] + delta,
+ handleIdx || this.activeHandleIdx || 0);
+ },
+ translateToPx: function(value) {
+ return Math.round(
+ ((this.trackLength-this.handleLength)/(this.range.end-this.range.start)) *
+ (value - this.range.start)) + "px";
+ },
+ translateToValue: function(offset) {
+ return ((offset/(this.trackLength-this.handleLength) *
+ (this.range.end-this.range.start)) + this.range.start);
+ },
+ getRange: function(range) {
+ var v = this.values.sortBy(Prototype.K);
+ range = range || 0;
+ return $R(v[range],v[range+1]);
+ },
+ minimumOffset: function(){
+ return(this.isVertical() ? this.alignY : this.alignX);
+ },
+ maximumOffset: function(){
+ return(this.isVertical() ?
+ (this.track.offsetHeight != 0 ? this.track.offsetHeight :
+ this.track.style.height.replace(/px$/,"")) - this.alignY :
+ (this.track.offsetWidth != 0 ? this.track.offsetWidth :
+ this.track.style.width.replace(/px$/,"")) - this.alignX);
+ },
+ isVertical: function(){
+ return (this.axis == 'vertical');
+ },
+ drawSpans: function() {
+ var slider = this;
+ if (this.spans)
+ $R(0, this.spans.length-1).each(function(r) { slider.setSpan(slider.spans[r], slider.getRange(r)) });
+ if (this.options.startSpan)
+ this.setSpan(this.options.startSpan,
+ $R(0, this.values.length>1 ? this.getRange(0).min() : this.value ));
+ if (this.options.endSpan)
+ this.setSpan(this.options.endSpan,
+ $R(this.values.length>1 ? this.getRange(this.spans.length-1).max() : this.value, this.maximum));
+ },
+ setSpan: function(span, range) {
+ if (this.isVertical()) {
+ span.style.top = this.translateToPx(range.start);
+ span.style.height = this.translateToPx(range.end - range.start + this.range.start);
+ } else {
+ span.style.left = this.translateToPx(range.start);
+ span.style.width = this.translateToPx(range.end - range.start + this.range.start);
+ }
+ },
+ updateStyles: function() {
+ this.handles.each( function(h){ Element.removeClassName(h, 'selected') });
+ Element.addClassName(this.activeHandle, 'selected');
+ },
+ startDrag: function(event) {
+ if (Event.isLeftClick(event)) {
+ if (!this.disabled){
+ this.active = true;
+
+ var handle = Event.element(event);
+ var pointer = [Event.pointerX(event), Event.pointerY(event)];
+ var track = handle;
+ if (track==this.track) {
+ var offsets = this.track.cumulativeOffset();
+ this.event = event;
+ this.setValue(this.translateToValue(
+ (this.isVertical() ? pointer[1]-offsets[1] : pointer[0]-offsets[0])-(this.handleLength/2)
+ ));
+ var offsets = this.activeHandle.cumulativeOffset();
+ this.offsetX = (pointer[0] - offsets[0]);
+ this.offsetY = (pointer[1] - offsets[1]);
+ } else {
+ // find the handle (prevents issues with Safari)
+ while((this.handles.indexOf(handle) == -1) && handle.parentNode)
+ handle = handle.parentNode;
+
+ if (this.handles.indexOf(handle)!=-1) {
+ this.activeHandle = handle;
+ this.activeHandleIdx = this.handles.indexOf(this.activeHandle);
+ this.updateStyles();
+
+ var offsets = this.activeHandle.cumulativeOffset();
+ this.offsetX = (pointer[0] - offsets[0]);
+ this.offsetY = (pointer[1] - offsets[1]);
+ }
+ }
+ }
+ Event.stop(event);
+ }
+ },
+ update: function(event) {
+ if (this.active) {
+ if (!this.dragging) this.dragging = true;
+ this.draw(event);
+ if (Prototype.Browser.WebKit) window.scrollBy(0,0);
+ Event.stop(event);
+ }
+ },
+ draw: function(event) {
+ var pointer = [Event.pointerX(event), Event.pointerY(event)];
+ var offsets = this.track.cumulativeOffset();
+ pointer[0] -= this.offsetX + offsets[0];
+ pointer[1] -= this.offsetY + offsets[1];
+ this.event = event;
+ this.setValue(this.translateToValue( this.isVertical() ? pointer[1] : pointer[0] ));
+ if (this.initialized && this.options.onSlide)
+ this.options.onSlide(this.values.length>1 ? this.values : this.value, this);
+ },
+ endDrag: function(event) {
+ if (this.active && this.dragging) {
+ this.finishDrag(event, true);
+ Event.stop(event);
+ }
+ this.active = false;
+ this.dragging = false;
+ },
+ finishDrag: function(event, success) {
+ this.active = false;
+ this.dragging = false;
+ this.updateFinished();
+ },
+ updateFinished: function() {
+ if (this.initialized && this.options.onChange)
+ this.options.onChange(this.values.length>1 ? this.values : this.value, this);
+ this.event = null;
+ }
+}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/sound.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/sound.js
new file mode 100644
index 00000000..d3f84646
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/sound.js
@@ -0,0 +1,59 @@
+// script.aculo.us sound.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
+
+// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+//
+// Based on code created by Jules Gravinese (http://www.webveteran.com/)
+//
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+Sound = {
+ tracks: {},
+ _enabled: true,
+ template:
+ new Template('<embed style="height:0" id="sound_#{track}_#{id}" src="#{url}" loop="false" autostart="true" hidden="true"/>'),
+ enable: function(){
+ Sound._enabled = true;
+ },
+ disable: function(){
+ Sound._enabled = false;
+ },
+ play: function(url){
+ if(!Sound._enabled) return;
+ var options = Object.extend({
+ track: 'global', url: url, replace: false
+ }, arguments[1] || {});
+
+ if(options.replace && this.tracks[options.track]) {
+ $R(0, this.tracks[options.track].id).each(function(id){
+ var sound = $('sound_'+options.track+'_'+id);
+ sound.Stop && sound.Stop();
+ sound.remove();
+ });
+ this.tracks[options.track] = null;
+ }
+
+ if(!this.tracks[options.track])
+ this.tracks[options.track] = { id: 0 };
+ else
+ this.tracks[options.track].id++;
+
+ options.id = this.tracks[options.track].id;
+ $$('body')[0].insert(
+ Prototype.Browser.IE ? new Element('bgsound',{
+ id: 'sound_'+options.track+'_'+options.id,
+ src: options.url, loop: 1, autostart: true
+ }) : Sound.template.evaluate(options));
+ }
+};
+
+if(Prototype.Browser.Gecko && navigator.userAgent.indexOf("Win") > 0){
+ if(navigator.plugins && $A(navigator.plugins).detect(function(p){ return p.name.indexOf('QuickTime') != -1 }))
+ Sound.template = new Template('<object id="sound_#{track}_#{id}" width="0" height="0" type="audio/mpeg" data="#{url}"/>');
+ else if(navigator.plugins && $A(navigator.plugins).detect(function(p){ return p.name.indexOf('Windows Media') != -1 }))
+ Sound.template = new Template('<object id="sound_#{track}_#{id}" type="application/x-mplayer2" data="#{url}"></object>');
+ else if(navigator.plugins && $A(navigator.plugins).detect(function(p){ return p.name.indexOf('RealPlayer') != -1 }))
+ Sound.template = new Template('<embed type="audio/x-pn-realaudio-plugin" style="height:0" id="sound_#{track}_#{id}" src="#{url}" loop="false" autostart="true" hidden="true"/>');
+ else
+ Sound.play = function(){};
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/unittest.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/unittest.js
new file mode 100644
index 00000000..9555c22c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/scriptaculous/unittest.js
@@ -0,0 +1,568 @@
+// script.aculo.us unittest.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
+
+// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+// (c) 2005-2010 Jon Tirsen (http://www.tirsen.com)
+// (c) 2005-2010 Michael Schuerig (http://www.schuerig.de/michael/)
+//
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+// experimental, Firefox-only
+Event.simulateMouse = function(element, eventName) {
+ var options = Object.extend({
+ pointerX: 0,
+ pointerY: 0,
+ buttons: 0,
+ ctrlKey: false,
+ altKey: false,
+ shiftKey: false,
+ metaKey: false
+ }, arguments[2] || {});
+ var oEvent = document.createEvent("MouseEvents");
+ oEvent.initMouseEvent(eventName, true, true, document.defaultView,
+ options.buttons, options.pointerX, options.pointerY, options.pointerX, options.pointerY,
+ options.ctrlKey, options.altKey, options.shiftKey, options.metaKey, 0, $(element));
+
+ if(this.mark) Element.remove(this.mark);
+ this.mark = document.createElement('div');
+ this.mark.appendChild(document.createTextNode(" "));
+ document.body.appendChild(this.mark);
+ this.mark.style.position = 'absolute';
+ this.mark.style.top = options.pointerY + "px";
+ this.mark.style.left = options.pointerX + "px";
+ this.mark.style.width = "5px";
+ this.mark.style.height = "5px;";
+ this.mark.style.borderTop = "1px solid red;";
+ this.mark.style.borderLeft = "1px solid red;";
+
+ if(this.step)
+ alert('['+new Date().getTime().toString()+'] '+eventName+'/'+Test.Unit.inspect(options));
+
+ $(element).dispatchEvent(oEvent);
+};
+
+// Note: Due to a fix in Firefox 1.0.5/6 that probably fixed "too much", this doesn't work in 1.0.6 or DP2.
+// You need to downgrade to 1.0.4 for now to get this working
+// See https://bugzilla.mozilla.org/show_bug.cgi?id=289940 for the fix that fixed too much
+Event.simulateKey = function(element, eventName) {
+ var options = Object.extend({
+ ctrlKey: false,
+ altKey: false,
+ shiftKey: false,
+ metaKey: false,
+ keyCode: 0,
+ charCode: 0
+ }, arguments[2] || {});
+
+ var oEvent = document.createEvent("KeyEvents");
+ oEvent.initKeyEvent(eventName, true, true, window,
+ options.ctrlKey, options.altKey, options.shiftKey, options.metaKey,
+ options.keyCode, options.charCode );
+ $(element).dispatchEvent(oEvent);
+};
+
+Event.simulateKeys = function(element, command) {
+ for(var i=0; i<command.length; i++) {
+ Event.simulateKey(element,'keypress',{charCode:command.charCodeAt(i)});
+ }
+};
+
+var Test = {};
+Test.Unit = {};
+
+// security exception workaround
+Test.Unit.inspect = Object.inspect;
+
+Test.Unit.Logger = Class.create();
+Test.Unit.Logger.prototype = {
+ initialize: function(log) {
+ this.log = $(log);
+ if (this.log) {
+ this._createLogTable();
+ }
+ },
+ start: function(testName) {
+ if (!this.log) return;
+ this.testName = testName;
+ this.lastLogLine = document.createElement('tr');
+ this.statusCell = document.createElement('td');
+ this.nameCell = document.createElement('td');
+ this.nameCell.className = "nameCell";
+ this.nameCell.appendChild(document.createTextNode(testName));
+ this.messageCell = document.createElement('td');
+ this.lastLogLine.appendChild(this.statusCell);
+ this.lastLogLine.appendChild(this.nameCell);
+ this.lastLogLine.appendChild(this.messageCell);
+ this.loglines.appendChild(this.lastLogLine);
+ },
+ finish: function(status, summary) {
+ if (!this.log) return;
+ this.lastLogLine.className = status;
+ this.statusCell.innerHTML = status;
+ this.messageCell.innerHTML = this._toHTML(summary);
+ this.addLinksToResults();
+ },
+ message: function(message) {
+ if (!this.log) return;
+ this.messageCell.innerHTML = this._toHTML(message);
+ },
+ summary: function(summary) {
+ if (!this.log) return;
+ this.logsummary.innerHTML = this._toHTML(summary);
+ },
+ _createLogTable: function() {
+ this.log.innerHTML =
+ '<div id="logsummary"></div>' +
+ '<table id="logtable">' +
+ '<thead><tr><th>Status</th><th>Test</th><th>Message</th></tr></thead>' +
+ '<tbody id="loglines"></tbody>' +
+ '</table>';
+ this.logsummary = $('logsummary');
+ this.loglines = $('loglines');
+ },
+ _toHTML: function(txt) {
+ return txt.escapeHTML().replace(/\n/g,"<br/>");
+ },
+ addLinksToResults: function(){
+ $$("tr.failed .nameCell").each( function(td){ // todo: limit to children of this.log
+ td.title = "Run only this test";
+ Event.observe(td, 'click', function(){ window.location.search = "?tests=" + td.innerHTML;});
+ });
+ $$("tr.passed .nameCell").each( function(td){ // todo: limit to children of this.log
+ td.title = "Run all tests";
+ Event.observe(td, 'click', function(){ window.location.search = "";});
+ });
+ }
+};
+
+Test.Unit.Runner = Class.create();
+Test.Unit.Runner.prototype = {
+ initialize: function(testcases) {
+ this.options = Object.extend({
+ testLog: 'testlog'
+ }, arguments[1] || {});
+ this.options.resultsURL = this.parseResultsURLQueryParameter();
+ this.options.tests = this.parseTestsQueryParameter();
+ if (this.options.testLog) {
+ this.options.testLog = $(this.options.testLog) || null;
+ }
+ if(this.options.tests) {
+ this.tests = [];
+ for(var i = 0; i < this.options.tests.length; i++) {
+ if(/^test/.test(this.options.tests[i])) {
+ this.tests.push(new Test.Unit.Testcase(this.options.tests[i], testcases[this.options.tests[i]], testcases["setup"], testcases["teardown"]));
+ }
+ }
+ } else {
+ if (this.options.test) {
+ this.tests = [new Test.Unit.Testcase(this.options.test, testcases[this.options.test], testcases["setup"], testcases["teardown"])];
+ } else {
+ this.tests = [];
+ for(var testcase in testcases) {
+ if(/^test/.test(testcase)) {
+ this.tests.push(
+ new Test.Unit.Testcase(
+ this.options.context ? ' -> ' + this.options.titles[testcase] : testcase,
+ testcases[testcase], testcases["setup"], testcases["teardown"]
+ ));
+ }
+ }
+ }
+ }
+ this.currentTest = 0;
+ this.logger = new Test.Unit.Logger(this.options.testLog);
+ setTimeout(this.runTests.bind(this), 1000);
+ },
+ parseResultsURLQueryParameter: function() {
+ return window.location.search.parseQuery()["resultsURL"];
+ },
+ parseTestsQueryParameter: function(){
+ if (window.location.search.parseQuery()["tests"]){
+ return window.location.search.parseQuery()["tests"].split(',');
+ };
+ },
+ // Returns:
+ // "ERROR" if there was an error,
+ // "FAILURE" if there was a failure, or
+ // "SUCCESS" if there was neither
+ getResult: function() {
+ var hasFailure = false;
+ for(var i=0;i<this.tests.length;i++) {
+ if (this.tests[i].errors > 0) {
+ return "ERROR";
+ }
+ if (this.tests[i].failures > 0) {
+ hasFailure = true;
+ }
+ }
+ if (hasFailure) {
+ return "FAILURE";
+ } else {
+ return "SUCCESS";
+ }
+ },
+ postResults: function() {
+ if (this.options.resultsURL) {
+ new Ajax.Request(this.options.resultsURL,
+ { method: 'get', parameters: 'result=' + this.getResult(), asynchronous: false });
+ }
+ },
+ runTests: function() {
+ var test = this.tests[this.currentTest];
+ if (!test) {
+ // finished!
+ this.postResults();
+ this.logger.summary(this.summary());
+ return;
+ }
+ if(!test.isWaiting) {
+ this.logger.start(test.name);
+ }
+ test.run();
+ if(test.isWaiting) {
+ this.logger.message("Waiting for " + test.timeToWait + "ms");
+ setTimeout(this.runTests.bind(this), test.timeToWait || 1000);
+ } else {
+ this.logger.finish(test.status(), test.summary());
+ this.currentTest++;
+ // tail recursive, hopefully the browser will skip the stackframe
+ this.runTests();
+ }
+ },
+ summary: function() {
+ var assertions = 0;
+ var failures = 0;
+ var errors = 0;
+ var messages = [];
+ for(var i=0;i<this.tests.length;i++) {
+ assertions += this.tests[i].assertions;
+ failures += this.tests[i].failures;
+ errors += this.tests[i].errors;
+ }
+ return (
+ (this.options.context ? this.options.context + ': ': '') +
+ this.tests.length + " tests, " +
+ assertions + " assertions, " +
+ failures + " failures, " +
+ errors + " errors");
+ }
+};
+
+Test.Unit.Assertions = Class.create();
+Test.Unit.Assertions.prototype = {
+ initialize: function() {
+ this.assertions = 0;
+ this.failures = 0;
+ this.errors = 0;
+ this.messages = [];
+ },
+ summary: function() {
+ return (
+ this.assertions + " assertions, " +
+ this.failures + " failures, " +
+ this.errors + " errors" + "\n" +
+ this.messages.join("\n"));
+ },
+ pass: function() {
+ this.assertions++;
+ },
+ fail: function(message) {
+ this.failures++;
+ this.messages.push("Failure: " + message);
+ },
+ info: function(message) {
+ this.messages.push("Info: " + message);
+ },
+ error: function(error) {
+ this.errors++;
+ this.messages.push(error.name + ": "+ error.message + "(" + Test.Unit.inspect(error) +")");
+ },
+ status: function() {
+ if (this.failures > 0) return 'failed';
+ if (this.errors > 0) return 'error';
+ return 'passed';
+ },
+ assert: function(expression) {
+ var message = arguments[1] || 'assert: got "' + Test.Unit.inspect(expression) + '"';
+ try { expression ? this.pass() :
+ this.fail(message); }
+ catch(e) { this.error(e); }
+ },
+ assertEqual: function(expected, actual) {
+ var message = arguments[2] || "assertEqual";
+ try { (expected == actual) ? this.pass() :
+ this.fail(message + ': expected "' + Test.Unit.inspect(expected) +
+ '", actual "' + Test.Unit.inspect(actual) + '"'); }
+ catch(e) { this.error(e); }
+ },
+ assertInspect: function(expected, actual) {
+ var message = arguments[2] || "assertInspect";
+ try { (expected == actual.inspect()) ? this.pass() :
+ this.fail(message + ': expected "' + Test.Unit.inspect(expected) +
+ '", actual "' + Test.Unit.inspect(actual) + '"'); }
+ catch(e) { this.error(e); }
+ },
+ assertEnumEqual: function(expected, actual) {
+ var message = arguments[2] || "assertEnumEqual";
+ try { $A(expected).length == $A(actual).length &&
+ expected.zip(actual).all(function(pair) { return pair[0] == pair[1] }) ?
+ this.pass() : this.fail(message + ': expected ' + Test.Unit.inspect(expected) +
+ ', actual ' + Test.Unit.inspect(actual)); }
+ catch(e) { this.error(e); }
+ },
+ assertNotEqual: function(expected, actual) {
+ var message = arguments[2] || "assertNotEqual";
+ try { (expected != actual) ? this.pass() :
+ this.fail(message + ': got "' + Test.Unit.inspect(actual) + '"'); }
+ catch(e) { this.error(e); }
+ },
+ assertIdentical: function(expected, actual) {
+ var message = arguments[2] || "assertIdentical";
+ try { (expected === actual) ? this.pass() :
+ this.fail(message + ': expected "' + Test.Unit.inspect(expected) +
+ '", actual "' + Test.Unit.inspect(actual) + '"'); }
+ catch(e) { this.error(e); }
+ },
+ assertNotIdentical: function(expected, actual) {
+ var message = arguments[2] || "assertNotIdentical";
+ try { !(expected === actual) ? this.pass() :
+ this.fail(message + ': expected "' + Test.Unit.inspect(expected) +
+ '", actual "' + Test.Unit.inspect(actual) + '"'); }
+ catch(e) { this.error(e); }
+ },
+ assertNull: function(obj) {
+ var message = arguments[1] || 'assertNull';
+ try { (obj==null) ? this.pass() :
+ this.fail(message + ': got "' + Test.Unit.inspect(obj) + '"'); }
+ catch(e) { this.error(e); }
+ },
+ assertMatch: function(expected, actual) {
+ var message = arguments[2] || 'assertMatch';
+ var regex = new RegExp(expected);
+ try { (regex.exec(actual)) ? this.pass() :
+ this.fail(message + ' : regex: "' + Test.Unit.inspect(expected) + ' did not match: ' + Test.Unit.inspect(actual) + '"'); }
+ catch(e) { this.error(e); }
+ },
+ assertHidden: function(element) {
+ var message = arguments[1] || 'assertHidden';
+ this.assertEqual("none", element.style.display, message);
+ },
+ assertNotNull: function(object) {
+ var message = arguments[1] || 'assertNotNull';
+ this.assert(object != null, message);
+ },
+ assertType: function(expected, actual) {
+ var message = arguments[2] || 'assertType';
+ try {
+ (actual.constructor == expected) ? this.pass() :
+ this.fail(message + ': expected "' + Test.Unit.inspect(expected) +
+ '", actual "' + (actual.constructor) + '"'); }
+ catch(e) { this.error(e); }
+ },
+ assertNotOfType: function(expected, actual) {
+ var message = arguments[2] || 'assertNotOfType';
+ try {
+ (actual.constructor != expected) ? this.pass() :
+ this.fail(message + ': expected "' + Test.Unit.inspect(expected) +
+ '", actual "' + (actual.constructor) + '"'); }
+ catch(e) { this.error(e); }
+ },
+ assertInstanceOf: function(expected, actual) {
+ var message = arguments[2] || 'assertInstanceOf';
+ try {
+ (actual instanceof expected) ? this.pass() :
+ this.fail(message + ": object was not an instance of the expected type"); }
+ catch(e) { this.error(e); }
+ },
+ assertNotInstanceOf: function(expected, actual) {
+ var message = arguments[2] || 'assertNotInstanceOf';
+ try {
+ !(actual instanceof expected) ? this.pass() :
+ this.fail(message + ": object was an instance of the not expected type"); }
+ catch(e) { this.error(e); }
+ },
+ assertRespondsTo: function(method, obj) {
+ var message = arguments[2] || 'assertRespondsTo';
+ try {
+ (obj[method] && typeof obj[method] == 'function') ? this.pass() :
+ this.fail(message + ": object doesn't respond to [" + method + "]"); }
+ catch(e) { this.error(e); }
+ },
+ assertReturnsTrue: function(method, obj) {
+ var message = arguments[2] || 'assertReturnsTrue';
+ try {
+ var m = obj[method];
+ if(!m) m = obj['is'+method.charAt(0).toUpperCase()+method.slice(1)];
+ m() ? this.pass() :
+ this.fail(message + ": method returned false"); }
+ catch(e) { this.error(e); }
+ },
+ assertReturnsFalse: function(method, obj) {
+ var message = arguments[2] || 'assertReturnsFalse';
+ try {
+ var m = obj[method];
+ if(!m) m = obj['is'+method.charAt(0).toUpperCase()+method.slice(1)];
+ !m() ? this.pass() :
+ this.fail(message + ": method returned true"); }
+ catch(e) { this.error(e); }
+ },
+ assertRaise: function(exceptionName, method) {
+ var message = arguments[2] || 'assertRaise';
+ try {
+ method();
+ this.fail(message + ": exception expected but none was raised"); }
+ catch(e) {
+ ((exceptionName == null) || (e.name==exceptionName)) ? this.pass() : this.error(e);
+ }
+ },
+ assertElementsMatch: function() {
+ var expressions = $A(arguments), elements = $A(expressions.shift());
+ if (elements.length != expressions.length) {
+ this.fail('assertElementsMatch: size mismatch: ' + elements.length + ' elements, ' + expressions.length + ' expressions');
+ return false;
+ }
+ elements.zip(expressions).all(function(pair, index) {
+ var element = $(pair.first()), expression = pair.last();
+ if (element.match(expression)) return true;
+ this.fail('assertElementsMatch: (in index ' + index + ') expected ' + expression.inspect() + ' but got ' + element.inspect());
+ }.bind(this)) && this.pass();
+ },
+ assertElementMatches: function(element, expression) {
+ this.assertElementsMatch([element], expression);
+ },
+ benchmark: function(operation, iterations) {
+ var startAt = new Date();
+ (iterations || 1).times(operation);
+ var timeTaken = ((new Date())-startAt);
+ this.info((arguments[2] || 'Operation') + ' finished ' +
+ iterations + ' iterations in ' + (timeTaken/1000)+'s' );
+ return timeTaken;
+ },
+ _isVisible: function(element) {
+ element = $(element);
+ if(!element.parentNode) return true;
+ this.assertNotNull(element);
+ if(element.style && Element.getStyle(element, 'display') == 'none')
+ return false;
+
+ return this._isVisible(element.parentNode);
+ },
+ assertNotVisible: function(element) {
+ this.assert(!this._isVisible(element), Test.Unit.inspect(element) + " was not hidden and didn't have a hidden parent either. " + ("" || arguments[1]));
+ },
+ assertVisible: function(element) {
+ this.assert(this._isVisible(element), Test.Unit.inspect(element) + " was not visible. " + ("" || arguments[1]));
+ },
+ benchmark: function(operation, iterations) {
+ var startAt = new Date();
+ (iterations || 1).times(operation);
+ var timeTaken = ((new Date())-startAt);
+ this.info((arguments[2] || 'Operation') + ' finished ' +
+ iterations + ' iterations in ' + (timeTaken/1000)+'s' );
+ return timeTaken;
+ }
+};
+
+Test.Unit.Testcase = Class.create();
+Object.extend(Object.extend(Test.Unit.Testcase.prototype, Test.Unit.Assertions.prototype), {
+ initialize: function(name, test, setup, teardown) {
+ Test.Unit.Assertions.prototype.initialize.bind(this)();
+ this.name = name;
+
+ if(typeof test == 'string') {
+ test = test.gsub(/(\.should[^\(]+\()/,'#{0}this,');
+ test = test.gsub(/(\.should[^\(]+)\(this,\)/,'#{1}(this)');
+ this.test = function() {
+ eval('with(this){'+test+'}');
+ }
+ } else {
+ this.test = test || function() {};
+ }
+
+ this.setup = setup || function() {};
+ this.teardown = teardown || function() {};
+ this.isWaiting = false;
+ this.timeToWait = 1000;
+ },
+ wait: function(time, nextPart) {
+ this.isWaiting = true;
+ this.test = nextPart;
+ this.timeToWait = time;
+ },
+ run: function() {
+ try {
+ try {
+ if (!this.isWaiting) this.setup.bind(this)();
+ this.isWaiting = false;
+ this.test.bind(this)();
+ } finally {
+ if(!this.isWaiting) {
+ this.teardown.bind(this)();
+ }
+ }
+ }
+ catch(e) { this.error(e); }
+ }
+});
+
+// *EXPERIMENTAL* BDD-style testing to please non-technical folk
+// This draws many ideas from RSpec http://rspec.rubyforge.org/
+
+Test.setupBDDExtensionMethods = function(){
+ var METHODMAP = {
+ shouldEqual: 'assertEqual',
+ shouldNotEqual: 'assertNotEqual',
+ shouldEqualEnum: 'assertEnumEqual',
+ shouldBeA: 'assertType',
+ shouldNotBeA: 'assertNotOfType',
+ shouldBeAn: 'assertType',
+ shouldNotBeAn: 'assertNotOfType',
+ shouldBeNull: 'assertNull',
+ shouldNotBeNull: 'assertNotNull',
+
+ shouldBe: 'assertReturnsTrue',
+ shouldNotBe: 'assertReturnsFalse',
+ shouldRespondTo: 'assertRespondsTo'
+ };
+ var makeAssertion = function(assertion, args, object) {
+ this[assertion].apply(this,(args || []).concat([object]));
+ };
+
+ Test.BDDMethods = {};
+ $H(METHODMAP).each(function(pair) {
+ Test.BDDMethods[pair.key] = function() {
+ var args = $A(arguments);
+ var scope = args.shift();
+ makeAssertion.apply(scope, [pair.value, args, this]); };
+ });
+
+ [Array.prototype, String.prototype, Number.prototype, Boolean.prototype].each(
+ function(p){ Object.extend(p, Test.BDDMethods) }
+ );
+};
+
+Test.context = function(name, spec, log){
+ Test.setupBDDExtensionMethods();
+
+ var compiledSpec = {};
+ var titles = {};
+ for(specName in spec) {
+ switch(specName){
+ case "setup":
+ case "teardown":
+ compiledSpec[specName] = spec[specName];
+ break;
+ default:
+ var testName = 'test'+specName.gsub(/\s+/,'-').camelize();
+ var body = spec[specName].toString().split('\n').slice(1);
+ if(/^\{/.test(body[0])) body = body.slice(1);
+ body.pop();
+ body = body.map(function(statement){
+ return statement.strip()
+ });
+ compiledSpec[testName] = body.join('\n');
+ titles[testName] = specName;
+ }
+ }
+ new Test.Unit.Runner(compiledSpec, { titles: titles, testLog: log || 'testlog', context: name });
+}; \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/langs/de.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/langs/de.js
new file mode 100755
index 00000000..0144c9ac
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/langs/de.js
@@ -0,0 +1 @@
+tinyMCE.addI18n({de:{common:{"more_colors":"Weitere Farben","invalid_data":"Fehler: Es wurden ung\u00fcltige Werte eingegeben (rot markiert).","popup_blocked":"Leider hat der Popup-Blocker ein Fenster unterbunden, das f\u00fcr den Betrieb dieses Programms n\u00f6tig ist. Bitte den Popup-Blocker f\u00fcr diese Seite deaktivieren.","clipboard_no_support":"Wird derzeit im verwendeten Browser nicht unterst\u00fctzt. Bitte stattdessen die Tastenk\u00fcrzel benutzen.","clipboard_msg":"Kopieren, Ausschneiden und Einf\u00fcgen sind im Mozilla Firefox nicht m\u00f6glich.\nMehr \u00fcber dieses Problem erfahren?","not_set":"- unbestimmt -","class_name":"CSS-Klasse",browse:"Durchsuchen",close:"Schlie\u00dfen",cancel:"Abbrechen",update:"Aktualisieren",insert:"Einf\u00fcgen",apply:"\u00dcbernehmen","edit_confirm":"Soll dieser Text jetzt bearbeitet werden?","invalid_data_number":"{#field} muss eine Zahl sein","invalid_data_min":"{#field} muss eine Zahl gr\u00f6\u00dfer als {#min} sein","invalid_data_size":"{#field} muss eine Zahl oder ein Prozentwert sein",value:"(Wert)"},contextmenu:{full:"Blocksatz",right:"Rechtsb\u00fcndig",center:"Zentriert",left:"Linksb\u00fcndig",align:"Ausrichtung"},insertdatetime:{"day_short":"So,Mo,Di,Mi,Do,Fr,Sa,So","day_long":"Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,Freitag,Samstag,Sonntag","months_short":"Jan,Feb,M\u00e4r,Apr,Mai,Juni,Juli,Aug,Sept,Okt,Nov,Dez","months_long":"Januar,Februar,M\u00e4rz,April,Mai,Juni,Juli,August,September,Oktober,November,Dezember","inserttime_desc":"Zeit einf\u00fcgen","insertdate_desc":"Datum einf\u00fcgen","time_fmt":"%H:%M:%S","date_fmt":"%d.%m.%Y"},print:{"print_desc":"Drucken"},preview:{"preview_desc":"Vorschau"},directionality:{"rtl_desc":"Schrift von rechts nach links","ltr_desc":"Schrift von links nach rechts"},layer:{content:"Neue Ebene...","absolute_desc":"Absolute Positionierung","backward_desc":"Nach hinten legen","forward_desc":"Nach vorne holen","insertlayer_desc":"Neue Ebene einf\u00fcgen"},save:{"save_desc":"Speichern","cancel_desc":"Alle \u00c4nderungen verwerfen"},nonbreaking:{"nonbreaking_desc":"Gesch\u00fctztes Leerzeichen einf\u00fcgen"},iespell:{download:"ieSpell konnte nicht gefunden werden. Soll es installiert werden?","iespell_desc":"Rechtschreibpr\u00fcfung"},advhr:{"advhr_desc":"Trennlinie","delta_height":"","delta_width":""},emotions:{"emotions_desc":"Smileys","delta_height":"","delta_width":""},searchreplace:{"replace_desc":"Suchen/Ersetzen","search_desc":"Suchen","delta_width":"","delta_height":""},advimage:{"image_desc":"Bild einf\u00fcgen/ver\u00e4ndern","delta_width":"","delta_height":""},advlink:{"link_desc":"Link einf\u00fcgen/ver\u00e4ndern","delta_height":"","delta_width":""},xhtmlxtras:{"attribs_desc":"Attribute einf\u00fcgen/bearbeiten","ins_desc":"Eingef\u00fcgter Text","del_desc":"Entfernter Text","acronym_desc":"Akronym","abbr_desc":"Abk\u00fcrzung","cite_desc":"Quellenangabe","attribs_delta_height":"","attribs_delta_width":"","ins_delta_height":"","ins_delta_width":"","del_delta_height":"","del_delta_width":"","acronym_delta_height":"","acronym_delta_width":"","abbr_delta_height":"","abbr_delta_width":"","cite_delta_height":"","cite_delta_width":""},style:{desc:"CSS-Styles bearbeiten","delta_height":"","delta_width":""},paste:{"plaintext_mode":"Einf\u00fcgemodus ist nun \"Nur Text\". Erneut klicken stellt den Normalmodus wieder her.","plaintext_mode_sticky":"Einf\u00fcgemodus ist nun \"Nur Text\". Erneut klicken (oder das Einf\u00fcgen aus der Zwischenablage) stellt den Normalmodus wieder her.","selectall_desc":"Alles ausw\u00e4hlen","paste_word_desc":"Mit Formatierungen (aus Word) einf\u00fcgen","paste_text_desc":"Als einfachen Text einf\u00fcgen"},"paste_dlg":{"word_title":"Strg V auf der Tastatur dr\u00fccken, um den Text einzuf\u00fcgen.","text_linebreaks":"Zeilenumbr\u00fcche beibehalten","text_title":"Strg V auf der Tastatur dr\u00fccken, um den Text einzuf\u00fcgen."},table:{"cellprops_delta_width":"150",cell:"Zelle",col:"Spalte",row:"Zeile",del:"Tabelle l\u00f6schen","copy_row_desc":"Zeile kopieren","cut_row_desc":"Zeile ausschneiden","paste_row_after_desc":"Zeile unterhalb aus der Zwischenablage einf\u00fcgen","paste_row_before_desc":"Zeile oberhalb aus der Zwischenablage einf\u00fcgen","props_desc":"Eigenschaften der Tabelle","cell_desc":"Eigenschaften der Zelle","row_desc":"Eigenschaften der Zeile","merge_cells_desc":"Zellen verbinden","split_cells_desc":"Verbundene Zellen trennen","delete_col_desc":"Spalte l\u00f6schen","col_after_desc":"Spalte rechts einf\u00fcgen","col_before_desc":"Spalte links einf\u00fcgen","delete_row_desc":"Zeile l\u00f6schen","row_after_desc":"Zeile unterhalb einf\u00fcgen","row_before_desc":"Zeile oberhalb einf\u00fcgen",desc:"Tabelle erstellen/bearbeiten","merge_cells_delta_height":"","merge_cells_delta_width":"","table_delta_height":"","table_delta_width":"","cellprops_delta_height":"","rowprops_delta_height":"","rowprops_delta_width":""},autosave:{"warning_message":"Beim wiederherstellen des gespeicherten Inhalts gehen die aktuellen Daten im Editor verloren.\n\nSoll der gespeicherte Inhalt wirklich wiederhergestellt werden?","restore_content":"Automatisch gespeicherten Inhalt wiederherstellen.","unload_msg":"Beim verlassen der Seite werden die \u00c4nderungen verloren gehen."},fullscreen:{desc:"Vollbildschirm"},media:{edit:"Multimediaeinbettung bearbeiten",desc:"Multimedia einbetten/bearbeiten","delta_height":"","delta_width":""},fullpage:{desc:"Dokument-Eigenschaften","delta_width":"","delta_height":""},template:{desc:"Inhalt aus Vorlage einf\u00fcgen"},visualchars:{desc:"Sichtbarkeit der Steuerzeichen an/aus"},spellchecker:{desc:"Rechtschreibpr\u00fcfung an/aus",menu:"Einstellungen der Rechtschreibpr\u00fcfung","ignore_word":"Wort ignorieren","ignore_words":"Alle ignorieren",langs:"Sprachen",wait:"Bitte warten...",sug:"Vorschl\u00e4ge","no_sug":"Keine Vorschl\u00e4ge","no_mpell":"Keine Rechtschreibfehler gefunden.","learn_word":"Zum W\u00f6rterbuch hinzuf\u00fcgen"},pagebreak:{desc:"Seitenumbruch einf\u00fcgen"},advlist:{types:"Typen",def:"Standard","lower_alpha":"a. b. c.","lower_greek":"1. 2. 3.","lower_roman":"i. ii. iii.","upper_alpha":"A. B. C.","upper_roman":"I. II. III.",circle:"Kreis",disc:"Punkt",square:"Quadrat"},colors:{"333300":"Dunkeloliv","993300":"Orange","000000":"Schwarz","003300":"Dunkelgr\u00fcn","003366":"Dunkles himmelblau","000080":"Marineblau","333399":"Indigoblau","333333":"Sehr dunkelgrau","800000":"Kastanienbraun",FF6600:"Orange","808000":"Oliv","008000":"Gr\u00fcn","008080":"Blaugr\u00fcn","0000FF":"Blau","666699":"Graublau","808080":"Grau",FF0000:"Rot",FF9900:"Bernsteinfarben","99CC00":"Gelbgr\u00fcn","339966":"Meergr\u00fcn","33CCCC":"T\u00fcrkis","3366FF":"K\u00f6nigsblau","800080":"Violett","999999":"Mittelgrau",FF00FF:"Magenta",FFCC00:"Gold",FFFF00:"Gelb","00FF00":"Hellgr\u00fcn","00FFFF":"Aquamarinblau","00CCFF":"Himmelblau","993366":"Braun",C0C0C0:"Silber",FF99CC:"Rosa",FFCC99:"Pfirsichfarben",FFFF99:"Hellgelb",CCFFCC:"Blassgr\u00fcn",CCFFFF:"Blasst\u00fcrkis","99CCFF":"Helles himmelblau",CC99FF:"Pflaumenblau",FFFFFF:"Wei\u00df"},aria:{"rich_text_area":"Rich Text Bereich"},wordcount:{words:"W\u00f6rter: "}}}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/langs/en.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/langs/en.js
new file mode 100755
index 00000000..16d7a93e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/langs/en.js
@@ -0,0 +1 @@
+tinyMCE.addI18n({en:{common:{"more_colors":"More Colors...","invalid_data":"Error: Invalid values entered, these are marked in red.","popup_blocked":"Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.","clipboard_no_support":"Currently not supported by your browser, use keyboard shortcuts instead.","clipboard_msg":"Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?","not_set":"-- Not Set --","class_name":"Class",browse:"Browse",close:"Close",cancel:"Cancel",update:"Update",insert:"Insert",apply:"Apply","edit_confirm":"Do you want to use the WYSIWYG mode for this textarea?","invalid_data_number":"{#field} must be a number","invalid_data_min":"{#field} must be a number greater than {#min}","invalid_data_size":"{#field} must be a number or percentage",value:"(value)"},contextmenu:{full:"Full",right:"Right",center:"Center",left:"Left",align:"Alignment"},insertdatetime:{"day_short":"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun","day_long":"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday","months_short":"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec","months_long":"January,February,March,April,May,June,July,August,September,October,November,December","inserttime_desc":"Insert Time","insertdate_desc":"Insert Date","time_fmt":"%H:%M:%S","date_fmt":"%Y-%m-%d"},print:{"print_desc":"Print"},preview:{"preview_desc":"Preview"},directionality:{"rtl_desc":"Direction Right to Left","ltr_desc":"Direction Left to Right"},layer:{content:"New layer...","absolute_desc":"Toggle Absolute Positioning","backward_desc":"Move Backward","forward_desc":"Move Forward","insertlayer_desc":"Insert New Layer"},save:{"save_desc":"Save","cancel_desc":"Cancel All Changes"},nonbreaking:{"nonbreaking_desc":"Insert Non-Breaking Space Character"},iespell:{download:"ieSpell not detected. Do you want to install it now?","iespell_desc":"Check Spelling"},advhr:{"delta_height":"","delta_width":"","advhr_desc":"Insert Horizontal Line"},emotions:{"delta_height":"","delta_width":"","emotions_desc":"Emotions"},searchreplace:{"replace_desc":"Find/Replace","delta_width":"","delta_height":"","search_desc":"Find"},advimage:{"delta_width":"","image_desc":"Insert/Edit Image","delta_height":""},advlink:{"delta_height":"","delta_width":"","link_desc":"Insert/Edit Link"},xhtmlxtras:{"attribs_delta_height":"","attribs_delta_width":"","ins_delta_height":"","ins_delta_width":"","del_delta_height":"","del_delta_width":"","acronym_delta_height":"","acronym_delta_width":"","abbr_delta_height":"","abbr_delta_width":"","cite_delta_height":"","cite_delta_width":"","attribs_desc":"Insert/Edit Attributes","ins_desc":"Insertion","del_desc":"Deletion","acronym_desc":"Acronym","abbr_desc":"Abbreviation","cite_desc":"Citation"},style:{"delta_height":"","delta_width":"",desc:"Edit CSS Style"},paste:{"plaintext_mode":"Paste is now in plain text mode. Click again to toggle back to regular paste mode.","plaintext_mode_sticky":"Paste is now in plain text mode. Click again to toggle back to regular paste mode. After you paste something you will be returned to regular paste mode.","selectall_desc":"Select All","paste_word_desc":"Paste from Word","paste_text_desc":"Paste as Plain Text"},"paste_dlg":{"word_title":"Use Ctrl+V on your keyboard to paste the text into the window.","text_linebreaks":"Keep Linebreaks","text_title":"Use Ctrl+V on your keyboard to paste the text into the window."},table:{"merge_cells_delta_height":"","merge_cells_delta_width":"","table_delta_height":"","table_delta_width":"","cellprops_delta_height":"","cellprops_delta_width":"","rowprops_delta_height":"","rowprops_delta_width":"",cell:"Cell",col:"Column",row:"Row",del:"Delete Table","copy_row_desc":"Copy Table Row","cut_row_desc":"Cut Table Row","paste_row_after_desc":"Paste Table Row After","paste_row_before_desc":"Paste Table Row Before","props_desc":"Table Properties","cell_desc":"Table Cell Properties","row_desc":"Table Row Properties","merge_cells_desc":"Merge Table Cells","split_cells_desc":"Split Merged Table Cells","delete_col_desc":"Delete Column","col_after_desc":"Insert Column After","col_before_desc":"Insert Column Before","delete_row_desc":"Delete Row","row_after_desc":"Insert Row After","row_before_desc":"Insert Row Before",desc:"Insert/Edit Table"},autosave:{"warning_message":"If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?","restore_content":"Restore auto-saved content.","unload_msg":"The changes you made will be lost if you navigate away from this page."},fullscreen:{desc:"Toggle Full Screen Mode"},media:{"delta_height":"","delta_width":"",edit:"Edit Embedded Media",desc:"Insert/Edit Embedded Media"},fullpage:{desc:"Document Properties","delta_width":"","delta_height":""},template:{desc:"Insert Predefined Template Content"},visualchars:{desc:"Show/Hide Visual Control Characters"},spellchecker:{desc:"Toggle Spell Checker",menu:"Spell Checker Settings","ignore_word":"Ignore Word","ignore_words":"Ignore All",langs:"Languages",wait:"Please wait...",sug:"Suggestions","no_sug":"No Suggestions","no_mpell":"No misspellings found.","learn_word":"Learn word"},pagebreak:{desc:"Insert Page Break for Printing"},advlist:{types:"Types",def:"Default","lower_alpha":"Lower Alpha","lower_greek":"Lower Greek","lower_roman":"Lower Roman","upper_alpha":"Upper Alpha","upper_roman":"Upper Roman",circle:"Circle",disc:"Disc",square:"Square"},colors:{"333300":"Dark olive","993300":"Burnt orange","000000":"Black","003300":"Dark green","003366":"Dark azure","000080":"Navy Blue","333399":"Indigo","333333":"Very dark gray","800000":"Maroon",FF6600:"Orange","808000":"Olive","008000":"Green","008080":"Teal","0000FF":"Blue","666699":"Grayish blue","808080":"Gray",FF0000:"Red",FF9900:"Amber","99CC00":"Yellow green","339966":"Sea green","33CCCC":"Turquoise","3366FF":"Royal blue","800080":"Purple","999999":"Medium gray",FF00FF:"Magenta",FFCC00:"Gold",FFFF00:"Yellow","00FF00":"Lime","00FFFF":"Aqua","00CCFF":"Sky blue","993366":"Brown",C0C0C0:"Silver",FF99CC:"Pink",FFCC99:"Peach",FFFF99:"Light yellow",CCFFCC:"Pale green",CCFFFF:"Pale cyan","99CCFF":"Light sky blue",CC99FF:"Plum",FFFFFF:"White"},aria:{"rich_text_area":"Rich Text Area"},wordcount:{words:"Words:"}}}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/langs/hu.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/langs/hu.js
new file mode 100644
index 00000000..71a3b76e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/langs/hu.js
@@ -0,0 +1 @@
+tinyMCE.addI18n({hu:{common:{"more_colors":"Tov\u00e1bbi sz\u00ednek...","invalid_data":"Hiba: Az \u00e9rv\u00e9nytelen adatok, pirossal jel\u00f6lve.","popup_blocked":"A felugr\u00f3 ablakok tilt\u00e1sa miatt nem siker\u00fclt megjelen\u00edteni egy, az alkalmaz\u00e1shoz sz\u00fcks\u00e9ges ablakot. Enged\u00e9lyezze a b\u00f6ng\u00e9sz\u0151j\u00e9ben a felugr\u00f3 ablakokat, hogy minden funkci\u00f3t haszn\u00e1lhasson.","clipboard_no_support":"Jelenleg nem t\u00e1mogatja a b\u00f6ng\u00e9sz\u0151je, haszn\u00e1lja a billenty\u0171kombin\u00e1ci\u00f3kat helyette.","clipboard_msg":"A M\u00e1sol\u00e1s/Kiv\u00e1g\u00e1s/Besz\u00far\u00e1s funkci\u00f3k nem \u00e9rhet\u0151k el Mozilla \u00e9s Firefox alatt.\nK\u00edv\u00e1n t\u00f6bbet megtudni err\u0151l a t\u00e9m\u00e1r\u00f3l?","not_set":"-- Nincs megadva --","class_name":"Oszt\u00e1ly",browse:"Tall\u00f3z\u00e1s",close:"Bez\u00e1r\u00e1s",cancel:"M\u00e9gsem",update:"Friss\u00edt\u00e9s",insert:"Besz\u00far\u00e1s",apply:"Alkalmaz","edit_confirm":"Haszn\u00e1lni k\u00edv\u00e1nja a (WYSIWYG) sz\u00f6vegszerkeszt\u0151 m\u00f3dot ebben a sz\u00f6vegdobozban?","invalid_data_number":"{#field} sz\u00e1m kell legyen","invalid_data_min":"{#field} egy nagyobb sz\u00e1m kell legyen, mint {#min}","invalid_data_size":"{#field} egy sz\u00e1m vagy sz\u00e1zal\u00e9k kell legyen",value:"(\u00e9rt\u00e9k)"},contextmenu:{full:"Sorkiz\u00e1rt",right:"Jobbra",center:"K\u00f6z\u00e9pre",left:"Balra",align:"Igaz\u00edt\u00e1s"},insertdatetime:{"day_short":"V,H,K,Sze,Cs,P,Szo,V","day_long":"vas\u00e1rnap,h\u00e9tf\u0151,kedd,szerda,cs\u00fct\u00f6rt\u00f6k,p\u00e9ntek,szombat,vas\u00e1rnap","months_short":"Jan,Feb,M\u00e1r,\u00c1pr,M\u00e1j,J\u00fan,J\u00fal,Aug,Szept,Okt,Nov,Dec","months_long":"janu\u00e1r,febru\u00e1r,m\u00e1rcius,\u00e1prilis,m\u00e1jus,j\u00fanius,j\u00falius,augusztus,szeptember,okt\u00f3ber,november,december","inserttime_desc":"Id\u0151 besz\u00far\u00e1sa","insertdate_desc":"D\u00e1tum besz\u00far\u00e1sa","time_fmt":"%H:%M:%S","date_fmt":"%Y. %m. %d."},print:{"print_desc":"Nyomtat\u00e1s"},preview:{"preview_desc":"El\u0151n\u00e9zet"},directionality:{"rtl_desc":"Jobbr\u00f3l balra","ltr_desc":"Balr\u00f3l jobbra"},layer:{content:"\u00daj r\u00e9teg...","absolute_desc":"Abszol\u00fat poz\u00edci\u00f3 megad\u00e1s ki-/bekapcsol\u00e1sa","backward_desc":"Mozgat\u00e1s h\u00e1tra","forward_desc":"Mozgat\u00e1s el\u0151re","insertlayer_desc":"\u00daj r\u00e9teg besz\u00far\u00e1sa"},save:{"save_desc":"Ment\u00e9s","cancel_desc":"Minden m\u00f3dos\u00edt\u00e1s elvet\u00e9se"},nonbreaking:{"nonbreaking_desc":"Nem (sor)t\u00f6rhet\u0151 sz\u00f3k\u00f6z besz\u00far\u00e1sa"},iespell:{download:"ieSpell nem tal\u00e1lhat\u00f3. Telep\u00edti most?","iespell_desc":"Helyes\u00edr\u00e1s-ellen\u0151rz\u00e9s futtat\u00e1sa"},advhr:{"advhr_desc":"V\u00edzszintes vonal","delta_height":"","delta_width":""},emotions:{"emotions_desc":"Hangulatjelek","delta_height":"","delta_width":""},searchreplace:{"replace_desc":"Keres\u00e9s/Csere","search_desc":"Keres\u00e9s","delta_width":"","delta_height":""},advimage:{"image_desc":"K\u00e9p besz\u00far\u00e1sa/szerkeszt\u00e9se","delta_width":"","delta_height":""},advlink:{"link_desc":"Link besz\u00far\u00e1sa/szerkeszt\u00e9se","delta_height":"","delta_width":""},xhtmlxtras:{"attribs_desc":"Tulajdons\u00e1gok besz\u00far\u00e1sa/szerkeszt\u00e9se","ins_desc":"Besz\u00far\u00e1s","del_desc":"T\u00f6r\u00f6l\u00e9s","acronym_desc":"Bet\u0171sz\u00f3","abbr_desc":"R\u00f6vid\u00edt\u00e9s","cite_desc":"Id\u00e9zet","attribs_delta_height":"","attribs_delta_width":"","ins_delta_height":"","ins_delta_width":"","del_delta_height":"","del_delta_width":"","acronym_delta_height":"","acronym_delta_width":"","abbr_delta_height":"","abbr_delta_width":"","cite_delta_height":"","cite_delta_width":""},style:{desc:"CSS st\u00edlus szerkeszt\u00e9se","delta_height":"","delta_width":""},paste:{"plaintext_mode":"A besz\u00far\u00e1s mostant\u00f3l egyszer\u0171 sz\u00f6veg m\u00f3dban van. Kattintson ide \u00fajra ezen m\u00f3d ki/be kapcsol\u00e1s\u00e1hoz.","plaintext_mode_sticky":"A besz\u00far\u00e1s mostant\u00f3l egyszer\u0171 sz\u00f6veg m\u00f3dban van. Kattintson ide \u00fajra ezen m\u00f3d ki/be kapcsol\u00e1s\u00e1hoz. Miut\u00e1n besz\u00far valamit, visszaker\u00fcl norm\u00e1l m\u00f3dba.","selectall_desc":"Mindent kijel\u00f6l","paste_word_desc":"Besz\u00far\u00e1s Wordb\u0151l","paste_text_desc":"Besz\u00far\u00e1s egyszer\u0171 sz\u00f6vegk\u00e9nt"},"paste_dlg":{"word_title":"Haszn\u00e1lja a Ctrl V-t a billenty\u0171zet\u00e9n a sz\u00f6veg beilleszt\u00e9shez.","text_linebreaks":"Sort\u00f6r\u00e9sek megtart\u00e1sa","text_title":"Haszn\u00e1lja a Ctrl V-t a billenty\u0171zet\u00e9n a sz\u00f6veg beilleszt\u00e9shez."},table:{cell:"Cella",col:"Oszlop",row:"Sor",del:"T\u00e1bl\u00e1zat t\u00f6rl\u00e9se","copy_row_desc":"Sor m\u00e1sol\u00e1sa","cut_row_desc":"Sor kiv\u00e1g\u00e1sa","paste_row_after_desc":"Sor bem\u00e1sol\u00e1sa ut\u00e1na","paste_row_before_desc":"Sor bem\u00e1sol\u00e1sa el\u00e9","props_desc":"T\u00e1bl\u00e1zat tulajdons\u00e1gai","cell_desc":"Cella tulajdons\u00e1gai","row_desc":"Sor tulajdons\u00e1gai","merge_cells_desc":"Cell\u00e1k egyes\u00edt\u00e9se","split_cells_desc":"Egyes\u00edtett cell\u00e1k feloszt\u00e1sa","delete_col_desc":"Oszlop t\u00f6rl\u00e9se","col_after_desc":"Oszlop besz\u00far\u00e1sa ut\u00e1na","col_before_desc":"Oszlop besz\u00far\u00e1sa el\u00e9","delete_row_desc":"Sor t\u00f6rl\u00e9se","row_after_desc":"Sor besz\u00far\u00e1sa ut\u00e1na","row_before_desc":"Sor besz\u00far\u00e1sa el\u00e9",desc:"T\u00e1bl\u00e1zat besz\u00far\u00e1sa/szerkeszt\u00e9se","merge_cells_delta_height":"","merge_cells_delta_width":"","table_delta_height":"","table_delta_width":"","cellprops_delta_height":"","cellprops_delta_width":"","rowprops_delta_height":"","rowprops_delta_width":""},autosave:{"warning_message":"Ha visszat\u00f6lti a mentett be\u00e1ll\u00edt\u00e1sokat, a jelenlegi \u00e1llapot elv\u00e9sz.\n\nBiztosan visszat\u00f6lti a mentett \u00e1llapotot?","restore_content":"Automatikus ment\u00e9s bet\u00f6lt\u00e9se.","unload_msg":"A m\u00f3dos\u00edt\u00e1sok nem lesznek mentve, ha elhagyja az oldalt."},fullscreen:{desc:"Teljesk\u00e9perny\u0151s m\u00f3d ki-/bekapcsol\u00e1sa"},media:{edit:"Be\u00e1gyazott m\u00e9dia szerkeszt\u00e9se",desc:"Be\u00e1gyazott m\u00e9dia besz\u00far\u00e1sa/szerkeszt\u00e9se","delta_height":"","delta_width":""},fullpage:{desc:"Dokumentum tulajdons\u00e1gai","delta_width":"","delta_height":""},template:{desc:"Sablon beilleszt\u00e9se"},visualchars:{desc:"Vizu\u00e1lis vez\u00e9rl\u0151karakterek be-/kikapcsol\u00e1sa"},spellchecker:{desc:"Helyes\u00edr\u00e1s-ellen\u0151rz\u0151 ki-/bekapcsol\u00e1sa",menu:"Helyes\u00edr\u00e1s-ellen\u0151rz\u0151 be\u00e1ll\u00edt\u00e1sok","ignore_word":"Sz\u00f3 kihagy\u00e1sa","ignore_words":"Mindet kihagy",langs:"Nyelvek",wait:"K\u00e9rem, v\u00e1rjon...",sug:"Aj\u00e1nl\u00e1sok","no_sug":"Nincs aj\u00e1nl\u00e1s","no_mpell":"Nem tal\u00e1ltam helyes\u00edr\u00e1si hib\u00e1t.","learn_word":"Sz\u00f3 megjegyz\u00e9se"},pagebreak:{desc:"Oldalt\u00f6r\u00e9s besz\u00far\u00e1sa a nyomtat\u00e1shoz"},advlist:{types:"T\u00edpusok",def:"Alap\u00e9rtelmezett","lower_alpha":"Kisbet\u0171s abc","lower_greek":"Kisbet\u0171s g\u00f6r\u00f6g","lower_roman":"Kisbet\u0171s r\u00f3mai","upper_alpha":"Nagybet\u0171s ABC","upper_roman":"Nagybet\u0171s r\u00f3mai",circle:"Karika",disc:"P\u00f6tty",square:"N\u00e9gyzet"},colors:{"333300":"S\u00f6t\u00e9t ol\u00edv","993300":"\u00c9g\u0151 narancs","000000":"Fekete","003300":"S\u00f6t\u00e9t z\u00f6ld","003366":"S\u00f6t\u00e9t az\u00far","000080":"Tenger k\u00e9k","333399":"Indig\u00f3","333333":"Nagyon s\u00f6t\u00e9tsz\u00fcrke","800000":"Gesztenyebarna",FF6600:"Narancs","808000":"Ol\u00edv","008000":"Z\u00f6ld","008080":"P\u00e1vak\u00e9k","0000FF":"K\u00e9k","666699":"Sz\u00fcrk\u00e9s k\u00e9k","808080":"Sz\u00fcrke",FF0000:"V\u00f6r\u00f6s",FF9900:"Borosty\u00e1ns\u00e1rga","99CC00":"S\u00e1rg\u00e1s z\u00f6ld","339966":"Tengerz\u00f6ld","33CCCC":"T\u00fcrk\u00edz","3366FF":"Kir\u00e1lyk\u00e9k","800080":"B\u00edbor","999999":"K\u00f6z\u00e9psz\u00fcrke",FF00FF:"B\u00edborv\u00f6r\u00f6s",FFCC00:"Arany",FFFF00:"S\u00e1rga","00FF00":"Vil\u00e1gos borosty\u00e1n","00FFFF":"V\u00edz","00CCFF":"\u00c9gk\u00e9k","993366":"Barna",C0C0C0:"Ez\u00fcst",FF99CC:"R\u00f3zsasz\u00edn",FFCC99:"Barack",FFFF99:"Vil\u00e1gos s\u00e1rga",CCFFCC:"Halv\u00e1ny z\u00f6ld",CCFFFF:"Halv\u00e1ny ci\u00e1n","99CCFF":"Vil\u00e1gos \u00e9gk\u00e9k",CC99FF:"Szilvak\u00e9k",FFFFFF:"Feh\u00e9r"},aria:{"rich_text_area":"Rich Text mez\u0151"},wordcount:{words:"Szavak sz\u00e1ma: "}}}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/langs/ja.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/langs/ja.js
new file mode 100755
index 00000000..cdd5399a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/langs/ja.js
@@ -0,0 +1 @@
+tinyMCE.addI18n({ja:{common:{"more_colors":"\u3055\u3089\u306b\u8272\u3092\u4f7f\u7528...","invalid_data":"\u30a8\u30e9\u30fc: \u5165\u529b\u306b\u8aa4\u308a\u304c\u3042\u308a\u307e\u3059\u3002\uff08\u8d64\u5b57\u306e\u9805\u76ee\uff09","popup_blocked":"\u7533\u3057\u8a33\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u8868\u793a\u3092\u8a31\u53ef\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u6a5f\u80fd\u3092\u63d0\u4f9b\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u3053\u306e\u30c4\u30fc\u30eb\u306e\u6a5f\u80fd\u3092\u5b8c\u5168\u306b\u6d3b\u7528\u3059\u308b\u306b\u306f\u3001\u3053\u306e\u30b5\u30a4\u30c8\u3067\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u3092\u8a31\u53ef\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002","clipboard_no_support":"\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u64cd\u4f5c\u306f\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u30d6\u30e9\u30a6\u30b6\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3092\u4ee3\u308f\u308a\u306b\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3044\u3002","clipboard_msg":"\u30b3\u30d4\u30fc/\u5207\u308a\u53d6\u308a/\u8cbc\u308a\u4ed8\u3051\u306fMozilla\u3068Firefox\u3067\u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002\n\u3053\u306e\u554f\u984c\u306e\u8a73\u7d30\u3092\u5f97\u305f\u3044\u3067\u3059\u304b?","not_set":"-- \u672a\u8a2d\u5b9a --","class_name":"\u30af\u30e9\u30b9",browse:"\u95b2\u89a7",close:"\u9589\u3058\u308b",cancel:"\u53d6\u308a\u6d88\u3057",update:"\u66f4\u65b0",insert:"\u633f\u5165",apply:"\u9069\u7528","edit_confirm":"\u3053\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30ea\u30a2\u3092WYSIWYG\u30e2\u30fc\u30c9\u306b\u5207\u308a\u66ff\u3048\u307e\u3059\u304b\uff1f","invalid_data_number":"{#field} \u306f\u6570\u5024\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002","invalid_data_min":"{#field} \u306f{#min}\u3088\u308a\u3082\u5927\u304d\u306a\u6570\u5024\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002","invalid_data_size":"{#field}\u306f\u6570\u5024\u307e\u305f\u306f\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002",value:"(\u5024)"},contextmenu:{full:"\u5747\u7b49\u5272\u4ed8",right:"\u53f3\u63c3\u3048",center:"\u4e2d\u592e\u63c3\u3048",left:"\u5de6\u63c3\u3048",align:"\u914d\u7f6e"},insertdatetime:{"day_short":"(\u65e5),(\u6708),(\u706b),(\u6c34),(\u6728),(\u91d1),(\u571f),(\u65e5)","day_long":"\u65e5\u66dc\u65e5,\u6708\u66dc\u65e5,\u706b\u66dc\u65e5,\u6c34\u66dc\u65e5,\u6728\u66dc\u65e5,\u91d1\u66dc\u65e5,\u571f\u66dc\u65e5,\u65e5\u66dc\u65e5","months_short":"1\u6708,2\u6708,3\u6708,4\u6708,5\u6708,6\u6708,7\u6708,8\u6708,9\u6708,10\u6708,11\u6708,12\u6708","months_long":"1,2,3,4,5,6,7,8,9,10,11,12","inserttime_desc":"\u6642\u523b\u3092\u633f\u5165","insertdate_desc":"\u65e5\u4ed8\u3092\u633f\u5165","time_fmt":"%H:%M:%S","date_fmt":"%Y-%m-%d"},print:{"print_desc":"\u5370\u5237"},preview:{"preview_desc":"\u30d7\u30ec\u30d3\u30e5\u30fc"},directionality:{"rtl_desc":"\u53f3\u304b\u3089\u5de6","ltr_desc":"\u5de6\u304b\u3089\u53f3"},layer:{content:"\u65b0\u3057\u3044\u30ec\u30a4\u30e4\u30fc...","absolute_desc":"\u7d76\u5bfe\u4f4d\u7f6e\u306e\u6307\u5b9a\u3092\u5207\u66ff","backward_desc":"\u80cc\u9762\u3078\u79fb\u52d5","forward_desc":"\u524d\u9762\u3078\u79fb\u52d5","insertlayer_desc":"\u65b0\u3057\u3044\u30ec\u30a4\u30e4\u30fc\u3092\u633f\u5165"},save:{"save_desc":"\u4fdd\u5b58","cancel_desc":"\u3059\u3079\u3066\u306e\u5909\u66f4\u3092\u53d6\u308a\u6d88\u3057"},nonbreaking:{"nonbreaking_desc":"\u6539\u884c\u3057\u306a\u3044\u30b9\u30da\u30fc\u30b9\u6587\u5b57(NBSP)\u3092\u633f\u5165"},iespell:{download:"ieSpell\u304c\u306a\u3044\u3088\u3046\u3067\u3059\u3002\u4eca\u3059\u3050\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u304b\uff1f","iespell_desc":"\u30b9\u30da\u30eb\u30c1\u30a7\u30c3\u30af"},advhr:{"advhr_desc":"\u6c34\u5e73\u7dda\u3092\u633f\u5165","delta_height":"","delta_width":""},emotions:{"emotions_desc":"\u8868\u60c5\u30a2\u30a4\u30b3\u30f3","delta_height":"","delta_width":""},searchreplace:{"replace_desc":"\u691c\u7d22\u3068\u7f6e\u63db","search_desc":"\u691c\u7d22","delta_width":"","delta_height":""},advimage:{"image_desc":"\u753b\u50cf\u306e\u633f\u5165\u3084\u7de8\u96c6","delta_width":"","delta_height":""},advlink:{"link_desc":"\u30ea\u30f3\u30af\u306e\u633f\u5165\u3084\u7de8\u96c6","delta_height":"","delta_width":""},xhtmlxtras:{"attribs_desc":"\u5c5e\u6027\u306e\u633f\u5165\u3084\u7de8\u96c6","ins_desc":"\u633f\u5165","del_desc":"\u524a\u9664","acronym_desc":"\u982d\u5b57\u8a9e","abbr_desc":"\u7565\u8a9e","cite_desc":"\u5f15\u7528","attribs_delta_height":"","attribs_delta_width":"","ins_delta_height":"","ins_delta_width":"","del_delta_height":"","del_delta_width":"","acronym_delta_height":"","acronym_delta_width":"","abbr_delta_height":"","abbr_delta_width":"","cite_delta_height":"","cite_delta_width":""},style:{desc:"CSS\u306e\u7de8\u96c6","delta_height":"","delta_width":""},paste:{"plaintext_mode":"\u30c6\u30ad\u30b9\u30c8\u5f62\u5f0f\u306e\u30e2\u30fc\u30c9\u3067\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002\u3082\u3046\u4e00\u5ea6\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u901a\u5e38\u306e\u8cbc\u308a\u4ed8\u3051\u306e\u30e2\u30fc\u30c9\u306b\u623b\u3057\u307e\u3059\u3002","plaintext_mode_sticky":"\u30c6\u30ad\u30b9\u30c8\u5f62\u5f0f\u306e\u30e2\u30fc\u30c9\u3067\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002\u3082\u3046\u4e00\u5ea6\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u901a\u5e38\u306e\u8cbc\u308a\u4ed8\u3051\u306e\u30e2\u30fc\u30c9\u306b\u623b\u3057\u307e\u3059\u3002\u4f55\u304b\u8cbc\u308a\u4ed8\u3051\u308b\u3068\u3001\u305d\u306e\u5f8c\u306f\u901a\u5e38\u306e\u8cbc\u308a\u4ed8\u3051\u30e2\u30fc\u30c9\u306b\u623b\u308a\u307e\u3059\u3002","selectall_desc":"\u3059\u3079\u3066\u9078\u629e","paste_word_desc":"Word\u304b\u3089\u8cbc\u308a\u4ed8\u3051","paste_text_desc":"\u30c6\u30ad\u30b9\u30c8\u5f62\u5f0f\u3067\u8cbc\u308a\u4ed8\u3051"},"paste_dlg":{"word_title":"Ctrl V(\u30ad\u30fc\u30dc\u30fc\u30c9)\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c6\u30ad\u30b9\u30c8\u3092\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002","text_linebreaks":"\u6539\u884c\u3092\u4fdd\u6301","text_title":"Ctrl V(\u30ad\u30fc\u30dc\u30fc\u30c9)\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c6\u30ad\u30b9\u30c8\u3092\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002"},table:{cell:"\u30bb\u30eb",col:"\u5217",row:"\u884c",del:"\u8868\u3092\u524a\u9664","copy_row_desc":"\u884c\u3092\u30b3\u30d4\u30fc","cut_row_desc":"\u884c\u3092\u5207\u308a\u53d6\u308a","paste_row_after_desc":"\u4e0b\u306b\u884c\u3092\u8cbc\u308a\u4ed8\u3051","paste_row_before_desc":"\u4e0a\u306b\u884c\u3092\u8cbc\u308a\u4ed8\u3051","props_desc":"\u8868\u306e\u5c5e\u6027","cell_desc":"\u30bb\u30eb\u306e\u5c5e\u6027","row_desc":"\u884c\u306e\u5c5e\u6027","merge_cells_desc":"\u30bb\u30eb\u3092\u7d50\u5408","split_cells_desc":"\u30bb\u30eb\u306e\u7d50\u5408\u3092\u89e3\u9664","delete_col_desc":"\u5217\u3092\u524a\u9664","col_after_desc":"\u53f3\u306b\u5217\u3092\u633f\u5165","col_before_desc":"\u5de6\u306b\u5217\u3092\u633f\u5165","delete_row_desc":"\u884c\u3092\u524a\u9664","row_after_desc":"\u4e0b\u306b\u884c\u3092\u633f\u5165","row_before_desc":"\u4e0a\u306b\u884c\u3092\u633f\u5165",desc:"\u8868\u306e\u633f\u5165","merge_cells_delta_height":"","merge_cells_delta_width":"","table_delta_height":"","table_delta_width":"","cellprops_delta_height":"","cellprops_delta_width":"","rowprops_delta_height":"","rowprops_delta_width":""},autosave:{"warning_message":"\u4fdd\u5b58\u3057\u305f\u30c7\u30fc\u30bf\u3092\u5fa9\u5143\u3059\u308b\u3068\u3001\u73fe\u5728\u306e\u7de8\u96c6\u5185\u5bb9\u3092\u3059\u3079\u3066\u5931\u3044\u307e\u3059\u3002\n\n\u672c\u5f53\u306b\u4fdd\u5b58\u3057\u305f\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u304b?","restore_content":"\u81ea\u52d5\u4fdd\u5b58\u30c7\u30fc\u30bf\u3092\u5fa9\u5143","unload_msg":"\u4ed6\u306e\u30da\u30fc\u30b8\u306b\u79fb\u52d5\u3059\u308b\u3068\u3001\u5909\u66f4\u3092\u3059\u3079\u3066\u5931\u3044\u307e\u3059\u3002"},fullscreen:{desc:"\u5168\u753b\u9762"},media:{"delta_height":"",edit:"\u57cb\u3081\u8fbc\u307f\u30e1\u30c7\u30a3\u30a2\u306e\u7de8\u96c6",desc:"\u57cb\u3081\u8fbc\u307f\u30e1\u30c7\u30a3\u30a2\u306e\u633f\u5165\u3084\u7de8\u96c6","delta_width":""},fullpage:{desc:"\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u5c5e\u6027","delta_width":"","delta_height":""},template:{desc:"\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u633f\u5165"},visualchars:{desc:"\u5236\u5fa1\u6587\u5b57\u306e\u8868\u793a\u3092\u5207\u308a\u66ff\u3048"},spellchecker:{desc:"\u30b9\u30da\u30eb\u30c1\u30a7\u30c3\u30af\u306e\u4f7f\u7528\u3092\u5207\u308a\u66ff\u3048",menu:"\u30b9\u30da\u30eb\u30c1\u30a7\u30c3\u30af\u306e\u8a2d\u5b9a","ignore_word":"\u3053\u306e\u5358\u8a9e\u3092\u7121\u8996","ignore_words":"\u3059\u3079\u3066\u7121\u8996",langs:"\u8a00\u8a9e",wait:"\u3057\u3070\u3089\u304f\u304a\u5f85\u3061\u304f\u3060\u3055\u3044...",sug:"\u5019\u88dc","no_sug":"\u5019\u88dc\u306a\u3057","no_mpell":"\u30b9\u30da\u30eb\u306e\u8aa4\u308a\u306f\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002","learn_word":"\u3053\u306e\u5358\u8a9e\u3092\u5b66\u7fd2"},pagebreak:{desc:"\u5370\u5237\u7528\u306e\u6539\u30da\u30fc\u30b8\u3092\u633f\u5165"},advlist:{types:"\u7a2e\u985e",def:"\u30c7\u30d5\u30a9\u30eb\u30c8","lower_alpha":"a b c ...","lower_greek":"\u03b1 \u03b2 \u03b3 \u2026","lower_roman":"i ii iii ...","upper_alpha":"A B C ...","upper_roman":"I II III ...",circle:"\u767d\u4e38\uff08circle\uff09",disc:"\u9ed2\u4e38\uff08disc\uff09",square:"\u56db\u89d2\uff08square\uff09"},colors:{"333300":"\u6fc3\u3044\u30aa\u30ea\u30fc\u30d6\u8272","993300":"\u6fc3\u3044\u30aa\u30ec\u30f3\u30b8\u8272","000000":"\u9ed2\u8272","003300":"\u6fc3\u3044\u7dd1\u8272","003366":"\u6fc3\u3044\u7fa4\u9752\u8272","000080":"\u6fc3\u7d3a\u8272","333399":"\u85cd\u8272","333333":"\u3068\u3066\u3082\u6fc3\u3044\u7070\u8272","800000":"\u6817\u8272",FF6600:"\u6a59\u8272","808000":"\u30aa\u30ea\u30fc\u30d6\u8272","008000":"\u7dd1\u8272","008080":"\u7dd1\u304c\u304b\u304b\u3063\u305f\u9752\u8272","0000FF":"\u9752\u8272","666699":"\u7d0d\u6238\u8272","808080":"\u7070\u8272",FF0000:"\u8d64",FF9900:"\u7425\u73c0\u8272","99CC00":"\u9ec4\u7dd1\u8272","339966":"\u6d77\u7dd1\u8272","33CCCC":"\u9752\u7dd1\u8272","3366FF":"\u85e4\u7d2b\u8272","800080":"\u7d2b\u8272","999999":"\u4e2d\u304f\u3089\u3044\u306e\u7070\u8272",FF00FF:"\u8d64\u7d2b\u8272",FFCC00:"\u91d1\u8272",FFFF00:"\u9ec4\u8272","00FF00":"\u30e9\u30a4\u30e0\u8272","00FFFF":"\u6c34\u8272","00CCFF":"\u7a7a\u8272","993366":"\u8336\u8272",C0C0C0:"\u9280\u8272",FF99CC:"\u30d4\u30f3\u30af\u8272",FFCC99:"\u6843\u8272",FFFF99:"\u8584\u3044\u9ec4\u8272",CCFFCC:"\u6de1\u7dd1\u8272",CCFFFF:"\u6de1\u9752\u7dd1\u8272","99CCFF":"\u8584\u3044\u6c34\u8272",CC99FF:"\u6fc3\u3044\u8d64\u7d2b\u8272",FFFFFF:"\u767d\u8272"},aria:{"rich_text_area":"\u30ea\u30c3\u30c1\u30c6\u30ad\u30b9\u30c8\u30a8\u30ea\u30a2"},wordcount:{words:"\u5358\u8a9e\u306e\u6570"}}}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/license.txt b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/license.txt
new file mode 100755
index 00000000..60d6d4c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/license.txt
@@ -0,0 +1,504 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL. It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+ This license, the Lesser General Public License, applies to some
+specially designated software packages--typically libraries--of the
+Free Software Foundation and other authors who decide to use it. You
+can use it too, but we suggest you first think carefully about whether
+this license or the ordinary General Public License is the better
+strategy to use in any particular case, based on the explanations below.
+
+ When we speak of free software, we are referring to freedom of use,
+not price. Our General Public Licenses are designed to make sure that
+you have the freedom to distribute copies of free software (and charge
+for this service if you wish); that you receive source code or can get
+it if you want it; that you can change the software and use pieces of
+it in new free programs; and that you are informed that you can do
+these things.
+
+ To protect your rights, we need to make restrictions that forbid
+distributors to deny you these rights or to ask you to surrender these
+rights. These restrictions translate to certain responsibilities for
+you if you distribute copies of the library or if you modify it.
+
+ For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you. You must make sure that they, too, receive or can get the source
+code. If you link other code with the library, you must provide
+complete object files to the recipients, so that they can relink them
+with the library after making changes to the library and recompiling
+it. And you must show them these terms so they know their rights.
+
+ We protect your rights with a two-step method: (1) we copyright the
+library, and (2) we offer you this license, which gives you legal
+permission to copy, distribute and/or modify the library.
+
+ To protect each distributor, we want to make it very clear that
+there is no warranty for the free library. Also, if the library is
+modified by someone else and passed on, the recipients should know
+that what they have is not the original version, so that the original
+author's reputation will not be affected by problems that might be
+introduced by others.
+
+ Finally, software patents pose a constant threat to the existence of
+any free program. We wish to make sure that a company cannot
+effectively restrict the users of a free program by obtaining a
+restrictive license from a patent holder. Therefore, we insist that
+any patent license obtained for a version of the library must be
+consistent with the full freedom of use specified in this license.
+
+ Most GNU software, including some libraries, is covered by the
+ordinary GNU General Public License. This license, the GNU Lesser
+General Public License, applies to certain designated libraries, and
+is quite different from the ordinary General Public License. We use
+this license for certain libraries in order to permit linking those
+libraries into non-free programs.
+
+ When a program is linked with a library, whether statically or using
+a shared library, the combination of the two is legally speaking a
+combined work, a derivative of the original library. The ordinary
+General Public License therefore permits such linking only if the
+entire combination fits its criteria of freedom. The Lesser General
+Public License permits more lax criteria for linking other code with
+the library.
+
+ We call this license the "Lesser" General Public License because it
+does Less to protect the user's freedom than the ordinary General
+Public License. It also provides other free software developers Less
+of an advantage over competing non-free programs. These disadvantages
+are the reason we use the ordinary General Public License for many
+libraries. However, the Lesser license provides advantages in certain
+special circumstances.
+
+ For example, on rare occasions, there may be a special need to
+encourage the widest possible use of a certain library, so that it becomes
+a de-facto standard. To achieve this, non-free programs must be
+allowed to use the library. A more frequent case is that a free
+library does the same job as widely used non-free libraries. In this
+case, there is little to gain by limiting the free library to free
+software only, so we use the Lesser General Public License.
+
+ In other cases, permission to use a particular library in non-free
+programs enables a greater number of people to use a large body of
+free software. For example, permission to use the GNU C Library in
+non-free programs enables many more people to use the whole GNU
+operating system, as well as its variant, the GNU/Linux operating
+system.
+
+ Although the Lesser General Public License is Less protective of the
+users' freedom, it does ensure that the user of a program that is
+linked with the Library has the freedom and the wherewithal to run
+that program using a modified version of the Library.
+
+ The precise terms and conditions for copying, distribution and
+modification follow. Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library". The
+former contains code derived from the library, whereas the latter must
+be combined with the library in order to run.
+
+ GNU LESSER GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any software library or other
+program which contains a notice placed by the copyright holder or
+other authorized party saying it may be distributed under the terms of
+this Lesser General Public License (also called "this License").
+Each licensee is addressed as "you".
+
+ A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+ The "Library", below, refers to any such software library or work
+which has been distributed under these terms. A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language. (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+ "Source code" for a work means the preferred form of the work for
+making modifications to it. For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+ Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it). Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+
+ 1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+ You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+ 2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) The modified work must itself be a software library.
+
+ b) You must cause the files modified to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ c) You must cause the whole of the work to be licensed at no
+ charge to all third parties under the terms of this License.
+
+ d) If a facility in the modified Library refers to a function or a
+ table of data to be supplied by an application program that uses
+ the facility, other than as an argument passed when the facility
+ is invoked, then you must make a good faith effort to ensure that,
+ in the event an application does not supply such function or
+ table, the facility still operates, and performs whatever part of
+ its purpose remains meaningful.
+
+ (For example, a function in a library to compute square roots has
+ a purpose that is entirely well-defined independent of the
+ application. Therefore, Subsection 2d requires that any
+ application-supplied function or table used by this function must
+ be optional: if the application does not supply it, the square
+ root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library. To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License. (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.) Do not make any other change in
+these notices.
+
+ Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+ This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+ 4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+ If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library". Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+ However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library". The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+ When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library. The
+threshold for this to be true is not precisely defined by law.
+
+ If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work. (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+ Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+ 6. As an exception to the Sections above, you may also combine or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+ You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License. You must supply a copy of this License. If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License. Also, you must do one
+of these things:
+
+ a) Accompany the work with the complete corresponding
+ machine-readable source code for the Library including whatever
+ changes were used in the work (which must be distributed under
+ Sections 1 and 2 above); and, if the work is an executable linked
+ with the Library, with the complete machine-readable "work that
+ uses the Library", as object code and/or source code, so that the
+ user can modify the Library and then relink to produce a modified
+ executable containing the modified Library. (It is understood
+ that the user who changes the contents of definitions files in the
+ Library will not necessarily be able to recompile the application
+ to use the modified definitions.)
+
+ b) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (1) uses at run time a
+ copy of the library already present on the user's computer system,
+ rather than copying library functions into the executable, and (2)
+ will operate properly with a modified version of the library, if
+ the user installs one, as long as the modified version is
+ interface-compatible with the version that the work was made with.
+
+ c) Accompany the work with a written offer, valid for at
+ least three years, to give the same user the materials
+ specified in Subsection 6a, above, for a charge no more
+ than the cost of performing this distribution.
+
+ d) If distribution of the work is made by offering access to copy
+ from a designated place, offer equivalent access to copy the above
+ specified materials from the same place.
+
+ e) Verify that the user has already received a copy of these
+ materials or that you have already sent this user a copy.
+
+ For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it. However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+ It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system. Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+ 7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+ a) Accompany the combined library with a copy of the same work
+ based on the Library, uncombined with any other library
+ facilities. This must be distributed under the terms of the
+ Sections above.
+
+ b) Give prominent notice with the combined library of the fact
+ that part of it is a work based on the Library, and explaining
+ where to find the accompanying uncombined form of the same work.
+
+ 8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License. Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License. However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+ 9. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Library or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+ 10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+
+ 11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all. For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded. In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+ 13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation. If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+ 14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission. For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this. Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+ NO WARRANTY
+
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Libraries
+
+ If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change. You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+ To apply these terms, attach the following notices to the library. It is
+safest to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the library's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+ <signature of Ty Coon>, 1 April 1990
+ Ty Coon, President of Vice
+
+That's all there is to it!
+
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/css/advhr.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/css/advhr.css
new file mode 100755
index 00000000..0e228349
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/css/advhr.css
@@ -0,0 +1,5 @@
+input.radio {border:1px none #000; background:transparent; vertical-align:middle;}
+.panel_wrapper div.current {height:80px;}
+#width {width:50px; vertical-align:middle;}
+#width2 {width:50px; vertical-align:middle;}
+#size {width:100px;}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/editor_plugin.js
new file mode 100755
index 00000000..4d3b062d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.AdvancedHRPlugin",{init:function(a,b){a.addCommand("mceAdvancedHr",function(){a.windowManager.open({file:b+"/rule.htm",width:250+parseInt(a.getLang("advhr.delta_width",0)),height:160+parseInt(a.getLang("advhr.delta_height",0)),inline:1},{plugin_url:b})});a.addButton("advhr",{title:"advhr.advhr_desc",cmd:"mceAdvancedHr"});a.onNodeChange.add(function(d,c,e){c.setActive("advhr",e.nodeName=="HR")});a.onClick.add(function(c,d){d=d.target;if(d.nodeName==="HR"){c.selection.select(d)}})},getInfo:function(){return{longname:"Advanced HR",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("advhr",tinymce.plugins.AdvancedHRPlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/editor_plugin_src.js
new file mode 100755
index 00000000..0c652d33
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/editor_plugin_src.js
@@ -0,0 +1,57 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.AdvancedHRPlugin', {
+ init : function(ed, url) {
+ // Register commands
+ ed.addCommand('mceAdvancedHr', function() {
+ ed.windowManager.open({
+ file : url + '/rule.htm',
+ width : 250 + parseInt(ed.getLang('advhr.delta_width', 0)),
+ height : 160 + parseInt(ed.getLang('advhr.delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ // Register buttons
+ ed.addButton('advhr', {
+ title : 'advhr.advhr_desc',
+ cmd : 'mceAdvancedHr'
+ });
+
+ ed.onNodeChange.add(function(ed, cm, n) {
+ cm.setActive('advhr', n.nodeName == 'HR');
+ });
+
+ ed.onClick.add(function(ed, e) {
+ e = e.target;
+
+ if (e.nodeName === 'HR')
+ ed.selection.select(e);
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Advanced HR',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('advhr', tinymce.plugins.AdvancedHRPlugin);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/js/rule.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/js/rule.js
new file mode 100644
index 00000000..b6cbd66c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/js/rule.js
@@ -0,0 +1,43 @@
+var AdvHRDialog = {
+ init : function(ed) {
+ var dom = ed.dom, f = document.forms[0], n = ed.selection.getNode(), w;
+
+ w = dom.getAttrib(n, 'width');
+ f.width.value = w ? parseInt(w) : (dom.getStyle('width') || '');
+ f.size.value = dom.getAttrib(n, 'size') || parseInt(dom.getStyle('height')) || '';
+ f.noshade.checked = !!dom.getAttrib(n, 'noshade') || !!dom.getStyle('border-width');
+ selectByValue(f, 'width2', w.indexOf('%') != -1 ? '%' : 'px');
+ },
+
+ update : function() {
+ var ed = tinyMCEPopup.editor, h, f = document.forms[0], st = '';
+
+ h = '<hr';
+
+ if (f.size.value) {
+ h += ' size="' + f.size.value + '"';
+ st += ' height:' + f.size.value + 'px;';
+ }
+
+ if (f.width.value) {
+ h += ' width="' + f.width.value + (f.width2.value == '%' ? '%' : '') + '"';
+ st += ' width:' + f.width.value + (f.width2.value == '%' ? '%' : 'px') + ';';
+ }
+
+ if (f.noshade.checked) {
+ h += ' noshade="noshade"';
+ st += ' border-width: 1px; border-style: solid; border-color: #CCCCCC; color: #ffffff;';
+ }
+
+ if (ed.settings.inline_styles)
+ h += ' style="' + tinymce.trim(st) + '"';
+
+ h += ' />';
+
+ ed.execCommand("mceInsertContent", false, h);
+ tinyMCEPopup.close();
+ }
+};
+
+tinyMCEPopup.requireLangPack();
+tinyMCEPopup.onInit.add(AdvHRDialog.init, AdvHRDialog);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/de_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/de_dlg.js
new file mode 100644
index 00000000..7c5143e5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/de_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('de.advhr_dlg',{size:"H\u00f6he",noshade:"Kein Schatten",width:"Breite",normal:"Normal",widthunits:"Einheiten"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/en_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/en_dlg.js
new file mode 100644
index 00000000..0c3bf15e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/en_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('en.advhr_dlg',{size:"Height",noshade:"No Shadow",width:"Width",normal:"Normal",widthunits:"Units"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/hu_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/hu_dlg.js
new file mode 100644
index 00000000..8dafd82e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/hu_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('hu.advhr_dlg',{size:"Magass\u00e1g",noshade:"Nincs \u00e1rny\u00e9k",width:"Sz\u00e9less\u00e9g",normal:"Norm\u00e1l",widthunits:"M\u00e9rt\u00e9kegys\u00e9gek"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/ja_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/ja_dlg.js
new file mode 100644
index 00000000..70adc8b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/ja_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('ja.advhr_dlg',{size:"\u9ad8\u3055",noshade:"\u5f71\u306a\u3057",width:"\u5e45",normal:"\u901a\u5e38",widthunits:"\u5358\u4f4d"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/rule.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/rule.htm
new file mode 100755
index 00000000..843e1f8f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/rule.htm
@@ -0,0 +1,58 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#advhr.advhr_desc}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="js/rule.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <link href="css/advhr.css" rel="stylesheet" type="text/css" />
+</head>
+<body role="application">
+<form onsubmit="AdvHRDialog.update();return false;" action="#">
+ <div class="tabs">
+ <ul>
+ <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advhr.advhr_desc}</a></span></li>
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="general_panel" class="panel current">
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0">
+ <tr role="group" aria-labelledby="width_label">
+ <td><label id="width_label" for="width">{#advhr_dlg.width}</label></td>
+ <td class="nowrap">
+ <input id="width" name="width" type="text" value="" class="mceFocus" />
+ <span style="display:none;" id="width_unit_label">{#advhr_dlg.widthunits}</span>
+ <select name="width2" id="width2" aria-labelledby="width_unit_label">
+ <option value="">px</option>
+ <option value="%">%</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="size">{#advhr_dlg.size}</label></td>
+ <td><select id="size" name="size">
+ <option value="">{#advhr_dlg.normal}</option>
+ <option value="1">1</option>
+ <option value="2">2</option>
+ <option value="3">3</option>
+ <option value="4">4</option>
+ <option value="5">5</option>
+ </select></td>
+ </tr>
+ <tr>
+ <td><label for="noshade">{#advhr_dlg.noshade}</label></td>
+ <td><input type="checkbox" name="noshade" id="noshade" class="radio" /></td>
+ </tr>
+ </table>
+ </div>
+ </div>
+
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#insert}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+</form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/css/advimage.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/css/advimage.css
new file mode 100755
index 00000000..0a6251a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/css/advimage.css
@@ -0,0 +1,13 @@
+#src_list, #over_list, #out_list {width:280px;}
+.mceActionPanel {margin-top:7px;}
+.alignPreview {border:1px solid #000; width:140px; height:140px; overflow:hidden; padding:5px;}
+.checkbox {border:0;}
+.panel_wrapper div.current {height:305px;}
+#prev {margin:0; border:1px solid #000; width:428px; height:150px; overflow:auto;}
+#align, #classlist {width:150px;}
+#width, #height {vertical-align:middle; width:50px; text-align:center;}
+#vspace, #hspace, #border {vertical-align:middle; width:30px; text-align:center;}
+#class_list {width:180px;}
+input {width: 280px;}
+#constrain, #onmousemovecheck {width:auto;}
+#id, #dir, #lang, #usemap, #longdesc {width:200px;}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/editor_plugin.js
new file mode 100755
index 00000000..d613a613
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.AdvancedImagePlugin",{init:function(a,b){a.addCommand("mceAdvImage",function(){if(a.dom.getAttrib(a.selection.getNode(),"class","").indexOf("mceItem")!=-1){return}a.windowManager.open({file:b+"/image.htm",width:480+parseInt(a.getLang("advimage.delta_width",0)),height:385+parseInt(a.getLang("advimage.delta_height",0)),inline:1},{plugin_url:b})});a.addButton("image",{title:"advimage.image_desc",cmd:"mceAdvImage"})},getInfo:function(){return{longname:"Advanced image",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advimage",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("advimage",tinymce.plugins.AdvancedImagePlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/editor_plugin_src.js
new file mode 100755
index 00000000..d2678cbc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/editor_plugin_src.js
@@ -0,0 +1,50 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.AdvancedImagePlugin', {
+ init : function(ed, url) {
+ // Register commands
+ ed.addCommand('mceAdvImage', function() {
+ // Internal image object like a flash placeholder
+ if (ed.dom.getAttrib(ed.selection.getNode(), 'class', '').indexOf('mceItem') != -1)
+ return;
+
+ ed.windowManager.open({
+ file : url + '/image.htm',
+ width : 480 + parseInt(ed.getLang('advimage.delta_width', 0)),
+ height : 385 + parseInt(ed.getLang('advimage.delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ // Register buttons
+ ed.addButton('image', {
+ title : 'advimage.image_desc',
+ cmd : 'mceAdvImage'
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Advanced image',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advimage',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('advimage', tinymce.plugins.AdvancedImagePlugin);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/image.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/image.htm
new file mode 100755
index 00000000..ed16b3d4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/image.htm
@@ -0,0 +1,235 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#advimage_dlg.dialog_title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="../../utils/validate.js"></script>
+ <script type="text/javascript" src="../../utils/editable_selects.js"></script>
+ <script type="text/javascript" src="js/image.js"></script>
+ <link href="css/advimage.css" rel="stylesheet" type="text/css" />
+</head>
+<body id="advimage" style="display: none" role="application" aria-labelledby="app_title">
+ <span id="app_title" style="display:none">{#advimage_dlg.dialog_title}</span>
+ <form onsubmit="ImageDialog.insert();return false;" action="#">
+ <div class="tabs">
+ <ul>
+ <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advimage_dlg.tab_general}</a></span></li>
+ <li id="appearance_tab" aria-controls="appearance_panel"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{#advimage_dlg.tab_appearance}</a></span></li>
+ <li id="advanced_tab" aria-controls="advanced_panel"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advimage_dlg.tab_advanced}</a></span></li>
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="general_panel" class="panel current">
+ <fieldset>
+ <legend>{#advimage_dlg.general}</legend>
+
+ <table role="presentation" class="properties">
+ <tr>
+ <td class="column1"><label id="srclabel" for="src">{#advimage_dlg.src}</label></td>
+ <td colspan="2"><table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input name="src" type="text" id="src" value="" class="mceFocus" onchange="ImageDialog.showPreviewImage(this.value);" aria-required="true" /></td>
+ <td id="srcbrowsercontainer">&nbsp;</td>
+ </tr>
+ </table></td>
+ </tr>
+ <tr>
+ <td><label for="src_list">{#advimage_dlg.image_list}</label></td>
+ <td><select id="src_list" name="src_list" onchange="document.getElementById('src').value=this.options[this.selectedIndex].value;document.getElementById('alt').value=this.options[this.selectedIndex].text;document.getElementById('title').value=this.options[this.selectedIndex].text;ImageDialog.showPreviewImage(this.options[this.selectedIndex].value);"><option value=""></option></select></td>
+ </tr>
+ <tr>
+ <td class="column1"><label id="altlabel" for="alt">{#advimage_dlg.alt}</label></td>
+ <td colspan="2"><input id="alt" name="alt" type="text" value="" /></td>
+ </tr>
+ <tr>
+ <td class="column1"><label id="titlelabel" for="title">{#advimage_dlg.title}</label></td>
+ <td colspan="2"><input id="title" name="title" type="text" value="" /></td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <fieldset>
+ <legend>{#advimage_dlg.preview}</legend>
+ <div id="prev"></div>
+ </fieldset>
+ </div>
+
+ <div id="appearance_panel" class="panel">
+ <fieldset>
+ <legend>{#advimage_dlg.tab_appearance}</legend>
+
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td class="column1"><label id="alignlabel" for="align">{#advimage_dlg.align}</label></td>
+ <td><select id="align" name="align" onchange="ImageDialog.updateStyle('align');ImageDialog.changeAppearance();">
+ <option value="">{#not_set}</option>
+ <option value="baseline">{#advimage_dlg.align_baseline}</option>
+ <option value="top">{#advimage_dlg.align_top}</option>
+ <option value="middle">{#advimage_dlg.align_middle}</option>
+ <option value="bottom">{#advimage_dlg.align_bottom}</option>
+ <option value="text-top">{#advimage_dlg.align_texttop}</option>
+ <option value="text-bottom">{#advimage_dlg.align_textbottom}</option>
+ <option value="left">{#advimage_dlg.align_left}</option>
+ <option value="right">{#advimage_dlg.align_right}</option>
+ </select>
+ </td>
+ <td rowspan="6" valign="top">
+ <div class="alignPreview">
+ <img id="alignSampleImg" src="img/sample.gif" alt="{#advimage_dlg.example_img}" />
+ Lorem ipsum, Dolor sit amet, consectetuer adipiscing loreum ipsum edipiscing elit, sed diam
+ nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.Loreum ipsum
+ edipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam
+ erat volutpat.
+ </div>
+ </td>
+ </tr>
+
+ <tr role="group" aria-labelledby="widthlabel">
+ <td class="column1"><label id="widthlabel" for="width">{#advimage_dlg.dimensions}</label></td>
+ <td class="nowrap">
+ <span style="display:none" id="width_voiceLabel">{#advimage_dlg.width}</span>
+ <input name="width" type="text" id="width" value="" size="5" maxlength="5" class="size" onchange="ImageDialog.changeHeight();" aria-labelledby="width_voiceLabel" /> x
+ <span style="display:none" id="height_voiceLabel">{#advimage_dlg.height}</span>
+ <input name="height" type="text" id="height" value="" size="5" maxlength="5" class="size" onchange="ImageDialog.changeWidth();" aria-labelledby="height_voiceLabel" /> px
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ <td><table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td>
+ <td><label id="constrainlabel" for="constrain">{#advimage_dlg.constrain_proportions}</label></td>
+ </tr>
+ </table></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label id="vspacelabel" for="vspace">{#advimage_dlg.vspace}</label></td>
+ <td><input name="vspace" type="text" id="vspace" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('vspace');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('vspace');ImageDialog.changeAppearance();" />
+ </td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label id="hspacelabel" for="hspace">{#advimage_dlg.hspace}</label></td>
+ <td><input name="hspace" type="text" id="hspace" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('hspace');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('hspace');ImageDialog.changeAppearance();" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label id="borderlabel" for="border">{#advimage_dlg.border}</label></td>
+ <td><input id="border" name="border" type="text" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('border');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('border');ImageDialog.changeAppearance();" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="class_list">{#class_name}</label></td>
+ <td colspan="2"><select id="class_list" name="class_list" class="mceEditableSelect"><option value=""></option></select></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label id="stylelabel" for="style">{#advimage_dlg.style}</label></td>
+ <td colspan="2"><input id="style" name="style" type="text" value="" onchange="ImageDialog.changeAppearance();" /></td>
+ </tr>
+
+ <!-- <tr>
+ <td class="column1"><label id="classeslabel" for="classes">{#advimage_dlg.classes}</label></td>
+ <td colspan="2"><input id="classes" name="classes" type="text" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td>
+ </tr> -->
+ </table>
+ </fieldset>
+ </div>
+
+ <div id="advanced_panel" class="panel">
+ <fieldset>
+ <legend>{#advimage_dlg.swap_image}</legend>
+
+ <input type="checkbox" id="onmousemovecheck" name="onmousemovecheck" class="checkbox" onclick="ImageDialog.setSwapImage(this.checked);" aria-controls="onmouseoversrc onmouseoutsrc" />
+ <label id="onmousemovechecklabel" for="onmousemovecheck">{#advimage_dlg.alt_image}</label>
+
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0" width="100%">
+ <tr>
+ <td class="column1"><label id="onmouseoversrclabel" for="onmouseoversrc">{#advimage_dlg.mouseover}</label></td>
+ <td><table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input id="onmouseoversrc" name="onmouseoversrc" type="text" value="" /></td>
+ <td id="onmouseoversrccontainer">&nbsp;</td>
+ </tr>
+ </table></td>
+ </tr>
+ <tr>
+ <td><label for="over_list">{#advimage_dlg.image_list}</label></td>
+ <td><select id="over_list" name="over_list" onchange="document.getElementById('onmouseoversrc').value=this.options[this.selectedIndex].value;"><option value=""></option></select></td>
+ </tr>
+ <tr>
+ <td class="column1"><label id="onmouseoutsrclabel" for="onmouseoutsrc">{#advimage_dlg.mouseout}</label></td>
+ <td class="column2"><table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input id="onmouseoutsrc" name="onmouseoutsrc" type="text" value="" /></td>
+ <td id="onmouseoutsrccontainer">&nbsp;</td>
+ </tr>
+ </table></td>
+ </tr>
+ <tr>
+ <td><label for="out_list">{#advimage_dlg.image_list}</label></td>
+ <td><select id="out_list" name="out_list" onchange="document.getElementById('onmouseoutsrc').value=this.options[this.selectedIndex].value;"><option value=""></option></select></td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <fieldset>
+ <legend>{#advimage_dlg.misc}</legend>
+
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td class="column1"><label id="idlabel" for="id">{#advimage_dlg.id}</label></td>
+ <td><input id="id" name="id" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label id="dirlabel" for="dir">{#advimage_dlg.langdir}</label></td>
+ <td>
+ <select id="dir" name="dir" onchange="ImageDialog.changeAppearance();">
+ <option value="">{#not_set}</option>
+ <option value="ltr">{#advimage_dlg.ltr}</option>
+ <option value="rtl">{#advimage_dlg.rtl}</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label id="langlabel" for="lang">{#advimage_dlg.langcode}</label></td>
+ <td>
+ <input id="lang" name="lang" type="text" value="" />
+ </td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label id="usemaplabel" for="usemap">{#advimage_dlg.map}</label></td>
+ <td>
+ <input id="usemap" name="usemap" type="text" value="" />
+ </td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label id="longdesclabel" for="longdesc">{#advimage_dlg.long_desc}</label></td>
+ <td><table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input id="longdesc" name="longdesc" type="text" value="" /></td>
+ <td id="longdesccontainer">&nbsp;</td>
+ </tr>
+ </table></td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ </div>
+
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#insert}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+ </form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/img/sample.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/img/sample.gif
new file mode 100644
index 00000000..53bf6890
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/img/sample.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/js/image.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/js/image.js
new file mode 100644
index 00000000..f0b7c6ee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/js/image.js
@@ -0,0 +1,464 @@
+var ImageDialog = {
+ preInit : function() {
+ var url;
+
+ tinyMCEPopup.requireLangPack();
+
+ if (url = tinyMCEPopup.getParam("external_image_list_url"))
+ document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
+ },
+
+ init : function(ed) {
+ var f = document.forms[0], nl = f.elements, ed = tinyMCEPopup.editor, dom = ed.dom, n = ed.selection.getNode(), fl = tinyMCEPopup.getParam('external_image_list', 'tinyMCEImageList');
+
+ tinyMCEPopup.resizeToInnerSize();
+ this.fillClassList('class_list');
+ this.fillFileList('src_list', fl);
+ this.fillFileList('over_list', fl);
+ this.fillFileList('out_list', fl);
+ TinyMCE_EditableSelects.init();
+
+ if (n.nodeName == 'IMG') {
+ nl.src.value = dom.getAttrib(n, 'src');
+ nl.width.value = dom.getAttrib(n, 'width');
+ nl.height.value = dom.getAttrib(n, 'height');
+ nl.alt.value = dom.getAttrib(n, 'alt');
+ nl.title.value = dom.getAttrib(n, 'title');
+ nl.vspace.value = this.getAttrib(n, 'vspace');
+ nl.hspace.value = this.getAttrib(n, 'hspace');
+ nl.border.value = this.getAttrib(n, 'border');
+ selectByValue(f, 'align', this.getAttrib(n, 'align'));
+ selectByValue(f, 'class_list', dom.getAttrib(n, 'class'), true, true);
+ nl.style.value = dom.getAttrib(n, 'style');
+ nl.id.value = dom.getAttrib(n, 'id');
+ nl.dir.value = dom.getAttrib(n, 'dir');
+ nl.lang.value = dom.getAttrib(n, 'lang');
+ nl.usemap.value = dom.getAttrib(n, 'usemap');
+ nl.longdesc.value = dom.getAttrib(n, 'longdesc');
+ nl.insert.value = ed.getLang('update');
+
+ if (/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/.test(dom.getAttrib(n, 'onmouseover')))
+ nl.onmouseoversrc.value = dom.getAttrib(n, 'onmouseover').replace(/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/, '$1');
+
+ if (/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/.test(dom.getAttrib(n, 'onmouseout')))
+ nl.onmouseoutsrc.value = dom.getAttrib(n, 'onmouseout').replace(/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/, '$1');
+
+ if (ed.settings.inline_styles) {
+ // Move attribs to styles
+ if (dom.getAttrib(n, 'align'))
+ this.updateStyle('align');
+
+ if (dom.getAttrib(n, 'hspace'))
+ this.updateStyle('hspace');
+
+ if (dom.getAttrib(n, 'border'))
+ this.updateStyle('border');
+
+ if (dom.getAttrib(n, 'vspace'))
+ this.updateStyle('vspace');
+ }
+ }
+
+ // Setup browse button
+ document.getElementById('srcbrowsercontainer').innerHTML = getBrowserHTML('srcbrowser','src','image','theme_advanced_image');
+ if (isVisible('srcbrowser'))
+ document.getElementById('src').style.width = '260px';
+
+ // Setup browse button
+ document.getElementById('onmouseoversrccontainer').innerHTML = getBrowserHTML('overbrowser','onmouseoversrc','image','theme_advanced_image');
+ if (isVisible('overbrowser'))
+ document.getElementById('onmouseoversrc').style.width = '260px';
+
+ // Setup browse button
+ document.getElementById('onmouseoutsrccontainer').innerHTML = getBrowserHTML('outbrowser','onmouseoutsrc','image','theme_advanced_image');
+ if (isVisible('outbrowser'))
+ document.getElementById('onmouseoutsrc').style.width = '260px';
+
+ // If option enabled default contrain proportions to checked
+ if (ed.getParam("advimage_constrain_proportions", true))
+ f.constrain.checked = true;
+
+ // Check swap image if valid data
+ if (nl.onmouseoversrc.value || nl.onmouseoutsrc.value)
+ this.setSwapImage(true);
+ else
+ this.setSwapImage(false);
+
+ this.changeAppearance();
+ this.showPreviewImage(nl.src.value, 1);
+ },
+
+ insert : function(file, title) {
+ var ed = tinyMCEPopup.editor, t = this, f = document.forms[0];
+
+ if (f.src.value === '') {
+ if (ed.selection.getNode().nodeName == 'IMG') {
+ ed.dom.remove(ed.selection.getNode());
+ ed.execCommand('mceRepaint');
+ }
+
+ tinyMCEPopup.close();
+ return;
+ }
+
+ if (tinyMCEPopup.getParam("accessibility_warnings", 1)) {
+ if (!f.alt.value) {
+ tinyMCEPopup.confirm(tinyMCEPopup.getLang('advimage_dlg.missing_alt'), function(s) {
+ if (s)
+ t.insertAndClose();
+ });
+
+ return;
+ }
+ }
+
+ t.insertAndClose();
+ },
+
+ insertAndClose : function() {
+ var ed = tinyMCEPopup.editor, f = document.forms[0], nl = f.elements, v, args = {}, el;
+
+ tinyMCEPopup.restoreSelection();
+
+ // Fixes crash in Safari
+ if (tinymce.isWebKit)
+ ed.getWin().focus();
+
+ if (!ed.settings.inline_styles) {
+ args = {
+ vspace : nl.vspace.value,
+ hspace : nl.hspace.value,
+ border : nl.border.value,
+ align : getSelectValue(f, 'align')
+ };
+ } else {
+ // Remove deprecated values
+ args = {
+ vspace : '',
+ hspace : '',
+ border : '',
+ align : ''
+ };
+ }
+
+ tinymce.extend(args, {
+ src : nl.src.value.replace(/ /g, '%20'),
+ width : nl.width.value,
+ height : nl.height.value,
+ alt : nl.alt.value,
+ title : nl.title.value,
+ 'class' : getSelectValue(f, 'class_list'),
+ style : nl.style.value,
+ id : nl.id.value,
+ dir : nl.dir.value,
+ lang : nl.lang.value,
+ usemap : nl.usemap.value,
+ longdesc : nl.longdesc.value
+ });
+
+ args.onmouseover = args.onmouseout = '';
+
+ if (f.onmousemovecheck.checked) {
+ if (nl.onmouseoversrc.value)
+ args.onmouseover = "this.src='" + nl.onmouseoversrc.value + "';";
+
+ if (nl.onmouseoutsrc.value)
+ args.onmouseout = "this.src='" + nl.onmouseoutsrc.value + "';";
+ }
+
+ el = ed.selection.getNode();
+
+ if (el && el.nodeName == 'IMG') {
+ ed.dom.setAttribs(el, args);
+ } else {
+ tinymce.each(args, function(value, name) {
+ if (value === "") {
+ delete args[name];
+ }
+ });
+
+ ed.execCommand('mceInsertContent', false, tinyMCEPopup.editor.dom.createHTML('img', args), {skip_undo : 1});
+ ed.undoManager.add();
+ }
+
+ tinyMCEPopup.editor.execCommand('mceRepaint');
+ tinyMCEPopup.editor.focus();
+ tinyMCEPopup.close();
+ },
+
+ getAttrib : function(e, at) {
+ var ed = tinyMCEPopup.editor, dom = ed.dom, v, v2;
+
+ if (ed.settings.inline_styles) {
+ switch (at) {
+ case 'align':
+ if (v = dom.getStyle(e, 'float'))
+ return v;
+
+ if (v = dom.getStyle(e, 'vertical-align'))
+ return v;
+
+ break;
+
+ case 'hspace':
+ v = dom.getStyle(e, 'margin-left')
+ v2 = dom.getStyle(e, 'margin-right');
+
+ if (v && v == v2)
+ return parseInt(v.replace(/[^0-9]/g, ''));
+
+ break;
+
+ case 'vspace':
+ v = dom.getStyle(e, 'margin-top')
+ v2 = dom.getStyle(e, 'margin-bottom');
+ if (v && v == v2)
+ return parseInt(v.replace(/[^0-9]/g, ''));
+
+ break;
+
+ case 'border':
+ v = 0;
+
+ tinymce.each(['top', 'right', 'bottom', 'left'], function(sv) {
+ sv = dom.getStyle(e, 'border-' + sv + '-width');
+
+ // False or not the same as prev
+ if (!sv || (sv != v && v !== 0)) {
+ v = 0;
+ return false;
+ }
+
+ if (sv)
+ v = sv;
+ });
+
+ if (v)
+ return parseInt(v.replace(/[^0-9]/g, ''));
+
+ break;
+ }
+ }
+
+ if (v = dom.getAttrib(e, at))
+ return v;
+
+ return '';
+ },
+
+ setSwapImage : function(st) {
+ var f = document.forms[0];
+
+ f.onmousemovecheck.checked = st;
+ setBrowserDisabled('overbrowser', !st);
+ setBrowserDisabled('outbrowser', !st);
+
+ if (f.over_list)
+ f.over_list.disabled = !st;
+
+ if (f.out_list)
+ f.out_list.disabled = !st;
+
+ f.onmouseoversrc.disabled = !st;
+ f.onmouseoutsrc.disabled = !st;
+ },
+
+ fillClassList : function(id) {
+ var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl;
+
+ if (v = tinyMCEPopup.getParam('theme_advanced_styles')) {
+ cl = [];
+
+ tinymce.each(v.split(';'), function(v) {
+ var p = v.split('=');
+
+ cl.push({'title' : p[0], 'class' : p[1]});
+ });
+ } else
+ cl = tinyMCEPopup.editor.dom.getClasses();
+
+ if (cl.length > 0) {
+ lst.options.length = 0;
+ lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), '');
+
+ tinymce.each(cl, function(o) {
+ lst.options[lst.options.length] = new Option(o.title || o['class'], o['class']);
+ });
+ } else
+ dom.remove(dom.getParent(id, 'tr'));
+ },
+
+ fillFileList : function(id, l) {
+ var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl;
+
+ l = typeof(l) === 'function' ? l() : window[l];
+ lst.options.length = 0;
+
+ if (l && l.length > 0) {
+ lst.options[lst.options.length] = new Option('', '');
+
+ tinymce.each(l, function(o) {
+ lst.options[lst.options.length] = new Option(o[0], o[1]);
+ });
+ } else
+ dom.remove(dom.getParent(id, 'tr'));
+ },
+
+ resetImageData : function() {
+ var f = document.forms[0];
+
+ f.elements.width.value = f.elements.height.value = '';
+ },
+
+ updateImageData : function(img, st) {
+ var f = document.forms[0];
+
+ if (!st) {
+ f.elements.width.value = img.width;
+ f.elements.height.value = img.height;
+ }
+
+ this.preloadImg = img;
+ },
+
+ changeAppearance : function() {
+ var ed = tinyMCEPopup.editor, f = document.forms[0], img = document.getElementById('alignSampleImg');
+
+ if (img) {
+ if (ed.getParam('inline_styles')) {
+ ed.dom.setAttrib(img, 'style', f.style.value);
+ } else {
+ img.align = f.align.value;
+ img.border = f.border.value;
+ img.hspace = f.hspace.value;
+ img.vspace = f.vspace.value;
+ }
+ }
+ },
+
+ changeHeight : function() {
+ var f = document.forms[0], tp, t = this;
+
+ if (!f.constrain.checked || !t.preloadImg) {
+ return;
+ }
+
+ if (f.width.value == "" || f.height.value == "")
+ return;
+
+ tp = (parseInt(f.width.value) / parseInt(t.preloadImg.width)) * t.preloadImg.height;
+ f.height.value = tp.toFixed(0);
+ },
+
+ changeWidth : function() {
+ var f = document.forms[0], tp, t = this;
+
+ if (!f.constrain.checked || !t.preloadImg) {
+ return;
+ }
+
+ if (f.width.value == "" || f.height.value == "")
+ return;
+
+ tp = (parseInt(f.height.value) / parseInt(t.preloadImg.height)) * t.preloadImg.width;
+ f.width.value = tp.toFixed(0);
+ },
+
+ updateStyle : function(ty) {
+ var dom = tinyMCEPopup.dom, b, bStyle, bColor, v, isIE = tinymce.isIE, f = document.forms[0], img = dom.create('img', {style : dom.get('style').value});
+
+ if (tinyMCEPopup.editor.settings.inline_styles) {
+ // Handle align
+ if (ty == 'align') {
+ dom.setStyle(img, 'float', '');
+ dom.setStyle(img, 'vertical-align', '');
+
+ v = getSelectValue(f, 'align');
+ if (v) {
+ if (v == 'left' || v == 'right')
+ dom.setStyle(img, 'float', v);
+ else
+ img.style.verticalAlign = v;
+ }
+ }
+
+ // Handle border
+ if (ty == 'border') {
+ b = img.style.border ? img.style.border.split(' ') : [];
+ bStyle = dom.getStyle(img, 'border-style');
+ bColor = dom.getStyle(img, 'border-color');
+
+ dom.setStyle(img, 'border', '');
+
+ v = f.border.value;
+ if (v || v == '0') {
+ if (v == '0')
+ img.style.border = isIE ? '0' : '0 none none';
+ else {
+ var isOldIE = tinymce.isIE && (!document.documentMode || document.documentMode < 9);
+
+ if (b.length == 3 && b[isOldIE ? 2 : 1])
+ bStyle = b[isOldIE ? 2 : 1];
+ else if (!bStyle || bStyle == 'none')
+ bStyle = 'solid';
+ if (b.length == 3 && b[isIE ? 0 : 2])
+ bColor = b[isOldIE ? 0 : 2];
+ else if (!bColor || bColor == 'none')
+ bColor = 'black';
+ img.style.border = v + 'px ' + bStyle + ' ' + bColor;
+ }
+ }
+ }
+
+ // Handle hspace
+ if (ty == 'hspace') {
+ dom.setStyle(img, 'marginLeft', '');
+ dom.setStyle(img, 'marginRight', '');
+
+ v = f.hspace.value;
+ if (v) {
+ img.style.marginLeft = v + 'px';
+ img.style.marginRight = v + 'px';
+ }
+ }
+
+ // Handle vspace
+ if (ty == 'vspace') {
+ dom.setStyle(img, 'marginTop', '');
+ dom.setStyle(img, 'marginBottom', '');
+
+ v = f.vspace.value;
+ if (v) {
+ img.style.marginTop = v + 'px';
+ img.style.marginBottom = v + 'px';
+ }
+ }
+
+ // Merge
+ dom.get('style').value = dom.serializeStyle(dom.parseStyle(img.style.cssText), 'img');
+ }
+ },
+
+ changeMouseMove : function() {
+ },
+
+ showPreviewImage : function(u, st) {
+ if (!u) {
+ tinyMCEPopup.dom.setHTML('prev', '');
+ return;
+ }
+
+ if (!st && tinyMCEPopup.getParam("advimage_update_dimensions_onchange", true))
+ this.resetImageData();
+
+ u = tinyMCEPopup.editor.documentBaseURI.toAbsolute(u);
+
+ if (!st)
+ tinyMCEPopup.dom.setHTML('prev', '<img id="previewImg" src="' + u + '" border="0" onload="ImageDialog.updateImageData(this);" onerror="ImageDialog.resetImageData();" />');
+ else
+ tinyMCEPopup.dom.setHTML('prev', '<img id="previewImg" src="' + u + '" border="0" onload="ImageDialog.updateImageData(this, 1);" />');
+ }
+};
+
+ImageDialog.preInit();
+tinyMCEPopup.onInit.add(ImageDialog.init, ImageDialog);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/de_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/de_dlg.js
new file mode 100644
index 00000000..c5ea891a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/de_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('de.advimage_dlg',{"image_list":"Bilderliste","align_right":"Rechts","align_left":"Links","align_textbottom":"Unten im Text","align_texttop":"Oben im Text","align_bottom":"Unten","align_middle":"Mittig","align_top":"Oben","align_baseline":"Zeile",align:"Ausrichtung",hspace:"Horizontaler Abstand",vspace:"Vertikaler Abstand",dimensions:"Ausma\u00dfe",border:"Rahmen",list:"Bilderliste",alt:"Beschreibung",src:"Adresse","dialog_title":"Bild einf\u00fcgen/ver\u00e4ndern","missing_alt":"Soll wirklich keine Beschreibung f\u00fcr das Bild eingegeben werden? Bestimmte Benutzer mit k\u00f6rperlichen Einschr\u00e4nkungen k\u00f6nnen so nicht darauf zugreifen, ebenso solche, die einen Textbrowser benutzen oder die Anzeige von Bildern deaktiviert haben.","example_img":"Vorschau auf das Aussehen",misc:"Verschiedenes",mouseout:"bei keinem Mauskontakt",mouseover:"bei Mauskontakt","alt_image":"Alternatives Bild","swap_image":"Bild austauschen",map:"Image-Map",id:"ID",rtl:"Rechts nach links",ltr:"Links nach rechts",classes:"Klassen",style:"Format","long_desc":"Ausf\u00fchrliche Beschreibung",langcode:"Sprachcode",langdir:"Schriftrichtung","constrain_proportions":"Seitenverh\u00e4ltnis beibehalten",preview:"Vorschau",title:"Titel",general:"Allgemein","tab_advanced":"Erweitert","tab_appearance":"Aussehen","tab_general":"Allgemein",width:"Breite",height:"H\u00f6he"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/en_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/en_dlg.js
new file mode 100644
index 00000000..5f122e2c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/en_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('en.advimage_dlg',{"image_list":"Image List","align_right":"Right","align_left":"Left","align_textbottom":"Text Bottom","align_texttop":"Text Top","align_bottom":"Bottom","align_middle":"Middle","align_top":"Top","align_baseline":"Baseline",align:"Alignment",hspace:"Horizontal Space",vspace:"Vertical Space",dimensions:"Dimensions",border:"Border",list:"Image List",alt:"Image Description",src:"Image URL","dialog_title":"Insert/Edit Image","missing_alt":"Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.","example_img":"Appearance Preview Image",misc:"Miscellaneous",mouseout:"For Mouse Out",mouseover:"For Mouse Over","alt_image":"Alternative Image","swap_image":"Swap Image",map:"Image Map",id:"ID",rtl:"Right to Left",ltr:"Left to Right",classes:"Classes",style:"Style","long_desc":"Long Description Link",langcode:"Language Code",langdir:"Language Direction","constrain_proportions":"Constrain Proportions",preview:"Preview",title:"Title",general:"General","tab_advanced":"Advanced","tab_appearance":"Appearance","tab_general":"General",width:"Width",height:"Height"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/hu_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/hu_dlg.js
new file mode 100644
index 00000000..37c93464
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/hu_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('hu.advimage_dlg',{"image_list":"K\u00e9plista","align_right":"Jobbra","align_left":"Balra","align_textbottom":"Sz\u00f6veg alj\u00e1hoz","align_texttop":"Sz\u00f6veg tetej\u00e9hez","align_bottom":"Lentre","align_middle":"K\u00f6z\u00e9pre","align_top":"Fentre","align_baseline":"Alapvonalhoz",align:"Igaz\u00edt\u00e1s",hspace:"V\u00edzszintes t\u00e1vols\u00e1g",vspace:"F\u00fcgg\u0151leges t\u00e1vols\u00e1g",dimensions:"M\u00e9retek",border:"Keret",list:"K\u00e9plista",alt:"K\u00e9p helyettes\u00edt\u0151 sz\u00f6vege",src:"K\u00e9p internet c\u00edme","dialog_title":"K\u00e9p besz\u00far\u00e1sa/szerkeszt\u00e9se","missing_alt":"Biztosan folytatja k\u00e9pet le\u00edr\u00f3 sz\u00f6veg n\u00e9lk\u00fcl? En\u00e9lk\u00fcl a fogyat\u00e9koss\u00e1ggal \u00e9l\u0151k, sz\u00f6veges b\u00f6ng\u00e9sz\u0151t haszn\u00e1l\u00f3k \u00e9s a k\u00e9pek megjelen\u00edt\u00e9s\u00e9t letilt\u00f3 felhaszn\u00e1l\u00f3k h\u00e1tr\u00e1nyba ker\u00fclnek.","example_img":"El\u0151n\u00e9zeti k\u00e9p megjelen\u00edt\u00e9se",misc:"Vegyes",mouseout:"K\u00e9p az eg\u00e9rkurzor lev\u00e9telekor",mouseover:"K\u00e9p az eg\u00e9rkurzor f\u00f6l\u00e9vitelekor","alt_image":"Alternat\u00edv k\u00e9p","swap_image":"K\u00e9pcsere",map:"K\u00e9p t\u00e9rk\u00e9p",id:"ID",rtl:"Jobbr\u00f3l balra",ltr:"Balr\u00f3l jobbra",classes:"Oszt\u00e1lyok",style:"CSS St\u00edlus","long_desc":"B\u0151vebb le\u00edr\u00e1s\u00fa link",langcode:"Nyelv k\u00f3d",langdir:"Nyelv \u00edr\u00e1s ir\u00e1ny","constrain_proportions":"Ar\u00e1nytart\u00e1s",preview:"El\u0151n\u00e9zet",title:"C\u00edm",general:"\u00c1ltal\u00e1nos","tab_advanced":"Halad\u00f3","tab_appearance":"Megjelen\u00e9s","tab_general":"\u00c1ltal\u00e1nos",width:"Sz\u00e9less\u00e9g",height:"Magass\u00e1g"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/ja_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/ja_dlg.js
new file mode 100644
index 00000000..f8449c42
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/ja_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('ja.advimage_dlg',{"image_list":"\u753b\u50cf\u306e\u4e00\u89a7","align_right":"\u53f3\u5bc4\u305b","align_left":"\u5de6\u5bc4\u305b","align_textbottom":"\u30c6\u30ad\u30b9\u30c8\u3092\u4e0b\u7aef\u63c3\u3048","align_texttop":"\u30c6\u30ad\u30b9\u30c8\u3092\u4e0a\u7aef\u63c3\u3048","align_bottom":"\u4e0b\u63c3\u3048","align_middle":"\u4e2d\u592e\u63c3\u3048","align_top":"\u4e0a\u63c3\u3048","align_baseline":"\u30d9\u30fc\u30b9\u30e9\u30a4\u30f3\u63c3\u3048",align:"\u914d\u7f6e",hspace:"\u5de6\u53f3\u306e\u4f59\u767d",vspace:"\u4e0a\u4e0b\u306e\u4f59\u767d",dimensions:"\u5bf8\u6cd5",border:"\u67a0\u7dda",list:"\u753b\u50cf\u306e\u4e00\u89a7",alt:"\u753b\u50cf\u306e\u8aac\u660e",src:"\u753b\u50cf\u306eURL","dialog_title":"\u753b\u50cf\u3092\u633f\u5165/\u7de8\u96c6","missing_alt":"\u753b\u50cf\u306e\u8aac\u660e\u3092\u542b\u3081\u305a\u306b\u7d9a\u3051\u307e\u3059\u304b? \u753b\u50cf\u306e\u8aac\u660e\u304c\u306a\u3044\u3068\u76ee\u306e\u4e0d\u81ea\u7531\u306a\u65b9\u3001\u30c6\u30ad\u30b9\u30c8\u8868\u793a\u3060\u3051\u306e\u30d6\u30e9\u30a6\u30b6\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u65b9\u3001\u753b\u50cf\u306e\u8868\u793a\u3092\u6b62\u3081\u3066\u308b\u65b9\u304c\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002","example_img":"\u753b\u50cf\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u306e\u69d8\u5b50",misc:"\u305d\u306e\u4ed6",mouseout:"\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u304c\u5916\u308c\u308b\u6642",mouseover:"\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u304c\u304b\u304b\u308b\u6642","alt_image":"\u5225\u306e\u753b\u50cf","swap_image":"\u753b\u50cf\u306e\u5165\u308c\u66ff\u3048",map:"\u30a4\u30e1\u30fc\u30b8\u30de\u30c3\u30d7",id:"ID",rtl:"\u53f3\u304b\u3089\u5de6",ltr:"\u5de6\u304b\u3089\u53f3",classes:"\u30af\u30e9\u30b9",style:"\u30b9\u30bf\u30a4\u30eb","long_desc":"\u8a73\u7d30\u306a\u8aac\u660e\u306e\u30ea\u30f3\u30af",langcode:"\u8a00\u8a9e\u30b3\u30fc\u30c9",langdir:"\u6587\u7ae0\u306e\u65b9\u5411","constrain_proportions":"\u7e26\u6a2a\u6bd4\u306e\u7dad\u6301",preview:"\u30d7\u30ec\u30d3\u30e5\u30fc",title:"\u30bf\u30a4\u30c8\u30eb",general:"\u4e00\u822c","tab_advanced":"\u9ad8\u5ea6\u306a\u8a2d\u5b9a","tab_appearance":"\u8868\u793a","tab_general":"\u4e00\u822c",width:"\u5e45",height:"\u9ad8\u3055"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/css/advlink.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/css/advlink.css
new file mode 100755
index 00000000..14364316
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/css/advlink.css
@@ -0,0 +1,8 @@
+.mceLinkList, .mceAnchorList, #targetlist {width:280px;}
+.mceActionPanel {margin-top:7px;}
+.panel_wrapper div.current {height:320px;}
+#classlist, #title, #href {width:280px;}
+#popupurl, #popupname {width:200px;}
+#popupwidth, #popupheight, #popupleft, #popuptop {width:30px;vertical-align:middle;text-align:center;}
+#id, #style, #classes, #target, #dir, #hreflang, #lang, #charset, #type, #rel, #rev, #tabindex, #accesskey {width:200px;}
+#events_panel input {width:200px;}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/editor_plugin.js
new file mode 100755
index 00000000..983fe5a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.AdvancedLinkPlugin",{init:function(a,b){this.editor=a;a.addCommand("mceAdvLink",function(){var c=a.selection;if(c.isCollapsed()&&!a.dom.getParent(c.getNode(),"A")){return}a.windowManager.open({file:b+"/link.htm",width:480+parseInt(a.getLang("advlink.delta_width",0)),height:400+parseInt(a.getLang("advlink.delta_height",0)),inline:1},{plugin_url:b})});a.addButton("link",{title:"advlink.link_desc",cmd:"mceAdvLink"});a.addShortcut("ctrl+k","advlink.advlink_desc","mceAdvLink");a.onNodeChange.add(function(d,c,f,e){c.setDisabled("link",e&&f.nodeName!="A");c.setActive("link",f.nodeName=="A"&&!f.name)})},getInfo:function(){return{longname:"Advanced link",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("advlink",tinymce.plugins.AdvancedLinkPlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/editor_plugin_src.js
new file mode 100755
index 00000000..14e46a76
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/editor_plugin_src.js
@@ -0,0 +1,61 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.AdvancedLinkPlugin', {
+ init : function(ed, url) {
+ this.editor = ed;
+
+ // Register commands
+ ed.addCommand('mceAdvLink', function() {
+ var se = ed.selection;
+
+ // No selection and not in link
+ if (se.isCollapsed() && !ed.dom.getParent(se.getNode(), 'A'))
+ return;
+
+ ed.windowManager.open({
+ file : url + '/link.htm',
+ width : 480 + parseInt(ed.getLang('advlink.delta_width', 0)),
+ height : 400 + parseInt(ed.getLang('advlink.delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ // Register buttons
+ ed.addButton('link', {
+ title : 'advlink.link_desc',
+ cmd : 'mceAdvLink'
+ });
+
+ ed.addShortcut('ctrl+k', 'advlink.advlink_desc', 'mceAdvLink');
+
+ ed.onNodeChange.add(function(ed, cm, n, co) {
+ cm.setDisabled('link', co && n.nodeName != 'A');
+ cm.setActive('link', n.nodeName == 'A' && !n.name);
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Advanced link',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('advlink', tinymce.plugins.AdvancedLinkPlugin);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/js/advlink.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/js/advlink.js
new file mode 100644
index 00000000..f013aac1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/js/advlink.js
@@ -0,0 +1,543 @@
+/* Functions for the advlink plugin popup */
+
+tinyMCEPopup.requireLangPack();
+
+var templates = {
+ "window.open" : "window.open('${url}','${target}','${options}')"
+};
+
+function preinit() {
+ var url;
+
+ if (url = tinyMCEPopup.getParam("external_link_list_url"))
+ document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
+}
+
+function changeClass() {
+ var f = document.forms[0];
+
+ f.classes.value = getSelectValue(f, 'classlist');
+}
+
+function init() {
+ tinyMCEPopup.resizeToInnerSize();
+
+ var formObj = document.forms[0];
+ var inst = tinyMCEPopup.editor;
+ var elm = inst.selection.getNode();
+ var action = "insert";
+ var html;
+
+ document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser','href','file','advlink');
+ document.getElementById('popupurlbrowsercontainer').innerHTML = getBrowserHTML('popupurlbrowser','popupurl','file','advlink');
+ document.getElementById('targetlistcontainer').innerHTML = getTargetListHTML('targetlist','target');
+
+ // Link list
+ html = getLinkListHTML('linklisthref','href');
+ if (html == "")
+ document.getElementById("linklisthrefrow").style.display = 'none';
+ else
+ document.getElementById("linklisthrefcontainer").innerHTML = html;
+
+ // Anchor list
+ html = getAnchorListHTML('anchorlist','href');
+ if (html == "")
+ document.getElementById("anchorlistrow").style.display = 'none';
+ else
+ document.getElementById("anchorlistcontainer").innerHTML = html;
+
+ // Resize some elements
+ if (isVisible('hrefbrowser'))
+ document.getElementById('href').style.width = '260px';
+
+ if (isVisible('popupurlbrowser'))
+ document.getElementById('popupurl').style.width = '180px';
+
+ elm = inst.dom.getParent(elm, "A");
+ if (elm == null) {
+ var prospect = inst.dom.create("p", null, inst.selection.getContent());
+ if (prospect.childNodes.length === 1) {
+ elm = prospect.firstChild;
+ }
+ }
+
+ if (elm != null && elm.nodeName == "A")
+ action = "update";
+
+ formObj.insert.value = tinyMCEPopup.getLang(action, 'Insert', true);
+
+ setPopupControlsDisabled(true);
+
+ if (action == "update") {
+ var href = inst.dom.getAttrib(elm, 'href');
+ var onclick = inst.dom.getAttrib(elm, 'onclick');
+ var linkTarget = inst.dom.getAttrib(elm, 'target') ? inst.dom.getAttrib(elm, 'target') : "_self";
+
+ // Setup form data
+ setFormValue('href', href);
+ setFormValue('title', inst.dom.getAttrib(elm, 'title'));
+ setFormValue('id', inst.dom.getAttrib(elm, 'id'));
+ setFormValue('style', inst.dom.getAttrib(elm, "style"));
+ setFormValue('rel', inst.dom.getAttrib(elm, 'rel'));
+ setFormValue('rev', inst.dom.getAttrib(elm, 'rev'));
+ setFormValue('charset', inst.dom.getAttrib(elm, 'charset'));
+ setFormValue('hreflang', inst.dom.getAttrib(elm, 'hreflang'));
+ setFormValue('dir', inst.dom.getAttrib(elm, 'dir'));
+ setFormValue('lang', inst.dom.getAttrib(elm, 'lang'));
+ setFormValue('tabindex', inst.dom.getAttrib(elm, 'tabindex', typeof(elm.tabindex) != "undefined" ? elm.tabindex : ""));
+ setFormValue('accesskey', inst.dom.getAttrib(elm, 'accesskey', typeof(elm.accesskey) != "undefined" ? elm.accesskey : ""));
+ setFormValue('type', inst.dom.getAttrib(elm, 'type'));
+ setFormValue('onfocus', inst.dom.getAttrib(elm, 'onfocus'));
+ setFormValue('onblur', inst.dom.getAttrib(elm, 'onblur'));
+ setFormValue('onclick', onclick);
+ setFormValue('ondblclick', inst.dom.getAttrib(elm, 'ondblclick'));
+ setFormValue('onmousedown', inst.dom.getAttrib(elm, 'onmousedown'));
+ setFormValue('onmouseup', inst.dom.getAttrib(elm, 'onmouseup'));
+ setFormValue('onmouseover', inst.dom.getAttrib(elm, 'onmouseover'));
+ setFormValue('onmousemove', inst.dom.getAttrib(elm, 'onmousemove'));
+ setFormValue('onmouseout', inst.dom.getAttrib(elm, 'onmouseout'));
+ setFormValue('onkeypress', inst.dom.getAttrib(elm, 'onkeypress'));
+ setFormValue('onkeydown', inst.dom.getAttrib(elm, 'onkeydown'));
+ setFormValue('onkeyup', inst.dom.getAttrib(elm, 'onkeyup'));
+ setFormValue('target', linkTarget);
+ setFormValue('classes', inst.dom.getAttrib(elm, 'class'));
+
+ // Parse onclick data
+ if (onclick != null && onclick.indexOf('window.open') != -1)
+ parseWindowOpen(onclick);
+ else
+ parseFunction(onclick);
+
+ // Select by the values
+ selectByValue(formObj, 'dir', inst.dom.getAttrib(elm, 'dir'));
+ selectByValue(formObj, 'rel', inst.dom.getAttrib(elm, 'rel'));
+ selectByValue(formObj, 'rev', inst.dom.getAttrib(elm, 'rev'));
+ selectByValue(formObj, 'linklisthref', href);
+
+ if (href.charAt(0) == '#')
+ selectByValue(formObj, 'anchorlist', href);
+
+ addClassesToList('classlist', 'advlink_styles');
+
+ selectByValue(formObj, 'classlist', inst.dom.getAttrib(elm, 'class'), true);
+ selectByValue(formObj, 'targetlist', linkTarget, true);
+ } else
+ addClassesToList('classlist', 'advlink_styles');
+}
+
+function checkPrefix(n) {
+ if (n.value && Validator.isEmail(n) && !/^\s*mailto:/i.test(n.value) && confirm(tinyMCEPopup.getLang('advlink_dlg.is_email')))
+ n.value = 'mailto:' + n.value;
+
+ if (/^\s*www\./i.test(n.value) && confirm(tinyMCEPopup.getLang('advlink_dlg.is_external')))
+ n.value = 'http://' + n.value;
+}
+
+function setFormValue(name, value) {
+ document.forms[0].elements[name].value = value;
+}
+
+function parseWindowOpen(onclick) {
+ var formObj = document.forms[0];
+
+ // Preprocess center code
+ if (onclick.indexOf('return false;') != -1) {
+ formObj.popupreturn.checked = true;
+ onclick = onclick.replace('return false;', '');
+ } else
+ formObj.popupreturn.checked = false;
+
+ var onClickData = parseLink(onclick);
+
+ if (onClickData != null) {
+ formObj.ispopup.checked = true;
+ setPopupControlsDisabled(false);
+
+ var onClickWindowOptions = parseOptions(onClickData['options']);
+ var url = onClickData['url'];
+
+ formObj.popupname.value = onClickData['target'];
+ formObj.popupurl.value = url;
+ formObj.popupwidth.value = getOption(onClickWindowOptions, 'width');
+ formObj.popupheight.value = getOption(onClickWindowOptions, 'height');
+
+ formObj.popupleft.value = getOption(onClickWindowOptions, 'left');
+ formObj.popuptop.value = getOption(onClickWindowOptions, 'top');
+
+ if (formObj.popupleft.value.indexOf('screen') != -1)
+ formObj.popupleft.value = "c";
+
+ if (formObj.popuptop.value.indexOf('screen') != -1)
+ formObj.popuptop.value = "c";
+
+ formObj.popuplocation.checked = getOption(onClickWindowOptions, 'location') == "yes";
+ formObj.popupscrollbars.checked = getOption(onClickWindowOptions, 'scrollbars') == "yes";
+ formObj.popupmenubar.checked = getOption(onClickWindowOptions, 'menubar') == "yes";
+ formObj.popupresizable.checked = getOption(onClickWindowOptions, 'resizable') == "yes";
+ formObj.popuptoolbar.checked = getOption(onClickWindowOptions, 'toolbar') == "yes";
+ formObj.popupstatus.checked = getOption(onClickWindowOptions, 'status') == "yes";
+ formObj.popupdependent.checked = getOption(onClickWindowOptions, 'dependent') == "yes";
+
+ buildOnClick();
+ }
+}
+
+function parseFunction(onclick) {
+ var formObj = document.forms[0];
+ var onClickData = parseLink(onclick);
+
+ // TODO: Add stuff here
+}
+
+function getOption(opts, name) {
+ return typeof(opts[name]) == "undefined" ? "" : opts[name];
+}
+
+function setPopupControlsDisabled(state) {
+ var formObj = document.forms[0];
+
+ formObj.popupname.disabled = state;
+ formObj.popupurl.disabled = state;
+ formObj.popupwidth.disabled = state;
+ formObj.popupheight.disabled = state;
+ formObj.popupleft.disabled = state;
+ formObj.popuptop.disabled = state;
+ formObj.popuplocation.disabled = state;
+ formObj.popupscrollbars.disabled = state;
+ formObj.popupmenubar.disabled = state;
+ formObj.popupresizable.disabled = state;
+ formObj.popuptoolbar.disabled = state;
+ formObj.popupstatus.disabled = state;
+ formObj.popupreturn.disabled = state;
+ formObj.popupdependent.disabled = state;
+
+ setBrowserDisabled('popupurlbrowser', state);
+}
+
+function parseLink(link) {
+ link = link.replace(new RegExp('&#39;', 'g'), "'");
+
+ var fnName = link.replace(new RegExp("\\s*([A-Za-z0-9\.]*)\\s*\\(.*", "gi"), "$1");
+
+ // Is function name a template function
+ var template = templates[fnName];
+ if (template) {
+ // Build regexp
+ var variableNames = template.match(new RegExp("'?\\$\\{[A-Za-z0-9\.]*\\}'?", "gi"));
+ var regExp = "\\s*[A-Za-z0-9\.]*\\s*\\(";
+ var replaceStr = "";
+ for (var i=0; i<variableNames.length; i++) {
+ // Is string value
+ if (variableNames[i].indexOf("'${") != -1)
+ regExp += "'(.*)'";
+ else // Number value
+ regExp += "([0-9]*)";
+
+ replaceStr += "$" + (i+1);
+
+ // Cleanup variable name
+ variableNames[i] = variableNames[i].replace(new RegExp("[^A-Za-z0-9]", "gi"), "");
+
+ if (i != variableNames.length-1) {
+ regExp += "\\s*,\\s*";
+ replaceStr += "<delim>";
+ } else
+ regExp += ".*";
+ }
+
+ regExp += "\\);?";
+
+ // Build variable array
+ var variables = [];
+ variables["_function"] = fnName;
+ var variableValues = link.replace(new RegExp(regExp, "gi"), replaceStr).split('<delim>');
+ for (var i=0; i<variableNames.length; i++)
+ variables[variableNames[i]] = variableValues[i];
+
+ return variables;
+ }
+
+ return null;
+}
+
+function parseOptions(opts) {
+ if (opts == null || opts == "")
+ return [];
+
+ // Cleanup the options
+ opts = opts.toLowerCase();
+ opts = opts.replace(/;/g, ",");
+ opts = opts.replace(/[^0-9a-z=,]/g, "");
+
+ var optionChunks = opts.split(',');
+ var options = [];
+
+ for (var i=0; i<optionChunks.length; i++) {
+ var parts = optionChunks[i].split('=');
+
+ if (parts.length == 2)
+ options[parts[0]] = parts[1];
+ }
+
+ return options;
+}
+
+function buildOnClick() {
+ var formObj = document.forms[0];
+
+ if (!formObj.ispopup.checked) {
+ formObj.onclick.value = "";
+ return;
+ }
+
+ var onclick = "window.open('";
+ var url = formObj.popupurl.value;
+
+ onclick += url + "','";
+ onclick += formObj.popupname.value + "','";
+
+ if (formObj.popuplocation.checked)
+ onclick += "location=yes,";
+
+ if (formObj.popupscrollbars.checked)
+ onclick += "scrollbars=yes,";
+
+ if (formObj.popupmenubar.checked)
+ onclick += "menubar=yes,";
+
+ if (formObj.popupresizable.checked)
+ onclick += "resizable=yes,";
+
+ if (formObj.popuptoolbar.checked)
+ onclick += "toolbar=yes,";
+
+ if (formObj.popupstatus.checked)
+ onclick += "status=yes,";
+
+ if (formObj.popupdependent.checked)
+ onclick += "dependent=yes,";
+
+ if (formObj.popupwidth.value != "")
+ onclick += "width=" + formObj.popupwidth.value + ",";
+
+ if (formObj.popupheight.value != "")
+ onclick += "height=" + formObj.popupheight.value + ",";
+
+ if (formObj.popupleft.value != "") {
+ if (formObj.popupleft.value != "c")
+ onclick += "left=" + formObj.popupleft.value + ",";
+ else
+ onclick += "left='+(screen.availWidth/2-" + (formObj.popupwidth.value/2) + ")+',";
+ }
+
+ if (formObj.popuptop.value != "") {
+ if (formObj.popuptop.value != "c")
+ onclick += "top=" + formObj.popuptop.value + ",";
+ else
+ onclick += "top='+(screen.availHeight/2-" + (formObj.popupheight.value/2) + ")+',";
+ }
+
+ if (onclick.charAt(onclick.length-1) == ',')
+ onclick = onclick.substring(0, onclick.length-1);
+
+ onclick += "');";
+
+ if (formObj.popupreturn.checked)
+ onclick += "return false;";
+
+ // tinyMCE.debug(onclick);
+
+ formObj.onclick.value = onclick;
+
+ if (formObj.href.value == "")
+ formObj.href.value = url;
+}
+
+function setAttrib(elm, attrib, value) {
+ var formObj = document.forms[0];
+ var valueElm = formObj.elements[attrib.toLowerCase()];
+ var dom = tinyMCEPopup.editor.dom;
+
+ if (typeof(value) == "undefined" || value == null) {
+ value = "";
+
+ if (valueElm)
+ value = valueElm.value;
+ }
+
+ // Clean up the style
+ if (attrib == 'style')
+ value = dom.serializeStyle(dom.parseStyle(value), 'a');
+
+ dom.setAttrib(elm, attrib, value);
+}
+
+function getAnchorListHTML(id, target) {
+ var ed = tinyMCEPopup.editor, nodes = ed.dom.select('a'), name, i, len, html = "";
+
+ for (i=0, len=nodes.length; i<len; i++) {
+ if ((name = ed.dom.getAttrib(nodes[i], "name")) != "")
+ html += '<option value="#' + name + '">' + name + '</option>';
+
+ if ((name = nodes[i].id) != "" && !nodes[i].href)
+ html += '<option value="#' + name + '">' + name + '</option>';
+ }
+
+ if (html == "")
+ return "";
+
+ html = '<select id="' + id + '" name="' + id + '" class="mceAnchorList"'
+ + ' onchange="this.form.' + target + '.value=this.options[this.selectedIndex].value"'
+ + '>'
+ + '<option value="">---</option>'
+ + html
+ + '</select>';
+
+ return html;
+}
+
+function insertAction() {
+ var inst = tinyMCEPopup.editor;
+ var elm, elementArray, i;
+
+ elm = inst.selection.getNode();
+ checkPrefix(document.forms[0].href);
+
+ elm = inst.dom.getParent(elm, "A");
+
+ // Remove element if there is no href
+ if (!document.forms[0].href.value) {
+ i = inst.selection.getBookmark();
+ inst.dom.remove(elm, 1);
+ inst.selection.moveToBookmark(i);
+ tinyMCEPopup.execCommand("mceEndUndoLevel");
+ tinyMCEPopup.close();
+ return;
+ }
+
+ // Create new anchor elements
+ if (elm == null) {
+ inst.getDoc().execCommand("unlink", false, null);
+ tinyMCEPopup.execCommand("mceInsertLink", false, "#mce_temp_url#", {skip_undo : 1});
+
+ elementArray = tinymce.grep(inst.dom.select("a"), function(n) {return inst.dom.getAttrib(n, 'href') == '#mce_temp_url#';});
+ for (i=0; i<elementArray.length; i++)
+ setAllAttribs(elm = elementArray[i]);
+ } else
+ setAllAttribs(elm);
+
+ // Don't move caret if selection was image
+ if (elm.childNodes.length != 1 || elm.firstChild.nodeName != 'IMG') {
+ inst.focus();
+ inst.selection.select(elm);
+ inst.selection.collapse(0);
+ tinyMCEPopup.storeSelection();
+ }
+
+ tinyMCEPopup.execCommand("mceEndUndoLevel");
+ tinyMCEPopup.close();
+}
+
+function setAllAttribs(elm) {
+ var formObj = document.forms[0];
+ var href = formObj.href.value.replace(/ /g, '%20');
+ var target = getSelectValue(formObj, 'targetlist');
+
+ setAttrib(elm, 'href', href);
+ setAttrib(elm, 'title');
+ setAttrib(elm, 'target', target == '_self' ? '' : target);
+ setAttrib(elm, 'id');
+ setAttrib(elm, 'style');
+ setAttrib(elm, 'class', getSelectValue(formObj, 'classlist'));
+ setAttrib(elm, 'rel');
+ setAttrib(elm, 'rev');
+ setAttrib(elm, 'charset');
+ setAttrib(elm, 'hreflang');
+ setAttrib(elm, 'dir');
+ setAttrib(elm, 'lang');
+ setAttrib(elm, 'tabindex');
+ setAttrib(elm, 'accesskey');
+ setAttrib(elm, 'type');
+ setAttrib(elm, 'onfocus');
+ setAttrib(elm, 'onblur');
+ setAttrib(elm, 'onclick');
+ setAttrib(elm, 'ondblclick');
+ setAttrib(elm, 'onmousedown');
+ setAttrib(elm, 'onmouseup');
+ setAttrib(elm, 'onmouseover');
+ setAttrib(elm, 'onmousemove');
+ setAttrib(elm, 'onmouseout');
+ setAttrib(elm, 'onkeypress');
+ setAttrib(elm, 'onkeydown');
+ setAttrib(elm, 'onkeyup');
+
+ // Refresh in old MSIE
+ if (tinyMCE.isMSIE5)
+ elm.outerHTML = elm.outerHTML;
+}
+
+function getSelectValue(form_obj, field_name) {
+ var elm = form_obj.elements[field_name];
+
+ if (!elm || elm.options == null || elm.selectedIndex == -1)
+ return "";
+
+ return elm.options[elm.selectedIndex].value;
+}
+
+function getLinkListHTML(elm_id, target_form_element, onchange_func) {
+ if (typeof(tinyMCELinkList) == "undefined" || tinyMCELinkList.length == 0)
+ return "";
+
+ var html = "";
+
+ html += '<select id="' + elm_id + '" name="' + elm_id + '"';
+ html += ' class="mceLinkList" onchange="this.form.' + target_form_element + '.value=';
+ html += 'this.options[this.selectedIndex].value;';
+
+ if (typeof(onchange_func) != "undefined")
+ html += onchange_func + '(\'' + target_form_element + '\',this.options[this.selectedIndex].text,this.options[this.selectedIndex].value);';
+
+ html += '"><option value="">---</option>';
+
+ for (var i=0; i<tinyMCELinkList.length; i++)
+ html += '<option value="' + tinyMCELinkList[i][1] + '">' + tinyMCELinkList[i][0] + '</option>';
+
+ html += '</select>';
+
+ return html;
+
+ // tinyMCE.debug('-- image list start --', html, '-- image list end --');
+}
+
+function getTargetListHTML(elm_id, target_form_element) {
+ var targets = tinyMCEPopup.getParam('theme_advanced_link_targets', '').split(';');
+ var html = '';
+
+ html += '<select id="' + elm_id + '" name="' + elm_id + '" onchange="this.form.' + target_form_element + '.value=';
+ html += 'this.options[this.selectedIndex].value;">';
+ html += '<option value="_self">' + tinyMCEPopup.getLang('advlink_dlg.target_same') + '</option>';
+ html += '<option value="_blank">' + tinyMCEPopup.getLang('advlink_dlg.target_blank') + ' (_blank)</option>';
+ html += '<option value="_parent">' + tinyMCEPopup.getLang('advlink_dlg.target_parent') + ' (_parent)</option>';
+ html += '<option value="_top">' + tinyMCEPopup.getLang('advlink_dlg.target_top') + ' (_top)</option>';
+
+ for (var i=0; i<targets.length; i++) {
+ var key, value;
+
+ if (targets[i] == "")
+ continue;
+
+ key = targets[i].split('=')[0];
+ value = targets[i].split('=')[1];
+
+ html += '<option value="' + key + '">' + value + ' (' + key + ')</option>';
+ }
+
+ html += '</select>';
+
+ return html;
+}
+
+// While loading
+preinit();
+tinyMCEPopup.onInit.add(init);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/de_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/de_dlg.js
new file mode 100644
index 00000000..475dfe95
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/de_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('de.advlink_dlg',{"target_name":"Name der Zielseite",classes:"Klassen",style:"Format",id:"ID","popup_position":"Position (X/Y)",langdir:"Schriftrichtung","popup_size":"Gr\u00f6\u00dfe","popup_dependent":"Vom Elternfenster abh\u00e4ngig <br /> (nur Mozilla/Firefox) ","popup_resizable":"Vergr\u00f6\u00dfern des Fenster zulassen","popup_location":"Adressleiste anzeigen","popup_menubar":"Browsermen\u00fc anzeigen","popup_toolbar":"Werkzeugleisten anzeigen","popup_statusbar":"Statusleiste anzeigen","popup_scrollbars":"Scrollbalken anzeigen","popup_return":"Link trotz Popup folgen","popup_name":"Name des Fensters","popup_url":"Popup-Adresse",popup:"JavaScript-Popup","target_blank":"In neuem Fenster \u00f6ffnen","target_top":"Im obersten Frame \u00f6ffnen (sprengt das Frameset)","target_parent":"Im \u00fcbergeordneten Fenster/Frame \u00f6ffnen","target_same":"Im selben Fenster/Frame \u00f6ffnen","anchor_names":"Anker","popup_opts":"Optionen","advanced_props":"Erweiterte Eigenschaften","event_props":"Ereignisse","popup_props":"Popup-Eigenschaften","general_props":"Allemeine Eigenschaften","advanced_tab":"Erweitert","events_tab":"Ereignisse","popup_tab":"Popup","general_tab":"Allgemein",list:"Linkliste","is_external":"Diese Adresse scheint ein externer Link zu sein. Soll das dazu ben\u00f6tigte \"http://\" vorangestellt werden?","is_email":"Diese Adresse scheint eine E-Mail Adresse zu sein. Soll das dazu ben\u00f6tigte \"mailto:\" vorangestellt werden?",titlefield:"Titel",target:"Fenster",url:"Adresse",title:"Link einf\u00fcgen/bearbeiten","link_list":"Linkliste",rtl:"Rechts nach links",ltr:"Links nach rechts",accesskey:"Tastenk\u00fcrzel",tabindex:"Tabindex",rev:"Beziehung des Linkziels zur Seite",rel:"Beziehung der Seite zum Linkziel",mime:"MIME-Type der Zielseite",encoding:"Zeichenkodierung der Zielseite",langcode:"Sprachcode","target_langcode":"Sprache der Zielseite",width:"Breite",height:"H\u00f6he"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/en_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/en_dlg.js
new file mode 100644
index 00000000..3169a565
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/en_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('en.advlink_dlg',{"target_name":"Target Name",classes:"Classes",style:"Style",id:"ID","popup_position":"Position (X/Y)",langdir:"Language Direction","popup_size":"Size","popup_dependent":"Dependent (Mozilla/Firefox Only)","popup_resizable":"Make Window Resizable","popup_location":"Show Location Bar","popup_menubar":"Show Menu Bar","popup_toolbar":"Show Toolbars","popup_statusbar":"Show Status Bar","popup_scrollbars":"Show Scrollbars","popup_return":"Insert \'return false\'","popup_name":"Window Name","popup_url":"Popup URL",popup:"JavaScript Popup","target_blank":"Open in New Window","target_top":"Open in Top Frame (Replaces All Frames)","target_parent":"Open in Parent Window/Frame","target_same":"Open in This Window/Frame","anchor_names":"Anchors","popup_opts":"Options","advanced_props":"Advanced Properties","event_props":"Events","popup_props":"Popup Properties","general_props":"General Properties","advanced_tab":"Advanced","events_tab":"Events","popup_tab":"Popup","general_tab":"General",list:"Link List","is_external":"The URL you entered seems to be an external link. Do you want to add the required http:// prefix?","is_email":"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",titlefield:"Title",target:"Target",url:"Link URL",title:"Insert/Edit Link","link_list":"Link List",rtl:"Right to Left",ltr:"Left to Right",accesskey:"AccessKey",tabindex:"TabIndex",rev:"Relationship Target to Page",rel:"Relationship Page to Target",mime:"Target MIME Type",encoding:"Target Character Encoding",langcode:"Language Code","target_langcode":"Target Language",width:"Width",height:"Height"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/hu_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/hu_dlg.js
new file mode 100644
index 00000000..ec82452c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/hu_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('hu.advlink_dlg',{"target_name":"C\u00e9l neve",classes:"Oszt\u00e1lyok",style:"St\u00edlus",id:"ID","popup_position":" (X/Y) Poz\u00edci\u00f3",langdir:"Nyelv \u00edr\u00e1s ir\u00e1ny","popup_size":"M\u00e9ret","popup_dependent":"F\u00fcgg\u0151 (csak Mozilla/Firefox)","popup_resizable":"\u00c1tm\u00e9retezhet\u0151 ablak k\u00e9sz\u00edt\u00e9se","popup_location":"C\u00edm mez\u0151 mutat\u00e1sa","popup_menubar":"Men\u00fcsor mutat\u00e1sa","popup_toolbar":"Eszk\u00f6zsor mutat\u00e1sa","popup_statusbar":"St\u00e1tuszsor mutat\u00e1sa","popup_scrollbars":"G\u00f6rget\u0151s\u00e1vok mutat\u00e1sa","popup_return":"\'return false\' besz\u00far\u00e1sa","popup_name":"Ablakn\u00e9v","popup_url":"Felugr\u00f3 ablak URL",popup:"JavaScript felugr\u00f3 ablak","target_blank":"Megnyit\u00e1s \u00faj ablakban ","target_top":"Megnyit\u00e1s azonos ablakban/keretben legfel\u00fcl","target_parent":"Megnyit\u00e1s sz\u00fcl\u0151 ablakban/keretben ","target_same":"Megnyit\u00e1s azonos ablakban/keretben ","anchor_names":"Horgonyok","popup_opts":"Be\u00e1ll\u00edt\u00e1sok","advanced_props":"Halad\u00f3 tulajdons\u00e1gok","event_props":"Esem\u00e9nyek","popup_props":"Felugr\u00f3 ablak tulajdons\u00e1gai","general_props":"\u00c1ltal\u00e1nos tulajdons\u00e1gok","advanced_tab":"Halad\u00f3","events_tab":"Esem\u00e9nyek","popup_tab":"Felugr\u00f3 ablak","general_tab":"\u00c1ltal\u00e1nos",list:"Link lista","is_external":"A be\u00edrt URL k\u00fcls\u0151 hivatkoz\u00e1snak t\u0171nik, k\u00edv\u00e1nja a sz\u00fcks\u00e9ges http:// -t el\u00e9 tenni?","is_email":"A be\u00edrt URL e-mail c\u00edmnek t\u0171nik, k\u00edv\u00e1nja a sz\u00fcks\u00e9ges mailto: el\u0151tagot el\u00e9 tenni?",titlefield:"C\u00edm",target:"C\u00e9l (target)",url:"Link URL",title:"Hivatkoz\u00e1s besz\u00far\u00e1s/szerkeszt\u00e9s","link_list":"Link lista",rtl:"Jobbr\u00f3l balra",ltr:"Balr\u00f3l jobbra",accesskey:"Gyorsgomb",tabindex:"Tabindex",rev:"C\u00e9l kapcsolata az oldallal",rel:"Oldal kapcsolata a c\u00e9llal",mime:"C\u00e9l MIME t\u00edpus",encoding:"C\u00e9l karakterk\u00f3dol\u00e1s",langcode:"Nyelv k\u00f3d","target_langcode":"C\u00e9l nyelv",width:"Sz\u00e9less\u00e9g",height:"Magass\u00e1g"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/ja_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/ja_dlg.js
new file mode 100644
index 00000000..68ebcd2e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/ja_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('ja.advlink_dlg',{"target_name":"\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u540d\u524d",classes:"\u30af\u30e9\u30b9",style:"\u30b9\u30bf\u30a4\u30eb",id:"ID","popup_position":"\u4f4d\u7f6e (X/Y)",langdir:"\u6587\u7ae0\u306e\u65b9\u5411","popup_size":"\u5927\u304d\u3055","popup_dependent":"\u4f9d\u5b58(Mozilla\u3068Firefox\u3060\u3051)","popup_resizable":"\u30a6\u30a4\u30f3\u30c9\u30a6\u306e\u30b5\u30a4\u30ba\u5909\u66f4\u3092\u8a31\u53ef","popup_location":"\u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u3092\u8868\u793a","popup_menubar":"\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3092\u8868\u793a","popup_toolbar":"\u30c4\u30fc\u30eb\u30d0\u30fc\u3092\u8868\u793a","popup_statusbar":"\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u3092\u8868\u793a","popup_scrollbars":"\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u3092\u8868\u793a","popup_return":"\'return false\'\u3092\u633f\u5165","popup_name":"\u30a6\u30a4\u30f3\u30c9\u30a6\u306e\u540d\u524d","popup_url":"\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u306eURL",popup:"Javascript\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7","target_blank":"\u65b0\u3057\u3044\u30a6\u30a4\u30f3\u30c9\u30a6\u3067\u958b\u304f","target_top":"\u30c8\u30c3\u30d7\u306e\u30d5\u30ec\u30fc\u30e0\u3067\u958b\u304f(\u3059\u3079\u3066\u306e\u30d5\u30ec\u30fc\u30e0\u3092\u7f6e\u304d\u63db\u3048)","target_parent":"\u89aa\u30a6\u30a4\u30f3\u30c9\u30a6/\u89aa\u30d5\u30ec\u30fc\u30e0\u3067\u958b\u304f","target_same":"\u3053\u306e\u30a6\u30a4\u30f3\u30c9\u30a6/\u30d5\u30ec\u30fc\u30e0\u3067\u958b\u304f","anchor_names":"\u30a2\u30f3\u30ab\u30fc","popup_opts":"\u30aa\u30d7\u30b7\u30e7\u30f3","advanced_props":"\u9ad8\u5ea6\u306a\u5c5e\u6027","event_props":"\u30a4\u30d9\u30f3\u30c8","popup_props":"\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7","general_props":"\u4e00\u822c","advanced_tab":"\u5c02\u9580\u7684","events_tab":"\u30a4\u30d9\u30f3\u30c8","popup_tab":"\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7","general_tab":"\u4e00\u822c",list:"\u30ea\u30f3\u30af\u306e\u4e00\u89a7","is_external":"\u5165\u529b\u3057\u305fURL\u306f\u5916\u90e8\u306e\u30ea\u30f3\u30af\u306e\u3088\u3046\u3067\u3059\u3002\u30ea\u30f3\u30af\u306b http:// \u3092\u8ffd\u52a0\u3057\u307e\u3059\u304b?","is_email":"\u5165\u529b\u3057\u305fURL\u306f\u96fb\u5b50\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u3088\u3046\u3067\u3059\u3002\u30ea\u30f3\u30af\u306b mailto: \u3092\u8ffd\u52a0\u3057\u307e\u3059\u304b?",titlefield:"\u30bf\u30a4\u30c8\u30eb",target:"\u30bf\u30fc\u30b2\u30c3\u30c8",url:"\u30ea\u30f3\u30af\u306eURL",title:"\u30ea\u30f3\u30af\u306e\u633f\u5165/\u7de8\u96c6","link_list":"\u30ea\u30f3\u30af\u306e\u4e00\u89a7",rtl:"\u53f3\u304b\u3089\u5de6",ltr:"\u5de6\u304b\u3089\u53f3",accesskey:"\u30a2\u30af\u30bb\u30b9\u30ad\u30fc",tabindex:"\u30bf\u30d6\u30a4\u30f3\u30c7\u30c3\u30af\u30b9",rev:"\u30bf\u30fc\u30b2\u30c3\u30c8\u304b\u3089\u30da\u30fc\u30b8\u306e\u95a2\u4fc2",rel:"\u30da\u30fc\u30b8\u304b\u3089\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u95a2\u4fc2",mime:"\u30bf\u30fc\u30b2\u30c3\u30c8\u306eMIME\u30bf\u30a4\u30d7",encoding:"\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u6587\u5b57\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0",langcode:"\u8a00\u8a9e\u30b3\u30fc\u30c9","target_langcode":"\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u8a00\u8a9e",width:"\u5e45",height:"\u9ad8\u3055"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/link.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/link.htm
new file mode 100755
index 00000000..8ab7c2a9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/link.htm
@@ -0,0 +1,338 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#advlink_dlg.title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="../../utils/validate.js"></script>
+ <script type="text/javascript" src="js/advlink.js"></script>
+ <link href="css/advlink.css" rel="stylesheet" type="text/css" />
+</head>
+<body id="advlink" style="display: none" role="application" onload="javascript:mcTabs.displayTab('general_tab','general_panel', true);" aria-labelledby="app_label">
+ <span class="mceVoiceLabel" id="app_label" style="display:none;">{#advlink_dlg.title}</span>
+ <form onsubmit="insertAction();return false;" action="#">
+ <div class="tabs" role="presentation">
+ <ul>
+ <li id="general_tab" class="current" aria-controls="general_panel" ><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advlink_dlg.general_tab}</a></span></li>
+ <li id="popup_tab" aria-controls="popup_panel" ><span><a href="javascript:mcTabs.displayTab('popup_tab','popup_panel');" onmousedown="return false;">{#advlink_dlg.popup_tab}</a></span></li>
+ <li id="events_tab" aria-controls="events_panel"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#advlink_dlg.events_tab}</a></span></li>
+ <li id="advanced_tab" aria-controls="advanced_panel"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advlink_dlg.advanced_tab}</a></span></li>
+ </ul>
+ </div>
+
+ <div class="panel_wrapper" role="presentation">
+ <div id="general_panel" class="panel current">
+ <fieldset>
+ <legend>{#advlink_dlg.general_props}</legend>
+
+ <table border="0" cellpadding="4" cellspacing="0" role="presentation">
+ <tr>
+ <td class="nowrap"><label id="hreflabel" for="href">{#advlink_dlg.url}</label></td>
+ <td><table border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input id="href" name="href" type="text" class="mceFocus" value="" onchange="selectByValue(this.form,'linklisthref',this.value);" aria-required="true" /></td>
+ <td id="hrefbrowsercontainer">&nbsp;</td>
+ </tr>
+ </table></td>
+ </tr>
+ <tr id="linklisthrefrow">
+ <td class="column1"><label for="linklisthref">{#advlink_dlg.list}</label></td>
+ <td colspan="2" id="linklisthrefcontainer"><select id="linklisthref"><option value=""></option></select></td>
+ </tr>
+ <tr id="anchorlistrow">
+ <td class="column1"><label for="anchorlist">{#advlink_dlg.anchor_names}</label></td>
+ <td colspan="2" id="anchorlistcontainer"><select id="anchorlist"><option value=""></option></select></td>
+ </tr>
+ <tr>
+ <td><label id="targetlistlabel" for="targetlist">{#advlink_dlg.target}</label></td>
+ <td id="targetlistcontainer"><select id="targetlist"><option value=""></option></select></td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label id="titlelabel" for="title">{#advlink_dlg.titlefield}</label></td>
+ <td><input id="title" name="title" type="text" value="" /></td>
+ </tr>
+ <tr>
+ <td><label id="classlabel" for="classlist">{#class_name}</label></td>
+ <td>
+ <select id="classlist" name="classlist" onchange="changeClass();">
+ <option value="" selected="selected">{#not_set}</option>
+ </select>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+
+ <div id="popup_panel" class="panel">
+ <fieldset>
+ <legend>{#advlink_dlg.popup_props}</legend>
+
+ <input type="checkbox" id="ispopup" name="ispopup" class="radio" onclick="setPopupControlsDisabled(!this.checked);buildOnClick();" />
+ <label id="ispopuplabel" for="ispopup">{#advlink_dlg.popup}</label>
+
+ <table border="0" cellpadding="0" cellspacing="4" role="presentation" >
+ <tr>
+ <td class="nowrap"><label for="popupurl">{#advlink_dlg.popup_url}</label>&nbsp;</td>
+ <td>
+ <table border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" name="popupurl" id="popupurl" value="" onchange="buildOnClick();" /></td>
+ <td id="popupurlbrowsercontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="popupname">{#advlink_dlg.popup_name}</label>&nbsp;</td>
+ <td><input type="text" name="popupname" id="popupname" value="" onchange="buildOnClick();" /></td>
+ </tr>
+ <tr role="group" aria-labelledby="popup_size_label">
+ <td class="nowrap"><label id="popup_size_label">{#advlink_dlg.popup_size}</label>&nbsp;</td>
+ <td class="nowrap">
+ <span style="display:none" id="width_voiceLabel">{#advlink_dlg.width}</span>
+ <input type="text" id="popupwidth" name="popupwidth" value="" onchange="buildOnClick();" aria-labelledby="width_voiceLabel" /> x
+ <span style="display:none" id="height_voiceLabel">{#advlink_dlg.height}</span>
+ <input type="text" id="popupheight" name="popupheight" value="" onchange="buildOnClick();" aria-labelledby="height_voiceLabel" /> px
+ </td>
+ </tr>
+ <tr role="group" aria-labelledby="popup_position_label center_hint">
+ <td class="nowrap" id="labelleft"><label id="popup_position_label">{#advlink_dlg.popup_position}</label>&nbsp;</td>
+ <td class="nowrap">
+ <span style="display:none" id="x_voiceLabel">X</span>
+ <input type="text" id="popupleft" name="popupleft" value="" onchange="buildOnClick();" aria-labelledby="x_voiceLabel" /> /
+ <span style="display:none" id="y_voiceLabel">Y</span>
+ <input type="text" id="popuptop" name="popuptop" value="" onchange="buildOnClick();" aria-labelledby="y_voiceLabel" /> <span id="center_hint">(c /c = center)</span>
+ </td>
+ </tr>
+ </table>
+
+ <fieldset>
+ <legend>{#advlink_dlg.popup_opts}</legend>
+
+ <table border="0" cellpadding="0" cellspacing="4" role="presentation" >
+ <tr>
+ <td><input type="checkbox" id="popuplocation" name="popuplocation" class="checkbox" onchange="buildOnClick();" /></td>
+ <td class="nowrap"><label id="popuplocationlabel" for="popuplocation">{#advlink_dlg.popup_location}</label></td>
+ <td><input type="checkbox" id="popupscrollbars" name="popupscrollbars" class="checkbox" onchange="buildOnClick();" /></td>
+ <td class="nowrap"><label id="popupscrollbarslabel" for="popupscrollbars">{#advlink_dlg.popup_scrollbars}</label></td>
+ </tr>
+ <tr>
+ <td><input type="checkbox" id="popupmenubar" name="popupmenubar" class="checkbox" onchange="buildOnClick();" /></td>
+ <td class="nowrap"><label id="popupmenubarlabel" for="popupmenubar">{#advlink_dlg.popup_menubar}</label></td>
+ <td><input type="checkbox" id="popupresizable" name="popupresizable" class="checkbox" onchange="buildOnClick();" /></td>
+ <td class="nowrap"><label id="popupresizablelabel" for="popupresizable">{#advlink_dlg.popup_resizable}</label></td>
+ </tr>
+ <tr>
+ <td><input type="checkbox" id="popuptoolbar" name="popuptoolbar" class="checkbox" onchange="buildOnClick();" /></td>
+ <td class="nowrap"><label id="popuptoolbarlabel" for="popuptoolbar">{#advlink_dlg.popup_toolbar}</label></td>
+ <td><input type="checkbox" id="popupdependent" name="popupdependent" class="checkbox" onchange="buildOnClick();" /></td>
+ <td class="nowrap"><label id="popupdependentlabel" for="popupdependent">{#advlink_dlg.popup_dependent}</label></td>
+ </tr>
+ <tr>
+ <td><input type="checkbox" id="popupstatus" name="popupstatus" class="checkbox" onchange="buildOnClick();" /></td>
+ <td class="nowrap"><label id="popupstatuslabel" for="popupstatus">{#advlink_dlg.popup_statusbar}</label></td>
+ <td><input type="checkbox" id="popupreturn" name="popupreturn" class="checkbox" onchange="buildOnClick();" checked="checked" /></td>
+ <td class="nowrap"><label id="popupreturnlabel" for="popupreturn">{#advlink_dlg.popup_return}</label></td>
+ </tr>
+ </table>
+ </fieldset>
+ </fieldset>
+ </div>
+
+ <div id="advanced_panel" class="panel">
+ <fieldset>
+ <legend>{#advlink_dlg.advanced_props}</legend>
+
+ <table border="0" cellpadding="0" cellspacing="4" role="presentation" >
+ <tr>
+ <td class="column1"><label id="idlabel" for="id">{#advlink_dlg.id}</label></td>
+ <td><input id="id" name="id" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td><label id="stylelabel" for="style">{#advlink_dlg.style}</label></td>
+ <td><input type="text" id="style" name="style" value="" /></td>
+ </tr>
+
+ <tr>
+ <td><label id="classeslabel" for="classes">{#advlink_dlg.classes}</label></td>
+ <td><input type="text" id="classes" name="classes" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td>
+ </tr>
+
+ <tr>
+ <td><label id="targetlabel" for="target">{#advlink_dlg.target_name}</label></td>
+ <td><input type="text" id="target" name="target" value="" onchange="selectByValue(this.form,'targetlist',this.value,true);" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label id="dirlabel" for="dir">{#advlink_dlg.langdir}</label></td>
+ <td>
+ <select id="dir" name="dir">
+ <option value="">{#not_set}</option>
+ <option value="ltr">{#advlink_dlg.ltr}</option>
+ <option value="rtl">{#advlink_dlg.rtl}</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label id="hreflanglabel" for="hreflang">{#advlink_dlg.target_langcode}</label></td>
+ <td><input type="text" id="hreflang" name="hreflang" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label id="langlabel" for="lang">{#advlink_dlg.langcode}</label></td>
+ <td>
+ <input id="lang" name="lang" type="text" value="" />
+ </td>
+ </tr>
+
+ <tr>
+ <td><label id="charsetlabel" for="charset">{#advlink_dlg.encoding}</label></td>
+ <td><input type="text" id="charset" name="charset" value="" /></td>
+ </tr>
+
+ <tr>
+ <td><label id="typelabel" for="type">{#advlink_dlg.mime}</label></td>
+ <td><input type="text" id="type" name="type" value="" /></td>
+ </tr>
+
+ <tr>
+ <td><label id="rellabel" for="rel">{#advlink_dlg.rel}</label></td>
+ <td><select id="rel" name="rel">
+ <option value="">{#not_set}</option>
+ <option value="lightbox">Lightbox</option>
+ <option value="alternate">Alternate</option>
+ <option value="designates">Designates</option>
+ <option value="stylesheet">Stylesheet</option>
+ <option value="start">Start</option>
+ <option value="next">Next</option>
+ <option value="prev">Prev</option>
+ <option value="contents">Contents</option>
+ <option value="index">Index</option>
+ <option value="glossary">Glossary</option>
+ <option value="copyright">Copyright</option>
+ <option value="chapter">Chapter</option>
+ <option value="subsection">Subsection</option>
+ <option value="appendix">Appendix</option>
+ <option value="help">Help</option>
+ <option value="bookmark">Bookmark</option>
+ <option value="nofollow">No Follow</option>
+ <option value="tag">Tag</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label id="revlabel" for="rev">{#advlink_dlg.rev}</label></td>
+ <td><select id="rev" name="rev">
+ <option value="">{#not_set}</option>
+ <option value="alternate">Alternate</option>
+ <option value="designates">Designates</option>
+ <option value="stylesheet">Stylesheet</option>
+ <option value="start">Start</option>
+ <option value="next">Next</option>
+ <option value="prev">Prev</option>
+ <option value="contents">Contents</option>
+ <option value="index">Index</option>
+ <option value="glossary">Glossary</option>
+ <option value="copyright">Copyright</option>
+ <option value="chapter">Chapter</option>
+ <option value="subsection">Subsection</option>
+ <option value="appendix">Appendix</option>
+ <option value="help">Help</option>
+ <option value="bookmark">Bookmark</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label id="tabindexlabel" for="tabindex">{#advlink_dlg.tabindex}</label></td>
+ <td><input type="text" id="tabindex" name="tabindex" value="" /></td>
+ </tr>
+
+ <tr>
+ <td><label id="accesskeylabel" for="accesskey">{#advlink_dlg.accesskey}</label></td>
+ <td><input type="text" id="accesskey" name="accesskey" value="" /></td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+
+ <div id="events_panel" class="panel">
+ <fieldset>
+ <legend>{#advlink_dlg.event_props}</legend>
+
+ <table border="0" cellpadding="0" cellspacing="4" role="presentation" >
+ <tr>
+ <td class="column1"><label for="onfocus">onfocus</label></td>
+ <td><input id="onfocus" name="onfocus" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="onblur">onblur</label></td>
+ <td><input id="onblur" name="onblur" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="onclick">onclick</label></td>
+ <td><input id="onclick" name="onclick" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="ondblclick">ondblclick</label></td>
+ <td><input id="ondblclick" name="ondblclick" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="onmousedown">onmousedown</label></td>
+ <td><input id="onmousedown" name="onmousedown" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="onmouseup">onmouseup</label></td>
+ <td><input id="onmouseup" name="onmouseup" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="onmouseover">onmouseover</label></td>
+ <td><input id="onmouseover" name="onmouseover" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="onmousemove">onmousemove</label></td>
+ <td><input id="onmousemove" name="onmousemove" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="onmouseout">onmouseout</label></td>
+ <td><input id="onmouseout" name="onmouseout" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="onkeypress">onkeypress</label></td>
+ <td><input id="onkeypress" name="onkeypress" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="onkeydown">onkeydown</label></td>
+ <td><input id="onkeydown" name="onkeydown" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="onkeyup">onkeyup</label></td>
+ <td><input id="onkeyup" name="onkeyup" type="text" value="" /></td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ </div>
+
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#insert}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+ </form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlist/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlist/editor_plugin.js
new file mode 100644
index 00000000..57ecce6e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlist/editor_plugin.js
@@ -0,0 +1 @@
+(function(){var a=tinymce.each;tinymce.create("tinymce.plugins.AdvListPlugin",{init:function(b,c){var d=this;d.editor=b;function e(g){var f=[];a(g.split(/,/),function(h){f.push({title:"advlist."+(h=="default"?"def":h.replace(/-/g,"_")),styles:{listStyleType:h=="default"?"":h}})});return f}d.numlist=b.getParam("advlist_number_styles")||e("default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman");d.bullist=b.getParam("advlist_bullet_styles")||e("default,circle,disc,square");if(tinymce.isIE&&/MSIE [2-7]/.test(navigator.userAgent)){d.isIE7=true}},createControl:function(d,b){var f=this,e,i,g=f.editor;if(d=="numlist"||d=="bullist"){if(f[d][0].title=="advlist.def"){i=f[d][0]}function c(j,l){var k=true;a(l.styles,function(n,m){if(g.dom.getStyle(j,m)!=n){k=false;return false}});return k}function h(){var k,l=g.dom,j=g.selection;k=l.getParent(j.getNode(),"ol,ul");if(!k||k.nodeName==(d=="bullist"?"OL":"UL")||c(k,i)){g.execCommand(d=="bullist"?"InsertUnorderedList":"InsertOrderedList")}if(i){k=l.getParent(j.getNode(),"ol,ul");if(k){l.setStyles(k,i.styles);k.removeAttribute("data-mce-style")}}g.focus()}e=b.createSplitButton(d,{title:"advanced."+d+"_desc","class":"mce_"+d,onclick:function(){h()}});e.onRenderMenu.add(function(j,k){k.onHideMenu.add(function(){if(f.bookmark){g.selection.moveToBookmark(f.bookmark);f.bookmark=0}});k.onShowMenu.add(function(){var n=g.dom,m=n.getParent(g.selection.getNode(),"ol,ul"),l;if(m||i){l=f[d];a(k.items,function(o){var p=true;o.setSelected(0);if(m&&!o.isDisabled()){a(l,function(q){if(q.id==o.id){if(!c(m,q)){p=false;return false}}});if(p){o.setSelected(1)}}});if(!m){k.items[i.id].setSelected(1)}}g.focus();if(tinymce.isIE){f.bookmark=g.selection.getBookmark(1)}});k.add({id:g.dom.uniqueId(),title:"advlist.types","class":"mceMenuItemTitle",titleItem:true}).setDisabled(1);a(f[d],function(l){if(f.isIE7&&l.styles.listStyleType=="lower-greek"){return}l.id=g.dom.uniqueId();k.add({id:l.id,title:l.title,onclick:function(){i=l;h()}})})});return e}},getInfo:function(){return{longname:"Advanced lists",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlist",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("advlist",tinymce.plugins.AdvListPlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlist/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlist/editor_plugin_src.js
new file mode 100644
index 00000000..a8f046b4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/advlist/editor_plugin_src.js
@@ -0,0 +1,176 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ var each = tinymce.each;
+
+ tinymce.create('tinymce.plugins.AdvListPlugin', {
+ init : function(ed, url) {
+ var t = this;
+
+ t.editor = ed;
+
+ function buildFormats(str) {
+ var formats = [];
+
+ each(str.split(/,/), function(type) {
+ formats.push({
+ title : 'advlist.' + (type == 'default' ? 'def' : type.replace(/-/g, '_')),
+ styles : {
+ listStyleType : type == 'default' ? '' : type
+ }
+ });
+ });
+
+ return formats;
+ };
+
+ // Setup number formats from config or default
+ t.numlist = ed.getParam("advlist_number_styles") || buildFormats("default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman");
+ t.bullist = ed.getParam("advlist_bullet_styles") || buildFormats("default,circle,disc,square");
+
+ if (tinymce.isIE && /MSIE [2-7]/.test(navigator.userAgent))
+ t.isIE7 = true;
+ },
+
+ createControl: function(name, cm) {
+ var t = this, btn, format, editor = t.editor;
+
+ if (name == 'numlist' || name == 'bullist') {
+ // Default to first item if it's a default item
+ if (t[name][0].title == 'advlist.def')
+ format = t[name][0];
+
+ function hasFormat(node, format) {
+ var state = true;
+
+ each(format.styles, function(value, name) {
+ // Format doesn't match
+ if (editor.dom.getStyle(node, name) != value) {
+ state = false;
+ return false;
+ }
+ });
+
+ return state;
+ };
+
+ function applyListFormat() {
+ var list, dom = editor.dom, sel = editor.selection;
+
+ // Check for existing list element
+ list = dom.getParent(sel.getNode(), 'ol,ul');
+
+ // Switch/add list type if needed
+ if (!list || list.nodeName == (name == 'bullist' ? 'OL' : 'UL') || hasFormat(list, format))
+ editor.execCommand(name == 'bullist' ? 'InsertUnorderedList' : 'InsertOrderedList');
+
+ // Append styles to new list element
+ if (format) {
+ list = dom.getParent(sel.getNode(), 'ol,ul');
+ if (list) {
+ dom.setStyles(list, format.styles);
+ list.removeAttribute('data-mce-style');
+ }
+ }
+
+ editor.focus();
+ };
+
+ btn = cm.createSplitButton(name, {
+ title : 'advanced.' + name + '_desc',
+ 'class' : 'mce_' + name,
+ onclick : function() {
+ applyListFormat();
+ }
+ });
+
+ btn.onRenderMenu.add(function(btn, menu) {
+ menu.onHideMenu.add(function() {
+ if (t.bookmark) {
+ editor.selection.moveToBookmark(t.bookmark);
+ t.bookmark = 0;
+ }
+ });
+
+ menu.onShowMenu.add(function() {
+ var dom = editor.dom, list = dom.getParent(editor.selection.getNode(), 'ol,ul'), fmtList;
+
+ if (list || format) {
+ fmtList = t[name];
+
+ // Unselect existing items
+ each(menu.items, function(item) {
+ var state = true;
+
+ item.setSelected(0);
+
+ if (list && !item.isDisabled()) {
+ each(fmtList, function(fmt) {
+ if (fmt.id == item.id) {
+ if (!hasFormat(list, fmt)) {
+ state = false;
+ return false;
+ }
+ }
+ });
+
+ if (state)
+ item.setSelected(1);
+ }
+ });
+
+ // Select the current format
+ if (!list)
+ menu.items[format.id].setSelected(1);
+ }
+
+ editor.focus();
+
+ // IE looses it's selection so store it away and restore it later
+ if (tinymce.isIE) {
+ t.bookmark = editor.selection.getBookmark(1);
+ }
+ });
+
+ menu.add({id : editor.dom.uniqueId(), title : 'advlist.types', 'class' : 'mceMenuItemTitle', titleItem: true}).setDisabled(1);
+
+ each(t[name], function(item) {
+ // IE<8 doesn't support lower-greek, skip it
+ if (t.isIE7 && item.styles.listStyleType == 'lower-greek')
+ return;
+
+ item.id = editor.dom.uniqueId();
+
+ menu.add({id : item.id, title : item.title, onclick : function() {
+ format = item;
+ applyListFormat();
+ }});
+ });
+ });
+
+ return btn;
+ }
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Advanced lists',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlist',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('advlist', tinymce.plugins.AdvListPlugin);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autolink/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autolink/editor_plugin.js
new file mode 100644
index 00000000..d1c3502a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autolink/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.AutolinkPlugin",{init:function(a,b){var c=this;a.onKeyDown.addToTop(function(d,f){if(f.keyCode==13){return c.handleEnter(d)}});if(tinyMCE.isIE){return}a.onKeyPress.add(function(d,f){if(f.which==41){return c.handleEclipse(d)}});a.onKeyUp.add(function(d,f){if(f.keyCode==32){return c.handleSpacebar(d)}})},handleEclipse:function(a){this.parseCurrentLine(a,-1,"(",true)},handleSpacebar:function(a){this.parseCurrentLine(a,0,"",true)},handleEnter:function(a){this.parseCurrentLine(a,-1,"",false)},parseCurrentLine:function(i,d,b,g){var a,f,c,n,k,m,h,e,j;a=i.selection.getRng(true).cloneRange();if(a.startOffset<5){e=a.endContainer.previousSibling;if(e==null){if(a.endContainer.firstChild==null||a.endContainer.firstChild.nextSibling==null){return}e=a.endContainer.firstChild.nextSibling}j=e.length;a.setStart(e,j);a.setEnd(e,j);if(a.endOffset<5){return}f=a.endOffset;n=e}else{n=a.endContainer;if(n.nodeType!=3&&n.firstChild){while(n.nodeType!=3&&n.firstChild){n=n.firstChild}if(n.nodeType==3){a.setStart(n,0);a.setEnd(n,n.nodeValue.length)}}if(a.endOffset==1){f=2}else{f=a.endOffset-1-d}}c=f;do{a.setStart(n,f-2);a.setEnd(n,f-1);f-=1}while(a.toString()!=" "&&a.toString()!=""&&a.toString().charCodeAt(0)!=160&&(f-2)>=0&&a.toString()!=b);if(a.toString()==b||a.toString().charCodeAt(0)==160){a.setStart(n,f);a.setEnd(n,c);f+=1}else{if(a.startOffset==0){a.setStart(n,0);a.setEnd(n,c)}else{a.setStart(n,f);a.setEnd(n,c)}}var m=a.toString();if(m.charAt(m.length-1)=="."){a.setEnd(n,c-1)}m=a.toString();h=m.match(/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.|(?:mailto:)?[A-Z0-9._%+-]+@)(.+)$/i);if(h){if(h[1]=="www."){h[1]="http://www."}else{if(/@$/.test(h[1])&&!/^mailto:/.test(h[1])){h[1]="mailto:"+h[1]}}k=i.selection.getBookmark();i.selection.setRng(a);tinyMCE.execCommand("createlink",false,h[1]+h[2]);i.selection.moveToBookmark(k);i.nodeChanged();if(tinyMCE.isWebKit){i.selection.collapse(false);var l=Math.min(n.length,c+1);a.setStart(n,l);a.setEnd(n,l);i.selection.setRng(a)}}},getInfo:function(){return{longname:"Autolink",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autolink",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("autolink",tinymce.plugins.AutolinkPlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autolink/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autolink/editor_plugin_src.js
new file mode 100644
index 00000000..c05fbbc0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autolink/editor_plugin_src.js
@@ -0,0 +1,184 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2011, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.AutolinkPlugin', {
+ /**
+ * Initializes the plugin, this will be executed after the plugin has been created.
+ * This call is done before the editor instance has finished it's initialization so use the onInit event
+ * of the editor instance to intercept that event.
+ *
+ * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in.
+ * @param {string} url Absolute URL to where the plugin is located.
+ */
+
+ init : function(ed, url) {
+ var t = this;
+
+ // Add a key down handler
+ ed.onKeyDown.addToTop(function(ed, e) {
+ if (e.keyCode == 13)
+ return t.handleEnter(ed);
+ });
+
+ // Internet Explorer has built-in automatic linking for most cases
+ if (tinyMCE.isIE)
+ return;
+
+ ed.onKeyPress.add(function(ed, e) {
+ if (e.which == 41)
+ return t.handleEclipse(ed);
+ });
+
+ // Add a key up handler
+ ed.onKeyUp.add(function(ed, e) {
+ if (e.keyCode == 32)
+ return t.handleSpacebar(ed);
+ });
+ },
+
+ handleEclipse : function(ed) {
+ this.parseCurrentLine(ed, -1, '(', true);
+ },
+
+ handleSpacebar : function(ed) {
+ this.parseCurrentLine(ed, 0, '', true);
+ },
+
+ handleEnter : function(ed) {
+ this.parseCurrentLine(ed, -1, '', false);
+ },
+
+ parseCurrentLine : function(ed, end_offset, delimiter, goback) {
+ var r, end, start, endContainer, bookmark, text, matches, prev, len;
+
+ // We need at least five characters to form a URL,
+ // hence, at minimum, five characters from the beginning of the line.
+ r = ed.selection.getRng(true).cloneRange();
+ if (r.startOffset < 5) {
+ // During testing, the caret is placed inbetween two text nodes.
+ // The previous text node contains the URL.
+ prev = r.endContainer.previousSibling;
+ if (prev == null) {
+ if (r.endContainer.firstChild == null || r.endContainer.firstChild.nextSibling == null)
+ return;
+
+ prev = r.endContainer.firstChild.nextSibling;
+ }
+ len = prev.length;
+ r.setStart(prev, len);
+ r.setEnd(prev, len);
+
+ if (r.endOffset < 5)
+ return;
+
+ end = r.endOffset;
+ endContainer = prev;
+ } else {
+ endContainer = r.endContainer;
+
+ // Get a text node
+ if (endContainer.nodeType != 3 && endContainer.firstChild) {
+ while (endContainer.nodeType != 3 && endContainer.firstChild)
+ endContainer = endContainer.firstChild;
+
+ // Move range to text node
+ if (endContainer.nodeType == 3) {
+ r.setStart(endContainer, 0);
+ r.setEnd(endContainer, endContainer.nodeValue.length);
+ }
+ }
+
+ if (r.endOffset == 1)
+ end = 2;
+ else
+ end = r.endOffset - 1 - end_offset;
+ }
+
+ start = end;
+
+ do
+ {
+ // Move the selection one character backwards.
+ r.setStart(endContainer, end - 2);
+ r.setEnd(endContainer, end - 1);
+ end -= 1;
+
+ // Loop until one of the following is found: a blank space, &nbsp;, delimeter, (end-2) >= 0
+ } while (r.toString() != ' ' && r.toString() != '' && r.toString().charCodeAt(0) != 160 && (end -2) >= 0 && r.toString() != delimiter);
+
+ if (r.toString() == delimiter || r.toString().charCodeAt(0) == 160) {
+ r.setStart(endContainer, end);
+ r.setEnd(endContainer, start);
+ end += 1;
+ } else if (r.startOffset == 0) {
+ r.setStart(endContainer, 0);
+ r.setEnd(endContainer, start);
+ }
+ else {
+ r.setStart(endContainer, end);
+ r.setEnd(endContainer, start);
+ }
+
+ // Exclude last . from word like "www.site.com."
+ var text = r.toString();
+ if (text.charAt(text.length - 1) == '.') {
+ r.setEnd(endContainer, start - 1);
+ }
+
+ text = r.toString();
+ matches = text.match(/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.|(?:mailto:)?[A-Z0-9._%+-]+@)(.+)$/i);
+
+ if (matches) {
+ if (matches[1] == 'www.') {
+ matches[1] = 'http://www.';
+ } else if (/@$/.test(matches[1]) && !/^mailto:/.test(matches[1])) {
+ matches[1] = 'mailto:' + matches[1];
+ }
+
+ bookmark = ed.selection.getBookmark();
+
+ ed.selection.setRng(r);
+ tinyMCE.execCommand('createlink',false, matches[1] + matches[2]);
+ ed.selection.moveToBookmark(bookmark);
+ ed.nodeChanged();
+
+ // TODO: Determine if this is still needed.
+ if (tinyMCE.isWebKit) {
+ // move the caret to its original position
+ ed.selection.collapse(false);
+ var max = Math.min(endContainer.length, start + 1);
+ r.setStart(endContainer, max);
+ r.setEnd(endContainer, max);
+ ed.selection.setRng(r);
+ }
+ }
+ },
+
+ /**
+ * Returns information about the plugin as a name/value array.
+ * The current keys are longname, author, authorurl, infourl and version.
+ *
+ * @return {Object} Name/value array containing information about the plugin.
+ */
+ getInfo : function() {
+ return {
+ longname : 'Autolink',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autolink',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('autolink', tinymce.plugins.AutolinkPlugin);
+})();
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autoresize/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autoresize/editor_plugin.js
new file mode 100644
index 00000000..46d9dc3d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autoresize/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.AutoResizePlugin",{init:function(a,c){var d=this,e=0;if(a.getParam("fullscreen_is_enabled")){return}function b(){var j,i=a.getDoc(),f=i.body,l=i.documentElement,h=tinymce.DOM,k=d.autoresize_min_height,g;g=tinymce.isIE?f.scrollHeight:(tinymce.isWebKit&&f.clientHeight==0?0:f.offsetHeight);if(g>d.autoresize_min_height){k=g}if(d.autoresize_max_height&&g>d.autoresize_max_height){k=d.autoresize_max_height;f.style.overflowY="auto";l.style.overflowY="auto"}else{f.style.overflowY="hidden";l.style.overflowY="hidden";f.scrollTop=0}if(k!==e){j=k-e;h.setStyle(h.get(a.id+"_ifr"),"height",k+"px");e=k;if(tinymce.isWebKit&&j<0){b()}}}d.editor=a;d.autoresize_min_height=parseInt(a.getParam("autoresize_min_height",a.getElement().offsetHeight));d.autoresize_max_height=parseInt(a.getParam("autoresize_max_height",0));a.onInit.add(function(f){f.dom.setStyle(f.getBody(),"paddingBottom",f.getParam("autoresize_bottom_margin",50)+"px")});a.onChange.add(b);a.onSetContent.add(b);a.onPaste.add(b);a.onKeyUp.add(b);a.onPostRender.add(b);if(a.getParam("autoresize_on_init",true)){a.onLoad.add(b);a.onLoadContent.add(b)}a.addCommand("mceAutoResize",b)},getInfo:function(){return{longname:"Auto Resize",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autoresize",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("autoresize",tinymce.plugins.AutoResizePlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autoresize/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autoresize/editor_plugin_src.js
new file mode 100644
index 00000000..7673bcff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autoresize/editor_plugin_src.js
@@ -0,0 +1,119 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ /**
+ * Auto Resize
+ *
+ * This plugin automatically resizes the content area to fit its content height.
+ * It will retain a minimum height, which is the height of the content area when
+ * it's initialized.
+ */
+ tinymce.create('tinymce.plugins.AutoResizePlugin', {
+ /**
+ * Initializes the plugin, this will be executed after the plugin has been created.
+ * This call is done before the editor instance has finished it's initialization so use the onInit event
+ * of the editor instance to intercept that event.
+ *
+ * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in.
+ * @param {string} url Absolute URL to where the plugin is located.
+ */
+ init : function(ed, url) {
+ var t = this, oldSize = 0;
+
+ if (ed.getParam('fullscreen_is_enabled'))
+ return;
+
+ /**
+ * This method gets executed each time the editor needs to resize.
+ */
+ function resize() {
+ var deltaSize, d = ed.getDoc(), body = d.body, de = d.documentElement, DOM = tinymce.DOM, resizeHeight = t.autoresize_min_height, myHeight;
+
+ // Get height differently depending on the browser used
+ myHeight = tinymce.isIE ? body.scrollHeight : (tinymce.isWebKit && body.clientHeight == 0 ? 0 : body.offsetHeight);
+
+ // Don't make it smaller than the minimum height
+ if (myHeight > t.autoresize_min_height)
+ resizeHeight = myHeight;
+
+ // If a maximum height has been defined don't exceed this height
+ if (t.autoresize_max_height && myHeight > t.autoresize_max_height) {
+ resizeHeight = t.autoresize_max_height;
+ body.style.overflowY = "auto";
+ de.style.overflowY = "auto"; // Old IE
+ } else {
+ body.style.overflowY = "hidden";
+ de.style.overflowY = "hidden"; // Old IE
+ body.scrollTop = 0;
+ }
+
+ // Resize content element
+ if (resizeHeight !== oldSize) {
+ deltaSize = resizeHeight - oldSize;
+ DOM.setStyle(DOM.get(ed.id + '_ifr'), 'height', resizeHeight + 'px');
+ oldSize = resizeHeight;
+
+ // WebKit doesn't decrease the size of the body element until the iframe gets resized
+ // So we need to continue to resize the iframe down until the size gets fixed
+ if (tinymce.isWebKit && deltaSize < 0)
+ resize();
+ }
+ };
+
+ t.editor = ed;
+
+ // Define minimum height
+ t.autoresize_min_height = parseInt(ed.getParam('autoresize_min_height', ed.getElement().offsetHeight));
+
+ // Define maximum height
+ t.autoresize_max_height = parseInt(ed.getParam('autoresize_max_height', 0));
+
+ // Add padding at the bottom for better UX
+ ed.onInit.add(function(ed){
+ ed.dom.setStyle(ed.getBody(), 'paddingBottom', ed.getParam('autoresize_bottom_margin', 50) + 'px');
+ });
+
+ // Add appropriate listeners for resizing content area
+ ed.onChange.add(resize);
+ ed.onSetContent.add(resize);
+ ed.onPaste.add(resize);
+ ed.onKeyUp.add(resize);
+ ed.onPostRender.add(resize);
+
+ if (ed.getParam('autoresize_on_init', true)) {
+ ed.onLoad.add(resize);
+ ed.onLoadContent.add(resize);
+ }
+
+ // Register the command so that it can be invoked by using tinyMCE.activeEditor.execCommand('mceExample');
+ ed.addCommand('mceAutoResize', resize);
+ },
+
+ /**
+ * Returns information about the plugin as a name/value array.
+ * The current keys are longname, author, authorurl, infourl and version.
+ *
+ * @return {Object} Name/value array containing information about the plugin.
+ */
+ getInfo : function() {
+ return {
+ longname : 'Auto Resize',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autoresize',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('autoresize', tinymce.plugins.AutoResizePlugin);
+})();
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/editor_plugin.js
new file mode 100755
index 00000000..6da98ff3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/editor_plugin.js
@@ -0,0 +1 @@
+(function(e){var c="autosave",g="restoredraft",b=true,f,d,a=e.util.Dispatcher;e.create("tinymce.plugins.AutoSave",{init:function(i,j){var h=this,l=i.settings;h.editor=i;function k(n){var m={s:1000,m:60000};n=/^(\d+)([ms]?)$/.exec(""+n);return(n[2]?m[n[2]]:1)*parseInt(n)}e.each({ask_before_unload:b,interval:"30s",retention:"20m",minlength:50},function(n,m){m=c+"_"+m;if(l[m]===f){l[m]=n}});l.autosave_interval=k(l.autosave_interval);l.autosave_retention=k(l.autosave_retention);i.addButton(g,{title:c+".restore_content",onclick:function(){if(i.getContent({draft:true}).replace(/\s|&nbsp;|<\/?p[^>]*>|<br[^>]*>/gi,"").length>0){i.windowManager.confirm(c+".warning_message",function(m){if(m){h.restoreDraft()}})}else{h.restoreDraft()}}});i.onNodeChange.add(function(){var m=i.controlManager;if(m.get(g)){m.setDisabled(g,!h.hasDraft())}});i.onInit.add(function(){if(i.controlManager.get(g)){h.setupStorage(i);setInterval(function(){if(!i.removed){h.storeDraft();i.nodeChanged()}},l.autosave_interval)}});h.onStoreDraft=new a(h);h.onRestoreDraft=new a(h);h.onRemoveDraft=new a(h);if(!d){window.onbeforeunload=e.plugins.AutoSave._beforeUnloadHandler;d=b}},getInfo:function(){return{longname:"Auto save",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autosave",version:e.majorVersion+"."+e.minorVersion}},getExpDate:function(){return new Date(new Date().getTime()+this.editor.settings.autosave_retention).toUTCString()},setupStorage:function(i){var h=this,k=c+"_test",j="OK";h.key=c+i.id;e.each([function(){if(localStorage){localStorage.setItem(k,j);if(localStorage.getItem(k)===j){localStorage.removeItem(k);return localStorage}}},function(){if(sessionStorage){sessionStorage.setItem(k,j);if(sessionStorage.getItem(k)===j){sessionStorage.removeItem(k);return sessionStorage}}},function(){if(e.isIE){i.getElement().style.behavior="url('#default#userData')";return{autoExpires:b,setItem:function(l,n){var m=i.getElement();m.setAttribute(l,n);m.expires=h.getExpDate();try{m.save("TinyMCE")}catch(o){}},getItem:function(l){var m=i.getElement();try{m.load("TinyMCE");return m.getAttribute(l)}catch(n){return null}},removeItem:function(l){i.getElement().removeAttribute(l)}}}},],function(l){try{h.storage=l();if(h.storage){return false}}catch(m){}})},storeDraft:function(){var i=this,l=i.storage,j=i.editor,h,k;if(l){if(!l.getItem(i.key)&&!j.isDirty()){return}k=j.getContent({draft:true});if(k.length>j.settings.autosave_minlength){h=i.getExpDate();if(!i.storage.autoExpires){i.storage.setItem(i.key+"_expires",h)}i.storage.setItem(i.key,k);i.onStoreDraft.dispatch(i,{expires:h,content:k})}}},restoreDraft:function(){var h=this,j=h.storage,i;if(j){i=j.getItem(h.key);if(i){h.editor.setContent(i);h.onRestoreDraft.dispatch(h,{content:i})}}},hasDraft:function(){var h=this,k=h.storage,i,j;if(k){j=!!k.getItem(h.key);if(j){if(!h.storage.autoExpires){i=new Date(k.getItem(h.key+"_expires"));if(new Date().getTime()<i.getTime()){return b}h.removeDraft()}else{return b}}}return false},removeDraft:function(){var h=this,k=h.storage,i=h.key,j;if(k){j=k.getItem(i);k.removeItem(i);k.removeItem(i+"_expires");if(j){h.onRemoveDraft.dispatch(h,{content:j})}}},"static":{_beforeUnloadHandler:function(h){var i;e.each(tinyMCE.editors,function(j){if(j.plugins.autosave){j.plugins.autosave.storeDraft()}if(j.getParam("fullscreen_is_enabled")){return}if(!i&&j.isDirty()&&j.getParam("autosave_ask_before_unload")){i=j.getLang("autosave.unload_msg")}});return i}}});e.PluginManager.add("autosave",e.plugins.AutoSave)})(tinymce); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/editor_plugin_src.js
new file mode 100755
index 00000000..8b308f5a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/editor_plugin_src.js
@@ -0,0 +1,433 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ *
+ * Adds auto-save capability to the TinyMCE text editor to rescue content
+ * inadvertently lost. This plugin was originally developed by Speednet
+ * and that project can be found here: http://code.google.com/p/tinyautosave/
+ *
+ * TECHNOLOGY DISCUSSION:
+ *
+ * The plugin attempts to use the most advanced features available in the current browser to save
+ * as much content as possible. There are a total of four different methods used to autosave the
+ * content. In order of preference, they are:
+ *
+ * 1. localStorage - A new feature of HTML 5, localStorage can store megabytes of data per domain
+ * on the client computer. Data stored in the localStorage area has no expiration date, so we must
+ * manage expiring the data ourselves. localStorage is fully supported by IE8, and it is supposed
+ * to be working in Firefox 3 and Safari 3.2, but in reality is is flaky in those browsers. As
+ * HTML 5 gets wider support, the AutoSave plugin will use it automatically. In Windows Vista/7,
+ * localStorage is stored in the following folder:
+ * C:\Users\[username]\AppData\Local\Microsoft\Internet Explorer\DOMStore\[tempFolder]
+ *
+ * 2. sessionStorage - A new feature of HTML 5, sessionStorage works similarly to localStorage,
+ * except it is designed to expire after a certain amount of time. Because the specification
+ * around expiration date/time is very loosely-described, it is preferrable to use locaStorage and
+ * manage the expiration ourselves. sessionStorage has similar storage characteristics to
+ * localStorage, although it seems to have better support by Firefox 3 at the moment. (That will
+ * certainly change as Firefox continues getting better at HTML 5 adoption.)
+ *
+ * 3. UserData - A very under-exploited feature of Microsoft Internet Explorer, UserData is a
+ * way to store up to 128K of data per "document", or up to 1MB of data per domain, on the client
+ * computer. The feature is available for IE 5+, which makes it available for every version of IE
+ * supported by TinyMCE. The content is persistent across browser restarts and expires on the
+ * date/time specified, just like a cookie. However, the data is not cleared when the user clears
+ * cookies on the browser, which makes it well-suited for rescuing autosaved content. UserData,
+ * like other Microsoft IE browser technologies, is implemented as a behavior attached to a
+ * specific DOM object, so in this case we attach the behavior to the same DOM element that the
+ * TinyMCE editor instance is attached to.
+ */
+
+(function(tinymce) {
+ // Setup constants to help the compressor to reduce script size
+ var PLUGIN_NAME = 'autosave',
+ RESTORE_DRAFT = 'restoredraft',
+ TRUE = true,
+ undefined,
+ unloadHandlerAdded,
+ Dispatcher = tinymce.util.Dispatcher;
+
+ /**
+ * This plugin adds auto-save capability to the TinyMCE text editor to rescue content
+ * inadvertently lost. By using localStorage.
+ *
+ * @class tinymce.plugins.AutoSave
+ */
+ tinymce.create('tinymce.plugins.AutoSave', {
+ /**
+ * Initializes the plugin, this will be executed after the plugin has been created.
+ * This call is done before the editor instance has finished it's initialization so use the onInit event
+ * of the editor instance to intercept that event.
+ *
+ * @method init
+ * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in.
+ * @param {string} url Absolute URL to where the plugin is located.
+ */
+ init : function(ed, url) {
+ var self = this, settings = ed.settings;
+
+ self.editor = ed;
+
+ // Parses the specified time string into a milisecond number 10m, 10s etc.
+ function parseTime(time) {
+ var multipels = {
+ s : 1000,
+ m : 60000
+ };
+
+ time = /^(\d+)([ms]?)$/.exec('' + time);
+
+ return (time[2] ? multipels[time[2]] : 1) * parseInt(time);
+ };
+
+ // Default config
+ tinymce.each({
+ ask_before_unload : TRUE,
+ interval : '30s',
+ retention : '20m',
+ minlength : 50
+ }, function(value, key) {
+ key = PLUGIN_NAME + '_' + key;
+
+ if (settings[key] === undefined)
+ settings[key] = value;
+ });
+
+ // Parse times
+ settings.autosave_interval = parseTime(settings.autosave_interval);
+ settings.autosave_retention = parseTime(settings.autosave_retention);
+
+ // Register restore button
+ ed.addButton(RESTORE_DRAFT, {
+ title : PLUGIN_NAME + ".restore_content",
+ onclick : function() {
+ if (ed.getContent({draft: true}).replace(/\s|&nbsp;|<\/?p[^>]*>|<br[^>]*>/gi, "").length > 0) {
+ // Show confirm dialog if the editor isn't empty
+ ed.windowManager.confirm(
+ PLUGIN_NAME + ".warning_message",
+ function(ok) {
+ if (ok)
+ self.restoreDraft();
+ }
+ );
+ } else
+ self.restoreDraft();
+ }
+ });
+
+ // Enable/disable restoredraft button depending on if there is a draft stored or not
+ ed.onNodeChange.add(function() {
+ var controlManager = ed.controlManager;
+
+ if (controlManager.get(RESTORE_DRAFT))
+ controlManager.setDisabled(RESTORE_DRAFT, !self.hasDraft());
+ });
+
+ ed.onInit.add(function() {
+ // Check if the user added the restore button, then setup auto storage logic
+ if (ed.controlManager.get(RESTORE_DRAFT)) {
+ // Setup storage engine
+ self.setupStorage(ed);
+
+ // Auto save contents each interval time
+ setInterval(function() {
+ if (!ed.removed) {
+ self.storeDraft();
+ ed.nodeChanged();
+ }
+ }, settings.autosave_interval);
+ }
+ });
+
+ /**
+ * This event gets fired when a draft is stored to local storage.
+ *
+ * @event onStoreDraft
+ * @param {tinymce.plugins.AutoSave} sender Plugin instance sending the event.
+ * @param {Object} draft Draft object containing the HTML contents of the editor.
+ */
+ self.onStoreDraft = new Dispatcher(self);
+
+ /**
+ * This event gets fired when a draft is restored from local storage.
+ *
+ * @event onStoreDraft
+ * @param {tinymce.plugins.AutoSave} sender Plugin instance sending the event.
+ * @param {Object} draft Draft object containing the HTML contents of the editor.
+ */
+ self.onRestoreDraft = new Dispatcher(self);
+
+ /**
+ * This event gets fired when a draft removed/expired.
+ *
+ * @event onRemoveDraft
+ * @param {tinymce.plugins.AutoSave} sender Plugin instance sending the event.
+ * @param {Object} draft Draft object containing the HTML contents of the editor.
+ */
+ self.onRemoveDraft = new Dispatcher(self);
+
+ // Add ask before unload dialog only add one unload handler
+ if (!unloadHandlerAdded) {
+ window.onbeforeunload = tinymce.plugins.AutoSave._beforeUnloadHandler;
+ unloadHandlerAdded = TRUE;
+ }
+ },
+
+ /**
+ * Returns information about the plugin as a name/value array.
+ * The current keys are longname, author, authorurl, infourl and version.
+ *
+ * @method getInfo
+ * @return {Object} Name/value array containing information about the plugin.
+ */
+ getInfo : function() {
+ return {
+ longname : 'Auto save',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autosave',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ /**
+ * Returns an expiration date UTC string.
+ *
+ * @method getExpDate
+ * @return {String} Expiration date UTC string.
+ */
+ getExpDate : function() {
+ return new Date(
+ new Date().getTime() + this.editor.settings.autosave_retention
+ ).toUTCString();
+ },
+
+ /**
+ * This method will setup the storage engine. If the browser has support for it.
+ *
+ * @method setupStorage
+ */
+ setupStorage : function(ed) {
+ var self = this, testKey = PLUGIN_NAME + '_test', testVal = "OK";
+
+ self.key = PLUGIN_NAME + ed.id;
+
+ // Loop though each storage engine type until we find one that works
+ tinymce.each([
+ function() {
+ // Try HTML5 Local Storage
+ if (localStorage) {
+ localStorage.setItem(testKey, testVal);
+
+ if (localStorage.getItem(testKey) === testVal) {
+ localStorage.removeItem(testKey);
+
+ return localStorage;
+ }
+ }
+ },
+
+ function() {
+ // Try HTML5 Session Storage
+ if (sessionStorage) {
+ sessionStorage.setItem(testKey, testVal);
+
+ if (sessionStorage.getItem(testKey) === testVal) {
+ sessionStorage.removeItem(testKey);
+
+ return sessionStorage;
+ }
+ }
+ },
+
+ function() {
+ // Try IE userData
+ if (tinymce.isIE) {
+ ed.getElement().style.behavior = "url('#default#userData')";
+
+ // Fake localStorage on old IE
+ return {
+ autoExpires : TRUE,
+
+ setItem : function(key, value) {
+ var userDataElement = ed.getElement();
+
+ userDataElement.setAttribute(key, value);
+ userDataElement.expires = self.getExpDate();
+
+ try {
+ userDataElement.save("TinyMCE");
+ } catch (e) {
+ // Ignore, saving might fail if "Userdata Persistence" is disabled in IE
+ }
+ },
+
+ getItem : function(key) {
+ var userDataElement = ed.getElement();
+
+ try {
+ userDataElement.load("TinyMCE");
+ return userDataElement.getAttribute(key);
+ } catch (e) {
+ // Ignore, loading might fail if "Userdata Persistence" is disabled in IE
+ return null;
+ }
+ },
+
+ removeItem : function(key) {
+ ed.getElement().removeAttribute(key);
+ }
+ };
+ }
+ },
+ ], function(setup) {
+ // Try executing each function to find a suitable storage engine
+ try {
+ self.storage = setup();
+
+ if (self.storage)
+ return false;
+ } catch (e) {
+ // Ignore
+ }
+ });
+ },
+
+ /**
+ * This method will store the current contents in the the storage engine.
+ *
+ * @method storeDraft
+ */
+ storeDraft : function() {
+ var self = this, storage = self.storage, editor = self.editor, expires, content;
+
+ // Is the contents dirty
+ if (storage) {
+ // If there is no existing key and the contents hasn't been changed since
+ // it's original value then there is no point in saving a draft
+ if (!storage.getItem(self.key) && !editor.isDirty())
+ return;
+
+ // Store contents if the contents if longer than the minlength of characters
+ content = editor.getContent({draft: true});
+ if (content.length > editor.settings.autosave_minlength) {
+ expires = self.getExpDate();
+
+ // Store expiration date if needed IE userData has auto expire built in
+ if (!self.storage.autoExpires)
+ self.storage.setItem(self.key + "_expires", expires);
+
+ self.storage.setItem(self.key, content);
+ self.onStoreDraft.dispatch(self, {
+ expires : expires,
+ content : content
+ });
+ }
+ }
+ },
+
+ /**
+ * This method will restore the contents from the storage engine back to the editor.
+ *
+ * @method restoreDraft
+ */
+ restoreDraft : function() {
+ var self = this, storage = self.storage, content;
+
+ if (storage) {
+ content = storage.getItem(self.key);
+
+ if (content) {
+ self.editor.setContent(content);
+ self.onRestoreDraft.dispatch(self, {
+ content : content
+ });
+ }
+ }
+ },
+
+ /**
+ * This method will return true/false if there is a local storage draft available.
+ *
+ * @method hasDraft
+ * @return {boolean} true/false state if there is a local draft.
+ */
+ hasDraft : function() {
+ var self = this, storage = self.storage, expDate, exists;
+
+ if (storage) {
+ // Does the item exist at all
+ exists = !!storage.getItem(self.key);
+ if (exists) {
+ // Storage needs autoexpire
+ if (!self.storage.autoExpires) {
+ expDate = new Date(storage.getItem(self.key + "_expires"));
+
+ // Contents hasn't expired
+ if (new Date().getTime() < expDate.getTime())
+ return TRUE;
+
+ // Remove it if it has
+ self.removeDraft();
+ } else
+ return TRUE;
+ }
+ }
+
+ return false;
+ },
+
+ /**
+ * Removes the currently stored draft.
+ *
+ * @method removeDraft
+ */
+ removeDraft : function() {
+ var self = this, storage = self.storage, key = self.key, content;
+
+ if (storage) {
+ // Get current contents and remove the existing draft
+ content = storage.getItem(key);
+ storage.removeItem(key);
+ storage.removeItem(key + "_expires");
+
+ // Dispatch remove event if we had any contents
+ if (content) {
+ self.onRemoveDraft.dispatch(self, {
+ content : content
+ });
+ }
+ }
+ },
+
+ "static" : {
+ // Internal unload handler will be called before the page is unloaded
+ _beforeUnloadHandler : function(e) {
+ var msg;
+
+ tinymce.each(tinyMCE.editors, function(ed) {
+ // Store a draft for each editor instance
+ if (ed.plugins.autosave)
+ ed.plugins.autosave.storeDraft();
+
+ // Never ask in fullscreen mode
+ if (ed.getParam("fullscreen_is_enabled"))
+ return;
+
+ // Setup a return message if the editor is dirty
+ if (!msg && ed.isDirty() && ed.getParam("autosave_ask_before_unload"))
+ msg = ed.getLang("autosave.unload_msg");
+ });
+
+ return msg;
+ }
+ }
+ });
+
+ tinymce.PluginManager.add('autosave', tinymce.plugins.AutoSave);
+})(tinymce);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/langs/en.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/langs/en.js
new file mode 100755
index 00000000..fce6bd3e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/langs/en.js
@@ -0,0 +1,4 @@
+tinyMCE.addI18n('en.autosave',{
+restore_content: "Restore auto-saved content",
+warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?"
+}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/bbcode/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/bbcode/editor_plugin.js
new file mode 100755
index 00000000..8f8821fd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/bbcode/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.BBCodePlugin",{init:function(a,b){var d=this,c=a.getParam("bbcode_dialect","punbb").toLowerCase();a.onBeforeSetContent.add(function(e,f){f.content=d["_"+c+"_bbcode2html"](f.content)});a.onPostProcess.add(function(e,f){if(f.set){f.content=d["_"+c+"_bbcode2html"](f.content)}if(f.get){f.content=d["_"+c+"_html2bbcode"](f.content)}})},getInfo:function(){return{longname:"BBCode Plugin",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/bbcode",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_punbb_html2bbcode:function(a){a=tinymce.trim(a);function b(c,d){a=a.replace(c,d)}b(/<a.*?href=\"(.*?)\".*?>(.*?)<\/a>/gi,"[url=$1]$2[/url]");b(/<font.*?color=\"(.*?)\".*?class=\"codeStyle\".*?>(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");b(/<font.*?color=\"(.*?)\".*?class=\"quoteStyle\".*?>(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");b(/<font.*?class=\"codeStyle\".*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");b(/<font.*?class=\"quoteStyle\".*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");b(/<span style=\"color: ?(.*?);\">(.*?)<\/span>/gi,"[color=$1]$2[/color]");b(/<font.*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[color=$1]$2[/color]");b(/<span style=\"font-size:(.*?);\">(.*?)<\/span>/gi,"[size=$1]$2[/size]");b(/<font>(.*?)<\/font>/gi,"$1");b(/<img.*?src=\"(.*?)\".*?\/>/gi,"[img]$1[/img]");b(/<span class=\"codeStyle\">(.*?)<\/span>/gi,"[code]$1[/code]");b(/<span class=\"quoteStyle\">(.*?)<\/span>/gi,"[quote]$1[/quote]");b(/<strong class=\"codeStyle\">(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]");b(/<strong class=\"quoteStyle\">(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]");b(/<em class=\"codeStyle\">(.*?)<\/em>/gi,"[code][i]$1[/i][/code]");b(/<em class=\"quoteStyle\">(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]");b(/<u class=\"codeStyle\">(.*?)<\/u>/gi,"[code][u]$1[/u][/code]");b(/<u class=\"quoteStyle\">(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]");b(/<\/(strong|b)>/gi,"[/b]");b(/<(strong|b)>/gi,"[b]");b(/<\/(em|i)>/gi,"[/i]");b(/<(em|i)>/gi,"[i]");b(/<\/u>/gi,"[/u]");b(/<span style=\"text-decoration: ?underline;\">(.*?)<\/span>/gi,"[u]$1[/u]");b(/<u>/gi,"[u]");b(/<blockquote[^>]*>/gi,"[quote]");b(/<\/blockquote>/gi,"[/quote]");b(/<br \/>/gi,"\n");b(/<br\/>/gi,"\n");b(/<br>/gi,"\n");b(/<p>/gi,"");b(/<\/p>/gi,"\n");b(/&nbsp;|\u00a0/gi," ");b(/&quot;/gi,'"');b(/&lt;/gi,"<");b(/&gt;/gi,">");b(/&amp;/gi,"&");return a},_punbb_bbcode2html:function(a){a=tinymce.trim(a);function b(c,d){a=a.replace(c,d)}b(/\n/gi,"<br />");b(/\[b\]/gi,"<strong>");b(/\[\/b\]/gi,"</strong>");b(/\[i\]/gi,"<em>");b(/\[\/i\]/gi,"</em>");b(/\[u\]/gi,"<u>");b(/\[\/u\]/gi,"</u>");b(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,'<a href="$1">$2</a>');b(/\[url\](.*?)\[\/url\]/gi,'<a href="$1">$1</a>');b(/\[img\](.*?)\[\/img\]/gi,'<img src="$1" />');b(/\[color=(.*?)\](.*?)\[\/color\]/gi,'<font color="$1">$2</font>');b(/\[code\](.*?)\[\/code\]/gi,'<span class="codeStyle">$1</span>&nbsp;');b(/\[quote.*?\](.*?)\[\/quote\]/gi,'<span class="quoteStyle">$1</span>&nbsp;');return a}});tinymce.PluginManager.add("bbcode",tinymce.plugins.BBCodePlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/bbcode/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/bbcode/editor_plugin_src.js
new file mode 100755
index 00000000..4e7eb337
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/bbcode/editor_plugin_src.js
@@ -0,0 +1,120 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.BBCodePlugin', {
+ init : function(ed, url) {
+ var t = this, dialect = ed.getParam('bbcode_dialect', 'punbb').toLowerCase();
+
+ ed.onBeforeSetContent.add(function(ed, o) {
+ o.content = t['_' + dialect + '_bbcode2html'](o.content);
+ });
+
+ ed.onPostProcess.add(function(ed, o) {
+ if (o.set)
+ o.content = t['_' + dialect + '_bbcode2html'](o.content);
+
+ if (o.get)
+ o.content = t['_' + dialect + '_html2bbcode'](o.content);
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'BBCode Plugin',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/bbcode',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ // Private methods
+
+ // HTML -> BBCode in PunBB dialect
+ _punbb_html2bbcode : function(s) {
+ s = tinymce.trim(s);
+
+ function rep(re, str) {
+ s = s.replace(re, str);
+ };
+
+ // example: <strong> to [b]
+ rep(/<a.*?href=\"(.*?)\".*?>(.*?)<\/a>/gi,"[url=$1]$2[/url]");
+ rep(/<font.*?color=\"(.*?)\".*?class=\"codeStyle\".*?>(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");
+ rep(/<font.*?color=\"(.*?)\".*?class=\"quoteStyle\".*?>(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");
+ rep(/<font.*?class=\"codeStyle\".*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");
+ rep(/<font.*?class=\"quoteStyle\".*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");
+ rep(/<span style=\"color: ?(.*?);\">(.*?)<\/span>/gi,"[color=$1]$2[/color]");
+ rep(/<font.*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[color=$1]$2[/color]");
+ rep(/<span style=\"font-size:(.*?);\">(.*?)<\/span>/gi,"[size=$1]$2[/size]");
+ rep(/<font>(.*?)<\/font>/gi,"$1");
+ rep(/<img.*?src=\"(.*?)\".*?\/>/gi,"[img]$1[/img]");
+ rep(/<span class=\"codeStyle\">(.*?)<\/span>/gi,"[code]$1[/code]");
+ rep(/<span class=\"quoteStyle\">(.*?)<\/span>/gi,"[quote]$1[/quote]");
+ rep(/<strong class=\"codeStyle\">(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]");
+ rep(/<strong class=\"quoteStyle\">(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]");
+ rep(/<em class=\"codeStyle\">(.*?)<\/em>/gi,"[code][i]$1[/i][/code]");
+ rep(/<em class=\"quoteStyle\">(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]");
+ rep(/<u class=\"codeStyle\">(.*?)<\/u>/gi,"[code][u]$1[/u][/code]");
+ rep(/<u class=\"quoteStyle\">(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]");
+ rep(/<\/(strong|b)>/gi,"[/b]");
+ rep(/<(strong|b)>/gi,"[b]");
+ rep(/<\/(em|i)>/gi,"[/i]");
+ rep(/<(em|i)>/gi,"[i]");
+ rep(/<\/u>/gi,"[/u]");
+ rep(/<span style=\"text-decoration: ?underline;\">(.*?)<\/span>/gi,"[u]$1[/u]");
+ rep(/<u>/gi,"[u]");
+ rep(/<blockquote[^>]*>/gi,"[quote]");
+ rep(/<\/blockquote>/gi,"[/quote]");
+ rep(/<br \/>/gi,"\n");
+ rep(/<br\/>/gi,"\n");
+ rep(/<br>/gi,"\n");
+ rep(/<p>/gi,"");
+ rep(/<\/p>/gi,"\n");
+ rep(/&nbsp;|\u00a0/gi," ");
+ rep(/&quot;/gi,"\"");
+ rep(/&lt;/gi,"<");
+ rep(/&gt;/gi,">");
+ rep(/&amp;/gi,"&");
+
+ return s;
+ },
+
+ // BBCode -> HTML from PunBB dialect
+ _punbb_bbcode2html : function(s) {
+ s = tinymce.trim(s);
+
+ function rep(re, str) {
+ s = s.replace(re, str);
+ };
+
+ // example: [b] to <strong>
+ rep(/\n/gi,"<br />");
+ rep(/\[b\]/gi,"<strong>");
+ rep(/\[\/b\]/gi,"</strong>");
+ rep(/\[i\]/gi,"<em>");
+ rep(/\[\/i\]/gi,"</em>");
+ rep(/\[u\]/gi,"<u>");
+ rep(/\[\/u\]/gi,"</u>");
+ rep(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,"<a href=\"$1\">$2</a>");
+ rep(/\[url\](.*?)\[\/url\]/gi,"<a href=\"$1\">$1</a>");
+ rep(/\[img\](.*?)\[\/img\]/gi,"<img src=\"$1\" />");
+ rep(/\[color=(.*?)\](.*?)\[\/color\]/gi,"<font color=\"$1\">$2</font>");
+ rep(/\[code\](.*?)\[\/code\]/gi,"<span class=\"codeStyle\">$1</span>&nbsp;");
+ rep(/\[quote.*?\](.*?)\[\/quote\]/gi,"<span class=\"quoteStyle\">$1</span>&nbsp;");
+
+ return s;
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('bbcode', tinymce.plugins.BBCodePlugin);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/contextmenu/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/contextmenu/editor_plugin.js
new file mode 100755
index 00000000..2ed042c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/contextmenu/editor_plugin.js
@@ -0,0 +1 @@
+(function(){var a=tinymce.dom.Event,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.ContextMenu",{init:function(f){var i=this,g,d,j,e;i.editor=f;d=f.settings.contextmenu_never_use_native;i.onContextMenu=new tinymce.util.Dispatcher(this);e=function(k){h(f,k)};g=f.onContextMenu.add(function(k,l){if((j!==0?j:l.ctrlKey)&&!d){return}a.cancel(l);if(l.target.nodeName=="IMG"){k.selection.select(l.target)}i._getMenu(k).showMenu(l.clientX||l.pageX,l.clientY||l.pageY);a.add(k.getDoc(),"click",e);k.nodeChanged()});f.onRemove.add(function(){if(i._menu){i._menu.removeAll()}});function h(k,l){j=0;if(l&&l.button==2){j=l.ctrlKey;return}if(i._menu){i._menu.removeAll();i._menu.destroy();a.remove(k.getDoc(),"click",e);i._menu=null}}f.onMouseDown.add(h);f.onKeyDown.add(h);f.onKeyDown.add(function(k,l){if(l.shiftKey&&!l.ctrlKey&&!l.altKey&&l.keyCode===121){a.cancel(l);g(k,l)}})},getInfo:function(){return{longname:"Contextmenu",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/contextmenu",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_getMenu:function(e){var g=this,d=g._menu,j=e.selection,f=j.isCollapsed(),h=j.getNode()||e.getBody(),i,k;if(d){d.removeAll();d.destroy()}k=b.getPos(e.getContentAreaContainer());d=e.controlManager.createDropMenu("contextmenu",{offset_x:k.x+e.getParam("contextmenu_offset_x",0),offset_y:k.y+e.getParam("contextmenu_offset_y",0),constrain:1,keyboard_focus:true});g._menu=d;d.add({title:"advanced.cut_desc",icon:"cut",cmd:"Cut"}).setDisabled(f);d.add({title:"advanced.copy_desc",icon:"copy",cmd:"Copy"}).setDisabled(f);d.add({title:"advanced.paste_desc",icon:"paste",cmd:"Paste"});if((h.nodeName=="A"&&!e.dom.getAttrib(h,"name"))||!f){d.addSeparator();d.add({title:"advanced.link_desc",icon:"link",cmd:e.plugins.advlink?"mceAdvLink":"mceLink",ui:true});d.add({title:"advanced.unlink_desc",icon:"unlink",cmd:"UnLink"})}d.addSeparator();d.add({title:"advanced.image_desc",icon:"image",cmd:e.plugins.advimage?"mceAdvImage":"mceImage",ui:true});d.addSeparator();i=d.addMenu({title:"contextmenu.align"});i.add({title:"contextmenu.left",icon:"justifyleft",cmd:"JustifyLeft"});i.add({title:"contextmenu.center",icon:"justifycenter",cmd:"JustifyCenter"});i.add({title:"contextmenu.right",icon:"justifyright",cmd:"JustifyRight"});i.add({title:"contextmenu.full",icon:"justifyfull",cmd:"JustifyFull"});g.onContextMenu.dispatch(g,d,h,f);return d}});tinymce.PluginManager.add("contextmenu",tinymce.plugins.ContextMenu)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/contextmenu/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/contextmenu/editor_plugin_src.js
new file mode 100755
index 00000000..48b0fff9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/contextmenu/editor_plugin_src.js
@@ -0,0 +1,163 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ var Event = tinymce.dom.Event, each = tinymce.each, DOM = tinymce.DOM;
+
+ /**
+ * This plugin a context menu to TinyMCE editor instances.
+ *
+ * @class tinymce.plugins.ContextMenu
+ */
+ tinymce.create('tinymce.plugins.ContextMenu', {
+ /**
+ * Initializes the plugin, this will be executed after the plugin has been created.
+ * This call is done before the editor instance has finished it's initialization so use the onInit event
+ * of the editor instance to intercept that event.
+ *
+ * @method init
+ * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in.
+ * @param {string} url Absolute URL to where the plugin is located.
+ */
+ init : function(ed) {
+ var t = this, showMenu, contextmenuNeverUseNative, realCtrlKey, hideMenu;
+
+ t.editor = ed;
+
+ contextmenuNeverUseNative = ed.settings.contextmenu_never_use_native;
+
+ /**
+ * This event gets fired when the context menu is shown.
+ *
+ * @event onContextMenu
+ * @param {tinymce.plugins.ContextMenu} sender Plugin instance sending the event.
+ * @param {tinymce.ui.DropMenu} menu Drop down menu to fill with more items if needed.
+ */
+ t.onContextMenu = new tinymce.util.Dispatcher(this);
+
+ hideMenu = function(e) {
+ hide(ed, e);
+ };
+
+ showMenu = ed.onContextMenu.add(function(ed, e) {
+ // Block TinyMCE menu on ctrlKey and work around Safari issue
+ if ((realCtrlKey !== 0 ? realCtrlKey : e.ctrlKey) && !contextmenuNeverUseNative)
+ return;
+
+ Event.cancel(e);
+
+ // Select the image if it's clicked. WebKit would other wise expand the selection
+ if (e.target.nodeName == 'IMG')
+ ed.selection.select(e.target);
+
+ t._getMenu(ed).showMenu(e.clientX || e.pageX, e.clientY || e.pageY);
+ Event.add(ed.getDoc(), 'click', hideMenu);
+
+ ed.nodeChanged();
+ });
+
+ ed.onRemove.add(function() {
+ if (t._menu)
+ t._menu.removeAll();
+ });
+
+ function hide(ed, e) {
+ realCtrlKey = 0;
+
+ // Since the contextmenu event moves
+ // the selection we need to store it away
+ if (e && e.button == 2) {
+ realCtrlKey = e.ctrlKey;
+ return;
+ }
+
+ if (t._menu) {
+ t._menu.removeAll();
+ t._menu.destroy();
+ Event.remove(ed.getDoc(), 'click', hideMenu);
+ t._menu = null;
+ }
+ };
+
+ ed.onMouseDown.add(hide);
+ ed.onKeyDown.add(hide);
+ ed.onKeyDown.add(function(ed, e) {
+ if (e.shiftKey && !e.ctrlKey && !e.altKey && e.keyCode === 121) {
+ Event.cancel(e);
+ showMenu(ed, e);
+ }
+ });
+ },
+
+ /**
+ * Returns information about the plugin as a name/value array.
+ * The current keys are longname, author, authorurl, infourl and version.
+ *
+ * @method getInfo
+ * @return {Object} Name/value array containing information about the plugin.
+ */
+ getInfo : function() {
+ return {
+ longname : 'Contextmenu',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/contextmenu',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ _getMenu : function(ed) {
+ var t = this, m = t._menu, se = ed.selection, col = se.isCollapsed(), el = se.getNode() || ed.getBody(), am, p;
+
+ if (m) {
+ m.removeAll();
+ m.destroy();
+ }
+
+ p = DOM.getPos(ed.getContentAreaContainer());
+
+ m = ed.controlManager.createDropMenu('contextmenu', {
+ offset_x : p.x + ed.getParam('contextmenu_offset_x', 0),
+ offset_y : p.y + ed.getParam('contextmenu_offset_y', 0),
+ constrain : 1,
+ keyboard_focus: true
+ });
+
+ t._menu = m;
+
+ m.add({title : 'advanced.cut_desc', icon : 'cut', cmd : 'Cut'}).setDisabled(col);
+ m.add({title : 'advanced.copy_desc', icon : 'copy', cmd : 'Copy'}).setDisabled(col);
+ m.add({title : 'advanced.paste_desc', icon : 'paste', cmd : 'Paste'});
+
+ if ((el.nodeName == 'A' && !ed.dom.getAttrib(el, 'name')) || !col) {
+ m.addSeparator();
+ m.add({title : 'advanced.link_desc', icon : 'link', cmd : ed.plugins.advlink ? 'mceAdvLink' : 'mceLink', ui : true});
+ m.add({title : 'advanced.unlink_desc', icon : 'unlink', cmd : 'UnLink'});
+ }
+
+ m.addSeparator();
+ m.add({title : 'advanced.image_desc', icon : 'image', cmd : ed.plugins.advimage ? 'mceAdvImage' : 'mceImage', ui : true});
+
+ m.addSeparator();
+ am = m.addMenu({title : 'contextmenu.align'});
+ am.add({title : 'contextmenu.left', icon : 'justifyleft', cmd : 'JustifyLeft'});
+ am.add({title : 'contextmenu.center', icon : 'justifycenter', cmd : 'JustifyCenter'});
+ am.add({title : 'contextmenu.right', icon : 'justifyright', cmd : 'JustifyRight'});
+ am.add({title : 'contextmenu.full', icon : 'justifyfull', cmd : 'JustifyFull'});
+
+ t.onContextMenu.dispatch(t, m, el, col);
+
+ return m;
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('contextmenu', tinymce.plugins.ContextMenu);
+})();
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/directionality/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/directionality/editor_plugin.js
new file mode 100755
index 00000000..90847e78
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/directionality/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.Directionality",{init:function(b,c){var d=this;d.editor=b;function a(e){var h=b.dom,g,f=b.selection.getSelectedBlocks();if(f.length){g=h.getAttrib(f[0],"dir");tinymce.each(f,function(i){if(!h.getParent(i.parentNode,"*[dir='"+e+"']",h.getRoot())){if(g!=e){h.setAttrib(i,"dir",e)}else{h.setAttrib(i,"dir",null)}}});b.nodeChanged()}}b.addCommand("mceDirectionLTR",function(){a("ltr")});b.addCommand("mceDirectionRTL",function(){a("rtl")});b.addButton("ltr",{title:"directionality.ltr_desc",cmd:"mceDirectionLTR"});b.addButton("rtl",{title:"directionality.rtl_desc",cmd:"mceDirectionRTL"});b.onNodeChange.add(d._nodeChange,d)},getInfo:function(){return{longname:"Directionality",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/directionality",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_nodeChange:function(b,a,e){var d=b.dom,c;e=d.getParent(e,d.isBlock);if(!e){a.setDisabled("ltr",1);a.setDisabled("rtl",1);return}c=d.getAttrib(e,"dir");a.setActive("ltr",c=="ltr");a.setDisabled("ltr",0);a.setActive("rtl",c=="rtl");a.setDisabled("rtl",0)}});tinymce.PluginManager.add("directionality",tinymce.plugins.Directionality)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/directionality/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/directionality/editor_plugin_src.js
new file mode 100755
index 00000000..b1340141
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/directionality/editor_plugin_src.js
@@ -0,0 +1,85 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.Directionality', {
+ init : function(ed, url) {
+ var t = this;
+
+ t.editor = ed;
+
+ function setDir(dir) {
+ var dom = ed.dom, curDir, blocks = ed.selection.getSelectedBlocks();
+
+ if (blocks.length) {
+ curDir = dom.getAttrib(blocks[0], "dir");
+
+ tinymce.each(blocks, function(block) {
+ // Add dir to block if the parent block doesn't already have that dir
+ if (!dom.getParent(block.parentNode, "*[dir='" + dir + "']", dom.getRoot())) {
+ if (curDir != dir) {
+ dom.setAttrib(block, "dir", dir);
+ } else {
+ dom.setAttrib(block, "dir", null);
+ }
+ }
+ });
+
+ ed.nodeChanged();
+ }
+ }
+
+ ed.addCommand('mceDirectionLTR', function() {
+ setDir("ltr");
+ });
+
+ ed.addCommand('mceDirectionRTL', function() {
+ setDir("rtl");
+ });
+
+ ed.addButton('ltr', {title : 'directionality.ltr_desc', cmd : 'mceDirectionLTR'});
+ ed.addButton('rtl', {title : 'directionality.rtl_desc', cmd : 'mceDirectionRTL'});
+
+ ed.onNodeChange.add(t._nodeChange, t);
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Directionality',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/directionality',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ // Private methods
+
+ _nodeChange : function(ed, cm, n) {
+ var dom = ed.dom, dir;
+
+ n = dom.getParent(n, dom.isBlock);
+ if (!n) {
+ cm.setDisabled('ltr', 1);
+ cm.setDisabled('rtl', 1);
+ return;
+ }
+
+ dir = dom.getAttrib(n, 'dir');
+ cm.setActive('ltr', dir == "ltr");
+ cm.setDisabled('ltr', 0);
+ cm.setActive('rtl', dir == "rtl");
+ cm.setDisabled('rtl', 0);
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('directionality', tinymce.plugins.Directionality);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/editor_plugin.js
new file mode 100755
index 00000000..dbdd8ffb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/editor_plugin.js
@@ -0,0 +1 @@
+(function(a){a.create("tinymce.plugins.EmotionsPlugin",{init:function(b,c){b.addCommand("mceEmotion",function(){b.windowManager.open({file:c+"/emotions.htm",width:250+parseInt(b.getLang("emotions.delta_width",0)),height:160+parseInt(b.getLang("emotions.delta_height",0)),inline:1},{plugin_url:c})});b.addButton("emotions",{title:"emotions.emotions_desc",cmd:"mceEmotion"})},getInfo:function(){return{longname:"Emotions",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/emotions",version:a.majorVersion+"."+a.minorVersion}}});a.PluginManager.add("emotions",a.plugins.EmotionsPlugin)})(tinymce); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/editor_plugin_src.js
new file mode 100755
index 00000000..71d54169
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/editor_plugin_src.js
@@ -0,0 +1,43 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function(tinymce) {
+ tinymce.create('tinymce.plugins.EmotionsPlugin', {
+ init : function(ed, url) {
+ // Register commands
+ ed.addCommand('mceEmotion', function() {
+ ed.windowManager.open({
+ file : url + '/emotions.htm',
+ width : 250 + parseInt(ed.getLang('emotions.delta_width', 0)),
+ height : 160 + parseInt(ed.getLang('emotions.delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ // Register buttons
+ ed.addButton('emotions', {title : 'emotions.emotions_desc', cmd : 'mceEmotion'});
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Emotions',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/emotions',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('emotions', tinymce.plugins.EmotionsPlugin);
+})(tinymce); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/emotions.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/emotions.htm
new file mode 100755
index 00000000..10135565
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/emotions.htm
@@ -0,0 +1,42 @@
+<!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>
+ <title>{#emotions_dlg.title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="js/emotions.js"></script>
+</head>
+<body style="display: none" role="application" aria-labelledby="app_title">
+<span style="display:none;" id="app_title">{#emotions_dlg.title}</span>
+<div align="center">
+ <div class="title">{#emotions_dlg.title}:<br /><br /></div>
+
+ <table id="emoticon_table" role="presentation" border="0" cellspacing="0" cellpadding="4">
+ <tr>
+ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.cool}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-cool.gif','emotions_dlg.cool');"><img src="img/smiley-cool.gif" width="18" height="18" border="0" alt="{#emotions_dlg.cool}. {#emotions_dlg.usage}" /></a></td>
+ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.cry}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-cry.gif','emotions_dlg.cry');"><img src="img/smiley-cry.gif" width="18" height="18" border="0" alt="{#emotions_dlg.cry}. {#emotions_dlg.usage}" /></a></td>
+ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.embarassed}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-embarassed.gif','emotions_dlg.embarassed');"><img src="img/smiley-embarassed.gif" width="18" height="18" border="0" alt="{#emotions_dlg.embarassed}. {#emotions_dlg.usage}" /></a></td>
+ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.foot_in_mouth}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-foot-in-mouth.gif','emotions_dlg.foot_in_mouth');"><img src="img/smiley-foot-in-mouth.gif" width="18" height="18" border="0" alt="{#emotions_dlg.foot_in_mouth}. {#emotions_dlg.usage}" /></a></td>
+ </tr>
+ <tr>
+ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.frown}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-frown.gif','emotions_dlg.frown');"><img src="img/smiley-frown.gif" width="18" height="18" border="0" alt="{#emotions_dlg.frown}. {#emotions_dlg.usage}" /></a></td>
+ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.innocent}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-innocent.gif','emotions_dlg.innocent');"><img src="img/smiley-innocent.gif" width="18" height="18" border="0" alt="{#emotions_dlg.innocent}. {#emotions_dlg.usage}" /></a></td>
+ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.kiss}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-kiss.gif','emotions_dlg.kiss');"><img src="img/smiley-kiss.gif" width="18" height="18" border="0" alt="{#emotions_dlg.kiss}. {#emotions_dlg.usage}" /></a></td>
+ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.laughing}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-laughing.gif','emotions_dlg.laughing');"><img src="img/smiley-laughing.gif" width="18" height="18" border="0" alt="{#emotions_dlg.laughing}. {#emotions_dlg.usage}" /></a></td>
+ </tr>
+ <tr>
+ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.money_mouth}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-money-mouth.gif','emotions_dlg.money_mouth');"><img src="img/smiley-money-mouth.gif" width="18" height="18" border="0" alt="{#emotions_dlg.money_mouth}. {#emotions_dlg.usage}"/></a></td>
+ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.sealed}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-sealed.gif','emotions_dlg.sealed');"><img src="img/smiley-sealed.gif" width="18" height="18" border="0" alt="{#emotions_dlg.sealed}. {#emotions_dlg.usage}" /></a></td>
+ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.smile}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-smile.gif','emotions_dlg.smile');"><img src="img/smiley-smile.gif" width="18" height="18" border="0" alt="{#emotions_dlg.smile}. {#emotions_dlg.usage}" /></a></td>
+ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.surprised}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-surprised.gif','emotions_dlg.surprised');"><img src="img/smiley-surprised.gif" width="18" height="18" border="0" alt="{#emotions_dlg.surprised}. {#emotions_dlg.usage}" /></a></td>
+ </tr>
+ <tr>
+ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.tongue_out}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-tongue-out.gif','emotions_dlg.tongue_out');"><img src="img/smiley-tongue-out.gif" width="18" height="18" border="0" alt="{#emotions_dlg.tongue-out}. {#emotions_dlg.usage}" /></a></td>
+ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.undecided}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-undecided.gif','emotions_dlg.undecided');"><img src="img/smiley-undecided.gif" width="18" height="18" border="0" alt="{#emotions_dlg.undecided}. {#emotions_dlg.usage}" /></a></td>
+ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.wink}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-wink.gif','emotions_dlg.wink');"><img src="img/smiley-wink.gif" width="18" height="18" border="0" alt="{#emotions_dlg.wink}. {#emotions_dlg.usage}" /></a></td>
+ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.yell}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-yell.gif','emotions_dlg.yell');"><img src="img/smiley-yell.gif" width="18" height="18" border="0" alt="{#emotions_dlg.yell}. {#emotions_dlg.usage}" /></a></td>
+ </tr>
+ </table>
+ <div>{#emotions_dlg.usage}</div>
+</div>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-cool.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-cool.gif
new file mode 100644
index 00000000..ba90cc36
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-cool.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-cry.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-cry.gif
new file mode 100644
index 00000000..74d897a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-cry.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-embarassed.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-embarassed.gif
new file mode 100644
index 00000000..963a96b8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-embarassed.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif
new file mode 100644
index 00000000..c7cf1011
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-frown.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-frown.gif
new file mode 100644
index 00000000..716f55e1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-frown.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-innocent.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-innocent.gif
new file mode 100644
index 00000000..334d49e0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-innocent.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-kiss.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-kiss.gif
new file mode 100644
index 00000000..4efd549e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-kiss.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-laughing.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-laughing.gif
new file mode 100644
index 00000000..82c5b182
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-laughing.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif
new file mode 100644
index 00000000..ca2451e1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-sealed.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-sealed.gif
new file mode 100644
index 00000000..fe66220c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-sealed.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-smile.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-smile.gif
new file mode 100644
index 00000000..fd27edfa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-smile.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-surprised.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-surprised.gif
new file mode 100644
index 00000000..0cc9bb71
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-surprised.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif
new file mode 100644
index 00000000..2075dc16
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-undecided.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-undecided.gif
new file mode 100644
index 00000000..bef7e257
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-undecided.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-wink.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-wink.gif
new file mode 100644
index 00000000..0631c761
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-wink.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-yell.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-yell.gif
new file mode 100644
index 00000000..648e6e87
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-yell.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/js/emotions.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/js/emotions.js
new file mode 100644
index 00000000..b360f20b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/js/emotions.js
@@ -0,0 +1,43 @@
+tinyMCEPopup.requireLangPack();
+
+var EmotionsDialog = {
+ addKeyboardNavigation: function(){
+ var tableElm, cells, settings;
+
+ cells = tinyMCEPopup.dom.select("a.emoticon_link", "emoticon_table");
+
+ settings ={
+ root: "emoticon_table",
+ items: cells
+ };
+ cells[0].tabindex=0;
+ tinyMCEPopup.dom.addClass(cells[0], "mceFocus");
+ if (tinymce.isGecko) {
+ cells[0].focus();
+ } else {
+ setTimeout(function(){
+ cells[0].focus();
+ }, 100);
+ }
+ tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', settings, tinyMCEPopup.dom);
+ },
+ init : function(ed) {
+ tinyMCEPopup.resizeToInnerSize();
+ this.addKeyboardNavigation();
+ },
+
+ insert : function(file, title) {
+ var ed = tinyMCEPopup.editor, dom = ed.dom;
+
+ tinyMCEPopup.execCommand('mceInsertContent', false, dom.createHTML('img', {
+ src : tinyMCEPopup.getWindowArg('plugin_url') + '/img/' + file,
+ alt : ed.getLang(title),
+ title : ed.getLang(title),
+ border : 0
+ }));
+
+ tinyMCEPopup.close();
+ }
+};
+
+tinyMCEPopup.onInit.add(EmotionsDialog.init, EmotionsDialog);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/de_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/de_dlg.js
new file mode 100644
index 00000000..7489e35e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/de_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('de.emotions_dlg',{cry:"Weinend",cool:"Cool",desc:"Smileys",title:"Smiley einf\u00fcgen",yell:"Br\u00fcllend",wink:"Zwinkernd",undecided:"Unentschlossen","tongue_out":"Zunge raus",surprised:"\u00dcberrascht",smile:"L\u00e4chelnd",sealed:"Verschlossen","money_mouth":"Geld",laughing:"Lachend",kiss:"K\u00fcssend",innocent:"Unschuldig",frown:"Stirnrunzelnd","foot_in_mouth":"Reingefallen",embarassed:"Verlegen",usage:"Navigation mit linken und rechten Pfeilen."}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/en_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/en_dlg.js
new file mode 100644
index 00000000..f5aafc39
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/en_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('en.emotions_dlg',{cry:"Cry",cool:"Cool",desc:"Emotions",title:"Insert Emotion",yell:"Yell",wink:"Wink",undecided:"Undecided","tongue_out":"Tongue Out",surprised:"Surprised",smile:"Smile",sealed:"Sealed","money_mouth":"Money Mouth",laughing:"Laughing",kiss:"Kiss",innocent:"Innocent",frown:"Frown","foot_in_mouth":"Foot in Mouth",embarassed:"Embarassed",usage:"Use left and right arrows to navigate."}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/hu_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/hu_dlg.js
new file mode 100644
index 00000000..b48285bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/hu_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('hu.emotions_dlg',{cry:"S\u00edr\u00f3s",cool:"Kir\u00e1ly",desc:"Hangulatjelek",title:"Hangulatjel besz\u00far\u00e1sa",yell:"\u00dcv\u00f6lt\u00e9s",wink:"Kacsint\u00e1s",undecided:"Hat\u00e1rozatlan","tongue_out":"Nyelv\u00f6lt\u00e9s",surprised:"Meglepett",smile:"Vigyor",sealed:"Lakat a sz\u00e1j\u00e1n","money_mouth":"P\u00e9nz besz\u00e9l",laughing:"Nevet\u00e9s",kiss:"Cs\u00f3k",innocent:"\u00c1rtatlan",frown:"Rosszall","foot_in_mouth":"L\u00e1b a sz\u00e1jban",embarassed:"Zavarban van",usage:"A navig\u00e1l\u00e1shoz haszn\u00e1ld a bal \u00e9s jobb oldali nyilat."}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/ja_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/ja_dlg.js
new file mode 100644
index 00000000..7ff287f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/ja_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('ja.emotions_dlg',{cry:"\u6ce3\u304d\u9854",cool:"\u30af\u30fc\u30eb",desc:"\u8868\u60c5\u30a2\u30a4\u30b3\u30f3",title:"\u8868\u60c5\u30a2\u30a4\u30b3\u30f3\u306e\u633f\u5165",yell:"\u30a8\u30fc\u30eb",wink:"\u30a6\u30a3\u30f3\u30af",undecided:"\u672a\u6c7a\u5b9a","tongue_out":"\u30a2\u30c3\u30ab\u30f3\u30d9\u30fc",surprised:"\u9a5a\u304d",smile:"\u7b11\u9854",sealed:"\u5c01\u5370","money_mouth":"\u53e3\u306b\u304a\u91d1",laughing:"\u7b11\u3044",kiss:"\u30ad\u30b9",innocent:"\u7d14\u771f\u7121\u57a2",frown:"\u6e0b\u9762","foot_in_mouth":"\u53e3\u306b\u8db3",embarassed:"\u56f0\u60d1",usage:"\u5de6\u3068\u53f3\u306e\u30ab\u30fc\u30bd\u30eb\u30ad\u30fc\u3067\u79fb\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/dialog.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/dialog.htm
new file mode 100644
index 00000000..50b2b344
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/dialog.htm
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#example_dlg.title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="js/dialog.js"></script>
+</head>
+<body>
+
+<form onsubmit="ExampleDialog.insert();return false;" action="#">
+ <p>Here is a example dialog.</p>
+ <p>Selected text: <input id="someval" name="someval" type="text" class="text" /></p>
+ <p>Custom arg: <input id="somearg" name="somearg" type="text" class="text" /></p>
+
+ <div class="mceActionPanel">
+ <input type="button" id="insert" name="insert" value="{#insert}" onclick="ExampleDialog.insert();" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+</form>
+
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/editor_plugin.js
new file mode 100644
index 00000000..ec1f81ea
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.PluginManager.requireLangPack("example");tinymce.create("tinymce.plugins.ExamplePlugin",{init:function(a,b){a.addCommand("mceExample",function(){a.windowManager.open({file:b+"/dialog.htm",width:320+parseInt(a.getLang("example.delta_width",0)),height:120+parseInt(a.getLang("example.delta_height",0)),inline:1},{plugin_url:b,some_custom_arg:"custom arg"})});a.addButton("example",{title:"example.desc",cmd:"mceExample",image:b+"/img/example.gif"});a.onNodeChange.add(function(d,c,e){c.setActive("example",e.nodeName=="IMG")})},createControl:function(b,a){return null},getInfo:function(){return{longname:"Example plugin",author:"Some author",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example",version:"1.0"}}});tinymce.PluginManager.add("example",tinymce.plugins.ExamplePlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/editor_plugin_src.js
new file mode 100644
index 00000000..9a0e7da1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/editor_plugin_src.js
@@ -0,0 +1,84 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ // Load plugin specific language pack
+ tinymce.PluginManager.requireLangPack('example');
+
+ tinymce.create('tinymce.plugins.ExamplePlugin', {
+ /**
+ * Initializes the plugin, this will be executed after the plugin has been created.
+ * This call is done before the editor instance has finished it's initialization so use the onInit event
+ * of the editor instance to intercept that event.
+ *
+ * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in.
+ * @param {string} url Absolute URL to where the plugin is located.
+ */
+ init : function(ed, url) {
+ // Register the command so that it can be invoked by using tinyMCE.activeEditor.execCommand('mceExample');
+ ed.addCommand('mceExample', function() {
+ ed.windowManager.open({
+ file : url + '/dialog.htm',
+ width : 320 + parseInt(ed.getLang('example.delta_width', 0)),
+ height : 120 + parseInt(ed.getLang('example.delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url, // Plugin absolute URL
+ some_custom_arg : 'custom arg' // Custom argument
+ });
+ });
+
+ // Register example button
+ ed.addButton('example', {
+ title : 'example.desc',
+ cmd : 'mceExample',
+ image : url + '/img/example.gif'
+ });
+
+ // Add a node change handler, selects the button in the UI when a image is selected
+ ed.onNodeChange.add(function(ed, cm, n) {
+ cm.setActive('example', n.nodeName == 'IMG');
+ });
+ },
+
+ /**
+ * Creates control instances based in the incomming name. This method is normally not
+ * needed since the addButton method of the tinymce.Editor class is a more easy way of adding buttons
+ * but you sometimes need to create more complex controls like listboxes, split buttons etc then this
+ * method can be used to create those.
+ *
+ * @param {String} n Name of the control to create.
+ * @param {tinymce.ControlManager} cm Control manager to use inorder to create new control.
+ * @return {tinymce.ui.Control} New control instance or null if no control was created.
+ */
+ createControl : function(n, cm) {
+ return null;
+ },
+
+ /**
+ * Returns information about the plugin as a name/value array.
+ * The current keys are longname, author, authorurl, infourl and version.
+ *
+ * @return {Object} Name/value array containing information about the plugin.
+ */
+ getInfo : function() {
+ return {
+ longname : 'Example plugin',
+ author : 'Some author',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example',
+ version : "1.0"
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('example', tinymce.plugins.ExamplePlugin);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/img/example.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/img/example.gif
new file mode 100644
index 00000000..1ab5da44
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/img/example.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/js/dialog.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/js/dialog.js
new file mode 100644
index 00000000..fa834113
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/js/dialog.js
@@ -0,0 +1,19 @@
+tinyMCEPopup.requireLangPack();
+
+var ExampleDialog = {
+ init : function() {
+ var f = document.forms[0];
+
+ // Get the selected contents as text and place it in the input
+ f.someval.value = tinyMCEPopup.editor.selection.getContent({format : 'text'});
+ f.somearg.value = tinyMCEPopup.getWindowArg('some_custom_arg');
+ },
+
+ insert : function() {
+ // Insert the contents from the input into the document
+ tinyMCEPopup.editor.execCommand('mceInsertContent', false, document.forms[0].someval.value);
+ tinyMCEPopup.close();
+ }
+};
+
+tinyMCEPopup.onInit.add(ExampleDialog.init, ExampleDialog);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/langs/en.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/langs/en.js
new file mode 100644
index 00000000..e0784f80
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/langs/en.js
@@ -0,0 +1,3 @@
+tinyMCE.addI18n('en.example',{
+ desc : 'This is just a template button'
+});
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/langs/en_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/langs/en_dlg.js
new file mode 100644
index 00000000..ebcf948d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example/langs/en_dlg.js
@@ -0,0 +1,3 @@
+tinyMCE.addI18n('en.example_dlg',{
+ title : 'This is just a example title'
+});
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example_dependency/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example_dependency/editor_plugin.js
new file mode 100644
index 00000000..0a4551d3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example_dependency/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.ExampleDependencyPlugin",{init:function(a,b){},getInfo:function(){return{longname:"Example Dependency plugin",author:"Some author",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example_dependency",version:"1.0"}}});tinymce.PluginManager.add("example_dependency",tinymce.plugins.ExampleDependencyPlugin,["example"])})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example_dependency/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example_dependency/editor_plugin_src.js
new file mode 100644
index 00000000..e1c55e41
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/example_dependency/editor_plugin_src.js
@@ -0,0 +1,50 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+
+ tinymce.create('tinymce.plugins.ExampleDependencyPlugin', {
+ /**
+ * Initializes the plugin, this will be executed after the plugin has been created.
+ * This call is done before the editor instance has finished it's initialization so use the onInit event
+ * of the editor instance to intercept that event.
+ *
+ * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in.
+ * @param {string} url Absolute URL to where the plugin is located.
+ */
+ init : function(ed, url) {
+ },
+
+
+ /**
+ * Returns information about the plugin as a name/value array.
+ * The current keys are longname, author, authorurl, infourl and version.
+ *
+ * @return {Object} Name/value array containing information about the plugin.
+ */
+ getInfo : function() {
+ return {
+ longname : 'Example Dependency plugin',
+ author : 'Some author',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example_dependency',
+ version : "1.0"
+ };
+ }
+ });
+
+ /**
+ * Register the plugin, specifying the list of the plugins that this plugin depends on. They are specified in a list, with the list loaded in order.
+ * plugins in this list will be initialised when this plugin is initialized. (before the init method is called).
+ * plugins in a depends list should typically be specified using the short name). If neccesary this can be done
+ * with an object which has the url to the plugin and the shortname.
+ */
+ tinymce.PluginManager.add('example_dependency', tinymce.plugins.ExampleDependencyPlugin, ['example']);
+})();
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/css/fullpage.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/css/fullpage.css
new file mode 100755
index 00000000..2675cec1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/css/fullpage.css
@@ -0,0 +1,143 @@
+/* Hide the advanced tab */
+#advanced_tab {
+ display: none;
+}
+
+#metatitle, #metakeywords, #metadescription, #metaauthor, #metacopyright {
+ width: 280px;
+}
+
+#doctype, #docencoding {
+ width: 200px;
+}
+
+#langcode {
+ width: 30px;
+}
+
+#bgimage {
+ width: 220px;
+}
+
+#fontface {
+ width: 240px;
+}
+
+#leftmargin, #rightmargin, #topmargin, #bottommargin {
+ width: 50px;
+}
+
+.panel_wrapper div.current {
+ height: 400px;
+}
+
+#stylesheet, #style {
+ width: 240px;
+}
+
+#doctypes {
+ width: 200px;
+}
+
+/* Head list classes */
+
+.headlistwrapper {
+ width: 100%;
+}
+
+.selected {
+ border: 1px solid #0A246A;
+ background-color: #B6BDD2;
+}
+
+.toolbar {
+ width: 100%;
+}
+
+#headlist {
+ width: 100%;
+ margin-top: 3px;
+ font-size: 11px;
+}
+
+#info, #title_element, #meta_element, #script_element, #style_element, #base_element, #link_element, #comment_element, #unknown_element {
+ display: none;
+}
+
+#addmenu {
+ position: absolute;
+ border: 1px solid gray;
+ display: none;
+ z-index: 100;
+ background-color: white;
+}
+
+#addmenu a {
+ display: block;
+ width: 100%;
+ line-height: 20px;
+ text-decoration: none;
+ background-color: white;
+}
+
+#addmenu a:hover {
+ background-color: #B6BDD2;
+ color: black;
+}
+
+#addmenu span {
+ padding-left: 10px;
+ padding-right: 10px;
+}
+
+#updateElementPanel {
+ display: none;
+}
+
+#script_element .panel_wrapper div.current {
+ height: 108px;
+}
+
+#style_element .panel_wrapper div.current {
+ height: 108px;
+}
+
+#link_element .panel_wrapper div.current {
+ height: 140px;
+}
+
+#element_script_value {
+ width: 100%;
+ height: 100px;
+}
+
+#element_comment_value {
+ width: 100%;
+ height: 120px;
+}
+
+#element_style_value {
+ width: 100%;
+ height: 100px;
+}
+
+#element_title, #element_script_src, #element_meta_name, #element_meta_content, #element_base_href, #element_link_href, #element_link_title {
+ width: 250px;
+}
+
+.updateElementButton {
+ margin-top: 3px;
+}
+
+/* MSIE specific styles */
+
+* html .addbutton, * html .removebutton, * html .moveupbutton, * html .movedownbutton {
+ width: 22px;
+ height: 22px;
+}
+
+textarea {
+ height: 55px;
+}
+
+.panel_wrapper div.current {height:420px;} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/editor_plugin.js
new file mode 100755
index 00000000..dcf76024
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/editor_plugin.js
@@ -0,0 +1 @@
+(function(){var b=tinymce.each,a=tinymce.html.Node;tinymce.create("tinymce.plugins.FullPagePlugin",{init:function(c,d){var e=this;e.editor=c;c.addCommand("mceFullPageProperties",function(){c.windowManager.open({file:d+"/fullpage.htm",width:430+parseInt(c.getLang("fullpage.delta_width",0)),height:495+parseInt(c.getLang("fullpage.delta_height",0)),inline:1},{plugin_url:d,data:e._htmlToData()})});c.addButton("fullpage",{title:"fullpage.desc",cmd:"mceFullPageProperties"});c.onBeforeSetContent.add(e._setContent,e);c.onGetContent.add(e._getContent,e)},getInfo:function(){return{longname:"Fullpage",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullpage",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_htmlToData:function(){var f=this._parseHeader(),h={},c,i,g,e=this.editor;function d(l,j){var k=l.attr(j);return k||""}h.fontface=e.getParam("fullpage_default_fontface","");h.fontsize=e.getParam("fullpage_default_fontsize","");i=f.firstChild;if(i.type==7){h.xml_pi=true;g=/encoding="([^"]+)"/.exec(i.value);if(g){h.docencoding=g[1]}}i=f.getAll("#doctype")[0];if(i){h.doctype="<!DOCTYPE"+i.value+">"}i=f.getAll("title")[0];if(i&&i.firstChild){h.metatitle=i.firstChild.value}b(f.getAll("meta"),function(m){var k=m.attr("name"),j=m.attr("http-equiv"),l;if(k){h["meta"+k.toLowerCase()]=m.attr("content")}else{if(j=="Content-Type"){l=/charset\s*=\s*(.*)\s*/gi.exec(m.attr("content"));if(l){h.docencoding=l[1]}}}});i=f.getAll("html")[0];if(i){h.langcode=d(i,"lang")||d(i,"xml:lang")}i=f.getAll("link")[0];if(i&&i.attr("rel")=="stylesheet"){h.stylesheet=i.attr("href")}i=f.getAll("body")[0];if(i){h.langdir=d(i,"dir");h.style=d(i,"style");h.visited_color=d(i,"vlink");h.link_color=d(i,"link");h.active_color=d(i,"alink")}return h},_dataToHtml:function(g){var f,d,h,j,k,e=this.editor.dom;function c(n,l,m){n.attr(l,m?m:undefined)}function i(l){if(d.firstChild){d.insert(l,d.firstChild)}else{d.append(l)}}f=this._parseHeader();d=f.getAll("head")[0];if(!d){j=f.getAll("html")[0];d=new a("head",1);if(j.firstChild){j.insert(d,j.firstChild,true)}else{j.append(d)}}j=f.firstChild;if(g.xml_pi){k='version="1.0"';if(g.docencoding){k+=' encoding="'+g.docencoding+'"'}if(j.type!=7){j=new a("xml",7);f.insert(j,f.firstChild,true)}j.value=k}else{if(j&&j.type==7){j.remove()}}j=f.getAll("#doctype")[0];if(g.doctype){if(!j){j=new a("#doctype",10);if(g.xml_pi){f.insert(j,f.firstChild)}else{i(j)}}j.value=g.doctype.substring(9,g.doctype.length-1)}else{if(j){j.remove()}}j=f.getAll("title")[0];if(g.metatitle){if(!j){j=new a("title",1);j.append(new a("#text",3)).value=g.metatitle;i(j)}}if(g.docencoding){j=null;b(f.getAll("meta"),function(l){if(l.attr("http-equiv")=="Content-Type"){j=l}});if(!j){j=new a("meta",1);j.attr("http-equiv","Content-Type");j.shortEnded=true;i(j)}j.attr("content","text/html; charset="+g.docencoding)}b("keywords,description,author,copyright,robots".split(","),function(m){var l=f.getAll("meta"),n,p,o=g["meta"+m];for(n=0;n<l.length;n++){p=l[n];if(p.attr("name")==m){if(o){p.attr("content",o)}else{p.remove()}return}}if(o){j=new a("meta",1);j.attr("name",m);j.attr("content",o);j.shortEnded=true;i(j)}});j=f.getAll("link")[0];if(j&&j.attr("rel")=="stylesheet"){if(g.stylesheet){j.attr("href",g.stylesheet)}else{j.remove()}}else{if(g.stylesheet){j=new a("link",1);j.attr({rel:"stylesheet",text:"text/css",href:g.stylesheet});j.shortEnded=true;i(j)}}j=f.getAll("body")[0];if(j){c(j,"dir",g.langdir);c(j,"style",g.style);c(j,"vlink",g.visited_color);c(j,"link",g.link_color);c(j,"alink",g.active_color);e.setAttribs(this.editor.getBody(),{style:g.style,dir:g.dir,vLink:g.visited_color,link:g.link_color,aLink:g.active_color})}j=f.getAll("html")[0];if(j){c(j,"lang",g.langcode);c(j,"xml:lang",g.langcode)}h=new tinymce.html.Serializer({validate:false,indent:true,apply_source_formatting:true,indent_before:"head,html,body,meta,title,script,link,style",indent_after:"head,html,body,meta,title,script,link,style"}).serialize(f);this.head=h.substring(0,h.indexOf("</body>"))},_parseHeader:function(){return new tinymce.html.DomParser({validate:false,root_name:"#document"}).parse(this.head)},_setContent:function(g,d){var m=this,i,c,h=d.content,f,l="",e=m.editor.dom,j;function k(n){return n.replace(/<\/?[A-Z]+/g,function(o){return o.toLowerCase()})}if(d.format=="raw"&&m.head){return}if(d.source_view&&g.getParam("fullpage_hide_in_source_view")){return}h=h.replace(/<(\/?)BODY/gi,"<$1body");i=h.indexOf("<body");if(i!=-1){i=h.indexOf(">",i);m.head=k(h.substring(0,i+1));c=h.indexOf("</body",i);if(c==-1){c=h.length}d.content=h.substring(i+1,c);m.foot=k(h.substring(c))}else{m.head=this._getDefaultHeader();m.foot="\n</body>\n</html>"}f=m._parseHeader();b(f.getAll("style"),function(n){if(n.firstChild){l+=n.firstChild.value}});j=f.getAll("body")[0];if(j){e.setAttribs(m.editor.getBody(),{style:j.attr("style")||"",dir:j.attr("dir")||"",vLink:j.attr("vlink")||"",link:j.attr("link")||"",aLink:j.attr("alink")||""})}e.remove("fullpage_styles");if(l){e.add(m.editor.getDoc().getElementsByTagName("head")[0],"style",{id:"fullpage_styles"},l);j=e.get("fullpage_styles");if(j.styleSheet){j.styleSheet.cssText=l}}},_getDefaultHeader:function(){var f="",c=this.editor,e,d="";if(c.getParam("fullpage_default_xml_pi")){f+='<?xml version="1.0" encoding="'+c.getParam("fullpage_default_encoding","ISO-8859-1")+'" ?>\n'}f+=c.getParam("fullpage_default_doctype",'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');f+="\n<html>\n<head>\n";if(e=c.getParam("fullpage_default_title")){f+="<title>"+e+"</title>\n"}if(e=c.getParam("fullpage_default_encoding")){f+='<meta http-equiv="Content-Type" content="text/html; charset='+e+'" />\n'}if(e=c.getParam("fullpage_default_font_family")){d+="font-family: "+e+";"}if(e=c.getParam("fullpage_default_font_size")){d+="font-size: "+e+";"}if(e=c.getParam("fullpage_default_text_color")){d+="color: "+e+";"}f+="</head>\n<body"+(d?' style="'+d+'"':"")+">\n";return f},_getContent:function(d,e){var c=this;if(!e.source_view||!d.getParam("fullpage_hide_in_source_view")){e.content=tinymce.trim(c.head)+"\n"+tinymce.trim(e.content)+"\n"+tinymce.trim(c.foot)}}});tinymce.PluginManager.add("fullpage",tinymce.plugins.FullPagePlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/editor_plugin_src.js
new file mode 100755
index 00000000..23de7c5a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/editor_plugin_src.js
@@ -0,0 +1,405 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ var each = tinymce.each, Node = tinymce.html.Node;
+
+ tinymce.create('tinymce.plugins.FullPagePlugin', {
+ init : function(ed, url) {
+ var t = this;
+
+ t.editor = ed;
+
+ // Register commands
+ ed.addCommand('mceFullPageProperties', function() {
+ ed.windowManager.open({
+ file : url + '/fullpage.htm',
+ width : 430 + parseInt(ed.getLang('fullpage.delta_width', 0)),
+ height : 495 + parseInt(ed.getLang('fullpage.delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url,
+ data : t._htmlToData()
+ });
+ });
+
+ // Register buttons
+ ed.addButton('fullpage', {title : 'fullpage.desc', cmd : 'mceFullPageProperties'});
+
+ ed.onBeforeSetContent.add(t._setContent, t);
+ ed.onGetContent.add(t._getContent, t);
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Fullpage',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullpage',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ // Private plugin internal methods
+
+ _htmlToData : function() {
+ var headerFragment = this._parseHeader(), data = {}, nodes, elm, matches, editor = this.editor;
+
+ function getAttr(elm, name) {
+ var value = elm.attr(name);
+
+ return value || '';
+ };
+
+ // Default some values
+ data.fontface = editor.getParam("fullpage_default_fontface", "");
+ data.fontsize = editor.getParam("fullpage_default_fontsize", "");
+
+ // Parse XML PI
+ elm = headerFragment.firstChild;
+ if (elm.type == 7) {
+ data.xml_pi = true;
+ matches = /encoding="([^"]+)"/.exec(elm.value);
+ if (matches)
+ data.docencoding = matches[1];
+ }
+
+ // Parse doctype
+ elm = headerFragment.getAll('#doctype')[0];
+ if (elm)
+ data.doctype = '<!DOCTYPE' + elm.value + ">";
+
+ // Parse title element
+ elm = headerFragment.getAll('title')[0];
+ if (elm && elm.firstChild) {
+ data.metatitle = elm.firstChild.value;
+ }
+
+ // Parse meta elements
+ each(headerFragment.getAll('meta'), function(meta) {
+ var name = meta.attr('name'), httpEquiv = meta.attr('http-equiv'), matches;
+
+ if (name)
+ data['meta' + name.toLowerCase()] = meta.attr('content');
+ else if (httpEquiv == "Content-Type") {
+ matches = /charset\s*=\s*(.*)\s*/gi.exec(meta.attr('content'));
+
+ if (matches)
+ data.docencoding = matches[1];
+ }
+ });
+
+ // Parse html attribs
+ elm = headerFragment.getAll('html')[0];
+ if (elm)
+ data.langcode = getAttr(elm, 'lang') || getAttr(elm, 'xml:lang');
+
+ // Parse stylesheet
+ elm = headerFragment.getAll('link')[0];
+ if (elm && elm.attr('rel') == 'stylesheet')
+ data.stylesheet = elm.attr('href');
+
+ // Parse body parts
+ elm = headerFragment.getAll('body')[0];
+ if (elm) {
+ data.langdir = getAttr(elm, 'dir');
+ data.style = getAttr(elm, 'style');
+ data.visited_color = getAttr(elm, 'vlink');
+ data.link_color = getAttr(elm, 'link');
+ data.active_color = getAttr(elm, 'alink');
+ }
+
+ return data;
+ },
+
+ _dataToHtml : function(data) {
+ var headerFragment, headElement, html, elm, value, dom = this.editor.dom;
+
+ function setAttr(elm, name, value) {
+ elm.attr(name, value ? value : undefined);
+ };
+
+ function addHeadNode(node) {
+ if (headElement.firstChild)
+ headElement.insert(node, headElement.firstChild);
+ else
+ headElement.append(node);
+ };
+
+ headerFragment = this._parseHeader();
+ headElement = headerFragment.getAll('head')[0];
+ if (!headElement) {
+ elm = headerFragment.getAll('html')[0];
+ headElement = new Node('head', 1);
+
+ if (elm.firstChild)
+ elm.insert(headElement, elm.firstChild, true);
+ else
+ elm.append(headElement);
+ }
+
+ // Add/update/remove XML-PI
+ elm = headerFragment.firstChild;
+ if (data.xml_pi) {
+ value = 'version="1.0"';
+
+ if (data.docencoding)
+ value += ' encoding="' + data.docencoding + '"';
+
+ if (elm.type != 7) {
+ elm = new Node('xml', 7);
+ headerFragment.insert(elm, headerFragment.firstChild, true);
+ }
+
+ elm.value = value;
+ } else if (elm && elm.type == 7)
+ elm.remove();
+
+ // Add/update/remove doctype
+ elm = headerFragment.getAll('#doctype')[0];
+ if (data.doctype) {
+ if (!elm) {
+ elm = new Node('#doctype', 10);
+
+ if (data.xml_pi)
+ headerFragment.insert(elm, headerFragment.firstChild);
+ else
+ addHeadNode(elm);
+ }
+
+ elm.value = data.doctype.substring(9, data.doctype.length - 1);
+ } else if (elm)
+ elm.remove();
+
+ // Add/update/remove title
+ elm = headerFragment.getAll('title')[0];
+ if (data.metatitle) {
+ if (!elm) {
+ elm = new Node('title', 1);
+ elm.append(new Node('#text', 3)).value = data.metatitle;
+ addHeadNode(elm);
+ }
+ }
+
+ // Add meta encoding
+ if (data.docencoding) {
+ elm = null;
+ each(headerFragment.getAll('meta'), function(meta) {
+ if (meta.attr('http-equiv') == 'Content-Type')
+ elm = meta;
+ });
+
+ if (!elm) {
+ elm = new Node('meta', 1);
+ elm.attr('http-equiv', 'Content-Type');
+ elm.shortEnded = true;
+ addHeadNode(elm);
+ }
+
+ elm.attr('content', 'text/html; charset=' + data.docencoding);
+ }
+
+ // Add/update/remove meta
+ each('keywords,description,author,copyright,robots'.split(','), function(name) {
+ var nodes = headerFragment.getAll('meta'), i, meta, value = data['meta' + name];
+
+ for (i = 0; i < nodes.length; i++) {
+ meta = nodes[i];
+
+ if (meta.attr('name') == name) {
+ if (value)
+ meta.attr('content', value);
+ else
+ meta.remove();
+
+ return;
+ }
+ }
+
+ if (value) {
+ elm = new Node('meta', 1);
+ elm.attr('name', name);
+ elm.attr('content', value);
+ elm.shortEnded = true;
+
+ addHeadNode(elm);
+ }
+ });
+
+ // Add/update/delete link
+ elm = headerFragment.getAll('link')[0];
+ if (elm && elm.attr('rel') == 'stylesheet') {
+ if (data.stylesheet)
+ elm.attr('href', data.stylesheet);
+ else
+ elm.remove();
+ } else if (data.stylesheet) {
+ elm = new Node('link', 1);
+ elm.attr({
+ rel : 'stylesheet',
+ text : 'text/css',
+ href : data.stylesheet
+ });
+ elm.shortEnded = true;
+
+ addHeadNode(elm);
+ }
+
+ // Update body attributes
+ elm = headerFragment.getAll('body')[0];
+ if (elm) {
+ setAttr(elm, 'dir', data.langdir);
+ setAttr(elm, 'style', data.style);
+ setAttr(elm, 'vlink', data.visited_color);
+ setAttr(elm, 'link', data.link_color);
+ setAttr(elm, 'alink', data.active_color);
+
+ // Update iframe body as well
+ dom.setAttribs(this.editor.getBody(), {
+ style : data.style,
+ dir : data.dir,
+ vLink : data.visited_color,
+ link : data.link_color,
+ aLink : data.active_color
+ });
+ }
+
+ // Set html attributes
+ elm = headerFragment.getAll('html')[0];
+ if (elm) {
+ setAttr(elm, 'lang', data.langcode);
+ setAttr(elm, 'xml:lang', data.langcode);
+ }
+
+ // Serialize header fragment and crop away body part
+ html = new tinymce.html.Serializer({
+ validate: false,
+ indent: true,
+ apply_source_formatting : true,
+ indent_before: 'head,html,body,meta,title,script,link,style',
+ indent_after: 'head,html,body,meta,title,script,link,style'
+ }).serialize(headerFragment);
+
+ this.head = html.substring(0, html.indexOf('</body>'));
+ },
+
+ _parseHeader : function() {
+ // Parse the contents with a DOM parser
+ return new tinymce.html.DomParser({
+ validate: false,
+ root_name: '#document'
+ }).parse(this.head);
+ },
+
+ _setContent : function(ed, o) {
+ var self = this, startPos, endPos, content = o.content, headerFragment, styles = '', dom = self.editor.dom, elm;
+
+ function low(s) {
+ return s.replace(/<\/?[A-Z]+/g, function(a) {
+ return a.toLowerCase();
+ })
+ };
+
+ // Ignore raw updated if we already have a head, this will fix issues with undo/redo keeping the head/foot separate
+ if (o.format == 'raw' && self.head)
+ return;
+
+ if (o.source_view && ed.getParam('fullpage_hide_in_source_view'))
+ return;
+
+ // Parse out head, body and footer
+ content = content.replace(/<(\/?)BODY/gi, '<$1body');
+ startPos = content.indexOf('<body');
+
+ if (startPos != -1) {
+ startPos = content.indexOf('>', startPos);
+ self.head = low(content.substring(0, startPos + 1));
+
+ endPos = content.indexOf('</body', startPos);
+ if (endPos == -1)
+ endPos = content.length;
+
+ o.content = content.substring(startPos + 1, endPos);
+ self.foot = low(content.substring(endPos));
+ } else {
+ self.head = this._getDefaultHeader();
+ self.foot = '\n</body>\n</html>';
+ }
+
+ // Parse header and update iframe
+ headerFragment = self._parseHeader();
+ each(headerFragment.getAll('style'), function(node) {
+ if (node.firstChild)
+ styles += node.firstChild.value;
+ });
+
+ elm = headerFragment.getAll('body')[0];
+ if (elm) {
+ dom.setAttribs(self.editor.getBody(), {
+ style : elm.attr('style') || '',
+ dir : elm.attr('dir') || '',
+ vLink : elm.attr('vlink') || '',
+ link : elm.attr('link') || '',
+ aLink : elm.attr('alink') || ''
+ });
+ }
+
+ dom.remove('fullpage_styles');
+
+ if (styles) {
+ dom.add(self.editor.getDoc().getElementsByTagName('head')[0], 'style', {id : 'fullpage_styles'}, styles);
+
+ // Needed for IE 6/7
+ elm = dom.get('fullpage_styles');
+ if (elm.styleSheet)
+ elm.styleSheet.cssText = styles;
+ }
+ },
+
+ _getDefaultHeader : function() {
+ var header = '', editor = this.editor, value, styles = '';
+
+ if (editor.getParam('fullpage_default_xml_pi'))
+ header += '<?xml version="1.0" encoding="' + editor.getParam('fullpage_default_encoding', 'ISO-8859-1') + '" ?>\n';
+
+ header += editor.getParam('fullpage_default_doctype', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
+ header += '\n<html>\n<head>\n';
+
+ if (value = editor.getParam('fullpage_default_title'))
+ header += '<title>' + value + '</title>\n';
+
+ if (value = editor.getParam('fullpage_default_encoding'))
+ header += '<meta http-equiv="Content-Type" content="text/html; charset=' + value + '" />\n';
+
+ if (value = editor.getParam('fullpage_default_font_family'))
+ styles += 'font-family: ' + value + ';';
+
+ if (value = editor.getParam('fullpage_default_font_size'))
+ styles += 'font-size: ' + value + ';';
+
+ if (value = editor.getParam('fullpage_default_text_color'))
+ styles += 'color: ' + value + ';';
+
+ header += '</head>\n<body' + (styles ? ' style="' + styles + '"' : '') + '>\n';
+
+ return header;
+ },
+
+ _getContent : function(ed, o) {
+ var self = this;
+
+ if (!o.source_view || !ed.getParam('fullpage_hide_in_source_view'))
+ o.content = tinymce.trim(self.head) + '\n' + tinymce.trim(o.content) + '\n' + tinymce.trim(self.foot);
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('fullpage', tinymce.plugins.FullPagePlugin);
+})();
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/fullpage.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/fullpage.htm
new file mode 100755
index 00000000..14ab8652
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/fullpage.htm
@@ -0,0 +1,259 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#fullpage_dlg.title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="js/fullpage.js"></script>
+ <link href="css/fullpage.css" rel="stylesheet" type="text/css" />
+</head>
+<body id="fullpage" style="display: none">
+<form onsubmit="FullPageDialog.update();return false;" name="fullpage" action="#">
+ <div class="tabs">
+ <ul>
+ <li id="meta_tab" class="current"><span><a href="javascript:mcTabs.displayTab('meta_tab','meta_panel');" onmousedown="return false;">{#fullpage_dlg.meta_tab}</a></span></li>
+ <li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{#fullpage_dlg.appearance_tab}</a></span></li>
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="meta_panel" class="panel current">
+ <fieldset>
+ <legend>{#fullpage_dlg.meta_props}</legend>
+
+ <table border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td class="nowrap"><label for="metatitle">{#fullpage_dlg.meta_title}</label>&nbsp;</td>
+ <td><input type="text" id="metatitle" name="metatitle" value="" class="mceFocus" /></td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="metakeywords">{#fullpage_dlg.meta_keywords}</label>&nbsp;</td>
+ <td><textarea id="metakeywords" name="metakeywords" rows="4"></textarea></td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="metadescription">{#fullpage_dlg.meta_description}</label>&nbsp;</td>
+ <td><textarea id="metadescription" name="metadescription" rows="4"></textarea></td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="metaauthor">{#fullpage_dlg.author}</label>&nbsp;</td>
+ <td><input type="text" id="metaauthor" name="metaauthor" value="" /></td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="metacopyright">{#fullpage_dlg.copyright}</label>&nbsp;</td>
+ <td><input type="text" id="metacopyright" name="metacopyright" value="" /></td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="metarobots">{#fullpage_dlg.meta_robots}</label>&nbsp;</td>
+ <td>
+ <select id="metarobots" name="metarobots">
+ <option value="">{#not_set}</option>
+ <option value="index,follow">{#fullpage_dlg.meta_index_follow}</option>
+ <option value="index,nofollow">{#fullpage_dlg.meta_index_nofollow}</option>
+ <option value="noindex,follow">{#fullpage_dlg.meta_noindex_follow}</option>
+ <option value="noindex,nofollow">{#fullpage_dlg.meta_noindex_nofollow}</option>
+ </select>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <fieldset>
+ <legend>{#fullpage_dlg.langprops}</legend>
+
+ <table border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td class="column1"><label for="docencoding">{#fullpage_dlg.encoding}</label></td>
+ <td>
+ <select id="docencoding" name="docencoding">
+ <option value="">{#not_set}</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="doctype">{#fullpage_dlg.doctypes}</label>&nbsp;</td>
+ <td>
+ <select id="doctype" name="doctype">
+ <option value="">{#not_set}</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="langcode">{#fullpage_dlg.langcode}</label>&nbsp;</td>
+ <td><input type="text" id="langcode" name="langcode" value="" /></td>
+ </tr>
+ <tr>
+ <td class="column1"><label for="langdir">{#fullpage_dlg.langdir}</label></td>
+ <td>
+ <select id="langdir" name="langdir">
+ <option value="">{#not_set}</option>
+ <option value="ltr">{#fullpage_dlg.ltr}</option>
+ <option value="rtl">{#fullpage_dlg.rtl}</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="xml_pi">{#fullpage_dlg.xml_pi}</label>&nbsp;</td>
+ <td><input type="checkbox" id="xml_pi" name="xml_pi" class="checkbox" /></td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+
+ <div id="appearance_panel" class="panel">
+ <fieldset>
+ <legend>{#fullpage_dlg.appearance_textprops}</legend>
+
+ <table border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td class="column1"><label for="fontface">{#fullpage_dlg.fontface}</label></td>
+ <td>
+ <select id="fontface" name="fontface" onchange="FullPageDialog.changedStyleProp();">
+ <option value="">{#not_set}</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="fontsize">{#fullpage_dlg.fontsize}</label></td>
+ <td>
+ <select id="fontsize" name="fontsize" onchange="FullPageDialog.changedStyleProp();">
+ <option value="">{#not_set}</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="textcolor">{#fullpage_dlg.textcolor}</label></td>
+ <td>
+ <table border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="textcolor" name="textcolor" type="text" value="" size="9" onchange="updateColor('textcolor_pick','textcolor');FullPageDialog.changedStyleProp();" /></td>
+ <td id="textcolor_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <fieldset>
+ <legend>{#fullpage_dlg.appearance_bgprops}</legend>
+
+ <table border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td class="column1"><label for="bgimage">{#fullpage_dlg.bgimage}</label></td>
+ <td>
+ <table border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="bgimage" name="bgimage" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
+ <td id="bgimage_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="column1"><label for="bgcolor">{#fullpage_dlg.bgcolor}</label></td>
+ <td>
+ <table border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');FullPageDialog.changedStyleProp();" /></td>
+ <td id="bgcolor_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <fieldset>
+ <legend>{#fullpage_dlg.appearance_marginprops}</legend>
+
+ <table border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td class="column1"><label for="leftmargin">{#fullpage_dlg.left_margin}</label></td>
+ <td><input id="leftmargin" name="leftmargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
+ <td class="column1"><label for="rightmargin">{#fullpage_dlg.right_margin}</label></td>
+ <td><input id="rightmargin" name="rightmargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
+ </tr>
+ <tr>
+ <td class="column1"><label for="topmargin">{#fullpage_dlg.top_margin}</label></td>
+ <td><input id="topmargin" name="topmargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
+ <td class="column1"><label for="bottommargin">{#fullpage_dlg.bottom_margin}</label></td>
+ <td><input id="bottommargin" name="bottommargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <fieldset>
+ <legend>{#fullpage_dlg.appearance_linkprops}</legend>
+
+ <table border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td class="column1"><label for="link_color">{#fullpage_dlg.link_color}</label></td>
+ <td>
+ <table border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="link_color" name="link_color" type="text" value="" size="9" onchange="updateColor('link_color_pick','link_color');FullPageDialog.changedStyleProp();" /></td>
+ <td id="link_color_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+
+ <td class="column1"><label for="visited_color">{#fullpage_dlg.visited_color}</label></td>
+ <td>
+ <table border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="visited_color" name="visited_color" type="text" value="" size="9" onchange="updateColor('visited_color_pick','visited_color');FullPageDialog.changedStyleProp();" /></td>
+ <td id="visited_color_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="active_color">{#fullpage_dlg.active_color}</label></td>
+ <td>
+ <table border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="active_color" name="active_color" type="text" value="" size="9" onchange="updateColor('active_color_pick','active_color');FullPageDialog.changedStyleProp();" /></td>
+ <td id="active_color_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <fieldset>
+ <legend>{#fullpage_dlg.appearance_style}</legend>
+
+ <table border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td class="column1"><label for="stylesheet">{#fullpage_dlg.stylesheet}</label></td>
+ <td><table border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="stylesheet" name="stylesheet" type="text" value="" /></td>
+ <td id="stylesheet_browsercontainer">&nbsp;</td>
+ </tr>
+ </table></td>
+ </tr>
+ <tr>
+ <td class="column1"><label for="style">{#fullpage_dlg.style}</label></td>
+ <td><input id="style" name="style" type="text" value="" onchange="FullPageDialog.changedStyle();" /></td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ </div>
+
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="update" value="{#update}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+</form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/js/fullpage.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/js/fullpage.js
new file mode 100644
index 00000000..3f672ad3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/js/fullpage.js
@@ -0,0 +1,232 @@
+/**
+ * fullpage.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinyMCEPopup.requireLangPack();
+
+ var defaultDocTypes =
+ 'XHTML 1.0 Transitional=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">,' +
+ 'XHTML 1.0 Frameset=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">,' +
+ 'XHTML 1.0 Strict=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">,' +
+ 'XHTML 1.1=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">,' +
+ 'HTML 4.01 Transitional=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">,' +
+ 'HTML 4.01 Strict=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">,' +
+ 'HTML 4.01 Frameset=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">';
+
+ var defaultEncodings =
+ 'Western european (iso-8859-1)=iso-8859-1,' +
+ 'Central European (iso-8859-2)=iso-8859-2,' +
+ 'Unicode (UTF-8)=utf-8,' +
+ 'Chinese traditional (Big5)=big5,' +
+ 'Cyrillic (iso-8859-5)=iso-8859-5,' +
+ 'Japanese (iso-2022-jp)=iso-2022-jp,' +
+ 'Greek (iso-8859-7)=iso-8859-7,' +
+ 'Korean (iso-2022-kr)=iso-2022-kr,' +
+ 'ASCII (us-ascii)=us-ascii';
+
+ var defaultFontNames = 'Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings';
+ var defaultFontSizes = '10px,11px,12px,13px,14px,15px,16px';
+
+ function setVal(id, value) {
+ var elm = document.getElementById(id);
+
+ if (elm) {
+ value = value || '';
+
+ if (elm.nodeName == "SELECT")
+ selectByValue(document.forms[0], id, value);
+ else if (elm.type == "checkbox")
+ elm.checked = !!value;
+ else
+ elm.value = value;
+ }
+ };
+
+ function getVal(id) {
+ var elm = document.getElementById(id);
+
+ if (elm.nodeName == "SELECT")
+ return elm.options[elm.selectedIndex].value;
+
+ if (elm.type == "checkbox")
+ return elm.checked;
+
+ return elm.value;
+ };
+
+ window.FullPageDialog = {
+ changedStyle : function() {
+ var val, styles = tinyMCEPopup.editor.dom.parseStyle(getVal('style'));
+
+ setVal('fontface', styles['font-face']);
+ setVal('fontsize', styles['font-size']);
+ setVal('textcolor', styles['color']);
+
+ if (val = styles['background-image'])
+ setVal('bgimage', val.replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1"));
+ else
+ setVal('bgimage', '');
+
+ setVal('bgcolor', styles['background-color']);
+
+ // Reset margin form elements
+ setVal('topmargin', '');
+ setVal('rightmargin', '');
+ setVal('bottommargin', '');
+ setVal('leftmargin', '');
+
+ // Expand margin
+ if (val = styles['margin']) {
+ val = val.split(' ');
+ styles['margin-top'] = val[0] || '';
+ styles['margin-right'] = val[1] || val[0] || '';
+ styles['margin-bottom'] = val[2] || val[0] || '';
+ styles['margin-left'] = val[3] || val[0] || '';
+ }
+
+ if (val = styles['margin-top'])
+ setVal('topmargin', val.replace(/px/, ''));
+
+ if (val = styles['margin-right'])
+ setVal('rightmargin', val.replace(/px/, ''));
+
+ if (val = styles['margin-bottom'])
+ setVal('bottommargin', val.replace(/px/, ''));
+
+ if (val = styles['margin-left'])
+ setVal('leftmargin', val.replace(/px/, ''));
+
+ updateColor('bgcolor_pick', 'bgcolor');
+ updateColor('textcolor_pick', 'textcolor');
+ },
+
+ changedStyleProp : function() {
+ var val, dom = tinyMCEPopup.editor.dom, styles = dom.parseStyle(getVal('style'));
+
+ styles['font-face'] = getVal('fontface');
+ styles['font-size'] = getVal('fontsize');
+ styles['color'] = getVal('textcolor');
+ styles['background-color'] = getVal('bgcolor');
+
+ if (val = getVal('bgimage'))
+ styles['background-image'] = "url('" + val + "')";
+ else
+ styles['background-image'] = '';
+
+ delete styles['margin'];
+
+ if (val = getVal('topmargin'))
+ styles['margin-top'] = val + "px";
+ else
+ styles['margin-top'] = '';
+
+ if (val = getVal('rightmargin'))
+ styles['margin-right'] = val + "px";
+ else
+ styles['margin-right'] = '';
+
+ if (val = getVal('bottommargin'))
+ styles['margin-bottom'] = val + "px";
+ else
+ styles['margin-bottom'] = '';
+
+ if (val = getVal('leftmargin'))
+ styles['margin-left'] = val + "px";
+ else
+ styles['margin-left'] = '';
+
+ // Serialize, parse and reserialize this will compress redundant styles
+ setVal('style', dom.serializeStyle(dom.parseStyle(dom.serializeStyle(styles))));
+ this.changedStyle();
+ },
+
+ update : function() {
+ var data = {};
+
+ tinymce.each(tinyMCEPopup.dom.select('select,input,textarea'), function(node) {
+ data[node.id] = getVal(node.id);
+ });
+
+ tinyMCEPopup.editor.plugins.fullpage._dataToHtml(data);
+ tinyMCEPopup.close();
+ }
+ };
+
+ function init() {
+ var form = document.forms[0], i, item, list, editor = tinyMCEPopup.editor;
+
+ // Setup doctype select box
+ list = editor.getParam("fullpage_doctypes", defaultDocTypes).split(',');
+ for (i = 0; i < list.length; i++) {
+ item = list[i].split('=');
+
+ if (item.length > 1)
+ addSelectValue(form, 'doctype', item[0], item[1]);
+ }
+
+ // Setup fonts select box
+ list = editor.getParam("fullpage_fonts", defaultFontNames).split(';');
+ for (i = 0; i < list.length; i++) {
+ item = list[i].split('=');
+
+ if (item.length > 1)
+ addSelectValue(form, 'fontface', item[0], item[1]);
+ }
+
+ // Setup fontsize select box
+ list = editor.getParam("fullpage_fontsizes", defaultFontSizes).split(',');
+ for (i = 0; i < list.length; i++)
+ addSelectValue(form, 'fontsize', list[i], list[i]);
+
+ // Setup encodings select box
+ list = editor.getParam("fullpage_encodings", defaultEncodings).split(',');
+ for (i = 0; i < list.length; i++) {
+ item = list[i].split('=');
+
+ if (item.length > 1)
+ addSelectValue(form, 'docencoding', item[0], item[1]);
+ }
+
+ // Setup color pickers
+ document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor');
+ document.getElementById('link_color_pickcontainer').innerHTML = getColorPickerHTML('link_color_pick','link_color');
+ document.getElementById('visited_color_pickcontainer').innerHTML = getColorPickerHTML('visited_color_pick','visited_color');
+ document.getElementById('active_color_pickcontainer').innerHTML = getColorPickerHTML('active_color_pick','active_color');
+ document.getElementById('textcolor_pickcontainer').innerHTML = getColorPickerHTML('textcolor_pick','textcolor');
+ document.getElementById('stylesheet_browsercontainer').innerHTML = getBrowserHTML('stylesheetbrowser','stylesheet','file','fullpage');
+ document.getElementById('bgimage_pickcontainer').innerHTML = getBrowserHTML('bgimage_browser','bgimage','image','fullpage');
+
+ // Resize some elements
+ if (isVisible('stylesheetbrowser'))
+ document.getElementById('stylesheet').style.width = '220px';
+
+ if (isVisible('link_href_browser'))
+ document.getElementById('element_link_href').style.width = '230px';
+
+ if (isVisible('bgimage_browser'))
+ document.getElementById('bgimage').style.width = '210px';
+
+ // Update form
+ tinymce.each(tinyMCEPopup.getWindowArg('data'), function(value, key) {
+ setVal(key, value);
+ });
+
+ FullPageDialog.changedStyle();
+
+ // Update colors
+ updateColor('textcolor_pick', 'textcolor');
+ updateColor('bgcolor_pick', 'bgcolor');
+ updateColor('visited_color_pick', 'visited_color');
+ updateColor('active_color_pick', 'active_color');
+ updateColor('link_color_pick', 'link_color');
+ };
+
+ tinyMCEPopup.onInit.add(init);
+})();
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/de_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/de_dlg.js
new file mode 100644
index 00000000..ecdff9ed
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/de_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('de.fullpage_dlg',{title:"Dokument-Eigenschaften","meta_tab":"Allgemein","appearance_tab":"Aussehen","advanced_tab":"Erweitert","meta_props":"Meta-Information",langprops:"Sprache und Codierung","meta_title":"Titel","meta_keywords":"Keywords","meta_description":"Beschreibung","meta_robots":"Robots",doctypes:"DocType",langcode:"Sprachcode",langdir:"Sprachrichtung",ltr:"Links nach Rechts",rtl:"Rechts nach Links","xml_pi":"XML Deklaration",encoding:"Zeichencodierung","appearance_bgprops":"Hintergrund-Eigenschaften","appearance_marginprops":"Abst\u00e4nde des Body","appearance_linkprops":"Linkfarben","appearance_textprops":"Text-Eigenschaften",bgcolor:"Hintergrundfarbe",bgimage:"Hintergrundbild","left_margin":"Linker Abstand","right_margin":"Rechter Abstand","top_margin":"Oberer Abstand","bottom_margin":"Unterer Abstand","text_color":"Textfarbe","font_size":"Schriftgr\u00f6\u00dfe","font_face":"Schriftart","link_color":"Linkfarbe","hover_color":"Hover-Farbe","visited_color":"Visited-Farbe","active_color":"Active-Farbe",textcolor:"Farbe",fontsize:"Schriftgr\u00f6\u00dfe",fontface:"Schriftart","meta_index_follow":"Indizieren und den Links folgen","meta_index_nofollow":"Indizieren, aber den Links nicht folgen","meta_noindex_follow":"Nicht indizieren, aber den Links folgen","meta_noindex_nofollow":"Nicht indizieren und auch nicht den Links folgen","appearance_style":"CSS-Stylesheet und Stileigenschaften",stylesheet:"CSS-Stylesheet",style:"CSS-Stil",author:"Autor",copyright:"Copyright",add:"Neues Element hinzuf\u00fcgen",remove:"Ausgew\u00e4hltes Element entfernen",moveup:"Ausgew\u00e4hltes Element nach oben bewegen",movedown:"Ausgew\u00e4hltes Element nach unten bewegen","head_elements":"\u00dcberschriftenelemente",info:"Information","add_title":"Titel-Element","add_meta":"Meta-Element","add_script":"Script-Element","add_style":"Style-Element","add_link":"Link-Element","add_base":"Base-Element","add_comment":"HTML-Kommentar","title_element":"Titel-Element","script_element":"Script-Element","style_element":"Style-Element","base_element":"Base-Element","link_element":"Link-Element","meta_element":"Meta_Element","comment_element":"Kommentar",src:"Src",language:"Sprache",href:"Href",target:"Ziel",type:"Typ",charset:"Zeichensatz",defer:"Defer",media:"Media",properties:"Eigenschaften",name:"Name",value:"Wert",content:"Inhalt",rel:"Rel",rev:"Rev",hreflang:"Href lang","general_props":"Allgemein","advanced_props":"Erweitert"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/en_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/en_dlg.js
new file mode 100644
index 00000000..516edc74
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/en_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('en.fullpage_dlg',{title:"Document Properties","meta_tab":"General","appearance_tab":"Appearance","advanced_tab":"Advanced","meta_props":"Meta Information",langprops:"Language and Encoding","meta_title":"Title","meta_keywords":"Keywords","meta_description":"Description","meta_robots":"Robots",doctypes:"Doctype",langcode:"Language Code",langdir:"Language Direction",ltr:"Left to Right",rtl:"Right to Left","xml_pi":"XML Declaration",encoding:"Character Encoding","appearance_bgprops":"Background Properties","appearance_marginprops":"Body Margins","appearance_linkprops":"Link Colors","appearance_textprops":"Text Properties",bgcolor:"Background Color",bgimage:"Background Image","left_margin":"Left Margin","right_margin":"Right Margin","top_margin":"Top Margin","bottom_margin":"Bottom Margin","text_color":"Text Color","font_size":"Font Size","font_face":"Font Face","link_color":"Link Color","hover_color":"Hover Color","visited_color":"Visited Color","active_color":"Active Color",textcolor:"Color",fontsize:"Font Size",fontface:"Font Family","meta_index_follow":"Index and Follow the Links","meta_index_nofollow":"Index and Don\'t Follow the Links","meta_noindex_follow":"Do Not Index but Follow the Links","meta_noindex_nofollow":"Do Not Index and Don\'t Follow the Links","appearance_style":"Stylesheet and Style Properties",stylesheet:"Stylesheet",style:"Style",author:"Author",copyright:"Copyright",add:"Add New Element",remove:"Remove Selected Element",moveup:"Move Selected Element Up",movedown:"Move Selected Element Down","head_elements":"Head Elements",info:"Information","add_title":"Title Element","add_meta":"Meta Element","add_script":"Script Element","add_style":"Style Element","add_link":"Link Element","add_base":"Base Element","add_comment":"Comment Node","title_element":"Title Element","script_element":"Script Element","style_element":"Style Element","base_element":"Base Element","link_element":"Link Element","meta_element":"Meta Element","comment_element":"Comment",src:"Source",language:"Language",href:"HREF",target:"Target",type:"Type",charset:"Charset",defer:"Defer",media:"Media",properties:"Properties",name:"Name",value:"Value",content:"Content",rel:"Rel",rev:"Rev",hreflang:"HREF Lang","general_props":"General","advanced_props":"Advanced"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/hu_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/hu_dlg.js
new file mode 100644
index 00000000..e9f911e3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/hu_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('hu.fullpage_dlg',{title:"Dokumentum tulajdons\u00e1gai","meta_tab":"\u00c1ltal\u00e1nos","appearance_tab":"Megjelen\u00e9s","advanced_tab":"Halad\u00f3","meta_props":"Meta inform\u00e1ci\u00f3",langprops:"Nyelv \u00e9s k\u00f3dol\u00e1s","meta_title":"C\u00edm","meta_keywords":"Kulcsszavak","meta_description":"Le\u00edr\u00e1s","meta_robots":"Robotok",doctypes:"Dokumentum t\u00edpus",langcode:"Nyelvk\u00f3d",langdir:"\u00cdr\u00e1s ir\u00e1nya",ltr:"Balr\u00f3l jobra",rtl:"Jobbr\u00f3l balra","xml_pi":"XML deklar\u00e1ci\u00f3",encoding:"Karakterk\u00f3dol\u00e1s","appearance_bgprops":"H\u00e1tt\u00e9r tulajdons\u00e1gai","appearance_marginprops":"Body marg\u00f3k","appearance_linkprops":"Link sz\u00ednek","appearance_textprops":"Sz\u00f6veg tulajdons\u00e1gai",bgcolor:"H\u00e1tt\u00e9rsz\u00edn",bgimage:"H\u00e1tt\u00e9rk\u00e9p","left_margin":"Bal marg\u00f3","right_margin":"Jobb marg\u00f3","top_margin":"Fels\u0151 marg\u00f3","bottom_margin":"Als\u00f3 marg\u00f3","text_color":"Sz\u00f6vegsz\u00edn","font_size":"Bet\u0171m\u00e9ret","font_face":"Bet\u0171t\u00edpus","link_color":"Link sz\u00edn","hover_color":"Sz\u00edn eg\u00e9r fel\u00e9vitelekor","visited_color":"Sz\u00edn, ha l\u00e1togatott","active_color":"Akt\u00edv sz\u00edn",textcolor:"Sz\u00edn",fontsize:"Bet\u0171m\u00e9ret",fontface:"Bet\u0171 csal\u00e1d","meta_index_follow":"Linkek indexel\u00e9se \u00e9s k\u00f6vet\u00e9se","meta_index_nofollow":"Indexel, de nem k\u00f6veti a linkeket","meta_noindex_follow":"Nincs indexel\u00e9s, de van link-k\u00f6vet\u00e9s","meta_noindex_nofollow":"Nem indexel \u00e9s nem k\u00f6veti a linkeket","appearance_style":"Stylesheet \u00e9s style tulajdons\u00e1gok",stylesheet:"St\u00edluslap",style:"St\u00edlus",author:"Szerz\u0151",copyright:"Copyright",add:"\u00daj elem hozz\u00e1ad\u00e1sa",remove:"Kijel\u00f6lt elem t\u00f6rl\u00e9se",moveup:"Kijel\u00f6lt elem felfel\u00e9 mozgat\u00e1sa",movedown:"Kijel\u00f6lt elem lefel\u00e9 mozgat\u00e1sa","head_elements":"Fej elemek",info:"Inform\u00e1ci\u00f3","add_title":"C\u00edm elem","add_meta":"Meta elem","add_script":"Script elem","add_style":"Style elem","add_link":"Link elem","add_base":"Base elem","add_comment":"Comment elem","title_element":"Title elem","script_element":"Script elem","style_element":"Style elem","base_element":"Base elem","link_element":"Link elem","meta_element":"Meta elem","comment_element":"Megjegyz\u00e9s",src:"Forr\u00e1s",language:"Nyelv",href:"HREF",target:"C\u00e9l",type:"T\u00edpus",charset:"Charset",defer:"Defer",media:"M\u00e9dia",properties:"Tulajdons\u00e1gok",name:"N\u00e9v",value:"\u00c9rt\u00e9k",content:"Tartalom",rel:"Rel",rev:"Rev",hreflang:"HREF nyelv","general_props":"\u00c1ltal\u00e1nos","advanced_props":"Halad\u00f3"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/ja_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/ja_dlg.js
new file mode 100644
index 00000000..65643630
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/ja_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('ja.fullpage_dlg',{title:"\u30da\u30fc\u30b8\u306e\u5c5e\u6027","meta_tab":"\u4e00\u822c","appearance_tab":"\u8868\u793a","advanced_tab":"\u9ad8\u5ea6\u306a\u8a2d\u5b9a","meta_props":"\u30e1\u30bf\u60c5\u5831",langprops:"\u8a00\u8a9e\u3068\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0","meta_title":"\u30bf\u30a4\u30c8\u30eb","meta_keywords":"\u30ad\u30fc\u30ef\u30fc\u30c9","meta_description":"\u8aac\u660e","meta_robots":"\u691c\u7d22\u30ed\u30dc\u30c3\u30c8\u306e\u5236\u5fa1",doctypes:"\u6587\u66f8\u578b",langcode:"\u8a00\u8a9e\u30b3\u30fc\u30c9",langdir:"\u6587\u7ae0\u306e\u65b9\u5411",ltr:"\u5de6\u304b\u3089\u53f3",rtl:"\u53f3\u304b\u3089\u5de6","xml_pi":"XML\u5ba3\u8a00",encoding:"\u6587\u5b57\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0","appearance_bgprops":"\u80cc\u666f\u306e\u5c5e\u6027","appearance_marginprops":"Body\u306e\u4f59\u767d","appearance_linkprops":"\u30ea\u30f3\u30af\u306e\u8272","appearance_textprops":"\u6587\u5b57\u306e\u5c5e\u6027",bgcolor:"\u80cc\u666f\u306e\u8272",bgimage:"\u80cc\u666f\u306e\u753b\u50cf","left_margin":"\u5de6\u306e\u4f59\u767d","right_margin":"\u53f3\u306e\u4f59\u767d","top_margin":"\u4e0a\u306e\u4f59\u767d","bottom_margin":"\u4e0b\u306e\u4f59\u767d","text_color":"\u6587\u5b57\u306e\u8272","font_size":"\u6587\u5b57\u306e\u5927\u304d\u3055","font_face":"\u30d5\u30a9\u30f3\u30c8","link_color":"\u30ea\u30f3\u30af\u306e\u8272","hover_color":"\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u304c\u3042\u308b\u30ea\u30f3\u30af\u306e\u8272(hover)","visited_color":"\u65e2\u306b\u8aad\u3093\u3060\u30ea\u30f3\u30af\u306e\u8272(visited)","active_color":"\u30af\u30ea\u30c3\u30af\u3057\u305f\u77ac\u9593\u306e\u30ea\u30f3\u30af\u306e\u8272(active)",textcolor:"\u8272",fontsize:"\u6587\u5b57\u306e\u5927\u304d\u3055",fontface:"\u30d5\u30a9\u30f3\u30c8","meta_index_follow":"\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u4f7f\u7528\u3057\u3066\u30ea\u30f3\u30af\u3092\u305f\u3069\u308b","meta_index_nofollow":"\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u4f7f\u7528\u3057\u3066\u30ea\u30f3\u30af\u306f\u305f\u3069\u3089\u306a\u3044","meta_noindex_follow":"\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u4f7f\u7528\u3057\u306a\u3044\u304c\u30ea\u30f3\u30af\u3092\u305f\u3069\u308b","meta_noindex_nofollow":"\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u4f7f\u7528\u3057\u306a\u3044\u3067\u30ea\u30f3\u30af\u3082\u305f\u3069\u3089\u306a\u3044","appearance_style":"\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3068\u30b9\u30bf\u30a4\u30eb\u306e\u5c5e\u6027",stylesheet:"\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8",style:"\u30b9\u30bf\u30a4\u30eb",author:"\u4f5c\u6210\u8005",copyright:"\u8457\u4f5c\u6a29",add:"\u65b0\u3057\u304f\u8981\u7d20\u3092\u8ffd\u52a0",remove:"\u9078\u629e\u3057\u305f\u8981\u7d20\u3092\u524a\u9664",moveup:"\u9078\u629e\u3057\u305f\u8981\u7d20\u3092\u4e0a\u306b\u79fb\u52d5",movedown:"\u9078\u629e\u3057\u305f\u8981\u7d20\u3092\u4e0b\u306b\u79fb\u52d5","head_elements":"Head\u8981\u7d20",info:"\u60c5\u5831","add_title":"Title\u8981\u7d20","add_meta":"Meta\u8981\u7d20","add_script":"Script\u8981\u7d20","add_style":"Style\u8981\u7d20","add_link":"Link\u8981\u7d20","add_base":"Base\u8981\u7d20","add_comment":"Comment\u30ce\u30fc\u30c9","title_element":"Title\u8981\u7d20","script_element":"Script\u8981\u7d20","style_element":"Style\u8981\u7d20","base_element":"Base\u8981\u7d20","link_element":"Link\u8981\u7d20","meta_element":"Meta\u8981\u7d20","comment_element":"\u30b3\u30e1\u30f3\u30c8",src:"src",language:"\u8a00\u8a9e",href:"Href",target:"Target",type:"Type",charset:"Charset",defer:"Defer",media:"Media",properties:"Properties",name:"Name",value:"Value",content:"Content",rel:"Rel",rev:"Rev",hreflang:"Href\u306e\u8a00\u8a9e","general_props":"\u4e00\u822c","advanced_props":"\u8a73\u7d30\u306a\u8a2d\u5b9a"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/editor_plugin.js
new file mode 100755
index 00000000..a2eb0348
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/editor_plugin.js
@@ -0,0 +1 @@
+(function(){var a=tinymce.DOM;tinymce.create("tinymce.plugins.FullScreenPlugin",{init:function(d,e){var f=this,g={},c,b;f.editor=d;d.addCommand("mceFullScreen",function(){var i,j=a.doc.documentElement;if(d.getParam("fullscreen_is_enabled")){if(d.getParam("fullscreen_new_window")){closeFullscreen()}else{a.win.setTimeout(function(){tinymce.dom.Event.remove(a.win,"resize",f.resizeFunc);tinyMCE.get(d.getParam("fullscreen_editor_id")).setContent(d.getContent());tinyMCE.remove(d);a.remove("mce_fullscreen_container");j.style.overflow=d.getParam("fullscreen_html_overflow");a.setStyle(a.doc.body,"overflow",d.getParam("fullscreen_overflow"));a.win.scrollTo(d.getParam("fullscreen_scrollx"),d.getParam("fullscreen_scrolly"));tinyMCE.settings=tinyMCE.oldSettings},10)}return}if(d.getParam("fullscreen_new_window")){i=a.win.open(e+"/fullscreen.htm","mceFullScreenPopup","fullscreen=yes,menubar=no,toolbar=no,scrollbars=no,resizable=yes,left=0,top=0,width="+screen.availWidth+",height="+screen.availHeight);try{i.resizeTo(screen.availWidth,screen.availHeight)}catch(h){}}else{tinyMCE.oldSettings=tinyMCE.settings;g.fullscreen_overflow=a.getStyle(a.doc.body,"overflow",1)||"auto";g.fullscreen_html_overflow=a.getStyle(j,"overflow",1);c=a.getViewPort();g.fullscreen_scrollx=c.x;g.fullscreen_scrolly=c.y;if(tinymce.isOpera&&g.fullscreen_overflow=="visible"){g.fullscreen_overflow="auto"}if(tinymce.isIE&&g.fullscreen_overflow=="scroll"){g.fullscreen_overflow="auto"}if(tinymce.isIE&&(g.fullscreen_html_overflow=="visible"||g.fullscreen_html_overflow=="scroll")){g.fullscreen_html_overflow="auto"}if(g.fullscreen_overflow=="0px"){g.fullscreen_overflow=""}a.setStyle(a.doc.body,"overflow","hidden");j.style.overflow="hidden";c=a.getViewPort();a.win.scrollTo(0,0);if(tinymce.isIE){c.h-=1}if(tinymce.isIE6||document.compatMode=="BackCompat"){b="absolute;top:"+c.y}else{b="fixed;top:0"}n=a.add(a.doc.body,"div",{id:"mce_fullscreen_container",style:"position:"+b+";left:0;width:"+c.w+"px;height:"+c.h+"px;z-index:200000;"});a.add(n,"div",{id:"mce_fullscreen"});tinymce.each(d.settings,function(k,l){g[l]=k});g.id="mce_fullscreen";g.width=n.clientWidth;g.height=n.clientHeight-15;g.fullscreen_is_enabled=true;g.fullscreen_editor_id=d.id;g.theme_advanced_resizing=false;g.save_onsavecallback=function(){d.setContent(tinyMCE.get(g.id).getContent());d.execCommand("mceSave")};tinymce.each(d.getParam("fullscreen_settings"),function(m,l){g[l]=m});if(g.theme_advanced_toolbar_location==="external"){g.theme_advanced_toolbar_location="top"}f.fullscreenEditor=new tinymce.Editor("mce_fullscreen",g);f.fullscreenEditor.onInit.add(function(){f.fullscreenEditor.setContent(d.getContent());f.fullscreenEditor.focus()});f.fullscreenEditor.render();f.fullscreenElement=new tinymce.dom.Element("mce_fullscreen_container");f.fullscreenElement.update();f.resizeFunc=tinymce.dom.Event.add(a.win,"resize",function(){var o=tinymce.DOM.getViewPort(),l=f.fullscreenEditor,k,m;k=l.dom.getSize(l.getContainer().getElementsByTagName("table")[0]);m=l.dom.getSize(l.getContainer().getElementsByTagName("iframe")[0]);l.theme.resizeTo(o.w-k.w+m.w,o.h-k.h+m.h)})}});d.addButton("fullscreen",{title:"fullscreen.desc",cmd:"mceFullScreen"});d.onNodeChange.add(function(i,h){h.setActive("fullscreen",i.getParam("fullscreen_is_enabled"))})},getInfo:function(){return{longname:"Fullscreen",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullscreen",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("fullscreen",tinymce.plugins.FullScreenPlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/editor_plugin_src.js
new file mode 100755
index 00000000..524b487a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/editor_plugin_src.js
@@ -0,0 +1,159 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ var DOM = tinymce.DOM;
+
+ tinymce.create('tinymce.plugins.FullScreenPlugin', {
+ init : function(ed, url) {
+ var t = this, s = {}, vp, posCss;
+
+ t.editor = ed;
+
+ // Register commands
+ ed.addCommand('mceFullScreen', function() {
+ var win, de = DOM.doc.documentElement;
+
+ if (ed.getParam('fullscreen_is_enabled')) {
+ if (ed.getParam('fullscreen_new_window'))
+ closeFullscreen(); // Call to close in new window
+ else {
+ DOM.win.setTimeout(function() {
+ tinymce.dom.Event.remove(DOM.win, 'resize', t.resizeFunc);
+ tinyMCE.get(ed.getParam('fullscreen_editor_id')).setContent(ed.getContent());
+ tinyMCE.remove(ed);
+ DOM.remove('mce_fullscreen_container');
+ de.style.overflow = ed.getParam('fullscreen_html_overflow');
+ DOM.setStyle(DOM.doc.body, 'overflow', ed.getParam('fullscreen_overflow'));
+ DOM.win.scrollTo(ed.getParam('fullscreen_scrollx'), ed.getParam('fullscreen_scrolly'));
+ tinyMCE.settings = tinyMCE.oldSettings; // Restore old settings
+ }, 10);
+ }
+
+ return;
+ }
+
+ if (ed.getParam('fullscreen_new_window')) {
+ win = DOM.win.open(url + "/fullscreen.htm", "mceFullScreenPopup", "fullscreen=yes,menubar=no,toolbar=no,scrollbars=no,resizable=yes,left=0,top=0,width=" + screen.availWidth + ",height=" + screen.availHeight);
+ try {
+ win.resizeTo(screen.availWidth, screen.availHeight);
+ } catch (e) {
+ // Ignore
+ }
+ } else {
+ tinyMCE.oldSettings = tinyMCE.settings; // Store old settings
+ s.fullscreen_overflow = DOM.getStyle(DOM.doc.body, 'overflow', 1) || 'auto';
+ s.fullscreen_html_overflow = DOM.getStyle(de, 'overflow', 1);
+ vp = DOM.getViewPort();
+ s.fullscreen_scrollx = vp.x;
+ s.fullscreen_scrolly = vp.y;
+
+ // Fixes an Opera bug where the scrollbars doesn't reappear
+ if (tinymce.isOpera && s.fullscreen_overflow == 'visible')
+ s.fullscreen_overflow = 'auto';
+
+ // Fixes an IE bug where horizontal scrollbars would appear
+ if (tinymce.isIE && s.fullscreen_overflow == 'scroll')
+ s.fullscreen_overflow = 'auto';
+
+ // Fixes an IE bug where the scrollbars doesn't reappear
+ if (tinymce.isIE && (s.fullscreen_html_overflow == 'visible' || s.fullscreen_html_overflow == 'scroll'))
+ s.fullscreen_html_overflow = 'auto';
+
+ if (s.fullscreen_overflow == '0px')
+ s.fullscreen_overflow = '';
+
+ DOM.setStyle(DOM.doc.body, 'overflow', 'hidden');
+ de.style.overflow = 'hidden'; //Fix for IE6/7
+ vp = DOM.getViewPort();
+ DOM.win.scrollTo(0, 0);
+
+ if (tinymce.isIE)
+ vp.h -= 1;
+
+ // Use fixed position if it exists
+ if (tinymce.isIE6 || document.compatMode == 'BackCompat')
+ posCss = 'absolute;top:' + vp.y;
+ else
+ posCss = 'fixed;top:0';
+
+ n = DOM.add(DOM.doc.body, 'div', {
+ id : 'mce_fullscreen_container',
+ style : 'position:' + posCss + ';left:0;width:' + vp.w + 'px;height:' + vp.h + 'px;z-index:200000;'});
+ DOM.add(n, 'div', {id : 'mce_fullscreen'});
+
+ tinymce.each(ed.settings, function(v, n) {
+ s[n] = v;
+ });
+
+ s.id = 'mce_fullscreen';
+ s.width = n.clientWidth;
+ s.height = n.clientHeight - 15;
+ s.fullscreen_is_enabled = true;
+ s.fullscreen_editor_id = ed.id;
+ s.theme_advanced_resizing = false;
+ s.save_onsavecallback = function() {
+ ed.setContent(tinyMCE.get(s.id).getContent());
+ ed.execCommand('mceSave');
+ };
+
+ tinymce.each(ed.getParam('fullscreen_settings'), function(v, k) {
+ s[k] = v;
+ });
+
+ if (s.theme_advanced_toolbar_location === 'external')
+ s.theme_advanced_toolbar_location = 'top';
+
+ t.fullscreenEditor = new tinymce.Editor('mce_fullscreen', s);
+ t.fullscreenEditor.onInit.add(function() {
+ t.fullscreenEditor.setContent(ed.getContent());
+ t.fullscreenEditor.focus();
+ });
+
+ t.fullscreenEditor.render();
+
+ t.fullscreenElement = new tinymce.dom.Element('mce_fullscreen_container');
+ t.fullscreenElement.update();
+ //document.body.overflow = 'hidden';
+
+ t.resizeFunc = tinymce.dom.Event.add(DOM.win, 'resize', function() {
+ var vp = tinymce.DOM.getViewPort(), fed = t.fullscreenEditor, outerSize, innerSize;
+
+ // Get outer/inner size to get a delta size that can be used to calc the new iframe size
+ outerSize = fed.dom.getSize(fed.getContainer().getElementsByTagName('table')[0]);
+ innerSize = fed.dom.getSize(fed.getContainer().getElementsByTagName('iframe')[0]);
+
+ fed.theme.resizeTo(vp.w - outerSize.w + innerSize.w, vp.h - outerSize.h + innerSize.h);
+ });
+ }
+ });
+
+ // Register buttons
+ ed.addButton('fullscreen', {title : 'fullscreen.desc', cmd : 'mceFullScreen'});
+
+ ed.onNodeChange.add(function(ed, cm) {
+ cm.setActive('fullscreen', ed.getParam('fullscreen_is_enabled'));
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Fullscreen',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullscreen',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('fullscreen', tinymce.plugins.FullScreenPlugin);
+})();
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/fullscreen.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/fullscreen.htm
new file mode 100755
index 00000000..ffe528e4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/fullscreen.htm
@@ -0,0 +1,110 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title></title>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <script type="text/javascript" src="../../tiny_mce.js"></script>
+ <script type="text/javascript">
+ function patchCallback(settings, key) {
+ if (settings[key])
+ settings[key] = "window.opener." + settings[key];
+ }
+
+ var settings = {}, paSe = window.opener.tinyMCE.activeEditor.settings, oeID = window.opener.tinyMCE.activeEditor.id;
+
+ // Clone array
+ for (var n in paSe)
+ settings[n] = paSe[n];
+
+ // Override options for fullscreen
+ for (var n in paSe.fullscreen_settings)
+ settings[n] = paSe.fullscreen_settings[n];
+
+ // Patch callbacks, make them point to window.opener
+ patchCallback(settings, 'urlconverter_callback');
+ patchCallback(settings, 'insertlink_callback');
+ patchCallback(settings, 'insertimage_callback');
+ patchCallback(settings, 'setupcontent_callback');
+ patchCallback(settings, 'save_callback');
+ patchCallback(settings, 'onchange_callback');
+ patchCallback(settings, 'init_instance_callback');
+ patchCallback(settings, 'file_browser_callback');
+ patchCallback(settings, 'cleanup_callback');
+ patchCallback(settings, 'execcommand_callback');
+ patchCallback(settings, 'oninit');
+
+ // Set options
+ delete settings.id;
+ settings['mode'] = 'exact';
+ settings['elements'] = 'fullscreenarea';
+ settings['add_unload_trigger'] = false;
+ settings['ask'] = false;
+ settings['document_base_url'] = window.opener.tinyMCE.activeEditor.documentBaseURI.getURI();
+ settings['fullscreen_is_enabled'] = true;
+ settings['fullscreen_editor_id'] = oeID;
+ settings['theme_advanced_resizing'] = false;
+ settings['strict_loading_mode'] = true;
+
+ settings.save_onsavecallback = function() {
+ window.opener.tinyMCE.get(oeID).setContent(tinyMCE.get('fullscreenarea').getContent({format : 'raw'}), {format : 'raw'});
+ window.opener.tinyMCE.get(oeID).execCommand('mceSave');
+ window.close();
+ };
+
+ function unloadHandler(e) {
+ moveContent();
+ }
+
+ function moveContent() {
+ window.opener.tinyMCE.get(oeID).setContent(tinyMCE.activeEditor.getContent());
+ }
+
+ function closeFullscreen() {
+ moveContent();
+ window.close();
+ }
+
+ function doParentSubmit() {
+ moveContent();
+
+ if (window.opener.tinyMCE.selectedInstance.formElement.form)
+ window.opener.tinyMCE.selectedInstance.formElement.form.submit();
+
+ window.close();
+
+ return false;
+ }
+
+ function render() {
+ var e = document.getElementById('fullscreenarea'), vp, ed, ow, oh, dom = tinymce.DOM;
+
+ e.value = window.opener.tinyMCE.get(oeID).getContent();
+
+ vp = dom.getViewPort();
+ settings.width = vp.w;
+ settings.height = vp.h - 15;
+
+ tinymce.dom.Event.add(window, 'resize', function() {
+ var vp = dom.getViewPort();
+
+ tinyMCE.activeEditor.theme.resizeTo(vp.w, vp.h);
+ });
+
+ tinyMCE.init(settings);
+ }
+
+ // Add onunload
+ tinymce.dom.Event.add(window, "beforeunload", unloadHandler);
+ </script>
+</head>
+<body style="margin:0;overflow:hidden;width:100%;height:100%" scrolling="no" scroll="no">
+<form onsubmit="doParentSubmit();">
+<textarea id="fullscreenarea" style="width:100%; height:100%"></textarea>
+</form>
+
+<script type="text/javascript">
+ render();
+</script>
+
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/iespell/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/iespell/editor_plugin.js
new file mode 100755
index 00000000..e9cba106
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/iespell/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.IESpell",{init:function(a,b){var c=this,d;if(!tinymce.isIE){return}c.editor=a;a.addCommand("mceIESpell",function(){try{d=new ActiveXObject("ieSpell.ieSpellExtension");d.CheckDocumentNode(a.getDoc().documentElement)}catch(f){if(f.number==-2146827859){a.windowManager.confirm(a.getLang("iespell.download"),function(e){if(e){window.open("http://www.iespell.com/download.php","ieSpellDownload","")}})}else{a.windowManager.alert("Error Loading ieSpell: Exception "+f.number)}}});a.addButton("iespell",{title:"iespell.iespell_desc",cmd:"mceIESpell"})},getInfo:function(){return{longname:"IESpell (IE Only)",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("iespell",tinymce.plugins.IESpell)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/iespell/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/iespell/editor_plugin_src.js
new file mode 100755
index 00000000..1b2bb984
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/iespell/editor_plugin_src.js
@@ -0,0 +1,54 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.IESpell', {
+ init : function(ed, url) {
+ var t = this, sp;
+
+ if (!tinymce.isIE)
+ return;
+
+ t.editor = ed;
+
+ // Register commands
+ ed.addCommand('mceIESpell', function() {
+ try {
+ sp = new ActiveXObject("ieSpell.ieSpellExtension");
+ sp.CheckDocumentNode(ed.getDoc().documentElement);
+ } catch (e) {
+ if (e.number == -2146827859) {
+ ed.windowManager.confirm(ed.getLang("iespell.download"), function(s) {
+ if (s)
+ window.open('http://www.iespell.com/download.php', 'ieSpellDownload', '');
+ });
+ } else
+ ed.windowManager.alert("Error Loading ieSpell: Exception " + e.number);
+ }
+ });
+
+ // Register buttons
+ ed.addButton('iespell', {title : 'iespell.iespell_desc', cmd : 'mceIESpell'});
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'IESpell (IE Only)',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('iespell', tinymce.plugins.IESpell);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/editor_plugin.js
new file mode 100755
index 00000000..8bb96f9c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/editor_plugin.js
@@ -0,0 +1 @@
+(function(){var d=tinymce.DOM,b=tinymce.dom.Element,a=tinymce.dom.Event,e=tinymce.each,c=tinymce.is;tinymce.create("tinymce.plugins.InlinePopups",{init:function(f,g){f.onBeforeRenderUI.add(function(){f.windowManager=new tinymce.InlineWindowManager(f);d.loadCSS(g+"/skins/"+(f.settings.inlinepopups_skin||"clearlooks2")+"/window.css")})},getInfo:function(){return{longname:"InlinePopups",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/inlinepopups",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.create("tinymce.InlineWindowManager:tinymce.WindowManager",{InlineWindowManager:function(f){var g=this;g.parent(f);g.zIndex=300000;g.count=0;g.windows={}},open:function(s,j){var z=this,i,k="",r=z.editor,g=0,v=0,h,m,o,q,l,x,y,n;s=s||{};j=j||{};if(!s.inline){return z.parent(s,j)}n=z._frontWindow();if(n&&d.get(n.id+"_ifr")){n.focussedElement=d.get(n.id+"_ifr").contentWindow.document.activeElement}if(!s.type){z.bookmark=r.selection.getBookmark(1)}i=d.uniqueId();h=d.getViewPort();s.width=parseInt(s.width||320);s.height=parseInt(s.height||240)+(tinymce.isIE?8:0);s.min_width=parseInt(s.min_width||150);s.min_height=parseInt(s.min_height||100);s.max_width=parseInt(s.max_width||2000);s.max_height=parseInt(s.max_height||2000);s.left=s.left||Math.round(Math.max(h.x,h.x+(h.w/2)-(s.width/2)));s.top=s.top||Math.round(Math.max(h.y,h.y+(h.h/2)-(s.height/2)));s.movable=s.resizable=true;j.mce_width=s.width;j.mce_height=s.height;j.mce_inline=true;j.mce_window_id=i;j.mce_auto_focus=s.auto_focus;z.features=s;z.params=j;z.onOpen.dispatch(z,s,j);if(s.type){k+=" mceModal";if(s.type){k+=" mce"+s.type.substring(0,1).toUpperCase()+s.type.substring(1)}s.resizable=false}if(s.statusbar){k+=" mceStatusbar"}if(s.resizable){k+=" mceResizable"}if(s.minimizable){k+=" mceMinimizable"}if(s.maximizable){k+=" mceMaximizable"}if(s.movable){k+=" mceMovable"}z._addAll(d.doc.body,["div",{id:i,role:"dialog","aria-labelledby":s.type?i+"_content":i+"_title","class":(r.settings.inlinepopups_skin||"clearlooks2")+(tinymce.isIE&&window.getSelection?" ie9":""),style:"width:100px;height:100px"},["div",{id:i+"_wrapper","class":"mceWrapper"+k},["div",{id:i+"_top","class":"mceTop"},["div",{"class":"mceLeft"}],["div",{"class":"mceCenter"}],["div",{"class":"mceRight"}],["span",{id:i+"_title"},s.title||""]],["div",{id:i+"_middle","class":"mceMiddle"},["div",{id:i+"_left","class":"mceLeft",tabindex:"0"}],["span",{id:i+"_content"}],["div",{id:i+"_right","class":"mceRight",tabindex:"0"}]],["div",{id:i+"_bottom","class":"mceBottom"},["div",{"class":"mceLeft"}],["div",{"class":"mceCenter"}],["div",{"class":"mceRight"}],["span",{id:i+"_status"},"Content"]],["a",{"class":"mceMove",tabindex:"-1",href:"javascript:;"}],["a",{"class":"mceMin",tabindex:"-1",href:"javascript:;",onmousedown:"return false;"}],["a",{"class":"mceMax",tabindex:"-1",href:"javascript:;",onmousedown:"return false;"}],["a",{"class":"mceMed",tabindex:"-1",href:"javascript:;",onmousedown:"return false;"}],["a",{"class":"mceClose",tabindex:"-1",href:"javascript:;",onmousedown:"return false;"}],["a",{id:i+"_resize_n","class":"mceResize mceResizeN",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_s","class":"mceResize mceResizeS",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_w","class":"mceResize mceResizeW",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_e","class":"mceResize mceResizeE",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_nw","class":"mceResize mceResizeNW",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_ne","class":"mceResize mceResizeNE",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_sw","class":"mceResize mceResizeSW",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_se","class":"mceResize mceResizeSE",tabindex:"-1",href:"javascript:;"}]]]);d.setStyles(i,{top:-10000,left:-10000});if(tinymce.isGecko){d.setStyle(i,"overflow","auto")}if(!s.type){g+=d.get(i+"_left").clientWidth;g+=d.get(i+"_right").clientWidth;v+=d.get(i+"_top").clientHeight;v+=d.get(i+"_bottom").clientHeight}d.setStyles(i,{top:s.top,left:s.left,width:s.width+g,height:s.height+v});y=s.url||s.file;if(y){if(tinymce.relaxedDomain){y+=(y.indexOf("?")==-1?"?":"&")+"mce_rdomain="+tinymce.relaxedDomain}y=tinymce._addVer(y)}if(!s.type){d.add(i+"_content","iframe",{id:i+"_ifr",src:'javascript:""',frameBorder:0,style:"border:0;width:10px;height:10px"});d.setStyles(i+"_ifr",{width:s.width,height:s.height});d.setAttrib(i+"_ifr","src",y)}else{d.add(i+"_wrapper","a",{id:i+"_ok","class":"mceButton mceOk",href:"javascript:;",onmousedown:"return false;"},"Ok");if(s.type=="confirm"){d.add(i+"_wrapper","a",{"class":"mceButton mceCancel",href:"javascript:;",onmousedown:"return false;"},"Cancel")}d.add(i+"_middle","div",{"class":"mceIcon"});d.setHTML(i+"_content",s.content.replace("\n","<br />"));a.add(i,"keyup",function(f){var p=27;if(f.keyCode===p){s.button_func(false);return a.cancel(f)}});a.add(i,"keydown",function(f){var t,p=9;if(f.keyCode===p){t=d.select("a.mceCancel",i+"_wrapper")[0];if(t&&t!==f.target){t.focus()}else{d.get(i+"_ok").focus()}return a.cancel(f)}})}o=a.add(i,"mousedown",function(t){var u=t.target,f,p;f=z.windows[i];z.focus(i);if(u.nodeName=="A"||u.nodeName=="a"){if(u.className=="mceClose"){z.close(null,i);return a.cancel(t)}else{if(u.className=="mceMax"){f.oldPos=f.element.getXY();f.oldSize=f.element.getSize();p=d.getViewPort();p.w-=2;p.h-=2;f.element.moveTo(p.x,p.y);f.element.resizeTo(p.w,p.h);d.setStyles(i+"_ifr",{width:p.w-f.deltaWidth,height:p.h-f.deltaHeight});d.addClass(i+"_wrapper","mceMaximized")}else{if(u.className=="mceMed"){f.element.moveTo(f.oldPos.x,f.oldPos.y);f.element.resizeTo(f.oldSize.w,f.oldSize.h);f.iframeElement.resizeTo(f.oldSize.w-f.deltaWidth,f.oldSize.h-f.deltaHeight);d.removeClass(i+"_wrapper","mceMaximized")}else{if(u.className=="mceMove"){return z._startDrag(i,t,u.className)}else{if(d.hasClass(u,"mceResize")){return z._startDrag(i,t,u.className.substring(13))}}}}}}});q=a.add(i,"click",function(f){var p=f.target;z.focus(i);if(p.nodeName=="A"||p.nodeName=="a"){switch(p.className){case"mceClose":z.close(null,i);return a.cancel(f);case"mceButton mceOk":case"mceButton mceCancel":s.button_func(p.className=="mceButton mceOk");return a.cancel(f)}}});a.add([i+"_left",i+"_right"],"focus",function(p){var t=d.get(i+"_ifr");if(t){var f=t.contentWindow.document.body;var u=d.select(":input:enabled,*[tabindex=0]",f);if(p.target.id===(i+"_left")){u[u.length-1].focus()}else{u[0].focus()}}else{d.get(i+"_ok").focus()}});x=z.windows[i]={id:i,mousedown_func:o,click_func:q,element:new b(i,{blocker:1,container:r.getContainer()}),iframeElement:new b(i+"_ifr"),features:s,deltaWidth:g,deltaHeight:v};x.iframeElement.on("focus",function(){z.focus(i)});if(z.count==0&&z.editor.getParam("dialog_type","modal")=="modal"){d.add(d.doc.body,"div",{id:"mceModalBlocker","class":(z.editor.settings.inlinepopups_skin||"clearlooks2")+"_modalBlocker",style:{zIndex:z.zIndex-1}});d.show("mceModalBlocker");d.setAttrib(d.doc.body,"aria-hidden","true")}else{d.setStyle("mceModalBlocker","z-index",z.zIndex-1)}if(tinymce.isIE6||/Firefox\/2\./.test(navigator.userAgent)||(tinymce.isIE&&!d.boxModel)){d.setStyles("mceModalBlocker",{position:"absolute",left:h.x,top:h.y,width:h.w-2,height:h.h-2})}d.setAttrib(i,"aria-hidden","false");z.focus(i);z._fixIELayout(i,1);if(d.get(i+"_ok")){d.get(i+"_ok").focus()}z.count++;return x},focus:function(h){var g=this,f;if(f=g.windows[h]){f.zIndex=this.zIndex++;f.element.setStyle("zIndex",f.zIndex);f.element.update();h=h+"_wrapper";d.removeClass(g.lastId,"mceFocus");d.addClass(h,"mceFocus");g.lastId=h;if(f.focussedElement){f.focussedElement.focus()}else{if(d.get(h+"_ok")){d.get(f.id+"_ok").focus()}else{if(d.get(f.id+"_ifr")){d.get(f.id+"_ifr").focus()}}}}},_addAll:function(k,h){var g,l,f=this,j=tinymce.DOM;if(c(h,"string")){k.appendChild(j.doc.createTextNode(h))}else{if(h.length){k=k.appendChild(j.create(h[0],h[1]));for(g=2;g<h.length;g++){f._addAll(k,h[g])}}}},_startDrag:function(v,G,E){var o=this,u,z,C=d.doc,f,l=o.windows[v],h=l.element,y=h.getXY(),x,q,F,g,A,s,r,j,i,m,k,n,B;g={x:0,y:0};A=d.getViewPort();A.w-=2;A.h-=2;j=G.screenX;i=G.screenY;m=k=n=B=0;u=a.add(C,"mouseup",function(p){a.remove(C,"mouseup",u);a.remove(C,"mousemove",z);if(f){f.remove()}h.moveBy(m,k);h.resizeBy(n,B);q=h.getSize();d.setStyles(v+"_ifr",{width:q.w-l.deltaWidth,height:q.h-l.deltaHeight});o._fixIELayout(v,1);return a.cancel(p)});if(E!="Move"){D()}function D(){if(f){return}o._fixIELayout(v,0);d.add(C.body,"div",{id:"mceEventBlocker","class":"mceEventBlocker "+(o.editor.settings.inlinepopups_skin||"clearlooks2"),style:{zIndex:o.zIndex+1}});if(tinymce.isIE6||(tinymce.isIE&&!d.boxModel)){d.setStyles("mceEventBlocker",{position:"absolute",left:A.x,top:A.y,width:A.w-2,height:A.h-2})}f=new b("mceEventBlocker");f.update();x=h.getXY();q=h.getSize();s=g.x+x.x-A.x;r=g.y+x.y-A.y;d.add(f.get(),"div",{id:"mcePlaceHolder","class":"mcePlaceHolder",style:{left:s,top:r,width:q.w,height:q.h}});F=new b("mcePlaceHolder")}z=a.add(C,"mousemove",function(w){var p,H,t;D();p=w.screenX-j;H=w.screenY-i;switch(E){case"ResizeW":m=p;n=0-p;break;case"ResizeE":n=p;break;case"ResizeN":case"ResizeNW":case"ResizeNE":if(E=="ResizeNW"){m=p;n=0-p}else{if(E=="ResizeNE"){n=p}}k=H;B=0-H;break;case"ResizeS":case"ResizeSW":case"ResizeSE":if(E=="ResizeSW"){m=p;n=0-p}else{if(E=="ResizeSE"){n=p}}B=H;break;case"mceMove":m=p;k=H;break}if(n<(t=l.features.min_width-q.w)){if(m!==0){m+=n-t}n=t}if(B<(t=l.features.min_height-q.h)){if(k!==0){k+=B-t}B=t}n=Math.min(n,l.features.max_width-q.w);B=Math.min(B,l.features.max_height-q.h);m=Math.max(m,A.x-(s+A.x));k=Math.max(k,A.y-(r+A.y));m=Math.min(m,(A.w+A.x)-(s+q.w+A.x));k=Math.min(k,(A.h+A.y)-(r+q.h+A.y));if(m+k!==0){if(s+m<0){m=0}if(r+k<0){k=0}F.moveTo(s+m,r+k)}if(n+B!==0){F.resizeTo(q.w+n,q.h+B)}return a.cancel(w)});return a.cancel(G)},resizeBy:function(g,h,i){var f=this.windows[i];if(f){f.element.resizeBy(g,h);f.iframeElement.resizeBy(g,h)}},close:function(i,k){var g=this,f,j=d.doc,h,k;k=g._findId(k||i);if(!g.windows[k]){g.parent(i);return}g.count--;if(g.count==0){d.remove("mceModalBlocker");d.setAttrib(d.doc.body,"aria-hidden","false");g.editor.focus()}if(f=g.windows[k]){g.onClose.dispatch(g);a.remove(j,"mousedown",f.mousedownFunc);a.remove(j,"click",f.clickFunc);a.clear(k);a.clear(k+"_ifr");d.setAttrib(k+"_ifr","src",'javascript:""');f.element.remove();delete g.windows[k];h=g._frontWindow();if(h){g.focus(h.id)}}},_frontWindow:function(){var g,f=0;e(this.windows,function(h){if(h.zIndex>f){g=h;f=h.zIndex}});return g},setTitle:function(f,g){var h;f=this._findId(f);if(h=d.get(f+"_title")){h.innerHTML=d.encode(g)}},alert:function(g,f,j){var i=this,h;h=i.open({title:i,type:"alert",button_func:function(k){if(f){f.call(k||i,k)}i.close(null,h.id)},content:d.encode(i.editor.getLang(g,g)),inline:1,width:400,height:130})},confirm:function(g,f,j){var i=this,h;h=i.open({title:i,type:"confirm",button_func:function(k){if(f){f.call(k||i,k)}i.close(null,h.id)},content:d.encode(i.editor.getLang(g,g)),inline:1,width:400,height:130})},_findId:function(f){var g=this;if(typeof(f)=="string"){return f}e(g.windows,function(h){var i=d.get(h.id+"_ifr");if(i&&f==i.contentWindow){f=h.id;return false}});return f},_fixIELayout:function(i,h){var f,g;if(!tinymce.isIE6){return}e(["n","s","w","e","nw","ne","sw","se"],function(j){var k=d.get(i+"_resize_"+j);d.setStyles(k,{width:h?k.clientWidth:"",height:h?k.clientHeight:"",cursor:d.getStyle(k,"cursor",1)});d.setStyle(i+"_bottom","bottom","-1px");k=0});if(f=this.windows[i]){f.element.hide();f.element.show();e(d.select("div,a",i),function(k,j){if(k.currentStyle.backgroundImage!="none"){g=new Image();g.src=k.currentStyle.backgroundImage.replace(/url\(\"(.+)\"\)/,"$1")}});d.get(i).style.filter=""}}});tinymce.PluginManager.add("inlinepopups",tinymce.plugins.InlinePopups)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/editor_plugin_src.js
new file mode 100755
index 00000000..67123ca3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/editor_plugin_src.js
@@ -0,0 +1,699 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ var DOM = tinymce.DOM, Element = tinymce.dom.Element, Event = tinymce.dom.Event, each = tinymce.each, is = tinymce.is;
+
+ tinymce.create('tinymce.plugins.InlinePopups', {
+ init : function(ed, url) {
+ // Replace window manager
+ ed.onBeforeRenderUI.add(function() {
+ ed.windowManager = new tinymce.InlineWindowManager(ed);
+ DOM.loadCSS(url + '/skins/' + (ed.settings.inlinepopups_skin || 'clearlooks2') + "/window.css");
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'InlinePopups',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/inlinepopups',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ tinymce.create('tinymce.InlineWindowManager:tinymce.WindowManager', {
+ InlineWindowManager : function(ed) {
+ var t = this;
+
+ t.parent(ed);
+ t.zIndex = 300000;
+ t.count = 0;
+ t.windows = {};
+ },
+
+ open : function(f, p) {
+ var t = this, id, opt = '', ed = t.editor, dw = 0, dh = 0, vp, po, mdf, clf, we, w, u, parentWindow;
+
+ f = f || {};
+ p = p || {};
+
+ // Run native windows
+ if (!f.inline)
+ return t.parent(f, p);
+
+ parentWindow = t._frontWindow();
+ if (parentWindow && DOM.get(parentWindow.id + '_ifr')) {
+ parentWindow.focussedElement = DOM.get(parentWindow.id + '_ifr').contentWindow.document.activeElement;
+ }
+
+ // Only store selection if the type is a normal window
+ if (!f.type)
+ t.bookmark = ed.selection.getBookmark(1);
+
+ id = DOM.uniqueId();
+ vp = DOM.getViewPort();
+ f.width = parseInt(f.width || 320);
+ f.height = parseInt(f.height || 240) + (tinymce.isIE ? 8 : 0);
+ f.min_width = parseInt(f.min_width || 150);
+ f.min_height = parseInt(f.min_height || 100);
+ f.max_width = parseInt(f.max_width || 2000);
+ f.max_height = parseInt(f.max_height || 2000);
+ f.left = f.left || Math.round(Math.max(vp.x, vp.x + (vp.w / 2.0) - (f.width / 2.0)));
+ f.top = f.top || Math.round(Math.max(vp.y, vp.y + (vp.h / 2.0) - (f.height / 2.0)));
+ f.movable = f.resizable = true;
+ p.mce_width = f.width;
+ p.mce_height = f.height;
+ p.mce_inline = true;
+ p.mce_window_id = id;
+ p.mce_auto_focus = f.auto_focus;
+
+ // Transpose
+// po = DOM.getPos(ed.getContainer());
+// f.left -= po.x;
+// f.top -= po.y;
+
+ t.features = f;
+ t.params = p;
+ t.onOpen.dispatch(t, f, p);
+
+ if (f.type) {
+ opt += ' mceModal';
+
+ if (f.type)
+ opt += ' mce' + f.type.substring(0, 1).toUpperCase() + f.type.substring(1);
+
+ f.resizable = false;
+ }
+
+ if (f.statusbar)
+ opt += ' mceStatusbar';
+
+ if (f.resizable)
+ opt += ' mceResizable';
+
+ if (f.minimizable)
+ opt += ' mceMinimizable';
+
+ if (f.maximizable)
+ opt += ' mceMaximizable';
+
+ if (f.movable)
+ opt += ' mceMovable';
+
+ // Create DOM objects
+ t._addAll(DOM.doc.body,
+ ['div', {id : id, role : 'dialog', 'aria-labelledby': f.type ? id + '_content' : id + '_title', 'class' : (ed.settings.inlinepopups_skin || 'clearlooks2') + (tinymce.isIE && window.getSelection ? ' ie9' : ''), style : 'width:100px;height:100px'},
+ ['div', {id : id + '_wrapper', 'class' : 'mceWrapper' + opt},
+ ['div', {id : id + '_top', 'class' : 'mceTop'},
+ ['div', {'class' : 'mceLeft'}],
+ ['div', {'class' : 'mceCenter'}],
+ ['div', {'class' : 'mceRight'}],
+ ['span', {id : id + '_title'}, f.title || '']
+ ],
+
+ ['div', {id : id + '_middle', 'class' : 'mceMiddle'},
+ ['div', {id : id + '_left', 'class' : 'mceLeft', tabindex : '0'}],
+ ['span', {id : id + '_content'}],
+ ['div', {id : id + '_right', 'class' : 'mceRight', tabindex : '0'}]
+ ],
+
+ ['div', {id : id + '_bottom', 'class' : 'mceBottom'},
+ ['div', {'class' : 'mceLeft'}],
+ ['div', {'class' : 'mceCenter'}],
+ ['div', {'class' : 'mceRight'}],
+ ['span', {id : id + '_status'}, 'Content']
+ ],
+
+ ['a', {'class' : 'mceMove', tabindex : '-1', href : 'javascript:;'}],
+ ['a', {'class' : 'mceMin', tabindex : '-1', href : 'javascript:;', onmousedown : 'return false;'}],
+ ['a', {'class' : 'mceMax', tabindex : '-1', href : 'javascript:;', onmousedown : 'return false;'}],
+ ['a', {'class' : 'mceMed', tabindex : '-1', href : 'javascript:;', onmousedown : 'return false;'}],
+ ['a', {'class' : 'mceClose', tabindex : '-1', href : 'javascript:;', onmousedown : 'return false;'}],
+ ['a', {id : id + '_resize_n', 'class' : 'mceResize mceResizeN', tabindex : '-1', href : 'javascript:;'}],
+ ['a', {id : id + '_resize_s', 'class' : 'mceResize mceResizeS', tabindex : '-1', href : 'javascript:;'}],
+ ['a', {id : id + '_resize_w', 'class' : 'mceResize mceResizeW', tabindex : '-1', href : 'javascript:;'}],
+ ['a', {id : id + '_resize_e', 'class' : 'mceResize mceResizeE', tabindex : '-1', href : 'javascript:;'}],
+ ['a', {id : id + '_resize_nw', 'class' : 'mceResize mceResizeNW', tabindex : '-1', href : 'javascript:;'}],
+ ['a', {id : id + '_resize_ne', 'class' : 'mceResize mceResizeNE', tabindex : '-1', href : 'javascript:;'}],
+ ['a', {id : id + '_resize_sw', 'class' : 'mceResize mceResizeSW', tabindex : '-1', href : 'javascript:;'}],
+ ['a', {id : id + '_resize_se', 'class' : 'mceResize mceResizeSE', tabindex : '-1', href : 'javascript:;'}]
+ ]
+ ]
+ );
+
+ DOM.setStyles(id, {top : -10000, left : -10000});
+
+ // Fix gecko rendering bug, where the editors iframe messed with window contents
+ if (tinymce.isGecko)
+ DOM.setStyle(id, 'overflow', 'auto');
+
+ // Measure borders
+ if (!f.type) {
+ dw += DOM.get(id + '_left').clientWidth;
+ dw += DOM.get(id + '_right').clientWidth;
+ dh += DOM.get(id + '_top').clientHeight;
+ dh += DOM.get(id + '_bottom').clientHeight;
+ }
+
+ // Resize window
+ DOM.setStyles(id, {top : f.top, left : f.left, width : f.width + dw, height : f.height + dh});
+
+ u = f.url || f.file;
+ if (u) {
+ if (tinymce.relaxedDomain)
+ u += (u.indexOf('?') == -1 ? '?' : '&') + 'mce_rdomain=' + tinymce.relaxedDomain;
+
+ u = tinymce._addVer(u);
+ }
+
+ if (!f.type) {
+ DOM.add(id + '_content', 'iframe', {id : id + '_ifr', src : 'javascript:""', frameBorder : 0, style : 'border:0;width:10px;height:10px'});
+ DOM.setStyles(id + '_ifr', {width : f.width, height : f.height});
+ DOM.setAttrib(id + '_ifr', 'src', u);
+ } else {
+ DOM.add(id + '_wrapper', 'a', {id : id + '_ok', 'class' : 'mceButton mceOk', href : 'javascript:;', onmousedown : 'return false;'}, 'Ok');
+
+ if (f.type == 'confirm')
+ DOM.add(id + '_wrapper', 'a', {'class' : 'mceButton mceCancel', href : 'javascript:;', onmousedown : 'return false;'}, 'Cancel');
+
+ DOM.add(id + '_middle', 'div', {'class' : 'mceIcon'});
+ DOM.setHTML(id + '_content', f.content.replace('\n', '<br />'));
+
+ Event.add(id, 'keyup', function(evt) {
+ var VK_ESCAPE = 27;
+ if (evt.keyCode === VK_ESCAPE) {
+ f.button_func(false);
+ return Event.cancel(evt);
+ }
+ });
+
+ Event.add(id, 'keydown', function(evt) {
+ var cancelButton, VK_TAB = 9;
+ if (evt.keyCode === VK_TAB) {
+ cancelButton = DOM.select('a.mceCancel', id + '_wrapper')[0];
+ if (cancelButton && cancelButton !== evt.target) {
+ cancelButton.focus();
+ } else {
+ DOM.get(id + '_ok').focus();
+ }
+ return Event.cancel(evt);
+ }
+ });
+ }
+
+ // Register events
+ mdf = Event.add(id, 'mousedown', function(e) {
+ var n = e.target, w, vp;
+
+ w = t.windows[id];
+ t.focus(id);
+
+ if (n.nodeName == 'A' || n.nodeName == 'a') {
+ if (n.className == 'mceClose') {
+ t.close(null, id);
+ return Event.cancel(e);
+ } else if (n.className == 'mceMax') {
+ w.oldPos = w.element.getXY();
+ w.oldSize = w.element.getSize();
+
+ vp = DOM.getViewPort();
+
+ // Reduce viewport size to avoid scrollbars
+ vp.w -= 2;
+ vp.h -= 2;
+
+ w.element.moveTo(vp.x, vp.y);
+ w.element.resizeTo(vp.w, vp.h);
+ DOM.setStyles(id + '_ifr', {width : vp.w - w.deltaWidth, height : vp.h - w.deltaHeight});
+ DOM.addClass(id + '_wrapper', 'mceMaximized');
+ } else if (n.className == 'mceMed') {
+ // Reset to old size
+ w.element.moveTo(w.oldPos.x, w.oldPos.y);
+ w.element.resizeTo(w.oldSize.w, w.oldSize.h);
+ w.iframeElement.resizeTo(w.oldSize.w - w.deltaWidth, w.oldSize.h - w.deltaHeight);
+
+ DOM.removeClass(id + '_wrapper', 'mceMaximized');
+ } else if (n.className == 'mceMove')
+ return t._startDrag(id, e, n.className);
+ else if (DOM.hasClass(n, 'mceResize'))
+ return t._startDrag(id, e, n.className.substring(13));
+ }
+ });
+
+ clf = Event.add(id, 'click', function(e) {
+ var n = e.target;
+
+ t.focus(id);
+
+ if (n.nodeName == 'A' || n.nodeName == 'a') {
+ switch (n.className) {
+ case 'mceClose':
+ t.close(null, id);
+ return Event.cancel(e);
+
+ case 'mceButton mceOk':
+ case 'mceButton mceCancel':
+ f.button_func(n.className == 'mceButton mceOk');
+ return Event.cancel(e);
+ }
+ }
+ });
+
+ // Make sure the tab order loops within the dialog.
+ Event.add([id + '_left', id + '_right'], 'focus', function(evt) {
+ var iframe = DOM.get(id + '_ifr');
+ if (iframe) {
+ var body = iframe.contentWindow.document.body;
+ var focusable = DOM.select(':input:enabled,*[tabindex=0]', body);
+ if (evt.target.id === (id + '_left')) {
+ focusable[focusable.length - 1].focus();
+ } else {
+ focusable[0].focus();
+ }
+ } else {
+ DOM.get(id + '_ok').focus();
+ }
+ });
+
+ // Add window
+ w = t.windows[id] = {
+ id : id,
+ mousedown_func : mdf,
+ click_func : clf,
+ element : new Element(id, {blocker : 1, container : ed.getContainer()}),
+ iframeElement : new Element(id + '_ifr'),
+ features : f,
+ deltaWidth : dw,
+ deltaHeight : dh
+ };
+
+ w.iframeElement.on('focus', function() {
+ t.focus(id);
+ });
+
+ // Setup blocker
+ if (t.count == 0 && t.editor.getParam('dialog_type', 'modal') == 'modal') {
+ DOM.add(DOM.doc.body, 'div', {
+ id : 'mceModalBlocker',
+ 'class' : (t.editor.settings.inlinepopups_skin || 'clearlooks2') + '_modalBlocker',
+ style : {zIndex : t.zIndex - 1}
+ });
+
+ DOM.show('mceModalBlocker'); // Reduces flicker in IE
+ DOM.setAttrib(DOM.doc.body, 'aria-hidden', 'true');
+ } else
+ DOM.setStyle('mceModalBlocker', 'z-index', t.zIndex - 1);
+
+ if (tinymce.isIE6 || /Firefox\/2\./.test(navigator.userAgent) || (tinymce.isIE && !DOM.boxModel))
+ DOM.setStyles('mceModalBlocker', {position : 'absolute', left : vp.x, top : vp.y, width : vp.w - 2, height : vp.h - 2});
+
+ DOM.setAttrib(id, 'aria-hidden', 'false');
+ t.focus(id);
+ t._fixIELayout(id, 1);
+
+ // Focus ok button
+ if (DOM.get(id + '_ok'))
+ DOM.get(id + '_ok').focus();
+ t.count++;
+
+ return w;
+ },
+
+ focus : function(id) {
+ var t = this, w;
+
+ if (w = t.windows[id]) {
+ w.zIndex = this.zIndex++;
+ w.element.setStyle('zIndex', w.zIndex);
+ w.element.update();
+
+ id = id + '_wrapper';
+ DOM.removeClass(t.lastId, 'mceFocus');
+ DOM.addClass(id, 'mceFocus');
+ t.lastId = id;
+
+ if (w.focussedElement) {
+ w.focussedElement.focus();
+ } else if (DOM.get(id + '_ok')) {
+ DOM.get(w.id + '_ok').focus();
+ } else if (DOM.get(w.id + '_ifr')) {
+ DOM.get(w.id + '_ifr').focus();
+ }
+ }
+ },
+
+ _addAll : function(te, ne) {
+ var i, n, t = this, dom = tinymce.DOM;
+
+ if (is(ne, 'string'))
+ te.appendChild(dom.doc.createTextNode(ne));
+ else if (ne.length) {
+ te = te.appendChild(dom.create(ne[0], ne[1]));
+
+ for (i=2; i<ne.length; i++)
+ t._addAll(te, ne[i]);
+ }
+ },
+
+ _startDrag : function(id, se, ac) {
+ var t = this, mu, mm, d = DOM.doc, eb, w = t.windows[id], we = w.element, sp = we.getXY(), p, sz, ph, cp, vp, sx, sy, sex, sey, dx, dy, dw, dh;
+
+ // Get positons and sizes
+// cp = DOM.getPos(t.editor.getContainer());
+ cp = {x : 0, y : 0};
+ vp = DOM.getViewPort();
+
+ // Reduce viewport size to avoid scrollbars while dragging
+ vp.w -= 2;
+ vp.h -= 2;
+
+ sex = se.screenX;
+ sey = se.screenY;
+ dx = dy = dw = dh = 0;
+
+ // Handle mouse up
+ mu = Event.add(d, 'mouseup', function(e) {
+ Event.remove(d, 'mouseup', mu);
+ Event.remove(d, 'mousemove', mm);
+
+ if (eb)
+ eb.remove();
+
+ we.moveBy(dx, dy);
+ we.resizeBy(dw, dh);
+ sz = we.getSize();
+ DOM.setStyles(id + '_ifr', {width : sz.w - w.deltaWidth, height : sz.h - w.deltaHeight});
+ t._fixIELayout(id, 1);
+
+ return Event.cancel(e);
+ });
+
+ if (ac != 'Move')
+ startMove();
+
+ function startMove() {
+ if (eb)
+ return;
+
+ t._fixIELayout(id, 0);
+
+ // Setup event blocker
+ DOM.add(d.body, 'div', {
+ id : 'mceEventBlocker',
+ 'class' : 'mceEventBlocker ' + (t.editor.settings.inlinepopups_skin || 'clearlooks2'),
+ style : {zIndex : t.zIndex + 1}
+ });
+
+ if (tinymce.isIE6 || (tinymce.isIE && !DOM.boxModel))
+ DOM.setStyles('mceEventBlocker', {position : 'absolute', left : vp.x, top : vp.y, width : vp.w - 2, height : vp.h - 2});
+
+ eb = new Element('mceEventBlocker');
+ eb.update();
+
+ // Setup placeholder
+ p = we.getXY();
+ sz = we.getSize();
+ sx = cp.x + p.x - vp.x;
+ sy = cp.y + p.y - vp.y;
+ DOM.add(eb.get(), 'div', {id : 'mcePlaceHolder', 'class' : 'mcePlaceHolder', style : {left : sx, top : sy, width : sz.w, height : sz.h}});
+ ph = new Element('mcePlaceHolder');
+ };
+
+ // Handle mouse move/drag
+ mm = Event.add(d, 'mousemove', function(e) {
+ var x, y, v;
+
+ startMove();
+
+ x = e.screenX - sex;
+ y = e.screenY - sey;
+
+ switch (ac) {
+ case 'ResizeW':
+ dx = x;
+ dw = 0 - x;
+ break;
+
+ case 'ResizeE':
+ dw = x;
+ break;
+
+ case 'ResizeN':
+ case 'ResizeNW':
+ case 'ResizeNE':
+ if (ac == "ResizeNW") {
+ dx = x;
+ dw = 0 - x;
+ } else if (ac == "ResizeNE")
+ dw = x;
+
+ dy = y;
+ dh = 0 - y;
+ break;
+
+ case 'ResizeS':
+ case 'ResizeSW':
+ case 'ResizeSE':
+ if (ac == "ResizeSW") {
+ dx = x;
+ dw = 0 - x;
+ } else if (ac == "ResizeSE")
+ dw = x;
+
+ dh = y;
+ break;
+
+ case 'mceMove':
+ dx = x;
+ dy = y;
+ break;
+ }
+
+ // Boundary check
+ if (dw < (v = w.features.min_width - sz.w)) {
+ if (dx !== 0)
+ dx += dw - v;
+
+ dw = v;
+ }
+
+ if (dh < (v = w.features.min_height - sz.h)) {
+ if (dy !== 0)
+ dy += dh - v;
+
+ dh = v;
+ }
+
+ dw = Math.min(dw, w.features.max_width - sz.w);
+ dh = Math.min(dh, w.features.max_height - sz.h);
+ dx = Math.max(dx, vp.x - (sx + vp.x));
+ dy = Math.max(dy, vp.y - (sy + vp.y));
+ dx = Math.min(dx, (vp.w + vp.x) - (sx + sz.w + vp.x));
+ dy = Math.min(dy, (vp.h + vp.y) - (sy + sz.h + vp.y));
+
+ // Move if needed
+ if (dx + dy !== 0) {
+ if (sx + dx < 0)
+ dx = 0;
+
+ if (sy + dy < 0)
+ dy = 0;
+
+ ph.moveTo(sx + dx, sy + dy);
+ }
+
+ // Resize if needed
+ if (dw + dh !== 0)
+ ph.resizeTo(sz.w + dw, sz.h + dh);
+
+ return Event.cancel(e);
+ });
+
+ return Event.cancel(se);
+ },
+
+ resizeBy : function(dw, dh, id) {
+ var w = this.windows[id];
+
+ if (w) {
+ w.element.resizeBy(dw, dh);
+ w.iframeElement.resizeBy(dw, dh);
+ }
+ },
+
+ close : function(win, id) {
+ var t = this, w, d = DOM.doc, fw, id;
+
+ id = t._findId(id || win);
+
+ // Probably not inline
+ if (!t.windows[id]) {
+ t.parent(win);
+ return;
+ }
+
+ t.count--;
+
+ if (t.count == 0) {
+ DOM.remove('mceModalBlocker');
+ DOM.setAttrib(DOM.doc.body, 'aria-hidden', 'false');
+ t.editor.focus();
+ }
+
+ if (w = t.windows[id]) {
+ t.onClose.dispatch(t);
+ Event.remove(d, 'mousedown', w.mousedownFunc);
+ Event.remove(d, 'click', w.clickFunc);
+ Event.clear(id);
+ Event.clear(id + '_ifr');
+
+ DOM.setAttrib(id + '_ifr', 'src', 'javascript:""'); // Prevent leak
+ w.element.remove();
+ delete t.windows[id];
+
+ fw = t._frontWindow();
+
+ if (fw)
+ t.focus(fw.id);
+ }
+ },
+
+ // Find front most window
+ _frontWindow : function() {
+ var fw, ix = 0;
+ // Find front most window and focus that
+ each (this.windows, function(w) {
+ if (w.zIndex > ix) {
+ fw = w;
+ ix = w.zIndex;
+ }
+ });
+ return fw;
+ },
+
+ setTitle : function(w, ti) {
+ var e;
+
+ w = this._findId(w);
+
+ if (e = DOM.get(w + '_title'))
+ e.innerHTML = DOM.encode(ti);
+ },
+
+ alert : function(txt, cb, s) {
+ var t = this, w;
+
+ w = t.open({
+ title : t,
+ type : 'alert',
+ button_func : function(s) {
+ if (cb)
+ cb.call(s || t, s);
+
+ t.close(null, w.id);
+ },
+ content : DOM.encode(t.editor.getLang(txt, txt)),
+ inline : 1,
+ width : 400,
+ height : 130
+ });
+ },
+
+ confirm : function(txt, cb, s) {
+ var t = this, w;
+
+ w = t.open({
+ title : t,
+ type : 'confirm',
+ button_func : function(s) {
+ if (cb)
+ cb.call(s || t, s);
+
+ t.close(null, w.id);
+ },
+ content : DOM.encode(t.editor.getLang(txt, txt)),
+ inline : 1,
+ width : 400,
+ height : 130
+ });
+ },
+
+ // Internal functions
+
+ _findId : function(w) {
+ var t = this;
+
+ if (typeof(w) == 'string')
+ return w;
+
+ each(t.windows, function(wo) {
+ var ifr = DOM.get(wo.id + '_ifr');
+
+ if (ifr && w == ifr.contentWindow) {
+ w = wo.id;
+ return false;
+ }
+ });
+
+ return w;
+ },
+
+ _fixIELayout : function(id, s) {
+ var w, img;
+
+ if (!tinymce.isIE6)
+ return;
+
+ // Fixes the bug where hover flickers and does odd things in IE6
+ each(['n','s','w','e','nw','ne','sw','se'], function(v) {
+ var e = DOM.get(id + '_resize_' + v);
+
+ DOM.setStyles(e, {
+ width : s ? e.clientWidth : '',
+ height : s ? e.clientHeight : '',
+ cursor : DOM.getStyle(e, 'cursor', 1)
+ });
+
+ DOM.setStyle(id + "_bottom", 'bottom', '-1px');
+
+ e = 0;
+ });
+
+ // Fixes graphics glitch
+ if (w = this.windows[id]) {
+ // Fixes rendering bug after resize
+ w.element.hide();
+ w.element.show();
+
+ // Forced a repaint of the window
+ //DOM.get(id).style.filter = '';
+
+ // IE has a bug where images used in CSS won't get loaded
+ // sometimes when the cache in the browser is disabled
+ // This fix tries to solve it by loading the images using the image object
+ each(DOM.select('div,a', id), function(e, i) {
+ if (e.currentStyle.backgroundImage != 'none') {
+ img = new Image();
+ img.src = e.currentStyle.backgroundImage.replace(/url\(\"(.+)\"\)/, '$1');
+ }
+ });
+
+ DOM.get(id).style.filter = '';
+ }
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('inlinepopups', tinymce.plugins.InlinePopups);
+})();
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif
new file mode 100644
index 00000000..21913985
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif
new file mode 100644
index 00000000..f957e49a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif
new file mode 100644
index 00000000..6baf64ad
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif
new file mode 100644
index 00000000..20acbbf7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif
new file mode 100644
index 00000000..d5de1cc2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif
new file mode 100644
index 00000000..c2a2ad45
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif
new file mode 100644
index 00000000..0b4cc368
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css
new file mode 100644
index 00000000..a50d4fc5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css
@@ -0,0 +1,90 @@
+/* Clearlooks 2 */
+
+/* Reset */
+.clearlooks2, .clearlooks2 div, .clearlooks2 span, .clearlooks2 a {vertical-align:baseline; text-align:left; position:absolute; border:0; padding:0; margin:0; background:transparent; font-family:Arial,Verdana; font-size:11px; color:#000; text-decoration:none; font-weight:normal; width:auto; height:auto; overflow:hidden; display:block}
+
+/* General */
+.clearlooks2 {position:absolute; direction:ltr}
+.clearlooks2 .mceWrapper {position:static}
+.mceEventBlocker {position:fixed; left:0; top:0; background:url(img/horizontal.gif) no-repeat 0 -75px; width:100%; height:100%}
+.clearlooks2 .mcePlaceHolder {border:1px solid #000; background:#888; top:0; left:0; opacity:0.5; -ms-filter:'alpha(opacity=50)'; filter:alpha(opacity=50)}
+.clearlooks2_modalBlocker {position:fixed; left:0; top:0; width:100%; height:100%; background:#FFF; opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60); display:none}
+
+/* Top */
+.clearlooks2 .mceTop, .clearlooks2 .mceTop div {top:0; width:100%; height:23px}
+.clearlooks2 .mceTop .mceLeft {width:6px; background:url(img/corners.gif)}
+.clearlooks2 .mceTop .mceCenter {right:6px; width:100%; height:23px; background:url(img/horizontal.gif) 12px 0; clip:rect(auto auto auto 12px)}
+.clearlooks2 .mceTop .mceRight {right:0; width:6px; height:23px; background:url(img/corners.gif) -12px 0}
+.clearlooks2 .mceTop span {width:100%; text-align:center; vertical-align:middle; line-height:23px; font-weight:bold}
+.clearlooks2 .mceFocus .mceTop .mceLeft {background:url(img/corners.gif) -6px 0}
+.clearlooks2 .mceFocus .mceTop .mceCenter {background:url(img/horizontal.gif) 0 -23px}
+.clearlooks2 .mceFocus .mceTop .mceRight {background:url(img/corners.gif) -18px 0}
+.clearlooks2 .mceFocus .mceTop span {color:#FFF}
+
+/* Middle */
+.clearlooks2 .mceMiddle, .clearlooks2 .mceMiddle div {top:0}
+.clearlooks2 .mceMiddle {width:100%; height:100%; clip:rect(23px auto auto auto)}
+.clearlooks2 .mceMiddle .mceLeft {left:0; width:5px; height:100%; background:url(img/vertical.gif) -5px 0}
+.clearlooks2 .mceMiddle span {top:23px; left:5px; width:100%; height:100%; background:#FFF}
+.clearlooks2 .mceMiddle .mceRight {right:0; width:5px; height:100%; background:url(img/vertical.gif)}
+
+/* Bottom */
+.clearlooks2 .mceBottom, .clearlooks2 .mceBottom div {height:6px}
+.clearlooks2 .mceBottom {left:0; bottom:0; width:100%}
+.clearlooks2 .mceBottom div {top:0}
+.clearlooks2 .mceBottom .mceLeft {left:0; width:5px; background:url(img/corners.gif) -34px -6px}
+.clearlooks2 .mceBottom .mceCenter {left:5px; width:100%; background:url(img/horizontal.gif) 0 -46px}
+.clearlooks2 .mceBottom .mceRight {right:0; width:5px; background: url(img/corners.gif) -34px 0}
+.clearlooks2 .mceBottom span {display:none}
+.clearlooks2 .mceStatusbar .mceBottom, .clearlooks2 .mceStatusbar .mceBottom div {height:23px}
+.clearlooks2 .mceStatusbar .mceBottom .mceLeft {background:url(img/corners.gif) -29px 0}
+.clearlooks2 .mceStatusbar .mceBottom .mceCenter {background:url(img/horizontal.gif) 0 -52px}
+.clearlooks2 .mceStatusbar .mceBottom .mceRight {background:url(img/corners.gif) -24px 0}
+.clearlooks2 .mceStatusbar .mceBottom span {display:block; left:7px; font-family:Arial, Verdana; font-size:11px; line-height:23px}
+
+/* Actions */
+.clearlooks2 a {width:29px; height:16px; top:3px;}
+.clearlooks2 .mceClose {right:6px; background:url(img/buttons.gif) -87px 0}
+.clearlooks2 .mceMin {display:none; right:68px; background:url(img/buttons.gif) 0 0}
+.clearlooks2 .mceMed {display:none; right:37px; background:url(img/buttons.gif) -29px 0}
+.clearlooks2 .mceMax {display:none; right:37px; background:url(img/buttons.gif) -58px 0}
+.clearlooks2 .mceMove {display:none;width:100%;cursor:move;background:url(img/corners.gif) no-repeat -100px -100px}
+.clearlooks2 .mceMovable .mceMove {display:block}
+.clearlooks2 .mceFocus .mceClose {right:6px; background:url(img/buttons.gif) -87px -16px}
+.clearlooks2 .mceFocus .mceMin {right:68px; background:url(img/buttons.gif) 0 -16px}
+.clearlooks2 .mceFocus .mceMed {right:37px; background:url(img/buttons.gif) -29px -16px}
+.clearlooks2 .mceFocus .mceMax {right:37px; background:url(img/buttons.gif) -58px -16px}
+.clearlooks2 .mceFocus .mceClose:hover {right:6px; background:url(img/buttons.gif) -87px -32px}
+.clearlooks2 .mceFocus .mceClose:hover {right:6px; background:url(img/buttons.gif) -87px -32px}
+.clearlooks2 .mceFocus .mceMin:hover {right:68px; background:url(img/buttons.gif) 0 -32px}
+.clearlooks2 .mceFocus .mceMed:hover {right:37px; background:url(img/buttons.gif) -29px -32px}
+.clearlooks2 .mceFocus .mceMax:hover {right:37px; background:url(img/buttons.gif) -58px -32px}
+
+/* Resize */
+.clearlooks2 .mceResize {top:auto; left:auto; display:none; width:5px; height:5px; background:url(img/horizontal.gif) no-repeat 0 -75px}
+.clearlooks2 .mceResizable .mceResize {display:block}
+.clearlooks2 .mceResizable .mceMin, .clearlooks2 .mceMax {display:none}
+.clearlooks2 .mceMinimizable .mceMin {display:block}
+.clearlooks2 .mceMaximizable .mceMax {display:block}
+.clearlooks2 .mceMaximized .mceMed {display:block}
+.clearlooks2 .mceMaximized .mceMax {display:none}
+.clearlooks2 a.mceResizeN {top:0; left:0; width:100%; cursor:n-resize}
+.clearlooks2 a.mceResizeNW {top:0; left:0; cursor:nw-resize}
+.clearlooks2 a.mceResizeNE {top:0; right:0; cursor:ne-resize}
+.clearlooks2 a.mceResizeW {top:0; left:0; height:100%; cursor:w-resize;}
+.clearlooks2 a.mceResizeE {top:0; right:0; height:100%; cursor:e-resize}
+.clearlooks2 a.mceResizeS {bottom:0; left:0; width:100%; cursor:s-resize}
+.clearlooks2 a.mceResizeSW {bottom:0; left:0; cursor:sw-resize}
+.clearlooks2 a.mceResizeSE {bottom:0; right:0; cursor:se-resize}
+
+/* Alert/Confirm */
+.clearlooks2 .mceButton {font-weight:bold; bottom:10px; width:80px; height:30px; background:url(img/button.gif); line-height:30px; vertical-align:middle; text-align:center; outline:0}
+.clearlooks2 .mceMiddle .mceIcon {left:15px; top:35px; width:32px; height:32px}
+.clearlooks2 .mceAlert .mceMiddle span, .clearlooks2 .mceConfirm .mceMiddle span {background:transparent;left:60px; top:35px; width:320px; height:50px; font-weight:bold; overflow:auto; white-space:normal}
+.clearlooks2 a:hover {font-weight:bold;}
+.clearlooks2 .mceAlert .mceMiddle, .clearlooks2 .mceConfirm .mceMiddle {background:#D6D7D5}
+.clearlooks2 .mceAlert .mceOk {left:50%; top:auto; margin-left: -40px}
+.clearlooks2 .mceAlert .mceIcon {background:url(img/alert.gif)}
+.clearlooks2 .mceConfirm .mceOk {left:50%; top:auto; margin-left: -90px}
+.clearlooks2 .mceConfirm .mceCancel {left:50%; top:auto}
+.clearlooks2 .mceConfirm .mceIcon {background:url(img/confirm.gif)}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/template.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/template.htm
new file mode 100644
index 00000000..f9ec6421
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/template.htm
@@ -0,0 +1,387 @@
+<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Template for dialogs</title>
+<link rel="stylesheet" type="text/css" href="skins/clearlooks2/window.css" />
+</head>
+<body>
+
+<div class="mceEditor">
+ <div class="clearlooks2" style="width:400px; height:100px; left:10px;">
+ <div class="mceWrapper">
+ <div class="mceTop">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Blured</span>
+ </div>
+
+ <div class="mceMiddle">
+ <div class="mceLeft"></div>
+ <span>Content</span>
+ <div class="mceRight"></div>
+ </div>
+
+ <div class="mceBottom">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Statusbar text.</span>
+ </div>
+
+ <a class="mceMove" href="#"></a>
+ <a class="mceMin" href="#"></a>
+ <a class="mceMax" href="#"></a>
+ <a class="mceMed" href="#"></a>
+ <a class="mceClose" href="#"></a>
+ <a class="mceResize mceResizeN" href="#"></a>
+ <a class="mceResize mceResizeS" href="#"></a>
+ <a class="mceResize mceResizeW" href="#"></a>
+ <a class="mceResize mceResizeE" href="#"></a>
+ <a class="mceResize mceResizeNW" href="#"></a>
+ <a class="mceResize mceResizeNE" href="#"></a>
+ <a class="mceResize mceResizeSW" href="#"></a>
+ <a class="mceResize mceResizeSE" href="#"></a>
+ </div>
+ </div>
+
+ <div class="clearlooks2" style="width:400px; height:100px; left:420px;">
+ <div class="mceWrapper mceMovable mceFocus">
+ <div class="mceTop">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Focused</span>
+ </div>
+
+ <div class="mceMiddle">
+ <div class="mceLeft"></div>
+ <span>Content</span>
+ <div class="mceRight"></div>
+ </div>
+
+ <div class="mceBottom">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Statusbar text.</span>
+ </div>
+
+ <a class="mceMove" href="#"></a>
+ <a class="mceMin" href="#"></a>
+ <a class="mceMax" href="#"></a>
+ <a class="mceMed" href="#"></a>
+ <a class="mceClose" href="#"></a>
+ <a class="mceResize mceResizeN" href="#"></a>
+ <a class="mceResize mceResizeS" href="#"></a>
+ <a class="mceResize mceResizeW" href="#"></a>
+ <a class="mceResize mceResizeE" href="#"></a>
+ <a class="mceResize mceResizeNW" href="#"></a>
+ <a class="mceResize mceResizeNE" href="#"></a>
+ <a class="mceResize mceResizeSW" href="#"></a>
+ <a class="mceResize mceResizeSE" href="#"></a>
+ </div>
+ </div>
+
+ <div class="clearlooks2" style="width:400px; height:100px; left:10px; top:120px;">
+ <div class="mceWrapper mceMovable mceFocus mceStatusbar">
+ <div class="mceTop">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Statusbar</span>
+ </div>
+
+ <div class="mceMiddle">
+ <div class="mceLeft"></div>
+ <span>Content</span>
+ <div class="mceRight"></div>
+ </div>
+
+ <div class="mceBottom">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Statusbar text.</span>
+ </div>
+
+ <a class="mceMove" href="#"></a>
+ <a class="mceMin" href="#"></a>
+ <a class="mceMax" href="#"></a>
+ <a class="mceMed" href="#"></a>
+ <a class="mceClose" href="#"></a>
+ <a class="mceResize mceResizeN" href="#"></a>
+ <a class="mceResize mceResizeS" href="#"></a>
+ <a class="mceResize mceResizeW" href="#"></a>
+ <a class="mceResize mceResizeE" href="#"></a>
+ <a class="mceResize mceResizeNW" href="#"></a>
+ <a class="mceResize mceResizeNE" href="#"></a>
+ <a class="mceResize mceResizeSW" href="#"></a>
+ <a class="mceResize mceResizeSE" href="#"></a>
+ </div>
+ </div>
+
+ <div class="clearlooks2" style="width:400px; height:100px; left:420px; top:120px;">
+ <div class="mceWrapper mceMovable mceFocus mceStatusbar mceResizable">
+ <div class="mceTop">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Statusbar, Resizable</span>
+ </div>
+
+ <div class="mceMiddle">
+ <div class="mceLeft"></div>
+ <span>Content</span>
+ <div class="mceRight"></div>
+ </div>
+
+ <div class="mceBottom">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Statusbar text.</span>
+ </div>
+
+ <a class="mceMove" href="#"></a>
+ <a class="mceMin" href="#"></a>
+ <a class="mceMax" href="#"></a>
+ <a class="mceMed" href="#"></a>
+ <a class="mceClose" href="#"></a>
+ <a class="mceResize mceResizeN" href="#"></a>
+ <a class="mceResize mceResizeS" href="#"></a>
+ <a class="mceResize mceResizeW" href="#"></a>
+ <a class="mceResize mceResizeE" href="#"></a>
+ <a class="mceResize mceResizeNW" href="#"></a>
+ <a class="mceResize mceResizeNE" href="#"></a>
+ <a class="mceResize mceResizeSW" href="#"></a>
+ <a class="mceResize mceResizeSE" href="#"></a>
+ </div>
+ </div>
+
+ <div class="clearlooks2" style="width:400px; height:100px; left:10px; top:230px;">
+ <div class="mceWrapper mceMovable mceFocus mceResizable mceMaximizable">
+ <div class="mceTop">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Resizable, Maximizable</span>
+ </div>
+
+ <div class="mceMiddle">
+ <div class="mceLeft"></div>
+ <span>Content</span>
+ <div class="mceRight"></div>
+ </div>
+
+ <div class="mceBottom">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Statusbar text.</span>
+ </div>
+
+ <a class="mceMove" href="#"></a>
+ <a class="mceMin" href="#"></a>
+ <a class="mceMax" href="#"></a>
+ <a class="mceMed" href="#"></a>
+ <a class="mceClose" href="#"></a>
+ <a class="mceResize mceResizeN" href="#"></a>
+ <a class="mceResize mceResizeS" href="#"></a>
+ <a class="mceResize mceResizeW" href="#"></a>
+ <a class="mceResize mceResizeE" href="#"></a>
+ <a class="mceResize mceResizeNW" href="#"></a>
+ <a class="mceResize mceResizeNE" href="#"></a>
+ <a class="mceResize mceResizeSW" href="#"></a>
+ <a class="mceResize mceResizeSE" href="#"></a>
+ </div>
+ </div>
+
+ <div class="clearlooks2" style="width:400px; height:100px; left:420px; top:230px;">
+ <div class="mceWrapper mceMovable mceStatusbar mceResizable mceMaximizable">
+ <div class="mceTop">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Blurred, Maximizable, Statusbar, Resizable</span>
+ </div>
+
+ <div class="mceMiddle">
+ <div class="mceLeft"></div>
+ <span>Content</span>
+ <div class="mceRight"></div>
+ </div>
+
+ <div class="mceBottom">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Statusbar text.</span>
+ </div>
+
+ <a class="mceMove" href="#"></a>
+ <a class="mceMin" href="#"></a>
+ <a class="mceMax" href="#"></a>
+ <a class="mceMed" href="#"></a>
+ <a class="mceClose" href="#"></a>
+ <a class="mceResize mceResizeN" href="#"></a>
+ <a class="mceResize mceResizeS" href="#"></a>
+ <a class="mceResize mceResizeW" href="#"></a>
+ <a class="mceResize mceResizeE" href="#"></a>
+ <a class="mceResize mceResizeNW" href="#"></a>
+ <a class="mceResize mceResizeNE" href="#"></a>
+ <a class="mceResize mceResizeSW" href="#"></a>
+ <a class="mceResize mceResizeSE" href="#"></a>
+ </div>
+ </div>
+
+ <div class="clearlooks2" style="width:400px; height:100px; left:10px; top:340px;">
+ <div class="mceWrapper mceMovable mceFocus mceResizable mceMaximized mceMinimizable mceMaximizable">
+ <div class="mceTop">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Maximized, Maximizable, Minimizable</span>
+ </div>
+
+ <div class="mceMiddle">
+ <div class="mceLeft"></div>
+ <span>Content</span>
+ <div class="mceRight"></div>
+ </div>
+
+ <div class="mceBottom">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Statusbar text.</span>
+ </div>
+
+ <a class="mceMove" href="#"></a>
+ <a class="mceMin" href="#"></a>
+ <a class="mceMax" href="#"></a>
+ <a class="mceMed" href="#"></a>
+ <a class="mceClose" href="#"></a>
+ <a class="mceResize mceResizeN" href="#"></a>
+ <a class="mceResize mceResizeS" href="#"></a>
+ <a class="mceResize mceResizeW" href="#"></a>
+ <a class="mceResize mceResizeE" href="#"></a>
+ <a class="mceResize mceResizeNW" href="#"></a>
+ <a class="mceResize mceResizeNE" href="#"></a>
+ <a class="mceResize mceResizeSW" href="#"></a>
+ <a class="mceResize mceResizeSE" href="#"></a>
+ </div>
+ </div>
+
+ <div class="clearlooks2" style="width:400px; height:100px; left:420px; top:340px;">
+ <div class="mceWrapper mceMovable mceStatusbar mceResizable mceMaximized mceMinimizable mceMaximizable">
+ <div class="mceTop">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Blured</span>
+ </div>
+
+ <div class="mceMiddle">
+ <div class="mceLeft"></div>
+ <span>Content</span>
+ <div class="mceRight"></div>
+ </div>
+
+ <div class="mceBottom">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Statusbar text.</span>
+ </div>
+
+ <a class="mceMove" href="#"></a>
+ <a class="mceMin" href="#"></a>
+ <a class="mceMax" href="#"></a>
+ <a class="mceMed" href="#"></a>
+ <a class="mceClose" href="#"></a>
+ <a class="mceResize mceResizeN" href="#"></a>
+ <a class="mceResize mceResizeS" href="#"></a>
+ <a class="mceResize mceResizeW" href="#"></a>
+ <a class="mceResize mceResizeE" href="#"></a>
+ <a class="mceResize mceResizeNW" href="#"></a>
+ <a class="mceResize mceResizeNE" href="#"></a>
+ <a class="mceResize mceResizeSW" href="#"></a>
+ <a class="mceResize mceResizeSE" href="#"></a>
+ </div>
+ </div>
+
+ <div class="clearlooks2" style="width:400px; height:130px; left:10px; top:450px;">
+ <div class="mceWrapper mceMovable mceFocus mceModal mceAlert">
+ <div class="mceTop">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Alert</span>
+ </div>
+
+ <div class="mceMiddle">
+ <div class="mceLeft"></div>
+ <span>
+ This is a very long error message. This is a very long error message.
+ This is a very long error message. This is a very long error message.
+ This is a very long error message. This is a very long error message.
+ This is a very long error message. This is a very long error message.
+ This is a very long error message. This is a very long error message.
+ This is a very long error message. This is a very long error message.
+ </span>
+ <div class="mceRight"></div>
+ <div class="mceIcon"></div>
+ </div>
+
+ <div class="mceBottom">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ </div>
+
+ <a class="mceMove" href="#"></a>
+ <a class="mceButton mceOk" href="#">Ok</a>
+ <a class="mceClose" href="#"></a>
+ </div>
+ </div>
+
+ <div class="clearlooks2" style="width:400px; height:130px; left:420px; top:450px;">
+ <div class="mceWrapper mceMovable mceFocus mceModal mceConfirm">
+ <div class="mceTop">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ <span>Confirm</span>
+ </div>
+
+ <div class="mceMiddle">
+ <div class="mceLeft"></div>
+ <span>
+ This is a very long error message. This is a very long error message.
+ This is a very long error message. This is a very long error message.
+ This is a very long error message. This is a very long error message.
+ This is a very long error message. This is a very long error message.
+ This is a very long error message. This is a very long error message.
+ This is a very long error message. This is a very long error message.
+ </span>
+ <div class="mceRight"></div>
+ <div class="mceIcon"></div>
+ </div>
+
+ <div class="mceBottom">
+ <div class="mceLeft"></div>
+ <div class="mceCenter"></div>
+ <div class="mceRight"></div>
+ </div>
+
+ <a class="mceMove" href="#"></a>
+ <a class="mceButton mceOk" href="#">Ok</a>
+ <a class="mceButton mceCancel" href="#">Cancel</a>
+ <a class="mceClose" href="#"></a>
+ </div>
+ </div>
+</div>
+
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/insertdatetime/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/insertdatetime/editor_plugin.js
new file mode 100755
index 00000000..938ce6b1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/insertdatetime/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.InsertDateTime",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceInsertDate",function(){var d=c._getDateTime(new Date(),a.getParam("plugin_insertdate_dateFormat",a.getLang("insertdatetime.date_fmt")));a.execCommand("mceInsertContent",false,d)});a.addCommand("mceInsertTime",function(){var d=c._getDateTime(new Date(),a.getParam("plugin_insertdate_timeFormat",a.getLang("insertdatetime.time_fmt")));a.execCommand("mceInsertContent",false,d)});a.addButton("insertdate",{title:"insertdatetime.insertdate_desc",cmd:"mceInsertDate"});a.addButton("inserttime",{title:"insertdatetime.inserttime_desc",cmd:"mceInsertTime"})},getInfo:function(){return{longname:"Insert date/time",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/insertdatetime",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_getDateTime:function(e,a){var c=this.editor;function b(g,d){g=""+g;if(g.length<d){for(var f=0;f<(d-g.length);f++){g="0"+g}}return g}a=a.replace("%D","%m/%d/%y");a=a.replace("%r","%I:%M:%S %p");a=a.replace("%Y",""+e.getFullYear());a=a.replace("%y",""+e.getYear());a=a.replace("%m",b(e.getMonth()+1,2));a=a.replace("%d",b(e.getDate(),2));a=a.replace("%H",""+b(e.getHours(),2));a=a.replace("%M",""+b(e.getMinutes(),2));a=a.replace("%S",""+b(e.getSeconds(),2));a=a.replace("%I",""+((e.getHours()+11)%12+1));a=a.replace("%p",""+(e.getHours()<12?"AM":"PM"));a=a.replace("%B",""+c.getLang("insertdatetime.months_long").split(",")[e.getMonth()]);a=a.replace("%b",""+c.getLang("insertdatetime.months_short").split(",")[e.getMonth()]);a=a.replace("%A",""+c.getLang("insertdatetime.day_long").split(",")[e.getDay()]);a=a.replace("%a",""+c.getLang("insertdatetime.day_short").split(",")[e.getDay()]);a=a.replace("%%","%");return a}});tinymce.PluginManager.add("insertdatetime",tinymce.plugins.InsertDateTime)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/insertdatetime/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/insertdatetime/editor_plugin_src.js
new file mode 100755
index 00000000..181c791e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/insertdatetime/editor_plugin_src.js
@@ -0,0 +1,83 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.InsertDateTime', {
+ init : function(ed, url) {
+ var t = this;
+
+ t.editor = ed;
+
+ ed.addCommand('mceInsertDate', function() {
+ var str = t._getDateTime(new Date(), ed.getParam("plugin_insertdate_dateFormat", ed.getLang('insertdatetime.date_fmt')));
+
+ ed.execCommand('mceInsertContent', false, str);
+ });
+
+ ed.addCommand('mceInsertTime', function() {
+ var str = t._getDateTime(new Date(), ed.getParam("plugin_insertdate_timeFormat", ed.getLang('insertdatetime.time_fmt')));
+
+ ed.execCommand('mceInsertContent', false, str);
+ });
+
+ ed.addButton('insertdate', {title : 'insertdatetime.insertdate_desc', cmd : 'mceInsertDate'});
+ ed.addButton('inserttime', {title : 'insertdatetime.inserttime_desc', cmd : 'mceInsertTime'});
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Insert date/time',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/insertdatetime',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ // Private methods
+
+ _getDateTime : function(d, fmt) {
+ var ed = this.editor;
+
+ function addZeros(value, len) {
+ value = "" + value;
+
+ if (value.length < len) {
+ for (var i=0; i<(len-value.length); i++)
+ value = "0" + value;
+ }
+
+ return value;
+ };
+
+ fmt = fmt.replace("%D", "%m/%d/%y");
+ fmt = fmt.replace("%r", "%I:%M:%S %p");
+ fmt = fmt.replace("%Y", "" + d.getFullYear());
+ fmt = fmt.replace("%y", "" + d.getYear());
+ fmt = fmt.replace("%m", addZeros(d.getMonth()+1, 2));
+ fmt = fmt.replace("%d", addZeros(d.getDate(), 2));
+ fmt = fmt.replace("%H", "" + addZeros(d.getHours(), 2));
+ fmt = fmt.replace("%M", "" + addZeros(d.getMinutes(), 2));
+ fmt = fmt.replace("%S", "" + addZeros(d.getSeconds(), 2));
+ fmt = fmt.replace("%I", "" + ((d.getHours() + 11) % 12 + 1));
+ fmt = fmt.replace("%p", "" + (d.getHours() < 12 ? "AM" : "PM"));
+ fmt = fmt.replace("%B", "" + ed.getLang("insertdatetime.months_long").split(',')[d.getMonth()]);
+ fmt = fmt.replace("%b", "" + ed.getLang("insertdatetime.months_short").split(',')[d.getMonth()]);
+ fmt = fmt.replace("%A", "" + ed.getLang("insertdatetime.day_long").split(',')[d.getDay()]);
+ fmt = fmt.replace("%a", "" + ed.getLang("insertdatetime.day_short").split(',')[d.getDay()]);
+ fmt = fmt.replace("%%", "%");
+
+ return fmt;
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('insertdatetime', tinymce.plugins.InsertDateTime);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/layer/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/layer/editor_plugin.js
new file mode 100755
index 00000000..ca3857a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/layer/editor_plugin.js
@@ -0,0 +1 @@
+(function(){function a(b){do{if(b.className&&b.className.indexOf("mceItemLayer")!=-1){return b}}while(b=b.parentNode)}tinymce.create("tinymce.plugins.Layer",{init:function(b,c){var d=this;d.editor=b;b.addCommand("mceInsertLayer",d._insertLayer,d);b.addCommand("mceMoveForward",function(){d._move(1)});b.addCommand("mceMoveBackward",function(){d._move(-1)});b.addCommand("mceMakeAbsolute",function(){d._toggleAbsolute()});b.addButton("moveforward",{title:"layer.forward_desc",cmd:"mceMoveForward"});b.addButton("movebackward",{title:"layer.backward_desc",cmd:"mceMoveBackward"});b.addButton("absolute",{title:"layer.absolute_desc",cmd:"mceMakeAbsolute"});b.addButton("insertlayer",{title:"layer.insertlayer_desc",cmd:"mceInsertLayer"});b.onInit.add(function(){var e=b.dom;if(tinymce.isIE){b.getDoc().execCommand("2D-Position",false,true)}});b.onMouseUp.add(function(f,h){var g=a(h.target);if(g){f.dom.setAttrib(g,"data-mce-style","")}});b.onMouseDown.add(function(f,j){var h=j.target,i=f.getDoc(),g;if(tinymce.isGecko){if(a(h)){if(i.designMode!=="on"){i.designMode="on";h=i.body;g=h.parentNode;g.removeChild(h);g.appendChild(h)}}else{if(i.designMode=="on"){i.designMode="off"}}}});b.onNodeChange.add(d._nodeChange,d);b.onVisualAid.add(d._visualAid,d)},getInfo:function(){return{longname:"Layer",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/layer",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_nodeChange:function(c,b,f){var d,e;d=this._getParentLayer(f);e=c.dom.getParent(f,"DIV,P,IMG");if(!e){b.setDisabled("absolute",1);b.setDisabled("moveforward",1);b.setDisabled("movebackward",1)}else{b.setDisabled("absolute",0);b.setDisabled("moveforward",!d);b.setDisabled("movebackward",!d);b.setActive("absolute",d&&d.style.position.toLowerCase()=="absolute")}},_visualAid:function(b,d,c){var f=b.dom;tinymce.each(f.select("div,p",d),function(g){if(/^(absolute|relative|fixed)$/i.test(g.style.position)){if(c){f.addClass(g,"mceItemVisualAid")}else{f.removeClass(g,"mceItemVisualAid")}f.addClass(g,"mceItemLayer")}})},_move:function(j){var c=this.editor,g,h=[],f=this._getParentLayer(c.selection.getNode()),e=-1,k=-1,b;b=[];tinymce.walk(c.getBody(),function(d){if(d.nodeType==1&&/^(absolute|relative|static)$/i.test(d.style.position)){b.push(d)}},"childNodes");for(g=0;g<b.length;g++){h[g]=b[g].style.zIndex?parseInt(b[g].style.zIndex):0;if(e<0&&b[g]==f){e=g}}if(j<0){for(g=0;g<h.length;g++){if(h[g]<h[e]){k=g;break}}if(k>-1){b[e].style.zIndex=h[k];b[k].style.zIndex=h[e]}else{if(h[e]>0){b[e].style.zIndex=h[e]-1}}}else{for(g=0;g<h.length;g++){if(h[g]>h[e]){k=g;break}}if(k>-1){b[e].style.zIndex=h[k];b[k].style.zIndex=h[e]}else{b[e].style.zIndex=h[e]+1}}c.execCommand("mceRepaint")},_getParentLayer:function(b){return this.editor.dom.getParent(b,function(c){return c.nodeType==1&&/^(absolute|relative|static)$/i.test(c.style.position)})},_insertLayer:function(){var c=this.editor,e=c.dom,d=e.getPos(e.getParent(c.selection.getNode(),"*")),b=c.getBody();c.dom.add(b,"div",{style:{position:"absolute",left:d.x,top:(d.y>20?d.y:20),width:100,height:100},"class":"mceItemVisualAid mceItemLayer"},c.selection.getContent()||c.getLang("layer.content"));if(tinymce.isIE){e.setHTML(b,b.innerHTML)}},_toggleAbsolute:function(){var b=this.editor,c=this._getParentLayer(b.selection.getNode());if(!c){c=b.dom.getParent(b.selection.getNode(),"DIV,P,IMG")}if(c){if(c.style.position.toLowerCase()=="absolute"){b.dom.setStyles(c,{position:"",left:"",top:"",width:"",height:""});b.dom.removeClass(c,"mceItemVisualAid");b.dom.removeClass(c,"mceItemLayer")}else{if(c.style.left==""){c.style.left=20+"px"}if(c.style.top==""){c.style.top=20+"px"}if(c.style.width==""){c.style.width=c.width?(c.width+"px"):"100px"}if(c.style.height==""){c.style.height=c.height?(c.height+"px"):"100px"}c.style.position="absolute";b.dom.setAttrib(c,"data-mce-style","");b.addVisual(b.getBody())}b.execCommand("mceRepaint");b.nodeChanged()}}});tinymce.PluginManager.add("layer",tinymce.plugins.Layer)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/layer/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/layer/editor_plugin_src.js
new file mode 100755
index 00000000..daed2806
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/layer/editor_plugin_src.js
@@ -0,0 +1,262 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ function findParentLayer(node) {
+ do {
+ if (node.className && node.className.indexOf('mceItemLayer') != -1) {
+ return node;
+ }
+ } while (node = node.parentNode);
+ };
+
+ tinymce.create('tinymce.plugins.Layer', {
+ init : function(ed, url) {
+ var t = this;
+
+ t.editor = ed;
+
+ // Register commands
+ ed.addCommand('mceInsertLayer', t._insertLayer, t);
+
+ ed.addCommand('mceMoveForward', function() {
+ t._move(1);
+ });
+
+ ed.addCommand('mceMoveBackward', function() {
+ t._move(-1);
+ });
+
+ ed.addCommand('mceMakeAbsolute', function() {
+ t._toggleAbsolute();
+ });
+
+ // Register buttons
+ ed.addButton('moveforward', {title : 'layer.forward_desc', cmd : 'mceMoveForward'});
+ ed.addButton('movebackward', {title : 'layer.backward_desc', cmd : 'mceMoveBackward'});
+ ed.addButton('absolute', {title : 'layer.absolute_desc', cmd : 'mceMakeAbsolute'});
+ ed.addButton('insertlayer', {title : 'layer.insertlayer_desc', cmd : 'mceInsertLayer'});
+
+ ed.onInit.add(function() {
+ var dom = ed.dom;
+
+ if (tinymce.isIE)
+ ed.getDoc().execCommand('2D-Position', false, true);
+ });
+
+ // Remove serialized styles when selecting a layer since it might be changed by a drag operation
+ ed.onMouseUp.add(function(ed, e) {
+ var layer = findParentLayer(e.target);
+
+ if (layer) {
+ ed.dom.setAttrib(layer, 'data-mce-style', '');
+ }
+ });
+
+ // Fixes edit focus issues with layers on Gecko
+ // This will enable designMode while inside a layer and disable it when outside
+ ed.onMouseDown.add(function(ed, e) {
+ var node = e.target, doc = ed.getDoc(), parent;
+
+ if (tinymce.isGecko) {
+ if (findParentLayer(node)) {
+ if (doc.designMode !== 'on') {
+ doc.designMode = 'on';
+
+ // Repaint caret
+ node = doc.body;
+ parent = node.parentNode;
+ parent.removeChild(node);
+ parent.appendChild(node);
+ }
+ } else if (doc.designMode == 'on') {
+ doc.designMode = 'off';
+ }
+ }
+ });
+
+ ed.onNodeChange.add(t._nodeChange, t);
+ ed.onVisualAid.add(t._visualAid, t);
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Layer',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/layer',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ // Private methods
+
+ _nodeChange : function(ed, cm, n) {
+ var le, p;
+
+ le = this._getParentLayer(n);
+ p = ed.dom.getParent(n, 'DIV,P,IMG');
+
+ if (!p) {
+ cm.setDisabled('absolute', 1);
+ cm.setDisabled('moveforward', 1);
+ cm.setDisabled('movebackward', 1);
+ } else {
+ cm.setDisabled('absolute', 0);
+ cm.setDisabled('moveforward', !le);
+ cm.setDisabled('movebackward', !le);
+ cm.setActive('absolute', le && le.style.position.toLowerCase() == "absolute");
+ }
+ },
+
+ // Private methods
+
+ _visualAid : function(ed, e, s) {
+ var dom = ed.dom;
+
+ tinymce.each(dom.select('div,p', e), function(e) {
+ if (/^(absolute|relative|fixed)$/i.test(e.style.position)) {
+ if (s)
+ dom.addClass(e, 'mceItemVisualAid');
+ else
+ dom.removeClass(e, 'mceItemVisualAid');
+
+ dom.addClass(e, 'mceItemLayer');
+ }
+ });
+ },
+
+ _move : function(d) {
+ var ed = this.editor, i, z = [], le = this._getParentLayer(ed.selection.getNode()), ci = -1, fi = -1, nl;
+
+ nl = [];
+ tinymce.walk(ed.getBody(), function(n) {
+ if (n.nodeType == 1 && /^(absolute|relative|static)$/i.test(n.style.position))
+ nl.push(n);
+ }, 'childNodes');
+
+ // Find z-indexes
+ for (i=0; i<nl.length; i++) {
+ z[i] = nl[i].style.zIndex ? parseInt(nl[i].style.zIndex) : 0;
+
+ if (ci < 0 && nl[i] == le)
+ ci = i;
+ }
+
+ if (d < 0) {
+ // Move back
+
+ // Try find a lower one
+ for (i=0; i<z.length; i++) {
+ if (z[i] < z[ci]) {
+ fi = i;
+ break;
+ }
+ }
+
+ if (fi > -1) {
+ nl[ci].style.zIndex = z[fi];
+ nl[fi].style.zIndex = z[ci];
+ } else {
+ if (z[ci] > 0)
+ nl[ci].style.zIndex = z[ci] - 1;
+ }
+ } else {
+ // Move forward
+
+ // Try find a higher one
+ for (i=0; i<z.length; i++) {
+ if (z[i] > z[ci]) {
+ fi = i;
+ break;
+ }
+ }
+
+ if (fi > -1) {
+ nl[ci].style.zIndex = z[fi];
+ nl[fi].style.zIndex = z[ci];
+ } else
+ nl[ci].style.zIndex = z[ci] + 1;
+ }
+
+ ed.execCommand('mceRepaint');
+ },
+
+ _getParentLayer : function(n) {
+ return this.editor.dom.getParent(n, function(n) {
+ return n.nodeType == 1 && /^(absolute|relative|static)$/i.test(n.style.position);
+ });
+ },
+
+ _insertLayer : function() {
+ var ed = this.editor, dom = ed.dom, p = dom.getPos(dom.getParent(ed.selection.getNode(), '*')), body = ed.getBody();
+
+ ed.dom.add(body, 'div', {
+ style : {
+ position : 'absolute',
+ left : p.x,
+ top : (p.y > 20 ? p.y : 20),
+ width : 100,
+ height : 100
+ },
+ 'class' : 'mceItemVisualAid mceItemLayer'
+ }, ed.selection.getContent() || ed.getLang('layer.content'));
+
+ // Workaround for IE where it messes up the JS engine if you insert a layer on IE 6,7
+ if (tinymce.isIE)
+ dom.setHTML(body, body.innerHTML);
+ },
+
+ _toggleAbsolute : function() {
+ var ed = this.editor, le = this._getParentLayer(ed.selection.getNode());
+
+ if (!le)
+ le = ed.dom.getParent(ed.selection.getNode(), 'DIV,P,IMG');
+
+ if (le) {
+ if (le.style.position.toLowerCase() == "absolute") {
+ ed.dom.setStyles(le, {
+ position : '',
+ left : '',
+ top : '',
+ width : '',
+ height : ''
+ });
+
+ ed.dom.removeClass(le, 'mceItemVisualAid');
+ ed.dom.removeClass(le, 'mceItemLayer');
+ } else {
+ if (le.style.left == "")
+ le.style.left = 20 + 'px';
+
+ if (le.style.top == "")
+ le.style.top = 20 + 'px';
+
+ if (le.style.width == "")
+ le.style.width = le.width ? (le.width + 'px') : '100px';
+
+ if (le.style.height == "")
+ le.style.height = le.height ? (le.height + 'px') : '100px';
+
+ le.style.position = "absolute";
+
+ ed.dom.setAttrib(le, 'data-mce-style', '');
+ ed.addVisual(ed.getBody());
+ }
+
+ ed.execCommand('mceRepaint');
+ ed.nodeChanged();
+ }
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('layer', tinymce.plugins.Layer);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/legacyoutput/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/legacyoutput/editor_plugin.js
new file mode 100644
index 00000000..2ed5f41a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/legacyoutput/editor_plugin.js
@@ -0,0 +1 @@
+(function(a){a.onAddEditor.addToTop(function(c,b){b.settings.inline_styles=false});a.create("tinymce.plugins.LegacyOutput",{init:function(b){b.onInit.add(function(){var c="p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",e=a.explode(b.settings.font_size_style_values),d=b.schema;b.formatter.register({alignleft:{selector:c,attributes:{align:"left"}},aligncenter:{selector:c,attributes:{align:"center"}},alignright:{selector:c,attributes:{align:"right"}},alignfull:{selector:c,attributes:{align:"justify"}},bold:[{inline:"b",remove:"all"},{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}}],italic:[{inline:"i",remove:"all"},{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}}],underline:[{inline:"u",remove:"all"},{inline:"span",styles:{textDecoration:"underline"},exact:true}],strikethrough:[{inline:"strike",remove:"all"},{inline:"span",styles:{textDecoration:"line-through"},exact:true}],fontname:{inline:"font",attributes:{face:"%value"}},fontsize:{inline:"font",attributes:{size:function(f){return a.inArray(e,f.value)+1}}},forecolor:{inline:"font",attributes:{color:"%value"}},hilitecolor:{inline:"font",styles:{backgroundColor:"%value"}}});a.each("b,i,u,strike".split(","),function(f){d.addValidElements(f+"[*]")});if(!d.getElementRule("font")){d.addValidElements("font[face|size|color|style]")}a.each(c.split(","),function(f){var h=d.getElementRule(f),g;if(h){if(!h.attributes.align){h.attributes.align={};h.attributesOrder.push("align")}}});b.onNodeChange.add(function(g,k){var j,f,h,i;f=g.dom.getParent(g.selection.getNode(),"font");if(f){h=f.face;i=f.size}if(j=k.get("fontselect")){j.select(function(l){return l==h})}if(j=k.get("fontsizeselect")){j.select(function(m){var l=a.inArray(e,m.fontSize);return l+1==i})}})})},getInfo:function(){return{longname:"LegacyOutput",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/legacyoutput",version:a.majorVersion+"."+a.minorVersion}}});a.PluginManager.add("legacyoutput",a.plugins.LegacyOutput)})(tinymce); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/legacyoutput/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/legacyoutput/editor_plugin_src.js
new file mode 100644
index 00000000..3cdcde57
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/legacyoutput/editor_plugin_src.js
@@ -0,0 +1,139 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ *
+ * This plugin will force TinyMCE to produce deprecated legacy output such as font elements, u elements, align
+ * attributes and so forth. There are a few cases where these old items might be needed for example in email applications or with Flash
+ *
+ * However you should NOT use this plugin if you are building some system that produces web contents such as a CMS. All these elements are
+ * not apart of the newer specifications for HTML and XHTML.
+ */
+
+(function(tinymce) {
+ // Override inline_styles setting to force TinyMCE to produce deprecated contents
+ tinymce.onAddEditor.addToTop(function(tinymce, editor) {
+ editor.settings.inline_styles = false;
+ });
+
+ // Create the legacy ouput plugin
+ tinymce.create('tinymce.plugins.LegacyOutput', {
+ init : function(editor) {
+ editor.onInit.add(function() {
+ var alignElements = 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img',
+ fontSizes = tinymce.explode(editor.settings.font_size_style_values),
+ schema = editor.schema;
+
+ // Override some internal formats to produce legacy elements and attributes
+ editor.formatter.register({
+ // Change alignment formats to use the deprecated align attribute
+ alignleft : {selector : alignElements, attributes : {align : 'left'}},
+ aligncenter : {selector : alignElements, attributes : {align : 'center'}},
+ alignright : {selector : alignElements, attributes : {align : 'right'}},
+ alignfull : {selector : alignElements, attributes : {align : 'justify'}},
+
+ // Change the basic formatting elements to use deprecated element types
+ bold : [
+ {inline : 'b', remove : 'all'},
+ {inline : 'strong', remove : 'all'},
+ {inline : 'span', styles : {fontWeight : 'bold'}}
+ ],
+ italic : [
+ {inline : 'i', remove : 'all'},
+ {inline : 'em', remove : 'all'},
+ {inline : 'span', styles : {fontStyle : 'italic'}}
+ ],
+ underline : [
+ {inline : 'u', remove : 'all'},
+ {inline : 'span', styles : {textDecoration : 'underline'}, exact : true}
+ ],
+ strikethrough : [
+ {inline : 'strike', remove : 'all'},
+ {inline : 'span', styles : {textDecoration: 'line-through'}, exact : true}
+ ],
+
+ // Change font size and font family to use the deprecated font element
+ fontname : {inline : 'font', attributes : {face : '%value'}},
+ fontsize : {
+ inline : 'font',
+ attributes : {
+ size : function(vars) {
+ return tinymce.inArray(fontSizes, vars.value) + 1;
+ }
+ }
+ },
+
+ // Setup font elements for colors as well
+ forecolor : {inline : 'font', attributes : {color : '%value'}},
+ hilitecolor : {inline : 'font', styles : {backgroundColor : '%value'}}
+ });
+
+ // Check that deprecated elements are allowed if not add them
+ tinymce.each('b,i,u,strike'.split(','), function(name) {
+ schema.addValidElements(name + '[*]');
+ });
+
+ // Add font element if it's missing
+ if (!schema.getElementRule("font"))
+ schema.addValidElements("font[face|size|color|style]");
+
+ // Add the missing and depreacted align attribute for the serialization engine
+ tinymce.each(alignElements.split(','), function(name) {
+ var rule = schema.getElementRule(name), found;
+
+ if (rule) {
+ if (!rule.attributes.align) {
+ rule.attributes.align = {};
+ rule.attributesOrder.push('align');
+ }
+ }
+ });
+
+ // Listen for the onNodeChange event so that we can do special logic for the font size and font name drop boxes
+ editor.onNodeChange.add(function(editor, control_manager) {
+ var control, fontElm, fontName, fontSize;
+
+ // Find font element get it's name and size
+ fontElm = editor.dom.getParent(editor.selection.getNode(), 'font');
+ if (fontElm) {
+ fontName = fontElm.face;
+ fontSize = fontElm.size;
+ }
+
+ // Select/unselect the font name in droplist
+ if (control = control_manager.get('fontselect')) {
+ control.select(function(value) {
+ return value == fontName;
+ });
+ }
+
+ // Select/unselect the font size in droplist
+ if (control = control_manager.get('fontsizeselect')) {
+ control.select(function(value) {
+ var index = tinymce.inArray(fontSizes, value.fontSize);
+
+ return index + 1 == fontSize;
+ });
+ }
+ });
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'LegacyOutput',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/legacyoutput',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('legacyoutput', tinymce.plugins.LegacyOutput);
+})(tinymce);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/lists/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/lists/editor_plugin.js
new file mode 100644
index 00000000..ec21b256
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/lists/editor_plugin.js
@@ -0,0 +1 @@
+(function(){var e=tinymce.each,r=tinymce.dom.Event,g;function p(t,s){while(t&&(t.nodeType===8||(t.nodeType===3&&/^[ \t\n\r]*$/.test(t.nodeValue)))){t=s(t)}return t}function b(s){return p(s,function(t){return t.previousSibling})}function i(s){return p(s,function(t){return t.nextSibling})}function d(s,u,t){return s.dom.getParent(u,function(v){return tinymce.inArray(t,v)!==-1})}function n(s){return s&&(s.tagName==="OL"||s.tagName==="UL")}function c(u,v){var t,w,s;t=b(u.lastChild);while(n(t)){w=t;t=b(w.previousSibling)}if(w){s=v.create("li",{style:"list-style-type: none;"});v.split(u,w);v.insertAfter(s,w);s.appendChild(w);s.appendChild(w);u=s.previousSibling}return u}function m(t,s,u){t=a(t,s,u);return o(t,s,u)}function a(u,s,v){var t=b(u.previousSibling);if(t){return h(t,u,s?t:false,v)}else{return u}}function o(u,t,v){var s=i(u.nextSibling);if(s){return h(u,s,t?s:false,v)}else{return u}}function h(u,s,t,v){if(l(u,s,!!t,v)){return f(u,s,t)}else{if(u&&u.tagName==="LI"&&n(s)){u.appendChild(s)}}return s}function l(u,t,s,v){if(!u||!t){return false}else{if(u.tagName==="LI"&&t.tagName==="LI"){return t.style.listStyleType==="none"||j(t)}else{if(n(u)){return(u.tagName===t.tagName&&(s||u.style.listStyleType===t.style.listStyleType))||q(t)}else{return v&&u.tagName==="P"&&t.tagName==="P"}}}}function q(t){var s=i(t.firstChild),u=b(t.lastChild);return s&&u&&n(t)&&s===u&&(n(s)||s.style.listStyleType==="none"||j(s))}function j(u){var t=i(u.firstChild),s=b(u.lastChild);return t&&s&&t===s&&n(t)}function f(w,v,s){var u=b(w.lastChild),t=i(v.firstChild);if(w.tagName==="P"){w.appendChild(w.ownerDocument.createElement("br"))}while(v.firstChild){w.appendChild(v.firstChild)}if(s){w.style.listStyleType=s.style.listStyleType}v.parentNode.removeChild(v);h(u,t,false);return w}function k(t,u){var s;if(!u.is(t,"li,ol,ul")){s=u.getParent(t,"li");if(s){t=s}}return t}tinymce.create("tinymce.plugins.Lists",{init:function(y){var v="TABBING";var s="EMPTY";var J="ESCAPE";var z="PARAGRAPH";var N="UNKNOWN";var x=N;function E(U){return U.keyCode===tinymce.VK.TAB&&!(U.altKey||U.ctrlKey)&&(y.queryCommandState("InsertUnorderedList")||y.queryCommandState("InsertOrderedList"))}function w(){var U=B();var W=U.parentNode.parentNode;var V=U.parentNode.lastChild===U;return V&&!t(W)&&P(U)}function t(U){if(n(U)){return U.parentNode&&U.parentNode.tagName==="LI"}else{return U.tagName==="LI"}}function F(){return y.selection.isCollapsed()&&P(B())}function B(){var U=y.selection.getStart();return((U.tagName=="BR"||U.tagName=="")&&U.parentNode.tagName=="LI")?U.parentNode:U}function P(U){var V=U.childNodes.length;if(U.tagName==="LI"){return V==0?true:V==1&&(U.firstChild.tagName==""||U.firstChild.tagName=="BR"||H(U))}return false}function H(U){var V=tinymce.grep(U.parentNode.childNodes,function(Y){return Y.tagName=="LI"});var W=U==V[V.length-1];var X=U.firstChild;return tinymce.isIE9&&W&&(X.nodeValue==String.fromCharCode(160)||X.nodeValue==String.fromCharCode(32))}function T(U){return U.keyCode===tinymce.VK.ENTER}function A(U){return T(U)&&!U.shiftKey}function M(U){if(E(U)){return v}else{if(A(U)&&w()){return N}else{if(A(U)&&F()){return s}else{return N}}}}function D(U,V){if(x==v||x==s||tinymce.isGecko&&x==J){r.cancel(V)}}function C(){var U=y.selection.getRng(true);var V=U.startContainer;if(V.nodeType==3){var W=V.nodeValue;if(tinymce.isIE9&&W.length>1&&W.charCodeAt(W.length-1)==32){return(U.endOffset==W.length-1)}else{return(U.endOffset==W.length)}}else{if(V.nodeType==1){return U.endOffset==V.childNodes.length}}return false}function I(){var W=y.selection.getNode();var V="h1,h2,h3,h4,h5,h6,p,div";var U=y.dom.is(W,V)&&W.parentNode.tagName==="LI"&&W.parentNode.lastChild===W;return y.selection.isCollapsed()&&U&&C()}function K(W,Y){if(A(Y)&&I()){var X=W.selection.getNode();var V=W.dom.create("li");var U=W.dom.getParent(X,"li");W.dom.insertAfter(V,U);if(tinymce.isIE6||tinymce.isIE7||tinyMCE.isIE8){W.selection.setCursorLocation(V,1)}else{W.selection.setCursorLocation(V,0)}Y.preventDefault()}}function u(X,Z){var ac;if(!tinymce.isGecko){return}var V=X.selection.getStart();if(Z.keyCode!=tinymce.VK.BACKSPACE||V.tagName!=="IMG"){return}function W(ag){var ah=ag.firstChild;var af=null;do{if(!ah){break}if(ah.tagName==="LI"){af=ah}}while(ah=ah.nextSibling);return af}function ae(ag,af){while(ag.childNodes.length>0){af.appendChild(ag.childNodes[0])}}ac=V.parentNode.previousSibling;if(!ac){return}var aa;if(ac.tagName==="UL"||ac.tagName==="OL"){aa=ac}else{if(ac.previousSibling&&(ac.previousSibling.tagName==="UL"||ac.previousSibling.tagName==="OL")){aa=ac.previousSibling}else{return}}var ad=W(aa);var U=X.dom.createRng();U.setStart(ad,1);U.setEnd(ad,1);X.selection.setRng(U);X.selection.collapse(true);var Y=X.selection.getBookmark();var ab=V.parentNode.cloneNode(true);if(ab.tagName==="P"||ab.tagName==="DIV"){ae(ab,ad)}else{ad.appendChild(ab)}V.parentNode.parentNode.removeChild(V.parentNode);X.selection.moveToBookmark(Y)}function G(U){var V=y.dom.getParent(U,"ol,ul");if(V!=null){var W=V.lastChild;y.selection.setCursorLocation(W,0)}}this.ed=y;y.addCommand("Indent",this.indent,this);y.addCommand("Outdent",this.outdent,this);y.addCommand("InsertUnorderedList",function(){this.applyList("UL","OL")},this);y.addCommand("InsertOrderedList",function(){this.applyList("OL","UL")},this);y.onInit.add(function(){y.editorCommands.addCommands({outdent:function(){var V=y.selection,W=y.dom;function U(X){X=W.getParent(X,W.isBlock);return X&&(parseInt(y.dom.getStyle(X,"margin-left")||0,10)+parseInt(y.dom.getStyle(X,"padding-left")||0,10))>0}return U(V.getStart())||U(V.getEnd())||y.queryCommandState("InsertOrderedList")||y.queryCommandState("InsertUnorderedList")}},"state")});y.onKeyUp.add(function(V,W){if(x==v){V.execCommand(W.shiftKey?"Outdent":"Indent",true,null);x=N;return r.cancel(W)}else{if(x==s){var U=B();var Y=V.settings.list_outdent_on_enter===true||W.shiftKey;V.execCommand(Y?"Outdent":"Indent",true,null);if(tinymce.isIE){G(U)}return r.cancel(W)}else{if(x==J){if(tinymce.isIE6||tinymce.isIE7||tinymce.isIE8){var X=V.getDoc().createTextNode("\uFEFF");V.selection.getNode().appendChild(X)}else{if(tinymce.isIE9||tinymce.isGecko){V.execCommand("Outdent");return r.cancel(W)}}}}}});function L(V,U){var W=y.getDoc().createTextNode("\uFEFF");V.insertBefore(W,U);y.selection.setCursorLocation(W,0);y.execCommand("mceRepaint")}function R(V,X){if(T(X)){var U=B();if(U){var W=U.parentNode;var Y=W&&W.parentNode;if(Y&&Y.nodeName=="LI"&&Y.firstChild==W&&U==W.firstChild){L(Y,W)}}}}function S(V,X){if(T(X)){var U=B();if(V.dom.select("ul li",U).length===1){var W=U.firstChild;L(U,W)}}}function Q(W,aa){function X(ab){var ad=[];var ae=new tinymce.dom.TreeWalker(ab.firstChild,ab);for(var ac=ae.current();ac;ac=ae.next()){if(W.dom.is(ac,"ol,ul,li")){ad.push(ac)}}return ad}if(aa.keyCode==tinymce.VK.BACKSPACE){var U=B();if(U){var Z=W.dom.getParent(U,"ol,ul"),V=W.selection.getRng();if(Z&&Z.firstChild===U&&V.startOffset==0){var Y=X(U);Y.unshift(U);W.execCommand("Outdent",false,Y);W.undoManager.add();return r.cancel(aa)}}}}function O(V,X){var U=B();if(X.keyCode===tinymce.VK.BACKSPACE&&V.dom.is(U,"li")&&U.parentNode.firstChild!==U){if(V.dom.select("ul,ol",U).length===1){var Z=U.previousSibling;V.dom.remove(V.dom.select("br",U));V.dom.remove(U,true);var W=tinymce.grep(Z.childNodes,function(aa){return aa.nodeType===3});if(W.length===1){var Y=W[0];V.selection.setCursorLocation(Y,Y.length)}V.undoManager.add();return r.cancel(X)}}}y.onKeyDown.add(function(U,V){x=M(V)});y.onKeyDown.add(D);y.onKeyDown.add(u);y.onKeyDown.add(K);if(tinymce.isGecko){y.onKeyUp.add(R)}if(tinymce.isIE8){y.onKeyUp.add(S)}if(tinymce.isGecko||tinymce.isWebKit){y.onKeyDown.add(Q)}if(tinymce.isWebKit){y.onKeyDown.add(O)}},applyList:function(y,v){var C=this,z=C.ed,I=z.dom,s=[],H=false,u=false,w=false,B,G=z.selection.getSelectedBlocks();function E(t){if(t&&t.tagName==="BR"){I.remove(t)}}function F(M){var N=I.create(y),t;function L(O){if(O.style.marginLeft||O.style.paddingLeft){C.adjustPaddingFunction(false)(O)}}if(M.tagName==="LI"){}else{if(M.tagName==="P"||M.tagName==="DIV"||M.tagName==="BODY"){K(M,function(P,O){J(P,O,M.tagName==="BODY"?null:P.parentNode);t=P.parentNode;L(t);E(O)});if(t){if(t.tagName==="LI"&&(M.tagName==="P"||G.length>1)){I.split(t.parentNode.parentNode,t.parentNode)}m(t.parentNode,true)}return}else{t=I.create("li");I.insertAfter(t,M);t.appendChild(M);L(M);M=t}}I.insertAfter(N,M);N.appendChild(M);m(N,true);s.push(M)}function J(P,L,N){var t,O=P,M;while(!I.isBlock(P.parentNode)&&P.parentNode!==I.getRoot()){P=I.split(P.parentNode,P.previousSibling);P=P.nextSibling;O=P}if(N){t=N.cloneNode(true);P.parentNode.insertBefore(t,P);while(t.firstChild){I.remove(t.firstChild)}t=I.rename(t,"li")}else{t=I.create("li");P.parentNode.insertBefore(t,P)}while(O&&O!=L){M=O.nextSibling;t.appendChild(O);O=M}if(t.childNodes.length===0){t.innerHTML='<br _mce_bogus="1" />'}F(t)}function K(Q,T){var N,R,O=3,L=1,t="br,ul,ol,p,div,h1,h2,h3,h4,h5,h6,table,blockquote,address,pre,form,center,dl";function P(X,U){var V=I.createRng(),W;g.keep=true;z.selection.moveToBookmark(g);g.keep=false;W=z.selection.getRng(true);if(!U){U=X.parentNode.lastChild}V.setStartBefore(X);V.setEndAfter(U);return !(V.compareBoundaryPoints(O,W)>0||V.compareBoundaryPoints(L,W)<=0)}function S(U){if(U.nextSibling){return U.nextSibling}if(!I.isBlock(U.parentNode)&&U.parentNode!==I.getRoot()){return S(U.parentNode)}}N=Q.firstChild;var M=false;e(I.select(t,Q),function(U){if(U.hasAttribute&&U.hasAttribute("_mce_bogus")){return true}if(P(N,U)){I.addClass(U,"_mce_tagged_br");N=S(U)}});M=(N&&P(N,undefined));N=Q.firstChild;e(I.select(t,Q),function(V){var U=S(V);if(V.hasAttribute&&V.hasAttribute("_mce_bogus")){return true}if(I.hasClass(V,"_mce_tagged_br")){T(N,V,R);R=null}else{R=V}N=U});if(M){T(N,undefined,R)}}function D(t){K(t,function(M,L,N){J(M,L);E(L);E(N)})}function A(t){if(tinymce.inArray(s,t)!==-1){return}if(t.parentNode.tagName===v){I.split(t.parentNode,t);F(t);o(t.parentNode,false)}s.push(t)}function x(M){var O,N,L,t;if(tinymce.inArray(s,M)!==-1){return}M=c(M,I);while(I.is(M.parentNode,"ol,ul,li")){I.split(M.parentNode,M)}s.push(M);M=I.rename(M,"p");L=m(M,false,z.settings.force_br_newlines);if(L===M){O=M.firstChild;while(O){if(I.isBlock(O)){O=I.split(O.parentNode,O);t=true;N=O.nextSibling&&O.nextSibling.firstChild}else{N=O.nextSibling;if(t&&O.tagName==="BR"){I.remove(O)}t=false}O=N}}}e(G,function(t){t=k(t,I);if(t.tagName===v||(t.tagName==="LI"&&t.parentNode.tagName===v)){u=true}else{if(t.tagName===y||(t.tagName==="LI"&&t.parentNode.tagName===y)){H=true}else{w=true}}});if(w&&!H||u||G.length===0){B={LI:A,H1:F,H2:F,H3:F,H4:F,H5:F,H6:F,P:F,BODY:F,DIV:G.length>1?F:D,defaultAction:D,elements:this.selectedBlocks()}}else{B={defaultAction:x,elements:this.selectedBlocks(),processEvenIfEmpty:true}}this.process(B)},indent:function(){var u=this.ed,w=u.dom,x=[];function s(z){var y=w.create("li",{style:"list-style-type: none;"});w.insertAfter(y,z);return y}function t(B){var y=s(B),D=w.getParent(B,"ol,ul"),C=D.tagName,E=w.getStyle(D,"list-style-type"),A={},z;if(E!==""){A.style="list-style-type: "+E+";"}z=w.create(C,A);y.appendChild(z);return z}function v(z){if(!d(u,z,x)){z=c(z,w);var y=t(z);y.appendChild(z);m(y.parentNode,false);m(y,false);x.push(z)}}this.process({LI:v,defaultAction:this.adjustPaddingFunction(true),elements:this.selectedBlocks()})},outdent:function(y,x){var w=this,u=w.ed,z=u.dom,s=[];function A(t){var C,B,D;if(!d(u,t,s)){if(z.getStyle(t,"margin-left")!==""||z.getStyle(t,"padding-left")!==""){return w.adjustPaddingFunction(false)(t)}D=z.getStyle(t,"text-align",true);if(D==="center"||D==="right"){z.setStyle(t,"text-align","left");return}t=c(t,z);C=t.parentNode;B=t.parentNode.parentNode;if(B.tagName==="P"){z.split(B,t.parentNode)}else{z.split(C,t);if(B.tagName==="LI"){z.split(B,t)}else{if(!z.is(B,"ol,ul")){z.rename(t,"p")}}}s.push(t)}}var v=x&&tinymce.is(x,"array")?x:this.selectedBlocks();this.process({LI:A,defaultAction:this.adjustPaddingFunction(false),elements:v});e(s,m)},process:function(y){var F=this,w=F.ed.selection,z=F.ed.dom,E,u;function B(t){var s=tinymce.grep(t.childNodes,function(H){return !(H.nodeName==="BR"||H.nodeName==="SPAN"&&z.getAttrib(H,"data-mce-type")=="bookmark"||H.nodeType==3&&(H.nodeValue==String.fromCharCode(160)||H.nodeValue==""))});return s.length===0}function x(s){z.removeClass(s,"_mce_act_on");if(!s||s.nodeType!==1||!y.processEvenIfEmpty&&E.length>1&&B(s)){return}s=k(s,z);var t=y[s.tagName];if(!t){t=y.defaultAction}t(s)}function v(s){F.splitSafeEach(s.childNodes,x,true)}function C(s,t){return t>=0&&s.hasChildNodes()&&t<s.childNodes.length&&s.childNodes[t].tagName==="BR"}function D(){var t=w.getNode();var s=z.getParent(t,"td");return s!==null}E=y.elements;u=w.getRng(true);if(!u.collapsed){if(C(u.endContainer,u.endOffset-1)){u.setEnd(u.endContainer,u.endOffset-1);w.setRng(u)}if(C(u.startContainer,u.startOffset)){u.setStart(u.startContainer,u.startOffset+1);w.setRng(u)}}if(tinymce.isIE8){var G=F.ed.selection.getNode();if(G.tagName==="LI"&&!(G.parentNode.lastChild===G)){var A=F.ed.getDoc().createTextNode("\uFEFF");G.appendChild(A)}}g=w.getBookmark();y.OL=y.UL=v;F.splitSafeEach(E,x);w.moveToBookmark(g);g=null;if(!D()){F.ed.execCommand("mceRepaint")}},splitSafeEach:function(u,t,s){if(s||(tinymce.isGecko&&(/Firefox\/[12]\.[0-9]/.test(navigator.userAgent)||/Firefox\/3\.[0-4]/.test(navigator.userAgent)))){this.classBasedEach(u,t)}else{e(u,t)}},classBasedEach:function(v,u){var w=this.ed.dom,s,t;e(v,function(x){w.addClass(x,"_mce_act_on")});s=w.select("._mce_act_on");while(s.length>0){t=s.shift();w.removeClass(t,"_mce_act_on");u(t);s=w.select("._mce_act_on")}},adjustPaddingFunction:function(u){var s,v,t=this.ed;s=t.settings.indentation;v=/[a-z%]+/i.exec(s);s=parseInt(s,10);return function(w){var y,x;y=parseInt(t.dom.getStyle(w,"margin-left")||0,10)+parseInt(t.dom.getStyle(w,"padding-left")||0,10);if(u){x=y+s}else{x=y-s}t.dom.setStyle(w,"padding-left","");t.dom.setStyle(w,"margin-left",x>0?x+v:"")}},selectedBlocks:function(){var s=this.ed,t=s.selection.getSelectedBlocks();return t.length==0?[s.dom.getRoot()]:t},getInfo:function(){return{longname:"Lists",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/lists",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("lists",tinymce.plugins.Lists)}()); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/lists/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/lists/editor_plugin_src.js
new file mode 100644
index 00000000..1000ef74
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/lists/editor_plugin_src.js
@@ -0,0 +1,955 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2011, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ var each = tinymce.each, Event = tinymce.dom.Event, bookmark;
+
+ // Skips text nodes that only contain whitespace since they aren't semantically important.
+ function skipWhitespaceNodes(e, next) {
+ while (e && (e.nodeType === 8 || (e.nodeType === 3 && /^[ \t\n\r]*$/.test(e.nodeValue)))) {
+ e = next(e);
+ }
+ return e;
+ }
+
+ function skipWhitespaceNodesBackwards(e) {
+ return skipWhitespaceNodes(e, function(e) {
+ return e.previousSibling;
+ });
+ }
+
+ function skipWhitespaceNodesForwards(e) {
+ return skipWhitespaceNodes(e, function(e) {
+ return e.nextSibling;
+ });
+ }
+
+ function hasParentInList(ed, e, list) {
+ return ed.dom.getParent(e, function(p) {
+ return tinymce.inArray(list, p) !== -1;
+ });
+ }
+
+ function isList(e) {
+ return e && (e.tagName === 'OL' || e.tagName === 'UL');
+ }
+
+ function splitNestedLists(element, dom) {
+ var tmp, nested, wrapItem;
+ tmp = skipWhitespaceNodesBackwards(element.lastChild);
+ while (isList(tmp)) {
+ nested = tmp;
+ tmp = skipWhitespaceNodesBackwards(nested.previousSibling);
+ }
+ if (nested) {
+ wrapItem = dom.create('li', { style: 'list-style-type: none;'});
+ dom.split(element, nested);
+ dom.insertAfter(wrapItem, nested);
+ wrapItem.appendChild(nested);
+ wrapItem.appendChild(nested);
+ element = wrapItem.previousSibling;
+ }
+ return element;
+ }
+
+ function attemptMergeWithAdjacent(e, allowDifferentListStyles, mergeParagraphs) {
+ e = attemptMergeWithPrevious(e, allowDifferentListStyles, mergeParagraphs);
+ return attemptMergeWithNext(e, allowDifferentListStyles, mergeParagraphs);
+ }
+
+ function attemptMergeWithPrevious(e, allowDifferentListStyles, mergeParagraphs) {
+ var prev = skipWhitespaceNodesBackwards(e.previousSibling);
+ if (prev) {
+ return attemptMerge(prev, e, allowDifferentListStyles ? prev : false, mergeParagraphs);
+ } else {
+ return e;
+ }
+ }
+
+ function attemptMergeWithNext(e, allowDifferentListStyles, mergeParagraphs) {
+ var next = skipWhitespaceNodesForwards(e.nextSibling);
+ if (next) {
+ return attemptMerge(e, next, allowDifferentListStyles ? next : false, mergeParagraphs);
+ } else {
+ return e;
+ }
+ }
+
+ function attemptMerge(e1, e2, differentStylesMasterElement, mergeParagraphs) {
+ if (canMerge(e1, e2, !!differentStylesMasterElement, mergeParagraphs)) {
+ return merge(e1, e2, differentStylesMasterElement);
+ } else if (e1 && e1.tagName === 'LI' && isList(e2)) {
+ // Fix invalidly nested lists.
+ e1.appendChild(e2);
+ }
+ return e2;
+ }
+
+ function canMerge(e1, e2, allowDifferentListStyles, mergeParagraphs) {
+ if (!e1 || !e2) {
+ return false;
+ } else if (e1.tagName === 'LI' && e2.tagName === 'LI') {
+ return e2.style.listStyleType === 'none' || containsOnlyAList(e2);
+ } else if (isList(e1)) {
+ return (e1.tagName === e2.tagName && (allowDifferentListStyles || e1.style.listStyleType === e2.style.listStyleType)) || isListForIndent(e2);
+ } else return mergeParagraphs && e1.tagName === 'P' && e2.tagName === 'P';
+ }
+
+ function isListForIndent(e) {
+ var firstLI = skipWhitespaceNodesForwards(e.firstChild), lastLI = skipWhitespaceNodesBackwards(e.lastChild);
+ return firstLI && lastLI && isList(e) && firstLI === lastLI && (isList(firstLI) || firstLI.style.listStyleType === 'none' || containsOnlyAList(firstLI));
+ }
+
+ function containsOnlyAList(e) {
+ var firstChild = skipWhitespaceNodesForwards(e.firstChild), lastChild = skipWhitespaceNodesBackwards(e.lastChild);
+ return firstChild && lastChild && firstChild === lastChild && isList(firstChild);
+ }
+
+ function merge(e1, e2, masterElement) {
+ var lastOriginal = skipWhitespaceNodesBackwards(e1.lastChild), firstNew = skipWhitespaceNodesForwards(e2.firstChild);
+ if (e1.tagName === 'P') {
+ e1.appendChild(e1.ownerDocument.createElement('br'));
+ }
+ while (e2.firstChild) {
+ e1.appendChild(e2.firstChild);
+ }
+ if (masterElement) {
+ e1.style.listStyleType = masterElement.style.listStyleType;
+ }
+ e2.parentNode.removeChild(e2);
+ attemptMerge(lastOriginal, firstNew, false);
+ return e1;
+ }
+
+ function findItemToOperateOn(e, dom) {
+ var item;
+ if (!dom.is(e, 'li,ol,ul')) {
+ item = dom.getParent(e, 'li');
+ if (item) {
+ e = item;
+ }
+ }
+ return e;
+ }
+
+ tinymce.create('tinymce.plugins.Lists', {
+ init: function(ed) {
+ var LIST_TABBING = 'TABBING';
+ var LIST_EMPTY_ITEM = 'EMPTY';
+ var LIST_ESCAPE = 'ESCAPE';
+ var LIST_PARAGRAPH = 'PARAGRAPH';
+ var LIST_UNKNOWN = 'UNKNOWN';
+ var state = LIST_UNKNOWN;
+
+ function isTabInList(e) {
+ // Don't indent on Ctrl+Tab or Alt+Tab
+ return e.keyCode === tinymce.VK.TAB && !(e.altKey || e.ctrlKey) &&
+ (ed.queryCommandState('InsertUnorderedList') || ed.queryCommandState('InsertOrderedList'));
+ }
+
+ function isOnLastListItem() {
+ var li = getLi();
+ var grandParent = li.parentNode.parentNode;
+ var isLastItem = li.parentNode.lastChild === li;
+ return isLastItem && !isNestedList(grandParent) && isEmptyListItem(li);
+ }
+
+ function isNestedList(grandParent) {
+ if (isList(grandParent)) {
+ return grandParent.parentNode && grandParent.parentNode.tagName === 'LI';
+ } else {
+ return grandParent.tagName === 'LI';
+ }
+ }
+
+ function isInEmptyListItem() {
+ return ed.selection.isCollapsed() && isEmptyListItem(getLi());
+ }
+
+ function getLi() {
+ var n = ed.selection.getStart();
+ // Get start will return BR if the LI only contains a BR or an empty element as we use these to fix caret position
+ return ((n.tagName == 'BR' || n.tagName == '') && n.parentNode.tagName == 'LI') ? n.parentNode : n;
+ }
+
+ function isEmptyListItem(li) {
+ var numChildren = li.childNodes.length;
+ if (li.tagName === 'LI') {
+ return numChildren == 0 ? true : numChildren == 1 && (li.firstChild.tagName == '' || li.firstChild.tagName == 'BR' || isEmptyIE9Li(li));
+ }
+ return false;
+ }
+
+ function isEmptyIE9Li(li) {
+ // only consider this to be last item if there is no list item content or that content is nbsp or space since IE9 creates these
+ var lis = tinymce.grep(li.parentNode.childNodes, function(n) {return n.tagName == 'LI'});
+ var isLastLi = li == lis[lis.length - 1];
+ var child = li.firstChild;
+ return tinymce.isIE9 && isLastLi && (child.nodeValue == String.fromCharCode(160) || child.nodeValue == String.fromCharCode(32));
+ }
+
+ function isEnter(e) {
+ return e.keyCode === tinymce.VK.ENTER;
+ }
+
+ function isEnterWithoutShift(e) {
+ return isEnter(e) && !e.shiftKey;
+ }
+
+ function getListKeyState(e) {
+ if (isTabInList(e)) {
+ return LIST_TABBING;
+ } else if (isEnterWithoutShift(e) && isOnLastListItem()) {
+ // Returns LIST_UNKNOWN since breaking out of lists is handled by the EnterKey.js logic now
+ //return LIST_ESCAPE;
+ return LIST_UNKNOWN;
+ } else if (isEnterWithoutShift(e) && isInEmptyListItem()) {
+ return LIST_EMPTY_ITEM;
+ } else {
+ return LIST_UNKNOWN;
+ }
+ }
+
+ function cancelDefaultEvents(ed, e) {
+ // list escape is done manually using outdent as it does not create paragraphs correctly in td's
+ if (state == LIST_TABBING || state == LIST_EMPTY_ITEM || tinymce.isGecko && state == LIST_ESCAPE) {
+ Event.cancel(e);
+ }
+ }
+
+ function isCursorAtEndOfContainer() {
+ var range = ed.selection.getRng(true);
+ var startContainer = range.startContainer;
+ if (startContainer.nodeType == 3) {
+ var value = startContainer.nodeValue;
+ if (tinymce.isIE9 && value.length > 1 && value.charCodeAt(value.length-1) == 32) {
+ // IE9 places a space on the end of the text in some cases so ignore last char
+ return (range.endOffset == value.length-1);
+ } else {
+ return (range.endOffset == value.length);
+ }
+ } else if (startContainer.nodeType == 1) {
+ return range.endOffset == startContainer.childNodes.length;
+ }
+ return false;
+ }
+
+ /*
+ If we are at the end of a list item surrounded with an element, pressing enter should create a
+ new list item instead without splitting the element e.g. don't want to create new P or H1 tag
+ */
+ function isEndOfListItem() {
+ var node = ed.selection.getNode();
+ var validElements = 'h1,h2,h3,h4,h5,h6,p,div';
+ var isLastParagraphOfLi = ed.dom.is(node, validElements) && node.parentNode.tagName === 'LI' && node.parentNode.lastChild === node;
+ return ed.selection.isCollapsed() && isLastParagraphOfLi && isCursorAtEndOfContainer();
+ }
+
+ // Creates a new list item after the current selection's list item parent
+ function createNewLi(ed, e) {
+ if (isEnterWithoutShift(e) && isEndOfListItem()) {
+ var node = ed.selection.getNode();
+ var li = ed.dom.create("li");
+ var parentLi = ed.dom.getParent(node, 'li');
+ ed.dom.insertAfter(li, parentLi);
+
+ // Move caret to new list element.
+ if (tinymce.isIE6 || tinymce.isIE7 || tinyMCE.isIE8) {
+ // Removed this line since it would create an odd <&nbsp;> tag and placing the caret inside an empty LI is handled and should be handled by the selection logic
+ //li.appendChild(ed.dom.create("&nbsp;")); // IE needs an element within the bullet point
+ ed.selection.setCursorLocation(li, 1);
+ } else {
+ ed.selection.setCursorLocation(li, 0);
+ }
+ e.preventDefault();
+ }
+ }
+
+ function imageJoiningListItem(ed, e) {
+ var prevSibling;
+
+ if (!tinymce.isGecko)
+ return;
+
+ var n = ed.selection.getStart();
+ if (e.keyCode != tinymce.VK.BACKSPACE || n.tagName !== 'IMG')
+ return;
+
+ function lastLI(node) {
+ var child = node.firstChild;
+ var li = null;
+ do {
+ if (!child)
+ break;
+
+ if (child.tagName === 'LI')
+ li = child;
+ } while (child = child.nextSibling);
+
+ return li;
+ }
+
+ function addChildren(parentNode, destination) {
+ while (parentNode.childNodes.length > 0)
+ destination.appendChild(parentNode.childNodes[0]);
+ }
+
+ // Check if there is a previous sibling
+ prevSibling = n.parentNode.previousSibling;
+ if (!prevSibling)
+ return;
+
+ var ul;
+ if (prevSibling.tagName === 'UL' || prevSibling.tagName === 'OL')
+ ul = prevSibling;
+ else if (prevSibling.previousSibling && (prevSibling.previousSibling.tagName === 'UL' || prevSibling.previousSibling.tagName === 'OL'))
+ ul = prevSibling.previousSibling;
+ else
+ return;
+
+ var li = lastLI(ul);
+
+ // move the caret to the end of the list item
+ var rng = ed.dom.createRng();
+ rng.setStart(li, 1);
+ rng.setEnd(li, 1);
+ ed.selection.setRng(rng);
+ ed.selection.collapse(true);
+
+ // save a bookmark at the end of the list item
+ var bookmark = ed.selection.getBookmark();
+
+ // copy the image an its text to the list item
+ var clone = n.parentNode.cloneNode(true);
+ if (clone.tagName === 'P' || clone.tagName === 'DIV')
+ addChildren(clone, li);
+ else
+ li.appendChild(clone);
+
+ // remove the old copy of the image
+ n.parentNode.parentNode.removeChild(n.parentNode);
+
+ // move the caret where we saved the bookmark
+ ed.selection.moveToBookmark(bookmark);
+ }
+
+ // fix the cursor position to ensure it is correct in IE
+ function setCursorPositionToOriginalLi(li) {
+ var list = ed.dom.getParent(li, 'ol,ul');
+ if (list != null) {
+ var lastLi = list.lastChild;
+ // Removed this line since IE9 would report an DOM character error and placing the caret inside an empty LI is handled and should be handled by the selection logic
+ //lastLi.appendChild(ed.getDoc().createElement(''));
+ ed.selection.setCursorLocation(lastLi, 0);
+ }
+ }
+
+ this.ed = ed;
+ ed.addCommand('Indent', this.indent, this);
+ ed.addCommand('Outdent', this.outdent, this);
+ ed.addCommand('InsertUnorderedList', function() {
+ this.applyList('UL', 'OL');
+ }, this);
+ ed.addCommand('InsertOrderedList', function() {
+ this.applyList('OL', 'UL');
+ }, this);
+
+ ed.onInit.add(function() {
+ ed.editorCommands.addCommands({
+ 'outdent': function() {
+ var sel = ed.selection, dom = ed.dom;
+
+ function hasStyleIndent(n) {
+ n = dom.getParent(n, dom.isBlock);
+ return n && (parseInt(ed.dom.getStyle(n, 'margin-left') || 0, 10) + parseInt(ed.dom.getStyle(n, 'padding-left') || 0, 10)) > 0;
+ }
+
+ return hasStyleIndent(sel.getStart()) || hasStyleIndent(sel.getEnd()) || ed.queryCommandState('InsertOrderedList') || ed.queryCommandState('InsertUnorderedList');
+ }
+ }, 'state');
+ });
+
+ ed.onKeyUp.add(function(ed, e) {
+ if (state == LIST_TABBING) {
+ ed.execCommand(e.shiftKey ? 'Outdent' : 'Indent', true, null);
+ state = LIST_UNKNOWN;
+ return Event.cancel(e);
+ } else if (state == LIST_EMPTY_ITEM) {
+ var li = getLi();
+ var shouldOutdent = ed.settings.list_outdent_on_enter === true || e.shiftKey;
+ ed.execCommand(shouldOutdent ? 'Outdent' : 'Indent', true, null);
+ if (tinymce.isIE) {
+ setCursorPositionToOriginalLi(li);
+ }
+
+ return Event.cancel(e);
+ } else if (state == LIST_ESCAPE) {
+ if (tinymce.isIE6 || tinymce.isIE7 || tinymce.isIE8) {
+ // append a zero sized nbsp so that caret is positioned correctly in IE after escaping and applying formatting.
+ // if there is no text then applying formatting for e.g a H1 to the P tag immediately following list after
+ // escaping from it will cause the caret to be positioned on the last li instead of staying the in P tag.
+ var n = ed.getDoc().createTextNode('\uFEFF');
+ ed.selection.getNode().appendChild(n);
+ } else if (tinymce.isIE9 || tinymce.isGecko) {
+ // IE9 does not escape the list so we use outdent to do this and cancel the default behaviour
+ // Gecko does not create a paragraph outdenting inside a TD so default behaviour is cancelled and we outdent ourselves
+ ed.execCommand('Outdent');
+ return Event.cancel(e);
+ }
+ }
+ });
+
+ function fixListItem(parent, reference) {
+ // a zero-sized non-breaking space is placed in the empty list item so that the nested list is
+ // displayed on the below line instead of next to it
+ var n = ed.getDoc().createTextNode('\uFEFF');
+ parent.insertBefore(n, reference);
+ ed.selection.setCursorLocation(n, 0);
+ // repaint to remove rendering artifact. only visible when creating new list
+ ed.execCommand('mceRepaint');
+ }
+
+ function fixIndentedListItemForGecko(ed, e) {
+ if (isEnter(e)) {
+ var li = getLi();
+ if (li) {
+ var parent = li.parentNode;
+ var grandParent = parent && parent.parentNode;
+ if (grandParent && grandParent.nodeName == 'LI' && grandParent.firstChild == parent && li == parent.firstChild) {
+ fixListItem(grandParent, parent);
+ }
+ }
+ }
+ }
+
+ function fixIndentedListItemForIE8(ed, e) {
+ if (isEnter(e)) {
+ var li = getLi();
+ if (ed.dom.select('ul li', li).length === 1) {
+ var list = li.firstChild;
+ fixListItem(li, list);
+ }
+ }
+ }
+
+ function fixDeletingFirstCharOfList(ed, e) {
+ function listElements(li) {
+ var elements = [];
+ var walker = new tinymce.dom.TreeWalker(li.firstChild, li);
+ for (var node = walker.current(); node; node = walker.next()) {
+ if (ed.dom.is(node, 'ol,ul,li')) {
+ elements.push(node);
+ }
+ }
+ return elements;
+ }
+
+ if (e.keyCode == tinymce.VK.BACKSPACE) {
+ var li = getLi();
+ if (li) {
+ var list = ed.dom.getParent(li, 'ol,ul'),
+ rng = ed.selection.getRng();
+ if (list && list.firstChild === li && rng.startOffset == 0) {
+ var elements = listElements(li);
+ elements.unshift(li);
+ ed.execCommand("Outdent", false, elements);
+ ed.undoManager.add();
+ return Event.cancel(e);
+ }
+ }
+ }
+ }
+
+ function fixDeletingEmptyLiInWebkit(ed, e) {
+ var li = getLi();
+ if (e.keyCode === tinymce.VK.BACKSPACE && ed.dom.is(li, 'li') && li.parentNode.firstChild!==li) {
+ if (ed.dom.select('ul,ol', li).length === 1) {
+ var prevLi = li.previousSibling;
+ ed.dom.remove(ed.dom.select('br', li));
+ ed.dom.remove(li, true);
+ var textNodes = tinymce.grep(prevLi.childNodes, function(n){ return n.nodeType === 3 });
+ if (textNodes.length === 1) {
+ var textNode = textNodes[0];
+ ed.selection.setCursorLocation(textNode, textNode.length);
+ }
+ ed.undoManager.add();
+ return Event.cancel(e);
+ }
+ }
+ }
+
+ ed.onKeyDown.add(function(_, e) { state = getListKeyState(e); });
+ ed.onKeyDown.add(cancelDefaultEvents);
+ ed.onKeyDown.add(imageJoiningListItem);
+ ed.onKeyDown.add(createNewLi);
+
+ if (tinymce.isGecko) {
+ ed.onKeyUp.add(fixIndentedListItemForGecko);
+ }
+ if (tinymce.isIE8) {
+ ed.onKeyUp.add(fixIndentedListItemForIE8);
+ }
+ if (tinymce.isGecko || tinymce.isWebKit) {
+ ed.onKeyDown.add(fixDeletingFirstCharOfList);
+ }
+ if (tinymce.isWebKit) {
+ ed.onKeyDown.add(fixDeletingEmptyLiInWebkit);
+ }
+ },
+
+ applyList: function(targetListType, oppositeListType) {
+ var t = this, ed = t.ed, dom = ed.dom, applied = [], hasSameType = false, hasOppositeType = false, hasNonList = false, actions,
+ selectedBlocks = ed.selection.getSelectedBlocks();
+
+ function cleanupBr(e) {
+ if (e && e.tagName === 'BR') {
+ dom.remove(e);
+ }
+ }
+
+ function makeList(element) {
+ var list = dom.create(targetListType), li;
+
+ function adjustIndentForNewList(element) {
+ // If there's a margin-left, outdent one level to account for the extra list margin.
+ if (element.style.marginLeft || element.style.paddingLeft) {
+ t.adjustPaddingFunction(false)(element);
+ }
+ }
+
+ if (element.tagName === 'LI') {
+ // No change required.
+ } else if (element.tagName === 'P' || element.tagName === 'DIV' || element.tagName === 'BODY') {
+ processBrs(element, function(startSection, br) {
+ doWrapList(startSection, br, element.tagName === 'BODY' ? null : startSection.parentNode);
+ li = startSection.parentNode;
+ adjustIndentForNewList(li);
+ cleanupBr(br);
+ });
+ if (li) {
+ if (li.tagName === 'LI' && (element.tagName === 'P' || selectedBlocks.length > 1)) {
+ dom.split(li.parentNode.parentNode, li.parentNode);
+ }
+ attemptMergeWithAdjacent(li.parentNode, true);
+ }
+ return;
+ } else {
+ // Put the list around the element.
+ li = dom.create('li');
+ dom.insertAfter(li, element);
+ li.appendChild(element);
+ adjustIndentForNewList(element);
+ element = li;
+ }
+ dom.insertAfter(list, element);
+ list.appendChild(element);
+ attemptMergeWithAdjacent(list, true);
+ applied.push(element);
+ }
+
+ function doWrapList(start, end, template) {
+ var li, n = start, tmp;
+ while (!dom.isBlock(start.parentNode) && start.parentNode !== dom.getRoot()) {
+ start = dom.split(start.parentNode, start.previousSibling);
+ start = start.nextSibling;
+ n = start;
+ }
+ if (template) {
+ li = template.cloneNode(true);
+ start.parentNode.insertBefore(li, start);
+ while (li.firstChild) dom.remove(li.firstChild);
+ li = dom.rename(li, 'li');
+ } else {
+ li = dom.create('li');
+ start.parentNode.insertBefore(li, start);
+ }
+ while (n && n != end) {
+ tmp = n.nextSibling;
+ li.appendChild(n);
+ n = tmp;
+ }
+ if (li.childNodes.length === 0) {
+ li.innerHTML = '<br _mce_bogus="1" />';
+ }
+ makeList(li);
+ }
+
+ function processBrs(element, callback) {
+ var startSection, previousBR, END_TO_START = 3, START_TO_END = 1,
+ breakElements = 'br,ul,ol,p,div,h1,h2,h3,h4,h5,h6,table,blockquote,address,pre,form,center,dl';
+
+ function isAnyPartSelected(start, end) {
+ var r = dom.createRng(), sel;
+ bookmark.keep = true;
+ ed.selection.moveToBookmark(bookmark);
+ bookmark.keep = false;
+ sel = ed.selection.getRng(true);
+ if (!end) {
+ end = start.parentNode.lastChild;
+ }
+ r.setStartBefore(start);
+ r.setEndAfter(end);
+ return !(r.compareBoundaryPoints(END_TO_START, sel) > 0 || r.compareBoundaryPoints(START_TO_END, sel) <= 0);
+ }
+
+ function nextLeaf(br) {
+ if (br.nextSibling)
+ return br.nextSibling;
+ if (!dom.isBlock(br.parentNode) && br.parentNode !== dom.getRoot())
+ return nextLeaf(br.parentNode);
+ }
+
+ // Split on BRs within the range and process those.
+ startSection = element.firstChild;
+ // First mark the BRs that have any part of the previous section selected.
+ var trailingContentSelected = false;
+ each(dom.select(breakElements, element), function(br) {
+ if (br.hasAttribute && br.hasAttribute('_mce_bogus')) {
+ return true; // Skip the bogus Brs that are put in to appease Firefox and Safari.
+ }
+ if (isAnyPartSelected(startSection, br)) {
+ dom.addClass(br, '_mce_tagged_br');
+ startSection = nextLeaf(br);
+ }
+ });
+ trailingContentSelected = (startSection && isAnyPartSelected(startSection, undefined));
+ startSection = element.firstChild;
+ each(dom.select(breakElements, element), function(br) {
+ // Got a section from start to br.
+ var tmp = nextLeaf(br);
+ if (br.hasAttribute && br.hasAttribute('_mce_bogus')) {
+ return true; // Skip the bogus Brs that are put in to appease Firefox and Safari.
+ }
+ if (dom.hasClass(br, '_mce_tagged_br')) {
+ callback(startSection, br, previousBR);
+ previousBR = null;
+ } else {
+ previousBR = br;
+ }
+ startSection = tmp;
+ });
+ if (trailingContentSelected) {
+ callback(startSection, undefined, previousBR);
+ }
+ }
+
+ function wrapList(element) {
+ processBrs(element, function(startSection, br, previousBR) {
+ // Need to indent this part
+ doWrapList(startSection, br);
+ cleanupBr(br);
+ cleanupBr(previousBR);
+ });
+ }
+
+ function changeList(element) {
+ if (tinymce.inArray(applied, element) !== -1) {
+ return;
+ }
+ if (element.parentNode.tagName === oppositeListType) {
+ dom.split(element.parentNode, element);
+ makeList(element);
+ attemptMergeWithNext(element.parentNode, false);
+ }
+ applied.push(element);
+ }
+
+ function convertListItemToParagraph(element) {
+ var child, nextChild, mergedElement, splitLast;
+ if (tinymce.inArray(applied, element) !== -1) {
+ return;
+ }
+ element = splitNestedLists(element, dom);
+ while (dom.is(element.parentNode, 'ol,ul,li')) {
+ dom.split(element.parentNode, element);
+ }
+ // Push the original element we have from the selection, not the renamed one.
+ applied.push(element);
+ element = dom.rename(element, 'p');
+ mergedElement = attemptMergeWithAdjacent(element, false, ed.settings.force_br_newlines);
+ if (mergedElement === element) {
+ // Now split out any block elements that can't be contained within a P.
+ // Manually iterate to ensure we handle modifications correctly (doesn't work with tinymce.each)
+ child = element.firstChild;
+ while (child) {
+ if (dom.isBlock(child)) {
+ child = dom.split(child.parentNode, child);
+ splitLast = true;
+ nextChild = child.nextSibling && child.nextSibling.firstChild;
+ } else {
+ nextChild = child.nextSibling;
+ if (splitLast && child.tagName === 'BR') {
+ dom.remove(child);
+ }
+ splitLast = false;
+ }
+ child = nextChild;
+ }
+ }
+ }
+
+ each(selectedBlocks, function(e) {
+ e = findItemToOperateOn(e, dom);
+ if (e.tagName === oppositeListType || (e.tagName === 'LI' && e.parentNode.tagName === oppositeListType)) {
+ hasOppositeType = true;
+ } else if (e.tagName === targetListType || (e.tagName === 'LI' && e.parentNode.tagName === targetListType)) {
+ hasSameType = true;
+ } else {
+ hasNonList = true;
+ }
+ });
+
+ if (hasNonList &&!hasSameType || hasOppositeType || selectedBlocks.length === 0) {
+ actions = {
+ 'LI': changeList,
+ 'H1': makeList,
+ 'H2': makeList,
+ 'H3': makeList,
+ 'H4': makeList,
+ 'H5': makeList,
+ 'H6': makeList,
+ 'P': makeList,
+ 'BODY': makeList,
+ 'DIV': selectedBlocks.length > 1 ? makeList : wrapList,
+ defaultAction: wrapList,
+ elements: this.selectedBlocks()
+ };
+ } else {
+ actions = {
+ defaultAction: convertListItemToParagraph,
+ elements: this.selectedBlocks(),
+ processEvenIfEmpty: true
+ };
+ }
+ this.process(actions);
+ },
+
+ indent: function() {
+ var ed = this.ed, dom = ed.dom, indented = [];
+
+ function createWrapItem(element) {
+ var wrapItem = dom.create('li', { style: 'list-style-type: none;'});
+ dom.insertAfter(wrapItem, element);
+ return wrapItem;
+ }
+
+ function createWrapList(element) {
+ var wrapItem = createWrapItem(element),
+ list = dom.getParent(element, 'ol,ul'),
+ listType = list.tagName,
+ listStyle = dom.getStyle(list, 'list-style-type'),
+ attrs = {},
+ wrapList;
+ if (listStyle !== '') {
+ attrs.style = 'list-style-type: ' + listStyle + ';';
+ }
+ wrapList = dom.create(listType, attrs);
+ wrapItem.appendChild(wrapList);
+ return wrapList;
+ }
+
+ function indentLI(element) {
+ if (!hasParentInList(ed, element, indented)) {
+ element = splitNestedLists(element, dom);
+ var wrapList = createWrapList(element);
+ wrapList.appendChild(element);
+ attemptMergeWithAdjacent(wrapList.parentNode, false);
+ attemptMergeWithAdjacent(wrapList, false);
+ indented.push(element);
+ }
+ }
+
+ this.process({
+ 'LI': indentLI,
+ defaultAction: this.adjustPaddingFunction(true),
+ elements: this.selectedBlocks()
+ });
+
+ },
+
+ outdent: function(ui, elements) {
+ var t = this, ed = t.ed, dom = ed.dom, outdented = [];
+
+ function outdentLI(element) {
+ var listElement, targetParent, align;
+ if (!hasParentInList(ed, element, outdented)) {
+ if (dom.getStyle(element, 'margin-left') !== '' || dom.getStyle(element, 'padding-left') !== '') {
+ return t.adjustPaddingFunction(false)(element);
+ }
+ align = dom.getStyle(element, 'text-align', true);
+ if (align === 'center' || align === 'right') {
+ dom.setStyle(element, 'text-align', 'left');
+ return;
+ }
+ element = splitNestedLists(element, dom);
+ listElement = element.parentNode;
+ targetParent = element.parentNode.parentNode;
+ if (targetParent.tagName === 'P') {
+ dom.split(targetParent, element.parentNode);
+ } else {
+ dom.split(listElement, element);
+ if (targetParent.tagName === 'LI') {
+ // Nested list, need to split the LI and go back out to the OL/UL element.
+ dom.split(targetParent, element);
+ } else if (!dom.is(targetParent, 'ol,ul')) {
+ dom.rename(element, 'p');
+ }
+ }
+ outdented.push(element);
+ }
+ }
+
+ var listElements = elements && tinymce.is(elements, 'array') ? elements : this.selectedBlocks();
+ this.process({
+ 'LI': outdentLI,
+ defaultAction: this.adjustPaddingFunction(false),
+ elements: listElements
+ });
+
+ each(outdented, attemptMergeWithAdjacent);
+ },
+
+ process: function(actions) {
+ var t = this, sel = t.ed.selection, dom = t.ed.dom, selectedBlocks, r;
+
+ function isEmptyElement(element) {
+ var excludeBrsAndBookmarks = tinymce.grep(element.childNodes, function(n) {
+ return !(n.nodeName === 'BR' || n.nodeName === 'SPAN' && dom.getAttrib(n, 'data-mce-type') == 'bookmark'
+ || n.nodeType == 3 && (n.nodeValue == String.fromCharCode(160) || n.nodeValue == ''));
+ });
+ return excludeBrsAndBookmarks.length === 0;
+ }
+
+ function processElement(element) {
+ dom.removeClass(element, '_mce_act_on');
+ if (!element || element.nodeType !== 1 || ! actions.processEvenIfEmpty && selectedBlocks.length > 1 && isEmptyElement(element)) {
+ return;
+ }
+ element = findItemToOperateOn(element, dom);
+ var action = actions[element.tagName];
+ if (!action) {
+ action = actions.defaultAction;
+ }
+ action(element);
+ }
+
+ function recurse(element) {
+ t.splitSafeEach(element.childNodes, processElement, true);
+ }
+
+ function brAtEdgeOfSelection(container, offset) {
+ return offset >= 0 && container.hasChildNodes() && offset < container.childNodes.length &&
+ container.childNodes[offset].tagName === 'BR';
+ }
+
+ function isInTable() {
+ var n = sel.getNode();
+ var p = dom.getParent(n, 'td');
+ return p !== null;
+ }
+
+ selectedBlocks = actions.elements;
+
+ r = sel.getRng(true);
+ if (!r.collapsed) {
+ if (brAtEdgeOfSelection(r.endContainer, r.endOffset - 1)) {
+ r.setEnd(r.endContainer, r.endOffset - 1);
+ sel.setRng(r);
+ }
+ if (brAtEdgeOfSelection(r.startContainer, r.startOffset)) {
+ r.setStart(r.startContainer, r.startOffset + 1);
+ sel.setRng(r);
+ }
+ }
+
+
+ if (tinymce.isIE8) {
+ // append a zero sized nbsp so that caret is restored correctly using bookmark
+ var s = t.ed.selection.getNode();
+ if (s.tagName === 'LI' && !(s.parentNode.lastChild === s)) {
+ var i = t.ed.getDoc().createTextNode('\uFEFF');
+ s.appendChild(i);
+ }
+ }
+
+ bookmark = sel.getBookmark();
+ actions.OL = actions.UL = recurse;
+ t.splitSafeEach(selectedBlocks, processElement);
+ sel.moveToBookmark(bookmark);
+ bookmark = null;
+
+ // we avoid doing repaint in a table as this will move the caret out of the table in Firefox 3.6
+ if (!isInTable()) {
+ // Avoids table or image handles being left behind in Firefox.
+ t.ed.execCommand('mceRepaint');
+ }
+ },
+
+ splitSafeEach: function(elements, f, forceClassBase) {
+ if (forceClassBase ||
+ (tinymce.isGecko &&
+ (/Firefox\/[12]\.[0-9]/.test(navigator.userAgent) ||
+ /Firefox\/3\.[0-4]/.test(navigator.userAgent)))) {
+ this.classBasedEach(elements, f);
+ } else {
+ each(elements, f);
+ }
+ },
+
+ classBasedEach: function(elements, f) {
+ var dom = this.ed.dom, nodes, element;
+ // Mark nodes
+ each(elements, function(element) {
+ dom.addClass(element, '_mce_act_on');
+ });
+ nodes = dom.select('._mce_act_on');
+ while (nodes.length > 0) {
+ element = nodes.shift();
+ dom.removeClass(element, '_mce_act_on');
+ f(element);
+ nodes = dom.select('._mce_act_on');
+ }
+ },
+
+ adjustPaddingFunction: function(isIndent) {
+ var indentAmount, indentUnits, ed = this.ed;
+ indentAmount = ed.settings.indentation;
+ indentUnits = /[a-z%]+/i.exec(indentAmount);
+ indentAmount = parseInt(indentAmount, 10);
+ return function(element) {
+ var currentIndent, newIndentAmount;
+ currentIndent = parseInt(ed.dom.getStyle(element, 'margin-left') || 0, 10) + parseInt(ed.dom.getStyle(element, 'padding-left') || 0, 10);
+ if (isIndent) {
+ newIndentAmount = currentIndent + indentAmount;
+ } else {
+ newIndentAmount = currentIndent - indentAmount;
+ }
+ ed.dom.setStyle(element, 'padding-left', '');
+ ed.dom.setStyle(element, 'margin-left', newIndentAmount > 0 ? newIndentAmount + indentUnits : '');
+ };
+ },
+
+ selectedBlocks: function() {
+ var ed = this.ed, selectedBlocks = ed.selection.getSelectedBlocks();
+ return selectedBlocks.length == 0 ? [ ed.dom.getRoot() ] : selectedBlocks;
+ },
+
+ getInfo: function() {
+ return {
+ longname : 'Lists',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/lists',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+ tinymce.PluginManager.add("lists", tinymce.plugins.Lists);
+}());
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/css/media.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/css/media.css
new file mode 100755
index 00000000..0c45c7ff
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/css/media.css
@@ -0,0 +1,17 @@
+#id, #name, #hspace, #vspace, #class_name, #align { width: 100px }
+#hspace, #vspace { width: 50px }
+#flash_quality, #flash_align, #flash_scale, #flash_salign, #flash_wmode { width: 100px }
+#flash_base, #flash_flashvars, #html5_altsource1, #html5_altsource2, #html5_poster { width: 240px }
+#width, #height { width: 40px }
+#src, #media_type { width: 250px }
+#class { width: 120px }
+#prev { margin: 0; border: 1px solid black; width: 380px; height: 260px; overflow: auto }
+.panel_wrapper div.current { height: 420px; overflow: auto }
+#flash_options, #shockwave_options, #qt_options, #wmp_options, #rmp_options { display: none }
+.mceAddSelectValue { background-color: #DDDDDD }
+#qt_starttime, #qt_endtime, #qt_fov, #qt_href, #qt_moveid, #qt_moviename, #qt_node, #qt_pan, #qt_qtsrc, #qt_qtsrcchokespeed, #qt_target, #qt_tilt, #qt_urlsubstituten, #qt_volume { width: 70px }
+#wmp_balance, #wmp_baseurl, #wmp_captioningid, #wmp_currentmarker, #wmp_currentposition, #wmp_defaultframe, #wmp_playcount, #wmp_rate, #wmp_uimode, #wmp_volume { width: 70px }
+#rmp_console, #rmp_numloop, #rmp_controls, #rmp_scriptcallbacks { width: 70px }
+#shockwave_swvolume, #shockwave_swframe, #shockwave_swurl, #shockwave_swstretchvalign, #shockwave_swstretchhalign, #shockwave_swstretchstyle { width: 90px }
+#qt_qtsrc { width: 200px }
+iframe {border: 1px solid gray}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/editor_plugin.js
new file mode 100755
index 00000000..9ac42e0d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/editor_plugin.js
@@ -0,0 +1 @@
+(function(){var b=tinymce.explode("id,name,width,height,style,align,class,hspace,vspace,bgcolor,type"),a=tinymce.makeMap(b.join(",")),f=tinymce.html.Node,d,i,h=tinymce.util.JSON,g;d=[["Flash","d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash","http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"],["ShockWave","166b1bca-3f9c-11cf-8075-444553540000","application/x-director","http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0"],["WindowsMedia","6bf52a52-394a-11d3-b153-00c04f79faa6,22d6f312-b0f6-11d0-94ab-0080c74c7e95,05589fa1-c356-11ce-bf01-00aa0055595a","application/x-mplayer2","http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"],["QuickTime","02bf25d5-8c17-4b23-bc80-d3488abddc6b","video/quicktime","http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0"],["RealMedia","cfcdaa03-8be4-11cf-b84b-0020afbbccfa","audio/x-pn-realaudio-plugin","http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"],["Java","8ad9c840-044e-11d1-b3e9-00805f499d93","application/x-java-applet","http://java.sun.com/products/plugin/autodl/jinstall-1_5_0-windows-i586.cab#Version=1,5,0,0"],["Silverlight","dfeaf541-f3e1-4c24-acac-99c30715084a","application/x-silverlight-2"],["Iframe"],["Video"],["EmbeddedAudio"],["Audio"]];function e(j){return typeof(j)=="string"?j.replace(/[^0-9%]/g,""):j}function c(m){var l,j,k;if(m&&!m.splice){j=[];for(k=0;true;k++){if(m[k]){j[k]=m[k]}else{break}}return j}return m}tinymce.create("tinymce.plugins.MediaPlugin",{init:function(n,j){var r=this,l={},m,p,q,k;function o(s){return s&&s.nodeName==="IMG"&&n.dom.hasClass(s,"mceItemMedia")}r.editor=n;r.url=j;i="";for(m=0;m<d.length;m++){k=d[m][0];q={name:k,clsids:tinymce.explode(d[m][1]||""),mimes:tinymce.explode(d[m][2]||""),codebase:d[m][3]};for(p=0;p<q.clsids.length;p++){l["clsid:"+q.clsids[p]]=q}for(p=0;p<q.mimes.length;p++){l[q.mimes[p]]=q}l["mceItem"+k]=q;l[k.toLowerCase()]=q;i+=(i?"|":"")+k}tinymce.each(n.getParam("media_types","video=mp4,m4v,ogv,webm;silverlight=xap;flash=swf,flv;shockwave=dcr;quicktime=mov,qt,mpg,mpeg;shockwave=dcr;windowsmedia=avi,wmv,wm,asf,asx,wmx,wvx;realmedia=rm,ra,ram;java=jar;audio=mp3,ogg").split(";"),function(v){var s,u,t;v=v.split(/=/);u=tinymce.explode(v[1].toLowerCase());for(s=0;s<u.length;s++){t=l[v[0].toLowerCase()];if(t){l[u[s]]=t}}});i=new RegExp("write("+i+")\\(([^)]+)\\)");r.lookup=l;n.onPreInit.add(function(){n.schema.addValidElements("object[id|style|width|height|classid|codebase|*],param[name|value],embed[id|style|width|height|type|src|*],video[*],audio[*],source[*]");n.parser.addNodeFilter("object,embed,video,audio,script,iframe",function(s){var t=s.length;while(t--){r.objectToImg(s[t])}});n.serializer.addNodeFilter("img",function(s,u,t){var v=s.length,w;while(v--){w=s[v];if((w.attr("class")||"").indexOf("mceItemMedia")!==-1){r.imgToObject(w,t)}}})});n.onInit.add(function(){if(n.theme&&n.theme.onResolveName){n.theme.onResolveName.add(function(s,t){if(t.name==="img"&&n.dom.hasClass(t.node,"mceItemMedia")){t.name="media"}})}if(n&&n.plugins.contextmenu){n.plugins.contextmenu.onContextMenu.add(function(t,u,s){if(s.nodeName==="IMG"&&s.className.indexOf("mceItemMedia")!==-1){u.add({title:"media.edit",icon:"media",cmd:"mceMedia"})}})}});n.addCommand("mceMedia",function(){var t,s;s=n.selection.getNode();if(o(s)){t=n.dom.getAttrib(s,"data-mce-json");if(t){t=h.parse(t);tinymce.each(b,function(u){var v=n.dom.getAttrib(s,u);if(v){t[u]=v}});t.type=r.getType(s.className).name.toLowerCase()}}if(!t){t={type:"flash",video:{sources:[]},params:{}}}n.windowManager.open({file:j+"/media.htm",width:430+parseInt(n.getLang("media.delta_width",0)),height:500+parseInt(n.getLang("media.delta_height",0)),inline:1},{plugin_url:j,data:t})});n.addButton("media",{title:"media.desc",cmd:"mceMedia"});n.onNodeChange.add(function(t,s,u){s.setActive("media",o(u))})},convertUrl:function(l,o){var k=this,n=k.editor,m=n.settings,p=m.url_converter,j=m.url_converter_scope||k;if(!l){return l}if(o){return n.documentBaseURI.toAbsolute(l)}return p.call(j,l,"src","object")},getInfo:function(){return{longname:"Media",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/media",version:tinymce.majorVersion+"."+tinymce.minorVersion}},dataToImg:function(m,k){var r=this,o=r.editor,p=o.documentBaseURI,j,q,n,l;m.params.src=r.convertUrl(m.params.src,k);q=m.video.attrs;if(q){q.src=r.convertUrl(q.src,k)}if(q){q.poster=r.convertUrl(q.poster,k)}j=c(m.video.sources);if(j){for(l=0;l<j.length;l++){j[l].src=r.convertUrl(j[l].src,k)}}n=r.editor.dom.create("img",{id:m.id,style:m.style,align:m.align,hspace:m.hspace,vspace:m.vspace,src:r.editor.theme.url+"/img/trans.gif","class":"mceItemMedia mceItem"+r.getType(m.type).name,"data-mce-json":h.serialize(m,"'")});n.width=m.width=e(m.width||(m.type=="audio"?"300":"320"));n.height=m.height=e(m.height||(m.type=="audio"?"32":"240"));return n},dataToHtml:function(j,k){return this.editor.serializer.serialize(this.dataToImg(j,k),{forced_root_block:"",force_absolute:k})},htmlToData:function(l){var k,j,m;m={type:"flash",video:{sources:[]},params:{}};k=this.editor.parser.parse(l);j=k.getAll("img")[0];if(j){m=h.parse(j.attr("data-mce-json"));m.type=this.getType(j.attr("class")).name.toLowerCase();tinymce.each(b,function(n){var o=j.attr(n);if(o){m[n]=o}})}return m},getType:function(m){var k,j,l;j=tinymce.explode(m," ");for(k=0;k<j.length;k++){l=this.lookup[j[k]];if(l){return l}}},imgToObject:function(z,o){var u=this,p=u.editor,C,H,j,t,I,y,G,w,k,E,s,q,A,D,m,x,l,B,F;function r(n,J){var N,M,O,L,K;K=p.getParam("flash_video_player_url",u.convertUrl(u.url+"/moxieplayer.swf"));if(K){N=p.documentBaseURI;G.params.src=K;if(p.getParam("flash_video_player_absvideourl",true)){n=N.toAbsolute(n||"",true);J=N.toAbsolute(J||"",true)}O="";M=p.getParam("flash_video_player_flashvars",{url:"$url",poster:"$poster"});tinymce.each(M,function(Q,P){Q=Q.replace(/\$url/,n||"");Q=Q.replace(/\$poster/,J||"");if(Q.length>0){O+=(O?"&":"")+P+"="+escape(Q)}});if(O.length){G.params.flashvars=O}L=p.getParam("flash_video_player_params",{allowfullscreen:true,allowscriptaccess:true});tinymce.each(L,function(Q,P){G.params[P]=""+Q})}}G=z.attr("data-mce-json");if(!G){return}G=h.parse(G);q=this.getType(z.attr("class"));B=z.attr("data-mce-style");if(!B){B=z.attr("style");if(B){B=p.dom.serializeStyle(p.dom.parseStyle(B,"img"))}}G.width=z.attr("width")||G.width;G.height=z.attr("height")||G.height;if(q.name==="Iframe"){x=new f("iframe",1);tinymce.each(b,function(n){var J=z.attr(n);if(n=="class"&&J){J=J.replace(/mceItem.+ ?/g,"")}if(J&&J.length>0){x.attr(n,J)}});for(I in G.params){x.attr(I,G.params[I])}x.attr({style:B,src:G.params.src});z.replace(x);return}if(this.editor.settings.media_use_script){x=new f("script",1).attr("type","text/javascript");y=new f("#text",3);y.value="write"+q.name+"("+h.serialize(tinymce.extend(G.params,{width:z.attr("width"),height:z.attr("height")}))+");";x.append(y);z.replace(x);return}if(q.name==="Video"&&G.video.sources[0]){C=new f("video",1).attr(tinymce.extend({id:z.attr("id"),width:e(z.attr("width")),height:e(z.attr("height")),style:B},G.video.attrs));if(G.video.attrs){l=G.video.attrs.poster}k=G.video.sources=c(G.video.sources);for(A=0;A<k.length;A++){if(/\.mp4$/.test(k[A].src)){m=k[A].src}}if(!k[0].type){C.attr("src",k[0].src);k.splice(0,1)}for(A=0;A<k.length;A++){w=new f("source",1).attr(k[A]);w.shortEnded=true;C.append(w)}if(m){r(m,l);q=u.getType("flash")}else{G.params.src=""}}if(q.name==="Audio"&&G.video.sources[0]){F=new f("audio",1).attr(tinymce.extend({id:z.attr("id"),width:e(z.attr("width")),height:e(z.attr("height")),style:B},G.video.attrs));if(G.video.attrs){l=G.video.attrs.poster}k=G.video.sources=c(G.video.sources);if(!k[0].type){F.attr("src",k[0].src);k.splice(0,1)}for(A=0;A<k.length;A++){w=new f("source",1).attr(k[A]);w.shortEnded=true;F.append(w)}G.params.src=""}if(q.name==="EmbeddedAudio"){j=new f("embed",1);j.shortEnded=true;j.attr({id:z.attr("id"),width:e(z.attr("width")),height:e(z.attr("height")),style:B,type:z.attr("type")});for(I in G.params){j.attr(I,G.params[I])}tinymce.each(b,function(n){if(G[n]&&n!="type"){j.attr(n,G[n])}});G.params.src=""}if(G.params.src){if(/\.flv$/i.test(G.params.src)){r(G.params.src,"")}if(o&&o.force_absolute){G.params.src=p.documentBaseURI.toAbsolute(G.params.src)}H=new f("object",1).attr({id:z.attr("id"),width:e(z.attr("width")),height:e(z.attr("height")),style:B});tinymce.each(b,function(n){var J=G[n];if(n=="class"&&J){J=J.replace(/mceItem.+ ?/g,"")}if(J&&n!="type"){H.attr(n,J)}});for(I in G.params){s=new f("param",1);s.shortEnded=true;y=G.params[I];if(I==="src"&&q.name==="WindowsMedia"){I="url"}s.attr({name:I,value:y});H.append(s)}if(this.editor.getParam("media_strict",true)){H.attr({data:G.params.src,type:q.mimes[0]})}else{H.attr({classid:"clsid:"+q.clsids[0],codebase:q.codebase});j=new f("embed",1);j.shortEnded=true;j.attr({id:z.attr("id"),width:e(z.attr("width")),height:e(z.attr("height")),style:B,type:q.mimes[0]});for(I in G.params){j.attr(I,G.params[I])}tinymce.each(b,function(n){if(G[n]&&n!="type"){j.attr(n,G[n])}});H.append(j)}if(G.object_html){y=new f("#text",3);y.raw=true;y.value=G.object_html;H.append(y)}if(C){C.append(H)}}if(C){if(G.video_html){y=new f("#text",3);y.raw=true;y.value=G.video_html;C.append(y)}}if(F){if(G.video_html){y=new f("#text",3);y.raw=true;y.value=G.video_html;F.append(y)}}var v=C||F||H||j;if(v){z.replace(v)}else{z.remove()}},objectToImg:function(C){var L,k,F,s,M,N,y,A,x,G,E,t,q,I,B,l,K,o,H=this.lookup,m,z,v=this.editor.settings.url_converter,n=this.editor.settings.url_converter_scope,w,r,D,j;function u(O){return new tinymce.html.Serializer({inner:true,validate:false}).serialize(O)}function J(P,O){return H[(P.attr(O)||"").toLowerCase()]}function p(P){var O=P.replace(/^.*\.([^.]+)$/,"$1");return H[O.toLowerCase()||""]}if(!C.parent){return}if(C.name==="script"){if(C.firstChild){m=i.exec(C.firstChild.value)}if(!m){return}o=m[1];K={video:{},params:h.parse(m[2])};A=K.params.width;x=K.params.height}K=K||{video:{},params:{}};M=new f("img",1);M.attr({src:this.editor.theme.url+"/img/trans.gif"});N=C.name;if(N==="video"||N=="audio"){F=C;L=C.getAll("object")[0];k=C.getAll("embed")[0];A=F.attr("width");x=F.attr("height");y=F.attr("id");K.video={attrs:{},sources:[]};z=K.video.attrs;for(N in F.attributes.map){z[N]=F.attributes.map[N]}B=C.attr("src");if(B){K.video.sources.push({src:v.call(n,B,"src",C.name)})}l=F.getAll("source");for(E=0;E<l.length;E++){B=l[E].remove();K.video.sources.push({src:v.call(n,B.attr("src"),"src","source"),type:B.attr("type"),media:B.attr("media")})}if(z.poster){z.poster=v.call(n,z.poster,"poster",C.name)}}if(C.name==="object"){L=C;k=C.getAll("embed")[0]}if(C.name==="embed"){k=C}if(C.name==="iframe"){s=C;o="Iframe"}if(L){A=A||L.attr("width");x=x||L.attr("height");G=G||L.attr("style");y=y||L.attr("id");w=w||L.attr("hspace");r=r||L.attr("vspace");D=D||L.attr("align");j=j||L.attr("bgcolor");K.name=L.attr("name");I=L.getAll("param");for(E=0;E<I.length;E++){q=I[E];N=q.remove().attr("name");if(!a[N]){K.params[N]=q.attr("value")}}K.params.src=K.params.src||L.attr("data")}if(k){A=A||k.attr("width");x=x||k.attr("height");G=G||k.attr("style");y=y||k.attr("id");w=w||k.attr("hspace");r=r||k.attr("vspace");D=D||k.attr("align");j=j||k.attr("bgcolor");for(N in k.attributes.map){if(!a[N]&&!K.params[N]){K.params[N]=k.attributes.map[N]}}}if(s){A=e(s.attr("width"));x=e(s.attr("height"));G=G||s.attr("style");y=s.attr("id");w=s.attr("hspace");r=s.attr("vspace");D=s.attr("align");j=s.attr("bgcolor");tinymce.each(b,function(O){M.attr(O,s.attr(O))});for(N in s.attributes.map){if(!a[N]&&!K.params[N]){K.params[N]=s.attributes.map[N]}}}if(K.params.movie){K.params.src=K.params.src||K.params.movie;delete K.params.movie}if(K.params.src){K.params.src=v.call(n,K.params.src,"src","object")}if(F){if(C.name==="video"){o=H.video.name}else{if(C.name==="audio"){o=H.audio.name}}}if(L&&!o){o=(J(L,"clsid")||J(L,"classid")||J(L,"type")||{}).name}if(k&&!o){o=(J(k,"type")||p(K.params.src)||{}).name}if(k&&o=="EmbeddedAudio"){K.params.type=k.attr("type")}C.replace(M);if(k){k.remove()}if(L){t=u(L.remove());if(t){K.object_html=t}}if(F){t=u(F.remove());if(t){K.video_html=t}}K.hspace=w;K.vspace=r;K.align=D;K.bgcolor=j;M.attr({id:y,"class":"mceItemMedia mceItem"+(o||"Flash"),style:G,width:A||(C.name=="audio"?"300":"320"),height:x||(C.name=="audio"?"32":"240"),hspace:w,vspace:r,align:D,bgcolor:j,"data-mce-json":h.serialize(K,"'")})}});tinymce.PluginManager.add("media",tinymce.plugins.MediaPlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/editor_plugin_src.js
new file mode 100755
index 00000000..33a58050
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/editor_plugin_src.js
@@ -0,0 +1,898 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ var rootAttributes = tinymce.explode('id,name,width,height,style,align,class,hspace,vspace,bgcolor,type'), excludedAttrs = tinymce.makeMap(rootAttributes.join(',')), Node = tinymce.html.Node,
+ mediaTypes, scriptRegExp, JSON = tinymce.util.JSON, mimeTypes;
+
+ // Media types supported by this plugin
+ mediaTypes = [
+ // Type, clsid:s, mime types, codebase
+ ["Flash", "d27cdb6e-ae6d-11cf-96b8-444553540000", "application/x-shockwave-flash", "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"],
+ ["ShockWave", "166b1bca-3f9c-11cf-8075-444553540000", "application/x-director", "http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0"],
+ ["WindowsMedia", "6bf52a52-394a-11d3-b153-00c04f79faa6,22d6f312-b0f6-11d0-94ab-0080c74c7e95,05589fa1-c356-11ce-bf01-00aa0055595a", "application/x-mplayer2", "http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"],
+ ["QuickTime", "02bf25d5-8c17-4b23-bc80-d3488abddc6b", "video/quicktime", "http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0"],
+ ["RealMedia", "cfcdaa03-8be4-11cf-b84b-0020afbbccfa", "audio/x-pn-realaudio-plugin", "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"],
+ ["Java", "8ad9c840-044e-11d1-b3e9-00805f499d93", "application/x-java-applet", "http://java.sun.com/products/plugin/autodl/jinstall-1_5_0-windows-i586.cab#Version=1,5,0,0"],
+ ["Silverlight", "dfeaf541-f3e1-4c24-acac-99c30715084a", "application/x-silverlight-2"],
+ ["Iframe"],
+ ["Video"],
+ ["EmbeddedAudio"],
+ ["Audio"]
+ ];
+
+ function normalizeSize(size) {
+ return typeof(size) == "string" ? size.replace(/[^0-9%]/g, '') : size;
+ }
+
+ function toArray(obj) {
+ var undef, out, i;
+
+ if (obj && !obj.splice) {
+ out = [];
+
+ for (i = 0; true; i++) {
+ if (obj[i])
+ out[i] = obj[i];
+ else
+ break;
+ }
+
+ return out;
+ }
+
+ return obj;
+ };
+
+ tinymce.create('tinymce.plugins.MediaPlugin', {
+ init : function(ed, url) {
+ var self = this, lookup = {}, i, y, item, name;
+
+ function isMediaImg(node) {
+ return node && node.nodeName === 'IMG' && ed.dom.hasClass(node, 'mceItemMedia');
+ };
+
+ self.editor = ed;
+ self.url = url;
+
+ // Parse media types into a lookup table
+ scriptRegExp = '';
+ for (i = 0; i < mediaTypes.length; i++) {
+ name = mediaTypes[i][0];
+
+ item = {
+ name : name,
+ clsids : tinymce.explode(mediaTypes[i][1] || ''),
+ mimes : tinymce.explode(mediaTypes[i][2] || ''),
+ codebase : mediaTypes[i][3]
+ };
+
+ for (y = 0; y < item.clsids.length; y++)
+ lookup['clsid:' + item.clsids[y]] = item;
+
+ for (y = 0; y < item.mimes.length; y++)
+ lookup[item.mimes[y]] = item;
+
+ lookup['mceItem' + name] = item;
+ lookup[name.toLowerCase()] = item;
+
+ scriptRegExp += (scriptRegExp ? '|' : '') + name;
+ }
+
+ // Handle the media_types setting
+ tinymce.each(ed.getParam("media_types",
+ "video=mp4,m4v,ogv,webm;" +
+ "silverlight=xap;" +
+ "flash=swf,flv;" +
+ "shockwave=dcr;" +
+ "quicktime=mov,qt,mpg,mpeg;" +
+ "shockwave=dcr;" +
+ "windowsmedia=avi,wmv,wm,asf,asx,wmx,wvx;" +
+ "realmedia=rm,ra,ram;" +
+ "java=jar;" +
+ "audio=mp3,ogg"
+ ).split(';'), function(item) {
+ var i, extensions, type;
+
+ item = item.split(/=/);
+ extensions = tinymce.explode(item[1].toLowerCase());
+ for (i = 0; i < extensions.length; i++) {
+ type = lookup[item[0].toLowerCase()];
+
+ if (type)
+ lookup[extensions[i]] = type;
+ }
+ });
+
+ scriptRegExp = new RegExp('write(' + scriptRegExp + ')\\(([^)]+)\\)');
+ self.lookup = lookup;
+
+ ed.onPreInit.add(function() {
+ // Allow video elements
+ ed.schema.addValidElements('object[id|style|width|height|classid|codebase|*],param[name|value],embed[id|style|width|height|type|src|*],video[*],audio[*],source[*]');
+
+ // Convert video elements to image placeholder
+ ed.parser.addNodeFilter('object,embed,video,audio,script,iframe', function(nodes) {
+ var i = nodes.length;
+
+ while (i--)
+ self.objectToImg(nodes[i]);
+ });
+
+ // Convert image placeholders to video elements
+ ed.serializer.addNodeFilter('img', function(nodes, name, args) {
+ var i = nodes.length, node;
+
+ while (i--) {
+ node = nodes[i];
+ if ((node.attr('class') || '').indexOf('mceItemMedia') !== -1)
+ self.imgToObject(node, args);
+ }
+ });
+ });
+
+ ed.onInit.add(function() {
+ // Display "media" instead of "img" in element path
+ if (ed.theme && ed.theme.onResolveName) {
+ ed.theme.onResolveName.add(function(theme, path_object) {
+ if (path_object.name === 'img' && ed.dom.hasClass(path_object.node, 'mceItemMedia'))
+ path_object.name = 'media';
+ });
+ }
+
+ // Add contect menu if it's loaded
+ if (ed && ed.plugins.contextmenu) {
+ ed.plugins.contextmenu.onContextMenu.add(function(plugin, menu, element) {
+ if (element.nodeName === 'IMG' && element.className.indexOf('mceItemMedia') !== -1)
+ menu.add({title : 'media.edit', icon : 'media', cmd : 'mceMedia'});
+ });
+ }
+ });
+
+ // Register commands
+ ed.addCommand('mceMedia', function() {
+ var data, img;
+
+ img = ed.selection.getNode();
+ if (isMediaImg(img)) {
+ data = ed.dom.getAttrib(img, 'data-mce-json');
+ if (data) {
+ data = JSON.parse(data);
+
+ // Add some extra properties to the data object
+ tinymce.each(rootAttributes, function(name) {
+ var value = ed.dom.getAttrib(img, name);
+
+ if (value)
+ data[name] = value;
+ });
+
+ data.type = self.getType(img.className).name.toLowerCase();
+ }
+ }
+
+ if (!data) {
+ data = {
+ type : 'flash',
+ video: {sources:[]},
+ params: {}
+ };
+ }
+
+ ed.windowManager.open({
+ file : url + '/media.htm',
+ width : 430 + parseInt(ed.getLang('media.delta_width', 0)),
+ height : 500 + parseInt(ed.getLang('media.delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url,
+ data : data
+ });
+ });
+
+ // Register buttons
+ ed.addButton('media', {title : 'media.desc', cmd : 'mceMedia'});
+
+ // Update media selection status
+ ed.onNodeChange.add(function(ed, cm, node) {
+ cm.setActive('media', isMediaImg(node));
+ });
+ },
+
+ convertUrl : function(url, force_absolute) {
+ var self = this, editor = self.editor, settings = editor.settings,
+ urlConverter = settings.url_converter,
+ urlConverterScope = settings.url_converter_scope || self;
+
+ if (!url)
+ return url;
+
+ if (force_absolute)
+ return editor.documentBaseURI.toAbsolute(url);
+
+ return urlConverter.call(urlConverterScope, url, 'src', 'object');
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Media',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/media',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ /**
+ * Converts the JSON data object to an img node.
+ */
+ dataToImg : function(data, force_absolute) {
+ var self = this, editor = self.editor, baseUri = editor.documentBaseURI, sources, attrs, img, i;
+
+ data.params.src = self.convertUrl(data.params.src, force_absolute);
+
+ attrs = data.video.attrs;
+ if (attrs)
+ attrs.src = self.convertUrl(attrs.src, force_absolute);
+
+ if (attrs)
+ attrs.poster = self.convertUrl(attrs.poster, force_absolute);
+
+ sources = toArray(data.video.sources);
+ if (sources) {
+ for (i = 0; i < sources.length; i++)
+ sources[i].src = self.convertUrl(sources[i].src, force_absolute);
+ }
+
+ img = self.editor.dom.create('img', {
+ id : data.id,
+ style : data.style,
+ align : data.align,
+ hspace : data.hspace,
+ vspace : data.vspace,
+ src : self.editor.theme.url + '/img/trans.gif',
+ 'class' : 'mceItemMedia mceItem' + self.getType(data.type).name,
+ 'data-mce-json' : JSON.serialize(data, "'")
+ });
+
+ img.width = data.width = normalizeSize(data.width || (data.type == 'audio' ? "300" : "320"));
+ img.height = data.height = normalizeSize(data.height || (data.type == 'audio' ? "32" : "240"));
+
+ return img;
+ },
+
+ /**
+ * Converts the JSON data object to a HTML string.
+ */
+ dataToHtml : function(data, force_absolute) {
+ return this.editor.serializer.serialize(this.dataToImg(data, force_absolute), {forced_root_block : '', force_absolute : force_absolute});
+ },
+
+ /**
+ * Converts the JSON data object to a HTML string.
+ */
+ htmlToData : function(html) {
+ var fragment, img, data;
+
+ data = {
+ type : 'flash',
+ video: {sources:[]},
+ params: {}
+ };
+
+ fragment = this.editor.parser.parse(html);
+ img = fragment.getAll('img')[0];
+
+ if (img) {
+ data = JSON.parse(img.attr('data-mce-json'));
+ data.type = this.getType(img.attr('class')).name.toLowerCase();
+
+ // Add some extra properties to the data object
+ tinymce.each(rootAttributes, function(name) {
+ var value = img.attr(name);
+
+ if (value)
+ data[name] = value;
+ });
+ }
+
+ return data;
+ },
+
+ /**
+ * Get type item by extension, class, clsid or mime type.
+ *
+ * @method getType
+ * @param {String} value Value to get type item by.
+ * @return {Object} Type item object or undefined.
+ */
+ getType : function(value) {
+ var i, values, typeItem;
+
+ // Find type by checking the classes
+ values = tinymce.explode(value, ' ');
+ for (i = 0; i < values.length; i++) {
+ typeItem = this.lookup[values[i]];
+
+ if (typeItem)
+ return typeItem;
+ }
+ },
+
+ /**
+ * Converts a tinymce.html.Node image element to video/object/embed.
+ */
+ imgToObject : function(node, args) {
+ var self = this, editor = self.editor, video, object, embed, iframe, name, value, data,
+ source, sources, params, param, typeItem, i, item, mp4Source, replacement,
+ posterSrc, style, audio;
+
+ // Adds the flash player
+ function addPlayer(video_src, poster_src) {
+ var baseUri, flashVars, flashVarsOutput, params, flashPlayer;
+
+ flashPlayer = editor.getParam('flash_video_player_url', self.convertUrl(self.url + '/moxieplayer.swf'));
+ if (flashPlayer) {
+ baseUri = editor.documentBaseURI;
+ data.params.src = flashPlayer;
+
+ // Convert the movie url to absolute urls
+ if (editor.getParam('flash_video_player_absvideourl', true)) {
+ video_src = baseUri.toAbsolute(video_src || '', true);
+ poster_src = baseUri.toAbsolute(poster_src || '', true);
+ }
+
+ // Generate flash vars
+ flashVarsOutput = '';
+ flashVars = editor.getParam('flash_video_player_flashvars', {url : '$url', poster : '$poster'});
+ tinymce.each(flashVars, function(value, name) {
+ // Replace $url and $poster variables in flashvars value
+ value = value.replace(/\$url/, video_src || '');
+ value = value.replace(/\$poster/, poster_src || '');
+
+ if (value.length > 0)
+ flashVarsOutput += (flashVarsOutput ? '&' : '') + name + '=' + escape(value);
+ });
+
+ if (flashVarsOutput.length)
+ data.params.flashvars = flashVarsOutput;
+
+ params = editor.getParam('flash_video_player_params', {
+ allowfullscreen: true,
+ allowscriptaccess: true
+ });
+
+ tinymce.each(params, function(value, name) {
+ data.params[name] = "" + value;
+ });
+ }
+ };
+
+ data = node.attr('data-mce-json');
+ if (!data)
+ return;
+
+ data = JSON.parse(data);
+ typeItem = this.getType(node.attr('class'));
+
+ style = node.attr('data-mce-style');
+ if (!style) {
+ style = node.attr('style');
+
+ if (style)
+ style = editor.dom.serializeStyle(editor.dom.parseStyle(style, 'img'));
+ }
+
+ // Use node width/height to override the data width/height when the placeholder is resized
+ data.width = node.attr('width') || data.width;
+ data.height = node.attr('height') || data.height;
+
+ // Handle iframe
+ if (typeItem.name === 'Iframe') {
+ replacement = new Node('iframe', 1);
+
+ tinymce.each(rootAttributes, function(name) {
+ var value = node.attr(name);
+
+ if (name == 'class' && value)
+ value = value.replace(/mceItem.+ ?/g, '');
+
+ if (value && value.length > 0)
+ replacement.attr(name, value);
+ });
+
+ for (name in data.params)
+ replacement.attr(name, data.params[name]);
+
+ replacement.attr({
+ style: style,
+ src: data.params.src
+ });
+
+ node.replace(replacement);
+
+ return;
+ }
+
+ // Handle scripts
+ if (this.editor.settings.media_use_script) {
+ replacement = new Node('script', 1).attr('type', 'text/javascript');
+
+ value = new Node('#text', 3);
+ value.value = 'write' + typeItem.name + '(' + JSON.serialize(tinymce.extend(data.params, {
+ width: node.attr('width'),
+ height: node.attr('height')
+ })) + ');';
+
+ replacement.append(value);
+ node.replace(replacement);
+
+ return;
+ }
+
+ // Add HTML5 video element
+ if (typeItem.name === 'Video' && data.video.sources[0]) {
+ // Create new object element
+ video = new Node('video', 1).attr(tinymce.extend({
+ id : node.attr('id'),
+ width: normalizeSize(node.attr('width')),
+ height: normalizeSize(node.attr('height')),
+ style : style
+ }, data.video.attrs));
+
+ // Get poster source and use that for flash fallback
+ if (data.video.attrs)
+ posterSrc = data.video.attrs.poster;
+
+ sources = data.video.sources = toArray(data.video.sources);
+ for (i = 0; i < sources.length; i++) {
+ if (/\.mp4$/.test(sources[i].src))
+ mp4Source = sources[i].src;
+ }
+
+ if (!sources[0].type) {
+ video.attr('src', sources[0].src);
+ sources.splice(0, 1);
+ }
+
+ for (i = 0; i < sources.length; i++) {
+ source = new Node('source', 1).attr(sources[i]);
+ source.shortEnded = true;
+ video.append(source);
+ }
+
+ // Create flash fallback for video if we have a mp4 source
+ if (mp4Source) {
+ addPlayer(mp4Source, posterSrc);
+ typeItem = self.getType('flash');
+ } else
+ data.params.src = '';
+ }
+
+ // Add HTML5 audio element
+ if (typeItem.name === 'Audio' && data.video.sources[0]) {
+ // Create new object element
+ audio = new Node('audio', 1).attr(tinymce.extend({
+ id : node.attr('id'),
+ width: normalizeSize(node.attr('width')),
+ height: normalizeSize(node.attr('height')),
+ style : style
+ }, data.video.attrs));
+
+ // Get poster source and use that for flash fallback
+ if (data.video.attrs)
+ posterSrc = data.video.attrs.poster;
+
+ sources = data.video.sources = toArray(data.video.sources);
+ if (!sources[0].type) {
+ audio.attr('src', sources[0].src);
+ sources.splice(0, 1);
+ }
+
+ for (i = 0; i < sources.length; i++) {
+ source = new Node('source', 1).attr(sources[i]);
+ source.shortEnded = true;
+ audio.append(source);
+ }
+
+ data.params.src = '';
+ }
+
+ if (typeItem.name === 'EmbeddedAudio') {
+ embed = new Node('embed', 1);
+ embed.shortEnded = true;
+ embed.attr({
+ id: node.attr('id'),
+ width: normalizeSize(node.attr('width')),
+ height: normalizeSize(node.attr('height')),
+ style : style,
+ type: node.attr('type')
+ });
+
+ for (name in data.params)
+ embed.attr(name, data.params[name]);
+
+ tinymce.each(rootAttributes, function(name) {
+ if (data[name] && name != 'type')
+ embed.attr(name, data[name]);
+ });
+
+ data.params.src = '';
+ }
+
+ // Do we have a params src then we can generate object
+ if (data.params.src) {
+ // Is flv movie add player for it
+ if (/\.flv$/i.test(data.params.src))
+ addPlayer(data.params.src, '');
+
+ if (args && args.force_absolute)
+ data.params.src = editor.documentBaseURI.toAbsolute(data.params.src);
+
+ // Create new object element
+ object = new Node('object', 1).attr({
+ id : node.attr('id'),
+ width: normalizeSize(node.attr('width')),
+ height: normalizeSize(node.attr('height')),
+ style : style
+ });
+
+ tinymce.each(rootAttributes, function(name) {
+ var value = data[name];
+
+ if (name == 'class' && value)
+ value = value.replace(/mceItem.+ ?/g, '');
+
+ if (value && name != 'type')
+ object.attr(name, value);
+ });
+
+ // Add params
+ for (name in data.params) {
+ param = new Node('param', 1);
+ param.shortEnded = true;
+ value = data.params[name];
+
+ // Windows media needs to use url instead of src for the media URL
+ if (name === 'src' && typeItem.name === 'WindowsMedia')
+ name = 'url';
+
+ param.attr({name: name, value: value});
+ object.append(param);
+ }
+
+ // Setup add type and classid if strict is disabled
+ if (this.editor.getParam('media_strict', true)) {
+ object.attr({
+ data: data.params.src,
+ type: typeItem.mimes[0]
+ });
+ } else {
+ object.attr({
+ classid: "clsid:" + typeItem.clsids[0],
+ codebase: typeItem.codebase
+ });
+
+ embed = new Node('embed', 1);
+ embed.shortEnded = true;
+ embed.attr({
+ id: node.attr('id'),
+ width: normalizeSize(node.attr('width')),
+ height: normalizeSize(node.attr('height')),
+ style : style,
+ type: typeItem.mimes[0]
+ });
+
+ for (name in data.params)
+ embed.attr(name, data.params[name]);
+
+ tinymce.each(rootAttributes, function(name) {
+ if (data[name] && name != 'type')
+ embed.attr(name, data[name]);
+ });
+
+ object.append(embed);
+ }
+
+ // Insert raw HTML
+ if (data.object_html) {
+ value = new Node('#text', 3);
+ value.raw = true;
+ value.value = data.object_html;
+ object.append(value);
+ }
+
+ // Append object to video element if it exists
+ if (video)
+ video.append(object);
+ }
+
+ if (video) {
+ // Insert raw HTML
+ if (data.video_html) {
+ value = new Node('#text', 3);
+ value.raw = true;
+ value.value = data.video_html;
+ video.append(value);
+ }
+ }
+
+ if (audio) {
+ // Insert raw HTML
+ if (data.video_html) {
+ value = new Node('#text', 3);
+ value.raw = true;
+ value.value = data.video_html;
+ audio.append(value);
+ }
+ }
+
+ var n = video || audio || object || embed;
+ if (n)
+ node.replace(n);
+ else
+ node.remove();
+ },
+
+ /**
+ * Converts a tinymce.html.Node video/object/embed to an img element.
+ *
+ * The video/object/embed will be converted into an image placeholder with a JSON data attribute like this:
+ * <img class="mceItemMedia mceItemFlash" width="100" height="100" data-mce-json="{..}" />
+ *
+ * The JSON structure will be like this:
+ * {'params':{'flashvars':'something','quality':'high','src':'someurl'}, 'video':{'sources':[{src: 'someurl', type: 'video/mp4'}]}}
+ */
+ objectToImg : function(node) {
+ var object, embed, video, iframe, img, name, id, width, height, style, i, html,
+ param, params, source, sources, data, type, lookup = this.lookup,
+ matches, attrs, urlConverter = this.editor.settings.url_converter,
+ urlConverterScope = this.editor.settings.url_converter_scope,
+ hspace, vspace, align, bgcolor;
+
+ function getInnerHTML(node) {
+ return new tinymce.html.Serializer({
+ inner: true,
+ validate: false
+ }).serialize(node);
+ };
+
+ function lookupAttribute(o, attr) {
+ return lookup[(o.attr(attr) || '').toLowerCase()];
+ }
+
+ function lookupExtension(src) {
+ var ext = src.replace(/^.*\.([^.]+)$/, '$1');
+ return lookup[ext.toLowerCase() || ''];
+ }
+
+ // If node isn't in document
+ if (!node.parent)
+ return;
+
+ // Handle media scripts
+ if (node.name === 'script') {
+ if (node.firstChild)
+ matches = scriptRegExp.exec(node.firstChild.value);
+
+ if (!matches)
+ return;
+
+ type = matches[1];
+ data = {video : {}, params : JSON.parse(matches[2])};
+ width = data.params.width;
+ height = data.params.height;
+ }
+
+ // Setup data objects
+ data = data || {
+ video : {},
+ params : {}
+ };
+
+ // Setup new image object
+ img = new Node('img', 1);
+ img.attr({
+ src : this.editor.theme.url + '/img/trans.gif'
+ });
+
+ // Video element
+ name = node.name;
+ if (name === 'video' || name == 'audio') {
+ video = node;
+ object = node.getAll('object')[0];
+ embed = node.getAll('embed')[0];
+ width = video.attr('width');
+ height = video.attr('height');
+ id = video.attr('id');
+ data.video = {attrs : {}, sources : []};
+
+ // Get all video attributes
+ attrs = data.video.attrs;
+ for (name in video.attributes.map)
+ attrs[name] = video.attributes.map[name];
+
+ source = node.attr('src');
+ if (source)
+ data.video.sources.push({src : urlConverter.call(urlConverterScope, source, 'src', node.name)});
+
+ // Get all sources
+ sources = video.getAll("source");
+ for (i = 0; i < sources.length; i++) {
+ source = sources[i].remove();
+
+ data.video.sources.push({
+ src: urlConverter.call(urlConverterScope, source.attr('src'), 'src', 'source'),
+ type: source.attr('type'),
+ media: source.attr('media')
+ });
+ }
+
+ // Convert the poster URL
+ if (attrs.poster)
+ attrs.poster = urlConverter.call(urlConverterScope, attrs.poster, 'poster', node.name);
+ }
+
+ // Object element
+ if (node.name === 'object') {
+ object = node;
+ embed = node.getAll('embed')[0];
+ }
+
+ // Embed element
+ if (node.name === 'embed')
+ embed = node;
+
+ // Iframe element
+ if (node.name === 'iframe') {
+ iframe = node;
+ type = 'Iframe';
+ }
+
+ if (object) {
+ // Get width/height
+ width = width || object.attr('width');
+ height = height || object.attr('height');
+ style = style || object.attr('style');
+ id = id || object.attr('id');
+ hspace = hspace || object.attr('hspace');
+ vspace = vspace || object.attr('vspace');
+ align = align || object.attr('align');
+ bgcolor = bgcolor || object.attr('bgcolor');
+ data.name = object.attr('name');
+
+ // Get all object params
+ params = object.getAll("param");
+ for (i = 0; i < params.length; i++) {
+ param = params[i];
+ name = param.remove().attr('name');
+
+ if (!excludedAttrs[name])
+ data.params[name] = param.attr('value');
+ }
+
+ data.params.src = data.params.src || object.attr('data');
+ }
+
+ if (embed) {
+ // Get width/height
+ width = width || embed.attr('width');
+ height = height || embed.attr('height');
+ style = style || embed.attr('style');
+ id = id || embed.attr('id');
+ hspace = hspace || embed.attr('hspace');
+ vspace = vspace || embed.attr('vspace');
+ align = align || embed.attr('align');
+ bgcolor = bgcolor || embed.attr('bgcolor');
+
+ // Get all embed attributes
+ for (name in embed.attributes.map) {
+ if (!excludedAttrs[name] && !data.params[name])
+ data.params[name] = embed.attributes.map[name];
+ }
+ }
+
+ if (iframe) {
+ // Get width/height
+ width = normalizeSize(iframe.attr('width'));
+ height = normalizeSize(iframe.attr('height'));
+ style = style || iframe.attr('style');
+ id = iframe.attr('id');
+ hspace = iframe.attr('hspace');
+ vspace = iframe.attr('vspace');
+ align = iframe.attr('align');
+ bgcolor = iframe.attr('bgcolor');
+
+ tinymce.each(rootAttributes, function(name) {
+ img.attr(name, iframe.attr(name));
+ });
+
+ // Get all iframe attributes
+ for (name in iframe.attributes.map) {
+ if (!excludedAttrs[name] && !data.params[name])
+ data.params[name] = iframe.attributes.map[name];
+ }
+ }
+
+ // Use src not movie
+ if (data.params.movie) {
+ data.params.src = data.params.src || data.params.movie;
+ delete data.params.movie;
+ }
+
+ // Convert the URL to relative/absolute depending on configuration
+ if (data.params.src)
+ data.params.src = urlConverter.call(urlConverterScope, data.params.src, 'src', 'object');
+
+ if (video) {
+ if (node.name === 'video')
+ type = lookup.video.name;
+ else if (node.name === 'audio')
+ type = lookup.audio.name;
+ }
+
+ if (object && !type)
+ type = (lookupAttribute(object, 'clsid') || lookupAttribute(object, 'classid') || lookupAttribute(object, 'type') || {}).name;
+
+ if (embed && !type)
+ type = (lookupAttribute(embed, 'type') || lookupExtension(data.params.src) || {}).name;
+
+ // for embedded audio we preserve the original specified type
+ if (embed && type == 'EmbeddedAudio') {
+ data.params.type = embed.attr('type');
+ }
+
+ // Replace the video/object/embed element with a placeholder image containing the data
+ node.replace(img);
+
+ // Remove embed
+ if (embed)
+ embed.remove();
+
+ // Serialize the inner HTML of the object element
+ if (object) {
+ html = getInnerHTML(object.remove());
+
+ if (html)
+ data.object_html = html;
+ }
+
+ // Serialize the inner HTML of the video element
+ if (video) {
+ html = getInnerHTML(video.remove());
+
+ if (html)
+ data.video_html = html;
+ }
+
+ data.hspace = hspace;
+ data.vspace = vspace;
+ data.align = align;
+ data.bgcolor = bgcolor;
+
+ // Set width/height of placeholder
+ img.attr({
+ id : id,
+ 'class' : 'mceItemMedia mceItem' + (type || 'Flash'),
+ style : style,
+ width : width || (node.name == 'audio' ? "300" : "320"),
+ height : height || (node.name == 'audio' ? "32" : "240"),
+ hspace : hspace,
+ vspace : vspace,
+ align : align,
+ bgcolor : bgcolor,
+ "data-mce-json" : JSON.serialize(data, "'")
+ });
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('media', tinymce.plugins.MediaPlugin);
+})();
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/js/embed.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/js/embed.js
new file mode 100644
index 00000000..f8dc8105
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/js/embed.js
@@ -0,0 +1,73 @@
+/**
+ * This script contains embed functions for common plugins. This scripts are complety free to use for any purpose.
+ */
+
+function writeFlash(p) {
+ writeEmbed(
+ 'D27CDB6E-AE6D-11cf-96B8-444553540000',
+ 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
+ 'application/x-shockwave-flash',
+ p
+ );
+}
+
+function writeShockWave(p) {
+ writeEmbed(
+ '166B1BCA-3F9C-11CF-8075-444553540000',
+ 'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0',
+ 'application/x-director',
+ p
+ );
+}
+
+function writeQuickTime(p) {
+ writeEmbed(
+ '02BF25D5-8C17-4B23-BC80-D3488ABDDC6B',
+ 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0',
+ 'video/quicktime',
+ p
+ );
+}
+
+function writeRealMedia(p) {
+ writeEmbed(
+ 'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA',
+ 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
+ 'audio/x-pn-realaudio-plugin',
+ p
+ );
+}
+
+function writeWindowsMedia(p) {
+ p.url = p.src;
+ writeEmbed(
+ '6BF52A52-394A-11D3-B153-00C04F79FAA6',
+ 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701',
+ 'application/x-mplayer2',
+ p
+ );
+}
+
+function writeEmbed(cls, cb, mt, p) {
+ var h = '', n;
+
+ h += '<object classid="clsid:' + cls + '" codebase="' + cb + '"';
+ h += typeof(p.id) != "undefined" ? 'id="' + p.id + '"' : '';
+ h += typeof(p.name) != "undefined" ? 'name="' + p.name + '"' : '';
+ h += typeof(p.width) != "undefined" ? 'width="' + p.width + '"' : '';
+ h += typeof(p.height) != "undefined" ? 'height="' + p.height + '"' : '';
+ h += typeof(p.align) != "undefined" ? 'align="' + p.align + '"' : '';
+ h += '>';
+
+ for (n in p)
+ h += '<param name="' + n + '" value="' + p[n] + '">';
+
+ h += '<embed type="' + mt + '"';
+
+ for (n in p)
+ h += n + '="' + p[n] + '" ';
+
+ h += '></embed></object>';
+
+ document.write(h);
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/js/media.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/js/media.js
new file mode 100644
index 00000000..f6a081a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/js/media.js
@@ -0,0 +1,503 @@
+(function() {
+ var url;
+
+ if (url = tinyMCEPopup.getParam("media_external_list_url"))
+ document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
+
+ function get(id) {
+ return document.getElementById(id);
+ }
+
+ function clone(obj) {
+ var i, len, copy, attr;
+
+ if (null == obj || "object" != typeof obj)
+ return obj;
+
+ // Handle Array
+ if ('length' in obj) {
+ copy = [];
+
+ for (i = 0, len = obj.length; i < len; ++i) {
+ copy[i] = clone(obj[i]);
+ }
+
+ return copy;
+ }
+
+ // Handle Object
+ copy = {};
+ for (attr in obj) {
+ if (obj.hasOwnProperty(attr))
+ copy[attr] = clone(obj[attr]);
+ }
+
+ return copy;
+ }
+
+ function getVal(id) {
+ var elm = get(id);
+
+ if (elm.nodeName == "SELECT")
+ return elm.options[elm.selectedIndex].value;
+
+ if (elm.type == "checkbox")
+ return elm.checked;
+
+ return elm.value;
+ }
+
+ function setVal(id, value, name) {
+ if (typeof(value) != 'undefined' && value != null) {
+ var elm = get(id);
+
+ if (elm.nodeName == "SELECT")
+ selectByValue(document.forms[0], id, value);
+ else if (elm.type == "checkbox") {
+ if (typeof(value) == 'string') {
+ value = value.toLowerCase();
+ value = (!name && value === 'true') || (name && value === name.toLowerCase());
+ }
+ elm.checked = !!value;
+ } else
+ elm.value = value;
+ }
+ }
+
+ window.Media = {
+ init : function() {
+ var html, editor, self = this;
+
+ self.editor = editor = tinyMCEPopup.editor;
+
+ // Setup file browsers and color pickers
+ get('filebrowsercontainer').innerHTML = getBrowserHTML('filebrowser','src','media','media');
+ get('qtsrcfilebrowsercontainer').innerHTML = getBrowserHTML('qtsrcfilebrowser','quicktime_qtsrc','media','media');
+ get('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor');
+ get('video_altsource1_filebrowser').innerHTML = getBrowserHTML('video_filebrowser_altsource1','video_altsource1','media','media');
+ get('video_altsource2_filebrowser').innerHTML = getBrowserHTML('video_filebrowser_altsource2','video_altsource2','media','media');
+ get('audio_altsource1_filebrowser').innerHTML = getBrowserHTML('audio_filebrowser_altsource1','audio_altsource1','media','media');
+ get('audio_altsource2_filebrowser').innerHTML = getBrowserHTML('audio_filebrowser_altsource2','audio_altsource2','media','media');
+ get('video_poster_filebrowser').innerHTML = getBrowserHTML('filebrowser_poster','video_poster','image','media');
+
+ html = self.getMediaListHTML('medialist', 'src', 'media', 'media');
+ if (html == "")
+ get("linklistrow").style.display = 'none';
+ else
+ get("linklistcontainer").innerHTML = html;
+
+ if (isVisible('filebrowser'))
+ get('src').style.width = '230px';
+
+ if (isVisible('video_filebrowser_altsource1'))
+ get('video_altsource1').style.width = '220px';
+
+ if (isVisible('video_filebrowser_altsource2'))
+ get('video_altsource2').style.width = '220px';
+
+ if (isVisible('audio_filebrowser_altsource1'))
+ get('audio_altsource1').style.width = '220px';
+
+ if (isVisible('audio_filebrowser_altsource2'))
+ get('audio_altsource2').style.width = '220px';
+
+ if (isVisible('filebrowser_poster'))
+ get('video_poster').style.width = '220px';
+
+ editor.dom.setOuterHTML(get('media_type'), self.getMediaTypeHTML(editor));
+
+ self.setDefaultDialogSettings(editor);
+ self.data = clone(tinyMCEPopup.getWindowArg('data'));
+ self.dataToForm();
+ self.preview();
+
+ updateColor('bgcolor_pick', 'bgcolor');
+ },
+
+ insert : function() {
+ var editor = tinyMCEPopup.editor;
+
+ this.formToData();
+ editor.execCommand('mceRepaint');
+ tinyMCEPopup.restoreSelection();
+ editor.selection.setNode(editor.plugins.media.dataToImg(this.data));
+ tinyMCEPopup.close();
+ },
+
+ preview : function() {
+ get('prev').innerHTML = this.editor.plugins.media.dataToHtml(this.data, true);
+ },
+
+ moveStates : function(to_form, field) {
+ var data = this.data, editor = this.editor,
+ mediaPlugin = editor.plugins.media, ext, src, typeInfo, defaultStates, src;
+
+ defaultStates = {
+ // QuickTime
+ quicktime_autoplay : true,
+ quicktime_controller : true,
+
+ // Flash
+ flash_play : true,
+ flash_loop : true,
+ flash_menu : true,
+
+ // WindowsMedia
+ windowsmedia_autostart : true,
+ windowsmedia_enablecontextmenu : true,
+ windowsmedia_invokeurls : true,
+
+ // RealMedia
+ realmedia_autogotourl : true,
+ realmedia_imagestatus : true
+ };
+
+ function parseQueryParams(str) {
+ var out = {};
+
+ if (str) {
+ tinymce.each(str.split('&'), function(item) {
+ var parts = item.split('=');
+
+ out[unescape(parts[0])] = unescape(parts[1]);
+ });
+ }
+
+ return out;
+ };
+
+ function setOptions(type, names) {
+ var i, name, formItemName, value, list;
+
+ if (type == data.type || type == 'global') {
+ names = tinymce.explode(names);
+ for (i = 0; i < names.length; i++) {
+ name = names[i];
+ formItemName = type == 'global' ? name : type + '_' + name;
+
+ if (type == 'global')
+ list = data;
+ else if (type == 'video' || type == 'audio') {
+ list = data.video.attrs;
+
+ if (!list && !to_form)
+ data.video.attrs = list = {};
+ } else
+ list = data.params;
+
+ if (list) {
+ if (to_form) {
+ setVal(formItemName, list[name], type == 'video' || type == 'audio' ? name : '');
+ } else {
+ delete list[name];
+
+ value = getVal(formItemName);
+ if ((type == 'video' || type == 'audio') && value === true)
+ value = name;
+
+ if (defaultStates[formItemName]) {
+ if (value !== defaultStates[formItemName]) {
+ value = "" + value;
+ list[name] = value;
+ }
+ } else if (value) {
+ value = "" + value;
+ list[name] = value;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ if (!to_form) {
+ data.type = get('media_type').options[get('media_type').selectedIndex].value;
+ data.width = getVal('width');
+ data.height = getVal('height');
+
+ // Switch type based on extension
+ src = getVal('src');
+ if (field == 'src') {
+ ext = src.replace(/^.*\.([^.]+)$/, '$1');
+ if (typeInfo = mediaPlugin.getType(ext))
+ data.type = typeInfo.name.toLowerCase();
+
+ setVal('media_type', data.type);
+ }
+
+ if (data.type == "video" || data.type == "audio") {
+ if (!data.video.sources)
+ data.video.sources = [];
+
+ data.video.sources[0] = {src: getVal('src')};
+ }
+ }
+
+ // Hide all fieldsets and show the one active
+ get('video_options').style.display = 'none';
+ get('audio_options').style.display = 'none';
+ get('flash_options').style.display = 'none';
+ get('quicktime_options').style.display = 'none';
+ get('shockwave_options').style.display = 'none';
+ get('windowsmedia_options').style.display = 'none';
+ get('realmedia_options').style.display = 'none';
+ get('embeddedaudio_options').style.display = 'none';
+
+ if (get(data.type + '_options'))
+ get(data.type + '_options').style.display = 'block';
+
+ setVal('media_type', data.type);
+
+ setOptions('flash', 'play,loop,menu,swliveconnect,quality,scale,salign,wmode,base,flashvars');
+ setOptions('quicktime', 'loop,autoplay,cache,controller,correction,enablejavascript,kioskmode,autohref,playeveryframe,targetcache,scale,starttime,endtime,target,qtsrcchokespeed,volume,qtsrc');
+ setOptions('shockwave', 'sound,progress,autostart,swliveconnect,swvolume,swstretchstyle,swstretchhalign,swstretchvalign');
+ setOptions('windowsmedia', 'autostart,enabled,enablecontextmenu,fullscreen,invokeurls,mute,stretchtofit,windowlessvideo,balance,baseurl,captioningid,currentmarker,currentposition,defaultframe,playcount,rate,uimode,volume');
+ setOptions('realmedia', 'autostart,loop,autogotourl,center,imagestatus,maintainaspect,nojava,prefetch,shuffle,console,controls,numloop,scriptcallbacks');
+ setOptions('video', 'poster,autoplay,loop,muted,preload,controls');
+ setOptions('audio', 'autoplay,loop,preload,controls');
+ setOptions('embeddedaudio', 'autoplay,loop,controls');
+ setOptions('global', 'id,name,vspace,hspace,bgcolor,align,width,height');
+
+ if (to_form) {
+ if (data.type == 'video') {
+ if (data.video.sources[0])
+ setVal('src', data.video.sources[0].src);
+
+ src = data.video.sources[1];
+ if (src)
+ setVal('video_altsource1', src.src);
+
+ src = data.video.sources[2];
+ if (src)
+ setVal('video_altsource2', src.src);
+ } else if (data.type == 'audio') {
+ if (data.video.sources[0])
+ setVal('src', data.video.sources[0].src);
+
+ src = data.video.sources[1];
+ if (src)
+ setVal('audio_altsource1', src.src);
+
+ src = data.video.sources[2];
+ if (src)
+ setVal('audio_altsource2', src.src);
+ } else {
+ // Check flash vars
+ if (data.type == 'flash') {
+ tinymce.each(editor.getParam('flash_video_player_flashvars', {url : '$url', poster : '$poster'}), function(value, name) {
+ if (value == '$url')
+ data.params.src = parseQueryParams(data.params.flashvars)[name] || data.params.src || '';
+ });
+ }
+
+ setVal('src', data.params.src);
+ }
+ } else {
+ src = getVal("src");
+
+ // YouTube *NEW*
+ if (src.match(/youtu.be\/[a-z1-9.-_]+/)) {
+ data.width = 425;
+ data.height = 350;
+ data.params.frameborder = '0';
+ data.type = 'iframe';
+ src = 'http://www.youtube.com/embed/' + src.match(/youtu.be\/([a-z1-9.-_]+)/)[1];
+ setVal('src', src);
+ setVal('media_type', data.type);
+ }
+
+ // YouTube
+ if (src.match(/youtube.com(.+)v=([^&]+)/)) {
+ data.width = 425;
+ data.height = 350;
+ data.params.frameborder = '0';
+ data.type = 'iframe';
+ src = 'http://www.youtube.com/embed/' + src.match(/v=([^&]+)/)[1];
+ setVal('src', src);
+ setVal('media_type', data.type);
+ }
+
+ // Google video
+ if (src.match(/video.google.com(.+)docid=([^&]+)/)) {
+ data.width = 425;
+ data.height = 326;
+ data.type = 'flash';
+ src = 'http://video.google.com/googleplayer.swf?docId=' + src.match(/docid=([^&]+)/)[1] + '&hl=en';
+ setVal('src', src);
+ setVal('media_type', data.type);
+ }
+
+ // Vimeo
+ if (src.match(/vimeo.com\/([0-9]+)/)) {
+ data.width = 425;
+ data.height = 350;
+ data.params.frameborder = '0';
+ data.type = 'iframe';
+ src = 'http://player.vimeo.com/video/' + src.match(/vimeo.com\/([0-9]+)/)[1];
+ setVal('src', src);
+ setVal('media_type', data.type);
+ }
+
+ // stream.cz
+ if (src.match(/stream.cz\/((?!object).)*\/([0-9]+)/)) {
+ data.width = 425;
+ data.height = 350;
+ data.params.frameborder = '0';
+ data.type = 'iframe';
+ src = 'http://www.stream.cz/object/' + src.match(/stream.cz\/[^/]+\/([0-9]+)/)[1];
+ setVal('src', src);
+ setVal('media_type', data.type);
+ }
+
+ // Google maps
+ if (src.match(/maps.google.([a-z]{2,3})\/maps\/(.+)msid=(.+)/)) {
+ data.width = 425;
+ data.height = 350;
+ data.params.frameborder = '0';
+ data.type = 'iframe';
+ src = 'http://maps.google.com/maps/ms?msid=' + src.match(/msid=(.+)/)[1] + "&output=embed";
+ setVal('src', src);
+ setVal('media_type', data.type);
+ }
+
+ if (data.type == 'video') {
+ if (!data.video.sources)
+ data.video.sources = [];
+
+ data.video.sources[0] = {src : src};
+
+ src = getVal("video_altsource1");
+ if (src)
+ data.video.sources[1] = {src : src};
+
+ src = getVal("video_altsource2");
+ if (src)
+ data.video.sources[2] = {src : src};
+ } else if (data.type == 'audio') {
+ if (!data.video.sources)
+ data.video.sources = [];
+
+ data.video.sources[0] = {src : src};
+
+ src = getVal("audio_altsource1");
+ if (src)
+ data.video.sources[1] = {src : src};
+
+ src = getVal("audio_altsource2");
+ if (src)
+ data.video.sources[2] = {src : src};
+ } else
+ data.params.src = src;
+
+ // Set default size
+ setVal('width', data.width || (data.type == 'audio' ? 300 : 320));
+ setVal('height', data.height || (data.type == 'audio' ? 32 : 240));
+ }
+ },
+
+ dataToForm : function() {
+ this.moveStates(true);
+ },
+
+ formToData : function(field) {
+ if (field == "width" || field == "height")
+ this.changeSize(field);
+
+ if (field == 'source') {
+ this.moveStates(false, field);
+ setVal('source', this.editor.plugins.media.dataToHtml(this.data));
+ this.panel = 'source';
+ } else {
+ if (this.panel == 'source') {
+ this.data = clone(this.editor.plugins.media.htmlToData(getVal('source')));
+ this.dataToForm();
+ this.panel = '';
+ }
+
+ this.moveStates(false, field);
+ this.preview();
+ }
+ },
+
+ beforeResize : function() {
+ this.width = parseInt(getVal('width') || (this.data.type == 'audio' ? "300" : "320"), 10);
+ this.height = parseInt(getVal('height') || (this.data.type == 'audio' ? "32" : "240"), 10);
+ },
+
+ changeSize : function(type) {
+ var width, height, scale, size;
+
+ if (get('constrain').checked) {
+ width = parseInt(getVal('width') || (this.data.type == 'audio' ? "300" : "320"), 10);
+ height = parseInt(getVal('height') || (this.data.type == 'audio' ? "32" : "240"), 10);
+
+ if (type == 'width') {
+ this.height = Math.round((width / this.width) * height);
+ setVal('height', this.height);
+ } else {
+ this.width = Math.round((height / this.height) * width);
+ setVal('width', this.width);
+ }
+ }
+ },
+
+ getMediaListHTML : function() {
+ if (typeof(tinyMCEMediaList) != "undefined" && tinyMCEMediaList.length > 0) {
+ var html = "";
+
+ html += '<select id="linklist" name="linklist" style="width: 250px" onchange="this.form.src.value=this.options[this.selectedIndex].value;Media.formToData(\'src\');">';
+ html += '<option value="">---</option>';
+
+ for (var i=0; i<tinyMCEMediaList.length; i++)
+ html += '<option value="' + tinyMCEMediaList[i][1] + '">' + tinyMCEMediaList[i][0] + '</option>';
+
+ html += '</select>';
+
+ return html;
+ }
+
+ return "";
+ },
+
+ getMediaTypeHTML : function(editor) {
+ function option(media_type, element) {
+ if (!editor.schema.getElementRule(element || media_type)) {
+ return '';
+ }
+
+ return '<option value="'+media_type+'">'+tinyMCEPopup.editor.translate("media_dlg."+media_type)+'</option>'
+ }
+
+ var html = "";
+
+ html += '<select id="media_type" name="media_type" onchange="Media.formToData(\'type\');">';
+ html += option("video");
+ html += option("audio");
+ html += option("flash", "object");
+ html += option("quicktime", "object");
+ html += option("shockwave", "object");
+ html += option("windowsmedia", "object");
+ html += option("realmedia", "object");
+ html += option("iframe");
+
+ if (editor.getParam('media_embedded_audio', false)) {
+ html += option('embeddedaudio', "object");
+ }
+
+ html += '</select>';
+ return html;
+ },
+
+ setDefaultDialogSettings : function(editor) {
+ var defaultDialogSettings = editor.getParam("media_dialog_defaults", {});
+ tinymce.each(defaultDialogSettings, function(v, k) {
+ setVal(k, v);
+ });
+ }
+ };
+
+ tinyMCEPopup.requireLangPack();
+ tinyMCEPopup.onInit.add(function() {
+ Media.init();
+ });
+})();
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/de_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/de_dlg.js
new file mode 100644
index 00000000..e64e083f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/de_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('de.media_dlg',{list:"Liste",file:"Datei/URL",advanced:"Erweitert",general:"Allgemein",title:"Multimedia-Inhalte einf\u00fcgen/bearbeiten","align_top_left":"Oben Links","align_center":"Zentriert","align_left":"Links","align_bottom":"Unten","align_right":"Rechts","align_top":"Oben","qt_stream_warn":"In den Erweiterten Einstellungen sollten im Feld \'QT Src\' gestreamte RTSP Resourcen hinzugef\u00fcgt werden.\nZus\u00e4tzlich sollte dort auch eine nicht-gestreamte Resource angegeben werden.",qtsrc:"Angabe zu QT Src",progress:"Fortschritt",sound:"Ton",swstretchvalign:"Stretch V-Ausrichtung",swstretchhalign:"Stretch H-Ausrichtung",swstretchstyle:"Stretch-Art",scriptcallbacks:"Script callbacks","align_top_right":"Oben Rechts",uimode:"UI Modus",rate:"Rate",playcount:"Z\u00e4hler",defaultframe:"Frame-Voreinstellung",currentposition:"Aktuelle Position",currentmarker:"Aktueller Marker",captioningid:"Captioning id",baseurl:"Base URL",balance:"Balance",windowlessvideo:"Fensterloses Video",stretchtofit:"Anzeigefl\u00e4che an verf\u00fcgbaren Platz anpassen",mute:"Stumm",invokeurls:"Invoke URLs",fullscreen:"Vollbild",enabled:"Aktiviert",autostart:"Autostart",volume:"Lautst\u00e4rke",target:"Ziel",qtsrcchokespeed:"Choke speed",href:"Href",endtime:"Endzeitpunkt",starttime:"Startzeitpunkt",enablejavascript:"JavaScript aktivieren",correction:"Ohne Korrektur",targetcache:"Ziel zwischenspeichern",playeveryframe:"Jeden Frame abspielen",kioskmode:"Kioskmodus",controller:"Controller",menu:"Men\u00fc anzeigen",loop:"Wiederholung",play:"Automatisches Abspielen",hspace:"Horizontaler Abstand",vspace:"Vertikaler Abstand","class_name":"CSS-Klasse",name:"Name",id:"Id",type:"Typ",size:"Abmessungen",preview:"Vorschau","constrain_proportions":"Proportionen erhalten",controls:"Steuerung",numloop:"Anzahl Wiederholungen",console:"Konsole",cache:"Zwischenspeicher",autohref:"AutoHREF",liveconnect:"SWLiveConnect",flashvars:"Flashvariablen",base:"Base",bgcolor:"Hintergrund",wmode:"WMode",salign:"S-Ausrichtung",align:"Ausrichtung",scale:"Skalierung",quality:"Qualit\u00e4t",shuffle:"Zuf\u00e4llige Wiedergabe",prefetch:"Prefetch",nojava:"Kein Java",maintainaspect:"Bildverh\u00e4ltnis beibehalten",imagestatus:"Bildstatus",center:"Zentriert",autogotourl:"Auto goto URL","shockwave_options":"Shockwave-Optionen","rmp_options":"Optionen f\u00fcr Real Media Player","wmp_options":"Optionen f\u00fcr Windows Media Player","qt_options":"Quicktime-Optionen","flash_options":"Flash-Optionen",hidden:"Versteckt","align_bottom_left":"Unten Links","align_bottom_right":"Unten Rechts",flash:"Flash",quicktime:"QuickTime","embedded_audio_options":"Integrierte Audio Optionen",windowsmedia:"WindowsMedia",realmedia:"RealMedia",shockwave:"ShockWave",audio:"Audio",video:"Video","html5_video_options":"HTML5 Video Optionen",altsource1:"Alternative Quelle 1",altsource2:"Alternative Quelle 2",preload:"Preload",poster:"Poster",source:"Quelle","html5_audio_options":"Audio Optionen","preload_none":"Nicht vorladen","preload_metadata":"Video Metadaten vorladen","preload_auto":"Benutzer Browser entscheidet automatisch",iframe:"iFrame",embeddedaudio:"Audio (eingebunden)"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/en_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/en_dlg.js
new file mode 100644
index 00000000..b247f85c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/en_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('en.media_dlg',{list:"List",file:"File/URL",advanced:"Advanced",general:"General",title:"Insert/Edit Embedded Media","align_top_left":"Top Left","align_center":"Center","align_left":"Left","align_bottom":"Bottom","align_right":"Right","align_top":"Top","qt_stream_warn":"Streamed RTSP resources should be added to the QT Source field under the Advanced tab.\nYou should also add a non-streamed version to the Source field.",qtsrc:"QT Source",progress:"Progress",sound:"Sound",swstretchvalign:"Stretch V-Align",swstretchhalign:"Stretch H-Align",swstretchstyle:"Stretch Style",scriptcallbacks:"Script Callbacks","align_top_right":"Top Right",uimode:"UI Mode",rate:"Rate",playcount:"Play Count",defaultframe:"Default Frame",currentposition:"Current Position",currentmarker:"Current Marker",captioningid:"Captioning ID",baseurl:"Base URL",balance:"Balance",windowlessvideo:"Windowless Video",stretchtofit:"Stretch to Fit",mute:"Mute",invokeurls:"Invoke URLs",fullscreen:"Full Screen",enabled:"Enabled",autostart:"Auto Start",volume:"Volume",target:"Target",qtsrcchokespeed:"Choke Speed",href:"HREF",endtime:"End Time",starttime:"Start Time",enablejavascript:"Enable JavaScript",correction:"No Correction",targetcache:"Target Cache",playeveryframe:"Play Every Frame",kioskmode:"Kiosk Mode",controller:"Controller",menu:"Show Menu",loop:"Loop",play:"Auto Play",hspace:"H-Space",vspace:"V-Space","class_name":"Class",name:"Name",id:"ID",type:"Type",size:"Dimensions",preview:"Preview","constrain_proportions":"Constrain Proportions",controls:"Controls",numloop:"Num Loops",console:"Console",cache:"Cache",autohref:"Auto HREF",liveconnect:"SWLiveConnect",flashvars:"Flash Vars",base:"Base",bgcolor:"Background",wmode:"WMode",salign:"SAlign",align:"Align",scale:"Scale",quality:"Quality",shuffle:"Shuffle",prefetch:"Prefetch",nojava:"No Java",maintainaspect:"Maintain Aspect",imagestatus:"Image Status",center:"Center",autogotourl:"Auto Goto URL","shockwave_options":"Shockwave Options","rmp_options":"Real Media Player Options","wmp_options":"Windows Media Player Options","qt_options":"QuickTime Options","flash_options":"Flash Options",hidden:"Hidden","align_bottom_left":"Bottom Left","align_bottom_right":"Bottom Right",flash:"",quicktime:"","embedded_audio_options":"Embedded Audio Options",windowsmedia:"",realmedia:"",shockwave:"",audio:"",video:"","html5_video_options":"HTML5 Video Options",altsource1:"Alternative source 1",altsource2:"Alternative source 2",preload:"Preload",poster:"Poster",source:"Source","html5_audio_options":"Audio Options","preload_none":"Don\'t Preload","preload_metadata":"Preload video metadata","preload_auto":"Let user\'s browser decide",iframe:"",embeddedaudio:""}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/hu_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/hu_dlg.js
new file mode 100644
index 00000000..b42e07a1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/hu_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('hu.media_dlg',{list:"Lista",file:"F\u00e1jl/URL",advanced:"Halad\u00f3",general:"\u00c1ltal\u00e1nos",title:"Be\u00e1gyazott m\u00e9dia besz\u00far\u00e1sa/szerkeszt\u00e9se","align_top_left":"Bal-fent","align_center":"K\u00f6z\u00e9pen","align_left":"Balra","align_bottom":"Lent","align_right":"Jobbra","align_top":"Fent","qt_stream_warn":"Streamelt rtsp forr\u00e1sok a QT Src mez\u0151be val\u00f3k a halad\u00f3 lapon.\nHozz\u00e1 kellene adnia egy nem streamelt verzi\u00f3t a Src mez\u0151ben.",qtsrc:"QT Src",progress:"Folyamat",sound:"Hang",swstretchvalign:"Ny\u00fajt\u00e1s F-igaz\u00edt\u00e1s",swstretchhalign:"Ny\u00fajt\u00e1s V-igaz\u00edt\u00e1s",swstretchstyle:"Ny\u00fajt\u00e1s st\u00edlusa",scriptcallbacks:"Script callbacks","align_top_right":"Jobbra fent",uimode:"UI M\u00f3d",rate:"\u00c9rt\u00e9kel\u00e9s",playcount:"Lej\u00e1tsz\u00e1ssz\u00e1m",defaultframe:"Alap\u00e9rtelmezett frame",currentposition:"Aktu\u00e1lis poz\u00edci\u00f3",currentmarker:"Aktu\u00e1lis marker",captioningid:"Captioning id",baseurl:"Alap URL",balance:"Balance",windowlessvideo:"Ablak n\u00e9lk\u00fcli vide\u00f3",stretchtofit:"Ny\u00fajtva igaz\u00edt\u00e1s",mute:"N\u00e9ma",invokeurls:"URL-ek bevon\u00e1sa",fullscreen:"Teljes k\u00e9perny\u0151",enabled:"Enged\u00e9lyezve",autostart:"Automatikus kezd\u00e9s",volume:"Hanger\u0151",target:"C\u00e9l",qtsrcchokespeed:"Folyt\u00e1s sebess\u00e9ge",href:"Href",endtime:"Z\u00e1r\u00f3 id\u0151",starttime:"Kezd\u00e9si id\u0151",enablejavascript:"JavaScript enged\u00e9se",correction:"Nincs jav\u00edt\u00e1s",targetcache:"C\u00e9l cache",playeveryframe:"Minden kocka lej\u00e1tsz\u00e1sa",kioskmode:"Kiosk m\u00f3d",controller:"Vez\u00e9rl\u0151",menu:"Men\u00fc mutat\u00e1sa",loop:"Ism\u00e9tl\u00e9s",play:"Automatikus lej\u00e1tsz\u00e1s",hspace:"V\u00edzszintes-t\u00e1v",vspace:"F\u00fcgg\u0151leges-t\u00e1v","class_name":"Oszt\u00e1ly",name:"N\u00e9v",id:"ID",type:"T\u00edpus",size:"M\u00e9retek",preview:"El\u0151n\u00e9zet","constrain_proportions":"Ar\u00e1nytart\u00e1s",controls:"Kezel\u0151k",numloop:"Ism\u00e9tl\u00e9ssz\u00e1m",console:"Konzol",cache:"Cache",autohref:"AutoHREF",liveconnect:"SWLiveConnect",flashvars:"Flashvars",base:"Base",bgcolor:"H\u00e1tt\u00e9r",wmode:"WM\u00f3d",salign:"SElrendez\u00e9s",align:"Elrendez\u00e9s",scale:"Nagy\u00edt\u00e1s",quality:"Min\u0151s\u00e9g",shuffle:"V\u00e9letlenszer\u0171",prefetch:"El\u0151t\u00f6lt\u00e9s",nojava:"Nincs Java",maintainaspect:"Ar\u00e1nytart\u00e1s",imagestatus:"K\u00e9p \u00e1llapot",center:"K\u00f6z\u00e9pre",autogotourl:"Automatikus URL-re ugr\u00e1s","shockwave_options":"Shockwave be\u00e1ll\u00edt\u00e1sai","rmp_options":"Real Media Player be\u00e1ll\u00edt\u00e1sai","wmp_options":"Windows Media Player be\u00e1ll\u00edt\u00e1sai","qt_options":"Quicktime be\u00e1ll\u00edt\u00e1sai","flash_options":"Flash be\u00e1ll\u00edt\u00e1sai",hidden:"Rejtett","align_bottom_left":"Bal-lent","align_bottom_right":"Bal-jobbra",flash:"flash",quicktime:"quicktime","embedded_audio_options":"Be\u00e1gyazott hang be\u00e1ll\u00edt\u00e1sok",windowsmedia:"windows m\u00e9dia",realmedia:"realmedia",shockwave:"shockwave",audio:"hang",video:"vide\u00f3","html5_video_options":"HTML5 Vide\u00f3 Be\u00e1ll\u00edt\u00e1sok",altsource1:"Alternat\u00edv forr\u00e1s 1",altsource2:"Alternat\u00edv forr\u00e1s 2",preload:"El\u0151t\u00f6lt\u00e9s",poster:"Hozz\u00e1ad\u00f3",source:"Forr\u00e1s","html5_audio_options":"Audi\u00f3 Be\u00e1ll\u00edt\u00e1sok","preload_none":"Nincs el\u0151reolvas\u00e1s","preload_metadata":"Vide\u00f3 metaadatok el\u0151reolvas\u00e1sa","preload_auto":"Hagyjuk a felhaszn\u00e1l\u00f3 b\u00f6ng\u00e9sz\u0151j\u00e9nek eld\u00f6nteni",iframe:"iframe (keret)",embeddedaudio:"be\u00e1gyazott hang"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/ja_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/ja_dlg.js
new file mode 100644
index 00000000..9752ca22
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/ja_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('ja.media_dlg',{list:"\u4e00\u89a7",file:"\u30d5\u30a1\u30a4\u30eb\u3084URL",advanced:"\u8a73\u7d30",general:"\u4e00\u822c",title:"\u57cb\u3081\u8fbc\u307f\u30e1\u30c7\u30a3\u30a2\u306e\u633f\u5165\u3084\u7de8\u96c6","align_top_left":"\u5de6\u4e0a","align_center":"\u4e2d\u592e","align_left":"\u5de6","align_bottom":"\u4e0b","align_right":"\u53f3","align_top":"\u4e0a","qt_stream_warn":"RTSP\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u30ea\u30bd\u30fc\u30b9\u3092\u300c\u9ad8\u5ea6\u300d\u306e\u30bf\u30d6\u306e\u300cQT\u306e\u30bd\u30fc\u30b9\u300d\u6b04\u306b\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\u307e\u305f\u3001\u300c\u30bd\u30fc\u30b9\u300d\u6b04\u306b\u306f\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u3067\u306f\u306a\u3044\u30d0\u30fc\u30b8\u30e7\u30fc\u30f3\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002",qtsrc:"QT\u306e\u30bd\u30fc\u30b9",progress:"\u9032\u5c55",sound:"\u30b5\u30a6\u30f3\u30c9",swstretchvalign:"\u5782\u76f4\u306e\u914d\u7f6e",swstretchhalign:"\u6c34\u5e73\u306e\u914d\u7f6e",swstretchstyle:"\u4f38\u7e2e\u306e\u30b9\u30bf\u30a4\u30eb",scriptcallbacks:"\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af","align_top_right":"\u53f3\u4e0a",uimode:"UI\u3092\u8868\u793a\u3059\u308b\u30e2\u30fc\u30c9",rate:"\u518d\u751f\u30ec\u30fc\u30c8",playcount:"\u518d\u751f\u56de\u6570",defaultframe:"\u521d\u671f\u72b6\u614b\u306e\u30d5\u30ec\u30fc\u30e0",currentposition:"\u518d\u751f\u4f4d\u7f6e(\u79d2\u5358\u4f4d)",currentmarker:"\u30de\u30fc\u30ab\u30fc\u756a\u53f7",captioningid:"\u30ad\u30e3\u30d7\u30b7\u30e7\u30f3\u8868\u793a\u8981\u7d20ID",baseurl:"\u57fa\u6e96\u306eURL",balance:"\u30b9\u30c6\u30ec\u30aa\u306e\u30d0\u30e9\u30f3\u30b9",windowlessvideo:"\u30a6\u30a3\u30f3\u30c9\u30a6\u306a\u3057\u306e\u52d5\u753b",stretchtofit:"\u5408\u308f\u305b\u3066\u62e1\u5927",mute:"\u6d88\u97f3",invokeurls:"URL\u3092\u958b\u304f",fullscreen:"\u5168\u753b\u9762",enabled:"\u6709\u52b9",autostart:"\u81ea\u52d5\u518d\u751f",volume:"\u97f3\u91cf",target:"\u30bf\u30fc\u30b2\u30c3\u30c8",qtsrcchokespeed:"\u518d\u751f\u30c7\u30fc\u30bf\u30ec\u30fc\u30c8",href:"\u30ea\u30f3\u30af\u5148URL",endtime:"\u7d42\u4e86\u6642\u9593",starttime:"\u958b\u59cb\u6642\u9593",enablejavascript:"JavaScript\u3092\u6709\u52b9",correction:"\u8a02\u6b63\u306a\u3057",targetcache:"\u30bf\u30fc\u30b2\u30c3\u30c8\u3092\u30ad\u30e3\u30c3\u30b7\u30e5",playeveryframe:"\u3059\u3079\u3066\u306e\u30d5\u30ec\u30fc\u30e0\u3092\u518d\u751f",kioskmode:"Kiosk\u30e2\u30fc\u30c9",controller:"\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306e\u8868\u793a",menu:"\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a",loop:"\u7e70\u308a\u8fd4\u3057",play:"\u81ea\u52d5\u518d\u751f",hspace:"\u5de6\u53f3\u306e\u4f59\u767d",vspace:"\u4e0a\u4e0b\u306e\u4f59\u767d","class_name":"\u30af\u30e9\u30b9",name:"\u540d\u524d",id:"ID",type:"\u30bf\u30a4\u30d7",size:"\u5bf8\u6cd5",preview:"\u30d7\u30ec\u30d3\u30e5\u30fc","constrain_proportions":"\u7e26\u6a2a\u6bd4\u3092\u7dad\u6301",controls:"\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306e\u8868\u793a",numloop:"\u7e70\u308a\u8fd4\u3057\u306e\u56de\u6570",console:"\u30b3\u30f3\u30bd\u30fc\u30eb",cache:"\u30ad\u30e3\u30c3\u30b7\u30e5",autohref:"\u81ea\u52d5\u8aad\u8fbc",liveconnect:"SWLiveConnect\u5c5e\u6027",flashvars:"Flash Vars",base:"Base",bgcolor:"\u80cc\u666f\u8272",wmode:"WMode",salign:"SAlign",align:"\u914d\u7f6e",scale:"\u4f38\u7e2e",quality:"\u54c1\u8cea",shuffle:"\u30b7\u30e3\u30c3\u30d5\u30eb",prefetch:"\u5148\u8aad\u307f",nojava:"Java\u3092\u7981\u6b62",maintainaspect:"\u7e26\u6a2a\u6bd4\u306e\u7dad\u6301",imagestatus:"\u753b\u50cf\u306e\u72b6\u614b",center:"\u4e2d\u592e\u63c3\u3048",autogotourl:"URL\u306b\u81ea\u52d5\u79fb\u52d5","shockwave_options":"Shockwave\u306e\u30aa\u30d7\u30b7\u30e7\u30f3","rmp_options":"Real media player\u306e\u30aa\u30d7\u30b7\u30e7\u30f3","wmp_options":"Windows media player\u306e\u30aa\u30d7\u30b7\u30e7\u30f3","qt_options":"Quicktime\u306e\u30aa\u30d7\u30b7\u30e7\u30f3","flash_options":"Flash\u306e\u30aa\u30d7\u30b7\u30e7\u30f3",hidden:"\u975e\u8868\u793a","align_bottom_left":"\u5de6\u4e0b","align_bottom_right":"\u53f3\u4e0b",flash:"flash",quicktime:"quicktime","embedded_audio_options":"\u57cb\u3081\u8fbc\u307fAudio\u306e\u30aa\u30d7\u30b7\u30e7\u30f3",windowsmedia:"Windows\u30e1\u30c7\u30a3\u30a2",realmedia:"realmedia",shockwave:"shockwave",audio:"\u30aa\u30fc\u30c7\u30a3\u30aa",video:"\u52d5\u753b","html5_video_options":"HTML5 Video\u306e\u30aa\u30d7\u30b7\u30e7\u30f3",altsource1:"\u4ee3\u66ff\u30bd\u30fc\u30b91",altsource2:"\u4ee3\u66ff\u30bd\u30fc\u30b92",preload:"preload\u5c5e\u6027",poster:"poster\u5c5e\u6027",source:"HTML","html5_audio_options":"Audio \u30aa\u30d7\u30b7\u30e7\u30f3","preload_none":"\u5148\u8aad\u307f\u3057\u306a\u3044","preload_metadata":"\u52d5\u753b\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u5148\u8aad\u307f","preload_auto":"\u30e6\u30fc\u30b6\u30fc\u306e\u30d6\u30e9\u30a6\u30b6\u30fc\u306b\u5f93\u3046",iframe:"iframe",embeddedaudio:"\u57cb\u3081\u8fbc\u307f\u97f3\u58f0"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/media.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/media.htm
new file mode 100755
index 00000000..957d83a6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/media.htm
@@ -0,0 +1,922 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#media_dlg.title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="js/media.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/validate.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="../../utils/editable_selects.js"></script>
+ <link href="css/media.css" rel="stylesheet" type="text/css" />
+</head>
+<body style="display: none" role="application">
+<form onsubmit="Media.insert();return false;" action="#">
+ <div class="tabs" role="presentation">
+ <ul>
+ <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');Media.formToData();" onmousedown="return false;">{#media_dlg.general}</a></span></li>
+ <li id="advanced_tab" aria-controls="advanced_panel"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');Media.formToData();" onmousedown="return false;">{#media_dlg.advanced}</a></span></li>
+ <li id="source_tab" aria-controls="source_panel"><span><a href="javascript:mcTabs.displayTab('source_tab','source_panel');Media.formToData('source');" onmousedown="return false;">{#media_dlg.source}</a></span></li>
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="general_panel" class="panel current">
+ <fieldset>
+ <legend>{#media_dlg.general}</legend>
+
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td><label for="media_type">{#media_dlg.type}</label></td>
+ <td>
+ <select id="media_type"></select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="src">{#media_dlg.file}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input id="src" name="src" type="text" value="" class="mceFocus" onchange="Media.formToData();" /></td>
+ <td id="filebrowsercontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr id="linklistrow">
+ <td><label for="linklist">{#media_dlg.list}</label></td>
+ <td id="linklistcontainer"><select id="linklist"><option value=""></option></select></td>
+ </tr>
+ <tr>
+ <td><label for="width">{#media_dlg.size}</label></td>
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="text" id="width" name="width" value="" class="size" onchange="Media.formToData('width');" onfocus="Media.beforeResize();" /> x <input type="text" id="height" name="height" value="" class="size" onfocus="Media.beforeResize();" onchange="Media.formToData('height');" /></td>
+ <td>&nbsp;&nbsp;<input id="constrain" type="checkbox" name="constrain" class="checkbox" checked="checked" /></td>
+ <td><label id="constrainlabel" for="constrain">{#media_dlg.constrain_proportions}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <fieldset>
+ <legend>{#media_dlg.preview}</legend>
+ <div id="prev"></div>
+ </fieldset>
+ </div>
+
+ <div id="advanced_panel" class="panel">
+ <fieldset>
+ <legend>{#media_dlg.advanced}</legend>
+
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0" width="100%">
+ <tr>
+ <td><label for="id">{#media_dlg.id}</label></td>
+ <td><input type="text" id="id" name="id" onchange="Media.formToData();" /></td>
+ <td><label for="name">{#media_dlg.name}</label></td>
+ <td><input type="text" id="name" name="name" onchange="Media.formToData();" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="align">{#media_dlg.align}</label></td>
+ <td>
+ <select id="align" name="align" onchange="Media.formToData();">
+ <option value="">{#not_set}</option>
+ <option value="top">{#media_dlg.align_top}</option>
+ <option value="right">{#media_dlg.align_right}</option>
+ <option value="bottom">{#media_dlg.align_bottom}</option>
+ <option value="left">{#media_dlg.align_left}</option>
+ </select>
+ </td>
+
+ <td><label for="bgcolor">{#media_dlg.bgcolor}</label></td>
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');Media.formToData();" /></td>
+ <td id="bgcolor_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="vspace">{#media_dlg.vspace}</label></td>
+ <td><input type="text" id="vspace" name="vspace" class="number" onchange="Media.formToData();" /></td>
+ <td><label for="hspace">{#media_dlg.hspace}</label></td>
+ <td><input type="text" id="hspace" name="hspace" class="number" onchange="Media.formToData();" /></td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <fieldset id="video_options">
+ <legend>{#media_dlg.html5_video_options}</legend>
+
+ <table role="presentation">
+ <tr>
+ <td><label for="video_altsource1">{#media_dlg.altsource1}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="video_altsource1" name="video_altsource1" onchange="Media.formToData();" style="width: 240px" /></td>
+ <td id="video_altsource1_filebrowser">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="video_altsource2">{#media_dlg.altsource2}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="video_altsource2" name="video_altsource2" onchange="Media.formToData();" style="width: 240px" /></td>
+ <td id="video_altsource2_filebrowser">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="video_poster">{#media_dlg.poster}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="video_poster" name="video_poster" onchange="Media.formToData();" style="width: 240px" /></td>
+ <td id="video_poster_filebrowser">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="video_preload">{#media_dlg.preload}</label></td>
+ <td>
+ <select id="video_preload" name="video_preload" onchange="Media.formToData();">
+ <option value="none">{#media_dlg.preload_none}</option>
+ <option value="metadata">{#media_dlg.preload_metadata}</option>
+ <option value="auto">{#media_dlg.preload_auto}</option>
+ </select>
+ </td>
+ </tr>
+ </table>
+
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="video_autoplay" name="video_autoplay" onchange="Media.formToData();" /></td>
+ <td><label for="video_autoplay">{#media_dlg.play}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="video_muted" name="video_muted" onchange="Media.formToData();" /></td>
+ <td><label for="video_muted">{#media_dlg.mute}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="video_loop" name="video_loop" onchange="Media.formToData();" /></td>
+ <td><label for="video_loop">{#media_dlg.loop}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="video_controls" name="video_controls" onchange="Media.formToData();" /></td>
+ <td><label for="video_controls">{#media_dlg.controls}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <fieldset id="embeddedaudio_options">
+ <legend>{#media_dlg.embedded_audio_options}</legend>
+
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="embeddedaudio_autoplay" name="audio_autoplay" onchange="Media.formToData();" /></td>
+ <td><label for="audio_autoplay">{#media_dlg.play}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="embeddedaudio_loop" name="audio_loop" onchange="Media.formToData();" /></td>
+ <td><label for="audio_loop">{#media_dlg.loop}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="embeddedaudio_controls" name="audio_controls" onchange="Media.formToData();" /></td>
+ <td><label for="audio_controls">{#media_dlg.controls}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <fieldset id="audio_options">
+ <legend>{#media_dlg.html5_audio_options}</legend>
+
+ <table role="presentation">
+ <tr>
+ <td><label for="audio_altsource1">{#media_dlg.altsource1}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="audio_altsource1" name="audio_altsource1" onchange="Media.formToData();" style="width: 240px" /></td>
+ <td id="audio_altsource1_filebrowser">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="audio_altsource2">{#media_dlg.altsource2}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="audio_altsource2" name="audio_altsource2" onchange="Media.formToData();" style="width: 240px" /></td>
+ <td id="audio_altsource2_filebrowser">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="audio_preload">{#media_dlg.preload}</label></td>
+ <td>
+ <select id="audio_preload" name="audio_preload" onchange="Media.formToData();">
+ <option value="none">{#media_dlg.preload_none}</option>
+ <option value="metadata">{#media_dlg.preload_metadata}</option>
+ <option value="auto">{#media_dlg.preload_auto}</option>
+ </select>
+ </td>
+ </tr>
+ </table>
+
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="audio_autoplay" name="audio_autoplay" onchange="Media.formToData();" /></td>
+ <td><label for="audio_autoplay">{#media_dlg.play}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="audio_loop" name="audio_loop" onchange="Media.formToData();" /></td>
+ <td><label for="audio_loop">{#media_dlg.loop}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="audio_controls" name="audio_controls" onchange="Media.formToData();" /></td>
+ <td><label for="audio_controls">{#media_dlg.controls}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <fieldset id="flash_options">
+ <legend>{#media_dlg.flash_options}</legend>
+
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td><label for="flash_quality">{#media_dlg.quality}</label></td>
+ <td>
+ <select id="flash_quality" name="flash_quality" onchange="Media.formToData();">
+ <option value="">{#not_set}</option>
+ <option value="high">high</option>
+ <option value="low">low</option>
+ <option value="autolow">autolow</option>
+ <option value="autohigh">autohigh</option>
+ <option value="best">best</option>
+ </select>
+ </td>
+
+ <td><label for="flash_scale">{#media_dlg.scale}</label></td>
+ <td>
+ <select id="flash_scale" name="flash_scale" onchange="Media.formToData();">
+ <option value="">{#not_set}</option>
+ <option value="showall">showall</option>
+ <option value="noborder">noborder</option>
+ <option value="exactfit">exactfit</option>
+ <option value="noscale">noscale</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="flash_wmode">{#media_dlg.wmode}</label></td>
+ <td>
+ <select id="flash_wmode" name="flash_wmode" onchange="Media.formToData();">
+ <option value="">{#not_set}</option>
+ <option value="window">window</option>
+ <option value="opaque">opaque</option>
+ <option value="transparent">transparent</option>
+ </select>
+ </td>
+
+ <td><label for="flash_salign">{#media_dlg.salign}</label></td>
+ <td>
+ <select id="flash_salign" name="flash_salign" onchange="Media.formToData();">
+ <option value="">{#not_set}</option>
+ <option value="l">{#media_dlg.align_left}</option>
+ <option value="t">{#media_dlg.align_top}</option>
+ <option value="r">{#media_dlg.align_right}</option>
+ <option value="b">{#media_dlg.align_bottom}</option>
+ <option value="tl">{#media_dlg.align_top_left}</option>
+ <option value="tr">{#media_dlg.align_top_right}</option>
+ <option value="bl">{#media_dlg.align_bottom_left}</option>
+ <option value="br">{#media_dlg.align_bottom_right}</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="flash_play" name="flash_play" checked="checked" onchange="Media.formToData();" /></td>
+ <td><label for="flash_play">{#media_dlg.play}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="flash_loop" name="flash_loop" checked="checked" onchange="Media.formToData();" /></td>
+ <td><label for="flash_loop">{#media_dlg.loop}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="flash_menu" name="flash_menu" checked="checked" onchange="Media.formToData();" /></td>
+ <td><label for="flash_menu">{#media_dlg.menu}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="flash_swliveconnect" name="flash_swliveconnect" onchange="Media.formToData();" /></td>
+ <td><label for="flash_swliveconnect">{#media_dlg.liveconnect}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+
+ <table role="presentation">
+ <tr>
+ <td><label for="flash_base">{#media_dlg.base}</label></td>
+ <td><input type="text" id="flash_base" name="flash_base" onchange="Media.formToData();" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="flash_flashvars">{#media_dlg.flashvars}</label></td>
+ <td><input type="text" id="flash_flashvars" name="flash_flashvars" onchange="Media.formToData();" /></td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <fieldset id="quicktime_options">
+ <legend>{#media_dlg.qt_options}</legend>
+
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="quicktime_loop" name="quicktime_loop" onchange="Media.formToData();" /></td>
+ <td><label for="quicktime_loop">{#media_dlg.loop}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="quicktime_autoplay" name="quicktime_autoplay" checked="checked" onchange="Media.formToData();" /></td>
+ <td><label for="quicktime_autoplay">{#media_dlg.play}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="quicktime_cache" name="quicktime_cache" onchange="Media.formToData();" /></td>
+ <td><label for="quicktime_cache">{#media_dlg.cache}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="quicktime_controller" name="quicktime_controller" checked="checked" onchange="Media.formToData();" /></td>
+ <td><label for="quicktime_controller">{#media_dlg.controller}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="quicktime_correction" name="quicktime_correction" onchange="Media.formToData();" /></td>
+ <td><label for="quicktime_correction">{#media_dlg.correction}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="quicktime_enablejavascript" name="quicktime_enablejavascript" onchange="Media.formToData();" /></td>
+ <td><label for="quicktime_enablejavascript">{#media_dlg.enablejavascript}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="quicktime_kioskmode" name="quicktime_kioskmode" onchange="Media.formToData();" /></td>
+ <td><label for="quicktime_kioskmode">{#media_dlg.kioskmode}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="quicktime_autohref" name="quicktime_autohref" onchange="Media.formToData();" /></td>
+ <td><label for="quicktime_autohref">{#media_dlg.autohref}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="quicktime_playeveryframe" name="quicktime_playeveryframe" onchange="Media.formToData();" /></td>
+ <td><label for="quicktime_playeveryframe">{#media_dlg.playeveryframe}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="quicktime_targetcache" name="quicktime_targetcache" onchange="Media.formToData();" /></td>
+ <td><label for="quicktime_targetcache">{#media_dlg.targetcache}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="quicktime_scale">{#media_dlg.scale}</label></td>
+ <td><select id="quicktime_scale" name="quicktime_scale" class="mceEditableSelect" onchange="Media.formToData();">
+ <option value="">{#not_set}</option>
+ <option value="tofit">tofit</option>
+ <option value="aspect">aspect</option>
+ </select>
+ </td>
+
+ <td colspan="2">&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td><label for="quicktime_starttime">{#media_dlg.starttime}</label></td>
+ <td><input type="text" id="quicktime_starttime" name="quicktime_starttime" onchange="Media.formToData();" /></td>
+
+ <td><label for="quicktime_endtime">{#media_dlg.endtime}</label></td>
+ <td><input type="text" id="quicktime_endtime" name="quicktime_endtime" onchange="Media.formToData();" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="quicktime_target">{#media_dlg.target}</label></td>
+ <td><input type="text" id="quicktime_target" name="quicktime_target" onchange="Media.formToData();" /></td>
+
+ <td><label for="quicktime_href">{#media_dlg.href}</label></td>
+ <td><input type="text" id="quicktime_href" name="quicktime_href" onchange="Media.formToData();" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="quicktime_qtsrcchokespeed">{#media_dlg.qtsrcchokespeed}</label></td>
+ <td><input type="text" id="quicktime_qtsrcchokespeed" name="quicktime_qtsrcchokespeed" onchange="Media.formToData();" /></td>
+
+ <td><label for="quicktime_volume">{#media_dlg.volume}</label></td>
+ <td><input type="text" id="quicktime_volume" name="quicktime_volume" onchange="Media.formToData();" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="quicktime_qtsrc">{#media_dlg.qtsrc}</label></td>
+ <td colspan="4">
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="quicktime_qtsrc" name="quicktime_qtsrc" onchange="Media.formToData();" /></td>
+ <td id="qtsrcfilebrowsercontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <fieldset id="windowsmedia_options">
+ <legend>{#media_dlg.wmp_options}</legend>
+
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="windowsmedia_autostart" name="windowsmedia_autostart" checked="checked" onchange="Media.formToData();" /></td>
+ <td><label for="windowsmedia_autostart">{#media_dlg.autostart}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="windowsmedia_enabled" name="windowsmedia_enabled" onchange="Media.formToData();" /></td>
+ <td><label for="windowsmedia_enabled">{#media_dlg.enabled}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="windowsmedia_enablecontextmenu" name="windowsmedia_enablecontextmenu" checked="checked" onchange="Media.formToData();" /></td>
+ <td><label for="windowsmedia_enablecontextmenu">{#media_dlg.menu}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="windowsmedia_fullscreen" name="windowsmedia_fullscreen" onchange="Media.formToData();" /></td>
+ <td><label for="windowsmedia_fullscreen">{#media_dlg.fullscreen}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="windowsmedia_invokeurls" name="windowsmedia_invokeurls" checked="checked" onchange="Media.formToData();" /></td>
+ <td><label for="windowsmedia_invokeurls">{#media_dlg.invokeurls}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="windowsmedia_mute" name="windowsmedia_mute" onchange="Media.formToData();" /></td>
+ <td><label for="windowsmedia_mute">{#media_dlg.mute}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="windowsmedia_stretchtofit" name="windowsmedia_stretchtofit" onchange="Media.formToData();" /></td>
+ <td><label for="windowsmedia_stretchtofit">{#media_dlg.stretchtofit}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="windowsmedia_windowlessvideo" name="windowsmedia_windowlessvideo" onchange="Media.formToData();" /></td>
+ <td><label for="windowsmedia_windowlessvideo">{#media_dlg.windowlessvideo}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="windowsmedia_balance">{#media_dlg.balance}</label></td>
+ <td><input type="text" id="windowsmedia_balance" name="windowsmedia_balance" onchange="Media.formToData();" /></td>
+
+ <td><label for="windowsmedia_baseurl">{#media_dlg.baseurl}</label></td>
+ <td><input type="text" id="windowsmedia_baseurl" name="windowsmedia_baseurl" onchange="Media.formToData();" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="windowsmedia_captioningid">{#media_dlg.captioningid}</label></td>
+ <td><input type="text" id="windowsmedia_captioningid" name="windowsmedia_captioningid" onchange="Media.formToData();" /></td>
+
+ <td><label for="windowsmedia_currentmarker">{#media_dlg.currentmarker}</label></td>
+ <td><input type="text" id="windowsmedia_currentmarker" name="windowsmedia_currentmarker" onchange="Media.formToData();" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="windowsmedia_currentposition">{#media_dlg.currentposition}</label></td>
+ <td><input type="text" id="windowsmedia_currentposition" name="windowsmedia_currentposition" onchange="Media.formToData();" /></td>
+
+ <td><label for="windowsmedia_defaultframe">{#media_dlg.defaultframe}</label></td>
+ <td><input type="text" id="windowsmedia_defaultframe" name="windowsmedia_defaultframe" onchange="Media.formToData();" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="windowsmedia_playcount">{#media_dlg.playcount}</label></td>
+ <td><input type="text" id="windowsmedia_playcount" name="windowsmedia_playcount" onchange="Media.formToData();" /></td>
+
+ <td><label for="windowsmedia_rate">{#media_dlg.rate}</label></td>
+ <td><input type="text" id="windowsmedia_rate" name="windowsmedia_rate" onchange="Media.formToData();" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="windowsmedia_uimode">{#media_dlg.uimode}</label></td>
+ <td><input type="text" id="windowsmedia_uimode" name="windowsmedia_uimode" onchange="Media.formToData();" /></td>
+
+ <td><label for="windowsmedia_volume">{#media_dlg.volume}</label></td>
+ <td><input type="text" id="windowsmedia_volume" name="windowsmedia_volume" onchange="Media.formToData();" /></td>
+ </tr>
+
+ </table>
+ </fieldset>
+
+ <fieldset id="realmedia_options">
+ <legend>{#media_dlg.rmp_options}</legend>
+
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="realmedia_autostart" name="realmedia_autostart" onchange="Media.formToData();" /></td>
+ <td><label for="realmedia_autostart">{#media_dlg.autostart}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="realmedia_loop" name="realmedia_loop" onchange="Media.formToData();" /></td>
+ <td><label for="realmedia_loop">{#media_dlg.loop}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="realmedia_autogotourl" name="realmedia_autogotourl" checked="checked" onchange="Media.formToData();" /></td>
+ <td><label for="realmedia_autogotourl">{#media_dlg.autogotourl}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="realmedia_center" name="realmedia_center" onchange="Media.formToData();" /></td>
+ <td><label for="realmedia_center">{#media_dlg.center}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="realmedia_imagestatus" name="realmedia_imagestatus" checked="checked" onchange="Media.formToData();" /></td>
+ <td><label for="realmedia_imagestatus">{#media_dlg.imagestatus}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="realmedia_maintainaspect" name="realmedia_maintainaspect" onchange="Media.formToData();" /></td>
+ <td><label for="realmedia_maintainaspect">{#media_dlg.maintainaspect}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="realmedia_nojava" name="realmedia_nojava" onchange="Media.formToData();" /></td>
+ <td><label for="realmedia_nojava">{#media_dlg.nojava}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="realmedia_prefetch" name="realmedia_prefetch" onchange="Media.formToData();" /></td>
+ <td><label for="realmedia_prefetch">{#media_dlg.prefetch}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="realmedia_shuffle" name="realmedia_shuffle" onchange="Media.formToData();" /></td>
+ <td><label for="realmedia_shuffle">{#media_dlg.shuffle}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ &nbsp;
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="realmedia_console">{#media_dlg.console}</label></td>
+ <td><input type="text" id="realmedia_console" name="realmedia_console" onchange="Media.formToData();" /></td>
+
+ <td><label for="realmedia_controls">{#media_dlg.controls}</label></td>
+ <td><input type="text" id="realmedia_controls" name="realmedia_controls" onchange="Media.formToData();" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="realmedia_numloop">{#media_dlg.numloop}</label></td>
+ <td><input type="text" id="realmedia_numloop" name="realmedia_numloop" onchange="Media.formToData();" /></td>
+
+ <td><label for="realmedia_scriptcallbacks">{#media_dlg.scriptcallbacks}</label></td>
+ <td><input type="text" id="realmedia_scriptcallbacks" name="realmedia_scriptcallbacks" onchange="Media.formToData();" /></td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <fieldset id="shockwave_options">
+ <legend>{#media_dlg.shockwave_options}</legend>
+
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td><label for="shockwave_swstretchstyle">{#media_dlg.swstretchstyle}</label></td>
+ <td>
+ <select id="shockwave_swstretchstyle" name="shockwave_swstretchstyle" onchange="Media.formToData();">
+ <option value="none">{#not_set}</option>
+ <option value="meet">Meet</option>
+ <option value="fill">Fill</option>
+ <option value="stage">Stage</option>
+ </select>
+ </td>
+
+ <td><label for="shockwave_swvolume">{#media_dlg.volume}</label></td>
+ <td><input type="text" id="shockwave_swvolume" name="shockwave_swvolume" onchange="Media.formToData();" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="shockwave_swstretchhalign">{#media_dlg.swstretchhalign}</label></td>
+ <td>
+ <select id="shockwave_swstretchhalign" name="shockwave_swstretchhalign" onchange="Media.formToData();">
+ <option value="none">{#not_set}</option>
+ <option value="left">{#media_dlg.align_left}</option>
+ <option value="center">{#media_dlg.align_center}</option>
+ <option value="right">{#media_dlg.align_right}</option>
+ </select>
+ </td>
+
+ <td><label for="shockwave_swstretchvalign">{#media_dlg.swstretchvalign}</label></td>
+ <td>
+ <select id="shockwave_swstretchvalign" name="shockwave_swstretchvalign" onchange="Media.formToData();">
+ <option value="none">{#not_set}</option>
+ <option value="meet">Meet</option>
+ <option value="fill">Fill</option>
+ <option value="stage">Stage</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="shockwave_autostart" name="shockwave_autostart" onchange="Media.formToData();" checked="checked" /></td>
+ <td><label for="shockwave_autostart">{#media_dlg.autostart}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="shockwave_sound" name="shockwave_sound" onchange="Media.formToData();" checked="checked" /></td>
+ <td><label for="shockwave_sound">{#media_dlg.sound}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="shockwave_swliveconnect" name="shockwave_swliveconnect" onchange="Media.formToData();" /></td>
+ <td><label for="shockwave_swliveconnect">{#media_dlg.liveconnect}</label></td>
+ </tr>
+ </table>
+ </td>
+
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" class="checkbox" id="shockwave_progress" name="shockwave_progress" onchange="Media.formToData();" checked="checked" /></td>
+ <td><label for="shockwave_progress">{#media_dlg.progress}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+
+ <div id="source_panel" class="panel">
+ <fieldset>
+ <legend>{#media_dlg.source}</legend>
+ <textarea id="source" style="width: 99%; height: 390px"></textarea>
+ </fieldset>
+ </div>
+ </div>
+
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#insert}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+ </form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/moxieplayer.swf b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/moxieplayer.swf
new file mode 100644
index 00000000..585d772d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/media/moxieplayer.swf
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/nonbreaking/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/nonbreaking/editor_plugin.js
new file mode 100755
index 00000000..687f5486
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/nonbreaking/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.Nonbreaking",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceNonBreaking",function(){a.execCommand("mceInsertContent",false,(a.plugins.visualchars&&a.plugins.visualchars.state)?'<span data-mce-bogus="1" class="mceItemHidden mceItemNbsp">&nbsp;</span>':"&nbsp;")});a.addButton("nonbreaking",{title:"nonbreaking.nonbreaking_desc",cmd:"mceNonBreaking"});if(a.getParam("nonbreaking_force_tab")){a.onKeyDown.add(function(d,f){if(f.keyCode==9){f.preventDefault();d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking")}})}},getInfo:function(){return{longname:"Nonbreaking space",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/nonbreaking",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("nonbreaking",tinymce.plugins.Nonbreaking)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/nonbreaking/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/nonbreaking/editor_plugin_src.js
new file mode 100755
index 00000000..d492fbef
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/nonbreaking/editor_plugin_src.js
@@ -0,0 +1,54 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.Nonbreaking', {
+ init : function(ed, url) {
+ var t = this;
+
+ t.editor = ed;
+
+ // Register commands
+ ed.addCommand('mceNonBreaking', function() {
+ ed.execCommand('mceInsertContent', false, (ed.plugins.visualchars && ed.plugins.visualchars.state) ? '<span data-mce-bogus="1" class="mceItemHidden mceItemNbsp">&nbsp;</span>' : '&nbsp;');
+ });
+
+ // Register buttons
+ ed.addButton('nonbreaking', {title : 'nonbreaking.nonbreaking_desc', cmd : 'mceNonBreaking'});
+
+ if (ed.getParam('nonbreaking_force_tab')) {
+ ed.onKeyDown.add(function(ed, e) {
+ if (e.keyCode == 9) {
+ e.preventDefault();
+
+ ed.execCommand('mceNonBreaking');
+ ed.execCommand('mceNonBreaking');
+ ed.execCommand('mceNonBreaking');
+ }
+ });
+ }
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Nonbreaking space',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/nonbreaking',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+
+ // Private methods
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('nonbreaking', tinymce.plugins.Nonbreaking);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/noneditable/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/noneditable/editor_plugin.js
new file mode 100755
index 00000000..da411ebc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/noneditable/editor_plugin.js
@@ -0,0 +1 @@
+(function(){var c=tinymce.dom.TreeWalker;var a="contenteditable",d="data-mce-"+a;var e=tinymce.VK;function b(n){var j=n.dom,p=n.selection,r,o="mce_noneditablecaret",r="\uFEFF";function m(t){var s;if(t.nodeType===1){s=t.getAttribute(d);if(s&&s!=="inherit"){return s}s=t.contentEditable;if(s!=="inherit"){return s}}return null}function g(s){var t;while(s){t=m(s);if(t){return t==="false"?s:null}s=s.parentNode}}function l(s){while(s){if(s.id===o){return s}s=s.parentNode}}function k(s){var t;if(s){t=new c(s,s);for(s=t.current();s;s=t.next()){if(s.nodeType===3){return s}}}}function f(v,u){var s,t;if(m(v)==="false"){if(j.isBlock(v)){p.select(v);return}}t=j.createRng();if(m(v)==="true"){if(!v.firstChild){v.appendChild(n.getDoc().createTextNode("\u00a0"))}v=v.firstChild;u=true}s=j.create("span",{id:o,"data-mce-bogus":true},r);if(u){v.parentNode.insertBefore(s,v)}else{j.insertAfter(s,v)}t.setStart(s.firstChild,1);t.collapse(true);p.setRng(t);return s}function i(s){var v,t,u;if(s){rng=p.getRng(true);rng.setStartBefore(s);rng.setEndBefore(s);v=k(s);if(v&&v.nodeValue.charAt(0)==r){v=v.deleteData(0,1)}j.remove(s,true);p.setRng(rng)}else{t=l(p.getStart());while((s=j.get(o))&&s!==u){if(t!==s){v=k(s);if(v&&v.nodeValue.charAt(0)==r){v=v.deleteData(0,1)}j.remove(s,true)}u=s}}}function q(){var s,w,u,t,v;function x(B,D){var A,F,E,C,z;A=t.startContainer;F=t.startOffset;if(A.nodeType==3){z=A.nodeValue.length;if((F>0&&F<z)||(D?F==z:F==0)){return}}else{if(F<A.childNodes.length){var G=!D&&F>0?F-1:F;A=A.childNodes[G];if(A.hasChildNodes()){A=A.firstChild}}else{return !D?B:null}}E=new c(A,B);while(C=E[D?"prev":"next"]()){if(C.nodeType===3&&C.nodeValue.length>0){return}else{if(m(C)==="true"){return C}}}return B}i();u=p.isCollapsed();s=g(p.getStart());w=g(p.getEnd());if(s||w){t=p.getRng(true);if(u){s=s||w;var y=p.getStart();if(v=x(s,true)){f(v,true)}else{if(v=x(s,false)){f(v,false)}else{p.select(s)}}}else{t=p.getRng(true);if(s){t.setStartBefore(s)}if(w){t.setEndAfter(w)}p.setRng(t)}}}function h(z,B){var F=B.keyCode,x,C,D,v;function u(H,G){while(H=H[G?"previousSibling":"nextSibling"]){if(H.nodeType!==3||H.nodeValue.length>0){return H}}}function y(G,H){p.select(G);p.collapse(H)}function t(K){var J,I,M,H;function G(O){var N=I;while(N){if(N===O){return}N=N.parentNode}j.remove(O);q()}function L(){var O,P,N=z.schema.getNonEmptyElements();P=new tinymce.dom.TreeWalker(I,z.getBody());while(O=(K?P.prev():P.next())){if(N[O.nodeName.toLowerCase()]){break}if(O.nodeType===3&&tinymce.trim(O.nodeValue).length>0){break}if(m(O)==="false"){G(O);return true}}if(g(O)){return true}return false}if(p.isCollapsed()){J=p.getRng(true);I=J.startContainer;M=J.startOffset;I=l(I)||I;if(H=g(I)){G(H);return false}if(I.nodeType==3&&(K?M>0:M<I.nodeValue.length)){return true}if(I.nodeType==1){I=I.childNodes[M]||I}if(L()){return false}}return true}D=p.getStart();v=p.getEnd();x=g(D)||g(v);if(x&&(F<112||F>124)&&F!=e.DELETE&&F!=e.BACKSPACE){if((tinymce.isMac?B.metaKey:B.ctrlKey)&&(F==67||F==88||F==86)){return}B.preventDefault();if(F==e.LEFT||F==e.RIGHT){var w=F==e.LEFT;if(z.dom.isBlock(x)){var A=w?x.previousSibling:x.nextSibling;var s=new c(A,A);var E=w?s.prev():s.next();y(E,!w)}else{y(x,w)}}}else{if(F==e.LEFT||F==e.RIGHT||F==e.BACKSPACE||F==e.DELETE){C=l(D);if(C){if(F==e.LEFT||F==e.BACKSPACE){x=u(C,true);if(x&&m(x)==="false"){B.preventDefault();if(F==e.LEFT){y(x,true)}else{j.remove(x);return}}else{i(C)}}if(F==e.RIGHT||F==e.DELETE){x=u(C);if(x&&m(x)==="false"){B.preventDefault();if(F==e.RIGHT){y(x,false)}else{j.remove(x);return}}else{i(C)}}}if((F==e.BACKSPACE||F==e.DELETE)&&!t(F==e.BACKSPACE)){B.preventDefault();return false}}}}n.onMouseDown.addToTop(function(s,u){var t=s.selection.getNode();if(m(t)==="false"&&t==u.target){q()}});n.onMouseUp.addToTop(q);n.onKeyDown.addToTop(h);n.onKeyUp.addToTop(q)}tinymce.create("tinymce.plugins.NonEditablePlugin",{init:function(i,k){var h,g,j;function f(m,n){var o=j.length,p=n.content,l=tinymce.trim(g);if(n.format=="raw"){return}while(o--){p=p.replace(j[o],function(s){var r=arguments,q=r[r.length-2];if(q>0&&p.charAt(q-1)=='"'){return s}return'<span class="'+l+'" data-mce-content="'+m.dom.encode(r[0])+'">'+m.dom.encode(typeof(r[1])==="string"?r[1]:r[0])+"</span>"})}n.content=p}h=" "+tinymce.trim(i.getParam("noneditable_editable_class","mceEditable"))+" ";g=" "+tinymce.trim(i.getParam("noneditable_noneditable_class","mceNonEditable"))+" ";j=i.getParam("noneditable_regexp");if(j&&!j.length){j=[j]}i.onPreInit.add(function(){b(i);if(j){i.selection.onBeforeSetContent.add(f);i.onBeforeSetContent.add(f)}i.parser.addAttributeFilter("class",function(l){var m=l.length,n,o;while(m--){o=l[m];n=" "+o.attr("class")+" ";if(n.indexOf(h)!==-1){o.attr(d,"true")}else{if(n.indexOf(g)!==-1){o.attr(d,"false")}}}});i.serializer.addAttributeFilter(d,function(l,m){var n=l.length,o;while(n--){o=l[n];if(j&&o.attr("data-mce-content")){o.name="#text";o.type=3;o.raw=true;o.value=o.attr("data-mce-content")}else{o.attr(a,null);o.attr(d,null)}}});i.parser.addAttributeFilter(a,function(l,m){var n=l.length,o;while(n--){o=l[n];o.attr(d,o.attr(a));o.attr(a,null)}})})},getInfo:function(){return{longname:"Non editable elements",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/noneditable",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("noneditable",tinymce.plugins.NonEditablePlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/noneditable/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/noneditable/editor_plugin_src.js
new file mode 100755
index 00000000..a18bcd78
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/noneditable/editor_plugin_src.js
@@ -0,0 +1,537 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ var TreeWalker = tinymce.dom.TreeWalker;
+ var externalName = 'contenteditable', internalName = 'data-mce-' + externalName;
+ var VK = tinymce.VK;
+
+ function handleContentEditableSelection(ed) {
+ var dom = ed.dom, selection = ed.selection, invisibleChar, caretContainerId = 'mce_noneditablecaret', invisibleChar = '\uFEFF';
+
+ // Returns the content editable state of a node "true/false" or null
+ function getContentEditable(node) {
+ var contentEditable;
+
+ // Ignore non elements
+ if (node.nodeType === 1) {
+ // Check for fake content editable
+ contentEditable = node.getAttribute(internalName);
+ if (contentEditable && contentEditable !== "inherit") {
+ return contentEditable;
+ }
+
+ // Check for real content editable
+ contentEditable = node.contentEditable;
+ if (contentEditable !== "inherit") {
+ return contentEditable;
+ }
+ }
+
+ return null;
+ };
+
+ // Returns the noneditable parent or null if there is a editable before it or if it wasn't found
+ function getNonEditableParent(node) {
+ var state;
+
+ while (node) {
+ state = getContentEditable(node);
+ if (state) {
+ return state === "false" ? node : null;
+ }
+
+ node = node.parentNode;
+ }
+ };
+
+ // Get caret container parent for the specified node
+ function getParentCaretContainer(node) {
+ while (node) {
+ if (node.id === caretContainerId) {
+ return node;
+ }
+
+ node = node.parentNode;
+ }
+ };
+
+ // Finds the first text node in the specified node
+ function findFirstTextNode(node) {
+ var walker;
+
+ if (node) {
+ walker = new TreeWalker(node, node);
+
+ for (node = walker.current(); node; node = walker.next()) {
+ if (node.nodeType === 3) {
+ return node;
+ }
+ }
+ }
+ };
+
+ // Insert caret container before/after target or expand selection to include block
+ function insertCaretContainerOrExpandToBlock(target, before) {
+ var caretContainer, rng;
+
+ // Select block
+ if (getContentEditable(target) === "false") {
+ if (dom.isBlock(target)) {
+ selection.select(target);
+ return;
+ }
+ }
+
+ rng = dom.createRng();
+
+ if (getContentEditable(target) === "true") {
+ if (!target.firstChild) {
+ target.appendChild(ed.getDoc().createTextNode('\u00a0'));
+ }
+
+ target = target.firstChild;
+ before = true;
+ }
+
+ //caretContainer = dom.create('span', {id: caretContainerId, 'data-mce-bogus': true, style:'border: 1px solid red'}, invisibleChar);
+ caretContainer = dom.create('span', {id: caretContainerId, 'data-mce-bogus': true}, invisibleChar);
+
+ if (before) {
+ target.parentNode.insertBefore(caretContainer, target);
+ } else {
+ dom.insertAfter(caretContainer, target);
+ }
+
+ rng.setStart(caretContainer.firstChild, 1);
+ rng.collapse(true);
+ selection.setRng(rng);
+
+ return caretContainer;
+ };
+
+ // Removes any caret container except the one we might be in
+ function removeCaretContainer(caretContainer) {
+ var child, currentCaretContainer, lastContainer;
+
+ if (caretContainer) {
+ rng = selection.getRng(true);
+ rng.setStartBefore(caretContainer);
+ rng.setEndBefore(caretContainer);
+
+ child = findFirstTextNode(caretContainer);
+ if (child && child.nodeValue.charAt(0) == invisibleChar) {
+ child = child.deleteData(0, 1);
+ }
+
+ dom.remove(caretContainer, true);
+
+ selection.setRng(rng);
+ } else {
+ currentCaretContainer = getParentCaretContainer(selection.getStart());
+ while ((caretContainer = dom.get(caretContainerId)) && caretContainer !== lastContainer) {
+ if (currentCaretContainer !== caretContainer) {
+ child = findFirstTextNode(caretContainer);
+ if (child && child.nodeValue.charAt(0) == invisibleChar) {
+ child = child.deleteData(0, 1);
+ }
+
+ dom.remove(caretContainer, true);
+ }
+
+ lastContainer = caretContainer;
+ }
+ }
+ };
+
+ // Modifies the selection to include contentEditable false elements or insert caret containers
+ function moveSelection() {
+ var nonEditableStart, nonEditableEnd, isCollapsed, rng, element;
+
+ // Checks if there is any contents to the left/right side of caret returns the noneditable element or any editable element if it finds one inside
+ function hasSideContent(element, left) {
+ var container, offset, walker, node, len;
+
+ container = rng.startContainer;
+ offset = rng.startOffset;
+
+ // If endpoint is in middle of text node then expand to beginning/end of element
+ if (container.nodeType == 3) {
+ len = container.nodeValue.length;
+ if ((offset > 0 && offset < len) || (left ? offset == len : offset == 0)) {
+ return;
+ }
+ } else {
+ // Can we resolve the node by index
+ if (offset < container.childNodes.length) {
+ // Browser represents caret position as the offset at the start of an element. When moving right
+ // this is the element we are moving into so we consider our container to be child node at offset-1
+ var pos = !left && offset > 0 ? offset-1 : offset;
+ container = container.childNodes[pos];
+ if (container.hasChildNodes()) {
+ container = container.firstChild;
+ }
+ } else {
+ // If not then the caret is at the last position in it's container and the caret container should be inserted after the noneditable element
+ return !left ? element : null;
+ }
+ }
+
+ // Walk left/right to look for contents
+ walker = new TreeWalker(container, element);
+ while (node = walker[left ? 'prev' : 'next']()) {
+ if (node.nodeType === 3 && node.nodeValue.length > 0) {
+ return;
+ } else if (getContentEditable(node) === "true") {
+ // Found contentEditable=true element return this one to we can move the caret inside it
+ return node;
+ }
+ }
+
+ return element;
+ };
+
+ // Remove any existing caret containers
+ removeCaretContainer();
+
+ // Get noneditable start/end elements
+ isCollapsed = selection.isCollapsed();
+ nonEditableStart = getNonEditableParent(selection.getStart());
+ nonEditableEnd = getNonEditableParent(selection.getEnd());
+
+ // Is any fo the range endpoints noneditable
+ if (nonEditableStart || nonEditableEnd) {
+ rng = selection.getRng(true);
+
+ // If it's a caret selection then look left/right to see if we need to move the caret out side or expand
+ if (isCollapsed) {
+ nonEditableStart = nonEditableStart || nonEditableEnd;
+ var start = selection.getStart();
+ if (element = hasSideContent(nonEditableStart, true)) {
+ // We have no contents to the left of the caret then insert a caret container before the noneditable element
+ insertCaretContainerOrExpandToBlock(element, true);
+ } else if (element = hasSideContent(nonEditableStart, false)) {
+ // We have no contents to the right of the caret then insert a caret container after the noneditable element
+ insertCaretContainerOrExpandToBlock(element, false);
+ } else {
+ // We are in the middle of a noneditable so expand to select it
+ selection.select(nonEditableStart);
+ }
+ } else {
+ rng = selection.getRng(true);
+
+ // Expand selection to include start non editable element
+ if (nonEditableStart) {
+ rng.setStartBefore(nonEditableStart);
+ }
+
+ // Expand selection to include end non editable element
+ if (nonEditableEnd) {
+ rng.setEndAfter(nonEditableEnd);
+ }
+
+ selection.setRng(rng);
+ }
+ }
+ };
+
+ function handleKey(ed, e) {
+ var keyCode = e.keyCode, nonEditableParent, caretContainer, startElement, endElement;
+
+ function getNonEmptyTextNodeSibling(node, prev) {
+ while (node = node[prev ? 'previousSibling' : 'nextSibling']) {
+ if (node.nodeType !== 3 || node.nodeValue.length > 0) {
+ return node;
+ }
+ }
+ };
+
+ function positionCaretOnElement(element, start) {
+ selection.select(element);
+ selection.collapse(start);
+ }
+
+ function canDelete(backspace) {
+ var rng, container, offset, nonEditableParent;
+
+ function removeNodeIfNotParent(node) {
+ var parent = container;
+
+ while (parent) {
+ if (parent === node) {
+ return;
+ }
+
+ parent = parent.parentNode;
+ }
+
+ dom.remove(node);
+ moveSelection();
+ }
+
+ function isNextPrevTreeNodeNonEditable() {
+ var node, walker, nonEmptyElements = ed.schema.getNonEmptyElements();
+
+ walker = new tinymce.dom.TreeWalker(container, ed.getBody());
+ while (node = (backspace ? walker.prev() : walker.next())) {
+ // Found IMG/INPUT etc
+ if (nonEmptyElements[node.nodeName.toLowerCase()]) {
+ break;
+ }
+
+ // Found text node with contents
+ if (node.nodeType === 3 && tinymce.trim(node.nodeValue).length > 0) {
+ break;
+ }
+
+ // Found non editable node
+ if (getContentEditable(node) === "false") {
+ removeNodeIfNotParent(node);
+ return true;
+ }
+ }
+
+ // Check if the content node is within a non editable parent
+ if (getNonEditableParent(node)) {
+ return true;
+ }
+
+ return false;
+ }
+
+ if (selection.isCollapsed()) {
+ rng = selection.getRng(true);
+ container = rng.startContainer;
+ offset = rng.startOffset;
+ container = getParentCaretContainer(container) || container;
+
+ // Is in noneditable parent
+ if (nonEditableParent = getNonEditableParent(container)) {
+ removeNodeIfNotParent(nonEditableParent);
+ return false;
+ }
+
+ // Check if the caret is in the middle of a text node
+ if (container.nodeType == 3 && (backspace ? offset > 0 : offset < container.nodeValue.length)) {
+ return true;
+ }
+
+ // Resolve container index
+ if (container.nodeType == 1) {
+ container = container.childNodes[offset] || container;
+ }
+
+ // Check if previous or next tree node is non editable then block the event
+ if (isNextPrevTreeNodeNonEditable()) {
+ return false;
+ }
+ }
+
+ return true;
+ }
+
+ startElement = selection.getStart()
+ endElement = selection.getEnd();
+
+ // Disable all key presses in contentEditable=false except delete or backspace
+ nonEditableParent = getNonEditableParent(startElement) || getNonEditableParent(endElement);
+ if (nonEditableParent && (keyCode < 112 || keyCode > 124) && keyCode != VK.DELETE && keyCode != VK.BACKSPACE) {
+ // Is Ctrl+c, Ctrl+v or Ctrl+x then use default browser behavior
+ if ((tinymce.isMac ? e.metaKey : e.ctrlKey) && (keyCode == 67 || keyCode == 88 || keyCode == 86)) {
+ return;
+ }
+
+ e.preventDefault();
+
+ // Arrow left/right select the element and collapse left/right
+ if (keyCode == VK.LEFT || keyCode == VK.RIGHT) {
+ var left = keyCode == VK.LEFT;
+ // If a block element find previous or next element to position the caret
+ if (ed.dom.isBlock(nonEditableParent)) {
+ var targetElement = left ? nonEditableParent.previousSibling : nonEditableParent.nextSibling;
+ var walker = new TreeWalker(targetElement, targetElement);
+ var caretElement = left ? walker.prev() : walker.next();
+ positionCaretOnElement(caretElement, !left);
+ } else {
+ positionCaretOnElement(nonEditableParent, left);
+ }
+ }
+ } else {
+ // Is arrow left/right, backspace or delete
+ if (keyCode == VK.LEFT || keyCode == VK.RIGHT || keyCode == VK.BACKSPACE || keyCode == VK.DELETE) {
+ caretContainer = getParentCaretContainer(startElement);
+ if (caretContainer) {
+ // Arrow left or backspace
+ if (keyCode == VK.LEFT || keyCode == VK.BACKSPACE) {
+ nonEditableParent = getNonEmptyTextNodeSibling(caretContainer, true);
+
+ if (nonEditableParent && getContentEditable(nonEditableParent) === "false") {
+ e.preventDefault();
+
+ if (keyCode == VK.LEFT) {
+ positionCaretOnElement(nonEditableParent, true);
+ } else {
+ dom.remove(nonEditableParent);
+ return;
+ }
+ } else {
+ removeCaretContainer(caretContainer);
+ }
+ }
+
+ // Arrow right or delete
+ if (keyCode == VK.RIGHT || keyCode == VK.DELETE) {
+ nonEditableParent = getNonEmptyTextNodeSibling(caretContainer);
+
+ if (nonEditableParent && getContentEditable(nonEditableParent) === "false") {
+ e.preventDefault();
+
+ if (keyCode == VK.RIGHT) {
+ positionCaretOnElement(nonEditableParent, false);
+ } else {
+ dom.remove(nonEditableParent);
+ return;
+ }
+ } else {
+ removeCaretContainer(caretContainer);
+ }
+ }
+ }
+
+ if ((keyCode == VK.BACKSPACE || keyCode == VK.DELETE) && !canDelete(keyCode == VK.BACKSPACE)) {
+ e.preventDefault();
+ return false;
+ }
+ }
+ }
+ };
+
+ ed.onMouseDown.addToTop(function(ed, e) {
+ var node = ed.selection.getNode();
+
+ if (getContentEditable(node) === "false" && node == e.target) {
+ // Expand selection on mouse down we can't block the default event since it's used for drag/drop
+ moveSelection();
+ }
+ });
+
+ ed.onMouseUp.addToTop(moveSelection);
+ ed.onKeyDown.addToTop(handleKey);
+ ed.onKeyUp.addToTop(moveSelection);
+ };
+
+ tinymce.create('tinymce.plugins.NonEditablePlugin', {
+ init : function(ed, url) {
+ var editClass, nonEditClass, nonEditableRegExps;
+
+ // Converts configured regexps to noneditable span items
+ function convertRegExpsToNonEditable(ed, args) {
+ var i = nonEditableRegExps.length, content = args.content, cls = tinymce.trim(nonEditClass);
+
+ // Don't replace the variables when raw is used for example on undo/redo
+ if (args.format == "raw") {
+ return;
+ }
+
+ while (i--) {
+ content = content.replace(nonEditableRegExps[i], function(match) {
+ var args = arguments, index = args[args.length - 2];
+
+ // Is value inside an attribute then don't replace
+ if (index > 0 && content.charAt(index - 1) == '"') {
+ return match;
+ }
+
+ return '<span class="' + cls + '" data-mce-content="' + ed.dom.encode(args[0]) + '">' + ed.dom.encode(typeof(args[1]) === "string" ? args[1] : args[0]) + '</span>';
+ });
+ }
+
+ args.content = content;
+ };
+
+ editClass = " " + tinymce.trim(ed.getParam("noneditable_editable_class", "mceEditable")) + " ";
+ nonEditClass = " " + tinymce.trim(ed.getParam("noneditable_noneditable_class", "mceNonEditable")) + " ";
+
+ // Setup noneditable regexps array
+ nonEditableRegExps = ed.getParam("noneditable_regexp");
+ if (nonEditableRegExps && !nonEditableRegExps.length) {
+ nonEditableRegExps = [nonEditableRegExps];
+ }
+
+ ed.onPreInit.add(function() {
+ handleContentEditableSelection(ed);
+
+ if (nonEditableRegExps) {
+ ed.selection.onBeforeSetContent.add(convertRegExpsToNonEditable);
+ ed.onBeforeSetContent.add(convertRegExpsToNonEditable);
+ }
+
+ // Apply contentEditable true/false on elements with the noneditable/editable classes
+ ed.parser.addAttributeFilter('class', function(nodes) {
+ var i = nodes.length, className, node;
+
+ while (i--) {
+ node = nodes[i];
+ className = " " + node.attr("class") + " ";
+
+ if (className.indexOf(editClass) !== -1) {
+ node.attr(internalName, "true");
+ } else if (className.indexOf(nonEditClass) !== -1) {
+ node.attr(internalName, "false");
+ }
+ }
+ });
+
+ // Remove internal name
+ ed.serializer.addAttributeFilter(internalName, function(nodes, name) {
+ var i = nodes.length, node;
+
+ while (i--) {
+ node = nodes[i];
+
+ if (nonEditableRegExps && node.attr('data-mce-content')) {
+ node.name = "#text";
+ node.type = 3;
+ node.raw = true;
+ node.value = node.attr('data-mce-content');
+ } else {
+ node.attr(externalName, null);
+ node.attr(internalName, null);
+ }
+ }
+ });
+
+ // Convert external name into internal name
+ ed.parser.addAttributeFilter(externalName, function(nodes, name) {
+ var i = nodes.length, node;
+
+ while (i--) {
+ node = nodes[i];
+ node.attr(internalName, node.attr(externalName));
+ node.attr(externalName, null);
+ }
+ });
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Non editable elements',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/noneditable',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('noneditable', tinymce.plugins.NonEditablePlugin);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/pagebreak/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/pagebreak/editor_plugin.js
new file mode 100644
index 00000000..35085e8a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/pagebreak/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.PageBreakPlugin",{init:function(b,d){var f='<img src="'+b.theme.url+'/img/trans.gif" class="mcePageBreak mceItemNoResize" />',a="mcePageBreak",c=b.getParam("pagebreak_separator","<!-- pagebreak -->"),e;e=new RegExp(c.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,function(g){return"\\"+g}),"g");b.addCommand("mcePageBreak",function(){b.execCommand("mceInsertContent",0,f)});b.addButton("pagebreak",{title:"pagebreak.desc",cmd:a});b.onInit.add(function(){if(b.theme.onResolveName){b.theme.onResolveName.add(function(g,h){if(h.node.nodeName=="IMG"&&b.dom.hasClass(h.node,a)){h.name="pagebreak"}})}});b.onClick.add(function(g,h){h=h.target;if(h.nodeName==="IMG"&&g.dom.hasClass(h,a)){g.selection.select(h)}});b.onNodeChange.add(function(h,g,i){g.setActive("pagebreak",i.nodeName==="IMG"&&h.dom.hasClass(i,a))});b.onBeforeSetContent.add(function(g,h){h.content=h.content.replace(e,f)});b.onPostProcess.add(function(g,h){if(h.get){h.content=h.content.replace(/<img[^>]+>/g,function(i){if(i.indexOf('class="mcePageBreak')!==-1){i=c}return i})}})},getInfo:function(){return{longname:"PageBreak",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/pagebreak",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("pagebreak",tinymce.plugins.PageBreakPlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/pagebreak/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/pagebreak/editor_plugin_src.js
new file mode 100644
index 00000000..a094c191
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/pagebreak/editor_plugin_src.js
@@ -0,0 +1,74 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.PageBreakPlugin', {
+ init : function(ed, url) {
+ var pb = '<img src="' + ed.theme.url + '/img/trans.gif" class="mcePageBreak mceItemNoResize" />', cls = 'mcePageBreak', sep = ed.getParam('pagebreak_separator', '<!-- pagebreak -->'), pbRE;
+
+ pbRE = new RegExp(sep.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g, function(a) {return '\\' + a;}), 'g');
+
+ // Register commands
+ ed.addCommand('mcePageBreak', function() {
+ ed.execCommand('mceInsertContent', 0, pb);
+ });
+
+ // Register buttons
+ ed.addButton('pagebreak', {title : 'pagebreak.desc', cmd : cls});
+
+ ed.onInit.add(function() {
+ if (ed.theme.onResolveName) {
+ ed.theme.onResolveName.add(function(th, o) {
+ if (o.node.nodeName == 'IMG' && ed.dom.hasClass(o.node, cls))
+ o.name = 'pagebreak';
+ });
+ }
+ });
+
+ ed.onClick.add(function(ed, e) {
+ e = e.target;
+
+ if (e.nodeName === 'IMG' && ed.dom.hasClass(e, cls))
+ ed.selection.select(e);
+ });
+
+ ed.onNodeChange.add(function(ed, cm, n) {
+ cm.setActive('pagebreak', n.nodeName === 'IMG' && ed.dom.hasClass(n, cls));
+ });
+
+ ed.onBeforeSetContent.add(function(ed, o) {
+ o.content = o.content.replace(pbRE, pb);
+ });
+
+ ed.onPostProcess.add(function(ed, o) {
+ if (o.get)
+ o.content = o.content.replace(/<img[^>]+>/g, function(im) {
+ if (im.indexOf('class="mcePageBreak') !== -1)
+ im = sep;
+
+ return im;
+ });
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'PageBreak',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/pagebreak',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('pagebreak', tinymce.plugins.PageBreakPlugin);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/editor_plugin.js
new file mode 100755
index 00000000..0ab05ebb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/editor_plugin.js
@@ -0,0 +1 @@
+(function(){var c=tinymce.each,a={paste_auto_cleanup_on_paste:true,paste_enable_default_filters:true,paste_block_drop:false,paste_retain_style_properties:"none",paste_strip_class_attributes:"mso",paste_remove_spans:false,paste_remove_styles:false,paste_remove_styles_if_webkit:true,paste_convert_middot_lists:true,paste_convert_headers_to_strong:false,paste_dialog_width:"450",paste_dialog_height:"400",paste_max_consecutive_linebreaks:2,paste_text_use_dialog:false,paste_text_sticky:false,paste_text_sticky_default:false,paste_text_notifyalways:false,paste_text_linebreaktype:"combined",paste_text_replacements:[[/\u2026/g,"..."],[/[\x93\x94\u201c\u201d]/g,'"'],[/[\x60\x91\x92\u2018\u2019]/g,"'"]]};function b(d,e){return d.getParam(e,a[e])}tinymce.create("tinymce.plugins.PastePlugin",{init:function(d,e){var f=this;f.editor=d;f.url=e;f.onPreProcess=new tinymce.util.Dispatcher(f);f.onPostProcess=new tinymce.util.Dispatcher(f);f.onPreProcess.add(f._preProcess);f.onPostProcess.add(f._postProcess);f.onPreProcess.add(function(i,j){d.execCallback("paste_preprocess",i,j)});f.onPostProcess.add(function(i,j){d.execCallback("paste_postprocess",i,j)});d.onKeyDown.addToTop(function(i,j){if(((tinymce.isMac?j.metaKey:j.ctrlKey)&&j.keyCode==86)||(j.shiftKey&&j.keyCode==45)){return false}});d.pasteAsPlainText=b(d,"paste_text_sticky_default");function h(l,j){var k=d.dom,i;f.onPreProcess.dispatch(f,l);l.node=k.create("div",0,l.content);if(tinymce.isGecko){i=d.selection.getRng(true);if(i.startContainer==i.endContainer&&i.startContainer.nodeType==3){if(l.node.childNodes.length===1&&/^(p|h[1-6]|pre)$/i.test(l.node.firstChild.nodeName)&&l.content.indexOf("__MCE_ITEM__")===-1){k.remove(l.node.firstChild,true)}}}f.onPostProcess.dispatch(f,l);l.content=d.serializer.serialize(l.node,{getInner:1,forced_root_block:""});if((!j)&&(d.pasteAsPlainText)){f._insertPlainText(l.content);if(!b(d,"paste_text_sticky")){d.pasteAsPlainText=false;d.controlManager.setActive("pastetext",false)}}else{f._insert(l.content)}}d.addCommand("mceInsertClipboardContent",function(i,j){h(j,true)});if(!b(d,"paste_text_use_dialog")){d.addCommand("mcePasteText",function(j,i){var k=tinymce.util.Cookie;d.pasteAsPlainText=!d.pasteAsPlainText;d.controlManager.setActive("pastetext",d.pasteAsPlainText);if((d.pasteAsPlainText)&&(!k.get("tinymcePasteText"))){if(b(d,"paste_text_sticky")){d.windowManager.alert(d.translate("paste.plaintext_mode_sticky"))}else{d.windowManager.alert(d.translate("paste.plaintext_mode"))}if(!b(d,"paste_text_notifyalways")){k.set("tinymcePasteText","1",new Date(new Date().getFullYear()+1,12,31))}}})}d.addButton("pastetext",{title:"paste.paste_text_desc",cmd:"mcePasteText"});d.addButton("selectall",{title:"paste.selectall_desc",cmd:"selectall"});function g(s){var l,p,j,t,k=d.selection,o=d.dom,q=d.getBody(),i,r;if(s.clipboardData||o.doc.dataTransfer){r=(s.clipboardData||o.doc.dataTransfer).getData("Text");if(d.pasteAsPlainText){s.preventDefault();h({content:o.encode(r).replace(/\r?\n/g,"<br />")});return}}if(o.get("_mcePaste")){return}l=o.add(q,"div",{id:"_mcePaste","class":"mcePaste","data-mce-bogus":"1"},"\uFEFF\uFEFF");if(q!=d.getDoc().body){i=o.getPos(d.selection.getStart(),q).y}else{i=q.scrollTop+o.getViewPort(d.getWin()).y}o.setStyles(l,{position:"absolute",left:tinymce.isGecko?-40:0,top:i-25,width:1,height:1,overflow:"hidden"});if(tinymce.isIE){t=k.getRng();j=o.doc.body.createTextRange();j.moveToElementText(l);j.execCommand("Paste");o.remove(l);if(l.innerHTML==="\uFEFF\uFEFF"){d.execCommand("mcePasteWord");s.preventDefault();return}k.setRng(t);k.setContent("");setTimeout(function(){h({content:l.innerHTML})},0);return tinymce.dom.Event.cancel(s)}else{function m(n){n.preventDefault()}o.bind(d.getDoc(),"mousedown",m);o.bind(d.getDoc(),"keydown",m);p=d.selection.getRng();l=l.firstChild;j=d.getDoc().createRange();j.setStart(l,0);j.setEnd(l,2);k.setRng(j);window.setTimeout(function(){var u="",n;if(!o.select("div.mcePaste > div.mcePaste").length){n=o.select("div.mcePaste");c(n,function(w){var v=w.firstChild;if(v&&v.nodeName=="DIV"&&v.style.marginTop&&v.style.backgroundColor){o.remove(v,1)}c(o.select("span.Apple-style-span",w),function(x){o.remove(x,1)});c(o.select("br[data-mce-bogus]",w),function(x){o.remove(x)});if(w.parentNode.className!="mcePaste"){u+=w.innerHTML}})}else{u="<p>"+o.encode(r).replace(/\r?\n\r?\n/g,"</p><p>").replace(/\r?\n/g,"<br />")+"</p>"}c(o.select("div.mcePaste"),function(v){o.remove(v)});if(p){k.setRng(p)}h({content:u});o.unbind(d.getDoc(),"mousedown",m);o.unbind(d.getDoc(),"keydown",m)},0)}}if(b(d,"paste_auto_cleanup_on_paste")){if(tinymce.isOpera||/Firefox\/2/.test(navigator.userAgent)){d.onKeyDown.addToTop(function(i,j){if(((tinymce.isMac?j.metaKey:j.ctrlKey)&&j.keyCode==86)||(j.shiftKey&&j.keyCode==45)){g(j)}})}else{d.onPaste.addToTop(function(i,j){return g(j)})}}d.onInit.add(function(){d.controlManager.setActive("pastetext",d.pasteAsPlainText);if(b(d,"paste_block_drop")){d.dom.bind(d.getBody(),["dragend","dragover","draggesture","dragdrop","drop","drag"],function(i){i.preventDefault();i.stopPropagation();return false})}});f._legacySupport()},getInfo:function(){return{longname:"Paste text/word",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/paste",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_preProcess:function(g,e){var k=this.editor,j=e.content,p=tinymce.grep,n=tinymce.explode,f=tinymce.trim,l,i;function d(h){c(h,function(o){if(o.constructor==RegExp){j=j.replace(o,"")}else{j=j.replace(o[0],o[1])}})}if(k.settings.paste_enable_default_filters==false){return}if(tinymce.isIE&&document.documentMode>=9&&/<(h[1-6r]|p|div|address|pre|form|table|tbody|thead|tfoot|th|tr|td|li|ol|ul|caption|blockquote|center|dl|dt|dd|dir|fieldset)/.test(e.content)){d([[/(?:<br>&nbsp;[\s\r\n]+|<br>)*(<\/?(h[1-6r]|p|div|address|pre|form|table|tbody|thead|tfoot|th|tr|td|li|ol|ul|caption|blockquote|center|dl|dt|dd|dir|fieldset)[^>]*>)(?:<br>&nbsp;[\s\r\n]+|<br>)*/g,"$1"]]);d([[/<br><br>/g,"<BR><BR>"],[/<br>/g," "],[/<BR><BR>/g,"<br>"]])}if(/class="?Mso|style="[^"]*\bmso-|w:WordDocument/i.test(j)||e.wordContent){e.wordContent=true;d([/^\s*(&nbsp;)+/gi,/(&nbsp;|<br[^>]*>)+\s*$/gi]);if(b(k,"paste_convert_headers_to_strong")){j=j.replace(/<p [^>]*class="?MsoHeading"?[^>]*>(.*?)<\/p>/gi,"<p><strong>$1</strong></p>")}if(b(k,"paste_convert_middot_lists")){d([[/<!--\[if !supportLists\]-->/gi,"$&__MCE_ITEM__"],[/(<span[^>]+(?:mso-list:|:\s*symbol)[^>]+>)/gi,"$1__MCE_ITEM__"],[/(<p[^>]+(?:MsoListParagraph)[^>]+>)/gi,"$1__MCE_ITEM__"]])}d([/<!--[\s\S]+?-->/gi,/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,[/<(\/?)s>/gi,"<$1strike>"],[/&nbsp;/gi,"\u00a0"]]);do{l=j.length;j=j.replace(/(<[a-z][^>]*\s)(?:id|name|language|type|on\w+|\w+:\w+)=(?:"[^"]*"|\w+)\s?/gi,"$1")}while(l!=j.length);if(b(k,"paste_retain_style_properties").replace(/^none$/i,"").length==0){j=j.replace(/<\/?span[^>]*>/gi,"")}else{d([[/<span\s+style\s*=\s*"\s*mso-spacerun\s*:\s*yes\s*;?\s*"\s*>([\s\u00a0]*)<\/span>/gi,function(o,h){return(h.length>0)?h.replace(/./," ").slice(Math.floor(h.length/2)).split("").join("\u00a0"):""}],[/(<[a-z][^>]*)\sstyle="([^"]*)"/gi,function(t,h,r){var u=[],o=0,q=n(f(r).replace(/&quot;/gi,"'"),";");c(q,function(s){var w,y,z=n(s,":");function x(A){return A+((A!=="0")&&(/\d$/.test(A)))?"px":""}if(z.length==2){w=z[0].toLowerCase();y=z[1].toLowerCase();switch(w){case"mso-padding-alt":case"mso-padding-top-alt":case"mso-padding-right-alt":case"mso-padding-bottom-alt":case"mso-padding-left-alt":case"mso-margin-alt":case"mso-margin-top-alt":case"mso-margin-right-alt":case"mso-margin-bottom-alt":case"mso-margin-left-alt":case"mso-table-layout-alt":case"mso-height":case"mso-width":case"mso-vertical-align-alt":u[o++]=w.replace(/^mso-|-alt$/g,"")+":"+x(y);return;case"horiz-align":u[o++]="text-align:"+y;return;case"vert-align":u[o++]="vertical-align:"+y;return;case"font-color":case"mso-foreground":u[o++]="color:"+y;return;case"mso-background":case"mso-highlight":u[o++]="background:"+y;return;case"mso-default-height":u[o++]="min-height:"+x(y);return;case"mso-default-width":u[o++]="min-width:"+x(y);return;case"mso-padding-between-alt":u[o++]="border-collapse:separate;border-spacing:"+x(y);return;case"text-line-through":if((y=="single")||(y=="double")){u[o++]="text-decoration:line-through"}return;case"mso-zero-height":if(y=="yes"){u[o++]="display:none"}return}if(/^(mso|column|font-emph|lang|layout|line-break|list-image|nav|panose|punct|row|ruby|sep|size|src|tab-|table-border|text-(?!align|decor|indent|trans)|top-bar|version|vnd|word-break)/.test(w)){return}u[o++]=w+":"+z[1]}});if(o>0){return h+' style="'+u.join(";")+'"'}else{return h}}]])}}if(b(k,"paste_convert_headers_to_strong")){d([[/<h[1-6][^>]*>/gi,"<p><strong>"],[/<\/h[1-6][^>]*>/gi,"</strong></p>"]])}d([[/Version:[\d.]+\nStartHTML:\d+\nEndHTML:\d+\nStartFragment:\d+\nEndFragment:\d+/gi,""]]);i=b(k,"paste_strip_class_attributes");if(i!=="none"){function m(q,o){if(i==="all"){return""}var h=p(n(o.replace(/^(["'])(.*)\1$/,"$2")," "),function(r){return(/^(?!mso)/i.test(r))});return h.length?' class="'+h.join(" ")+'"':""}j=j.replace(/ class="([^"]+)"/gi,m);j=j.replace(/ class=([\-\w]+)/gi,m)}if(b(k,"paste_remove_spans")){j=j.replace(/<\/?span[^>]*>/gi,"")}e.content=j},_postProcess:function(g,i){var f=this,e=f.editor,h=e.dom,d;if(e.settings.paste_enable_default_filters==false){return}if(i.wordContent){c(h.select("a",i.node),function(j){if(!j.href||j.href.indexOf("#_Toc")!=-1){h.remove(j,1)}});if(b(e,"paste_convert_middot_lists")){f._convertLists(g,i)}d=b(e,"paste_retain_style_properties");if((tinymce.is(d,"string"))&&(d!=="all")&&(d!=="*")){d=tinymce.explode(d.replace(/^none$/i,""));c(h.select("*",i.node),function(m){var n={},k=0,l,o,j;if(d){for(l=0;l<d.length;l++){o=d[l];j=h.getStyle(m,o);if(j){n[o]=j;k++}}}h.setAttrib(m,"style","");if(d&&k>0){h.setStyles(m,n)}else{if(m.nodeName=="SPAN"&&!m.className){h.remove(m,true)}}})}}if(b(e,"paste_remove_styles")||(b(e,"paste_remove_styles_if_webkit")&&tinymce.isWebKit)){c(h.select("*[style]",i.node),function(j){j.removeAttribute("style");j.removeAttribute("data-mce-style")})}else{if(tinymce.isWebKit){c(h.select("*",i.node),function(j){j.removeAttribute("data-mce-style")})}}},_convertLists:function(g,e){var i=g.editor.dom,h,l,d=-1,f,m=[],k,j;c(i.select("p",e.node),function(t){var q,u="",s,r,n,o;for(q=t.firstChild;q&&q.nodeType==3;q=q.nextSibling){u+=q.nodeValue}u=t.innerHTML.replace(/<\/?\w+[^>]*>/gi,"").replace(/&nbsp;/g,"\u00a0");if(/^(__MCE_ITEM__)+[\u2022\u00b7\u00a7\u00d8o\u25CF]\s*\u00a0*/.test(u)){s="ul"}if(/^__MCE_ITEM__\s*\w+\.\s*\u00a0+/.test(u)){s="ol"}if(s){f=parseFloat(t.style.marginLeft||0);if(f>d){m.push(f)}if(!h||s!=k){h=i.create(s);i.insertAfter(h,t)}else{if(f>d){h=l.appendChild(i.create(s))}else{if(f<d){n=tinymce.inArray(m,f);o=i.getParents(h.parentNode,s);h=o[o.length-1-n]||h}}}c(i.select("span",t),function(v){var p=v.innerHTML.replace(/<\/?\w+[^>]*>/gi,"");if(s=="ul"&&/^__MCE_ITEM__[\u2022\u00b7\u00a7\u00d8o\u25CF]/.test(p)){i.remove(v)}else{if(/^__MCE_ITEM__[\s\S]*\w+\.(&nbsp;|\u00a0)*\s*/.test(p)){i.remove(v)}}});r=t.innerHTML;if(s=="ul"){r=t.innerHTML.replace(/__MCE_ITEM__/g,"").replace(/^[\u2022\u00b7\u00a7\u00d8o\u25CF]\s*(&nbsp;|\u00a0)+\s*/,"")}else{r=t.innerHTML.replace(/__MCE_ITEM__/g,"").replace(/^\s*\w+\.(&nbsp;|\u00a0)+\s*/,"")}l=h.appendChild(i.create("li",0,r));i.remove(t);d=f;k=s}else{h=d=0}});j=e.node.innerHTML;if(j.indexOf("__MCE_ITEM__")!=-1){e.node.innerHTML=j.replace(/__MCE_ITEM__/g,"")}},_insert:function(f,d){var e=this.editor,g=e.selection.getRng();if(!e.selection.isCollapsed()&&g.startContainer!=g.endContainer){e.getDoc().execCommand("Delete",false,null)}e.execCommand("mceInsertContent",false,f,{skip_undo:d})},_insertPlainText:function(j){var h=this.editor,f=b(h,"paste_text_linebreaktype"),k=b(h,"paste_text_replacements"),g=tinymce.is;function e(m){c(m,function(n){if(n.constructor==RegExp){j=j.replace(n,"")}else{j=j.replace(n[0],n[1])}})}if((typeof(j)==="string")&&(j.length>0)){if(/<(?:p|br|h[1-6]|ul|ol|dl|table|t[rdh]|div|blockquote|fieldset|pre|address|center)[^>]*>/i.test(j)){e([/[\n\r]+/g])}else{e([/\r+/g])}e([[/<\/(?:p|h[1-6]|ul|ol|dl|table|div|blockquote|fieldset|pre|address|center)>/gi,"\n\n"],[/<br[^>]*>|<\/tr>/gi,"\n"],[/<\/t[dh]>\s*<t[dh][^>]*>/gi,"\t"],/<[a-z!\/?][^>]*>/gi,[/&nbsp;/gi," "],[/(?:(?!\n)\s)*(\n+)(?:(?!\n)\s)*/gi,"$1"]]);var d=Number(b(h,"paste_max_consecutive_linebreaks"));if(d>-1){var l=new RegExp("\n{"+(d+1)+",}","g");var i="";while(i.length<d){i+="\n"}e([[l,i]])}j=h.dom.decode(tinymce.html.Entities.encodeRaw(j));if(g(k,"array")){e(k)}else{if(g(k,"string")){e(new RegExp(k,"gi"))}}if(f=="none"){e([[/\n+/g," "]])}else{if(f=="br"){e([[/\n/g,"<br />"]])}else{if(f=="p"){e([[/\n+/g,"</p><p>"],[/^(.*<\/p>)(<p>)$/,"<p>$1"]])}else{e([[/\n\n/g,"</p><p>"],[/^(.*<\/p>)(<p>)$/,"<p>$1"],[/\n/g,"<br />"]])}}}h.execCommand("mceInsertContent",false,j)}},_legacySupport:function(){var e=this,d=e.editor;d.addCommand("mcePasteWord",function(){d.windowManager.open({file:e.url+"/pasteword.htm",width:parseInt(b(d,"paste_dialog_width")),height:parseInt(b(d,"paste_dialog_height")),inline:1})});if(b(d,"paste_text_use_dialog")){d.addCommand("mcePasteText",function(){d.windowManager.open({file:e.url+"/pastetext.htm",width:parseInt(b(d,"paste_dialog_width")),height:parseInt(b(d,"paste_dialog_height")),inline:1})})}d.addButton("pasteword",{title:"paste.paste_word_desc",cmd:"mcePasteWord"})}});tinymce.PluginManager.add("paste",tinymce.plugins.PastePlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/editor_plugin_src.js
new file mode 100755
index 00000000..0154eceb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/editor_plugin_src.js
@@ -0,0 +1,885 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ var each = tinymce.each,
+ defs = {
+ paste_auto_cleanup_on_paste : true,
+ paste_enable_default_filters : true,
+ paste_block_drop : false,
+ paste_retain_style_properties : "none",
+ paste_strip_class_attributes : "mso",
+ paste_remove_spans : false,
+ paste_remove_styles : false,
+ paste_remove_styles_if_webkit : true,
+ paste_convert_middot_lists : true,
+ paste_convert_headers_to_strong : false,
+ paste_dialog_width : "450",
+ paste_dialog_height : "400",
+ paste_max_consecutive_linebreaks: 2,
+ paste_text_use_dialog : false,
+ paste_text_sticky : false,
+ paste_text_sticky_default : false,
+ paste_text_notifyalways : false,
+ paste_text_linebreaktype : "combined",
+ paste_text_replacements : [
+ [/\u2026/g, "..."],
+ [/[\x93\x94\u201c\u201d]/g, '"'],
+ [/[\x60\x91\x92\u2018\u2019]/g, "'"]
+ ]
+ };
+
+ function getParam(ed, name) {
+ return ed.getParam(name, defs[name]);
+ }
+
+ tinymce.create('tinymce.plugins.PastePlugin', {
+ init : function(ed, url) {
+ var t = this;
+
+ t.editor = ed;
+ t.url = url;
+
+ // Setup plugin events
+ t.onPreProcess = new tinymce.util.Dispatcher(t);
+ t.onPostProcess = new tinymce.util.Dispatcher(t);
+
+ // Register default handlers
+ t.onPreProcess.add(t._preProcess);
+ t.onPostProcess.add(t._postProcess);
+
+ // Register optional preprocess handler
+ t.onPreProcess.add(function(pl, o) {
+ ed.execCallback('paste_preprocess', pl, o);
+ });
+
+ // Register optional postprocess
+ t.onPostProcess.add(function(pl, o) {
+ ed.execCallback('paste_postprocess', pl, o);
+ });
+
+ ed.onKeyDown.addToTop(function(ed, e) {
+ // Block ctrl+v from adding an undo level since the default logic in tinymce.Editor will add that
+ if (((tinymce.isMac ? e.metaKey : e.ctrlKey) && e.keyCode == 86) || (e.shiftKey && e.keyCode == 45))
+ return false; // Stop other listeners
+ });
+
+ // Initialize plain text flag
+ ed.pasteAsPlainText = getParam(ed, 'paste_text_sticky_default');
+
+ // This function executes the process handlers and inserts the contents
+ // force_rich overrides plain text mode set by user, important for pasting with execCommand
+ function process(o, force_rich) {
+ var dom = ed.dom, rng;
+
+ // Execute pre process handlers
+ t.onPreProcess.dispatch(t, o);
+
+ // Create DOM structure
+ o.node = dom.create('div', 0, o.content);
+
+ // If pasting inside the same element and the contents is only one block
+ // remove the block and keep the text since Firefox will copy parts of pre and h1-h6 as a pre element
+ if (tinymce.isGecko) {
+ rng = ed.selection.getRng(true);
+ if (rng.startContainer == rng.endContainer && rng.startContainer.nodeType == 3) {
+ // Is only one block node and it doesn't contain word stuff
+ if (o.node.childNodes.length === 1 && /^(p|h[1-6]|pre)$/i.test(o.node.firstChild.nodeName) && o.content.indexOf('__MCE_ITEM__') === -1)
+ dom.remove(o.node.firstChild, true);
+ }
+ }
+
+ // Execute post process handlers
+ t.onPostProcess.dispatch(t, o);
+
+ // Serialize content
+ o.content = ed.serializer.serialize(o.node, {getInner : 1, forced_root_block : ''});
+
+ // Plain text option active?
+ if ((!force_rich) && (ed.pasteAsPlainText)) {
+ t._insertPlainText(o.content);
+
+ if (!getParam(ed, "paste_text_sticky")) {
+ ed.pasteAsPlainText = false;
+ ed.controlManager.setActive("pastetext", false);
+ }
+ } else {
+ t._insert(o.content);
+ }
+ }
+
+ // Add command for external usage
+ ed.addCommand('mceInsertClipboardContent', function(u, o) {
+ process(o, true);
+ });
+
+ if (!getParam(ed, "paste_text_use_dialog")) {
+ ed.addCommand('mcePasteText', function(u, v) {
+ var cookie = tinymce.util.Cookie;
+
+ ed.pasteAsPlainText = !ed.pasteAsPlainText;
+ ed.controlManager.setActive('pastetext', ed.pasteAsPlainText);
+
+ if ((ed.pasteAsPlainText) && (!cookie.get("tinymcePasteText"))) {
+ if (getParam(ed, "paste_text_sticky")) {
+ ed.windowManager.alert(ed.translate('paste.plaintext_mode_sticky'));
+ } else {
+ ed.windowManager.alert(ed.translate('paste.plaintext_mode'));
+ }
+
+ if (!getParam(ed, "paste_text_notifyalways")) {
+ cookie.set("tinymcePasteText", "1", new Date(new Date().getFullYear() + 1, 12, 31))
+ }
+ }
+ });
+ }
+
+ ed.addButton('pastetext', {title: 'paste.paste_text_desc', cmd: 'mcePasteText'});
+ ed.addButton('selectall', {title: 'paste.selectall_desc', cmd: 'selectall'});
+
+ // This function grabs the contents from the clipboard by adding a
+ // hidden div and placing the caret inside it and after the browser paste
+ // is done it grabs that contents and processes that
+ function grabContent(e) {
+ var n, or, rng, oldRng, sel = ed.selection, dom = ed.dom, body = ed.getBody(), posY, textContent;
+
+ // Check if browser supports direct plaintext access
+ if (e.clipboardData || dom.doc.dataTransfer) {
+ textContent = (e.clipboardData || dom.doc.dataTransfer).getData('Text');
+
+ if (ed.pasteAsPlainText) {
+ e.preventDefault();
+ process({content : dom.encode(textContent).replace(/\r?\n/g, '<br />')});
+ return;
+ }
+ }
+
+ if (dom.get('_mcePaste'))
+ return;
+
+ // Create container to paste into
+ n = dom.add(body, 'div', {id : '_mcePaste', 'class' : 'mcePaste', 'data-mce-bogus' : '1'}, '\uFEFF\uFEFF');
+
+ // If contentEditable mode we need to find out the position of the closest element
+ if (body != ed.getDoc().body)
+ posY = dom.getPos(ed.selection.getStart(), body).y;
+ else
+ posY = body.scrollTop + dom.getViewPort(ed.getWin()).y;
+
+ // Styles needs to be applied after the element is added to the document since WebKit will otherwise remove all styles
+ // If also needs to be in view on IE or the paste would fail
+ dom.setStyles(n, {
+ position : 'absolute',
+ left : tinymce.isGecko ? -40 : 0, // Need to move it out of site on Gecko since it will othewise display a ghost resize rect for the div
+ top : posY - 25,
+ width : 1,
+ height : 1,
+ overflow : 'hidden'
+ });
+
+ if (tinymce.isIE) {
+ // Store away the old range
+ oldRng = sel.getRng();
+
+ // Select the container
+ rng = dom.doc.body.createTextRange();
+ rng.moveToElementText(n);
+ rng.execCommand('Paste');
+
+ // Remove container
+ dom.remove(n);
+
+ // Check if the contents was changed, if it wasn't then clipboard extraction failed probably due
+ // to IE security settings so we pass the junk though better than nothing right
+ if (n.innerHTML === '\uFEFF\uFEFF') {
+ ed.execCommand('mcePasteWord');
+ e.preventDefault();
+ return;
+ }
+
+ // Restore the old range and clear the contents before pasting
+ sel.setRng(oldRng);
+ sel.setContent('');
+
+ // For some odd reason we need to detach the the mceInsertContent call from the paste event
+ // It's like IE has a reference to the parent element that you paste in and the selection gets messed up
+ // when it tries to restore the selection
+ setTimeout(function() {
+ // Process contents
+ process({content : n.innerHTML});
+ }, 0);
+
+ // Block the real paste event
+ return tinymce.dom.Event.cancel(e);
+ } else {
+ function block(e) {
+ e.preventDefault();
+ };
+
+ // Block mousedown and click to prevent selection change
+ dom.bind(ed.getDoc(), 'mousedown', block);
+ dom.bind(ed.getDoc(), 'keydown', block);
+
+ or = ed.selection.getRng();
+
+ // Move select contents inside DIV
+ n = n.firstChild;
+ rng = ed.getDoc().createRange();
+ rng.setStart(n, 0);
+ rng.setEnd(n, 2);
+ sel.setRng(rng);
+
+ // Wait a while and grab the pasted contents
+ window.setTimeout(function() {
+ var h = '', nl;
+
+ // Paste divs duplicated in paste divs seems to happen when you paste plain text so lets first look for that broken behavior in WebKit
+ if (!dom.select('div.mcePaste > div.mcePaste').length) {
+ nl = dom.select('div.mcePaste');
+
+ // WebKit will split the div into multiple ones so this will loop through then all and join them to get the whole HTML string
+ each(nl, function(n) {
+ var child = n.firstChild;
+
+ // WebKit inserts a DIV container with lots of odd styles
+ if (child && child.nodeName == 'DIV' && child.style.marginTop && child.style.backgroundColor) {
+ dom.remove(child, 1);
+ }
+
+ // Remove apply style spans
+ each(dom.select('span.Apple-style-span', n), function(n) {
+ dom.remove(n, 1);
+ });
+
+ // Remove bogus br elements
+ each(dom.select('br[data-mce-bogus]', n), function(n) {
+ dom.remove(n);
+ });
+
+ // WebKit will make a copy of the DIV for each line of plain text pasted and insert them into the DIV
+ if (n.parentNode.className != 'mcePaste')
+ h += n.innerHTML;
+ });
+ } else {
+ // Found WebKit weirdness so force the content into paragraphs this seems to happen when you paste plain text from Nodepad etc
+ // So this logic will replace double enter with paragraphs and single enter with br so it kind of looks the same
+ h = '<p>' + dom.encode(textContent).replace(/\r?\n\r?\n/g, '</p><p>').replace(/\r?\n/g, '<br />') + '</p>';
+ }
+
+ // Remove the nodes
+ each(dom.select('div.mcePaste'), function(n) {
+ dom.remove(n);
+ });
+
+ // Restore the old selection
+ if (or)
+ sel.setRng(or);
+
+ process({content : h});
+
+ // Unblock events ones we got the contents
+ dom.unbind(ed.getDoc(), 'mousedown', block);
+ dom.unbind(ed.getDoc(), 'keydown', block);
+ }, 0);
+ }
+ }
+
+ // Check if we should use the new auto process method
+ if (getParam(ed, "paste_auto_cleanup_on_paste")) {
+ // Is it's Opera or older FF use key handler
+ if (tinymce.isOpera || /Firefox\/2/.test(navigator.userAgent)) {
+ ed.onKeyDown.addToTop(function(ed, e) {
+ if (((tinymce.isMac ? e.metaKey : e.ctrlKey) && e.keyCode == 86) || (e.shiftKey && e.keyCode == 45))
+ grabContent(e);
+ });
+ } else {
+ // Grab contents on paste event on Gecko and WebKit
+ ed.onPaste.addToTop(function(ed, e) {
+ return grabContent(e);
+ });
+ }
+ }
+
+ ed.onInit.add(function() {
+ ed.controlManager.setActive("pastetext", ed.pasteAsPlainText);
+
+ // Block all drag/drop events
+ if (getParam(ed, "paste_block_drop")) {
+ ed.dom.bind(ed.getBody(), ['dragend', 'dragover', 'draggesture', 'dragdrop', 'drop', 'drag'], function(e) {
+ e.preventDefault();
+ e.stopPropagation();
+
+ return false;
+ });
+ }
+ });
+
+ // Add legacy support
+ t._legacySupport();
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Paste text/word',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/paste',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ _preProcess : function(pl, o) {
+ var ed = this.editor,
+ h = o.content,
+ grep = tinymce.grep,
+ explode = tinymce.explode,
+ trim = tinymce.trim,
+ len, stripClass;
+
+ //console.log('Before preprocess:' + o.content);
+
+ function process(items) {
+ each(items, function(v) {
+ // Remove or replace
+ if (v.constructor == RegExp)
+ h = h.replace(v, '');
+ else
+ h = h.replace(v[0], v[1]);
+ });
+ }
+
+ if (ed.settings.paste_enable_default_filters == false) {
+ return;
+ }
+
+ // IE9 adds BRs before/after block elements when contents is pasted from word or for example another browser
+ if (tinymce.isIE && document.documentMode >= 9 && /<(h[1-6r]|p|div|address|pre|form|table|tbody|thead|tfoot|th|tr|td|li|ol|ul|caption|blockquote|center|dl|dt|dd|dir|fieldset)/.test(o.content)) {
+ // IE9 adds BRs before/after block elements when contents is pasted from word or for example another browser
+ process([[/(?:<br>&nbsp;[\s\r\n]+|<br>)*(<\/?(h[1-6r]|p|div|address|pre|form|table|tbody|thead|tfoot|th|tr|td|li|ol|ul|caption|blockquote|center|dl|dt|dd|dir|fieldset)[^>]*>)(?:<br>&nbsp;[\s\r\n]+|<br>)*/g, '$1']]);
+
+ // IE9 also adds an extra BR element for each soft-linefeed and it also adds a BR for each word wrap break
+ process([
+ [/<br><br>/g, '<BR><BR>'], // Replace multiple BR elements with uppercase BR to keep them intact
+ [/<br>/g, ' '], // Replace single br elements with space since they are word wrap BR:s
+ [/<BR><BR>/g, '<br>'] // Replace back the double brs but into a single BR
+ ]);
+ }
+
+ // Detect Word content and process it more aggressive
+ if (/class="?Mso|style="[^"]*\bmso-|w:WordDocument/i.test(h) || o.wordContent) {
+ o.wordContent = true; // Mark the pasted contents as word specific content
+ //console.log('Word contents detected.');
+
+ // Process away some basic content
+ process([
+ /^\s*(&nbsp;)+/gi, // &nbsp; entities at the start of contents
+ /(&nbsp;|<br[^>]*>)+\s*$/gi // &nbsp; entities at the end of contents
+ ]);
+
+ if (getParam(ed, "paste_convert_headers_to_strong")) {
+ h = h.replace(/<p [^>]*class="?MsoHeading"?[^>]*>(.*?)<\/p>/gi, "<p><strong>$1</strong></p>");
+ }
+
+ if (getParam(ed, "paste_convert_middot_lists")) {
+ process([
+ [/<!--\[if !supportLists\]-->/gi, '$&__MCE_ITEM__'], // Convert supportLists to a list item marker
+ [/(<span[^>]+(?:mso-list:|:\s*symbol)[^>]+>)/gi, '$1__MCE_ITEM__'], // Convert mso-list and symbol spans to item markers
+ [/(<p[^>]+(?:MsoListParagraph)[^>]+>)/gi, '$1__MCE_ITEM__'] // Convert mso-list and symbol paragraphs to item markers (FF)
+ ]);
+ }
+
+ process([
+ // Word comments like conditional comments etc
+ /<!--[\s\S]+?-->/gi,
+
+ // Remove comments, scripts (e.g., msoShowComment), XML tag, VML content, MS Office namespaced tags, and a few other tags
+ /<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,
+
+ // Convert <s> into <strike> for line-though
+ [/<(\/?)s>/gi, "<$1strike>"],
+
+ // Replace nsbp entites to char since it's easier to handle
+ [/&nbsp;/gi, "\u00a0"]
+ ]);
+
+ // Remove bad attributes, with or without quotes, ensuring that attribute text is really inside a tag.
+ // If JavaScript had a RegExp look-behind, we could have integrated this with the last process() array and got rid of the loop. But alas, it does not, so we cannot.
+ do {
+ len = h.length;
+ h = h.replace(/(<[a-z][^>]*\s)(?:id|name|language|type|on\w+|\w+:\w+)=(?:"[^"]*"|\w+)\s?/gi, "$1");
+ } while (len != h.length);
+
+ // Remove all spans if no styles is to be retained
+ if (getParam(ed, "paste_retain_style_properties").replace(/^none$/i, "").length == 0) {
+ h = h.replace(/<\/?span[^>]*>/gi, "");
+ } else {
+ // We're keeping styles, so at least clean them up.
+ // CSS Reference: http://msdn.microsoft.com/en-us/library/aa155477.aspx
+
+ process([
+ // Convert <span style="mso-spacerun:yes">___</span> to string of alternating breaking/non-breaking spaces of same length
+ [/<span\s+style\s*=\s*"\s*mso-spacerun\s*:\s*yes\s*;?\s*"\s*>([\s\u00a0]*)<\/span>/gi,
+ function(str, spaces) {
+ return (spaces.length > 0)? spaces.replace(/./, " ").slice(Math.floor(spaces.length/2)).split("").join("\u00a0") : "";
+ }
+ ],
+
+ // Examine all styles: delete junk, transform some, and keep the rest
+ [/(<[a-z][^>]*)\sstyle="([^"]*)"/gi,
+ function(str, tag, style) {
+ var n = [],
+ i = 0,
+ s = explode(trim(style).replace(/&quot;/gi, "'"), ";");
+
+ // Examine each style definition within the tag's style attribute
+ each(s, function(v) {
+ var name, value,
+ parts = explode(v, ":");
+
+ function ensureUnits(v) {
+ return v + ((v !== "0") && (/\d$/.test(v)))? "px" : "";
+ }
+
+ if (parts.length == 2) {
+ name = parts[0].toLowerCase();
+ value = parts[1].toLowerCase();
+
+ // Translate certain MS Office styles into their CSS equivalents
+ switch (name) {
+ case "mso-padding-alt":
+ case "mso-padding-top-alt":
+ case "mso-padding-right-alt":
+ case "mso-padding-bottom-alt":
+ case "mso-padding-left-alt":
+ case "mso-margin-alt":
+ case "mso-margin-top-alt":
+ case "mso-margin-right-alt":
+ case "mso-margin-bottom-alt":
+ case "mso-margin-left-alt":
+ case "mso-table-layout-alt":
+ case "mso-height":
+ case "mso-width":
+ case "mso-vertical-align-alt":
+ n[i++] = name.replace(/^mso-|-alt$/g, "") + ":" + ensureUnits(value);
+ return;
+
+ case "horiz-align":
+ n[i++] = "text-align:" + value;
+ return;
+
+ case "vert-align":
+ n[i++] = "vertical-align:" + value;
+ return;
+
+ case "font-color":
+ case "mso-foreground":
+ n[i++] = "color:" + value;
+ return;
+
+ case "mso-background":
+ case "mso-highlight":
+ n[i++] = "background:" + value;
+ return;
+
+ case "mso-default-height":
+ n[i++] = "min-height:" + ensureUnits(value);
+ return;
+
+ case "mso-default-width":
+ n[i++] = "min-width:" + ensureUnits(value);
+ return;
+
+ case "mso-padding-between-alt":
+ n[i++] = "border-collapse:separate;border-spacing:" + ensureUnits(value);
+ return;
+
+ case "text-line-through":
+ if ((value == "single") || (value == "double")) {
+ n[i++] = "text-decoration:line-through";
+ }
+ return;
+
+ case "mso-zero-height":
+ if (value == "yes") {
+ n[i++] = "display:none";
+ }
+ return;
+ }
+
+ // Eliminate all MS Office style definitions that have no CSS equivalent by examining the first characters in the name
+ if (/^(mso|column|font-emph|lang|layout|line-break|list-image|nav|panose|punct|row|ruby|sep|size|src|tab-|table-border|text-(?!align|decor|indent|trans)|top-bar|version|vnd|word-break)/.test(name)) {
+ return;
+ }
+
+ // If it reached this point, it must be a valid CSS style
+ n[i++] = name + ":" + parts[1]; // Lower-case name, but keep value case
+ }
+ });
+
+ // If style attribute contained any valid styles the re-write it; otherwise delete style attribute.
+ if (i > 0) {
+ return tag + ' style="' + n.join(';') + '"';
+ } else {
+ return tag;
+ }
+ }
+ ]
+ ]);
+ }
+ }
+
+ // Replace headers with <strong>
+ if (getParam(ed, "paste_convert_headers_to_strong")) {
+ process([
+ [/<h[1-6][^>]*>/gi, "<p><strong>"],
+ [/<\/h[1-6][^>]*>/gi, "</strong></p>"]
+ ]);
+ }
+
+ process([
+ // Copy paste from Java like Open Office will produce this junk on FF
+ [/Version:[\d.]+\nStartHTML:\d+\nEndHTML:\d+\nStartFragment:\d+\nEndFragment:\d+/gi, '']
+ ]);
+
+ // Class attribute options are: leave all as-is ("none"), remove all ("all"), or remove only those starting with mso ("mso").
+ // Note:- paste_strip_class_attributes: "none", verify_css_classes: true is also a good variation.
+ stripClass = getParam(ed, "paste_strip_class_attributes");
+
+ if (stripClass !== "none") {
+ function removeClasses(match, g1) {
+ if (stripClass === "all")
+ return '';
+
+ var cls = grep(explode(g1.replace(/^(["'])(.*)\1$/, "$2"), " "),
+ function(v) {
+ return (/^(?!mso)/i.test(v));
+ }
+ );
+
+ return cls.length ? ' class="' + cls.join(" ") + '"' : '';
+ };
+
+ h = h.replace(/ class="([^"]+)"/gi, removeClasses);
+ h = h.replace(/ class=([\-\w]+)/gi, removeClasses);
+ }
+
+ // Remove spans option
+ if (getParam(ed, "paste_remove_spans")) {
+ h = h.replace(/<\/?span[^>]*>/gi, "");
+ }
+
+ //console.log('After preprocess:' + h);
+
+ o.content = h;
+ },
+
+ /**
+ * Various post process items.
+ */
+ _postProcess : function(pl, o) {
+ var t = this, ed = t.editor, dom = ed.dom, styleProps;
+
+ if (ed.settings.paste_enable_default_filters == false) {
+ return;
+ }
+
+ if (o.wordContent) {
+ // Remove named anchors or TOC links
+ each(dom.select('a', o.node), function(a) {
+ if (!a.href || a.href.indexOf('#_Toc') != -1)
+ dom.remove(a, 1);
+ });
+
+ if (getParam(ed, "paste_convert_middot_lists")) {
+ t._convertLists(pl, o);
+ }
+
+ // Process styles
+ styleProps = getParam(ed, "paste_retain_style_properties"); // retained properties
+
+ // Process only if a string was specified and not equal to "all" or "*"
+ if ((tinymce.is(styleProps, "string")) && (styleProps !== "all") && (styleProps !== "*")) {
+ styleProps = tinymce.explode(styleProps.replace(/^none$/i, ""));
+
+ // Retains some style properties
+ each(dom.select('*', o.node), function(el) {
+ var newStyle = {}, npc = 0, i, sp, sv;
+
+ // Store a subset of the existing styles
+ if (styleProps) {
+ for (i = 0; i < styleProps.length; i++) {
+ sp = styleProps[i];
+ sv = dom.getStyle(el, sp);
+
+ if (sv) {
+ newStyle[sp] = sv;
+ npc++;
+ }
+ }
+ }
+
+ // Remove all of the existing styles
+ dom.setAttrib(el, 'style', '');
+
+ if (styleProps && npc > 0)
+ dom.setStyles(el, newStyle); // Add back the stored subset of styles
+ else // Remove empty span tags that do not have class attributes
+ if (el.nodeName == 'SPAN' && !el.className)
+ dom.remove(el, true);
+ });
+ }
+ }
+
+ // Remove all style information or only specifically on WebKit to avoid the style bug on that browser
+ if (getParam(ed, "paste_remove_styles") || (getParam(ed, "paste_remove_styles_if_webkit") && tinymce.isWebKit)) {
+ each(dom.select('*[style]', o.node), function(el) {
+ el.removeAttribute('style');
+ el.removeAttribute('data-mce-style');
+ });
+ } else {
+ if (tinymce.isWebKit) {
+ // We need to compress the styles on WebKit since if you paste <img border="0" /> it will become <img border="0" style="... lots of junk ..." />
+ // Removing the mce_style that contains the real value will force the Serializer engine to compress the styles
+ each(dom.select('*', o.node), function(el) {
+ el.removeAttribute('data-mce-style');
+ });
+ }
+ }
+ },
+
+ /**
+ * Converts the most common bullet and number formats in Office into a real semantic UL/LI list.
+ */
+ _convertLists : function(pl, o) {
+ var dom = pl.editor.dom, listElm, li, lastMargin = -1, margin, levels = [], lastType, html;
+
+ // Convert middot lists into real semantic lists
+ each(dom.select('p', o.node), function(p) {
+ var sib, val = '', type, html, idx, parents;
+
+ // Get text node value at beginning of paragraph
+ for (sib = p.firstChild; sib && sib.nodeType == 3; sib = sib.nextSibling)
+ val += sib.nodeValue;
+
+ val = p.innerHTML.replace(/<\/?\w+[^>]*>/gi, '').replace(/&nbsp;/g, '\u00a0');
+
+ // Detect unordered lists look for bullets
+ if (/^(__MCE_ITEM__)+[\u2022\u00b7\u00a7\u00d8o\u25CF]\s*\u00a0*/.test(val))
+ type = 'ul';
+
+ // Detect ordered lists 1., a. or ixv.
+ if (/^__MCE_ITEM__\s*\w+\.\s*\u00a0+/.test(val))
+ type = 'ol';
+
+ // Check if node value matches the list pattern: o&nbsp;&nbsp;
+ if (type) {
+ margin = parseFloat(p.style.marginLeft || 0);
+
+ if (margin > lastMargin)
+ levels.push(margin);
+
+ if (!listElm || type != lastType) {
+ listElm = dom.create(type);
+ dom.insertAfter(listElm, p);
+ } else {
+ // Nested list element
+ if (margin > lastMargin) {
+ listElm = li.appendChild(dom.create(type));
+ } else if (margin < lastMargin) {
+ // Find parent level based on margin value
+ idx = tinymce.inArray(levels, margin);
+ parents = dom.getParents(listElm.parentNode, type);
+ listElm = parents[parents.length - 1 - idx] || listElm;
+ }
+ }
+
+ // Remove middot or number spans if they exists
+ each(dom.select('span', p), function(span) {
+ var html = span.innerHTML.replace(/<\/?\w+[^>]*>/gi, '');
+
+ // Remove span with the middot or the number
+ if (type == 'ul' && /^__MCE_ITEM__[\u2022\u00b7\u00a7\u00d8o\u25CF]/.test(html))
+ dom.remove(span);
+ else if (/^__MCE_ITEM__[\s\S]*\w+\.(&nbsp;|\u00a0)*\s*/.test(html))
+ dom.remove(span);
+ });
+
+ html = p.innerHTML;
+
+ // Remove middot/list items
+ if (type == 'ul')
+ html = p.innerHTML.replace(/__MCE_ITEM__/g, '').replace(/^[\u2022\u00b7\u00a7\u00d8o\u25CF]\s*(&nbsp;|\u00a0)+\s*/, '');
+ else
+ html = p.innerHTML.replace(/__MCE_ITEM__/g, '').replace(/^\s*\w+\.(&nbsp;|\u00a0)+\s*/, '');
+
+ // Create li and add paragraph data into the new li
+ li = listElm.appendChild(dom.create('li', 0, html));
+ dom.remove(p);
+
+ lastMargin = margin;
+ lastType = type;
+ } else
+ listElm = lastMargin = 0; // End list element
+ });
+
+ // Remove any left over makers
+ html = o.node.innerHTML;
+ if (html.indexOf('__MCE_ITEM__') != -1)
+ o.node.innerHTML = html.replace(/__MCE_ITEM__/g, '');
+ },
+
+ /**
+ * Inserts the specified contents at the caret position.
+ */
+ _insert : function(h, skip_undo) {
+ var ed = this.editor, r = ed.selection.getRng();
+
+ // First delete the contents seems to work better on WebKit when the selection spans multiple list items or multiple table cells.
+ if (!ed.selection.isCollapsed() && r.startContainer != r.endContainer)
+ ed.getDoc().execCommand('Delete', false, null);
+
+ ed.execCommand('mceInsertContent', false, h, {skip_undo : skip_undo});
+ },
+
+ /**
+ * Instead of the old plain text method which tried to re-create a paste operation, the
+ * new approach adds a plain text mode toggle switch that changes the behavior of paste.
+ * This function is passed the same input that the regular paste plugin produces.
+ * It performs additional scrubbing and produces (and inserts) the plain text.
+ * This approach leverages all of the great existing functionality in the paste
+ * plugin, and requires minimal changes to add the new functionality.
+ * Speednet - June 2009
+ */
+ _insertPlainText : function(content) {
+ var ed = this.editor,
+ linebr = getParam(ed, "paste_text_linebreaktype"),
+ rl = getParam(ed, "paste_text_replacements"),
+ is = tinymce.is;
+
+ function process(items) {
+ each(items, function(v) {
+ if (v.constructor == RegExp)
+ content = content.replace(v, "");
+ else
+ content = content.replace(v[0], v[1]);
+ });
+ };
+
+ if ((typeof(content) === "string") && (content.length > 0)) {
+ // If HTML content with line-breaking tags, then remove all cr/lf chars because only tags will break a line
+ if (/<(?:p|br|h[1-6]|ul|ol|dl|table|t[rdh]|div|blockquote|fieldset|pre|address|center)[^>]*>/i.test(content)) {
+ process([
+ /[\n\r]+/g
+ ]);
+ } else {
+ // Otherwise just get rid of carriage returns (only need linefeeds)
+ process([
+ /\r+/g
+ ]);
+ }
+
+ process([
+ [/<\/(?:p|h[1-6]|ul|ol|dl|table|div|blockquote|fieldset|pre|address|center)>/gi, "\n\n"], // Block tags get a blank line after them
+ [/<br[^>]*>|<\/tr>/gi, "\n"], // Single linebreak for <br /> tags and table rows
+ [/<\/t[dh]>\s*<t[dh][^>]*>/gi, "\t"], // Table cells get tabs betweem them
+ /<[a-z!\/?][^>]*>/gi, // Delete all remaining tags
+ [/&nbsp;/gi, " "], // Convert non-break spaces to regular spaces (remember, *plain text*)
+ [/(?:(?!\n)\s)*(\n+)(?:(?!\n)\s)*/gi, "$1"] // Cool little RegExp deletes whitespace around linebreak chars.
+ ]);
+
+ var maxLinebreaks = Number(getParam(ed, "paste_max_consecutive_linebreaks"));
+ if (maxLinebreaks > -1) {
+ var maxLinebreaksRegex = new RegExp("\n{" + (maxLinebreaks + 1) + ",}", "g");
+ var linebreakReplacement = "";
+
+ while (linebreakReplacement.length < maxLinebreaks) {
+ linebreakReplacement += "\n";
+ }
+
+ process([
+ [maxLinebreaksRegex, linebreakReplacement] // Limit max consecutive linebreaks
+ ]);
+ }
+
+ content = ed.dom.decode(tinymce.html.Entities.encodeRaw(content));
+
+ // Perform default or custom replacements
+ if (is(rl, "array")) {
+ process(rl);
+ } else if (is(rl, "string")) {
+ process(new RegExp(rl, "gi"));
+ }
+
+ // Treat paragraphs as specified in the config
+ if (linebr == "none") {
+ // Convert all line breaks to space
+ process([
+ [/\n+/g, " "]
+ ]);
+ } else if (linebr == "br") {
+ // Convert all line breaks to <br />
+ process([
+ [/\n/g, "<br />"]
+ ]);
+ } else if (linebr == "p") {
+ // Convert all line breaks to <p>...</p>
+ process([
+ [/\n+/g, "</p><p>"],
+ [/^(.*<\/p>)(<p>)$/, '<p>$1']
+ ]);
+ } else {
+ // defaults to "combined"
+ // Convert single line breaks to <br /> and double line breaks to <p>...</p>
+ process([
+ [/\n\n/g, "</p><p>"],
+ [/^(.*<\/p>)(<p>)$/, '<p>$1'],
+ [/\n/g, "<br />"]
+ ]);
+ }
+
+ ed.execCommand('mceInsertContent', false, content);
+ }
+ },
+
+ /**
+ * This method will open the old style paste dialogs. Some users might want the old behavior but still use the new cleanup engine.
+ */
+ _legacySupport : function() {
+ var t = this, ed = t.editor;
+
+ // Register command(s) for backwards compatibility
+ ed.addCommand("mcePasteWord", function() {
+ ed.windowManager.open({
+ file: t.url + "/pasteword.htm",
+ width: parseInt(getParam(ed, "paste_dialog_width")),
+ height: parseInt(getParam(ed, "paste_dialog_height")),
+ inline: 1
+ });
+ });
+
+ if (getParam(ed, "paste_text_use_dialog")) {
+ ed.addCommand("mcePasteText", function() {
+ ed.windowManager.open({
+ file : t.url + "/pastetext.htm",
+ width: parseInt(getParam(ed, "paste_dialog_width")),
+ height: parseInt(getParam(ed, "paste_dialog_height")),
+ inline : 1
+ });
+ });
+ }
+
+ // Register button for backwards compatibility
+ ed.addButton("pasteword", {title : "paste.paste_word_desc", cmd : "mcePasteWord"});
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add("paste", tinymce.plugins.PastePlugin);
+})();
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/js/pastetext.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/js/pastetext.js
new file mode 100644
index 00000000..c524f9eb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/js/pastetext.js
@@ -0,0 +1,36 @@
+tinyMCEPopup.requireLangPack();
+
+var PasteTextDialog = {
+ init : function() {
+ this.resize();
+ },
+
+ insert : function() {
+ var h = tinyMCEPopup.dom.encode(document.getElementById('content').value), lines;
+
+ // Convert linebreaks into paragraphs
+ if (document.getElementById('linebreaks').checked) {
+ lines = h.split(/\r?\n/);
+ if (lines.length > 1) {
+ h = '';
+ tinymce.each(lines, function(row) {
+ h += '<p>' + row + '</p>';
+ });
+ }
+ }
+
+ tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, {content : h});
+ tinyMCEPopup.close();
+ },
+
+ resize : function() {
+ var vp = tinyMCEPopup.dom.getViewPort(window), el;
+
+ el = document.getElementById('content');
+
+ el.style.width = (vp.w - 20) + 'px';
+ el.style.height = (vp.h - 90) + 'px';
+ }
+};
+
+tinyMCEPopup.onInit.add(PasteTextDialog.init, PasteTextDialog);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/js/pasteword.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/js/pasteword.js
new file mode 100644
index 00000000..a52731c3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/js/pasteword.js
@@ -0,0 +1,51 @@
+tinyMCEPopup.requireLangPack();
+
+var PasteWordDialog = {
+ init : function() {
+ var ed = tinyMCEPopup.editor, el = document.getElementById('iframecontainer'), ifr, doc, css, cssHTML = '';
+
+ // Create iframe
+ el.innerHTML = '<iframe id="iframe" src="javascript:\'\';" frameBorder="0" style="border: 1px solid gray"></iframe>';
+ ifr = document.getElementById('iframe');
+ doc = ifr.contentWindow.document;
+
+ // Force absolute CSS urls
+ css = [ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css")];
+ css = css.concat(tinymce.explode(ed.settings.content_css) || []);
+ tinymce.each(css, function(u) {
+ cssHTML += '<link href="' + ed.documentBaseURI.toAbsolute('' + u) + '" rel="stylesheet" type="text/css" />';
+ });
+
+ // Write content into iframe
+ doc.open();
+ doc.write('<html><head>' + cssHTML + '</head><body class="mceContentBody" spellcheck="false"></body></html>');
+ doc.close();
+
+ doc.designMode = 'on';
+ this.resize();
+
+ window.setTimeout(function() {
+ ifr.contentWindow.focus();
+ }, 10);
+ },
+
+ insert : function() {
+ var h = document.getElementById('iframe').contentWindow.document.body.innerHTML;
+
+ tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, {content : h, wordContent : true});
+ tinyMCEPopup.close();
+ },
+
+ resize : function() {
+ var vp = tinyMCEPopup.dom.getViewPort(window), el;
+
+ el = document.getElementById('iframe');
+
+ if (el) {
+ el.style.width = (vp.w - 20) + 'px';
+ el.style.height = (vp.h - 90) + 'px';
+ }
+ }
+};
+
+tinyMCEPopup.onInit.add(PasteWordDialog.init, PasteWordDialog);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/de_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/de_dlg.js
new file mode 100644
index 00000000..d7bbe93d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/de_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('de.paste_dlg',{"word_title":"Strg V auf der Tastatur dr\u00fccken, um den Text einzuf\u00fcgen.","text_linebreaks":"Zeilenumbr\u00fcche beibehalten","text_title":"Strg V auf der Tastatur dr\u00fccken, um den Text einzuf\u00fcgen."}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/en_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/en_dlg.js
new file mode 100644
index 00000000..bc74daf8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/en_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('en.paste_dlg',{"word_title":"Use Ctrl+V on your keyboard to paste the text into the window.","text_linebreaks":"Keep Linebreaks","text_title":"Use Ctrl+V on your keyboard to paste the text into the window."}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/hu_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/hu_dlg.js
new file mode 100644
index 00000000..826a7bfb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/hu_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('hu.paste_dlg',{"word_title":"Haszn\u00e1lja a Ctrl V-t a billenty\u0171zet\u00e9n a sz\u00f6veg beilleszt\u00e9shez.","text_linebreaks":"Sort\u00f6r\u00e9sek megtart\u00e1sa","text_title":"Haszn\u00e1lja a Ctrl V-t a billenty\u0171zet\u00e9n a sz\u00f6veg beilleszt\u00e9shez."}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/ja_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/ja_dlg.js
new file mode 100644
index 00000000..5af59822
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/ja_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('ja.paste_dlg',{"word_title":"Ctrl V(\u30ad\u30fc\u30dc\u30fc\u30c9)\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c6\u30ad\u30b9\u30c8\u3092\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002","text_linebreaks":"\u6539\u884c\u3092\u4fdd\u6301","text_title":"Ctrl V(\u30ad\u30fc\u30dc\u30fc\u30c9)\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c6\u30ad\u30b9\u30c8\u3092\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/pastetext.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/pastetext.htm
new file mode 100755
index 00000000..b6559454
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/pastetext.htm
@@ -0,0 +1,27 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#paste.paste_text_desc}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="js/pastetext.js"></script>
+</head>
+<body onresize="PasteTextDialog.resize();" style="display:none; overflow:hidden;">
+ <form name="source" onsubmit="return PasteTextDialog.insert();" action="#">
+ <div style="float: left" class="title">{#paste.paste_text_desc}</div>
+
+ <div style="float: right">
+ <input type="checkbox" name="linebreaks" id="linebreaks" class="wordWrapCode" checked="checked" /><label for="linebreaks">{#paste_dlg.text_linebreaks}</label>
+ </div>
+
+ <br style="clear: both" />
+
+ <div>{#paste_dlg.text_title}</div>
+
+ <textarea id="content" name="content" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,mono; font-size: 12px;" dir="ltr" wrap="soft" class="mceFocus"></textarea>
+
+ <div class="mceActionPanel">
+ <input type="submit" name="insert" value="{#insert}" id="insert" />
+ <input type="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
+ </div>
+ </form>
+</body>
+</html> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/pasteword.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/pasteword.htm
new file mode 100755
index 00000000..0f6bb412
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/paste/pasteword.htm
@@ -0,0 +1,21 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#paste.paste_word_desc}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="js/pasteword.js"></script>
+</head>
+<body onresize="PasteWordDialog.resize();" style="display:none; overflow:hidden;">
+ <form name="source" onsubmit="return PasteWordDialog.insert();" action="#">
+ <div class="title">{#paste.paste_word_desc}</div>
+
+ <div>{#paste_dlg.word_title}</div>
+
+ <div id="iframecontainer"></div>
+
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#insert}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+ </form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/editor_plugin.js
new file mode 100755
index 00000000..507909c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.Preview",{init:function(a,b){var d=this,c=tinymce.explode(a.settings.content_css);d.editor=a;tinymce.each(c,function(f,e){c[e]=a.documentBaseURI.toAbsolute(f)});a.addCommand("mcePreview",function(){a.windowManager.open({file:a.getParam("plugin_preview_pageurl",b+"/preview.html"),width:parseInt(a.getParam("plugin_preview_width","550")),height:parseInt(a.getParam("plugin_preview_height","600")),resizable:"yes",scrollbars:"yes",popup_css:c?c.join(","):a.baseURI.toAbsolute("themes/"+a.settings.theme+"/skins/"+a.settings.skin+"/content.css"),inline:a.getParam("plugin_preview_inline",1)},{base:a.documentBaseURI.getURI()})});a.addButton("preview",{title:"preview.preview_desc",cmd:"mcePreview"})},getInfo:function(){return{longname:"Preview",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/preview",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("preview",tinymce.plugins.Preview)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/editor_plugin_src.js
new file mode 100755
index 00000000..80f00f0d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/editor_plugin_src.js
@@ -0,0 +1,53 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.Preview', {
+ init : function(ed, url) {
+ var t = this, css = tinymce.explode(ed.settings.content_css);
+
+ t.editor = ed;
+
+ // Force absolute CSS urls
+ tinymce.each(css, function(u, k) {
+ css[k] = ed.documentBaseURI.toAbsolute(u);
+ });
+
+ ed.addCommand('mcePreview', function() {
+ ed.windowManager.open({
+ file : ed.getParam("plugin_preview_pageurl", url + "/preview.html"),
+ width : parseInt(ed.getParam("plugin_preview_width", "550")),
+ height : parseInt(ed.getParam("plugin_preview_height", "600")),
+ resizable : "yes",
+ scrollbars : "yes",
+ popup_css : css ? css.join(',') : ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css"),
+ inline : ed.getParam("plugin_preview_inline", 1)
+ }, {
+ base : ed.documentBaseURI.getURI()
+ });
+ });
+
+ ed.addButton('preview', {title : 'preview.preview_desc', cmd : 'mcePreview'});
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Preview',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/preview',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('preview', tinymce.plugins.Preview);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/example.html b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/example.html
new file mode 100755
index 00000000..b2c3d90c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/example.html
@@ -0,0 +1,28 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<script language="javascript" src="../../tiny_mce_popup.js"></script>
+<script type="text/javascript" src="jscripts/embed.js"></script>
+<script type="text/javascript">
+tinyMCEPopup.onInit.add(function(ed) {
+ var dom = tinyMCEPopup.dom;
+
+ // Load editor content_css
+ tinymce.each(ed.settings.content_css.split(','), function(u) {
+ dom.loadCSS(ed.documentBaseURI.toAbsolute(u));
+ });
+
+ // Place contents inside div container
+ dom.setHTML('content', ed.getContent());
+});
+</script>
+<title>Example of a custom preview page</title>
+</head>
+<body>
+
+Editor contents: <br />
+<div id="content">
+<!-- Gets filled with editor contents -->
+</div>
+
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/jscripts/embed.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/jscripts/embed.js
new file mode 100755
index 00000000..f8dc8105
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/jscripts/embed.js
@@ -0,0 +1,73 @@
+/**
+ * This script contains embed functions for common plugins. This scripts are complety free to use for any purpose.
+ */
+
+function writeFlash(p) {
+ writeEmbed(
+ 'D27CDB6E-AE6D-11cf-96B8-444553540000',
+ 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
+ 'application/x-shockwave-flash',
+ p
+ );
+}
+
+function writeShockWave(p) {
+ writeEmbed(
+ '166B1BCA-3F9C-11CF-8075-444553540000',
+ 'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0',
+ 'application/x-director',
+ p
+ );
+}
+
+function writeQuickTime(p) {
+ writeEmbed(
+ '02BF25D5-8C17-4B23-BC80-D3488ABDDC6B',
+ 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0',
+ 'video/quicktime',
+ p
+ );
+}
+
+function writeRealMedia(p) {
+ writeEmbed(
+ 'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA',
+ 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
+ 'audio/x-pn-realaudio-plugin',
+ p
+ );
+}
+
+function writeWindowsMedia(p) {
+ p.url = p.src;
+ writeEmbed(
+ '6BF52A52-394A-11D3-B153-00C04F79FAA6',
+ 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701',
+ 'application/x-mplayer2',
+ p
+ );
+}
+
+function writeEmbed(cls, cb, mt, p) {
+ var h = '', n;
+
+ h += '<object classid="clsid:' + cls + '" codebase="' + cb + '"';
+ h += typeof(p.id) != "undefined" ? 'id="' + p.id + '"' : '';
+ h += typeof(p.name) != "undefined" ? 'name="' + p.name + '"' : '';
+ h += typeof(p.width) != "undefined" ? 'width="' + p.width + '"' : '';
+ h += typeof(p.height) != "undefined" ? 'height="' + p.height + '"' : '';
+ h += typeof(p.align) != "undefined" ? 'align="' + p.align + '"' : '';
+ h += '>';
+
+ for (n in p)
+ h += '<param name="' + n + '" value="' + p[n] + '">';
+
+ h += '<embed type="' + mt + '"';
+
+ for (n in p)
+ h += n + '="' + p[n] + '" ';
+
+ h += '></embed></object>';
+
+ document.write(h);
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/preview.html b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/preview.html
new file mode 100644
index 00000000..67e7b142
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/preview/preview.html
@@ -0,0 +1,17 @@
+<!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>
+<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+<script type="text/javascript" src="jscripts/embed.js"></script>
+<script type="text/javascript"><!--
+document.write('<base href="' + tinyMCEPopup.getWindowArg("base") + '">');
+// -->
+</script>
+<title>{#preview.preview_desc}</title>
+</head>
+<body id="content">
+<script type="text/javascript">
+ document.write(tinyMCEPopup.editor.getContent());
+</script>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/print/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/print/editor_plugin.js
new file mode 100755
index 00000000..b5b3a55e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/print/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.Print",{init:function(a,b){a.addCommand("mcePrint",function(){a.getWin().print()});a.addButton("print",{title:"print.print_desc",cmd:"mcePrint"})},getInfo:function(){return{longname:"Print",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/print",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("print",tinymce.plugins.Print)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/print/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/print/editor_plugin_src.js
new file mode 100755
index 00000000..3933fe65
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/print/editor_plugin_src.js
@@ -0,0 +1,34 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.Print', {
+ init : function(ed, url) {
+ ed.addCommand('mcePrint', function() {
+ ed.getWin().print();
+ });
+
+ ed.addButton('print', {title : 'print.print_desc', cmd : 'mcePrint'});
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Print',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/print',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('print', tinymce.plugins.Print);
+})();
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/save/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/save/editor_plugin.js
new file mode 100755
index 00000000..8e939966
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/save/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.Save",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceSave",c._save,c);a.addCommand("mceCancel",c._cancel,c);a.addButton("save",{title:"save.save_desc",cmd:"mceSave"});a.addButton("cancel",{title:"save.cancel_desc",cmd:"mceCancel"});a.onNodeChange.add(c._nodeChange,c);a.addShortcut("ctrl+s",a.getLang("save.save_desc"),"mceSave")},getInfo:function(){return{longname:"Save",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/save",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_nodeChange:function(b,a,c){var b=this.editor;if(b.getParam("save_enablewhendirty")){a.setDisabled("save",!b.isDirty());a.setDisabled("cancel",!b.isDirty())}},_save:function(){var c=this.editor,a,e,d,b;a=tinymce.DOM.get(c.id).form||tinymce.DOM.getParent(c.id,"form");if(c.getParam("save_enablewhendirty")&&!c.isDirty()){return}tinyMCE.triggerSave();if(e=c.getParam("save_onsavecallback")){if(c.execCallback("save_onsavecallback",c)){c.startContent=tinymce.trim(c.getContent({format:"raw"}));c.nodeChanged()}return}if(a){c.isNotDirty=true;if(a.onsubmit==null||a.onsubmit()!=false){a.submit()}c.nodeChanged()}else{c.windowManager.alert("Error: No form element found.")}},_cancel:function(){var a=this.editor,c,b=tinymce.trim(a.startContent);if(c=a.getParam("save_oncancelcallback")){a.execCallback("save_oncancelcallback",a);return}a.setContent(b);a.undoManager.clear();a.nodeChanged()}});tinymce.PluginManager.add("save",tinymce.plugins.Save)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/save/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/save/editor_plugin_src.js
new file mode 100755
index 00000000..f5a3de8f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/save/editor_plugin_src.js
@@ -0,0 +1,101 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.Save', {
+ init : function(ed, url) {
+ var t = this;
+
+ t.editor = ed;
+
+ // Register commands
+ ed.addCommand('mceSave', t._save, t);
+ ed.addCommand('mceCancel', t._cancel, t);
+
+ // Register buttons
+ ed.addButton('save', {title : 'save.save_desc', cmd : 'mceSave'});
+ ed.addButton('cancel', {title : 'save.cancel_desc', cmd : 'mceCancel'});
+
+ ed.onNodeChange.add(t._nodeChange, t);
+ ed.addShortcut('ctrl+s', ed.getLang('save.save_desc'), 'mceSave');
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Save',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/save',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ // Private methods
+
+ _nodeChange : function(ed, cm, n) {
+ var ed = this.editor;
+
+ if (ed.getParam('save_enablewhendirty')) {
+ cm.setDisabled('save', !ed.isDirty());
+ cm.setDisabled('cancel', !ed.isDirty());
+ }
+ },
+
+ // Private methods
+
+ _save : function() {
+ var ed = this.editor, formObj, os, i, elementId;
+
+ formObj = tinymce.DOM.get(ed.id).form || tinymce.DOM.getParent(ed.id, 'form');
+
+ if (ed.getParam("save_enablewhendirty") && !ed.isDirty())
+ return;
+
+ tinyMCE.triggerSave();
+
+ // Use callback instead
+ if (os = ed.getParam("save_onsavecallback")) {
+ if (ed.execCallback('save_onsavecallback', ed)) {
+ ed.startContent = tinymce.trim(ed.getContent({format : 'raw'}));
+ ed.nodeChanged();
+ }
+
+ return;
+ }
+
+ if (formObj) {
+ ed.isNotDirty = true;
+
+ if (formObj.onsubmit == null || formObj.onsubmit() != false)
+ formObj.submit();
+
+ ed.nodeChanged();
+ } else
+ ed.windowManager.alert("Error: No form element found.");
+ },
+
+ _cancel : function() {
+ var ed = this.editor, os, h = tinymce.trim(ed.startContent);
+
+ // Use callback instead
+ if (os = ed.getParam("save_oncancelcallback")) {
+ ed.execCallback('save_oncancelcallback', ed);
+ return;
+ }
+
+ ed.setContent(h);
+ ed.undoManager.clear();
+ ed.nodeChanged();
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('save', tinymce.plugins.Save);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/css/searchreplace.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/css/searchreplace.css
new file mode 100755
index 00000000..ecdf58c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/css/searchreplace.css
@@ -0,0 +1,6 @@
+.panel_wrapper {height:85px;}
+.panel_wrapper div.current {height:85px;}
+
+/* IE */
+* html .panel_wrapper {height:100px;}
+* html .panel_wrapper div.current {height:100px;}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/editor_plugin.js
new file mode 100755
index 00000000..165bc12d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.SearchReplacePlugin",{init:function(a,c){function b(d){window.focus();a.windowManager.open({file:c+"/searchreplace.htm",width:420+parseInt(a.getLang("searchreplace.delta_width",0)),height:170+parseInt(a.getLang("searchreplace.delta_height",0)),inline:1,auto_focus:0},{mode:d,search_string:a.selection.getContent({format:"text"}),plugin_url:c})}a.addCommand("mceSearch",function(){b("search")});a.addCommand("mceReplace",function(){b("replace")});a.addButton("search",{title:"searchreplace.search_desc",cmd:"mceSearch"});a.addButton("replace",{title:"searchreplace.replace_desc",cmd:"mceReplace"});a.addShortcut("ctrl+f","searchreplace.search_desc","mceSearch")},getInfo:function(){return{longname:"Search/Replace",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("searchreplace",tinymce.plugins.SearchReplacePlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/editor_plugin_src.js
new file mode 100755
index 00000000..4c87e8fa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/editor_plugin_src.js
@@ -0,0 +1,61 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.SearchReplacePlugin', {
+ init : function(ed, url) {
+ function open(m) {
+ // Keep IE from writing out the f/r character to the editor
+ // instance while initializing a new dialog. See: #3131190
+ window.focus();
+
+ ed.windowManager.open({
+ file : url + '/searchreplace.htm',
+ width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)),
+ height : 170 + parseInt(ed.getLang('searchreplace.delta_height', 0)),
+ inline : 1,
+ auto_focus : 0
+ }, {
+ mode : m,
+ search_string : ed.selection.getContent({format : 'text'}),
+ plugin_url : url
+ });
+ };
+
+ // Register commands
+ ed.addCommand('mceSearch', function() {
+ open('search');
+ });
+
+ ed.addCommand('mceReplace', function() {
+ open('replace');
+ });
+
+ // Register buttons
+ ed.addButton('search', {title : 'searchreplace.search_desc', cmd : 'mceSearch'});
+ ed.addButton('replace', {title : 'searchreplace.replace_desc', cmd : 'mceReplace'});
+
+ ed.addShortcut('ctrl+f', 'searchreplace.search_desc', 'mceSearch');
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Search/Replace',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('searchreplace', tinymce.plugins.SearchReplacePlugin);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/js/searchreplace.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/js/searchreplace.js
new file mode 100644
index 00000000..80284b9f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/js/searchreplace.js
@@ -0,0 +1,142 @@
+tinyMCEPopup.requireLangPack();
+
+var SearchReplaceDialog = {
+ init : function(ed) {
+ var t = this, f = document.forms[0], m = tinyMCEPopup.getWindowArg("mode");
+
+ t.switchMode(m);
+
+ f[m + '_panel_searchstring'].value = tinyMCEPopup.getWindowArg("search_string");
+
+ // Focus input field
+ f[m + '_panel_searchstring'].focus();
+
+ mcTabs.onChange.add(function(tab_id, panel_id) {
+ t.switchMode(tab_id.substring(0, tab_id.indexOf('_')));
+ });
+ },
+
+ switchMode : function(m) {
+ var f, lm = this.lastMode;
+
+ if (lm != m) {
+ f = document.forms[0];
+
+ if (lm) {
+ f[m + '_panel_searchstring'].value = f[lm + '_panel_searchstring'].value;
+ f[m + '_panel_backwardsu'].checked = f[lm + '_panel_backwardsu'].checked;
+ f[m + '_panel_backwardsd'].checked = f[lm + '_panel_backwardsd'].checked;
+ f[m + '_panel_casesensitivebox'].checked = f[lm + '_panel_casesensitivebox'].checked;
+ }
+
+ mcTabs.displayTab(m + '_tab', m + '_panel');
+ document.getElementById("replaceBtn").style.display = (m == "replace") ? "inline" : "none";
+ document.getElementById("replaceAllBtn").style.display = (m == "replace") ? "inline" : "none";
+ this.lastMode = m;
+ }
+ },
+
+ searchNext : function(a) {
+ var ed = tinyMCEPopup.editor, se = ed.selection, r = se.getRng(), f, m = this.lastMode, s, b, fl = 0, w = ed.getWin(), wm = ed.windowManager, fo = 0;
+
+ // Get input
+ f = document.forms[0];
+ s = f[m + '_panel_searchstring'].value;
+ b = f[m + '_panel_backwardsu'].checked;
+ ca = f[m + '_panel_casesensitivebox'].checked;
+ rs = f['replace_panel_replacestring'].value;
+
+ if (tinymce.isIE) {
+ r = ed.getDoc().selection.createRange();
+ }
+
+ if (s == '')
+ return;
+
+ function fix() {
+ // Correct Firefox graphics glitches
+ // TODO: Verify if this is actually needed any more, maybe it was for very old FF versions?
+ r = se.getRng().cloneRange();
+ ed.getDoc().execCommand('SelectAll', false, null);
+ se.setRng(r);
+ };
+
+ function replace() {
+ ed.selection.setContent(rs); // Needs to be duplicated due to selection bug in IE
+ };
+
+ // IE flags
+ if (ca)
+ fl = fl | 4;
+
+ switch (a) {
+ case 'all':
+ // Move caret to beginning of text
+ ed.execCommand('SelectAll');
+ ed.selection.collapse(true);
+
+ if (tinymce.isIE) {
+ ed.focus();
+ r = ed.getDoc().selection.createRange();
+
+ while (r.findText(s, b ? -1 : 1, fl)) {
+ r.scrollIntoView();
+ r.select();
+ replace();
+ fo = 1;
+
+ if (b) {
+ r.moveEnd("character", -(rs.length)); // Otherwise will loop forever
+ }
+ }
+
+ tinyMCEPopup.storeSelection();
+ } else {
+ while (w.find(s, ca, b, false, false, false, false)) {
+ replace();
+ fo = 1;
+ }
+ }
+
+ if (fo)
+ tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.allreplaced'));
+ else
+ tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound'));
+
+ return;
+
+ case 'current':
+ if (!ed.selection.isCollapsed())
+ replace();
+
+ break;
+ }
+
+ se.collapse(b);
+ r = se.getRng();
+
+ // Whats the point
+ if (!s)
+ return;
+
+ if (tinymce.isIE) {
+ ed.focus();
+ r = ed.getDoc().selection.createRange();
+
+ if (r.findText(s, b ? -1 : 1, fl)) {
+ r.scrollIntoView();
+ r.select();
+ } else
+ tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound'));
+
+ tinyMCEPopup.storeSelection();
+ } else {
+ if (!w.find(s, ca, b, false, false, false, false))
+ tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound'));
+ else
+ fix();
+ }
+ }
+};
+
+tinyMCEPopup.onInit.add(SearchReplaceDialog.init, SearchReplaceDialog);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/de_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/de_dlg.js
new file mode 100644
index 00000000..7c40acd9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/de_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('de.searchreplace_dlg',{findwhat:"Zu suchender Text",replacewith:"Ersetzen durch",direction:"Suchrichtung",up:"Aufw\u00e4rts",down:"Abw\u00e4rts",mcase:"Gro\u00df-/Kleinschreibung beachten",findnext:"Weitersuchen",allreplaced:"Alle Vorkommen der Zeichenkette wurden ersetzt.","searchnext_desc":"Weitersuchen",notfound:"Die Suche ist am Ende angelangt. Die Zeichenkette konnte nicht gefunden werden.","search_title":"Suchen","replace_title":"Suchen/Ersetzen",replaceall:"Alle ersetzen",replace:"Ersetzen"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/en_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/en_dlg.js
new file mode 100644
index 00000000..8a659009
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/en_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('en.searchreplace_dlg',{findwhat:"Find What",replacewith:"Replace with",direction:"Direction",up:"Up",down:"Down",mcase:"Match Case",findnext:"Find Next",allreplaced:"All occurrences of the search string were replaced.","searchnext_desc":"Find Again",notfound:"The search has been completed. The search string could not be found.","search_title":"Find","replace_title":"Find/Replace",replaceall:"Replace All",replace:"Replace"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/hu_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/hu_dlg.js
new file mode 100644
index 00000000..c34352d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/hu_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('hu.searchreplace_dlg',{findwhat:"Mit keres",replacewith:"Mire cser\u00e9l",direction:"Ir\u00e1ny",up:"Fel",down:"Le",mcase:"Kis- \u00e9s nagybet\u0171k megk\u00fcl\u00f6nb\u00f6ztet\u00e9se",findnext:"K\u00f6vetkez\u0151 keres\u00e9se",allreplaced:"A keresett r\u00e9szsz\u00f6veg minden el\u0151fordul\u00e1sa cser\u00e9lve lett.","searchnext_desc":"Keres\u00e9s megint",notfound:"A keres\u00e9s v\u00e9get \u00e9rt. A keresett sz\u00f6vegr\u00e9sz nem tal\u00e1lhat\u00f3.","search_title":"Keres\u00e9s","replace_title":"Keres\u00e9s/Csere",replaceall:"\u00d6sszes cser\u00e9je",replace:"Csere"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/ja_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/ja_dlg.js
new file mode 100644
index 00000000..a12eb783
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/ja_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('ja.searchreplace_dlg',{findwhat:"\u691c\u7d22\u3059\u308b\u6587\u5b57\u5217",replacewith:"\u7f6e\u63db\u5f8c\u306e\u6587\u5b57\u5217",direction:"\u65b9\u5411",up:"\u4e0a\u3078",down:"\u4e0b\u3078",mcase:"\u5927\u6587\u5b57\u30fb\u5c0f\u6587\u5b57\u306e\u533a\u5225",findnext:"\u6b21\u3092\u691c\u7d22",allreplaced:"\u3059\u3079\u3066\u7f6e\u63db\u3057\u307e\u3057\u305f\u3002","searchnext_desc":"\u518d\u691c\u7d22",notfound:"\u691c\u7d22\u3092\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002\u691c\u7d22\u6587\u5b57\u5217\u306f\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002","search_title":"\u691c\u7d22","replace_title":"\u691c\u7d22\u3068\u7f6e\u63db",replaceall:"\u3059\u3079\u3066\u7f6e\u63db",replace:"\u7f6e\u63db"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/searchreplace.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/searchreplace.htm
new file mode 100755
index 00000000..2443a918
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/searchreplace.htm
@@ -0,0 +1,100 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#searchreplace_dlg.replace_title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="js/searchreplace.js"></script>
+ <link rel="stylesheet" type="text/css" href="css/searchreplace.css" />
+</head>
+<body style="display:none;" role="application" aria-labelledby="app_title">
+<span id="app_title" style="display:none">{#searchreplace_dlg.replace_title}</span>
+<form onsubmit="SearchReplaceDialog.searchNext('none');return false;" action="#">
+ <div class="tabs">
+ <ul>
+ <li id="search_tab" aria-controls="search_panel"><span><a href="javascript:SearchReplaceDialog.switchMode('search');" onmousedown="return false;">{#searchreplace.search_desc}</a></span></li>
+ <li id="replace_tab" aria-controls="replace_panel"><span><a href="javascript:SearchReplaceDialog.switchMode('replace');" onmousedown="return false;">{#searchreplace_dlg.replace}</a></span></li>
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="search_panel" class="panel">
+ <table role="presentation" border="0" cellspacing="0" cellpadding="2">
+ <tr>
+ <td><label for="search_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td>
+ <td><input type="text" id="search_panel_searchstring" name="search_panel_searchstring" style="width: 200px" aria-required="true" /></td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0" class="direction">
+ <tr role="group" aria-labelledby="search_panel_backwards_label">
+ <td><label id="search_panel_backwards_label">{#searchreplace_dlg.direction}</label></td>
+ <td><input id="search_panel_backwardsu" name="search_panel_backwards" class="radio" type="radio" /></td>
+ <td><label for="search_panel_backwardsu">{#searchreplace_dlg.up}</label></td>
+ <td><input id="search_panel_backwardsd" name="search_panel_backwards" class="radio" type="radio" checked="checked" /></td>
+ <td><label for="search_panel_backwardsd">{#searchreplace_dlg.down}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input id="search_panel_casesensitivebox" name="search_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
+ <td><label for="search_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div id="replace_panel" class="panel">
+ <table role="presentation" border="0" cellspacing="0" cellpadding="2">
+ <tr>
+ <td><label for="replace_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td>
+ <td><input type="text" id="replace_panel_searchstring" name="replace_panel_searchstring" style="width: 200px" aria-required="true" /></td>
+ </tr>
+ <tr>
+ <td><label for="replace_panel_replacestring">{#searchreplace_dlg.replacewith}</label></td>
+ <td><input type="text" id="replace_panel_replacestring" name="replace_panel_replacestring" style="width: 200px" aria-required="true" /></td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0" class="direction">
+ <tr role="group" aria-labelledby="replace_panel_dir_label">
+ <td><label id="replace_panel_dir_label">{#searchreplace_dlg.direction}</label></td>
+ <td><input id="replace_panel_backwardsu" name="replace_panel_backwards" class="radio" type="radio" /></td>
+ <td><label for="replace_panel_backwardsu">{#searchreplace_dlg.up}</label></td>
+ <td><input id="replace_panel_backwardsd" name="replace_panel_backwards" class="radio" type="radio" checked="checked" /></td>
+ <td><label for="replace_panel_backwardsd">{#searchreplace_dlg.down}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input id="replace_panel_casesensitivebox" name="replace_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
+ <td><label for="replace_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ </div>
+
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#searchreplace_dlg.findnext}" />
+ <input type="button" class="button" id="replaceBtn" name="replaceBtn" value="{#searchreplace_dlg.replace}" onclick="SearchReplaceDialog.searchNext('current');" />
+ <input type="button" class="button" id="replaceAllBtn" name="replaceAllBtn" value="{#searchreplace_dlg.replaceall}" onclick="SearchReplaceDialog.searchNext('all');" />
+ <input type="button" id="cancel" name="close" value="{#close}" onclick="tinyMCEPopup.close();" />
+ </div>
+</form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/css/content.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/css/content.css
new file mode 100644
index 00000000..24efa021
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/css/content.css
@@ -0,0 +1 @@
+.mceItemHiddenSpellWord {background:url(../img/wline.gif) repeat-x bottom left; cursor:default;}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/editor_plugin.js
new file mode 100644
index 00000000..48549c92
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/editor_plugin.js
@@ -0,0 +1 @@
+(function(){var a=tinymce.util.JSONRequest,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.SpellcheckerPlugin",{getInfo:function(){return{longname:"Spellchecker",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker",version:tinymce.majorVersion+"."+tinymce.minorVersion}},init:function(e,f){var g=this,d;g.url=f;g.editor=e;g.rpcUrl=e.getParam("spellchecker_rpc_url","{backend}");if(g.rpcUrl=="{backend}"){if(tinymce.isIE){return}g.hasSupport=true;e.onContextMenu.addToTop(function(h,i){if(g.active){return false}})}e.addCommand("mceSpellCheck",function(){if(g.rpcUrl=="{backend}"){g.editor.getBody().spellcheck=g.active=!g.active;return}if(!g.active){e.setProgressState(1);g._sendRPC("checkWords",[g.selectedLang,g._getWords()],function(h){if(h.length>0){g.active=1;g._markWords(h);e.setProgressState(0);e.nodeChanged()}else{e.setProgressState(0);if(e.getParam("spellchecker_report_no_misspellings",true)){e.windowManager.alert("spellchecker.no_mpell")}}})}else{g._done()}});if(e.settings.content_css!==false){e.contentCSS.push(f+"/css/content.css")}e.onClick.add(g._showMenu,g);e.onContextMenu.add(g._showMenu,g);e.onBeforeGetContent.add(function(){if(g.active){g._removeWords()}});e.onNodeChange.add(function(i,h){h.setActive("spellchecker",g.active)});e.onSetContent.add(function(){g._done()});e.onBeforeGetContent.add(function(){g._done()});e.onBeforeExecCommand.add(function(h,i){if(i=="mceFullScreen"){g._done()}});g.languages={};c(e.getParam("spellchecker_languages","+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv","hash"),function(i,h){if(h.indexOf("+")===0){h=h.substring(1);g.selectedLang=i}g.languages[h]=i})},createControl:function(h,d){var f=this,g,e=f.editor;if(h=="spellchecker"){if(f.rpcUrl=="{backend}"){if(f.hasSupport){g=d.createButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f})}return g}g=d.createSplitButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f});g.onRenderMenu.add(function(j,i){i.add({title:"spellchecker.langs","class":"mceMenuItemTitle"}).setDisabled(1);c(f.languages,function(n,m){var p={icon:1},l;p.onclick=function(){if(n==f.selectedLang){return}l.setSelected(1);f.selectedItem.setSelected(0);f.selectedItem=l;f.selectedLang=n};p.title=m;l=i.add(p);l.setSelected(n==f.selectedLang);if(n==f.selectedLang){f.selectedItem=l}})});return g}},_walk:function(i,g){var h=this.editor.getDoc(),e;if(h.createTreeWalker){e=h.createTreeWalker(i,NodeFilter.SHOW_TEXT,null,false);while((i=e.nextNode())!=null){g.call(this,i)}}else{tinymce.walk(i,g,"childNodes")}},_getSeparators:function(){var e="",d,f=this.editor.getParam("spellchecker_word_separator_chars",'\\s!"#$%&()*+,-./:;<=>?@[]^_{|}\u201d\u201c');for(d=0;d<f.length;d++){e+="\\"+f.charAt(d)}return e},_getWords:function(){var e=this.editor,g=[],d="",f={},h=[];this._walk(e.getBody(),function(i){if(i.nodeType==3){d+=i.nodeValue+" "}});if(e.getParam("spellchecker_word_pattern")){h=d.match("("+e.getParam("spellchecker_word_pattern")+")","gi")}else{d=d.replace(new RegExp("([0-9]|["+this._getSeparators()+"])","g")," ");d=tinymce.trim(d.replace(/(\s+)/g," "));h=d.split(" ")}c(h,function(i){if(!f[i]){g.push(i);f[i]=1}});return g},_removeWords:function(d){var e=this.editor,h=e.dom,g=e.selection,f=g.getRng(true);c(h.select("span").reverse(),function(i){if(i&&(h.hasClass(i,"mceItemHiddenSpellWord")||h.hasClass(i,"mceItemHidden"))){if(!d||h.decode(i.innerHTML)==d){h.remove(i,1)}}});g.setRng(f)},_markWords:function(l){var h=this.editor,g=h.dom,j=h.getDoc(),i=h.selection,d=i.getRng(true),e=[],k=l.join("|"),m=this._getSeparators(),f=new RegExp("(^|["+m+"])("+k+")(?=["+m+"]|$)","g");this._walk(h.getBody(),function(o){if(o.nodeType==3){e.push(o)}});c(e,function(t){var r,q,o,s,p=t.nodeValue;if(f.test(p)){p=g.encode(p);q=g.create("span",{"class":"mceItemHidden"});if(tinymce.isIE){p=p.replace(f,"$1<mcespell>$2</mcespell>");while((s=p.indexOf("<mcespell>"))!=-1){o=p.substring(0,s);if(o.length){r=j.createTextNode(g.decode(o));q.appendChild(r)}p=p.substring(s+10);s=p.indexOf("</mcespell>");o=p.substring(0,s);p=p.substring(s+11);q.appendChild(g.create("span",{"class":"mceItemHiddenSpellWord"},o))}if(p.length){r=j.createTextNode(g.decode(p));q.appendChild(r)}}else{q.innerHTML=p.replace(f,'$1<span class="mceItemHiddenSpellWord">$2</span>')}g.replace(q,t)}});i.setRng(d)},_showMenu:function(h,j){var i=this,h=i.editor,d=i._menu,l,k=h.dom,g=k.getViewPort(h.getWin()),f=j.target;j=0;if(!d){d=h.controlManager.createDropMenu("spellcheckermenu",{"class":"mceNoIcons"});i._menu=d}if(k.hasClass(f,"mceItemHiddenSpellWord")){d.removeAll();d.add({title:"spellchecker.wait","class":"mceMenuItemTitle"}).setDisabled(1);i._sendRPC("getSuggestions",[i.selectedLang,k.decode(f.innerHTML)],function(m){var e;d.removeAll();if(m.length>0){d.add({title:"spellchecker.sug","class":"mceMenuItemTitle"}).setDisabled(1);c(m,function(n){d.add({title:n,onclick:function(){k.replace(h.getDoc().createTextNode(n),f);i._checkDone()}})});d.addSeparator()}else{d.add({title:"spellchecker.no_sug","class":"mceMenuItemTitle"}).setDisabled(1)}if(h.getParam("show_ignore_words",true)){e=i.editor.getParam("spellchecker_enable_ignore_rpc","");d.add({title:"spellchecker.ignore_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});d.add({title:"spellchecker.ignore_words",onclick:function(){var n=f.innerHTML;i._removeWords(k.decode(n));i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWords",[i.selectedLang,n],function(o){h.setProgressState(0)})}}})}if(i.editor.getParam("spellchecker_enable_learn_rpc")){d.add({title:"spellchecker.learn_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();h.setProgressState(1);i._sendRPC("learnWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}})}d.update()});l=b.getPos(h.getContentAreaContainer());d.settings.offset_x=l.x;d.settings.offset_y=l.y;h.selection.select(f);l=k.getPos(f);d.showMenu(l.x,l.y+f.offsetHeight-g.y);return tinymce.dom.Event.cancel(j)}else{d.hideMenu()}},_checkDone:function(){var e=this,d=e.editor,g=d.dom,f;c(g.select("span"),function(h){if(h&&g.hasClass(h,"mceItemHiddenSpellWord")){f=true;return false}});if(!f){e._done()}},_done:function(){var d=this,e=d.active;if(d.active){d.active=0;d._removeWords();if(d._menu){d._menu.hideMenu()}if(e){d.editor.nodeChanged()}}},_sendRPC:function(e,g,d){var f=this;a.sendRPC({url:f.rpcUrl,method:e,params:g,success:d,error:function(i,h){f.editor.setProgressState(0);f.editor.windowManager.alert(i.errstr||("Error response: "+h.responseText))}})}});tinymce.PluginManager.add("spellchecker",tinymce.plugins.SpellcheckerPlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/editor_plugin_src.js
new file mode 100644
index 00000000..86fdfceb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/editor_plugin_src.js
@@ -0,0 +1,436 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ var JSONRequest = tinymce.util.JSONRequest, each = tinymce.each, DOM = tinymce.DOM;
+
+ tinymce.create('tinymce.plugins.SpellcheckerPlugin', {
+ getInfo : function() {
+ return {
+ longname : 'Spellchecker',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ init : function(ed, url) {
+ var t = this, cm;
+
+ t.url = url;
+ t.editor = ed;
+ t.rpcUrl = ed.getParam("spellchecker_rpc_url", "{backend}");
+
+ if (t.rpcUrl == '{backend}') {
+ // Sniff if the browser supports native spellchecking (Don't know of a better way)
+ if (tinymce.isIE)
+ return;
+
+ t.hasSupport = true;
+
+ // Disable the context menu when spellchecking is active
+ ed.onContextMenu.addToTop(function(ed, e) {
+ if (t.active)
+ return false;
+ });
+ }
+
+ // Register commands
+ ed.addCommand('mceSpellCheck', function() {
+ if (t.rpcUrl == '{backend}') {
+ // Enable/disable native spellchecker
+ t.editor.getBody().spellcheck = t.active = !t.active;
+ return;
+ }
+
+ if (!t.active) {
+ ed.setProgressState(1);
+ t._sendRPC('checkWords', [t.selectedLang, t._getWords()], function(r) {
+ if (r.length > 0) {
+ t.active = 1;
+ t._markWords(r);
+ ed.setProgressState(0);
+ ed.nodeChanged();
+ } else {
+ ed.setProgressState(0);
+
+ if (ed.getParam('spellchecker_report_no_misspellings', true))
+ ed.windowManager.alert('spellchecker.no_mpell');
+ }
+ });
+ } else
+ t._done();
+ });
+
+ if (ed.settings.content_css !== false)
+ ed.contentCSS.push(url + '/css/content.css');
+
+ ed.onClick.add(t._showMenu, t);
+ ed.onContextMenu.add(t._showMenu, t);
+ ed.onBeforeGetContent.add(function() {
+ if (t.active)
+ t._removeWords();
+ });
+
+ ed.onNodeChange.add(function(ed, cm) {
+ cm.setActive('spellchecker', t.active);
+ });
+
+ ed.onSetContent.add(function() {
+ t._done();
+ });
+
+ ed.onBeforeGetContent.add(function() {
+ t._done();
+ });
+
+ ed.onBeforeExecCommand.add(function(ed, cmd) {
+ if (cmd == 'mceFullScreen')
+ t._done();
+ });
+
+ // Find selected language
+ t.languages = {};
+ each(ed.getParam('spellchecker_languages', '+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv', 'hash'), function(v, k) {
+ if (k.indexOf('+') === 0) {
+ k = k.substring(1);
+ t.selectedLang = v;
+ }
+
+ t.languages[k] = v;
+ });
+ },
+
+ createControl : function(n, cm) {
+ var t = this, c, ed = t.editor;
+
+ if (n == 'spellchecker') {
+ // Use basic button if we use the native spellchecker
+ if (t.rpcUrl == '{backend}') {
+ // Create simple toggle button if we have native support
+ if (t.hasSupport)
+ c = cm.createButton(n, {title : 'spellchecker.desc', cmd : 'mceSpellCheck', scope : t});
+
+ return c;
+ }
+
+ c = cm.createSplitButton(n, {title : 'spellchecker.desc', cmd : 'mceSpellCheck', scope : t});
+
+ c.onRenderMenu.add(function(c, m) {
+ m.add({title : 'spellchecker.langs', 'class' : 'mceMenuItemTitle'}).setDisabled(1);
+ each(t.languages, function(v, k) {
+ var o = {icon : 1}, mi;
+
+ o.onclick = function() {
+ if (v == t.selectedLang) {
+ return;
+ }
+ mi.setSelected(1);
+ t.selectedItem.setSelected(0);
+ t.selectedItem = mi;
+ t.selectedLang = v;
+ };
+
+ o.title = k;
+ mi = m.add(o);
+ mi.setSelected(v == t.selectedLang);
+
+ if (v == t.selectedLang)
+ t.selectedItem = mi;
+ })
+ });
+
+ return c;
+ }
+ },
+
+ // Internal functions
+
+ _walk : function(n, f) {
+ var d = this.editor.getDoc(), w;
+
+ if (d.createTreeWalker) {
+ w = d.createTreeWalker(n, NodeFilter.SHOW_TEXT, null, false);
+
+ while ((n = w.nextNode()) != null)
+ f.call(this, n);
+ } else
+ tinymce.walk(n, f, 'childNodes');
+ },
+
+ _getSeparators : function() {
+ var re = '', i, str = this.editor.getParam('spellchecker_word_separator_chars', '\\s!"#$%&()*+,-./:;<=>?@[\]^_{|}\u201d\u201c');
+
+ // Build word separator regexp
+ for (i=0; i<str.length; i++)
+ re += '\\' + str.charAt(i);
+
+ return re;
+ },
+
+ _getWords : function() {
+ var ed = this.editor, wl = [], tx = '', lo = {}, rawWords = [];
+
+ // Get area text
+ this._walk(ed.getBody(), function(n) {
+ if (n.nodeType == 3)
+ tx += n.nodeValue + ' ';
+ });
+
+ // split the text up into individual words
+ if (ed.getParam('spellchecker_word_pattern')) {
+ // look for words that match the pattern
+ rawWords = tx.match('(' + ed.getParam('spellchecker_word_pattern') + ')', 'gi');
+ } else {
+ // Split words by separator
+ tx = tx.replace(new RegExp('([0-9]|[' + this._getSeparators() + '])', 'g'), ' ');
+ tx = tinymce.trim(tx.replace(/(\s+)/g, ' '));
+ rawWords = tx.split(' ');
+ }
+
+ // Build word array and remove duplicates
+ each(rawWords, function(v) {
+ if (!lo[v]) {
+ wl.push(v);
+ lo[v] = 1;
+ }
+ });
+
+ return wl;
+ },
+
+ _removeWords : function(w) {
+ var ed = this.editor, dom = ed.dom, se = ed.selection, r = se.getRng(true);
+
+ each(dom.select('span').reverse(), function(n) {
+ if (n && (dom.hasClass(n, 'mceItemHiddenSpellWord') || dom.hasClass(n, 'mceItemHidden'))) {
+ if (!w || dom.decode(n.innerHTML) == w)
+ dom.remove(n, 1);
+ }
+ });
+
+ se.setRng(r);
+ },
+
+ _markWords : function(wl) {
+ var ed = this.editor, dom = ed.dom, doc = ed.getDoc(), se = ed.selection, r = se.getRng(true), nl = [],
+ w = wl.join('|'), re = this._getSeparators(), rx = new RegExp('(^|[' + re + '])(' + w + ')(?=[' + re + ']|$)', 'g');
+
+ // Collect all text nodes
+ this._walk(ed.getBody(), function(n) {
+ if (n.nodeType == 3) {
+ nl.push(n);
+ }
+ });
+
+ // Wrap incorrect words in spans
+ each(nl, function(n) {
+ var node, elem, txt, pos, v = n.nodeValue;
+
+ if (rx.test(v)) {
+ // Encode the content
+ v = dom.encode(v);
+ // Create container element
+ elem = dom.create('span', {'class' : 'mceItemHidden'});
+
+ // Following code fixes IE issues by creating text nodes
+ // using DOM methods instead of innerHTML.
+ // Bug #3124: <PRE> elements content is broken after spellchecking.
+ // Bug #1408: Preceding whitespace characters are removed
+ // @TODO: I'm not sure that both are still issues on IE9.
+ if (tinymce.isIE) {
+ // Enclose mispelled words with temporal tag
+ v = v.replace(rx, '$1<mcespell>$2</mcespell>');
+ // Loop over the content finding mispelled words
+ while ((pos = v.indexOf('<mcespell>')) != -1) {
+ // Add text node for the content before the word
+ txt = v.substring(0, pos);
+ if (txt.length) {
+ node = doc.createTextNode(dom.decode(txt));
+ elem.appendChild(node);
+ }
+ v = v.substring(pos+10);
+ pos = v.indexOf('</mcespell>');
+ txt = v.substring(0, pos);
+ v = v.substring(pos+11);
+ // Add span element for the word
+ elem.appendChild(dom.create('span', {'class' : 'mceItemHiddenSpellWord'}, txt));
+ }
+ // Add text node for the rest of the content
+ if (v.length) {
+ node = doc.createTextNode(dom.decode(v));
+ elem.appendChild(node);
+ }
+ } else {
+ // Other browsers preserve whitespace characters on innerHTML usage
+ elem.innerHTML = v.replace(rx, '$1<span class="mceItemHiddenSpellWord">$2</span>');
+ }
+
+ // Finally, replace the node with the container
+ dom.replace(elem, n);
+ }
+ });
+
+ se.setRng(r);
+ },
+
+ _showMenu : function(ed, e) {
+ var t = this, ed = t.editor, m = t._menu, p1, dom = ed.dom, vp = dom.getViewPort(ed.getWin()), wordSpan = e.target;
+
+ e = 0; // Fixes IE memory leak
+
+ if (!m) {
+ m = ed.controlManager.createDropMenu('spellcheckermenu', {'class' : 'mceNoIcons'});
+ t._menu = m;
+ }
+
+ if (dom.hasClass(wordSpan, 'mceItemHiddenSpellWord')) {
+ m.removeAll();
+ m.add({title : 'spellchecker.wait', 'class' : 'mceMenuItemTitle'}).setDisabled(1);
+
+ t._sendRPC('getSuggestions', [t.selectedLang, dom.decode(wordSpan.innerHTML)], function(r) {
+ var ignoreRpc;
+
+ m.removeAll();
+
+ if (r.length > 0) {
+ m.add({title : 'spellchecker.sug', 'class' : 'mceMenuItemTitle'}).setDisabled(1);
+ each(r, function(v) {
+ m.add({title : v, onclick : function() {
+ dom.replace(ed.getDoc().createTextNode(v), wordSpan);
+ t._checkDone();
+ }});
+ });
+
+ m.addSeparator();
+ } else
+ m.add({title : 'spellchecker.no_sug', 'class' : 'mceMenuItemTitle'}).setDisabled(1);
+
+ if (ed.getParam('show_ignore_words', true)) {
+ ignoreRpc = t.editor.getParam("spellchecker_enable_ignore_rpc", '');
+ m.add({
+ title : 'spellchecker.ignore_word',
+ onclick : function() {
+ var word = wordSpan.innerHTML;
+
+ dom.remove(wordSpan, 1);
+ t._checkDone();
+
+ // tell the server if we need to
+ if (ignoreRpc) {
+ ed.setProgressState(1);
+ t._sendRPC('ignoreWord', [t.selectedLang, word], function(r) {
+ ed.setProgressState(0);
+ });
+ }
+ }
+ });
+
+ m.add({
+ title : 'spellchecker.ignore_words',
+ onclick : function() {
+ var word = wordSpan.innerHTML;
+
+ t._removeWords(dom.decode(word));
+ t._checkDone();
+
+ // tell the server if we need to
+ if (ignoreRpc) {
+ ed.setProgressState(1);
+ t._sendRPC('ignoreWords', [t.selectedLang, word], function(r) {
+ ed.setProgressState(0);
+ });
+ }
+ }
+ });
+ }
+
+ if (t.editor.getParam("spellchecker_enable_learn_rpc")) {
+ m.add({
+ title : 'spellchecker.learn_word',
+ onclick : function() {
+ var word = wordSpan.innerHTML;
+
+ dom.remove(wordSpan, 1);
+ t._checkDone();
+
+ ed.setProgressState(1);
+ t._sendRPC('learnWord', [t.selectedLang, word], function(r) {
+ ed.setProgressState(0);
+ });
+ }
+ });
+ }
+
+ m.update();
+ });
+
+ p1 = DOM.getPos(ed.getContentAreaContainer());
+ m.settings.offset_x = p1.x;
+ m.settings.offset_y = p1.y;
+
+ ed.selection.select(wordSpan);
+ p1 = dom.getPos(wordSpan);
+ m.showMenu(p1.x, p1.y + wordSpan.offsetHeight - vp.y);
+
+ return tinymce.dom.Event.cancel(e);
+ } else
+ m.hideMenu();
+ },
+
+ _checkDone : function() {
+ var t = this, ed = t.editor, dom = ed.dom, o;
+
+ each(dom.select('span'), function(n) {
+ if (n && dom.hasClass(n, 'mceItemHiddenSpellWord')) {
+ o = true;
+ return false;
+ }
+ });
+
+ if (!o)
+ t._done();
+ },
+
+ _done : function() {
+ var t = this, la = t.active;
+
+ if (t.active) {
+ t.active = 0;
+ t._removeWords();
+
+ if (t._menu)
+ t._menu.hideMenu();
+
+ if (la)
+ t.editor.nodeChanged();
+ }
+ },
+
+ _sendRPC : function(m, p, cb) {
+ var t = this;
+
+ JSONRequest.sendRPC({
+ url : t.rpcUrl,
+ method : m,
+ params : p,
+ success : cb,
+ error : function(e, x) {
+ t.editor.setProgressState(0);
+ t.editor.windowManager.alert(e.errstr || ('Error response: ' + x.responseText));
+ }
+ });
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('spellchecker', tinymce.plugins.SpellcheckerPlugin);
+})();
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/img/wline.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/img/wline.gif
new file mode 100644
index 00000000..7d0a4dbc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/img/wline.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/css/props.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/css/props.css
new file mode 100755
index 00000000..3b8f0ee7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/css/props.css
@@ -0,0 +1,14 @@
+#text_font {width:250px;}
+#text_size {width:70px;}
+.mceAddSelectValue {background:#DDD;}
+select, #block_text_indent, #box_width, #box_height, #box_padding_top, #box_padding_right, #box_padding_bottom, #box_padding_left {width:70px;}
+#box_margin_top, #box_margin_right, #box_margin_bottom, #box_margin_left, #positioning_width, #positioning_height, #positioning_zindex {width:70px;}
+#positioning_placement_top, #positioning_placement_right, #positioning_placement_bottom, #positioning_placement_left {width:70px;}
+#positioning_clip_top, #positioning_clip_right, #positioning_clip_bottom, #positioning_clip_left {width:70px;}
+.panel_toggle_insert_span {padding-top:10px;}
+.panel_wrapper div.current {padding-top:10px;height:230px;}
+.delim {border-left:1px solid gray;}
+.tdelim {border-bottom:1px solid gray;}
+#block_display {width:145px;}
+#list_type {width:115px;}
+.disabled {background:#EEE;}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/editor_plugin.js
new file mode 100755
index 00000000..dda9f928
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.StylePlugin",{init:function(a,b){a.addCommand("mceStyleProps",function(){var c=false;var f=a.selection.getSelectedBlocks();var d=[];if(f.length===1){d.push(a.selection.getNode().style.cssText)}else{tinymce.each(f,function(g){d.push(a.dom.getAttrib(g,"style"))});c=true}a.windowManager.open({file:b+"/props.htm",width:480+parseInt(a.getLang("style.delta_width",0)),height:340+parseInt(a.getLang("style.delta_height",0)),inline:1},{applyStyleToBlocks:c,plugin_url:b,styles:d})});a.addCommand("mceSetElementStyle",function(d,c){if(e=a.selection.getNode()){a.dom.setAttrib(e,"style",c);a.execCommand("mceRepaint")}});a.onNodeChange.add(function(d,c,f){c.setDisabled("styleprops",f.nodeName==="BODY")});a.addButton("styleprops",{title:"style.desc",cmd:"mceStyleProps"})},getInfo:function(){return{longname:"Style",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/style",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("style",tinymce.plugins.StylePlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/editor_plugin_src.js
new file mode 100755
index 00000000..eaa7c771
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/editor_plugin_src.js
@@ -0,0 +1,71 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.StylePlugin', {
+ init : function(ed, url) {
+ // Register commands
+ ed.addCommand('mceStyleProps', function() {
+
+ var applyStyleToBlocks = false;
+ var blocks = ed.selection.getSelectedBlocks();
+ var styles = [];
+
+ if (blocks.length === 1) {
+ styles.push(ed.selection.getNode().style.cssText);
+ }
+ else {
+ tinymce.each(blocks, function(block) {
+ styles.push(ed.dom.getAttrib(block, 'style'));
+ });
+ applyStyleToBlocks = true;
+ }
+
+ ed.windowManager.open({
+ file : url + '/props.htm',
+ width : 480 + parseInt(ed.getLang('style.delta_width', 0)),
+ height : 340 + parseInt(ed.getLang('style.delta_height', 0)),
+ inline : 1
+ }, {
+ applyStyleToBlocks : applyStyleToBlocks,
+ plugin_url : url,
+ styles : styles
+ });
+ });
+
+ ed.addCommand('mceSetElementStyle', function(ui, v) {
+ if (e = ed.selection.getNode()) {
+ ed.dom.setAttrib(e, 'style', v);
+ ed.execCommand('mceRepaint');
+ }
+ });
+
+ ed.onNodeChange.add(function(ed, cm, n) {
+ cm.setDisabled('styleprops', n.nodeName === 'BODY');
+ });
+
+ // Register buttons
+ ed.addButton('styleprops', {title : 'style.desc', cmd : 'mceStyleProps'});
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Style',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/style',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('style', tinymce.plugins.StylePlugin);
+})();
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/js/props.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/js/props.js
new file mode 100644
index 00000000..0a8a8ec3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/js/props.js
@@ -0,0 +1,709 @@
+tinyMCEPopup.requireLangPack();
+
+var defaultFonts = "" +
+ "Arial, Helvetica, sans-serif=Arial, Helvetica, sans-serif;" +
+ "Times New Roman, Times, serif=Times New Roman, Times, serif;" +
+ "Courier New, Courier, mono=Courier New, Courier, mono;" +
+ "Times New Roman, Times, serif=Times New Roman, Times, serif;" +
+ "Georgia, Times New Roman, Times, serif=Georgia, Times New Roman, Times, serif;" +
+ "Verdana, Arial, Helvetica, sans-serif=Verdana, Arial, Helvetica, sans-serif;" +
+ "Geneva, Arial, Helvetica, sans-serif=Geneva, Arial, Helvetica, sans-serif";
+
+var defaultSizes = "9;10;12;14;16;18;24;xx-small;x-small;small;medium;large;x-large;xx-large;smaller;larger";
+var defaultMeasurement = "+pixels=px;points=pt;inches=in;centimetres=cm;millimetres=mm;picas=pc;ems=em;exs=ex;%";
+var defaultSpacingMeasurement = "pixels=px;points=pt;inches=in;centimetres=cm;millimetres=mm;picas=pc;+ems=em;exs=ex;%";
+var defaultIndentMeasurement = "pixels=px;+points=pt;inches=in;centimetres=cm;millimetres=mm;picas=pc;ems=em;exs=ex;%";
+var defaultWeight = "normal;bold;bolder;lighter;100;200;300;400;500;600;700;800;900";
+var defaultTextStyle = "normal;italic;oblique";
+var defaultVariant = "normal;small-caps";
+var defaultLineHeight = "normal";
+var defaultAttachment = "fixed;scroll";
+var defaultRepeat = "no-repeat;repeat;repeat-x;repeat-y";
+var defaultPosH = "left;center;right";
+var defaultPosV = "top;center;bottom";
+var defaultVAlign = "baseline;sub;super;top;text-top;middle;bottom;text-bottom";
+var defaultDisplay = "inline;block;list-item;run-in;compact;marker;table;inline-table;table-row-group;table-header-group;table-footer-group;table-row;table-column-group;table-column;table-cell;table-caption;none";
+var defaultBorderStyle = "none;solid;dashed;dotted;double;groove;ridge;inset;outset";
+var defaultBorderWidth = "thin;medium;thick";
+var defaultListType = "disc;circle;square;decimal;lower-roman;upper-roman;lower-alpha;upper-alpha;none";
+
+function aggregateStyles(allStyles) {
+ var mergedStyles = {};
+
+ tinymce.each(allStyles, function(style) {
+ if (style !== '') {
+ var parsedStyles = tinyMCEPopup.editor.dom.parseStyle(style);
+ for (var name in parsedStyles) {
+ if (parsedStyles.hasOwnProperty(name)) {
+ if (mergedStyles[name] === undefined) {
+ mergedStyles[name] = parsedStyles[name];
+ }
+ else if (name === 'text-decoration') {
+ if (mergedStyles[name].indexOf(parsedStyles[name]) === -1) {
+ mergedStyles[name] = mergedStyles[name] +' '+ parsedStyles[name];
+ }
+ }
+ }
+ }
+ }
+ });
+
+ return mergedStyles;
+}
+
+var applyActionIsInsert;
+var existingStyles;
+
+function init(ed) {
+ var ce = document.getElementById('container'), h;
+
+ existingStyles = aggregateStyles(tinyMCEPopup.getWindowArg('styles'));
+ ce.style.cssText = tinyMCEPopup.editor.dom.serializeStyle(existingStyles);
+
+ applyActionIsInsert = ed.getParam("edit_css_style_insert_span", false);
+ document.getElementById('toggle_insert_span').checked = applyActionIsInsert;
+
+ h = getBrowserHTML('background_image_browser','background_image','image','advimage');
+ document.getElementById("background_image_browser").innerHTML = h;
+
+ document.getElementById('text_color_pickcontainer').innerHTML = getColorPickerHTML('text_color_pick','text_color');
+ document.getElementById('background_color_pickcontainer').innerHTML = getColorPickerHTML('background_color_pick','background_color');
+ document.getElementById('border_color_top_pickcontainer').innerHTML = getColorPickerHTML('border_color_top_pick','border_color_top');
+ document.getElementById('border_color_right_pickcontainer').innerHTML = getColorPickerHTML('border_color_right_pick','border_color_right');
+ document.getElementById('border_color_bottom_pickcontainer').innerHTML = getColorPickerHTML('border_color_bottom_pick','border_color_bottom');
+ document.getElementById('border_color_left_pickcontainer').innerHTML = getColorPickerHTML('border_color_left_pick','border_color_left');
+
+ fillSelect(0, 'text_font', 'style_font', defaultFonts, ';', true);
+ fillSelect(0, 'text_size', 'style_font_size', defaultSizes, ';', true);
+ fillSelect(0, 'text_size_measurement', 'style_font_size_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'text_case', 'style_text_case', "capitalize;uppercase;lowercase", ';', true);
+ fillSelect(0, 'text_weight', 'style_font_weight', defaultWeight, ';', true);
+ fillSelect(0, 'text_style', 'style_font_style', defaultTextStyle, ';', true);
+ fillSelect(0, 'text_variant', 'style_font_variant', defaultVariant, ';', true);
+ fillSelect(0, 'text_lineheight', 'style_font_line_height', defaultLineHeight, ';', true);
+ fillSelect(0, 'text_lineheight_measurement', 'style_font_line_height_measurement', defaultMeasurement, ';', true);
+
+ fillSelect(0, 'background_attachment', 'style_background_attachment', defaultAttachment, ';', true);
+ fillSelect(0, 'background_repeat', 'style_background_repeat', defaultRepeat, ';', true);
+
+ fillSelect(0, 'background_hpos_measurement', 'style_background_hpos_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'background_vpos_measurement', 'style_background_vpos_measurement', defaultMeasurement, ';', true);
+
+ fillSelect(0, 'background_hpos', 'style_background_hpos', defaultPosH, ';', true);
+ fillSelect(0, 'background_vpos', 'style_background_vpos', defaultPosV, ';', true);
+
+ fillSelect(0, 'block_wordspacing', 'style_wordspacing', 'normal', ';', true);
+ fillSelect(0, 'block_wordspacing_measurement', 'style_wordspacing_measurement', defaultSpacingMeasurement, ';', true);
+ fillSelect(0, 'block_letterspacing', 'style_letterspacing', 'normal', ';', true);
+ fillSelect(0, 'block_letterspacing_measurement', 'style_letterspacing_measurement', defaultSpacingMeasurement, ';', true);
+ fillSelect(0, 'block_vertical_alignment', 'style_vertical_alignment', defaultVAlign, ';', true);
+ fillSelect(0, 'block_text_align', 'style_text_align', "left;right;center;justify", ';', true);
+ fillSelect(0, 'block_whitespace', 'style_whitespace', "normal;pre;nowrap", ';', true);
+ fillSelect(0, 'block_display', 'style_display', defaultDisplay, ';', true);
+ fillSelect(0, 'block_text_indent_measurement', 'style_text_indent_measurement', defaultIndentMeasurement, ';', true);
+
+ fillSelect(0, 'box_width_measurement', 'style_box_width_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'box_height_measurement', 'style_box_height_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'box_float', 'style_float', 'left;right;none', ';', true);
+ fillSelect(0, 'box_clear', 'style_clear', 'left;right;both;none', ';', true);
+ fillSelect(0, 'box_padding_left_measurement', 'style_padding_left_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'box_padding_top_measurement', 'style_padding_top_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'box_padding_bottom_measurement', 'style_padding_bottom_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'box_padding_right_measurement', 'style_padding_right_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'box_margin_left_measurement', 'style_margin_left_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'box_margin_top_measurement', 'style_margin_top_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'box_margin_bottom_measurement', 'style_margin_bottom_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'box_margin_right_measurement', 'style_margin_right_measurement', defaultMeasurement, ';', true);
+
+ fillSelect(0, 'border_style_top', 'style_border_style_top', defaultBorderStyle, ';', true);
+ fillSelect(0, 'border_style_right', 'style_border_style_right', defaultBorderStyle, ';', true);
+ fillSelect(0, 'border_style_bottom', 'style_border_style_bottom', defaultBorderStyle, ';', true);
+ fillSelect(0, 'border_style_left', 'style_border_style_left', defaultBorderStyle, ';', true);
+
+ fillSelect(0, 'border_width_top', 'style_border_width_top', defaultBorderWidth, ';', true);
+ fillSelect(0, 'border_width_right', 'style_border_width_right', defaultBorderWidth, ';', true);
+ fillSelect(0, 'border_width_bottom', 'style_border_width_bottom', defaultBorderWidth, ';', true);
+ fillSelect(0, 'border_width_left', 'style_border_width_left', defaultBorderWidth, ';', true);
+
+ fillSelect(0, 'border_width_top_measurement', 'style_border_width_top_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'border_width_right_measurement', 'style_border_width_right_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'border_width_bottom_measurement', 'style_border_width_bottom_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'border_width_left_measurement', 'style_border_width_left_measurement', defaultMeasurement, ';', true);
+
+ fillSelect(0, 'list_type', 'style_list_type', defaultListType, ';', true);
+ fillSelect(0, 'list_position', 'style_list_position', "inside;outside", ';', true);
+
+ fillSelect(0, 'positioning_type', 'style_positioning_type', "absolute;relative;static", ';', true);
+ fillSelect(0, 'positioning_visibility', 'style_positioning_visibility', "inherit;visible;hidden", ';', true);
+
+ fillSelect(0, 'positioning_width_measurement', 'style_positioning_width_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'positioning_height_measurement', 'style_positioning_height_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'positioning_overflow', 'style_positioning_overflow', "visible;hidden;scroll;auto", ';', true);
+
+ fillSelect(0, 'positioning_placement_top_measurement', 'style_positioning_placement_top_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'positioning_placement_right_measurement', 'style_positioning_placement_right_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'positioning_placement_bottom_measurement', 'style_positioning_placement_bottom_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'positioning_placement_left_measurement', 'style_positioning_placement_left_measurement', defaultMeasurement, ';', true);
+
+ fillSelect(0, 'positioning_clip_top_measurement', 'style_positioning_clip_top_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'positioning_clip_right_measurement', 'style_positioning_clip_right_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'positioning_clip_bottom_measurement', 'style_positioning_clip_bottom_measurement', defaultMeasurement, ';', true);
+ fillSelect(0, 'positioning_clip_left_measurement', 'style_positioning_clip_left_measurement', defaultMeasurement, ';', true);
+
+ TinyMCE_EditableSelects.init();
+ setupFormData();
+ showDisabledControls();
+}
+
+function setupFormData() {
+ var ce = document.getElementById('container'), f = document.forms[0], s, b, i;
+
+ // Setup text fields
+
+ selectByValue(f, 'text_font', ce.style.fontFamily, true, true);
+ selectByValue(f, 'text_size', getNum(ce.style.fontSize), true, true);
+ selectByValue(f, 'text_size_measurement', getMeasurement(ce.style.fontSize));
+ selectByValue(f, 'text_weight', ce.style.fontWeight, true, true);
+ selectByValue(f, 'text_style', ce.style.fontStyle, true, true);
+ selectByValue(f, 'text_lineheight', getNum(ce.style.lineHeight), true, true);
+ selectByValue(f, 'text_lineheight_measurement', getMeasurement(ce.style.lineHeight));
+ selectByValue(f, 'text_case', ce.style.textTransform, true, true);
+ selectByValue(f, 'text_variant', ce.style.fontVariant, true, true);
+ f.text_color.value = tinyMCEPopup.editor.dom.toHex(ce.style.color);
+ updateColor('text_color_pick', 'text_color');
+ f.text_underline.checked = inStr(ce.style.textDecoration, 'underline');
+ f.text_overline.checked = inStr(ce.style.textDecoration, 'overline');
+ f.text_linethrough.checked = inStr(ce.style.textDecoration, 'line-through');
+ f.text_blink.checked = inStr(ce.style.textDecoration, 'blink');
+ f.text_none.checked = inStr(ce.style.textDecoration, 'none');
+ updateTextDecorations();
+
+ // Setup background fields
+
+ f.background_color.value = tinyMCEPopup.editor.dom.toHex(ce.style.backgroundColor);
+ updateColor('background_color_pick', 'background_color');
+ f.background_image.value = ce.style.backgroundImage.replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");
+ selectByValue(f, 'background_repeat', ce.style.backgroundRepeat, true, true);
+ selectByValue(f, 'background_attachment', ce.style.backgroundAttachment, true, true);
+ selectByValue(f, 'background_hpos', getNum(getVal(ce.style.backgroundPosition, 0)), true, true);
+ selectByValue(f, 'background_hpos_measurement', getMeasurement(getVal(ce.style.backgroundPosition, 0)));
+ selectByValue(f, 'background_vpos', getNum(getVal(ce.style.backgroundPosition, 1)), true, true);
+ selectByValue(f, 'background_vpos_measurement', getMeasurement(getVal(ce.style.backgroundPosition, 1)));
+
+ // Setup block fields
+
+ selectByValue(f, 'block_wordspacing', getNum(ce.style.wordSpacing), true, true);
+ selectByValue(f, 'block_wordspacing_measurement', getMeasurement(ce.style.wordSpacing));
+ selectByValue(f, 'block_letterspacing', getNum(ce.style.letterSpacing), true, true);
+ selectByValue(f, 'block_letterspacing_measurement', getMeasurement(ce.style.letterSpacing));
+ selectByValue(f, 'block_vertical_alignment', ce.style.verticalAlign, true, true);
+ selectByValue(f, 'block_text_align', ce.style.textAlign, true, true);
+ f.block_text_indent.value = getNum(ce.style.textIndent);
+ selectByValue(f, 'block_text_indent_measurement', getMeasurement(ce.style.textIndent));
+ selectByValue(f, 'block_whitespace', ce.style.whiteSpace, true, true);
+ selectByValue(f, 'block_display', ce.style.display, true, true);
+
+ // Setup box fields
+
+ f.box_width.value = getNum(ce.style.width);
+ selectByValue(f, 'box_width_measurement', getMeasurement(ce.style.width));
+
+ f.box_height.value = getNum(ce.style.height);
+ selectByValue(f, 'box_height_measurement', getMeasurement(ce.style.height));
+ selectByValue(f, 'box_float', ce.style.cssFloat || ce.style.styleFloat, true, true);
+
+ selectByValue(f, 'box_clear', ce.style.clear, true, true);
+
+ setupBox(f, ce, 'box_padding', 'padding', '');
+ setupBox(f, ce, 'box_margin', 'margin', '');
+
+ // Setup border fields
+
+ setupBox(f, ce, 'border_style', 'border', 'Style');
+ setupBox(f, ce, 'border_width', 'border', 'Width');
+ setupBox(f, ce, 'border_color', 'border', 'Color');
+
+ updateColor('border_color_top_pick', 'border_color_top');
+ updateColor('border_color_right_pick', 'border_color_right');
+ updateColor('border_color_bottom_pick', 'border_color_bottom');
+ updateColor('border_color_left_pick', 'border_color_left');
+
+ f.elements.border_color_top.value = tinyMCEPopup.editor.dom.toHex(f.elements.border_color_top.value);
+ f.elements.border_color_right.value = tinyMCEPopup.editor.dom.toHex(f.elements.border_color_right.value);
+ f.elements.border_color_bottom.value = tinyMCEPopup.editor.dom.toHex(f.elements.border_color_bottom.value);
+ f.elements.border_color_left.value = tinyMCEPopup.editor.dom.toHex(f.elements.border_color_left.value);
+
+ // Setup list fields
+
+ selectByValue(f, 'list_type', ce.style.listStyleType, true, true);
+ selectByValue(f, 'list_position', ce.style.listStylePosition, true, true);
+ f.list_bullet_image.value = ce.style.listStyleImage.replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");
+
+ // Setup box fields
+
+ selectByValue(f, 'positioning_type', ce.style.position, true, true);
+ selectByValue(f, 'positioning_visibility', ce.style.visibility, true, true);
+ selectByValue(f, 'positioning_overflow', ce.style.overflow, true, true);
+ f.positioning_zindex.value = ce.style.zIndex ? ce.style.zIndex : "";
+
+ f.positioning_width.value = getNum(ce.style.width);
+ selectByValue(f, 'positioning_width_measurement', getMeasurement(ce.style.width));
+
+ f.positioning_height.value = getNum(ce.style.height);
+ selectByValue(f, 'positioning_height_measurement', getMeasurement(ce.style.height));
+
+ setupBox(f, ce, 'positioning_placement', '', '', ['top', 'right', 'bottom', 'left']);
+
+ s = ce.style.clip.replace(new RegExp("rect\\('?([^']*)'?\\)", 'gi'), "$1");
+ s = s.replace(/,/g, ' ');
+
+ if (!hasEqualValues([getVal(s, 0), getVal(s, 1), getVal(s, 2), getVal(s, 3)])) {
+ f.positioning_clip_top.value = getNum(getVal(s, 0));
+ selectByValue(f, 'positioning_clip_top_measurement', getMeasurement(getVal(s, 0)));
+ f.positioning_clip_right.value = getNum(getVal(s, 1));
+ selectByValue(f, 'positioning_clip_right_measurement', getMeasurement(getVal(s, 1)));
+ f.positioning_clip_bottom.value = getNum(getVal(s, 2));
+ selectByValue(f, 'positioning_clip_bottom_measurement', getMeasurement(getVal(s, 2)));
+ f.positioning_clip_left.value = getNum(getVal(s, 3));
+ selectByValue(f, 'positioning_clip_left_measurement', getMeasurement(getVal(s, 3)));
+ } else {
+ f.positioning_clip_top.value = getNum(getVal(s, 0));
+ selectByValue(f, 'positioning_clip_top_measurement', getMeasurement(getVal(s, 0)));
+ f.positioning_clip_right.value = f.positioning_clip_bottom.value = f.positioning_clip_left.value;
+ }
+
+// setupBox(f, ce, '', 'border', 'Color');
+}
+
+function getMeasurement(s) {
+ return s.replace(/^([0-9.]+)(.*)$/, "$2");
+}
+
+function getNum(s) {
+ if (new RegExp('^(?:[0-9.]+)(?:[a-z%]+)$', 'gi').test(s))
+ return s.replace(/[^0-9.]/g, '');
+
+ return s;
+}
+
+function inStr(s, n) {
+ return new RegExp(n, 'gi').test(s);
+}
+
+function getVal(s, i) {
+ var a = s.split(' ');
+
+ if (a.length > 1)
+ return a[i];
+
+ return "";
+}
+
+function setValue(f, n, v) {
+ if (f.elements[n].type == "text")
+ f.elements[n].value = v;
+ else
+ selectByValue(f, n, v, true, true);
+}
+
+function setupBox(f, ce, fp, pr, sf, b) {
+ if (typeof(b) == "undefined")
+ b = ['Top', 'Right', 'Bottom', 'Left'];
+
+ if (isSame(ce, pr, sf, b)) {
+ f.elements[fp + "_same"].checked = true;
+
+ setValue(f, fp + "_top", getNum(ce.style[pr + b[0] + sf]));
+ f.elements[fp + "_top"].disabled = false;
+
+ f.elements[fp + "_right"].value = "";
+ f.elements[fp + "_right"].disabled = true;
+ f.elements[fp + "_bottom"].value = "";
+ f.elements[fp + "_bottom"].disabled = true;
+ f.elements[fp + "_left"].value = "";
+ f.elements[fp + "_left"].disabled = true;
+
+ if (f.elements[fp + "_top_measurement"]) {
+ selectByValue(f, fp + '_top_measurement', getMeasurement(ce.style[pr + b[0] + sf]));
+ f.elements[fp + "_left_measurement"].disabled = true;
+ f.elements[fp + "_bottom_measurement"].disabled = true;
+ f.elements[fp + "_right_measurement"].disabled = true;
+ }
+ } else {
+ f.elements[fp + "_same"].checked = false;
+
+ setValue(f, fp + "_top", getNum(ce.style[pr + b[0] + sf]));
+ f.elements[fp + "_top"].disabled = false;
+
+ setValue(f, fp + "_right", getNum(ce.style[pr + b[1] + sf]));
+ f.elements[fp + "_right"].disabled = false;
+
+ setValue(f, fp + "_bottom", getNum(ce.style[pr + b[2] + sf]));
+ f.elements[fp + "_bottom"].disabled = false;
+
+ setValue(f, fp + "_left", getNum(ce.style[pr + b[3] + sf]));
+ f.elements[fp + "_left"].disabled = false;
+
+ if (f.elements[fp + "_top_measurement"]) {
+ selectByValue(f, fp + '_top_measurement', getMeasurement(ce.style[pr + b[0] + sf]));
+ selectByValue(f, fp + '_right_measurement', getMeasurement(ce.style[pr + b[1] + sf]));
+ selectByValue(f, fp + '_bottom_measurement', getMeasurement(ce.style[pr + b[2] + sf]));
+ selectByValue(f, fp + '_left_measurement', getMeasurement(ce.style[pr + b[3] + sf]));
+ f.elements[fp + "_left_measurement"].disabled = false;
+ f.elements[fp + "_bottom_measurement"].disabled = false;
+ f.elements[fp + "_right_measurement"].disabled = false;
+ }
+ }
+}
+
+function isSame(e, pr, sf, b) {
+ var a = [], i, x;
+
+ if (typeof(b) == "undefined")
+ b = ['Top', 'Right', 'Bottom', 'Left'];
+
+ if (typeof(sf) == "undefined" || sf == null)
+ sf = "";
+
+ a[0] = e.style[pr + b[0] + sf];
+ a[1] = e.style[pr + b[1] + sf];
+ a[2] = e.style[pr + b[2] + sf];
+ a[3] = e.style[pr + b[3] + sf];
+
+ for (i=0; i<a.length; i++) {
+ if (a[i] == null)
+ return false;
+
+ for (x=0; x<a.length; x++) {
+ if (a[x] != a[i])
+ return false;
+ }
+ }
+
+ return true;
+};
+
+function hasEqualValues(a) {
+ var i, x;
+
+ for (i=0; i<a.length; i++) {
+ if (a[i] == null)
+ return false;
+
+ for (x=0; x<a.length; x++) {
+ if (a[x] != a[i])
+ return false;
+ }
+ }
+
+ return true;
+}
+
+function toggleApplyAction() {
+ applyActionIsInsert = ! applyActionIsInsert;
+}
+
+function applyAction() {
+ var ce = document.getElementById('container'), ed = tinyMCEPopup.editor;
+
+ generateCSS();
+
+ tinyMCEPopup.restoreSelection();
+
+ var newStyles = tinyMCEPopup.editor.dom.parseStyle(ce.style.cssText);
+
+ if (applyActionIsInsert) {
+ ed.formatter.register('plugin_style', {
+ inline: 'span', styles: existingStyles
+ });
+ ed.formatter.remove('plugin_style');
+
+ ed.formatter.register('plugin_style', {
+ inline: 'span', styles: newStyles
+ });
+ ed.formatter.apply('plugin_style');
+ } else {
+ var nodes;
+
+ if (tinyMCEPopup.getWindowArg('applyStyleToBlocks')) {
+ nodes = ed.selection.getSelectedBlocks();
+ }
+ else {
+ nodes = ed.selection.getNode();
+ }
+
+ ed.dom.setAttrib(nodes, 'style', tinyMCEPopup.editor.dom.serializeStyle(newStyles));
+ }
+}
+
+function updateAction() {
+ applyAction();
+ tinyMCEPopup.close();
+}
+
+function generateCSS() {
+ var ce = document.getElementById('container'), f = document.forms[0], num = new RegExp('[0-9]+', 'g'), s, t;
+
+ ce.style.cssText = "";
+
+ // Build text styles
+ ce.style.fontFamily = f.text_font.value;
+ ce.style.fontSize = f.text_size.value + (isNum(f.text_size.value) ? (f.text_size_measurement.value || 'px') : "");
+ ce.style.fontStyle = f.text_style.value;
+ ce.style.lineHeight = f.text_lineheight.value + (isNum(f.text_lineheight.value) ? f.text_lineheight_measurement.value : "");
+ ce.style.textTransform = f.text_case.value;
+ ce.style.fontWeight = f.text_weight.value;
+ ce.style.fontVariant = f.text_variant.value;
+ ce.style.color = f.text_color.value;
+
+ s = "";
+ s += f.text_underline.checked ? " underline" : "";
+ s += f.text_overline.checked ? " overline" : "";
+ s += f.text_linethrough.checked ? " line-through" : "";
+ s += f.text_blink.checked ? " blink" : "";
+ s = s.length > 0 ? s.substring(1) : s;
+
+ if (f.text_none.checked)
+ s = "none";
+
+ ce.style.textDecoration = s;
+
+ // Build background styles
+
+ ce.style.backgroundColor = f.background_color.value;
+ ce.style.backgroundImage = f.background_image.value != "" ? "url(" + f.background_image.value + ")" : "";
+ ce.style.backgroundRepeat = f.background_repeat.value;
+ ce.style.backgroundAttachment = f.background_attachment.value;
+
+ if (f.background_hpos.value != "") {
+ s = "";
+ s += f.background_hpos.value + (isNum(f.background_hpos.value) ? f.background_hpos_measurement.value : "") + " ";
+ s += f.background_vpos.value + (isNum(f.background_vpos.value) ? f.background_vpos_measurement.value : "");
+ ce.style.backgroundPosition = s;
+ }
+
+ // Build block styles
+
+ ce.style.wordSpacing = f.block_wordspacing.value + (isNum(f.block_wordspacing.value) ? f.block_wordspacing_measurement.value : "");
+ ce.style.letterSpacing = f.block_letterspacing.value + (isNum(f.block_letterspacing.value) ? f.block_letterspacing_measurement.value : "");
+ ce.style.verticalAlign = f.block_vertical_alignment.value;
+ ce.style.textAlign = f.block_text_align.value;
+ ce.style.textIndent = f.block_text_indent.value + (isNum(f.block_text_indent.value) ? f.block_text_indent_measurement.value : "");
+ ce.style.whiteSpace = f.block_whitespace.value;
+ ce.style.display = f.block_display.value;
+
+ // Build box styles
+
+ ce.style.width = f.box_width.value + (isNum(f.box_width.value) ? f.box_width_measurement.value : "");
+ ce.style.height = f.box_height.value + (isNum(f.box_height.value) ? f.box_height_measurement.value : "");
+ ce.style.styleFloat = f.box_float.value;
+ ce.style.cssFloat = f.box_float.value;
+
+ ce.style.clear = f.box_clear.value;
+
+ if (!f.box_padding_same.checked) {
+ ce.style.paddingTop = f.box_padding_top.value + (isNum(f.box_padding_top.value) ? f.box_padding_top_measurement.value : "");
+ ce.style.paddingRight = f.box_padding_right.value + (isNum(f.box_padding_right.value) ? f.box_padding_right_measurement.value : "");
+ ce.style.paddingBottom = f.box_padding_bottom.value + (isNum(f.box_padding_bottom.value) ? f.box_padding_bottom_measurement.value : "");
+ ce.style.paddingLeft = f.box_padding_left.value + (isNum(f.box_padding_left.value) ? f.box_padding_left_measurement.value : "");
+ } else
+ ce.style.padding = f.box_padding_top.value + (isNum(f.box_padding_top.value) ? f.box_padding_top_measurement.value : "");
+
+ if (!f.box_margin_same.checked) {
+ ce.style.marginTop = f.box_margin_top.value + (isNum(f.box_margin_top.value) ? f.box_margin_top_measurement.value : "");
+ ce.style.marginRight = f.box_margin_right.value + (isNum(f.box_margin_right.value) ? f.box_margin_right_measurement.value : "");
+ ce.style.marginBottom = f.box_margin_bottom.value + (isNum(f.box_margin_bottom.value) ? f.box_margin_bottom_measurement.value : "");
+ ce.style.marginLeft = f.box_margin_left.value + (isNum(f.box_margin_left.value) ? f.box_margin_left_measurement.value : "");
+ } else
+ ce.style.margin = f.box_margin_top.value + (isNum(f.box_margin_top.value) ? f.box_margin_top_measurement.value : "");
+
+ // Build border styles
+
+ if (!f.border_style_same.checked) {
+ ce.style.borderTopStyle = f.border_style_top.value;
+ ce.style.borderRightStyle = f.border_style_right.value;
+ ce.style.borderBottomStyle = f.border_style_bottom.value;
+ ce.style.borderLeftStyle = f.border_style_left.value;
+ } else
+ ce.style.borderStyle = f.border_style_top.value;
+
+ if (!f.border_width_same.checked) {
+ ce.style.borderTopWidth = f.border_width_top.value + (isNum(f.border_width_top.value) ? f.border_width_top_measurement.value : "");
+ ce.style.borderRightWidth = f.border_width_right.value + (isNum(f.border_width_right.value) ? f.border_width_right_measurement.value : "");
+ ce.style.borderBottomWidth = f.border_width_bottom.value + (isNum(f.border_width_bottom.value) ? f.border_width_bottom_measurement.value : "");
+ ce.style.borderLeftWidth = f.border_width_left.value + (isNum(f.border_width_left.value) ? f.border_width_left_measurement.value : "");
+ } else
+ ce.style.borderWidth = f.border_width_top.value + (isNum(f.border_width_top.value) ? f.border_width_top_measurement.value : "");
+
+ if (!f.border_color_same.checked) {
+ ce.style.borderTopColor = f.border_color_top.value;
+ ce.style.borderRightColor = f.border_color_right.value;
+ ce.style.borderBottomColor = f.border_color_bottom.value;
+ ce.style.borderLeftColor = f.border_color_left.value;
+ } else
+ ce.style.borderColor = f.border_color_top.value;
+
+ // Build list styles
+
+ ce.style.listStyleType = f.list_type.value;
+ ce.style.listStylePosition = f.list_position.value;
+ ce.style.listStyleImage = f.list_bullet_image.value != "" ? "url(" + f.list_bullet_image.value + ")" : "";
+
+ // Build positioning styles
+
+ ce.style.position = f.positioning_type.value;
+ ce.style.visibility = f.positioning_visibility.value;
+
+ if (ce.style.width == "")
+ ce.style.width = f.positioning_width.value + (isNum(f.positioning_width.value) ? f.positioning_width_measurement.value : "");
+
+ if (ce.style.height == "")
+ ce.style.height = f.positioning_height.value + (isNum(f.positioning_height.value) ? f.positioning_height_measurement.value : "");
+
+ ce.style.zIndex = f.positioning_zindex.value;
+ ce.style.overflow = f.positioning_overflow.value;
+
+ if (!f.positioning_placement_same.checked) {
+ ce.style.top = f.positioning_placement_top.value + (isNum(f.positioning_placement_top.value) ? f.positioning_placement_top_measurement.value : "");
+ ce.style.right = f.positioning_placement_right.value + (isNum(f.positioning_placement_right.value) ? f.positioning_placement_right_measurement.value : "");
+ ce.style.bottom = f.positioning_placement_bottom.value + (isNum(f.positioning_placement_bottom.value) ? f.positioning_placement_bottom_measurement.value : "");
+ ce.style.left = f.positioning_placement_left.value + (isNum(f.positioning_placement_left.value) ? f.positioning_placement_left_measurement.value : "");
+ } else {
+ s = f.positioning_placement_top.value + (isNum(f.positioning_placement_top.value) ? f.positioning_placement_top_measurement.value : "");
+ ce.style.top = s;
+ ce.style.right = s;
+ ce.style.bottom = s;
+ ce.style.left = s;
+ }
+
+ if (!f.positioning_clip_same.checked) {
+ s = "rect(";
+ s += (isNum(f.positioning_clip_top.value) ? f.positioning_clip_top.value + f.positioning_clip_top_measurement.value : "auto") + " ";
+ s += (isNum(f.positioning_clip_right.value) ? f.positioning_clip_right.value + f.positioning_clip_right_measurement.value : "auto") + " ";
+ s += (isNum(f.positioning_clip_bottom.value) ? f.positioning_clip_bottom.value + f.positioning_clip_bottom_measurement.value : "auto") + " ";
+ s += (isNum(f.positioning_clip_left.value) ? f.positioning_clip_left.value + f.positioning_clip_left_measurement.value : "auto");
+ s += ")";
+
+ if (s != "rect(auto auto auto auto)")
+ ce.style.clip = s;
+ } else {
+ s = "rect(";
+ t = isNum(f.positioning_clip_top.value) ? f.positioning_clip_top.value + f.positioning_clip_top_measurement.value : "auto";
+ s += t + " ";
+ s += t + " ";
+ s += t + " ";
+ s += t + ")";
+
+ if (s != "rect(auto auto auto auto)")
+ ce.style.clip = s;
+ }
+
+ ce.style.cssText = ce.style.cssText;
+}
+
+function isNum(s) {
+ return new RegExp('[0-9]+', 'g').test(s);
+}
+
+function showDisabledControls() {
+ var f = document.forms, i, a;
+
+ for (i=0; i<f.length; i++) {
+ for (a=0; a<f[i].elements.length; a++) {
+ if (f[i].elements[a].disabled)
+ tinyMCEPopup.editor.dom.addClass(f[i].elements[a], "disabled");
+ else
+ tinyMCEPopup.editor.dom.removeClass(f[i].elements[a], "disabled");
+ }
+ }
+}
+
+function fillSelect(f, s, param, dval, sep, em) {
+ var i, ar, p, se;
+
+ f = document.forms[f];
+ sep = typeof(sep) == "undefined" ? ";" : sep;
+
+ if (em)
+ addSelectValue(f, s, "", "");
+
+ ar = tinyMCEPopup.getParam(param, dval).split(sep);
+ for (i=0; i<ar.length; i++) {
+ se = false;
+
+ if (ar[i].charAt(0) == '+') {
+ ar[i] = ar[i].substring(1);
+ se = true;
+ }
+
+ p = ar[i].split('=');
+
+ if (p.length > 1) {
+ addSelectValue(f, s, p[0], p[1]);
+
+ if (se)
+ selectByValue(f, s, p[1]);
+ } else {
+ addSelectValue(f, s, p[0], p[0]);
+
+ if (se)
+ selectByValue(f, s, p[0]);
+ }
+ }
+}
+
+function toggleSame(ce, pre) {
+ var el = document.forms[0].elements, i;
+
+ if (ce.checked) {
+ el[pre + "_top"].disabled = false;
+ el[pre + "_right"].disabled = true;
+ el[pre + "_bottom"].disabled = true;
+ el[pre + "_left"].disabled = true;
+
+ if (el[pre + "_top_measurement"]) {
+ el[pre + "_top_measurement"].disabled = false;
+ el[pre + "_right_measurement"].disabled = true;
+ el[pre + "_bottom_measurement"].disabled = true;
+ el[pre + "_left_measurement"].disabled = true;
+ }
+ } else {
+ el[pre + "_top"].disabled = false;
+ el[pre + "_right"].disabled = false;
+ el[pre + "_bottom"].disabled = false;
+ el[pre + "_left"].disabled = false;
+
+ if (el[pre + "_top_measurement"]) {
+ el[pre + "_top_measurement"].disabled = false;
+ el[pre + "_right_measurement"].disabled = false;
+ el[pre + "_bottom_measurement"].disabled = false;
+ el[pre + "_left_measurement"].disabled = false;
+ }
+ }
+
+ showDisabledControls();
+}
+
+function synch(fr, to) {
+ var f = document.forms[0];
+
+ f.elements[to].value = f.elements[fr].value;
+
+ if (f.elements[fr + "_measurement"])
+ selectByValue(f, to + "_measurement", f.elements[fr + "_measurement"].value);
+}
+
+function updateTextDecorations(){
+ var el = document.forms[0].elements;
+
+ var textDecorations = ["text_underline", "text_overline", "text_linethrough", "text_blink"];
+ var noneChecked = el["text_none"].checked;
+ tinymce.each(textDecorations, function(id) {
+ el[id].disabled = noneChecked;
+ if (noneChecked) {
+ el[id].checked = false;
+ }
+ });
+}
+
+tinyMCEPopup.onInit.add(init);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/de_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/de_dlg.js
new file mode 100644
index 00000000..ad04664e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/de_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('de.style_dlg',{"text_lineheight":"Zeilenh\u00f6he","text_variant":"Variante","text_style":"Stil","text_weight":"Dicke","text_size":"Gr\u00f6\u00dfe","text_font":"Schriftart","text_props":"Text","positioning_tab":"Positionierung","list_tab":"Liste","border_tab":"Rahmen","box_tab":"Box","block_tab":"Block","background_tab":"Hintergrund","text_tab":"Text",apply:"\u00dcbernehmen",title:"CSS-Styles bearbeiten",clip:"Ausschnitt",placement:"Platzierung",overflow:"Verhalten bei \u00dcbergr\u00f6\u00dfe",zindex:"Z-Wert",visibility:"Sichtbar","positioning_type":"Art der Positionierung",position:"Positionierung","bullet_image":"Listenpunkt-Grafik","list_type":"Listenpunkt-Art",color:"Textfarbe",height:"H\u00f6he",width:"Breite",style:"Format",margin:"\u00c4u\u00dferer Abstand",left:"Links",bottom:"Unten",right:"Rechts",top:"Oben",same:"Alle gleich",padding:"Innerer Abstand","box_clear":"Umflie\u00dfung verhindern","box_float":"Umflie\u00dfung","box_height":"H\u00f6he","box_width":"Breite","block_display":"Umbruchverhalten","block_whitespace":"Automatischer Umbruch","block_text_indent":"Einr\u00fcckung","block_text_align":"Ausrichtung","block_vertical_alignment":"Vertikale Ausrichtung","block_letterspacing":"Buchstabenabstand","block_wordspacing":"Wortabstand","background_vpos":"Position Y","background_hpos":"Position X","background_attachment":"Wasserzeicheneffekt","background_repeat":"Wiederholung","background_image":"Hintergrundbild","background_color":"Hintergrundfarbe","text_none":"keine","text_blink":"blinkend","text_case":"Schreibung","text_striketrough":"durchgestrichen","text_underline":"unterstrichen","text_overline":"\u00fcberstrichen","text_decoration":"Gestaltung","text_color":"Farbe",text:"Text",background:"Hintergrund",block:"Block",box:"Box",border:"Rahmen",list:"Liste"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/en_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/en_dlg.js
new file mode 100644
index 00000000..9a1d4a22
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/en_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('en.style_dlg',{"text_lineheight":"Line Height","text_variant":"Variant","text_style":"Style","text_weight":"Weight","text_size":"Size","text_font":"Font","text_props":"Text","positioning_tab":"Positioning","list_tab":"List","border_tab":"Border","box_tab":"Box","block_tab":"Block","background_tab":"Background","text_tab":"Text",apply:"Apply",title:"Edit CSS Style",clip:"Clip",placement:"Placement",overflow:"Overflow",zindex:"Z-index",visibility:"Visibility","positioning_type":"Type",position:"Position","bullet_image":"Bullet Image","list_type":"Type",color:"Color",height:"Height",width:"Width",style:"Style",margin:"Margin",left:"Left",bottom:"Bottom",right:"Right",top:"Top",same:"Same for All",padding:"Padding","box_clear":"Clear","box_float":"Float","box_height":"Height","box_width":"Width","block_display":"Display","block_whitespace":"Whitespace","block_text_indent":"Text Indent","block_text_align":"Text Align","block_vertical_alignment":"Vertical Alignment","block_letterspacing":"Letter Spacing","block_wordspacing":"Word Spacing","background_vpos":"Vertical Position","background_hpos":"Horizontal Position","background_attachment":"Attachment","background_repeat":"Repeat","background_image":"Background Image","background_color":"Background Color","text_none":"None","text_blink":"Blink","text_case":"Case","text_striketrough":"Strikethrough","text_underline":"Underline","text_overline":"Overline","text_decoration":"Decoration","text_color":"Color",text:"Text",background:"Background",block:"Block",box:"Box",border:"Border",list:"List"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/hu_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/hu_dlg.js
new file mode 100644
index 00000000..b60f3f73
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/hu_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('hu.style_dlg',{"text_lineheight":"Sormagass\u00e1g","text_variant":"V\u00e1ltozat","text_style":"St\u00edlus","text_weight":"Sz\u00e9less\u00e9g","text_size":"M\u00e9ret","text_font":"Bet\u0171t\u00edpus","text_props":"Sz\u00f6veg","positioning_tab":"Poz\u00edci\u00f3","list_tab":"Lista","border_tab":"Keret","box_tab":"Doboz","block_tab":"Blokk","background_tab":"H\u00e1tt\u00e9r","text_tab":"Sz\u00f6veg",apply:"Alkalmaz",title:"CSS st\u00edlus szerkest\u00e9se",clip:"Lev\u00e1g\u00e1s",placement:"Elhelyez\u00e9s",overflow:"Kifut\u00e1s",zindex:"Z-index",visibility:"L\u00e1that\u00f3s\u00e1g","positioning_type":"T\u00edpus",position:"Poz\u00edci\u00f3","bullet_image":"Elemk\u00e9p","list_type":"T\u00edpus",color:"Sz\u00edn",height:"Magass\u00e1g",width:"Sz\u00e9less\u00e9g",style:"St\u00edlus",margin:"Marg\u00f3",left:"Balra",bottom:"Lent",right:"Jobbra",top:"Fel\u00fcl",same:"Mindenhol ugyanaz",padding:"Bels\u0151 marg\u00f3","box_clear":"Lebeg\u00e9s (float) t\u00f6rl\u00e9se","box_float":"Lebeg\u00e9s (float)","box_height":"Magass\u00e1g","box_width":"Sz\u00e9less\u00e9g","block_display":"Megjelen\u00edt\u00e9s","block_whitespace":"T\u00e9rk\u00f6z","block_text_indent":"Sz\u00f6veg beh\u00faz\u00e1sa","block_text_align":"Sz\u00f6veg igaz\u00edt\u00e1sa","block_vertical_alignment":"F\u00fcgg\u0151leges igaz\u00edt\u00e1s","block_letterspacing":"Bet\u0171t\u00e1vols\u00e1g","block_wordspacing":"Sz\u00f3t\u00e1vols\u00e1g","background_vpos":"F\u00fcgg\u0151leges hely","background_hpos":"V\u00edzszintes hely","background_attachment":"Csatolm\u00e1ny","background_repeat":"Ism\u00e9tl\u00e9s","background_image":"H\u00e1tt\u00e9rk\u00e9p","background_color":"H\u00e1tt\u00e9rsz\u00edn","text_none":"egyik sem","text_blink":"villog\u00e1s","text_case":"eset","text_striketrough":"\u00e1th\u00fazott","text_underline":"al\u00e1h\u00fazott","text_overline":"fel\u00fclh\u00fazott","text_decoration":"dekor\u00e1ci\u00f3","text_color":"sz\u00edn",text:"Sz\u00f6veg",background:"H\u00e1tt\u00e9r",block:"Blokk",box:"Doboz",border:"Keret",list:"Lista"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/ja_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/ja_dlg.js
new file mode 100644
index 00000000..4d5953cf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/ja_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('ja.style_dlg',{"text_lineheight":"\u884c\u306e\u9ad8\u3055","text_variant":"\u5909\u5f62","text_style":"\u30b9\u30bf\u30a4\u30eb","text_weight":"\u592a\u3055","text_size":"\u5927\u304d\u3055","text_font":"\u30d5\u30a9\u30f3\u30c8","text_props":"\u30c6\u30ad\u30b9\u30c8","positioning_tab":"\u4f4d\u7f6e","list_tab":"\u7b87\u6761\u66f8\u304d","border_tab":"\u67a0\u7dda","box_tab":"\u30dc\u30c3\u30af\u30b9","block_tab":"\u30d6\u30ed\u30c3\u30af","background_tab":"\u80cc\u666f","text_tab":"\u6587\u5b57",apply:"\u9069\u7528",title:"CSS\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u7de8\u96c6",clip:"\u5207\u308a\u629c\u304d",placement:"\u914d\u7f6e",overflow:"\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc",zindex:"Z-index",visibility:"\u53ef\u8996\u6027","positioning_type":"\u914d\u7f6e\u65b9\u6cd5",position:"\u8868\u793a\u4f4d\u7f6e","bullet_image":"\u884c\u982d\u6587\u5b57","list_type":"\u7b87\u6761\u66f8\u304d\u306e\u7a2e\u985e",color:"\u8272",height:"\u9ad8\u3055",width:"\u5e45",style:"\u30b9\u30bf\u30a4\u30eb",margin:"\u30de\u30fc\u30b8\u30f3",left:"\u5de6",bottom:"\u4e0b",right:"\u53f3",top:"\u4e0a",same:"\u3059\u3079\u3066\u540c\u3058",padding:"\u30d1\u30c7\u30a3\u30f3\u30b0","box_clear":"\u56de\u308a\u8fbc\u307f\u89e3\u9664","box_float":"\u56de\u308a\u8fbc\u307f","box_height":"\u9ad8\u3055","box_width":"\u5e45","block_display":"\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4","block_whitespace":"\u7a7a\u767d\u6587\u5b57","block_text_indent":"\u30c6\u30ad\u30b9\u30c8\u306e\u5b57\u4e0b\u3052","block_text_align":"\u30c6\u30ad\u30b9\u30c8\u306e\u6c34\u5e73\u914d\u7f6e","block_vertical_alignment":"\u5782\u76f4\u914d\u7f6e","block_letterspacing":"\u6587\u5b57\u9593\u9694","block_wordspacing":"\u5358\u8a9e\u9593\u9694","background_vpos":"\u5782\u76f4\u4f4d\u7f6e","background_hpos":"\u6c34\u5e73\u4f4d\u7f6e","background_attachment":"\u6dfb\u4ed8","background_repeat":"\u7e70\u308a\u8fd4\u3057","background_image":"\u80cc\u666f\u753b\u50cf","background_color":"\u80cc\u666f\u8272","text_none":"\u306a\u3057","text_blink":"\u70b9\u6ec5","text_case":"\u5927\u6587\u5b57/\u5c0f\u6587\u5b57","text_striketrough":"\u6253\u6d88\u3057\u7dda","text_underline":"\u4e0b\u7dda","text_overline":"\u4e0a\u7dda","text_decoration":"\u88c5\u98fe","text_color":"\u8272",text:"\u6587\u5b57",background:"\u80cc\u666f",block:"\u30d6\u30ed\u30c3\u30af",box:"\u30dc\u30c3\u30af\u30b9",border:"\u67a0\u7dda",list:"\u7b87\u6761\u66f8\u304d"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/props.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/props.htm
new file mode 100755
index 00000000..7dc087a3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/props.htm
@@ -0,0 +1,845 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#style_dlg.title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/editable_selects.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="js/props.js"></script>
+ <link href="css/props.css" rel="stylesheet" type="text/css" />
+</head>
+
+<body id="styleprops" style="display: none" role="application" aria-labelledby="app_title">
+<span id="app_title" style="display:none">{#style_dlg.title}</span>
+<form onsubmit="updateAction();return false;" action="#">
+<div class="tabs">
+ <ul>
+ <li id="text_tab" class="current" aria-controls="text_panel"><span><a href="javascript:mcTabs.displayTab('text_tab','text_panel');" onMouseDown="return false;">{#style_dlg.text_tab}</a></span></li>
+ <li id="background_tab" aria-controls="background_panel"><span><a href="javascript:mcTabs.displayTab('background_tab','background_panel');" onMouseDown="return false;">{#style_dlg.background_tab}</a></span></li>
+ <li id="block_tab" aria-controls="block_panel"><span><a href="javascript:mcTabs.displayTab('block_tab','block_panel');" onMouseDown="return false;">{#style_dlg.block_tab}</a></span></li>
+ <li id="box_tab" aria-controls="box_panel"><span><a href="javascript:mcTabs.displayTab('box_tab','box_panel');" onMouseDown="return false;">{#style_dlg.box_tab}</a></span></li>
+ <li id="border_tab" aria-controls="border_panel"><span><a href="javascript:mcTabs.displayTab('border_tab','border_panel');" onMouseDown="return false;">{#style_dlg.border_tab}</a></span></li>
+ <li id="list_tab" aria-controls="list_panel"><span><a href="javascript:mcTabs.displayTab('list_tab','list_panel');" onMouseDown="return false;">{#style_dlg.list_tab}</a></span></li>
+ <li id="positioning_tab" aria-controls="positioning_panel"><span><a href="javascript:mcTabs.displayTab('positioning_tab','positioning_panel');" onMouseDown="return false;">{#style_dlg.positioning_tab}</a></span></li>
+ </ul>
+</div>
+
+<div class="panel_wrapper">
+<div id="text_panel" class="panel current">
+ <fieldset>
+ <legend>{#style_dlg.text}</legend>
+ <table role="presentation" border="0" width="100%">
+ <tr>
+ <td><label for="text_font">{#style_dlg.text_font}</label></td>
+ <td colspan="3">
+ <select id="text_font" name="text_font" class="mceEditableSelect mceFocus"></select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="text_size">{#style_dlg.text_size}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><select id="text_size" name="text_size" class="mceEditableSelect"></select></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="text_size_measurement_label" for="text_size_measurement" style="display: none; visibility: hidden;">Text Size Measurement Unit</label>
+ <select id="text_size_measurement" name="text_size_measurement" aria-labelledby="text_size_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td><label for="text_weight">{#style_dlg.text_weight}</label></td>
+ <td>
+ <select id="text_weight" name="text_weight"></select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="text_style">{#style_dlg.text_style}</label></td>
+ <td>
+ <select id="text_style" name="text_style" class="mceEditableSelect"></select>
+ </td>
+ <td><label for="text_variant">{#style_dlg.text_variant}</label></td>
+ <td>
+ <select id="text_variant" name="text_variant"></select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="text_lineheight">{#style_dlg.text_lineheight}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td>
+ <select id="text_lineheight" name="text_lineheight" class="mceEditableSelect"></select>
+ </td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="text_lineheight_measurement_label" for="text_lineheight_measurement" style="display: none; visibility: hidden;">Line Height Measurement Unit</label>
+ <select id="text_lineheight_measurement" name="text_lineheight_measurement" aria-labelledby="text_lineheight_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td><label for="text_case">{#style_dlg.text_case}</label></td>
+ <td>
+ <select id="text_case" name="text_case"></select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="text_color">{#style_dlg.text_color}</label></td>
+ <td colspan="2">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="text_color" name="text_color" type="text" value="" size="9" onChange="updateColor('text_color_pick','text_color');" /></td>
+ <td id="text_color_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" style="vertical-align: top; padding-top: 3px;">{#style_dlg.text_decoration}</td>
+ <td colspan="2">
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input id="text_underline" name="text_underline" class="checkbox" type="checkbox" /></td>
+ <td><label for="text_underline">{#style_dlg.text_underline}</label></td>
+ </tr>
+ <tr>
+ <td><input id="text_overline" name="text_overline" class="checkbox" type="checkbox" /></td>
+ <td><label for="text_overline">{#style_dlg.text_overline}</label></td>
+ </tr>
+ <tr>
+ <td><input id="text_linethrough" name="text_linethrough" class="checkbox" type="checkbox" /></td>
+ <td><label for="text_linethrough">{#style_dlg.text_striketrough}</label></td>
+ </tr>
+ <tr>
+ <td><input id="text_blink" name="text_blink" class="checkbox" type="checkbox" /></td>
+ <td><label for="text_blink">{#style_dlg.text_blink}</label></td>
+ </tr>
+ <tr>
+ <td><input id="text_none" name="text_none" class="checkbox" type="checkbox" onclick="updateTextDecorations();"/></td>
+ <td><label for="text_none">{#style_dlg.text_none}</label></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+</div>
+
+<div id="background_panel" class="panel">
+ <fieldset>
+ <legend>{#style_dlg.background}</legend>
+ <table role="presentation" border="0">
+ <tr>
+ <td><label for="background_color">{#style_dlg.background_color}</label></td>
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="background_color" name="background_color" type="text" value="" size="9" onChange="updateColor('background_color_pick','background_color');" /></td>
+ <td id="background_color_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="background_image">{#style_dlg.background_image}</label></td>
+ <td><table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input id="background_image" name="background_image" type="text" /></td>
+ <td id="background_image_browser">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="background_repeat">{#style_dlg.background_repeat}</label></td>
+ <td><select id="background_repeat" name="background_repeat" class="mceEditableSelect"></select></td>
+ </tr>
+
+ <tr>
+ <td><label for="background_attachment">{#style_dlg.background_attachment}</label></td>
+ <td><select id="background_attachment" name="background_attachment" class="mceEditableSelect"></select></td>
+ </tr>
+
+ <tr>
+ <td><label for="background_hpos">{#style_dlg.background_hpos}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><select id="background_hpos" name="background_hpos" class="mceEditableSelect"></select></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="background_hpos_measurement_label" for="background_hpos_measurement" style="display: none; visibility: hidden;">Horizontal position measurement unit</label>
+ <select id="background_hpos_measurement" name="background_hpos_measurement" aria-labelledby="background_hpos_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="background_vpos">{#style_dlg.background_vpos}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><select id="background_vpos" name="background_vpos" class="mceEditableSelect"></select></td>
+ <td>&nbsp;</td>
+ <td>
+
+ <label id="background_vpos_measurement_label" for="background_vpos_measurement" style="display: none; visibility: hidden;">Vertical position measurement unit</label>
+ <select id="background_vpos_measurement" name="background_vpos_measurement" aria-labelledby="background_vpos_measurement_label">></select></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+</div>
+
+<div id="block_panel" class="panel">
+ <fieldset>
+ <legend>{#style_dlg.block}</legend>
+ <table role="presentation" border="0">
+ <tr>
+ <td><label for="block_wordspacing">{#style_dlg.block_wordspacing}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><select id="block_wordspacing" name="block_wordspacing" class="mceEditableSelect"></select></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="block_wordspacing_measurement_label" for="block_wordspacing_measurement" style="display: none; visibility: hidden;">Word spacing measurement unit</label>
+ <select id="block_wordspacing_measurement" name="block_wordspacing_measurement" aria-labelledby="block_wordspacing_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="block_letterspacing">{#style_dlg.block_letterspacing}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><select id="block_letterspacing" name="block_letterspacing" class="mceEditableSelect"></select></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="block_letterspacing_measurement_label" for="block_letterspacing_measurement" style="display: none; visibility: hidden;">Letter spacing measurement unit</label>
+ <select id="block_letterspacing_measurement" name="block_letterspacing_measurement" aria-labelledby="block_letterspacing_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="block_vertical_alignment">{#style_dlg.block_vertical_alignment}</label></td>
+ <td><select id="block_vertical_alignment" name="block_vertical_alignment" class="mceEditableSelect"></select></td>
+ </tr>
+
+ <tr>
+ <td><label for="block_text_align">{#style_dlg.block_text_align}</label></td>
+ <td><select id="block_text_align" name="block_text_align" class="mceEditableSelect"></select></td>
+ </tr>
+
+ <tr>
+ <td><label for="block_text_indent">{#style_dlg.block_text_indent}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="block_text_indent" name="block_text_indent" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="block_text_indent_measurement_label" for="block_text_indent_measurement" style="display: none; visibility: hidden;">Text Indent Measurement Unit</label>
+
+ <select id="block_text_indent_measurement" name="block_text_indent_measurement" aria-labelledby="block_text_indent_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="block_whitespace">{#style_dlg.block_whitespace}</label></td>
+ <td><select id="block_whitespace" name="block_whitespace" class="mceEditableSelect"></select></td>
+ </tr>
+
+ <tr>
+ <td><label for="block_display">{#style_dlg.block_display}</label></td>
+ <td><select id="block_display" name="block_display" class="mceEditableSelect"></select></td>
+ </tr>
+ </table>
+ </fieldset>
+</div>
+
+<div id="box_panel" class="panel">
+ <fieldset>
+ <legend>{#style_dlg.box}</legend>
+ <table role="presentation" border="0">
+ <tr>
+ <td><label for="box_width">{#style_dlg.box_width}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="box_width" name="box_width" class="mceEditableSelect" onChange="synch('box_width','positioning_width');" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="box_width_measurement_label" for="box_width_measurement" style="display: none; visibility: hidden;">Box Width Measurement Unit</label>
+ <select id="box_width_measurement" name="box_width_measurement" aria-labelledby="box_width_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td>&nbsp;&nbsp;&nbsp;<label for="box_float">{#style_dlg.box_float}</label></td>
+ <td><select id="box_float" name="box_float" class="mceEditableSelect"></select></td>
+ </tr>
+
+ <tr>
+ <td><label for="box_height">{#style_dlg.box_height}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="box_height" name="box_height" class="mceEditableSelect" onChange="synch('box_height','positioning_height');" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="box_height_measurement_label" for="box_height_measurement" style="display: none; visibility: hidden;">Box Height Measurement Unit</label>
+ <select id="box_height_measurement" name="box_height_measurement" aria-labelledby="box_height_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td>&nbsp;&nbsp;&nbsp;<label for="box_clear">{#style_dlg.box_clear}</label></td>
+ <td><select id="box_clear" name="box_clear" class="mceEditableSelect"></select></td>
+ </tr>
+ </table>
+ </fieldset>
+
+<div style="float: left; width: 49%">
+ <fieldset>
+ <legend>{#style_dlg.padding}</legend>
+
+ <table role="presentation" border="0">
+ <tr>
+ <td>&nbsp;</td>
+ <td><input type="checkbox" id="box_padding_same" name="box_padding_same" class="checkbox" checked="checked" onClick="toggleSame(this,'box_padding');" /> <label for="box_padding_same">{#style_dlg.same}</label></td>
+ </tr>
+ <tr>
+ <td><label for="box_padding_top">{#style_dlg.top}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="box_padding_top" name="box_padding_top" class="mceEditableSelect" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="box_padding_top_measurement_label" for="box_padding_top_measurement" style="display: none; visibility: hidden;">Padding Top Measurement Unit</label>
+ <select id="box_padding_top_measurement" name="box_padding_top_measurement" aria-labelledby="box_padding_top_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="box_padding_right">{#style_dlg.right}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="box_padding_right" name="box_padding_right" class="mceEditableSelect" disabled="disabled" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="box_padding_right_measurement_label" for="box_padding_right_measurement" style="display: none; visibility: hidden;">Padding Right Measurement Unit</label>
+ <select id="box_padding_right_measurement" name="box_padding_right_measurement" disabled="disabled" aria-labelledby="box_padding_right_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="box_padding_bottom">{#style_dlg.bottom}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="box_padding_bottom" name="box_padding_bottom" class="mceEditableSelect" disabled="disabled" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="box_padding_bottom_measurement_label" for="box_padding_bottom_measurement" style="display: none; visibility: hidden;">Padding Bottom Measurement Unit</label>
+ <select id="box_padding_bottom_measurement" name="box_padding_bottom_measurement" disabled="disabled" aria-labelledby="box_padding_bottom_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="box_padding_left">{#style_dlg.left}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="box_padding_left" name="box_padding_left" class="mceEditableSelect" disabled="disabled" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="box_padding_left_measurement_label" for="box_padding_left_measurement" style="display: none; visibility: hidden;">Padding Left Measurement Unit</label>
+ <select id="box_padding_left_measurement" name="box_padding_left_measurement" disabled="disabled" aria-labelledby="box_padding_left_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+</div>
+
+<div style="float: right; width: 49%">
+ <fieldset>
+ <legend>{#style_dlg.margin}</legend>
+
+ <table role="presentation" border="0">
+ <tr>
+ <td>&nbsp;</td>
+ <td><input type="checkbox" id="box_margin_same" name="box_margin_same" class="checkbox" checked="checked" onClick="toggleSame(this,'box_margin');" /> <label for="box_margin_same">{#style_dlg.same}</label></td>
+ </tr>
+ <tr>
+ <td><label for="box_margin_top">{#style_dlg.top}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="box_margin_top" name="box_margin_top" class="mceEditableSelect" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="box_margin_top_measurement_label" for="box_margin_top_measurement" style="display: none; visibility: hidden;">Margin Top Measurement Unit</label>
+ <select id="box_margin_top_measurement" name="box_margin_top_measurement" aria-labelledby="box_margin_top_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="box_margin_right">{#style_dlg.right}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="box_margin_right" name="box_margin_right" class="mceEditableSelect" disabled="disabled" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="box_margin_right_measurement_label" for="box_margin_right_measurement" style="display: none; visibility: hidden;">Margin Right Measurement Unit</label>
+ <select id="box_margin_right_measurement" name="box_margin_right_measurement" disabled="disabled" aria-labelledby="box_margin_right_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="box_margin_bottom">{#style_dlg.bottom}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="box_margin_bottom" name="box_margin_bottom" class="mceEditableSelect" disabled="disabled" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="box_margin_bottom_measurement_label" for="box_margin_bottom_measurement" style="display: none; visibility: hidden;">Margin Bottom Measurement Unit</label>
+ <select id="box_margin_bottom_measurement" name="box_margin_bottom_measurement" disabled="disabled" aria-labelledby="box_margin_bottom_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="box_margin_left">{#style_dlg.left}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="box_margin_left" name="box_margin_left" class="mceEditableSelect" disabled="disabled" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="box_margin_left_measurement_label" for="box_margin_left_measurement" style="display: none; visibility: hidden;">Margin Left Measurement Unit</label>
+ <select id="box_margin_left_measurement" name="box_margin_left_measurement" disabled="disabled" aria-labelledby="box_margin_left_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+</div>
+<br style="clear: both" />
+</div>
+
+<div id="border_panel" class="panel">
+ <fieldset>
+ <legend>{#style_dlg.border}</legend>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0" width="100%">
+ <tr>
+ <td class="tdelim">&nbsp;</td>
+ <td class="tdelim delim">&nbsp;</td>
+ <td class="tdelim">{#style_dlg.style}</td>
+ <td class="tdelim delim">&nbsp;</td>
+ <td class="tdelim">{#style_dlg.width}</td>
+ <td class="tdelim delim">&nbsp;</td>
+ <td class="tdelim">{#style_dlg.color}</td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ <td class="delim">&nbsp;</td>
+ <td><input type="checkbox" id="border_style_same" name="border_style_same" class="checkbox" checked="checked" onClick="toggleSame(this,'border_style');" /> <label for="border_style_same">{#style_dlg.same}</label></td>
+ <td class="delim">&nbsp;</td>
+ <td><input type="checkbox" id="border_width_same" name="border_width_same" class="checkbox" checked="checked" onClick="toggleSame(this,'border_width');" /> <label for="border_width_same">{#style_dlg.same}</label></td>
+ <td class="delim">&nbsp;</td>
+ <td><input type="checkbox" id="border_color_same" name="border_color_same" class="checkbox" checked="checked" onClick="toggleSame(this,'border_color');" /> <label for="border_color_same">{#style_dlg.same}</label></td>
+ </tr>
+
+ <tr>
+ <td>{#style_dlg.top}</td>
+ <td class="delim">&nbsp;</td>
+ <td><select id="border_style_top" name="border_style_top" class="mceEditableSelect"></select></td>
+ <td class="delim">&nbsp;</td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><select id="border_width_top" name="border_width_top" class="mceEditableSelect"></select></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="border_width_top_measurement_label" for="border_width_top_measurement" style="display: none; visibility: hidden;">Width top Measurement Unit</label>
+ <select id="border_width_top_measurement" name="border_width_top_measurement" aria-labelledby="border_width_top_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td class="delim">&nbsp;</td>
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="border_color_top" name="border_color_top" type="text" value="" size="9" onChange="updateColor('border_color_top_pick','border_color_top');" /></td>
+ <td id="border_color_top_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>{#style_dlg.right}</td>
+ <td class="delim">&nbsp;</td>
+ <td><select id="border_style_right" name="border_style_right" class="mceEditableSelect" disabled="disabled"></select></td>
+ <td class="delim">&nbsp;</td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><select id="border_width_right" name="border_width_right" class="mceEditableSelect" disabled="disabled"></select></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="border_width_right_measurement_label" for="border_width_right_measurement" style="display: none; visibility: hidden;">Width Right Measurement Unit</label>
+ <select id="border_width_right_measurement" name="border_width_right_measurement" disabled="disabled" aria-labelledby="border_width_right_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td class="delim">&nbsp;</td>
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="border_color_right" name="border_color_right" type="text" value="" size="9" onChange="updateColor('border_color_right_pick','border_color_right');" disabled="disabled" /></td>
+ <td id="border_color_right_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>{#style_dlg.bottom}</td>
+ <td class="delim">&nbsp;</td>
+ <td><select id="border_style_bottom" name="border_style_bottom" class="mceEditableSelect" disabled="disabled"></select></td>
+ <td class="delim">&nbsp;</td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><select id="border_width_bottom" name="border_width_bottom" class="mceEditableSelect" disabled="disabled"></select></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="border_width_bottom_measurement_label" for="border_width_bottom_measurement" style="display: none; visibility: hidden;">Width Bottom Measurement Unit</label>
+ <select id="border_width_bottom_measurement" name="border_width_bottom_measurement" disabled="disabled" aria-labelledby="border_width_bottom_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td class="delim">&nbsp;</td>
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="border_color_bottom" name="border_color_bottom" type="text" value="" size="9" onChange="updateColor('border_color_bottom_pick','border_color_bottom');" disabled="disabled" /></td>
+ <td id="border_color_bottom_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>{#style_dlg.left}</td>
+ <td class="delim">&nbsp;</td>
+ <td><select id="border_style_left" name="border_style_left" class="mceEditableSelect" disabled="disabled"></select></td>
+ <td class="delim">&nbsp;</td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><select id="border_width_left" name="border_width_left" class="mceEditableSelect" disabled="disabled"></select></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="border_width_left_measurement_label" for="border_width_left_measurement" style="display: none; visibility: hidden;">Width Left Measurement Unit</label>
+ <select id="border_width_left_measurement" name="border_width_left_measurement" disabled="disabled" aria-labelledby="border_width_left_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td class="delim">&nbsp;</td>
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="border_color_left" name="border_color_left" type="text" value="" size="9" onChange="updateColor('border_color_left_pick','border_color_left');" disabled="disabled" /></td>
+ <td id="border_color_left_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+</div>
+
+<div id="list_panel" class="panel">
+<fieldset>
+ <legend>{#style_dlg.list}</legend>
+ <table role="presentation" border="0">
+ <tr>
+ <td><label for="list_type">{#style_dlg.list_type}</label></td>
+ <td><select id="list_type" name="list_type" class="mceEditableSelect"></select></td>
+ </tr>
+
+ <tr>
+ <td><label for="list_bullet_image">{#style_dlg.bullet_image}</label></td>
+ <td><input id="list_bullet_image" name="list_bullet_image" type="text" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="list_position">{#style_dlg.position}</label></td>
+ <td><select id="list_position" name="list_position" class="mceEditableSelect"></select></td>
+ </tr>
+ </table>
+</fieldset>
+</div>
+
+<div id="positioning_panel" class="panel">
+<fieldset>
+ <legend>{#style_dlg.position}</legend>
+<table role="presentation" border="0">
+ <tr>
+ <td><label for="positioning_type">{#style_dlg.positioning_type}</label></td>
+ <td><select id="positioning_type" name="positioning_type" class="mceEditableSelect"></select></td>
+ <td>&nbsp;&nbsp;&nbsp;<label for="positioning_visibility">{#style_dlg.visibility}</label></td>
+ <td><select id="positioning_visibility" name="positioning_visibility" class="mceEditableSelect"></select></td>
+ </tr>
+
+ <tr>
+ <td><label for="positioning_width">{#style_dlg.width}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="positioning_width" name="positioning_width" onChange="synch('positioning_width','box_width');" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="positioning_width_measurement_label" for="positioning_width_measurement" style="display: none; visibility: hidden;">Positioning width Measurement Unit</label>
+ <select id="positioning_width_measurement" name="positioning_width_measurement" aria-labelledby="positioning_width_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td>&nbsp;&nbsp;&nbsp;<label for="positioning_zindex">{#style_dlg.zindex}</label></td>
+ <td><input type="text" id="positioning_zindex" name="positioning_zindex" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="positioning_height">{#style_dlg.height}</label></td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="positioning_height" name="positioning_height" onChange="synch('positioning_height','box_height');" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="positioning_height_measurement_label" for="positioning_height_measurement" style="display: none; visibility: hidden;">Positioning Height Measurement Unit</label>
+ <select id="positioning_height_measurement" name="positioning_height_measurement" aria-labelledby="positioning_height_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td>&nbsp;&nbsp;&nbsp;<label for="positioning_overflow">{#style_dlg.overflow}</label></td>
+ <td><select id="positioning_overflow" name="positioning_overflow" class="mceEditableSelect"></select></td>
+ </tr>
+</table>
+</fieldset>
+
+<div style="float: left; width: 49%">
+ <fieldset>
+ <legend>{#style_dlg.placement}</legend>
+
+ <table role="presentation" border="0">
+ <tr>
+ <td>&nbsp;</td>
+ <td><input type="checkbox" id="positioning_placement_same" name="positioning_placement_same" class="checkbox" checked="checked" onClick="toggleSame(this,'positioning_placement');" /> <label for="positioning_placement_same">{#style_dlg.same}</label></td>
+ </tr>
+ <tr>
+ <td>{#style_dlg.top}</td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="positioning_placement_top" name="positioning_placement_top" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="positioning_placement_top_measurement_label" for="positioning_placement_top_measurement" style="display: none; visibility: hidden;">Placement Top Measurement Unit</label>
+ <select id="positioning_placement_top_measurement" name="positioning_placement_top_measurement" aria-labelledby="positioning_placement_top_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>{#style_dlg.right}</td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="positioning_placement_right" name="positioning_placement_right" disabled="disabled" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="positioning_placement_right_measurement_label" for="positioning_placement_right_measurement" style="display: none; visibility: hidden;">Placement Right Measurement Unit</label>
+ <select id="positioning_placement_right_measurement" name="positioning_placement_right_measurement" disabled="disabled" aria-labelledby="positioning_placement_right_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>{#style_dlg.bottom}</td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="positioning_placement_bottom" name="positioning_placement_bottom" disabled="disabled" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="positioning_placement_bottom_measurement_label" for="positioning_placement_bottom_measurement" style="display: none; visibility: hidden;">Placement Bottom Measurement Unit</label>
+ <select id="positioning_placement_bottom_measurement" name="positioning_placement_bottom_measurement" disabled="disabled" aria-labelledby="positioning_placement_bottom_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>{#style_dlg.left}</td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="positioning_placement_left" name="positioning_placement_left" disabled="disabled" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="positioning_placement_left_measurement_label" for="positioning_placement_left_measurement" style="display: none; visibility: hidden;">Placement Left Measurement Unit</label>
+ <select id="positioning_placement_left_measurement" name="positioning_placement_left_measurement" disabled="disabled" aria-labelledby="positioning_placement_left_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+</div>
+
+<div style="float: right; width: 49%">
+ <fieldset>
+ <legend>{#style_dlg.clip}</legend>
+
+ <table role="presentation" border="0">
+ <tr>
+ <td>&nbsp;</td>
+ <td><input type="checkbox" id="positioning_clip_same" name="positioning_clip_same" class="checkbox" checked="checked" onClick="toggleSame(this,'positioning_clip');" /> <label for="positioning_clip_same">{#style_dlg.same}</label></td>
+ </tr>
+ <tr>
+ <td>{#style_dlg.top}</td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="positioning_clip_top" name="positioning_clip_top" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="positioning_clip_top_measurement_label" for="positioning_clip_top_measurement" style="display: none; visibility: hidden;">Clip Top Measurement Unit</label>
+ <select id="positioning_clip_top_measurement" name="positioning_clip_top_measurement" aria-labelledby="positioning_clip_top_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>{#style_dlg.right}</td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="positioning_clip_right" name="positioning_clip_right" disabled="disabled" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="positioning_clip_right_measurement_label" for="positioning_clip_right_measurement" style="display: none; visibility: hidden;">Clip Right Measurement Unit</label>
+ <select id="positioning_clip_right_measurement" name="positioning_clip_right_measurement" disabled="disabled" aria-labelledby="positioning_clip_right_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>{#style_dlg.bottom}</td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="positioning_clip_bottom" name="positioning_clip_bottom" disabled="disabled" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="positioning_clip_bottom_measurement_label" for="positioning_clip_bottom_measurement" style="display: none; visibility: hidden;">Clip Bottom Measurement Unit</label>
+ <select id="positioning_clip_bottom_measurement" name="positioning_clip_bottom_measurement" disabled="disabled" aria-labelledby="positioning_clip_bottom_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>{#style_dlg.left}</td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input type="text" id="positioning_clip_left" name="positioning_clip_left" disabled="disabled" /></td>
+ <td>&nbsp;</td>
+ <td>
+ <label id="positioning_clip_left_measurement_label" for="positioning_clip_left_measurement" style="display: none; visibility: hidden;">Clip Left Measurement Unit</label>
+ <select id="positioning_clip_left_measurement" name="positioning_clip_left_measurement" disabled="disabled" aria-labelledby="positioning_clip_left_measurement_label"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+</div>
+<br style="clear: both" />
+</div>
+</div>
+
+<div class="panel_toggle_insert_span">
+ <input type="checkbox" class="checkbox" id="toggle_insert_span" name="toggle_insert_span" onClick="toggleApplyAction();" />
+ <label for="toggle_insert_span">{#style_dlg.toggle_insert_span}</label>
+</div>
+
+<div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#update}" />
+ <input type="button" class="button" id="apply" name="apply" value="{#style_dlg.apply}" onClick="applyAction();" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onClick="tinyMCEPopup.close();" />
+</div>
+</form>
+
+<div style="display: none">
+ <div id="container"></div>
+</div>
+
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/readme.txt b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/readme.txt
new file mode 100755
index 00000000..5bac3020
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/style/readme.txt
@@ -0,0 +1,19 @@
+Edit CSS Style plug-in notes
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Unlike WYSIWYG editor functionality that operates only on the selected text,
+typically by inserting new HTML elements with the specified styles.
+This plug-in operates on the HTML blocks surrounding the selected text.
+No new HTML elements are created.
+
+This plug-in only operates on the surrounding blocks and not the nearest
+parent node. This means that if a block encapsulates a node,
+e.g <p><span>text</span></p>, then only the styles in the block are
+recognized, not those in the span.
+
+When selecting text that includes multiple blocks at the same level (peers),
+this plug-in accumulates the specified styles in all of the surrounding blocks
+and populates the dialogue checkboxes accordingly. There is no differentiation
+between styles set in all the blocks versus styles set in some of the blocks.
+
+When the [Update] or [Apply] buttons are pressed, the styles selected in the
+checkboxes are applied to all blocks that surround the selected text.
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/tabfocus/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/tabfocus/editor_plugin.js
new file mode 100644
index 00000000..2c512916
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/tabfocus/editor_plugin.js
@@ -0,0 +1 @@
+(function(){var c=tinymce.DOM,a=tinymce.dom.Event,d=tinymce.each,b=tinymce.explode;tinymce.create("tinymce.plugins.TabFocusPlugin",{init:function(f,g){function e(i,j){if(j.keyCode===9){return a.cancel(j)}}function h(l,p){var j,m,o,n,k;function q(t){n=c.select(":input:enabled,*[tabindex]:not(iframe)");function s(v){return v.nodeName==="BODY"||(v.type!="hidden"&&!(v.style.display=="none")&&!(v.style.visibility=="hidden")&&s(v.parentNode))}function i(v){return v.attributes.tabIndex.specified||v.nodeName=="INPUT"||v.nodeName=="TEXTAREA"}function u(){return tinymce.isIE6||tinymce.isIE7}function r(v){return((!u()||i(v)))&&v.getAttribute("tabindex")!="-1"&&s(v)}d(n,function(w,v){if(w.id==l.id){j=v;return false}});if(t>0){for(m=j+1;m<n.length;m++){if(r(n[m])){return n[m]}}}else{for(m=j-1;m>=0;m--){if(r(n[m])){return n[m]}}}return null}if(p.keyCode===9){k=b(l.getParam("tab_focus",l.getParam("tabfocus_elements",":prev,:next")));if(k.length==1){k[1]=k[0];k[0]=":prev"}if(p.shiftKey){if(k[0]==":prev"){n=q(-1)}else{n=c.get(k[0])}}else{if(k[1]==":next"){n=q(1)}else{n=c.get(k[1])}}if(n){if(n.id&&(l=tinymce.get(n.id||n.name))){l.focus()}else{window.setTimeout(function(){if(!tinymce.isWebKit){window.focus()}n.focus()},10)}return a.cancel(p)}}}f.onKeyUp.add(e);if(tinymce.isGecko){f.onKeyPress.add(h);f.onKeyDown.add(e)}else{f.onKeyDown.add(h)}},getInfo:function(){return{longname:"Tabfocus",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/tabfocus",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("tabfocus",tinymce.plugins.TabFocusPlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/tabfocus/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/tabfocus/editor_plugin_src.js
new file mode 100644
index 00000000..94f45320
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/tabfocus/editor_plugin_src.js
@@ -0,0 +1,122 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ var DOM = tinymce.DOM, Event = tinymce.dom.Event, each = tinymce.each, explode = tinymce.explode;
+
+ tinymce.create('tinymce.plugins.TabFocusPlugin', {
+ init : function(ed, url) {
+ function tabCancel(ed, e) {
+ if (e.keyCode === 9)
+ return Event.cancel(e);
+ }
+
+ function tabHandler(ed, e) {
+ var x, i, f, el, v;
+
+ function find(d) {
+ el = DOM.select(':input:enabled,*[tabindex]:not(iframe)');
+
+ function canSelectRecursive(e) {
+ return e.nodeName==="BODY" || (e.type != 'hidden' &&
+ !(e.style.display == "none") &&
+ !(e.style.visibility == "hidden") && canSelectRecursive(e.parentNode));
+ }
+ function canSelectInOldIe(el) {
+ return el.attributes["tabIndex"].specified || el.nodeName == "INPUT" || el.nodeName == "TEXTAREA";
+ }
+ function isOldIe() {
+ return tinymce.isIE6 || tinymce.isIE7;
+ }
+ function canSelect(el) {
+ return ((!isOldIe() || canSelectInOldIe(el))) && el.getAttribute("tabindex") != '-1' && canSelectRecursive(el);
+ }
+
+ each(el, function(e, i) {
+ if (e.id == ed.id) {
+ x = i;
+ return false;
+ }
+ });
+ if (d > 0) {
+ for (i = x + 1; i < el.length; i++) {
+ if (canSelect(el[i]))
+ return el[i];
+ }
+ } else {
+ for (i = x - 1; i >= 0; i--) {
+ if (canSelect(el[i]))
+ return el[i];
+ }
+ }
+
+ return null;
+ }
+
+ if (e.keyCode === 9) {
+ v = explode(ed.getParam('tab_focus', ed.getParam('tabfocus_elements', ':prev,:next')));
+
+ if (v.length == 1) {
+ v[1] = v[0];
+ v[0] = ':prev';
+ }
+
+ // Find element to focus
+ if (e.shiftKey) {
+ if (v[0] == ':prev')
+ el = find(-1);
+ else
+ el = DOM.get(v[0]);
+ } else {
+ if (v[1] == ':next')
+ el = find(1);
+ else
+ el = DOM.get(v[1]);
+ }
+
+ if (el) {
+ if (el.id && (ed = tinymce.get(el.id || el.name)))
+ ed.focus();
+ else
+ window.setTimeout(function() {
+ if (!tinymce.isWebKit)
+ window.focus();
+ el.focus();
+ }, 10);
+
+ return Event.cancel(e);
+ }
+ }
+ }
+
+ ed.onKeyUp.add(tabCancel);
+
+ if (tinymce.isGecko) {
+ ed.onKeyPress.add(tabHandler);
+ ed.onKeyDown.add(tabCancel);
+ } else
+ ed.onKeyDown.add(tabHandler);
+
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Tabfocus',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/tabfocus',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('tabfocus', tinymce.plugins.TabFocusPlugin);
+})();
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/cell.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/cell.htm
new file mode 100755
index 00000000..a72a8d69
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/cell.htm
@@ -0,0 +1,180 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#table_dlg.cell_title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="../../utils/validate.js"></script>
+ <script type="text/javascript" src="../../utils/editable_selects.js"></script>
+ <script type="text/javascript" src="js/cell.js"></script>
+ <link href="css/cell.css" rel="stylesheet" type="text/css" />
+</head>
+<body id="tablecell" style="display: none" role="application">
+ <form onsubmit="updateAction();return false;" action="#">
+ <div class="tabs">
+ <ul>
+ <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#table_dlg.general_tab}</a></span></li>
+ <li id="advanced_tab" aria-controls="advanced_panel"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#table_dlg.advanced_tab}</a></span></li>
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="general_panel" class="panel current">
+ <fieldset>
+ <legend>{#table_dlg.general_props}</legend>
+
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td><label for="align">{#table_dlg.align}</label></td>
+ <td>
+ <select id="align" name="align" class="mceFocus">
+ <option value="">{#not_set}</option>
+ <option value="center">{#table_dlg.align_middle}</option>
+ <option value="left">{#table_dlg.align_left}</option>
+ <option value="right">{#table_dlg.align_right}</option>
+ </select>
+ </td>
+
+ <td><label for="celltype">{#table_dlg.cell_type}</label></td>
+ <td>
+ <select id="celltype" name="celltype">
+ <option value="td">{#table_dlg.td}</option>
+ <option value="th">{#table_dlg.th}</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="valign">{#table_dlg.valign}</label></td>
+ <td>
+ <select id="valign" name="valign">
+ <option value="">{#not_set}</option>
+ <option value="top">{#table_dlg.align_top}</option>
+ <option value="middle">{#table_dlg.align_middle}</option>
+ <option value="bottom">{#table_dlg.align_bottom}</option>
+ </select>
+ </td>
+
+ <td><label for="scope">{#table_dlg.scope}</label></td>
+ <td>
+ <select id="scope" name="scope">
+ <option value="">{#not_set}</option>
+ <option value="col">{#table.col}</option>
+ <option value="row">{#table.row}</option>
+ <option value="rowgroup">{#table_dlg.rowgroup}</option>
+ <option value="colgroup">{#table_dlg.colgroup}</option>
+ </select>
+ </td>
+
+ </tr>
+
+ <tr>
+ <td><label for="width">{#table_dlg.width}</label></td>
+ <td><input id="width" name="width" type="text" value="" size="7" maxlength="7" onchange="changedSize();" class="size" /></td>
+
+ <td><label for="height">{#table_dlg.height}</label></td>
+ <td><input id="height" name="height" type="text" value="" size="7" maxlength="7" onchange="changedSize();" class="size" /></td>
+ </tr>
+
+ <tr id="styleSelectRow">
+ <td><label for="class">{#class_name}</label></td>
+ <td colspan="3">
+ <select id="class" name="class" class="mceEditableSelect">
+ <option value="" selected="selected">{#not_set}</option>
+ </select>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+
+ <div id="advanced_panel" class="panel">
+ <fieldset>
+ <legend>{#table_dlg.advanced_props}</legend>
+
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="column1"><label for="id">{#table_dlg.id}</label></td>
+ <td><input id="id" name="id" type="text" value="" style="width: 200px" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="style">{#table_dlg.style}</label></td>
+ <td><input type="text" id="style" name="style" value="" style="width: 200px;" onchange="changedStyle();" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="dir">{#table_dlg.langdir}</label></td>
+ <td>
+ <select id="dir" name="dir" style="width: 200px">
+ <option value="">{#not_set}</option>
+ <option value="ltr">{#table_dlg.ltr}</option>
+ <option value="rtl">{#table_dlg.rtl}</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="lang">{#table_dlg.langcode}</label></td>
+ <td>
+ <input id="lang" name="lang" type="text" value="" style="width: 200px" />
+ </td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td>
+ <td id="backgroundimagebrowsercontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr role="group" aria-labelledby="bordercolor_label">
+ <td class="column1"><label id="bordercolor_label" for="bordercolor">{#table_dlg.bordercolor}</label></td>
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
+ <td id="bordercolor_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr role="group" aria-labelledby="bgcolor_label">
+ <td class="column1"><label id="bgcolor_label" for="bgcolor">{#table_dlg.bgcolor}</label></td>
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
+ <td id="bgcolor_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ </div>
+
+ <div class="mceActionPanel">
+ <div>
+ <select id="action" name="action">
+ <option value="cell">{#table_dlg.cell_cell}</option>
+ <option value="row">{#table_dlg.cell_row}</option>
+ <option value="col">{#table_dlg.cell_col}</option>
+ <option value="all">{#table_dlg.cell_all}</option>
+ </select>
+ </div>
+
+ <input type="submit" id="insert" name="insert" value="{#update}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+ </form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/cell.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/cell.css
new file mode 100755
index 00000000..a067ecdf
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/cell.css
@@ -0,0 +1,17 @@
+/* CSS file for cell dialog in the table plugin */
+
+.panel_wrapper div.current {
+ height: 200px;
+}
+
+.advfield {
+ width: 200px;
+}
+
+#action {
+ margin-bottom: 3px;
+}
+
+#class {
+ width: 150px;
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/row.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/row.css
new file mode 100755
index 00000000..1f7755da
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/row.css
@@ -0,0 +1,25 @@
+/* CSS file for row dialog in the table plugin */
+
+.panel_wrapper div.current {
+ height: 200px;
+}
+
+.advfield {
+ width: 200px;
+}
+
+#action {
+ margin-bottom: 3px;
+}
+
+#rowtype,#align,#valign,#class,#height {
+ width: 150px;
+}
+
+#height {
+ width: 50px;
+}
+
+.col2 {
+ padding-left: 20px;
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/table.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/table.css
new file mode 100755
index 00000000..d11c3f69
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/table.css
@@ -0,0 +1,13 @@
+/* CSS file for table dialog in the table plugin */
+
+.panel_wrapper div.current {
+ height: 245px;
+}
+
+.advfield {
+ width: 200px;
+}
+
+#class {
+ width: 150px;
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/editor_plugin.js
new file mode 100755
index 00000000..c4c3264e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/editor_plugin.js
@@ -0,0 +1 @@
+(function(d){var e=d.each;function c(g,h){var j=h.ownerDocument,f=j.createRange(),k;f.setStartBefore(h);f.setEnd(g.endContainer,g.endOffset);k=j.createElement("body");k.appendChild(f.cloneContents());return k.innerHTML.replace(/<(br|img|object|embed|input|textarea)[^>]*>/gi,"-").replace(/<[^>]+>/g,"").length==0}function a(g,f){return parseInt(g.getAttribute(f)||1)}function b(H,G,K){var g,L,D,o;t();o=G.getParent(K.getStart(),"th,td");if(o){L=F(o);D=I();o=z(L.x,L.y)}function A(N,M){N=N.cloneNode(M);N.removeAttribute("id");return N}function t(){var M=0;g=[];e(["thead","tbody","tfoot"],function(N){var O=G.select("> "+N+" tr",H);e(O,function(P,Q){Q+=M;e(G.select("> td, > th",P),function(W,R){var S,T,U,V;if(g[Q]){while(g[Q][R]){R++}}U=a(W,"rowspan");V=a(W,"colspan");for(T=Q;T<Q+U;T++){if(!g[T]){g[T]=[]}for(S=R;S<R+V;S++){g[T][S]={part:N,real:T==Q&&S==R,elm:W,rowspan:U,colspan:V}}}})});M+=O.length})}function z(M,O){var N;N=g[O];if(N){return N[M]}}function s(O,M,N){if(O){N=parseInt(N);if(N===1){O.removeAttribute(M,1)}else{O.setAttribute(M,N,1)}}}function j(M){return M&&(G.hasClass(M.elm,"mceSelected")||M==o)}function k(){var M=[];e(H.rows,function(N){e(N.cells,function(O){if(G.hasClass(O,"mceSelected")||O==o.elm){M.push(N);return false}})});return M}function r(){var M=G.createRng();M.setStartAfter(H);M.setEndAfter(H);K.setRng(M);G.remove(H)}function f(M){var N;d.walk(M,function(P){var O;if(P.nodeType==3){e(G.getParents(P.parentNode,null,M).reverse(),function(Q){Q=A(Q,false);if(!N){N=O=Q}else{if(O){O.appendChild(Q)}}O=Q});if(O){O.innerHTML=d.isIE?"&nbsp;":'<br data-mce-bogus="1" />'}return false}},"childNodes");M=A(M,false);s(M,"rowSpan",1);s(M,"colSpan",1);if(N){M.appendChild(N)}else{if(!d.isIE){M.innerHTML='<br data-mce-bogus="1" />'}}return M}function q(){var M=G.createRng();e(G.select("tr",H),function(N){if(N.cells.length==0){G.remove(N)}});if(G.select("tr",H).length==0){M.setStartAfter(H);M.setEndAfter(H);K.setRng(M);G.remove(H);return}e(G.select("thead,tbody,tfoot",H),function(N){if(N.rows.length==0){G.remove(N)}});t();row=g[Math.min(g.length-1,L.y)];if(row){K.select(row[Math.min(row.length-1,L.x)].elm,true);K.collapse(true)}}function u(S,Q,U,R){var P,N,M,O,T;P=g[Q][S].elm.parentNode;for(M=1;M<=U;M++){P=G.getNext(P,"tr");if(P){for(N=S;N>=0;N--){T=g[Q+M][N].elm;if(T.parentNode==P){for(O=1;O<=R;O++){G.insertAfter(f(T),T)}break}}if(N==-1){for(O=1;O<=R;O++){P.insertBefore(f(P.cells[0]),P.cells[0])}}}}}function C(){e(g,function(M,N){e(M,function(P,O){var S,R,T,Q;if(j(P)){P=P.elm;S=a(P,"colspan");R=a(P,"rowspan");if(S>1||R>1){s(P,"rowSpan",1);s(P,"colSpan",1);for(Q=0;Q<S-1;Q++){G.insertAfter(f(P),P)}u(O,N,R-1,S)}}})})}function p(V,S,Y){var P,O,X,W,U,R,T,M,V,N,Q;if(V){pos=F(V);P=pos.x;O=pos.y;X=P+(S-1);W=O+(Y-1)}else{L=D=null;e(g,function(Z,aa){e(Z,function(ac,ab){if(j(ac)){if(!L){L={x:ab,y:aa}}D={x:ab,y:aa}}})});P=L.x;O=L.y;X=D.x;W=D.y}T=z(P,O);M=z(X,W);if(T&&M&&T.part==M.part){C();t();T=z(P,O).elm;s(T,"colSpan",(X-P)+1);s(T,"rowSpan",(W-O)+1);for(R=O;R<=W;R++){for(U=P;U<=X;U++){if(!g[R]||!g[R][U]){continue}V=g[R][U].elm;if(V!=T){N=d.grep(V.childNodes);e(N,function(Z){T.appendChild(Z)});if(N.length){N=d.grep(T.childNodes);Q=0;e(N,function(Z){if(Z.nodeName=="BR"&&G.getAttrib(Z,"data-mce-bogus")&&Q++<N.length-1){T.removeChild(Z)}})}G.remove(V)}}}q()}}function l(Q){var M,S,P,R,T,U,N,V,O;e(g,function(W,X){e(W,function(Z,Y){if(j(Z)){Z=Z.elm;T=Z.parentNode;U=A(T,false);M=X;if(Q){return false}}});if(Q){return !M}});for(R=0;R<g[0].length;R++){if(!g[M][R]){continue}S=g[M][R].elm;if(S!=P){if(!Q){O=a(S,"rowspan");if(O>1){s(S,"rowSpan",O+1);continue}}else{if(M>0&&g[M-1][R]){V=g[M-1][R].elm;O=a(V,"rowSpan");if(O>1){s(V,"rowSpan",O+1);continue}}}N=f(S);s(N,"colSpan",S.colSpan);U.appendChild(N);P=S}}if(U.hasChildNodes()){if(!Q){G.insertAfter(U,T)}else{T.parentNode.insertBefore(U,T)}}}function h(N){var O,M;e(g,function(P,Q){e(P,function(S,R){if(j(S)){O=R;if(N){return false}}});if(N){return !O}});e(g,function(S,T){var P,Q,R;if(!S[O]){return}P=S[O].elm;if(P!=M){R=a(P,"colspan");Q=a(P,"rowspan");if(R==1){if(!N){G.insertAfter(f(P),P);u(O,T,Q-1,R)}else{P.parentNode.insertBefore(f(P),P);u(O,T,Q-1,R)}}else{s(P,"colSpan",P.colSpan+1)}M=P}})}function n(){var M=[];e(g,function(N,O){e(N,function(Q,P){if(j(Q)&&d.inArray(M,P)===-1){e(g,function(T){var R=T[P].elm,S;S=a(R,"colSpan");if(S>1){s(R,"colSpan",S-1)}else{G.remove(R)}});M.push(P)}})});q()}function m(){var N;function M(Q){var P,R,O;P=G.getNext(Q,"tr");e(Q.cells,function(S){var T=a(S,"rowSpan");if(T>1){s(S,"rowSpan",T-1);R=F(S);u(R.x,R.y,1,1)}});R=F(Q.cells[0]);e(g[R.y],function(S){var T;S=S.elm;if(S!=O){T=a(S,"rowSpan");if(T<=1){G.remove(S)}else{s(S,"rowSpan",T-1)}O=S}})}N=k();e(N.reverse(),function(O){M(O)});q()}function E(){var M=k();G.remove(M);q();return M}function J(){var M=k();e(M,function(O,N){M[N]=A(O,true)});return M}function B(O,N){var P=k(),M=P[N?0:P.length-1],Q=M.cells.length;e(g,function(S){var R;Q=0;e(S,function(U,T){if(U.real){Q+=U.colspan}if(U.elm.parentNode==M){R=1}});if(R){return false}});if(!N){O.reverse()}e(O,function(T){var S=T.cells.length,R;for(i=0;i<S;i++){R=T.cells[i];s(R,"colSpan",1);s(R,"rowSpan",1)}for(i=S;i<Q;i++){T.appendChild(f(T.cells[S-1]))}for(i=Q;i<S;i++){G.remove(T.cells[i])}if(N){M.parentNode.insertBefore(T,M)}else{G.insertAfter(T,M)}});G.removeClass(G.select("td.mceSelected,th.mceSelected"),"mceSelected")}function F(M){var N;e(g,function(O,P){e(O,function(R,Q){if(R.elm==M){N={x:Q,y:P};return false}});return !N});return N}function w(M){L=F(M)}function I(){var O,N,M;N=M=0;e(g,function(P,Q){e(P,function(S,R){var U,T;if(j(S)){S=g[Q][R];if(R>N){N=R}if(Q>M){M=Q}if(S.real){U=S.colspan-1;T=S.rowspan-1;if(U){if(R+U>N){N=R+U}}if(T){if(Q+T>M){M=Q+T}}}}})});return{x:N,y:M}}function v(S){var P,O,U,T,N,M,Q,R;D=F(S);if(L&&D){P=Math.min(L.x,D.x);O=Math.min(L.y,D.y);U=Math.max(L.x,D.x);T=Math.max(L.y,D.y);N=U;M=T;for(y=O;y<=M;y++){S=g[y][P];if(!S.real){if(P-(S.colspan-1)<P){P-=S.colspan-1}}}for(x=P;x<=N;x++){S=g[O][x];if(!S.real){if(O-(S.rowspan-1)<O){O-=S.rowspan-1}}}for(y=O;y<=T;y++){for(x=P;x<=U;x++){S=g[y][x];if(S.real){Q=S.colspan-1;R=S.rowspan-1;if(Q){if(x+Q>N){N=x+Q}}if(R){if(y+R>M){M=y+R}}}}}G.removeClass(G.select("td.mceSelected,th.mceSelected"),"mceSelected");for(y=O;y<=M;y++){for(x=P;x<=N;x++){if(g[y][x]){G.addClass(g[y][x].elm,"mceSelected")}}}}}d.extend(this,{deleteTable:r,split:C,merge:p,insertRow:l,insertCol:h,deleteCols:n,deleteRows:m,cutRows:E,copyRows:J,pasteRows:B,getPos:F,setStartCell:w,setEndCell:v})}d.create("tinymce.plugins.TablePlugin",{init:function(g,h){var f,m,j=true;function l(p){var o=g.selection,n=g.dom.getParent(p||o.getNode(),"table");if(n){return new b(n,g.dom,o)}}function k(){g.getBody().style.webkitUserSelect="";if(j){g.dom.removeClass(g.dom.select("td.mceSelected,th.mceSelected"),"mceSelected");j=false}}e([["table","table.desc","mceInsertTable",true],["delete_table","table.del","mceTableDelete"],["delete_col","table.delete_col_desc","mceTableDeleteCol"],["delete_row","table.delete_row_desc","mceTableDeleteRow"],["col_after","table.col_after_desc","mceTableInsertColAfter"],["col_before","table.col_before_desc","mceTableInsertColBefore"],["row_after","table.row_after_desc","mceTableInsertRowAfter"],["row_before","table.row_before_desc","mceTableInsertRowBefore"],["row_props","table.row_desc","mceTableRowProps",true],["cell_props","table.cell_desc","mceTableCellProps",true],["split_cells","table.split_cells_desc","mceTableSplitCells",true],["merge_cells","table.merge_cells_desc","mceTableMergeCells",true]],function(n){g.addButton(n[0],{title:n[1],cmd:n[2],ui:n[3]})});if(!d.isIE){g.onClick.add(function(n,o){o=o.target;if(o.nodeName==="TABLE"){n.selection.select(o);n.nodeChanged()}})}g.onPreProcess.add(function(o,p){var n,q,r,t=o.dom,s;n=t.select("table",p.node);q=n.length;while(q--){r=n[q];t.setAttrib(r,"data-mce-style","");if((s=t.getAttrib(r,"width"))){t.setStyle(r,"width",s);t.setAttrib(r,"width","")}if((s=t.getAttrib(r,"height"))){t.setStyle(r,"height",s);t.setAttrib(r,"height","")}}});g.onNodeChange.add(function(q,o,s){var r;s=q.selection.getStart();r=q.dom.getParent(s,"td,th,caption");o.setActive("table",s.nodeName==="TABLE"||!!r);if(r&&r.nodeName==="CAPTION"){r=0}o.setDisabled("delete_table",!r);o.setDisabled("delete_col",!r);o.setDisabled("delete_table",!r);o.setDisabled("delete_row",!r);o.setDisabled("col_after",!r);o.setDisabled("col_before",!r);o.setDisabled("row_after",!r);o.setDisabled("row_before",!r);o.setDisabled("row_props",!r);o.setDisabled("cell_props",!r);o.setDisabled("split_cells",!r);o.setDisabled("merge_cells",!r)});g.onInit.add(function(r){var p,t,q=r.dom,u;f=r.windowManager;r.onMouseDown.add(function(w,z){if(z.button!=2){k();t=q.getParent(z.target,"td,th");p=q.getParent(t,"table")}});q.bind(r.getDoc(),"mouseover",function(C){var A,z,B=C.target;if(t&&(u||B!=t)&&(B.nodeName=="TD"||B.nodeName=="TH")){z=q.getParent(B,"table");if(z==p){if(!u){u=l(z);u.setStartCell(t);r.getBody().style.webkitUserSelect="none"}u.setEndCell(B);j=true}A=r.selection.getSel();try{if(A.removeAllRanges){A.removeAllRanges()}else{A.empty()}}catch(w){}C.preventDefault()}});r.onMouseUp.add(function(F,G){var z,B=F.selection,H,I=B.getSel(),w,C,A,E;if(t){if(u){F.getBody().style.webkitUserSelect=""}function D(J,L){var K=new d.dom.TreeWalker(J,J);do{if(J.nodeType==3&&d.trim(J.nodeValue).length!=0){if(L){z.setStart(J,0)}else{z.setEnd(J,J.nodeValue.length)}return}if(J.nodeName=="BR"){if(L){z.setStartBefore(J)}else{z.setEndBefore(J)}return}}while(J=(L?K.next():K.prev()))}H=q.select("td.mceSelected,th.mceSelected");if(H.length>0){z=q.createRng();C=H[0];E=H[H.length-1];z.setStartBefore(C);z.setEndAfter(C);D(C,1);w=new d.dom.TreeWalker(C,q.getParent(H[0],"table"));do{if(C.nodeName=="TD"||C.nodeName=="TH"){if(!q.hasClass(C,"mceSelected")){break}A=C}}while(C=w.next());D(A);B.setRng(z)}F.nodeChanged();t=u=p=null}});r.onKeyUp.add(function(w,z){k()});r.onKeyDown.add(function(w,z){n(w)});r.onMouseDown.add(function(w,z){if(z.button!=2){n(w)}});function o(D,z,A,F){var B=3,G=D.dom.getParent(z.startContainer,"TABLE"),C,w,E;if(G){C=G.parentNode}w=z.startContainer.nodeType==B&&z.startOffset==0&&z.endOffset==0&&F&&(A.nodeName=="TR"||A==C);E=(A.nodeName=="TD"||A.nodeName=="TH")&&!F;return w||E}function n(A){if(!d.isWebKit){return}var z=A.selection.getRng();var C=A.selection.getNode();var B=A.dom.getParent(z.startContainer,"TD,TH");if(!o(A,z,C,B)){return}if(!B){B=C}var w=B.lastChild;while(w.lastChild){w=w.lastChild}z.setEnd(w,w.nodeValue.length);A.selection.setRng(z)}r.plugins.table.fixTableCellSelection=n;if(r&&r.plugins.contextmenu){r.plugins.contextmenu.onContextMenu.add(function(A,w,C){var D,B=r.selection,z=B.getNode()||r.getBody();if(r.dom.getParent(C,"td")||r.dom.getParent(C,"th")||r.dom.select("td.mceSelected,th.mceSelected").length){w.removeAll();if(z.nodeName=="A"&&!r.dom.getAttrib(z,"name")){w.add({title:"advanced.link_desc",icon:"link",cmd:r.plugins.advlink?"mceAdvLink":"mceLink",ui:true});w.add({title:"advanced.unlink_desc",icon:"unlink",cmd:"UnLink"});w.addSeparator()}if(z.nodeName=="IMG"&&z.className.indexOf("mceItem")==-1){w.add({title:"advanced.image_desc",icon:"image",cmd:r.plugins.advimage?"mceAdvImage":"mceImage",ui:true});w.addSeparator()}w.add({title:"table.desc",icon:"table",cmd:"mceInsertTable",value:{action:"insert"}});w.add({title:"table.props_desc",icon:"table_props",cmd:"mceInsertTable"});w.add({title:"table.del",icon:"delete_table",cmd:"mceTableDelete"});w.addSeparator();D=w.addMenu({title:"table.cell"});D.add({title:"table.cell_desc",icon:"cell_props",cmd:"mceTableCellProps"});D.add({title:"table.split_cells_desc",icon:"split_cells",cmd:"mceTableSplitCells"});D.add({title:"table.merge_cells_desc",icon:"merge_cells",cmd:"mceTableMergeCells"});D=w.addMenu({title:"table.row"});D.add({title:"table.row_desc",icon:"row_props",cmd:"mceTableRowProps"});D.add({title:"table.row_before_desc",icon:"row_before",cmd:"mceTableInsertRowBefore"});D.add({title:"table.row_after_desc",icon:"row_after",cmd:"mceTableInsertRowAfter"});D.add({title:"table.delete_row_desc",icon:"delete_row",cmd:"mceTableDeleteRow"});D.addSeparator();D.add({title:"table.cut_row_desc",icon:"cut",cmd:"mceTableCutRow"});D.add({title:"table.copy_row_desc",icon:"copy",cmd:"mceTableCopyRow"});D.add({title:"table.paste_row_before_desc",icon:"paste",cmd:"mceTablePasteRowBefore"}).setDisabled(!m);D.add({title:"table.paste_row_after_desc",icon:"paste",cmd:"mceTablePasteRowAfter"}).setDisabled(!m);D=w.addMenu({title:"table.col"});D.add({title:"table.col_before_desc",icon:"col_before",cmd:"mceTableInsertColBefore"});D.add({title:"table.col_after_desc",icon:"col_after",cmd:"mceTableInsertColAfter"});D.add({title:"table.delete_col_desc",icon:"delete_col",cmd:"mceTableDeleteCol"})}else{w.add({title:"table.desc",icon:"table",cmd:"mceInsertTable"})}})}if(d.isWebKit){function v(C,N){var L=d.VK;var Q=N.keyCode;function O(Y,U,S){var T=Y?"previousSibling":"nextSibling";var Z=C.dom.getParent(U,"tr");var X=Z[T];if(X){z(C,U,X,Y);d.dom.Event.cancel(S);return true}else{var aa=C.dom.getParent(Z,"table");var W=Z.parentNode;var R=W.nodeName.toLowerCase();if(R==="tbody"||R===(Y?"tfoot":"thead")){var V=w(Y,aa,W,"tbody");if(V!==null){return K(Y,V,U,S)}}return M(Y,Z,T,aa,S)}}function w(V,T,U,X){var S=C.dom.select(">"+X,T);var R=S.indexOf(U);if(V&&R===0||!V&&R===S.length-1){return B(V,T)}else{if(R===-1){var W=U.tagName.toLowerCase()==="thead"?0:S.length-1;return S[W]}else{return S[R+(V?-1:1)]}}}function B(U,T){var S=U?"thead":"tfoot";var R=C.dom.select(">"+S,T);return R.length!==0?R[0]:null}function K(V,T,S,U){var R=J(T,V);R&&z(C,S,R,V);d.dom.Event.cancel(U);return true}function M(Y,U,R,X,W){var S=X[R];if(S){F(S);return true}else{var V=C.dom.getParent(X,"td,th");if(V){return O(Y,V,W)}else{var T=J(U,!Y);F(T);return d.dom.Event.cancel(W)}}}function J(S,R){var T=S&&S[R?"lastChild":"firstChild"];return T&&T.nodeName==="BR"?C.dom.getParent(T,"td,th"):T}function F(R){C.selection.setCursorLocation(R,0)}function A(){return Q==L.UP||Q==L.DOWN}function D(R){var T=R.selection.getNode();var S=R.dom.getParent(T,"tr");return S!==null}function P(S){var R=0;var T=S;while(T.previousSibling){T=T.previousSibling;R=R+a(T,"colspan")}return R}function E(T,R){var U=0;var S=0;e(T.children,function(V,W){U=U+a(V,"colspan");S=W;if(U>R){return false}});return S}function z(T,W,Y,V){var X=P(T.dom.getParent(W,"td,th"));var S=E(Y,X);var R=Y.childNodes[S];var U=J(R,V);F(U||R)}function H(R){var T=C.selection.getNode();var U=C.dom.getParent(T,"td,th");var S=C.dom.getParent(R,"td,th");return U&&U!==S&&I(U,S)}function I(S,R){return C.dom.getParent(S,"TABLE")===C.dom.getParent(R,"TABLE")}if(A()&&D(C)){var G=C.selection.getNode();setTimeout(function(){if(H(G)){O(!N.shiftKey&&Q===L.UP,G,N)}},0)}}r.onKeyDown.add(v)}function s(){var w;for(w=r.getBody().lastChild;w&&w.nodeType==3&&!w.nodeValue.length;w=w.previousSibling){}if(w&&w.nodeName=="TABLE"){if(r.settings.forced_root_block){r.dom.add(r.getBody(),r.settings.forced_root_block,null,d.isIE?"&nbsp;":'<br data-mce-bogus="1" />')}else{r.dom.add(r.getBody(),"br",{"data-mce-bogus":"1"})}}}if(d.isGecko){r.onKeyDown.add(function(z,B){var w,A,C=z.dom;if(B.keyCode==37||B.keyCode==38){w=z.selection.getRng();A=C.getParent(w.startContainer,"table");if(A&&z.getBody().firstChild==A){if(c(w,A)){w=C.createRng();w.setStartBefore(A);w.setEndBefore(A);z.selection.setRng(w);B.preventDefault()}}}})}r.onKeyUp.add(s);r.onSetContent.add(s);r.onVisualAid.add(s);r.onPreProcess.add(function(w,A){var z=A.node.lastChild;if(z&&(z.nodeName=="BR"||(z.childNodes.length==1&&(z.firstChild.nodeName=="BR"||z.firstChild.nodeValue=="\u00a0")))&&z.previousSibling&&z.previousSibling.nodeName=="TABLE"){w.dom.remove(z)}});s();r.startContent=r.getContent({format:"raw"})});e({mceTableSplitCells:function(n){n.split()},mceTableMergeCells:function(o){var p,q,n;n=g.dom.getParent(g.selection.getNode(),"th,td");if(n){p=n.rowSpan;q=n.colSpan}if(!g.dom.select("td.mceSelected,th.mceSelected").length){f.open({url:h+"/merge_cells.htm",width:240+parseInt(g.getLang("table.merge_cells_delta_width",0)),height:110+parseInt(g.getLang("table.merge_cells_delta_height",0)),inline:1},{rows:p,cols:q,onaction:function(r){o.merge(n,r.cols,r.rows)},plugin_url:h})}else{o.merge()}},mceTableInsertRowBefore:function(n){n.insertRow(true)},mceTableInsertRowAfter:function(n){n.insertRow()},mceTableInsertColBefore:function(n){n.insertCol(true)},mceTableInsertColAfter:function(n){n.insertCol()},mceTableDeleteCol:function(n){n.deleteCols()},mceTableDeleteRow:function(n){n.deleteRows()},mceTableCutRow:function(n){m=n.cutRows()},mceTableCopyRow:function(n){m=n.copyRows()},mceTablePasteRowBefore:function(n){n.pasteRows(m,true)},mceTablePasteRowAfter:function(n){n.pasteRows(m)},mceTableDelete:function(n){n.deleteTable()}},function(o,n){g.addCommand(n,function(){var p=l();if(p){o(p);g.execCommand("mceRepaint");k()}})});e({mceInsertTable:function(n){f.open({url:h+"/table.htm",width:400+parseInt(g.getLang("table.table_delta_width",0)),height:320+parseInt(g.getLang("table.table_delta_height",0)),inline:1},{plugin_url:h,action:n?n.action:0})},mceTableRowProps:function(){f.open({url:h+"/row.htm",width:400+parseInt(g.getLang("table.rowprops_delta_width",0)),height:295+parseInt(g.getLang("table.rowprops_delta_height",0)),inline:1},{plugin_url:h})},mceTableCellProps:function(){f.open({url:h+"/cell.htm",width:400+parseInt(g.getLang("table.cellprops_delta_width",0)),height:295+parseInt(g.getLang("table.cellprops_delta_height",0)),inline:1},{plugin_url:h})}},function(o,n){g.addCommand(n,function(p,q){o(q)})})}});d.PluginManager.add("table",d.plugins.TablePlugin)})(tinymce); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/editor_plugin_src.js
new file mode 100755
index 00000000..dc20b386
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/editor_plugin_src.js
@@ -0,0 +1,1452 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function(tinymce) {
+ var each = tinymce.each;
+
+ // Checks if the selection/caret is at the start of the specified block element
+ function isAtStart(rng, par) {
+ var doc = par.ownerDocument, rng2 = doc.createRange(), elm;
+
+ rng2.setStartBefore(par);
+ rng2.setEnd(rng.endContainer, rng.endOffset);
+
+ elm = doc.createElement('body');
+ elm.appendChild(rng2.cloneContents());
+
+ // Check for text characters of other elements that should be treated as content
+ return elm.innerHTML.replace(/<(br|img|object|embed|input|textarea)[^>]*>/gi, '-').replace(/<[^>]+>/g, '').length == 0;
+ };
+
+ function getSpanVal(td, name) {
+ return parseInt(td.getAttribute(name) || 1);
+ }
+
+ /**
+ * Table Grid class.
+ */
+ function TableGrid(table, dom, selection) {
+ var grid, startPos, endPos, selectedCell;
+
+ buildGrid();
+ selectedCell = dom.getParent(selection.getStart(), 'th,td');
+ if (selectedCell) {
+ startPos = getPos(selectedCell);
+ endPos = findEndPos();
+ selectedCell = getCell(startPos.x, startPos.y);
+ }
+
+ function cloneNode(node, children) {
+ node = node.cloneNode(children);
+ node.removeAttribute('id');
+
+ return node;
+ }
+
+ function buildGrid() {
+ var startY = 0;
+
+ grid = [];
+
+ each(['thead', 'tbody', 'tfoot'], function(part) {
+ var rows = dom.select('> ' + part + ' tr', table);
+
+ each(rows, function(tr, y) {
+ y += startY;
+
+ each(dom.select('> td, > th', tr), function(td, x) {
+ var x2, y2, rowspan, colspan;
+
+ // Skip over existing cells produced by rowspan
+ if (grid[y]) {
+ while (grid[y][x])
+ x++;
+ }
+
+ // Get col/rowspan from cell
+ rowspan = getSpanVal(td, 'rowspan');
+ colspan = getSpanVal(td, 'colspan');
+
+ // Fill out rowspan/colspan right and down
+ for (y2 = y; y2 < y + rowspan; y2++) {
+ if (!grid[y2])
+ grid[y2] = [];
+
+ for (x2 = x; x2 < x + colspan; x2++) {
+ grid[y2][x2] = {
+ part : part,
+ real : y2 == y && x2 == x,
+ elm : td,
+ rowspan : rowspan,
+ colspan : colspan
+ };
+ }
+ }
+ });
+ });
+
+ startY += rows.length;
+ });
+ };
+
+ function getCell(x, y) {
+ var row;
+
+ row = grid[y];
+ if (row)
+ return row[x];
+ };
+
+ function setSpanVal(td, name, val) {
+ if (td) {
+ val = parseInt(val);
+
+ if (val === 1)
+ td.removeAttribute(name, 1);
+ else
+ td.setAttribute(name, val, 1);
+ }
+ }
+
+ function isCellSelected(cell) {
+ return cell && (dom.hasClass(cell.elm, 'mceSelected') || cell == selectedCell);
+ };
+
+ function getSelectedRows() {
+ var rows = [];
+
+ each(table.rows, function(row) {
+ each(row.cells, function(cell) {
+ if (dom.hasClass(cell, 'mceSelected') || cell == selectedCell.elm) {
+ rows.push(row);
+ return false;
+ }
+ });
+ });
+
+ return rows;
+ };
+
+ function deleteTable() {
+ var rng = dom.createRng();
+
+ rng.setStartAfter(table);
+ rng.setEndAfter(table);
+
+ selection.setRng(rng);
+
+ dom.remove(table);
+ };
+
+ function cloneCell(cell) {
+ var formatNode;
+
+ // Clone formats
+ tinymce.walk(cell, function(node) {
+ var curNode;
+
+ if (node.nodeType == 3) {
+ each(dom.getParents(node.parentNode, null, cell).reverse(), function(node) {
+ node = cloneNode(node, false);
+
+ if (!formatNode)
+ formatNode = curNode = node;
+ else if (curNode)
+ curNode.appendChild(node);
+
+ curNode = node;
+ });
+
+ // Add something to the inner node
+ if (curNode)
+ curNode.innerHTML = tinymce.isIE ? '&nbsp;' : '<br data-mce-bogus="1" />';
+
+ return false;
+ }
+ }, 'childNodes');
+
+ cell = cloneNode(cell, false);
+ setSpanVal(cell, 'rowSpan', 1);
+ setSpanVal(cell, 'colSpan', 1);
+
+ if (formatNode) {
+ cell.appendChild(formatNode);
+ } else {
+ if (!tinymce.isIE)
+ cell.innerHTML = '<br data-mce-bogus="1" />';
+ }
+
+ return cell;
+ };
+
+ function cleanup() {
+ var rng = dom.createRng();
+
+ // Empty rows
+ each(dom.select('tr', table), function(tr) {
+ if (tr.cells.length == 0)
+ dom.remove(tr);
+ });
+
+ // Empty table
+ if (dom.select('tr', table).length == 0) {
+ rng.setStartAfter(table);
+ rng.setEndAfter(table);
+ selection.setRng(rng);
+ dom.remove(table);
+ return;
+ }
+
+ // Empty header/body/footer
+ each(dom.select('thead,tbody,tfoot', table), function(part) {
+ if (part.rows.length == 0)
+ dom.remove(part);
+ });
+
+ // Restore selection to start position if it still exists
+ buildGrid();
+
+ // Restore the selection to the closest table position
+ row = grid[Math.min(grid.length - 1, startPos.y)];
+ if (row) {
+ selection.select(row[Math.min(row.length - 1, startPos.x)].elm, true);
+ selection.collapse(true);
+ }
+ };
+
+ function fillLeftDown(x, y, rows, cols) {
+ var tr, x2, r, c, cell;
+
+ tr = grid[y][x].elm.parentNode;
+ for (r = 1; r <= rows; r++) {
+ tr = dom.getNext(tr, 'tr');
+
+ if (tr) {
+ // Loop left to find real cell
+ for (x2 = x; x2 >= 0; x2--) {
+ cell = grid[y + r][x2].elm;
+
+ if (cell.parentNode == tr) {
+ // Append clones after
+ for (c = 1; c <= cols; c++)
+ dom.insertAfter(cloneCell(cell), cell);
+
+ break;
+ }
+ }
+
+ if (x2 == -1) {
+ // Insert nodes before first cell
+ for (c = 1; c <= cols; c++)
+ tr.insertBefore(cloneCell(tr.cells[0]), tr.cells[0]);
+ }
+ }
+ }
+ };
+
+ function split() {
+ each(grid, function(row, y) {
+ each(row, function(cell, x) {
+ var colSpan, rowSpan, newCell, i;
+
+ if (isCellSelected(cell)) {
+ cell = cell.elm;
+ colSpan = getSpanVal(cell, 'colspan');
+ rowSpan = getSpanVal(cell, 'rowspan');
+
+ if (colSpan > 1 || rowSpan > 1) {
+ setSpanVal(cell, 'rowSpan', 1);
+ setSpanVal(cell, 'colSpan', 1);
+
+ // Insert cells right
+ for (i = 0; i < colSpan - 1; i++)
+ dom.insertAfter(cloneCell(cell), cell);
+
+ fillLeftDown(x, y, rowSpan - 1, colSpan);
+ }
+ }
+ });
+ });
+ };
+
+ function merge(cell, cols, rows) {
+ var startX, startY, endX, endY, x, y, startCell, endCell, cell, children, count;
+
+ // Use specified cell and cols/rows
+ if (cell) {
+ pos = getPos(cell);
+ startX = pos.x;
+ startY = pos.y;
+ endX = startX + (cols - 1);
+ endY = startY + (rows - 1);
+ } else {
+ startPos = endPos = null;
+
+ // Calculate start/end pos by checking for selected cells in grid works better with context menu
+ each(grid, function(row, y) {
+ each(row, function(cell, x) {
+ if (isCellSelected(cell)) {
+ if (!startPos) {
+ startPos = {x: x, y: y};
+ }
+
+ endPos = {x: x, y: y};
+ }
+ });
+ });
+
+ // Use selection
+ startX = startPos.x;
+ startY = startPos.y;
+ endX = endPos.x;
+ endY = endPos.y;
+ }
+
+ // Find start/end cells
+ startCell = getCell(startX, startY);
+ endCell = getCell(endX, endY);
+
+ // Check if the cells exists and if they are of the same part for example tbody = tbody
+ if (startCell && endCell && startCell.part == endCell.part) {
+ // Split and rebuild grid
+ split();
+ buildGrid();
+
+ // Set row/col span to start cell
+ startCell = getCell(startX, startY).elm;
+ setSpanVal(startCell, 'colSpan', (endX - startX) + 1);
+ setSpanVal(startCell, 'rowSpan', (endY - startY) + 1);
+
+ // Remove other cells and add it's contents to the start cell
+ for (y = startY; y <= endY; y++) {
+ for (x = startX; x <= endX; x++) {
+ if (!grid[y] || !grid[y][x])
+ continue;
+
+ cell = grid[y][x].elm;
+
+ if (cell != startCell) {
+ // Move children to startCell
+ children = tinymce.grep(cell.childNodes);
+ each(children, function(node) {
+ startCell.appendChild(node);
+ });
+
+ // Remove bogus nodes if there is children in the target cell
+ if (children.length) {
+ children = tinymce.grep(startCell.childNodes);
+ count = 0;
+ each(children, function(node) {
+ if (node.nodeName == 'BR' && dom.getAttrib(node, 'data-mce-bogus') && count++ < children.length - 1)
+ startCell.removeChild(node);
+ });
+ }
+
+ // Remove cell
+ dom.remove(cell);
+ }
+ }
+ }
+
+ // Remove empty rows etc and restore caret location
+ cleanup();
+ }
+ };
+
+ function insertRow(before) {
+ var posY, cell, lastCell, x, rowElm, newRow, newCell, otherCell, rowSpan;
+
+ // Find first/last row
+ each(grid, function(row, y) {
+ each(row, function(cell, x) {
+ if (isCellSelected(cell)) {
+ cell = cell.elm;
+ rowElm = cell.parentNode;
+ newRow = cloneNode(rowElm, false);
+ posY = y;
+
+ if (before)
+ return false;
+ }
+ });
+
+ if (before)
+ return !posY;
+ });
+
+ for (x = 0; x < grid[0].length; x++) {
+ // Cell not found could be because of an invalid table structure
+ if (!grid[posY][x])
+ continue;
+
+ cell = grid[posY][x].elm;
+
+ if (cell != lastCell) {
+ if (!before) {
+ rowSpan = getSpanVal(cell, 'rowspan');
+ if (rowSpan > 1) {
+ setSpanVal(cell, 'rowSpan', rowSpan + 1);
+ continue;
+ }
+ } else {
+ // Check if cell above can be expanded
+ if (posY > 0 && grid[posY - 1][x]) {
+ otherCell = grid[posY - 1][x].elm;
+ rowSpan = getSpanVal(otherCell, 'rowSpan');
+ if (rowSpan > 1) {
+ setSpanVal(otherCell, 'rowSpan', rowSpan + 1);
+ continue;
+ }
+ }
+ }
+
+ // Insert new cell into new row
+ newCell = cloneCell(cell);
+ setSpanVal(newCell, 'colSpan', cell.colSpan);
+
+ newRow.appendChild(newCell);
+
+ lastCell = cell;
+ }
+ }
+
+ if (newRow.hasChildNodes()) {
+ if (!before)
+ dom.insertAfter(newRow, rowElm);
+ else
+ rowElm.parentNode.insertBefore(newRow, rowElm);
+ }
+ };
+
+ function insertCol(before) {
+ var posX, lastCell;
+
+ // Find first/last column
+ each(grid, function(row, y) {
+ each(row, function(cell, x) {
+ if (isCellSelected(cell)) {
+ posX = x;
+
+ if (before)
+ return false;
+ }
+ });
+
+ if (before)
+ return !posX;
+ });
+
+ each(grid, function(row, y) {
+ var cell, rowSpan, colSpan;
+
+ if (!row[posX])
+ return;
+
+ cell = row[posX].elm;
+ if (cell != lastCell) {
+ colSpan = getSpanVal(cell, 'colspan');
+ rowSpan = getSpanVal(cell, 'rowspan');
+
+ if (colSpan == 1) {
+ if (!before) {
+ dom.insertAfter(cloneCell(cell), cell);
+ fillLeftDown(posX, y, rowSpan - 1, colSpan);
+ } else {
+ cell.parentNode.insertBefore(cloneCell(cell), cell);
+ fillLeftDown(posX, y, rowSpan - 1, colSpan);
+ }
+ } else
+ setSpanVal(cell, 'colSpan', cell.colSpan + 1);
+
+ lastCell = cell;
+ }
+ });
+ };
+
+ function deleteCols() {
+ var cols = [];
+
+ // Get selected column indexes
+ each(grid, function(row, y) {
+ each(row, function(cell, x) {
+ if (isCellSelected(cell) && tinymce.inArray(cols, x) === -1) {
+ each(grid, function(row) {
+ var cell = row[x].elm, colSpan;
+
+ colSpan = getSpanVal(cell, 'colSpan');
+
+ if (colSpan > 1)
+ setSpanVal(cell, 'colSpan', colSpan - 1);
+ else
+ dom.remove(cell);
+ });
+
+ cols.push(x);
+ }
+ });
+ });
+
+ cleanup();
+ };
+
+ function deleteRows() {
+ var rows;
+
+ function deleteRow(tr) {
+ var nextTr, pos, lastCell;
+
+ nextTr = dom.getNext(tr, 'tr');
+
+ // Move down row spanned cells
+ each(tr.cells, function(cell) {
+ var rowSpan = getSpanVal(cell, 'rowSpan');
+
+ if (rowSpan > 1) {
+ setSpanVal(cell, 'rowSpan', rowSpan - 1);
+ pos = getPos(cell);
+ fillLeftDown(pos.x, pos.y, 1, 1);
+ }
+ });
+
+ // Delete cells
+ pos = getPos(tr.cells[0]);
+ each(grid[pos.y], function(cell) {
+ var rowSpan;
+
+ cell = cell.elm;
+
+ if (cell != lastCell) {
+ rowSpan = getSpanVal(cell, 'rowSpan');
+
+ if (rowSpan <= 1)
+ dom.remove(cell);
+ else
+ setSpanVal(cell, 'rowSpan', rowSpan - 1);
+
+ lastCell = cell;
+ }
+ });
+ };
+
+ // Get selected rows and move selection out of scope
+ rows = getSelectedRows();
+
+ // Delete all selected rows
+ each(rows.reverse(), function(tr) {
+ deleteRow(tr);
+ });
+
+ cleanup();
+ };
+
+ function cutRows() {
+ var rows = getSelectedRows();
+
+ dom.remove(rows);
+ cleanup();
+
+ return rows;
+ };
+
+ function copyRows() {
+ var rows = getSelectedRows();
+
+ each(rows, function(row, i) {
+ rows[i] = cloneNode(row, true);
+ });
+
+ return rows;
+ };
+
+ function pasteRows(rows, before) {
+ var selectedRows = getSelectedRows(),
+ targetRow = selectedRows[before ? 0 : selectedRows.length - 1],
+ targetCellCount = targetRow.cells.length;
+
+ // Calc target cell count
+ each(grid, function(row) {
+ var match;
+
+ targetCellCount = 0;
+ each(row, function(cell, x) {
+ if (cell.real)
+ targetCellCount += cell.colspan;
+
+ if (cell.elm.parentNode == targetRow)
+ match = 1;
+ });
+
+ if (match)
+ return false;
+ });
+
+ if (!before)
+ rows.reverse();
+
+ each(rows, function(row) {
+ var cellCount = row.cells.length, cell;
+
+ // Remove col/rowspans
+ for (i = 0; i < cellCount; i++) {
+ cell = row.cells[i];
+ setSpanVal(cell, 'colSpan', 1);
+ setSpanVal(cell, 'rowSpan', 1);
+ }
+
+ // Needs more cells
+ for (i = cellCount; i < targetCellCount; i++)
+ row.appendChild(cloneCell(row.cells[cellCount - 1]));
+
+ // Needs less cells
+ for (i = targetCellCount; i < cellCount; i++)
+ dom.remove(row.cells[i]);
+
+ // Add before/after
+ if (before)
+ targetRow.parentNode.insertBefore(row, targetRow);
+ else
+ dom.insertAfter(row, targetRow);
+ });
+
+ // Remove current selection
+ dom.removeClass(dom.select('td.mceSelected,th.mceSelected'), 'mceSelected');
+ };
+
+ function getPos(target) {
+ var pos;
+
+ each(grid, function(row, y) {
+ each(row, function(cell, x) {
+ if (cell.elm == target) {
+ pos = {x : x, y : y};
+ return false;
+ }
+ });
+
+ return !pos;
+ });
+
+ return pos;
+ };
+
+ function setStartCell(cell) {
+ startPos = getPos(cell);
+ };
+
+ function findEndPos() {
+ var pos, maxX, maxY;
+
+ maxX = maxY = 0;
+
+ each(grid, function(row, y) {
+ each(row, function(cell, x) {
+ var colSpan, rowSpan;
+
+ if (isCellSelected(cell)) {
+ cell = grid[y][x];
+
+ if (x > maxX)
+ maxX = x;
+
+ if (y > maxY)
+ maxY = y;
+
+ if (cell.real) {
+ colSpan = cell.colspan - 1;
+ rowSpan = cell.rowspan - 1;
+
+ if (colSpan) {
+ if (x + colSpan > maxX)
+ maxX = x + colSpan;
+ }
+
+ if (rowSpan) {
+ if (y + rowSpan > maxY)
+ maxY = y + rowSpan;
+ }
+ }
+ }
+ });
+ });
+
+ return {x : maxX, y : maxY};
+ };
+
+ function setEndCell(cell) {
+ var startX, startY, endX, endY, maxX, maxY, colSpan, rowSpan;
+
+ endPos = getPos(cell);
+
+ if (startPos && endPos) {
+ // Get start/end positions
+ startX = Math.min(startPos.x, endPos.x);
+ startY = Math.min(startPos.y, endPos.y);
+ endX = Math.max(startPos.x, endPos.x);
+ endY = Math.max(startPos.y, endPos.y);
+
+ // Expand end positon to include spans
+ maxX = endX;
+ maxY = endY;
+
+ // Expand startX
+ for (y = startY; y <= maxY; y++) {
+ cell = grid[y][startX];
+
+ if (!cell.real) {
+ if (startX - (cell.colspan - 1) < startX)
+ startX -= cell.colspan - 1;
+ }
+ }
+
+ // Expand startY
+ for (x = startX; x <= maxX; x++) {
+ cell = grid[startY][x];
+
+ if (!cell.real) {
+ if (startY - (cell.rowspan - 1) < startY)
+ startY -= cell.rowspan - 1;
+ }
+ }
+
+ // Find max X, Y
+ for (y = startY; y <= endY; y++) {
+ for (x = startX; x <= endX; x++) {
+ cell = grid[y][x];
+
+ if (cell.real) {
+ colSpan = cell.colspan - 1;
+ rowSpan = cell.rowspan - 1;
+
+ if (colSpan) {
+ if (x + colSpan > maxX)
+ maxX = x + colSpan;
+ }
+
+ if (rowSpan) {
+ if (y + rowSpan > maxY)
+ maxY = y + rowSpan;
+ }
+ }
+ }
+ }
+
+ // Remove current selection
+ dom.removeClass(dom.select('td.mceSelected,th.mceSelected'), 'mceSelected');
+
+ // Add new selection
+ for (y = startY; y <= maxY; y++) {
+ for (x = startX; x <= maxX; x++) {
+ if (grid[y][x])
+ dom.addClass(grid[y][x].elm, 'mceSelected');
+ }
+ }
+ }
+ };
+
+ // Expose to public
+ tinymce.extend(this, {
+ deleteTable : deleteTable,
+ split : split,
+ merge : merge,
+ insertRow : insertRow,
+ insertCol : insertCol,
+ deleteCols : deleteCols,
+ deleteRows : deleteRows,
+ cutRows : cutRows,
+ copyRows : copyRows,
+ pasteRows : pasteRows,
+ getPos : getPos,
+ setStartCell : setStartCell,
+ setEndCell : setEndCell
+ });
+ };
+
+ tinymce.create('tinymce.plugins.TablePlugin', {
+ init : function(ed, url) {
+ var winMan, clipboardRows, hasCellSelection = true; // Might be selected cells on reload
+
+ function createTableGrid(node) {
+ var selection = ed.selection, tblElm = ed.dom.getParent(node || selection.getNode(), 'table');
+
+ if (tblElm)
+ return new TableGrid(tblElm, ed.dom, selection);
+ };
+
+ function cleanup() {
+ // Restore selection possibilities
+ ed.getBody().style.webkitUserSelect = '';
+
+ if (hasCellSelection) {
+ ed.dom.removeClass(ed.dom.select('td.mceSelected,th.mceSelected'), 'mceSelected');
+ hasCellSelection = false;
+ }
+ };
+
+ // Register buttons
+ each([
+ ['table', 'table.desc', 'mceInsertTable', true],
+ ['delete_table', 'table.del', 'mceTableDelete'],
+ ['delete_col', 'table.delete_col_desc', 'mceTableDeleteCol'],
+ ['delete_row', 'table.delete_row_desc', 'mceTableDeleteRow'],
+ ['col_after', 'table.col_after_desc', 'mceTableInsertColAfter'],
+ ['col_before', 'table.col_before_desc', 'mceTableInsertColBefore'],
+ ['row_after', 'table.row_after_desc', 'mceTableInsertRowAfter'],
+ ['row_before', 'table.row_before_desc', 'mceTableInsertRowBefore'],
+ ['row_props', 'table.row_desc', 'mceTableRowProps', true],
+ ['cell_props', 'table.cell_desc', 'mceTableCellProps', true],
+ ['split_cells', 'table.split_cells_desc', 'mceTableSplitCells', true],
+ ['merge_cells', 'table.merge_cells_desc', 'mceTableMergeCells', true]
+ ], function(c) {
+ ed.addButton(c[0], {title : c[1], cmd : c[2], ui : c[3]});
+ });
+
+ // Select whole table is a table border is clicked
+ if (!tinymce.isIE) {
+ ed.onClick.add(function(ed, e) {
+ e = e.target;
+
+ if (e.nodeName === 'TABLE') {
+ ed.selection.select(e);
+ ed.nodeChanged();
+ }
+ });
+ }
+
+ ed.onPreProcess.add(function(ed, args) {
+ var nodes, i, node, dom = ed.dom, value;
+
+ nodes = dom.select('table', args.node);
+ i = nodes.length;
+ while (i--) {
+ node = nodes[i];
+ dom.setAttrib(node, 'data-mce-style', '');
+
+ if ((value = dom.getAttrib(node, 'width'))) {
+ dom.setStyle(node, 'width', value);
+ dom.setAttrib(node, 'width', '');
+ }
+
+ if ((value = dom.getAttrib(node, 'height'))) {
+ dom.setStyle(node, 'height', value);
+ dom.setAttrib(node, 'height', '');
+ }
+ }
+ });
+
+ // Handle node change updates
+ ed.onNodeChange.add(function(ed, cm, n) {
+ var p;
+
+ n = ed.selection.getStart();
+ p = ed.dom.getParent(n, 'td,th,caption');
+ cm.setActive('table', n.nodeName === 'TABLE' || !!p);
+
+ // Disable table tools if we are in caption
+ if (p && p.nodeName === 'CAPTION')
+ p = 0;
+
+ cm.setDisabled('delete_table', !p);
+ cm.setDisabled('delete_col', !p);
+ cm.setDisabled('delete_table', !p);
+ cm.setDisabled('delete_row', !p);
+ cm.setDisabled('col_after', !p);
+ cm.setDisabled('col_before', !p);
+ cm.setDisabled('row_after', !p);
+ cm.setDisabled('row_before', !p);
+ cm.setDisabled('row_props', !p);
+ cm.setDisabled('cell_props', !p);
+ cm.setDisabled('split_cells', !p);
+ cm.setDisabled('merge_cells', !p);
+ });
+
+ ed.onInit.add(function(ed) {
+ var startTable, startCell, dom = ed.dom, tableGrid;
+
+ winMan = ed.windowManager;
+
+ // Add cell selection logic
+ ed.onMouseDown.add(function(ed, e) {
+ if (e.button != 2) {
+ cleanup();
+
+ startCell = dom.getParent(e.target, 'td,th');
+ startTable = dom.getParent(startCell, 'table');
+ }
+ });
+
+ dom.bind(ed.getDoc(), 'mouseover', function(e) {
+ var sel, table, target = e.target;
+
+ if (startCell && (tableGrid || target != startCell) && (target.nodeName == 'TD' || target.nodeName == 'TH')) {
+ table = dom.getParent(target, 'table');
+ if (table == startTable) {
+ if (!tableGrid) {
+ tableGrid = createTableGrid(table);
+ tableGrid.setStartCell(startCell);
+
+ ed.getBody().style.webkitUserSelect = 'none';
+ }
+
+ tableGrid.setEndCell(target);
+ hasCellSelection = true;
+ }
+
+ // Remove current selection
+ sel = ed.selection.getSel();
+
+ try {
+ if (sel.removeAllRanges)
+ sel.removeAllRanges();
+ else
+ sel.empty();
+ } catch (ex) {
+ // IE9 might throw errors here
+ }
+
+ e.preventDefault();
+ }
+ });
+
+ ed.onMouseUp.add(function(ed, e) {
+ var rng, sel = ed.selection, selectedCells, nativeSel = sel.getSel(), walker, node, lastNode, endNode;
+
+ // Move selection to startCell
+ if (startCell) {
+ if (tableGrid)
+ ed.getBody().style.webkitUserSelect = '';
+
+ function setPoint(node, start) {
+ var walker = new tinymce.dom.TreeWalker(node, node);
+
+ do {
+ // Text node
+ if (node.nodeType == 3 && tinymce.trim(node.nodeValue).length != 0) {
+ if (start)
+ rng.setStart(node, 0);
+ else
+ rng.setEnd(node, node.nodeValue.length);
+
+ return;
+ }
+
+ // BR element
+ if (node.nodeName == 'BR') {
+ if (start)
+ rng.setStartBefore(node);
+ else
+ rng.setEndBefore(node);
+
+ return;
+ }
+ } while (node = (start ? walker.next() : walker.prev()));
+ }
+
+ // Try to expand text selection as much as we can only Gecko supports cell selection
+ selectedCells = dom.select('td.mceSelected,th.mceSelected');
+ if (selectedCells.length > 0) {
+ rng = dom.createRng();
+ node = selectedCells[0];
+ endNode = selectedCells[selectedCells.length - 1];
+ rng.setStartBefore(node);
+ rng.setEndAfter(node);
+
+ setPoint(node, 1);
+ walker = new tinymce.dom.TreeWalker(node, dom.getParent(selectedCells[0], 'table'));
+
+ do {
+ if (node.nodeName == 'TD' || node.nodeName == 'TH') {
+ if (!dom.hasClass(node, 'mceSelected'))
+ break;
+
+ lastNode = node;
+ }
+ } while (node = walker.next());
+
+ setPoint(lastNode);
+
+ sel.setRng(rng);
+ }
+
+ ed.nodeChanged();
+ startCell = tableGrid = startTable = null;
+ }
+ });
+
+ ed.onKeyUp.add(function(ed, e) {
+ cleanup();
+ });
+
+ ed.onKeyDown.add(function (ed, e) {
+ fixTableCellSelection(ed);
+ });
+
+ ed.onMouseDown.add(function (ed, e) {
+ if (e.button != 2) {
+ fixTableCellSelection(ed);
+ }
+ });
+ function tableCellSelected(ed, rng, n, currentCell) {
+ // The decision of when a table cell is selected is somewhat involved. The fact that this code is
+ // required is actually a pointer to the root cause of this bug. A cell is selected when the start
+ // and end offsets are 0, the start container is a text, and the selection node is either a TR (most cases)
+ // or the parent of the table (in the case of the selection containing the last cell of a table).
+ var TEXT_NODE = 3, table = ed.dom.getParent(rng.startContainer, 'TABLE'),
+ tableParent, allOfCellSelected, tableCellSelection;
+ if (table)
+ tableParent = table.parentNode;
+ allOfCellSelected =rng.startContainer.nodeType == TEXT_NODE &&
+ rng.startOffset == 0 &&
+ rng.endOffset == 0 &&
+ currentCell &&
+ (n.nodeName=="TR" || n==tableParent);
+ tableCellSelection = (n.nodeName=="TD"||n.nodeName=="TH")&& !currentCell;
+ return allOfCellSelected || tableCellSelection;
+ // return false;
+ }
+
+ // this nasty hack is here to work around some WebKit selection bugs.
+ function fixTableCellSelection(ed) {
+ if (!tinymce.isWebKit)
+ return;
+
+ var rng = ed.selection.getRng();
+ var n = ed.selection.getNode();
+ var currentCell = ed.dom.getParent(rng.startContainer, 'TD,TH');
+
+ if (!tableCellSelected(ed, rng, n, currentCell))
+ return;
+ if (!currentCell) {
+ currentCell=n;
+ }
+
+ // Get the very last node inside the table cell
+ var end = currentCell.lastChild;
+ while (end.lastChild)
+ end = end.lastChild;
+
+ // Select the entire table cell. Nothing outside of the table cell should be selected.
+ rng.setEnd(end, end.nodeValue.length);
+ ed.selection.setRng(rng);
+ }
+ ed.plugins.table.fixTableCellSelection=fixTableCellSelection;
+
+ // Add context menu
+ if (ed && ed.plugins.contextmenu) {
+ ed.plugins.contextmenu.onContextMenu.add(function(th, m, e) {
+ var sm, se = ed.selection, el = se.getNode() || ed.getBody();
+
+ if (ed.dom.getParent(e, 'td') || ed.dom.getParent(e, 'th') || ed.dom.select('td.mceSelected,th.mceSelected').length) {
+ m.removeAll();
+
+ if (el.nodeName == 'A' && !ed.dom.getAttrib(el, 'name')) {
+ m.add({title : 'advanced.link_desc', icon : 'link', cmd : ed.plugins.advlink ? 'mceAdvLink' : 'mceLink', ui : true});
+ m.add({title : 'advanced.unlink_desc', icon : 'unlink', cmd : 'UnLink'});
+ m.addSeparator();
+ }
+
+ if (el.nodeName == 'IMG' && el.className.indexOf('mceItem') == -1) {
+ m.add({title : 'advanced.image_desc', icon : 'image', cmd : ed.plugins.advimage ? 'mceAdvImage' : 'mceImage', ui : true});
+ m.addSeparator();
+ }
+
+ m.add({title : 'table.desc', icon : 'table', cmd : 'mceInsertTable', value : {action : 'insert'}});
+ m.add({title : 'table.props_desc', icon : 'table_props', cmd : 'mceInsertTable'});
+ m.add({title : 'table.del', icon : 'delete_table', cmd : 'mceTableDelete'});
+ m.addSeparator();
+
+ // Cell menu
+ sm = m.addMenu({title : 'table.cell'});
+ sm.add({title : 'table.cell_desc', icon : 'cell_props', cmd : 'mceTableCellProps'});
+ sm.add({title : 'table.split_cells_desc', icon : 'split_cells', cmd : 'mceTableSplitCells'});
+ sm.add({title : 'table.merge_cells_desc', icon : 'merge_cells', cmd : 'mceTableMergeCells'});
+
+ // Row menu
+ sm = m.addMenu({title : 'table.row'});
+ sm.add({title : 'table.row_desc', icon : 'row_props', cmd : 'mceTableRowProps'});
+ sm.add({title : 'table.row_before_desc', icon : 'row_before', cmd : 'mceTableInsertRowBefore'});
+ sm.add({title : 'table.row_after_desc', icon : 'row_after', cmd : 'mceTableInsertRowAfter'});
+ sm.add({title : 'table.delete_row_desc', icon : 'delete_row', cmd : 'mceTableDeleteRow'});
+ sm.addSeparator();
+ sm.add({title : 'table.cut_row_desc', icon : 'cut', cmd : 'mceTableCutRow'});
+ sm.add({title : 'table.copy_row_desc', icon : 'copy', cmd : 'mceTableCopyRow'});
+ sm.add({title : 'table.paste_row_before_desc', icon : 'paste', cmd : 'mceTablePasteRowBefore'}).setDisabled(!clipboardRows);
+ sm.add({title : 'table.paste_row_after_desc', icon : 'paste', cmd : 'mceTablePasteRowAfter'}).setDisabled(!clipboardRows);
+
+ // Column menu
+ sm = m.addMenu({title : 'table.col'});
+ sm.add({title : 'table.col_before_desc', icon : 'col_before', cmd : 'mceTableInsertColBefore'});
+ sm.add({title : 'table.col_after_desc', icon : 'col_after', cmd : 'mceTableInsertColAfter'});
+ sm.add({title : 'table.delete_col_desc', icon : 'delete_col', cmd : 'mceTableDeleteCol'});
+ } else
+ m.add({title : 'table.desc', icon : 'table', cmd : 'mceInsertTable'});
+ });
+ }
+
+ // Fix to allow navigating up and down in a table in WebKit browsers.
+ if (tinymce.isWebKit) {
+ function moveSelection(ed, e) {
+ var VK = tinymce.VK;
+ var key = e.keyCode;
+
+ function handle(upBool, sourceNode, event) {
+ var siblingDirection = upBool ? 'previousSibling' : 'nextSibling';
+ var currentRow = ed.dom.getParent(sourceNode, 'tr');
+ var siblingRow = currentRow[siblingDirection];
+
+ if (siblingRow) {
+ moveCursorToRow(ed, sourceNode, siblingRow, upBool);
+ tinymce.dom.Event.cancel(event);
+ return true;
+ } else {
+ var tableNode = ed.dom.getParent(currentRow, 'table');
+ var middleNode = currentRow.parentNode;
+ var parentNodeName = middleNode.nodeName.toLowerCase();
+ if (parentNodeName === 'tbody' || parentNodeName === (upBool ? 'tfoot' : 'thead')) {
+ var targetParent = getTargetParent(upBool, tableNode, middleNode, 'tbody');
+ if (targetParent !== null) {
+ return moveToRowInTarget(upBool, targetParent, sourceNode, event);
+ }
+ }
+ return escapeTable(upBool, currentRow, siblingDirection, tableNode, event);
+ }
+ }
+
+ function getTargetParent(upBool, topNode, secondNode, nodeName) {
+ var tbodies = ed.dom.select('>' + nodeName, topNode);
+ var position = tbodies.indexOf(secondNode);
+ if (upBool && position === 0 || !upBool && position === tbodies.length - 1) {
+ return getFirstHeadOrFoot(upBool, topNode);
+ } else if (position === -1) {
+ var topOrBottom = secondNode.tagName.toLowerCase() === 'thead' ? 0 : tbodies.length - 1;
+ return tbodies[topOrBottom];
+ } else {
+ return tbodies[position + (upBool ? -1 : 1)];
+ }
+ }
+
+ function getFirstHeadOrFoot(upBool, parent) {
+ var tagName = upBool ? 'thead' : 'tfoot';
+ var headOrFoot = ed.dom.select('>' + tagName, parent);
+ return headOrFoot.length !== 0 ? headOrFoot[0] : null;
+ }
+
+ function moveToRowInTarget(upBool, targetParent, sourceNode, event) {
+ var targetRow = getChildForDirection(targetParent, upBool);
+ targetRow && moveCursorToRow(ed, sourceNode, targetRow, upBool);
+ tinymce.dom.Event.cancel(event);
+ return true;
+ }
+
+ function escapeTable(upBool, currentRow, siblingDirection, table, event) {
+ var tableSibling = table[siblingDirection];
+ if (tableSibling) {
+ moveCursorToStartOfElement(tableSibling);
+ return true;
+ } else {
+ var parentCell = ed.dom.getParent(table, 'td,th');
+ if (parentCell) {
+ return handle(upBool, parentCell, event);
+ } else {
+ var backUpSibling = getChildForDirection(currentRow, !upBool);
+ moveCursorToStartOfElement(backUpSibling);
+ return tinymce.dom.Event.cancel(event);
+ }
+ }
+ }
+
+ function getChildForDirection(parent, up) {
+ var child = parent && parent[up ? 'lastChild' : 'firstChild'];
+ // BR is not a valid table child to return in this case we return the table cell
+ return child && child.nodeName === 'BR' ? ed.dom.getParent(child, 'td,th') : child;
+ }
+
+ function moveCursorToStartOfElement(n) {
+ ed.selection.setCursorLocation(n, 0);
+ }
+
+ function isVerticalMovement() {
+ return key == VK.UP || key == VK.DOWN;
+ }
+
+ function isInTable(ed) {
+ var node = ed.selection.getNode();
+ var currentRow = ed.dom.getParent(node, 'tr');
+ return currentRow !== null;
+ }
+
+ function columnIndex(column) {
+ var colIndex = 0;
+ var c = column;
+ while (c.previousSibling) {
+ c = c.previousSibling;
+ colIndex = colIndex + getSpanVal(c, "colspan");
+ }
+ return colIndex;
+ }
+
+ function findColumn(rowElement, columnIndex) {
+ var c = 0;
+ var r = 0;
+ each(rowElement.children, function(cell, i) {
+ c = c + getSpanVal(cell, "colspan");
+ r = i;
+ if (c > columnIndex)
+ return false;
+ });
+ return r;
+ }
+
+ function moveCursorToRow(ed, node, row, upBool) {
+ var srcColumnIndex = columnIndex(ed.dom.getParent(node, 'td,th'));
+ var tgtColumnIndex = findColumn(row, srcColumnIndex);
+ var tgtNode = row.childNodes[tgtColumnIndex];
+ var rowCellTarget = getChildForDirection(tgtNode, upBool);
+ moveCursorToStartOfElement(rowCellTarget || tgtNode);
+ }
+
+ function shouldFixCaret(preBrowserNode) {
+ var newNode = ed.selection.getNode();
+ var newParent = ed.dom.getParent(newNode, 'td,th');
+ var oldParent = ed.dom.getParent(preBrowserNode, 'td,th');
+ return newParent && newParent !== oldParent && checkSameParentTable(newParent, oldParent)
+ }
+
+ function checkSameParentTable(nodeOne, NodeTwo) {
+ return ed.dom.getParent(nodeOne, 'TABLE') === ed.dom.getParent(NodeTwo, 'TABLE');
+ }
+
+ if (isVerticalMovement() && isInTable(ed)) {
+ var preBrowserNode = ed.selection.getNode();
+ setTimeout(function() {
+ if (shouldFixCaret(preBrowserNode)) {
+ handle(!e.shiftKey && key === VK.UP, preBrowserNode, e);
+ }
+ }, 0);
+ }
+ }
+
+ ed.onKeyDown.add(moveSelection);
+ }
+
+ // Fixes an issue on Gecko where it's impossible to place the caret behind a table
+ // This fix will force a paragraph element after the table but only when the forced_root_block setting is enabled
+ function fixTableCaretPos() {
+ var last;
+
+ // Skip empty text nodes form the end
+ for (last = ed.getBody().lastChild; last && last.nodeType == 3 && !last.nodeValue.length; last = last.previousSibling) ;
+
+ if (last && last.nodeName == 'TABLE') {
+ if (ed.settings.forced_root_block)
+ ed.dom.add(ed.getBody(), ed.settings.forced_root_block, null, tinymce.isIE ? '&nbsp;' : '<br data-mce-bogus="1" />');
+ else
+ ed.dom.add(ed.getBody(), 'br', {'data-mce-bogus': '1'});
+ }
+ };
+
+ // Fixes an bug where it's impossible to place the caret before a table in Gecko
+ // this fix solves it by detecting when the caret is at the beginning of such a table
+ // and then manually moves the caret infront of the table
+ if (tinymce.isGecko) {
+ ed.onKeyDown.add(function(ed, e) {
+ var rng, table, dom = ed.dom;
+
+ // On gecko it's not possible to place the caret before a table
+ if (e.keyCode == 37 || e.keyCode == 38) {
+ rng = ed.selection.getRng();
+ table = dom.getParent(rng.startContainer, 'table');
+
+ if (table && ed.getBody().firstChild == table) {
+ if (isAtStart(rng, table)) {
+ rng = dom.createRng();
+
+ rng.setStartBefore(table);
+ rng.setEndBefore(table);
+
+ ed.selection.setRng(rng);
+
+ e.preventDefault();
+ }
+ }
+ }
+ });
+ }
+
+ ed.onKeyUp.add(fixTableCaretPos);
+ ed.onSetContent.add(fixTableCaretPos);
+ ed.onVisualAid.add(fixTableCaretPos);
+
+ ed.onPreProcess.add(function(ed, o) {
+ var last = o.node.lastChild;
+
+ if (last && (last.nodeName == "BR" || (last.childNodes.length == 1 && (last.firstChild.nodeName == 'BR' || last.firstChild.nodeValue == '\u00a0'))) && last.previousSibling && last.previousSibling.nodeName == "TABLE") {
+ ed.dom.remove(last);
+ }
+ });
+
+
+ /**
+ * Fixes bug in Gecko where shift-enter in table cell does not place caret on new line
+ *
+ * Removed: Since the new enter logic seems to fix this one.
+ */
+ /*
+ if (tinymce.isGecko) {
+ ed.onKeyDown.add(function(ed, e) {
+ if (e.keyCode === tinymce.VK.ENTER && e.shiftKey) {
+ var node = ed.selection.getRng().startContainer;
+ var tableCell = dom.getParent(node, 'td,th');
+ if (tableCell) {
+ var zeroSizedNbsp = ed.getDoc().createTextNode("\uFEFF");
+ dom.insertAfter(zeroSizedNbsp, node);
+ }
+ }
+ });
+ }
+ */
+
+ fixTableCaretPos();
+ ed.startContent = ed.getContent({format : 'raw'});
+ });
+
+ // Register action commands
+ each({
+ mceTableSplitCells : function(grid) {
+ grid.split();
+ },
+
+ mceTableMergeCells : function(grid) {
+ var rowSpan, colSpan, cell;
+
+ cell = ed.dom.getParent(ed.selection.getNode(), 'th,td');
+ if (cell) {
+ rowSpan = cell.rowSpan;
+ colSpan = cell.colSpan;
+ }
+
+ if (!ed.dom.select('td.mceSelected,th.mceSelected').length) {
+ winMan.open({
+ url : url + '/merge_cells.htm',
+ width : 240 + parseInt(ed.getLang('table.merge_cells_delta_width', 0)),
+ height : 110 + parseInt(ed.getLang('table.merge_cells_delta_height', 0)),
+ inline : 1
+ }, {
+ rows : rowSpan,
+ cols : colSpan,
+ onaction : function(data) {
+ grid.merge(cell, data.cols, data.rows);
+ },
+ plugin_url : url
+ });
+ } else
+ grid.merge();
+ },
+
+ mceTableInsertRowBefore : function(grid) {
+ grid.insertRow(true);
+ },
+
+ mceTableInsertRowAfter : function(grid) {
+ grid.insertRow();
+ },
+
+ mceTableInsertColBefore : function(grid) {
+ grid.insertCol(true);
+ },
+
+ mceTableInsertColAfter : function(grid) {
+ grid.insertCol();
+ },
+
+ mceTableDeleteCol : function(grid) {
+ grid.deleteCols();
+ },
+
+ mceTableDeleteRow : function(grid) {
+ grid.deleteRows();
+ },
+
+ mceTableCutRow : function(grid) {
+ clipboardRows = grid.cutRows();
+ },
+
+ mceTableCopyRow : function(grid) {
+ clipboardRows = grid.copyRows();
+ },
+
+ mceTablePasteRowBefore : function(grid) {
+ grid.pasteRows(clipboardRows, true);
+ },
+
+ mceTablePasteRowAfter : function(grid) {
+ grid.pasteRows(clipboardRows);
+ },
+
+ mceTableDelete : function(grid) {
+ grid.deleteTable();
+ }
+ }, function(func, name) {
+ ed.addCommand(name, function() {
+ var grid = createTableGrid();
+
+ if (grid) {
+ func(grid);
+ ed.execCommand('mceRepaint');
+ cleanup();
+ }
+ });
+ });
+
+ // Register dialog commands
+ each({
+ mceInsertTable : function(val) {
+ winMan.open({
+ url : url + '/table.htm',
+ width : 400 + parseInt(ed.getLang('table.table_delta_width', 0)),
+ height : 320 + parseInt(ed.getLang('table.table_delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url,
+ action : val ? val.action : 0
+ });
+ },
+
+ mceTableRowProps : function() {
+ winMan.open({
+ url : url + '/row.htm',
+ width : 400 + parseInt(ed.getLang('table.rowprops_delta_width', 0)),
+ height : 295 + parseInt(ed.getLang('table.rowprops_delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ },
+
+ mceTableCellProps : function() {
+ winMan.open({
+ url : url + '/cell.htm',
+ width : 400 + parseInt(ed.getLang('table.cellprops_delta_width', 0)),
+ height : 295 + parseInt(ed.getLang('table.cellprops_delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ }
+ }, function(func, name) {
+ ed.addCommand(name, function(ui, val) {
+ func(val);
+ });
+ });
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('table', tinymce.plugins.TablePlugin);
+})(tinymce);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/cell.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/cell.js
new file mode 100644
index 00000000..02ecf22c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/cell.js
@@ -0,0 +1,319 @@
+tinyMCEPopup.requireLangPack();
+
+var ed;
+
+function init() {
+ ed = tinyMCEPopup.editor;
+ tinyMCEPopup.resizeToInnerSize();
+
+ document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table');
+ document.getElementById('bordercolor_pickcontainer').innerHTML = getColorPickerHTML('bordercolor_pick','bordercolor');
+ document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor')
+
+ var inst = ed;
+ var tdElm = ed.dom.getParent(ed.selection.getStart(), "td,th");
+ var formObj = document.forms[0];
+ var st = ed.dom.parseStyle(ed.dom.getAttrib(tdElm, "style"));
+
+ // Get table cell data
+ var celltype = tdElm.nodeName.toLowerCase();
+ var align = ed.dom.getAttrib(tdElm, 'align');
+ var valign = ed.dom.getAttrib(tdElm, 'valign');
+ var width = trimSize(getStyle(tdElm, 'width', 'width'));
+ var height = trimSize(getStyle(tdElm, 'height', 'height'));
+ var bordercolor = convertRGBToHex(getStyle(tdElm, 'bordercolor', 'borderLeftColor'));
+ var bgcolor = convertRGBToHex(getStyle(tdElm, 'bgcolor', 'backgroundColor'));
+ var className = ed.dom.getAttrib(tdElm, 'class');
+ var backgroundimage = getStyle(tdElm, 'background', 'backgroundImage').replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1");
+ var id = ed.dom.getAttrib(tdElm, 'id');
+ var lang = ed.dom.getAttrib(tdElm, 'lang');
+ var dir = ed.dom.getAttrib(tdElm, 'dir');
+ var scope = ed.dom.getAttrib(tdElm, 'scope');
+
+ // Setup form
+ addClassesToList('class', 'table_cell_styles');
+ TinyMCE_EditableSelects.init();
+
+ if (!ed.dom.hasClass(tdElm, 'mceSelected')) {
+ formObj.bordercolor.value = bordercolor;
+ formObj.bgcolor.value = bgcolor;
+ formObj.backgroundimage.value = backgroundimage;
+ formObj.width.value = width;
+ formObj.height.value = height;
+ formObj.id.value = id;
+ formObj.lang.value = lang;
+ formObj.style.value = ed.dom.serializeStyle(st);
+ selectByValue(formObj, 'align', align);
+ selectByValue(formObj, 'valign', valign);
+ selectByValue(formObj, 'class', className, true, true);
+ selectByValue(formObj, 'celltype', celltype);
+ selectByValue(formObj, 'dir', dir);
+ selectByValue(formObj, 'scope', scope);
+
+ // Resize some elements
+ if (isVisible('backgroundimagebrowser'))
+ document.getElementById('backgroundimage').style.width = '180px';
+
+ updateColor('bordercolor_pick', 'bordercolor');
+ updateColor('bgcolor_pick', 'bgcolor');
+ } else
+ tinyMCEPopup.dom.hide('action');
+}
+
+function updateAction() {
+ var el, inst = ed, tdElm, trElm, tableElm, formObj = document.forms[0];
+
+ if (!AutoValidator.validate(formObj)) {
+ tinyMCEPopup.alert(AutoValidator.getErrorMessages(formObj).join('. ') + '.');
+ return false;
+ }
+
+ tinyMCEPopup.restoreSelection();
+ el = ed.selection.getStart();
+ tdElm = ed.dom.getParent(el, "td,th");
+ trElm = ed.dom.getParent(el, "tr");
+ tableElm = ed.dom.getParent(el, "table");
+
+ // Cell is selected
+ if (ed.dom.hasClass(tdElm, 'mceSelected')) {
+ // Update all selected sells
+ tinymce.each(ed.dom.select('td.mceSelected,th.mceSelected'), function(td) {
+ updateCell(td);
+ });
+
+ ed.addVisual();
+ ed.nodeChanged();
+ inst.execCommand('mceEndUndoLevel');
+ tinyMCEPopup.close();
+ return;
+ }
+
+ switch (getSelectValue(formObj, 'action')) {
+ case "cell":
+ var celltype = getSelectValue(formObj, 'celltype');
+ var scope = getSelectValue(formObj, 'scope');
+
+ function doUpdate(s) {
+ if (s) {
+ updateCell(tdElm);
+
+ ed.addVisual();
+ ed.nodeChanged();
+ inst.execCommand('mceEndUndoLevel');
+ tinyMCEPopup.close();
+ }
+ };
+
+ if (ed.getParam("accessibility_warnings", 1)) {
+ if (celltype == "th" && scope == "")
+ tinyMCEPopup.confirm(ed.getLang('table_dlg.missing_scope', '', true), doUpdate);
+ else
+ doUpdate(1);
+
+ return;
+ }
+
+ updateCell(tdElm);
+ break;
+
+ case "row":
+ var cell = trElm.firstChild;
+
+ if (cell.nodeName != "TD" && cell.nodeName != "TH")
+ cell = nextCell(cell);
+
+ do {
+ cell = updateCell(cell, true);
+ } while ((cell = nextCell(cell)) != null);
+
+ break;
+
+ case "col":
+ var curr, col = 0, cell = trElm.firstChild, rows = tableElm.getElementsByTagName("tr");
+
+ if (cell.nodeName != "TD" && cell.nodeName != "TH")
+ cell = nextCell(cell);
+
+ do {
+ if (cell == tdElm)
+ break;
+ col += cell.getAttribute("colspan")?cell.getAttribute("colspan"):1;
+ } while ((cell = nextCell(cell)) != null);
+
+ for (var i=0; i<rows.length; i++) {
+ cell = rows[i].firstChild;
+
+ if (cell.nodeName != "TD" && cell.nodeName != "TH")
+ cell = nextCell(cell);
+
+ curr = 0;
+ do {
+ if (curr == col) {
+ cell = updateCell(cell, true);
+ break;
+ }
+ curr += cell.getAttribute("colspan")?cell.getAttribute("colspan"):1;
+ } while ((cell = nextCell(cell)) != null);
+ }
+
+ break;
+
+ case "all":
+ var rows = tableElm.getElementsByTagName("tr");
+
+ for (var i=0; i<rows.length; i++) {
+ var cell = rows[i].firstChild;
+
+ if (cell.nodeName != "TD" && cell.nodeName != "TH")
+ cell = nextCell(cell);
+
+ do {
+ cell = updateCell(cell, true);
+ } while ((cell = nextCell(cell)) != null);
+ }
+
+ break;
+ }
+
+ ed.addVisual();
+ ed.nodeChanged();
+ inst.execCommand('mceEndUndoLevel');
+ tinyMCEPopup.close();
+}
+
+function nextCell(elm) {
+ while ((elm = elm.nextSibling) != null) {
+ if (elm.nodeName == "TD" || elm.nodeName == "TH")
+ return elm;
+ }
+
+ return null;
+}
+
+function updateCell(td, skip_id) {
+ var inst = ed;
+ var formObj = document.forms[0];
+ var curCellType = td.nodeName.toLowerCase();
+ var celltype = getSelectValue(formObj, 'celltype');
+ var doc = inst.getDoc();
+ var dom = ed.dom;
+
+ if (!skip_id)
+ dom.setAttrib(td, 'id', formObj.id.value);
+
+ dom.setAttrib(td, 'align', formObj.align.value);
+ dom.setAttrib(td, 'vAlign', formObj.valign.value);
+ dom.setAttrib(td, 'lang', formObj.lang.value);
+ dom.setAttrib(td, 'dir', getSelectValue(formObj, 'dir'));
+ dom.setAttrib(td, 'style', ed.dom.serializeStyle(ed.dom.parseStyle(formObj.style.value)));
+ dom.setAttrib(td, 'scope', formObj.scope.value);
+ dom.setAttrib(td, 'class', getSelectValue(formObj, 'class'));
+
+ // Clear deprecated attributes
+ ed.dom.setAttrib(td, 'width', '');
+ ed.dom.setAttrib(td, 'height', '');
+ ed.dom.setAttrib(td, 'bgColor', '');
+ ed.dom.setAttrib(td, 'borderColor', '');
+ ed.dom.setAttrib(td, 'background', '');
+
+ // Set styles
+ td.style.width = getCSSSize(formObj.width.value);
+ td.style.height = getCSSSize(formObj.height.value);
+ if (formObj.bordercolor.value != "") {
+ td.style.borderColor = formObj.bordercolor.value;
+ td.style.borderStyle = td.style.borderStyle == "" ? "solid" : td.style.borderStyle;
+ td.style.borderWidth = td.style.borderWidth == "" ? "1px" : td.style.borderWidth;
+ } else
+ td.style.borderColor = '';
+
+ td.style.backgroundColor = formObj.bgcolor.value;
+
+ if (formObj.backgroundimage.value != "")
+ td.style.backgroundImage = "url('" + formObj.backgroundimage.value + "')";
+ else
+ td.style.backgroundImage = '';
+
+ if (curCellType != celltype) {
+ // changing to a different node type
+ var newCell = doc.createElement(celltype);
+
+ for (var c=0; c<td.childNodes.length; c++)
+ newCell.appendChild(td.childNodes[c].cloneNode(1));
+
+ for (var a=0; a<td.attributes.length; a++)
+ ed.dom.setAttrib(newCell, td.attributes[a].name, ed.dom.getAttrib(td, td.attributes[a].name));
+
+ td.parentNode.replaceChild(newCell, td);
+ td = newCell;
+ }
+
+ dom.setAttrib(td, 'style', dom.serializeStyle(dom.parseStyle(td.style.cssText)));
+
+ return td;
+}
+
+function changedBackgroundImage() {
+ var formObj = document.forms[0];
+ var st = ed.dom.parseStyle(formObj.style.value);
+
+ st['background-image'] = "url('" + formObj.backgroundimage.value + "')";
+
+ formObj.style.value = ed.dom.serializeStyle(st);
+}
+
+function changedSize() {
+ var formObj = document.forms[0];
+ var st = ed.dom.parseStyle(formObj.style.value);
+
+ var width = formObj.width.value;
+ if (width != "")
+ st['width'] = getCSSSize(width);
+ else
+ st['width'] = "";
+
+ var height = formObj.height.value;
+ if (height != "")
+ st['height'] = getCSSSize(height);
+ else
+ st['height'] = "";
+
+ formObj.style.value = ed.dom.serializeStyle(st);
+}
+
+function changedColor() {
+ var formObj = document.forms[0];
+ var st = ed.dom.parseStyle(formObj.style.value);
+
+ st['background-color'] = formObj.bgcolor.value;
+ st['border-color'] = formObj.bordercolor.value;
+
+ formObj.style.value = ed.dom.serializeStyle(st);
+}
+
+function changedStyle() {
+ var formObj = document.forms[0];
+ var st = ed.dom.parseStyle(formObj.style.value);
+
+ if (st['background-image'])
+ formObj.backgroundimage.value = st['background-image'].replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");
+ else
+ formObj.backgroundimage.value = '';
+
+ if (st['width'])
+ formObj.width.value = trimSize(st['width']);
+
+ if (st['height'])
+ formObj.height.value = trimSize(st['height']);
+
+ if (st['background-color']) {
+ formObj.bgcolor.value = st['background-color'];
+ updateColor('bgcolor_pick','bgcolor');
+ }
+
+ if (st['border-color']) {
+ formObj.bordercolor.value = st['border-color'];
+ updateColor('bordercolor_pick','bordercolor');
+ }
+}
+
+tinyMCEPopup.onInit.add(init);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/merge_cells.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/merge_cells.js
new file mode 100644
index 00000000..7ee4bf04
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/merge_cells.js
@@ -0,0 +1,27 @@
+tinyMCEPopup.requireLangPack();
+
+var MergeCellsDialog = {
+ init : function() {
+ var f = document.forms[0];
+
+ f.numcols.value = tinyMCEPopup.getWindowArg('cols', 1);
+ f.numrows.value = tinyMCEPopup.getWindowArg('rows', 1);
+ },
+
+ merge : function() {
+ var func, f = document.forms[0];
+
+ tinyMCEPopup.restoreSelection();
+
+ func = tinyMCEPopup.getWindowArg('onaction');
+
+ func({
+ cols : f.numcols.value,
+ rows : f.numrows.value
+ });
+
+ tinyMCEPopup.close();
+ }
+};
+
+tinyMCEPopup.onInit.add(MergeCellsDialog.init, MergeCellsDialog);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/row.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/row.js
new file mode 100644
index 00000000..a13d6959
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/row.js
@@ -0,0 +1,237 @@
+tinyMCEPopup.requireLangPack();
+
+function init() {
+ tinyMCEPopup.resizeToInnerSize();
+
+ document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table');
+ document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor');
+
+ var inst = tinyMCEPopup.editor;
+ var dom = inst.dom;
+ var trElm = dom.getParent(inst.selection.getStart(), "tr");
+ var formObj = document.forms[0];
+ var st = dom.parseStyle(dom.getAttrib(trElm, "style"));
+
+ // Get table row data
+ var rowtype = trElm.parentNode.nodeName.toLowerCase();
+ var align = dom.getAttrib(trElm, 'align');
+ var valign = dom.getAttrib(trElm, 'valign');
+ var height = trimSize(getStyle(trElm, 'height', 'height'));
+ var className = dom.getAttrib(trElm, 'class');
+ var bgcolor = convertRGBToHex(getStyle(trElm, 'bgcolor', 'backgroundColor'));
+ var backgroundimage = getStyle(trElm, 'background', 'backgroundImage').replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1");
+ var id = dom.getAttrib(trElm, 'id');
+ var lang = dom.getAttrib(trElm, 'lang');
+ var dir = dom.getAttrib(trElm, 'dir');
+
+ selectByValue(formObj, 'rowtype', rowtype);
+
+ // Any cells selected
+ if (dom.select('td.mceSelected,th.mceSelected', trElm).length == 0) {
+ // Setup form
+ addClassesToList('class', 'table_row_styles');
+ TinyMCE_EditableSelects.init();
+
+ formObj.bgcolor.value = bgcolor;
+ formObj.backgroundimage.value = backgroundimage;
+ formObj.height.value = height;
+ formObj.id.value = id;
+ formObj.lang.value = lang;
+ formObj.style.value = dom.serializeStyle(st);
+ selectByValue(formObj, 'align', align);
+ selectByValue(formObj, 'valign', valign);
+ selectByValue(formObj, 'class', className, true, true);
+ selectByValue(formObj, 'dir', dir);
+
+ // Resize some elements
+ if (isVisible('backgroundimagebrowser'))
+ document.getElementById('backgroundimage').style.width = '180px';
+
+ updateColor('bgcolor_pick', 'bgcolor');
+ } else
+ tinyMCEPopup.dom.hide('action');
+}
+
+function updateAction() {
+ var inst = tinyMCEPopup.editor, dom = inst.dom, trElm, tableElm, formObj = document.forms[0];
+ var action = getSelectValue(formObj, 'action');
+
+ if (!AutoValidator.validate(formObj)) {
+ tinyMCEPopup.alert(AutoValidator.getErrorMessages(formObj).join('. ') + '.');
+ return false;
+ }
+
+ tinyMCEPopup.restoreSelection();
+ trElm = dom.getParent(inst.selection.getStart(), "tr");
+ tableElm = dom.getParent(inst.selection.getStart(), "table");
+
+ // Update all selected rows
+ if (dom.select('td.mceSelected,th.mceSelected', trElm).length > 0) {
+ tinymce.each(tableElm.rows, function(tr) {
+ var i;
+
+ for (i = 0; i < tr.cells.length; i++) {
+ if (dom.hasClass(tr.cells[i], 'mceSelected')) {
+ updateRow(tr, true);
+ return;
+ }
+ }
+ });
+
+ inst.addVisual();
+ inst.nodeChanged();
+ inst.execCommand('mceEndUndoLevel');
+ tinyMCEPopup.close();
+ return;
+ }
+
+ switch (action) {
+ case "row":
+ updateRow(trElm);
+ break;
+
+ case "all":
+ var rows = tableElm.getElementsByTagName("tr");
+
+ for (var i=0; i<rows.length; i++)
+ updateRow(rows[i], true);
+
+ break;
+
+ case "odd":
+ case "even":
+ var rows = tableElm.getElementsByTagName("tr");
+
+ for (var i=0; i<rows.length; i++) {
+ if ((i % 2 == 0 && action == "odd") || (i % 2 != 0 && action == "even"))
+ updateRow(rows[i], true, true);
+ }
+
+ break;
+ }
+
+ inst.addVisual();
+ inst.nodeChanged();
+ inst.execCommand('mceEndUndoLevel');
+ tinyMCEPopup.close();
+}
+
+function updateRow(tr_elm, skip_id, skip_parent) {
+ var inst = tinyMCEPopup.editor;
+ var formObj = document.forms[0];
+ var dom = inst.dom;
+ var curRowType = tr_elm.parentNode.nodeName.toLowerCase();
+ var rowtype = getSelectValue(formObj, 'rowtype');
+ var doc = inst.getDoc();
+
+ // Update row element
+ if (!skip_id)
+ dom.setAttrib(tr_elm, 'id', formObj.id.value);
+
+ dom.setAttrib(tr_elm, 'align', getSelectValue(formObj, 'align'));
+ dom.setAttrib(tr_elm, 'vAlign', getSelectValue(formObj, 'valign'));
+ dom.setAttrib(tr_elm, 'lang', formObj.lang.value);
+ dom.setAttrib(tr_elm, 'dir', getSelectValue(formObj, 'dir'));
+ dom.setAttrib(tr_elm, 'style', dom.serializeStyle(dom.parseStyle(formObj.style.value)));
+ dom.setAttrib(tr_elm, 'class', getSelectValue(formObj, 'class'));
+
+ // Clear deprecated attributes
+ dom.setAttrib(tr_elm, 'background', '');
+ dom.setAttrib(tr_elm, 'bgColor', '');
+ dom.setAttrib(tr_elm, 'height', '');
+
+ // Set styles
+ tr_elm.style.height = getCSSSize(formObj.height.value);
+ tr_elm.style.backgroundColor = formObj.bgcolor.value;
+
+ if (formObj.backgroundimage.value != "")
+ tr_elm.style.backgroundImage = "url('" + formObj.backgroundimage.value + "')";
+ else
+ tr_elm.style.backgroundImage = '';
+
+ // Setup new rowtype
+ if (curRowType != rowtype && !skip_parent) {
+ // first, clone the node we are working on
+ var newRow = tr_elm.cloneNode(1);
+
+ // next, find the parent of its new destination (creating it if necessary)
+ var theTable = dom.getParent(tr_elm, "table");
+ var dest = rowtype;
+ var newParent = null;
+ for (var i = 0; i < theTable.childNodes.length; i++) {
+ if (theTable.childNodes[i].nodeName.toLowerCase() == dest)
+ newParent = theTable.childNodes[i];
+ }
+
+ if (newParent == null) {
+ newParent = doc.createElement(dest);
+
+ if (theTable.firstChild.nodeName == 'CAPTION')
+ inst.dom.insertAfter(newParent, theTable.firstChild);
+ else
+ theTable.insertBefore(newParent, theTable.firstChild);
+ }
+
+ // append the row to the new parent
+ newParent.appendChild(newRow);
+
+ // remove the original
+ tr_elm.parentNode.removeChild(tr_elm);
+
+ // set tr_elm to the new node
+ tr_elm = newRow;
+ }
+
+ dom.setAttrib(tr_elm, 'style', dom.serializeStyle(dom.parseStyle(tr_elm.style.cssText)));
+}
+
+function changedBackgroundImage() {
+ var formObj = document.forms[0], dom = tinyMCEPopup.editor.dom;
+ var st = dom.parseStyle(formObj.style.value);
+
+ st['background-image'] = "url('" + formObj.backgroundimage.value + "')";
+
+ formObj.style.value = dom.serializeStyle(st);
+}
+
+function changedStyle() {
+ var formObj = document.forms[0], dom = tinyMCEPopup.editor.dom;
+ var st = dom.parseStyle(formObj.style.value);
+
+ if (st['background-image'])
+ formObj.backgroundimage.value = st['background-image'].replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");
+ else
+ formObj.backgroundimage.value = '';
+
+ if (st['height'])
+ formObj.height.value = trimSize(st['height']);
+
+ if (st['background-color']) {
+ formObj.bgcolor.value = st['background-color'];
+ updateColor('bgcolor_pick','bgcolor');
+ }
+}
+
+function changedSize() {
+ var formObj = document.forms[0], dom = tinyMCEPopup.editor.dom;
+ var st = dom.parseStyle(formObj.style.value);
+
+ var height = formObj.height.value;
+ if (height != "")
+ st['height'] = getCSSSize(height);
+ else
+ st['height'] = "";
+
+ formObj.style.value = dom.serializeStyle(st);
+}
+
+function changedColor() {
+ var formObj = document.forms[0], dom = tinyMCEPopup.editor.dom;
+ var st = dom.parseStyle(formObj.style.value);
+
+ st['background-color'] = formObj.bgcolor.value;
+
+ formObj.style.value = dom.serializeStyle(st);
+}
+
+tinyMCEPopup.onInit.add(init);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/table.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/table.js
new file mode 100644
index 00000000..1db243b6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/table.js
@@ -0,0 +1,501 @@
+tinyMCEPopup.requireLangPack();
+
+var action, orgTableWidth, orgTableHeight, dom = tinyMCEPopup.editor.dom;
+
+function insertTable() {
+ var formObj = document.forms[0];
+ var inst = tinyMCEPopup.editor, dom = inst.dom;
+ var cols = 2, rows = 2, border = 0, cellpadding = -1, cellspacing = -1, align, width, height, className, caption, frame, rules;
+ var html = '', capEl, elm;
+ var cellLimit, rowLimit, colLimit;
+
+ tinyMCEPopup.restoreSelection();
+
+ if (!AutoValidator.validate(formObj)) {
+ tinyMCEPopup.alert(AutoValidator.getErrorMessages(formObj).join('. ') + '.');
+ return false;
+ }
+
+ elm = dom.getParent(inst.selection.getNode(), 'table');
+
+ // Get form data
+ cols = formObj.elements['cols'].value;
+ rows = formObj.elements['rows'].value;
+ border = formObj.elements['border'].value != "" ? formObj.elements['border'].value : 0;
+ cellpadding = formObj.elements['cellpadding'].value != "" ? formObj.elements['cellpadding'].value : "";
+ cellspacing = formObj.elements['cellspacing'].value != "" ? formObj.elements['cellspacing'].value : "";
+ align = getSelectValue(formObj, "align");
+ frame = getSelectValue(formObj, "tframe");
+ rules = getSelectValue(formObj, "rules");
+ width = formObj.elements['width'].value;
+ height = formObj.elements['height'].value;
+ bordercolor = formObj.elements['bordercolor'].value;
+ bgcolor = formObj.elements['bgcolor'].value;
+ className = getSelectValue(formObj, "class");
+ id = formObj.elements['id'].value;
+ summary = formObj.elements['summary'].value;
+ style = formObj.elements['style'].value;
+ dir = formObj.elements['dir'].value;
+ lang = formObj.elements['lang'].value;
+ background = formObj.elements['backgroundimage'].value;
+ caption = formObj.elements['caption'].checked;
+
+ cellLimit = tinyMCEPopup.getParam('table_cell_limit', false);
+ rowLimit = tinyMCEPopup.getParam('table_row_limit', false);
+ colLimit = tinyMCEPopup.getParam('table_col_limit', false);
+
+ // Validate table size
+ if (colLimit && cols > colLimit) {
+ tinyMCEPopup.alert(inst.getLang('table_dlg.col_limit').replace(/\{\$cols\}/g, colLimit));
+ return false;
+ } else if (rowLimit && rows > rowLimit) {
+ tinyMCEPopup.alert(inst.getLang('table_dlg.row_limit').replace(/\{\$rows\}/g, rowLimit));
+ return false;
+ } else if (cellLimit && cols * rows > cellLimit) {
+ tinyMCEPopup.alert(inst.getLang('table_dlg.cell_limit').replace(/\{\$cells\}/g, cellLimit));
+ return false;
+ }
+
+ // Update table
+ if (action == "update") {
+ dom.setAttrib(elm, 'cellPadding', cellpadding, true);
+ dom.setAttrib(elm, 'cellSpacing', cellspacing, true);
+
+ if (!isCssSize(border)) {
+ dom.setAttrib(elm, 'border', border);
+ } else {
+ dom.setAttrib(elm, 'border', '');
+ }
+
+ if (border == '') {
+ dom.setStyle(elm, 'border-width', '');
+ dom.setStyle(elm, 'border', '');
+ dom.setAttrib(elm, 'border', '');
+ }
+
+ dom.setAttrib(elm, 'align', align);
+ dom.setAttrib(elm, 'frame', frame);
+ dom.setAttrib(elm, 'rules', rules);
+ dom.setAttrib(elm, 'class', className);
+ dom.setAttrib(elm, 'style', style);
+ dom.setAttrib(elm, 'id', id);
+ dom.setAttrib(elm, 'summary', summary);
+ dom.setAttrib(elm, 'dir', dir);
+ dom.setAttrib(elm, 'lang', lang);
+
+ capEl = inst.dom.select('caption', elm)[0];
+
+ if (capEl && !caption)
+ capEl.parentNode.removeChild(capEl);
+
+ if (!capEl && caption) {
+ capEl = elm.ownerDocument.createElement('caption');
+
+ if (!tinymce.isIE)
+ capEl.innerHTML = '<br data-mce-bogus="1"/>';
+
+ elm.insertBefore(capEl, elm.firstChild);
+ }
+
+ if (width && inst.settings.inline_styles) {
+ dom.setStyle(elm, 'width', width);
+ dom.setAttrib(elm, 'width', '');
+ } else {
+ dom.setAttrib(elm, 'width', width, true);
+ dom.setStyle(elm, 'width', '');
+ }
+
+ // Remove these since they are not valid XHTML
+ dom.setAttrib(elm, 'borderColor', '');
+ dom.setAttrib(elm, 'bgColor', '');
+ dom.setAttrib(elm, 'background', '');
+
+ if (height && inst.settings.inline_styles) {
+ dom.setStyle(elm, 'height', height);
+ dom.setAttrib(elm, 'height', '');
+ } else {
+ dom.setAttrib(elm, 'height', height, true);
+ dom.setStyle(elm, 'height', '');
+ }
+
+ if (background != '')
+ elm.style.backgroundImage = "url('" + background + "')";
+ else
+ elm.style.backgroundImage = '';
+
+/* if (tinyMCEPopup.getParam("inline_styles")) {
+ if (width != '')
+ elm.style.width = getCSSSize(width);
+ }*/
+
+ if (bordercolor != "") {
+ elm.style.borderColor = bordercolor;
+ elm.style.borderStyle = elm.style.borderStyle == "" ? "solid" : elm.style.borderStyle;
+ elm.style.borderWidth = cssSize(border);
+ } else
+ elm.style.borderColor = '';
+
+ elm.style.backgroundColor = bgcolor;
+ elm.style.height = getCSSSize(height);
+
+ inst.addVisual();
+
+ // Fix for stange MSIE align bug
+ //elm.outerHTML = elm.outerHTML;
+
+ inst.nodeChanged();
+ inst.execCommand('mceEndUndoLevel', false, {}, {skip_undo: true});
+
+ // Repaint if dimensions changed
+ if (formObj.width.value != orgTableWidth || formObj.height.value != orgTableHeight)
+ inst.execCommand('mceRepaint');
+
+ tinyMCEPopup.close();
+ return true;
+ }
+
+ // Create new table
+ html += '<table';
+
+ html += makeAttrib('id', id);
+ if (!isCssSize(border)) {
+ html += makeAttrib('border', border);
+ }
+
+ html += makeAttrib('cellpadding', cellpadding);
+ html += makeAttrib('cellspacing', cellspacing);
+ html += makeAttrib('data-mce-new', '1');
+
+ if (width && inst.settings.inline_styles) {
+ if (style)
+ style += '; ';
+
+ // Force px
+ if (/^[0-9\.]+$/.test(width))
+ width += 'px';
+
+ style += 'width: ' + width;
+ } else
+ html += makeAttrib('width', width);
+
+/* if (height) {
+ if (style)
+ style += '; ';
+
+ style += 'height: ' + height;
+ }*/
+
+ //html += makeAttrib('height', height);
+ //html += makeAttrib('bordercolor', bordercolor);
+ //html += makeAttrib('bgcolor', bgcolor);
+ html += makeAttrib('align', align);
+ html += makeAttrib('frame', frame);
+ html += makeAttrib('rules', rules);
+ html += makeAttrib('class', className);
+ html += makeAttrib('style', style);
+ html += makeAttrib('summary', summary);
+ html += makeAttrib('dir', dir);
+ html += makeAttrib('lang', lang);
+ html += '>';
+
+ if (caption) {
+ if (!tinymce.isIE)
+ html += '<caption><br data-mce-bogus="1"/></caption>';
+ else
+ html += '<caption></caption>';
+ }
+
+ for (var y=0; y<rows; y++) {
+ html += "<tr>";
+
+ for (var x=0; x<cols; x++) {
+ if (!tinymce.isIE)
+ html += '<td><br data-mce-bogus="1"/></td>';
+ else
+ html += '<td></td>';
+ }
+
+ html += "</tr>";
+ }
+
+ html += "</table>";
+
+ // Move table
+ if (inst.settings.fix_table_elements) {
+ var patt = '';
+
+ inst.focus();
+ inst.selection.setContent('<br class="_mce_marker" />');
+
+ tinymce.each('h1,h2,h3,h4,h5,h6,p'.split(','), function(n) {
+ if (patt)
+ patt += ',';
+
+ patt += n + ' ._mce_marker';
+ });
+
+ tinymce.each(inst.dom.select(patt), function(n) {
+ inst.dom.split(inst.dom.getParent(n, 'h1,h2,h3,h4,h5,h6,p'), n);
+ });
+
+ dom.setOuterHTML(dom.select('br._mce_marker')[0], html);
+ } else
+ inst.execCommand('mceInsertContent', false, html);
+
+ tinymce.each(dom.select('table[data-mce-new]'), function(node) {
+ var tdorth = dom.select('td,th', node);
+
+ // Fixes a bug in IE where the caret cannot be placed after the table if the table is at the end of the document
+ if (tinymce.isIE && node.nextSibling == null) {
+ if (inst.settings.forced_root_block)
+ dom.insertAfter(dom.create(inst.settings.forced_root_block), node);
+ else
+ dom.insertAfter(dom.create('br', {'data-mce-bogus': '1'}), node);
+ }
+
+ try {
+ // IE9 might fail to do this selection
+ inst.selection.setCursorLocation(tdorth[0], 0);
+ } catch (ex) {
+ // Ignore
+ }
+
+ dom.setAttrib(node, 'data-mce-new', '');
+ });
+
+ inst.addVisual();
+ inst.execCommand('mceEndUndoLevel', false, {}, {skip_undo: true});
+
+ tinyMCEPopup.close();
+}
+
+function makeAttrib(attrib, value) {
+ var formObj = document.forms[0];
+ var valueElm = formObj.elements[attrib];
+
+ if (typeof(value) == "undefined" || value == null) {
+ value = "";
+
+ if (valueElm)
+ value = valueElm.value;
+ }
+
+ if (value == "")
+ return "";
+
+ // XML encode it
+ value = value.replace(/&/g, '&amp;');
+ value = value.replace(/\"/g, '&quot;');
+ value = value.replace(/</g, '&lt;');
+ value = value.replace(/>/g, '&gt;');
+
+ return ' ' + attrib + '="' + value + '"';
+}
+
+function init() {
+ tinyMCEPopup.resizeToInnerSize();
+
+ document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table');
+ document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table');
+ document.getElementById('bordercolor_pickcontainer').innerHTML = getColorPickerHTML('bordercolor_pick','bordercolor');
+ document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor');
+
+ var cols = 2, rows = 2, border = tinyMCEPopup.getParam('table_default_border', '0'), cellpadding = tinyMCEPopup.getParam('table_default_cellpadding', ''), cellspacing = tinyMCEPopup.getParam('table_default_cellspacing', '');
+ var align = "", width = "", height = "", bordercolor = "", bgcolor = "", className = "";
+ var id = "", summary = "", style = "", dir = "", lang = "", background = "", bgcolor = "", bordercolor = "", rules = "", frame = "";
+ var inst = tinyMCEPopup.editor, dom = inst.dom;
+ var formObj = document.forms[0];
+ var elm = dom.getParent(inst.selection.getNode(), "table");
+
+ // Hide advanced fields that isn't available in the schema
+ tinymce.each("summary id rules dir style frame".split(" "), function(name) {
+ var tr = tinyMCEPopup.dom.getParent(name, "tr") || tinyMCEPopup.dom.getParent("t" + name, "tr");
+
+ if (tr && !tinyMCEPopup.editor.schema.isValid("table", name)) {
+ tr.style.display = 'none';
+ }
+ });
+
+ action = tinyMCEPopup.getWindowArg('action');
+
+ if (!action)
+ action = elm ? "update" : "insert";
+
+ if (elm && action != "insert") {
+ var rowsAr = elm.rows;
+ var cols = 0;
+ for (var i=0; i<rowsAr.length; i++)
+ if (rowsAr[i].cells.length > cols)
+ cols = rowsAr[i].cells.length;
+
+ cols = cols;
+ rows = rowsAr.length;
+
+ st = dom.parseStyle(dom.getAttrib(elm, "style"));
+ border = trimSize(getStyle(elm, 'border', 'borderWidth'));
+ cellpadding = dom.getAttrib(elm, 'cellpadding', "");
+ cellspacing = dom.getAttrib(elm, 'cellspacing', "");
+ width = trimSize(getStyle(elm, 'width', 'width'));
+ height = trimSize(getStyle(elm, 'height', 'height'));
+ bordercolor = convertRGBToHex(getStyle(elm, 'bordercolor', 'borderLeftColor'));
+ bgcolor = convertRGBToHex(getStyle(elm, 'bgcolor', 'backgroundColor'));
+ align = dom.getAttrib(elm, 'align', align);
+ frame = dom.getAttrib(elm, 'frame');
+ rules = dom.getAttrib(elm, 'rules');
+ className = tinymce.trim(dom.getAttrib(elm, 'class').replace(/mceItem.+/g, ''));
+ id = dom.getAttrib(elm, 'id');
+ summary = dom.getAttrib(elm, 'summary');
+ style = dom.serializeStyle(st);
+ dir = dom.getAttrib(elm, 'dir');
+ lang = dom.getAttrib(elm, 'lang');
+ background = getStyle(elm, 'background', 'backgroundImage').replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1");
+ formObj.caption.checked = elm.getElementsByTagName('caption').length > 0;
+
+ orgTableWidth = width;
+ orgTableHeight = height;
+
+ action = "update";
+ formObj.insert.value = inst.getLang('update');
+ }
+
+ addClassesToList('class', "table_styles");
+ TinyMCE_EditableSelects.init();
+
+ // Update form
+ selectByValue(formObj, 'align', align);
+ selectByValue(formObj, 'tframe', frame);
+ selectByValue(formObj, 'rules', rules);
+ selectByValue(formObj, 'class', className, true, true);
+ formObj.cols.value = cols;
+ formObj.rows.value = rows;
+ formObj.border.value = border;
+ formObj.cellpadding.value = cellpadding;
+ formObj.cellspacing.value = cellspacing;
+ formObj.width.value = width;
+ formObj.height.value = height;
+ formObj.bordercolor.value = bordercolor;
+ formObj.bgcolor.value = bgcolor;
+ formObj.id.value = id;
+ formObj.summary.value = summary;
+ formObj.style.value = style;
+ formObj.dir.value = dir;
+ formObj.lang.value = lang;
+ formObj.backgroundimage.value = background;
+
+ updateColor('bordercolor_pick', 'bordercolor');
+ updateColor('bgcolor_pick', 'bgcolor');
+
+ // Resize some elements
+ if (isVisible('backgroundimagebrowser'))
+ document.getElementById('backgroundimage').style.width = '180px';
+
+ // Disable some fields in update mode
+ if (action == "update") {
+ formObj.cols.disabled = true;
+ formObj.rows.disabled = true;
+ }
+}
+
+function changedSize() {
+ var formObj = document.forms[0];
+ var st = dom.parseStyle(formObj.style.value);
+
+/* var width = formObj.width.value;
+ if (width != "")
+ st['width'] = tinyMCEPopup.getParam("inline_styles") ? getCSSSize(width) : "";
+ else
+ st['width'] = "";*/
+
+ var height = formObj.height.value;
+ if (height != "")
+ st['height'] = getCSSSize(height);
+ else
+ st['height'] = "";
+
+ formObj.style.value = dom.serializeStyle(st);
+}
+
+function isCssSize(value) {
+ return /^[0-9.]+(%|in|cm|mm|em|ex|pt|pc|px)$/.test(value);
+}
+
+function cssSize(value, def) {
+ value = tinymce.trim(value || def);
+
+ if (!isCssSize(value)) {
+ return parseInt(value, 10) + 'px';
+ }
+
+ return value;
+}
+
+function changedBackgroundImage() {
+ var formObj = document.forms[0];
+ var st = dom.parseStyle(formObj.style.value);
+
+ st['background-image'] = "url('" + formObj.backgroundimage.value + "')";
+
+ formObj.style.value = dom.serializeStyle(st);
+}
+
+function changedBorder() {
+ var formObj = document.forms[0];
+ var st = dom.parseStyle(formObj.style.value);
+
+ // Update border width if the element has a color
+ if (formObj.border.value != "" && (isCssSize(formObj.border.value) || formObj.bordercolor.value != ""))
+ st['border-width'] = cssSize(formObj.border.value);
+ else {
+ if (!formObj.border.value) {
+ st['border'] = '';
+ st['border-width'] = '';
+ }
+ }
+
+ formObj.style.value = dom.serializeStyle(st);
+}
+
+function changedColor() {
+ var formObj = document.forms[0];
+ var st = dom.parseStyle(formObj.style.value);
+
+ st['background-color'] = formObj.bgcolor.value;
+
+ if (formObj.bordercolor.value != "") {
+ st['border-color'] = formObj.bordercolor.value;
+
+ // Add border-width if it's missing
+ if (!st['border-width'])
+ st['border-width'] = cssSize(formObj.border.value, 1);
+ }
+
+ formObj.style.value = dom.serializeStyle(st);
+}
+
+function changedStyle() {
+ var formObj = document.forms[0];
+ var st = dom.parseStyle(formObj.style.value);
+
+ if (st['background-image'])
+ formObj.backgroundimage.value = st['background-image'].replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1");
+ else
+ formObj.backgroundimage.value = '';
+
+ if (st['width'])
+ formObj.width.value = trimSize(st['width']);
+
+ if (st['height'])
+ formObj.height.value = trimSize(st['height']);
+
+ if (st['background-color']) {
+ formObj.bgcolor.value = st['background-color'];
+ updateColor('bgcolor_pick','bgcolor');
+ }
+
+ if (st['border-color']) {
+ formObj.bordercolor.value = st['border-color'];
+ updateColor('bordercolor_pick','bordercolor');
+ }
+}
+
+tinyMCEPopup.onInit.add(init);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/de_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/de_dlg.js
new file mode 100644
index 00000000..1498c148
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/de_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('de.table_dlg',{"rules_border":"alle 4 Seiten (Border)","rules_box":"alle 4 Seiten (Box)","rules_vsides":"links und rechts","rules_rhs":"nur rechts","rules_lhs":"nur links","rules_hsides":"oben und unten","rules_below":"nur unten","rules_above":"nur oben","rules_void":"keins",rules:"Gitter","frame_all":"zwischen allen Zellen","frame_cols":"zwischen Spalten","frame_rows":"zwischen Zeilen","frame_groups":"zwischen Gruppen","frame_none":"keine",frame:"Rahmen",caption:"Beschriftung der Tabelle","missing_scope":"Soll f\u00fcr diese \u00dcberschrift wirklich kein Bereich angegeben werden? Benutzer mit k\u00f6rperlichen Einschr\u00e4nkungen k\u00f6nnten Schwierigkeiten haben, den Inhalt der Tabelle zu verstehen.","cell_limit":"Die maximale Zellenzahl von {$cells} wurde \u00fcberschritten.","row_limit":"Die maximale Zeilenzahl von {$rows} wurde \u00fcberschritten.","col_limit":"Die maximale Spaltenzahl von {$cols} wurde \u00fcberschritten.",colgroup:"Horizontal gruppieren",rowgroup:"Vertikal gruppieren",scope:"Bezug",tfoot:"Tabellenfu\u00df",tbody:"Tabelleninhalt",thead:"Tabellenkopf","row_all":"Alle Zeilen ver\u00e4ndern","row_even":"Gerade Zeilen ver\u00e4ndern","row_odd":"Ungerade Zeilen ver\u00e4ndern","row_row":"Diese Zeile ver\u00e4ndern","cell_all":"Alle Zellen der Tabelle ver\u00e4ndern","cell_row":"Alle Zellen in dieser Zeile ver\u00e4ndern","cell_cell":"Diese Zelle ver\u00e4ndern",th:"\u00dcberschrift",td:"Textzelle",summary:"Zusammenfassung",bgimage:"Hintergrundbild",rtl:"Rechts nach links",ltr:"Links nach rechts",mime:"MIME-Type des Inhalts",langcode:"Sprachcode",langdir:"Schriftrichtung",style:"Format",id:"ID","merge_cells_title":"Zellen vereinen",bgcolor:"Hintergrundfarbe",bordercolor:"Rahmenfarbe","align_bottom":"Unten","align_top":"Oben",valign:"Vertikale Ausrichtung","cell_type":"Zellentyp","cell_title":"Eigenschaften der Zelle","row_title":"Eigenschaften der Zeile","align_middle":"Mittig","align_right":"Rechts","align_left":"Links","align_default":"Standard",align:"Ausrichtung",border:"Rahmen",cellpadding:"Abstand innerhalb der Zellen",cellspacing:"Zellenabstand",rows:"Zeilen",cols:"Spalten",height:"H\u00f6he",width:"Breite",title:"Tabelle einf\u00fcgen/bearbeiten",rowtype:"Gruppierung","advanced_props":"Erweiterte Einstellungen","general_props":"Allgemeine Einstellungen","advanced_tab":"Erweitert","general_tab":"Allgemein","cell_col":"Alle Zellen in dieser Spalte aktualisieren"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/en_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/en_dlg.js
new file mode 100644
index 00000000..463e09ee
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/en_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('en.table_dlg',{"rules_border":"border","rules_box":"box","rules_vsides":"vsides","rules_rhs":"rhs","rules_lhs":"lhs","rules_hsides":"hsides","rules_below":"below","rules_above":"above","rules_void":"void",rules:"Rules","frame_all":"all","frame_cols":"cols","frame_rows":"rows","frame_groups":"groups","frame_none":"none",frame:"Frame",caption:"Table Caption","missing_scope":"Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.","cell_limit":"You\'ve exceeded the maximum number of cells of {$cells}.","row_limit":"You\'ve exceeded the maximum number of rows of {$rows}.","col_limit":"You\'ve exceeded the maximum number of columns of {$cols}.",colgroup:"Col Group",rowgroup:"Row Group",scope:"Scope",tfoot:"Footer",tbody:"Body",thead:"Header","row_all":"Update All Rows in Table","row_even":"Update Even Rows in Table","row_odd":"Update Odd Rows in Table","row_row":"Update Current Row","cell_all":"Update All Cells in Table","cell_row":"Update All Cells in Row","cell_cell":"Update Current Cell",th:"Header",td:"Data",summary:"Summary",bgimage:"Background Image",rtl:"Right to Left",ltr:"Left to Right",mime:"Target MIME Type",langcode:"Language Code",langdir:"Language Direction",style:"Style",id:"ID","merge_cells_title":"Merge Table Cells",bgcolor:"Background Color",bordercolor:"Border Color","align_bottom":"Bottom","align_top":"Top",valign:"Vertical Alignment","cell_type":"Cell Type","cell_title":"Table Cell Properties","row_title":"Table Row Properties","align_middle":"Center","align_right":"Right","align_left":"Left","align_default":"Default",align:"Alignment",border:"Border",cellpadding:"Cell Padding",cellspacing:"Cell Spacing",rows:"Rows",cols:"Columns",height:"Height",width:"Width",title:"Insert/Edit Table",rowtype:"Row Type","advanced_props":"Advanced Properties","general_props":"General Properties","advanced_tab":"Advanced","general_tab":"General","cell_col":"Update all cells in column"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/hu_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/hu_dlg.js
new file mode 100644
index 00000000..1dd89fdb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/hu_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('hu.table_dlg',{"rules_border":"keret","rules_box":"doboz","rules_vsides":"f. oldalak","rules_rhs":"rhs","rules_lhs":"lhs","rules_hsides":"v. oldalak","rules_below":"alatta","rules_above":"f\u00f6l\u00f6tte","rules_void":"sehol/\u00fcres",rules:"Vonalak","frame_all":"mind","frame_cols":"oszlopok","frame_rows":"sorok","frame_groups":"csoportok","frame_none":"nincs",frame:"Keret",caption:"C\u00edmsor","missing_scope":"Biztosan folytatni akarja an\u00e9lk\u00fcl, hogy hat\u00f3k\u00f6rt adna ennek a fejl\u00e9ccell\u00e1nak? Korl\u00e1toz\u00e1sokkal \u00e9l\u0151k sz\u00e1m\u00e1ra neh\u00e9z lesz meg\u00e9rteni a t\u00e1bl\u00e1zat tartalm\u00e1t.","cell_limit":"T\u00fall\u00e9pte a maxim\u00e1lis cellasz\u00e1mot, ami {$cells}.","row_limit":"T\u00fall\u00e9pte a maxim\u00e1lis sorsz\u00e1mot, ami {$rows}.","col_limit":"T\u00fall\u00e9pte a maxim\u00e1lis oszlopsz\u00e1mot, ami {$cols}.",colgroup:"Oszlop csoport",rowgroup:"Sor csoport",scope:"Hat\u00f3k\u00f6r",tfoot:"T\u00e1bl\u00e1zat l\u00e1bl\u00e9c",tbody:"T\u00e1bl\u00e1zat tartalom",thead:"T\u00e1bl\u00e1zat fejl\u00e9c","row_all":"Minden sor friss\u00edt\u00e9se","row_even":"P\u00e1ros sorok friss\u00edt\u00e9se","row_odd":"P\u00e1ratlan sorok friss\u00edt\u00e9se","row_row":"Sor friss\u00edt\u00e9se","cell_all":"T\u00e1bl\u00e1zat \u00f6sszes cell\u00e1j\u00e1nak friss\u00edt\u00e9se","cell_row":"Sor \u00f6sszes cell\u00e1j\u00e1nak friss\u00edt\u00e9se","cell_cell":"Cella friss\u00edt\u00e9se",th:"Fejl\u00e9c",td:"Adat",summary:"\u00d6sszegz\u00e9s",bgimage:"H\u00e1tt\u00e9rk\u00e9p",rtl:"Jobbr\u00f3l balra",ltr:"Balr\u00f3l jobbra",mime:"C\u00e9l MIME t\u00edpus",langcode:"Nyelvk\u00f3d",langdir:"\u00cdr\u00e1s ir\u00e1ny",style:"St\u00edlus",id:"ID","merge_cells_title":"Cell\u00e1k Egyes\u00edt\u00e9se",bgcolor:"H\u00e1tt\u00e9rsz\u00edn",bordercolor:"Keretsz\u00edn","align_bottom":"Le","align_top":"Fel",valign:"F\u00fcgg\u0151leges igaz\u00edt\u00e1s","cell_type":"Cellat\u00edpus","cell_title":"Cella tulajdons\u00e1gai","row_title":"Sor tulajdons\u00e1gai","align_middle":"K\u00f6z\u00e9pre","align_right":"Jobbra","align_left":"Balra","align_default":"Alap\u00e9rtelmezett",align:"Igaz\u00edt\u00e1s",border:"Keret",cellpadding:"Cella bels\u0151 marg\u00f3",cellspacing:"Cella t\u00e1vols\u00e1g",rows:"Sorok",cols:"Oszlopok",height:"Magass\u00e1g",width:"Sz\u00e9less\u00e9g",title:"T\u00e1bl\u00e1zat besz\u00far\u00e1sa/szerkeszt\u00e9se",rowtype:"Sor a t\u00e1bl\u00e1ban","advanced_props":"Halad\u00f3 tulajdons\u00e1gok","general_props":"\u00c1ltal\u00e1nos tulajdons\u00e1gok","advanced_tab":"Halad\u00f3","general_tab":"\u00c1ltal\u00e1nos","cell_col":"\u00d6sszes cella friss\u00edt\u00e9se az oszlopban"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/ja_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/ja_dlg.js
new file mode 100644
index 00000000..ad335864
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/ja_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('ja.table_dlg',{"rules_border":"\u67a0\u7dda(\u4e0a\u4e0b\u5de6\u53f3)","rules_box":"\u30dc\u30c3\u30af\u30b9(\u4e0a\u4e0b\u5de6\u53f3)","rules_vsides":"\u5de6\u53f3\u306e\u7e26\u7dda","rules_rhs":"\u53f3\u306e\u7e26\u7dda","rules_lhs":"\u5de6\u306e\u7e26\u7dda","rules_hsides":"\u4e0a\u4e0b\u306e\u6a2a\u7dda","rules_below":"\u4e0b\u306e\u6a2a\u7dda","rules_above":"\u4e0a\u306e\u6a2a\u7dda","rules_void":"\u306a\u3057",rules:"\u8868\u306e\u5916\u67a0","frame_all":"\u3059\u3079\u3066","frame_cols":"\u5217","frame_rows":"\u884c","frame_groups":"\u30b0\u30eb\u30fc\u30d7\u6bce","frame_none":"\u306a\u3057",frame:"\u30bb\u30eb\u306e\u67a0",caption:"\u8868\u306e\u898b\u51fa\u3057","missing_scope":"\u3053\u306e\u8868\u306e\u30d8\u30c3\u30c0\u30fc\u306e\u30bb\u30eb\u306e\u7bc4\u56f2\u3092\u8a2d\u5b9a\u3057\u306a\u3044\u3067\u672c\u5f53\u306b\u7d9a\u3051\u307e\u3059\u304b? \u3053\u306e\u307e\u307e\u3067\u306f\u76ee\u306e\u4e0d\u81ea\u7531\u306a\u65b9\u304c\u8868\u306e\u5185\u5bb9\u3084\u8868\u793a\u3055\u308c\u308b\u30c7\u30fc\u30bf\u3092\u7406\u89e3\u3059\u308b\u306e\u304c\u56f0\u96e3\u306b\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002","cell_limit":"\u30bb\u30eb\u306e\u6700\u5927\u6570\u306e${cells}\u3092\u8d85\u3048\u307e\u3057\u305f\u3002","row_limit":"\u884c\u306e\u6700\u5927\u6570\u306e${rows}\u3092\u8d85\u3048\u307e\u3057\u305f\u3002","col_limit":"\u5217\u306e\u6700\u5927\u6570\u306e${cols}\u3092\u8d85\u3048\u307e\u3057\u305f\u3002",colgroup:"\u5217\u30b0\u30eb\u30fc\u30d7",rowgroup:"\u884c\u30b0\u30eb\u30fc\u30d7",scope:"\u30b9\u30b3\u30fc\u30d7",tfoot:"\u8868\u306e\u30d5\u30c3\u30bf\u30fc",tbody:"\u8868\u306e\u30dc\u30c7\u30a3",thead:"\u8868\u306e\u30d8\u30c3\u30c0\u30fc","row_all":"\u3059\u3079\u3066\u306e\u884c\u3092\u66f4\u65b0","row_even":"\u5076\u6570\u884c\u3092\u66f4\u65b0","row_odd":"\u5947\u6570\u884c\u3092\u66f4\u65b0","row_row":"\u9078\u629e\u3057\u3066\u3044\u308b\u884c\u3092\u66f4\u65b0","cell_all":"\u3059\u3079\u3066\u306e\u30bb\u30eb\u3092\u66f4\u65b0","cell_row":"\u884c\u5185\u306e\u30bb\u30eb\u3092\u66f4\u65b0","cell_cell":"\u9078\u629e\u3057\u3066\u3044\u308b\u30bb\u30eb\u3092\u66f4\u65b0",th:"\u30d8\u30c3\u30c0\u30fc",td:"\u30c7\u30fc\u30bf",summary:"\u30b5\u30de\u30ea\u30fc",bgimage:"\u80cc\u666f\u306e\u753b\u50cf",rtl:"\u53f3\u304b\u3089\u5de6",ltr:"\u5de6\u304b\u3089\u53f3",mime:"\u30bf\u30fc\u30b2\u30c3\u30c8\u306eMIME\u30bf\u30a4\u30d7",langcode:"\u8a00\u8a9e\u30b3\u30fc\u30c9",langdir:"\u6587\u7ae0\u306e\u65b9\u5411",style:"\u30b9\u30bf\u30a4\u30eb",id:"ID","merge_cells_title":"\u30bb\u30eb\u3092\u7d50\u5408",bgcolor:"\u80cc\u666f\u306e\u8272",bordercolor:"\u67a0\u7dda\u306e\u8272","align_bottom":"\u4e0b\u63c3\u3048","align_top":"\u4e0a\u63c3\u3048",valign:"\u5782\u76f4\u65b9\u5411\u306e\u914d\u7f6e","cell_type":"\u30bb\u30eb\u306e\u7a2e\u985e","cell_title":"\u30bb\u30eb\u306e\u5c5e\u6027","row_title":"\u884c\u306e\u5c5e\u6027","align_middle":"\u4e2d\u592e\u63c3\u3048","align_right":"\u53f3\u63c3\u3048","align_left":"\u5de6\u63c3\u3048","align_default":"\u521d\u671f\u72b6\u614b",align:"\u914d\u7f6e",border:"\u67a0\u7dda",cellpadding:"\u30bb\u30eb\u306e\u30d1\u30c7\u30a3\u30f3\u30b0(cellpadding)",cellspacing:"\u30bb\u30eb\u306e\u9593\u9694(cellspacing)",rows:"\u884c",cols:"\u5217",height:"\u9ad8\u3055",width:"\u5e45",title:"\u8868\u306e\u633f\u5165\u3084\u7de8\u96c6",rowtype:"\u884c","advanced_props":"\u9ad8\u5ea6\u306a\u5c5e\u6027","general_props":"\u4e00\u822c\u7684\u306a\u5c5e\u6027","advanced_tab":"\u9ad8\u5ea6","general_tab":"\u4e00\u822c","cell_col":"\u3059\u3079\u3066\u306e\u30bb\u30eb\u3092\u66f4\u65b0"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/merge_cells.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/merge_cells.htm
new file mode 100755
index 00000000..d231090e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/merge_cells.htm
@@ -0,0 +1,32 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#table_dlg.merge_cells_title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/validate.js"></script>
+ <script type="text/javascript" src="js/merge_cells.js"></script>
+</head>
+<body style="margin: 8px" role="application">
+<form onsubmit="MergeCellsDialog.merge();return false;" action="#">
+ <fieldset>
+ <legend>{#table_dlg.merge_cells_title}</legend>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="3" width="100%">
+ <tr>
+ <td><label for="numcols">{#table_dlg.cols}</label>:</td>
+ <td align="right"><input type="text" id="numcols" name="numcols" value="" class="number min1 mceFocus" style="width: 30px" aria-required="true" /></td>
+ </tr>
+ <tr>
+ <td><label for="numrows">{#table_dlg.rows}</label>:</td>
+ <td align="right"><input type="text" id="numrows" name="numrows" value="" class="number min1" style="width: 30px" aria-required="true" /></td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#update}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+</form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/row.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/row.htm
new file mode 100755
index 00000000..1885401f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/row.htm
@@ -0,0 +1,158 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#table_dlg.row_title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="../../utils/validate.js"></script>
+ <script type="text/javascript" src="../../utils/editable_selects.js"></script>
+ <script type="text/javascript" src="js/row.js"></script>
+ <link href="css/row.css" rel="stylesheet" type="text/css" />
+</head>
+<body id="tablerow" style="display: none" role="application">
+ <form onsubmit="updateAction();return false;" action="#">
+ <div class="tabs">
+ <ul>
+ <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#table_dlg.general_tab}</a></span></li>
+ <li id="advanced_tab" aria-controls="advanced_panel"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#table_dlg.advanced_tab}</a></span></li>
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="general_panel" class="panel current">
+ <fieldset>
+ <legend>{#table_dlg.general_props}</legend>
+
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td><label for="rowtype">{#table_dlg.rowtype}</label></td>
+ <td class="col2">
+ <select id="rowtype" name="rowtype" class="mceFocus">
+ <option value="thead">{#table_dlg.thead}</option>
+ <option value="tbody">{#table_dlg.tbody}</option>
+ <option value="tfoot">{#table_dlg.tfoot}</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="align">{#table_dlg.align}</label></td>
+ <td class="col2">
+ <select id="align" name="align">
+ <option value="">{#not_set}</option>
+ <option value="center">{#table_dlg.align_middle}</option>
+ <option value="left">{#table_dlg.align_left}</option>
+ <option value="right">{#table_dlg.align_right}</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="valign">{#table_dlg.valign}</label></td>
+ <td class="col2">
+ <select id="valign" name="valign">
+ <option value="">{#not_set}</option>
+ <option value="top">{#table_dlg.align_top}</option>
+ <option value="middle">{#table_dlg.align_middle}</option>
+ <option value="bottom">{#table_dlg.align_bottom}</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr id="styleSelectRow">
+ <td><label for="class">{#class_name}</label></td>
+ <td class="col2">
+ <select id="class" name="class" class="mceEditableSelect">
+ <option value="" selected="selected">{#not_set}</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="height">{#table_dlg.height}</label></td>
+ <td class="col2"><input name="height" type="text" id="height" value="" size="7" maxlength="7" onchange="changedSize();" class="size" /></td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+
+ <div id="advanced_panel" class="panel">
+ <fieldset>
+ <legend>{#table_dlg.advanced_props}</legend>
+
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="column1"><label for="id">{#table_dlg.id}</label></td>
+ <td><input id="id" name="id" type="text" value="" style="width: 200px" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="style">{#table_dlg.style}</label></td>
+ <td><input type="text" id="style" name="style" value="" style="width: 200px;" onchange="changedStyle();" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="dir">{#table_dlg.langdir}</label></td>
+ <td>
+ <select id="dir" name="dir" style="width: 200px">
+ <option value="">{#not_set}</option>
+ <option value="ltr">{#table_dlg.ltr}</option>
+ <option value="rtl">{#table_dlg.rtl}</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="lang">{#table_dlg.langcode}</label></td>
+ <td>
+ <input id="lang" name="lang" type="text" value="" style="width: 200px" />
+ </td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td>
+ <td id="backgroundimagebrowsercontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="bgcolor" id="bgcolor_label">{#table_dlg.bgcolor}</label></td>
+ <td>
+ <span role="group" aria-labelledby="bgcolor_label">
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
+ <td id="bgcolor_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </span>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ </div>
+
+ <div class="mceActionPanel">
+ <div>
+ <select id="action" name="action">
+ <option value="row">{#table_dlg.row_row}</option>
+ <option value="odd">{#table_dlg.row_odd}</option>
+ <option value="even">{#table_dlg.row_even}</option>
+ <option value="all">{#table_dlg.row_all}</option>
+ </select>
+ </div>
+
+ <input type="submit" id="insert" name="insert" value="{#update}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+ </form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/table.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/table.htm
new file mode 100755
index 00000000..b92fa741
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/table/table.htm
@@ -0,0 +1,188 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#table_dlg.title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="../../utils/validate.js"></script>
+ <script type="text/javascript" src="../../utils/editable_selects.js"></script>
+ <script type="text/javascript" src="js/table.js"></script>
+ <link href="css/table.css" rel="stylesheet" type="text/css" />
+</head>
+<body id="table" style="display: none" role="application" aria-labelledby="app_title">
+ <span style="display:none;" id="app_title">{#table_dlg.title}</span>
+ <form onsubmit="insertTable();return false;" action="#">
+ <div class="tabs">
+ <ul>
+ <li id="general_tab" aria-controls="general_panel" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#table_dlg.general_tab}</a></span></li>
+ <li id="advanced_tab" aria-controls="advanced_panel"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#table_dlg.advanced_tab}</a></span></li>
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="general_panel" class="panel current">
+ <fieldset>
+ <legend>{#table_dlg.general_props}</legend>
+ <table role="presentation" border="0" cellpadding="4" cellspacing="0" width="100%">
+ <tr>
+ <td><label id="colslabel" for="cols">{#table_dlg.cols}</label></td>
+ <td><input id="cols" name="cols" type="text" value="" size="3" maxlength="3" class="required number min1 mceFocus" aria-required="true" /></td>
+ <td><label id="rowslabel" for="rows">{#table_dlg.rows}</label></td>
+ <td><input id="rows" name="rows" type="text" value="" size="3" maxlength="3" class="required number min1" aria-required="true" /></td>
+ </tr>
+ <tr>
+ <td><label id="cellpaddinglabel" for="cellpadding">{#table_dlg.cellpadding}</label></td>
+ <td><input id="cellpadding" name="cellpadding" type="text" value="" size="3" maxlength="3" class="number" /></td>
+ <td><label id="cellspacinglabel" for="cellspacing">{#table_dlg.cellspacing}</label></td>
+ <td><input id="cellspacing" name="cellspacing" type="text" value="" size="3" maxlength="3" class="number" /></td>
+ </tr>
+ <tr>
+ <td><label id="alignlabel" for="align">{#table_dlg.align}</label></td>
+ <td><select id="align" name="align">
+ <option value="">{#not_set}</option>
+ <option value="center">{#table_dlg.align_middle}</option>
+ <option value="left">{#table_dlg.align_left}</option>
+ <option value="right">{#table_dlg.align_right}</option>
+ </select></td>
+ <td><label id="borderlabel" for="border">{#table_dlg.border}</label></td>
+ <td><input id="border" name="border" type="text" value="" size="3" maxlength="5" onchange="changedBorder();" class="size" /></td>
+ </tr>
+ <tr id="width_row">
+ <td><label id="widthlabel" for="width">{#table_dlg.width}</label></td>
+ <td><input name="width" type="text" id="width" value="" size="7" maxlength="7" onchange="changedSize();" class="size" /></td>
+ <td><label id="heightlabel" for="height">{#table_dlg.height}</label></td>
+ <td><input name="height" type="text" id="height" value="" size="7" maxlength="7" onchange="changedSize();" class="size" /></td>
+ </tr>
+ <tr id="styleSelectRow" >
+ <td><label id="classlabel" for="class">{#class_name}</label></td>
+ <td colspan="3" >
+ <select id="class" name="class" class="mceEditableSelect">
+ <option value="" selected="selected">{#not_set}</option>
+ </select></td>
+ </tr>
+ <tr>
+ <td class="column1" ><label for="caption">{#table_dlg.caption}</label></td>
+ <td><input id="caption" name="caption" type="checkbox" class="checkbox" value="true" /></td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+
+ <div id="advanced_panel" class="panel">
+ <fieldset>
+ <legend>{#table_dlg.advanced_props}</legend>
+
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="column1"><label for="id">{#table_dlg.id}</label></td>
+ <td><input id="id" name="id" type="text" value="" class="advfield" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="summary">{#table_dlg.summary}</label></td>
+ <td><input id="summary" name="summary" type="text" value="" class="advfield" /></td>
+ </tr>
+
+ <tr>
+ <td><label for="style">{#table_dlg.style}</label></td>
+ <td><input type="text" id="style" name="style" value="" class="advfield" onchange="changedStyle();" /></td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label id="langlabel" for="lang">{#table_dlg.langcode}</label></td>
+ <td>
+ <input id="lang" name="lang" type="text" value="" class="advfield" />
+ </td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
+ <td>
+ <table role="presentation" aria-labelledby="backgroundimage_label" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="backgroundimage" name="backgroundimage" type="text" value="" class="advfield" onchange="changedBackgroundImage();" /></td>
+ <td id="backgroundimagebrowsercontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="tframe">{#table_dlg.frame}</label></td>
+ <td>
+ <select id="tframe" name="tframe" class="advfield">
+ <option value="">{#not_set}</option>
+ <option value="void">{#table_dlg.rules_void}</option>
+ <option value="above">{#table_dlg.rules_above}</option>
+ <option value="below">{#table_dlg.rules_below}</option>
+ <option value="hsides">{#table_dlg.rules_hsides}</option>
+ <option value="lhs">{#table_dlg.rules_lhs}</option>
+ <option value="rhs">{#table_dlg.rules_rhs}</option>
+ <option value="vsides">{#table_dlg.rules_vsides}</option>
+ <option value="box">{#table_dlg.rules_box}</option>
+ <option value="border">{#table_dlg.rules_border}</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="rules">{#table_dlg.rules}</label></td>
+ <td>
+ <select id="rules" name="rules" class="advfield">
+ <option value="">{#not_set}</option>
+ <option value="none">{#table_dlg.frame_none}</option>
+ <option value="groups">{#table_dlg.frame_groups}</option>
+ <option value="rows">{#table_dlg.frame_rows}</option>
+ <option value="cols">{#table_dlg.frame_cols}</option>
+ <option value="all">{#table_dlg.frame_all}</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="column1"><label for="dir">{#table_dlg.langdir}</label></td>
+ <td>
+ <select id="dir" name="dir" class="advfield">
+ <option value="">{#not_set}</option>
+ <option value="ltr">{#table_dlg.ltr}</option>
+ <option value="rtl">{#table_dlg.rtl}</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr role="group" aria-labelledby="bordercolor_label">
+ <td class="column1"><label id="bordercolor_label" for="bordercolor">{#table_dlg.bordercolor}</label></td>
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
+ <td id="bordercolor_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr role="group" aria-labelledby="bgcolor_label">
+ <td class="column1"><label id="bgcolor_label" for="bgcolor">{#table_dlg.bgcolor}</label></td>
+ <td>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
+ <td id="bgcolor_pickcontainer">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ </div>
+
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#insert}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+ </form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/blank.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/blank.htm
new file mode 100755
index 00000000..ecde53fa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/blank.htm
@@ -0,0 +1,12 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>blank_page</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <script type="text/javascript">
+ parent.TemplateDialog.loadCSSFiles(document);
+ </script>
+</head>
+<body id="mceTemplatePreview" class="mceContentBody">
+
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/css/template.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/css/template.css
new file mode 100755
index 00000000..2d23a493
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/css/template.css
@@ -0,0 +1,23 @@
+#frmbody {
+ padding: 10px;
+ background-color: #FFF;
+ border: 1px solid #CCC;
+}
+
+.frmRow {
+ margin-bottom: 10px;
+}
+
+#templatesrc {
+ border: none;
+ width: 320px;
+ height: 240px;
+}
+
+.title {
+ padding-bottom: 5px;
+}
+
+.mceActionPanel {
+ padding-top: 5px;
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/editor_plugin.js
new file mode 100755
index 00000000..ebe3c27d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/editor_plugin.js
@@ -0,0 +1 @@
+(function(){var a=tinymce.each;tinymce.create("tinymce.plugins.TemplatePlugin",{init:function(b,c){var d=this;d.editor=b;b.addCommand("mceTemplate",function(e){b.windowManager.open({file:c+"/template.htm",width:b.getParam("template_popup_width",750),height:b.getParam("template_popup_height",600),inline:1},{plugin_url:c})});b.addCommand("mceInsertTemplate",d._insertTemplate,d);b.addButton("template",{title:"template.desc",cmd:"mceTemplate"});b.onPreProcess.add(function(e,g){var f=e.dom;a(f.select("div",g.node),function(h){if(f.hasClass(h,"mceTmpl")){a(f.select("*",h),function(i){if(f.hasClass(i,e.getParam("template_mdate_classes","mdate").replace(/\s+/g,"|"))){i.innerHTML=d._getDateTime(new Date(),e.getParam("template_mdate_format",e.getLang("template.mdate_format")))}});d._replaceVals(h)}})})},getInfo:function(){return{longname:"Template plugin",author:"Moxiecode Systems AB",authorurl:"http://www.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/template",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_insertTemplate:function(i,j){var k=this,g=k.editor,f,c,d=g.dom,b=g.selection.getContent();f=j.content;a(k.editor.getParam("template_replace_values"),function(l,h){if(typeof(l)!="function"){f=f.replace(new RegExp("\\{\\$"+h+"\\}","g"),l)}});c=d.create("div",null,f);n=d.select(".mceTmpl",c);if(n&&n.length>0){c=d.create("div",null);c.appendChild(n[0].cloneNode(true))}function e(l,h){return new RegExp("\\b"+h+"\\b","g").test(l.className)}a(d.select("*",c),function(h){if(e(h,g.getParam("template_cdate_classes","cdate").replace(/\s+/g,"|"))){h.innerHTML=k._getDateTime(new Date(),g.getParam("template_cdate_format",g.getLang("template.cdate_format")))}if(e(h,g.getParam("template_mdate_classes","mdate").replace(/\s+/g,"|"))){h.innerHTML=k._getDateTime(new Date(),g.getParam("template_mdate_format",g.getLang("template.mdate_format")))}if(e(h,g.getParam("template_selected_content_classes","selcontent").replace(/\s+/g,"|"))){h.innerHTML=b}});k._replaceVals(c);g.execCommand("mceInsertContent",false,c.innerHTML);g.addVisual()},_replaceVals:function(c){var d=this.editor.dom,b=this.editor.getParam("template_replace_values");a(d.select("*",c),function(f){a(b,function(g,e){if(d.hasClass(f,e)){if(typeof(b[e])=="function"){b[e](f)}}})})},_getDateTime:function(e,b){if(!b){return""}function c(g,d){var f;g=""+g;if(g.length<d){for(f=0;f<(d-g.length);f++){g="0"+g}}return g}b=b.replace("%D","%m/%d/%y");b=b.replace("%r","%I:%M:%S %p");b=b.replace("%Y",""+e.getFullYear());b=b.replace("%y",""+e.getYear());b=b.replace("%m",c(e.getMonth()+1,2));b=b.replace("%d",c(e.getDate(),2));b=b.replace("%H",""+c(e.getHours(),2));b=b.replace("%M",""+c(e.getMinutes(),2));b=b.replace("%S",""+c(e.getSeconds(),2));b=b.replace("%I",""+((e.getHours()+11)%12+1));b=b.replace("%p",""+(e.getHours()<12?"AM":"PM"));b=b.replace("%B",""+this.editor.getLang("template_months_long").split(",")[e.getMonth()]);b=b.replace("%b",""+this.editor.getLang("template_months_short").split(",")[e.getMonth()]);b=b.replace("%A",""+this.editor.getLang("template_day_long").split(",")[e.getDay()]);b=b.replace("%a",""+this.editor.getLang("template_day_short").split(",")[e.getDay()]);b=b.replace("%%","%");return b}});tinymce.PluginManager.add("template",tinymce.plugins.TemplatePlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/editor_plugin_src.js
new file mode 100755
index 00000000..9cac2699
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/editor_plugin_src.js
@@ -0,0 +1,159 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ var each = tinymce.each;
+
+ tinymce.create('tinymce.plugins.TemplatePlugin', {
+ init : function(ed, url) {
+ var t = this;
+
+ t.editor = ed;
+
+ // Register commands
+ ed.addCommand('mceTemplate', function(ui) {
+ ed.windowManager.open({
+ file : url + '/template.htm',
+ width : ed.getParam('template_popup_width', 750),
+ height : ed.getParam('template_popup_height', 600),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ ed.addCommand('mceInsertTemplate', t._insertTemplate, t);
+
+ // Register buttons
+ ed.addButton('template', {title : 'template.desc', cmd : 'mceTemplate'});
+
+ ed.onPreProcess.add(function(ed, o) {
+ var dom = ed.dom;
+
+ each(dom.select('div', o.node), function(e) {
+ if (dom.hasClass(e, 'mceTmpl')) {
+ each(dom.select('*', e), function(e) {
+ if (dom.hasClass(e, ed.getParam('template_mdate_classes', 'mdate').replace(/\s+/g, '|')))
+ e.innerHTML = t._getDateTime(new Date(), ed.getParam("template_mdate_format", ed.getLang("template.mdate_format")));
+ });
+
+ t._replaceVals(e);
+ }
+ });
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Template plugin',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://www.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/template',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ _insertTemplate : function(ui, v) {
+ var t = this, ed = t.editor, h, el, dom = ed.dom, sel = ed.selection.getContent();
+
+ h = v.content;
+
+ each(t.editor.getParam('template_replace_values'), function(v, k) {
+ if (typeof(v) != 'function')
+ h = h.replace(new RegExp('\\{\\$' + k + '\\}', 'g'), v);
+ });
+
+ el = dom.create('div', null, h);
+
+ // Find template element within div
+ n = dom.select('.mceTmpl', el);
+ if (n && n.length > 0) {
+ el = dom.create('div', null);
+ el.appendChild(n[0].cloneNode(true));
+ }
+
+ function hasClass(n, c) {
+ return new RegExp('\\b' + c + '\\b', 'g').test(n.className);
+ };
+
+ each(dom.select('*', el), function(n) {
+ // Replace cdate
+ if (hasClass(n, ed.getParam('template_cdate_classes', 'cdate').replace(/\s+/g, '|')))
+ n.innerHTML = t._getDateTime(new Date(), ed.getParam("template_cdate_format", ed.getLang("template.cdate_format")));
+
+ // Replace mdate
+ if (hasClass(n, ed.getParam('template_mdate_classes', 'mdate').replace(/\s+/g, '|')))
+ n.innerHTML = t._getDateTime(new Date(), ed.getParam("template_mdate_format", ed.getLang("template.mdate_format")));
+
+ // Replace selection
+ if (hasClass(n, ed.getParam('template_selected_content_classes', 'selcontent').replace(/\s+/g, '|')))
+ n.innerHTML = sel;
+ });
+
+ t._replaceVals(el);
+
+ ed.execCommand('mceInsertContent', false, el.innerHTML);
+ ed.addVisual();
+ },
+
+ _replaceVals : function(e) {
+ var dom = this.editor.dom, vl = this.editor.getParam('template_replace_values');
+
+ each(dom.select('*', e), function(e) {
+ each(vl, function(v, k) {
+ if (dom.hasClass(e, k)) {
+ if (typeof(vl[k]) == 'function')
+ vl[k](e);
+ }
+ });
+ });
+ },
+
+ _getDateTime : function(d, fmt) {
+ if (!fmt)
+ return "";
+
+ function addZeros(value, len) {
+ var i;
+
+ value = "" + value;
+
+ if (value.length < len) {
+ for (i=0; i<(len-value.length); i++)
+ value = "0" + value;
+ }
+
+ return value;
+ }
+
+ fmt = fmt.replace("%D", "%m/%d/%y");
+ fmt = fmt.replace("%r", "%I:%M:%S %p");
+ fmt = fmt.replace("%Y", "" + d.getFullYear());
+ fmt = fmt.replace("%y", "" + d.getYear());
+ fmt = fmt.replace("%m", addZeros(d.getMonth()+1, 2));
+ fmt = fmt.replace("%d", addZeros(d.getDate(), 2));
+ fmt = fmt.replace("%H", "" + addZeros(d.getHours(), 2));
+ fmt = fmt.replace("%M", "" + addZeros(d.getMinutes(), 2));
+ fmt = fmt.replace("%S", "" + addZeros(d.getSeconds(), 2));
+ fmt = fmt.replace("%I", "" + ((d.getHours() + 11) % 12 + 1));
+ fmt = fmt.replace("%p", "" + (d.getHours() < 12 ? "AM" : "PM"));
+ fmt = fmt.replace("%B", "" + this.editor.getLang("template_months_long").split(',')[d.getMonth()]);
+ fmt = fmt.replace("%b", "" + this.editor.getLang("template_months_short").split(',')[d.getMonth()]);
+ fmt = fmt.replace("%A", "" + this.editor.getLang("template_day_long").split(',')[d.getDay()]);
+ fmt = fmt.replace("%a", "" + this.editor.getLang("template_day_short").split(',')[d.getDay()]);
+ fmt = fmt.replace("%%", "%");
+
+ return fmt;
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('template', tinymce.plugins.TemplatePlugin);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/js/template.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/js/template.js
new file mode 100644
index 00000000..bc3045d2
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/js/template.js
@@ -0,0 +1,106 @@
+tinyMCEPopup.requireLangPack();
+
+var TemplateDialog = {
+ preInit : function() {
+ var url = tinyMCEPopup.getParam("template_external_list_url");
+
+ if (url != null)
+ document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></sc'+'ript>');
+ },
+
+ init : function() {
+ var ed = tinyMCEPopup.editor, tsrc, sel, x, u;
+
+ tsrc = ed.getParam("template_templates", false);
+ sel = document.getElementById('tpath');
+
+ // Setup external template list
+ if (!tsrc && typeof(tinyMCETemplateList) != 'undefined') {
+ for (x=0, tsrc = []; x<tinyMCETemplateList.length; x++)
+ tsrc.push({title : tinyMCETemplateList[x][0], src : tinyMCETemplateList[x][1], description : tinyMCETemplateList[x][2]});
+ }
+
+ for (x=0; x<tsrc.length; x++)
+ sel.options[sel.options.length] = new Option(tsrc[x].title, tinyMCEPopup.editor.documentBaseURI.toAbsolute(tsrc[x].src));
+
+ this.resize();
+ this.tsrc = tsrc;
+ },
+
+ resize : function() {
+ var w, h, e;
+
+ if (!self.innerWidth) {
+ w = document.body.clientWidth - 50;
+ h = document.body.clientHeight - 160;
+ } else {
+ w = self.innerWidth - 50;
+ h = self.innerHeight - 170;
+ }
+
+ e = document.getElementById('templatesrc');
+
+ if (e) {
+ e.style.height = Math.abs(h) + 'px';
+ e.style.width = Math.abs(w - 5) + 'px';
+ }
+ },
+
+ loadCSSFiles : function(d) {
+ var ed = tinyMCEPopup.editor;
+
+ tinymce.each(ed.getParam("content_css", '').split(','), function(u) {
+ d.write('<link href="' + ed.documentBaseURI.toAbsolute(u) + '" rel="stylesheet" type="text/css" />');
+ });
+ },
+
+ selectTemplate : function(u, ti) {
+ var d = window.frames['templatesrc'].document, x, tsrc = this.tsrc;
+
+ if (!u)
+ return;
+
+ d.body.innerHTML = this.templateHTML = this.getFileContents(u);
+
+ for (x=0; x<tsrc.length; x++) {
+ if (tsrc[x].title == ti)
+ document.getElementById('tmpldesc').innerHTML = tsrc[x].description || '';
+ }
+ },
+
+ insert : function() {
+ tinyMCEPopup.execCommand('mceInsertTemplate', false, {
+ content : this.templateHTML,
+ selection : tinyMCEPopup.editor.selection.getContent()
+ });
+
+ tinyMCEPopup.close();
+ },
+
+ getFileContents : function(u) {
+ var x, d, t = 'text/plain';
+
+ function g(s) {
+ x = 0;
+
+ try {
+ x = new ActiveXObject(s);
+ } catch (s) {
+ }
+
+ return x;
+ };
+
+ x = window.ActiveXObject ? g('Msxml2.XMLHTTP') || g('Microsoft.XMLHTTP') : new XMLHttpRequest();
+
+ // Synchronous AJAX load file
+ x.overrideMimeType && x.overrideMimeType(t);
+ x.open("GET", u, false);
+ x.send(null);
+
+ return x.responseText;
+ }
+};
+
+TemplateDialog.preInit();
+tinyMCEPopup.onInit.add(TemplateDialog.init, TemplateDialog);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/de_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/de_dlg.js
new file mode 100644
index 00000000..04c9fa1a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/de_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('de.template_dlg',{title:"Vorlagen",label:"Vorlage","desc_label":"Beschreibung",desc:"Inhalt aus Vorlage einf\u00fcgen",select:"Vorlage ausw\u00e4hlen",preview:"Vorschau",warning:"Warnung: Eine Vorlage mit einer anderen zu aktualisieren kann zu einem Datenverlust f\u00fchren!","mdate_format":"%Y-%m-%d %H:%M:%S","cdate_format":"%Y-%m-%d %H:%M:%S","months_long":"Januar,Februar,M\u00e4rz,April,Mai,Juni,Juli,August,September,Oktober,November,Dezember","months_short":"Jan,Feb,M\u00e4r,Apr,Mai,Juni,Juli,Aug,Sept,Okt,Nov,Dez","day_long":"Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,Freitag,Samstag,Sonntag","day_short":"So,Mo,Di,Mi,Do,Fr,Sa,So"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/en_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/en_dlg.js
new file mode 100644
index 00000000..83e599d6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/en_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('en.template_dlg',{title:"Templates",label:"Template","desc_label":"Description",desc:"Insert Predefined Template Content",select:"Select a Template",preview:"Preview",warning:"Warning: Updating a template with a different one may cause data loss.","mdate_format":"%Y-%m-%d %H:%M:%S","cdate_format":"%Y-%m-%d %H:%M:%S","months_long":"January,February,March,April,May,June,July,August,September,October,November,December","months_short":"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec","day_long":"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday","day_short":"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/hu_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/hu_dlg.js
new file mode 100644
index 00000000..3f272a9e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/hu_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('hu.template_dlg',{title:"Sablon beilleszt\u00e9se",label:"Sablon","desc_label":"Le\u00edr\u00e1s",desc:"Sablon beilleszt\u00e9se",select:"Sablon v\u00e1laszt\u00e1sa",preview:"El\u0151n\u00e9zet",warning:"Figyelem: Egy m\u00e1r alkalmazott sablon friss\u00edt\u00e9se m\u00e1sikkal adatveszt\u00e9ssel j\u00e1rhat.","mdate_format":"%Y.%m.%d. %H:%M:%S","cdate_format":"%Y.%m.%d. %H:%M:%S","months_long":"janu\u00e1r,febru\u00e1r,m\u00e1rcius,\u00e1prilis,m\u00e1jus,j\u00fanius,j\u00falius,augusztus,szeptember,okt\u00f3ber,november,december","months_short":"Jan,Feb,M\u00e1r,\u00c1pr,M\u00e1j,J\u00fan,J\u00fal,Aug,Szept,Okt,Nov,Dec","day_long":"vas\u00e1rnap,h\u00e9tf\u0151,kedd,szerda,cs\u00fct\u00f6rt\u00f6k,p\u00e9ntek,szombat,vas\u00e1rnap","day_short":"V,H,K,Sze,Cs,P,Szo,V"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/ja_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/ja_dlg.js
new file mode 100644
index 00000000..4aae9337
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/ja_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('ja.template_dlg',{title:"\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8",label:"\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8","desc_label":"\u8aac\u660e",desc:"\u5b9a\u7fa9\u6e08\u307f\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u633f\u5165",select:"\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u9078\u629e",preview:"\u30d7\u30ec\u30d3\u30e5\u30fc",warning:"\u8b66\u544a\uff1a\u7570\u306a\u308b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u66f4\u65b0\u3059\u308b\u3068\u30c7\u30fc\u30bf\u3092\u5931\u3046\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002","mdate_format":"%Y-%m-%d %H:%M:%S","cdate_format":"%Y-%m-%d %H:%M:%S","months_long":"1\u6708,2\u6708,3\u6708,4\u6708,5\u6708,6\u6708,7\u6708,8\u6708,9\u6708,10\u6708,11\u6708,12\u6708","months_short":"1,2,3,4,5,6,7,8,9,10,11,12","day_long":"\u65e5\u66dc\u65e5,\u6708\u66dc\u65e5,\u706b\u66dc\u65e5,\u6c34\u66dc\u65e5,\u6728\u66dc\u65e5,\u91d1\u66dc\u65e5,\u571f\u66dc\u65e5,\u65e5\u66dc\u65e5","day_short":"(\u65e5),(\u6708),(\u706b),(\u6c34),(\u6728),(\u91d1),(\u571f),(\u65e5)"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/template.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/template.htm
new file mode 100755
index 00000000..b2182e63
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/template/template.htm
@@ -0,0 +1,31 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#template_dlg.title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="js/template.js"></script>
+ <link href="css/template.css" rel="stylesheet" type="text/css" />
+</head>
+<body onresize="TemplateDialog.resize();">
+ <form onsubmit="TemplateDialog.insert();return false;">
+ <div id="frmbody">
+ <div class="title">{#template_dlg.desc}</div>
+ <div class="frmRow"><label for="tpath" title="{#template_dlg.select}">{#template_dlg.label}:</label>
+ <select id="tpath" name="tpath" onchange="TemplateDialog.selectTemplate(this.options[this.selectedIndex].value, this.options[this.selectedIndex].text);" class="mceFocus">
+ <option value="">{#template_dlg.select}...</option>
+ </select>
+ <span id="warning"></span></div>
+ <div class="frmRow"><label for="tdesc">{#template_dlg.desc_label}:</label>
+ <span id="tmpldesc"></span></div>
+ <fieldset>
+ <legend>{#template_dlg.preview}</legend>
+ <iframe id="templatesrc" name="templatesrc" src="blank.htm" width="690" height="400" frameborder="0"></iframe>
+ </fieldset>
+ </div>
+
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#insert}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+ </form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/css/visualblocks.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/css/visualblocks.css
new file mode 100644
index 00000000..76bc92b5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/css/visualblocks.css
@@ -0,0 +1,21 @@
+p, h1, h2, h3, h4, h5, h6, hgroup, aside, div, section, article, blockquote, address, pre, figure {display: block; padding-top: 10px; border: 1px dashed #BBB; background: transparent no-repeat}
+p, h1, h2, h3, h4, h5, h6, hgroup, aside, div, section, article, address, pre, figure {margin-left: 3px}
+section, article, address, hgroup, aside, figure {margin: 0 0 1em 3px}
+
+p {background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}
+h1 {background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}
+h2 {background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}
+h3 {background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}
+h4 {background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}
+h5 {background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}
+h6 {background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}
+div {background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}
+section {background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}
+article {background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}
+blockquote {background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}
+address {background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}
+pre {background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}
+hgroup {background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}
+aside {background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}
+figure {background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}
+figcaption {border: 1px dashed #BBB}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/editor_plugin.js
new file mode 100644
index 00000000..c65eaf2b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.VisualBlocks",{init:function(a,b){var c;if(!window.NodeList){return}a.addCommand("mceVisualBlocks",function(){var e=a.dom,d;if(!c){c=e.uniqueId();d=e.create("link",{id:c,rel:"stylesheet",href:b+"/css/visualblocks.css"});a.getDoc().getElementsByTagName("head")[0].appendChild(d)}else{d=e.get(c);d.disabled=!d.disabled}a.controlManager.setActive("visualblocks",!d.disabled)});a.addButton("visualblocks",{title:"visualblocks.desc",cmd:"mceVisualBlocks"});a.onInit.add(function(){if(a.settings.visualblocks_default_state){a.execCommand("mceVisualBlocks",false,null,{skip_focus:true})}})},getInfo:function(){return{longname:"Visual blocks",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualblocks",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("visualblocks",tinymce.plugins.VisualBlocks)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/editor_plugin_src.js
new file mode 100644
index 00000000..b9d2ab2e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/editor_plugin_src.js
@@ -0,0 +1,63 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2012, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.VisualBlocks', {
+ init : function(ed, url) {
+ var cssId;
+
+ // We don't support older browsers like IE6/7 and they don't provide prototypes for DOM objects
+ if (!window.NodeList) {
+ return;
+ }
+
+ ed.addCommand('mceVisualBlocks', function() {
+ var dom = ed.dom, linkElm;
+
+ if (!cssId) {
+ cssId = dom.uniqueId();
+ linkElm = dom.create('link', {
+ id: cssId,
+ rel : 'stylesheet',
+ href : url + '/css/visualblocks.css'
+ });
+
+ ed.getDoc().getElementsByTagName('head')[0].appendChild(linkElm);
+ } else {
+ linkElm = dom.get(cssId);
+ linkElm.disabled = !linkElm.disabled;
+ }
+
+ ed.controlManager.setActive('visualblocks', !linkElm.disabled);
+ });
+
+ ed.addButton('visualblocks', {title : 'visualblocks.desc', cmd : 'mceVisualBlocks'});
+
+ ed.onInit.add(function() {
+ if (ed.settings.visualblocks_default_state) {
+ ed.execCommand('mceVisualBlocks', false, null, {skip_focus : true});
+ }
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Visual blocks',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualblocks',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('visualblocks', tinymce.plugins.VisualBlocks);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualchars/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualchars/editor_plugin.js
new file mode 100755
index 00000000..1a148e8b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualchars/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.VisualChars",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceVisualChars",c._toggleVisualChars,c);a.addButton("visualchars",{title:"visualchars.desc",cmd:"mceVisualChars"});a.onBeforeGetContent.add(function(d,e){if(c.state&&e.format!="raw"&&!e.draft){c.state=true;c._toggleVisualChars(false)}})},getInfo:function(){return{longname:"Visual characters",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualchars",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_toggleVisualChars:function(m){var p=this,k=p.editor,a,g,j,n=k.getDoc(),o=k.getBody(),l,q=k.selection,e,c,f;p.state=!p.state;k.controlManager.setActive("visualchars",p.state);if(m){f=q.getBookmark()}if(p.state){a=[];tinymce.walk(o,function(b){if(b.nodeType==3&&b.nodeValue&&b.nodeValue.indexOf("\u00a0")!=-1){a.push(b)}},"childNodes");for(g=0;g<a.length;g++){l=a[g].nodeValue;l=l.replace(/(\u00a0)/g,'<span data-mce-bogus="1" class="mceItemHidden mceItemNbsp">$1</span>');c=k.dom.create("div",null,l);while(node=c.lastChild){k.dom.insertAfter(node,a[g])}k.dom.remove(a[g])}}else{a=k.dom.select("span.mceItemNbsp",o);for(g=a.length-1;g>=0;g--){k.dom.remove(a[g],1)}}q.moveToBookmark(f)}});tinymce.PluginManager.add("visualchars",tinymce.plugins.VisualChars)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualchars/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualchars/editor_plugin_src.js
new file mode 100755
index 00000000..df985905
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/visualchars/editor_plugin_src.js
@@ -0,0 +1,83 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.VisualChars', {
+ init : function(ed, url) {
+ var t = this;
+
+ t.editor = ed;
+
+ // Register commands
+ ed.addCommand('mceVisualChars', t._toggleVisualChars, t);
+
+ // Register buttons
+ ed.addButton('visualchars', {title : 'visualchars.desc', cmd : 'mceVisualChars'});
+
+ ed.onBeforeGetContent.add(function(ed, o) {
+ if (t.state && o.format != 'raw' && !o.draft) {
+ t.state = true;
+ t._toggleVisualChars(false);
+ }
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Visual characters',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualchars',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ // Private methods
+
+ _toggleVisualChars : function(bookmark) {
+ var t = this, ed = t.editor, nl, i, h, d = ed.getDoc(), b = ed.getBody(), nv, s = ed.selection, bo, div, bm;
+
+ t.state = !t.state;
+ ed.controlManager.setActive('visualchars', t.state);
+
+ if (bookmark)
+ bm = s.getBookmark();
+
+ if (t.state) {
+ nl = [];
+ tinymce.walk(b, function(n) {
+ if (n.nodeType == 3 && n.nodeValue && n.nodeValue.indexOf('\u00a0') != -1)
+ nl.push(n);
+ }, 'childNodes');
+
+ for (i = 0; i < nl.length; i++) {
+ nv = nl[i].nodeValue;
+ nv = nv.replace(/(\u00a0)/g, '<span data-mce-bogus="1" class="mceItemHidden mceItemNbsp">$1</span>');
+
+ div = ed.dom.create('div', null, nv);
+ while (node = div.lastChild)
+ ed.dom.insertAfter(node, nl[i]);
+
+ ed.dom.remove(nl[i]);
+ }
+ } else {
+ nl = ed.dom.select('span.mceItemNbsp', b);
+
+ for (i = nl.length - 1; i >= 0; i--)
+ ed.dom.remove(nl[i], 1);
+ }
+
+ s.moveToBookmark(bm);
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('visualchars', tinymce.plugins.VisualChars);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/wordcount/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/wordcount/editor_plugin.js
new file mode 100644
index 00000000..42ece209
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/wordcount/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.WordCount",{block:0,id:null,countre:null,cleanre:null,init:function(c,d){var e=this,f=0,g=tinymce.VK;e.countre=c.getParam("wordcount_countregex",/[\w\u2019\'-]+/g);e.cleanre=c.getParam("wordcount_cleanregex",/[0-9.(),;:!?%#$?\'\"_+=\\\/-]*/g);e.update_rate=c.getParam("wordcount_update_rate",2000);e.update_on_delete=c.getParam("wordcount_update_on_delete",false);e.id=c.id+"-word-count";c.onPostRender.add(function(i,h){var j,k;k=i.getParam("wordcount_target_id");if(!k){j=tinymce.DOM.get(i.id+"_path_row");if(j){tinymce.DOM.add(j.parentNode,"div",{style:"float: right"},i.getLang("wordcount.words","Words: ")+'<span id="'+e.id+'">0</span>')}}else{tinymce.DOM.add(k,"span",{},'<span id="'+e.id+'">0</span>')}});c.onInit.add(function(h){h.selection.onSetContent.add(function(){e._count(h)});e._count(h)});c.onSetContent.add(function(h){e._count(h)});function b(h){return h!==f&&(h===g.ENTER||f===g.SPACEBAR||a(f))}function a(h){return h===g.DELETE||h===g.BACKSPACE}c.onKeyUp.add(function(h,i){if(b(i.keyCode)||e.update_on_delete&&a(i.keyCode)){e._count(h)}f=i.keyCode})},_getCount:function(c){var a=0;var b=c.getContent({format:"raw"});if(b){b=b.replace(/\.\.\./g," ");b=b.replace(/<.[^<>]*?>/g," ").replace(/&nbsp;|&#160;/gi," ");b=b.replace(/(\w+)(&.+?;)+(\w+)/,"$1$3").replace(/&.+?;/g," ");b=b.replace(this.cleanre,"");var d=b.match(this.countre);if(d){a=d.length}}return a},_count:function(a){var b=this;if(b.block){return}b.block=1;setTimeout(function(){if(!a.destroyed){var c=b._getCount(a);tinymce.DOM.setHTML(b.id,c.toString());setTimeout(function(){b.block=0},b.update_rate)}},1)},getInfo:function(){return{longname:"Word Count plugin",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/wordcount",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("wordcount",tinymce.plugins.WordCount)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/wordcount/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/wordcount/editor_plugin_src.js
new file mode 100644
index 00000000..34b26555
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/wordcount/editor_plugin_src.js
@@ -0,0 +1,122 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.WordCount', {
+ block : 0,
+ id : null,
+ countre : null,
+ cleanre : null,
+
+ init : function(ed, url) {
+ var t = this, last = 0, VK = tinymce.VK;
+
+ t.countre = ed.getParam('wordcount_countregex', /[\w\u2019\'-]+/g); // u2019 == &rsquo;
+ t.cleanre = ed.getParam('wordcount_cleanregex', /[0-9.(),;:!?%#$?\'\"_+=\\\/-]*/g);
+ t.update_rate = ed.getParam('wordcount_update_rate', 2000);
+ t.update_on_delete = ed.getParam('wordcount_update_on_delete', false);
+ t.id = ed.id + '-word-count';
+
+ ed.onPostRender.add(function(ed, cm) {
+ var row, id;
+
+ // Add it to the specified id or the theme advanced path
+ id = ed.getParam('wordcount_target_id');
+ if (!id) {
+ row = tinymce.DOM.get(ed.id + '_path_row');
+
+ if (row)
+ tinymce.DOM.add(row.parentNode, 'div', {'style': 'float: right'}, ed.getLang('wordcount.words', 'Words: ') + '<span id="' + t.id + '">0</span>');
+ } else {
+ tinymce.DOM.add(id, 'span', {}, '<span id="' + t.id + '">0</span>');
+ }
+ });
+
+ ed.onInit.add(function(ed) {
+ ed.selection.onSetContent.add(function() {
+ t._count(ed);
+ });
+
+ t._count(ed);
+ });
+
+ ed.onSetContent.add(function(ed) {
+ t._count(ed);
+ });
+
+ function checkKeys(key) {
+ return key !== last && (key === VK.ENTER || last === VK.SPACEBAR || checkDelOrBksp(last));
+ }
+
+ function checkDelOrBksp(key) {
+ return key === VK.DELETE || key === VK.BACKSPACE;
+ }
+
+ ed.onKeyUp.add(function(ed, e) {
+ if (checkKeys(e.keyCode) || t.update_on_delete && checkDelOrBksp(e.keyCode)) {
+ t._count(ed);
+ }
+
+ last = e.keyCode;
+ });
+ },
+
+ _getCount : function(ed) {
+ var tc = 0;
+ var tx = ed.getContent({ format: 'raw' });
+
+ if (tx) {
+ tx = tx.replace(/\.\.\./g, ' '); // convert ellipses to spaces
+ tx = tx.replace(/<.[^<>]*?>/g, ' ').replace(/&nbsp;|&#160;/gi, ' '); // remove html tags and space chars
+
+ // deal with html entities
+ tx = tx.replace(/(\w+)(&.+?;)+(\w+)/, "$1$3").replace(/&.+?;/g, ' ');
+ tx = tx.replace(this.cleanre, ''); // remove numbers and punctuation
+
+ var wordArray = tx.match(this.countre);
+ if (wordArray) {
+ tc = wordArray.length;
+ }
+ }
+
+ return tc;
+ },
+
+ _count : function(ed) {
+ var t = this;
+
+ // Keep multiple calls from happening at the same time
+ if (t.block)
+ return;
+
+ t.block = 1;
+
+ setTimeout(function() {
+ if (!ed.destroyed) {
+ var tc = t._getCount(ed);
+ tinymce.DOM.setHTML(t.id, tc.toString());
+ setTimeout(function() {t.block = 0;}, t.update_rate);
+ }
+ }, 1);
+ },
+
+ getInfo: function() {
+ return {
+ longname : 'Word Count plugin',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/wordcount',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ tinymce.PluginManager.add('wordcount', tinymce.plugins.WordCount);
+})();
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/abbr.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/abbr.htm
new file mode 100755
index 00000000..30a894f7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/abbr.htm
@@ -0,0 +1,142 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#xhtmlxtras_dlg.title_abbr_element}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="../../utils/editable_selects.js"></script>
+ <script type="text/javascript" src="js/element_common.js"></script>
+ <script type="text/javascript" src="js/abbr.js"></script>
+ <link rel="stylesheet" type="text/css" href="css/popup.css" />
+</head>
+<body style="display: none" role="application" aria-labelledby="app_title">
+<span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_abbr_element}</span>
+<form onsubmit="insertAbbr();return false;" action="#">
+ <div class="tabs">
+ <ul>
+ <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.general_tab}</a></span></li>
+ <!-- <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.events_tab}</a></span></li> -->
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="general_panel" class="panel current">
+ <fieldset>
+ <legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
+ <td><input id="title" name="title" type="text" value="" class="field mceFocus" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="idlabel" for="id">{#xhtmlxtras_dlg.attribute_label_id}</label>:</td>
+ <td><input id="id" name="id" type="text" value="" class="field" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="classlabel" for="class">{#xhtmlxtras_dlg.attribute_label_class}</label>:</td>
+ <td>
+ <select id="class" name="class" class="field mceEditableSelect">
+ <option value="">{#not_set}</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="label"><label id="stylelabel" for="style">{#xhtmlxtras_dlg.attribute_label_style}</label>:</td>
+ <td><input id="style" name="style" type="text" value="" class="field" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="dirlabel" for="dir">{#xhtmlxtras_dlg.attribute_label_langdir}</label>:</td>
+ <td>
+ <select id="dir" name="dir" class="field">
+ <option value="">{#not_set}</option>
+ <option value="ltr">{#xhtmlxtras_dlg.attribute_option_ltr}</option>
+ <option value="rtl">{#xhtmlxtras_dlg.attribute_option_rtl}</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="label"><label id="langlabel" for="lang">{#xhtmlxtras_dlg.attribute_label_langcode}</label>:</td>
+ <td>
+ <input id="lang" name="lang" type="text" value="" class="field" />
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ <div id="events_panel" class="panel">
+ <fieldset>
+ <legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend>
+
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="label"><label for="onfocus">onfocus</label>:</td>
+ <td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onblur">onblur</label>:</td>
+ <td><input id="onblur" name="onblur" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onclick">onclick</label>:</td>
+ <td><input id="onclick" name="onclick" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="ondblclick">ondblclick</label>:</td>
+ <td><input id="ondblclick" name="ondblclick" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmousedown">onmousedown</label>:</td>
+ <td><input id="onmousedown" name="onmousedown" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseup">onmouseup</label>:</td>
+ <td><input id="onmouseup" name="onmouseup" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseover">onmouseover</label>:</td>
+ <td><input id="onmouseover" name="onmouseover" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmousemove">onmousemove</label>:</td>
+ <td><input id="onmousemove" name="onmousemove" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseout">onmouseout</label>:</td>
+ <td><input id="onmouseout" name="onmouseout" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeypress">onkeypress</label>:</td>
+ <td><input id="onkeypress" name="onkeypress" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeydown">onkeydown</label>:</td>
+ <td><input id="onkeydown" name="onkeydown" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeyup">onkeyup</label>:</td>
+ <td><input id="onkeyup" name="onkeyup" type="text" value="" class="field" /></td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ </div>
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#update}" />
+ <input type="button" id="remove" name="remove" class="button" value="{#xhtmlxtras_dlg.remove}" onclick="removeAbbr();" style="display: none;" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+</form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/acronym.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/acronym.htm
new file mode 100755
index 00000000..c1093459
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/acronym.htm
@@ -0,0 +1,142 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#xhtmlxtras_dlg.title_acronym_element}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="../../utils/editable_selects.js"></script>
+ <script type="text/javascript" src="js/element_common.js"></script>
+ <script type="text/javascript" src="js/acronym.js"></script>
+ <link rel="stylesheet" type="text/css" href="css/popup.css" />
+</head>
+<body style="display: none" role="application" aria-labelledby="app_title">
+<span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_acronym_element}</span>
+<form onsubmit="insertAcronym();return false;" action="#">
+ <div class="tabs">
+ <ul>
+ <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.general_tab}</a></span></li>
+ <!-- <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.events_tab}</a></span></li> -->
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="general_panel" class="panel current">
+ <fieldset>
+ <legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
+ <td><input id="title" name="title" type="text" value="" class="field mceFocus" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="idlabel" for="id">{#xhtmlxtras_dlg.attribute_label_id}</label>:</td>
+ <td><input id="id" name="id" type="text" value="" class="field" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="classlabel" for="class">{#xhtmlxtras_dlg.attribute_label_class}</label>:</td>
+ <td>
+ <select id="class" name="class" class="field mceEditableSelect">
+ <option value="">{#not_set}</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="label"><label id="stylelabel" for="style">{#xhtmlxtras_dlg.attribute_label_style}</label>:</td>
+ <td><input id="style" name="style" type="text" value="" class="field" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="dirlabel" for="dir">{#xhtmlxtras_dlg.attribute_label_langdir}</label>:</td>
+ <td>
+ <select id="dir" name="dir" class="field">
+ <option value="">{#not_set}</option>
+ <option value="ltr">{#xhtmlxtras_dlg.attribute_option_ltr}</option>
+ <option value="rtl">{#xhtmlxtras_dlg.attribute_option_rtl}</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="label"><label id="langlabel" for="lang">{#xhtmlxtras_dlg.attribute_label_langcode}</label>:</td>
+ <td>
+ <input id="lang" name="lang" type="text" value="" class="field" />
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ <div id="events_panel" class="panel">
+ <fieldset>
+ <legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend>
+
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="label"><label for="onfocus">onfocus</label>:</td>
+ <td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onblur">onblur</label>:</td>
+ <td><input id="onblur" name="onblur" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onclick">onclick</label>:</td>
+ <td><input id="onclick" name="onclick" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="ondblclick">ondblclick</label>:</td>
+ <td><input id="ondblclick" name="ondblclick" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmousedown">onmousedown</label>:</td>
+ <td><input id="onmousedown" name="onmousedown" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseup">onmouseup</label>:</td>
+ <td><input id="onmouseup" name="onmouseup" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseover">onmouseover</label>:</td>
+ <td><input id="onmouseover" name="onmouseover" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmousemove">onmousemove</label>:</td>
+ <td><input id="onmousemove" name="onmousemove" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseout">onmouseout</label>:</td>
+ <td><input id="onmouseout" name="onmouseout" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeypress">onkeypress</label>:</td>
+ <td><input id="onkeypress" name="onkeypress" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeydown">onkeydown</label>:</td>
+ <td><input id="onkeydown" name="onkeydown" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeyup">onkeyup</label>:</td>
+ <td><input id="onkeyup" name="onkeyup" type="text" value="" class="field" /></td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ </div>
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#update}" />
+ <input type="button" id="remove" name="remove" class="button" value="{#xhtmlxtras_dlg.remove}" onclick="removeAcronym();" style="display: none;" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+</form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/attributes.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/attributes.htm
new file mode 100755
index 00000000..e8d606a3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/attributes.htm
@@ -0,0 +1,149 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#xhtmlxtras_dlg.attribs_title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/editable_selects.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="js/attributes.js"></script>
+ <link rel="stylesheet" type="text/css" href="css/attributes.css" />
+</head>
+<body style="display: none" role="application" aria-labelledby="app_title">
+<span style="display:none;" id="app_title">{#xhtmlxtras_dlg.attribs_title}</span>
+<form onsubmit="insertAction();return false;" action="#">
+ <div class="tabs">
+ <ul>
+ <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.attribute_attrib_tab}</a></span></li>
+ <li id="events_tab" aria-controls="events_panel"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.attribute_events_tab}</a></span></li>
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="general_panel" class="panel current">
+ <fieldset>
+ <legend>{#xhtmlxtras_dlg.attribute_attrib_tab}</legend>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
+ <td><input id="title" name="title" type="text" value="" class="mceFocus" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="idlabel" for="id">{#xhtmlxtras_dlg.attribute_label_id}</label>:</td>
+ <td><input id="id" name="id" type="text" value="" /></td>
+ </tr>
+ <tr>
+ <td><label id="classlabel" for="classlist">{#class_name}</label></td>
+ <td>
+ <select id="classlist" name="classlist" class="mceEditableSelect">
+ <option value="" selected="selected">{#not_set}</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="label"><label id="stylelabel" for="style">{#xhtmlxtras_dlg.attribute_label_style}</label>:</td>
+ <td><input id="style" name="style" type="text" value="" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="dirlabel" for="dir">{#xhtmlxtras_dlg.attribute_label_langdir}</label>:</td>
+ <td>
+ <select id="dir" name="dir">
+ <option value="">{#not_set}</option>
+ <option value="ltr">{#xhtmlxtras_dlg.option_ltr}</option>
+ <option value="rtl">{#xhtmlxtras_dlg.option_rtl}</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="label"><label id="langlabel" for="lang">{#xhtmlxtras_dlg.attribute_label_langcode}</label>:</td>
+ <td>
+ <input id="lang" name="lang" type="text" value="" />
+ </td>
+ </tr>
+ <tr>
+ <td><label id="tabindexlabel" for="tabindex">{#xhtmlxtras_dlg.attribute_label_tabindex}</label></td>
+ <td><input type="text" id="tabindex" name="tabindex" value="" /></td>
+ </tr>
+
+ <tr>
+ <td><label id="accesskeylabel" for="accesskey">{#xhtmlxtras_dlg.attribute_label_accesskey}</label></td>
+ <td><input type="text" id="accesskey" name="accesskey" value="" /></td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ <div id="events_panel" class="panel">
+ <fieldset>
+ <legend>{#xhtmlxtras_dlg.attribute_events_tab}</legend>
+
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="label"><label for="onfocus">onfocus</label>:</td>
+ <td><input id="onfocus" name="onfocus" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onblur">onblur</label>:</td>
+ <td><input id="onblur" name="onblur" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onclick">onclick</label>:</td>
+ <td><input id="onclick" name="onclick" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="ondblclick">ondblclick</label>:</td>
+ <td><input id="ondblclick" name="ondblclick" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmousedown">onmousedown</label>:</td>
+ <td><input id="onmousedown" name="onmousedown" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseup">onmouseup</label>:</td>
+ <td><input id="onmouseup" name="onmouseup" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseover">onmouseover</label>:</td>
+ <td><input id="onmouseover" name="onmouseover" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmousemove">onmousemove</label>:</td>
+ <td><input id="onmousemove" name="onmousemove" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseout">onmouseout</label>:</td>
+ <td><input id="onmouseout" name="onmouseout" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeypress">onkeypress</label>:</td>
+ <td><input id="onkeypress" name="onkeypress" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeydown">onkeydown</label>:</td>
+ <td><input id="onkeydown" name="onkeydown" type="text" value="" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeyup">onkeyup</label>:</td>
+ <td><input id="onkeyup" name="onkeyup" type="text" value="" /></td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ </div>
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#insert}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+</form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/cite.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/cite.htm
new file mode 100755
index 00000000..0ac6bdb6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/cite.htm
@@ -0,0 +1,142 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#xhtmlxtras_dlg.title_cite_element}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="../../utils/editable_selects.js"></script>
+ <script type="text/javascript" src="js/element_common.js"></script>
+ <script type="text/javascript" src="js/cite.js"></script>
+ <link rel="stylesheet" type="text/css" href="css/popup.css" />
+</head>
+<body style="display: none" role="application" aria-labelledby="app_title">
+<span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_cite_element}</span>
+<form onsubmit="insertCite();return false;" action="#">
+ <div class="tabs">
+ <ul>
+ <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.general_tab}</a></span></li>
+ <!-- <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.events_tab}</a></span></li> -->
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="general_panel" class="panel current">
+ <fieldset>
+ <legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
+ <td><input id="title" name="title" type="text" value="" class="field mceFocus" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="idlabel" for="id">{#xhtmlxtras_dlg.attribute_label_id}</label>:</td>
+ <td><input id="id" name="id" type="text" value="" class="field" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="classlabel" for="class">{#xhtmlxtras_dlg.attribute_label_class}</label>:</td>
+ <td>
+ <select id="class" name="class" class="field mceEditableSelect">
+ <option value="">{#not_set}</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="label"><label id="stylelabel" for="class">{#xhtmlxtras_dlg.attribute_label_style}</label>:</td>
+ <td><input id="style" name="style" type="text" value="" class="field" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="dirlabel" for="dir">{#xhtmlxtras_dlg.attribute_label_langdir}</label>:</td>
+ <td>
+ <select id="dir" name="dir" class="field">
+ <option value="">{#not_set}</option>
+ <option value="ltr">{#xhtmlxtras_dlg.attribute_option_ltr}</option>
+ <option value="rtl">{#xhtmlxtras_dlg.attribute_option_rtl}</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="label"><label id="langlabel" for="lang">{#xhtmlxtras_dlg.attribute_label_langcode}</label>:</td>
+ <td>
+ <input id="lang" name="lang" type="text" value="" class="field" />
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ <div id="events_panel" class="panel">
+ <fieldset>
+ <legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend>
+
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="label"><label for="onfocus">onfocus</label>:</td>
+ <td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onblur">onblur</label>:</td>
+ <td><input id="onblur" name="onblur" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onclick">onclick</label>:</td>
+ <td><input id="onclick" name="onclick" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="ondblclick">ondblclick</label>:</td>
+ <td><input id="ondblclick" name="ondblclick" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmousedown">onmousedown</label>:</td>
+ <td><input id="onmousedown" name="onmousedown" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseup">onmouseup</label>:</td>
+ <td><input id="onmouseup" name="onmouseup" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseover">onmouseover</label>:</td>
+ <td><input id="onmouseover" name="onmouseover" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmousemove">onmousemove</label>:</td>
+ <td><input id="onmousemove" name="onmousemove" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseout">onmouseout</label>:</td>
+ <td><input id="onmouseout" name="onmouseout" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeypress">onkeypress</label>:</td>
+ <td><input id="onkeypress" name="onkeypress" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeydown">onkeydown</label>:</td>
+ <td><input id="onkeydown" name="onkeydown" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeyup">onkeyup</label>:</td>
+ <td><input id="onkeyup" name="onkeyup" type="text" value="" class="field" /></td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ </div>
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#update}" />
+ <input type="button" id="remove" name="remove" class="button" value="{#xhtmlxtras_dlg.remove}" onclick="removeCite();" style="display: none;" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+</form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/css/attributes.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/css/attributes.css
new file mode 100755
index 00000000..9a6a235c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/css/attributes.css
@@ -0,0 +1,11 @@
+.panel_wrapper div.current {
+ height: 290px;
+}
+
+#id, #style, #title, #dir, #hreflang, #lang, #classlist, #tabindex, #accesskey {
+ width: 200px;
+}
+
+#events_panel input {
+ width: 200px;
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/css/popup.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/css/popup.css
new file mode 100755
index 00000000..e67114db
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/css/popup.css
@@ -0,0 +1,9 @@
+input.field, select.field {width:200px;}
+input.picker {width:179px; margin-left: 5px;}
+input.disabled {border-color:#F2F2F2;}
+img.picker {vertical-align:text-bottom; cursor:pointer;}
+h1 {padding: 0 0 5px 0;}
+.panel_wrapper div.current {height:160px;}
+#xhtmlxtrasdel .panel_wrapper div.current, #xhtmlxtrasins .panel_wrapper div.current {height: 230px;}
+a.browse span {display:block; width:20px; height:20px; background:url('../../../themes/advanced/img/icons.gif') -140px -20px;}
+#datetime {width:180px;}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/del.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/del.htm
new file mode 100755
index 00000000..5f667510
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/del.htm
@@ -0,0 +1,162 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#xhtmlxtras_dlg.title_del_element}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="../../utils/editable_selects.js"></script>
+ <script type="text/javascript" src="js/element_common.js"></script>
+ <script type="text/javascript" src="js/del.js"></script>
+ <link rel="stylesheet" type="text/css" href="css/popup.css" />
+</head>
+<body id="xhtmlxtrasins" style="display: none" role="application" aria-labelledby="app_title">
+<span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_del_element}</span>
+<form onsubmit="insertDel();return false;" action="#">
+ <div class="tabs">
+ <ul>
+ <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.general_tab}</a></span></li>
+ <!-- <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.events_tab}</a></span></li> -->
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="general_panel" class="panel current">
+ <fieldset>
+ <legend>{#xhtmlxtras_dlg.fieldset_general_tab}</legend>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="label"><label id="datetimelabel" for="datetime">{#xhtmlxtras_dlg.attribute_label_datetime}</label>:</td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input id="datetime" name="datetime" type="text" value="" maxlength="19" class="field mceFocus" /></td>
+ <td><a href="javascript:insertDateTime('datetime');" onmousedown="return false;" class="browse" role="button" aria-labelledby="datetimelabel"><span class="datetime" title="{#xhtmlxtras_dlg.insert_date}"></span></a></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="label"><label id="citelabel" for="cite">{#xhtmlxtras_dlg.attribute_label_cite}</label>:</td>
+ <td><input id="cite" name="cite" type="text" value="" class="field" /></td>
+ </tr>
+ </table>
+ </fieldset>
+ <fieldset>
+ <legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
+ <td><input id="title" name="title" type="text" value="" class="field" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="idlabel" for="id">{#xhtmlxtras_dlg.attribute_label_id}</label>:</td>
+ <td><input id="id" name="id" type="text" value="" class="field" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="classlabel" for="class">{#xhtmlxtras_dlg.attribute_label_class}</label>:</td>
+ <td>
+ <select id="class" name="class" class="field mceEditableSelect">
+ <option value="">{#not_set}</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="label"><label id="stylelabel" for="style">{#xhtmlxtras_dlg.attribute_label_style}</label>:</td>
+ <td><input id="style" name="style" type="text" value="" class="field" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="dirlabel" for="dir">{#xhtmlxtras_dlg.attribute_label_langdir}</label>:</td>
+ <td>
+ <select id="dir" name="dir" class="field">
+ <option value="">{#not_set}</option>
+ <option value="ltr">{#xhtmlxtras_dlg.attribute_option_ltr}</option>
+ <option value="rtl">{#xhtmlxtras_dlg.attribute_option_rtl}</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="label"><label id="langlabel" for="lang">{#xhtmlxtras_dlg.attribute_label_langcode}</label>:</td>
+ <td>
+ <input id="lang" name="lang" type="text" value="" class="field" />
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ <div id="events_panel" class="panel">
+ <fieldset>
+ <legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend>
+
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="label"><label for="onfocus">onfocus</label>:</td>
+ <td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onblur">onblur</label>:</td>
+ <td><input id="onblur" name="onblur" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onclick">onclick</label>:</td>
+ <td><input id="onclick" name="onclick" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="ondblclick">ondblclick</label>:</td>
+ <td><input id="ondblclick" name="ondblclick" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmousedown">onmousedown</label>:</td>
+ <td><input id="onmousedown" name="onmousedown" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseup">onmouseup</label>:</td>
+ <td><input id="onmouseup" name="onmouseup" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseover">onmouseover</label>:</td>
+ <td><input id="onmouseover" name="onmouseover" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmousemove">onmousemove</label>:</td>
+ <td><input id="onmousemove" name="onmousemove" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseout">onmouseout</label>:</td>
+ <td><input id="onmouseout" name="onmouseout" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeypress">onkeypress</label>:</td>
+ <td><input id="onkeypress" name="onkeypress" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeydown">onkeydown</label>:</td>
+ <td><input id="onkeydown" name="onkeydown" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeyup">onkeyup</label>:</td>
+ <td><input id="onkeyup" name="onkeyup" type="text" value="" class="field" /></td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ </div>
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#update}" />
+ <input type="button" id="remove" name="remove" class="button" value="{#xhtmlxtras_dlg.remove}" onclick="removeDel();" style="display: none;" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+</form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin.js
new file mode 100755
index 00000000..9b98a515
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.XHTMLXtrasPlugin",{init:function(a,b){a.addCommand("mceCite",function(){a.windowManager.open({file:b+"/cite.htm",width:350+parseInt(a.getLang("xhtmlxtras.cite_delta_width",0)),height:250+parseInt(a.getLang("xhtmlxtras.cite_delta_height",0)),inline:1},{plugin_url:b})});a.addCommand("mceAcronym",function(){a.windowManager.open({file:b+"/acronym.htm",width:350+parseInt(a.getLang("xhtmlxtras.acronym_delta_width",0)),height:250+parseInt(a.getLang("xhtmlxtras.acronym_delta_height",0)),inline:1},{plugin_url:b})});a.addCommand("mceAbbr",function(){a.windowManager.open({file:b+"/abbr.htm",width:350+parseInt(a.getLang("xhtmlxtras.abbr_delta_width",0)),height:250+parseInt(a.getLang("xhtmlxtras.abbr_delta_height",0)),inline:1},{plugin_url:b})});a.addCommand("mceDel",function(){a.windowManager.open({file:b+"/del.htm",width:340+parseInt(a.getLang("xhtmlxtras.del_delta_width",0)),height:310+parseInt(a.getLang("xhtmlxtras.del_delta_height",0)),inline:1},{plugin_url:b})});a.addCommand("mceIns",function(){a.windowManager.open({file:b+"/ins.htm",width:340+parseInt(a.getLang("xhtmlxtras.ins_delta_width",0)),height:310+parseInt(a.getLang("xhtmlxtras.ins_delta_height",0)),inline:1},{plugin_url:b})});a.addCommand("mceAttributes",function(){a.windowManager.open({file:b+"/attributes.htm",width:380+parseInt(a.getLang("xhtmlxtras.attr_delta_width",0)),height:370+parseInt(a.getLang("xhtmlxtras.attr_delta_height",0)),inline:1},{plugin_url:b})});a.addButton("cite",{title:"xhtmlxtras.cite_desc",cmd:"mceCite"});a.addButton("acronym",{title:"xhtmlxtras.acronym_desc",cmd:"mceAcronym"});a.addButton("abbr",{title:"xhtmlxtras.abbr_desc",cmd:"mceAbbr"});a.addButton("del",{title:"xhtmlxtras.del_desc",cmd:"mceDel"});a.addButton("ins",{title:"xhtmlxtras.ins_desc",cmd:"mceIns"});a.addButton("attribs",{title:"xhtmlxtras.attribs_desc",cmd:"mceAttributes"});a.onNodeChange.add(function(d,c,f,e){f=d.dom.getParent(f,"CITE,ACRONYM,ABBR,DEL,INS");c.setDisabled("cite",e);c.setDisabled("acronym",e);c.setDisabled("abbr",e);c.setDisabled("del",e);c.setDisabled("ins",e);c.setDisabled("attribs",f&&f.nodeName=="BODY");c.setActive("cite",0);c.setActive("acronym",0);c.setActive("abbr",0);c.setActive("del",0);c.setActive("ins",0);if(f){do{c.setDisabled(f.nodeName.toLowerCase(),0);c.setActive(f.nodeName.toLowerCase(),1)}while(f=f.parentNode)}});a.onPreInit.add(function(){a.dom.create("abbr")})},getInfo:function(){return{longname:"XHTML Xtras Plugin",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/xhtmlxtras",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("xhtmlxtras",tinymce.plugins.XHTMLXtrasPlugin)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js
new file mode 100755
index 00000000..f2405721
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js
@@ -0,0 +1,132 @@
+/**
+ * editor_plugin_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.XHTMLXtrasPlugin', {
+ init : function(ed, url) {
+ // Register commands
+ ed.addCommand('mceCite', function() {
+ ed.windowManager.open({
+ file : url + '/cite.htm',
+ width : 350 + parseInt(ed.getLang('xhtmlxtras.cite_delta_width', 0)),
+ height : 250 + parseInt(ed.getLang('xhtmlxtras.cite_delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ ed.addCommand('mceAcronym', function() {
+ ed.windowManager.open({
+ file : url + '/acronym.htm',
+ width : 350 + parseInt(ed.getLang('xhtmlxtras.acronym_delta_width', 0)),
+ height : 250 + parseInt(ed.getLang('xhtmlxtras.acronym_delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ ed.addCommand('mceAbbr', function() {
+ ed.windowManager.open({
+ file : url + '/abbr.htm',
+ width : 350 + parseInt(ed.getLang('xhtmlxtras.abbr_delta_width', 0)),
+ height : 250 + parseInt(ed.getLang('xhtmlxtras.abbr_delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ ed.addCommand('mceDel', function() {
+ ed.windowManager.open({
+ file : url + '/del.htm',
+ width : 340 + parseInt(ed.getLang('xhtmlxtras.del_delta_width', 0)),
+ height : 310 + parseInt(ed.getLang('xhtmlxtras.del_delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ ed.addCommand('mceIns', function() {
+ ed.windowManager.open({
+ file : url + '/ins.htm',
+ width : 340 + parseInt(ed.getLang('xhtmlxtras.ins_delta_width', 0)),
+ height : 310 + parseInt(ed.getLang('xhtmlxtras.ins_delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ ed.addCommand('mceAttributes', function() {
+ ed.windowManager.open({
+ file : url + '/attributes.htm',
+ width : 380 + parseInt(ed.getLang('xhtmlxtras.attr_delta_width', 0)),
+ height : 370 + parseInt(ed.getLang('xhtmlxtras.attr_delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ // Register buttons
+ ed.addButton('cite', {title : 'xhtmlxtras.cite_desc', cmd : 'mceCite'});
+ ed.addButton('acronym', {title : 'xhtmlxtras.acronym_desc', cmd : 'mceAcronym'});
+ ed.addButton('abbr', {title : 'xhtmlxtras.abbr_desc', cmd : 'mceAbbr'});
+ ed.addButton('del', {title : 'xhtmlxtras.del_desc', cmd : 'mceDel'});
+ ed.addButton('ins', {title : 'xhtmlxtras.ins_desc', cmd : 'mceIns'});
+ ed.addButton('attribs', {title : 'xhtmlxtras.attribs_desc', cmd : 'mceAttributes'});
+
+ ed.onNodeChange.add(function(ed, cm, n, co) {
+ n = ed.dom.getParent(n, 'CITE,ACRONYM,ABBR,DEL,INS');
+
+ cm.setDisabled('cite', co);
+ cm.setDisabled('acronym', co);
+ cm.setDisabled('abbr', co);
+ cm.setDisabled('del', co);
+ cm.setDisabled('ins', co);
+ cm.setDisabled('attribs', n && n.nodeName == 'BODY');
+ cm.setActive('cite', 0);
+ cm.setActive('acronym', 0);
+ cm.setActive('abbr', 0);
+ cm.setActive('del', 0);
+ cm.setActive('ins', 0);
+
+ // Activate all
+ if (n) {
+ do {
+ cm.setDisabled(n.nodeName.toLowerCase(), 0);
+ cm.setActive(n.nodeName.toLowerCase(), 1);
+ } while (n = n.parentNode);
+ }
+ });
+
+ ed.onPreInit.add(function() {
+ // Fixed IE issue where it can't handle these elements correctly
+ ed.dom.create('abbr');
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'XHTML Xtras Plugin',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/xhtmlxtras',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('xhtmlxtras', tinymce.plugins.XHTMLXtrasPlugin);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/ins.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/ins.htm
new file mode 100755
index 00000000..d001ac7c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/ins.htm
@@ -0,0 +1,162 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#xhtmlxtras_dlg.title_ins_element}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="../../utils/editable_selects.js"></script>
+ <script type="text/javascript" src="js/element_common.js"></script>
+ <script type="text/javascript" src="js/ins.js"></script>
+ <link rel="stylesheet" type="text/css" href="css/popup.css" />
+</head>
+<body id="xhtmlxtrasins" style="display: none" role="application" aria-labelledby="app_title">
+<span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_ins_element}</span>
+<form onsubmit="insertIns();return false;" action="#">
+ <div class="tabs">
+ <ul>
+ <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.general_tab}</a></span></li>
+ <!-- <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.events_tab}</a></span></li> -->
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="general_panel" class="panel current">
+ <fieldset>
+ <legend>{#xhtmlxtras_dlg.fieldset_general_tab}</legend>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="label"><label id="datetimelabel" for="datetime">{#xhtmlxtras_dlg.attribute_label_datetime}</label>:</td>
+ <td>
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input id="datetime" name="datetime" type="text" value="" maxlength="19" class="field mceFocus" /></td>
+ <td ><a href="javascript:insertDateTime('datetime');" onmousedown="return false;" class="browse" role="button" aria-labelledby="datetimelabel"><span class="datetime" title="{#xhtmlxtras_dlg.insert_date}"></span></a></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr >
+ <td class="label"><label id="citelabel" for="cite">{#xhtmlxtras_dlg.attribute_label_cite}</label>:</td>
+ <td><input id="cite" name="cite" type="text" value="" class="field" /></td>
+ </tr>
+ </table>
+ </fieldset>
+ <fieldset>
+ <legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
+ <td><input id="title" name="title" type="text" value="" class="field" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="idlabel" for="id">{#xhtmlxtras_dlg.attribute_label_id}</label>:</td>
+ <td><input id="id" name="id" type="text" value="" class="field" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="classlabel" for="class">{#xhtmlxtras_dlg.attribute_label_class}</label>:</td>
+ <td>
+ <select id="class" name="class" class="field mceEditableSelect">
+ <option value="">{#not_set}</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="label"><label id="stylelabel" for="style">{#xhtmlxtras_dlg.attribute_label_style}</label>:</td>
+ <td><input id="style" name="style" type="text" value="" class="field" /></td>
+ </tr>
+ <tr>
+ <td class="label"><label id="dirlabel" for="dir">{#xhtmlxtras_dlg.attribute_label_langdir}</label>:</td>
+ <td>
+ <select id="dir" name="dir" class="field">
+ <option value="">{#not_set}</option>
+ <option value="ltr">{#xhtmlxtras_dlg.attribute_option_ltr}</option>
+ <option value="rtl">{#xhtmlxtras_dlg.attribute_option_rtl}</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="label"><label id="langlabel" for="lang">{#xhtmlxtras_dlg.attribute_label_langcode}</label>:</td>
+ <td>
+ <input id="lang" name="lang" type="text" value="" class="field" />
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ <div id="events_panel" class="panel">
+ <fieldset>
+ <legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend>
+
+ <table role="presentation" border="0" cellpadding="0" cellspacing="4">
+ <tr>
+ <td class="label"><label for="onfocus">onfocus</label>:</td>
+ <td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onblur">onblur</label>:</td>
+ <td><input id="onblur" name="onblur" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onclick">onclick</label>:</td>
+ <td><input id="onclick" name="onclick" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="ondblclick">ondblclick</label>:</td>
+ <td><input id="ondblclick" name="ondblclick" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmousedown">onmousedown</label>:</td>
+ <td><input id="onmousedown" name="onmousedown" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseup">onmouseup</label>:</td>
+ <td><input id="onmouseup" name="onmouseup" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseover">onmouseover</label>:</td>
+ <td><input id="onmouseover" name="onmouseover" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmousemove">onmousemove</label>:</td>
+ <td><input id="onmousemove" name="onmousemove" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onmouseout">onmouseout</label>:</td>
+ <td><input id="onmouseout" name="onmouseout" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeypress">onkeypress</label>:</td>
+ <td><input id="onkeypress" name="onkeypress" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeydown">onkeydown</label>:</td>
+ <td><input id="onkeydown" name="onkeydown" type="text" value="" class="field" /></td>
+ </tr>
+
+ <tr>
+ <td class="label"><label for="onkeyup">onkeyup</label>:</td>
+ <td><input id="onkeyup" name="onkeyup" type="text" value="" class="field" /></td>
+ </tr>
+ </table>
+ </fieldset>
+ </div>
+ </div>
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#update}" />
+ <input type="button" id="remove" name="remove" class="button" value="{#xhtmlxtras_dlg.remove}" onclick="removeIns();" style="display: none;" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+</form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/abbr.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/abbr.js
new file mode 100644
index 00000000..4b51a257
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/abbr.js
@@ -0,0 +1,28 @@
+/**
+ * abbr.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+function init() {
+ SXE.initElementDialog('abbr');
+ if (SXE.currentAction == "update") {
+ SXE.showRemoveButton();
+ }
+}
+
+function insertAbbr() {
+ SXE.insertElement('abbr');
+ tinyMCEPopup.close();
+}
+
+function removeAbbr() {
+ SXE.removeElement('abbr');
+ tinyMCEPopup.close();
+}
+
+tinyMCEPopup.onInit.add(init);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/acronym.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/acronym.js
new file mode 100644
index 00000000..6ec2f887
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/acronym.js
@@ -0,0 +1,28 @@
+/**
+ * acronym.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+function init() {
+ SXE.initElementDialog('acronym');
+ if (SXE.currentAction == "update") {
+ SXE.showRemoveButton();
+ }
+}
+
+function insertAcronym() {
+ SXE.insertElement('acronym');
+ tinyMCEPopup.close();
+}
+
+function removeAcronym() {
+ SXE.removeElement('acronym');
+ tinyMCEPopup.close();
+}
+
+tinyMCEPopup.onInit.add(init);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/attributes.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/attributes.js
new file mode 100644
index 00000000..9c99995a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/attributes.js
@@ -0,0 +1,111 @@
+/**
+ * attributes.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+function init() {
+ tinyMCEPopup.resizeToInnerSize();
+ var inst = tinyMCEPopup.editor;
+ var dom = inst.dom;
+ var elm = inst.selection.getNode();
+ var f = document.forms[0];
+ var onclick = dom.getAttrib(elm, 'onclick');
+
+ setFormValue('title', dom.getAttrib(elm, 'title'));
+ setFormValue('id', dom.getAttrib(elm, 'id'));
+ setFormValue('style', dom.getAttrib(elm, "style"));
+ setFormValue('dir', dom.getAttrib(elm, 'dir'));
+ setFormValue('lang', dom.getAttrib(elm, 'lang'));
+ setFormValue('tabindex', dom.getAttrib(elm, 'tabindex', typeof(elm.tabindex) != "undefined" ? elm.tabindex : ""));
+ setFormValue('accesskey', dom.getAttrib(elm, 'accesskey', typeof(elm.accesskey) != "undefined" ? elm.accesskey : ""));
+ setFormValue('onfocus', dom.getAttrib(elm, 'onfocus'));
+ setFormValue('onblur', dom.getAttrib(elm, 'onblur'));
+ setFormValue('onclick', onclick);
+ setFormValue('ondblclick', dom.getAttrib(elm, 'ondblclick'));
+ setFormValue('onmousedown', dom.getAttrib(elm, 'onmousedown'));
+ setFormValue('onmouseup', dom.getAttrib(elm, 'onmouseup'));
+ setFormValue('onmouseover', dom.getAttrib(elm, 'onmouseover'));
+ setFormValue('onmousemove', dom.getAttrib(elm, 'onmousemove'));
+ setFormValue('onmouseout', dom.getAttrib(elm, 'onmouseout'));
+ setFormValue('onkeypress', dom.getAttrib(elm, 'onkeypress'));
+ setFormValue('onkeydown', dom.getAttrib(elm, 'onkeydown'));
+ setFormValue('onkeyup', dom.getAttrib(elm, 'onkeyup'));
+ className = dom.getAttrib(elm, 'class');
+
+ addClassesToList('classlist', 'advlink_styles');
+ selectByValue(f, 'classlist', className, true);
+
+ TinyMCE_EditableSelects.init();
+}
+
+function setFormValue(name, value) {
+ if(value && document.forms[0].elements[name]){
+ document.forms[0].elements[name].value = value;
+ }
+}
+
+function insertAction() {
+ var inst = tinyMCEPopup.editor;
+ var elm = inst.selection.getNode();
+
+ setAllAttribs(elm);
+ tinyMCEPopup.execCommand("mceEndUndoLevel");
+ tinyMCEPopup.close();
+}
+
+function setAttrib(elm, attrib, value) {
+ var formObj = document.forms[0];
+ var valueElm = formObj.elements[attrib.toLowerCase()];
+ var inst = tinyMCEPopup.editor;
+ var dom = inst.dom;
+
+ if (typeof(value) == "undefined" || value == null) {
+ value = "";
+
+ if (valueElm)
+ value = valueElm.value;
+ }
+
+ dom.setAttrib(elm, attrib.toLowerCase(), value);
+}
+
+function setAllAttribs(elm) {
+ var f = document.forms[0];
+
+ setAttrib(elm, 'title');
+ setAttrib(elm, 'id');
+ setAttrib(elm, 'style');
+ setAttrib(elm, 'class', getSelectValue(f, 'classlist'));
+ setAttrib(elm, 'dir');
+ setAttrib(elm, 'lang');
+ setAttrib(elm, 'tabindex');
+ setAttrib(elm, 'accesskey');
+ setAttrib(elm, 'onfocus');
+ setAttrib(elm, 'onblur');
+ setAttrib(elm, 'onclick');
+ setAttrib(elm, 'ondblclick');
+ setAttrib(elm, 'onmousedown');
+ setAttrib(elm, 'onmouseup');
+ setAttrib(elm, 'onmouseover');
+ setAttrib(elm, 'onmousemove');
+ setAttrib(elm, 'onmouseout');
+ setAttrib(elm, 'onkeypress');
+ setAttrib(elm, 'onkeydown');
+ setAttrib(elm, 'onkeyup');
+
+ // Refresh in old MSIE
+// if (tinyMCE.isMSIE5)
+// elm.outerHTML = elm.outerHTML;
+}
+
+function insertAttribute() {
+ tinyMCEPopup.close();
+}
+
+tinyMCEPopup.onInit.add(init);
+tinyMCEPopup.requireLangPack();
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/cite.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/cite.js
new file mode 100644
index 00000000..009b7154
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/cite.js
@@ -0,0 +1,28 @@
+/**
+ * cite.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+function init() {
+ SXE.initElementDialog('cite');
+ if (SXE.currentAction == "update") {
+ SXE.showRemoveButton();
+ }
+}
+
+function insertCite() {
+ SXE.insertElement('cite');
+ tinyMCEPopup.close();
+}
+
+function removeCite() {
+ SXE.removeElement('cite');
+ tinyMCEPopup.close();
+}
+
+tinyMCEPopup.onInit.add(init);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/del.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/del.js
new file mode 100644
index 00000000..1f957dc7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/del.js
@@ -0,0 +1,53 @@
+/**
+ * del.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+function init() {
+ SXE.initElementDialog('del');
+ if (SXE.currentAction == "update") {
+ setFormValue('datetime', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'datetime'));
+ setFormValue('cite', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'cite'));
+ SXE.showRemoveButton();
+ }
+}
+
+function setElementAttribs(elm) {
+ setAllCommonAttribs(elm);
+ setAttrib(elm, 'datetime');
+ setAttrib(elm, 'cite');
+ elm.removeAttribute('data-mce-new');
+}
+
+function insertDel() {
+ var elm = tinyMCEPopup.editor.dom.getParent(SXE.focusElement, 'DEL');
+
+ if (elm == null) {
+ var s = SXE.inst.selection.getContent();
+ if(s.length > 0) {
+ insertInlineElement('del');
+ var elementArray = SXE.inst.dom.select('del[data-mce-new]');
+ for (var i=0; i<elementArray.length; i++) {
+ var elm = elementArray[i];
+ setElementAttribs(elm);
+ }
+ }
+ } else {
+ setElementAttribs(elm);
+ }
+ tinyMCEPopup.editor.nodeChanged();
+ tinyMCEPopup.execCommand('mceEndUndoLevel');
+ tinyMCEPopup.close();
+}
+
+function removeDel() {
+ SXE.removeElement('del');
+ tinyMCEPopup.close();
+}
+
+tinyMCEPopup.onInit.add(init);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/element_common.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/element_common.js
new file mode 100644
index 00000000..4e5d9c3b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/element_common.js
@@ -0,0 +1,229 @@
+/**
+ * element_common.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+tinyMCEPopup.requireLangPack();
+
+function initCommonAttributes(elm) {
+ var formObj = document.forms[0], dom = tinyMCEPopup.editor.dom;
+
+ // Setup form data for common element attributes
+ setFormValue('title', dom.getAttrib(elm, 'title'));
+ setFormValue('id', dom.getAttrib(elm, 'id'));
+ selectByValue(formObj, 'class', dom.getAttrib(elm, 'class'), true);
+ setFormValue('style', dom.getAttrib(elm, 'style'));
+ selectByValue(formObj, 'dir', dom.getAttrib(elm, 'dir'));
+ setFormValue('lang', dom.getAttrib(elm, 'lang'));
+ setFormValue('onfocus', dom.getAttrib(elm, 'onfocus'));
+ setFormValue('onblur', dom.getAttrib(elm, 'onblur'));
+ setFormValue('onclick', dom.getAttrib(elm, 'onclick'));
+ setFormValue('ondblclick', dom.getAttrib(elm, 'ondblclick'));
+ setFormValue('onmousedown', dom.getAttrib(elm, 'onmousedown'));
+ setFormValue('onmouseup', dom.getAttrib(elm, 'onmouseup'));
+ setFormValue('onmouseover', dom.getAttrib(elm, 'onmouseover'));
+ setFormValue('onmousemove', dom.getAttrib(elm, 'onmousemove'));
+ setFormValue('onmouseout', dom.getAttrib(elm, 'onmouseout'));
+ setFormValue('onkeypress', dom.getAttrib(elm, 'onkeypress'));
+ setFormValue('onkeydown', dom.getAttrib(elm, 'onkeydown'));
+ setFormValue('onkeyup', dom.getAttrib(elm, 'onkeyup'));
+}
+
+function setFormValue(name, value) {
+ if(document.forms[0].elements[name]) document.forms[0].elements[name].value = value;
+}
+
+function insertDateTime(id) {
+ document.getElementById(id).value = getDateTime(new Date(), "%Y-%m-%dT%H:%M:%S");
+}
+
+function getDateTime(d, fmt) {
+ fmt = fmt.replace("%D", "%m/%d/%y");
+ fmt = fmt.replace("%r", "%I:%M:%S %p");
+ fmt = fmt.replace("%Y", "" + d.getFullYear());
+ fmt = fmt.replace("%y", "" + d.getYear());
+ fmt = fmt.replace("%m", addZeros(d.getMonth()+1, 2));
+ fmt = fmt.replace("%d", addZeros(d.getDate(), 2));
+ fmt = fmt.replace("%H", "" + addZeros(d.getHours(), 2));
+ fmt = fmt.replace("%M", "" + addZeros(d.getMinutes(), 2));
+ fmt = fmt.replace("%S", "" + addZeros(d.getSeconds(), 2));
+ fmt = fmt.replace("%I", "" + ((d.getHours() + 11) % 12 + 1));
+ fmt = fmt.replace("%p", "" + (d.getHours() < 12 ? "AM" : "PM"));
+ fmt = fmt.replace("%%", "%");
+
+ return fmt;
+}
+
+function addZeros(value, len) {
+ var i;
+
+ value = "" + value;
+
+ if (value.length < len) {
+ for (i=0; i<(len-value.length); i++)
+ value = "0" + value;
+ }
+
+ return value;
+}
+
+function selectByValue(form_obj, field_name, value, add_custom, ignore_case) {
+ if (!form_obj || !form_obj.elements[field_name])
+ return;
+
+ var sel = form_obj.elements[field_name];
+
+ var found = false;
+ for (var i=0; i<sel.options.length; i++) {
+ var option = sel.options[i];
+
+ if (option.value == value || (ignore_case && option.value.toLowerCase() == value.toLowerCase())) {
+ option.selected = true;
+ found = true;
+ } else
+ option.selected = false;
+ }
+
+ if (!found && add_custom && value != '') {
+ var option = new Option('Value: ' + value, value);
+ option.selected = true;
+ sel.options[sel.options.length] = option;
+ }
+
+ return found;
+}
+
+function setAttrib(elm, attrib, value) {
+ var formObj = document.forms[0];
+ var valueElm = formObj.elements[attrib.toLowerCase()];
+ tinyMCEPopup.editor.dom.setAttrib(elm, attrib, value || valueElm.value);
+}
+
+function setAllCommonAttribs(elm) {
+ setAttrib(elm, 'title');
+ setAttrib(elm, 'id');
+ setAttrib(elm, 'class');
+ setAttrib(elm, 'style');
+ setAttrib(elm, 'dir');
+ setAttrib(elm, 'lang');
+ /*setAttrib(elm, 'onfocus');
+ setAttrib(elm, 'onblur');
+ setAttrib(elm, 'onclick');
+ setAttrib(elm, 'ondblclick');
+ setAttrib(elm, 'onmousedown');
+ setAttrib(elm, 'onmouseup');
+ setAttrib(elm, 'onmouseover');
+ setAttrib(elm, 'onmousemove');
+ setAttrib(elm, 'onmouseout');
+ setAttrib(elm, 'onkeypress');
+ setAttrib(elm, 'onkeydown');
+ setAttrib(elm, 'onkeyup');*/
+}
+
+SXE = {
+ currentAction : "insert",
+ inst : tinyMCEPopup.editor,
+ updateElement : null
+}
+
+SXE.focusElement = SXE.inst.selection.getNode();
+
+SXE.initElementDialog = function(element_name) {
+ addClassesToList('class', 'xhtmlxtras_styles');
+ TinyMCE_EditableSelects.init();
+
+ element_name = element_name.toLowerCase();
+ var elm = SXE.inst.dom.getParent(SXE.focusElement, element_name.toUpperCase());
+ if (elm != null && elm.nodeName.toUpperCase() == element_name.toUpperCase()) {
+ SXE.currentAction = "update";
+ }
+
+ if (SXE.currentAction == "update") {
+ initCommonAttributes(elm);
+ SXE.updateElement = elm;
+ }
+
+ document.forms[0].insert.value = tinyMCEPopup.getLang(SXE.currentAction, 'Insert', true);
+}
+
+SXE.insertElement = function(element_name) {
+ var elm = SXE.inst.dom.getParent(SXE.focusElement, element_name.toUpperCase()), h, tagName;
+
+ if (elm == null) {
+ var s = SXE.inst.selection.getContent();
+ if(s.length > 0) {
+ tagName = element_name;
+
+ insertInlineElement(element_name);
+ var elementArray = tinymce.grep(SXE.inst.dom.select(element_name));
+ for (var i=0; i<elementArray.length; i++) {
+ var elm = elementArray[i];
+
+ if (SXE.inst.dom.getAttrib(elm, 'data-mce-new')) {
+ elm.id = '';
+ elm.setAttribute('id', '');
+ elm.removeAttribute('id');
+ elm.removeAttribute('data-mce-new');
+
+ setAllCommonAttribs(elm);
+ }
+ }
+ }
+ } else {
+ setAllCommonAttribs(elm);
+ }
+ SXE.inst.nodeChanged();
+ tinyMCEPopup.execCommand('mceEndUndoLevel');
+}
+
+SXE.removeElement = function(element_name){
+ element_name = element_name.toLowerCase();
+ elm = SXE.inst.dom.getParent(SXE.focusElement, element_name.toUpperCase());
+ if(elm && elm.nodeName.toUpperCase() == element_name.toUpperCase()){
+ tinyMCE.execCommand('mceRemoveNode', false, elm);
+ SXE.inst.nodeChanged();
+ tinyMCEPopup.execCommand('mceEndUndoLevel');
+ }
+}
+
+SXE.showRemoveButton = function() {
+ document.getElementById("remove").style.display = '';
+}
+
+SXE.containsClass = function(elm,cl) {
+ return (elm.className.indexOf(cl) > -1) ? true : false;
+}
+
+SXE.removeClass = function(elm,cl) {
+ if(elm.className == null || elm.className == "" || !SXE.containsClass(elm,cl)) {
+ return true;
+ }
+ var classNames = elm.className.split(" ");
+ var newClassNames = "";
+ for (var x = 0, cnl = classNames.length; x < cnl; x++) {
+ if (classNames[x] != cl) {
+ newClassNames += (classNames[x] + " ");
+ }
+ }
+ elm.className = newClassNames.substring(0,newClassNames.length-1); //removes extra space at the end
+}
+
+SXE.addClass = function(elm,cl) {
+ if(!SXE.containsClass(elm,cl)) elm.className ? elm.className += " " + cl : elm.className = cl;
+ return true;
+}
+
+function insertInlineElement(en) {
+ var ed = tinyMCEPopup.editor, dom = ed.dom;
+
+ ed.getDoc().execCommand('FontName', false, 'mceinline');
+ tinymce.each(dom.select('span,font'), function(n) {
+ if (n.style.fontFamily == 'mceinline' || n.face == 'mceinline')
+ dom.replace(dom.create(en, {'data-mce-new' : 1}), n, 1);
+ });
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/ins.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/ins.js
new file mode 100644
index 00000000..c4addfb0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/ins.js
@@ -0,0 +1,53 @@
+/**
+ * ins.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+function init() {
+ SXE.initElementDialog('ins');
+ if (SXE.currentAction == "update") {
+ setFormValue('datetime', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'datetime'));
+ setFormValue('cite', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'cite'));
+ SXE.showRemoveButton();
+ }
+}
+
+function setElementAttribs(elm) {
+ setAllCommonAttribs(elm);
+ setAttrib(elm, 'datetime');
+ setAttrib(elm, 'cite');
+ elm.removeAttribute('data-mce-new');
+}
+
+function insertIns() {
+ var elm = tinyMCEPopup.editor.dom.getParent(SXE.focusElement, 'INS');
+
+ if (elm == null) {
+ var s = SXE.inst.selection.getContent();
+ if(s.length > 0) {
+ insertInlineElement('ins');
+ var elementArray = SXE.inst.dom.select('ins[data-mce-new]');
+ for (var i=0; i<elementArray.length; i++) {
+ var elm = elementArray[i];
+ setElementAttribs(elm);
+ }
+ }
+ } else {
+ setElementAttribs(elm);
+ }
+ tinyMCEPopup.editor.nodeChanged();
+ tinyMCEPopup.execCommand('mceEndUndoLevel');
+ tinyMCEPopup.close();
+}
+
+function removeIns() {
+ SXE.removeElement('ins');
+ tinyMCEPopup.close();
+}
+
+tinyMCEPopup.onInit.add(init);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js
new file mode 100644
index 00000000..4994355b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('de.xhtmlxtras_dlg',{"attribs_title":"Attribute einf\u00fcgen/bearbeiten","option_rtl":"Rechts nach links","option_ltr":"Links nach rechts","insert_date":"Aktuelle Zeit/Datum einf\u00fcgen",remove:"Entfernen","title_cite_element":"Quellenangabe","title_abbr_element":"Abk\u00fcrzung","title_acronym_element":"Akronym","title_del_element":"Entfernter Text","title_ins_element":"Eingef\u00fcgter Text","fieldset_events_tab":"Ereignisse","fieldset_attrib_tab":"Attribute","fieldset_general_tab":"Allgemeine Einstellungen","events_tab":"Ereignisse","attrib_tab":"Attribute","general_tab":"Allgemein","attribute_attrib_tab":"Attribute","attribute_events_tab":"Ereignisse","attribute_label_accesskey":"Tastenk\u00fcrzel","attribute_label_tabindex":"Tabindex","attribute_label_langcode":"Sprache","attribute_option_rtl":"Rechts nach links","attribute_option_ltr":"Links nach rechts","attribute_label_langdir":"Schriftrichtung","attribute_label_datetime":"Zeit/Datum","attribute_label_cite":"Quellenangabe","attribute_label_style":"Format","attribute_label_class":"Klasse","attribute_label_id":"ID","attribute_label_title":"Titel"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js
new file mode 100644
index 00000000..c4569f85
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('en.xhtmlxtras_dlg',{"attribs_title":"Insert/Edit Attributes","option_rtl":"Right to Left","option_ltr":"Left to Right","insert_date":"Insert Current Date/Time",remove:"Remove","title_cite_element":"Citation Element","title_abbr_element":"Abbreviation Element","title_acronym_element":"Acronym Element","title_del_element":"Deletion Element","title_ins_element":"Insertion Element","fieldset_events_tab":"Element Events","fieldset_attrib_tab":"Element Attributes","fieldset_general_tab":"General Settings","events_tab":"Events","attrib_tab":"Attributes","general_tab":"General","attribute_attrib_tab":"Attributes","attribute_events_tab":"Events","attribute_label_accesskey":"AccessKey","attribute_label_tabindex":"TabIndex","attribute_label_langcode":"Language","attribute_option_rtl":"Right to Left","attribute_option_ltr":"Left to Right","attribute_label_langdir":"Text Direction","attribute_label_datetime":"Date/Time","attribute_label_cite":"Cite","attribute_label_style":"Style","attribute_label_class":"Class","attribute_label_id":"ID","attribute_label_title":"Title"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/hu_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/hu_dlg.js
new file mode 100644
index 00000000..28b5cb8a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/hu_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('hu.xhtmlxtras_dlg',{"attribs_title":"Tulajdons\u00e1gok besz\u00far\u00e1sa/szerkeszt\u00e9se","option_rtl":"Jobbr\u00f3l balra","option_ltr":"Balr\u00f3l jobra","insert_date":"Aktu\u00e1lis d\u00e1tum/id\u0151 besz\u00far\u00e1sa",remove:"Elt\u00e1vol\u00edt\u00e1s","title_cite_element":"Id\u00e9zet elem","title_abbr_element":"R\u00f6vid\u00edt\u00e9s elem","title_acronym_element":"Bet\u0171sz\u00f3 elem","title_del_element":"T\u00f6r\u00f6lt elem","title_ins_element":"Besz\u00fart elem","fieldset_events_tab":"Elem esem\u00e9nyek","fieldset_attrib_tab":"Elem tulajdons\u00e1gok","fieldset_general_tab":"\u00c1ltal\u00e1nos be\u00e1ll\u00edt\u00e1sok","events_tab":"Esem\u00e9nyek","attrib_tab":"Tulajdons\u00e1gok","general_tab":"\u00c1ltal\u00e1nos","attribute_attrib_tab":"Tulajdons\u00e1gok","attribute_events_tab":"Esem\u00e9nyek","attribute_label_accesskey":"Gyorsbilenty\u0171","attribute_label_tabindex":"TabIndex","attribute_label_langcode":"Nyelv","attribute_option_rtl":"Jobbr\u00f3l balra","attribute_option_ltr":"Balr\u00f3l jobbra","attribute_label_langdir":"Sz\u00f6veg ir\u00e1nya","attribute_label_datetime":"D\u00e1tum/Id\u0151","attribute_label_cite":"Id\u00e9zet","attribute_label_style":"Style","attribute_label_class":"Oszt\u00e1ly (class)","attribute_label_id":"ID","attribute_label_title":"C\u00edm"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/ja_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/ja_dlg.js
new file mode 100644
index 00000000..888522c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/ja_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('ja.xhtmlxtras_dlg',{"attribs_title":"\u5c5e\u6027\u306e\u633f\u5165\u3084\u524a\u9664","option_rtl":"\u53f3\u304b\u3089\u5de6","option_ltr":"\u5de6\u304b\u3089\u53f3","insert_date":"\u73fe\u5728\u306e\u65e5\u4ed8\u3084\u6642\u523b\u3092\u633f\u5165",remove:"\u524a\u9664","title_cite_element":"\u5f15\u7528\u8981\u7d20","title_abbr_element":"\u7565\u8a9e\u8981\u7d20","title_acronym_element":"\u982d\u5b57\u8a9e\u8981\u7d20","title_del_element":"\u8981\u7d20\u3092\u524a\u9664","title_ins_element":"\u8981\u7d20\u3092\u633f\u5165","fieldset_events_tab":"\u8981\u7d20\u306e\u30a4\u30d9\u30f3\u30c8","fieldset_attrib_tab":"\u8981\u7d20\u306e\u5c5e\u6027","fieldset_general_tab":"\u4e00\u822c\u7684\u306a\u8a2d\u5b9a","events_tab":"\u30a4\u30d9\u30f3\u30c8","attrib_tab":"\u5c5e\u6027","general_tab":"\u4e00\u822c","attribute_attrib_tab":"\u5c5e\u6027","attribute_events_tab":"\u30a4\u30d9\u30f3\u30c8","attribute_label_accesskey":"\u30a2\u30af\u30bb\u30b9\u30ad\u30fc","attribute_label_tabindex":"\u30bf\u30d6\u30a4\u30f3\u30c7\u30c3\u30af\u30b9","attribute_label_langcode":"\u8a00\u8a9e","attribute_option_rtl":"\u53f3\u304b\u3089\u5de6","attribute_option_ltr":"\u5de6\u304b\u3089\u53f3","attribute_label_langdir":"\u6587\u7ae0\u306e\u65b9\u5411","attribute_label_datetime":"\u65e5\u4ed8/\u6642\u523b","attribute_label_cite":"\u5f15\u7528","attribute_label_style":"\u30b9\u30bf\u30a4\u30eb","attribute_label_class":"\u30af\u30e9\u30b9","attribute_label_id":"ID","attribute_label_title":"\u30bf\u30a4\u30c8\u30eb"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/about.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/about.htm
new file mode 100755
index 00000000..7a97cb71
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/about.htm
@@ -0,0 +1,52 @@
+<!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>
+ <title>{#advanced_dlg.about_title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="js/about.js"></script>
+</head>
+<body id="about" style="display: none">
+ <div class="tabs">
+ <ul>
+ <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advanced_dlg.about_general}</a></span></li>
+ <li id="help_tab" style="display:none" aria-hidden="true" aria-controls="help_panel"><span><a href="javascript:mcTabs.displayTab('help_tab','help_panel');" onmousedown="return false;">{#advanced_dlg.about_help}</a></span></li>
+ <li id="plugins_tab" aria-controls="plugins_panel"><span><a href="javascript:mcTabs.displayTab('plugins_tab','plugins_panel');" onmousedown="return false;">{#advanced_dlg.about_plugins}</a></span></li>
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="general_panel" class="panel current">
+ <h3>{#advanced_dlg.about_title}</h3>
+ <p>Version: <span id="version"></span> (<span id="date"></span>)</p>
+ <p>TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under <a href="../../license.txt" target="_blank">LGPL</a>
+ by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances.</p>
+ <p>Copyright &copy; 2003-2008, <a href="http://www.moxiecode.com" target="_blank">Moxiecode Systems AB</a>, All rights reserved.</p>
+ <p>For more information about this software visit the <a href="http://tinymce.moxiecode.com" target="_blank">TinyMCE website</a>.</p>
+
+ <div id="buttoncontainer">
+ <a href="http://www.moxiecode.com" target="_blank"><img src="http://tinymce.moxiecode.com/images/gotmoxie.png" alt="Got Moxie?" border="0" /></a>
+ </div>
+ </div>
+
+ <div id="plugins_panel" class="panel">
+ <div id="pluginscontainer">
+ <h3>{#advanced_dlg.about_loaded}</h3>
+
+ <div id="plugintablecontainer">
+ </div>
+
+ <p>&nbsp;</p>
+ </div>
+ </div>
+
+ <div id="help_panel" class="panel noscroll" style="overflow: visible;">
+ <div id="iframecontainer"></div>
+ </div>
+ </div>
+
+ <div class="mceActionPanel">
+ <input type="button" id="cancel" name="cancel" value="{#close}" onclick="tinyMCEPopup.close();" />
+ </div>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/anchor.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/anchor.htm
new file mode 100755
index 00000000..75c93b79
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/anchor.htm
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#advanced_dlg.anchor_title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="js/anchor.js"></script>
+</head>
+<body style="display: none" role="application" aria-labelledby="app_title">
+<form onsubmit="AnchorDialog.update();return false;" action="#">
+ <table border="0" cellpadding="4" cellspacing="0" role="presentation">
+ <tr>
+ <td colspan="2" class="title" id="app_title">{#advanced_dlg.anchor_title}</td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="anchorName">{#advanced_dlg.anchor_name}:</label></td>
+ <td><input name="anchorName" type="text" class="mceFocus" id="anchorName" value="" style="width: 200px" aria-required="true" /></td>
+ </tr>
+ </table>
+
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#update}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+</form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/charmap.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/charmap.htm
new file mode 100755
index 00000000..d4b6bdfb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/charmap.htm
@@ -0,0 +1,55 @@
+<!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>
+ <title>{#advanced_dlg.charmap_title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="js/charmap.js"></script>
+</head>
+<body id="charmap" style="display:none" role="application">
+<table align="center" border="0" cellspacing="0" cellpadding="2" role="presentation">
+ <tr>
+ <td colspan="2" class="title" ><label for="charmapView" id="charmap_label">{#advanced_dlg.charmap_title}</label></td>
+ </tr>
+ <tr>
+ <td id="charmapView" rowspan="2" align="left" valign="top">
+ <!-- Chars will be rendered here -->
+ </td>
+ <td width="100" align="center" valign="top">
+ <table border="0" cellpadding="0" cellspacing="0" width="100" style="height:100px" role="presentation">
+ <tr>
+ <td id="codeV">&nbsp;</td>
+ </tr>
+ <tr>
+ <td id="codeN">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td valign="bottom" style="padding-bottom: 3px;">
+ <table width="100" align="center" border="0" cellpadding="2" cellspacing="0" role="presentation">
+ <tr>
+ <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;"><label for="codeA">HTML-Code</label></td>
+ </tr>
+ <tr>
+ <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeA" align="center">&nbsp;</td>
+ </tr>
+ <tr>
+ <td style="font-size: 1px;">&nbsp;</td>
+ </tr>
+ <tr>
+ <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;"><label for="codeB">NUM-Code</label></td>
+ </tr>
+ <tr>
+ <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeB" align="center">&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" id="charmap_usage">{#advanced_dlg.charmap_usage}</td>
+ </tr>
+
+</table>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/color_picker.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/color_picker.htm
new file mode 100755
index 00000000..b625531a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/color_picker.htm
@@ -0,0 +1,70 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#advanced_dlg.colorpicker_title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="js/color_picker.js"></script>
+</head>
+<body id="colorpicker" style="display: none" role="application" aria-labelledby="app_label">
+ <span class="mceVoiceLabel" id="app_label" style="display:none;">{#advanced_dlg.colorpicker_title}</span>
+<form onsubmit="insertAction();return false" action="#">
+ <div class="tabs">
+ <ul>
+ <li id="picker_tab" aria-controls="picker_panel" class="current"><span><a href="javascript:mcTabs.displayTab('picker_tab','picker_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_picker_tab}</a></span></li>
+ <li id="rgb_tab" aria-controls="rgb_panel"><span><a href="javascript:;" onclick="mcTabs.displayTab('rgb_tab','rgb_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_palette_tab}</a></span></li>
+ <li id="named_tab" aria-controls="named_panel"><span><a href="javascript:;" onclick="javascript:mcTabs.displayTab('named_tab','named_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_named_tab}</a></span></li>
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="picker_panel" class="panel current">
+ <fieldset>
+ <legend>{#advanced_dlg.colorpicker_picker_title}</legend>
+ <div id="picker">
+ <img id="colors" src="img/colorpicker.jpg" onclick="computeColor(event)" onmousedown="isMouseDown = true;return false;" onmouseup="isMouseDown = false;" onmousemove="if (isMouseDown && isMouseOver) computeColor(event); return false;" onmouseover="isMouseOver=true;" onmouseout="isMouseOver=false;" alt="" />
+
+ <div id="light">
+ <!-- Will be filled with divs -->
+ </div>
+
+ <br style="clear: both" />
+ </div>
+ </fieldset>
+ </div>
+
+ <div id="rgb_panel" class="panel">
+ <fieldset>
+ <legend id="webcolors_title">{#advanced_dlg.colorpicker_palette_title}</legend>
+ <div id="webcolors">
+ <!-- Gets filled with web safe colors-->
+ </div>
+
+ <br style="clear: both" />
+ </fieldset>
+ </div>
+
+ <div id="named_panel" class="panel">
+ <fieldset id="named_picker_label">
+ <legend id="named_title">{#advanced_dlg.colorpicker_named_title}</legend>
+ <div id="namedcolors" role="listbox" tabindex="0" aria-labelledby="named_picker_label">
+ <!-- Gets filled with named colors-->
+ </div>
+
+ <br style="clear: both" />
+
+ <div id="colornamecontainer">
+ {#advanced_dlg.colorpicker_name} <span id="colorname"></span>
+ </div>
+ </fieldset>
+ </div>
+ </div>
+
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#apply}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();"/>
+ <div id="preview_wrapper"><div id="previewblock"><label for="color">{#advanced_dlg.colorpicker_color}</label> <input id="color" type="text" size="8" class="text mceFocus" aria-required="true" /></div><span id="preview"></span></div>
+ </div>
+</form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/editor_template.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/editor_template.js
new file mode 100755
index 00000000..cbae1c88
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/editor_template.js
@@ -0,0 +1 @@
+(function(h){var i=h.DOM,g=h.dom.Event,c=h.extend,f=h.each,a=h.util.Cookie,e,d=h.explode;function b(p,m){var k,l,o=p.dom,j="",n,r;previewStyles=p.settings.preview_styles;if(previewStyles===false){return""}if(!previewStyles){previewStyles="font-family font-size font-weight text-decoration text-transform color background-color"}function q(s){return s.replace(/%(\w+)/g,"")}k=m.block||m.inline||"span";l=o.create(k);f(m.styles,function(t,s){t=q(t);if(t){o.setStyle(l,s,t)}});f(m.attributes,function(t,s){t=q(t);if(t){o.setAttrib(l,s,t)}});f(m.classes,function(s){s=q(s);if(!o.hasClass(l,s)){o.addClass(l,s)}});o.setStyles(l,{position:"absolute",left:-65535});p.getBody().appendChild(l);n=o.getStyle(p.getBody(),"fontSize",true);n=/px$/.test(n)?parseInt(n,10):0;f(previewStyles.split(" "),function(s){var t=o.getStyle(l,s,true);if(s=="background-color"&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(t)){t=o.getStyle(p.getBody(),s,true);if(o.toHex(t).toLowerCase()=="#ffffff"){return}}if(s=="font-size"){if(/em|%$/.test(t)){if(n===0){return}t=parseFloat(t,10)/(/%$/.test(t)?100:1);t=(t*n)+"px"}}j+=s+":"+t+";"});o.remove(l);return j}h.ThemeManager.requireLangPack("advanced");h.create("tinymce.themes.AdvancedTheme",{sizes:[8,10,12,14,18,24,36],controls:{bold:["bold_desc","Bold"],italic:["italic_desc","Italic"],underline:["underline_desc","Underline"],strikethrough:["striketrough_desc","Strikethrough"],justifyleft:["justifyleft_desc","JustifyLeft"],justifycenter:["justifycenter_desc","JustifyCenter"],justifyright:["justifyright_desc","JustifyRight"],justifyfull:["justifyfull_desc","JustifyFull"],bullist:["bullist_desc","InsertUnorderedList"],numlist:["numlist_desc","InsertOrderedList"],outdent:["outdent_desc","Outdent"],indent:["indent_desc","Indent"],cut:["cut_desc","Cut"],copy:["copy_desc","Copy"],paste:["paste_desc","Paste"],undo:["undo_desc","Undo"],redo:["redo_desc","Redo"],link:["link_desc","mceLink"],unlink:["unlink_desc","unlink"],image:["image_desc","mceImage"],cleanup:["cleanup_desc","mceCleanup"],help:["help_desc","mceHelp"],code:["code_desc","mceCodeEditor"],hr:["hr_desc","InsertHorizontalRule"],removeformat:["removeformat_desc","RemoveFormat"],sub:["sub_desc","subscript"],sup:["sup_desc","superscript"],forecolor:["forecolor_desc","ForeColor"],forecolorpicker:["forecolor_desc","mceForeColor"],backcolor:["backcolor_desc","HiliteColor"],backcolorpicker:["backcolor_desc","mceBackColor"],charmap:["charmap_desc","mceCharMap"],visualaid:["visualaid_desc","mceToggleVisualAid"],anchor:["anchor_desc","mceInsertAnchor"],newdocument:["newdocument_desc","mceNewDocument"],blockquote:["blockquote_desc","mceBlockQuote"]},stateControls:["bold","italic","underline","strikethrough","bullist","numlist","justifyleft","justifycenter","justifyright","justifyfull","sub","sup","blockquote"],init:function(k,l){var m=this,n,j,p;m.editor=k;m.url=l;m.onResolveName=new h.util.Dispatcher(this);n=k.settings;k.forcedHighContrastMode=k.settings.detect_highcontrast&&m._isHighContrast();k.settings.skin=k.forcedHighContrastMode?"highcontrast":k.settings.skin;if(!n.theme_advanced_buttons1){n=c({theme_advanced_buttons1:"bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect",theme_advanced_buttons2:"bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",theme_advanced_buttons3:"hr,removeformat,visualaid,|,sub,sup,|,charmap"},n)}m.settings=n=c({theme_advanced_path:true,theme_advanced_toolbar_location:"top",theme_advanced_blockformats:"p,address,pre,h1,h2,h3,h4,h5,h6",theme_advanced_toolbar_align:"left",theme_advanced_statusbar_location:"bottom",theme_advanced_fonts:"Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats",theme_advanced_more_colors:1,theme_advanced_row_height:23,theme_advanced_resize_horizontal:1,theme_advanced_resizing_use_cookie:1,theme_advanced_font_sizes:"1,2,3,4,5,6,7",theme_advanced_font_selector:"span",theme_advanced_show_current_color:0,readonly:k.settings.readonly},n);if(!n.font_size_style_values){n.font_size_style_values="8pt,10pt,12pt,14pt,18pt,24pt,36pt"}if(h.is(n.theme_advanced_font_sizes,"string")){n.font_size_style_values=h.explode(n.font_size_style_values);n.font_size_classes=h.explode(n.font_size_classes||"");p={};k.settings.theme_advanced_font_sizes=n.theme_advanced_font_sizes;f(k.getParam("theme_advanced_font_sizes","","hash"),function(r,q){var o;if(q==r&&r>=1&&r<=7){q=r+" ("+m.sizes[r-1]+"pt)";o=n.font_size_classes[r-1];r=n.font_size_style_values[r-1]||(m.sizes[r-1]+"pt")}if(/^\s*\./.test(r)){o=r.replace(/\./g,"")}p[q]=o?{"class":o}:{fontSize:r}});n.theme_advanced_font_sizes=p}if((j=n.theme_advanced_path_location)&&j!="none"){n.theme_advanced_statusbar_location=n.theme_advanced_path_location}if(n.theme_advanced_statusbar_location=="none"){n.theme_advanced_statusbar_location=0}if(k.settings.content_css!==false){k.contentCSS.push(k.baseURI.toAbsolute(l+"/skins/"+k.settings.skin+"/content.css"))}k.onInit.add(function(){if(!k.settings.readonly){k.onNodeChange.add(m._nodeChanged,m);k.onKeyUp.add(m._updateUndoStatus,m);k.onMouseUp.add(m._updateUndoStatus,m);k.dom.bind(k.dom.getRoot(),"dragend",function(){m._updateUndoStatus(k)})}});k.onSetProgressState.add(function(r,o,s){var t,u=r.id,q;if(o){m.progressTimer=setTimeout(function(){t=r.getContainer();t=t.insertBefore(i.create("DIV",{style:"position:relative"}),t.firstChild);q=i.get(r.id+"_tbl");i.add(t,"div",{id:u+"_blocker","class":"mceBlocker",style:{width:q.clientWidth+2,height:q.clientHeight+2}});i.add(t,"div",{id:u+"_progress","class":"mceProgress",style:{left:q.clientWidth/2,top:q.clientHeight/2}})},s||0)}else{i.remove(u+"_blocker");i.remove(u+"_progress");clearTimeout(m.progressTimer)}});i.loadCSS(n.editor_css?k.documentBaseURI.toAbsolute(n.editor_css):l+"/skins/"+k.settings.skin+"/ui.css");if(n.skin_variant){i.loadCSS(l+"/skins/"+k.settings.skin+"/ui_"+n.skin_variant+".css")}},_isHighContrast:function(){var j,k=i.add(i.getRoot(),"div",{style:"background-color: rgb(171,239,86);"});j=(i.getStyle(k,"background-color",true)+"").toLowerCase().replace(/ /g,"");i.remove(k);return j!="rgb(171,239,86)"&&j!="#abef56"},createControl:function(m,j){var k,l;if(l=j.createControl(m)){return l}switch(m){case"styleselect":return this._createStyleSelect();case"formatselect":return this._createBlockFormats();case"fontselect":return this._createFontSelect();case"fontsizeselect":return this._createFontSizeSelect();case"forecolor":return this._createForeColorMenu();case"backcolor":return this._createBackColorMenu()}if((k=this.controls[m])){return j.createButton(m,{title:"advanced."+k[0],cmd:k[1],ui:k[2],value:k[3]})}},execCommand:function(l,k,m){var j=this["_"+l];if(j){j.call(this,k,m);return true}return false},_importClasses:function(l){var j=this.editor,k=j.controlManager.get("styleselect");if(k.getLength()==0){f(j.dom.getClasses(),function(q,m){var p="style_"+m,n;n={inline:"span",attributes:{"class":q["class"]},selector:"*"};j.formatter.register(p,n);k.add(q["class"],p,{style:function(){return b(j,n)}})})}},_createStyleSelect:function(o){var l=this,j=l.editor,k=j.controlManager,m;m=k.createListBox("styleselect",{title:"advanced.style_select",onselect:function(q){var r,n=[],p;f(m.items,function(s){n.push(s.value)});j.focus();j.undoManager.add();r=j.formatter.matchAll(n);h.each(r,function(s){if(!q||s==q){if(s){j.formatter.remove(s)}p=true}});if(!p){j.formatter.apply(q)}j.undoManager.add();j.nodeChanged();return false}});j.onPreInit.add(function(){var p=0,n=j.getParam("style_formats");if(n){f(n,function(q){var r,s=0;f(q,function(){s++});if(s>1){r=q.name=q.name||"style_"+(p++);j.formatter.register(r,q);m.add(q.title,r,{style:function(){return b(j,q)}})}else{m.add(q.title)}})}else{f(j.getParam("theme_advanced_styles","","hash"),function(t,s){var r,q;if(t){r="style_"+(p++);q={inline:"span",classes:t,selector:"*"};j.formatter.register(r,q);m.add(l.editor.translate(s),r,{style:function(){return b(j,q)}})}})}});if(m.getLength()==0){m.onPostRender.add(function(p,q){if(!m.NativeListBox){g.add(q.id+"_text","focus",l._importClasses,l);g.add(q.id+"_text","mousedown",l._importClasses,l);g.add(q.id+"_open","focus",l._importClasses,l);g.add(q.id+"_open","mousedown",l._importClasses,l)}else{g.add(q.id,"focus",l._importClasses,l)}})}return m},_createFontSelect:function(){var l,k=this,j=k.editor;l=j.controlManager.createListBox("fontselect",{title:"advanced.fontdefault",onselect:function(m){var n=l.items[l.selectedIndex];if(!m&&n){j.execCommand("FontName",false,n.value);return}j.execCommand("FontName",false,m);l.select(function(o){return m==o});if(n&&n.value==m){l.select(null)}return false}});if(l){f(j.getParam("theme_advanced_fonts",k.settings.theme_advanced_fonts,"hash"),function(n,m){l.add(j.translate(m),n,{style:n.indexOf("dings")==-1?"font-family:"+n:""})})}return l},_createFontSizeSelect:function(){var m=this,k=m.editor,n,l=0,j=[];n=k.controlManager.createListBox("fontsizeselect",{title:"advanced.font_size",onselect:function(o){var p=n.items[n.selectedIndex];if(!o&&p){p=p.value;if(p["class"]){k.formatter.toggle("fontsize_class",{value:p["class"]});k.undoManager.add();k.nodeChanged()}else{k.execCommand("FontSize",false,p.fontSize)}return}if(o["class"]){k.focus();k.undoManager.add();k.formatter.toggle("fontsize_class",{value:o["class"]});k.undoManager.add();k.nodeChanged()}else{k.execCommand("FontSize",false,o.fontSize)}n.select(function(q){return o==q});if(p&&(p.value.fontSize==o.fontSize||p.value["class"]&&p.value["class"]==o["class"])){n.select(null)}return false}});if(n){f(m.settings.theme_advanced_font_sizes,function(p,o){var q=p.fontSize;if(q>=1&&q<=7){q=m.sizes[parseInt(q)-1]+"pt"}n.add(o,p,{style:"font-size:"+q,"class":"mceFontSize"+(l++)+(" "+(p["class"]||""))})})}return n},_createBlockFormats:function(){var l,j={p:"advanced.paragraph",address:"advanced.address",pre:"advanced.pre",h1:"advanced.h1",h2:"advanced.h2",h3:"advanced.h3",h4:"advanced.h4",h5:"advanced.h5",h6:"advanced.h6",div:"advanced.div",blockquote:"advanced.blockquote",code:"advanced.code",dt:"advanced.dt",dd:"advanced.dd",samp:"advanced.samp"},k=this;l=k.editor.controlManager.createListBox("formatselect",{title:"advanced.block",onselect:function(m){k.editor.execCommand("FormatBlock",false,m);return false}});if(l){f(k.editor.getParam("theme_advanced_blockformats",k.settings.theme_advanced_blockformats,"hash"),function(n,m){l.add(k.editor.translate(m!=n?m:j[n]),n,{"class":"mce_formatPreview mce_"+n,style:function(){return b(k.editor,{block:n})}})})}return l},_createForeColorMenu:function(){var n,k=this,l=k.settings,m={},j;if(l.theme_advanced_more_colors){m.more_colors_func=function(){k._mceColorPicker(0,{color:n.value,func:function(o){n.setColor(o)}})}}if(j=l.theme_advanced_text_colors){m.colors=j}if(l.theme_advanced_default_foreground_color){m.default_color=l.theme_advanced_default_foreground_color}m.title="advanced.forecolor_desc";m.cmd="ForeColor";m.scope=this;n=k.editor.controlManager.createColorSplitButton("forecolor",m);return n},_createBackColorMenu:function(){var n,k=this,l=k.settings,m={},j;if(l.theme_advanced_more_colors){m.more_colors_func=function(){k._mceColorPicker(0,{color:n.value,func:function(o){n.setColor(o)}})}}if(j=l.theme_advanced_background_colors){m.colors=j}if(l.theme_advanced_default_background_color){m.default_color=l.theme_advanced_default_background_color}m.title="advanced.backcolor_desc";m.cmd="HiliteColor";m.scope=this;n=k.editor.controlManager.createColorSplitButton("backcolor",m);return n},renderUI:function(l){var q,m,r,w=this,u=w.editor,x=w.settings,v,k,j;if(u.settings){u.settings.aria_label=x.aria_label+u.getLang("advanced.help_shortcut")}q=k=i.create("span",{role:"application","aria-labelledby":u.id+"_voice",id:u.id+"_parent","class":"mceEditor "+u.settings.skin+"Skin"+(x.skin_variant?" "+u.settings.skin+"Skin"+w._ufirst(x.skin_variant):"")+(u.settings.directionality=="rtl"?" mceRtl":"")});i.add(q,"span",{"class":"mceVoiceLabel",style:"display:none;",id:u.id+"_voice"},x.aria_label);if(!i.boxModel){q=i.add(q,"div",{"class":"mceOldBoxModel"})}q=v=i.add(q,"table",{role:"presentation",id:u.id+"_tbl","class":"mceLayout",cellSpacing:0,cellPadding:0});q=r=i.add(q,"tbody");switch((x.theme_advanced_layout_manager||"").toLowerCase()){case"rowlayout":m=w._rowLayout(x,r,l);break;case"customlayout":m=u.execCallback("theme_advanced_custom_layout",x,r,l,k);break;default:m=w._simpleLayout(x,r,l,k)}q=l.targetNode;j=v.rows;i.addClass(j[0],"mceFirst");i.addClass(j[j.length-1],"mceLast");f(i.select("tr",r),function(o){i.addClass(o.firstChild,"mceFirst");i.addClass(o.childNodes[o.childNodes.length-1],"mceLast")});if(i.get(x.theme_advanced_toolbar_container)){i.get(x.theme_advanced_toolbar_container).appendChild(k)}else{i.insertAfter(k,q)}g.add(u.id+"_path_row","click",function(n){n=n.target;if(n.nodeName=="A"){w._sel(n.className.replace(/^.*mcePath_([0-9]+).*$/,"$1"));return false}});if(!u.getParam("accessibility_focus")){g.add(i.add(k,"a",{href:"#"},"<!-- IE -->"),"focus",function(){tinyMCE.get(u.id).focus()})}if(x.theme_advanced_toolbar_location=="external"){l.deltaHeight=0}w.deltaHeight=l.deltaHeight;l.targetNode=null;u.onKeyDown.add(function(p,n){var s=121,o=122;if(n.altKey){if(n.keyCode===s){if(h.isWebKit){window.focus()}w.toolbarGroup.focus();return g.cancel(n)}else{if(n.keyCode===o){i.get(p.id+"_path_row").focus();return g.cancel(n)}}}});u.addShortcut("alt+0","","mceShortcuts",w);return{iframeContainer:m,editorContainer:u.id+"_parent",sizeContainer:v,deltaHeight:l.deltaHeight}},getInfo:function(){return{longname:"Advanced theme",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",version:h.majorVersion+"."+h.minorVersion}},resizeBy:function(j,k){var l=i.get(this.editor.id+"_ifr");this.resizeTo(l.clientWidth+j,l.clientHeight+k)},resizeTo:function(j,n,l){var k=this.editor,m=this.settings,o=i.get(k.id+"_tbl"),p=i.get(k.id+"_ifr");j=Math.max(m.theme_advanced_resizing_min_width||100,j);n=Math.max(m.theme_advanced_resizing_min_height||100,n);j=Math.min(m.theme_advanced_resizing_max_width||65535,j);n=Math.min(m.theme_advanced_resizing_max_height||65535,n);i.setStyle(o,"height","");i.setStyle(p,"height",n);if(m.theme_advanced_resize_horizontal){i.setStyle(o,"width","");i.setStyle(p,"width",j);if(j<o.clientWidth){j=o.clientWidth;i.setStyle(p,"width",o.clientWidth)}}if(l&&m.theme_advanced_resizing_use_cookie){a.setHash("TinyMCE_"+k.id+"_size",{cw:j,ch:n})}},destroy:function(){var j=this.editor.id;g.clear(j+"_resize");g.clear(j+"_path_row");g.clear(j+"_external_close")},_simpleLayout:function(z,u,l,j){var y=this,v=y.editor,w=z.theme_advanced_toolbar_location,q=z.theme_advanced_statusbar_location,m,k,r,x;if(z.readonly){m=i.add(u,"tr");m=k=i.add(m,"td",{"class":"mceIframeContainer"});return k}if(w=="top"){y._addToolbars(u,l)}if(w=="external"){m=x=i.create("div",{style:"position:relative"});m=i.add(m,"div",{id:v.id+"_external","class":"mceExternalToolbar"});i.add(m,"a",{id:v.id+"_external_close",href:"javascript:;","class":"mceExternalClose"});m=i.add(m,"table",{id:v.id+"_tblext",cellSpacing:0,cellPadding:0});r=i.add(m,"tbody");if(j.firstChild.className=="mceOldBoxModel"){j.firstChild.appendChild(x)}else{j.insertBefore(x,j.firstChild)}y._addToolbars(r,l);v.onMouseUp.add(function(){var o=i.get(v.id+"_external");i.show(o);i.hide(e);var n=g.add(v.id+"_external_close","click",function(){i.hide(v.id+"_external");g.remove(v.id+"_external_close","click",n);return false});i.show(o);i.setStyle(o,"top",0-i.getRect(v.id+"_tblext").h-1);i.hide(o);i.show(o);o.style.filter="";e=v.id+"_external";o=null})}if(q=="top"){y._addStatusBar(u,l)}if(!z.theme_advanced_toolbar_container){m=i.add(u,"tr");m=k=i.add(m,"td",{"class":"mceIframeContainer"})}if(w=="bottom"){y._addToolbars(u,l)}if(q=="bottom"){y._addStatusBar(u,l)}return k},_rowLayout:function(x,p,l){var w=this,q=w.editor,v,y,j=q.controlManager,m,k,u,r;v=x.theme_advanced_containers_default_class||"";y=x.theme_advanced_containers_default_align||"center";f(d(x.theme_advanced_containers||""),function(s,o){var n=x["theme_advanced_container_"+s]||"";switch(s.toLowerCase()){case"mceeditor":m=i.add(p,"tr");m=k=i.add(m,"td",{"class":"mceIframeContainer"});break;case"mceelementpath":w._addStatusBar(p,l);break;default:r=(x["theme_advanced_container_"+s+"_align"]||y).toLowerCase();r="mce"+w._ufirst(r);m=i.add(i.add(p,"tr"),"td",{"class":"mceToolbar "+(x["theme_advanced_container_"+s+"_class"]||v)+" "+r||y});u=j.createToolbar("toolbar"+o);w._addControls(n,u);i.setHTML(m,u.renderHTML());l.deltaHeight-=x.theme_advanced_row_height}});return k},_addControls:function(k,j){var l=this,m=l.settings,n,o=l.editor.controlManager;if(m.theme_advanced_disable&&!l._disabled){n={};f(d(m.theme_advanced_disable),function(p){n[p]=1});l._disabled=n}else{n=l._disabled}f(d(k),function(q){var p;if(n&&n[q]){return}if(q=="tablecontrols"){f(["table","|","row_props","cell_props","|","row_before","row_after","delete_row","|","col_before","col_after","delete_col","|","split_cells","merge_cells"],function(r){r=l.createControl(r,o);if(r){j.add(r)}});return}p=l.createControl(q,o);if(p){j.add(p)}})},_addToolbars:function(y,k){var B=this,q,p,u=B.editor,C=B.settings,A,j=u.controlManager,w,l,r=[],z,x,m=false;x=j.createToolbarGroup("toolbargroup",{name:u.getLang("advanced.toolbar"),tab_focus_toolbar:u.getParam("theme_advanced_tab_focus_toolbar")});B.toolbarGroup=x;z=C.theme_advanced_toolbar_align.toLowerCase();z="mce"+B._ufirst(z);l=i.add(i.add(y,"tr",{role:"toolbar"}),"td",{"class":"mceToolbar "+z,role:"toolbar"});for(q=1;(A=C["theme_advanced_buttons"+q]);q++){m=true;p=j.createToolbar("toolbar"+q,{"class":"mceToolbarRow"+q});if(C["theme_advanced_buttons"+q+"_add"]){A+=","+C["theme_advanced_buttons"+q+"_add"]}if(C["theme_advanced_buttons"+q+"_add_before"]){A=C["theme_advanced_buttons"+q+"_add_before"]+","+A}B._addControls(A,p);x.add(p);k.deltaHeight-=C.theme_advanced_row_height}if(!m){k.deltaHeight-=C.theme_advanced_row_height}r.push(x.renderHTML());r.push(i.createHTML("a",{href:"#",accesskey:"z",title:u.getLang("advanced.toolbar_focus"),onfocus:"tinyMCE.getInstanceById('"+u.id+"').focus();"},"<!-- IE -->"));i.setHTML(l,r.join(""))},_addStatusBar:function(p,k){var l,w=this,q=w.editor,x=w.settings,j,u,v,m;l=i.add(p,"tr");l=m=i.add(l,"td",{"class":"mceStatusbar"});l=i.add(l,"div",{id:q.id+"_path_row",role:"group","aria-labelledby":q.id+"_path_voice"});if(x.theme_advanced_path){i.add(l,"span",{id:q.id+"_path_voice"},q.translate("advanced.path"));i.add(l,"span",{},": ")}else{i.add(l,"span",{},"&#160;")}if(x.theme_advanced_resizing){i.add(m,"a",{id:q.id+"_resize",href:"javascript:;",onclick:"return false;","class":"mceResize",tabIndex:"-1"});if(x.theme_advanced_resizing_use_cookie){q.onPostRender.add(function(){var n=a.getHash("TinyMCE_"+q.id+"_size"),r=i.get(q.id+"_tbl");if(!n){return}w.resizeTo(n.cw,n.ch)})}q.onPostRender.add(function(){g.add(q.id+"_resize","click",function(n){n.preventDefault()});g.add(q.id+"_resize","mousedown",function(E){var t,r,s,o,D,A,B,G,n,F,y;function z(H){H.preventDefault();n=B+(H.screenX-D);F=G+(H.screenY-A);w.resizeTo(n,F)}function C(H){g.remove(i.doc,"mousemove",t);g.remove(q.getDoc(),"mousemove",r);g.remove(i.doc,"mouseup",s);g.remove(q.getDoc(),"mouseup",o);n=B+(H.screenX-D);F=G+(H.screenY-A);w.resizeTo(n,F,true);q.nodeChanged()}E.preventDefault();D=E.screenX;A=E.screenY;y=i.get(w.editor.id+"_ifr");B=n=y.clientWidth;G=F=y.clientHeight;t=g.add(i.doc,"mousemove",z);r=g.add(q.getDoc(),"mousemove",z);s=g.add(i.doc,"mouseup",C);o=g.add(q.getDoc(),"mouseup",C)})})}k.deltaHeight-=21;l=p=null},_updateUndoStatus:function(k){var j=k.controlManager,l=k.undoManager;j.setDisabled("undo",!l.hasUndo()&&!l.typing);j.setDisabled("redo",!l.hasRedo())},_nodeChanged:function(o,u,E,r,F){var z=this,D,G=0,y,H,A=z.settings,x,l,w,C,m,k,j;h.each(z.stateControls,function(n){u.setActive(n,o.queryCommandState(z.controls[n][1]))});function q(p){var s,n=F.parents,t=p;if(typeof(p)=="string"){t=function(v){return v.nodeName==p}}for(s=0;s<n.length;s++){if(t(n[s])){return n[s]}}}u.setActive("visualaid",o.hasVisual);z._updateUndoStatus(o);u.setDisabled("outdent",!o.queryCommandState("Outdent"));D=q("A");if(H=u.get("link")){H.setDisabled((!D&&r)||(D&&!D.href));H.setActive(!!D&&(!D.name&&!D.id))}if(H=u.get("unlink")){H.setDisabled(!D&&r);H.setActive(!!D&&!D.name&&!D.id)}if(H=u.get("anchor")){H.setActive(!r&&!!D&&(D.name||(D.id&&!D.href)))}D=q("IMG");if(H=u.get("image")){H.setActive(!r&&!!D&&E.className.indexOf("mceItem")==-1)}if(H=u.get("styleselect")){z._importClasses();k=[];f(H.items,function(n){k.push(n.value)});j=o.formatter.matchAll(k);H.select(j[0]);h.each(j,function(p,n){if(n>0){H.mark(p)}})}if(H=u.get("formatselect")){D=q(o.dom.isBlock);if(D){H.select(D.nodeName.toLowerCase())}}q(function(p){if(p.nodeName==="SPAN"){if(!x&&p.className){x=p.className}}if(o.dom.is(p,A.theme_advanced_font_selector)){if(!l&&p.style.fontSize){l=p.style.fontSize}if(!w&&p.style.fontFamily){w=p.style.fontFamily.replace(/[\"\']+/g,"").replace(/^([^,]+).*/,"$1").toLowerCase()}if(!C&&p.style.color){C=p.style.color}if(!m&&p.style.backgroundColor){m=p.style.backgroundColor}}return false});if(H=u.get("fontselect")){H.select(function(n){return n.replace(/^([^,]+).*/,"$1").toLowerCase()==w})}if(H=u.get("fontsizeselect")){if(A.theme_advanced_runtime_fontsize&&!l&&!x){l=o.dom.getStyle(E,"fontSize",true)}H.select(function(n){if(n.fontSize&&n.fontSize===l){return true}if(n["class"]&&n["class"]===x){return true}})}if(A.theme_advanced_show_current_color){function B(p,n){if(H=u.get(p)){if(!n){n=H.settings.default_color}if(n!==H.value){H.displayColor(n)}}}B("forecolor",C);B("backcolor",m)}if(A.theme_advanced_show_current_color){function B(p,n){if(H=u.get(p)){if(!n){n=H.settings.default_color}if(n!==H.value){H.displayColor(n)}}}B("forecolor",C);B("backcolor",m)}if(A.theme_advanced_path&&A.theme_advanced_statusbar_location){D=i.get(o.id+"_path")||i.add(o.id+"_path_row","span",{id:o.id+"_path"});if(z.statusKeyboardNavigation){z.statusKeyboardNavigation.destroy();z.statusKeyboardNavigation=null}i.setHTML(D,"");q(function(I){var p=I.nodeName.toLowerCase(),s,v,t="";if(I.nodeType!=1||p==="br"||I.getAttribute("data-mce-bogus")||i.hasClass(I,"mceItemHidden")||i.hasClass(I,"mceItemRemoved")){return}if(h.isIE&&I.scopeName!=="HTML"&&I.scopeName){p=I.scopeName+":"+p}p=p.replace(/mce\:/g,"");switch(p){case"b":p="strong";break;case"i":p="em";break;case"img":if(y=i.getAttrib(I,"src")){t+="src: "+y+" "}break;case"a":if(y=i.getAttrib(I,"name")){t+="name: "+y+" ";p+="#"+y}if(y=i.getAttrib(I,"href")){t+="href: "+y+" "}break;case"font":if(y=i.getAttrib(I,"face")){t+="font: "+y+" "}if(y=i.getAttrib(I,"size")){t+="size: "+y+" "}if(y=i.getAttrib(I,"color")){t+="color: "+y+" "}break;case"span":if(y=i.getAttrib(I,"style")){t+="style: "+y+" "}break}if(y=i.getAttrib(I,"id")){t+="id: "+y+" "}if(y=I.className){y=y.replace(/\b\s*(webkit|mce|Apple-)\w+\s*\b/g,"");if(y){t+="class: "+y+" ";if(o.dom.isBlock(I)||p=="img"||p=="span"){p+="."+y}}}p=p.replace(/(html:)/g,"");p={name:p,node:I,title:t};z.onResolveName.dispatch(z,p);t=p.title;p=p.name;v=i.create("a",{href:"javascript:;",role:"button",onmousedown:"return false;",title:t,"class":"mcePath_"+(G++)},p);if(D.hasChildNodes()){D.insertBefore(i.create("span",{"aria-hidden":"true"},"\u00a0\u00bb "),D.firstChild);D.insertBefore(v,D.firstChild)}else{D.appendChild(v)}},o.getBody());if(i.select("a",D).length>0){z.statusKeyboardNavigation=new h.ui.KeyboardNavigation({root:o.id+"_path_row",items:i.select("a",D),excludeFromTabOrder:true,onCancel:function(){o.focus()}},i)}}},_sel:function(j){this.editor.execCommand("mceSelectNodeDepth",false,j)},_mceInsertAnchor:function(l,k){var j=this.editor;j.windowManager.open({url:this.url+"/anchor.htm",width:320+parseInt(j.getLang("advanced.anchor_delta_width",0)),height:90+parseInt(j.getLang("advanced.anchor_delta_height",0)),inline:true},{theme_url:this.url})},_mceCharMap:function(){var j=this.editor;j.windowManager.open({url:this.url+"/charmap.htm",width:550+parseInt(j.getLang("advanced.charmap_delta_width",0)),height:265+parseInt(j.getLang("advanced.charmap_delta_height",0)),inline:true},{theme_url:this.url})},_mceHelp:function(){var j=this.editor;j.windowManager.open({url:this.url+"/about.htm",width:480,height:380,inline:true},{theme_url:this.url})},_mceShortcuts:function(){var j=this.editor;j.windowManager.open({url:this.url+"/shortcuts.htm",width:480,height:380,inline:true},{theme_url:this.url})},_mceColorPicker:function(l,k){var j=this.editor;k=k||{};j.windowManager.open({url:this.url+"/color_picker.htm",width:375+parseInt(j.getLang("advanced.colorpicker_delta_width",0)),height:250+parseInt(j.getLang("advanced.colorpicker_delta_height",0)),close_previous:false,inline:true},{input_color:k.color,func:k.func,theme_url:this.url})},_mceCodeEditor:function(k,l){var j=this.editor;j.windowManager.open({url:this.url+"/source_editor.htm",width:parseInt(j.getParam("theme_advanced_source_editor_width",720)),height:parseInt(j.getParam("theme_advanced_source_editor_height",580)),inline:true,resizable:true,maximizable:true},{theme_url:this.url})},_mceImage:function(k,l){var j=this.editor;if(j.dom.getAttrib(j.selection.getNode(),"class","").indexOf("mceItem")!=-1){return}j.windowManager.open({url:this.url+"/image.htm",width:355+parseInt(j.getLang("advanced.image_delta_width",0)),height:275+parseInt(j.getLang("advanced.image_delta_height",0)),inline:true},{theme_url:this.url})},_mceLink:function(k,l){var j=this.editor;j.windowManager.open({url:this.url+"/link.htm",width:310+parseInt(j.getLang("advanced.link_delta_width",0)),height:200+parseInt(j.getLang("advanced.link_delta_height",0)),inline:true},{theme_url:this.url})},_mceNewDocument:function(){var j=this.editor;j.windowManager.confirm("advanced.newdocument",function(k){if(k){j.execCommand("mceSetContent",false,"")}})},_mceForeColor:function(){var j=this;this._mceColorPicker(0,{color:j.fgColor,func:function(k){j.fgColor=k;j.editor.execCommand("ForeColor",false,k)}})},_mceBackColor:function(){var j=this;this._mceColorPicker(0,{color:j.bgColor,func:function(k){j.bgColor=k;j.editor.execCommand("HiliteColor",false,k)}})},_ufirst:function(j){return j.substring(0,1).toUpperCase()+j.substring(1)}});h.ThemeManager.add("advanced",h.themes.AdvancedTheme)}(tinymce)); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/editor_template_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/editor_template_src.js
new file mode 100755
index 00000000..12deb49c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/editor_template_src.js
@@ -0,0 +1,1490 @@
+/**
+ * editor_template_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function(tinymce) {
+ var DOM = tinymce.DOM, Event = tinymce.dom.Event, extend = tinymce.extend, each = tinymce.each, Cookie = tinymce.util.Cookie, lastExtID, explode = tinymce.explode;
+
+ // Generates a preview for a format
+ function getPreviewCss(ed, fmt) {
+ var name, previewElm, dom = ed.dom, previewCss = '', parentFontSize, previewStylesName;
+
+ previewStyles = ed.settings.preview_styles;
+
+ // No preview forced
+ if (previewStyles === false)
+ return '';
+
+ // Default preview
+ if (!previewStyles)
+ previewStyles = 'font-family font-size font-weight text-decoration text-transform color background-color';
+
+ // Removes any variables since these can't be previewed
+ function removeVars(val) {
+ return val.replace(/%(\w+)/g, '');
+ };
+
+ // Create block/inline element to use for preview
+ name = fmt.block || fmt.inline || 'span';
+ previewElm = dom.create(name);
+
+ // Add format styles to preview element
+ each(fmt.styles, function(value, name) {
+ value = removeVars(value);
+
+ if (value)
+ dom.setStyle(previewElm, name, value);
+ });
+
+ // Add attributes to preview element
+ each(fmt.attributes, function(value, name) {
+ value = removeVars(value);
+
+ if (value)
+ dom.setAttrib(previewElm, name, value);
+ });
+
+ // Add classes to preview element
+ each(fmt.classes, function(value) {
+ value = removeVars(value);
+
+ if (!dom.hasClass(previewElm, value))
+ dom.addClass(previewElm, value);
+ });
+
+ // Add the previewElm outside the visual area
+ dom.setStyles(previewElm, {position: 'absolute', left: -0xFFFF});
+ ed.getBody().appendChild(previewElm);
+
+ // Get parent container font size so we can compute px values out of em/% for older IE:s
+ parentFontSize = dom.getStyle(ed.getBody(), 'fontSize', true);
+ parentFontSize = /px$/.test(parentFontSize) ? parseInt(parentFontSize, 10) : 0;
+
+ each(previewStyles.split(' '), function(name) {
+ var value = dom.getStyle(previewElm, name, true);
+
+ // If background is transparent then check if the body has a background color we can use
+ if (name == 'background-color' && /transparent|rgba\s*\([^)]+,\s*0\)/.test(value)) {
+ value = dom.getStyle(ed.getBody(), name, true);
+
+ // Ignore white since it's the default color, not the nicest fix
+ if (dom.toHex(value).toLowerCase() == '#ffffff') {
+ return;
+ }
+ }
+
+ // Old IE won't calculate the font size so we need to do that manually
+ if (name == 'font-size') {
+ if (/em|%$/.test(value)) {
+ if (parentFontSize === 0) {
+ return;
+ }
+
+ // Convert font size from em/% to px
+ value = parseFloat(value, 10) / (/%$/.test(value) ? 100 : 1);
+ value = (value * parentFontSize) + 'px';
+ }
+ }
+
+ previewCss += name + ':' + value + ';';
+ });
+
+ dom.remove(previewElm);
+
+ return previewCss;
+ };
+
+ // Tell it to load theme specific language pack(s)
+ tinymce.ThemeManager.requireLangPack('advanced');
+
+ tinymce.create('tinymce.themes.AdvancedTheme', {
+ sizes : [8, 10, 12, 14, 18, 24, 36],
+
+ // Control name lookup, format: title, command
+ controls : {
+ bold : ['bold_desc', 'Bold'],
+ italic : ['italic_desc', 'Italic'],
+ underline : ['underline_desc', 'Underline'],
+ strikethrough : ['striketrough_desc', 'Strikethrough'],
+ justifyleft : ['justifyleft_desc', 'JustifyLeft'],
+ justifycenter : ['justifycenter_desc', 'JustifyCenter'],
+ justifyright : ['justifyright_desc', 'JustifyRight'],
+ justifyfull : ['justifyfull_desc', 'JustifyFull'],
+ bullist : ['bullist_desc', 'InsertUnorderedList'],
+ numlist : ['numlist_desc', 'InsertOrderedList'],
+ outdent : ['outdent_desc', 'Outdent'],
+ indent : ['indent_desc', 'Indent'],
+ cut : ['cut_desc', 'Cut'],
+ copy : ['copy_desc', 'Copy'],
+ paste : ['paste_desc', 'Paste'],
+ undo : ['undo_desc', 'Undo'],
+ redo : ['redo_desc', 'Redo'],
+ link : ['link_desc', 'mceLink'],
+ unlink : ['unlink_desc', 'unlink'],
+ image : ['image_desc', 'mceImage'],
+ cleanup : ['cleanup_desc', 'mceCleanup'],
+ help : ['help_desc', 'mceHelp'],
+ code : ['code_desc', 'mceCodeEditor'],
+ hr : ['hr_desc', 'InsertHorizontalRule'],
+ removeformat : ['removeformat_desc', 'RemoveFormat'],
+ sub : ['sub_desc', 'subscript'],
+ sup : ['sup_desc', 'superscript'],
+ forecolor : ['forecolor_desc', 'ForeColor'],
+ forecolorpicker : ['forecolor_desc', 'mceForeColor'],
+ backcolor : ['backcolor_desc', 'HiliteColor'],
+ backcolorpicker : ['backcolor_desc', 'mceBackColor'],
+ charmap : ['charmap_desc', 'mceCharMap'],
+ visualaid : ['visualaid_desc', 'mceToggleVisualAid'],
+ anchor : ['anchor_desc', 'mceInsertAnchor'],
+ newdocument : ['newdocument_desc', 'mceNewDocument'],
+ blockquote : ['blockquote_desc', 'mceBlockQuote']
+ },
+
+ stateControls : ['bold', 'italic', 'underline', 'strikethrough', 'bullist', 'numlist', 'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'sub', 'sup', 'blockquote'],
+
+ init : function(ed, url) {
+ var t = this, s, v, o;
+
+ t.editor = ed;
+ t.url = url;
+ t.onResolveName = new tinymce.util.Dispatcher(this);
+ s = ed.settings;
+
+ ed.forcedHighContrastMode = ed.settings.detect_highcontrast && t._isHighContrast();
+ ed.settings.skin = ed.forcedHighContrastMode ? 'highcontrast' : ed.settings.skin;
+
+ // Setup default buttons
+ if (!s.theme_advanced_buttons1) {
+ s = extend({
+ theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect",
+ theme_advanced_buttons2 : "bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",
+ theme_advanced_buttons3 : "hr,removeformat,visualaid,|,sub,sup,|,charmap"
+ }, s);
+ }
+
+ // Default settings
+ t.settings = s = extend({
+ theme_advanced_path : true,
+ theme_advanced_toolbar_location : 'top',
+ theme_advanced_blockformats : "p,address,pre,h1,h2,h3,h4,h5,h6",
+ theme_advanced_toolbar_align : "left",
+ theme_advanced_statusbar_location : "bottom",
+ theme_advanced_fonts : "Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats",
+ theme_advanced_more_colors : 1,
+ theme_advanced_row_height : 23,
+ theme_advanced_resize_horizontal : 1,
+ theme_advanced_resizing_use_cookie : 1,
+ theme_advanced_font_sizes : "1,2,3,4,5,6,7",
+ theme_advanced_font_selector : "span",
+ theme_advanced_show_current_color: 0,
+ readonly : ed.settings.readonly
+ }, s);
+
+ // Setup default font_size_style_values
+ if (!s.font_size_style_values)
+ s.font_size_style_values = "8pt,10pt,12pt,14pt,18pt,24pt,36pt";
+
+ if (tinymce.is(s.theme_advanced_font_sizes, 'string')) {
+ s.font_size_style_values = tinymce.explode(s.font_size_style_values);
+ s.font_size_classes = tinymce.explode(s.font_size_classes || '');
+
+ // Parse string value
+ o = {};
+ ed.settings.theme_advanced_font_sizes = s.theme_advanced_font_sizes;
+ each(ed.getParam('theme_advanced_font_sizes', '', 'hash'), function(v, k) {
+ var cl;
+
+ if (k == v && v >= 1 && v <= 7) {
+ k = v + ' (' + t.sizes[v - 1] + 'pt)';
+ cl = s.font_size_classes[v - 1];
+ v = s.font_size_style_values[v - 1] || (t.sizes[v - 1] + 'pt');
+ }
+
+ if (/^\s*\./.test(v))
+ cl = v.replace(/\./g, '');
+
+ o[k] = cl ? {'class' : cl} : {fontSize : v};
+ });
+
+ s.theme_advanced_font_sizes = o;
+ }
+
+ if ((v = s.theme_advanced_path_location) && v != 'none')
+ s.theme_advanced_statusbar_location = s.theme_advanced_path_location;
+
+ if (s.theme_advanced_statusbar_location == 'none')
+ s.theme_advanced_statusbar_location = 0;
+
+ if (ed.settings.content_css !== false)
+ ed.contentCSS.push(ed.baseURI.toAbsolute(url + "/skins/" + ed.settings.skin + "/content.css"));
+
+ // Init editor
+ ed.onInit.add(function() {
+ if (!ed.settings.readonly) {
+ ed.onNodeChange.add(t._nodeChanged, t);
+ ed.onKeyUp.add(t._updateUndoStatus, t);
+ ed.onMouseUp.add(t._updateUndoStatus, t);
+ ed.dom.bind(ed.dom.getRoot(), 'dragend', function() {
+ t._updateUndoStatus(ed);
+ });
+ }
+ });
+
+ ed.onSetProgressState.add(function(ed, b, ti) {
+ var co, id = ed.id, tb;
+
+ if (b) {
+ t.progressTimer = setTimeout(function() {
+ co = ed.getContainer();
+ co = co.insertBefore(DOM.create('DIV', {style : 'position:relative'}), co.firstChild);
+ tb = DOM.get(ed.id + '_tbl');
+
+ DOM.add(co, 'div', {id : id + '_blocker', 'class' : 'mceBlocker', style : {width : tb.clientWidth + 2, height : tb.clientHeight + 2}});
+ DOM.add(co, 'div', {id : id + '_progress', 'class' : 'mceProgress', style : {left : tb.clientWidth / 2, top : tb.clientHeight / 2}});
+ }, ti || 0);
+ } else {
+ DOM.remove(id + '_blocker');
+ DOM.remove(id + '_progress');
+ clearTimeout(t.progressTimer);
+ }
+ });
+
+ DOM.loadCSS(s.editor_css ? ed.documentBaseURI.toAbsolute(s.editor_css) : url + "/skins/" + ed.settings.skin + "/ui.css");
+
+ if (s.skin_variant)
+ DOM.loadCSS(url + "/skins/" + ed.settings.skin + "/ui_" + s.skin_variant + ".css");
+ },
+
+ _isHighContrast : function() {
+ var actualColor, div = DOM.add(DOM.getRoot(), 'div', {'style': 'background-color: rgb(171,239,86);'});
+
+ actualColor = (DOM.getStyle(div, 'background-color', true) + '').toLowerCase().replace(/ /g, '');
+ DOM.remove(div);
+
+ return actualColor != 'rgb(171,239,86)' && actualColor != '#abef56';
+ },
+
+ createControl : function(n, cf) {
+ var cd, c;
+
+ if (c = cf.createControl(n))
+ return c;
+
+ switch (n) {
+ case "styleselect":
+ return this._createStyleSelect();
+
+ case "formatselect":
+ return this._createBlockFormats();
+
+ case "fontselect":
+ return this._createFontSelect();
+
+ case "fontsizeselect":
+ return this._createFontSizeSelect();
+
+ case "forecolor":
+ return this._createForeColorMenu();
+
+ case "backcolor":
+ return this._createBackColorMenu();
+ }
+
+ if ((cd = this.controls[n]))
+ return cf.createButton(n, {title : "advanced." + cd[0], cmd : cd[1], ui : cd[2], value : cd[3]});
+ },
+
+ execCommand : function(cmd, ui, val) {
+ var f = this['_' + cmd];
+
+ if (f) {
+ f.call(this, ui, val);
+ return true;
+ }
+
+ return false;
+ },
+
+ _importClasses : function(e) {
+ var ed = this.editor, ctrl = ed.controlManager.get('styleselect');
+
+ if (ctrl.getLength() == 0) {
+ each(ed.dom.getClasses(), function(o, idx) {
+ var name = 'style_' + idx, fmt;
+
+ fmt = {
+ inline : 'span',
+ attributes : {'class' : o['class']},
+ selector : '*'
+ };
+
+ ed.formatter.register(name, fmt);
+
+ ctrl.add(o['class'], name, {
+ style: function() {
+ return getPreviewCss(ed, fmt);
+ }
+ });
+ });
+ }
+ },
+
+ _createStyleSelect : function(n) {
+ var t = this, ed = t.editor, ctrlMan = ed.controlManager, ctrl;
+
+ // Setup style select box
+ ctrl = ctrlMan.createListBox('styleselect', {
+ title : 'advanced.style_select',
+ onselect : function(name) {
+ var matches, formatNames = [], removedFormat;
+
+ each(ctrl.items, function(item) {
+ formatNames.push(item.value);
+ });
+
+ ed.focus();
+ ed.undoManager.add();
+
+ // Toggle off the current format(s)
+ matches = ed.formatter.matchAll(formatNames);
+ tinymce.each(matches, function(match) {
+ if (!name || match == name) {
+ if (match)
+ ed.formatter.remove(match);
+
+ removedFormat = true;
+ }
+ });
+
+ if (!removedFormat)
+ ed.formatter.apply(name);
+
+ ed.undoManager.add();
+ ed.nodeChanged();
+
+ return false; // No auto select
+ }
+ });
+
+ // Handle specified format
+ ed.onPreInit.add(function() {
+ var counter = 0, formats = ed.getParam('style_formats');
+
+ if (formats) {
+ each(formats, function(fmt) {
+ var name, keys = 0;
+
+ each(fmt, function() {keys++;});
+
+ if (keys > 1) {
+ name = fmt.name = fmt.name || 'style_' + (counter++);
+ ed.formatter.register(name, fmt);
+ ctrl.add(fmt.title, name, {
+ style: function() {
+ return getPreviewCss(ed, fmt);
+ }
+ });
+ } else
+ ctrl.add(fmt.title);
+ });
+ } else {
+ each(ed.getParam('theme_advanced_styles', '', 'hash'), function(val, key) {
+ var name, fmt;
+
+ if (val) {
+ name = 'style_' + (counter++);
+ fmt = {
+ inline : 'span',
+ classes : val,
+ selector : '*'
+ };
+
+ ed.formatter.register(name, fmt);
+ ctrl.add(t.editor.translate(key), name, {
+ style: function() {
+ return getPreviewCss(ed, fmt);
+ }
+ });
+ }
+ });
+ }
+ });
+
+ // Auto import classes if the ctrl box is empty
+ if (ctrl.getLength() == 0) {
+ ctrl.onPostRender.add(function(ed, n) {
+ if (!ctrl.NativeListBox) {
+ Event.add(n.id + '_text', 'focus', t._importClasses, t);
+ Event.add(n.id + '_text', 'mousedown', t._importClasses, t);
+ Event.add(n.id + '_open', 'focus', t._importClasses, t);
+ Event.add(n.id + '_open', 'mousedown', t._importClasses, t);
+ } else
+ Event.add(n.id, 'focus', t._importClasses, t);
+ });
+ }
+
+ return ctrl;
+ },
+
+ _createFontSelect : function() {
+ var c, t = this, ed = t.editor;
+
+ c = ed.controlManager.createListBox('fontselect', {
+ title : 'advanced.fontdefault',
+ onselect : function(v) {
+ var cur = c.items[c.selectedIndex];
+
+ if (!v && cur) {
+ ed.execCommand('FontName', false, cur.value);
+ return;
+ }
+
+ ed.execCommand('FontName', false, v);
+
+ // Fake selection, execCommand will fire a nodeChange and update the selection
+ c.select(function(sv) {
+ return v == sv;
+ });
+
+ if (cur && cur.value == v) {
+ c.select(null);
+ }
+
+ return false; // No auto select
+ }
+ });
+
+ if (c) {
+ each(ed.getParam('theme_advanced_fonts', t.settings.theme_advanced_fonts, 'hash'), function(v, k) {
+ c.add(ed.translate(k), v, {style : v.indexOf('dings') == -1 ? 'font-family:' + v : ''});
+ });
+ }
+
+ return c;
+ },
+
+ _createFontSizeSelect : function() {
+ var t = this, ed = t.editor, c, i = 0, cl = [];
+
+ c = ed.controlManager.createListBox('fontsizeselect', {title : 'advanced.font_size', onselect : function(v) {
+ var cur = c.items[c.selectedIndex];
+
+ if (!v && cur) {
+ cur = cur.value;
+
+ if (cur['class']) {
+ ed.formatter.toggle('fontsize_class', {value : cur['class']});
+ ed.undoManager.add();
+ ed.nodeChanged();
+ } else {
+ ed.execCommand('FontSize', false, cur.fontSize);
+ }
+
+ return;
+ }
+
+ if (v['class']) {
+ ed.focus();
+ ed.undoManager.add();
+ ed.formatter.toggle('fontsize_class', {value : v['class']});
+ ed.undoManager.add();
+ ed.nodeChanged();
+ } else
+ ed.execCommand('FontSize', false, v.fontSize);
+
+ // Fake selection, execCommand will fire a nodeChange and update the selection
+ c.select(function(sv) {
+ return v == sv;
+ });
+
+ if (cur && (cur.value.fontSize == v.fontSize || cur.value['class'] && cur.value['class'] == v['class'])) {
+ c.select(null);
+ }
+
+ return false; // No auto select
+ }});
+
+ if (c) {
+ each(t.settings.theme_advanced_font_sizes, function(v, k) {
+ var fz = v.fontSize;
+
+ if (fz >= 1 && fz <= 7)
+ fz = t.sizes[parseInt(fz) - 1] + 'pt';
+
+ c.add(k, v, {'style' : 'font-size:' + fz, 'class' : 'mceFontSize' + (i++) + (' ' + (v['class'] || ''))});
+ });
+ }
+
+ return c;
+ },
+
+ _createBlockFormats : function() {
+ var c, fmts = {
+ p : 'advanced.paragraph',
+ address : 'advanced.address',
+ pre : 'advanced.pre',
+ h1 : 'advanced.h1',
+ h2 : 'advanced.h2',
+ h3 : 'advanced.h3',
+ h4 : 'advanced.h4',
+ h5 : 'advanced.h5',
+ h6 : 'advanced.h6',
+ div : 'advanced.div',
+ blockquote : 'advanced.blockquote',
+ code : 'advanced.code',
+ dt : 'advanced.dt',
+ dd : 'advanced.dd',
+ samp : 'advanced.samp'
+ }, t = this;
+
+ c = t.editor.controlManager.createListBox('formatselect', {title : 'advanced.block', onselect : function(v) {
+ t.editor.execCommand('FormatBlock', false, v);
+ return false;
+ }});
+
+ if (c) {
+ each(t.editor.getParam('theme_advanced_blockformats', t.settings.theme_advanced_blockformats, 'hash'), function(v, k) {
+ c.add(t.editor.translate(k != v ? k : fmts[v]), v, {'class' : 'mce_formatPreview mce_' + v, style: function() {
+ return getPreviewCss(t.editor, {block: v});
+ }});
+ });
+ }
+
+ return c;
+ },
+
+ _createForeColorMenu : function() {
+ var c, t = this, s = t.settings, o = {}, v;
+
+ if (s.theme_advanced_more_colors) {
+ o.more_colors_func = function() {
+ t._mceColorPicker(0, {
+ color : c.value,
+ func : function(co) {
+ c.setColor(co);
+ }
+ });
+ };
+ }
+
+ if (v = s.theme_advanced_text_colors)
+ o.colors = v;
+
+ if (s.theme_advanced_default_foreground_color)
+ o.default_color = s.theme_advanced_default_foreground_color;
+
+ o.title = 'advanced.forecolor_desc';
+ o.cmd = 'ForeColor';
+ o.scope = this;
+
+ c = t.editor.controlManager.createColorSplitButton('forecolor', o);
+
+ return c;
+ },
+
+ _createBackColorMenu : function() {
+ var c, t = this, s = t.settings, o = {}, v;
+
+ if (s.theme_advanced_more_colors) {
+ o.more_colors_func = function() {
+ t._mceColorPicker(0, {
+ color : c.value,
+ func : function(co) {
+ c.setColor(co);
+ }
+ });
+ };
+ }
+
+ if (v = s.theme_advanced_background_colors)
+ o.colors = v;
+
+ if (s.theme_advanced_default_background_color)
+ o.default_color = s.theme_advanced_default_background_color;
+
+ o.title = 'advanced.backcolor_desc';
+ o.cmd = 'HiliteColor';
+ o.scope = this;
+
+ c = t.editor.controlManager.createColorSplitButton('backcolor', o);
+
+ return c;
+ },
+
+ renderUI : function(o) {
+ var n, ic, tb, t = this, ed = t.editor, s = t.settings, sc, p, nl;
+
+ if (ed.settings) {
+ ed.settings.aria_label = s.aria_label + ed.getLang('advanced.help_shortcut');
+ }
+
+ // TODO: ACC Should have an aria-describedby attribute which is user-configurable to describe what this field is actually for.
+ // Maybe actually inherit it from the original textara?
+ n = p = DOM.create('span', {role : 'application', 'aria-labelledby' : ed.id + '_voice', id : ed.id + '_parent', 'class' : 'mceEditor ' + ed.settings.skin + 'Skin' + (s.skin_variant ? ' ' + ed.settings.skin + 'Skin' + t._ufirst(s.skin_variant) : '') + (ed.settings.directionality == "rtl" ? ' mceRtl' : '')});
+ DOM.add(n, 'span', {'class': 'mceVoiceLabel', 'style': 'display:none;', id: ed.id + '_voice'}, s.aria_label);
+
+ if (!DOM.boxModel)
+ n = DOM.add(n, 'div', {'class' : 'mceOldBoxModel'});
+
+ n = sc = DOM.add(n, 'table', {role : "presentation", id : ed.id + '_tbl', 'class' : 'mceLayout', cellSpacing : 0, cellPadding : 0});
+ n = tb = DOM.add(n, 'tbody');
+
+ switch ((s.theme_advanced_layout_manager || '').toLowerCase()) {
+ case "rowlayout":
+ ic = t._rowLayout(s, tb, o);
+ break;
+
+ case "customlayout":
+ ic = ed.execCallback("theme_advanced_custom_layout", s, tb, o, p);
+ break;
+
+ default:
+ ic = t._simpleLayout(s, tb, o, p);
+ }
+
+ n = o.targetNode;
+
+ // Add classes to first and last TRs
+ nl = sc.rows;
+ DOM.addClass(nl[0], 'mceFirst');
+ DOM.addClass(nl[nl.length - 1], 'mceLast');
+
+ // Add classes to first and last TDs
+ each(DOM.select('tr', tb), function(n) {
+ DOM.addClass(n.firstChild, 'mceFirst');
+ DOM.addClass(n.childNodes[n.childNodes.length - 1], 'mceLast');
+ });
+
+ if (DOM.get(s.theme_advanced_toolbar_container))
+ DOM.get(s.theme_advanced_toolbar_container).appendChild(p);
+ else
+ DOM.insertAfter(p, n);
+
+ Event.add(ed.id + '_path_row', 'click', function(e) {
+ e = e.target;
+
+ if (e.nodeName == 'A') {
+ t._sel(e.className.replace(/^.*mcePath_([0-9]+).*$/, '$1'));
+ return false;
+ }
+ });
+/*
+ if (DOM.get(ed.id + '_path_row')) {
+ Event.add(ed.id + '_tbl', 'mouseover', function(e) {
+ var re;
+
+ e = e.target;
+
+ if (e.nodeName == 'SPAN' && DOM.hasClass(e.parentNode, 'mceButton')) {
+ re = DOM.get(ed.id + '_path_row');
+ t.lastPath = re.innerHTML;
+ DOM.setHTML(re, e.parentNode.title);
+ }
+ });
+
+ Event.add(ed.id + '_tbl', 'mouseout', function(e) {
+ if (t.lastPath) {
+ DOM.setHTML(ed.id + '_path_row', t.lastPath);
+ t.lastPath = 0;
+ }
+ });
+ }
+*/
+
+ if (!ed.getParam('accessibility_focus'))
+ Event.add(DOM.add(p, 'a', {href : '#'}, '<!-- IE -->'), 'focus', function() {tinyMCE.get(ed.id).focus();});
+
+ if (s.theme_advanced_toolbar_location == 'external')
+ o.deltaHeight = 0;
+
+ t.deltaHeight = o.deltaHeight;
+ o.targetNode = null;
+
+ ed.onKeyDown.add(function(ed, evt) {
+ var DOM_VK_F10 = 121, DOM_VK_F11 = 122;
+
+ if (evt.altKey) {
+ if (evt.keyCode === DOM_VK_F10) {
+ // Make sure focus is given to toolbar in Safari.
+ // We can't do this in IE as it prevents giving focus to toolbar when editor is in a frame
+ if (tinymce.isWebKit) {
+ window.focus();
+ }
+ t.toolbarGroup.focus();
+ return Event.cancel(evt);
+ } else if (evt.keyCode === DOM_VK_F11) {
+ DOM.get(ed.id + '_path_row').focus();
+ return Event.cancel(evt);
+ }
+ }
+ });
+
+ // alt+0 is the UK recommended shortcut for accessing the list of access controls.
+ ed.addShortcut('alt+0', '', 'mceShortcuts', t);
+
+ return {
+ iframeContainer : ic,
+ editorContainer : ed.id + '_parent',
+ sizeContainer : sc,
+ deltaHeight : o.deltaHeight
+ };
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Advanced theme',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ }
+ },
+
+ resizeBy : function(dw, dh) {
+ var e = DOM.get(this.editor.id + '_ifr');
+
+ this.resizeTo(e.clientWidth + dw, e.clientHeight + dh);
+ },
+
+ resizeTo : function(w, h, store) {
+ var ed = this.editor, s = this.settings, e = DOM.get(ed.id + '_tbl'), ifr = DOM.get(ed.id + '_ifr');
+
+ // Boundery fix box
+ w = Math.max(s.theme_advanced_resizing_min_width || 100, w);
+ h = Math.max(s.theme_advanced_resizing_min_height || 100, h);
+ w = Math.min(s.theme_advanced_resizing_max_width || 0xFFFF, w);
+ h = Math.min(s.theme_advanced_resizing_max_height || 0xFFFF, h);
+
+ // Resize iframe and container
+ DOM.setStyle(e, 'height', '');
+ DOM.setStyle(ifr, 'height', h);
+
+ if (s.theme_advanced_resize_horizontal) {
+ DOM.setStyle(e, 'width', '');
+ DOM.setStyle(ifr, 'width', w);
+
+ // Make sure that the size is never smaller than the over all ui
+ if (w < e.clientWidth) {
+ w = e.clientWidth;
+ DOM.setStyle(ifr, 'width', e.clientWidth);
+ }
+ }
+
+ // Store away the size
+ if (store && s.theme_advanced_resizing_use_cookie) {
+ Cookie.setHash("TinyMCE_" + ed.id + "_size", {
+ cw : w,
+ ch : h
+ });
+ }
+ },
+
+ destroy : function() {
+ var id = this.editor.id;
+
+ Event.clear(id + '_resize');
+ Event.clear(id + '_path_row');
+ Event.clear(id + '_external_close');
+ },
+
+ // Internal functions
+
+ _simpleLayout : function(s, tb, o, p) {
+ var t = this, ed = t.editor, lo = s.theme_advanced_toolbar_location, sl = s.theme_advanced_statusbar_location, n, ic, etb, c;
+
+ if (s.readonly) {
+ n = DOM.add(tb, 'tr');
+ n = ic = DOM.add(n, 'td', {'class' : 'mceIframeContainer'});
+ return ic;
+ }
+
+ // Create toolbar container at top
+ if (lo == 'top')
+ t._addToolbars(tb, o);
+
+ // Create external toolbar
+ if (lo == 'external') {
+ n = c = DOM.create('div', {style : 'position:relative'});
+ n = DOM.add(n, 'div', {id : ed.id + '_external', 'class' : 'mceExternalToolbar'});
+ DOM.add(n, 'a', {id : ed.id + '_external_close', href : 'javascript:;', 'class' : 'mceExternalClose'});
+ n = DOM.add(n, 'table', {id : ed.id + '_tblext', cellSpacing : 0, cellPadding : 0});
+ etb = DOM.add(n, 'tbody');
+
+ if (p.firstChild.className == 'mceOldBoxModel')
+ p.firstChild.appendChild(c);
+ else
+ p.insertBefore(c, p.firstChild);
+
+ t._addToolbars(etb, o);
+
+ ed.onMouseUp.add(function() {
+ var e = DOM.get(ed.id + '_external');
+ DOM.show(e);
+
+ DOM.hide(lastExtID);
+
+ var f = Event.add(ed.id + '_external_close', 'click', function() {
+ DOM.hide(ed.id + '_external');
+ Event.remove(ed.id + '_external_close', 'click', f);
+ return false;
+ });
+
+ DOM.show(e);
+ DOM.setStyle(e, 'top', 0 - DOM.getRect(ed.id + '_tblext').h - 1);
+
+ // Fixes IE rendering bug
+ DOM.hide(e);
+ DOM.show(e);
+ e.style.filter = '';
+
+ lastExtID = ed.id + '_external';
+
+ e = null;
+ });
+ }
+
+ if (sl == 'top')
+ t._addStatusBar(tb, o);
+
+ // Create iframe container
+ if (!s.theme_advanced_toolbar_container) {
+ n = DOM.add(tb, 'tr');
+ n = ic = DOM.add(n, 'td', {'class' : 'mceIframeContainer'});
+ }
+
+ // Create toolbar container at bottom
+ if (lo == 'bottom')
+ t._addToolbars(tb, o);
+
+ if (sl == 'bottom')
+ t._addStatusBar(tb, o);
+
+ return ic;
+ },
+
+ _rowLayout : function(s, tb, o) {
+ var t = this, ed = t.editor, dc, da, cf = ed.controlManager, n, ic, to, a;
+
+ dc = s.theme_advanced_containers_default_class || '';
+ da = s.theme_advanced_containers_default_align || 'center';
+
+ each(explode(s.theme_advanced_containers || ''), function(c, i) {
+ var v = s['theme_advanced_container_' + c] || '';
+
+ switch (c.toLowerCase()) {
+ case 'mceeditor':
+ n = DOM.add(tb, 'tr');
+ n = ic = DOM.add(n, 'td', {'class' : 'mceIframeContainer'});
+ break;
+
+ case 'mceelementpath':
+ t._addStatusBar(tb, o);
+ break;
+
+ default:
+ a = (s['theme_advanced_container_' + c + '_align'] || da).toLowerCase();
+ a = 'mce' + t._ufirst(a);
+
+ n = DOM.add(DOM.add(tb, 'tr'), 'td', {
+ 'class' : 'mceToolbar ' + (s['theme_advanced_container_' + c + '_class'] || dc) + ' ' + a || da
+ });
+
+ to = cf.createToolbar("toolbar" + i);
+ t._addControls(v, to);
+ DOM.setHTML(n, to.renderHTML());
+ o.deltaHeight -= s.theme_advanced_row_height;
+ }
+ });
+
+ return ic;
+ },
+
+ _addControls : function(v, tb) {
+ var t = this, s = t.settings, di, cf = t.editor.controlManager;
+
+ if (s.theme_advanced_disable && !t._disabled) {
+ di = {};
+
+ each(explode(s.theme_advanced_disable), function(v) {
+ di[v] = 1;
+ });
+
+ t._disabled = di;
+ } else
+ di = t._disabled;
+
+ each(explode(v), function(n) {
+ var c;
+
+ if (di && di[n])
+ return;
+
+ // Compatiblity with 2.x
+ if (n == 'tablecontrols') {
+ each(["table","|","row_props","cell_props","|","row_before","row_after","delete_row","|","col_before","col_after","delete_col","|","split_cells","merge_cells"], function(n) {
+ n = t.createControl(n, cf);
+
+ if (n)
+ tb.add(n);
+ });
+
+ return;
+ }
+
+ c = t.createControl(n, cf);
+
+ if (c)
+ tb.add(c);
+ });
+ },
+
+ _addToolbars : function(c, o) {
+ var t = this, i, tb, ed = t.editor, s = t.settings, v, cf = ed.controlManager, di, n, h = [], a, toolbarGroup, toolbarsExist = false;
+
+ toolbarGroup = cf.createToolbarGroup('toolbargroup', {
+ 'name': ed.getLang('advanced.toolbar'),
+ 'tab_focus_toolbar':ed.getParam('theme_advanced_tab_focus_toolbar')
+ });
+
+ t.toolbarGroup = toolbarGroup;
+
+ a = s.theme_advanced_toolbar_align.toLowerCase();
+ a = 'mce' + t._ufirst(a);
+
+ n = DOM.add(DOM.add(c, 'tr', {role: 'toolbar'}), 'td', {'class' : 'mceToolbar ' + a, "role":"toolbar"});
+
+ // Create toolbar and add the controls
+ for (i=1; (v = s['theme_advanced_buttons' + i]); i++) {
+ toolbarsExist = true;
+ tb = cf.createToolbar("toolbar" + i, {'class' : 'mceToolbarRow' + i});
+
+ if (s['theme_advanced_buttons' + i + '_add'])
+ v += ',' + s['theme_advanced_buttons' + i + '_add'];
+
+ if (s['theme_advanced_buttons' + i + '_add_before'])
+ v = s['theme_advanced_buttons' + i + '_add_before'] + ',' + v;
+
+ t._addControls(v, tb);
+ toolbarGroup.add(tb);
+
+ o.deltaHeight -= s.theme_advanced_row_height;
+ }
+ // Handle case when there are no toolbar buttons and ensure editor height is adjusted accordingly
+ if (!toolbarsExist)
+ o.deltaHeight -= s.theme_advanced_row_height;
+ h.push(toolbarGroup.renderHTML());
+ h.push(DOM.createHTML('a', {href : '#', accesskey : 'z', title : ed.getLang("advanced.toolbar_focus"), onfocus : 'tinyMCE.getInstanceById(\'' + ed.id + '\').focus();'}, '<!-- IE -->'));
+ DOM.setHTML(n, h.join(''));
+ },
+
+ _addStatusBar : function(tb, o) {
+ var n, t = this, ed = t.editor, s = t.settings, r, mf, me, td;
+
+ n = DOM.add(tb, 'tr');
+ n = td = DOM.add(n, 'td', {'class' : 'mceStatusbar'});
+ n = DOM.add(n, 'div', {id : ed.id + '_path_row', 'role': 'group', 'aria-labelledby': ed.id + '_path_voice'});
+ if (s.theme_advanced_path) {
+ DOM.add(n, 'span', {id: ed.id + '_path_voice'}, ed.translate('advanced.path'));
+ DOM.add(n, 'span', {}, ': ');
+ } else {
+ DOM.add(n, 'span', {}, '&#160;');
+ }
+
+
+ if (s.theme_advanced_resizing) {
+ DOM.add(td, 'a', {id : ed.id + '_resize', href : 'javascript:;', onclick : "return false;", 'class' : 'mceResize', tabIndex:"-1"});
+
+ if (s.theme_advanced_resizing_use_cookie) {
+ ed.onPostRender.add(function() {
+ var o = Cookie.getHash("TinyMCE_" + ed.id + "_size"), c = DOM.get(ed.id + '_tbl');
+
+ if (!o)
+ return;
+
+ t.resizeTo(o.cw, o.ch);
+ });
+ }
+
+ ed.onPostRender.add(function() {
+ Event.add(ed.id + '_resize', 'click', function(e) {
+ e.preventDefault();
+ });
+
+ Event.add(ed.id + '_resize', 'mousedown', function(e) {
+ var mouseMoveHandler1, mouseMoveHandler2,
+ mouseUpHandler1, mouseUpHandler2,
+ startX, startY, startWidth, startHeight, width, height, ifrElm;
+
+ function resizeOnMove(e) {
+ e.preventDefault();
+
+ width = startWidth + (e.screenX - startX);
+ height = startHeight + (e.screenY - startY);
+
+ t.resizeTo(width, height);
+ };
+
+ function endResize(e) {
+ // Stop listening
+ Event.remove(DOM.doc, 'mousemove', mouseMoveHandler1);
+ Event.remove(ed.getDoc(), 'mousemove', mouseMoveHandler2);
+ Event.remove(DOM.doc, 'mouseup', mouseUpHandler1);
+ Event.remove(ed.getDoc(), 'mouseup', mouseUpHandler2);
+
+ width = startWidth + (e.screenX - startX);
+ height = startHeight + (e.screenY - startY);
+ t.resizeTo(width, height, true);
+
+ ed.nodeChanged();
+ };
+
+ e.preventDefault();
+
+ // Get the current rect size
+ startX = e.screenX;
+ startY = e.screenY;
+ ifrElm = DOM.get(t.editor.id + '_ifr');
+ startWidth = width = ifrElm.clientWidth;
+ startHeight = height = ifrElm.clientHeight;
+
+ // Register envent handlers
+ mouseMoveHandler1 = Event.add(DOM.doc, 'mousemove', resizeOnMove);
+ mouseMoveHandler2 = Event.add(ed.getDoc(), 'mousemove', resizeOnMove);
+ mouseUpHandler1 = Event.add(DOM.doc, 'mouseup', endResize);
+ mouseUpHandler2 = Event.add(ed.getDoc(), 'mouseup', endResize);
+ });
+ });
+ }
+
+ o.deltaHeight -= 21;
+ n = tb = null;
+ },
+
+ _updateUndoStatus : function(ed) {
+ var cm = ed.controlManager, um = ed.undoManager;
+
+ cm.setDisabled('undo', !um.hasUndo() && !um.typing);
+ cm.setDisabled('redo', !um.hasRedo());
+ },
+
+ _nodeChanged : function(ed, cm, n, co, ob) {
+ var t = this, p, de = 0, v, c, s = t.settings, cl, fz, fn, fc, bc, formatNames, matches;
+
+ tinymce.each(t.stateControls, function(c) {
+ cm.setActive(c, ed.queryCommandState(t.controls[c][1]));
+ });
+
+ function getParent(name) {
+ var i, parents = ob.parents, func = name;
+
+ if (typeof(name) == 'string') {
+ func = function(node) {
+ return node.nodeName == name;
+ };
+ }
+
+ for (i = 0; i < parents.length; i++) {
+ if (func(parents[i]))
+ return parents[i];
+ }
+ };
+
+ cm.setActive('visualaid', ed.hasVisual);
+ t._updateUndoStatus(ed);
+ cm.setDisabled('outdent', !ed.queryCommandState('Outdent'));
+
+ p = getParent('A');
+ if (c = cm.get('link')) {
+ c.setDisabled((!p && co) || (p && !p.href));
+ c.setActive(!!p && (!p.name && !p.id));
+ }
+
+ if (c = cm.get('unlink')) {
+ c.setDisabled(!p && co);
+ c.setActive(!!p && !p.name && !p.id);
+ }
+
+ if (c = cm.get('anchor')) {
+ c.setActive(!co && !!p && (p.name || (p.id && !p.href)));
+ }
+
+ p = getParent('IMG');
+ if (c = cm.get('image'))
+ c.setActive(!co && !!p && n.className.indexOf('mceItem') == -1);
+
+ if (c = cm.get('styleselect')) {
+ t._importClasses();
+
+ formatNames = [];
+ each(c.items, function(item) {
+ formatNames.push(item.value);
+ });
+
+ matches = ed.formatter.matchAll(formatNames);
+ c.select(matches[0]);
+ tinymce.each(matches, function(match, index) {
+ if (index > 0) {
+ c.mark(match);
+ }
+ });
+ }
+
+ if (c = cm.get('formatselect')) {
+ p = getParent(ed.dom.isBlock);
+
+ if (p)
+ c.select(p.nodeName.toLowerCase());
+ }
+
+ // Find out current fontSize, fontFamily and fontClass
+ getParent(function(n) {
+ if (n.nodeName === 'SPAN') {
+ if (!cl && n.className)
+ cl = n.className;
+ }
+
+ if (ed.dom.is(n, s.theme_advanced_font_selector)) {
+ if (!fz && n.style.fontSize)
+ fz = n.style.fontSize;
+
+ if (!fn && n.style.fontFamily)
+ fn = n.style.fontFamily.replace(/[\"\']+/g, '').replace(/^([^,]+).*/, '$1').toLowerCase();
+
+ if (!fc && n.style.color)
+ fc = n.style.color;
+
+ if (!bc && n.style.backgroundColor)
+ bc = n.style.backgroundColor;
+ }
+
+ return false;
+ });
+
+ if (c = cm.get('fontselect')) {
+ c.select(function(v) {
+ return v.replace(/^([^,]+).*/, '$1').toLowerCase() == fn;
+ });
+ }
+
+ // Select font size
+ if (c = cm.get('fontsizeselect')) {
+ // Use computed style
+ if (s.theme_advanced_runtime_fontsize && !fz && !cl)
+ fz = ed.dom.getStyle(n, 'fontSize', true);
+
+ c.select(function(v) {
+ if (v.fontSize && v.fontSize === fz)
+ return true;
+
+ if (v['class'] && v['class'] === cl)
+ return true;
+ });
+ }
+
+ if (s.theme_advanced_show_current_color) {
+ function updateColor(controlId, color) {
+ if (c = cm.get(controlId)) {
+ if (!color)
+ color = c.settings.default_color;
+ if (color !== c.value) {
+ c.displayColor(color);
+ }
+ }
+ }
+ updateColor('forecolor', fc);
+ updateColor('backcolor', bc);
+ }
+
+ if (s.theme_advanced_show_current_color) {
+ function updateColor(controlId, color) {
+ if (c = cm.get(controlId)) {
+ if (!color)
+ color = c.settings.default_color;
+ if (color !== c.value) {
+ c.displayColor(color);
+ }
+ }
+ };
+
+ updateColor('forecolor', fc);
+ updateColor('backcolor', bc);
+ }
+
+ if (s.theme_advanced_path && s.theme_advanced_statusbar_location) {
+ p = DOM.get(ed.id + '_path') || DOM.add(ed.id + '_path_row', 'span', {id : ed.id + '_path'});
+
+ if (t.statusKeyboardNavigation) {
+ t.statusKeyboardNavigation.destroy();
+ t.statusKeyboardNavigation = null;
+ }
+
+ DOM.setHTML(p, '');
+
+ getParent(function(n) {
+ var na = n.nodeName.toLowerCase(), u, pi, ti = '';
+
+ // Ignore non element and bogus/hidden elements
+ if (n.nodeType != 1 || na === 'br' || n.getAttribute('data-mce-bogus') || DOM.hasClass(n, 'mceItemHidden') || DOM.hasClass(n, 'mceItemRemoved'))
+ return;
+
+ // Handle prefix
+ if (tinymce.isIE && n.scopeName !== 'HTML' && n.scopeName)
+ na = n.scopeName + ':' + na;
+
+ // Remove internal prefix
+ na = na.replace(/mce\:/g, '');
+
+ // Handle node name
+ switch (na) {
+ case 'b':
+ na = 'strong';
+ break;
+
+ case 'i':
+ na = 'em';
+ break;
+
+ case 'img':
+ if (v = DOM.getAttrib(n, 'src'))
+ ti += 'src: ' + v + ' ';
+
+ break;
+
+ case 'a':
+ if (v = DOM.getAttrib(n, 'name')) {
+ ti += 'name: ' + v + ' ';
+ na += '#' + v;
+ }
+
+ if (v = DOM.getAttrib(n, 'href'))
+ ti += 'href: ' + v + ' ';
+
+ break;
+
+ case 'font':
+ if (v = DOM.getAttrib(n, 'face'))
+ ti += 'font: ' + v + ' ';
+
+ if (v = DOM.getAttrib(n, 'size'))
+ ti += 'size: ' + v + ' ';
+
+ if (v = DOM.getAttrib(n, 'color'))
+ ti += 'color: ' + v + ' ';
+
+ break;
+
+ case 'span':
+ if (v = DOM.getAttrib(n, 'style'))
+ ti += 'style: ' + v + ' ';
+
+ break;
+ }
+
+ if (v = DOM.getAttrib(n, 'id'))
+ ti += 'id: ' + v + ' ';
+
+ if (v = n.className) {
+ v = v.replace(/\b\s*(webkit|mce|Apple-)\w+\s*\b/g, '');
+
+ if (v) {
+ ti += 'class: ' + v + ' ';
+
+ if (ed.dom.isBlock(n) || na == 'img' || na == 'span')
+ na += '.' + v;
+ }
+ }
+
+ na = na.replace(/(html:)/g, '');
+ na = {name : na, node : n, title : ti};
+ t.onResolveName.dispatch(t, na);
+ ti = na.title;
+ na = na.name;
+
+ //u = "javascript:tinymce.EditorManager.get('" + ed.id + "').theme._sel('" + (de++) + "');";
+ pi = DOM.create('a', {'href' : "javascript:;", role: 'button', onmousedown : "return false;", title : ti, 'class' : 'mcePath_' + (de++)}, na);
+
+ if (p.hasChildNodes()) {
+ p.insertBefore(DOM.create('span', {'aria-hidden': 'true'}, '\u00a0\u00bb '), p.firstChild);
+ p.insertBefore(pi, p.firstChild);
+ } else
+ p.appendChild(pi);
+ }, ed.getBody());
+
+ if (DOM.select('a', p).length > 0) {
+ t.statusKeyboardNavigation = new tinymce.ui.KeyboardNavigation({
+ root: ed.id + "_path_row",
+ items: DOM.select('a', p),
+ excludeFromTabOrder: true,
+ onCancel: function() {
+ ed.focus();
+ }
+ }, DOM);
+ }
+ }
+ },
+
+ // Commands gets called by execCommand
+
+ _sel : function(v) {
+ this.editor.execCommand('mceSelectNodeDepth', false, v);
+ },
+
+ _mceInsertAnchor : function(ui, v) {
+ var ed = this.editor;
+
+ ed.windowManager.open({
+ url : this.url + '/anchor.htm',
+ width : 320 + parseInt(ed.getLang('advanced.anchor_delta_width', 0)),
+ height : 90 + parseInt(ed.getLang('advanced.anchor_delta_height', 0)),
+ inline : true
+ }, {
+ theme_url : this.url
+ });
+ },
+
+ _mceCharMap : function() {
+ var ed = this.editor;
+
+ ed.windowManager.open({
+ url : this.url + '/charmap.htm',
+ width : 550 + parseInt(ed.getLang('advanced.charmap_delta_width', 0)),
+ height : 265 + parseInt(ed.getLang('advanced.charmap_delta_height', 0)),
+ inline : true
+ }, {
+ theme_url : this.url
+ });
+ },
+
+ _mceHelp : function() {
+ var ed = this.editor;
+
+ ed.windowManager.open({
+ url : this.url + '/about.htm',
+ width : 480,
+ height : 380,
+ inline : true
+ }, {
+ theme_url : this.url
+ });
+ },
+
+ _mceShortcuts : function() {
+ var ed = this.editor;
+ ed.windowManager.open({
+ url: this.url + '/shortcuts.htm',
+ width: 480,
+ height: 380,
+ inline: true
+ }, {
+ theme_url: this.url
+ });
+ },
+
+ _mceColorPicker : function(u, v) {
+ var ed = this.editor;
+
+ v = v || {};
+
+ ed.windowManager.open({
+ url : this.url + '/color_picker.htm',
+ width : 375 + parseInt(ed.getLang('advanced.colorpicker_delta_width', 0)),
+ height : 250 + parseInt(ed.getLang('advanced.colorpicker_delta_height', 0)),
+ close_previous : false,
+ inline : true
+ }, {
+ input_color : v.color,
+ func : v.func,
+ theme_url : this.url
+ });
+ },
+
+ _mceCodeEditor : function(ui, val) {
+ var ed = this.editor;
+
+ ed.windowManager.open({
+ url : this.url + '/source_editor.htm',
+ width : parseInt(ed.getParam("theme_advanced_source_editor_width", 720)),
+ height : parseInt(ed.getParam("theme_advanced_source_editor_height", 580)),
+ inline : true,
+ resizable : true,
+ maximizable : true
+ }, {
+ theme_url : this.url
+ });
+ },
+
+ _mceImage : function(ui, val) {
+ var ed = this.editor;
+
+ // Internal image object like a flash placeholder
+ if (ed.dom.getAttrib(ed.selection.getNode(), 'class', '').indexOf('mceItem') != -1)
+ return;
+
+ ed.windowManager.open({
+ url : this.url + '/image.htm',
+ width : 355 + parseInt(ed.getLang('advanced.image_delta_width', 0)),
+ height : 275 + parseInt(ed.getLang('advanced.image_delta_height', 0)),
+ inline : true
+ }, {
+ theme_url : this.url
+ });
+ },
+
+ _mceLink : function(ui, val) {
+ var ed = this.editor;
+
+ ed.windowManager.open({
+ url : this.url + '/link.htm',
+ width : 310 + parseInt(ed.getLang('advanced.link_delta_width', 0)),
+ height : 200 + parseInt(ed.getLang('advanced.link_delta_height', 0)),
+ inline : true
+ }, {
+ theme_url : this.url
+ });
+ },
+
+ _mceNewDocument : function() {
+ var ed = this.editor;
+
+ ed.windowManager.confirm('advanced.newdocument', function(s) {
+ if (s)
+ ed.execCommand('mceSetContent', false, '');
+ });
+ },
+
+ _mceForeColor : function() {
+ var t = this;
+
+ this._mceColorPicker(0, {
+ color: t.fgColor,
+ func : function(co) {
+ t.fgColor = co;
+ t.editor.execCommand('ForeColor', false, co);
+ }
+ });
+ },
+
+ _mceBackColor : function() {
+ var t = this;
+
+ this._mceColorPicker(0, {
+ color: t.bgColor,
+ func : function(co) {
+ t.bgColor = co;
+ t.editor.execCommand('HiliteColor', false, co);
+ }
+ });
+ },
+
+ _ufirst : function(s) {
+ return s.substring(0, 1).toUpperCase() + s.substring(1);
+ }
+ });
+
+ tinymce.ThemeManager.add('advanced', tinymce.themes.AdvancedTheme);
+}(tinymce));
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/image.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/image.htm
new file mode 100755
index 00000000..b8ba729f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/image.htm
@@ -0,0 +1,80 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#advanced_dlg.image_title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="js/image.js"></script>
+</head>
+<body id="image" style="display: none">
+<form onsubmit="ImageDialog.update();return false;" action="#">
+ <div class="tabs">
+ <ul>
+ <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advanced_dlg.image_title}</a></span></li>
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="general_panel" class="panel current">
+ <table border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td class="nowrap"><label for="src">{#advanced_dlg.image_src}</label></td>
+ <td><table border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input id="src" name="src" type="text" class="mceFocus" value="" style="width: 200px" onchange="ImageDialog.getImageData();" /></td>
+ <td id="srcbrowsercontainer">&nbsp;</td>
+ </tr>
+ </table></td>
+ </tr>
+ <tr>
+ <td><label for="image_list">{#advanced_dlg.image_list}</label></td>
+ <td><select id="image_list" name="image_list" onchange="document.getElementById('src').value=this.options[this.selectedIndex].value;document.getElementById('alt').value=this.options[this.selectedIndex].text;"></select></td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="alt">{#advanced_dlg.image_alt}</label></td>
+ <td><input id="alt" name="alt" type="text" value="" style="width: 200px" /></td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="align">{#advanced_dlg.image_align}</label></td>
+ <td><select id="align" name="align" onchange="ImageDialog.updateStyle();">
+ <option value="">{#not_set}</option>
+ <option value="baseline">{#advanced_dlg.image_align_baseline}</option>
+ <option value="top">{#advanced_dlg.image_align_top}</option>
+ <option value="middle">{#advanced_dlg.image_align_middle}</option>
+ <option value="bottom">{#advanced_dlg.image_align_bottom}</option>
+ <option value="text-top">{#advanced_dlg.image_align_texttop}</option>
+ <option value="text-bottom">{#advanced_dlg.image_align_textbottom}</option>
+ <option value="left">{#advanced_dlg.image_align_left}</option>
+ <option value="right">{#advanced_dlg.image_align_right}</option>
+ </select></td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="width">{#advanced_dlg.image_dimensions}</label></td>
+ <td><input id="width" name="width" type="text" value="" size="3" maxlength="5" />
+ x
+ <input id="height" name="height" type="text" value="" size="3" maxlength="5" /></td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="border">{#advanced_dlg.image_border}</label></td>
+ <td><input id="border" name="border" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" /></td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="vspace">{#advanced_dlg.image_vspace}</label></td>
+ <td><input id="vspace" name="vspace" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" /></td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="hspace">{#advanced_dlg.image_hspace}</label></td>
+ <td><input id="hspace" name="hspace" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" /></td>
+ </tr>
+ </table>
+ </div>
+ </div>
+
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#insert}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+</form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/colorpicker.jpg b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/colorpicker.jpg
new file mode 100644
index 00000000..b1a377ab
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/colorpicker.jpg
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/flash.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/flash.gif
new file mode 100644
index 00000000..dec3f7c7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/flash.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/icons.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/icons.gif
new file mode 100644
index 00000000..ca222490
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/icons.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/iframe.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/iframe.gif
new file mode 100644
index 00000000..410c7ad0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/iframe.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/pagebreak.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/pagebreak.gif
new file mode 100644
index 00000000..acdf4085
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/pagebreak.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/quicktime.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/quicktime.gif
new file mode 100644
index 00000000..8f10e7aa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/quicktime.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/realmedia.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/realmedia.gif
new file mode 100644
index 00000000..fdfe0b9a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/realmedia.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/shockwave.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/shockwave.gif
new file mode 100644
index 00000000..9314d044
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/shockwave.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/trans.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/trans.gif
new file mode 100644
index 00000000..38848651
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/trans.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/video.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/video.gif
new file mode 100644
index 00000000..35701040
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/video.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/windowsmedia.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/windowsmedia.gif
new file mode 100644
index 00000000..ab50f2d8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/windowsmedia.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/about.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/about.js
new file mode 100644
index 00000000..5b358457
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/about.js
@@ -0,0 +1,73 @@
+tinyMCEPopup.requireLangPack();
+
+function init() {
+ var ed, tcont;
+
+ tinyMCEPopup.resizeToInnerSize();
+ ed = tinyMCEPopup.editor;
+
+ // Give FF some time
+ window.setTimeout(insertHelpIFrame, 10);
+
+ tcont = document.getElementById('plugintablecontainer');
+ document.getElementById('plugins_tab').style.display = 'none';
+
+ var html = "";
+ html += '<table id="plugintable">';
+ html += '<thead>';
+ html += '<tr>';
+ html += '<td>' + ed.getLang('advanced_dlg.about_plugin') + '</td>';
+ html += '<td>' + ed.getLang('advanced_dlg.about_author') + '</td>';
+ html += '<td>' + ed.getLang('advanced_dlg.about_version') + '</td>';
+ html += '</tr>';
+ html += '</thead>';
+ html += '<tbody>';
+
+ tinymce.each(ed.plugins, function(p, n) {
+ var info;
+
+ if (!p.getInfo)
+ return;
+
+ html += '<tr>';
+
+ info = p.getInfo();
+
+ if (info.infourl != null && info.infourl != '')
+ html += '<td width="50%" title="' + n + '"><a href="' + info.infourl + '" target="_blank">' + info.longname + '</a></td>';
+ else
+ html += '<td width="50%" title="' + n + '">' + info.longname + '</td>';
+
+ if (info.authorurl != null && info.authorurl != '')
+ html += '<td width="35%"><a href="' + info.authorurl + '" target="_blank">' + info.author + '</a></td>';
+ else
+ html += '<td width="35%">' + info.author + '</td>';
+
+ html += '<td width="15%">' + info.version + '</td>';
+ html += '</tr>';
+
+ document.getElementById('plugins_tab').style.display = '';
+
+ });
+
+ html += '</tbody>';
+ html += '</table>';
+
+ tcont.innerHTML = html;
+
+ tinyMCEPopup.dom.get('version').innerHTML = tinymce.majorVersion + "." + tinymce.minorVersion;
+ tinyMCEPopup.dom.get('date').innerHTML = tinymce.releaseDate;
+}
+
+function insertHelpIFrame() {
+ var html;
+
+ if (tinyMCEPopup.getParam('docs_url')) {
+ html = '<iframe width="100%" height="300" src="' + tinyMCEPopup.editor.baseURI.toAbsolute(tinyMCEPopup.getParam('docs_url')) + '"></iframe>';
+ document.getElementById('iframecontainer').innerHTML = html;
+ document.getElementById('help_tab').style.display = 'block';
+ document.getElementById('help_tab').setAttribute("aria-hidden", "false");
+ }
+}
+
+tinyMCEPopup.onInit.add(init);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/anchor.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/anchor.js
new file mode 100644
index 00000000..2909a3a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/anchor.js
@@ -0,0 +1,56 @@
+tinyMCEPopup.requireLangPack();
+
+var AnchorDialog = {
+ init : function(ed) {
+ var action, elm, f = document.forms[0];
+
+ this.editor = ed;
+ elm = ed.dom.getParent(ed.selection.getNode(), 'A');
+ v = ed.dom.getAttrib(elm, 'name') || ed.dom.getAttrib(elm, 'id');
+
+ if (v) {
+ this.action = 'update';
+ f.anchorName.value = v;
+ }
+
+ f.insert.value = ed.getLang(elm ? 'update' : 'insert');
+ },
+
+ update : function() {
+ var ed = this.editor, elm, name = document.forms[0].anchorName.value, attribName;
+
+ if (!name || !/^[a-z][a-z0-9\-\_:\.]*$/i.test(name)) {
+ tinyMCEPopup.alert('advanced_dlg.anchor_invalid');
+ return;
+ }
+
+ tinyMCEPopup.restoreSelection();
+
+ if (this.action != 'update')
+ ed.selection.collapse(1);
+
+ var aRule = ed.schema.getElementRule('a');
+ if (!aRule || aRule.attributes.name) {
+ attribName = 'name';
+ } else {
+ attribName = 'id';
+ }
+
+ elm = ed.dom.getParent(ed.selection.getNode(), 'A');
+ if (elm) {
+ elm.setAttribute(attribName, name);
+ elm[attribName] = name;
+ ed.undoManager.add();
+ } else {
+ // create with zero-sized nbsp so that in Webkit where anchor is on last line by itself caret cannot be placed after it
+ var attrs = {'class' : 'mceItemAnchor'};
+ attrs[attribName] = name;
+ ed.execCommand('mceInsertContent', 0, ed.dom.createHTML('a', attrs, '\uFEFF'));
+ ed.nodeChanged();
+ }
+
+ tinyMCEPopup.close();
+ }
+};
+
+tinyMCEPopup.onInit.add(AnchorDialog.init, AnchorDialog);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/charmap.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/charmap.js
new file mode 100644
index 00000000..bb186955
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/charmap.js
@@ -0,0 +1,363 @@
+/**
+ * charmap.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+tinyMCEPopup.requireLangPack();
+
+var charmap = [
+ ['&nbsp;', '&#160;', true, 'no-break space'],
+ ['&amp;', '&#38;', true, 'ampersand'],
+ ['&quot;', '&#34;', true, 'quotation mark'],
+// finance
+ ['&cent;', '&#162;', true, 'cent sign'],
+ ['&euro;', '&#8364;', true, 'euro sign'],
+ ['&pound;', '&#163;', true, 'pound sign'],
+ ['&yen;', '&#165;', true, 'yen sign'],
+// signs
+ ['&copy;', '&#169;', true, 'copyright sign'],
+ ['&reg;', '&#174;', true, 'registered sign'],
+ ['&trade;', '&#8482;', true, 'trade mark sign'],
+ ['&permil;', '&#8240;', true, 'per mille sign'],
+ ['&micro;', '&#181;', true, 'micro sign'],
+ ['&middot;', '&#183;', true, 'middle dot'],
+ ['&bull;', '&#8226;', true, 'bullet'],
+ ['&hellip;', '&#8230;', true, 'three dot leader'],
+ ['&prime;', '&#8242;', true, 'minutes / feet'],
+ ['&Prime;', '&#8243;', true, 'seconds / inches'],
+ ['&sect;', '&#167;', true, 'section sign'],
+ ['&para;', '&#182;', true, 'paragraph sign'],
+ ['&szlig;', '&#223;', true, 'sharp s / ess-zed'],
+// quotations
+ ['&lsaquo;', '&#8249;', true, 'single left-pointing angle quotation mark'],
+ ['&rsaquo;', '&#8250;', true, 'single right-pointing angle quotation mark'],
+ ['&laquo;', '&#171;', true, 'left pointing guillemet'],
+ ['&raquo;', '&#187;', true, 'right pointing guillemet'],
+ ['&lsquo;', '&#8216;', true, 'left single quotation mark'],
+ ['&rsquo;', '&#8217;', true, 'right single quotation mark'],
+ ['&ldquo;', '&#8220;', true, 'left double quotation mark'],
+ ['&rdquo;', '&#8221;', true, 'right double quotation mark'],
+ ['&sbquo;', '&#8218;', true, 'single low-9 quotation mark'],
+ ['&bdquo;', '&#8222;', true, 'double low-9 quotation mark'],
+ ['&lt;', '&#60;', true, 'less-than sign'],
+ ['&gt;', '&#62;', true, 'greater-than sign'],
+ ['&le;', '&#8804;', true, 'less-than or equal to'],
+ ['&ge;', '&#8805;', true, 'greater-than or equal to'],
+ ['&ndash;', '&#8211;', true, 'en dash'],
+ ['&mdash;', '&#8212;', true, 'em dash'],
+ ['&macr;', '&#175;', true, 'macron'],
+ ['&oline;', '&#8254;', true, 'overline'],
+ ['&curren;', '&#164;', true, 'currency sign'],
+ ['&brvbar;', '&#166;', true, 'broken bar'],
+ ['&uml;', '&#168;', true, 'diaeresis'],
+ ['&iexcl;', '&#161;', true, 'inverted exclamation mark'],
+ ['&iquest;', '&#191;', true, 'turned question mark'],
+ ['&circ;', '&#710;', true, 'circumflex accent'],
+ ['&tilde;', '&#732;', true, 'small tilde'],
+ ['&deg;', '&#176;', true, 'degree sign'],
+ ['&minus;', '&#8722;', true, 'minus sign'],
+ ['&plusmn;', '&#177;', true, 'plus-minus sign'],
+ ['&divide;', '&#247;', true, 'division sign'],
+ ['&frasl;', '&#8260;', true, 'fraction slash'],
+ ['&times;', '&#215;', true, 'multiplication sign'],
+ ['&sup1;', '&#185;', true, 'superscript one'],
+ ['&sup2;', '&#178;', true, 'superscript two'],
+ ['&sup3;', '&#179;', true, 'superscript three'],
+ ['&frac14;', '&#188;', true, 'fraction one quarter'],
+ ['&frac12;', '&#189;', true, 'fraction one half'],
+ ['&frac34;', '&#190;', true, 'fraction three quarters'],
+// math / logical
+ ['&fnof;', '&#402;', true, 'function / florin'],
+ ['&int;', '&#8747;', true, 'integral'],
+ ['&sum;', '&#8721;', true, 'n-ary sumation'],
+ ['&infin;', '&#8734;', true, 'infinity'],
+ ['&radic;', '&#8730;', true, 'square root'],
+ ['&sim;', '&#8764;', false,'similar to'],
+ ['&cong;', '&#8773;', false,'approximately equal to'],
+ ['&asymp;', '&#8776;', true, 'almost equal to'],
+ ['&ne;', '&#8800;', true, 'not equal to'],
+ ['&equiv;', '&#8801;', true, 'identical to'],
+ ['&isin;', '&#8712;', false,'element of'],
+ ['&notin;', '&#8713;', false,'not an element of'],
+ ['&ni;', '&#8715;', false,'contains as member'],
+ ['&prod;', '&#8719;', true, 'n-ary product'],
+ ['&and;', '&#8743;', false,'logical and'],
+ ['&or;', '&#8744;', false,'logical or'],
+ ['&not;', '&#172;', true, 'not sign'],
+ ['&cap;', '&#8745;', true, 'intersection'],
+ ['&cup;', '&#8746;', false,'union'],
+ ['&part;', '&#8706;', true, 'partial differential'],
+ ['&forall;', '&#8704;', false,'for all'],
+ ['&exist;', '&#8707;', false,'there exists'],
+ ['&empty;', '&#8709;', false,'diameter'],
+ ['&nabla;', '&#8711;', false,'backward difference'],
+ ['&lowast;', '&#8727;', false,'asterisk operator'],
+ ['&prop;', '&#8733;', false,'proportional to'],
+ ['&ang;', '&#8736;', false,'angle'],
+// undefined
+ ['&acute;', '&#180;', true, 'acute accent'],
+ ['&cedil;', '&#184;', true, 'cedilla'],
+ ['&ordf;', '&#170;', true, 'feminine ordinal indicator'],
+ ['&ordm;', '&#186;', true, 'masculine ordinal indicator'],
+ ['&dagger;', '&#8224;', true, 'dagger'],
+ ['&Dagger;', '&#8225;', true, 'double dagger'],
+// alphabetical special chars
+ ['&Agrave;', '&#192;', true, 'A - grave'],
+ ['&Aacute;', '&#193;', true, 'A - acute'],
+ ['&Acirc;', '&#194;', true, 'A - circumflex'],
+ ['&Atilde;', '&#195;', true, 'A - tilde'],
+ ['&Auml;', '&#196;', true, 'A - diaeresis'],
+ ['&Aring;', '&#197;', true, 'A - ring above'],
+ ['&AElig;', '&#198;', true, 'ligature AE'],
+ ['&Ccedil;', '&#199;', true, 'C - cedilla'],
+ ['&Egrave;', '&#200;', true, 'E - grave'],
+ ['&Eacute;', '&#201;', true, 'E - acute'],
+ ['&Ecirc;', '&#202;', true, 'E - circumflex'],
+ ['&Euml;', '&#203;', true, 'E - diaeresis'],
+ ['&Igrave;', '&#204;', true, 'I - grave'],
+ ['&Iacute;', '&#205;', true, 'I - acute'],
+ ['&Icirc;', '&#206;', true, 'I - circumflex'],
+ ['&Iuml;', '&#207;', true, 'I - diaeresis'],
+ ['&ETH;', '&#208;', true, 'ETH'],
+ ['&Ntilde;', '&#209;', true, 'N - tilde'],
+ ['&Ograve;', '&#210;', true, 'O - grave'],
+ ['&Oacute;', '&#211;', true, 'O - acute'],
+ ['&Ocirc;', '&#212;', true, 'O - circumflex'],
+ ['&Otilde;', '&#213;', true, 'O - tilde'],
+ ['&Ouml;', '&#214;', true, 'O - diaeresis'],
+ ['&Oslash;', '&#216;', true, 'O - slash'],
+ ['&OElig;', '&#338;', true, 'ligature OE'],
+ ['&Scaron;', '&#352;', true, 'S - caron'],
+ ['&Ugrave;', '&#217;', true, 'U - grave'],
+ ['&Uacute;', '&#218;', true, 'U - acute'],
+ ['&Ucirc;', '&#219;', true, 'U - circumflex'],
+ ['&Uuml;', '&#220;', true, 'U - diaeresis'],
+ ['&Yacute;', '&#221;', true, 'Y - acute'],
+ ['&Yuml;', '&#376;', true, 'Y - diaeresis'],
+ ['&THORN;', '&#222;', true, 'THORN'],
+ ['&agrave;', '&#224;', true, 'a - grave'],
+ ['&aacute;', '&#225;', true, 'a - acute'],
+ ['&acirc;', '&#226;', true, 'a - circumflex'],
+ ['&atilde;', '&#227;', true, 'a - tilde'],
+ ['&auml;', '&#228;', true, 'a - diaeresis'],
+ ['&aring;', '&#229;', true, 'a - ring above'],
+ ['&aelig;', '&#230;', true, 'ligature ae'],
+ ['&ccedil;', '&#231;', true, 'c - cedilla'],
+ ['&egrave;', '&#232;', true, 'e - grave'],
+ ['&eacute;', '&#233;', true, 'e - acute'],
+ ['&ecirc;', '&#234;', true, 'e - circumflex'],
+ ['&euml;', '&#235;', true, 'e - diaeresis'],
+ ['&igrave;', '&#236;', true, 'i - grave'],
+ ['&iacute;', '&#237;', true, 'i - acute'],
+ ['&icirc;', '&#238;', true, 'i - circumflex'],
+ ['&iuml;', '&#239;', true, 'i - diaeresis'],
+ ['&eth;', '&#240;', true, 'eth'],
+ ['&ntilde;', '&#241;', true, 'n - tilde'],
+ ['&ograve;', '&#242;', true, 'o - grave'],
+ ['&oacute;', '&#243;', true, 'o - acute'],
+ ['&ocirc;', '&#244;', true, 'o - circumflex'],
+ ['&otilde;', '&#245;', true, 'o - tilde'],
+ ['&ouml;', '&#246;', true, 'o - diaeresis'],
+ ['&oslash;', '&#248;', true, 'o slash'],
+ ['&oelig;', '&#339;', true, 'ligature oe'],
+ ['&scaron;', '&#353;', true, 's - caron'],
+ ['&ugrave;', '&#249;', true, 'u - grave'],
+ ['&uacute;', '&#250;', true, 'u - acute'],
+ ['&ucirc;', '&#251;', true, 'u - circumflex'],
+ ['&uuml;', '&#252;', true, 'u - diaeresis'],
+ ['&yacute;', '&#253;', true, 'y - acute'],
+ ['&thorn;', '&#254;', true, 'thorn'],
+ ['&yuml;', '&#255;', true, 'y - diaeresis'],
+ ['&Alpha;', '&#913;', true, 'Alpha'],
+ ['&Beta;', '&#914;', true, 'Beta'],
+ ['&Gamma;', '&#915;', true, 'Gamma'],
+ ['&Delta;', '&#916;', true, 'Delta'],
+ ['&Epsilon;', '&#917;', true, 'Epsilon'],
+ ['&Zeta;', '&#918;', true, 'Zeta'],
+ ['&Eta;', '&#919;', true, 'Eta'],
+ ['&Theta;', '&#920;', true, 'Theta'],
+ ['&Iota;', '&#921;', true, 'Iota'],
+ ['&Kappa;', '&#922;', true, 'Kappa'],
+ ['&Lambda;', '&#923;', true, 'Lambda'],
+ ['&Mu;', '&#924;', true, 'Mu'],
+ ['&Nu;', '&#925;', true, 'Nu'],
+ ['&Xi;', '&#926;', true, 'Xi'],
+ ['&Omicron;', '&#927;', true, 'Omicron'],
+ ['&Pi;', '&#928;', true, 'Pi'],
+ ['&Rho;', '&#929;', true, 'Rho'],
+ ['&Sigma;', '&#931;', true, 'Sigma'],
+ ['&Tau;', '&#932;', true, 'Tau'],
+ ['&Upsilon;', '&#933;', true, 'Upsilon'],
+ ['&Phi;', '&#934;', true, 'Phi'],
+ ['&Chi;', '&#935;', true, 'Chi'],
+ ['&Psi;', '&#936;', true, 'Psi'],
+ ['&Omega;', '&#937;', true, 'Omega'],
+ ['&alpha;', '&#945;', true, 'alpha'],
+ ['&beta;', '&#946;', true, 'beta'],
+ ['&gamma;', '&#947;', true, 'gamma'],
+ ['&delta;', '&#948;', true, 'delta'],
+ ['&epsilon;', '&#949;', true, 'epsilon'],
+ ['&zeta;', '&#950;', true, 'zeta'],
+ ['&eta;', '&#951;', true, 'eta'],
+ ['&theta;', '&#952;', true, 'theta'],
+ ['&iota;', '&#953;', true, 'iota'],
+ ['&kappa;', '&#954;', true, 'kappa'],
+ ['&lambda;', '&#955;', true, 'lambda'],
+ ['&mu;', '&#956;', true, 'mu'],
+ ['&nu;', '&#957;', true, 'nu'],
+ ['&xi;', '&#958;', true, 'xi'],
+ ['&omicron;', '&#959;', true, 'omicron'],
+ ['&pi;', '&#960;', true, 'pi'],
+ ['&rho;', '&#961;', true, 'rho'],
+ ['&sigmaf;', '&#962;', true, 'final sigma'],
+ ['&sigma;', '&#963;', true, 'sigma'],
+ ['&tau;', '&#964;', true, 'tau'],
+ ['&upsilon;', '&#965;', true, 'upsilon'],
+ ['&phi;', '&#966;', true, 'phi'],
+ ['&chi;', '&#967;', true, 'chi'],
+ ['&psi;', '&#968;', true, 'psi'],
+ ['&omega;', '&#969;', true, 'omega'],
+// symbols
+ ['&alefsym;', '&#8501;', false,'alef symbol'],
+ ['&piv;', '&#982;', false,'pi symbol'],
+ ['&real;', '&#8476;', false,'real part symbol'],
+ ['&thetasym;','&#977;', false,'theta symbol'],
+ ['&upsih;', '&#978;', false,'upsilon - hook symbol'],
+ ['&weierp;', '&#8472;', false,'Weierstrass p'],
+ ['&image;', '&#8465;', false,'imaginary part'],
+// arrows
+ ['&larr;', '&#8592;', true, 'leftwards arrow'],
+ ['&uarr;', '&#8593;', true, 'upwards arrow'],
+ ['&rarr;', '&#8594;', true, 'rightwards arrow'],
+ ['&darr;', '&#8595;', true, 'downwards arrow'],
+ ['&harr;', '&#8596;', true, 'left right arrow'],
+ ['&crarr;', '&#8629;', false,'carriage return'],
+ ['&lArr;', '&#8656;', false,'leftwards double arrow'],
+ ['&uArr;', '&#8657;', false,'upwards double arrow'],
+ ['&rArr;', '&#8658;', false,'rightwards double arrow'],
+ ['&dArr;', '&#8659;', false,'downwards double arrow'],
+ ['&hArr;', '&#8660;', false,'left right double arrow'],
+ ['&there4;', '&#8756;', false,'therefore'],
+ ['&sub;', '&#8834;', false,'subset of'],
+ ['&sup;', '&#8835;', false,'superset of'],
+ ['&nsub;', '&#8836;', false,'not a subset of'],
+ ['&sube;', '&#8838;', false,'subset of or equal to'],
+ ['&supe;', '&#8839;', false,'superset of or equal to'],
+ ['&oplus;', '&#8853;', false,'circled plus'],
+ ['&otimes;', '&#8855;', false,'circled times'],
+ ['&perp;', '&#8869;', false,'perpendicular'],
+ ['&sdot;', '&#8901;', false,'dot operator'],
+ ['&lceil;', '&#8968;', false,'left ceiling'],
+ ['&rceil;', '&#8969;', false,'right ceiling'],
+ ['&lfloor;', '&#8970;', false,'left floor'],
+ ['&rfloor;', '&#8971;', false,'right floor'],
+ ['&lang;', '&#9001;', false,'left-pointing angle bracket'],
+ ['&rang;', '&#9002;', false,'right-pointing angle bracket'],
+ ['&loz;', '&#9674;', true, 'lozenge'],
+ ['&spades;', '&#9824;', true, 'black spade suit'],
+ ['&clubs;', '&#9827;', true, 'black club suit'],
+ ['&hearts;', '&#9829;', true, 'black heart suit'],
+ ['&diams;', '&#9830;', true, 'black diamond suit'],
+ ['&ensp;', '&#8194;', false,'en space'],
+ ['&emsp;', '&#8195;', false,'em space'],
+ ['&thinsp;', '&#8201;', false,'thin space'],
+ ['&zwnj;', '&#8204;', false,'zero width non-joiner'],
+ ['&zwj;', '&#8205;', false,'zero width joiner'],
+ ['&lrm;', '&#8206;', false,'left-to-right mark'],
+ ['&rlm;', '&#8207;', false,'right-to-left mark'],
+ ['&shy;', '&#173;', false,'soft hyphen']
+];
+
+tinyMCEPopup.onInit.add(function() {
+ tinyMCEPopup.dom.setHTML('charmapView', renderCharMapHTML());
+ addKeyboardNavigation();
+});
+
+function addKeyboardNavigation(){
+ var tableElm, cells, settings;
+
+ cells = tinyMCEPopup.dom.select("a.charmaplink", "charmapgroup");
+
+ settings ={
+ root: "charmapgroup",
+ items: cells
+ };
+ cells[0].tabindex=0;
+ tinyMCEPopup.dom.addClass(cells[0], "mceFocus");
+ if (tinymce.isGecko) {
+ cells[0].focus();
+ } else {
+ setTimeout(function(){
+ cells[0].focus();
+ }, 100);
+ }
+ tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', settings, tinyMCEPopup.dom);
+}
+
+function renderCharMapHTML() {
+ var charsPerRow = 20, tdWidth=20, tdHeight=20, i;
+ var html = '<div id="charmapgroup" aria-labelledby="charmap_label" tabindex="0" role="listbox">'+
+ '<table role="presentation" border="0" cellspacing="1" cellpadding="0" width="' + (tdWidth*charsPerRow) +
+ '"><tr height="' + tdHeight + '">';
+ var cols=-1;
+
+ for (i=0; i<charmap.length; i++) {
+ var previewCharFn;
+
+ if (charmap[i][2]==true) {
+ cols++;
+ previewCharFn = 'previewChar(\'' + charmap[i][1].substring(1,charmap[i][1].length) + '\',\'' + charmap[i][0].substring(1,charmap[i][0].length) + '\',\'' + charmap[i][3] + '\');';
+ html += ''
+ + '<td class="charmap">'
+ + '<a class="charmaplink" role="button" onmouseover="'+previewCharFn+'" onfocus="'+previewCharFn+'" href="javascript:void(0)" onclick="insertChar(\'' + charmap[i][1].substring(2,charmap[i][1].length-1) + '\');" onclick="return false;" onmousedown="return false;" title="' + charmap[i][3] + ' '+ tinyMCEPopup.editor.translate("advanced_dlg.charmap_usage")+'">'
+ + charmap[i][1]
+ + '</a></td>';
+ if ((cols+1) % charsPerRow == 0)
+ html += '</tr><tr height="' + tdHeight + '">';
+ }
+ }
+
+ if (cols % charsPerRow > 0) {
+ var padd = charsPerRow - (cols % charsPerRow);
+ for (var i=0; i<padd-1; i++)
+ html += '<td width="' + tdWidth + '" height="' + tdHeight + '" class="charmap">&nbsp;</td>';
+ }
+
+ html += '</tr></table></div>';
+ html = html.replace(/<tr height="20"><\/tr>/g, '');
+
+ return html;
+}
+
+function insertChar(chr) {
+ tinyMCEPopup.execCommand('mceInsertContent', false, '&#' + chr + ';');
+
+ // Refocus in window
+ if (tinyMCEPopup.isWindow)
+ window.focus();
+
+ tinyMCEPopup.editor.focus();
+ tinyMCEPopup.close();
+}
+
+function previewChar(codeA, codeB, codeN) {
+ var elmA = document.getElementById('codeA');
+ var elmB = document.getElementById('codeB');
+ var elmV = document.getElementById('codeV');
+ var elmN = document.getElementById('codeN');
+
+ if (codeA=='#160;') {
+ elmV.innerHTML = '__';
+ } else {
+ elmV.innerHTML = '&' + codeA;
+ }
+
+ elmB.innerHTML = '&amp;' + codeA;
+ elmA.innerHTML = '&amp;' + codeB;
+ elmN.innerHTML = codeN;
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/color_picker.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/color_picker.js
new file mode 100644
index 00000000..cc891c17
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/color_picker.js
@@ -0,0 +1,345 @@
+tinyMCEPopup.requireLangPack();
+
+var detail = 50, strhex = "0123456789abcdef", i, isMouseDown = false, isMouseOver = false;
+
+var colors = [
+ "#000000","#000033","#000066","#000099","#0000cc","#0000ff","#330000","#330033",
+ "#330066","#330099","#3300cc","#3300ff","#660000","#660033","#660066","#660099",
+ "#6600cc","#6600ff","#990000","#990033","#990066","#990099","#9900cc","#9900ff",
+ "#cc0000","#cc0033","#cc0066","#cc0099","#cc00cc","#cc00ff","#ff0000","#ff0033",
+ "#ff0066","#ff0099","#ff00cc","#ff00ff","#003300","#003333","#003366","#003399",
+ "#0033cc","#0033ff","#333300","#333333","#333366","#333399","#3333cc","#3333ff",
+ "#663300","#663333","#663366","#663399","#6633cc","#6633ff","#993300","#993333",
+ "#993366","#993399","#9933cc","#9933ff","#cc3300","#cc3333","#cc3366","#cc3399",
+ "#cc33cc","#cc33ff","#ff3300","#ff3333","#ff3366","#ff3399","#ff33cc","#ff33ff",
+ "#006600","#006633","#006666","#006699","#0066cc","#0066ff","#336600","#336633",
+ "#336666","#336699","#3366cc","#3366ff","#666600","#666633","#666666","#666699",
+ "#6666cc","#6666ff","#996600","#996633","#996666","#996699","#9966cc","#9966ff",
+ "#cc6600","#cc6633","#cc6666","#cc6699","#cc66cc","#cc66ff","#ff6600","#ff6633",
+ "#ff6666","#ff6699","#ff66cc","#ff66ff","#009900","#009933","#009966","#009999",
+ "#0099cc","#0099ff","#339900","#339933","#339966","#339999","#3399cc","#3399ff",
+ "#669900","#669933","#669966","#669999","#6699cc","#6699ff","#999900","#999933",
+ "#999966","#999999","#9999cc","#9999ff","#cc9900","#cc9933","#cc9966","#cc9999",
+ "#cc99cc","#cc99ff","#ff9900","#ff9933","#ff9966","#ff9999","#ff99cc","#ff99ff",
+ "#00cc00","#00cc33","#00cc66","#00cc99","#00cccc","#00ccff","#33cc00","#33cc33",
+ "#33cc66","#33cc99","#33cccc","#33ccff","#66cc00","#66cc33","#66cc66","#66cc99",
+ "#66cccc","#66ccff","#99cc00","#99cc33","#99cc66","#99cc99","#99cccc","#99ccff",
+ "#cccc00","#cccc33","#cccc66","#cccc99","#cccccc","#ccccff","#ffcc00","#ffcc33",
+ "#ffcc66","#ffcc99","#ffcccc","#ffccff","#00ff00","#00ff33","#00ff66","#00ff99",
+ "#00ffcc","#00ffff","#33ff00","#33ff33","#33ff66","#33ff99","#33ffcc","#33ffff",
+ "#66ff00","#66ff33","#66ff66","#66ff99","#66ffcc","#66ffff","#99ff00","#99ff33",
+ "#99ff66","#99ff99","#99ffcc","#99ffff","#ccff00","#ccff33","#ccff66","#ccff99",
+ "#ccffcc","#ccffff","#ffff00","#ffff33","#ffff66","#ffff99","#ffffcc","#ffffff"
+];
+
+var named = {
+ '#F0F8FF':'Alice Blue','#FAEBD7':'Antique White','#00FFFF':'Aqua','#7FFFD4':'Aquamarine','#F0FFFF':'Azure','#F5F5DC':'Beige',
+ '#FFE4C4':'Bisque','#000000':'Black','#FFEBCD':'Blanched Almond','#0000FF':'Blue','#8A2BE2':'Blue Violet','#A52A2A':'Brown',
+ '#DEB887':'Burly Wood','#5F9EA0':'Cadet Blue','#7FFF00':'Chartreuse','#D2691E':'Chocolate','#FF7F50':'Coral','#6495ED':'Cornflower Blue',
+ '#FFF8DC':'Cornsilk','#DC143C':'Crimson','#00FFFF':'Cyan','#00008B':'Dark Blue','#008B8B':'Dark Cyan','#B8860B':'Dark Golden Rod',
+ '#A9A9A9':'Dark Gray','#A9A9A9':'Dark Grey','#006400':'Dark Green','#BDB76B':'Dark Khaki','#8B008B':'Dark Magenta','#556B2F':'Dark Olive Green',
+ '#FF8C00':'Darkorange','#9932CC':'Dark Orchid','#8B0000':'Dark Red','#E9967A':'Dark Salmon','#8FBC8F':'Dark Sea Green','#483D8B':'Dark Slate Blue',
+ '#2F4F4F':'Dark Slate Gray','#2F4F4F':'Dark Slate Grey','#00CED1':'Dark Turquoise','#9400D3':'Dark Violet','#FF1493':'Deep Pink','#00BFFF':'Deep Sky Blue',
+ '#696969':'Dim Gray','#696969':'Dim Grey','#1E90FF':'Dodger Blue','#B22222':'Fire Brick','#FFFAF0':'Floral White','#228B22':'Forest Green',
+ '#FF00FF':'Fuchsia','#DCDCDC':'Gainsboro','#F8F8FF':'Ghost White','#FFD700':'Gold','#DAA520':'Golden Rod','#808080':'Gray','#808080':'Grey',
+ '#008000':'Green','#ADFF2F':'Green Yellow','#F0FFF0':'Honey Dew','#FF69B4':'Hot Pink','#CD5C5C':'Indian Red','#4B0082':'Indigo','#FFFFF0':'Ivory',
+ '#F0E68C':'Khaki','#E6E6FA':'Lavender','#FFF0F5':'Lavender Blush','#7CFC00':'Lawn Green','#FFFACD':'Lemon Chiffon','#ADD8E6':'Light Blue',
+ '#F08080':'Light Coral','#E0FFFF':'Light Cyan','#FAFAD2':'Light Golden Rod Yellow','#D3D3D3':'Light Gray','#D3D3D3':'Light Grey','#90EE90':'Light Green',
+ '#FFB6C1':'Light Pink','#FFA07A':'Light Salmon','#20B2AA':'Light Sea Green','#87CEFA':'Light Sky Blue','#778899':'Light Slate Gray','#778899':'Light Slate Grey',
+ '#B0C4DE':'Light Steel Blue','#FFFFE0':'Light Yellow','#00FF00':'Lime','#32CD32':'Lime Green','#FAF0E6':'Linen','#FF00FF':'Magenta','#800000':'Maroon',
+ '#66CDAA':'Medium Aqua Marine','#0000CD':'Medium Blue','#BA55D3':'Medium Orchid','#9370D8':'Medium Purple','#3CB371':'Medium Sea Green','#7B68EE':'Medium Slate Blue',
+ '#00FA9A':'Medium Spring Green','#48D1CC':'Medium Turquoise','#C71585':'Medium Violet Red','#191970':'Midnight Blue','#F5FFFA':'Mint Cream','#FFE4E1':'Misty Rose','#FFE4B5':'Moccasin',
+ '#FFDEAD':'Navajo White','#000080':'Navy','#FDF5E6':'Old Lace','#808000':'Olive','#6B8E23':'Olive Drab','#FFA500':'Orange','#FF4500':'Orange Red','#DA70D6':'Orchid',
+ '#EEE8AA':'Pale Golden Rod','#98FB98':'Pale Green','#AFEEEE':'Pale Turquoise','#D87093':'Pale Violet Red','#FFEFD5':'Papaya Whip','#FFDAB9':'Peach Puff',
+ '#CD853F':'Peru','#FFC0CB':'Pink','#DDA0DD':'Plum','#B0E0E6':'Powder Blue','#800080':'Purple','#FF0000':'Red','#BC8F8F':'Rosy Brown','#4169E1':'Royal Blue',
+ '#8B4513':'Saddle Brown','#FA8072':'Salmon','#F4A460':'Sandy Brown','#2E8B57':'Sea Green','#FFF5EE':'Sea Shell','#A0522D':'Sienna','#C0C0C0':'Silver',
+ '#87CEEB':'Sky Blue','#6A5ACD':'Slate Blue','#708090':'Slate Gray','#708090':'Slate Grey','#FFFAFA':'Snow','#00FF7F':'Spring Green',
+ '#4682B4':'Steel Blue','#D2B48C':'Tan','#008080':'Teal','#D8BFD8':'Thistle','#FF6347':'Tomato','#40E0D0':'Turquoise','#EE82EE':'Violet',
+ '#F5DEB3':'Wheat','#FFFFFF':'White','#F5F5F5':'White Smoke','#FFFF00':'Yellow','#9ACD32':'Yellow Green'
+};
+
+var namedLookup = {};
+
+function init() {
+ var inputColor = convertRGBToHex(tinyMCEPopup.getWindowArg('input_color')), key, value;
+
+ tinyMCEPopup.resizeToInnerSize();
+
+ generatePicker();
+ generateWebColors();
+ generateNamedColors();
+
+ if (inputColor) {
+ changeFinalColor(inputColor);
+
+ col = convertHexToRGB(inputColor);
+
+ if (col)
+ updateLight(col.r, col.g, col.b);
+ }
+
+ for (key in named) {
+ value = named[key];
+ namedLookup[value.replace(/\s+/, '').toLowerCase()] = key.replace(/#/, '').toLowerCase();
+ }
+}
+
+function toHexColor(color) {
+ var matches, red, green, blue, toInt = parseInt;
+
+ function hex(value) {
+ value = parseInt(value).toString(16);
+
+ return value.length > 1 ? value : '0' + value; // Padd with leading zero
+ };
+
+ color = tinymce.trim(color);
+ color = color.replace(/^[#]/, '').toLowerCase(); // remove leading '#'
+ color = namedLookup[color] || color;
+
+ matches = /^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/.exec(color);
+
+ if (matches) {
+ red = toInt(matches[1]);
+ green = toInt(matches[2]);
+ blue = toInt(matches[3]);
+ } else {
+ matches = /^([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/.exec(color);
+
+ if (matches) {
+ red = toInt(matches[1], 16);
+ green = toInt(matches[2], 16);
+ blue = toInt(matches[3], 16);
+ } else {
+ matches = /^([0-9a-f])([0-9a-f])([0-9a-f])$/.exec(color);
+
+ if (matches) {
+ red = toInt(matches[1] + matches[1], 16);
+ green = toInt(matches[2] + matches[2], 16);
+ blue = toInt(matches[3] + matches[3], 16);
+ } else {
+ return '';
+ }
+ }
+ }
+
+ return '#' + hex(red) + hex(green) + hex(blue);
+}
+
+function insertAction() {
+ var color = document.getElementById("color").value, f = tinyMCEPopup.getWindowArg('func');
+
+ var hexColor = toHexColor(color);
+
+ if (hexColor === '') {
+ var text = tinyMCEPopup.editor.getLang('advanced_dlg.invalid_color_value');
+ tinyMCEPopup.alert(text + ': ' + color);
+ }
+ else {
+ tinyMCEPopup.restoreSelection();
+
+ if (f)
+ f(hexColor);
+
+ tinyMCEPopup.close();
+ }
+}
+
+function showColor(color, name) {
+ if (name)
+ document.getElementById("colorname").innerHTML = name;
+
+ document.getElementById("preview").style.backgroundColor = color;
+ document.getElementById("color").value = color.toUpperCase();
+}
+
+function convertRGBToHex(col) {
+ var re = new RegExp("rgb\\s*\\(\\s*([0-9]+).*,\\s*([0-9]+).*,\\s*([0-9]+).*\\)", "gi");
+
+ if (!col)
+ return col;
+
+ var rgb = col.replace(re, "$1,$2,$3").split(',');
+ if (rgb.length == 3) {
+ r = parseInt(rgb[0]).toString(16);
+ g = parseInt(rgb[1]).toString(16);
+ b = parseInt(rgb[2]).toString(16);
+
+ r = r.length == 1 ? '0' + r : r;
+ g = g.length == 1 ? '0' + g : g;
+ b = b.length == 1 ? '0' + b : b;
+
+ return "#" + r + g + b;
+ }
+
+ return col;
+}
+
+function convertHexToRGB(col) {
+ if (col.indexOf('#') != -1) {
+ col = col.replace(new RegExp('[^0-9A-F]', 'gi'), '');
+
+ r = parseInt(col.substring(0, 2), 16);
+ g = parseInt(col.substring(2, 4), 16);
+ b = parseInt(col.substring(4, 6), 16);
+
+ return {r : r, g : g, b : b};
+ }
+
+ return null;
+}
+
+function generatePicker() {
+ var el = document.getElementById('light'), h = '', i;
+
+ for (i = 0; i < detail; i++){
+ h += '<div id="gs'+i+'" style="background-color:#000000; width:15px; height:3px; border-style:none; border-width:0px;"'
+ + ' onclick="changeFinalColor(this.style.backgroundColor)"'
+ + ' onmousedown="isMouseDown = true; return false;"'
+ + ' onmouseup="isMouseDown = false;"'
+ + ' onmousemove="if (isMouseDown && isMouseOver) changeFinalColor(this.style.backgroundColor); return false;"'
+ + ' onmouseover="isMouseOver = true;"'
+ + ' onmouseout="isMouseOver = false;"'
+ + '></div>';
+ }
+
+ el.innerHTML = h;
+}
+
+function generateWebColors() {
+ var el = document.getElementById('webcolors'), h = '', i;
+
+ if (el.className == 'generated')
+ return;
+
+ // TODO: VoiceOver doesn't seem to support legend as a label referenced by labelledby.
+ h += '<div role="listbox" aria-labelledby="webcolors_title" tabindex="0"><table role="presentation" border="0" cellspacing="1" cellpadding="0">'
+ + '<tr>';
+
+ for (i=0; i<colors.length; i++) {
+ h += '<td bgcolor="' + colors[i] + '" width="10" height="10">'
+ + '<a href="javascript:insertAction();" role="option" tabindex="-1" aria-labelledby="web_colors_' + i + '" onfocus="showColor(\'' + colors[i] + '\');" onmouseover="showColor(\'' + colors[i] + '\');" style="display:block;width:10px;height:10px;overflow:hidden;">';
+ if (tinyMCEPopup.editor.forcedHighContrastMode) {
+ h += '<canvas class="mceColorSwatch" height="10" width="10" data-color="' + colors[i] + '"></canvas>';
+ }
+ h += '<span class="mceVoiceLabel" style="display:none;" id="web_colors_' + i + '">' + colors[i].toUpperCase() + '</span>';
+ h += '</a></td>';
+ if ((i+1) % 18 == 0)
+ h += '</tr><tr>';
+ }
+
+ h += '</table></div>';
+
+ el.innerHTML = h;
+ el.className = 'generated';
+
+ paintCanvas(el);
+ enableKeyboardNavigation(el.firstChild);
+}
+
+function paintCanvas(el) {
+ tinyMCEPopup.getWin().tinymce.each(tinyMCEPopup.dom.select('canvas.mceColorSwatch', el), function(canvas) {
+ var context;
+ if (canvas.getContext && (context = canvas.getContext("2d"))) {
+ context.fillStyle = canvas.getAttribute('data-color');
+ context.fillRect(0, 0, 10, 10);
+ }
+ });
+}
+function generateNamedColors() {
+ var el = document.getElementById('namedcolors'), h = '', n, v, i = 0;
+
+ if (el.className == 'generated')
+ return;
+
+ for (n in named) {
+ v = named[n];
+ h += '<a href="javascript:insertAction();" role="option" tabindex="-1" aria-labelledby="named_colors_' + i + '" onfocus="showColor(\'' + n + '\',\'' + v + '\');" onmouseover="showColor(\'' + n + '\',\'' + v + '\');" style="background-color: ' + n + '">';
+ if (tinyMCEPopup.editor.forcedHighContrastMode) {
+ h += '<canvas class="mceColorSwatch" height="10" width="10" data-color="' + colors[i] + '"></canvas>';
+ }
+ h += '<span class="mceVoiceLabel" style="display:none;" id="named_colors_' + i + '">' + v + '</span>';
+ h += '</a>';
+ i++;
+ }
+
+ el.innerHTML = h;
+ el.className = 'generated';
+
+ paintCanvas(el);
+ enableKeyboardNavigation(el);
+}
+
+function enableKeyboardNavigation(el) {
+ tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', {
+ root: el,
+ items: tinyMCEPopup.dom.select('a', el)
+ }, tinyMCEPopup.dom);
+}
+
+function dechex(n) {
+ return strhex.charAt(Math.floor(n / 16)) + strhex.charAt(n % 16);
+}
+
+function computeColor(e) {
+ var x, y, partWidth, partDetail, imHeight, r, g, b, coef, i, finalCoef, finalR, finalG, finalB, pos = tinyMCEPopup.dom.getPos(e.target);
+
+ x = e.offsetX ? e.offsetX : (e.target ? e.clientX - pos.x : 0);
+ y = e.offsetY ? e.offsetY : (e.target ? e.clientY - pos.y : 0);
+
+ partWidth = document.getElementById('colors').width / 6;
+ partDetail = detail / 2;
+ imHeight = document.getElementById('colors').height;
+
+ r = (x >= 0)*(x < partWidth)*255 + (x >= partWidth)*(x < 2*partWidth)*(2*255 - x * 255 / partWidth) + (x >= 4*partWidth)*(x < 5*partWidth)*(-4*255 + x * 255 / partWidth) + (x >= 5*partWidth)*(x < 6*partWidth)*255;
+ g = (x >= 0)*(x < partWidth)*(x * 255 / partWidth) + (x >= partWidth)*(x < 3*partWidth)*255 + (x >= 3*partWidth)*(x < 4*partWidth)*(4*255 - x * 255 / partWidth);
+ b = (x >= 2*partWidth)*(x < 3*partWidth)*(-2*255 + x * 255 / partWidth) + (x >= 3*partWidth)*(x < 5*partWidth)*255 + (x >= 5*partWidth)*(x < 6*partWidth)*(6*255 - x * 255 / partWidth);
+
+ coef = (imHeight - y) / imHeight;
+ r = 128 + (r - 128) * coef;
+ g = 128 + (g - 128) * coef;
+ b = 128 + (b - 128) * coef;
+
+ changeFinalColor('#' + dechex(r) + dechex(g) + dechex(b));
+ updateLight(r, g, b);
+}
+
+function updateLight(r, g, b) {
+ var i, partDetail = detail / 2, finalCoef, finalR, finalG, finalB, color;
+
+ for (i=0; i<detail; i++) {
+ if ((i>=0) && (i<partDetail)) {
+ finalCoef = i / partDetail;
+ finalR = dechex(255 - (255 - r) * finalCoef);
+ finalG = dechex(255 - (255 - g) * finalCoef);
+ finalB = dechex(255 - (255 - b) * finalCoef);
+ } else {
+ finalCoef = 2 - i / partDetail;
+ finalR = dechex(r * finalCoef);
+ finalG = dechex(g * finalCoef);
+ finalB = dechex(b * finalCoef);
+ }
+
+ color = finalR + finalG + finalB;
+
+ setCol('gs' + i, '#'+color);
+ }
+}
+
+function changeFinalColor(color) {
+ if (color.indexOf('#') == -1)
+ color = convertRGBToHex(color);
+
+ setCol('preview', color);
+ document.getElementById('color').value = color;
+}
+
+function setCol(e, c) {
+ try {
+ document.getElementById(e).style.backgroundColor = c;
+ } catch (ex) {
+ // Ignore IE warning
+ }
+}
+
+tinyMCEPopup.onInit.add(init);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/image.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/image.js
new file mode 100644
index 00000000..bb09e75b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/image.js
@@ -0,0 +1,253 @@
+var ImageDialog = {
+ preInit : function() {
+ var url;
+
+ tinyMCEPopup.requireLangPack();
+
+ if (url = tinyMCEPopup.getParam("external_image_list_url"))
+ document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
+ },
+
+ init : function() {
+ var f = document.forms[0], ed = tinyMCEPopup.editor;
+
+ // Setup browse button
+ document.getElementById('srcbrowsercontainer').innerHTML = getBrowserHTML('srcbrowser','src','image','theme_advanced_image');
+ if (isVisible('srcbrowser'))
+ document.getElementById('src').style.width = '180px';
+
+ e = ed.selection.getNode();
+
+ this.fillFileList('image_list', tinyMCEPopup.getParam('external_image_list', 'tinyMCEImageList'));
+
+ if (e.nodeName == 'IMG') {
+ f.src.value = ed.dom.getAttrib(e, 'src');
+ f.alt.value = ed.dom.getAttrib(e, 'alt');
+ f.border.value = this.getAttrib(e, 'border');
+ f.vspace.value = this.getAttrib(e, 'vspace');
+ f.hspace.value = this.getAttrib(e, 'hspace');
+ f.width.value = ed.dom.getAttrib(e, 'width');
+ f.height.value = ed.dom.getAttrib(e, 'height');
+ f.insert.value = ed.getLang('update');
+ this.styleVal = ed.dom.getAttrib(e, 'style');
+ selectByValue(f, 'image_list', f.src.value);
+ selectByValue(f, 'align', this.getAttrib(e, 'align'));
+ this.updateStyle();
+ }
+ },
+
+ fillFileList : function(id, l) {
+ var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl;
+
+ l = typeof(l) === 'function' ? l() : window[l];
+
+ if (l && l.length > 0) {
+ lst.options[lst.options.length] = new Option('', '');
+
+ tinymce.each(l, function(o) {
+ lst.options[lst.options.length] = new Option(o[0], o[1]);
+ });
+ } else
+ dom.remove(dom.getParent(id, 'tr'));
+ },
+
+ update : function() {
+ var f = document.forms[0], nl = f.elements, ed = tinyMCEPopup.editor, args = {}, el;
+
+ tinyMCEPopup.restoreSelection();
+
+ if (f.src.value === '') {
+ if (ed.selection.getNode().nodeName == 'IMG') {
+ ed.dom.remove(ed.selection.getNode());
+ ed.execCommand('mceRepaint');
+ }
+
+ tinyMCEPopup.close();
+ return;
+ }
+
+ if (!ed.settings.inline_styles) {
+ args = tinymce.extend(args, {
+ vspace : nl.vspace.value,
+ hspace : nl.hspace.value,
+ border : nl.border.value,
+ align : getSelectValue(f, 'align')
+ });
+ } else
+ args.style = this.styleVal;
+
+ tinymce.extend(args, {
+ src : f.src.value.replace(/ /g, '%20'),
+ alt : f.alt.value,
+ width : f.width.value,
+ height : f.height.value
+ });
+
+ el = ed.selection.getNode();
+
+ if (el && el.nodeName == 'IMG') {
+ ed.dom.setAttribs(el, args);
+ tinyMCEPopup.editor.execCommand('mceRepaint');
+ tinyMCEPopup.editor.focus();
+ } else {
+ tinymce.each(args, function(value, name) {
+ if (value === "") {
+ delete args[name];
+ }
+ });
+
+ ed.execCommand('mceInsertContent', false, tinyMCEPopup.editor.dom.createHTML('img', args), {skip_undo : 1});
+ ed.undoManager.add();
+ }
+
+ tinyMCEPopup.close();
+ },
+
+ updateStyle : function() {
+ var dom = tinyMCEPopup.dom, st = {}, v, f = document.forms[0];
+
+ if (tinyMCEPopup.editor.settings.inline_styles) {
+ tinymce.each(tinyMCEPopup.dom.parseStyle(this.styleVal), function(value, key) {
+ st[key] = value;
+ });
+
+ // Handle align
+ v = getSelectValue(f, 'align');
+ if (v) {
+ if (v == 'left' || v == 'right') {
+ st['float'] = v;
+ delete st['vertical-align'];
+ } else {
+ st['vertical-align'] = v;
+ delete st['float'];
+ }
+ } else {
+ delete st['float'];
+ delete st['vertical-align'];
+ }
+
+ // Handle border
+ v = f.border.value;
+ if (v || v == '0') {
+ if (v == '0')
+ st['border'] = '0';
+ else
+ st['border'] = v + 'px solid black';
+ } else
+ delete st['border'];
+
+ // Handle hspace
+ v = f.hspace.value;
+ if (v) {
+ delete st['margin'];
+ st['margin-left'] = v + 'px';
+ st['margin-right'] = v + 'px';
+ } else {
+ delete st['margin-left'];
+ delete st['margin-right'];
+ }
+
+ // Handle vspace
+ v = f.vspace.value;
+ if (v) {
+ delete st['margin'];
+ st['margin-top'] = v + 'px';
+ st['margin-bottom'] = v + 'px';
+ } else {
+ delete st['margin-top'];
+ delete st['margin-bottom'];
+ }
+
+ // Merge
+ st = tinyMCEPopup.dom.parseStyle(dom.serializeStyle(st), 'img');
+ this.styleVal = dom.serializeStyle(st, 'img');
+ }
+ },
+
+ getAttrib : function(e, at) {
+ var ed = tinyMCEPopup.editor, dom = ed.dom, v, v2;
+
+ if (ed.settings.inline_styles) {
+ switch (at) {
+ case 'align':
+ if (v = dom.getStyle(e, 'float'))
+ return v;
+
+ if (v = dom.getStyle(e, 'vertical-align'))
+ return v;
+
+ break;
+
+ case 'hspace':
+ v = dom.getStyle(e, 'margin-left')
+ v2 = dom.getStyle(e, 'margin-right');
+ if (v && v == v2)
+ return parseInt(v.replace(/[^0-9]/g, ''));
+
+ break;
+
+ case 'vspace':
+ v = dom.getStyle(e, 'margin-top')
+ v2 = dom.getStyle(e, 'margin-bottom');
+ if (v && v == v2)
+ return parseInt(v.replace(/[^0-9]/g, ''));
+
+ break;
+
+ case 'border':
+ v = 0;
+
+ tinymce.each(['top', 'right', 'bottom', 'left'], function(sv) {
+ sv = dom.getStyle(e, 'border-' + sv + '-width');
+
+ // False or not the same as prev
+ if (!sv || (sv != v && v !== 0)) {
+ v = 0;
+ return false;
+ }
+
+ if (sv)
+ v = sv;
+ });
+
+ if (v)
+ return parseInt(v.replace(/[^0-9]/g, ''));
+
+ break;
+ }
+ }
+
+ if (v = dom.getAttrib(e, at))
+ return v;
+
+ return '';
+ },
+
+ resetImageData : function() {
+ var f = document.forms[0];
+
+ f.width.value = f.height.value = "";
+ },
+
+ updateImageData : function() {
+ var f = document.forms[0], t = ImageDialog;
+
+ if (f.width.value == "")
+ f.width.value = t.preloadImg.width;
+
+ if (f.height.value == "")
+ f.height.value = t.preloadImg.height;
+ },
+
+ getImageData : function() {
+ var f = document.forms[0];
+
+ this.preloadImg = new Image();
+ this.preloadImg.onload = this.updateImageData;
+ this.preloadImg.onerror = this.resetImageData;
+ this.preloadImg.src = tinyMCEPopup.editor.documentBaseURI.toAbsolute(f.src.value);
+ }
+};
+
+ImageDialog.preInit();
+tinyMCEPopup.onInit.add(ImageDialog.init, ImageDialog);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/link.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/link.js
new file mode 100644
index 00000000..8c1d73c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/link.js
@@ -0,0 +1,159 @@
+tinyMCEPopup.requireLangPack();
+
+var LinkDialog = {
+ preInit : function() {
+ var url;
+
+ if (url = tinyMCEPopup.getParam("external_link_list_url"))
+ document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
+ },
+
+ init : function() {
+ var f = document.forms[0], ed = tinyMCEPopup.editor;
+
+ // Setup browse button
+ document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser', 'href', 'file', 'theme_advanced_link');
+ if (isVisible('hrefbrowser'))
+ document.getElementById('href').style.width = '180px';
+
+ this.fillClassList('class_list');
+ this.fillFileList('link_list', 'tinyMCELinkList');
+ this.fillTargetList('target_list');
+
+ if (e = ed.dom.getParent(ed.selection.getNode(), 'A')) {
+ f.href.value = ed.dom.getAttrib(e, 'href');
+ f.linktitle.value = ed.dom.getAttrib(e, 'title');
+ f.insert.value = ed.getLang('update');
+ selectByValue(f, 'link_list', f.href.value);
+ selectByValue(f, 'target_list', ed.dom.getAttrib(e, 'target'));
+ selectByValue(f, 'class_list', ed.dom.getAttrib(e, 'class'));
+ }
+ },
+
+ update : function() {
+ var f = document.forms[0], ed = tinyMCEPopup.editor, e, b, href = f.href.value.replace(/ /g, '%20');
+
+ tinyMCEPopup.restoreSelection();
+ e = ed.dom.getParent(ed.selection.getNode(), 'A');
+
+ // Remove element if there is no href
+ if (!f.href.value) {
+ if (e) {
+ b = ed.selection.getBookmark();
+ ed.dom.remove(e, 1);
+ ed.selection.moveToBookmark(b);
+ tinyMCEPopup.execCommand("mceEndUndoLevel");
+ tinyMCEPopup.close();
+ return;
+ }
+ }
+
+ // Create new anchor elements
+ if (e == null) {
+ ed.getDoc().execCommand("unlink", false, null);
+ tinyMCEPopup.execCommand("mceInsertLink", false, "#mce_temp_url#", {skip_undo : 1});
+
+ tinymce.each(ed.dom.select("a"), function(n) {
+ if (ed.dom.getAttrib(n, 'href') == '#mce_temp_url#') {
+ e = n;
+
+ ed.dom.setAttribs(e, {
+ href : href,
+ title : f.linktitle.value,
+ target : f.target_list ? getSelectValue(f, "target_list") : null,
+ 'class' : f.class_list ? getSelectValue(f, "class_list") : null
+ });
+ }
+ });
+ } else {
+ ed.dom.setAttribs(e, {
+ href : href,
+ title : f.linktitle.value
+ });
+
+ if (f.target_list) {
+ ed.dom.setAttrib(e, 'target', getSelectValue(f, "target_list"));
+ }
+
+ if (f.class_list) {
+ ed.dom.setAttrib(e, 'class', getSelectValue(f, "class_list"));
+ }
+ }
+
+ // Don't move caret if selection was image
+ if (e.childNodes.length != 1 || e.firstChild.nodeName != 'IMG') {
+ ed.focus();
+ ed.selection.select(e);
+ ed.selection.collapse(0);
+ tinyMCEPopup.storeSelection();
+ }
+
+ tinyMCEPopup.execCommand("mceEndUndoLevel");
+ tinyMCEPopup.close();
+ },
+
+ checkPrefix : function(n) {
+ if (n.value && Validator.isEmail(n) && !/^\s*mailto:/i.test(n.value) && confirm(tinyMCEPopup.getLang('advanced_dlg.link_is_email')))
+ n.value = 'mailto:' + n.value;
+
+ if (/^\s*www\./i.test(n.value) && confirm(tinyMCEPopup.getLang('advanced_dlg.link_is_external')))
+ n.value = 'http://' + n.value;
+ },
+
+ fillFileList : function(id, l) {
+ var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl;
+
+ l = window[l];
+
+ if (l && l.length > 0) {
+ lst.options[lst.options.length] = new Option('', '');
+
+ tinymce.each(l, function(o) {
+ lst.options[lst.options.length] = new Option(o[0], o[1]);
+ });
+ } else
+ dom.remove(dom.getParent(id, 'tr'));
+ },
+
+ fillClassList : function(id) {
+ var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl;
+
+ if (v = tinyMCEPopup.getParam('theme_advanced_styles')) {
+ cl = [];
+
+ tinymce.each(v.split(';'), function(v) {
+ var p = v.split('=');
+
+ cl.push({'title' : p[0], 'class' : p[1]});
+ });
+ } else
+ cl = tinyMCEPopup.editor.dom.getClasses();
+
+ if (cl.length > 0) {
+ lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), '');
+
+ tinymce.each(cl, function(o) {
+ lst.options[lst.options.length] = new Option(o.title || o['class'], o['class']);
+ });
+ } else
+ dom.remove(dom.getParent(id, 'tr'));
+ },
+
+ fillTargetList : function(id) {
+ var dom = tinyMCEPopup.dom, lst = dom.get(id), v;
+
+ lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), '');
+ lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('advanced_dlg.link_target_same'), '_self');
+ lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('advanced_dlg.link_target_blank'), '_blank');
+
+ if (v = tinyMCEPopup.getParam('theme_advanced_link_targets')) {
+ tinymce.each(v.split(','), function(v) {
+ v = v.split('=');
+ lst.options[lst.options.length] = new Option(v[0], v[1]);
+ });
+ }
+ }
+};
+
+LinkDialog.preInit();
+tinyMCEPopup.onInit.add(LinkDialog.init, LinkDialog);
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/source_editor.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/source_editor.js
new file mode 100644
index 00000000..dd5e366f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/source_editor.js
@@ -0,0 +1,78 @@
+tinyMCEPopup.requireLangPack();
+tinyMCEPopup.onInit.add(onLoadInit);
+
+function saveContent() {
+ tinyMCEPopup.editor.setContent(document.getElementById('htmlSource').value, {source_view : true});
+ tinyMCEPopup.close();
+}
+
+function onLoadInit() {
+ tinyMCEPopup.resizeToInnerSize();
+
+ // Remove Gecko spellchecking
+ if (tinymce.isGecko)
+ document.body.spellcheck = tinyMCEPopup.editor.getParam("gecko_spellcheck");
+
+ document.getElementById('htmlSource').value = tinyMCEPopup.editor.getContent({source_view : true});
+
+ if (tinyMCEPopup.editor.getParam("theme_advanced_source_editor_wrap", true)) {
+ turnWrapOn();
+ document.getElementById('wraped').checked = true;
+ }
+
+ resizeInputs();
+}
+
+function setWrap(val) {
+ var v, n, s = document.getElementById('htmlSource');
+
+ s.wrap = val;
+
+ if (!tinymce.isIE) {
+ v = s.value;
+ n = s.cloneNode(false);
+ n.setAttribute("wrap", val);
+ s.parentNode.replaceChild(n, s);
+ n.value = v;
+ }
+}
+
+function setWhiteSpaceCss(value) {
+ var el = document.getElementById('htmlSource');
+ tinymce.DOM.setStyle(el, 'white-space', value);
+}
+
+function turnWrapOff() {
+ if (tinymce.isWebKit) {
+ setWhiteSpaceCss('pre');
+ } else {
+ setWrap('off');
+ }
+}
+
+function turnWrapOn() {
+ if (tinymce.isWebKit) {
+ setWhiteSpaceCss('pre-wrap');
+ } else {
+ setWrap('soft');
+ }
+}
+
+function toggleWordWrap(elm) {
+ if (elm.checked) {
+ turnWrapOn();
+ } else {
+ turnWrapOff();
+ }
+}
+
+function resizeInputs() {
+ var vp = tinyMCEPopup.dom.getViewPort(window), el;
+
+ el = document.getElementById('htmlSource');
+
+ if (el) {
+ el.style.width = (vp.w - 20) + 'px';
+ el.style.height = (vp.h - 65) + 'px';
+ }
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/de.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/de.js
new file mode 100755
index 00000000..4bd5419f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/de.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('de.advanced',{"underline_desc":"Unterstrichen (Strg+U)","italic_desc":"Kursiv (Strg+I)","bold_desc":"Fett (Strg+B)",dd:"Definitionsbeschreibung",dt:"Definitionsbegriff",samp:"Beispiel",code:"Code",blockquote:"Zitatblock",h6:"\u00dcberschrift 6",h5:"\u00dcberschrift 5",h4:"\u00dcberschrift 4",h3:"\u00dcberschrift 3",h2:"\u00dcberschrift 2",h1:"\u00dcberschrift 1",pre:"Rohdaten",address:"Adresse",div:"Zusammenh\u00e4ngender Bereich",paragraph:"Absatz",block:"Vorlage",fontdefault:"Schriftart","font_size":"Schriftgr\u00f6\u00dfe","style_select":"Format","anchor_delta_width":"13","more_colors":"Weitere Farben","toolbar_focus":"Zur Werkzeugleiste springen: Alt+Q; Zum Editor springen: Alt-Z; Zum Elementpfad springen: Alt-X",newdocument:"Soll wirklich der ganze Inhalt gel\u00f6scht werden?",path:"Pfad","clipboard_msg":"Kopieren, Ausschneiden und Einf\u00fcgen sind im Mozilla Firefox nicht m\u00f6glich. Mehr \u00fcber dieses Problem erfahren?","blockquote_desc":"Zitatblock","help_desc":"Hilfe","newdocument_desc":"Neues Dokument","image_props_desc":"Bildeigenschaften","paste_desc":"Einf\u00fcgen","copy_desc":"Kopieren","cut_desc":"Ausschneiden","anchor_desc":"Anker einf\u00fcgen/ver\u00e4ndern","visualaid_desc":"Hilfslinien und unsichtbare Elemente ein-/ausblenden","charmap_desc":"Sonderzeichen einf\u00fcgen","backcolor_desc":"Hintergrundfarbe","forecolor_desc":"Textfarbe","custom1_desc":"Benutzerdefinierte Beschreibung","removeformat_desc":"Formatierungen zur\u00fccksetzen","hr_desc":"Trennlinie einf\u00fcgen","sup_desc":"Hochgestellt","sub_desc":"Tiefgestellt","code_desc":"HTML-Quellcode bearbeiten","cleanup_desc":"Quellcode aufr\u00e4umen","image_desc":"Bild einf\u00fcgen/ver\u00e4ndern","unlink_desc":"Link entfernen","link_desc":"Link einf\u00fcgen/ver\u00e4ndern","redo_desc":"Wiederholen (Strg+Y)","undo_desc":"R\u00fcckg\u00e4ngig (Strg+Z)","indent_desc":"Einr\u00fccken","outdent_desc":"Ausr\u00fccken","numlist_desc":"Sortierte Liste","bullist_desc":"Unsortierte Liste","justifyfull_desc":"Blocksatz","justifyright_desc":"Rechtsb\u00fcndig","justifycenter_desc":"Zentriert","justifyleft_desc":"Linksb\u00fcndig","striketrough_desc":"Durchgestrichen","help_shortcut":"F\u00fcr die Toolbar ALT-F10 dr\u00fccken. F\u00fcr die Hilfe ALT-0 dr\u00fccken","rich_text_area":"Rich Text Feld","shortcuts_desc":"Eingabehilfe",toolbar:"Pfeiltasten verwenden um Funktionen auszuw\u00e4hlen","anchor_delta_height":"","charmap_delta_height":"","charmap_delta_width":"","colorpicker_delta_height":"","colorpicker_delta_width":"","link_delta_height":"","link_delta_width":"","image_delta_height":"","image_delta_width":""}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/de_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/de_dlg.js
new file mode 100644
index 00000000..0ee5af90
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/de_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('de.advanced_dlg',{"link_list":"Linkliste","link_is_external":"Diese Adresse scheint ein externer Link zu sein. Soll das dazu ben\u00f6tigte \"http://\" vorangestellt werden?","link_is_email":"Diese Adresse scheint eine E-Mail Adresse zu sein. Soll das dazu ben\u00f6tigte \"mailto:\" vorangestellt werden?","link_titlefield":"Titel","link_target_blank":"In neuem Fenster \u00f6ffnen","link_target_same":"Im selben Fenster \u00f6ffnen","link_target":"Fenster","link_url":"Adresse","link_title":"Link einf\u00fcgen/ver\u00e4ndern","image_align_right":"Rechts","image_align_left":"Links","image_align_textbottom":"Unten im Text","image_align_texttop":"Oben im Text","image_align_bottom":"Unten","image_align_middle":"Mittig","image_align_top":"Oben","image_align_baseline":"Zeile","image_align":"Ausrichtung","image_hspace":"Horizontaler Abstand","image_vspace":"Vertikaler Abstand","image_dimensions":"Abmessungen","image_alt":"Alternativtext","image_list":"Bilderliste","image_border":"Rahmen","image_src":"Adresse","image_title":"Bild einf\u00fcgen/ver\u00e4ndern","charmap_title":"Sonderzeichen","colorpicker_name":"Name:","colorpicker_color":"Farbe:","colorpicker_named_title":"Benannte Farben","colorpicker_named_tab":"Benannte Farben","colorpicker_palette_title":"Farbpalette","colorpicker_palette_tab":"Palette","colorpicker_picker_title":"Farbwahl","colorpicker_picker_tab":"Farbwahl","colorpicker_title":"Farbe","code_wordwrap":"Automatischer Zeilenumbruch","code_title":"HTML-Quellcode bearbeiten","anchor_name":"Name des Ankers","anchor_title":"Anker einf\u00fcgen/ver\u00e4ndern","about_loaded":"Geladene Plugins","about_version":"Version","about_author":"Urheber","about_plugin":"Plugin","about_plugins":"Plugins","about_license":"Lizenzbedingungen","about_help":"Hilfe","about_general":"\u00dcber","about_title":"\u00dcber TinyMCE","charmap_usage":"Navigation mit linken und rechten Pfeiltasten.","anchor_invalid":"Bitte einen g\u00fcltigen Namen f\u00fcr den Anker eingeben!","accessibility_help":"Eingabehilfe","accessibility_usage_title":"Allgemeine Verwendung","invalid_color_value":"Ung\u00fcltige Farbangabe"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/en.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/en.js
new file mode 100755
index 00000000..f89eb92a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/en.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('en.advanced',{"underline_desc":"Underline (Ctrl+U)","italic_desc":"Italic (Ctrl+I)","bold_desc":"Bold (Ctrl+B)",dd:"Definition Description",dt:"Definition Term ",samp:"Code Sample",code:"Code",blockquote:"Block Quote",h6:"Heading 6",h5:"Heading 5",h4:"Heading 4",h3:"Heading 3",h2:"Heading 2",h1:"Heading 1",pre:"Preformatted",address:"Address",div:"DIV",paragraph:"Paragraph",block:"Format",fontdefault:"Font Family","font_size":"Font Size","style_select":"Styles","anchor_delta_height":"","anchor_delta_width":"","charmap_delta_height":"","charmap_delta_width":"","colorpicker_delta_height":"","colorpicker_delta_width":"","link_delta_height":"","link_delta_width":"","image_delta_height":"","image_delta_width":"","more_colors":"More Colors...","toolbar_focus":"Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X",newdocument:"Are you sure you want clear all contents?",path:"Path","clipboard_msg":"Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?","blockquote_desc":"Block Quote","help_desc":"Help","newdocument_desc":"New Document","image_props_desc":"Image Properties","paste_desc":"Paste (Ctrl+V)","copy_desc":"Copy (Ctrl+C)","cut_desc":"Cut (Ctrl+X)","anchor_desc":"Insert/Edit Anchor","visualaid_desc":"show/Hide Guidelines/Invisible Elements","charmap_desc":"Insert Special Character","backcolor_desc":"Select Background Color","forecolor_desc":"Select Text Color","custom1_desc":"Your Custom Description Here","removeformat_desc":"Remove Formatting","hr_desc":"Insert Horizontal Line","sup_desc":"Superscript","sub_desc":"Subscript","code_desc":"Edit HTML Source","cleanup_desc":"Cleanup Messy Code","image_desc":"Insert/Edit Image","unlink_desc":"Unlink","link_desc":"Insert/Edit Link","redo_desc":"Redo (Ctrl+Y)","undo_desc":"Undo (Ctrl+Z)","indent_desc":"Increase Indent","outdent_desc":"Decrease Indent","numlist_desc":"Insert/Remove Numbered List","bullist_desc":"Insert/Remove Bulleted List","justifyfull_desc":"Align Full","justifyright_desc":"Align Right","justifycenter_desc":"Align Center","justifyleft_desc":"Align Left","striketrough_desc":"Strikethrough","help_shortcut":"Press ALT-F10 for toolbar. Press ALT-0 for help","rich_text_area":"Rich Text Area","shortcuts_desc":"Accessability Help",toolbar:"Use arrow keys to select functions"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/en_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/en_dlg.js
new file mode 100644
index 00000000..e451f377
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/en_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('en.advanced_dlg',{"link_list":"Link List","link_is_external":"The URL you entered seems to be an external link. Do you want to add the required http:// prefix?","link_is_email":"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?","link_titlefield":"Title","link_target_blank":"Open Link in a New Window","link_target_same":"Open Link in the Same Window","link_target":"Target","link_url":"Link URL","link_title":"Insert/Edit Link","image_align_right":"Right","image_align_left":"Left","image_align_textbottom":"Text Bottom","image_align_texttop":"Text Top","image_align_bottom":"Bottom","image_align_middle":"Middle","image_align_top":"Top","image_align_baseline":"Baseline","image_align":"Alignment","image_hspace":"Horizontal Space","image_vspace":"Vertical Space","image_dimensions":"Dimensions","image_alt":"Image Description","image_list":"Image List","image_border":"Border","image_src":"Image URL","image_title":"Insert/Edit Image","charmap_title":"Select Special Character","colorpicker_name":"Name:","colorpicker_color":"Color:","colorpicker_named_title":"Named Colors","colorpicker_named_tab":"Named","colorpicker_palette_title":"Palette Colors","colorpicker_palette_tab":"Palette","colorpicker_picker_title":"Color Picker","colorpicker_picker_tab":"Picker","colorpicker_title":"Select a Color","code_wordwrap":"Word Wrap","code_title":"HTML Source Editor","anchor_name":"Anchor Name","anchor_title":"Insert/Edit Anchor","about_loaded":"Loaded Plugins","about_version":"Version","about_author":"Author","about_plugin":"Plugin","about_plugins":"Plugins","about_license":"License","about_help":"Help","about_general":"About","about_title":"About TinyMCE","charmap_usage":"Use left and right arrows to navigate.","anchor_invalid":"Please specify a valid anchor name.","accessibility_help":"Accessibility Help","accessibility_usage_title":"General Usage","invalid_color_value":"Invalid color value"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/hu.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/hu.js
new file mode 100644
index 00000000..ddd85347
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/hu.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('hu.advanced',{"underline_desc":"Al\u00e1h\u00fazott (Ctrl+U)","italic_desc":"D\u0151lt (Ctrl+I)","bold_desc":"F\u00e9lk\u00f6v\u00e9r (Ctrl+B)",dd:"Defin\u00edci\u00f3 a defin\u00edci\u00f3s list\u00e1ban",dt:"Defini\u00e1lt kifejez\u00e9s a defin\u00edci\u00f3s list\u00e1ban",samp:"K\u00f3d minta",code:"K\u00f3d",blockquote:"Id\u00e9zet",h6:"C\u00edmsor 6",h5:"C\u00edmsor 5",h4:"C\u00edmsor 4",h3:"C\u00edmsor 3",h2:"C\u00edmsor 2",h1:"C\u00edmsor 1",pre:"El\u0151form\u00e1zott",address:"C\u00edm",div:"DIV",paragraph:"Bekezd\u00e9s",block:"Form\u00e1tum",fontdefault:"Bet\u0171t\u00edpus","font_size":"Bet\u0171m\u00e9ret","style_select":"St\u00edlusok","image_delta_height":"","image_delta_width":"","more_colors":"Tov\u00e1bbi sz\u00ednek...","toolbar_focus":"Eszk\u00f6z-gombokra ugr\u00e1s - Alt Q, Szerkeszt\u0151h\u00f6z ugr\u00e1s - Alt-Z, Elem\u00fatvonalhoz ugr\u00e1s - Alt-X",newdocument:"Biztosan t\u00f6rli az \u00f6sszes tartalmat?",path:"\u00datvonal","clipboard_msg":"A M\u00e1sol\u00e1s/Kiv\u00e1g\u00e1s/Besz\u00far\u00e1s funkci\u00f3k nem \u00e9rhet\u0151ek el Mozilla \u00e9s Firefox alatt. Szeretne t\u00f6bbet megtudni err\u0151l?","blockquote_desc":"Id\u00e9zet","help_desc":"Seg\u00edts\u00e9g","newdocument_desc":"\u00daj dokumentum","image_props_desc":"K\u00e9p tulajdons\u00e1gai","paste_desc":"Besz\u00far\u00e1s (Ctrl V)","copy_desc":"M\u00e1sol\u00e1s (Ctrl C)","cut_desc":"Kiv\u00e1g\u00e1s (Ctrl X) ","anchor_desc":"Horgony besz\u00far\u00e1sa/szerkeszt\u00e9se","visualaid_desc":"Vezet\u0151vonalak/nem l\u00e1that\u00f3 elemek ki-/bekapcsol\u00e1sa","charmap_desc":"Speci\u00e1lis karakter besz\u00far\u00e1sa","backcolor_desc":"H\u00e1tt\u00e9rsz\u00edn v\u00e1laszt\u00e1sa","forecolor_desc":"Sz\u00f6vegsz\u00edn v\u00e1laszt\u00e1sa","custom1_desc":"Az \u00f6n egyedi le\u00edr\u00e1sa","removeformat_desc":"Form\u00e1z\u00e1s elt\u00e1vol\u00edt\u00e1sa","hr_desc":"V\u00edzszintes elv\u00e1laszt\u00f3 vonal besz\u00far\u00e1sa","sup_desc":"Fels\u0151 index","sub_desc":"Als\u00f3 index","code_desc":"HTML forr\u00e1sk\u00f3d szerkeszt\u00e9se","cleanup_desc":"Minden form\u00e1z\u00e1s elt\u00e1vol\u00edt\u00e1sa","image_desc":"K\u00e9p besz\u00far\u00e1sa/szerkeszt\u00e9se","unlink_desc":"Link elt\u00e1vol\u00edt\u00e1sa","link_desc":"Link besz\u00far\u00e1sa/szerkeszt\u00e9se","redo_desc":"M\u00e9gis v\u00e9grehajt (Ctrl+Y)","undo_desc":"Visszavon\u00e1s (Ctrl+Z)","indent_desc":"Beh\u00faz\u00e1s n\u00f6vel\u00e9se","outdent_desc":"Beh\u00faz\u00e1s cs\u00f6kkent\u00e9se","numlist_desc":"Sz\u00e1mozott lista besz\u00far\u00e1sa/elt\u00e1vol\u00edt\u00e1sa","bullist_desc":"Felsorol\u00e1s besz\u00far\u00e1sa/elt\u00e1vol\u00edt\u00e1sa","justifyfull_desc":"Sorkiz\u00e1rt","justifyright_desc":"Jobbra z\u00e1rt","justifycenter_desc":"K\u00f6z\u00e9pre z\u00e1rt","justifyleft_desc":"Balra z\u00e1rt","striketrough_desc":"\u00c1th\u00fazott","help_shortcut":"Ugr\u00e1s az eszk\u00f6zt\u00e1rhoz: ALT-F10. Seg\u00edts\u00e9g: ALT-0.","rich_text_area":"Rich Text ter\u00fclet","shortcuts_desc":"El\u00e9rhet\u0151s\u00e9g s\u00fag\u00f3",toolbar:"Eszk\u00f6zt\u00e1r","anchor_delta_height":"","anchor_delta_width":"","charmap_delta_height":"","charmap_delta_width":"","colorpicker_delta_height":"","colorpicker_delta_width":"","link_delta_height":"","link_delta_width":""}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/hu_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/hu_dlg.js
new file mode 100644
index 00000000..4322cb69
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/hu_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('hu.advanced_dlg',{"link_list":"Link lista","link_is_external":"A be\u00edrt internet c\u00edm k\u00fcls\u0151 hivatkoz\u00e1snak t\u0171nik, k\u00edv\u00e1nja a sz\u00fcks\u00e9ges http:// el\u0151taggal kieg\u00e9sz\u00edteni?","link_is_email":"A be\u00edrt internet c\u00edm e-mail c\u00edmnek t\u0171nik, k\u00edv\u00e1nja a sz\u00fcks\u00e9ges mailto: el\u0151taggal kieg\u00e9sz\u00edteni?","link_titlefield":"C\u00edm","link_target_blank":"Hivatkoz\u00e1s megnyit\u00e1sa \u00faj ablakban","link_target_same":"Hivatkoz\u00e1s megnyit\u00e1sa ugyanabban az ablakban","link_target":"Hivatkoz\u00e1s c\u00e9lja","link_url":"Internet c\u00edm","link_title":"Link besz\u00far\u00e1sa/szerkeszt\u00e9se","image_align_right":"Jobbra","image_align_left":"Balra","image_align_textbottom":"Sz\u00f6veg alj\u00e1hoz","image_align_texttop":"Sz\u00f6veg tetej\u00e9hez","image_align_bottom":"Lentre","image_align_middle":"K\u00f6z\u00e9pre","image_align_top":"Fentre","image_align_baseline":"Alapvonalhoz","image_align":"Igaz\u00edt\u00e1s","image_hspace":"V\u00edzszintes t\u00e1v","image_vspace":"F\u00fcgg\u0151leges t\u00e1v","image_dimensions":"M\u00e9retek","image_alt":"K\u00e9p le\u00edr\u00e1s","image_list":"K\u00e9p lista","image_border":"Keret","image_src":"K\u00e9p URL","image_title":"K\u00e9p besz\u00far\u00e1sa/szerkeszt\u00e9se","charmap_title":"Speci\u00e1lis karakter v\u00e1laszt\u00e1sa","colorpicker_name":"N\u00e9v:","colorpicker_color":"Sz\u00edn:","colorpicker_named_title":"Elnevezett sz\u00ednek","colorpicker_named_tab":"Elnevezett","colorpicker_palette_title":"Paletta sz\u00ednek","colorpicker_palette_tab":"Paletta","colorpicker_picker_title":"Sz\u00ednv\u00e1laszt\u00f3","colorpicker_picker_tab":"V\u00e1laszt\u00f3","colorpicker_title":"Sz\u00ednv\u00e1laszt\u00e1s","code_wordwrap":"Sz\u00f6veg t\u00f6rdel\u00e9se","code_title":"HTML forr\u00e1s szerkeszt\u00e9se","anchor_name":"Horgonyn\u00e9v","anchor_title":"Horgony besz\u00far\u00e1sa/szerkeszt\u00e9se","about_loaded":"Bet\u00f6lt\u00f6tt pluginok","about_version":"Verzi\u00f3","about_author":"Szerz\u0151","about_plugin":"Plugin","about_plugins":"Pluginok","about_license":"Licensz","about_help":"Seg\u00edts\u00e9g","about_general":"R\u00f3lunk","about_title":"A TinyMCE-r\u0151l","charmap_usage":"A navig\u00e1l\u00e1shoz haszn\u00e1ld a bal \u00e9s jobb oldali nyilat.","anchor_invalid":"Adjon meg egy helyes horgony nevet.","accessibility_help":"El\u00e9rhet\u0151s\u00e9g s\u00fag\u00f3","accessibility_usage_title":"\u00c1ltal\u00e1nos haszn\u00e1lat","invalid_color_value":"\u00c9rv\u00e9nytelen sz\u00edn \u00e9rt\u00e9k"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/ja.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/ja.js
new file mode 100755
index 00000000..f5533c54
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/ja.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('ja.advanced',{"underline_desc":"\u4e0b\u7dda (Ctrl+U)","italic_desc":"\u659c\u4f53 (Ctrl+I)","bold_desc":"\u592a\u5b57 (Ctrl+B)",dd:"\u8a9e\u53e5\u306e\u8aac\u660e",dt:"\u8a9e\u53e5\u306e\u5b9a\u7fa9",samp:"\u30b3\u30fc\u30c9\u306e\u4f8b",code:"\u30b3\u30fc\u30c9",blockquote:"\u5f15\u7528",h6:"\u898b\u51fa\u30576",h5:"\u898b\u51fa\u30575",h4:"\u898b\u51fa\u30574",h3:"\u898b\u51fa\u30573",h2:"\u898b\u51fa\u30572",h1:"\u898b\u51fa\u30571",pre:"\u6574\u5f62\u6e08\u307f",address:"\u4f4f\u6240",div:"div\u8981\u7d20",paragraph:"\u6bb5\u843d",block:"\u66f8\u5f0f",fontdefault:"\u30d5\u30a9\u30f3\u30c8","font_size":"\u30d5\u30a9\u30f3\u30c8\u306e\u5927\u304d\u3055","style_select":"\u30b9\u30bf\u30a4\u30eb","more_colors":"\u3055\u3089\u306b\u8272\u3092\u4f7f\u7528...","toolbar_focus":"\u30c4\u30fc\u30eb\u30dc\u30bf\u30f3\u3078\u79fb\u52d5 - Alt Q, \u30a8\u30c7\u30a3\u30bf\u306b\u79fb\u52d5 - Alt-Z, \u8981\u7d20\u306e\u30d1\u30b9\u3078\u79fb\u52d5 - Alt-X",newdocument:"\u672c\u5f53\u306b\u3059\u3079\u3066\u306e\u5185\u5bb9\u3092\u6d88\u53bb\u3057\u3066\u3088\u3044\u3067\u3059\u304b?",path:"\u30d1\u30b9","clipboard_msg":"\u30b3\u30d4\u30fc/\u5207\u308a\u53d6\u308a/\u8cbc\u308a\u4ed8\u3051\u306fMozilla\u3068Firefox\u3067\u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002\n\u3053\u306e\u554f\u984c\u306e\u8a73\u7d30\u3092\u77e5\u308a\u305f\u3044\u3067\u3059\u304b?","blockquote_desc":"\u5f15\u7528\u30d6\u30ed\u30c3\u30af","help_desc":"\u30d8\u30eb\u30d7","newdocument_desc":"\u65b0\u3057\u3044\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8","image_props_desc":"\u753b\u50cf\u306e\u5c5e\u6027","paste_desc":"\u8cbc\u308a\u4ed8\u3051","copy_desc":"\u30b3\u30d4\u30fc","cut_desc":"\u5207\u308a\u53d6\u308a","anchor_desc":"\u30a2\u30f3\u30ab\u30fc\u306e\u633f\u5165/\u7de8\u96c6","visualaid_desc":"\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u3068\u975e\u8868\u793a\u8981\u7d20\u306e\u8868\u793a\u3092\u5207\u66ff","charmap_desc":"\u7279\u6b8a\u6587\u5b57","backcolor_desc":"\u80cc\u666f\u306e\u8272","forecolor_desc":"\u6587\u5b57\u306e\u8272","custom1_desc":"\u8aac\u660e\u6587\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002","removeformat_desc":"\u66f8\u5f0f\u306e\u524a\u9664","hr_desc":"\u6c34\u5e73\u7dda\u3092\u633f\u5165","sup_desc":"\u4e0a\u4ed8\u304d\u6587\u5b57","sub_desc":"\u4e0b\u4ed8\u304d\u6587\u5b57","code_desc":"HTML\u306e\u30bd\u30fc\u30b9\u3092\u7de8\u96c6","cleanup_desc":"\u4e71\u96d1\u306a\u30b3\u30fc\u30c9\u3092\u6574\u5f62","image_desc":"\u753b\u50cf\u306e\u633f\u5165/\u7de8\u96c6","unlink_desc":"\u30ea\u30f3\u30af\u3092\u89e3\u9664","link_desc":"\u30ea\u30f3\u30af\u306e\u633f\u5165/\u7de8\u96c6","redo_desc":"\u3084\u308a\u76f4\u3059 (Ctrl+Y)","undo_desc":"\u5143\u306b\u623b\u3059 (Ctrl+Z)","indent_desc":"\u5b57\u4e0b\u3052\u3092\u5897\u3084\u3059","outdent_desc":"\u5b57\u4e0b\u3052\u3092\u6e1b\u3089\u3059","numlist_desc":"\u756a\u53f7\u3064\u304d\u30ea\u30b9\u30c8","bullist_desc":"\u756a\u53f7\u306a\u3057\u30ea\u30b9\u30c8","justifyfull_desc":"\u5747\u7b49\u5272\u4ed8","justifyright_desc":"\u53f3\u63c3\u3048","justifycenter_desc":"\u4e2d\u592e\u63c3\u3048","justifyleft_desc":"\u5de6\u63c3\u3048","striketrough_desc":"\u53d6\u308a\u6d88\u3057\u7dda","help_shortcut":"ALT-F10 \u3067\u30c4\u30fc\u30eb\u30d0\u30fc\u3001ALT-0 \u3067\u30d8\u30eb\u30d7","rich_text_area":"\u30ea\u30c3\u30c1\u30c6\u30ad\u30b9\u30c8\u30a8\u30ea\u30a2","shortcuts_desc":"\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u306e\u30d8\u30eb\u30d7",toolbar:"\u30c4\u30fc\u30eb\u30d0\u30fc","anchor_delta_height":"","anchor_delta_width":"","charmap_delta_height":"","charmap_delta_width":"","colorpicker_delta_height":"","colorpicker_delta_width":"","link_delta_height":"","link_delta_width":"","image_delta_height":"","image_delta_width":""}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/ja_dlg.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/ja_dlg.js
new file mode 100644
index 00000000..234fb71a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/ja_dlg.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('ja.advanced_dlg',{"link_list":"\u30ea\u30f3\u30af\u306e\u4e00\u89a7","link_is_external":"\u5165\u529b\u3057\u305fURL\u306f\u5916\u90e8\u306e\u30ea\u30f3\u30af\u306e\u3088\u3046\u3067\u3059\u3002\u30ea\u30f3\u30af\u306b http:// \u3092\u8ffd\u52a0\u3057\u307e\u3059\u304b?","link_is_email":"\u5165\u529b\u3057\u305fURL\u306f\u96fb\u5b50\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u3088\u3046\u3067\u3059\u3002\u30ea\u30f3\u30af\u306b mailto: \u3092\u8ffd\u52a0\u3057\u307e\u3059\u304b?","link_titlefield":"\u30bf\u30a4\u30c8\u30eb","link_target_blank":"\u65b0\u3057\u3044\u30a6\u30a4\u30f3\u30c9\u30a6\u3067\u958b\u304f","link_target_same":"\u540c\u3058\u30a6\u30a4\u30f3\u30c9\u30a6\u3067\u958b\u304f","link_target":"\u30bf\u30fc\u30b2\u30c3\u30c8","link_url":"\u30ea\u30f3\u30af\u306eURL","link_title":"\u30ea\u30f3\u30af\u306e\u633f\u5165\u3084\u7de8\u96c6","image_align_right":"\u53f3\u63c3\u3048","image_align_left":"\u5de6\u63c3\u3048","image_align_textbottom":"\u30c6\u30ad\u30b9\u30c8\u306e\u4e0b\u7aef\u63c3\u3048","image_align_texttop":"\u30c6\u30ad\u30b9\u30c8\u306e\u4e0a\u7aef\u63c3\u3048","image_align_bottom":"\u4e0b\u63c3\u3048","image_align_middle":"\u4e2d\u592e\u63c3\u3048","image_align_top":"\u4e0a\u63c3\u3048","image_align_baseline":"\u30d9\u30fc\u30b9\u30e9\u30a4\u30f3\u63c3\u3048","image_align":"\u914d\u7f6e","image_hspace":"\u5de6\u53f3\u306e\u4f59\u767d","image_vspace":"\u4e0a\u4e0b\u306e\u4f59\u767d","image_dimensions":"\u5bf8\u6cd5","image_alt":"\u753b\u50cf\u306e\u8aac\u660e","image_list":"\u753b\u50cf\u306e\u4e00\u89a7","image_border":"\u67a0\u7dda","image_src":"\u753b\u50cf\u306eURL","image_title":"\u753b\u50cf\u306e\u633f\u5165\u3084\u7de8\u96c6","charmap_title":"\u7279\u6b8a\u6587\u5b57","colorpicker_name":"\u540d\u524d:","colorpicker_color":"\u8272:","colorpicker_named_title":"\u5b9a\u7fa9\u6e08\u307f\u306e\u8272","colorpicker_named_tab":"\u5b9a\u7fa9\u6e08\u307f","colorpicker_palette_title":"\u30d1\u30ec\u30c3\u30c8\u306e\u8272","colorpicker_palette_tab":"\u30d1\u30ec\u30c3\u30c8","colorpicker_picker_title":"\u8272\u9078\u629e","colorpicker_picker_tab":"\u9078\u629e","colorpicker_title":"\u8272\u3092\u9078\u629e","code_wordwrap":"\u884c\u306e\u6298\u308a\u8fd4\u3057","code_title":"HTML\u306e\u30bd\u30fc\u30b9\u30a8\u30c7\u30a3\u30bf","anchor_name":"\u30a2\u30f3\u30ab\u30fc\u306e\u540d\u524d","anchor_title":"\u30a2\u30f3\u30ab\u30fc\u306e\u633f\u5165\u3084\u7de8\u96c6","about_loaded":"\u8aad\u307f\u8fbc\u307f\u6e08\u307f\u306e\u30d7\u30e9\u30b0\u30a4\u30f3","about_version":"\u30d0\u30fc\u30b8\u30e7\u30f3","about_author":"\u4f5c\u6210\u8005","about_plugin":"\u30d7\u30e9\u30b0\u30a4\u30f3","about_plugins":"\u30d7\u30e9\u30b0\u30a4\u30f3","about_license":"\u30e9\u30a4\u30bb\u30f3\u30b9","about_help":"\u30d8\u30eb\u30d7","about_general":"TinyMCE\u306b\u3064\u3044\u3066","about_title":"TinyMCE\u306b\u3064\u3044\u3066","charmap_usage":"\u5de6\u53f3\u306e\u30ab\u30fc\u30bd\u30eb\u30ad\u30fc\u3092\u4f7f\u7528\u3057\u3066\u79fb\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002","anchor_invalid":"\u6709\u52b9\u306a\u30a2\u30f3\u30ab\u30fc\u306e\u540d\u524d\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002","accessibility_help":"\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u306e\u30d8\u30eb\u30d7","accessibility_usage_title":"\u5168\u822c\u7684\u306a\u4f7f\u3044\u65b9","invalid_color_value":"\u7121\u52b9\u306a\u5024"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/link.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/link.htm
new file mode 100755
index 00000000..5d9dea9b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/link.htm
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#advanced_dlg.link_title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
+ <script type="text/javascript" src="../../utils/validate.js"></script>
+ <script type="text/javascript" src="js/link.js"></script>
+</head>
+<body id="link" style="display: none">
+<form onsubmit="LinkDialog.update();return false;" action="#">
+ <div class="tabs">
+ <ul>
+ <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advanced_dlg.link_title}</a></span></li>
+ </ul>
+ </div>
+
+ <div class="panel_wrapper">
+ <div id="general_panel" class="panel current">
+ <table border="0" cellpadding="4" cellspacing="0">
+ <tr>
+ <td class="nowrap"><label for="href">{#advanced_dlg.link_url}</label></td>
+ <td><table border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><input id="href" name="href" type="text" class="mceFocus" value="" style="width: 200px" onchange="LinkDialog.checkPrefix(this);" /></td>
+ <td id="hrefbrowsercontainer">&nbsp;</td>
+ </tr>
+ </table></td>
+ </tr>
+ <tr>
+ <td><label for="link_list">{#advanced_dlg.link_list}</label></td>
+ <td><select id="link_list" name="link_list" onchange="document.getElementById('href').value=this.options[this.selectedIndex].value;"></select></td>
+ </tr>
+ <tr>
+ <td><label id="targetlistlabel" for="targetlist">{#advanced_dlg.link_target}</label></td>
+ <td><select id="target_list" name="target_list"></select></td>
+ </tr>
+ <tr>
+ <td class="nowrap"><label for="linktitle">{#advanced_dlg.link_titlefield}</label></td>
+ <td><input id="linktitle" name="linktitle" type="text" value="" style="width: 200px" /></td>
+ </tr>
+ <tr>
+ <td><label for="class_list">{#class_name}</label></td>
+ <td><select id="class_list" name="class_list"></select></td>
+ </tr>
+ </table>
+ </div>
+ </div>
+
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#insert}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+</form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/shortcuts.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/shortcuts.htm
new file mode 100644
index 00000000..20ec2f5a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/shortcuts.htm
@@ -0,0 +1,47 @@
+<!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>
+ <title>{#advanced_dlg.accessibility_help}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript">tinyMCEPopup.requireLangPack();</script>
+ </head>
+ <body id="content">
+ <h1>{#advanced_dlg.accessibility_usage_title}</h1>
+ <h2>Toolbars</h2>
+ <p>Press ALT-F10 to move focus to the toolbars. Navigate through the buttons using the arrow keys.
+ Press enter to activate a button and return focus to the editor.
+ Press escape to return focus to the editor without performing any actions.</p>
+
+ <h2>Status Bar</h2>
+ <p>To access the editor status bar, press ALT-F11. Use the left and right arrow keys to navigate between elements in the path.
+ Press enter or space to select an element. Press escape to return focus to the editor without changing the selection.</p>
+
+ <h2>Context Menu</h2>
+ <p>Press shift-F10 to activate the context menu. Use the up and down arrow keys to move between menu items. To open sub-menus press the right arrow key.
+ To close submenus press the left arrow key. Press escape to close the context menu.</p>
+
+ <h1>Keyboard Shortcuts</h1>
+ <table>
+ <thead>
+ <tr>
+ <th>Keystroke</th>
+ <th>Function</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Control-B</td><td>Bold</td>
+ </tr>
+ <tr>
+ <td>Control-I</td><td>Italic</td>
+ </tr>
+ <tr>
+ <td>Control-Z</td><td>Undo</td>
+ </tr>
+ <tr>
+ <td>Control-Y</td><td>Redo</td>
+ </tr>
+ </tbody>
+ </table>
+ </body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/content.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/content.css
new file mode 100644
index 00000000..2fd94a1f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/content.css
@@ -0,0 +1,50 @@
+body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;}
+body {background:#FFF;}
+body.mceForceColors {background:#FFF; color:#000;}
+body.mceBrowserDefaults {background:transparent; color:inherit; font-size:inherit; font-family:inherit;}
+h1 {font-size: 2em}
+h2 {font-size: 1.5em}
+h3 {font-size: 1.17em}
+h4 {font-size: 1em}
+h5 {font-size: .83em}
+h6 {font-size: .75em}
+.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;}
+a.mceItemAnchor {display:inline-block; -webkit-user-select:all; -webkit-user-modify:read-only; -moz-user-select:all; -moz-user-modify:read-only; width:11px !important; height:11px !important; background:url(img/items.gif) no-repeat center center}
+span.mceItemNbsp {background: #DDD}
+td.mceSelected, th.mceSelected {background-color:#3399ff !important}
+img {border:0;}
+table, img, hr, .mceItemAnchor {cursor:default}
+table td, table th {cursor:text}
+ins {border-bottom:1px solid green; text-decoration: none; color:green}
+del {color:red; text-decoration:line-through}
+cite {border-bottom:1px dashed blue}
+acronym {border-bottom:1px dotted #CCC; cursor:help}
+abbr {border-bottom:1px dashed #CCC; cursor:help}
+
+/* IE */
+* html body {
+scrollbar-3dlight-color:#F0F0EE;
+scrollbar-arrow-color:#676662;
+scrollbar-base-color:#F0F0EE;
+scrollbar-darkshadow-color:#DDD;
+scrollbar-face-color:#E0E0DD;
+scrollbar-highlight-color:#F0F0EE;
+scrollbar-shadow-color:#F0F0EE;
+scrollbar-track-color:#F5F5F5;
+}
+
+img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px}
+font[face=mceinline] {font-family:inherit !important}
+*[contentEditable]:focus {outline:0}
+
+.mceItemMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc}
+.mceItemShockWave {background-image:url(../../img/shockwave.gif)}
+.mceItemFlash {background-image:url(../../img/flash.gif)}
+.mceItemQuickTime {background-image:url(../../img/quicktime.gif)}
+.mceItemWindowsMedia {background-image:url(../../img/windowsmedia.gif)}
+.mceItemRealMedia {background-image:url(../../img/realmedia.gif)}
+.mceItemVideo {background-image:url(../../img/video.gif)}
+.mceItemAudio {background-image:url(../../img/video.gif)}
+.mceItemEmbeddedAudio {background-image:url(../../img/video.gif)}
+.mceItemIframe {background-image:url(../../img/iframe.gif)}
+.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../../img/pagebreak.gif) no-repeat center top;}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/dialog.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/dialog.css
new file mode 100644
index 00000000..879786fc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/dialog.css
@@ -0,0 +1,118 @@
+/* Generic */
+body {
+font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px;
+scrollbar-3dlight-color:#F0F0EE;
+scrollbar-arrow-color:#676662;
+scrollbar-base-color:#F0F0EE;
+scrollbar-darkshadow-color:#DDDDDD;
+scrollbar-face-color:#E0E0DD;
+scrollbar-highlight-color:#F0F0EE;
+scrollbar-shadow-color:#F0F0EE;
+scrollbar-track-color:#F5F5F5;
+background:#F0F0EE;
+padding:0;
+margin:8px 8px 0 8px;
+}
+
+html {background:#F0F0EE;}
+td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
+textarea {resize:none;outline:none;}
+a:link, a:visited {color:black;}
+a:hover {color:#2B6FB6;}
+.nowrap {white-space: nowrap}
+
+/* Forms */
+fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;}
+legend {color:#2B6FB6; font-weight:bold;}
+label.msg {display:none;}
+label.invalid {color:#EE0000; display:inline;}
+input.invalid {border:1px solid #EE0000;}
+input {background:#FFF; border:1px solid #CCC;}
+input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
+input, select, textarea {border:1px solid #808080;}
+input.radio {border:1px none #000000; background:transparent; vertical-align:middle;}
+input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;}
+.input_noborder {border:0;}
+
+/* Buttons */
+#insert, #cancel, input.button, .updateButton {
+border:0; margin:0; padding:0;
+font-weight:bold;
+width:94px; height:26px;
+background:url(img/buttons.png) 0 -26px;
+cursor:pointer;
+padding-bottom:2px;
+float:left;
+}
+
+#insert {background:url(img/buttons.png) 0 -52px}
+#cancel {background:url(img/buttons.png) 0 0; float:right}
+
+/* Browse */
+a.pickcolor, a.browse {text-decoration:none}
+a.browse span {display:block; width:20px; height:18px; background:url(../../img/icons.gif) -860px 0; border:1px solid #FFF; margin-left:1px;}
+.mceOldBoxModel a.browse span {width:22px; height:20px;}
+a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;}
+a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
+a.browse:hover span.disabled {border:1px solid white; background-color:transparent;}
+a.pickcolor span {display:block; width:20px; height:16px; background:url(../../img/icons.gif) -840px 0; margin-left:2px;}
+.mceOldBoxModel a.pickcolor span {width:21px; height:17px;}
+a.pickcolor:hover span {background-color:#B2BBD0;}
+a.pickcolor:hover span.disabled {}
+
+/* Charmap */
+table.charmap {border:1px solid #AAA; text-align:center}
+td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;}
+#charmap a {display:block; color:#000; text-decoration:none; border:0}
+#charmap a:hover {background:#CCC;color:#2B6FB6}
+#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center}
+#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center}
+
+/* Source */
+.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;}
+.mceActionPanel {margin-top:5px;}
+
+/* Tabs classes */
+.tabs {width:100%; height:18px; line-height:normal; background:url(img/tabs.gif) repeat-x 0 -72px;}
+.tabs ul {margin:0; padding:0; list-style:none;}
+.tabs li {float:left; background:url(img/tabs.gif) no-repeat 0 0; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;}
+.tabs li.current {background:url(img/tabs.gif) no-repeat 0 -18px; margin-right:2px;}
+.tabs span {float:left; display:block; background:url(img/tabs.gif) no-repeat right -36px; padding:0px 10px 0 0;}
+.tabs .current span {background:url(img/tabs.gif) no-repeat right -54px;}
+.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;}
+.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;}
+
+/* Panels */
+.panel_wrapper div.panel {display:none;}
+.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;}
+.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;}
+
+/* Columns */
+.column {float:left;}
+.properties {width:100%;}
+.properties .column1 {}
+.properties .column2 {text-align:left;}
+
+/* Titles */
+h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;}
+h3 {font-size:14px;}
+.title {font-size:12px; font-weight:bold; color:#2B6FB6;}
+
+/* Dialog specific */
+#link .panel_wrapper, #link div.current {height:125px;}
+#image .panel_wrapper, #image div.current {height:200px;}
+#plugintable thead {font-weight:bold; background:#DDD;}
+#plugintable, #about #plugintable td {border:1px solid #919B9C;}
+#plugintable {width:96%; margin-top:10px;}
+#pluginscontainer {height:290px; overflow:auto;}
+#colorpicker #preview {display:inline-block; padding-left:40px; height:14px; border:1px solid black; margin-left:5px; margin-right: 5px}
+#colorpicker #previewblock {position: relative; top: -3px; padding-left:5px; padding-top: 0px; display:inline}
+#colorpicker #preview_wrapper { text-align:center; padding-top:4px; white-space: nowrap}
+#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;}
+#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;}
+#colorpicker #light div {overflow:hidden;}
+#colorpicker .panel_wrapper div.current {height:175px;}
+#colorpicker #namedcolors {width:150px;}
+#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;}
+#colorpicker #colornamecontainer {margin-top:5px;}
+#colorpicker #picker_panel fieldset {margin:auto;width:325px;}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/buttons.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/buttons.png
new file mode 100644
index 00000000..1e53560e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/buttons.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/items.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/items.gif
new file mode 100644
index 00000000..d2f93671
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/items.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif
new file mode 100644
index 00000000..85e31dfb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/menu_check.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/menu_check.gif
new file mode 100644
index 00000000..adfdddcc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/menu_check.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/progress.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/progress.gif
new file mode 100644
index 00000000..5bb90fd6
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/progress.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/tabs.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/tabs.gif
new file mode 100644
index 00000000..06812cb4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/tabs.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/ui.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/ui.css
new file mode 100644
index 00000000..77083f31
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/ui.css
@@ -0,0 +1,219 @@
+/* Reset */
+.defaultSkin table, .defaultSkin tbody, .defaultSkin a, .defaultSkin img, .defaultSkin tr, .defaultSkin div, .defaultSkin td, .defaultSkin iframe, .defaultSkin span, .defaultSkin *, .defaultSkin .mceText {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000; vertical-align:baseline; width:auto; border-collapse:separate; text-align:left}
+.defaultSkin a:hover, .defaultSkin a:link, .defaultSkin a:visited, .defaultSkin a:active {text-decoration:none; font-weight:normal; cursor:default; color:#000}
+.defaultSkin table td {vertical-align:middle}
+
+/* Containers */
+.defaultSkin table {direction:ltr;background:transparent}
+.defaultSkin iframe {display:block;}
+.defaultSkin .mceToolbar {height:26px}
+.defaultSkin .mceLeft {text-align:left}
+.defaultSkin .mceRight {text-align:right}
+
+/* External */
+.defaultSkin .mceExternalToolbar {position:absolute; border:1px solid #CCC; border-bottom:0; display:none;}
+.defaultSkin .mceExternalToolbar td.mceToolbar {padding-right:13px;}
+.defaultSkin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px; background:url(../../img/icons.gif) -820px 0}
+
+/* Layout */
+.defaultSkin table.mceLayout {border:0; border-left:1px solid #CCC; border-right:1px solid #CCC}
+.defaultSkin table.mceLayout tr.mceFirst td {border-top:1px solid #CCC}
+.defaultSkin table.mceLayout tr.mceLast td {border-bottom:1px solid #CCC}
+.defaultSkin table.mceToolbar, .defaultSkin tr.mceFirst .mceToolbar tr td, .defaultSkin tr.mceLast .mceToolbar tr td {border:0; margin:0; padding:0;}
+.defaultSkin td.mceToolbar {background:#F0F0EE; padding-top:1px; vertical-align:top}
+.defaultSkin .mceIframeContainer {border-top:1px solid #CCC; border-bottom:1px solid #CCC}
+.defaultSkin .mceStatusbar {background:#F0F0EE; font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; display:block; height:20px}
+.defaultSkin .mceStatusbar div {float:left; margin:2px}
+.defaultSkin .mceStatusbar a.mceResize {display:block; float:right; background:url(../../img/icons.gif) -800px 0; width:20px; height:20px; cursor:se-resize; outline:0}
+.defaultSkin .mceStatusbar a:hover {text-decoration:underline}
+.defaultSkin table.mceToolbar {margin-left:3px}
+.defaultSkin span.mceIcon, .defaultSkin img.mceIcon {display:block; width:20px; height:20px}
+.defaultSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px}
+.defaultSkin td.mceCenter {text-align:center;}
+.defaultSkin td.mceCenter table {margin:0 auto; text-align:left;}
+.defaultSkin td.mceRight table {margin:0 0 0 auto;}
+
+/* Button */
+.defaultSkin .mceButton {display:block; border:1px solid #F0F0EE; width:20px; height:20px; margin-right:1px}
+.defaultSkin a.mceButtonEnabled:hover {border:1px solid #0A246A; background-color:#B2BBD0}
+.defaultSkin a.mceButtonActive, .defaultSkin a.mceButtonSelected {border:1px solid #0A246A; background-color:#C2CBE0}
+.defaultSkin .mceButtonDisabled .mceIcon {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
+.defaultSkin .mceButtonLabeled {width:auto}
+.defaultSkin .mceButtonLabeled span.mceIcon {float:left}
+.defaultSkin span.mceButtonLabel {display:block; font-size:10px; padding:4px 6px 0 22px; font-family:Tahoma,Verdana,Arial,Helvetica}
+.defaultSkin .mceButtonDisabled .mceButtonLabel {color:#888}
+
+/* Separator */
+.defaultSkin .mceSeparator {display:block; background:url(../../img/icons.gif) -180px 0; width:2px; height:20px; margin:2px 2px 0 4px}
+
+/* ListBox */
+.defaultSkin .mceListBox, .defaultSkin .mceListBox a {display:block}
+.defaultSkin .mceListBox .mceText {padding-left:4px; width:70px; text-align:left; border:1px solid #CCC; border-right:0; background:#FFF; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; height:20px; line-height:20px; overflow:hidden}
+.defaultSkin .mceListBox .mceOpen {width:9px; height:20px; background:url(../../img/icons.gif) -741px 0; margin-right:2px; border:1px solid #CCC;}
+.defaultSkin table.mceListBoxEnabled:hover .mceText, .defaultSkin .mceListBoxHover .mceText, .defaultSkin .mceListBoxSelected .mceText {border:1px solid #A2ABC0; border-right:0; background:#FFF}
+.defaultSkin table.mceListBoxEnabled:hover .mceOpen, .defaultSkin .mceListBoxHover .mceOpen, .defaultSkin .mceListBoxSelected .mceOpen {background-color:#FFF; border:1px solid #A2ABC0}
+.defaultSkin .mceListBoxDisabled a.mceText {color:gray; background-color:transparent;}
+.defaultSkin .mceListBoxMenu {overflow:auto; overflow-x:hidden}
+.defaultSkin .mceOldBoxModel .mceListBox .mceText {height:22px}
+.defaultSkin .mceOldBoxModel .mceListBox .mceOpen {width:11px; height:22px;}
+.defaultSkin select.mceNativeListBox {font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:7pt; background:#F0F0EE; border:1px solid gray; margin-right:2px;}
+
+/* SplitButton */
+.defaultSkin .mceSplitButton {width:32px; height:20px; direction:ltr}
+.defaultSkin .mceSplitButton a, .defaultSkin .mceSplitButton span {height:20px; display:block}
+.defaultSkin .mceSplitButton a.mceAction {width:20px; border:1px solid #F0F0EE; border-right:0;}
+.defaultSkin .mceSplitButton span.mceAction {width:20px; background-image:url(../../img/icons.gif);}
+.defaultSkin .mceSplitButton a.mceOpen {width:9px; background:url(../../img/icons.gif) -741px 0; border:1px solid #F0F0EE;}
+.defaultSkin .mceSplitButton span.mceOpen {display:none}
+.defaultSkin table.mceSplitButtonEnabled:hover a.mceAction, .defaultSkin .mceSplitButtonHover a.mceAction, .defaultSkin .mceSplitButtonSelected a.mceAction {border:1px solid #0A246A; border-right:0; background-color:#B2BBD0}
+.defaultSkin table.mceSplitButtonEnabled:hover a.mceOpen, .defaultSkin .mceSplitButtonHover a.mceOpen, .defaultSkin .mceSplitButtonSelected a.mceOpen {background-color:#B2BBD0; border:1px solid #0A246A;}
+.defaultSkin .mceSplitButtonDisabled .mceAction, .defaultSkin .mceSplitButtonDisabled a.mceOpen {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
+.defaultSkin .mceSplitButtonActive a.mceAction {border:1px solid #0A246A; background-color:#C2CBE0}
+.defaultSkin .mceSplitButtonActive a.mceOpen {border-left:0;}
+
+/* ColorSplitButton */
+.defaultSkin div.mceColorSplitMenu table {background:#FFF; border:1px solid gray}
+.defaultSkin .mceColorSplitMenu td {padding:2px}
+.defaultSkin .mceColorSplitMenu a {display:block; width:9px; height:9px; overflow:hidden; border:1px solid #808080}
+.defaultSkin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px}
+.defaultSkin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF}
+.defaultSkin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid #0A246A; background-color:#B6BDD2}
+.defaultSkin a.mceMoreColors:hover {border:1px solid #0A246A}
+.defaultSkin .mceColorPreview {margin-left:2px; width:16px; height:4px; overflow:hidden; background:#9a9b9a}
+.defaultSkin .mce_forecolor span.mceAction, .defaultSkin .mce_backcolor span.mceAction {overflow:hidden; height:16px}
+
+/* Menu */
+.defaultSkin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid #D4D0C8; direction:ltr}
+.defaultSkin .mceNoIcons span.mceIcon {width:0;}
+.defaultSkin .mceNoIcons a .mceText {padding-left:10px}
+.defaultSkin .mceMenu table {background:#FFF}
+.defaultSkin .mceMenu a, .defaultSkin .mceMenu span, .defaultSkin .mceMenu {display:block}
+.defaultSkin .mceMenu td {height:20px}
+.defaultSkin .mceMenu a {position:relative;padding:3px 0 4px 0}
+.defaultSkin .mceMenu .mceText {position:relative; display:block; font-family:Tahoma,Verdana,Arial,Helvetica; color:#000; cursor:default; margin:0; padding:0 25px 0 25px; display:block}
+.defaultSkin .mceMenu span.mceText, .defaultSkin .mceMenu .mcePreview {font-size:11px}
+.defaultSkin .mceMenu pre.mceText {font-family:Monospace}
+.defaultSkin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:22px;}
+.defaultSkin .mceMenu .mceMenuItemEnabled a:hover, .defaultSkin .mceMenu .mceMenuItemActive {background-color:#dbecf3}
+.defaultSkin td.mceMenuItemSeparator {background:#DDD; height:1px}
+.defaultSkin .mceMenuItemTitle a {border:0; background:#EEE; border-bottom:1px solid #DDD}
+.defaultSkin .mceMenuItemTitle span.mceText {color:#000; font-weight:bold; padding-left:4px}
+.defaultSkin .mceMenuItemDisabled .mceText {color:#888}
+.defaultSkin .mceMenuItemSelected .mceIcon {background:url(img/menu_check.gif)}
+.defaultSkin .mceNoIcons .mceMenuItemSelected a {background:url(img/menu_arrow.gif) no-repeat -6px center}
+.defaultSkin .mceMenu span.mceMenuLine {display:none}
+.defaultSkin .mceMenuItemSub a {background:url(img/menu_arrow.gif) no-repeat top right;}
+.defaultSkin .mceMenuItem td, .defaultSkin .mceMenuItem th {line-height: normal}
+
+/* Progress,Resize */
+.defaultSkin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; -ms-filter:'alpha(opacity=50)'; filter:alpha(opacity=50); background:#FFF}
+.defaultSkin .mceProgress {position:absolute; left:0; top:0; z-index:1001; background:url(img/progress.gif) no-repeat; width:32px; height:32px; margin:-16px 0 0 -16px}
+
+/* Rtl */
+.mceRtl .mceListBox .mceText {text-align: right; padding: 0 4px 0 0}
+.mceRtl .mceMenuItem .mceText {text-align: right}
+
+/* Formats */
+.defaultSkin .mce_formatPreview a {font-size:10px}
+.defaultSkin .mce_p span.mceText {}
+.defaultSkin .mce_address span.mceText {font-style:italic}
+.defaultSkin .mce_pre span.mceText {font-family:monospace}
+.defaultSkin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em}
+.defaultSkin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em}
+.defaultSkin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em}
+.defaultSkin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em}
+.defaultSkin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em}
+.defaultSkin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em}
+
+/* Theme */
+.defaultSkin span.mce_bold {background-position:0 0}
+.defaultSkin span.mce_italic {background-position:-60px 0}
+.defaultSkin span.mce_underline {background-position:-140px 0}
+.defaultSkin span.mce_strikethrough {background-position:-120px 0}
+.defaultSkin span.mce_undo {background-position:-160px 0}
+.defaultSkin span.mce_redo {background-position:-100px 0}
+.defaultSkin span.mce_cleanup {background-position:-40px 0}
+.defaultSkin span.mce_bullist {background-position:-20px 0}
+.defaultSkin span.mce_numlist {background-position:-80px 0}
+.defaultSkin span.mce_justifyleft {background-position:-460px 0}
+.defaultSkin span.mce_justifyright {background-position:-480px 0}
+.defaultSkin span.mce_justifycenter {background-position:-420px 0}
+.defaultSkin span.mce_justifyfull {background-position:-440px 0}
+.defaultSkin span.mce_anchor {background-position:-200px 0}
+.defaultSkin span.mce_indent {background-position:-400px 0}
+.defaultSkin span.mce_outdent {background-position:-540px 0}
+.defaultSkin span.mce_link {background-position:-500px 0}
+.defaultSkin span.mce_unlink {background-position:-640px 0}
+.defaultSkin span.mce_sub {background-position:-600px 0}
+.defaultSkin span.mce_sup {background-position:-620px 0}
+.defaultSkin span.mce_removeformat {background-position:-580px 0}
+.defaultSkin span.mce_newdocument {background-position:-520px 0}
+.defaultSkin span.mce_image {background-position:-380px 0}
+.defaultSkin span.mce_help {background-position:-340px 0}
+.defaultSkin span.mce_code {background-position:-260px 0}
+.defaultSkin span.mce_hr {background-position:-360px 0}
+.defaultSkin span.mce_visualaid {background-position:-660px 0}
+.defaultSkin span.mce_charmap {background-position:-240px 0}
+.defaultSkin span.mce_paste {background-position:-560px 0}
+.defaultSkin span.mce_copy {background-position:-700px 0}
+.defaultSkin span.mce_cut {background-position:-680px 0}
+.defaultSkin span.mce_blockquote {background-position:-220px 0}
+.defaultSkin .mce_forecolor span.mceAction {background-position:-720px 0}
+.defaultSkin .mce_backcolor span.mceAction {background-position:-760px 0}
+.defaultSkin span.mce_forecolorpicker {background-position:-720px 0}
+.defaultSkin span.mce_backcolorpicker {background-position:-760px 0}
+
+/* Plugins */
+.defaultSkin span.mce_advhr {background-position:-0px -20px}
+.defaultSkin span.mce_ltr {background-position:-20px -20px}
+.defaultSkin span.mce_rtl {background-position:-40px -20px}
+.defaultSkin span.mce_emotions {background-position:-60px -20px}
+.defaultSkin span.mce_fullpage {background-position:-80px -20px}
+.defaultSkin span.mce_fullscreen {background-position:-100px -20px}
+.defaultSkin span.mce_iespell {background-position:-120px -20px}
+.defaultSkin span.mce_insertdate {background-position:-140px -20px}
+.defaultSkin span.mce_inserttime {background-position:-160px -20px}
+.defaultSkin span.mce_absolute {background-position:-180px -20px}
+.defaultSkin span.mce_backward {background-position:-200px -20px}
+.defaultSkin span.mce_forward {background-position:-220px -20px}
+.defaultSkin span.mce_insert_layer {background-position:-240px -20px}
+.defaultSkin span.mce_insertlayer {background-position:-260px -20px}
+.defaultSkin span.mce_movebackward {background-position:-280px -20px}
+.defaultSkin span.mce_moveforward {background-position:-300px -20px}
+.defaultSkin span.mce_media {background-position:-320px -20px}
+.defaultSkin span.mce_nonbreaking {background-position:-340px -20px}
+.defaultSkin span.mce_pastetext {background-position:-360px -20px}
+.defaultSkin span.mce_pasteword {background-position:-380px -20px}
+.defaultSkin span.mce_selectall {background-position:-400px -20px}
+.defaultSkin span.mce_preview {background-position:-420px -20px}
+.defaultSkin span.mce_print {background-position:-440px -20px}
+.defaultSkin span.mce_cancel {background-position:-460px -20px}
+.defaultSkin span.mce_save {background-position:-480px -20px}
+.defaultSkin span.mce_replace {background-position:-500px -20px}
+.defaultSkin span.mce_search {background-position:-520px -20px}
+.defaultSkin span.mce_styleprops {background-position:-560px -20px}
+.defaultSkin span.mce_table {background-position:-580px -20px}
+.defaultSkin span.mce_cell_props {background-position:-600px -20px}
+.defaultSkin span.mce_delete_table {background-position:-620px -20px}
+.defaultSkin span.mce_delete_col {background-position:-640px -20px}
+.defaultSkin span.mce_delete_row {background-position:-660px -20px}
+.defaultSkin span.mce_col_after {background-position:-680px -20px}
+.defaultSkin span.mce_col_before {background-position:-700px -20px}
+.defaultSkin span.mce_row_after {background-position:-720px -20px}
+.defaultSkin span.mce_row_before {background-position:-740px -20px}
+.defaultSkin span.mce_merge_cells {background-position:-760px -20px}
+.defaultSkin span.mce_table_props {background-position:-980px -20px}
+.defaultSkin span.mce_row_props {background-position:-780px -20px}
+.defaultSkin span.mce_split_cells {background-position:-800px -20px}
+.defaultSkin span.mce_template {background-position:-820px -20px}
+.defaultSkin span.mce_visualchars {background-position:-840px -20px}
+.defaultSkin span.mce_abbr {background-position:-860px -20px}
+.defaultSkin span.mce_acronym {background-position:-880px -20px}
+.defaultSkin span.mce_attribs {background-position:-900px -20px}
+.defaultSkin span.mce_cite {background-position:-920px -20px}
+.defaultSkin span.mce_del {background-position:-940px -20px}
+.defaultSkin span.mce_ins {background-position:-960px -20px}
+.defaultSkin span.mce_pagebreak {background-position:0 -40px}
+.defaultSkin span.mce_restoredraft {background-position:-20px -40px}
+.defaultSkin span.mce_spellchecker {background-position:-540px -20px}
+.defaultSkin span.mce_visualblocks {background-position: -40px -40px}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/content.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/content.css
new file mode 100644
index 00000000..cbce6c6a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/content.css
@@ -0,0 +1,24 @@
+body, td, pre { margin:8px;}
+body.mceForceColors {background:#FFF; color:#000;}
+h1 {font-size: 2em}
+h2 {font-size: 1.5em}
+h3 {font-size: 1.17em}
+h4 {font-size: 1em}
+h5 {font-size: .83em}
+h6 {font-size: .75em}
+.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;}
+a.mceItemAnchor {display:inline-block; width:11px !important; height:11px !important; background:url(../default/img/items.gif) no-repeat 0 0;}
+span.mceItemNbsp {background: #DDD}
+td.mceSelected, th.mceSelected {background-color:#3399ff !important}
+img {border:0;}
+table, img, hr, .mceItemAnchor {cursor:default}
+table td, table th {cursor:text}
+ins {border-bottom:1px solid green; text-decoration: none; color:green}
+del {color:red; text-decoration:line-through}
+cite {border-bottom:1px dashed blue}
+acronym {border-bottom:1px dotted #CCC; cursor:help}
+abbr {border-bottom:1px dashed #CCC; cursor:help}
+
+img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px}
+font[face=mceinline] {font-family:inherit !important}
+*[contentEditable]:focus {outline:0}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/dialog.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/dialog.css
new file mode 100644
index 00000000..6d9fc8dd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/dialog.css
@@ -0,0 +1,106 @@
+/* Generic */
+body {
+font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px;
+background:#F0F0EE;
+color: black;
+padding:0;
+margin:8px 8px 0 8px;
+}
+
+html {background:#F0F0EE; color:#000;}
+td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
+textarea {resize:none;outline:none;}
+a:link, a:visited {color:black;background-color:transparent;}
+a:hover {color:#2B6FB6;background-color:transparent;}
+.nowrap {white-space: nowrap}
+
+/* Forms */
+fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;}
+legend {color:#2B6FB6; font-weight:bold;}
+label.msg {display:none;}
+label.invalid {color:#EE0000; display:inline;background-color:transparent;}
+input.invalid {border:1px solid #EE0000;background-color:transparent;}
+input {background:#FFF; border:1px solid #CCC;color:black;}
+input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
+input, select, textarea {border:1px solid #808080;}
+input.radio {border:1px none #000000; background:transparent; vertical-align:middle;}
+input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;}
+.input_noborder {border:0;}
+
+/* Buttons */
+#insert, #cancel, input.button, .updateButton {
+font-weight:bold;
+width:94px; height:23px;
+cursor:pointer;
+padding-bottom:2px;
+float:left;
+}
+
+#cancel {float:right}
+
+/* Browse */
+a.pickcolor, a.browse {text-decoration:none}
+a.browse span {display:block; width:20px; height:18px; background:url(../../img/icons.gif) -860px 0; border:1px solid #FFF; margin-left:1px;}
+.mceOldBoxModel a.browse span {width:22px; height:20px;}
+a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;}
+a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
+a.browse:hover span.disabled {border:1px solid white; background-color:transparent;}
+a.pickcolor span {display:block; width:20px; height:16px; background:url(../../img/icons.gif) -840px 0; margin-left:2px;}
+.mceOldBoxModel a.pickcolor span {width:21px; height:17px;}
+a.pickcolor:hover span {background-color:#B2BBD0;}
+a.pickcolor:hover span.disabled {}
+
+/* Charmap */
+table.charmap {border:1px solid #AAA; text-align:center}
+td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;}
+#charmap a {display:block; color:#000; text-decoration:none; border:0}
+#charmap a:hover {background:#CCC;color:#2B6FB6}
+#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center}
+#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center}
+
+/* Source */
+.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;}
+.mceActionPanel {margin-top:5px;}
+
+/* Tabs classes */
+.tabs {width:100%; height:18px; line-height:normal;}
+.tabs ul {margin:0; padding:0; list-style:none;}
+.tabs li {float:left; border: 1px solid black; border-bottom:0; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block; cursor:pointer;}
+.tabs li.current {font-weight: bold; margin-right:2px;}
+.tabs span {float:left; display:block; padding:0px 10px 0 0;}
+.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;}
+.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;}
+
+/* Panels */
+.panel_wrapper div.panel {display:none;}
+.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;}
+.panel_wrapper {border:1px solid #919B9C; padding:10px; padding-top:5px; clear:both; background:white;}
+
+/* Columns */
+.column {float:left;}
+.properties {width:100%;}
+.properties .column1 {}
+.properties .column2 {text-align:left;}
+
+/* Titles */
+h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;}
+h3 {font-size:14px;}
+.title {font-size:12px; font-weight:bold; color:#2B6FB6;}
+
+/* Dialog specific */
+#link .panel_wrapper, #link div.current {height:125px;}
+#image .panel_wrapper, #image div.current {height:200px;}
+#plugintable thead {font-weight:bold; background:#DDD;}
+#plugintable, #about #plugintable td {border:1px solid #919B9C;}
+#plugintable {width:96%; margin-top:10px;}
+#pluginscontainer {height:290px; overflow:auto;}
+#colorpicker #preview {display:inline-block; padding-left:40px; height:14px; border:1px solid black; margin-left:5px; margin-right: 5px}
+#colorpicker #previewblock {position: relative; top: -3px; padding-left:5px; padding-top: 0px; display:inline}
+#colorpicker #preview_wrapper { text-align:center; padding-top:4px; white-space: nowrap}
+#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;}
+#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;}
+#colorpicker #light div {overflow:hidden;}
+#colorpicker .panel_wrapper div.current {height:175px;}
+#colorpicker #namedcolors {width:150px;}
+#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;}
+#colorpicker #colornamecontainer {margin-top:5px;}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/ui.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/ui.css
new file mode 100644
index 00000000..effbbe15
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/ui.css
@@ -0,0 +1,106 @@
+/* Reset */
+.highcontrastSkin table, .highcontrastSkin tbody, .highcontrastSkin a, .highcontrastSkin img, .highcontrastSkin tr, .highcontrastSkin div, .highcontrastSkin td, .highcontrastSkin iframe, .highcontrastSkin span, .highcontrastSkin *, .highcontrastSkin .mceText {border:0; margin:0; padding:0; vertical-align:baseline; border-collapse:separate;}
+.highcontrastSkin a:hover, .highcontrastSkin a:link, .highcontrastSkin a:visited, .highcontrastSkin a:active {text-decoration:none; font-weight:normal; cursor:default;}
+.highcontrastSkin table td {vertical-align:middle}
+
+.highcontrastSkin .mceIconOnly {display: block !important;}
+
+/* External */
+.highcontrastSkin .mceExternalToolbar {position:absolute; border:1px solid; border-bottom:0; display:none; background-color: white;}
+.highcontrastSkin .mceExternalToolbar td.mceToolbar {padding-right:13px;}
+.highcontrastSkin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px;}
+
+/* Layout */
+.highcontrastSkin table.mceLayout {border: 1px solid;}
+.highcontrastSkin .mceIframeContainer {border-top:1px solid; border-bottom:1px solid}
+.highcontrastSkin .mceStatusbar a:hover {text-decoration:underline}
+.highcontrastSkin .mceStatusbar {display:block; line-height:1.5em; overflow:visible;}
+.highcontrastSkin .mceStatusbar div {float:left}
+.highcontrastSkin .mceStatusbar a.mceResize {display:block; float:right; width:20px; height:20px; cursor:se-resize; outline:0}
+
+.highcontrastSkin .mceToolbar td { display: inline-block; float: left;}
+.highcontrastSkin .mceToolbar tr { display: block;}
+.highcontrastSkin .mceToolbar table { display: block; }
+
+/* Button */
+
+.highcontrastSkin .mceButton { display:block; margin: 2px; padding: 5px 10px;border: 1px solid; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; -ms-border-radius: 3px; height: 2em;}
+.highcontrastSkin .mceButton .mceVoiceLabel { height: 100%; vertical-align: center; line-height: 2em}
+.highcontrastSkin .mceButtonDisabled .mceVoiceLabel { opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60);}
+.highcontrastSkin .mceButtonActive, .highcontrastSkin .mceButton:focus, .highcontrastSkin .mceButton:active { border: 5px solid; padding: 1px 6px;-webkit-focus-ring-color:none;outline:none;}
+
+/* Separator */
+.highcontrastSkin .mceSeparator {display:block; width:16px; height:26px;}
+
+/* ListBox */
+.highcontrastSkin .mceListBox { display: block; margin:2px;-webkit-focus-ring-color:none;outline:none;}
+.highcontrastSkin .mceListBox .mceText {padding: 5px 6px; line-height: 2em; width: 15ex; overflow: hidden;}
+.highcontrastSkin .mceListBoxDisabled .mceText { opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60);}
+.highcontrastSkin .mceListBox a.mceText { padding: 5px 10px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-right: 0; border-radius: 3px 0px 0px 3px; -moz-border-radius: 3px 0px 0px 3px; -webkit-border-radius: 3px 0px 0px 3px; -ms-border-radius: 3px 0px 0px 3px;}
+.highcontrastSkin .mceListBox a.mceOpen { padding: 5px 4px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-left: 0; border-radius: 0px 3px 3px 0px; -moz-border-radius: 0px 3px 3px 0px; -webkit-border-radius: 0px 3px 3px 0px; -ms-border-radius: 0px 3px 3px 0px;}
+.highcontrastSkin .mceListBox:focus a.mceText, .highcontrastSkin .mceListBox:active a.mceText { border-width: 5px; padding: 1px 10px 1px 6px;}
+.highcontrastSkin .mceListBox:focus a.mceOpen, .highcontrastSkin .mceListBox:active a.mceOpen { border-width: 5px; padding: 1px 0px 1px 4px;}
+
+.highcontrastSkin .mceListBoxMenu {overflow-y:auto}
+
+/* SplitButton */
+.highcontrastSkin .mceSplitButtonDisabled .mceAction {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
+
+.highcontrastSkin .mceSplitButton { border-collapse: collapse; margin: 2px; height: 2em; line-height: 2em;-webkit-focus-ring-color:none;outline:none;}
+.highcontrastSkin .mceSplitButton td { display: table-cell; float: none; margin: 0; padding: 0; height: 2em;}
+.highcontrastSkin .mceSplitButton tr { display: table-row; }
+.highcontrastSkin table.mceSplitButton { display: table; }
+.highcontrastSkin .mceSplitButton a.mceAction { padding: 5px 10px; display: block; height: 2em; line-height: 2em; overflow: hidden; border: 1px solid; border-right: 0; border-radius: 3px 0px 0px 3px; -moz-border-radius: 3px 0px 0px 3px; -webkit-border-radius: 3px 0px 0px 3px; -ms-border-radius: 3px 0px 0px 3px;}
+.highcontrastSkin .mceSplitButton a.mceOpen { padding: 5px 4px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-radius: 0px 3px 3px 0px; -moz-border-radius: 0px 3px 3px 0px; -webkit-border-radius: 0px 3px 3px 0px; -ms-border-radius: 0px 3px 3px 0px;}
+.highcontrastSkin .mceSplitButton .mceVoiceLabel { height: 2em; vertical-align: center; line-height: 2em; }
+.highcontrastSkin .mceSplitButton:focus a.mceAction, .highcontrastSkin .mceSplitButton:active a.mceAction { border-width: 5px; border-right-width: 1px; padding: 1px 10px 1px 6px;-webkit-focus-ring-color:none;outline:none;}
+.highcontrastSkin .mceSplitButton:focus a.mceOpen, .highcontrastSkin .mceSplitButton:active a.mceOpen { border-width: 5px; border-left-width: 1px; padding: 1px 0px 1px 4px;-webkit-focus-ring-color:none;outline:none;}
+
+/* Menu */
+.highcontrastSkin .mceNoIcons span.mceIcon {width:0;}
+.highcontrastSkin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid; direction:ltr}
+.highcontrastSkin .mceMenu table {background:white; color: black}
+.highcontrastSkin .mceNoIcons a .mceText {padding-left:10px}
+.highcontrastSkin .mceMenu a, .highcontrastSkin .mceMenu span, .highcontrastSkin .mceMenu {display:block;background:white; color: black}
+.highcontrastSkin .mceMenu td {height:2em}
+.highcontrastSkin .mceMenu a {position:relative;padding:3px 0 4px 0; display: block;}
+.highcontrastSkin .mceMenu .mceText {position:relative; display:block; cursor:default; margin:0; padding:0 25px 0 25px;}
+.highcontrastSkin .mceMenu pre.mceText {font-family:Monospace}
+.highcontrastSkin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:26px;}
+.highcontrastSkin td.mceMenuItemSeparator {border-top:1px solid; height:1px}
+.highcontrastSkin .mceMenuItemTitle a {border:0; border-bottom:1px solid}
+.highcontrastSkin .mceMenuItemTitle span.mceText {font-weight:bold; padding-left:4px}
+.highcontrastSkin .mceNoIcons .mceMenuItemSelected span.mceText:before {content: "\2713\A0";}
+.highcontrastSkin .mceMenu span.mceMenuLine {display:none}
+.highcontrastSkin .mceMenuItemSub a .mceText:after {content: "\A0\25B8"}
+.highcontrastSkin .mceMenuItem td, .highcontrastSkin .mceMenuItem th {line-height: normal}
+
+/* ColorSplitButton */
+.highcontrastSkin div.mceColorSplitMenu table {background:#FFF; border:1px solid; color: #000}
+.highcontrastSkin .mceColorSplitMenu td {padding:2px}
+.highcontrastSkin .mceColorSplitMenu a {display:block; width:16px; height:16px; overflow:hidden; color:#000; margin: 0; padding: 0;}
+.highcontrastSkin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px}
+.highcontrastSkin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF}
+.highcontrastSkin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid; background-color:#B6BDD2}
+.highcontrastSkin a.mceMoreColors:hover {border:1px solid #0A246A; color: #000;}
+.highcontrastSkin .mceColorPreview {display:none;}
+.highcontrastSkin .mce_forecolor span.mceAction, .highcontrastSkin .mce_backcolor span.mceAction {height:17px;overflow:hidden}
+
+/* Progress,Resize */
+.highcontrastSkin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=50); background:#FFF}
+.highcontrastSkin .mceProgress {position:absolute; left:0; top:0; z-index:1001; background:url(../default/img/progress.gif) no-repeat; width:32px; height:32px; margin:-16px 0 0 -16px}
+
+/* Rtl */
+.mceRtl .mceListBox .mceText {text-align: right; padding: 0 4px 0 0}
+.mceRtl .mceMenuItem .mceText {text-align: right}
+
+/* Formats */
+.highcontrastSkin .mce_p span.mceText {}
+.highcontrastSkin .mce_address span.mceText {font-style:italic}
+.highcontrastSkin .mce_pre span.mceText {font-family:monospace}
+.highcontrastSkin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em}
+.highcontrastSkin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em}
+.highcontrastSkin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em}
+.highcontrastSkin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em}
+.highcontrastSkin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em}
+.highcontrastSkin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/content.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/content.css
new file mode 100644
index 00000000..a1a8f9bd
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/content.css
@@ -0,0 +1,48 @@
+body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;}
+body {background:#FFF;}
+body.mceForceColors {background:#FFF; color:#000;}
+h1 {font-size: 2em}
+h2 {font-size: 1.5em}
+h3 {font-size: 1.17em}
+h4 {font-size: 1em}
+h5 {font-size: .83em}
+h6 {font-size: .75em}
+.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;}
+a.mceItemAnchor {display:inline-block; width:11px !important; height:11px !important; background:url(../default/img/items.gif) no-repeat 0 0;}
+span.mceItemNbsp {background: #DDD}
+td.mceSelected, th.mceSelected {background-color:#3399ff !important}
+img {border:0;}
+table, img, hr, .mceItemAnchor {cursor:default}
+table td, table th {cursor:text}
+ins {border-bottom:1px solid green; text-decoration: none; color:green}
+del {color:red; text-decoration:line-through}
+cite {border-bottom:1px dashed blue}
+acronym {border-bottom:1px dotted #CCC; cursor:help}
+abbr {border-bottom:1px dashed #CCC; cursor:help}
+
+/* IE */
+* html body {
+scrollbar-3dlight-color:#F0F0EE;
+scrollbar-arrow-color:#676662;
+scrollbar-base-color:#F0F0EE;
+scrollbar-darkshadow-color:#DDD;
+scrollbar-face-color:#E0E0DD;
+scrollbar-highlight-color:#F0F0EE;
+scrollbar-shadow-color:#F0F0EE;
+scrollbar-track-color:#F5F5F5;
+}
+
+img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px}
+font[face=mceinline] {font-family:inherit !important}
+*[contentEditable]:focus {outline:0}
+
+.mceItemMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc}
+.mceItemShockWave {background-image:url(../../img/shockwave.gif)}
+.mceItemFlash {background-image:url(../../img/flash.gif)}
+.mceItemQuickTime {background-image:url(../../img/quicktime.gif)}
+.mceItemWindowsMedia {background-image:url(../../img/windowsmedia.gif)}
+.mceItemRealMedia {background-image:url(../../img/realmedia.gif)}
+.mceItemVideo {background-image:url(../../img/video.gif)}
+.mceItemAudio {background-image:url(../../img/video.gif)}
+.mceItemIframe {background-image:url(../../img/iframe.gif)}
+.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../../img/pagebreak.gif) no-repeat center top;}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/dialog.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/dialog.css
new file mode 100644
index 00000000..a54db98d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/dialog.css
@@ -0,0 +1,118 @@
+/* Generic */
+body {
+font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px;
+scrollbar-3dlight-color:#F0F0EE;
+scrollbar-arrow-color:#676662;
+scrollbar-base-color:#F0F0EE;
+scrollbar-darkshadow-color:#DDDDDD;
+scrollbar-face-color:#E0E0DD;
+scrollbar-highlight-color:#F0F0EE;
+scrollbar-shadow-color:#F0F0EE;
+scrollbar-track-color:#F5F5F5;
+background:#F0F0EE;
+padding:0;
+margin:8px 8px 0 8px;
+}
+
+html {background:#F0F0EE;}
+td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
+textarea {resize:none;outline:none;}
+a:link, a:visited {color:black;}
+a:hover {color:#2B6FB6;}
+.nowrap {white-space: nowrap}
+
+/* Forms */
+fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;}
+legend {color:#2B6FB6; font-weight:bold;}
+label.msg {display:none;}
+label.invalid {color:#EE0000; display:inline;}
+input.invalid {border:1px solid #EE0000;}
+input {background:#FFF; border:1px solid #CCC;}
+input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
+input, select, textarea {border:1px solid #808080;}
+input.radio {border:1px none #000000; background:transparent; vertical-align:middle;}
+input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;}
+.input_noborder {border:0;}
+
+/* Buttons */
+#insert, #cancel, input.button, .updateButton {
+border:0; margin:0; padding:0;
+font-weight:bold;
+width:94px; height:26px;
+background:url(../default/img/buttons.png) 0 -26px;
+cursor:pointer;
+padding-bottom:2px;
+float:left;
+}
+
+#insert {background:url(../default/img/buttons.png) 0 -52px}
+#cancel {background:url(../default/img/buttons.png) 0 0; float:right}
+
+/* Browse */
+a.pickcolor, a.browse {text-decoration:none}
+a.browse span {display:block; width:20px; height:18px; background:url(../../img/icons.gif) -860px 0; border:1px solid #FFF; margin-left:1px;}
+.mceOldBoxModel a.browse span {width:22px; height:20px;}
+a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;}
+a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
+a.browse:hover span.disabled {border:1px solid white; background-color:transparent;}
+a.pickcolor span {display:block; width:20px; height:16px; background:url(../../img/icons.gif) -840px 0; margin-left:2px;}
+.mceOldBoxModel a.pickcolor span {width:21px; height:17px;}
+a.pickcolor:hover span {background-color:#B2BBD0;}
+a.pickcolor:hover span.disabled {}
+
+/* Charmap */
+table.charmap {border:1px solid #AAA; text-align:center}
+td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;}
+#charmap a {display:block; color:#000; text-decoration:none; border:0}
+#charmap a:hover {background:#CCC;color:#2B6FB6}
+#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center}
+#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center}
+
+/* Source */
+.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;}
+.mceActionPanel {margin-top:5px;}
+
+/* Tabs classes */
+.tabs {width:100%; height:18px; line-height:normal; background:url(../default/img/tabs.gif) repeat-x 0 -72px;}
+.tabs ul {margin:0; padding:0; list-style:none;}
+.tabs li {float:left; background:url(../default/img/tabs.gif) no-repeat 0 0; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;}
+.tabs li.current {background:url(../default/img/tabs.gif) no-repeat 0 -18px; margin-right:2px;}
+.tabs span {float:left; display:block; background:url(../default/img/tabs.gif) no-repeat right -36px; padding:0px 10px 0 0;}
+.tabs .current span {background:url(../default/img/tabs.gif) no-repeat right -54px;}
+.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;}
+.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;}
+
+/* Panels */
+.panel_wrapper div.panel {display:none;}
+.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;}
+.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;}
+
+/* Columns */
+.column {float:left;}
+.properties {width:100%;}
+.properties .column1 {}
+.properties .column2 {text-align:left;}
+
+/* Titles */
+h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;}
+h3 {font-size:14px;}
+.title {font-size:12px; font-weight:bold; color:#2B6FB6;}
+
+/* Dialog specific */
+#link .panel_wrapper, #link div.current {height:125px;}
+#image .panel_wrapper, #image div.current {height:200px;}
+#plugintable thead {font-weight:bold; background:#DDD;}
+#plugintable, #about #plugintable td {border:1px solid #919B9C;}
+#plugintable {width:96%; margin-top:10px;}
+#pluginscontainer {height:290px; overflow:auto;}
+#colorpicker #preview {display:inline-block; padding-left:40px; height:14px; border:1px solid black; margin-left:5px; margin-right: 5px}
+#colorpicker #previewblock {position: relative; top: -3px; padding-left:5px; padding-top: 0px; display:inline}
+#colorpicker #preview_wrapper { text-align:center; padding-top:4px; white-space: nowrap}
+#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;}
+#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;}
+#colorpicker #light div {overflow:hidden;}
+#colorpicker .panel_wrapper div.current {height:175px;}
+#colorpicker #namedcolors {width:150px;}
+#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;}
+#colorpicker #colornamecontainer {margin-top:5px;}
+#colorpicker #picker_panel fieldset {margin:auto;width:325px;}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png
new file mode 100644
index 00000000..13a5cb03
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png
new file mode 100644
index 00000000..7fc57f2b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png
new file mode 100644
index 00000000..c0dcc6ca
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui.css
new file mode 100644
index 00000000..a3102237
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui.css
@@ -0,0 +1,222 @@
+/* Reset */
+.o2k7Skin table, .o2k7Skin tbody, .o2k7Skin a, .o2k7Skin img, .o2k7Skin tr, .o2k7Skin div, .o2k7Skin td, .o2k7Skin iframe, .o2k7Skin span, .o2k7Skin *, .o2k7Skin .mceText {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000; vertical-align:baseline; width:auto; border-collapse:separate; text-align:left}
+.o2k7Skin a:hover, .o2k7Skin a:link, .o2k7Skin a:visited, .o2k7Skin a:active {text-decoration:none; font-weight:normal; cursor:default; color:#000}
+.o2k7Skin table td {vertical-align:middle}
+
+/* Containers */
+.o2k7Skin table {background:transparent}
+.o2k7Skin iframe {display:block;}
+.o2k7Skin .mceToolbar {height:26px}
+
+/* External */
+.o2k7Skin .mceExternalToolbar {position:absolute; border:1px solid #ABC6DD; border-bottom:0; display:none}
+.o2k7Skin .mceExternalToolbar td.mceToolbar {padding-right:13px;}
+.o2k7Skin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px; background:url(../../img/icons.gif) -820px 0}
+
+/* Layout */
+.o2k7Skin table.mceLayout {border:0; border-left:1px solid #ABC6DD; border-right:1px solid #ABC6DD}
+.o2k7Skin table.mceLayout tr.mceFirst td {border-top:1px solid #ABC6DD}
+.o2k7Skin table.mceLayout tr.mceLast td {border-bottom:1px solid #ABC6DD}
+.o2k7Skin table.mceToolbar, .o2k7Skin tr.mceFirst .mceToolbar tr td, .o2k7Skin tr.mceLast .mceToolbar tr td {border:0; margin:0; padding:0}
+.o2k7Skin .mceIframeContainer {border-top:1px solid #ABC6DD; border-bottom:1px solid #ABC6DD}
+.o2k7Skin td.mceToolbar{background:#E5EFFD}
+.o2k7Skin .mceStatusbar {background:#E5EFFD; display:block; font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; height:20px}
+.o2k7Skin .mceStatusbar div {float:left; padding:2px}
+.o2k7Skin .mceStatusbar a.mceResize {display:block; float:right; background:url(../../img/icons.gif) -800px 0; width:20px; height:20px; cursor:se-resize; outline:0}
+.o2k7Skin .mceStatusbar a:hover {text-decoration:underline}
+.o2k7Skin table.mceToolbar {margin-left:3px}
+.o2k7Skin .mceToolbar .mceToolbarStart span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px; margin-left:3px;}
+.o2k7Skin .mceToolbar td.mceFirst span {margin:0}
+.o2k7Skin .mceToolbar .mceToolbarEnd span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px}
+.o2k7Skin .mceToolbar .mceToolbarEndListBox span, .o2k7Skin .mceToolbar .mceToolbarStartListBox span {display:none}
+.o2k7Skin span.mceIcon, .o2k7Skin img.mceIcon {display:block; width:20px; height:20px}
+.o2k7Skin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px}
+.o2k7Skin td.mceCenter {text-align:center;}
+.o2k7Skin td.mceCenter table {margin:0 auto; text-align:left;}
+.o2k7Skin td.mceRight table {margin:0 0 0 auto;}
+
+/* Button */
+.o2k7Skin .mceButton {display:block; background:url(img/button_bg.png); width:22px; height:22px}
+.o2k7Skin a.mceButton span, .o2k7Skin a.mceButton img {margin-left:1px}
+.o2k7Skin .mceOldBoxModel a.mceButton span, .o2k7Skin .mceOldBoxModel a.mceButton img {margin:0 0 0 1px}
+.o2k7Skin a.mceButtonEnabled:hover {background-color:#B2BBD0; background-position:0 -22px}
+.o2k7Skin a.mceButtonActive, .o2k7Skin a.mceButtonSelected {background-position:0 -44px}
+.o2k7Skin .mceButtonDisabled .mceIcon {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
+.o2k7Skin .mceButtonLabeled {width:auto}
+.o2k7Skin .mceButtonLabeled span.mceIcon {float:left}
+.o2k7Skin span.mceButtonLabel {display:block; font-size:10px; padding:4px 6px 0 22px; font-family:Tahoma,Verdana,Arial,Helvetica}
+.o2k7Skin .mceButtonDisabled .mceButtonLabel {color:#888}
+
+/* Separator */
+.o2k7Skin .mceSeparator {display:block; background:url(img/button_bg.png) -22px 0; width:5px; height:22px}
+
+/* ListBox */
+.o2k7Skin .mceListBox {padding-left: 3px}
+.o2k7Skin .mceListBox, .o2k7Skin .mceListBox a {display:block}
+.o2k7Skin .mceListBox .mceText {padding-left:4px; text-align:left; width:70px; border:1px solid #b3c7e1; border-right:0; background:#eaf2fb; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; height:20px; line-height:20px; overflow:hidden}
+.o2k7Skin .mceListBox .mceOpen {width:14px; height:22px; background:url(img/button_bg.png) -66px 0}
+.o2k7Skin table.mceListBoxEnabled:hover .mceText, .o2k7Skin .mceListBoxHover .mceText, .o2k7Skin .mceListBoxSelected .mceText {background:#FFF}
+.o2k7Skin table.mceListBoxEnabled:hover .mceOpen, .o2k7Skin .mceListBoxHover .mceOpen, .o2k7Skin .mceListBoxSelected .mceOpen {background-position:-66px -22px}
+.o2k7Skin .mceListBoxDisabled .mceText {color:gray}
+.o2k7Skin .mceListBoxMenu {overflow:auto; overflow-x:hidden; margin-left:3px}
+.o2k7Skin .mceOldBoxModel .mceListBox .mceText {height:22px}
+.o2k7Skin select.mceListBox {font-family:Tahoma,Verdana,Arial,Helvetica; font-size:12px; border:1px solid #b3c7e1; background:#FFF;}
+
+/* SplitButton */
+.o2k7Skin .mceSplitButton, .o2k7Skin .mceSplitButton a, .o2k7Skin .mceSplitButton span {display:block; height:22px; direction:ltr}
+.o2k7Skin .mceSplitButton {background:url(img/button_bg.png)}
+.o2k7Skin .mceSplitButton a.mceAction {width:22px}
+.o2k7Skin .mceSplitButton span.mceAction {width:22px; background-image:url(../../img/icons.gif)}
+.o2k7Skin .mceSplitButton a.mceOpen {width:10px; background:url(img/button_bg.png) -44px 0}
+.o2k7Skin .mceSplitButton span.mceOpen {display:none}
+.o2k7Skin table.mceSplitButtonEnabled:hover a.mceAction, .o2k7Skin .mceSplitButtonHover a.mceAction, .o2k7Skin .mceSplitButtonSelected {background:url(img/button_bg.png) 0 -22px}
+.o2k7Skin table.mceSplitButtonEnabled:hover a.mceOpen, .o2k7Skin .mceSplitButtonHover a.mceOpen, .o2k7Skin .mceSplitButtonSelected a.mceOpen {background-position:-44px -44px}
+.o2k7Skin .mceSplitButtonDisabled .mceAction {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
+.o2k7Skin .mceSplitButtonActive {background-position:0 -44px}
+
+/* ColorSplitButton */
+.o2k7Skin div.mceColorSplitMenu table {background:#FFF; border:1px solid gray}
+.o2k7Skin .mceColorSplitMenu td {padding:2px}
+.o2k7Skin .mceColorSplitMenu a {display:block; width:9px; height:9px; overflow:hidden; border:1px solid #808080}
+.o2k7Skin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px}
+.o2k7Skin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF}
+.o2k7Skin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid #0A246A; background-color:#B6BDD2}
+.o2k7Skin a.mceMoreColors:hover {border:1px solid #0A246A}
+.o2k7Skin .mceColorPreview {margin-left:2px; width:16px; height:4px; overflow:hidden; background:#9a9b9a;overflow:hidden}
+.o2k7Skin .mce_forecolor span.mceAction, .o2k7Skin .mce_backcolor span.mceAction {height:15px;overflow:hidden}
+
+/* Menu */
+.o2k7Skin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid #ABC6DD; direction:ltr}
+.o2k7Skin .mceNoIcons span.mceIcon {width:0;}
+.o2k7Skin .mceNoIcons a .mceText {padding-left:10px}
+.o2k7Skin .mceMenu table {background:#FFF}
+.o2k7Skin .mceMenu a, .o2k7Skin .mceMenu span, .o2k7Skin .mceMenu {display:block}
+.o2k7Skin .mceMenu td {height:20px}
+.o2k7Skin .mceMenu a {position:relative;padding:3px 0 4px 0}
+.o2k7Skin .mceMenu .mceText {position:relative; display:block; font-family:Tahoma,Verdana,Arial,Helvetica; color:#000; cursor:default; margin:0; padding:0 25px 0 25px; display:block}
+.o2k7Skin .mceMenu span.mceText, .o2k7Skin .mceMenu .mcePreview {font-size:11px}
+.o2k7Skin .mceMenu pre.mceText {font-family:Monospace}
+.o2k7Skin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:22px;}
+.o2k7Skin .mceMenu .mceMenuItemEnabled a:hover, .o2k7Skin .mceMenu .mceMenuItemActive {background-color:#dbecf3}
+.o2k7Skin td.mceMenuItemSeparator {background:#DDD; height:1px}
+.o2k7Skin .mceMenuItemTitle a {border:0; background:#E5EFFD; border-bottom:1px solid #ABC6DD}
+.o2k7Skin .mceMenuItemTitle span.mceText {color:#000; font-weight:bold; padding-left:4px}
+.o2k7Skin .mceMenuItemDisabled .mceText {color:#888}
+.o2k7Skin .mceMenuItemSelected .mceIcon {background:url(../default/img/menu_check.gif)}
+.o2k7Skin .mceNoIcons .mceMenuItemSelected a {background:url(../default/img/menu_arrow.gif) no-repeat -6px center}
+.o2k7Skin .mceMenu span.mceMenuLine {display:none}
+.o2k7Skin .mceMenuItemSub a {background:url(../default/img/menu_arrow.gif) no-repeat top right;}
+.o2k7Skin .mceMenuItem td, .o2k7Skin .mceMenuItem th {line-height: normal}
+
+/* Progress,Resize */
+.o2k7Skin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=50); background:#FFF}
+.o2k7Skin .mceProgress {position:absolute; left:0; top:0; z-index:1001; background:url(../default/img/progress.gif) no-repeat; width:32px; height:32px; margin:-16px 0 0 -16px}
+
+/* Rtl */
+.mceRtl .mceListBox .mceText {text-align: right; padding: 0 4px 0 0}
+.mceRtl .mceMenuItem .mceText {text-align: right}
+
+/* Formats */
+.o2k7Skin .mce_formatPreview a {font-size:10px}
+.o2k7Skin .mce_p span.mceText {}
+.o2k7Skin .mce_address span.mceText {font-style:italic}
+.o2k7Skin .mce_pre span.mceText {font-family:monospace}
+.o2k7Skin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em}
+.o2k7Skin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em}
+.o2k7Skin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em}
+.o2k7Skin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em}
+.o2k7Skin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em}
+.o2k7Skin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em}
+
+/* Theme */
+.o2k7Skin span.mce_bold {background-position:0 0}
+.o2k7Skin span.mce_italic {background-position:-60px 0}
+.o2k7Skin span.mce_underline {background-position:-140px 0}
+.o2k7Skin span.mce_strikethrough {background-position:-120px 0}
+.o2k7Skin span.mce_undo {background-position:-160px 0}
+.o2k7Skin span.mce_redo {background-position:-100px 0}
+.o2k7Skin span.mce_cleanup {background-position:-40px 0}
+.o2k7Skin span.mce_bullist {background-position:-20px 0}
+.o2k7Skin span.mce_numlist {background-position:-80px 0}
+.o2k7Skin span.mce_justifyleft {background-position:-460px 0}
+.o2k7Skin span.mce_justifyright {background-position:-480px 0}
+.o2k7Skin span.mce_justifycenter {background-position:-420px 0}
+.o2k7Skin span.mce_justifyfull {background-position:-440px 0}
+.o2k7Skin span.mce_anchor {background-position:-200px 0}
+.o2k7Skin span.mce_indent {background-position:-400px 0}
+.o2k7Skin span.mce_outdent {background-position:-540px 0}
+.o2k7Skin span.mce_link {background-position:-500px 0}
+.o2k7Skin span.mce_unlink {background-position:-640px 0}
+.o2k7Skin span.mce_sub {background-position:-600px 0}
+.o2k7Skin span.mce_sup {background-position:-620px 0}
+.o2k7Skin span.mce_removeformat {background-position:-580px 0}
+.o2k7Skin span.mce_newdocument {background-position:-520px 0}
+.o2k7Skin span.mce_image {background-position:-380px 0}
+.o2k7Skin span.mce_help {background-position:-340px 0}
+.o2k7Skin span.mce_code {background-position:-260px 0}
+.o2k7Skin span.mce_hr {background-position:-360px 0}
+.o2k7Skin span.mce_visualaid {background-position:-660px 0}
+.o2k7Skin span.mce_charmap {background-position:-240px 0}
+.o2k7Skin span.mce_paste {background-position:-560px 0}
+.o2k7Skin span.mce_copy {background-position:-700px 0}
+.o2k7Skin span.mce_cut {background-position:-680px 0}
+.o2k7Skin span.mce_blockquote {background-position:-220px 0}
+.o2k7Skin .mce_forecolor span.mceAction {background-position:-720px 0}
+.o2k7Skin .mce_backcolor span.mceAction {background-position:-760px 0}
+.o2k7Skin span.mce_forecolorpicker {background-position:-720px 0}
+.o2k7Skin span.mce_backcolorpicker {background-position:-760px 0}
+
+/* Plugins */
+.o2k7Skin span.mce_advhr {background-position:-0px -20px}
+.o2k7Skin span.mce_ltr {background-position:-20px -20px}
+.o2k7Skin span.mce_rtl {background-position:-40px -20px}
+.o2k7Skin span.mce_emotions {background-position:-60px -20px}
+.o2k7Skin span.mce_fullpage {background-position:-80px -20px}
+.o2k7Skin span.mce_fullscreen {background-position:-100px -20px}
+.o2k7Skin span.mce_iespell {background-position:-120px -20px}
+.o2k7Skin span.mce_insertdate {background-position:-140px -20px}
+.o2k7Skin span.mce_inserttime {background-position:-160px -20px}
+.o2k7Skin span.mce_absolute {background-position:-180px -20px}
+.o2k7Skin span.mce_backward {background-position:-200px -20px}
+.o2k7Skin span.mce_forward {background-position:-220px -20px}
+.o2k7Skin span.mce_insert_layer {background-position:-240px -20px}
+.o2k7Skin span.mce_insertlayer {background-position:-260px -20px}
+.o2k7Skin span.mce_movebackward {background-position:-280px -20px}
+.o2k7Skin span.mce_moveforward {background-position:-300px -20px}
+.o2k7Skin span.mce_media {background-position:-320px -20px}
+.o2k7Skin span.mce_nonbreaking {background-position:-340px -20px}
+.o2k7Skin span.mce_pastetext {background-position:-360px -20px}
+.o2k7Skin span.mce_pasteword {background-position:-380px -20px}
+.o2k7Skin span.mce_selectall {background-position:-400px -20px}
+.o2k7Skin span.mce_preview {background-position:-420px -20px}
+.o2k7Skin span.mce_print {background-position:-440px -20px}
+.o2k7Skin span.mce_cancel {background-position:-460px -20px}
+.o2k7Skin span.mce_save {background-position:-480px -20px}
+.o2k7Skin span.mce_replace {background-position:-500px -20px}
+.o2k7Skin span.mce_search {background-position:-520px -20px}
+.o2k7Skin span.mce_styleprops {background-position:-560px -20px}
+.o2k7Skin span.mce_table {background-position:-580px -20px}
+.o2k7Skin span.mce_cell_props {background-position:-600px -20px}
+.o2k7Skin span.mce_delete_table {background-position:-620px -20px}
+.o2k7Skin span.mce_delete_col {background-position:-640px -20px}
+.o2k7Skin span.mce_delete_row {background-position:-660px -20px}
+.o2k7Skin span.mce_col_after {background-position:-680px -20px}
+.o2k7Skin span.mce_col_before {background-position:-700px -20px}
+.o2k7Skin span.mce_row_after {background-position:-720px -20px}
+.o2k7Skin span.mce_row_before {background-position:-740px -20px}
+.o2k7Skin span.mce_merge_cells {background-position:-760px -20px}
+.o2k7Skin span.mce_table_props {background-position:-980px -20px}
+.o2k7Skin span.mce_row_props {background-position:-780px -20px}
+.o2k7Skin span.mce_split_cells {background-position:-800px -20px}
+.o2k7Skin span.mce_template {background-position:-820px -20px}
+.o2k7Skin span.mce_visualchars {background-position:-840px -20px}
+.o2k7Skin span.mce_abbr {background-position:-860px -20px}
+.o2k7Skin span.mce_acronym {background-position:-880px -20px}
+.o2k7Skin span.mce_attribs {background-position:-900px -20px}
+.o2k7Skin span.mce_cite {background-position:-920px -20px}
+.o2k7Skin span.mce_del {background-position:-940px -20px}
+.o2k7Skin span.mce_ins {background-position:-960px -20px}
+.o2k7Skin span.mce_pagebreak {background-position:0 -40px}
+.o2k7Skin span.mce_restoredraft {background-position:-20px -40px}
+.o2k7Skin span.mce_spellchecker {background-position:-540px -20px}
+.o2k7Skin span.mce_visualblocks {background-position: -40px -40px}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui_black.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui_black.css
new file mode 100644
index 00000000..50c9b76a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui_black.css
@@ -0,0 +1,8 @@
+/* Black */
+.o2k7SkinBlack .mceToolbar .mceToolbarStart span, .o2k7SkinBlack .mceToolbar .mceToolbarEnd span, .o2k7SkinBlack .mceButton, .o2k7SkinBlack .mceSplitButton, .o2k7SkinBlack .mceSeparator, .o2k7SkinBlack .mceSplitButton a.mceOpen, .o2k7SkinBlack .mceListBox a.mceOpen {background-image:url(img/button_bg_black.png)}
+.o2k7SkinBlack td.mceToolbar, .o2k7SkinBlack td.mceStatusbar, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack .mceMenuItemTitle span.mceText, .o2k7SkinBlack .mceStatusbar div, .o2k7SkinBlack .mceStatusbar span, .o2k7SkinBlack .mceStatusbar a {background:#535353; color:#FFF}
+.o2k7SkinBlack table.mceListBoxEnabled .mceText, o2k7SkinBlack .mceListBox .mceText {background:#FFF; border:1px solid #CBCFD4; border-bottom-color:#989FA9; border-right:0}
+.o2k7SkinBlack table.mceListBoxEnabled:hover .mceText, .o2k7SkinBlack .mceListBoxHover .mceText, .o2k7SkinBlack .mceListBoxSelected .mceText {background:#FFF; border:1px solid #FFBD69; border-right:0}
+.o2k7SkinBlack .mceExternalToolbar, .o2k7SkinBlack .mceListBox .mceText, .o2k7SkinBlack div.mceMenu, .o2k7SkinBlack table.mceLayout, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack table.mceLayout tr.mceFirst td, .o2k7SkinBlack table.mceLayout, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack table.mceLayout tr.mceLast td, .o2k7SkinBlack .mceIframeContainer {border-color: #535353;}
+.o2k7SkinBlack table.mceSplitButtonEnabled:hover a.mceAction, .o2k7SkinBlack .mceSplitButtonHover a.mceAction, .o2k7SkinBlack .mceSplitButtonSelected {background-image:url(img/button_bg_black.png)}
+.o2k7SkinBlack .mceMenu .mceMenuItemEnabled a:hover, .o2k7SkinBlack .mceMenu .mceMenuItemActive {background-color:#FFE7A1} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css
new file mode 100644
index 00000000..960a8e47
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css
@@ -0,0 +1,5 @@
+/* Silver */
+.o2k7SkinSilver .mceToolbar .mceToolbarStart span, .o2k7SkinSilver .mceButton, .o2k7SkinSilver .mceSplitButton, .o2k7SkinSilver .mceSeparator, .o2k7SkinSilver .mceSplitButton a.mceOpen, .o2k7SkinSilver .mceListBox a.mceOpen {background-image:url(img/button_bg_silver.png)}
+.o2k7SkinSilver td.mceToolbar, .o2k7SkinSilver td.mceStatusbar, .o2k7SkinSilver .mceMenuItemTitle a {background:#eee}
+.o2k7SkinSilver .mceListBox .mceText {background:#FFF}
+.o2k7SkinSilver .mceExternalToolbar, .o2k7SkinSilver .mceListBox .mceText, .o2k7SkinSilver div.mceMenu, .o2k7SkinSilver table.mceLayout, .o2k7SkinSilver .mceMenuItemTitle a, .o2k7SkinSilver table.mceLayout tr.mceFirst td, .o2k7SkinSilver table.mceLayout, .o2k7SkinSilver .mceMenuItemTitle a, .o2k7SkinSilver table.mceLayout tr.mceLast td, .o2k7SkinSilver .mceIframeContainer {border-color: #bbb}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/source_editor.htm b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/source_editor.htm
new file mode 100755
index 00000000..dd973fcc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/advanced/source_editor.htm
@@ -0,0 +1,25 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#advanced_dlg.code_title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="js/source_editor.js"></script>
+</head>
+<body onresize="resizeInputs();" style="display:none; overflow:hidden;" spellcheck="false">
+ <form name="source" onsubmit="saveContent();return false;" action="#">
+ <div style="float: left" class="title"><label for="htmlSource">{#advanced_dlg.code_title}</label></div>
+
+ <div id="wrapline" style="float: right">
+ <input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{#advanced_dlg.code_wordwrap}</label>
+ </div>
+
+ <br style="clear: both" />
+
+ <textarea name="htmlSource" id="htmlSource" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,monospace; font-size: 12px;" dir="ltr" wrap="off" class="mceFocus"></textarea>
+
+ <div class="mceActionPanel">
+ <input type="submit" role="button" name="insert" value="{#update}" id="insert" />
+ <input type="button" role="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
+ </div>
+ </form>
+</body>
+</html>
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/editor_template.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/editor_template.js
new file mode 100755
index 00000000..4b3209cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/editor_template.js
@@ -0,0 +1 @@
+(function(){var a=tinymce.DOM;tinymce.ThemeManager.requireLangPack("simple");tinymce.create("tinymce.themes.SimpleTheme",{init:function(c,d){var e=this,b=["Bold","Italic","Underline","Strikethrough","InsertUnorderedList","InsertOrderedList"],f=c.settings;e.editor=c;c.contentCSS.push(d+"/skins/"+f.skin+"/content.css");c.onInit.add(function(){c.onNodeChange.add(function(h,g){tinymce.each(b,function(i){g.get(i.toLowerCase()).setActive(h.queryCommandState(i))})})});a.loadCSS((f.editor_css?c.documentBaseURI.toAbsolute(f.editor_css):"")||d+"/skins/"+f.skin+"/ui.css")},renderUI:function(h){var e=this,i=h.targetNode,b,c,d=e.editor,f=d.controlManager,g;i=a.insertAfter(a.create("span",{id:d.id+"_container","class":"mceEditor "+d.settings.skin+"SimpleSkin"}),i);i=g=a.add(i,"table",{cellPadding:0,cellSpacing:0,"class":"mceLayout"});i=c=a.add(i,"tbody");i=a.add(c,"tr");i=b=a.add(a.add(i,"td"),"div",{"class":"mceIframeContainer"});i=a.add(a.add(c,"tr",{"class":"last"}),"td",{"class":"mceToolbar mceLast",align:"center"});c=e.toolbar=f.createToolbar("tools1");c.add(f.createButton("bold",{title:"simple.bold_desc",cmd:"Bold"}));c.add(f.createButton("italic",{title:"simple.italic_desc",cmd:"Italic"}));c.add(f.createButton("underline",{title:"simple.underline_desc",cmd:"Underline"}));c.add(f.createButton("strikethrough",{title:"simple.striketrough_desc",cmd:"Strikethrough"}));c.add(f.createSeparator());c.add(f.createButton("undo",{title:"simple.undo_desc",cmd:"Undo"}));c.add(f.createButton("redo",{title:"simple.redo_desc",cmd:"Redo"}));c.add(f.createSeparator());c.add(f.createButton("cleanup",{title:"simple.cleanup_desc",cmd:"mceCleanup"}));c.add(f.createSeparator());c.add(f.createButton("insertunorderedlist",{title:"simple.bullist_desc",cmd:"InsertUnorderedList"}));c.add(f.createButton("insertorderedlist",{title:"simple.numlist_desc",cmd:"InsertOrderedList"}));c.renderTo(i);return{iframeContainer:b,editorContainer:d.id+"_container",sizeContainer:g,deltaHeight:-20}},getInfo:function(){return{longname:"Simple theme",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.ThemeManager.add("simple",tinymce.themes.SimpleTheme)})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/editor_template_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/editor_template_src.js
new file mode 100755
index 00000000..01ce87c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/editor_template_src.js
@@ -0,0 +1,84 @@
+/**
+ * editor_template_src.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+(function() {
+ var DOM = tinymce.DOM;
+
+ // Tell it to load theme specific language pack(s)
+ tinymce.ThemeManager.requireLangPack('simple');
+
+ tinymce.create('tinymce.themes.SimpleTheme', {
+ init : function(ed, url) {
+ var t = this, states = ['Bold', 'Italic', 'Underline', 'Strikethrough', 'InsertUnorderedList', 'InsertOrderedList'], s = ed.settings;
+
+ t.editor = ed;
+ ed.contentCSS.push(url + "/skins/" + s.skin + "/content.css");
+
+ ed.onInit.add(function() {
+ ed.onNodeChange.add(function(ed, cm) {
+ tinymce.each(states, function(c) {
+ cm.get(c.toLowerCase()).setActive(ed.queryCommandState(c));
+ });
+ });
+ });
+
+ DOM.loadCSS((s.editor_css ? ed.documentBaseURI.toAbsolute(s.editor_css) : '') || url + "/skins/" + s.skin + "/ui.css");
+ },
+
+ renderUI : function(o) {
+ var t = this, n = o.targetNode, ic, tb, ed = t.editor, cf = ed.controlManager, sc;
+
+ n = DOM.insertAfter(DOM.create('span', {id : ed.id + '_container', 'class' : 'mceEditor ' + ed.settings.skin + 'SimpleSkin'}), n);
+ n = sc = DOM.add(n, 'table', {cellPadding : 0, cellSpacing : 0, 'class' : 'mceLayout'});
+ n = tb = DOM.add(n, 'tbody');
+
+ // Create iframe container
+ n = DOM.add(tb, 'tr');
+ n = ic = DOM.add(DOM.add(n, 'td'), 'div', {'class' : 'mceIframeContainer'});
+
+ // Create toolbar container
+ n = DOM.add(DOM.add(tb, 'tr', {'class' : 'last'}), 'td', {'class' : 'mceToolbar mceLast', align : 'center'});
+
+ // Create toolbar
+ tb = t.toolbar = cf.createToolbar("tools1");
+ tb.add(cf.createButton('bold', {title : 'simple.bold_desc', cmd : 'Bold'}));
+ tb.add(cf.createButton('italic', {title : 'simple.italic_desc', cmd : 'Italic'}));
+ tb.add(cf.createButton('underline', {title : 'simple.underline_desc', cmd : 'Underline'}));
+ tb.add(cf.createButton('strikethrough', {title : 'simple.striketrough_desc', cmd : 'Strikethrough'}));
+ tb.add(cf.createSeparator());
+ tb.add(cf.createButton('undo', {title : 'simple.undo_desc', cmd : 'Undo'}));
+ tb.add(cf.createButton('redo', {title : 'simple.redo_desc', cmd : 'Redo'}));
+ tb.add(cf.createSeparator());
+ tb.add(cf.createButton('cleanup', {title : 'simple.cleanup_desc', cmd : 'mceCleanup'}));
+ tb.add(cf.createSeparator());
+ tb.add(cf.createButton('insertunorderedlist', {title : 'simple.bullist_desc', cmd : 'InsertUnorderedList'}));
+ tb.add(cf.createButton('insertorderedlist', {title : 'simple.numlist_desc', cmd : 'InsertOrderedList'}));
+ tb.renderTo(n);
+
+ return {
+ iframeContainer : ic,
+ editorContainer : ed.id + '_container',
+ sizeContainer : sc,
+ deltaHeight : -20
+ };
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Simple theme',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ }
+ }
+ });
+
+ tinymce.ThemeManager.add('simple', tinymce.themes.SimpleTheme);
+})(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/img/icons.gif b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/img/icons.gif
new file mode 100644
index 00000000..6fcbcb5d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/img/icons.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/de.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/de.js
new file mode 100644
index 00000000..59bf788d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/de.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('de.simple',{"cleanup_desc":"Quellcode aufr\u00e4umen","redo_desc":"Wiederholen (Strg+Y)","undo_desc":"R\u00fcckg\u00e4ngig (Strg+Z)","numlist_desc":"Nummerierung","bullist_desc":"Aufz\u00e4hlung","striketrough_desc":"Durchgestrichen","underline_desc":"Unterstrichen (Strg+U)","italic_desc":"Kursiv (Strg+I)","bold_desc":"Fett (Strg+B)"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/en.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/en.js
new file mode 100644
index 00000000..088ed0fc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/en.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('en.simple',{"cleanup_desc":"Cleanup Messy Code","redo_desc":"Redo (Ctrl+Y)","undo_desc":"Undo (Ctrl+Z)","numlist_desc":"Insert/Remove Numbered List","bullist_desc":"Insert/Remove Bulleted List","striketrough_desc":"Strikethrough","underline_desc":"Underline (Ctrl+U)","italic_desc":"Italic (Ctrl+I)","bold_desc":"Bold (Ctrl+B)"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/hu.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/hu.js
new file mode 100644
index 00000000..6eff1750
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/hu.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('hu.simple',{"cleanup_desc":"Minden form\u00e1z\u00e1s elt\u00e1vol\u00edt\u00e1sa","redo_desc":"M\u00e9gis v\u00e9grehajt (Ctrl+Y)","undo_desc":"Visszavon\u00e1s (Ctrl+Z)","numlist_desc":"Sz\u00e1mozott lista besz\u00far\u00e1sa/elt\u00e1vol\u00edt\u00e1sa","bullist_desc":"Felsorol\u00e1s besz\u00far\u00e1sa/elt\u00e1vol\u00edt\u00e1sa","striketrough_desc":"\u00c1th\u00fazott","underline_desc":"Al\u00e1h\u00fazott (Ctrl+U)","italic_desc":"D\u0151lt (Ctrl+I)","bold_desc":"F\u00e9lk\u00f6v\u00e9r (Ctrl+B)"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/ja.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/ja.js
new file mode 100644
index 00000000..b3acbb54
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/ja.js
@@ -0,0 +1 @@
+tinyMCE.addI18n('ja.simple',{"cleanup_desc":"\u4e71\u96d1\u306a\u30b3\u30fc\u30c9\u3092\u6574\u5f62","redo_desc":"\u3084\u308a\u76f4\u3059 (Ctrl+Y)","undo_desc":"\u5143\u306b\u623b\u3059 (Ctrl+Z)","numlist_desc":"\u756a\u53f7\u3064\u304d\u30ea\u30b9\u30c8","bullist_desc":"\u756a\u53f7\u306a\u3057\u30ea\u30b9\u30c8","striketrough_desc":"\u53d6\u308a\u6d88\u3057\u7dda","underline_desc":"\u4e0b\u7dda (Ctrl+U)","italic_desc":"\u659c\u4f53 (Ctrl+I)","bold_desc":"\u592a\u5b57 (Ctrl+B)"}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/default/content.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/default/content.css
new file mode 100644
index 00000000..2506c807
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/default/content.css
@@ -0,0 +1,25 @@
+body, td, pre {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 10px;
+}
+
+body {
+ background-color: #FFFFFF;
+}
+
+.mceVisualAid {
+ border: 1px dashed #BBBBBB;
+}
+
+/* MSIE specific */
+
+* html body {
+ scrollbar-3dlight-color: #F0F0EE;
+ scrollbar-arrow-color: #676662;
+ scrollbar-base-color: #F0F0EE;
+ scrollbar-darkshadow-color: #DDDDDD;
+ scrollbar-face-color: #E0E0DD;
+ scrollbar-highlight-color: #F0F0EE;
+ scrollbar-shadow-color: #F0F0EE;
+ scrollbar-track-color: #F5F5F5;
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/default/ui.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/default/ui.css
new file mode 100644
index 00000000..076fe84e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/default/ui.css
@@ -0,0 +1,32 @@
+/* Reset */
+.defaultSimpleSkin table, .defaultSimpleSkin tbody, .defaultSimpleSkin a, .defaultSimpleSkin img, .defaultSimpleSkin tr, .defaultSimpleSkin div, .defaultSimpleSkin td, .defaultSimpleSkin iframe, .defaultSimpleSkin span, .defaultSimpleSkin * {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000}
+
+/* Containers */
+.defaultSimpleSkin {position:relative}
+.defaultSimpleSkin table.mceLayout {background:#F0F0EE; border:1px solid #CCC;}
+.defaultSimpleSkin iframe {display:block; background:#FFF; border-bottom:1px solid #CCC;}
+.defaultSimpleSkin .mceToolbar {height:24px;}
+
+/* Layout */
+.defaultSimpleSkin span.mceIcon, .defaultSimpleSkin img.mceIcon {display:block; width:20px; height:20px}
+.defaultSimpleSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px}
+
+/* Button */
+.defaultSimpleSkin .mceButton {display:block; border:1px solid #F0F0EE; width:20px; height:20px}
+.defaultSimpleSkin a.mceButtonEnabled:hover {border:1px solid #0A246A; background-color:#B2BBD0}
+.defaultSimpleSkin a.mceButtonActive {border:1px solid #0A246A; background-color:#C2CBE0}
+.defaultSimpleSkin .mceButtonDisabled span {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
+
+/* Separator */
+.defaultSimpleSkin .mceSeparator {display:block; background:url(../../img/icons.gif) -180px 0; width:2px; height:20px; margin:0 2px 0 4px}
+
+/* Theme */
+.defaultSimpleSkin span.mce_bold {background-position:0 0}
+.defaultSimpleSkin span.mce_italic {background-position:-60px 0}
+.defaultSimpleSkin span.mce_underline {background-position:-140px 0}
+.defaultSimpleSkin span.mce_strikethrough {background-position:-120px 0}
+.defaultSimpleSkin span.mce_undo {background-position:-160px 0}
+.defaultSimpleSkin span.mce_redo {background-position:-100px 0}
+.defaultSimpleSkin span.mce_cleanup {background-position:-40px 0}
+.defaultSimpleSkin span.mce_insertunorderedlist {background-position:-20px 0}
+.defaultSimpleSkin span.mce_insertorderedlist {background-position:-80px 0}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/content.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/content.css
new file mode 100644
index 00000000..595809fa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/content.css
@@ -0,0 +1,17 @@
+body, td, pre {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
+
+body {background: #FFF;}
+.mceVisualAid {border: 1px dashed #BBB;}
+
+/* IE */
+
+* html body {
+scrollbar-3dlight-color: #F0F0EE;
+scrollbar-arrow-color: #676662;
+scrollbar-base-color: #F0F0EE;
+scrollbar-darkshadow-color: #DDDDDD;
+scrollbar-face-color: #E0E0DD;
+scrollbar-highlight-color: #F0F0EE;
+scrollbar-shadow-color: #F0F0EE;
+scrollbar-track-color: #F5F5F5;
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png
new file mode 100644
index 00000000..527e3495
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/ui.css b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/ui.css
new file mode 100644
index 00000000..cf6c35d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/ui.css
@@ -0,0 +1,35 @@
+/* Reset */
+.o2k7SimpleSkin table, .o2k7SimpleSkin tbody, .o2k7SimpleSkin a, .o2k7SimpleSkin img, .o2k7SimpleSkin tr, .o2k7SimpleSkin div, .o2k7SimpleSkin td, .o2k7SimpleSkin iframe, .o2k7SimpleSkin span, .o2k7SimpleSkin * {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000}
+
+/* Containers */
+.o2k7SimpleSkin {position:relative}
+.o2k7SimpleSkin table.mceLayout {background:#E5EFFD; border:1px solid #ABC6DD;}
+.o2k7SimpleSkin iframe {display:block; background:#FFF; border-bottom:1px solid #ABC6DD;}
+.o2k7SimpleSkin .mceToolbar {height:26px;}
+
+/* Layout */
+.o2k7SimpleSkin .mceToolbar .mceToolbarStart span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px; }
+.o2k7SimpleSkin .mceToolbar .mceToolbarEnd span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px}
+.o2k7SimpleSkin span.mceIcon, .o2k7SimpleSkin img.mceIcon {display:block; width:20px; height:20px}
+.o2k7SimpleSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px}
+
+/* Button */
+.o2k7SimpleSkin .mceButton {display:block; background:url(img/button_bg.png); width:22px; height:22px}
+.o2k7SimpleSkin a.mceButton span, .o2k7SimpleSkin a.mceButton img {margin:1px 0 0 1px}
+.o2k7SimpleSkin a.mceButtonEnabled:hover {background-color:#B2BBD0; background-position:0 -22px}
+.o2k7SimpleSkin a.mceButtonActive {background-position:0 -44px}
+.o2k7SimpleSkin .mceButtonDisabled span {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
+
+/* Separator */
+.o2k7SimpleSkin .mceSeparator {display:block; background:url(img/button_bg.png) -22px 0; width:5px; height:22px}
+
+/* Theme */
+.o2k7SimpleSkin span.mce_bold {background-position:0 0}
+.o2k7SimpleSkin span.mce_italic {background-position:-60px 0}
+.o2k7SimpleSkin span.mce_underline {background-position:-140px 0}
+.o2k7SimpleSkin span.mce_strikethrough {background-position:-120px 0}
+.o2k7SimpleSkin span.mce_undo {background-position:-160px 0}
+.o2k7SimpleSkin span.mce_redo {background-position:-100px 0}
+.o2k7SimpleSkin span.mce_cleanup {background-position:-40px 0}
+.o2k7SimpleSkin span.mce_insertunorderedlist {background-position:-20px 0}
+.o2k7SimpleSkin span.mce_insertorderedlist {background-position:-80px 0}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/tiny_mce.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/tiny_mce.js
new file mode 100755
index 00000000..7cad8b78
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/tiny_mce.js
@@ -0,0 +1 @@
+(function(e){var a=/^\s*|\s*$/g,b,d="B".replace(/A(.)|B/,"$1")==="$1";var c={majorVersion:"3",minorVersion:"5.7",releaseDate:"2012-09-20",_init:function(){var s=this,q=document,o=navigator,g=o.userAgent,m,f,l,k,j,r;s.isOpera=e.opera&&opera.buildNumber;s.isWebKit=/WebKit/.test(g);s.isIE=!s.isWebKit&&!s.isOpera&&(/MSIE/gi).test(g)&&(/Explorer/gi).test(o.appName);s.isIE6=s.isIE&&/MSIE [56]/.test(g);s.isIE7=s.isIE&&/MSIE [7]/.test(g);s.isIE8=s.isIE&&/MSIE [8]/.test(g);s.isIE9=s.isIE&&/MSIE [9]/.test(g);s.isGecko=!s.isWebKit&&/Gecko/.test(g);s.isMac=g.indexOf("Mac")!=-1;s.isAir=/adobeair/i.test(g);s.isIDevice=/(iPad|iPhone)/.test(g);s.isIOS5=s.isIDevice&&g.match(/AppleWebKit\/(\d*)/)[1]>=534;if(e.tinyMCEPreInit){s.suffix=tinyMCEPreInit.suffix;s.baseURL=tinyMCEPreInit.base;s.query=tinyMCEPreInit.query;return}s.suffix="";f=q.getElementsByTagName("base");for(m=0;m<f.length;m++){r=f[m].href;if(r){if(/^https?:\/\/[^\/]+$/.test(r)){r+="/"}k=r?r.match(/.*\//)[0]:""}}function h(i){if(i.src&&/tiny_mce(|_gzip|_jquery|_prototype|_full)(_dev|_src)?.js/.test(i.src)){if(/_(src|dev)\.js/g.test(i.src)){s.suffix="_src"}if((j=i.src.indexOf("?"))!=-1){s.query=i.src.substring(j+1)}s.baseURL=i.src.substring(0,i.src.lastIndexOf("/"));if(k&&s.baseURL.indexOf("://")==-1&&s.baseURL.indexOf("/")!==0){s.baseURL=k+s.baseURL}return s.baseURL}return null}f=q.getElementsByTagName("script");for(m=0;m<f.length;m++){if(h(f[m])){return}}l=q.getElementsByTagName("head")[0];if(l){f=l.getElementsByTagName("script");for(m=0;m<f.length;m++){if(h(f[m])){return}}}return},is:function(g,f){if(!f){return g!==b}if(f=="array"&&c.isArray(g)){return true}return typeof(g)==f},isArray:Array.isArray||function(f){return Object.prototype.toString.call(f)==="[object Array]"},makeMap:function(f,j,h){var g;f=f||[];j=j||",";if(typeof(f)=="string"){f=f.split(j)}h=h||{};g=f.length;while(g--){h[f[g]]={}}return h},each:function(i,f,h){var j,g;if(!i){return 0}h=h||i;if(i.length!==b){for(j=0,g=i.length;j<g;j++){if(f.call(h,i[j],j,i)===false){return 0}}}else{for(j in i){if(i.hasOwnProperty(j)){if(f.call(h,i[j],j,i)===false){return 0}}}}return 1},map:function(g,h){var i=[];c.each(g,function(f){i.push(h(f))});return i},grep:function(g,h){var i=[];c.each(g,function(f){if(!h||h(f)){i.push(f)}});return i},inArray:function(g,h){var j,f;if(g){for(j=0,f=g.length;j<f;j++){if(g[j]===h){return j}}}return -1},extend:function(n,k){var j,f,h,g=arguments,m;for(j=1,f=g.length;j<f;j++){k=g[j];for(h in k){if(k.hasOwnProperty(h)){m=k[h];if(m!==b){n[h]=m}}}}return n},trim:function(f){return(f?""+f:"").replace(a,"")},create:function(o,f,j){var n=this,g,i,k,l,h,m=0;o=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(o);k=o[3].match(/(^|\.)(\w+)$/i)[2];i=n.createNS(o[3].replace(/\.\w+$/,""),j);if(i[k]){return}if(o[2]=="static"){i[k]=f;if(this.onCreate){this.onCreate(o[2],o[3],i[k])}return}if(!f[k]){f[k]=function(){};m=1}i[k]=f[k];n.extend(i[k].prototype,f);if(o[5]){g=n.resolve(o[5]).prototype;l=o[5].match(/\.(\w+)$/i)[1];h=i[k];if(m){i[k]=function(){return g[l].apply(this,arguments)}}else{i[k]=function(){this.parent=g[l];return h.apply(this,arguments)}}i[k].prototype[k]=i[k];n.each(g,function(p,q){i[k].prototype[q]=g[q]});n.each(f,function(p,q){if(g[q]){i[k].prototype[q]=function(){this.parent=g[q];return p.apply(this,arguments)}}else{if(q!=k){i[k].prototype[q]=p}}})}n.each(f["static"],function(p,q){i[k][q]=p});if(this.onCreate){this.onCreate(o[2],o[3],i[k].prototype)}},walk:function(i,h,j,g){g=g||this;if(i){if(j){i=i[j]}c.each(i,function(k,f){if(h.call(g,k,f,j)===false){return false}c.walk(k,h,j,g)})}},createNS:function(j,h){var g,f;h=h||e;j=j.split(".");for(g=0;g<j.length;g++){f=j[g];if(!h[f]){h[f]={}}h=h[f]}return h},resolve:function(j,h){var g,f;h=h||e;j=j.split(".");for(g=0,f=j.length;g<f;g++){h=h[j[g]];if(!h){break}}return h},addUnload:function(j,i){var h=this,g;g=function(){var f=h.unloads,l,m;if(f){for(m in f){l=f[m];if(l&&l.func){l.func.call(l.scope,1)}}if(e.detachEvent){e.detachEvent("onbeforeunload",k);e.detachEvent("onunload",g)}else{if(e.removeEventListener){e.removeEventListener("unload",g,false)}}h.unloads=l=f=w=g=0;if(e.CollectGarbage){CollectGarbage()}}};function k(){var l=document;function f(){l.detachEvent("onstop",f);if(g){g()}l=0}if(l.readyState=="interactive"){if(l){l.attachEvent("onstop",f)}e.setTimeout(function(){if(l){l.detachEvent("onstop",f)}},0)}}j={func:j,scope:i||this};if(!h.unloads){if(e.attachEvent){e.attachEvent("onunload",g);e.attachEvent("onbeforeunload",k)}else{if(e.addEventListener){e.addEventListener("unload",g,false)}}h.unloads=[j]}else{h.unloads.push(j)}return j},removeUnload:function(i){var g=this.unloads,h=null;c.each(g,function(j,f){if(j&&j.func==i){g.splice(f,1);h=i;return false}});return h},explode:function(f,g){if(!f||c.is(f,"array")){return f}return c.map(f.split(g||","),c.trim)},_addVer:function(g){var f;if(!this.query){return g}f=(g.indexOf("?")==-1?"?":"&")+this.query;if(g.indexOf("#")==-1){return g+f}return g.replace("#",f+"#")},_replace:function(h,f,g){if(d){return g.replace(h,function(){var l=f,j=arguments,k;for(k=0;k<j.length-2;k++){if(j[k]===b){l=l.replace(new RegExp("\\$"+k,"g"),"")}else{l=l.replace(new RegExp("\\$"+k,"g"),j[k])}}return l})}return g.replace(h,f)}};c._init();e.tinymce=e.tinyMCE=c})(window);tinymce.create("tinymce.util.Dispatcher",{scope:null,listeners:null,inDispatch:false,Dispatcher:function(a){this.scope=a||this;this.listeners=[]},add:function(b,a){this.listeners.push({cb:b,scope:a||this.scope});return b},addToTop:function(d,b){var a=this,c={cb:d,scope:b||a.scope};if(a.inDispatch){a.listeners=[c].concat(a.listeners)}else{a.listeners.unshift(c)}return d},remove:function(c){var b=this.listeners,a=null;tinymce.each(b,function(e,d){if(c==e.cb){a=e;b.splice(d,1);return false}});return a},dispatch:function(){var a=this,e,b=arguments,c,d=a.listeners,f;a.inDispatch=true;for(c=0;c<d.length;c++){f=d[c];e=f.cb.apply(f.scope,b.length>0?b:[f.scope]);if(e===false){break}}a.inDispatch=false;return e}});(function(){var a=tinymce.each;tinymce.create("tinymce.util.URI",{URI:function(e,g){var f=this,i,d,c,h;e=tinymce.trim(e);g=f.settings=g||{};if(/^([\w\-]+):([^\/]{2})/i.test(e)||/^\s*#/.test(e)){f.source=e;return}if(e.indexOf("/")===0&&e.indexOf("//")!==0){e=(g.base_uri?g.base_uri.protocol||"http":"http")+"://mce_host"+e}if(!/^[\w\-]*:?\/\//.test(e)){h=g.base_uri?g.base_uri.path:new tinymce.util.URI(location.href).directory;e=((g.base_uri&&g.base_uri.protocol)||"http")+"://mce_host"+f.toAbsPath(h,e)}e=e.replace(/@@/g,"(mce_at)");e=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(e);a(["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],function(b,j){var k=e[j];if(k){k=k.replace(/\(mce_at\)/g,"@@")}f[b]=k});c=g.base_uri;if(c){if(!f.protocol){f.protocol=c.protocol}if(!f.userInfo){f.userInfo=c.userInfo}if(!f.port&&f.host==="mce_host"){f.port=c.port}if(!f.host||f.host==="mce_host"){f.host=c.host}f.source=""}},setPath:function(c){var b=this;c=/^(.*?)\/?(\w+)?$/.exec(c);b.path=c[0];b.directory=c[1];b.file=c[2];b.source="";b.getURI()},toRelative:function(b){var d=this,f;if(b==="./"){return b}b=new tinymce.util.URI(b,{base_uri:d});if((b.host!="mce_host"&&d.host!=b.host&&b.host)||d.port!=b.port||d.protocol!=b.protocol){return b.getURI()}var c=d.getURI(),e=b.getURI();if(c==e||(c.charAt(c.length-1)=="/"&&c.substr(0,c.length-1)==e)){return c}f=d.toRelPath(d.path,b.path);if(b.query){f+="?"+b.query}if(b.anchor){f+="#"+b.anchor}return f},toAbsolute:function(b,c){b=new tinymce.util.URI(b,{base_uri:this});return b.getURI(this.host==b.host&&this.protocol==b.protocol?c:0)},toRelPath:function(g,h){var c,f=0,d="",e,b;g=g.substring(0,g.lastIndexOf("/"));g=g.split("/");c=h.split("/");if(g.length>=c.length){for(e=0,b=g.length;e<b;e++){if(e>=c.length||g[e]!=c[e]){f=e+1;break}}}if(g.length<c.length){for(e=0,b=c.length;e<b;e++){if(e>=g.length||g[e]!=c[e]){f=e+1;break}}}if(f===1){return h}for(e=0,b=g.length-(f-1);e<b;e++){d+="../"}for(e=f-1,b=c.length;e<b;e++){if(e!=f-1){d+="/"+c[e]}else{d+=c[e]}}return d},toAbsPath:function(e,f){var c,b=0,h=[],d,g;d=/\/$/.test(f)?"/":"";e=e.split("/");f=f.split("/");a(e,function(i){if(i){h.push(i)}});e=h;for(c=f.length-1,h=[];c>=0;c--){if(f[c].length===0||f[c]==="."){continue}if(f[c]===".."){b++;continue}if(b>0){b--;continue}h.push(f[c])}c=e.length-b;if(c<=0){g=h.reverse().join("/")}else{g=e.slice(0,c).join("/")+"/"+h.reverse().join("/")}if(g.indexOf("/")!==0){g="/"+g}if(d&&g.lastIndexOf("/")!==g.length-1){g+=d}return g},getURI:function(d){var c,b=this;if(!b.source||d){c="";if(!d){if(b.protocol){c+=b.protocol+"://"}if(b.userInfo){c+=b.userInfo+"@"}if(b.host){c+=b.host}if(b.port){c+=":"+b.port}}if(b.path){c+=b.path}if(b.query){c+="?"+b.query}if(b.anchor){c+="#"+b.anchor}b.source=c}return b.source}})})();(function(){var a=tinymce.each;tinymce.create("static tinymce.util.Cookie",{getHash:function(d){var b=this.get(d),c;if(b){a(b.split("&"),function(e){e=e.split("=");c=c||{};c[unescape(e[0])]=unescape(e[1])})}return c},setHash:function(j,b,g,f,i,c){var h="";a(b,function(e,d){h+=(!h?"":"&")+escape(d)+"="+escape(e)});this.set(j,h,g,f,i,c)},get:function(i){var h=document.cookie,g,f=i+"=",d;if(!h){return}d=h.indexOf("; "+f);if(d==-1){d=h.indexOf(f);if(d!==0){return null}}else{d+=2}g=h.indexOf(";",d);if(g==-1){g=h.length}return unescape(h.substring(d+f.length,g))},set:function(i,b,g,f,h,c){document.cookie=i+"="+escape(b)+((g)?"; expires="+g.toGMTString():"")+((f)?"; path="+escape(f):"")+((h)?"; domain="+h:"")+((c)?"; secure":"")},remove:function(c,e,d){var b=new Date();b.setTime(b.getTime()-1000);this.set(c,"",b,e,d)}})})();(function(){function serialize(o,quote){var i,v,t,name;quote=quote||'"';if(o==null){return"null"}t=typeof o;if(t=="string"){v="\bb\tt\nn\ff\rr\"\"''\\\\";return quote+o.replace(/([\u0080-\uFFFF\x00-\x1f\"\'\\])/g,function(a,b){if(quote==='"'&&a==="'"){return a}i=v.indexOf(b);if(i+1){return"\\"+v.charAt(i+1)}a=b.charCodeAt().toString(16);return"\\u"+"0000".substring(a.length)+a})+quote}if(t=="object"){if(o.hasOwnProperty&&Object.prototype.toString.call(o)==="[object Array]"){for(i=0,v="[";i<o.length;i++){v+=(i>0?",":"")+serialize(o[i],quote)}return v+"]"}v="{";for(name in o){if(o.hasOwnProperty(name)){v+=typeof o[name]!="function"?(v.length>1?","+quote:quote)+name+quote+":"+serialize(o[name],quote):""}}return v+"}"}return""+o}tinymce.util.JSON={serialize:serialize,parse:function(s){try{return eval("("+s+")")}catch(ex){}}}})();tinymce.create("static tinymce.util.XHR",{send:function(g){var a,e,b=window,h=0;function f(){if(!g.async||a.readyState==4||h++>10000){if(g.success&&h<10000&&a.status==200){g.success.call(g.success_scope,""+a.responseText,a,g)}else{if(g.error){g.error.call(g.error_scope,h>10000?"TIMED_OUT":"GENERAL",a,g)}}a=null}else{b.setTimeout(f,10)}}g.scope=g.scope||this;g.success_scope=g.success_scope||g.scope;g.error_scope=g.error_scope||g.scope;g.async=g.async===false?false:true;g.data=g.data||"";function d(i){a=0;try{a=new ActiveXObject(i)}catch(c){}return a}a=b.XMLHttpRequest?new XMLHttpRequest():d("Microsoft.XMLHTTP")||d("Msxml2.XMLHTTP");if(a){if(a.overrideMimeType){a.overrideMimeType(g.content_type)}a.open(g.type||(g.data?"POST":"GET"),g.url,g.async);if(g.content_type){a.setRequestHeader("Content-Type",g.content_type)}a.setRequestHeader("X-Requested-With","XMLHttpRequest");a.send(g.data);if(!g.async){return f()}e=b.setTimeout(f,10)}}});(function(){var c=tinymce.extend,b=tinymce.util.JSON,a=tinymce.util.XHR;tinymce.create("tinymce.util.JSONRequest",{JSONRequest:function(d){this.settings=c({},d);this.count=0},send:function(f){var e=f.error,d=f.success;f=c(this.settings,f);f.success=function(h,g){h=b.parse(h);if(typeof(h)=="undefined"){h={error:"JSON Parse error."}}if(h.error){e.call(f.error_scope||f.scope,h.error,g)}else{d.call(f.success_scope||f.scope,h.result)}};f.error=function(h,g){if(e){e.call(f.error_scope||f.scope,h,g)}};f.data=b.serialize({id:f.id||"c"+(this.count++),method:f.method,params:f.params});f.content_type="application/json";a.send(f)},"static":{sendRPC:function(d){return new tinymce.util.JSONRequest().send(d)}}})}());(function(a){a.VK={BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,modifierPressed:function(b){return b.shiftKey||b.ctrlKey||b.altKey},metaKeyPressed:function(b){return a.isMac?b.metaKey:b.ctrlKey&&!b.altKey}}})(tinymce);tinymce.util.Quirks=function(e){var n=tinymce.VK,x=n.BACKSPACE,y=n.DELETE,q=e.dom,I=e.selection,v=e.settings,c=e.parser,u=e.serializer;function d(M,L){try{e.getDoc().execCommand(M,false,L)}catch(K){}}function C(){var K=e.getDoc().documentMode;return K?K:6}function H(K){return K.isDefaultPrevented()}function k(){function K(N){var L,P,M,O;L=I.getRng();P=q.getParent(L.startContainer,q.isBlock);if(N){P=q.getNext(P,q.isBlock)}if(P){M=P.firstChild;while(M&&M.nodeType==3&&M.nodeValue.length===0){M=M.nextSibling}if(M&&M.nodeName==="SPAN"){O=M.cloneNode(false)}}e.getDoc().execCommand(N?"ForwardDelete":"Delete",false,null);P=q.getParent(L.startContainer,q.isBlock);tinymce.each(q.select("span.Apple-style-span,font.Apple-style-span",P),function(Q){var R=I.getBookmark();if(O){q.replace(O.cloneNode(false),Q,true)}else{q.remove(Q,true)}I.moveToBookmark(R)})}e.onKeyDown.add(function(L,N){var M;M=N.keyCode==y;if(!H(N)&&(M||N.keyCode==x)&&!n.modifierPressed(N)){N.preventDefault();K(M)}});e.addCommand("Delete",function(){K()})}function J(){function K(N){var M=q.create("body");var O=N.cloneContents();M.appendChild(O);return I.serializer.serialize(M,{format:"html"})}function L(M){var O=K(M);var P=q.createRng();P.selectNode(e.getBody());var N=K(P);return O===N}e.onKeyDown.add(function(N,P){var O=P.keyCode,M;if(!H(P)&&(O==y||O==x)){M=N.selection.isCollapsed();if(M&&!q.isEmpty(N.getBody())){return}if(tinymce.isIE&&!M){return}if(!M&&!L(N.selection.getRng())){return}N.setContent("");N.selection.setCursorLocation(N.getBody(),0);N.nodeChanged()}})}function A(){e.onKeyDown.add(function(K,L){if(!H(L)&&L.keyCode==65&&n.metaKeyPressed(L)){L.preventDefault();K.execCommand("SelectAll")}})}function B(){if(!e.settings.content_editable){q.bind(e.getDoc(),"focusin",function(K){I.setRng(I.getRng())});q.bind(e.getDoc(),"mousedown",function(K){if(K.target==e.getDoc().documentElement){e.getWin().focus();I.setRng(I.getRng())}})}}function o(){e.onKeyDown.add(function(K,N){if(!H(N)&&N.keyCode===x){if(I.isCollapsed()&&I.getRng(true).startOffset===0){var M=I.getNode();var L=M.previousSibling;if(L&&L.nodeName&&L.nodeName.toLowerCase()==="hr"){q.remove(L);tinymce.dom.Event.cancel(N)}}}})}function b(){if(!Range.prototype.getClientRects){e.onMouseDown.add(function(L,M){if(!H(M)&&M.target.nodeName==="HTML"){var K=L.getBody();K.blur();setTimeout(function(){K.focus()},0)}})}}function F(){e.onClick.add(function(K,L){L=L.target;if(/^(IMG|HR)$/.test(L.nodeName)){I.getSel().setBaseAndExtent(L,0,L,1)}if(L.nodeName=="A"&&q.hasClass(L,"mceItemAnchor")){I.select(L)}K.nodeChanged()})}function E(){function L(){var N=q.getAttribs(I.getStart().cloneNode(false));return function(){var O=I.getStart();if(O!==e.getBody()){q.setAttrib(O,"style",null);tinymce.each(N,function(P){O.setAttributeNode(P.cloneNode(true))})}}}function K(){return !I.isCollapsed()&&q.getParent(I.getStart(),q.isBlock)!=q.getParent(I.getEnd(),q.isBlock)}function M(N,O){O.preventDefault();return false}e.onKeyPress.add(function(N,P){var O;if(!H(P)&&(P.keyCode==8||P.keyCode==46)&&K()){O=L();N.getDoc().execCommand("delete",false,null);O();P.preventDefault();return false}});q.bind(e.getDoc(),"cut",function(O){var N;if(!H(O)&&K()){N=L();e.onKeyUp.addToTop(M);setTimeout(function(){N();e.onKeyUp.remove(M)},0)}})}function l(){var L,K;q.bind(e.getDoc(),"selectionchange",function(){if(K){clearTimeout(K);K=0}K=window.setTimeout(function(){var M=I.getRng();if(!L||!tinymce.dom.RangeUtils.compareRanges(M,L)){e.nodeChanged();L=M}},50)})}function G(){document.body.setAttribute("role","application")}function D(){e.onKeyDown.add(function(K,M){if(!H(M)&&M.keyCode===x){if(I.isCollapsed()&&I.getRng(true).startOffset===0){var L=I.getNode().previousSibling;if(L&&L.nodeName&&L.nodeName.toLowerCase()==="table"){return tinymce.dom.Event.cancel(M)}}}})}function i(){if(C()>7){return}d("RespectVisibilityInDesign",true);e.contentStyles.push(".mceHideBrInPre pre br {display: none}");q.addClass(e.getBody(),"mceHideBrInPre");c.addNodeFilter("pre",function(K,M){var N=K.length,P,L,Q,O;while(N--){P=K[N].getAll("br");L=P.length;while(L--){Q=P[L];O=Q.prev;if(O&&O.type===3&&O.value.charAt(O.value-1)!="\n"){O.value+="\n"}else{Q.parent.insert(new tinymce.html.Node("#text",3),Q,true).value="\n"}}}});u.addNodeFilter("pre",function(K,M){var N=K.length,P,L,Q,O;while(N--){P=K[N].getAll("br");L=P.length;while(L--){Q=P[L];O=Q.prev;if(O&&O.type==3){O.value=O.value.replace(/\r?\n$/,"")}}}})}function g(){q.bind(e.getBody(),"mouseup",function(M){var L,K=I.getNode();if(K.nodeName=="IMG"){if(L=q.getStyle(K,"width")){q.setAttrib(K,"width",L.replace(/[^0-9%]+/g,""));q.setStyle(K,"width","")}if(L=q.getStyle(K,"height")){q.setAttrib(K,"height",L.replace(/[^0-9%]+/g,""));q.setStyle(K,"height","")}}})}function s(){e.onKeyDown.add(function(Q,R){var P,K,L,N,O,S,M;P=R.keyCode==y;if(!H(R)&&(P||R.keyCode==x)&&!n.modifierPressed(R)){K=I.getRng();L=K.startContainer;N=K.startOffset;M=K.collapsed;if(L.nodeType==3&&L.nodeValue.length>0&&((N===0&&!M)||(M&&N===(P?0:1)))){nonEmptyElements=Q.schema.getNonEmptyElements();R.preventDefault();O=q.create("br",{id:"__tmp"});L.parentNode.insertBefore(O,L);Q.getDoc().execCommand(P?"ForwardDelete":"Delete",false,null);L=I.getRng().startContainer;S=L.previousSibling;if(S&&S.nodeType==1&&!q.isBlock(S)&&q.isEmpty(S)&&!nonEmptyElements[S.nodeName.toLowerCase()]){q.remove(S)}q.remove("__tmp")}}})}function f(){e.onKeyDown.add(function(O,P){var M,L,Q,K,N;if(H(P)||P.keyCode!=n.BACKSPACE){return}M=I.getRng();L=M.startContainer;Q=M.startOffset;K=q.getRoot();N=L;if(!M.collapsed||Q!==0){return}while(N&&N.parentNode&&N.parentNode.firstChild==N&&N.parentNode!=K){N=N.parentNode}if(N.tagName==="BLOCKQUOTE"){O.formatter.toggle("blockquote",null,N);M=q.createRng();M.setStart(L,0);M.setEnd(L,0);I.setRng(M)}})}function m(){function K(){e._refreshContentEditable();d("StyleWithCSS",false);d("enableInlineTableEditing",false);if(!v.object_resizing){d("enableObjectResizing",false)}}if(!v.readonly){e.onBeforeExecCommand.add(K);e.onMouseDown.add(K)}}function p(){function K(L,M){tinymce.each(q.select("a"),function(P){var N=P.parentNode,O=q.getRoot();if(N.lastChild===P){while(N&&!q.isBlock(N)){if(N.parentNode.lastChild!==N||N===O){return}N=N.parentNode}q.add(N,"br",{"data-mce-bogus":1})}})}e.onExecCommand.add(function(L,M){if(M==="CreateLink"){K(L)}});e.onSetContent.add(I.onSetContent.add(K))}function z(){if(v.forced_root_block){e.onInit.add(function(){d("DefaultParagraphSeparator",v.forced_root_block)})}}function a(){function K(M,L){if(!M||!L.initial){e.execCommand("mceRepaint")}}e.onUndo.add(K);e.onRedo.add(K);e.onSetContent.add(K)}function r(){e.onKeyDown.add(function(L,M){var K;if(!H(M)&&M.keyCode==x){K=L.getDoc().selection.createRange();if(K&&K.item){M.preventDefault();L.undoManager.beforeChange();q.remove(K.item(0));L.undoManager.add()}}})}function j(){var K;if(C()>=10){K="";tinymce.each("p div h1 h2 h3 h4 h5 h6".split(" "),function(L,M){K+=(M>0?",":"")+L+":empty"});e.contentStyles.push(K+"{padding-right: 1px !important}")}}function h(){var M,L,ac,K,X,aa,Y,ab,N,O,Z,V,U,W=document,S=e.getDoc();if(!v.object_resizing||v.webkit_fake_resize===false){return}d("enableObjectResizing",false);Z={n:[0.5,0,0,-1],e:[1,0.5,1,0],s:[0.5,1,0,1],w:[0,0.5,-1,0],nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]};function Q(ag){var af,ae;af=ag.screenX-aa;ae=ag.screenY-Y;V=af*X[2]+ab;U=ae*X[3]+N;V=V<5?5:V;U=U<5?5:U;if(n.modifierPressed(ag)||(ac.nodeName=="IMG"&&X[2]*X[3]!==0)){V=Math.round(U/O);U=Math.round(V*O)}q.setStyles(K,{width:V,height:U});if(X[2]<0&&K.clientWidth<=V){q.setStyle(K,"left",M+(ab-V))}if(X[3]<0&&K.clientHeight<=U){q.setStyle(K,"top",L+(N-U))}}function ad(){function ae(af,ag){if(ag){if(ac.style[af]||!e.schema.isValid(ac.nodeName.toLowerCase(),af)){q.setStyle(ac,af,ag)}else{q.setAttrib(ac,af,ag)}}}ae("width",V);ae("height",U);q.unbind(S,"mousemove",Q);q.unbind(S,"mouseup",ad);if(W!=S){q.unbind(W,"mousemove",Q);q.unbind(W,"mouseup",ad)}q.remove(K);P(ac)}function P(ah){var af,ag,ae;R();af=q.getPos(ah);M=af.x;L=af.y;ag=ah.offsetWidth;ae=ah.offsetHeight;if(ac!=ah){ac=ah;V=U=0}tinymce.each(Z,function(ak,ai){var aj;aj=q.get("mceResizeHandle"+ai);if(!aj){aj=q.add(S.documentElement,"div",{id:"mceResizeHandle"+ai,"class":"mceResizeHandle",style:"cursor:"+ai+"-resize; margin:0; padding:0"});q.bind(aj,"mousedown",function(al){al.preventDefault();ad();aa=al.screenX;Y=al.screenY;ab=ac.clientWidth;N=ac.clientHeight;O=N/ab;X=ak;K=ac.cloneNode(true);q.addClass(K,"mceClonedResizable");q.setStyles(K,{left:M,top:L,margin:0});S.documentElement.appendChild(K);q.bind(S,"mousemove",Q);q.bind(S,"mouseup",ad);if(W!=S){q.bind(W,"mousemove",Q);q.bind(W,"mouseup",ad)}})}else{q.show(aj)}q.setStyles(aj,{left:(ag*ak[0]+M)-(aj.offsetWidth/2),top:(ae*ak[1]+L)-(aj.offsetHeight/2)})});if(!tinymce.isOpera&&ac.nodeName=="IMG"){ac.setAttribute("data-mce-selected","1")}}function R(){if(ac){ac.removeAttribute("data-mce-selected")}for(var ae in Z){q.hide("mceResizeHandle"+ae)}}e.contentStyles.push(".mceResizeHandle {position: absolute;border: 1px solid black;background: #FFF;width: 5px;height: 5px;z-index: 10000}.mceResizeHandle:hover {background: #000}img[data-mce-selected] {outline: 1px solid black}img.mceClonedResizable, table.mceClonedResizable {position: absolute;outline: 1px dashed black;opacity: .5;z-index: 10000}");function T(){var ae=q.getParent(I.getNode(),"table,img");tinymce.each(q.select("img[data-mce-selected]"),function(af){af.removeAttribute("data-mce-selected")});if(ae){P(ae)}else{R()}}e.onNodeChange.add(T);q.bind(S,"selectionchange",T);e.serializer.addAttributeFilter("data-mce-selected",function(ae,af){var ag=ae.length;while(ag--){ae[ag].attr(af,null)}})}function t(){if(C()<9){c.addNodeFilter("noscript",function(K){var L=K.length,M,N;while(L--){M=K[L];N=M.firstChild;if(N){M.attr("data-mce-innertext",N.value)}}});u.addNodeFilter("noscript",function(K){var L=K.length,M,O,N;while(L--){M=K[L];O=K[L].firstChild;if(O){O.value=tinymce.html.Entities.decode(O.value)}else{N=M.attributes.map["data-mce-innertext"];if(N){M.attr("data-mce-innertext",null);O=new tinymce.html.Node("#text",3);O.value=N;O.raw=true;M.append(O)}}}})}}D();f();J();if(tinymce.isWebKit){s();k();B();F();z();if(tinymce.isIDevice){l()}else{h();A()}}if(tinymce.isIE){o();G();i();g();r();j();t()}if(tinymce.isGecko){o();b();E();m();p();a()}if(tinymce.isOpera){h()}};(function(j){var a,g,d,k=/[&<>\"\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=/[<>&\"\']/g,c=/&(#x|#)?([\w]+);/g,i={128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"};g={'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;","&":"&amp;"};d={"&lt;":"<","&gt;":">","&amp;":"&","&quot;":'"',"&apos;":"'"};function h(l){var m;m=document.createElement("div");m.innerHTML=l;return m.textContent||m.innerText||l}function e(m,p){var n,o,l,q={};if(m){m=m.split(",");p=p||10;for(n=0;n<m.length;n+=2){o=String.fromCharCode(parseInt(m[n],p));if(!g[o]){l="&"+m[n+1]+";";q[o]=l;q[l]=o}}return q}}a=e("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);j.html=j.html||{};j.html.Entities={encodeRaw:function(m,l){return m.replace(l?k:b,function(n){return g[n]||n})},encodeAllRaw:function(l){return(""+l).replace(f,function(m){return g[m]||m})},encodeNumeric:function(m,l){return m.replace(l?k:b,function(n){if(n.length>1){return"&#"+(((n.charCodeAt(0)-55296)*1024)+(n.charCodeAt(1)-56320)+65536)+";"}return g[n]||"&#"+n.charCodeAt(0)+";"})},encodeNamed:function(n,l,m){m=m||a;return n.replace(l?k:b,function(o){return g[o]||m[o]||o})},getEncodeFunc:function(l,o){var p=j.html.Entities;o=e(o)||a;function m(r,q){return r.replace(q?k:b,function(s){return g[s]||o[s]||"&#"+s.charCodeAt(0)+";"||s})}function n(r,q){return p.encodeNamed(r,q,o)}l=j.makeMap(l.replace(/\+/g,","));if(l.named&&l.numeric){return m}if(l.named){if(o){return n}return p.encodeNamed}if(l.numeric){return p.encodeNumeric}return p.encodeRaw},decode:function(l){return l.replace(c,function(n,m,o){if(m){o=parseInt(o,m.length===2?16:10);if(o>65535){o-=65536;return String.fromCharCode(55296+(o>>10),56320+(o&1023))}else{return i[o]||String.fromCharCode(o)}}return d[n]||a[n]||h(n)})}}})(tinymce);tinymce.html.Styles=function(d,f){var k=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,h=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,b=/\s*([^:]+):\s*([^;]+);?/g,l=/\s+$/,m=/rgb/,e,g,a={},j;d=d||{};j="\\\" \\' \\; \\: ; : \uFEFF".split(" ");for(g=0;g<j.length;g++){a[j[g]]="\uFEFF"+g;a["\uFEFF"+g]=j[g]}function c(n,q,p,i){function o(r){r=parseInt(r).toString(16);return r.length>1?r:"0"+r}return"#"+o(q)+o(p)+o(i)}return{toHex:function(i){return i.replace(k,c)},parse:function(s){var z={},q,n,x,r,v=d.url_converter,y=d.url_converter_scope||this;function p(D,G){var F,C,B,E;F=z[D+"-top"+G];if(!F){return}C=z[D+"-right"+G];if(F!=C){return}B=z[D+"-bottom"+G];if(C!=B){return}E=z[D+"-left"+G];if(B!=E){return}z[D+G]=E;delete z[D+"-top"+G];delete z[D+"-right"+G];delete z[D+"-bottom"+G];delete z[D+"-left"+G]}function u(C){var D=z[C],B;if(!D||D.indexOf(" ")<0){return}D=D.split(" ");B=D.length;while(B--){if(D[B]!==D[0]){return false}}z[C]=D[0];return true}function A(D,C,B,E){if(!u(C)){return}if(!u(B)){return}if(!u(E)){return}z[D]=z[C]+" "+z[B]+" "+z[E];delete z[C];delete z[B];delete z[E]}function t(B){r=true;return a[B]}function i(C,B){if(r){C=C.replace(/\uFEFF[0-9]/g,function(D){return a[D]})}if(!B){C=C.replace(/\\([\'\";:])/g,"$1")}return C}function o(C,B,F,E,G,D){G=G||D;if(G){G=i(G);return"'"+G.replace(/\'/g,"\\'")+"'"}B=i(B||F||E);if(v){B=v.call(y,B,"style")}return"url('"+B.replace(/\'/g,"\\'")+"')"}if(s){s=s.replace(/\\[\"\';:\uFEFF]/g,t).replace(/\"[^\"]+\"|\'[^\']+\'/g,function(B){return B.replace(/[;:]/g,t)});while(q=b.exec(s)){n=q[1].replace(l,"").toLowerCase();x=q[2].replace(l,"");if(n&&x.length>0){if(n==="font-weight"&&x==="700"){x="bold"}else{if(n==="color"||n==="background-color"){x=x.toLowerCase()}}x=x.replace(k,c);x=x.replace(h,o);z[n]=r?i(x,true):x}b.lastIndex=q.index+q[0].length}p("border","");p("border","-width");p("border","-color");p("border","-style");p("padding","");p("margin","");A("border","border-width","border-style","border-color");if(z.border==="medium none"){delete z.border}}return z},serialize:function(p,r){var o="",n,q;function i(t){var x,u,s,v;x=f.styles[t];if(x){for(u=0,s=x.length;u<s;u++){t=x[u];v=p[t];if(v!==e&&v.length>0){o+=(o.length>0?" ":"")+t+": "+v+";"}}}}if(r&&f&&f.styles){i("*");i(r)}else{for(n in p){q=p[n];if(q!==e&&q.length>0){o+=(o.length>0?" ":"")+n+": "+q+";"}}}return o}}};(function(f){var a={},e=f.makeMap,g=f.each;function d(j,i){return j.split(i||",")}function h(m,l){var j,k={};function i(n){return n.replace(/[A-Z]+/g,function(o){return i(m[o])})}for(j in m){if(m.hasOwnProperty(j)){m[j]=i(m[j])}}i(l).replace(/#/g,"#text").replace(/(\w+)\[([^\]]+)\]\[([^\]]*)\]/g,function(q,o,n,p){n=d(n,"|");k[o]={attributes:e(n),attributesOrder:n,children:e(p,"|",{"#comment":{}})}});return k}function b(){var i=a.html5;if(!i){i=a.html5=h({A:"id|accesskey|class|dir|draggable|item|hidden|itemprop|role|spellcheck|style|subject|title|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup",B:"#|a|abbr|area|audio|b|bdo|br|button|canvas|cite|code|command|datalist|del|dfn|em|embed|i|iframe|img|input|ins|kbd|keygen|label|link|map|mark|meta|meter|noscript|object|output|progress|q|ruby|samp|script|select|small|span|strong|sub|sup|svg|textarea|time|var|video|wbr",C:"#|a|abbr|area|address|article|aside|audio|b|bdo|blockquote|br|button|canvas|cite|code|command|datalist|del|details|dfn|dialog|div|dl|em|embed|fieldset|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|i|iframe|img|input|ins|kbd|keygen|label|link|map|mark|menu|meta|meter|nav|noscript|ol|object|output|p|pre|progress|q|ruby|samp|script|section|select|small|span|strong|style|sub|sup|svg|table|textarea|time|ul|var|video"},"html[A|manifest][body|head]head[A][base|command|link|meta|noscript|script|style|title]title[A][#]base[A|href|target][]link[A|href|rel|media|type|sizes][]meta[A|http-equiv|name|content|charset][]style[A|type|media|scoped][#]script[A|charset|type|src|defer|async][#]noscript[A][C]body[A][C]section[A][C]nav[A][C]article[A][C]aside[A][C]h1[A][B]h2[A][B]h3[A][B]h4[A][B]h5[A][B]h6[A][B]hgroup[A][h1|h2|h3|h4|h5|h6]header[A][C]footer[A][C]address[A][C]p[A][B]br[A][]pre[A][B]dialog[A][dd|dt]blockquote[A|cite][C]ol[A|start|reversed][li]ul[A][li]li[A|value][C]dl[A][dd|dt]dt[A][B]dd[A][C]a[A|href|target|ping|rel|media|type][B]em[A][B]strong[A][B]small[A][B]cite[A][B]q[A|cite][B]dfn[A][B]abbr[A][B]code[A][B]var[A][B]samp[A][B]kbd[A][B]sub[A][B]sup[A][B]i[A][B]b[A][B]mark[A][B]progress[A|value|max][B]meter[A|value|min|max|low|high|optimum][B]time[A|datetime][B]ruby[A][B|rt|rp]rt[A][B]rp[A][B]bdo[A][B]span[A][B]ins[A|cite|datetime][B]del[A|cite|datetime][B]figure[A][C|legend|figcaption]figcaption[A][C]img[A|alt|src|height|width|usemap|ismap][]iframe[A|name|src|height|width|sandbox|seamless][]embed[A|src|height|width|type][]object[A|data|type|height|width|usemap|name|form|classid][param]param[A|name|value][]details[A|open][C|legend]command[A|type|label|icon|disabled|checked|radiogroup][]menu[A|type|label][C|li]legend[A][C|B]div[A][C]source[A|src|type|media][]audio[A|src|autobuffer|autoplay|loop|controls][source]video[A|src|autobuffer|autoplay|loop|controls|width|height|poster][source]hr[A][]form[A|accept-charset|action|autocomplete|enctype|method|name|novalidate|target][C]fieldset[A|disabled|form|name][C|legend]label[A|form|for][B]input[A|type|accept|alt|autocomplete|autofocus|checked|disabled|form|formaction|formenctype|formmethod|formnovalidate|formtarget|height|list|max|maxlength|min|multiple|pattern|placeholder|readonly|required|size|src|step|width|files|value|name][]button[A|autofocus|disabled|form|formaction|formenctype|formmethod|formnovalidate|formtarget|name|value|type][B]select[A|autofocus|disabled|form|multiple|name|size][option|optgroup]datalist[A][B|option]optgroup[A|disabled|label][option]option[A|disabled|selected|label|value][]textarea[A|autofocus|disabled|form|maxlength|name|placeholder|readonly|required|rows|cols|wrap][]keygen[A|autofocus|challenge|disabled|form|keytype|name][]output[A|for|form|name][B]canvas[A|width|height][]map[A|name][B|C]area[A|shape|coords|href|alt|target|media|rel|ping|type][]mathml[A][]svg[A][]table[A|border][caption|colgroup|thead|tfoot|tbody|tr]caption[A][C]colgroup[A|span][col]col[A|span][]thead[A][tr]tfoot[A][tr]tbody[A][tr]tr[A][th|td]th[A|headers|rowspan|colspan|scope][B]td[A|headers|rowspan|colspan][C]wbr[A][]")}return i}function c(){var i=a.html4;if(!i){i=a.html4=h({Z:"H|K|N|O|P",Y:"X|form|R|Q",ZG:"E|span|width|align|char|charoff|valign",X:"p|T|div|U|W|isindex|fieldset|table",ZF:"E|align|char|charoff|valign",W:"pre|hr|blockquote|address|center|noframes",ZE:"abbr|axis|headers|scope|rowspan|colspan|align|char|charoff|valign|nowrap|bgcolor|width|height",ZD:"[E][S]",U:"ul|ol|dl|menu|dir",ZC:"p|Y|div|U|W|table|br|span|bdo|object|applet|img|map|K|N|Q",T:"h1|h2|h3|h4|h5|h6",ZB:"X|S|Q",S:"R|P",ZA:"a|G|J|M|O|P",R:"a|H|K|N|O",Q:"noscript|P",P:"ins|del|script",O:"input|select|textarea|label|button",N:"M|L",M:"em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acronym",L:"sub|sup",K:"J|I",J:"tt|i|b|u|s|strike",I:"big|small|font|basefont",H:"G|F",G:"br|span|bdo",F:"object|applet|img|map|iframe",E:"A|B|C",D:"accesskey|tabindex|onfocus|onblur",C:"onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup",B:"lang|xml:lang|dir",A:"id|class|style|title"},"script[id|charset|type|language|src|defer|xml:space][]style[B|id|type|media|title|xml:space][]object[E|declare|classid|codebase|data|type|codetype|archive|standby|width|height|usemap|name|tabindex|align|border|hspace|vspace][#|param|Y]param[id|name|value|valuetype|type][]p[E|align][#|S]a[E|D|charset|type|name|href|hreflang|rel|rev|shape|coords|target][#|Z]br[A|clear][]span[E][#|S]bdo[A|C|B][#|S]applet[A|codebase|archive|code|object|alt|name|width|height|align|hspace|vspace][#|param|Y]h1[E|align][#|S]img[E|src|alt|name|longdesc|width|height|usemap|ismap|align|border|hspace|vspace][]map[B|C|A|name][X|form|Q|area]h2[E|align][#|S]iframe[A|longdesc|name|src|frameborder|marginwidth|marginheight|scrolling|align|width|height][#|Y]h3[E|align][#|S]tt[E][#|S]i[E][#|S]b[E][#|S]u[E][#|S]s[E][#|S]strike[E][#|S]big[E][#|S]small[E][#|S]font[A|B|size|color|face][#|S]basefont[id|size|color|face][]em[E][#|S]strong[E][#|S]dfn[E][#|S]code[E][#|S]q[E|cite][#|S]samp[E][#|S]kbd[E][#|S]var[E][#|S]cite[E][#|S]abbr[E][#|S]acronym[E][#|S]sub[E][#|S]sup[E][#|S]input[E|D|type|name|value|checked|disabled|readonly|size|maxlength|src|alt|usemap|onselect|onchange|accept|align][]select[E|name|size|multiple|disabled|tabindex|onfocus|onblur|onchange][optgroup|option]optgroup[E|disabled|label][option]option[E|selected|disabled|label|value][]textarea[E|D|name|rows|cols|disabled|readonly|onselect|onchange][]label[E|for|accesskey|onfocus|onblur][#|S]button[E|D|name|value|type|disabled][#|p|T|div|U|W|table|G|object|applet|img|map|K|N|Q]h4[E|align][#|S]ins[E|cite|datetime][#|Y]h5[E|align][#|S]del[E|cite|datetime][#|Y]h6[E|align][#|S]div[E|align][#|Y]ul[E|type|compact][li]li[E|type|value][#|Y]ol[E|type|compact|start][li]dl[E|compact][dt|dd]dt[E][#|S]dd[E][#|Y]menu[E|compact][li]dir[E|compact][li]pre[E|width|xml:space][#|ZA]hr[E|align|noshade|size|width][]blockquote[E|cite][#|Y]address[E][#|S|p]center[E][#|Y]noframes[E][#|Y]isindex[A|B|prompt][]fieldset[E][#|legend|Y]legend[E|accesskey|align][#|S]table[E|summary|width|border|frame|rules|cellspacing|cellpadding|align|bgcolor][caption|col|colgroup|thead|tfoot|tbody|tr]caption[E|align][#|S]col[ZG][]colgroup[ZG][col]thead[ZF][tr]tr[ZF|bgcolor][th|td]th[E|ZE][#|Y]form[E|action|method|name|enctype|onsubmit|onreset|accept|accept-charset|target][#|X|R|Q]noscript[E][#|Y]td[E|ZE][#|Y]tfoot[ZF][tr]tbody[ZF][tr]area[E|D|shape|coords|href|nohref|alt|target][]base[id|href|target][]body[E|onload|onunload|background|bgcolor|text|link|vlink|alink][#|Y]")}return i}f.html.Schema=function(A){var u=this,s={},k={},j=[],D,y;var o,q,z,r,v,n,p={};function m(F,E,H){var G=A[F];if(!G){G=a[F];if(!G){G=e(E," ",e(E.toUpperCase()," "));G=f.extend(G,H);a[F]=G}}else{G=e(G,",",e(G.toUpperCase()," "))}return G}A=A||{};y=A.schema=="html5"?b():c();if(A.verify_html===false){A.valid_elements="*[*]"}if(A.valid_styles){D={};g(A.valid_styles,function(F,E){D[E]=f.explode(F)})}o=m("whitespace_elements","pre script noscript style textarea");q=m("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr");z=m("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr");r=m("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls");n=m("non_empty_elements","td th iframe video audio object",z);textBlockElementsMap=m("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside nav figure");v=m("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex samp option datalist select optgroup",textBlockElementsMap);function i(E){return new RegExp("^"+E.replace(/([?+*])/g,".$1")+"$")}function C(L){var K,G,Z,V,aa,F,I,U,X,Q,Y,ac,O,J,W,E,S,H,ab,ad,P,T,N=/^([#+\-])?([^\[\/]+)(?:\/([^\[]+))?(?:\[([^\]]+)\])?$/,R=/^([!\-])?(\w+::\w+|[^=:<]+)?(?:([=:<])(.*))?$/,M=/[*?+]/;if(L){L=d(L);if(s["@"]){S=s["@"].attributes;H=s["@"].attributesOrder}for(K=0,G=L.length;K<G;K++){F=N.exec(L[K]);if(F){W=F[1];Q=F[2];E=F[3];X=F[4];O={};J=[];I={attributes:O,attributesOrder:J};if(W==="#"){I.paddEmpty=true}if(W==="-"){I.removeEmpty=true}if(S){for(ad in S){O[ad]=S[ad]}J.push.apply(J,H)}if(X){X=d(X,"|");for(Z=0,V=X.length;Z<V;Z++){F=R.exec(X[Z]);if(F){U={};ac=F[1];Y=F[2].replace(/::/g,":");W=F[3];T=F[4];if(ac==="!"){I.attributesRequired=I.attributesRequired||[];I.attributesRequired.push(Y);U.required=true}if(ac==="-"){delete O[Y];J.splice(f.inArray(J,Y),1);continue}if(W){if(W==="="){I.attributesDefault=I.attributesDefault||[];I.attributesDefault.push({name:Y,value:T});U.defaultValue=T}if(W===":"){I.attributesForced=I.attributesForced||[];I.attributesForced.push({name:Y,value:T});U.forcedValue=T}if(W==="<"){U.validValues=e(T,"?")}}if(M.test(Y)){I.attributePatterns=I.attributePatterns||[];U.pattern=i(Y);I.attributePatterns.push(U)}else{if(!O[Y]){J.push(Y)}O[Y]=U}}}}if(!S&&Q=="@"){S=O;H=J}if(E){I.outputName=Q;s[E]=I}if(M.test(Q)){I.pattern=i(Q);j.push(I)}else{s[Q]=I}}}}}function t(E){s={};j=[];C(E);g(y,function(G,F){k[F]=G.children})}function l(F){var E=/^(~)?(.+)$/;if(F){g(d(F),function(J){var H=E.exec(J),I=H[1]==="~",K=I?"span":"div",G=H[2];k[G]=k[K];p[G]=K;if(!I){v[G.toUpperCase()]={};v[G]={}}if(!s[G]){s[G]=s[K]}g(k,function(L,M){if(L[K]){L[G]=L[K]}})})}}function x(F){var E=/^([+\-]?)(\w+)\[([^\]]+)\]$/;if(F){g(d(F),function(J){var I=E.exec(J),G,H;if(I){H=I[1];if(H){G=k[I[2]]}else{G=k[I[2]]={"#comment":{}}}G=k[I[2]];g(d(I[3],"|"),function(K){if(H==="-"){delete G[K]}else{G[K]={}}})}})}}function B(E){var G=s[E],F;if(G){return G}F=j.length;while(F--){G=j[F];if(G.pattern.test(E)){return G}}}if(!A.valid_elements){g(y,function(F,E){s[E]={attributes:F.attributes,attributesOrder:F.attributesOrder};k[E]=F.children});if(A.schema!="html5"){g(d("strong/b,em/i"),function(E){E=d(E,"/");s[E[1]].outputName=E[0]})}s.img.attributesDefault=[{name:"alt",value:""}];g(d("ol,ul,sub,sup,blockquote,span,font,a,table,tbody,tr,strong,em,b,i"),function(E){if(s[E]){s[E].removeEmpty=true}});g(d("p,h1,h2,h3,h4,h5,h6,th,td,pre,div,address,caption"),function(E){s[E].paddEmpty=true})}else{t(A.valid_elements)}l(A.custom_elements);x(A.valid_children);C(A.extended_valid_elements);x("+ol[ul|ol],+ul[ul|ol]");if(A.invalid_elements){f.each(f.explode(A.invalid_elements),function(E){if(s[E]){delete s[E]}})}if(!B("span")){C("span[!data-mce-type|*]")}u.children=k;u.styles=D;u.getBoolAttrs=function(){return r};u.getBlockElements=function(){return v};u.getTextBlockElements=function(){return textBlockElementsMap};u.getShortEndedElements=function(){return z};u.getSelfClosingElements=function(){return q};u.getNonEmptyElements=function(){return n};u.getWhiteSpaceElements=function(){return o};u.isValidChild=function(E,G){var F=k[E];return !!(F&&F[G])};u.isValid=function(F,E){var H,G,I=B(F);if(I){if(E){if(I.attributes[E]){return true}H=I.attributePatterns;if(H){G=H.length;while(G--){if(H[G].pattern.test(F)){return true}}}}else{return true}}return false};u.getElementRule=B;u.getCustomElements=function(){return p};u.addValidElements=C;u.setValidElements=t;u.addCustomElements=l;u.addValidChildren=x;u.elements=s}})(tinymce);(function(a){a.html.SaxParser=function(c,e){var b=this,d=function(){};c=c||{};b.schema=e=e||new a.html.Schema();if(c.fix_self_closing!==false){c.fix_self_closing=true}a.each("comment cdata text start end pi doctype".split(" "),function(f){if(f){b[f]=c[f]||d}});b.parse=function(E){var n=this,g,G=0,I,B,A=[],N,Q,C,r,z,s,M,H,O,v,m,k,t,R,o,P,F,S,L,f,J,l,D,K,h,x=0,j=a.html.Entities.decode,y,q;function u(T){var V,U;V=A.length;while(V--){if(A[V].name===T){break}}if(V>=0){for(U=A.length-1;U>=V;U--){T=A[U];if(T.valid){n.end(T.name)}}A.length=V}}function p(U,T,Y,X,W){var Z,V;T=T.toLowerCase();Y=T in H?T:j(Y||X||W||"");if(v&&!z&&T.indexOf("data-mce-")!==0){Z=P[T];if(!Z&&F){V=F.length;while(V--){Z=F[V];if(Z.pattern.test(T)){break}}if(V===-1){Z=null}}if(!Z){return}if(Z.validValues&&!(Y in Z.validValues)){return}}N.map[T]=Y;N.push({name:T,value:Y})}l=new RegExp("<(?:(?:!--([\\w\\W]*?)-->)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:!DOCTYPE([\\w\\W]*?)>)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([^>]+)>)|(?:([A-Za-z0-9\\-\\:\\.]+)((?:\\s+[^\"'>]+(?:(?:\"[^\"]*\")|(?:'[^']*')|[^>]*))*|\\/|\\s+)>))","g");D=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g;K={script:/<\/script[^>]*>/gi,style:/<\/style[^>]*>/gi,noscript:/<\/noscript[^>]*>/gi};M=e.getShortEndedElements();J=c.self_closing_elements||e.getSelfClosingElements();H=e.getBoolAttrs();v=c.validate;s=c.remove_internals;y=c.fix_self_closing;q=a.isIE;o=/^:/;while(g=l.exec(E)){if(G<g.index){n.text(j(E.substr(G,g.index-G)))}if(I=g[6]){I=I.toLowerCase();if(q&&o.test(I)){I=I.substr(1)}u(I)}else{if(I=g[7]){I=I.toLowerCase();if(q&&o.test(I)){I=I.substr(1)}O=I in M;if(y&&J[I]&&A.length>0&&A[A.length-1].name===I){u(I)}if(!v||(m=e.getElementRule(I))){k=true;if(v){P=m.attributes;F=m.attributePatterns}if(R=g[8]){z=R.indexOf("data-mce-type")!==-1;if(z&&s){k=false}N=[];N.map={};R.replace(D,p)}else{N=[];N.map={}}if(v&&!z){S=m.attributesRequired;L=m.attributesDefault;f=m.attributesForced;if(f){Q=f.length;while(Q--){t=f[Q];r=t.name;h=t.value;if(h==="{$uid}"){h="mce_"+x++}N.map[r]=h;N.push({name:r,value:h})}}if(L){Q=L.length;while(Q--){t=L[Q];r=t.name;if(!(r in N.map)){h=t.value;if(h==="{$uid}"){h="mce_"+x++}N.map[r]=h;N.push({name:r,value:h})}}}if(S){Q=S.length;while(Q--){if(S[Q] in N.map){break}}if(Q===-1){k=false}}if(N.map["data-mce-bogus"]){k=false}}if(k){n.start(I,N,O)}}else{k=false}if(B=K[I]){B.lastIndex=G=g.index+g[0].length;if(g=B.exec(E)){if(k){C=E.substr(G,g.index-G)}G=g.index+g[0].length}else{C=E.substr(G);G=E.length}if(k&&C.length>0){n.text(C,true)}if(k){n.end(I)}l.lastIndex=G;continue}if(!O){if(!R||R.indexOf("/")!=R.length-1){A.push({name:I,valid:k})}else{if(k){n.end(I)}}}}else{if(I=g[1]){n.comment(I)}else{if(I=g[2]){n.cdata(I)}else{if(I=g[3]){n.doctype(I)}else{if(I=g[4]){n.pi(I,g[5])}}}}}}G=g.index+g[0].length}if(G<E.length){n.text(j(E.substr(G)))}for(Q=A.length-1;Q>=0;Q--){I=A[Q];if(I.valid){n.end(I.name)}}}}})(tinymce);(function(d){var c=/^[ \t\r\n]*$/,e={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11};function a(k,l,j){var i,h,f=j?"lastChild":"firstChild",g=j?"prev":"next";if(k[f]){return k[f]}if(k!==l){i=k[g];if(i){return i}for(h=k.parent;h&&h!==l;h=h.parent){i=h[g];if(i){return i}}}}function b(f,g){this.name=f;this.type=g;if(g===1){this.attributes=[];this.attributes.map={}}}d.extend(b.prototype,{replace:function(g){var f=this;if(g.parent){g.remove()}f.insert(g,f);f.remove();return f},attr:function(h,l){var f=this,g,j,k;if(typeof h!=="string"){for(j in h){f.attr(j,h[j])}return f}if(g=f.attributes){if(l!==k){if(l===null){if(h in g.map){delete g.map[h];j=g.length;while(j--){if(g[j].name===h){g=g.splice(j,1);return f}}}return f}if(h in g.map){j=g.length;while(j--){if(g[j].name===h){g[j].value=l;break}}}else{g.push({name:h,value:l})}g.map[h]=l;return f}else{return g.map[h]}}},clone:function(){var g=this,n=new b(g.name,g.type),h,f,m,j,k;if(m=g.attributes){k=[];k.map={};for(h=0,f=m.length;h<f;h++){j=m[h];if(j.name!=="id"){k[k.length]={name:j.name,value:j.value};k.map[j.name]=j.value}}n.attributes=k}n.value=g.value;n.shortEnded=g.shortEnded;return n},wrap:function(g){var f=this;f.parent.insert(g,f);g.append(f);return f},unwrap:function(){var f=this,h,g;for(h=f.firstChild;h;){g=h.next;f.insert(h,f,true);h=g}f.remove()},remove:function(){var f=this,h=f.parent,g=f.next,i=f.prev;if(h){if(h.firstChild===f){h.firstChild=g;if(g){g.prev=null}}else{i.next=g}if(h.lastChild===f){h.lastChild=i;if(i){i.next=null}}else{g.prev=i}f.parent=f.next=f.prev=null}return f},append:function(h){var f=this,g;if(h.parent){h.remove()}g=f.lastChild;if(g){g.next=h;h.prev=g;f.lastChild=h}else{f.lastChild=f.firstChild=h}h.parent=f;return h},insert:function(h,f,i){var g;if(h.parent){h.remove()}g=f.parent||this;if(i){if(f===g.firstChild){g.firstChild=h}else{f.prev.next=h}h.prev=f.prev;h.next=f;f.prev=h}else{if(f===g.lastChild){g.lastChild=h}else{f.next.prev=h}h.next=f.next;h.prev=f;f.next=h}h.parent=g;return h},getAll:function(g){var f=this,h,i=[];for(h=f.firstChild;h;h=a(h,f)){if(h.name===g){i.push(h)}}return i},empty:function(){var g=this,f,h,j;if(g.firstChild){f=[];for(j=g.firstChild;j;j=a(j,g)){f.push(j)}h=f.length;while(h--){j=f[h];j.parent=j.firstChild=j.lastChild=j.next=j.prev=null}}g.firstChild=g.lastChild=null;return g},isEmpty:function(k){var f=this,j=f.firstChild,h,g;if(j){do{if(j.type===1){if(j.attributes.map["data-mce-bogus"]){continue}if(k[j.name]){return false}h=j.attributes.length;while(h--){g=j.attributes[h].name;if(g==="name"||g.indexOf("data-mce-")===0){return false}}}if(j.type===8){return false}if((j.type===3&&!c.test(j.value))){return false}}while(j=a(j,f))}return true},walk:function(f){return a(this,null,f)}});d.extend(b,{create:function(g,f){var i,h;i=new b(g,e[g]||1);if(f){for(h in f){i.attr(h,f[h])}}return i}});d.html.Node=b})(tinymce);(function(b){var a=b.html.Node;b.html.DomParser=function(g,h){var f=this,e={},d=[],i={},c={};g=g||{};g.validate="validate" in g?g.validate:true;g.root_name=g.root_name||"body";f.schema=h=h||new b.html.Schema();function j(n){var p,q,y,x,A,o,r,l,u,v,k,t,m,z,s;t=b.makeMap("tr,td,th,tbody,thead,tfoot,table");k=h.getNonEmptyElements();m=h.getTextBlockElements();for(p=0;p<n.length;p++){q=n[p];if(!q.parent||q.fixed){continue}if(m[q.name]&&q.parent.name=="li"){z=q.next;while(z){if(m[z.name]){z.name="li";z.fixed=true;q.parent.insert(z,q.parent)}else{break}z=z.next}q.unwrap(q);continue}x=[q];for(y=q.parent;y&&!h.isValidChild(y.name,q.name)&&!t[y.name];y=y.parent){x.push(y)}if(y&&x.length>1){x.reverse();A=o=f.filterNode(x[0].clone());for(u=0;u<x.length-1;u++){if(h.isValidChild(o.name,x[u].name)){r=f.filterNode(x[u].clone());o.append(r)}else{r=o}for(l=x[u].firstChild;l&&l!=x[u+1];){s=l.next;r.append(l);l=s}o=r}if(!A.isEmpty(k)){y.insert(A,x[0],true);y.insert(q,A)}else{y.insert(q,x[0],true)}y=x[0];if(y.isEmpty(k)||y.firstChild===y.lastChild&&y.firstChild.name==="br"){y.empty().remove()}}else{if(q.parent){if(q.name==="li"){z=q.prev;if(z&&(z.name==="ul"||z.name==="ul")){z.append(q);continue}z=q.next;if(z&&(z.name==="ul"||z.name==="ul")){z.insert(q,z.firstChild,true);continue}q.wrap(f.filterNode(new a("ul",1)));continue}if(h.isValidChild(q.parent.name,"div")&&h.isValidChild("div",q.name)){q.wrap(f.filterNode(new a("div",1)))}else{if(q.name==="style"||q.name==="script"){q.empty().remove()}else{q.unwrap()}}}}}}f.filterNode=function(m){var l,k,n;if(k in e){n=i[k];if(n){n.push(m)}else{i[k]=[m]}}l=d.length;while(l--){k=d[l].name;if(k in m.attributes.map){n=c[k];if(n){n.push(m)}else{c[k]=[m]}}}return m};f.addNodeFilter=function(k,l){b.each(b.explode(k),function(m){var n=e[m];if(!n){e[m]=n=[]}n.push(l)})};f.addAttributeFilter=function(k,l){b.each(b.explode(k),function(m){var n;for(n=0;n<d.length;n++){if(d[n].name===m){d[n].callbacks.push(l);return}}d.push({name:m,callbacks:[l]})})};f.parse=function(v,m){var n,J,B,A,D,C,x,r,F,N,z,o,E,M=[],L,t,k,y,s,p,u,q;m=m||{};i={};c={};o=b.extend(b.makeMap("script,style,head,html,body,title,meta,param"),h.getBlockElements());u=h.getNonEmptyElements();p=h.children;z=g.validate;q="forced_root_block" in m?m.forced_root_block:g.forced_root_block;s=h.getWhiteSpaceElements();E=/^[ \t\r\n]+/;t=/[ \t\r\n]+$/;k=/[ \t\r\n]+/g;y=/^[ \t\r\n]+$/;function G(){var O=J.firstChild,l,P;while(O){l=O.next;if(O.type==3||(O.type==1&&O.name!=="p"&&!o[O.name]&&!O.attr("data-mce-type"))){if(!P){P=K(q,1);J.insert(P,O);P.append(O)}else{P.append(O)}}else{P=null}O=l}}function K(l,O){var P=new a(l,O),Q;if(l in e){Q=i[l];if(Q){Q.push(P)}else{i[l]=[P]}}return P}function I(P){var Q,l,O;for(Q=P.prev;Q&&Q.type===3;){l=Q.value.replace(t,"");if(l.length>0){Q.value=l;Q=Q.prev}else{O=Q.prev;Q.remove();Q=O}}}function H(O){var P,l={};for(P in O){if(P!=="li"&&P!="p"){l[P]=O[P]}}return l}n=new b.html.SaxParser({validate:z,self_closing_elements:H(h.getSelfClosingElements()),cdata:function(l){B.append(K("#cdata",4)).value=l},text:function(P,l){var O;if(!L){P=P.replace(k," ");if(B.lastChild&&o[B.lastChild.name]){P=P.replace(E,"")}}if(P.length!==0){O=K("#text",3);O.raw=!!l;B.append(O).value=P}},comment:function(l){B.append(K("#comment",8)).value=l},pi:function(l,O){B.append(K(l,7)).value=O;I(B)},doctype:function(O){var l;l=B.append(K("#doctype",10));l.value=O;I(B)},start:function(l,W,P){var U,R,Q,O,S,X,V,T;Q=z?h.getElementRule(l):{};if(Q){U=K(Q.outputName||l,1);U.attributes=W;U.shortEnded=P;B.append(U);T=p[B.name];if(T&&p[U.name]&&!T[U.name]){M.push(U)}R=d.length;while(R--){S=d[R].name;if(S in W.map){F=c[S];if(F){F.push(U)}else{c[S]=[U]}}}if(o[l]){I(U)}if(!P){B=U}if(!L&&s[l]){L=true}}},end:function(l){var S,P,R,O,Q;P=z?h.getElementRule(l):{};if(P){if(o[l]){if(!L){S=B.firstChild;if(S&&S.type===3){R=S.value.replace(E,"");if(R.length>0){S.value=R;S=S.next}else{O=S.next;S.remove();S=O}while(S&&S.type===3){R=S.value;O=S.next;if(R.length===0||y.test(R)){S.remove();S=O}S=O}}S=B.lastChild;if(S&&S.type===3){R=S.value.replace(t,"");if(R.length>0){S.value=R;S=S.prev}else{O=S.prev;S.remove();S=O}while(S&&S.type===3){R=S.value;O=S.prev;if(R.length===0||y.test(R)){S.remove();S=O}S=O}}}}if(L&&s[l]){L=false}if(P.removeEmpty||P.paddEmpty){if(B.isEmpty(u)){if(P.paddEmpty){B.empty().append(new a("#text","3")).value="\u00a0"}else{if(!B.attributes.map.name&&!B.attributes.map.id){Q=B.parent;B.empty().remove();B=Q;return}}}}B=B.parent}}},h);J=B=new a(m.context||g.root_name,11);n.parse(v);if(z&&M.length){if(!m.context){j(M)}else{m.invalid=true}}if(q&&J.name=="body"){G()}if(!m.invalid){for(N in i){F=e[N];A=i[N];x=A.length;while(x--){if(!A[x].parent){A.splice(x,1)}}for(D=0,C=F.length;D<C;D++){F[D](A,N,m)}}for(D=0,C=d.length;D<C;D++){F=d[D];if(F.name in c){A=c[F.name];x=A.length;while(x--){if(!A[x].parent){A.splice(x,1)}}for(x=0,r=F.callbacks.length;x<r;x++){F.callbacks[x](A,F.name,m)}}}}return J};if(g.remove_trailing_brs){f.addNodeFilter("br",function(n,m){var r,q=n.length,o,v=b.extend({},h.getBlockElements()),k=h.getNonEmptyElements(),t,s,p,u;v.body=1;for(r=0;r<q;r++){o=n[r];t=o.parent;if(v[o.parent.name]&&o===t.lastChild){p=o.prev;while(p){u=p.name;if(u!=="span"||p.attr("data-mce-type")!=="bookmark"){if(u!=="br"){break}if(u==="br"){o=null;break}}p=p.prev}if(o){o.remove();if(t.isEmpty(k)){elementRule=h.getElementRule(t.name);if(elementRule){if(elementRule.removeEmpty){t.remove()}else{if(elementRule.paddEmpty){t.empty().append(new b.html.Node("#text",3)).value="\u00a0"}}}}}}else{s=o;while(t.firstChild===s&&t.lastChild===s){s=t;if(v[t.name]){break}t=t.parent}if(s===t){textNode=new b.html.Node("#text",3);textNode.value="\u00a0";o.replace(textNode)}}}})}if(!g.allow_html_in_named_anchor){f.addAttributeFilter("id,name",function(k,l){var n=k.length,p,m,o,q;while(n--){q=k[n];if(q.name==="a"&&q.firstChild&&!q.attr("href")){o=q.parent;p=q.lastChild;do{m=p.prev;o.insert(p,q);p=m}while(p)}}})}}})(tinymce);tinymce.html.Writer=function(e){var c=[],a,b,d,f,g;e=e||{};a=e.indent;b=tinymce.makeMap(e.indent_before||"");d=tinymce.makeMap(e.indent_after||"");f=tinymce.html.Entities.getEncodeFunc(e.entity_encoding||"raw",e.entities);g=e.element_format=="html";return{start:function(m,k,p){var n,j,h,o;if(a&&b[m]&&c.length>0){o=c[c.length-1];if(o.length>0&&o!=="\n"){c.push("\n")}}c.push("<",m);if(k){for(n=0,j=k.length;n<j;n++){h=k[n];c.push(" ",h.name,'="',f(h.value,true),'"')}}if(!p||g){c[c.length]=">"}else{c[c.length]=" />"}if(p&&a&&d[m]&&c.length>0){o=c[c.length-1];if(o.length>0&&o!=="\n"){c.push("\n")}}},end:function(h){var i;c.push("</",h,">");if(a&&d[h]&&c.length>0){i=c[c.length-1];if(i.length>0&&i!=="\n"){c.push("\n")}}},text:function(i,h){if(i.length>0){c[c.length]=h?i:f(i)}},cdata:function(h){c.push("<![CDATA[",h,"]]>")},comment:function(h){c.push("<!--",h,"-->")},pi:function(h,i){if(i){c.push("<?",h," ",i,"?>")}else{c.push("<?",h,"?>")}if(a){c.push("\n")}},doctype:function(h){c.push("<!DOCTYPE",h,">",a?"\n":"")},reset:function(){c.length=0},getContent:function(){return c.join("").replace(/\n$/,"")}}};(function(a){a.html.Serializer=function(c,d){var b=this,e=new a.html.Writer(c);c=c||{};c.validate="validate" in c?c.validate:true;b.schema=d=d||new a.html.Schema();b.writer=e;b.serialize=function(h){var g,i;i=c.validate;g={3:function(k,j){e.text(k.value,k.raw)},8:function(j){e.comment(j.value)},7:function(j){e.pi(j.name,j.value)},10:function(j){e.doctype(j.value)},4:function(j){e.cdata(j.value)},11:function(j){if((j=j.firstChild)){do{f(j)}while(j=j.next)}}};e.reset();function f(k){var t=g[k.type],j,o,s,r,p,u,n,m,q;if(!t){j=k.name;o=k.shortEnded;s=k.attributes;if(i&&s&&s.length>1){u=[];u.map={};q=d.getElementRule(k.name);for(n=0,m=q.attributesOrder.length;n<m;n++){r=q.attributesOrder[n];if(r in s.map){p=s.map[r];u.map[r]=p;u.push({name:r,value:p})}}for(n=0,m=s.length;n<m;n++){r=s[n].name;if(!(r in u.map)){p=s.map[r];u.map[r]=p;u.push({name:r,value:p})}}s=u}e.start(k.name,s,o);if(!o){if((k=k.firstChild)){do{f(k)}while(k=k.next)}e.end(j)}}else{t(k)}}if(h.type==1&&!c.inner){f(h)}else{g[11](h)}return e.getContent()}}})(tinymce);tinymce.dom={};(function(b,h){var g=!!document.addEventListener;function c(k,j,l,i){if(k.addEventListener){k.addEventListener(j,l,i||false)}else{if(k.attachEvent){k.attachEvent("on"+j,l)}}}function e(k,j,l,i){if(k.removeEventListener){k.removeEventListener(j,l,i||false)}else{if(k.detachEvent){k.detachEvent("on"+j,l)}}}function a(n,l){var i,k=l||{};function j(){return false}function m(){return true}for(i in n){if(i!=="layerX"&&i!=="layerY"){k[i]=n[i]}}if(!k.target){k.target=k.srcElement||document}k.preventDefault=function(){k.isDefaultPrevented=m;if(n){if(n.preventDefault){n.preventDefault()}else{n.returnValue=false}}};k.stopPropagation=function(){k.isPropagationStopped=m;if(n){if(n.stopPropagation){n.stopPropagation()}else{n.cancelBubble=true}}};k.stopImmediatePropagation=function(){k.isImmediatePropagationStopped=m;k.stopPropagation()};if(!k.isDefaultPrevented){k.isDefaultPrevented=j;k.isPropagationStopped=j;k.isImmediatePropagationStopped=j}return k}function d(m,n,l){var k=m.document,j={type:"ready"};function i(){if(!l.domLoaded){l.domLoaded=true;n(j)}}if(k.readyState=="complete"){i();return}if(g){c(m,"DOMContentLoaded",i)}else{c(k,"readystatechange",function(){if(k.readyState==="complete"){e(k,"readystatechange",arguments.callee);i()}});if(k.documentElement.doScroll&&m===m.top){(function(){try{k.documentElement.doScroll("left")}catch(o){setTimeout(arguments.callee,0);return}i()})()}}c(m,"load",i)}function f(k){var q=this,p={},i,o,n,m,l;m="onmouseenter" in document.documentElement;n="onfocusin" in document.documentElement;l={mouseenter:"mouseover",mouseleave:"mouseout"};i=1;q.domLoaded=false;q.events=p;function j(t,x){var s,u,r,v;s=p[x][t.type];if(s){for(u=0,r=s.length;u<r;u++){v=s[u];if(v&&v.func.call(v.scope,t)===false){t.preventDefault()}if(t.isImmediatePropagationStopped()){return}}}}q.bind=function(x,A,D,E){var s,t,u,r,B,z,C,v=window;function y(F){j(a(F||v.event),s)}if(!x||x.nodeType===3||x.nodeType===8){return}if(!x[h]){s=i++;x[h]=s;p[s]={}}else{s=x[h];if(!p[s]){p[s]={}}}E=E||x;A=A.split(" ");u=A.length;while(u--){r=A[u];z=y;B=C=false;if(r==="DOMContentLoaded"){r="ready"}if((q.domLoaded||x.readyState=="complete")&&r==="ready"){q.domLoaded=true;D.call(E,a({type:r}));continue}if(!m){B=l[r];if(B){z=function(F){var H,G;H=F.currentTarget;G=F.relatedTarget;if(G&&H.contains){G=H.contains(G)}else{while(G&&G!==H){G=G.parentNode}}if(!G){F=a(F||v.event);F.type=F.type==="mouseout"?"mouseleave":"mouseenter";F.target=H;j(F,s)}}}}if(!n&&(r==="focusin"||r==="focusout")){C=true;B=r==="focusin"?"focus":"blur";z=function(F){F=a(F||v.event);F.type=F.type==="focus"?"focusin":"focusout";j(F,s)}}t=p[s][r];if(!t){p[s][r]=t=[{func:D,scope:E}];t.fakeName=B;t.capture=C;t.nativeHandler=z;if(!g){t.proxyHandler=k(s)}if(r==="ready"){d(x,z,q)}else{c(x,B||r,g?z:t.proxyHandler,C)}}else{t.push({func:D,scope:E})}}x=t=0;return D};q.unbind=function(x,z,A){var s,u,v,B,r,t;if(!x||x.nodeType===3||x.nodeType===8){return q}s=x[h];if(s){t=p[s];if(z){z=z.split(" ");v=z.length;while(v--){r=z[v];u=t[r];if(u){if(A){B=u.length;while(B--){if(u[B].func===A){u.splice(B,1)}}}if(!A||u.length===0){delete t[r];e(x,u.fakeName||r,g?u.nativeHandler:u.proxyHandler,u.capture)}}}}else{for(r in t){u=t[r];e(x,u.fakeName||r,g?u.nativeHandler:u.proxyHandler,u.capture)}t={}}for(r in t){return q}delete p[s];try{delete x[h]}catch(y){x[h]=null}}return q};q.fire=function(u,s,r){var v,t;if(!u||u.nodeType===3||u.nodeType===8){return q}t=a(null,r);t.type=s;do{v=u[h];if(v){j(t,v)}u=u.parentNode||u.ownerDocument||u.defaultView||u.parentWindow}while(u&&!t.isPropagationStopped());return q};q.clean=function(u){var s,r,t=q.unbind;if(!u||u.nodeType===3||u.nodeType===8){return q}if(u[h]){t(u)}if(!u.getElementsByTagName){u=u.document}if(u&&u.getElementsByTagName){t(u);r=u.getElementsByTagName("*");s=r.length;while(s--){u=r[s];if(u[h]){t(u)}}}return q};q.callNativeHandler=function(s,r){if(p){p[s][r.type].nativeHandler(r)}};q.destory=function(){p={}};q.add=function(v,s,u,t){if(typeof(v)==="string"){v=document.getElementById(v)}if(v&&v instanceof Array){var r=v.length;while(r--){q.add(v[r],s,u,t)}return}if(s==="init"){s="ready"}return q.bind(v,s instanceof Array?s.join(" "):s,u,t)};q.remove=function(v,s,u,t){if(!v){return q}if(typeof(v)==="string"){v=document.getElementById(v)}if(v instanceof Array){var r=v.length;while(r--){q.remove(v[r],s,u,t)}return q}return q.unbind(v,s instanceof Array?s.join(" "):s,u)};q.clear=function(r){if(typeof(r)==="string"){r=document.getElementById(r)}return q.clean(r)};q.cancel=function(r){if(r){q.prevent(r);q.stop(r)}return false};q.prevent=function(r){if(!r.preventDefault){r=a(r)}r.preventDefault();return false};q.stop=function(r){if(!r.stopPropagation){r=a(r)}r.stopPropagation();return false}}b.EventUtils=f;b.Event=new f(function(i){return function(j){tinymce.dom.Event.callNativeHandler(i,j)}});b.Event.bind(window,"ready",function(){});b=0})(tinymce.dom,"data-mce-expando");tinymce.dom.TreeWalker=function(a,c){var b=a;function d(i,f,e,j){var h,g;if(i){if(!j&&i[f]){return i[f]}if(i!=c){h=i[e];if(h){return h}for(g=i.parentNode;g&&g!=c;g=g.parentNode){h=g[e];if(h){return h}}}}}this.current=function(){return b};this.next=function(e){return(b=d(b,"firstChild","nextSibling",e))};this.prev=function(e){return(b=d(b,"lastChild","previousSibling",e))}};(function(e){var g=e.each,d=e.is,f=e.isWebKit,b=e.isIE,h=e.html.Entities,c=/^([a-z0-9],?)+$/i,a=/^[ \t\r\n]*$/;e.create("tinymce.dom.DOMUtils",{doc:null,root:null,files:null,pixelStyles:/^(top|left|bottom|right|width|height|borderWidth)$/,props:{"for":"htmlFor","class":"className",className:"className",checked:"checked",disabled:"disabled",maxlength:"maxLength",readonly:"readOnly",selected:"selected",value:"value",id:"id",name:"name",type:"type"},DOMUtils:function(o,l){var k=this,i,j,n;k.doc=o;k.win=window;k.files={};k.cssFlicker=false;k.counter=0;k.stdMode=!e.isIE||o.documentMode>=8;k.boxModel=!e.isIE||o.compatMode=="CSS1Compat"||k.stdMode;k.hasOuterHTML="outerHTML" in o.createElement("a");k.settings=l=e.extend({keep_values:false,hex_colors:1},l);k.schema=l.schema;k.styles=new e.html.Styles({url_converter:l.url_converter,url_converter_scope:l.url_converter_scope},l.schema);if(e.isIE6){try{o.execCommand("BackgroundImageCache",false,true)}catch(m){k.cssFlicker=true}}k.fixDoc(o);k.events=l.ownEvents?new e.dom.EventUtils(l.proxy):e.dom.Event;e.addUnload(k.destroy,k);n=l.schema?l.schema.getBlockElements():{};k.isBlock=function(q){var p=q.nodeType;if(p){return !!(p===1&&n[q.nodeName])}return !!n[q]}},fixDoc:function(k){var j=this.settings,i;if(b&&j.schema){("abbr article aside audio canvas details figcaption figure footer header hgroup mark menu meter nav output progress section summary time video").replace(/\w+/g,function(l){k.createElement(l)});for(i in j.schema.getCustomElements()){k.createElement(i)}}},clone:function(k,i){var j=this,m,l;if(!b||k.nodeType!==1||i){return k.cloneNode(i)}l=j.doc;if(!i){m=l.createElement(k.nodeName);g(j.getAttribs(k),function(n){j.setAttrib(m,n.nodeName,j.getAttrib(k,n.nodeName))});return m}return m.firstChild},getRoot:function(){var i=this,j=i.settings;return(j&&i.get(j.root_element))||i.doc.body},getViewPort:function(j){var k,i;j=!j?this.win:j;k=j.document;i=this.boxModel?k.documentElement:k.body;return{x:j.pageXOffset||i.scrollLeft,y:j.pageYOffset||i.scrollTop,w:j.innerWidth||i.clientWidth,h:j.innerHeight||i.clientHeight}},getRect:function(l){var k,i=this,j;l=i.get(l);k=i.getPos(l);j=i.getSize(l);return{x:k.x,y:k.y,w:j.w,h:j.h}},getSize:function(l){var j=this,i,k;l=j.get(l);i=j.getStyle(l,"width");k=j.getStyle(l,"height");if(i.indexOf("px")===-1){i=0}if(k.indexOf("px")===-1){k=0}return{w:parseInt(i,10)||l.offsetWidth||l.clientWidth,h:parseInt(k,10)||l.offsetHeight||l.clientHeight}},getParent:function(k,j,i){return this.getParents(k,j,i,false)},getParents:function(s,m,k,q){var j=this,i,l=j.settings,p=[];s=j.get(s);q=q===undefined;if(l.strict_root){k=k||j.getRoot()}if(d(m,"string")){i=m;if(m==="*"){m=function(o){return o.nodeType==1}}else{m=function(o){return j.is(o,i)}}}while(s){if(s==k||!s.nodeType||s.nodeType===9){break}if(!m||m(s)){if(q){p.push(s)}else{return s}}s=s.parentNode}return q?p:null},get:function(i){var j;if(i&&this.doc&&typeof(i)=="string"){j=i;i=this.doc.getElementById(i);if(i&&i.id!==j){return this.doc.getElementsByName(j)[1]}}return i},getNext:function(j,i){return this._findSib(j,i,"nextSibling")},getPrev:function(j,i){return this._findSib(j,i,"previousSibling")},select:function(k,j){var i=this;return e.dom.Sizzle(k,i.get(j)||i.get(i.settings.root_element)||i.doc,[])},is:function(l,j){var k;if(l.length===undefined){if(j==="*"){return l.nodeType==1}if(c.test(j)){j=j.toLowerCase().split(/,/);l=l.nodeName.toLowerCase();for(k=j.length-1;k>=0;k--){if(j[k]==l){return true}}return false}}return e.dom.Sizzle.matches(j,l.nodeType?[l]:l).length>0},add:function(l,o,i,k,m){var j=this;return this.run(l,function(r){var q,n;q=d(o,"string")?j.doc.createElement(o):o;j.setAttribs(q,i);if(k){if(k.nodeType){q.appendChild(k)}else{j.setHTML(q,k)}}return !m?r.appendChild(q):q})},create:function(k,i,j){return this.add(this.doc.createElement(k),k,i,j,1)},createHTML:function(q,i,m){var p="",l=this,j;p+="<"+q;for(j in i){if(i.hasOwnProperty(j)){p+=" "+j+'="'+l.encode(i[j])+'"'}}if(typeof(m)!="undefined"){return p+">"+m+"</"+q+">"}return p+" />"},remove:function(i,j){return this.run(i,function(l){var m,k=l.parentNode;if(!k){return null}if(j){while(m=l.firstChild){if(!e.isIE||m.nodeType!==3||m.nodeValue){k.insertBefore(m,l)}else{l.removeChild(m)}}}return k.removeChild(l)})},setStyle:function(l,i,j){var k=this;return k.run(l,function(o){var n,m;n=o.style;i=i.replace(/-(\D)/g,function(q,p){return p.toUpperCase()});if(k.pixelStyles.test(i)&&(e.is(j,"number")||/^[\-0-9\.]+$/.test(j))){j+="px"}switch(i){case"opacity":if(b){n.filter=j===""?"":"alpha(opacity="+(j*100)+")";if(!l.currentStyle||!l.currentStyle.hasLayout){n.display="inline-block"}}n[i]=n["-moz-opacity"]=n["-khtml-opacity"]=j||"";break;case"float":b?n.styleFloat=j:n.cssFloat=j;break;default:n[i]=j||""}if(k.settings.update_styles){k.setAttrib(o,"data-mce-style")}})},getStyle:function(l,i,k){l=this.get(l);if(!l){return}if(this.doc.defaultView&&k){i=i.replace(/[A-Z]/g,function(m){return"-"+m});try{return this.doc.defaultView.getComputedStyle(l,null).getPropertyValue(i)}catch(j){return null}}i=i.replace(/-(\D)/g,function(n,m){return m.toUpperCase()});if(i=="float"){i=b?"styleFloat":"cssFloat"}if(l.currentStyle&&k){return l.currentStyle[i]}return l.style?l.style[i]:undefined},setStyles:function(l,m){var j=this,k=j.settings,i;i=k.update_styles;k.update_styles=0;g(m,function(o,p){j.setStyle(l,p,o)});k.update_styles=i;if(k.update_styles){j.setAttrib(l,k.cssText)}},removeAllAttribs:function(i){return this.run(i,function(l){var k,j=l.attributes;for(k=j.length-1;k>=0;k--){l.removeAttributeNode(j.item(k))}})},setAttrib:function(k,l,i){var j=this;if(!k||!l){return}if(j.settings.strict){l=l.toLowerCase()}return this.run(k,function(p){var o=j.settings;var m=p.getAttribute(l);if(i!==null){switch(l){case"style":if(!d(i,"string")){g(i,function(q,r){j.setStyle(p,r,q)});return}if(o.keep_values){if(i&&!j._isRes(i)){p.setAttribute("data-mce-style",i,2)}else{p.removeAttribute("data-mce-style",2)}}p.style.cssText=i;break;case"class":p.className=i||"";break;case"src":case"href":if(o.keep_values){if(o.url_converter){i=o.url_converter.call(o.url_converter_scope||j,i,l,p)}j.setAttrib(p,"data-mce-"+l,i,2)}break;case"shape":p.setAttribute("data-mce-style",i);break}}if(d(i)&&i!==null&&i.length!==0){p.setAttribute(l,""+i,2)}else{p.removeAttribute(l,2)}if(tinyMCE.activeEditor&&m!=i){var n=tinyMCE.activeEditor;n.onSetAttrib.dispatch(n,p,l,i)}})},setAttribs:function(j,k){var i=this;return this.run(j,function(l){g(k,function(m,o){i.setAttrib(l,o,m)})})},getAttrib:function(m,o,k){var i,j=this,l;m=j.get(m);if(!m||m.nodeType!==1){return k===l?false:k}if(!d(k)){k=""}if(/^(src|href|style|coords|shape)$/.test(o)){i=m.getAttribute("data-mce-"+o);if(i){return i}}if(b&&j.props[o]){i=m[j.props[o]];i=i&&i.nodeValue?i.nodeValue:i}if(!i){i=m.getAttribute(o,2)}if(/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noshade|nowrap|readonly|selected)$/.test(o)){if(m[j.props[o]]===true&&i===""){return o}return i?o:""}if(m.nodeName==="FORM"&&m.getAttributeNode(o)){return m.getAttributeNode(o).nodeValue}if(o==="style"){i=i||m.style.cssText;if(i){i=j.serializeStyle(j.parseStyle(i),m.nodeName);if(j.settings.keep_values&&!j._isRes(i)){m.setAttribute("data-mce-style",i)}}}if(f&&o==="class"&&i){i=i.replace(/(apple|webkit)\-[a-z\-]+/gi,"")}if(b){switch(o){case"rowspan":case"colspan":if(i===1){i=""}break;case"size":if(i==="+0"||i===20||i===0){i=""}break;case"width":case"height":case"vspace":case"checked":case"disabled":case"readonly":if(i===0){i=""}break;case"hspace":if(i===-1){i=""}break;case"maxlength":case"tabindex":if(i===32768||i===2147483647||i==="32768"){i=""}break;case"multiple":case"compact":case"noshade":case"nowrap":if(i===65535){return o}return k;case"shape":i=i.toLowerCase();break;default:if(o.indexOf("on")===0&&i){i=e._replace(/^function\s+\w+\(\)\s+\{\s+(.*)\s+\}$/,"$1",""+i)}}}return(i!==l&&i!==null&&i!=="")?""+i:k},getPos:function(q,l){var j=this,i=0,p=0,m,o=j.doc,k;q=j.get(q);l=l||o.body;if(q){if(q.getBoundingClientRect){q=q.getBoundingClientRect();m=j.boxModel?o.documentElement:o.body;i=q.left+(o.documentElement.scrollLeft||o.body.scrollLeft)-m.clientTop;p=q.top+(o.documentElement.scrollTop||o.body.scrollTop)-m.clientLeft;return{x:i,y:p}}k=q;while(k&&k!=l&&k.nodeType){i+=k.offsetLeft||0;p+=k.offsetTop||0;k=k.offsetParent}k=q.parentNode;while(k&&k!=l&&k.nodeType){i-=k.scrollLeft||0;p-=k.scrollTop||0;k=k.parentNode}}return{x:i,y:p}},parseStyle:function(i){return this.styles.parse(i)},serializeStyle:function(j,i){return this.styles.serialize(j,i)},addStyle:function(j){var k=this.doc,i;styleElm=k.getElementById("mceDefaultStyles");if(!styleElm){styleElm=k.createElement("style"),styleElm.id="mceDefaultStyles";styleElm.type="text/css";i=k.getElementsByTagName("head")[0];if(i.firstChild){i.insertBefore(styleElm,i.firstChild)}else{i.appendChild(styleElm)}}if(styleElm.styleSheet){styleElm.styleSheet.cssText+=j}else{styleElm.appendChild(k.createTextNode(j))}},loadCSS:function(i){var k=this,l=k.doc,j;if(!i){i=""}j=l.getElementsByTagName("head")[0];g(i.split(","),function(m){var n;if(k.files[m]){return}k.files[m]=true;n=k.create("link",{rel:"stylesheet",href:e._addVer(m)});if(b&&l.documentMode&&l.recalc){n.onload=function(){if(l.recalc){l.recalc()}n.onload=null}}j.appendChild(n)})},addClass:function(i,j){return this.run(i,function(k){var l;if(!j){return 0}if(this.hasClass(k,j)){return k.className}l=this.removeClass(k,j);return k.className=(l!=""?(l+" "):"")+j})},removeClass:function(k,l){var i=this,j;return i.run(k,function(n){var m;if(i.hasClass(n,l)){if(!j){j=new RegExp("(^|\\s+)"+l+"(\\s+|$)","g")}m=n.className.replace(j," ");m=e.trim(m!=" "?m:"");n.className=m;if(!m){n.removeAttribute("class");n.removeAttribute("className")}return m}return n.className})},hasClass:function(j,i){j=this.get(j);if(!j||!i){return false}return(" "+j.className+" ").indexOf(" "+i+" ")!==-1},show:function(i){return this.setStyle(i,"display","block")},hide:function(i){return this.setStyle(i,"display","none")},isHidden:function(i){i=this.get(i);return !i||i.style.display=="none"||this.getStyle(i,"display")=="none"},uniqueId:function(i){return(!i?"mce_":i)+(this.counter++)},setHTML:function(k,j){var i=this;return i.run(k,function(m){if(b){while(m.firstChild){m.removeChild(m.firstChild)}try{m.innerHTML="<br />"+j;m.removeChild(m.firstChild)}catch(l){var n=i.create("div");n.innerHTML="<br />"+j;g(e.grep(n.childNodes),function(p,o){if(o&&m.canHaveHTML){m.appendChild(p)}})}}else{m.innerHTML=j}return j})},getOuterHTML:function(k){var j,i=this;k=i.get(k);if(!k){return null}if(k.nodeType===1&&i.hasOuterHTML){return k.outerHTML}j=(k.ownerDocument||i.doc).createElement("body");j.appendChild(k.cloneNode(true));return j.innerHTML},setOuterHTML:function(l,j,m){var i=this;function k(p,o,r){var s,q;q=r.createElement("body");q.innerHTML=o;s=q.lastChild;while(s){i.insertAfter(s.cloneNode(true),p);s=s.previousSibling}i.remove(p)}return this.run(l,function(o){o=i.get(o);if(o.nodeType==1){m=m||o.ownerDocument||i.doc;if(b){try{if(b&&o.nodeType==1){o.outerHTML=j}else{k(o,j,m)}}catch(n){k(o,j,m)}}else{k(o,j,m)}}})},decode:h.decode,encode:h.encodeAllRaw,insertAfter:function(i,j){j=this.get(j);return this.run(i,function(l){var k,m;k=j.parentNode;m=j.nextSibling;if(m){k.insertBefore(l,m)}else{k.appendChild(l)}return l})},replace:function(m,l,i){var j=this;if(d(l,"array")){m=m.cloneNode(true)}return j.run(l,function(k){if(i){g(e.grep(k.childNodes),function(n){m.appendChild(n)})}return k.parentNode.replaceChild(m,k)})},rename:function(l,i){var k=this,j;if(l.nodeName!=i.toUpperCase()){j=k.create(i);g(k.getAttribs(l),function(m){k.setAttrib(j,m.nodeName,k.getAttrib(l,m.nodeName))});k.replace(j,l,1)}return j||l},findCommonAncestor:function(k,i){var l=k,j;while(l){j=i;while(j&&l!=j){j=j.parentNode}if(l==j){break}l=l.parentNode}if(!l&&k.ownerDocument){return k.ownerDocument.documentElement}return l},toHex:function(i){var k=/^\s*rgb\s*?\(\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?\)\s*$/i.exec(i);function j(l){l=parseInt(l,10).toString(16);return l.length>1?l:"0"+l}if(k){i="#"+j(k[1])+j(k[2])+j(k[3]);return i}return i},getClasses:function(){var n=this,j=[],m,o={},p=n.settings.class_filter,l;if(n.classes){return n.classes}function q(i){g(i.imports,function(s){q(s)});g(i.cssRules||i.rules,function(s){switch(s.type||1){case 1:if(s.selectorText){g(s.selectorText.split(","),function(r){r=r.replace(/^\s*|\s*$|^\s\./g,"");if(/\.mce/.test(r)||!/\.[\w\-]+$/.test(r)){return}l=r;r=e._replace(/.*\.([a-z0-9_\-]+).*/i,"$1",r);if(p&&!(r=p(r,l))){return}if(!o[r]){j.push({"class":r});o[r]=1}})}break;case 3:q(s.styleSheet);break}})}try{g(n.doc.styleSheets,q)}catch(k){}if(j.length>0){n.classes=j}return j},run:function(l,k,j){var i=this,m;if(i.doc&&typeof(l)==="string"){l=i.get(l)}if(!l){return false}j=j||this;if(!l.nodeType&&(l.length||l.length===0)){m=[];g(l,function(o,n){if(o){if(typeof(o)=="string"){o=i.doc.getElementById(o)}m.push(k.call(j,o,n))}});return m}return k.call(j,l)},getAttribs:function(j){var i;j=this.get(j);if(!j){return[]}if(b){i=[];if(j.nodeName=="OBJECT"){return j.attributes}if(j.nodeName==="OPTION"&&this.getAttrib(j,"selected")){i.push({specified:1,nodeName:"selected"})}j.cloneNode(false).outerHTML.replace(/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi,"").replace(/[\w:\-]+/gi,function(k){i.push({specified:1,nodeName:k})});return i}return j.attributes},isEmpty:function(m,k){var r=this,o,n,q,j,l,p=0;m=m.firstChild;if(m){j=new e.dom.TreeWalker(m,m.parentNode);k=k||r.schema?r.schema.getNonEmptyElements():null;do{q=m.nodeType;if(q===1){if(m.getAttribute("data-mce-bogus")){continue}l=m.nodeName.toLowerCase();if(k&&k[l]){if(l==="br"){p++;continue}return false}n=r.getAttribs(m);o=m.attributes.length;while(o--){l=m.attributes[o].nodeName;if(l==="name"||l==="data-mce-bookmark"){return false}}}if(q==8){return false}if((q===3&&!a.test(m.nodeValue))){return false}}while(m=j.next())}return p<=1},destroy:function(j){var i=this;i.win=i.doc=i.root=i.events=i.frag=null;if(!j){e.removeUnload(i.destroy)}},createRng:function(){var i=this.doc;return i.createRange?i.createRange():new e.dom.Range(this)},nodeIndex:function(m,n){var i=0,k,l,j;if(m){for(k=m.nodeType,m=m.previousSibling,l=m;m;m=m.previousSibling){j=m.nodeType;if(n&&j==3){if(j==k||!m.nodeValue.length){continue}}i++;k=j}}return i},split:function(m,l,p){var q=this,i=q.createRng(),n,k,o;function j(v){var t,s=v.childNodes,u=v.nodeType;function x(A){var z=A.previousSibling&&A.previousSibling.nodeName=="SPAN";var y=A.nextSibling&&A.nextSibling.nodeName=="SPAN";return z&&y}if(u==1&&v.getAttribute("data-mce-type")=="bookmark"){return}for(t=s.length-1;t>=0;t--){j(s[t])}if(u!=9){if(u==3&&v.nodeValue.length>0){var r=e.trim(v.nodeValue).length;if(!q.isBlock(v.parentNode)||r>0||r===0&&x(v)){return}}else{if(u==1){s=v.childNodes;if(s.length==1&&s[0]&&s[0].nodeType==1&&s[0].getAttribute("data-mce-type")=="bookmark"){v.parentNode.insertBefore(s[0],v)}if(s.length||/^(br|hr|input|img)$/i.test(v.nodeName)){return}}}q.remove(v)}return v}if(m&&l){i.setStart(m.parentNode,q.nodeIndex(m));i.setEnd(l.parentNode,q.nodeIndex(l));n=i.extractContents();i=q.createRng();i.setStart(l.parentNode,q.nodeIndex(l)+1);i.setEnd(m.parentNode,q.nodeIndex(m)+1);k=i.extractContents();o=m.parentNode;o.insertBefore(j(n),m);if(p){o.replaceChild(p,l)}else{o.insertBefore(l,m)}o.insertBefore(j(k),m);q.remove(m);return p||l}},bind:function(l,i,k,j){return this.events.add(l,i,k,j||this)},unbind:function(k,i,j){return this.events.remove(k,i,j)},fire:function(k,j,i){return this.events.fire(k,j,i)},getContentEditable:function(j){var i;if(j.nodeType!=1){return null}i=j.getAttribute("data-mce-contenteditable");if(i&&i!=="inherit"){return i}return j.contentEditable!=="inherit"?j.contentEditable:null},_findSib:function(l,i,j){var k=this,m=i;if(l){if(d(m,"string")){m=function(n){return k.is(n,i)}}for(l=l[j];l;l=l[j]){if(m(l)){return l}}}return null},_isRes:function(i){return/^(top|left|bottom|right|width|height)/i.test(i)||/;\s*(top|left|bottom|right|width|height)/i.test(i)}});e.DOM=new e.dom.DOMUtils(document,{process_html:0})})(tinymce);(function(a){function b(c){var O=this,e=c.doc,U=0,F=1,j=2,E=true,S=false,W="startOffset",h="startContainer",Q="endContainer",A="endOffset",k=tinymce.extend,n=c.nodeIndex;k(O,{startContainer:e,startOffset:0,endContainer:e,endOffset:0,collapsed:E,commonAncestorContainer:e,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:q,setEnd:s,setStartBefore:g,setStartAfter:J,setEndBefore:K,setEndAfter:u,collapse:B,selectNode:y,selectNodeContents:G,compareBoundaryPoints:v,deleteContents:p,extractContents:I,cloneContents:d,insertNode:D,surroundContents:N,cloneRange:L,toStringIE:T});function x(){return e.createDocumentFragment()}function q(X,t){C(E,X,t)}function s(X,t){C(S,X,t)}function g(t){q(t.parentNode,n(t))}function J(t){q(t.parentNode,n(t)+1)}function K(t){s(t.parentNode,n(t))}function u(t){s(t.parentNode,n(t)+1)}function B(t){if(t){O[Q]=O[h];O[A]=O[W]}else{O[h]=O[Q];O[W]=O[A]}O.collapsed=E}function y(t){g(t);u(t)}function G(t){q(t,0);s(t,t.nodeType===1?t.childNodes.length:t.nodeValue.length)}function v(aa,t){var ad=O[h],Y=O[W],ac=O[Q],X=O[A],ab=t.startContainer,af=t.startOffset,Z=t.endContainer,ae=t.endOffset;if(aa===0){return H(ad,Y,ab,af)}if(aa===1){return H(ac,X,ab,af)}if(aa===2){return H(ac,X,Z,ae)}if(aa===3){return H(ad,Y,Z,ae)}}function p(){l(j)}function I(){return l(U)}function d(){return l(F)}function D(aa){var X=this[h],t=this[W],Z,Y;if((X.nodeType===3||X.nodeType===4)&&X.nodeValue){if(!t){X.parentNode.insertBefore(aa,X)}else{if(t>=X.nodeValue.length){c.insertAfter(aa,X)}else{Z=X.splitText(t);X.parentNode.insertBefore(aa,Z)}}}else{if(X.childNodes.length>0){Y=X.childNodes[t]}if(Y){X.insertBefore(aa,Y)}else{X.appendChild(aa)}}}function N(X){var t=O.extractContents();O.insertNode(X);X.appendChild(t);O.selectNode(X)}function L(){return k(new b(c),{startContainer:O[h],startOffset:O[W],endContainer:O[Q],endOffset:O[A],collapsed:O.collapsed,commonAncestorContainer:O.commonAncestorContainer})}function P(t,X){var Y;if(t.nodeType==3){return t}if(X<0){return t}Y=t.firstChild;while(Y&&X>0){--X;Y=Y.nextSibling}if(Y){return Y}return t}function m(){return(O[h]==O[Q]&&O[W]==O[A])}function H(Z,ab,X,aa){var ac,Y,t,ad,af,ae;if(Z==X){if(ab==aa){return 0}if(ab<aa){return -1}return 1}ac=X;while(ac&&ac.parentNode!=Z){ac=ac.parentNode}if(ac){Y=0;t=Z.firstChild;while(t!=ac&&Y<ab){Y++;t=t.nextSibling}if(ab<=Y){return -1}return 1}ac=Z;while(ac&&ac.parentNode!=X){ac=ac.parentNode}if(ac){Y=0;t=X.firstChild;while(t!=ac&&Y<aa){Y++;t=t.nextSibling}if(Y<aa){return -1}return 1}ad=c.findCommonAncestor(Z,X);af=Z;while(af&&af.parentNode!=ad){af=af.parentNode}if(!af){af=ad}ae=X;while(ae&&ae.parentNode!=ad){ae=ae.parentNode}if(!ae){ae=ad}if(af==ae){return 0}t=ad.firstChild;while(t){if(t==af){return -1}if(t==ae){return 1}t=t.nextSibling}}function C(X,aa,Z){var t,Y;if(X){O[h]=aa;O[W]=Z}else{O[Q]=aa;O[A]=Z}t=O[Q];while(t.parentNode){t=t.parentNode}Y=O[h];while(Y.parentNode){Y=Y.parentNode}if(Y==t){if(H(O[h],O[W],O[Q],O[A])>0){O.collapse(X)}}else{O.collapse(X)}O.collapsed=m();O.commonAncestorContainer=c.findCommonAncestor(O[h],O[Q])}function l(ad){var ac,Z=0,af=0,X,ab,Y,aa,t,ae;if(O[h]==O[Q]){return f(ad)}for(ac=O[Q],X=ac.parentNode;X;ac=X,X=X.parentNode){if(X==O[h]){return r(ac,ad)}++Z}for(ac=O[h],X=ac.parentNode;X;ac=X,X=X.parentNode){if(X==O[Q]){return V(ac,ad)}++af}ab=af-Z;Y=O[h];while(ab>0){Y=Y.parentNode;ab--}aa=O[Q];while(ab<0){aa=aa.parentNode;ab++}for(t=Y.parentNode,ae=aa.parentNode;t!=ae;t=t.parentNode,ae=ae.parentNode){Y=t;aa=ae}return o(Y,aa,ad)}function f(ac){var ae,af,t,Y,Z,ad,aa,X,ab;if(ac!=j){ae=x()}if(O[W]==O[A]){return ae}if(O[h].nodeType==3){af=O[h].nodeValue;t=af.substring(O[W],O[A]);if(ac!=F){Y=O[h];X=O[W];ab=O[A]-O[W];if(X===0&&ab>=Y.nodeValue.length-1){Y.parentNode.removeChild(Y)}else{Y.deleteData(X,ab)}O.collapse(E)}if(ac==j){return}if(t.length>0){ae.appendChild(e.createTextNode(t))}return ae}Y=P(O[h],O[W]);Z=O[A]-O[W];while(Y&&Z>0){ad=Y.nextSibling;aa=z(Y,ac);if(ae){ae.appendChild(aa)}--Z;Y=ad}if(ac!=F){O.collapse(E)}return ae}function r(ad,aa){var ac,ab,X,t,Z,Y;if(aa!=j){ac=x()}ab=i(ad,aa);if(ac){ac.appendChild(ab)}X=n(ad);t=X-O[W];if(t<=0){if(aa!=F){O.setEndBefore(ad);O.collapse(S)}return ac}ab=ad.previousSibling;while(t>0){Z=ab.previousSibling;Y=z(ab,aa);if(ac){ac.insertBefore(Y,ac.firstChild)}--t;ab=Z}if(aa!=F){O.setEndBefore(ad);O.collapse(S)}return ac}function V(ab,aa){var ad,X,ac,t,Z,Y;if(aa!=j){ad=x()}ac=R(ab,aa);if(ad){ad.appendChild(ac)}X=n(ab);++X;t=O[A]-X;ac=ab.nextSibling;while(ac&&t>0){Z=ac.nextSibling;Y=z(ac,aa);if(ad){ad.appendChild(Y)}--t;ac=Z}if(aa!=F){O.setStartAfter(ab);O.collapse(E)}return ad}function o(ab,t,ae){var Y,ag,aa,ac,ad,X,af,Z;if(ae!=j){ag=x()}Y=R(ab,ae);if(ag){ag.appendChild(Y)}aa=ab.parentNode;ac=n(ab);ad=n(t);++ac;X=ad-ac;af=ab.nextSibling;while(X>0){Z=af.nextSibling;Y=z(af,ae);if(ag){ag.appendChild(Y)}af=Z;--X}Y=i(t,ae);if(ag){ag.appendChild(Y)}if(ae!=F){O.setStartAfter(ab);O.collapse(E)}return ag}function i(ac,ad){var Y=P(O[Q],O[A]-1),ae,ab,aa,t,X,Z=Y!=O[Q];if(Y==ac){return M(Y,Z,S,ad)}ae=Y.parentNode;ab=M(ae,S,S,ad);while(ae){while(Y){aa=Y.previousSibling;t=M(Y,Z,S,ad);if(ad!=j){ab.insertBefore(t,ab.firstChild)}Z=E;Y=aa}if(ae==ac){return ab}Y=ae.previousSibling;ae=ae.parentNode;X=M(ae,S,S,ad);if(ad!=j){X.appendChild(ab)}ab=X}}function R(ac,ad){var Z=P(O[h],O[W]),aa=Z!=O[h],ae,ab,Y,t,X;if(Z==ac){return M(Z,aa,E,ad)}ae=Z.parentNode;ab=M(ae,S,E,ad);while(ae){while(Z){Y=Z.nextSibling;t=M(Z,aa,E,ad);if(ad!=j){ab.appendChild(t)}aa=E;Z=Y}if(ae==ac){return ab}Z=ae.nextSibling;ae=ae.parentNode;X=M(ae,S,E,ad);if(ad!=j){X.appendChild(ab)}ab=X}}function M(t,aa,ad,ae){var Z,Y,ab,X,ac;if(aa){return z(t,ae)}if(t.nodeType==3){Z=t.nodeValue;if(ad){X=O[W];Y=Z.substring(X);ab=Z.substring(0,X)}else{X=O[A];Y=Z.substring(0,X);ab=Z.substring(X)}if(ae!=F){t.nodeValue=ab}if(ae==j){return}ac=c.clone(t,S);ac.nodeValue=Y;return ac}if(ae==j){return}return c.clone(t,S)}function z(X,t){if(t!=j){return t==F?c.clone(X,E):X}X.parentNode.removeChild(X)}function T(){return c.create("body",null,d()).outerText}return O}a.Range=b;b.prototype.toString=function(){return this.toStringIE()}})(tinymce.dom);(function(){function a(d){var b=this,h=d.dom,c=true,f=false;function e(i,j){var k,t=0,q,n,m,l,o,r,p=-1,s;k=i.duplicate();k.collapse(j);s=k.parentElement();if(s.ownerDocument!==d.dom.doc){return}while(s.contentEditable==="false"){s=s.parentNode}if(!s.hasChildNodes()){return{node:s,inside:1}}m=s.children;q=m.length-1;while(t<=q){r=Math.floor((t+q)/2);l=m[r];k.moveToElementText(l);p=k.compareEndPoints(j?"StartToStart":"EndToEnd",i);if(p>0){q=r-1}else{if(p<0){t=r+1}else{return{node:l}}}}if(p<0){if(!l){k.moveToElementText(s);k.collapse(true);l=s;n=true}else{k.collapse(false)}o=0;while(k.compareEndPoints(j?"StartToStart":"StartToEnd",i)!==0){if(k.move("character",1)===0||s!=k.parentElement()){break}o++}}else{k.collapse(true);o=0;while(k.compareEndPoints(j?"StartToStart":"StartToEnd",i)!==0){if(k.move("character",-1)===0||s!=k.parentElement()){break}o++}}return{node:l,position:p,offset:o,inside:n}}function g(){var i=d.getRng(),r=h.createRng(),l,k,p,q,m,j;l=i.item?i.item(0):i.parentElement();if(l.ownerDocument!=h.doc){return r}k=d.isCollapsed();if(i.item){r.setStart(l.parentNode,h.nodeIndex(l));r.setEnd(r.startContainer,r.startOffset+1);return r}function o(A){var u=e(i,A),s,y,z=0,x,v,t;s=u.node;y=u.offset;if(u.inside&&!s.hasChildNodes()){r[A?"setStart":"setEnd"](s,0);return}if(y===v){r[A?"setStartBefore":"setEndAfter"](s);return}if(u.position<0){x=u.inside?s.firstChild:s.nextSibling;if(!x){r[A?"setStartAfter":"setEndAfter"](s);return}if(!y){if(x.nodeType==3){r[A?"setStart":"setEnd"](x,0)}else{r[A?"setStartBefore":"setEndBefore"](x)}return}while(x){t=x.nodeValue;z+=t.length;if(z>=y){s=x;z-=y;z=t.length-z;break}x=x.nextSibling}}else{x=s.previousSibling;if(!x){return r[A?"setStartBefore":"setEndBefore"](s)}if(!y){if(s.nodeType==3){r[A?"setStart":"setEnd"](x,s.nodeValue.length)}else{r[A?"setStartAfter":"setEndAfter"](x)}return}while(x){z+=x.nodeValue.length;if(z>=y){s=x;z-=y;break}x=x.previousSibling}}r[A?"setStart":"setEnd"](s,z)}try{o(true);if(!k){o()}}catch(n){if(n.number==-2147024809){m=b.getBookmark(2);p=i.duplicate();p.collapse(true);l=p.parentElement();if(!k){p=i.duplicate();p.collapse(false);q=p.parentElement();q.innerHTML=q.innerHTML}l.innerHTML=l.innerHTML;b.moveToBookmark(m);i=d.getRng();o(true);if(!k){o()}}else{throw n}}return r}this.getBookmark=function(m){var j=d.getRng(),o,i,l={};function n(u){var t,p,s,r,q=[];t=u.parentNode;p=h.getRoot().parentNode;while(t!=p&&t.nodeType!==9){s=t.children;r=s.length;while(r--){if(u===s[r]){q.push(r);break}}u=t;t=t.parentNode}return q}function k(q){var p;p=e(j,q);if(p){return{position:p.position,offset:p.offset,indexes:n(p.node),inside:p.inside}}}if(m===2){if(!j.item){l.start=k(true);if(!d.isCollapsed()){l.end=k()}}else{l.start={ctrl:true,indexes:n(j.item(0))}}}return l};this.moveToBookmark=function(k){var j,i=h.doc.body;function m(o){var r,q,n,p;r=h.getRoot();for(q=o.length-1;q>=0;q--){p=r.children;n=o[q];if(n<=p.length-1){r=p[n]}}return r}function l(r){var n=k[r?"start":"end"],q,p,o;if(n){q=n.position>0;p=i.createTextRange();p.moveToElementText(m(n.indexes));offset=n.offset;if(offset!==o){p.collapse(n.inside||q);p.moveStart("character",q?-offset:offset)}else{p.collapse(r)}j.setEndPoint(r?"StartToStart":"EndToStart",p);if(r){j.collapse(true)}}}if(k.start){if(k.start.ctrl){j=i.createControlRange();j.addElement(m(k.start.indexes));j.select()}else{j=i.createTextRange();l(true);l();j.select()}}};this.addRange=function(i){var n,l,k,p,v,q,t,s=d.dom.doc,m=s.body,r,u;function j(C){var y,B,x,A,z;x=h.create("a");y=C?k:v;B=C?p:q;A=n.duplicate();if(y==s||y==s.documentElement){y=m;B=0}if(y.nodeType==3){y.parentNode.insertBefore(x,y);A.moveToElementText(x);A.moveStart("character",B);h.remove(x);n.setEndPoint(C?"StartToStart":"EndToEnd",A)}else{z=y.childNodes;if(z.length){if(B>=z.length){h.insertAfter(x,z[z.length-1])}else{y.insertBefore(x,z[B])}A.moveToElementText(x)}else{if(y.canHaveHTML){y.innerHTML="<span>\uFEFF</span>";x=y.firstChild;A.moveToElementText(x);A.collapse(f)}}n.setEndPoint(C?"StartToStart":"EndToEnd",A);h.remove(x)}}k=i.startContainer;p=i.startOffset;v=i.endContainer;q=i.endOffset;n=m.createTextRange();if(k==v&&k.nodeType==1){if(p==q&&!k.hasChildNodes()){if(k.canHaveHTML){t=k.previousSibling;if(t&&!t.hasChildNodes()&&h.isBlock(t)){t.innerHTML="\uFEFF"}else{t=null}k.innerHTML="<span>\uFEFF</span><span>\uFEFF</span>";n.moveToElementText(k.lastChild);n.select();h.doc.selection.clear();k.innerHTML="";if(t){t.innerHTML=""}return}else{p=h.nodeIndex(k);k=k.parentNode}}if(p==q-1){try{u=k.childNodes[p];l=m.createControlRange();l.addElement(u);l.select();r=d.getRng();if(r.item&&u===r.item(0)){return}}catch(o){}}}j(true);j();n.select()};this.getRangeAt=g}tinymce.dom.TridentSelection=a})();(function(){var n=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i="sizcache",o=0,r=Object.prototype.toString,h=false,g=true,q=/\\/g,u=/\r\n/g,x=/\W/;[0,0].sort(function(){g=false;return 0});var d=function(C,e,F,G){F=F||[];e=e||document;var I=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!C||typeof C!=="string"){return F}var z,K,N,y,J,M,L,E,B=true,A=d.isXML(e),D=[],H=C;do{n.exec("");z=n.exec(H);if(z){H=z[3];D.push(z[1]);if(z[2]){y=z[3];break}}}while(z);if(D.length>1&&j.exec(C)){if(D.length===2&&k.relative[D[0]]){K=s(D[0]+D[1],e,G)}else{K=k.relative[D[0]]?[e]:d(D.shift(),e);while(D.length){C=D.shift();if(k.relative[C]){C+=D.shift()}K=s(C,K,G)}}}else{if(!G&&D.length>1&&e.nodeType===9&&!A&&k.match.ID.test(D[0])&&!k.match.ID.test(D[D.length-1])){J=d.find(D.shift(),e,A);e=J.expr?d.filter(J.expr,J.set)[0]:J.set[0]}if(e){J=G?{expr:D.pop(),set:l(G)}:d.find(D.pop(),D.length===1&&(D[0]==="~"||D[0]==="+")&&e.parentNode?e.parentNode:e,A);K=J.expr?d.filter(J.expr,J.set):J.set;if(D.length>0){N=l(K)}else{B=false}while(D.length){M=D.pop();L=M;if(!k.relative[M]){M=""}else{L=D.pop()}if(L==null){L=e}k.relative[M](N,L,A)}}else{N=D=[]}}if(!N){N=K}if(!N){d.error(M||C)}if(r.call(N)==="[object Array]"){if(!B){F.push.apply(F,N)}else{if(e&&e.nodeType===1){for(E=0;N[E]!=null;E++){if(N[E]&&(N[E]===true||N[E].nodeType===1&&d.contains(e,N[E]))){F.push(K[E])}}}else{for(E=0;N[E]!=null;E++){if(N[E]&&N[E].nodeType===1){F.push(K[E])}}}}}else{l(N,F)}if(y){d(y,I,F,G);d.uniqueSort(F)}return F};d.uniqueSort=function(y){if(p){h=g;y.sort(p);if(h){for(var e=1;e<y.length;e++){if(y[e]===y[e-1]){y.splice(e--,1)}}}}return y};d.matches=function(e,y){return d(e,null,null,y)};d.matchesSelector=function(e,y){return d(y,null,null,[e]).length>0};d.find=function(E,e,F){var D,z,B,A,C,y;if(!E){return[]}for(z=0,B=k.order.length;z<B;z++){C=k.order[z];if((A=k.leftMatch[C].exec(E))){y=A[1];A.splice(1,1);if(y.substr(y.length-1)!=="\\"){A[1]=(A[1]||"").replace(q,"");D=k.find[C](A,e,F);if(D!=null){E=E.replace(k.match[C],"");break}}}}if(!D){D=typeof e.getElementsByTagName!=="undefined"?e.getElementsByTagName("*"):[]}return{set:D,expr:E}};d.filter=function(I,H,L,B){var D,e,G,N,K,y,A,C,J,z=I,M=[],F=H,E=H&&H[0]&&d.isXML(H[0]);while(I&&H.length){for(G in k.filter){if((D=k.leftMatch[G].exec(I))!=null&&D[2]){y=k.filter[G];A=D[1];e=false;D.splice(1,1);if(A.substr(A.length-1)==="\\"){continue}if(F===M){M=[]}if(k.preFilter[G]){D=k.preFilter[G](D,F,L,M,B,E);if(!D){e=N=true}else{if(D===true){continue}}}if(D){for(C=0;(K=F[C])!=null;C++){if(K){N=y(K,D,C,F);J=B^N;if(L&&N!=null){if(J){e=true}else{F[C]=false}}else{if(J){M.push(K);e=true}}}}}if(N!==undefined){if(!L){F=M}I=I.replace(k.match[G],"");if(!e){return[]}break}}}if(I===z){if(e==null){d.error(I)}else{break}}z=I}return F};d.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};var b=d.getText=function(B){var z,A,e=B.nodeType,y="";if(e){if(e===1||e===9||e===11){if(typeof B.textContent==="string"){return B.textContent}else{if(typeof B.innerText==="string"){return B.innerText.replace(u,"")}else{for(B=B.firstChild;B;B=B.nextSibling){y+=b(B)}}}}else{if(e===3||e===4){return B.nodeValue}}}else{for(z=0;(A=B[z]);z++){if(A.nodeType!==8){y+=b(A)}}}return y};var k=d.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(D,y){var A=typeof y==="string",C=A&&!x.test(y),E=A&&!C;if(C){y=y.toLowerCase()}for(var z=0,e=D.length,B;z<e;z++){if((B=D[z])){while((B=B.previousSibling)&&B.nodeType!==1){}D[z]=E||B&&B.nodeName.toLowerCase()===y?B||false:B===y}}if(E){d.filter(y,D,true)}},">":function(D,y){var C,B=typeof y==="string",z=0,e=D.length;if(B&&!x.test(y)){y=y.toLowerCase();for(;z<e;z++){C=D[z];if(C){var A=C.parentNode;D[z]=A.nodeName.toLowerCase()===y?A:false}}}else{for(;z<e;z++){C=D[z];if(C){D[z]=B?C.parentNode:C.parentNode===y}}if(B){d.filter(y,D,true)}}},"":function(A,y,C){var B,z=o++,e=t;if(typeof y==="string"&&!x.test(y)){y=y.toLowerCase();B=y;e=a}e("parentNode",y,z,A,B,C)},"~":function(A,y,C){var B,z=o++,e=t;if(typeof y==="string"&&!x.test(y)){y=y.toLowerCase();B=y;e=a}e("previousSibling",y,z,A,B,C)}},find:{ID:function(y,z,A){if(typeof z.getElementById!=="undefined"&&!A){var e=z.getElementById(y[1]);return e&&e.parentNode?[e]:[]}},NAME:function(z,C){if(typeof C.getElementsByName!=="undefined"){var y=[],B=C.getElementsByName(z[1]);for(var A=0,e=B.length;A<e;A++){if(B[A].getAttribute("name")===z[1]){y.push(B[A])}}return y.length===0?null:y}},TAG:function(e,y){if(typeof y.getElementsByTagName!=="undefined"){return y.getElementsByTagName(e[1])}}},preFilter:{CLASS:function(A,y,z,e,D,E){A=" "+A[1].replace(q,"")+" ";if(E){return A}for(var B=0,C;(C=y[B])!=null;B++){if(C){if(D^(C.className&&(" "+C.className+" ").replace(/[\t\n\r]/g," ").indexOf(A)>=0)){if(!z){e.push(C)}}else{if(z){y[B]=false}}}}return false},ID:function(e){return e[1].replace(q,"")},TAG:function(y,e){return y[1].replace(q,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){d.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var y=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(y[1]+(y[2]||1))-0;e[3]=y[3]-0}else{if(e[2]){d.error(e[0])}}e[0]=o++;return e},ATTR:function(B,y,z,e,C,D){var A=B[1]=B[1].replace(q,"");if(!D&&k.attrMap[A]){B[1]=k.attrMap[A]}B[4]=(B[4]||B[5]||"").replace(q,"");if(B[2]==="~="){B[4]=" "+B[4]+" "}return B},PSEUDO:function(B,y,z,e,C){if(B[1]==="not"){if((n.exec(B[3])||"").length>1||/^\w/.test(B[3])){B[3]=d(B[3],null,null,y)}else{var A=d.filter(B[3],y,z,true^C);if(!z){e.push.apply(e,A)}return false}}else{if(k.match.POS.test(B[0])||k.match.CHILD.test(B[0])){return true}}return B},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(z,y,e){return !!d(e[3],z).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(z){var e=z.getAttribute("type"),y=z.type;return z.nodeName.toLowerCase()==="input"&&"text"===y&&(e===y||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(y){var e=y.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===y.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(y){var e=y.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===y.type},button:function(y){var e=y.nodeName.toLowerCase();return e==="input"&&"button"===y.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(y,e){return e===0},last:function(z,y,e,A){return y===A.length-1},even:function(y,e){return e%2===0},odd:function(y,e){return e%2===1},lt:function(z,y,e){return y<e[3]-0},gt:function(z,y,e){return y>e[3]-0},nth:function(z,y,e){return e[3]-0===y},eq:function(z,y,e){return e[3]-0===y}},filter:{PSEUDO:function(z,E,D,F){var e=E[1],y=k.filters[e];if(y){return y(z,D,E,F)}else{if(e==="contains"){return(z.textContent||z.innerText||b([z])||"").indexOf(E[3])>=0}else{if(e==="not"){var A=E[3];for(var C=0,B=A.length;C<B;C++){if(A[C]===z){return false}}return true}else{d.error(e)}}}},CHILD:function(z,B){var A,H,D,G,e,C,F,E=B[1],y=z;switch(E){case"only":case"first":while((y=y.previousSibling)){if(y.nodeType===1){return false}}if(E==="first"){return true}y=z;case"last":while((y=y.nextSibling)){if(y.nodeType===1){return false}}return true;case"nth":A=B[2];H=B[3];if(A===1&&H===0){return true}D=B[0];G=z.parentNode;if(G&&(G[i]!==D||!z.nodeIndex)){C=0;for(y=G.firstChild;y;y=y.nextSibling){if(y.nodeType===1){y.nodeIndex=++C}}G[i]=D}F=z.nodeIndex-H;if(A===0){return F===0}else{return(F%A===0&&F/A>=0)}}},ID:function(y,e){return y.nodeType===1&&y.getAttribute("id")===e},TAG:function(y,e){return(e==="*"&&y.nodeType===1)||!!y.nodeName&&y.nodeName.toLowerCase()===e},CLASS:function(y,e){return(" "+(y.className||y.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(C,A){var z=A[1],e=d.attr?d.attr(C,z):k.attrHandle[z]?k.attrHandle[z](C):C[z]!=null?C[z]:C.getAttribute(z),D=e+"",B=A[2],y=A[4];return e==null?B==="!=":!B&&d.attr?e!=null:B==="="?D===y:B==="*="?D.indexOf(y)>=0:B==="~="?(" "+D+" ").indexOf(y)>=0:!y?D&&e!==false:B==="!="?D!==y:B==="^="?D.indexOf(y)===0:B==="$="?D.substr(D.length-y.length)===y:B==="|="?D===y||D.substr(0,y.length+1)===y+"-":false},POS:function(B,y,z,C){var e=y[2],A=k.setFilters[e];if(A){return A(B,z,y,C)}}}};var j=k.match.POS,c=function(y,e){return"\\"+(e-0+1)};for(var f in k.match){k.match[f]=new RegExp(k.match[f].source+(/(?![^\[]*\])(?![^\(]*\))/.source));k.leftMatch[f]=new RegExp(/(^(?:.|\r|\n)*?)/.source+k.match[f].source.replace(/\\(\d+)/g,c))}k.match.globalPOS=j;var l=function(y,e){y=Array.prototype.slice.call(y,0);if(e){e.push.apply(e,y);return e}return y};try{Array.prototype.slice.call(document.documentElement.childNodes,0)[0].nodeType}catch(v){l=function(B,A){var z=0,y=A||[];if(r.call(B)==="[object Array]"){Array.prototype.push.apply(y,B)}else{if(typeof B.length==="number"){for(var e=B.length;z<e;z++){y.push(B[z])}}else{for(;B[z];z++){y.push(B[z])}}}return y}}var p,m;if(document.documentElement.compareDocumentPosition){p=function(y,e){if(y===e){h=true;return 0}if(!y.compareDocumentPosition||!e.compareDocumentPosition){return y.compareDocumentPosition?-1:1}return y.compareDocumentPosition(e)&4?-1:1}}else{p=function(F,E){if(F===E){h=true;return 0}else{if(F.sourceIndex&&E.sourceIndex){return F.sourceIndex-E.sourceIndex}}var C,y,z=[],e=[],B=F.parentNode,D=E.parentNode,G=B;if(B===D){return m(F,E)}else{if(!B){return -1}else{if(!D){return 1}}}while(G){z.unshift(G);G=G.parentNode}G=D;while(G){e.unshift(G);G=G.parentNode}C=z.length;y=e.length;for(var A=0;A<C&&A<y;A++){if(z[A]!==e[A]){return m(z[A],e[A])}}return A===C?m(F,e[A],-1):m(z[A],E,1)};m=function(y,e,z){if(y===e){return z}var A=y.nextSibling;while(A){if(A===e){return -1}A=A.nextSibling}return 1}}(function(){var y=document.createElement("div"),z="script"+(new Date()).getTime(),e=document.documentElement;y.innerHTML="<a name='"+z+"'/>";e.insertBefore(y,e.firstChild);if(document.getElementById(z)){k.find.ID=function(B,C,D){if(typeof C.getElementById!=="undefined"&&!D){var A=C.getElementById(B[1]);return A?A.id===B[1]||typeof A.getAttributeNode!=="undefined"&&A.getAttributeNode("id").nodeValue===B[1]?[A]:undefined:[]}};k.filter.ID=function(C,A){var B=typeof C.getAttributeNode!=="undefined"&&C.getAttributeNode("id");return C.nodeType===1&&B&&B.nodeValue===A}}e.removeChild(y);e=y=null})();(function(){var e=document.createElement("div");e.appendChild(document.createComment(""));if(e.getElementsByTagName("*").length>0){k.find.TAG=function(y,C){var B=C.getElementsByTagName(y[1]);if(y[1]==="*"){var A=[];for(var z=0;B[z];z++){if(B[z].nodeType===1){A.push(B[z])}}B=A}return B}}e.innerHTML="<a href='#'></a>";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){k.attrHandle.href=function(y){return y.getAttribute("href",2)}}e=null})();if(document.querySelectorAll){(function(){var e=d,A=document.createElement("div"),z="__sizzle__";A.innerHTML="<p class='TEST'></p>";if(A.querySelectorAll&&A.querySelectorAll(".TEST").length===0){return}d=function(L,C,G,K){C=C||document;if(!K&&!d.isXML(C)){var J=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(L);if(J&&(C.nodeType===1||C.nodeType===9)){if(J[1]){return l(C.getElementsByTagName(L),G)}else{if(J[2]&&k.find.CLASS&&C.getElementsByClassName){return l(C.getElementsByClassName(J[2]),G)}}}if(C.nodeType===9){if(L==="body"&&C.body){return l([C.body],G)}else{if(J&&J[3]){var F=C.getElementById(J[3]);if(F&&F.parentNode){if(F.id===J[3]){return l([F],G)}}else{return l([],G)}}}try{return l(C.querySelectorAll(L),G)}catch(H){}}else{if(C.nodeType===1&&C.nodeName.toLowerCase()!=="object"){var D=C,E=C.getAttribute("id"),B=E||z,N=C.parentNode,M=/^\s*[+~]/.test(L);if(!E){C.setAttribute("id",B)}else{B=B.replace(/'/g,"\\$&")}if(M&&N){C=C.parentNode}try{if(!M||N){return l(C.querySelectorAll("[id='"+B+"'] "+L),G)}}catch(I){}finally{if(!E){D.removeAttribute("id")}}}}}return e(L,C,G,K)};for(var y in e){d[y]=e[y]}A=null})()}(function(){var e=document.documentElement,z=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(z){var B=!z.call(document.createElement("div"),"div"),y=false;try{z.call(document.documentElement,"[test!='']:sizzle")}catch(A){y=true}d.matchesSelector=function(D,F){F=F.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!d.isXML(D)){try{if(y||!k.match.PSEUDO.test(F)&&!/!=/.test(F)){var C=z.call(D,F);if(C||!B||D.document&&D.document.nodeType!==11){return C}}}catch(E){}}return d(F,null,null,[D]).length>0}}})();(function(){var e=document.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}k.order.splice(1,0,"CLASS");k.find.CLASS=function(y,z,A){if(typeof z.getElementsByClassName!=="undefined"&&!A){return z.getElementsByClassName(y[1])}};e=null})();function a(y,D,C,G,E,F){for(var A=0,z=G.length;A<z;A++){var e=G[A];if(e){var B=false;e=e[y];while(e){if(e[i]===C){B=G[e.sizset];break}if(e.nodeType===1&&!F){e[i]=C;e.sizset=A}if(e.nodeName.toLowerCase()===D){B=e;break}e=e[y]}G[A]=B}}}function t(y,D,C,G,E,F){for(var A=0,z=G.length;A<z;A++){var e=G[A];if(e){var B=false;e=e[y];while(e){if(e[i]===C){B=G[e.sizset];break}if(e.nodeType===1){if(!F){e[i]=C;e.sizset=A}if(typeof D!=="string"){if(e===D){B=true;break}}else{if(d.filter(D,[e]).length>0){B=e;break}}}e=e[y]}G[A]=B}}}if(document.documentElement.contains){d.contains=function(y,e){return y!==e&&(y.contains?y.contains(e):true)}}else{if(document.documentElement.compareDocumentPosition){d.contains=function(y,e){return !!(y.compareDocumentPosition(e)&16)}}else{d.contains=function(){return false}}}d.isXML=function(e){var y=(e?e.ownerDocument||e:0).documentElement;return y?y.nodeName!=="HTML":false};var s=function(z,e,D){var C,E=[],B="",F=e.nodeType?[e]:e;while((C=k.match.PSEUDO.exec(z))){B+=C[0];z=z.replace(k.match.PSEUDO,"")}z=k.relative[z]?z+"*":z;for(var A=0,y=F.length;A<y;A++){d(z,F[A],E,D)}return d.filter(B,E)};window.tinymce.dom.Sizzle=d})();(function(a){a.dom.Element=function(f,d){var b=this,e,c;b.settings=d=d||{};b.id=f;b.dom=e=d.dom||a.DOM;if(!a.isIE){c=e.get(b.id)}a.each(("getPos,getRect,getParent,add,setStyle,getStyle,setStyles,setAttrib,setAttribs,getAttrib,addClass,removeClass,hasClass,getOuterHTML,setOuterHTML,remove,show,hide,isHidden,setHTML,get").split(/,/),function(g){b[g]=function(){var h=[f],j;for(j=0;j<arguments.length;j++){h.push(arguments[j])}h=e[g].apply(e,h);b.update(g);return h}});a.extend(b,{on:function(i,h,g){return a.dom.Event.add(b.id,i,h,g)},getXY:function(){return{x:parseInt(b.getStyle("left")),y:parseInt(b.getStyle("top"))}},getSize:function(){var g=e.get(b.id);return{w:parseInt(b.getStyle("width")||g.clientWidth),h:parseInt(b.getStyle("height")||g.clientHeight)}},moveTo:function(g,h){b.setStyles({left:g,top:h})},moveBy:function(g,i){var h=b.getXY();b.moveTo(h.x+g,h.y+i)},resizeTo:function(g,i){b.setStyles({width:g,height:i})},resizeBy:function(g,j){var i=b.getSize();b.resizeTo(i.w+g,i.h+j)},update:function(h){var g;if(a.isIE6&&d.blocker){h=h||"";if(h.indexOf("get")===0||h.indexOf("has")===0||h.indexOf("is")===0){return}if(h=="remove"){e.remove(b.blocker);return}if(!b.blocker){b.blocker=e.uniqueId();g=e.add(d.container||e.getRoot(),"iframe",{id:b.blocker,style:"position:absolute;",frameBorder:0,src:'javascript:""'});e.setStyle(g,"opacity",0)}else{g=e.get(b.blocker)}e.setStyles(g,{left:b.getStyle("left",1),top:b.getStyle("top",1),width:b.getStyle("width",1),height:b.getStyle("height",1),display:b.getStyle("display",1),zIndex:parseInt(b.getStyle("zIndex",1)||0)-1})}}})}})(tinymce);(function(d){function f(g){return g.replace(/[\n\r]+/g,"")}var c=d.is,b=d.isIE,e=d.each,a=d.dom.TreeWalker;d.create("tinymce.dom.Selection",{Selection:function(k,j,i,h){var g=this;g.dom=k;g.win=j;g.serializer=i;g.editor=h;e(["onBeforeSetContent","onBeforeGetContent","onSetContent","onGetContent"],function(l){g[l]=new d.util.Dispatcher(g)});if(!g.win.getSelection){g.tridentSel=new d.dom.TridentSelection(g)}if(d.isIE&&k.boxModel){this._fixIESelection()}d.addUnload(g.destroy,g)},setCursorLocation:function(i,j){var g=this;var h=g.dom.createRng();h.setStart(i,j);h.setEnd(i,j);g.setRng(h);g.collapse(false)},getContent:function(h){var g=this,i=g.getRng(),m=g.dom.create("body"),k=g.getSel(),j,l,o;h=h||{};j=l="";h.get=true;h.format=h.format||"html";h.forced_root_block="";g.onBeforeGetContent.dispatch(g,h);if(h.format=="text"){return g.isCollapsed()?"":(i.text||(k.toString?k.toString():""))}if(i.cloneContents){o=i.cloneContents();if(o){m.appendChild(o)}}else{if(c(i.item)||c(i.htmlText)){m.innerHTML="<br>"+(i.item?i.item(0).outerHTML:i.htmlText);m.removeChild(m.firstChild)}else{m.innerHTML=i.toString()}}if(/^\s/.test(m.innerHTML)){j=" "}if(/\s+$/.test(m.innerHTML)){l=" "}h.getInner=true;h.content=g.isCollapsed()?"":j+g.serializer.serialize(m,h)+l;g.onGetContent.dispatch(g,h);return h.content},setContent:function(h,j){var o=this,g=o.getRng(),k,l=o.win.document,n,m;j=j||{format:"html"};j.set=true;h=j.content=h;if(!j.no_events){o.onBeforeSetContent.dispatch(o,j)}h=j.content;if(g.insertNode){h+='<span id="__caret">_</span>';if(g.startContainer==l&&g.endContainer==l){l.body.innerHTML=h}else{g.deleteContents();if(l.body.childNodes.length===0){l.body.innerHTML=h}else{if(g.createContextualFragment){g.insertNode(g.createContextualFragment(h))}else{n=l.createDocumentFragment();m=l.createElement("div");n.appendChild(m);m.outerHTML=h;g.insertNode(n)}}}k=o.dom.get("__caret");g=l.createRange();g.setStartBefore(k);g.setEndBefore(k);o.setRng(g);o.dom.remove("__caret");try{o.setRng(g)}catch(i){}}else{if(g.item){l.execCommand("Delete",false,null);g=o.getRng()}if(/^\s+/.test(h)){g.pasteHTML('<span id="__mce_tmp">_</span>'+h);o.dom.remove("__mce_tmp")}else{g.pasteHTML(h)}}if(!j.no_events){o.onSetContent.dispatch(o,j)}},getStart:function(){var i=this,h=i.getRng(),j,g,l,k;if(h.duplicate||h.item){if(h.item){return h.item(0)}l=h.duplicate();l.collapse(1);j=l.parentElement();if(j.ownerDocument!==i.dom.doc){j=i.dom.getRoot()}g=k=h.parentElement();while(k=k.parentNode){if(k==j){j=g;break}}return j}else{j=h.startContainer;if(j.nodeType==1&&j.hasChildNodes()){j=j.childNodes[Math.min(j.childNodes.length-1,h.startOffset)]}if(j&&j.nodeType==3){return j.parentNode}return j}},getEnd:function(){var h=this,g=h.getRng(),j,i;if(g.duplicate||g.item){if(g.item){return g.item(0)}g=g.duplicate();g.collapse(0);j=g.parentElement();if(j.ownerDocument!==h.dom.doc){j=h.dom.getRoot()}if(j&&j.nodeName=="BODY"){return j.lastChild||j}return j}else{j=g.endContainer;i=g.endOffset;if(j.nodeType==1&&j.hasChildNodes()){j=j.childNodes[i>0?i-1:i]}if(j&&j.nodeType==3){return j.parentNode}return j}},getBookmark:function(s,v){var y=this,n=y.dom,h,k,j,o,i,p,q,m="\uFEFF",x;function g(z,A){var t=0;e(n.select(z),function(C,B){if(C==A){t=B}});return t}function u(t){function z(E){var A,D,C,B=E?"start":"end";A=t[B+"Container"];D=t[B+"Offset"];if(A.nodeType==1&&A.nodeName=="TR"){C=A.childNodes;A=C[Math.min(E?D:D-1,C.length-1)];if(A){D=E?0:A.childNodes.length;t["set"+(E?"Start":"End")](A,D)}}}z(true);z();return t}function l(){var z=y.getRng(true),t=n.getRoot(),A={};function B(E,J){var D=E[J?"startContainer":"endContainer"],I=E[J?"startOffset":"endOffset"],C=[],F,H,G=0;if(D.nodeType==3){if(v){for(F=D.previousSibling;F&&F.nodeType==3;F=F.previousSibling){I+=F.nodeValue.length}}C.push(I)}else{H=D.childNodes;if(I>=H.length&&H.length){G=1;I=Math.max(0,H.length-1)}C.push(y.dom.nodeIndex(H[I],v)+G)}for(;D&&D!=t;D=D.parentNode){C.push(y.dom.nodeIndex(D,v))}return C}A.start=B(z,true);if(!y.isCollapsed()){A.end=B(z)}return A}if(s==2){if(y.tridentSel){return y.tridentSel.getBookmark(s)}return l()}if(s){return{rng:y.getRng()}}h=y.getRng();j=n.uniqueId();o=tinyMCE.activeEditor.selection.isCollapsed();x="overflow:hidden;line-height:0px";if(h.duplicate||h.item){if(!h.item){k=h.duplicate();try{h.collapse();h.pasteHTML('<span data-mce-type="bookmark" id="'+j+'_start" style="'+x+'">'+m+"</span>");if(!o){k.collapse(false);h.moveToElementText(k.parentElement());if(h.compareEndPoints("StartToEnd",k)===0){k.move("character",-1)}k.pasteHTML('<span data-mce-type="bookmark" id="'+j+'_end" style="'+x+'">'+m+"</span>")}}catch(r){return null}}else{p=h.item(0);i=p.nodeName;return{name:i,index:g(i,p)}}}else{p=y.getNode();i=p.nodeName;if(i=="IMG"){return{name:i,index:g(i,p)}}k=u(h.cloneRange());if(!o){k.collapse(false);k.insertNode(n.create("span",{"data-mce-type":"bookmark",id:j+"_end",style:x},m))}h=u(h);h.collapse(true);h.insertNode(n.create("span",{"data-mce-type":"bookmark",id:j+"_start",style:x},m))}y.moveToBookmark({id:j,keep:1});return{id:j}},moveToBookmark:function(o){var s=this,m=s.dom,j,i,g,r,k,u,p,q;function h(A){var t=o[A?"start":"end"],x,y,z,v;if(t){z=t[0];for(y=r,x=t.length-1;x>=1;x--){v=y.childNodes;if(t[x]>v.length-1){return}y=v[t[x]]}if(y.nodeType===3){z=Math.min(t[0],y.nodeValue.length)}if(y.nodeType===1){z=Math.min(t[0],y.childNodes.length)}if(A){g.setStart(y,z)}else{g.setEnd(y,z)}}return true}function l(B){var v=m.get(o.id+"_"+B),A,t,y,z,x=o.keep;if(v){A=v.parentNode;if(B=="start"){if(!x){t=m.nodeIndex(v)}else{A=v.firstChild;t=1}k=u=A;p=q=t}else{if(!x){t=m.nodeIndex(v)}else{A=v.firstChild;t=1}u=A;q=t}if(!x){z=v.previousSibling;y=v.nextSibling;e(d.grep(v.childNodes),function(C){if(C.nodeType==3){C.nodeValue=C.nodeValue.replace(/\uFEFF/g,"")}});while(v=m.get(o.id+"_"+B)){m.remove(v,1)}if(z&&y&&z.nodeType==y.nodeType&&z.nodeType==3&&!d.isOpera){t=z.nodeValue.length;z.appendData(y.nodeValue);m.remove(y);if(B=="start"){k=u=z;p=q=t}else{u=z;q=t}}}}}function n(t){if(m.isBlock(t)&&!t.innerHTML&&!b){t.innerHTML='<br data-mce-bogus="1" />'}return t}if(o){if(o.start){g=m.createRng();r=m.getRoot();if(s.tridentSel){return s.tridentSel.moveToBookmark(o)}if(h(true)&&h()){s.setRng(g)}}else{if(o.id){l("start");l("end");if(k){g=m.createRng();g.setStart(n(k),p);g.setEnd(n(u),q);s.setRng(g)}}else{if(o.name){s.select(m.select(o.name)[o.index])}else{if(o.rng){s.setRng(o.rng)}}}}}},select:function(l,k){var j=this,m=j.dom,h=m.createRng(),g;function i(n,p){var o=new a(n,n);do{if(n.nodeType==3&&d.trim(n.nodeValue).length!==0){if(p){h.setStart(n,0)}else{h.setEnd(n,n.nodeValue.length)}return}if(n.nodeName=="BR"){if(p){h.setStartBefore(n)}else{h.setEndBefore(n)}return}}while(n=(p?o.next():o.prev()))}if(l){g=m.nodeIndex(l);h.setStart(l.parentNode,g);h.setEnd(l.parentNode,g+1);if(k){i(l,1);i(l)}j.setRng(h)}return l},isCollapsed:function(){var g=this,i=g.getRng(),h=g.getSel();if(!i||i.item){return false}if(i.compareEndPoints){return i.compareEndPoints("StartToEnd",i)===0}return !h||i.collapsed},collapse:function(g){var i=this,h=i.getRng(),j;if(h.item){j=h.item(0);h=i.win.document.body.createTextRange();h.moveToElementText(j)}h.collapse(!!g);i.setRng(h)},getSel:function(){var h=this,g=this.win;return g.getSelection?g.getSelection():g.document.selection},getRng:function(m){var h=this,j,g,l,k=h.win.document;if(m&&h.tridentSel){return h.tridentSel.getRangeAt(0)}try{if(j=h.getSel()){g=j.rangeCount>0?j.getRangeAt(0):(j.createRange?j.createRange():k.createRange())}}catch(i){}if(d.isIE&&g&&g.setStart&&k.selection.createRange().item){l=k.selection.createRange().item(0);g=k.createRange();g.setStartBefore(l);g.setEndAfter(l)}if(!g){g=k.createRange?k.createRange():k.body.createTextRange()}if(g.setStart&&g.startContainer.nodeType===9&&g.collapsed){l=h.dom.getRoot();g.setStart(l,0);g.setEnd(l,0)}if(h.selectedRange&&h.explicitRange){if(g.compareBoundaryPoints(g.START_TO_START,h.selectedRange)===0&&g.compareBoundaryPoints(g.END_TO_END,h.selectedRange)===0){g=h.explicitRange}else{h.selectedRange=null;h.explicitRange=null}}return g},setRng:function(k,g){var j,i=this;if(!i.tridentSel){j=i.getSel();if(j){i.explicitRange=k;try{j.removeAllRanges()}catch(h){}j.addRange(k);if(g===false&&j.extend){j.collapse(k.endContainer,k.endOffset);j.extend(k.startContainer,k.startOffset)}i.selectedRange=j.rangeCount>0?j.getRangeAt(0):null}}else{if(k.cloneRange){try{i.tridentSel.addRange(k);return}catch(h){}}try{k.select()}catch(h){}}},setNode:function(h){var g=this;g.setContent(g.dom.getOuterHTML(h));return h},getNode:function(){var i=this,h=i.getRng(),j=i.getSel(),m,l=h.startContainer,g=h.endContainer;function k(q,o){var p=q;while(q&&q.nodeType===3&&q.length===0){q=o?q.nextSibling:q.previousSibling}return q||p}if(!h){return i.dom.getRoot()}if(h.setStart){m=h.commonAncestorContainer;if(!h.collapsed){if(h.startContainer==h.endContainer){if(h.endOffset-h.startOffset<2){if(h.startContainer.hasChildNodes()){m=h.startContainer.childNodes[h.startOffset]}}}if(l.nodeType===3&&g.nodeType===3){if(l.length===h.startOffset){l=k(l.nextSibling,true)}else{l=l.parentNode}if(h.endOffset===0){g=k(g.previousSibling,false)}else{g=g.parentNode}if(l&&l===g){return l}}}if(m&&m.nodeType==3){return m.parentNode}return m}return h.item?h.item(0):h.parentElement()},getSelectedBlocks:function(p,h){var o=this,k=o.dom,m,l,i,j=[];m=k.getParent(p||o.getStart(),k.isBlock);l=k.getParent(h||o.getEnd(),k.isBlock);if(m){j.push(m)}if(m&&l&&m!=l){i=m;var g=new a(m,k.getRoot());while((i=g.next())&&i!=l){if(k.isBlock(i)){j.push(i)}}}if(l&&m!=l){j.push(l)}return j},isForward:function(){var i=this.dom,g=this.getSel(),j,h;if(!g||g.anchorNode==null||g.focusNode==null){return true}j=i.createRng();j.setStart(g.anchorNode,g.anchorOffset);j.collapse(true);h=i.createRng();h.setStart(g.focusNode,g.focusOffset);h.collapse(true);return j.compareBoundaryPoints(j.START_TO_START,h)<=0},normalize:function(){var h=this,g,m,l,j,i;function k(p){var o,r,n,s=h.dom,u=s.getRoot(),q,t,v;function y(z,A){var B=new a(z,s.getParent(z.parentNode,s.isBlock)||u);while(z=B[A?"prev":"next"]()){if(z.nodeName==="BR"){return true}}}function x(B,z){var C,A;z=z||o;C=new a(z,s.getParent(z.parentNode,s.isBlock)||u);while(q=C[B?"prev":"next"]()){if(q.nodeType===3&&q.nodeValue.length>0){o=q;r=B?q.nodeValue.length:0;m=true;return}if(s.isBlock(q)||t[q.nodeName.toLowerCase()]){return}A=q}if(l&&A){o=A;m=true;r=0}}o=g[(p?"start":"end")+"Container"];r=g[(p?"start":"end")+"Offset"];t=s.schema.getNonEmptyElements();if(o.nodeType===9){o=s.getRoot();r=0}if(o===u){if(p){q=o.childNodes[r>0?r-1:0];if(q){v=q.nodeName.toLowerCase();if(t[q.nodeName]||q.nodeName=="TABLE"){return}}}if(o.hasChildNodes()){o=o.childNodes[Math.min(!p&&r>0?r-1:r,o.childNodes.length-1)];r=0;if(o.hasChildNodes()&&!/TABLE/.test(o.nodeName)){q=o;n=new a(o,u);do{if(q.nodeType===3&&q.nodeValue.length>0){r=p?0:q.nodeValue.length;o=q;m=true;break}if(t[q.nodeName.toLowerCase()]){r=s.nodeIndex(q);o=q.parentNode;if(q.nodeName=="IMG"&&!p){r++}m=true;break}}while(q=(p?n.next():n.prev()))}}}if(l){if(o.nodeType===3&&r===0){x(true)}if(o.nodeType===1){q=o.childNodes[r];if(q&&q.nodeName==="BR"&&!y(q)&&!y(q,true)){x(true,o.childNodes[r])}}}if(p&&!l&&o.nodeType===3&&r===o.nodeValue.length){x(false)}if(m){g["set"+(p?"Start":"End")](o,r)}}if(d.isIE){return}g=h.getRng();l=g.collapsed;k(true);if(!l){k()}if(m){if(l){g.collapse(true)}h.setRng(g,h.isForward())}},selectorChanged:function(g,j){var h=this,i;if(!h.selectorChangedData){h.selectorChangedData={};i={};h.editor.onNodeChange.addToTop(function(l,k,o){var p=h.dom,m=p.getParents(o,null,p.getRoot()),n={};e(h.selectorChangedData,function(r,q){e(m,function(s){if(p.is(s,q)){if(!i[q]){e(r,function(t){t(true,{node:s,selector:q,parents:m})});i[q]=r}n[q]=r;return false}})});e(i,function(r,q){if(!n[q]){delete i[q];e(r,function(s){s(false,{node:o,selector:q,parents:m})})}})})}if(!h.selectorChangedData[g]){h.selectorChangedData[g]=[]}h.selectorChangedData[g].push(j);return h},destroy:function(h){var g=this;g.win=null;if(!h){d.removeUnload(g.destroy)}},_fixIESelection:function(){var h=this.dom,n=h.doc,i=n.body,k,o,g;function j(p,s){var q=i.createTextRange();try{q.moveToPoint(p,s)}catch(r){q=null}return q}function m(q){var p;if(q.button){p=j(q.x,q.y);if(p){if(p.compareEndPoints("StartToStart",o)>0){p.setEndPoint("StartToStart",o)}else{p.setEndPoint("EndToEnd",o)}p.select()}}else{l()}}function l(){var p=n.selection.createRange();if(o&&!p.item&&p.compareEndPoints("StartToEnd",p)===0){o.select()}h.unbind(n,"mouseup",l);h.unbind(n,"mousemove",m);o=k=0}n.documentElement.unselectable=true;h.bind(n,["mousedown","contextmenu"],function(p){if(p.target.nodeName==="HTML"){if(k){l()}g=n.documentElement;if(g.scrollHeight>g.clientHeight){return}k=1;o=j(p.x,p.y);if(o){h.bind(n,"mouseup",l);h.bind(n,"mousemove",m);h.win.focus();o.select()}}})}})})(tinymce);(function(a){a.dom.Serializer=function(e,i,f){var h,b,d=a.isIE,g=a.each,c;if(!e.apply_source_formatting){e.indent=false}i=i||a.DOM;f=f||new a.html.Schema(e);e.entity_encoding=e.entity_encoding||"named";e.remove_trailing_brs="remove_trailing_brs" in e?e.remove_trailing_brs:true;h=new a.util.Dispatcher(self);b=new a.util.Dispatcher(self);c=new a.html.DomParser(e,f);c.addAttributeFilter("src,href,style",function(k,j){var o=k.length,l,q,n="data-mce-"+j,p=e.url_converter,r=e.url_converter_scope,m;while(o--){l=k[o];q=l.attributes.map[n];if(q!==m){l.attr(j,q.length>0?q:null);l.attr(n,null)}else{q=l.attributes.map[j];if(j==="style"){q=i.serializeStyle(i.parseStyle(q),l.name)}else{if(p){q=p.call(r,q,j,l.name)}}l.attr(j,q.length>0?q:null)}}});c.addAttributeFilter("class",function(j,k){var l=j.length,m,n;while(l--){m=j[l];n=m.attr("class").replace(/(?:^|\s)mce(Item\w+|Selected)(?!\S)/g,"");m.attr("class",n.length>0?n:null)}});c.addAttributeFilter("data-mce-type",function(j,l,k){var m=j.length,n;while(m--){n=j[m];if(n.attributes.map["data-mce-type"]==="bookmark"&&!k.cleanup){n.remove()}}});c.addAttributeFilter("data-mce-expando",function(j,l,k){var m=j.length;while(m--){j[m].attr(l,null)}});c.addNodeFilter("noscript",function(j){var k=j.length,l;while(k--){l=j[k].firstChild;if(l){l.value=a.html.Entities.decode(l.value)}}});c.addNodeFilter("script,style",function(k,l){var m=k.length,n,o;function j(p){return p.replace(/(<!--\[CDATA\[|\]\]-->)/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*((<!--)?(\s*\/\/)?\s*<!\[CDATA\[|(<!--\s*)?\/\*\s*<!\[CDATA\[\s*\*\/|(\/\/)?\s*<!--|\/\*\s*<!--\s*\*\/)\s*[\r\n]*/gi,"").replace(/\s*(\/\*\s*\]\]>\s*\*\/(-->)?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")}while(m--){n=k[m];o=n.firstChild?n.firstChild.value:"";if(l==="script"){n.attr("type",(n.attr("type")||"text/javascript").replace(/^mce\-/,""));if(o.length>0){n.firstChild.value="// <![CDATA[\n"+j(o)+"\n// ]]>"}}else{if(o.length>0){n.firstChild.value="<!--\n"+j(o)+"\n-->"}}}});c.addNodeFilter("#comment",function(j,k){var l=j.length,m;while(l--){m=j[l];if(m.value.indexOf("[CDATA[")===0){m.name="#cdata";m.type=4;m.value=m.value.replace(/^\[CDATA\[|\]\]$/g,"")}else{if(m.value.indexOf("mce:protected ")===0){m.name="#text";m.type=3;m.raw=true;m.value=unescape(m.value).substr(14)}}}});c.addNodeFilter("xml:namespace,input",function(j,k){var l=j.length,m;while(l--){m=j[l];if(m.type===7){m.remove()}else{if(m.type===1){if(k==="input"&&!("type" in m.attributes.map)){m.attr("type","text")}}}}});if(e.fix_list_elements){c.addNodeFilter("ul,ol",function(k,l){var m=k.length,n,j;while(m--){n=k[m];j=n.parent;if(j.name==="ul"||j.name==="ol"){if(n.prev&&n.prev.name==="li"){n.prev.append(n)}}}})}c.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style",function(j,k){var l=j.length;while(l--){j[l].attr(k,null)}});return{schema:f,addNodeFilter:c.addNodeFilter,addAttributeFilter:c.addAttributeFilter,onPreProcess:h,onPostProcess:b,serialize:function(o,m){var l,p,k,j,n;if(d&&i.select("script,style,select,map").length>0){n=o.innerHTML;o=o.cloneNode(false);i.setHTML(o,n)}else{o=o.cloneNode(true)}l=o.ownerDocument.implementation;if(l.createHTMLDocument){p=l.createHTMLDocument("");g(o.nodeName=="BODY"?o.childNodes:[o],function(q){p.body.appendChild(p.importNode(q,true))});if(o.nodeName!="BODY"){o=p.body.firstChild}else{o=p.body}k=i.doc;i.doc=p}m=m||{};m.format=m.format||"html";if(!m.no_events){m.node=o;h.dispatch(self,m)}j=new a.html.Serializer(e,f);m.content=j.serialize(c.parse(a.trim(m.getInner?o.innerHTML:i.getOuterHTML(o)),m));if(!m.cleanup){m.content=m.content.replace(/\uFEFF/g,"")}if(!m.no_events){b.dispatch(self,m)}if(k){i.doc=k}m.node=null;return m.content},addRules:function(j){f.addValidElements(j)},setRules:function(j){f.setValidElements(j)}}}})(tinymce);(function(a){a.dom.ScriptLoader=function(h){var c=0,k=1,i=2,l={},j=[],e={},d=[],g=0,f;function b(m,v){var x=this,q=a.DOM,s,o,r,n;function p(){q.remove(n);if(s){s.onreadystatechange=s.onload=s=null}v()}function u(){if(typeof(console)!=="undefined"&&console.log){console.log("Failed to load: "+m)}}n=q.uniqueId();if(a.isIE6){o=new a.util.URI(m);r=location;if(o.host==r.hostname&&o.port==r.port&&(o.protocol+":")==r.protocol&&o.protocol.toLowerCase()!="file"){a.util.XHR.send({url:a._addVer(o.getURI()),success:function(y){var t=q.create("script",{type:"text/javascript"});t.text=y;document.getElementsByTagName("head")[0].appendChild(t);q.remove(t);p()},error:u});return}}s=document.createElement("script");s.id=n;s.type="text/javascript";s.src=a._addVer(m);if(!a.isIE){s.onload=p}s.onerror=u;if(!a.isOpera){s.onreadystatechange=function(){var t=s.readyState;if(t=="complete"||t=="loaded"){p()}}}(document.getElementsByTagName("head")[0]||document.body).appendChild(s)}this.isDone=function(m){return l[m]==i};this.markDone=function(m){l[m]=i};this.add=this.load=function(m,q,n){var o,p=l[m];if(p==f){j.push(m);l[m]=c}if(q){if(!e[m]){e[m]=[]}e[m].push({func:q,scope:n||this})}};this.loadQueue=function(n,m){this.loadScripts(j,n,m)};this.loadScripts=function(m,q,p){var o;function n(r){a.each(e[r],function(s){s.func.call(s.scope)});e[r]=f}d.push({func:q,scope:p||this});o=function(){var r=a.grep(m);m.length=0;a.each(r,function(s){if(l[s]==i){n(s);return}if(l[s]!=k){l[s]=k;g++;b(s,function(){l[s]=i;g--;n(s);o()})}});if(!g){a.each(d,function(s){s.func.call(s.scope)});d.length=0}};o()}};a.ScriptLoader=new a.dom.ScriptLoader()})(tinymce);(function(a){a.dom.RangeUtils=function(c){var b="\uFEFF";this.walk=function(d,s){var i=d.startContainer,l=d.startOffset,t=d.endContainer,m=d.endOffset,j,g,o,h,r,q,e;e=c.select("td.mceSelected,th.mceSelected");if(e.length>0){a.each(e,function(u){s([u])});return}function f(u){var v;v=u[0];if(v.nodeType===3&&v===i&&l>=v.nodeValue.length){u.splice(0,1)}v=u[u.length-1];if(m===0&&u.length>0&&v===t&&v.nodeType===3){u.splice(u.length-1,1)}return u}function p(x,v,u){var y=[];for(;x&&x!=u;x=x[v]){y.push(x)}return y}function n(v,u){do{if(v.parentNode==u){return v}v=v.parentNode}while(v)}function k(x,v,y){var u=y?"nextSibling":"previousSibling";for(h=x,r=h.parentNode;h&&h!=v;h=r){r=h.parentNode;q=p(h==x?h:h[u],u);if(q.length){if(!y){q.reverse()}s(f(q))}}}if(i.nodeType==1&&i.hasChildNodes()){i=i.childNodes[l]}if(t.nodeType==1&&t.hasChildNodes()){t=t.childNodes[Math.min(m-1,t.childNodes.length-1)]}if(i==t){return s(f([i]))}j=c.findCommonAncestor(i,t);for(h=i;h;h=h.parentNode){if(h===t){return k(i,j,true)}if(h===j){break}}for(h=t;h;h=h.parentNode){if(h===i){return k(t,j)}if(h===j){break}}g=n(i,j)||i;o=n(t,j)||t;k(i,g,true);q=p(g==i?g:g.nextSibling,"nextSibling",o==t?o.nextSibling:o);if(q.length){s(f(q))}k(t,o)};this.split=function(e){var h=e.startContainer,d=e.startOffset,i=e.endContainer,g=e.endOffset;function f(j,k){return j.splitText(k)}if(h==i&&h.nodeType==3){if(d>0&&d<h.nodeValue.length){i=f(h,d);h=i.previousSibling;if(g>d){g=g-d;h=i=f(i,g).previousSibling;g=i.nodeValue.length;d=0}else{g=0}}}else{if(h.nodeType==3&&d>0&&d<h.nodeValue.length){h=f(h,d);d=0}if(i.nodeType==3&&g>0&&g<i.nodeValue.length){i=f(i,g).previousSibling;g=i.nodeValue.length}}return{startContainer:h,startOffset:d,endContainer:i,endOffset:g}}};a.dom.RangeUtils.compareRanges=function(c,b){if(c&&b){if(c.item||c.duplicate){if(c.item&&b.item&&c.item(0)===b.item(0)){return true}if(c.isEqual&&b.isEqual&&b.isEqual(c)){return true}}else{return c.startContainer==b.startContainer&&c.startOffset==b.startOffset}}return false}})(tinymce);(function(b){var a=b.dom.Event,c=b.each;b.create("tinymce.ui.KeyboardNavigation",{KeyboardNavigation:function(e,f){var q=this,n=e.root,m=e.items,o=e.enableUpDown,i=e.enableLeftRight||!e.enableUpDown,l=e.excludeFromTabOrder,k,h,p,d,g;f=f||b.DOM;k=function(r){g=r.target.id};h=function(r){f.setAttrib(r.target.id,"tabindex","-1")};d=function(r){var s=f.get(g);f.setAttrib(s,"tabindex","0");s.focus()};q.focus=function(){f.get(g).focus()};q.destroy=function(){c(m,function(s){var t=f.get(s.id);f.unbind(t,"focus",k);f.unbind(t,"blur",h)});var r=f.get(n);f.unbind(r,"focus",d);f.unbind(r,"keydown",p);m=f=n=q.focus=k=h=p=d=null;q.destroy=function(){}};q.moveFocus=function(v,s){var r=-1,u=q.controls,t;if(!g){return}c(m,function(y,x){if(y.id===g){r=x;return false}});r+=v;if(r<0){r=m.length-1}else{if(r>=m.length){r=0}}t=m[r];f.setAttrib(g,"tabindex","-1");f.setAttrib(t.id,"tabindex","0");f.get(t.id).focus();if(e.actOnFocus){e.onAction(t.id)}if(s){a.cancel(s)}};p=function(z){var v=37,u=39,y=38,A=40,r=27,t=14,s=13,x=32;switch(z.keyCode){case v:if(i){q.moveFocus(-1)}break;case u:if(i){q.moveFocus(1)}break;case y:if(o){q.moveFocus(-1)}break;case A:if(o){q.moveFocus(1)}break;case r:if(e.onCancel){e.onCancel();a.cancel(z)}break;case t:case s:case x:if(e.onAction){e.onAction(g);a.cancel(z)}break}};c(m,function(t,r){var s,u;if(!t.id){t.id=f.uniqueId("_mce_item_")}u=f.get(t.id);if(l){f.bind(u,"blur",h);s="-1"}else{s=(r===0?"0":"-1")}u.setAttribute("tabindex",s);f.bind(u,"focus",k)});if(m[0]){g=m[0].id}f.setAttrib(n,"tabindex","-1");var j=f.get(n);f.bind(j,"focus",d);f.bind(j,"keydown",p)}})})(tinymce);(function(c){var b=c.DOM,a=c.is;c.create("tinymce.ui.Control",{Control:function(f,e,d){this.id=f;this.settings=e=e||{};this.rendered=false;this.onRender=new c.util.Dispatcher(this);this.classPrefix="";this.scope=e.scope||this;this.disabled=0;this.active=0;this.editor=d},setAriaProperty:function(f,e){var d=b.get(this.id+"_aria")||b.get(this.id);if(d){b.setAttrib(d,"aria-"+f,!!e)}},focus:function(){b.get(this.id).focus()},setDisabled:function(d){if(d!=this.disabled){this.setAriaProperty("disabled",d);this.setState("Disabled",d);this.setState("Enabled",!d);this.disabled=d}},isDisabled:function(){return this.disabled},setActive:function(d){if(d!=this.active){this.setState("Active",d);this.active=d;this.setAriaProperty("pressed",d)}},isActive:function(){return this.active},setState:function(f,d){var e=b.get(this.id);f=this.classPrefix+f;if(d){b.addClass(e,f)}else{b.removeClass(e,f)}},isRendered:function(){return this.rendered},renderHTML:function(){},renderTo:function(d){b.setHTML(d,this.renderHTML())},postRender:function(){var e=this,d;if(a(e.disabled)){d=e.disabled;e.disabled=-1;e.setDisabled(d)}if(a(e.active)){d=e.active;e.active=-1;e.setActive(d)}},remove:function(){b.remove(this.id);this.destroy()},destroy:function(){c.dom.Event.clear(this.id)}})})(tinymce);tinymce.create("tinymce.ui.Container:tinymce.ui.Control",{Container:function(c,b,a){this.parent(c,b,a);this.controls=[];this.lookup={}},add:function(a){this.lookup[a.id]=a;this.controls.push(a);return a},get:function(a){return this.lookup[a]}});tinymce.create("tinymce.ui.Separator:tinymce.ui.Control",{Separator:function(b,a){this.parent(b,a);this.classPrefix="mceSeparator";this.setDisabled(true)},renderHTML:function(){return tinymce.DOM.createHTML("span",{"class":this.classPrefix,role:"separator","aria-orientation":"vertical",tabindex:"-1"})}});(function(d){var c=d.is,b=d.DOM,e=d.each,a=d.walk;d.create("tinymce.ui.MenuItem:tinymce.ui.Control",{MenuItem:function(g,f){this.parent(g,f);this.classPrefix="mceMenuItem"},setSelected:function(f){this.setState("Selected",f);this.setAriaProperty("checked",!!f);this.selected=f},isSelected:function(){return this.selected},postRender:function(){var f=this;f.parent();if(c(f.selected)){f.setSelected(f.selected)}}})})(tinymce);(function(d){var c=d.is,b=d.DOM,e=d.each,a=d.walk;d.create("tinymce.ui.Menu:tinymce.ui.MenuItem",{Menu:function(h,g){var f=this;f.parent(h,g);f.items={};f.collapsed=false;f.menuCount=0;f.onAddItem=new d.util.Dispatcher(this)},expand:function(g){var f=this;if(g){a(f,function(h){if(h.expand){h.expand()}},"items",f)}f.collapsed=false},collapse:function(g){var f=this;if(g){a(f,function(h){if(h.collapse){h.collapse()}},"items",f)}f.collapsed=true},isCollapsed:function(){return this.collapsed},add:function(f){if(!f.settings){f=new d.ui.MenuItem(f.id||b.uniqueId(),f)}this.onAddItem.dispatch(this,f);return this.items[f.id]=f},addSeparator:function(){return this.add({separator:true})},addMenu:function(f){if(!f.collapse){f=this.createMenu(f)}this.menuCount++;return this.add(f)},hasMenus:function(){return this.menuCount!==0},remove:function(f){delete this.items[f.id]},removeAll:function(){var f=this;a(f,function(g){if(g.removeAll){g.removeAll()}else{g.remove()}g.destroy()},"items",f);f.items={}},createMenu:function(g){var f=new d.ui.Menu(g.id||b.uniqueId(),g);f.onAddItem.add(this.onAddItem.dispatch,this.onAddItem);return f}})})(tinymce);(function(e){var d=e.is,c=e.DOM,f=e.each,a=e.dom.Event,b=e.dom.Element;e.create("tinymce.ui.DropMenu:tinymce.ui.Menu",{DropMenu:function(h,g){g=g||{};g.container=g.container||c.doc.body;g.offset_x=g.offset_x||0;g.offset_y=g.offset_y||0;g.vp_offset_x=g.vp_offset_x||0;g.vp_offset_y=g.vp_offset_y||0;if(d(g.icons)&&!g.icons){g["class"]+=" mceNoIcons"}this.parent(h,g);this.onShowMenu=new e.util.Dispatcher(this);this.onHideMenu=new e.util.Dispatcher(this);this.classPrefix="mceMenu"},createMenu:function(j){var h=this,i=h.settings,g;j.container=j.container||i.container;j.parent=h;j.constrain=j.constrain||i.constrain;j["class"]=j["class"]||i["class"];j.vp_offset_x=j.vp_offset_x||i.vp_offset_x;j.vp_offset_y=j.vp_offset_y||i.vp_offset_y;j.keyboard_focus=i.keyboard_focus;g=new e.ui.DropMenu(j.id||c.uniqueId(),j);g.onAddItem.add(h.onAddItem.dispatch,h.onAddItem);return g},focus:function(){var g=this;if(g.keyboardNav){g.keyboardNav.focus()}},update:function(){var i=this,j=i.settings,g=c.get("menu_"+i.id+"_tbl"),l=c.get("menu_"+i.id+"_co"),h,k;h=j.max_width?Math.min(g.offsetWidth,j.max_width):g.offsetWidth;k=j.max_height?Math.min(g.offsetHeight,j.max_height):g.offsetHeight;if(!c.boxModel){i.element.setStyles({width:h+2,height:k+2})}else{i.element.setStyles({width:h,height:k})}if(j.max_width){c.setStyle(l,"width",h)}if(j.max_height){c.setStyle(l,"height",k);if(g.clientHeight<j.max_height){c.setStyle(l,"overflow","hidden")}}},showMenu:function(p,n,r){var z=this,A=z.settings,o,g=c.getViewPort(),u,l,v,q,i=2,k,j,m=z.classPrefix;z.collapse(1);if(z.isMenuVisible){return}if(!z.rendered){o=c.add(z.settings.container,z.renderNode());f(z.items,function(h){h.postRender()});z.element=new b("menu_"+z.id,{blocker:1,container:A.container})}else{o=c.get("menu_"+z.id)}if(!e.isOpera){c.setStyles(o,{left:-65535,top:-65535})}c.show(o);z.update();p+=A.offset_x||0;n+=A.offset_y||0;g.w-=4;g.h-=4;if(A.constrain){u=o.clientWidth-i;l=o.clientHeight-i;v=g.x+g.w;q=g.y+g.h;if((p+A.vp_offset_x+u)>v){p=r?r-u:Math.max(0,(v-A.vp_offset_x)-u)}if((n+A.vp_offset_y+l)>q){n=Math.max(0,(q-A.vp_offset_y)-l)}}c.setStyles(o,{left:p,top:n});z.element.update();z.isMenuVisible=1;z.mouseClickFunc=a.add(o,"click",function(s){var h;s=s.target;if(s&&(s=c.getParent(s,"tr"))&&!c.hasClass(s,m+"ItemSub")){h=z.items[s.id];if(h.isDisabled()){return}k=z;while(k){if(k.hideMenu){k.hideMenu()}k=k.settings.parent}if(h.settings.onclick){h.settings.onclick(s)}return false}});if(z.hasMenus()){z.mouseOverFunc=a.add(o,"mouseover",function(x){var h,t,s;x=x.target;if(x&&(x=c.getParent(x,"tr"))){h=z.items[x.id];if(z.lastMenu){z.lastMenu.collapse(1)}if(h.isDisabled()){return}if(x&&c.hasClass(x,m+"ItemSub")){t=c.getRect(x);h.showMenu((t.x+t.w-i),t.y-i,t.x);z.lastMenu=h;c.addClass(c.get(h.id).firstChild,m+"ItemActive")}}})}a.add(o,"keydown",z._keyHandler,z);z.onShowMenu.dispatch(z);if(A.keyboard_focus){z._setupKeyboardNav()}},hideMenu:function(j){var g=this,i=c.get("menu_"+g.id),h;if(!g.isMenuVisible){return}if(g.keyboardNav){g.keyboardNav.destroy()}a.remove(i,"mouseover",g.mouseOverFunc);a.remove(i,"click",g.mouseClickFunc);a.remove(i,"keydown",g._keyHandler);c.hide(i);g.isMenuVisible=0;if(!j){g.collapse(1)}if(g.element){g.element.hide()}if(h=c.get(g.id)){c.removeClass(h.firstChild,g.classPrefix+"ItemActive")}g.onHideMenu.dispatch(g)},add:function(i){var g=this,h;i=g.parent(i);if(g.isRendered&&(h=c.get("menu_"+g.id))){g._add(c.select("tbody",h)[0],i)}return i},collapse:function(g){this.parent(g);this.hideMenu(1)},remove:function(g){c.remove(g.id);this.destroy();return this.parent(g)},destroy:function(){var g=this,h=c.get("menu_"+g.id);if(g.keyboardNav){g.keyboardNav.destroy()}a.remove(h,"mouseover",g.mouseOverFunc);a.remove(c.select("a",h),"focus",g.mouseOverFunc);a.remove(h,"click",g.mouseClickFunc);a.remove(h,"keydown",g._keyHandler);if(g.element){g.element.remove()}c.remove(h)},renderNode:function(){var i=this,j=i.settings,l,h,k,g;g=c.create("div",{role:"listbox",id:"menu_"+i.id,"class":j["class"],style:"position:absolute;left:0;top:0;z-index:200000;outline:0"});if(i.settings.parent){c.setAttrib(g,"aria-parent","menu_"+i.settings.parent.id)}k=c.add(g,"div",{role:"presentation",id:"menu_"+i.id+"_co","class":i.classPrefix+(j["class"]?" "+j["class"]:"")});i.element=new b("menu_"+i.id,{blocker:1,container:j.container});if(j.menu_line){c.add(k,"span",{"class":i.classPrefix+"Line"})}l=c.add(k,"table",{role:"presentation",id:"menu_"+i.id+"_tbl",border:0,cellPadding:0,cellSpacing:0});h=c.add(l,"tbody");f(i.items,function(m){i._add(h,m)});i.rendered=true;return g},_setupKeyboardNav:function(){var i,h,g=this;i=c.get("menu_"+g.id);h=c.select("a[role=option]","menu_"+g.id);h.splice(0,0,i);g.keyboardNav=new e.ui.KeyboardNavigation({root:"menu_"+g.id,items:h,onCancel:function(){g.hideMenu()},enableUpDown:true});i.focus()},_keyHandler:function(g){var h=this,i;switch(g.keyCode){case 37:if(h.settings.parent){h.hideMenu();h.settings.parent.focus();a.cancel(g)}break;case 39:if(h.mouseOverFunc){h.mouseOverFunc(g)}break}},_add:function(j,h){var i,q=h.settings,p,l,k,m=this.classPrefix,g;if(q.separator){l=c.add(j,"tr",{id:h.id,"class":m+"ItemSeparator"});c.add(l,"td",{"class":m+"ItemSeparator"});if(i=l.previousSibling){c.addClass(i,"mceLast")}return}i=l=c.add(j,"tr",{id:h.id,"class":m+"Item "+m+"ItemEnabled"});i=k=c.add(i,q.titleItem?"th":"td");i=p=c.add(i,"a",{id:h.id+"_aria",role:q.titleItem?"presentation":"option",href:"javascript:;",onclick:"return false;",onmousedown:"return false;"});if(q.parent){c.setAttrib(p,"aria-haspopup","true");c.setAttrib(p,"aria-owns","menu_"+h.id)}c.addClass(k,q["class"]);g=c.add(i,"span",{"class":"mceIcon"+(q.icon?" mce_"+q.icon:"")});if(q.icon_src){c.add(g,"img",{src:q.icon_src})}i=c.add(i,q.element||"span",{"class":"mceText",title:h.settings.title},h.settings.title);if(h.settings.style){if(typeof h.settings.style=="function"){h.settings.style=h.settings.style()}c.setAttrib(i,"style",h.settings.style)}if(j.childNodes.length==1){c.addClass(l,"mceFirst")}if((i=l.previousSibling)&&c.hasClass(i,m+"ItemSeparator")){c.addClass(l,"mceFirst")}if(h.collapse){c.addClass(l,m+"ItemSub")}if(i=l.previousSibling){c.removeClass(i,"mceLast")}c.addClass(l,"mceLast")}})})(tinymce);(function(b){var a=b.DOM;b.create("tinymce.ui.Button:tinymce.ui.Control",{Button:function(e,d,c){this.parent(e,d,c);this.classPrefix="mceButton"},renderHTML:function(){var f=this.classPrefix,e=this.settings,d,c;c=a.encode(e.label||"");d='<a role="button" id="'+this.id+'" href="javascript:;" class="'+f+" "+f+"Enabled "+e["class"]+(c?" "+f+"Labeled":"")+'" onmousedown="return false;" onclick="return false;" aria-labelledby="'+this.id+'_voice" title="'+a.encode(e.title)+'">';if(e.image&&!(this.editor&&this.editor.forcedHighContrastMode)){d+='<span class="mceIcon '+e["class"]+'"><img class="mceIcon" src="'+e.image+'" alt="'+a.encode(e.title)+'" /></span>'+(c?'<span class="'+f+'Label">'+c+"</span>":"")}else{d+='<span class="mceIcon '+e["class"]+'"></span>'+(c?'<span class="'+f+'Label">'+c+"</span>":"")}d+='<span class="mceVoiceLabel mceIconOnly" style="display: none;" id="'+this.id+'_voice">'+e.title+"</span>";d+="</a>";return d},postRender:function(){var d=this,e=d.settings,c;if(b.isIE&&d.editor){b.dom.Event.add(d.id,"mousedown",function(f){var g=d.editor.selection.getNode().nodeName;c=g==="IMG"?d.editor.selection.getBookmark():null})}b.dom.Event.add(d.id,"click",function(f){if(!d.isDisabled()){if(b.isIE&&d.editor&&c!==null){d.editor.selection.moveToBookmark(c)}return e.onclick.call(e.scope,f)}});b.dom.Event.add(d.id,"keyup",function(f){if(!d.isDisabled()&&f.keyCode==b.VK.SPACEBAR){return e.onclick.call(e.scope,f)}})}})})(tinymce);(function(e){var d=e.DOM,b=e.dom.Event,f=e.each,a=e.util.Dispatcher,c;e.create("tinymce.ui.ListBox:tinymce.ui.Control",{ListBox:function(j,i,g){var h=this;h.parent(j,i,g);h.items=[];h.onChange=new a(h);h.onPostRender=new a(h);h.onAdd=new a(h);h.onRenderMenu=new e.util.Dispatcher(this);h.classPrefix="mceListBox";h.marked={}},select:function(h){var g=this,j,i;g.marked={};if(h==c){return g.selectByIndex(-1)}if(h&&typeof(h)=="function"){i=h}else{i=function(k){return k==h}}if(h!=g.selectedValue){f(g.items,function(l,k){if(i(l.value)){j=1;g.selectByIndex(k);return false}});if(!j){g.selectByIndex(-1)}}},selectByIndex:function(g){var i=this,j,k,h;i.marked={};if(g!=i.selectedIndex){j=d.get(i.id+"_text");h=d.get(i.id+"_voiceDesc");k=i.items[g];if(k){i.selectedValue=k.value;i.selectedIndex=g;d.setHTML(j,d.encode(k.title));d.setHTML(h,i.settings.title+" - "+k.title);d.removeClass(j,"mceTitle");d.setAttrib(i.id,"aria-valuenow",k.title)}else{d.setHTML(j,d.encode(i.settings.title));d.setHTML(h,d.encode(i.settings.title));d.addClass(j,"mceTitle");i.selectedValue=i.selectedIndex=null;d.setAttrib(i.id,"aria-valuenow",i.settings.title)}j=0}},mark:function(g){this.marked[g]=true},add:function(j,g,i){var h=this;i=i||{};i=e.extend(i,{title:j,value:g});h.items.push(i);h.onAdd.dispatch(h,i)},getLength:function(){return this.items.length},renderHTML:function(){var j="",g=this,i=g.settings,k=g.classPrefix;j='<span role="listbox" aria-haspopup="true" aria-labelledby="'+g.id+'_voiceDesc" aria-describedby="'+g.id+'_voiceDesc"><table role="presentation" tabindex="0" id="'+g.id+'" cellpadding="0" cellspacing="0" class="'+k+" "+k+"Enabled"+(i["class"]?(" "+i["class"]):"")+'"><tbody><tr>';j+="<td>"+d.createHTML("span",{id:g.id+"_voiceDesc","class":"voiceLabel",style:"display:none;"},g.settings.title);j+=d.createHTML("a",{id:g.id+"_text",tabindex:-1,href:"javascript:;","class":"mceText",onclick:"return false;",onmousedown:"return false;"},d.encode(g.settings.title))+"</td>";j+="<td>"+d.createHTML("a",{id:g.id+"_open",tabindex:-1,href:"javascript:;","class":"mceOpen",onclick:"return false;",onmousedown:"return false;"},'<span><span style="display:none;" class="mceIconOnly" aria-hidden="true">\u25BC</span></span>')+"</td>";j+="</tr></tbody></table></span>";return j},showMenu:function(){var h=this,j,i=d.get(this.id),g;if(h.isDisabled()||h.items.length===0){return}if(h.menu&&h.menu.isMenuVisible){return h.hideMenu()}if(!h.isMenuRendered){h.renderMenu();h.isMenuRendered=true}j=d.getPos(i);g=h.menu;g.settings.offset_x=j.x;g.settings.offset_y=j.y;g.settings.keyboard_focus=!e.isOpera;f(h.items,function(k){if(g.items[k.id]){g.items[k.id].setSelected(0)}});f(h.items,function(k){if(g.items[k.id]&&h.marked[k.value]){g.items[k.id].setSelected(1)}if(k.value===h.selectedValue){g.items[k.id].setSelected(1)}});g.showMenu(0,i.clientHeight);b.add(d.doc,"mousedown",h.hideMenu,h);d.addClass(h.id,h.classPrefix+"Selected")},hideMenu:function(h){var g=this;if(g.menu&&g.menu.isMenuVisible){d.removeClass(g.id,g.classPrefix+"Selected");if(h&&h.type=="mousedown"&&(h.target.id==g.id+"_text"||h.target.id==g.id+"_open")){return}if(!h||!d.getParent(h.target,".mceMenu")){d.removeClass(g.id,g.classPrefix+"Selected");b.remove(d.doc,"mousedown",g.hideMenu,g);g.menu.hideMenu()}}},renderMenu:function(){var h=this,g;g=h.settings.control_manager.createDropMenu(h.id+"_menu",{menu_line:1,"class":h.classPrefix+"Menu mceNoIcons",max_width:250,max_height:150});g.onHideMenu.add(function(){h.hideMenu();h.focus()});g.add({title:h.settings.title,"class":"mceMenuItemTitle",onclick:function(){if(h.settings.onselect("")!==false){h.select("")}}});f(h.items,function(i){if(i.value===c){g.add({title:i.title,role:"option","class":"mceMenuItemTitle",onclick:function(){if(h.settings.onselect("")!==false){h.select("")}}})}else{i.id=d.uniqueId();i.role="option";i.onclick=function(){if(h.settings.onselect(i.value)!==false){h.select(i.value)}};g.add(i)}});h.onRenderMenu.dispatch(h,g);h.menu=g},postRender:function(){var g=this,h=g.classPrefix;b.add(g.id,"click",g.showMenu,g);b.add(g.id,"keydown",function(i){if(i.keyCode==32){g.showMenu(i);b.cancel(i)}});b.add(g.id,"focus",function(){if(!g._focused){g.keyDownHandler=b.add(g.id,"keydown",function(i){if(i.keyCode==40){g.showMenu();b.cancel(i)}});g.keyPressHandler=b.add(g.id,"keypress",function(j){var i;if(j.keyCode==13){i=g.selectedValue;g.selectedValue=null;b.cancel(j);g.settings.onselect(i)}})}g._focused=1});b.add(g.id,"blur",function(){b.remove(g.id,"keydown",g.keyDownHandler);b.remove(g.id,"keypress",g.keyPressHandler);g._focused=0});if(e.isIE6||!d.boxModel){b.add(g.id,"mouseover",function(){if(!d.hasClass(g.id,h+"Disabled")){d.addClass(g.id,h+"Hover")}});b.add(g.id,"mouseout",function(){if(!d.hasClass(g.id,h+"Disabled")){d.removeClass(g.id,h+"Hover")}})}g.onPostRender.dispatch(g,d.get(g.id))},destroy:function(){this.parent();b.clear(this.id+"_text");b.clear(this.id+"_open")}})})(tinymce);(function(e){var d=e.DOM,b=e.dom.Event,f=e.each,a=e.util.Dispatcher,c;e.create("tinymce.ui.NativeListBox:tinymce.ui.ListBox",{NativeListBox:function(h,g){this.parent(h,g);this.classPrefix="mceNativeListBox"},setDisabled:function(g){d.get(this.id).disabled=g;this.setAriaProperty("disabled",g)},isDisabled:function(){return d.get(this.id).disabled},select:function(h){var g=this,j,i;if(h==c){return g.selectByIndex(-1)}if(h&&typeof(h)=="function"){i=h}else{i=function(k){return k==h}}if(h!=g.selectedValue){f(g.items,function(l,k){if(i(l.value)){j=1;g.selectByIndex(k);return false}});if(!j){g.selectByIndex(-1)}}},selectByIndex:function(g){d.get(this.id).selectedIndex=g+1;this.selectedValue=this.items[g]?this.items[g].value:null},add:function(k,h,g){var j,i=this;g=g||{};g.value=h;if(i.isRendered()){d.add(d.get(this.id),"option",g,k)}j={title:k,value:h,attribs:g};i.items.push(j);i.onAdd.dispatch(i,j)},getLength:function(){return this.items.length},renderHTML:function(){var i,g=this;i=d.createHTML("option",{value:""},"-- "+g.settings.title+" --");f(g.items,function(h){i+=d.createHTML("option",{value:h.value},h.title)});i=d.createHTML("select",{id:g.id,"class":"mceNativeListBox","aria-labelledby":g.id+"_aria"},i);i+=d.createHTML("span",{id:g.id+"_aria",style:"display: none"},g.settings.title);return i},postRender:function(){var h=this,i,j=true;h.rendered=true;function g(l){var k=h.items[l.target.selectedIndex-1];if(k&&(k=k.value)){h.onChange.dispatch(h,k);if(h.settings.onselect){h.settings.onselect(k)}}}b.add(h.id,"change",g);b.add(h.id,"keydown",function(l){var k;b.remove(h.id,"change",i);j=false;k=b.add(h.id,"blur",function(){if(j){return}j=true;b.add(h.id,"change",g);b.remove(h.id,"blur",k)});if(e.isWebKit&&(l.keyCode==37||l.keyCode==39)){return b.prevent(l)}if(l.keyCode==13||l.keyCode==32){g(l);return b.cancel(l)}});h.onPostRender.dispatch(h,d.get(h.id))}})})(tinymce);(function(c){var b=c.DOM,a=c.dom.Event,d=c.each;c.create("tinymce.ui.MenuButton:tinymce.ui.Button",{MenuButton:function(g,f,e){this.parent(g,f,e);this.onRenderMenu=new c.util.Dispatcher(this);f.menu_container=f.menu_container||b.doc.body},showMenu:function(){var g=this,j,i,h=b.get(g.id),f;if(g.isDisabled()){return}if(!g.isMenuRendered){g.renderMenu();g.isMenuRendered=true}if(g.isMenuVisible){return g.hideMenu()}j=b.getPos(g.settings.menu_container);i=b.getPos(h);f=g.menu;f.settings.offset_x=i.x;f.settings.offset_y=i.y;f.settings.vp_offset_x=i.x;f.settings.vp_offset_y=i.y;f.settings.keyboard_focus=g._focused;f.showMenu(0,h.firstChild.clientHeight);a.add(b.doc,"mousedown",g.hideMenu,g);g.setState("Selected",1);g.isMenuVisible=1},renderMenu:function(){var f=this,e;e=f.settings.control_manager.createDropMenu(f.id+"_menu",{menu_line:1,"class":this.classPrefix+"Menu",icons:f.settings.icons});e.onHideMenu.add(function(){f.hideMenu();f.focus()});f.onRenderMenu.dispatch(f,e);f.menu=e},hideMenu:function(g){var f=this;if(g&&g.type=="mousedown"&&b.getParent(g.target,function(h){return h.id===f.id||h.id===f.id+"_open"})){return}if(!g||!b.getParent(g.target,".mceMenu")){f.setState("Selected",0);a.remove(b.doc,"mousedown",f.hideMenu,f);if(f.menu){f.menu.hideMenu()}}f.isMenuVisible=0},postRender:function(){var e=this,f=e.settings;a.add(e.id,"click",function(){if(!e.isDisabled()){if(f.onclick){f.onclick(e.value)}e.showMenu()}})}})})(tinymce);(function(c){var b=c.DOM,a=c.dom.Event,d=c.each;c.create("tinymce.ui.SplitButton:tinymce.ui.MenuButton",{SplitButton:function(g,f,e){this.parent(g,f,e);this.classPrefix="mceSplitButton"},renderHTML:function(){var i,f=this,g=f.settings,e;i="<tbody><tr>";if(g.image){e=b.createHTML("img ",{src:g.image,role:"presentation","class":"mceAction "+g["class"]})}else{e=b.createHTML("span",{"class":"mceAction "+g["class"]},"")}e+=b.createHTML("span",{"class":"mceVoiceLabel mceIconOnly",id:f.id+"_voice",style:"display:none;"},g.title);i+="<td >"+b.createHTML("a",{role:"button",id:f.id+"_action",tabindex:"-1",href:"javascript:;","class":"mceAction "+g["class"],onclick:"return false;",onmousedown:"return false;",title:g.title},e)+"</td>";e=b.createHTML("span",{"class":"mceOpen "+g["class"]},'<span style="display:none;" class="mceIconOnly" aria-hidden="true">\u25BC</span>');i+="<td >"+b.createHTML("a",{role:"button",id:f.id+"_open",tabindex:"-1",href:"javascript:;","class":"mceOpen "+g["class"],onclick:"return false;",onmousedown:"return false;",title:g.title},e)+"</td>";i+="</tr></tbody>";i=b.createHTML("table",{role:"presentation","class":"mceSplitButton mceSplitButtonEnabled "+g["class"],cellpadding:"0",cellspacing:"0",title:g.title},i);return b.createHTML("div",{id:f.id,role:"button",tabindex:"0","aria-labelledby":f.id+"_voice","aria-haspopup":"true"},i)},postRender:function(){var e=this,g=e.settings,f;if(g.onclick){f=function(h){if(!e.isDisabled()){g.onclick(e.value);a.cancel(h)}};a.add(e.id+"_action","click",f);a.add(e.id,["click","keydown"],function(h){var k=32,m=14,i=13,j=38,l=40;if((h.keyCode===32||h.keyCode===13||h.keyCode===14)&&!h.altKey&&!h.ctrlKey&&!h.metaKey){f();a.cancel(h)}else{if(h.type==="click"||h.keyCode===l){e.showMenu();a.cancel(h)}}})}a.add(e.id+"_open","click",function(h){e.showMenu();a.cancel(h)});a.add([e.id,e.id+"_open"],"focus",function(){e._focused=1});a.add([e.id,e.id+"_open"],"blur",function(){e._focused=0});if(c.isIE6||!b.boxModel){a.add(e.id,"mouseover",function(){if(!b.hasClass(e.id,"mceSplitButtonDisabled")){b.addClass(e.id,"mceSplitButtonHover")}});a.add(e.id,"mouseout",function(){if(!b.hasClass(e.id,"mceSplitButtonDisabled")){b.removeClass(e.id,"mceSplitButtonHover")}})}},destroy:function(){this.parent();a.clear(this.id+"_action");a.clear(this.id+"_open");a.clear(this.id)}})})(tinymce);(function(d){var c=d.DOM,a=d.dom.Event,b=d.is,e=d.each;d.create("tinymce.ui.ColorSplitButton:tinymce.ui.SplitButton",{ColorSplitButton:function(i,h,f){var g=this;g.parent(i,h,f);g.settings=h=d.extend({colors:"000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,008000,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF",grid_width:8,default_color:"#888888"},g.settings);g.onShowMenu=new d.util.Dispatcher(g);g.onHideMenu=new d.util.Dispatcher(g);g.value=h.default_color},showMenu:function(){var f=this,g,j,i,h;if(f.isDisabled()){return}if(!f.isMenuRendered){f.renderMenu();f.isMenuRendered=true}if(f.isMenuVisible){return f.hideMenu()}i=c.get(f.id);c.show(f.id+"_menu");c.addClass(i,"mceSplitButtonSelected");h=c.getPos(i);c.setStyles(f.id+"_menu",{left:h.x,top:h.y+i.firstChild.clientHeight,zIndex:200000});i=0;a.add(c.doc,"mousedown",f.hideMenu,f);f.onShowMenu.dispatch(f);if(f._focused){f._keyHandler=a.add(f.id+"_menu","keydown",function(k){if(k.keyCode==27){f.hideMenu()}});c.select("a",f.id+"_menu")[0].focus()}f.keyboardNav=new d.ui.KeyboardNavigation({root:f.id+"_menu",items:c.select("a",f.id+"_menu"),onCancel:function(){f.hideMenu();f.focus()}});f.keyboardNav.focus();f.isMenuVisible=1},hideMenu:function(g){var f=this;if(f.isMenuVisible){if(g&&g.type=="mousedown"&&c.getParent(g.target,function(h){return h.id===f.id+"_open"})){return}if(!g||!c.getParent(g.target,".mceSplitButtonMenu")){c.removeClass(f.id,"mceSplitButtonSelected");a.remove(c.doc,"mousedown",f.hideMenu,f);a.remove(f.id+"_menu","keydown",f._keyHandler);c.hide(f.id+"_menu")}f.isMenuVisible=0;f.onHideMenu.dispatch();f.keyboardNav.destroy()}},renderMenu:function(){var p=this,h,k=0,q=p.settings,g,j,l,o,f;o=c.add(q.menu_container,"div",{role:"listbox",id:p.id+"_menu","class":q.menu_class+" "+q["class"],style:"position:absolute;left:0;top:-1000px;"});h=c.add(o,"div",{"class":q["class"]+" mceSplitButtonMenu"});c.add(h,"span",{"class":"mceMenuLine"});g=c.add(h,"table",{role:"presentation","class":"mceColorSplitMenu"});j=c.add(g,"tbody");k=0;e(b(q.colors,"array")?q.colors:q.colors.split(","),function(m){m=m.replace(/^#/,"");if(!k--){l=c.add(j,"tr");k=q.grid_width-1}g=c.add(l,"td");var i={href:"javascript:;",style:{backgroundColor:"#"+m},title:p.editor.getLang("colors."+m,m),"data-mce-color":"#"+m};if(!d.isIE){i.role="option"}g=c.add(g,"a",i);if(p.editor.forcedHighContrastMode){g=c.add(g,"canvas",{width:16,height:16,"aria-hidden":"true"});if(g.getContext&&(f=g.getContext("2d"))){f.fillStyle="#"+m;f.fillRect(0,0,16,16)}else{c.remove(g)}}});if(q.more_colors_func){g=c.add(j,"tr");g=c.add(g,"td",{colspan:q.grid_width,"class":"mceMoreColors"});g=c.add(g,"a",{role:"option",id:p.id+"_more",href:"javascript:;",onclick:"return false;","class":"mceMoreColors"},q.more_colors_title);a.add(g,"click",function(i){q.more_colors_func.call(q.more_colors_scope||this);return a.cancel(i)})}c.addClass(h,"mceColorSplitMenu");a.add(p.id+"_menu","mousedown",function(i){return a.cancel(i)});a.add(p.id+"_menu","click",function(i){var m;i=c.getParent(i.target,"a",j);if(i&&i.nodeName.toLowerCase()=="a"&&(m=i.getAttribute("data-mce-color"))){p.setColor(m)}return false});return o},setColor:function(f){this.displayColor(f);this.hideMenu();this.settings.onselect(f)},displayColor:function(g){var f=this;c.setStyle(f.id+"_preview","backgroundColor",g);f.value=g},postRender:function(){var f=this,g=f.id;f.parent();c.add(g+"_action","div",{id:g+"_preview","class":"mceColorPreview"});c.setStyle(f.id+"_preview","backgroundColor",f.value)},destroy:function(){var f=this;f.parent();a.clear(f.id+"_menu");a.clear(f.id+"_more");c.remove(f.id+"_menu");if(f.keyboardNav){f.keyboardNav.destroy()}}})})(tinymce);(function(b){var d=b.DOM,c=b.each,a=b.dom.Event;b.create("tinymce.ui.ToolbarGroup:tinymce.ui.Container",{renderHTML:function(){var f=this,i=[],e=f.controls,j=b.each,g=f.settings;i.push('<div id="'+f.id+'" role="group" aria-labelledby="'+f.id+'_voice">');i.push("<span role='application'>");i.push('<span id="'+f.id+'_voice" class="mceVoiceLabel" style="display:none;">'+d.encode(g.name)+"</span>");j(e,function(h){i.push(h.renderHTML())});i.push("</span>");i.push("</div>");return i.join("")},focus:function(){var e=this;d.get(e.id).focus()},postRender:function(){var f=this,e=[];c(f.controls,function(g){c(g.controls,function(h){if(h.id){e.push(h)}})});f.keyNav=new b.ui.KeyboardNavigation({root:f.id,items:e,onCancel:function(){if(b.isWebKit){d.get(f.editor.id+"_ifr").focus()}f.editor.focus()},excludeFromTabOrder:!f.settings.tab_focus_toolbar})},destroy:function(){var e=this;e.parent();e.keyNav.destroy();a.clear(e.id)}})})(tinymce);(function(a){var c=a.DOM,b=a.each;a.create("tinymce.ui.Toolbar:tinymce.ui.Container",{renderHTML:function(){var m=this,f="",j,k,n=m.settings,e,d,g,l;l=m.controls;for(e=0;e<l.length;e++){k=l[e];d=l[e-1];g=l[e+1];if(e===0){j="mceToolbarStart";if(k.Button){j+=" mceToolbarStartButton"}else{if(k.SplitButton){j+=" mceToolbarStartSplitButton"}else{if(k.ListBox){j+=" mceToolbarStartListBox"}}}f+=c.createHTML("td",{"class":j},c.createHTML("span",null,"<!-- IE -->"))}if(d&&k.ListBox){if(d.Button||d.SplitButton){f+=c.createHTML("td",{"class":"mceToolbarEnd"},c.createHTML("span",null,"<!-- IE -->"))}}if(c.stdMode){f+='<td style="position: relative">'+k.renderHTML()+"</td>"}else{f+="<td>"+k.renderHTML()+"</td>"}if(g&&k.ListBox){if(g.Button||g.SplitButton){f+=c.createHTML("td",{"class":"mceToolbarStart"},c.createHTML("span",null,"<!-- IE -->"))}}}j="mceToolbarEnd";if(k.Button){j+=" mceToolbarEndButton"}else{if(k.SplitButton){j+=" mceToolbarEndSplitButton"}else{if(k.ListBox){j+=" mceToolbarEndListBox"}}}f+=c.createHTML("td",{"class":j},c.createHTML("span",null,"<!-- IE -->"));return c.createHTML("table",{id:m.id,"class":"mceToolbar"+(n["class"]?" "+n["class"]:""),cellpadding:"0",cellspacing:"0",align:m.settings.align||"",role:"presentation",tabindex:"-1"},"<tbody><tr>"+f+"</tr></tbody>")}})})(tinymce);(function(b){var a=b.util.Dispatcher,c=b.each;b.create("tinymce.AddOnManager",{AddOnManager:function(){var d=this;d.items=[];d.urls={};d.lookup={};d.onAdd=new a(d)},get:function(d){if(this.lookup[d]){return this.lookup[d].instance}else{return undefined}},dependencies:function(e){var d;if(this.lookup[e]){d=this.lookup[e].dependencies}return d||[]},requireLangPack:function(e){var d=b.settings;if(d&&d.language&&d.language_load!==false){b.ScriptLoader.add(this.urls[e]+"/langs/"+d.language+".js")}},add:function(f,e,d){this.items.push(e);this.lookup[f]={instance:e,dependencies:d};this.onAdd.dispatch(this,f,e);return e},createUrl:function(d,e){if(typeof e==="object"){return e}else{return{prefix:d.prefix,resource:e,suffix:d.suffix}}},addComponents:function(f,d){var e=this.urls[f];b.each(d,function(g){b.ScriptLoader.add(e+"/"+g)})},load:function(j,f,d,h){var g=this,e=f;function i(){var k=g.dependencies(j);b.each(k,function(m){var l=g.createUrl(f,m);g.load(l.resource,l,undefined,undefined)});if(d){if(h){d.call(h)}else{d.call(b.ScriptLoader)}}}if(g.urls[j]){return}if(typeof f==="object"){e=f.prefix+f.resource+f.suffix}if(e.indexOf("/")!==0&&e.indexOf("://")==-1){e=b.baseURL+"/"+e}g.urls[j]=e.substring(0,e.lastIndexOf("/"));if(g.lookup[j]){i()}else{b.ScriptLoader.add(e,i,h)}}});b.PluginManager=new b.AddOnManager();b.ThemeManager=new b.AddOnManager()}(tinymce));(function(j){var g=j.each,d=j.extend,k=j.DOM,i=j.dom.Event,f=j.ThemeManager,b=j.PluginManager,e=j.explode,h=j.util.Dispatcher,a,c=0;j.documentBaseURL=window.location.href.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,"");if(!/[\/\\]$/.test(j.documentBaseURL)){j.documentBaseURL+="/"}j.baseURL=new j.util.URI(j.documentBaseURL).toAbsolute(j.baseURL);j.baseURI=new j.util.URI(j.baseURL);j.onBeforeUnload=new h(j);i.add(window,"beforeunload",function(l){j.onBeforeUnload.dispatch(j,l)});j.onAddEditor=new h(j);j.onRemoveEditor=new h(j);j.EditorManager=d(j,{editors:[],i18n:{},activeEditor:null,init:function(x){var v=this,o,n=j.ScriptLoader,u,l=[],r;function q(t){var s=t.id;if(!s){s=t.name;if(s&&!k.get(s)){s=t.name}else{s=k.uniqueId()}t.setAttribute("id",s)}return s}function m(z,A,t){var y=z[A];if(!y){return}if(j.is(y,"string")){t=y.replace(/\.\w+$/,"");t=t?j.resolve(t):0;y=j.resolve(y)}return y.apply(t||this,Array.prototype.slice.call(arguments,2))}function p(t,s){return s.constructor===RegExp?s.test(t.className):k.hasClass(t,s)}v.settings=x;i.bind(window,"ready",function(){var s,t;m(x,"onpageload");switch(x.mode){case"exact":s=x.elements||"";if(s.length>0){g(e(s),function(y){if(k.get(y)){r=new j.Editor(y,x);l.push(r);r.render(1)}else{g(document.forms,function(z){g(z.elements,function(A){if(A.name===y){y="mce_editor_"+c++;k.setAttrib(A,"id",y);r=new j.Editor(y,x);l.push(r);r.render(1)}})})}})}break;case"textareas":case"specific_textareas":g(k.select("textarea"),function(y){if(x.editor_deselector&&p(y,x.editor_deselector)){return}if(!x.editor_selector||p(y,x.editor_selector)){r=new j.Editor(q(y),x);l.push(r);r.render(1)}});break;default:if(x.types){g(x.types,function(y){g(k.select(y.selector),function(A){var z=new j.Editor(q(A),j.extend({},x,y));l.push(z);z.render(1)})})}else{if(x.selector){g(k.select(x.selector),function(z){var y=new j.Editor(q(z),x);l.push(y);y.render(1)})}}}if(x.oninit){s=t=0;g(l,function(y){t++;if(!y.initialized){y.onInit.add(function(){s++;if(s==t){m(x,"oninit")}})}else{s++}if(s==t){m(x,"oninit")}})}})},get:function(l){if(l===a){return this.editors}if(!this.editors.hasOwnProperty(l)){return a}return this.editors[l]},getInstanceById:function(l){return this.get(l)},add:function(m){var l=this,n=l.editors;n[m.id]=m;n.push(m);l._setActive(m);l.onAddEditor.dispatch(l,m);return m},remove:function(n){var m=this,l,o=m.editors;if(!o[n.id]){return null}delete o[n.id];for(l=0;l<o.length;l++){if(o[l]==n){o.splice(l,1);break}}if(m.activeEditor==n){m._setActive(o[0])}n.destroy();m.onRemoveEditor.dispatch(m,n);return n},execCommand:function(r,p,o){var q=this,n=q.get(o),l;function m(){n.destroy();l.detachEvent("onunload",m);l=l.tinyMCE=l.tinymce=null}switch(r){case"mceFocus":n.focus();return true;case"mceAddEditor":case"mceAddControl":if(!q.get(o)){new j.Editor(o,q.settings).render()}return true;case"mceAddFrameControl":l=o.window;l.tinyMCE=tinyMCE;l.tinymce=j;j.DOM.doc=l.document;j.DOM.win=l;n=new j.Editor(o.element_id,o);n.render();if(j.isIE){l.attachEvent("onunload",m)}o.page_window=null;return true;case"mceRemoveEditor":case"mceRemoveControl":if(n){n.remove()}return true;case"mceToggleEditor":if(!n){q.execCommand("mceAddControl",0,o);return true}if(n.isHidden()){n.show()}else{n.hide()}return true}if(q.activeEditor){return q.activeEditor.execCommand(r,p,o)}return false},execInstanceCommand:function(p,o,n,m){var l=this.get(p);if(l){return l.execCommand(o,n,m)}return false},triggerSave:function(){g(this.editors,function(l){l.save()})},addI18n:function(n,q){var l,m=this.i18n;if(!j.is(n,"string")){g(n,function(r,p){g(r,function(t,s){g(t,function(v,u){if(s==="common"){m[p+"."+u]=v}else{m[p+"."+s+"."+u]=v}})})})}else{g(q,function(r,p){m[n+"."+p]=r})}},_setActive:function(l){this.selectedInstance=this.activeEditor=l}})})(tinymce);(function(k){var l=k.DOM,j=k.dom.Event,f=k.extend,i=k.each,a=k.isGecko,b=k.isIE,e=k.isWebKit,d=k.is,h=k.ThemeManager,c=k.PluginManager,g=k.explode;k.create("tinymce.Editor",{Editor:function(p,o){var m=this,n=true;m.settings=o=f({id:p,language:"en",theme:"advanced",skin:"default",delta_width:0,delta_height:0,popup_css:"",plugins:"",document_base_url:k.documentBaseURL,add_form_submit_trigger:n,submit_patch:n,add_unload_trigger:n,convert_urls:n,relative_urls:n,remove_script_host:n,table_inline_editing:false,object_resizing:n,accessibility_focus:n,doctype:k.isIE6?'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">':"<!DOCTYPE>",visual:n,font_size_style_values:"xx-small,x-small,small,medium,large,x-large,xx-large",font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",apply_source_formatting:n,directionality:"ltr",forced_root_block:"p",hidden_input:n,padd_empty_editor:n,render_ui:n,indentation:"30px",fix_table_elements:n,inline_styles:n,convert_fonts_to_spans:n,indent:"simple",indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,ul,li,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,ul,li,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist",validate:n,entity_encoding:"named",url_converter:m.convertURL,url_converter_scope:m,ie7_compat:n},o);m.id=m.editorId=p;m.isNotDirty=false;m.plugins={};m.documentBaseURI=new k.util.URI(o.document_base_url||k.documentBaseURL,{base_uri:tinyMCE.baseURI});m.baseURI=k.baseURI;m.contentCSS=[];m.contentStyles=[];m.setupEvents();m.execCommands={};m.queryStateCommands={};m.queryValueCommands={};m.execCallback("setup",m)},render:function(o){var p=this,q=p.settings,r=p.id,m=k.ScriptLoader;if(!j.domLoaded){j.add(window,"ready",function(){p.render()});return}tinyMCE.settings=q;if(!p.getElement()){return}if(k.isIDevice&&!k.isIOS5){return}if(!/TEXTAREA|INPUT/i.test(p.getElement().nodeName)&&q.hidden_input&&l.getParent(r,"form")){l.insertAfter(l.create("input",{type:"hidden",name:r}),r)}if(!q.content_editable){p.orgVisibility=p.getElement().style.visibility;p.getElement().style.visibility="hidden"}if(k.WindowManager){p.windowManager=new k.WindowManager(p)}if(q.encoding=="xml"){p.onGetContent.add(function(s,t){if(t.save){t.content=l.encode(t.content)}})}if(q.add_form_submit_trigger){p.onSubmit.addToTop(function(){if(p.initialized){p.save();p.isNotDirty=1}})}if(q.add_unload_trigger){p._beforeUnload=tinyMCE.onBeforeUnload.add(function(){if(p.initialized&&!p.destroyed&&!p.isHidden()){p.save({format:"raw",no_events:true})}})}k.addUnload(p.destroy,p);if(q.submit_patch){p.onBeforeRenderUI.add(function(){var s=p.getElement().form;if(!s){return}if(s._mceOldSubmit){return}if(!s.submit.nodeType&&!s.submit.length){p.formElement=s;s._mceOldSubmit=s.submit;s.submit=function(){k.triggerSave();p.isNotDirty=1;return p.formElement._mceOldSubmit(p.formElement)}}s=null})}function n(){if(q.language&&q.language_load!==false){m.add(k.baseURL+"/langs/"+q.language+".js")}if(q.theme&&typeof q.theme!="function"&&q.theme.charAt(0)!="-"&&!h.urls[q.theme]){h.load(q.theme,"themes/"+q.theme+"/editor_template"+k.suffix+".js")}i(g(q.plugins),function(t){if(t&&!c.urls[t]){if(t.charAt(0)=="-"){t=t.substr(1,t.length);var s=c.dependencies(t);i(s,function(v){var u={prefix:"plugins/",resource:v,suffix:"/editor_plugin"+k.suffix+".js"};v=c.createUrl(u,v);c.load(v.resource,v)})}else{if(t=="safari"){return}c.load(t,{prefix:"plugins/",resource:t,suffix:"/editor_plugin"+k.suffix+".js"})}}});m.loadQueue(function(){if(!p.removed){p.init()}})}n()},init:function(){var q,G=this,H=G.settings,D,y,z,C=G.getElement(),p,m,E,v,B,F,x,r=[];k.add(G);H.aria_label=H.aria_label||l.getAttrib(C,"aria-label",G.getLang("aria.rich_text_area"));if(H.theme){if(typeof H.theme!="function"){H.theme=H.theme.replace(/-/,"");p=h.get(H.theme);G.theme=new p();if(G.theme.init){G.theme.init(G,h.urls[H.theme]||k.documentBaseURL.replace(/\/$/,""))}}else{G.theme=H.theme}}function A(s){var t=c.get(s),o=c.urls[s]||k.documentBaseURL.replace(/\/$/,""),n;if(t&&k.inArray(r,s)===-1){i(c.dependencies(s),function(u){A(u)});n=new t(G,o);G.plugins[s]=n;if(n.init){n.init(G,o);r.push(s)}}}i(g(H.plugins.replace(/\-/g,"")),A);if(H.popup_css!==false){if(H.popup_css){H.popup_css=G.documentBaseURI.toAbsolute(H.popup_css)}else{H.popup_css=G.baseURI.toAbsolute("themes/"+H.theme+"/skins/"+H.skin+"/dialog.css")}}if(H.popup_css_add){H.popup_css+=","+G.documentBaseURI.toAbsolute(H.popup_css_add)}G.controlManager=new k.ControlManager(G);G.onBeforeRenderUI.dispatch(G,G.controlManager);if(H.render_ui&&G.theme){G.orgDisplay=C.style.display;if(typeof H.theme!="function"){D=H.width||C.style.width||C.offsetWidth;y=H.height||C.style.height||C.offsetHeight;z=H.min_height||100;F=/^[0-9\.]+(|px)$/i;if(F.test(""+D)){D=Math.max(parseInt(D,10)+(p.deltaWidth||0),100)}if(F.test(""+y)){y=Math.max(parseInt(y,10)+(p.deltaHeight||0),z)}p=G.theme.renderUI({targetNode:C,width:D,height:y,deltaWidth:H.delta_width,deltaHeight:H.delta_height});l.setStyles(p.sizeContainer||p.editorContainer,{width:D,height:y});y=(p.iframeHeight||y)+(typeof(y)=="number"?(p.deltaHeight||0):"");if(y<z){y=z}}else{p=H.theme(G,C);if(p.editorContainer.nodeType){p.editorContainer=p.editorContainer.id=p.editorContainer.id||G.id+"_parent"}if(p.iframeContainer.nodeType){p.iframeContainer=p.iframeContainer.id=p.iframeContainer.id||G.id+"_iframecontainer"}y=p.iframeHeight||C.offsetHeight;if(b){G.onInit.add(function(n){n.dom.bind(n.getBody(),"beforedeactivate keydown",function(){n.lastIERng=n.selection.getRng()})})}}G.editorContainer=p.editorContainer}if(H.content_css){i(g(H.content_css),function(n){G.contentCSS.push(G.documentBaseURI.toAbsolute(n))})}if(H.content_style){G.contentStyles.push(H.content_style)}if(H.content_editable){C=q=p=null;return G.initContentBody()}if(document.domain&&location.hostname!=document.domain){k.relaxedDomain=document.domain}G.iframeHTML=H.doctype+'<html><head xmlns="http://www.w3.org/1999/xhtml">';if(H.document_base_url!=k.documentBaseURL){G.iframeHTML+='<base href="'+G.documentBaseURI.getURI()+'" />'}if(H.ie7_compat){G.iframeHTML+='<meta http-equiv="X-UA-Compatible" content="IE=7" />'}else{G.iframeHTML+='<meta http-equiv="X-UA-Compatible" content="IE=edge" />'}G.iframeHTML+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';for(x=0;x<G.contentCSS.length;x++){G.iframeHTML+='<link type="text/css" rel="stylesheet" href="'+G.contentCSS[x]+'" />'}G.contentCSS=[];v=H.body_id||"tinymce";if(v.indexOf("=")!=-1){v=G.getParam("body_id","","hash");v=v[G.id]||v}B=H.body_class||"";if(B.indexOf("=")!=-1){B=G.getParam("body_class","","hash");B=B[G.id]||""}G.iframeHTML+='</head><body id="'+v+'" class="mceContentBody '+B+'" onload="window.parent.tinyMCE.get(\''+G.id+"').onLoad.dispatch();\"><br></body></html>";if(k.relaxedDomain&&(b||(k.isOpera&&parseFloat(opera.version())<11))){E='javascript:(function(){document.open();document.domain="'+document.domain+'";var ed = window.parent.tinyMCE.get("'+G.id+'");document.write(ed.iframeHTML);document.close();ed.initContentBody();})()'}q=l.add(p.iframeContainer,"iframe",{id:G.id+"_ifr",src:E||'javascript:""',frameBorder:"0",allowTransparency:"true",title:H.aria_label,style:{width:"100%",height:y,display:"block"}});G.contentAreaContainer=p.iframeContainer;if(p.editorContainer){l.get(p.editorContainer).style.display=G.orgDisplay}C.style.visibility=G.orgVisibility;l.get(G.id).style.display="none";l.setAttrib(G.id,"aria-hidden",true);if(!k.relaxedDomain||!E){G.initContentBody()}C=q=p=null},initContentBody:function(){var n=this,p=n.settings,q=l.get(n.id),r=n.getDoc(),o,m,s;if((!b||!k.relaxedDomain)&&!p.content_editable){r.open();r.write(n.iframeHTML);r.close();if(k.relaxedDomain){r.domain=k.relaxedDomain}}if(p.content_editable){l.addClass(q,"mceContentBody");n.contentDocument=r=p.content_document||document;n.contentWindow=p.content_window||window;n.bodyElement=q;p.content_document=p.content_window=null}m=n.getBody();m.disabled=true;if(!p.readonly){m.contentEditable=n.getParam("content_editable_state",true)}m.disabled=false;n.schema=new k.html.Schema(p);n.dom=new k.dom.DOMUtils(r,{keep_values:true,url_converter:n.convertURL,url_converter_scope:n,hex_colors:p.force_hex_style_colors,class_filter:p.class_filter,update_styles:true,root_element:p.content_editable?n.id:null,schema:n.schema});n.parser=new k.html.DomParser(p,n.schema);n.parser.addAttributeFilter("src,href,style",function(t,u){var v=t.length,y,A=n.dom,z,x;while(v--){y=t[v];z=y.attr(u);x="data-mce-"+u;if(!y.attributes.map[x]){if(u==="style"){y.attr(x,A.serializeStyle(A.parseStyle(z),y.name))}else{y.attr(x,n.convertURL(z,u,y.name))}}}});n.parser.addNodeFilter("script",function(t,u){var v=t.length,x;while(v--){x=t[v];x.attr("type","mce-"+(x.attr("type")||"text/javascript"))}});n.parser.addNodeFilter("#cdata",function(t,u){var v=t.length,x;while(v--){x=t[v];x.type=8;x.name="#comment";x.value="[CDATA["+x.value+"]]"}});n.parser.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",function(u,v){var x=u.length,y,t=n.schema.getNonEmptyElements();while(x--){y=u[x];if(y.isEmpty(t)){y.empty().append(new k.html.Node("br",1)).shortEnded=true}}});n.serializer=new k.dom.Serializer(p,n.dom,n.schema);n.selection=new k.dom.Selection(n.dom,n.getWin(),n.serializer,n);n.formatter=new k.Formatter(n);n.undoManager=new k.UndoManager(n);n.forceBlocks=new k.ForceBlocks(n);n.enterKey=new k.EnterKey(n);n.editorCommands=new k.EditorCommands(n);n.onExecCommand.add(function(t,u){if(!/^(FontName|FontSize)$/.test(u)){n.nodeChanged()}});n.serializer.onPreProcess.add(function(t,u){return n.onPreProcess.dispatch(n,u,t)});n.serializer.onPostProcess.add(function(t,u){return n.onPostProcess.dispatch(n,u,t)});n.onPreInit.dispatch(n);if(!p.browser_spellcheck&&!p.gecko_spellcheck){r.body.spellcheck=false}if(!p.readonly){n.bindNativeEvents()}n.controlManager.onPostRender.dispatch(n,n.controlManager);n.onPostRender.dispatch(n);n.quirks=k.util.Quirks(n);if(p.directionality){m.dir=p.directionality}if(p.nowrap){m.style.whiteSpace="nowrap"}if(p.protect){n.onBeforeSetContent.add(function(t,u){i(p.protect,function(v){u.content=u.content.replace(v,function(x){return"<!--mce:protected "+escape(x)+"-->"})})})}n.onSetContent.add(function(){n.addVisual(n.getBody())});if(p.padd_empty_editor){n.onPostProcess.add(function(t,u){u.content=u.content.replace(/^(<p[^>]*>(&nbsp;|&#160;|\s|\u00a0|)<\/p>[\r\n]*|<br \/>[\r\n]*)$/,"")})}n.load({initial:true,format:"html"});n.startContent=n.getContent({format:"raw"});n.initialized=true;n.onInit.dispatch(n);n.execCallback("setupcontent_callback",n.id,m,r);n.execCallback("init_instance_callback",n);n.focus(true);n.nodeChanged({initial:true});if(n.contentStyles.length>0){s="";i(n.contentStyles,function(t){s+=t+"\r\n"});n.dom.addStyle(s)}i(n.contentCSS,function(t){n.dom.loadCSS(t)});if(p.auto_focus){setTimeout(function(){var t=k.get(p.auto_focus);t.selection.select(t.getBody(),1);t.selection.collapse(1);t.getBody().focus();t.getWin().focus()},100)}q=r=m=null},focus:function(p){var o,u=this,t=u.selection,q=u.settings.content_editable,n,r,s=u.getDoc(),m;if(!p){if(u.lastIERng){t.setRng(u.lastIERng)}n=t.getRng();if(n.item){r=n.item(0)}u._refreshContentEditable();if(!q){u.getWin().focus()}if(k.isGecko||q){m=u.getBody();if(m.setActive){m.setActive()}else{m.focus()}if(q){t.normalize()}}if(r&&r.ownerDocument==s){n=s.body.createControlRange();n.addElement(r);n.select()}}if(k.activeEditor!=u){if((o=k.activeEditor)!=null){o.onDeactivate.dispatch(o,u)}u.onActivate.dispatch(u,o)}k._setActive(u)},execCallback:function(q){var m=this,p=m.settings[q],o;if(!p){return}if(m.callbackLookup&&(o=m.callbackLookup[q])){p=o.func;o=o.scope}if(d(p,"string")){o=p.replace(/\.\w+$/,"");o=o?k.resolve(o):0;p=k.resolve(p);m.callbackLookup=m.callbackLookup||{};m.callbackLookup[q]={func:p,scope:o}}return p.apply(o||m,Array.prototype.slice.call(arguments,1))},translate:function(m){var o=this.settings.language||"en",n=k.i18n;if(!m){return""}return n[o+"."+m]||m.replace(/\{\#([^\}]+)\}/g,function(q,p){return n[o+"."+p]||"{#"+p+"}"})},getLang:function(o,m){return k.i18n[(this.settings.language||"en")+"."+o]||(d(m)?m:"{#"+o+"}")},getParam:function(t,q,m){var r=k.trim,p=d(this.settings[t])?this.settings[t]:q,s;if(m==="hash"){s={};if(d(p,"string")){i(p.indexOf("=")>0?p.split(/[;,](?![^=;,]*(?:[;,]|$))/):p.split(","),function(n){n=n.split("=");if(n.length>1){s[r(n[0])]=r(n[1])}else{s[r(n[0])]=r(n)}})}else{s=p}return s}return p},nodeChanged:function(q){var m=this,n=m.selection,p;if(m.initialized){q=q||{};p=n.getStart()||m.getBody();p=b&&p.ownerDocument!=m.getDoc()?m.getBody():p;q.parents=[];m.dom.getParent(p,function(o){if(o.nodeName=="BODY"){return true}q.parents.push(o)});m.onNodeChange.dispatch(m,q?q.controlManager||m.controlManager:m.controlManager,p,n.isCollapsed(),q)}},addButton:function(n,o){var m=this;m.buttons=m.buttons||{};m.buttons[n]=o},addCommand:function(m,o,n){this.execCommands[m]={func:o,scope:n||this}},addQueryStateHandler:function(m,o,n){this.queryStateCommands[m]={func:o,scope:n||this}},addQueryValueHandler:function(m,o,n){this.queryValueCommands[m]={func:o,scope:n||this}},addShortcut:function(o,q,m,p){var n=this,r;if(n.settings.custom_shortcuts===false){return false}n.shortcuts=n.shortcuts||{};if(d(m,"string")){r=m;m=function(){n.execCommand(r,false,null)}}if(d(m,"object")){r=m;m=function(){n.execCommand(r[0],r[1],r[2])}}i(g(o),function(s){var t={func:m,scope:p||this,desc:n.translate(q),alt:false,ctrl:false,shift:false};i(g(s,"+"),function(u){switch(u){case"alt":case"ctrl":case"shift":t[u]=true;break;default:t.charCode=u.charCodeAt(0);t.keyCode=u.toUpperCase().charCodeAt(0)}});n.shortcuts[(t.ctrl?"ctrl":"")+","+(t.alt?"alt":"")+","+(t.shift?"shift":"")+","+t.keyCode]=t});return true},execCommand:function(u,r,x,m){var p=this,q=0,v,n;if(!/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint|SelectAll)$/.test(u)&&(!m||!m.skip_focus)){p.focus()}m=f({},m);p.onBeforeExecCommand.dispatch(p,u,r,x,m);if(m.terminate){return false}if(p.execCallback("execcommand_callback",p.id,p.selection.getNode(),u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);return true}if(v=p.execCommands[u]){n=v.func.call(v.scope,r,x);if(n!==true){p.onExecCommand.dispatch(p,u,r,x,m);return n}}i(p.plugins,function(o){if(o.execCommand&&o.execCommand(u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);q=1;return false}});if(q){return true}if(p.theme&&p.theme.execCommand&&p.theme.execCommand(u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);return true}if(p.editorCommands.execCommand(u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);return true}p.getDoc().execCommand(u,r,x);p.onExecCommand.dispatch(p,u,r,x,m)},queryCommandState:function(q){var n=this,r,p;if(n._isHidden()){return}if(r=n.queryStateCommands[q]){p=r.func.call(r.scope);if(p!==true){return p}}r=n.editorCommands.queryCommandState(q);if(r!==-1){return r}try{return this.getDoc().queryCommandState(q)}catch(m){}},queryCommandValue:function(r){var n=this,q,p;if(n._isHidden()){return}if(q=n.queryValueCommands[r]){p=q.func.call(q.scope);if(p!==true){return p}}q=n.editorCommands.queryCommandValue(r);if(d(q)){return q}try{return this.getDoc().queryCommandValue(r)}catch(m){}},show:function(){var m=this;l.show(m.getContainer());l.hide(m.id);m.load()},hide:function(){var m=this,n=m.getDoc();if(b&&n){n.execCommand("SelectAll")}m.save();setTimeout(function(){l.hide(m.getContainer())},1);l.setStyle(m.id,"display",m.orgDisplay)},isHidden:function(){return !l.isHidden(this.id)},setProgressState:function(m,n,p){this.onSetProgressState.dispatch(this,m,n,p);return m},load:function(q){var m=this,p=m.getElement(),n;if(p){q=q||{};q.load=true;n=m.setContent(d(p.value)?p.value:p.innerHTML,q);q.element=p;if(!q.no_events){m.onLoadContent.dispatch(m,q)}q.element=p=null;return n}},save:function(r){var m=this,q=m.getElement(),n,p;if(!q||!m.initialized){return}r=r||{};r.save=true;r.element=q;n=r.content=m.getContent(r);if(!r.no_events){m.onSaveContent.dispatch(m,r)}n=r.content;if(!/TEXTAREA|INPUT/i.test(q.nodeName)){q.innerHTML=n;if(p=l.getParent(m.id,"form")){i(p.elements,function(o){if(o.name==m.id){o.value=n;return false}})}}else{q.value=n}r.element=q=null;return n},setContent:function(r,p){var o=this,n,m=o.getBody(),q;p=p||{};p.format=p.format||"html";p.set=true;p.content=r;if(!p.no_events){o.onBeforeSetContent.dispatch(o,p)}r=p.content;if(!k.isIE&&(r.length===0||/^\s+$/.test(r))){q=o.settings.forced_root_block;if(q){r="<"+q+'><br data-mce-bogus="1"></'+q+">"}else{r='<br data-mce-bogus="1">'}m.innerHTML=r;o.selection.select(m,true);o.selection.collapse(true);return}if(p.format!=="raw"){r=new k.html.Serializer({},o.schema).serialize(o.parser.parse(r))}p.content=k.trim(r);o.dom.setHTML(m,p.content);if(!p.no_events){o.onSetContent.dispatch(o,p)}if(!o.settings.content_editable||document.activeElement===o.getBody()){o.selection.normalize()}return p.content},getContent:function(o){var n=this,p,m=n.getBody();o=o||{};o.format=o.format||"html";o.get=true;o.getInner=true;if(!o.no_events){n.onBeforeGetContent.dispatch(n,o)}if(o.format=="raw"){p=m.innerHTML}else{if(o.format=="text"){p=m.innerText||m.textContent}else{p=n.serializer.serialize(m,o)}}if(o.format!="text"){o.content=k.trim(p)}else{o.content=p}if(!o.no_events){n.onGetContent.dispatch(n,o)}return o.content},isDirty:function(){var m=this;return k.trim(m.startContent)!=k.trim(m.getContent({format:"raw",no_events:1}))&&!m.isNotDirty},getContainer:function(){var m=this;if(!m.container){m.container=l.get(m.editorContainer||m.id+"_parent")}return m.container},getContentAreaContainer:function(){return this.contentAreaContainer},getElement:function(){return l.get(this.settings.content_element||this.id)},getWin:function(){var m=this,n;if(!m.contentWindow){n=l.get(m.id+"_ifr");if(n){m.contentWindow=n.contentWindow}}return m.contentWindow},getDoc:function(){var m=this,n;if(!m.contentDocument){n=m.getWin();if(n){m.contentDocument=n.document}}return m.contentDocument},getBody:function(){return this.bodyElement||this.getDoc().body},convertURL:function(o,n,q){var m=this,p=m.settings;if(p.urlconverter_callback){return m.execCallback("urlconverter_callback",o,q,true,n)}if(!p.convert_urls||(q&&q.nodeName=="LINK")||o.indexOf("file:")===0){return o}if(p.relative_urls){return m.documentBaseURI.toRelative(o)}o=m.documentBaseURI.toAbsolute(o,p.remove_script_host);return o},addVisual:function(q){var n=this,o=n.settings,p=n.dom,m;q=q||n.getBody();if(!d(n.hasVisual)){n.hasVisual=o.visual}i(p.select("table,a",q),function(s){var r;switch(s.nodeName){case"TABLE":m=o.visual_table_class||"mceItemTable";r=p.getAttrib(s,"border");if(!r||r=="0"){if(n.hasVisual){p.addClass(s,m)}else{p.removeClass(s,m)}}return;case"A":if(!p.getAttrib(s,"href",false)){r=p.getAttrib(s,"name")||s.id;m="mceItemAnchor";if(r){if(n.hasVisual){p.addClass(s,m)}else{p.removeClass(s,m)}}}return}});n.onVisualAid.dispatch(n,q,n.hasVisual)},remove:function(){var m=this,n=m.getContainer();if(!m.removed){m.removed=1;m.hide();if(!m.settings.content_editable){j.unbind(m.getWin());j.unbind(m.getDoc())}j.unbind(m.getBody());j.clear(n);m.execCallback("remove_instance_callback",m);m.onRemove.dispatch(m);m.onExecCommand.listeners=[];k.remove(m);l.remove(n)}},destroy:function(n){var m=this;if(m.destroyed){return}if(a){j.unbind(m.getDoc());j.unbind(m.getWin());j.unbind(m.getBody())}if(!n){k.removeUnload(m.destroy);tinyMCE.onBeforeUnload.remove(m._beforeUnload);if(m.theme&&m.theme.destroy){m.theme.destroy()}m.controlManager.destroy();m.selection.destroy();m.dom.destroy()}if(m.formElement){m.formElement.submit=m.formElement._mceOldSubmit;m.formElement._mceOldSubmit=null}m.contentAreaContainer=m.formElement=m.container=m.settings.content_element=m.bodyElement=m.contentDocument=m.contentWindow=null;if(m.selection){m.selection=m.selection.win=m.selection.dom=m.selection.dom.doc=null}m.destroyed=1},_refreshContentEditable:function(){var n=this,m,o;if(n._isHidden()){m=n.getBody();o=m.parentNode;o.removeChild(m);o.appendChild(m);m.focus()}},_isHidden:function(){var m;if(!a){return 0}m=this.selection.getSel();return(!m||!m.rangeCount||m.rangeCount===0)}})})(tinymce);(function(a){var b=a.each;a.Editor.prototype.setupEvents=function(){var c=this,d=c.settings;b(["onPreInit","onBeforeRenderUI","onPostRender","onLoad","onInit","onRemove","onActivate","onDeactivate","onClick","onEvent","onMouseUp","onMouseDown","onDblClick","onKeyDown","onKeyUp","onKeyPress","onContextMenu","onSubmit","onReset","onPaste","onPreProcess","onPostProcess","onBeforeSetContent","onBeforeGetContent","onSetContent","onGetContent","onLoadContent","onSaveContent","onNodeChange","onChange","onBeforeExecCommand","onExecCommand","onUndo","onRedo","onVisualAid","onSetProgressState","onSetAttrib"],function(e){c[e]=new a.util.Dispatcher(c)});if(d.cleanup_callback){c.onBeforeSetContent.add(function(e,f){f.content=e.execCallback("cleanup_callback","insert_to_editor",f.content,f)});c.onPreProcess.add(function(e,f){if(f.set){e.execCallback("cleanup_callback","insert_to_editor_dom",f.node,f)}if(f.get){e.execCallback("cleanup_callback","get_from_editor_dom",f.node,f)}});c.onPostProcess.add(function(e,f){if(f.set){f.content=e.execCallback("cleanup_callback","insert_to_editor",f.content,f)}if(f.get){f.content=e.execCallback("cleanup_callback","get_from_editor",f.content,f)}})}if(d.save_callback){c.onGetContent.add(function(e,f){if(f.save){f.content=e.execCallback("save_callback",e.id,f.content,e.getBody())}})}if(d.handle_event_callback){c.onEvent.add(function(f,g,h){if(c.execCallback("handle_event_callback",g,f,h)===false){g.preventDefault();g.stopPropagation()}})}if(d.handle_node_change_callback){c.onNodeChange.add(function(f,e,g){f.execCallback("handle_node_change_callback",f.id,g,-1,-1,true,f.selection.isCollapsed())})}if(d.save_callback){c.onSaveContent.add(function(e,g){var f=e.execCallback("save_callback",e.id,g.content,e.getBody());if(f){g.content=f}})}if(d.onchange_callback){c.onChange.add(function(f,e){f.execCallback("onchange_callback",f,e)})}};a.Editor.prototype.bindNativeEvents=function(){var l=this,f,d=l.settings,e=l.dom,h;h={mouseup:"onMouseUp",mousedown:"onMouseDown",click:"onClick",keyup:"onKeyUp",keydown:"onKeyDown",keypress:"onKeyPress",submit:"onSubmit",reset:"onReset",contextmenu:"onContextMenu",dblclick:"onDblClick",paste:"onPaste"};function c(i,m){var n=i.type;if(l.removed){return}if(l.onEvent.dispatch(l,i,m)!==false){l[h[i.fakeType||i.type]].dispatch(l,i,m)}}function j(i){l.focus(true)}function k(i,m){if(m.keyCode!=65||!a.VK.metaKeyPressed(m)){l.selection.normalize()}l.nodeChanged()}b(h,function(m,n){var i=d.content_editable?l.getBody():l.getDoc();switch(n){case"contextmenu":e.bind(i,n,c);break;case"paste":e.bind(l.getBody(),n,c);break;case"submit":case"reset":e.bind(l.getElement().form||a.DOM.getParent(l.id,"form"),n,c);break;default:e.bind(i,n,c)}});e.bind(d.content_editable?l.getBody():(a.isGecko?l.getDoc():l.getWin()),"focus",function(i){l.focus(true)});if(d.content_editable&&a.isOpera){e.bind(l.getBody(),"click",j);e.bind(l.getBody(),"keydown",j)}l.onMouseUp.add(k);l.onKeyUp.add(function(i,n){var m=n.keyCode;if((m>=33&&m<=36)||(m>=37&&m<=40)||m==13||m==45||m==46||m==8||(a.isMac&&(m==91||m==93))||n.ctrlKey){k(i,n)}});l.onReset.add(function(){l.setContent(l.startContent,{format:"raw"})});function g(m,i){if(m.altKey||m.ctrlKey||m.metaKey){b(l.shortcuts,function(n){var o=a.isMac?m.metaKey:m.ctrlKey;if(n.ctrl!=o||n.alt!=m.altKey||n.shift!=m.shiftKey){return}if(m.keyCode==n.keyCode||(m.charCode&&m.charCode==n.charCode)){m.preventDefault();if(i){n.func.call(n.scope)}return true}})}}l.onKeyUp.add(function(i,m){g(m)});l.onKeyPress.add(function(i,m){g(m)});l.onKeyDown.add(function(i,m){g(m,true)});if(a.isOpera){l.onClick.add(function(i,m){m.preventDefault()})}}})(tinymce);(function(d){var e=d.each,b,a=true,c=false;d.EditorCommands=function(n){var m=n.dom,p=n.selection,j={state:{},exec:{},value:{}},k=n.settings,q=n.formatter,o;function r(z,y,x){var v;z=z.toLowerCase();if(v=j.exec[z]){v(z,y,x);return a}return c}function l(x){var v;x=x.toLowerCase();if(v=j.state[x]){return v(x)}return -1}function h(x){var v;x=x.toLowerCase();if(v=j.value[x]){return v(x)}return c}function u(v,x){x=x||"exec";e(v,function(z,y){e(y.toLowerCase().split(","),function(A){j[x][A]=z})})}d.extend(this,{execCommand:r,queryCommandState:l,queryCommandValue:h,addCommands:u});function f(y,x,v){if(x===b){x=c}if(v===b){v=null}return n.getDoc().execCommand(y,x,v)}function t(v){return q.match(v)}function s(v,x){q.toggle(v,x?{value:x}:b)}function i(v){o=p.getBookmark(v)}function g(){p.moveToBookmark(o)}u({"mceResetDesignMode,mceBeginUndoLevel":function(){},"mceEndUndoLevel,mceAddUndoLevel":function(){n.undoManager.add()},"Cut,Copy,Paste":function(z){var y=n.getDoc(),v;try{f(z)}catch(x){v=a}if(v||!y.queryCommandSupported(z)){if(d.isGecko){n.windowManager.confirm(n.getLang("clipboard_msg"),function(A){if(A){open("http://www.mozilla.org/editor/midasdemo/securityprefs.html","_blank")}})}else{n.windowManager.alert(n.getLang("clipboard_no_support"))}}},unlink:function(v){if(p.isCollapsed()){p.select(p.getNode())}f(v);p.collapse(c)},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(v){var x=v.substring(7);e("left,center,right,full".split(","),function(y){if(x!=y){q.remove("align"+y)}});s("align"+x);r("mceRepaint")},"InsertUnorderedList,InsertOrderedList":function(y){var v,x;f(y);v=m.getParent(p.getNode(),"ol,ul");if(v){x=v.parentNode;if(/^(H[1-6]|P|ADDRESS|PRE)$/.test(x.nodeName)){i();m.split(x,v);g()}}},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(v){s(v)},"ForeColor,HiliteColor,FontName":function(y,x,v){s(y,v)},FontSize:function(z,y,x){var v,A;if(x>=1&&x<=7){A=d.explode(k.font_size_style_values);v=d.explode(k.font_size_classes);if(v){x=v[x-1]||x}else{x=A[x-1]||x}}s(z,x)},RemoveFormat:function(v){q.remove(v)},mceBlockQuote:function(v){s("blockquote")},FormatBlock:function(y,x,v){return s(v||"p")},mceCleanup:function(){var v=p.getBookmark();n.setContent(n.getContent({cleanup:a}),{cleanup:a});p.moveToBookmark(v)},mceRemoveNode:function(z,y,x){var v=x||p.getNode();if(v!=n.getBody()){i();n.dom.remove(v,a);g()}},mceSelectNodeDepth:function(z,y,x){var v=0;m.getParent(p.getNode(),function(A){if(A.nodeType==1&&v++==x){p.select(A);return c}},n.getBody())},mceSelectNode:function(y,x,v){p.select(v)},mceInsertContent:function(B,I,K){var y,J,E,z,F,G,D,C,L,x,A,M,v,H;y=n.parser;J=new d.html.Serializer({},n.schema);v='<span id="mce_marker" data-mce-type="bookmark">\uFEFF</span>';G={content:K,format:"html"};p.onBeforeSetContent.dispatch(p,G);K=G.content;if(K.indexOf("{$caret}")==-1){K+="{$caret}"}K=K.replace(/\{\$caret\}/,v);if(!p.isCollapsed()){n.getDoc().execCommand("Delete",false,null)}E=p.getNode();G={context:E.nodeName.toLowerCase()};F=y.parse(K,G);A=F.lastChild;if(A.attr("id")=="mce_marker"){D=A;for(A=A.prev;A;A=A.walk(true)){if(A.type==3||!m.isBlock(A.name)){A.parent.insert(D,A,A.name==="br");break}}}if(!G.invalid){K=J.serialize(F);A=E.firstChild;M=E.lastChild;if(!A||(A===M&&A.nodeName==="BR")){m.setHTML(E,K)}else{p.setContent(K)}}else{p.setContent(v);E=p.getNode();z=n.getBody();if(E.nodeType==9){E=A=z}else{A=E}while(A!==z){E=A;A=A.parentNode}K=E==z?z.innerHTML:m.getOuterHTML(E);K=J.serialize(y.parse(K.replace(/<span (id="mce_marker"|id=mce_marker).+?<\/span>/i,function(){return J.serialize(F)})));if(E==z){m.setHTML(z,K)}else{m.setOuterHTML(E,K)}}D=m.get("mce_marker");C=m.getRect(D);L=m.getViewPort(n.getWin());if((C.y+C.h>L.y+L.h||C.y<L.y)||(C.x>L.x+L.w||C.x<L.x)){H=d.isIE?n.getDoc().documentElement:n.getBody();H.scrollLeft=C.x;H.scrollTop=C.y-L.h+25}x=m.createRng();A=D.previousSibling;if(A&&A.nodeType==3){x.setStart(A,A.nodeValue.length)}else{x.setStartBefore(D);x.setEndBefore(D)}m.remove(D);p.setRng(x);p.onSetContent.dispatch(p,G);n.addVisual()},mceInsertRawHTML:function(y,x,v){p.setContent("tiny_mce_marker");n.setContent(n.getContent().replace(/tiny_mce_marker/g,function(){return v}))},mceToggleFormat:function(y,x,v){s(v)},mceSetContent:function(y,x,v){n.setContent(v)},"Indent,Outdent":function(z){var x,v,y;x=k.indentation;v=/[a-z%]+$/i.exec(x);x=parseInt(x);if(!l("InsertUnorderedList")&&!l("InsertOrderedList")){if(!k.forced_root_block&&!m.getParent(p.getNode(),m.isBlock)){q.apply("div")}e(p.getSelectedBlocks(),function(A){if(z=="outdent"){y=Math.max(0,parseInt(A.style.paddingLeft||0)-x);m.setStyle(A,"paddingLeft",y?y+v:"")}else{m.setStyle(A,"paddingLeft",(parseInt(A.style.paddingLeft||0)+x)+v)}})}else{f(z)}},mceRepaint:function(){var x;if(d.isGecko){try{i(a);if(p.getSel()){p.getSel().selectAllChildren(n.getBody())}p.collapse(a);g()}catch(v){}}},mceToggleFormat:function(y,x,v){q.toggle(v)},InsertHorizontalRule:function(){n.execCommand("mceInsertContent",false,"<hr />")},mceToggleVisualAid:function(){n.hasVisual=!n.hasVisual;n.addVisual()},mceReplaceContent:function(y,x,v){n.execCommand("mceInsertContent",false,v.replace(/\{\$selection\}/g,p.getContent({format:"text"})))},mceInsertLink:function(z,y,x){var v;if(typeof(x)=="string"){x={href:x}}v=m.getParent(p.getNode(),"a");x.href=x.href.replace(" ","%20");if(!v||!x.href){q.remove("link")}if(x.href){q.apply("link",x,v)}},selectAll:function(){var x=m.getRoot(),v=m.createRng();if(p.getRng().setStart){v.setStart(x,0);v.setEnd(x,x.childNodes.length);p.setRng(v)}else{f("SelectAll")}}});u({"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(z){var x="align"+z.substring(7);var v=p.isCollapsed()?[m.getParent(p.getNode(),m.isBlock)]:p.getSelectedBlocks();var y=d.map(v,function(A){return !!q.matchNode(A,x)});return d.inArray(y,a)!==-1},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(v){return t(v)},mceBlockQuote:function(){return t("blockquote")},Outdent:function(){var v;if(k.inline_styles){if((v=m.getParent(p.getStart(),m.isBlock))&&parseInt(v.style.paddingLeft)>0){return a}if((v=m.getParent(p.getEnd(),m.isBlock))&&parseInt(v.style.paddingLeft)>0){return a}}return l("InsertUnorderedList")||l("InsertOrderedList")||(!k.inline_styles&&!!m.getParent(p.getNode(),"BLOCKQUOTE"))},"InsertUnorderedList,InsertOrderedList":function(x){var v=m.getParent(p.getNode(),"ul,ol");return v&&(x==="insertunorderedlist"&&v.tagName==="UL"||x==="insertorderedlist"&&v.tagName==="OL")}},"state");u({"FontSize,FontName":function(y){var x=0,v;if(v=m.getParent(p.getNode(),"span")){if(y=="fontsize"){x=v.style.fontSize}else{x=v.style.fontFamily.replace(/, /g,",").replace(/[\'\"]/g,"").toLowerCase()}}return x}},"value");u({Undo:function(){n.undoManager.undo()},Redo:function(){n.undoManager.redo()}})}})(tinymce);(function(b){var a=b.util.Dispatcher;b.UndoManager=function(h){var l,i=0,e=[],g,k,j,f;function c(){return b.trim(h.getContent({format:"raw",no_events:1}).replace(/<span[^>]+data-mce-bogus[^>]+>[\u200B\uFEFF]+<\/span>/g,""))}function d(){l.typing=false;l.add()}onBeforeAdd=new a(l);k=new a(l);j=new a(l);f=new a(l);k.add(function(m,n){if(m.hasUndo()){return h.onChange.dispatch(h,n,m)}});j.add(function(m,n){return h.onUndo.dispatch(h,n,m)});f.add(function(m,n){return h.onRedo.dispatch(h,n,m)});h.onInit.add(function(){l.add()});h.onBeforeExecCommand.add(function(m,p,o,q,n){if(p!="Undo"&&p!="Redo"&&p!="mceRepaint"&&(!n||!n.skip_undo)){l.beforeChange()}});h.onExecCommand.add(function(m,p,o,q,n){if(p!="Undo"&&p!="Redo"&&p!="mceRepaint"&&(!n||!n.skip_undo)){l.add()}});h.onSaveContent.add(d);h.dom.bind(h.dom.getRoot(),"dragend",d);h.dom.bind(h.getDoc(),b.isGecko?"blur":"focusout",function(m){if(!h.removed&&l.typing){d()}});h.onKeyUp.add(function(m,o){var n=o.keyCode;if((n>=33&&n<=36)||(n>=37&&n<=40)||n==45||n==13||o.ctrlKey){d()}});h.onKeyDown.add(function(m,o){var n=o.keyCode;if((n>=33&&n<=36)||(n>=37&&n<=40)||n==45){if(l.typing){d()}return}if((n<16||n>20)&&n!=224&&n!=91&&!l.typing){l.beforeChange();l.typing=true;l.add()}});h.onMouseDown.add(function(m,n){if(l.typing){d()}});h.addShortcut("ctrl+z","undo_desc","Undo");h.addShortcut("ctrl+y","redo_desc","Redo");l={data:e,typing:false,onBeforeAdd:onBeforeAdd,onAdd:k,onUndo:j,onRedo:f,beforeChange:function(){g=h.selection.getBookmark(2,true)},add:function(p){var m,n=h.settings,o;p=p||{};p.content=c();l.onBeforeAdd.dispatch(l,p);o=e[i];if(o&&o.content==p.content){return null}if(e[i]){e[i].beforeBookmark=g}if(n.custom_undo_redo_levels){if(e.length>n.custom_undo_redo_levels){for(m=0;m<e.length-1;m++){e[m]=e[m+1]}e.length--;i=e.length}}p.bookmark=h.selection.getBookmark(2,true);if(i<e.length-1){e.length=i+1}e.push(p);i=e.length-1;l.onAdd.dispatch(l,p);h.isNotDirty=0;return p},undo:function(){var n,m;if(l.typing){l.add();l.typing=false}if(i>0){n=e[--i];h.setContent(n.content,{format:"raw"});h.selection.moveToBookmark(n.beforeBookmark);l.onUndo.dispatch(l,n)}return n},redo:function(){var m;if(i<e.length-1){m=e[++i];h.setContent(m.content,{format:"raw"});h.selection.moveToBookmark(m.bookmark);l.onRedo.dispatch(l,m)}return m},clear:function(){e=[];i=0;l.typing=false},hasUndo:function(){return i>0||this.typing},hasRedo:function(){return i<e.length-1&&!this.typing}};return l}})(tinymce);tinymce.ForceBlocks=function(c){var b=c.settings,e=c.dom,a=c.selection,d=c.schema.getBlockElements();function f(){var j=a.getStart(),h=c.getBody(),g,k,o,s,q,i,l,m=-16777215,p,r;if(!j||j.nodeType!==1||!b.forced_root_block){return}while(j&&j!=h){if(d[j.nodeName]){return}j=j.parentNode}g=a.getRng();if(g.setStart){k=g.startContainer;o=g.startOffset;s=g.endContainer;q=g.endOffset}else{if(g.item){j=g.item(0);g=c.getDoc().body.createTextRange();g.moveToElementText(j)}r=g.parentElement().ownerDocument===c.getDoc();tmpRng=g.duplicate();tmpRng.collapse(true);o=tmpRng.move("character",m)*-1;if(!tmpRng.collapsed){tmpRng=g.duplicate();tmpRng.collapse(false);q=(tmpRng.move("character",m)*-1)-o}}j=h.firstChild;while(j){if(j.nodeType===3||(j.nodeType==1&&!d[j.nodeName])){if(j.nodeType===3&&j.nodeValue.length==0){l=j;j=j.nextSibling;e.remove(l);continue}if(!i){i=e.create(b.forced_root_block);j.parentNode.insertBefore(i,j);p=true}l=j;j=j.nextSibling;i.appendChild(l)}else{i=null;j=j.nextSibling}}if(p){if(g.setStart){g.setStart(k,o);g.setEnd(s,q);a.setRng(g)}else{if(r){try{g=c.getDoc().body.createTextRange();g.moveToElementText(h);g.collapse(true);g.moveStart("character",o);if(q>0){g.moveEnd("character",q)}g.select()}catch(n){}}}c.nodeChanged()}}if(b.forced_root_block){c.onKeyUp.add(f);c.onNodeChange.add(f)}};(function(c){var b=c.DOM,a=c.dom.Event,d=c.each,e=c.extend;c.create("tinymce.ControlManager",{ControlManager:function(f,j){var h=this,g;j=j||{};h.editor=f;h.controls={};h.onAdd=new c.util.Dispatcher(h);h.onPostRender=new c.util.Dispatcher(h);h.prefix=j.prefix||f.id+"_";h._cls={};h.onPostRender.add(function(){d(h.controls,function(i){i.postRender()})})},get:function(f){return this.controls[this.prefix+f]||this.controls[f]},setActive:function(h,f){var g=null;if(g=this.get(h)){g.setActive(f)}return g},setDisabled:function(h,f){var g=null;if(g=this.get(h)){g.setDisabled(f)}return g},add:function(g){var f=this;if(g){f.controls[g.id]=g;f.onAdd.dispatch(g,f)}return g},createControl:function(j){var o,k,g,h=this,m=h.editor,n,f;if(!h.controlFactories){h.controlFactories=[];d(m.plugins,function(i){if(i.createControl){h.controlFactories.push(i)}})}n=h.controlFactories;for(k=0,g=n.length;k<g;k++){o=n[k].createControl(j,h);if(o){return h.add(o)}}if(j==="|"||j==="separator"){return h.createSeparator()}if(m.buttons&&(o=m.buttons[j])){return h.createButton(j,o)}return h.add(o)},createDropMenu:function(f,n,h){var m=this,i=m.editor,j,g,k,l;n=e({"class":"mceDropDown",constrain:i.settings.constrain_menus},n);n["class"]=n["class"]+" "+i.getParam("skin")+"Skin";if(k=i.getParam("skin_variant")){n["class"]+=" "+i.getParam("skin")+"Skin"+k.substring(0,1).toUpperCase()+k.substring(1)}n["class"]+=i.settings.directionality=="rtl"?" mceRtl":"";f=m.prefix+f;l=h||m._cls.dropmenu||c.ui.DropMenu;j=m.controls[f]=new l(f,n);j.onAddItem.add(function(r,q){var p=q.settings;p.title=i.getLang(p.title,p.title);if(!p.onclick){p.onclick=function(o){if(p.cmd){i.execCommand(p.cmd,p.ui||false,p.value)}}}});i.onRemove.add(function(){j.destroy()});if(c.isIE){j.onShowMenu.add(function(){i.focus();g=i.selection.getBookmark(1)});j.onHideMenu.add(function(){if(g){i.selection.moveToBookmark(g);g=0}})}return m.add(j)},createListBox:function(f,n,h){var l=this,j=l.editor,i,k,m;if(l.get(f)){return null}n.title=j.translate(n.title);n.scope=n.scope||j;if(!n.onselect){n.onselect=function(o){j.execCommand(n.cmd,n.ui||false,o||n.value)}}n=e({title:n.title,"class":"mce_"+f,scope:n.scope,control_manager:l},n);f=l.prefix+f;function g(o){return o.settings.use_accessible_selects&&!c.isGecko}if(j.settings.use_native_selects||g(j)){k=new c.ui.NativeListBox(f,n)}else{m=h||l._cls.listbox||c.ui.ListBox;k=new m(f,n,j)}l.controls[f]=k;if(c.isWebKit){k.onPostRender.add(function(p,o){a.add(o,"mousedown",function(){j.bookmark=j.selection.getBookmark(1)});a.add(o,"focus",function(){j.selection.moveToBookmark(j.bookmark);j.bookmark=null})})}if(k.hideMenu){j.onMouseDown.add(k.hideMenu,k)}return l.add(k)},createButton:function(m,i,l){var h=this,g=h.editor,j,k,f;if(h.get(m)){return null}i.title=g.translate(i.title);i.label=g.translate(i.label);i.scope=i.scope||g;if(!i.onclick&&!i.menu_button){i.onclick=function(){g.execCommand(i.cmd,i.ui||false,i.value)}}i=e({title:i.title,"class":"mce_"+m,unavailable_prefix:g.getLang("unavailable",""),scope:i.scope,control_manager:h},i);m=h.prefix+m;if(i.menu_button){f=l||h._cls.menubutton||c.ui.MenuButton;k=new f(m,i,g);g.onMouseDown.add(k.hideMenu,k)}else{f=h._cls.button||c.ui.Button;k=new f(m,i,g)}return h.add(k)},createMenuButton:function(h,f,g){f=f||{};f.menu_button=1;return this.createButton(h,f,g)},createSplitButton:function(m,i,l){var h=this,g=h.editor,j,k,f;if(h.get(m)){return null}i.title=g.translate(i.title);i.scope=i.scope||g;if(!i.onclick){i.onclick=function(n){g.execCommand(i.cmd,i.ui||false,n||i.value)}}if(!i.onselect){i.onselect=function(n){g.execCommand(i.cmd,i.ui||false,n||i.value)}}i=e({title:i.title,"class":"mce_"+m,scope:i.scope,control_manager:h},i);m=h.prefix+m;f=l||h._cls.splitbutton||c.ui.SplitButton;k=h.add(new f(m,i,g));g.onMouseDown.add(k.hideMenu,k);return k},createColorSplitButton:function(f,n,h){var l=this,j=l.editor,i,k,m,g;if(l.get(f)){return null}n.title=j.translate(n.title);n.scope=n.scope||j;if(!n.onclick){n.onclick=function(o){if(c.isIE){g=j.selection.getBookmark(1)}j.execCommand(n.cmd,n.ui||false,o||n.value)}}if(!n.onselect){n.onselect=function(o){j.execCommand(n.cmd,n.ui||false,o||n.value)}}n=e({title:n.title,"class":"mce_"+f,menu_class:j.getParam("skin")+"Skin",scope:n.scope,more_colors_title:j.getLang("more_colors")},n);f=l.prefix+f;m=h||l._cls.colorsplitbutton||c.ui.ColorSplitButton;k=new m(f,n,j);j.onMouseDown.add(k.hideMenu,k);j.onRemove.add(function(){k.destroy()});if(c.isIE){k.onShowMenu.add(function(){j.focus();g=j.selection.getBookmark(1)});k.onHideMenu.add(function(){if(g){j.selection.moveToBookmark(g);g=0}})}return l.add(k)},createToolbar:function(k,h,j){var i,g=this,f;k=g.prefix+k;f=j||g._cls.toolbar||c.ui.Toolbar;i=new f(k,h,g.editor);if(g.get(k)){return null}return g.add(i)},createToolbarGroup:function(k,h,j){var i,g=this,f;k=g.prefix+k;f=j||this._cls.toolbarGroup||c.ui.ToolbarGroup;i=new f(k,h,g.editor);if(g.get(k)){return null}return g.add(i)},createSeparator:function(g){var f=g||this._cls.separator||c.ui.Separator;return new f()},setControlType:function(g,f){return this._cls[g.toLowerCase()]=f},destroy:function(){d(this.controls,function(f){f.destroy()});this.controls=null}})})(tinymce);(function(d){var a=d.util.Dispatcher,e=d.each,c=d.isIE,b=d.isOpera;d.create("tinymce.WindowManager",{WindowManager:function(f){var g=this;g.editor=f;g.onOpen=new a(g);g.onClose=new a(g);g.params={};g.features={}},open:function(z,h){var v=this,k="",n,m,i=v.editor.settings.dialog_type=="modal",q,o,j,g=d.DOM.getViewPort(),r;z=z||{};h=h||{};o=b?g.w:screen.width;j=b?g.h:screen.height;z.name=z.name||"mc_"+new Date().getTime();z.width=parseInt(z.width||320);z.height=parseInt(z.height||240);z.resizable=true;z.left=z.left||parseInt(o/2)-(z.width/2);z.top=z.top||parseInt(j/2)-(z.height/2);h.inline=false;h.mce_width=z.width;h.mce_height=z.height;h.mce_auto_focus=z.auto_focus;if(i){if(c){z.center=true;z.help=false;z.dialogWidth=z.width+"px";z.dialogHeight=z.height+"px";z.scroll=z.scrollbars||false}}e(z,function(p,f){if(d.is(p,"boolean")){p=p?"yes":"no"}if(!/^(name|url)$/.test(f)){if(c&&i){k+=(k?";":"")+f+":"+p}else{k+=(k?",":"")+f+"="+p}}});v.features=z;v.params=h;v.onOpen.dispatch(v,z,h);r=z.url||z.file;r=d._addVer(r);try{if(c&&i){q=1;window.showModalDialog(r,window,k)}else{q=window.open(r,z.name,k)}}catch(l){}if(!q){alert(v.editor.getLang("popup_blocked"))}},close:function(f){f.close();this.onClose.dispatch(this)},createInstance:function(i,h,g,m,l,k){var j=d.resolve(i);return new j(h,g,m,l,k)},confirm:function(h,f,i,g){g=g||window;f.call(i||this,g.confirm(this._decode(this.editor.getLang(h,h))))},alert:function(h,f,j,g){var i=this;g=g||window;g.alert(i._decode(i.editor.getLang(h,h)));if(f){f.call(j||i)}},resizeBy:function(f,g,h){h.resizeBy(f,g)},_decode:function(f){return d.DOM.decode(f).replace(/\\n/g,"\n")}})}(tinymce));(function(a){a.Formatter=function(aa){var Q={},T=a.each,c=aa.dom,r=aa.selection,t=a.dom.TreeWalker,N=new a.dom.RangeUtils(c),d=aa.schema.isValidChild,A=a.isArray,H=c.isBlock,m=aa.settings.forced_root_block,s=c.nodeIndex,G="\uFEFF",e=/^(src|href|style)$/,X=false,C=true,P,D,x=c.getContentEditable;function I(ab){return !!aa.schema.getTextBlocks()[ab.toLowerCase()]}function n(ac,ab){return c.getParents(ac,ab,c.getRoot())}function b(ab){return ab.nodeType===1&&ab.id==="_mce_caret"}function j(){l({alignleft:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"left"},defaultBlock:"div"},{selector:"img,table",collapsed:false,styles:{"float":"left"}}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"center"},defaultBlock:"div"},{selector:"img",collapsed:false,styles:{display:"block",marginLeft:"auto",marginRight:"auto"}},{selector:"table",collapsed:false,styles:{marginLeft:"auto",marginRight:"auto"}}],alignright:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"right"},defaultBlock:"div"},{selector:"img,table",collapsed:false,styles:{"float":"right"}}],alignfull:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"justify"},defaultBlock:"div"}],bold:[{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all"}],italic:[{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all"}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:true},{inline:"u",remove:"all"}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:true},{inline:"strike",remove:"all"}],forecolor:{inline:"span",styles:{color:"%value"},wrap_links:false},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},wrap_links:false},fontname:{inline:"span",styles:{fontFamily:"%value"}},fontsize:{inline:"span",styles:{fontSize:"%value"}},fontsize_class:{inline:"span",attributes:{"class":"%value"}},blockquote:{block:"blockquote",wrapper:1,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},link:{inline:"a",selector:"a",remove:"all",split:true,deep:true,onmatch:function(ab){return true},onformat:function(ad,ab,ac){T(ac,function(af,ae){c.setAttrib(ad,ae,af)})}},removeformat:[{selector:"b,strong,em,i,font,u,strike",remove:"all",split:true,expand:false,block_expand:true,deep:true},{selector:"span",attributes:["style","class"],remove:"empty",split:true,expand:false,deep:true},{selector:"*",attributes:["style","class"],split:false,expand:false,deep:true}]});T("p h1 h2 h3 h4 h5 h6 div address pre div code dt dd samp".split(/\s/),function(ab){l(ab,{block:ab,remove:"all"})});l(aa.settings.formats)}function W(){aa.addShortcut("ctrl+b","bold_desc","Bold");aa.addShortcut("ctrl+i","italic_desc","Italic");aa.addShortcut("ctrl+u","underline_desc","Underline");for(var ab=1;ab<=6;ab++){aa.addShortcut("ctrl+"+ab,"",["FormatBlock",false,"h"+ab])}aa.addShortcut("ctrl+7","",["FormatBlock",false,"p"]);aa.addShortcut("ctrl+8","",["FormatBlock",false,"div"]);aa.addShortcut("ctrl+9","",["FormatBlock",false,"address"])}function V(ab){return ab?Q[ab]:Q}function l(ab,ac){if(ab){if(typeof(ab)!=="string"){T(ab,function(ae,ad){l(ad,ae)})}else{ac=ac.length?ac:[ac];T(ac,function(ad){if(ad.deep===D){ad.deep=!ad.selector}if(ad.split===D){ad.split=!ad.selector||ad.inline}if(ad.remove===D&&ad.selector&&!ad.inline){ad.remove="none"}if(ad.selector&&ad.inline){ad.mixed=true;ad.block_expand=true}if(typeof(ad.classes)==="string"){ad.classes=ad.classes.split(/\s+/)}});Q[ab]=ac}}}var i=function(ac){var ab;aa.dom.getParent(ac,function(ad){ab=aa.dom.getStyle(ad,"text-decoration");return ab&&ab!=="none"});return ab};var L=function(ab){var ac;if(ab.nodeType===1&&ab.parentNode&&ab.parentNode.nodeType===1){ac=i(ab.parentNode);if(aa.dom.getStyle(ab,"color")&&ac){aa.dom.setStyle(ab,"text-decoration",ac)}else{if(aa.dom.getStyle(ab,"textdecoration")===ac){aa.dom.setStyle(ab,"text-decoration",null)}}}};function Y(ae,al,ag){var ah=V(ae),am=ah[0],ak,ac,aj,ai=r.isCollapsed();function ab(aq,ap){ap=ap||am;if(aq){if(ap.onformat){ap.onformat(aq,ap,al,ag)}T(ap.styles,function(at,ar){c.setStyle(aq,ar,q(at,al))});T(ap.attributes,function(at,ar){c.setAttrib(aq,ar,q(at,al))});T(ap.classes,function(ar){ar=q(ar,al);if(!c.hasClass(aq,ar)){c.addClass(aq,ar)}})}}function af(){function ar(ay,aw){var ax=new t(aw);for(ag=ax.current();ag;ag=ax.prev()){if(ag.childNodes.length>1||ag==ay||ag.tagName=="BR"){return ag}}}var aq=aa.selection.getRng();var av=aq.startContainer;var ap=aq.endContainer;if(av!=ap&&aq.endOffset===0){var au=ar(av,ap);var at=au.nodeType==3?au.length:au.childNodes.length;aq.setEnd(au,at)}return aq}function ad(at,ay,aw,av,aq){var ap=[],ar=-1,ax,aA=-1,au=-1,az;T(at.childNodes,function(aC,aB){if(aC.nodeName==="UL"||aC.nodeName==="OL"){ar=aB;ax=aC;return false}});T(at.childNodes,function(aC,aB){if(aC.nodeName==="SPAN"&&c.getAttrib(aC,"data-mce-type")=="bookmark"){if(aC.id==ay.id+"_start"){aA=aB}else{if(aC.id==ay.id+"_end"){au=aB}}}});if(ar<=0||(aA<ar&&au>ar)){T(a.grep(at.childNodes),aq);return 0}else{az=c.clone(aw,X);T(a.grep(at.childNodes),function(aC,aB){if((aA<ar&&aB<ar)||(aA>ar&&aB>ar)){ap.push(aC);aC.parentNode.removeChild(aC)}});if(aA<ar){at.insertBefore(az,ax)}else{if(aA>ar){at.insertBefore(az,ax.nextSibling)}}av.push(az);T(ap,function(aB){az.appendChild(aB)});return az}}function an(aq,at,aw){var ap=[],av,ar,au=true;av=am.inline||am.block;ar=c.create(av);ab(ar);N.walk(aq,function(ax){var ay;function az(aA){var aF,aD,aB,aC,aE;aE=au;aF=aA.nodeName.toLowerCase();aD=aA.parentNode.nodeName.toLowerCase();if(aA.nodeType===1&&x(aA)){aE=au;au=x(aA)==="true";aC=true}if(g(aF,"br")){ay=0;if(am.block){c.remove(aA)}return}if(am.wrapper&&y(aA,ae,al)){ay=0;return}if(au&&!aC&&am.block&&!am.wrapper&&I(aF)){aA=c.rename(aA,av);ab(aA);ap.push(aA);ay=0;return}if(am.selector){T(ah,function(aG){if("collapsed" in aG&&aG.collapsed!==ai){return}if(c.is(aA,aG.selector)&&!b(aA)){ab(aA,aG);aB=true}});if(!am.inline||aB){ay=0;return}}if(au&&!aC&&d(av,aF)&&d(aD,av)&&!(!aw&&aA.nodeType===3&&aA.nodeValue.length===1&&aA.nodeValue.charCodeAt(0)===65279)&&!b(aA)){if(!ay){ay=c.clone(ar,X);aA.parentNode.insertBefore(ay,aA);ap.push(ay)}ay.appendChild(aA)}else{if(aF=="li"&&at){ay=ad(aA,at,ar,ap,az)}else{ay=0;T(a.grep(aA.childNodes),az);if(aC){au=aE}ay=0}}}T(ax,az)});if(am.wrap_links===false){T(ap,function(ax){function ay(aC){var aB,aA,az;if(aC.nodeName==="A"){aA=c.clone(ar,X);ap.push(aA);az=a.grep(aC.childNodes);for(aB=0;aB<az.length;aB++){aA.appendChild(az[aB])}aC.appendChild(aA)}T(a.grep(aC.childNodes),ay)}ay(ax)})}T(ap,function(az){var ax;function aA(aC){var aB=0;T(aC.childNodes,function(aD){if(!f(aD)&&!K(aD)){aB++}});return aB}function ay(aB){var aD,aC;T(aB.childNodes,function(aE){if(aE.nodeType==1&&!K(aE)&&!b(aE)){aD=aE;return X}});if(aD&&h(aD,am)){aC=c.clone(aD,X);ab(aC);c.replace(aC,aB,C);c.remove(aD,1)}return aC||aB}ax=aA(az);if((ap.length>1||!H(az))&&ax===0){c.remove(az,1);return}if(am.inline||am.wrapper){if(!am.exact&&ax===1){az=ay(az)}T(ah,function(aB){T(c.select(aB.inline,az),function(aD){var aC;if(aB.wrap_links===false){aC=aD.parentNode;do{if(aC.nodeName==="A"){return}}while(aC=aC.parentNode)}Z(aB,al,aD,aB.exact?aD:null)})});if(y(az.parentNode,ae,al)){c.remove(az,1);az=0;return C}if(am.merge_with_parents){c.getParent(az.parentNode,function(aB){if(y(aB,ae,al)){c.remove(az,1);az=0;return C}})}if(az&&am.merge_siblings!==false){az=u(E(az),az);az=u(az,E(az,C))}}})}if(am){if(ag){if(ag.nodeType){ac=c.createRng();ac.setStartBefore(ag);ac.setEndAfter(ag);an(p(ac,ah),null,true)}else{an(ag,null,true)}}else{if(!ai||!am.inline||c.select("td.mceSelected,th.mceSelected").length){var ao=aa.selection.getNode();if(!m&&ah[0].defaultBlock&&!c.getParent(ao,c.isBlock)){Y(ah[0].defaultBlock)}aa.selection.setRng(af());ak=r.getBookmark();an(p(r.getRng(C),ah),ak);if(am.styles&&(am.styles.color||am.styles.textDecoration)){a.walk(ao,L,"childNodes");L(ao)}r.moveToBookmark(ak);R(r.getRng(C));aa.nodeChanged()}else{U("apply",ae,al)}}}}function B(ad,am,af){var ag=V(ad),ao=ag[0],ak,aj,ac,al=true;function ae(av){var au,at,ar,aq,ax,aw;if(av.nodeType===1&&x(av)){ax=al;al=x(av)==="true";aw=true}au=a.grep(av.childNodes);if(al&&!aw){for(at=0,ar=ag.length;at<ar;at++){if(Z(ag[at],am,av,av)){break}}}if(ao.deep){if(au.length){for(at=0,ar=au.length;at<ar;at++){ae(au[at])}if(aw){al=ax}}}}function ah(aq){var ar;T(n(aq.parentNode).reverse(),function(at){var au;if(!ar&&at.id!="_start"&&at.id!="_end"){au=y(at,ad,am);if(au&&au.split!==false){ar=at}}});return ar}function ab(au,aq,aw,az){var aA,ay,ax,at,av,ar;if(au){ar=au.parentNode;for(aA=aq.parentNode;aA&&aA!=ar;aA=aA.parentNode){ay=c.clone(aA,X);for(av=0;av<ag.length;av++){if(Z(ag[av],am,ay,ay)){ay=0;break}}if(ay){if(ax){ay.appendChild(ax)}if(!at){at=ay}ax=ay}}if(az&&(!ao.mixed||!H(au))){aq=c.split(au,aq)}if(ax){aw.parentNode.insertBefore(ax,aw);at.appendChild(aw)}}return aq}function an(aq){return ab(ah(aq),aq,aq,true)}function ai(at){var ar=c.get(at?"_start":"_end"),aq=ar[at?"firstChild":"lastChild"];if(K(aq)){aq=aq[at?"firstChild":"lastChild"]}c.remove(ar,true);return aq}function ap(aq){var at,au,ar;aq=p(aq,ag,C);if(ao.split){at=M(aq,C);au=M(aq);if(at!=au){if(/^(TR|TD)$/.test(at.nodeName)&&at.firstChild){at=(at.nodeName=="TD"?at.firstChild:at.firstChild.firstChild)||at}at=S(at,"span",{id:"_start","data-mce-type":"bookmark"});au=S(au,"span",{id:"_end","data-mce-type":"bookmark"});an(at);an(au);at=ai(C);au=ai()}else{at=au=an(at)}aq.startContainer=at.parentNode;aq.startOffset=s(at);aq.endContainer=au.parentNode;aq.endOffset=s(au)+1}N.walk(aq,function(av){T(av,function(aw){ae(aw);if(aw.nodeType===1&&aa.dom.getStyle(aw,"text-decoration")==="underline"&&aw.parentNode&&i(aw.parentNode)==="underline"){Z({deep:false,exact:true,inline:"span",styles:{textDecoration:"underline"}},null,aw)}})})}if(af){if(af.nodeType){ac=c.createRng();ac.setStartBefore(af);ac.setEndAfter(af);ap(ac)}else{ap(af)}return}if(!r.isCollapsed()||!ao.inline||c.select("td.mceSelected,th.mceSelected").length){ak=r.getBookmark();ap(r.getRng(C));r.moveToBookmark(ak);if(ao.inline&&k(ad,am,r.getStart())){R(r.getRng(true))}aa.nodeChanged()}else{U("remove",ad,am)}}function F(ac,ae,ad){var ab=V(ac);if(k(ac,ae,ad)&&(!("toggle" in ab[0])||ab[0].toggle)){B(ac,ae,ad)}else{Y(ac,ae,ad)}}function y(ac,ab,ah,af){var ad=V(ab),ai,ag,ae;function aj(an,ap,aq){var am,ao,ak=ap[aq],al;if(ap.onmatch){return ap.onmatch(an,ap,aq)}if(ak){if(ak.length===D){for(am in ak){if(ak.hasOwnProperty(am)){if(aq==="attributes"){ao=c.getAttrib(an,am)}else{ao=O(an,am)}if(af&&!ao&&!ap.exact){return}if((!af||ap.exact)&&!g(ao,q(ak[am],ah))){return}}}}else{for(al=0;al<ak.length;al++){if(aq==="attributes"?c.getAttrib(an,ak[al]):O(an,ak[al])){return ap}}}}return ap}if(ad&&ac){for(ag=0;ag<ad.length;ag++){ai=ad[ag];if(h(ac,ai)&&aj(ac,ai,"attributes")&&aj(ac,ai,"styles")){if(ae=ai.classes){for(ag=0;ag<ae.length;ag++){if(!c.hasClass(ac,ae[ag])){return}}}return ai}}}}function k(ad,af,ae){var ac;function ab(ag){ag=c.getParent(ag,function(ah){return !!y(ah,ad,af,true)});return y(ag,ad,af)}if(ae){return ab(ae)}ae=r.getNode();if(ab(ae)){return C}ac=r.getStart();if(ac!=ae){if(ab(ac)){return C}}return X}function v(ai,ah){var af,ag=[],ae={},ad,ac,ab;af=r.getStart();c.getParent(af,function(al){var ak,aj;for(ak=0;ak<ai.length;ak++){aj=ai[ak];if(!ae[aj]&&y(al,aj,ah)){ae[aj]=true;ag.push(aj)}}},c.getRoot());return ag}function z(af){var ah=V(af),ae,ad,ag,ac,ab;if(ah){ae=r.getStart();ad=n(ae);for(ac=ah.length-1;ac>=0;ac--){ab=ah[ac].selector;if(!ab){return C}for(ag=ad.length-1;ag>=0;ag--){if(c.is(ad[ag],ab)){return C}}}}return X}function J(ab,ae,ac){var ad;if(!P){P={};ad={};aa.onNodeChange.addToTop(function(ag,af,ai){var ah=n(ai),aj={};T(P,function(ak,al){T(ah,function(am){if(y(am,al,{},ak.similar)){if(!ad[al]){T(ak,function(an){an(true,{node:am,format:al,parents:ah})});ad[al]=ak}aj[al]=ak;return false}})});T(ad,function(ak,al){if(!aj[al]){delete ad[al];T(ak,function(am){am(false,{node:ai,format:al,parents:ah})})}})})}T(ab.split(","),function(af){if(!P[af]){P[af]=[];P[af].similar=ac}P[af].push(ae)});return this}a.extend(this,{get:V,register:l,apply:Y,remove:B,toggle:F,match:k,matchAll:v,matchNode:y,canApply:z,formatChanged:J});j();W();function h(ab,ac){if(g(ab,ac.inline)){return C}if(g(ab,ac.block)){return C}if(ac.selector){return c.is(ab,ac.selector)}}function g(ac,ab){ac=ac||"";ab=ab||"";ac=""+(ac.nodeName||ac);ab=""+(ab.nodeName||ab);return ac.toLowerCase()==ab.toLowerCase()}function O(ac,ab){var ad=c.getStyle(ac,ab);if(ab=="color"||ab=="backgroundColor"){ad=c.toHex(ad)}if(ab=="fontWeight"&&ad==700){ad="bold"}return""+ad}function q(ab,ac){if(typeof(ab)!="string"){ab=ab(ac)}else{if(ac){ab=ab.replace(/%(\w+)/g,function(ae,ad){return ac[ad]||ae})}}return ab}function f(ab){return ab&&ab.nodeType===3&&/^([\t \r\n]+|)$/.test(ab.nodeValue)}function S(ad,ac,ab){var ae=c.create(ac,ab);ad.parentNode.insertBefore(ae,ad);ae.appendChild(ad);return ae}function p(ab,am,ae){var ap,an,ah,al,ad=ab.startContainer,ai=ab.startOffset,ar=ab.endContainer,ak=ab.endOffset;function ao(aA){var au,ax,az,aw,av,at;au=ax=aA?ad:ar;av=aA?"previousSibling":"nextSibling";at=c.getRoot();function ay(aB){return aB.nodeName=="BR"&&aB.getAttribute("data-mce-bogus")&&!aB.nextSibling}if(au.nodeType==3&&!f(au)){if(aA?ai>0:ak<au.nodeValue.length){return au}}for(;;){if(!am[0].block_expand&&H(ax)){return ax}for(aw=ax[av];aw;aw=aw[av]){if(!K(aw)&&!f(aw)&&!ay(aw)){return ax}}if(ax.parentNode==at){au=ax;break}ax=ax.parentNode}return au}function ag(at,au){if(au===D){au=at.nodeType===3?at.length:at.childNodes.length}while(at&&at.hasChildNodes()){at=at.childNodes[au];if(at){au=at.nodeType===3?at.length:at.childNodes.length}}return{node:at,offset:au}}if(ad.nodeType==1&&ad.hasChildNodes()){an=ad.childNodes.length-1;ad=ad.childNodes[ai>an?an:ai];if(ad.nodeType==3){ai=0}}if(ar.nodeType==1&&ar.hasChildNodes()){an=ar.childNodes.length-1;ar=ar.childNodes[ak>an?an:ak-1];if(ar.nodeType==3){ak=ar.nodeValue.length}}function aq(au){var at=au;while(at){if(at.nodeType===1&&x(at)){return x(at)==="false"?at:au}at=at.parentNode}return au}function aj(au,ay,aA){var ax,av,az,at;function aw(aC,aE){var aF,aB,aD=aC.nodeValue;if(typeof(aE)=="undefined"){aE=aA?aD.length:0}if(aA){aF=aD.lastIndexOf(" ",aE);aB=aD.lastIndexOf("\u00a0",aE);aF=aF>aB?aF:aB;if(aF!==-1&&!ae){aF++}}else{aF=aD.indexOf(" ",aE);aB=aD.indexOf("\u00a0",aE);aF=aF!==-1&&(aB===-1||aF<aB)?aF:aB}return aF}if(au.nodeType===3){az=aw(au,ay);if(az!==-1){return{container:au,offset:az}}at=au}ax=new t(au,c.getParent(au,H)||aa.getBody());while(av=ax[aA?"prev":"next"]()){if(av.nodeType===3){at=av;az=aw(av);if(az!==-1){return{container:av,offset:az}}}else{if(H(av)){break}}}if(at){if(aA){ay=0}else{ay=at.length}return{container:at,offset:ay}}}function af(au,at){var av,aw,ay,ax;if(au.nodeType==3&&au.nodeValue.length===0&&au[at]){au=au[at]}av=n(au);for(aw=0;aw<av.length;aw++){for(ay=0;ay<am.length;ay++){ax=am[ay];if("collapsed" in ax&&ax.collapsed!==ab.collapsed){continue}if(c.is(av[aw],ax.selector)){return av[aw]}}}return au}function ac(au,at,aw){var av;if(!am[0].wrapper){av=c.getParent(au,am[0].block)}if(!av){av=c.getParent(au.nodeType==3?au.parentNode:au,I)}if(av&&am[0].wrapper){av=n(av,"ul,ol").reverse()[0]||av}if(!av){av=au;while(av[at]&&!H(av[at])){av=av[at];if(g(av,"br")){break}}}return av||au}ad=aq(ad);ar=aq(ar);if(K(ad.parentNode)||K(ad)){ad=K(ad)?ad:ad.parentNode;ad=ad.nextSibling||ad;if(ad.nodeType==3){ai=0}}if(K(ar.parentNode)||K(ar)){ar=K(ar)?ar:ar.parentNode;ar=ar.previousSibling||ar;if(ar.nodeType==3){ak=ar.length}}if(am[0].inline){if(ab.collapsed){al=aj(ad,ai,true);if(al){ad=al.container;ai=al.offset}al=aj(ar,ak);if(al){ar=al.container;ak=al.offset}}ah=ag(ar,ak);if(ah.node){while(ah.node&&ah.offset===0&&ah.node.previousSibling){ah=ag(ah.node.previousSibling)}if(ah.node&&ah.offset>0&&ah.node.nodeType===3&&ah.node.nodeValue.charAt(ah.offset-1)===" "){if(ah.offset>1){ar=ah.node;ar.splitText(ah.offset-1)}}}}if(am[0].inline||am[0].block_expand){if(!am[0].inline||(ad.nodeType!=3||ai===0)){ad=ao(true)}if(!am[0].inline||(ar.nodeType!=3||ak===ar.nodeValue.length)){ar=ao()}}if(am[0].selector&&am[0].expand!==X&&!am[0].inline){ad=af(ad,"previousSibling");ar=af(ar,"nextSibling")}if(am[0].block||am[0].selector){ad=ac(ad,"previousSibling");ar=ac(ar,"nextSibling");if(am[0].block){if(!H(ad)){ad=ao(true)}if(!H(ar)){ar=ao()}}}if(ad.nodeType==1){ai=s(ad);ad=ad.parentNode}if(ar.nodeType==1){ak=s(ar)+1;ar=ar.parentNode}return{startContainer:ad,startOffset:ai,endContainer:ar,endOffset:ak}}function Z(ah,ag,ae,ab){var ad,ac,af;if(!h(ae,ah)){return X}if(ah.remove!="all"){T(ah.styles,function(aj,ai){aj=q(aj,ag);if(typeof(ai)==="number"){ai=aj;ab=0}if(!ab||g(O(ab,ai),aj)){c.setStyle(ae,ai,"")}af=1});if(af&&c.getAttrib(ae,"style")==""){ae.removeAttribute("style");ae.removeAttribute("data-mce-style")}T(ah.attributes,function(ak,ai){var aj;ak=q(ak,ag);if(typeof(ai)==="number"){ai=ak;ab=0}if(!ab||g(c.getAttrib(ab,ai),ak)){if(ai=="class"){ak=c.getAttrib(ae,ai);if(ak){aj="";T(ak.split(/\s+/),function(al){if(/mce\w+/.test(al)){aj+=(aj?" ":"")+al}});if(aj){c.setAttrib(ae,ai,aj);return}}}if(ai=="class"){ae.removeAttribute("className")}if(e.test(ai)){ae.removeAttribute("data-mce-"+ai)}ae.removeAttribute(ai)}});T(ah.classes,function(ai){ai=q(ai,ag);if(!ab||c.hasClass(ab,ai)){c.removeClass(ae,ai)}});ac=c.getAttribs(ae);for(ad=0;ad<ac.length;ad++){if(ac[ad].nodeName.indexOf("_")!==0){return X}}}if(ah.remove!="none"){o(ae,ah);return C}}function o(ad,ae){var ab=ad.parentNode,ac;function af(ah,ag,ai){ah=E(ah,ag,ai);return !ah||(ah.nodeName=="BR"||H(ah))}if(ae.block){if(!m){if(H(ad)&&!H(ab)){if(!af(ad,X)&&!af(ad.firstChild,C,1)){ad.insertBefore(c.create("br"),ad.firstChild)}if(!af(ad,C)&&!af(ad.lastChild,X,1)){ad.appendChild(c.create("br"))}}}else{if(ab==c.getRoot()){if(!ae.list_block||!g(ad,ae.list_block)){T(a.grep(ad.childNodes),function(ag){if(d(m,ag.nodeName.toLowerCase())){if(!ac){ac=S(ag,m)}else{ac.appendChild(ag)}}else{ac=0}})}}}}if(ae.selector&&ae.inline&&!g(ae.inline,ad)){return}c.remove(ad,1)}function E(ac,ab,ad){if(ac){ab=ab?"nextSibling":"previousSibling";for(ac=ad?ac:ac[ab];ac;ac=ac[ab]){if(ac.nodeType==1||!f(ac)){return ac}}}}function K(ab){return ab&&ab.nodeType==1&&ab.getAttribute("data-mce-type")=="bookmark"}function u(af,ae){var ab,ad,ac;function ah(ak,aj){if(ak.nodeName!=aj.nodeName){return X}function ai(am){var an={};T(c.getAttribs(am),function(ao){var ap=ao.nodeName.toLowerCase();if(ap.indexOf("_")!==0&&ap!=="style"){an[ap]=c.getAttrib(am,ap)}});return an}function al(ap,ao){var an,am;for(am in ap){if(ap.hasOwnProperty(am)){an=ao[am];if(an===D){return X}if(ap[am]!=an){return X}delete ao[am]}}for(am in ao){if(ao.hasOwnProperty(am)){return X}}return C}if(!al(ai(ak),ai(aj))){return X}if(!al(c.parseStyle(c.getAttrib(ak,"style")),c.parseStyle(c.getAttrib(aj,"style")))){return X}return C}function ag(aj,ai){for(ad=aj;ad;ad=ad[ai]){if(ad.nodeType==3&&ad.nodeValue.length!==0){return aj}if(ad.nodeType==1&&!K(ad)){return ad}}return aj}if(af&&ae){af=ag(af,"previousSibling");ae=ag(ae,"nextSibling");if(ah(af,ae)){for(ad=af.nextSibling;ad&&ad!=ae;){ac=ad;ad=ad.nextSibling;af.appendChild(ac)}c.remove(ae);T(a.grep(ae.childNodes),function(ai){af.appendChild(ai)});return af}}return ae}function I(ab){return/^(h[1-6]|p|div|pre|address|dl|dt|dd)$/.test(ab)}function M(ac,ag){var ab,af,ad,ae;ab=ac[ag?"startContainer":"endContainer"];af=ac[ag?"startOffset":"endOffset"];if(ab.nodeType==1){ad=ab.childNodes.length-1;if(!ag&&af){af--}ab=ab.childNodes[af>ad?ad:af]}if(ab.nodeType===3&&ag&&af>=ab.nodeValue.length){ab=new t(ab,aa.getBody()).next()||ab}if(ab.nodeType===3&&!ag&&af===0){ab=new t(ab,aa.getBody()).prev()||ab}return ab}function U(ak,ab,ai){var al="_mce_caret",ac=aa.settings.caret_debug;function ad(ap){var ao=c.create("span",{id:al,"data-mce-bogus":true,style:ac?"color:red":""});if(ap){ao.appendChild(aa.getDoc().createTextNode(G))}return ao}function aj(ap,ao){while(ap){if((ap.nodeType===3&&ap.nodeValue!==G)||ap.childNodes.length>1){return false}if(ao&&ap.nodeType===1){ao.push(ap)}ap=ap.firstChild}return true}function ag(ao){while(ao){if(ao.id===al){return ao}ao=ao.parentNode}}function af(ao){var ap;if(ao){ap=new t(ao,ao);for(ao=ap.current();ao;ao=ap.next()){if(ao.nodeType===3){return ao}}}}function ae(aq,ap){var ar,ao;if(!aq){aq=ag(r.getStart());if(!aq){while(aq=c.get(al)){ae(aq,false)}}}else{ao=r.getRng(true);if(aj(aq)){if(ap!==false){ao.setStartBefore(aq);ao.setEndBefore(aq)}c.remove(aq)}else{ar=af(aq);if(ar.nodeValue.charAt(0)===G){ar=ar.deleteData(0,1)}c.remove(aq,1)}r.setRng(ao)}}function ah(){var aq,ao,av,au,ar,ap,at;aq=r.getRng(true);au=aq.startOffset;ap=aq.startContainer;at=ap.nodeValue;ao=ag(r.getStart());if(ao){av=af(ao)}if(at&&au>0&&au<at.length&&/\w/.test(at.charAt(au))&&/\w/.test(at.charAt(au-1))){ar=r.getBookmark();aq.collapse(true);aq=p(aq,V(ab));aq=N.split(aq);Y(ab,ai,aq);r.moveToBookmark(ar)}else{if(!ao||av.nodeValue!==G){ao=ad(true);av=ao.firstChild;aq.insertNode(ao);au=1;Y(ab,ai,ao)}else{Y(ab,ai,ao)}r.setCursorLocation(av,au)}}function am(){var ao=r.getRng(true),ap,ar,av,au,aq,ay,ax=[],at,aw;ap=ao.startContainer;ar=ao.startOffset;aq=ap;if(ap.nodeType==3){if(ar!=ap.nodeValue.length||ap.nodeValue===G){au=true}aq=aq.parentNode}while(aq){if(y(aq,ab,ai)){ay=aq;break}if(aq.nextSibling){au=true}ax.push(aq);aq=aq.parentNode}if(!ay){return}if(au){av=r.getBookmark();ao.collapse(true);ao=p(ao,V(ab),true);ao=N.split(ao);B(ab,ai,ao);r.moveToBookmark(av)}else{aw=ad();aq=aw;for(at=ax.length-1;at>=0;at--){aq.appendChild(c.clone(ax[at],false));aq=aq.firstChild}aq.appendChild(c.doc.createTextNode(G));aq=aq.firstChild;c.insertAfter(aw,ay);r.setCursorLocation(aq,1)}}function an(){var ap,ao,aq;ao=ag(r.getStart());if(ao&&!c.isEmpty(ao)){a.walk(ao,function(ar){if(ar.nodeType==1&&ar.id!==al&&!c.isEmpty(ar)){c.setAttrib(ar,"data-mce-bogus",null)}},"childNodes")}}if(!self._hasCaretEvents){aa.onBeforeGetContent.addToTop(function(){var ao=[],ap;if(aj(ag(r.getStart()),ao)){ap=ao.length;while(ap--){c.setAttrib(ao[ap],"data-mce-bogus","1")}}});a.each("onMouseUp onKeyUp".split(" "),function(ao){aa[ao].addToTop(function(){ae();an()})});aa.onKeyDown.addToTop(function(ao,aq){var ap=aq.keyCode;if(ap==8||ap==37||ap==39){ae(ag(r.getStart()))}an()});r.onSetContent.add(an);self._hasCaretEvents=true}if(ak=="apply"){ah()}else{am()}}function R(ac){var ab=ac.startContainer,ai=ac.startOffset,ae,ah,ag,ad,af;if(ab.nodeType==3&&ai>=ab.nodeValue.length){ai=s(ab);ab=ab.parentNode;ae=true}if(ab.nodeType==1){ad=ab.childNodes;ab=ad[Math.min(ai,ad.length-1)];ah=new t(ab,c.getParent(ab,c.isBlock));if(ai>ad.length-1||ae){ah.next()}for(ag=ah.current();ag;ag=ah.next()){if(ag.nodeType==3&&!f(ag)){af=c.create("a",null,G);ag.parentNode.insertBefore(af,ag);ac.setStart(ag,0);r.setRng(ac);c.remove(af);return}}}}}})(tinymce);tinymce.onAddEditor.add(function(e,a){var d,h,g,c=a.settings;function b(j,i){e.each(i,function(l,k){if(l){g.setStyle(j,k,l)}});g.rename(j,"span")}function f(i,j){g=i.dom;if(c.convert_fonts_to_spans){e.each(g.select("font,u,strike",j.node),function(k){d[k.nodeName.toLowerCase()](a.dom,k)})}}if(c.inline_styles){h=e.explode(c.font_size_legacy_values);d={font:function(j,i){b(i,{backgroundColor:i.style.backgroundColor,color:i.color,fontFamily:i.face,fontSize:h[parseInt(i.size,10)-1]})},u:function(j,i){b(i,{textDecoration:"underline"})},strike:function(j,i){b(i,{textDecoration:"line-through"})}};a.onPreProcess.add(f);a.onSetContent.add(f);a.onInit.add(function(){a.selection.onSetContent.add(f)})}});(function(b){var a=b.dom.TreeWalker;b.EnterKey=function(f){var i=f.dom,e=f.selection,d=f.settings,h=f.undoManager,c=f.schema.getNonEmptyElements();function g(A){var v=e.getRng(true),G,j,z,u,p,M,B,o,k,n,t,J,x,C;function E(N){return N&&i.isBlock(N)&&!/^(TD|TH|CAPTION|FORM)$/.test(N.nodeName)&&!/^(fixed|absolute)/i.test(N.style.position)&&i.getContentEditable(N)!=="true"}function F(O){var N;if(b.isIE&&i.isBlock(O)){N=e.getRng();O.appendChild(i.create("span",null,"\u00a0"));e.select(O);O.lastChild.outerHTML="";e.setRng(N)}}function y(P){var O=P,Q=[],N;while(O=O.firstChild){if(i.isBlock(O)){return}if(O.nodeType==1&&!c[O.nodeName.toLowerCase()]){Q.push(O)}}N=Q.length;while(N--){O=Q[N];if(!O.hasChildNodes()||(O.firstChild==O.lastChild&&O.firstChild.nodeValue==="")){i.remove(O)}else{if(O.nodeName=="A"&&(O.innerText||O.textContent)===" "){i.remove(O)}}}}function m(O){var T,R,N,U,S,Q=O,P;N=i.createRng();if(O.hasChildNodes()){T=new a(O,O);while(R=T.current()){if(R.nodeType==3){N.setStart(R,0);N.setEnd(R,0);break}if(c[R.nodeName.toLowerCase()]){N.setStartBefore(R);N.setEndBefore(R);break}Q=R;R=T.next()}if(!R){N.setStart(Q,0);N.setEnd(Q,0)}}else{if(O.nodeName=="BR"){if(O.nextSibling&&i.isBlock(O.nextSibling)){if(!M||M<9){P=i.create("br");O.parentNode.insertBefore(P,O)}N.setStartBefore(O);N.setEndBefore(O)}else{N.setStartAfter(O);N.setEndAfter(O)}}else{N.setStart(O,0);N.setEnd(O,0)}}e.setRng(N);i.remove(P);S=i.getViewPort(f.getWin());U=i.getPos(O).y;if(U<S.y||U+25>S.y+S.h){f.getWin().scrollTo(0,U<S.y?U:U-S.h+25)}}function r(O){var P=z,R,Q,N;R=O||t=="TABLE"?i.create(O||x):p.cloneNode(false);N=R;if(d.keep_styles!==false){do{if(/^(SPAN|STRONG|B|EM|I|FONT|STRIKE|U)$/.test(P.nodeName)){if(P.id=="_mce_caret"){continue}Q=P.cloneNode(false);i.setAttrib(Q,"id","");if(R.hasChildNodes()){Q.appendChild(R.firstChild);R.appendChild(Q)}else{N=Q;R.appendChild(Q)}}}while(P=P.parentNode)}if(!b.isIE){N.innerHTML='<br data-mce-bogus="1">'}return R}function q(Q){var P,O,N;if(z.nodeType==3&&(Q?u>0:u<z.nodeValue.length)){return false}if(z.parentNode==p&&C&&!Q){return true}if(Q&&z.nodeType==1&&z==p.firstChild){return true}if(z.nodeName==="TABLE"||(z.previousSibling&&z.previousSibling.nodeName=="TABLE")){return(C&&!Q)||(!C&&Q)}P=new a(z,p);if(z.nodeType==3){if(Q&&u==0){P.prev()}else{if(!Q&&u==z.nodeValue.length){P.next()}}}while(O=P.current()){if(O.nodeType===1){if(!O.getAttribute("data-mce-bogus")){N=O.nodeName.toLowerCase();if(c[N]&&N!=="br"){return false}}}else{if(O.nodeType===3&&!/^[ \t\r\n]*$/.test(O.nodeValue)){return false}}if(Q){P.prev()}else{P.next()}}return true}function l(N,T){var U,S,P,R,Q,O=x||"P";S=i.getParent(N,i.isBlock);if(!S||!E(S)){S=S||j;if(!S.hasChildNodes()){U=i.create(O);S.appendChild(U);v.setStart(U,0);v.setEnd(U,0);return U}R=N;while(R.parentNode!=S){R=R.parentNode}while(R&&!i.isBlock(R)){P=R;R=R.previousSibling}if(P){U=i.create(O);P.parentNode.insertBefore(U,P);R=P;while(R&&!i.isBlock(R)){Q=R.nextSibling;U.appendChild(R);R=Q}v.setStart(N,T);v.setEnd(N,T)}}return N}function H(){function N(P){var O=n[P?"firstChild":"lastChild"];while(O){if(O.nodeType==1){break}O=O[P?"nextSibling":"previousSibling"]}return O===p}o=x?r(x):i.create("BR");if(N(true)&&N()){i.replace(o,n)}else{if(N(true)){n.parentNode.insertBefore(o,n)}else{if(N()){i.insertAfter(o,n);F(o)}else{G=v.cloneRange();G.setStartAfter(p);G.setEndAfter(n);k=G.extractContents();i.insertAfter(k,n);i.insertAfter(o,n)}}}i.remove(p);m(o);h.add()}function D(){var O=new a(z,p),N;while(N=O.current()){if(N.nodeName=="BR"){return true}N=O.next()}}function L(){var O,N;if(z&&z.nodeType==3&&u>=z.nodeValue.length){if(!b.isIE&&!D()){O=i.create("br");v.insertNode(O);v.setStartAfter(O);v.setEndAfter(O);N=true}}O=i.create("br");v.insertNode(O);if(b.isIE&&t=="PRE"&&(!M||M<8)){O.parentNode.insertBefore(i.doc.createTextNode("\r"),O)}if(!N){v.setStartAfter(O);v.setEndAfter(O)}else{v.setStartBefore(O);v.setEndBefore(O)}e.setRng(v);h.add()}function s(N){do{if(N.nodeType===3){N.nodeValue=N.nodeValue.replace(/^[\r\n]+/,"")}N=N.firstChild}while(N)}function K(P){var N=i.getRoot(),O,Q;O=P;while(O!==N&&i.getContentEditable(O)!=="false"){if(i.getContentEditable(O)==="true"){Q=O}O=O.parentNode}return O!==N?Q:N}function I(O){var N;if(!b.isIE){O.normalize();N=O.lastChild;if(!N||(/^(left|right)$/gi.test(i.getStyle(N,"float",true)))){i.add(O,"br")}}}if(!v.collapsed){f.execCommand("Delete");return}if(A.isDefaultPrevented()){return}z=v.startContainer;u=v.startOffset;x=(d.force_p_newlines?"p":"")||d.forced_root_block;x=x?x.toUpperCase():"";M=i.doc.documentMode;B=A.shiftKey;if(z.nodeType==1&&z.hasChildNodes()){C=u>z.childNodes.length-1;z=z.childNodes[Math.min(u,z.childNodes.length-1)]||z;if(C&&z.nodeType==3){u=z.nodeValue.length}else{u=0}}j=K(z);if(!j){return}h.beforeChange();if(!i.isBlock(j)&&j!=i.getRoot()){if(!x||B){L()}return}if((x&&!B)||(!x&&B)){z=l(z,u)}p=i.getParent(z,i.isBlock);n=p?i.getParent(p.parentNode,i.isBlock):null;t=p?p.nodeName.toUpperCase():"";J=n?n.nodeName.toUpperCase():"";if(J=="LI"&&!A.ctrlKey){p=n;t=J}if(t=="LI"){if(!x&&B){L();return}if(i.isEmpty(p)){if(/^(UL|OL|LI)$/.test(n.parentNode.nodeName)){return false}H();return}}if(t=="PRE"&&d.br_in_pre!==false){if(!B){L();return}}else{if((!x&&!B&&t!="LI")||(x&&B)){L();return}}x=x||"P";if(q()){if(/^(H[1-6]|PRE)$/.test(t)&&J!="HGROUP"){o=r(x)}else{o=r()}if(d.end_container_on_empty_block&&E(n)&&i.isEmpty(p)){o=i.split(n,p)}else{i.insertAfter(o,p)}m(o)}else{if(q(true)){o=p.parentNode.insertBefore(r(),p);F(o)}else{G=v.cloneRange();G.setEndAfter(p);k=G.extractContents();s(k);o=k.firstChild;i.insertAfter(k,p);y(o);I(p);m(o)}}i.setAttrib(o,"id","");h.add()}f.onKeyDown.add(function(k,j){if(j.keyCode==13){if(g(j)!==false){j.preventDefault()}}})}})(tinymce); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/tiny_mce_popup.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/tiny_mce_popup.js
new file mode 100755
index 00000000..bb8e58c8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/tiny_mce_popup.js
@@ -0,0 +1,5 @@
+
+// Uncomment and change this document.domain value if you are loading the script cross subdomains
+// document.domain = 'moxiecode.com';
+
+var tinymce=null,tinyMCEPopup,tinyMCE;tinyMCEPopup={init:function(){var b=this,a,c;a=b.getWin();tinymce=a.tinymce;tinyMCE=a.tinyMCE;b.editor=tinymce.EditorManager.activeEditor;b.params=b.editor.windowManager.params;b.features=b.editor.windowManager.features;b.dom=b.editor.windowManager.createInstance("tinymce.dom.DOMUtils",document,{ownEvents:true,proxy:tinyMCEPopup._eventProxy});b.dom.bind(window,"ready",b._onDOMLoaded,b);if(b.features.popup_css!==false){b.dom.loadCSS(b.features.popup_css||b.editor.settings.popup_css)}b.listeners=[];b.onInit={add:function(e,d){b.listeners.push({func:e,scope:d})}};b.isWindow=!b.getWindowArg("mce_inline");b.id=b.getWindowArg("mce_window_id");b.editor.windowManager.onOpen.dispatch(b.editor.windowManager,window)},getWin:function(){return(!window.frameElement&&window.dialogArguments)||opener||parent||top},getWindowArg:function(c,b){var a=this.params[c];return tinymce.is(a)?a:b},getParam:function(b,a){return this.editor.getParam(b,a)},getLang:function(b,a){return this.editor.getLang(b,a)},execCommand:function(d,c,e,b){b=b||{};b.skip_focus=1;this.restoreSelection();return this.editor.execCommand(d,c,e,b)},resizeToInnerSize:function(){var a=this;setTimeout(function(){var b=a.dom.getViewPort(window);a.editor.windowManager.resizeBy(a.getWindowArg("mce_width")-b.w,a.getWindowArg("mce_height")-b.h,a.id||window)},10)},executeOnLoad:function(s){this.onInit.add(function(){eval(s)})},storeSelection:function(){this.editor.windowManager.bookmark=tinyMCEPopup.editor.selection.getBookmark(1)},restoreSelection:function(){var a=tinyMCEPopup;if(!a.isWindow&&tinymce.isIE){a.editor.selection.moveToBookmark(a.editor.windowManager.bookmark)}},requireLangPack:function(){var b=this,a=b.getWindowArg("plugin_url")||b.getWindowArg("theme_url");if(a&&b.editor.settings.language&&b.features.translate_i18n!==false&&b.editor.settings.language_load!==false){a+="/langs/"+b.editor.settings.language+"_dlg.js";if(!tinymce.ScriptLoader.isDone(a)){document.write('<script type="text/javascript" src="'+tinymce._addVer(a)+'"><\/script>');tinymce.ScriptLoader.markDone(a)}}},pickColor:function(b,a){this.execCommand("mceColorPicker",true,{color:document.getElementById(a).value,func:function(e){document.getElementById(a).value=e;try{document.getElementById(a).onchange()}catch(d){}}})},openBrowser:function(a,c,b){tinyMCEPopup.restoreSelection();this.editor.execCallback("file_browser_callback",a,document.getElementById(a).value,c,window)},confirm:function(b,a,c){this.editor.windowManager.confirm(b,a,c,window)},alert:function(b,a,c){this.editor.windowManager.alert(b,a,c,window)},close:function(){var a=this;function b(){a.editor.windowManager.close(window);tinymce=tinyMCE=a.editor=a.params=a.dom=a.dom.doc=null}if(tinymce.isOpera){a.getWin().setTimeout(b,0)}else{b()}},_restoreSelection:function(){var a=window.event.srcElement;if(a.nodeName=="INPUT"&&(a.type=="submit"||a.type=="button")){tinyMCEPopup.restoreSelection()}},_onDOMLoaded:function(){var b=tinyMCEPopup,d=document.title,e,c,a;if(b.features.translate_i18n!==false){c=document.body.innerHTML;if(tinymce.isIE){c=c.replace(/ (value|title|alt)=([^"][^\s>]+)/gi,' $1="$2"')}document.dir=b.editor.getParam("directionality","");if((a=b.editor.translate(c))&&a!=c){document.body.innerHTML=a}if((a=b.editor.translate(d))&&a!=d){document.title=d=a}}if(!b.editor.getParam("browser_preferred_colors",false)||!b.isWindow){b.dom.addClass(document.body,"forceColors")}document.body.style.display="";if(tinymce.isIE){document.attachEvent("onmouseup",tinyMCEPopup._restoreSelection);b.dom.add(b.dom.select("head")[0],"base",{target:"_self"})}b.restoreSelection();b.resizeToInnerSize();if(!b.isWindow){b.editor.windowManager.setTitle(window,d)}else{window.focus()}if(!tinymce.isIE&&!b.isWindow){b.dom.bind(document,"focus",function(){b.editor.windowManager.focus(b.id)})}tinymce.each(b.dom.select("select"),function(f){f.onkeydown=tinyMCEPopup._accessHandler});tinymce.each(b.listeners,function(f){f.func.call(f.scope,b.editor)});if(b.getWindowArg("mce_auto_focus",true)){window.focus();tinymce.each(document.forms,function(g){tinymce.each(g.elements,function(f){if(b.dom.hasClass(f,"mceFocus")&&!f.disabled){f.focus();return false}})})}document.onkeyup=tinyMCEPopup._closeWinKeyHandler},_accessHandler:function(a){a=a||window.event;if(a.keyCode==13||a.keyCode==32){var b=a.target||a.srcElement;if(b.onchange){b.onchange()}return tinymce.dom.Event.cancel(a)}},_closeWinKeyHandler:function(a){a=a||window.event;if(a.keyCode==27){tinyMCEPopup.close()}},_eventProxy:function(a){return function(b){tinyMCEPopup.dom.events.callNativeHandler(a,b)}}};tinyMCEPopup.init(); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/tiny_mce_src.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/tiny_mce_src.js
new file mode 100755
index 00000000..fab0d301
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/tiny_mce_src.js
@@ -0,0 +1,18988 @@
+// FILE IS GENERATED BY COMBINING THE SOURCES IN THE "classes" DIRECTORY SO DON'T MODIFY THIS FILE DIRECTLY
+(function(win) {
+ var whiteSpaceRe = /^\s*|\s*$/g,
+ undef, isRegExpBroken = 'B'.replace(/A(.)|B/, '$1') === '$1';
+
+ var tinymce = {
+ majorVersion : '3',
+
+ minorVersion : '5.7',
+
+ releaseDate : '2012-09-20',
+
+ _init : function() {
+ var t = this, d = document, na = navigator, ua = na.userAgent, i, nl, n, base, p, v;
+
+ t.isOpera = win.opera && opera.buildNumber;
+
+ t.isWebKit = /WebKit/.test(ua);
+
+ t.isIE = !t.isWebKit && !t.isOpera && (/MSIE/gi).test(ua) && (/Explorer/gi).test(na.appName);
+
+ t.isIE6 = t.isIE && /MSIE [56]/.test(ua);
+
+ t.isIE7 = t.isIE && /MSIE [7]/.test(ua);
+
+ t.isIE8 = t.isIE && /MSIE [8]/.test(ua);
+
+ t.isIE9 = t.isIE && /MSIE [9]/.test(ua);
+
+ t.isGecko = !t.isWebKit && /Gecko/.test(ua);
+
+ t.isMac = ua.indexOf('Mac') != -1;
+
+ t.isAir = /adobeair/i.test(ua);
+
+ t.isIDevice = /(iPad|iPhone)/.test(ua);
+
+ t.isIOS5 = t.isIDevice && ua.match(/AppleWebKit\/(\d*)/)[1]>=534;
+
+ // TinyMCE .NET webcontrol might be setting the values for TinyMCE
+ if (win.tinyMCEPreInit) {
+ t.suffix = tinyMCEPreInit.suffix;
+ t.baseURL = tinyMCEPreInit.base;
+ t.query = tinyMCEPreInit.query;
+ return;
+ }
+
+ // Get suffix and base
+ t.suffix = '';
+
+ // If base element found, add that infront of baseURL
+ nl = d.getElementsByTagName('base');
+ for (i=0; i<nl.length; i++) {
+ v = nl[i].href;
+ if (v) {
+ // Host only value like http://site.com or http://site.com:8008
+ if (/^https?:\/\/[^\/]+$/.test(v))
+ v += '/';
+
+ base = v ? v.match(/.*\//)[0] : ''; // Get only directory
+ }
+ }
+
+ function getBase(n) {
+ if (n.src && /tiny_mce(|_gzip|_jquery|_prototype|_full)(_dev|_src)?.js/.test(n.src)) {
+ if (/_(src|dev)\.js/g.test(n.src))
+ t.suffix = '_src';
+
+ if ((p = n.src.indexOf('?')) != -1)
+ t.query = n.src.substring(p + 1);
+
+ t.baseURL = n.src.substring(0, n.src.lastIndexOf('/'));
+
+ // If path to script is relative and a base href was found add that one infront
+ // the src property will always be an absolute one on non IE browsers and IE 8
+ // so this logic will basically only be executed on older IE versions
+ if (base && t.baseURL.indexOf('://') == -1 && t.baseURL.indexOf('/') !== 0)
+ t.baseURL = base + t.baseURL;
+
+ return t.baseURL;
+ }
+
+ return null;
+ };
+
+ // Check document
+ nl = d.getElementsByTagName('script');
+ for (i=0; i<nl.length; i++) {
+ if (getBase(nl[i]))
+ return;
+ }
+
+ // Check head
+ n = d.getElementsByTagName('head')[0];
+ if (n) {
+ nl = n.getElementsByTagName('script');
+ for (i=0; i<nl.length; i++) {
+ if (getBase(nl[i]))
+ return;
+ }
+ }
+
+ return;
+ },
+
+ is : function(o, t) {
+ if (!t)
+ return o !== undef;
+
+ if (t == 'array' && tinymce.isArray(o))
+ return true;
+
+ return typeof(o) == t;
+ },
+
+ isArray: Array.isArray || function(obj) {
+ return Object.prototype.toString.call(obj) === "[object Array]";
+ },
+
+ makeMap : function(items, delim, map) {
+ var i;
+
+ items = items || [];
+ delim = delim || ',';
+
+ if (typeof(items) == "string")
+ items = items.split(delim);
+
+ map = map || {};
+
+ i = items.length;
+ while (i--)
+ map[items[i]] = {};
+
+ return map;
+ },
+
+ each : function(o, cb, s) {
+ var n, l;
+
+ if (!o)
+ return 0;
+
+ s = s || o;
+
+ if (o.length !== undef) {
+ // Indexed arrays, needed for Safari
+ for (n=0, l = o.length; n < l; n++) {
+ if (cb.call(s, o[n], n, o) === false)
+ return 0;
+ }
+ } else {
+ // Hashtables
+ for (n in o) {
+ if (o.hasOwnProperty(n)) {
+ if (cb.call(s, o[n], n, o) === false)
+ return 0;
+ }
+ }
+ }
+
+ return 1;
+ },
+
+
+ map : function(a, f) {
+ var o = [];
+
+ tinymce.each(a, function(v) {
+ o.push(f(v));
+ });
+
+ return o;
+ },
+
+ grep : function(a, f) {
+ var o = [];
+
+ tinymce.each(a, function(v) {
+ if (!f || f(v))
+ o.push(v);
+ });
+
+ return o;
+ },
+
+ inArray : function(a, v) {
+ var i, l;
+
+ if (a) {
+ for (i = 0, l = a.length; i < l; i++) {
+ if (a[i] === v)
+ return i;
+ }
+ }
+
+ return -1;
+ },
+
+ extend : function(obj, ext) {
+ var i, l, name, args = arguments, value;
+
+ for (i = 1, l = args.length; i < l; i++) {
+ ext = args[i];
+ for (name in ext) {
+ if (ext.hasOwnProperty(name)) {
+ value = ext[name];
+
+ if (value !== undef) {
+ obj[name] = value;
+ }
+ }
+ }
+ }
+
+ return obj;
+ },
+
+
+ trim : function(s) {
+ return (s ? '' + s : '').replace(whiteSpaceRe, '');
+ },
+
+ create : function(s, p, root) {
+ var t = this, sp, ns, cn, scn, c, de = 0;
+
+ // Parse : <prefix> <class>:<super class>
+ s = /^((static) )?([\w.]+)(:([\w.]+))?/.exec(s);
+ cn = s[3].match(/(^|\.)(\w+)$/i)[2]; // Class name
+
+ // Create namespace for new class
+ ns = t.createNS(s[3].replace(/\.\w+$/, ''), root);
+
+ // Class already exists
+ if (ns[cn])
+ return;
+
+ // Make pure static class
+ if (s[2] == 'static') {
+ ns[cn] = p;
+
+ if (this.onCreate)
+ this.onCreate(s[2], s[3], ns[cn]);
+
+ return;
+ }
+
+ // Create default constructor
+ if (!p[cn]) {
+ p[cn] = function() {};
+ de = 1;
+ }
+
+ // Add constructor and methods
+ ns[cn] = p[cn];
+ t.extend(ns[cn].prototype, p);
+
+ // Extend
+ if (s[5]) {
+ sp = t.resolve(s[5]).prototype;
+ scn = s[5].match(/\.(\w+)$/i)[1]; // Class name
+
+ // Extend constructor
+ c = ns[cn];
+ if (de) {
+ // Add passthrough constructor
+ ns[cn] = function() {
+ return sp[scn].apply(this, arguments);
+ };
+ } else {
+ // Add inherit constructor
+ ns[cn] = function() {
+ this.parent = sp[scn];
+ return c.apply(this, arguments);
+ };
+ }
+ ns[cn].prototype[cn] = ns[cn];
+
+ // Add super methods
+ t.each(sp, function(f, n) {
+ ns[cn].prototype[n] = sp[n];
+ });
+
+ // Add overridden methods
+ t.each(p, function(f, n) {
+ // Extend methods if needed
+ if (sp[n]) {
+ ns[cn].prototype[n] = function() {
+ this.parent = sp[n];
+ return f.apply(this, arguments);
+ };
+ } else {
+ if (n != cn)
+ ns[cn].prototype[n] = f;
+ }
+ });
+ }
+
+ // Add static methods
+ t.each(p['static'], function(f, n) {
+ ns[cn][n] = f;
+ });
+
+ if (this.onCreate)
+ this.onCreate(s[2], s[3], ns[cn].prototype);
+ },
+
+ walk : function(o, f, n, s) {
+ s = s || this;
+
+ if (o) {
+ if (n)
+ o = o[n];
+
+ tinymce.each(o, function(o, i) {
+ if (f.call(s, o, i, n) === false)
+ return false;
+
+ tinymce.walk(o, f, n, s);
+ });
+ }
+ },
+
+ createNS : function(n, o) {
+ var i, v;
+
+ o = o || win;
+
+ n = n.split('.');
+ for (i=0; i<n.length; i++) {
+ v = n[i];
+
+ if (!o[v])
+ o[v] = {};
+
+ o = o[v];
+ }
+
+ return o;
+ },
+
+ resolve : function(n, o) {
+ var i, l;
+
+ o = o || win;
+
+ n = n.split('.');
+ for (i = 0, l = n.length; i < l; i++) {
+ o = o[n[i]];
+
+ if (!o)
+ break;
+ }
+
+ return o;
+ },
+
+ addUnload : function(f, s) {
+ var t = this, unload;
+
+ unload = function() {
+ var li = t.unloads, o, n;
+
+ if (li) {
+ // Call unload handlers
+ for (n in li) {
+ o = li[n];
+
+ if (o && o.func)
+ o.func.call(o.scope, 1); // Send in one arg to distinct unload and user destroy
+ }
+
+ // Detach unload function
+ if (win.detachEvent) {
+ win.detachEvent('onbeforeunload', fakeUnload);
+ win.detachEvent('onunload', unload);
+ } else if (win.removeEventListener)
+ win.removeEventListener('unload', unload, false);
+
+ // Destroy references
+ t.unloads = o = li = w = unload = 0;
+
+ // Run garbarge collector on IE
+ if (win.CollectGarbage)
+ CollectGarbage();
+ }
+ };
+
+ function fakeUnload() {
+ var d = document;
+
+ function stop() {
+ // Prevent memory leak
+ d.detachEvent('onstop', stop);
+
+ // Call unload handler
+ if (unload)
+ unload();
+
+ d = 0;
+ };
+
+ // Is there things still loading, then do some magic
+ if (d.readyState == 'interactive') {
+ // Fire unload when the currently loading page is stopped
+ if (d)
+ d.attachEvent('onstop', stop);
+
+ // Remove onstop listener after a while to prevent the unload function
+ // to execute if the user presses cancel in an onbeforeunload
+ // confirm dialog and then presses the browser stop button
+ win.setTimeout(function() {
+ if (d)
+ d.detachEvent('onstop', stop);
+ }, 0);
+ }
+ };
+
+ f = {func : f, scope : s || this};
+
+ if (!t.unloads) {
+ // Attach unload handler
+ if (win.attachEvent) {
+ win.attachEvent('onunload', unload);
+ win.attachEvent('onbeforeunload', fakeUnload);
+ } else if (win.addEventListener)
+ win.addEventListener('unload', unload, false);
+
+ // Setup initial unload handler array
+ t.unloads = [f];
+ } else
+ t.unloads.push(f);
+
+ return f;
+ },
+
+ removeUnload : function(f) {
+ var u = this.unloads, r = null;
+
+ tinymce.each(u, function(o, i) {
+ if (o && o.func == f) {
+ u.splice(i, 1);
+ r = f;
+ return false;
+ }
+ });
+
+ return r;
+ },
+
+ explode : function(s, d) {
+ if (!s || tinymce.is(s, 'array')) {
+ return s;
+ }
+
+ return tinymce.map(s.split(d || ','), tinymce.trim);
+ },
+
+ _addVer : function(u) {
+ var v;
+
+ if (!this.query)
+ return u;
+
+ v = (u.indexOf('?') == -1 ? '?' : '&') + this.query;
+
+ if (u.indexOf('#') == -1)
+ return u + v;
+
+ return u.replace('#', v + '#');
+ },
+
+ // Fix function for IE 9 where regexps isn't working correctly
+ // Todo: remove me once MS fixes the bug
+ _replace : function(find, replace, str) {
+ // On IE9 we have to fake $x replacement
+ if (isRegExpBroken) {
+ return str.replace(find, function() {
+ var val = replace, args = arguments, i;
+
+ for (i = 0; i < args.length - 2; i++) {
+ if (args[i] === undef) {
+ val = val.replace(new RegExp('\\$' + i, 'g'), '');
+ } else {
+ val = val.replace(new RegExp('\\$' + i, 'g'), args[i]);
+ }
+ }
+
+ return val;
+ });
+ }
+
+ return str.replace(find, replace);
+ }
+
+ };
+
+ // Initialize the API
+ tinymce._init();
+
+ // Expose tinymce namespace to the global namespace (window)
+ win.tinymce = win.tinyMCE = tinymce;
+
+ // Describe the different namespaces
+
+ })(window);
+
+
+
+tinymce.create('tinymce.util.Dispatcher', {
+ scope : null,
+ listeners : null,
+ inDispatch: false,
+
+ Dispatcher : function(scope) {
+ this.scope = scope || this;
+ this.listeners = [];
+ },
+
+ add : function(callback, scope) {
+ this.listeners.push({cb : callback, scope : scope || this.scope});
+
+ return callback;
+ },
+
+ addToTop : function(callback, scope) {
+ var self = this, listener = {cb : callback, scope : scope || self.scope};
+
+ // Create new listeners if addToTop is executed in a dispatch loop
+ if (self.inDispatch) {
+ self.listeners = [listener].concat(self.listeners);
+ } else {
+ self.listeners.unshift(listener);
+ }
+
+ return callback;
+ },
+
+ remove : function(callback) {
+ var listeners = this.listeners, output = null;
+
+ tinymce.each(listeners, function(listener, i) {
+ if (callback == listener.cb) {
+ output = listener;
+ listeners.splice(i, 1);
+ return false;
+ }
+ });
+
+ return output;
+ },
+
+ dispatch : function() {
+ var self = this, returnValue, args = arguments, i, listeners = self.listeners, listener;
+
+ self.inDispatch = true;
+
+ // Needs to be a real loop since the listener count might change while looping
+ // And this is also more efficient
+ for (i = 0; i < listeners.length; i++) {
+ listener = listeners[i];
+ returnValue = listener.cb.apply(listener.scope, args.length > 0 ? args : [listener.scope]);
+
+ if (returnValue === false)
+ break;
+ }
+
+ self.inDispatch = false;
+
+ return returnValue;
+ }
+
+ });
+
+(function() {
+ var each = tinymce.each;
+
+ tinymce.create('tinymce.util.URI', {
+ URI : function(u, s) {
+ var t = this, o, a, b, base_url;
+
+ // Trim whitespace
+ u = tinymce.trim(u);
+
+ // Default settings
+ s = t.settings = s || {};
+
+ // Strange app protocol that isn't http/https or local anchor
+ // For example: mailto,skype,tel etc.
+ if (/^([\w\-]+):([^\/]{2})/i.test(u) || /^\s*#/.test(u)) {
+ t.source = u;
+ return;
+ }
+
+ // Absolute path with no host, fake host and protocol
+ if (u.indexOf('/') === 0 && u.indexOf('//') !== 0)
+ u = (s.base_uri ? s.base_uri.protocol || 'http' : 'http') + '://mce_host' + u;
+
+ // Relative path http:// or protocol relative //path
+ if (!/^[\w\-]*:?\/\//.test(u)) {
+ base_url = s.base_uri ? s.base_uri.path : new tinymce.util.URI(location.href).directory;
+ u = ((s.base_uri && s.base_uri.protocol) || 'http') + '://mce_host' + t.toAbsPath(base_url, u);
+ }
+
+ // Parse URL (Credits goes to Steave, http://blog.stevenlevithan.com/archives/parseuri)
+ u = u.replace(/@@/g, '(mce_at)'); // Zope 3 workaround, they use @@something
+ u = /^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(u);
+ each(["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"], function(v, i) {
+ var s = u[i];
+
+ // Zope 3 workaround, they use @@something
+ if (s)
+ s = s.replace(/\(mce_at\)/g, '@@');
+
+ t[v] = s;
+ });
+
+ b = s.base_uri;
+ if (b) {
+ if (!t.protocol)
+ t.protocol = b.protocol;
+
+ if (!t.userInfo)
+ t.userInfo = b.userInfo;
+
+ if (!t.port && t.host === 'mce_host')
+ t.port = b.port;
+
+ if (!t.host || t.host === 'mce_host')
+ t.host = b.host;
+
+ t.source = '';
+ }
+
+ //t.path = t.path || '/';
+ },
+
+ setPath : function(p) {
+ var t = this;
+
+ p = /^(.*?)\/?(\w+)?$/.exec(p);
+
+ // Update path parts
+ t.path = p[0];
+ t.directory = p[1];
+ t.file = p[2];
+
+ // Rebuild source
+ t.source = '';
+ t.getURI();
+ },
+
+ toRelative : function(u) {
+ var t = this, o;
+
+ if (u === "./")
+ return u;
+
+ u = new tinymce.util.URI(u, {base_uri : t});
+
+ // Not on same domain/port or protocol
+ if ((u.host != 'mce_host' && t.host != u.host && u.host) || t.port != u.port || t.protocol != u.protocol)
+ return u.getURI();
+
+ var tu = t.getURI(), uu = u.getURI();
+
+ // Allow usage of the base_uri when relative_urls = true
+ if(tu == uu || (tu.charAt(tu.length - 1) == "/" && tu.substr(0, tu.length - 1) == uu))
+ return tu;
+
+ o = t.toRelPath(t.path, u.path);
+
+ // Add query
+ if (u.query)
+ o += '?' + u.query;
+
+ // Add anchor
+ if (u.anchor)
+ o += '#' + u.anchor;
+
+ return o;
+ },
+
+ toAbsolute : function(u, nh) {
+ u = new tinymce.util.URI(u, {base_uri : this});
+
+ return u.getURI(this.host == u.host && this.protocol == u.protocol ? nh : 0);
+ },
+
+ toRelPath : function(base, path) {
+ var items, bp = 0, out = '', i, l;
+
+ // Split the paths
+ base = base.substring(0, base.lastIndexOf('/'));
+ base = base.split('/');
+ items = path.split('/');
+
+ if (base.length >= items.length) {
+ for (i = 0, l = base.length; i < l; i++) {
+ if (i >= items.length || base[i] != items[i]) {
+ bp = i + 1;
+ break;
+ }
+ }
+ }
+
+ if (base.length < items.length) {
+ for (i = 0, l = items.length; i < l; i++) {
+ if (i >= base.length || base[i] != items[i]) {
+ bp = i + 1;
+ break;
+ }
+ }
+ }
+
+ if (bp === 1)
+ return path;
+
+ for (i = 0, l = base.length - (bp - 1); i < l; i++)
+ out += "../";
+
+ for (i = bp - 1, l = items.length; i < l; i++) {
+ if (i != bp - 1)
+ out += "/" + items[i];
+ else
+ out += items[i];
+ }
+
+ return out;
+ },
+
+ toAbsPath : function(base, path) {
+ var i, nb = 0, o = [], tr, outPath;
+
+ // Split paths
+ tr = /\/$/.test(path) ? '/' : '';
+ base = base.split('/');
+ path = path.split('/');
+
+ // Remove empty chunks
+ each(base, function(k) {
+ if (k)
+ o.push(k);
+ });
+
+ base = o;
+
+ // Merge relURLParts chunks
+ for (i = path.length - 1, o = []; i >= 0; i--) {
+ // Ignore empty or .
+ if (path[i].length === 0 || path[i] === ".")
+ continue;
+
+ // Is parent
+ if (path[i] === '..') {
+ nb++;
+ continue;
+ }
+
+ // Move up
+ if (nb > 0) {
+ nb--;
+ continue;
+ }
+
+ o.push(path[i]);
+ }
+
+ i = base.length - nb;
+
+ // If /a/b/c or /
+ if (i <= 0)
+ outPath = o.reverse().join('/');
+ else
+ outPath = base.slice(0, i).join('/') + '/' + o.reverse().join('/');
+
+ // Add front / if it's needed
+ if (outPath.indexOf('/') !== 0)
+ outPath = '/' + outPath;
+
+ // Add traling / if it's needed
+ if (tr && outPath.lastIndexOf('/') !== outPath.length - 1)
+ outPath += tr;
+
+ return outPath;
+ },
+
+ getURI : function(nh) {
+ var s, t = this;
+
+ // Rebuild source
+ if (!t.source || nh) {
+ s = '';
+
+ if (!nh) {
+ if (t.protocol)
+ s += t.protocol + '://';
+
+ if (t.userInfo)
+ s += t.userInfo + '@';
+
+ if (t.host)
+ s += t.host;
+
+ if (t.port)
+ s += ':' + t.port;
+ }
+
+ if (t.path)
+ s += t.path;
+
+ if (t.query)
+ s += '?' + t.query;
+
+ if (t.anchor)
+ s += '#' + t.anchor;
+
+ t.source = s;
+ }
+
+ return t.source;
+ }
+ });
+})();
+
+(function() {
+ var each = tinymce.each;
+
+ tinymce.create('static tinymce.util.Cookie', {
+ getHash : function(n) {
+ var v = this.get(n), h;
+
+ if (v) {
+ each(v.split('&'), function(v) {
+ v = v.split('=');
+ h = h || {};
+ h[unescape(v[0])] = unescape(v[1]);
+ });
+ }
+
+ return h;
+ },
+
+ setHash : function(n, v, e, p, d, s) {
+ var o = '';
+
+ each(v, function(v, k) {
+ o += (!o ? '' : '&') + escape(k) + '=' + escape(v);
+ });
+
+ this.set(n, o, e, p, d, s);
+ },
+
+ get : function(n) {
+ var c = document.cookie, e, p = n + "=", b;
+
+ // Strict mode
+ if (!c)
+ return;
+
+ b = c.indexOf("; " + p);
+
+ if (b == -1) {
+ b = c.indexOf(p);
+
+ if (b !== 0)
+ return null;
+ } else
+ b += 2;
+
+ e = c.indexOf(";", b);
+
+ if (e == -1)
+ e = c.length;
+
+ return unescape(c.substring(b + p.length, e));
+ },
+
+ set : function(n, v, e, p, d, s) {
+ document.cookie = n + "=" + escape(v) +
+ ((e) ? "; expires=" + e.toGMTString() : "") +
+ ((p) ? "; path=" + escape(p) : "") +
+ ((d) ? "; domain=" + d : "") +
+ ((s) ? "; secure" : "");
+ },
+
+ remove : function(name, path, domain) {
+ var date = new Date();
+
+ date.setTime(date.getTime() - 1000);
+
+ this.set(name, '', date, path, domain);
+ }
+ });
+})();
+
+(function() {
+ function serialize(o, quote) {
+ var i, v, t, name;
+
+ quote = quote || '"';
+
+ if (o == null)
+ return 'null';
+
+ t = typeof o;
+
+ if (t == 'string') {
+ v = '\bb\tt\nn\ff\rr\""\'\'\\\\';
+
+ return quote + o.replace(/([\u0080-\uFFFF\x00-\x1f\"\'\\])/g, function(a, b) {
+ // Make sure single quotes never get encoded inside double quotes for JSON compatibility
+ if (quote === '"' && a === "'")
+ return a;
+
+ i = v.indexOf(b);
+
+ if (i + 1)
+ return '\\' + v.charAt(i + 1);
+
+ a = b.charCodeAt().toString(16);
+
+ return '\\u' + '0000'.substring(a.length) + a;
+ }) + quote;
+ }
+
+ if (t == 'object') {
+ if (o.hasOwnProperty && Object.prototype.toString.call(o) === '[object Array]') {
+ for (i=0, v = '['; i<o.length; i++)
+ v += (i > 0 ? ',' : '') + serialize(o[i], quote);
+
+ return v + ']';
+ }
+
+ v = '{';
+
+ for (name in o) {
+ if (o.hasOwnProperty(name)) {
+ v += typeof o[name] != 'function' ? (v.length > 1 ? ',' + quote : quote) + name + quote +':' + serialize(o[name], quote) : '';
+ }
+ }
+
+ return v + '}';
+ }
+
+ return '' + o;
+ };
+
+ tinymce.util.JSON = {
+ serialize: serialize,
+
+ parse: function(s) {
+ try {
+ return eval('(' + s + ')');
+ } catch (ex) {
+ // Ignore
+ }
+ }
+
+ };
+})();
+
+tinymce.create('static tinymce.util.XHR', {
+ send : function(o) {
+ var x, t, w = window, c = 0;
+
+ function ready() {
+ if (!o.async || x.readyState == 4 || c++ > 10000) {
+ if (o.success && c < 10000 && x.status == 200)
+ o.success.call(o.success_scope, '' + x.responseText, x, o);
+ else if (o.error)
+ o.error.call(o.error_scope, c > 10000 ? 'TIMED_OUT' : 'GENERAL', x, o);
+
+ x = null;
+ } else
+ w.setTimeout(ready, 10);
+ };
+
+ // Default settings
+ o.scope = o.scope || this;
+ o.success_scope = o.success_scope || o.scope;
+ o.error_scope = o.error_scope || o.scope;
+ o.async = o.async === false ? false : true;
+ o.data = o.data || '';
+
+ function get(s) {
+ x = 0;
+
+ try {
+ x = new ActiveXObject(s);
+ } catch (ex) {
+ }
+
+ return x;
+ };
+
+ x = w.XMLHttpRequest ? new XMLHttpRequest() : get('Microsoft.XMLHTTP') || get('Msxml2.XMLHTTP');
+
+ if (x) {
+ if (x.overrideMimeType)
+ x.overrideMimeType(o.content_type);
+
+ x.open(o.type || (o.data ? 'POST' : 'GET'), o.url, o.async);
+
+ if (o.content_type)
+ x.setRequestHeader('Content-Type', o.content_type);
+
+ x.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
+
+ x.send(o.data);
+
+ // Syncronous request
+ if (!o.async)
+ return ready();
+
+ // Wait for response, onReadyStateChange can not be used since it leaks memory in IE
+ t = w.setTimeout(ready, 10);
+ }
+ }
+});
+
+(function() {
+ var extend = tinymce.extend, JSON = tinymce.util.JSON, XHR = tinymce.util.XHR;
+
+ tinymce.create('tinymce.util.JSONRequest', {
+ JSONRequest : function(s) {
+ this.settings = extend({
+ }, s);
+ this.count = 0;
+ },
+
+ send : function(o) {
+ var ecb = o.error, scb = o.success;
+
+ o = extend(this.settings, o);
+
+ o.success = function(c, x) {
+ c = JSON.parse(c);
+
+ if (typeof(c) == 'undefined') {
+ c = {
+ error : 'JSON Parse error.'
+ };
+ }
+
+ if (c.error)
+ ecb.call(o.error_scope || o.scope, c.error, x);
+ else
+ scb.call(o.success_scope || o.scope, c.result);
+ };
+
+ o.error = function(ty, x) {
+ if (ecb)
+ ecb.call(o.error_scope || o.scope, ty, x);
+ };
+
+ o.data = JSON.serialize({
+ id : o.id || 'c' + (this.count++),
+ method : o.method,
+ params : o.params
+ });
+
+ // JSON content type for Ruby on rails. Bug: #1883287
+ o.content_type = 'application/json';
+
+ XHR.send(o);
+ },
+
+ 'static' : {
+ sendRPC : function(o) {
+ return new tinymce.util.JSONRequest().send(o);
+ }
+ }
+ });
+}());
+(function(tinymce){
+ tinymce.VK = {
+ BACKSPACE: 8,
+ DELETE: 46,
+ DOWN: 40,
+ ENTER: 13,
+ LEFT: 37,
+ RIGHT: 39,
+ SPACEBAR: 32,
+ TAB: 9,
+ UP: 38,
+
+ modifierPressed: function (e) {
+ return e.shiftKey || e.ctrlKey || e.altKey;
+ },
+
+ metaKeyPressed: function(e) {
+ // Check if ctrl or meta key is pressed also check if alt is false for Polish users
+ return tinymce.isMac ? e.metaKey : e.ctrlKey && !e.altKey;
+ }
+ };
+})(tinymce);
+
+tinymce.util.Quirks = function(editor) {
+ var VK = tinymce.VK, BACKSPACE = VK.BACKSPACE, DELETE = VK.DELETE, dom = editor.dom, selection = editor.selection,
+ settings = editor.settings, parser = editor.parser, serializer = editor.serializer;
+
+ function setEditorCommandState(cmd, state) {
+ try {
+ editor.getDoc().execCommand(cmd, false, state);
+ } catch (ex) {
+ // Ignore
+ }
+ }
+
+ function getDocumentMode() {
+ var documentMode = editor.getDoc().documentMode;
+
+ return documentMode ? documentMode : 6;
+ };
+
+ function isDefaultPrevented(e) {
+ return e.isDefaultPrevented();
+ };
+
+ function cleanupStylesWhenDeleting() {
+ function removeMergedFormatSpans(isDelete) {
+ var rng, blockElm, node, clonedSpan;
+
+ rng = selection.getRng();
+
+ // Find root block
+ blockElm = dom.getParent(rng.startContainer, dom.isBlock);
+
+ // On delete clone the root span of the next block element
+ if (isDelete)
+ blockElm = dom.getNext(blockElm, dom.isBlock);
+
+ // Locate root span element and clone it since it would otherwise get merged by the "apple-style-span" on delete/backspace
+ if (blockElm) {
+ node = blockElm.firstChild;
+
+ // Ignore empty text nodes
+ while (node && node.nodeType == 3 && node.nodeValue.length === 0)
+ node = node.nextSibling;
+
+ if (node && node.nodeName === 'SPAN') {
+ clonedSpan = node.cloneNode(false);
+ }
+ }
+
+ // Do the backspace/delete action
+ editor.getDoc().execCommand(isDelete ? 'ForwardDelete' : 'Delete', false, null);
+
+ // Find all odd apple-style-spans
+ blockElm = dom.getParent(rng.startContainer, dom.isBlock);
+ tinymce.each(dom.select('span.Apple-style-span,font.Apple-style-span', blockElm), function(span) {
+ var bm = selection.getBookmark();
+
+ if (clonedSpan) {
+ dom.replace(clonedSpan.cloneNode(false), span, true);
+ } else {
+ dom.remove(span, true);
+ }
+
+ // Restore the selection
+ selection.moveToBookmark(bm);
+ });
+ };
+
+ editor.onKeyDown.add(function(editor, e) {
+ var isDelete;
+
+ isDelete = e.keyCode == DELETE;
+ if (!isDefaultPrevented(e) && (isDelete || e.keyCode == BACKSPACE) && !VK.modifierPressed(e)) {
+ e.preventDefault();
+ removeMergedFormatSpans(isDelete);
+ }
+ });
+
+ editor.addCommand('Delete', function() {removeMergedFormatSpans();});
+ };
+
+ function emptyEditorWhenDeleting() {
+ function serializeRng(rng) {
+ var body = dom.create("body");
+ var contents = rng.cloneContents();
+ body.appendChild(contents);
+ return selection.serializer.serialize(body, {format: 'html'});
+ }
+
+ function allContentsSelected(rng) {
+ var selection = serializeRng(rng);
+
+ var allRng = dom.createRng();
+ allRng.selectNode(editor.getBody());
+
+ var allSelection = serializeRng(allRng);
+ return selection === allSelection;
+ }
+
+ editor.onKeyDown.add(function(editor, e) {
+ var keyCode = e.keyCode, isCollapsed;
+
+ // Empty the editor if it's needed for example backspace at <p><b>|</b></p>
+ if (!isDefaultPrevented(e) && (keyCode == DELETE || keyCode == BACKSPACE)) {
+ isCollapsed = editor.selection.isCollapsed();
+
+ // Selection is collapsed but the editor isn't empty
+ if (isCollapsed && !dom.isEmpty(editor.getBody())) {
+ return;
+ }
+
+ // IE deletes all contents correctly when everything is selected
+ if (tinymce.isIE && !isCollapsed) {
+ return;
+ }
+
+ // Selection isn't collapsed but not all the contents is selected
+ if (!isCollapsed && !allContentsSelected(editor.selection.getRng())) {
+ return;
+ }
+
+ // Manually empty the editor
+ editor.setContent('');
+ editor.selection.setCursorLocation(editor.getBody(), 0);
+ editor.nodeChanged();
+ }
+ });
+ };
+
+ function selectAll() {
+ editor.onKeyDown.add(function(editor, e) {
+ if (!isDefaultPrevented(e) && e.keyCode == 65 && VK.metaKeyPressed(e)) {
+ e.preventDefault();
+ editor.execCommand('SelectAll');
+ }
+ });
+ };
+
+ function inputMethodFocus() {
+ if (!editor.settings.content_editable) {
+ // Case 1 IME doesn't initialize if you focus the document
+ dom.bind(editor.getDoc(), 'focusin', function(e) {
+ selection.setRng(selection.getRng());
+ });
+
+ // Case 2 IME doesn't initialize if you click the documentElement it also doesn't properly fire the focusin event
+ dom.bind(editor.getDoc(), 'mousedown', function(e) {
+ if (e.target == editor.getDoc().documentElement) {
+ editor.getWin().focus();
+ selection.setRng(selection.getRng());
+ }
+ });
+ }
+ };
+
+ function removeHrOnBackspace() {
+ editor.onKeyDown.add(function(editor, e) {
+ if (!isDefaultPrevented(e) && e.keyCode === BACKSPACE) {
+ if (selection.isCollapsed() && selection.getRng(true).startOffset === 0) {
+ var node = selection.getNode();
+ var previousSibling = node.previousSibling;
+
+ if (previousSibling && previousSibling.nodeName && previousSibling.nodeName.toLowerCase() === "hr") {
+ dom.remove(previousSibling);
+ tinymce.dom.Event.cancel(e);
+ }
+ }
+ }
+ })
+ }
+
+ function focusBody() {
+ // Fix for a focus bug in FF 3.x where the body element
+ // wouldn't get proper focus if the user clicked on the HTML element
+ if (!Range.prototype.getClientRects) { // Detect getClientRects got introduced in FF 4
+ editor.onMouseDown.add(function(editor, e) {
+ if (!isDefaultPrevented(e) && e.target.nodeName === "HTML") {
+ var body = editor.getBody();
+
+ // Blur the body it's focused but not correctly focused
+ body.blur();
+
+ // Refocus the body after a little while
+ setTimeout(function() {
+ body.focus();
+ }, 0);
+ }
+ });
+ }
+ };
+
+ function selectControlElements() {
+ editor.onClick.add(function(editor, e) {
+ e = e.target;
+
+ // Workaround for bug, http://bugs.webkit.org/show_bug.cgi?id=12250
+ // WebKit can't even do simple things like selecting an image
+ // Needs tobe the setBaseAndExtend or it will fail to select floated images
+ if (/^(IMG|HR)$/.test(e.nodeName)) {
+ selection.getSel().setBaseAndExtent(e, 0, e, 1);
+ }
+
+ if (e.nodeName == 'A' && dom.hasClass(e, 'mceItemAnchor')) {
+ selection.select(e);
+ }
+
+ editor.nodeChanged();
+ });
+ };
+
+ function removeStylesWhenDeletingAccrossBlockElements() {
+ function getAttributeApplyFunction() {
+ var template = dom.getAttribs(selection.getStart().cloneNode(false));
+
+ return function() {
+ var target = selection.getStart();
+
+ if (target !== editor.getBody()) {
+ dom.setAttrib(target, "style", null);
+
+ tinymce.each(template, function(attr) {
+ target.setAttributeNode(attr.cloneNode(true));
+ });
+ }
+ };
+ }
+
+ function isSelectionAcrossElements() {
+ return !selection.isCollapsed() && dom.getParent(selection.getStart(), dom.isBlock) != dom.getParent(selection.getEnd(), dom.isBlock);
+ }
+
+ function blockEvent(editor, e) {
+ e.preventDefault();
+ return false;
+ }
+
+ editor.onKeyPress.add(function(editor, e) {
+ var applyAttributes;
+
+ if (!isDefaultPrevented(e) && (e.keyCode == 8 || e.keyCode == 46) && isSelectionAcrossElements()) {
+ applyAttributes = getAttributeApplyFunction();
+ editor.getDoc().execCommand('delete', false, null);
+ applyAttributes();
+ e.preventDefault();
+ return false;
+ }
+ });
+
+ dom.bind(editor.getDoc(), 'cut', function(e) {
+ var applyAttributes;
+
+ if (!isDefaultPrevented(e) && isSelectionAcrossElements()) {
+ applyAttributes = getAttributeApplyFunction();
+ editor.onKeyUp.addToTop(blockEvent);
+
+ setTimeout(function() {
+ applyAttributes();
+ editor.onKeyUp.remove(blockEvent);
+ }, 0);
+ }
+ });
+ }
+
+ function selectionChangeNodeChanged() {
+ var lastRng, selectionTimer;
+
+ dom.bind(editor.getDoc(), 'selectionchange', function() {
+ if (selectionTimer) {
+ clearTimeout(selectionTimer);
+ selectionTimer = 0;
+ }
+
+ selectionTimer = window.setTimeout(function() {
+ var rng = selection.getRng();
+
+ // Compare the ranges to see if it was a real change or not
+ if (!lastRng || !tinymce.dom.RangeUtils.compareRanges(rng, lastRng)) {
+ editor.nodeChanged();
+ lastRng = rng;
+ }
+ }, 50);
+ });
+ }
+
+ function ensureBodyHasRoleApplication() {
+ document.body.setAttribute("role", "application");
+ }
+
+ function disableBackspaceIntoATable() {
+ editor.onKeyDown.add(function(editor, e) {
+ if (!isDefaultPrevented(e) && e.keyCode === BACKSPACE) {
+ if (selection.isCollapsed() && selection.getRng(true).startOffset === 0) {
+ var previousSibling = selection.getNode().previousSibling;
+ if (previousSibling && previousSibling.nodeName && previousSibling.nodeName.toLowerCase() === "table") {
+ return tinymce.dom.Event.cancel(e);
+ }
+ }
+ }
+ })
+ }
+
+ function addNewLinesBeforeBrInPre() {
+ // IE8+ rendering mode does the right thing with BR in PRE
+ if (getDocumentMode() > 7) {
+ return;
+ }
+
+ // Enable display: none in area and add a specific class that hides all BR elements in PRE to
+ // avoid the caret from getting stuck at the BR elements while pressing the right arrow key
+ setEditorCommandState('RespectVisibilityInDesign', true);
+ editor.contentStyles.push('.mceHideBrInPre pre br {display: none}');
+ dom.addClass(editor.getBody(), 'mceHideBrInPre');
+
+ // Adds a \n before all BR elements in PRE to get them visual
+ parser.addNodeFilter('pre', function(nodes, name) {
+ var i = nodes.length, brNodes, j, brElm, sibling;
+
+ while (i--) {
+ brNodes = nodes[i].getAll('br');
+ j = brNodes.length;
+ while (j--) {
+ brElm = brNodes[j];
+
+ // Add \n before BR in PRE elements on older IE:s so the new lines get rendered
+ sibling = brElm.prev;
+ if (sibling && sibling.type === 3 && sibling.value.charAt(sibling.value - 1) != '\n') {
+ sibling.value += '\n';
+ } else {
+ brElm.parent.insert(new tinymce.html.Node('#text', 3), brElm, true).value = '\n';
+ }
+ }
+ }
+ });
+
+ // Removes any \n before BR elements in PRE since other browsers and in contentEditable=false mode they will be visible
+ serializer.addNodeFilter('pre', function(nodes, name) {
+ var i = nodes.length, brNodes, j, brElm, sibling;
+
+ while (i--) {
+ brNodes = nodes[i].getAll('br');
+ j = brNodes.length;
+ while (j--) {
+ brElm = brNodes[j];
+ sibling = brElm.prev;
+ if (sibling && sibling.type == 3) {
+ sibling.value = sibling.value.replace(/\r?\n$/, '');
+ }
+ }
+ }
+ });
+ }
+
+ function removePreSerializedStylesWhenSelectingControls() {
+ dom.bind(editor.getBody(), 'mouseup', function(e) {
+ var value, node = selection.getNode();
+
+ // Moved styles to attributes on IMG eements
+ if (node.nodeName == 'IMG') {
+ // Convert style width to width attribute
+ if (value = dom.getStyle(node, 'width')) {
+ dom.setAttrib(node, 'width', value.replace(/[^0-9%]+/g, ''));
+ dom.setStyle(node, 'width', '');
+ }
+
+ // Convert style height to height attribute
+ if (value = dom.getStyle(node, 'height')) {
+ dom.setAttrib(node, 'height', value.replace(/[^0-9%]+/g, ''));
+ dom.setStyle(node, 'height', '');
+ }
+ }
+ });
+ }
+
+ function keepInlineElementOnDeleteBackspace() {
+ editor.onKeyDown.add(function(editor, e) {
+ var isDelete, rng, container, offset, brElm, sibling, collapsed;
+
+ isDelete = e.keyCode == DELETE;
+ if (!isDefaultPrevented(e) && (isDelete || e.keyCode == BACKSPACE) && !VK.modifierPressed(e)) {
+ rng = selection.getRng();
+ container = rng.startContainer;
+ offset = rng.startOffset;
+ collapsed = rng.collapsed;
+
+ // Override delete if the start container is a text node and is at the beginning of text or
+ // just before/after the last character to be deleted in collapsed mode
+ if (container.nodeType == 3 && container.nodeValue.length > 0 && ((offset === 0 && !collapsed) || (collapsed && offset === (isDelete ? 0 : 1)))) {
+ nonEmptyElements = editor.schema.getNonEmptyElements();
+
+ // Prevent default logic since it's broken
+ e.preventDefault();
+
+ // Insert a BR before the text node this will prevent the containing element from being deleted/converted
+ brElm = dom.create('br', {id: '__tmp'});
+ container.parentNode.insertBefore(brElm, container);
+
+ // Do the browser delete
+ editor.getDoc().execCommand(isDelete ? 'ForwardDelete' : 'Delete', false, null);
+
+ // Check if the previous sibling is empty after deleting for example: <p><b></b>|</p>
+ container = selection.getRng().startContainer;
+ sibling = container.previousSibling;
+ if (sibling && sibling.nodeType == 1 && !dom.isBlock(sibling) && dom.isEmpty(sibling) && !nonEmptyElements[sibling.nodeName.toLowerCase()]) {
+ dom.remove(sibling);
+ }
+
+ // Remove the temp element we inserted
+ dom.remove('__tmp');
+ }
+ }
+ });
+ }
+
+ function removeBlockQuoteOnBackSpace() {
+ // Add block quote deletion handler
+ editor.onKeyDown.add(function(editor, e) {
+ var rng, container, offset, root, parent;
+
+ if (isDefaultPrevented(e) || e.keyCode != VK.BACKSPACE) {
+ return;
+ }
+
+ rng = selection.getRng();
+ container = rng.startContainer;
+ offset = rng.startOffset;
+ root = dom.getRoot();
+ parent = container;
+
+ if (!rng.collapsed || offset !== 0) {
+ return;
+ }
+
+ while (parent && parent.parentNode && parent.parentNode.firstChild == parent && parent.parentNode != root) {
+ parent = parent.parentNode;
+ }
+
+ // Is the cursor at the beginning of a blockquote?
+ if (parent.tagName === 'BLOCKQUOTE') {
+ // Remove the blockquote
+ editor.formatter.toggle('blockquote', null, parent);
+
+ // Move the caret to the beginning of container
+ rng = dom.createRng();
+ rng.setStart(container, 0);
+ rng.setEnd(container, 0);
+ selection.setRng(rng);
+ }
+ });
+ };
+
+ function setGeckoEditingOptions() {
+ function setOpts() {
+ editor._refreshContentEditable();
+
+ setEditorCommandState("StyleWithCSS", false);
+ setEditorCommandState("enableInlineTableEditing", false);
+
+ if (!settings.object_resizing) {
+ setEditorCommandState("enableObjectResizing", false);
+ }
+ };
+
+ if (!settings.readonly) {
+ editor.onBeforeExecCommand.add(setOpts);
+ editor.onMouseDown.add(setOpts);
+ }
+ };
+
+ function addBrAfterLastLinks() {
+ function fixLinks(editor, o) {
+ tinymce.each(dom.select('a'), function(node) {
+ var parentNode = node.parentNode, root = dom.getRoot();
+
+ if (parentNode.lastChild === node) {
+ while (parentNode && !dom.isBlock(parentNode)) {
+ if (parentNode.parentNode.lastChild !== parentNode || parentNode === root) {
+ return;
+ }
+
+ parentNode = parentNode.parentNode;
+ }
+
+ dom.add(parentNode, 'br', {'data-mce-bogus' : 1});
+ }
+ });
+ };
+
+ editor.onExecCommand.add(function(editor, cmd) {
+ if (cmd === 'CreateLink') {
+ fixLinks(editor);
+ }
+ });
+
+ editor.onSetContent.add(selection.onSetContent.add(fixLinks));
+ };
+
+ function setDefaultBlockType() {
+ if (settings.forced_root_block) {
+ editor.onInit.add(function() {
+ setEditorCommandState('DefaultParagraphSeparator', settings.forced_root_block);
+ });
+ }
+ }
+
+ function removeGhostSelection() {
+ function repaint(sender, args) {
+ if (!sender || !args.initial) {
+ editor.execCommand('mceRepaint');
+ }
+ };
+
+ editor.onUndo.add(repaint);
+ editor.onRedo.add(repaint);
+ editor.onSetContent.add(repaint);
+ };
+
+ function deleteControlItemOnBackSpace() {
+ editor.onKeyDown.add(function(editor, e) {
+ var rng;
+
+ if (!isDefaultPrevented(e) && e.keyCode == BACKSPACE) {
+ rng = editor.getDoc().selection.createRange();
+ if (rng && rng.item) {
+ e.preventDefault();
+ editor.undoManager.beforeChange();
+ dom.remove(rng.item(0));
+ editor.undoManager.add();
+ }
+ }
+ });
+ };
+
+ function renderEmptyBlocksFix() {
+ var emptyBlocksCSS;
+
+ // IE10+
+ if (getDocumentMode() >= 10) {
+ emptyBlocksCSS = '';
+ tinymce.each('p div h1 h2 h3 h4 h5 h6'.split(' '), function(name, i) {
+ emptyBlocksCSS += (i > 0 ? ',' : '') + name + ':empty';
+ });
+
+ editor.contentStyles.push(emptyBlocksCSS + '{padding-right: 1px !important}');
+ }
+ };
+
+ function fakeImageResize() {
+ var selectedElmX, selectedElmY, selectedElm, selectedElmGhost, selectedHandle, startX, startY, startW, startH, ratio,
+ resizeHandles, width, height, rootDocument = document, editableDoc = editor.getDoc();
+
+ if (!settings.object_resizing || settings.webkit_fake_resize === false) {
+ return;
+ }
+
+ // Try disabling object resizing if WebKit implements resizing in the future
+ setEditorCommandState("enableObjectResizing", false);
+
+ // Details about each resize handle how to scale etc
+ resizeHandles = {
+ // Name: x multiplier, y multiplier, delta size x, delta size y
+ n: [.5, 0, 0, -1],
+ e: [1, .5, 1, 0],
+ s: [.5, 1, 0, 1],
+ w: [0, .5, -1, 0],
+ nw: [0, 0, -1, -1],
+ ne: [1, 0, 1, -1],
+ se: [1, 1, 1, 1],
+ sw : [0, 1, -1, 1]
+ };
+
+ function resizeElement(e) {
+ var deltaX, deltaY;
+
+ // Calc new width/height
+ deltaX = e.screenX - startX;
+ deltaY = e.screenY - startY;
+
+ // Calc new size
+ width = deltaX * selectedHandle[2] + startW;
+ height = deltaY * selectedHandle[3] + startH;
+
+ // Never scale down lower than 5 pixels
+ width = width < 5 ? 5 : width;
+ height = height < 5 ? 5 : height;
+
+ // Constrain proportions when modifier key is pressed or if the nw, ne, sw, se corners are moved on an image
+ if (VK.modifierPressed(e) || (selectedElm.nodeName == "IMG" && selectedHandle[2] * selectedHandle[3] !== 0)) {
+ width = Math.round(height / ratio);
+ height = Math.round(width * ratio);
+ }
+
+ // Update ghost size
+ dom.setStyles(selectedElmGhost, {
+ width: width,
+ height: height
+ });
+
+ // Update ghost X position if needed
+ if (selectedHandle[2] < 0 && selectedElmGhost.clientWidth <= width) {
+ dom.setStyle(selectedElmGhost, 'left', selectedElmX + (startW - width));
+ }
+
+ // Update ghost Y position if needed
+ if (selectedHandle[3] < 0 && selectedElmGhost.clientHeight <= height) {
+ dom.setStyle(selectedElmGhost, 'top', selectedElmY + (startH - height));
+ }
+ }
+
+ function endResize() {
+ function setSizeProp(name, value) {
+ if (value) {
+ // Resize by using style or attribute
+ if (selectedElm.style[name] || !editor.schema.isValid(selectedElm.nodeName.toLowerCase(), name)) {
+ dom.setStyle(selectedElm, name, value);
+ } else {
+ dom.setAttrib(selectedElm, name, value);
+ }
+ }
+ }
+
+ // Set width/height properties
+ setSizeProp('width', width);
+ setSizeProp('height', height);
+
+ dom.unbind(editableDoc, 'mousemove', resizeElement);
+ dom.unbind(editableDoc, 'mouseup', endResize);
+
+ if (rootDocument != editableDoc) {
+ dom.unbind(rootDocument, 'mousemove', resizeElement);
+ dom.unbind(rootDocument, 'mouseup', endResize);
+ }
+
+ // Remove ghost and update resize handle positions
+ dom.remove(selectedElmGhost);
+ showResizeRect(selectedElm);
+ }
+
+ function showResizeRect(targetElm) {
+ var position, targetWidth, targetHeight;
+
+ hideResizeRect();
+
+ // Get position and size of target
+ position = dom.getPos(targetElm);
+ selectedElmX = position.x;
+ selectedElmY = position.y;
+ targetWidth = targetElm.offsetWidth;
+ targetHeight = targetElm.offsetHeight;
+
+ // Reset width/height if user selects a new image/table
+ if (selectedElm != targetElm) {
+ selectedElm = targetElm;
+ width = height = 0;
+ }
+
+ tinymce.each(resizeHandles, function(handle, name) {
+ var handleElm;
+
+ // Get existing or render resize handle
+ handleElm = dom.get('mceResizeHandle' + name);
+ if (!handleElm) {
+ handleElm = dom.add(editableDoc.documentElement, 'div', {
+ id: 'mceResizeHandle' + name,
+ 'class': 'mceResizeHandle',
+ style: 'cursor:' + name + '-resize; margin:0; padding:0'
+ });
+
+ dom.bind(handleElm, 'mousedown', function(e) {
+ e.preventDefault();
+
+ endResize();
+
+ startX = e.screenX;
+ startY = e.screenY;
+ startW = selectedElm.clientWidth;
+ startH = selectedElm.clientHeight;
+ ratio = startH / startW;
+ selectedHandle = handle;
+
+ selectedElmGhost = selectedElm.cloneNode(true);
+ dom.addClass(selectedElmGhost, 'mceClonedResizable');
+ dom.setStyles(selectedElmGhost, {
+ left: selectedElmX,
+ top: selectedElmY,
+ margin: 0
+ });
+
+ editableDoc.documentElement.appendChild(selectedElmGhost);
+
+ dom.bind(editableDoc, 'mousemove', resizeElement);
+ dom.bind(editableDoc, 'mouseup', endResize);
+
+ if (rootDocument != editableDoc) {
+ dom.bind(rootDocument, 'mousemove', resizeElement);
+ dom.bind(rootDocument, 'mouseup', endResize);
+ }
+ });
+ } else {
+ dom.show(handleElm);
+ }
+
+ // Position element
+ dom.setStyles(handleElm, {
+ left: (targetWidth * handle[0] + selectedElmX) - (handleElm.offsetWidth / 2),
+ top: (targetHeight * handle[1] + selectedElmY) - (handleElm.offsetHeight / 2)
+ });
+ });
+
+ // Only add resize rectangle on WebKit and only on images
+ if (!tinymce.isOpera && selectedElm.nodeName == "IMG") {
+ selectedElm.setAttribute('data-mce-selected', '1');
+ }
+ }
+
+ function hideResizeRect() {
+ if (selectedElm) {
+ selectedElm.removeAttribute('data-mce-selected');
+ }
+
+ for (var name in resizeHandles) {
+ dom.hide('mceResizeHandle' + name);
+ }
+ }
+
+ // Add CSS for resize handles, cloned element and selected
+ editor.contentStyles.push(
+ '.mceResizeHandle {' +
+ 'position: absolute;' +
+ 'border: 1px solid black;' +
+ 'background: #FFF;' +
+ 'width: 5px;' +
+ 'height: 5px;' +
+ 'z-index: 10000' +
+ '}' +
+ '.mceResizeHandle:hover {' +
+ 'background: #000' +
+ '}' +
+ 'img[data-mce-selected] {' +
+ 'outline: 1px solid black' +
+ '}' +
+ 'img.mceClonedResizable, table.mceClonedResizable {' +
+ 'position: absolute;' +
+ 'outline: 1px dashed black;' +
+ 'opacity: .5;' +
+ 'z-index: 10000' +
+ '}'
+ );
+
+ function updateResizeRect() {
+ var controlElm = dom.getParent(selection.getNode(), 'table,img');
+
+ // Remove data-mce-selected from all elements since they might have been copied using Ctrl+c/v
+ tinymce.each(dom.select('img[data-mce-selected]'), function(img) {
+ img.removeAttribute('data-mce-selected');
+ });
+
+ if (controlElm) {
+ showResizeRect(controlElm);
+ } else {
+ hideResizeRect();
+ }
+ }
+
+ // Show/hide resize rect when image is selected
+ editor.onNodeChange.add(updateResizeRect);
+
+ // Fixes WebKit quirk where it returns IMG on getNode if caret is after last image in container
+ dom.bind(editableDoc, 'selectionchange', updateResizeRect);
+
+ // Remove the internal attribute when serializing the DOM
+ editor.serializer.addAttributeFilter('data-mce-selected', function(nodes, name) {
+ var i = nodes.length;
+
+ while (i--) {
+ nodes[i].attr(name, null);
+ }
+ });
+ }
+
+ function keepNoScriptContents() {
+ if (getDocumentMode() < 9) {
+ parser.addNodeFilter('noscript', function(nodes) {
+ var i = nodes.length, node, textNode;
+
+ while (i--) {
+ node = nodes[i];
+ textNode = node.firstChild;
+
+ if (textNode) {
+ node.attr('data-mce-innertext', textNode.value);
+ }
+ }
+ });
+
+ serializer.addNodeFilter('noscript', function(nodes) {
+ var i = nodes.length, node, textNode, value;
+
+ while (i--) {
+ node = nodes[i];
+ textNode = nodes[i].firstChild;
+
+ if (textNode) {
+ textNode.value = tinymce.html.Entities.decode(textNode.value);
+ } else {
+ // Old IE can't retain noscript value so an attribute is used to store it
+ value = node.attributes.map['data-mce-innertext'];
+ if (value) {
+ node.attr('data-mce-innertext', null);
+ textNode = new tinymce.html.Node('#text', 3);
+ textNode.value = value;
+ textNode.raw = true;
+ node.append(textNode);
+ }
+ }
+ }
+ });
+ }
+ }
+
+ // All browsers
+ disableBackspaceIntoATable();
+ removeBlockQuoteOnBackSpace();
+ emptyEditorWhenDeleting();
+
+ // WebKit
+ if (tinymce.isWebKit) {
+ keepInlineElementOnDeleteBackspace();
+ cleanupStylesWhenDeleting();
+ inputMethodFocus();
+ selectControlElements();
+ setDefaultBlockType();
+
+ // iOS
+ if (tinymce.isIDevice) {
+ selectionChangeNodeChanged();
+ } else {
+ fakeImageResize();
+ selectAll();
+ }
+ }
+
+ // IE
+ if (tinymce.isIE) {
+ removeHrOnBackspace();
+ ensureBodyHasRoleApplication();
+ addNewLinesBeforeBrInPre();
+ removePreSerializedStylesWhenSelectingControls();
+ deleteControlItemOnBackSpace();
+ renderEmptyBlocksFix();
+ keepNoScriptContents();
+ }
+
+ // Gecko
+ if (tinymce.isGecko) {
+ removeHrOnBackspace();
+ focusBody();
+ removeStylesWhenDeletingAccrossBlockElements();
+ setGeckoEditingOptions();
+ addBrAfterLastLinks();
+ removeGhostSelection();
+ }
+
+ // Opera
+ if (tinymce.isOpera) {
+ fakeImageResize();
+ }
+};
+(function(tinymce) {
+ var namedEntities, baseEntities, reverseEntities,
+ attrsCharsRegExp = /[&<>\"\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,
+ textCharsRegExp = /[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,
+ rawCharsRegExp = /[<>&\"\']/g,
+ entityRegExp = /&(#x|#)?([\w]+);/g,
+ asciiMap = {
+ 128 : "\u20AC", 130 : "\u201A", 131 : "\u0192", 132 : "\u201E", 133 : "\u2026", 134 : "\u2020",
+ 135 : "\u2021", 136 : "\u02C6", 137 : "\u2030", 138 : "\u0160", 139 : "\u2039", 140 : "\u0152",
+ 142 : "\u017D", 145 : "\u2018", 146 : "\u2019", 147 : "\u201C", 148 : "\u201D", 149 : "\u2022",
+ 150 : "\u2013", 151 : "\u2014", 152 : "\u02DC", 153 : "\u2122", 154 : "\u0161", 155 : "\u203A",
+ 156 : "\u0153", 158 : "\u017E", 159 : "\u0178"
+ };
+
+ // Raw entities
+ baseEntities = {
+ '\"' : '&quot;', // Needs to be escaped since the YUI compressor would otherwise break the code
+ "'" : '&#39;',
+ '<' : '&lt;',
+ '>' : '&gt;',
+ '&' : '&amp;'
+ };
+
+ // Reverse lookup table for raw entities
+ reverseEntities = {
+ '&lt;' : '<',
+ '&gt;' : '>',
+ '&amp;' : '&',
+ '&quot;' : '"',
+ '&apos;' : "'"
+ };
+
+ // Decodes text by using the browser
+ function nativeDecode(text) {
+ var elm;
+
+ elm = document.createElement("div");
+ elm.innerHTML = text;
+
+ return elm.textContent || elm.innerText || text;
+ };
+
+ // Build a two way lookup table for the entities
+ function buildEntitiesLookup(items, radix) {
+ var i, chr, entity, lookup = {};
+
+ if (items) {
+ items = items.split(',');
+ radix = radix || 10;
+
+ // Build entities lookup table
+ for (i = 0; i < items.length; i += 2) {
+ chr = String.fromCharCode(parseInt(items[i], radix));
+
+ // Only add non base entities
+ if (!baseEntities[chr]) {
+ entity = '&' + items[i + 1] + ';';
+ lookup[chr] = entity;
+ lookup[entity] = chr;
+ }
+ }
+
+ return lookup;
+ }
+ };
+
+ // Unpack entities lookup where the numbers are in radix 32 to reduce the size
+ namedEntities = buildEntitiesLookup(
+ '50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,' +
+ '5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,' +
+ '5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,' +
+ '5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,' +
+ '68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,' +
+ '6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,' +
+ '6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,' +
+ '75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,' +
+ '7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,' +
+ '7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,' +
+ 'sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,' +
+ 'st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,' +
+ 't9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,' +
+ 'tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,' +
+ 'u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,' +
+ '81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,' +
+ '8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,' +
+ '8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,' +
+ '8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,' +
+ '8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,' +
+ 'nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,' +
+ 'rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,' +
+ 'Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,' +
+ '80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,' +
+ '811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro', 32);
+
+ tinymce.html = tinymce.html || {};
+
+ tinymce.html.Entities = {
+ encodeRaw : function(text, attr) {
+ return text.replace(attr ? attrsCharsRegExp : textCharsRegExp, function(chr) {
+ return baseEntities[chr] || chr;
+ });
+ },
+
+ encodeAllRaw : function(text) {
+ return ('' + text).replace(rawCharsRegExp, function(chr) {
+ return baseEntities[chr] || chr;
+ });
+ },
+
+ encodeNumeric : function(text, attr) {
+ return text.replace(attr ? attrsCharsRegExp : textCharsRegExp, function(chr) {
+ // Multi byte sequence convert it to a single entity
+ if (chr.length > 1)
+ return '&#' + (((chr.charCodeAt(0) - 0xD800) * 0x400) + (chr.charCodeAt(1) - 0xDC00) + 0x10000) + ';';
+
+ return baseEntities[chr] || '&#' + chr.charCodeAt(0) + ';';
+ });
+ },
+
+ encodeNamed : function(text, attr, entities) {
+ entities = entities || namedEntities;
+
+ return text.replace(attr ? attrsCharsRegExp : textCharsRegExp, function(chr) {
+ return baseEntities[chr] || entities[chr] || chr;
+ });
+ },
+
+ getEncodeFunc : function(name, entities) {
+ var Entities = tinymce.html.Entities;
+
+ entities = buildEntitiesLookup(entities) || namedEntities;
+
+ function encodeNamedAndNumeric(text, attr) {
+ return text.replace(attr ? attrsCharsRegExp : textCharsRegExp, function(chr) {
+ return baseEntities[chr] || entities[chr] || '&#' + chr.charCodeAt(0) + ';' || chr;
+ });
+ };
+
+ function encodeCustomNamed(text, attr) {
+ return Entities.encodeNamed(text, attr, entities);
+ };
+
+ // Replace + with , to be compatible with previous TinyMCE versions
+ name = tinymce.makeMap(name.replace(/\+/g, ','));
+
+ // Named and numeric encoder
+ if (name.named && name.numeric)
+ return encodeNamedAndNumeric;
+
+ // Named encoder
+ if (name.named) {
+ // Custom names
+ if (entities)
+ return encodeCustomNamed;
+
+ return Entities.encodeNamed;
+ }
+
+ // Numeric
+ if (name.numeric)
+ return Entities.encodeNumeric;
+
+ // Raw encoder
+ return Entities.encodeRaw;
+ },
+
+ decode : function(text) {
+ return text.replace(entityRegExp, function(all, numeric, value) {
+ if (numeric) {
+ value = parseInt(value, numeric.length === 2 ? 16 : 10);
+
+ // Support upper UTF
+ if (value > 0xFFFF) {
+ value -= 0x10000;
+
+ return String.fromCharCode(0xD800 + (value >> 10), 0xDC00 + (value & 0x3FF));
+ } else
+ return asciiMap[value] || String.fromCharCode(value);
+ }
+
+ return reverseEntities[all] || namedEntities[all] || nativeDecode(all);
+ });
+ }
+ };
+})(tinymce);
+
+tinymce.html.Styles = function(settings, schema) {
+ var rgbRegExp = /rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,
+ urlOrStrRegExp = /(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,
+ styleRegExp = /\s*([^:]+):\s*([^;]+);?/g,
+ trimRightRegExp = /\s+$/,
+ urlColorRegExp = /rgb/,
+ undef, i, encodingLookup = {}, encodingItems;
+
+ settings = settings || {};
+
+ encodingItems = '\\" \\\' \\; \\: ; : \uFEFF'.split(' ');
+ for (i = 0; i < encodingItems.length; i++) {
+ encodingLookup[encodingItems[i]] = '\uFEFF' + i;
+ encodingLookup['\uFEFF' + i] = encodingItems[i];
+ }
+
+ function toHex(match, r, g, b) {
+ function hex(val) {
+ val = parseInt(val).toString(16);
+
+ return val.length > 1 ? val : '0' + val; // 0 -> 00
+ };
+
+ return '#' + hex(r) + hex(g) + hex(b);
+ };
+
+ return {
+ toHex : function(color) {
+ return color.replace(rgbRegExp, toHex);
+ },
+
+ parse : function(css) {
+ var styles = {}, matches, name, value, isEncoded, urlConverter = settings.url_converter, urlConverterScope = settings.url_converter_scope || this;
+
+ function compress(prefix, suffix) {
+ var top, right, bottom, left;
+
+ // Get values and check it it needs compressing
+ top = styles[prefix + '-top' + suffix];
+ if (!top)
+ return;
+
+ right = styles[prefix + '-right' + suffix];
+ if (top != right)
+ return;
+
+ bottom = styles[prefix + '-bottom' + suffix];
+ if (right != bottom)
+ return;
+
+ left = styles[prefix + '-left' + suffix];
+ if (bottom != left)
+ return;
+
+ // Compress
+ styles[prefix + suffix] = left;
+ delete styles[prefix + '-top' + suffix];
+ delete styles[prefix + '-right' + suffix];
+ delete styles[prefix + '-bottom' + suffix];
+ delete styles[prefix + '-left' + suffix];
+ };
+
+ function canCompress(key) {
+ var value = styles[key], i;
+
+ if (!value || value.indexOf(' ') < 0)
+ return;
+
+ value = value.split(' ');
+ i = value.length;
+ while (i--) {
+ if (value[i] !== value[0])
+ return false;
+ }
+
+ styles[key] = value[0];
+
+ return true;
+ };
+
+ function compress2(target, a, b, c) {
+ if (!canCompress(a))
+ return;
+
+ if (!canCompress(b))
+ return;
+
+ if (!canCompress(c))
+ return;
+
+ // Compress
+ styles[target] = styles[a] + ' ' + styles[b] + ' ' + styles[c];
+ delete styles[a];
+ delete styles[b];
+ delete styles[c];
+ };
+
+ // Encodes the specified string by replacing all \" \' ; : with _<num>
+ function encode(str) {
+ isEncoded = true;
+
+ return encodingLookup[str];
+ };
+
+ // Decodes the specified string by replacing all _<num> with it's original value \" \' etc
+ // It will also decode the \" \' if keep_slashes is set to fale or omitted
+ function decode(str, keep_slashes) {
+ if (isEncoded) {
+ str = str.replace(/\uFEFF[0-9]/g, function(str) {
+ return encodingLookup[str];
+ });
+ }
+
+ if (!keep_slashes)
+ str = str.replace(/\\([\'\";:])/g, "$1");
+
+ return str;
+ };
+
+ function processUrl(match, url, url2, url3, str, str2) {
+ str = str || str2;
+
+ if (str) {
+ str = decode(str);
+
+ // Force strings into single quote format
+ return "'" + str.replace(/\'/g, "\\'") + "'";
+ }
+
+ url = decode(url || url2 || url3);
+
+ // Convert the URL to relative/absolute depending on config
+ if (urlConverter)
+ url = urlConverter.call(urlConverterScope, url, 'style');
+
+ // Output new URL format
+ return "url('" + url.replace(/\'/g, "\\'") + "')";
+ };
+
+ if (css) {
+ // Encode \" \' % and ; and : inside strings so they don't interfere with the style parsing
+ css = css.replace(/\\[\"\';:\uFEFF]/g, encode).replace(/\"[^\"]+\"|\'[^\']+\'/g, function(str) {
+ return str.replace(/[;:]/g, encode);
+ });
+
+ // Parse styles
+ while (matches = styleRegExp.exec(css)) {
+ name = matches[1].replace(trimRightRegExp, '').toLowerCase();
+ value = matches[2].replace(trimRightRegExp, '');
+
+ if (name && value.length > 0) {
+ // Opera will produce 700 instead of bold in their style values
+ if (name === 'font-weight' && value === '700')
+ value = 'bold';
+ else if (name === 'color' || name === 'background-color') // Lowercase colors like RED
+ value = value.toLowerCase();
+
+ // Convert RGB colors to HEX
+ value = value.replace(rgbRegExp, toHex);
+
+ // Convert URLs and force them into url('value') format
+ value = value.replace(urlOrStrRegExp, processUrl);
+ styles[name] = isEncoded ? decode(value, true) : value;
+ }
+
+ styleRegExp.lastIndex = matches.index + matches[0].length;
+ }
+
+ // Compress the styles to reduce it's size for example IE will expand styles
+ compress("border", "");
+ compress("border", "-width");
+ compress("border", "-color");
+ compress("border", "-style");
+ compress("padding", "");
+ compress("margin", "");
+ compress2('border', 'border-width', 'border-style', 'border-color');
+
+ // Remove pointless border, IE produces these
+ if (styles.border === 'medium none')
+ delete styles.border;
+ }
+
+ return styles;
+ },
+
+ serialize : function(styles, element_name) {
+ var css = '', name, value;
+
+ function serializeStyles(name) {
+ var styleList, i, l, value;
+
+ styleList = schema.styles[name];
+ if (styleList) {
+ for (i = 0, l = styleList.length; i < l; i++) {
+ name = styleList[i];
+ value = styles[name];
+
+ if (value !== undef && value.length > 0)
+ css += (css.length > 0 ? ' ' : '') + name + ': ' + value + ';';
+ }
+ }
+ };
+
+ // Serialize styles according to schema
+ if (element_name && schema && schema.styles) {
+ // Serialize global styles and element specific styles
+ serializeStyles('*');
+ serializeStyles(element_name);
+ } else {
+ // Output the styles in the order they are inside the object
+ for (name in styles) {
+ value = styles[name];
+
+ if (value !== undef && value.length > 0)
+ css += (css.length > 0 ? ' ' : '') + name + ': ' + value + ';';
+ }
+ }
+
+ return css;
+ }
+ };
+};
+
+(function(tinymce) {
+ var mapCache = {}, makeMap = tinymce.makeMap, each = tinymce.each;
+
+ function split(str, delim) {
+ return str.split(delim || ',');
+ };
+
+ function unpack(lookup, data) {
+ var key, elements = {};
+
+ function replace(value) {
+ return value.replace(/[A-Z]+/g, function(key) {
+ return replace(lookup[key]);
+ });
+ };
+
+ // Unpack lookup
+ for (key in lookup) {
+ if (lookup.hasOwnProperty(key))
+ lookup[key] = replace(lookup[key]);
+ }
+
+ // Unpack and parse data into object map
+ replace(data).replace(/#/g, '#text').replace(/(\w+)\[([^\]]+)\]\[([^\]]*)\]/g, function(str, name, attributes, children) {
+ attributes = split(attributes, '|');
+
+ elements[name] = {
+ attributes : makeMap(attributes),
+ attributesOrder : attributes,
+ children : makeMap(children, '|', {'#comment' : {}})
+ }
+ });
+
+ return elements;
+ };
+
+ function getHTML5() {
+ var html5 = mapCache.html5;
+
+ if (!html5) {
+ html5 = mapCache.html5 = unpack({
+ A : 'id|accesskey|class|dir|draggable|item|hidden|itemprop|role|spellcheck|style|subject|title|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup',
+ B : '#|a|abbr|area|audio|b|bdo|br|button|canvas|cite|code|command|datalist|del|dfn|em|embed|i|iframe|img|input|ins|kbd|keygen|label|link|map|mark|meta|' +
+ 'meter|noscript|object|output|progress|q|ruby|samp|script|select|small|span|strong|sub|sup|svg|textarea|time|var|video|wbr',
+ C : '#|a|abbr|area|address|article|aside|audio|b|bdo|blockquote|br|button|canvas|cite|code|command|datalist|del|details|dfn|dialog|div|dl|em|embed|fieldset|' +
+ 'figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|i|iframe|img|input|ins|kbd|keygen|label|link|map|mark|menu|meta|meter|nav|noscript|ol|object|output|' +
+ 'p|pre|progress|q|ruby|samp|script|section|select|small|span|strong|style|sub|sup|svg|table|textarea|time|ul|var|video'
+ }, 'html[A|manifest][body|head]' +
+ 'head[A][base|command|link|meta|noscript|script|style|title]' +
+ 'title[A][#]' +
+ 'base[A|href|target][]' +
+ 'link[A|href|rel|media|type|sizes][]' +
+ 'meta[A|http-equiv|name|content|charset][]' +
+ 'style[A|type|media|scoped][#]' +
+ 'script[A|charset|type|src|defer|async][#]' +
+ 'noscript[A][C]' +
+ 'body[A][C]' +
+ 'section[A][C]' +
+ 'nav[A][C]' +
+ 'article[A][C]' +
+ 'aside[A][C]' +
+ 'h1[A][B]' +
+ 'h2[A][B]' +
+ 'h3[A][B]' +
+ 'h4[A][B]' +
+ 'h5[A][B]' +
+ 'h6[A][B]' +
+ 'hgroup[A][h1|h2|h3|h4|h5|h6]' +
+ 'header[A][C]' +
+ 'footer[A][C]' +
+ 'address[A][C]' +
+ 'p[A][B]' +
+ 'br[A][]' +
+ 'pre[A][B]' +
+ 'dialog[A][dd|dt]' +
+ 'blockquote[A|cite][C]' +
+ 'ol[A|start|reversed][li]' +
+ 'ul[A][li]' +
+ 'li[A|value][C]' +
+ 'dl[A][dd|dt]' +
+ 'dt[A][B]' +
+ 'dd[A][C]' +
+ 'a[A|href|target|ping|rel|media|type][B]' +
+ 'em[A][B]' +
+ 'strong[A][B]' +
+ 'small[A][B]' +
+ 'cite[A][B]' +
+ 'q[A|cite][B]' +
+ 'dfn[A][B]' +
+ 'abbr[A][B]' +
+ 'code[A][B]' +
+ 'var[A][B]' +
+ 'samp[A][B]' +
+ 'kbd[A][B]' +
+ 'sub[A][B]' +
+ 'sup[A][B]' +
+ 'i[A][B]' +
+ 'b[A][B]' +
+ 'mark[A][B]' +
+ 'progress[A|value|max][B]' +
+ 'meter[A|value|min|max|low|high|optimum][B]' +
+ 'time[A|datetime][B]' +
+ 'ruby[A][B|rt|rp]' +
+ 'rt[A][B]' +
+ 'rp[A][B]' +
+ 'bdo[A][B]' +
+ 'span[A][B]' +
+ 'ins[A|cite|datetime][B]' +
+ 'del[A|cite|datetime][B]' +
+ 'figure[A][C|legend|figcaption]' +
+ 'figcaption[A][C]' +
+ 'img[A|alt|src|height|width|usemap|ismap][]' +
+ 'iframe[A|name|src|height|width|sandbox|seamless][]' +
+ 'embed[A|src|height|width|type][]' +
+ 'object[A|data|type|height|width|usemap|name|form|classid][param]' +
+ 'param[A|name|value][]' +
+ 'details[A|open][C|legend]' +
+ 'command[A|type|label|icon|disabled|checked|radiogroup][]' +
+ 'menu[A|type|label][C|li]' +
+ 'legend[A][C|B]' +
+ 'div[A][C]' +
+ 'source[A|src|type|media][]' +
+ 'audio[A|src|autobuffer|autoplay|loop|controls][source]' +
+ 'video[A|src|autobuffer|autoplay|loop|controls|width|height|poster][source]' +
+ 'hr[A][]' +
+ 'form[A|accept-charset|action|autocomplete|enctype|method|name|novalidate|target][C]' +
+ 'fieldset[A|disabled|form|name][C|legend]' +
+ 'label[A|form|for][B]' +
+ 'input[A|type|accept|alt|autocomplete|autofocus|checked|disabled|form|formaction|formenctype|formmethod|formnovalidate|formtarget|height|list|max|maxlength|min|' +
+ 'multiple|pattern|placeholder|readonly|required|size|src|step|width|files|value|name][]' +
+ 'button[A|autofocus|disabled|form|formaction|formenctype|formmethod|formnovalidate|formtarget|name|value|type][B]' +
+ 'select[A|autofocus|disabled|form|multiple|name|size][option|optgroup]' +
+ 'datalist[A][B|option]' +
+ 'optgroup[A|disabled|label][option]' +
+ 'option[A|disabled|selected|label|value][]' +
+ 'textarea[A|autofocus|disabled|form|maxlength|name|placeholder|readonly|required|rows|cols|wrap][]' +
+ 'keygen[A|autofocus|challenge|disabled|form|keytype|name][]' +
+ 'output[A|for|form|name][B]' +
+ 'canvas[A|width|height][]' +
+ 'map[A|name][B|C]' +
+ 'area[A|shape|coords|href|alt|target|media|rel|ping|type][]' +
+ 'mathml[A][]' +
+ 'svg[A][]' +
+ 'table[A|border][caption|colgroup|thead|tfoot|tbody|tr]' +
+ 'caption[A][C]' +
+ 'colgroup[A|span][col]' +
+ 'col[A|span][]' +
+ 'thead[A][tr]' +
+ 'tfoot[A][tr]' +
+ 'tbody[A][tr]' +
+ 'tr[A][th|td]' +
+ 'th[A|headers|rowspan|colspan|scope][B]' +
+ 'td[A|headers|rowspan|colspan][C]' +
+ 'wbr[A][]'
+ );
+ }
+
+ return html5;
+ };
+
+ function getHTML4() {
+ var html4 = mapCache.html4;
+
+ if (!html4) {
+ // This is the XHTML 1.0 transitional elements with it's attributes and children packed to reduce it's size
+ html4 = mapCache.html4 = unpack({
+ Z : 'H|K|N|O|P',
+ Y : 'X|form|R|Q',
+ ZG : 'E|span|width|align|char|charoff|valign',
+ X : 'p|T|div|U|W|isindex|fieldset|table',
+ ZF : 'E|align|char|charoff|valign',
+ W : 'pre|hr|blockquote|address|center|noframes',
+ ZE : 'abbr|axis|headers|scope|rowspan|colspan|align|char|charoff|valign|nowrap|bgcolor|width|height',
+ ZD : '[E][S]',
+ U : 'ul|ol|dl|menu|dir',
+ ZC : 'p|Y|div|U|W|table|br|span|bdo|object|applet|img|map|K|N|Q',
+ T : 'h1|h2|h3|h4|h5|h6',
+ ZB : 'X|S|Q',
+ S : 'R|P',
+ ZA : 'a|G|J|M|O|P',
+ R : 'a|H|K|N|O',
+ Q : 'noscript|P',
+ P : 'ins|del|script',
+ O : 'input|select|textarea|label|button',
+ N : 'M|L',
+ M : 'em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acronym',
+ L : 'sub|sup',
+ K : 'J|I',
+ J : 'tt|i|b|u|s|strike',
+ I : 'big|small|font|basefont',
+ H : 'G|F',
+ G : 'br|span|bdo',
+ F : 'object|applet|img|map|iframe',
+ E : 'A|B|C',
+ D : 'accesskey|tabindex|onfocus|onblur',
+ C : 'onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup',
+ B : 'lang|xml:lang|dir',
+ A : 'id|class|style|title'
+ }, 'script[id|charset|type|language|src|defer|xml:space][]' +
+ 'style[B|id|type|media|title|xml:space][]' +
+ 'object[E|declare|classid|codebase|data|type|codetype|archive|standby|width|height|usemap|name|tabindex|align|border|hspace|vspace][#|param|Y]' +
+ 'param[id|name|value|valuetype|type][]' +
+ 'p[E|align][#|S]' +
+ 'a[E|D|charset|type|name|href|hreflang|rel|rev|shape|coords|target][#|Z]' +
+ 'br[A|clear][]' +
+ 'span[E][#|S]' +
+ 'bdo[A|C|B][#|S]' +
+ 'applet[A|codebase|archive|code|object|alt|name|width|height|align|hspace|vspace][#|param|Y]' +
+ 'h1[E|align][#|S]' +
+ 'img[E|src|alt|name|longdesc|width|height|usemap|ismap|align|border|hspace|vspace][]' +
+ 'map[B|C|A|name][X|form|Q|area]' +
+ 'h2[E|align][#|S]' +
+ 'iframe[A|longdesc|name|src|frameborder|marginwidth|marginheight|scrolling|align|width|height][#|Y]' +
+ 'h3[E|align][#|S]' +
+ 'tt[E][#|S]' +
+ 'i[E][#|S]' +
+ 'b[E][#|S]' +
+ 'u[E][#|S]' +
+ 's[E][#|S]' +
+ 'strike[E][#|S]' +
+ 'big[E][#|S]' +
+ 'small[E][#|S]' +
+ 'font[A|B|size|color|face][#|S]' +
+ 'basefont[id|size|color|face][]' +
+ 'em[E][#|S]' +
+ 'strong[E][#|S]' +
+ 'dfn[E][#|S]' +
+ 'code[E][#|S]' +
+ 'q[E|cite][#|S]' +
+ 'samp[E][#|S]' +
+ 'kbd[E][#|S]' +
+ 'var[E][#|S]' +
+ 'cite[E][#|S]' +
+ 'abbr[E][#|S]' +
+ 'acronym[E][#|S]' +
+ 'sub[E][#|S]' +
+ 'sup[E][#|S]' +
+ 'input[E|D|type|name|value|checked|disabled|readonly|size|maxlength|src|alt|usemap|onselect|onchange|accept|align][]' +
+ 'select[E|name|size|multiple|disabled|tabindex|onfocus|onblur|onchange][optgroup|option]' +
+ 'optgroup[E|disabled|label][option]' +
+ 'option[E|selected|disabled|label|value][]' +
+ 'textarea[E|D|name|rows|cols|disabled|readonly|onselect|onchange][]' +
+ 'label[E|for|accesskey|onfocus|onblur][#|S]' +
+ 'button[E|D|name|value|type|disabled][#|p|T|div|U|W|table|G|object|applet|img|map|K|N|Q]' +
+ 'h4[E|align][#|S]' +
+ 'ins[E|cite|datetime][#|Y]' +
+ 'h5[E|align][#|S]' +
+ 'del[E|cite|datetime][#|Y]' +
+ 'h6[E|align][#|S]' +
+ 'div[E|align][#|Y]' +
+ 'ul[E|type|compact][li]' +
+ 'li[E|type|value][#|Y]' +
+ 'ol[E|type|compact|start][li]' +
+ 'dl[E|compact][dt|dd]' +
+ 'dt[E][#|S]' +
+ 'dd[E][#|Y]' +
+ 'menu[E|compact][li]' +
+ 'dir[E|compact][li]' +
+ 'pre[E|width|xml:space][#|ZA]' +
+ 'hr[E|align|noshade|size|width][]' +
+ 'blockquote[E|cite][#|Y]' +
+ 'address[E][#|S|p]' +
+ 'center[E][#|Y]' +
+ 'noframes[E][#|Y]' +
+ 'isindex[A|B|prompt][]' +
+ 'fieldset[E][#|legend|Y]' +
+ 'legend[E|accesskey|align][#|S]' +
+ 'table[E|summary|width|border|frame|rules|cellspacing|cellpadding|align|bgcolor][caption|col|colgroup|thead|tfoot|tbody|tr]' +
+ 'caption[E|align][#|S]' +
+ 'col[ZG][]' +
+ 'colgroup[ZG][col]' +
+ 'thead[ZF][tr]' +
+ 'tr[ZF|bgcolor][th|td]' +
+ 'th[E|ZE][#|Y]' +
+ 'form[E|action|method|name|enctype|onsubmit|onreset|accept|accept-charset|target][#|X|R|Q]' +
+ 'noscript[E][#|Y]' +
+ 'td[E|ZE][#|Y]' +
+ 'tfoot[ZF][tr]' +
+ 'tbody[ZF][tr]' +
+ 'area[E|D|shape|coords|href|nohref|alt|target][]' +
+ 'base[id|href|target][]' +
+ 'body[E|onload|onunload|background|bgcolor|text|link|vlink|alink][#|Y]'
+ );
+ }
+
+ return html4;
+ };
+
+ tinymce.html.Schema = function(settings) {
+ var self = this, elements = {}, children = {}, patternElements = [], validStyles, schemaItems;
+ var whiteSpaceElementsMap, selfClosingElementsMap, shortEndedElementsMap, boolAttrMap, blockElementsMap, nonEmptyElementsMap, customElementsMap = {};
+
+ // Creates an lookup table map object for the specified option or the default value
+ function createLookupTable(option, default_value, extend) {
+ var value = settings[option];
+
+ if (!value) {
+ // Get cached default map or make it if needed
+ value = mapCache[option];
+
+ if (!value) {
+ value = makeMap(default_value, ' ', makeMap(default_value.toUpperCase(), ' '));
+ value = tinymce.extend(value, extend);
+
+ mapCache[option] = value;
+ }
+ } else {
+ // Create custom map
+ value = makeMap(value, ',', makeMap(value.toUpperCase(), ' '));
+ }
+
+ return value;
+ };
+
+ settings = settings || {};
+ schemaItems = settings.schema == "html5" ? getHTML5() : getHTML4();
+
+ // Allow all elements and attributes if verify_html is set to false
+ if (settings.verify_html === false)
+ settings.valid_elements = '*[*]';
+
+ // Build styles list
+ if (settings.valid_styles) {
+ validStyles = {};
+
+ // Convert styles into a rule list
+ each(settings.valid_styles, function(value, key) {
+ validStyles[key] = tinymce.explode(value);
+ });
+ }
+
+ // Setup map objects
+ whiteSpaceElementsMap = createLookupTable('whitespace_elements', 'pre script noscript style textarea');
+ selfClosingElementsMap = createLookupTable('self_closing_elements', 'colgroup dd dt li option p td tfoot th thead tr');
+ shortEndedElementsMap = createLookupTable('short_ended_elements', 'area base basefont br col frame hr img input isindex link meta param embed source wbr');
+ boolAttrMap = createLookupTable('boolean_attributes', 'checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls');
+ nonEmptyElementsMap = createLookupTable('non_empty_elements', 'td th iframe video audio object', shortEndedElementsMap);
+ textBlockElementsMap = createLookupTable('text_block_elements', 'h1 h2 h3 h4 h5 h6 p div address pre form ' +
+ 'blockquote center dir fieldset header footer article section hgroup aside nav figure');
+ blockElementsMap = createLookupTable('block_elements', 'hr table tbody thead tfoot ' +
+ 'th tr td li ol ul caption dl dt dd noscript menu isindex samp option datalist select optgroup', textBlockElementsMap);
+
+ // Converts a wildcard expression string to a regexp for example *a will become /.*a/.
+ function patternToRegExp(str) {
+ return new RegExp('^' + str.replace(/([?+*])/g, '.$1') + '$');
+ };
+
+ // Parses the specified valid_elements string and adds to the current rules
+ // This function is a bit hard to read since it's heavily optimized for speed
+ function addValidElements(valid_elements) {
+ var ei, el, ai, al, yl, matches, element, attr, attrData, elementName, attrName, attrType, attributes, attributesOrder,
+ prefix, outputName, globalAttributes, globalAttributesOrder, transElement, key, childKey, value,
+ elementRuleRegExp = /^([#+\-])?([^\[\/]+)(?:\/([^\[]+))?(?:\[([^\]]+)\])?$/,
+ attrRuleRegExp = /^([!\-])?(\w+::\w+|[^=:<]+)?(?:([=:<])(.*))?$/,
+ hasPatternsRegExp = /[*?+]/;
+
+ if (valid_elements) {
+ // Split valid elements into an array with rules
+ valid_elements = split(valid_elements);
+
+ if (elements['@']) {
+ globalAttributes = elements['@'].attributes;
+ globalAttributesOrder = elements['@'].attributesOrder;
+ }
+
+ // Loop all rules
+ for (ei = 0, el = valid_elements.length; ei < el; ei++) {
+ // Parse element rule
+ matches = elementRuleRegExp.exec(valid_elements[ei]);
+ if (matches) {
+ // Setup local names for matches
+ prefix = matches[1];
+ elementName = matches[2];
+ outputName = matches[3];
+ attrData = matches[4];
+
+ // Create new attributes and attributesOrder
+ attributes = {};
+ attributesOrder = [];
+
+ // Create the new element
+ element = {
+ attributes : attributes,
+ attributesOrder : attributesOrder
+ };
+
+ // Padd empty elements prefix
+ if (prefix === '#')
+ element.paddEmpty = true;
+
+ // Remove empty elements prefix
+ if (prefix === '-')
+ element.removeEmpty = true;
+
+ // Copy attributes from global rule into current rule
+ if (globalAttributes) {
+ for (key in globalAttributes)
+ attributes[key] = globalAttributes[key];
+
+ attributesOrder.push.apply(attributesOrder, globalAttributesOrder);
+ }
+
+ // Attributes defined
+ if (attrData) {
+ attrData = split(attrData, '|');
+ for (ai = 0, al = attrData.length; ai < al; ai++) {
+ matches = attrRuleRegExp.exec(attrData[ai]);
+ if (matches) {
+ attr = {};
+ attrType = matches[1];
+ attrName = matches[2].replace(/::/g, ':');
+ prefix = matches[3];
+ value = matches[4];
+
+ // Required
+ if (attrType === '!') {
+ element.attributesRequired = element.attributesRequired || [];
+ element.attributesRequired.push(attrName);
+ attr.required = true;
+ }
+
+ // Denied from global
+ if (attrType === '-') {
+ delete attributes[attrName];
+ attributesOrder.splice(tinymce.inArray(attributesOrder, attrName), 1);
+ continue;
+ }
+
+ // Default value
+ if (prefix) {
+ // Default value
+ if (prefix === '=') {
+ element.attributesDefault = element.attributesDefault || [];
+ element.attributesDefault.push({name: attrName, value: value});
+ attr.defaultValue = value;
+ }
+
+ // Forced value
+ if (prefix === ':') {
+ element.attributesForced = element.attributesForced || [];
+ element.attributesForced.push({name: attrName, value: value});
+ attr.forcedValue = value;
+ }
+
+ // Required values
+ if (prefix === '<')
+ attr.validValues = makeMap(value, '?');
+ }
+
+ // Check for attribute patterns
+ if (hasPatternsRegExp.test(attrName)) {
+ element.attributePatterns = element.attributePatterns || [];
+ attr.pattern = patternToRegExp(attrName);
+ element.attributePatterns.push(attr);
+ } else {
+ // Add attribute to order list if it doesn't already exist
+ if (!attributes[attrName])
+ attributesOrder.push(attrName);
+
+ attributes[attrName] = attr;
+ }
+ }
+ }
+ }
+
+ // Global rule, store away these for later usage
+ if (!globalAttributes && elementName == '@') {
+ globalAttributes = attributes;
+ globalAttributesOrder = attributesOrder;
+ }
+
+ // Handle substitute elements such as b/strong
+ if (outputName) {
+ element.outputName = elementName;
+ elements[outputName] = element;
+ }
+
+ // Add pattern or exact element
+ if (hasPatternsRegExp.test(elementName)) {
+ element.pattern = patternToRegExp(elementName);
+ patternElements.push(element);
+ } else
+ elements[elementName] = element;
+ }
+ }
+ }
+ };
+
+ function setValidElements(valid_elements) {
+ elements = {};
+ patternElements = [];
+
+ addValidElements(valid_elements);
+
+ each(schemaItems, function(element, name) {
+ children[name] = element.children;
+ });
+ };
+
+ // Adds custom non HTML elements to the schema
+ function addCustomElements(custom_elements) {
+ var customElementRegExp = /^(~)?(.+)$/;
+
+ if (custom_elements) {
+ each(split(custom_elements), function(rule) {
+ var matches = customElementRegExp.exec(rule),
+ inline = matches[1] === '~',
+ cloneName = inline ? 'span' : 'div',
+ name = matches[2];
+
+ children[name] = children[cloneName];
+ customElementsMap[name] = cloneName;
+
+ // If it's not marked as inline then add it to valid block elements
+ if (!inline) {
+ blockElementsMap[name.toUpperCase()] = {};
+ blockElementsMap[name] = {};
+ }
+
+ // Add elements clone if needed
+ if (!elements[name]) {
+ elements[name] = elements[cloneName];
+ }
+
+ // Add custom elements at span/div positions
+ each(children, function(element, child) {
+ if (element[cloneName])
+ element[name] = element[cloneName];
+ });
+ });
+ }
+ };
+
+ // Adds valid children to the schema object
+ function addValidChildren(valid_children) {
+ var childRuleRegExp = /^([+\-]?)(\w+)\[([^\]]+)\]$/;
+
+ if (valid_children) {
+ each(split(valid_children), function(rule) {
+ var matches = childRuleRegExp.exec(rule), parent, prefix;
+
+ if (matches) {
+ prefix = matches[1];
+
+ // Add/remove items from default
+ if (prefix)
+ parent = children[matches[2]];
+ else
+ parent = children[matches[2]] = {'#comment' : {}};
+
+ parent = children[matches[2]];
+
+ each(split(matches[3], '|'), function(child) {
+ if (prefix === '-')
+ delete parent[child];
+ else
+ parent[child] = {};
+ });
+ }
+ });
+ }
+ };
+
+ function getElementRule(name) {
+ var element = elements[name], i;
+
+ // Exact match found
+ if (element)
+ return element;
+
+ // No exact match then try the patterns
+ i = patternElements.length;
+ while (i--) {
+ element = patternElements[i];
+
+ if (element.pattern.test(name))
+ return element;
+ }
+ };
+
+ if (!settings.valid_elements) {
+ // No valid elements defined then clone the elements from the schema spec
+ each(schemaItems, function(element, name) {
+ elements[name] = {
+ attributes : element.attributes,
+ attributesOrder : element.attributesOrder
+ };
+
+ children[name] = element.children;
+ });
+
+ // Switch these on HTML4
+ if (settings.schema != "html5") {
+ each(split('strong/b,em/i'), function(item) {
+ item = split(item, '/');
+ elements[item[1]].outputName = item[0];
+ });
+ }
+
+ // Add default alt attribute for images
+ elements.img.attributesDefault = [{name: 'alt', value: ''}];
+
+ // Remove these if they are empty by default
+ each(split('ol,ul,sub,sup,blockquote,span,font,a,table,tbody,tr,strong,em,b,i'), function(name) {
+ if (elements[name]) {
+ elements[name].removeEmpty = true;
+ }
+ });
+
+ // Padd these by default
+ each(split('p,h1,h2,h3,h4,h5,h6,th,td,pre,div,address,caption'), function(name) {
+ elements[name].paddEmpty = true;
+ });
+ } else
+ setValidElements(settings.valid_elements);
+
+ addCustomElements(settings.custom_elements);
+ addValidChildren(settings.valid_children);
+ addValidElements(settings.extended_valid_elements);
+
+ // Todo: Remove this when we fix list handling to be valid
+ addValidChildren('+ol[ul|ol],+ul[ul|ol]');
+
+ // Delete invalid elements
+ if (settings.invalid_elements) {
+ tinymce.each(tinymce.explode(settings.invalid_elements), function(item) {
+ if (elements[item])
+ delete elements[item];
+ });
+ }
+
+ // If the user didn't allow span only allow internal spans
+ if (!getElementRule('span'))
+ addValidElements('span[!data-mce-type|*]');
+
+ self.children = children;
+
+ self.styles = validStyles;
+
+ self.getBoolAttrs = function() {
+ return boolAttrMap;
+ };
+
+ self.getBlockElements = function() {
+ return blockElementsMap;
+ };
+
+ self.getTextBlockElements = function() {
+ return textBlockElementsMap;
+ };
+
+ self.getShortEndedElements = function() {
+ return shortEndedElementsMap;
+ };
+
+ self.getSelfClosingElements = function() {
+ return selfClosingElementsMap;
+ };
+
+ self.getNonEmptyElements = function() {
+ return nonEmptyElementsMap;
+ };
+
+ self.getWhiteSpaceElements = function() {
+ return whiteSpaceElementsMap;
+ };
+
+ self.isValidChild = function(name, child) {
+ var parent = children[name];
+
+ return !!(parent && parent[child]);
+ };
+
+ self.isValid = function(name, attr) {
+ var attrPatterns, i, rule = getElementRule(name);
+
+ // Check if it's a valid element
+ if (rule) {
+ if (attr) {
+ // Check if attribute name exists
+ if (rule.attributes[attr]) {
+ return true;
+ }
+
+ // Check if attribute matches a regexp pattern
+ attrPatterns = rule.attributePatterns;
+ if (attrPatterns) {
+ i = attrPatterns.length;
+ while (i--) {
+ if (attrPatterns[i].pattern.test(name)) {
+ return true;
+ }
+ }
+ }
+ } else {
+ return true;
+ }
+ }
+
+ // No match
+ return false;
+ };
+
+ self.getElementRule = getElementRule;
+
+ self.getCustomElements = function() {
+ return customElementsMap;
+ };
+
+ self.addValidElements = addValidElements;
+
+ self.setValidElements = setValidElements;
+
+ self.addCustomElements = addCustomElements;
+
+ self.addValidChildren = addValidChildren;
+
+ self.elements = elements;
+ };
+})(tinymce);
+
+(function(tinymce) {
+ tinymce.html.SaxParser = function(settings, schema) {
+ var self = this, noop = function() {};
+
+ settings = settings || {};
+ self.schema = schema = schema || new tinymce.html.Schema();
+
+ if (settings.fix_self_closing !== false)
+ settings.fix_self_closing = true;
+
+ // Add handler functions from settings and setup default handlers
+ tinymce.each('comment cdata text start end pi doctype'.split(' '), function(name) {
+ if (name)
+ self[name] = settings[name] || noop;
+ });
+
+ self.parse = function(html) {
+ var self = this, matches, index = 0, value, endRegExp, stack = [], attrList, i, text, name, isInternalElement, removeInternalElements,
+ shortEndedElements, fillAttrsMap, isShortEnded, validate, elementRule, isValidElement, attr, attribsValue, invalidPrefixRegExp,
+ validAttributesMap, validAttributePatterns, attributesRequired, attributesDefault, attributesForced, selfClosing,
+ tokenRegExp, attrRegExp, specialElements, attrValue, idCount = 0, decode = tinymce.html.Entities.decode, fixSelfClosing, isIE;
+
+ function processEndTag(name) {
+ var pos, i;
+
+ // Find position of parent of the same type
+ pos = stack.length;
+ while (pos--) {
+ if (stack[pos].name === name)
+ break;
+ }
+
+ // Found parent
+ if (pos >= 0) {
+ // Close all the open elements
+ for (i = stack.length - 1; i >= pos; i--) {
+ name = stack[i];
+
+ if (name.valid)
+ self.end(name.name);
+ }
+
+ // Remove the open elements from the stack
+ stack.length = pos;
+ }
+ };
+
+ function parseAttribute(match, name, value, val2, val3) {
+ var attrRule, i;
+
+ name = name.toLowerCase();
+ value = name in fillAttrsMap ? name : decode(value || val2 || val3 || ''); // Handle boolean attribute than value attribute
+
+ // Validate name and value
+ if (validate && !isInternalElement && name.indexOf('data-mce-') !== 0) {
+ attrRule = validAttributesMap[name];
+
+ // Find rule by pattern matching
+ if (!attrRule && validAttributePatterns) {
+ i = validAttributePatterns.length;
+ while (i--) {
+ attrRule = validAttributePatterns[i];
+ if (attrRule.pattern.test(name))
+ break;
+ }
+
+ // No rule matched
+ if (i === -1)
+ attrRule = null;
+ }
+
+ // No attribute rule found
+ if (!attrRule)
+ return;
+
+ // Validate value
+ if (attrRule.validValues && !(value in attrRule.validValues))
+ return;
+ }
+
+ // Add attribute to list and map
+ attrList.map[name] = value;
+ attrList.push({
+ name: name,
+ value: value
+ });
+ };
+
+ // Precompile RegExps and map objects
+ tokenRegExp = new RegExp('<(?:' +
+ '(?:!--([\\w\\W]*?)-->)|' + // Comment
+ '(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|' + // CDATA
+ '(?:!DOCTYPE([\\w\\W]*?)>)|' + // DOCTYPE
+ '(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|' + // PI
+ '(?:\\/([^>]+)>)|' + // End element
+ '(?:([A-Za-z0-9\\-\\:\\.]+)((?:\\s+[^"\'>]+(?:(?:"[^"]*")|(?:\'[^\']*\')|[^>]*))*|\\/|\\s+)>)' + // Start element
+ ')', 'g');
+
+ attrRegExp = /([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g;
+ specialElements = {
+ 'script' : /<\/script[^>]*>/gi,
+ 'style' : /<\/style[^>]*>/gi,
+ 'noscript' : /<\/noscript[^>]*>/gi
+ };
+
+ // Setup lookup tables for empty elements and boolean attributes
+ shortEndedElements = schema.getShortEndedElements();
+ selfClosing = settings.self_closing_elements || schema.getSelfClosingElements();
+ fillAttrsMap = schema.getBoolAttrs();
+ validate = settings.validate;
+ removeInternalElements = settings.remove_internals;
+ fixSelfClosing = settings.fix_self_closing;
+ isIE = tinymce.isIE;
+ invalidPrefixRegExp = /^:/;
+
+ while (matches = tokenRegExp.exec(html)) {
+ // Text
+ if (index < matches.index)
+ self.text(decode(html.substr(index, matches.index - index)));
+
+ if (value = matches[6]) { // End element
+ value = value.toLowerCase();
+
+ // IE will add a ":" in front of elements it doesn't understand like custom elements or HTML5 elements
+ if (isIE && invalidPrefixRegExp.test(value))
+ value = value.substr(1);
+
+ processEndTag(value);
+ } else if (value = matches[7]) { // Start element
+ value = value.toLowerCase();
+
+ // IE will add a ":" in front of elements it doesn't understand like custom elements or HTML5 elements
+ if (isIE && invalidPrefixRegExp.test(value))
+ value = value.substr(1);
+
+ isShortEnded = value in shortEndedElements;
+
+ // Is self closing tag for example an <li> after an open <li>
+ if (fixSelfClosing && selfClosing[value] && stack.length > 0 && stack[stack.length - 1].name === value)
+ processEndTag(value);
+
+ // Validate element
+ if (!validate || (elementRule = schema.getElementRule(value))) {
+ isValidElement = true;
+
+ // Grab attributes map and patters when validation is enabled
+ if (validate) {
+ validAttributesMap = elementRule.attributes;
+ validAttributePatterns = elementRule.attributePatterns;
+ }
+
+ // Parse attributes
+ if (attribsValue = matches[8]) {
+ isInternalElement = attribsValue.indexOf('data-mce-type') !== -1; // Check if the element is an internal element
+
+ // If the element has internal attributes then remove it if we are told to do so
+ if (isInternalElement && removeInternalElements)
+ isValidElement = false;
+
+ attrList = [];
+ attrList.map = {};
+
+ attribsValue.replace(attrRegExp, parseAttribute);
+ } else {
+ attrList = [];
+ attrList.map = {};
+ }
+
+ // Process attributes if validation is enabled
+ if (validate && !isInternalElement) {
+ attributesRequired = elementRule.attributesRequired;
+ attributesDefault = elementRule.attributesDefault;
+ attributesForced = elementRule.attributesForced;
+
+ // Handle forced attributes
+ if (attributesForced) {
+ i = attributesForced.length;
+ while (i--) {
+ attr = attributesForced[i];
+ name = attr.name;
+ attrValue = attr.value;
+
+ if (attrValue === '{$uid}')
+ attrValue = 'mce_' + idCount++;
+
+ attrList.map[name] = attrValue;
+ attrList.push({name: name, value: attrValue});
+ }
+ }
+
+ // Handle default attributes
+ if (attributesDefault) {
+ i = attributesDefault.length;
+ while (i--) {
+ attr = attributesDefault[i];
+ name = attr.name;
+
+ if (!(name in attrList.map)) {
+ attrValue = attr.value;
+
+ if (attrValue === '{$uid}')
+ attrValue = 'mce_' + idCount++;
+
+ attrList.map[name] = attrValue;
+ attrList.push({name: name, value: attrValue});
+ }
+ }
+ }
+
+ // Handle required attributes
+ if (attributesRequired) {
+ i = attributesRequired.length;
+ while (i--) {
+ if (attributesRequired[i] in attrList.map)
+ break;
+ }
+
+ // None of the required attributes where found
+ if (i === -1)
+ isValidElement = false;
+ }
+
+ // Invalidate element if it's marked as bogus
+ if (attrList.map['data-mce-bogus'])
+ isValidElement = false;
+ }
+
+ if (isValidElement)
+ self.start(value, attrList, isShortEnded);
+ } else
+ isValidElement = false;
+
+ // Treat script, noscript and style a bit different since they may include code that looks like elements
+ if (endRegExp = specialElements[value]) {
+ endRegExp.lastIndex = index = matches.index + matches[0].length;
+
+ if (matches = endRegExp.exec(html)) {
+ if (isValidElement)
+ text = html.substr(index, matches.index - index);
+
+ index = matches.index + matches[0].length;
+ } else {
+ text = html.substr(index);
+ index = html.length;
+ }
+
+ if (isValidElement && text.length > 0)
+ self.text(text, true);
+
+ if (isValidElement)
+ self.end(value);
+
+ tokenRegExp.lastIndex = index;
+ continue;
+ }
+
+ // Push value on to stack
+ if (!isShortEnded) {
+ if (!attribsValue || attribsValue.indexOf('/') != attribsValue.length - 1)
+ stack.push({name: value, valid: isValidElement});
+ else if (isValidElement)
+ self.end(value);
+ }
+ } else if (value = matches[1]) { // Comment
+ self.comment(value);
+ } else if (value = matches[2]) { // CDATA
+ self.cdata(value);
+ } else if (value = matches[3]) { // DOCTYPE
+ self.doctype(value);
+ } else if (value = matches[4]) { // PI
+ self.pi(value, matches[5]);
+ }
+
+ index = matches.index + matches[0].length;
+ }
+
+ // Text
+ if (index < html.length)
+ self.text(decode(html.substr(index)));
+
+ // Close any open elements
+ for (i = stack.length - 1; i >= 0; i--) {
+ value = stack[i];
+
+ if (value.valid)
+ self.end(value.name);
+ }
+ };
+ }
+})(tinymce);
+
+(function(tinymce) {
+ var whiteSpaceRegExp = /^[ \t\r\n]*$/, typeLookup = {
+ '#text' : 3,
+ '#comment' : 8,
+ '#cdata' : 4,
+ '#pi' : 7,
+ '#doctype' : 10,
+ '#document-fragment' : 11
+ };
+
+ // Walks the tree left/right
+ function walk(node, root_node, prev) {
+ var sibling, parent, startName = prev ? 'lastChild' : 'firstChild', siblingName = prev ? 'prev' : 'next';
+
+ // Walk into nodes if it has a start
+ if (node[startName])
+ return node[startName];
+
+ // Return the sibling if it has one
+ if (node !== root_node) {
+ sibling = node[siblingName];
+
+ if (sibling)
+ return sibling;
+
+ // Walk up the parents to look for siblings
+ for (parent = node.parent; parent && parent !== root_node; parent = parent.parent) {
+ sibling = parent[siblingName];
+
+ if (sibling)
+ return sibling;
+ }
+ }
+ };
+
+ function Node(name, type) {
+ this.name = name;
+ this.type = type;
+
+ if (type === 1) {
+ this.attributes = [];
+ this.attributes.map = {};
+ }
+ }
+
+ tinymce.extend(Node.prototype, {
+ replace : function(node) {
+ var self = this;
+
+ if (node.parent)
+ node.remove();
+
+ self.insert(node, self);
+ self.remove();
+
+ return self;
+ },
+
+ attr : function(name, value) {
+ var self = this, attrs, i, undef;
+
+ if (typeof name !== "string") {
+ for (i in name)
+ self.attr(i, name[i]);
+
+ return self;
+ }
+
+ if (attrs = self.attributes) {
+ if (value !== undef) {
+ // Remove attribute
+ if (value === null) {
+ if (name in attrs.map) {
+ delete attrs.map[name];
+
+ i = attrs.length;
+ while (i--) {
+ if (attrs[i].name === name) {
+ attrs = attrs.splice(i, 1);
+ return self;
+ }
+ }
+ }
+
+ return self;
+ }
+
+ // Set attribute
+ if (name in attrs.map) {
+ // Set attribute
+ i = attrs.length;
+ while (i--) {
+ if (attrs[i].name === name) {
+ attrs[i].value = value;
+ break;
+ }
+ }
+ } else
+ attrs.push({name: name, value: value});
+
+ attrs.map[name] = value;
+
+ return self;
+ } else {
+ return attrs.map[name];
+ }
+ }
+ },
+
+ clone : function() {
+ var self = this, clone = new Node(self.name, self.type), i, l, selfAttrs, selfAttr, cloneAttrs;
+
+ // Clone element attributes
+ if (selfAttrs = self.attributes) {
+ cloneAttrs = [];
+ cloneAttrs.map = {};
+
+ for (i = 0, l = selfAttrs.length; i < l; i++) {
+ selfAttr = selfAttrs[i];
+
+ // Clone everything except id
+ if (selfAttr.name !== 'id') {
+ cloneAttrs[cloneAttrs.length] = {name: selfAttr.name, value: selfAttr.value};
+ cloneAttrs.map[selfAttr.name] = selfAttr.value;
+ }
+ }
+
+ clone.attributes = cloneAttrs;
+ }
+
+ clone.value = self.value;
+ clone.shortEnded = self.shortEnded;
+
+ return clone;
+ },
+
+ wrap : function(wrapper) {
+ var self = this;
+
+ self.parent.insert(wrapper, self);
+ wrapper.append(self);
+
+ return self;
+ },
+
+ unwrap : function() {
+ var self = this, node, next;
+
+ for (node = self.firstChild; node; ) {
+ next = node.next;
+ self.insert(node, self, true);
+ node = next;
+ }
+
+ self.remove();
+ },
+
+ remove : function() {
+ var self = this, parent = self.parent, next = self.next, prev = self.prev;
+
+ if (parent) {
+ if (parent.firstChild === self) {
+ parent.firstChild = next;
+
+ if (next)
+ next.prev = null;
+ } else {
+ prev.next = next;
+ }
+
+ if (parent.lastChild === self) {
+ parent.lastChild = prev;
+
+ if (prev)
+ prev.next = null;
+ } else {
+ next.prev = prev;
+ }
+
+ self.parent = self.next = self.prev = null;
+ }
+
+ return self;
+ },
+
+ append : function(node) {
+ var self = this, last;
+
+ if (node.parent)
+ node.remove();
+
+ last = self.lastChild;
+ if (last) {
+ last.next = node;
+ node.prev = last;
+ self.lastChild = node;
+ } else
+ self.lastChild = self.firstChild = node;
+
+ node.parent = self;
+
+ return node;
+ },
+
+ insert : function(node, ref_node, before) {
+ var parent;
+
+ if (node.parent)
+ node.remove();
+
+ parent = ref_node.parent || this;
+
+ if (before) {
+ if (ref_node === parent.firstChild)
+ parent.firstChild = node;
+ else
+ ref_node.prev.next = node;
+
+ node.prev = ref_node.prev;
+ node.next = ref_node;
+ ref_node.prev = node;
+ } else {
+ if (ref_node === parent.lastChild)
+ parent.lastChild = node;
+ else
+ ref_node.next.prev = node;
+
+ node.next = ref_node.next;
+ node.prev = ref_node;
+ ref_node.next = node;
+ }
+
+ node.parent = parent;
+
+ return node;
+ },
+
+ getAll : function(name) {
+ var self = this, node, collection = [];
+
+ for (node = self.firstChild; node; node = walk(node, self)) {
+ if (node.name === name)
+ collection.push(node);
+ }
+
+ return collection;
+ },
+
+ empty : function() {
+ var self = this, nodes, i, node;
+
+ // Remove all children
+ if (self.firstChild) {
+ nodes = [];
+
+ // Collect the children
+ for (node = self.firstChild; node; node = walk(node, self))
+ nodes.push(node);
+
+ // Remove the children
+ i = nodes.length;
+ while (i--) {
+ node = nodes[i];
+ node.parent = node.firstChild = node.lastChild = node.next = node.prev = null;
+ }
+ }
+
+ self.firstChild = self.lastChild = null;
+
+ return self;
+ },
+
+ isEmpty : function(elements) {
+ var self = this, node = self.firstChild, i, name;
+
+ if (node) {
+ do {
+ if (node.type === 1) {
+ // Ignore bogus elements
+ if (node.attributes.map['data-mce-bogus'])
+ continue;
+
+ // Keep empty elements like <img />
+ if (elements[node.name])
+ return false;
+
+ // Keep elements with data attributes or name attribute like <a name="1"></a>
+ i = node.attributes.length;
+ while (i--) {
+ name = node.attributes[i].name;
+ if (name === "name" || name.indexOf('data-mce-') === 0)
+ return false;
+ }
+ }
+
+ // Keep comments
+ if (node.type === 8)
+ return false;
+
+ // Keep non whitespace text nodes
+ if ((node.type === 3 && !whiteSpaceRegExp.test(node.value)))
+ return false;
+ } while (node = walk(node, self));
+ }
+
+ return true;
+ },
+
+ walk : function(prev) {
+ return walk(this, null, prev);
+ }
+ });
+
+ tinymce.extend(Node, {
+ create : function(name, attrs) {
+ var node, attrName;
+
+ // Create node
+ node = new Node(name, typeLookup[name] || 1);
+
+ // Add attributes if needed
+ if (attrs) {
+ for (attrName in attrs)
+ node.attr(attrName, attrs[attrName]);
+ }
+
+ return node;
+ }
+ });
+
+ tinymce.html.Node = Node;
+})(tinymce);
+
+(function(tinymce) {
+ var Node = tinymce.html.Node;
+
+ tinymce.html.DomParser = function(settings, schema) {
+ var self = this, nodeFilters = {}, attributeFilters = [], matchedNodes = {}, matchedAttributes = {};
+
+ settings = settings || {};
+ settings.validate = "validate" in settings ? settings.validate : true;
+ settings.root_name = settings.root_name || 'body';
+ self.schema = schema = schema || new tinymce.html.Schema();
+
+ function fixInvalidChildren(nodes) {
+ var ni, node, parent, parents, newParent, currentNode, tempNode, childNode, i,
+ childClone, nonEmptyElements, nonSplitableElements, textBlockElements, sibling, nextNode;
+
+ nonSplitableElements = tinymce.makeMap('tr,td,th,tbody,thead,tfoot,table');
+ nonEmptyElements = schema.getNonEmptyElements();
+ textBlockElements = schema.getTextBlockElements();
+
+ for (ni = 0; ni < nodes.length; ni++) {
+ node = nodes[ni];
+
+ // Already removed or fixed
+ if (!node.parent || node.fixed)
+ continue;
+
+ // If the invalid element is a text block and the text block is within a parent LI element
+ // Then unwrap the first text block and convert other sibling text blocks to LI elements similar to Word/Open Office
+ if (textBlockElements[node.name] && node.parent.name == 'li') {
+ // Move sibling text blocks after LI element
+ sibling = node.next;
+ while (sibling) {
+ if (textBlockElements[sibling.name]) {
+ sibling.name = 'li';
+ sibling.fixed = true;
+ node.parent.insert(sibling, node.parent);
+ } else {
+ break;
+ }
+
+ sibling = sibling.next;
+ }
+
+ // Unwrap current text block
+ node.unwrap(node);
+ continue;
+ }
+
+ // Get list of all parent nodes until we find a valid parent to stick the child into
+ parents = [node];
+ for (parent = node.parent; parent && !schema.isValidChild(parent.name, node.name) && !nonSplitableElements[parent.name]; parent = parent.parent)
+ parents.push(parent);
+
+ // Found a suitable parent
+ if (parent && parents.length > 1) {
+ // Reverse the array since it makes looping easier
+ parents.reverse();
+
+ // Clone the related parent and insert that after the moved node
+ newParent = currentNode = self.filterNode(parents[0].clone());
+
+ // Start cloning and moving children on the left side of the target node
+ for (i = 0; i < parents.length - 1; i++) {
+ if (schema.isValidChild(currentNode.name, parents[i].name)) {
+ tempNode = self.filterNode(parents[i].clone());
+ currentNode.append(tempNode);
+ } else
+ tempNode = currentNode;
+
+ for (childNode = parents[i].firstChild; childNode && childNode != parents[i + 1]; ) {
+ nextNode = childNode.next;
+ tempNode.append(childNode);
+ childNode = nextNode;
+ }
+
+ currentNode = tempNode;
+ }
+
+ if (!newParent.isEmpty(nonEmptyElements)) {
+ parent.insert(newParent, parents[0], true);
+ parent.insert(node, newParent);
+ } else {
+ parent.insert(node, parents[0], true);
+ }
+
+ // Check if the element is empty by looking through it's contents and special treatment for <p><br /></p>
+ parent = parents[0];
+ if (parent.isEmpty(nonEmptyElements) || parent.firstChild === parent.lastChild && parent.firstChild.name === 'br') {
+ parent.empty().remove();
+ }
+ } else if (node.parent) {
+ // If it's an LI try to find a UL/OL for it or wrap it
+ if (node.name === 'li') {
+ sibling = node.prev;
+ if (sibling && (sibling.name === 'ul' || sibling.name === 'ul')) {
+ sibling.append(node);
+ continue;
+ }
+
+ sibling = node.next;
+ if (sibling && (sibling.name === 'ul' || sibling.name === 'ul')) {
+ sibling.insert(node, sibling.firstChild, true);
+ continue;
+ }
+
+ node.wrap(self.filterNode(new Node('ul', 1)));
+ continue;
+ }
+
+ // Try wrapping the element in a DIV
+ if (schema.isValidChild(node.parent.name, 'div') && schema.isValidChild('div', node.name)) {
+ node.wrap(self.filterNode(new Node('div', 1)));
+ } else {
+ // We failed wrapping it, then remove or unwrap it
+ if (node.name === 'style' || node.name === 'script')
+ node.empty().remove();
+ else
+ node.unwrap();
+ }
+ }
+ }
+ };
+
+ self.filterNode = function(node) {
+ var i, name, list;
+
+ // Run element filters
+ if (name in nodeFilters) {
+ list = matchedNodes[name];
+
+ if (list)
+ list.push(node);
+ else
+ matchedNodes[name] = [node];
+ }
+
+ // Run attribute filters
+ i = attributeFilters.length;
+ while (i--) {
+ name = attributeFilters[i].name;
+
+ if (name in node.attributes.map) {
+ list = matchedAttributes[name];
+
+ if (list)
+ list.push(node);
+ else
+ matchedAttributes[name] = [node];
+ }
+ }
+
+ return node;
+ };
+
+ self.addNodeFilter = function(name, callback) {
+ tinymce.each(tinymce.explode(name), function(name) {
+ var list = nodeFilters[name];
+
+ if (!list)
+ nodeFilters[name] = list = [];
+
+ list.push(callback);
+ });
+ };
+
+ self.addAttributeFilter = function(name, callback) {
+ tinymce.each(tinymce.explode(name), function(name) {
+ var i;
+
+ for (i = 0; i < attributeFilters.length; i++) {
+ if (attributeFilters[i].name === name) {
+ attributeFilters[i].callbacks.push(callback);
+ return;
+ }
+ }
+
+ attributeFilters.push({name: name, callbacks: [callback]});
+ });
+ };
+
+ self.parse = function(html, args) {
+ var parser, rootNode, node, nodes, i, l, fi, fl, list, name, validate,
+ blockElements, startWhiteSpaceRegExp, invalidChildren = [], isInWhiteSpacePreservedElement,
+ endWhiteSpaceRegExp, allWhiteSpaceRegExp, isAllWhiteSpaceRegExp, whiteSpaceElements, children, nonEmptyElements, rootBlockName;
+
+ args = args || {};
+ matchedNodes = {};
+ matchedAttributes = {};
+ blockElements = tinymce.extend(tinymce.makeMap('script,style,head,html,body,title,meta,param'), schema.getBlockElements());
+ nonEmptyElements = schema.getNonEmptyElements();
+ children = schema.children;
+ validate = settings.validate;
+ rootBlockName = "forced_root_block" in args ? args.forced_root_block : settings.forced_root_block;
+
+ whiteSpaceElements = schema.getWhiteSpaceElements();
+ startWhiteSpaceRegExp = /^[ \t\r\n]+/;
+ endWhiteSpaceRegExp = /[ \t\r\n]+$/;
+ allWhiteSpaceRegExp = /[ \t\r\n]+/g;
+ isAllWhiteSpaceRegExp = /^[ \t\r\n]+$/;
+
+ function addRootBlocks() {
+ var node = rootNode.firstChild, next, rootBlockNode;
+
+ while (node) {
+ next = node.next;
+
+ if (node.type == 3 || (node.type == 1 && node.name !== 'p' && !blockElements[node.name] && !node.attr('data-mce-type'))) {
+ if (!rootBlockNode) {
+ // Create a new root block element
+ rootBlockNode = createNode(rootBlockName, 1);
+ rootNode.insert(rootBlockNode, node);
+ rootBlockNode.append(node);
+ } else
+ rootBlockNode.append(node);
+ } else {
+ rootBlockNode = null;
+ }
+
+ node = next;
+ };
+ };
+
+ function createNode(name, type) {
+ var node = new Node(name, type), list;
+
+ if (name in nodeFilters) {
+ list = matchedNodes[name];
+
+ if (list)
+ list.push(node);
+ else
+ matchedNodes[name] = [node];
+ }
+
+ return node;
+ };
+
+ function removeWhitespaceBefore(node) {
+ var textNode, textVal, sibling;
+
+ for (textNode = node.prev; textNode && textNode.type === 3; ) {
+ textVal = textNode.value.replace(endWhiteSpaceRegExp, '');
+
+ if (textVal.length > 0) {
+ textNode.value = textVal;
+ textNode = textNode.prev;
+ } else {
+ sibling = textNode.prev;
+ textNode.remove();
+ textNode = sibling;
+ }
+ }
+ };
+
+ function cloneAndExcludeBlocks(input) {
+ var name, output = {};
+
+ for (name in input) {
+ if (name !== 'li' && name != 'p') {
+ output[name] = input[name];
+ }
+ }
+
+ return output;
+ };
+
+ parser = new tinymce.html.SaxParser({
+ validate : validate,
+
+ // Exclude P and LI from DOM parsing since it's treated better by the DOM parser
+ self_closing_elements: cloneAndExcludeBlocks(schema.getSelfClosingElements()),
+
+ cdata: function(text) {
+ node.append(createNode('#cdata', 4)).value = text;
+ },
+
+ text: function(text, raw) {
+ var textNode;
+
+ // Trim all redundant whitespace on non white space elements
+ if (!isInWhiteSpacePreservedElement) {
+ text = text.replace(allWhiteSpaceRegExp, ' ');
+
+ if (node.lastChild && blockElements[node.lastChild.name])
+ text = text.replace(startWhiteSpaceRegExp, '');
+ }
+
+ // Do we need to create the node
+ if (text.length !== 0) {
+ textNode = createNode('#text', 3);
+ textNode.raw = !!raw;
+ node.append(textNode).value = text;
+ }
+ },
+
+ comment: function(text) {
+ node.append(createNode('#comment', 8)).value = text;
+ },
+
+ pi: function(name, text) {
+ node.append(createNode(name, 7)).value = text;
+ removeWhitespaceBefore(node);
+ },
+
+ doctype: function(text) {
+ var newNode;
+
+ newNode = node.append(createNode('#doctype', 10));
+ newNode.value = text;
+ removeWhitespaceBefore(node);
+ },
+
+ start: function(name, attrs, empty) {
+ var newNode, attrFiltersLen, elementRule, textNode, attrName, text, sibling, parent;
+
+ elementRule = validate ? schema.getElementRule(name) : {};
+ if (elementRule) {
+ newNode = createNode(elementRule.outputName || name, 1);
+ newNode.attributes = attrs;
+ newNode.shortEnded = empty;
+
+ node.append(newNode);
+
+ // Check if node is valid child of the parent node is the child is
+ // unknown we don't collect it since it's probably a custom element
+ parent = children[node.name];
+ if (parent && children[newNode.name] && !parent[newNode.name])
+ invalidChildren.push(newNode);
+
+ attrFiltersLen = attributeFilters.length;
+ while (attrFiltersLen--) {
+ attrName = attributeFilters[attrFiltersLen].name;
+
+ if (attrName in attrs.map) {
+ list = matchedAttributes[attrName];
+
+ if (list)
+ list.push(newNode);
+ else
+ matchedAttributes[attrName] = [newNode];
+ }
+ }
+
+ // Trim whitespace before block
+ if (blockElements[name])
+ removeWhitespaceBefore(newNode);
+
+ // Change current node if the element wasn't empty i.e not <br /> or <img />
+ if (!empty)
+ node = newNode;
+
+ // Check if we are inside a whitespace preserved element
+ if (!isInWhiteSpacePreservedElement && whiteSpaceElements[name]) {
+ isInWhiteSpacePreservedElement = true;
+ }
+ }
+ },
+
+ end: function(name) {
+ var textNode, elementRule, text, sibling, tempNode;
+
+ elementRule = validate ? schema.getElementRule(name) : {};
+ if (elementRule) {
+ if (blockElements[name]) {
+ if (!isInWhiteSpacePreservedElement) {
+ // Trim whitespace of the first node in a block
+ textNode = node.firstChild;
+ if (textNode && textNode.type === 3) {
+ text = textNode.value.replace(startWhiteSpaceRegExp, '');
+
+ // Any characters left after trim or should we remove it
+ if (text.length > 0) {
+ textNode.value = text;
+ textNode = textNode.next;
+ } else {
+ sibling = textNode.next;
+ textNode.remove();
+ textNode = sibling;
+ }
+
+ // Remove any pure whitespace siblings
+ while (textNode && textNode.type === 3) {
+ text = textNode.value;
+ sibling = textNode.next;
+
+ if (text.length === 0 || isAllWhiteSpaceRegExp.test(text)) {
+ textNode.remove();
+ textNode = sibling;
+ }
+
+ textNode = sibling;
+ }
+ }
+
+ // Trim whitespace of the last node in a block
+ textNode = node.lastChild;
+ if (textNode && textNode.type === 3) {
+ text = textNode.value.replace(endWhiteSpaceRegExp, '');
+
+ // Any characters left after trim or should we remove it
+ if (text.length > 0) {
+ textNode.value = text;
+ textNode = textNode.prev;
+ } else {
+ sibling = textNode.prev;
+ textNode.remove();
+ textNode = sibling;
+ }
+
+ // Remove any pure whitespace siblings
+ while (textNode && textNode.type === 3) {
+ text = textNode.value;
+ sibling = textNode.prev;
+
+ if (text.length === 0 || isAllWhiteSpaceRegExp.test(text)) {
+ textNode.remove();
+ textNode = sibling;
+ }
+
+ textNode = sibling;
+ }
+ }
+ }
+
+ // Trim start white space
+ // Removed due to: #5424
+ /*textNode = node.prev;
+ if (textNode && textNode.type === 3) {
+ text = textNode.value.replace(startWhiteSpaceRegExp, '');
+
+ if (text.length > 0)
+ textNode.value = text;
+ else
+ textNode.remove();
+ }*/
+ }
+
+ // Check if we exited a whitespace preserved element
+ if (isInWhiteSpacePreservedElement && whiteSpaceElements[name]) {
+ isInWhiteSpacePreservedElement = false;
+ }
+
+ // Handle empty nodes
+ if (elementRule.removeEmpty || elementRule.paddEmpty) {
+ if (node.isEmpty(nonEmptyElements)) {
+ if (elementRule.paddEmpty)
+ node.empty().append(new Node('#text', '3')).value = '\u00a0';
+ else {
+ // Leave nodes that have a name like <a name="name">
+ if (!node.attributes.map.name && !node.attributes.map.id) {
+ tempNode = node.parent;
+ node.empty().remove();
+ node = tempNode;
+ return;
+ }
+ }
+ }
+ }
+
+ node = node.parent;
+ }
+ }
+ }, schema);
+
+ rootNode = node = new Node(args.context || settings.root_name, 11);
+
+ parser.parse(html);
+
+ // Fix invalid children or report invalid children in a contextual parsing
+ if (validate && invalidChildren.length) {
+ if (!args.context)
+ fixInvalidChildren(invalidChildren);
+ else
+ args.invalid = true;
+ }
+
+ // Wrap nodes in the root into block elements if the root is body
+ if (rootBlockName && rootNode.name == 'body')
+ addRootBlocks();
+
+ // Run filters only when the contents is valid
+ if (!args.invalid) {
+ // Run node filters
+ for (name in matchedNodes) {
+ list = nodeFilters[name];
+ nodes = matchedNodes[name];
+
+ // Remove already removed children
+ fi = nodes.length;
+ while (fi--) {
+ if (!nodes[fi].parent)
+ nodes.splice(fi, 1);
+ }
+
+ for (i = 0, l = list.length; i < l; i++)
+ list[i](nodes, name, args);
+ }
+
+ // Run attribute filters
+ for (i = 0, l = attributeFilters.length; i < l; i++) {
+ list = attributeFilters[i];
+
+ if (list.name in matchedAttributes) {
+ nodes = matchedAttributes[list.name];
+
+ // Remove already removed children
+ fi = nodes.length;
+ while (fi--) {
+ if (!nodes[fi].parent)
+ nodes.splice(fi, 1);
+ }
+
+ for (fi = 0, fl = list.callbacks.length; fi < fl; fi++)
+ list.callbacks[fi](nodes, list.name, args);
+ }
+ }
+ }
+
+ return rootNode;
+ };
+
+ // Remove <br> at end of block elements Gecko and WebKit injects BR elements to
+ // make it possible to place the caret inside empty blocks. This logic tries to remove
+ // these elements and keep br elements that where intended to be there intact
+ if (settings.remove_trailing_brs) {
+ self.addNodeFilter('br', function(nodes, name) {
+ var i, l = nodes.length, node, blockElements = tinymce.extend({}, schema.getBlockElements()),
+ nonEmptyElements = schema.getNonEmptyElements(), parent, lastParent, prev, prevName;
+
+ // Remove brs from body element as well
+ blockElements.body = 1;
+
+ // Must loop forwards since it will otherwise remove all brs in <p>a<br><br><br></p>
+ for (i = 0; i < l; i++) {
+ node = nodes[i];
+ parent = node.parent;
+
+ if (blockElements[node.parent.name] && node === parent.lastChild) {
+ // Loop all nodes to the left of the current node and check for other BR elements
+ // excluding bookmarks since they are invisible
+ prev = node.prev;
+ while (prev) {
+ prevName = prev.name;
+
+ // Ignore bookmarks
+ if (prevName !== "span" || prev.attr('data-mce-type') !== 'bookmark') {
+ // Found a non BR element
+ if (prevName !== "br")
+ break;
+
+ // Found another br it's a <br><br> structure then don't remove anything
+ if (prevName === 'br') {
+ node = null;
+ break;
+ }
+ }
+
+ prev = prev.prev;
+ }
+
+ if (node) {
+ node.remove();
+
+ // Is the parent to be considered empty after we removed the BR
+ if (parent.isEmpty(nonEmptyElements)) {
+ elementRule = schema.getElementRule(parent.name);
+
+ // Remove or padd the element depending on schema rule
+ if (elementRule) {
+ if (elementRule.removeEmpty)
+ parent.remove();
+ else if (elementRule.paddEmpty)
+ parent.empty().append(new tinymce.html.Node('#text', 3)).value = '\u00a0';
+ }
+ }
+ }
+ } else {
+ // Replaces BR elements inside inline elements like <p><b><i><br></i></b></p> so they become <p><b><i>&nbsp;</i></b></p>
+ lastParent = node;
+ while (parent.firstChild === lastParent && parent.lastChild === lastParent) {
+ lastParent = parent;
+
+ if (blockElements[parent.name]) {
+ break;
+ }
+
+ parent = parent.parent;
+ }
+
+ if (lastParent === parent) {
+ textNode = new tinymce.html.Node('#text', 3);
+ textNode.value = '\u00a0';
+ node.replace(textNode);
+ }
+ }
+ }
+ });
+ }
+
+ // Force anchor names closed, unless the setting "allow_html_in_named_anchor" is explicitly included.
+ if (!settings.allow_html_in_named_anchor) {
+ self.addAttributeFilter('id,name', function(nodes, name) {
+ var i = nodes.length, sibling, prevSibling, parent, node;
+
+ while (i--) {
+ node = nodes[i];
+ if (node.name === 'a' && node.firstChild && !node.attr('href')) {
+ parent = node.parent;
+
+ // Move children after current node
+ sibling = node.lastChild;
+ do {
+ prevSibling = sibling.prev;
+ parent.insert(sibling, node);
+ sibling = prevSibling;
+ } while (sibling);
+ }
+ }
+ });
+ }
+ }
+})(tinymce);
+
+tinymce.html.Writer = function(settings) {
+ var html = [], indent, indentBefore, indentAfter, encode, htmlOutput;
+
+ settings = settings || {};
+ indent = settings.indent;
+ indentBefore = tinymce.makeMap(settings.indent_before || '');
+ indentAfter = tinymce.makeMap(settings.indent_after || '');
+ encode = tinymce.html.Entities.getEncodeFunc(settings.entity_encoding || 'raw', settings.entities);
+ htmlOutput = settings.element_format == "html";
+
+ return {
+ start: function(name, attrs, empty) {
+ var i, l, attr, value;
+
+ if (indent && indentBefore[name] && html.length > 0) {
+ value = html[html.length - 1];
+
+ if (value.length > 0 && value !== '\n')
+ html.push('\n');
+ }
+
+ html.push('<', name);
+
+ if (attrs) {
+ for (i = 0, l = attrs.length; i < l; i++) {
+ attr = attrs[i];
+ html.push(' ', attr.name, '="', encode(attr.value, true), '"');
+ }
+ }
+
+ if (!empty || htmlOutput)
+ html[html.length] = '>';
+ else
+ html[html.length] = ' />';
+
+ if (empty && indent && indentAfter[name] && html.length > 0) {
+ value = html[html.length - 1];
+
+ if (value.length > 0 && value !== '\n')
+ html.push('\n');
+ }
+ },
+
+ end: function(name) {
+ var value;
+
+ /*if (indent && indentBefore[name] && html.length > 0) {
+ value = html[html.length - 1];
+
+ if (value.length > 0 && value !== '\n')
+ html.push('\n');
+ }*/
+
+ html.push('</', name, '>');
+
+ if (indent && indentAfter[name] && html.length > 0) {
+ value = html[html.length - 1];
+
+ if (value.length > 0 && value !== '\n')
+ html.push('\n');
+ }
+ },
+
+ text: function(text, raw) {
+ if (text.length > 0)
+ html[html.length] = raw ? text : encode(text);
+ },
+
+ cdata: function(text) {
+ html.push('<![CDATA[', text, ']]>');
+ },
+
+ comment: function(text) {
+ html.push('<!--', text, '-->');
+ },
+
+ pi: function(name, text) {
+ if (text)
+ html.push('<?', name, ' ', text, '?>');
+ else
+ html.push('<?', name, '?>');
+
+ if (indent)
+ html.push('\n');
+ },
+
+ doctype: function(text) {
+ html.push('<!DOCTYPE', text, '>', indent ? '\n' : '');
+ },
+
+ reset: function() {
+ html.length = 0;
+ },
+
+ getContent: function() {
+ return html.join('').replace(/\n$/, '');
+ }
+ };
+};
+
+(function(tinymce) {
+ tinymce.html.Serializer = function(settings, schema) {
+ var self = this, writer = new tinymce.html.Writer(settings);
+
+ settings = settings || {};
+ settings.validate = "validate" in settings ? settings.validate : true;
+
+ self.schema = schema = schema || new tinymce.html.Schema();
+ self.writer = writer;
+
+ self.serialize = function(node) {
+ var handlers, validate;
+
+ validate = settings.validate;
+
+ handlers = {
+ // #text
+ 3: function(node, raw) {
+ writer.text(node.value, node.raw);
+ },
+
+ // #comment
+ 8: function(node) {
+ writer.comment(node.value);
+ },
+
+ // Processing instruction
+ 7: function(node) {
+ writer.pi(node.name, node.value);
+ },
+
+ // Doctype
+ 10: function(node) {
+ writer.doctype(node.value);
+ },
+
+ // CDATA
+ 4: function(node) {
+ writer.cdata(node.value);
+ },
+
+ // Document fragment
+ 11: function(node) {
+ if ((node = node.firstChild)) {
+ do {
+ walk(node);
+ } while (node = node.next);
+ }
+ }
+ };
+
+ writer.reset();
+
+ function walk(node) {
+ var handler = handlers[node.type], name, isEmpty, attrs, attrName, attrValue, sortedAttrs, i, l, elementRule;
+
+ if (!handler) {
+ name = node.name;
+ isEmpty = node.shortEnded;
+ attrs = node.attributes;
+
+ // Sort attributes
+ if (validate && attrs && attrs.length > 1) {
+ sortedAttrs = [];
+ sortedAttrs.map = {};
+
+ elementRule = schema.getElementRule(node.name);
+ for (i = 0, l = elementRule.attributesOrder.length; i < l; i++) {
+ attrName = elementRule.attributesOrder[i];
+
+ if (attrName in attrs.map) {
+ attrValue = attrs.map[attrName];
+ sortedAttrs.map[attrName] = attrValue;
+ sortedAttrs.push({name: attrName, value: attrValue});
+ }
+ }
+
+ for (i = 0, l = attrs.length; i < l; i++) {
+ attrName = attrs[i].name;
+
+ if (!(attrName in sortedAttrs.map)) {
+ attrValue = attrs.map[attrName];
+ sortedAttrs.map[attrName] = attrValue;
+ sortedAttrs.push({name: attrName, value: attrValue});
+ }
+ }
+
+ attrs = sortedAttrs;
+ }
+
+ writer.start(node.name, attrs, isEmpty);
+
+ if (!isEmpty) {
+ if ((node = node.firstChild)) {
+ do {
+ walk(node);
+ } while (node = node.next);
+ }
+
+ writer.end(name);
+ }
+ } else
+ handler(node);
+ }
+
+ // Serialize element and treat all non elements as fragments
+ if (node.type == 1 && !settings.inner)
+ walk(node);
+ else
+ handlers[11](node);
+
+ return writer.getContent();
+ };
+ }
+})(tinymce);
+
+// JSLint defined globals
+/*global tinymce:false, window:false */
+
+tinymce.dom = {};
+
+(function(namespace, expando) {
+ var w3cEventModel = !!document.addEventListener;
+
+ function addEvent(target, name, callback, capture) {
+ if (target.addEventListener) {
+ target.addEventListener(name, callback, capture || false);
+ } else if (target.attachEvent) {
+ target.attachEvent('on' + name, callback);
+ }
+ }
+
+ function removeEvent(target, name, callback, capture) {
+ if (target.removeEventListener) {
+ target.removeEventListener(name, callback, capture || false);
+ } else if (target.detachEvent) {
+ target.detachEvent('on' + name, callback);
+ }
+ }
+
+ function fix(original_event, data) {
+ var name, event = data || {};
+
+ // Dummy function that gets replaced on the delegation state functions
+ function returnFalse() {
+ return false;
+ }
+
+ // Dummy function that gets replaced on the delegation state functions
+ function returnTrue() {
+ return true;
+ }
+
+ // Copy all properties from the original event
+ for (name in original_event) {
+ // layerX/layerY is deprecated in Chrome and produces a warning
+ if (name !== "layerX" && name !== "layerY") {
+ event[name] = original_event[name];
+ }
+ }
+
+ // Normalize target IE uses srcElement
+ if (!event.target) {
+ event.target = event.srcElement || document;
+ }
+
+ // Add preventDefault method
+ event.preventDefault = function() {
+ event.isDefaultPrevented = returnTrue;
+
+ // Execute preventDefault on the original event object
+ if (original_event) {
+ if (original_event.preventDefault) {
+ original_event.preventDefault();
+ } else {
+ original_event.returnValue = false; // IE
+ }
+ }
+ };
+
+ // Add stopPropagation
+ event.stopPropagation = function() {
+ event.isPropagationStopped = returnTrue;
+
+ // Execute stopPropagation on the original event object
+ if (original_event) {
+ if (original_event.stopPropagation) {
+ original_event.stopPropagation();
+ } else {
+ original_event.cancelBubble = true; // IE
+ }
+ }
+ };
+
+ // Add stopImmediatePropagation
+ event.stopImmediatePropagation = function() {
+ event.isImmediatePropagationStopped = returnTrue;
+ event.stopPropagation();
+ };
+
+ // Add event delegation states
+ if (!event.isDefaultPrevented) {
+ event.isDefaultPrevented = returnFalse;
+ event.isPropagationStopped = returnFalse;
+ event.isImmediatePropagationStopped = returnFalse;
+ }
+
+ return event;
+ }
+
+ function bindOnReady(win, callback, event_utils) {
+ var doc = win.document, event = {type: 'ready'};
+
+ // Gets called when the DOM is ready
+ function readyHandler() {
+ if (!event_utils.domLoaded) {
+ event_utils.domLoaded = true;
+ callback(event);
+ }
+ }
+
+ // Page already loaded then fire it directly
+ if (doc.readyState == "complete") {
+ readyHandler();
+ return;
+ }
+
+ // Use W3C method
+ if (w3cEventModel) {
+ addEvent(win, 'DOMContentLoaded', readyHandler);
+ } else {
+ // Use IE method
+ addEvent(doc, "readystatechange", function() {
+ if (doc.readyState === "complete") {
+ removeEvent(doc, "readystatechange", arguments.callee);
+ readyHandler();
+ }
+ });
+
+ // Wait until we can scroll, when we can the DOM is initialized
+ if (doc.documentElement.doScroll && win === win.top) {
+ (function() {
+ try {
+ // If IE is used, use the trick by Diego Perini licensed under MIT by request to the author.
+ // http://javascript.nwbox.com/IEContentLoaded/
+ doc.documentElement.doScroll("left");
+ } catch (ex) {
+ setTimeout(arguments.callee, 0);
+ return;
+ }
+
+ readyHandler();
+ })();
+ }
+ }
+
+ // Fallback if any of the above methods should fail for some odd reason
+ addEvent(win, 'load', readyHandler);
+ }
+
+ function EventUtils(proxy) {
+ var self = this, events = {}, count, isFocusBlurBound, hasFocusIn, hasMouseEnterLeave, mouseEnterLeave;
+
+ hasMouseEnterLeave = "onmouseenter" in document.documentElement;
+ hasFocusIn = "onfocusin" in document.documentElement;
+ mouseEnterLeave = {mouseenter: 'mouseover', mouseleave: 'mouseout'};
+ count = 1;
+
+ // State if the DOMContentLoaded was executed or not
+ self.domLoaded = false;
+ self.events = events;
+
+ function executeHandlers(evt, id) {
+ var callbackList, i, l, callback;
+
+ callbackList = events[id][evt.type];
+ if (callbackList) {
+ for (i = 0, l = callbackList.length; i < l; i++) {
+ callback = callbackList[i];
+
+ // Check if callback exists might be removed if a unbind is called inside the callback
+ if (callback && callback.func.call(callback.scope, evt) === false) {
+ evt.preventDefault();
+ }
+
+ // Should we stop propagation to immediate listeners
+ if (evt.isImmediatePropagationStopped()) {
+ return;
+ }
+ }
+ }
+ }
+
+ self.bind = function(target, names, callback, scope) {
+ var id, callbackList, i, name, fakeName, nativeHandler, capture, win = window;
+
+ // Native event handler function patches the event and executes the callbacks for the expando
+ function defaultNativeHandler(evt) {
+ executeHandlers(fix(evt || win.event), id);
+ }
+
+ // Don't bind to text nodes or comments
+ if (!target || target.nodeType === 3 || target.nodeType === 8) {
+ return;
+ }
+
+ // Create or get events id for the target
+ if (!target[expando]) {
+ id = count++;
+ target[expando] = id;
+ events[id] = {};
+ } else {
+ id = target[expando];
+
+ if (!events[id]) {
+ events[id] = {};
+ }
+ }
+
+ // Setup the specified scope or use the target as a default
+ scope = scope || target;
+
+ // Split names and bind each event, enables you to bind multiple events with one call
+ names = names.split(' ');
+ i = names.length;
+ while (i--) {
+ name = names[i];
+ nativeHandler = defaultNativeHandler;
+ fakeName = capture = false;
+
+ // Use ready instead of DOMContentLoaded
+ if (name === "DOMContentLoaded") {
+ name = "ready";
+ }
+
+ // DOM is already ready
+ if ((self.domLoaded || target.readyState == 'complete') && name === "ready") {
+ self.domLoaded = true;
+ callback.call(scope, fix({type: name}));
+ continue;
+ }
+
+ // Handle mouseenter/mouseleaver
+ if (!hasMouseEnterLeave) {
+ fakeName = mouseEnterLeave[name];
+
+ if (fakeName) {
+ nativeHandler = function(evt) {
+ var current, related;
+
+ current = evt.currentTarget;
+ related = evt.relatedTarget;
+
+ // Check if related is inside the current target if it's not then the event should be ignored since it's a mouseover/mouseout inside the element
+ if (related && current.contains) {
+ // Use contains for performance
+ related = current.contains(related);
+ } else {
+ while (related && related !== current) {
+ related = related.parentNode;
+ }
+ }
+
+ // Fire fake event
+ if (!related) {
+ evt = fix(evt || win.event);
+ evt.type = evt.type === 'mouseout' ? 'mouseleave' : 'mouseenter';
+ evt.target = current;
+ executeHandlers(evt, id);
+ }
+ };
+ }
+ }
+
+ // Fake bubbeling of focusin/focusout
+ if (!hasFocusIn && (name === "focusin" || name === "focusout")) {
+ capture = true;
+ fakeName = name === "focusin" ? "focus" : "blur";
+ nativeHandler = function(evt) {
+ evt = fix(evt || win.event);
+ evt.type = evt.type === 'focus' ? 'focusin' : 'focusout';
+ executeHandlers(evt, id);
+ };
+ }
+
+ // Setup callback list and bind native event
+ callbackList = events[id][name];
+ if (!callbackList) {
+ events[id][name] = callbackList = [{func: callback, scope: scope}];
+ callbackList.fakeName = fakeName;
+ callbackList.capture = capture;
+
+ // Add the nativeHandler to the callback list so that we can later unbind it
+ callbackList.nativeHandler = nativeHandler;
+ if (!w3cEventModel) {
+ callbackList.proxyHandler = proxy(id);
+ }
+
+ // Check if the target has native events support
+ if (name === "ready") {
+ bindOnReady(target, nativeHandler, self);
+ } else {
+ addEvent(target, fakeName || name, w3cEventModel ? nativeHandler : callbackList.proxyHandler, capture);
+ }
+ } else {
+ // If it already has an native handler then just push the callback
+ callbackList.push({func: callback, scope: scope});
+ }
+ }
+
+ target = callbackList = 0; // Clean memory for IE
+
+ return callback;
+ };
+
+ self.unbind = function(target, names, callback) {
+ var id, callbackList, i, ci, name, eventMap;
+
+ // Don't bind to text nodes or comments
+ if (!target || target.nodeType === 3 || target.nodeType === 8) {
+ return self;
+ }
+
+ // Unbind event or events if the target has the expando
+ id = target[expando];
+ if (id) {
+ eventMap = events[id];
+
+ // Specific callback
+ if (names) {
+ names = names.split(' ');
+ i = names.length;
+ while (i--) {
+ name = names[i];
+ callbackList = eventMap[name];
+
+ // Unbind the event if it exists in the map
+ if (callbackList) {
+ // Remove specified callback
+ if (callback) {
+ ci = callbackList.length;
+ while (ci--) {
+ if (callbackList[ci].func === callback) {
+ callbackList.splice(ci, 1);
+ }
+ }
+ }
+
+ // Remove all callbacks if there isn't a specified callback or there is no callbacks left
+ if (!callback || callbackList.length === 0) {
+ delete eventMap[name];
+ removeEvent(target, callbackList.fakeName || name, w3cEventModel ? callbackList.nativeHandler : callbackList.proxyHandler, callbackList.capture);
+ }
+ }
+ }
+ } else {
+ // All events for a specific element
+ for (name in eventMap) {
+ callbackList = eventMap[name];
+ removeEvent(target, callbackList.fakeName || name, w3cEventModel ? callbackList.nativeHandler : callbackList.proxyHandler, callbackList.capture);
+ }
+
+ eventMap = {};
+ }
+
+ // Check if object is empty, if it isn't then we won't remove the expando map
+ for (name in eventMap) {
+ return self;
+ }
+
+ // Delete event object
+ delete events[id];
+
+ // Remove expando from target
+ try {
+ // IE will fail here since it can't delete properties from window
+ delete target[expando];
+ } catch (ex) {
+ // IE will set it to null
+ target[expando] = null;
+ }
+ }
+
+ return self;
+ };
+
+ self.fire = function(target, name, args) {
+ var id, event;
+
+ // Don't bind to text nodes or comments
+ if (!target || target.nodeType === 3 || target.nodeType === 8) {
+ return self;
+ }
+
+ // Build event object by patching the args
+ event = fix(null, args);
+ event.type = name;
+
+ do {
+ // Found an expando that means there is listeners to execute
+ id = target[expando];
+ if (id) {
+ executeHandlers(event, id);
+ }
+
+ // Walk up the DOM
+ target = target.parentNode || target.ownerDocument || target.defaultView || target.parentWindow;
+ } while (target && !event.isPropagationStopped());
+
+ return self;
+ };
+
+ self.clean = function(target) {
+ var i, children, unbind = self.unbind;
+
+ // Don't bind to text nodes or comments
+ if (!target || target.nodeType === 3 || target.nodeType === 8) {
+ return self;
+ }
+
+ // Unbind any element on the specificed target
+ if (target[expando]) {
+ unbind(target);
+ }
+
+ // Target doesn't have getElementsByTagName it's probably a window object then use it's document to find the children
+ if (!target.getElementsByTagName) {
+ target = target.document;
+ }
+
+ // Remove events from each child element
+ if (target && target.getElementsByTagName) {
+ unbind(target);
+
+ children = target.getElementsByTagName('*');
+ i = children.length;
+ while (i--) {
+ target = children[i];
+
+ if (target[expando]) {
+ unbind(target);
+ }
+ }
+ }
+
+ return self;
+ };
+
+ self.callNativeHandler = function(id, evt) {
+ if (events) {
+ events[id][evt.type].nativeHandler(evt);
+ }
+ };
+
+ self.destory = function() {
+ events = {};
+ };
+
+ // Legacy function calls
+
+ self.add = function(target, events, func, scope) {
+ // Old API supported direct ID assignment
+ if (typeof(target) === "string") {
+ target = document.getElementById(target);
+ }
+
+ // Old API supported multiple targets
+ if (target && target instanceof Array) {
+ var i = target.length;
+
+ while (i--) {
+ self.add(target[i], events, func, scope);
+ }
+
+ return;
+ }
+
+ // Old API called ready init
+ if (events === "init") {
+ events = "ready";
+ }
+
+ return self.bind(target, events instanceof Array ? events.join(' ') : events, func, scope);
+ };
+
+ self.remove = function(target, events, func, scope) {
+ if (!target) {
+ return self;
+ }
+
+ // Old API supported direct ID assignment
+ if (typeof(target) === "string") {
+ target = document.getElementById(target);
+ }
+
+ // Old API supported multiple targets
+ if (target instanceof Array) {
+ var i = target.length;
+
+ while (i--) {
+ self.remove(target[i], events, func, scope);
+ }
+
+ return self;
+ }
+
+ return self.unbind(target, events instanceof Array ? events.join(' ') : events, func);
+ };
+
+ self.clear = function(target) {
+ // Old API supported direct ID assignment
+ if (typeof(target) === "string") {
+ target = document.getElementById(target);
+ }
+
+ return self.clean(target);
+ };
+
+ self.cancel = function(e) {
+ if (e) {
+ self.prevent(e);
+ self.stop(e);
+ }
+
+ return false;
+ };
+
+ self.prevent = function(e) {
+ if (!e.preventDefault) {
+ e = fix(e);
+ }
+
+ e.preventDefault();
+
+ return false;
+ };
+
+ self.stop = function(e) {
+ if (!e.stopPropagation) {
+ e = fix(e);
+ }
+
+ e.stopPropagation();
+
+ return false;
+ };
+ }
+
+ namespace.EventUtils = EventUtils;
+
+ namespace.Event = new EventUtils(function(id) {
+ return function(evt) {
+ tinymce.dom.Event.callNativeHandler(id, evt);
+ };
+ });
+
+ // Bind ready event when tinymce script is loaded
+ namespace.Event.bind(window, 'ready', function() {});
+
+ namespace = 0;
+})(tinymce.dom, 'data-mce-expando'); // Namespace and expando
+
+tinymce.dom.TreeWalker = function(start_node, root_node) {
+ var node = start_node;
+
+ function findSibling(node, start_name, sibling_name, shallow) {
+ var sibling, parent;
+
+ if (node) {
+ // Walk into nodes if it has a start
+ if (!shallow && node[start_name])
+ return node[start_name];
+
+ // Return the sibling if it has one
+ if (node != root_node) {
+ sibling = node[sibling_name];
+ if (sibling)
+ return sibling;
+
+ // Walk up the parents to look for siblings
+ for (parent = node.parentNode; parent && parent != root_node; parent = parent.parentNode) {
+ sibling = parent[sibling_name];
+ if (sibling)
+ return sibling;
+ }
+ }
+ }
+ };
+
+ this.current = function() {
+ return node;
+ };
+
+ this.next = function(shallow) {
+ return (node = findSibling(node, 'firstChild', 'nextSibling', shallow));
+ };
+
+ this.prev = function(shallow) {
+ return (node = findSibling(node, 'lastChild', 'previousSibling', shallow));
+ };
+};
+
+(function(tinymce) {
+ // Shorten names
+ var each = tinymce.each,
+ is = tinymce.is,
+ isWebKit = tinymce.isWebKit,
+ isIE = tinymce.isIE,
+ Entities = tinymce.html.Entities,
+ simpleSelectorRe = /^([a-z0-9],?)+$/i,
+ whiteSpaceRegExp = /^[ \t\r\n]*$/;
+
+ tinymce.create('tinymce.dom.DOMUtils', {
+ doc : null,
+ root : null,
+ files : null,
+ pixelStyles : /^(top|left|bottom|right|width|height|borderWidth)$/,
+ props : {
+ "for" : "htmlFor",
+ "class" : "className",
+ className : "className",
+ checked : "checked",
+ disabled : "disabled",
+ maxlength : "maxLength",
+ readonly : "readOnly",
+ selected : "selected",
+ value : "value",
+ id : "id",
+ name : "name",
+ type : "type"
+ },
+
+ DOMUtils : function(d, s) {
+ var t = this, globalStyle, name, blockElementsMap;
+
+ t.doc = d;
+ t.win = window;
+ t.files = {};
+ t.cssFlicker = false;
+ t.counter = 0;
+ t.stdMode = !tinymce.isIE || d.documentMode >= 8;
+ t.boxModel = !tinymce.isIE || d.compatMode == "CSS1Compat" || t.stdMode;
+ t.hasOuterHTML = "outerHTML" in d.createElement("a");
+
+ t.settings = s = tinymce.extend({
+ keep_values : false,
+ hex_colors : 1
+ }, s);
+
+ t.schema = s.schema;
+ t.styles = new tinymce.html.Styles({
+ url_converter : s.url_converter,
+ url_converter_scope : s.url_converter_scope
+ }, s.schema);
+
+ // Fix IE6SP2 flicker and check it failed for pre SP2
+ if (tinymce.isIE6) {
+ try {
+ d.execCommand('BackgroundImageCache', false, true);
+ } catch (e) {
+ t.cssFlicker = true;
+ }
+ }
+
+ t.fixDoc(d);
+ t.events = s.ownEvents ? new tinymce.dom.EventUtils(s.proxy) : tinymce.dom.Event;
+ tinymce.addUnload(t.destroy, t);
+ blockElementsMap = s.schema ? s.schema.getBlockElements() : {};
+
+ t.isBlock = function(node) {
+ // This function is called in module pattern style since it might be executed with the wrong this scope
+ var type = node.nodeType;
+
+ // If it's a node then check the type and use the nodeName
+ if (type)
+ return !!(type === 1 && blockElementsMap[node.nodeName]);
+
+ return !!blockElementsMap[node];
+ };
+ },
+
+ fixDoc: function(doc) {
+ var settings = this.settings, name;
+
+ if (isIE && settings.schema) {
+ // Add missing HTML 4/5 elements to IE
+ ('abbr article aside audio canvas ' +
+ 'details figcaption figure footer ' +
+ 'header hgroup mark menu meter nav ' +
+ 'output progress section summary ' +
+ 'time video').replace(/\w+/g, function(name) {
+ doc.createElement(name);
+ });
+
+ // Create all custom elements
+ for (name in settings.schema.getCustomElements()) {
+ doc.createElement(name);
+ }
+ }
+ },
+
+ clone: function(node, deep) {
+ var self = this, clone, doc;
+
+ // TODO: Add feature detection here in the future
+ if (!isIE || node.nodeType !== 1 || deep) {
+ return node.cloneNode(deep);
+ }
+
+ doc = self.doc;
+
+ // Make a HTML5 safe shallow copy
+ if (!deep) {
+ clone = doc.createElement(node.nodeName);
+
+ // Copy attribs
+ each(self.getAttribs(node), function(attr) {
+ self.setAttrib(clone, attr.nodeName, self.getAttrib(node, attr.nodeName));
+ });
+
+ return clone;
+ }
+/*
+ // Setup HTML5 patched document fragment
+ if (!self.frag) {
+ self.frag = doc.createDocumentFragment();
+ self.fixDoc(self.frag);
+ }
+
+ // Make a deep copy by adding it to the document fragment then removing it this removed the :section
+ clone = doc.createElement('div');
+ self.frag.appendChild(clone);
+ clone.innerHTML = node.outerHTML;
+ self.frag.removeChild(clone);
+*/
+ return clone.firstChild;
+ },
+
+ getRoot : function() {
+ var t = this, s = t.settings;
+
+ return (s && t.get(s.root_element)) || t.doc.body;
+ },
+
+ getViewPort : function(w) {
+ var d, b;
+
+ w = !w ? this.win : w;
+ d = w.document;
+ b = this.boxModel ? d.documentElement : d.body;
+
+ // Returns viewport size excluding scrollbars
+ return {
+ x : w.pageXOffset || b.scrollLeft,
+ y : w.pageYOffset || b.scrollTop,
+ w : w.innerWidth || b.clientWidth,
+ h : w.innerHeight || b.clientHeight
+ };
+ },
+
+ getRect : function(e) {
+ var p, t = this, sr;
+
+ e = t.get(e);
+ p = t.getPos(e);
+ sr = t.getSize(e);
+
+ return {
+ x : p.x,
+ y : p.y,
+ w : sr.w,
+ h : sr.h
+ };
+ },
+
+ getSize : function(e) {
+ var t = this, w, h;
+
+ e = t.get(e);
+ w = t.getStyle(e, 'width');
+ h = t.getStyle(e, 'height');
+
+ // Non pixel value, then force offset/clientWidth
+ if (w.indexOf('px') === -1)
+ w = 0;
+
+ // Non pixel value, then force offset/clientWidth
+ if (h.indexOf('px') === -1)
+ h = 0;
+
+ return {
+ w : parseInt(w, 10) || e.offsetWidth || e.clientWidth,
+ h : parseInt(h, 10) || e.offsetHeight || e.clientHeight
+ };
+ },
+
+ getParent : function(n, f, r) {
+ return this.getParents(n, f, r, false);
+ },
+
+ getParents : function(n, f, r, c) {
+ var t = this, na, se = t.settings, o = [];
+
+ n = t.get(n);
+ c = c === undefined;
+
+ if (se.strict_root)
+ r = r || t.getRoot();
+
+ // Wrap node name as func
+ if (is(f, 'string')) {
+ na = f;
+
+ if (f === '*') {
+ f = function(n) {return n.nodeType == 1;};
+ } else {
+ f = function(n) {
+ return t.is(n, na);
+ };
+ }
+ }
+
+ while (n) {
+ if (n == r || !n.nodeType || n.nodeType === 9)
+ break;
+
+ if (!f || f(n)) {
+ if (c)
+ o.push(n);
+ else
+ return n;
+ }
+
+ n = n.parentNode;
+ }
+
+ return c ? o : null;
+ },
+
+ get : function(e) {
+ var n;
+
+ if (e && this.doc && typeof(e) == 'string') {
+ n = e;
+ e = this.doc.getElementById(e);
+
+ // IE and Opera returns meta elements when they match the specified input ID, but getElementsByName seems to do the trick
+ if (e && e.id !== n)
+ return this.doc.getElementsByName(n)[1];
+ }
+
+ return e;
+ },
+
+ getNext : function(node, selector) {
+ return this._findSib(node, selector, 'nextSibling');
+ },
+
+ getPrev : function(node, selector) {
+ return this._findSib(node, selector, 'previousSibling');
+ },
+
+
+ select : function(pa, s) {
+ var t = this;
+
+ return tinymce.dom.Sizzle(pa, t.get(s) || t.get(t.settings.root_element) || t.doc, []);
+ },
+
+ is : function(n, selector) {
+ var i;
+
+ // If it isn't an array then try to do some simple selectors instead of Sizzle for to boost performance
+ if (n.length === undefined) {
+ // Simple all selector
+ if (selector === '*')
+ return n.nodeType == 1;
+
+ // Simple selector just elements
+ if (simpleSelectorRe.test(selector)) {
+ selector = selector.toLowerCase().split(/,/);
+ n = n.nodeName.toLowerCase();
+
+ for (i = selector.length - 1; i >= 0; i--) {
+ if (selector[i] == n)
+ return true;
+ }
+
+ return false;
+ }
+ }
+
+ return tinymce.dom.Sizzle.matches(selector, n.nodeType ? [n] : n).length > 0;
+ },
+
+
+ add : function(p, n, a, h, c) {
+ var t = this;
+
+ return this.run(p, function(p) {
+ var e, k;
+
+ e = is(n, 'string') ? t.doc.createElement(n) : n;
+ t.setAttribs(e, a);
+
+ if (h) {
+ if (h.nodeType)
+ e.appendChild(h);
+ else
+ t.setHTML(e, h);
+ }
+
+ return !c ? p.appendChild(e) : e;
+ });
+ },
+
+ create : function(n, a, h) {
+ return this.add(this.doc.createElement(n), n, a, h, 1);
+ },
+
+ createHTML : function(n, a, h) {
+ var o = '', t = this, k;
+
+ o += '<' + n;
+
+ for (k in a) {
+ if (a.hasOwnProperty(k))
+ o += ' ' + k + '="' + t.encode(a[k]) + '"';
+ }
+
+ // A call to tinymce.is doesn't work for some odd reason on IE9 possible bug inside their JS runtime
+ if (typeof(h) != "undefined")
+ return o + '>' + h + '</' + n + '>';
+
+ return o + ' />';
+ },
+
+ remove : function(node, keep_children) {
+ return this.run(node, function(node) {
+ var child, parent = node.parentNode;
+
+ if (!parent)
+ return null;
+
+ if (keep_children) {
+ while (child = node.firstChild) {
+ // IE 8 will crash if you don't remove completely empty text nodes
+ if (!tinymce.isIE || child.nodeType !== 3 || child.nodeValue)
+ parent.insertBefore(child, node);
+ else
+ node.removeChild(child);
+ }
+ }
+
+ return parent.removeChild(node);
+ });
+ },
+
+ setStyle : function(n, na, v) {
+ var t = this;
+
+ return t.run(n, function(e) {
+ var s, i;
+
+ s = e.style;
+
+ // Camelcase it, if needed
+ na = na.replace(/-(\D)/g, function(a, b){
+ return b.toUpperCase();
+ });
+
+ // Default px suffix on these
+ if (t.pixelStyles.test(na) && (tinymce.is(v, 'number') || /^[\-0-9\.]+$/.test(v)))
+ v += 'px';
+
+ switch (na) {
+ case 'opacity':
+ // IE specific opacity
+ if (isIE) {
+ s.filter = v === '' ? '' : "alpha(opacity=" + (v * 100) + ")";
+
+ if (!n.currentStyle || !n.currentStyle.hasLayout)
+ s.display = 'inline-block';
+ }
+
+ // Fix for older browsers
+ s[na] = s['-moz-opacity'] = s['-khtml-opacity'] = v || '';
+ break;
+
+ case 'float':
+ isIE ? s.styleFloat = v : s.cssFloat = v;
+ break;
+
+ default:
+ s[na] = v || '';
+ }
+
+ // Force update of the style data
+ if (t.settings.update_styles)
+ t.setAttrib(e, 'data-mce-style');
+ });
+ },
+
+ getStyle : function(n, na, c) {
+ n = this.get(n);
+
+ if (!n)
+ return;
+
+ // Gecko
+ if (this.doc.defaultView && c) {
+ // Remove camelcase
+ na = na.replace(/[A-Z]/g, function(a){
+ return '-' + a;
+ });
+
+ try {
+ return this.doc.defaultView.getComputedStyle(n, null).getPropertyValue(na);
+ } catch (ex) {
+ // Old safari might fail
+ return null;
+ }
+ }
+
+ // Camelcase it, if needed
+ na = na.replace(/-(\D)/g, function(a, b){
+ return b.toUpperCase();
+ });
+
+ if (na == 'float')
+ na = isIE ? 'styleFloat' : 'cssFloat';
+
+ // IE & Opera
+ if (n.currentStyle && c)
+ return n.currentStyle[na];
+
+ return n.style ? n.style[na] : undefined;
+ },
+
+ setStyles : function(e, o) {
+ var t = this, s = t.settings, ol;
+
+ ol = s.update_styles;
+ s.update_styles = 0;
+
+ each(o, function(v, n) {
+ t.setStyle(e, n, v);
+ });
+
+ // Update style info
+ s.update_styles = ol;
+ if (s.update_styles)
+ t.setAttrib(e, s.cssText);
+ },
+
+ removeAllAttribs: function(e) {
+ return this.run(e, function(e) {
+ var i, attrs = e.attributes;
+ for (i = attrs.length - 1; i >= 0; i--) {
+ e.removeAttributeNode(attrs.item(i));
+ }
+ });
+ },
+
+ setAttrib : function(e, n, v) {
+ var t = this;
+
+ // Whats the point
+ if (!e || !n)
+ return;
+
+ // Strict XML mode
+ if (t.settings.strict)
+ n = n.toLowerCase();
+
+ return this.run(e, function(e) {
+ var s = t.settings;
+ var originalValue = e.getAttribute(n);
+ if (v !== null) {
+ switch (n) {
+ case "style":
+ if (!is(v, 'string')) {
+ each(v, function(v, n) {
+ t.setStyle(e, n, v);
+ });
+
+ return;
+ }
+
+ // No mce_style for elements with these since they might get resized by the user
+ if (s.keep_values) {
+ if (v && !t._isRes(v))
+ e.setAttribute('data-mce-style', v, 2);
+ else
+ e.removeAttribute('data-mce-style', 2);
+ }
+
+ e.style.cssText = v;
+ break;
+
+ case "class":
+ e.className = v || ''; // Fix IE null bug
+ break;
+
+ case "src":
+ case "href":
+ if (s.keep_values) {
+ if (s.url_converter)
+ v = s.url_converter.call(s.url_converter_scope || t, v, n, e);
+
+ t.setAttrib(e, 'data-mce-' + n, v, 2);
+ }
+
+ break;
+
+ case "shape":
+ e.setAttribute('data-mce-style', v);
+ break;
+ }
+ }
+ if (is(v) && v !== null && v.length !== 0)
+ e.setAttribute(n, '' + v, 2);
+ else
+ e.removeAttribute(n, 2);
+
+ // fire onChangeAttrib event for attributes that have changed
+ if (tinyMCE.activeEditor && originalValue != v) {
+ var ed = tinyMCE.activeEditor;
+ ed.onSetAttrib.dispatch(ed, e, n, v);
+ }
+ });
+ },
+
+ setAttribs : function(e, o) {
+ var t = this;
+
+ return this.run(e, function(e) {
+ each(o, function(v, n) {
+ t.setAttrib(e, n, v);
+ });
+ });
+ },
+
+ getAttrib : function(e, n, dv) {
+ var v, t = this, undef;
+
+ e = t.get(e);
+
+ if (!e || e.nodeType !== 1)
+ return dv === undef ? false : dv;
+
+ if (!is(dv))
+ dv = '';
+
+ // Try the mce variant for these
+ if (/^(src|href|style|coords|shape)$/.test(n)) {
+ v = e.getAttribute("data-mce-" + n);
+
+ if (v)
+ return v;
+ }
+
+ if (isIE && t.props[n]) {
+ v = e[t.props[n]];
+ v = v && v.nodeValue ? v.nodeValue : v;
+ }
+
+ if (!v)
+ v = e.getAttribute(n, 2);
+
+ // Check boolean attribs
+ if (/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noshade|nowrap|readonly|selected)$/.test(n)) {
+ if (e[t.props[n]] === true && v === '')
+ return n;
+
+ return v ? n : '';
+ }
+
+ // Inner input elements will override attributes on form elements
+ if (e.nodeName === "FORM" && e.getAttributeNode(n))
+ return e.getAttributeNode(n).nodeValue;
+
+ if (n === 'style') {
+ v = v || e.style.cssText;
+
+ if (v) {
+ v = t.serializeStyle(t.parseStyle(v), e.nodeName);
+
+ if (t.settings.keep_values && !t._isRes(v))
+ e.setAttribute('data-mce-style', v);
+ }
+ }
+
+ // Remove Apple and WebKit stuff
+ if (isWebKit && n === "class" && v)
+ v = v.replace(/(apple|webkit)\-[a-z\-]+/gi, '');
+
+ // Handle IE issues
+ if (isIE) {
+ switch (n) {
+ case 'rowspan':
+ case 'colspan':
+ // IE returns 1 as default value
+ if (v === 1)
+ v = '';
+
+ break;
+
+ case 'size':
+ // IE returns +0 as default value for size
+ if (v === '+0' || v === 20 || v === 0)
+ v = '';
+
+ break;
+
+ case 'width':
+ case 'height':
+ case 'vspace':
+ case 'checked':
+ case 'disabled':
+ case 'readonly':
+ if (v === 0)
+ v = '';
+
+ break;
+
+ case 'hspace':
+ // IE returns -1 as default value
+ if (v === -1)
+ v = '';
+
+ break;
+
+ case 'maxlength':
+ case 'tabindex':
+ // IE returns default value
+ if (v === 32768 || v === 2147483647 || v === '32768')
+ v = '';
+
+ break;
+
+ case 'multiple':
+ case 'compact':
+ case 'noshade':
+ case 'nowrap':
+ if (v === 65535)
+ return n;
+
+ return dv;
+
+ case 'shape':
+ v = v.toLowerCase();
+ break;
+
+ default:
+ // IE has odd anonymous function for event attributes
+ if (n.indexOf('on') === 0 && v)
+ v = tinymce._replace(/^function\s+\w+\(\)\s+\{\s+(.*)\s+\}$/, '$1', '' + v);
+ }
+ }
+
+ return (v !== undef && v !== null && v !== '') ? '' + v : dv;
+ },
+
+ getPos : function(n, ro) {
+ var t = this, x = 0, y = 0, e, d = t.doc, r;
+
+ n = t.get(n);
+ ro = ro || d.body;
+
+ if (n) {
+ // Use getBoundingClientRect if it exists since it's faster than looping offset nodes
+ if (n.getBoundingClientRect) {
+ n = n.getBoundingClientRect();
+ e = t.boxModel ? d.documentElement : d.body;
+
+ // Add scroll offsets from documentElement or body since IE with the wrong box model will use d.body and so do WebKit
+ // Also remove the body/documentelement clientTop/clientLeft on IE 6, 7 since they offset the position
+ x = n.left + (d.documentElement.scrollLeft || d.body.scrollLeft) - e.clientTop;
+ y = n.top + (d.documentElement.scrollTop || d.body.scrollTop) - e.clientLeft;
+
+ return {x : x, y : y};
+ }
+
+ r = n;
+ while (r && r != ro && r.nodeType) {
+ x += r.offsetLeft || 0;
+ y += r.offsetTop || 0;
+ r = r.offsetParent;
+ }
+
+ r = n.parentNode;
+ while (r && r != ro && r.nodeType) {
+ x -= r.scrollLeft || 0;
+ y -= r.scrollTop || 0;
+ r = r.parentNode;
+ }
+ }
+
+ return {x : x, y : y};
+ },
+
+ parseStyle : function(st) {
+ return this.styles.parse(st);
+ },
+
+ serializeStyle : function(o, name) {
+ return this.styles.serialize(o, name);
+ },
+
+ addStyle: function(cssText) {
+ var doc = this.doc, head;
+
+ // Create style element if needed
+ styleElm = doc.getElementById('mceDefaultStyles');
+ if (!styleElm) {
+ styleElm = doc.createElement('style'),
+ styleElm.id = 'mceDefaultStyles';
+ styleElm.type = 'text/css';
+
+ head = doc.getElementsByTagName('head')[0];
+ if (head.firstChild) {
+ head.insertBefore(styleElm, head.firstChild);
+ } else {
+ head.appendChild(styleElm);
+ }
+ }
+
+ // Append style data to old or new style element
+ if (styleElm.styleSheet) {
+ styleElm.styleSheet.cssText += cssText;
+ } else {
+ styleElm.appendChild(doc.createTextNode(cssText));
+ }
+ },
+
+ loadCSS : function(u) {
+ var t = this, d = t.doc, head;
+
+ if (!u)
+ u = '';
+
+ head = d.getElementsByTagName('head')[0];
+
+ each(u.split(','), function(u) {
+ var link;
+
+ if (t.files[u])
+ return;
+
+ t.files[u] = true;
+ link = t.create('link', {rel : 'stylesheet', href : tinymce._addVer(u)});
+
+ // IE 8 has a bug where dynamically loading stylesheets would produce a 1 item remaining bug
+ // This fix seems to resolve that issue by realcing the document ones a stylesheet finishes loading
+ // It's ugly but it seems to work fine.
+ if (isIE && d.documentMode && d.recalc) {
+ link.onload = function() {
+ if (d.recalc)
+ d.recalc();
+
+ link.onload = null;
+ };
+ }
+
+ head.appendChild(link);
+ });
+ },
+
+ addClass : function(e, c) {
+ return this.run(e, function(e) {
+ var o;
+
+ if (!c)
+ return 0;
+
+ if (this.hasClass(e, c))
+ return e.className;
+
+ o = this.removeClass(e, c);
+
+ return e.className = (o != '' ? (o + ' ') : '') + c;
+ });
+ },
+
+ removeClass : function(e, c) {
+ var t = this, re;
+
+ return t.run(e, function(e) {
+ var v;
+
+ if (t.hasClass(e, c)) {
+ if (!re)
+ re = new RegExp("(^|\\s+)" + c + "(\\s+|$)", "g");
+
+ v = e.className.replace(re, ' ');
+ v = tinymce.trim(v != ' ' ? v : '');
+
+ e.className = v;
+
+ // Empty class attr
+ if (!v) {
+ e.removeAttribute('class');
+ e.removeAttribute('className');
+ }
+
+ return v;
+ }
+
+ return e.className;
+ });
+ },
+
+ hasClass : function(n, c) {
+ n = this.get(n);
+
+ if (!n || !c)
+ return false;
+
+ return (' ' + n.className + ' ').indexOf(' ' + c + ' ') !== -1;
+ },
+
+ show : function(e) {
+ return this.setStyle(e, 'display', 'block');
+ },
+
+ hide : function(e) {
+ return this.setStyle(e, 'display', 'none');
+ },
+
+ isHidden : function(e) {
+ e = this.get(e);
+
+ return !e || e.style.display == 'none' || this.getStyle(e, 'display') == 'none';
+ },
+
+ uniqueId : function(p) {
+ return (!p ? 'mce_' : p) + (this.counter++);
+ },
+
+ setHTML : function(element, html) {
+ var self = this;
+
+ return self.run(element, function(element) {
+ if (isIE) {
+ // Remove all child nodes, IE keeps empty text nodes in DOM
+ while (element.firstChild)
+ element.removeChild(element.firstChild);
+
+ try {
+ // IE will remove comments from the beginning
+ // unless you padd the contents with something
+ element.innerHTML = '<br />' + html;
+ element.removeChild(element.firstChild);
+ } catch (ex) {
+ // IE sometimes produces an unknown runtime error on innerHTML if it's an block element within a block element for example a div inside a p
+ // This seems to fix this problem
+
+ // Create new div with HTML contents and a BR infront to keep comments
+ var newElement = self.create('div');
+ newElement.innerHTML = '<br />' + html;
+
+ // Add all children from div to target
+ each (tinymce.grep(newElement.childNodes), function(node, i) {
+ // Skip br element
+ if (i && element.canHaveHTML)
+ element.appendChild(node);
+ });
+ }
+ } else
+ element.innerHTML = html;
+
+ return html;
+ });
+ },
+
+ getOuterHTML : function(elm) {
+ var doc, self = this;
+
+ elm = self.get(elm);
+
+ if (!elm)
+ return null;
+
+ if (elm.nodeType === 1 && self.hasOuterHTML)
+ return elm.outerHTML;
+
+ doc = (elm.ownerDocument || self.doc).createElement("body");
+ doc.appendChild(elm.cloneNode(true));
+
+ return doc.innerHTML;
+ },
+
+ setOuterHTML : function(e, h, d) {
+ var t = this;
+
+ function setHTML(e, h, d) {
+ var n, tp;
+
+ tp = d.createElement("body");
+ tp.innerHTML = h;
+
+ n = tp.lastChild;
+ while (n) {
+ t.insertAfter(n.cloneNode(true), e);
+ n = n.previousSibling;
+ }
+
+ t.remove(e);
+ };
+
+ return this.run(e, function(e) {
+ e = t.get(e);
+
+ // Only set HTML on elements
+ if (e.nodeType == 1) {
+ d = d || e.ownerDocument || t.doc;
+
+ if (isIE) {
+ try {
+ // Try outerHTML for IE it sometimes produces an unknown runtime error
+ if (isIE && e.nodeType == 1)
+ e.outerHTML = h;
+ else
+ setHTML(e, h, d);
+ } catch (ex) {
+ // Fix for unknown runtime error
+ setHTML(e, h, d);
+ }
+ } else
+ setHTML(e, h, d);
+ }
+ });
+ },
+
+ decode : Entities.decode,
+
+ encode : Entities.encodeAllRaw,
+
+ insertAfter : function(node, reference_node) {
+ reference_node = this.get(reference_node);
+
+ return this.run(node, function(node) {
+ var parent, nextSibling;
+
+ parent = reference_node.parentNode;
+ nextSibling = reference_node.nextSibling;
+
+ if (nextSibling)
+ parent.insertBefore(node, nextSibling);
+ else
+ parent.appendChild(node);
+
+ return node;
+ });
+ },
+
+ replace : function(n, o, k) {
+ var t = this;
+
+ if (is(o, 'array'))
+ n = n.cloneNode(true);
+
+ return t.run(o, function(o) {
+ if (k) {
+ each(tinymce.grep(o.childNodes), function(c) {
+ n.appendChild(c);
+ });
+ }
+
+ return o.parentNode.replaceChild(n, o);
+ });
+ },
+
+ rename : function(elm, name) {
+ var t = this, newElm;
+
+ if (elm.nodeName != name.toUpperCase()) {
+ // Rename block element
+ newElm = t.create(name);
+
+ // Copy attribs to new block
+ each(t.getAttribs(elm), function(attr_node) {
+ t.setAttrib(newElm, attr_node.nodeName, t.getAttrib(elm, attr_node.nodeName));
+ });
+
+ // Replace block
+ t.replace(newElm, elm, 1);
+ }
+
+ return newElm || elm;
+ },
+
+ findCommonAncestor : function(a, b) {
+ var ps = a, pe;
+
+ while (ps) {
+ pe = b;
+
+ while (pe && ps != pe)
+ pe = pe.parentNode;
+
+ if (ps == pe)
+ break;
+
+ ps = ps.parentNode;
+ }
+
+ if (!ps && a.ownerDocument)
+ return a.ownerDocument.documentElement;
+
+ return ps;
+ },
+
+ toHex : function(s) {
+ var c = /^\s*rgb\s*?\(\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?\)\s*$/i.exec(s);
+
+ function hex(s) {
+ s = parseInt(s, 10).toString(16);
+
+ return s.length > 1 ? s : '0' + s; // 0 -> 00
+ };
+
+ if (c) {
+ s = '#' + hex(c[1]) + hex(c[2]) + hex(c[3]);
+
+ return s;
+ }
+
+ return s;
+ },
+
+ getClasses : function() {
+ var t = this, cl = [], i, lo = {}, f = t.settings.class_filter, ov;
+
+ if (t.classes)
+ return t.classes;
+
+ function addClasses(s) {
+ // IE style imports
+ each(s.imports, function(r) {
+ addClasses(r);
+ });
+
+ each(s.cssRules || s.rules, function(r) {
+ // Real type or fake it on IE
+ switch (r.type || 1) {
+ // Rule
+ case 1:
+ if (r.selectorText) {
+ each(r.selectorText.split(','), function(v) {
+ v = v.replace(/^\s*|\s*$|^\s\./g, "");
+
+ // Is internal or it doesn't contain a class
+ if (/\.mce/.test(v) || !/\.[\w\-]+$/.test(v))
+ return;
+
+ // Remove everything but class name
+ ov = v;
+ v = tinymce._replace(/.*\.([a-z0-9_\-]+).*/i, '$1', v);
+
+ // Filter classes
+ if (f && !(v = f(v, ov)))
+ return;
+
+ if (!lo[v]) {
+ cl.push({'class' : v});
+ lo[v] = 1;
+ }
+ });
+ }
+ break;
+
+ // Import
+ case 3:
+ addClasses(r.styleSheet);
+ break;
+ }
+ });
+ };
+
+ try {
+ each(t.doc.styleSheets, addClasses);
+ } catch (ex) {
+ // Ignore
+ }
+
+ if (cl.length > 0)
+ t.classes = cl;
+
+ return cl;
+ },
+
+ run : function(e, f, s) {
+ var t = this, o;
+
+ if (t.doc && typeof(e) === 'string')
+ e = t.get(e);
+
+ if (!e)
+ return false;
+
+ s = s || this;
+ if (!e.nodeType && (e.length || e.length === 0)) {
+ o = [];
+
+ each(e, function(e, i) {
+ if (e) {
+ if (typeof(e) == 'string')
+ e = t.doc.getElementById(e);
+
+ o.push(f.call(s, e, i));
+ }
+ });
+
+ return o;
+ }
+
+ return f.call(s, e);
+ },
+
+ getAttribs : function(n) {
+ var o;
+
+ n = this.get(n);
+
+ if (!n)
+ return [];
+
+ if (isIE) {
+ o = [];
+
+ // Object will throw exception in IE
+ if (n.nodeName == 'OBJECT')
+ return n.attributes;
+
+ // IE doesn't keep the selected attribute if you clone option elements
+ if (n.nodeName === 'OPTION' && this.getAttrib(n, 'selected'))
+ o.push({specified : 1, nodeName : 'selected'});
+
+ // It's crazy that this is faster in IE but it's because it returns all attributes all the time
+ n.cloneNode(false).outerHTML.replace(/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi, '').replace(/[\w:\-]+/gi, function(a) {
+ o.push({specified : 1, nodeName : a});
+ });
+
+ return o;
+ }
+
+ return n.attributes;
+ },
+
+ isEmpty : function(node, elements) {
+ var self = this, i, attributes, type, walker, name, brCount = 0;
+
+ node = node.firstChild;
+ if (node) {
+ walker = new tinymce.dom.TreeWalker(node, node.parentNode);
+ elements = elements || self.schema ? self.schema.getNonEmptyElements() : null;
+
+ do {
+ type = node.nodeType;
+
+ if (type === 1) {
+ // Ignore bogus elements
+ if (node.getAttribute('data-mce-bogus'))
+ continue;
+
+ // Keep empty elements like <img />
+ name = node.nodeName.toLowerCase();
+ if (elements && elements[name]) {
+ // Ignore single BR elements in blocks like <p><br /></p> or <p><span><br /></span></p>
+ if (name === 'br') {
+ brCount++;
+ continue;
+ }
+
+ return false;
+ }
+
+ // Keep elements with data-bookmark attributes or name attribute like <a name="1"></a>
+ attributes = self.getAttribs(node);
+ i = node.attributes.length;
+ while (i--) {
+ name = node.attributes[i].nodeName;
+ if (name === "name" || name === 'data-mce-bookmark')
+ return false;
+ }
+ }
+
+ // Keep comment nodes
+ if (type == 8)
+ return false;
+
+ // Keep non whitespace text nodes
+ if ((type === 3 && !whiteSpaceRegExp.test(node.nodeValue)))
+ return false;
+ } while (node = walker.next());
+ }
+
+ return brCount <= 1;
+ },
+
+ destroy : function(s) {
+ var t = this;
+
+ t.win = t.doc = t.root = t.events = t.frag = null;
+
+ // Manual destroy then remove unload handler
+ if (!s)
+ tinymce.removeUnload(t.destroy);
+ },
+
+ createRng : function() {
+ var d = this.doc;
+
+ return d.createRange ? d.createRange() : new tinymce.dom.Range(this);
+ },
+
+ nodeIndex : function(node, normalized) {
+ var idx = 0, lastNodeType, lastNode, nodeType;
+
+ if (node) {
+ for (lastNodeType = node.nodeType, node = node.previousSibling, lastNode = node; node; node = node.previousSibling) {
+ nodeType = node.nodeType;
+
+ // Normalize text nodes
+ if (normalized && nodeType == 3) {
+ if (nodeType == lastNodeType || !node.nodeValue.length)
+ continue;
+ }
+ idx++;
+ lastNodeType = nodeType;
+ }
+ }
+
+ return idx;
+ },
+
+ split : function(pe, e, re) {
+ var t = this, r = t.createRng(), bef, aft, pa;
+
+ // W3C valid browsers tend to leave empty nodes to the left/right side of the contents, this makes sense
+ // but we don't want that in our code since it serves no purpose for the end user
+ // For example if this is chopped:
+ // <p>text 1<span><b>CHOP</b></span>text 2</p>
+ // would produce:
+ // <p>text 1<span></span></p><b>CHOP</b><p><span></span>text 2</p>
+ // this function will then trim of empty edges and produce:
+ // <p>text 1</p><b>CHOP</b><p>text 2</p>
+ function trim(node) {
+ var i, children = node.childNodes, type = node.nodeType;
+
+ function surroundedBySpans(node) {
+ var previousIsSpan = node.previousSibling && node.previousSibling.nodeName == 'SPAN';
+ var nextIsSpan = node.nextSibling && node.nextSibling.nodeName == 'SPAN';
+ return previousIsSpan && nextIsSpan;
+ }
+
+ if (type == 1 && node.getAttribute('data-mce-type') == 'bookmark')
+ return;
+
+ for (i = children.length - 1; i >= 0; i--)
+ trim(children[i]);
+
+ if (type != 9) {
+ // Keep non whitespace text nodes
+ if (type == 3 && node.nodeValue.length > 0) {
+ // If parent element isn't a block or there isn't any useful contents for example "<p> </p>"
+ // Also keep text nodes with only spaces if surrounded by spans.
+ // eg. "<p><span>a</span> <span>b</span></p>" should keep space between a and b
+ var trimmedLength = tinymce.trim(node.nodeValue).length;
+ if (!t.isBlock(node.parentNode) || trimmedLength > 0 || trimmedLength === 0 && surroundedBySpans(node))
+ return;
+ } else if (type == 1) {
+ // If the only child is a bookmark then move it up
+ children = node.childNodes;
+ if (children.length == 1 && children[0] && children[0].nodeType == 1 && children[0].getAttribute('data-mce-type') == 'bookmark')
+ node.parentNode.insertBefore(children[0], node);
+
+ // Keep non empty elements or img, hr etc
+ if (children.length || /^(br|hr|input|img)$/i.test(node.nodeName))
+ return;
+ }
+
+ t.remove(node);
+ }
+
+ return node;
+ };
+
+ if (pe && e) {
+ // Get before chunk
+ r.setStart(pe.parentNode, t.nodeIndex(pe));
+ r.setEnd(e.parentNode, t.nodeIndex(e));
+ bef = r.extractContents();
+
+ // Get after chunk
+ r = t.createRng();
+ r.setStart(e.parentNode, t.nodeIndex(e) + 1);
+ r.setEnd(pe.parentNode, t.nodeIndex(pe) + 1);
+ aft = r.extractContents();
+
+ // Insert before chunk
+ pa = pe.parentNode;
+ pa.insertBefore(trim(bef), pe);
+
+ // Insert middle chunk
+ if (re)
+ pa.replaceChild(re, e);
+ else
+ pa.insertBefore(e, pe);
+
+ // Insert after chunk
+ pa.insertBefore(trim(aft), pe);
+ t.remove(pe);
+
+ return re || e;
+ }
+ },
+
+ bind : function(target, name, func, scope) {
+ return this.events.add(target, name, func, scope || this);
+ },
+
+ unbind : function(target, name, func) {
+ return this.events.remove(target, name, func);
+ },
+
+ fire : function(target, name, evt) {
+ return this.events.fire(target, name, evt);
+ },
+
+ // Returns the content editable state of a node
+ getContentEditable: function(node) {
+ var contentEditable;
+
+ // Check type
+ if (node.nodeType != 1) {
+ return null;
+ }
+
+ // Check for fake content editable
+ contentEditable = node.getAttribute("data-mce-contenteditable");
+ if (contentEditable && contentEditable !== "inherit") {
+ return contentEditable;
+ }
+
+ // Check for real content editable
+ return node.contentEditable !== "inherit" ? node.contentEditable : null;
+ },
+
+
+ _findSib : function(node, selector, name) {
+ var t = this, f = selector;
+
+ if (node) {
+ // If expression make a function of it using is
+ if (is(f, 'string')) {
+ f = function(node) {
+ return t.is(node, selector);
+ };
+ }
+
+ // Loop all siblings
+ for (node = node[name]; node; node = node[name]) {
+ if (f(node))
+ return node;
+ }
+ }
+
+ return null;
+ },
+
+ _isRes : function(c) {
+ // Is live resizble element
+ return /^(top|left|bottom|right|width|height)/i.test(c) || /;\s*(top|left|bottom|right|width|height)/i.test(c);
+ }
+
+ /*
+ walk : function(n, f, s) {
+ var d = this.doc, w;
+
+ if (d.createTreeWalker) {
+ w = d.createTreeWalker(n, NodeFilter.SHOW_TEXT, null, false);
+
+ while ((n = w.nextNode()) != null)
+ f.call(s || this, n);
+ } else
+ tinymce.walk(n, f, 'childNodes', s);
+ }
+ */
+
+ /*
+ toRGB : function(s) {
+ var c = /^\s*?#([0-9A-F]{2})([0-9A-F]{1,2})([0-9A-F]{2})?\s*?$/.exec(s);
+
+ if (c) {
+ // #FFF -> #FFFFFF
+ if (!is(c[3]))
+ c[3] = c[2] = c[1];
+
+ return "rgb(" + parseInt(c[1], 16) + "," + parseInt(c[2], 16) + "," + parseInt(c[3], 16) + ")";
+ }
+
+ return s;
+ }
+ */
+ });
+
+ tinymce.DOM = new tinymce.dom.DOMUtils(document, {process_html : 0});
+})(tinymce);
+
+(function(ns) {
+ // Range constructor
+ function Range(dom) {
+ var t = this,
+ doc = dom.doc,
+ EXTRACT = 0,
+ CLONE = 1,
+ DELETE = 2,
+ TRUE = true,
+ FALSE = false,
+ START_OFFSET = 'startOffset',
+ START_CONTAINER = 'startContainer',
+ END_CONTAINER = 'endContainer',
+ END_OFFSET = 'endOffset',
+ extend = tinymce.extend,
+ nodeIndex = dom.nodeIndex;
+
+ extend(t, {
+ // Inital states
+ startContainer : doc,
+ startOffset : 0,
+ endContainer : doc,
+ endOffset : 0,
+ collapsed : TRUE,
+ commonAncestorContainer : doc,
+
+ // Range constants
+ START_TO_START : 0,
+ START_TO_END : 1,
+ END_TO_END : 2,
+ END_TO_START : 3,
+
+ // Public methods
+ setStart : setStart,
+ setEnd : setEnd,
+ setStartBefore : setStartBefore,
+ setStartAfter : setStartAfter,
+ setEndBefore : setEndBefore,
+ setEndAfter : setEndAfter,
+ collapse : collapse,
+ selectNode : selectNode,
+ selectNodeContents : selectNodeContents,
+ compareBoundaryPoints : compareBoundaryPoints,
+ deleteContents : deleteContents,
+ extractContents : extractContents,
+ cloneContents : cloneContents,
+ insertNode : insertNode,
+ surroundContents : surroundContents,
+ cloneRange : cloneRange,
+ toStringIE : toStringIE
+ });
+
+ function createDocumentFragment() {
+ return doc.createDocumentFragment();
+ };
+
+ function setStart(n, o) {
+ _setEndPoint(TRUE, n, o);
+ };
+
+ function setEnd(n, o) {
+ _setEndPoint(FALSE, n, o);
+ };
+
+ function setStartBefore(n) {
+ setStart(n.parentNode, nodeIndex(n));
+ };
+
+ function setStartAfter(n) {
+ setStart(n.parentNode, nodeIndex(n) + 1);
+ };
+
+ function setEndBefore(n) {
+ setEnd(n.parentNode, nodeIndex(n));
+ };
+
+ function setEndAfter(n) {
+ setEnd(n.parentNode, nodeIndex(n) + 1);
+ };
+
+ function collapse(ts) {
+ if (ts) {
+ t[END_CONTAINER] = t[START_CONTAINER];
+ t[END_OFFSET] = t[START_OFFSET];
+ } else {
+ t[START_CONTAINER] = t[END_CONTAINER];
+ t[START_OFFSET] = t[END_OFFSET];
+ }
+
+ t.collapsed = TRUE;
+ };
+
+ function selectNode(n) {
+ setStartBefore(n);
+ setEndAfter(n);
+ };
+
+ function selectNodeContents(n) {
+ setStart(n, 0);
+ setEnd(n, n.nodeType === 1 ? n.childNodes.length : n.nodeValue.length);
+ };
+
+ function compareBoundaryPoints(h, r) {
+ var sc = t[START_CONTAINER], so = t[START_OFFSET], ec = t[END_CONTAINER], eo = t[END_OFFSET],
+ rsc = r.startContainer, rso = r.startOffset, rec = r.endContainer, reo = r.endOffset;
+
+ // Check START_TO_START
+ if (h === 0)
+ return _compareBoundaryPoints(sc, so, rsc, rso);
+
+ // Check START_TO_END
+ if (h === 1)
+ return _compareBoundaryPoints(ec, eo, rsc, rso);
+
+ // Check END_TO_END
+ if (h === 2)
+ return _compareBoundaryPoints(ec, eo, rec, reo);
+
+ // Check END_TO_START
+ if (h === 3)
+ return _compareBoundaryPoints(sc, so, rec, reo);
+ };
+
+ function deleteContents() {
+ _traverse(DELETE);
+ };
+
+ function extractContents() {
+ return _traverse(EXTRACT);
+ };
+
+ function cloneContents() {
+ return _traverse(CLONE);
+ };
+
+ function insertNode(n) {
+ var startContainer = this[START_CONTAINER],
+ startOffset = this[START_OFFSET], nn, o;
+
+ // Node is TEXT_NODE or CDATA
+ if ((startContainer.nodeType === 3 || startContainer.nodeType === 4) && startContainer.nodeValue) {
+ if (!startOffset) {
+ // At the start of text
+ startContainer.parentNode.insertBefore(n, startContainer);
+ } else if (startOffset >= startContainer.nodeValue.length) {
+ // At the end of text
+ dom.insertAfter(n, startContainer);
+ } else {
+ // Middle, need to split
+ nn = startContainer.splitText(startOffset);
+ startContainer.parentNode.insertBefore(n, nn);
+ }
+ } else {
+ // Insert element node
+ if (startContainer.childNodes.length > 0)
+ o = startContainer.childNodes[startOffset];
+
+ if (o)
+ startContainer.insertBefore(n, o);
+ else
+ startContainer.appendChild(n);
+ }
+ };
+
+ function surroundContents(n) {
+ var f = t.extractContents();
+
+ t.insertNode(n);
+ n.appendChild(f);
+ t.selectNode(n);
+ };
+
+ function cloneRange() {
+ return extend(new Range(dom), {
+ startContainer : t[START_CONTAINER],
+ startOffset : t[START_OFFSET],
+ endContainer : t[END_CONTAINER],
+ endOffset : t[END_OFFSET],
+ collapsed : t.collapsed,
+ commonAncestorContainer : t.commonAncestorContainer
+ });
+ };
+
+ // Private methods
+
+ function _getSelectedNode(container, offset) {
+ var child;
+
+ if (container.nodeType == 3 /* TEXT_NODE */)
+ return container;
+
+ if (offset < 0)
+ return container;
+
+ child = container.firstChild;
+ while (child && offset > 0) {
+ --offset;
+ child = child.nextSibling;
+ }
+
+ if (child)
+ return child;
+
+ return container;
+ };
+
+ function _isCollapsed() {
+ return (t[START_CONTAINER] == t[END_CONTAINER] && t[START_OFFSET] == t[END_OFFSET]);
+ };
+
+ function _compareBoundaryPoints(containerA, offsetA, containerB, offsetB) {
+ var c, offsetC, n, cmnRoot, childA, childB;
+
+ // In the first case the boundary-points have the same container. A is before B
+ // if its offset is less than the offset of B, A is equal to B if its offset is
+ // equal to the offset of B, and A is after B if its offset is greater than the
+ // offset of B.
+ if (containerA == containerB) {
+ if (offsetA == offsetB)
+ return 0; // equal
+
+ if (offsetA < offsetB)
+ return -1; // before
+
+ return 1; // after
+ }
+
+ // In the second case a child node C of the container of A is an ancestor
+ // container of B. In this case, A is before B if the offset of A is less than or
+ // equal to the index of the child node C and A is after B otherwise.
+ c = containerB;
+ while (c && c.parentNode != containerA)
+ c = c.parentNode;
+
+ if (c) {
+ offsetC = 0;
+ n = containerA.firstChild;
+
+ while (n != c && offsetC < offsetA) {
+ offsetC++;
+ n = n.nextSibling;
+ }
+
+ if (offsetA <= offsetC)
+ return -1; // before
+
+ return 1; // after
+ }
+
+ // In the third case a child node C of the container of B is an ancestor container
+ // of A. In this case, A is before B if the index of the child node C is less than
+ // the offset of B and A is after B otherwise.
+ c = containerA;
+ while (c && c.parentNode != containerB) {
+ c = c.parentNode;
+ }
+
+ if (c) {
+ offsetC = 0;
+ n = containerB.firstChild;
+
+ while (n != c && offsetC < offsetB) {
+ offsetC++;
+ n = n.nextSibling;
+ }
+
+ if (offsetC < offsetB)
+ return -1; // before
+
+ return 1; // after
+ }
+
+ // In the fourth case, none of three other cases hold: the containers of A and B
+ // are siblings or descendants of sibling nodes. In this case, A is before B if
+ // the container of A is before the container of B in a pre-order traversal of the
+ // Ranges' context tree and A is after B otherwise.
+ cmnRoot = dom.findCommonAncestor(containerA, containerB);
+ childA = containerA;
+
+ while (childA && childA.parentNode != cmnRoot)
+ childA = childA.parentNode;
+
+ if (!childA)
+ childA = cmnRoot;
+
+ childB = containerB;
+ while (childB && childB.parentNode != cmnRoot)
+ childB = childB.parentNode;
+
+ if (!childB)
+ childB = cmnRoot;
+
+ if (childA == childB)
+ return 0; // equal
+
+ n = cmnRoot.firstChild;
+ while (n) {
+ if (n == childA)
+ return -1; // before
+
+ if (n == childB)
+ return 1; // after
+
+ n = n.nextSibling;
+ }
+ };
+
+ function _setEndPoint(st, n, o) {
+ var ec, sc;
+
+ if (st) {
+ t[START_CONTAINER] = n;
+ t[START_OFFSET] = o;
+ } else {
+ t[END_CONTAINER] = n;
+ t[END_OFFSET] = o;
+ }
+
+ // If one boundary-point of a Range is set to have a root container
+ // other than the current one for the Range, the Range is collapsed to
+ // the new position. This enforces the restriction that both boundary-
+ // points of a Range must have the same root container.
+ ec = t[END_CONTAINER];
+ while (ec.parentNode)
+ ec = ec.parentNode;
+
+ sc = t[START_CONTAINER];
+ while (sc.parentNode)
+ sc = sc.parentNode;
+
+ if (sc == ec) {
+ // The start position of a Range is guaranteed to never be after the
+ // end position. To enforce this restriction, if the start is set to
+ // be at a position after the end, the Range is collapsed to that
+ // position.
+ if (_compareBoundaryPoints(t[START_CONTAINER], t[START_OFFSET], t[END_CONTAINER], t[END_OFFSET]) > 0)
+ t.collapse(st);
+ } else
+ t.collapse(st);
+
+ t.collapsed = _isCollapsed();
+ t.commonAncestorContainer = dom.findCommonAncestor(t[START_CONTAINER], t[END_CONTAINER]);
+ };
+
+ function _traverse(how) {
+ var c, endContainerDepth = 0, startContainerDepth = 0, p, depthDiff, startNode, endNode, sp, ep;
+
+ if (t[START_CONTAINER] == t[END_CONTAINER])
+ return _traverseSameContainer(how);
+
+ for (c = t[END_CONTAINER], p = c.parentNode; p; c = p, p = p.parentNode) {
+ if (p == t[START_CONTAINER])
+ return _traverseCommonStartContainer(c, how);
+
+ ++endContainerDepth;
+ }
+
+ for (c = t[START_CONTAINER], p = c.parentNode; p; c = p, p = p.parentNode) {
+ if (p == t[END_CONTAINER])
+ return _traverseCommonEndContainer(c, how);
+
+ ++startContainerDepth;
+ }
+
+ depthDiff = startContainerDepth - endContainerDepth;
+
+ startNode = t[START_CONTAINER];
+ while (depthDiff > 0) {
+ startNode = startNode.parentNode;
+ depthDiff--;
+ }
+
+ endNode = t[END_CONTAINER];
+ while (depthDiff < 0) {
+ endNode = endNode.parentNode;
+ depthDiff++;
+ }
+
+ // ascend the ancestor hierarchy until we have a common parent.
+ for (sp = startNode.parentNode, ep = endNode.parentNode; sp != ep; sp = sp.parentNode, ep = ep.parentNode) {
+ startNode = sp;
+ endNode = ep;
+ }
+
+ return _traverseCommonAncestors(startNode, endNode, how);
+ };
+
+ function _traverseSameContainer(how) {
+ var frag, s, sub, n, cnt, sibling, xferNode, start, len;
+
+ if (how != DELETE)
+ frag = createDocumentFragment();
+
+ // If selection is empty, just return the fragment
+ if (t[START_OFFSET] == t[END_OFFSET])
+ return frag;
+
+ // Text node needs special case handling
+ if (t[START_CONTAINER].nodeType == 3 /* TEXT_NODE */) {
+ // get the substring
+ s = t[START_CONTAINER].nodeValue;
+ sub = s.substring(t[START_OFFSET], t[END_OFFSET]);
+
+ // set the original text node to its new value
+ if (how != CLONE) {
+ n = t[START_CONTAINER];
+ start = t[START_OFFSET];
+ len = t[END_OFFSET] - t[START_OFFSET];
+
+ if (start === 0 && len >= n.nodeValue.length - 1) {
+ n.parentNode.removeChild(n);
+ } else {
+ n.deleteData(start, len);
+ }
+
+ // Nothing is partially selected, so collapse to start point
+ t.collapse(TRUE);
+ }
+
+ if (how == DELETE)
+ return;
+
+ if (sub.length > 0) {
+ frag.appendChild(doc.createTextNode(sub));
+ }
+
+ return frag;
+ }
+
+ // Copy nodes between the start/end offsets.
+ n = _getSelectedNode(t[START_CONTAINER], t[START_OFFSET]);
+ cnt = t[END_OFFSET] - t[START_OFFSET];
+
+ while (n && cnt > 0) {
+ sibling = n.nextSibling;
+ xferNode = _traverseFullySelected(n, how);
+
+ if (frag)
+ frag.appendChild( xferNode );
+
+ --cnt;
+ n = sibling;
+ }
+
+ // Nothing is partially selected, so collapse to start point
+ if (how != CLONE)
+ t.collapse(TRUE);
+
+ return frag;
+ };
+
+ function _traverseCommonStartContainer(endAncestor, how) {
+ var frag, n, endIdx, cnt, sibling, xferNode;
+
+ if (how != DELETE)
+ frag = createDocumentFragment();
+
+ n = _traverseRightBoundary(endAncestor, how);
+
+ if (frag)
+ frag.appendChild(n);
+
+ endIdx = nodeIndex(endAncestor);
+ cnt = endIdx - t[START_OFFSET];
+
+ if (cnt <= 0) {
+ // Collapse to just before the endAncestor, which
+ // is partially selected.
+ if (how != CLONE) {
+ t.setEndBefore(endAncestor);
+ t.collapse(FALSE);
+ }
+
+ return frag;
+ }
+
+ n = endAncestor.previousSibling;
+ while (cnt > 0) {
+ sibling = n.previousSibling;
+ xferNode = _traverseFullySelected(n, how);
+
+ if (frag)
+ frag.insertBefore(xferNode, frag.firstChild);
+
+ --cnt;
+ n = sibling;
+ }
+
+ // Collapse to just before the endAncestor, which
+ // is partially selected.
+ if (how != CLONE) {
+ t.setEndBefore(endAncestor);
+ t.collapse(FALSE);
+ }
+
+ return frag;
+ };
+
+ function _traverseCommonEndContainer(startAncestor, how) {
+ var frag, startIdx, n, cnt, sibling, xferNode;
+
+ if (how != DELETE)
+ frag = createDocumentFragment();
+
+ n = _traverseLeftBoundary(startAncestor, how);
+ if (frag)
+ frag.appendChild(n);
+
+ startIdx = nodeIndex(startAncestor);
+ ++startIdx; // Because we already traversed it
+
+ cnt = t[END_OFFSET] - startIdx;
+ n = startAncestor.nextSibling;
+ while (n && cnt > 0) {
+ sibling = n.nextSibling;
+ xferNode = _traverseFullySelected(n, how);
+
+ if (frag)
+ frag.appendChild(xferNode);
+
+ --cnt;
+ n = sibling;
+ }
+
+ if (how != CLONE) {
+ t.setStartAfter(startAncestor);
+ t.collapse(TRUE);
+ }
+
+ return frag;
+ };
+
+ function _traverseCommonAncestors(startAncestor, endAncestor, how) {
+ var n, frag, commonParent, startOffset, endOffset, cnt, sibling, nextSibling;
+
+ if (how != DELETE)
+ frag = createDocumentFragment();
+
+ n = _traverseLeftBoundary(startAncestor, how);
+ if (frag)
+ frag.appendChild(n);
+
+ commonParent = startAncestor.parentNode;
+ startOffset = nodeIndex(startAncestor);
+ endOffset = nodeIndex(endAncestor);
+ ++startOffset;
+
+ cnt = endOffset - startOffset;
+ sibling = startAncestor.nextSibling;
+
+ while (cnt > 0) {
+ nextSibling = sibling.nextSibling;
+ n = _traverseFullySelected(sibling, how);
+
+ if (frag)
+ frag.appendChild(n);
+
+ sibling = nextSibling;
+ --cnt;
+ }
+
+ n = _traverseRightBoundary(endAncestor, how);
+
+ if (frag)
+ frag.appendChild(n);
+
+ if (how != CLONE) {
+ t.setStartAfter(startAncestor);
+ t.collapse(TRUE);
+ }
+
+ return frag;
+ };
+
+ function _traverseRightBoundary(root, how) {
+ var next = _getSelectedNode(t[END_CONTAINER], t[END_OFFSET] - 1), parent, clonedParent, prevSibling, clonedChild, clonedGrandParent, isFullySelected = next != t[END_CONTAINER];
+
+ if (next == root)
+ return _traverseNode(next, isFullySelected, FALSE, how);
+
+ parent = next.parentNode;
+ clonedParent = _traverseNode(parent, FALSE, FALSE, how);
+
+ while (parent) {
+ while (next) {
+ prevSibling = next.previousSibling;
+ clonedChild = _traverseNode(next, isFullySelected, FALSE, how);
+
+ if (how != DELETE)
+ clonedParent.insertBefore(clonedChild, clonedParent.firstChild);
+
+ isFullySelected = TRUE;
+ next = prevSibling;
+ }
+
+ if (parent == root)
+ return clonedParent;
+
+ next = parent.previousSibling;
+ parent = parent.parentNode;
+
+ clonedGrandParent = _traverseNode(parent, FALSE, FALSE, how);
+
+ if (how != DELETE)
+ clonedGrandParent.appendChild(clonedParent);
+
+ clonedParent = clonedGrandParent;
+ }
+ };
+
+ function _traverseLeftBoundary(root, how) {
+ var next = _getSelectedNode(t[START_CONTAINER], t[START_OFFSET]), isFullySelected = next != t[START_CONTAINER], parent, clonedParent, nextSibling, clonedChild, clonedGrandParent;
+
+ if (next == root)
+ return _traverseNode(next, isFullySelected, TRUE, how);
+
+ parent = next.parentNode;
+ clonedParent = _traverseNode(parent, FALSE, TRUE, how);
+
+ while (parent) {
+ while (next) {
+ nextSibling = next.nextSibling;
+ clonedChild = _traverseNode(next, isFullySelected, TRUE, how);
+
+ if (how != DELETE)
+ clonedParent.appendChild(clonedChild);
+
+ isFullySelected = TRUE;
+ next = nextSibling;
+ }
+
+ if (parent == root)
+ return clonedParent;
+
+ next = parent.nextSibling;
+ parent = parent.parentNode;
+
+ clonedGrandParent = _traverseNode(parent, FALSE, TRUE, how);
+
+ if (how != DELETE)
+ clonedGrandParent.appendChild(clonedParent);
+
+ clonedParent = clonedGrandParent;
+ }
+ };
+
+ function _traverseNode(n, isFullySelected, isLeft, how) {
+ var txtValue, newNodeValue, oldNodeValue, offset, newNode;
+
+ if (isFullySelected)
+ return _traverseFullySelected(n, how);
+
+ if (n.nodeType == 3 /* TEXT_NODE */) {
+ txtValue = n.nodeValue;
+
+ if (isLeft) {
+ offset = t[START_OFFSET];
+ newNodeValue = txtValue.substring(offset);
+ oldNodeValue = txtValue.substring(0, offset);
+ } else {
+ offset = t[END_OFFSET];
+ newNodeValue = txtValue.substring(0, offset);
+ oldNodeValue = txtValue.substring(offset);
+ }
+
+ if (how != CLONE)
+ n.nodeValue = oldNodeValue;
+
+ if (how == DELETE)
+ return;
+
+ newNode = dom.clone(n, FALSE);
+ newNode.nodeValue = newNodeValue;
+
+ return newNode;
+ }
+
+ if (how == DELETE)
+ return;
+
+ return dom.clone(n, FALSE);
+ };
+
+ function _traverseFullySelected(n, how) {
+ if (how != DELETE)
+ return how == CLONE ? dom.clone(n, TRUE) : n;
+
+ n.parentNode.removeChild(n);
+ };
+
+ function toStringIE() {
+ return dom.create('body', null, cloneContents()).outerText;
+ }
+
+ return t;
+ };
+
+ ns.Range = Range;
+
+ // Older IE versions doesn't let you override toString by it's constructor so we have to stick it in the prototype
+ Range.prototype.toString = function() {
+ return this.toStringIE();
+ };
+})(tinymce.dom);
+
+(function() {
+ function Selection(selection) {
+ var self = this, dom = selection.dom, TRUE = true, FALSE = false;
+
+ function getPosition(rng, start) {
+ var checkRng, startIndex = 0, endIndex, inside,
+ children, child, offset, index, position = -1, parent;
+
+ // Setup test range, collapse it and get the parent
+ checkRng = rng.duplicate();
+ checkRng.collapse(start);
+ parent = checkRng.parentElement();
+
+ // Check if the selection is within the right document
+ if (parent.ownerDocument !== selection.dom.doc)
+ return;
+
+ // IE will report non editable elements as it's parent so look for an editable one
+ while (parent.contentEditable === "false") {
+ parent = parent.parentNode;
+ }
+
+ // If parent doesn't have any children then return that we are inside the element
+ if (!parent.hasChildNodes()) {
+ return {node : parent, inside : 1};
+ }
+
+ // Setup node list and endIndex
+ children = parent.children;
+ endIndex = children.length - 1;
+
+ // Perform a binary search for the position
+ while (startIndex <= endIndex) {
+ index = Math.floor((startIndex + endIndex) / 2);
+
+ // Move selection to node and compare the ranges
+ child = children[index];
+ checkRng.moveToElementText(child);
+ position = checkRng.compareEndPoints(start ? 'StartToStart' : 'EndToEnd', rng);
+
+ // Before/after or an exact match
+ if (position > 0) {
+ endIndex = index - 1;
+ } else if (position < 0) {
+ startIndex = index + 1;
+ } else {
+ return {node : child};
+ }
+ }
+
+ // Check if child position is before or we didn't find a position
+ if (position < 0) {
+ // No element child was found use the parent element and the offset inside that
+ if (!child) {
+ checkRng.moveToElementText(parent);
+ checkRng.collapse(true);
+ child = parent;
+ inside = true;
+ } else
+ checkRng.collapse(false);
+
+ // Walk character by character in text node until we hit the selected range endpoint, hit the end of document or parent isn't the right one
+ // We need to walk char by char since rng.text or rng.htmlText will trim line endings
+ offset = 0;
+ while (checkRng.compareEndPoints(start ? 'StartToStart' : 'StartToEnd', rng) !== 0) {
+ if (checkRng.move('character', 1) === 0 || parent != checkRng.parentElement()) {
+ break;
+ }
+
+ offset++;
+ }
+ } else {
+ // Child position is after the selection endpoint
+ checkRng.collapse(true);
+
+ // Walk character by character in text node until we hit the selected range endpoint, hit the end of document or parent isn't the right one
+ offset = 0;
+ while (checkRng.compareEndPoints(start ? 'StartToStart' : 'StartToEnd', rng) !== 0) {
+ if (checkRng.move('character', -1) === 0 || parent != checkRng.parentElement()) {
+ break;
+ }
+
+ offset++;
+ }
+ }
+
+ return {node : child, position : position, offset : offset, inside : inside};
+ };
+
+ // Returns a W3C DOM compatible range object by using the IE Range API
+ function getRange() {
+ var ieRange = selection.getRng(), domRange = dom.createRng(), element, collapsed, tmpRange, element2, bookmark, fail;
+
+ // If selection is outside the current document just return an empty range
+ element = ieRange.item ? ieRange.item(0) : ieRange.parentElement();
+ if (element.ownerDocument != dom.doc)
+ return domRange;
+
+ collapsed = selection.isCollapsed();
+
+ // Handle control selection
+ if (ieRange.item) {
+ domRange.setStart(element.parentNode, dom.nodeIndex(element));
+ domRange.setEnd(domRange.startContainer, domRange.startOffset + 1);
+
+ return domRange;
+ }
+
+ function findEndPoint(start) {
+ var endPoint = getPosition(ieRange, start), container, offset, textNodeOffset = 0, sibling, undef, nodeValue;
+
+ container = endPoint.node;
+ offset = endPoint.offset;
+
+ if (endPoint.inside && !container.hasChildNodes()) {
+ domRange[start ? 'setStart' : 'setEnd'](container, 0);
+ return;
+ }
+
+ if (offset === undef) {
+ domRange[start ? 'setStartBefore' : 'setEndAfter'](container);
+ return;
+ }
+
+ if (endPoint.position < 0) {
+ sibling = endPoint.inside ? container.firstChild : container.nextSibling;
+
+ if (!sibling) {
+ domRange[start ? 'setStartAfter' : 'setEndAfter'](container);
+ return;
+ }
+
+ if (!offset) {
+ if (sibling.nodeType == 3)
+ domRange[start ? 'setStart' : 'setEnd'](sibling, 0);
+ else
+ domRange[start ? 'setStartBefore' : 'setEndBefore'](sibling);
+
+ return;
+ }
+
+ // Find the text node and offset
+ while (sibling) {
+ nodeValue = sibling.nodeValue;
+ textNodeOffset += nodeValue.length;
+
+ // We are at or passed the position we where looking for
+ if (textNodeOffset >= offset) {
+ container = sibling;
+ textNodeOffset -= offset;
+ textNodeOffset = nodeValue.length - textNodeOffset;
+ break;
+ }
+
+ sibling = sibling.nextSibling;
+ }
+ } else {
+ // Find the text node and offset
+ sibling = container.previousSibling;
+
+ if (!sibling)
+ return domRange[start ? 'setStartBefore' : 'setEndBefore'](container);
+
+ // If there isn't any text to loop then use the first position
+ if (!offset) {
+ if (container.nodeType == 3)
+ domRange[start ? 'setStart' : 'setEnd'](sibling, container.nodeValue.length);
+ else
+ domRange[start ? 'setStartAfter' : 'setEndAfter'](sibling);
+
+ return;
+ }
+
+ while (sibling) {
+ textNodeOffset += sibling.nodeValue.length;
+
+ // We are at or passed the position we where looking for
+ if (textNodeOffset >= offset) {
+ container = sibling;
+ textNodeOffset -= offset;
+ break;
+ }
+
+ sibling = sibling.previousSibling;
+ }
+ }
+
+ domRange[start ? 'setStart' : 'setEnd'](container, textNodeOffset);
+ };
+
+ try {
+ // Find start point
+ findEndPoint(true);
+
+ // Find end point if needed
+ if (!collapsed)
+ findEndPoint();
+ } catch (ex) {
+ // IE has a nasty bug where text nodes might throw "invalid argument" when you
+ // access the nodeValue or other properties of text nodes. This seems to happend when
+ // text nodes are split into two nodes by a delete/backspace call. So lets detect it and try to fix it.
+ if (ex.number == -2147024809) {
+ // Get the current selection
+ bookmark = self.getBookmark(2);
+
+ // Get start element
+ tmpRange = ieRange.duplicate();
+ tmpRange.collapse(true);
+ element = tmpRange.parentElement();
+
+ // Get end element
+ if (!collapsed) {
+ tmpRange = ieRange.duplicate();
+ tmpRange.collapse(false);
+ element2 = tmpRange.parentElement();
+ element2.innerHTML = element2.innerHTML;
+ }
+
+ // Remove the broken elements
+ element.innerHTML = element.innerHTML;
+
+ // Restore the selection
+ self.moveToBookmark(bookmark);
+
+ // Since the range has moved we need to re-get it
+ ieRange = selection.getRng();
+
+ // Find start point
+ findEndPoint(true);
+
+ // Find end point if needed
+ if (!collapsed)
+ findEndPoint();
+ } else
+ throw ex; // Throw other errors
+ }
+
+ return domRange;
+ };
+
+ this.getBookmark = function(type) {
+ var rng = selection.getRng(), start, end, bookmark = {};
+
+ function getIndexes(node) {
+ var parent, root, children, i, indexes = [];
+
+ parent = node.parentNode;
+ root = dom.getRoot().parentNode;
+
+ while (parent != root && parent.nodeType !== 9) {
+ children = parent.children;
+
+ i = children.length;
+ while (i--) {
+ if (node === children[i]) {
+ indexes.push(i);
+ break;
+ }
+ }
+
+ node = parent;
+ parent = parent.parentNode;
+ }
+
+ return indexes;
+ };
+
+ function getBookmarkEndPoint(start) {
+ var position;
+
+ position = getPosition(rng, start);
+ if (position) {
+ return {
+ position : position.position,
+ offset : position.offset,
+ indexes : getIndexes(position.node),
+ inside : position.inside
+ };
+ }
+ };
+
+ // Non ubstructive bookmark
+ if (type === 2) {
+ // Handle text selection
+ if (!rng.item) {
+ bookmark.start = getBookmarkEndPoint(true);
+
+ if (!selection.isCollapsed())
+ bookmark.end = getBookmarkEndPoint();
+ } else
+ bookmark.start = {ctrl : true, indexes : getIndexes(rng.item(0))};
+ }
+
+ return bookmark;
+ };
+
+ this.moveToBookmark = function(bookmark) {
+ var rng, body = dom.doc.body;
+
+ function resolveIndexes(indexes) {
+ var node, i, idx, children;
+
+ node = dom.getRoot();
+ for (i = indexes.length - 1; i >= 0; i--) {
+ children = node.children;
+ idx = indexes[i];
+
+ if (idx <= children.length - 1) {
+ node = children[idx];
+ }
+ }
+
+ return node;
+ };
+
+ function setBookmarkEndPoint(start) {
+ var endPoint = bookmark[start ? 'start' : 'end'], moveLeft, moveRng, undef;
+
+ if (endPoint) {
+ moveLeft = endPoint.position > 0;
+
+ moveRng = body.createTextRange();
+ moveRng.moveToElementText(resolveIndexes(endPoint.indexes));
+
+ offset = endPoint.offset;
+ if (offset !== undef) {
+ moveRng.collapse(endPoint.inside || moveLeft);
+ moveRng.moveStart('character', moveLeft ? -offset : offset);
+ } else
+ moveRng.collapse(start);
+
+ rng.setEndPoint(start ? 'StartToStart' : 'EndToStart', moveRng);
+
+ if (start)
+ rng.collapse(true);
+ }
+ };
+
+ if (bookmark.start) {
+ if (bookmark.start.ctrl) {
+ rng = body.createControlRange();
+ rng.addElement(resolveIndexes(bookmark.start.indexes));
+ rng.select();
+ } else {
+ rng = body.createTextRange();
+ setBookmarkEndPoint(true);
+ setBookmarkEndPoint();
+ rng.select();
+ }
+ }
+ };
+
+ this.addRange = function(rng) {
+ var ieRng, ctrlRng, startContainer, startOffset, endContainer, endOffset, sibling,
+ doc = selection.dom.doc, body = doc.body, nativeRng, ctrlElm;
+
+ function setEndPoint(start) {
+ var container, offset, marker, tmpRng, nodes;
+
+ marker = dom.create('a');
+ container = start ? startContainer : endContainer;
+ offset = start ? startOffset : endOffset;
+ tmpRng = ieRng.duplicate();
+
+ if (container == doc || container == doc.documentElement) {
+ container = body;
+ offset = 0;
+ }
+
+ if (container.nodeType == 3) {
+ container.parentNode.insertBefore(marker, container);
+ tmpRng.moveToElementText(marker);
+ tmpRng.moveStart('character', offset);
+ dom.remove(marker);
+ ieRng.setEndPoint(start ? 'StartToStart' : 'EndToEnd', tmpRng);
+ } else {
+ nodes = container.childNodes;
+
+ if (nodes.length) {
+ if (offset >= nodes.length) {
+ dom.insertAfter(marker, nodes[nodes.length - 1]);
+ } else {
+ container.insertBefore(marker, nodes[offset]);
+ }
+
+ tmpRng.moveToElementText(marker);
+ } else if (container.canHaveHTML) {
+ // Empty node selection for example <div>|</div>
+ // Setting innerHTML with a span marker then remove that marker seems to keep empty block elements open
+ container.innerHTML = '<span>\uFEFF</span>';
+ marker = container.firstChild;
+ tmpRng.moveToElementText(marker);
+ tmpRng.collapse(FALSE); // Collapse false works better than true for some odd reason
+ }
+
+ ieRng.setEndPoint(start ? 'StartToStart' : 'EndToEnd', tmpRng);
+ dom.remove(marker);
+ }
+ }
+
+ // Setup some shorter versions
+ startContainer = rng.startContainer;
+ startOffset = rng.startOffset;
+ endContainer = rng.endContainer;
+ endOffset = rng.endOffset;
+ ieRng = body.createTextRange();
+
+ // If single element selection then try making a control selection out of it
+ if (startContainer == endContainer && startContainer.nodeType == 1) {
+ // Trick to place the caret inside an empty block element like <p></p>
+ if (startOffset == endOffset && !startContainer.hasChildNodes()) {
+ if (startContainer.canHaveHTML) {
+ // Check if previous sibling is an empty block if it is then we need to render it
+ // IE would otherwise move the caret into the sibling instead of the empty startContainer see: #5236
+ // Example this: <p></p><p>|</p> would become this: <p>|</p><p></p>
+ sibling = startContainer.previousSibling;
+ if (sibling && !sibling.hasChildNodes() && dom.isBlock(sibling)) {
+ sibling.innerHTML = '\uFEFF';
+ } else {
+ sibling = null;
+ }
+
+ startContainer.innerHTML = '<span>\uFEFF</span><span>\uFEFF</span>';
+ ieRng.moveToElementText(startContainer.lastChild);
+ ieRng.select();
+ dom.doc.selection.clear();
+ startContainer.innerHTML = '';
+
+ if (sibling) {
+ sibling.innerHTML = '';
+ }
+ return;
+ } else {
+ startOffset = dom.nodeIndex(startContainer);
+ startContainer = startContainer.parentNode;
+ }
+ }
+
+ if (startOffset == endOffset - 1) {
+ try {
+ ctrlElm = startContainer.childNodes[startOffset];
+ ctrlRng = body.createControlRange();
+ ctrlRng.addElement(ctrlElm);
+ ctrlRng.select();
+
+ // Check if the range produced is on the correct element and is a control range
+ // On IE 8 it will select the parent contentEditable container if you select an inner element see: #5398
+ nativeRng = selection.getRng();
+ if (nativeRng.item && ctrlElm === nativeRng.item(0)) {
+ return;
+ }
+ } catch (ex) {
+ // Ignore
+ }
+ }
+ }
+
+ // Set start/end point of selection
+ setEndPoint(true);
+ setEndPoint();
+
+ // Select the new range and scroll it into view
+ ieRng.select();
+ };
+
+ // Expose range method
+ this.getRangeAt = getRange;
+ };
+
+ // Expose the selection object
+ tinymce.dom.TridentSelection = Selection;
+})();
+
+
+/*
+ * Sizzle CSS Selector Engine
+ * Copyright, The Dojo Foundation
+ * Released under the MIT, BSD, and GPL Licenses.
+ * More information: http://sizzlejs.com/
+ */
+(function(){
+
+var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
+ expando = "sizcache",
+ done = 0,
+ toString = Object.prototype.toString,
+ hasDuplicate = false,
+ baseHasDuplicate = true,
+ rBackslash = /\\/g,
+ rReturn = /\r\n/g,
+ rNonWord = /\W/;
+
+// Here we check if the JavaScript engine is using some sort of
+// optimization where it does not always call our comparision
+// function. If that is the case, discard the hasDuplicate value.
+// Thus far that includes Google Chrome.
+[0, 0].sort(function() {
+ baseHasDuplicate = false;
+ return 0;
+});
+
+var Sizzle = function( selector, context, results, seed ) {
+ results = results || [];
+ context = context || document;
+
+ var origContext = context;
+
+ if ( context.nodeType !== 1 && context.nodeType !== 9 ) {
+ return [];
+ }
+
+ if ( !selector || typeof selector !== "string" ) {
+ return results;
+ }
+
+ var m, set, checkSet, extra, ret, cur, pop, i,
+ prune = true,
+ contextXML = Sizzle.isXML( context ),
+ parts = [],
+ soFar = selector;
+
+ // Reset the position of the chunker regexp (start from head)
+ do {
+ chunker.exec( "" );
+ m = chunker.exec( soFar );
+
+ if ( m ) {
+ soFar = m[3];
+
+ parts.push( m[1] );
+
+ if ( m[2] ) {
+ extra = m[3];
+ break;
+ }
+ }
+ } while ( m );
+
+ if ( parts.length > 1 && origPOS.exec( selector ) ) {
+
+ if ( parts.length === 2 && Expr.relative[ parts[0] ] ) {
+ set = posProcess( parts[0] + parts[1], context, seed );
+
+ } else {
+ set = Expr.relative[ parts[0] ] ?
+ [ context ] :
+ Sizzle( parts.shift(), context );
+
+ while ( parts.length ) {
+ selector = parts.shift();
+
+ if ( Expr.relative[ selector ] ) {
+ selector += parts.shift();
+ }
+
+ set = posProcess( selector, set, seed );
+ }
+ }
+
+ } else {
+ // Take a shortcut and set the context if the root selector is an ID
+ // (but not if it'll be faster if the inner selector is an ID)
+ if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML &&
+ Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) {
+
+ ret = Sizzle.find( parts.shift(), context, contextXML );
+ context = ret.expr ?
+ Sizzle.filter( ret.expr, ret.set )[0] :
+ ret.set[0];
+ }
+
+ if ( context ) {
+ ret = seed ?
+ { expr: parts.pop(), set: makeArray(seed) } :
+ Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML );
+
+ set = ret.expr ?
+ Sizzle.filter( ret.expr, ret.set ) :
+ ret.set;
+
+ if ( parts.length > 0 ) {
+ checkSet = makeArray( set );
+
+ } else {
+ prune = false;
+ }
+
+ while ( parts.length ) {
+ cur = parts.pop();
+ pop = cur;
+
+ if ( !Expr.relative[ cur ] ) {
+ cur = "";
+ } else {
+ pop = parts.pop();
+ }
+
+ if ( pop == null ) {
+ pop = context;
+ }
+
+ Expr.relative[ cur ]( checkSet, pop, contextXML );
+ }
+
+ } else {
+ checkSet = parts = [];
+ }
+ }
+
+ if ( !checkSet ) {
+ checkSet = set;
+ }
+
+ if ( !checkSet ) {
+ Sizzle.error( cur || selector );
+ }
+
+ if ( toString.call(checkSet) === "[object Array]" ) {
+ if ( !prune ) {
+ results.push.apply( results, checkSet );
+
+ } else if ( context && context.nodeType === 1 ) {
+ for ( i = 0; checkSet[i] != null; i++ ) {
+ if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && Sizzle.contains(context, checkSet[i])) ) {
+ results.push( set[i] );
+ }
+ }
+
+ } else {
+ for ( i = 0; checkSet[i] != null; i++ ) {
+ if ( checkSet[i] && checkSet[i].nodeType === 1 ) {
+ results.push( set[i] );
+ }
+ }
+ }
+
+ } else {
+ makeArray( checkSet, results );
+ }
+
+ if ( extra ) {
+ Sizzle( extra, origContext, results, seed );
+ Sizzle.uniqueSort( results );
+ }
+
+ return results;
+};
+
+Sizzle.uniqueSort = function( results ) {
+ if ( sortOrder ) {
+ hasDuplicate = baseHasDuplicate;
+ results.sort( sortOrder );
+
+ if ( hasDuplicate ) {
+ for ( var i = 1; i < results.length; i++ ) {
+ if ( results[i] === results[ i - 1 ] ) {
+ results.splice( i--, 1 );
+ }
+ }
+ }
+ }
+
+ return results;
+};
+
+Sizzle.matches = function( expr, set ) {
+ return Sizzle( expr, null, null, set );
+};
+
+Sizzle.matchesSelector = function( node, expr ) {
+ return Sizzle( expr, null, null, [node] ).length > 0;
+};
+
+Sizzle.find = function( expr, context, isXML ) {
+ var set, i, len, match, type, left;
+
+ if ( !expr ) {
+ return [];
+ }
+
+ for ( i = 0, len = Expr.order.length; i < len; i++ ) {
+ type = Expr.order[i];
+
+ if ( (match = Expr.leftMatch[ type ].exec( expr )) ) {
+ left = match[1];
+ match.splice( 1, 1 );
+
+ if ( left.substr( left.length - 1 ) !== "\\" ) {
+ match[1] = (match[1] || "").replace( rBackslash, "" );
+ set = Expr.find[ type ]( match, context, isXML );
+
+ if ( set != null ) {
+ expr = expr.replace( Expr.match[ type ], "" );
+ break;
+ }
+ }
+ }
+ }
+
+ if ( !set ) {
+ set = typeof context.getElementsByTagName !== "undefined" ?
+ context.getElementsByTagName( "*" ) :
+ [];
+ }
+
+ return { set: set, expr: expr };
+};
+
+Sizzle.filter = function( expr, set, inplace, not ) {
+ var match, anyFound,
+ type, found, item, filter, left,
+ i, pass,
+ old = expr,
+ result = [],
+ curLoop = set,
+ isXMLFilter = set && set[0] && Sizzle.isXML( set[0] );
+
+ while ( expr && set.length ) {
+ for ( type in Expr.filter ) {
+ if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) {
+ filter = Expr.filter[ type ];
+ left = match[1];
+
+ anyFound = false;
+
+ match.splice(1,1);
+
+ if ( left.substr( left.length - 1 ) === "\\" ) {
+ continue;
+ }
+
+ if ( curLoop === result ) {
+ result = [];
+ }
+
+ if ( Expr.preFilter[ type ] ) {
+ match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter );
+
+ if ( !match ) {
+ anyFound = found = true;
+
+ } else if ( match === true ) {
+ continue;
+ }
+ }
+
+ if ( match ) {
+ for ( i = 0; (item = curLoop[i]) != null; i++ ) {
+ if ( item ) {
+ found = filter( item, match, i, curLoop );
+ pass = not ^ found;
+
+ if ( inplace && found != null ) {
+ if ( pass ) {
+ anyFound = true;
+
+ } else {
+ curLoop[i] = false;
+ }
+
+ } else if ( pass ) {
+ result.push( item );
+ anyFound = true;
+ }
+ }
+ }
+ }
+
+ if ( found !== undefined ) {
+ if ( !inplace ) {
+ curLoop = result;
+ }
+
+ expr = expr.replace( Expr.match[ type ], "" );
+
+ if ( !anyFound ) {
+ return [];
+ }
+
+ break;
+ }
+ }
+ }
+
+ // Improper expression
+ if ( expr === old ) {
+ if ( anyFound == null ) {
+ Sizzle.error( expr );
+
+ } else {
+ break;
+ }
+ }
+
+ old = expr;
+ }
+
+ return curLoop;
+};
+
+Sizzle.error = function( msg ) {
+ throw new Error( "Syntax error, unrecognized expression: " + msg );
+};
+
+var getText = Sizzle.getText = function( elem ) {
+ var i, node,
+ nodeType = elem.nodeType,
+ ret = "";
+
+ if ( nodeType ) {
+ if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {
+ // Use textContent || innerText for elements
+ if ( typeof elem.textContent === 'string' ) {
+ return elem.textContent;
+ } else if ( typeof elem.innerText === 'string' ) {
+ // Replace IE's carriage returns
+ return elem.innerText.replace( rReturn, '' );
+ } else {
+ // Traverse it's children
+ for ( elem = elem.firstChild; elem; elem = elem.nextSibling) {
+ ret += getText( elem );
+ }
+ }
+ } else if ( nodeType === 3 || nodeType === 4 ) {
+ return elem.nodeValue;
+ }
+ } else {
+
+ // If no nodeType, this is expected to be an array
+ for ( i = 0; (node = elem[i]); i++ ) {
+ // Do not traverse comment nodes
+ if ( node.nodeType !== 8 ) {
+ ret += getText( node );
+ }
+ }
+ }
+ return ret;
+};
+
+var Expr = Sizzle.selectors = {
+ order: [ "ID", "NAME", "TAG" ],
+
+ match: {
+ ID: /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
+ CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
+ NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,
+ ATTR: /\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,
+ TAG: /^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,
+ CHILD: /:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,
+ POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,
+ PSEUDO: /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/
+ },
+
+ leftMatch: {},
+
+ attrMap: {
+ "class": "className",
+ "for": "htmlFor"
+ },
+
+ attrHandle: {
+ href: function( elem ) {
+ return elem.getAttribute( "href" );
+ },
+ type: function( elem ) {
+ return elem.getAttribute( "type" );
+ }
+ },
+
+ relative: {
+ "+": function(checkSet, part){
+ var isPartStr = typeof part === "string",
+ isTag = isPartStr && !rNonWord.test( part ),
+ isPartStrNotTag = isPartStr && !isTag;
+
+ if ( isTag ) {
+ part = part.toLowerCase();
+ }
+
+ for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) {
+ if ( (elem = checkSet[i]) ) {
+ while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {}
+
+ checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ?
+ elem || false :
+ elem === part;
+ }
+ }
+
+ if ( isPartStrNotTag ) {
+ Sizzle.filter( part, checkSet, true );
+ }
+ },
+
+ ">": function( checkSet, part ) {
+ var elem,
+ isPartStr = typeof part === "string",
+ i = 0,
+ l = checkSet.length;
+
+ if ( isPartStr && !rNonWord.test( part ) ) {
+ part = part.toLowerCase();
+
+ for ( ; i < l; i++ ) {
+ elem = checkSet[i];
+
+ if ( elem ) {
+ var parent = elem.parentNode;
+ checkSet[i] = parent.nodeName.toLowerCase() === part ? parent : false;
+ }
+ }
+
+ } else {
+ for ( ; i < l; i++ ) {
+ elem = checkSet[i];
+
+ if ( elem ) {
+ checkSet[i] = isPartStr ?
+ elem.parentNode :
+ elem.parentNode === part;
+ }
+ }
+
+ if ( isPartStr ) {
+ Sizzle.filter( part, checkSet, true );
+ }
+ }
+ },
+
+ "": function(checkSet, part, isXML){
+ var nodeCheck,
+ doneName = done++,
+ checkFn = dirCheck;
+
+ if ( typeof part === "string" && !rNonWord.test( part ) ) {
+ part = part.toLowerCase();
+ nodeCheck = part;
+ checkFn = dirNodeCheck;
+ }
+
+ checkFn( "parentNode", part, doneName, checkSet, nodeCheck, isXML );
+ },
+
+ "~": function( checkSet, part, isXML ) {
+ var nodeCheck,
+ doneName = done++,
+ checkFn = dirCheck;
+
+ if ( typeof part === "string" && !rNonWord.test( part ) ) {
+ part = part.toLowerCase();
+ nodeCheck = part;
+ checkFn = dirNodeCheck;
+ }
+
+ checkFn( "previousSibling", part, doneName, checkSet, nodeCheck, isXML );
+ }
+ },
+
+ find: {
+ ID: function( match, context, isXML ) {
+ if ( typeof context.getElementById !== "undefined" && !isXML ) {
+ var m = context.getElementById(match[1]);
+ // Check parentNode to catch when Blackberry 4.6 returns
+ // nodes that are no longer in the document #6963
+ return m && m.parentNode ? [m] : [];
+ }
+ },
+
+ NAME: function( match, context ) {
+ if ( typeof context.getElementsByName !== "undefined" ) {
+ var ret = [],
+ results = context.getElementsByName( match[1] );
+
+ for ( var i = 0, l = results.length; i < l; i++ ) {
+ if ( results[i].getAttribute("name") === match[1] ) {
+ ret.push( results[i] );
+ }
+ }
+
+ return ret.length === 0 ? null : ret;
+ }
+ },
+
+ TAG: function( match, context ) {
+ if ( typeof context.getElementsByTagName !== "undefined" ) {
+ return context.getElementsByTagName( match[1] );
+ }
+ }
+ },
+ preFilter: {
+ CLASS: function( match, curLoop, inplace, result, not, isXML ) {
+ match = " " + match[1].replace( rBackslash, "" ) + " ";
+
+ if ( isXML ) {
+ return match;
+ }
+
+ for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) {
+ if ( elem ) {
+ if ( not ^ (elem.className && (" " + elem.className + " ").replace(/[\t\n\r]/g, " ").indexOf(match) >= 0) ) {
+ if ( !inplace ) {
+ result.push( elem );
+ }
+
+ } else if ( inplace ) {
+ curLoop[i] = false;
+ }
+ }
+ }
+
+ return false;
+ },
+
+ ID: function( match ) {
+ return match[1].replace( rBackslash, "" );
+ },
+
+ TAG: function( match, curLoop ) {
+ return match[1].replace( rBackslash, "" ).toLowerCase();
+ },
+
+ CHILD: function( match ) {
+ if ( match[1] === "nth" ) {
+ if ( !match[2] ) {
+ Sizzle.error( match[0] );
+ }
+
+ match[2] = match[2].replace(/^\+|\s*/g, '');
+
+ // parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6'
+ var test = /(-?)(\d*)(?:n([+\-]?\d*))?/.exec(
+ match[2] === "even" && "2n" || match[2] === "odd" && "2n+1" ||
+ !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]);
+
+ // calculate the numbers (first)n+(last) including if they are negative
+ match[2] = (test[1] + (test[2] || 1)) - 0;
+ match[3] = test[3] - 0;
+ }
+ else if ( match[2] ) {
+ Sizzle.error( match[0] );
+ }
+
+ // TODO: Move to normal caching system
+ match[0] = done++;
+
+ return match;
+ },
+
+ ATTR: function( match, curLoop, inplace, result, not, isXML ) {
+ var name = match[1] = match[1].replace( rBackslash, "" );
+
+ if ( !isXML && Expr.attrMap[name] ) {
+ match[1] = Expr.attrMap[name];
+ }
+
+ // Handle if an un-quoted value was used
+ match[4] = ( match[4] || match[5] || "" ).replace( rBackslash, "" );
+
+ if ( match[2] === "~=" ) {
+ match[4] = " " + match[4] + " ";
+ }
+
+ return match;
+ },
+
+ PSEUDO: function( match, curLoop, inplace, result, not ) {
+ if ( match[1] === "not" ) {
+ // If we're dealing with a complex expression, or a simple one
+ if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) {
+ match[3] = Sizzle(match[3], null, null, curLoop);
+
+ } else {
+ var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not);
+
+ if ( !inplace ) {
+ result.push.apply( result, ret );
+ }
+
+ return false;
+ }
+
+ } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) {
+ return true;
+ }
+
+ return match;
+ },
+
+ POS: function( match ) {
+ match.unshift( true );
+
+ return match;
+ }
+ },
+
+ filters: {
+ enabled: function( elem ) {
+ return elem.disabled === false && elem.type !== "hidden";
+ },
+
+ disabled: function( elem ) {
+ return elem.disabled === true;
+ },
+
+ checked: function( elem ) {
+ return elem.checked === true;
+ },
+
+ selected: function( elem ) {
+ // Accessing this property makes selected-by-default
+ // options in Safari work properly
+ if ( elem.parentNode ) {
+ elem.parentNode.selectedIndex;
+ }
+
+ return elem.selected === true;
+ },
+
+ parent: function( elem ) {
+ return !!elem.firstChild;
+ },
+
+ empty: function( elem ) {
+ return !elem.firstChild;
+ },
+
+ has: function( elem, i, match ) {
+ return !!Sizzle( match[3], elem ).length;
+ },
+
+ header: function( elem ) {
+ return (/h\d/i).test( elem.nodeName );
+ },
+
+ text: function( elem ) {
+ var attr = elem.getAttribute( "type" ), type = elem.type;
+ // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc)
+ // use getAttribute instead to test this case
+ return elem.nodeName.toLowerCase() === "input" && "text" === type && ( attr === type || attr === null );
+ },
+
+ radio: function( elem ) {
+ return elem.nodeName.toLowerCase() === "input" && "radio" === elem.type;
+ },
+
+ checkbox: function( elem ) {
+ return elem.nodeName.toLowerCase() === "input" && "checkbox" === elem.type;
+ },
+
+ file: function( elem ) {
+ return elem.nodeName.toLowerCase() === "input" && "file" === elem.type;
+ },
+
+ password: function( elem ) {
+ return elem.nodeName.toLowerCase() === "input" && "password" === elem.type;
+ },
+
+ submit: function( elem ) {
+ var name = elem.nodeName.toLowerCase();
+ return (name === "input" || name === "button") && "submit" === elem.type;
+ },
+
+ image: function( elem ) {
+ return elem.nodeName.toLowerCase() === "input" && "image" === elem.type;
+ },
+
+ reset: function( elem ) {
+ var name = elem.nodeName.toLowerCase();
+ return (name === "input" || name === "button") && "reset" === elem.type;
+ },
+
+ button: function( elem ) {
+ var name = elem.nodeName.toLowerCase();
+ return name === "input" && "button" === elem.type || name === "button";
+ },
+
+ input: function( elem ) {
+ return (/input|select|textarea|button/i).test( elem.nodeName );
+ },
+
+ focus: function( elem ) {
+ return elem === elem.ownerDocument.activeElement;
+ }
+ },
+ setFilters: {
+ first: function( elem, i ) {
+ return i === 0;
+ },
+
+ last: function( elem, i, match, array ) {
+ return i === array.length - 1;
+ },
+
+ even: function( elem, i ) {
+ return i % 2 === 0;
+ },
+
+ odd: function( elem, i ) {
+ return i % 2 === 1;
+ },
+
+ lt: function( elem, i, match ) {
+ return i < match[3] - 0;
+ },
+
+ gt: function( elem, i, match ) {
+ return i > match[3] - 0;
+ },
+
+ nth: function( elem, i, match ) {
+ return match[3] - 0 === i;
+ },
+
+ eq: function( elem, i, match ) {
+ return match[3] - 0 === i;
+ }
+ },
+ filter: {
+ PSEUDO: function( elem, match, i, array ) {
+ var name = match[1],
+ filter = Expr.filters[ name ];
+
+ if ( filter ) {
+ return filter( elem, i, match, array );
+
+ } else if ( name === "contains" ) {
+ return (elem.textContent || elem.innerText || getText([ elem ]) || "").indexOf(match[3]) >= 0;
+
+ } else if ( name === "not" ) {
+ var not = match[3];
+
+ for ( var j = 0, l = not.length; j < l; j++ ) {
+ if ( not[j] === elem ) {
+ return false;
+ }
+ }
+
+ return true;
+
+ } else {
+ Sizzle.error( name );
+ }
+ },
+
+ CHILD: function( elem, match ) {
+ var first, last,
+ doneName, parent, cache,
+ count, diff,
+ type = match[1],
+ node = elem;
+
+ switch ( type ) {
+ case "only":
+ case "first":
+ while ( (node = node.previousSibling) ) {
+ if ( node.nodeType === 1 ) {
+ return false;
+ }
+ }
+
+ if ( type === "first" ) {
+ return true;
+ }
+
+ node = elem;
+
+ /* falls through */
+ case "last":
+ while ( (node = node.nextSibling) ) {
+ if ( node.nodeType === 1 ) {
+ return false;
+ }
+ }
+
+ return true;
+
+ case "nth":
+ first = match[2];
+ last = match[3];
+
+ if ( first === 1 && last === 0 ) {
+ return true;
+ }
+
+ doneName = match[0];
+ parent = elem.parentNode;
+
+ if ( parent && (parent[ expando ] !== doneName || !elem.nodeIndex) ) {
+ count = 0;
+
+ for ( node = parent.firstChild; node; node = node.nextSibling ) {
+ if ( node.nodeType === 1 ) {
+ node.nodeIndex = ++count;
+ }
+ }
+
+ parent[ expando ] = doneName;
+ }
+
+ diff = elem.nodeIndex - last;
+
+ if ( first === 0 ) {
+ return diff === 0;
+
+ } else {
+ return ( diff % first === 0 && diff / first >= 0 );
+ }
+ }
+ },
+
+ ID: function( elem, match ) {
+ return elem.nodeType === 1 && elem.getAttribute("id") === match;
+ },
+
+ TAG: function( elem, match ) {
+ return (match === "*" && elem.nodeType === 1) || !!elem.nodeName && elem.nodeName.toLowerCase() === match;
+ },
+
+ CLASS: function( elem, match ) {
+ return (" " + (elem.className || elem.getAttribute("class")) + " ")
+ .indexOf( match ) > -1;
+ },
+
+ ATTR: function( elem, match ) {
+ var name = match[1],
+ result = Sizzle.attr ?
+ Sizzle.attr( elem, name ) :
+ Expr.attrHandle[ name ] ?
+ Expr.attrHandle[ name ]( elem ) :
+ elem[ name ] != null ?
+ elem[ name ] :
+ elem.getAttribute( name ),
+ value = result + "",
+ type = match[2],
+ check = match[4];
+
+ return result == null ?
+ type === "!=" :
+ !type && Sizzle.attr ?
+ result != null :
+ type === "=" ?
+ value === check :
+ type === "*=" ?
+ value.indexOf(check) >= 0 :
+ type === "~=" ?
+ (" " + value + " ").indexOf(check) >= 0 :
+ !check ?
+ value && result !== false :
+ type === "!=" ?
+ value !== check :
+ type === "^=" ?
+ value.indexOf(check) === 0 :
+ type === "$=" ?
+ value.substr(value.length - check.length) === check :
+ type === "|=" ?
+ value === check || value.substr(0, check.length + 1) === check + "-" :
+ false;
+ },
+
+ POS: function( elem, match, i, array ) {
+ var name = match[2],
+ filter = Expr.setFilters[ name ];
+
+ if ( filter ) {
+ return filter( elem, i, match, array );
+ }
+ }
+ }
+};
+
+var origPOS = Expr.match.POS,
+ fescape = function(all, num){
+ return "\\" + (num - 0 + 1);
+ };
+
+for ( var type in Expr.match ) {
+ Expr.match[ type ] = new RegExp( Expr.match[ type ].source + (/(?![^\[]*\])(?![^\(]*\))/.source) );
+ Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, fescape) );
+}
+// Expose origPOS
+// "global" as in regardless of relation to brackets/parens
+Expr.match.globalPOS = origPOS;
+
+var makeArray = function( array, results ) {
+ array = Array.prototype.slice.call( array, 0 );
+
+ if ( results ) {
+ results.push.apply( results, array );
+ return results;
+ }
+
+ return array;
+};
+
+// Perform a simple check to determine if the browser is capable of
+// converting a NodeList to an array using builtin methods.
+// Also verifies that the returned array holds DOM nodes
+// (which is not the case in the Blackberry browser)
+try {
+ Array.prototype.slice.call( document.documentElement.childNodes, 0 )[0].nodeType;
+
+// Provide a fallback method if it does not work
+} catch( e ) {
+ makeArray = function( array, results ) {
+ var i = 0,
+ ret = results || [];
+
+ if ( toString.call(array) === "[object Array]" ) {
+ Array.prototype.push.apply( ret, array );
+
+ } else {
+ if ( typeof array.length === "number" ) {
+ for ( var l = array.length; i < l; i++ ) {
+ ret.push( array[i] );
+ }
+
+ } else {
+ for ( ; array[i]; i++ ) {
+ ret.push( array[i] );
+ }
+ }
+ }
+
+ return ret;
+ };
+}
+
+var sortOrder, siblingCheck;
+
+if ( document.documentElement.compareDocumentPosition ) {
+ sortOrder = function( a, b ) {
+ if ( a === b ) {
+ hasDuplicate = true;
+ return 0;
+ }
+
+ if ( !a.compareDocumentPosition || !b.compareDocumentPosition ) {
+ return a.compareDocumentPosition ? -1 : 1;
+ }
+
+ return a.compareDocumentPosition(b) & 4 ? -1 : 1;
+ };
+
+} else {
+ sortOrder = function( a, b ) {
+ // The nodes are identical, we can exit early
+ if ( a === b ) {
+ hasDuplicate = true;
+ return 0;
+
+ // Fallback to using sourceIndex (in IE) if it's available on both nodes
+ } else if ( a.sourceIndex && b.sourceIndex ) {
+ return a.sourceIndex - b.sourceIndex;
+ }
+
+ var al, bl,
+ ap = [],
+ bp = [],
+ aup = a.parentNode,
+ bup = b.parentNode,
+ cur = aup;
+
+ // If the nodes are siblings (or identical) we can do a quick check
+ if ( aup === bup ) {
+ return siblingCheck( a, b );
+
+ // If no parents were found then the nodes are disconnected
+ } else if ( !aup ) {
+ return -1;
+
+ } else if ( !bup ) {
+ return 1;
+ }
+
+ // Otherwise they're somewhere else in the tree so we need
+ // to build up a full list of the parentNodes for comparison
+ while ( cur ) {
+ ap.unshift( cur );
+ cur = cur.parentNode;
+ }
+
+ cur = bup;
+
+ while ( cur ) {
+ bp.unshift( cur );
+ cur = cur.parentNode;
+ }
+
+ al = ap.length;
+ bl = bp.length;
+
+ // Start walking down the tree looking for a discrepancy
+ for ( var i = 0; i < al && i < bl; i++ ) {
+ if ( ap[i] !== bp[i] ) {
+ return siblingCheck( ap[i], bp[i] );
+ }
+ }
+
+ // We ended someplace up the tree so do a sibling check
+ return i === al ?
+ siblingCheck( a, bp[i], -1 ) :
+ siblingCheck( ap[i], b, 1 );
+ };
+
+ siblingCheck = function( a, b, ret ) {
+ if ( a === b ) {
+ return ret;
+ }
+
+ var cur = a.nextSibling;
+
+ while ( cur ) {
+ if ( cur === b ) {
+ return -1;
+ }
+
+ cur = cur.nextSibling;
+ }
+
+ return 1;
+ };
+}
+
+// Check to see if the browser returns elements by name when
+// querying by getElementById (and provide a workaround)
+(function(){
+ // We're going to inject a fake input element with a specified name
+ var form = document.createElement("div"),
+ id = "script" + (new Date()).getTime(),
+ root = document.documentElement;
+
+ form.innerHTML = "<a name='" + id + "'/>";
+
+ // Inject it into the root element, check its status, and remove it quickly
+ root.insertBefore( form, root.firstChild );
+
+ // The workaround has to do additional checks after a getElementById
+ // Which slows things down for other browsers (hence the branching)
+ if ( document.getElementById( id ) ) {
+ Expr.find.ID = function( match, context, isXML ) {
+ if ( typeof context.getElementById !== "undefined" && !isXML ) {
+ var m = context.getElementById(match[1]);
+
+ return m ?
+ m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ?
+ [m] :
+ undefined :
+ [];
+ }
+ };
+
+ Expr.filter.ID = function( elem, match ) {
+ var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id");
+
+ return elem.nodeType === 1 && node && node.nodeValue === match;
+ };
+ }
+
+ root.removeChild( form );
+
+ // release memory in IE
+ root = form = null;
+})();
+
+(function(){
+ // Check to see if the browser returns only elements
+ // when doing getElementsByTagName("*")
+
+ // Create a fake element
+ var div = document.createElement("div");
+ div.appendChild( document.createComment("") );
+
+ // Make sure no comments are found
+ if ( div.getElementsByTagName("*").length > 0 ) {
+ Expr.find.TAG = function( match, context ) {
+ var results = context.getElementsByTagName( match[1] );
+
+ // Filter out possible comments
+ if ( match[1] === "*" ) {
+ var tmp = [];
+
+ for ( var i = 0; results[i]; i++ ) {
+ if ( results[i].nodeType === 1 ) {
+ tmp.push( results[i] );
+ }
+ }
+
+ results = tmp;
+ }
+
+ return results;
+ };
+ }
+
+ // Check to see if an attribute returns normalized href attributes
+ div.innerHTML = "<a href='#'></a>";
+
+ if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" &&
+ div.firstChild.getAttribute("href") !== "#" ) {
+
+ Expr.attrHandle.href = function( elem ) {
+ return elem.getAttribute( "href", 2 );
+ };
+ }
+
+ // release memory in IE
+ div = null;
+})();
+
+if ( document.querySelectorAll ) {
+ (function(){
+ var oldSizzle = Sizzle,
+ div = document.createElement("div"),
+ id = "__sizzle__";
+
+ div.innerHTML = "<p class='TEST'></p>";
+
+ // Safari can't handle uppercase or unicode characters when
+ // in quirks mode.
+ if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) {
+ return;
+ }
+
+ Sizzle = function( query, context, extra, seed ) {
+ context = context || document;
+
+ // Only use querySelectorAll on non-XML documents
+ // (ID selectors don't work in non-HTML documents)
+ if ( !seed && !Sizzle.isXML(context) ) {
+ // See if we find a selector to speed up
+ var match = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec( query );
+
+ if ( match && (context.nodeType === 1 || context.nodeType === 9) ) {
+ // Speed-up: Sizzle("TAG")
+ if ( match[1] ) {
+ return makeArray( context.getElementsByTagName( query ), extra );
+
+ // Speed-up: Sizzle(".CLASS")
+ } else if ( match[2] && Expr.find.CLASS && context.getElementsByClassName ) {
+ return makeArray( context.getElementsByClassName( match[2] ), extra );
+ }
+ }
+
+ if ( context.nodeType === 9 ) {
+ // Speed-up: Sizzle("body")
+ // The body element only exists once, optimize finding it
+ if ( query === "body" && context.body ) {
+ return makeArray( [ context.body ], extra );
+
+ // Speed-up: Sizzle("#ID")
+ } else if ( match && match[3] ) {
+ var elem = context.getElementById( match[3] );
+
+ // Check parentNode to catch when Blackberry 4.6 returns
+ // nodes that are no longer in the document #6963
+ if ( elem && elem.parentNode ) {
+ // Handle the case where IE and Opera return items
+ // by name instead of ID
+ if ( elem.id === match[3] ) {
+ return makeArray( [ elem ], extra );
+ }
+
+ } else {
+ return makeArray( [], extra );
+ }
+ }
+
+ try {
+ return makeArray( context.querySelectorAll(query), extra );
+ } catch(qsaError) {}
+
+ // qSA works strangely on Element-rooted queries
+ // We can work around this by specifying an extra ID on the root
+ // and working up from there (Thanks to Andrew Dupont for the technique)
+ // IE 8 doesn't work on object elements
+ } else if ( context.nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) {
+ var oldContext = context,
+ old = context.getAttribute( "id" ),
+ nid = old || id,
+ hasParent = context.parentNode,
+ relativeHierarchySelector = /^\s*[+~]/.test( query );
+
+ if ( !old ) {
+ context.setAttribute( "id", nid );
+ } else {
+ nid = nid.replace( /'/g, "\\$&" );
+ }
+ if ( relativeHierarchySelector && hasParent ) {
+ context = context.parentNode;
+ }
+
+ try {
+ if ( !relativeHierarchySelector || hasParent ) {
+ return makeArray( context.querySelectorAll( "[id='" + nid + "'] " + query ), extra );
+ }
+
+ } catch(pseudoError) {
+ } finally {
+ if ( !old ) {
+ oldContext.removeAttribute( "id" );
+ }
+ }
+ }
+ }
+
+ return oldSizzle(query, context, extra, seed);
+ };
+
+ for ( var prop in oldSizzle ) {
+ Sizzle[ prop ] = oldSizzle[ prop ];
+ }
+
+ // release memory in IE
+ div = null;
+ })();
+}
+
+(function(){
+ var html = document.documentElement,
+ matches = html.matchesSelector || html.mozMatchesSelector || html.webkitMatchesSelector || html.msMatchesSelector;
+
+ if ( matches ) {
+ // Check to see if it's possible to do matchesSelector
+ // on a disconnected node (IE 9 fails this)
+ var disconnectedMatch = !matches.call( document.createElement( "div" ), "div" ),
+ pseudoWorks = false;
+
+ try {
+ // This should fail with an exception
+ // Gecko does not error, returns false instead
+ matches.call( document.documentElement, "[test!='']:sizzle" );
+
+ } catch( pseudoError ) {
+ pseudoWorks = true;
+ }
+
+ Sizzle.matchesSelector = function( node, expr ) {
+ // Make sure that attribute selectors are quoted
+ expr = expr.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']");
+
+ if ( !Sizzle.isXML( node ) ) {
+ try {
+ if ( pseudoWorks || !Expr.match.PSEUDO.test( expr ) && !/!=/.test( expr ) ) {
+ var ret = matches.call( node, expr );
+
+ // IE 9's matchesSelector returns false on disconnected nodes
+ if ( ret || !disconnectedMatch ||
+ // As well, disconnected nodes are said to be in a document
+ // fragment in IE 9, so check for that
+ node.document && node.document.nodeType !== 11 ) {
+ return ret;
+ }
+ }
+ } catch(e) {}
+ }
+
+ return Sizzle(expr, null, null, [node]).length > 0;
+ };
+ }
+})();
+
+(function(){
+ var div = document.createElement("div");
+
+ div.innerHTML = "<div class='test e'></div><div class='test'></div>";
+
+ // Opera can't find a second classname (in 9.6)
+ // Also, make sure that getElementsByClassName actually exists
+ if ( !div.getElementsByClassName || div.getElementsByClassName("e").length === 0 ) {
+ return;
+ }
+
+ // Safari caches class attributes, doesn't catch changes (in 3.2)
+ div.lastChild.className = "e";
+
+ if ( div.getElementsByClassName("e").length === 1 ) {
+ return;
+ }
+
+ Expr.order.splice(1, 0, "CLASS");
+ Expr.find.CLASS = function( match, context, isXML ) {
+ if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) {
+ return context.getElementsByClassName(match[1]);
+ }
+ };
+
+ // release memory in IE
+ div = null;
+})();
+
+function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
+ for ( var i = 0, l = checkSet.length; i < l; i++ ) {
+ var elem = checkSet[i];
+
+ if ( elem ) {
+ var match = false;
+
+ elem = elem[dir];
+
+ while ( elem ) {
+ if ( elem[ expando ] === doneName ) {
+ match = checkSet[elem.sizset];
+ break;
+ }
+
+ if ( elem.nodeType === 1 && !isXML ){
+ elem[ expando ] = doneName;
+ elem.sizset = i;
+ }
+
+ if ( elem.nodeName.toLowerCase() === cur ) {
+ match = elem;
+ break;
+ }
+
+ elem = elem[dir];
+ }
+
+ checkSet[i] = match;
+ }
+ }
+}
+
+function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
+ for ( var i = 0, l = checkSet.length; i < l; i++ ) {
+ var elem = checkSet[i];
+
+ if ( elem ) {
+ var match = false;
+
+ elem = elem[dir];
+
+ while ( elem ) {
+ if ( elem[ expando ] === doneName ) {
+ match = checkSet[elem.sizset];
+ break;
+ }
+
+ if ( elem.nodeType === 1 ) {
+ if ( !isXML ) {
+ elem[ expando ] = doneName;
+ elem.sizset = i;
+ }
+
+ if ( typeof cur !== "string" ) {
+ if ( elem === cur ) {
+ match = true;
+ break;
+ }
+
+ } else if ( Sizzle.filter( cur, [elem] ).length > 0 ) {
+ match = elem;
+ break;
+ }
+ }
+
+ elem = elem[dir];
+ }
+
+ checkSet[i] = match;
+ }
+ }
+}
+
+if ( document.documentElement.contains ) {
+ Sizzle.contains = function( a, b ) {
+ return a !== b && (a.contains ? a.contains(b) : true);
+ };
+
+} else if ( document.documentElement.compareDocumentPosition ) {
+ Sizzle.contains = function( a, b ) {
+ return !!(a.compareDocumentPosition(b) & 16);
+ };
+
+} else {
+ Sizzle.contains = function() {
+ return false;
+ };
+}
+
+Sizzle.isXML = function( elem ) {
+ // documentElement is verified for cases where it doesn't yet exist
+ // (such as loading iframes in IE - #4833)
+ var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement;
+
+ return documentElement ? documentElement.nodeName !== "HTML" : false;
+};
+
+var posProcess = function( selector, context, seed ) {
+ var match,
+ tmpSet = [],
+ later = "",
+ root = context.nodeType ? [context] : context;
+
+ // Position selectors must be done after the filter
+ // And so must :not(positional) so we move all PSEUDOs to the end
+ while ( (match = Expr.match.PSEUDO.exec( selector )) ) {
+ later += match[0];
+ selector = selector.replace( Expr.match.PSEUDO, "" );
+ }
+
+ selector = Expr.relative[selector] ? selector + "*" : selector;
+
+ for ( var i = 0, l = root.length; i < l; i++ ) {
+ Sizzle( selector, root[i], tmpSet, seed );
+ }
+
+ return Sizzle.filter( later, tmpSet );
+};
+
+// EXPOSE
+
+window.tinymce.dom.Sizzle = Sizzle;
+
+})();
+
+
+(function(tinymce) {
+ tinymce.dom.Element = function(id, settings) {
+ var t = this, dom, el;
+
+ t.settings = settings = settings || {};
+ t.id = id;
+ t.dom = dom = settings.dom || tinymce.DOM;
+
+ // Only IE leaks DOM references, this is a lot faster
+ if (!tinymce.isIE)
+ el = dom.get(t.id);
+
+ tinymce.each(
+ ('getPos,getRect,getParent,add,setStyle,getStyle,setStyles,' +
+ 'setAttrib,setAttribs,getAttrib,addClass,removeClass,' +
+ 'hasClass,getOuterHTML,setOuterHTML,remove,show,hide,' +
+ 'isHidden,setHTML,get').split(/,/), function(k) {
+ t[k] = function() {
+ var a = [id], i;
+
+ for (i = 0; i < arguments.length; i++)
+ a.push(arguments[i]);
+
+ a = dom[k].apply(dom, a);
+ t.update(k);
+
+ return a;
+ };
+ }
+ );
+
+ tinymce.extend(t, {
+ on : function(n, f, s) {
+ return tinymce.dom.Event.add(t.id, n, f, s);
+ },
+
+ getXY : function() {
+ return {
+ x : parseInt(t.getStyle('left')),
+ y : parseInt(t.getStyle('top'))
+ };
+ },
+
+ getSize : function() {
+ var n = dom.get(t.id);
+
+ return {
+ w : parseInt(t.getStyle('width') || n.clientWidth),
+ h : parseInt(t.getStyle('height') || n.clientHeight)
+ };
+ },
+
+ moveTo : function(x, y) {
+ t.setStyles({left : x, top : y});
+ },
+
+ moveBy : function(x, y) {
+ var p = t.getXY();
+
+ t.moveTo(p.x + x, p.y + y);
+ },
+
+ resizeTo : function(w, h) {
+ t.setStyles({width : w, height : h});
+ },
+
+ resizeBy : function(w, h) {
+ var s = t.getSize();
+
+ t.resizeTo(s.w + w, s.h + h);
+ },
+
+ update : function(k) {
+ var b;
+
+ if (tinymce.isIE6 && settings.blocker) {
+ k = k || '';
+
+ // Ignore getters
+ if (k.indexOf('get') === 0 || k.indexOf('has') === 0 || k.indexOf('is') === 0)
+ return;
+
+ // Remove blocker on remove
+ if (k == 'remove') {
+ dom.remove(t.blocker);
+ return;
+ }
+
+ if (!t.blocker) {
+ t.blocker = dom.uniqueId();
+ b = dom.add(settings.container || dom.getRoot(), 'iframe', {id : t.blocker, style : 'position:absolute;', frameBorder : 0, src : 'javascript:""'});
+ dom.setStyle(b, 'opacity', 0);
+ } else
+ b = dom.get(t.blocker);
+
+ dom.setStyles(b, {
+ left : t.getStyle('left', 1),
+ top : t.getStyle('top', 1),
+ width : t.getStyle('width', 1),
+ height : t.getStyle('height', 1),
+ display : t.getStyle('display', 1),
+ zIndex : parseInt(t.getStyle('zIndex', 1) || 0) - 1
+ });
+ }
+ }
+ });
+ };
+})(tinymce);
+
+(function(tinymce) {
+ function trimNl(s) {
+ return s.replace(/[\n\r]+/g, '');
+ };
+
+ // Shorten names
+ var is = tinymce.is, isIE = tinymce.isIE, each = tinymce.each, TreeWalker = tinymce.dom.TreeWalker;
+
+ tinymce.create('tinymce.dom.Selection', {
+ Selection : function(dom, win, serializer, editor) {
+ var t = this;
+
+ t.dom = dom;
+ t.win = win;
+ t.serializer = serializer;
+ t.editor = editor;
+
+ // Add events
+ each([
+ 'onBeforeSetContent',
+
+ 'onBeforeGetContent',
+
+ 'onSetContent',
+
+ 'onGetContent'
+ ], function(e) {
+ t[e] = new tinymce.util.Dispatcher(t);
+ });
+
+ // No W3C Range support
+ if (!t.win.getSelection)
+ t.tridentSel = new tinymce.dom.TridentSelection(t);
+
+ if (tinymce.isIE && dom.boxModel)
+ this._fixIESelection();
+
+ // Prevent leaks
+ tinymce.addUnload(t.destroy, t);
+ },
+
+ setCursorLocation: function(node, offset) {
+ var t = this; var r = t.dom.createRng();
+ r.setStart(node, offset);
+ r.setEnd(node, offset);
+ t.setRng(r);
+ t.collapse(false);
+ },
+ getContent : function(s) {
+ var t = this, r = t.getRng(), e = t.dom.create("body"), se = t.getSel(), wb, wa, n;
+
+ s = s || {};
+ wb = wa = '';
+ s.get = true;
+ s.format = s.format || 'html';
+ s.forced_root_block = '';
+ t.onBeforeGetContent.dispatch(t, s);
+
+ if (s.format == 'text')
+ return t.isCollapsed() ? '' : (r.text || (se.toString ? se.toString() : ''));
+
+ if (r.cloneContents) {
+ n = r.cloneContents();
+
+ if (n)
+ e.appendChild(n);
+ } else if (is(r.item) || is(r.htmlText)) {
+ // IE will produce invalid markup if elements are present that
+ // it doesn't understand like custom elements or HTML5 elements.
+ // Adding a BR in front of the contents and then remoiving it seems to fix it though.
+ e.innerHTML = '<br>' + (r.item ? r.item(0).outerHTML : r.htmlText);
+ e.removeChild(e.firstChild);
+ } else
+ e.innerHTML = r.toString();
+
+ // Keep whitespace before and after
+ if (/^\s/.test(e.innerHTML))
+ wb = ' ';
+
+ if (/\s+$/.test(e.innerHTML))
+ wa = ' ';
+
+ s.getInner = true;
+
+ s.content = t.isCollapsed() ? '' : wb + t.serializer.serialize(e, s) + wa;
+ t.onGetContent.dispatch(t, s);
+
+ return s.content;
+ },
+
+ setContent : function(content, args) {
+ var self = this, rng = self.getRng(), caretNode, doc = self.win.document, frag, temp;
+
+ args = args || {format : 'html'};
+ args.set = true;
+ content = args.content = content;
+
+ // Dispatch before set content event
+ if (!args.no_events)
+ self.onBeforeSetContent.dispatch(self, args);
+
+ content = args.content;
+
+ if (rng.insertNode) {
+ // Make caret marker since insertNode places the caret in the beginning of text after insert
+ content += '<span id="__caret">_</span>';
+
+ // Delete and insert new node
+ if (rng.startContainer == doc && rng.endContainer == doc) {
+ // WebKit will fail if the body is empty since the range is then invalid and it can't insert contents
+ doc.body.innerHTML = content;
+ } else {
+ rng.deleteContents();
+
+ if (doc.body.childNodes.length === 0) {
+ doc.body.innerHTML = content;
+ } else {
+ // createContextualFragment doesn't exists in IE 9 DOMRanges
+ if (rng.createContextualFragment) {
+ rng.insertNode(rng.createContextualFragment(content));
+ } else {
+ // Fake createContextualFragment call in IE 9
+ frag = doc.createDocumentFragment();
+ temp = doc.createElement('div');
+
+ frag.appendChild(temp);
+ temp.outerHTML = content;
+
+ rng.insertNode(frag);
+ }
+ }
+ }
+
+ // Move to caret marker
+ caretNode = self.dom.get('__caret');
+
+ // Make sure we wrap it compleatly, Opera fails with a simple select call
+ rng = doc.createRange();
+ rng.setStartBefore(caretNode);
+ rng.setEndBefore(caretNode);
+ self.setRng(rng);
+
+ // Remove the caret position
+ self.dom.remove('__caret');
+
+ try {
+ self.setRng(rng);
+ } catch (ex) {
+ // Might fail on Opera for some odd reason
+ }
+ } else {
+ if (rng.item) {
+ // Delete content and get caret text selection
+ doc.execCommand('Delete', false, null);
+ rng = self.getRng();
+ }
+
+ // Explorer removes spaces from the beginning of pasted contents
+ if (/^\s+/.test(content)) {
+ rng.pasteHTML('<span id="__mce_tmp">_</span>' + content);
+ self.dom.remove('__mce_tmp');
+ } else
+ rng.pasteHTML(content);
+ }
+
+ // Dispatch set content event
+ if (!args.no_events)
+ self.onSetContent.dispatch(self, args);
+ },
+
+ getStart : function() {
+ var self = this, rng = self.getRng(), startElement, parentElement, checkRng, node;
+
+ if (rng.duplicate || rng.item) {
+ // Control selection, return first item
+ if (rng.item)
+ return rng.item(0);
+
+ // Get start element
+ checkRng = rng.duplicate();
+ checkRng.collapse(1);
+ startElement = checkRng.parentElement();
+ if (startElement.ownerDocument !== self.dom.doc) {
+ startElement = self.dom.getRoot();
+ }
+
+ // Check if range parent is inside the start element, then return the inner parent element
+ // This will fix issues when a single element is selected, IE would otherwise return the wrong start element
+ parentElement = node = rng.parentElement();
+ while (node = node.parentNode) {
+ if (node == startElement) {
+ startElement = parentElement;
+ break;
+ }
+ }
+
+ return startElement;
+ } else {
+ startElement = rng.startContainer;
+
+ if (startElement.nodeType == 1 && startElement.hasChildNodes())
+ startElement = startElement.childNodes[Math.min(startElement.childNodes.length - 1, rng.startOffset)];
+
+ if (startElement && startElement.nodeType == 3)
+ return startElement.parentNode;
+
+ return startElement;
+ }
+ },
+
+ getEnd : function() {
+ var self = this, rng = self.getRng(), endElement, endOffset;
+
+ if (rng.duplicate || rng.item) {
+ if (rng.item)
+ return rng.item(0);
+
+ rng = rng.duplicate();
+ rng.collapse(0);
+ endElement = rng.parentElement();
+ if (endElement.ownerDocument !== self.dom.doc) {
+ endElement = self.dom.getRoot();
+ }
+
+ if (endElement && endElement.nodeName == 'BODY')
+ return endElement.lastChild || endElement;
+
+ return endElement;
+ } else {
+ endElement = rng.endContainer;
+ endOffset = rng.endOffset;
+
+ if (endElement.nodeType == 1 && endElement.hasChildNodes())
+ endElement = endElement.childNodes[endOffset > 0 ? endOffset - 1 : endOffset];
+
+ if (endElement && endElement.nodeType == 3)
+ return endElement.parentNode;
+
+ return endElement;
+ }
+ },
+
+ getBookmark : function(type, normalized) {
+ var t = this, dom = t.dom, rng, rng2, id, collapsed, name, element, index, chr = '\uFEFF', styles;
+
+ function findIndex(name, element) {
+ var index = 0;
+
+ each(dom.select(name), function(node, i) {
+ if (node == element)
+ index = i;
+ });
+
+ return index;
+ };
+
+ function normalizeTableCellSelection(rng) {
+ function moveEndPoint(start) {
+ var container, offset, childNodes, prefix = start ? 'start' : 'end';
+
+ container = rng[prefix + 'Container'];
+ offset = rng[prefix + 'Offset'];
+
+ if (container.nodeType == 1 && container.nodeName == "TR") {
+ childNodes = container.childNodes;
+ container = childNodes[Math.min(start ? offset : offset - 1, childNodes.length - 1)];
+ if (container) {
+ offset = start ? 0 : container.childNodes.length;
+ rng['set' + (start ? 'Start' : 'End')](container, offset);
+ }
+ }
+ };
+
+ moveEndPoint(true);
+ moveEndPoint();
+
+ return rng;
+ };
+
+ function getLocation() {
+ var rng = t.getRng(true), root = dom.getRoot(), bookmark = {};
+
+ function getPoint(rng, start) {
+ var container = rng[start ? 'startContainer' : 'endContainer'],
+ offset = rng[start ? 'startOffset' : 'endOffset'], point = [], node, childNodes, after = 0;
+
+ if (container.nodeType == 3) {
+ if (normalized) {
+ for (node = container.previousSibling; node && node.nodeType == 3; node = node.previousSibling)
+ offset += node.nodeValue.length;
+ }
+
+ point.push(offset);
+ } else {
+ childNodes = container.childNodes;
+
+ if (offset >= childNodes.length && childNodes.length) {
+ after = 1;
+ offset = Math.max(0, childNodes.length - 1);
+ }
+
+ point.push(t.dom.nodeIndex(childNodes[offset], normalized) + after);
+ }
+
+ for (; container && container != root; container = container.parentNode)
+ point.push(t.dom.nodeIndex(container, normalized));
+
+ return point;
+ };
+
+ bookmark.start = getPoint(rng, true);
+
+ if (!t.isCollapsed())
+ bookmark.end = getPoint(rng);
+
+ return bookmark;
+ };
+
+ if (type == 2) {
+ if (t.tridentSel)
+ return t.tridentSel.getBookmark(type);
+
+ return getLocation();
+ }
+
+ // Handle simple range
+ if (type)
+ return {rng : t.getRng()};
+
+ rng = t.getRng();
+ id = dom.uniqueId();
+ collapsed = tinyMCE.activeEditor.selection.isCollapsed();
+ styles = 'overflow:hidden;line-height:0px';
+
+ // Explorer method
+ if (rng.duplicate || rng.item) {
+ // Text selection
+ if (!rng.item) {
+ rng2 = rng.duplicate();
+
+ try {
+ // Insert start marker
+ rng.collapse();
+ rng.pasteHTML('<span data-mce-type="bookmark" id="' + id + '_start" style="' + styles + '">' + chr + '</span>');
+
+ // Insert end marker
+ if (!collapsed) {
+ rng2.collapse(false);
+
+ // Detect the empty space after block elements in IE and move the end back one character <p></p>] becomes <p>]</p>
+ rng.moveToElementText(rng2.parentElement());
+ if (rng.compareEndPoints('StartToEnd', rng2) === 0)
+ rng2.move('character', -1);
+
+ rng2.pasteHTML('<span data-mce-type="bookmark" id="' + id + '_end" style="' + styles + '">' + chr + '</span>');
+ }
+ } catch (ex) {
+ // IE might throw unspecified error so lets ignore it
+ return null;
+ }
+ } else {
+ // Control selection
+ element = rng.item(0);
+ name = element.nodeName;
+
+ return {name : name, index : findIndex(name, element)};
+ }
+ } else {
+ element = t.getNode();
+ name = element.nodeName;
+ if (name == 'IMG')
+ return {name : name, index : findIndex(name, element)};
+
+ // W3C method
+ rng2 = normalizeTableCellSelection(rng.cloneRange());
+
+ // Insert end marker
+ if (!collapsed) {
+ rng2.collapse(false);
+ rng2.insertNode(dom.create('span', {'data-mce-type' : "bookmark", id : id + '_end', style : styles}, chr));
+ }
+
+ rng = normalizeTableCellSelection(rng);
+ rng.collapse(true);
+ rng.insertNode(dom.create('span', {'data-mce-type' : "bookmark", id : id + '_start', style : styles}, chr));
+ }
+
+ t.moveToBookmark({id : id, keep : 1});
+
+ return {id : id};
+ },
+
+ moveToBookmark : function(bookmark) {
+ var t = this, dom = t.dom, marker1, marker2, rng, root, startContainer, endContainer, startOffset, endOffset;
+
+ function setEndPoint(start) {
+ var point = bookmark[start ? 'start' : 'end'], i, node, offset, children;
+
+ if (point) {
+ offset = point[0];
+
+ // Find container node
+ for (node = root, i = point.length - 1; i >= 1; i--) {
+ children = node.childNodes;
+
+ if (point[i] > children.length - 1)
+ return;
+
+ node = children[point[i]];
+ }
+
+ // Move text offset to best suitable location
+ if (node.nodeType === 3)
+ offset = Math.min(point[0], node.nodeValue.length);
+
+ // Move element offset to best suitable location
+ if (node.nodeType === 1)
+ offset = Math.min(point[0], node.childNodes.length);
+
+ // Set offset within container node
+ if (start)
+ rng.setStart(node, offset);
+ else
+ rng.setEnd(node, offset);
+ }
+
+ return true;
+ };
+
+ function restoreEndPoint(suffix) {
+ var marker = dom.get(bookmark.id + '_' + suffix), node, idx, next, prev, keep = bookmark.keep;
+
+ if (marker) {
+ node = marker.parentNode;
+
+ if (suffix == 'start') {
+ if (!keep) {
+ idx = dom.nodeIndex(marker);
+ } else {
+ node = marker.firstChild;
+ idx = 1;
+ }
+
+ startContainer = endContainer = node;
+ startOffset = endOffset = idx;
+ } else {
+ if (!keep) {
+ idx = dom.nodeIndex(marker);
+ } else {
+ node = marker.firstChild;
+ idx = 1;
+ }
+
+ endContainer = node;
+ endOffset = idx;
+ }
+
+ if (!keep) {
+ prev = marker.previousSibling;
+ next = marker.nextSibling;
+
+ // Remove all marker text nodes
+ each(tinymce.grep(marker.childNodes), function(node) {
+ if (node.nodeType == 3)
+ node.nodeValue = node.nodeValue.replace(/\uFEFF/g, '');
+ });
+
+ // Remove marker but keep children if for example contents where inserted into the marker
+ // Also remove duplicated instances of the marker for example by a split operation or by WebKit auto split on paste feature
+ while (marker = dom.get(bookmark.id + '_' + suffix))
+ dom.remove(marker, 1);
+
+ // If siblings are text nodes then merge them unless it's Opera since it some how removes the node
+ // and we are sniffing since adding a lot of detection code for a browser with 3% of the market isn't worth the effort. Sorry, Opera but it's just a fact
+ if (prev && next && prev.nodeType == next.nodeType && prev.nodeType == 3 && !tinymce.isOpera) {
+ idx = prev.nodeValue.length;
+ prev.appendData(next.nodeValue);
+ dom.remove(next);
+
+ if (suffix == 'start') {
+ startContainer = endContainer = prev;
+ startOffset = endOffset = idx;
+ } else {
+ endContainer = prev;
+ endOffset = idx;
+ }
+ }
+ }
+ }
+ };
+
+ function addBogus(node) {
+ // Adds a bogus BR element for empty block elements
+ if (dom.isBlock(node) && !node.innerHTML && !isIE)
+ node.innerHTML = '<br data-mce-bogus="1" />';
+
+ return node;
+ };
+
+ if (bookmark) {
+ if (bookmark.start) {
+ rng = dom.createRng();
+ root = dom.getRoot();
+
+ if (t.tridentSel)
+ return t.tridentSel.moveToBookmark(bookmark);
+
+ if (setEndPoint(true) && setEndPoint()) {
+ t.setRng(rng);
+ }
+ } else if (bookmark.id) {
+ // Restore start/end points
+ restoreEndPoint('start');
+ restoreEndPoint('end');
+
+ if (startContainer) {
+ rng = dom.createRng();
+ rng.setStart(addBogus(startContainer), startOffset);
+ rng.setEnd(addBogus(endContainer), endOffset);
+ t.setRng(rng);
+ }
+ } else if (bookmark.name) {
+ t.select(dom.select(bookmark.name)[bookmark.index]);
+ } else if (bookmark.rng)
+ t.setRng(bookmark.rng);
+ }
+ },
+
+ select : function(node, content) {
+ var t = this, dom = t.dom, rng = dom.createRng(), idx;
+
+ function setPoint(node, start) {
+ var walker = new TreeWalker(node, node);
+
+ do {
+ // Text node
+ if (node.nodeType == 3 && tinymce.trim(node.nodeValue).length !== 0) {
+ if (start)
+ rng.setStart(node, 0);
+ else
+ rng.setEnd(node, node.nodeValue.length);
+
+ return;
+ }
+
+ // BR element
+ if (node.nodeName == 'BR') {
+ if (start)
+ rng.setStartBefore(node);
+ else
+ rng.setEndBefore(node);
+
+ return;
+ }
+ } while (node = (start ? walker.next() : walker.prev()));
+ };
+
+ if (node) {
+ idx = dom.nodeIndex(node);
+ rng.setStart(node.parentNode, idx);
+ rng.setEnd(node.parentNode, idx + 1);
+
+ // Find first/last text node or BR element
+ if (content) {
+ setPoint(node, 1);
+ setPoint(node);
+ }
+
+ t.setRng(rng);
+ }
+
+ return node;
+ },
+
+ isCollapsed : function() {
+ var t = this, r = t.getRng(), s = t.getSel();
+
+ if (!r || r.item)
+ return false;
+
+ if (r.compareEndPoints)
+ return r.compareEndPoints('StartToEnd', r) === 0;
+
+ return !s || r.collapsed;
+ },
+
+ collapse : function(to_start) {
+ var self = this, rng = self.getRng(), node;
+
+ // Control range on IE
+ if (rng.item) {
+ node = rng.item(0);
+ rng = self.win.document.body.createTextRange();
+ rng.moveToElementText(node);
+ }
+
+ rng.collapse(!!to_start);
+ self.setRng(rng);
+ },
+
+ getSel : function() {
+ var t = this, w = this.win;
+
+ return w.getSelection ? w.getSelection() : w.document.selection;
+ },
+
+ getRng : function(w3c) {
+ var self = this, selection, rng, elm, doc = self.win.document;
+
+ // Found tridentSel object then we need to use that one
+ if (w3c && self.tridentSel) {
+ return self.tridentSel.getRangeAt(0);
+ }
+
+ try {
+ if (selection = self.getSel()) {
+ rng = selection.rangeCount > 0 ? selection.getRangeAt(0) : (selection.createRange ? selection.createRange() : doc.createRange());
+ }
+ } catch (ex) {
+ // IE throws unspecified error here if TinyMCE is placed in a frame/iframe
+ }
+
+ // We have W3C ranges and it's IE then fake control selection since IE9 doesn't handle that correctly yet
+ if (tinymce.isIE && rng && rng.setStart && doc.selection.createRange().item) {
+ elm = doc.selection.createRange().item(0);
+ rng = doc.createRange();
+ rng.setStartBefore(elm);
+ rng.setEndAfter(elm);
+ }
+
+ // No range found then create an empty one
+ // This can occur when the editor is placed in a hidden container element on Gecko
+ // Or on IE when there was an exception
+ if (!rng) {
+ rng = doc.createRange ? doc.createRange() : doc.body.createTextRange();
+ }
+
+ // If range is at start of document then move it to start of body
+ if (rng.setStart && rng.startContainer.nodeType === 9 && rng.collapsed) {
+ elm = self.dom.getRoot();
+ rng.setStart(elm, 0);
+ rng.setEnd(elm, 0);
+ }
+
+ if (self.selectedRange && self.explicitRange) {
+ if (rng.compareBoundaryPoints(rng.START_TO_START, self.selectedRange) === 0 && rng.compareBoundaryPoints(rng.END_TO_END, self.selectedRange) === 0) {
+ // Safari, Opera and Chrome only ever select text which causes the range to change.
+ // This lets us use the originally set range if the selection hasn't been changed by the user.
+ rng = self.explicitRange;
+ } else {
+ self.selectedRange = null;
+ self.explicitRange = null;
+ }
+ }
+
+ return rng;
+ },
+
+ setRng : function(r, forward) {
+ var s, t = this;
+
+ if (!t.tridentSel) {
+ s = t.getSel();
+
+ if (s) {
+ t.explicitRange = r;
+
+ try {
+ s.removeAllRanges();
+ } catch (ex) {
+ // IE9 might throw errors here don't know why
+ }
+
+ s.addRange(r);
+
+ // Forward is set to false and we have an extend function
+ if (forward === false && s.extend) {
+ s.collapse(r.endContainer, r.endOffset);
+ s.extend(r.startContainer, r.startOffset);
+ }
+
+ // adding range isn't always successful so we need to check range count otherwise an exception can occur
+ t.selectedRange = s.rangeCount > 0 ? s.getRangeAt(0) : null;
+ }
+ } else {
+ // Is W3C Range
+ if (r.cloneRange) {
+ try {
+ t.tridentSel.addRange(r);
+ return;
+ } catch (ex) {
+ //IE9 throws an error here if called before selection is placed in the editor
+ }
+ }
+
+ // Is IE specific range
+ try {
+ r.select();
+ } catch (ex) {
+ // Needed for some odd IE bug #1843306
+ }
+ }
+ },
+
+ setNode : function(n) {
+ var t = this;
+
+ t.setContent(t.dom.getOuterHTML(n));
+
+ return n;
+ },
+
+ getNode : function() {
+ var t = this, rng = t.getRng(), sel = t.getSel(), elm, start = rng.startContainer, end = rng.endContainer;
+
+ function skipEmptyTextNodes(n, forwards) {
+ var orig = n;
+ while (n && n.nodeType === 3 && n.length === 0) {
+ n = forwards ? n.nextSibling : n.previousSibling;
+ }
+ return n || orig;
+ };
+
+ // Range maybe lost after the editor is made visible again
+ if (!rng)
+ return t.dom.getRoot();
+
+ if (rng.setStart) {
+ elm = rng.commonAncestorContainer;
+
+ // Handle selection a image or other control like element such as anchors
+ if (!rng.collapsed) {
+ if (rng.startContainer == rng.endContainer) {
+ if (rng.endOffset - rng.startOffset < 2) {
+ if (rng.startContainer.hasChildNodes())
+ elm = rng.startContainer.childNodes[rng.startOffset];
+ }
+ }
+
+ // If the anchor node is a element instead of a text node then return this element
+ //if (tinymce.isWebKit && sel.anchorNode && sel.anchorNode.nodeType == 1)
+ // return sel.anchorNode.childNodes[sel.anchorOffset];
+
+ // Handle cases where the selection is immediately wrapped around a node and return that node instead of it's parent.
+ // This happens when you double click an underlined word in FireFox.
+ if (start.nodeType === 3 && end.nodeType === 3) {
+ if (start.length === rng.startOffset) {
+ start = skipEmptyTextNodes(start.nextSibling, true);
+ } else {
+ start = start.parentNode;
+ }
+ if (rng.endOffset === 0) {
+ end = skipEmptyTextNodes(end.previousSibling, false);
+ } else {
+ end = end.parentNode;
+ }
+
+ if (start && start === end)
+ return start;
+ }
+ }
+
+ if (elm && elm.nodeType == 3)
+ return elm.parentNode;
+
+ return elm;
+ }
+
+ return rng.item ? rng.item(0) : rng.parentElement();
+ },
+
+ getSelectedBlocks : function(st, en) {
+ var t = this, dom = t.dom, sb, eb, n, bl = [];
+
+ sb = dom.getParent(st || t.getStart(), dom.isBlock);
+ eb = dom.getParent(en || t.getEnd(), dom.isBlock);
+
+ if (sb)
+ bl.push(sb);
+
+ if (sb && eb && sb != eb) {
+ n = sb;
+
+ var walker = new TreeWalker(sb, dom.getRoot());
+ while ((n = walker.next()) && n != eb) {
+ if (dom.isBlock(n))
+ bl.push(n);
+ }
+ }
+
+ if (eb && sb != eb)
+ bl.push(eb);
+
+ return bl;
+ },
+
+ isForward: function(){
+ var dom = this.dom, sel = this.getSel(), anchorRange, focusRange;
+
+ // No support for selection direction then always return true
+ if (!sel || sel.anchorNode == null || sel.focusNode == null) {
+ return true;
+ }
+
+ anchorRange = dom.createRng();
+ anchorRange.setStart(sel.anchorNode, sel.anchorOffset);
+ anchorRange.collapse(true);
+
+ focusRange = dom.createRng();
+ focusRange.setStart(sel.focusNode, sel.focusOffset);
+ focusRange.collapse(true);
+
+ return anchorRange.compareBoundaryPoints(anchorRange.START_TO_START, focusRange) <= 0;
+ },
+
+ normalize : function() {
+ var self = this, rng, normalized, collapsed, node, sibling;
+
+ function normalizeEndPoint(start) {
+ var container, offset, walker, dom = self.dom, body = dom.getRoot(), node, nonEmptyElementsMap, nodeName;
+
+ function hasBrBeforeAfter(node, left) {
+ var walker = new TreeWalker(node, dom.getParent(node.parentNode, dom.isBlock) || body);
+
+ while (node = walker[left ? 'prev' : 'next']()) {
+ if (node.nodeName === "BR") {
+ return true;
+ }
+ }
+ };
+
+ // Walks the dom left/right to find a suitable text node to move the endpoint into
+ // It will only walk within the current parent block or body and will stop if it hits a block or a BR/IMG
+ function findTextNodeRelative(left, startNode) {
+ var walker, lastInlineElement;
+
+ startNode = startNode || container;
+ walker = new TreeWalker(startNode, dom.getParent(startNode.parentNode, dom.isBlock) || body);
+
+ // Walk left until we hit a text node we can move to or a block/br/img
+ while (node = walker[left ? 'prev' : 'next']()) {
+ // Found text node that has a length
+ if (node.nodeType === 3 && node.nodeValue.length > 0) {
+ container = node;
+ offset = left ? node.nodeValue.length : 0;
+ normalized = true;
+ return;
+ }
+
+ // Break if we find a block or a BR/IMG/INPUT etc
+ if (dom.isBlock(node) || nonEmptyElementsMap[node.nodeName.toLowerCase()]) {
+ return;
+ }
+
+ lastInlineElement = node;
+ }
+
+ // Only fetch the last inline element when in caret mode for now
+ if (collapsed && lastInlineElement) {
+ container = lastInlineElement;
+ normalized = true;
+ offset = 0;
+ }
+ };
+
+ container = rng[(start ? 'start' : 'end') + 'Container'];
+ offset = rng[(start ? 'start' : 'end') + 'Offset'];
+ nonEmptyElementsMap = dom.schema.getNonEmptyElements();
+
+ // If the container is a document move it to the body element
+ if (container.nodeType === 9) {
+ container = dom.getRoot();
+ offset = 0;
+ }
+
+ // If the container is body try move it into the closest text node or position
+ if (container === body) {
+ // If start is before/after a image, table etc
+ if (start) {
+ node = container.childNodes[offset > 0 ? offset - 1 : 0];
+ if (node) {
+ nodeName = node.nodeName.toLowerCase();
+ if (nonEmptyElementsMap[node.nodeName] || node.nodeName == "TABLE") {
+ return;
+ }
+ }
+ }
+
+ // Resolve the index
+ if (container.hasChildNodes()) {
+ container = container.childNodes[Math.min(!start && offset > 0 ? offset - 1 : offset, container.childNodes.length - 1)];
+ offset = 0;
+
+ // Don't walk into elements that doesn't have any child nodes like a IMG
+ if (container.hasChildNodes() && !/TABLE/.test(container.nodeName)) {
+ // Walk the DOM to find a text node to place the caret at or a BR
+ node = container;
+ walker = new TreeWalker(container, body);
+
+ do {
+ // Found a text node use that position
+ if (node.nodeType === 3 && node.nodeValue.length > 0) {
+ offset = start ? 0 : node.nodeValue.length;
+ container = node;
+ normalized = true;
+ break;
+ }
+
+ // Found a BR/IMG element that we can place the caret before
+ if (nonEmptyElementsMap[node.nodeName.toLowerCase()]) {
+ offset = dom.nodeIndex(node);
+ container = node.parentNode;
+
+ // Put caret after image when moving the end point
+ if (node.nodeName == "IMG" && !start) {
+ offset++;
+ }
+
+ normalized = true;
+ break;
+ }
+ } while (node = (start ? walker.next() : walker.prev()));
+ }
+ }
+ }
+
+ // Lean the caret to the left if possible
+ if (collapsed) {
+ // So this: <b>x</b><i>|x</i>
+ // Becomes: <b>x|</b><i>x</i>
+ // Seems that only gecko has issues with this
+ if (container.nodeType === 3 && offset === 0) {
+ findTextNodeRelative(true);
+ }
+
+ // Lean left into empty inline elements when the caret is before a BR
+ // So this: <i><b></b><i>|<br></i>
+ // Becomes: <i><b>|</b><i><br></i>
+ // Seems that only gecko has issues with this
+ if (container.nodeType === 1) {
+ node = container.childNodes[offset];
+ if(node && node.nodeName === 'BR' && !hasBrBeforeAfter(node) && !hasBrBeforeAfter(node, true)) {
+ findTextNodeRelative(true, container.childNodes[offset]);
+ }
+ }
+ }
+
+ // Lean the start of the selection right if possible
+ // So this: x[<b>x]</b>
+ // Becomes: x<b>[x]</b>
+ if (start && !collapsed && container.nodeType === 3 && offset === container.nodeValue.length) {
+ findTextNodeRelative(false);
+ }
+
+ // Set endpoint if it was normalized
+ if (normalized)
+ rng['set' + (start ? 'Start' : 'End')](container, offset);
+ };
+
+ // Normalize only on non IE browsers for now
+ if (tinymce.isIE)
+ return;
+
+ rng = self.getRng();
+ collapsed = rng.collapsed;
+
+ // Normalize the end points
+ normalizeEndPoint(true);
+
+ if (!collapsed)
+ normalizeEndPoint();
+
+ // Set the selection if it was normalized
+ if (normalized) {
+ // If it was collapsed then make sure it still is
+ if (collapsed) {
+ rng.collapse(true);
+ }
+
+ //console.log(self.dom.dumpRng(rng));
+ self.setRng(rng, self.isForward());
+ }
+ },
+
+ selectorChanged: function(selector, callback) {
+ var self = this, currentSelectors;
+
+ if (!self.selectorChangedData) {
+ self.selectorChangedData = {};
+ currentSelectors = {};
+
+ self.editor.onNodeChange.addToTop(function(ed, cm, node) {
+ var dom = self.dom, parents = dom.getParents(node, null, dom.getRoot()), matchedSelectors = {};
+
+ // Check for new matching selectors
+ each(self.selectorChangedData, function(callbacks, selector) {
+ each(parents, function(node) {
+ if (dom.is(node, selector)) {
+ if (!currentSelectors[selector]) {
+ // Execute callbacks
+ each(callbacks, function(callback) {
+ callback(true, {node: node, selector: selector, parents: parents});
+ });
+
+ currentSelectors[selector] = callbacks;
+ }
+
+ matchedSelectors[selector] = callbacks;
+ return false;
+ }
+ });
+ });
+
+ // Check if current selectors still match
+ each(currentSelectors, function(callbacks, selector) {
+ if (!matchedSelectors[selector]) {
+ delete currentSelectors[selector];
+
+ each(callbacks, function(callback) {
+ callback(false, {node: node, selector: selector, parents: parents});
+ });
+ }
+ });
+ });
+ }
+
+ // Add selector listeners
+ if (!self.selectorChangedData[selector]) {
+ self.selectorChangedData[selector] = [];
+ }
+
+ self.selectorChangedData[selector].push(callback);
+
+ return self;
+ },
+
+ destroy : function(manual) {
+ var self = this;
+
+ self.win = null;
+
+ // Manual destroy then remove unload handler
+ if (!manual)
+ tinymce.removeUnload(self.destroy);
+ },
+
+ // IE has an issue where you can't select/move the caret by clicking outside the body if the document is in standards mode
+ _fixIESelection : function() {
+ var dom = this.dom, doc = dom.doc, body = doc.body, started, startRng, htmlElm;
+
+ // Return range from point or null if it failed
+ function rngFromPoint(x, y) {
+ var rng = body.createTextRange();
+
+ try {
+ rng.moveToPoint(x, y);
+ } catch (ex) {
+ // IE sometimes throws and exception, so lets just ignore it
+ rng = null;
+ }
+
+ return rng;
+ };
+
+ // Fires while the selection is changing
+ function selectionChange(e) {
+ var pointRng;
+
+ // Check if the button is down or not
+ if (e.button) {
+ // Create range from mouse position
+ pointRng = rngFromPoint(e.x, e.y);
+
+ if (pointRng) {
+ // Check if pointRange is before/after selection then change the endPoint
+ if (pointRng.compareEndPoints('StartToStart', startRng) > 0)
+ pointRng.setEndPoint('StartToStart', startRng);
+ else
+ pointRng.setEndPoint('EndToEnd', startRng);
+
+ pointRng.select();
+ }
+ } else
+ endSelection();
+ }
+
+ // Removes listeners
+ function endSelection() {
+ var rng = doc.selection.createRange();
+
+ // If the range is collapsed then use the last start range
+ if (startRng && !rng.item && rng.compareEndPoints('StartToEnd', rng) === 0)
+ startRng.select();
+
+ dom.unbind(doc, 'mouseup', endSelection);
+ dom.unbind(doc, 'mousemove', selectionChange);
+ startRng = started = 0;
+ };
+
+ // Make HTML element unselectable since we are going to handle selection by hand
+ doc.documentElement.unselectable = true;
+
+ // Detect when user selects outside BODY
+ dom.bind(doc, ['mousedown', 'contextmenu'], function(e) {
+ if (e.target.nodeName === 'HTML') {
+ if (started)
+ endSelection();
+
+ // Detect vertical scrollbar, since IE will fire a mousedown on the scrollbar and have target set as HTML
+ htmlElm = doc.documentElement;
+ if (htmlElm.scrollHeight > htmlElm.clientHeight)
+ return;
+
+ started = 1;
+ // Setup start position
+ startRng = rngFromPoint(e.x, e.y);
+ if (startRng) {
+ // Listen for selection change events
+ dom.bind(doc, 'mouseup', endSelection);
+ dom.bind(doc, 'mousemove', selectionChange);
+
+ dom.win.focus();
+ startRng.select();
+ }
+ }
+ });
+ }
+ });
+})(tinymce);
+
+(function(tinymce) {
+ tinymce.dom.Serializer = function(settings, dom, schema) {
+ var onPreProcess, onPostProcess, isIE = tinymce.isIE, each = tinymce.each, htmlParser;
+
+ // Support the old apply_source_formatting option
+ if (!settings.apply_source_formatting)
+ settings.indent = false;
+
+ // Default DOM and Schema if they are undefined
+ dom = dom || tinymce.DOM;
+ schema = schema || new tinymce.html.Schema(settings);
+ settings.entity_encoding = settings.entity_encoding || 'named';
+ settings.remove_trailing_brs = "remove_trailing_brs" in settings ? settings.remove_trailing_brs : true;
+
+ onPreProcess = new tinymce.util.Dispatcher(self);
+
+ onPostProcess = new tinymce.util.Dispatcher(self);
+
+ htmlParser = new tinymce.html.DomParser(settings, schema);
+
+ // Convert move data-mce-src, data-mce-href and data-mce-style into nodes or process them if needed
+ htmlParser.addAttributeFilter('src,href,style', function(nodes, name) {
+ var i = nodes.length, node, value, internalName = 'data-mce-' + name, urlConverter = settings.url_converter, urlConverterScope = settings.url_converter_scope, undef;
+
+ while (i--) {
+ node = nodes[i];
+
+ value = node.attributes.map[internalName];
+ if (value !== undef) {
+ // Set external name to internal value and remove internal
+ node.attr(name, value.length > 0 ? value : null);
+ node.attr(internalName, null);
+ } else {
+ // No internal attribute found then convert the value we have in the DOM
+ value = node.attributes.map[name];
+
+ if (name === "style")
+ value = dom.serializeStyle(dom.parseStyle(value), node.name);
+ else if (urlConverter)
+ value = urlConverter.call(urlConverterScope, value, name, node.name);
+
+ node.attr(name, value.length > 0 ? value : null);
+ }
+ }
+ });
+
+ // Remove internal classes mceItem<..> or mceSelected
+ htmlParser.addAttributeFilter('class', function(nodes, name) {
+ var i = nodes.length, node, value;
+
+ while (i--) {
+ node = nodes[i];
+ value = node.attr('class').replace(/(?:^|\s)mce(Item\w+|Selected)(?!\S)/g, '');
+ node.attr('class', value.length > 0 ? value : null);
+ }
+ });
+
+ // Remove bookmark elements
+ htmlParser.addAttributeFilter('data-mce-type', function(nodes, name, args) {
+ var i = nodes.length, node;
+
+ while (i--) {
+ node = nodes[i];
+
+ if (node.attributes.map['data-mce-type'] === 'bookmark' && !args.cleanup)
+ node.remove();
+ }
+ });
+
+ // Remove expando attributes
+ htmlParser.addAttributeFilter('data-mce-expando', function(nodes, name, args) {
+ var i = nodes.length;
+
+ while (i--) {
+ nodes[i].attr(name, null);
+ }
+ });
+
+ htmlParser.addNodeFilter('noscript', function(nodes) {
+ var i = nodes.length, node;
+
+ while (i--) {
+ node = nodes[i].firstChild;
+
+ if (node) {
+ node.value = tinymce.html.Entities.decode(node.value);
+ }
+ }
+ });
+
+ // Force script into CDATA sections and remove the mce- prefix also add comments around styles
+ htmlParser.addNodeFilter('script,style', function(nodes, name) {
+ var i = nodes.length, node, value;
+
+ function trim(value) {
+ return value.replace(/(<!--\[CDATA\[|\]\]-->)/g, '\n')
+ .replace(/^[\r\n]*|[\r\n]*$/g, '')
+ .replace(/^\s*((<!--)?(\s*\/\/)?\s*<!\[CDATA\[|(<!--\s*)?\/\*\s*<!\[CDATA\[\s*\*\/|(\/\/)?\s*<!--|\/\*\s*<!--\s*\*\/)\s*[\r\n]*/gi, '')
+ .replace(/\s*(\/\*\s*\]\]>\s*\*\/(-->)?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g, '');
+ };
+
+ while (i--) {
+ node = nodes[i];
+ value = node.firstChild ? node.firstChild.value : '';
+
+ if (name === "script") {
+ // Remove mce- prefix from script elements
+ node.attr('type', (node.attr('type') || 'text/javascript').replace(/^mce\-/, ''));
+
+ if (value.length > 0)
+ node.firstChild.value = '// <![CDATA[\n' + trim(value) + '\n// ]]>';
+ } else {
+ if (value.length > 0)
+ node.firstChild.value = '<!--\n' + trim(value) + '\n-->';
+ }
+ }
+ });
+
+ // Convert comments to cdata and handle protected comments
+ htmlParser.addNodeFilter('#comment', function(nodes, name) {
+ var i = nodes.length, node;
+
+ while (i--) {
+ node = nodes[i];
+
+ if (node.value.indexOf('[CDATA[') === 0) {
+ node.name = '#cdata';
+ node.type = 4;
+ node.value = node.value.replace(/^\[CDATA\[|\]\]$/g, '');
+ } else if (node.value.indexOf('mce:protected ') === 0) {
+ node.name = "#text";
+ node.type = 3;
+ node.raw = true;
+ node.value = unescape(node.value).substr(14);
+ }
+ }
+ });
+
+ htmlParser.addNodeFilter('xml:namespace,input', function(nodes, name) {
+ var i = nodes.length, node;
+
+ while (i--) {
+ node = nodes[i];
+ if (node.type === 7)
+ node.remove();
+ else if (node.type === 1) {
+ if (name === "input" && !("type" in node.attributes.map))
+ node.attr('type', 'text');
+ }
+ }
+ });
+
+ // Fix list elements, TODO: Replace this later
+ if (settings.fix_list_elements) {
+ htmlParser.addNodeFilter('ul,ol', function(nodes, name) {
+ var i = nodes.length, node, parentNode;
+
+ while (i--) {
+ node = nodes[i];
+ parentNode = node.parent;
+
+ if (parentNode.name === 'ul' || parentNode.name === 'ol') {
+ if (node.prev && node.prev.name === 'li') {
+ node.prev.append(node);
+ }
+ }
+ }
+ });
+ }
+
+ // Remove internal data attributes
+ htmlParser.addAttributeFilter('data-mce-src,data-mce-href,data-mce-style', function(nodes, name) {
+ var i = nodes.length;
+
+ while (i--) {
+ nodes[i].attr(name, null);
+ }
+ });
+
+ // Return public methods
+ return {
+ schema : schema,
+
+ addNodeFilter : htmlParser.addNodeFilter,
+
+ addAttributeFilter : htmlParser.addAttributeFilter,
+
+ onPreProcess : onPreProcess,
+
+ onPostProcess : onPostProcess,
+
+ serialize : function(node, args) {
+ var impl, doc, oldDoc, htmlSerializer, content;
+
+ // Explorer won't clone contents of script and style and the
+ // selected index of select elements are cleared on a clone operation.
+ if (isIE && dom.select('script,style,select,map').length > 0) {
+ content = node.innerHTML;
+ node = node.cloneNode(false);
+ dom.setHTML(node, content);
+ } else
+ node = node.cloneNode(true);
+
+ // Nodes needs to be attached to something in WebKit/Opera
+ // Older builds of Opera crashes if you attach the node to an document created dynamically
+ // and since we can't feature detect a crash we need to sniff the acutal build number
+ // This fix will make DOM ranges and make Sizzle happy!
+ impl = node.ownerDocument.implementation;
+ if (impl.createHTMLDocument) {
+ // Create an empty HTML document
+ doc = impl.createHTMLDocument("");
+
+ // Add the element or it's children if it's a body element to the new document
+ each(node.nodeName == 'BODY' ? node.childNodes : [node], function(node) {
+ doc.body.appendChild(doc.importNode(node, true));
+ });
+
+ // Grab first child or body element for serialization
+ if (node.nodeName != 'BODY')
+ node = doc.body.firstChild;
+ else
+ node = doc.body;
+
+ // set the new document in DOMUtils so createElement etc works
+ oldDoc = dom.doc;
+ dom.doc = doc;
+ }
+
+ args = args || {};
+ args.format = args.format || 'html';
+
+ // Pre process
+ if (!args.no_events) {
+ args.node = node;
+ onPreProcess.dispatch(self, args);
+ }
+
+ // Setup serializer
+ htmlSerializer = new tinymce.html.Serializer(settings, schema);
+
+ // Parse and serialize HTML
+ args.content = htmlSerializer.serialize(
+ htmlParser.parse(tinymce.trim(args.getInner ? node.innerHTML : dom.getOuterHTML(node)), args)
+ );
+
+ // Replace all BOM characters for now until we can find a better solution
+ if (!args.cleanup)
+ args.content = args.content.replace(/\uFEFF/g, '');
+
+ // Post process
+ if (!args.no_events)
+ onPostProcess.dispatch(self, args);
+
+ // Restore the old document if it was changed
+ if (oldDoc)
+ dom.doc = oldDoc;
+
+ args.node = null;
+
+ return args.content;
+ },
+
+ addRules : function(rules) {
+ schema.addValidElements(rules);
+ },
+
+ setRules : function(rules) {
+ schema.setValidElements(rules);
+ }
+ };
+ };
+})(tinymce);
+(function(tinymce) {
+ tinymce.dom.ScriptLoader = function(settings) {
+ var QUEUED = 0,
+ LOADING = 1,
+ LOADED = 2,
+ states = {},
+ queue = [],
+ scriptLoadedCallbacks = {},
+ queueLoadedCallbacks = [],
+ loading = 0,
+ undef;
+
+ function loadScript(url, callback) {
+ var t = this, dom = tinymce.DOM, elm, uri, loc, id;
+
+ // Execute callback when script is loaded
+ function done() {
+ dom.remove(id);
+
+ if (elm)
+ elm.onreadystatechange = elm.onload = elm = null;
+
+ callback();
+ };
+
+ function error() {
+ // Report the error so it's easier for people to spot loading errors
+ if (typeof(console) !== "undefined" && console.log)
+ console.log("Failed to load: " + url);
+
+ // We can't mark it as done if there is a load error since
+ // A) We don't want to produce 404 errors on the server and
+ // B) the onerror event won't fire on all browsers.
+ // done();
+ };
+
+ id = dom.uniqueId();
+
+ if (tinymce.isIE6) {
+ uri = new tinymce.util.URI(url);
+ loc = location;
+
+ // If script is from same domain and we
+ // use IE 6 then use XHR since it's more reliable
+ if (uri.host == loc.hostname && uri.port == loc.port && (uri.protocol + ':') == loc.protocol && uri.protocol.toLowerCase() != 'file') {
+ tinymce.util.XHR.send({
+ url : tinymce._addVer(uri.getURI()),
+ success : function(content) {
+ // Create new temp script element
+ var script = dom.create('script', {
+ type : 'text/javascript'
+ });
+
+ // Evaluate script in global scope
+ script.text = content;
+ document.getElementsByTagName('head')[0].appendChild(script);
+ dom.remove(script);
+
+ done();
+ },
+
+ error : error
+ });
+
+ return;
+ }
+ }
+
+ // Create new script element
+ elm = document.createElement('script');
+ elm.id = id;
+ elm.type = 'text/javascript';
+ elm.src = tinymce._addVer(url);
+
+ // Add onload listener for non IE browsers since IE9
+ // fires onload event before the script is parsed and executed
+ if (!tinymce.isIE)
+ elm.onload = done;
+
+ // Add onerror event will get fired on some browsers but not all of them
+ elm.onerror = error;
+
+ // Opera 9.60 doesn't seem to fire the onreadystate event at correctly
+ if (!tinymce.isOpera) {
+ elm.onreadystatechange = function() {
+ var state = elm.readyState;
+
+ // Loaded state is passed on IE 6 however there
+ // are known issues with this method but we can't use
+ // XHR in a cross domain loading
+ if (state == 'complete' || state == 'loaded')
+ done();
+ };
+ }
+
+ // Most browsers support this feature so we report errors
+ // for those at least to help users track their missing plugins etc
+ // todo: Removed since it produced error if the document is unloaded by navigating away, re-add it as an option
+ /*elm.onerror = function() {
+ alert('Failed to load: ' + url);
+ };*/
+
+ // Add script to document
+ (document.getElementsByTagName('head')[0] || document.body).appendChild(elm);
+ };
+
+ this.isDone = function(url) {
+ return states[url] == LOADED;
+ };
+
+ this.markDone = function(url) {
+ states[url] = LOADED;
+ };
+
+ this.add = this.load = function(url, callback, scope) {
+ var item, state = states[url];
+
+ // Add url to load queue
+ if (state == undef) {
+ queue.push(url);
+ states[url] = QUEUED;
+ }
+
+ if (callback) {
+ // Store away callback for later execution
+ if (!scriptLoadedCallbacks[url])
+ scriptLoadedCallbacks[url] = [];
+
+ scriptLoadedCallbacks[url].push({
+ func : callback,
+ scope : scope || this
+ });
+ }
+ };
+
+ this.loadQueue = function(callback, scope) {
+ this.loadScripts(queue, callback, scope);
+ };
+
+ this.loadScripts = function(scripts, callback, scope) {
+ var loadScripts;
+
+ function execScriptLoadedCallbacks(url) {
+ // Execute URL callback functions
+ tinymce.each(scriptLoadedCallbacks[url], function(callback) {
+ callback.func.call(callback.scope);
+ });
+
+ scriptLoadedCallbacks[url] = undef;
+ };
+
+ queueLoadedCallbacks.push({
+ func : callback,
+ scope : scope || this
+ });
+
+ loadScripts = function() {
+ var loadingScripts = tinymce.grep(scripts);
+
+ // Current scripts has been handled
+ scripts.length = 0;
+
+ // Load scripts that needs to be loaded
+ tinymce.each(loadingScripts, function(url) {
+ // Script is already loaded then execute script callbacks directly
+ if (states[url] == LOADED) {
+ execScriptLoadedCallbacks(url);
+ return;
+ }
+
+ // Is script not loading then start loading it
+ if (states[url] != LOADING) {
+ states[url] = LOADING;
+ loading++;
+
+ loadScript(url, function() {
+ states[url] = LOADED;
+ loading--;
+
+ execScriptLoadedCallbacks(url);
+
+ // Load more scripts if they where added by the recently loaded script
+ loadScripts();
+ });
+ }
+ });
+
+ // No scripts are currently loading then execute all pending queue loaded callbacks
+ if (!loading) {
+ tinymce.each(queueLoadedCallbacks, function(callback) {
+ callback.func.call(callback.scope);
+ });
+
+ queueLoadedCallbacks.length = 0;
+ }
+ };
+
+ loadScripts();
+ };
+ };
+
+ // Global script loader
+ tinymce.ScriptLoader = new tinymce.dom.ScriptLoader();
+})(tinymce);
+
+(function(tinymce) {
+ tinymce.dom.RangeUtils = function(dom) {
+ var INVISIBLE_CHAR = '\uFEFF';
+
+ this.walk = function(rng, callback) {
+ var startContainer = rng.startContainer,
+ startOffset = rng.startOffset,
+ endContainer = rng.endContainer,
+ endOffset = rng.endOffset,
+ ancestor, startPoint,
+ endPoint, node, parent, siblings, nodes;
+
+ // Handle table cell selection the table plugin enables
+ // you to fake select table cells and perform formatting actions on them
+ nodes = dom.select('td.mceSelected,th.mceSelected');
+ if (nodes.length > 0) {
+ tinymce.each(nodes, function(node) {
+ callback([node]);
+ });
+
+ return;
+ }
+
+ function exclude(nodes) {
+ var node;
+
+ // First node is excluded
+ node = nodes[0];
+ if (node.nodeType === 3 && node === startContainer && startOffset >= node.nodeValue.length) {
+ nodes.splice(0, 1);
+ }
+
+ // Last node is excluded
+ node = nodes[nodes.length - 1];
+ if (endOffset === 0 && nodes.length > 0 && node === endContainer && node.nodeType === 3) {
+ nodes.splice(nodes.length - 1, 1);
+ }
+
+ return nodes;
+ };
+
+ function collectSiblings(node, name, end_node) {
+ var siblings = [];
+
+ for (; node && node != end_node; node = node[name])
+ siblings.push(node);
+
+ return siblings;
+ };
+
+ function findEndPoint(node, root) {
+ do {
+ if (node.parentNode == root)
+ return node;
+
+ node = node.parentNode;
+ } while(node);
+ };
+
+ function walkBoundary(start_node, end_node, next) {
+ var siblingName = next ? 'nextSibling' : 'previousSibling';
+
+ for (node = start_node, parent = node.parentNode; node && node != end_node; node = parent) {
+ parent = node.parentNode;
+ siblings = collectSiblings(node == start_node ? node : node[siblingName], siblingName);
+
+ if (siblings.length) {
+ if (!next)
+ siblings.reverse();
+
+ callback(exclude(siblings));
+ }
+ }
+ };
+
+ // If index based start position then resolve it
+ if (startContainer.nodeType == 1 && startContainer.hasChildNodes())
+ startContainer = startContainer.childNodes[startOffset];
+
+ // If index based end position then resolve it
+ if (endContainer.nodeType == 1 && endContainer.hasChildNodes())
+ endContainer = endContainer.childNodes[Math.min(endOffset - 1, endContainer.childNodes.length - 1)];
+
+ // Same container
+ if (startContainer == endContainer)
+ return callback(exclude([startContainer]));
+
+ // Find common ancestor and end points
+ ancestor = dom.findCommonAncestor(startContainer, endContainer);
+
+ // Process left side
+ for (node = startContainer; node; node = node.parentNode) {
+ if (node === endContainer)
+ return walkBoundary(startContainer, ancestor, true);
+
+ if (node === ancestor)
+ break;
+ }
+
+ // Process right side
+ for (node = endContainer; node; node = node.parentNode) {
+ if (node === startContainer)
+ return walkBoundary(endContainer, ancestor);
+
+ if (node === ancestor)
+ break;
+ }
+
+ // Find start/end point
+ startPoint = findEndPoint(startContainer, ancestor) || startContainer;
+ endPoint = findEndPoint(endContainer, ancestor) || endContainer;
+
+ // Walk left leaf
+ walkBoundary(startContainer, startPoint, true);
+
+ // Walk the middle from start to end point
+ siblings = collectSiblings(
+ startPoint == startContainer ? startPoint : startPoint.nextSibling,
+ 'nextSibling',
+ endPoint == endContainer ? endPoint.nextSibling : endPoint
+ );
+
+ if (siblings.length)
+ callback(exclude(siblings));
+
+ // Walk right leaf
+ walkBoundary(endContainer, endPoint);
+ };
+
+ this.split = function(rng) {
+ var startContainer = rng.startContainer,
+ startOffset = rng.startOffset,
+ endContainer = rng.endContainer,
+ endOffset = rng.endOffset;
+
+ function splitText(node, offset) {
+ return node.splitText(offset);
+ };
+
+ // Handle single text node
+ if (startContainer == endContainer && startContainer.nodeType == 3) {
+ if (startOffset > 0 && startOffset < startContainer.nodeValue.length) {
+ endContainer = splitText(startContainer, startOffset);
+ startContainer = endContainer.previousSibling;
+
+ if (endOffset > startOffset) {
+ endOffset = endOffset - startOffset;
+ startContainer = endContainer = splitText(endContainer, endOffset).previousSibling;
+ endOffset = endContainer.nodeValue.length;
+ startOffset = 0;
+ } else {
+ endOffset = 0;
+ }
+ }
+ } else {
+ // Split startContainer text node if needed
+ if (startContainer.nodeType == 3 && startOffset > 0 && startOffset < startContainer.nodeValue.length) {
+ startContainer = splitText(startContainer, startOffset);
+ startOffset = 0;
+ }
+
+ // Split endContainer text node if needed
+ if (endContainer.nodeType == 3 && endOffset > 0 && endOffset < endContainer.nodeValue.length) {
+ endContainer = splitText(endContainer, endOffset).previousSibling;
+ endOffset = endContainer.nodeValue.length;
+ }
+ }
+
+ return {
+ startContainer : startContainer,
+ startOffset : startOffset,
+ endContainer : endContainer,
+ endOffset : endOffset
+ };
+ };
+
+ };
+
+ tinymce.dom.RangeUtils.compareRanges = function(rng1, rng2) {
+ if (rng1 && rng2) {
+ // Compare native IE ranges
+ if (rng1.item || rng1.duplicate) {
+ // Both are control ranges and the selected element matches
+ if (rng1.item && rng2.item && rng1.item(0) === rng2.item(0))
+ return true;
+
+ // Both are text ranges and the range matches
+ if (rng1.isEqual && rng2.isEqual && rng2.isEqual(rng1))
+ return true;
+ } else {
+ // Compare w3c ranges
+ return rng1.startContainer == rng2.startContainer && rng1.startOffset == rng2.startOffset;
+ }
+ }
+
+ return false;
+ };
+})(tinymce);
+
+(function(tinymce) {
+ var Event = tinymce.dom.Event, each = tinymce.each;
+
+ tinymce.create('tinymce.ui.KeyboardNavigation', {
+ KeyboardNavigation: function(settings, dom) {
+ var t = this, root = settings.root, items = settings.items,
+ enableUpDown = settings.enableUpDown, enableLeftRight = settings.enableLeftRight || !settings.enableUpDown,
+ excludeFromTabOrder = settings.excludeFromTabOrder,
+ itemFocussed, itemBlurred, rootKeydown, rootFocussed, focussedId;
+
+ dom = dom || tinymce.DOM;
+
+ itemFocussed = function(evt) {
+ focussedId = evt.target.id;
+ };
+
+ itemBlurred = function(evt) {
+ dom.setAttrib(evt.target.id, 'tabindex', '-1');
+ };
+
+ rootFocussed = function(evt) {
+ var item = dom.get(focussedId);
+ dom.setAttrib(item, 'tabindex', '0');
+ item.focus();
+ };
+
+ t.focus = function() {
+ dom.get(focussedId).focus();
+ };
+
+ t.destroy = function() {
+ each(items, function(item) {
+ var elm = dom.get(item.id);
+
+ dom.unbind(elm, 'focus', itemFocussed);
+ dom.unbind(elm, 'blur', itemBlurred);
+ });
+
+ var rootElm = dom.get(root);
+ dom.unbind(rootElm, 'focus', rootFocussed);
+ dom.unbind(rootElm, 'keydown', rootKeydown);
+
+ items = dom = root = t.focus = itemFocussed = itemBlurred = rootKeydown = rootFocussed = null;
+ t.destroy = function() {};
+ };
+
+ t.moveFocus = function(dir, evt) {
+ var idx = -1, controls = t.controls, newFocus;
+
+ if (!focussedId)
+ return;
+
+ each(items, function(item, index) {
+ if (item.id === focussedId) {
+ idx = index;
+ return false;
+ }
+ });
+
+ idx += dir;
+ if (idx < 0) {
+ idx = items.length - 1;
+ } else if (idx >= items.length) {
+ idx = 0;
+ }
+
+ newFocus = items[idx];
+ dom.setAttrib(focussedId, 'tabindex', '-1');
+ dom.setAttrib(newFocus.id, 'tabindex', '0');
+ dom.get(newFocus.id).focus();
+
+ if (settings.actOnFocus) {
+ settings.onAction(newFocus.id);
+ }
+
+ if (evt)
+ Event.cancel(evt);
+ };
+
+ rootKeydown = function(evt) {
+ var DOM_VK_LEFT = 37, DOM_VK_RIGHT = 39, DOM_VK_UP = 38, DOM_VK_DOWN = 40, DOM_VK_ESCAPE = 27, DOM_VK_ENTER = 14, DOM_VK_RETURN = 13, DOM_VK_SPACE = 32;
+
+ switch (evt.keyCode) {
+ case DOM_VK_LEFT:
+ if (enableLeftRight) t.moveFocus(-1);
+ break;
+
+ case DOM_VK_RIGHT:
+ if (enableLeftRight) t.moveFocus(1);
+ break;
+
+ case DOM_VK_UP:
+ if (enableUpDown) t.moveFocus(-1);
+ break;
+
+ case DOM_VK_DOWN:
+ if (enableUpDown) t.moveFocus(1);
+ break;
+
+ case DOM_VK_ESCAPE:
+ if (settings.onCancel) {
+ settings.onCancel();
+ Event.cancel(evt);
+ }
+ break;
+
+ case DOM_VK_ENTER:
+ case DOM_VK_RETURN:
+ case DOM_VK_SPACE:
+ if (settings.onAction) {
+ settings.onAction(focussedId);
+ Event.cancel(evt);
+ }
+ break;
+ }
+ };
+
+ // Set up state and listeners for each item.
+ each(items, function(item, idx) {
+ var tabindex, elm;
+
+ if (!item.id) {
+ item.id = dom.uniqueId('_mce_item_');
+ }
+
+ elm = dom.get(item.id);
+
+ if (excludeFromTabOrder) {
+ dom.bind(elm, 'blur', itemBlurred);
+ tabindex = '-1';
+ } else {
+ tabindex = (idx === 0 ? '0' : '-1');
+ }
+
+ elm.setAttribute('tabindex', tabindex);
+ dom.bind(elm, 'focus', itemFocussed);
+ });
+
+ // Setup initial state for root element.
+ if (items[0]){
+ focussedId = items[0].id;
+ }
+
+ dom.setAttrib(root, 'tabindex', '-1');
+
+ // Setup listeners for root element.
+ var rootElm = dom.get(root);
+ dom.bind(rootElm, 'focus', rootFocussed);
+ dom.bind(rootElm, 'keydown', rootKeydown);
+ }
+ });
+})(tinymce);
+
+(function(tinymce) {
+ // Shorten class names
+ var DOM = tinymce.DOM, is = tinymce.is;
+
+ tinymce.create('tinymce.ui.Control', {
+ Control : function(id, s, editor) {
+ this.id = id;
+ this.settings = s = s || {};
+ this.rendered = false;
+ this.onRender = new tinymce.util.Dispatcher(this);
+ this.classPrefix = '';
+ this.scope = s.scope || this;
+ this.disabled = 0;
+ this.active = 0;
+ this.editor = editor;
+ },
+
+ setAriaProperty : function(property, value) {
+ var element = DOM.get(this.id + '_aria') || DOM.get(this.id);
+ if (element) {
+ DOM.setAttrib(element, 'aria-' + property, !!value);
+ }
+ },
+
+ focus : function() {
+ DOM.get(this.id).focus();
+ },
+
+ setDisabled : function(s) {
+ if (s != this.disabled) {
+ this.setAriaProperty('disabled', s);
+
+ this.setState('Disabled', s);
+ this.setState('Enabled', !s);
+ this.disabled = s;
+ }
+ },
+
+ isDisabled : function() {
+ return this.disabled;
+ },
+
+ setActive : function(s) {
+ if (s != this.active) {
+ this.setState('Active', s);
+ this.active = s;
+ this.setAriaProperty('pressed', s);
+ }
+ },
+
+ isActive : function() {
+ return this.active;
+ },
+
+ setState : function(c, s) {
+ var n = DOM.get(this.id);
+
+ c = this.classPrefix + c;
+
+ if (s)
+ DOM.addClass(n, c);
+ else
+ DOM.removeClass(n, c);
+ },
+
+ isRendered : function() {
+ return this.rendered;
+ },
+
+ renderHTML : function() {
+ },
+
+ renderTo : function(n) {
+ DOM.setHTML(n, this.renderHTML());
+ },
+
+ postRender : function() {
+ var t = this, b;
+
+ // Set pending states
+ if (is(t.disabled)) {
+ b = t.disabled;
+ t.disabled = -1;
+ t.setDisabled(b);
+ }
+
+ if (is(t.active)) {
+ b = t.active;
+ t.active = -1;
+ t.setActive(b);
+ }
+ },
+
+ remove : function() {
+ DOM.remove(this.id);
+ this.destroy();
+ },
+
+ destroy : function() {
+ tinymce.dom.Event.clear(this.id);
+ }
+ });
+})(tinymce);
+tinymce.create('tinymce.ui.Container:tinymce.ui.Control', {
+ Container : function(id, s, editor) {
+ this.parent(id, s, editor);
+
+ this.controls = [];
+
+ this.lookup = {};
+ },
+
+ add : function(c) {
+ this.lookup[c.id] = c;
+ this.controls.push(c);
+
+ return c;
+ },
+
+ get : function(n) {
+ return this.lookup[n];
+ }
+});
+
+
+tinymce.create('tinymce.ui.Separator:tinymce.ui.Control', {
+ Separator : function(id, s) {
+ this.parent(id, s);
+ this.classPrefix = 'mceSeparator';
+ this.setDisabled(true);
+ },
+
+ renderHTML : function() {
+ return tinymce.DOM.createHTML('span', {'class' : this.classPrefix, role : 'separator', 'aria-orientation' : 'vertical', tabindex : '-1'});
+ }
+});
+
+(function(tinymce) {
+ var is = tinymce.is, DOM = tinymce.DOM, each = tinymce.each, walk = tinymce.walk;
+
+ tinymce.create('tinymce.ui.MenuItem:tinymce.ui.Control', {
+ MenuItem : function(id, s) {
+ this.parent(id, s);
+ this.classPrefix = 'mceMenuItem';
+ },
+
+ setSelected : function(s) {
+ this.setState('Selected', s);
+ this.setAriaProperty('checked', !!s);
+ this.selected = s;
+ },
+
+ isSelected : function() {
+ return this.selected;
+ },
+
+ postRender : function() {
+ var t = this;
+
+ t.parent();
+
+ // Set pending state
+ if (is(t.selected))
+ t.setSelected(t.selected);
+ }
+ });
+})(tinymce);
+
+(function(tinymce) {
+ var is = tinymce.is, DOM = tinymce.DOM, each = tinymce.each, walk = tinymce.walk;
+
+ tinymce.create('tinymce.ui.Menu:tinymce.ui.MenuItem', {
+ Menu : function(id, s) {
+ var t = this;
+
+ t.parent(id, s);
+ t.items = {};
+ t.collapsed = false;
+ t.menuCount = 0;
+ t.onAddItem = new tinymce.util.Dispatcher(this);
+ },
+
+ expand : function(d) {
+ var t = this;
+
+ if (d) {
+ walk(t, function(o) {
+ if (o.expand)
+ o.expand();
+ }, 'items', t);
+ }
+
+ t.collapsed = false;
+ },
+
+ collapse : function(d) {
+ var t = this;
+
+ if (d) {
+ walk(t, function(o) {
+ if (o.collapse)
+ o.collapse();
+ }, 'items', t);
+ }
+
+ t.collapsed = true;
+ },
+
+ isCollapsed : function() {
+ return this.collapsed;
+ },
+
+ add : function(o) {
+ if (!o.settings)
+ o = new tinymce.ui.MenuItem(o.id || DOM.uniqueId(), o);
+
+ this.onAddItem.dispatch(this, o);
+
+ return this.items[o.id] = o;
+ },
+
+ addSeparator : function() {
+ return this.add({separator : true});
+ },
+
+ addMenu : function(o) {
+ if (!o.collapse)
+ o = this.createMenu(o);
+
+ this.menuCount++;
+
+ return this.add(o);
+ },
+
+ hasMenus : function() {
+ return this.menuCount !== 0;
+ },
+
+ remove : function(o) {
+ delete this.items[o.id];
+ },
+
+ removeAll : function() {
+ var t = this;
+
+ walk(t, function(o) {
+ if (o.removeAll)
+ o.removeAll();
+ else
+ o.remove();
+
+ o.destroy();
+ }, 'items', t);
+
+ t.items = {};
+ },
+
+ createMenu : function(o) {
+ var m = new tinymce.ui.Menu(o.id || DOM.uniqueId(), o);
+
+ m.onAddItem.add(this.onAddItem.dispatch, this.onAddItem);
+
+ return m;
+ }
+ });
+})(tinymce);
+(function(tinymce) {
+ var is = tinymce.is, DOM = tinymce.DOM, each = tinymce.each, Event = tinymce.dom.Event, Element = tinymce.dom.Element;
+
+ tinymce.create('tinymce.ui.DropMenu:tinymce.ui.Menu', {
+ DropMenu : function(id, s) {
+ s = s || {};
+ s.container = s.container || DOM.doc.body;
+ s.offset_x = s.offset_x || 0;
+ s.offset_y = s.offset_y || 0;
+ s.vp_offset_x = s.vp_offset_x || 0;
+ s.vp_offset_y = s.vp_offset_y || 0;
+
+ if (is(s.icons) && !s.icons)
+ s['class'] += ' mceNoIcons';
+
+ this.parent(id, s);
+ this.onShowMenu = new tinymce.util.Dispatcher(this);
+ this.onHideMenu = new tinymce.util.Dispatcher(this);
+ this.classPrefix = 'mceMenu';
+ },
+
+ createMenu : function(s) {
+ var t = this, cs = t.settings, m;
+
+ s.container = s.container || cs.container;
+ s.parent = t;
+ s.constrain = s.constrain || cs.constrain;
+ s['class'] = s['class'] || cs['class'];
+ s.vp_offset_x = s.vp_offset_x || cs.vp_offset_x;
+ s.vp_offset_y = s.vp_offset_y || cs.vp_offset_y;
+ s.keyboard_focus = cs.keyboard_focus;
+ m = new tinymce.ui.DropMenu(s.id || DOM.uniqueId(), s);
+
+ m.onAddItem.add(t.onAddItem.dispatch, t.onAddItem);
+
+ return m;
+ },
+
+ focus : function() {
+ var t = this;
+ if (t.keyboardNav) {
+ t.keyboardNav.focus();
+ }
+ },
+
+ update : function() {
+ var t = this, s = t.settings, tb = DOM.get('menu_' + t.id + '_tbl'), co = DOM.get('menu_' + t.id + '_co'), tw, th;
+
+ tw = s.max_width ? Math.min(tb.offsetWidth, s.max_width) : tb.offsetWidth;
+ th = s.max_height ? Math.min(tb.offsetHeight, s.max_height) : tb.offsetHeight;
+
+ if (!DOM.boxModel)
+ t.element.setStyles({width : tw + 2, height : th + 2});
+ else
+ t.element.setStyles({width : tw, height : th});
+
+ if (s.max_width)
+ DOM.setStyle(co, 'width', tw);
+
+ if (s.max_height) {
+ DOM.setStyle(co, 'height', th);
+
+ if (tb.clientHeight < s.max_height)
+ DOM.setStyle(co, 'overflow', 'hidden');
+ }
+ },
+
+ showMenu : function(x, y, px) {
+ var t = this, s = t.settings, co, vp = DOM.getViewPort(), w, h, mx, my, ot = 2, dm, tb, cp = t.classPrefix;
+
+ t.collapse(1);
+
+ if (t.isMenuVisible)
+ return;
+
+ if (!t.rendered) {
+ co = DOM.add(t.settings.container, t.renderNode());
+
+ each(t.items, function(o) {
+ o.postRender();
+ });
+
+ t.element = new Element('menu_' + t.id, {blocker : 1, container : s.container});
+ } else
+ co = DOM.get('menu_' + t.id);
+
+ // Move layer out of sight unless it's Opera since it scrolls to top of page due to an bug
+ if (!tinymce.isOpera)
+ DOM.setStyles(co, {left : -0xFFFF , top : -0xFFFF});
+
+ DOM.show(co);
+ t.update();
+
+ x += s.offset_x || 0;
+ y += s.offset_y || 0;
+ vp.w -= 4;
+ vp.h -= 4;
+
+ // Move inside viewport if not submenu
+ if (s.constrain) {
+ w = co.clientWidth - ot;
+ h = co.clientHeight - ot;
+ mx = vp.x + vp.w;
+ my = vp.y + vp.h;
+
+ if ((x + s.vp_offset_x + w) > mx)
+ x = px ? px - w : Math.max(0, (mx - s.vp_offset_x) - w);
+
+ if ((y + s.vp_offset_y + h) > my)
+ y = Math.max(0, (my - s.vp_offset_y) - h);
+ }
+
+ DOM.setStyles(co, {left : x , top : y});
+ t.element.update();
+
+ t.isMenuVisible = 1;
+ t.mouseClickFunc = Event.add(co, 'click', function(e) {
+ var m;
+
+ e = e.target;
+
+ if (e && (e = DOM.getParent(e, 'tr')) && !DOM.hasClass(e, cp + 'ItemSub')) {
+ m = t.items[e.id];
+
+ if (m.isDisabled())
+ return;
+
+ dm = t;
+
+ while (dm) {
+ if (dm.hideMenu)
+ dm.hideMenu();
+
+ dm = dm.settings.parent;
+ }
+
+ if (m.settings.onclick)
+ m.settings.onclick(e);
+
+ return false; // Cancel to fix onbeforeunload problem
+ }
+ });
+
+ if (t.hasMenus()) {
+ t.mouseOverFunc = Event.add(co, 'mouseover', function(e) {
+ var m, r, mi;
+
+ e = e.target;
+ if (e && (e = DOM.getParent(e, 'tr'))) {
+ m = t.items[e.id];
+
+ if (t.lastMenu)
+ t.lastMenu.collapse(1);
+
+ if (m.isDisabled())
+ return;
+
+ if (e && DOM.hasClass(e, cp + 'ItemSub')) {
+ //p = DOM.getPos(s.container);
+ r = DOM.getRect(e);
+ m.showMenu((r.x + r.w - ot), r.y - ot, r.x);
+ t.lastMenu = m;
+ DOM.addClass(DOM.get(m.id).firstChild, cp + 'ItemActive');
+ }
+ }
+ });
+ }
+
+ Event.add(co, 'keydown', t._keyHandler, t);
+
+ t.onShowMenu.dispatch(t);
+
+ if (s.keyboard_focus) {
+ t._setupKeyboardNav();
+ }
+ },
+
+ hideMenu : function(c) {
+ var t = this, co = DOM.get('menu_' + t.id), e;
+
+ if (!t.isMenuVisible)
+ return;
+
+ if (t.keyboardNav) t.keyboardNav.destroy();
+ Event.remove(co, 'mouseover', t.mouseOverFunc);
+ Event.remove(co, 'click', t.mouseClickFunc);
+ Event.remove(co, 'keydown', t._keyHandler);
+ DOM.hide(co);
+ t.isMenuVisible = 0;
+
+ if (!c)
+ t.collapse(1);
+
+ if (t.element)
+ t.element.hide();
+
+ if (e = DOM.get(t.id))
+ DOM.removeClass(e.firstChild, t.classPrefix + 'ItemActive');
+
+ t.onHideMenu.dispatch(t);
+ },
+
+ add : function(o) {
+ var t = this, co;
+
+ o = t.parent(o);
+
+ if (t.isRendered && (co = DOM.get('menu_' + t.id)))
+ t._add(DOM.select('tbody', co)[0], o);
+
+ return o;
+ },
+
+ collapse : function(d) {
+ this.parent(d);
+ this.hideMenu(1);
+ },
+
+ remove : function(o) {
+ DOM.remove(o.id);
+ this.destroy();
+
+ return this.parent(o);
+ },
+
+ destroy : function() {
+ var t = this, co = DOM.get('menu_' + t.id);
+
+ if (t.keyboardNav) t.keyboardNav.destroy();
+ Event.remove(co, 'mouseover', t.mouseOverFunc);
+ Event.remove(DOM.select('a', co), 'focus', t.mouseOverFunc);
+ Event.remove(co, 'click', t.mouseClickFunc);
+ Event.remove(co, 'keydown', t._keyHandler);
+
+ if (t.element)
+ t.element.remove();
+
+ DOM.remove(co);
+ },
+
+ renderNode : function() {
+ var t = this, s = t.settings, n, tb, co, w;
+
+ w = DOM.create('div', {role: 'listbox', id : 'menu_' + t.id, 'class' : s['class'], 'style' : 'position:absolute;left:0;top:0;z-index:200000;outline:0'});
+ if (t.settings.parent) {
+ DOM.setAttrib(w, 'aria-parent', 'menu_' + t.settings.parent.id);
+ }
+ co = DOM.add(w, 'div', {role: 'presentation', id : 'menu_' + t.id + '_co', 'class' : t.classPrefix + (s['class'] ? ' ' + s['class'] : '')});
+ t.element = new Element('menu_' + t.id, {blocker : 1, container : s.container});
+
+ if (s.menu_line)
+ DOM.add(co, 'span', {'class' : t.classPrefix + 'Line'});
+
+// n = DOM.add(co, 'div', {id : 'menu_' + t.id + '_co', 'class' : 'mceMenuContainer'});
+ n = DOM.add(co, 'table', {role: 'presentation', id : 'menu_' + t.id + '_tbl', border : 0, cellPadding : 0, cellSpacing : 0});
+ tb = DOM.add(n, 'tbody');
+
+ each(t.items, function(o) {
+ t._add(tb, o);
+ });
+
+ t.rendered = true;
+
+ return w;
+ },
+
+ // Internal functions
+ _setupKeyboardNav : function(){
+ var contextMenu, menuItems, t=this;
+ contextMenu = DOM.get('menu_' + t.id);
+ menuItems = DOM.select('a[role=option]', 'menu_' + t.id);
+ menuItems.splice(0,0,contextMenu);
+ t.keyboardNav = new tinymce.ui.KeyboardNavigation({
+ root: 'menu_' + t.id,
+ items: menuItems,
+ onCancel: function() {
+ t.hideMenu();
+ },
+ enableUpDown: true
+ });
+ contextMenu.focus();
+ },
+
+ _keyHandler : function(evt) {
+ var t = this, e;
+ switch (evt.keyCode) {
+ case 37: // Left
+ if (t.settings.parent) {
+ t.hideMenu();
+ t.settings.parent.focus();
+ Event.cancel(evt);
+ }
+ break;
+ case 39: // Right
+ if (t.mouseOverFunc)
+ t.mouseOverFunc(evt);
+ break;
+ }
+ },
+
+ _add : function(tb, o) {
+ var n, s = o.settings, a, ro, it, cp = this.classPrefix, ic;
+
+ if (s.separator) {
+ ro = DOM.add(tb, 'tr', {id : o.id, 'class' : cp + 'ItemSeparator'});
+ DOM.add(ro, 'td', {'class' : cp + 'ItemSeparator'});
+
+ if (n = ro.previousSibling)
+ DOM.addClass(n, 'mceLast');
+
+ return;
+ }
+
+ n = ro = DOM.add(tb, 'tr', {id : o.id, 'class' : cp + 'Item ' + cp + 'ItemEnabled'});
+ n = it = DOM.add(n, s.titleItem ? 'th' : 'td');
+ n = a = DOM.add(n, 'a', {id: o.id + '_aria', role: s.titleItem ? 'presentation' : 'option', href : 'javascript:;', onclick : "return false;", onmousedown : 'return false;'});
+
+ if (s.parent) {
+ DOM.setAttrib(a, 'aria-haspopup', 'true');
+ DOM.setAttrib(a, 'aria-owns', 'menu_' + o.id);
+ }
+
+ DOM.addClass(it, s['class']);
+// n = DOM.add(n, 'span', {'class' : 'item'});
+
+ ic = DOM.add(n, 'span', {'class' : 'mceIcon' + (s.icon ? ' mce_' + s.icon : '')});
+
+ if (s.icon_src)
+ DOM.add(ic, 'img', {src : s.icon_src});
+
+ n = DOM.add(n, s.element || 'span', {'class' : 'mceText', title : o.settings.title}, o.settings.title);
+
+ if (o.settings.style) {
+ if (typeof o.settings.style == "function")
+ o.settings.style = o.settings.style();
+
+ DOM.setAttrib(n, 'style', o.settings.style);
+ }
+
+ if (tb.childNodes.length == 1)
+ DOM.addClass(ro, 'mceFirst');
+
+ if ((n = ro.previousSibling) && DOM.hasClass(n, cp + 'ItemSeparator'))
+ DOM.addClass(ro, 'mceFirst');
+
+ if (o.collapse)
+ DOM.addClass(ro, cp + 'ItemSub');
+
+ if (n = ro.previousSibling)
+ DOM.removeClass(n, 'mceLast');
+
+ DOM.addClass(ro, 'mceLast');
+ }
+ });
+})(tinymce);
+(function(tinymce) {
+ var DOM = tinymce.DOM;
+
+ tinymce.create('tinymce.ui.Button:tinymce.ui.Control', {
+ Button : function(id, s, ed) {
+ this.parent(id, s, ed);
+ this.classPrefix = 'mceButton';
+ },
+
+ renderHTML : function() {
+ var cp = this.classPrefix, s = this.settings, h, l;
+
+ l = DOM.encode(s.label || '');
+ h = '<a role="button" id="' + this.id + '" href="javascript:;" class="' + cp + ' ' + cp + 'Enabled ' + s['class'] + (l ? ' ' + cp + 'Labeled' : '') +'" onmousedown="return false;" onclick="return false;" aria-labelledby="' + this.id + '_voice" title="' + DOM.encode(s.title) + '">';
+ if (s.image && !(this.editor &&this.editor.forcedHighContrastMode) )
+ h += '<span class="mceIcon ' + s['class'] + '"><img class="mceIcon" src="' + s.image + '" alt="' + DOM.encode(s.title) + '" /></span>' + (l ? '<span class="' + cp + 'Label">' + l + '</span>' : '');
+ else
+ h += '<span class="mceIcon ' + s['class'] + '"></span>' + (l ? '<span class="' + cp + 'Label">' + l + '</span>' : '');
+
+ h += '<span class="mceVoiceLabel mceIconOnly" style="display: none;" id="' + this.id + '_voice">' + s.title + '</span>';
+ h += '</a>';
+ return h;
+ },
+
+ postRender : function() {
+ var t = this, s = t.settings, imgBookmark;
+
+ // In IE a large image that occupies the entire editor area will be deselected when a button is clicked, so
+ // need to keep the selection in case the selection is lost
+ if (tinymce.isIE && t.editor) {
+ tinymce.dom.Event.add(t.id, 'mousedown', function(e) {
+ var nodeName = t.editor.selection.getNode().nodeName;
+ imgBookmark = nodeName === 'IMG' ? t.editor.selection.getBookmark() : null;
+ });
+ }
+ tinymce.dom.Event.add(t.id, 'click', function(e) {
+ if (!t.isDisabled()) {
+ // restore the selection in case the selection is lost in IE
+ if (tinymce.isIE && t.editor && imgBookmark !== null) {
+ t.editor.selection.moveToBookmark(imgBookmark);
+ }
+ return s.onclick.call(s.scope, e);
+ }
+ });
+ tinymce.dom.Event.add(t.id, 'keyup', function(e) {
+ if (!t.isDisabled() && e.keyCode==tinymce.VK.SPACEBAR)
+ return s.onclick.call(s.scope, e);
+ });
+ }
+ });
+})(tinymce);
+
+(function(tinymce) {
+ var DOM = tinymce.DOM, Event = tinymce.dom.Event, each = tinymce.each, Dispatcher = tinymce.util.Dispatcher, undef;
+
+ tinymce.create('tinymce.ui.ListBox:tinymce.ui.Control', {
+ ListBox : function(id, s, ed) {
+ var t = this;
+
+ t.parent(id, s, ed);
+
+ t.items = [];
+
+ t.onChange = new Dispatcher(t);
+
+ t.onPostRender = new Dispatcher(t);
+
+ t.onAdd = new Dispatcher(t);
+
+ t.onRenderMenu = new tinymce.util.Dispatcher(this);
+
+ t.classPrefix = 'mceListBox';
+ t.marked = {};
+ },
+
+ select : function(va) {
+ var t = this, fv, f;
+
+ t.marked = {};
+
+ if (va == undef)
+ return t.selectByIndex(-1);
+
+ // Is string or number make function selector
+ if (va && typeof(va)=="function")
+ f = va;
+ else {
+ f = function(v) {
+ return v == va;
+ };
+ }
+
+ // Do we need to do something?
+ if (va != t.selectedValue) {
+ // Find item
+ each(t.items, function(o, i) {
+ if (f(o.value)) {
+ fv = 1;
+ t.selectByIndex(i);
+ return false;
+ }
+ });
+
+ if (!fv)
+ t.selectByIndex(-1);
+ }
+ },
+
+ selectByIndex : function(idx) {
+ var t = this, e, o, label;
+
+ t.marked = {};
+
+ if (idx != t.selectedIndex) {
+ e = DOM.get(t.id + '_text');
+ label = DOM.get(t.id + '_voiceDesc');
+ o = t.items[idx];
+
+ if (o) {
+ t.selectedValue = o.value;
+ t.selectedIndex = idx;
+ DOM.setHTML(e, DOM.encode(o.title));
+ DOM.setHTML(label, t.settings.title + " - " + o.title);
+ DOM.removeClass(e, 'mceTitle');
+ DOM.setAttrib(t.id, 'aria-valuenow', o.title);
+ } else {
+ DOM.setHTML(e, DOM.encode(t.settings.title));
+ DOM.setHTML(label, DOM.encode(t.settings.title));
+ DOM.addClass(e, 'mceTitle');
+ t.selectedValue = t.selectedIndex = null;
+ DOM.setAttrib(t.id, 'aria-valuenow', t.settings.title);
+ }
+ e = 0;
+ }
+ },
+
+ mark : function(value) {
+ this.marked[value] = true;
+ },
+
+ add : function(n, v, o) {
+ var t = this;
+
+ o = o || {};
+ o = tinymce.extend(o, {
+ title : n,
+ value : v
+ });
+
+ t.items.push(o);
+ t.onAdd.dispatch(t, o);
+ },
+
+ getLength : function() {
+ return this.items.length;
+ },
+
+ renderHTML : function() {
+ var h = '', t = this, s = t.settings, cp = t.classPrefix;
+
+ h = '<span role="listbox" aria-haspopup="true" aria-labelledby="' + t.id +'_voiceDesc" aria-describedby="' + t.id + '_voiceDesc"><table role="presentation" tabindex="0" id="' + t.id + '" cellpadding="0" cellspacing="0" class="' + cp + ' ' + cp + 'Enabled' + (s['class'] ? (' ' + s['class']) : '') + '"><tbody><tr>';
+ h += '<td>' + DOM.createHTML('span', {id: t.id + '_voiceDesc', 'class': 'voiceLabel', style:'display:none;'}, t.settings.title);
+ h += DOM.createHTML('a', {id : t.id + '_text', tabindex : -1, href : 'javascript:;', 'class' : 'mceText', onclick : "return false;", onmousedown : 'return false;'}, DOM.encode(t.settings.title)) + '</td>';
+ h += '<td>' + DOM.createHTML('a', {id : t.id + '_open', tabindex : -1, href : 'javascript:;', 'class' : 'mceOpen', onclick : "return false;", onmousedown : 'return false;'}, '<span><span style="display:none;" class="mceIconOnly" aria-hidden="true">\u25BC</span></span>') + '</td>';
+ h += '</tr></tbody></table></span>';
+
+ return h;
+ },
+
+ showMenu : function() {
+ var t = this, p2, e = DOM.get(this.id), m;
+
+ if (t.isDisabled() || t.items.length === 0)
+ return;
+
+ if (t.menu && t.menu.isMenuVisible)
+ return t.hideMenu();
+
+ if (!t.isMenuRendered) {
+ t.renderMenu();
+ t.isMenuRendered = true;
+ }
+
+ p2 = DOM.getPos(e);
+
+ m = t.menu;
+ m.settings.offset_x = p2.x;
+ m.settings.offset_y = p2.y;
+ m.settings.keyboard_focus = !tinymce.isOpera; // Opera is buggy when it comes to auto focus
+
+ // Select in menu
+ each(t.items, function(o) {
+ if (m.items[o.id]) {
+ m.items[o.id].setSelected(0);
+ }
+ });
+
+ each(t.items, function(o) {
+ if (m.items[o.id] && t.marked[o.value]) {
+ m.items[o.id].setSelected(1);
+ }
+
+ if (o.value === t.selectedValue) {
+ m.items[o.id].setSelected(1);
+ }
+ });
+
+ m.showMenu(0, e.clientHeight);
+
+ Event.add(DOM.doc, 'mousedown', t.hideMenu, t);
+ DOM.addClass(t.id, t.classPrefix + 'Selected');
+
+ //DOM.get(t.id + '_text').focus();
+ },
+
+ hideMenu : function(e) {
+ var t = this;
+
+ if (t.menu && t.menu.isMenuVisible) {
+ DOM.removeClass(t.id, t.classPrefix + 'Selected');
+
+ // Prevent double toogles by canceling the mouse click event to the button
+ if (e && e.type == "mousedown" && (e.target.id == t.id + '_text' || e.target.id == t.id + '_open'))
+ return;
+
+ if (!e || !DOM.getParent(e.target, '.mceMenu')) {
+ DOM.removeClass(t.id, t.classPrefix + 'Selected');
+ Event.remove(DOM.doc, 'mousedown', t.hideMenu, t);
+ t.menu.hideMenu();
+ }
+ }
+ },
+
+ renderMenu : function() {
+ var t = this, m;
+
+ m = t.settings.control_manager.createDropMenu(t.id + '_menu', {
+ menu_line : 1,
+ 'class' : t.classPrefix + 'Menu mceNoIcons',
+ max_width : 250,
+ max_height : 150
+ });
+
+ m.onHideMenu.add(function() {
+ t.hideMenu();
+ t.focus();
+ });
+
+ m.add({
+ title : t.settings.title,
+ 'class' : 'mceMenuItemTitle',
+ onclick : function() {
+ if (t.settings.onselect('') !== false)
+ t.select(''); // Must be runned after
+ }
+ });
+
+ each(t.items, function(o) {
+ // No value then treat it as a title
+ if (o.value === undef) {
+ m.add({
+ title : o.title,
+ role : "option",
+ 'class' : 'mceMenuItemTitle',
+ onclick : function() {
+ if (t.settings.onselect('') !== false)
+ t.select(''); // Must be runned after
+ }
+ });
+ } else {
+ o.id = DOM.uniqueId();
+ o.role= "option";
+ o.onclick = function() {
+ if (t.settings.onselect(o.value) !== false)
+ t.select(o.value); // Must be runned after
+ };
+
+ m.add(o);
+ }
+ });
+
+ t.onRenderMenu.dispatch(t, m);
+ t.menu = m;
+ },
+
+ postRender : function() {
+ var t = this, cp = t.classPrefix;
+
+ Event.add(t.id, 'click', t.showMenu, t);
+ Event.add(t.id, 'keydown', function(evt) {
+ if (evt.keyCode == 32) { // Space
+ t.showMenu(evt);
+ Event.cancel(evt);
+ }
+ });
+ Event.add(t.id, 'focus', function() {
+ if (!t._focused) {
+ t.keyDownHandler = Event.add(t.id, 'keydown', function(e) {
+ if (e.keyCode == 40) {
+ t.showMenu();
+ Event.cancel(e);
+ }
+ });
+ t.keyPressHandler = Event.add(t.id, 'keypress', function(e) {
+ var v;
+ if (e.keyCode == 13) {
+ // Fake select on enter
+ v = t.selectedValue;
+ t.selectedValue = null; // Needs to be null to fake change
+ Event.cancel(e);
+ t.settings.onselect(v);
+ }
+ });
+ }
+
+ t._focused = 1;
+ });
+ Event.add(t.id, 'blur', function() {
+ Event.remove(t.id, 'keydown', t.keyDownHandler);
+ Event.remove(t.id, 'keypress', t.keyPressHandler);
+ t._focused = 0;
+ });
+
+ // Old IE doesn't have hover on all elements
+ if (tinymce.isIE6 || !DOM.boxModel) {
+ Event.add(t.id, 'mouseover', function() {
+ if (!DOM.hasClass(t.id, cp + 'Disabled'))
+ DOM.addClass(t.id, cp + 'Hover');
+ });
+
+ Event.add(t.id, 'mouseout', function() {
+ if (!DOM.hasClass(t.id, cp + 'Disabled'))
+ DOM.removeClass(t.id, cp + 'Hover');
+ });
+ }
+
+ t.onPostRender.dispatch(t, DOM.get(t.id));
+ },
+
+ destroy : function() {
+ this.parent();
+
+ Event.clear(this.id + '_text');
+ Event.clear(this.id + '_open');
+ }
+ });
+})(tinymce);
+
+(function(tinymce) {
+ var DOM = tinymce.DOM, Event = tinymce.dom.Event, each = tinymce.each, Dispatcher = tinymce.util.Dispatcher, undef;
+
+ tinymce.create('tinymce.ui.NativeListBox:tinymce.ui.ListBox', {
+ NativeListBox : function(id, s) {
+ this.parent(id, s);
+ this.classPrefix = 'mceNativeListBox';
+ },
+
+ setDisabled : function(s) {
+ DOM.get(this.id).disabled = s;
+ this.setAriaProperty('disabled', s);
+ },
+
+ isDisabled : function() {
+ return DOM.get(this.id).disabled;
+ },
+
+ select : function(va) {
+ var t = this, fv, f;
+
+ if (va == undef)
+ return t.selectByIndex(-1);
+
+ // Is string or number make function selector
+ if (va && typeof(va)=="function")
+ f = va;
+ else {
+ f = function(v) {
+ return v == va;
+ };
+ }
+
+ // Do we need to do something?
+ if (va != t.selectedValue) {
+ // Find item
+ each(t.items, function(o, i) {
+ if (f(o.value)) {
+ fv = 1;
+ t.selectByIndex(i);
+ return false;
+ }
+ });
+
+ if (!fv)
+ t.selectByIndex(-1);
+ }
+ },
+
+ selectByIndex : function(idx) {
+ DOM.get(this.id).selectedIndex = idx + 1;
+ this.selectedValue = this.items[idx] ? this.items[idx].value : null;
+ },
+
+ add : function(n, v, a) {
+ var o, t = this;
+
+ a = a || {};
+ a.value = v;
+
+ if (t.isRendered())
+ DOM.add(DOM.get(this.id), 'option', a, n);
+
+ o = {
+ title : n,
+ value : v,
+ attribs : a
+ };
+
+ t.items.push(o);
+ t.onAdd.dispatch(t, o);
+ },
+
+ getLength : function() {
+ return this.items.length;
+ },
+
+ renderHTML : function() {
+ var h, t = this;
+
+ h = DOM.createHTML('option', {value : ''}, '-- ' + t.settings.title + ' --');
+
+ each(t.items, function(it) {
+ h += DOM.createHTML('option', {value : it.value}, it.title);
+ });
+
+ h = DOM.createHTML('select', {id : t.id, 'class' : 'mceNativeListBox', 'aria-labelledby': t.id + '_aria'}, h);
+ h += DOM.createHTML('span', {id : t.id + '_aria', 'style': 'display: none'}, t.settings.title);
+ return h;
+ },
+
+ postRender : function() {
+ var t = this, ch, changeListenerAdded = true;
+
+ t.rendered = true;
+
+ function onChange(e) {
+ var v = t.items[e.target.selectedIndex - 1];
+
+ if (v && (v = v.value)) {
+ t.onChange.dispatch(t, v);
+
+ if (t.settings.onselect)
+ t.settings.onselect(v);
+ }
+ };
+
+ Event.add(t.id, 'change', onChange);
+
+ // Accessibility keyhandler
+ Event.add(t.id, 'keydown', function(e) {
+ var bf;
+
+ Event.remove(t.id, 'change', ch);
+ changeListenerAdded = false;
+
+ bf = Event.add(t.id, 'blur', function() {
+ if (changeListenerAdded) return;
+ changeListenerAdded = true;
+ Event.add(t.id, 'change', onChange);
+ Event.remove(t.id, 'blur', bf);
+ });
+
+ //prevent default left and right keys on chrome - so that the keyboard navigation is used.
+ if (tinymce.isWebKit && (e.keyCode==37 ||e.keyCode==39)) {
+ return Event.prevent(e);
+ }
+
+ if (e.keyCode == 13 || e.keyCode == 32) {
+ onChange(e);
+ return Event.cancel(e);
+ }
+ });
+
+ t.onPostRender.dispatch(t, DOM.get(t.id));
+ }
+ });
+})(tinymce);
+
+(function(tinymce) {
+ var DOM = tinymce.DOM, Event = tinymce.dom.Event, each = tinymce.each;
+
+ tinymce.create('tinymce.ui.MenuButton:tinymce.ui.Button', {
+ MenuButton : function(id, s, ed) {
+ this.parent(id, s, ed);
+
+ this.onRenderMenu = new tinymce.util.Dispatcher(this);
+
+ s.menu_container = s.menu_container || DOM.doc.body;
+ },
+
+ showMenu : function() {
+ var t = this, p1, p2, e = DOM.get(t.id), m;
+
+ if (t.isDisabled())
+ return;
+
+ if (!t.isMenuRendered) {
+ t.renderMenu();
+ t.isMenuRendered = true;
+ }
+
+ if (t.isMenuVisible)
+ return t.hideMenu();
+
+ p1 = DOM.getPos(t.settings.menu_container);
+ p2 = DOM.getPos(e);
+
+ m = t.menu;
+ m.settings.offset_x = p2.x;
+ m.settings.offset_y = p2.y;
+ m.settings.vp_offset_x = p2.x;
+ m.settings.vp_offset_y = p2.y;
+ m.settings.keyboard_focus = t._focused;
+ m.showMenu(0, e.firstChild.clientHeight);
+
+ Event.add(DOM.doc, 'mousedown', t.hideMenu, t);
+ t.setState('Selected', 1);
+
+ t.isMenuVisible = 1;
+ },
+
+ renderMenu : function() {
+ var t = this, m;
+
+ m = t.settings.control_manager.createDropMenu(t.id + '_menu', {
+ menu_line : 1,
+ 'class' : this.classPrefix + 'Menu',
+ icons : t.settings.icons
+ });
+
+ m.onHideMenu.add(function() {
+ t.hideMenu();
+ t.focus();
+ });
+
+ t.onRenderMenu.dispatch(t, m);
+ t.menu = m;
+ },
+
+ hideMenu : function(e) {
+ var t = this;
+
+ // Prevent double toogles by canceling the mouse click event to the button
+ if (e && e.type == "mousedown" && DOM.getParent(e.target, function(e) {return e.id === t.id || e.id === t.id + '_open';}))
+ return;
+
+ if (!e || !DOM.getParent(e.target, '.mceMenu')) {
+ t.setState('Selected', 0);
+ Event.remove(DOM.doc, 'mousedown', t.hideMenu, t);
+ if (t.menu)
+ t.menu.hideMenu();
+ }
+
+ t.isMenuVisible = 0;
+ },
+
+ postRender : function() {
+ var t = this, s = t.settings;
+
+ Event.add(t.id, 'click', function() {
+ if (!t.isDisabled()) {
+ if (s.onclick)
+ s.onclick(t.value);
+
+ t.showMenu();
+ }
+ });
+ }
+ });
+})(tinymce);
+
+(function(tinymce) {
+ var DOM = tinymce.DOM, Event = tinymce.dom.Event, each = tinymce.each;
+
+ tinymce.create('tinymce.ui.SplitButton:tinymce.ui.MenuButton', {
+ SplitButton : function(id, s, ed) {
+ this.parent(id, s, ed);
+ this.classPrefix = 'mceSplitButton';
+ },
+
+ renderHTML : function() {
+ var h, t = this, s = t.settings, h1;
+
+ h = '<tbody><tr>';
+
+ if (s.image)
+ h1 = DOM.createHTML('img ', {src : s.image, role: 'presentation', 'class' : 'mceAction ' + s['class']});
+ else
+ h1 = DOM.createHTML('span', {'class' : 'mceAction ' + s['class']}, '');
+
+ h1 += DOM.createHTML('span', {'class': 'mceVoiceLabel mceIconOnly', id: t.id + '_voice', style: 'display:none;'}, s.title);
+ h += '<td >' + DOM.createHTML('a', {role: 'button', id : t.id + '_action', tabindex: '-1', href : 'javascript:;', 'class' : 'mceAction ' + s['class'], onclick : "return false;", onmousedown : 'return false;', title : s.title}, h1) + '</td>';
+
+ h1 = DOM.createHTML('span', {'class' : 'mceOpen ' + s['class']}, '<span style="display:none;" class="mceIconOnly" aria-hidden="true">\u25BC</span>');
+ h += '<td >' + DOM.createHTML('a', {role: 'button', id : t.id + '_open', tabindex: '-1', href : 'javascript:;', 'class' : 'mceOpen ' + s['class'], onclick : "return false;", onmousedown : 'return false;', title : s.title}, h1) + '</td>';
+
+ h += '</tr></tbody>';
+ h = DOM.createHTML('table', { role: 'presentation', 'class' : 'mceSplitButton mceSplitButtonEnabled ' + s['class'], cellpadding : '0', cellspacing : '0', title : s.title}, h);
+ return DOM.createHTML('div', {id : t.id, role: 'button', tabindex: '0', 'aria-labelledby': t.id + '_voice', 'aria-haspopup': 'true'}, h);
+ },
+
+ postRender : function() {
+ var t = this, s = t.settings, activate;
+
+ if (s.onclick) {
+ activate = function(evt) {
+ if (!t.isDisabled()) {
+ s.onclick(t.value);
+ Event.cancel(evt);
+ }
+ };
+ Event.add(t.id + '_action', 'click', activate);
+ Event.add(t.id, ['click', 'keydown'], function(evt) {
+ var DOM_VK_SPACE = 32, DOM_VK_ENTER = 14, DOM_VK_RETURN = 13, DOM_VK_UP = 38, DOM_VK_DOWN = 40;
+ if ((evt.keyCode === 32 || evt.keyCode === 13 || evt.keyCode === 14) && !evt.altKey && !evt.ctrlKey && !evt.metaKey) {
+ activate();
+ Event.cancel(evt);
+ } else if (evt.type === 'click' || evt.keyCode === DOM_VK_DOWN) {
+ t.showMenu();
+ Event.cancel(evt);
+ }
+ });
+ }
+
+ Event.add(t.id + '_open', 'click', function (evt) {
+ t.showMenu();
+ Event.cancel(evt);
+ });
+ Event.add([t.id, t.id + '_open'], 'focus', function() {t._focused = 1;});
+ Event.add([t.id, t.id + '_open'], 'blur', function() {t._focused = 0;});
+
+ // Old IE doesn't have hover on all elements
+ if (tinymce.isIE6 || !DOM.boxModel) {
+ Event.add(t.id, 'mouseover', function() {
+ if (!DOM.hasClass(t.id, 'mceSplitButtonDisabled'))
+ DOM.addClass(t.id, 'mceSplitButtonHover');
+ });
+
+ Event.add(t.id, 'mouseout', function() {
+ if (!DOM.hasClass(t.id, 'mceSplitButtonDisabled'))
+ DOM.removeClass(t.id, 'mceSplitButtonHover');
+ });
+ }
+ },
+
+ destroy : function() {
+ this.parent();
+
+ Event.clear(this.id + '_action');
+ Event.clear(this.id + '_open');
+ Event.clear(this.id);
+ }
+ });
+})(tinymce);
+
+(function(tinymce) {
+ var DOM = tinymce.DOM, Event = tinymce.dom.Event, is = tinymce.is, each = tinymce.each;
+
+ tinymce.create('tinymce.ui.ColorSplitButton:tinymce.ui.SplitButton', {
+ ColorSplitButton : function(id, s, ed) {
+ var t = this;
+
+ t.parent(id, s, ed);
+
+ t.settings = s = tinymce.extend({
+ colors : '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,008000,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF',
+ grid_width : 8,
+ default_color : '#888888'
+ }, t.settings);
+
+ t.onShowMenu = new tinymce.util.Dispatcher(t);
+
+ t.onHideMenu = new tinymce.util.Dispatcher(t);
+
+ t.value = s.default_color;
+ },
+
+ showMenu : function() {
+ var t = this, r, p, e, p2;
+
+ if (t.isDisabled())
+ return;
+
+ if (!t.isMenuRendered) {
+ t.renderMenu();
+ t.isMenuRendered = true;
+ }
+
+ if (t.isMenuVisible)
+ return t.hideMenu();
+
+ e = DOM.get(t.id);
+ DOM.show(t.id + '_menu');
+ DOM.addClass(e, 'mceSplitButtonSelected');
+ p2 = DOM.getPos(e);
+ DOM.setStyles(t.id + '_menu', {
+ left : p2.x,
+ top : p2.y + e.firstChild.clientHeight,
+ zIndex : 200000
+ });
+ e = 0;
+
+ Event.add(DOM.doc, 'mousedown', t.hideMenu, t);
+ t.onShowMenu.dispatch(t);
+
+ if (t._focused) {
+ t._keyHandler = Event.add(t.id + '_menu', 'keydown', function(e) {
+ if (e.keyCode == 27)
+ t.hideMenu();
+ });
+
+ DOM.select('a', t.id + '_menu')[0].focus(); // Select first link
+ }
+
+ t.keyboardNav = new tinymce.ui.KeyboardNavigation({
+ root: t.id + '_menu',
+ items: DOM.select('a', t.id + '_menu'),
+ onCancel: function() {
+ t.hideMenu();
+ t.focus();
+ }
+ });
+
+ t.keyboardNav.focus();
+ t.isMenuVisible = 1;
+ },
+
+ hideMenu : function(e) {
+ var t = this;
+
+ if (t.isMenuVisible) {
+ // Prevent double toogles by canceling the mouse click event to the button
+ if (e && e.type == "mousedown" && DOM.getParent(e.target, function(e) {return e.id === t.id + '_open';}))
+ return;
+
+ if (!e || !DOM.getParent(e.target, '.mceSplitButtonMenu')) {
+ DOM.removeClass(t.id, 'mceSplitButtonSelected');
+ Event.remove(DOM.doc, 'mousedown', t.hideMenu, t);
+ Event.remove(t.id + '_menu', 'keydown', t._keyHandler);
+ DOM.hide(t.id + '_menu');
+ }
+
+ t.isMenuVisible = 0;
+ t.onHideMenu.dispatch();
+ t.keyboardNav.destroy();
+ }
+ },
+
+ renderMenu : function() {
+ var t = this, m, i = 0, s = t.settings, n, tb, tr, w, context;
+
+ w = DOM.add(s.menu_container, 'div', {role: 'listbox', id : t.id + '_menu', 'class' : s.menu_class + ' ' + s['class'], style : 'position:absolute;left:0;top:-1000px;'});
+ m = DOM.add(w, 'div', {'class' : s['class'] + ' mceSplitButtonMenu'});
+ DOM.add(m, 'span', {'class' : 'mceMenuLine'});
+
+ n = DOM.add(m, 'table', {role: 'presentation', 'class' : 'mceColorSplitMenu'});
+ tb = DOM.add(n, 'tbody');
+
+ // Generate color grid
+ i = 0;
+ each(is(s.colors, 'array') ? s.colors : s.colors.split(','), function(c) {
+ c = c.replace(/^#/, '');
+
+ if (!i--) {
+ tr = DOM.add(tb, 'tr');
+ i = s.grid_width - 1;
+ }
+
+ n = DOM.add(tr, 'td');
+ var settings = {
+ href : 'javascript:;',
+ style : {
+ backgroundColor : '#' + c
+ },
+ 'title': t.editor.getLang('colors.' + c, c),
+ 'data-mce-color' : '#' + c
+ };
+
+ // adding a proper ARIA role = button causes JAWS to read things incorrectly on IE.
+ if (!tinymce.isIE ) {
+ settings.role = 'option';
+ }
+
+ n = DOM.add(n, 'a', settings);
+
+ if (t.editor.forcedHighContrastMode) {
+ n = DOM.add(n, 'canvas', { width: 16, height: 16, 'aria-hidden': 'true' });
+ if (n.getContext && (context = n.getContext("2d"))) {
+ context.fillStyle = '#' + c;
+ context.fillRect(0, 0, 16, 16);
+ } else {
+ // No point leaving a canvas element around if it's not supported for drawing on anyway.
+ DOM.remove(n);
+ }
+ }
+ });
+
+ if (s.more_colors_func) {
+ n = DOM.add(tb, 'tr');
+ n = DOM.add(n, 'td', {colspan : s.grid_width, 'class' : 'mceMoreColors'});
+ n = DOM.add(n, 'a', {role: 'option', id : t.id + '_more', href : 'javascript:;', onclick : 'return false;', 'class' : 'mceMoreColors'}, s.more_colors_title);
+
+ Event.add(n, 'click', function(e) {
+ s.more_colors_func.call(s.more_colors_scope || this);
+ return Event.cancel(e); // Cancel to fix onbeforeunload problem
+ });
+ }
+
+ DOM.addClass(m, 'mceColorSplitMenu');
+
+ // Prevent IE from scrolling and hindering click to occur #4019
+ Event.add(t.id + '_menu', 'mousedown', function(e) {return Event.cancel(e);});
+
+ Event.add(t.id + '_menu', 'click', function(e) {
+ var c;
+
+ e = DOM.getParent(e.target, 'a', tb);
+
+ if (e && e.nodeName.toLowerCase() == 'a' && (c = e.getAttribute('data-mce-color')))
+ t.setColor(c);
+
+ return false; // Prevent IE auto save warning
+ });
+
+ return w;
+ },
+
+ setColor : function(c) {
+ this.displayColor(c);
+ this.hideMenu();
+ this.settings.onselect(c);
+ },
+
+ displayColor : function(c) {
+ var t = this;
+
+ DOM.setStyle(t.id + '_preview', 'backgroundColor', c);
+
+ t.value = c;
+ },
+
+ postRender : function() {
+ var t = this, id = t.id;
+
+ t.parent();
+ DOM.add(id + '_action', 'div', {id : id + '_preview', 'class' : 'mceColorPreview'});
+ DOM.setStyle(t.id + '_preview', 'backgroundColor', t.value);
+ },
+
+ destroy : function() {
+ var self = this;
+
+ self.parent();
+
+ Event.clear(self.id + '_menu');
+ Event.clear(self.id + '_more');
+ DOM.remove(self.id + '_menu');
+
+ if (self.keyboardNav) {
+ self.keyboardNav.destroy();
+ }
+ }
+ });
+})(tinymce);
+
+(function(tinymce) {
+// Shorten class names
+var dom = tinymce.DOM, each = tinymce.each, Event = tinymce.dom.Event;
+tinymce.create('tinymce.ui.ToolbarGroup:tinymce.ui.Container', {
+ renderHTML : function() {
+ var t = this, h = [], controls = t.controls, each = tinymce.each, settings = t.settings;
+
+ h.push('<div id="' + t.id + '" role="group" aria-labelledby="' + t.id + '_voice">');
+ //TODO: ACC test this out - adding a role = application for getting the landmarks working well.
+ h.push("<span role='application'>");
+ h.push('<span id="' + t.id + '_voice" class="mceVoiceLabel" style="display:none;">' + dom.encode(settings.name) + '</span>');
+ each(controls, function(toolbar) {
+ h.push(toolbar.renderHTML());
+ });
+ h.push("</span>");
+ h.push('</div>');
+
+ return h.join('');
+ },
+
+ focus : function() {
+ var t = this;
+ dom.get(t.id).focus();
+ },
+
+ postRender : function() {
+ var t = this, items = [];
+
+ each(t.controls, function(toolbar) {
+ each (toolbar.controls, function(control) {
+ if (control.id) {
+ items.push(control);
+ }
+ });
+ });
+
+ t.keyNav = new tinymce.ui.KeyboardNavigation({
+ root: t.id,
+ items: items,
+ onCancel: function() {
+ //Move focus if webkit so that navigation back will read the item.
+ if (tinymce.isWebKit) {
+ dom.get(t.editor.id+"_ifr").focus();
+ }
+ t.editor.focus();
+ },
+ excludeFromTabOrder: !t.settings.tab_focus_toolbar
+ });
+ },
+
+ destroy : function() {
+ var self = this;
+
+ self.parent();
+ self.keyNav.destroy();
+ Event.clear(self.id);
+ }
+});
+})(tinymce);
+
+(function(tinymce) {
+// Shorten class names
+var dom = tinymce.DOM, each = tinymce.each;
+tinymce.create('tinymce.ui.Toolbar:tinymce.ui.Container', {
+ renderHTML : function() {
+ var t = this, h = '', c, co, s = t.settings, i, pr, nx, cl;
+
+ cl = t.controls;
+ for (i=0; i<cl.length; i++) {
+ // Get current control, prev control, next control and if the control is a list box or not
+ co = cl[i];
+ pr = cl[i - 1];
+ nx = cl[i + 1];
+
+ // Add toolbar start
+ if (i === 0) {
+ c = 'mceToolbarStart';
+
+ if (co.Button)
+ c += ' mceToolbarStartButton';
+ else if (co.SplitButton)
+ c += ' mceToolbarStartSplitButton';
+ else if (co.ListBox)
+ c += ' mceToolbarStartListBox';
+
+ h += dom.createHTML('td', {'class' : c}, dom.createHTML('span', null, '<!-- IE -->'));
+ }
+
+ // Add toolbar end before list box and after the previous button
+ // This is to fix the o2k7 editor skins
+ if (pr && co.ListBox) {
+ if (pr.Button || pr.SplitButton)
+ h += dom.createHTML('td', {'class' : 'mceToolbarEnd'}, dom.createHTML('span', null, '<!-- IE -->'));
+ }
+
+ // Render control HTML
+
+ // IE 8 quick fix, needed to propertly generate a hit area for anchors
+ if (dom.stdMode)
+ h += '<td style="position: relative">' + co.renderHTML() + '</td>';
+ else
+ h += '<td>' + co.renderHTML() + '</td>';
+
+ // Add toolbar start after list box and before the next button
+ // This is to fix the o2k7 editor skins
+ if (nx && co.ListBox) {
+ if (nx.Button || nx.SplitButton)
+ h += dom.createHTML('td', {'class' : 'mceToolbarStart'}, dom.createHTML('span', null, '<!-- IE -->'));
+ }
+ }
+
+ c = 'mceToolbarEnd';
+
+ if (co.Button)
+ c += ' mceToolbarEndButton';
+ else if (co.SplitButton)
+ c += ' mceToolbarEndSplitButton';
+ else if (co.ListBox)
+ c += ' mceToolbarEndListBox';
+
+ h += dom.createHTML('td', {'class' : c}, dom.createHTML('span', null, '<!-- IE -->'));
+
+ return dom.createHTML('table', {id : t.id, 'class' : 'mceToolbar' + (s['class'] ? ' ' + s['class'] : ''), cellpadding : '0', cellspacing : '0', align : t.settings.align || '', role: 'presentation', tabindex: '-1'}, '<tbody><tr>' + h + '</tr></tbody>');
+ }
+});
+})(tinymce);
+
+(function(tinymce) {
+ var Dispatcher = tinymce.util.Dispatcher, each = tinymce.each;
+
+ tinymce.create('tinymce.AddOnManager', {
+ AddOnManager : function() {
+ var self = this;
+
+ self.items = [];
+ self.urls = {};
+ self.lookup = {};
+ self.onAdd = new Dispatcher(self);
+ },
+
+ get : function(n) {
+ if (this.lookup[n]) {
+ return this.lookup[n].instance;
+ } else {
+ return undefined;
+ }
+ },
+
+ dependencies : function(n) {
+ var result;
+ if (this.lookup[n]) {
+ result = this.lookup[n].dependencies;
+ }
+ return result || [];
+ },
+
+ requireLangPack : function(n) {
+ var s = tinymce.settings;
+
+ if (s && s.language && s.language_load !== false)
+ tinymce.ScriptLoader.add(this.urls[n] + '/langs/' + s.language + '.js');
+ },
+
+ add : function(id, o, dependencies) {
+ this.items.push(o);
+ this.lookup[id] = {instance:o, dependencies:dependencies};
+ this.onAdd.dispatch(this, id, o);
+
+ return o;
+ },
+ createUrl: function(baseUrl, dep) {
+ if (typeof dep === "object") {
+ return dep
+ } else {
+ return {prefix: baseUrl.prefix, resource: dep, suffix: baseUrl.suffix};
+ }
+ },
+
+ addComponents: function(pluginName, scripts) {
+ var pluginUrl = this.urls[pluginName];
+ tinymce.each(scripts, function(script){
+ tinymce.ScriptLoader.add(pluginUrl+"/"+script);
+ });
+ },
+
+ load : function(n, u, cb, s) {
+ var t = this, url = u;
+
+ function loadDependencies() {
+ var dependencies = t.dependencies(n);
+ tinymce.each(dependencies, function(dep) {
+ var newUrl = t.createUrl(u, dep);
+ t.load(newUrl.resource, newUrl, undefined, undefined);
+ });
+ if (cb) {
+ if (s) {
+ cb.call(s);
+ } else {
+ cb.call(tinymce.ScriptLoader);
+ }
+ }
+ }
+
+ if (t.urls[n])
+ return;
+ if (typeof u === "object")
+ url = u.prefix + u.resource + u.suffix;
+
+ if (url.indexOf('/') !== 0 && url.indexOf('://') == -1)
+ url = tinymce.baseURL + '/' + url;
+
+ t.urls[n] = url.substring(0, url.lastIndexOf('/'));
+
+ if (t.lookup[n]) {
+ loadDependencies();
+ } else {
+ tinymce.ScriptLoader.add(url, loadDependencies, s);
+ }
+ }
+ });
+
+ // Create plugin and theme managers
+ tinymce.PluginManager = new tinymce.AddOnManager();
+ tinymce.ThemeManager = new tinymce.AddOnManager();
+}(tinymce));
+
+(function(tinymce) {
+ // Shorten names
+ var each = tinymce.each, extend = tinymce.extend,
+ DOM = tinymce.DOM, Event = tinymce.dom.Event,
+ ThemeManager = tinymce.ThemeManager, PluginManager = tinymce.PluginManager,
+ explode = tinymce.explode,
+ Dispatcher = tinymce.util.Dispatcher, undef, instanceCounter = 0;
+
+ // Setup some URLs where the editor API is located and where the document is
+ tinymce.documentBaseURL = window.location.href.replace(/[\?#].*$/, '').replace(/[\/\\][^\/]+$/, '');
+ if (!/[\/\\]$/.test(tinymce.documentBaseURL))
+ tinymce.documentBaseURL += '/';
+
+ tinymce.baseURL = new tinymce.util.URI(tinymce.documentBaseURL).toAbsolute(tinymce.baseURL);
+
+ tinymce.baseURI = new tinymce.util.URI(tinymce.baseURL);
+
+ // Add before unload listener
+ // This was required since IE was leaking memory if you added and removed beforeunload listeners
+ // with attachEvent/detatchEvent so this only adds one listener and instances can the attach to the onBeforeUnload event
+ tinymce.onBeforeUnload = new Dispatcher(tinymce);
+
+ // Must be on window or IE will leak if the editor is placed in frame or iframe
+ Event.add(window, 'beforeunload', function(e) {
+ tinymce.onBeforeUnload.dispatch(tinymce, e);
+ });
+
+ tinymce.onAddEditor = new Dispatcher(tinymce);
+
+ tinymce.onRemoveEditor = new Dispatcher(tinymce);
+
+ tinymce.EditorManager = extend(tinymce, {
+ editors : [],
+
+ i18n : {},
+
+ activeEditor : null,
+
+ init : function(s) {
+ var t = this, pl, sl = tinymce.ScriptLoader, e, el = [], ed;
+
+ function createId(elm) {
+ var id = elm.id;
+
+ // Use element id, or unique name or generate a unique id
+ if (!id) {
+ id = elm.name;
+
+ if (id && !DOM.get(id)) {
+ id = elm.name;
+ } else {
+ // Generate unique name
+ id = DOM.uniqueId();
+ }
+
+ elm.setAttribute('id', id);
+ }
+
+ return id;
+ };
+
+ function execCallback(se, n, s) {
+ var f = se[n];
+
+ if (!f)
+ return;
+
+ if (tinymce.is(f, 'string')) {
+ s = f.replace(/\.\w+$/, '');
+ s = s ? tinymce.resolve(s) : 0;
+ f = tinymce.resolve(f);
+ }
+
+ return f.apply(s || this, Array.prototype.slice.call(arguments, 2));
+ };
+
+ function hasClass(n, c) {
+ return c.constructor === RegExp ? c.test(n.className) : DOM.hasClass(n, c);
+ };
+
+ t.settings = s;
+
+ // Legacy call
+ Event.bind(window, 'ready', function() {
+ var l, co;
+
+ execCallback(s, 'onpageload');
+
+ switch (s.mode) {
+ case "exact":
+ l = s.elements || '';
+
+ if(l.length > 0) {
+ each(explode(l), function(v) {
+ if (DOM.get(v)) {
+ ed = new tinymce.Editor(v, s);
+ el.push(ed);
+ ed.render(1);
+ } else {
+ each(document.forms, function(f) {
+ each(f.elements, function(e) {
+ if (e.name === v) {
+ v = 'mce_editor_' + instanceCounter++;
+ DOM.setAttrib(e, 'id', v);
+
+ ed = new tinymce.Editor(v, s);
+ el.push(ed);
+ ed.render(1);
+ }
+ });
+ });
+ }
+ });
+ }
+ break;
+
+ case "textareas":
+ case "specific_textareas":
+ each(DOM.select('textarea'), function(elm) {
+ if (s.editor_deselector && hasClass(elm, s.editor_deselector))
+ return;
+
+ if (!s.editor_selector || hasClass(elm, s.editor_selector)) {
+ ed = new tinymce.Editor(createId(elm), s);
+ el.push(ed);
+ ed.render(1);
+ }
+ });
+ break;
+
+ default:
+ if (s.types) {
+ // Process type specific selector
+ each(s.types, function(type) {
+ each(DOM.select(type.selector), function(elm) {
+ var editor = new tinymce.Editor(createId(elm), tinymce.extend({}, s, type));
+ el.push(editor);
+ editor.render(1);
+ });
+ });
+ } else if (s.selector) {
+ // Process global selector
+ each(DOM.select(s.selector), function(elm) {
+ var editor = new tinymce.Editor(createId(elm), s);
+ el.push(editor);
+ editor.render(1);
+ });
+ }
+ }
+
+ // Call onInit when all editors are initialized
+ if (s.oninit) {
+ l = co = 0;
+
+ each(el, function(ed) {
+ co++;
+
+ if (!ed.initialized) {
+ // Wait for it
+ ed.onInit.add(function() {
+ l++;
+
+ // All done
+ if (l == co)
+ execCallback(s, 'oninit');
+ });
+ } else
+ l++;
+
+ // All done
+ if (l == co)
+ execCallback(s, 'oninit');
+ });
+ }
+ });
+ },
+
+ get : function(id) {
+ if (id === undef)
+ return this.editors;
+
+ if (!this.editors.hasOwnProperty(id))
+ return undef;
+
+ return this.editors[id];
+ },
+
+ getInstanceById : function(id) {
+ return this.get(id);
+ },
+
+ add : function(editor) {
+ var self = this, editors = self.editors;
+
+ // Add named and index editor instance
+ editors[editor.id] = editor;
+ editors.push(editor);
+
+ self._setActive(editor);
+ self.onAddEditor.dispatch(self, editor);
+
+
+ return editor;
+ },
+
+ remove : function(editor) {
+ var t = this, i, editors = t.editors;
+
+ // Not in the collection
+ if (!editors[editor.id])
+ return null;
+
+ delete editors[editor.id];
+
+ for (i = 0; i < editors.length; i++) {
+ if (editors[i] == editor) {
+ editors.splice(i, 1);
+ break;
+ }
+ }
+
+ // Select another editor since the active one was removed
+ if (t.activeEditor == editor)
+ t._setActive(editors[0]);
+
+ editor.destroy();
+ t.onRemoveEditor.dispatch(t, editor);
+
+ return editor;
+ },
+
+ execCommand : function(c, u, v) {
+ var t = this, ed = t.get(v), w;
+
+ function clr() {
+ ed.destroy();
+ w.detachEvent('onunload', clr);
+ w = w.tinyMCE = w.tinymce = null; // IE leak
+ };
+
+ // Manager commands
+ switch (c) {
+ case "mceFocus":
+ ed.focus();
+ return true;
+
+ case "mceAddEditor":
+ case "mceAddControl":
+ if (!t.get(v))
+ new tinymce.Editor(v, t.settings).render();
+
+ return true;
+
+ case "mceAddFrameControl":
+ w = v.window;
+
+ // Add tinyMCE global instance and tinymce namespace to specified window
+ w.tinyMCE = tinyMCE;
+ w.tinymce = tinymce;
+
+ tinymce.DOM.doc = w.document;
+ tinymce.DOM.win = w;
+
+ ed = new tinymce.Editor(v.element_id, v);
+ ed.render();
+
+ // Fix IE memory leaks
+ if (tinymce.isIE) {
+ w.attachEvent('onunload', clr);
+ }
+
+ v.page_window = null;
+
+ return true;
+
+ case "mceRemoveEditor":
+ case "mceRemoveControl":
+ if (ed)
+ ed.remove();
+
+ return true;
+
+ case 'mceToggleEditor':
+ if (!ed) {
+ t.execCommand('mceAddControl', 0, v);
+ return true;
+ }
+
+ if (ed.isHidden())
+ ed.show();
+ else
+ ed.hide();
+
+ return true;
+ }
+
+ // Run command on active editor
+ if (t.activeEditor)
+ return t.activeEditor.execCommand(c, u, v);
+
+ return false;
+ },
+
+ execInstanceCommand : function(id, c, u, v) {
+ var ed = this.get(id);
+
+ if (ed)
+ return ed.execCommand(c, u, v);
+
+ return false;
+ },
+
+ triggerSave : function() {
+ each(this.editors, function(e) {
+ e.save();
+ });
+ },
+
+ addI18n : function(p, o) {
+ var lo, i18n = this.i18n;
+
+ if (!tinymce.is(p, 'string')) {
+ each(p, function(o, lc) {
+ each(o, function(o, g) {
+ each(o, function(o, k) {
+ if (g === 'common')
+ i18n[lc + '.' + k] = o;
+ else
+ i18n[lc + '.' + g + '.' + k] = o;
+ });
+ });
+ });
+ } else {
+ each(o, function(o, k) {
+ i18n[p + '.' + k] = o;
+ });
+ }
+ },
+
+ // Private methods
+
+ _setActive : function(editor) {
+ this.selectedInstance = this.activeEditor = editor;
+ }
+ });
+})(tinymce);
+
+(function(tinymce) {
+ // Shorten these names
+ var DOM = tinymce.DOM, Event = tinymce.dom.Event, extend = tinymce.extend,
+ each = tinymce.each, isGecko = tinymce.isGecko,
+ isIE = tinymce.isIE, isWebKit = tinymce.isWebKit, is = tinymce.is,
+ ThemeManager = tinymce.ThemeManager, PluginManager = tinymce.PluginManager,
+ explode = tinymce.explode;
+
+ tinymce.create('tinymce.Editor', {
+ Editor : function(id, settings) {
+ var self = this, TRUE = true;
+
+ self.settings = settings = extend({
+ id : id,
+ language : 'en',
+ theme : 'advanced',
+ skin : 'default',
+ delta_width : 0,
+ delta_height : 0,
+ popup_css : '',
+ plugins : '',
+ document_base_url : tinymce.documentBaseURL,
+ add_form_submit_trigger : TRUE,
+ submit_patch : TRUE,
+ add_unload_trigger : TRUE,
+ convert_urls : TRUE,
+ relative_urls : TRUE,
+ remove_script_host : TRUE,
+ table_inline_editing : false,
+ object_resizing : TRUE,
+ accessibility_focus : TRUE,
+ doctype : tinymce.isIE6 ? '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">' : '<!DOCTYPE>', // Use old doctype on IE 6 to avoid horizontal scroll
+ visual : TRUE,
+ font_size_style_values : 'xx-small,x-small,small,medium,large,x-large,xx-large',
+ font_size_legacy_values : 'xx-small,small,medium,large,x-large,xx-large,300%', // See: http://www.w3.org/TR/CSS2/fonts.html#propdef-font-size
+ apply_source_formatting : TRUE,
+ directionality : 'ltr',
+ forced_root_block : 'p',
+ hidden_input : TRUE,
+ padd_empty_editor : TRUE,
+ render_ui : TRUE,
+ indentation : '30px',
+ fix_table_elements : TRUE,
+ inline_styles : TRUE,
+ convert_fonts_to_spans : TRUE,
+ indent : 'simple',
+ indent_before : 'p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,ul,li,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist',
+ indent_after : 'p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,ul,li,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist',
+ validate : TRUE,
+ entity_encoding : 'named',
+ url_converter : self.convertURL,
+ url_converter_scope : self,
+ ie7_compat : TRUE
+ }, settings);
+
+ self.id = self.editorId = id;
+
+ self.isNotDirty = false;
+
+ self.plugins = {};
+
+ self.documentBaseURI = new tinymce.util.URI(settings.document_base_url || tinymce.documentBaseURL, {
+ base_uri : tinyMCE.baseURI
+ });
+
+ self.baseURI = tinymce.baseURI;
+
+ self.contentCSS = [];
+
+ self.contentStyles = [];
+
+ // Creates all events like onClick, onSetContent etc see Editor.Events.js for the actual logic
+ self.setupEvents();
+
+ // Internal command handler objects
+ self.execCommands = {};
+ self.queryStateCommands = {};
+ self.queryValueCommands = {};
+
+ // Call setup
+ self.execCallback('setup', self);
+ },
+
+ render : function(nst) {
+ var t = this, s = t.settings, id = t.id, sl = tinymce.ScriptLoader;
+
+ // Page is not loaded yet, wait for it
+ if (!Event.domLoaded) {
+ Event.add(window, 'ready', function() {
+ t.render();
+ });
+ return;
+ }
+
+ tinyMCE.settings = s;
+
+ // Element not found, then skip initialization
+ if (!t.getElement())
+ return;
+
+ // Is a iPad/iPhone and not on iOS5, then skip initialization. We need to sniff
+ // here since the browser says it has contentEditable support but there is no visible caret.
+ if (tinymce.isIDevice && !tinymce.isIOS5)
+ return;
+
+ // Add hidden input for non input elements inside form elements
+ if (!/TEXTAREA|INPUT/i.test(t.getElement().nodeName) && s.hidden_input && DOM.getParent(id, 'form'))
+ DOM.insertAfter(DOM.create('input', {type : 'hidden', name : id}), id);
+
+ // Hide target element early to prevent content flashing
+ if (!s.content_editable) {
+ t.orgVisibility = t.getElement().style.visibility;
+ t.getElement().style.visibility = 'hidden';
+ }
+
+ if (tinymce.WindowManager)
+ t.windowManager = new tinymce.WindowManager(t);
+
+ if (s.encoding == 'xml') {
+ t.onGetContent.add(function(ed, o) {
+ if (o.save)
+ o.content = DOM.encode(o.content);
+ });
+ }
+
+ if (s.add_form_submit_trigger) {
+ t.onSubmit.addToTop(function() {
+ if (t.initialized) {
+ t.save();
+ t.isNotDirty = 1;
+ }
+ });
+ }
+
+ if (s.add_unload_trigger) {
+ t._beforeUnload = tinyMCE.onBeforeUnload.add(function() {
+ if (t.initialized && !t.destroyed && !t.isHidden())
+ t.save({format : 'raw', no_events : true});
+ });
+ }
+
+ tinymce.addUnload(t.destroy, t);
+
+ if (s.submit_patch) {
+ t.onBeforeRenderUI.add(function() {
+ var n = t.getElement().form;
+
+ if (!n)
+ return;
+
+ // Already patched
+ if (n._mceOldSubmit)
+ return;
+
+ // Check page uses id="submit" or name="submit" for it's submit button
+ if (!n.submit.nodeType && !n.submit.length) {
+ t.formElement = n;
+ n._mceOldSubmit = n.submit;
+ n.submit = function() {
+ // Save all instances
+ tinymce.triggerSave();
+ t.isNotDirty = 1;
+
+ return t.formElement._mceOldSubmit(t.formElement);
+ };
+ }
+
+ n = null;
+ });
+ }
+
+ // Load scripts
+ function loadScripts() {
+ if (s.language && s.language_load !== false)
+ sl.add(tinymce.baseURL + '/langs/' + s.language + '.js');
+
+ if (s.theme && typeof s.theme != "function" && s.theme.charAt(0) != '-' && !ThemeManager.urls[s.theme])
+ ThemeManager.load(s.theme, 'themes/' + s.theme + '/editor_template' + tinymce.suffix + '.js');
+
+ each(explode(s.plugins), function(p) {
+ if (p &&!PluginManager.urls[p]) {
+ if (p.charAt(0) == '-') {
+ p = p.substr(1, p.length);
+ var dependencies = PluginManager.dependencies(p);
+ each(dependencies, function(dep) {
+ var defaultSettings = {prefix:'plugins/', resource: dep, suffix:'/editor_plugin' + tinymce.suffix + '.js'};
+ dep = PluginManager.createUrl(defaultSettings, dep);
+ PluginManager.load(dep.resource, dep);
+ });
+ } else {
+ // Skip safari plugin, since it is removed as of 3.3b1
+ if (p == 'safari') {
+ return;
+ }
+ PluginManager.load(p, {prefix:'plugins/', resource: p, suffix:'/editor_plugin' + tinymce.suffix + '.js'});
+ }
+ }
+ });
+
+ // Init when que is loaded
+ sl.loadQueue(function() {
+ if (!t.removed)
+ t.init();
+ });
+ };
+
+ loadScripts();
+ },
+
+ init : function() {
+ var n, t = this, s = t.settings, w, h, mh, e = t.getElement(), o, ti, u, bi, bc, re, i, initializedPlugins = [];
+
+ tinymce.add(t);
+
+ s.aria_label = s.aria_label || DOM.getAttrib(e, 'aria-label', t.getLang('aria.rich_text_area'));
+
+ if (s.theme) {
+ if (typeof s.theme != "function") {
+ s.theme = s.theme.replace(/-/, '');
+ o = ThemeManager.get(s.theme);
+ t.theme = new o();
+
+ if (t.theme.init)
+ t.theme.init(t, ThemeManager.urls[s.theme] || tinymce.documentBaseURL.replace(/\/$/, ''));
+ } else {
+ t.theme = s.theme;
+ }
+ }
+
+ function initPlugin(p) {
+ var c = PluginManager.get(p), u = PluginManager.urls[p] || tinymce.documentBaseURL.replace(/\/$/, ''), po;
+ if (c && tinymce.inArray(initializedPlugins,p) === -1) {
+ each(PluginManager.dependencies(p), function(dep){
+ initPlugin(dep);
+ });
+ po = new c(t, u);
+
+ t.plugins[p] = po;
+
+ if (po.init) {
+ po.init(t, u);
+ initializedPlugins.push(p);
+ }
+ }
+ }
+
+ // Create all plugins
+ each(explode(s.plugins.replace(/\-/g, '')), initPlugin);
+
+ // Setup popup CSS path(s)
+ if (s.popup_css !== false) {
+ if (s.popup_css)
+ s.popup_css = t.documentBaseURI.toAbsolute(s.popup_css);
+ else
+ s.popup_css = t.baseURI.toAbsolute("themes/" + s.theme + "/skins/" + s.skin + "/dialog.css");
+ }
+
+ if (s.popup_css_add)
+ s.popup_css += ',' + t.documentBaseURI.toAbsolute(s.popup_css_add);
+
+ t.controlManager = new tinymce.ControlManager(t);
+
+ // Enables users to override the control factory
+ t.onBeforeRenderUI.dispatch(t, t.controlManager);
+
+ // Measure box
+ if (s.render_ui && t.theme) {
+ t.orgDisplay = e.style.display;
+
+ if (typeof s.theme != "function") {
+ w = s.width || e.style.width || e.offsetWidth;
+ h = s.height || e.style.height || e.offsetHeight;
+ mh = s.min_height || 100;
+ re = /^[0-9\.]+(|px)$/i;
+
+ if (re.test('' + w))
+ w = Math.max(parseInt(w, 10) + (o.deltaWidth || 0), 100);
+
+ if (re.test('' + h))
+ h = Math.max(parseInt(h, 10) + (o.deltaHeight || 0), mh);
+
+ // Render UI
+ o = t.theme.renderUI({
+ targetNode : e,
+ width : w,
+ height : h,
+ deltaWidth : s.delta_width,
+ deltaHeight : s.delta_height
+ });
+
+ // Resize editor
+ DOM.setStyles(o.sizeContainer || o.editorContainer, {
+ width : w,
+ height : h
+ });
+
+ h = (o.iframeHeight || h) + (typeof(h) == 'number' ? (o.deltaHeight || 0) : '');
+ if (h < mh)
+ h = mh;
+ } else {
+ o = s.theme(t, e);
+
+ // Convert element type to id:s
+ if (o.editorContainer.nodeType) {
+ o.editorContainer = o.editorContainer.id = o.editorContainer.id || t.id + "_parent";
+ }
+
+ // Convert element type to id:s
+ if (o.iframeContainer.nodeType) {
+ o.iframeContainer = o.iframeContainer.id = o.iframeContainer.id || t.id + "_iframecontainer";
+ }
+
+ // Use specified iframe height or the targets offsetHeight
+ h = o.iframeHeight || e.offsetHeight;
+
+ // Store away the selection when it's changed to it can be restored later with a editor.focus() call
+ if (isIE) {
+ t.onInit.add(function(ed) {
+ ed.dom.bind(ed.getBody(), 'beforedeactivate keydown', function() {
+ ed.lastIERng = ed.selection.getRng();
+ });
+ });
+ }
+ }
+
+ t.editorContainer = o.editorContainer;
+ }
+
+ // Load specified content CSS last
+ if (s.content_css) {
+ each(explode(s.content_css), function(u) {
+ t.contentCSS.push(t.documentBaseURI.toAbsolute(u));
+ });
+ }
+
+ // Load specified content CSS last
+ if (s.content_style) {
+ t.contentStyles.push(s.content_style);
+ }
+
+ // Content editable mode ends here
+ if (s.content_editable) {
+ e = n = o = null; // Fix IE leak
+ return t.initContentBody();
+ }
+
+ // User specified a document.domain value
+ if (document.domain && location.hostname != document.domain)
+ tinymce.relaxedDomain = document.domain;
+
+ t.iframeHTML = s.doctype + '<html><head xmlns="http://www.w3.org/1999/xhtml">';
+
+ // We only need to override paths if we have to
+ // IE has a bug where it remove site absolute urls to relative ones if this is specified
+ if (s.document_base_url != tinymce.documentBaseURL)
+ t.iframeHTML += '<base href="' + t.documentBaseURI.getURI() + '" />';
+
+ // IE8 doesn't support carets behind images setting ie7_compat would force IE8+ to run in IE7 compat mode.
+ if (s.ie7_compat)
+ t.iframeHTML += '<meta http-equiv="X-UA-Compatible" content="IE=7" />';
+ else
+ t.iframeHTML += '<meta http-equiv="X-UA-Compatible" content="IE=edge" />';
+
+ t.iframeHTML += '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';
+
+ // Load the CSS by injecting them into the HTML this will reduce "flicker"
+ for (i = 0; i < t.contentCSS.length; i++) {
+ t.iframeHTML += '<link type="text/css" rel="stylesheet" href="' + t.contentCSS[i] + '" />';
+ }
+
+ t.contentCSS = [];
+
+ bi = s.body_id || 'tinymce';
+ if (bi.indexOf('=') != -1) {
+ bi = t.getParam('body_id', '', 'hash');
+ bi = bi[t.id] || bi;
+ }
+
+ bc = s.body_class || '';
+ if (bc.indexOf('=') != -1) {
+ bc = t.getParam('body_class', '', 'hash');
+ bc = bc[t.id] || '';
+ }
+
+ t.iframeHTML += '</head><body id="' + bi + '" class="mceContentBody ' + bc + '" onload="window.parent.tinyMCE.get(\'' + t.id + '\').onLoad.dispatch();"><br></body></html>';
+
+ // Domain relaxing enabled, then set document domain
+ if (tinymce.relaxedDomain && (isIE || (tinymce.isOpera && parseFloat(opera.version()) < 11))) {
+ // We need to write the contents here in IE since multiple writes messes up refresh button and back button
+ u = 'javascript:(function(){document.open();document.domain="' + document.domain + '";var ed = window.parent.tinyMCE.get("' + t.id + '");document.write(ed.iframeHTML);document.close();ed.initContentBody();})()';
+ }
+
+ // Create iframe
+ // TODO: ACC add the appropriate description on this.
+ n = DOM.add(o.iframeContainer, 'iframe', {
+ id : t.id + "_ifr",
+ src : u || 'javascript:""', // Workaround for HTTPS warning in IE6/7
+ frameBorder : '0',
+ allowTransparency : "true",
+ title : s.aria_label,
+ style : {
+ width : '100%',
+ height : h,
+ display : 'block' // Important for Gecko to render the iframe correctly
+ }
+ });
+
+ t.contentAreaContainer = o.iframeContainer;
+
+ if (o.editorContainer) {
+ DOM.get(o.editorContainer).style.display = t.orgDisplay;
+ }
+
+ // Restore visibility on target element
+ e.style.visibility = t.orgVisibility;
+
+ DOM.get(t.id).style.display = 'none';
+ DOM.setAttrib(t.id, 'aria-hidden', true);
+
+ if (!tinymce.relaxedDomain || !u)
+ t.initContentBody();
+
+ e = n = o = null; // Cleanup
+ },
+
+ initContentBody : function() {
+ var self = this, settings = self.settings, targetElm = DOM.get(self.id), doc = self.getDoc(), html, body, contentCssText;
+
+ // Setup iframe body
+ if ((!isIE || !tinymce.relaxedDomain) && !settings.content_editable) {
+ doc.open();
+ doc.write(self.iframeHTML);
+ doc.close();
+
+ if (tinymce.relaxedDomain)
+ doc.domain = tinymce.relaxedDomain;
+ }
+
+ if (settings.content_editable) {
+ DOM.addClass(targetElm, 'mceContentBody');
+ self.contentDocument = doc = settings.content_document || document;
+ self.contentWindow = settings.content_window || window;
+ self.bodyElement = targetElm;
+
+ // Prevent leak in IE
+ settings.content_document = settings.content_window = null;
+ }
+
+ // It will not steal focus while setting contentEditable
+ body = self.getBody();
+ body.disabled = true;
+
+ if (!settings.readonly)
+ body.contentEditable = self.getParam('content_editable_state', true);
+
+ body.disabled = false;
+
+ self.schema = new tinymce.html.Schema(settings);
+
+ self.dom = new tinymce.dom.DOMUtils(doc, {
+ keep_values : true,
+ url_converter : self.convertURL,
+ url_converter_scope : self,
+ hex_colors : settings.force_hex_style_colors,
+ class_filter : settings.class_filter,
+ update_styles : true,
+ root_element : settings.content_editable ? self.id : null,
+ schema : self.schema
+ });
+
+ self.parser = new tinymce.html.DomParser(settings, self.schema);
+
+ // Convert src and href into data-mce-src, data-mce-href and data-mce-style
+ self.parser.addAttributeFilter('src,href,style', function(nodes, name) {
+ var i = nodes.length, node, dom = self.dom, value, internalName;
+
+ while (i--) {
+ node = nodes[i];
+ value = node.attr(name);
+ internalName = 'data-mce-' + name;
+
+ // Add internal attribute if we need to we don't on a refresh of the document
+ if (!node.attributes.map[internalName]) {
+ if (name === "style")
+ node.attr(internalName, dom.serializeStyle(dom.parseStyle(value), node.name));
+ else
+ node.attr(internalName, self.convertURL(value, name, node.name));
+ }
+ }
+ });
+
+ // Keep scripts from executing
+ self.parser.addNodeFilter('script', function(nodes, name) {
+ var i = nodes.length, node;
+
+ while (i--) {
+ node = nodes[i];
+ node.attr('type', 'mce-' + (node.attr('type') || 'text/javascript'));
+ }
+ });
+
+ self.parser.addNodeFilter('#cdata', function(nodes, name) {
+ var i = nodes.length, node;
+
+ while (i--) {
+ node = nodes[i];
+ node.type = 8;
+ node.name = '#comment';
+ node.value = '[CDATA[' + node.value + ']]';
+ }
+ });
+
+ self.parser.addNodeFilter('p,h1,h2,h3,h4,h5,h6,div', function(nodes, name) {
+ var i = nodes.length, node, nonEmptyElements = self.schema.getNonEmptyElements();
+
+ while (i--) {
+ node = nodes[i];
+
+ if (node.isEmpty(nonEmptyElements))
+ node.empty().append(new tinymce.html.Node('br', 1)).shortEnded = true;
+ }
+ });
+
+ self.serializer = new tinymce.dom.Serializer(settings, self.dom, self.schema);
+
+ self.selection = new tinymce.dom.Selection(self.dom, self.getWin(), self.serializer, self);
+
+ self.formatter = new tinymce.Formatter(self);
+
+ self.undoManager = new tinymce.UndoManager(self);
+
+ self.forceBlocks = new tinymce.ForceBlocks(self);
+ self.enterKey = new tinymce.EnterKey(self);
+ self.editorCommands = new tinymce.EditorCommands(self);
+
+ self.onExecCommand.add(function(editor, command) {
+ // Don't refresh the select lists until caret move
+ if (!/^(FontName|FontSize)$/.test(command))
+ self.nodeChanged();
+ });
+
+ // Pass through
+ self.serializer.onPreProcess.add(function(se, o) {
+ return self.onPreProcess.dispatch(self, o, se);
+ });
+
+ self.serializer.onPostProcess.add(function(se, o) {
+ return self.onPostProcess.dispatch(self, o, se);
+ });
+
+ self.onPreInit.dispatch(self);
+
+ if (!settings.browser_spellcheck && !settings.gecko_spellcheck)
+ doc.body.spellcheck = false;
+
+ if (!settings.readonly) {
+ self.bindNativeEvents();
+ }
+
+ self.controlManager.onPostRender.dispatch(self, self.controlManager);
+ self.onPostRender.dispatch(self);
+
+ self.quirks = tinymce.util.Quirks(self);
+
+ if (settings.directionality)
+ body.dir = settings.directionality;
+
+ if (settings.nowrap)
+ body.style.whiteSpace = "nowrap";
+
+ if (settings.protect) {
+ self.onBeforeSetContent.add(function(ed, o) {
+ each(settings.protect, function(pattern) {
+ o.content = o.content.replace(pattern, function(str) {
+ return '<!--mce:protected ' + escape(str) + '-->';
+ });
+ });
+ });
+ }
+
+ // Add visual aids when new contents is added
+ self.onSetContent.add(function() {
+ self.addVisual(self.getBody());
+ });
+
+ // Remove empty contents
+ if (settings.padd_empty_editor) {
+ self.onPostProcess.add(function(ed, o) {
+ o.content = o.content.replace(/^(<p[^>]*>(&nbsp;|&#160;|\s|\u00a0|)<\/p>[\r\n]*|<br \/>[\r\n]*)$/, '');
+ });
+ }
+
+ self.load({initial : true, format : 'html'});
+ self.startContent = self.getContent({format : 'raw'});
+
+ self.initialized = true;
+
+ self.onInit.dispatch(self);
+ self.execCallback('setupcontent_callback', self.id, body, doc);
+ self.execCallback('init_instance_callback', self);
+ self.focus(true);
+ self.nodeChanged({initial : true});
+
+ // Add editor specific CSS styles
+ if (self.contentStyles.length > 0) {
+ contentCssText = '';
+
+ each(self.contentStyles, function(style) {
+ contentCssText += style + "\r\n";
+ });
+
+ self.dom.addStyle(contentCssText);
+ }
+
+ // Load specified content CSS last
+ each(self.contentCSS, function(url) {
+ self.dom.loadCSS(url);
+ });
+
+ // Handle auto focus
+ if (settings.auto_focus) {
+ setTimeout(function () {
+ var ed = tinymce.get(settings.auto_focus);
+
+ ed.selection.select(ed.getBody(), 1);
+ ed.selection.collapse(1);
+ ed.getBody().focus();
+ ed.getWin().focus();
+ }, 100);
+ }
+
+ // Clean up references for IE
+ targetElm = doc = body = null;
+ },
+
+ focus : function(skip_focus) {
+ var oed, self = this, selection = self.selection, contentEditable = self.settings.content_editable, ieRng, controlElm, doc = self.getDoc(), body;
+
+ if (!skip_focus) {
+ if (self.lastIERng) {
+ selection.setRng(self.lastIERng);
+ }
+
+ // Get selected control element
+ ieRng = selection.getRng();
+ if (ieRng.item) {
+ controlElm = ieRng.item(0);
+ }
+
+ self._refreshContentEditable();
+
+ // Focus the window iframe
+ if (!contentEditable) {
+ self.getWin().focus();
+ }
+
+ // Focus the body as well since it's contentEditable
+ if (tinymce.isGecko || contentEditable) {
+ body = self.getBody();
+
+ // Check for setActive since it doesn't scroll to the element
+ if (body.setActive) {
+ body.setActive();
+ } else {
+ body.focus();
+ }
+
+ if (contentEditable) {
+ selection.normalize();
+ }
+ }
+
+ // Restore selected control element
+ // This is needed when for example an image is selected within a
+ // layer a call to focus will then remove the control selection
+ if (controlElm && controlElm.ownerDocument == doc) {
+ ieRng = doc.body.createControlRange();
+ ieRng.addElement(controlElm);
+ ieRng.select();
+ }
+ }
+
+ if (tinymce.activeEditor != self) {
+ if ((oed = tinymce.activeEditor) != null)
+ oed.onDeactivate.dispatch(oed, self);
+
+ self.onActivate.dispatch(self, oed);
+ }
+
+ tinymce._setActive(self);
+ },
+
+ execCallback : function(n) {
+ var t = this, f = t.settings[n], s;
+
+ if (!f)
+ return;
+
+ // Look through lookup
+ if (t.callbackLookup && (s = t.callbackLookup[n])) {
+ f = s.func;
+ s = s.scope;
+ }
+
+ if (is(f, 'string')) {
+ s = f.replace(/\.\w+$/, '');
+ s = s ? tinymce.resolve(s) : 0;
+ f = tinymce.resolve(f);
+ t.callbackLookup = t.callbackLookup || {};
+ t.callbackLookup[n] = {func : f, scope : s};
+ }
+
+ return f.apply(s || t, Array.prototype.slice.call(arguments, 1));
+ },
+
+ translate : function(s) {
+ var c = this.settings.language || 'en', i18n = tinymce.i18n;
+
+ if (!s)
+ return '';
+
+ return i18n[c + '.' + s] || s.replace(/\{\#([^\}]+)\}/g, function(a, b) {
+ return i18n[c + '.' + b] || '{#' + b + '}';
+ });
+ },
+
+ getLang : function(n, dv) {
+ return tinymce.i18n[(this.settings.language || 'en') + '.' + n] || (is(dv) ? dv : '{#' + n + '}');
+ },
+
+ getParam : function(n, dv, ty) {
+ var tr = tinymce.trim, v = is(this.settings[n]) ? this.settings[n] : dv, o;
+
+ if (ty === 'hash') {
+ o = {};
+
+ if (is(v, 'string')) {
+ each(v.indexOf('=') > 0 ? v.split(/[;,](?![^=;,]*(?:[;,]|$))/) : v.split(','), function(v) {
+ v = v.split('=');
+
+ if (v.length > 1)
+ o[tr(v[0])] = tr(v[1]);
+ else
+ o[tr(v[0])] = tr(v);
+ });
+ } else
+ o = v;
+
+ return o;
+ }
+
+ return v;
+ },
+
+ nodeChanged : function(o) {
+ var self = this, selection = self.selection, node;
+
+ // Fix for bug #1896577 it seems that this can not be fired while the editor is loading
+ if (self.initialized) {
+ o = o || {};
+
+ // Get start node
+ node = selection.getStart() || self.getBody();
+ node = isIE && node.ownerDocument != self.getDoc() ? self.getBody() : node; // Fix for IE initial state
+
+ // Get parents and add them to object
+ o.parents = [];
+ self.dom.getParent(node, function(node) {
+ if (node.nodeName == 'BODY')
+ return true;
+
+ o.parents.push(node);
+ });
+
+ self.onNodeChange.dispatch(
+ self,
+ o ? o.controlManager || self.controlManager : self.controlManager,
+ node,
+ selection.isCollapsed(),
+ o
+ );
+ }
+ },
+
+ addButton : function(name, settings) {
+ var self = this;
+
+ self.buttons = self.buttons || {};
+ self.buttons[name] = settings;
+ },
+
+ addCommand : function(name, callback, scope) {
+ this.execCommands[name] = {func : callback, scope : scope || this};
+ },
+
+ addQueryStateHandler : function(name, callback, scope) {
+ this.queryStateCommands[name] = {func : callback, scope : scope || this};
+ },
+
+ addQueryValueHandler : function(name, callback, scope) {
+ this.queryValueCommands[name] = {func : callback, scope : scope || this};
+ },
+
+ addShortcut : function(pa, desc, cmd_func, sc) {
+ var t = this, c;
+
+ if (t.settings.custom_shortcuts === false)
+ return false;
+
+ t.shortcuts = t.shortcuts || {};
+
+ if (is(cmd_func, 'string')) {
+ c = cmd_func;
+
+ cmd_func = function() {
+ t.execCommand(c, false, null);
+ };
+ }
+
+ if (is(cmd_func, 'object')) {
+ c = cmd_func;
+
+ cmd_func = function() {
+ t.execCommand(c[0], c[1], c[2]);
+ };
+ }
+
+ each(explode(pa), function(pa) {
+ var o = {
+ func : cmd_func,
+ scope : sc || this,
+ desc : t.translate(desc),
+ alt : false,
+ ctrl : false,
+ shift : false
+ };
+
+ each(explode(pa, '+'), function(v) {
+ switch (v) {
+ case 'alt':
+ case 'ctrl':
+ case 'shift':
+ o[v] = true;
+ break;
+
+ default:
+ o.charCode = v.charCodeAt(0);
+ o.keyCode = v.toUpperCase().charCodeAt(0);
+ }
+ });
+
+ t.shortcuts[(o.ctrl ? 'ctrl' : '') + ',' + (o.alt ? 'alt' : '') + ',' + (o.shift ? 'shift' : '') + ',' + o.keyCode] = o;
+ });
+
+ return true;
+ },
+
+ execCommand : function(cmd, ui, val, a) {
+ var t = this, s = 0, o, st;
+
+ if (!/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint|SelectAll)$/.test(cmd) && (!a || !a.skip_focus))
+ t.focus();
+
+ a = extend({}, a);
+ t.onBeforeExecCommand.dispatch(t, cmd, ui, val, a);
+ if (a.terminate)
+ return false;
+
+ // Command callback
+ if (t.execCallback('execcommand_callback', t.id, t.selection.getNode(), cmd, ui, val)) {
+ t.onExecCommand.dispatch(t, cmd, ui, val, a);
+ return true;
+ }
+
+ // Registred commands
+ if (o = t.execCommands[cmd]) {
+ st = o.func.call(o.scope, ui, val);
+
+ // Fall through on true
+ if (st !== true) {
+ t.onExecCommand.dispatch(t, cmd, ui, val, a);
+ return st;
+ }
+ }
+
+ // Plugin commands
+ each(t.plugins, function(p) {
+ if (p.execCommand && p.execCommand(cmd, ui, val)) {
+ t.onExecCommand.dispatch(t, cmd, ui, val, a);
+ s = 1;
+ return false;
+ }
+ });
+
+ if (s)
+ return true;
+
+ // Theme commands
+ if (t.theme && t.theme.execCommand && t.theme.execCommand(cmd, ui, val)) {
+ t.onExecCommand.dispatch(t, cmd, ui, val, a);
+ return true;
+ }
+
+ // Editor commands
+ if (t.editorCommands.execCommand(cmd, ui, val)) {
+ t.onExecCommand.dispatch(t, cmd, ui, val, a);
+ return true;
+ }
+
+ // Browser commands
+ t.getDoc().execCommand(cmd, ui, val);
+ t.onExecCommand.dispatch(t, cmd, ui, val, a);
+ },
+
+ queryCommandState : function(cmd) {
+ var t = this, o, s;
+
+ // Is hidden then return undefined
+ if (t._isHidden())
+ return;
+
+ // Registred commands
+ if (o = t.queryStateCommands[cmd]) {
+ s = o.func.call(o.scope);
+
+ // Fall though on true
+ if (s !== true)
+ return s;
+ }
+
+ // Registred commands
+ o = t.editorCommands.queryCommandState(cmd);
+ if (o !== -1)
+ return o;
+
+ // Browser commands
+ try {
+ return this.getDoc().queryCommandState(cmd);
+ } catch (ex) {
+ // Fails sometimes see bug: 1896577
+ }
+ },
+
+ queryCommandValue : function(c) {
+ var t = this, o, s;
+
+ // Is hidden then return undefined
+ if (t._isHidden())
+ return;
+
+ // Registred commands
+ if (o = t.queryValueCommands[c]) {
+ s = o.func.call(o.scope);
+
+ // Fall though on true
+ if (s !== true)
+ return s;
+ }
+
+ // Registred commands
+ o = t.editorCommands.queryCommandValue(c);
+ if (is(o))
+ return o;
+
+ // Browser commands
+ try {
+ return this.getDoc().queryCommandValue(c);
+ } catch (ex) {
+ // Fails sometimes see bug: 1896577
+ }
+ },
+
+ show : function() {
+ var self = this;
+
+ DOM.show(self.getContainer());
+ DOM.hide(self.id);
+ self.load();
+ },
+
+ hide : function() {
+ var self = this, doc = self.getDoc();
+
+ // Fixed bug where IE has a blinking cursor left from the editor
+ if (isIE && doc)
+ doc.execCommand('SelectAll');
+
+ // We must save before we hide so Safari doesn't crash
+ self.save();
+
+ // defer the call to hide to prevent an IE9 crash #4921
+ setTimeout(function() {
+ DOM.hide(self.getContainer());
+ }, 1);
+ DOM.setStyle(self.id, 'display', self.orgDisplay);
+ },
+
+ isHidden : function() {
+ return !DOM.isHidden(this.id);
+ },
+
+ setProgressState : function(b, ti, o) {
+ this.onSetProgressState.dispatch(this, b, ti, o);
+
+ return b;
+ },
+
+ load : function(o) {
+ var t = this, e = t.getElement(), h;
+
+ if (e) {
+ o = o || {};
+ o.load = true;
+
+ // Double encode existing entities in the value
+ h = t.setContent(is(e.value) ? e.value : e.innerHTML, o);
+ o.element = e;
+
+ if (!o.no_events)
+ t.onLoadContent.dispatch(t, o);
+
+ o.element = e = null;
+
+ return h;
+ }
+ },
+
+ save : function(o) {
+ var t = this, e = t.getElement(), h, f;
+
+ if (!e || !t.initialized)
+ return;
+
+ o = o || {};
+ o.save = true;
+
+ o.element = e;
+ h = o.content = t.getContent(o);
+
+ if (!o.no_events)
+ t.onSaveContent.dispatch(t, o);
+
+ h = o.content;
+
+ if (!/TEXTAREA|INPUT/i.test(e.nodeName)) {
+ e.innerHTML = h;
+
+ // Update hidden form element
+ if (f = DOM.getParent(t.id, 'form')) {
+ each(f.elements, function(e) {
+ if (e.name == t.id) {
+ e.value = h;
+ return false;
+ }
+ });
+ }
+ } else
+ e.value = h;
+
+ o.element = e = null;
+
+ return h;
+ },
+
+ setContent : function(content, args) {
+ var self = this, rootNode, body = self.getBody(), forcedRootBlockName;
+
+ // Setup args object
+ args = args || {};
+ args.format = args.format || 'html';
+ args.set = true;
+ args.content = content;
+
+ // Do preprocessing
+ if (!args.no_events)
+ self.onBeforeSetContent.dispatch(self, args);
+
+ content = args.content;
+
+ // Padd empty content in Gecko and Safari. Commands will otherwise fail on the content
+ // It will also be impossible to place the caret in the editor unless there is a BR element present
+ if (!tinymce.isIE && (content.length === 0 || /^\s+$/.test(content))) {
+ forcedRootBlockName = self.settings.forced_root_block;
+ if (forcedRootBlockName)
+ content = '<' + forcedRootBlockName + '><br data-mce-bogus="1"></' + forcedRootBlockName + '>';
+ else
+ content = '<br data-mce-bogus="1">';
+
+ body.innerHTML = content;
+ self.selection.select(body, true);
+ self.selection.collapse(true);
+ return;
+ }
+
+ // Parse and serialize the html
+ if (args.format !== 'raw') {
+ content = new tinymce.html.Serializer({}, self.schema).serialize(
+ self.parser.parse(content)
+ );
+ }
+
+ // Set the new cleaned contents to the editor
+ args.content = tinymce.trim(content);
+ self.dom.setHTML(body, args.content);
+
+ // Do post processing
+ if (!args.no_events)
+ self.onSetContent.dispatch(self, args);
+
+ // Don't normalize selection if the focused element isn't the body in content editable mode since it will steal focus otherwise
+ if (!self.settings.content_editable || document.activeElement === self.getBody()) {
+ self.selection.normalize();
+ }
+
+ return args.content;
+ },
+
+ getContent : function(args) {
+ var self = this, content, body = self.getBody();
+
+ // Setup args object
+ args = args || {};
+ args.format = args.format || 'html';
+ args.get = true;
+ args.getInner = true;
+
+ // Do preprocessing
+ if (!args.no_events)
+ self.onBeforeGetContent.dispatch(self, args);
+
+ // Get raw contents or by default the cleaned contents
+ if (args.format == 'raw')
+ content = body.innerHTML;
+ else if (args.format == 'text')
+ content = body.innerText || body.textContent;
+ else
+ content = self.serializer.serialize(body, args);
+
+ // Trim whitespace in beginning/end of HTML
+ if (args.format != 'text') {
+ args.content = tinymce.trim(content);
+ } else {
+ args.content = content;
+ }
+
+ // Do post processing
+ if (!args.no_events)
+ self.onGetContent.dispatch(self, args);
+
+ return args.content;
+ },
+
+ isDirty : function() {
+ var self = this;
+
+ return tinymce.trim(self.startContent) != tinymce.trim(self.getContent({format : 'raw', no_events : 1})) && !self.isNotDirty;
+ },
+
+ getContainer : function() {
+ var self = this;
+
+ if (!self.container)
+ self.container = DOM.get(self.editorContainer || self.id + '_parent');
+
+ return self.container;
+ },
+
+ getContentAreaContainer : function() {
+ return this.contentAreaContainer;
+ },
+
+ getElement : function() {
+ return DOM.get(this.settings.content_element || this.id);
+ },
+
+ getWin : function() {
+ var self = this, elm;
+
+ if (!self.contentWindow) {
+ elm = DOM.get(self.id + "_ifr");
+
+ if (elm)
+ self.contentWindow = elm.contentWindow;
+ }
+
+ return self.contentWindow;
+ },
+
+ getDoc : function() {
+ var self = this, win;
+
+ if (!self.contentDocument) {
+ win = self.getWin();
+
+ if (win)
+ self.contentDocument = win.document;
+ }
+
+ return self.contentDocument;
+ },
+
+ getBody : function() {
+ return this.bodyElement || this.getDoc().body;
+ },
+
+ convertURL : function(url, name, elm) {
+ var self = this, settings = self.settings;
+
+ // Use callback instead
+ if (settings.urlconverter_callback)
+ return self.execCallback('urlconverter_callback', url, elm, true, name);
+
+ // Don't convert link href since thats the CSS files that gets loaded into the editor also skip local file URLs
+ if (!settings.convert_urls || (elm && elm.nodeName == 'LINK') || url.indexOf('file:') === 0)
+ return url;
+
+ // Convert to relative
+ if (settings.relative_urls)
+ return self.documentBaseURI.toRelative(url);
+
+ // Convert to absolute
+ url = self.documentBaseURI.toAbsolute(url, settings.remove_script_host);
+
+ return url;
+ },
+
+ addVisual : function(elm) {
+ var self = this, settings = self.settings, dom = self.dom, cls;
+
+ elm = elm || self.getBody();
+
+ if (!is(self.hasVisual))
+ self.hasVisual = settings.visual;
+
+ each(dom.select('table,a', elm), function(elm) {
+ var value;
+
+ switch (elm.nodeName) {
+ case 'TABLE':
+ cls = settings.visual_table_class || 'mceItemTable';
+ value = dom.getAttrib(elm, 'border');
+
+ if (!value || value == '0') {
+ if (self.hasVisual)
+ dom.addClass(elm, cls);
+ else
+ dom.removeClass(elm, cls);
+ }
+
+ return;
+
+ case 'A':
+ if (!dom.getAttrib(elm, 'href', false)) {
+ value = dom.getAttrib(elm, 'name') || elm.id;
+ cls = 'mceItemAnchor';
+
+ if (value) {
+ if (self.hasVisual)
+ dom.addClass(elm, cls);
+ else
+ dom.removeClass(elm, cls);
+ }
+ }
+
+ return;
+ }
+ });
+
+ self.onVisualAid.dispatch(self, elm, self.hasVisual);
+ },
+
+ remove : function() {
+ var self = this, elm = self.getContainer();
+
+ if (!self.removed) {
+ self.removed = 1; // Cancels post remove event execution
+ self.hide();
+
+ // Don't clear the window or document if content editable
+ // is enabled since other instances might still be present
+ if (!self.settings.content_editable) {
+ Event.unbind(self.getWin());
+ Event.unbind(self.getDoc());
+ }
+
+ Event.unbind(self.getBody());
+ Event.clear(elm);
+
+ self.execCallback('remove_instance_callback', self);
+ self.onRemove.dispatch(self);
+
+ // Clear all execCommand listeners this is required to avoid errors if the editor was removed inside another command
+ self.onExecCommand.listeners = [];
+
+ tinymce.remove(self);
+ DOM.remove(elm);
+ }
+ },
+
+ destroy : function(s) {
+ var t = this;
+
+ // One time is enough
+ if (t.destroyed)
+ return;
+
+ // We must unbind on Gecko since it would otherwise produce the pesky "attempt to run compile-and-go script on a cleared scope" message
+ if (isGecko) {
+ Event.unbind(t.getDoc());
+ Event.unbind(t.getWin());
+ Event.unbind(t.getBody());
+ }
+
+ if (!s) {
+ tinymce.removeUnload(t.destroy);
+ tinyMCE.onBeforeUnload.remove(t._beforeUnload);
+
+ // Manual destroy
+ if (t.theme && t.theme.destroy)
+ t.theme.destroy();
+
+ // Destroy controls, selection and dom
+ t.controlManager.destroy();
+ t.selection.destroy();
+ t.dom.destroy();
+ }
+
+ if (t.formElement) {
+ t.formElement.submit = t.formElement._mceOldSubmit;
+ t.formElement._mceOldSubmit = null;
+ }
+
+ t.contentAreaContainer = t.formElement = t.container = t.settings.content_element = t.bodyElement = t.contentDocument = t.contentWindow = null;
+
+ if (t.selection)
+ t.selection = t.selection.win = t.selection.dom = t.selection.dom.doc = null;
+
+ t.destroyed = 1;
+ },
+
+ // Internal functions
+
+ _refreshContentEditable : function() {
+ var self = this, body, parent;
+
+ // Check if the editor was hidden and the re-initalize contentEditable mode by removing and adding the body again
+ if (self._isHidden()) {
+ body = self.getBody();
+ parent = body.parentNode;
+
+ parent.removeChild(body);
+ parent.appendChild(body);
+
+ body.focus();
+ }
+ },
+
+ _isHidden : function() {
+ var s;
+
+ if (!isGecko)
+ return 0;
+
+ // Weird, wheres that cursor selection?
+ s = this.selection.getSel();
+ return (!s || !s.rangeCount || s.rangeCount === 0);
+ }
+ });
+})(tinymce);
+(function(tinymce) {
+ var each = tinymce.each;
+
+ tinymce.Editor.prototype.setupEvents = function() {
+ var self = this, settings = self.settings;
+
+ // Add events to the editor
+ each([
+ 'onPreInit',
+
+ 'onBeforeRenderUI',
+
+ 'onPostRender',
+
+ 'onLoad',
+
+ 'onInit',
+
+ 'onRemove',
+
+ 'onActivate',
+
+ 'onDeactivate',
+
+ 'onClick',
+
+ 'onEvent',
+
+ 'onMouseUp',
+
+ 'onMouseDown',
+
+ 'onDblClick',
+
+ 'onKeyDown',
+
+ 'onKeyUp',
+
+ 'onKeyPress',
+
+ 'onContextMenu',
+
+ 'onSubmit',
+
+ 'onReset',
+
+ 'onPaste',
+
+ 'onPreProcess',
+
+ 'onPostProcess',
+
+ 'onBeforeSetContent',
+
+ 'onBeforeGetContent',
+
+ 'onSetContent',
+
+ 'onGetContent',
+
+ 'onLoadContent',
+
+ 'onSaveContent',
+
+ 'onNodeChange',
+
+ 'onChange',
+
+ 'onBeforeExecCommand',
+
+ 'onExecCommand',
+
+ 'onUndo',
+
+ 'onRedo',
+
+ 'onVisualAid',
+
+ 'onSetProgressState',
+
+ 'onSetAttrib'
+ ], function(name) {
+ self[name] = new tinymce.util.Dispatcher(self);
+ });
+
+ // Handle legacy cleanup_callback option
+ if (settings.cleanup_callback) {
+ self.onBeforeSetContent.add(function(ed, o) {
+ o.content = ed.execCallback('cleanup_callback', 'insert_to_editor', o.content, o);
+ });
+
+ self.onPreProcess.add(function(ed, o) {
+ if (o.set)
+ ed.execCallback('cleanup_callback', 'insert_to_editor_dom', o.node, o);
+
+ if (o.get)
+ ed.execCallback('cleanup_callback', 'get_from_editor_dom', o.node, o);
+ });
+
+ self.onPostProcess.add(function(ed, o) {
+ if (o.set)
+ o.content = ed.execCallback('cleanup_callback', 'insert_to_editor', o.content, o);
+
+ if (o.get)
+ o.content = ed.execCallback('cleanup_callback', 'get_from_editor', o.content, o);
+ });
+ }
+
+ // Handle legacy save_callback option
+ if (settings.save_callback) {
+ self.onGetContent.add(function(ed, o) {
+ if (o.save)
+ o.content = ed.execCallback('save_callback', ed.id, o.content, ed.getBody());
+ });
+ }
+
+ // Handle legacy handle_event_callback option
+ if (settings.handle_event_callback) {
+ self.onEvent.add(function(ed, e, o) {
+ if (self.execCallback('handle_event_callback', e, ed, o) === false) {
+ e.preventDefault();
+ e.stopPropagation();
+ }
+ });
+ }
+
+ // Handle legacy handle_node_change_callback option
+ if (settings.handle_node_change_callback) {
+ self.onNodeChange.add(function(ed, cm, n) {
+ ed.execCallback('handle_node_change_callback', ed.id, n, -1, -1, true, ed.selection.isCollapsed());
+ });
+ }
+
+ // Handle legacy save_callback option
+ if (settings.save_callback) {
+ self.onSaveContent.add(function(ed, o) {
+ var h = ed.execCallback('save_callback', ed.id, o.content, ed.getBody());
+
+ if (h)
+ o.content = h;
+ });
+ }
+
+ // Handle legacy onchange_callback option
+ if (settings.onchange_callback) {
+ self.onChange.add(function(ed, l) {
+ ed.execCallback('onchange_callback', ed, l);
+ });
+ }
+ };
+
+ tinymce.Editor.prototype.bindNativeEvents = function() {
+ // 'focus', 'blur', 'dblclick', 'beforedeactivate', submit, reset
+ var self = this, i, settings = self.settings, dom = self.dom, nativeToDispatcherMap;
+
+ nativeToDispatcherMap = {
+ mouseup : 'onMouseUp',
+ mousedown : 'onMouseDown',
+ click : 'onClick',
+ keyup : 'onKeyUp',
+ keydown : 'onKeyDown',
+ keypress : 'onKeyPress',
+ submit : 'onSubmit',
+ reset : 'onReset',
+ contextmenu : 'onContextMenu',
+ dblclick : 'onDblClick',
+ paste : 'onPaste' // Doesn't work in all browsers yet
+ };
+
+ // Handler that takes a native event and sends it out to a dispatcher like onKeyDown
+ function eventHandler(evt, args) {
+ var type = evt.type;
+
+ // Don't fire events when it's removed
+ if (self.removed)
+ return;
+
+ // Sends the native event out to a global dispatcher then to the specific event dispatcher
+ if (self.onEvent.dispatch(self, evt, args) !== false) {
+ self[nativeToDispatcherMap[evt.fakeType || evt.type]].dispatch(self, evt, args);
+ }
+ };
+
+ // Opera doesn't support focus event for contentEditable elements so we need to fake it
+ function doOperaFocus(e) {
+ self.focus(true);
+ };
+
+ function nodeChanged(ed, e) {
+ // Normalize selection for example <b>a</b><i>|a</i> becomes <b>a|</b><i>a</i> except for Ctrl+A since it selects everything
+ if (e.keyCode != 65 || !tinymce.VK.metaKeyPressed(e)) {
+ self.selection.normalize();
+ }
+
+ self.nodeChanged();
+ }
+
+ // Add DOM events
+ each(nativeToDispatcherMap, function(dispatcherName, nativeName) {
+ var root = settings.content_editable ? self.getBody() : self.getDoc();
+
+ switch (nativeName) {
+ case 'contextmenu':
+ dom.bind(root, nativeName, eventHandler);
+ break;
+
+ case 'paste':
+ dom.bind(self.getBody(), nativeName, eventHandler);
+ break;
+
+ case 'submit':
+ case 'reset':
+ dom.bind(self.getElement().form || tinymce.DOM.getParent(self.id, 'form'), nativeName, eventHandler);
+ break;
+
+ default:
+ dom.bind(root, nativeName, eventHandler);
+ }
+ });
+
+ // Set the editor as active when focused
+ dom.bind(settings.content_editable ? self.getBody() : (tinymce.isGecko ? self.getDoc() : self.getWin()), 'focus', function(e) {
+ self.focus(true);
+ });
+
+ if (settings.content_editable && tinymce.isOpera) {
+ dom.bind(self.getBody(), 'click', doOperaFocus);
+ dom.bind(self.getBody(), 'keydown', doOperaFocus);
+ }
+
+ // Add node change handler
+ self.onMouseUp.add(nodeChanged);
+
+ self.onKeyUp.add(function(ed, e) {
+ var keyCode = e.keyCode;
+
+ if ((keyCode >= 33 && keyCode <= 36) || (keyCode >= 37 && keyCode <= 40) || keyCode == 13 || keyCode == 45 || keyCode == 46 || keyCode == 8 || (tinymce.isMac && (keyCode == 91 || keyCode == 93)) || e.ctrlKey)
+ nodeChanged(ed, e);
+ });
+
+ // Add reset handler
+ self.onReset.add(function() {
+ self.setContent(self.startContent, {format : 'raw'});
+ });
+
+ // Add shortcuts
+ function handleShortcut(e, execute) {
+ if (e.altKey || e.ctrlKey || e.metaKey) {
+ each(self.shortcuts, function(shortcut) {
+ var ctrlState = tinymce.isMac ? e.metaKey : e.ctrlKey;
+
+ if (shortcut.ctrl != ctrlState || shortcut.alt != e.altKey || shortcut.shift != e.shiftKey)
+ return;
+
+ if (e.keyCode == shortcut.keyCode || (e.charCode && e.charCode == shortcut.charCode)) {
+ e.preventDefault();
+
+ if (execute) {
+ shortcut.func.call(shortcut.scope);
+ }
+
+ return true;
+ }
+ });
+ }
+ };
+
+ self.onKeyUp.add(function(ed, e) {
+ handleShortcut(e);
+ });
+
+ self.onKeyPress.add(function(ed, e) {
+ handleShortcut(e);
+ });
+
+ self.onKeyDown.add(function(ed, e) {
+ handleShortcut(e, true);
+ });
+
+ if (tinymce.isOpera) {
+ self.onClick.add(function(ed, e) {
+ e.preventDefault();
+ });
+ }
+ };
+})(tinymce);
+(function(tinymce) {
+ // Added for compression purposes
+ var each = tinymce.each, undef, TRUE = true, FALSE = false;
+
+ tinymce.EditorCommands = function(editor) {
+ var dom = editor.dom,
+ selection = editor.selection,
+ commands = {state: {}, exec : {}, value : {}},
+ settings = editor.settings,
+ formatter = editor.formatter,
+ bookmark;
+
+ function execCommand(command, ui, value) {
+ var func;
+
+ command = command.toLowerCase();
+ if (func = commands.exec[command]) {
+ func(command, ui, value);
+ return TRUE;
+ }
+
+ return FALSE;
+ };
+
+ function queryCommandState(command) {
+ var func;
+
+ command = command.toLowerCase();
+ if (func = commands.state[command])
+ return func(command);
+
+ return -1;
+ };
+
+ function queryCommandValue(command) {
+ var func;
+
+ command = command.toLowerCase();
+ if (func = commands.value[command])
+ return func(command);
+
+ return FALSE;
+ };
+
+ function addCommands(command_list, type) {
+ type = type || 'exec';
+
+ each(command_list, function(callback, command) {
+ each(command.toLowerCase().split(','), function(command) {
+ commands[type][command] = callback;
+ });
+ });
+ };
+
+ // Expose public methods
+ tinymce.extend(this, {
+ execCommand : execCommand,
+ queryCommandState : queryCommandState,
+ queryCommandValue : queryCommandValue,
+ addCommands : addCommands
+ });
+
+ // Private methods
+
+ function execNativeCommand(command, ui, value) {
+ if (ui === undef)
+ ui = FALSE;
+
+ if (value === undef)
+ value = null;
+
+ return editor.getDoc().execCommand(command, ui, value);
+ };
+
+ function isFormatMatch(name) {
+ return formatter.match(name);
+ };
+
+ function toggleFormat(name, value) {
+ formatter.toggle(name, value ? {value : value} : undef);
+ };
+
+ function storeSelection(type) {
+ bookmark = selection.getBookmark(type);
+ };
+
+ function restoreSelection() {
+ selection.moveToBookmark(bookmark);
+ };
+
+ // Add execCommand overrides
+ addCommands({
+ // Ignore these, added for compatibility
+ 'mceResetDesignMode,mceBeginUndoLevel' : function() {},
+
+ // Add undo manager logic
+ 'mceEndUndoLevel,mceAddUndoLevel' : function() {
+ editor.undoManager.add();
+ },
+
+ 'Cut,Copy,Paste' : function(command) {
+ var doc = editor.getDoc(), failed;
+
+ // Try executing the native command
+ try {
+ execNativeCommand(command);
+ } catch (ex) {
+ // Command failed
+ failed = TRUE;
+ }
+
+ // Present alert message about clipboard access not being available
+ if (failed || !doc.queryCommandSupported(command)) {
+ if (tinymce.isGecko) {
+ editor.windowManager.confirm(editor.getLang('clipboard_msg'), function(state) {
+ if (state)
+ open('http://www.mozilla.org/editor/midasdemo/securityprefs.html', '_blank');
+ });
+ } else
+ editor.windowManager.alert(editor.getLang('clipboard_no_support'));
+ }
+ },
+
+ // Override unlink command
+ unlink : function(command) {
+ if (selection.isCollapsed())
+ selection.select(selection.getNode());
+
+ execNativeCommand(command);
+ selection.collapse(FALSE);
+ },
+
+ // Override justify commands to use the text formatter engine
+ 'JustifyLeft,JustifyCenter,JustifyRight,JustifyFull' : function(command) {
+ var align = command.substring(7);
+
+ // Remove all other alignments first
+ each('left,center,right,full'.split(','), function(name) {
+ if (align != name)
+ formatter.remove('align' + name);
+ });
+
+ toggleFormat('align' + align);
+ execCommand('mceRepaint');
+ },
+
+ // Override list commands to fix WebKit bug
+ 'InsertUnorderedList,InsertOrderedList' : function(command) {
+ var listElm, listParent;
+
+ execNativeCommand(command);
+
+ // WebKit produces lists within block elements so we need to split them
+ // we will replace the native list creation logic to custom logic later on
+ // TODO: Remove this when the list creation logic is removed
+ listElm = dom.getParent(selection.getNode(), 'ol,ul');
+ if (listElm) {
+ listParent = listElm.parentNode;
+
+ // If list is within a text block then split that block
+ if (/^(H[1-6]|P|ADDRESS|PRE)$/.test(listParent.nodeName)) {
+ storeSelection();
+ dom.split(listParent, listElm);
+ restoreSelection();
+ }
+ }
+ },
+
+ // Override commands to use the text formatter engine
+ 'Bold,Italic,Underline,Strikethrough,Superscript,Subscript' : function(command) {
+ toggleFormat(command);
+ },
+
+ // Override commands to use the text formatter engine
+ 'ForeColor,HiliteColor,FontName' : function(command, ui, value) {
+ toggleFormat(command, value);
+ },
+
+ FontSize : function(command, ui, value) {
+ var fontClasses, fontSizes;
+
+ // Convert font size 1-7 to styles
+ if (value >= 1 && value <= 7) {
+ fontSizes = tinymce.explode(settings.font_size_style_values);
+ fontClasses = tinymce.explode(settings.font_size_classes);
+
+ if (fontClasses)
+ value = fontClasses[value - 1] || value;
+ else
+ value = fontSizes[value - 1] || value;
+ }
+
+ toggleFormat(command, value);
+ },
+
+ RemoveFormat : function(command) {
+ formatter.remove(command);
+ },
+
+ mceBlockQuote : function(command) {
+ toggleFormat('blockquote');
+ },
+
+ FormatBlock : function(command, ui, value) {
+ return toggleFormat(value || 'p');
+ },
+
+ mceCleanup : function() {
+ var bookmark = selection.getBookmark();
+
+ editor.setContent(editor.getContent({cleanup : TRUE}), {cleanup : TRUE});
+
+ selection.moveToBookmark(bookmark);
+ },
+
+ mceRemoveNode : function(command, ui, value) {
+ var node = value || selection.getNode();
+
+ // Make sure that the body node isn't removed
+ if (node != editor.getBody()) {
+ storeSelection();
+ editor.dom.remove(node, TRUE);
+ restoreSelection();
+ }
+ },
+
+ mceSelectNodeDepth : function(command, ui, value) {
+ var counter = 0;
+
+ dom.getParent(selection.getNode(), function(node) {
+ if (node.nodeType == 1 && counter++ == value) {
+ selection.select(node);
+ return FALSE;
+ }
+ }, editor.getBody());
+ },
+
+ mceSelectNode : function(command, ui, value) {
+ selection.select(value);
+ },
+
+ mceInsertContent : function(command, ui, value) {
+ var parser, serializer, parentNode, rootNode, fragment, args,
+ marker, nodeRect, viewPortRect, rng, node, node2, bookmarkHtml, viewportBodyElement;
+
+ //selection.normalize();
+
+ // Setup parser and serializer
+ parser = editor.parser;
+ serializer = new tinymce.html.Serializer({}, editor.schema);
+ bookmarkHtml = '<span id="mce_marker" data-mce-type="bookmark">\uFEFF</span>';
+
+ // Run beforeSetContent handlers on the HTML to be inserted
+ args = {content: value, format: 'html'};
+ selection.onBeforeSetContent.dispatch(selection, args);
+ value = args.content;
+
+ // Add caret at end of contents if it's missing
+ if (value.indexOf('{$caret}') == -1)
+ value += '{$caret}';
+
+ // Replace the caret marker with a span bookmark element
+ value = value.replace(/\{\$caret\}/, bookmarkHtml);
+
+ // Insert node maker where we will insert the new HTML and get it's parent
+ if (!selection.isCollapsed())
+ editor.getDoc().execCommand('Delete', false, null);
+
+ parentNode = selection.getNode();
+
+ // Parse the fragment within the context of the parent node
+ args = {context : parentNode.nodeName.toLowerCase()};
+ fragment = parser.parse(value, args);
+
+ // Move the caret to a more suitable location
+ node = fragment.lastChild;
+ if (node.attr('id') == 'mce_marker') {
+ marker = node;
+
+ for (node = node.prev; node; node = node.walk(true)) {
+ if (node.type == 3 || !dom.isBlock(node.name)) {
+ node.parent.insert(marker, node, node.name === 'br');
+ break;
+ }
+ }
+ }
+
+ // If parser says valid we can insert the contents into that parent
+ if (!args.invalid) {
+ value = serializer.serialize(fragment);
+
+ // Check if parent is empty or only has one BR element then set the innerHTML of that parent
+ node = parentNode.firstChild;
+ node2 = parentNode.lastChild;
+ if (!node || (node === node2 && node.nodeName === 'BR'))
+ dom.setHTML(parentNode, value);
+ else
+ selection.setContent(value);
+ } else {
+ // If the fragment was invalid within that context then we need
+ // to parse and process the parent it's inserted into
+
+ // Insert bookmark node and get the parent
+ selection.setContent(bookmarkHtml);
+ parentNode = selection.getNode();
+ rootNode = editor.getBody();
+
+ // Opera will return the document node when selection is in root
+ if (parentNode.nodeType == 9)
+ parentNode = node = rootNode;
+ else
+ node = parentNode;
+
+ // Find the ancestor just before the root element
+ while (node !== rootNode) {
+ parentNode = node;
+ node = node.parentNode;
+ }
+
+ // Get the outer/inner HTML depending on if we are in the root and parser and serialize that
+ value = parentNode == rootNode ? rootNode.innerHTML : dom.getOuterHTML(parentNode);
+ value = serializer.serialize(
+ parser.parse(
+ // Need to replace by using a function since $ in the contents would otherwise be a problem
+ value.replace(/<span (id="mce_marker"|id=mce_marker).+?<\/span>/i, function() {
+ return serializer.serialize(fragment);
+ })
+ )
+ );
+
+ // Set the inner/outer HTML depending on if we are in the root or not
+ if (parentNode == rootNode)
+ dom.setHTML(rootNode, value);
+ else
+ dom.setOuterHTML(parentNode, value);
+ }
+
+ marker = dom.get('mce_marker');
+
+ // Scroll range into view scrollIntoView on element can't be used since it will scroll the main view port as well
+ nodeRect = dom.getRect(marker);
+ viewPortRect = dom.getViewPort(editor.getWin());
+
+ // Check if node is out side the viewport if it is then scroll to it
+ if ((nodeRect.y + nodeRect.h > viewPortRect.y + viewPortRect.h || nodeRect.y < viewPortRect.y) ||
+ (nodeRect.x > viewPortRect.x + viewPortRect.w || nodeRect.x < viewPortRect.x)) {
+ viewportBodyElement = tinymce.isIE ? editor.getDoc().documentElement : editor.getBody();
+ viewportBodyElement.scrollLeft = nodeRect.x;
+ viewportBodyElement.scrollTop = nodeRect.y - viewPortRect.h + 25;
+ }
+
+ // Move selection before marker and remove it
+ rng = dom.createRng();
+
+ // If previous sibling is a text node set the selection to the end of that node
+ node = marker.previousSibling;
+ if (node && node.nodeType == 3) {
+ rng.setStart(node, node.nodeValue.length);
+ } else {
+ // If the previous sibling isn't a text node or doesn't exist set the selection before the marker node
+ rng.setStartBefore(marker);
+ rng.setEndBefore(marker);
+ }
+
+ // Remove the marker node and set the new range
+ dom.remove(marker);
+ selection.setRng(rng);
+
+ // Dispatch after event and add any visual elements needed
+ selection.onSetContent.dispatch(selection, args);
+ editor.addVisual();
+ },
+
+ mceInsertRawHTML : function(command, ui, value) {
+ selection.setContent('tiny_mce_marker');
+ editor.setContent(editor.getContent().replace(/tiny_mce_marker/g, function() { return value }));
+ },
+
+ mceToggleFormat : function(command, ui, value) {
+ toggleFormat(value);
+ },
+
+ mceSetContent : function(command, ui, value) {
+ editor.setContent(value);
+ },
+
+ 'Indent,Outdent' : function(command) {
+ var intentValue, indentUnit, value;
+
+ // Setup indent level
+ intentValue = settings.indentation;
+ indentUnit = /[a-z%]+$/i.exec(intentValue);
+ intentValue = parseInt(intentValue);
+
+ if (!queryCommandState('InsertUnorderedList') && !queryCommandState('InsertOrderedList')) {
+ // If forced_root_blocks is set to false we don't have a block to indent so lets create a div
+ if (!settings.forced_root_block && !dom.getParent(selection.getNode(), dom.isBlock)) {
+ formatter.apply('div');
+ }
+
+ each(selection.getSelectedBlocks(), function(element) {
+ if (command == 'outdent') {
+ value = Math.max(0, parseInt(element.style.paddingLeft || 0) - intentValue);
+ dom.setStyle(element, 'paddingLeft', value ? value + indentUnit : '');
+ } else
+ dom.setStyle(element, 'paddingLeft', (parseInt(element.style.paddingLeft || 0) + intentValue) + indentUnit);
+ });
+ } else
+ execNativeCommand(command);
+ },
+
+ mceRepaint : function() {
+ var bookmark;
+
+ if (tinymce.isGecko) {
+ try {
+ storeSelection(TRUE);
+
+ if (selection.getSel())
+ selection.getSel().selectAllChildren(editor.getBody());
+
+ selection.collapse(TRUE);
+ restoreSelection();
+ } catch (ex) {
+ // Ignore
+ }
+ }
+ },
+
+ mceToggleFormat : function(command, ui, value) {
+ formatter.toggle(value);
+ },
+
+ InsertHorizontalRule : function() {
+ editor.execCommand('mceInsertContent', false, '<hr />');
+ },
+
+ mceToggleVisualAid : function() {
+ editor.hasVisual = !editor.hasVisual;
+ editor.addVisual();
+ },
+
+ mceReplaceContent : function(command, ui, value) {
+ editor.execCommand('mceInsertContent', false, value.replace(/\{\$selection\}/g, selection.getContent({format : 'text'})));
+ },
+
+ mceInsertLink : function(command, ui, value) {
+ var anchor;
+
+ if (typeof(value) == 'string')
+ value = {href : value};
+
+ anchor = dom.getParent(selection.getNode(), 'a');
+
+ // Spaces are never valid in URLs and it's a very common mistake for people to make so we fix it here.
+ value.href = value.href.replace(' ', '%20');
+
+ // Remove existing links if there could be child links or that the href isn't specified
+ if (!anchor || !value.href) {
+ formatter.remove('link');
+ }
+
+ // Apply new link to selection
+ if (value.href) {
+ formatter.apply('link', value, anchor);
+ }
+ },
+
+ selectAll : function() {
+ var root = dom.getRoot(), rng = dom.createRng();
+
+ // Old IE does a better job with selectall than new versions
+ if (selection.getRng().setStart) {
+ rng.setStart(root, 0);
+ rng.setEnd(root, root.childNodes.length);
+
+ selection.setRng(rng);
+ } else {
+ execNativeCommand('SelectAll');
+ }
+ }
+ });
+
+ // Add queryCommandState overrides
+ addCommands({
+ // Override justify commands
+ 'JustifyLeft,JustifyCenter,JustifyRight,JustifyFull' : function(command) {
+ var name = 'align' + command.substring(7);
+ var nodes = selection.isCollapsed() ? [dom.getParent(selection.getNode(), dom.isBlock)] : selection.getSelectedBlocks();
+ var matches = tinymce.map(nodes, function(node) {
+ return !!formatter.matchNode(node, name);
+ });
+ return tinymce.inArray(matches, TRUE) !== -1;
+ },
+
+ 'Bold,Italic,Underline,Strikethrough,Superscript,Subscript' : function(command) {
+ return isFormatMatch(command);
+ },
+
+ mceBlockQuote : function() {
+ return isFormatMatch('blockquote');
+ },
+
+ Outdent : function() {
+ var node;
+
+ if (settings.inline_styles) {
+ if ((node = dom.getParent(selection.getStart(), dom.isBlock)) && parseInt(node.style.paddingLeft) > 0)
+ return TRUE;
+
+ if ((node = dom.getParent(selection.getEnd(), dom.isBlock)) && parseInt(node.style.paddingLeft) > 0)
+ return TRUE;
+ }
+
+ return queryCommandState('InsertUnorderedList') || queryCommandState('InsertOrderedList') || (!settings.inline_styles && !!dom.getParent(selection.getNode(), 'BLOCKQUOTE'));
+ },
+
+ 'InsertUnorderedList,InsertOrderedList' : function(command) {
+ var list = dom.getParent(selection.getNode(), 'ul,ol');
+ return list &&
+ (command === 'insertunorderedlist' && list.tagName === 'UL'
+ || command === 'insertorderedlist' && list.tagName === 'OL');
+ }
+ }, 'state');
+
+ // Add queryCommandValue overrides
+ addCommands({
+ 'FontSize,FontName' : function(command) {
+ var value = 0, parent;
+
+ if (parent = dom.getParent(selection.getNode(), 'span')) {
+ if (command == 'fontsize')
+ value = parent.style.fontSize;
+ else
+ value = parent.style.fontFamily.replace(/, /g, ',').replace(/[\'\"]/g, '').toLowerCase();
+ }
+
+ return value;
+ }
+ }, 'value');
+
+ // Add undo manager logic
+ addCommands({
+ Undo : function() {
+ editor.undoManager.undo();
+ },
+
+ Redo : function() {
+ editor.undoManager.redo();
+ }
+ });
+ };
+})(tinymce);
+
+(function(tinymce) {
+ var Dispatcher = tinymce.util.Dispatcher;
+
+ tinymce.UndoManager = function(editor) {
+ var self, index = 0, data = [], beforeBookmark, onAdd, onUndo, onRedo;
+
+ function getContent() {
+ // Remove whitespace before/after and remove pure bogus nodes
+ return tinymce.trim(editor.getContent({format : 'raw', no_events : 1}).replace(/<span[^>]+data-mce-bogus[^>]+>[\u200B\uFEFF]+<\/span>/g, ''));
+ };
+
+ function addNonTypingUndoLevel() {
+ self.typing = false;
+ self.add();
+ };
+
+ // Create event instances
+ onBeforeAdd = new Dispatcher(self);
+ onAdd = new Dispatcher(self);
+ onUndo = new Dispatcher(self);
+ onRedo = new Dispatcher(self);
+
+ // Pass though onAdd event from UndoManager to Editor as onChange
+ onAdd.add(function(undoman, level) {
+ if (undoman.hasUndo())
+ return editor.onChange.dispatch(editor, level, undoman);
+ });
+
+ // Pass though onUndo event from UndoManager to Editor
+ onUndo.add(function(undoman, level) {
+ return editor.onUndo.dispatch(editor, level, undoman);
+ });
+
+ // Pass though onRedo event from UndoManager to Editor
+ onRedo.add(function(undoman, level) {
+ return editor.onRedo.dispatch(editor, level, undoman);
+ });
+
+ // Add initial undo level when the editor is initialized
+ editor.onInit.add(function() {
+ self.add();
+ });
+
+ // Get position before an execCommand is processed
+ editor.onBeforeExecCommand.add(function(ed, cmd, ui, val, args) {
+ if (cmd != 'Undo' && cmd != 'Redo' && cmd != 'mceRepaint' && (!args || !args.skip_undo)) {
+ self.beforeChange();
+ }
+ });
+
+ // Add undo level after an execCommand call was made
+ editor.onExecCommand.add(function(ed, cmd, ui, val, args) {
+ if (cmd != 'Undo' && cmd != 'Redo' && cmd != 'mceRepaint' && (!args || !args.skip_undo)) {
+ self.add();
+ }
+ });
+
+ // Add undo level on save contents, drag end and blur/focusout
+ editor.onSaveContent.add(addNonTypingUndoLevel);
+ editor.dom.bind(editor.dom.getRoot(), 'dragend', addNonTypingUndoLevel);
+ editor.dom.bind(editor.getDoc(), tinymce.isGecko ? 'blur' : 'focusout', function(e) {
+ if (!editor.removed && self.typing) {
+ addNonTypingUndoLevel();
+ }
+ });
+
+ editor.onKeyUp.add(function(editor, e) {
+ var keyCode = e.keyCode;
+
+ if ((keyCode >= 33 && keyCode <= 36) || (keyCode >= 37 && keyCode <= 40) || keyCode == 45 || keyCode == 13 || e.ctrlKey) {
+ addNonTypingUndoLevel();
+ }
+ });
+
+ editor.onKeyDown.add(function(editor, e) {
+ var keyCode = e.keyCode;
+
+ // Is caracter positon keys left,right,up,down,home,end,pgdown,pgup,enter
+ if ((keyCode >= 33 && keyCode <= 36) || (keyCode >= 37 && keyCode <= 40) || keyCode == 45) {
+ if (self.typing) {
+ addNonTypingUndoLevel();
+ }
+
+ return;
+ }
+
+ // If key isn't shift,ctrl,alt,capslock,metakey
+ if ((keyCode < 16 || keyCode > 20) && keyCode != 224 && keyCode != 91 && !self.typing) {
+ self.beforeChange();
+ self.typing = true;
+ self.add();
+ }
+ });
+
+ editor.onMouseDown.add(function(editor, e) {
+ if (self.typing) {
+ addNonTypingUndoLevel();
+ }
+ });
+
+ // Add keyboard shortcuts for undo/redo keys
+ editor.addShortcut('ctrl+z', 'undo_desc', 'Undo');
+ editor.addShortcut('ctrl+y', 'redo_desc', 'Redo');
+
+ self = {
+ // Explose for debugging reasons
+ data : data,
+
+ typing : false,
+
+ onBeforeAdd: onBeforeAdd,
+
+ onAdd : onAdd,
+
+ onUndo : onUndo,
+
+ onRedo : onRedo,
+
+ beforeChange : function() {
+ beforeBookmark = editor.selection.getBookmark(2, true);
+ },
+
+ add : function(level) {
+ var i, settings = editor.settings, lastLevel;
+
+ level = level || {};
+ level.content = getContent();
+
+ self.onBeforeAdd.dispatch(self, level);
+
+ // Add undo level if needed
+ lastLevel = data[index];
+ if (lastLevel && lastLevel.content == level.content)
+ return null;
+
+ // Set before bookmark on previous level
+ if (data[index])
+ data[index].beforeBookmark = beforeBookmark;
+
+ // Time to compress
+ if (settings.custom_undo_redo_levels) {
+ if (data.length > settings.custom_undo_redo_levels) {
+ for (i = 0; i < data.length - 1; i++)
+ data[i] = data[i + 1];
+
+ data.length--;
+ index = data.length;
+ }
+ }
+
+ // Get a non intrusive normalized bookmark
+ level.bookmark = editor.selection.getBookmark(2, true);
+
+ // Crop array if needed
+ if (index < data.length - 1)
+ data.length = index + 1;
+
+ data.push(level);
+ index = data.length - 1;
+
+ self.onAdd.dispatch(self, level);
+ editor.isNotDirty = 0;
+
+ return level;
+ },
+
+ undo : function() {
+ var level, i;
+
+ if (self.typing) {
+ self.add();
+ self.typing = false;
+ }
+
+ if (index > 0) {
+ level = data[--index];
+
+ editor.setContent(level.content, {format : 'raw'});
+ editor.selection.moveToBookmark(level.beforeBookmark);
+
+ self.onUndo.dispatch(self, level);
+ }
+
+ return level;
+ },
+
+ redo : function() {
+ var level;
+
+ if (index < data.length - 1) {
+ level = data[++index];
+
+ editor.setContent(level.content, {format : 'raw'});
+ editor.selection.moveToBookmark(level.bookmark);
+
+ self.onRedo.dispatch(self, level);
+ }
+
+ return level;
+ },
+
+ clear : function() {
+ data = [];
+ index = 0;
+ self.typing = false;
+ },
+
+ hasUndo : function() {
+ return index > 0 || this.typing;
+ },
+
+ hasRedo : function() {
+ return index < data.length - 1 && !this.typing;
+ }
+ };
+
+ return self;
+ };
+})(tinymce);
+
+tinymce.ForceBlocks = function(editor) {
+ var settings = editor.settings, dom = editor.dom, selection = editor.selection, blockElements = editor.schema.getBlockElements();
+
+ function addRootBlocks() {
+ var node = selection.getStart(), rootNode = editor.getBody(), rng, startContainer, startOffset, endContainer, endOffset, rootBlockNode, tempNode, offset = -0xFFFFFF, wrapped, isInEditorDocument;
+
+ if (!node || node.nodeType !== 1 || !settings.forced_root_block)
+ return;
+
+ // Check if node is wrapped in block
+ while (node && node != rootNode) {
+ if (blockElements[node.nodeName])
+ return;
+
+ node = node.parentNode;
+ }
+
+ // Get current selection
+ rng = selection.getRng();
+ if (rng.setStart) {
+ startContainer = rng.startContainer;
+ startOffset = rng.startOffset;
+ endContainer = rng.endContainer;
+ endOffset = rng.endOffset;
+ } else {
+ // Force control range into text range
+ if (rng.item) {
+ node = rng.item(0);
+ rng = editor.getDoc().body.createTextRange();
+ rng.moveToElementText(node);
+ }
+
+ isInEditorDocument = rng.parentElement().ownerDocument === editor.getDoc();
+ tmpRng = rng.duplicate();
+ tmpRng.collapse(true);
+ startOffset = tmpRng.move('character', offset) * -1;
+
+ if (!tmpRng.collapsed) {
+ tmpRng = rng.duplicate();
+ tmpRng.collapse(false);
+ endOffset = (tmpRng.move('character', offset) * -1) - startOffset;
+ }
+ }
+
+ // Wrap non block elements and text nodes
+ node = rootNode.firstChild;
+ while (node) {
+ if (node.nodeType === 3 || (node.nodeType == 1 && !blockElements[node.nodeName])) {
+ // Remove empty text nodes
+ if (node.nodeType === 3 && node.nodeValue.length == 0) {
+ tempNode = node;
+ node = node.nextSibling;
+ dom.remove(tempNode);
+ continue;
+ }
+
+ if (!rootBlockNode) {
+ rootBlockNode = dom.create(settings.forced_root_block);
+ node.parentNode.insertBefore(rootBlockNode, node);
+ wrapped = true;
+ }
+
+ tempNode = node;
+ node = node.nextSibling;
+ rootBlockNode.appendChild(tempNode);
+ } else {
+ rootBlockNode = null;
+ node = node.nextSibling;
+ }
+ }
+
+ if (wrapped) {
+ if (rng.setStart) {
+ rng.setStart(startContainer, startOffset);
+ rng.setEnd(endContainer, endOffset);
+ selection.setRng(rng);
+ } else {
+ // Only select if the previous selection was inside the document to prevent auto focus in quirks mode
+ if (isInEditorDocument) {
+ try {
+ rng = editor.getDoc().body.createTextRange();
+ rng.moveToElementText(rootNode);
+ rng.collapse(true);
+ rng.moveStart('character', startOffset);
+
+ if (endOffset > 0)
+ rng.moveEnd('character', endOffset);
+
+ rng.select();
+ } catch (ex) {
+ // Ignore
+ }
+ }
+ }
+
+ editor.nodeChanged();
+ }
+ };
+
+ // Force root blocks
+ if (settings.forced_root_block) {
+ editor.onKeyUp.add(addRootBlocks);
+ editor.onNodeChange.add(addRootBlocks);
+ }
+};
+
+(function(tinymce) {
+ // Shorten names
+ var DOM = tinymce.DOM, Event = tinymce.dom.Event, each = tinymce.each, extend = tinymce.extend;
+
+ tinymce.create('tinymce.ControlManager', {
+ ControlManager : function(ed, s) {
+ var t = this, i;
+
+ s = s || {};
+ t.editor = ed;
+ t.controls = {};
+ t.onAdd = new tinymce.util.Dispatcher(t);
+ t.onPostRender = new tinymce.util.Dispatcher(t);
+ t.prefix = s.prefix || ed.id + '_';
+ t._cls = {};
+
+ t.onPostRender.add(function() {
+ each(t.controls, function(c) {
+ c.postRender();
+ });
+ });
+ },
+
+ get : function(id) {
+ return this.controls[this.prefix + id] || this.controls[id];
+ },
+
+ setActive : function(id, s) {
+ var c = null;
+
+ if (c = this.get(id))
+ c.setActive(s);
+
+ return c;
+ },
+
+ setDisabled : function(id, s) {
+ var c = null;
+
+ if (c = this.get(id))
+ c.setDisabled(s);
+
+ return c;
+ },
+
+ add : function(c) {
+ var t = this;
+
+ if (c) {
+ t.controls[c.id] = c;
+ t.onAdd.dispatch(c, t);
+ }
+
+ return c;
+ },
+
+ createControl : function(name) {
+ var ctrl, i, l, self = this, editor = self.editor, factories, ctrlName;
+
+ // Build control factory cache
+ if (!self.controlFactories) {
+ self.controlFactories = [];
+ each(editor.plugins, function(plugin) {
+ if (plugin.createControl) {
+ self.controlFactories.push(plugin);
+ }
+ });
+ }
+
+ // Create controls by asking cached factories
+ factories = self.controlFactories;
+ for (i = 0, l = factories.length; i < l; i++) {
+ ctrl = factories[i].createControl(name, self);
+
+ if (ctrl) {
+ return self.add(ctrl);
+ }
+ }
+
+ // Create sepearator
+ if (name === "|" || name === "separator") {
+ return self.createSeparator();
+ }
+
+ // Create control from button collection
+ if (editor.buttons && (ctrl = editor.buttons[name])) {
+ return self.createButton(name, ctrl);
+ }
+
+ return self.add(ctrl);
+ },
+
+ createDropMenu : function(id, s, cc) {
+ var t = this, ed = t.editor, c, bm, v, cls;
+
+ s = extend({
+ 'class' : 'mceDropDown',
+ constrain : ed.settings.constrain_menus
+ }, s);
+
+ s['class'] = s['class'] + ' ' + ed.getParam('skin') + 'Skin';
+ if (v = ed.getParam('skin_variant'))
+ s['class'] += ' ' + ed.getParam('skin') + 'Skin' + v.substring(0, 1).toUpperCase() + v.substring(1);
+
+ s['class'] += ed.settings.directionality == "rtl" ? ' mceRtl' : '';
+
+ id = t.prefix + id;
+ cls = cc || t._cls.dropmenu || tinymce.ui.DropMenu;
+ c = t.controls[id] = new cls(id, s);
+ c.onAddItem.add(function(c, o) {
+ var s = o.settings;
+
+ s.title = ed.getLang(s.title, s.title);
+
+ if (!s.onclick) {
+ s.onclick = function(v) {
+ if (s.cmd)
+ ed.execCommand(s.cmd, s.ui || false, s.value);
+ };
+ }
+ });
+
+ ed.onRemove.add(function() {
+ c.destroy();
+ });
+
+ // Fix for bug #1897785, #1898007
+ if (tinymce.isIE) {
+ c.onShowMenu.add(function() {
+ // IE 8 needs focus in order to store away a range with the current collapsed caret location
+ ed.focus();
+
+ bm = ed.selection.getBookmark(1);
+ });
+
+ c.onHideMenu.add(function() {
+ if (bm) {
+ ed.selection.moveToBookmark(bm);
+ bm = 0;
+ }
+ });
+ }
+
+ return t.add(c);
+ },
+
+ createListBox : function(id, s, cc) {
+ var t = this, ed = t.editor, cmd, c, cls;
+
+ if (t.get(id))
+ return null;
+
+ s.title = ed.translate(s.title);
+ s.scope = s.scope || ed;
+
+ if (!s.onselect) {
+ s.onselect = function(v) {
+ ed.execCommand(s.cmd, s.ui || false, v || s.value);
+ };
+ }
+
+ s = extend({
+ title : s.title,
+ 'class' : 'mce_' + id,
+ scope : s.scope,
+ control_manager : t
+ }, s);
+
+ id = t.prefix + id;
+
+
+ function useNativeListForAccessibility(ed) {
+ return ed.settings.use_accessible_selects && !tinymce.isGecko
+ }
+
+ if (ed.settings.use_native_selects || useNativeListForAccessibility(ed))
+ c = new tinymce.ui.NativeListBox(id, s);
+ else {
+ cls = cc || t._cls.listbox || tinymce.ui.ListBox;
+ c = new cls(id, s, ed);
+ }
+
+ t.controls[id] = c;
+
+ // Fix focus problem in Safari
+ if (tinymce.isWebKit) {
+ c.onPostRender.add(function(c, n) {
+ // Store bookmark on mousedown
+ Event.add(n, 'mousedown', function() {
+ ed.bookmark = ed.selection.getBookmark(1);
+ });
+
+ // Restore on focus, since it might be lost
+ Event.add(n, 'focus', function() {
+ ed.selection.moveToBookmark(ed.bookmark);
+ ed.bookmark = null;
+ });
+ });
+ }
+
+ if (c.hideMenu)
+ ed.onMouseDown.add(c.hideMenu, c);
+
+ return t.add(c);
+ },
+
+ createButton : function(id, s, cc) {
+ var t = this, ed = t.editor, o, c, cls;
+
+ if (t.get(id))
+ return null;
+
+ s.title = ed.translate(s.title);
+ s.label = ed.translate(s.label);
+ s.scope = s.scope || ed;
+
+ if (!s.onclick && !s.menu_button) {
+ s.onclick = function() {
+ ed.execCommand(s.cmd, s.ui || false, s.value);
+ };
+ }
+
+ s = extend({
+ title : s.title,
+ 'class' : 'mce_' + id,
+ unavailable_prefix : ed.getLang('unavailable', ''),
+ scope : s.scope,
+ control_manager : t
+ }, s);
+
+ id = t.prefix + id;
+
+ if (s.menu_button) {
+ cls = cc || t._cls.menubutton || tinymce.ui.MenuButton;
+ c = new cls(id, s, ed);
+ ed.onMouseDown.add(c.hideMenu, c);
+ } else {
+ cls = t._cls.button || tinymce.ui.Button;
+ c = new cls(id, s, ed);
+ }
+
+ return t.add(c);
+ },
+
+ createMenuButton : function(id, s, cc) {
+ s = s || {};
+ s.menu_button = 1;
+
+ return this.createButton(id, s, cc);
+ },
+
+ createSplitButton : function(id, s, cc) {
+ var t = this, ed = t.editor, cmd, c, cls;
+
+ if (t.get(id))
+ return null;
+
+ s.title = ed.translate(s.title);
+ s.scope = s.scope || ed;
+
+ if (!s.onclick) {
+ s.onclick = function(v) {
+ ed.execCommand(s.cmd, s.ui || false, v || s.value);
+ };
+ }
+
+ if (!s.onselect) {
+ s.onselect = function(v) {
+ ed.execCommand(s.cmd, s.ui || false, v || s.value);
+ };
+ }
+
+ s = extend({
+ title : s.title,
+ 'class' : 'mce_' + id,
+ scope : s.scope,
+ control_manager : t
+ }, s);
+
+ id = t.prefix + id;
+ cls = cc || t._cls.splitbutton || tinymce.ui.SplitButton;
+ c = t.add(new cls(id, s, ed));
+ ed.onMouseDown.add(c.hideMenu, c);
+
+ return c;
+ },
+
+ createColorSplitButton : function(id, s, cc) {
+ var t = this, ed = t.editor, cmd, c, cls, bm;
+
+ if (t.get(id))
+ return null;
+
+ s.title = ed.translate(s.title);
+ s.scope = s.scope || ed;
+
+ if (!s.onclick) {
+ s.onclick = function(v) {
+ if (tinymce.isIE)
+ bm = ed.selection.getBookmark(1);
+
+ ed.execCommand(s.cmd, s.ui || false, v || s.value);
+ };
+ }
+
+ if (!s.onselect) {
+ s.onselect = function(v) {
+ ed.execCommand(s.cmd, s.ui || false, v || s.value);
+ };
+ }
+
+ s = extend({
+ title : s.title,
+ 'class' : 'mce_' + id,
+ 'menu_class' : ed.getParam('skin') + 'Skin',
+ scope : s.scope,
+ more_colors_title : ed.getLang('more_colors')
+ }, s);
+
+ id = t.prefix + id;
+ cls = cc || t._cls.colorsplitbutton || tinymce.ui.ColorSplitButton;
+ c = new cls(id, s, ed);
+ ed.onMouseDown.add(c.hideMenu, c);
+
+ // Remove the menu element when the editor is removed
+ ed.onRemove.add(function() {
+ c.destroy();
+ });
+
+ // Fix for bug #1897785, #1898007
+ if (tinymce.isIE) {
+ c.onShowMenu.add(function() {
+ // IE 8 needs focus in order to store away a range with the current collapsed caret location
+ ed.focus();
+ bm = ed.selection.getBookmark(1);
+ });
+
+ c.onHideMenu.add(function() {
+ if (bm) {
+ ed.selection.moveToBookmark(bm);
+ bm = 0;
+ }
+ });
+ }
+
+ return t.add(c);
+ },
+
+ createToolbar : function(id, s, cc) {
+ var c, t = this, cls;
+
+ id = t.prefix + id;
+ cls = cc || t._cls.toolbar || tinymce.ui.Toolbar;
+ c = new cls(id, s, t.editor);
+
+ if (t.get(id))
+ return null;
+
+ return t.add(c);
+ },
+
+ createToolbarGroup : function(id, s, cc) {
+ var c, t = this, cls;
+ id = t.prefix + id;
+ cls = cc || this._cls.toolbarGroup || tinymce.ui.ToolbarGroup;
+ c = new cls(id, s, t.editor);
+
+ if (t.get(id))
+ return null;
+
+ return t.add(c);
+ },
+
+ createSeparator : function(cc) {
+ var cls = cc || this._cls.separator || tinymce.ui.Separator;
+
+ return new cls();
+ },
+
+ setControlType : function(n, c) {
+ return this._cls[n.toLowerCase()] = c;
+ },
+
+ destroy : function() {
+ each(this.controls, function(c) {
+ c.destroy();
+ });
+
+ this.controls = null;
+ }
+ });
+})(tinymce);
+
+(function(tinymce) {
+ var Dispatcher = tinymce.util.Dispatcher, each = tinymce.each, isIE = tinymce.isIE, isOpera = tinymce.isOpera;
+
+ tinymce.create('tinymce.WindowManager', {
+ WindowManager : function(ed) {
+ var t = this;
+
+ t.editor = ed;
+ t.onOpen = new Dispatcher(t);
+ t.onClose = new Dispatcher(t);
+ t.params = {};
+ t.features = {};
+ },
+
+ open : function(s, p) {
+ var t = this, f = '', x, y, mo = t.editor.settings.dialog_type == 'modal', w, sw, sh, vp = tinymce.DOM.getViewPort(), u;
+
+ // Default some options
+ s = s || {};
+ p = p || {};
+ sw = isOpera ? vp.w : screen.width; // Opera uses windows inside the Opera window
+ sh = isOpera ? vp.h : screen.height;
+ s.name = s.name || 'mc_' + new Date().getTime();
+ s.width = parseInt(s.width || 320);
+ s.height = parseInt(s.height || 240);
+ s.resizable = true;
+ s.left = s.left || parseInt(sw / 2.0) - (s.width / 2.0);
+ s.top = s.top || parseInt(sh / 2.0) - (s.height / 2.0);
+ p.inline = false;
+ p.mce_width = s.width;
+ p.mce_height = s.height;
+ p.mce_auto_focus = s.auto_focus;
+
+ if (mo) {
+ if (isIE) {
+ s.center = true;
+ s.help = false;
+ s.dialogWidth = s.width + 'px';
+ s.dialogHeight = s.height + 'px';
+ s.scroll = s.scrollbars || false;
+ }
+ }
+
+ // Build features string
+ each(s, function(v, k) {
+ if (tinymce.is(v, 'boolean'))
+ v = v ? 'yes' : 'no';
+
+ if (!/^(name|url)$/.test(k)) {
+ if (isIE && mo)
+ f += (f ? ';' : '') + k + ':' + v;
+ else
+ f += (f ? ',' : '') + k + '=' + v;
+ }
+ });
+
+ t.features = s;
+ t.params = p;
+ t.onOpen.dispatch(t, s, p);
+
+ u = s.url || s.file;
+ u = tinymce._addVer(u);
+
+ try {
+ if (isIE && mo) {
+ w = 1;
+ window.showModalDialog(u, window, f);
+ } else
+ w = window.open(u, s.name, f);
+ } catch (ex) {
+ // Ignore
+ }
+
+ if (!w)
+ alert(t.editor.getLang('popup_blocked'));
+ },
+
+ close : function(w) {
+ w.close();
+ this.onClose.dispatch(this);
+ },
+
+ createInstance : function(cl, a, b, c, d, e) {
+ var f = tinymce.resolve(cl);
+
+ return new f(a, b, c, d, e);
+ },
+
+ confirm : function(t, cb, s, w) {
+ w = w || window;
+
+ cb.call(s || this, w.confirm(this._decode(this.editor.getLang(t, t))));
+ },
+
+ alert : function(tx, cb, s, w) {
+ var t = this;
+
+ w = w || window;
+ w.alert(t._decode(t.editor.getLang(tx, tx)));
+
+ if (cb)
+ cb.call(s || t);
+ },
+
+ resizeBy : function(dw, dh, win) {
+ win.resizeBy(dw, dh);
+ },
+
+ // Internal functions
+
+ _decode : function(s) {
+ return tinymce.DOM.decode(s).replace(/\\n/g, '\n');
+ }
+ });
+}(tinymce));
+(function(tinymce) {
+ tinymce.Formatter = function(ed) {
+ var formats = {},
+ each = tinymce.each,
+ dom = ed.dom,
+ selection = ed.selection,
+ TreeWalker = tinymce.dom.TreeWalker,
+ rangeUtils = new tinymce.dom.RangeUtils(dom),
+ isValid = ed.schema.isValidChild,
+ isArray = tinymce.isArray,
+ isBlock = dom.isBlock,
+ forcedRootBlock = ed.settings.forced_root_block,
+ nodeIndex = dom.nodeIndex,
+ INVISIBLE_CHAR = '\uFEFF',
+ MCE_ATTR_RE = /^(src|href|style)$/,
+ FALSE = false,
+ TRUE = true,
+ formatChangeData,
+ undef,
+ getContentEditable = dom.getContentEditable;
+
+ function isTextBlock(name) {
+ return !!ed.schema.getTextBlocks()[name.toLowerCase()];
+ }
+
+ function getParents(node, selector) {
+ return dom.getParents(node, selector, dom.getRoot());
+ };
+
+ function isCaretNode(node) {
+ return node.nodeType === 1 && node.id === '_mce_caret';
+ };
+
+ function defaultFormats() {
+ register({
+ alignleft : [
+ {selector : 'figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li', styles : {textAlign : 'left'}, defaultBlock: 'div'},
+ {selector : 'img,table', collapsed : false, styles : {'float' : 'left'}}
+ ],
+
+ aligncenter : [
+ {selector : 'figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li', styles : {textAlign : 'center'}, defaultBlock: 'div'},
+ {selector : 'img', collapsed : false, styles : {display : 'block', marginLeft : 'auto', marginRight : 'auto'}},
+ {selector : 'table', collapsed : false, styles : {marginLeft : 'auto', marginRight : 'auto'}}
+ ],
+
+ alignright : [
+ {selector : 'figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li', styles : {textAlign : 'right'}, defaultBlock: 'div'},
+ {selector : 'img,table', collapsed : false, styles : {'float' : 'right'}}
+ ],
+
+ alignfull : [
+ {selector : 'figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li', styles : {textAlign : 'justify'}, defaultBlock: 'div'}
+ ],
+
+ bold : [
+ {inline : 'strong', remove : 'all'},
+ {inline : 'span', styles : {fontWeight : 'bold'}},
+ {inline : 'b', remove : 'all'}
+ ],
+
+ italic : [
+ {inline : 'em', remove : 'all'},
+ {inline : 'span', styles : {fontStyle : 'italic'}},
+ {inline : 'i', remove : 'all'}
+ ],
+
+ underline : [
+ {inline : 'span', styles : {textDecoration : 'underline'}, exact : true},
+ {inline : 'u', remove : 'all'}
+ ],
+
+ strikethrough : [
+ {inline : 'span', styles : {textDecoration : 'line-through'}, exact : true},
+ {inline : 'strike', remove : 'all'}
+ ],
+
+ forecolor : {inline : 'span', styles : {color : '%value'}, wrap_links : false},
+ hilitecolor : {inline : 'span', styles : {backgroundColor : '%value'}, wrap_links : false},
+ fontname : {inline : 'span', styles : {fontFamily : '%value'}},
+ fontsize : {inline : 'span', styles : {fontSize : '%value'}},
+ fontsize_class : {inline : 'span', attributes : {'class' : '%value'}},
+ blockquote : {block : 'blockquote', wrapper : 1, remove : 'all'},
+ subscript : {inline : 'sub'},
+ superscript : {inline : 'sup'},
+
+ link : {inline : 'a', selector : 'a', remove : 'all', split : true, deep : true,
+ onmatch : function(node) {
+ return true;
+ },
+
+ onformat : function(elm, fmt, vars) {
+ each(vars, function(value, key) {
+ dom.setAttrib(elm, key, value);
+ });
+ }
+ },
+
+ removeformat : [
+ {selector : 'b,strong,em,i,font,u,strike', remove : 'all', split : true, expand : false, block_expand : true, deep : true},
+ {selector : 'span', attributes : ['style', 'class'], remove : 'empty', split : true, expand : false, deep : true},
+ {selector : '*', attributes : ['style', 'class'], split : false, expand : false, deep : true}
+ ]
+ });
+
+ // Register default block formats
+ each('p h1 h2 h3 h4 h5 h6 div address pre div code dt dd samp'.split(/\s/), function(name) {
+ register(name, {block : name, remove : 'all'});
+ });
+
+ // Register user defined formats
+ register(ed.settings.formats);
+ };
+
+ function addKeyboardShortcuts() {
+ // Add some inline shortcuts
+ ed.addShortcut('ctrl+b', 'bold_desc', 'Bold');
+ ed.addShortcut('ctrl+i', 'italic_desc', 'Italic');
+ ed.addShortcut('ctrl+u', 'underline_desc', 'Underline');
+
+ // BlockFormat shortcuts keys
+ for (var i = 1; i <= 6; i++) {
+ ed.addShortcut('ctrl+' + i, '', ['FormatBlock', false, 'h' + i]);
+ }
+
+ ed.addShortcut('ctrl+7', '', ['FormatBlock', false, 'p']);
+ ed.addShortcut('ctrl+8', '', ['FormatBlock', false, 'div']);
+ ed.addShortcut('ctrl+9', '', ['FormatBlock', false, 'address']);
+ };
+
+ // Public functions
+
+ function get(name) {
+ return name ? formats[name] : formats;
+ };
+
+ function register(name, format) {
+ if (name) {
+ if (typeof(name) !== 'string') {
+ each(name, function(format, name) {
+ register(name, format);
+ });
+ } else {
+ // Force format into array and add it to internal collection
+ format = format.length ? format : [format];
+
+ each(format, function(format) {
+ // Set deep to false by default on selector formats this to avoid removing
+ // alignment on images inside paragraphs when alignment is changed on paragraphs
+ if (format.deep === undef)
+ format.deep = !format.selector;
+
+ // Default to true
+ if (format.split === undef)
+ format.split = !format.selector || format.inline;
+
+ // Default to true
+ if (format.remove === undef && format.selector && !format.inline)
+ format.remove = 'none';
+
+ // Mark format as a mixed format inline + block level
+ if (format.selector && format.inline) {
+ format.mixed = true;
+ format.block_expand = true;
+ }
+
+ // Split classes if needed
+ if (typeof(format.classes) === 'string')
+ format.classes = format.classes.split(/\s+/);
+ });
+
+ formats[name] = format;
+ }
+ }
+ };
+
+ var getTextDecoration = function(node) {
+ var decoration;
+
+ ed.dom.getParent(node, function(n) {
+ decoration = ed.dom.getStyle(n, 'text-decoration');
+ return decoration && decoration !== 'none';
+ });
+
+ return decoration;
+ };
+
+ var processUnderlineAndColor = function(node) {
+ var textDecoration;
+ if (node.nodeType === 1 && node.parentNode && node.parentNode.nodeType === 1) {
+ textDecoration = getTextDecoration(node.parentNode);
+ if (ed.dom.getStyle(node, 'color') && textDecoration) {
+ ed.dom.setStyle(node, 'text-decoration', textDecoration);
+ } else if (ed.dom.getStyle(node, 'textdecoration') === textDecoration) {
+ ed.dom.setStyle(node, 'text-decoration', null);
+ }
+ }
+ };
+
+ function apply(name, vars, node) {
+ var formatList = get(name), format = formatList[0], bookmark, rng, i, isCollapsed = selection.isCollapsed();
+
+ function setElementFormat(elm, fmt) {
+ fmt = fmt || format;
+
+ if (elm) {
+ if (fmt.onformat) {
+ fmt.onformat(elm, fmt, vars, node);
+ }
+
+ each(fmt.styles, function(value, name) {
+ dom.setStyle(elm, name, replaceVars(value, vars));
+ });
+
+ each(fmt.attributes, function(value, name) {
+ dom.setAttrib(elm, name, replaceVars(value, vars));
+ });
+
+ each(fmt.classes, function(value) {
+ value = replaceVars(value, vars);
+
+ if (!dom.hasClass(elm, value))
+ dom.addClass(elm, value);
+ });
+ }
+ };
+ function adjustSelectionToVisibleSelection() {
+ function findSelectionEnd(start, end) {
+ var walker = new TreeWalker(end);
+ for (node = walker.current(); node; node = walker.prev()) {
+ if (node.childNodes.length > 1 || node == start || node.tagName == 'BR') {
+ return node;
+ }
+ }
+ };
+
+ // Adjust selection so that a end container with a end offset of zero is not included in the selection
+ // as this isn't visible to the user.
+ var rng = ed.selection.getRng();
+ var start = rng.startContainer;
+ var end = rng.endContainer;
+
+ if (start != end && rng.endOffset === 0) {
+ var newEnd = findSelectionEnd(start, end);
+ var endOffset = newEnd.nodeType == 3 ? newEnd.length : newEnd.childNodes.length;
+
+ rng.setEnd(newEnd, endOffset);
+ }
+
+ return rng;
+ }
+
+ function applyStyleToList(node, bookmark, wrapElm, newWrappers, process){
+ var nodes = [], listIndex = -1, list, startIndex = -1, endIndex = -1, currentWrapElm;
+
+ // find the index of the first child list.
+ each(node.childNodes, function(n, index) {
+ if (n.nodeName === "UL" || n.nodeName === "OL") {
+ listIndex = index;
+ list = n;
+ return false;
+ }
+ });
+
+ // get the index of the bookmarks
+ each(node.childNodes, function(n, index) {
+ if (n.nodeName === "SPAN" && dom.getAttrib(n, "data-mce-type") == "bookmark") {
+ if (n.id == bookmark.id + "_start") {
+ startIndex = index;
+ } else if (n.id == bookmark.id + "_end") {
+ endIndex = index;
+ }
+ }
+ });
+
+ // if the selection spans across an embedded list, or there isn't an embedded list - handle processing normally
+ if (listIndex <= 0 || (startIndex < listIndex && endIndex > listIndex)) {
+ each(tinymce.grep(node.childNodes), process);
+ return 0;
+ } else {
+ currentWrapElm = dom.clone(wrapElm, FALSE);
+
+ // create a list of the nodes on the same side of the list as the selection
+ each(tinymce.grep(node.childNodes), function(n, index) {
+ if ((startIndex < listIndex && index < listIndex) || (startIndex > listIndex && index > listIndex)) {
+ nodes.push(n);
+ n.parentNode.removeChild(n);
+ }
+ });
+
+ // insert the wrapping element either before or after the list.
+ if (startIndex < listIndex) {
+ node.insertBefore(currentWrapElm, list);
+ } else if (startIndex > listIndex) {
+ node.insertBefore(currentWrapElm, list.nextSibling);
+ }
+
+ // add the new nodes to the list.
+ newWrappers.push(currentWrapElm);
+
+ each(nodes, function(node) {
+ currentWrapElm.appendChild(node);
+ });
+
+ return currentWrapElm;
+ }
+ };
+
+ function applyRngStyle(rng, bookmark, node_specific) {
+ var newWrappers = [], wrapName, wrapElm, contentEditable = true;
+
+ // Setup wrapper element
+ wrapName = format.inline || format.block;
+ wrapElm = dom.create(wrapName);
+ setElementFormat(wrapElm);
+
+ rangeUtils.walk(rng, function(nodes) {
+ var currentWrapElm;
+
+ function process(node) {
+ var nodeName, parentName, found, hasContentEditableState, lastContentEditable;
+
+ lastContentEditable = contentEditable;
+ nodeName = node.nodeName.toLowerCase();
+ parentName = node.parentNode.nodeName.toLowerCase();
+
+ // Node has a contentEditable value
+ if (node.nodeType === 1 && getContentEditable(node)) {
+ lastContentEditable = contentEditable;
+ contentEditable = getContentEditable(node) === "true";
+ hasContentEditableState = true; // We don't want to wrap the container only it's children
+ }
+
+ // Stop wrapping on br elements
+ if (isEq(nodeName, 'br')) {
+ currentWrapElm = 0;
+
+ // Remove any br elements when we wrap things
+ if (format.block)
+ dom.remove(node);
+
+ return;
+ }
+
+ // If node is wrapper type
+ if (format.wrapper && matchNode(node, name, vars)) {
+ currentWrapElm = 0;
+ return;
+ }
+
+ // Can we rename the block
+ if (contentEditable && !hasContentEditableState && format.block && !format.wrapper && isTextBlock(nodeName)) {
+ node = dom.rename(node, wrapName);
+ setElementFormat(node);
+ newWrappers.push(node);
+ currentWrapElm = 0;
+ return;
+ }
+
+ // Handle selector patterns
+ if (format.selector) {
+ // Look for matching formats
+ each(formatList, function(format) {
+ // Check collapsed state if it exists
+ if ('collapsed' in format && format.collapsed !== isCollapsed) {
+ return;
+ }
+
+ if (dom.is(node, format.selector) && !isCaretNode(node)) {
+ setElementFormat(node, format);
+ found = true;
+ }
+ });
+
+ // Continue processing if a selector match wasn't found and a inline element is defined
+ if (!format.inline || found) {
+ currentWrapElm = 0;
+ return;
+ }
+ }
+
+ // Is it valid to wrap this item
+ if (contentEditable && !hasContentEditableState && isValid(wrapName, nodeName) && isValid(parentName, wrapName) &&
+ !(!node_specific && node.nodeType === 3 && node.nodeValue.length === 1 && node.nodeValue.charCodeAt(0) === 65279) && !isCaretNode(node)) {
+ // Start wrapping
+ if (!currentWrapElm) {
+ // Wrap the node
+ currentWrapElm = dom.clone(wrapElm, FALSE);
+ node.parentNode.insertBefore(currentWrapElm, node);
+ newWrappers.push(currentWrapElm);
+ }
+
+ currentWrapElm.appendChild(node);
+ } else if (nodeName == 'li' && bookmark) {
+ // Start wrapping - if we are in a list node and have a bookmark, then we will always begin by wrapping in a new element.
+ currentWrapElm = applyStyleToList(node, bookmark, wrapElm, newWrappers, process);
+ } else {
+ // Start a new wrapper for possible children
+ currentWrapElm = 0;
+
+ each(tinymce.grep(node.childNodes), process);
+
+ if (hasContentEditableState) {
+ contentEditable = lastContentEditable; // Restore last contentEditable state from stack
+ }
+
+ // End the last wrapper
+ currentWrapElm = 0;
+ }
+ };
+
+ // Process siblings from range
+ each(nodes, process);
+ });
+
+ // Wrap links inside as well, for example color inside a link when the wrapper is around the link
+ if (format.wrap_links === false) {
+ each(newWrappers, function(node) {
+ function process(node) {
+ var i, currentWrapElm, children;
+
+ if (node.nodeName === 'A') {
+ currentWrapElm = dom.clone(wrapElm, FALSE);
+ newWrappers.push(currentWrapElm);
+
+ children = tinymce.grep(node.childNodes);
+ for (i = 0; i < children.length; i++)
+ currentWrapElm.appendChild(children[i]);
+
+ node.appendChild(currentWrapElm);
+ }
+
+ each(tinymce.grep(node.childNodes), process);
+ };
+
+ process(node);
+ });
+ }
+
+ // Cleanup
+
+ each(newWrappers, function(node) {
+ var childCount;
+
+ function getChildCount(node) {
+ var count = 0;
+
+ each(node.childNodes, function(node) {
+ if (!isWhiteSpaceNode(node) && !isBookmarkNode(node))
+ count++;
+ });
+
+ return count;
+ };
+
+ function mergeStyles(node) {
+ var child, clone;
+
+ each(node.childNodes, function(node) {
+ if (node.nodeType == 1 && !isBookmarkNode(node) && !isCaretNode(node)) {
+ child = node;
+ return FALSE; // break loop
+ }
+ });
+
+ // If child was found and of the same type as the current node
+ if (child && matchName(child, format)) {
+ clone = dom.clone(child, FALSE);
+ setElementFormat(clone);
+
+ dom.replace(clone, node, TRUE);
+ dom.remove(child, 1);
+ }
+
+ return clone || node;
+ };
+
+ childCount = getChildCount(node);
+
+ // Remove empty nodes but only if there is multiple wrappers and they are not block
+ // elements so never remove single <h1></h1> since that would remove the currrent empty block element where the caret is at
+ if ((newWrappers.length > 1 || !isBlock(node)) && childCount === 0) {
+ dom.remove(node, 1);
+ return;
+ }
+
+ if (format.inline || format.wrapper) {
+ // Merges the current node with it's children of similar type to reduce the number of elements
+ if (!format.exact && childCount === 1)
+ node = mergeStyles(node);
+
+ // Remove/merge children
+ each(formatList, function(format) {
+ // Merge all children of similar type will move styles from child to parent
+ // this: <span style="color:red"><b><span style="color:red; font-size:10px">text</span></b></span>
+ // will become: <span style="color:red"><b><span style="font-size:10px">text</span></b></span>
+ each(dom.select(format.inline, node), function(child) {
+ var parent;
+
+ // When wrap_links is set to false we don't want
+ // to remove the format on children within links
+ if (format.wrap_links === false) {
+ parent = child.parentNode;
+
+ do {
+ if (parent.nodeName === 'A')
+ return;
+ } while (parent = parent.parentNode);
+ }
+
+ removeFormat(format, vars, child, format.exact ? child : null);
+ });
+ });
+
+ // Remove child if direct parent is of same type
+ if (matchNode(node.parentNode, name, vars)) {
+ dom.remove(node, 1);
+ node = 0;
+ return TRUE;
+ }
+
+ // Look for parent with similar style format
+ if (format.merge_with_parents) {
+ dom.getParent(node.parentNode, function(parent) {
+ if (matchNode(parent, name, vars)) {
+ dom.remove(node, 1);
+ node = 0;
+ return TRUE;
+ }
+ });
+ }
+
+ // Merge next and previous siblings if they are similar <b>text</b><b>text</b> becomes <b>texttext</b>
+ if (node && format.merge_siblings !== false) {
+ node = mergeSiblings(getNonWhiteSpaceSibling(node), node);
+ node = mergeSiblings(node, getNonWhiteSpaceSibling(node, TRUE));
+ }
+ }
+ });
+ };
+
+ if (format) {
+ if (node) {
+ if (node.nodeType) {
+ rng = dom.createRng();
+ rng.setStartBefore(node);
+ rng.setEndAfter(node);
+ applyRngStyle(expandRng(rng, formatList), null, true);
+ } else {
+ applyRngStyle(node, null, true);
+ }
+ } else {
+ if (!isCollapsed || !format.inline || dom.select('td.mceSelected,th.mceSelected').length) {
+ // Obtain selection node before selection is unselected by applyRngStyle()
+ var curSelNode = ed.selection.getNode();
+
+ // If the formats have a default block and we can't find a parent block then start wrapping it with a DIV this is for forced_root_blocks: false
+ // It's kind of a hack but people should be using the default block type P since all desktop editors work that way
+ if (!forcedRootBlock && formatList[0].defaultBlock && !dom.getParent(curSelNode, dom.isBlock)) {
+ apply(formatList[0].defaultBlock);
+ }
+
+ // Apply formatting to selection
+ ed.selection.setRng(adjustSelectionToVisibleSelection());
+ bookmark = selection.getBookmark();
+ applyRngStyle(expandRng(selection.getRng(TRUE), formatList), bookmark);
+
+ // Colored nodes should be underlined so that the color of the underline matches the text color.
+ if (format.styles && (format.styles.color || format.styles.textDecoration)) {
+ tinymce.walk(curSelNode, processUnderlineAndColor, 'childNodes');
+ processUnderlineAndColor(curSelNode);
+ }
+
+ selection.moveToBookmark(bookmark);
+ moveStart(selection.getRng(TRUE));
+ ed.nodeChanged();
+ } else
+ performCaretAction('apply', name, vars);
+ }
+ }
+ };
+
+ function remove(name, vars, node) {
+ var formatList = get(name), format = formatList[0], bookmark, i, rng, contentEditable = true;
+
+ // Merges the styles for each node
+ function process(node) {
+ var children, i, l, localContentEditable, lastContentEditable, hasContentEditableState;
+
+ // Node has a contentEditable value
+ if (node.nodeType === 1 && getContentEditable(node)) {
+ lastContentEditable = contentEditable;
+ contentEditable = getContentEditable(node) === "true";
+ hasContentEditableState = true; // We don't want to wrap the container only it's children
+ }
+
+ // Grab the children first since the nodelist might be changed
+ children = tinymce.grep(node.childNodes);
+
+ // Process current node
+ if (contentEditable && !hasContentEditableState) {
+ for (i = 0, l = formatList.length; i < l; i++) {
+ if (removeFormat(formatList[i], vars, node, node))
+ break;
+ }
+ }
+
+ // Process the children
+ if (format.deep) {
+ if (children.length) {
+ for (i = 0, l = children.length; i < l; i++)
+ process(children[i]);
+
+ if (hasContentEditableState) {
+ contentEditable = lastContentEditable; // Restore last contentEditable state from stack
+ }
+ }
+ }
+ };
+
+ function findFormatRoot(container) {
+ var formatRoot;
+
+ // Find format root
+ each(getParents(container.parentNode).reverse(), function(parent) {
+ var format;
+
+ // Find format root element
+ if (!formatRoot && parent.id != '_start' && parent.id != '_end') {
+ // Is the node matching the format we are looking for
+ format = matchNode(parent, name, vars);
+ if (format && format.split !== false)
+ formatRoot = parent;
+ }
+ });
+
+ return formatRoot;
+ };
+
+ function wrapAndSplit(format_root, container, target, split) {
+ var parent, clone, lastClone, firstClone, i, formatRootParent;
+
+ // Format root found then clone formats and split it
+ if (format_root) {
+ formatRootParent = format_root.parentNode;
+
+ for (parent = container.parentNode; parent && parent != formatRootParent; parent = parent.parentNode) {
+ clone = dom.clone(parent, FALSE);
+
+ for (i = 0; i < formatList.length; i++) {
+ if (removeFormat(formatList[i], vars, clone, clone)) {
+ clone = 0;
+ break;
+ }
+ }
+
+ // Build wrapper node
+ if (clone) {
+ if (lastClone)
+ clone.appendChild(lastClone);
+
+ if (!firstClone)
+ firstClone = clone;
+
+ lastClone = clone;
+ }
+ }
+
+ // Never split block elements if the format is mixed
+ if (split && (!format.mixed || !isBlock(format_root)))
+ container = dom.split(format_root, container);
+
+ // Wrap container in cloned formats
+ if (lastClone) {
+ target.parentNode.insertBefore(lastClone, target);
+ firstClone.appendChild(target);
+ }
+ }
+
+ return container;
+ };
+
+ function splitToFormatRoot(container) {
+ return wrapAndSplit(findFormatRoot(container), container, container, true);
+ };
+
+ function unwrap(start) {
+ var node = dom.get(start ? '_start' : '_end'),
+ out = node[start ? 'firstChild' : 'lastChild'];
+
+ // If the end is placed within the start the result will be removed
+ // So this checks if the out node is a bookmark node if it is it
+ // checks for another more suitable node
+ if (isBookmarkNode(out))
+ out = out[start ? 'firstChild' : 'lastChild'];
+
+ dom.remove(node, true);
+
+ return out;
+ };
+
+ function removeRngStyle(rng) {
+ var startContainer, endContainer, node;
+
+ rng = expandRng(rng, formatList, TRUE);
+
+ if (format.split) {
+ startContainer = getContainer(rng, TRUE);
+ endContainer = getContainer(rng);
+
+ if (startContainer != endContainer) {
+ // WebKit will render the table incorrectly if we wrap a TD in a SPAN so lets see if the can use the first child instead
+ // This will happen if you tripple click a table cell and use remove formatting
+ if (/^(TR|TD)$/.test(startContainer.nodeName) && startContainer.firstChild) {
+ startContainer = (startContainer.nodeName == "TD" ? startContainer.firstChild : startContainer.firstChild.firstChild) || startContainer;
+ }
+
+ // Wrap start/end nodes in span element since these might be cloned/moved
+ startContainer = wrap(startContainer, 'span', {id : '_start', 'data-mce-type' : 'bookmark'});
+ endContainer = wrap(endContainer, 'span', {id : '_end', 'data-mce-type' : 'bookmark'});
+
+ // Split start/end
+ splitToFormatRoot(startContainer);
+ splitToFormatRoot(endContainer);
+
+ // Unwrap start/end to get real elements again
+ startContainer = unwrap(TRUE);
+ endContainer = unwrap();
+ } else
+ startContainer = endContainer = splitToFormatRoot(startContainer);
+
+ // Update range positions since they might have changed after the split operations
+ rng.startContainer = startContainer.parentNode;
+ rng.startOffset = nodeIndex(startContainer);
+ rng.endContainer = endContainer.parentNode;
+ rng.endOffset = nodeIndex(endContainer) + 1;
+ }
+
+ // Remove items between start/end
+ rangeUtils.walk(rng, function(nodes) {
+ each(nodes, function(node) {
+ process(node);
+
+ // Remove parent span if it only contains text-decoration: underline, yet a parent node is also underlined.
+ if (node.nodeType === 1 && ed.dom.getStyle(node, 'text-decoration') === 'underline' && node.parentNode && getTextDecoration(node.parentNode) === 'underline') {
+ removeFormat({'deep': false, 'exact': true, 'inline': 'span', 'styles': {'textDecoration' : 'underline'}}, null, node);
+ }
+ });
+ });
+ };
+
+ // Handle node
+ if (node) {
+ if (node.nodeType) {
+ rng = dom.createRng();
+ rng.setStartBefore(node);
+ rng.setEndAfter(node);
+ removeRngStyle(rng);
+ } else {
+ removeRngStyle(node);
+ }
+
+ return;
+ }
+
+ if (!selection.isCollapsed() || !format.inline || dom.select('td.mceSelected,th.mceSelected').length) {
+ bookmark = selection.getBookmark();
+ removeRngStyle(selection.getRng(TRUE));
+ selection.moveToBookmark(bookmark);
+
+ // Check if start element still has formatting then we are at: "<b>text|</b>text" and need to move the start into the next text node
+ if (format.inline && match(name, vars, selection.getStart())) {
+ moveStart(selection.getRng(true));
+ }
+
+ ed.nodeChanged();
+ } else
+ performCaretAction('remove', name, vars);
+ };
+
+ function toggle(name, vars, node) {
+ var fmt = get(name);
+
+ if (match(name, vars, node) && (!('toggle' in fmt[0]) || fmt[0].toggle))
+ remove(name, vars, node);
+ else
+ apply(name, vars, node);
+ };
+
+ function matchNode(node, name, vars, similar) {
+ var formatList = get(name), format, i, classes;
+
+ function matchItems(node, format, item_name) {
+ var key, value, items = format[item_name], i;
+
+ // Custom match
+ if (format.onmatch) {
+ return format.onmatch(node, format, item_name);
+ }
+
+ // Check all items
+ if (items) {
+ // Non indexed object
+ if (items.length === undef) {
+ for (key in items) {
+ if (items.hasOwnProperty(key)) {
+ if (item_name === 'attributes')
+ value = dom.getAttrib(node, key);
+ else
+ value = getStyle(node, key);
+
+ if (similar && !value && !format.exact)
+ return;
+
+ if ((!similar || format.exact) && !isEq(value, replaceVars(items[key], vars)))
+ return;
+ }
+ }
+ } else {
+ // Only one match needed for indexed arrays
+ for (i = 0; i < items.length; i++) {
+ if (item_name === 'attributes' ? dom.getAttrib(node, items[i]) : getStyle(node, items[i]))
+ return format;
+ }
+ }
+ }
+
+ return format;
+ };
+
+ if (formatList && node) {
+ // Check each format in list
+ for (i = 0; i < formatList.length; i++) {
+ format = formatList[i];
+
+ // Name name, attributes, styles and classes
+ if (matchName(node, format) && matchItems(node, format, 'attributes') && matchItems(node, format, 'styles')) {
+ // Match classes
+ if (classes = format.classes) {
+ for (i = 0; i < classes.length; i++) {
+ if (!dom.hasClass(node, classes[i]))
+ return;
+ }
+ }
+
+ return format;
+ }
+ }
+ }
+ };
+
+ function match(name, vars, node) {
+ var startNode;
+
+ function matchParents(node) {
+ // Find first node with similar format settings
+ node = dom.getParent(node, function(node) {
+ return !!matchNode(node, name, vars, true);
+ });
+
+ // Do an exact check on the similar format element
+ return matchNode(node, name, vars);
+ };
+
+ // Check specified node
+ if (node)
+ return matchParents(node);
+
+ // Check selected node
+ node = selection.getNode();
+ if (matchParents(node))
+ return TRUE;
+
+ // Check start node if it's different
+ startNode = selection.getStart();
+ if (startNode != node) {
+ if (matchParents(startNode))
+ return TRUE;
+ }
+
+ return FALSE;
+ };
+
+ function matchAll(names, vars) {
+ var startElement, matchedFormatNames = [], checkedMap = {}, i, ni, name;
+
+ // Check start of selection for formats
+ startElement = selection.getStart();
+ dom.getParent(startElement, function(node) {
+ var i, name;
+
+ for (i = 0; i < names.length; i++) {
+ name = names[i];
+
+ if (!checkedMap[name] && matchNode(node, name, vars)) {
+ checkedMap[name] = true;
+ matchedFormatNames.push(name);
+ }
+ }
+ }, dom.getRoot());
+
+ return matchedFormatNames;
+ };
+
+ function canApply(name) {
+ var formatList = get(name), startNode, parents, i, x, selector;
+
+ if (formatList) {
+ startNode = selection.getStart();
+ parents = getParents(startNode);
+
+ for (x = formatList.length - 1; x >= 0; x--) {
+ selector = formatList[x].selector;
+
+ // Format is not selector based, then always return TRUE
+ if (!selector)
+ return TRUE;
+
+ for (i = parents.length - 1; i >= 0; i--) {
+ if (dom.is(parents[i], selector))
+ return TRUE;
+ }
+ }
+ }
+
+ return FALSE;
+ };
+
+ function formatChanged(formats, callback, similar) {
+ var currentFormats;
+
+ // Setup format node change logic
+ if (!formatChangeData) {
+ formatChangeData = {};
+ currentFormats = {};
+
+ ed.onNodeChange.addToTop(function(ed, cm, node) {
+ var parents = getParents(node), matchedFormats = {};
+
+ // Check for new formats
+ each(formatChangeData, function(callbacks, format) {
+ each(parents, function(node) {
+ if (matchNode(node, format, {}, callbacks.similar)) {
+ if (!currentFormats[format]) {
+ // Execute callbacks
+ each(callbacks, function(callback) {
+ callback(true, {node: node, format: format, parents: parents});
+ });
+
+ currentFormats[format] = callbacks;
+ }
+
+ matchedFormats[format] = callbacks;
+ return false;
+ }
+ });
+ });
+
+ // Check if current formats still match
+ each(currentFormats, function(callbacks, format) {
+ if (!matchedFormats[format]) {
+ delete currentFormats[format];
+
+ each(callbacks, function(callback) {
+ callback(false, {node: node, format: format, parents: parents});
+ });
+ }
+ });
+ });
+ }
+
+ // Add format listeners
+ each(formats.split(','), function(format) {
+ if (!formatChangeData[format]) {
+ formatChangeData[format] = [];
+ formatChangeData[format].similar = similar;
+ }
+
+ formatChangeData[format].push(callback);
+ });
+
+ return this;
+ };
+
+ // Expose to public
+ tinymce.extend(this, {
+ get : get,
+ register : register,
+ apply : apply,
+ remove : remove,
+ toggle : toggle,
+ match : match,
+ matchAll : matchAll,
+ matchNode : matchNode,
+ canApply : canApply,
+ formatChanged: formatChanged
+ });
+
+ // Initialize
+ defaultFormats();
+ addKeyboardShortcuts();
+
+ // Private functions
+
+ function matchName(node, format) {
+ // Check for inline match
+ if (isEq(node, format.inline))
+ return TRUE;
+
+ // Check for block match
+ if (isEq(node, format.block))
+ return TRUE;
+
+ // Check for selector match
+ if (format.selector)
+ return dom.is(node, format.selector);
+ };
+
+ function isEq(str1, str2) {
+ str1 = str1 || '';
+ str2 = str2 || '';
+
+ str1 = '' + (str1.nodeName || str1);
+ str2 = '' + (str2.nodeName || str2);
+
+ return str1.toLowerCase() == str2.toLowerCase();
+ };
+
+ function getStyle(node, name) {
+ var styleVal = dom.getStyle(node, name);
+
+ // Force the format to hex
+ if (name == 'color' || name == 'backgroundColor')
+ styleVal = dom.toHex(styleVal);
+
+ // Opera will return bold as 700
+ if (name == 'fontWeight' && styleVal == 700)
+ styleVal = 'bold';
+
+ return '' + styleVal;
+ };
+
+ function replaceVars(value, vars) {
+ if (typeof(value) != "string")
+ value = value(vars);
+ else if (vars) {
+ value = value.replace(/%(\w+)/g, function(str, name) {
+ return vars[name] || str;
+ });
+ }
+
+ return value;
+ };
+
+ function isWhiteSpaceNode(node) {
+ return node && node.nodeType === 3 && /^([\t \r\n]+|)$/.test(node.nodeValue);
+ };
+
+ function wrap(node, name, attrs) {
+ var wrapper = dom.create(name, attrs);
+
+ node.parentNode.insertBefore(wrapper, node);
+ wrapper.appendChild(node);
+
+ return wrapper;
+ };
+
+ function expandRng(rng, format, remove) {
+ var sibling, lastIdx, leaf, endPoint,
+ startContainer = rng.startContainer,
+ startOffset = rng.startOffset,
+ endContainer = rng.endContainer,
+ endOffset = rng.endOffset;
+
+ // This function walks up the tree if there is no siblings before/after the node
+ function findParentContainer(start) {
+ var container, parent, child, sibling, siblingName, root;
+
+ container = parent = start ? startContainer : endContainer;
+ siblingName = start ? 'previousSibling' : 'nextSibling';
+ root = dom.getRoot();
+
+ function isBogusBr(node) {
+ return node.nodeName == "BR" && node.getAttribute('data-mce-bogus') && !node.nextSibling;
+ };
+
+ // If it's a text node and the offset is inside the text
+ if (container.nodeType == 3 && !isWhiteSpaceNode(container)) {
+ if (start ? startOffset > 0 : endOffset < container.nodeValue.length) {
+ return container;
+ }
+ }
+
+ for (;;) {
+ // Stop expanding on block elements
+ if (!format[0].block_expand && isBlock(parent))
+ return parent;
+
+ // Walk left/right
+ for (sibling = parent[siblingName]; sibling; sibling = sibling[siblingName]) {
+ if (!isBookmarkNode(sibling) && !isWhiteSpaceNode(sibling) && !isBogusBr(sibling)) {
+ return parent;
+ }
+ }
+
+ // Check if we can move up are we at root level or body level
+ if (parent.parentNode == root) {
+ container = parent;
+ break;
+ }
+
+ parent = parent.parentNode;
+ }
+
+ return container;
+ };
+
+ // This function walks down the tree to find the leaf at the selection.
+ // The offset is also returned as if node initially a leaf, the offset may be in the middle of the text node.
+ function findLeaf(node, offset) {
+ if (offset === undef)
+ offset = node.nodeType === 3 ? node.length : node.childNodes.length;
+ while (node && node.hasChildNodes()) {
+ node = node.childNodes[offset];
+ if (node)
+ offset = node.nodeType === 3 ? node.length : node.childNodes.length;
+ }
+ return { node: node, offset: offset };
+ }
+
+ // If index based start position then resolve it
+ if (startContainer.nodeType == 1 && startContainer.hasChildNodes()) {
+ lastIdx = startContainer.childNodes.length - 1;
+ startContainer = startContainer.childNodes[startOffset > lastIdx ? lastIdx : startOffset];
+
+ if (startContainer.nodeType == 3)
+ startOffset = 0;
+ }
+
+ // If index based end position then resolve it
+ if (endContainer.nodeType == 1 && endContainer.hasChildNodes()) {
+ lastIdx = endContainer.childNodes.length - 1;
+ endContainer = endContainer.childNodes[endOffset > lastIdx ? lastIdx : endOffset - 1];
+
+ if (endContainer.nodeType == 3)
+ endOffset = endContainer.nodeValue.length;
+ }
+
+ // Expands the node to the closes contentEditable false element if it exists
+ function findParentContentEditable(node) {
+ var parent = node;
+
+ while (parent) {
+ if (parent.nodeType === 1 && getContentEditable(parent)) {
+ return getContentEditable(parent) === "false" ? parent : node;
+ }
+
+ parent = parent.parentNode;
+ }
+
+ return node;
+ };
+
+ function findWordEndPoint(container, offset, start) {
+ var walker, node, pos, lastTextNode;
+
+ function findSpace(node, offset) {
+ var pos, pos2, str = node.nodeValue;
+
+ if (typeof(offset) == "undefined") {
+ offset = start ? str.length : 0;
+ }
+
+ if (start) {
+ pos = str.lastIndexOf(' ', offset);
+ pos2 = str.lastIndexOf('\u00a0', offset);
+ pos = pos > pos2 ? pos : pos2;
+
+ // Include the space on remove to avoid tag soup
+ if (pos !== -1 && !remove) {
+ pos++;
+ }
+ } else {
+ pos = str.indexOf(' ', offset);
+ pos2 = str.indexOf('\u00a0', offset);
+ pos = pos !== -1 && (pos2 === -1 || pos < pos2) ? pos : pos2;
+ }
+
+ return pos;
+ };
+
+ if (container.nodeType === 3) {
+ pos = findSpace(container, offset);
+
+ if (pos !== -1) {
+ return {container : container, offset : pos};
+ }
+
+ lastTextNode = container;
+ }
+
+ // Walk the nodes inside the block
+ walker = new TreeWalker(container, dom.getParent(container, isBlock) || ed.getBody());
+ while (node = walker[start ? 'prev' : 'next']()) {
+ if (node.nodeType === 3) {
+ lastTextNode = node;
+ pos = findSpace(node);
+
+ if (pos !== -1) {
+ return {container : node, offset : pos};
+ }
+ } else if (isBlock(node)) {
+ break;
+ }
+ }
+
+ if (lastTextNode) {
+ if (start) {
+ offset = 0;
+ } else {
+ offset = lastTextNode.length;
+ }
+
+ return {container: lastTextNode, offset: offset};
+ }
+ };
+
+ function findSelectorEndPoint(container, sibling_name) {
+ var parents, i, y, curFormat;
+
+ if (container.nodeType == 3 && container.nodeValue.length === 0 && container[sibling_name])
+ container = container[sibling_name];
+
+ parents = getParents(container);
+ for (i = 0; i < parents.length; i++) {
+ for (y = 0; y < format.length; y++) {
+ curFormat = format[y];
+
+ // If collapsed state is set then skip formats that doesn't match that
+ if ("collapsed" in curFormat && curFormat.collapsed !== rng.collapsed)
+ continue;
+
+ if (dom.is(parents[i], curFormat.selector))
+ return parents[i];
+ }
+ }
+
+ return container;
+ };
+
+ function findBlockEndPoint(container, sibling_name, sibling_name2) {
+ var node;
+
+ // Expand to block of similar type
+ if (!format[0].wrapper)
+ node = dom.getParent(container, format[0].block);
+
+ // Expand to first wrappable block element or any block element
+ if (!node)
+ node = dom.getParent(container.nodeType == 3 ? container.parentNode : container, isTextBlock);
+
+ // Exclude inner lists from wrapping
+ if (node && format[0].wrapper)
+ node = getParents(node, 'ul,ol').reverse()[0] || node;
+
+ // Didn't find a block element look for first/last wrappable element
+ if (!node) {
+ node = container;
+
+ while (node[sibling_name] && !isBlock(node[sibling_name])) {
+ node = node[sibling_name];
+
+ // Break on BR but include it will be removed later on
+ // we can't remove it now since we need to check if it can be wrapped
+ if (isEq(node, 'br'))
+ break;
+ }
+ }
+
+ return node || container;
+ };
+
+ // Expand to closest contentEditable element
+ startContainer = findParentContentEditable(startContainer);
+ endContainer = findParentContentEditable(endContainer);
+
+ // Exclude bookmark nodes if possible
+ if (isBookmarkNode(startContainer.parentNode) || isBookmarkNode(startContainer)) {
+ startContainer = isBookmarkNode(startContainer) ? startContainer : startContainer.parentNode;
+ startContainer = startContainer.nextSibling || startContainer;
+
+ if (startContainer.nodeType == 3)
+ startOffset = 0;
+ }
+
+ if (isBookmarkNode(endContainer.parentNode) || isBookmarkNode(endContainer)) {
+ endContainer = isBookmarkNode(endContainer) ? endContainer : endContainer.parentNode;
+ endContainer = endContainer.previousSibling || endContainer;
+
+ if (endContainer.nodeType == 3)
+ endOffset = endContainer.length;
+ }
+
+ if (format[0].inline) {
+ if (rng.collapsed) {
+ // Expand left to closest word boundery
+ endPoint = findWordEndPoint(startContainer, startOffset, true);
+ if (endPoint) {
+ startContainer = endPoint.container;
+ startOffset = endPoint.offset;
+ }
+
+ // Expand right to closest word boundery
+ endPoint = findWordEndPoint(endContainer, endOffset);
+ if (endPoint) {
+ endContainer = endPoint.container;
+ endOffset = endPoint.offset;
+ }
+ }
+
+ // Avoid applying formatting to a trailing space.
+ leaf = findLeaf(endContainer, endOffset);
+ if (leaf.node) {
+ while (leaf.node && leaf.offset === 0 && leaf.node.previousSibling)
+ leaf = findLeaf(leaf.node.previousSibling);
+
+ if (leaf.node && leaf.offset > 0 && leaf.node.nodeType === 3 &&
+ leaf.node.nodeValue.charAt(leaf.offset - 1) === ' ') {
+
+ if (leaf.offset > 1) {
+ endContainer = leaf.node;
+ endContainer.splitText(leaf.offset - 1);
+ }
+ }
+ }
+ }
+
+ // Move start/end point up the tree if the leaves are sharp and if we are in different containers
+ // Example * becomes !: !<p><b><i>*text</i><i>text*</i></b></p>!
+ // This will reduce the number of wrapper elements that needs to be created
+ // Move start point up the tree
+ if (format[0].inline || format[0].block_expand) {
+ if (!format[0].inline || (startContainer.nodeType != 3 || startOffset === 0)) {
+ startContainer = findParentContainer(true);
+ }
+
+ if (!format[0].inline || (endContainer.nodeType != 3 || endOffset === endContainer.nodeValue.length)) {
+ endContainer = findParentContainer();
+ }
+ }
+
+ // Expand start/end container to matching selector
+ if (format[0].selector && format[0].expand !== FALSE && !format[0].inline) {
+ // Find new startContainer/endContainer if there is better one
+ startContainer = findSelectorEndPoint(startContainer, 'previousSibling');
+ endContainer = findSelectorEndPoint(endContainer, 'nextSibling');
+ }
+
+ // Expand start/end container to matching block element or text node
+ if (format[0].block || format[0].selector) {
+ // Find new startContainer/endContainer if there is better one
+ startContainer = findBlockEndPoint(startContainer, 'previousSibling');
+ endContainer = findBlockEndPoint(endContainer, 'nextSibling');
+
+ // Non block element then try to expand up the leaf
+ if (format[0].block) {
+ if (!isBlock(startContainer))
+ startContainer = findParentContainer(true);
+
+ if (!isBlock(endContainer))
+ endContainer = findParentContainer();
+ }
+ }
+
+ // Setup index for startContainer
+ if (startContainer.nodeType == 1) {
+ startOffset = nodeIndex(startContainer);
+ startContainer = startContainer.parentNode;
+ }
+
+ // Setup index for endContainer
+ if (endContainer.nodeType == 1) {
+ endOffset = nodeIndex(endContainer) + 1;
+ endContainer = endContainer.parentNode;
+ }
+
+ // Return new range like object
+ return {
+ startContainer : startContainer,
+ startOffset : startOffset,
+ endContainer : endContainer,
+ endOffset : endOffset
+ };
+ }
+
+ function removeFormat(format, vars, node, compare_node) {
+ var i, attrs, stylesModified;
+
+ // Check if node matches format
+ if (!matchName(node, format))
+ return FALSE;
+
+ // Should we compare with format attribs and styles
+ if (format.remove != 'all') {
+ // Remove styles
+ each(format.styles, function(value, name) {
+ value = replaceVars(value, vars);
+
+ // Indexed array
+ if (typeof(name) === 'number') {
+ name = value;
+ compare_node = 0;
+ }
+
+ if (!compare_node || isEq(getStyle(compare_node, name), value))
+ dom.setStyle(node, name, '');
+
+ stylesModified = 1;
+ });
+
+ // Remove style attribute if it's empty
+ if (stylesModified && dom.getAttrib(node, 'style') == '') {
+ node.removeAttribute('style');
+ node.removeAttribute('data-mce-style');
+ }
+
+ // Remove attributes
+ each(format.attributes, function(value, name) {
+ var valueOut;
+
+ value = replaceVars(value, vars);
+
+ // Indexed array
+ if (typeof(name) === 'number') {
+ name = value;
+ compare_node = 0;
+ }
+
+ if (!compare_node || isEq(dom.getAttrib(compare_node, name), value)) {
+ // Keep internal classes
+ if (name == 'class') {
+ value = dom.getAttrib(node, name);
+ if (value) {
+ // Build new class value where everything is removed except the internal prefixed classes
+ valueOut = '';
+ each(value.split(/\s+/), function(cls) {
+ if (/mce\w+/.test(cls))
+ valueOut += (valueOut ? ' ' : '') + cls;
+ });
+
+ // We got some internal classes left
+ if (valueOut) {
+ dom.setAttrib(node, name, valueOut);
+ return;
+ }
+ }
+ }
+
+ // IE6 has a bug where the attribute doesn't get removed correctly
+ if (name == "class")
+ node.removeAttribute('className');
+
+ // Remove mce prefixed attributes
+ if (MCE_ATTR_RE.test(name))
+ node.removeAttribute('data-mce-' + name);
+
+ node.removeAttribute(name);
+ }
+ });
+
+ // Remove classes
+ each(format.classes, function(value) {
+ value = replaceVars(value, vars);
+
+ if (!compare_node || dom.hasClass(compare_node, value))
+ dom.removeClass(node, value);
+ });
+
+ // Check for non internal attributes
+ attrs = dom.getAttribs(node);
+ for (i = 0; i < attrs.length; i++) {
+ if (attrs[i].nodeName.indexOf('_') !== 0)
+ return FALSE;
+ }
+ }
+
+ // Remove the inline child if it's empty for example <b> or <span>
+ if (format.remove != 'none') {
+ removeNode(node, format);
+ return TRUE;
+ }
+ };
+
+ function removeNode(node, format) {
+ var parentNode = node.parentNode, rootBlockElm;
+
+ function find(node, next, inc) {
+ node = getNonWhiteSpaceSibling(node, next, inc);
+
+ return !node || (node.nodeName == 'BR' || isBlock(node));
+ };
+
+ if (format.block) {
+ if (!forcedRootBlock) {
+ // Append BR elements if needed before we remove the block
+ if (isBlock(node) && !isBlock(parentNode)) {
+ if (!find(node, FALSE) && !find(node.firstChild, TRUE, 1))
+ node.insertBefore(dom.create('br'), node.firstChild);
+
+ if (!find(node, TRUE) && !find(node.lastChild, FALSE, 1))
+ node.appendChild(dom.create('br'));
+ }
+ } else {
+ // Wrap the block in a forcedRootBlock if we are at the root of document
+ if (parentNode == dom.getRoot()) {
+ if (!format.list_block || !isEq(node, format.list_block)) {
+ each(tinymce.grep(node.childNodes), function(node) {
+ if (isValid(forcedRootBlock, node.nodeName.toLowerCase())) {
+ if (!rootBlockElm)
+ rootBlockElm = wrap(node, forcedRootBlock);
+ else
+ rootBlockElm.appendChild(node);
+ } else
+ rootBlockElm = 0;
+ });
+ }
+ }
+ }
+ }
+
+ // Never remove nodes that isn't the specified inline element if a selector is specified too
+ if (format.selector && format.inline && !isEq(format.inline, node))
+ return;
+
+ dom.remove(node, 1);
+ };
+
+ function getNonWhiteSpaceSibling(node, next, inc) {
+ if (node) {
+ next = next ? 'nextSibling' : 'previousSibling';
+
+ for (node = inc ? node : node[next]; node; node = node[next]) {
+ if (node.nodeType == 1 || !isWhiteSpaceNode(node))
+ return node;
+ }
+ }
+ };
+
+ function isBookmarkNode(node) {
+ return node && node.nodeType == 1 && node.getAttribute('data-mce-type') == 'bookmark';
+ };
+
+ function mergeSiblings(prev, next) {
+ var marker, sibling, tmpSibling;
+
+ function compareElements(node1, node2) {
+ // Not the same name
+ if (node1.nodeName != node2.nodeName)
+ return FALSE;
+
+ function getAttribs(node) {
+ var attribs = {};
+
+ each(dom.getAttribs(node), function(attr) {
+ var name = attr.nodeName.toLowerCase();
+
+ // Don't compare internal attributes or style
+ if (name.indexOf('_') !== 0 && name !== 'style')
+ attribs[name] = dom.getAttrib(node, name);
+ });
+
+ return attribs;
+ };
+
+ function compareObjects(obj1, obj2) {
+ var value, name;
+
+ for (name in obj1) {
+ // Obj1 has item obj2 doesn't have
+ if (obj1.hasOwnProperty(name)) {
+ value = obj2[name];
+
+ // Obj2 doesn't have obj1 item
+ if (value === undef)
+ return FALSE;
+
+ // Obj2 item has a different value
+ if (obj1[name] != value)
+ return FALSE;
+
+ // Delete similar value
+ delete obj2[name];
+ }
+ }
+
+ // Check if obj 2 has something obj 1 doesn't have
+ for (name in obj2) {
+ // Obj2 has item obj1 doesn't have
+ if (obj2.hasOwnProperty(name))
+ return FALSE;
+ }
+
+ return TRUE;
+ };
+
+ // Attribs are not the same
+ if (!compareObjects(getAttribs(node1), getAttribs(node2)))
+ return FALSE;
+
+ // Styles are not the same
+ if (!compareObjects(dom.parseStyle(dom.getAttrib(node1, 'style')), dom.parseStyle(dom.getAttrib(node2, 'style'))))
+ return FALSE;
+
+ return TRUE;
+ };
+
+ function findElementSibling(node, sibling_name) {
+ for (sibling = node; sibling; sibling = sibling[sibling_name]) {
+ if (sibling.nodeType == 3 && sibling.nodeValue.length !== 0)
+ return node;
+
+ if (sibling.nodeType == 1 && !isBookmarkNode(sibling))
+ return sibling;
+ }
+
+ return node;
+ };
+
+ // Check if next/prev exists and that they are elements
+ if (prev && next) {
+ // If previous sibling is empty then jump over it
+ prev = findElementSibling(prev, 'previousSibling');
+ next = findElementSibling(next, 'nextSibling');
+
+ // Compare next and previous nodes
+ if (compareElements(prev, next)) {
+ // Append nodes between
+ for (sibling = prev.nextSibling; sibling && sibling != next;) {
+ tmpSibling = sibling;
+ sibling = sibling.nextSibling;
+ prev.appendChild(tmpSibling);
+ }
+
+ // Remove next node
+ dom.remove(next);
+
+ // Move children into prev node
+ each(tinymce.grep(next.childNodes), function(node) {
+ prev.appendChild(node);
+ });
+
+ return prev;
+ }
+ }
+
+ return next;
+ };
+
+ function isTextBlock(name) {
+ return /^(h[1-6]|p|div|pre|address|dl|dt|dd)$/.test(name);
+ };
+
+ function getContainer(rng, start) {
+ var container, offset, lastIdx, walker;
+
+ container = rng[start ? 'startContainer' : 'endContainer'];
+ offset = rng[start ? 'startOffset' : 'endOffset'];
+
+ if (container.nodeType == 1) {
+ lastIdx = container.childNodes.length - 1;
+
+ if (!start && offset)
+ offset--;
+
+ container = container.childNodes[offset > lastIdx ? lastIdx : offset];
+ }
+
+ // If start text node is excluded then walk to the next node
+ if (container.nodeType === 3 && start && offset >= container.nodeValue.length) {
+ container = new TreeWalker(container, ed.getBody()).next() || container;
+ }
+
+ // If end text node is excluded then walk to the previous node
+ if (container.nodeType === 3 && !start && offset === 0) {
+ container = new TreeWalker(container, ed.getBody()).prev() || container;
+ }
+
+ return container;
+ };
+
+ function performCaretAction(type, name, vars) {
+ var caretContainerId = '_mce_caret', debug = ed.settings.caret_debug;
+
+ // Creates a caret container bogus element
+ function createCaretContainer(fill) {
+ var caretContainer = dom.create('span', {id: caretContainerId, 'data-mce-bogus': true, style: debug ? 'color:red' : ''});
+
+ if (fill) {
+ caretContainer.appendChild(ed.getDoc().createTextNode(INVISIBLE_CHAR));
+ }
+
+ return caretContainer;
+ };
+
+ function isCaretContainerEmpty(node, nodes) {
+ while (node) {
+ if ((node.nodeType === 3 && node.nodeValue !== INVISIBLE_CHAR) || node.childNodes.length > 1) {
+ return false;
+ }
+
+ // Collect nodes
+ if (nodes && node.nodeType === 1) {
+ nodes.push(node);
+ }
+
+ node = node.firstChild;
+ }
+
+ return true;
+ };
+
+ // Returns any parent caret container element
+ function getParentCaretContainer(node) {
+ while (node) {
+ if (node.id === caretContainerId) {
+ return node;
+ }
+
+ node = node.parentNode;
+ }
+ };
+
+ // Finds the first text node in the specified node
+ function findFirstTextNode(node) {
+ var walker;
+
+ if (node) {
+ walker = new TreeWalker(node, node);
+
+ for (node = walker.current(); node; node = walker.next()) {
+ if (node.nodeType === 3) {
+ return node;
+ }
+ }
+ }
+ };
+
+ // Removes the caret container for the specified node or all on the current document
+ function removeCaretContainer(node, move_caret) {
+ var child, rng;
+
+ if (!node) {
+ node = getParentCaretContainer(selection.getStart());
+
+ if (!node) {
+ while (node = dom.get(caretContainerId)) {
+ removeCaretContainer(node, false);
+ }
+ }
+ } else {
+ rng = selection.getRng(true);
+
+ if (isCaretContainerEmpty(node)) {
+ if (move_caret !== false) {
+ rng.setStartBefore(node);
+ rng.setEndBefore(node);
+ }
+
+ dom.remove(node);
+ } else {
+ child = findFirstTextNode(node);
+
+ if (child.nodeValue.charAt(0) === INVISIBLE_CHAR) {
+ child = child.deleteData(0, 1);
+ }
+
+ dom.remove(node, 1);
+ }
+
+ selection.setRng(rng);
+ }
+ };
+
+ // Applies formatting to the caret postion
+ function applyCaretFormat() {
+ var rng, caretContainer, textNode, offset, bookmark, container, text;
+
+ rng = selection.getRng(true);
+ offset = rng.startOffset;
+ container = rng.startContainer;
+ text = container.nodeValue;
+
+ caretContainer = getParentCaretContainer(selection.getStart());
+ if (caretContainer) {
+ textNode = findFirstTextNode(caretContainer);
+ }
+
+ // Expand to word is caret is in the middle of a text node and the char before/after is a alpha numeric character
+ if (text && offset > 0 && offset < text.length && /\w/.test(text.charAt(offset)) && /\w/.test(text.charAt(offset - 1))) {
+ // Get bookmark of caret position
+ bookmark = selection.getBookmark();
+
+ // Collapse bookmark range (WebKit)
+ rng.collapse(true);
+
+ // Expand the range to the closest word and split it at those points
+ rng = expandRng(rng, get(name));
+ rng = rangeUtils.split(rng);
+
+ // Apply the format to the range
+ apply(name, vars, rng);
+
+ // Move selection back to caret position
+ selection.moveToBookmark(bookmark);
+ } else {
+ if (!caretContainer || textNode.nodeValue !== INVISIBLE_CHAR) {
+ caretContainer = createCaretContainer(true);
+ textNode = caretContainer.firstChild;
+
+ rng.insertNode(caretContainer);
+ offset = 1;
+
+ apply(name, vars, caretContainer);
+ } else {
+ apply(name, vars, caretContainer);
+ }
+
+ // Move selection to text node
+ selection.setCursorLocation(textNode, offset);
+ }
+ };
+
+ function removeCaretFormat() {
+ var rng = selection.getRng(true), container, offset, bookmark,
+ hasContentAfter, node, formatNode, parents = [], i, caretContainer;
+
+ container = rng.startContainer;
+ offset = rng.startOffset;
+ node = container;
+
+ if (container.nodeType == 3) {
+ if (offset != container.nodeValue.length || container.nodeValue === INVISIBLE_CHAR) {
+ hasContentAfter = true;
+ }
+
+ node = node.parentNode;
+ }
+
+ while (node) {
+ if (matchNode(node, name, vars)) {
+ formatNode = node;
+ break;
+ }
+
+ if (node.nextSibling) {
+ hasContentAfter = true;
+ }
+
+ parents.push(node);
+ node = node.parentNode;
+ }
+
+ // Node doesn't have the specified format
+ if (!formatNode) {
+ return;
+ }
+
+ // Is there contents after the caret then remove the format on the element
+ if (hasContentAfter) {
+ // Get bookmark of caret position
+ bookmark = selection.getBookmark();
+
+ // Collapse bookmark range (WebKit)
+ rng.collapse(true);
+
+ // Expand the range to the closest word and split it at those points
+ rng = expandRng(rng, get(name), true);
+ rng = rangeUtils.split(rng);
+
+ // Remove the format from the range
+ remove(name, vars, rng);
+
+ // Move selection back to caret position
+ selection.moveToBookmark(bookmark);
+ } else {
+ caretContainer = createCaretContainer();
+
+ node = caretContainer;
+ for (i = parents.length - 1; i >= 0; i--) {
+ node.appendChild(dom.clone(parents[i], false));
+ node = node.firstChild;
+ }
+
+ // Insert invisible character into inner most format element
+ node.appendChild(dom.doc.createTextNode(INVISIBLE_CHAR));
+ node = node.firstChild;
+
+ // Insert caret container after the formated node
+ dom.insertAfter(caretContainer, formatNode);
+
+ // Move selection to text node
+ selection.setCursorLocation(node, 1);
+ }
+ };
+
+ // Checks if the parent caret container node isn't empty if that is the case it
+ // will remove the bogus state on all children that isn't empty
+ function unmarkBogusCaretParents() {
+ var i, caretContainer, node;
+
+ caretContainer = getParentCaretContainer(selection.getStart());
+ if (caretContainer && !dom.isEmpty(caretContainer)) {
+ tinymce.walk(caretContainer, function(node) {
+ if (node.nodeType == 1 && node.id !== caretContainerId && !dom.isEmpty(node)) {
+ dom.setAttrib(node, 'data-mce-bogus', null);
+ }
+ }, 'childNodes');
+ }
+ };
+
+ // Only bind the caret events once
+ if (!self._hasCaretEvents) {
+ // Mark current caret container elements as bogus when getting the contents so we don't end up with empty elements
+ ed.onBeforeGetContent.addToTop(function() {
+ var nodes = [], i;
+
+ if (isCaretContainerEmpty(getParentCaretContainer(selection.getStart()), nodes)) {
+ // Mark children
+ i = nodes.length;
+ while (i--) {
+ dom.setAttrib(nodes[i], 'data-mce-bogus', '1');
+ }
+ }
+ });
+
+ // Remove caret container on mouse up and on key up
+ tinymce.each('onMouseUp onKeyUp'.split(' '), function(name) {
+ ed[name].addToTop(function() {
+ removeCaretContainer();
+ unmarkBogusCaretParents();
+ });
+ });
+
+ // Remove caret container on keydown and it's a backspace, enter or left/right arrow keys
+ ed.onKeyDown.addToTop(function(ed, e) {
+ var keyCode = e.keyCode;
+
+ if (keyCode == 8 || keyCode == 37 || keyCode == 39) {
+ removeCaretContainer(getParentCaretContainer(selection.getStart()));
+ }
+
+ unmarkBogusCaretParents();
+ });
+
+ // Remove bogus state if they got filled by contents using editor.selection.setContent
+ selection.onSetContent.add(unmarkBogusCaretParents);
+
+ self._hasCaretEvents = true;
+ }
+
+ // Do apply or remove caret format
+ if (type == "apply") {
+ applyCaretFormat();
+ } else {
+ removeCaretFormat();
+ }
+ };
+
+ function moveStart(rng) {
+ var container = rng.startContainer,
+ offset = rng.startOffset, isAtEndOfText,
+ walker, node, nodes, tmpNode;
+
+ // Convert text node into index if possible
+ if (container.nodeType == 3 && offset >= container.nodeValue.length) {
+ // Get the parent container location and walk from there
+ offset = nodeIndex(container);
+ container = container.parentNode;
+ isAtEndOfText = true;
+ }
+
+ // Move startContainer/startOffset in to a suitable node
+ if (container.nodeType == 1) {
+ nodes = container.childNodes;
+ container = nodes[Math.min(offset, nodes.length - 1)];
+ walker = new TreeWalker(container, dom.getParent(container, dom.isBlock));
+
+ // If offset is at end of the parent node walk to the next one
+ if (offset > nodes.length - 1 || isAtEndOfText)
+ walker.next();
+
+ for (node = walker.current(); node; node = walker.next()) {
+ if (node.nodeType == 3 && !isWhiteSpaceNode(node)) {
+ // IE has a "neat" feature where it moves the start node into the closest element
+ // we can avoid this by inserting an element before it and then remove it after we set the selection
+ tmpNode = dom.create('a', null, INVISIBLE_CHAR);
+ node.parentNode.insertBefore(tmpNode, node);
+
+ // Set selection and remove tmpNode
+ rng.setStart(node, 0);
+ selection.setRng(rng);
+ dom.remove(tmpNode);
+
+ return;
+ }
+ }
+ }
+ };
+ };
+})(tinymce);
+
+tinymce.onAddEditor.add(function(tinymce, ed) {
+ var filters, fontSizes, dom, settings = ed.settings;
+
+ function replaceWithSpan(node, styles) {
+ tinymce.each(styles, function(value, name) {
+ if (value)
+ dom.setStyle(node, name, value);
+ });
+
+ dom.rename(node, 'span');
+ };
+
+ function convert(editor, params) {
+ dom = editor.dom;
+
+ if (settings.convert_fonts_to_spans) {
+ tinymce.each(dom.select('font,u,strike', params.node), function(node) {
+ filters[node.nodeName.toLowerCase()](ed.dom, node);
+ });
+ }
+ };
+
+ if (settings.inline_styles) {
+ fontSizes = tinymce.explode(settings.font_size_legacy_values);
+
+ filters = {
+ font : function(dom, node) {
+ replaceWithSpan(node, {
+ backgroundColor : node.style.backgroundColor,
+ color : node.color,
+ fontFamily : node.face,
+ fontSize : fontSizes[parseInt(node.size, 10) - 1]
+ });
+ },
+
+ u : function(dom, node) {
+ replaceWithSpan(node, {
+ textDecoration : 'underline'
+ });
+ },
+
+ strike : function(dom, node) {
+ replaceWithSpan(node, {
+ textDecoration : 'line-through'
+ });
+ }
+ };
+
+ ed.onPreProcess.add(convert);
+ ed.onSetContent.add(convert);
+
+ ed.onInit.add(function() {
+ ed.selection.onSetContent.add(convert);
+ });
+ }
+});
+
+(function(tinymce) {
+ var TreeWalker = tinymce.dom.TreeWalker;
+
+ tinymce.EnterKey = function(editor) {
+ var dom = editor.dom, selection = editor.selection, settings = editor.settings, undoManager = editor.undoManager, nonEmptyElementsMap = editor.schema.getNonEmptyElements();
+
+ function handleEnterKey(evt) {
+ var rng = selection.getRng(true), tmpRng, editableRoot, container, offset, parentBlock, documentMode, shiftKey,
+ newBlock, fragment, containerBlock, parentBlockName, containerBlockName, newBlockName, isAfterLastNodeInContainer;
+
+ // Returns true if the block can be split into two blocks or not
+ function canSplitBlock(node) {
+ return node &&
+ dom.isBlock(node) &&
+ !/^(TD|TH|CAPTION|FORM)$/.test(node.nodeName) &&
+ !/^(fixed|absolute)/i.test(node.style.position) &&
+ dom.getContentEditable(node) !== "true";
+ };
+
+ // Renders empty block on IE
+ function renderBlockOnIE(block) {
+ var oldRng;
+
+ if (tinymce.isIE && dom.isBlock(block)) {
+ oldRng = selection.getRng();
+ block.appendChild(dom.create('span', null, '\u00a0'));
+ selection.select(block);
+ block.lastChild.outerHTML = '';
+ selection.setRng(oldRng);
+ }
+ };
+
+ // Remove the first empty inline element of the block so this: <p><b><em></em></b>x</p> becomes this: <p>x</p>
+ function trimInlineElementsOnLeftSideOfBlock(block) {
+ var node = block, firstChilds = [], i;
+
+ // Find inner most first child ex: <p><i><b>*</b></i></p>
+ while (node = node.firstChild) {
+ if (dom.isBlock(node)) {
+ return;
+ }
+
+ if (node.nodeType == 1 && !nonEmptyElementsMap[node.nodeName.toLowerCase()]) {
+ firstChilds.push(node);
+ }
+ }
+
+ i = firstChilds.length;
+ while (i--) {
+ node = firstChilds[i];
+ if (!node.hasChildNodes() || (node.firstChild == node.lastChild && node.firstChild.nodeValue === '')) {
+ dom.remove(node);
+ } else {
+ // Remove <a> </a> see #5381
+ if (node.nodeName == "A" && (node.innerText || node.textContent) === ' ') {
+ dom.remove(node);
+ }
+ }
+ }
+ };
+
+ // Moves the caret to a suitable position within the root for example in the first non pure whitespace text node or before an image
+ function moveToCaretPosition(root) {
+ var walker, node, rng, y, viewPort, lastNode = root, tempElm;
+
+ rng = dom.createRng();
+
+ if (root.hasChildNodes()) {
+ walker = new TreeWalker(root, root);
+
+ while (node = walker.current()) {
+ if (node.nodeType == 3) {
+ rng.setStart(node, 0);
+ rng.setEnd(node, 0);
+ break;
+ }
+
+ if (nonEmptyElementsMap[node.nodeName.toLowerCase()]) {
+ rng.setStartBefore(node);
+ rng.setEndBefore(node);
+ break;
+ }
+
+ lastNode = node;
+ node = walker.next();
+ }
+
+ if (!node) {
+ rng.setStart(lastNode, 0);
+ rng.setEnd(lastNode, 0);
+ }
+ } else {
+ if (root.nodeName == 'BR') {
+ if (root.nextSibling && dom.isBlock(root.nextSibling)) {
+ // Trick on older IE versions to render the caret before the BR between two lists
+ if (!documentMode || documentMode < 9) {
+ tempElm = dom.create('br');
+ root.parentNode.insertBefore(tempElm, root);
+ }
+
+ rng.setStartBefore(root);
+ rng.setEndBefore(root);
+ } else {
+ rng.setStartAfter(root);
+ rng.setEndAfter(root);
+ }
+ } else {
+ rng.setStart(root, 0);
+ rng.setEnd(root, 0);
+ }
+ }
+
+ selection.setRng(rng);
+
+ // Remove tempElm created for old IE:s
+ dom.remove(tempElm);
+
+ viewPort = dom.getViewPort(editor.getWin());
+
+ // scrollIntoView seems to scroll the parent window in most browsers now including FF 3.0b4 so it's time to stop using it and do it our selfs
+ y = dom.getPos(root).y;
+ if (y < viewPort.y || y + 25 > viewPort.y + viewPort.h) {
+ editor.getWin().scrollTo(0, y < viewPort.y ? y : y - viewPort.h + 25); // Needs to be hardcoded to roughly one line of text if a huge text block is broken into two blocks
+ }
+ };
+
+ // Creates a new block element by cloning the current one or creating a new one if the name is specified
+ // This function will also copy any text formatting from the parent block and add it to the new one
+ function createNewBlock(name) {
+ var node = container, block, clonedNode, caretNode;
+
+ block = name || parentBlockName == "TABLE" ? dom.create(name || newBlockName) : parentBlock.cloneNode(false);
+ caretNode = block;
+
+ // Clone any parent styles
+ if (settings.keep_styles !== false) {
+ do {
+ if (/^(SPAN|STRONG|B|EM|I|FONT|STRIKE|U)$/.test(node.nodeName)) {
+ // Never clone a caret containers
+ if (node.id == '_mce_caret') {
+ continue;
+ }
+
+ clonedNode = node.cloneNode(false);
+ dom.setAttrib(clonedNode, 'id', ''); // Remove ID since it needs to be document unique
+
+ if (block.hasChildNodes()) {
+ clonedNode.appendChild(block.firstChild);
+ block.appendChild(clonedNode);
+ } else {
+ caretNode = clonedNode;
+ block.appendChild(clonedNode);
+ }
+ }
+ } while (node = node.parentNode);
+ }
+
+ // BR is needed in empty blocks on non IE browsers
+ if (!tinymce.isIE) {
+ caretNode.innerHTML = '<br data-mce-bogus="1">';
+ }
+
+ return block;
+ };
+
+ // Returns true/false if the caret is at the start/end of the parent block element
+ function isCaretAtStartOrEndOfBlock(start) {
+ var walker, node, name;
+
+ // Caret is in the middle of a text node like "a|b"
+ if (container.nodeType == 3 && (start ? offset > 0 : offset < container.nodeValue.length)) {
+ return false;
+ }
+
+ // If after the last element in block node edge case for #5091
+ if (container.parentNode == parentBlock && isAfterLastNodeInContainer && !start) {
+ return true;
+ }
+
+ // If the caret if before the first element in parentBlock
+ if (start && container.nodeType == 1 && container == parentBlock.firstChild) {
+ return true;
+ }
+
+ // Caret can be before/after a table
+ if (container.nodeName === "TABLE" || (container.previousSibling && container.previousSibling.nodeName == "TABLE")) {
+ return (isAfterLastNodeInContainer && !start) || (!isAfterLastNodeInContainer && start);
+ }
+
+ // Walk the DOM and look for text nodes or non empty elements
+ walker = new TreeWalker(container, parentBlock);
+
+ // If caret is in beginning or end of a text block then jump to the next/previous node
+ if (container.nodeType == 3) {
+ if (start && offset == 0) {
+ walker.prev();
+ } else if (!start && offset == container.nodeValue.length) {
+ walker.next();
+ }
+ }
+
+ while (node = walker.current()) {
+ if (node.nodeType === 1) {
+ // Ignore bogus elements
+ if (!node.getAttribute('data-mce-bogus')) {
+ // Keep empty elements like <img /> <input /> but not trailing br:s like <p>text|<br></p>
+ name = node.nodeName.toLowerCase();
+ if (nonEmptyElementsMap[name] && name !== 'br') {
+ return false;
+ }
+ }
+ } else if (node.nodeType === 3 && !/^[ \t\r\n]*$/.test(node.nodeValue)) {
+ return false;
+ }
+
+ if (start) {
+ walker.prev();
+ } else {
+ walker.next();
+ }
+ }
+
+ return true;
+ };
+
+ // Wraps any text nodes or inline elements in the specified forced root block name
+ function wrapSelfAndSiblingsInDefaultBlock(container, offset) {
+ var newBlock, parentBlock, startNode, node, next, blockName = newBlockName || 'P';
+
+ // Not in a block element or in a table cell or caption
+ parentBlock = dom.getParent(container, dom.isBlock);
+ if (!parentBlock || !canSplitBlock(parentBlock)) {
+ parentBlock = parentBlock || editableRoot;
+
+ if (!parentBlock.hasChildNodes()) {
+ newBlock = dom.create(blockName);
+ parentBlock.appendChild(newBlock);
+ rng.setStart(newBlock, 0);
+ rng.setEnd(newBlock, 0);
+ return newBlock;
+ }
+
+ // Find parent that is the first child of parentBlock
+ node = container;
+ while (node.parentNode != parentBlock) {
+ node = node.parentNode;
+ }
+
+ // Loop left to find start node start wrapping at
+ while (node && !dom.isBlock(node)) {
+ startNode = node;
+ node = node.previousSibling;
+ }
+
+ if (startNode) {
+ newBlock = dom.create(blockName);
+ startNode.parentNode.insertBefore(newBlock, startNode);
+
+ // Start wrapping until we hit a block
+ node = startNode;
+ while (node && !dom.isBlock(node)) {
+ next = node.nextSibling;
+ newBlock.appendChild(node);
+ node = next;
+ }
+
+ // Restore range to it's past location
+ rng.setStart(container, offset);
+ rng.setEnd(container, offset);
+ }
+ }
+
+ return container;
+ };
+
+ // Inserts a block or br before/after or in the middle of a split list of the LI is empty
+ function handleEmptyListItem() {
+ function isFirstOrLastLi(first) {
+ var node = containerBlock[first ? 'firstChild' : 'lastChild'];
+
+ // Find first/last element since there might be whitespace there
+ while (node) {
+ if (node.nodeType == 1) {
+ break;
+ }
+
+ node = node[first ? 'nextSibling' : 'previousSibling'];
+ }
+
+ return node === parentBlock;
+ };
+
+ newBlock = newBlockName ? createNewBlock(newBlockName) : dom.create('BR');
+
+ if (isFirstOrLastLi(true) && isFirstOrLastLi()) {
+ // Is first and last list item then replace the OL/UL with a text block
+ dom.replace(newBlock, containerBlock);
+ } else if (isFirstOrLastLi(true)) {
+ // First LI in list then remove LI and add text block before list
+ containerBlock.parentNode.insertBefore(newBlock, containerBlock);
+ } else if (isFirstOrLastLi()) {
+ // Last LI in list then temove LI and add text block after list
+ dom.insertAfter(newBlock, containerBlock);
+ renderBlockOnIE(newBlock);
+ } else {
+ // Middle LI in list the split the list and insert a text block in the middle
+ // Extract after fragment and insert it after the current block
+ tmpRng = rng.cloneRange();
+ tmpRng.setStartAfter(parentBlock);
+ tmpRng.setEndAfter(containerBlock);
+ fragment = tmpRng.extractContents();
+ dom.insertAfter(fragment, containerBlock);
+ dom.insertAfter(newBlock, containerBlock);
+ }
+
+ dom.remove(parentBlock);
+ moveToCaretPosition(newBlock);
+ undoManager.add();
+ };
+
+ // Walks the parent block to the right and look for BR elements
+ function hasRightSideBr() {
+ var walker = new TreeWalker(container, parentBlock), node;
+
+ while (node = walker.current()) {
+ if (node.nodeName == 'BR') {
+ return true;
+ }
+
+ node = walker.next();
+ }
+ }
+
+ // Inserts a BR element if the forced_root_block option is set to false or empty string
+ function insertBr() {
+ var brElm, extraBr;
+
+ if (container && container.nodeType == 3 && offset >= container.nodeValue.length) {
+ // Insert extra BR element at the end block elements
+ if (!tinymce.isIE && !hasRightSideBr()) {
+ brElm = dom.create('br');
+ rng.insertNode(brElm);
+ rng.setStartAfter(brElm);
+ rng.setEndAfter(brElm);
+ extraBr = true;
+ }
+ }
+
+ brElm = dom.create('br');
+ rng.insertNode(brElm);
+
+ // Rendering modes below IE8 doesn't display BR elements in PRE unless we have a \n before it
+ if (tinymce.isIE && parentBlockName == 'PRE' && (!documentMode || documentMode < 8)) {
+ brElm.parentNode.insertBefore(dom.doc.createTextNode('\r'), brElm);
+ }
+
+ if (!extraBr) {
+ rng.setStartAfter(brElm);
+ rng.setEndAfter(brElm);
+ } else {
+ rng.setStartBefore(brElm);
+ rng.setEndBefore(brElm);
+ }
+
+ selection.setRng(rng);
+ undoManager.add();
+ };
+
+ // Trims any linebreaks at the beginning of node user for example when pressing enter in a PRE element
+ function trimLeadingLineBreaks(node) {
+ do {
+ if (node.nodeType === 3) {
+ node.nodeValue = node.nodeValue.replace(/^[\r\n]+/, '');
+ }
+
+ node = node.firstChild;
+ } while (node);
+ };
+
+ function getEditableRoot(node) {
+ var root = dom.getRoot(), parent, editableRoot;
+
+ // Get all parents until we hit a non editable parent or the root
+ parent = node;
+ while (parent !== root && dom.getContentEditable(parent) !== "false") {
+ if (dom.getContentEditable(parent) === "true") {
+ editableRoot = parent;
+ }
+
+ parent = parent.parentNode;
+ }
+
+ return parent !== root ? editableRoot : root;
+ };
+
+ // Adds a BR at the end of blocks that only contains an IMG or INPUT since these might be floated and then they won't expand the block
+ function addBrToBlockIfNeeded(block) {
+ var lastChild;
+
+ // IE will render the blocks correctly other browsers needs a BR
+ if (!tinymce.isIE) {
+ block.normalize(); // Remove empty text nodes that got left behind by the extract
+
+ // Check if the block is empty or contains a floated last child
+ lastChild = block.lastChild;
+ if (!lastChild || (/^(left|right)$/gi.test(dom.getStyle(lastChild, 'float', true)))) {
+ dom.add(block, 'br');
+ }
+ }
+ };
+
+ // Delete any selected contents
+ if (!rng.collapsed) {
+ editor.execCommand('Delete');
+ return;
+ }
+
+ // Event is blocked by some other handler for example the lists plugin
+ if (evt.isDefaultPrevented()) {
+ return;
+ }
+
+ // Setup range items and newBlockName
+ container = rng.startContainer;
+ offset = rng.startOffset;
+ newBlockName = (settings.force_p_newlines ? 'p' : '') || settings.forced_root_block;
+ newBlockName = newBlockName ? newBlockName.toUpperCase() : '';
+ documentMode = dom.doc.documentMode;
+ shiftKey = evt.shiftKey;
+
+ // Resolve node index
+ if (container.nodeType == 1 && container.hasChildNodes()) {
+ isAfterLastNodeInContainer = offset > container.childNodes.length - 1;
+ container = container.childNodes[Math.min(offset, container.childNodes.length - 1)] || container;
+ if (isAfterLastNodeInContainer && container.nodeType == 3) {
+ offset = container.nodeValue.length;
+ } else {
+ offset = 0;
+ }
+ }
+
+ // Get editable root node normaly the body element but sometimes a div or span
+ editableRoot = getEditableRoot(container);
+
+ // If there is no editable root then enter is done inside a contentEditable false element
+ if (!editableRoot) {
+ return;
+ }
+
+ undoManager.beforeChange();
+
+ // If editable root isn't block nor the root of the editor
+ if (!dom.isBlock(editableRoot) && editableRoot != dom.getRoot()) {
+ if (!newBlockName || shiftKey) {
+ insertBr();
+ }
+
+ return;
+ }
+
+ // Wrap the current node and it's sibling in a default block if it's needed.
+ // for example this <td>text|<b>text2</b></td> will become this <td><p>text|<b>text2</p></b></td>
+ // This won't happen if root blocks are disabled or the shiftKey is pressed
+ if ((newBlockName && !shiftKey) || (!newBlockName && shiftKey)) {
+ container = wrapSelfAndSiblingsInDefaultBlock(container, offset);
+ }
+
+ // Find parent block and setup empty block paddings
+ parentBlock = dom.getParent(container, dom.isBlock);
+ containerBlock = parentBlock ? dom.getParent(parentBlock.parentNode, dom.isBlock) : null;
+
+ // Setup block names
+ parentBlockName = parentBlock ? parentBlock.nodeName.toUpperCase() : ''; // IE < 9 & HTML5
+ containerBlockName = containerBlock ? containerBlock.nodeName.toUpperCase() : ''; // IE < 9 & HTML5
+
+ // Enter inside block contained within a LI then split or insert before/after LI
+ if (containerBlockName == 'LI' && !evt.ctrlKey) {
+ parentBlock = containerBlock;
+ parentBlockName = containerBlockName;
+ }
+
+ // Handle enter in LI
+ if (parentBlockName == 'LI') {
+ if (!newBlockName && shiftKey) {
+ insertBr();
+ return;
+ }
+
+ // Handle enter inside an empty list item
+ if (dom.isEmpty(parentBlock)) {
+ // Let the list plugin or browser handle nested lists for now
+ if (/^(UL|OL|LI)$/.test(containerBlock.parentNode.nodeName)) {
+ return false;
+ }
+
+ handleEmptyListItem();
+ return;
+ }
+ }
+
+ // Don't split PRE tags but insert a BR instead easier when writing code samples etc
+ if (parentBlockName == 'PRE' && settings.br_in_pre !== false) {
+ if (!shiftKey) {
+ insertBr();
+ return;
+ }
+ } else {
+ // If no root block is configured then insert a BR by default or if the shiftKey is pressed
+ if ((!newBlockName && !shiftKey && parentBlockName != 'LI') || (newBlockName && shiftKey)) {
+ insertBr();
+ return;
+ }
+ }
+
+ // Default block name if it's not configured
+ newBlockName = newBlockName || 'P';
+
+ // Insert new block before/after the parent block depending on caret location
+ if (isCaretAtStartOrEndOfBlock()) {
+ // If the caret is at the end of a header we produce a P tag after it similar to Word unless we are in a hgroup
+ if (/^(H[1-6]|PRE)$/.test(parentBlockName) && containerBlockName != 'HGROUP') {
+ newBlock = createNewBlock(newBlockName);
+ } else {
+ newBlock = createNewBlock();
+ }
+
+ // Split the current container block element if enter is pressed inside an empty inner block element
+ if (settings.end_container_on_empty_block && canSplitBlock(containerBlock) && dom.isEmpty(parentBlock)) {
+ // Split container block for example a BLOCKQUOTE at the current blockParent location for example a P
+ newBlock = dom.split(containerBlock, parentBlock);
+ } else {
+ dom.insertAfter(newBlock, parentBlock);
+ }
+
+ moveToCaretPosition(newBlock);
+ } else if (isCaretAtStartOrEndOfBlock(true)) {
+ // Insert new block before
+ newBlock = parentBlock.parentNode.insertBefore(createNewBlock(), parentBlock);
+ renderBlockOnIE(newBlock);
+ } else {
+ // Extract after fragment and insert it after the current block
+ tmpRng = rng.cloneRange();
+ tmpRng.setEndAfter(parentBlock);
+ fragment = tmpRng.extractContents();
+ trimLeadingLineBreaks(fragment);
+ newBlock = fragment.firstChild;
+ dom.insertAfter(fragment, parentBlock);
+ trimInlineElementsOnLeftSideOfBlock(newBlock);
+ addBrToBlockIfNeeded(parentBlock);
+ moveToCaretPosition(newBlock);
+ }
+
+ dom.setAttrib(newBlock, 'id', ''); // Remove ID since it needs to be document unique
+ undoManager.add();
+ }
+
+ editor.onKeyDown.add(function(ed, evt) {
+ if (evt.keyCode == 13) {
+ if (handleEnterKey(evt) !== false) {
+ evt.preventDefault();
+ }
+ }
+ });
+ };
+})(tinymce);
+
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/utils/editable_selects.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/utils/editable_selects.js
new file mode 100755
index 00000000..4b920f3d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/utils/editable_selects.js
@@ -0,0 +1,70 @@
+/**
+ * editable_selects.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+var TinyMCE_EditableSelects = {
+ editSelectElm : null,
+
+ init : function() {
+ var nl = document.getElementsByTagName("select"), i, d = document, o;
+
+ for (i=0; i<nl.length; i++) {
+ if (nl[i].className.indexOf('mceEditableSelect') != -1) {
+ o = new Option(tinyMCEPopup.editor.translate('value'), '__mce_add_custom__');
+
+ o.className = 'mceAddSelectValue';
+
+ nl[i].options[nl[i].options.length] = o;
+ nl[i].onchange = TinyMCE_EditableSelects.onChangeEditableSelect;
+ }
+ }
+ },
+
+ onChangeEditableSelect : function(e) {
+ var d = document, ne, se = window.event ? window.event.srcElement : e.target;
+
+ if (se.options[se.selectedIndex].value == '__mce_add_custom__') {
+ ne = d.createElement("input");
+ ne.id = se.id + "_custom";
+ ne.name = se.name + "_custom";
+ ne.type = "text";
+
+ ne.style.width = se.offsetWidth + 'px';
+ se.parentNode.insertBefore(ne, se);
+ se.style.display = 'none';
+ ne.focus();
+ ne.onblur = TinyMCE_EditableSelects.onBlurEditableSelectInput;
+ ne.onkeydown = TinyMCE_EditableSelects.onKeyDown;
+ TinyMCE_EditableSelects.editSelectElm = se;
+ }
+ },
+
+ onBlurEditableSelectInput : function() {
+ var se = TinyMCE_EditableSelects.editSelectElm;
+
+ if (se) {
+ if (se.previousSibling.value != '') {
+ addSelectValue(document.forms[0], se.id, se.previousSibling.value, se.previousSibling.value);
+ selectByValue(document.forms[0], se.id, se.previousSibling.value);
+ } else
+ selectByValue(document.forms[0], se.id, '');
+
+ se.style.display = 'inline';
+ se.parentNode.removeChild(se.previousSibling);
+ TinyMCE_EditableSelects.editSelectElm = null;
+ }
+ },
+
+ onKeyDown : function(e) {
+ e = e || window.event;
+
+ if (e.keyCode == 13)
+ TinyMCE_EditableSelects.onBlurEditableSelectInput();
+ }
+};
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/utils/form_utils.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/utils/form_utils.js
new file mode 100755
index 00000000..59da0139
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/utils/form_utils.js
@@ -0,0 +1,210 @@
+/**
+ * form_utils.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+var themeBaseURL = tinyMCEPopup.editor.baseURI.toAbsolute('themes/' + tinyMCEPopup.getParam("theme"));
+
+function getColorPickerHTML(id, target_form_element) {
+ var h = "", dom = tinyMCEPopup.dom;
+
+ if (label = dom.select('label[for=' + target_form_element + ']')[0]) {
+ label.id = label.id || dom.uniqueId();
+ }
+
+ h += '<a role="button" aria-labelledby="' + id + '_label" id="' + id + '_link" href="javascript:;" onclick="tinyMCEPopup.pickColor(event,\'' + target_form_element +'\');" onmousedown="return false;" class="pickcolor">';
+ h += '<span id="' + id + '" title="' + tinyMCEPopup.getLang('browse') + '">&nbsp;<span id="' + id + '_label" class="mceVoiceLabel mceIconOnly" style="display:none;">' + tinyMCEPopup.getLang('browse') + '</span></span></a>';
+
+ return h;
+}
+
+function updateColor(img_id, form_element_id) {
+ document.getElementById(img_id).style.backgroundColor = document.forms[0].elements[form_element_id].value;
+}
+
+function setBrowserDisabled(id, state) {
+ var img = document.getElementById(id);
+ var lnk = document.getElementById(id + "_link");
+
+ if (lnk) {
+ if (state) {
+ lnk.setAttribute("realhref", lnk.getAttribute("href"));
+ lnk.removeAttribute("href");
+ tinyMCEPopup.dom.addClass(img, 'disabled');
+ } else {
+ if (lnk.getAttribute("realhref"))
+ lnk.setAttribute("href", lnk.getAttribute("realhref"));
+
+ tinyMCEPopup.dom.removeClass(img, 'disabled');
+ }
+ }
+}
+
+function getBrowserHTML(id, target_form_element, type, prefix) {
+ var option = prefix + "_" + type + "_browser_callback", cb, html;
+
+ cb = tinyMCEPopup.getParam(option, tinyMCEPopup.getParam("file_browser_callback"));
+
+ if (!cb)
+ return "";
+
+ html = "";
+ html += '<a id="' + id + '_link" href="javascript:openBrowser(\'' + id + '\',\'' + target_form_element + '\', \'' + type + '\',\'' + option + '\');" onmousedown="return false;" class="browse">';
+ html += '<span id="' + id + '" title="' + tinyMCEPopup.getLang('browse') + '">&nbsp;</span></a>';
+
+ return html;
+}
+
+function openBrowser(img_id, target_form_element, type, option) {
+ var img = document.getElementById(img_id);
+
+ if (img.className != "mceButtonDisabled")
+ tinyMCEPopup.openBrowser(target_form_element, type, option);
+}
+
+function selectByValue(form_obj, field_name, value, add_custom, ignore_case) {
+ if (!form_obj || !form_obj.elements[field_name])
+ return;
+
+ if (!value)
+ value = "";
+
+ var sel = form_obj.elements[field_name];
+
+ var found = false;
+ for (var i=0; i<sel.options.length; i++) {
+ var option = sel.options[i];
+
+ if (option.value == value || (ignore_case && option.value.toLowerCase() == value.toLowerCase())) {
+ option.selected = true;
+ found = true;
+ } else
+ option.selected = false;
+ }
+
+ if (!found && add_custom && value != '') {
+ var option = new Option(value, value);
+ option.selected = true;
+ sel.options[sel.options.length] = option;
+ sel.selectedIndex = sel.options.length - 1;
+ }
+
+ return found;
+}
+
+function getSelectValue(form_obj, field_name) {
+ var elm = form_obj.elements[field_name];
+
+ if (elm == null || elm.options == null || elm.selectedIndex === -1)
+ return "";
+
+ return elm.options[elm.selectedIndex].value;
+}
+
+function addSelectValue(form_obj, field_name, name, value) {
+ var s = form_obj.elements[field_name];
+ var o = new Option(name, value);
+ s.options[s.options.length] = o;
+}
+
+function addClassesToList(list_id, specific_option) {
+ // Setup class droplist
+ var styleSelectElm = document.getElementById(list_id);
+ var styles = tinyMCEPopup.getParam('theme_advanced_styles', false);
+ styles = tinyMCEPopup.getParam(specific_option, styles);
+
+ if (styles) {
+ var stylesAr = styles.split(';');
+
+ for (var i=0; i<stylesAr.length; i++) {
+ if (stylesAr != "") {
+ var key, value;
+
+ key = stylesAr[i].split('=')[0];
+ value = stylesAr[i].split('=')[1];
+
+ styleSelectElm.options[styleSelectElm.length] = new Option(key, value);
+ }
+ }
+ } else {
+ tinymce.each(tinyMCEPopup.editor.dom.getClasses(), function(o) {
+ styleSelectElm.options[styleSelectElm.length] = new Option(o.title || o['class'], o['class']);
+ });
+ }
+}
+
+function isVisible(element_id) {
+ var elm = document.getElementById(element_id);
+
+ return elm && elm.style.display != "none";
+}
+
+function convertRGBToHex(col) {
+ var re = new RegExp("rgb\\s*\\(\\s*([0-9]+).*,\\s*([0-9]+).*,\\s*([0-9]+).*\\)", "gi");
+
+ var rgb = col.replace(re, "$1,$2,$3").split(',');
+ if (rgb.length == 3) {
+ r = parseInt(rgb[0]).toString(16);
+ g = parseInt(rgb[1]).toString(16);
+ b = parseInt(rgb[2]).toString(16);
+
+ r = r.length == 1 ? '0' + r : r;
+ g = g.length == 1 ? '0' + g : g;
+ b = b.length == 1 ? '0' + b : b;
+
+ return "#" + r + g + b;
+ }
+
+ return col;
+}
+
+function convertHexToRGB(col) {
+ if (col.indexOf('#') != -1) {
+ col = col.replace(new RegExp('[^0-9A-F]', 'gi'), '');
+
+ r = parseInt(col.substring(0, 2), 16);
+ g = parseInt(col.substring(2, 4), 16);
+ b = parseInt(col.substring(4, 6), 16);
+
+ return "rgb(" + r + "," + g + "," + b + ")";
+ }
+
+ return col;
+}
+
+function trimSize(size) {
+ return size.replace(/([0-9\.]+)(px|%|in|cm|mm|em|ex|pt|pc)/i, '$1$2');
+}
+
+function getCSSSize(size) {
+ size = trimSize(size);
+
+ if (size == "")
+ return "";
+
+ // Add px
+ if (/^[0-9]+$/.test(size))
+ size += 'px';
+ // Sanity check, IE doesn't like broken values
+ else if (!(/^[0-9\.]+(px|%|in|cm|mm|em|ex|pt|pc)$/i.test(size)))
+ return "";
+
+ return size;
+}
+
+function getStyle(elm, attrib, style) {
+ var val = tinyMCEPopup.dom.getAttrib(elm, attrib);
+
+ if (val != '')
+ return '' + val;
+
+ if (typeof(style) == 'undefined')
+ style = attrib;
+
+ return tinyMCEPopup.dom.getStyle(elm, style);
+}
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/utils/mctabs.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/utils/mctabs.js
new file mode 100755
index 00000000..458ec86d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/utils/mctabs.js
@@ -0,0 +1,162 @@
+/**
+ * mctabs.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+function MCTabs() {
+ this.settings = [];
+ this.onChange = tinyMCEPopup.editor.windowManager.createInstance('tinymce.util.Dispatcher');
+};
+
+MCTabs.prototype.init = function(settings) {
+ this.settings = settings;
+};
+
+MCTabs.prototype.getParam = function(name, default_value) {
+ var value = null;
+
+ value = (typeof(this.settings[name]) == "undefined") ? default_value : this.settings[name];
+
+ // Fix bool values
+ if (value == "true" || value == "false")
+ return (value == "true");
+
+ return value;
+};
+
+MCTabs.prototype.showTab =function(tab){
+ tab.className = 'current';
+ tab.setAttribute("aria-selected", true);
+ tab.setAttribute("aria-expanded", true);
+ tab.tabIndex = 0;
+};
+
+MCTabs.prototype.hideTab =function(tab){
+ var t=this;
+
+ tab.className = '';
+ tab.setAttribute("aria-selected", false);
+ tab.setAttribute("aria-expanded", false);
+ tab.tabIndex = -1;
+};
+
+MCTabs.prototype.showPanel = function(panel) {
+ panel.className = 'current';
+ panel.setAttribute("aria-hidden", false);
+};
+
+MCTabs.prototype.hidePanel = function(panel) {
+ panel.className = 'panel';
+ panel.setAttribute("aria-hidden", true);
+};
+
+MCTabs.prototype.getPanelForTab = function(tabElm) {
+ return tinyMCEPopup.dom.getAttrib(tabElm, "aria-controls");
+};
+
+MCTabs.prototype.displayTab = function(tab_id, panel_id, avoid_focus) {
+ var panelElm, panelContainerElm, tabElm, tabContainerElm, selectionClass, nodes, i, t = this;
+
+ tabElm = document.getElementById(tab_id);
+
+ if (panel_id === undefined) {
+ panel_id = t.getPanelForTab(tabElm);
+ }
+
+ panelElm= document.getElementById(panel_id);
+ panelContainerElm = panelElm ? panelElm.parentNode : null;
+ tabContainerElm = tabElm ? tabElm.parentNode : null;
+ selectionClass = t.getParam('selection_class', 'current');
+
+ if (tabElm && tabContainerElm) {
+ nodes = tabContainerElm.childNodes;
+
+ // Hide all other tabs
+ for (i = 0; i < nodes.length; i++) {
+ if (nodes[i].nodeName == "LI") {
+ t.hideTab(nodes[i]);
+ }
+ }
+
+ // Show selected tab
+ t.showTab(tabElm);
+ }
+
+ if (panelElm && panelContainerElm) {
+ nodes = panelContainerElm.childNodes;
+
+ // Hide all other panels
+ for (i = 0; i < nodes.length; i++) {
+ if (nodes[i].nodeName == "DIV")
+ t.hidePanel(nodes[i]);
+ }
+
+ if (!avoid_focus) {
+ tabElm.focus();
+ }
+
+ // Show selected panel
+ t.showPanel(panelElm);
+ }
+};
+
+MCTabs.prototype.getAnchor = function() {
+ var pos, url = document.location.href;
+
+ if ((pos = url.lastIndexOf('#')) != -1)
+ return url.substring(pos + 1);
+
+ return "";
+};
+
+
+//Global instance
+var mcTabs = new MCTabs();
+
+tinyMCEPopup.onInit.add(function() {
+ var tinymce = tinyMCEPopup.getWin().tinymce, dom = tinyMCEPopup.dom, each = tinymce.each;
+
+ each(dom.select('div.tabs'), function(tabContainerElm) {
+ var keyNav;
+
+ dom.setAttrib(tabContainerElm, "role", "tablist");
+
+ var items = tinyMCEPopup.dom.select('li', tabContainerElm);
+ var action = function(id) {
+ mcTabs.displayTab(id, mcTabs.getPanelForTab(id));
+ mcTabs.onChange.dispatch(id);
+ };
+
+ each(items, function(item) {
+ dom.setAttrib(item, 'role', 'tab');
+ dom.bind(item, 'click', function(evt) {
+ action(item.id);
+ });
+ });
+
+ dom.bind(dom.getRoot(), 'keydown', function(evt) {
+ if (evt.keyCode === 9 && evt.ctrlKey && !evt.altKey) { // Tab
+ keyNav.moveFocus(evt.shiftKey ? -1 : 1);
+ tinymce.dom.Event.cancel(evt);
+ }
+ });
+
+ each(dom.select('a', tabContainerElm), function(a) {
+ dom.setAttrib(a, 'tabindex', '-1');
+ });
+
+ keyNav = tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', {
+ root: tabContainerElm,
+ items: items,
+ onAction: action,
+ actOnFocus: true,
+ enableLeftRight: true,
+ enableUpDown: true
+ }, tinyMCEPopup.dom);
+ });
+}); \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/utils/validate.js b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/utils/validate.js
new file mode 100755
index 00000000..27cbfab8
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/classic/share/javascript/tiny_mce/utils/validate.js
@@ -0,0 +1,252 @@
+/**
+ * validate.js
+ *
+ * Copyright 2009, Moxiecode Systems AB
+ * Released under LGPL License.
+ *
+ * License: http://tinymce.moxiecode.com/license
+ * Contributing: http://tinymce.moxiecode.com/contributing
+ */
+
+/**
+ // String validation:
+
+ if (!Validator.isEmail('myemail'))
+ alert('Invalid email.');
+
+ // Form validation:
+
+ var f = document.forms['myform'];
+
+ if (!Validator.isEmail(f.myemail))
+ alert('Invalid email.');
+*/
+
+var Validator = {
+ isEmail : function(s) {
+ return this.test(s, '^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+@[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$');
+ },
+
+ isAbsUrl : function(s) {
+ return this.test(s, '^(news|telnet|nttp|file|http|ftp|https)://[-A-Za-z0-9\\.]+\\/?.*$');
+ },
+
+ isSize : function(s) {
+ return this.test(s, '^[0-9.]+(%|in|cm|mm|em|ex|pt|pc|px)?$');
+ },
+
+ isId : function(s) {
+ return this.test(s, '^[A-Za-z_]([A-Za-z0-9_])*$');
+ },
+
+ isEmpty : function(s) {
+ var nl, i;
+
+ if (s.nodeName == 'SELECT' && s.selectedIndex < 1)
+ return true;
+
+ if (s.type == 'checkbox' && !s.checked)
+ return true;
+
+ if (s.type == 'radio') {
+ for (i=0, nl = s.form.elements; i<nl.length; i++) {
+ if (nl[i].type == "radio" && nl[i].name == s.name && nl[i].checked)
+ return false;
+ }
+
+ return true;
+ }
+
+ return new RegExp('^\\s*$').test(s.nodeType == 1 ? s.value : s);
+ },
+
+ isNumber : function(s, d) {
+ return !isNaN(s.nodeType == 1 ? s.value : s) && (!d || !this.test(s, '^-?[0-9]*\\.[0-9]*$'));
+ },
+
+ test : function(s, p) {
+ s = s.nodeType == 1 ? s.value : s;
+
+ return s == '' || new RegExp(p).test(s);
+ }
+};
+
+var AutoValidator = {
+ settings : {
+ id_cls : 'id',
+ int_cls : 'int',
+ url_cls : 'url',
+ number_cls : 'number',
+ email_cls : 'email',
+ size_cls : 'size',
+ required_cls : 'required',
+ invalid_cls : 'invalid',
+ min_cls : 'min',
+ max_cls : 'max'
+ },
+
+ init : function(s) {
+ var n;
+
+ for (n in s)
+ this.settings[n] = s[n];
+ },
+
+ validate : function(f) {
+ var i, nl, s = this.settings, c = 0;
+
+ nl = this.tags(f, 'label');
+ for (i=0; i<nl.length; i++) {
+ this.removeClass(nl[i], s.invalid_cls);
+ nl[i].setAttribute('aria-invalid', false);
+ }
+
+ c += this.validateElms(f, 'input');
+ c += this.validateElms(f, 'select');
+ c += this.validateElms(f, 'textarea');
+
+ return c == 3;
+ },
+
+ invalidate : function(n) {
+ this.mark(n.form, n);
+ },
+
+ getErrorMessages : function(f) {
+ var nl, i, s = this.settings, field, msg, values, messages = [], ed = tinyMCEPopup.editor;
+ nl = this.tags(f, "label");
+ for (i=0; i<nl.length; i++) {
+ if (this.hasClass(nl[i], s.invalid_cls)) {
+ field = document.getElementById(nl[i].getAttribute("for"));
+ values = { field: nl[i].textContent };
+ if (this.hasClass(field, s.min_cls, true)) {
+ message = ed.getLang('invalid_data_min');
+ values.min = this.getNum(field, s.min_cls);
+ } else if (this.hasClass(field, s.number_cls)) {
+ message = ed.getLang('invalid_data_number');
+ } else if (this.hasClass(field, s.size_cls)) {
+ message = ed.getLang('invalid_data_size');
+ } else {
+ message = ed.getLang('invalid_data');
+ }
+
+ message = message.replace(/{\#([^}]+)\}/g, function(a, b) {
+ return values[b] || '{#' + b + '}';
+ });
+ messages.push(message);
+ }
+ }
+ return messages;
+ },
+
+ reset : function(e) {
+ var t = ['label', 'input', 'select', 'textarea'];
+ var i, j, nl, s = this.settings;
+
+ if (e == null)
+ return;
+
+ for (i=0; i<t.length; i++) {
+ nl = this.tags(e.form ? e.form : e, t[i]);
+ for (j=0; j<nl.length; j++) {
+ this.removeClass(nl[j], s.invalid_cls);
+ nl[j].setAttribute('aria-invalid', false);
+ }
+ }
+ },
+
+ validateElms : function(f, e) {
+ var nl, i, n, s = this.settings, st = true, va = Validator, v;
+
+ nl = this.tags(f, e);
+ for (i=0; i<nl.length; i++) {
+ n = nl[i];
+
+ this.removeClass(n, s.invalid_cls);
+
+ if (this.hasClass(n, s.required_cls) && va.isEmpty(n))
+ st = this.mark(f, n);
+
+ if (this.hasClass(n, s.number_cls) && !va.isNumber(n))
+ st = this.mark(f, n);
+
+ if (this.hasClass(n, s.int_cls) && !va.isNumber(n, true))
+ st = this.mark(f, n);
+
+ if (this.hasClass(n, s.url_cls) && !va.isAbsUrl(n))
+ st = this.mark(f, n);
+
+ if (this.hasClass(n, s.email_cls) && !va.isEmail(n))
+ st = this.mark(f, n);
+
+ if (this.hasClass(n, s.size_cls) && !va.isSize(n))
+ st = this.mark(f, n);
+
+ if (this.hasClass(n, s.id_cls) && !va.isId(n))
+ st = this.mark(f, n);
+
+ if (this.hasClass(n, s.min_cls, true)) {
+ v = this.getNum(n, s.min_cls);
+
+ if (isNaN(v) || parseInt(n.value) < parseInt(v))
+ st = this.mark(f, n);
+ }
+
+ if (this.hasClass(n, s.max_cls, true)) {
+ v = this.getNum(n, s.max_cls);
+
+ if (isNaN(v) || parseInt(n.value) > parseInt(v))
+ st = this.mark(f, n);
+ }
+ }
+
+ return st;
+ },
+
+ hasClass : function(n, c, d) {
+ return new RegExp('\\b' + c + (d ? '[0-9]+' : '') + '\\b', 'g').test(n.className);
+ },
+
+ getNum : function(n, c) {
+ c = n.className.match(new RegExp('\\b' + c + '([0-9]+)\\b', 'g'))[0];
+ c = c.replace(/[^0-9]/g, '');
+
+ return c;
+ },
+
+ addClass : function(n, c, b) {
+ var o = this.removeClass(n, c);
+ n.className = b ? c + (o != '' ? (' ' + o) : '') : (o != '' ? (o + ' ') : '') + c;
+ },
+
+ removeClass : function(n, c) {
+ c = n.className.replace(new RegExp("(^|\\s+)" + c + "(\\s+|$)"), ' ');
+ return n.className = c != ' ' ? c : '';
+ },
+
+ tags : function(f, s) {
+ return f.getElementsByTagName(s);
+ },
+
+ mark : function(f, n) {
+ var s = this.settings;
+
+ this.addClass(n, s.invalid_cls);
+ n.setAttribute('aria-invalid', 'true');
+ this.markLabels(f, n, s.invalid_cls);
+
+ return false;
+ },
+
+ markLabels : function(f, n, ic) {
+ var nl, i;
+
+ nl = this.tags(f, "label");
+ for (i=0; i<nl.length; i++) {
+ if (nl[i].getAttribute("for") == n.id || nl[i].htmlFor == n.id)
+ this.addClass(nl[i], ic);
+ }
+
+ return null;
+ }
+};
diff --git a/mayor-orig/mayor-base/www/skin/cron/base/html/alert.phtml b/mayor-orig/mayor-base/www/skin/cron/base/html/alert.phtml
new file mode 100644
index 00000000..bf97d3c5
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/cron/base/html/alert.phtml
@@ -0,0 +1,6 @@
+<?php
+ function html_alert($alert='') {
+ $_SESSION['alert'] = array();
+ return true;
+ }
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/cron/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/cron/base/html/base.phtml
new file mode 100644
index 00000000..e12cefb3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/cron/base/html/base.phtml
@@ -0,0 +1,56 @@
+<?php
+
+function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) {
+
+ global $_JSON;
+
+# _httpHeader();
+
+ define('_UNIQUE', uniqid());
+
+ page($page,$sub,$f,$lang,$skin,$policy);
+
+ if (is_array($_SESSION['alert']) && count($_SESSION['alert'])>0) {
+ _html_base_alert($_SESSION['alert']);
+ }
+ $_SESSION['alert'] = array();
+
+}
+
+function _html_base_alert($alert) {
+ if (is_array($alert))
+ foreach($alert as $a) {
+ $param = array();
+ $tmp = explode(':', $a);
+ $aType = readVariable($tmp[0], 'enum', 'message', array('message','info','page')); $aCode = $tmp[1];
+ for ($p = 2; $p < count($tmp); $p++) $param[] = htmlspecialchars($tmp[$p]);
+ $pstr = '';
+ // preparing $msg
+ if (!isset($ALERT_MSG[$aCode]) || $ALERT_MSG[$aCode] == '')
+ $msg = $ALERT_MSG['default'].' ('.$aType.':'.$aCode.')';
+ else $msg = $ALERT_MSG[$aCode];
+
+ // paraméter behelyettesítés
+ for($i = 0; $i < count($param); $i++) {
+ $_msg = $msg;
+ $msg = @str_replace("%$i%",':'.($param[$i]).':',$msg);
+ if ($param[$i] != '' and $_msg == $msg) $pstr .= ':'.($param[$i]).':,';
+ }
+ if ($pstr != '') $msg .= ' (' . substr($pstr,0,-1) . ')';
+ if (($aType == 'message') or ($aType == 'page')) {
+ $title = _ERROR;
+ $class = 'errorMsg';
+ if ($aType == 'page') $showPage = false;
+ } else {
+ $title = _INFORMATION;
+ $class = 'infoMsg';
+ }
+ $msg = ''.$title.': ' . $msg;
+ $showPage .= ''. $msg .''."\n";
+ }
+
+ return $showPage;
+
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/default/base/css/Elusive-Icons.eot b/mayor-orig/mayor-base/www/skin/default/base/css/Elusive-Icons.eot
new file mode 100644
index 00000000..282e6089
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/default/base/css/Elusive-Icons.eot
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/default/base/css/Elusive-Icons.svg b/mayor-orig/mayor-base/www/skin/default/base/css/Elusive-Icons.svg
new file mode 100644
index 00000000..bfc6c9b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/default/base/css/Elusive-Icons.svg
@@ -0,0 +1,298 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
+<svg xmlns="http://www.w3.org/2000/svg">
+<metadata>
+This is a custom SVG font generated by IcoMoon.
+<iconset grid="16"></iconset>
+</metadata>
+<defs>
+<font id="Elusive-Icons" horiz-adv-x="512" >
+<font-face units-per-em="512" ascent="480" descent="-32" />
+<missing-glyph horiz-adv-x="512" />
+<glyph unicode="&#xe074;" d="M 0.00,224.00 m0.00,0.00, 88.281-88.281 -0.266,61.766 141.469,0.00 0.00-141.719 -60.984-0.266 87.50-87.50 88.281,88.281 -61.766-0.266 0.00,141.469 141.719,0.00 0.266-60.984 87.50,87.50 -88.281,88.281 0.266-61.766 -141.469,0.00 0.00,141.719 60.984,0.266 -87.50,87.50 -88.281-88.281 61.766,0.266 0.00-141.469 -141.719,0.00 -0.266,60.984 -87.50-87.50z" />
+<glyph unicode="&#xe073;" d="M 154.149,446.056 141.295,111.904c-17.297,8.876 -38.999,12.716 -61.77,9.486 -49.098-6.953 -84.452-43.992 -78.964-82.715 5.49-38.727 49.741-64.476 98.838-57.521 43.574,6.175 76.282,36.046 79.254,69.754l 0.01-0.019c 0.006,0.076 0.011,0.191 0.018,0.277 0.072,0.857 0.114,1.724 0.146,2.586 1.828,34.806 13.021,299.184 13.021,299.184l 275.684,28.404 -12.451-238.103c-17.691,9.846 -40.43,14.233 -64.341,10.845 -49.098-6.96 -84.449-43.991 -78.961-82.719 5.488-38.723 49.739-64.477 98.838-57.514 44.502,6.299 77.657,37.32 79.397,71.907l 0.021,0.021C 490.968,101.32 506.523,460.224 507.073,472.907z" />
+<glyph unicode="&#xe072;" d="M 0.564,229.996 m0.00,0.00,c-0.722,3.961 -0.545,7.324 -0.545,11.445l0.00,1.09c 64.774,5.557 135.337,21.873 187.858,59.406 15.07-6.905 29.889-5.962 44.106,1.09 29.786-30.084 59.017-50.993 98.012-63.221 3.993-10.174 10.346-17.986 19.058-23.435C 338.525,190.21 323.824,167.138 304.947,147.155 277.047,167.253 240.208,152.70 227.626,123.72 140.368,124.665 52.422,162.841 0.564,229.996 z M 227.081,89.384C 182.538,66.379 135.523,53.977 87.686,56.684 50.684,87.732 24.021,128.317 10.365,170.591 70.459,118.941 150.331,89.466 227.081,89.384 z m 98.557,6.54c 50.689,10.573 97.265,30.955 135.039,62.13 -49.581-129.267 -198.888-188.362 -321.263-133.526 39.725,5.723 77.041,19.444 108.903,37.605 31.841-18.247 69.735,0.946 77.321,33.791 z m 93.656,132.981c 19.511,1.44 38.537,2.876 56.629,5.996 -0.035-4.872 -0.538-9.667 -0.545-14.17C 441.363,177.198 390.23,147.455 339.251,133.53c 19.023,23.096 33.134,48.751 43.016,74.666 15.537,2.016 28.227,9.152 37.027,20.71 z m 8.713,34.88c-2.148,16.155 -10.229,29.267 -22.869,37.605 3.994,36.991 4.653,73.084 1.633,107.911 38.136-39.369 61.229-89.618 67.52-139.522 -13.794-2.907 -29.223-4.905 -46.283-5.996 z M 162.829,326.462C 114.727,296.155 58.405,281.433 2.742,276.866 16.642,363.739 75.814,435.537 155.206,464.893 157.362,436.682 163.895,409.444 174.264,385.868 157.617,368.964 153.664,347.293 162.829,326.462 z m 93.656,40.331c 25.071,31.129 45.914,62.939 57.719,100.281 20.328-6.904 38.66-15.805 54.996-26.706 5.705-44.888 6.498-89.599 2.178-131.346 -19.722-3.367 -35.228-15.366 -41.928-32.70 -29.117,10.541 -52.952,30.169 -74.053,51.23 5.30,13.674 5.50,26.491 1.089,39.24 z m -50.639,32.155c-10.131,25.045 -16.744,49.314 -16.879,75.755 30.379,6.989 63.178,6.757 92.023,1.09 -11.02-30.85 -28.431-59.443 -46.828-82.841 -6.473,2.765 -22.24,8.924 -28.315,5.996z" />
+<glyph unicode="&#xe071;" d="M 219.281,480.00L 219.281,183.906L 292.719,183.906L 292.719,480.00L 219.281,480.00 z M 74.969,405.031C 28.642,358.704 0.00,294.692 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,294.692 483.358,358.704 437.031,405.031L 385.469,353.469C 418.603,320.334 439.094,274.556 439.094,224.00C 439.094,122.888 357.112,40.906 256.00,40.906C 154.888,40.906 72.906,122.888 72.906,224.00C 72.906,274.556 93.397,320.334 126.531,353.469L 74.969,405.031z" />
+<glyph unicode="&#xe070;" d="M 428.475,437.695 m0.00,0.00,-260.881-260.881 -84.61,84.61 -82.983-82.983 84.61-84.61 83.525-83.525 82.983,82.983 260.881,260.881 -83.525,83.525z" />
+<glyph unicode="&#xe06f;" d="M 256.00,480.00C 114.616,480.00 0.00,365.384 0.00,224.00C0.00,82.616 114.616-32.00 256.00-32.00C 397.384-32.00 512.00,82.616 512.00,224.00C 512.00,365.384 397.384,480.00 256.00,480.00 z M 256.00,424.375C 366.664,424.375 456.344,334.637 456.344,224.00C 456.344,113.363 366.664,23.656 256.00,23.656C 145.336,23.656 55.656,113.363 55.656,224.00C 55.656,334.637 145.336,424.375 256.00,424.375 z M 354.094,345.562L 205.719,197.156L 157.594,245.281L 110.375,198.094L 158.50,149.969L 206.031,102.437L 253.219,149.656L 401.625,298.031L 354.094,345.562z" />
+<glyph unicode="&#xe06e;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 365.844,360.094L 419.031,306.906L 252.906,140.75L 200.031,87.906L 146.844,141.094L 92.969,195.00L 145.813,247.844L 199.688,193.937L 365.844,360.094z" />
+<glyph unicode="&#xe06d;" d="M 201.439,7.317 m0.00,0.00,c 87.658,87.172 156.228,156.856 232.499,231.659 25.181,26.299 41.127,52.039 47.842,77.22 11.751,47.518 -6.316,88.666 -37.771,120.866C 413.792,467.277 381.477,481.546 347.065,479.867 312.652,478.188 278.658,460.842 245.085,427.828L 31.052,212.956 66.304,178.542 280.337,392.576c 21.962,20.881 48.097,40.566 78.06,37.771 45.651-6.409 85.965-62.282 75.541-101.56 -13.217-34.848 -31.438-50.742 -56.655-75.961 -76.713-76.517 -136.527-135.689 -211.095-210.256 -28.024-25.607 -46.148-32.54 -72.183-8.394 -13.429,13.429 -19.305,26.579 -17.627,39.449 1.862,15.017 10.364,25.402 20.144,35.252L 292.088,304.444c 8.934,8.95 29.281,26.129 37.771,18.465 6.512-15.11 -10.26-29.533 -18.465-37.771l-179.62-179.62 34.413-35.252 180.459,179.62c 31.082,32.059 53.413,71.234 18.465,107.436C 326.459,390.497 285.742,368.35 256.835,339.697L 61.268,144.129c-20.144-20.144 -31.615-41.967 -34.413-65.469 -2.206-32.947 12.649-59.395 32.735-79.737 18.88-18.777 39.278-29.179 64.629-29.377 30.482,1.22 60.453,21.297 77.22,37.771z" />
+<glyph unicode="&#xe06c;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 317.25,384.344C 337.363,384.158 356.298,375.139 374.094,357.344C 393.853,337.116 405.195,311.288 397.813,281.437C 393.594,265.619 383.599,249.458 367.781,232.937C 319.869,185.946 276.786,142.167 221.719,87.406C 211.186,77.058 192.367,64.423 173.219,63.656C 157.293,63.781 144.454,70.329 132.594,82.125C 119.976,94.904 110.645,111.521 112.031,132.219C 113.789,146.982 121.002,160.689 133.656,173.344L 256.531,296.187C 274.69,314.187 300.251,328.121 324.531,307.281C 346.485,284.539 332.463,259.92 312.938,239.781L 199.563,126.937L 177.938,149.094L 290.781,261.937C 295.936,267.113 306.466,276.164 302.375,285.656C 297.042,290.47 284.269,279.685 278.656,274.062L 155.813,151.187C 149.669,145.00 144.326,138.495 143.156,129.062C 142.102,120.978 145.782,112.718 154.219,104.281C 170.574,89.112 181.958,93.445 199.563,109.531C 246.405,156.374 283.997,193.558 332.188,241.625C 348.029,257.467 359.478,267.452 367.781,289.344C 374.329,314.018 348.99,349.099 320.313,353.125C 301.491,354.881 285.078,342.523 271.281,329.406L 136.813,194.969L 114.688,216.562L 249.125,351.562C 270.216,372.302 291.569,383.195 313.188,384.25C 314.539,384.316 315.909,384.356 317.25,384.344z" />
+<glyph unicode="&#xe06b;" d="M 493.566,283.392C 492.823,228.789 468.995,179.268 430.42,147.543 380.26,109.365 317.274,96.644 260.778,95.66l0.00-30.72C 259.265,25.503 236.214-8.724 203.434-23.807c-12.053-5.721 -25.364-8.144 -37.547-8.192 -17.179,0.208 -33.89,5.403 -47.787,12.288l0.00,88.747c 11.722-8.259 25.154-13.818 38.571-9.899 11.868,4.404 17.30,13.686 17.408,24.917l0.00,246.443 86.699,0.00 0.00-153.60c 19.921,0.276 39.572,2.462 57.685,6.485 23.745,5.763 46.36,14.857 63.488,30.037 21.019,20.025 30.20,43.868 30.379,69.973 -0.326,38.654 -19.776,70.798 -49.493,89.429 -33.682,19.271 -71.032,25.795 -106.837,25.941 -38.61-0.846 -76.612-8.439 -107.52-27.648 -31.567-20.435 -48.526-54.226 -48.811-87.723 2.005-24.14 8.186-57.75 24.576-73.045L 68.949,150.956c-17.943,17.945 -29.766,39.915 -37.547,62.123 -7.636,23.49 -12.874,46.874 -12.971,70.315 0.944,57.006 26.276,108.466 66.219,141.995 50.399,39.40 113.678,54.312 171.349,54.613 63.144-1.073 125.55-16.975 172.032-54.272 43.588-37.052 65.15-90.68 65.536-142.336z" />
+<glyph unicode="&#xe059;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C 0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 215.125,368.281L 296.875,368.281L 296.875,264.875L 400.281,264.875L 400.281,183.125L 296.875,183.125L 296.875,79.719L 215.125,79.719L 215.125,183.125L 111.719,183.125L 111.719,264.875L 215.125,264.875L 215.125,368.281z" />
+<glyph unicode="&#xe058;" d="M 156.781,444.562L 156.781,367.25L 136.563,367.25L 17.156,316.437L 494.844,316.437L 375.438,367.25L 355.219,367.25L 355.219,444.562L 156.781,444.562 z M 0.00,286.75L0.00,131.281L 79.25,131.281L 51.406-4.656L 460.594-4.656L 432.75,131.281L 512.00,131.281L 512.00,286.75L0.00,286.75 z M 124.344,228.156L 387.625,228.156L 427.625,32.844L 84.344,32.844L 124.344,228.156z" />
+<glyph unicode="&#xe057;" d="M 0.00-31.998L 0.00,200.667 L 232.666,200.667 L 232.666-31.998 L 0.00-31.998 z m 0.00,279.332L 0.00,480.00 L 232.666,480.00 L 232.666,247.334 L 0.00,247.334 z m 46.333-232.999l 139.999,0.00 l0.00,139.999 l-139.999,0.00 l0.00-139.999 z m 0.00,279.332l 139.999,0.00 l0.00,139.999 l-139.999,0.00 l0.00-139.999 z m 46.667-232.666l0.00,47.00 l 47.00,0.00 l0.00-47.00 l-47.00,0.00 z m 0.00,278.999l0.00,46.333 l 47.00,0.00 l0.00-46.333 l-47.00,0.00 z m 186.332-371.999L 279.332,200.667 l 138.999,0.00 l0.00-46.333 l 47.333,0.00 l0.00,46.333 l 46.333,0.00 L 511.998,61.002 L 371.999,61.002 l0.00,46.333 l-46.333,0.00 l0.00-139.332 l-46.333,0.00 z m 0.00,279.332L 279.332,480.00 L 511.998,480.00 L 511.998,247.334 L 279.332,247.334 z m 46.333,46.333l 139.999,0.00 l0.00,139.999 l-139.999,0.00 l0.00-139.999 z m 46.333-325.666l0.00,46.333 l 46.333,0.00 l0.00-46.333 l-46.333,0.00 z m 0.00,371.999l0.00,46.333 l 46.333,0.00 l0.00-46.333 l-46.333,0.00 z m 93.667-371.999l0.00,46.333 l 46.333,0.00 l0.00-46.333 l-46.333,0.00 z" />
+<glyph unicode="&#xe056;" d="M 249.789,479.999 m0.00,0.00,c-41.444,0.10 -116.881-39.787 -119.273-75.249 -2.392-35.462 4.831-37.648 8.19-39.587l 38.904,0.00c 8.889,20.072 19.717,31.807 48.119,31.567 28.401-0.239 59.556-35.767 46.412-67.23 -13.144-31.462 -25.29-42.421 -41.464-76.444 -16.174-34.023 -21.576-85.415 -0.341-128.146l 47.948-0.853c-11.868,60.996 50.952,115.339 75.932,152.887 24.98,37.548 27.355,51.859 27.643,82.928 -0.22,29.483 -10.897,58.945 -34.126,82.928 -23.23,23.982 -56.50,37.098 -97.944,37.198 z m 2.389-395.699c-32.068,0.00 -58.016-25.947 -58.016-58.016 0.00-32.068 25.947-58.186 58.016-58.186 32.068,0.00 58.016,26.118 58.016,58.186 0.00,32.068 -25.947,58.016 -58.016,58.016z" />
+<glyph unicode="&#xe055;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C 0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 251.375,415.844C 282.44,415.769 307.40,405.945 324.813,387.969C 342.225,369.992 350.21,347.912 350.375,325.812C 350.159,302.524 348.381,291.801 329.656,263.656C 310.932,235.511 263.854,194.784 272.75,149.062L 236.813,149.687C 220.895,181.717 224.939,220.247 237.063,245.75C 249.186,271.253 258.272,279.448 268.125,303.031C 277.978,326.615 254.633,353.258 233.344,353.437C 212.054,353.617 203.945,344.827 197.281,329.781L 168.125,329.781C 165.607,331.235 160.176,332.856 161.969,359.437C 163.761,386.019 220.31,415.919 251.375,415.844 z M 253.188,119.25C 277.225,119.25 296.656,99.788 296.656,75.75C 296.656,51.712 277.225,32.156 253.188,32.156C 229.15,32.156 209.688,51.712 209.688,75.75C 209.688,99.788 229.15,119.25 253.188,119.25z" />
+<glyph unicode="&#xe054;" d="M 222.779,435.163C 132.051,428.787 1.635,414.302 1.563,236.616L 1.563,13.056L 204.018,13.056L 204.018,252.25L 136.794,252.25C 132.535,316.119 185.128,332.61 242.321,345.27L 222.779,435.163 z M 494.021,435.163C 403.294,428.787 272.878,414.302 272.806,236.616L 272.806,13.056L 475.261,13.056L 475.261,252.25L 408.037,252.25C 403.778,316.119 456.371,332.61 513.563,345.27L 494.021,435.163z" />
+<glyph unicode="&#xe053;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 236.406,359.50L 247.406,308.844C 215.175,301.709 185.537,292.431 187.938,256.437L 225.813,256.437L 225.813,121.625L 111.719,121.625L 111.719,247.625C 111.759,347.76 185.277,355.907 236.406,359.50 z M 389.25,359.50L 400.281,308.844C 368.05,301.709 338.412,292.431 340.813,256.437L 378.688,256.437L 378.688,121.625L 264.594,121.625L 264.594,247.625C 264.634,347.76 338.12,355.907 389.25,359.50z" />
+<glyph unicode="&#xe052;" d="M 399.329,461.993 m0.00,0.00,0.00-79.386 -73.373,0.00c-23.214,0.00 -48.847-11.332 -70.284-32.99 -21.437-21.658 -44.733-53.788 -81.719-106.626 -37.152-53.075 -57.842-85.148 -70.744-99.561 -12.902-14.412 -10.827-13.176 -29.605-13.176l-72.716,0.00 -0.887,0.00 0.00-63.088 0.887,0.00 72.716,0.00c 28.193,0.00 56.55,11.784 76.593,34.173 20.043,22.389 38.96,53.403 75.41,105.475 36.616,52.309 59.896,83.268 74.884,98.411 14.989,15.143 15.633,14.293 25.465,14.293l 73.373,0.00 0.00-82.836L 512.00,349.322 399.329,461.993 z M 0.00,382.607l0.00-63.088 0.887,0.00 72.716,0.00c 18.778,0.00 16.703,1.269 29.605-13.143 8.301-9.273 21.977-28.939 39.036-53.724 2.312,3.317 3.402,4.916 5.849,8.412 9.293,13.275 17.734,25.253 25.531,36.177 2.714,3.802 4.986,6.801 7.557,10.35 -11.528,16.657 -21.131,29.867 -30.985,40.876C 130.153,370.856 101.796,382.607 73.603,382.607l-72.716,0.00 -0.887,0.00 z m 399.329-171.291 0.00-81.062 -73.373,0.00c-9.832,0.00 -10.477-0.817 -25.465,14.326 -9.914,10.017 -23.955,27.773 -42.584,53.231 -2.253-3.196 -4.076-5.725 -6.44-9.102 -13.044-18.634 -22.037-32.078 -31.478-46.002 13.395-17.74 24.798-31.52 35.684-42.519 21.437-21.658 47.07-33.023 70.284-33.023l 73.373,0.00 0.00-81.16L 512.00,98.645 399.329,211.317z" />
+<glyph unicode="&#xe051;" d="M 256.00-32.00 m0.00,0.00,c-141.376,0.00 -256.00,114.624 -256.00,256.00 0.00,141.376 114.624,256.00 256.00,256.00 141.376,0.00 256.00-114.624 256.00-256.00 0.00-141.376 -114.624-256.00 -256.00-256.00 z m 0.00,384.00c-70.688,0.00 -128.00-57.312 -128.00-128.00 0.00-70.688 57.312-128.00 128.00-128.00 70.688,0.00 128.00,57.312 128.00,128.00 0.00,70.688 -57.312,128.00 -128.00,128.00z" />
+<glyph unicode="&#xe050;" d="M 340.97,104.728 m0.00,0.00,c 5.801-9.393 -0.381-13.312 -5.647-17.748 -22.654-16.864 -54.361-23.029 -80.403-23.126 -24.363,0.478 -59.937,6.221 -78.252,23.126 -6.255,4.94 -9.99,12.889 -4.034,18.286 6.308,5.291 12.025-0.311 16.941-4.571 21.201-14.773 40.337-15.474 65.344-18.017 27.058,1.317 45.183,5.344 68.302,18.555 5.492,4.774 11.753,9.322 17.748,3.496 z m 93.478,335.344c-20.366,0.00 -37.776-12.655 -44.806-30.525L 290.416,433.88 248.998,316.628c-29.401-0.717 -57.005-4.839 -82.821-12.369 -25.815-7.529 -48.752-17.571 -68.831-30.12 -10.756,9.681 -23.669,14.525 -38.727,14.525 -8.246,0.00 -15.866-1.524 -22.857-4.571 -6.992-3.048 -13.183-7.266 -18.561-12.644 -5.378-5.378 -9.581-11.65 -12.628-18.821 -3.048-7.171 -4.571-14.693 -4.571-22.582 0.00-10.398 2.422-19.91 7.262-28.515 4.84-8.605 11.368-15.598 19.615-20.977 -0.359-2.868 -0.711-5.819 -1.07-8.867 -0.359-3.048 -0.535-6.191 -0.535-9.418 0.00-21.154 5.999-41.14 18.01-59.964 12.011-18.823 28.517-35.216 49.491-49.20 20.975-13.983 45.356-25.019 73.143-33.086 27.787-8.067 57.622-12.093 89.532-12.093 31.552,0.00 61.322,4.026 89.289,12.093 27.966,8.067 52.428,19.103 73.402,33.086 20.975,13.983 37.48,30.376 49.491,49.20 12.011,18.823 18.01,38.81 18.01,59.964 0.00,5.737 -0.545,11.656 -1.621,17.751 8.605,5.378 15.422,12.468 20.442,21.252 5.019,8.784 7.538,18.377 7.538,28.774 0.00,7.888 -1.524,15.411 -4.571,22.582 -3.048,7.171 -7.266,13.443 -12.644,18.821 -5.378,5.378 -11.65,9.597 -18.821,12.644 -7.171,3.048 -14.886,4.571 -23.133,4.571 -14.342,0.00 -27.238-4.844 -38.711-14.525 -19.361,12.191 -41.417,22.055 -66.156,29.585 -24.739,7.529 -51.27,11.828 -79.595,12.904l 33.88,95.189 84.069-19.712c0.00-0.059 0.00-0.119 0.00-0.178 0.00-26.584 21.546-48.13 48.13-48.13 26.584,0.00 48.146,21.546 48.146,48.13 0.00,26.584 -21.562,48.146 -48.146,48.146 z M 255.45,298.342c 29.042,0.00 56.471-3.577 82.286-10.748 25.815-7.171 48.319-16.859 67.501-29.05 19.182-12.191 34.34-26.627 45.455-43.299 11.115-16.672 16.665-34.332 16.665-52.977 0.00-18.644 -5.55-36.208 -16.665-52.701 -11.114-16.493 -26.272-30.833 -45.455-43.023 -19.182-12.191 -41.686-21.879 -67.501-29.05 -25.815-7.171 -53.244-10.748 -82.286-10.748 -29.042,0.00 -56.471,3.577 -82.286,10.748 -25.815,7.171 -48.223,16.859 -67.226,29.05 -19.003,12.191 -34.048,26.53 -45.163,43.023 -11.115,16.493 -16.681,34.057 -16.681,52.701 0.00,18.644 5.566,36.304 16.681,52.977 11.115,16.672 26.16,31.108 45.163,43.299 19.003,12.191 41.411,21.879 67.226,29.05 25.815,7.171 53.244,10.748 82.286,10.748 z m 78.055-72.186c-20.049,0.00 -36.312-16.136 -36.312-36.036 0.00-19.901 16.263-36.036 36.312-36.036 20.049,0.00 36.296,16.136 36.296,36.036 0.00,19.901 -16.247,36.036 -36.296,36.036 z m -150.744-0.567c-20.049,0.00 -36.296-16.136 -36.296-36.036 0.00-19.901 16.247-36.036 36.296-36.036 20.049,0.00 36.312,16.136 36.312,36.036 0.00,19.901 -16.263,36.036 -36.312,36.036 z m 300.191-46.379c-0.172-0.089 -0.341-0.193 -0.519-0.324 0.175,0.131 0.343,0.236 0.519,0.324z" />
+<glyph unicode="&#xe04f;" d="M 256.00,480.00C 131.729,480.00 28.164,391.443 4.906,274.00l 71.063,0.00C 97.864,352.957 170.071,411.00 256.00,411.00c 51.656,0.00 98.336-20.99 132.125-54.875L 306.00,274.00 436.031,274.00 512.00,274.00 512.00,480.00 437.00,405.00C 390.679,451.336 326.698,480.00 256.00,480.00 z M 0.00,174.00 0.00-32.00 75.00,43.00c 46.321-46.336 110.302-75.00 181.00-75.00 124.271,0.00 227.836,88.557 251.094,206.00l-71.063,0.00C 414.136,95.043 341.929,37.00 256.00,37.00 204.344,37.00 157.664,57.99 123.875,91.875L 206.00,174.00z" />
+<glyph unicode="&#xe03f;" d="M 217.438,480.00L 217.438,413.344C 141.67,397.994 82.006,338.33 66.656,262.562L0.00,262.562L0.00,185.437L 66.656,185.437C 82.006,109.67 141.67,50.006 217.438,34.656L 217.438-32.00L 294.563-32.00L 294.563,34.656C 370.33,50.006 429.994,109.67 445.344,185.437L 512.00,185.437L 512.00,262.562L 445.344,262.562C 429.994,338.33 370.33,397.994 294.563,413.344L 294.563,480.00L 217.438,480.00 z M 217.438,361.969L 217.438,287.156L 294.563,287.156L 294.563,361.969C 342.665,348.554 380.554,310.665 393.969,262.562L 319.156,262.562L 319.156,185.437L 393.969,185.437C 380.554,137.335 342.665,99.446 294.563,86.031L 294.563,160.844L 217.438,160.844L 217.438,86.031C 169.335,99.446 131.446,137.335 118.031,185.437L 192.844,185.437L 192.844,262.562L 118.031,262.562C 131.446,310.665 169.335,348.554 217.438,361.969z" />
+<glyph unicode="&#xe03e;" d="M 286.99,480.00 m0.00,0.00,c-120.877,0.00 -218.879-97.985 -218.879-218.862 0.00-42.949 12.367-83.014 33.742-116.817 -0.157-0.068 -0.311-0.13 -0.468-0.201l-95.237-95.22 80.90-80.90 98.666,98.683c-0.03,0.139 -0.069,0.278 -0.10,0.418 30.308-15.868 64.796-24.842 101.376-24.842 120.877,0.00 218.862,98.002 218.862,218.879 0.00,120.877 -97.985,218.862 -218.862,218.862 z m 0.00-97.228c 67.175,0.00 121.618-54.459 121.618-121.635 0.00-67.175 -54.443-121.635 -121.618-121.635 -67.175,0.00 -121.635,54.459 -121.635,121.635 0.00,67.175 54.459,121.635 121.635,121.635z" />
+<glyph unicode="&#xe03d;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 273.563,369.062C 342.057,369.062 397.563,313.525 397.563,245.031C 397.563,176.537 342.057,121.031 273.563,121.031C 252.835,121.031 233.299,126.102 216.125,135.094C 216.143,135.014 216.171,134.923 216.188,134.844L 160.25,78.937L 114.438,124.781L 168.375,178.75C 168.464,178.79 168.567,178.805 168.656,178.844C 156.544,197.998 149.531,220.695 149.531,245.031C 149.531,313.525 205.069,369.062 273.563,369.062 z M 273.563,313.969C 235.498,313.969 204.625,283.096 204.625,245.031C 204.625,206.967 235.498,176.125 273.563,176.125C 311.627,176.125 342.469,206.967 342.469,245.031C 342.469,283.096 311.627,313.969 273.563,313.969z" />
+<glyph unicode="&#xe03c;" d="M 0.00,480.00 m0.00,0.00,0.00-512.00 512.00,0.00 0.00,267.313 -84.00-89.063 0.00-94.25 -344.00,0.00 0.00,344.00 169.25,0.00 0.00,84.00zM 366.023,480.00 m0.00,0.00,0.00-96.415c-87.575-0.002 -247.273-0.963 -247.273-273.876 18.106,182.501 101.282,183.649 247.273,183.651l0.00-105.29L 512.00,334.046 366.023,480.00z" />
+<glyph unicode="&#xe03b;" d="M 321.942,465.054 m0.00,0.00,0.00-125.529C 207.922,339.521 0.00,338.271 0.00-17.054 23.573,220.557 131.866,222.051 321.942,222.054l0.00-137.085L 512.00,275.026 321.942,465.054z" />
+<glyph unicode="&#xe03a;" d="M 507.601,309.218 m0.00,0.00,-21.297-122.18c-2.627-13.497 -13.38-21.704 -25.781-21.858l-310.493,0.00 -6.165-34.748 295.921,0.00c 15.583-1.184 26.152-12.222 26.341-26.341 -1.133-15.55 -12.171-26.149 -26.341-26.341l-327.307,0.00c-17.702,1.592 -28.257,15.702 -26.341,31.386L 100.148,185.356 78.851,399.451 18.321,418.507c-14.791,5.873 -20.829,19.254 -17.374,33.067 5.744,14.396 19.509,20.973 33.067,17.374l 77.343-24.66c 10.419-3.906 16.413-12.435 17.935-22.418l 4.483-42.594 350.846-39.232c 16.12-3.492 24.871-16.26 22.978-30.825 z m -314.924-286.777c0.00-22.209 -18.004-40.213 -40.213-40.213 -22.209,0.00 -40.213,18.004 -40.213,40.213 0.00,22.209 18.004,40.213 40.213,40.213 22.209,0.00 40.213-18.004 40.213-40.213 z m 240.068,0.00c0.00-22.209 -18.004-40.213 -40.213-40.213 -22.209,0.00 -40.213,18.004 -40.213,40.213 0.00,22.209 18.004,40.213 40.213,40.213 22.209,0.00 40.213-18.004 40.213-40.213z" />
+<glyph unicode="&#xe039;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00 0.00,82.615 114.615-32.00 256.00-32.00 397.385-32.00 512.00,82.615 512.00,224.00 512.00,365.385 397.385,480.00 256.00,480.00 z m -129.031-108.156 45.563-14.313c 6.032-1.981 10.049-7.582 10.75-13.313l 2.563-25.094 206.313-23.031c 8.859-1.717 15.084-9.715 13.844-17.938l-12.813-72.188c-1.631-7.551 -7.885-12.727 -14.844-12.813l-183.281,0.00 -3.594-20.469 174.063,0.00c 9.102-0.321 15.768-7.251 15.875-15.344 -0.377-9.232 -7.819-15.274 -15.875-15.375l-192.50,0.00c-9.709,0.803 -16.837,8.497 -15.344,17.906l 8.188,45.063 -12.813,125.969 -35.313,11.25c-4.096,1.365 -7.171,3.933 -9.219,7.688 -3.875,8.12 -0.255,17.111 6.656,21.00 3.945,2.051 7.798,2.307 11.781,1.00 z m 69.375-238.719c 13.255,0.00 24.00-10.745 24.00-24.00 0.00-13.255 -10.745-24.00 -24.00-24.00 -13.255,0.00 -24.00,10.745 -24.00,24.00 0.00,13.255 10.745,24.00 24.00,24.00 z m 140.875,0.00c 13.255,0.00 24.00-10.745 24.00-24.00 0.00-13.255 -10.745-24.00 -24.00-24.00 -13.255,0.00 -24.00,10.745 -24.00,24.00 0.00,13.255 10.745,24.00 24.00,24.00z" />
+<glyph unicode="&#xe038;" d="M 409.60-32.00 m0.00,0.00,0.00,512.00 102.40,0.00 0.00-512.00 -102.40,0.00 z m -136.533,384.00 102.40,0.00 0.00-384.00 -102.40,0.00 0.00,384.00 z m -136.533-128.00 102.40,0.00 0.00-256.00 -102.40,0.00 0.00,256.00 z m -136.533-128.00 102.40,0.00 0.00-128.00 -102.40,0.00 0.00,128.00z" />
+<glyph unicode="&#xe037;" d="M 389.48,167.617 m0.00,0.00,c 0.262,38.99 -22.818,64.913 -54.321,79.474 -15.514,6.631 -31.407,12.046 -46.561,15.788 -20.546,5.197 -39.752,8.649 -60.207,14.45 -16.578,3.919 -36.876,16.637 -37.463,31.575 3.768,26.501 36.046,32.499 55.659,32.646 29.325,1.119 47.702-13.591 60.475-35.322 9.355-15.675 16.945-24.993 34.251-25.153 18.837,1.06 33.469,15.947 33.717,33.181 -2.631,38.815 -37.271,61.193 -69.038,71.714 -41.026,10.368 -86.071,10.677 -124.161-3.746 -36.233-13.383 -61.141-43.466 -61.545-79.206 1.818-65.677 67.847-84.559 117.204-95.262 15.032-2.996 29.524-6.128 43.349-10.703 18.49-6.714 33.996-16.852 34.251-36.392 0.00-11.774 -5.887-21.585 -17.66-29.434 -25.191-12.396 -56.297-19.072 -81.347-5.887 -17.882,8.544 -26.556,22.968 -33.717,39.068 -7.486,16.656 -16.706,27.103 -34.251,27.294 -18.394-0.686 -34.526-13.886 -34.787-31.041 2.914-34.32 26.906-62.602 54.053-77.066 51.41-21.112 108.135-25.204 157.878-4.817 38.661,16.594 63.819,50.325 64.221,88.84 z m 93.121,9.633c 9.277-19.267 13.915-39.603 13.915-61.011 -0.817-37.359 -15.626-71.997 -39.871-96.599 -27.88-26.094 -61.415-39.617 -96.599-39.871 -23.232,0.392 -45.075,5.863 -64.221,16.055 -44.715-7.767 -96.773-1.354 -134.865,14.718 -57.797,26.103 -102.113,72.278 -125.499,125.499 -17.958,47.942 -22.905,92.983 -13.647,139.146 -30.67,55.408 -21.528,122.339 21.14,165.638 47.273,45.205 115.581,50.943 169.384,18.999 76.459,12.347 154.857-14.849 206.579-65.827 44.58-46.506 68.61-107.452 69.038-166.44 -0.073-17.415 -1.949-34.494 -5.352-50.306z" />
+<glyph unicode="&#xe036;" d="M 26.574,480.00 m0.00,0.00, 0.00-247.311c-5.882,3.919 -16.366,7.198 -21.755,3.258 -5.197-6.008 2.19-14.775 5.447-20.377 32.284-32.494 65.367-53.375 104.349-70.387 -8.819-27.603 -11.412-55.26 -8.689-82.61 5.795-47.803 38.457-94.231 89.678-94.573 24.498,0.559 50.865,18.214 51.096,43.477l0.00,107.623c 6.216-1.777 12.299-4.396 18.48-5.447l0.00-100.539c0.00-7.247 1.713-13.502 5.155-18.756 10.624-15.353 27.823-24.614 45.925-24.738 53.604,2.14 83.638,46.159 89.694,94.573 2.624,28.619 -1.185,57.598 -8.705,82.626 35.541,17.947 100.306,44.291 111.692,85.593 0.512,5.124 -4.311,7.031 -8.284,7.068 -6.43-0.264 -11.635-2.656 -16.438-6.241l 0.00,246.76 z m 26.618-27.185 403.842,0.00 0.00-235.882c-6.733-4.274 -13.25-7.103 -20.101-10.326l-357.641-3.809c-9.259,3.533 -17.30,9.26 -26.099,13.05 z M 186.672,327.635c-33.32,0.00 -60.32-27.016 -60.32-60.336 0.00-33.32 27.00-60.32 60.32-60.32 33.32,0.00 60.336,27.00 60.336,60.32 0.00,33.32 -27.016,60.336 -60.336,60.336 z m 142.995,0.00c-33.32,0.00 -60.32-27.016 -60.32-60.336 0.00-33.32 27.00-60.32 60.32-60.32 33.32,0.00 60.336,27.00 60.336,60.32 0.00,33.32 -27.016,60.336 -60.336,60.336z" />
+<glyph unicode="&#xe035;" d="M 0.00,480.00 m0.00,0.00,0.00-512.00 512.00,0.00 0.00,512.00 z m 167.375-97.375c 30.524,0.00 55.281-24.726 55.281-55.25 0.00-30.524 -24.757-55.281 -55.281-55.281 -30.524,0.00 -55.281,24.757 -55.281,55.281 0.00,30.524 24.757,55.25 55.281,55.25 z m 172.281,0.00c 30.524,0.00 55.25-24.726 55.25-55.25 0.00-30.524 -24.726-55.281 -55.25-55.281 -30.524,0.00 -55.281,24.757 -55.281,55.281 0.00,30.524 24.757,55.25 55.281,55.25 z m -261.563-174.031 355.813,0.00c0.00-98.256 -79.651-177.938 -177.906-177.938 -98.256,0.00 -177.906,79.682 -177.906,177.938z" />
+<glyph unicode="&#xe023;" d="M0.00,480.00L0.00,256.00L 224.00,256.00L 224.00,480.00L0.00,480.00 z M 288.00,480.00L 288.00,256.00L 512.00,256.00L 512.00,480.00L 288.00,480.00 z M 0.00,192.00L0.00-32.00L 224.00-32.00L 224.00,192.00L0.00,192.00 z M 288.00,192.00L 288.00-32.00L 512.00-32.00L 512.00,192.00L 288.00,192.00z" />
+<glyph unicode="&#xe022;" d="M0.00,480.00L0.00,352.00L 128.00,352.00L 128.00,480.00L0.00,480.00 z M 200.00,480.00L 200.00,352.00L 512.00,352.00L 512.00,480.00L 200.00,480.00 z M 0.00,288.00L0.00,160.00L 128.00,160.00L 128.00,288.00L0.00,288.00 z M 200.00,288.00L 200.00,160.00L 512.00,160.00L 512.00,288.00L 200.00,288.00 z M 0.00,96.00L0.00-32.00L 128.00-32.00L 128.00,96.00L0.00,96.00 z M 200.00,96.00L 200.00-32.00L 512.00-32.00L 512.00,96.00L 200.00,96.00z" />
+<glyph unicode="&#xe021;" d="M 485.151,141.119 m0.00,0.00,-126.837,0.00c 2.569-20.825 6.231-40.827 10.781-60.247 2.472-36.931 -22.259-63.543 -48.198-81.175 -6.765-4.228 -13.952-5.285 -21.563-3.171 -7.191,2.537 -12.475,7.61 -15.855,15.22l-57.711,129.373 -58.344,0.00c-15.336,1.089 -25.187,11.488 -25.368,25.368l0.00,256.211c 1.089,15.336 11.488,25.187 25.368,25.368l 234.648,0.00c 12.811-0.977 25.453-5.541 35.831-11.415 17.991-10.928 30.659-25.998 36.466-44.393l 35.514-220.696c 2.115-16.735 -10.069-30.229 -24.733-30.441 z m -392.56-5.073 -74.199,0.00c-10.305,0.746 -18.25,8.203 -18.391,17.758l0.00,282.846c 0.819,10.90 8.628,17.632 18.391,17.758l 74.199,0.00c 10.756-0.748 18.257-7.889 18.391-17.758l0.00-282.846c-0.886-10.479 -8.976-17.629 -18.391-17.758z" />
+<glyph unicode="&#xe020;" d="M -0.007,467.122 m0.00,0.00,z m 305.497-25.757c 18.099,0.195 35.224-18.501 47.086-31.837 27.859-34.232 12.486-72.166 6.361-113.692l 127.07,0.00c 17.178-0.128 25.985-13.045 24.79-30.497l-35.579-220.462c-8.063-28.192 -39.402-53.01 -72.438-56.535l-235.055,0.00c-13.905,0.182 -24.324,10.051 -25.414,25.414l0.00,256.666c 0.181,13.904 10.051,24.324 25.414,25.414l 58.436,0.00 57.813,129.596c 3.215,6.994 11.643,15.776 21.516,15.934 z m -212.728-140.447c 9.78-0.125 17.577-6.886 18.397-17.805l0.00-283.358c-0.142-9.571 -8.074-17.026 -18.397-17.775l-74.34,0.00c-9.433,0.129 -17.541,7.277 -18.429,17.775l0.00,283.358c 0.135,9.886 7.653,17.055 18.429,17.805z" />
+<glyph unicode="&#xe01f;" d="M 233.22,480.00C 173.534,480.00 113.837,457.241 68.298,411.702C-22.78,320.624 -22.78,172.936 68.298,81.858C 159.376-9.22 307.064-9.22 398.142,81.858C 489.22,172.936 489.22,320.624 398.142,411.702C 352.603,457.241 292.906,480.00 233.22,480.00 z M 233.22,419.076C 277.315,419.076 321.423,402.273 355.068,368.629C 422.357,301.339 422.357,192.221 355.068,124.932C 287.779,57.643 178.661,57.643 111.371,124.932C 44.082,192.221 44.082,301.339 111.371,368.629C 145.016,402.273 189.124,419.076 233.22,419.076 z M 209.362,379.931L 209.362,270.979L 148.979,270.979L 148.979,211.336L 209.362,211.336L 269.005,211.336L 269.005,270.979L 269.005,379.931L 209.362,379.931z" />
+<glyph unicode="&#xe01e;" d="M 436.99,405.024C 390.666,451.348 326.67,480.017 255.983,480.017 114.607,480.017 -0.017,365.393 -0.017,224.017c0.00-141.376 114.624-256.00 256.00-256.00 141.376,0.00 256.00,114.624 256.00,256.00 0.00,70.687 -28.669,134.683 -74.993,181.007 z m -51.947-36.834 46.136-46.136 -173.164-173.164 -0.022,0.022 -0.022-0.022 -121.239,121.239 5.06,5.06 35.862,35.862 5.215,5.215 75.125-75.125 127.05,127.05z" />
+<glyph unicode="&#xe01d;" d="M 74.839,150.20 m0.00,0.00,c 0.57,36.14 10.635,68.654 28.742,96.765 18.657,27.943 39.382,55.132 56.686,81.117 27.469,42.361 50.752,86.24 64.989,131.256 4.949,14.121 16.183,22.106 30.019,20.439 15.419,0.946 26.098-7.266 30.019-20.439 14.991-48.743 38.895-91.351 65.308-131.256 18.037-29.408 38.641-52.105 56.367-81.117 19.232-30.564 28.569-63.629 28.742-96.765C 434.614,100.765 415.164,54.808 383.178,22.138 347.502-12.141 300.569-30.23 255.276-30.556 205.865-29.504 160.035-9.893 127.533,22.138 93.325,57.928 75.165,104.864 74.839,150.20 z M 154.039,110.281c 1.184-26.025 21.859-45.036 45.03-45.349 26.258,1.162 44.726,22.187 45.03,45.349 0.00,9.155 -2.342,17.139 -7.026,23.952 -5.148,6.70 -10.224,13.634 -14.371,20.28 -6.57,10.729 -12.993,21.398 -16.287,32.734 -0.852,4.258 -3.30,6.068 -7.345,5.429 -3.832,0.852 -6.387-0.958 -7.664-5.429C 187.961,175.102 181.943,164.398 175.596,154.512 171.132,147.062 165.781,141.264 161.065,134.232 156.169,127.206 153.827,119.222 154.039,110.281z" />
+<glyph unicode="&#xe01c;" d="M 482.001,151.014 m0.00,0.00,0.00-183.017 -452.001,0.00 0.00,183.017L 202.667,224.558C 160.138,251.862 140.159,299.745 139.789,344.699 140.35,412.293 186.725,479.412 256.00,479.997 328.761,477.611 371.814,409.491 372.211,344.699 370.766,296.093 349.339,249.927 311.017,225.12z" />
+<glyph unicode="&#xe01b;" d="M 192.587,480.00 m0.00,0.00,0.00-39.144 -147.963,0.00 0.00-72.025 422.752,0.00 0.00,72.025 -147.963,0.00 0.00,39.144 -126.826,0.00 z m -125.26-165.969 0.00-346.031 377.346,0.00 0.00,346.031 -377.346,0.00z" />
+<glyph unicode="&#xe01a;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C 0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 216.281,384.281L 295.719,384.281L 295.719,359.781L 388.344,359.781L 388.344,314.687L 123.656,314.687L 123.656,359.781L 216.281,359.781L 216.281,384.281 z M 137.875,280.375L 374.125,280.375L 374.125,63.719L 137.875,63.719L 137.875,280.375z" />
+<glyph unicode="&#xe019;" d="M 512.00,480.00 m0.00,0.00,0.00-512.00 -512.00,0.00 0.00,512.00 z M 298.215,106.824c-8.70,2.425 -17.279,5.182 -24.085,10.554 -2.706,2.165 -4.059,4.15 -4.059,5.954 0.00,43.659 0.00,87.318 0.00,130.977l 82.808,0.00c0.00,19.123 0.00,38.247 0.00,57.37l-82.808,0.00 0.00,86.596 -47.628,0.00c-3.551-44.459 -27.105-86.596 -73.607-86.596l0.00-57.37 39.51,0.00c0.00-47.267 0.00-94.534 0.00-141.801 0.163-22.30 10.459-41.487 28.414-51.687 16.994-8.797 34.90-11.036 52.77-11.095 17.514,0.085 36.152-0.263 52.77,0.812 14.55,0.522 28.497,3.852 40.863,10.013l0.00,61.159 0.00,0.541 0.00-0.541c-7.216-4.691 -15.154-8.66 -23.814-11.907 -14.526-4.763 -27.493-6.326 -41.133-2.977z" />
+<glyph unicode="&#xe00a;" d="M 458.166,211.417 m0.00,0.00,c 1.237,4.967 -0.037,10.075 -4.681,11.703l-19.31,8.777c-4.772,1.992 -10.846-0.699 -11.703-5.266 -3.727-7.979 -9.011-14.511 -17.554-14.628 -7.412,0.00 -13.458,3.998 -18.139,11.995 -4.681,7.997 -7.022,18.432 -7.022,31.305 0.00,12.873 2.341,23.406 7.022,31.598 4.681,8.192 10.727,12.288 18.139,12.288 9.35-0.679 13.787-6.584 17.554-14.043 1.997-4.90 7.43-6.051 11.703-4.681l 19.31,8.777c 4.472,2.354 6.464,8.181 4.096,12.288 -11.313,24.186 -28.867,36.279 -52.663,36.279 -19.895,0.00 -35.986-7.607 -48.274-22.82 -12.288-15.214 -18.432-35.108 -18.432-59.684 0.00-24.576 6.144-44.373 18.432-59.392 12.288-15.019 28.379-22.528 48.274-22.528 23.796,0.00 41.545,12.678 53.248,38.034 z M 272.091,173.383c 31.017,0.48 54.636,21.792 55.003,49.737 -0.548,14.757 -6.481,26.236 -16.969,35.108 9.235,8.72 14.537,20.596 14.628,32.183 -0.768,31.621 -27.067,46.559 -52.663,46.811 -22.235,0.00 -39.399-8.777 -51.492-26.331 -2.731-3.902 -2.341-7.803 1.17-11.703l 14.043-12.873c 4.502-4.013 9.509-3.271 13.458,0.585 5.851,8.192 12.873,12.288 21.065,12.288 6.631,0.00 10.533-1.658 11.703-4.974 2.256-4.92 1.608-9.408 0.00-13.458 -6.035-6.249 -14.856-4.389 -23.406-4.389 -5.561-0.187 -9.862-3.448 -9.947-8.777l0.00-21.065c 0.485-6.043 4.604-10.035 9.947-8.777 6.45,0.006 22.807,0.736 25.454-4.681 1.365-3.121 2.048-5.657 2.048-7.607 0.00-8.972 -4.876-13.458 -14.628-13.458 -9.362,0.00 -17.164,4.291 -23.406,12.873 -3.818,4.62 -9.85,4.687 -13.458,1.17l-14.628-14.628c-3.511-3.511 -3.901-7.217 -1.17-11.118 13.261-18.655 32.567-26.753 53.248-26.916 z m -57.929,150.967c 1.069,5.609 -3.061,11.019 -8.192,11.118l-25.746,0.00c-4.681,0.00 -7.412-2.341 -8.192-7.022L 159.744,265.836 146.871,328.446c-1.17,4.681 -4.096,7.022 -8.777,7.022l-18.724,0.00c-5.072,0.00 -7.998-2.341 -8.777-7.022L 97.718,265.836 85.43,328.446c-0.78,4.681 -3.706,7.022 -8.777,7.022l-25.161,0.00c-6.413-0.505 -9.496-5.576 -8.777-11.118l 32.183-141.605c 1.17-4.681 4.096-7.022 8.777-7.022l 24.576,0.00c 4.681,0.00 7.607,2.341 8.777,7.022l 11.703,58.514 11.703-58.514c 0.78-4.681 3.706-7.022 8.777-7.022l 24.576,0.00c 4.681,0.00 7.607,2.341 8.777,7.022 z M 511.999,479.998 511.999,87.998 256.00-32.002 0.00,87.998 0.00,479.998z" horiz-adv-x="511" />
+<glyph unicode="&#xe009;" d="M 256.00,480.00L0.00-32.00L 512.00-32.00L 256.00,480.00 z M 236.313,302.469L 275.688,302.469L 275.688,234.781L 266.063,139.594L 245.938,139.594L 236.313,234.781L 236.313,302.469 z M 236.313,102.219L 275.688,102.219L 275.688,59.812L 236.313,59.812L 236.313,102.219z" />
+<glyph unicode="&#xe008;" d="M 298.068,86.512 m0.00,0.00,-85.162,0.00 0.00,85.162 85.162,0.00 z m 107.735,0.00 -85.162,0.00 0.00,85.162 85.162,0.00 z m -215.471,0.00 -85.162,0.00 0.00,85.162 85.162,0.00 z m 215.471,269.339 0.00-156.986 -300.634,0.00 0.00,156.986 z m 43.095,45.147 -385.796,0.00 0.00-353.988 385.796,0.00 z M 0.00-15.58l0.00,479.166 512.00,0.00 0.00-479.166z" />
+<glyph unicode="&#xe007;" d="M 256.00,480.00 m0.00,0.00,c-141.385,0.00 -256.00-114.615 -256.00-256.00 0.00-141.385 114.615-256.00 256.00-256.00 141.385,0.00 256.00,114.615 256.00,256.00 0.00,141.385 -114.615,256.00 -256.00,256.00 z m -136.041-128.697 272.065,0.00 0.00-254.606 -272.065,0.00 z m 33.541-33.264 0.00-188.093 205.001,0.00 0.00,188.093 z m 22.355-23.992 159.741,0.00 0.00-83.404 -159.741,0.00 z m 0.00-97.864 45.244,0.00 0.00-45.244 -45.244,0.00 z m 57.24,0.00 45.26,0.00 0.00-45.244 -45.26,0.00 z m 57.24,0.00 45.26,0.00 0.00-45.244 -45.26,0.00z" />
+<glyph unicode="&#xe006;" d="M 354.757,129.191 m0.00,0.00,c 12.85-3.884 19.605-13.656 16.939-25.682C 369.876,95.859 367.69,88.937 365.14,82.745 351.382,47.449 328.612,19.142 299.569-0.586 267.233-21.326 231.772-31.809 196.294-32.005 147.652-30.983 102.397-12.238 69.797,18.812 36.161,52.65 17.396,97.503 17.066,141.212c 0.848,36.879 11.908,70.458 31.692,98.357 22.451,29.885 51.414,51.407 83.603,63.932 12.287,2.961 24.419-1.666 28.96-12.568 3.82-12.322 -2.113-23.713 -13.114-27.321C 122.103,252.915 100.676,236.504 85.37,215.252 69.762,192.291 61.48,166.921 61.327,141.212 62.122,105.148 77.063,72.019 100.943,48.866 128.734,23.988 161.884,10.861 196.294,10.616c 28.935,0.653 55.601,8.901 77.866,24.042 22.901,16.519 40.171,37.756 49.451,62.293 2.186,5.10 3.825,10.382 4.918,15.846 4.086,12.541 14.54,18.983 26.228,16.393 z M 492.457,45.588c 4.979-10.651 2.047-22.871 -5.191-30.053 -15.087-12.537 -35.87-8.933 -43.987,8.196L 371.151,149.409c-42.783,0.519 -88.186-0.431 -130.049-0.546 -18.223,1.133 -31.871,11.828 -34.971,28.414l-30.053,144.802 0.546,0.00c-2.335,11.57 4.964,25.976 11.475,32.512 8.014,7.832 17.85,11.748 29.507,11.748 9.471,0.00 17.759-2.732 24.862-8.196 16.881-15.035 16.195-28.313 20.491-50.271l 85.243,0.00c 9.752-0.374 18.101-7.788 20.491-15.846 3.253-16.493 -8.06-28.483 -23.769-27.321l-72.675,0.00 10.928-53.55 92.892,0.00c 14.879-0.731 26.762-7.756 32.785-20.218L 492.457,45.588 z M 203.398,377.814c-29.432,1.083 -51.161,23.032 -51.364,51.364 1.194,29.115 23.374,50.616 51.364,50.817 29.017-1.286 50.618-22.601 50.817-50.817 -1.325-29.411 -24.609-51.009 -50.817-51.364z" />
+<glyph unicode="&#xe005;" d="M 255.707-32.00C 112.743-29.252 0.999,87.941 0.00,224.292 2.78,367.15 119.351,479.00 255.707,480.00 398.574,477.143 510.999,360.832 512.00,224.292 509.176,81.32 392.242-30.999 255.707-32.00 z m 0.00,493.861C 122.964,459.246 18.478,351.047 17.554,224.292 20.136,91.443 128.957-12.937 255.707-13.861 388.557-11.279 492.937,97.543 493.86,224.292 491.355,357.134 382.274,460.938 255.707,461.86 z m -61.44-447.049 65.536,188.416 68.462-184.32c-46.124-15.44 -89.729-16.376 -133.998-4.096 z M 143.945,347.757c-23.992-3.261 -47.324-4.424 -70.217-3.511 43.468,62.144 113.065,97.106 181.979,97.719 56.367-1.067 108.915-22.373 147.456-57.344 -17.874,1.321 -28.577-6.518 -36.279-19.895 -11.194-34.534 12.459-60.097 25.746-86.016 12.563-23.682 11.567-50.611 4.681-73.728L 364.544,93.22 285.55,327.862c 8.231,0.766 16.516,1.013 23.991,2.341 8.848,1.97 10.789,10.203 4.681,15.214 -1.95,1.561 -4.096,2.341 -6.437,2.341l-47.397-3.511 -35.986,0.00c-10.16-0.60 -38.848,9.215 -41.253-4.096 -1.242-5.127 2.585-9.146 7.022-9.947 7.827-1.014 16.796-2.166 23.991-2.926l 34.523-92.453 -47.982-141.605 -79.579,234.642c 8.421,0.731 16.953,0.986 24.576,2.341 6.242,0.782 8.972,3.903 8.192,9.362 -1.107,4.854 -5.433,8.134 -9.947,8.192 z m -87.771-36.279 104.741-283.209C 123.121,46.897 93.243,74.291 71.972,106.971 33.062,169.065 28.969,247.841 56.174,311.479 z m 409.307-145.408c-17.196-56.153 -52.317-102.662 -100.937-130.779 2.341,6.242 6.046,16.774 11.118,31.598l 60.855,176.713c 5.851,17.164 9.947,36.279 12.288,57.344 0.79,8.618 0.817,17.308 -0.585,25.161 24.934-53.778 32.008-107.047 17.262-160.037z" />
+<glyph unicode="&#xe004;" d="M 412.247,471.913C 363.906,489.307 307.739,478.644 269.005,439.91c-38.734-38.734 -49.396-94.901 -32.003-143.241l-237.003-237.003 82.359-82.359 237.003,237.003c 48.34-17.394 104.507-6.731 143.241,32.003 38.734,38.734 49.396,94.901 32.003,143.241L 411.262,306.21 351.899,329.206 328.903,388.569 412.247,471.913 z M 98.938,76.245c 9.452-9.452 9.452-24.775 0.00-34.227 -9.452-9.452 -24.775-9.452 -34.227,0.00 -9.452,9.452 -9.452,24.775 0.00,34.227 9.452,9.452 24.775,9.452 34.227,0.00z" />
+<glyph unicode="&#xe003;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00 0.00,82.615 114.615-32.00 256.00-32.00 397.385-32.00 512.00,82.615 512.00,224.00 512.00,365.385 397.385,480.00 256.00,480.00 z m 69.719-102.344c 9.698,0.027 19.421-1.615 28.656-4.938l-50.969-50.969 14.063-36.281 36.281-14.063 50.969,50.969c 10.633-29.552 4.117-63.914 -19.563-87.594 -23.679-23.679 -58.011-30.196 -87.563-19.563l-144.906-144.875 -50.344,50.344 144.875,144.906c-10.633,29.552 -4.117,63.883 19.563,87.563 16.279,16.279 37.601,24.44 58.938,24.50 z M 141.906,130.812c-5.778-5.778 -5.778-15.128 0.00-20.906 5.778-5.778 15.128-5.778 20.906,0.00 5.778,5.778 5.778,15.128 0.00,20.906 -6.263,5.693 -15.509,5.234 -20.906,0.00z" />
+<glyph unicode="&#xe002;" d="M 512.00,29.678 0.00,29.679l0.00,388.64 512.00,0.00 z M 182.312,110.464 361.347,222.907 182.312,335.35z" horiz-adv-x="511" />
+<glyph unicode="&#xe001;" d="M 262.045,348.961 m0.00,0.00,-65.519,0.00 0.00-65.519 -65.519,0.00 0.00-65.519 65.519,0.00 0.00-65.519 65.519,0.00 0.00,65.519 65.519,0.00 0.00,65.519 -65.519,0.00 z m 249.956-323.928 -94.642,94.642c 25.946,37.149 41.277,82.259 41.277,131.006 0.00,126.649 -102.701,229.317 -229.317,229.317 -126.616,0.00 -229.317-102.669 -229.317-229.317 0.00-126.649 102.669-229.317 229.317-229.317 48.746,0.00 93.889,15.332 131.038,41.277l 94.642-94.642 z M 229.284,86.85c-90.449,0.00 -163.798,73.316 -163.798,163.798 0.00,90.482 73.349,163.798 163.798,163.798 90.482,0.00 163.798-73.316 163.798-163.798 0.033-90.482 -73.283-163.798 -163.798-163.798z" />
+<glyph unicode="&#xe000;" d="M 512.001,25.033 m0.00,0.00,-94.642,94.642c 25.946,37.149 41.277,82.259 41.277,131.006 0.00,126.649 -102.701,229.317 -229.317,229.317 -126.616,0.00 -229.317-102.669 -229.317-229.317 0.00-126.649 102.669-229.317 229.317-229.317 48.746,0.00 93.889,15.332 131.038,41.277l 94.642-94.642 z M 229.284,86.85c-90.449,0.00 -163.798,73.316 -163.798,163.798 0.00,90.482 73.349,163.798 163.798,163.798 90.482,0.00 163.798-73.316 163.798-163.798 0.033-90.482 -73.283-163.798 -163.798-163.798 z m -98.279,131.071 196.558,0.00 0.00,65.519 -196.558,0.00z" />
+<glyph unicode="&#xe069;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 141.156,356.531L 218.688,356.531L 218.688,91.469L 141.156,91.469L 141.156,356.531 z M 293.313,356.531L 370.844,356.531L 370.844,91.469L 293.313,91.469L 293.313,356.531z" />
+<glyph unicode="&#xe068;" d="M 493.613,399.465 427.109,465.97C 408.771,484.307 377.742,483.108 357.856,463.172 337.969,443.285 336.67,412.206 355.057,393.869l 66.504-66.504c 18.338-18.338 49.366-17.138 69.303,2.798 19.886,19.937 21.136,50.915 2.748,69.303 z M 69.652,175.018 202.661,42.01 418.815,258.111 285.805,391.121 69.652,175.018 z M 0.00-25.595 175.43,9.532 35.126,149.836 0.00-25.595z" />
+<glyph unicode="&#xe067;" d="M 256.00,480.00 m0.00,0.00,c-141.385,0.00 -256.00-114.615 -256.00-256.00 0.00-141.385 114.615-256.00 256.00-256.00 141.385,0.00 256.00,114.615 256.00,256.00 0.00,141.385 -114.615,256.00 -256.00,256.00 z m 86.128-79.968c 7.505-0.059 14.791-2.827 20.296-8.332l 42.602-42.586c 11.776-11.776 10.969-31.617 -1.767-44.385 -12.768-12.768 -32.641-13.527 -44.385-1.783l-42.586,42.586c-11.776,11.744 -10.953,31.649 1.783,44.385 6.766,6.783 15.551,10.183 24.057,10.116 z m -70.192-56.267 85.187-85.171 -138.44-138.407 -85.187,85.187 138.44,138.391 z m -160.551-154.521 89.856-89.856 -112.357-22.50 22.50,112.357z" />
+<glyph unicode="&#xe066;" d="M 300.322,366.462 m0.00,0.00,c 7.705,0.00 14.796-1.488 21.275-4.465 19.231-9.68 30.586-28.077 30.731-48.591l0.00-141.308c-3.608-22.464 -29.319-16.355 -29.943,0.00l0.00,133.429c-2.292,7.609 -16.984,4.454 -17.336,0.00l0.00-306.255c-3.736-31.272 -44.146-22.093 -45.177,0.525 0.00,62.512 0.00,125.024 0.00,187.536 -2.584,12.096 -19.589,6.60 -19.962-0.525 0.721-62.334 0.525-124.673 0.525-187.01 -4.03-31.111 -44.244-23.151 -45.177-0.525l-0.525,306.255c-2.355,7.445 -15.969,4.589 -16.285,0.00l0.00-133.429c-3.608-22.464 -29.319-16.355 -29.943,0.00l0.00,141.308c 0.363,19.639 7.561,39.315 24.69,48.591 5.603,2.977 12.433,4.465 20.487,4.465 35.546,0.00 71.092,0.00 106.638,0.00 z m -0.53,64.173c0.00-27.263 -22.101-49.365 -49.365-49.365 -27.263,0.00 -49.365,22.101 -49.365,49.365 0.00,27.263 22.101,49.365 49.365,49.365 27.263,0.00 49.365-22.101 49.365-49.365z" />
+<glyph unicode="&#xe065;" d="M 499.753,62.225 m0.00,0.00,-71.393-70.821c-10.538-10.808 -24.508-14.469 -38.112-14.486C 330.086-21.279 273.22,8.273 226.527,38.619 149.887,94.375 79.565,163.51 35.431,247.057 18.504,282.091 -1.358,326.791 0.539,365.896c 0.169,14.71 4.133,29.147 14.493,38.63l 71.393,71.358c 14.825,12.61 29.162,8.25 38.649-6.438l 57.436-108.913c 6.045-12.903 2.578-26.727 -6.441-35.947l-26.303-26.289c-1.624-2.224 -2.657-4.756 -2.684-7.512 10.086-39.042 40.643-75.028 67.636-99.793 26.993-24.765 56.007-58.317 93.67-66.26 4.655-1.299 10.357-1.755 13.688,1.341l 30.597,31.118c 10.548,7.995 25.777,11.902 37.039,5.365l 0.537,0.00 103.60-61.164c 15.208-9.533 16.794-27.958 5.904-39.166z" />
+<glyph unicode="&#xe064;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C 0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 164.00,378.312C 169.275,378.624 174.042,375.471 177.656,369.875L 212.656,303.50C 216.341,295.635 214.248,287.213 208.75,281.594L 192.719,265.562C 191.729,264.207 191.078,262.68 191.063,261.00C 197.211,237.202 215.859,215.252 232.313,200.156C 248.766,185.061 266.45,164.623 289.406,159.781C 292.244,158.99 295.72,158.707 297.75,160.594L 316.375,179.562C 322.804,184.436 332.104,186.797 338.969,182.812L 339.281,182.812L 402.438,145.531C 411.708,139.72 412.669,128.488 406.031,121.656L 362.531,78.50C 356.108,71.912 347.573,69.697 339.281,69.687C 302.61,70.786 267.96,88.785 239.50,107.281C 192.785,141.267 149.933,183.418 123.031,234.344C 112.713,255.698 100.593,282.945 101.75,306.781C 101.853,315.748 104.279,324.533 110.594,330.312L 154.094,373.812C 157.482,376.695 160.835,378.126 164.00,378.312z" />
+<glyph unicode="&#xe063;" d="M0.00,466.781L0.00-18.781L 512.00-18.781L 512.00,466.781L0.00,466.781 z M 63.188,405.531L 448.813,405.531L 448.813,139.25L 63.188,139.25L 63.188,405.531z" />
+<glyph unicode="&#xe062;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 118.625,354.281L 393.375,354.281L 393.375,93.719L 118.625,93.719L 118.625,354.281 z M 152.531,321.406L 152.531,178.531L 359.469,178.531L 359.469,321.406L 152.531,321.406z" />
+<glyph unicode="&#xe061;" d="M 388.62,439.509 m0.00,0.00,c 75.976-47.385 122.947-129.32 123.38-215.779 0.00-28.988 -4.892-56.708 -14.675-83.159l-108.705,0.00 z m 97.291-325.571c-40.483-81.338 -120.057-133.494 -206.539-142.403 -44.333-2.839 -92.473,5.549 -128.272,21.197l0.00,121.206 z M 0.00,223.729C 1.131,320.713 56.708,406.314 139.142,448.749l 97.291-86.964 -227.193-203.822c-6.16,22.465 -9.24,44.388 -9.24,65.766 z M 123.923,7.407C 75.579,37.702 38.661,81.668 18.48,130.243L 123.923,225.36 z M 361.444,285.148 166.318,460.706c 29.796,10.016 60.519,16.20 89.681,16.306 36.96,0.00 72.108-7.609 105.444-22.828z" />
+<glyph unicode="&#xe060;" d="M 0.00,437.656L 0.00,10.344L 512.00,10.344L 512.00,437.656L 0.00,437.656 z M 39.281,397.719L 472.719,397.719L 472.719,50.281L 39.281,50.281L 39.281,397.719 z M 128.625,347.562C 116.401,347.562 106.116,343.397 97.781,335.062C 89.447,326.728 85.281,316.443 85.281,304.219C 85.281,292.55 89.447,282.553 97.781,274.219C 106.116,265.884 116.401,261.719 128.625,261.719C 140.293,261.719 150.29,265.884 158.625,274.219C 166.96,282.553 171.125,292.55 171.125,304.219C 171.125,316.443 166.96,326.728 158.625,335.062C 150.29,343.397 140.293,347.562 128.625,347.562 z M 312.813,326.437L 214.469,177.25L 162.25,220.594L 85.281,120.594L 85.281,91.406L 426.719,91.406L 426.719,208.656L 312.813,326.437z" />
+<glyph unicode="&#xe05f;" d="M 256.00,480.00 m0.00,0.00,c 152.087-2.844 255.007-119.478 256.00-256.00 -2.72-145.46 -119.478-255.007 -256.00-256.00 -25.255,0.098 -49.912,4.029 -72.432,10.505 4.792,7.741 9.584,16.311 14.376,25.711 10.106,20.545 14.721,42.547 19.905,63.585 2.212,9.031 5.345,20.919 9.40,35.663 4.423-8.478 12.441-15.85 24.052-22.117 30.308-14.746 67.857-9.874 94.825,3.87 37.835,21.491 60.006,54.87 71.879,92.337 22.862,86.887 -6.617,170.427 -85.425,204.026 -95.025,28.623 -201.075-7.099 -238.03-92.061 -16.135-56.778 -15.18-129.675 40.916-153.434 2.95-1.106 5.623-1.106 8.017,0.00 5.265,3.008 11.371,29.08 10.229,34.557 -0.369,1.659 -1.659,3.963 -3.87,6.912 -31.003,41.971 -12.108,104.432 16.864,135.741 49.266,42.316 125.942,49.188 171.127,8.847 40.078-46.756 30.976-119.522 5.253-165.875 -14.213-22.667 -33.28-39.797 -58.886-40.086 -26.953,0.597 -47.282,23.404 -40.363,49.209 5.88,30.284 22.193,62.402 22.669,90.678 -1.302,23.519 -13.08,38.435 -34.834,38.704 -34.725-4.379 -48.744-36.846 -49.209-66.35 1.11-14.178 1.97-28.609 8.294-40.363 -7.372-29.858 -13.086-53.909 -17.14-72.156 -6.216-32.373 -18.403-66.231 -20.181-97.59 -0.553-10.321 -0.645-19.905 -0.277-28.752 -94.859,44.985 -152.597,132.855 -153.158,234.436 2.763,147.752 119.478,255.007 256.00,256.00z" />
+<glyph unicode="&#xe05e;" d="M 136.96-16.64 m0.00,0.00, 51.20,0.00 114.893,204.826 132.147,0.00c0.00,0.00 76.80,0.00 76.80,35.814 0.00,35.84 -76.80,35.84 -76.80,35.84l-132.147,0.00 -114.893,204.80 -51.20,0.00 63.693-204.80 -91.827,0.00 -57.626,51.226 -51.20,0.00L 40.986,224.025 0.00,136.96l 51.20,0.00 57.626,51.226 91.827,0.00 -63.693-204.826z" />
+<glyph unicode="&#xe05c;" d="M 256.00-32.00 m0.00,0.00,c-141.376,0.00 -256.00,114.624 -256.00,256.00 0.00,141.376 114.624,256.00 256.00,256.00 141.376,0.00 256.00-114.624 256.00-256.00 0.00-141.376 -114.624-256.00 -256.00-256.00 z m -64.00,383.808 0.00-255.616 192.00,127.808 -192.00,127.808z" />
+<glyph unicode="&#xe05b;" d="M 256.00,480.00C 114.624,480.00 0.00,365.376 0.00,224.00C0.00,82.624 114.624-32.00 256.00-32.00C 397.376-32.00 512.00,82.624 512.00,224.00C 512.00,365.376 397.376,480.00 256.00,480.00 z M 256.00,420.625C 364.586,420.625 452.625,332.586 452.625,224.00C 452.625,115.414 364.586,27.375 256.00,27.375C 147.414,27.375 59.375,115.414 59.375,224.00C 59.375,332.586 147.414,420.625 256.00,420.625 z M 192.00,351.812L 192.00,96.187L 384.00,224.00L 192.00,351.812z" />
+<glyph unicode="&#xe05a;" d="M 183.50,480.00L 183.50,296.50L0.00,296.50L0.00,151.50L 183.50,151.50L 183.50-32.00L 328.50-32.00L 328.50,151.50L 512.00,151.50L 512.00,296.50L 328.50,296.50L 328.50,480.00L 183.50,480.00z" />
+<glyph unicode="&#xe04e;" d="M 0.00,367.001 143.001,224.00 0.00,80.998 112.998-32.00 256.00,111.001 399.001-32.00 512.00,80.998 368.998,224.00 512.00,367.001 399.001,480.00 256.00,336.998 112.998,480.00 0.00,367.001z" />
+<glyph unicode="&#xe04d;" d="M 256.00,480.00C 114.616,480.00 0.00,365.384 0.00,224.00C0.00,82.616 114.616-32.00 256.00-32.00C 397.384-32.00 512.00,82.616 512.00,224.00C 512.00,365.384 397.384,480.00 256.00,480.00 z M 256.00,424.375C 366.664,424.375 456.344,334.637 456.344,224.00C 456.344,113.363 366.664,23.656 256.00,23.656C 145.336,23.656 55.656,113.363 55.656,224.00C 55.656,334.637 145.336,424.375 256.00,424.375 z M 185.781,349.719L 130.281,294.219L 200.50,224.00L 130.281,153.781L 185.781,98.281L 256.00,168.50L 326.219,98.281L 381.719,153.781L 311.50,224.00L 381.719,294.219L 326.219,349.719L 256.00,279.50L 185.781,349.719z" />
+<glyph unicode="&#xe04c;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C 0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 175.563,368.00L 256.00,287.562L 336.438,368.00L 400.00,304.437L 319.563,224.00L 400.00,143.562L 336.438,80.00L 256.00,160.437L 175.563,80.00L 112.00,143.562L 192.438,224.00L 112.00,304.437L 175.563,368.00z" />
+<glyph unicode="&#xe04b;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 350.895-32.00 433.66,19.671 477.875,96.375L 387.75,148.219C 361.479,102.654 312.374,71.906 256.00,71.906C 172.001,71.906 103.906,140.001 103.906,224.00C 103.906,307.999 172.001,376.094 256.00,376.094C 292.005,376.094 325.006,363.498 351.031,342.562L 283.813,294.75L 512.00,218.656L 512.00,457.125L 437.688,404.25C 391.306,451.007 327.063,480.00 256.00,480.00z" />
+<glyph unicode="&#xe04a;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C 0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 256.00,372.281C 297.16,372.281 334.386,355.488 361.25,328.406L 404.281,359.031L 404.281,220.906L 272.094,264.969L 311.031,292.687C 295.957,304.814 276.854,312.094 256.00,312.094C 207.347,312.094 167.906,272.653 167.906,224.00C 167.906,175.347 207.347,135.906 256.00,135.906C 288.652,135.906 317.096,153.702 332.313,180.094L 384.50,150.094C 358.89,105.666 310.964,75.719 256.00,75.719C 174.109,75.719 107.719,142.109 107.719,224.00C 107.719,305.891 174.109,372.281 256.00,372.281z" />
+<glyph unicode="&#xe049;" d="M 178.567,221.299 75.638,118.371 0.00,194.009l 0.00-226.009 226.009,0.00 -75.638,75.638 102.928,102.928 -74.732,74.732zM 333.433,226.701 436.362,329.629 512.00,253.991l0.00,226.009 -226.009,0.00 75.638-75.638 -102.928-102.928 74.732-74.732z" />
+<glyph unicode="&#xe048;" d="M 129.75,353.75 0.00,224.00l 129.75-129.75 0.00,86.844 252.50,0.00 0.00-86.844L 512.00,224.00 382.25,353.75l0.00-86.844 -252.50,0.00z" />
+<glyph unicode="&#xe047;" d="M 74.732-32.00 m0.00,0.00, 102.928,102.928 75.638-75.638 0.00,226.009 -226.009,0.00 75.638-75.638L0.00,42.732 74.732-32.00zM 437.268,480.00 m0.00,0.00,-102.928-102.928 -75.638,75.638 0.00-226.009 226.009,0.00L 409.072,302.339 512.00,405.267 437.268,480.00z" />
+<glyph unicode="&#xe046;" d="M 385.749,350.25 m0.00,0.00,-129.75,129.75 -129.75-129.75 86.844,0.00 0.00-134.313 0.00-15.875 0.00-102.313 -86.844,0.00 129.75-129.75 129.75,129.75 -86.844,0.00 0.00,102.313 0.00,15.875 0.00,134.313 86.844,0.00z" />
+<glyph unicode="&#xe045;" d="M 128.00,384.00L0.00,256.00L 96.00,256.00L 96.00,96.00L 288.00,96.00L 224.00,160.00L 160.00,160.00L 160.00,256.00L 256.00,256.00L 128.00,384.00 z M 224.00,352.00L 288.00,288.00L 352.00,288.00L 352.00,192.00L 256.00,192.00L 384.00,64.00L 512.00,192.00L 416.00,192.00L 416.00,352.00L 224.00,352.00z" />
+<glyph unicode="&#xe044;" d="M 256.00-32.00 m0.00,0.00,c-141.376,0.00 -256.00,114.624 -256.00,256.00 0.00,141.376 114.624,256.00 256.00,256.00 141.376,0.00 256.00-114.624 256.00-256.00 0.00-141.376 -114.624-256.00 -256.00-256.00 z m -32.00,351.84 -128.00-95.84 128.00-95.84 0.00,191.68 z m 160.00,0.00 -128.00-95.84 128.00-95.84 0.00,191.68z" />
+<glyph unicode="&#xe043;" d="M 511.999-31.999 m0.00,0.00,c0.00,0.00 -103.363,511.999 -103.363,511.999 0.00,0.00 -127.595,0.00 -127.595,0.00 0.00,0.00 3.91-118.048 3.91-118.048 0.00,0.00 -57.904,0.00 -57.904,0.00 0.00,0.00 3.91,118.048 3.91,118.048 0.00,0.00 -127.595,0.00 -127.595,0.00 0.00,0.00 -103.363-511.999 -103.363-511.999 0.00,0.00 214.00,0.00 214.00,0.00 0.00,0.00 4.882,147.39 4.882,147.39 0.00,0.00 74.237,0.00 74.237,0.00 0.00,0.00 4.882-147.39 4.882-147.39 0.00,0.00 214.00,0.00 214.00,0.00 0.00,0.00 0.00,0.00 0.00,0.00M 291.657,159.475c0.00,0.00 -71.316,0.00 -71.316,0.00 0.00,0.00 5.751,173.638 5.751,173.638 0.00,0.00 59.814,0.00 59.814,0.00 0.00,0.00 5.751-173.638 5.751-173.638 0.00,0.00 0.00,0.00 0.00,0.00" />
+<glyph unicode="&#xe042;" d="M 511.999-31.999 m0.00,0.00,c0.00,282.769 -229.23,511.999 -511.999,511.999l0.00-102.406c 226.216,0.00 409.593-183.378 409.593-409.593l 102.406,0.00 z m -204.813,0.00c0.00,169.662 -137.526,307.187 -307.187,307.187l0.00-102.375c 113.108,0.00 204.813-91.705 204.813-204.813l 102.375,0.00 z m -204.781,0.00c0.00,56.554 -45.852,102.406 -102.406,102.406l0.00-102.406 102.406,0.00z" />
+<glyph unicode="&#xe041;" d="M 0.00,435.812 m0.00,0.00,0.00-338.00 185.906,0.00 0.00-48.719 -45.313,0.00 0.00-36.906 230.813,0.00 0.00,36.906 -45.313,0.00 0.00,48.719 185.906,0.00 0.00,338.00 -512.00,0.00 z m 62.969-63.813 386.063,0.00 0.00-210.406 -386.063,0.00 0.00,210.406z" />
+<glyph unicode="&#xe040;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 106.688,347.531L 405.313,347.531L 405.313,150.406L 296.875,150.406L 296.875,122.00L 323.313,122.00L 323.313,100.469L 188.688,100.469L 188.688,122.00L 215.125,122.00L 215.125,150.406L 106.688,150.406L 106.688,347.531 z M 143.438,310.312L 143.438,187.594L 368.563,187.594L 368.563,310.312L 143.438,310.312z" />
+<glyph unicode="&#xe034;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 122.094,357.906L 389.906,357.906L 389.906,90.094L 122.094,90.094L 122.094,357.906 z M 209.625,306.969C 193.658,306.969 180.719,294.03 180.719,278.062C 180.719,262.095 193.658,249.156 209.625,249.156C 225.592,249.156 238.563,262.095 238.563,278.062C 238.563,294.03 225.592,306.969 209.625,306.969 z M 299.75,306.969C 283.783,306.969 270.844,294.03 270.844,278.062C 270.844,262.095 283.783,249.156 299.75,249.156C 315.717,249.156 328.656,262.095 328.656,278.062C 328.656,294.03 315.717,306.969 299.75,306.969 z M 162.938,215.937C 162.938,164.54 204.602,122.875 256.00,122.875C 307.397,122.875 349.063,164.54 349.063,215.937L 162.938,215.937z" />
+<glyph unicode="&#xe033;" d="M 0.00,289.573 m0.00,0.00, 120.656,0.00 181.508,147.934 0.00-508.853 -181.508,147.934 -120.656,0.00 z m 370.361,24.132c 35.672-35.672 53.858-79.038 54.558-130.098 0.00-48.962 -18.186-90.929 -54.558-125.902L 333.641,95.473c 25.18,25.18 37.77,54.907 37.77,89.18 0.00,34.973 -12.59,65.399 -37.77,91.278l 36.722,37.77 z m 62.95,61.902c 52.46-52.46 78.688-115.76 78.688-189.902 0.00-74.142 -26.23-137.793 -78.688-190.952l-38.82,38.82c 41.968,41.268 62.952,91.804 62.952,151.606 0.00,59.804 -20.984,110.688 -62.952,152.656z" />
+<glyph unicode="&#xe032;" d="M 121.236,77.283 m0.00,0.00,0.00-41.769 201.753,0.00 0.00,41.769 -201.753,0.00 z m 3.415,75.132 -2.89-41.769 201.227-13.66 2.627,41.506 -200.965,13.923 z m -61.997,17.338 0.00-201.753 33.363,0.00 264.274,0.00 21.279,0.00 0.00,201.753 -33.363,0.00 0.00-168.127 -252.191,0.00 0.00,168.127 -33.363,0.00 z m 77.234,71.454 -9.982-40.456 195.711-48.599 9.982,40.718 -195.711,48.337 z M 183.232,342.346 161.954,306.356 335.859,204.167 357.138,240.419 183.232,342.346 z m 106.13,95.885 -34.676-23.38 112.172-167.339 34.676,23.117 -112.172,167.602 z m 135.553,41.769 -41.506-4.991 24.431-200.177 41.506,4.991 -24.431,200.177z" />
+<glyph unicode="&#xe031;" d="M 410.18-20.532 253.476,94.379 93.746-16.287 154.609,168.256 0.00,285.97 194.319,285.114 258.495,468.531 317.728,283.458 512.00,279.102 354.289,165.578z" />
+<glyph unicode="&#xe030;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 257.688,390.437L 298.031,264.469L 430.25,261.50L 322.906,184.25L 360.938,57.562L 254.281,135.781L 145.563,60.437L 187.00,186.062L 81.75,266.187L 214.031,265.594L 257.688,390.437z" />
+<glyph unicode="&#xe02f;" d="M 258.494,468.527 m0.00,0.00,-15.98-45.661 -48.194-137.744 -145.924,0.633 -48.397,0.228 38.52-29.327 116.091-88.41 -45.712-138.554 -15.145-45.965 39.786,27.554 119.94,83.092 117.686-86.283 39.026-28.617L 396.263,25.818 354.273,165.588 472.719,250.832 511.999,279.12 463.628,280.184 317.729,283.476 273.258,422.435 258.494,468.527 z m -1.368-102.035 33.252-103.909 3.52-11.017 11.548-0.253 109.076-2.431 -88.537-63.744 -9.396-6.737 3.343-11.067 31.378-104.492 -87.98,64.503 -9.32,6.838 -9.497-6.585 -89.677-62.123 34.189,103.606 3.596,10.966 -9.193,7.015 -86.764,66.073 109.076-0.481 11.548-0.051 3.824,10.915 36.013,102.972z" />
+<glyph unicode="&#xe02b;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C 0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 128.00,352.00L 384.00,352.00L 384.00,96.00L 128.00,96.00L 128.00,352.00z" />
+<glyph unicode="&#xe02a;" d="M 445.455,383.996C 499.976,310.988 512.00,214.998 478.303,134.912 436.346,41.767 345.414-16.399 248.899-17.10 153.888-16.042 69.551,37.778 27.239,118.377l 108.426,0.00c 46.841,0.337 86.991,29.129 87.595,72.539 -0.021,23.768 -8.878,45.594 -28.041,57.337 -16.841,9.602 -34.539,11.502 -52.344,14.667 -11.055,2.315 -27.814,4.548 -28.041,17.068 1.025,20.12 22.349,21.795 36.32,21.868 25.103,0.00 50.207,0.00 75.31,0.00 10.789-0.284 21.439-0.899 30.979-4.80 9.856-4.581 14.861-11.48 14.956-21.334l0.00-75.206c 0.744-24.912 8.844-46.117 26.438-61.604C 316.713,124.526 337.802,118.501 358.928,118.377c 22.57,0.615 43.983,6.814 60.089,20.534 18.497,17.257 26.284,38.847 26.438,61.604 z M 248.899,480.003c 51.541-0.666 100.228-17.064 139.939-43.203l0.00-238.417c-1.327-17.479 -13.981-29.65 -29.91-29.869 -17.454,1.317 -30.218,13.894 -30.444,29.869l0.00,71.472c-0.651,31.64 -9.315,64.874 -40.059,76.539 -8.19,3.022 -16.915,4.534 -26.171,4.534l-122.313,0.00c-21.666-0.545 -41.647-6.66 -57.151-19.734 -16.144-14.856 -23.887-33.321 -24.035-53.337 0.24-13.676 3.357-27.296 10.416-37.87 11.712-15.966 28.535-23.461 45.667-26.669 13.698-3.249 27.757-3.268 40.593-7.467 9.343-3.492 12.219-8.922 12.285-17.601 -0.543-10.323 -6.03-14.842 -14.689-17.334 -12.307-2.873 -25.029-2.395 -36.587-2.40l-108.426,0.00c-5.101,21.221 -7.962,42.81 -8.012,62.937 2.626,138.927 116.163,247.587 248.90,248.551z" />
+<glyph unicode="&#xe029;" d="M 12.996,293.504 m0.00,0.00,0.00,147.244c 1.125,22.497 19.253,38.973 39.244,39.244l 147.244,0.00c 23.679-1.471 51.951-10.755 67.135-27.893l 217.947-242.596c 13.691-17.332 14.078-41.314 0.00-55.784L 313.971-16.876C 297.244-32.008 272.288-31.364 258.187-16.876L 40.889,226.369C 25.047,245.076 13.215,270.087 12.996,293.504 z m 63.892,84.973c 0.929-21.89 18.196-37.687 37.622-37.946 21.953,0.98 37.687,18.478 37.946,37.946 -0.967,21.962 -18.553,37.368 -37.946,37.622 -21.90-0.915 -37.368-18.272 -37.622-37.622z" />
+<glyph unicode="&#xe028;" d="M0.00,281.806 m0.00,0.00,0.00,123.231c 1.475,19.349 15.289,32.606 32.844,32.844l 123.231,0.00c 16.346-0.274 31.574-6.188 44.923-14.25L 394.123,211.505c 11.645-14.953 12.242-33.561 0.00-46.144L 251.348,23.13C 236.921,10.681 216.703,9.555 205.205,23.13L 23.344,225.62C 10.559,241.441 0.19,262.267 0.00,281.806 z m 62.295,48.859c 13.639-12.575 33.214-11.411 44.923,0.00 12.518,13.524 11.472,33.302 0.00,44.923 -13.54,12.326 -33.26,11.348 -44.923,0.00 -12.379-14.458 -11.914-32.52 0.00-44.923 z m 152.41,106.674 47.23,0.00c 19.80-1.221 43.232-9.023 55.915-23.344l 181.861-203.033c 12.288-14.189 11.789-34.57 0.00-46.686L 357.479,22.044c-19.712-11.175 -37.777-10.395 -49.944,3.80l 139.517,139.517c 12.563,13.90 11.221,33.948 0.00,46.144l-162.743,182.094C 265.045,417.642 223.571,436.253 214.704,437.339z" />
+<glyph unicode="&#xe027;" d="M0.00,413.406L0.00,313.406L 512.00,313.406L 512.00,413.406L0.00,413.406 z M 321.219,388.656L 485.75,388.656L 485.75,338.156L 321.219,338.156L 321.219,388.656 z M 0.00,263.375L0.00,163.375L 512.00,163.375L 512.00,263.375L0.00,263.375 z M 208.094,238.625L 485.75,238.625L 485.75,188.125L 208.094,188.125L 208.094,238.625 z M 0.00,113.375L0.00,13.375L 512.00,13.375L 512.00,113.375L0.00,113.375 z M 381.844,88.625L 485.75,88.625L 485.75,38.125L 381.844,38.125L 381.844,88.625z" />
+<glyph unicode="&#xe026;" d="M 423.125,480.00L 334.25,390.656L 393.75,390.656L 393.75,57.344L 334.25,57.344L 423.125-32.00L 512.00,57.344L 452.531,57.344L 452.531,390.656L 512.00,390.656L 423.125,480.00 z M 2.531,391.406L 0.00,300.50L 31.594,300.50C 31.594,362.851 31.637,362.781 111.313,362.781L 111.313,112.00C 111.313,80.741 111.297,80.793 67.563,81.562L 67.563,56.594L 229.469,56.594L 229.469,81.562C 185.806,81.562 185.719,81.639 185.719,112.00L 185.719,362.781C 265.437,362.781 265.656,362.764 265.656,300.50L 297.031,300.50L 294.75,391.406L 2.531,391.406z" />
+<glyph unicode="&#xe025;" d="M 110.00,480.00L 107.50,389.094L 139.094,389.094C 139.094,451.445 139.105,451.375 218.781,451.375L 218.781,200.594C 218.781,169.335 218.765,169.387 175.031,170.156L 175.031,145.187L 336.969,145.187L 336.969,170.156C 293.306,170.156 293.219,170.232 293.219,200.594L 293.219,451.375C 372.937,451.375 373.125,451.358 373.125,389.094L 404.50,389.094L 402.219,480.00L 110.00,480.00 z M 89.344,145.75L 0.00,56.875L 89.344-32.00L 89.344,27.469L 422.656,27.469L 422.656-32.00L 512.00,56.875L 422.656,145.75L 422.656,86.25L 89.344,86.25L 89.344,145.75z" />
+<glyph unicode="&#xe024;" d="M0.00,480.00L0.00,352.00L 128.00,352.00L 128.00,480.00L0.00,480.00 z M 192.00,480.00L 192.00,352.00L 320.00,352.00L 320.00,480.00L 192.00,480.00 z M 384.00,480.00L 384.00,352.00L 512.00,352.00L 512.00,480.00L 384.00,480.00 z M 0.00,288.00L0.00,160.00L 128.00,160.00L 128.00,288.00L0.00,288.00 z M 192.00,288.00L 192.00,160.00L 320.00,160.00L 320.00,288.00L 192.00,288.00 z M 384.00,288.00L 384.00,160.00L 512.00,160.00L 512.00,288.00L 384.00,288.00 z M 0.00,96.00L0.00-32.00L 128.00-32.00L 128.00,96.00L0.00,96.00 z M 192.00,96.00L 192.00-32.00L 320.00-32.00L 320.00,96.00L 192.00,96.00 z M 384.00,96.00L 384.00-32.00L 512.00-32.00L 512.00,96.00L 384.00,96.00z" />
+<glyph unicode="&#xe018;" d="M 512.00,387.415C 508.575,380.185 502.201,371.052 492.878,360.017 483.556,348.982 472.045,339.279 458.346,330.907c 0.381-3.044 0.666-5.898 0.856-8.562C 460.679,281.334 450.856,238.784 437.226,203.334 410.808,137.426 370.327,84.382 312.509,48.365 252.214,13.781 181.995,6.425 117.298,12.69 74.347,17.623 32.014,31.649 0.00,58.068 58.553,51.069 113.197,70.988 156.397,103.161 108.409,101.946 73.542,136.66 57.079,176.793c 7.421-1.945 15.184-1.71 22.261-1.142 8.711,0.818 16.98,1.635 25.115,3.425 -30.599,9.872 -57.373,28.021 -71.349,55.367 -8.198,17.327 -11.899,33.827 -11.987,52.513 14.338-7.549 31.585-14.906 47.376-14.27 -23.847,20.201 -42.965,46.02 -46.519,75.63 -2.244,24.689 3.934,47.227 12.843,68.209 35.672-39.204 75.697-71.467 121.864-91.326 31.572-12.929 63.055-19.843 95.607-19.978 -3.758,29.075 -0.836,57.194 12.843,81.052 16.098,25.65 39.586,40.532 65.926,47.946 37.69,9.665 74.451-3.987 97.605-30.252 24.969,2.697 48.888,13.774 67.924,25.115 -8.089-24.495 -23.839-48.85 -46.805-60.504 21.867,4.05 42.732,10.522 62.216,18.836z" />
+<glyph unicode="&#xe017;" d="M 256.00,480.00 m0.00,0.00,c-141.385,0.00 -256.00-114.615 -256.00-256.00 0.00-141.385 114.615-256.00 256.00-256.00 141.385,0.00 256.00,114.615 256.00,256.00 0.00,141.385 -114.615,256.00 -256.00,256.00 z m 0.00-34.205c 122.499,0.00 221.795-99.297 221.795-221.795 0.00-122.499 -99.297-221.812 -221.795-221.812 -122.499,0.00 -221.812,99.313 -221.812,221.812 0.00,122.499 99.313,221.795 221.812,221.795 z M 393.547,249.103c 7.368-6.967 7.139-16.959 1.637-24.017 -6.729-7.099 -17.335-7.401 -24.017-1.637 -20.87,18.938 -43.709,36.658 -64.955,56.222 -0.065-0.836 -5.76,3.76 -8.188,3.821 -2.183,0.00 -3.275-2.547 -3.275-7.642 1.072-21.024 -0.49-43.221 1.91-63.591 0.91-7.46 1.365-11.736 1.365-12.827l 24.563-139.736c 1.407-12.832 -5.606-22.417 -16.921-24.563 -11.33-3.082 -22.973,6.688 -24.563,16.921 0.00,0.00 -19.816,112.83 -20.196,114.627 -0.38,1.797 -1.05,11.749 -4.913,12.281 -4.963-1.801 -4.388-10.16 -4.913-12.281 -0.524-2.122 -20.196-114.627 -20.196-114.627 -3.32-11.837 -13.524-18.833 -24.563-16.921 -12.613,3.154 -18.778,13.234 -16.921,24.563l 24.563,140.281c 3.627,25.928 2.729,49.121 2.729,75.326 0.00,5.096 -1.00,7.735 -3.002,7.915 -2.002,0.182 -4.64-1.183 -7.915-4.094l-64.955-55.676c-7.59-5.655 -18.20-4.713 -24.017,1.637 -5.881,8.403 -5.505,17.496 1.637,24.017l 85.151,75.326c 4.004,2.547 7.734,4.276 11.19,5.186 3.458,0.91 7.734,1.365 12.827,1.365l 56.768,0.00c 5.094,0.00 9.37-0.455 12.827-1.365 3.457-0.91 7.187-2.82 11.19-5.731 27.111-23.781 55.895-49.366 85.151-74.78 z M 293.56,378.314c0.00-20.62 -16.716-37.335 -37.335-37.335 -20.62,0.00 -37.335,16.716 -37.335,37.335 0.00,20.62 16.716,37.335 37.335,37.335 20.62,0.00 37.335-16.716 37.335-37.335z" />
+<glyph unicode="&#xe016;" d="M 482.462,253.538 m0.00,0.00,0.00-285.538 -452.924,0.00 0.00,285.538 78.223,0.00 0.00,71.658c 1.089,42.255 17.904,81.493 45.402,109.402 13.857,13.857 30.177,24.889 48.957,33.094 18.781,8.205 38.929,12.308 60.444,12.308 41.857-0.852 80.232-17.872 108.034-44.581 29.35-29.821 45.289-69.229 46.222-107.487l-90.803,0.00c-0.555,17.821 -7.004,30.358 -18.598,42.119 -12.989,12.202 -28.439,18.48 -44.855,18.598 -17.821-0.555 -33.093-7.004 -44.855-18.598 -12.202-12.989 -18.48-28.439 -18.598-44.855l0.00-71.658z" />
+<glyph unicode="&#xe015;" d="M 256.00,480.00 m0.00,0.00,c-141.385,0.00 -256.00-114.615 -256.00-256.00 0.00-141.385 114.615-256.00 256.00-256.00 141.385,0.00 256.00,114.615 256.00,256.00 0.00,141.385 -114.615,256.00 -256.00,256.00 z m 3.583-90.65c 47.828,1.937 82.812-39.787 84.523-83.35l-49.751,0.00c-1.851,19.52 -15.669,34.072 -34.772,33.307 -19.103-0.765 -34.347-15.813 -34.756-34.772l0.00-39.246 155.234,0.00 0.00-156.434 -248.138,0.00 0.00,156.434 42.861,0.00 0.00,39.246c 4.044,48.393 36.971,82.878 84.798,84.815z" />
+<glyph unicode="&#xe014;" d="M 256.00-32.00 m0.00,0.00,c-141.384,0.00 -256.00,114.616 -256.00,256.00 0.00,141.384 114.616,256.00 256.00,256.00 141.384,0.00 256.00-114.616 256.00-256.00 0.00-141.384 -114.616-256.00 -256.00-256.00 z m 0.00,456.348c-110.664,0.00 -200.348-89.711 -200.348-200.348 0.00-110.636 89.683-200.348 200.348-200.348 110.664,0.00 200.348,89.711 200.348,200.348 0.00,110.636 -89.683,200.348 -200.348,200.348 z m 50.087-307.478 -100.174,0.00 0.00,113.809 -62.609,0.00 112.696,106.017 112.696-106.017 -62.609,0.00 0.00-113.809z" />
+<glyph unicode="&#xe013;" d="M 400.885,113.756 m0.00,0.00,c-67.132,24.456 -88.592,45.10 -88.592,89.30 0.00,26.526 21.996,43.717 29.494,66.451 7.498,22.734 11.836,49.65 15.442,69.229 3.606,19.579 5.038,27.152 6.999,48.014 2.397,26.036 -15.033,93.249 -108.228,93.249 -93.168,0.00 -110.652-67.214 -108.201-93.249 1.961-20.861 3.401-28.435 6.999-48.014 3.598-19.579 7.894-46.493 15.387-69.229 7.494-22.735 29.522-39.925 29.522-66.451 0.00-44.201 -21.46-64.844 -88.592-89.30 -67.377-24.511 -111.115-48.681 -111.115-65.757 0.00-17.049 0.00-80.00 0.00-80.00l 512.00,0.00c0.00,0.00 0.00,62.952 0.00,80.00 0.00,17.049 -43.765,41.219 -111.115,65.757z" />
+<glyph unicode="&#xe012;" d="M0.00,417.75 m0.00,0.00,0.00-387.50 512.00,0.00 0.00,387.50 z m 62.781-62.813 386.438,0.00 0.00-261.875 -386.438,0.00 z m 135.781-45.594 0.00-174.438L 349.375,222.375z" />
+<glyph unicode="&#xe011;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00 0.00,82.615 114.615-32.00 256.00-32.00 397.385-32.00 512.00,82.615 512.00,224.00 512.00,365.385 397.385,480.00 256.00,480.00 z m -152.625-140.50 305.219,0.00 0.00-231.00 -305.219,0.00 z m 37.438-37.438 0.00-156.125 230.375,0.00 0.00,156.125 z M 221.75,274.875 311.656,223.031 221.75,170.875z" />
+<glyph unicode="&#xe010;" d="M 0.00,459.047 m0.00,0.00,0.00-364.594 105.50,0.00 0.00-105.50 164.469,105.50 242.031,0.00 0.00,364.594 -512.00,0.00 z m 112.25-91.594 206.25,0.00 0.00-63.594 81.25,63.594 0.00-170.00 -81.25,63.594 0.00-63.594 -206.25,0.00 0.00,170.00z" />
+<glyph unicode="&#xe00f;" d="M 473.875,480.00L0.00,5.562L 38.125-32.00L 512.00,441.844L 473.875,480.00 z M 0.00,479.25L0.00,359.219L 120.00,359.219L 120.00,479.219L0.00,479.25 z M 141.406,479.25L 141.406,359.219L 261.406,359.219L 261.406,479.219L 141.406,479.25 z M 0.00,335.594L0.00,215.594L 120.00,215.594L 120.00,335.594L0.00,335.594 z M 141.406,335.594L 141.406,215.594L 261.406,335.594L 141.406,335.594 z M 352.313,208.50L 278.313,141.094L 512.00,141.094L 512.00,208.50L 352.313,208.50 z M 262.313,122.312L 262.313,54.906L 512.00,54.906L 512.00,122.312L 262.313,122.312 z M 262.313,36.125L 262.313-31.25L 512.00-31.25L 512.00,36.125L 262.313,36.125z" />
+<glyph unicode="&#xe00e;" d="M 406.461,344.155 m0.00,0.00,c-52.88,43.701 -123.116-16.02 -139.636-63.864 10.187-0.175 21.842,0.884 30.579-2.436 13.491-7.298 13.679-21.365 12.719-33.286 -6.015-26.379 -24.708-74.378 -48.711-78.207 -5.051-0.541 -10.283,2.255 -15.696,8.389 -20.977,26.277 -18.379,60.845 -23.273,89.843 -4.579,24.261 -8.032,73.225 -36.804,83.89 -31.69,3.87 -59.518-19.742 -79.83-38.427 -12.448-11.546 -25.167-22.551 -38.157-33.015l0.00-2.165c 3.09-3.716 5.595-7.505 8.389-11.095 4.741-4.772 13.393-3.604 18.672-1.894 19.198,4.991 25.946,9.883 36.262-8.389C 146.524,211.47 158.296,164.099 168.592,123.876 175.789,100.934 185.281,71.631 208.372,62.176c 14.267-6.062 38.878,2.084 49.793,8.66 46.711,29.51 82.857,76.727 108.786,122.317 18.93,38.413 65.995,114.836 39.51,151.002 z m 105.539,135.848 0.00-512.00 -512.00,0.00 0.00,512.00z" />
+<glyph unicode="&#xe10e;" d="M0.00,480.00L0.00-32.00L 512.00-32.00L 512.00,480.00L0.00,480.00 z M 227.281,343.094C 241.778,343.244 255.958,341.637 262.875,341.437C 288.517,340.699 293.046,327.73 292.719,317.062C 292.239,301.439 282.187,235.351 300.813,228.906C 327.953,243.419 346.152,288.494 359.406,317.062C 366.11,331.513 365.05,332.231 380.50,332.25L 441.875,332.344C 456.654,332.362 456.078,332.88 460.813,326.844C 471.825,312.803 426.062,254.398 411.281,238.25C 384.005,208.449 399.919,196.909 404.313,192.812C 424.668,173.833 444.338,154.151 456.563,136.00C 466.281,121.569 462.268,108.133 449.906,107.625L 384.094,104.906C 362.255,104.009 328.296,143.158 322.875,151.687C 318.491,158.723 297.365,167.541 295.375,149.562L 292.594,124.469C 290.573,106.531 277.329,106.95 266.875,106.50C 194.483,103.385 169.83,130.947 133.375,171.625C 106.657,209.411 81.159,247.413 60.031,292.937C 53.707,306.564 50.358,316.561 49.50,327.156C 60.131,335.465 97.446,331.886 122.50,332.437C 129.353,332.588 133.977,328.662 137.594,320.844C 151.708,290.332 167.102,260.369 187.469,233.875C 196.339,225.705 204.18,222.701 208.094,239.312C 210.366,239.522 210.184,267.03 210.313,287.781C 210.401,302.029 208.727,319.117 184.594,327.00C 189.475,339.797 208.643,342.901 227.281,343.094z" />
+<glyph unicode="&#xe00d;" d="M 0.00,290.839 m0.00,0.00, 121.402,0.00 182.631,148.85 0.00-512.00 -182.631,148.85 -121.402,0.00 z m 372.652,24.28c 35.893-35.893 54.191-79.527 54.895-130.903 0.00-49.265 -18.298-91.492 -54.895-126.681l-36.949,38.004c 25.336,25.336 38.004,55.247 38.004,89.732 0.00,35.189 -12.668,65.803 -38.004,91.844z" />
+<glyph unicode="&#xe00c;" d="M 471.632,154.671 m0.00,0.00,q 1.24-1.24 1.24-2.921Q 472.872,150.068 471.632,148.828L 444.19,121.385q-1.24-1.24 -2.833-1.24 -1.416,0.00 -3.01,1.24L 399.218,160.513 360.089,121.385q-1.24-1.24 -2.833-1.24 -1.416,0.00 -3.01,1.24L 326.804,148.828q-1.062,1.062 -1.062,3.01 0.00,1.771 1.062,2.833L 365.932,193.80 326.98,232.929q-1.24,1.062 -1.24,2.833 0.00,1.948 1.24,3.01l 27.266,27.443q 1.24,1.24 3.01,1.24 1.771,0.00 2.833-1.24L 399.218,227.086 438.347,266.214q 1.24,1.24 2.921,1.24 1.683,0.00 2.921-1.24L 471.632,238.771q 1.24-1.24 1.24-2.921 0.00-1.683 -1.24-2.921L 432.503,193.80 z m -471.631,142.623l 117.259,0.00 l 176.399,143.77l0.00-494.528 l-176.399,143.77l-117.259,0.00 L-39.128,297.294 z" />
+<glyph unicode="&#xe00b;" d="M 0.00,314.007 m0.00,0.00, 104.028,0.00 156.495,127.548 0.00-438.728 -156.495,127.548 -104.028,0.00 z m 319.321,20.806c 30.756-30.756 46.436-68.146 47.039-112.169 0.00-42.214 -15.68-78.398 -47.039-108.551l-31.661,32.565c 21.71,21.71 32.565,47.34 32.565,76.89 0.00,30.153 -10.855,56.386 -32.565,78.70l 31.661,32.565 z m 54.276,53.371c 45.23-45.23 67.844-99.807 67.844-163.731 0.00-63.925 -22.615-118.803 -67.844-164.636l-33.47,33.47c 36.184,35.581 54.276,79.152 54.276,130.714 0.00,51.562 -18.092,95.435 -54.276,131.618 z m 49.753,49.753c 27.741-27.741 49.451-60.005 65.131-96.791 15.68-36.787 23.519-75.684 23.519-116.692 0.00-41.008 -7.84-80.056 -23.519-117.145 -15.68-37.088 -37.39-69.503 -65.131-97.244l-32.565,32.565c 50.054,50.054 75.081,110.511 75.081,181.371 0.00,70.86 -25.027,131.317 -75.081,181.371z" />
+<glyph unicode="&#xe0ab;" d="M 288.00,400.00 L 288.00,240.00 L 448.00,400.00 L 448.00,48.00 L 288.00,208.00 L 288.00,48.00 L 112.00,224.00 Z" />
+<glyph unicode="&#xe09a;" d="M 64.00,32.00 L 64.00,416.00 L 128.00,416.00 L 128.00,240.00 L 288.00,400.00 L 288.00,240.00 L 448.00,400.00 L 448.00,48.00 L 288.00,208.00 L 288.00,48.00 L 128.00,208.00 L 128.00,32.00 Z" />
+<glyph unicode="&#xe099;" d="M 448.00,416.00 L 448.00,32.00 L 384.00,32.00 L 384.00,208.00 L 224.00,48.00 L 224.00,208.00 L 64.00,48.00 L 64.00,400.00 L 224.00,240.00 L 224.00,400.00 L 384.00,240.00 L 384.00,416.00 Z" />
+<glyph unicode="&#xe093;" d="M 256.00,48.00 L 256.00,208.00 L 96.00,48.00 L 96.00,400.00 L 256.00,240.00 L 256.00,400.00 L 432.00,224.00 Z" />
+<glyph unicode="&#xe05d;" d="M 96.00,416.00L 416.00,224.00L 96.00,32.00 z" />
+<glyph unicode="&#xe02e;" d="M 128.00,32.00 L 128.00,416.00 L 192.00,416.00 L 192.00,240.00 L 352.00,400.00 L 352.00,48.00 L 192.00,208.00 L 192.00,32.00 Z" />
+<glyph unicode="&#xe02d;" d="M 384.00,416.00 L 384.00,32.00 L 320.00,32.00 L 320.00,208.00 L 160.00,48.00 L 160.00,400.00 L 320.00,240.00 L 320.00,416.00 Z" />
+<glyph unicode="&#xe10d;" d="M 135.731,448.544 m0.00,0.00,0.00-71.366 -135.731,0.00 0.00-207.941 230.92,0.00 0.00,42.676 50.161,0.00 0.00-42.676 230.92,0.00 0.00,207.941 -135.763,0.00 0.00,71.366 z m 36.894-36.894 166.718,0.00 0.00-34.472 -166.718,0.00 z M 0.00,129.187l0.00-129.731 511.999,0.00 0.00,129.731 -230.92,0.00 0.00-41.223 -50.161,0.00 0.00,41.223z" />
+<glyph unicode="&#xe10c;" d="M 437.563,437.719C 371.643,372.439 274.748,332.499 181.406,326.875l-138.625,0.00C 20.959,326.577 1.231,308.013 0.00,283.531l0.00-62.50c 0.298-21.822 18.299-42.112 42.781-43.344l 55.563,0.00c-14.852-50.368 1.115-101.362 18.344-151.406 25.559-24.133 84.006-21.128 103.063,10.281 -40.579,31.899 -60.327,117.738 -11.406,138.906 83.383-9.461 165.988-51.821 229.219-108.625 21.737,0.298 41.509,18.151 42.781,42.50l0.00,102.50C 497.757,216.327 511.184,232.297 512.00,252.125 511.79,270.024 499.441,287.116 480.344,292.687l0.00,102.25C 480.046,416.76 462.045,436.487 437.563,437.719 z m 1.094-55.281 0.00-260.594C 377.552,169.464 302.073,201.41 224.188,215.75l0.00,72.781C 300.614,300.03 375.353,335.276 438.656,382.437z" />
+<glyph unicode="&#xe10b;" d="M 115.95,481.093 m0.00,0.00,0.00-80.215 42.113,0.00 0.00,80.215 z m 242.871,0.00 0.00-80.215 42.113,0.00 0.00,80.215 z m -328.977-38.541 0.00-112.302 457.228,0.00 0.00,112.302 -56.057,0.00 0.00-71.755 -102.275,0.00 0.00,71.755 -140.596,0.00 0.00-71.755 -102.275,0.00 0.00,71.755 z m 0.00-141.787 0.00-331.672 457.228,0.00 0.00,331.672 z m 179.607-76.675c 23.275-0.229 45.294-11.404 54.051-32.212 4.119-12.429 6.318-25.653 1.191-37.225 -6.419-13.349 -19.445-20.338 -32.212-24.817 23.959-6.251 39.743-21.306 39.888-45.779 -0.386-16.786 -8.223-31.643 -20.085-41.361 -12.613-9.971 -27.887-15.565 -42.834-15.667 -42.15,0.00 -63.232,19.014 -63.232,57.028l 37.225,0.00c 0.79-16.004 8.366-28.142 23.939-28.357 19.799,1.349 27.599,14.364 27.762,31.021 -0.008,10.06 -3.659,20.344 -12.408,24.221 -11.287,4.69 -23.878,4.125 -34.875,4.136l0.00,28.953c 17.975-0.376 42.682,2.79 42.865,24.221 -0.699,15.764 -7.165,27.00 -22.467,27.198 -16.30-0.983 -25.244-10.213 -25.412-24.848l-36.63,0.00c 0.795,36.899 31.105,53.322 63.232,53.487 z m 128.439-3.541 32.807,0.00 0.00-189.979 -35.47,0.00 0.00,152.754c-13.591-11.621 -28.639-19.893 -45.184-24.817l0.00,32.493c 19.302,7.484 35.242,17.336 47.847,29.548z" />
+<glyph unicode="&#xe10a;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 166.125,385.469L 192.688,385.469L 192.688,334.875L 166.125,334.875L 166.125,385.469 z M 319.313,385.469L 345.844,385.469L 345.844,334.875L 319.313,334.875L 319.313,385.469 z M 111.813,361.156L 147.156,361.156L 147.156,315.906L 211.656,315.906L 211.656,361.156L 300.313,361.156L 300.313,315.906L 364.844,315.906L 364.844,361.156L 400.188,361.156L 400.188,290.312L 111.813,290.312L 111.813,361.156 z M 111.813,271.719L 400.188,271.719L 400.188,62.531L 111.813,62.531L 111.813,271.719 z M 225.094,223.375C 204.832,223.271 185.72,212.897 185.219,189.625L 208.313,189.625C 208.419,198.855 214.064,204.693 224.344,205.312C 233.994,205.187 238.059,198.098 238.50,188.156C 238.385,174.64 222.805,172.638 211.469,172.875L 211.469,154.625C 218.405,154.618 226.35,154.958 233.469,152.00C 238.987,149.554 241.306,143.064 241.313,136.719C 241.209,126.214 236.268,118.007 223.781,117.156C 213.96,117.292 209.186,124.969 208.688,135.062L 185.219,135.062C 185.219,111.088 198.511,99.094 225.094,99.094C 234.52,99.158 244.139,102.68 252.094,108.969C 259.575,115.098 264.538,124.476 264.781,135.062C 264.69,150.497 254.735,159.995 239.625,163.937C 247.677,166.762 255.889,171.144 259.938,179.562C 263.171,186.861 261.785,195.224 259.188,203.062C 253.665,216.185 239.773,223.23 225.094,223.375 z M 306.094,221.125C 298.144,213.423 288.08,207.22 275.906,202.50L 275.906,182.00C 286.341,185.105 295.835,190.327 304.406,197.656L 304.406,101.312L 326.781,101.312L 326.781,221.125L 306.094,221.125z" />
+<glyph unicode="&#xe0dd;" d="M0.00,480.00 m0.00,0.00,0.00-512.00 399.00,0.00 57.25,0.00 55.75,0.00 0.00,90.625 -55.75,0.00 0.00,49.844 55.75,0.00 0.00,90.625 -55.75,0.00 0.00,49.813 55.75,0.00 0.00,90.625 -55.75,0.00 0.00,49.844 55.75,0.00L 512.00,480.00 456.25,480.00 399.00,480.00 z m 228.125-89.438c 40.869,0.00 74.00-33.131 74.00-74.00 0.00-28.962 -16.636-54.034 -40.875-66.188l 95.875-57.188 0.00-79.531 -258.00,0.00 0.00,79.531L 195.00,250.375c-24.239,12.153 -40.875,37.225 -40.875,66.188 0.00,40.869 33.131,74.00 74.00,74.00z" />
+<glyph unicode="&#xe0dc;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C 0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 112.50,367.50L 336.156,367.50L 368.25,367.50L 399.50,367.50L 399.50,316.687L 368.25,316.687L 368.25,288.75L 399.50,288.75L 399.50,237.969L 368.25,237.969L 368.25,210.031L 399.50,210.031L 399.50,159.25L 368.25,159.25L 368.25,131.312L 399.50,131.312L 399.50,80.50L 368.25,80.50L 336.156,80.50L 112.50,80.50L 112.50,367.50 z M 240.375,317.375C 217.466,317.375 198.906,298.784 198.906,275.875C 198.906,259.64 208.225,245.594 221.813,238.781L 168.719,207.00L 168.063,207.00L 168.063,206.719L 168.063,162.156L 312.688,162.156L 312.688,206.719L 312.688,207.00L 312.031,207.00L 258.938,238.781C 272.525,245.594 281.844,259.64 281.844,275.875C 281.844,298.784 263.284,317.375 240.375,317.375z" />
+<glyph unicode="&#xe0db;" d="M 256.00,480.00 m0.00,0.00,c-141.385,0.00 -256.00-114.615 -256.00-256.00 0.00-141.385 114.615-256.00 256.00-256.00 141.385,0.00 256.00,114.615 256.00,256.00 0.00,141.385 -114.615,256.00 -256.00,256.00 z m 0.00-74.656 0.00-362.719c-100.165,0.00 -181.375,81.21 -181.375,181.375 0.00,100.165 81.21,181.344 181.375,181.344z" />
+<glyph unicode="&#xe0da;" d="M 258.179,275.20 m0.00,0.00,c-57.832,0.895 -102.009,47.384 -102.40,102.40 0.956,57.316 47.802,101.998 102.40,102.40 57.882-2.189 101.989-46.494 102.40-102.40 -1.138-57.36 -47.747-102.011 -102.40-102.40 z m 82.791-21.243c 72.783-0.85 109.693-64.696 110.026-128.545l0.00-148.698c0.00-5.81 -2.905-8.715 -8.715-8.715l-53.923,0.00c-5.81,0.00 -8.715,2.905 -8.715,8.715l0.00,129.634c-3.364,18.517 -24.499,13.341 -25.055,0.00l0.00-129.634c-0.246-5.309 -4.659-8.658 -9.26-8.715l-180.289,0.00c-5.81,0.00 -8.715,2.905 -8.715,8.715l0.00,129.634c-3.143,18.85 -24.609,13.675 -25.055,0.00l0.00-129.634c-0.246-5.309 -4.659-8.658 -9.26-8.715l-51.745,0.00c-6.173,0.00 -9.26,2.905 -9.26,8.715l0.00,148.698c-0.418,68.042 42.625,128.04 110.57,128.545l 86.604,0.00z" />
+<glyph unicode="&#xe0d9;" d="M 124.00,449.062 m0.00,0.00,0.00-80.00 264.00,0.00 0.00,80.00 -264.00,0.00 z m -70.00-123.375 0.00-80.00 404.00,0.00 0.00,80.00 -404.00,0.00 z m 46.00-123.375 0.00-80.00 312.00,0.00 0.00,80.00 -312.00,0.00 z m -100.00-123.375 0.00-80.00 512.00,0.00 0.00,80.00 -512.00,0.00z" />
+<glyph unicode="&#xe0d8;" d="M 0.00,449.062 m0.00,0.00,0.00-80.00 512.00,0.00 0.00,80.00 -512.00,0.00 z m 0.00-123.375 0.00-80.00 512.00,0.00 0.00,80.00 -512.00,0.00 z m 0.00-123.375 0.00-80.00 512.00,0.00 0.00,80.00 -512.00,0.00 z m 0.00-123.375 0.00-80.00 512.00,0.00 0.00,80.00 -512.00,0.00z" />
+<glyph unicode="&#xe0d7;" d="M 264.00,449.062 m0.00,0.00,0.00-80.00 -264.00,0.00 0.00,80.00 264.00,0.00 z m 140.00-123.375 0.00-80.00 -404.00,0.00 0.00,80.00 404.00,0.00 z m -92.00-123.375 0.00-80.00 -312.00,0.00 0.00,80.00 312.00,0.00 z m 200.00-123.375 0.00-80.00 -512.00,0.00 0.00,80.00 512.00,0.00z" />
+<glyph unicode="&#xe0d6;" d="M 248.00,449.062 m0.00,0.00,0.00-80.00 264.00,0.00 0.00,80.00 -264.00,0.00 z m -140.00-123.375 0.00-80.00 404.00,0.00 0.00,80.00 -404.00,0.00 z m 92.00-123.375 0.00-80.00 312.00,0.00 0.00,80.00 -312.00,0.00 z m -200.00-123.375 0.00-80.00 512.00,0.00 0.00,80.00 -512.00,0.00z" />
+<glyph unicode="&#xe0d5;" d="M 256.00-32.00 m0.00,0.00,-200.00,300.00 107.75,0.00 0.00,212.00 184.50,0.00 0.00-212.00 107.75,0.00 -200.00-300.00z" />
+<glyph unicode="&#xe0d4;" d="M 0.00,224.00 m0.00,0.00, 300.00-200.00 0.00,107.75 212.00,0.00 0.00,184.50 -212.00,0.00 0.00,107.75 -300.00-200.00z" />
+<glyph unicode="&#xe0af;" d="M 512.00,224.00 m0.00,0.00,-300.00,200.00 0.00-107.75 -212.00,0.00 0.00-184.50 212.00,0.00 0.00-107.75 300.00,200.00z" />
+<glyph unicode="&#xe0ae;" d="M 256.00,480.00L 56.00,180.00L 163.75,180.00L 163.75-32.00L 348.25-32.00L 348.25,180.00L 456.00,180.00L 256.00,480.00z" />
+<glyph unicode="&#xe0ad;" d="M 261.544,327.062 m0.00,0.00,c 5.678,47.457 66.141,32.916 66.241-1.629l-3.258-130.309c-5.379-51.733 -57.256-50.389 -59.182,1.086 z m -89.044-2.172c 0.242,45.096 62.443,39.519 66.241,2.715l 4.343-126.508c 0.247-64.67 -57.372-45.977 -59.182-4.887 z m -21.175-23.347 10.859-106.962c 3.424-42.552 -40.459-55.808 -51.037-16.831l-18.46,110.762c-6.375,49.231 52.421,52.317 58.639,13.031 z M 485.241,293.128C 507.473,276.673 504.583,248.334 483.07,235.302 391.425,195.438 393.266,78.531 326.428,27.894 318.644,22.103 307.332,19.208 292.493,19.208l-179.718,0.00c-33.644,2.052 -48.712,32.591 -53.753,59.725L 0.384,409.048c-4.911,40.641 38.793,38.676 48.323,10.316l 27.148-93.931c-5.519-10.452 -7.568-21.961 -6.516-33.12 5.449-34.948 11.526-69.881 17.375-104.79 2.895-17.375 8.507-31.129 16.831-41.265 8.325-10.136 19.366-15.202 33.12-15.202 15.439-0.228 30.379,7.353 38.549,18.46 21.769-25.741 61.776-24.544 79.814,2.715 18.555-25.241 53.232-28.386 74.114-7.058 22.045,25.657 17.883,58.652 18.732,91.759 12.22-4.293 23.592,5.062 30.948,11.945 21.964,20.52 76.445,63.252 106.419,44.251z" />
+<glyph unicode="&#xe0ac;" d="M 209.003,467.474 m0.00,0.00,0.00-189.274L 29.027,336.683 0.00,247.338 179.975,188.855 68.73,35.735 144.769-19.475 256.015,133.615 367.231-19.475 443.24,35.735 331.994,188.855 512.00,247.338l-29.027,89.345 -180.006-58.483 0.00,189.274 -93.964,0.00z" />
+<glyph unicode="&#xe0aa;" d="M 68.312,81.853 m0.00,0.00,c 91.082-91.082 238.755-91.082 329.837,0.00 91.082,91.082 91.082,238.755 0.00,329.837 -91.082,91.082 -238.755,91.082 -329.837,0.00 -91.082-91.082 -91.082-238.755 0.00-329.837 z m 63.555,22.326 243.954,243.954c 48.69-68.313 42.386-163.762 -18.903-225.051 -61.289-61.289 -156.738-67.594 -225.051-18.903 z M 90.637,145.408C 41.948,213.721 48.251,309.169 109.541,370.459 170.831,431.749 266.279,438.052 334.592,389.363L 90.637,145.408z" />
+<glyph unicode="&#xe0d3;" d="M0.00,445.469L0.00,2.531L 42.781,2.531L 42.781,445.469L0.00,445.469 z M 63.063,445.469L 63.063,2.531L 73.344,2.531L 73.344,445.469L 63.063,445.469 z M 98.906,445.469L 98.906,2.531L 131.406,2.531L 131.406,445.469L 98.906,445.469 z M 146.188,445.469L 146.188,2.531L 160.063,2.531L 160.063,445.469L 146.188,445.469 z M 198.625,445.469L 198.625,2.531L 219.75,2.531L 219.75,445.469L 198.625,445.469 z M 228.313,445.469L 228.313,2.531L 236.563,2.531L 236.563,445.469L 228.313,445.469 z M 258.688,445.469L 258.688,2.531L 268.938,2.531L 268.938,445.469L 258.688,445.469 z M 281.688,445.469L 281.688,2.531L 324.188,2.531L 324.188,445.469L 281.688,445.469 z M 339.188,445.469L 339.188,2.531L 360.594,2.531L 360.594,445.469L 339.188,445.469 z M 391.438,445.469L 391.438,2.531L 396.188,2.531L 396.188,445.469L 391.438,445.469 z M 403.594,445.469L 403.594,2.531L 417.875,2.531L 417.875,445.469L 403.594,445.469 z M 438.656,445.469L 438.656,2.531L 448.938,2.531L 448.938,445.469L 438.656,445.469 z M 469.50,445.469L 469.50,2.531L 512.00,2.531L 512.00,445.469L 469.50,445.469z" />
+<glyph unicode="&#xe0d2;" d="M0.00,480.00L0.00-32.00L 512.00-32.00L 512.00,480.00L0.00,480.00 z M 79.563,268.437L 209.813,268.437C 223.137,268.344 237.143,263.219 247.875,253.344C 257.754,243.59 263.557,229.602 263.844,214.625C 263.795,203.124 261.604,189.871 253.969,179.312C 248.633,172.13 240.279,166.699 231.063,163.594L 231.063,162.375C 240.769,159.948 250.337,154.762 257.156,146.187C 265.267,135.698 268.042,121.549 268.281,107.625C 268.185,92.853 263.07,77.033 251.625,65.312C 241.452,55.317 226.845,49.596 211.469,49.281L 79.563,49.281L 79.563,268.437 z M 307.813,268.00L 404.688,268.00L 404.688,232.062L 307.813,232.062L 307.813,268.00 z M 354.188,221.312C 367.704,221.312 379.695,219.557 390.156,216.031C 400.71,212.609 409.591,207.259 416.813,200.00C 424.033,192.845 429.484,183.721 433.188,172.625C 438.072,158.101 438.998,139.506 438.906,122.531L 326.281,122.531C 326.281,110.917 328.59,101.898 333.219,95.469C 337.94,89.143 345.667,86.00 356.406,86.00C 366.609,86.048 378.56,89.32 382.50,100.781C 383.518,103.788 384.031,106.984 384.031,110.406L 438.906,110.406C 438.792,92.968 433.178,75.649 418.469,62.812C 402.22,49.596 379.508,45.825 357.656,45.406C 344.14,45.406 331.924,47.109 321.00,50.531C 310.168,54.057 300.966,59.46 293.375,66.719C 285.784,73.978 279.948,83.102 275.875,94.094C 271.802,105.189 269.75,118.298 269.75,133.437C 269.75,148.163 271.738,161.008 275.719,172.00C 279.70,182.992 285.343,192.116 292.656,199.375C 300.062,206.737 308.944,212.245 319.313,215.875C 329.774,219.504 341.412,221.312 354.188,221.312 z M 142.344,220.375L 142.344,183.062L 185.531,183.062C 189.424,183.093 193.129,184.875 195.938,188.031C 198.665,191.353 200.003,195.729 200.094,200.312L 200.094,203.437C 200.065,207.574 198.476,211.846 195.781,215.406C 193.332,218.299 189.66,220.166 185.531,220.375L 142.344,220.375 z M 356.406,180.875C 346.871,180.875 339.753,178.331 335.031,173.25C 330.402,168.169 327.581,161.273 326.563,152.562L 381.813,152.562C 381.812,161.377 379.60,168.272 375.156,173.25C 370.712,178.331 364.46,180.875 356.406,180.875 z M 142.344,137.781L 142.344,100.312L 190.094,100.312C 193.943,100.342 197.628,102.109 200.50,105.125C 203.215,108.431 204.619,112.828 204.688,117.406L 204.688,120.687C 204.662,124.861 203.31,129.214 200.50,132.812C 198.034,135.722 194.215,137.545 190.094,137.781L 142.344,137.781z" />
+<glyph unicode="&#xe0d1;" d="M 221.761,480.00L 221.761,448.471C 152.171,433.205 100.016,371.342 99.696,297.245L 99.696,161.285L-0.779,74.394L-0.779,50.747L 99.696,50.747L 410.747,50.747L 511.221,50.747L 511.221,74.394L 410.747,161.285L 410.747,297.245C 410.427,371.342 358.271,433.205 288.682,448.471L 288.682,480.00L 221.761,480.00 z M 255.221,44.174C 234.613,44.174 217.898,27.49 217.898,6.881C 217.898-13.727 234.613-30.442 255.221-30.442C 275.83-30.442 292.545-13.727 292.545,6.881C 292.545,27.49 275.83,44.174 255.221,44.174z" />
+<glyph unicode="&#xe0d0;" d="M 160.348,480.00 m0.00,0.00,c-27.387,0.00 -49.588-22.201 -49.588-49.588 0.00-27.387 22.201-49.588 49.588-49.588 27.387,0.00 49.588,22.201 49.588,49.588 0.00,27.387 -22.201,49.588 -49.588,49.588 z m -41.207-124.714 -53.288-71.947c-2.131-2.842 -3.194-5.848 -3.194-9.045l-6.388-59.155c-2.883-25.808 34.024-31.771 38.362-3.731l 5.329,54.886 13.852,18.643 0.537-77.261 -26.106-93.769 -66.603-84.724c-19.365-30.142 20.659-52.587 41.018-28.78l 69.275,88.993c 1.861,2.505 3.013,5.855 4.253,9.045l 20.794,73.545 46.885-52.751 25.569-119.369c 7.058-31.866 56.074-20.892 50.094,9.599l-27.182,124.145c-0.648,3.198 -1.35,6.744 -4.253,9.06l-57.542,65.544 0.00,57.021 0.00,23.972 22.375-28.241c 2.487-3.197 6.222-5.504 11.195-6.925l 52.751-10.12 195.539-257.366c 3.491-4.855 13.373-0.018 9.599,6.388L 299.783,243.38c 21.429,7.184 9.862,31.592 -4.27,34.107l-56.482,11.18 -58.08,73.007c-18.396,18.269 -49.16,13.779 -61.811-6.388z" />
+<glyph unicode="&#xe0cf;" d="M0.00,480.00L0.00-32.00L 512.00-32.00L 512.00,480.00L0.00,480.00 z M 273.813,386.219C 322.949,382.283 351.51,350.819 354.906,310.594C 357.545,289.892 356.825,274.523 353.813,263.219C 381.841,262.30 414.599,249.847 416.688,204.625L 416.688,160.125C 413.781,121.251 399.827,73.219 328.25,63.031L 208.469,62.594C 135.861,61.275 95.874,92.942 95.50,160.687L 96.438,310.844C 99.563,354.522 134.953,380.13 176.25,385.812L 273.813,386.219 z M 192.219,325.469C 150.393,318.679 148.326,271.316 192.219,265.469L 271.625,265.469C 313.45,272.259 315.518,319.621 271.625,325.469L 192.219,325.469 z M 174.219,194.469C 131.16,187.841 130.49,134.062 175.719,128.50L 321.563,128.00C 364.255,134.571 364.135,188.28 320.031,193.969L 174.219,194.469z" />
+<glyph unicode="&#xe0ce;" d="M 0.002-27.125 m0.00,0.00,0.00,40.705 64.253,0.00 0.00,420.836 -64.253,0.00 0.00,40.705 297.714,0.00c 61.225-0.001 107.198-10.317 137.924-30.949 30.724-20.632 46.085-51.693 46.087-93.183 -0.001-29.828 -10.653-53.488 -31.959-70.98 -21.082-17.492 -52.479-28.483 -94.193-32.968 50.46-4.711 89.146-18.166 116.058-40.369 26.912-22.203 40.367-51.693 40.369-88.473 -0.001-49.787 -18.839-86.454 -56.514-110.002 -37.453-23.548 -96.211-35.322 -176.274-35.322l-279.211,0.00m 193.766,292.668 44.068,0.00c 38.574,0.00 67.167,6.951 85.782,20.856 18.614,14.129 27.921,35.658 27.921,64.589 0.00,29.154 -9.084,50.348 -27.248,63.579 -17.942,13.231 -46.761,19.847 -86.454,19.847l-44.068,0.00 0.00-168.873m0.00-251.963 48.106,0.00c 42.835,0.00 74.568,8.522 95.20,25.567 20.632,17.045 30.949,43.395 30.949,79.055 0.00,35.882 -10.429,62.682 -31.285,80.40 -20.856,17.716 -52.479,26.576 -94.864,26.576l-48.106,0.00 0.00-211.596" />
+<glyph unicode="&#xe0f5;" d="M 189.435,475.419 m0.00,0.00,c-31.746,16.71 -94.311-15.577 -112.283-44.001 -8.008-12.719 -7.441-21.885 -7.441-27.086l0.00-278.21 234.624-145.994 44.121,24.091 0.00,270.944L 107.559,413.472c 12.927,16.269 42.001,36.109 63.801,28.141l 214.575-114.769 0.00-301.835 44.233,24.134 0.00,301.823z" />
+<glyph unicode="&#xe0f4;" d="M 100.00,480.00L 100.00,16.00L 100.00-32.00L 256.00,124.00L 412.00-32.00L 412.00,16.00L 412.00,480.00L 100.00,480.00z" />
+<glyph unicode="&#xe0f3;" d="M 100.00,480.00L 100.00,16.00L 100.00-32.00L 256.00,124.00L 412.00-32.00L 412.00,16.00L 412.00,480.00L 100.00,480.00 z M 132.00,448.00L 380.00,448.00L 380.00,48.00L 256.00,172.00L 132.00,48.00L 132.00,448.00z" />
+<glyph unicode="&#xe0f2;" d="M 217.688,31.581 m0.00,0.00,c0.00-35.115 -28.466-63.581 -63.581-63.581 -35.115,0.00 -63.581,28.466 -63.581,63.581 0.00,35.115 28.466,63.581 63.581,63.581 35.115,0.00 63.581-28.466 63.581-63.581 z m 0.00,192.419c0.00-35.115 -28.466-63.581 -63.581-63.581 -35.115,0.00 -63.581,28.466 -63.581,63.581 0.00,35.115 28.466,63.581 63.581,63.581 35.115,0.00 63.581-28.466 63.581-63.581 z m 0.00,192.419c0.00-35.115 -28.466-63.581 -63.581-63.581 -35.115,0.00 -63.581,28.466 -63.581,63.581 0.00,35.115 28.466,63.581 63.581,63.581 35.115,0.00 63.581-28.466 63.581-63.581 z M 421.474,31.581c0.00-35.115 -28.466-63.581 -63.581-63.581 -35.115,0.00 -63.581,28.466 -63.581,63.581 0.00,35.115 28.466,63.581 63.581,63.581 35.115,0.00 63.581-28.466 63.581-63.581 z m 0.00,192.419c0.00-35.115 -28.466-63.581 -63.581-63.581 -35.115,0.00 -63.581,28.466 -63.581,63.581 0.00,35.115 28.466,63.581 63.581,63.581 35.115,0.00 63.581-28.466 63.581-63.581 z m 0.00,192.419c0.00-35.115 -28.466-63.581 -63.581-63.581 -35.115,0.00 -63.581,28.466 -63.581,63.581 0.00,35.115 28.466,63.581 63.581,63.581 35.115,0.00 63.581-28.466 63.581-63.581z" />
+<glyph unicode="&#xe0a9;" d="M 166.712,416.78 m0.00,0.00,-16.109-64.781 -150.603,0.00 0.00-320.781 512.00,0.00 0.00,320.781 -143.578,0.00 -16.109,64.781 -185.60,0.00 z m 90.599-64.656c 79.529,0.00 143.984-64.455 143.984-143.984 0.00-79.529 -64.456-143.984 -143.984-143.984 -79.529,0.00 -143.984,64.456 -143.984,143.984 0.00,79.529 64.455,143.984 143.984,143.984 z m 168.835-31.344 72.585,0.00 0.00-42.146 -72.585,0.00 0.00,42.146 z m -168.835-11.177c-56.037,0.00 -101.463-45.427 -101.463-101.463 0.00-56.037 45.427-101.463 101.463-101.463 56.037,0.00 101.463,45.427 101.463,101.463 0.00,56.037 -45.427,101.463 -101.463,101.463z" />
+<glyph unicode="&#xe0a8;" d="M 256.00,437.531L0.00,387.531L0.00,60.469L 256.00,10.469L 512.00,60.469L 512.00,387.531L 256.00,437.531 z M 171.125,323.375C 196.102,323.375 215.459,315.374 229.156,299.375C 230.077,298.109 230.985,296.901 231.906,295.75C 238.812,285.621 242.962,272.304 244.344,255.844L 214.656,255.844C 211.548,278.634 200.079,291.838 180.281,295.406L 170.781,296.094C 148.681,296.094 133.506,284.284 125.219,260.687C 121.42,249.868 119.50,237.036 119.50,222.187C 119.50,189.958 128.853,168.486 147.50,157.781C 154.291,153.868 162.292,151.906 171.50,151.906C 196.708,151.906 211.769,166.772 216.719,196.469L 246.406,196.469C 243.874,164.125 230.361,142.538 205.844,131.719C 195.714,127.00 184.018,124.625 170.781,124.625C 140.394,124.625 117.899,137.003 103.281,161.75C 93.612,178.21 88.781,198.361 88.781,222.187C 88.781,259.941 99.61,287.907 121.25,306.094C 135.178,317.604 151.787,323.375 171.125,323.375 z M 347.938,323.375C 372.915,323.375 392.24,315.374 405.938,299.375C 406.858,298.109 407.798,296.901 408.719,295.75C 415.625,285.621 419.775,272.304 421.156,255.844L 391.438,255.844C 388.329,278.634 376.892,291.838 357.094,295.406L 347.594,296.094C 325.494,296.094 310.287,284.284 302.00,260.687C 298.202,249.868 296.313,237.036 296.313,222.187C 296.313,189.958 305.634,168.486 324.281,157.781C 331.072,153.868 339.073,151.906 348.281,151.906C 373.489,151.906 388.582,166.772 393.531,196.469L 423.219,196.469C 420.686,164.125 407.173,142.538 382.656,131.719C 372.527,127.00 360.831,124.625 347.594,124.625C 317.206,124.625 294.712,137.003 280.094,161.75C 270.425,178.21 265.594,198.361 265.594,222.187C 265.594,259.941 276.392,287.907 298.031,306.094C 311.959,317.604 328.60,323.375 347.938,323.375z" />
+<glyph unicode="&#xe0a7;" d="M 465.555,77.323 m0.00,0.00,-85.808-10.332 -26.897-82.136 -77.772,37.70 -67.033-54.556 -45.044,73.762 -85.887-9.655 1.985,86.405 -77.473,38.312 48.384,71.615 -44.461,74.115 79.422,34.088 2.667,86.387 85.243-14.262 48.948,71.232 64.001-58.084 79.688,33.461 22.438-83.465 85.128-14.934 -26.248-82.346 63.541-58.587 -66.601-55.083z" />
+<glyph unicode="&#xe0a6;" d="M 0.00,480.00L 0.00,149.031L 0.00-32.00L 181.031-32.00L 512.00-32.00L 512.00,298.969L 428.00,214.969L 428.00,52.00L 265.031,52.00L 84.00,52.00L 84.00,233.031L 84.00,396.00L 246.969,396.00L 330.969,480.00L 0.00,480.00 z M 439.469,473.531L 254.219,288.25L 188.031,354.437L 120.156,286.531L 254.219,152.50L 322.094,220.375L 507.344,405.656L 439.469,473.531z" />
+<glyph unicode="&#xe0a5;" d="M 0.00,480.00L 0.00-32.00L 512.00-32.00L 512.00,480.00L 0.00,480.00 z M 84.00,396.00L 428.00,396.00L 428.00,52.00L 84.00,52.00L 84.00,396.00z" />
+<glyph unicode="&#xe0a4;" d="M 256.00,57.872 332.255,134.127 512.00,313.872 435.744,390.127 256.00,210.383 76.255,390.127l-76.255-76.255 179.745-179.745 76.255-76.255z" />
+<glyph unicode="&#xe0cd;" d="M 89.872,224.00 m0.00,0.00, 76.255-76.255 179.745-179.745 76.255,76.255L 242.383,224.00 422.127,403.744 345.872,480.00 166.128,300.255 89.872,224.00z" />
+<glyph unicode="&#xe0cc;" d="M 422.128,224.00 345.872,300.255 166.128,480.00l-76.255-76.255 179.745-179.745 -179.745-179.745 76.255-76.255 179.745,179.745 76.255,76.255z" />
+<glyph unicode="&#xe0cb;" d="M 256.00,390.129 179.745,313.873 0.00,134.129 76.255,57.873 256.00,237.618 435.744,57.873 512.00,134.129 332.255,313.873 256.00,390.129z" horiz-adv-x="511" />
+<glyph unicode="&#xe0ca;" d="M 336.774,253.118 m0.00,0.00,c 66.564,0.47 87.361-49.915 87.729-100.567l0.00-176.528c-0.208-3.991 -3.098-7.957 -6.954-8.024l-46.004,0.00c-4.239,0.40 -7.434,4.223 -7.489,8.024l0.00,157.805c-2.744,19.603 -24.065,14.518 -24.607,0.00l0.00-157.805c-0.187-4.389 -3.496-7.966 -7.489-8.024l-149.781,0.00c-4.508,0.252 -7.439,4.083 -7.489,8.024l0.00,157.805c-2.744,19.603 -24.065,14.518 -24.607,0.00l0.00-157.805c-0.187-4.389 -3.496-7.966 -7.489-8.024l-47.609,0.00c-4.239,0.40 -7.434,4.223 -7.489,8.024l0.00,176.528c-2.033,64.07 33.795,99.452 88.264,100.567 z M 257.95,480.00c-57.76,0.00 -104.594-47.069 -104.594-105.145 0.00-58.076 46.834-105.161 104.594-105.161 57.76,0.00 104.578,47.085 104.578,105.161 0.00,58.076 -46.818,105.145 -104.578,105.145 z m -59.891-122.634 119.198,0.00c0.00-32.915 -26.684-59.599 -59.599-59.599 -32.915,0.00 -59.599,26.684 -59.599,59.599z" />
+<glyph unicode="&#xe0c9;" d="M 512.00,224.00 m0.00,0.00,c0.00,141.385 -114.615,256.00 -256.00,256.00 -141.385,0.00 -256.00-114.615 -256.00-256.00 0.00-141.385 114.615-256.00 256.00-256.00 141.385,0.00 256.00,114.615 256.00,256.00 z M 385.219,252.437 256.00,58.593 126.781,252.437l 69.625,0.00 0.00,136.969 119.188,0.00 0.00-136.969 69.625,0.00z" />
+<glyph unicode="&#xe0c8;" d="M 256.00-32.00 m0.00,0.00,c 141.385,0.00 256.00,114.615 256.00,256.00 0.00,141.385 -114.615,256.00 -256.00,256.00 -141.385,0.00 -256.00-114.615 -256.00-256.00 0.00-141.385 114.615-256.00 256.00-256.00 z M 284.437,94.781 90.594,224.00 284.437,353.218l0.00-69.625 136.969,0.00 0.00-119.188 -136.969,0.00 0.00-69.625z" />
+<glyph unicode="&#xe0f1;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 227.563,353.219L 421.406,224.00L 227.563,94.781L 227.563,164.406L 90.594,164.406L 90.594,283.594L 227.563,283.594L 227.563,353.219z" />
+<glyph unicode="&#xe0f0;" d="M 512.00,224.00 m0.00,0.00,c0.00-141.385 -114.615-256.00 -256.00-256.00 -141.385,0.00 -256.00,114.615 -256.00,256.00 0.00,141.385 114.615,256.00 256.00,256.00 141.385,0.00 256.00-114.615 256.00-256.00 z M 385.219,195.562 256.00,389.406 126.781,195.562l 69.625,0.00 0.00-136.969 119.188,0.00 0.00,136.969 69.625,0.00z" />
+<glyph unicode="&#xe0ef;" d="M 368.642,264.415 m0.00,0.00,c 70.413,6.934 109.816-86.793 55.699-134.341l-405.701,0.00C -33.541,218.752 30.839,336.769 124.985,313.868c 75.476,122.847 215.274,57.028 243.657-49.454z" />
+<glyph unicode="&#xe0ee;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 258.281,346.906C 306.341,347.955 353.941,308.596 367.719,256.906C 422.408,262.292 453.001,189.493 410.969,152.562L 95.875,152.562C 55.346,221.438 105.346,313.10 178.469,295.312C 200.452,331.093 229.445,346.277 258.281,346.906z" />
+<glyph unicode="&#xe109;" d="M 216.00,480.00 m0.00,0.00,-7.781-77.25c-15.899-4.238 -30.965-10.50 -44.875-18.563L 103.25,433.312 46.688,376.75 95.813,316.625C 87.75,302.711 81.455,287.654 77.219,271.75L0.00,264.00l0.00-80.00 77.25-7.781c 4.236-15.89 10.506-30.941 18.563-44.844l-49.125-60.125 56.563-56.563 60.125,49.125c 13.903-8.056 28.953-14.327 44.844-18.563L 216.00-32.00l 80.00,0.00 7.75,77.219c 15.904,4.236 30.961,10.531 44.875,18.594l 60.125-49.125 56.563,56.563 -49.125,60.094c 8.063,13.91 14.324,28.976 18.563,44.875L 512.00,184.00l0.00,80.00 -77.219,7.75C 430.543,287.663 424.257,302.736 416.188,316.656L 465.313,376.75 408.75,433.312 348.656,384.187C 334.736,392.257 319.663,398.543 303.75,402.781L 296.00,480.00 z m 40.00-182.00c 40.869,0.00 74.00-33.131 74.00-74.00 0.00-40.869 -33.131-74.00 -74.00-74.00 -40.869,0.00 -74.00,33.131 -74.00,74.00 0.00,40.869 33.131,74.00 74.00,74.00z" />
+<glyph unicode="&#xe108;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 231.625,380.00L 280.375,380.00L 285.094,332.937C 294.791,330.355 303.985,326.542 312.469,321.625L 349.094,351.562L 383.563,317.094L 353.625,280.469C 358.542,271.985 362.355,262.791 364.938,253.094L 412.00,248.375L 412.00,199.625L 364.938,194.875C 362.355,185.186 358.539,176.008 353.625,167.531L 383.563,130.906L 349.094,96.437L 312.438,126.375C 303.958,121.462 294.786,117.644 285.094,115.062L 280.375,68.00L 231.625,68.00L 226.875,115.062C 217.191,117.644 208.035,121.465 199.563,126.375L 162.906,96.437L 128.438,130.906L 158.375,167.562C 153.465,176.035 149.644,185.191 147.063,194.875L 100.00,199.625L 100.00,248.375L 147.063,253.094C 149.644,262.786 153.462,271.958 158.375,280.437L 128.438,317.094L 162.906,351.562L 199.531,321.625C 208.008,326.539 217.186,330.355 226.875,332.937L 231.625,380.00 z M 256.00,269.094C 231.094,269.094 210.906,248.906 210.906,224.00C 210.906,199.094 231.094,178.906 256.00,178.906C 280.906,178.906 301.094,199.094 301.094,224.00C 301.094,248.906 280.906,269.094 256.00,269.094z" />
+<glyph unicode="&#xe107;" d="M 388.326,441.122 m0.00,0.00,-7.217-34.583c-7.398-1.162 -14.524-3.303 -21.203-6.291l-24.843,25.099 -28.292-22.895 19.351-29.569c-4.311-5.915 -7.832-12.417 -10.506-19.415l-35.349,0.16 -3.80-36.211 34.583-7.217c 1.162-7.394 3.305-14.463 6.291-21.139l-25.099-24.907 22.895-28.292 29.569,19.383c 5.91-4.308 12.424-7.865 19.415-10.538l-0.16-35.317 36.211-3.80 7.185,34.583c 7.40,1.161 14.522,3.271 21.203,6.259l 24.875-25.099 28.292,22.927 -19.383,29.537c 4.311,5.913 7.863,12.42 10.538,19.415l 35.317-0.128 3.80,36.211 -34.583,7.153c-1.162,7.404 -3.268,14.55 -6.259,21.235l 25.099,24.843 -22.927,28.292 -29.537-19.351c-5.917,4.314 -12.445,7.863 -19.447,10.538l 0.16,35.317 -36.179,3.80 z m 6.003-84.109c 1.138-0.004 2.292-0.038 3.449-0.16 18.499-1.943 31.896-18.511 29.952-37.009 -1.943-18.499 -18.511-31.927 -37.009-29.984 -18.499,1.943 -31.927,18.511 -29.984,37.009 1.822,17.343 16.523,30.203 33.593,30.144 z m -259.831-2.97 -4.854-48.09c-9.901-2.639 -19.279-6.539 -27.941-11.559l-37.425,30.591 -35.221-35.221 30.591-37.456c-5.021-8.665 -8.922-18.037 -11.559-27.941l-48.09-4.822 0.00-49.814 48.09-4.854c 2.638-9.895 6.543-19.251 11.559-27.909l-30.591-37.456 35.221-35.221 37.456,30.591c 8.658-5.017 18.013-8.922 27.909-11.559l 4.854-48.09 49.814,0.00 4.822,48.09c 9.904,2.638 19.276,6.539 27.941,11.559l 37.456-30.591 35.221,35.221 -30.591,37.425c 5.021,8.662 8.92,18.04 11.559,27.941l 48.09,4.854 0.00,49.814 -48.09,4.822c-2.639,9.909 -6.535,19.304 -11.559,27.973l 30.591,37.425 -35.221,35.221 -37.425-30.591c-8.669,5.025 -18.063,8.92 -27.973,11.559l-4.822,48.09 -49.814,0.00 z m 24.907-113.327c 25.45,0.00 46.078-20.628 46.078-46.078 0.00-25.45 -20.628-46.078 -46.078-46.078 -25.45,0.00 -46.078,20.628 -46.078,46.078 0.00,25.45 20.628,46.078 46.078,46.078 z m 211.487-61.533 -5.077-25.29c-5.20-0.85 -10.186-2.412 -14.88-4.598l-17.499,18.361 -19.862-16.764 13.603-21.618c-3.03-4.327 -5.529-9.091 -7.408-14.21l-24.811,0.128 -2.682-26.504 24.30-5.269c 0.817-5.409 2.308-10.603 4.407-15.487l-17.627-18.201 16.094-20.692 20.788,14.178c 4.154-3.151 8.722-5.74 13.635-7.696l-0.096-25.865 25.45-2.778 5.045,25.322c 5.201,0.85 10.185,2.38 14.88,4.566l 17.499-18.361 19.894,16.764 -13.635,21.618c 3.03,4.326 5.529,9.092 7.408,14.21l 24.843-0.096 2.65,26.472 -24.30,5.269c-0.817,5.417 -2.305,10.629 -4.407,15.519l 17.627,18.169 -16.094,20.724 -20.756-14.178c-4.159,3.156 -8.746,5.739 -13.667,7.696l 0.128,25.833 -25.45,2.778 z m 4.215-61.501c 0.80-0.003 1.614-0.039 2.427-0.128 13.001-1.422 22.409-13.545 21.043-27.078 -1.366-13.533 -12.991-23.359 -25.993-21.937 -13.001,1.422 -22.441,13.545 -21.075,27.078 1.28,12.688 11.601,22.108 23.598,22.065z" />
+<glyph unicode="&#xe106;" d="M 0.00,459.047 m0.00,0.00,0.00-364.594 105.50,0.00 0.00-105.50 164.469,105.50 242.031,0.00 0.00,364.594 -512.00,0.00z" />
+<glyph unicode="&#xe0a3;" d="M 0.00,454.182 m0.00,0.00,0.00-311.151 90.054,0.00 0.00-90.024 140.343,90.024 206.537,0.00 0.00,311.151 -436.933,0.00 z m 457.489-68.397 0.00-39.154 15.356,0.00 0.00-221.893 -55.947,0.00 -19.577,0.00 0.00-19.577 0.00-39.735 -87.607,56.192 -4.833,3.12 -5.751,0.00 -60.291,0.00 -61.025-39.154 115.535,0.00 112.966-72.435 30.161-19.332 0.00,35.789 0.00,55.978 55.947,0.00 19.577,0.00 0.00,19.577 0.00,261.047 0.00,19.577 -19.577,0.00 -34.933,0.00z" />
+<glyph unicode="&#xe0a2;" d="M 68.312,81.852 m0.00,0.00,c 91.082-91.082 238.755-91.082 329.837,0.00 91.082,91.082 91.082,238.755 0.00,329.837 -91.082,91.082 -238.755,91.082 -329.837,0.00 -91.082-91.082 -91.082-238.755 0.00-329.837 z m 22.769,22.769c-78.507,78.507 -78.507,205.791 0.00,284.299 78.507,78.507 205.791,78.507 284.299,0.00 78.507-78.507 78.507-205.791 0.00-284.299 -78.507-78.507 -205.791-78.507 -284.299,0.00 z m 22.749,12.16 154.751,94.638 94.638,154.751 -10.589,10.589 -154.751-94.638 -94.638-154.751 10.589-10.589z" />
+<glyph unicode="&#xe0a1;" d="M 68.312,81.852 m0.00,0.00,c 91.082-91.082 238.755-91.082 329.837,0.00 91.082,91.082 91.082,238.755 0.00,329.837 -91.082,91.082 -238.755,91.082 -329.837,0.00 -91.082-91.082 -91.082-238.755 0.00-329.837 z m 36.901,25.507 -11.374,11.374 101.503,165.925 165.925,101.503 11.374-11.374 -101.503-165.925 -165.925-101.503z" />
+<glyph unicode="&#xe0a0;" d="M0.00,394.00L0.00,54.00L 512.00,54.00L 512.00,394.00L0.00,394.00 z M 32.00,362.00L 480.00,362.00L 480.00,311.437L 32.00,311.437L 32.00,362.00 z M 32.00,237.719L 480.00,237.719L 480.00,86.00L 32.00,86.00L 32.00,237.719 z M 73.313,141.125C 70.044,141.125 67.544,139.841 65.813,137.25C 64.094,134.672 63.25,130.922 63.25,126.00C 63.25,121.091 64.094,117.341 65.813,114.75C 67.544,112.172 70.044,110.875 73.313,110.875C 76.581,110.875 79.094,112.172 80.813,114.75C 82.544,117.341 83.406,121.091 83.406,126.00C 83.406,130.922 82.544,134.672 80.813,137.25C 79.094,139.841 76.581,141.125 73.313,141.125 z M 98.781,141.125C 95.513,141.125 93.013,139.841 91.281,137.25C 89.563,134.672 88.719,130.922 88.719,126.00C 88.719,121.091 89.563,117.341 91.281,114.75C 93.013,112.172 95.513,110.875 98.781,110.875C 102.049,110.875 104.563,112.172 106.281,114.75C 108.013,117.341 108.875,121.091 108.875,126.00C 108.875,130.922 108.013,134.672 106.281,137.25C 104.563,139.841 102.049,141.125 98.781,141.125 z M 124.25,141.125C 120.982,141.125 118.482,139.841 116.75,137.25C 115.031,134.672 114.188,130.922 114.188,126.00C 114.188,121.091 115.031,117.341 116.75,114.75C 118.482,112.172 120.982,110.875 124.25,110.875C 127.518,110.875 130.031,112.172 131.75,114.75C 133.482,117.341 134.344,121.091 134.344,126.00C 134.344,130.922 133.482,134.672 131.75,137.25C 130.031,139.841 127.518,141.125 124.25,141.125 z M 149.719,141.125C 146.451,141.125 143.951,139.841 142.219,137.25C 140.50,134.672 139.656,130.922 139.656,126.00C 139.656,121.091 140.50,117.341 142.219,114.75C 143.951,112.172 146.451,110.875 149.719,110.875C 152.987,110.875 155.50,112.172 157.219,114.75C 158.951,117.341 159.813,121.091 159.813,126.00C 159.813,130.922 158.951,134.672 157.219,137.25C 155.50,139.841 152.987,141.125 149.719,141.125 z M 189.656,141.125C 186.388,141.125 183.888,139.841 182.156,137.25C 180.438,134.672 179.563,130.922 179.563,126.00C 179.563,121.091 180.438,117.341 182.156,114.75C 183.888,112.172 186.388,110.875 189.656,110.875C 192.924,110.875 195.406,112.172 197.125,114.75C 198.857,117.341 199.719,121.091 199.719,126.00C 199.719,130.922 198.857,134.672 197.125,137.25C 195.406,139.841 192.924,141.125 189.656,141.125 z M 215.125,141.125C 211.857,141.125 209.357,139.841 207.625,137.25C 205.906,134.672 205.031,130.922 205.031,126.00C 205.031,121.091 205.906,117.341 207.625,114.75C 209.357,112.172 211.857,110.875 215.125,110.875C 218.393,110.875 220.875,112.172 222.594,114.75C 224.326,117.341 225.188,121.091 225.188,126.00C 225.188,130.922 224.326,134.672 222.594,137.25C 220.875,139.841 218.393,141.125 215.125,141.125 z M 240.594,141.125C 237.326,141.125 234.826,139.841 233.094,137.25C 231.375,134.672 230.50,130.922 230.50,126.00C 230.50,121.091 231.375,117.341 233.094,114.75C 234.826,112.172 237.326,110.875 240.594,110.875C 243.862,110.875 246.344,112.172 248.063,114.75C 249.794,117.341 250.656,121.091 250.656,126.00C 250.656,130.922 249.794,134.672 248.063,137.25C 246.344,139.841 243.862,141.125 240.594,141.125 z M 266.063,141.125C 262.794,141.125 260.294,139.841 258.563,137.25C 256.844,134.672 255.969,130.922 255.969,126.00C 255.969,121.091 256.844,117.341 258.563,114.75C 260.294,112.172 262.794,110.875 266.063,110.875C 269.331,110.875 271.813,112.172 273.531,114.75C 275.263,117.341 276.125,121.091 276.125,126.00C 276.125,130.922 275.263,134.672 273.531,137.25C 271.813,139.841 269.331,141.125 266.063,141.125 z M 73.313,138.00C 75.357,138.00 76.891,137.005 77.906,135.00C 78.935,133.008 79.469,130.01 79.469,126.00C 79.469,122.003 78.935,119.005 77.906,117.00C 76.891,115.008 75.357,114.00 73.313,114.00C 71.281,114.00 69.747,115.008 68.719,117.00C 67.703,119.005 67.219,122.003 67.219,126.00C 67.219,130.01 67.703,133.008 68.719,135.00C 69.747,137.005 71.281,138.00 73.313,138.00 z M 98.781,138.00C 100.826,138.00 102.359,137.005 103.375,135.00C 104.404,133.008 104.938,130.01 104.938,126.00C 104.938,122.003 104.404,119.005 103.375,117.00C 102.359,115.008 100.826,114.00 98.781,114.00C 96.75,114.00 95.216,115.008 94.188,117.00C 93.172,119.005 92.688,122.003 92.688,126.00C 92.688,130.01 93.172,133.008 94.188,135.00C 95.216,137.005 96.75,138.00 98.781,138.00 z M 124.25,138.00C 126.294,138.00 127.828,137.005 128.844,135.00C 129.872,133.008 130.406,130.01 130.406,126.00C 130.406,122.003 129.872,119.005 128.844,117.00C 127.828,115.008 126.294,114.00 124.25,114.00C 122.219,114.00 120.685,115.008 119.656,117.00C 118.641,119.005 118.156,122.003 118.156,126.00C 118.156,130.01 118.641,133.008 119.656,135.00C 120.685,137.005 122.219,138.00 124.25,138.00 z M 149.719,138.00C 151.763,138.00 153.297,137.005 154.313,135.00C 155.341,133.008 155.875,130.01 155.875,126.00C 155.875,122.003 155.341,119.005 154.313,117.00C 153.297,115.008 151.763,114.00 149.719,114.00C 147.688,114.00 146.154,115.008 145.125,117.00C 144.109,119.005 143.625,122.003 143.625,126.00C 143.625,130.01 144.109,133.008 145.125,135.00C 146.154,137.005 147.688,138.00 149.719,138.00 z M 189.656,138.00C 191.701,138.00 193.234,137.005 194.25,135.00C 195.279,133.008 195.781,130.01 195.781,126.00C 195.781,122.003 195.279,119.005 194.25,117.00C 193.234,115.008 191.701,114.00 189.656,114.00C 187.625,114.00 186.091,115.008 185.063,117.00C 184.047,119.005 183.531,122.003 183.531,126.00C 183.531,130.01 184.047,133.008 185.063,135.00C 186.091,137.005 187.625,138.00 189.656,138.00 z M 215.125,138.00C 217.169,138.00 218.703,137.005 219.719,135.00C 220.747,133.008 221.25,130.01 221.25,126.00C 221.25,122.003 220.747,119.005 219.719,117.00C 218.703,115.008 217.169,114.00 215.125,114.00C 213.094,114.00 211.56,115.008 210.531,117.00C 209.516,119.005 209.00,122.003 209.00,126.00C 209.00,130.01 209.516,133.008 210.531,135.00C 211.56,137.005 213.094,138.00 215.125,138.00 z M 240.594,138.00C 242.638,138.00 244.172,137.005 245.188,135.00C 246.216,133.008 246.719,130.01 246.719,126.00C 246.719,122.003 246.216,119.005 245.188,117.00C 244.172,115.008 242.638,114.00 240.594,114.00C 238.563,114.00 237.029,115.008 236.00,117.00C 234.984,119.005 234.469,122.003 234.469,126.00C 234.469,130.01 234.984,133.008 236.00,135.00C 237.029,137.005 238.563,138.00 240.594,138.00 z M 266.063,138.00C 268.107,138.00 269.641,137.005 270.656,135.00C 271.685,133.008 272.188,130.01 272.188,126.00C 272.188,122.003 271.685,119.005 270.656,117.00C 269.641,115.008 268.107,114.00 266.063,114.00C 264.031,114.00 262.497,115.008 261.469,117.00C 260.453,119.005 259.938,122.003 259.938,126.00C 259.938,130.01 260.453,133.008 261.469,135.00C 262.497,137.005 264.031,138.00 266.063,138.00 z M 164.438,124.00L 164.438,120.812L 174.969,120.812L 174.969,124.00L 164.438,124.00z" />
+<glyph unicode="&#xe09f;" d="M0.00,469.937 0.00,74.375 256.00-21.938 512.00,74.375 512.00,469.937 z m 122.594-157.031c 36.535-0.57 61.954-18.94 62.188-55.50l-39.625,0.00c 0.027,9.758 -4.165,19.046 -12.938,22.75 -9.899,3.54 -22.268,1.786 -28.625-6.594C 96.787,263.386 98.00,251.995 98.00,240.00c-0.375-15.983 7.806-29.80 24.031-29.906 16.439,0.828 24.25,8.848 24.406,23.656l 38.344,0.00c-0.92-39.266 -27.481-54.497 -62.188-54.656 -43.833-0.266 -66.675,30.603 -67.031,66.938 -0.258,43.818 30.721,66.518 67.031,66.875 z m 138.656,0.00c 26.316,0.278 56.409-11.176 57.156-39.906l0.00-2.188 -38.906,0.00 0.00,0.719c-0.241,9.434 -8.805,13.088 -16.688,13.125 -5.713-0.146 -16.988-1.375 -17.156-8.438 1.438-11.164 29.166-13.198 37.781-15.313 20.012-4.252 37.955-15.599 38.531-36.688 -0.649-34.14 -28.351-45.015 -56.938-45.125 -33.963,0.243 -63.591,8.407 -63.844,46.031l 39.25,0.00c-0.366-13.457 10.138-16.288 20.813-16.313 6.396,0.001 18.155,0.232 18.25,8.625 -1.292,10.347 -29.96,13.033 -38.156,15.125 -21.169,5.307 -37.914,16.329 -38.063,38.969 1.463,32.941 31.03,41.273 57.969,41.375 z m 135.75,0.00c 28.201-0.237 57.125-10.906 57.125-42.094l-38.875,0.00c 0.347,9.815 -8.693,13.806 -16.688,13.844 -5.713-0.146 -16.988-1.375 -17.156-8.438 1.222-11.022 29.271-13.223 37.781-15.313 13.938-3.365 28.169-9.01 34.938-21.563 2.262-4.096 3.44-9.133 3.563-15.125 -0.625-34.149 -28.34-45.015 -56.938-45.125 -33.943,0.234 -63.586,8.427 -63.844,46.031l 39.25,0.00c-0.212-8.595 4.379-14.395 12.219-15.75 7.094-0.666 26.743-3.033 26.875,8.063 -1.545,10.512 -29.822,12.998 -38.156,15.125 -21.19,5.31 -37.914,16.308 -38.063,38.969 1.468,32.963 30.997,41.273 57.969,41.375z" />
+<glyph unicode="&#xe09e;" d="M 256.00,396.64 m0.00,0.00,c-141.385,0.00 -256.00-114.615 -256.00-256.00 0.00-31.40 5.656-61.484 16.00-89.281l 70.00,0.00c-14.036,26.673 -22.00,57.047 -22.00,89.281 0.00,106.039 85.961,192.00 192.00,192.00 106.039,0.00 192.00-85.961 192.00-192.00 0.00-32.234 -7.964-62.608 -22.00-89.281l 70.00,0.00c 10.344,27.797 16.00,57.882 16.00,89.281 0.00,141.385 -114.615,256.00 -256.00,256.00 z m 0.00-100.531c-17.673,0.00 -32.00-14.327 -32.00-32.00 0.00-17.673 14.327-32.00 32.00-32.00 17.673,0.00 32.00,14.327 32.00,32.00 0.00,17.673 -14.327,32.00 -32.00,32.00 z m -95.969-31.344c-17.673,0.00 -32.00-14.327 -32.00-32.00 0.00-17.673 14.327-32.00 32.00-32.00 17.673,0.00 32.00,14.327 32.00,32.00 0.00,17.673 -14.327,32.00 -32.00,32.00 z m 191.938,0.00c-17.673,0.00 -32.00-14.327 -32.00-32.00 0.00-17.673 14.327-32.00 32.00-32.00 17.673,0.00 32.00,14.327 32.00,32.00 0.00,17.673 -14.327,32.00 -32.00,32.00 z M 256.00,201.953l-25.094-125.50 0.00-25.094 50.188,0.00 0.00,25.094L 256.00,201.953z" />
+<glyph unicode="&#xe0c7;" d="M0.00,480.00L0.00,224.00L 256.00,224.00L 256.00,480.00L0.00,480.00 z M 256.00,224.00L 256.00-32.00L 512.00-32.00L 512.00,224.00L 256.00,224.00z" />
+<glyph unicode="&#xe0c6;" d="M 186.141,329.919 m0.00,0.00, 58.021,0.00 0.00-211.904 -242.914-0.153c 2.122,59.066 34.117,141.903 184.893,161.603l 0.739-22.704C 118.337,246.661 94.532,206.134 82.712,155.855l 105.952,0.00 -2.523,174.064 z M 271.011,236.091 270.119,118.307 510.932,118.361C 513.248,236.189 408.483,289.542 243.809,286.929l0.00-23.635c 73.014,1.89 164.429-0.817 189.527-106.582l-107.919,0.891 0.00,74.028C 306.093,237.274 289.444,237.372 271.011,236.091z" />
+<glyph unicode="&#xe0c5;" d="M 479.232,319.963 m0.00,0.00,-32.183,0.00 0.00-63.781 -32.768,0.00 -125.221,0.00 -32.768,0.00 0.00,63.781 -32.768,0.00 0.00-97.719 0.00,0.00 32.768,0.00 0.00,0.00 0.00-188.416 95.378,0.00 0.00,93.623 32.768,0.00 0.00-93.623 62.025,0.00 0.00,188.416 0.585,0.00 32.183,0.00 z m -190.171,93.623 0.00-125.221 125.221,0.00 0.00,125.221 z m 222.939-63.195 0.00-160.914 -32.768,0.00 0.00-187.831 -255.707,0.00 0.00,187.831 -95.378,0.00 0.00-62.025 30.427,0.00 0.00-32.183 32.768,0.00 0.00-93.623 -159.159,0.00 0.00,93.623 32.768,0.00 0.00-61.44 93.623,0.00 0.00,61.44 -93.623,0.00 0.00,32.183 30.427,0.00 0.00,62.025 -63.195,0.00 0.00,32.768 158.574,0.00 0.00,128.146 0.585,0.00 64.951,0.00 0.00,95.963 190.757,0.00 0.00-95.963 z m -353.426,0.00 0.00,30.427 32.183,0.00 0.00-30.427 z m -126.391,0.00 0.00-128.146 -32.183,0.00 0.00,128.146 z m 32.768,0.00 -32.768,0.00 0.00,30.427 32.768,0.00 z m 93.623,30.427 -93.623,0.00 0.00,32.768 93.623,0.00z" />
+<glyph unicode="&#xe0c4;" d="M 256.00,480.00 m0.00,0.00,c-141.384,0.00 -256.00-114.616 -256.00-256.00 0.00-141.384 114.616-256.00 256.00-256.00 141.384,0.00 256.00,114.616 256.00,256.00 0.00,141.384 -114.616,256.00 -256.00,256.00 z m 0.00-456.348c-110.664,0.00 -200.348,89.711 -200.348,200.348 0.00,110.636 89.683,200.348 200.348,200.348 110.664,0.00 200.348-89.711 200.348-200.348 0.00-110.636 -89.684-200.348 -200.348-200.348 z m 50.087,307.478 -100.174,0.00 0.00-113.809 -62.609,0.00 112.696-106.017 112.696,106.017 -62.609,0.00 0.00,113.809z" />
+<glyph unicode="&#xe0c3;" d="M 0.489,37.326 m0.00,0.00, 512.00,0.00 0.00-69.327 -512.00,0.00 z m 350.202,442.673 -188.404,0.00 0.00-211.896 -117.752,0.00 211.954-197.39 211.954,197.39 -117.752,0.00z" />
+<glyph unicode="&#xe0c2;" d="M 256.00,480.00 m0.00,0.00,c-141.385,0.00 -256.00-114.615 -256.00-256.00 0.00-141.385 114.615-256.00 256.00-256.00 141.385,0.00 256.00,114.615 256.00,256.00 0.00,141.385 -114.615,256.00 -256.00,256.00 z m 0.00-37.09c 55.773,0.00 106.674-20.857 145.329-55.198 -28.40-37.466 -71.562-62.407 -114.788-79.303 -23.571,43.112 -52.586,88.566 -82.124,128.389 16.54,3.995 33.816,6.111 51.583,6.111 z m -93.131-20.75c 28.542-42.677 56.174-82.273 81.459-127.092 -63.892-16.551 -136.062-26.479 -202.732-26.65 14.057,68.215 59.859,124.828 121.272,153.743 z m 262.744-59.753c 30.532-37.372 48.946-85.021 49.281-136.964 -50.63,9.973 -100.987,12.604 -152.268,7.441 -5.777,14.375 -12.746,28.025 -19.437,42.748 44.206,17.829 91.453,48.346 122.424,86.776 z M 262.095,261.203c 5.487-11.664 11.833-24.018 17.783-36.653 -71.296-31.438 -147.121-73.46 -186.505-147.096 -34.986,38.801 -56.284,90.186 -56.284,146.545 0.00,2.14 0.036,4.278 0.097,6.403 76.367,0.371 151.305,9.928 224.908,30.80 z m 212.069-55.425c-0.07-0.855 -0.147-1.71 -0.227-2.561 0.081,0.851 0.156,1.708 0.227,2.561 z m -96.389-4.263c 31.831,0.099 64.692-4.348 94.411-12.158 -9.72-61.146 -44.763-113.854 -94.038-147.048 -11.755,53.443 -22.955,104.576 -42.748,156.142 13.65,2.035 27.906,3.019 42.375,3.064 z m 95.546-3.972c-0.149-1.239 -0.30-2.479 -0.47-3.712 0.171,1.236 0.32,2.47 0.47,3.712 z m -178.448-9.094c 20.189-52.122 36.035-109.849 46.638-166.03 -26.272-11.16 -55.168-17.329 -85.512-17.329 -50.63,0.00 -97.238,17.195 -134.322,46.055 39.644,64.335 101.047,112.994 173.196,137.305z" />
+<glyph unicode="&#xe0ed;" d="M 0.00,480.00L 0.00,149.031L 0.00-32.00L 181.031-32.00L 512.00-32.00L 512.00,298.969L 428.00,214.969L 428.00,52.00L 265.031,52.00L 84.00,52.00L 84.00,233.031L 84.00,396.00L 246.969,396.00L 330.969,480.00L 0.00,480.00 z M 448.00,480.00L 415.219,447.219L 479.219,383.219L 512.00,416.00L 448.00,480.00 z M 399.75,431.75L 212.125,244.125L 276.125,180.125L 463.75,367.75L 399.75,431.75 z M 188.563,214.469C 187.613,214.454 186.645,214.385 185.688,214.312L 185.688,153.687L 246.313,153.687C 246.313,170.203 238.422,186.984 226.125,198.719C 215.953,208.426 202.797,214.688 188.563,214.469z" />
+<glyph unicode="&#xe0ec;" d="M 256.00,448.844L0.00,172.969L 512.00,172.969L 256.00,448.844 z M 0.00,124.312L0.00-7.688L 512.00-7.688L 512.00,124.312L0.00,124.312z" />
+<glyph unicode="&#xe0eb;" d="M 0.00,417.50 m0.00,0.00,0.00-71.969 256.00-145.969 256.00,145.969 0.00,71.969 z m 0.00-118.00 0.00-211.031 130.406,136.688 z m 512.00,0.00 -130.406-74.344 130.406-136.688 z m -345.781-94.781 -166.219-174.219 512.00,0.00 -166.219,174.219 -89.781-51.188z" />
+<glyph unicode="&#xe0ea;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 125.00,323.031L 387.00,323.031L 387.00,286.187L 256.00,211.50L 125.00,286.187L 125.00,323.031 z M 125.00,262.625L 191.719,224.594L 125.00,154.656L 125.00,262.625 z M 387.00,262.625L 387.00,154.656L 320.281,224.594L 387.00,262.625 z M 210.063,214.125L 256.00,187.937L 301.938,214.125L 387.00,124.969L 125.00,124.969L 210.063,214.125z" />
+<glyph unicode="&#xe105;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 256.00,410.00C 358.725,410.00 442.00,326.725 442.00,224.00C 442.00,121.275 358.725,38.00 256.00,38.00C 153.275,38.00 70.00,121.275 70.00,224.00C 70.00,326.725 153.275,410.00 256.00,410.00 z M 120.094,274.281L 120.094,173.719L 391.906,173.719L 391.906,274.281L 120.094,274.281z" />
+<glyph unicode="&#xe104;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 84.188,292.50L 427.813,292.50L 427.813,155.50L 84.188,155.50L 84.188,292.50z" />
+<glyph unicode="&#xe103;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 162.969,429.562L 349.031,429.562L 309.031,147.719L 202.969,147.719L 162.969,429.562 z M 257.00,128.531C 287.405,128.531 312.063,103.874 312.063,73.469C 312.063,43.063 287.405,18.437 257.00,18.437C 226.595,18.437 201.938,43.063 201.938,73.469C 201.938,103.874 226.595,128.531 257.00,128.531z" />
+<glyph unicode="&#xe102;" d="M 335.938,450.594C 331.78,450.377 327.016,447.012 323.906,441.625L 285.75,375.562C 275.983,376.619 266.059,377.224 256.00,377.375C 212.042,377.18 166.475,366.488 123.344,346.00C 91.319,330.161 60.123,307.80 33.031,280.219C 19.726,266.139 2.744,245.752 0.00,224.00C 0.324,205.158 20.545,181.901 33.031,167.781C 58.436,141.282 88.82,119.562 123.344,102.00C 124.517,101.431 125.695,100.868 126.875,100.312L 101.50,56.375C 97.353,49.193 97.773,41.256 102.438,38.562L 128.875,23.281C 133.54,20.588 140.635,24.193 144.781,31.375L 174.313,82.50L 197.688,123.00L 218.781,159.531L 293.188,288.406L 314.281,324.937L 337.688,365.469L 367.219,416.625C 371.365,423.807 370.946,431.744 366.281,434.437L 339.813,449.719C 338.646,450.392 337.323,450.666 335.938,450.594 z M 385.094,347.625L 353.125,292.219C 367.832,273.112 376.563,249.55 376.563,224.00C 376.563,160.317 322.579,108.687 255.969,108.687C 253.089,108.687 250.298,108.998 247.469,109.187L 226.313,72.562C 236.07,71.518 245.935,70.756 256.00,70.625C 299.999,70.823 345.541,81.638 388.625,102.00C 420.65,117.839 451.877,140.20 478.969,167.781C 492.274,181.861 509.256,202.248 512.00,224.00C 511.676,242.842 491.455,266.099 478.969,280.219C 453.564,306.718 423.149,328.438 388.625,346.00C 387.459,346.565 386.267,347.073 385.094,347.625 z M 255.969,339.312C 258.889,339.312 261.788,339.195 264.656,339.00L 239.875,296.094C 205.096,289.043 179.00,259.452 179.00,224.031C 179.00,215.134 180.639,206.615 183.656,198.719C 183.66,198.71 183.653,198.697 183.656,198.687L 158.813,155.656C 144.071,174.781 135.375,198.421 135.375,224.00C 135.375,287.683 189.358,339.312 255.969,339.312 z M 328.063,248.844L 272.219,152.094C 306.811,159.278 332.719,188.734 332.719,224.031C 332.719,232.767 330.976,241.071 328.063,248.844z" />
+<glyph unicode="&#xe09d;" d="M 332.734,224.031 m0.00,0.00,c0.00-40.675 -34.417-73.648 -76.872-73.648 -42.455,0.00 -76.872,32.973 -76.872,73.648 0.00,40.675 34.417,73.648 76.872,73.648 42.455,0.00 76.872-32.973 76.872-73.648 z M 256.001,377.378c-43.958-0.195 -89.521-10.896 -132.653-31.384 -32.025-15.839 -63.234-38.185 -90.326-65.767 -13.306-14.08 -30.277-34.467 -33.021-56.219 0.324-18.842 20.535-42.099 33.021-56.219 25.405-26.499 55.802-48.221 90.326-65.783 40.223-19.52 84.743-30.759 132.653-31.384 43.999,0.198 89.552,11.022 132.636,31.384 32.025,15.839 63.251,38.202 90.342,65.783 13.306,14.08 30.277,34.467 33.021,56.219 -0.324,18.842 -20.535,42.099 -33.021,56.219 -25.405,26.499 -55.818,48.205 -90.342,65.767 -40.202,19.506 -84.832,30.667 -132.636,31.384 z m -0.033-38.079c 66.611,0.00 120.608-51.624 120.608-115.307 0.00-63.683 -53.997-115.307 -120.608-115.307 -66.611,0.00 -120.608,51.624 -120.608,115.307 0.00,63.683 53.997,115.307 120.608,115.307z" />
+<glyph unicode="&#xe09c;" d="M0.00,480.00L0.00-32.00L 512.00-32.00L 512.00,480.00L0.00,480.00 z M 368.313,413.187C 372.031,413.266 375.904,413.146 379.906,412.875C 394.616,412.855 409.979,411.529 425.219,410.187L 423.563,349.562L 382.625,349.562C 363.43,349.988 356.498,342.534 355.875,320.875L 355.875,273.25L 425.219,273.25L 422.469,208.312L 355.875,208.312L 355.875,27.531L 288.219,27.531L 288.219,208.312L 241.25,208.312L 241.25,273.25L 288.219,273.25L 288.219,329.00C 288.219,369.196 305.212,394.781 338.688,407.75C 347.284,411.132 357.157,412.951 368.313,413.187z" />
+<glyph unicode="&#xe09b;" d="M 0.00,422.481 m0.00,0.00,0.00-396.962 396.962,0.00 0.00,166.935 115.038-166.935 0.00,396.962 -115.038-166.935 0.00,166.935 -396.962,0.00z" />
+<glyph unicode="&#xe098;" d="M 258.339,484.812 m0.00,0.00,c-90.822,0.00 -164.464-73.642 -164.464-164.464 0.00-80.107 57.306-146.851 133.143-161.484l0.00-52.94 -70.534,0.00 0.00-62.609 70.534,0.00 0.00-70.503 62.609,0.00 0.00,70.503 70.534,0.00 0.00,62.609 -70.534,0.00 0.00,52.94c 75.853,14.621 133.175,81.366 133.175,161.484 0.00,90.822 -73.642,164.464 -164.464,164.464 z m 0.00-65.399c 54.712,0.00 99.065-44.353 99.065-99.065 0.00-54.712 -44.353-99.065 -99.065-99.065 -54.712,0.00 -99.065,44.353 -99.065,99.065 0.00,54.712 44.353,99.065 99.065,99.065z" />
+<glyph unicode="&#xe0c1;" d="M 172.923,478.111 m0.00,0.00,-96.456-93.12 0.00-31.544 129.102,0.00 0.00,124.663 -32.645,0.00 z m 76.466,0.00 0.00-166.942 -172.923,0.00 0.00-345.058 362.846,0.00 0.00,512.00 -189.922,0.00z" />
+<glyph unicode="&#xe0c0;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 211.938,356.781L 228.875,356.781L 228.875,292.125L 161.906,292.125L 161.906,308.469L 211.938,356.781 z M 251.594,356.781L 350.094,356.781L 350.094,91.219L 161.906,91.219L 161.906,270.187L 251.594,270.187L 251.594,356.781z" />
+<glyph unicode="&#xe0bf;" d="M 121.389,480.00 m0.00,0.00,-96.457-93.12 0.00-418.88 362.845,0.00 0.00,163.195 -44.797-44.797 0.00-73.885 -273.251,0.00 0.00,342.823 84.305,0.00 0.00,80.15 188.946,0.00 0.00-116.478 -133.73-133.73 -39.728-122.397 122.365,39.76 195.179,195.179 -82.637,82.636 -16.653-16.653 0.00,116.195 -266.389,0.00 z m 108.545-315.372 41.303-41.334 -61.198-19.864 19.896,61.198z" />
+<glyph unicode="&#xe0be;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 194.938,385.75L 363.25,385.75L 363.25,312.344L 373.781,322.844L 426.00,270.656L 302.688,147.312L 225.375,122.187L 250.469,199.531L 334.969,284.031L 334.969,357.625L 215.563,357.625L 215.563,306.969L 162.313,306.969L 162.313,90.375L 334.969,90.375L 334.969,137.062L 363.25,165.375L 363.25,62.25L 134.00,62.25L 134.00,326.906L 194.938,385.75 z M 263.531,186.50L 250.969,147.812L 289.625,160.375L 263.531,186.50z" />
+<glyph unicode="&#xe0bd;" d="M 109.049,480.00 m0.00,0.00,-96.457-93.12 0.00-418.88 258.55,0.00 0.00,44.514 -213.753,0.00 0.00,342.823 84.305,0.00 0.00,80.15 188.946,0.00 0.00-133.541 44.797,0.00 0.00,178.054 -266.389,0.00 z m 201.696-217.059 0.00-106.278 -106.31,0.00 0.00-82.385 106.31,0.00 0.00-106.278 82.353,0.00 0.00,106.278 106.31,0.00 0.00,82.385 -106.31,0.00 0.00,106.278 -82.353,0.00z" />
+<glyph unicode="&#xe0bc;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 191.563,385.312L 347.563,385.312L 347.563,281.031L 321.344,281.031L 321.344,359.25L 210.688,359.25L 210.688,312.281L 161.313,312.281L 161.313,111.50L 286.50,111.50L 286.50,85.437L 135.063,85.437L 135.063,330.781L 191.563,385.312 z M 309.688,258.187L 357.906,258.187L 357.906,195.937L 420.188,195.937L 420.188,147.687L 357.906,147.687L 357.906,85.437L 309.688,85.437L 309.688,147.687L 247.438,147.687L 247.438,195.937L 309.688,195.937L 309.688,258.187z" />
+<glyph unicode="&#xe0e9;" d="M 30.219,480.00L 30.219-32.00L 481.781-32.00L 481.781,480.00L 30.219,480.00 z M 53.25,449.25L 108.719,449.25L 108.719,407.062L 53.25,407.062L 53.25,449.25 z M 403.25,449.25L 458.719,449.25L 458.719,407.062L 403.25,407.062L 403.25,449.25 z M 132.563,446.125L 379.438,446.125L 379.438,222.687L 132.563,222.687L 132.563,446.125 z M 53.25,354.719L 108.719,354.719L 108.719,312.531L 53.25,312.531L 53.25,354.719 z M 403.281,354.719L 458.75,354.719L 458.75,312.531L 403.281,312.531L 403.281,354.719 z M 53.25,260.187L 108.719,260.187L 108.719,218.00L 53.25,218.00L 53.25,260.187 z M 403.281,260.187L 458.75,260.187L 458.75,218.00L 403.281,218.00L 403.281,260.187 z M 132.563,207.062L 379.438,207.062L 379.438-16.375L 132.563-16.375L 132.563,207.062 z M 53.25,165.656L 108.719,165.656L 108.719,123.469L 53.25,123.469L 53.25,165.656 z M 403.281,165.656L 458.75,165.656L 458.75,123.469L 403.281,123.469L 403.281,165.656 z M 53.25,71.125L 108.719,71.125L 108.719,28.937L 53.25,28.937L 53.25,71.125 z M 403.281,71.125L 458.75,71.125L 458.75,28.937L 403.281,28.937L 403.281,71.125z" />
+<glyph unicode="&#xe0e8;" d="M0.00,480.00L 177.438,302.562L 177.438-32.00L 334.563,96.562L 334.563,302.562L 512.00,480.00L0.00,480.00z" />
+<glyph unicode="&#xe0e7;" d="M 145.952,21.08C 51.926,74.072 27.171,124.23 41.325,192.736 51.773,243.32 85.986,284.476 89.266,334.964c 14.615-26.596 20.721-45.774 22.354-73.566 46.482,56.95 77.198,135.788 79.017,218.603 0.00,0.00 121.069-71.136 129.013-178.589 10.423,22.147 15.669,57.324 5.246,80.121 31.267-22.799 214.275-225.192 -24.789-360.453 44.946,87.516 11.596,205.601 -66.444,260.138 5.211-23.451 -3.926-110.914 -38.451-149.345 9.566,64.217 -9.102,91.37 -9.102,91.37 0.00,0.00 -6.407-35.97 -31.267-72.305 -22.701-33.18 -38.43-68.397 -8.894-129.857z" />
+<glyph unicode="&#xe0e6;" d="M -0.451,452.309 m0.00,0.00,0.00-411.666 58.445,0.00 0.00,201.023c 164.144,44.674 269.46-137.155 381.812-24.802l0.00,235.445c-174.513-112.904 -266.472,100.335 -440.257,0.00z" />
+<glyph unicode="&#xe101;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 175.094,368.50C 252.322,368.154 309.332,291.097 400.813,350.281L 400.813,195.406C 326.904,121.498 257.603,241.106 149.625,211.719L 149.625,79.50L 111.188,79.50L 111.188,350.281C 134.409,363.688 155.408,368.588 175.094,368.50z" />
+<glyph unicode="&#xe100;" d="M0.00,480.00L0.00-32.00L 512.00-32.00L 512.00,480.00L0.00,480.00 z M 151.438,320.50C 204.741,320.50 247.938,277.303 247.938,224.00C 247.938,170.697 204.741,127.469 151.438,127.469C 98.134,127.469 54.938,170.697 54.938,224.00C 54.938,277.303 98.134,320.50 151.438,320.50 z M 360.563,320.50C 413.866,320.50 457.063,277.303 457.063,224.00C 457.063,170.697 413.866,127.469 360.563,127.469C 307.259,127.469 264.063,170.697 264.063,224.00C 264.063,277.303 307.259,320.50 360.563,320.50z" />
+<glyph unicode="&#xe0ff;" d="M 106.313,429.781 70.594,383.687 0.00,383.687l0.00-365.469 512.00,0.00 0.00,365.469 -259.563,0.00 -35.719,46.094z" />
+<glyph unicode="&#xe0fe;" d="M 106.312,429.781 m0.00,0.00,-35.719-46.094 -70.594,0.00 0.00-61.719 512.00,0.00 0.00,61.719 -259.563,0.00 -35.719,46.094 -110.406,0.00 z m -106.313-125.00 0.00-286.563 512.00,0.00 0.00,286.563 -512.00,0.00z" />
+<glyph unicode="&#xe097;" d="M 106.312,429.781 m0.00,0.00,-35.719-46.094 -70.594,0.00 0.00-260.255 52.724,198.536 371.276,0.00 0.00,61.719 -171.563,0.00 -35.719,46.094 z m -106.313-383.536 0.00-28.027 424.00,0.00 88.00,286.563 -437.276,0.00z" />
+<glyph unicode="&#xe096;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 166.625,346.875L 232.531,346.875L 253.875,319.375L 408.875,319.375L 408.875,101.125L 103.125,101.125L 103.125,319.375L 145.281,319.375L 166.625,346.875z" />
+<glyph unicode="&#xe095;" d="M 142.994,154.365 m0.00,0.00, 185.689,0.00 -92.845,240.583 -92.845-240.583m-142.994-183.317 0.00,35.918 44.389,0.00 180.267,469.983 56.926,0.00 180.605-469.983 49.811,0.00 0.00-35.918 -183.995,0.00 0.00,35.918 56.249,0.00 -42.356,111.141 -212.796,0.00 -42.356-111.141 55.571,0.00 0.00-35.918 -142.316,0.00" />
+<glyph unicode="&#xe094;" d="M 443.49,142.134 m0.00,0.00,c-5.088,8.359 -11.449,13.72 -19.08,16.083 -15.829,5.066 -33.498,4.723 -44.158-6.815 -11.917-15.784 -12.215-39.44 0.00-53.153 18.631-17.587 51.538-8.895 63.238,8.45l0.00,35.435 z m 41.977,141.195c 17.082-15.628 25.623-37.797 25.623-66.509l0.00-165.726c-0.279-4.58 -4.037-8.118 -8.178-8.178l-51.244,0.00c-4.58,0.279 -8.118,4.037 -8.178,8.178l0.00,4.906c-17.107-12.982 -36.902-18.963 -56.696-19.08 -22.462,0.658 -41.99,8.606 -57.242,22.624 -18.782,18.796 -26.019,41.904 -26.168,65.691 0.74,26.025 8.255,49.446 26.44,66.237 16.774,14.19 36.614,20.857 56.969,20.989 22.533,0.00 41.432-5.996 56.696-17.99l0.00,15.809c0.00,25.078 -13.084,37.615 -39.251,37.615 -20.352,0.00 -38.887-8.541 -55.605-25.623 -4.439-3.928 -10.697-2.388 -13.084,2.18l-20.17,34.89c-1.817,3.635 -1.272,6.906 1.635,9.813 12.357,12.357 26.713,21.716 43.067,28.075 40.53,14.061 94.624,13.285 125.386-13.901 z m -335.27,27.258 -35.98-128.656 72.506,0.00 z M 300.115,57.089c 0.727-2.18 1.09-3.635 1.09-4.361 -0.153-4.848 -3.873-8.123 -8.178-8.178l-0.545,0.00 -63.783,0.00c-3.998,0.00 -6.541,1.998 -7.632,5.996L 203.077,113.785 97.863,113.785 79.873,50.547c-1.09-3.998 -3.816-5.996 -8.178-5.996l-63.238,0.00c-6.797,0.566 -9.367,4.738 -8.178,10.358l 106.851,351.079c 1.454,3.998 4.18,5.996 8.178,5.996l 70.324,0.00c 3.998,0.00 6.723-1.999 8.178-5.996L 300.115,57.089z" />
+<glyph unicode="&#xe092;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C 0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 128.00,319.844L 256.00,224.00L 128.00,128.156L 128.00,319.844 z M 288.00,319.844L 416.00,224.00L 288.00,128.156L 288.00,319.844z" />
+<glyph unicode="&#xe0bb;" d="M0.00,480.00L0.00-32.00L 512.00-32.00L 512.00,333.312L 397.25,236.437C 406.36,227.082 406.599,213.469 396.719,202.875L 279.25,84.906C 269.436,75.332 256.111,74.863 244.625,84.906L 140.156,189.375C 113.328,190.999 88.871,203.835 69.281,225.094C 51.987,245.349 43.472,271.16 44.906,300.031C 47.297,326.783 59.373,351.029 80.625,370.656C 99.062,386.06 121.742,394.886 147.75,395.562C 177.286,395.327 204.69,382.914 226.219,359.312C 228.023,357.148 229.751,354.876 231.375,352.531C 232.999,350.186 234.525,347.946 235.969,345.781L 244.625,354.437C 254.439,364.012 267.764,364.481 279.25,354.437L 313.906,319.781L 430.813,480.00L0.00,480.00 z M 455.719,480.00L 266.281,219.687C 264.477,217.523 262.307,216.406 259.781,216.406C 257.255,216.406 255.457,217.321 254.375,219.125C 253.654,219.486 250.398,223.454 244.625,231.031C 238.852,238.608 231.83,248.002 223.531,259.187C 223.606,259.657 223.653,260.104 223.719,260.562C 227.771,270.32 230.00,280.995 230.00,292.219C 230.00,337.878 193.003,374.906 147.344,374.906C 101.684,374.906 64.656,337.878 64.656,292.219C 64.656,246.559 101.684,209.562 147.344,209.562C 157.314,209.562 166.869,211.328 175.719,214.562C 175.735,214.568 175.734,214.557 175.75,214.562C 176.156,214.642 176.558,214.699 176.969,214.781L 255.469,151.469C 256.551,150.386 257.605,149.844 258.688,149.844L 260.313,149.844C 262.116,149.844 263.574,150.386 264.656,151.469L 512.00,359.844L 512.00,480.00L 455.719,480.00z" />
+<glyph unicode="&#xe0ba;" d="M 374.764,480.00C 350.798,479.957 324.901,475.728 298.586,461.702 268.977,472.338 237.712,481.316 194.245,478.093 95.936,468.939 58.413,419.264 52.641,348.419c-20.73-2.362 -40.321-7.829 -41.743-62.598 -1.36-62.03 18.052-72.139 38.757-79.006l 1.493-181.853c 2.926-21.472 -1.088-45.384 47.699-50.669l 73.034-1.493c 26.733-3.483 45.279,13.487 55.148,52.163 3.468-31.439 17.286-48.649 43.235-49.176l 84.962,0.00c 19.205,5.118 40.272,6.804 43.219,41.727l 1.493,189.303 22.348-1.493c 18.252,2.643 36.433,5.658 49.192,35.77l0.00,56.641c-3.688,23.123 -9.945,20.397 -16.392,25.351 17.357,3.84 35.283,5.659 41.727,47.699l-1.477,46.206C 495.944,445.98 479.792,462.45 439.315,473.185 420.77,475.893 398.731,480.042 374.764,480.00 z m -169.209-44.363c 11.686,0.131 27.791-1.77 61.566-12.596l 1.048-54.815c-17.574,6.16 -32.964,13.268 -45.316,11.596 -38.226,1.796 -41.811-17.73 -44.268-37.946l0.00-38.994 98.019-1.048c 2.359,51.683 -11.539,117.566 74.082,128.961 37.377,4.971 71.717,0.211 97.717-10.912l-1.048-57.976c-13.443,10.752 -31.59,14.451 -50.59,16.868 -52.85,7.43 -40.676-39.913 -43.219-74.844l 70.619,0.00 0.00-51.638 -70.619,0.00 1.048-233.984 -77.989,2.113 0.00,231.872 -101.18-2.113 0.00-229.759 -77.989,0.00 2.097,229.759 -37.946,0.00 -1.048,57.976 41.107-2.113 -1.048,15.804c 1.841,37.771 -1.459,102.899 79.482,113.045 9.974-0.686 16.388,0.644 25.477,0.747z" />
+<glyph unicode="&#xe0b9;" d="M0.00,480.00L0.00-32.00L 512.00-32.00L 512.00,480.00L0.00,480.00 z M 345.313,409.656C 363.012,409.688 379.272,406.625 392.969,404.625C 422.86,396.697 434.791,384.534 434.344,363.125L 435.438,329.00C 430.679,297.955 417.443,296.617 404.625,293.781C 409.387,290.123 414.026,292.138 416.75,275.062L 416.75,233.25C 407.328,211.012 393.885,208.764 380.406,206.812L 363.906,207.937L 362.813,68.125C 360.635,42.335 345.058,41.092 330.875,37.312L 268.125,37.312C 248.961,37.702 238.78,50.408 236.219,73.625C 228.93,45.064 215.242,32.521 195.50,35.094L 141.563,36.219C 105.534,40.122 108.473,57.768 106.313,73.625L 105.219,207.937C 89.929,213.009 75.589,220.442 76.594,266.25C 77.644,306.696 92.129,310.756 107.438,312.50C 111.70,364.819 139.40,401.49 212.00,408.25C 244.10,410.629 267.197,404.011 289.063,396.156C 308.496,406.514 327.613,409.625 345.313,409.656 z M 220.344,376.906C 213.632,376.831 208.897,375.837 201.531,376.344C 141.757,368.852 144.204,320.769 142.844,292.875L 143.625,281.187L 113.25,282.75L 114.031,239.937L 142.063,239.937L 140.50,70.281L 198.094,70.281L 198.094,239.937L 272.813,241.50L 272.813,70.281L 330.406,68.719L 329.625,241.50L 381.781,241.50L 381.781,279.656L 329.625,279.656C 331.503,305.453 322.534,340.394 361.563,334.906C 375.594,333.121 388.979,330.409 398.906,322.469L 399.688,365.25C 380.487,373.465 355.134,377.015 327.531,373.344C 264.301,364.929 274.554,316.261 272.813,278.094L 200.438,278.875L 200.438,307.656C 202.252,322.586 204.896,337.013 233.125,335.687C 242.247,336.923 253.615,331.674 266.594,327.125L 265.813,367.594C 240.87,375.589 228.973,377.003 220.344,376.906z" />
+<glyph unicode="&#xe0b8;" d="M 0.00,480.00L 0.00,303.437L 61.50,365.469L 202.969,224.00L 61.25,82.281L 0.00,143.00L 0.00-32.00L 176.563-32.00L 114.531,29.50L 256.00,170.969L 397.719,29.25L 337.00-32.00L 512.00-32.00L 512.00,144.562L 450.50,82.531L 309.031,224.00L 450.75,365.719L 512.00,305.00L 512.00,480.00L 335.438,480.00L 397.469,418.50L 256.00,277.031L 114.281,418.75L 175.00,480.00L 0.00,480.00z" />
+<glyph unicode="&#xe0b7;" d="M 320.252,321.38 m0.00,0.00, 98.384,62.243 -96.376,96.376 -62.243-138.541 -36.141,108.424 -96.376-64.251 80.314-64.251 -182.714,0.00 0.00-128.502 32.126,0.00 0.00-224.878 397.554,0.00 0.00,224.878 32.126,0.00 0.00,128.502 z m 10.136,116.418 50.43-50.43 -102.869-65.233 z m -119.394-25.461 28.475-85.426 -71.188,56.95 z m 12.882-412.212 -134.525,0.00 0.00,202.816 134.525,0.00 z m 0.00,224.878 -166.651,0.00 0.00,64.251 166.651,0.00 z m 198.776-224.878 -134.525,0.00 0.00,202.816 134.525,0.00 z m 32.126,224.878 -166.651,0.00 0.00,64.251 166.651,0.00z" />
+<glyph unicode="&#xe0b6;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 256.00,452.125C 381.99,452.125 484.125,349.99 484.125,224.00C 484.125,98.01 381.99-4.125 256.00-4.125C 130.01-4.125 27.875,98.01 27.875,224.00C 27.875,349.99 130.01,452.125 256.00,452.125 z M 142.781,385.312C 136.284,366.428 134.032,345.932 139.844,328.031C 132.822,320.239 127.37,311.287 123.469,301.156C 113.07,268.292 115.61,226.308 138.375,200.906C 146.372,192.139 157.222,184.931 170.875,179.281C 184.528,173.632 202.076,170.028 223.531,168.469C 209.131,161.74 198.98,157.628 195.438,142.75C 179.375,132.017 159.842,134.578 145.688,146.25C 134.501,154.417 129.434,168.933 117.031,174.312C 116.251,175.092 113.815,175.673 109.719,176.062C 105.623,176.452 102.403,175.29 100.063,172.562C 98.892,171.394 98.979,170.145 100.344,168.781C 109.733,161.145 118.77,153.051 124.063,143.344C 129.134,132.823 134.383,125.12 139.844,120.25C 154.993,110.013 175.311,104.687 193.094,111.187C 191.02,98.674 196.614,79.132 192.50,67.937C 190.939,64.82 188.707,62.088 185.781,59.75C 183.174,57.206 175.089,54.024 176.719,50.125C 177.499,48.372 180.225,47.296 184.906,46.906C 195.211,47.169 205.469,51.335 211.531,59.469C 213.677,62.391 214.75,66.199 214.75,70.875L 214.75,118.781C 214.75,124.236 215.909,128.131 218.25,130.469C 220.591,132.807 223.144,134.377 225.875,135.156L 225.875,72.031C 225.875,66.576 225.382,61.897 224.406,58.00C 223.431,54.103 222.561,51.371 221.781,49.812C 219.99,46.809 216.567,44.038 216.50,40.469C 216.50,39.30 217.197,38.632 218.563,38.437C 228.811,38.882 240.702,44.894 244.875,53.344C 248.191,60.357 249.844,67.738 249.844,75.531L 249.844,137.50L 262.719,137.50L 262.719,75.531C 262.719,67.738 264.489,60.357 268.00,53.344C 271.511,46.33 277.37,41.823 285.563,39.875C 289.853,38.706 292.752,38.243 294.313,38.437C 295.873,38.632 296.57,39.30 296.375,40.469C 295.435,44.009 293.478,47.038 291.406,49.812C 288.675,53.319 287.313,60.731 287.313,72.031L 287.313,135.156C 290.043,134.377 292.683,132.807 295.219,130.469C 297.754,128.131 299.00,124.236 299.00,118.781L 299.00,70.875C 299.00,66.199 300.073,62.391 302.219,59.469C 308.74,51.176 318.567,46.969 328.844,46.906C 333.525,47.296 336.251,48.372 337.031,50.125C 337.811,51.878 337.231,53.331 335.281,54.50C 333.331,55.669 330.894,57.412 327.969,59.75C 325.043,62.088 322.811,64.82 321.25,67.937C 319.499,88.038 321.205,109.584 319.781,129.906C 316.97,152.084 308.434,159.38 291.406,167.875C 311.691,169.434 328.37,173.155 341.438,179.00C 380.502,197.981 391.304,227.323 391.469,266.656C 390.853,291.97 383.545,314.053 366.875,330.969C 369.216,339.93 369.913,349.259 368.938,359.00C 367.962,368.741 365.902,377.52 362.781,385.312C 348.349,384.533 336.254,381.628 326.50,376.562C 316.747,371.497 309.728,367.194 305.438,363.687C 270.871,371.535 233.867,371.582 200.719,362.531C 183.757,376.404 162.735,384.133 142.781,385.312z" />
+<glyph unicode="&#xe0e5;" d="M 436.712,352.99 m0.00,0.00, 48.752,0.00 0.00-54.357c-1.867,0.00 -5.323,0.185 -10.367,0.56 -5.043,0.373 -9.806,0.561 -14.29,0.561l-24.095,0.00 0.00-104.232c0.00-25.032 8.218-37.546 24.656-37.546 11.582,0.00 22.041,3.173 31.384,9.526l0.00-56.037c-13.823-7.475 -30.45-11.209 -49.877-11.209 -27.272,0.00 -46.136,9.713 -56.598,29.138 -7.845,14.572 -11.77,37.545 -11.77,68.931l0.00,100.309 0.561,0.00 0.00,1.121 -8.406,0.558c-4.857,0.00 -11.208-0.558 -19.053-1.679l0.00,54.357 27.459,0.00 0.00,21.855c0.00,10.461 -0.561,18.867 -1.681,25.218l 65.004,0.00c-1.119-7.099 -1.68-15.131 -1.68-24.096l0.00-22.978 z M 257.431,104.178c 0.747,7.469 1.118,20.17 1.118,38.105l0.00,174.284c0.00,17.557 -0.371,29.70 -1.118,36.424l 63.324,0.00c-0.749-7.099 -1.122-18.867 -1.122-35.306l0.00-172.038c0.00-19.055 0.374-32.878 1.122-41.468l-63.324,0.00 z M 116.75,355.781c-25.404,0.00 -47.255-8.407 -65.563-25.219 -19.051-17.933 -28.594-40.35 -28.594-67.25 0.00-17.933 5.258-34.717 15.719-50.406 9.339-14.569 19.982-23.922 31.938-28.031l0.00-1.125c-11.955-5.226 -17.938-18.297 -17.938-39.219 0.00-16.066 6.331-28.03 19.031-35.875l0.00-1.125C 36.602,95.951 19.25,74.474 19.25,43.094c0.00-27.275 11.585-47.267 34.75-59.969 18.303-10.088 41.638-15.125 70.031-15.125 69.114,0.00 103.688,28.965 103.688,86.875 0.00,36.238 -26.73,58.47 -80.156,66.688 -12.328,1.867 -21.649,6.337 -28.00,13.438 -4.857,4.855 -7.281,9.706 -7.281,14.563 0.00,13.822 7.465,21.851 22.406,24.094 22.789,3.359 41.366,13.943 55.75,31.688 14.383,17.746 21.594,38.558 21.594,62.469 0.00,7.472 -1.512,15.502 -4.50,24.094 9.715,2.244 17.175,4.289 22.406,6.156l0.00,57.719c-23.539-8.967 -44.256-13.438 -62.188-13.438 -15.693,8.966 -32.694,13.438 -51.00,13.438 z m 2.25-51.531c 11.209,0.00 19.993-4.315 26.344-12.906 5.23-7.848 7.844-17.197 7.844-28.031 0.00-26.151 -11.398-39.219 -34.188-39.219 -23.535,0.00 -35.313,12.908 -35.313,38.688 0.00,27.645 11.778,41.469 35.313,41.469 z m 3.906-228.094c 31.384,0.00 47.094-9.54 47.094-28.594 0.00-20.176 -14.389-30.25 -43.156-30.25 -32.875,0.00 -49.313,9.732 -49.313,29.156 0.00,19.802 15.114,29.688 45.375,29.688 z m 205.283,362.095c0.00-23.057 -17.437-41.749 -38.947-41.749 -21.51,0.00 -38.947,18.692 -38.947,41.749 0.00,23.057 17.437,41.749 38.947,41.749 21.51,0.00 38.947-18.692 38.947-41.749z" />
+<glyph unicode="&#xe0e4;" d="M 0.489,459.722 m0.00,0.00, 215.01-215.00 0.00-210.569 -79.062,0.00 0.00-45.876 240.114,0.00 0.00,45.876 -79.062,0.00 0.00,210.569L 512.489,459.722z" />
+<glyph unicode="&#xe0e3;" d="M 476.417,227.564 m0.00,0.00,-164.552,0.00 21.25-96.988 132.949,0.00 z m -277.885,0.00 -164.552,0.00 10.352-96.988 132.949,0.00 z m 307.853,28.333c 3.634-3.996 5.087-8.354 4.359-13.076L 496.577,112.052C 494.634,103.502 488.539,96.912 480.231,96.796l-160.193,0.00c-8.615,0.573 -14.323,5.975 -15.802,13.621l-25.609,113.878c-13.858,8.631 -32.079,7.373 -46.859,1.09L 206.16,110.417C 204.128,102.136 198.218,96.892 190.359,96.796L 30.166,96.796C 21.154,97.507 15.136,104.009 14.365,112.052L 0.199,242.821c-0.726,5.085 0.545,9.444 3.814,13.076l 184.167,94.807c 8.834,3.941 17.583,0.156 21.25-7.628 3.076-8.891 1.079-19.018 -7.083-22.885l-116.602-52.853 337.276,0.00 -116.602,52.853c-8.65,4.903 -10.887,14.778 -7.628,22.885 4.624,8.294 13.993,11.047 21.795,7.628z" />
+<glyph unicode="&#xe0e2;" d="M 256.00,480.00 m0.00,0.00,c-141.385,0.00 -256.00-114.615 -256.00-256.00 0.00-141.385 114.615-256.00 256.00-256.00 141.385,0.00 256.00,114.615 256.00,256.00 0.00,141.385 -114.615,256.00 -256.00,256.00 z M 192.535,410.618c 9.322-5.019 20.341-9.768 33.07-14.249 12.729-4.482 25.368-6.728 37.917-6.728 9.261,0.018 18.50,2.317 26.359,8.073 7.609,4.56 14.974,8.199 24.738,7.262 10.032-1.096 20.597-4.55 31.189-5.123 13.266-7.171 26.179-16.121 38.727-26.877 -6.095-0.358 -12.559-1.00 -19.372-1.897 -6.813-0.896 -13.437-2.228 -19.891-4.02 -6.454-1.792 -12.373-4.135 -17.751-7.003 -5.378-2.868 -9.324-6.445 -11.834-10.748 -3.944-6.454 -6.719-11.924 -8.332-16.405 -3.321-9.293 -2.536-24.119 -10.213-30.93 -1.613-1.076 -2.961-2.327 -4.037-3.761 -1.076-1.434 -1.525-3.311 -1.345-5.641 0.179-2.33 1.35-5.651 3.502-9.953 1.076-2.51 1.958-5.557 2.675-9.143 6.811,0.022 13.876,1.047 19.907,5.382l 35.502-3.226c 9.164,10.322 19.843,10.494 29.033,0.00 2.868-2.868 5.916-7.183 9.143-12.92l-15.06-10.213c-3.586,1.076 -7.884,3.225 -12.904,6.452 -2.504,1.434 -5.023,3.054 -7.538,4.847 -14.308,6.945 -42.325-1.143 -58.083-2.156 -2.055-4.109 -3.71-8.134 -8.592-9.143 -0.848-2.659 -0.029-5.512 -1.086-8.073 -6.813-10.756 -9.138-22.049 -6.987-33.88 3.944-18.644 13.616-27.963 29.033-27.963l 1.621,0.00 4.296,0.00c 7.529,0.00 12.822-0.353 15.87-1.07 3.048-0.717 4.571-1.262 4.571-1.621 -1.792-4.303 -2.418-7.703 -1.88-10.213 1.776-8.053 7.586-14.147 6.987-22.857 -0.557-11.079 -4.04-20.631 -0.259-31.741 4.311-10.777 9.726-22.479 13.714-33.605 1.613-3.227 4.035-5.20 7.262-5.917 6.454-1.076 14.522,3.223 24.203,12.904 7.171,7.888 11.293,16.502 12.369,25.824 1.42,8.251 7.236,15.582 9.143,24.203l0.00,6.987c 1.789,3.586 3.313,7.082 4.571,10.488 1.794,4.951 1.991,11.26 2.415,16.94 5.637,5.637 11.136,10.669 15.06,17.751 2.51,4.303 3.232,8.056 2.156,11.283 -0.345,0.717 -1.243,1.439 -2.691,2.156l-8.073,3.226c 0.138,4.508 8.427,3.837 12.369,3.226l 19.356,11.834c-0.717-24.381 -5.465-47.96 -14.249-70.728 -8.784-22.767 -21.777-43.283 -38.987-61.568 -22.946-25.098 -50.471-43.031 -82.561-53.787 -32.09-10.756 -65.165-12.906 -99.226-6.452 5.864,10.36 9.249,22.033 16.146,32.276 0.00,5.378 0.802,9.95 2.415,13.714 6.845,15.836 18.014,19.957 30.93,32.259 13.033,13.585 12.911,29.637 13.439,49.216 -0.178,12.393 -19.992,20.00 -29.05,26.894 -20.993,14.147 -34.324,34.961 -64.259,28.774 -10.699-1.091 -13.288-3.17 -21.252,3.485l-3.226,1.621 0.276,1.07 1.345,2.691c 3.213,3.361 -1.348,7.586 -5.657,6.192 -0.896-0.179 -1.875-0.276 -2.95-0.276 -0.983,4.803 -4.206,9.272 -4.847,14.525 5.019-3.944 9.334-6.911 12.92-8.883 3.584-1.972 6.632-3.32 9.143-4.037 2.51-1.076 4.659-1.429 6.452-1.07 3.944,0.717 6.173,4.663 6.711,11.834 0.538,7.171 0.281,15.416 -0.794,24.738 1.076,1.433 1.781,2.877 2.14,4.312 3.789,19.596 13.825,15.299 29.05,20.96 2.51,1.434 3.039,3.231 1.605,5.382 0.00,0.359 -0.08,0.535 -0.259,0.535 -0.179,0.00 -0.276,0.193 -0.276,0.551 8.277,4.157 13.152,12.668 18.286,20.425 -4.374,6.932 -11.165,12.72 -18.821,16.681 -4.106,5.064 -20.223,1.959 -23.668,10.213 -2.868,0.359 -5.018,0.904 -6.452,1.621 -14.521,9.41 -20.654,25.865 -36.296,32.535 -6.275,0.538 -12.466,0.441 -18.561-0.276 18.286,14.70 38.191,25.639 59.704,32.81 z M 61.844,258.95c 3.227-5.378 7.173-10.222 11.834-14.525 24.191-22.223 46.931-26.933 77.974-38.176 1.433-1.076 3.406-2.872 5.917-5.382 3.382-2.567 6.244-5.641 9.694-8.073 0.00-1.792 -0.273-4.295 -0.81-7.522 -0.538-3.227 -0.634-8.424 -0.276-15.595 1.036-19.953 17.492-35.749 22.047-54.857 -4.04-24.763 -4.098-49.102 -6.987-73.678 -24.381,10.039 -45.794,24.379 -64.259,43.023 -18.465,18.644 -32.724,40.33 -42.764,65.07 -7.171,17.927 -11.742,36.133 -13.714,54.598 -1.974,18.465 -1.525,36.831 1.345,55.117z" />
+<glyph unicode="&#xe0fd;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 253.938,414.469C 268.274,414.469 282.015,413.026 295.156,410.125C 308.298,407.226 320.866,403.027 332.813,397.562C 331.106,397.904 328.887,398.411 326.156,399.094C 312.477,401.807 299.846,402.999 287.219,394.50C 279.449,389.657 270.927,385.928 261.125,386.312C 249.519,386.312 237.839,388.262 226.063,392.187C 214.286,396.113 203.779,400.472 194.563,405.25C 213.335,411.394 233.116,414.469 253.938,414.469 z M 143.219,375.406C 146.472,375.393 149.576,375.028 152.563,374.281C 157.341,373.087 160.606,370.598 162.313,366.844C 164.702,362.065 168.015,357.627 172.281,353.531C 176.548,349.435 181.065,345.853 185.844,342.781C 188.574,342.099 190.793,341.433 192.50,340.75C 197.57,338.966 200.298,334.181 205.813,334.094C 209.909,335.459 213.173,334.413 215.563,331.00C 223.104,327.217 229.785,321.968 234.50,314.625C 229.876,306.929 224.586,298.506 216.063,294.156C 216.404,294.156 216.563,294.046 216.563,293.875C 216.563,293.704 216.752,293.625 217.094,293.625C 218.461,291.236 217.764,289.365 215.031,288.00C 213.325,287.317 211.724,286.81 210.188,286.469C 208.651,286.127 207.019,285.779 205.313,285.437C 200.875,284.755 197.959,283.899 196.594,282.875C 196.594,282.192 196.087,281.844 195.063,281.844C 195.063,281.502 193.969,280.409 191.75,278.531C 189.531,276.654 187.74,272.803 186.375,267.00C 186.034,265.635 185.337,264.272 184.313,262.906C 185.337,253.349 185.606,245.916 185.094,240.625C 184.582,235.334 182.442,232.18 178.688,231.156C 176.982,230.815 174.763,231.163 172.031,232.187C 169.642,232.87 166.647,234.154 163.063,236.031C 159.478,237.909 155.31,240.904 150.531,245.00C 151.231,238.801 153.057,232.419 155.125,226.062C 159.516,226.924 167.075,226.425 163.844,219.906C 161.53,217.563 162.163,215.973 165.375,214.781C 166.738,214.44 168.101,213.236 169.469,211.187C 174.766,210.72 180.207,210.598 186.125,211.719C 191.075,212.401 196.337,212.56 201.969,212.219C 207.601,211.877 213.163,210.594 218.625,208.375C 234.191,201.868 246.823,181.351 263.938,173.812C 268.202,171.082 271.705,168.356 274.438,165.625C 277.168,162.894 278.531,159.82 278.531,156.406C 278.503,144.566 277.461,132.516 274.438,120.562C 273.413,117.49 270.259,113.243 264.969,107.781C 259.679,102.32 253.609,97.185 246.781,92.406C 244.051,90.358 241.673,87.981 239.625,85.25C 237.918,82.861 236.286,79.786 234.75,76.031C 233.214,72.277 232.438,67.839 232.438,62.719C 229.707,57.599 227.409,52.892 225.531,48.625C 223.654,44.358 222.053,40.887 220.688,38.156C 219.322,34.402 217.928,31.327 216.563,28.937C 202.976,29.727 190.288,34.816 177.656,42.25C 179.131,66.519 183.964,90.574 186.375,114.437C 187.058,116.827 186.868,119.046 185.844,121.094C 174.867,142.909 161.99,153.81 164.875,184.062C 165.558,187.476 165.875,190.043 165.875,191.75C 161.362,196.197 155.072,199.652 150.531,205.062C 119.511,219.602 87.20,220.714 64.50,253.187C 68.254,278.105 76.544,300.96 89.344,321.781C 102.144,342.603 118.104,360.354 137.219,375.031C 139.267,375.287 141.267,375.414 143.219,375.406 z M 377.344,369.906C 398.506,352.157 415.243,330.665 427.531,305.406C 439.819,280.148 445.938,252.506 445.938,222.469L 445.938,218.875L 429.563,213.75C 422.633,215.659 415.252,210.64 412.156,204.031L 420.875,200.969C 422.24,200.286 423.096,199.589 423.438,198.906C 425.334,194.048 423.33,188.144 421.875,183.031C 419.137,179.421 414.642,176.03 411.125,172.281C 410.784,170.575 410.625,168.007 410.625,164.594C 410.625,159.132 408.406,152.476 403.969,144.625C 404.651,142.236 404.651,140.017 403.969,137.969C 402.945,133.531 401.423,129.284 399.375,125.187C 396.992,121.091 395.597,117.32 395.25,113.906C 393.885,104.69 389.795,96.163 382.969,88.312C 373.753,78.755 365.733,74.507 358.906,75.531C 355.834,76.214 353.536,78.164 352.00,81.406C 346.957,92.089 343.815,103.272 338.438,114.937C 334.801,124.628 337.442,135.79 338.188,146.187C 338.464,153.896 333.339,160.904 331.781,168.437C 331.439,170.998 332.104,174.50 333.813,178.937C 333.476,179.279 331.875,179.897 328.969,180.75C 313.478,185.09 302.218,176.80 289.031,188.687C 283.741,193.466 280.238,200.281 278.531,209.156C 276.483,221.444 278.861,232.539 285.688,242.437C 286.029,243.462 286.219,244.476 286.219,245.50C 286.219,247.889 286.377,249.601 286.719,250.625C 288.416,250.966 289.859,251.663 291.063,252.687C 292.248,253.712 293.183,254.726 293.875,255.75C 294.899,257.114 295.596,258.477 295.938,259.844C 332.383,263.167 340.167,269.966 372.75,250.625L 387.594,260.875C 384.18,266.678 381.185,270.926 378.625,273.656C 369.982,282.734 359.07,284.297 350.219,273.656L 314.375,276.75C 309.683,272.147 301.491,272.005 294.906,271.625C 294.906,274.697 294.05,277.772 292.344,280.844C 290.296,284.94 289.281,288.173 289.281,290.562C 289.281,292.95 289.788,294.82 290.813,296.187C 301.669,310.494 299.522,311.497 303.875,330.50C 305.411,334.937 308.216,340.389 312.313,346.875C 321.881,360.452 358.313,367.922 377.344,369.906z" />
+<glyph unicode="&#xe0fc;" d="M0.00,480.00L0.00,389.969C 31.861,420.799 85.098,435.414 132.625,435.812L 290.375,435.812L 248.375,401.937L 203.063,401.937C 214.014,391.861 224.17,381.034 232.25,367.562C 242.699,349.795 248.184,328.913 248.375,306.969C 248.279,285.847 243.194,262.275 230.063,242.562C 219.341,226.798 203.944,213.135 187.75,200.531C 177.101,189.836 167.811,180.921 167.031,163.969C 167.158,151.33 175.432,139.932 186.688,131.75C 205.526,117.14 221.65,104.932 239.344,89.719C 256.316,75.073 272.085,56.943 282.188,34.844C 290.819,14.806 290.91-9.55 284.938-32.00L 512.00-32.00L 512.00,301.531L 417.563,301.531L 417.563,206.00L 376.656,206.00L 376.656,301.531L 282.188,301.531L 282.188,340.844L 376.656,340.844L 376.656,435.812L 417.563,435.812L 417.563,340.844L 512.00,340.844L 512.00,480.00L0.00,480.00 z M 93.50,409.625C 84.283,409.423 74.916,407.396 66.031,403.344C 48.176,394.604 35.063,380.501 30.281,359.094C 26.592,336.95 27.409,313.515 33.031,289.781C 39.695,262.71 52.959,237.024 76.938,218.25C 95.022,205.477 122.414,203.571 145.469,209.812C 163.492,215.176 176.403,232.208 183.406,250.75C 189.765,270.856 187.566,293.702 182.031,316.781C 174.839,346.254 160.531,374.71 135.344,396.219C 123.791,405.191 108.862,409.962 93.50,409.625 z M 0.00,204.344L0.00,74.437C 25.682,93.412 61.337,95.726 93.625,96.812C 103.632,96.812 112.253,96.98 119.531,97.344C 114.437,104.258 109.444,111.546 104.531,119.187C 93.478,136.891 96.204,158.493 104.25,177.625C 66.479,172.78 32.841,179.743 0.00,204.344 z M 126.531,76.687C 108.60,76.622 91.157,73.321 73.406,70.875C 45.858,65.533 19.751,54.546 0.00,32.437L0.00-32.00L 241.281-32.00C 242.109-29.487 242.344-26.64 242.344-23.813C 242.157-5.056 229.70,12.026 214.50,25.031C 193.153,43.168 168.411,57.878 144.656,75.531C 138.538,76.375 132.508,76.709 126.531,76.687z" />
+<glyph unicode="&#xe0fb;" d="M0.00,417.906L0.00,30.094L 512.00,30.094L 512.00,417.906L0.00,417.906 z M 62.938,355.469L 449.063,355.469L 449.063,92.531L 62.938,92.531L 62.938,355.469 z M 391.438,334.656L 325.625,220.531L 294.75,284.906L 275.375,325.344L 251.188,287.625L 197.094,203.375L 174.875,226.719L 158.719,243.687L 140.75,228.656L 77.219,175.625L 109.25,137.25L 154.813,175.281L 182.844,145.844L 204.813,122.781L 222.00,149.562L 269.063,222.906L 301.063,156.125L 321.563,113.344L 345.25,154.469L 434.75,309.687L 391.438,334.656z" />
+<glyph unicode="&#xe0fa;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C 0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 107.156,336.719L 404.844,336.719L 404.844,111.281L 107.156,111.281L 107.156,336.719 z M 143.75,300.437L 143.75,147.562L 368.25,147.562L 368.25,300.437L 143.75,300.437 z M 334.75,288.344L 359.906,273.812L 307.875,183.562L 294.125,159.656L 282.188,184.531L 263.594,223.375L 236.219,180.719L 226.25,165.156L 213.469,178.562L 197.188,195.687L 170.688,173.562L 152.063,195.875L 189.00,226.719L 199.438,235.437L 208.844,225.594L 221.75,212.00L 253.188,261.00L 267.25,282.906L 278.531,259.406L 296.469,221.969L 334.75,288.344z" />
+<glyph unicode="&#xe091;" d="M 254.654,399.578 m0.00,0.00,c-44.093,0.00 -79.838-41.732 -79.838-93.212 0.00-35.703 17.193-66.71 42.44-82.367l-29.277-13.568 -77.909-36.134c-7.526-3.764 -11.283-10.145 -11.283-19.177 0.00-28.601 0.00-57.202 0.00-85.803 0.619-10.728 7.056-20.726 17.491-20.896l 277.171,0.00c 11.914,1.036 17.941,10.633 18.059,20.896 0.00,28.601 0.00,57.202 0.00,85.803 0.00,9.032 -3.756,15.414 -11.283,19.177l-75.088,36.134 -31.206,14.784c 24.211,16.009 40.559,46.346 40.559,81.151 0.00,51.479 -35.745,93.212 -79.838,93.212 z m -128.778-32.778c-18.975-0.721 -34.013-8.931 -45.439-22.014 -12.638-15.751 -18.799-34.453 -18.918-53.058 0.776-27.511 13.085-53.554 34.999-67.177l-87.489-40.657c-6.021-2.258 -9.029-7.526 -9.029-15.806l0.00-68.863c 0.47-9.133 5.212-16.808 14.103-16.94l 58.148,0.00 0.00,72.835c 0.962,19.473 10.107,35.212 26.537,42.894l 58.132,27.655c 4.516,2.635 8.845,6.215 12.985,10.732 -23.969,36.982 -27.297,81.276 -11.85,120.235 -10.046,6.148 -21.337,10.099 -32.178,10.164 z m 259.664,0.00c-12.409-0.26 -23.876-4.829 -33.297-11.283 15.026-39.312 10.881-83.634 -11.299-117.982 4.893-5.645 9.986-9.974 15.254-12.985l 55.878-26.537c 17.023-9.336 25.801-25.215 25.97-42.894l0.00-72.835 59.834,0.00c 9.84,0.85 14.034,8.698 14.12,16.94l0.00,68.863c0.00,7.527 -3.008,12.794 -9.029,15.806l-86.371,41.224c 22.399,16.515 33.647,41.267 33.864,66.61 -0.595,20.058 -6.723,38.684 -18.918,53.058 -12.743,13.824 -28.548,21.868 -46.006,22.014z" />
+<glyph unicode="&#xe090;" d="M 256.00,480.00 m0.00,0.00,c-141.385,0.00 -256.00-114.615 -256.00-256.00 0.00-141.385 114.615-256.00 256.00-256.00 141.385,0.00 256.00,114.615 256.00,256.00 0.00,141.385 -114.615,256.00 -256.00,256.00 z m -0.519-142.346c 23.613-0.31 43.171-19.533 49.67-44.028 2.477-9.994 2.757-20.134 0.259-30.719 -3.766-14.903 -11.306-29.46 -25.354-38.403l 20.474-9.726 48.648-23.554c 4.779-2.048 7.165-6.144 7.165-12.288l0.00-47.092c0.00-9.712 0.771-18.087 -11.267-21.512l-179.194,0.00c-11.577,0.167 -12.056,11.893 -11.785,21.512l0.00,47.092c0.00,6.144 2.564,10.417 7.684,12.806l 50.172,23.035 19.469,9.224c-8.874,5.803 -15.873,13.817 -20.993,24.057 -6.148,13.518 -8.586,31.067 -4.101,47.108 5.67,21.744 23.426,41.279 49.151,42.488 z m -83.453-21.495c 7.51,0.00 14.33-2.225 20.474-6.663 -1.704-4.778 -3.147-9.817 -4.345-15.108 -1.194-5.29 -1.799-10.829 -1.799-16.632 0.00-8.534 1.193-16.725 3.583-24.576 2.389-7.851 5.807-15.026 10.245-21.512 -2.048-2.731 -4.773-5.117 -8.186-7.165l-37.901-17.41c-5.12-2.731 -9.216-6.56 -12.288-11.51 -3.072-4.949 -4.604-10.504 -4.604-16.648l0.00-47.092 -37.366,0.00c-5.421,0.085 -9.082,5.548 -9.224,11.25l0.00,44.547c0.00,5.12 1.871,8.539 5.625,10.245l 56.835,26.116c-14.684,9.027 -21.769,25.342 -22.517,43.51 0.259,22.384 14.93,46.789 41.467,48.648 z m 167.927,0.00c 23.591-0.373 40.631-23.762 41.483-48.648 -0.13-16.467 -6.558-32.368 -21.512-43.007l 55.814-26.618c 3.755-2.048 5.625-5.467 5.625-10.245l0.00-44.547c-0.056-5.287 -2.91-10.71 -9.208-11.25l-38.403,0.00 0.00,47.092c0.00,6.144 -1.532,11.699 -4.604,16.648 -3.072,4.949 -7.168,8.779 -12.288,11.51 -15.916,7.398 -34.196,12.708 -46.087,25.094 8.874,13.653 13.309,28.843 13.309,45.568 0.00,10.582 -1.871,20.998 -5.625,31.238 6.166,4.071 13.465,7.051 21.495,7.165z" />
+<glyph unicode="&#xe08f;" d="M 261.43,318.388 204.448,407.621c-3.336,6.398 -1.826,14.124 3.763,17.739 6.392,3.356 13.609,1.787 17.201-3.763L 282.393,331.826c 3.336-6.398 1.828-14.126 -3.763-17.739 -6.374-3.073 -14.185-0.989 -17.201,4.30 z m 239.209-16.664c 9.166-16.616 -13.552-30.238 -24.19-36.016 -9.317,0.72 -18.187,1.705 -26.608,2.957 -8.421,1.254 -15.858,2.419 -22.308,3.494 -7.526,1.434 -14.513,2.866 -20.964,4.30 -0.73-3.584 -1.715-7.347 -2.957-11.289 -1.261-3.942 -2.784-8.063 -4.569-12.364 -36.643,7.927 -79.798,29.371 -99.984,62.356l 68.806,70.419 12.364,44.617 26.34-32.253c 18.171-5.108 43.38-5.467 51.067-24.19 6.657-11.215 6.118-34.999 13.439-44.078 3.942-3.942 8.243-7.526 12.901-10.751 4.658-3.226 10.213-8.959 16.664-17.201 z M 242.614,152.286c-16.285,0.116 -33.279,5.765 -49.455,5.913 -9.317,1.075 -12.722-3.046 -10.213-12.364l 22.577-90.846c-0.303-14.593 -8.231-25.768 -19.89-27.684 -11.346-1.09 -22.754,9.144 -25.265,16.933l-29.028,113.96c-0.717,3.942 -2.957,5.823 -6.72,5.644 -3.763-0.179 -6.181-2.06 -7.257-5.644L 90.489,44.776c-3.544-10.644 -12.132-17.611 -22.577-17.739 -15.419,0.272 -26.064,14.593 -23.114,27.953l 32.791,134.387 2.688,81.169c-28.421,7.21 -64.337,26.654 -78.482,53.755 -3.99,8.76 -1.098,17.257 6.451,21.502 8.923,4.078 19.015,0.152 22.577-5.913 13.917-21.783 44.639-35.664 65.581-36.016l 160.189,0.00C 246.68,254.161 241.135,204.445 242.614,152.286 z m 39.241,142.45c 27.135-35.287 66.239-57.40 108.047-66.119 -3.892-11.648 -9.089-22.981 -12.632-33.597 -1.612-4.838 -1.165-11.916 1.344-21.233 10.301-39.464 21.628-81.596 31.716-118.26 3.929-30.711 -38.722-30.057 -45.154-11.289L 342.062,132.397c-6.378,10.826 -22.329,13.354 -25.802,0.00L 295.294,44.776c-10.849-27.054 -49.557-8.864 -45.154,10.213l 19.89,81.707c 0.358,2.866 0.179,5.734 -0.537,8.601 0.347,49.784 1.935,100.719 12.364,149.439z" />
+<glyph unicode="&#xe08e;" d="M 97.221,480.00 m0.00,0.00, 177.284,0.00c 18.762-0.935 32.309-16.123 32.534-32.81l0.00-79.406c 17.431-22.697 41.623-38.783 59.141-60.657 6.158-7.72 13.005-13.694 20.541-17.921 27.00-13.744 58.434-5.417 79.957-24.952 16.846-39.257 -6.72-86.285 -43.701-99.533 -30.20-10.413 -60.316-3.435 -86.988,9.512 0.077-46.872 -0.302-93.743 -0.551-140.614 -2.849-38.158 -28.54-65.366 -65.068-65.62 -36.811,0.104 -63.58,31.839 -64.241,65.62l0.00,55.143c-10.845,1.838 -20.678,5.422 -29.501,10.753 -22.675-3.089 -44.905,3.98 -60.933,17.646C-15.186,124.661 62.463,296.123 64.412,360.34l0.00,86.85c 0.894,18.893 16.038,32.584 32.81,32.81 z m 0.00-118.281c-1.106-51.381 -78.787-226.948 32.534-210.094 10.014-18.579 36.815-25.728 53.764-14.337 17.069-17.308 38.513-22.237 55.418-5.514 0.00-16.543 0.092-32.902 0.276-49.077 0.184-16.175 0.276-32.534 0.276-49.077 0.398-18.931 14.288-32.052 30.88-32.258 19.616,0.432 32.058,15.323 32.258,32.258 0.003,64.164 0.545,127.416 0.551,186.934 42.992-5.356 101.37-56.648 135.238-4.274 4.118,8.385 5.866,15.09 4.274,23.849 -0.735,1.47 -1.47,2.298 -2.206,2.481 -0.735,0.184 -1.93,0.46 -3.584,0.827 -34.078,5.566 -68.152,10.761 -90.71,37.221 -22.333,29.125 -57.493,46.299 -71.686,79.681l0.00,1.379z" />
+<glyph unicode="&#xe08d;" d="M 511.999,65.222 511.999,242.505c-0.935,18.762 -16.123,32.309 -32.81,32.534l-79.406,0.00c-22.697,17.431 -38.783,41.623 -60.657,59.141 -7.72,6.158 -13.694,13.005 -17.921,20.541 -13.744,27.00 -5.417,58.434 -24.952,79.957 -39.257,16.846 -86.285-6.72 -99.533-43.701 -10.413-30.20 -3.435-60.316 9.512-86.988 -46.872,0.077 -93.743-0.302 -140.614-0.551 -38.158-2.849 -65.366-28.54 -65.62-65.068 0.104-36.811 31.839-63.58 65.62-64.241l 55.143,0.00c 1.838-10.845 5.422-20.678 10.753-29.501 -3.089-22.675 3.98-44.905 17.646-60.933 7.499-130.88 178.962-53.231 243.179-51.283l 86.85,0.00C 498.083,33.307 511.774,48.451 511.999,65.222 z m -118.281,0.00c-51.381-1.106 -226.948-78.787 -210.094,32.534 -18.579,10.014 -25.728,36.815 -14.337,53.764 -17.308,17.069 -22.237,38.513 -5.514,55.418 -16.543,0.00 -32.902,0.092 -49.077,0.276 -16.175,0.184 -32.534,0.276 -49.077,0.276 -18.931,0.398 -32.052,14.288 -32.258,30.88 0.432,19.616 15.323,32.058 32.258,32.258 64.164,0.003 127.416,0.545 186.934,0.551 -5.356,42.992 -56.648,101.37 -4.274,135.238 8.385,4.118 15.09,5.866 23.849,4.274 1.47-0.735 2.298-1.47 2.481-2.206 0.184-0.735 0.46-1.93 0.827-3.584 5.566-34.078 10.761-68.152 37.221-90.71 29.125-22.333 46.299-57.493 79.681-71.686l 1.379,0.00z" />
+<glyph unicode="&#xe08c;" d="M0.00,65.222 m0.00,0.00,0.00,177.284C 0.935,261.267 16.123,274.814 32.81,275.039l 79.406,0.00c 22.697,17.431 38.783,41.623 60.657,59.141 7.72,6.158 13.694,13.005 17.921,20.541 13.744,27.00 5.417,58.434 24.952,79.957 39.257,16.846 86.285-6.72 99.533-43.701 10.413-30.20 3.435-60.316 -9.512-86.988 46.872,0.077 93.743-0.302 140.614-0.551 38.158-2.849 65.366-28.54 65.62-65.068 -0.104-36.811 -31.839-63.58 -65.62-64.241l-55.143,0.00c-1.838-10.845 -5.422-20.678 -10.753-29.501 3.089-22.675 -3.98-44.905 -17.646-60.933 -7.499-130.88 -178.962-53.231 -243.179-51.283l-86.85,0.00C 13.916,33.307 0.225,48.451 0.00,65.222 z m 118.281,0.00c 51.381-1.106 226.948-78.787 210.094,32.534 18.579,10.014 25.728,36.815 14.337,53.764 17.308,17.069 22.237,38.513 5.514,55.418 16.543,0.00 32.902,0.092 49.077,0.276 16.175,0.184 32.534,0.276 49.077,0.276 18.931,0.398 32.052,14.288 32.258,30.88 -0.432,19.616 -15.323,32.058 -32.258,32.258 -64.164,0.003 -127.416,0.545 -186.934,0.551 5.356,42.992 56.648,101.37 4.274,135.238 -8.385,4.118 -15.09,5.866 -23.849,4.274 -1.47-0.735 -2.298-1.47 -2.481-2.206 -0.184-0.735 -0.46-1.93 -0.827-3.584 -5.566-34.078 -10.761-68.152 -37.221-90.71 -29.125-22.333 -46.299-57.493 -79.681-71.686l-1.379,0.00z" />
+<glyph unicode="&#xe0b5;" d="M 97.221-31.999 m0.00,0.00, 177.284,0.00c 18.762,0.935 32.309,16.123 32.534,32.81l0.00,79.406c 17.431,22.697 41.623,38.783 59.141,60.657 6.158,7.72 13.005,13.694 20.541,17.921 27.00,13.744 58.434,5.417 79.957,24.952 16.846,39.257 -6.72,86.285 -43.701,99.533 -30.20,10.413 -60.316,3.435 -86.988-9.512 0.077,46.872 -0.302,93.743 -0.551,140.614 -2.849,38.158 -28.54,65.366 -65.068,65.62 -36.811-0.104 -63.58-31.839 -64.241-65.62l0.00-55.143c-10.845-1.838 -20.678-5.422 -29.501-10.753 -22.675,3.089 -44.905-3.98 -60.933-17.646 -130.88-7.499 -53.231-178.962 -51.283-243.179l0.00-86.85c 0.894-18.893 16.038-32.584 32.81-32.81 z m 0.00,118.281c-1.106,51.381 -78.787,226.948 32.534,210.094 10.014,18.579 36.815,25.728 53.764,14.337 17.069,17.308 38.513,22.237 55.418,5.514 0.00,16.543 0.092,32.902 0.276,49.077 0.184,16.175 0.276,32.534 0.276,49.077 0.398,18.931 14.288,32.052 30.88,32.258 19.616-0.432 32.058-15.323 32.258-32.258 0.003-64.164 0.545-127.416 0.551-186.934 42.992,5.356 101.37,56.648 135.238,4.274 4.118-8.385 5.866-15.09 4.274-23.849 -0.735-1.47 -1.47-2.298 -2.206-2.481 -0.735-0.184 -1.93-0.46 -3.584-0.827 -34.078-5.566 -68.152-10.761 -90.71-37.221 -22.333-29.125 -57.493-46.299 -71.686-79.681l0.00-1.379z" />
+<glyph unicode="&#xe0b4;" d="M 102.406,441.719 0.00,166.594l 40.969-160.313 430.063,0.00L 512.00,166.594l-102.406,275.125 -307.188,0.00 z M 40.00,141.25l 432.031,0.00 -28.00-109.625 -376.031,0.00 -28.00,109.625 z m 355.938-34.344c-11.31,0.00 -20.469-9.159 -20.469-20.469 0.00-11.31 9.159-20.50 20.469-20.50 11.31,0.00 20.50,9.19 20.50,20.50 0.00,11.31 -9.19,20.469 -20.50,20.469z" />
+<glyph unicode="&#xe0b3;" d="M 448.00,80.00 m0.00,0.00,c0.00,42.667 0.00,85.333 0.00,128.00 0.00,106.032 -85.968,192.00 -192.00,192.00 -106.032,0.00 -192.00-85.968 -192.00-192.00 0.00-42.667 0.00-85.333 0.00-128.00 -4.714-45.613 -62.975-33.684 -64.00,0.00 0.00,42.667 0.00,85.333 0.00,128.00 0.00,141.392 114.624,256.00 256.00,256.00 141.376,0.00 256.00-114.608 256.00-256.00 0.00-42.667 0.00-85.333 0.00-128.00 -4.714-45.613 -62.975-33.684 -64.00,0.00 z m -336.00,96.00 32.00,0.00c 8.832,0.00 16.00-7.152 16.00-16.00l0.00-160.00c0.00-8.848 -7.168-16.00 -16.00-16.00l-32.00,0.00c-8.832,0.00 -16.00,7.152 -16.00,16.00l0.00,160.00c0.00,8.848 7.168,16.00 16.00,16.00 z m 256.00,0.00 32.00,0.00c 8.848,0.00 16.00-7.152 16.00-16.00l0.00-160.00c0.00-8.848 -7.152-16.00 -16.00-16.00l-32.00,0.00c-8.848,0.00 -16.00,7.152 -16.00,16.00l0.00,160.00c0.00,8.848 7.152,16.00 16.00,16.00z" />
+<glyph unicode="&#xe0b2;" d="M 492.298,472.323 m0.00,0.00,c 11.125-12.898 10.76-29.441 0.00-40.494l-69.739-70.302c-12.785-11.177 -28.949-10.69 -39.931,0.00 -10.909,12.546 -10.99,29.923 0.00,40.494L 452.366,472.323c 12.163,10.326 29.485,10.144 39.931,0.00 z M 144.163,161.87c 12.163,10.325 29.485,10.144 39.931,0.00 10.703-12.192 11.201-30.452 0.00-40.494L 56.988-6.854c-12.785-11.177 -28.949-10.69 -39.931,0.00 -10.91,12.546 -10.99,29.923 0.00,40.494 z m 122.606,93.361c-1.018,20.663 -17.645,35.747 -35.995,35.995 -20.379-1.125 -35.738-17.688 -35.995-35.995 -0.87-13.109 -9.37-21.776 -21.372-21.934 -13.269,0.975 -21.225,10.094 -21.372,21.934 0.741,22.039 8.636,41.60 23.059,56.241 16.071,15.05 35.379,22.912 55.679,23.059 22.008-0.715 41.109-8.70 55.679-23.059 15.071-16.17 22.911-35.84 23.059-56.241 -0.87-13.109 -9.37-21.776 -21.372-21.934 -13.269,0.975 -21.225,10.094 -21.372,21.934 z M 230.774,417.769c 43.174-0.926 83.153-18.24 111.358-46.40 29.709-31.487 45.83-72.49 46.118-112.201 -0.891-36.108 -7.284-53.227 -24.184-80.988 -9.224-21.99 -30.497-38.299 -41.90-58.21 -6.464-20.578 -1.705-42.997 -2.531-65.803 -0.308-25.434 -10.267-53.87 -27.839-67.771 -19.687-11.474 -40.236-15.747 -58.21-15.747 -14.951,1.164 -24.442,11.983 -25.308,25.308 -0.486,6.936 2.242,13.418 6.749,17.997 11.328,11.551 22.44,7.178 36.276,10.686 4.996,1.587 12.21,3.481 14.06,8.718 3.184,9.819 3.082,21.838 3.093,30.089 0.933,20.955 -2.996,40.241 1.406,59.897 3.018,12.664 7.981,24.646 15.467,34.307 5.058,6.653 10.844,12.505 15.185,18.279 6.246,7.728 11.307,16.088 16.31,23.903 5.397,8.257 9.624,16.445 14.623,24.465 4.013,11.541 5.593,23.641 5.624,34.87 -1.018,29.66 -11.805,55.942 -31.214,75.644 -21.632,20.232 -47.736,31.013 -75.082,31.214 -29.628-0.992 -55.451-11.868 -75.082-31.214 -20.252-21.731 -31.013-48.196 -31.214-75.644 -1.086-15.149 -11.455-25.682 -25.308-25.871 -15.221,1.142 -25.682,12.031 -25.871,25.871 0.983,43.33 18.19,83.494 46.118,112.201 30.99,30.066 71.846,46.112 111.358,46.40z" />
+<glyph unicode="&#xe0b1;" d="M 480.13,377.844 m0.00,0.00,c 22.24-68.717 3.628-138.642 -35.596-191.326 -25.89-35.727 -56.832-66.518 -88.465-93.438 -29.104-27.09 -94.233-80.695 -111.498-82.184 -15.259,2.917 -32.38,20.171 -44.495,29.052C 132.007,91.694 58.731,154.621 21.577,223.422 -9.574,289.475 -9.631,371.174 38.851,421.815c 62.865,56.674 157.641,45.599 205.72-13.61 12.912,16.751 28.791,29.925 47.635,39.521 76.393,30.493 155.866-0.579 187.923-69.883z" />
+<glyph unicode="&#xe0b0;" d="M 256.259,477.406C 114.874,477.406 0.259,362.791 0.259,221.406C 0.259,80.021 114.874-34.594 256.259-34.594C 397.644-34.594 512.259,80.021 512.259,221.406C 512.259,362.791 397.644,477.406 256.259,477.406 z M 312.916,330.845C 343.335,331.32 370.846,314.782 383.886,286.59C 395.95,249.317 385.854,211.401 364.58,182.825C 350.537,163.447 333.754,146.735 316.596,132.134C 300.81,117.44 265.478,88.362 256.114,87.554C 247.837,89.137 238.546,98.51 231.976,103.327C 195.054,131.394 155.318,165.511 135.165,202.829C 118.269,238.656 118.238,282.984 144.535,310.452C 178.633,341.192 230.035,335.175 256.114,303.06C 263.117,312.145 271.732,319.301 281.953,324.507C 292.312,328.641 302.776,330.686 312.916,330.845z" />
+<glyph unicode="&#xe0e1;" d="M 338.864,461.206 m0.00,0.00,c-19.667-0.202 -39.839-4.042 -59.575-11.921l-0.896-0.381 -0.896-0.462c-12.511-6.371 -23.914-14.342 -34.05-23.787 -54.554,47.184 -141.406,50.608 -200.827-2.959l-0.597-0.543 -0.543-0.571c-52.125-54.445 -50.904-138.294 -19.659-204.547l 0.272-0.516 0.272-0.543c 36.799-68.143 105.514-126.044 168.133-173.646l 0.163-0.135 0.135-0.109c 4.029-2.954 10.956-9.059 18.953-15.07 7.998-6.01 17.03-12.597 30.249-15.124l 2.959-0.571 2.987,0.244c 13.873,1.196 19.315,6.319 28.43,12.056 9.114,5.738 19.204,13.02 29.57,20.989 20.435,15.71 41.579,33.817 55.501,46.731 0.179,0.166 0.475,0.405 0.652,0.571 0.029,0.025 0.052,0.057 0.081,0.081 29.329,25.027 58.381,53.878 83.008,87.814 0.008,0.01 0.02,0.017 0.027,0.027 0.047,0.062 0.09,0.128 0.135,0.19 39.059,52.588 58.006,123.456 35.408,193.278l-0.407,1.249 -0.543,1.168C 452.435,429.574 397.864,461.812 338.864,461.206 z m 0.706-42.957c 42.51,0.978 79.771-21.784 98.268-60.715 17.092-54.502 2.317-110.033 -29.516-152.792l-0.081-0.109 -0.081-0.109c-22.176-30.602 -49.033-57.389 -76.871-81.08l-0.353-0.326 -0.353-0.326c-12.536-11.669 -33.754-29.846 -53.139-44.749 -9.693-7.452 -18.984-14.11 -26.203-18.654 -2.714-1.709 -5.295-2.874 -7.413-3.774 -2.227,1.216 -5.052,2.929 -7.983,5.132 -5.903,4.435 -12.187,10.098 -19.035,15.152 -0.107,0.081 -0.219,0.163 -0.326,0.244C 155.713,122.366 91.702,178.49 60.921,235.073 35.932,288.459 37.023,352.357 72.326,389.901 120.327,432.582 191.642,423.302 227.208,379.502l 17.324-21.316 16.754,21.75c 9.639,12.505 21.144,22.067 35.109,29.326 14.639,5.718 29.183,8.666 43.174,8.988z" />
+<glyph unicode="&#xe0e0;" d="M 256.00,480.00 m0.00,0.00,-231.832-180.191 0.00-331.809 159.50,0.00 0.00,200.303 144.663,0.00 0.00-200.303 159.50,0.00 0.00,331.809L 256.00,480.00z" />
+<glyph unicode="&#xe0df;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 256.00,362.031L 381.00,264.875L 381.00,85.969L 295.00,85.969L 295.00,193.969L 217.00,193.969L 217.00,85.969L 131.00,85.969L 131.00,264.875L 256.00,362.031z" />
+<glyph unicode="&#xe0de;" d="M 309.867,3.746 m0.00,0.00,c 2.20,0.00 4.125-0.825 5.774-2.475 1.65-1.65 2.475-3.575 2.475-5.774l0.00-18.698c0.00-2.567 -0.825-4.675 -2.475-6.324 -1.65-1.65 -3.575-2.475 -5.774-2.475l-107.24,0.00c-5.866,0.00 -8.799,2.933 -8.799,8.799l0.00,18.698c0.00,2.20 0.825,4.125 2.475,5.774 1.65,1.65 3.758,2.475 6.324,2.475 z m 0.00,53.345c 2.20,0.00 4.125-0.825 5.774-2.475 1.65-1.65 2.475-3.758 2.475-6.324l0.00-18.698c0.00-2.20 -0.825-4.125 -2.475-5.774 -1.65-1.65 -3.575-2.475 -5.774-2.475l-107.24,0.00c-2.567,0.00 -4.675,0.825 -6.324,2.475 -1.65,1.65 -2.475,3.575 -2.475,5.774l0.00,18.698c0.00,5.866 2.933,8.799 8.799,8.799 z m 110.539,170.483 0.00,0.00 45.646-7.149c 4.766-0.733 8.616-2.842 11.549-6.324 2.933-3.483 4.033-7.241 3.30-11.274 -0.733-4.40 -2.933-7.791 -6.599-10.174 -3.667-2.383 -8.066-3.208 -13.199-2.475l-45.645,7.149c-5.133,0.733 -9.074,2.933 -11.824,6.599 -2.75,3.667 -3.758,7.516 -3.025,11.549 0.733,4.033 2.933,7.241 6.599,9.624 3.667,2.383 8.066,3.208 13.199,2.475 z m -4.949,103.94 0.00,0.00 42.346,18.698c 4.40,2.20 8.707,2.658 12.924,1.375 4.216-1.288 7.241-3.946 9.074-7.974 1.833-4.035 1.833-8.068 0.00-12.099 -1.833-4.033 -5.133-6.966 -9.899-8.799l-42.346-19.248c-4.40-1.833 -8.707-2.108 -12.924-0.825 -4.216,1.285 -7.241,3.943 -9.074,7.974 -1.833,4.035 -1.742,8.068 0.275,12.099 2.017,4.035 5.224,6.968 9.624,8.799 z m -71.493,70.393 0.00,0.00 25.297,39.046c 2.933,4.033 6.508,6.691 10.724,7.974 4.223,1.283 8.164,0.825 11.824-1.375 3.667-2.567 5.774-6.049 6.324-10.449 0.55-4.40 -0.458-8.616 -3.025-12.649l-25.297-39.046c-2.933-4.038 -6.508-6.696 -10.724-7.974 -4.216-1.283 -8.157-0.825 -11.824,1.375 -3.667,2.20 -5.866,5.591 -6.599,10.174 -0.733,4.583 0.367,8.891 3.30,12.924 z m -251.875-174.333c 4.766,0.733 9.074-0.092 12.924-2.475 3.85-2.383 6.141-5.591 6.874-9.624 0.733-4.033 -0.367-7.882 -3.30-11.549 -2.933-3.667 -6.966-5.866 -12.099-6.599l-45.645-7.149c-4.766-0.733 -9.074,0.092 -12.924,2.475 -3.85,2.383 -6.141,5.774 -6.874,10.174 -0.733,4.034 0.367,7.792 3.30,11.274 2.933,3.485 6.966,5.592 12.099,6.324 z m 4.949,103.94c 4.40-1.833 7.607-4.766 9.624-8.799 2.021-4.033 2.112-8.066 0.275-12.099 -1.833-4.033 -4.949-6.691 -9.349-7.974 -4.40-1.283 -8.799-1.008 -13.199,0.825l-42.346,19.248c-4.40,1.835 -7.607,4.768 -9.624,8.799 -2.017,4.033 -2.109,8.066 -0.275,12.099 1.833,4.033 4.858,6.691 9.074,7.974 4.216,1.283 8.707,0.825 13.474-1.375 z m 70.943,70.393c 2.933-4.035 4.033-8.343 3.30-12.924 -0.733-4.583 -2.933-7.974 -6.599-10.174 -3.30-2.20 -7.149-2.658 -11.549-1.375 -4.40,1.283 -7.882,3.942 -10.449,7.974l-25.297,39.046c-2.933,4.033 -4.033,8.249 -3.30,12.649 0.733,4.40 2.933,7.882 6.599,10.449 3.30,2.20 7.149,2.658 11.549,1.375 4.40-1.289 7.882-3.947 10.449-7.974 z m 103.94,14.299c0.00-5.133 -1.467-9.349 -4.40-12.649 -2.933-3.30 -6.599-4.949 -10.999-4.949 -4.033,0.00 -7.516,1.65 -10.449,4.949 -2.933,3.30 -4.40,7.516 -4.40,12.649l0.00,46.196c0.00,5.133 1.467,9.349 4.40,12.649 2.933,3.30 6.416,4.949 10.449,4.949 4.40,0.00 8.066-1.65 10.999-4.949 2.933-3.30 4.40-7.516 4.40-12.649 z m 88.816-218.054c-7.149-14.848 -14.94-30.705 -23.373-47.57 -13.303-21.517 -12.631-46.971 -20.898-69.018 -1.467-3.85 -4.216-6.141 -8.249-6.874l-104.49,0.00c-4.033,0.733 -6.782,3.025 -8.249,6.874 -6.372,24.081 -10.241,47.532 -20.898,69.018 -8.432,16.865 -16.223,32.722 -23.373,47.57 -16.484,36.439 -25.095,78.606 -8.249,116.314 6.049,13.199 14.482,24.381 25.297,33.547 10.816,9.166 23.648,16.04 38.496,20.623 14.848,4.583 31.072,6.874 48.67,6.874l 0.55,0.00 0.55,0.00c 17.598,0.00 33.822-2.292 48.67-6.874 14.848-4.583 27.68-11.457 38.496-20.623 10.816-9.166 19.34-20.348 25.573-33.547 15.792-39.559 9.336-78.805 -8.524-116.314z" />
+<glyph unicode="&#xe0f9;" d="M 256.00,480.00 m0.00,0.00,c-141.385,0.00 -256.00-114.615 -256.00-256.00 0.00-141.385 114.615-256.00 256.00-256.00 141.385,0.00 256.00,114.615 256.00,256.00 0.00,141.385 -114.615,256.00 -256.00,256.00 z m 0.00-95.757c 0.167,0.009 0.332,0.00 0.502,0.00 2.731,0.00 4.956-1.105 6.663-3.323 1.706-2.219 2.561-4.855 2.561-7.927l0.00-28.677c0.00-3.072 -0.855-5.725 -2.561-7.943 -1.704-2.219 -3.93-3.323 -6.663-3.323 -2.731,0.00 -5.028,1.105 -6.906,3.323 -1.877,2.219 -2.821,4.871 -2.821,7.943l0.00,28.677c0.00,3.072 0.943,5.708 2.821,7.927 1.76,2.08 3.893,3.193 6.403,3.323 z m -80.324-19.113c 0.976,0.032 1.975-0.085 2.999-0.34 2.731-0.682 4.956-2.392 6.663-5.123l 15.368-24.576c 1.706-2.731 2.384-5.367 2.042-7.927 -0.342-2.56 -1.535-4.697 -3.583-6.403 -2.389-1.699 -4.953-2.127 -7.684-1.281 -2.729,0.854 -4.955,2.651 -6.663,5.382l-15.87,24.057c-1.706,2.729 -2.295,5.471 -1.783,8.203 0.512,2.726 1.794,4.935 3.842,6.646 1.493,0.853 3.042,1.308 4.669,1.362 z m 160.632,0.00c 1.627-0.053 3.192-0.508 4.685-1.362 4.776-3.755 5.453-8.705 2.042-14.849L 327.165,324.863c-1.706-2.731 -3.932-4.529 -6.663-5.382 -2.731-0.854 -5.294-0.426 -7.684,1.281 -2.048,1.706 -3.241,3.843 -3.583,6.403 -0.344,2.56 0.35,5.197 2.059,7.927l 15.352,24.576c 1.702,2.728 3.927,4.438 6.663,5.123 1.024,0.256 2.023,0.372 2.999,0.34 z m -80.827-46.411 0.519,0.00c 10.921,0.00 21.073-1.459 30.46-4.361 9.386-2.901 17.488-7.158 24.316-12.79 6.827-5.632 12.204-12.63 16.13-20.993 10.617-23.192 4.764-50.422 -5.382-72.965 -4.435-9.216 -9.386-19.117 -14.849-29.698 -3.409-7.168 -5.795-13.562 -7.165-19.194 -1.818-7.532 -2.877-16.247 -5.625-24.332 -1.024-2.389 -2.733-3.744 -5.123-4.085l-65.54,0.00c-2.731,0.341 -4.512,1.696 -5.366,4.085 -2.769,7.857 -3.532,16.061 -5.901,24.332 -1.365,5.632 -3.752,12.025 -7.165,19.194 -5.12,10.582 -9.893,20.482 -14.33,29.698 -15.385,32.31 -16.985,66.701 10.488,93.957 14.507,11.434 32.687,17.151 54.533,17.151 z m -130.659-14.622c 1.773,0.013 3.513-0.395 5.22-1.248l 26.116-11.785c 2.731-1.365 4.778-3.236 6.144-5.625 1.365-2.389 1.365-4.953 0.00-7.684 -1.024-2.389 -2.911-4.01 -5.641-4.863 -2.729-0.854 -5.454-0.604 -8.186,0.762l-26.618,11.785c-2.731,1.365 -4.706,3.325 -5.901,5.885 -1.194,2.56 -1.267,5.035 -0.243,7.425 1.024,2.389 2.983,4.009 5.885,4.863 1.088,0.32 2.162,0.478 3.226,0.486 z m 261.82,0.00c 1.237,0.051 2.475-0.113 3.745-0.486 2.901-0.854 4.877-2.474 5.901-4.863 1.024-2.389 0.935-4.864 -0.259-7.425 -1.194-2.56 -3.154-4.519 -5.885-5.885l-26.634-11.785c-2.731-1.365 -5.456-1.615 -8.186-0.762 -2.731,0.85 -4.601,2.471 -5.625,4.863 -1.365,2.731 -1.365,5.294 0.00,7.684 1.365,2.387 3.413,4.258 6.144,5.625l 26.099,11.785c 1.536,0.768 3.111,1.182 4.701,1.248 z m -231.327-77.747c 2.176,0.096 4.173-0.437 5.966-1.589 2.389-1.536 3.921-3.673 4.604-6.403 0.342-2.731 -0.424-5.117 -2.302-7.165 -1.877-2.048 -4.353-3.419 -7.425-4.101l-28.677-4.604c-3.072-0.342 -5.709,0.263 -7.927,1.799 -2.219,1.536 -3.678,3.673 -4.361,6.403 -0.682,2.731 -0.005,5.117 2.042,7.165 2.048,2.048 4.451,3.241 7.181,3.583l 28.661,4.604c 0.768,0.171 1.512,0.276 2.237,0.308 z m 200.284,0.00c 1.056,0.056 2.155-0.052 3.307-0.308l 28.677-4.604c 2.731-0.342 5.117-1.535 7.165-3.583 2.048-2.048 2.725-4.435 2.042-7.165 -0.682-2.731 -2.126-4.867 -4.345-6.403 -2.219-1.536 -4.871-2.141 -7.943-1.799l-28.661,4.604c-3.072,0.682 -5.547,2.053 -7.425,4.101 -1.877,2.048 -2.66,4.435 -2.318,7.165 0.682,2.731 2.231,4.867 4.62,6.403 1.493,0.96 3.119,1.495 4.879,1.589 z m -133.398-107.315 67.583,0.00c 3.413,0.00 5.123-1.709 5.123-5.123l0.00-11.769c0.00-3.413 -1.709-5.123 -5.123-5.123l-67.583,0.00c-3.413,0.00 -5.123,1.709 -5.123,5.123l0.00,11.769c0.00,3.413 1.709,5.123 5.123,5.123 z m 0.00-32.762 67.583,0.00c 3.413,0.00 5.123-1.887 5.123-5.641l0.00-11.769c0.00-3.413 -1.709-5.123 -5.123-5.123l-67.583,0.00c-3.413,0.00 -5.123,1.709 -5.123,5.123l0.00,11.769c0.00,3.755 1.709,5.641 5.123,5.641z" />
+<glyph unicode="&#xe0f8;" d="M 204.00,480.00L 204.00,360.531L 143.281,360.531L 256.00,191.437L 368.719,360.531L 308.00,360.531L 308.00,480.00L 204.00,480.00 z M 0.00,214.719L0.00-32.00L 512.00-32.00L 512.00,214.719L 343.813,214.719C 343.813,166.238 304.481,126.906 256.00,126.906C 207.519,126.906 168.188,166.238 168.188,214.719L0.00,214.719z" />
+<glyph unicode="&#xe0f7;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C 0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 224.75,387.812L 287.25,387.812L 287.25,316.031L 323.719,316.031L 256.00,214.437L 188.281,316.031L 224.75,316.031L 224.75,387.812 z M 102.188,228.437L 203.25,228.437C 203.25,199.311 226.873,175.656 256.00,175.656C 285.127,175.656 308.75,199.311 308.75,228.437L 409.813,228.437L 409.813,80.187L 102.188,80.187L 102.188,228.437z" />
+<glyph unicode="&#xe0f6;" d="M 40.00,208.00 m0.00,0.00, 118.544,160.00 194.912,0.00 118.544-160.00 -88.00,0.00 -64.00-64.00 -128.00,0.00 -64.00,64.00 -88.00,0.00 z m 100.496,192.00 -140.496-192.00 0.00-160.00 512.00,0.00 0.00,160.00 -140.496,192.00 -231.008,0.00z" />
+<glyph unicode="&#xe08b;" d="M 512.00,437.234 m0.00,0.00,0.00-75.156 -512.00,0.00 0.00,75.125 512.00,0.031 z m -512.00-117.125 144.188-96.125 -144.188-96.125 0.00,192.25 z m 512.00-0.563 0.00-74.906 -296.00,0.00 0.00,74.906 296.00,0.00 z m 0.00-116.781 0.00-74.906 -296.00,0.00 0.00,74.906 296.00,0.00 z m -512.00-116.875 512.00-0.031 0.00-75.094 -512.00,0.00 0.00,75.125z" />
+<glyph unicode="&#xe08a;" d="M 0.00,437.25L 0.00,362.094L 512.00,362.094L 512.00,437.219L 0.00,437.25 z M 512.00,320.125L 367.813,224.00L 512.00,127.875L 512.00,320.125 z M 0.00,319.562L 0.00,244.656L 296.00,244.656L 296.00,319.562L 0.00,319.562 z M 0.00,202.781L 0.00,127.875L 296.00,127.875L 296.00,202.781L 0.00,202.781 z M 512.00,85.906L 0.00,85.875L 0.00,10.781L 512.00,10.781L 512.00,85.906z" />
+<glyph unicode="&#xe089;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 247.969,392.156C 259.699,392.156 269.251,388.993 276.625,382.625C 283.998,376.257 287.687,367.859 287.688,357.469C 287.687,347.078 283.998,338.712 276.625,332.344C 269.251,325.975 259.699,322.781 247.969,322.781C 236.238,322.781 226.686,325.975 219.313,332.344C 212.274,338.712 208.75,347.078 208.75,357.469C 208.75,367.859 212.274,376.257 219.313,382.625C 226.686,388.993 236.238,392.156 247.969,392.156 z M 284.656,280.062L 294.719,268.50C 289.356,254.423 286.656,238.843 286.656,221.75L 286.656,98.562C 286.656,94.205 287.017,91.207 287.688,89.531C 288.693,87.855 290.867,86.176 294.219,84.50C 300.252,80.813 309.113,77.289 320.844,73.937L 317.344,55.844C 288.52,58.86 268.231,60.344 256.50,60.344C 244.769,60.344 224.676,58.86 196.188,55.844L 192.156,73.937C 204.222,76.619 213.115,79.978 218.813,84.00C 223.84,87.016 226.344,91.859 226.344,98.562L 226.344,224.25C 226.344,235.981 221.799,241.844 212.75,241.844L 195.156,238.344L 191.156,258.437C 203.222,263.465 219.132,268.339 238.906,273.031C 258.681,277.723 273.931,280.062 284.656,280.062z" />
+<glyph unicode="&#xe088;" d="M0.00,480.00L0.00,333.969L 151.563,333.969C 174.879,363.873 211.393,383.156 252.469,383.156C 293.547,383.156 330.09,363.876 353.406,333.969L 512.00,333.969L 512.00,480.00L0.00,480.00 z M 409.719,458.281L 457.594,458.281C 474.637,458.281 488.344,444.544 488.344,427.50L 488.344,387.406C 488.344,370.362 474.637,356.625 457.594,356.625L 409.719,356.625C 392.675,356.625 378.969,370.362 378.969,387.406L 378.969,427.50C 378.969,444.544 392.675,458.281 409.719,458.281 z M 56.219,457.812L 73.688,457.812L 73.688,356.594L 56.219,356.594L 56.219,457.812 z M 86.25,457.812L 104.25,457.812L 104.25,356.594L 86.25,356.594L 86.25,457.812 z M 116.813,457.812L 134.281,457.812L 134.281,427.50L 134.281,386.375L 134.281,356.594L 116.813,356.594L 116.813,457.812 z M 43.125,455.094L 43.125,356.594L 25.094,356.594L 25.094,427.50C 25.094,433.631 26.824,439.227 30.281,444.281C 33.738,449.332 38.031,452.929 43.125,455.094 z M 252.281,368.656C 190.175,368.656 139.813,318.52 139.813,256.719C 139.813,194.917 190.175,144.812 252.281,144.812C 314.388,144.812 364.75,194.917 364.75,256.719C 364.75,318.52 314.388,368.656 252.281,368.656 z M 252.281,345.937C 301.802,345.937 341.938,305.997 341.938,256.719C 341.938,207.441 301.802,167.50 252.281,167.50C 202.76,167.50 162.625,207.441 162.625,256.719C 162.625,305.997 202.76,345.937 252.281,345.937 z M 0.00,313.281L0.00-32.00L 512.00-32.00L 512.00,313.281L 366.563,313.281C 375.15,296.277 379.969,277.06 379.969,256.75C 379.969,186.95 322.879,130.375 252.469,130.375C 182.058,130.375 125.00,186.95 125.00,256.75C 125.00,277.065 129.846,296.274 138.438,313.281L0.00,313.281z" />
+<glyph unicode="&#xe087;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 167.344,333.719L 344.625,333.719C 356.557,332.911 365.56,324.229 365.719,313.219L 365.719,135.344C 364.873,122.945 355.853,114.432 344.625,114.281L 167.344,114.281C 154.953,115.126 146.432,124.126 146.281,135.344L 146.281,313.219C 146.965,325.093 156.85,333.578 167.344,333.719 z M 197.188,293.344C 190.825,293.186 186.723,288.29 186.656,282.781L 186.656,165.781C 186.821,159.43 191.694,155.285 197.188,155.219L 314.781,155.219C 321.146,155.384 325.278,160.276 325.344,165.781L 325.344,282.781C 325.188,289.158 320.302,293.278 314.781,293.344L 197.188,293.344z" />
+<glyph unicode="&#xe086;" d="M 246.741,4.351 m0.00,0.00, 65.157,0.00 -7.202-36.351 -199.93,0.00 7.202,36.351 65.157,0.00 87.791,438.955 -65.157,0.00 7.545,36.694 199.93,0.00 -7.545-36.694 -65.157,0.00 -87.791-438.955" />
+<glyph unicode="&#xe085;" d="M 140.058,366.928 m0.00,0.00,c-77.348,0.00 -140.058-62.694 -140.058-140.042 0.00-77.348 62.71-140.058 140.058-140.058 69.001,0.00 126.329,49.903 137.901,115.585 0.131-0.007 0.258-0.027 0.389-0.032l 53.925,0.00 0.00-77.849 59.536,0.00 0.00,77.849 28.073,0.00 0.00-112.669 59.536,0.00 0.00,112.67 32.582,0.00 0.00,59.535 -235.906,0.00c-0.138-0.011 -0.269-0.021 -0.405-0.032 -15.541,60.409 -70.368,105.043 -135.631,105.043 z m 0.00-64.791c 41.563,0.00 75.251-33.688 75.251-75.251 0.00-41.563 -33.688-75.267 -75.251-75.267 -41.563,0.00 -75.267,33.704 -75.267,75.267 0.00,41.563 33.704,75.251 75.267,75.251z" />
+<glyph unicode="&#xe084;" d="M 51.313,406.437L 51.313,138.469L 460.688,138.469L 460.688,406.437L 51.313,406.437 z M 102.094,357.594L 409.906,357.594L 409.906,187.281L 102.094,187.281L 102.094,357.594 z M 0.00,114.094L0.00,68.781L 26.00,41.812L 486.00,41.812L 512.00,68.781L 512.00,114.094L0.00,114.094 z M 208.531,99.25L 303.469,99.25L 303.469,58.219L 208.531,58.219L 208.531,99.25z" />
+<glyph unicode="&#xe083;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 123.719,341.812L 388.281,341.812L 388.281,168.656L 123.719,168.656L 123.719,341.812 z M 156.531,310.25L 156.531,200.187L 355.469,200.187L 355.469,310.25L 156.531,310.25 z M 90.563,152.906L 421.438,152.906L 421.438,123.625L 404.625,106.187L 107.375,106.187L 90.563,123.625L 90.563,152.906 z M 225.313,143.312L 225.313,116.781L 286.688,116.781L 286.688,143.312L 225.313,143.312z" />
+<glyph unicode="&#xe082;" d="M 48.83,168.624 m0.00,0.00,c-2.767,6.67 -6.211,13.299 -7.219,20.494C 28.337,281.885 104.025,357.099 172.72,385.666c 68.696,28.567 147.792-16.876 194.685,31.904 11.715,13.229 23.639,25.756 41.452,25.849 7.425-0.369 13.608-3.858 16.767-10.013 58.615-120.055 -25.129-262.407 -119.699-312.986 -60.015-29.665 -122.117-36.191 -180.247-16.069 -16.164,3.834 -29.121,20.74 -45.877,20.959 -11.555-6.483 -21.152-27.607 -28.993-39.24 -9.134-15.852 -27.319-20.042 -40.405-6.171 -38.165,37.612 41.148,70.992 38.424,88.726 z m 51.00,15.37c 8.197-6.622 20.021-4.745 26.315,1.863 50.328,60.978 118.475,87.73 192.59,85.699 10.922-0.634 18.859,8.21 19.562,17.699 0.219,11.268 -8.452,18.888 -18.165,19.562 -89.577,4.979 -167.291-34.518 -222.165-98.274 -6.951-8.679 -5.689-20.228 1.863-26.548z" />
+<glyph unicode="&#xe081;" d="M0.00,480.00L0.00-32.00L 512.00-32.00L 512.00,480.00L0.00,480.00 z M 125.563,379.344C 145.842,379.115 165.818,365.125 166.688,340.906C 167.121,319.37 148.353,302.966 125.031,302.469L 124.469,302.469C 104.391,302.701 84.784,317.042 83.875,340.906C 84.161,362.203 102.063,378.839 125.563,379.344 z M 343.125,277.594C 365.421,277.456 386.463,270.841 403.75,253.219C 421.716,233.183 427.483,205.556 428.125,177.469L 428.125,49.719L 354.50,49.719L 354.50,168.781C 354.337,191.097 346.692,218.222 317.156,219.125C 299.846,218.941 287.64,208.882 279.281,192.062C 277.00,186.649 276.671,180.426 276.563,174.219L 276.563,49.719L 202.969,49.719C 203.25,111.959 203.637,174.196 203.50,236.437C 203.50,254.118 203.33,266.023 202.969,272.156L 276.563,272.156L 276.563,240.781C 282.809,249.666 289.737,258.092 299.031,264.875C 311.637,273.871 326.779,277.32 343.125,277.594 z M 88.219,272.156L 161.813,272.156L 161.813,49.719L 88.219,49.719L 88.219,272.156z" />
+<glyph unicode="&#xe080;" d="M 0.00,60.204 m0.00,0.00, 92.202,0.00 0.00-92.202 -92.202,0.00 z m 0.00,0.00 92.202,0.00 0.00-92.202 -92.202,0.00 z m 0.00,139.932 92.202,0.00 0.00-92.202 -92.202,0.00 z m 0.00,139.932 92.202,0.00 0.00-92.202 -92.202,0.00 z m 0.00,139.932 92.202,0.00 0.00-92.202 -92.202,0.00 z m 135.506-419.796 376.492,0.00 0.00-92.202 -376.492,0.00 z m 0.00,0.00 376.492,0.00 0.00-92.202 -376.492,0.00 z m 0.00,139.932 376.492,0.00 0.00-92.202 -376.492,0.00 z m 0.00,139.932 376.492,0.00 0.00-92.202 -376.492,0.00 z m 0.00,139.932 376.492,0.00 0.00-92.202 -376.492,0.00z" />
+<glyph unicode="&#xe07f;" d="M 256.00,480.00C 228.195,480.00 206.781,456.801 206.781,429.062C 206.781,402.345 206.594,378.969 206.594,378.969L 157.156,378.969C 156.226,378.969 155.326,378.866 154.438,378.719L 140.688,378.719L 140.688,362.531L 140.688,330.687L 371.313,330.687L 371.313,362.531L 371.313,378.719L 357.563,378.719C 356.675,378.866 355.774,378.969 354.844,378.969L 305.406,378.969C 305.406,378.969 305.969,400.13 305.969,428.906C 305.969,455.624 283.805,480.00 256.00,480.00 z M 74.75,431.281L 74.75-32.00L 437.25-32.00L 437.25,431.281L 322.406,431.281L 322.406,397.719L 404.063,397.719L 404.063,1.625L 107.969,1.625L 107.969,397.719L 189.594,397.719L 189.594,431.281L 74.75,431.281 z M 256.00,430.656C 265.109,430.656 272.469,423.326 272.469,414.25C 272.469,405.157 265.109,397.812 256.00,397.812C 246.891,397.812 239.531,405.157 239.531,414.25C 239.531,423.326 246.891,430.656 256.00,430.656 z M 140.688,298.125L 140.688,281.687L 157.156,281.687L 157.156,298.125L 140.688,298.125 z M 190.125,297.812L 190.125,281.375L 371.313,281.375L 371.313,297.812L 190.125,297.812 z M 140.688,236.125L 140.688,219.687L 157.156,219.687L 157.156,236.125L 140.688,236.125 z M 190.125,235.812L 190.125,219.344L 371.313,219.344L 371.313,235.812L 190.125,235.812 z M 140.688,174.125L 140.688,157.687L 157.156,157.687L 157.156,174.125L 140.688,174.125 z M 190.125,173.781L 190.125,157.344L 371.313,157.344L 371.313,173.781L 190.125,173.781 z M 140.688,112.094L 140.688,95.656L 157.156,95.656L 157.156,112.094L 140.688,112.094 z M 190.125,111.75L 190.125,95.312L 371.313,95.312L 371.313,111.75L 190.125,111.75 z M 140.688,50.094L 140.688,33.656L 157.156,33.656L 157.156,50.094L 140.688,50.094 z M 190.125,49.75L 190.125,33.312L 371.313,33.312L 371.313,49.75L 190.125,49.75z" />
+<glyph unicode="&#xe07e;" d="M 252.475,480.00 m0.00,0.00,c-63.719,0.304 -119.666-37.902 -146.694-97.598 -13.901-33.146 -13.075-78.54 -12.43-118.18l-71.052,0.00 0.00-295.918 467.098,0.00 0.00,295.918 -77.267,0.00 0.00,56.123c0.00,22.002 -4.53,42.311 -12.992,62.057C 374.398,439.093 316.194,479.696 252.475,480.00 z m 0.00-94.225c 37.222-0.988 64.372-28.977 65.992-64.868l0.00-0.562 0.00-56.123 -131.453,0.00 0.00,56.123c 3.513,39.07 28.239,66.418 65.461,65.43z" />
+<glyph unicode="&#xe07d;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 254.156,362.812C 288.728,362.648 320.327,340.602 333.75,309.844C 338.341,299.131 340.781,288.125 340.781,276.187L 340.781,245.75L 382.719,245.75L 382.719,85.187L 129.281,85.187L 129.281,245.75L 167.844,245.75C 167.494,267.257 167.052,291.86 174.594,309.844C 189.258,342.232 219.585,362.977 254.156,362.812 z M 252.281,311.687C 233.132,311.284 220.503,296.723 218.656,276.187L 218.656,245.75L 289.969,245.75L 289.969,276.187L 289.969,276.50C 289.09,295.973 274.352,311.151 254.156,311.687C 253.525,311.704 252.899,311.701 252.281,311.687z" />
+<glyph unicode="&#xe07c;" d="M 255.639,480.00C 124.306,480.00 17.444,379.523 17.444,256.004C 17.444,249.526 17.737,242.976 18.318,236.469L 22.999,138.014L 173.505,150.372L 168.824,248.764C 168.621,251.117 168.481,253.593 168.481,256.004C 168.481,301.205 207.591,337.951 255.639,337.951C 303.687,337.951 342.797,301.176 342.797,256.004C 342.797,253.593 342.686,251.146 342.454,248.764L 337.804,150.372L 488.279,138.014L 492.96,236.469C 493.541,242.976 493.834,249.526 493.834,256.004C 493.834,379.523 386.972,480.00 255.639,480.00 z M 332.187,91.58L 323.137-3.942C 322.324-12.947 329.464-20.914 339.021-21.698L 454.764-31.184C 464.292-31.969 472.799-25.305 473.612-16.299L 482.693,79.16L 332.187,91.58 z M 179.028,91.517L 28.585,79.129L 37.634-16.299C 38.477-25.305 46.986-32.00 56.514-31.216L 172.257-21.729C 181.785-20.945 188.952-12.949 188.109-3.973L 179.028,91.517z" />
+<glyph unicode="&#xe07b;" d="M 310.399,480.00 m0.00,0.00,0.00-71.288 77.801,0.00 -102.553-101.87c-28.776,18.622 -63.076,29.428 -99.904,29.428 -101.694,0.00 -184.143-82.433 -184.143-184.127 0.00-101.694 82.449-184.143 184.143-184.143 101.694,0.00 184.127,82.449 184.127,184.143 0.00,38.654 -11.906,74.526 -32.256,104.145l 100.83,100.83 0.00-77.119 71.288,0.00c0.00,62.496 0.677,137.667 0.666,200.00 z M 185.744,262.154c 60.763,0.00 110.011-49.249 110.011-110.011 0.00-60.763 -49.249-110.028 -110.011-110.028 -60.763,0.00 -110.028,49.265 -110.028,110.028 0.00,60.763 49.265,110.011 110.028,110.011z" />
+<glyph unicode="&#xe07a;" d="M 256.00,480.00 m0.00,0.00,c-106.591,0.00 -193.00-86.409 -193.00-193.00 0.00-35.647 6.977-72.464 27.00-99.00l 166.00-220.00 166.00,220.00c 18.187,24.103 27.00,66.712 27.00,99.00 0.00,106.591 -86.409,193.00 -193.00,193.00 z m 0.00-111.781c 44.849,0.00 81.219-36.369 81.219-81.219 0.00-44.849 -36.369-81.219 -81.219-81.219 -44.849,0.00 -81.219,36.369 -81.219,81.219 0.00,44.849 36.369,81.219 81.219,81.219z" />
+<glyph unicode="&#xe079;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 256.00,393.281C 326.479,393.281 383.625,336.135 383.625,265.656C 383.625,244.307 377.775,216.124 365.75,200.187L 256.00,54.719L 146.25,200.187C 133.011,217.733 128.375,242.086 128.375,265.656C 128.375,336.135 185.521,393.281 256.00,393.281 z M 256.00,319.344C 226.345,319.344 202.313,295.311 202.313,265.656C 202.313,236.001 226.345,211.969 256.00,211.969C 285.655,211.969 309.688,236.001 309.688,265.656C 309.688,295.311 285.655,319.344 256.00,319.344z" />
+<glyph unicode="&#xe078;" d="M 242.188,480.00C 229.12,478.981 216.309,476.471 203.906,472.719L 203.906,404.062L 175.781,404.062L 175.781,461.594C 163.287,455.409 151.441,447.938 140.688,439.062C 140.631,439.016 140.588,438.953 140.531,438.906L 140.531,158.469C 140.588,158.422 140.631,158.36 140.688,158.312C 173.315,131.285 214.578,116.83 256.00,116.75C 298.382,116.766 339.33,131.916 371.313,158.312C 371.37,158.36 371.413,158.422 371.469,158.469L 371.469,438.906C 371.412,438.953 371.369,439.016 371.313,439.062C 360.632,447.91 348.952,455.254 336.719,461.344L 336.719,404.062L 308.594,404.062L 308.594,472.531C 296.113,476.333 283.281,478.94 270.313,480.00L 270.313,404.062L 242.188,404.062L 242.188,480.00 z M 85.313,255.906L 85.313,112.312C 95.602,102.816 106.681,94.192 118.438,86.50C 145.523,68.779 176.188,56.106 209.125,49.875L 209.125,66.437L 302.875,66.437L 302.875,49.875C 335.812,56.106 366.477,68.779 393.563,86.50C 405.319,94.192 416.398,102.816 426.688,112.312L 426.688,255.906L 393.563,255.906L 393.563,128.812C 356.024,98.158 308.165,79.75 256.00,79.75C 203.835,79.75 155.976,98.158 118.438,128.812L 118.438,255.906L 85.313,255.906 z M 302.875,49.875C 287.691,47.002 272.017,45.50 256.00,45.50C 239.983,45.50 224.309,47.002 209.125,49.875L 209.125,3.156L 153.656,3.156L 153.656-32.00L 209.125-32.00L 302.875-32.00L 358.344-32.00L 358.344,3.156L 302.875,3.156L 302.875,49.875z" />
+<glyph unicode="&#xe077;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 247.031,390.50L 247.031,341.125L 265.313,341.125L 265.313,390.50C 273.748,389.81 282.101,388.129 290.219,385.656L 290.219,341.125L 308.50,341.125L 308.50,378.375C 316.457,374.414 324.053,369.629 331.00,363.875C 331.037,363.844 331.057,363.812 331.094,363.781L 331.094,181.375C 331.057,181.344 331.037,181.312 331.00,181.281C 310.198,164.112 283.566,154.26 256.00,154.25C 229.058,154.302 202.222,163.702 181.00,181.281C 180.963,181.312 180.943,181.344 180.906,181.375L 180.906,363.781C 180.943,363.812 180.963,363.844 181.00,363.875C 187.994,369.647 195.686,374.509 203.813,378.531L 203.813,341.125L 222.125,341.125L 222.125,385.781C 230.192,388.222 238.532,389.837 247.031,390.50 z M 144.969,244.75L 166.531,244.75L 166.531,162.094C 190.947,142.155 222.071,130.187 256.00,130.187C 289.929,130.187 321.053,142.155 345.469,162.094L 345.469,244.75L 367.031,244.75L 367.031,151.344C 360.339,145.167 353.115,139.565 345.469,134.562C 327.852,123.036 307.923,114.803 286.50,110.75L 286.50,80.375L 322.563,80.375L 322.563,57.50L 286.50,57.50L 225.50,57.50L 189.438,57.50L 189.438,80.375L 225.50,80.375L 225.50,110.75C 204.077,114.803 184.148,123.036 166.531,134.562C 158.885,139.565 151.661,145.167 144.969,151.344L 144.969,244.75 z M 225.50,110.75C 235.376,108.882 245.582,107.906 256.00,107.906C 266.418,107.906 276.624,108.882 286.50,110.75L 286.50,121.531L 225.50,121.531L 225.50,110.75z" />
+<glyph unicode="&#xe076;" d="M 0.00,296.50 m0.00,0.00, 512.00,0.00 0.00-145.00 -512.00,0.00z" />
+<glyph unicode="&#xe075;" d="M 256.00,480.00C 114.615,480.00 0.00,365.385 0.00,224.00C0.00,82.615 114.615-32.00 256.00-32.00C 397.385-32.00 512.00,82.615 512.00,224.00C 512.00,365.385 397.385,480.00 256.00,480.00 z M 109.00,265.625L 403.031,265.625L 403.031,182.375L 109.00,182.375L 109.00,265.625z" />
+<glyph unicode="&#xe06a;" d="M 64.00,416.00L 224.00,416.00L 224.00,32.00L 64.00,32.00zM 288.00,416.00L 448.00,416.00L 448.00,32.00L 288.00,32.00z" />
+<glyph unicode="&#xe10f;" d="M 18.042,79.89 m0.00,0.00, 79.541,0.00 0.00,73.517c0.00,23.259 11.354,48.943 33.055,70.422 21.70,21.479 53.893,44.821 106.835,81.879 53.179,37.225 85.315,57.955 99.756,70.882 14.44,12.927 13.202,10.848 13.202,29.663l0.00,72.858 0.00,0.889 63.211,0.00 0.00-0.889 0.00-72.858c0.00-28.248 -11.807-56.661 -34.24-76.743 -22.433-20.082 -53.508-39.036 -105.681-75.558 -52.411-36.688 -83.431-60.013 -98.604-75.031 -15.173-15.018 -14.321-15.664 -14.321-25.515l0.00-73.517 82.998,0.00L 130.934-33.002 z m 251.168,0.00 81.221,0.00 0.00,73.517c0.00,9.851 0.819,10.498 -14.354,25.515 -10.037,9.933 -27.827,24.002 -53.335,42.667 3.202,2.257 5.736,4.084 9.12,6.453 18.67,13.07 32.141,22.08 46.092,31.54 17.775-13.421 31.582-24.847 42.602-35.754 21.70-21.479 33.088-47.162 33.088-70.422l0.00-73.517 81.319,0.00L 382.101-33.002z" />
+<glyph unicode="&#xe110;" d="M 466.619,480.00 291.808,305.188c-12.561,7.219 -28.865,5.476 -39.599-5.259 -8.979-8.979 -11.663-21.856 -8.077-33.178 -24.666,12.608 -53.03,14.733 -81.581,2.557C 108.998,242.733 72.05,187.44 0.00,181.016c 5.499-11.322 12.62-23.947 21.354-37.856 30.296-4.77 60.127,4.864 83.44,28.646 -9.054-28.18 -31.178-49.211 -61.098-60.169 7.763-10.351 16.643-21.218 26.671-32.539 34.496,11.533 46.831,27.314 14.556-15.485 13.612-14.139 28.192-29.132 46.107-41.749 7.959,29.388 29.409,51.954 60.14,63.568 -23.547-22.07 -32.977-54.037 -27.165-88.292 17.791-11.969 34.132-21.70 49.012-29.14 12.675,54.372 49.659,110.772 88.292,162.551 12.465,26.239 10.446,54.593 -2.818,81.668 11.385-3.711 24.392-1.059 33.44,7.99 10.735,10.735 12.478,27.038 5.259,39.599L 512.00,434.619 466.619,480.00z" />
+<glyph unicode="&#xe111;" d="M 345.16,422.857 m0.00,0.00,0.00-109.678 57.161,0.00 0.00-114.304 -223.983,0.00 0.00,64.053L0.00,144.035l 178.339-118.893 0.00,64.053 223.983,0.00 109.678,0.00 0.00,109.678 0.00,114.304 0.00,109.678 -109.678,0.00 -57.161,0.00z" />
+<glyph unicode="&#xe112;" d="M 256.002,480.00C 114.617,480.00 0.001,365.385 0.001,224.00c0.00-141.385 114.615-256.00 256.00-256.00 141.385,0.00 256.00,114.615 256.00,256.00C 512.002,365.385 397.387,480.00 256.002,480.00 z M 162.908,342.50c 19.57,0.16 28.956-1.26 44.969-6.813 26.419-9.162 48.919-28.096 64.375-54.188 24.051-45.879 44.866-100.108 61.781-135.813 22.649-31.212 68.91-29.762 85.975-10.848 39.233,43.486 -20.347,67.711 -41.288,74.723 -23.45,7.33 -50.969,19.993 -61.406,41.563 -19.131,54.486 16.035,90.197 61.406,88.969 14.076,2.023 40.835-6.14 58.375-34.50l-22.844-12.375c-9.684,10.251 -23.489,18.757 -36.75,18.875 -29.532,4.159 -45.693-33.509 -27.844-54.438 6.022-6.20 13.381-9.614 41.188-19.031 39.727-13.35 68.689-26.521 70.875-67.469 2.698-55.278 -52.212-88.419 -107.844-75.594 -22.404,6.082 -40.915,22.003 -52.688,45.281 -20.696,40.35 -35.181,89.958 -56.50,125.563 -17.892,28.433 -46.422,44.044 -80.469,44.00 -41.73,0.562 -78.264-32.41 -90.094-65.656 -8.815-35.417 -0.172-71.349 24.50-95.625 57.888-51.315 121.754-17.71 147.156,18.438 1.073,0.00 14.375-28.60 14.375-30.906 -17.284-20.802 -49.734-38.807 -73.563-43.25 -12.711-2.216 -33.14-2.248 -45.188-0.063C 94.791,101.802 55.923,137.841 42.814,184.75 23.356,263.076 74.541,325.58 133.47,339.25c 9.86,2.603 14.707,3.129 29.438,3.25z" />
+<glyph unicode="&#xe113;" d="M 131.671-24.581C 87.371-13.173 54.879,27.299 49.708,72.189 39.918,140.145 68.676,206.663 107.048,261.231 99.875,277.151 90.058,285.787 75.797,264.453 49.833,228.571 30.887,187.895 18.14,145.633 10.051,200.306 49.713,252.694 74.93,291.277 70.058,313.531 42.982,343.405 44.037,342.972 29.718,360.747 13.934,396.762 29.027,417.774 49.539,452.373 87.678,481.103 129.227,479.967 155.109,473.739 167.612,447.147 183.419,428.04c 5.701-7.664 11.401-15.328 17.102-22.993 57.57,30.721 122.528,57.415 188.925,45.206 49.082-7.612 89.85-47.986 98.33-96.862 16.736-82.479 -19.16-165.434 -67.432-230.721 -50.056-66.11 -117.15-124.626 -198.88-145.986 -29.262-6.057 -60.546-8.477 -89.793-1.266 z M 246.685,8.14C 309.34,28.509 356.694,78.033 398.626,126.627 444.448,184.858 475.324,261.819 460.227,336.496 449.229,384.432 404.881,421.433 355.657,423.335 307.783,426.432 260.119,411.565 217.985,389.825c-0.87-6.812 10.08-28.777 20.53-17.236 44.652,23.201 99.259,33.561 147.943,17.649 31.486-11.697 54.267-42.208 55.171-75.988 5.905-71.57 -37.766-136.375 -88.32-182.877 -16.522-19.506 -35.165-27.044 -61.534-13.87 -37.244,17.066 -76.021,31.224 -112.312,50.124 -24.109,22.612 -41.016,51.706 -61.414,77.598 -7.045-8.556 -13.959-23.515 -20.119-34.584 -24.764-48.94 -41.546-111.28 -11.303-161.767 25.966-45.13 84.065-57.837 131.98-47.78 9.505,1.71 18.888,4.083 28.079,7.046 z m 67.124,111.525C 305.778,165.921 300.731,212.847 294.873,259.31 273.929,293.29 247.184,324.672 226.584,358.116 204.743,387.315 182.243,419.459 158.911,444.37 146.647,465.402 121.592,477.581 98.68,465.471 68.102,452.631 37.342,427.902 30.827,393.809c 7.589-26.765 28.491-48.467 43.38-71.861 37.33-49.163 70.287-101.209 107.194-145.352 44.471-19.425 91.209-38.938 133.484-59.203 z M 190.187,193.782c-19.608,9.683 -27.882,35.028 -42.827,51.186 -20.476,28.772 -43.297,56.231 -60.359,87.194 5.585,20.774 12.455,24.741 24.525,38.969 17.763,12.629 53.135,45.23 75.585,13.182 29.687-37.693 59.253-75.788 84.212-116.813l 24.104-99.36 -21.222-16.878C 252.819,163.477 190.187,193.782 190.187,193.782 z m -20.529,94.627c-17.39,23.47 -33.624,48.085 -53.272,69.694 -25.159-16.751 -9.286-38.606 4.239-59.404 22.411-29.144 42.431-60.24 66.475-88.058 33.807,31.006 -11.015,63.237 -17.441,77.768 z m 88.634-23.577c-6.143,21.63 -24.573,39.141 -36.788,58.235 -17.095,22.974 -33.757,46.284 -51.525,68.748 -11.558-6.228 -24.44-6.797 -33.635-16.435 17.44-27.353 37.287-55.751 56.568-82.197 18.762-23.352 42.431-37.537 65.38-28.352 z M 65.541,353.338C 46.285,376.518 75.985,401.575 92.423,416.195 107.527,428.903 126.747,438.394 145.976,435.261c 12.137-1.978 27.037-17.402 16.728-24.192 -25.26-16.638 -57.38-28.26 -74.473-57.09 -7.981-14.986 -13.346-15.145 -22.69-0.64 z M 86.481,369.585C 101.195,392.578 128.132,401.673 149.905,415.83 146.388,441.685 113.014,420.188 100.867,410.284 88.759,398.66 53.864,372.912 77.318,358.878c 4.146,2.543 6.357,6.96 9.163,10.706 z M 45.128,386.281C 40.441,412.158 62.991,434.331 83.326,446.934 94.996,454.04 134.883,467.887 130.918,445.727 100.305,435.977 73.168,414.984 56.258,387.464c-2.578-4.488 -9.345-9.221 -11.13-1.183 z M 373.269,177.49c 30.035,39.882 55.575,92.07 40.024,142.766 -14.962,45.053 -69.391,60.083 -111.857,51.425 -17.187-6.027 -56.695-6.515 -54.612-26.889 18.046-26.047 37.531-51.051 56.452-76.46 6.422-47.152 11.687-95.055 19.078-141.608 19.459,13.826 35.631,32.477 50.915,50.766z" />
+<glyph unicode="&#xe114;" d="M 141.179,98.499 m0.00,0.00,-0.394-31.864 -140.785,0.00 0.00,31.864C 0.00,137.123 32.526,168.06 71.149,168.06c 38.624,0.00 70.527-30.941 70.029-69.561 z M 135.124,243.45c0.00-35.399 -28.575-64.095 -63.974-64.095 -35.399,0.00 -64.217,28.697 -64.217,64.095 0.00,35.399 28.818,64.096 64.217,64.096 35.399,0.00 63.974-28.697 63.974-64.096 z m 180.647-140.069 -0.454-36.746 -162.355,0.00 0.00,36.746c0.00,44.542 37.509,80.219 82.05,80.219 44.541,0.00 81.333-35.681 80.759-80.219 z m -6.983,167.159c0.00-40.822 -32.953-73.915 -73.776-73.915 -40.822,0.00 -74.055,33.093 -74.055,73.915 0.00,40.822 33.233,73.915 74.055,73.915 40.822,0.00 73.776-33.093 73.776-73.915 z m 203.205-162.277 -0.515-41.628 -183.924,0.00 0.00,41.628c0.00,50.459 42.492,90.876 92.951,90.876 50.459,0.00 92.138-40.422 91.488-90.876 z m -7.911,189.367c0.00-46.246 -37.331-83.736 -83.577-83.736 -46.246,0.00 -83.894,37.49 -83.894,83.736 0.00,46.246 37.648,83.736 83.894,83.736 46.246,0.00 83.577-37.49 83.577-83.736z" />
+<glyph unicode="&#xe115;" d="M 309.753,335.22 m0.00,0.00,c-11.836-0.083 -23.715-2.048 -35.091-6.171 -2.37-0.888 -6.21-2.188 -7.894-6.044l 0.518-203.985c 1.006-2.219 2.331-3.451 4.545-4.242l 181.364,0.00c 29.644-0.52 52.745,24.835 56.484,55.719 3.202,33.439 -17.232,63.385 -53.087,68.58 -10.185,1.47 -22.874,0.01 -33.194-4.067 -0.346-0.155 -0.444,0.235 -0.71,2.679 -2.547,22.397 -11.935,42.144 -27.022,60.694 -20.772,22.883 -53.192,37.065 -85.914,36.837 z m -56.189-14.918c-3.46,0.00 -6.771-49.258 -7.32-147.78 8.475-75.554 7.521-77.516 15.524,0.00 -1.137,98.527 -4.745,147.782 -8.205,147.78 z m -21.919-11.729c-3.46-0.107 -6.697-45.564 -7.104-136.051 8.475-75.554 7.521-77.516 15.524,0.00 -1.278,90.916 -4.96,136.158 -8.42,136.051 z m -63.596-14.057c-0.026,0.00 -0.054,0.00 -0.08-0.01 -3.255-0.492 -6.313-41.016 -7.136-121.986 8.475-75.554 7.513-77.516 15.516,0.00 -1.559,81.044 -5.017,121.85 -8.30,121.994 z m 21.353-3.811c-3.354,0.069 -6.601-39.253 -7.431-118.183 8.475-75.554 7.521-77.516 15.524,0.00 -1.278,78.653 -4.739,118.114 -8.093,118.183 z m -42.363-1.587c-3.495-0.037 -6.66-38.935 -6.785-116.596 8.475-75.554 7.513-77.516 15.516,0.00 -1.418,77.807 -5.236,116.633 -8.731,116.596 z m 63.445-2.312c-0.027,0.001 -0.053,0.00 -0.08-0.01 -3.424-0.53 -6.601-39.152 -7.009-114.276 8.475-75.554 7.521-77.516 15.524,0.00 -1.407,76.64 -5.035,114.219 -8.436,114.284 z m -84.128-5.079c-3.011,0.029 -5.865-35.787 -7.248-109.205 8.475-75.554 7.521-77.516 15.524,0.00 -1.998,72.165 -5.218,109.176 -8.276,109.205 z m -20.261-20.30c-2.861,0.175 -5.747-29.285 -7.846-88.904 8.475-75.554 7.521-77.516 15.524,0.00 -1.982,58.92 -4.818,88.729 -7.678,88.904 z m -41.215-29.534c-1.694-0.343 -3.364-19.032 -7.088-56.763 8.013-74.719 7.112-76.66 14.679,0.00 -4.069,37.943 -5.843,57.117 -7.591,56.763 z m -20.436-1.547c-1.694-0.337 -3.364-18.657 -7.088-55.639 8.013-73.235 7.112-75.137 14.679,0.00 -4.007,36.618 -5.789,55.401 -7.511,55.639 -0.027,0.00 -0.053,0.01 -0.08,0.00 z m 40.577-0.845c-1.791-0.344 -3.556-19.04 -7.495-56.771 8.475-74.719 7.521-76.66 15.524,0.00 -4.238,37.36 -6.12,56.528 -7.942,56.771 -0.028,0.00 -0.059,0.01 -0.088,0.00 z m -60.447-9.162c-1.694-0.283 -3.372-15.71 -7.096-46.836 8.013-61.64 7.112-63.241 14.679,0.00 -4.007,30.82 -5.781,46.636 -7.503,46.836 -0.027,0.00 -0.053,0.00 -0.08,0.00 z M 5.797,203.418C 4.412,203.236 3.045,193.32 0.00,173.295 6.551,133.639 5.814,132.609 12.00,173.295 8.673,193.433 7.225,203.607 5.797,203.418z" />
+<glyph unicode="&#xe116;" d="M 235.138,480.00 m0.00,0.00, 69.083-147.775c 0.982,37.373 -30.247,125.585 -69.083,147.775 z m 216.20-10.392c-1.001-0.09 -2.069-1.226 -3.224-3.506 -15.678-28.648 -42.732-45.66 -68.018-52.775 -25.709-7.215 -52.45-24.431 -62.259-43.947 -11.461-26.613 -6.546-47.735 4.601-71.712 14.058,2.13 28.127,7.561 40.035,13.272 30.545,14.871 57.005,38.176 74.216,65.452 6.921,10.969 8.276,9.001 2.316-3.349 -11.221-23.253 -47.987-55.838 -94.155-83.481 -10.29-6.161 -10.441-6.373 -5.822-10.392 14.776-12.856 30.97-20.637 45.669-21.88 63.751-0.293 91.116,68.007 92.903,115.472 -0.474,30.798 -5.683,70.597 -24.54,95.877 -0.574,0.72 -1.121,1.024 -1.722,0.97 z m -232.383-132.50c-101.678,0.00 -184.554-82.876 -184.554-184.554 0.00-101.678 82.876-184.554 184.554-184.554 101.678,0.00 184.523,82.876 184.523,184.554 0.00,25.419 -5.147,49.773 -14.493,71.868l-38.72-16.371c 7.206-17.036 11.206-35.756 11.206-55.498 0.00-76.663 -59.909-138.801 -135.661-142.36 87.664,59.892 127.349,215.00 80.476,313.611 3.724-67.674 0.669-251.815 -104.109-312.797 -70.994,8.258 -125.77,68.263 -125.77,141.546 0.00,78.966 63.582,142.516 142.547,142.516 19.741,0.00 38.399-3.938 55.435-11.143l 16.402,38.657c-22.096,9.346 -46.418,14.524 -71.837,14.524z" />
+<glyph unicode="&#xe117;" d="M 256.00,480.00 C 114.615,480.00 0.00,365.387 0.00,224.00 0.00,162.322 21.826,105.759 58.156,61.562 158.751,168.211 358.66,135.625 408.438,18.344 471.266,64.994 512.00,139.733 512.00,224.00 512.00,365.387 397.385,480.00 256.00,480.00 z m 153.875-133.281 c 23.482-7.725 14.365-47.549 -3.344-46.469 C 308.977,331.32 233.977,347.317 121.00,329.937 c -23.482,7.725 -14.365,47.549 3.344,46.469 100.713,8.776 188.276,6.27 285.531-29.688 z m -33.406-75.344 c 19.88-6.56 12.191-40.294 -2.844-39.375 -82.662,26.317 -146.209,39.866 -241.938,25.156 -19.901,6.547 -12.16,40.29 2.844,39.375 85.231,7.538 159.655,5.242 241.938-25.156 z m -27.313-74.469 c 16.735-5.516 10.271-33.929 -2.375-33.156 -69.629,22.19 -123.167,33.596 -203.813,21.188 -16.747,5.526 -10.262,33.931 2.406,33.156 72.00,6.276 134.196,4.551 203.781-21.188 z m -122.00-144.594 c -39.489,0.00 -75.025-21.197 -91.688-54.219 C 171.388-21.111 212.422-32.00 256.00-32.00 c 26.326,0.00 51.723,3.963 75.625,11.344 -19.264,40.222 -63.328,72.969 -104.469,72.969 z" />
+<glyph unicode="&#xe119;" d="M 453.629,445.311 80.052,221.165 453.629-2.981z" />
+<glyph unicode="&#xe02c;" d="M 26.684,42.382 250.83,415.958 474.976,42.382z" />
+<glyph unicode="&#xe118;" d="M 80.052,445.311 453.629,221.165 80.052-2.981z" />
+<glyph unicode="&#xe11a;" d="M 26.684,415.958 250.83,42.382 474.976,415.958z" />
+<glyph unicode="&#xe11b;" d="M 64.00,416.00L 448.00,416.00L 448.00,32.00L 64.00,32.00z" />
+<glyph unicode="&#x20;" horiz-adv-x="256" />
+<glyph class="hidden" unicode="&#xf000;" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
+</font></defs></svg> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/default/base/css/Elusive-Icons.ttf b/mayor-orig/mayor-base/www/skin/default/base/css/Elusive-Icons.ttf
new file mode 100644
index 00000000..ae31768f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/default/base/css/Elusive-Icons.ttf
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/default/base/css/Elusive-Icons.woff b/mayor-orig/mayor-base/www/skin/default/base/css/Elusive-Icons.woff
new file mode 100644
index 00000000..7f974bd4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/default/base/css/Elusive-Icons.woff
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/default/base/css/elusive-webfont.css b/mayor-orig/mayor-base/www/skin/default/base/css/elusive-webfont.css
new file mode 100644
index 00000000..0d62bc58
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/default/base/css/elusive-webfont.css
@@ -0,0 +1,891 @@
+@font-face {
+ font-family: 'Elusive-Icons';
+ src:url('Elusive-Icons.eot');
+ src:url('Elusive-Icons.eot?#iefix') format('embedded-opentype'),
+ url('Elusive-Icons.svg#Elusive-Icons') format('svg'),
+ url('Elusive-Icons.woff') format('woff'),
+ url('Elusive-Icons.ttf') format('truetype');
+ font-weight: normal;
+ font-style: normal;
+}
+
+/* Use the following CSS code if you want to use data attributes for inserting your icons */
+[data-icon]:before {
+ font-family: 'Elusive-Icons';
+ content: attr(data-icon);
+ speak: none;
+ font-weight: normal;
+ font-variant: normal;
+ text-transform: none;
+ line-height: 1;
+ -webkit-font-smoothing: antialiased;
+}
+
+/* Use the following CSS code if you want to have a class per icon */
+/*
+Instead of a list of all class selectors,
+you can use the generic selector below, but it's slower:
+[class*="icon-"] {
+*/
+.icon-move, .icon-music, .icon-network, .icon-off, .icon-ok, .icon-ok-circle, .icon-ok-sign, .icon-paper-clip, .icon-paper-clip-alt, .icon-path, .icon-plus-sign, .icon-print, .icon-qrcode, .icon-question, .icon-question-sign, .icon-quotes, .icon-quotes-alt, .icon-random, .icon-record, .icon-reddit, .icon-refresh, .icon-screenshot, .icon-search, .icon-search-alt, .icon-share, .icon-share-alt, .icon-shopping-cart, .icon-shopping-cart-sign, .icon-signal, .icon-skype, .icon-slideshare, .icon-smiley, .icon-th-large, .icon-th-list, .icon-thumbs-down, .icon-thumbs-up, .icon-time, .icon-time-alt, .icon-tint, .icon-torso, .icon-trash, .icon-trash-alt, .icon-tumblr, .icon-w3c, .icon-warning-sign, .icon-website, .icon-website-alt, .icon-wheelchair, .icon-wordpress, .icon-wrench, .icon-wrench-alt, .icon-youtube, .icon-zoom-in, .icon-zoom-out, .icon-pause-alt, .icon-pencil, .icon-pencil-alt, .icon-person, .icon-phone, .icon-phone-alt, .icon-photo, .icon-photo-alt, .icon-picasa, .icon-picture, .icon-pinterest, .icon-plane, .icon-play-alt, .icon-play-circle, .icon-plus, .icon-remove, .icon-remove-circle, .icon-remove-sign, .icon-repeat, .icon-repeat-alt, .icon-resize-full, .icon-resize-horizontal, .icon-resize-small, .icon-resize-vertical, .icon-retweet, .icon-reverse-alt, .icon-road, .icon-rss, .icon-screen, .icon-screen-alt, .icon-smiley-alt, .icon-speaker, .icon-stackoverflow, .icon-star, .icon-star-alt, .icon-star-empty, .icon-stop-alt, .icon-stumbleupon, .icon-tag, .icon-tags, .icon-tasks, .icon-text-height, .icon-text-width, .icon-th, .icon-twitter, .icon-universal-access, .icon-unlock, .icon-unlock-alt, .icon-upload, .icon-user, .icon-video, .icon-video-alt, .icon-video-chat, .icon-view-mode, .icon-vimeo, .icon-vkontakte, .icon-volume-down, .icon-volume-off, .icon-volume-up, .icon-backward, .icon-fast-backward, .icon-fast-forward, .icon-forward, .icon-play, .icon-step-backward, .icon-step-forward, .icon-briefcase, .icon-bullhorn, .icon-calendar, .icon-calendar-sign, .icon-address-book, .icon-address-book-alt, .icon-adjust, .icon-adult, .icon-align-center, .icon-align-justify, .icon-align-left, .icon-align-right, .icon-arrow-down, .icon-arrow-left, .icon-arrow-right, .icon-arrow-up, .icon-asl, .icon-asterisk, .icon-ban-circle, .icon-barcode, .icon-behance, .icon-bell, .icon-blind, .icon-blogger, .icon-bold, .icon-book, .icon-bookmark, .icon-bookmark-empty, .icon-braille, .icon-camera, .icon-cc, .icon-certificate, .icon-check, .icon-check-empty, .icon-chevron-down, .icon-chevron-left, .icon-chevron-right, .icon-chevron-up, .icon-child, .icon-circle-arrow-down, .icon-circle-arrow-left, .icon-circle-arrow-right, .icon-circle-arrow-up, .icon-cloud, .icon-cloud-alt, .icon-cog, .icon-cog-alt, .icon-cogs, .icon-comment, .icon-comment-alt, .icon-compass, .icon-compass-alt, .icon-credit-card, .icon-css, .icon-dashboard, .icon-delicious, .icon-deviantart, .icon-digg, .icon-download, .icon-download-alt, .icon-dribble, .icon-edit, .icon-eject, .icon-envelope, .icon-envelope-alt, .icon-error, .icon-error-alt, .icon-exclamation-sign, .icon-eye-close, .icon-eye-open, .icon-facebook, .icon-facetime-video, .icon-female, .icon-file, .icon-file-alt, .icon-file-edit, .icon-file-edit-alt, .icon-file-new, .icon-file-new-alt, .icon-film, .icon-filter, .icon-fire, .icon-flag, .icon-flag-alt, .icon-flickr, .icon-folder, .icon-folder-close, .icon-folder-open, .icon-folder-sign, .icon-font, .icon-fontsize, .icon-forward-alt, .icon-foursquare, .icon-friendfeed, .icon-friendfeed-rect, .icon-fullscreen, .icon-gift, .icon-github, .icon-github-text, .icon-glass, .icon-glasses, .icon-globe, .icon-globe-alt, .icon-googleplus, .icon-graph, .icon-graph-alt, .icon-group, .icon-group-alt, .icon-guidedog, .icon-hand-down, .icon-hand-left, .icon-hand-right, .icon-hand-up, .icon-hdd, .icon-headphones, .icon-hearing-impaired, .icon-heart, .icon-heart-alt, .icon-heart-empty, .icon-home, .icon-home-alt, .icon-idea, .icon-idea-alt, .icon-inbox, .icon-inbox-alt, .icon-inbox-box, .icon-indent-left, .icon-indent-right, .icon-info-sign, .icon-instagram, .icon-iphone-home, .icon-italic, .icon-key, .icon-laptop, .icon-laptop-alt, .icon-leaf, .icon-linkedin, .icon-list, .icon-list-alt, .icon-lock, .icon-lock-alt, .icon-magnet, .icon-male, .icon-map-marker, .icon-map-marker-alt, .icon-mic, .icon-mic-alt, .icon-minus, .icon-minus-sign, .icon-pause, .icon-fork, .icon-broom, .icon-return-key, .icon-lastfm, .icon-livejournal, .icon-myspace, .icon-soundcloud, .icon-viadeo, .icon-spotify, .icon-caret-left, .icon-caret-up, .icon-caret-right, .icon-caret-down, .icon-stop {
+ font-family: 'Elusive-Icons';
+ speak: none;
+ font-style: normal;
+ font-weight: normal;
+ font-variant: normal;
+ text-transform: none;
+ line-height: 1;
+ -webkit-font-smoothing: antialiased;
+}
+.icon-move:before {
+ content: "\e074";
+}
+.icon-music:before {
+ content: "\e073";
+}
+.icon-network:before {
+ content: "\e072";
+}
+.icon-off:before {
+ content: "\e071";
+}
+.icon-ok:before {
+ content: "\e070";
+}
+.icon-ok-circle:before {
+ content: "\e06f";
+}
+.icon-ok-sign:before {
+ content: "\e06e";
+}
+.icon-paper-clip:before {
+ content: "\e06d";
+}
+.icon-paper-clip-alt:before {
+ content: "\e06c";
+}
+.icon-path:before {
+ content: "\e06b";
+}
+.icon-plus-sign:before {
+ content: "\e059";
+}
+.icon-print:before {
+ content: "\e058";
+}
+.icon-qrcode:before {
+ content: "\e057";
+}
+.icon-question:before {
+ content: "\e056";
+}
+.icon-question-sign:before {
+ content: "\e055";
+}
+.icon-quotes:before {
+ content: "\e054";
+}
+.icon-quotes-alt:before {
+ content: "\e053";
+}
+.icon-random:before {
+ content: "\e052";
+}
+.icon-record:before {
+ content: "\e051";
+}
+.icon-reddit:before {
+ content: "\e050";
+}
+.icon-refresh:before {
+ content: "\e04f";
+}
+.icon-screenshot:before {
+ content: "\e03f";
+}
+.icon-search:before {
+ content: "\e03e";
+}
+.icon-search-alt:before {
+ content: "\e03d";
+}
+.icon-share:before {
+ content: "\e03c";
+}
+.icon-share-alt:before {
+ content: "\e03b";
+}
+.icon-shopping-cart:before {
+ content: "\e03a";
+}
+.icon-shopping-cart-sign:before {
+ content: "\e039";
+}
+.icon-signal:before {
+ content: "\e038";
+}
+.icon-skype:before {
+ content: "\e037";
+}
+.icon-slideshare:before {
+ content: "\e036";
+}
+.icon-smiley:before {
+ content: "\e035";
+}
+.icon-th-large:before {
+ content: "\e023";
+}
+.icon-th-list:before {
+ content: "\e022";
+}
+.icon-thumbs-down:before {
+ content: "\e021";
+}
+.icon-thumbs-up:before {
+ content: "\e020";
+}
+.icon-time:before {
+ content: "\e01f";
+}
+.icon-time-alt:before {
+ content: "\e01e";
+}
+.icon-tint:before {
+ content: "\e01d";
+}
+.icon-torso:before {
+ content: "\e01c";
+}
+.icon-trash:before {
+ content: "\e01b";
+}
+.icon-trash-alt:before {
+ content: "\e01a";
+}
+.icon-tumblr:before {
+ content: "\e019";
+}
+.icon-w3c:before {
+ content: "\e00a";
+}
+.icon-warning-sign:before {
+ content: "\e009";
+}
+.icon-website:before {
+ content: "\e008";
+}
+.icon-website-alt:before {
+ content: "\e007";
+}
+.icon-wheelchair:before {
+ content: "\e006";
+}
+.icon-wordpress:before {
+ content: "\e005";
+}
+.icon-wrench:before {
+ content: "\e004";
+}
+.icon-wrench-alt:before {
+ content: "\e003";
+}
+.icon-youtube:before {
+ content: "\e002";
+}
+.icon-zoom-in:before {
+ content: "\e001";
+}
+.icon-zoom-out:before {
+ content: "\e000";
+}
+.icon-pause-alt:before {
+ content: "\e069";
+}
+.icon-pencil:before {
+ content: "\e068";
+}
+.icon-pencil-alt:before {
+ content: "\e067";
+}
+.icon-person:before {
+ content: "\e066";
+}
+.icon-phone:before {
+ content: "\e065";
+}
+.icon-phone-alt:before {
+ content: "\e064";
+}
+.icon-photo:before {
+ content: "\e063";
+}
+.icon-photo-alt:before {
+ content: "\e062";
+}
+.icon-picasa:before {
+ content: "\e061";
+}
+.icon-picture:before {
+ content: "\e060";
+}
+.icon-pinterest:before {
+ content: "\e05f";
+}
+.icon-plane:before {
+ content: "\e05e";
+}
+.icon-play-alt:before {
+ content: "\e05c";
+}
+.icon-play-circle:before {
+ content: "\e05b";
+}
+.icon-plus:before {
+ content: "\e05a";
+}
+.icon-remove:before {
+ content: "\e04e";
+}
+.icon-remove-circle:before {
+ content: "\e04d";
+}
+.icon-remove-sign:before {
+ content: "\e04c";
+}
+.icon-repeat:before {
+ content: "\e04b";
+}
+.icon-repeat-alt:before {
+ content: "\e04a";
+}
+.icon-resize-full:before {
+ content: "\e049";
+}
+.icon-resize-horizontal:before {
+ content: "\e048";
+}
+.icon-resize-small:before {
+ content: "\e047";
+}
+.icon-resize-vertical:before {
+ content: "\e046";
+}
+.icon-retweet:before {
+ content: "\e045";
+}
+.icon-reverse-alt:before {
+ content: "\e044";
+}
+.icon-road:before {
+ content: "\e043";
+}
+.icon-rss:before {
+ content: "\e042";
+}
+.icon-screen:before {
+ content: "\e041";
+}
+.icon-screen-alt:before {
+ content: "\e040";
+}
+.icon-smiley-alt:before {
+ content: "\e034";
+}
+.icon-speaker:before {
+ content: "\e033";
+}
+.icon-stackoverflow:before {
+ content: "\e032";
+}
+.icon-star:before {
+ content: "\e031";
+}
+.icon-star-alt:before {
+ content: "\e030";
+}
+.icon-star-empty:before {
+ content: "\e02f";
+}
+.icon-stop-alt:before {
+ content: "\e02b";
+}
+.icon-stumbleupon:before {
+ content: "\e02a";
+}
+.icon-tag:before {
+ content: "\e029";
+}
+.icon-tags:before {
+ content: "\e028";
+}
+.icon-tasks:before {
+ content: "\e027";
+}
+.icon-text-height:before {
+ content: "\e026";
+}
+.icon-text-width:before {
+ content: "\e025";
+}
+.icon-th:before {
+ content: "\e024";
+}
+.icon-twitter:before {
+ content: "\e018";
+}
+.icon-universal-access:before {
+ content: "\e017";
+}
+.icon-unlock:before {
+ content: "\e016";
+}
+.icon-unlock-alt:before {
+ content: "\e015";
+}
+.icon-upload:before {
+ content: "\e014";
+}
+.icon-user:before {
+ content: "\e013";
+}
+.icon-video:before {
+ content: "\e012";
+}
+.icon-video-alt:before {
+ content: "\e011";
+}
+.icon-video-chat:before {
+ content: "\e010";
+}
+.icon-view-mode:before {
+ content: "\e00f";
+}
+.icon-vimeo:before {
+ content: "\e00e";
+}
+.icon-vkontakte:before {
+ content: "\e10e";
+}
+.icon-volume-down:before {
+ content: "\e00d";
+}
+.icon-volume-off:before {
+ content: "\e00c";
+}
+.icon-volume-up:before {
+ content: "\e00b";
+}
+.icon-backward:before {
+ content: "\e0ab";
+}
+.icon-fast-backward:before {
+ content: "\e09a";
+}
+.icon-fast-forward:before {
+ content: "\e099";
+}
+.icon-forward:before {
+ content: "\e093";
+}
+.icon-play:before {
+ content: "\e05d";
+}
+.icon-step-backward:before {
+ content: "\e02e";
+}
+.icon-step-forward:before {
+ content: "\e02d";
+}
+.icon-briefcase:before {
+ content: "\e10d";
+}
+.icon-bullhorn:before {
+ content: "\e10c";
+}
+.icon-calendar:before {
+ content: "\e10b";
+}
+.icon-calendar-sign:before {
+ content: "\e10a";
+}
+.icon-address-book:before {
+ content: "\e0dd";
+}
+.icon-address-book-alt:before {
+ content: "\e0dc";
+}
+.icon-adjust:before {
+ content: "\e0db";
+}
+.icon-adult:before {
+ content: "\e0da";
+}
+.icon-align-center:before {
+ content: "\e0d9";
+}
+.icon-align-justify:before {
+ content: "\e0d8";
+}
+.icon-align-left:before {
+ content: "\e0d7";
+}
+.icon-align-right:before {
+ content: "\e0d6";
+}
+.icon-arrow-down:before {
+ content: "\e0d5";
+}
+.icon-arrow-left:before {
+ content: "\e0d4";
+}
+.icon-arrow-right:before {
+ content: "\e0af";
+}
+.icon-arrow-up:before {
+ content: "\e0ae";
+}
+.icon-asl:before {
+ content: "\e0ad";
+}
+.icon-asterisk:before {
+ content: "\e0ac";
+}
+.icon-ban-circle:before {
+ content: "\e0aa";
+}
+.icon-barcode:before {
+ content: "\e0d3";
+}
+.icon-behance:before {
+ content: "\e0d2";
+}
+.icon-bell:before {
+ content: "\e0d1";
+}
+.icon-blind:before {
+ content: "\e0d0";
+}
+.icon-blogger:before {
+ content: "\e0cf";
+}
+.icon-bold:before {
+ content: "\e0ce";
+}
+.icon-book:before {
+ content: "\e0f5";
+}
+.icon-bookmark:before {
+ content: "\e0f4";
+}
+.icon-bookmark-empty:before {
+ content: "\e0f3";
+}
+.icon-braille:before {
+ content: "\e0f2";
+}
+.icon-camera:before {
+ content: "\e0a9";
+}
+.icon-cc:before {
+ content: "\e0a8";
+}
+.icon-certificate:before {
+ content: "\e0a7";
+}
+.icon-check:before {
+ content: "\e0a6";
+}
+.icon-check-empty:before {
+ content: "\e0a5";
+}
+.icon-chevron-down:before {
+ content: "\e0a4";
+}
+.icon-chevron-left:before {
+ content: "\e0cd";
+}
+.icon-chevron-right:before {
+ content: "\e0cc";
+}
+.icon-chevron-up:before {
+ content: "\e0cb";
+}
+.icon-child:before {
+ content: "\e0ca";
+}
+.icon-circle-arrow-down:before {
+ content: "\e0c9";
+}
+.icon-circle-arrow-left:before {
+ content: "\e0c8";
+}
+.icon-circle-arrow-right:before {
+ content: "\e0f1";
+}
+.icon-circle-arrow-up:before {
+ content: "\e0f0";
+}
+.icon-cloud:before {
+ content: "\e0ef";
+}
+.icon-cloud-alt:before {
+ content: "\e0ee";
+}
+.icon-cog:before {
+ content: "\e109";
+}
+.icon-cog-alt:before {
+ content: "\e108";
+}
+.icon-cogs:before {
+ content: "\e107";
+}
+.icon-comment:before {
+ content: "\e106";
+}
+.icon-comment-alt:before {
+ content: "\e0a3";
+}
+.icon-compass:before {
+ content: "\e0a2";
+}
+.icon-compass-alt:before {
+ content: "\e0a1";
+}
+.icon-credit-card:before {
+ content: "\e0a0";
+}
+.icon-css:before {
+ content: "\e09f";
+}
+.icon-dashboard:before {
+ content: "\e09e";
+}
+.icon-delicious:before {
+ content: "\e0c7";
+}
+.icon-deviantart:before {
+ content: "\e0c6";
+}
+.icon-digg:before {
+ content: "\e0c5";
+}
+.icon-download:before {
+ content: "\e0c4";
+}
+.icon-download-alt:before {
+ content: "\e0c3";
+}
+.icon-dribble:before {
+ content: "\e0c2";
+}
+.icon-edit:before {
+ content: "\e0ed";
+}
+.icon-eject:before {
+ content: "\e0ec";
+}
+.icon-envelope:before {
+ content: "\e0eb";
+}
+.icon-envelope-alt:before {
+ content: "\e0ea";
+}
+.icon-error:before {
+ content: "\e105";
+}
+.icon-error-alt:before {
+ content: "\e104";
+}
+.icon-exclamation-sign:before {
+ content: "\e103";
+}
+.icon-eye-close:before {
+ content: "\e102";
+}
+.icon-eye-open:before {
+ content: "\e09d";
+}
+.icon-facebook:before {
+ content: "\e09c";
+}
+.icon-facetime-video:before {
+ content: "\e09b";
+}
+.icon-female:before {
+ content: "\e098";
+}
+.icon-file:before {
+ content: "\e0c1";
+}
+.icon-file-alt:before {
+ content: "\e0c0";
+}
+.icon-file-edit:before {
+ content: "\e0bf";
+}
+.icon-file-edit-alt:before {
+ content: "\e0be";
+}
+.icon-file-new:before {
+ content: "\e0bd";
+}
+.icon-file-new-alt:before {
+ content: "\e0bc";
+}
+.icon-film:before {
+ content: "\e0e9";
+}
+.icon-filter:before {
+ content: "\e0e8";
+}
+.icon-fire:before {
+ content: "\e0e7";
+}
+.icon-flag:before {
+ content: "\e0e6";
+}
+.icon-flag-alt:before {
+ content: "\e101";
+}
+.icon-flickr:before {
+ content: "\e100";
+}
+.icon-folder:before {
+ content: "\e0ff";
+}
+.icon-folder-close:before {
+ content: "\e0fe";
+}
+.icon-folder-open:before {
+ content: "\e097";
+}
+.icon-folder-sign:before {
+ content: "\e096";
+}
+.icon-font:before {
+ content: "\e095";
+}
+.icon-fontsize:before {
+ content: "\e094";
+}
+.icon-forward-alt:before {
+ content: "\e092";
+}
+.icon-foursquare:before {
+ content: "\e0bb";
+}
+.icon-friendfeed:before {
+ content: "\e0ba";
+}
+.icon-friendfeed-rect:before {
+ content: "\e0b9";
+}
+.icon-fullscreen:before {
+ content: "\e0b8";
+}
+.icon-gift:before {
+ content: "\e0b7";
+}
+.icon-github:before {
+ content: "\e0b6";
+}
+.icon-github-text:before {
+ content: "\e0e5";
+}
+.icon-glass:before {
+ content: "\e0e4";
+}
+.icon-glasses:before {
+ content: "\e0e3";
+}
+.icon-globe:before {
+ content: "\e0e2";
+}
+.icon-globe-alt:before {
+ content: "\e0fd";
+}
+.icon-googleplus:before {
+ content: "\e0fc";
+}
+.icon-graph:before {
+ content: "\e0fb";
+}
+.icon-graph-alt:before {
+ content: "\e0fa";
+}
+.icon-group:before {
+ content: "\e091";
+}
+.icon-group-alt:before {
+ content: "\e090";
+}
+.icon-guidedog:before {
+ content: "\e08f";
+}
+.icon-hand-down:before {
+ content: "\e08e";
+}
+.icon-hand-left:before {
+ content: "\e08d";
+}
+.icon-hand-right:before {
+ content: "\e08c";
+}
+.icon-hand-up:before {
+ content: "\e0b5";
+}
+.icon-hdd:before {
+ content: "\e0b4";
+}
+.icon-headphones:before {
+ content: "\e0b3";
+}
+.icon-hearing-impaired:before {
+ content: "\e0b2";
+}
+.icon-heart:before {
+ content: "\e0b1";
+}
+.icon-heart-alt:before {
+ content: "\e0b0";
+}
+.icon-heart-empty:before {
+ content: "\e0e1";
+}
+.icon-home:before {
+ content: "\e0e0";
+}
+.icon-home-alt:before {
+ content: "\e0df";
+}
+.icon-idea:before {
+ content: "\e0de";
+}
+.icon-idea-alt:before {
+ content: "\e0f9";
+}
+.icon-inbox:before {
+ content: "\e0f8";
+}
+.icon-inbox-alt:before {
+ content: "\e0f7";
+}
+.icon-inbox-box:before {
+ content: "\e0f6";
+}
+.icon-indent-left:before {
+ content: "\e08b";
+}
+.icon-indent-right:before {
+ content: "\e08a";
+}
+.icon-info-sign:before {
+ content: "\e089";
+}
+.icon-instagram:before {
+ content: "\e088";
+}
+.icon-iphone-home:before {
+ content: "\e087";
+}
+.icon-italic:before {
+ content: "\e086";
+}
+.icon-key:before {
+ content: "\e085";
+}
+.icon-laptop:before {
+ content: "\e084";
+}
+.icon-laptop-alt:before {
+ content: "\e083";
+}
+.icon-leaf:before {
+ content: "\e082";
+}
+.icon-linkedin:before {
+ content: "\e081";
+}
+.icon-list:before {
+ content: "\e080";
+}
+.icon-list-alt:before {
+ content: "\e07f";
+}
+.icon-lock:before {
+ content: "\e07e";
+}
+.icon-lock-alt:before {
+ content: "\e07d";
+}
+.icon-magnet:before {
+ content: "\e07c";
+}
+.icon-male:before {
+ content: "\e07b";
+}
+.icon-map-marker:before {
+ content: "\e07a";
+}
+.icon-map-marker-alt:before {
+ content: "\e079";
+}
+.icon-mic:before {
+ content: "\e078";
+}
+.icon-mic-alt:before {
+ content: "\e077";
+}
+.icon-minus:before {
+ content: "\e076";
+}
+.icon-minus-sign:before {
+ content: "\e075";
+}
+.icon-pause:before {
+ content: "\e06a";
+}
+.icon-fork:before {
+ content: "\e10f";
+}
+.icon-broom:before {
+ content: "\e110";
+}
+.icon-return-key:before {
+ content: "\e111";
+}
+.icon-lastfm:before {
+ content: "\e112";
+}
+.icon-livejournal:before {
+ content: "\e113";
+}
+.icon-myspace:before {
+ content: "\e114";
+}
+.icon-soundcloud:before {
+ content: "\e115";
+}
+.icon-viadeo:before {
+ content: "\e116";
+}
+.icon-spotify:before {
+ content: "\e117";
+}
+.icon-caret-left:before {
+ content: "\e119";
+}
+.icon-caret-up:before {
+ content: "\e02c";
+}
+.icon-caret-right:before {
+ content: "\e118";
+}
+.icon-caret-down:before {
+ content: "\e11a";
+}
+.icon-stop:before {
+ content: "\e11b";
+}
diff --git a/mayor-orig/mayor-base/www/skin/default/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/default/base/html/base.phtml
new file mode 100644
index 00000000..7c226647
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/default/base/html/base.phtml
@@ -0,0 +1,464 @@
+<?php
+
+function includeSocial($page,$sub,$f) {
+ global $OG;
+
+ if (__FBCONNECT_ENABLED===true && defined('__FB_APP_ID')) {
+ echo '<script type="text/javascript">';
+ echo 'var FB_APP_ID = "'.__FB_APP_ID.'";';
+ echo '</script>';
+ }
+
+ if (__GOOGLEAPI_ENABLED===true && defined('__GOOGLEAPI_CLIENT_ID')) {
+ echo '<script src="https://apis.google.com/js/platform.js" async defer></script>';
+ echo '<meta name="google-signin-client_id" content="'.__GOOGLEAPI_CLIENT_ID.'">';
+ echo '<script type="text/javascript">';
+ echo 'var GOOGLEAPI_CLIENT_ID = "'.__GOOGLEAPI_CLIENT_ID.'";';
+ echo '</script>';
+ }
+
+ if (_OG_ENABLED!==true) return;
+ if ($page=='portal') {
+ $_url .= _BASE_URL."/index.php?page=$page&sub=$sub&f=$f&".$OG['getparameter'];
+ $_img = ($OG['image']!='') ? $OG['image']:_OG_IMAGE;
+ echo '<meta property="og:title" content="'.$OG['title'].'" />'."\n";
+// echo '<meta property="og:type" content="website" />'."\n";
+ echo '<meta property="og:type" content="article" />'."\n";
+ echo '<meta property="og:site_name" content="MaYoR | '._SCHOOL_NAME.'" />'."\n";
+ echo '<meta property="og:image" content="'.$_img.'" />'."\n";
+ echo '<meta property="og:description" content="'.$OG['title'].' - MaYoR - '._SCHOOL_NAME.'" />'."\n";
+ echo '<meta property="og:url" content="'.str_replace('&','&#38;',$_url).'" />'."\n";
+ }
+}
+
+function includeCSS($page,$sub,$f,$skin,$media='') {
+
+ echo '<link rel="stylesheet" href="skin/default/base/css/elusive-webfont.css" type="text/css" />'; // minden mediara, colorscheme-re
+ echo '<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />';
+// echo '<link href="//fonts.googleapis.com/css?family=Source+Sans Pro:200italic,200,300italic,300,400italic,400,600italic,600,700italic,700,900italic,900" rel="stylesheet" type="text/css">';
+
+ if ($media!='') {
+ $MEDIA='-'.$media;
+ $MEDIA_STR = 'media="'.$media.'" ';
+ } else {
+ $MEDIA='';
+ $MEDIA_STR = 'media="screen,print" ';
+ }
+ if (file_exists(($_f="skin/$skin/base/css$MEDIA/base.php")) ) {
+ echo '<link rel="stylesheet" href="'.$_f.'?scheme='.__COLOR_SCHEME.'&ver='._MAYORREV.'" type="text/css" '.$MEDIA_STR.'/>';
+ echo "\n";
+ } elseif (file_exists(($_f="skin/$skin/base/css$MEDIA/base.css")) ) {
+ echo '<link rel="stylesheet" href="'.$_f.'?ver='._MAYORREV.'" type="text/css" '.$MEDIA_STR.'/>';
+ echo "\n";
+ } elseif ($media=='') {
+ echo '<link rel="stylesheet" href="skin/'._DEFAULT_SKIN.'/base/css/base.css?ver='._MAYORREV.'" type="text/css" '.$MEDIA_STR.'/>';
+ echo "\n";
+ }
+ if (file_exists(($_f="skin/$skin/module-$page/css$MEDIA/$page.css")) ) {
+ echo '<link rel="stylesheet" href="'.$_f.'?ver='._MAYORREV.'" type="text/css" '.$MEDIA_STR.' />';
+ echo "\n";
+ } elseif (file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$page/css/$page.css")) && $media=='') {
+ echo '<link rel="stylesheet" href="'.$_f.'?ver='._MAYORREV.'" type="text/css" '.$MEDIA_STR.'/>';
+ echo "\n";
+ }
+ if ($sub!='') {
+ if (file_exists(($_f="skin/$skin/module-$page/css$MEDIA/$sub/base.css")) ) {
+ echo '<link rel="stylesheet" href="'.$_f.'?ver='._MAYORREV.'" type="text/css" '.$MEDIA_STR.'/>';
+ echo "\n";
+ } elseif ( file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$page/css/$sub/base.css")) && $media=='') {
+ echo '<link rel="stylesheet" href="'.$_f.'?ver='._MAYORREV.'" type="text/css" '.$MEDIA_STR.'/>';
+ echo "\n";
+ }
+ if (file_exists(($_f="skin/$skin/module-$page/css$MEDIA/$sub/$f.css")) ) {
+ echo '<link rel="stylesheet" href="'.$_f.'?ver='._MAYORREV.'" type="text/css" '.$MEDIA_STR.'/>';
+ echo "\n";
+ } elseif ( file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$page/css/$sub/$f.css")) && $media=='') {
+ echo '<link rel="stylesheet" href="'.$_f.'?ver='._MAYORREV.'" type="text/css" '.$MEDIA_STR.'/>';
+ echo "\n";
+ }
+ } else {
+ if (file_exists(($_f="skin/$skin/module-$page/css$MEDIA/$f.css")) ) {
+ echo '<link rel="stylesheet" href="'.$_f.'?ver='._MAYORREV.'" type="text/css" '.$MEDIA_STR.'/>';
+ echo "\n";
+ } elseif ( file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$page/css/$f.css")) && $media=='') {
+ echo '<link rel="stylesheet" href="'.$_f.'?ver='._MAYORREV.'" type="text/css" '.$MEDIA_STR.'/>';
+ echo "\n";
+ }
+ }
+
+
+ global $VALID_MODULES;
+ for($i=0; $i<count($VALID_MODULES); $i++) {
+ $mod = $VALID_MODULES[$i];
+ if ($mod != $page) {
+ if (file_exists(($_f="skin/$skin/module-mod/css$MEDIA/$mod.css")) ) {
+ echo '<link rel="stylesheet" href="'.$_f.'?ver='._MAYORREV.'" type="text/css" '.$MEDIA_STR.' />'."\n";
+ } elseif (file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$mod/css$MEDIA/$mod.css")) ) {
+ echo '<link rel="stylesheet" href="'.$_f.'?ver='._MAYORREV.'" type="text/css" '.$MEDIA_STR.' />'."\n";
+ }
+ }
+ }
+
+
+
+}
+
+function includeJS($page,$sub,$f,$skin) {
+ $js = '.'._JSLIB.'.js';
+// echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="skin/'._DEFAULT_SKIN.'/base/javascript/underscore-min.js?ver='._MAYORREV.'"></script>'."\n";
+ echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="skin/'._DEFAULT_SKIN.'/base/javascript/'._JSLIB.'.js?ver='._MAYORREV.'"></script>'."\n";
+// echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="skin/'._DEFAULT_SKIN.'/base/javascript/scrolltofix.'._JSLIB.'.js?ver='._MAYORREV.'"></script>'."\n";
+// echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="skin/'._DEFAULT_SKIN.'/base/javascript/backbone-min.js?ver='._MAYORREV.'"></script>'."\n";
+
+ if (_ENABLE_IFRAME_EMBEDDING !== true)
+ echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="skin/'._DEFAULT_SKIN.'/base/javascript/noiframe.js?ver='._MAYORREV.'"></script>';
+
+ if (file_exists(($_f="skin/$skin/base/javascript/base".$js)) ) {
+ echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="'.$_f.'?ver='._MAYORREV.'"></script>'."\n";
+ } elseif (file_exists(($_f='skin/'._DEFAULT_SKIN.'/base/javascript/base'.$js)) ) {
+ echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="'.$_f.'?ver='._MAYORREV.'"></script>'."\n";
+ }
+
+ if ( file_exists(($_f="skin/$skin/module-$page/javascript/$page".$js)) ) {
+ echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="'.$_f.'?ver='._MAYORREV.'"></script>'."\n";
+ } elseif (file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$page/javascript/$page".$js)) ) {
+ echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="'.$_f.'?ver='._MAYORREV.'"></script>'."\n";
+ }
+ if ($sub!='') {
+ if ( file_exists(($_f="skin/$skin/module-$page/javascript/$sub/$f".$js)) ) {
+ echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="'.$_f.'?ver='._MAYORREV.'"></script>'."\n";
+ } elseif ( file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$page/javascript/$sub/$f".$js)) ) {
+ echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="'.$_f.'?ver='._MAYORREV.'"></script>'."\n";
+ }
+ } elseif ($f != $page) {
+ if ( file_exists(($_f="skin/$skin/module-$page/javascript/$f".$js)) ) {
+ echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="'.$_f.'?ver='._MAYORREV.'"></script>'."\n";
+ } elseif ( file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$page/javascript/$f".$js)) ) {
+ echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="'.$_f.'?ver='._MAYORREV.'"></script>'."\n";
+ }
+ }
+ if (__RICH_TEXT_EDITOR===true && $f == 'egyhir') {
+ // Koschtit Image Gallery
+ if ($page == 'portal') {
+ //require_once('skin/classic/share/javascript/koschtit/ki_include.php');
+ echo '<script type="text/javascript" src="skin/classic/share/javascript/koschtit/ki_base/ki_js_framework.php?reldir=skin/classic/share/javascript/koschtit/"></script>';
+ }
+ echo '
+ <script src="skin/classic/share/javascript/tiny_mce/tiny_mce.js" type="text/javascript"></script>
+ <script src="skin/classic/module-portal/javascript/hirek/egyhir.php?lang='.$lang.'" type="text/javascript"></script>';
+ }
+
+ // if (file_exists(($_f="skin/$skin/base/javascript/jstorage.min.js")) ) {
+ // echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="'.$_f.'?ver='._MAYORREV.'"></script>'."\n";
+ // }
+ // if (file_exists(($_f="skin/$skin/base/javascript/json2.min.js")) ) {
+ // echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="'.$_f.'?ver='._MAYORREV.'"></script>'."\n";
+ // }
+
+ // becsatoljuk a többi modul main .js filejait is
+ global $VALID_MODULES;
+ for($i=0; $i<count($VALID_MODULES); $i++) {
+ $mod = $VALID_MODULES[$i];
+ if ($mod != $page) {
+ if ( file_exists(($_f="skin/$skin/module-$mod/javascript/$mod".$js)) ) {
+ echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="'.$_f.'?ver='._MAYORREV.'"></script>'."\n";
+ } elseif (file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$mod/javascript/$mod".$js)) ) {
+ echo '<script language="JavaScript" type="text/javascript" charset="utf-8" src="'.$_f.'?ver='._MAYORREV.'"></script>'."\n";
+ }
+ }
+ }
+}
+
+// -------------------------------------------------------------------
+// ajaxUpdaterForm
+// -------------------------------------------------------------------
+
+
+function ajaxUpdaterForm($id, $url, $params, $method, $forEcho=false) {
+ global $skin;
+
+ $t = '<form method="'.$method.'" action="'.href($url.'&toSkin='.$skin).'" class="onLoadUpdate" id="'.$id.'">'."\n";
+ if ($_SESSION['mayorToken']!='') $t .= '<input class="mayorToken" type="hidden" name="mayorToken" value="'.$_SESSION['mayorToken'].'" />';
+ foreach ($params as $name => $value) $t .= '<input type="hidden" name="'.$name.'" value="'.$value.'" />'."\n";
+ $t .= '</form>';
+ if ($forEcho) return $t;
+ else echo $t;
+
+}
+
+/*
+
+<!ATTLIST FORM
+ %attrs; -- %coreattrs, %i18n, %events --
+ action %URI; #REQUIRED -- server-side form handler --
+ method (GET|POST) GET -- HTTP method used to submit the form--
+ enctype %ContentType; "application/x-www-form-urlencoded"
+ accept %ContentTypes; #IMPLIED -- list of MIME types for file upload --
+ name CDATA #IMPLIED -- name of form for scripting --
+ onsubmit %Script; #IMPLIED -- the form was submitted --
+ onreset %Script; #IMPLIED -- the form was reset --
+ accept-charset %Charsets; #IMPLIED -- list of supported charsets --
+ >
+
+ %attrs : id, class
+
+*/
+
+ /* For XSRF hardening */
+ function formBegin($SET=array('method'=>'post','action'=>''),$SET2=array('print'=>true, 'skipFormTag'=>false)) {
+
+ global $skin;
+ if ($skin != 'ajax') {
+ /* Default */
+ if ($SET['method']=='') $SET['method'] = 'post';
+
+ foreach (array('method','action') as $key) { /* Kötelező paraméterek */
+ $formParams .= $key.'="'.$SET[$key].'" ';
+ }
+ foreach (array('id','class','name','onsubmit', 'enctype','target','style') as $key) { /* Lehetséges megengedett argumentumok */
+ if ($SET[$key]!='') $formParams .= $key.'="'.$SET[$key].'" ';
+ }
+ $str = '<!-- SOForm -->'."\n";
+ if ('skipFormTag' !== true) $str .= '<form '.$formParams.'>';
+ }
+ $str .= '<input class="salt" type="hidden" name="'.__SALTNAME.'" value="'.__SALTVALUE.'" />';
+ if ($_SESSION['mayorToken']!='') $str .= '<input class="mayorToken" type="hidden" name="mayorToken" value="'.$_SESSION['mayorToken'].'" />';
+
+ if ($SET2['print']===true) echo $str; else return $str;
+
+ }
+
+ function formEnd($SET2=array('print'=>true)) {
+ global $skin;
+ if ($skin != 'ajax') {
+ $str = '</form>';
+ $str .= '<!-- EOForm -->';
+ }
+ if ($SET2['print']===true) echo $str; else return $str;
+ }
+
+
+
+// ---------------
+
+
+
+
+
+
+
+// -------------------------------------------------------------------
+// debug_layer() : debug üzenetek kiiratása
+// -------------------------------------------------------------------
+
+ function _debugLayer() {
+ global $_DEBUG;
+ echo '<!--// debug start //-->'."\n".'<div id="debug" style="display: none;">'.$_DEBUG.'</div>'."\n".'<!--// debug end //-->';
+ echo '<div id="help" style="display: none;"><div id="hideHelp" class="onClickHide">X</div><div id="helpHeader">'._HELP.'</div><iframe src=""></iframe></div>';
+ }
+
+ function _keyHelp() {
+ $keys = array(
+ array('Shift-L','Login/Logout - Belépés/Kilépés'),
+ array('Shift-F','Find - Keresés a menüben'),
+ array('Shift-S','Settings - Beállítások'),
+ array('Shift-D','Debug - Nyomkövetési üzenetek megjelnítése/elrejtése'),
+ array('Ctrl-Shift-V','Vakbarát nézet'),
+ array('F1','Help - Súgó'),
+ );
+ echo '<table id="keyHelp" style="display: none;">';
+ echo '<tr><th colspan="2">Gyorsbillentyűk</th></tr>';
+ foreach ($keys as $keyAdat) {
+ echo '<tr><td class="key">'.$keyAdat[0].':</td><td class="desc">'.$keyAdat[1].'</td></tr>';
+ }
+ echo '</table>';
+ }
+
+ function _searchLayer() {
+ echo '<form id="mayorSearch" action="" method="post" style="display: none">';
+// echo '<label for="searchPattern"><span class="icon-search"></span> </label>';
+ echo '<input type="text" name="pattern" value="" autocomplete="off" placeholder="Kezdj gépelni, nyomj entert" />';
+ echo '</form>';
+ }
+
+
+ function _httpheader() {
+ @header("Last-Modified: Mon, 20 Oct 2003 01:01:01 GMT");
+ @header("Cache-Control: no-store, no-cache, must-revalidate");
+ @header("Cache-Control: post-check=0, pre-check=0", false);
+ @header("Pragma: no-cache");
+ }
+ function _updateWindow() {
+ echo '<div id="takaro" style="display: none;"></div>';
+ echo '<div id="updateWindow" style="display: none;">';
+ echo _svgClose(array('size'=>30, 'id'=>'updateCloseButton', 'title'=>_CLOSE, 'print'=>false));
+ echo '<div id="updateHeader">';
+ echo '</div>';
+ echo formBegin(array('class'=>'onSubmitUpdate','id'=>'updateForm'));formEnd();
+ echo '</div>';
+ }
+
+ function _svgClose($SET=array('size'=>24,'print'=>true)) {
+ $size = isset($SET['size'])?$SET['size']:24; //128 volt eredetileg
+ $print = isset($SET['print'])?$SET['print']:true;
+
+ $str .= '<div style="width: '.$size.'px; height: '.$size.'px;" '
+.(isset($SET['id'])?'id="'.$SET['id'].'" ':'')
+.(isset($SET['class'])?'class="'.$SET['class'].'" ':'')
+.(isset($SET['alt'])?'alt="'.$SET['alt'].'" ':'')
+.(isset($SET['title'])?'title="'.$SET['title'].'" ':'')
+.'>';
+
+ $str .= '<svg style="position: absolute; z-index: -1;" '
+.'version="1.0" xmlns="http://www.w3.org/2000/svg"
+width="'.$size.'.000000px" height="'.$size.'.000000px" viewBox="0 0 128.000000 100.000000"
+preserveAspectRatio="xMidYMid meet">
+<metadata>x</metadata>
+<g transform="translate(0.000000,128.000000) scale(0.100000,-0.100000)" fill="#880000" stroke="none">
+<path d="M536 1190 c-115 -29 -224 -122 -279 -238 -30 -62 -32 -75 -32 -172 0
+-97 2 -110 32 -172 44 -94 109 -160 202 -206 72 -36 79 -37 181 -37 102 0 109
+1 181 37 93 46 158 112 202 206 30 62 32 75 32 172 0 97 -2 110 -32 172 -44
+93 -110 160 -199 204 -64 32 -84 37 -161 40 -48 2 -105 -1 -127 -6z m51 -272
+l53 -52 55 54 55 55 42 -43 43 -42 -55 -55 -54 -55 54 -55 55 -55 -43 -42 -42
+-43 -55 55 -55 54 -55 -54 -55 -55 -42 43 -43 42 55 55 54 55 -54 55 -54 55
+39 40 c21 22 41 40 44 40 3 0 29 -23 58 -52z"/>
+</g>
+</svg>';
+
+ $str .= '<div style="background-color: transparent; width: '.$size.'px; height: '.$size.'px;" '
+.(isset($SET['id'])?'id="'.$SET['id'].'Click" ':'').'></div>';
+ $str .= '</div>';
+
+ if ($print===true) echo $str; else return $str;
+ }
+
+ function _svgLoginout($SET=array('print'=>true, 'color'=>'#00c0ff')) {
+ return false;
+/* global $page;
+ if (//_POLICY=='public'
+ defined('_USERACCOUNT') && (!is_string(_USERACCOUNT) || _USERACCOUNT=='')) {
+ if($page=='auth') $_bg = 'rgb(247, 197, 14)';
+ elseif (isset($SET['color'])) $_bg = $SET['color'];
+ else $_bg = '#00c0ff';
+ $img .= '<span id="mayorLoginoutSmall" style="color: '.$_bg.'" class="icon-unlock"></span></a>';
+ } else {
+ //$_bg = '#Ff0066'; // (piros) #3496b9
+ //$_bg = 'rgb(52, 150, 185)';
+ $img .= '<span id="mayorLoginoutSmall" class="icon-lock"></span></a>';
+ }
+ if ($print===true) echo $img; else return $img;
+*/
+ }
+
+ function _svgDown($SET=array('print'=>true, 'color' => '#3496b9')) {
+
+ return '';
+
+ }
+
+ function _inlineHelp($txt) {
+ echo '<div class="hideShowContainer inlinehelp">';
+ //echo '<span class="onClickHideShow iicon-question">?</span>';
+ echo '<span class="onClickHideShow icon-question-sign"></span>';
+ echo '<p class="openable" style="display: none;">'.$txt.'</p>';
+ echo '</div>';
+ }
+
+ function mayorGlobalLogin($loggedIn=false) {
+ global $AUTH;
+ if (is_array($AUTH['private']['allowOnly'])) $_class='class="restricted"'; else $_class = '';
+
+ echo '<div id="mayorGlobalLogin" '.$_class.'>';
+ if ($loggedIn) {
+ if (defined('_MAYORAUTHRESULT') && defined('_AUTH_FAILURE') && intval(_MAYORAUTHRESULT)>=intval(_AUTH_FAILURE)) {
+ $_class=' failed';
+ //$_focus = ' id="focus" '; // ha azt akarjuk, hogy focus-t is kapjon...
+ }
+ $secure_url = 'https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
+ echo '<table><tr><td style="padding-right:10px;">';
+ formBegin(array('class'=>'check passwordAuth','action'=>$secure_url));
+ echo '<span class="icon-adult '.$_class.'"></span>';
+ echo '<input '.$_focus.' type="text" name="userAccount" autocomplete="off" />';
+ echo '<br/>';
+ echo '<span class="icon-key '.$_class.'"></span>';
+ echo '<input type="password" name="userPassword" />';
+ echo '<input type="hidden" name="toPolicy" value="private" />';
+ echo '<input type="hidden" name="action" value="mayorGlobalLogin" />';
+ echo '<button type="submit" style="background-color:inherit;border: solid 0px white;padding:0px;"><span class="icon-play-alt"></span></button>';
+ formEnd();
+ echo '</td><td style="">';
+ if (__GOOGLEAPI_ENABLED===true) {
+ formBegin(array('class'=>'googleapi','action'=>$secure_url));
+ echo '<input type="hidden" name="action" value="googleapilogin" />';
+ echo '<button type="button" id="googleLoginBtn" class="api"><span class="icon-googleplus"></span></button>';
+ formEnd();
+ }
+ echo '</td><td style="">';
+ if (__FBCONNECT_ENABLED===true) {
+ formBegin(array('class'=>'fb','action'=>$secure_url));
+ echo '<input type="hidden" name="action" value="facebooklogin" />';
+ echo '<button type="submit" class="api"><span class="icon-facebook FBstatusunknown" id="mglFBconnect"></span></button>';
+ //echo '<button type="submit" style="background-color:inherit;border: solid 0px white;padding:0px;"><span class="icon-googleplus"></span></button>';
+ formEnd();
+ }
+ echo '</td></tr></table>';
+ } else {
+ if ($_SESSION['mayorapiauth']===true) {
+ echo '<span style="position: absolute; top:8px; left:0px; color: lightgreen; font-size: 14px;" class="icon-star-alt" title="Megbízható böngésző"></span>';
+ }
+ echo '<a href="'.href('index.php?page=session&f=logout&toPolicy=public',array('skin','lang','sessionID')).'"><div class="large icon-lock" '.$_style.'></div></a>';
+ }
+ echo '</div>';
+
+ }
+
+ function _updateWindowSide() {
+ echo '<div id="updateWindowSide" class="updateWindowSide">';
+ echo '<h1><span id="btn_updateWindowSideClose" class="icon-remove-circle"></span><div id="updateWindowSideTitle"></div></h1>';
+ echo '<div id="updateWindowSideContent">';
+ echo '</div>';
+ echo '</div>'."\n";
+
+ echo '<div id="updateWindowSideSub" class="updateWindowSide updateWindowSideSub">';
+ echo '<h1><span id="btn_updateWindowSideSubClose" class="icon-circle-arrow-left"></span><div id="updateWindowSideSubTitle"></div></h1>';
+ echo '<div id="updateWindowSideSubContent">';
+ echo '</div>';
+ echo '</div>'."\n";
+ }
+
+function mayorLogoSvg($colors=array()) {
+
+ if ($colors['dot'] =='') $colors['dot'] = '#ff0066';
+ if ($colors['startColor'] =='') $colors['startColor'] = '#00c0ff';
+ if ($colors['stopColor'] =='') $colors['stopColor'] = '#8800aa';
+
+echo '
+<svg width="150" height="70" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <defs>
+ <linearGradient id="linearGradient3031-2">
+ <stop stop-color="'.$colors['startColor'].'" id="stop3033-8" offset="0"/>
+ <stop stop-color="'.$colors['stopColor'].'" id="stop3035-8" offset="1"/>
+ </linearGradient>
+ <linearGradient xlink:href="#linearGradient3031-2" id="linearGradient3410" x1="0.111436" y1="0.907162" x2="1.150126" y2="1.037583"/>
+ </defs>
+ <metadata id="metadata7">image/svg+xml</metadata>
+ <g>
+ <title>background</title>
+ <rect fill="none" id="canvas_background" height="72" width="152" y="-1" x="-1"/>
+ </g>
+ <g>
+ <title>Layer 1</title>
+ <g stroke="null" id="svg_1">
+ <path stroke="#000000" stroke-width="0" fill="url(#linearGradient3410)" stroke-miterlimit="10.4" stroke-opacity="0.625641" d="m18.871286,49.146203c1.362856,-0.705671 2.623651,-1.683619 3.856106,-2.71448c-11.435929,10.35345 -4.531692,3.933533 -1.992395,1.315906c1.492685,-1.562102 2.914177,-3.241685 4.370244,-4.864169c1.289976,-1.473983 2.537038,-3.018588 3.682489,-4.696425c1.084587,-1.608239 2.075183,-3.3158 2.99299,-5.104252c0.953855,-1.849017 1.768241,-3.826746 2.582088,-5.795892c0.844414,-1.842027 1.540328,-3.797802 2.263888,-5.731472c0.686096,-1.784296 1.383456,-3.561303 1.956708,-5.422002c1.098952,-3.897154 3.57097,-12.249716 7.869627,-8.111667c0.736389,1.173007 1.182463,2.635396 1.674253,4.004546c0.850588,2.359506 1.833776,4.624629 2.874033,6.845c1.208574,2.653586 2.669999,5.089615 4.084263,7.551665c1.279466,2.237266 2.491804,4.542684 3.743744,6.808473c1.027307,1.79324 2.058529,3.582083 3.108363,5.352285c1.083714,1.801793 2.246692,3.506402 3.268277,5.373125c1.367163,2.196821 2.747667,4.38286 4.175031,6.509963c0.670376,0.857123 1.123165,2.05359 1.887081,2.782571c0.290255,0.276974 0.232704,0.220748 0.299922,-0.096702c-2.276386,1.880244 -4.552773,3.760489 -6.829189,5.640733c0.065411,-0.091973 0.152867,-0.162143 0.196204,-0.27589c0.107483,-0.282244 0.171117,-0.592918 0.249147,-0.893383c0.389396,-1.49913 0.764186,-2.970825 1.217488,-4.437098c0.702208,-1.891989 1.473983,-3.768168 2.443047,-5.432633c1.229835,-2.112406 2.690447,-3.972473 4.105675,-5.849706c2.308309,-2.938239 4.739791,-5.691568 7.146729,-8.480343c1.870908,-2.183121 3.67508,-4.470379 5.462629,-6.776339c1.675969,-2.205976 3.385608,-3.611837 5.078774,-5.79342c1.417215,-1.802365 3.244877,-3.853877 4.598549,-5.741741c1.718222,-1.986101 5.411161,-6.210281 6.550679,-7.424215c2.451118,-2.334359 1.075041,-2.088585 5.756287,-5.989653c0.092696,-0.077247 0.222495,-0.024996 0.331815,0.003012c0.445321,0.11453 0.651523,0.614963 0.875946,1.088442c0.481038,1.807997 0.711574,3.721007 1.032788,5.585772c0.56482,3.83885 1.856754,7.389612 3.187507,10.863791c1.113799,2.584681 2.169807,5.220649 3.439124,7.680229c0.88498,1.714819 1.493167,2.733151 2.443047,4.391292c2.42302,4.027919 4.881998,8.036983 7.556393,11.769554c2.197784,2.96182 4.724342,5.408541 7.310769,7.691974c1.922828,1.805798 3.925312,3.441262 5.849013,5.245043c1.404265,1.324218 2.731435,2.802417 4.092996,4.210869c0.458482,0.51269 0.957589,0.945724 1.435074,1.423148l-6.559202,6.149688l0,0c-0.426288,-0.525519 -0.865857,-1.029265 -1.295186,-1.550266c-1.278322,-1.49666 -2.609135,-2.903697 -3.976569,-4.246586c-1.830282,-1.887081 -3.662793,-3.773529 -5.61128,-5.431338c-2.53767,-2.441541 -4.978187,-5.060524 -7.130437,-8.125671c-0.886757,-1.264137 -1.707169,-2.402722 -2.547337,-3.725434c-1.70202,-2.679606 -3.256231,-5.526986 -4.936537,-8.230654c-2.248861,-3.833067 -4.586924,-7.62256 -6.252985,-11.981328c-1.32473,-3.526098 -3.089631,-6.837712 -4.160455,-10.509781c-3.153446,-8.888351 3.625299,-6.393053 3.849962,-3.001121c2.523636,3.041265 -5.528883,9.530388 -6.953778,11.354978c-11.818399,13.777579 -11.92293,13.836696 -18.692701,21.176799c-3.065358,3.360522 -6.263014,6.658704 -6.419495,8.084442c-0.028008,0.255953 -2.309514,1.516748 -2.314422,1.776496c-0.003614,0.18744 0.144706,0.457247 0.032736,0.562742c-2.273013,2.137161 -4.681578,4.006233 -7.022381,6.009349c-0.862002,-1.070553 -1.323435,-2.589861 -2.113159,-3.75052c-1.330151,-2.240579 -2.750558,-4.381987 -4.15127,-6.542608c-1.188336,-1.695906 -2.292227,-3.492278 -3.374465,-5.311538c-1.049743,-1.790831 -2.164446,-3.516401 -3.066291,-5.453443c-1.191618,-2.311501 -2.392994,-4.608065 -3.662131,-6.845903c-1.396737,-2.52123 -2.754624,-5.080072 -4.169309,-7.583802c-1.066759,-2.225671 -2.011699,-4.542262 -3.011601,-6.820666c-0.178345,-0.397256 -1.204388,-2.675751 -1.503105,-2.899029c-0.0259,-0.019274 -0.053606,0.028911 -0.080409,0.043337c0.40599,3.84942 -0.023189,0.309861 6.599738,-5.694008c0.081583,-0.073964 -0.183947,0.113627 -0.249509,0.212256c-0.371266,0.558737 -0.448423,1.404717 -0.77822,1.999593c-0.587467,1.874793 -1.194178,3.738745 -1.936982,5.507712c-0.762771,1.910932 -1.441458,3.885619 -2.253649,5.760051c-0.825833,1.978753 -1.716897,3.905676 -2.551915,5.876238c-0.910398,1.844557 -1.895242,3.612262 -3.007174,5.242486c-1.084045,1.845431 -2.411546,3.366726 -3.71477,4.922684c-1.46519,1.578364 -2.845302,3.2899 -4.311094,4.866789c-3.493814,3.534771 -6.918365,7.128148 -10.802177,9.955591c-1.358038,1.07218 -2.778957,1.982397 -4.172712,2.968626l6.073345,-7.272101l-0.000271,0.00003z" id="path3029-4"/>
+ <path stroke="#000000" stroke-width="0" fill="'.$colors['dot'].'" stroke-miterlimit="10.4" stroke-opacity="0.625641" d="m51.542359,11.830431a8.023452,8.023452 0 1 1 -16.046904,0a8.023452,8.023452 0 1 1 16.046904,0z" id="path3039-48-4-9"/>
+ <path stroke="#000000" stroke-width="0" fill="'.$colors['dot'].'" stroke-miterlimit="10.4" stroke-opacity="0.625641" d="m76.175022,52.413521a8.023452,8.023452 0 1 1 -16.046904,0a8.023452,8.023452 0 1 1 16.046904,0z" id="path3039-7-8-8"/>
+ <path stroke="#000000" stroke-width="0" fill="'.$colors['dot'].'" stroke-miterlimit="10.4" stroke-opacity="0.625641" d="m113.473391,9.57383a8.023452,8.023452 0 1 1 -16.046904,0a8.023452,8.023452 0 1 1 16.046904,0z" id="path3039-4-5-3"/>
+ <path stroke="#000000" stroke-width="0" fill="'.$colors['dot'].'" stroke-miterlimit="10.4" stroke-opacity="0.625641" d="m146.927757,60.422215a8.023452,8.023452 0 1 1 -16.046904,0a8.023452,8.023452 0 1 1 16.046904,0z" id="path3039-6-8-4"/>
+ <path stroke="#000000" stroke-width="0" fill="'.$colors['dot'].'" stroke-miterlimit="10.4" stroke-opacity="0.625641" d="m19.119154,53.659801a8.023452,8.023452 0 1 1 -16.046904,0a8.023452,8.023452 0 1 1 16.046904,0z" id="path3039-8-4"/>
+ </g>
+ </g>
+</svg>
+';
+}
+
+?> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/gray/base/css/base.css b/mayor-orig/mayor-base/www/skin/gray/base/css/base.css
new file mode 100644
index 00000000..2f645201
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/gray/base/css/base.css
@@ -0,0 +1,678 @@
+@media screen {
+
+ html {
+ height: 100%;
+ -webkit-filter: grayscale(100%);
+ -moz-filter: grayscale(100%);
+ filter: grayscale(100%);
+/* this breaks firefox */
+ }
+ html body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin:0px; padding:0px; height: 100%; overflow: auto; }
+ a { text-decoration:none; }
+ .onClickHideShow, .onClickHide, .onClickShow { cursor: pointer; }
+
+ /* mayorlayers */
+ #debug {
+ padding: 20px; background: rgba(0,0,0,0.7); color: yellow; border: 0px red solid;
+ position: absolute; z-index: 1000; top: 0px; left: 0px; right: 0px;
+ }
+ #debug pre { background: rgba(240,240,240,0.9); color: #880000; padding: 10px; margin: 0px;}
+
+ #help {
+ border-radius: 2px;
+ box-shadow: 3px 3px 15px 0px rgba(100,100,100,5.0);
+ position: absolute; top: 10px; left: 50%; height: 600px; width: 1000px; z-index: 500; margin: 0 -500px;
+ border: 1px solid #888888; background: white; }
+ #help iframe { width: 1000px; height: 558px; margin: 0; border: none; }
+ #helpHeader { text-align: center; font-size: 16px; width: 992px; height: 20px; margin: 0px; background: #44cbf8; cursor: pointer; color: white; font-weight: bold; padding: 4px;
+ border-bottom: #f3f3f3 solid 4px;
+ }
+ #hideHelp {
+ position: absolute; top:4px; right: 4px;
+ cursor: pointer; background: #822; color: white; padding: 2px 5px; font-size: 12px;
+ border: #822 1px solid; border-radius: 2px; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
+/* box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);*/
+ }
+ #hideHelp:hover { background-color:red;}
+
+ div.errorMsg { margin: 10px 20%; background: #fee; border: solid 1px red; border-radius: 2px; padding: 10px; box-shadow: 0px 0px 0px rgba(0,0,0,0.5); }
+ div.errorMsg span { font-weight: bold; color: #f00; }
+ div.infoMsg { margin: 10px 20%; background-color: #eee; border: solid 1px rgb(90,133,184); border-radius: 2px; padding: 10px; box-shadow: 0px 0px 0px rgba(0,0,0,0.5); }
+ div.infoMsg span { font-weight: bold; color: rgb(21,71,123); }
+ div.errorMsg span.alertParam, div.infoMsg span.alertParam { font-weight: normal; color: rgba(0,0,0,0.8); }
+
+ div#mayorErrorSmall span { padding:4px 4px;}
+ div#mayorErrorSmall span.errorMsg { color:red; }
+ div#mayorErrorSmall span.infoMsg { color:rgb(21,71,123); }
+
+ #mayorSearch {
+ z-index:4;
+ position: fixed;
+ width: 500px;
+ max-height: 500px; overflow:auto;
+ padding: 10px;
+ border: 5px solid #ccc;
+ border-radius: 2px;
+ background-color: #fff;
+ top: 30%;
+ left: 50%;
+ margin-top: -100px;
+ margin-left: -250px;
+ box-shadow: 0px 1px 100px 30px rgba(101,101,101,0.9);
+ }
+ #mayorSearch input {
+ font-size:30px;
+ width:99%;
+ height:50px;
+ padding:0px 0px 0px 0px;
+ margin:0px;
+ border: solid 1px #dddddd;
+ }
+
+ #mayorSearch a { display: block; color: cornflowerblue; padding: 2px; }
+ #mayorSearch a:before { content:' \25AB '; }
+ #mayorSearch a:hover { text-decoration: underline; }
+ #mayorSearch a.aktiv { outline: solid 2px cornflower; }
+ #mayorSearch a.aktiv:before, #mayorSearch a:hover:before { content:' \25AA '; }
+
+ div.inlinehelp { position: relative; display: inline-block; color:#446688; }
+/* div.inlinehelp span.onClickHideShow { padding: 1px 6px; border-radius: 14px; border: #68a solid 1px; color: #468; font-weight: bold; font-size: 10px;}*/
+ div.inlinehelp span.onClickHideShow { font-size: 10px; color: #446688;}
+ div.inlinehelp p {
+ width: 200px; position: absolute; display: inline-block; top: -15px; left: 35px; z-index: 1000;
+ background-color: #ffa;
+ border: solid 1px #888; padding: 4px; border-radius: 2px;
+ font-weight: normal; text-align: left; white-space: pre-wrap;
+ }
+ div.inlinehelp span.onClickHideShow:hover { color: rgb(106,128,250); }
+
+ /* mayorhead */
+ /* placeholder */
+ #head { z-index: 2; position: absolute; width: 100%; height: 60px;
+ background-color: #3496B9;
+ }
+
+ #mayorhead { }
+
+ #logo { z-index: 3; height: 40px; position: absolute; top: 8px; left: 14px; border: 0px none; }
+ #logobadge { z-index: 4; height: 25px; position: fixed; top: 28px; left: 90px; border: 0px none; }
+
+ #nav, #nav ul { list-style: none; }
+ #nav { z-index: 3; margin: 0px;
+ padding-left: 140px;
+ }
+
+ #nav li { position: relative; }
+ #nav > li { float: left; z-index: 20; text-align: center; padding: 0;
+/* background-color: #3fa79c; */
+ background-color: #3496B9;
+ border-bottom: 0px solid #D2DFE9;
+ /* border-bottom: 1px solid rgb(165,190,200);/* */
+ }
+ #nav > li.active { max-width: 160px; }
+ #nav > li:hover { z-index: 22; }
+ #nav > li > ul { top: 50px; left: -1px; /* background: #1A4B5C; */}
+ #nav > li > ul > li > a { margin-left: 10px; }
+
+ #nav li:hover { background: #4fbcd7;
+ background-color: #3FA79C;
+ }
+ #nav li.active { background: #3facc7; }
+
+ #nav li a { display: block; padding: 3px 10px; color: white; }
+ #nav > li > a { padding: 0px 20px; line-height: 60px; vertical-align: middle; display: table-cell; min-width: 70px;
+ -webkit-transition: all 0.1s ease;
+ transition: all 0.1s ease;
+ }
+ #nav li a:hover { color: orange; }
+ #nav li:hover > ul { display: block; }
+
+ #nav li.nav1szin { background: #3496B9; border-bottom: 1px solid white; }
+ #nav ul.sub { background: #3facc7; }
+
+ #nav ul { display: none; position: absolute; width: 160px; padding: 0px; }
+ #nav ul span { float: left; margin: 6px 5px; color: white; }
+
+ #nav > li > ul { top: 60px; border-top: solid 4px rgba(255,255,255,0.4); }
+ #nav ul > li { background: #3496B9; }
+ #nav ul li { text-align: left; margin-bottom: 1px; }
+ #nav ul li a { padding: 6px 10px; }
+ #nav ul li.active > a { color:#fdb933; }
+
+ #nav ul ul { top: 0px; left: -145px; z-index: 30; background: #3facc7; background: #3496B9}
+ #nav ul ul a { background: #3facc7; }
+ #nav ul ul a:hover { background: #4fbcd7; color: white; border-right: solid 4px orange;} /* mod */
+
+ #nav li.start { /* fogó */
+ height: 20px; min-width: 0; padding-right: 0px; padding-left: 6px;
+ margin-top:20px;
+ background-color:lightgrey;
+ border-radius: 0px 50px 50px 0px; border-bottom: 0px;
+ z-index: 20;
+ }
+
+ #nav:hover li.start {
+ animation: moIn 0.1s; -webkit-animation: moIn 0.1s;
+ }
+
+ #nav li.start:hover {
+ background: #D2DFE9;
+ padding-left:9px;
+ }
+
+ #poz { z-index: 2; padding: 0; list-style: none; background-color: rgb(230,230,230); margin: 0;
+ height: 20px; border-bottom: #f3f3f3 solid 4px; text-shadow: 0px 1px rgba(52, 150, 185, 0.1);
+ border-top: rgb(247, 197, 14) solid 4px;
+ animation-name: niceMaYoR;
+ animation-duration: 30s;
+ animation-iteration-count: 4;
+ animation-direction: alternate;
+ animation-timing-function: ease-in-out;
+ animation-delay: 60s;
+ }
+
+ #poz > li { padding: 2px 6px; }
+ #poz > li div.nev { float: right; padding: 2px; width: auto; color: #3496b9; text-align: right; }
+ #poz > li div.nev span { color:rgb(70, 130, 180); margin-right: 0px; }
+ #poz > li div.nev span:hover { color:#00c0ff; }
+ #poz > li div.nev a { color: #3496b9;}
+
+ #poz > li a { margin-right:4px; margin-left:4px; padding:0px; margin-top:0px; vertical-align: top;}
+
+ #settings {
+ width: 100%;
+ margin-top: 5px; position:relative; right: 0px;
+ background: #eeeeee;
+ border-width: 0px 1px 1px 1px;
+ border-style: solid;
+ border-color: rgb(230,230,230);
+ border-top: dotted 1px #dddddd;
+ }
+ #settings div {
+ padding: 20px 10px;
+ border-bottom: 1px solid rgb(230,230,230);
+ }
+ #settings div p { margin: 0; padding: 0; text-align: center; }
+ #settings div p.name { font-weight: bold; }
+ #settings table { width: 100%; background: rgb(245,245,245);}
+ #settings table:hover { box-shadow: 0px 0px 100px #eeeeee;}
+ #settings td { width: 50%; text-align: center; padding: 10px; }
+ #settings td a {
+ display: inline-block;
+ vertical-align: baseline; line-height: 29px;
+ position: static;
+ padding: 0px 8px; height: 29px; margin: 0px 8px;
+ text-align: center; text-decoration: none; font-weight: bold; font-size: 10px;
+ background: white; color: #444;
+ border: solid 1px rgba(0, 0, 0, 0.0976563);
+ border-radius: 2px;
+ }
+ #settings td a:hover { border: white 1px solid; background-color: #44CBF8; color: white; }
+
+ #poz > li span.school {
+ font-variant: small-caps;
+ font-size: 14px;
+ color: rgb(125,150,160);
+ /* font-weight: bold; */
+ letter-spacing: 0.32em;
+ overflow: hidden;
+ white-space:nowrap;
+ }
+ #poz > li span.school:hover { text-shadow: 0 0 0.2em #eee, 0 0 0.2em #eee }
+
+ #nav1 { z-index: 3; position: absolute; margin-left: 290px; margin-right: 0px; width: 100%;
+
+ }
+ #nav1 div { background: rgba(52,150,185,0.6); }
+ #nav1 div a { line-height:60px; padding: 0px 12px 0px 12px; display: inline-block; text-decoration: none; color: #fff;
+ background: #3496b9; margin-top: 0px;
+ }
+ #nav1 div a:hover { color: #fdb933;
+ background-color: ;
+ box-shadow: inset 0px -3px 0px #44CBF8;
+ }
+ #nav1 div a.aktiv { color:#fdb933; }
+ #nav1 div a.aktiv:hover { color: white; }
+
+ #nav1 div span.onClickHideShow {
+ display:none;
+ cursor: pointer; color: white; background: rgba(255,255,255,0.2); line-height:60px;
+ padding: 0px 12px 0px 12px; float: right; margin-right: 290px/* annyi, amennyi a #nav1 bal margója!*/; }
+
+ #nav2.vertical {
+ z-index: 1; width: 140px; margin: 0; height: 100%;
+ background-color: #D2DFE9;
+/* margin-top: -25px;
+ padding-top: 25px;
+*/ position: fixed;
+ overflow: auto;
+ top:88px;
+ background: -webkit-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ background: -moz-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ background: linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ }
+ #nav2.vertical ul { margin: 0; padding: 0; list-style: none; }
+ #nav2.vertical ul li { border-bottom: solid 1px rgba(100,100,100,0.4); }
+ #nav2.vertical ul li:first-child { border-top: solid 1px rgba(100,100,100,0.4); }
+ #nav2.vertical ul li a { display: block; color: black; font-size: 11px; text-decoration: none; padding: 6px 6px; width:128px; }
+ #nav2.vertical ul li a.aktiv { background-color: white; }
+ #nav2.vertical ul li a:hover { color: white; background: #9abcd8; }
+
+ #nav2.horizontal {
+ z-index: 1; width: 100%;
+ margin-top: 0px;
+ top: 88px;
+ text-align: center;
+ padding-top: 5px; padding-bottom: 5px;
+ position: fixed;
+ overflow: none;
+ border-bottom: solid 3px #eeeeee;
+ background-color: #82bfd5;
+ color: white;
+ font-size:x-small;
+ }
+ #nav2.horizontal ul { margin: 0; padding: 0; list-style: none; }
+ #nav2.horizontal ul li { display: inline; border-right: solid 1px #888888; }
+ #nav2.horizontal ul li:last-child { display: inline; border-right: solid 0px #888888; }
+ #nav2.horizontal ul li a {display: inline; color: white; width: 128px; padding: 0px 6px; text-decoration: none; }
+ #nav2.horizontal ul li a.aktiv { color: white; background-color: orange;}
+ #nav2.horizontal ul li a:hover { color: white; background: orange; }
+ #nav2.horizontal:hover li { }
+
+ div.mayorfoot { text-align: center; font-size:smaller; color: #aaa; }
+ div.mayorfoot a { color: rgba(52, 150, 185, 0.6);}
+ div.mayorfoot:hover a { color: rgba(52, 150, 185, 1);}
+ #mayorfoot.leftpad { margin-top:2em; margin-left: 141px; }
+ #mayorfoot.toppad { margin-top: 40px; margin-left: 0px; }
+
+ #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); }
+
+ #updateWindow { z-index: 152; position: fixed; background: rgb(255,255,255); min-height: 100px; min-width: 200px; border: #3496B9 2px solid; border-radius: 4px; left:20%; right:20%;}
+/* #updateWindow #updateHeader { min-height: 20px; min-width: 100px; background: #1a4c5c; color: white; text-align: center; line-height: 20px; position: relative; top: -13px; border-radius: 4px; margin: 0 50px; border: solid 2px #3496b9; }*/
+ #updateWindow #updateHeader { min-height: 30px; min-width: 100px; background: #1a4c5c; color: white;
+ font-size:16px;text-align: center; line-height:30px; margin: 0 0px 10px 0px; border-bottom: solid 2px rgb(247, 197, 14); /*#3496b9*/ }
+ #updateWindow #updateCloseButton { position: absolute; right: -20px; top: -20px; z-index: 0; background : white; border: solid 3px #3496b9; border-radius: 20px;}
+ #updateWindow #updateCloseButton:hover { background : #eeeeee;}
+ #updateHeader { cursor: pointer; }
+ #updateForm { max-height: 100%; overflow: auto; }
+
+
+ #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 400px;
+ border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4);
+ }
+ #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; }
+ #keyHelp td.key { color: yellow; text-align: right; width: 100px; }
+ #keyHelp td.desc { color: white; text-align: left; }
+
+ #logo, #head, #nav1, #nav, #poz { position: fixed; }
+ #head { top: 0; left: 0; }
+ #nav { top: 0; left: 0; }
+ #nav1 { top: 0; }
+ #poz { top: 60px; width: 100%; }
+
+ #mayorbody { padding-top: 1px; padding-right: 0px;
+ /*margin-left:0px;*/ margin-top: 88px;
+ }
+ #mayorbody.leftpad { margin-left: 141px; }
+ #mayorbody.toppad { margin-left: 0px; top:33px; position: relative;}
+
+ /* alternates */
+ #mayorhead.small #nav1 div a { line-height:30px; }
+ #mayorhead.small #nav > li > a { line-height:30px;}
+ #mayorhead.small #head { height:30px;}
+ #mayorhead.small #poz { height:20px;}
+
+ /* ------------ */
+/* #mayorerror {z-index:100;position:fixed; bottom:0px; min-height:88px; width:100%;background-color: rgba(255,20,147,0.9); border-bottom: solid 1px red; display:none;}*/
+
+ #nav2 .icons span { padding: 0px 6px; vertical-align:middle; cursor:pointer}
+ #nav2.vertical .icons { height:26px; color: lightslategrey;}
+ #nav2.vertical .icons span { font-size:11px; display:table-cell; padding-top:8px;}
+ #nav2.vertical .icons span:hover {color:white;}
+
+ #nav2.horizontal .icons {display:inline; float:left; padding-top:3px; height:100%;}
+ #nav2.horizontal .icons span { font-size:11px; display:inline; padding-top:0px; color: white; border: dotted 1px lightblue; padding:3px; margin:0px 2px; background-color: rgba(100,100,100,0.1);}
+ #nav2.horizontal .icons span:hover {color:orange;}
+
+ #nav2 ul li.fullmenuitem { display:none }
+
+ #nav2fullmenu.aktiv { color: rgb(30, 144, 255);}
+ #nav2fullmenu.aktiv:hover { color: rgb(60,174,255) !important;}
+
+ #mayorGlobalLogin {
+ /*background-color: rgba(0, 0, 0, 0.6); */
+ padding:0px 0px 0px 0px; z-index: 100; position:fixed; top:0px; right:0px; height:60px;}
+ #mayorGlobalLogin span { color:#eeeeee; padding-right:2px; }
+ #mayorGlobalLogin span.failed { color: rgb(255,215,0);; text-shadow: 0px 0px 2px #ff0000;}
+ #mayorGlobalLogin:hover span.failed { color: rgb(255,235,0); }
+ #mayorGlobalLogin:hover span { color:white; }
+ #mayorGlobalLogin div.large { font-size:40px; padding:10px; color: #eeeeee;}
+ #mayorGlobalLogin div.large:hover { font-size:40px; padding:10px; color: white; }
+
+ #mayorGlobalLogin input[type=text] { width:100px; }
+ #mayorGlobalLogin input[type=password] { width:100px; }
+
+ /* add default */
+ #mayorGlobalLogin form input {margin:2px;}
+ #mayorGlobalLogin table { height:60px;}
+ #mglFBconnect.FBstatusunknown { /*color: #aaa;*/ }
+ #mglFBconnect:after { content: " ";
+ margin-left:4px;display: inline-block;width:8px;
+ height:8px;border-radius: 8px;border: solid 1px white; background-color:#888;
+ }
+ #mglFBconnect:hover:after {animation: sheen 1s forwards;}
+ #mglFBconnect.FB2:after {background-color:lightgreen;}
+ #mglFBconnect.FB1:after {background-color:orange;}
+ #mglFBconnect.FB0:after {background-color:red;}
+
+ #mayorErrorHide {color: rgb(90, 133, 184); cursor:pointer;}
+ #mayorErrorHide:hover {color: rgba(52, 150, 185, 0.6);}
+
+ .hidden { display:none }
+
+ #ui-datepicker-div {position: relative; z-index:4 !important;}
+
+ #mayorErrorSmall.mayorErrorSmallInfo {
+ overflow:hidden;
+ line-height:22px;
+ border-bottom: solid 4px rgb(106,128,250);
+ border-top: solid 4px lightblue;
+ padding:0px; height:20px; width:100%;
+ background-color:rgba(250,250,250,0.9); position:fixed;
+ top:60px;left:0px; z-index:3
+ }
+
+ #mayorErrorSmall.mayorErrorSmallError {
+ overflow:hidden;
+ line-height:22px;
+ border-bottom: solid 4px red;
+ border-top: solid 4px orange;
+ padding:0px; height:20px; width:100%;
+ background-color:rgba(250,250,250,0.9); position:fixed;
+ top:60px;left:0px; z-index:3
+ }
+
+
+/* .nyitva2 { width:390px !important; }*/
+
+ #updateWindowSide {
+ z-index: 152;
+ position: fixed;
+/* background-color: rgba(73, 71, 71,0.92);
+*/ border-left: solid 0px black;
+ padding:4px;
+ color:white;
+ right: -368px;
+ width: 360px;
+ top:60px;
+ bottom:0;
+ overflow-y: auto;
+ border-top : solid 4px grey;
+ transition: all 300ms ease;
+ display:none;
+ }
+ #updateWindowSide.nyitva { right:0px;
+ background-color: rgba(73, 71, 71,0.92);
+ display:block;
+ }
+ #updateWindowSide h1 { padding: 4px 8px; margin:0px; text-align:center; border-bottom: solid 1px #dddddd; }
+ #updateWindowSide h1 div { font-size:16px; min-height: 20px; }
+ #updateWindowSide h1 span#btn_updateWindowSideClose { float:left; font-size:18px; cursor: pointer; }
+ #updateWindowSide h1 span#btn_updateWindowSideClose:hover { color: #777777; }
+ #updateWindowSide a {color: inherit; }
+ #updateWindowSide a:hover {color: inherit; }
+
+ #updateWindowSideSub {
+ z-index: 153;
+ position: fixed;
+/* background-color: rgba(100, 100, 100,0.92);
+*/ border-left: solid 0px black;
+ padding:4px;
+ color:white;
+ right: -328px;
+ width: 320px;
+ top:60px;
+ bottom:0;
+ overflow-y: auto;
+ border-top : solid 4px #eee;
+ transition: all 300ms ease;
+ display:none;
+ }
+ #updateWindowSideSub.nyitva { right:0px;
+ background-color: rgba(100, 100, 100,0.92);
+ display:block;
+ }
+ #updateWindowSideSub h1 { padding: 4px 8px; margin:0px; text-align:center; border-bottom: solid 1px #dddddd; }
+ #updateWindowSideSub h1 div { font-size:16px; min-height: 20px; }
+ #updateWindowSideSub h1 span#btn_updateWindowSideSubClose { float:left; font-size:18px; cursor: pointer; }
+ #updateWindowSideSub h1 span#btn_updateWindowSideSubClose:hover { color: #777777; }
+ #updateWindowSideSub a {color: inherit; }
+ #updateWindowSideSub a:hover {color: inherit; }
+
+ #mayorNaviIconHolder { text-align:center; display:table; width:100%; border-bottom: solid 1px white;}
+ div.mayorNaviIcon { display:inline-block; text-align:center; padding: 10px 5px 5px 5px; margin-right:4px; border-width:0px 0px 0px 0px; border-style: solid; border-color:white;}
+ div.mayorNaviIcon a { color:inherit; text-decoration: none; display:inline-block;}
+ div.mayorNaviIcon span { font-size:16px; }
+ div.mayorNaviIcon:hover { background-color: cornflowerblue; cursor:pointer; text-shadow: 0px 0px 1px blue;}
+
+ #nav, #nav1,#nav2 {display:visible;}
+ #mayorIcons { height: 26px; color: #789; }
+ #hamburgerIcon {
+display:none;
+color:#D2DFE9; font-size:20px;z-index:100000;
+margin-left:0px;
+position:fixed;
+top:0px;
+padding:0px 8px;
+cursor: pointer;
+vertical-align: middle;
+border-radius:1px;
+border: solid 0px #eee;
+ }
+ #hamburgerIcon span { line-height:60px; }
+ #hamburgerIcon:active {color:white;}
+ #hamburgerIcon.nyitva {
+ color:white;
+ }
+
+ .hamburger { display:none;
+ position:fixed; z-index:1000; top:0px; left:0px;
+ padding: 15px 15px;
+ cursor: pointer;
+ transition-property: opacity, -webkit-filter;
+ transition-property: opacity, filter;
+ transition-property: opacity, filter, -webkit-filter;
+ transition-duration: 0.15s;
+ transition-timing-function: linear;
+ font: inherit;
+ color: inherit;
+ text-transform: none;
+ background-color: transparent;
+ border: 0;
+ margin: 0;
+ overflow: visible;
+ }
+
+ /* author Jonathan Suh jonsuh + mayor.hu */
+ /* https://github.com/jonsuh/hamburgers */
+ .hamburger:hover { opacity: 0.7; }
+ .hamburger-box {width: 20px;height: 30px;display: inline-block;position: relative;}
+ .hamburger-inner {display: block;top: 50%;margin-top: -2px;}
+ .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
+ width: 20px;height: 3px;
+ background-color: #eee;
+ border-radius: 2px;position: absolute;
+ transition-property: -webkit-transform;
+ transition-property: transform;
+ transition-property: transform, -webkit-transform;
+ transition-duration: 0.15s;
+ transition-timing-function: ease;
+ }
+ .hamburger-inner::before, .hamburger-inner::after {content: "";display: block;}
+ .hamburger-inner::before { top: -7px; }
+ .hamburger-inner::after { bottom: -7px; }
+
+ /* Squeeze */
+ .hamburger--squeeze .hamburger-inner {
+ transition-duration: 0.1s;
+ transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
+ }
+ .hamburger--squeeze .hamburger-inner::before { transition: top 0.1s 0.14s ease, opacity 0.1s ease;}
+ .hamburger--squeeze .hamburger-inner::after {
+ transition: bottom 0.1s 0.14s ease, -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
+ transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
+ transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
+ }
+ .hamburger--squeeze.is-active .hamburger-inner {
+ -webkit-transform: rotate(45deg);
+ transform: rotate(45deg);
+ transition-delay: 0.14s;
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
+ }
+ .hamburger--squeeze.is-active .hamburger-inner::before {top: 0;opacity: 0;transition: top 0.1s ease, opacity 0.1s 0.14s ease;}
+
+ .hamburger--squeeze.is-active .hamburger-inner::after {
+ bottom: 0;
+ -webkit-transform: rotate(-90deg);
+ transform: rotate(-90deg);
+ transition: bottom 0.1s ease, -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
+ transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
+ transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
+ }
+ /* end of hamburger */
+
+ #mayorNav {
+ width:100%;
+ position:absolute;
+ z-index:1;
+ background-color:#82bfd5;
+ opacity:1;
+ padding-bottom:1em;
+ border-bottom: solid 4px #F7C50E;
+ }
+
+ #mayorNav a { color:#eee; }
+ #mayorNav a:hover { color:white; }
+ #mayorNav ul {list-style-type: none; }
+ #mayorNav>ul>li { margin-bottom:1.4em; font-size:14px;}
+ #mayorNav>ul>li>a { font-size:large; border-bottom: solid 1px #eee; }
+ #mayorNav>ul>li>a:first-child { line-height:2em;}
+ #mayorNav ul li a:active { background-color: #303F9F;}
+ #mayorNav ul li {line-height:1.5em;}
+ #mayorNav div.mayorNavIcons div { background-color: orange; display:table-cell; text-align:center; padding:4px; }
+ #mayorNav div.mayorNavIcons div span { font-size:x-large;}
+ div.mayorLogo a img {
+ -webkit-transition: margin 1s;
+ transition: margin 1s;
+ }
+
+ div.arckep--container {position: relative;overflow: hidden;border-radius: 50%;border: solid 2px #fff; color: white;}
+ div.arckep--container img {width: 100%; height: auto; filter: grayscale(100%)};
+ div.arckep--container:hover { border: solid 2px orange; }
+ div.arckep--container img:hover { filter: grayscale(10%)};
+
+ div.arckepContainer {position: relative;overflow: hidden;border-radius: 50%;border: solid 2px #fff; color: white;}
+ div.arckepContainer span {
+ border-radius: 50%;border: solid 2px #fff; color: white;
+ height:50px; min-height:50px; width:50px; min-width:50px; background-color: #ddd;
+ font-size:20px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ }
+ div.arckepContainer.osztalyAdat:hover span { background-color: #8cc864; }
+ div.arckepContainer.diakNev:hover span { background-color: #ff8c00; }
+ div.arckepContainer.tankorAdat:hover span { background-color: #aca; }
+
+ div.arckepContainer.size_s {height:32px;width:32px;min-height:32px;min-width:32px;font-size:15px;}
+ div.arckepContainer.size_s span {height:30px;width:30px;min-height:30px;min-width:30px;font-size:13px;}
+
+ div._dotHolder {text-align:center; width:90%; margin:auto; padding:10px 0px;vertical-align:middle;}
+ div._dot {background-color:#eee;display: inline-block;border-radius: 50%;height:10px; width:10px;}
+ div._dot:hover {background-color:cornflowerblue !important;}
+ div._dotHolder:hover div._dot {background-color:#ccc;}
+
+}
+@media print {
+ #nav, #nav1, #nav2, #poz, #head, #logo, #mayorfoot, #logobadge, #mayorGlobalLogin, #updateWindowSide, #updateWindowSideSub, #mayorErrorSmall, .noprint { display: none; }
+ div.arckep--container {display: none;}
+ div.arckepContainer {display: none;}
+}
+
+@media (max-width: 900px) {
+ #nav>li a {padding:0px 8px;}
+}
+@media (max-width: 850px) {
+ #nav>li a {width:70px; padding:0px 4px;}
+}
+@media (max-width: 764px) {
+ .school { display: none; }
+ #nav, #nav1 { display: none;}
+ #nav2>ul:not(:first-child) {display:none;}
+ #mayorbody { margin-left:0px;}
+ #hamburgerIcon {display:block;}
+ div.mayorLogo a img { margin-left:40px; }
+
+ #mayorSearch {
+ z-index:4;
+ position: fixed;
+ width: 95%;
+ padding: 0px;
+ border: 5px solid #ccc;
+ border-radius: 2px;
+ background-color: #fff;
+ top: 120px;
+ left: 0px;
+ margin-top: 0px;
+ margin-left: 0px;
+ box-shadow: 0px 1px 100px 10px rgba(101,101,101,0.9);
+ }
+
+ .hamburger { display: inline-block;}
+ div.arckepContainer {display:none;}
+ div.arckep--container {display:none;}
+
+}
+
+@keyframes niceMaYoR {
+ 0% { border-top: rgb(247,197,14) solid 4px; }
+ 100% { border-top: rgb(147,197,214) solid 4px; }
+}
+
+@keyframes moIn {from {padding-left:6px;}to {padding-left:9px;}}
+@-webkit-keyframes moIn {from {padding-left:6px;}to {padding-left:9px;}}
+@keyframes moOut {from {padding-left:9px;}to {padding-left:6px;}}
+@-webkit-keyframes moOut {from {padding-left:9px;}to {padding-left:6px;}}
+
+.mayorLoader {
+ background: linear-gradient(270deg, #E6E6E6, #E6E6E6, #7D96A0, #E6E6E6, #E6E6E6);
+ background-size: 400% 400%;
+ -webkit-animation: mayorLoaderAnim 4s ease infinite;
+ -moz-animation: mayorLoaderAnim 4s ease infinite;
+ -o-animation: mayorLoaderAnim 4s ease infinite;
+ animation: mayorLoaderAnim 4s ease infinite;
+}
+
+@-webkit-keyframes mayorLoaderAnim {
+ 0%{background-position:0% 50%}
+ 50%{background-position:100% 50%}
+ 100%{background-position:0% 50%}
+}
+@-moz-keyframes mayorLoaderAnim {
+ 0%{background-position:0% 50%}
+ 50%{background-position:100% 50%}
+ 100%{background-position:0% 50%}
+}
+@-o-keyframes mayorLoaderAnim {
+ 0%{background-position:0% 50%}
+ 50%{background-position:100% 50%}
+ 100%{background-position:0% 50%}
+}
+@keyframes mayorLoaderAnim {
+ 0%{background-position:0% 50%}
+ 50%{background-position:100% 50%}
+ 100%{background-position:0% 50%}
+}
+
+
+
diff --git a/mayor-orig/mayor-base/www/skin/oldschool/base/css/base.css b/mayor-orig/mayor-base/www/skin/oldschool/base/css/base.css
new file mode 100644
index 00000000..39c25726
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/oldschool/base/css/base.css
@@ -0,0 +1,86 @@
+/*
+ Module: base
+*/
+@import "head.css";
+@media screen {
+
+ html body {
+ font-family: Verdana, sans-serif;
+ font-size: 12px;
+ margin:0px;
+ padding:0px;
+ background-color: white;
+ background-image: url("/skin/classic/base/img/gradient.jpg");
+ background-repeat: repeat-x;
+ }
+
+ /* set default layout! */
+ table { font-size: 12px; }
+
+ form { margin: 0px; }
+
+ div#mayorerror { }
+
+ div.mayorbody {
+
+ padding: 0px;
+
+ }
+
+ div.mayorfoot {
+ text-align: center;
+ font-size: 10px;
+ width:100%;
+ }
+/* - Alert - */
+
+ form.mayorAlert { margin: 0px; padding: 0px; }
+ form.mayorAlert input { display: none; }
+ div.errorMsg {
+ margin: 20px 20%;
+ background-color: #eeffd0;
+ border: solid 2px #ff0000;
+ padding: 15px;
+ }
+ div.errorMsg span {
+ font-style: italic;
+ }
+
+ div.infoMsg {
+ margin: 20px 20%;
+ background-color: #eeffd0;
+ border: solid 2px #0000ff;
+ padding: 15px;
+ }
+ div.infoMsg span {
+ font-style: italic;
+ }
+
+ span.alertParam {
+ color: green;
+ }
+
+ #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); }
+ #updateWindow {background-color: white; position: absolute;z-index:200;margin:auto auto; width:400px; border: solid 1px black;}
+ #updateHeader {background-color: #eeeeee; border-bottom: solid 1px black; text-align: center; font-weight: large;padding:4px 2px;}
+ #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 300px;
+ border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4);
+ }
+ #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; }
+ #keyHelp td.key { color: yellow; text-align: right; }
+ #keyHelp td.desc { color: white; text-align: left; }
+
+}
+@media print {
+ html body {
+ font-family: Verdana, sans-serif;
+ font-size: 12px;
+ }
+ div.mayorfoot {
+ text-align: center;
+ font-size: 10px;
+ margin: 5px;
+ }
+ div.namepolicy { display: none; }
+ table.mayorhead { display: none; }
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/oldschool/base/css/head.css b/mayor-orig/mayor-base/www/skin/oldschool/base/css/head.css
new file mode 100644
index 00000000..e6303c3f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/oldschool/base/css/head.css
@@ -0,0 +1,149 @@
+/*
+ Module: base
+*/
+@media screen {
+
+ div.namepolicy {
+ background-color:#ced89c;
+ border-style: none none solid none;
+ border-width: 1px;
+ border-color: #666666;
+ }
+ div.namepolicy table { font-size: 10px; width:100%; }
+ div.namepolicy table td { width:40%; }
+ div.namepolicy table td.right { text-align: right; }
+ div.namepolicy table td.left { text-align: left;}
+ div.namepolicy table td.help a { background-color:#aeb86c; text-decoration: none; font-weight: bold; padding: 2px 5px; color: rgb(80,60,40); display: block; }
+ div.namepolicy table td.help a:hover { background-color:#bec87c; }
+ div.namepolicy table th { width:20% }
+ div.namepolicy span.nev { padding-right: 14px; }
+ div.namepolicy table td.language span { vertical-align: middle; }
+ div.namepolicy table td.language img { margin: 0px 0px 0px 4px; height: 10px; border: solid 1px #777777; }
+ #langSelect { vertical-align: middle; padding: 0px; margin: 0px;}
+
+ table.mayorhead { font-size: 10px; margin: 3px 3px 20px 3px;}
+
+ table.mayorhead td.namepolicy { padding: 5px; }
+ table.mayorhead td.namepolicy table {
+ font-size: 10px;
+ border-style: solid;
+ border-width: 2px ;
+ border-color: #550670;
+ background-color: #8877aa;
+ color: white;
+ }
+
+/* Új menü */
+
+ ul#pagemenu {
+ padding: 1px;
+ text-align: left;
+ background-color: #040562;
+ list-style-type: none;
+ margin:1px;
+ }
+ ul#pagemenu li {
+ display: inline;
+ border-width: 0px 0px 0px 1px;
+ border-color: #8485a2;
+ border-style: dotted;
+ padding: 0px;
+ }
+ ul#pagemenu li a {
+ color: rgb(255,255,255);
+ text-decoration: none;
+ padding: 0px 5px;
+ margin: 0px;
+ }
+ ul#pagemenu li a:hover {
+ background-color: rgb(100,100,140);
+ text-decoration: underline;
+ }
+ ul#pagemenu li.active a {
+ background-color: #620405;
+ }
+ ul#pagemenu li.active a:hover {
+ background-color: rgb(140,100,100);
+ }
+
+/* SUB */
+
+ ul#submenu {
+ padding: 1px;
+ text-align: left;
+ background-color: #040582;
+ list-style-type: none;
+ margin:1px 1px 1px 40px;
+ }
+ ul#submenu li {
+ display: inline;
+ border-width: 0px 0px 0px 1px;
+ border-color: #8485a2;
+ border-style: dotted;
+ padding: 0px;
+ }
+ ul#submenu li a {
+ color: rgb(255,255,255);
+ text-decoration: none;
+ padding: 0px 5px;
+ margin: 0px;
+ }
+ ul#submenu li a:hover {
+ background-color: rgb(100,100,140);
+ text-decoration: underline;
+ }
+ ul#submenu li.active a {
+ background-color: #620405;
+ }
+ ul#submenu li.active a:hover {
+ background-color: rgb(140,100,100);
+ }
+
+/* f */
+
+ ul#fmenu {
+ padding: 1px;
+ text-align: left;
+ background-color: #0405a2;
+ list-style-type: none;
+ margin:1px 1px 1px 80px;
+ }
+ ul#fmenu li {
+ display: inline;
+ border-width: 0px 0px 0px 1px;
+ border-color: #8485a2;
+ border-style: dotted;
+ padding: 0px;
+ }
+ ul#fmenu li a {
+ color: rgb(255,255,255);
+ text-decoration: none;
+ padding: 0px 5px;
+ margin: 0px;
+ }
+ ul#fmenu li a:hover {
+ background-color: rgb(100,100,140);
+ text-decoration: underline;
+ }
+ ul#fmenu li.active a {
+ background-color: #620405;
+ }
+ ul#fmenu li.active a:hover {
+ background-color: rgb(140,100,100);
+ }
+
+ #changeSkin {
+ display: inline;
+ }
+ #changeSkin .onChangeSubmit {
+ background-color: #eeeeee;
+ font-size:9px;
+ }
+
+}
+@media print {
+
+ div.namepolicy { display: none; }
+ table.mayorhead { display: none; }
+
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/oldschool/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/oldschool/base/html/base.phtml
new file mode 100644
index 00000000..813ed04e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/oldschool/base/html/base.phtml
@@ -0,0 +1,337 @@
+<?php
+/*
+ Module: base
+
+ html_base($sessionID,$page,$sub,$f,$lang,$skin,$MENU)
+ html_head($page,$f,$lang,$skin)
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = 'default')
+ html_mayor_foot()
+ //page($page,$sub,$f,$lang,$skin) --> base.php
+ putValidXHTML()
+*/
+
+
+// -------------------------------------------------------------------
+// html_base() : a html oldal szerkezete
+// -------------------------------------------------------------------
+
+function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) {
+
+ _httpheader();
+
+ if ($MENU['set'][$policy][$page][$sub][$f]['refresh'] > 0) {
+ @header("Refresh:".intval($MENU['set'][$policy][$page][$sub][$f]['refresh']));
+ }
+
+ html_head($page,$sub,$f,$lang,$skin);
+ _debugLayer();
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin);
+ echo '<div id="mayorerror"></div>';
+ echo '<div class="mayorbody" id="mayorbody">';
+ page($page,$sub,$f,$lang,$skin,$policy);
+ echo '</div>';
+ html_mayor_foot();
+}
+
+// -------------------------------------------------------------------
+// html_head() : html fejlec kiirasa
+// -------------------------------------------------------------------
+
+function html_head($page,$sub,$f,$lang,$skin) {
+
+ global $INCLUDES, $SSSHH, $SSSBB;
+
+ if ($f == '') $f = $page;
+ ## ----------------------------------------------
+ ## Note http://hixie.ch/advocacy/xhtml
+ ## But this is crazy! Using Doctype sniffing instead...
+ ## Also read: http://www.mozilla.org/docs/web-developer/faq.html
+ ## header('Content-type: application/xhtml+xml');
+ ## -----------------------------------------------
+
+ echo '<?xml version="1.0" encoding="utf-8"?>'."\n";
+ echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">'."\n";
+ echo '<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xml:lang="en" lang="hu">'."\n";
+ echo '<head>'."\n";
+ echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'."\n";
+ echo '<meta property="og:title" content="MaYoR @ '._SITE.'" />'."\n";
+ echo '<meta property="og:type" content="website" />'."\n";
+ echo '<meta property="og:url" content="http://'.$_SERVER['SERVER_NAME'].'/" />'."\n";
+ echo '<meta property="og:locale" content="hu_HU" />'."\n";
+ echo '<meta property="og:image" content="http://www.mayor.hu/skin/mayor/base/img/mayor_small_ssl.png" />'."\n";
+ echo '<title>';
+ if (defined('_SITE')) echo ' - '._SITE.' - ';
+ echo _MAIN_TITLE;
+ echo '.';
+ echo _MAYORREV;
+ echo '</title>'."\n";
+ includeCSS($page,$sub,$f,$skin);
+ includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices
+ includeJS($page,$sub,$f,$skin);
+ if (is_string($SSSHH) && $SSSHH!='') echo $SSSHH;
+
+ if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ echo '<link rel="shortcut icon" href="/skin/classic/base/img/favicon.ico" />'."\n";
+ echo "</head>\n<body>\n";
+ if (is_string($SSSBB) && $SSSBB!='') echo $SSSBB;
+
+}
+
+
+// -------------------------------------------------------------------
+// mayor_menu(): a menü kiiratása
+// -------------------------------------------------------------------
+
+function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) {
+
+ global $page, $sub, $f;
+
+ // PATCH MENU
+ $MENU['auth'] = array(
+ array('txt' => 'Bejelentkezés', 'url' => 'index.php?page=auth&f=login&toPolicy=private'),
+ array('txt' => 'Szülői bejelentkezés', 'url' => 'index.php?page=auth&f=login&toPolicy=parent'),
+ );
+ $MENU['modules']['auth']['login'] = array(
+ array('txt' => 'Szülői bejelentkezés', 'url' => 'index.php?page=auth&f=login&toPolicy=parent'),
+ array('txt' => 'Védett oldalak','url' => 'index.php?page=auth&f=login&toPolicy=private'),
+ );
+ //
+ echo '<ul id="pagemenu">';
+ // --------------------------------------------------------
+ if (is_array($MENU)) {
+ foreach ($MENU as $aModule => $items) {
+ if ($aModule != 'modules') {
+ for ($i = 0; $i < count($items); $i++) {
+
+ if ($page == $aModule and
+ (!isset($items[$i]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false)
+ ) echo '<li class="active">';
+ else echo '<li>';
+
+ if (isset($items[$i]['url']) && $items[$i]['url'] != '') {
+ if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aModule".$items[$i]['url']);
+ elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array());
+ elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']);
+ else $href = href($items[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aModule");
+ }
+ echo '<a href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'>'.$items[$i]['txt'].'</a>';
+
+ echo '</li>';
+ }
+ }
+ }
+ }
+ // ---------------------------------------------------
+ echo '</ul>';
+
+ // II: SZINT
+ @$pageArray = $MENU['modules'][$page];
+ $aPage = $page;
+
+ if (is_array($pageArray)) {
+ echo '<ul id="submenu">';
+ foreach ($pageArray as $anF => $items) {
+ if ($anF != 'sub') {
+ for ($i=0;$i<count($items);$i++) {
+ if (
+ $page == $aPage and
+ (
+ (
+ !isset($items[$i]['url'])
+ and $f == $anF
+ )
+ or
+ (
+ isset($items[$i]['url']) and
+ strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false
+ )
+ )
+ ) echo '<li class="active">';
+ else echo '<li>';
+
+ if (isset($items[$i]['url']) && $items[$i]['url'] != '') {
+ if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&f=$anF".$items[$i]['url']);
+ elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array());
+ elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']);
+ else $href = href($items[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aPage&f=$anF",array('policy','sessionID','lang','skin'));
+ }
+ echo '<a href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'>'.$items[$i]['txt'].'</a>';
+ echo '</li>';
+ }
+ }
+ }
+ echo '</ul>'."\n";
+ }
+
+ // III: SZINT
+ @$subArray = $MENU['modules'][$page]['sub'][$sub];
+ $aSub = $sub;
+
+ if (is_array($subArray)) {
+ echo '<ul id="fmenu">';
+
+ foreach ($subArray as $anF => $items) {
+ for ($i=0;$i<count($items);$i++) {
+ if ($aPage == $page and
+ $aSub == $sub and
+ $anF == $f and
+ (!isset($items[$i]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false)
+ ) echo '<li class="active">';
+ else echo '<li>';
+
+ if (isset($items[$i]['url']) && $items[$i]['url'] != '') {
+ if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&sub=$aSub&f=$anF".$items[$i]['url']);
+ elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array());
+ elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']);
+ else $href = href($items[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aPage&sub=$aSub&f=$anF");
+ }
+ echo '<a href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'> '.$items[$i]['txt'].' </a>';
+
+ echo '</li>';
+ }
+ }
+
+ echo '</ul>'."\n";
+ }
+
+}
+
+// -------------------------------------------------------------------
+// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated)
+// -------------------------------------------------------------------
+
+function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) {
+
+ global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy;
+
+ if (date('m')==12) $imgextra = '-santa';
+ elseif (date('m')==3 && date('d')>=11 && date('d')<=15) $imgextra = '-marc15';
+ elseif (date('m')==4 && date('d')==1) $imgextra = '-flip';
+ else $imgextra = '';
+
+ if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png'))
+ $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png';
+ //if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl.gif'))
+ // $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl.gif';
+ if (!file_exists($HELP_LOGO = 'skin/'.$skin.'/module-help/img/help_small.jpg'))
+ $HELP_LOGO = 'skin/'._DEFAULT_SKIN.'/module-help/img/help_small.jpg';
+
+ _updateWindow();
+ _keyHelp();
+
+ ## Név, Oldal info, Policy
+ echo '<div class="namepolicy" id="namepolicy">'."\n";
+ echo '<table cellspacing="0" cellpadding="0"><tr>'."\n";
+ echo '<td class="language left hideShowContainer">'."\n";
+
+ echo '<span class="onClickHideShow"><img class="onClickHideShow" id="openLangSelect" src="skin/classic/base/img/flags/'.$lang.'.gif" alt="'.$lang.'" /></span>'."\n";
+
+ echo '<span id="langSelect" class="openable" style="display: none;">';
+ for ($i = 0;$i < count($LANGUAGES); $i++) {
+ if ($LANGUAGES[$i]!=$lang) echo '<a href="'.href('index.php?lang='.$LANGUAGES[$i],array('skin','policy','page','sub','f','sessionID')).'"><img src="skin/classic/base/img/flags/'.$LANGUAGES[$i].'.gif" alt="'.$LANGUAGES[$i].'" /></a>';
+ }
+ echo '</span>';
+
+ formBegin(array('id'=>'changeSkin','action'=>href('index.php', array('sessionID','lang'))));
+ echo '<input type="hidden" name="noModify" value="1" />';
+ echo '<select class="onChangeSubmit" name="skin">';
+ for ($i=0; $i<count($SKINSSHOW); $i++) {
+ $_SEL = ($SKINSSHOW[$i]==$skin)? 'selected="selected"':'';
+ echo '<option value="'.$SKINSSHOW[$i].'" '.$_SEL.'>'.$SKINSSHOW[$i].'</option>';
+ }
+ echo '</select>';
+ global $POLICIES;
+ echo '<select class="onChangeSubmit" name="policy" onchange="submit();">';
+ for ($i=0; $i<count($POLICIES); $i++) {
+ $_SEL = ($POLICIES[$i]==$policy)? 'selected="selected"':'';
+ echo '<option value="'.$POLICIES[$i].'" '.$_SEL.'>'.$POLICIES[$i].'</option>';
+ }
+ echo '</select>';
+ /* Némi javascipt támogatás a session kezelésre ebben a formban */
+ $sessionMaxIdleTime=$sessionAlertTime=0;
+ if ((_SESSIONID!='' && _POLICY!='public') && defined('_SESSION_MAX_IDLE_TIME') && _SESSION_MAX_IDLE_TIME>0) {
+ $sessionMaxIdleTime=((_SESSION_MAX_IDLE_TIME*1000*60*60)+1000);
+ if (defined('_SESSION_ALERT_TIME')) $sessionAlertTime = ((_SESSION_MAX_IDLE_TIME*1000*60*60)-(_SESSION_ALERT_TIME*1000*60));
+ }
+ echo '<input type="hidden" id="SESSION_MAX_IDLE_TIME" value="'.$sessionMaxIdleTime.'" />';
+ echo '<input type="hidden" id="SESSION_ALERT_TIME" value="'.$sessionAlertTime.'" />';
+ /* --- */
+ formEnd();
+ //echo '</form>';
+ echo '</td>'."\n";
+ echo '<th>';
+ //echo $page;
+ //if ($sub!='') echo '&nbsp;&raquo;&nbsp;'.$sub;
+ if (is_array(@$INCLUDES['html_mayor_head']['global']['center'])) foreach ($INCLUDES['html_mayor_head']['global']['center'] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ echo '</th>';
+ echo '<td class="right">';
+ echo '<span class="nev">'._USERCN.'</span>';
+ echo '</td>';
+ echo '<td class="right">';
+ echo '<img src="skin/classic/base/img/policy/'.$policy.'.gif" alt="'.$policy.'"/>';
+ echo '</td>';
+ echo '<td class="help">';
+ if (isset($sub) && $sub != '') $psf = "$page:$sub:$f"; else $psf = "$page:$f";
+ echo '<a title="'._HELP.'" target="_blank" href="wiki/dok.php?id='.$psf.'">?</a>';
+ echo '</td></tr>';
+ echo '</table>';
+ echo '</div>'."\n";
+ ## ------------------------
+ echo '<table class="mayorhead" cellspacing="0" cellpadding="0">'."\n";
+ echo '<tr><td style="width: 40px">';
+ echo '<a href="'.href('index.php').'" accesskey="h"><img src="'.$HOME_LOGO.'" alt="MaYoR" style="border-width: 0;" /></a>';
+ echo '</td>'."\n";
+ echo '<td style="vertical-align: middle; text-align: left; width: 99%">';
+ mayor_menu($MENU,$sessionID,$lang,$skin);
+ echo '</td>';
+ if (in_array('help',$INSTALLED_MODULES)) {
+ $link = "index.php?page=help&hpage=$page&hsub=$sub&hf=$f";
+ echo '<td>';
+ echo '<a href="'.href($link).'" target="_blank">';
+ echo '<img src="'.$HELP_LOGO.'" alt="'._HELP.'" style="border-width: 0;" />';
+ echo '</a>';
+
+ echo '</td>';
+ }
+ echo "</tr>\n</table>\n";
+
+}
+
+
+// -------------------------------------------------------------------
+// html_mayor_foot() : lablec kiirasa ( )
+// -------------------------------------------------------------------
+
+function html_mayor_foot() {
+
+ echo '<div class="mayorfoot" id="mayorfoot">'._MAIN_FOOTER.'</div>'."\n\n";
+ echo "</body>\n</html>";
+}
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/oldschool/base/img/mayor_small_ssl.png b/mayor-orig/mayor-base/www/skin/oldschool/base/img/mayor_small_ssl.png
new file mode 100644
index 00000000..43760ec1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/oldschool/base/img/mayor_small_ssl.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/oldschool/module-auth/css/login.css b/mayor-orig/mayor-base/www/skin/oldschool/module-auth/css/login.css
new file mode 100644
index 00000000..c3da5e07
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/oldschool/module-auth/css/login.css
@@ -0,0 +1,45 @@
+@media screen {
+img { border-width: 0px; }
+h1 {text-align: center; margin: 10px; font-size:20px; }
+h2 {text-align: center; margin: 10px; font-size: 15px; }
+table { font-size: 12px; }
+table.main {width: 100%; border-width: 0px;}
+table.loginablak {
+ background-color: #ffffff;
+ border-width: 1px;
+ border-style: solid;
+ border-color: #555550;
+ width:400px}
+td { padding: 2px }
+form { margin: 30px;padding: 0px; }
+input { font-size: 12px; font-family:Verdana,Arial; background-color: #fffff0; border: solid 1px #666690;}
+select.pp { padding: 0px; margin: 0px; border: none 0px #778890; font-size: 12px; background-color: #eeeee0; font-family: Verdana,Arial; }
+select.pp>option { border: none 0px black; }
+input.submit { border: solid 1px #776650; }
+table.loginablak thead td { background-color: #666690;
+ text-align: center;
+ font-family: Verdana,arial;
+ font-size: 10pt;
+ font-weight:
+ bold;
+ color: white;
+ border-bottom: solid 1px white;
+}
+table.loginablak tbody tr.top td { border-top: solid 1px #666690; }
+
+tfoot td { background-color: #888880; text-align: center; }
+td.co { text-align: center; vertical-align: bottom; font-family: Verdana,arial; font-size:8pt; }
+img.aauthImg {
+ border-top: solid 1px #666690;
+ border-bottom: solid 1px #888880;
+ border-left: solid 1px #666690;
+ border-right: solid 1px #888880;
+}
+#capsLockWarning {
+ position: absolute;
+ background: #ffffaa; color: #ffaaaa; text-align: center;
+ font-size: 20px; font-weight: bold;
+ width: 300px; padding: 20px; margin: 10px auto;
+}
+
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/pda/base/css/base.css b/mayor-orig/mayor-base/www/skin/pda/base/css/base.css
new file mode 100644
index 00000000..1a321380
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/pda/base/css/base.css
@@ -0,0 +1,182 @@
+/*
+ Module: base
+*/
+ html { margin:0px; padding:0px; }
+ html body {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ margin:0px;
+ padding:0px;
+ font-size: 11px;
+ }
+
+ form { margin: 0px; }
+ div.mayorbody {
+ padding: 0px;
+ background-color: white;
+ margin-top:0em;
+ margin-bottom:2em;
+ }
+ div.mayorfoot {
+ text-align: center;
+ position: bottom;
+ width:100%;
+ font-size:x-small;
+ color: #888888;
+ }
+ div.mayorfoot a { color:#888888; text-decoration: none; }
+/* - Alert - */
+
+ form.mayorAlert { margin: 0px; padding: 0px; }
+ form.mayorAlert input { display: none; }
+ div.errorMsg {
+ background-color: #eeffd0;
+ border: solid 2px #C71585;
+ padding: 1px;
+ text-align:center;
+ margin:10px;
+ }
+ div.errorMsg span {
+ font-style: italic;
+ }
+ div.infoMsg {
+ background-color: #eeffd0;
+ border: solid 2px #0000ff;
+ padding: 1px;
+ }
+ div.infoMsg span {
+ font-style: italic;
+ }
+
+ span.alertParam {
+ color: green;
+ }
+
+/* Module: base */
+
+ div.namepolicy {
+ background-color: rgb(52, 150, 185);
+// background: rgb(241, 241, 241);
+ border-bottom: 2px solid rgb(247, 197, 14);
+ margin: 0px;
+ padding:0px;
+ min-height:40px;
+ width:100%;
+ }
+
+ div.namepolicy a#home
+ {
+ display: table-cell;
+ height:40px;
+ width:200px;
+ text-align: left;
+ vertical-align: middle;
+ font-size: normal; margin:0px; padding-left:1em; text-decoration: none;
+ color: white;
+ }
+
+/* Menü */
+
+ ul#pagemenu {
+ padding: 0px;
+ text-align: left;
+ background-color: #040562;
+ list-style-type: none;
+ margin:1px;
+
+ }
+ ul#pagemenu li {
+ display: inline;
+ border-width: 0px 0px 0px 1px;
+ border-color: #8485a2;
+ border-style: dotted;
+ padding: 0px;
+ }
+ ul#pagemenu li a {
+ color: rgb(255,255,255);
+ text-decoration: none;
+ padding: 0px 5px;
+ margin: 0px;
+ }
+ ul#pagemenu li a:hover {
+ background-color: rgb(100,100,140);
+ text-decoration: underline;
+ }
+ ul#pagemenu li.active a {
+ background-color: #620405;
+ }
+ ul#pagemenu li.active a:hover {
+ background-color: rgb(140,100,100);
+ }
+
+/* SUB */
+
+ ul#submenu {
+ padding: 1px;
+ text-align: left;
+ background-color: #040582;
+ list-style-type: none;
+ margin:1px 1px 1px 1px;
+ }
+ ul#submenu li {
+ display: inline;
+ border-width: 0px 0px 0px 1px;
+ border-color: #8485a2;
+ border-style: dotted;
+ padding: 0px;
+ }
+ ul#submenu li a {
+ color: rgb(255,255,255);
+ text-decoration: none;
+ padding: 0px 5px;
+ margin: 0px;
+ }
+ ul#submenu li a:hover {
+ background-color: rgb(100,100,140);
+ text-decoration: underline;
+ }
+ ul#submenu li.active a {
+ background-color: #620405;
+ }
+ ul#submenu li.active a:hover {
+ background-color: rgb(140,100,100);
+ }
+
+/* f */
+
+ ul#fmenu {
+ padding: 1px;
+ text-align: left;
+ background-color: #0405a2;
+ list-style-type: none;
+ margin:1px 1px 1px 0px;
+ }
+ ul#fmenu li {
+ display: inline;
+ border-width: 0px 0px 0px 1px;
+ border-color: #8485a2;
+ border-style: dotted;
+ padding: 0px;
+ }
+ ul#fmenu li a {
+ color: rgb(255,255,255);
+ text-decoration: none;
+ padding: 0px 5px;
+ margin: 0px;
+ }
+ ul#fmenu li a:hover {
+ background-color: rgb(100,100,140);
+ text-decoration: underline;
+ }
+ ul#fmenu li.active a {
+ background-color: #620405;
+ }
+ ul#fmenu li.active a:hover {
+ background-color: rgb(140,100,100);
+ }
+
+
+ #changeSkin {
+ display: none;
+ }
+ #changeSkin .onChangeSubmit {
+ }
diff --git a/mayor-orig/mayor-base/www/skin/pda/base/html/alert.phtml b/mayor-orig/mayor-base/www/skin/pda/base/html/alert.phtml
new file mode 100644
index 00000000..a7f9ce62
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/pda/base/html/alert.phtml
@@ -0,0 +1,85 @@
+<?php
+/*
+ Module: base
+
+ js_alert()
+ html_alert()
+*/
+
+// ------------------------------------------------------------------- //
+// Az $_SESSION['alert'] két részből áll: típus:hiba //
+// típus: alert : javaScript alert //
+// message : hibaüzenet után az oldal betöltődik //
+// page : hibaüzenet után az oldal nem töltődik be //
+// info : információs üzenet //
+// ------------------------------------------------------------------- //
+
+// ---------------------------------------------------------------- //
+// Hibaüzenet kiiratása
+// visszatérési érték: legyen-e utána megjelenítve a lap?
+// --------------------------------------------------------------- //
+
+ function html_alert() {
+
+ global $ALERT_MSG;
+
+ if (!isset($_SESSION['alert']) || count($_SESSION['alert'])==0) {
+ return true;
+ exit;
+ }
+
+ $showPage = true;
+ echo '<form method="post" action="" class="mayorAlert" id="mayorAlert">';
+ for ($j = 0; $j < count($_SESSION['alert']); $j++) {
+
+ // Nincs mindig paraméter - ezért a $param nem kap értéket! - így az explode Notice üzenetet váltana ki...
+ $param = array();
+ $tmp = explode(':',$_SESSION['alert'][$j]);
+ $aType = $tmp[0]; $aCode = $tmp[1];
+ for ($p = 2; $p < count($tmp); $p++) $param[] = $tmp[$p];
+ $pstr = '';
+ if ($aType == 'popup') {
+ if ($aCode == '' ) $msg = $ALERT_MSG['default'];
+ elseif ($ALERT_MSG[$aCode] == '') $msg = $aCode;
+ else $msg = $ALERT_MSG[$aCode];
+ // paraméter behelyettesítés
+ for($i = 1; $i < count($param); $i++) {
+ $msg = str_replace("%$i%",$param[$i],$msg,$count);
+ if ($param[$i] != '' and $count == 0) $pstr .= $param[$i].',';
+ }
+ if ($pstr != '') $msg .= ' (' . substr($pstr,0,-1) . ')';
+
+ echo '<input type="hidden" name="jsAlert" value="'.$msg.'" />';
+ } else {
+ if ($aCode == '') $msg = $ALERT_MSG['default'];
+ elseif (!isset($ALERT_MSG[$aCode]) || $ALERT_MSG[$aCode] == '') $msg = $ALERT_MSG['default'].' (<span class="alertParam">'.$aType.':'.$aCode.')</span>';
+ else $msg = $ALERT_MSG[$aCode];
+ // paraméter behelyettesítés
+ for($i = 0; $i < count($param); $i++) {
+ $_msg = $msg;
+ $msg = @str_replace("%$i%",'<span class="alertParam">'.$param[$i].'</span>',$msg);
+ if ($param[$i] != '' and $_msg == $msg) $pstr .= '<span class="alertParam">'.$param[$i].'</span>,';
+ }
+ if ($pstr != '') $msg .= ' (' . substr($pstr,0,-1) . ')';
+
+ if (($aType == 'message') or ($aType == 'page')) {
+ $title = _ERROR;
+ $class = 'errorMsg';
+ if ($aType == 'page') $showPage = false;
+ } else {
+ $title = _INFORMATION;
+ $class = 'infoMsg';
+ }
+ $msg = '<span>'.$title.':</span> ' . $msg;
+ echo '<div class="'.$class.'">'.$msg.'</div>'."\n";
+
+ }
+ $_SESSION['alert'] = array();
+ }
+ echo '</form>';
+
+ return $showPage;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/pda/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/pda/base/html/base.phtml
new file mode 100644
index 00000000..b15ad2f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/pda/base/html/base.phtml
@@ -0,0 +1,240 @@
+<?php
+/*
+ Module: base
+
+ html_base($sessionID,$page,$sub,$f,$lang,$skin,$MENU)
+ html_head($page,$f,$lang,$skin)
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = 'default')
+ html_mayor_foot()
+ //page($page,$sub,$f,$lang,$skin) --> base.php
+ putValidXHTML()
+*/
+
+
+// -------------------------------------------------------------------
+// html_base() : a html oldal szerkezete
+// -------------------------------------------------------------------
+
+function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) {
+// Huston! This is for IE-shit
+
+ _httpheader();
+
+ html_head($page,$sub,$f,$lang,$skin);
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin);
+
+ echo '<div class="mayorbody">';
+ page($page,$sub,$f,$lang,$skin,$policy);
+ echo '</div>';
+
+ html_mayor_foot();
+}
+
+// -------------------------------------------------------------------
+// html_head() : html fejlec kiirasa
+// -------------------------------------------------------------------
+
+function html_head($page,$sub,$f,$lang,$skin) {
+
+ global $INCLUDES, $SSSHH;
+
+ if ($f == '') $f = $page;
+ ## ----------------------------------------------
+ ## Note http://hixie.ch/advocacy/xhtml
+ ## But this is crazy! Using Doctype sniffing instead...
+ ## Also read: http://www.mozilla.org/docs/web-developer/faq.html
+ ## header('Content-type: application/xhtml+xml');
+ ## -----------------------------------------------
+ echo '<?xml version="1.0" encoding="utf-8"?>'."\n";
+ echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">'."\n";
+ echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="hu">'."\n";
+ echo '<head>'."\n";
+ echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'."\n";
+ echo '<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0"/>'."\n";
+ echo '<title>';
+ if (defined('_SITE')) echo ' - '._SITE.' - ';
+ echo _MAIN_TITLE;
+ echo '</title>'."\n";
+ if ($SSSHH!=null && $SSSHH!='') echo $SSSHH;
+
+ includeCSS($page,$sub,$f,$skin);
+ includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices
+// includeJS($page,$sub,$f,$skin); // now, we are not using javascript - right now
+
+ if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ echo "</head>\n<body>\n";
+
+}
+
+// -------------------------------------------------------------------
+// mayor_menu(): a menü kiiratása
+// -------------------------------------------------------------------
+
+function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) {
+
+ global $page, $sub, $f;
+
+ echo '<ul id="pagemenu">';
+ // --------------------------------------------------------
+ if (is_array($MENU)) {
+ foreach ($MENU as $aModule => $items) {
+ if ($aModule != 'modules') {
+ for ($i = 0; $i < count($items); $i++) {
+
+ if ($page == $aModule and
+ (!isset($items[$i]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false)
+ ) echo '<li class="active">';
+ else echo '<li>';
+
+ if (isset($items[$i]['url']) && $items[$i]['url'] != '') {
+ if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aModule".$items[$i]['url']);
+ elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array());
+ elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']);
+ else $href = href($items[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aModule");
+ }
+ echo '<a href="'.$href.'">'.$items[$i]['txt'].'</a>';
+
+ echo '</li>';
+ }
+ }
+ }
+ }
+ // ---------------------------------------------------
+ echo '</ul>';
+
+ // II: SZINT
+ @$pageArray = $MENU['modules'][$page];
+ $aPage = $page;
+
+ if (is_array($pageArray)) {
+ echo '<ul id="submenu">';
+ foreach ($pageArray as $anF => $items) {
+ if ($anF != 'sub') {
+ for ($i=0;$i<count($items);$i++) {
+ if (
+ $page == $aPage and
+ (
+ (
+ !isset($items[$i]['url'])
+ and $f == $anF
+ )
+ or
+ (
+ isset($items[$i]['url']) and
+ strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false
+ )
+ )
+ ) echo '<li class="active">';
+ else echo '<li>';
+
+ if (isset($items[$i]['url']) && $items[$i]['url'] != '') {
+ if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&f=$anF".$items[$i]['url']);
+ elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array());
+ elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']);
+ else $href = href($items[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aPage&f=$anF",array('policy','sessionID','lang','skin'));
+ }
+ echo '<a href="'.$href.'">'.$items[$i]['txt'].'</a>';
+ echo '</li>';
+ }
+ }
+ }
+ echo '</ul>'."\n";
+ }
+
+ // III: SZINT
+ @$subArray = $MENU['modules'][$page]['sub'][$sub];
+ $aSub = $sub;
+
+ if (is_array($subArray)) {
+ echo '<ul id="fmenu">';
+
+ foreach ($subArray as $anF => $items) {
+ for ($i=0;$i<count($items);$i++) {
+ if ($aPage == $page and
+ $aSub == $sub and
+ $anF == $f and
+ (!isset($items[$i]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false)
+ ) echo '<li class="active">';
+ else echo '<li>';
+
+ if (isset($items[$i]['url']) && $items[$i]['url'] != '') {
+ if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&sub=$aSub&f=$anF".$items[$i]['url']);
+ elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array());
+ elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']);
+ else $href = href($items[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aPage&sub=$aSub&f=$anF");
+ }
+ echo '<a href="'.$href.'"> '.$items[$i]['txt'].' </a>';
+
+ echo '</li>';
+ }
+ }
+
+ echo '</ul>'."\n";
+ }
+
+}
+
+// -------------------------------------------------------------------
+// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated)
+// -------------------------------------------------------------------
+
+function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) {
+
+ global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy;
+
+ _updateWindow();
+
+ ## Név, Oldal info, Policy
+ echo '<div class="namepolicy">'."\n";
+
+ echo '<a id="home" href="'.href('index.php').'">';
+// echo '<img src="'.$HOME_LOGO.'" alt="MaYoR" style="border-width: 0;" />';
+ echo 'MaYoR';
+ echo '</a>';
+
+ echo '</div>'."\n";
+
+}
+
+
+
+// -------------------------------------------------------------------
+// html_mayor_foot() : lablec kiirasa ( )
+// -------------------------------------------------------------------
+
+function html_mayor_foot() {
+
+ global $AUTH, $SKINS;
+
+ echo '<div class="mayorfoot">';
+ if ($AUTH[_POLICY]['skin'] != '' && in_array($AUTH[_POLICY]['skin'], $SKINS)) $_skin=$AUTH[_POLICY]['skin'];
+ else $_skin = _DEFAULT_SKIN;
+ echo _MAIN_FOOTER;
+ echo '<a title="'._FULL_HTML.'" href="'.href("index.php?page=$page&sub=$sub&f=$f&skin=".$_skin, array('policy','sessionID','lang')).'">';
+ echo ' - HTML nézet';
+ echo '</a>';
+
+ echo '</div>';
+ echo "</body>\n</html>";
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/pda/module-auth/css/login.css b/mayor-orig/mayor-base/www/skin/pda/module-auth/css/login.css
new file mode 100644
index 00000000..47a1610d
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/pda/module-auth/css/login.css
@@ -0,0 +1,4 @@
+
+ form.login { padding: 0px 10px; }
+ form.login input.txtbox { width:80%; height:2em;}
+ form.login select { font-size:1em;}
diff --git a/mayor-orig/mayor-base/www/skin/pda/module-auth/html/login.phtml b/mayor-orig/mayor-base/www/skin/pda/module-auth/html/login.phtml
new file mode 100644
index 00000000..03250685
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/pda/module-auth/html/login.phtml
@@ -0,0 +1,60 @@
+<?php
+
+ function putLoginForm($userAccount,$toPolicy,$toPSF='',$toSkin='') {
+
+ global $POLICIES, $AUTH, $sessionID;
+ global $SKINSSHOW;
+// echo '<h1>'._GREETING.'</h1>'."\n";
+
+ formBegin(array('method'=>'post',
+ 'class'=>'login',
+ 'action'=>'index.php?policy=public&page=auth&f=login&toPolicy='.$toPolicy.'&toSkin='.$toSkin.'&sessionID='.$sessionID ,
+ 'name'=>"loginablak"));
+
+ echo '<input type="hidden" name="action" value="login" />';
+ echo '<input type="hidden" name="toPSF" value="'.$toPSF.'" />';
+
+ echo '<div class="inputLabel">'._USERNAME.'</div>';
+ echo '<input class="txtbox" id="focus" type="text" accesskey="l" tabindex="1" id="userAccount" name="userAccount" value="'.$userAccount.'" maxlength="36" size="10" />'."\n";
+
+ echo '<div class="inputLabel">'._PASSWORD.'</div>';
+/*
+ echo '<select style="width:40%" class="pp" name="toPolicy">'."\n";
+ $SEL = array($toPolicy => ' selected="selected" ');
+ for ($i=0; $i<count($POLICIES); $i++) {
+ $_policy = $POLICIES[$i];
+ if ($AUTH[$_policy]['authentication'] != 'none') {
+ echo '<option value="'.$_policy.'" '.$SEL[$_policy].'>';
+ echo constant('_'.strtoupper($_policy).'_PASSWORD');
+ echo '</option>'."\n";
+ }
+ }
+ echo '</select>'."\n";
+*/
+ echo '<input class="txtbox" type="password" accesskey="p" tabindex="2" name="userPassword" value="" />'."\n";
+
+ echo '<input type="hidden" name="toPolicy" value="'.$toPolicy.'" />';
+ echo '<input type="hidden" name="toSkin" value="pda" />';
+/*
+ echo '<div class="inputLabel">'._SKIN.'</div>';
+ echo '<select id="toSkin" name="toSkin">'."\n";
+ $SEL = array($toSkin => ' selected="selected" ');
+ for ($i=0; $i<count($SKINSSHOW); $i++) {
+ $_skin = $SKINSSHOW[$i];
+ echo '<option value="'.$_skin.'" '.$SEL[$_skin].'>';
+ echo $_skin;
+ echo '</option>'."\n";
+ }
+ echo '</select>'."\n";
+ echo '</div>'."\n";
+*/
+ echo '<div style="text-align:right; height:1.5em;">';
+ echo '<input type="submit" tabindex="3" name="button" value=" '. _LOGIN .' " class="submit" />'."\n";
+ echo '</div>';
+
+
+ formEnd();
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/rpc/base/html/alert.phtml b/mayor-orig/mayor-base/www/skin/rpc/base/html/alert.phtml
new file mode 100644
index 00000000..adda7354
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/rpc/base/html/alert.phtml
@@ -0,0 +1,56 @@
+<?php
+
+ function html_alert() {
+
+ /* TODO hibakezelés info */
+
+ global $ALERT_MSG;
+
+ if (!isset($_SESSION['alert']) || (is_array($_SESSION['alert']) && count($_SESSION['alert'])==0)) {
+ return true;
+ exit;
+ }
+/*
+ $showPage = true;
+ for ($j = 0; $j < count($_SESSION['alert']); $j++) {
+
+ // Nincs mindig paraméter - ezért a $param nem kap értéket! - így az explode Notice üzenetet váltana ki...
+ $param = array();
+ $tmp = explode(':', $_SESSION['alert'][$j]);
+ $aType = readVariable($tmp[0], 'enum', 'message', array('message','info','page')); $aCode = $tmp[1];
+ for ($p = 2; $p < count($tmp); $p++) $param[] = htmlspecialchars($tmp[$p]);
+ $pstr = '';
+ // preparing $msg
+ if (!isset($ALERT_MSG[$aCode]) || $ALERT_MSG[$aCode] == '')
+ $msg = $ALERT_MSG['default'].' (<span class="alertParam">'.$aType.':'.$aCode.')</span>';
+ else $msg = $ALERT_MSG[$aCode];
+
+ // paraméter behelyettesítés
+ for($i = 0; $i < count($param); $i++) {
+ $_msg = $msg;
+ $msg = @str_replace("%$i%",'<span class="alertParam">'.($param[$i]).'</span>',$msg);
+ if ($param[$i] != '' and $_msg == $msg) $pstr .= '<span class="alertParam">'.($param[$i]).'</span>,';
+ }
+ if ($pstr != '') $msg .= ' (' . substr($pstr,0,-1) . ')';
+ if (($aType == 'message') or ($aType == 'page')) {
+ $title = _ERROR;
+ $class = 'errorMsg';
+ if ($aType == 'page') $showPage = false;
+ } else {
+ $title = _INFORMATION;
+ $class = 'infoMsg';
+ }
+ $msg = '<span>'.$title.':</span> ' . $msg;
+ if (isset($_GET['showAlert'])) echo '<div class="'.$class.'">'.$msg.'</div>'."\n";
+ }
+
+ return $showPage;
+*/
+
+ echo 'ERROR';
+ var_dump($_SESSION['alert']);
+ return false;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/rpc/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/rpc/base/html/base.phtml
new file mode 100644
index 00000000..49a2ce14
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/rpc/base/html/base.phtml
@@ -0,0 +1,23 @@
+<?php
+
+ // http_base
+ function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) {
+ @header("Content-Type: text/html; charset=utf-8");
+ @header("Last-Modified: Mon, 20 Oct 2003 01:01:01 GMT");
+ @header("Cache-Control: no-store, no-cache, must-revalidate");
+ @header("Cache-Control: post-check=0, pre-check=0", false);
+ @header("Pragma: no-cache");
+ define('_UNIQUE', uniqid());
+ // page($page,$sub,$f,$lang,$skin,$policy);
+ global $RPC;
+ if (isset($RPC))
+ $RPC->sendResponse();
+ }
+
+ //function putResponse($DATA) {
+ // echo json_encode($DATA);
+ //}
+ // function formBegin($SET=array('method'=>'post','action'=>''),$SET2=array('print'=>true)) { }
+ // function formEnd($SET2=array('print'=>true)) { }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/sulix/base/css/base.css b/mayor-orig/mayor-base/www/skin/sulix/base/css/base.css
new file mode 100644
index 00000000..fbffc38f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sulix/base/css/base.css
@@ -0,0 +1,268 @@
+/* @override https://sy.ulx.hu:1743/sulixnaplo/skin/sulix/base/css/base.css?ver=2719 */
+
+/*
+ Module: base
+*/
+@media screen {
+
+ html body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin:0px; padding:0px; }
+
+ a { text-decoration:none; }
+
+ div.errorMsg { margin: 20px 20%; background: #fee; border: solid 1px red; border-radius: 2px; padding: 15px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); }
+ div.errorMsg span { font-weight: bold; color: #f00; }
+ div.infoMsg { margin: 20px 20%; background-color: #eef; border: groove 1px #0000ff; border-radius: 2px; padding: 15px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); }
+ div.infoMsg span { font-weight: bold; color: #00a; }
+ div.errorMsg span.alertParam, div.infoMsg span.alertParam { font-weight: normal; font-style: italic; color: green; }
+
+ #logo { position: absolute; top: 0;
+ left: 5px;
+}
+
+ #head { position: absolute; width: 100%; height: 60px; background: #3496B9 url(../img/powered_by_mayor_small.png) no-repeat right center; }
+/*
+ #egyeb { float: right; padding: 23px 20px; margin-right: 100px; text-align: right; }
+ #egyeb span { color: white; cursor: pointer; background: #3facc7; padding: 23px 20px; }
+ #settings { display: none; width: 100px;
+ margin-top: 5px; position:relative; right: 0px;
+ background: #f496b9;
+ }
+ #egyeb:hover #settings { display: block; }
+ #settings table { width: 100%; background: #3facc7; margin-top: 23px; border-spacing: 1px;}
+ #settings td { width: 100%; text-align: left; padding-left: 10px; border-bottom: solid 1px #ffacc7; background: #3496B9; }
+ #settings td:last-child { border-bottom: none; }
+ #settings td a {
+ display: inline-block; width: 100%;
+ padding: 2px 0px 2px 0px;
+ text-align: left; text-decoration: none;
+ color: white;
+ }
+ #settings td a:hover { }
+*/
+
+
+ #nav, #nav ul { list-style: none; }
+ #nav { margin: 0; height: 60px; padding-left: 180px; }
+ #nav li { position: relative; }
+
+ #nav > li { float: left; z-index: 20; min-width: 100px; text-align: center; padding: 20px; height: 20px; background: #47c980; }
+ #nav > li:hover { z-index: 22; }
+ #nav > li > ul { top: 50px; left: -1px; /* background: #1A4B5C; */}
+ #nav > li > ul > li > a { margin-left: 10px; }
+
+ #nav li:hover { background: #4fbcd7; }
+ #nav li.active { background: #3facc7; }
+ #nav li a { display: block; padding: 3px 8px; color: white; }
+ #nav li a:hover { color:#fdb933; }
+ #nav li:hover > ul, #nav li.over ul { display: block; }
+#nav > li.active { padding-right: 0; padding-left: 0; width: 140px; }
+#nav > li > a { padding: 23px 8px; position: relative; top: -20px; }
+ #nav li.nav1szin { background: #3496B9; }
+ #nav ul.sub { background: #3facc7; }
+
+
+ #nav ul { display: none; position: absolute; width: 160px; padding: 0px; }
+ #nav ul span { float: left; margin: 6px 5px; color: white; }
+ #nav ul > li { background: #3496B9; }
+ #nav ul li { text-align: left; margin-bottom: 1px; }
+ #nav ul li a { padding: 6px 10px; }
+ #nav ul li.active > a { color:#fdb933; }
+
+ #nav ul ul { top: 0px; left: -145px; z-index: 30; background: #3facc7; background: #3496B9}
+ #nav ul ul a { background: #3facc7; }
+ #nav ul ul a:hover { background: #4fbcd7; }
+
+ #nav li.start {
+ height: 20px; min-width: 0; padding-right: 0px; padding-left: 6px;
+ background: #D2DFE9; border-right: 4px solid #D2DFE9; border-radius: 0px 30px 30px 0px;
+ }
+
+ #poz { list-style: none; background-color: rgb(230,230,230); margin: 0; height: 20px; border-bottom: #f3f3f3 solid 5px; }
+ #poz > li { float: right; padding: 2px; width: auto; }
+
+ #nav1 { z-index: 4; position: absolute; margin-left: 330px; margin-right: 10px; background: rgba(52,150,185,0.6); }
+ #nav1 div a { padding: 22px 8px 23px 8px; display: inline-block; text-decoration: none; color: #fff; background: #3496B9; margin-top: 1px; }
+
+ #nav1 div a:hover { color: #fdb933; /*background: #5FCCE7; */}
+ #nav1 div a.aktiv { color:#fdb933; /*background: #4FBCD7; */}
+
+ #nav2 { width: 120px; position: absolute; margin: 0; height: 100%;
+ background: -webkit-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ background: -moz-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ background: linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ }
+ #nav2 ul { margin: 0; padding: 0; list-style: none; }
+ #nav2 ul li { border-bottom: solid 1px rgba(100,100,100,0.4); }
+ #nav2 ul li a { display: block; color: black; font-size: 11px; background: #D2DFE9; padding: 6px 6px; text-decoration: none; }
+ #nav2 ul li a.aktiv { color: #175970; color: #ee7f00; font-size: 12px; }
+ #nav2 ul li a:hover { color: white; background: #9abcd8; }
+
+
+ #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); }
+ #updateWindow {background-color: white; position: absolute;z-index:200;margin:auto auto; width:400px;}
+ #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 300px;
+ border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4);
+ }
+ #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; }
+ #keyHelp td.key { color: yellow; text-align: right; }
+ #keyHelp td.desc { color: white; text-align: left; }
+
+ div.mayorbody { margin-left: 121px; }
+/*
+ #logo, #head, #nav1, #nav2, #nav, #poz { position: fixed; }
+ #head { top: 0; left: 0; }
+ #nav { top: 0; left: 0; }
+ #nav1 { top: 0; }
+ #poz { top: 60px; width: 100%; }
+ #nav2 { top: 85px; }
+ div.mayorbody { margin-top: 85px; }
+ #nav2 { top: 60px; }
+ div.mayorbody { margin-top: 60px; }
+ */
+
+ #mayorErrorSmall.mayorErrorSmallInfo {
+border-bottom: solid 4px rgb(106,128,250);
+padding:4px; height:100%; width:100%;
+background-color:rgba(250,250,250,0.9);
+ }
+
+ #mayorErrorSmall.mayorErrorSmallError {
+border-bottom: solid 4px red;
+padding:4px; height:100%; width:100%;
+background-color:rgba(250,250,250,0.9);
+ }
+
+}
+
+form {
+ background-color: #eeeeee !important;
+ color: black !important;
+}
+
+form.hiba {
+ background-color: #eeeeee !important;
+ color: black !important;
+}
+
+form.kepzes {
+ background-color: #eeeeee !important;
+ color: black !important;
+}
+
+form.tanar {
+ background-color: #eeeeee !important;
+ color: black !important;
+}
+
+form.terem {
+ background-color: #eeeeee !important;
+ color: black !important;
+}
+
+table.toolBar form {
+ background: #3496b9 !important;
+}
+
+form h2 {
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+form h3 {
+ color: black !important;
+ font-size: 14px !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+}
+
+#mayorbody table th
+{
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+form.terem h1
+{
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+form.hiba h1
+{
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+form.export h1
+{
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+form.osztalyForm h1
+{
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+form.tanar h1
+{
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+form.updateTable h1
+{
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+form.kepzes h1
+{
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+#mayorbody .toolBar th
+{color: white !important;
+background: #3496b9 !important;
+font-size: 10px !important;}
+
+
+
+ form.hiba input
+ form.hiba select
+ {
+ margin:2px 10px;
+ background-color: white;
+ border: solid 1px rgb(120,220,240);
+ padding:0px 10px;
+ color: black;
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/sulix/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/sulix/base/html/base.phtml
new file mode 100644
index 00000000..5848a7b7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sulix/base/html/base.phtml
@@ -0,0 +1,332 @@
+<?php
+/*
+ Module: base
+
+ html_base($sessionID,$page,$sub,$f,$lang,$skin,$MENU)
+ html_head($page,$f,$lang,$skin)
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = 'default')
+ html_mayor_foot()
+ //page($page,$sub,$f,$lang,$skin) --> base.php
+ putValidXHTML()
+*/
+
+
+// -------------------------------------------------------------------
+// html_base() : a html oldal szerkezete
+// -------------------------------------------------------------------
+
+function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) {
+
+ _httpheader();
+ if ($MENU['set'][$policy][$page][$sub][$f]['refresh'] > 0) {
+ @header("Refresh:".intval($MENU['set'][$policy][$page][$sub][$f]['refresh']));
+ }
+
+ html_head($page,$sub,$f,$lang,$skin);
+ _debugLayer();
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin);
+ echo '<div id="mayorerror"></div>';
+ echo '<div class="mayorbody" id="mayorbody">';
+ page($page,$sub,$f,$lang,$skin,$policy);
+ echo '</div>';
+ html_mayor_foot();
+}
+
+// -------------------------------------------------------------------
+// html_head() : html fejlec kiirasa
+// -------------------------------------------------------------------
+
+function html_head($page,$sub,$f,$lang,$skin) {
+
+ global $INCLUDES, $SSSHH;
+
+ if ($f == '') $f = $page;
+ ## ----------------------------------------------
+ ## Note http://hixie.ch/advocacy/xhtml
+ ## But this is crazy! Using Doctype sniffing instead...
+ ## Also read: http://www.mozilla.org/docs/web-developer/faq.html
+ ## header('Content-type: application/xhtml+xml');
+ ## -----------------------------------------------
+ echo '<?xml version="1.0" encoding="utf-8"?>'."\n";
+ echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
+ echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="hu">'."\n";
+ echo '<head>'."\n";
+ echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'."\n";
+ echo '<title>';
+// if (_SULIX_DESIGN !== true) {
+// if (defined('_SITE')) echo ' - '._SITE.' - ';
+// echo _MAIN_TITLE;
+// echo '.';
+// echo _MAYORREV;
+// } else {
+ echo _SITE;
+// }
+ echo '</title>'."\n";
+ includeCSS($page,$sub,$f,$skin);
+ includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices
+ includeJS($page,$sub,$f,$skin);
+ if ($SSSHH!=null && $SSSHH!='') echo $SSSHH;
+
+ if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+// if (_SULIX_DESIGN !== true) echo '<link rel="shortcut icon" href="/skin/sulix/base/img/favicon.ico" />'."\n";
+// else
+ echo '<link type="image/x-ico" rel="icon" href="/sulixlearning/theme/image.php?theme=leatherbound&image=favicon&rev=171&component=theme">';
+ echo "</head>\n<body>\n";
+
+}
+// -------------------------------------------------------------------
+// mayor_menu(): a menü kiiratása
+// -------------------------------------------------------------------
+
+function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) {
+
+ global $policy, $page, $sub, $f, $LANGUAGES, $SKINSSHOW;
+
+ echo '<ul id="nav" class="hideShowContainer">'."\n";
+
+ if (is_array($MENU)) {
+ foreach ($MENU as $aModule => $pItems) {
+ if ($aModule != 'modules') {
+ for ($i = 0; $i < count($pItems); $i++) {
+ if ($page == $aModule and
+ ((!isset($pItems[$i]['url'])) || strpos($_SERVER["REQUEST_URI"],$pItems[$i]['url']) !== false)
+ ) {
+// if (_SULIX_DESIGN === true)
+ echo '<li class="active">';
+// else echo '<li class="active nav1szin">';
+ } else {
+ echo '<li style="display: none;" class="openable">';
+ }
+ if (isset($pItems[$i]['url']) && $pItems[$i]['url'] != '') {
+ if ($pItems[$i]['url'][0] == '&') $href = href("index.php?page=$aModule".$pItems[$i]['url']);
+ elseif (substr($pItems[$i]['url'],0,4) == 'http') $href = href($pItems[$i]['url'], array());
+ elseif (isset($pItems[$i]['get']) && is_array($pItems[$i]['get'])) $href = href($pItems[$i]['url'], $pItems[$i]['get']);
+ else $href = href($pItems[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aModule");
+ }
+ echo '<a href="'.$href.'"'.((isset($pItems[$i]['target']))?' target="'.$pItems[$i]['target'].'" ':'').'>'
+ .$pItems[$i]['txt']
+ .'</a>'."\n";
+ // --- sub ---
+
+ @$pageArray = $MENU['modules'][$aModule];
+
+ if (is_array($pageArray) && count($pageArray)>0) {
+ echo '<ul class="sub">'."\n";
+ foreach ($pageArray as $aSub => $sItems) {
+ if ($aSub != 'sub') {
+ for ($j=0;$j<count($sItems);$j++) {
+ if (
+ $page == $aModule and
+ (
+ (!isset($sItems[$j]['url']) && $f == $aSub)
+ || (isset($sItems[$j]['url']) && strpos($_SERVER["REQUEST_URI"],$sItems[$j]['url']) !== false)
+ )
+ ) {
+ echo '<li class="active">'; $activeSub = true;
+ } else {
+ echo '<li>'; $activeSub = false;
+ }
+ if (isset($sItems[$j]['url']) && $sItems[$j]['url'] != '') {
+ if ($sItems[$j]['url'][0] == '&') $href = href("index.php?page=$aModule&f=$aSub".$sItems[$j]['url']);
+ elseif (substr($sItems[$j]['url'],0,4) == 'http') $href = href($sItems[$j]['url'], array());
+ elseif (isset($sItems[$j]['get']) && is_array($sItems[$j]['get'])) $href = href($sItems[$j]['url'], $sItems[$j]['get']);
+ else $href = href($sItems[$j]['url']);
+ } else {
+ $href = href("index.php?page=$aModule&f=$aSub",array('policy','sessionID','lang','skin'));
+ }
+ @$subArray = $MENU['modules'][$aModule]['sub'][$aSub];
+ if (!is_array($subArray) || count($subArray) == 0) {
+ echo '<a href="'.$href.'"'.((isset($sItems[$j]['target']))?' target="'.$sItems[$j]['target'].'" ':'').'>'
+ .$sItems[$j]['txt'].'</a>';
+ } else { // vannak al-al menúk (f - menü)
+ echo '<span>&laquo;</span><a href="'.$href.'"'.((isset($sItems[$j]['target']))?' target="'.$sItems[$j]['target'].'" ':'').'>'
+ .$sItems[$j]['txt'].'</a>';
+ // -- f menü --
+ echo '<ul class="fmenu">'."\n";
+
+ foreach ($subArray as $anF => $items) {
+ for ($k=0;$k<count($items);$k++) {
+ if ($aModule == $page and
+ $aSub == $sub and
+ $anF == $f and
+ (!isset($items[$k]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$k]['url']) !== false)
+ ) { echo '<li class="active">'."\n"; }
+ else { echo '<li>'."\n"; }
+
+ if (isset($items[$k]['url']) && $items[$k]['url'] != '') {
+ if ($items[$k]['url'][0] == '&') $href = href("index.php?page=$aModule&sub=$aSub&f=$anF".$items[$k]['url']);
+ elseif (substr($items[$k]['url'],0,4) == 'http') $href = href($items[$k]['url'], array());
+ elseif (isset($items[$k]['get']) && is_array($items[$k]['get'])) $href = href($items[$k]['url'], $items[$k]['get']);
+ else $href = href($items[$k]['url']);
+ } else {
+ $href = href("index.php?page=$aModule&sub=$aSub&f=$anF");
+ }
+ echo '<a href="'.$href.'"'.((isset($items[$k]['target']))?' target="'.$items[$k]['target'].'" ':'').'> '
+ .$items[$k]['txt'].' </a>'."\n";
+
+ echo '</li>'."\n"; // al-al menüpont vége (f)
+ } // for - on items
+ } // foreach - on subArray
+
+ echo '</ul>'."\n"; // fmenu
+ } // vannak al-al menük (f -menü)
+
+ echo '</li>'."\n"; // almenü-pont vége (sub)
+ } // for - on sItems
+ } // ha nem sub == aSub
+ } // foreach pageArray
+ echo '</ul>'."\n"; // submenu
+ } // vannak almenük (sub)
+ echo '</li>'."\n"; // menüpont vége (page)
+ } // for - on pItems
+ } // ha aModule != 'modules'
+ } // foreach on MENU
+ }
+// if (_SULIX_DESIGN !== true) echo '<li class="start onClickHideShow">&nbsp</li>';
+ echo '</ul>'."\n";
+
+ // ------------------------
+
+}
+
+// -------------------------------------------------------------------
+// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated)
+// -------------------------------------------------------------------
+
+function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) {
+
+ global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy, $SCHOOL_LOGO, $SCHOOL_IDENTITY, $SCHOOL_URL, $NAV;
+
+ _updateWindow();
+
+ //if (date('m')==12) $imgextra = '-santa'; else $imgextra = '';
+
+// if (defined('_HOME_LOGO') && file_exists(_HOME_LOGO)) $HOME_LOGO=_HOME_LOGO;
+// else
+ if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png'))
+ $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png';
+
+echo '<div id="head">';
+/* ---
+ if ($policy == 'parent') {
+ echo '<div id="egyeb" class="hideShowContainer"><span class="onClickHideShow">Egyéb</span>';
+ echo '<div id="settings" class="openable" style="">';
+ echo '<table>';
+ echo '<tr>';
+ echo '<td><a href="'.href('index.php?policy=public&page=session&f=logout', array('sessionID','skin','lang')).'">'._LOGOUT.'</a></td>';
+ echo '</tr><tr>';
+ echo '<td><a href="'.href('index.php?policy=public&page=password&f=changeMyPassword&userAccount='._USERACCOUNT.'&toPolicy=parent',array('sessionID','skin','lang')).'">'._PASSWORD.'</a></td>';
+ echo '</tr>';
+ echo '</table>';
+ echo '</div>';
+ echo '</div>';
+ }
+/* --- */
+echo '</div>';
+
+ echo "<!--// NAV1 start //-->\n";
+ echo '<div id="nav1">';
+ echo '<div>';
+
+ if (is_array($NAV[1])) foreach ($NAV[1] as $N1) {
+ $txt = '';
+ $i = intval($N1['index']);
+ if (isset($N1['sub'])) {
+ if (!isset($N1['f'])) {
+ $M = $MENU['modules'][ $N1['page'] ][ $N1['sub'] ][ $i ];
+ } else {
+ $M = $MENU['modules'][ $N1['page'] ]['sub'][ $N1['sub'] ][ $N1['f'] ][ $i ];
+ }
+ } elseif (isset($N1['f'])) {
+ $M = $MENU['modules'][ $N1['page'] ][ $N1['f'] ][ $i ];
+ } else {
+ $M = $MENU[$N1['page']][ $i ];
+ }
+ $txt = $M['txt'];
+ $url = $M['url'];
+ $get = $M['get'];
+ if (isset($get)) $href = href( isset($url)?$url:'index.php?page='.$N1['page'].'&sub='.$N1['sub'].'&f='.$N1['f'], $get);
+ else $href = href( isset($url)?$url:'index.php?page='.$N1['page'].'&sub='.$N1['sub'].'&f='.$N1['f']);
+ if ($page == $N1['page'] && $sub == $N1['sub'] && (!isset($N1['f']) || $f == $N1['f'])) $class = ' class="aktiv" '; else $class = '';
+ if ($txt != '') { // Hibás hivatkozás ne rontsa el a menüt!
+ echo '<a href="'.$href.'"'.$class.'>';
+ echo $txt;
+ echo '</a>';
+ }
+ }
+
+ echo '</div>';
+ echo '</div>'."\n<!--// NAV1 end //-->\n";
+
+
+ mayor_menu($MENU,$sessionID,$lang,$skin);
+// if (_SULIX_DESIGN !== true) echo '<a href="'.href('index.php').'"><img src="'.$HOME_LOGO.'" alt="MaYoR" id="logo" /></a>';
+// else
+ echo '<img src="'.$HOME_LOGO.'" alt="MaYoR" id="logo" />';
+
+
+ echo "<!--// NAV2 start //-->\n";
+ echo '<div id="nav2">';
+ if (is_array($NAV[2])) {
+ echo '<ul>';
+ foreach ($NAV[2] as $N2) {
+ $txt = '';
+ $i = intval($N2['index']);
+ if (isset($N2['sub'])) {
+ if (!isset($N2['f'])) {
+ $M = $MENU['modules'][ $N2['page'] ][ $N2['sub'] ][ $i ];
+ } else {
+ $M = $MENU['modules'][ $N2['page'] ]['sub'][ $N2['sub'] ][ $N2['f'] ][ $i ];
+ }
+ } elseif (isset($N2['f'])) {
+ $M = $MENU['modules'][ $N2['page'] ][ $N2['f'] ][ $i ];
+ } else {
+ $M = $MENU[$N2['page']][ $i ];
+ }
+ $txt = $M['txt'];
+ $url = $M['url'];
+ $get = $M['get'];
+ if (isset($get)) $href = href( isset($url)?$url:'index.php?page='.$N2['page'].'&sub='.$N2['sub'].'&f='.$N2['f'], $get);
+ else $href = href( isset($url)?$url:'index.php?page='.$N2['page'].'&sub='.$N2['sub'].'&f='.$N2['f']);
+
+ if ($page == $N2['page'] && $sub == $N2['sub'] && (!isset($N2['f']) || $f == $N2['f'])) $class = ' class="aktiv" '; else $class = '';
+ if ($txt != '') {
+ echo '<li>';
+ echo '<a href="'.$href.'"'.$class.'>';
+ echo $txt;
+ echo '</a>';
+ echo '</li>';
+ }
+ }
+ echo '</ul>';
+ }
+ echo '</div>'."\n<!--// NAV2 end //-->\n";
+
+}
+
+// -------------------------------------------------------------------
+// html_mayor_foot() : lablec kiirasa ( )
+// -------------------------------------------------------------------
+
+function html_mayor_foot() {
+ //echo '<div class="mayorfoot" id="mayorfoot">'._MAIN_FOOTER.'</div>'."\n\n";
+ echo "</body>\n</html>";
+}
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/sulix/base/img/bejelentkezes_gomb_140x26.png b/mayor-orig/mayor-base/www/skin/sulix/base/img/bejelentkezes_gomb_140x26.png
new file mode 100644
index 00000000..3816f6de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sulix/base/img/bejelentkezes_gomb_140x26.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/sulix/base/img/bejelentkezes_gomb_66x28.png b/mayor-orig/mayor-base/www/skin/sulix/base/img/bejelentkezes_gomb_66x28.png
new file mode 100644
index 00000000..524d0a83
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sulix/base/img/bejelentkezes_gomb_66x28.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/sulix/base/img/favicon.ico b/mayor-orig/mayor-base/www/skin/sulix/base/img/favicon.ico
new file mode 100644
index 00000000..5c819e56
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sulix/base/img/favicon.ico
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/sulix/base/img/fur.png b/mayor-orig/mayor-base/www/skin/sulix/base/img/fur.png
new file mode 100644
index 00000000..f537e6da
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sulix/base/img/fur.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/sulix/base/img/mayor_small_ssl.png b/mayor-orig/mayor-base/www/skin/sulix/base/img/mayor_small_ssl.png
new file mode 100644
index 00000000..44e007cb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sulix/base/img/mayor_small_ssl.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/sulix/base/img/powered_by_mayor.png b/mayor-orig/mayor-base/www/skin/sulix/base/img/powered_by_mayor.png
new file mode 100644
index 00000000..0f88bfc3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sulix/base/img/powered_by_mayor.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/sulix/base/img/powered_by_mayor_small.png b/mayor-orig/mayor-base/www/skin/sulix/base/img/powered_by_mayor_small.png
new file mode 100644
index 00000000..aa65a706
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sulix/base/img/powered_by_mayor_small.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/sulix/module-auth/css/login.css b/mayor-orig/mayor-base/www/skin/sulix/module-auth/css/login.css
new file mode 100644
index 00000000..66d76da9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sulix/module-auth/css/login.css
@@ -0,0 +1,89 @@
+@media screen {
+
+#logo, #head, #nav, #nav1, #nav2 { display: none; }
+div.mayorbody { margin: 0; padding: 8px; }
+#header img { height: 40px; position: relative; top: 5px; left: 25px; }
+#header { width: 100%; background: #1A4B5C; height: 50px; }
+body { background: #bfbfbf;}
+form { width: 960px; margin-left: auto; margin-right: auto; }
+div#body {
+ width: 100%; height: 470px; padding-top: 70px;
+ background-color: #3497B9;
+ background-attachment: inherit;
+ background-image: url('../../base/img/fur.png');
+ background-repeat: no-repeat;
+ background-position: bottom right;
+}
+table.loginablak { width: 160px; width: 180px; /*height: 178px;*/ background: #1A4B5C; border: #1A4B5C 8px solid; border-radius: 8px;}
+table.loginablak thead td { color: #F49430; font-weight: bold; font-size: 15px; font-family: sans-serif; text-align: center; padding-top: 5px; padding-bottom: 5px;}
+table.loginablak tbody td { height: 26px; padding-top: 15px; text-align: center; }
+table.loginablak div.input {
+ margin-left: auto; margin-right: auto;
+ width: 140px; height: 26px;
+ background-image: url(../../base/img/bejelentkezes_gomb_140x26.png);
+ background-origin: padding-box;
+ background-position: 50% 100%;
+ background-repeat: no-repeat;
+}
+table.loginablak input[type=text], table.loginablak input[type=password] {
+ background-color: transparent; border: none; color: #767676;
+ font-family: sans-serif; font-size: 10px; font-weight: 10px; height: 26px; width: 140px;
+ /*outline-color: #3C3B37; outline-width: 5px; outline-style: auto; */ padding: 1px 10px;
+}
+table.loginablak tfoot td { text-align: right; padding: 25px 0px 25px 0px;
+}
+table.loginablak tfoot select { float: left; background-color: transparent; color: white; border: 1px solid rgba(255,255,255,0.2); /*display: none; */}
+table.loginablak tfoot select option { background-color: #1a4b5c; }
+table.loginablak tfoot input[type=submit] {
+font-weight: bold; font-family: sans-serif; font-size: 10px;
+padding: 1px 6px 3px 6px;
+width: 66px; height: 28px;
+background-attachment: scroll;
+background-clip: border-box;
+background-color: transparent;
+background-image: url(../../base/img/bejelentkezes_gomb_66x28.png);
+background-origin: padding-box;
+background-position: 50% 100%;
+background-repeat: no-repeat;
+border: none;
+}
+
+/*
+div.mayorbody img { border-width: 0px; }
+div.mayorbody h1 {text-align: center; margin: 10px; font-size:20px; }
+div.mayorbody h2 {text-align: center; margin: 10px; font-size: 15px; }
+div.mayorbody table { font-size: 12px; }
+div.mayorbody table.main {width: 100%; border-width: 0px;}
+div.mayorbody table.loginablak {
+ background-color: #ffffff;
+ border-width: 1px;
+ border-style: solid;
+ border-color: #555550;
+ width:400px}
+div.mayorbody td { padding: 2px }
+div.mayorbody form { margin: 30px;padding: 0px; }
+div.mayorbody input { font-size: 12px; font-family:Verdana,Arial; background-color: #fffff0; border: solid 1px #666690;}
+div.mayorbody select.pp { padding: 0px; margin: 0px; border: none 0px #778890; font-size: 12px; background-color: #eeeee0; font-family: Verdana,Arial; }
+div.mayorbody select.pp>option { border: none 0px black; }
+div.mayorbody input.submit { border: solid 1px #776650; }
+div.mayorbody table.loginablak thead td {
+ background-color: #666690;
+ text-align: center;
+ font-family: Verdana,arial;
+ font-size: 10pt;
+ font-weight: bold;
+ color: white;
+ border-bottom: solid 1px white;
+div.mayorbody }
+div.mayorbody table.loginablak tbody tr.top td { border-top: solid 1px #666690; }
+
+div.mayorbody tfoot td { background-color: #888880; text-align: center; }
+div.mayorbody td.co { text-align: center; vertical-align: bottom; font-family: Verdana,arial; font-size:8pt; }
+div.mayorbody img.aauthImg {
+ border-top: solid 1px #666690;
+ border-bottom: solid 1px #888880;
+ border-left: solid 1px #666690;
+ border-right: solid 1px #888880;
+}
+*/
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/sulix/module-auth/html/login.phtml b/mayor-orig/mayor-base/www/skin/sulix/module-auth/html/login.phtml
new file mode 100644
index 00000000..87f90756
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sulix/module-auth/html/login.phtml
@@ -0,0 +1,79 @@
+<?php
+
+ function putLoginForm($userAccount,$toPolicy,$toPSF='',$toSkin='') {
+
+ global $POLICIES, $AUTH, $sessionID;
+
+ formBegin(array('method'=>'post',
+ 'action'=>'index.php?policy=public&page=auth&f=login&toPolicy='.$toPolicy.'&sessionID='.$sessionID ,
+ 'name'=>"loginablak",
+ 'id'=>'loginablak'
+ ));
+
+ echo '<div id="header"><img src="skin/sulix/base/img/mayor_small_ssl.png" alt="MaYoR" /></div>';
+ echo '<div id="body">';
+
+ echo '<input type="hidden" name="action" value="login" />';
+ echo '<input type="hidden" name="toPSF" value="'.$toPSF.'" />';
+ echo '<input type="hidden" name="toPolicy" value="'.$toPolicy.'" />';
+
+ echo '<table cellspacing="0" cellpadding="1" align="center" class="loginablak">'."\n";
+ echo '<thead>'."\n";
+ echo '<tr>'."\n";
+ echo '<td>'."\n";
+ echo 'SuliX Napló';
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+ echo '</thead>'."\n";
+ echo '<tfoot>'."\n";
+ echo '<tr>'."\n";
+ echo '<td>'."\n";
+
+ if ($toPolicy == 'parent') {
+ echo '<input type="hidden" name="toPolicy" value="parent" />'."\n";
+ } else {
+ echo '<select class="policy" name="toPolicy">'."\n";
+ echo '<option value="private" '.($toPolicy=='private'?' selected="selected" ':'').'>';
+ echo 'tanár/diák';
+ echo '</option>'."\n";
+
+ echo '<option value="parent" '.($toPolicy=='parent'?' selected="selected" ':'').'>';
+ echo 'szülő';
+ echo '</option>'."\n";
+ echo '</select>'."\n";
+ }
+
+
+ echo '<input type="submit" tabindex="3" name="button" value="Belépés"
+ onclick="document.loginablak.button.disabled=true;
+ document.loginablak.button.value=\' Várj... \';
+ document.loginablak.submit()" class="submit" />'."\n";
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+ echo '</tfoot>'."\n";
+ echo '<tbody>'."\n";
+ echo '<tr class="top">'."\n";
+ echo '<td>'."\n";
+ echo '<div class="input">';
+ echo '<input type="text" accesskey="l" tabindex="1" name="userAccount" value="Felhasználónév" maxlength="32"
+ onFocus="this.value=\'\'" onBlur="if (this.value == \'Felhasználónév\' || this.value == \'\') this.value=\'Felhasználónév\'"
+ />'."\n";
+ echo '</div>';
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+ echo '<tr>'."\n";
+ echo '<td>'."\n";
+ echo '<div class="input">';
+ echo '<input id="userPassword" type="password" accesskey="p" tabindex="2" name="userPassword" value="" />'."\n";
+ echo '</div>';
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+ echo '</tbody>'."\n";
+ echo '</table>'."\n";
+
+ echo '</div>'."\n";
+ formEnd();
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/sulix/module-naplo/css/admin/tanevek.css b/mayor-orig/mayor-base/www/skin/sulix/module-naplo/css/admin/tanevek.css
new file mode 100644
index 00000000..7562ff6f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sulix/module-naplo/css/admin/tanevek.css
@@ -0,0 +1,17 @@
+
+ form.intezmeny { background-color: rgb(40,60,120); color: white; margin: 20px; padding: 0px; }
+ form.intezmeny h2 {
+ background-color: rgb(20,40,80);
+ text-align: center;
+ border: white 1px dotted;
+ border-width: 1px 0px;
+ padding: 3px;
+ }
+ form.intezmeny div.data {
+ padding: 1em;
+ }
+ input.date { width: 100px; }
+
+ form.intezmeny fieldset p { margin-left: 50px; }
+ form.intezmeny fieldset label { background-coor: red; padding: 0px 14px 0px 0px; }
+ form.intezmeny fieldset h3 { color: rgb(255,255,100); } \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/sulix/module-naplo/css/naplo.css b/mayor-orig/mayor-base/www/skin/sulix/module-naplo/css/naplo.css
new file mode 100644
index 00000000..7a91910a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sulix/module-naplo/css/naplo.css
@@ -0,0 +1,84 @@
+/* @override https://sy.ulx.hu:1743/sulixnaplo/skin/classic/module-naplo/css/naplo.css?ver=2719 */
+
+table.toolBar { width: 95%; max-width: 95%; border-spacing: 0px; margin: 1em auto; overflow: auto; }
+ table.toolBar form { margin: 0px; padding: 0px; }
+ table.toolBar tr.first td.toolBarTitle, table.toolBar tr.first td.toolBarTool { border: solid 1px #333333; }
+ table.toolBar td.gap { width: 50%; border-spacing: 0px; }
+ table.toolBar td.help {
+ background-color: silver;
+ color: black;
+ border-width: 0px 1px 1px 1px;
+ border-color: black;
+ border-style: none solid solid solid;
+ font-size:smaller;
+ padding: 3px;
+}
+table.toolBar tr.first td a img {
+ display: none;
+}
+ table.toolBar td.toolBarTitle {
+ background-color: white;
+ width: 100%;
+ font-size: 16px;
+ font-weight: normal;
+ font-style: normal;
+}
+ #toolBarIntezmeny {
+ color: red;
+ border: solid red;
+ border-width: 1px 0px;
+ font-size: 10px;
+ }
+
+ table.toolBar td.toolBarTool {
+ background-color: #3496b9;
+ margin: 0px;
+ padding: 0px;
+ }
+ table.toolBar td.toolBarTool table { border-spacing: 0px; width: 100%; }
+ table.toolBar td.toolBarTool table th {
+ background-color: #3496b9;
+ text-align: left;
+ color: white;
+ font-size:10px;
+ padding: 0px 0px 0px 4px;
+}
+ table.toolBar input.toolSubmit { vertical-align: middle; border: 0px none; }
+ table.toolBar td.toolBarTool select { border: 0px; }
+ table.toolBar th {
+ background-color: #3496b9;
+ text-align: center;
+ color: white;
+ font-size:10px;
+ padding: 0px 0px 0px 4px;
+}
+ table.toolBar img { border: none; }
+
+ table.toolBar table.hianyzasOsszegzo { width:100%; font-size:10px; }
+ table.toolBar table.hianyzasOsszegzo th {
+ text-align: center !important;
+ border-style: none none solid none;
+ border-color: #888888;
+ border-width: 0px 0px 1px 0px;
+ }
+ table.toolBar table.hianyzasOsszegzo td { width: 18%; border-bottom: solid 1px rgb(60,80,100); background-color: #dddddd; text-align: center; }
+
+ form.lapozo input { font-size: 10px; border: solid 1px #555555; }
+ form button.lapozo { font-size:10px; }
+ form span.lapozo { color:white; background-color: rgb(90,133,184); padding:1px 5px; border: solid 1px rgb(21,71,123);}
+
+ table.flipper input {height: 38px; width: 16px; color: white;
+ border-top: solid 1px black;
+ border-bottom: solid 1px black;
+ border-left: none;
+ border-right: none;
+ background-color: rgb(90,133,184);
+ }
+ table.flipper input.step { background-color: rgb(100,100,60); }
+ table.gomb button { height: 38px; width: 24px; background-color: rgb(90,133,184); border: solid black; border-width: 1px 0px; }
+
+ div.beirasAdatok { text-align: center; }
+ div.beirasAdatok span { font-weight: bold; font-size: 20pt; vertical-align: middle; }
+ div.beirasAdatok img { vertical-align: middle; }
+
+ table.toolBar input { font-size: 10px; }
diff --git a/mayor-orig/mayor-base/www/skin/sulix/module-naplo/css/orarend/orarendTeremModositas.css b/mayor-orig/mayor-base/www/skin/sulix/module-naplo/css/orarend/orarendTeremModositas.css
new file mode 100644
index 00000000..fb0172cc
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sulix/module-naplo/css/orarend/orarendTeremModositas.css
@@ -0,0 +1,8 @@
+
+ form.terem { background-color: rgb(100,50,100); color: white; margin: 5px auto; text-align: center; width: 640px; }
+ form.terem h1 { text-align: center; font-size: 16px; background-color: rgb(80,40,80); padding: 2px; }
+ form.terem select { margin: 2px; }
+ form.terem select option.foglalt { color: red; }
+ form.terem select option.szabad { color: green; }
+
+
diff --git a/mayor-orig/mayor-base/www/skin/sulix/module-password/css/password.css b/mayor-orig/mayor-base/www/skin/sulix/module-password/css/password.css
new file mode 100644
index 00000000..66a2fe2a
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sulix/module-password/css/password.css
@@ -0,0 +1,43 @@
+ img { border-width: 0px; }
+ h1 { display: none; text-align: center; margin: 10px; font-size:20px; }
+ h2 { text-align: center; margin: 10px; font-size: 15px; }
+ table { font-size: 12px }
+ table.main {width: 100%; border-width: 0px;}
+ form table {background-color: #ffffff; border-width: 1px; border-style: solid; border-color: #555550; width:400px}
+ td { padding: 2px }
+ form { margin: 30px; padding: 0px; }
+ input { font-size: 10px; font-family: Verdana,Arial; background-color: #fffff0; }
+ select.pp {
+ padding: 0px; margin: 0px;
+ border: none 0px #778890;
+ font-size: 12px;
+ background-color: #eeeee0;
+ font-family: Verdana,Arial;
+ }
+ select.pp>option { border: none 0px black; }
+ input.submit { border: solid 1px #776650; }
+ thead td {
+ background-color: #3496B9;
+ text-align: center;
+ font-family: Verdana,arial;
+ font-size: 10pt;
+ font-weight: bold;
+ color: white;
+ }
+ thead th {
+ background-color: #3496B9;
+ color: white;
+ padding: 2px;
+ }
+ tfoot td {
+ background-color: #c8c8c8;
+ text-align: center;
+ }
+ tbody img { display: none; border: solid 1px #bbddbb; }
+ td.co {
+ display: none;
+ text-align: center;
+ vertical-align: bottom;
+ font-family: Verdana,arial;
+ font-size: 8pt;
+ }
diff --git a/mayor-orig/mayor-base/www/skin/sulix/share/css/calendar_date_select.css b/mayor-orig/mayor-base/www/skin/sulix/share/css/calendar_date_select.css
new file mode 100644
index 00000000..71c01b18
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sulix/share/css/calendar_date_select.css
@@ -0,0 +1,139 @@
+/* @override https://sy.ulx.hu:1743/sulixnaplo/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/red.css */
+
+.calendar_date_select {
+ color:white;
+ border:#777 1px solid;
+ display:block;
+ width:195px;
+ z-index: 1000;
+}
+/* this is a fun ie6 hack to get drop downs to stay behind the popup window. This should always be just underneath .calendar_date_select */
+iframe.ie6_blocker {
+ position: absolute;
+ z-index: 999;
+}
+
+.calendar_date_select thead th {
+ font-weight:bold;
+ background-color: #E7E8E8;
+ border-bottom:2px solid black;
+ color: black !important;
+}
+
+.calendar_date_select .cds_buttons {
+ text-align:center;
+ padding:5px 0px;
+ background-color: #2599fa;
+}
+
+.calendar_date_select .cds_footer {
+ background-color: #3496b9;
+ padding:3px;
+ text-align:center;
+ border-top-style: solid;
+ border-top-width: 1px;
+}
+
+.calendar_date_select table {
+ margin: 0px;
+ padding: 0px;
+}
+
+
+.calendar_date_select .cds_header {
+ background-color: #ccc;
+ border-bottom: 2px solid #aaa;
+ text-align:center;
+}
+
+.calendar_date_select .cds_header span {
+ font-size:15px;
+ color: black;
+ font-weight: bold;
+}
+
+.calendar_date_select select { font-size:11px;}
+
+.calendar_date_select .cds_header a:hover {
+ color: white;
+}
+.calendar_date_select .cds_header a {
+ width:22px;
+ height:20px;
+ text-decoration: none;
+ font-size:14px;
+ color:black !important;
+}
+
+.calendar_date_select .cds_header a.prev {
+ float:left;
+}
+.calendar_date_select .cds_header a.next {
+ float:right;
+}
+
+.calendar_date_select .cds_header a.close {
+ float:right;
+ display:none;
+}
+
+.calendar_date_select .cds_header select.month {
+ width:90px;
+}
+
+.calendar_date_select .cds_header select.year {
+ width:61px;
+}
+
+.calendar_date_select .cds_buttons a {
+ color: white;
+ font-size: 9px;
+}
+
+
+.calendar_date_select td {
+ background-color: #3496b9;
+ font-size:12px;
+ width: 24px;
+ height: 21px;
+ text-align:center;
+ vertical-align: middle;
+}
+.calendar_date_select td.weekend {
+ background-color: #3496b9;
+}
+
+.calendar_date_select td div {
+ color:#fff;
+}
+.calendar_date_select td div.other {
+ color: #3bc1f3;
+}
+.calendar_date_select td.selected div {
+ color:black;
+}
+
+
+.calendar_date_select tbody td {
+ border-bottom: 1px solid #550000;
+}
+.calendar_date_select tbody td.selected {
+ background-color:white;
+ color:black;
+}
+
+.calendar_date_select tbody td:hover {
+ background-color:#ccc;
+}
+
+.calendar_date_select tbody td.today {
+ border: 1px dashed red;
+}
+
+.calendar_date_select td.disabled div {
+ color: #440000;
+}
+
+.fieldWithErrors .calendar_date_select {
+ border: 2px solid red;
+}
diff --git a/mayor-orig/mayor-base/www/skin/sza2010/base/css/base.css b/mayor-orig/mayor-base/www/skin/sza2010/base/css/base.css
new file mode 100644
index 00000000..22a9fd61
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sza2010/base/css/base.css
@@ -0,0 +1,85 @@
+/*
+ Module: base
+*/
+@import "head.css";
+@media screen {
+
+ html body {
+ font-family: Verdana, sans-serif;
+ font-size: 12px;
+ margin:0px;
+ padding:0px;
+/* background-color: #1d2e50; */
+ background-color: white;
+ background-image: url("/skin/sza2010/base/img/bg.png");
+ background-repeat: repeat-x;
+ }
+
+ /* set default layout! */
+ table { font-size: 12px; }
+
+ form { margin: 0px; }
+
+ div#mayorerror { }
+
+ div.mayorbody {
+
+ padding: 0px;
+
+ }
+
+ #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); }
+ #updateWindow {background-color: white; position: absolute;z-index:200;margin:auto auto; width:400px;}
+ #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 300px;
+ border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4);
+ }
+ #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; }
+ #keyHelp td.key { color: yellow; text-align: right; }
+ #keyHelp td.desc { color: white; text-align: left; }
+
+ div.mayorfoot {
+ text-align: center;
+ font-size: 10px;
+ width:100%;
+ }
+/* - Alert - */
+
+ form.mayorAlert { margin: 0px; padding: 0px; }
+ form.mayorAlert input { display: none; }
+ div.errorMsg {
+ margin: 20px 20%;
+ background-color: #eeffd0;
+ border: solid 2px #ff0000;
+ padding: 15px;
+ }
+ div.errorMsg span {
+ font-style: italic;
+ }
+
+ div.infoMsg {
+ margin: 20px 20%;
+ background-color: #eeffd0;
+ border: solid 2px #0000ff;
+ padding: 15px;
+ }
+ div.infoMsg span {
+ font-style: italic;
+ }
+
+ span.alertParam {
+ color: green;
+ }
+}
+@media print {
+ html body {
+ font-family: Verdana, sans-serif;
+ font-size: 12px;
+ }
+ div.mayorfoot {
+ text-align: center;
+ font-size: 10px;
+ margin: 5px;
+ }
+ div.namepolicy { display: none; }
+ table.mayorhead { display: none; }
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/sza2010/base/css/head.css b/mayor-orig/mayor-base/www/skin/sza2010/base/css/head.css
new file mode 100644
index 00000000..5ceacaa4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sza2010/base/css/head.css
@@ -0,0 +1,153 @@
+/*
+ Module: base
+*/
+@media screen {
+
+ div.namepolicy {
+ background-color:
+ #1d2e50 ;
+ border-style: none none solid none;
+ border-width: 1px;
+ border-color: white;
+ color: white;
+ background-image: url("/skin/sza2010/base/img/bg.png");
+ background-repeat: repeat-x;
+ }
+ div.namepolicy table { font-size: 10px; width:100%; height:23px; }
+ div.namepolicy table td { width:30%; }
+ div.namepolicy table td.right { text-align: right; }
+ div.namepolicy table td.left { text-align: left;}
+ div.namepolicy table td.help a { background-color:red; color: white; text-decoration: none; font-weight: bold; padding: 2px 5px; display: block; border: solid 1px white;}
+ div.namepolicy table td.help a:hover { background-color:lightblue; }
+ div.namepolicy table th { width:40%;}
+ div.namepolicy span.nev { padding-right: 14px; }
+ div.namepolicy table td.language span { vertical-align: middle; }
+ div.namepolicy table td.language img { margin: 0px 0px 0px 4px; height: 10px; border: solid 1px #777777; }
+ #langSelect { vertical-align: middle; padding: 0px; margin: 0px;}
+
+ table.mayorhead { font-size: 10px; margin: 13px 3px 30px 3px;}
+
+ table.mayorhead td.namepolicy { padding: 5px; }
+ table.mayorhead td.namepolicy table {
+ vertical-align: center;
+ font-size: 10px;
+ border-style: solid;
+ border-width: 2px ;
+ border-color: #550670;
+ background-color: #8877aa;
+ color: white;
+ }
+
+/* Új menü */
+
+ ul#pagemenu {
+ padding: 1px;
+ text-align: left;
+ list-style-type: none;
+ margin:1px;
+ }
+ ul#pagemenu li {
+ display: inline;
+ border-width: 0px 0px 0px 1px;
+ border-color: #8485a2;
+ border-style: dotted;
+ padding: 0px;
+ }
+ ul#pagemenu li a {
+ color: rgb(255,255,255);
+ text-decoration: none;
+ padding: 0px 5px;
+ margin: 0px;
+ }
+ ul#pagemenu li a:hover {
+ background-color: rgb(100,100,140);
+ text-decoration: underline;
+ }
+ ul#pagemenu li.active a {
+ background-color: #620405;
+ }
+ ul#pagemenu li.active a:hover {
+ background-color: rgb(140,100,100);
+ }
+
+/* SUB */
+
+ ul#submenu {
+ padding: 1px;
+ text-align: left;
+// background-color: #040582;
+ list-style-type: none;
+ margin:1px 1px 1px 40px;
+ }
+ ul#submenu li {
+ display: inline;
+ border-width: 0px 0px 0px 1px;
+ border-color: #8485a2;
+ border-style: dotted;
+ padding: 0px;
+ }
+ ul#submenu li a {
+ color: rgb(255,255,255);
+ text-decoration: none;
+ padding: 0px 5px;
+ margin: 0px;
+ }
+ ul#submenu li a:hover {
+ background-color: rgb(100,100,140);
+ text-decoration: underline;
+ }
+ ul#submenu li.active a {
+ background-color: #620405;
+ }
+ ul#submenu li.active a:hover {
+ background-color: rgb(140,100,100);
+ }
+
+/* f */
+
+ ul#fmenu {
+ padding: 1px;
+ text-align: left;
+// background-color: #0405a2;
+ list-style-type: none;
+ margin:1px 1px 1px 80px;
+ }
+ ul#fmenu li {
+ display: inline;
+ border-width: 0px 0px 0px 1px;
+ border-color: #8485a2;
+ border-style: dotted;
+ padding: 0px;
+ }
+ ul#fmenu li a {
+ color: rgb(255,255,255);
+ text-decoration: none;
+ padding: 0px 5px;
+ margin: 0px;
+ }
+ ul#fmenu li a:hover {
+ background-color: rgb(100,100,140);
+ text-decoration: underline;
+ }
+ ul#fmenu li.active a {
+ background-color: #620405;
+ }
+ ul#fmenu li.active a:hover {
+ background-color: rgb(140,100,100);
+ }
+
+ #changeSkin {
+ display: inline;
+ }
+ #changeSkin .onChangeSubmit {
+ background-color: #eeeeee;
+ font-size:9px;
+ }
+
+}
+@media print {
+
+ div.namepolicy { display: none; }
+ table.mayorhead { display: none; }
+
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/sza2010/base/html/alert.phtml b/mayor-orig/mayor-base/www/skin/sza2010/base/html/alert.phtml
new file mode 100644
index 00000000..138ac3f3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sza2010/base/html/alert.phtml
@@ -0,0 +1,68 @@
+<?php
+/*
+ Module: base
+
+ js_alert()
+ html_alert()
+*/
+
+// ------------------------------------------------------------------- //
+// Az $_SESSION['alert'] két részből áll: típus:hiba //
+// típus: alert : javaScript alert //
+// message : hibaüzenet után az oldal betöltődik //
+// page : hibaüzenet után az oldal nem töltődik be //
+// info : információs üzenet //
+// ------------------------------------------------------------------- //
+
+// ---------------------------------------------------------------- //
+// Hibaüzenet kiiratása
+// visszatérési érték: legyen-e utána megjelenítve a lap?
+// --------------------------------------------------------------- //
+
+ function html_alert() {
+
+ global $ALERT_MSG;
+
+ if (!isset($_SESSION['alert']) || (is_array($_SESSION['alert']) && count($_SESSION['alert'])==0)) {
+ return true;
+ exit;
+ }
+
+ $showPage = true;
+ for ($j = 0; $j < count($_SESSION['alert']); $j++) {
+
+ // Nincs mindig paraméter - ezért a $param nem kap értéket! - így az explode Notice üzenetet váltana ki...
+ $param = array();
+ $tmp = explode(':', $_SESSION['alert'][$j]);
+ $aType = readVariable($tmp[0], 'enum', 'message', array('message','info','page')); $aCode = $tmp[1];
+ for ($p = 2; $p < count($tmp); $p++) $param[] = htmlspecialchars($tmp[$p]);
+ $pstr = '';
+ // preparing $msg
+ if (!isset($ALERT_MSG[$aCode]) || $ALERT_MSG[$aCode] == '')
+ $msg = $ALERT_MSG['default'].' (<span class="alertParam">'.$aType.':'.$aCode.')</span>';
+ else $msg = $ALERT_MSG[$aCode];
+
+ // paraméter behelyettesítés
+ for($i = 0; $i < count($param); $i++) {
+ $_msg = $msg;
+ $msg = @str_replace("%$i%",'<span class="alertParam">'.($param[$i]).'</span>',$msg);
+ if ($param[$i] != '' and $_msg == $msg) $pstr .= '<span class="alertParam">'.($param[$i]).'</span>,';
+ }
+ if ($pstr != '') $msg .= ' (' . substr($pstr,0,-1) . ')';
+ if (($aType == 'message') or ($aType == 'page')) {
+ $title = _ERROR;
+ $class = 'errorMsg';
+ if ($aType == 'page') $showPage = false;
+ } else {
+ $title = _INFORMATION;
+ $class = 'infoMsg';
+ }
+ $msg = '<span>'.$title.':</span> ' . $msg;
+ echo '<div class="'.$class.'">'.str_replace('***','<br/>',$msg).'</div>'."\n";
+ }
+
+ return $showPage;
+
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/sza2010/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/sza2010/base/html/base.phtml
new file mode 100644
index 00000000..215a21a4
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sza2010/base/html/base.phtml
@@ -0,0 +1,310 @@
+<?php
+/*
+ Module: base
+
+ html_base($sessionID,$page,$sub,$f,$lang,$skin,$MENU)
+ html_head($page,$f,$lang,$skin)
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = 'default')
+ html_mayor_foot()
+ //page($page,$sub,$f,$lang,$skin) --> base.php
+ putValidXHTML()
+*/
+
+
+// -------------------------------------------------------------------
+// html_base() : a html oldal szerkezete
+// -------------------------------------------------------------------
+
+function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) {
+
+ _httpHeader();
+
+ if ($MENU['set'][$policy][$page][$sub][$f]['refresh'] > 0) {
+ @header("Refresh:".intval($MENU['set'][$policy][$page][$sub][$f]['refresh']));
+ }
+
+ html_head($page,$sub,$f,$lang,$skin);
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin);
+ echo '<div id="mayorerror"></div>';
+
+ echo '<div class="mayorbody" id="mayorbody">';
+ page($page,$sub,$f,$lang,$skin,$policy);
+ echo '</div>';
+ html_mayor_foot();
+}
+
+// -------------------------------------------------------------------
+// html_head() : html fejlec kiirasa
+// -------------------------------------------------------------------
+
+function html_head($page,$sub,$f,$lang,$skin) {
+
+ global $INCLUDES, $SSSHH;
+
+ if ($f == '') $f = $page;
+ ## ----------------------------------------------
+ ## Note http://hixie.ch/advocacy/xhtml
+ ## But this is crazy! Using Doctype sniffing instead...
+ ## Also read: http://www.mozilla.org/docs/web-developer/faq.html
+ ## header('Content-type: application/xhtml+xml');
+ ## -----------------------------------------------
+ echo '<?xml version="1.0" encoding="utf-8"?>'."\n";
+ echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">'."\n";
+ echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="hu">'."\n";
+ echo '<head>'."\n";
+ echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'."\n";
+ echo '<title>';
+ if (defined('_SITE')) echo ' - '._SITE.' - ';
+ echo _MAIN_TITLE;
+ echo '.';
+ echo _MAYORREV;
+ echo '</title>'."\n";
+ includeCSS($page,$sub,$f,$skin);
+ includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices
+ includeJS($page,$sub,$f,$skin);
+ if ($SSSHH!=null && $SSSHH!='') echo $SSSHH;
+
+ if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ echo '<link rel="shortcut icon" href="/skin/classic/base/img/favicon.ico" />'."\n";
+ echo "</head>\n<body>\n";
+
+}
+
+// -------------------------------------------------------------------
+// mayor_menu(): a menü kiiratása
+// -------------------------------------------------------------------
+
+function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) {
+
+ global $page, $sub, $f;
+
+ echo '<ul id="pagemenu">';
+ // --------------------------------------------------------
+ if (is_array($MENU)) {
+ foreach ($MENU as $aModule => $items) {
+ if ($aModule != 'modules') {
+ for ($i = 0; $i < count($items); $i++) {
+
+ if ($page == $aModule and
+ (!isset($items[$i]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false)
+ ) echo '<li class="active">';
+ else echo '<li>';
+
+ if (isset($items[$i]['url']) && $items[$i]['url'] != '') {
+ if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aModule".$items[$i]['url']);
+ elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array());
+ elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']);
+ else $href = href($items[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aModule");
+ }
+ echo '<a href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'>'.$items[$i]['txt'].'</a>';
+
+ echo '</li>';
+ }
+ }
+ }
+ }
+ // ---------------------------------------------------
+ echo '</ul>';
+
+ // II: SZINT
+ @$pageArray = $MENU['modules'][$page];
+ $aPage = $page;
+
+ if (is_array($pageArray)) {
+ echo '<ul id="submenu">';
+ foreach ($pageArray as $anF => $items) {
+ if ($anF != 'sub') {
+ for ($i=0;$i<count($items);$i++) {
+ if (
+ $page == $aPage and
+ (
+ (
+ !isset($items[$i]['url'])
+ and $f == $anF
+ )
+ or
+ (
+ isset($items[$i]['url']) and
+ strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false
+ )
+ )
+ ) echo '<li class="active">';
+ else echo '<li>';
+
+ if (isset($items[$i]['url']) && $items[$i]['url'] != '') {
+ if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&f=$anF".$items[$i]['url']);
+ elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array());
+ elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']);
+ else $href = href($items[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aPage&f=$anF",array('policy','sessionID','lang','skin'));
+ }
+ echo '<a href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'>'.$items[$i]['txt'].'</a>';
+ echo '</li>';
+ }
+ }
+ }
+ echo '</ul>'."\n";
+ }
+
+ // III: SZINT
+ @$subArray = $MENU['modules'][$page]['sub'][$sub];
+ $aSub = $sub;
+
+ if (is_array($subArray)) {
+ echo '<ul id="fmenu">';
+
+ foreach ($subArray as $anF => $items) {
+ for ($i=0;$i<count($items);$i++) {
+ if ($aPage == $page and
+ $aSub == $sub and
+ $anF == $f and
+ (!isset($items[$i]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false)
+ ) echo '<li class="active">';
+ else echo '<li>';
+
+ if (isset($items[$i]['url']) && $items[$i]['url'] != '') {
+ if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&sub=$aSub&f=$anF".$items[$i]['url']);
+ elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array());
+ elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']);
+ else $href = href($items[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aPage&sub=$aSub&f=$anF");
+ }
+ echo '<a href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'> '.$items[$i]['txt'].' </a>';
+
+ echo '</li>';
+ }
+ }
+
+ echo '</ul>'."\n";
+ }
+
+}
+
+// -------------------------------------------------------------------
+// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated)
+// -------------------------------------------------------------------
+
+function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) {
+
+ global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy;
+
+ _updateWindow();
+
+ //$imgextra = '-marc15';
+
+ if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png'))
+ $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png';
+ //if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl.gif'))
+ // $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl.gif';
+ if (!file_exists($HELP_LOGO = 'skin/'.$skin.'/module-help/img/help_small.jpg'))
+ $HELP_LOGO = 'skin/'._DEFAULT_SKIN.'/module-help/img/help_small.jpg';
+ ## Név, Oldal info, Policy
+ echo '<div class="namepolicy" id="namepolicy">'."\n";
+ echo '<table cellspacing="0" cellpadding="0"><tr>'."\n";
+ echo '<td class="language left hideShowContainer">'."\n";
+
+ echo '<span class="onClickHideShow"><img class="onClickHideShow" id="openLangSelect" src="skin/classic/base/img/flags/'.$lang.'.gif" alt="'.$lang.'" /></span>'."\n";
+
+ echo '<span id="langSelect" class="openable" style="display: none;">';
+ for ($i = 0;$i < count($LANGUAGES); $i++) {
+ if ($LANGUAGES[$i]!=$lang) echo '<a href="'.href('index.php?lang='.$LANGUAGES[$i],array('skin','policy','page','sub','f','sessionID')).'"><img src="skin/classic/base/img/flags/'.$LANGUAGES[$i].'.gif" alt="'.$LANGUAGES[$i].'" /></a>';
+ }
+ echo '</span>';
+
+ formBegin(array('id'=>'changeSkin','action'=>href('index.php', array('sessionID','lang'))));
+ echo '<input type="hidden" name="noModify" value="1" />';
+ echo '<select class="onChangeSubmit" name="skin">';
+ for ($i=0; $i<count($SKINSSHOW); $i++) {
+ $_SEL = ($SKINSSHOW[$i]==$skin)? 'selected="selected"':'';
+ echo '<option value="'.$SKINSSHOW[$i].'" '.$_SEL.'>'.$SKINSSHOW[$i].'</option>';
+ }
+ echo '</select>';
+ global $POLICIES;
+ echo '<select class="onChangeSubmit" name="policy" onchange="submit();">';
+ for ($i=0; $i<count($POLICIES); $i++) {
+ $_SEL = ($POLICIES[$i]==$policy)? 'selected="selected"':'';
+ echo '<option value="'.$POLICIES[$i].'" '.$_SEL.'>'.$POLICIES[$i].'</option>';
+ }
+ echo '</select>';
+ /* Némi javascipt támogatás a session kezelésre ebben a formban */
+ $sessionMaxIdleTime=$sessionAlertTime=0;
+ if ((_SESSIONID!='' && _POLICY!='public') && defined('_SESSION_MAX_IDLE_TIME') && _SESSION_MAX_IDLE_TIME>0) {
+ $sessionMaxIdleTime=((_SESSION_MAX_IDLE_TIME*1000*60*60)+1000);
+ if (defined('_SESSION_ALERT_TIME')) $sessionAlertTime = ((_SESSION_MAX_IDLE_TIME*1000*60*60)-(_SESSION_ALERT_TIME*1000*60));
+ }
+ echo '<input type="hidden" id="SESSION_MAX_IDLE_TIME" value="'.$sessionMaxIdleTime.'" />';
+ echo '<input type="hidden" id="SESSION_ALERT_TIME" value="'.$sessionAlertTime.'" />';
+ /* --- */
+ formEnd();
+ echo '</td>'."\n";
+ echo '<th>';
+ //echo $page;
+ //if ($sub!='') echo '&nbsp;&raquo;&nbsp;'.$sub;
+ if (is_array(@$INCLUDES['html_mayor_head']['global']['center'])) foreach ($INCLUDES['html_mayor_head']['global']['center'] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ echo _SITE;
+ echo '</th>';
+ echo '<td class="right">';
+ echo '<span class="nev">'._USERCN.'</span>';
+ echo '</td>';
+ echo '<td class="right">';
+ echo '</td>';
+ echo '<td class="help">';
+ if (isset($sub) && $sub != '') $psf = "$page:$sub:$f"; else $psf = "$page:$f";
+ echo '<a title="'._HELP.'" target="_blank" href="wiki/dok.php?id='.$psf.'">?</a>';
+ echo '</td></tr>';
+ echo '</table>';
+ echo '</div>'."\n";
+ ## ------------------------
+ echo '<table class="mayorhead" cellspacing="0" cellpadding="0">'."\n";
+ echo '<tr><td style="width: 40px">';
+ echo '<a href="'.href('index.php').'"><img src="'.$HOME_LOGO.'" alt="MaYoR" style="border-width: 0;" /></a>';
+ echo '</td>'."\n";
+ echo '<td style="vertical-align: middle; text-align: left; width: 99%">';
+ mayor_menu($MENU,$sessionID,$lang,$skin);
+ echo '</td>';
+ if (in_array('help',$INSTALLED_MODULES)) {
+ $link = "index.php?page=help&hpage=$page&hsub=$sub&hf=$f";
+ echo '<td>';
+ echo '<a href="'.href($link).'" target="_blank">';
+ echo '<img src="'.$HELP_LOGO.'" alt="'._HELP.'" style="border-width: 0;" />';
+ echo '</a>';
+
+ echo '</td>';
+ }
+ echo "</tr>\n</table>\n";
+
+}
+
+// -------------------------------------------------------------------
+// html_mayor_foot() : lablec kiirasa ( )
+// -------------------------------------------------------------------
+
+function html_mayor_foot() {
+ echo '<div class="mayorfoot" id="mayorfoot">'._MAIN_FOOTER.'</div>'."\n\n";
+ echo "</body>\n</html>";
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/sza2010/base/img/bg.png b/mayor-orig/mayor-base/www/skin/sza2010/base/img/bg.png
new file mode 100644
index 00000000..a124c5df
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sza2010/base/img/bg.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/sza2010/base/img/foot.orig.png b/mayor-orig/mayor-base/www/skin/sza2010/base/img/foot.orig.png
new file mode 100644
index 00000000..9bccfb27
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sza2010/base/img/foot.orig.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/sza2010/base/img/foot.png b/mayor-orig/mayor-base/www/skin/sza2010/base/img/foot.png
new file mode 100644
index 00000000..3d1a92ba
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sza2010/base/img/foot.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/sza2010/base/img/mayor_small_ssl.png b/mayor-orig/mayor-base/www/skin/sza2010/base/img/mayor_small_ssl.png
new file mode 100644
index 00000000..c2eefd5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sza2010/base/img/mayor_small_ssl.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/sza2010/base/img/meghivo.png b/mayor-orig/mayor-base/www/skin/sza2010/base/img/meghivo.png
new file mode 100644
index 00000000..38f61f13
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/sza2010/base/img/meghivo.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/teszt/base/css/base.css b/mayor-orig/mayor-base/www/skin/teszt/base/css/base.css
new file mode 100644
index 00000000..0b63c918
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/teszt/base/css/base.css
@@ -0,0 +1,288 @@
+/*
+ Module: base
+ A rétegek sorrendje: nav2(1), head(2), poz(2), nav1(3), nav(3), logo(3), logobadge(4)
+
+ mayorlayers
+ -help
+ -debug
+ -takaro
+ -updateWindow
+ -keyHelp (table)
+ -mayorerror
+ mayorhead
+ -head
+ -nav1
+ -nav
+ -poz
+ -logo (a+img!)
+ -nav2
+ mayorbody
+ mayorfoot
+*/
+
+@media screen {
+
+ html { height: 100%; }
+ html body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin:0px; padding:0px; height: 100%; overflow: auto; }
+ a { text-decoration:none; }
+ .onClickHideShow, .onClickHide, .onClickShow { cursor: pointer; }
+
+
+ /* mayorlayers */
+ #debug {
+ padding: 20px; background: rgba(0,0,0,0.7); color: yellow; border: 0px red solid;
+ position: absolute; z-index: 1000; top: 0px; left: 0px; right: 0px;
+ }
+ #debug pre { background: rgba(240,240,240,0.9); color: #880000; padding: 10px; margin: 0px;}
+
+ #help {
+ border-radius: 2px;
+ box-shadow: 3px 3px 15px 0px rgba(100,100,100,5.0);
+ position: absolute; top: 10px; left: 50%; height: 600px; width: 1000px; z-index: 500; margin: 0 -500px;
+ border: 1px solid #888888; background: white; }
+ #help iframe { width: 1000px; height: 558px; margin: 0; border: none; }
+ #helpHeader { text-align: center; font-size: 16px; width: 992px; height: 20px; margin: 0px; background: #44cbf8; cursor: pointer; color: white; font-weight: bold; padding: 4px;
+ border-bottom: #f3f3f3 solid 4px;
+ }
+ #hideHelp {
+ position: absolute; top:4px; right: 4px;
+ cursor: pointer; background: #822; color: white; padding: 2px 5px; font-size: 12px;
+ border: #822 1px solid; border-radius: 2px; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
+// box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);
+ }
+ #hideHelp:hover { background-color:red;}
+
+ div.errorMsg { margin: 10px 20%; background: #fee; border: solid 1px red; border-radius: 2px; padding: 10px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); }
+ div.errorMsg span { font-weight: bold; color: #f00; }
+ div.infoMsg { margin: 10px 20%; background-color: #eee; border: solid 1px rgb(90,133,184); border-radius: 2px; padding: 10px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); }
+ div.infoMsg span { font-weight: bold; color: rgb(21,71,123); }
+ div.errorMsg span.alertParam, div.infoMsg span.alertParam { font-weight: normal; font-style: italic; color: green; }
+
+
+ /* mayorhead */
+ /* placeholder */
+ #head { z-index: 2; position: absolute; width: 100%; height: 60px; background: #3496B9 no-repeat right center; }
+
+ #mayorhead { }
+
+ #logo { z-index: 3; height: 40px; position: absolute; top: 8px; left: 14px; border: 0px none; }
+ #logobadge { z-index: 4; height: 25px; position: fixed; top: 28px; left: 90px; border: 0px none; }
+
+ #nav, #nav ul { list-style: none; }
+ #nav { z-index: 3; margin: 0; padding-left: 140px; }
+ #nav li { position: relative; }
+ #nav > li { float: left; z-index: 20; text-align: center; padding: 0;
+ background: #3fa79c; border-bottom: 1px solid #D2DFE9; }
+ #nav > li.active { max-width: 160px; }
+ #nav > li:hover { z-index: 22; }
+ #nav > li > ul { top: 50px; left: -1px; /* background: #1A4B5C; */}
+ #nav > li > ul > li > a { margin-left: 10px; }
+
+ #nav li:hover { background: #4fbcd7;}
+ #nav li.active { background: #3496B9; background: #3facc7; }
+
+ #nav li a { display: block; padding: 3px 10px; color: white; }
+ #nav > li > a { padding: 0px 20px; line-height: 60px; vertical-align: middle; display: table-cell; min-width: 100px; }
+ #nav li a:hover { color:#fdb933; }
+ #nav li:hover > ul { display: block; }
+
+ #nav li.nav1szin { background: #3496B9; border-bottom: 1px solid white; }
+ #nav ul.sub { background: #3facc7; }
+
+ #nav ul { display: none; position: absolute; width: 160px; padding: 0px; }
+ #nav ul span { float: left; margin: 6px 5px; color: white; }
+
+ #nav > li > ul { top: 61px; }
+ #nav ul > li { background: #3496B9; }
+ #nav ul li { text-align: left; margin-bottom: 1px; }
+ #nav ul li a { padding: 6px 10px; }
+ #nav ul li.active > a { color:#fdb933; }
+
+ #nav ul ul { top: 0px; left: -145px; z-index: 30; background: #3facc7; background: #3496B9}
+ #nav ul ul a { background: #3facc7; }
+ #nav ul ul a:hover { background: #4fbcd7; color: white; border-right: solid 4px orange;} /* mod */
+
+ #nav li.start { /* fogó */
+ height: 20px; min-width: 0; padding-right: 0px; padding-left: 6px;
+ margin-top:20px;
+ background-color:lightgrey;
+ border-radius: 0px 50px 50px 0px; border-bottom: 0px;
+ z-index: 20;
+ }
+
+ @keyframes moIn {from {padding-left:6px;}to {padding-left:9px;}}
+ @-webkit-keyframes moIn {from {padding-left:6px;}to {padding-left:9px;}}
+ @keyframes moOut {from {padding-left:9px;}to {padding-left:6px;}}
+ @-webkit-keyframes moOut {from {padding-left:9px;}to {padding-left:6px;}}
+
+ #nav:hover li.start {
+ animation: moIn 0.1s; -webkit-animation: moIn 0.1s;
+ }
+
+ #nav li.start:hover {
+ background: #D2DFE9;
+ padding-left:9px;
+ }
+
+ #poz { z-index: 2; padding: 0; list-style: none; background-color: rgb(230,230,230); margin: 0;
+ height: 20px; border-bottom: #f3f3f3 solid 4px; text-shadow: 0px 1px rgba(52, 150, 185, 0.1); }
+ #poz > li { padding: 2px 6px; }
+ #poz > li div.nev { float: right; padding: 2px; width: auto; color: #3496b9; text-align: right; }
+ #poz > li div.nev span { margin-right: 0px; font-size:12px; }
+ #poz > li div.nev span:hover { color:#00c0ff; }
+ #poz > li a { margin-right:5px; margin-left:15px; padding:0px; margin-top:0px; vertical-align: middle;}
+
+ #settings {
+/*
+ width: 311px;
+ margin-top: 5px; position:relative; right: 0px;
+ background: #eeeeee;
+ border-width: 0px 1px 1px 1px;
+ border-style: solid;
+ border-color: rgb(230,230,230);
+ border-top: dotted 1px #dddddd;
+*/
+
+ width: 311px;
+ margin-top: 5px; position:relative; right: 0px;
+ background: #eeeeee;
+ border-width: 0px 1px 1px 1px;
+ border-style: solid;
+ border-color: rgb(230,230,230);
+ border-top: dotted 1px #dddddd;
+
+ }
+ #settings div {
+ padding: 20px 10px;
+ border-bottom: 1px solid rgb(230,230,230);
+ }
+ #settings div p { margin: 0; padding: 0; text-align: center; }
+ #settings div p.name { font-weight: bold; }
+ #settings table { width: 300px; background: rgb(245,245,245);}
+ #settings td { width: 50%; text-align: center; padding: 10px; }
+ #settings td a {
+ display: inline-block;
+ vertical-align: baseline; line-height: 29px;
+ position: static;
+ padding: 0px 8px; height: 29px; margin: 0px 8px;
+ text-align: center; text-decoration: none; font-weight: bold; font-size: 10px;
+ background: white; color: #444;
+ border: solid 1px rgba(0, 0, 0, 0.0976563);
+ border-radius: 2px;
+ }
+ #settings td a:hover { border: white 1px solid; background-color: #44CBF8; color: white; }
+
+ #poz > li span.school {
+ font-variant: small-caps;
+ font-size: 14px;
+ color: white;
+ letter-spacing: 0.4em;
+ overflow: hidden;
+ }
+
+
+ #nav1 { z-index: 3; position: absolute; margin-left: 310px; margin-right: 0px; width: 100%;}
+ #nav1 div { background: rgba(52,150,185,0.6); }
+ #nav1 div a { line-height:60px; padding: 0px 12px 0px 12px; display: inline-block; text-decoration: none; color: #fff;
+ background: #3496b9; margin-top: 0px; }
+ #nav1 div a:hover { color: #fdb933;
+ background-color: ;
+ box-shadow: inset 0px -3px 0px #44CBF8;
+ }
+ #nav1 div a.aktiv { color:#fdb933; }
+ #nav1 div a.aktiv:hover { color: white; }
+
+ #nav1 div span.onClickHideShow {
+ display:none;
+ cursor: pointer; color: white; background: rgba(255,255,255,0.2); line-height:60px;
+ padding: 0px 12px 0px 12px; float: right; margin-right: 310px/* annyi, amennyi a #nav1 bal margója!*/; }
+
+ #nav2.vertical {
+ z-index: 1; width: 140px; margin: 0; height: 100%;
+ background-color: #D2DFE9;
+ margin-top: -25px;
+ padding-top: 25px;
+ position: fixed;
+ overflow: auto;
+ top:83px;
+ background: -webkit-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ background: -moz-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ background: linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ }
+ #nav2.vertical ul { margin: 0; padding: 0; list-style: none; }
+ #nav2.vertical ul li { border-bottom: solid 1px rgba(100,100,100,0.4); }
+ #nav2.vertical ul li:first-child { border-top: solid 1px rgba(100,100,100,0.4); }
+ #nav2.vertical ul li a { display: block; color: black; font-size: 11px; width: 128px; padding: 6px 6px; text-decoration: none; }
+ #nav2.vertical ul li a.aktiv { background-color: white; }
+ #nav2.vertical ul li a:hover { color: white; background: #9abcd8; }
+
+ #nav2.horizontal {
+ z-index: 1; width: 100%;
+ margin-top: 0px;
+ top: 83px;
+ text-align: center;
+ padding-top: 5px; padding-bottom: 5px;
+ position: fixed;
+ overflow: none;
+ border-bottom: solid 3px #eeeeee;
+ background-color: #82bfd5;
+ color: white;
+ font-size:x-small;
+ }
+ #nav2.horizontal ul { margin: 0; padding: 0; list-style: none; }
+ #nav2.horizontal ul li { display: inline; border-right: solid 1px #888888; }
+ #nav2.horizontal ul li:last-child { display: inline; border-right: solid 0px #888888; }
+ #nav2.horizontal ul li a {display: inline; color: white; width: 128px; padding: 0px 6px; text-decoration: none; }
+ #nav2.horizontal ul li a.aktiv { color: white; background-color: orange;}
+ #nav2.horizontal ul li a:hover { color: white; background: orange; }
+ #nav2.horizontal:hover {
+
+ }
+
+ div.mayorfoot { text-align: center; font-size:smaller; color: #aaa; }
+ div.mayorfoot a { color: rgba(52, 150, 185, 0.6);}
+ div.mayorfoot:hover a { color: rgba(52, 150, 185, 1);}
+ #mayorfoot.leftpad { margin-top:2em; margin-left: 141px; }
+ #mayorfoot.toppad { margin-top: 40px; margin-left: 0px; }
+
+ #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); }
+ #updateWindow { z-index: 152; position: fixed; background: rgb(255,255,255); min-height: 100px; min-width: 200px; border: #3496B9 3px solid; border-radius: 10px;}
+ #updateWindow #updateHeader { min-height: 20px; min-width: 100px; background: #1a4c5c; color: white; text-align: center; line-height: 20px; position: relative; top: -13px; border-radius: 20px; margin: 0 50px; border: solid 3px #3496b9; }
+ #updateWindow #updateCloseButton { position: absolute; right: -20px; top: -20px; z-index: 0; background : white; border: solid 3px #3496b9; border-radius: 20px;}
+ #updateWindow #updateCloseButton:hover { background : #eeeeee;}
+ #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 400px;
+ border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4);
+ }
+ #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; }
+ #keyHelp td.key { color: yellow; text-align: right; width: 100px; }
+ #keyHelp td.desc { color: white; text-align: left; }
+
+ #logo, #head, #nav1, #nav, #poz { position: fixed; }
+ #head { top: 0; left: 0; }
+ #nav { top: 0; left: 0; }
+ #nav1 { top: 0; }
+ #poz { top: 60px; width: 100%; }
+
+ #mayorbody { padding-top: 1px; padding-right: 0px;
+ /*margin-left:0px;*/ margin-top: 83px;
+ }
+ #mayorbody.leftpad {
+ margin-left: 141px; }
+ #mayorbody.toppad {
+ margin-left: 0px; top:33px; position: relative;
+ }
+
+
+ /* alternates */
+ #mayorhead.small #nav1 div a { line-height:30px; }
+ #mayorhead.small #nav > li > a { line-height:30px;}
+ #mayorhead.small #head { height:30px;}
+ #mayorhead.small #poz { height:20px;}
+
+ /* ------------ */
+
+
+}
+@media print {
+ #nav, #nav1, #nav2, #poz, #head, #logo, #mayorfoot, #logobadge { display: none; }
+}
diff --git a/mayor-orig/mayor-base/www/skin/teszt/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/teszt/base/html/base.phtml
new file mode 100644
index 00000000..77e12bc7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/teszt/base/html/base.phtml
@@ -0,0 +1,407 @@
+<?php
+/*
+ Module: base
+
+ html_base($sessionID,$page,$sub,$f,$lang,$skin,$MENU)
+ html_head($page,$f,$lang,$skin)
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = 'default')
+ html_mayor_foot()
+ //page($page,$sub,$f,$lang,$skin) --> base.php
+ putValidXHTML()
+*/
+
+ require('skin/blue/base/color_schemes.php');
+ if (!defined('__COLOR_SCHEME') || !is_array($_COLOR_SCHEMES[__COLOR_SCHEME]))
+ $_COLORS = $_COLOR_SCHEMES['blue'];
+ else
+ $_COLORS = $_COLOR_SCHEMES[__COLOR_SCHEME];
+
+
+// -------------------------------------------------------------------
+// html_base() : a html oldal szerkezete
+// -------------------------------------------------------------------
+
+function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) {
+
+ _httpHeader();
+
+ if ($MENU['set'][$policy][$page][$sub][$f]['refresh'] > 0) {
+ @header("Refresh:".intval($MENU['set'][$policy][$page][$sub][$f]['refresh']));
+ }
+
+ html_head($page,$sub,$f,$lang,$skin);
+ _debugLayer();
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin);
+ echo '<div id="mayorerror"></div>';
+ $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'leftpad' : 'toppad';
+ echo '<div class="mayorbody '.$_defaultPageLayout.'" id="mayorbody">';
+ page($page,$sub,$f,$lang,$skin,$policy);
+ echo '</div>';
+ html_mayor_foot();
+}
+
+// -------------------------------------------------------------------
+// html_head() : html fejlec kiirasa
+// -------------------------------------------------------------------
+
+function html_head($page,$sub,$f,$lang,$skin) {
+
+ global $INCLUDES, $SSSHH, $SSSBB;
+
+ if ($f == '') $f = $page;
+ ## ----------------------------------------------
+ ## Note http://hixie.ch/advocacy/xhtml
+ ## But this is crazy! Using Doctype sniffing instead...
+ ## Also read: http://www.mozilla.org/docs/web-developer/faq.html
+ ## header('Content-type: application/xhtml+xml');
+ ## -----------------------------------------------
+
+ // debug üzenetek layer-ének lezárása
+// if (defined('__START_DEBUG') && __START_DEBUG === true) echo "</div>\n<!--// debug end //-->";
+
+ echo '<?xml version="1.0" encoding="utf-8"?>'."\n";
+ echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
+ echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="hu">'."\n";
+ echo '<head>'."\n";
+ echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'."\n";
+ echo '<title>';
+ if (defined('_SITE')) echo ' - '._SITE.' - ';
+ echo _MAIN_TITLE;
+ echo '.';
+ echo _MAYORREV;
+ echo '</title>'."\n";
+ includeCSS($page,$sub,$f,$skin);
+ includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices
+ includeJS($page,$sub,$f,$skin);
+ if (is_string($SSSHH) && $SSSHH!='') echo $SSSHH;
+
+ if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ echo '<link rel="shortcut icon" href="/skin/blue/base/img/favicon.ico" />'."\n";
+ echo "</head>\n<body>\n";
+ if (is_string($SSSBB) && $SSSBB!='') echo $SSSBB;
+
+}
+
+// -------------------------------------------------------------------
+// mayor_menu(): a menü kiiratása
+// -------------------------------------------------------------------
+
+function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) {
+
+ global $policy, $page, $sub, $f, $LANGUAGES, $SKINSSHOW, $_COLORS;
+
+ echo '<ul id="nav" class="hideShowContainer">'."\n";
+ if (is_array($MENU)) {
+ $active_page=false;
+ foreach ($MENU as $aModule => $pItems) {
+ if ($aModule != 'modules') {
+ for ($i = 0; $i < count($pItems); $i++) {
+ if ($page == $aModule and
+ ( $active_page===false && ( $_SERVER["REQUEST_URI"]=='/' || (!isset($pItems[$i]['url'])) || strpos($_SERVER["REQUEST_URI"],$pItems[$i]['url']) !== false || strpos($pItems[$i]['url'],"page=$page") !== false) )
+ ) {
+ echo '<li class="active">';
+ $active_page=true;
+ } else {
+ echo '<li style="display: none;" class="openable">';
+ }
+ if (isset($pItems[$i]['url']) && $pItems[$i]['url'] != '') {
+ if ($pItems[$i]['url'][0] == '&') $href = href("index.php?page=$aModule".$pItems[$i]['url']);
+ elseif (substr($pItems[$i]['url'],0,4) == 'http') $href = href($pItems[$i]['url'], array());
+ elseif (isset($pItems[$i]['get']) && is_array($pItems[$i]['get'])) $href = href($pItems[$i]['url'], $pItems[$i]['get']);
+ else $href = href($pItems[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aModule");
+ }
+ echo '<a href="'.$href.'"'.((isset($pItems[$i]['target']))?' target="'.$pItems[$i]['target'].'" ':'').'>'
+ .$pItems[$i]['txt']
+ .'</a>'."\n";
+ // --- sub ---
+
+ @$pageArray = $MENU['modules'][$aModule];
+
+ if (is_array($pageArray) && count($pageArray)>0) {
+ echo '<ul class="sub">'."\n";
+ foreach ($pageArray as $aSub => $sItems) {
+ if ($aSub != 'sub') {
+ for ($j=0;$j<count($sItems);$j++) {
+ if (
+ $page == $aModule and
+ (
+ (!isset($sItems[$j]['url']) && $f == $aSub)
+ || (isset($sItems[$j]['url']) && strpos($_SERVER["REQUEST_URI"],$sItems[$j]['url']) !== false)
+ )
+ ) {
+ echo '<li class="active">'; $activeSub = true;
+ } else {
+ echo '<li>'; $activeSub = false;
+ }
+ if (isset($sItems[$j]['url']) && $sItems[$j]['url'] != '') {
+ if ($sItems[$j]['url'][0] == '&') $href = href("index.php?page=$aModule&f=$aSub".$sItems[$j]['url']);
+ elseif (substr($sItems[$j]['url'],0,4) == 'http') $href = href($sItems[$j]['url'], array());
+ elseif (isset($sItems[$j]['get']) && is_array($sItems[$j]['get'])) $href = href($sItems[$j]['url'], $sItems[$j]['get']);
+ else $href = href($sItems[$j]['url']);
+ } else {
+ $href = href("index.php?page=$aModule&f=$aSub",array('policy','sessionID','lang','skin'));
+ }
+ @$subArray = $MENU['modules'][$aModule]['sub'][$aSub];
+ if (!is_array($subArray) || count($subArray) == 0) {
+ echo '<a href="'.$href.'"'.((isset($sItems[$j]['target']))?' target="'.$sItems[$j]['target'].'" ':'').'>'
+ .$sItems[$j]['txt'].'</a>';
+ } else { // vannak al-al menúk (f - menü)
+ echo '<span>&laquo;</span><a href="'.$href.'"'.((isset($sItems[$j]['target']))?' target="'.$sItems[$j]['target'].'" ':'').'>'
+ .$sItems[$j]['txt'].'</a>';
+ // -- f menü --
+ echo '<ul class="fmenu">'."\n";
+
+ foreach ($subArray as $anF => $items) {
+ for ($k=0;$k<count($items);$k++) {
+ if ($aModule == $page and
+ $aSub == $sub and
+ $anF == $f and
+ (!isset($items[$k]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$k]['url']) !== false)
+ ) { echo '<li class="active">'."\n"; }
+ else { echo '<li>'."\n"; }
+
+ if (isset($items[$k]['url']) && $items[$k]['url'] != '') {
+ if ($items[$k]['url'][0] == '&') $href = href("index.php?page=$aModule&sub=$aSub&f=$anF".$items[$k]['url']);
+ elseif (substr($items[$k]['url'],0,4) == 'http') $href = href($items[$k]['url'], array());
+ elseif (isset($items[$k]['get']) && is_array($items[$k]['get'])) $href = href($items[$k]['url'], $items[$k]['get']);
+ else $href = href($items[$k]['url']);
+ } else {
+ $href = href("index.php?page=$aModule&sub=$aSub&f=$anF");
+ }
+ echo '<a href="'.$href.'"'.((isset($items[$k]['target']))?' target="'.$items[$k]['target'].'" ':'').'> '
+ .$items[$k]['txt'].' </a>'."\n";
+
+ echo '</li>'."\n"; // al-al menüpont vége (f)
+ } // for - on items
+ } // foreach - on subArray
+
+ echo '</ul>'."\n"; // fmenu
+ } // vannak al-al menük (f -menü)
+
+ echo '</li>'."\n"; // almenü-pont vége (sub)
+ } // for - on sItems
+ } // ha nem sub == aSub
+ } // foreach pageArray
+ echo '</ul>'."\n"; // submenu
+ } // vannak almenük (sub)
+ echo '</li>'."\n"; // menüpont vége (page)
+ } // for - on pItems
+ } // ha aModule != 'modules'
+ } // foreach on MENU
+ }
+ echo '<li class="start onClickHideShow">&nbsp</li>';
+ echo '</ul>'."\n";
+
+ $loginout_img = _svgLoginout(array('print'=>false, 'color' => $_COLORS['login']));
+ $down_svg = _svgDown(array('print'=>false, 'color' => $_COLORS['login']));
+ // ------------------------
+
+ echo '<ul id="poz">';
+ echo '<li>';
+ if (!defined('_SCHOOL_NAME')) define('_SCHOOL_NAME',_SITE/*.' - '._MAIN_TITLE.'.'._MAYORREV*/);
+ echo '<span class="school">'._SCHOOL_NAME.'</span>';
+
+ if ($policy == 'public') {
+ echo '<div class="nev hideShowContainer">'.$down_svg.'<span class="onClickHideShow" style="padding-left:14px;" > '._LOGIN.'</span>';
+ echo '<a id="logout" title="'._LOGIN.'" href="'.href('index.php?page=auth&f=login&toPolicy=private',array('skin','lang','sessionID')).'">';
+ echo $loginout_img;
+ echo '</a>';
+ echo '<div id="settings" class="openable" style="display: none">';
+ echo '<table>';
+ echo '<tr>';
+ echo '<td><a href="'.href('index.php?page=auth&f=login&toPolicy=parent').'">'.str_replace(' ','&nbsp;',_PARENT_LOGIN).'</a></td>';
+ echo '<td><a href="'.href('index.php?page=auth&f=login&toPolicy=private').'">'._LOGIN.'</a></td>';
+ echo '</tr>';
+ echo '</table>';
+ formBegin();
+ formEnd();
+ echo '</div>';
+ echo '</div>';
+ } else {
+ echo '<div class="nev hideShowContainer">'.$down_svg.'<span class="onClickHideShow" style="padding-left:14px;" > '._USERCN.'</span>';
+ echo '<a id="logout" title="'._LOGOUT.'" href="'.href('index.php?page=session&f=logout&policy=public',array('skin','lang','sessionID')).'">';
+ echo $loginout_img;
+ echo '</a>';
+ echo '<div id="settings" class="openable" style="display: none">';
+ echo '<div>';
+ echo '<p class="name">'._USERCN.'</p>';
+ echo '<p class="account">'._USERACCOUNT.'</p>';
+ echo '</div>';
+ echo '<table>';
+ echo '<tr>';
+ echo '<td><a href="'.href('index.php?page=password&f=changeMyPassword&userAccount='._USERACCOUNT.'&policy=public',array('skin','lang','sessionID')).'">'._PASSWORD.'</a></td>';
+ echo '<td><a href="'.href('index.php?page=session&f=logout&policy=public',array('skin','lang','sessionID')).'">'._LOGOUT.'</a></td>';
+ echo '</tr>';
+ echo '</table>';
+ formBegin();
+ /* Némi javascipt támogatás a session kezelésre ebben a formban */
+ $sessionMaxIdleTime=$sessionAlertTime=0;
+ if ((_SESSIONID!='' && _POLICY!='public') && defined('_SESSION_MAX_IDLE_TIME') && _SESSION_MAX_IDLE_TIME>0) {
+ $sessionMaxIdleTime=((_SESSION_MAX_IDLE_TIME*1000*60*60)+1000);
+ if (defined('_SESSION_ALERT_TIME')) $sessionAlertTime = ((_SESSION_MAX_IDLE_TIME*1000*60*60)-(_SESSION_ALERT_TIME*1000*60));
+ }
+ echo '<input type="text" id="SESSION_MAX_IDLE_TIME" value="'.$sessionMaxIdleTime.'" />';
+ echo '<input type="text" id="SESSION_ALERT_TIME" value="'.$sessionAlertTime.'" />';
+ /* --- */
+ formEnd();
+ echo '</div>';
+ echo '</div>';
+ } // policy != punlic
+//var_dump(substr($_SERVER["REQUEST_URI"],0,strpos($_SERVER["REQUEST_URI"],'sessionID=')));
+
+ echo '</li>';
+ echo '</ul>';
+
+
+}
+
+// -------------------------------------------------------------------
+// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated)
+// -------------------------------------------------------------------
+
+function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) {
+
+ global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy, $SCHOOL_LOGO, $SCHOOL_IDENTITY, $SCHOOL_URL, $NAV;
+
+ _updateWindow();
+ _keyHelp();
+
+ echo '<div id="mayorhead">';
+
+ //if (date('m')==12) $imgextra = '-santa'; else $imgextra = '';
+ if (defined('_HOME_LOGO') && file_exists(_HOME_LOGO)) $HOME_LOGO=_HOME_LOGO;
+ elseif (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png'))
+ $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png';
+
+ if (defined('_HOME_LOGO_BADGE') && file_exists(_HOME_LOGO_BADGE)) $HOME_LOGO_BADGE=_HOME_LOGO_BADGE;
+// elseif (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png'))
+// $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png';
+
+ echo '<div id="head"></div><!-- we are holding some place here -->';
+
+ echo "<!--// NAV1 start //-->\n";
+ echo '<div id="nav1">';
+ echo '<div class="hideShowContainer">';
+
+ $db = 0; $max = __MAX_MENU; // Az egy sorba megjeleníthető menüpontok maximális száma
+ if (is_array($NAV[1])) foreach ($NAV[1] as $N1) {
+ $txt = '';
+ $i = intval($N1['index']);
+ if (isset($N1['sub'])) {
+ if (!isset($N1['f'])) {
+ $M = $MENU['modules'][ $N1['page'] ][ $N1['sub'] ][ $i ];
+ } else {
+ $M = $MENU['modules'][ $N1['page'] ]['sub'][ $N1['sub'] ][ $N1['f'] ][ $i ];
+ }
+ } elseif (isset($N1['f'])) {
+ $M = $MENU['modules'][ $N1['page'] ][ $N1['f'] ][ $i ];
+ } else {
+ $M = $MENU[$N1['page']][ $i ];
+ }
+ $txt = $M['txt'];
+ $url = $M['url'];
+ $get = $M['get'];
+ if (isset($get)) $href = href( isset($url)?$url:'index.php?page='.$N1['page'].'&sub='.$N1['sub'].'&f='.$N1['f'], $get);
+ else $href = href( isset($url)?$url:'index.php?page='.$N1['page'].'&sub='.$N1['sub'].'&f='.$N1['f']);
+
+ if ($db<$max) {
+ if ($page == $N1['page'] && $sub == $N1['sub'] && (!isset($N1['f']) || $f == $N1['f'])) $class = ' class="aktiv" '; else $class = '';
+ } else {
+ if ($page == $N1['page'] && $sub == $N1['sub'] && (!isset($N1['f']) || $f == $N1['f'])) $class = ' class="openable aktiv" '; else $class = ' class="openable" ';
+ $style = ' style="display: none;" ';
+ }
+
+ if ($txt != '') { // Hibás hivatkozás ne rontsa el a menüt!
+ if ($db == $max) echo '<span class="onClickHideShow openable">&nabla;</span><span class="onClickHideShow openable" style="display: none;">&Delta;</span><br />';
+ echo '<a href="'.$href.'"'.$class.$style.'>';
+ echo $txt;
+ echo '</a>';
+ $db++;
+ }
+
+
+ }
+ echo '</div>';
+ echo '</div>'."\n<!--// NAV1 end //-->\n";
+
+ mayor_menu($MENU,$sessionID,$lang,$skin);
+
+ echo '<div class="mayorLogo">';
+ echo '<a href="'.href('index.php').'">';
+ echo '<img src="'.$HOME_LOGO.'" alt="MaYoR" id="logo" />';
+ if ($HOME_LOGO_BADGE!='') echo '<img src="'.$HOME_LOGO_BADGE.'" alt="" id="logobadge" />';
+ echo '</a>';
+ echo '</div>';
+
+
+ echo "<!--// NAV2 start //-->\n";
+ $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'vertical' : 'horizontal';
+ echo '<div id="nav2" class="'.$_defaultPageLayout.'">';
+// echo '<span id="hideNav2:tavtarto" class="onClickHide">X</span>';
+ if (is_array($NAV[2])) {
+ echo '<ul>';
+ foreach ($NAV[2] as $N2) {
+ $txt = '';
+ $i = intval($N2['index']);
+ if (isset($N2['sub'])) {
+ if (!isset($N2['f'])) {
+ $M = $MENU['modules'][ $N2['page'] ][ $N2['sub'] ][ $i ];
+ } else {
+ $M = $MENU['modules'][ $N2['page'] ]['sub'][ $N2['sub'] ][ $N2['f'] ][ $i ];
+ }
+ } elseif (isset($N2['f'])) {
+ $M = $MENU['modules'][ $N2['page'] ][ $N2['f'] ][ $i ];
+ } else {
+ $M = $MENU[$N2['page']][ $i ];
+ }
+ $txt = $M['txt'];
+ $url = $M['url'];
+ $get = $M['get'];
+ if (isset($get)) $href = href( isset($url)?$url:'index.php?page='.$N2['page'].'&sub='.$N2['sub'].'&f='.$N2['f'], $get);
+ else $href = href( isset($url)?$url:'index.php?page='.$N2['page'].'&sub='.$N2['sub'].'&f='.$N2['f']);
+
+ if ($page == $N2['page'] && $sub == $N2['sub'] && (!isset($N2['f']) || $f == $N2['f'])) $class = ' class="aktiv" '; else $class = '';
+ if ($txt != '') {
+ echo '<li>';
+ echo '<a href="'.$href.'"'.$class.'>';
+ echo $txt;
+ echo '</a>';
+ echo '</li>';
+ }
+ }
+ echo '</ul>';
+ }
+ echo '</div>'."\n<!--// NAV2 end //-->\n";
+
+ echo '</div>'."\n";
+
+}
+
+
+// -------------------------------------------------------------------
+// html_mayor_foot() : lablec kiirasa ( )
+// -------------------------------------------------------------------
+
+function html_mayor_foot() {
+ $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'leftpad' : 'toppad';
+ echo '<div class="mayorfoot '.$_defaultPageLayout.'" id="mayorfoot">'._MAIN_FOOTER.'</div>'."\n\n";
+ echo "</body>\n</html>";
+}
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR-star_medium.png b/mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR-star_medium.png
new file mode 100644
index 00000000..50ea66a7
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR-star_medium.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR-star_small.png b/mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR-star_small.png
new file mode 100644
index 00000000..b503f4de
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR-star_small.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR_elektronikus_naplo.png b/mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR_elektronikus_naplo.png
new file mode 100644
index 00000000..a6d02c3b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR_elektronikus_naplo.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR_rypple.png b/mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR_rypple.png
new file mode 100644
index 00000000..8bbdfad9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR_rypple.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR_star.png b/mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR_star.png
new file mode 100644
index 00000000..d701f106
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/teszt/base/img/MaYoR_star.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/teszt/base/img/mayor_small_ssl.png b/mayor-orig/mayor-base/www/skin/teszt/base/img/mayor_small_ssl.png
new file mode 100644
index 00000000..ca42a8d0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/teszt/base/img/mayor_small_ssl.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/teszt/base/img/school_logo.php b/mayor-orig/mayor-base/www/skin/teszt/base/img/school_logo.php
new file mode 100644
index 00000000..19f74ba0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/teszt/base/img/school_logo.php
@@ -0,0 +1,91 @@
+<?php
+/*
+ Előállít egy megadott képből egy 200px széles, adott színre átszínezett képet - vagy ha a kép nem érhető el, akkor az alapértelmezett képet adja
+*/
+
+//error_reporting(E_ALL);
+//ini_set('display_errors', 1);
+ require('/etc/mayor/main-config.php');
+ require(_CONFIGDIR.'/skin-teszt/config.php');
+ if(!function_exists('imagefilter')) require(_BASEDIR.'/include/share/gd/imagefilter.php');
+
+ if (!defined('_CACHEDIR')) define('_CACHEDIR','/tmp');
+ $defaultImgUrl = _BASEDIR.'/skin/teszt/base/img/mayor_small_ssl.png';
+ $imgUrl = ($_GET['imgUrl'] != '')?$_GET['imgUrl']:$defaultImgUrl;
+ $red = 242;
+ $green = 54;
+ $blue = 104;
+ $maxWidth = 200;
+ $maxHeight = 80;
+
+$h=0.5;
+$red = 242*$h;
+$green = 54*$h;
+$blue = 104*$h;
+
+ $fileName = basename($imgUrl);
+ $cacheFile = _CACHEDIR.'/'.$fileName;
+ header('Content-Type: image/png');
+ if (!_SCHOOL_LOGO_COLORIZE && !_SCHOOL_LOGO_RESIZE) {
+ // A képet nem kell átalakítani - közvetlenül adjuk át
+ $fp = fopen($imgUrl, 'rb');
+ fpassthru($fp);
+ exit;
+ } elseif ((!file_exists($cacheFile)) || (_SCHOOL_LOGO_FORCE_GENERATE === true)) { // Ha nincs elkeselve még a kép, vagy kényszerítjük a generálást
+ // beolvassuk
+ $im = imagecreatefrompng($imgUrl);
+ // Ha nem sikerül, akkor az alapértelmezettet vesszük
+ if (!$im && $imgUrl != $defaultImgUrl) {
+ $imgUrl = $defaultImgUrl;
+ $fileName = basename($imgUrl);
+ $cacheFile = _CACHEDIR.'/'.$fileName;
+ // Ha már el van cache-elve, akkor kiadjuk
+ if (file_exists($cacheFile)) {
+ $fp = fopen($cacheFile, 'rb');
+ fpassthru($fp);
+ exit;
+ }
+ // ha nincs a cache-ben, akkor beolvassuk
+ $im = imagecreatefrompng($defaultImgUrl);
+ }
+
+ // Ha sikerült
+ if ($im) {
+ // Átszínezzük
+ if (_SCHOOL_LOGO_COLORIZE !== false) {
+ // Szüreke árnyalatossá tesszük
+ imagefilter($im, IMG_FILTER_GRAYSCALE);
+ // Majd az adott színárnyalatra átszínezzük
+ imagefilter($im, IMG_FILTER_COLORIZE, $red, $green, $blue);
+ }
+ // Átméretezzük
+ list($width, $height) = getimagesize($imgUrl);
+ if (_SCHOOL_LOGO_RESIZE !== false) {
+ // Új méretek meghatározása
+ $percent = min($maxWidth / $width, $maxHeight / $height);
+ $newHeight = intval($height * $percent);
+ $newWidth = intval($width * $percent);
+ } else {
+ $newHeight = $height;
+ $newWidth = $width;
+ }
+ // Ha nem kell átméretezni, akkor is átméretezzük - különben csúnya pixeles lesz :(
+ $imNew = imagecreatetruecolor($newWidth, $newHeight);
+
+ imagealphablending($imNew, false); // setting alpha blending on
+ imagecopyresampled($imNew, $im, 0, 0, 0, 0, $newWidth, $newHeight, $width, $height);
+ imagesavealpha($imNew, true); // save alphablending setting (important)
+ // A képet a cache-be mentjük
+ imagepng($imNew, $cacheFile);
+ imagedestroy($imNew);
+ imagedestroy($im);
+
+ }
+
+ }
+ $fp = fopen($cacheFile, 'rb');
+ fpassthru($fp);
+ exit;
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/teszt/base/img/settings.png b/mayor-orig/mayor-base/www/skin/teszt/base/img/settings.png
new file mode 100644
index 00000000..272d4c5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/teszt/base/img/settings.png
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/teszt/module-auth/css/login.css b/mayor-orig/mayor-base/www/skin/teszt/module-auth/css/login.css
new file mode 100644
index 00000000..872d000f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/teszt/module-auth/css/login.css
@@ -0,0 +1,46 @@
+@media screen {
+
+div.mayorbody img { border-width: 0px; }
+div.mayorbody h1 {text-align: center; margin:10px; font-size:20px; }
+div.mayorbody h2 {text-align: center; margin:10px; font-size: 15px; }
+div.mayorbody table { font-size: 12px; }
+div.mayorbody table.main {width: 100%; border-width: 0px;}
+div.mayorbody table.loginablak {
+ background-color: #ffffff;
+ border-width: 1px;
+ border-style: solid;
+ border-color: #555550;
+ width:400px}
+div.mayorbody td { padding: 2px }
+div.mayorbody form { margin: 30px;padding: 0px; }
+div.mayorbody input { font-size: 12px; font-family:Verdana,Arial; background-color: #fffff0; border: solid 1px #666690;}
+div.mayorbody select.pp { padding: 0px; margin: 0px; border: none 0px #778890; font-size: 12px; background-color: #eeeee0; font-family: Verdana,Arial; }
+div.mayorbody select.pp>option { border: none 0px black; }
+div.mayorbody input.submit { border: solid 1px #776650; }
+div.mayorbody table.loginablak thead td {
+ background-color: #666690;
+ text-align: center;
+ font-family: Verdana,arial;
+ font-size: 10pt;
+ font-weight: bold;
+ color: white;
+ border-bottom: solid 1px white;
+div.mayorbody }
+div.mayorbody table.loginablak tbody tr.top td { border-top: solid 1px #666690; }
+
+div.mayorbody tfoot td { background-color: #888880; text-align: center; }
+div.mayorbody td.co { text-align: center; vertical-align: bottom; font-family: Verdana,arial; font-size:8pt; }
+div.mayorbody img.aauthImg {
+ border-top: solid 1px #666690;
+ border-bottom: solid 1px #888880;
+ border-left: solid 1px #666690;
+ border-right: solid 1px #888880;
+}
+#warning { height: 40px; }
+#capsLockWarning {
+ background: #ffffaa; color: #ffaaaa;
+ text-align: center; font-size: 20px; font-weight: bold;
+ padding: 20px; margin: 10px auto; width: 300px;
+}
+
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/vakbarat/base/css/base.css b/mayor-orig/mayor-base/www/skin/vakbarat/base/css/base.css
new file mode 100644
index 00000000..9bd3ce5f
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/vakbarat/base/css/base.css
@@ -0,0 +1,175 @@
+/* Új menü */
+
+ ul#pagemenu {
+ padding: 5px;
+ text-align: left;
+ background-color: #040562;
+ list-style-type: none;
+ margin:0px;
+ }
+ ul#pagemenu li {
+ display: inline;
+ border-width: 0px 1px 0px 0px;
+ border-color: #8485a2;
+ border-style: dotted;
+ padding: 0px;
+ margin:10px 0px 10px 0px;
+ }
+ ul#pagemenu li a {
+ color: rgb(255,255,255);
+ text-decoration: none;
+ padding: 3px 10px;
+ margin: 0px;
+ }
+ ul#pagemenu li a:hover {
+ background-color: yellow;
+ text-decoration: underline;
+ color: black;
+ }
+ ul#pagemenu li.active a {
+ background-color: yellow;
+ color: black;
+ }
+ ul#pagemenu li.active a:hover {
+ background-color: white;
+ color: black;
+
+ }
+
+/* SUB */
+
+ ul#submenu {
+ padding: 5px;
+ text-align: left;
+ background-color: #040582;
+ list-style-type: none;
+ border-top: solid 1px #666666;
+ margin:0px;
+ }
+ ul#submenu li {
+ display: inline;
+ border-width: 0px 0px 0px 1px;
+ border-color: #8485a2;
+ border-style: dotted;
+ padding: 0px 0px;
+ }
+ ul#submenu li a {
+ color: rgb(255,255,255);
+ text-decoration: none;
+ padding: 3px 10px;
+ margin: 0px;
+ }
+ ul#submenu li a:hover {
+ background-color: yellow;
+ color: black;
+ text-decoration: underline;
+ }
+ ul#submenu li.active a {
+ background-color: yellow;
+ color: black;
+ padding:3px;
+ }
+ ul#submenu li.active a:hover {
+ background-color: white;
+ color: black;
+
+ }
+
+/* f */
+
+ ul#fmenu {
+ padding: 5px;
+ text-align: left;
+ background-color: #0405a2;
+ list-style-type: none;
+ margin:0px;
+ border-top: solid 1px #666666;
+ }
+ ul#fmenu li {
+ display: inline;
+ border-width: 0px 0px 0px 1px;
+ border-color: #8485a2;
+ border-style: dotted;
+ }
+ ul#fmenu li a {
+ color: rgb(255,255,255);
+ text-decoration: none;
+ padding: 3px 10px;
+ }
+ ul#fmenu li a:hover {
+ background-color: rgb(100,100,140);
+ text-decoration: underline;
+ }
+ ul#fmenu li.active a {
+ background-color: yellow;
+ color: black;
+ padding:3px;
+ }
+ ul#fmenu li.active a:hover {
+ background-color: white;
+ color: black;
+ }
+
+ #changeSkin {
+ display: inline;
+ }
+ #changeSkin .onChangeSubmit {
+ background-color: #eeeeee;
+ font-size:14px;
+ }
+
+ html body {
+ font-family: Verdana, sans-serif;
+ font-size: 12px;
+ margin:0px;
+ padding:0px;
+ background-color: white;
+ }
+
+ /* set default layout! */
+ table { font-size: 12px; }
+
+ form { margin: 0px; }
+
+ div.mayorbody {
+
+ padding: 0px;
+
+ }
+
+ div.mayorfoot {
+ text-align: center;
+ font-size: 10px;
+ width:100%;
+ }
+/* - Alert - */
+
+ form.mayorAlert { margin: 0px; padding: 0px; }
+ form.mayorAlert input { display: none; }
+ div.errorMsg {
+ margin: 20px 20%;
+ background-color: #eeffd0;
+ border: solid 2px #ff0000;
+ padding: 15px;
+ }
+ div.errorMsg span {
+ font-style: italic;
+ }
+
+ div.infoMsg {
+ margin: 20px 20%;
+ background-color: #eeffd0;
+ border: solid 2px #0000ff;
+ padding: 15px;
+ }
+ div.infoMsg span {
+ font-style: italic;
+ }
+
+ span.alertParam {
+ color: green;
+ }
+
+ h1#menu { text-align: left; }
+ h1#tartalom { text-align: left; }
+ h1#lablec { text-align: left; }
diff --git a/mayor-orig/mayor-base/www/skin/vakbarat/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/vakbarat/base/html/base.phtml
new file mode 100644
index 00000000..62f6f4bb
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/vakbarat/base/html/base.phtml
@@ -0,0 +1,231 @@
+<?php
+// -------------------------------------------------------------------
+// html_base() : a html oldal szerkezete
+// -------------------------------------------------------------------
+
+function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) {
+
+ _httpheader();
+
+ html_head($page,$sub,$f,$lang,$skin);
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin);
+
+ _debugLayer();
+
+ echo '<div class="mayorbody">';
+ page($page,$sub,$f,$lang,$skin,$policy);
+ echo '</div>';
+ html_mayor_foot();
+}
+
+// -------------------------------------------------------------------
+// html_head() : html fejlec kiirasa
+// -------------------------------------------------------------------
+
+function html_head($page,$sub,$f,$lang,$skin) {
+
+ global $INCLUDES, $SSSHH;
+
+ if ($f == '') $f = $page;
+ ## ----------------------------------------------
+ ## Note http://hixie.ch/advocacy/xhtml
+ ## But this is crazy! Using Doctype sniffing instead...
+ ## Also read: http://www.mozilla.org/docs/web-developer/faq.html
+ ## header('Content-type: application/xhtml+xml');
+ ## -----------------------------------------------
+ echo '<?xml version="1.0" encoding="utf-8"?>'."\n";
+ echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">'."\n";
+ echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="hu">'."\n";
+ echo '<head>'."\n";
+ echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'."\n";
+ echo '<title>';
+ if (defined('_SITE')) echo ' - '._SITE.' - Vakbarát ';
+ echo _MAIN_TITLE;
+ echo '.';
+ echo _MAYORREV;
+ echo '</title>'."\n";
+ includeCSS($page,$sub,$f,$skin);
+ //includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices
+ //includeJS($page,$sub,$f,$skin);
+ if ($SSSHH!=null && $SSSHH!='') echo $SSSHH;
+
+ if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ echo '<link rel="shortcut icon" href="/skin/classic/base/img/favicon.ico" />'."\n";
+ echo "</head>\n<body>\n";
+
+}
+
+// -------------------------------------------------------------------
+// mayor_menu(): a menü kiiratása
+// -------------------------------------------------------------------
+
+function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) {
+
+ global $page, $sub, $f;
+
+ echo '<ul id="pagemenu">';
+ // --------------------------------------------------------
+ if (is_array($MENU)) {
+ foreach ($MENU as $aModule => $items) {
+ if ($aModule != 'modules') {
+ for ($i = 0; $i < count($items); $i++) {
+
+ if ($page == $aModule and
+ (!isset($items[$i]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false)
+ ) echo '<li class="active">';
+ else echo '<li>';
+
+ if (isset($items[$i]['url']) && $items[$i]['url'] != '') {
+ if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aModule".$items[$i]['url']);
+ elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array());
+ elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']);
+ else $href = href($items[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aModule");
+ }
+ //echo '<a accesskey="m" href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'>'.$items[$i]['txt'].'</a>';
+ echo '<a accesskey="'.$items[$i]['txt'][0].'" href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'>'.$items[$i]['txt'].'</a>';
+
+ echo '</li>';
+ }
+ }
+ }
+ }
+ // ---------------------------------------------------
+ echo '</ul>';
+
+ // II: SZINT
+ @$pageArray = $MENU['modules'][$page];
+ $aPage = $page;
+
+ if (is_array($pageArray)) {
+ echo '<ul id="submenu">';
+ foreach ($pageArray as $anF => $items) {
+ if ($anF != 'sub') {
+ for ($i=0;$i<count($items);$i++) {
+ if (
+ $page == $aPage and
+ (
+ (
+ !isset($items[$i]['url'])
+ and $f == $anF
+ )
+ or
+ (
+ isset($items[$i]['url']) and
+ strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false
+ )
+ )
+ ) echo '<li class="active">';
+ else echo '<li>';
+
+ if (isset($items[$i]['url']) && $items[$i]['url'] != '') {
+ if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&f=$anF".$items[$i]['url']);
+ elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array());
+ elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']);
+ else $href = href($items[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aPage&f=$anF",array('policy','sessionID','lang','skin'));
+ }
+ //echo '<a accesskey="n" href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'>'.$items[$i]['txt'].'</a>';
+ echo '<a accesskey="'.$items[$i]['txt'][0].'" href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'>'.$items[$i]['txt'].'</a>';
+
+ echo '</li>';
+ }
+ }
+ }
+ echo '</ul>'."\n";
+ }
+
+ // III: SZINT
+ @$subArray = $MENU['modules'][$page]['sub'][$sub];
+ $aSub = $sub;
+
+ if (is_array($subArray)) {
+ echo '<ul id="fmenu">';
+
+ foreach ($subArray as $anF => $items) {
+ for ($i=0;$i<count($items);$i++) {
+ if ($aPage == $page and
+ $aSub == $sub and
+ $anF == $f and
+ (!isset($items[$i]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false)
+ ) echo '<li class="active">';
+ else echo '<li>';
+
+ if (isset($items[$i]['url']) && $items[$i]['url'] != '') {
+ if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&sub=$aSub&f=$anF".$items[$i]['url']);
+ elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array());
+ elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']);
+ else $href = href($items[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aPage&sub=$aSub&f=$anF");
+ }
+ //echo '<a accesskey="b" href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'> '.$items[$i]['txt'].' </a>';
+ echo '<a accesskey="'.$items[$i]['txt'][0].'" href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'> '.$items[$i]['txt'].' </a>';
+
+ echo '</li>';
+ }
+ }
+
+ echo '</ul>'."\n";
+ }
+
+}
+
+// -------------------------------------------------------------------
+// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated)
+// -------------------------------------------------------------------
+
+function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) {
+
+ global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy;
+
+ _updateWindow();
+ _keyHelp();
+
+ if (date('m')==12) $imgextra = '-santa'; else $imgextra = '';
+
+ if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png'))
+ $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png';
+ //if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl.gif'))
+ // $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl.gif';
+ if (!file_exists($HELP_LOGO = 'skin/'.$skin.'/module-help/img/help_small.jpg'))
+ $HELP_LOGO = 'skin/'._DEFAULT_SKIN.'/module-help/img/help_small.jpg';
+
+ ## Név, Oldal info, Policy
+// echo '<div class="namepolicy">'."\n";
+ echo '<a href="#tartalom">Ugrás a tartalomhoz</a><br />';
+ echo '<a href="'.href('index.php').'" accesskey="h" class="nev">'._HOME.(_USERCN!='' ? ' ('._USERCN.')' : '').'</a>';
+// echo '</div>'."\n";
+ ## ------------------------
+ echo '<h1 id="menu">Menü</h1>';
+ mayor_menu($MENU,$sessionID,$lang,$skin);
+ echo '<h1 id="tartalom">Tartalom</h1>'."\n";
+}
+
+// -------------------------------------------------------------------
+// html_mayor_foot() : lablec kiirasa ( )
+// -------------------------------------------------------------------
+
+function html_mayor_foot() {
+ echo '<h1 id="lablec">Lábléc</h1>'."\n";
+ echo '<a href="'.href('index.php?skin=classic',array('sessionID','lang','policy')).'">'._SWITCH_TO_CLASSIC_SKIN.'</a>';
+ echo '<div class="mayorfoot">'._MAIN_FOOTER.'</div>';
+ echo "</body>\n</html>";
+}
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/vakbarat/module-auth/css/login.css b/mayor-orig/mayor-base/www/skin/vakbarat/module-auth/css/login.css
new file mode 100644
index 00000000..b94c93d3
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/vakbarat/module-auth/css/login.css
@@ -0,0 +1,9 @@
+img { border-width: 0px; }
+h1 {text-align: center; margin: 10px; font-size:20px; }
+h2 {text-align: center; margin: 10px; font-size: 15px; }
+h3 {text-align: center; margin: 10px; font-size: 12px; }
+form#login { margin: 30px;padding: 0px; text-align: center; }
+input { font-size: 12px; font-family:Verdana,Arial; background-color: #fffff0; border: solid 1px #666690;}
+select.pp { padding: 0px; margin: 0px; border: none 0px #778890; font-size: 12px; background-color: #eeeee0; font-family: Verdana,Arial; }
+select.pp>option { border: none 0px black; }
+input.submit { border: solid 1px #776650; }
diff --git a/mayor-orig/mayor-base/www/skin/vakbarat/module-auth/html/login.phtml b/mayor-orig/mayor-base/www/skin/vakbarat/module-auth/html/login.phtml
new file mode 100644
index 00000000..c7c54cfa
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/vakbarat/module-auth/html/login.phtml
@@ -0,0 +1,55 @@
+<?php
+
+ function putLoginForm($userAccount,$toPolicy,$toPSF='',$toSkin='') {
+
+ global $POLICIES, $AUTH, $sessionID;
+ echo '<h1>'._SITE.'</h1>'."\n";
+ echo '<h2>'._GREETING.'</h2>'."\n";
+
+ formBegin(array('method'=>'post',
+ 'action'=>'index.php?policy=public&page=auth&f=login&toPolicy='.$toPolicy.'&sessionID='.$sessionID ,
+ 'name'=>"loginablak", 'id'=>'login'));
+
+ echo '<input type="hidden" name="action" value="login" />';
+ echo '<input type="hidden" name="toPSF" value="'.$toPSF.'" />';
+
+ echo '<h3>'."\n";
+ echo _LOGIN;
+ echo '</h3>'."\n";
+
+ echo '<label for="focus">'._USERNAME.'</label>';
+ echo '<input id="focus" type="text" accesskey="u" tabindex="1" name="userAccount" value="" maxlength="32" />'."<br />\n";
+
+ echo '<select class="pp" name="toPolicy">'."\n";
+ $SEL = array($toPolicy => ' selected="selected" ');
+ for ($i=0; $i<count($POLICIES); $i++) {
+ $_policy = $POLICIES[$i];
+ if ($AUTH[$_policy]['authentication'] != 'none') {
+ echo '<option value="'.$_policy.'" '.$SEL[$_policy].'>';
+ echo constant('_'.strtoupper($_policy).'_PASSWORD');
+ echo '</option>'."\n";
+ }
+ }
+ echo '</select>'."\n";
+
+ echo '<input id="userPassword" type="password" accesskey="p" tabindex="2" name="userPassword" value="" />'."<br />\n";
+
+ echo '<input accesskey="l" type="submit" tabindex="3" name="button" value=" '. _LOGIN .' "
+ onclick="document.loginablak.button.disabled=true;
+ document.loginablak.button.value=\' Várj... \';
+ document.loginablak.submit()" class="submit" />'."\n";
+
+ formEnd();
+
+/*
+ echo '<table style="width: 100%" align="center">'."\n";
+ echo '<tr>'."\n";
+ echo '<td class="co">'."\n";
+ echo _MAYOR_DESC."\n";
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+ echo '</table>'."\n";
+*/
+ }
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/winter/base/css/base.css b/mayor-orig/mayor-base/www/skin/winter/base/css/base.css
new file mode 100644
index 00000000..c292014e
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/winter/base/css/base.css
@@ -0,0 +1,85 @@
+/*
+ Module: base
+*/
+@import "head.css";
+@media screen {
+
+ html body {
+ font-family: Verdana, sans-serif;
+ font-size: 12px;
+ margin:0px;
+ padding:0px;
+ background-color: white;
+ background-image: url("/skin/winter/base/img/bg2.jpg");
+ background-repeat: repeat-x;
+ }
+
+ /* set default layout! */
+ table { font-size: 12px; }
+
+ a { color: #00a000; }
+
+ form { margin: 0px; }
+
+ div.mayorbody {
+
+ padding: 0px;
+
+ }
+
+ div.mayorfoot {
+ text-align: center;
+ font-size: 10px;
+ width:100%;
+ }
+/* - Alert - */
+
+ form.mayorAlert { margin: 0px; padding: 0px; }
+ form.mayorAlert input { display: none; }
+ div.errorMsg {
+ margin: 20px 20%;
+ background-color: #eeffd0;
+ border: solid 2px #ff0000;
+ padding: 15px;
+ }
+ div.errorMsg span {
+ font-style: italic;
+ }
+
+ div.infoMsg {
+ margin: 20px 20%;
+ background-color: #eeffd0;
+ border: solid 2px #0000ff;
+ padding: 15px;
+ }
+ div.infoMsg span {
+ font-style: italic;
+ }
+
+ span.alertParam {
+ color: green;
+ }
+
+ #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); }
+ #updateWindow {background-color: white; position: absolute;z-index:200;margin:auto auto; width:400px;}
+ #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 300px;
+ border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4);
+ }
+ #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; }
+ #keyHelp td.key { color: yellow; text-align: right; }
+ #keyHelp td.desc { color: white; text-align: left; }
+
+}
+@media print {
+ html body {
+ font-family: Verdana, sans-serif;
+ font-size: 12px;
+ }
+ div.mayorfoot {
+ text-align: center;
+ font-size: 10px;
+ margin: 5px;
+ }
+ div.namepolicy { display: none; }
+ table.mayorhead { display: none; }
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/winter/base/css/head.css b/mayor-orig/mayor-base/www/skin/winter/base/css/head.css
new file mode 100644
index 00000000..658e9b4b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/winter/base/css/head.css
@@ -0,0 +1,154 @@
+/*
+ Module: base
+*/
+@media screen {
+
+ div.namepolicy {
+
+ border-style: none none solid none;
+ border-width: 1px;
+ border-color: #666666;
+ }
+ div.namepolicy table { font-size: 10px; width:100%; }
+ div.namepolicy table td { width:40%; }
+ div.namepolicy table td.right { text-align: right; }
+ div.namepolicy table td.right span.nev { color: #ffffff; font-weight: bold; }
+ div.namepolicy table td.right img { border: none; margin: 0px 1px;}
+ div.namepolicy table td.left { text-align: left;}
+ div.namepolicy table td.help a { background-color:#ffffff; text-decoration: none; font-weight: bold; padding: 2px 5px; color: rgb(80,60,40); display: block; }
+ div.namepolicy table td.help a:hover { background-color:#bec87c; }
+ div.namepolicy table th { width:20% }
+ div.namepolicy span.nev { padding-right: 14px; }
+ div.namepolicy table td.language span { vertical-align: middle; }
+ div.namepolicy table td.language img { margin: 0px 0px 0px 4px; height: 10px; border: solid 1px #777777; }
+ #langSelect { vertical-align: middle; padding: 0px; margin: 0px;}
+
+ table.mayorhead { font-size: 10px; margin: 3px 3px 20px 3px;}
+
+ table.mayorhead td.namepolicy { padding: 5px; }
+ table.mayorhead td.namepolicy table {
+ font-size: 10px;
+ border-style: solid;
+ border-width: 2px ;
+ border-color: #550670;
+ background-color: #8877aa;
+ color: white;
+ }
+
+/* Új menü */
+
+ ul#pagemenu {
+ padding: 1px;
+ text-align: left;
+ background-color: darkcyan;
+ list-style-type: none;
+ margin:1px;
+ }
+ ul#pagemenu li {
+ display: inline;
+ border-width: 0px 0px 0px 1px;
+ border-color: #007777;
+ border-style: dotted;
+ padding: 0px;
+ }
+ ul#pagemenu li a {
+ color: rgb(255,255,255);
+ text-decoration: none;
+ padding: 0px 5px;
+ margin: 0px;
+ }
+ ul#pagemenu li a:hover {
+ background-color: #004444;
+ text-decoration: underline;
+ }
+ ul#pagemenu li.active a {
+ background-color: #920405;
+ }
+ ul#pagemenu li.active a:hover {
+ background-color: rgb(200,0,0);
+ }
+
+/* SUB */
+
+ ul#submenu {
+ padding: 1px;
+ text-align: left;
+ background-color: #006666;
+ list-style-type: none;
+ margin:1px 1px 1px 40px;
+ }
+ ul#submenu li {
+ display: inline;
+ border-width: 0px 0px 0px 1px;
+ border-color: #84a285;
+ border-style: dotted;
+ padding: 0px;
+ }
+ ul#submenu li.onClickHideShow { color: rgb(255,255,255); padding: 0px 2px; cursor: pointer; }
+ ul#submenu li a {
+ color: rgb(255,255,255);
+ text-decoration: none;
+ padding: 0px 5px;
+ margin: 0px;
+ }
+ ul#submenu li a:hover {
+ background-color: #003333;
+ text-decoration: underline;
+ }
+ ul#submenu li.active a {
+ background-color: #920405;
+ }
+ ul#submenu li.active a:hover {
+ background-color: rgb(200,0,0);
+ }
+
+/* f */
+
+ ul#fmenu {
+ padding: 1px;
+ text-align: left;
+ background-color: #005555;
+ list-style-type: none;
+ margin:1px 1px 1px 80px;
+ }
+ ul#fmenu li {
+ display: inline;
+ border-width: 0px 0px 0px 1px;
+ border-color: #84a285;
+ border-style: dotted;
+ padding: 0px;
+ }
+ ul#fmenu li.onClickHideShow { color: rgb(255,255,255); padding: 0px 2px; cursor: pointer; }
+ ul#fmenu li a {
+ color: rgb(255,255,255);
+ text-decoration: none;
+ padding: 0px 5px;
+ margin: 0px;
+ }
+ ul#fmenu li a:hover {
+ background-color: #005555;
+ text-decoration: underline;
+ }
+ ul#fmenu li.active a {
+ background-color: #920405;
+ }
+ ul#fmenu li.active a:hover {
+ background-color: rgb(200,0,0);
+ }
+
+
+ #changeSkin {
+ display: inline;
+ }
+ #changeSkin .onChangeSubmit {
+ background-color: #ffffff;
+ font-size:9px;
+ }
+
+}
+@media print {
+
+ div.namepolicy { display: none; }
+ table.mayorhead { display: none; }
+
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/skin/winter/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/winter/base/html/base.phtml
new file mode 100644
index 00000000..c004bf64
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/winter/base/html/base.phtml
@@ -0,0 +1,314 @@
+<?php
+/*
+ Module: base
+
+ html_base($sessionID,$page,$sub,$f,$lang,$skin,$MENU)
+ html_head($page,$f,$lang,$skin)
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = 'default')
+ html_mayor_foot()
+ //page($page,$sub,$f,$lang,$skin) --> base.php
+ putValidXHTML()
+*/
+
+
+// -------------------------------------------------------------------
+// html_base() : a html oldal szerkezete
+// -------------------------------------------------------------------
+
+function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) {
+
+ _httpHeader();
+ html_head($page,$sub,$f,$lang,$skin);
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin);
+ _debugLayer();
+
+ echo '<div class="mayorbody">';
+ page($page,$sub,$f,$lang,$skin,$policy);
+ echo '</div>';
+ html_mayor_foot();
+}
+
+// -------------------------------------------------------------------
+// html_head() : html fejlec kiirasa
+// -------------------------------------------------------------------
+
+function html_head($page,$sub,$f,$lang,$skin) {
+
+ global $INCLUDES, $SSSHH;
+
+ if ($f == '') $f = $page;
+ ## ----------------------------------------------
+ ## Note http://hixie.ch/advocacy/xhtml
+ ## But this is crazy! Using Doctype sniffing instead...
+ ## Also read: http://www.mozilla.org/docs/web-developer/faq.html
+ ## header('Content-type: application/xhtml+xml');
+ ## -----------------------------------------------
+ echo '<?xml version="1.0" encoding="utf-8"?>'."\n";
+ echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">'."\n";
+ echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="hu">'."\n";
+ echo '<head>'."\n";
+ echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'."\n";
+ echo '<title>';
+ if (defined('_SITE')) echo ' - '._SITE.' - ';
+ echo _MAIN_TITLE;
+ echo ' r';
+ echo _MAYORREV;
+ echo '</title>'."\n";
+ includeCSS($page,$sub,$f,$skin);
+ includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices
+ includeJS($page,$sub,$f,$skin);
+ if ($SSSHH!=null && $SSSHH!='') echo $SSSHH;
+
+ if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ echo '<link rel="shortcut icon" href="/skin/classic/base/img/favicon.ico" />'."\n";
+ echo "</head>\n<body>\n";
+
+}
+
+
+// -------------------------------------------------------------------
+// mayor_menu(): a menü kiiratása
+// -------------------------------------------------------------------
+
+function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) {
+
+ global $page, $sub, $f;
+
+ echo '<ul id="pagemenu">';
+ // --------------------------------------------------------
+ if (is_array($MENU)) {
+ foreach ($MENU as $aModule => $items) {
+ if ($aModule != 'modules') {
+ for ($i = 0; $i < count($items); $i++) {
+
+ if ($page == $aModule and
+ (!isset($items[$i]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false)
+ ) echo '<li class="active">';
+ else echo '<li>';
+
+ if (isset($items[$i]['url']) && $items[$i]['url'] != '') {
+ if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aModule".$items[$i]['url']);
+ elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array());
+ elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']);
+ else $href = href($items[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aModule");
+ }
+ echo '<a href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'>'.$items[$i]['txt'].'</a>';
+
+ echo '</li>';
+ }
+ }
+ }
+ }
+ // ---------------------------------------------------
+ echo '</ul>';
+
+ // II: SZINT
+ @$pageArray = $MENU['modules'][$page];
+ $aPage = $page;
+
+ if (is_array($pageArray)) {
+ echo '<ul id="submenu" class="hideShowContainer">';
+ foreach ($pageArray as $anF => $items) {
+ if ($anF != 'sub') {
+ for ($i=0;$i<count($items);$i++) {
+ if (
+ $page == $aPage and
+ (
+ (
+ !isset($items[$i]['url'])
+ and $f == $anF
+ )
+ or
+ (
+ isset($items[$i]['url']) and
+ strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false
+ )
+ )
+ ) echo '<li class="active">';
+ elseif ($items[$i]['rejtett']) { echo '<li class="openable" style="display: none">'; $rejtett = true; }
+ else echo '<li>';
+
+ if (isset($items[$i]['url']) && $items[$i]['url'] != '') {
+ if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&f=$anF".$items[$i]['url']);
+ elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array());
+ elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']);
+ else $href = href($items[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aPage&f=$anF",array('policy','sessionID','lang','skin'));
+ }
+ echo '<a href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'>'.$items[$i]['txt'].'</a>';
+ echo '</li>';
+ }
+ }
+ }
+ if ($rejtett) {
+ echo '<li class="openable onClickHideShow">&rang;&rang;</li>';
+ echo '<li class="openable onClickHideShow" style="display: none;">&lang;&lang;</li>';
+ }
+ echo '</ul>'."\n";
+ }
+
+ // III: SZINT
+ @$subArray = $MENU['modules'][$page]['sub'][$sub];
+ $aSub = $sub; $rejtett = false;
+
+ if (is_array($subArray)) {
+ echo '<ul id="fmenu" class="hideShowContainer">';
+
+ foreach ($subArray as $anF => $items) {
+ for ($i=0;$i<count($items);$i++) {
+ if ($aPage == $page and
+ $aSub == $sub and
+ $anF == $f and
+ (!isset($items[$i]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false)
+ ) echo '<li class="active">';
+ elseif ($items[$i]['rejtett']) { echo '<li class="openable" style="display: none">'; $rejtett = true; }
+ else echo '<li>';
+
+ if (isset($items[$i]['url']) && $items[$i]['url'] != '') {
+ if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&sub=$aSub&f=$anF".$items[$i]['url']);
+ elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array());
+ elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']);
+ else $href = href($items[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aPage&sub=$aSub&f=$anF");
+ }
+ echo '<a href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'> '.$items[$i]['txt'].' </a>';
+
+ echo '</li>';
+ }
+ }
+ if ($rejtett) {
+ echo '<li class="openable onClickHideShow">&rang;&rang;</li>';
+ echo '<li class="openable onClickHideShow" style="display: none;">&lang;&lang;</li>';
+ }
+ echo '</ul>'."\n";
+ }
+
+}
+
+// -------------------------------------------------------------------
+// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated)
+// -------------------------------------------------------------------
+
+function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) {
+
+ global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy;
+
+
+ _updateWindow();
+ _keyHelp();
+
+ if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl.png'))
+ $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl.png';
+ //if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl.gif'))
+ // $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl.gif';
+ if (!file_exists($HELP_LOGO = 'skin/'.$skin.'/module-help/img/help_small.jpg'))
+ $HELP_LOGO = 'skin/'._DEFAULT_SKIN.'/module-help/img/help_small.jpg';
+ ## Név, Oldal info, Policy
+ echo '<div class="namepolicy">'."\n";
+ echo '<table cellspacing="0" cellpadding="0"><tr>'."\n";
+ echo '<td class="language left hideShowContainer">'."\n";
+
+ echo '<span class="onClickHideShow"><img class="onClickHideShow" id="openLangSelect" src="skin/classic/base/img/flags/'.$lang.'.gif" alt="'.$lang.'" /></span>'."\n";
+
+ echo '<span id="langSelect" class="openable" style="display: none;">';
+ for ($i = 0;$i < count($LANGUAGES); $i++) {
+ if ($LANGUAGES[$i]!=$lang) echo '<a href="'.href('index.php?lang='.$LANGUAGES[$i],array('skin','policy','page','sub','f','sessionID')).'"><img src="skin/classic/base/img/flags/'.$LANGUAGES[$i].'.gif" alt="'.$LANGUAGES[$i].'" /></a>';
+ }
+ echo '</span>';
+
+ echo '<form id="changeSkin" method="post" action="'.href('index.php', array('sessionID','lang')).'">';
+ echo '<select class="onChangeSubmit" name="skin">';
+ for ($i=0; $i<count($SKINSSHOW); $i++) {
+ $_SEL = ($SKINSSHOW[$i]==$skin)? 'selected="selected"':'';
+ echo '<option value="'.$SKINSSHOW[$i].'" '.$_SEL.'>'.$SKINSSHOW[$i].'</option>';
+ }
+ echo '</select>';
+ global $POLICIES;
+ echo '<select class="onChangeSubmit" name="policy" onchange="submit();">';
+ for ($i=0; $i<count($POLICIES); $i++) {
+ $_SEL = ($POLICIES[$i]==$policy)? 'selected="selected"':'';
+ echo '<option value="'.$POLICIES[$i].'" '.$_SEL.'>'.$POLICIES[$i].'</option>';
+ }
+ echo '</select>';
+
+ echo '</form>';
+ echo '</td>';
+ echo '<th>';
+ #echo $page;
+ #if ($sub!='') echo '&nbsp;&raquo;&nbsp;'.$sub;
+ // --- csak egy próbálkozás!! ---------------
+ // Szerver idő...
+ //if (file_exists('skin/classic/module-kellekek/html/clock.phtml'))
+ // include('skin/classic/module-kellekek/html/clock.phtml');
+
+ if (is_array(@$INCLUDES['html_mayor_head']['global']['center'])) foreach ($INCLUDES['html_mayor_head']['global']['center'] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ // --- vége a próbálkozásnak ----------------
+ echo '</th>';
+ echo '<td class="right">';
+ echo '<span class="nev">'._USERCN.'</span>';
+ echo '</td>';
+ echo '<td class="right">';
+ echo '<img src="skin/classic/base/img/policy/'.$policy.'.gif" alt="'.$policy.'"/>';
+ echo '</td>';
+ echo '<td class="help">';
+ if (isset($sub) && $sub != '') $psf = "$page:$sub:$f"; else $psf = "$page:$f";
+ echo '<a title="'._HELP.'" target="_blank" href="wiki/dok.php?id='.$psf.'">?</a>';
+ echo '</td></tr>';
+ echo '</table>';
+ echo '</div>'."\n";
+ ## ------------------------
+ echo '<table class="mayorhead" cellspacing="0" cellpadding="0">'."\n";
+ echo '<tr><td style="width: 40px">';
+ echo '<a href="'.href('index.php').'"><img src="'.$HOME_LOGO.'" alt="MaYoR" style="border-width: 0;" /></a>';
+ echo '</td>'."\n";
+ echo '<td style="vertical-align: middle; text-align: left; width: 99%">';
+ mayor_menu($MENU,$sessionID,$lang,$skin);
+ echo '</td>';
+ if (in_array('help',$INSTALLED_MODULES)) {
+ $link = "index.php?page=help&hpage=$page&hsub=$sub&hf=$f";
+ echo '<td>';
+ echo '<a href="'.href($link).'" target="_blank">';
+ echo '<img src="'.$HELP_LOGO.'" alt="'._HELP.'" style="border-width: 0;" />';
+ echo '</a>';
+
+ echo '</td>';
+ }
+ echo "</tr>\n</table>\n";
+
+}
+
+// -------------------------------------------------------------------
+// html_mayor_foot() : lablec kiirasa ( )
+// -------------------------------------------------------------------
+
+function html_mayor_foot() {
+ echo '<div class="mayorfoot">'._MAIN_FOOTER.'</div>';
+ echo "</body>\n</html>";
+}
+
+
+
+?>
diff --git a/mayor-orig/mayor-base/www/skin/winter/base/img/bg.gif b/mayor-orig/mayor-base/www/skin/winter/base/img/bg.gif
new file mode 100644
index 00000000..54e912c0
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/winter/base/img/bg.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/winter/base/img/bg2.gif b/mayor-orig/mayor-base/www/skin/winter/base/img/bg2.gif
new file mode 100644
index 00000000..38f1d0d1
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/winter/base/img/bg2.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/winter/base/img/bg2.jpg b/mayor-orig/mayor-base/www/skin/winter/base/img/bg2.jpg
new file mode 100644
index 00000000..33e9a7c9
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/winter/base/img/bg2.jpg
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/winter/base/img/mayor_small_ssl.gif b/mayor-orig/mayor-base/www/skin/winter/base/img/mayor_small_ssl.gif
new file mode 100644
index 00000000..378ffb88
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/winter/base/img/mayor_small_ssl.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/winter/base/img/mayor_small_winter.gif b/mayor-orig/mayor-base/www/skin/winter/base/img/mayor_small_winter.gif
new file mode 100644
index 00000000..635e4f7c
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/winter/base/img/mayor_small_winter.gif
Binary files differ
diff --git a/mayor-orig/mayor-base/www/skin/winter/module-auth/css/login.css b/mayor-orig/mayor-base/www/skin/winter/module-auth/css/login.css
new file mode 100644
index 00000000..f4cab44b
--- /dev/null
+++ b/mayor-orig/mayor-base/www/skin/winter/module-auth/css/login.css
@@ -0,0 +1,39 @@
+@media screen {
+ img { border-width: 0px; }
+ h1 { text-align: center; margin: 10px; font-size:20px; }
+ h2 { text-align: center; margin: 10px; font-size: 15px; }
+ table { font-size: 12px }
+ table.main {width: 100%; border-width: 0px;}
+ table.loginablak {background-color: #ffffff; border-width: 1px; border-style: solid; border-color: #555550; width:400px}
+ td { padding: 2px }
+ form { margin: 30px; padding: 0px; }
+ input { font-size: 10px; font-family: Verdana,Arial; background-color: #fffff0; }
+ select.pp {
+ padding: 0px; margin: 0px;
+ border: none 0px #778890;
+ font-size: 12px;
+ background-color: #eeeee0;
+ font-family: Verdana,Arial;
+ }
+ select.pp>option { border: none 0px black; }
+ input.submit { border: solid 1px #776650; }
+ thead td {
+ background-color: #a00000;
+ text-align: center;
+ font-family: Verdana,arial;
+ font-size: 10pt;
+ font-weight: bold;
+ color: white;
+ }
+ tfoot td {
+ background-color: #888880;
+ text-align: center;
+ }
+ form.loginablak tbody img { border: solid 1px #bbddbb; }
+ td.co {
+ text-align: center;
+ vertical-align: bottom;
+ font-family: Verdana,arial;
+ font-size: 8pt;
+ }
+} \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/static/hu_HU/legal/pp.html b/mayor-orig/mayor-base/www/static/hu_HU/legal/pp.html
new file mode 100644
index 00000000..8c387483
--- /dev/null
+++ b/mayor-orig/mayor-base/www/static/hu_HU/legal/pp.html
@@ -0,0 +1,22 @@
+<style>
+#ppBody
+{
+ font-size:11pt;
+ width:100%;
+ margin:0 auto;
+ text-align:justify;
+}
+
+#ppHeader
+{
+ font-family:verdana;
+ font-size:21pt;
+ width:100%;
+ margin:0 auto;
+}
+
+.ppConsistencies
+{
+ display:none;
+}
+</style><div id='ppHeader'> Privacy Policy</div><div id='ppBody'><div class='ppConsistencies'><div class='col-2'> <div class="quick-links text-center">Information Collection</div> </div><div class='col-2'> <div class="quick-links text-center">Information Usage</div> </div><div class='col-2'></div><div class='col-2'> <div class="quick-links text-center">Cookie Usage</div> </div><div class='col-2'></div><div class='col-2'> <div class="quick-links text-center">3rd Party Links</div> </div><div class='col-2'></div><div class='col-2'></div></div><div style='clear:both;height:10px;'></div><div class='ppConsistencies'><div class='col-2'> <div class="col-12 quick-links2 gen-text-center">Google AdSense</div> </div><div class='col-2'> <div class="col-12 quick-links2 gen-text-center coppa-pad"> COPPA </div> </div><div class='col-2'> <div class="quick-links2 gen-text-center">CAN-SPAM</div> </div><div class='col-2'> <div class="quick-links2 gen-text-center">Our Contact Information<br></div> </div></div><div style='clear:both;height:10px;'></div><div class='innerText'>This privacy policy has been compiled to better serve those who are concerned with how their 'Personally Identifiable Information' (PII) is being used online. PII, as described in US privacy law and information security, is information that can be used on its own or with other information to identify, contact, or locate a single person, or to identify an individual in context. Please read our privacy policy carefully to get a clear understanding of how we collect, use, protect or otherwise handle your Personally Identifiable Information in accordance with our website.<br></div><span id='infoCo'></span><br><div class='grayText'><strong>What personal information do we collect from the people that visit our blog, website or app?</strong></div><br /><div class='innerText'>When ordering or registering on our site, as appropriate, you may be asked to enter your email address or other details to help you with your experience.</div><br><div class='grayText'><strong>When do we collect information?</strong></div><br /><div class='innerText'>We collect information from you when you or enter information on our site.</div><br>Login Services for MaYoR <span id='infoUs'></span><br><div class='grayText'><strong>How do we use your information? </strong></div><br /><div class='innerText'> We may use the information we collect from you when you register, make a purchase, sign up for our newsletter, respond to a survey or marketing communication, surf the website, or use certain other site features in the following ways:<br><br></div><span id='coUs'></span><br><div class='grayText'><strong>Do we use 'cookies'?</strong></div><br /><div class='innerText'>Yes. Cookies are small files that a site or its service provider transfers to your computer's hard drive through your Web browser (if you allow) that enables the site's or service provider's systems to recognize your browser and capture and remember certain information. For instance, we use cookies to help us remember and process the items in your shopping cart. They are also used to help us understand your preferences based on previous or current site activity, which enables us to provide you with improved services. We also use cookies to help us compile aggregate data about site traffic and site interaction so that we can offer better site experiences and tools in the future.</div><div class='innerText'><br><strong>We use cookies to:</strong></div><div class='innerText'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>&bull;</strong> Understand and save user's preferences for future visits.</div><div class='innerText'><br>You can choose to have your computer warn you each time a cookie is being sent, or you can choose to turn off all cookies. You do this through your browser settings. Since browser is a little different, look at your browser's Help Menu to learn the correct way to modify your cookies.<br></div><div class='innerText'><br><strong>If users disable cookies in their browser:</strong></div><br><div class='innerText'>If you turn cookies off, Some of the features that make your site experience more efficient may not function properly.Some of the features that make your site experience more efficient and may not function properly.</div><br><span id='gooAd'></span><br><div class='blueText'><strong>Google</strong></div><br /><div class='innerText'>Google's advertising requirements can be summed up by Google's Advertising Principles. They are put in place to provide a positive experience for users. https://support.google.com/adwordspolicy/answer/1316548?hl=en <br><br></div><div class='innerText'>We use Google AdSense Advertising on our website.</div><div class='innerText'><br>Google, as a third-party vendor, uses cookies to serve ads on our site. Google's use of the DART cookie enables it to serve ads to our users based on previous visits to our site and other sites on the Internet. Users may opt-out of the use of the DART cookie by visiting the Google Ad and Content Network privacy policy.<br></div><div class='innerText'><br><strong>We have implemented the following:</strong></div><br><div class='innerText'>We, along with third-party vendors such as Google use first-party cookies (such as the Google Analytics cookies) and third-party cookies (such as the DoubleClick cookie) or other third-party identifiers together to compile data regarding user interactions with ad impressions and other ad service functions as they relate to our website. </div><div class='innerText'><br><strong>Opting out:</strong><br>Users can set preferences for how Google advertises to you using the Google Ad Settings page. Alternatively, you can opt out by visiting the Network Advertising Initiative Opt Out page or by using the Google Analytics Opt Out Browser add on.</div><span id='coppAct'></span><br><div class='blueText'><strong>COPPA (Children Online Privacy Protection Act)</strong></div><br /><div class='innerText'>When it comes to the collection of personal information from children under the age of 13 years old, the Children's Online Privacy Protection Act (COPPA) puts parents in control. The Federal Trade Commission, United States' consumer protection agency, enforces the COPPA Rule, which spells out what operators of websites and online services must do to protect children's privacy and safety online.<br><br></div><div class='innerText'>We do not specifically market to children under the age of 13 years old.</div><div class='innerText'>Do we let third-parties, including ad networks or plug-ins collect PII from children under 13?</div> </div> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/static/hu_HU/session/admin/registration/readme.html b/mayor-orig/mayor-base/www/static/hu_HU/session/admin/registration/readme.html
new file mode 100644
index 00000000..e3d1a798
--- /dev/null
+++ b/mayor-orig/mayor-base/www/static/hu_HU/session/admin/registration/readme.html
@@ -0,0 +1,47 @@
+<h3>Regisztráció</h3>
+
+<p>Kedves MaYoR Felhasználó!</p>
+
+<p>
+Az utóbbi évek alatt a MaYoR elektronikus napló örvendetes módon
+elterjedt és a jelek szerint az érdeklődés iránta továbbra is
+megmaradt. Ennek eredményeként mára egyre több intézmény használja
+a programot és számtalan további érdeklődővel tartjuk a kapcsolatot.
+</p><p>
+Ugyanakkor az örömteli változások egyúttal a program karbantartásával
+járó terhek és a felelősség megnövekedésével is járnak. A MaYoR kinőtt
+a "szabadidős tevékenység" kategóriából.
+</p><p>
+Mára úgy látjuk, hogy a hosszútávú fennmaradásnak feltétele, hogy a
+szoftverrel kapcsolatos feladatok ellátását rendes munkaként végezzük,
+munkaidőben, munkabérért. Ugyanakkor <strong>a program nyitottságát, licencét,
+szabad hozzáférhetőségét nem kívánjuk megváltoztatni</strong>. Tán naiv
+elképzelés, de arra számítunk, hogy a felhasználóink - azok az
+intézmények, akik már ismerik és használják a programot - a fentieket
+belátva, elfogadva részt tudnak és részt is kívánnak vállalni a további
+terméktámogatási tevékenység finanszírozásában. A hozzájárulás tehát
+<strong>önkéntes</strong>.
+</p><p>
+A támogatást havi néhány ezer Ft-os, egy évre egy összegben, vagy féléves
+ütemezésben fizetendő regisztrációs díj formájában képzeljük el -
+önkéntes alapon, az intézmény lehetőségeihez mérten.
+</p><p>
+A regisztráció során a telepített szoftver egy SSL kulcspárt is generál,
+melynek publikus kulcsa a www.mayor.hu-n keresztül tud eljutni a többi
+MaYoR telepítéshez. Az SSL kulcsokat az egyes telepített szoftverek közötti
+kommunikáció megvalósítására használjuk.
+</p>
+<!--//
+
+<h2>A regisztráció menete</h2>
+
+<ol>
+<li><strong>Töltsd ki</strong> a mellékelt űrlapot!</li>
+<li><strong>Töltsd le</strong>, <strong>nyomtasd ki</strong>, majd aláírással, pecséttel <strong>hitelesítsd</strong> a nyomtatványt!</li>
+<li><strong>Küldd el</strong> a hitelesített regisztrációs űrlapot nekünk (<span class="cim">1025 Budapest, Turista út 50.</span>)</li>
+</ol>
+
+<p>A regisztráció után mi még megkeressük a beírt kapcsolattartót egy végső egyeztetésre.</p>
+
+<p class="koszonet">Köszönjük, hogy támogatod tevékenységünket!</p>
+//--> \ No newline at end of file
diff --git a/mayor-orig/mayor-base/www/update.php b/mayor-orig/mayor-base/www/update.php
new file mode 100644
index 00000000..8e79b280
--- /dev/null
+++ b/mayor-orig/mayor-base/www/update.php
@@ -0,0 +1,47 @@
+<?php
+if (defined('_LOCKFILE') && @file_exists(_LOCKFILE)) {
+ header('HTTP/1.1 503 Service Temporarily Unavailable', true, 503);
+ header('Retry-After: '.gmdate('D, d M Y H:i:s', strtotime('+60 second')).' GMT');
+
+ echo '<!DOCTYPE html>'."\n";
+ echo '<html>'."\n";
+ echo '<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">'."\n";
+ echo '<title>MaYoR karbantartás</title>';
+ echo '<style type="text/css">
+ html {height:100%; min-height: 100%;}
+ body {font-family: Verdana; background-color: white;
+/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#a7cfdf+0,23538a+100;Blue+3d+%238 */
+background: rgb(167,207,223); /* Old browsers */
+background: -moz-linear-gradient(-45deg, rgba(167,207,223,1) 0%, rgba(35,83,138,1) 100%); /* FF3.6-15 */
+background: -webkit-linear-gradient(-45deg, rgba(167,207,223,1) 0%,rgba(35,83,138,1) 100%); /* Chrome10-25,Safari5.1-6 */
+background: linear-gradient(135deg, rgba(167,207,223,1) 0%,rgba(35,83,138,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
+
+}
+ a {color: cornflowerblue }
+ h1, h2, footer {text-align: center; margin: 60px; background-color: rgba(255,255,255); color: #444; padding:4px; border-radius: 4px; }
+ h1 { border-bottom: solid 0px #f06; }
+ div.content {
+ font-size:normal; color:white; padding: 5px 60px;
+ border-left: solid 4px white;
+ border-right: solid 4px white;
+ }
+ </style>'."\n";
+ echo '<link rel="shortcut icon" href="/skin/classic/base/img/favicon.ico">'."\n";
+ echo '<meta http-equiv="refresh" content="60">';
+ echo '</head><body>'."\n";
+
+ $id = urlencode(getHostname().'+'.$_SERVER['SERVER_NAME'].'+'.$_SERVER['SERVER_ADMIN']);
+ echo '<div style="width:100%;text-align:center;"><img src="https://www.mayor.hu/skin/mayor/base/img/multiMayorLogo.svg?mayorLock='.$id.'" style="height:120px;" alt="MaYoR"></div>';
+ echo '<h1 class=""><sub>M</sub>a<sub>Y</sub><sup>o</sup>R';
+ echo ' software update</h1>'."\n";
+ echo '<div class="content">'."\n";
+ echo '<p>Az automatikus frissítés épp fut, vagy a szolgáltatást a rendszerüzemeltető letiltotta.</p>'."\n";
+ echo '<p>The system is down for maintenance.</p>'."\n";
+ echo '<p style="font-size:smaller;">'.date('Y-m-d H:i:s').'</p>';
+ echo '</div>'."\n";
+ echo '<footer><a href="https://www.mayor.hu">mayor.hu</a> &copy; GPL</footer>';
+ echo '</body></html>';
+} else {
+ header('index.php');
+}
+?>